Showing error 743

User: Jiri Slaby
Error type: Reachable Error Location
Error type description: A specified error location is reachable in some program path
File location: ldv-linux-3.4/32_7_cilled_unsafe_const_ok_linux-32_1-drivers--media--video--mem2mem_testdev.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c
Line in file: 11258
Project: SV-COMP 2013
Project version: 2.6.28
Tools: Manual Work
Entered: 2013-01-17 16:57:54 UTC


Source:

    1/* Generated by CIL v. 1.3.7 */
    2/* print_CIL_Input is true */
    3
    4#line 19 "include/asm-generic/int-ll64.h"
    5typedef signed char __s8;
    6#line 20 "include/asm-generic/int-ll64.h"
    7typedef unsigned char __u8;
    8#line 22 "include/asm-generic/int-ll64.h"
    9typedef short __s16;
   10#line 23 "include/asm-generic/int-ll64.h"
   11typedef unsigned short __u16;
   12#line 25 "include/asm-generic/int-ll64.h"
   13typedef int __s32;
   14#line 26 "include/asm-generic/int-ll64.h"
   15typedef unsigned int __u32;
   16#line 29 "include/asm-generic/int-ll64.h"
   17typedef long long __s64;
   18#line 30 "include/asm-generic/int-ll64.h"
   19typedef unsigned long long __u64;
   20#line 43 "include/asm-generic/int-ll64.h"
   21typedef unsigned char u8;
   22#line 45 "include/asm-generic/int-ll64.h"
   23typedef short s16;
   24#line 46 "include/asm-generic/int-ll64.h"
   25typedef unsigned short u16;
   26#line 48 "include/asm-generic/int-ll64.h"
   27typedef int s32;
   28#line 49 "include/asm-generic/int-ll64.h"
   29typedef unsigned int u32;
   30#line 51 "include/asm-generic/int-ll64.h"
   31typedef long long s64;
   32#line 52 "include/asm-generic/int-ll64.h"
   33typedef unsigned long long u64;
   34#line 14 "include/asm-generic/posix_types.h"
   35typedef long __kernel_long_t;
   36#line 15 "include/asm-generic/posix_types.h"
   37typedef unsigned long __kernel_ulong_t;
   38#line 31 "include/asm-generic/posix_types.h"
   39typedef int __kernel_pid_t;
   40#line 44 "include/asm-generic/posix_types.h"
   41typedef __kernel_long_t __kernel_suseconds_t;
   42#line 52 "include/asm-generic/posix_types.h"
   43typedef unsigned int __kernel_uid32_t;
   44#line 53 "include/asm-generic/posix_types.h"
   45typedef unsigned int __kernel_gid32_t;
   46#line 75 "include/asm-generic/posix_types.h"
   47typedef __kernel_ulong_t __kernel_size_t;
   48#line 76 "include/asm-generic/posix_types.h"
   49typedef __kernel_long_t __kernel_ssize_t;
   50#line 91 "include/asm-generic/posix_types.h"
   51typedef long long __kernel_loff_t;
   52#line 92 "include/asm-generic/posix_types.h"
   53typedef __kernel_long_t __kernel_time_t;
   54#line 93 "include/asm-generic/posix_types.h"
   55typedef __kernel_long_t __kernel_clock_t;
   56#line 94 "include/asm-generic/posix_types.h"
   57typedef int __kernel_timer_t;
   58#line 95 "include/asm-generic/posix_types.h"
   59typedef int __kernel_clockid_t;
   60#line 21 "include/linux/types.h"
   61typedef __u32 __kernel_dev_t;
   62#line 24 "include/linux/types.h"
   63typedef __kernel_dev_t dev_t;
   64#line 27 "include/linux/types.h"
   65typedef unsigned short umode_t;
   66#line 30 "include/linux/types.h"
   67typedef __kernel_pid_t pid_t;
   68#line 35 "include/linux/types.h"
   69typedef __kernel_clockid_t clockid_t;
   70#line 38 "include/linux/types.h"
   71typedef _Bool bool;
   72#line 40 "include/linux/types.h"
   73typedef __kernel_uid32_t uid_t;
   74#line 41 "include/linux/types.h"
   75typedef __kernel_gid32_t gid_t;
   76#line 54 "include/linux/types.h"
   77typedef __kernel_loff_t loff_t;
   78#line 63 "include/linux/types.h"
   79typedef __kernel_size_t size_t;
   80#line 68 "include/linux/types.h"
   81typedef __kernel_ssize_t ssize_t;
   82#line 78 "include/linux/types.h"
   83typedef __kernel_time_t time_t;
   84#line 111 "include/linux/types.h"
   85typedef __s32 int32_t;
   86#line 117 "include/linux/types.h"
   87typedef __u32 uint32_t;
   88#line 142 "include/linux/types.h"
   89typedef unsigned long sector_t;
   90#line 143 "include/linux/types.h"
   91typedef unsigned long blkcnt_t;
   92#line 202 "include/linux/types.h"
   93typedef unsigned int gfp_t;
   94#line 203 "include/linux/types.h"
   95typedef unsigned int fmode_t;
   96#line 206 "include/linux/types.h"
   97typedef u64 phys_addr_t;
   98#line 211 "include/linux/types.h"
   99typedef phys_addr_t resource_size_t;
  100#line 219 "include/linux/types.h"
  101struct __anonstruct_atomic_t_7 {
  102   int counter ;
  103};
  104#line 219 "include/linux/types.h"
  105typedef struct __anonstruct_atomic_t_7 atomic_t;
  106#line 224 "include/linux/types.h"
  107struct __anonstruct_atomic64_t_8 {
  108   long counter ;
  109};
  110#line 224 "include/linux/types.h"
  111typedef struct __anonstruct_atomic64_t_8 atomic64_t;
  112#line 229 "include/linux/types.h"
  113struct list_head {
  114   struct list_head *next ;
  115   struct list_head *prev ;
  116};
  117#line 233
  118struct hlist_node;
  119#line 233 "include/linux/types.h"
  120struct hlist_head {
  121   struct hlist_node *first ;
  122};
  123#line 237 "include/linux/types.h"
  124struct hlist_node {
  125   struct hlist_node *next ;
  126   struct hlist_node **pprev ;
  127};
  128#line 253 "include/linux/types.h"
  129struct rcu_head {
  130   struct rcu_head *next ;
  131   void (*func)(struct rcu_head *head ) ;
  132};
  133#line 56 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
  134struct module;
  135#line 56
  136struct module;
  137#line 146 "include/linux/init.h"
  138typedef void (*ctor_fn_t)(void);
  139#line 47 "include/linux/dynamic_debug.h"
  140struct device;
  141#line 47
  142struct device;
  143#line 135 "include/linux/kernel.h"
  144struct completion;
  145#line 135
  146struct completion;
  147#line 136
  148struct pt_regs;
  149#line 136
  150struct pt_regs;
  151#line 349
  152struct pid;
  153#line 349
  154struct pid;
  155#line 12 "include/linux/thread_info.h"
  156struct timespec;
  157#line 12
  158struct timespec;
  159#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page.h"
  160struct page;
  161#line 18
  162struct page;
  163#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
  164struct task_struct;
  165#line 20
  166struct task_struct;
  167#line 7 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  168struct task_struct;
  169#line 8
  170struct mm_struct;
  171#line 8
  172struct mm_struct;
  173#line 99 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
  174struct pt_regs {
  175   unsigned long r15 ;
  176   unsigned long r14 ;
  177   unsigned long r13 ;
  178   unsigned long r12 ;
  179   unsigned long bp ;
  180   unsigned long bx ;
  181   unsigned long r11 ;
  182   unsigned long r10 ;
  183   unsigned long r9 ;
  184   unsigned long r8 ;
  185   unsigned long ax ;
  186   unsigned long cx ;
  187   unsigned long dx ;
  188   unsigned long si ;
  189   unsigned long di ;
  190   unsigned long orig_ax ;
  191   unsigned long ip ;
  192   unsigned long cs ;
  193   unsigned long flags ;
  194   unsigned long sp ;
  195   unsigned long ss ;
  196};
  197#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
  198struct __anonstruct____missing_field_name_15 {
  199   unsigned int a ;
  200   unsigned int b ;
  201};
  202#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
  203struct __anonstruct____missing_field_name_16 {
  204   u16 limit0 ;
  205   u16 base0 ;
  206   unsigned int base1 : 8 ;
  207   unsigned int type : 4 ;
  208   unsigned int s : 1 ;
  209   unsigned int dpl : 2 ;
  210   unsigned int p : 1 ;
  211   unsigned int limit : 4 ;
  212   unsigned int avl : 1 ;
  213   unsigned int l : 1 ;
  214   unsigned int d : 1 ;
  215   unsigned int g : 1 ;
  216   unsigned int base2 : 8 ;
  217};
  218#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
  219union __anonunion____missing_field_name_14 {
  220   struct __anonstruct____missing_field_name_15 __annonCompField5 ;
  221   struct __anonstruct____missing_field_name_16 __annonCompField6 ;
  222};
  223#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
  224struct desc_struct {
  225   union __anonunion____missing_field_name_14 __annonCompField7 ;
  226} __attribute__((__packed__)) ;
  227#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
  228typedef unsigned long pgdval_t;
  229#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
  230typedef unsigned long pgprotval_t;
  231#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  232struct pgprot {
  233   pgprotval_t pgprot ;
  234};
  235#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  236typedef struct pgprot pgprot_t;
  237#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  238struct __anonstruct_pgd_t_20 {
  239   pgdval_t pgd ;
  240};
  241#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  242typedef struct __anonstruct_pgd_t_20 pgd_t;
  243#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  244typedef struct page *pgtable_t;
  245#line 295
  246struct file;
  247#line 295
  248struct file;
  249#line 313
  250struct seq_file;
  251#line 313
  252struct seq_file;
  253#line 46 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
  254struct page;
  255#line 47
  256struct thread_struct;
  257#line 47
  258struct thread_struct;
  259#line 50
  260struct mm_struct;
  261#line 51
  262struct desc_struct;
  263#line 52
  264struct task_struct;
  265#line 53
  266struct cpumask;
  267#line 53
  268struct cpumask;
  269#line 329
  270struct arch_spinlock;
  271#line 329
  272struct arch_spinlock;
  273#line 139 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
  274struct task_struct;
  275#line 141 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
  276struct kernel_vm86_regs {
  277   struct pt_regs pt ;
  278   unsigned short es ;
  279   unsigned short __esh ;
  280   unsigned short ds ;
  281   unsigned short __dsh ;
  282   unsigned short fs ;
  283   unsigned short __fsh ;
  284   unsigned short gs ;
  285   unsigned short __gsh ;
  286};
  287#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
  288union __anonunion____missing_field_name_24 {
  289   struct pt_regs *regs ;
  290   struct kernel_vm86_regs *vm86 ;
  291};
  292#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
  293struct math_emu_info {
  294   long ___orig_eip ;
  295   union __anonunion____missing_field_name_24 __annonCompField8 ;
  296};
  297#line 8 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/current.h"
  298struct task_struct;
  299#line 10 "include/asm-generic/bug.h"
  300struct bug_entry {
  301   int bug_addr_disp ;
  302   int file_disp ;
  303   unsigned short line ;
  304   unsigned short flags ;
  305};
  306#line 12 "include/linux/bug.h"
  307struct pt_regs;
  308#line 14 "include/linux/cpumask.h"
  309struct cpumask {
  310   unsigned long bits[((4096UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
  311};
  312#line 14 "include/linux/cpumask.h"
  313typedef struct cpumask cpumask_t;
  314#line 637 "include/linux/cpumask.h"
  315typedef struct cpumask *cpumask_var_t;
  316#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
  317struct static_key;
  318#line 234
  319struct static_key;
  320#line 11 "include/linux/personality.h"
  321struct pt_regs;
  322#line 290 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  323struct i387_fsave_struct {
  324   u32 cwd ;
  325   u32 swd ;
  326   u32 twd ;
  327   u32 fip ;
  328   u32 fcs ;
  329   u32 foo ;
  330   u32 fos ;
  331   u32 st_space[20] ;
  332   u32 status ;
  333};
  334#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  335struct __anonstruct____missing_field_name_31 {
  336   u64 rip ;
  337   u64 rdp ;
  338};
  339#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  340struct __anonstruct____missing_field_name_32 {
  341   u32 fip ;
  342   u32 fcs ;
  343   u32 foo ;
  344   u32 fos ;
  345};
  346#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  347union __anonunion____missing_field_name_30 {
  348   struct __anonstruct____missing_field_name_31 __annonCompField12 ;
  349   struct __anonstruct____missing_field_name_32 __annonCompField13 ;
  350};
  351#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  352union __anonunion____missing_field_name_33 {
  353   u32 padding1[12] ;
  354   u32 sw_reserved[12] ;
  355};
  356#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  357struct i387_fxsave_struct {
  358   u16 cwd ;
  359   u16 swd ;
  360   u16 twd ;
  361   u16 fop ;
  362   union __anonunion____missing_field_name_30 __annonCompField14 ;
  363   u32 mxcsr ;
  364   u32 mxcsr_mask ;
  365   u32 st_space[32] ;
  366   u32 xmm_space[64] ;
  367   u32 padding[12] ;
  368   union __anonunion____missing_field_name_33 __annonCompField15 ;
  369} __attribute__((__aligned__(16))) ;
  370#line 341 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  371struct i387_soft_struct {
  372   u32 cwd ;
  373   u32 swd ;
  374   u32 twd ;
  375   u32 fip ;
  376   u32 fcs ;
  377   u32 foo ;
  378   u32 fos ;
  379   u32 st_space[20] ;
  380   u8 ftop ;
  381   u8 changed ;
  382   u8 lookahead ;
  383   u8 no_update ;
  384   u8 rm ;
  385   u8 alimit ;
  386   struct math_emu_info *info ;
  387   u32 entry_eip ;
  388};
  389#line 361 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  390struct ymmh_struct {
  391   u32 ymmh_space[64] ;
  392};
  393#line 366 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  394struct xsave_hdr_struct {
  395   u64 xstate_bv ;
  396   u64 reserved1[2] ;
  397   u64 reserved2[5] ;
  398} __attribute__((__packed__)) ;
  399#line 372 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  400struct xsave_struct {
  401   struct i387_fxsave_struct i387 ;
  402   struct xsave_hdr_struct xsave_hdr ;
  403   struct ymmh_struct ymmh ;
  404} __attribute__((__packed__, __aligned__(64))) ;
  405#line 379 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  406union thread_xstate {
  407   struct i387_fsave_struct fsave ;
  408   struct i387_fxsave_struct fxsave ;
  409   struct i387_soft_struct soft ;
  410   struct xsave_struct xsave ;
  411};
  412#line 386 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  413struct fpu {
  414   unsigned int last_cpu ;
  415   unsigned int has_fpu ;
  416   union thread_xstate *state ;
  417};
  418#line 433
  419struct kmem_cache;
  420#line 435
  421struct perf_event;
  422#line 435
  423struct perf_event;
  424#line 437 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  425struct thread_struct {
  426   struct desc_struct tls_array[3] ;
  427   unsigned long sp0 ;
  428   unsigned long sp ;
  429   unsigned long usersp ;
  430   unsigned short es ;
  431   unsigned short ds ;
  432   unsigned short fsindex ;
  433   unsigned short gsindex ;
  434   unsigned long fs ;
  435   unsigned long gs ;
  436   struct perf_event *ptrace_bps[4] ;
  437   unsigned long debugreg6 ;
  438   unsigned long ptrace_dr7 ;
  439   unsigned long cr2 ;
  440   unsigned long trap_nr ;
  441   unsigned long error_code ;
  442   struct fpu fpu ;
  443   unsigned long *io_bitmap_ptr ;
  444   unsigned long iopl ;
  445   unsigned int io_bitmap_max ;
  446};
  447#line 23 "include/asm-generic/atomic-long.h"
  448typedef atomic64_t atomic_long_t;
  449#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  450typedef u16 __ticket_t;
  451#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  452typedef u32 __ticketpair_t;
  453#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  454struct __raw_tickets {
  455   __ticket_t head ;
  456   __ticket_t tail ;
  457};
  458#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  459union __anonunion____missing_field_name_36 {
  460   __ticketpair_t head_tail ;
  461   struct __raw_tickets tickets ;
  462};
  463#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  464struct arch_spinlock {
  465   union __anonunion____missing_field_name_36 __annonCompField17 ;
  466};
  467#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  468typedef struct arch_spinlock arch_spinlock_t;
  469#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
  470struct __anonstruct____missing_field_name_38 {
  471   u32 read ;
  472   s32 write ;
  473};
  474#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
  475union __anonunion_arch_rwlock_t_37 {
  476   s64 lock ;
  477   struct __anonstruct____missing_field_name_38 __annonCompField18 ;
  478};
  479#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
  480typedef union __anonunion_arch_rwlock_t_37 arch_rwlock_t;
  481#line 12 "include/linux/lockdep.h"
  482struct task_struct;
  483#line 391 "include/linux/lockdep.h"
  484struct lock_class_key {
  485
  486};
  487#line 20 "include/linux/spinlock_types.h"
  488struct raw_spinlock {
  489   arch_spinlock_t raw_lock ;
  490   unsigned int magic ;
  491   unsigned int owner_cpu ;
  492   void *owner ;
  493};
  494#line 20 "include/linux/spinlock_types.h"
  495typedef struct raw_spinlock raw_spinlock_t;
  496#line 64 "include/linux/spinlock_types.h"
  497union __anonunion____missing_field_name_39 {
  498   struct raw_spinlock rlock ;
  499};
  500#line 64 "include/linux/spinlock_types.h"
  501struct spinlock {
  502   union __anonunion____missing_field_name_39 __annonCompField19 ;
  503};
  504#line 64 "include/linux/spinlock_types.h"
  505typedef struct spinlock spinlock_t;
  506#line 11 "include/linux/rwlock_types.h"
  507struct __anonstruct_rwlock_t_40 {
  508   arch_rwlock_t raw_lock ;
  509   unsigned int magic ;
  510   unsigned int owner_cpu ;
  511   void *owner ;
  512};
  513#line 11 "include/linux/rwlock_types.h"
  514typedef struct __anonstruct_rwlock_t_40 rwlock_t;
  515#line 119 "include/linux/seqlock.h"
  516struct seqcount {
  517   unsigned int sequence ;
  518};
  519#line 119 "include/linux/seqlock.h"
  520typedef struct seqcount seqcount_t;
  521#line 14 "include/linux/time.h"
  522struct timespec {
  523   __kernel_time_t tv_sec ;
  524   long tv_nsec ;
  525};
  526#line 20 "include/linux/time.h"
  527struct timeval {
  528   __kernel_time_t tv_sec ;
  529   __kernel_suseconds_t tv_usec ;
  530};
  531#line 62 "include/linux/stat.h"
  532struct kstat {
  533   u64 ino ;
  534   dev_t dev ;
  535   umode_t mode ;
  536   unsigned int nlink ;
  537   uid_t uid ;
  538   gid_t gid ;
  539   dev_t rdev ;
  540   loff_t size ;
  541   struct timespec atime ;
  542   struct timespec mtime ;
  543   struct timespec ctime ;
  544   unsigned long blksize ;
  545   unsigned long long blocks ;
  546};
  547#line 49 "include/linux/wait.h"
  548struct __wait_queue_head {
  549   spinlock_t lock ;
  550   struct list_head task_list ;
  551};
  552#line 53 "include/linux/wait.h"
  553typedef struct __wait_queue_head wait_queue_head_t;
  554#line 55
  555struct task_struct;
  556#line 98 "include/linux/nodemask.h"
  557struct __anonstruct_nodemask_t_42 {
  558   unsigned long bits[(((unsigned long )(1 << 10) + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
  559};
  560#line 98 "include/linux/nodemask.h"
  561typedef struct __anonstruct_nodemask_t_42 nodemask_t;
  562#line 60 "include/linux/pageblock-flags.h"
  563struct page;
  564#line 48 "include/linux/mutex.h"
  565struct mutex {
  566   atomic_t count ;
  567   spinlock_t wait_lock ;
  568   struct list_head wait_list ;
  569   struct task_struct *owner ;
  570   char    *name ;
  571   void *magic ;
  572};
  573#line 69 "include/linux/mutex.h"
  574struct mutex_waiter {
  575   struct list_head list ;
  576   struct task_struct *task ;
  577   void *magic ;
  578};
  579#line 19 "include/linux/rwsem.h"
  580struct rw_semaphore;
  581#line 19
  582struct rw_semaphore;
  583#line 25 "include/linux/rwsem.h"
  584struct rw_semaphore {
  585   long count ;
  586   raw_spinlock_t wait_lock ;
  587   struct list_head wait_list ;
  588};
  589#line 25 "include/linux/completion.h"
  590struct completion {
  591   unsigned int done ;
  592   wait_queue_head_t wait ;
  593};
  594#line 9 "include/linux/memory_hotplug.h"
  595struct page;
  596#line 18 "include/linux/ioport.h"
  597struct resource {
  598   resource_size_t start ;
  599   resource_size_t end ;
  600   char    *name ;
  601   unsigned long flags ;
  602   struct resource *parent ;
  603   struct resource *sibling ;
  604   struct resource *child ;
  605};
  606#line 202
  607struct device;
  608#line 103 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mpspec.h"
  609struct device;
  610#line 46 "include/linux/ktime.h"
  611union ktime {
  612   s64 tv64 ;
  613};
  614#line 59 "include/linux/ktime.h"
  615typedef union ktime ktime_t;
  616#line 10 "include/linux/timer.h"
  617struct tvec_base;
  618#line 10
  619struct tvec_base;
  620#line 12 "include/linux/timer.h"
  621struct timer_list {
  622   struct list_head entry ;
  623   unsigned long expires ;
  624   struct tvec_base *base ;
  625   void (*function)(unsigned long  ) ;
  626   unsigned long data ;
  627   int slack ;
  628   int start_pid ;
  629   void *start_site ;
  630   char start_comm[16] ;
  631};
  632#line 289
  633struct hrtimer;
  634#line 289
  635struct hrtimer;
  636#line 290
  637enum hrtimer_restart;
  638#line 17 "include/linux/workqueue.h"
  639struct work_struct;
  640#line 17
  641struct work_struct;
  642#line 79 "include/linux/workqueue.h"
  643struct work_struct {
  644   atomic_long_t data ;
  645   struct list_head entry ;
  646   void (*func)(struct work_struct *work ) ;
  647};
  648#line 92 "include/linux/workqueue.h"
  649struct delayed_work {
  650   struct work_struct work ;
  651   struct timer_list timer ;
  652};
  653#line 42 "include/linux/pm.h"
  654struct device;
  655#line 50 "include/linux/pm.h"
  656struct pm_message {
  657   int event ;
  658};
  659#line 50 "include/linux/pm.h"
  660typedef struct pm_message pm_message_t;
  661#line 264 "include/linux/pm.h"
  662struct dev_pm_ops {
  663   int (*prepare)(struct device *dev ) ;
  664   void (*complete)(struct device *dev ) ;
  665   int (*suspend)(struct device *dev ) ;
  666   int (*resume)(struct device *dev ) ;
  667   int (*freeze)(struct device *dev ) ;
  668   int (*thaw)(struct device *dev ) ;
  669   int (*poweroff)(struct device *dev ) ;
  670   int (*restore)(struct device *dev ) ;
  671   int (*suspend_late)(struct device *dev ) ;
  672   int (*resume_early)(struct device *dev ) ;
  673   int (*freeze_late)(struct device *dev ) ;
  674   int (*thaw_early)(struct device *dev ) ;
  675   int (*poweroff_late)(struct device *dev ) ;
  676   int (*restore_early)(struct device *dev ) ;
  677   int (*suspend_noirq)(struct device *dev ) ;
  678   int (*resume_noirq)(struct device *dev ) ;
  679   int (*freeze_noirq)(struct device *dev ) ;
  680   int (*thaw_noirq)(struct device *dev ) ;
  681   int (*poweroff_noirq)(struct device *dev ) ;
  682   int (*restore_noirq)(struct device *dev ) ;
  683   int (*runtime_suspend)(struct device *dev ) ;
  684   int (*runtime_resume)(struct device *dev ) ;
  685   int (*runtime_idle)(struct device *dev ) ;
  686};
  687#line 458
  688enum rpm_status {
  689    RPM_ACTIVE = 0,
  690    RPM_RESUMING = 1,
  691    RPM_SUSPENDED = 2,
  692    RPM_SUSPENDING = 3
  693} ;
  694#line 480
  695enum rpm_request {
  696    RPM_REQ_NONE = 0,
  697    RPM_REQ_IDLE = 1,
  698    RPM_REQ_SUSPEND = 2,
  699    RPM_REQ_AUTOSUSPEND = 3,
  700    RPM_REQ_RESUME = 4
  701} ;
  702#line 488
  703struct wakeup_source;
  704#line 488
  705struct wakeup_source;
  706#line 495 "include/linux/pm.h"
  707struct pm_subsys_data {
  708   spinlock_t lock ;
  709   unsigned int refcount ;
  710};
  711#line 506
  712struct dev_pm_qos_request;
  713#line 506
  714struct pm_qos_raints;
  715#line 506 "include/linux/pm.h"
  716struct dev_pm_info {
  717   pm_message_t power_state ;
  718   unsigned int can_wakeup : 1 ;
  719   unsigned int async_suspend : 1 ;
  720   bool is_prepared : 1 ;
  721   bool is_suspended : 1 ;
  722   bool ignore_children : 1 ;
  723   spinlock_t lock ;
  724   struct list_head entry ;
  725   struct completion completion ;
  726   struct wakeup_source *wakeup ;
  727   bool wakeup_path : 1 ;
  728   struct timer_list suspend_timer ;
  729   unsigned long timer_expires ;
  730   struct work_struct work ;
  731   wait_queue_head_t wait_queue ;
  732   atomic_t usage_count ;
  733   atomic_t child_count ;
  734   unsigned int disable_depth : 3 ;
  735   unsigned int idle_notification : 1 ;
  736   unsigned int request_pending : 1 ;
  737   unsigned int deferred_resume : 1 ;
  738   unsigned int run_wake : 1 ;
  739   unsigned int runtime_auto : 1 ;
  740   unsigned int no_callbacks : 1 ;
  741   unsigned int irq_safe : 1 ;
  742   unsigned int use_autosuspend : 1 ;
  743   unsigned int timer_autosuspends : 1 ;
  744   enum rpm_request request ;
  745   enum rpm_status runtime_status ;
  746   int runtime_error ;
  747   int autosuspend_delay ;
  748   unsigned long last_busy ;
  749   unsigned long active_jiffies ;
  750   unsigned long suspended_jiffies ;
  751   unsigned long accounting_timestamp ;
  752   ktime_t suspend_time ;
  753   s64 max_time_suspended_ns ;
  754   struct dev_pm_qos_request *pq_req ;
  755   struct pm_subsys_data *subsys_data ;
  756   struct pm_qos_raints *raints ;
  757};
  758#line 564 "include/linux/pm.h"
  759struct dev_pm_domain {
  760   struct dev_pm_ops ops ;
  761};
  762#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
  763struct __anonstruct_mm_context_t_112 {
  764   void *ldt ;
  765   int size ;
  766   unsigned short ia32_compat ;
  767   struct mutex lock ;
  768   void *vdso ;
  769};
  770#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
  771typedef struct __anonstruct_mm_context_t_112 mm_context_t;
  772#line 8 "include/linux/vmalloc.h"
  773struct vm_area_struct;
  774#line 8
  775struct vm_area_struct;
  776#line 994 "include/linux/mmzone.h"
  777struct page;
  778#line 10 "include/linux/gfp.h"
  779struct vm_area_struct;
  780#line 29 "include/linux/sysctl.h"
  781struct completion;
  782#line 100 "include/linux/rbtree.h"
  783struct rb_node {
  784   unsigned long rb_parent_color ;
  785   struct rb_node *rb_right ;
  786   struct rb_node *rb_left ;
  787} __attribute__((__aligned__(sizeof(long )))) ;
  788#line 110 "include/linux/rbtree.h"
  789struct rb_root {
  790   struct rb_node *rb_node ;
  791};
  792#line 939 "include/linux/sysctl.h"
  793struct nsproxy;
  794#line 939
  795struct nsproxy;
  796#line 48 "include/linux/kmod.h"
  797struct cred;
  798#line 48
  799struct cred;
  800#line 49
  801struct file;
  802#line 270 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/elf.h"
  803struct task_struct;
  804#line 18 "include/linux/elf.h"
  805typedef __u64 Elf64_Addr;
  806#line 19 "include/linux/elf.h"
  807typedef __u16 Elf64_Half;
  808#line 23 "include/linux/elf.h"
  809typedef __u32 Elf64_Word;
  810#line 24 "include/linux/elf.h"
  811typedef __u64 Elf64_Xword;
  812#line 194 "include/linux/elf.h"
  813struct elf64_sym {
  814   Elf64_Word st_name ;
  815   unsigned char st_info ;
  816   unsigned char st_other ;
  817   Elf64_Half st_shndx ;
  818   Elf64_Addr st_value ;
  819   Elf64_Xword st_size ;
  820};
  821#line 194 "include/linux/elf.h"
  822typedef struct elf64_sym Elf64_Sym;
  823#line 438
  824struct file;
  825#line 20 "include/linux/kobject_ns.h"
  826struct sock;
  827#line 20
  828struct sock;
  829#line 21
  830struct kobject;
  831#line 21
  832struct kobject;
  833#line 27
  834enum kobj_ns_type {
  835    KOBJ_NS_TYPE_NONE = 0,
  836    KOBJ_NS_TYPE_NET = 1,
  837    KOBJ_NS_TYPES = 2
  838} ;
  839#line 40 "include/linux/kobject_ns.h"
  840struct kobj_ns_type_operations {
  841   enum kobj_ns_type type ;
  842   void *(*grab_current_ns)(void) ;
  843   void    *(*netlink_ns)(struct sock *sk ) ;
  844   void    *(*initial_ns)(void) ;
  845   void (*drop_ns)(void * ) ;
  846};
  847#line 22 "include/linux/sysfs.h"
  848struct kobject;
  849#line 23
  850struct module;
  851#line 24
  852enum kobj_ns_type;
  853#line 26 "include/linux/sysfs.h"
  854struct attribute {
  855   char    *name ;
  856   umode_t mode ;
  857};
  858#line 56 "include/linux/sysfs.h"
  859struct attribute_group {
  860   char    *name ;
  861   umode_t (*is_visible)(struct kobject * , struct attribute * , int  ) ;
  862   struct attribute **attrs ;
  863};
  864#line 85
  865struct file;
  866#line 86
  867struct vm_area_struct;
  868#line 88 "include/linux/sysfs.h"
  869struct bin_attribute {
  870   struct attribute attr ;
  871   size_t size ;
  872   void *private ;
  873   ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
  874                   loff_t  , size_t  ) ;
  875   ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
  876                    loff_t  , size_t  ) ;
  877   int (*mmap)(struct file * , struct kobject * , struct bin_attribute *attr , struct vm_area_struct *vma ) ;
  878};
  879#line 112 "include/linux/sysfs.h"
  880struct sysfs_ops {
  881   ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
  882   ssize_t (*store)(struct kobject * , struct attribute * , char    * , size_t  ) ;
  883   void    *(*namespace)(struct kobject * , struct attribute    * ) ;
  884};
  885#line 118
  886struct sysfs_dirent;
  887#line 118
  888struct sysfs_dirent;
  889#line 22 "include/linux/kref.h"
  890struct kref {
  891   atomic_t refcount ;
  892};
  893#line 60 "include/linux/kobject.h"
  894struct kset;
  895#line 60
  896struct kobj_type;
  897#line 60 "include/linux/kobject.h"
  898struct kobject {
  899   char    *name ;
  900   struct list_head entry ;
  901   struct kobject *parent ;
  902   struct kset *kset ;
  903   struct kobj_type *ktype ;
  904   struct sysfs_dirent *sd ;
  905   struct kref kref ;
  906   unsigned int state_initialized : 1 ;
  907   unsigned int state_in_sysfs : 1 ;
  908   unsigned int state_add_uevent_sent : 1 ;
  909   unsigned int state_remove_uevent_sent : 1 ;
  910   unsigned int uevent_suppress : 1 ;
  911};
  912#line 108 "include/linux/kobject.h"
  913struct kobj_type {
  914   void (*release)(struct kobject *kobj ) ;
  915   struct sysfs_ops    *sysfs_ops ;
  916   struct attribute **default_attrs ;
  917   struct kobj_ns_type_operations    *(*child_ns_type)(struct kobject *kobj ) ;
  918   void    *(*namespace)(struct kobject *kobj ) ;
  919};
  920#line 116 "include/linux/kobject.h"
  921struct kobj_uevent_env {
  922   char *envp[32] ;
  923   int envp_idx ;
  924   char buf[2048] ;
  925   int buflen ;
  926};
  927#line 123 "include/linux/kobject.h"
  928struct kset_uevent_ops {
  929   int (*   filter)(struct kset *kset , struct kobject *kobj ) ;
  930   char    *(*   name)(struct kset *kset , struct kobject *kobj ) ;
  931   int (*   uevent)(struct kset *kset , struct kobject *kobj , struct kobj_uevent_env *env ) ;
  932};
  933#line 140
  934struct sock;
  935#line 159 "include/linux/kobject.h"
  936struct kset {
  937   struct list_head list ;
  938   spinlock_t list_lock ;
  939   struct kobject kobj ;
  940   struct kset_uevent_ops    *uevent_ops ;
  941};
  942#line 39 "include/linux/moduleparam.h"
  943struct kernel_param;
  944#line 39
  945struct kernel_param;
  946#line 41 "include/linux/moduleparam.h"
  947struct kernel_param_ops {
  948   int (*set)(char    *val , struct kernel_param    *kp ) ;
  949   int (*get)(char *buffer , struct kernel_param    *kp ) ;
  950   void (*free)(void *arg ) ;
  951};
  952#line 50
  953struct kparam_string;
  954#line 50
  955struct kparam_array;
  956#line 50 "include/linux/moduleparam.h"
  957union __anonunion____missing_field_name_199 {
  958   void *arg ;
  959   struct kparam_string    *str ;
  960   struct kparam_array    *arr ;
  961};
  962#line 50 "include/linux/moduleparam.h"
  963struct kernel_param {
  964   char    *name ;
  965   struct kernel_param_ops    *ops ;
  966   u16 perm ;
  967   s16 level ;
  968   union __anonunion____missing_field_name_199 __annonCompField32 ;
  969};
  970#line 63 "include/linux/moduleparam.h"
  971struct kparam_string {
  972   unsigned int maxlen ;
  973   char *string ;
  974};
  975#line 69 "include/linux/moduleparam.h"
  976struct kparam_array {
  977   unsigned int max ;
  978   unsigned int elemsize ;
  979   unsigned int *num ;
  980   struct kernel_param_ops    *ops ;
  981   void *elem ;
  982};
  983#line 445
  984struct module;
  985#line 80 "include/linux/jump_label.h"
  986struct module;
  987#line 143 "include/linux/jump_label.h"
  988struct static_key {
  989   atomic_t enabled ;
  990};
  991#line 22 "include/linux/tracepoint.h"
  992struct module;
  993#line 23
  994struct tracepoint;
  995#line 23
  996struct tracepoint;
  997#line 25 "include/linux/tracepoint.h"
  998struct tracepoint_func {
  999   void *func ;
 1000   void *data ;
 1001};
 1002#line 30 "include/linux/tracepoint.h"
 1003struct tracepoint {
 1004   char    *name ;
 1005   struct static_key key ;
 1006   void (*regfunc)(void) ;
 1007   void (*unregfunc)(void) ;
 1008   struct tracepoint_func *funcs ;
 1009};
 1010#line 19 "include/linux/export.h"
 1011struct kernel_symbol {
 1012   unsigned long value ;
 1013   char    *name ;
 1014};
 1015#line 8 "include/asm-generic/module.h"
 1016struct mod_arch_specific {
 1017
 1018};
 1019#line 35 "include/linux/module.h"
 1020struct module;
 1021#line 37
 1022struct module_param_attrs;
 1023#line 37 "include/linux/module.h"
 1024struct module_kobject {
 1025   struct kobject kobj ;
 1026   struct module *mod ;
 1027   struct kobject *drivers_dir ;
 1028   struct module_param_attrs *mp ;
 1029};
 1030#line 44 "include/linux/module.h"
 1031struct module_attribute {
 1032   struct attribute attr ;
 1033   ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
 1034   ssize_t (*store)(struct module_attribute * , struct module_kobject * , char    * ,
 1035                    size_t count ) ;
 1036   void (*setup)(struct module * , char    * ) ;
 1037   int (*test)(struct module * ) ;
 1038   void (*free)(struct module * ) ;
 1039};
 1040#line 71
 1041struct exception_table_entry;
 1042#line 71
 1043struct exception_table_entry;
 1044#line 199
 1045enum module_state {
 1046    MODULE_STATE_LIVE = 0,
 1047    MODULE_STATE_COMING = 1,
 1048    MODULE_STATE_GOING = 2
 1049} ;
 1050#line 215 "include/linux/module.h"
 1051struct module_ref {
 1052   unsigned long incs ;
 1053   unsigned long decs ;
 1054} __attribute__((__aligned__((2) *  (sizeof(unsigned long )) ))) ;
 1055#line 220
 1056struct module_sect_attrs;
 1057#line 220
 1058struct module_notes_attrs;
 1059#line 220
 1060struct ftrace_event_call;
 1061#line 220 "include/linux/module.h"
 1062struct module {
 1063   enum module_state state ;
 1064   struct list_head list ;
 1065   char name[64UL - sizeof(unsigned long )] ;
 1066   struct module_kobject mkobj ;
 1067   struct module_attribute *modinfo_attrs ;
 1068   char    *version ;
 1069   char    *srcversion ;
 1070   struct kobject *holders_dir ;
 1071   struct kernel_symbol    *syms ;
 1072   unsigned long    *crcs ;
 1073   unsigned int num_syms ;
 1074   struct kernel_param *kp ;
 1075   unsigned int num_kp ;
 1076   unsigned int num_gpl_syms ;
 1077   struct kernel_symbol    *gpl_syms ;
 1078   unsigned long    *gpl_crcs ;
 1079   struct kernel_symbol    *unused_syms ;
 1080   unsigned long    *unused_crcs ;
 1081   unsigned int num_unused_syms ;
 1082   unsigned int num_unused_gpl_syms ;
 1083   struct kernel_symbol    *unused_gpl_syms ;
 1084   unsigned long    *unused_gpl_crcs ;
 1085   struct kernel_symbol    *gpl_future_syms ;
 1086   unsigned long    *gpl_future_crcs ;
 1087   unsigned int num_gpl_future_syms ;
 1088   unsigned int num_exentries ;
 1089   struct exception_table_entry *extable ;
 1090   int (*init)(void) ;
 1091   void *module_init ;
 1092   void *module_core ;
 1093   unsigned int init_size ;
 1094   unsigned int core_size ;
 1095   unsigned int init_text_size ;
 1096   unsigned int core_text_size ;
 1097   unsigned int init_ro_size ;
 1098   unsigned int core_ro_size ;
 1099   struct mod_arch_specific arch ;
 1100   unsigned int taints ;
 1101   unsigned int num_bugs ;
 1102   struct list_head bug_list ;
 1103   struct bug_entry *bug_table ;
 1104   Elf64_Sym *symtab ;
 1105   Elf64_Sym *core_symtab ;
 1106   unsigned int num_symtab ;
 1107   unsigned int core_num_syms ;
 1108   char *strtab ;
 1109   char *core_strtab ;
 1110   struct module_sect_attrs *sect_attrs ;
 1111   struct module_notes_attrs *notes_attrs ;
 1112   char *args ;
 1113   void *percpu ;
 1114   unsigned int percpu_size ;
 1115   unsigned int num_tracepoints ;
 1116   struct tracepoint *   *tracepoints_ptrs ;
 1117   unsigned int num_trace_bprintk_fmt ;
 1118   char    **trace_bprintk_fmt_start ;
 1119   struct ftrace_event_call **trace_events ;
 1120   unsigned int num_trace_events ;
 1121   struct list_head source_list ;
 1122   struct list_head target_list ;
 1123   struct task_struct *waiter ;
 1124   void (*exit)(void) ;
 1125   struct module_ref *refptr ;
 1126   ctor_fn_t *ctors ;
 1127   unsigned int num_ctors ;
 1128};
 1129#line 15 "include/linux/blk_types.h"
 1130struct page;
 1131#line 16
 1132struct block_device;
 1133#line 16
 1134struct block_device;
 1135#line 33 "include/linux/list_bl.h"
 1136struct hlist_bl_node;
 1137#line 33 "include/linux/list_bl.h"
 1138struct hlist_bl_head {
 1139   struct hlist_bl_node *first ;
 1140};
 1141#line 37 "include/linux/list_bl.h"
 1142struct hlist_bl_node {
 1143   struct hlist_bl_node *next ;
 1144   struct hlist_bl_node **pprev ;
 1145};
 1146#line 13 "include/linux/dcache.h"
 1147struct nameidata;
 1148#line 13
 1149struct nameidata;
 1150#line 14
 1151struct path;
 1152#line 14
 1153struct path;
 1154#line 15
 1155struct vfsmount;
 1156#line 15
 1157struct vfsmount;
 1158#line 35 "include/linux/dcache.h"
 1159struct qstr {
 1160   unsigned int hash ;
 1161   unsigned int len ;
 1162   unsigned char    *name ;
 1163};
 1164#line 88
 1165struct inode;
 1166#line 88
 1167struct dentry_operations;
 1168#line 88
 1169struct super_block;
 1170#line 88 "include/linux/dcache.h"
 1171union __anonunion_d_u_201 {
 1172   struct list_head d_child ;
 1173   struct rcu_head d_rcu ;
 1174};
 1175#line 88 "include/linux/dcache.h"
 1176struct dentry {
 1177   unsigned int d_flags ;
 1178   seqcount_t d_seq ;
 1179   struct hlist_bl_node d_hash ;
 1180   struct dentry *d_parent ;
 1181   struct qstr d_name ;
 1182   struct inode *d_inode ;
 1183   unsigned char d_iname[32] ;
 1184   unsigned int d_count ;
 1185   spinlock_t d_lock ;
 1186   struct dentry_operations    *d_op ;
 1187   struct super_block *d_sb ;
 1188   unsigned long d_time ;
 1189   void *d_fsdata ;
 1190   struct list_head d_lru ;
 1191   union __anonunion_d_u_201 d_u ;
 1192   struct list_head d_subdirs ;
 1193   struct list_head d_alias ;
 1194};
 1195#line 131 "include/linux/dcache.h"
 1196struct dentry_operations {
 1197   int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
 1198   int (*d_hash)(struct dentry    * , struct inode    * , struct qstr * ) ;
 1199   int (*d_compare)(struct dentry    * , struct inode    * , struct dentry  const  * ,
 1200                    struct inode    * , unsigned int  , char    * , struct qstr  const  * ) ;
 1201   int (*d_delete)(struct dentry    * ) ;
 1202   void (*d_release)(struct dentry * ) ;
 1203   void (*d_prune)(struct dentry * ) ;
 1204   void (*d_iput)(struct dentry * , struct inode * ) ;
 1205   char *(*d_dname)(struct dentry * , char * , int  ) ;
 1206   struct vfsmount *(*d_automount)(struct path * ) ;
 1207   int (*d_manage)(struct dentry * , bool  ) ;
 1208} __attribute__((__aligned__((1) <<  (6) ))) ;
 1209#line 4 "include/linux/path.h"
 1210struct dentry;
 1211#line 5
 1212struct vfsmount;
 1213#line 7 "include/linux/path.h"
 1214struct path {
 1215   struct vfsmount *mnt ;
 1216   struct dentry *dentry ;
 1217};
 1218#line 64 "include/linux/radix-tree.h"
 1219struct radix_tree_node;
 1220#line 64 "include/linux/radix-tree.h"
 1221struct radix_tree_root {
 1222   unsigned int height ;
 1223   gfp_t gfp_mask ;
 1224   struct radix_tree_node *rnode ;
 1225};
 1226#line 14 "include/linux/prio_tree.h"
 1227struct prio_tree_node;
 1228#line 14 "include/linux/prio_tree.h"
 1229struct raw_prio_tree_node {
 1230   struct prio_tree_node *left ;
 1231   struct prio_tree_node *right ;
 1232   struct prio_tree_node *parent ;
 1233};
 1234#line 20 "include/linux/prio_tree.h"
 1235struct prio_tree_node {
 1236   struct prio_tree_node *left ;
 1237   struct prio_tree_node *right ;
 1238   struct prio_tree_node *parent ;
 1239   unsigned long start ;
 1240   unsigned long last ;
 1241};
 1242#line 28 "include/linux/prio_tree.h"
 1243struct prio_tree_root {
 1244   struct prio_tree_node *prio_tree_node ;
 1245   unsigned short index_bits ;
 1246   unsigned short raw ;
 1247};
 1248#line 6 "include/linux/pid.h"
 1249enum pid_type {
 1250    PIDTYPE_PID = 0,
 1251    PIDTYPE_PGID = 1,
 1252    PIDTYPE_SID = 2,
 1253    PIDTYPE_MAX = 3
 1254} ;
 1255#line 50
 1256struct pid_namespace;
 1257#line 50 "include/linux/pid.h"
 1258struct upid {
 1259   int nr ;
 1260   struct pid_namespace *ns ;
 1261   struct hlist_node pid_chain ;
 1262};
 1263#line 57 "include/linux/pid.h"
 1264struct pid {
 1265   atomic_t count ;
 1266   unsigned int level ;
 1267   struct hlist_head tasks[3] ;
 1268   struct rcu_head rcu ;
 1269   struct upid numbers[1] ;
 1270};
 1271#line 69 "include/linux/pid.h"
 1272struct pid_link {
 1273   struct hlist_node node ;
 1274   struct pid *pid ;
 1275};
 1276#line 100
 1277struct pid_namespace;
 1278#line 18 "include/linux/capability.h"
 1279struct task_struct;
 1280#line 94 "include/linux/capability.h"
 1281struct kernel_cap_struct {
 1282   __u32 cap[2] ;
 1283};
 1284#line 94 "include/linux/capability.h"
 1285typedef struct kernel_cap_struct kernel_cap_t;
 1286#line 377
 1287struct dentry;
 1288#line 378
 1289struct user_namespace;
 1290#line 378
 1291struct user_namespace;
 1292#line 16 "include/linux/fiemap.h"
 1293struct fiemap_extent {
 1294   __u64 fe_logical ;
 1295   __u64 fe_physical ;
 1296   __u64 fe_length ;
 1297   __u64 fe_reserved64[2] ;
 1298   __u32 fe_flags ;
 1299   __u32 fe_reserved[3] ;
 1300};
 1301#line 8 "include/linux/shrinker.h"
 1302struct shrink_control {
 1303   gfp_t gfp_mask ;
 1304   unsigned long nr_to_scan ;
 1305};
 1306#line 31 "include/linux/shrinker.h"
 1307struct shrinker {
 1308   int (*shrink)(struct shrinker * , struct shrink_control *sc ) ;
 1309   int seeks ;
 1310   long batch ;
 1311   struct list_head list ;
 1312   atomic_long_t nr_in_batch ;
 1313};
 1314#line 10 "include/linux/migrate_mode.h"
 1315enum migrate_mode {
 1316    MIGRATE_ASYNC = 0,
 1317    MIGRATE_SYNC_LIGHT = 1,
 1318    MIGRATE_SYNC = 2
 1319} ;
 1320#line 408 "include/linux/fs.h"
 1321struct export_operations;
 1322#line 408
 1323struct export_operations;
 1324#line 410
 1325struct iovec;
 1326#line 410
 1327struct iovec;
 1328#line 411
 1329struct nameidata;
 1330#line 412
 1331struct kiocb;
 1332#line 412
 1333struct kiocb;
 1334#line 413
 1335struct kobject;
 1336#line 414
 1337struct pipe_inode_info;
 1338#line 414
 1339struct pipe_inode_info;
 1340#line 415
 1341struct poll_table_struct;
 1342#line 415
 1343struct poll_table_struct;
 1344#line 416
 1345struct kstatfs;
 1346#line 416
 1347struct kstatfs;
 1348#line 417
 1349struct vm_area_struct;
 1350#line 418
 1351struct vfsmount;
 1352#line 419
 1353struct cred;
 1354#line 469 "include/linux/fs.h"
 1355struct iattr {
 1356   unsigned int ia_valid ;
 1357   umode_t ia_mode ;
 1358   uid_t ia_uid ;
 1359   gid_t ia_gid ;
 1360   loff_t ia_size ;
 1361   struct timespec ia_atime ;
 1362   struct timespec ia_mtime ;
 1363   struct timespec ia_ctime ;
 1364   struct file *ia_file ;
 1365};
 1366#line 129 "include/linux/quota.h"
 1367struct if_dqinfo {
 1368   __u64 dqi_bgrace ;
 1369   __u64 dqi_igrace ;
 1370   __u32 dqi_flags ;
 1371   __u32 dqi_valid ;
 1372};
 1373#line 50 "include/linux/dqblk_xfs.h"
 1374struct fs_disk_quota {
 1375   __s8 d_version ;
 1376   __s8 d_flags ;
 1377   __u16 d_fieldmask ;
 1378   __u32 d_id ;
 1379   __u64 d_blk_hardlimit ;
 1380   __u64 d_blk_softlimit ;
 1381   __u64 d_ino_hardlimit ;
 1382   __u64 d_ino_softlimit ;
 1383   __u64 d_bcount ;
 1384   __u64 d_icount ;
 1385   __s32 d_itimer ;
 1386   __s32 d_btimer ;
 1387   __u16 d_iwarns ;
 1388   __u16 d_bwarns ;
 1389   __s32 d_padding2 ;
 1390   __u64 d_rtb_hardlimit ;
 1391   __u64 d_rtb_softlimit ;
 1392   __u64 d_rtbcount ;
 1393   __s32 d_rtbtimer ;
 1394   __u16 d_rtbwarns ;
 1395   __s16 d_padding3 ;
 1396   char d_padding4[8] ;
 1397};
 1398#line 146 "include/linux/dqblk_xfs.h"
 1399struct fs_qfilestat {
 1400   __u64 qfs_ino ;
 1401   __u64 qfs_nblks ;
 1402   __u32 qfs_nextents ;
 1403};
 1404#line 146 "include/linux/dqblk_xfs.h"
 1405typedef struct fs_qfilestat fs_qfilestat_t;
 1406#line 152 "include/linux/dqblk_xfs.h"
 1407struct fs_quota_stat {
 1408   __s8 qs_version ;
 1409   __u16 qs_flags ;
 1410   __s8 qs_pad ;
 1411   fs_qfilestat_t qs_uquota ;
 1412   fs_qfilestat_t qs_gquota ;
 1413   __u32 qs_incoredqs ;
 1414   __s32 qs_btimelimit ;
 1415   __s32 qs_itimelimit ;
 1416   __s32 qs_rtbtimelimit ;
 1417   __u16 qs_bwarnlimit ;
 1418   __u16 qs_iwarnlimit ;
 1419};
 1420#line 17 "include/linux/dqblk_qtree.h"
 1421struct dquot;
 1422#line 17
 1423struct dquot;
 1424#line 185 "include/linux/quota.h"
 1425typedef __kernel_uid32_t qid_t;
 1426#line 186 "include/linux/quota.h"
 1427typedef long long qsize_t;
 1428#line 200 "include/linux/quota.h"
 1429struct mem_dqblk {
 1430   qsize_t dqb_bhardlimit ;
 1431   qsize_t dqb_bsoftlimit ;
 1432   qsize_t dqb_curspace ;
 1433   qsize_t dqb_rsvspace ;
 1434   qsize_t dqb_ihardlimit ;
 1435   qsize_t dqb_isoftlimit ;
 1436   qsize_t dqb_curinodes ;
 1437   time_t dqb_btime ;
 1438   time_t dqb_itime ;
 1439};
 1440#line 215
 1441struct quota_format_type;
 1442#line 215
 1443struct quota_format_type;
 1444#line 217 "include/linux/quota.h"
 1445struct mem_dqinfo {
 1446   struct quota_format_type *dqi_format ;
 1447   int dqi_fmt_id ;
 1448   struct list_head dqi_dirty_list ;
 1449   unsigned long dqi_flags ;
 1450   unsigned int dqi_bgrace ;
 1451   unsigned int dqi_igrace ;
 1452   qsize_t dqi_maxblimit ;
 1453   qsize_t dqi_maxilimit ;
 1454   void *dqi_priv ;
 1455};
 1456#line 230
 1457struct super_block;
 1458#line 288 "include/linux/quota.h"
 1459struct dquot {
 1460   struct hlist_node dq_hash ;
 1461   struct list_head dq_inuse ;
 1462   struct list_head dq_free ;
 1463   struct list_head dq_dirty ;
 1464   struct mutex dq_lock ;
 1465   atomic_t dq_count ;
 1466   wait_queue_head_t dq_wait_unused ;
 1467   struct super_block *dq_sb ;
 1468   unsigned int dq_id ;
 1469   loff_t dq_off ;
 1470   unsigned long dq_flags ;
 1471   short dq_type ;
 1472   struct mem_dqblk dq_dqb ;
 1473};
 1474#line 305 "include/linux/quota.h"
 1475struct quota_format_ops {
 1476   int (*check_quota_file)(struct super_block *sb , int type ) ;
 1477   int (*read_file_info)(struct super_block *sb , int type ) ;
 1478   int (*write_file_info)(struct super_block *sb , int type ) ;
 1479   int (*free_file_info)(struct super_block *sb , int type ) ;
 1480   int (*read_dqblk)(struct dquot *dquot ) ;
 1481   int (*commit_dqblk)(struct dquot *dquot ) ;
 1482   int (*release_dqblk)(struct dquot *dquot ) ;
 1483};
 1484#line 316 "include/linux/quota.h"
 1485struct dquot_operations {
 1486   int (*write_dquot)(struct dquot * ) ;
 1487   struct dquot *(*alloc_dquot)(struct super_block * , int  ) ;
 1488   void (*destroy_dquot)(struct dquot * ) ;
 1489   int (*acquire_dquot)(struct dquot * ) ;
 1490   int (*release_dquot)(struct dquot * ) ;
 1491   int (*mark_dirty)(struct dquot * ) ;
 1492   int (*write_info)(struct super_block * , int  ) ;
 1493   qsize_t *(*get_reserved_space)(struct inode * ) ;
 1494};
 1495#line 329
 1496struct path;
 1497#line 332 "include/linux/quota.h"
 1498struct quotactl_ops {
 1499   int (*quota_on)(struct super_block * , int  , int  , struct path * ) ;
 1500   int (*quota_on_meta)(struct super_block * , int  , int  ) ;
 1501   int (*quota_off)(struct super_block * , int  ) ;
 1502   int (*quota_sync)(struct super_block * , int  , int  ) ;
 1503   int (*get_info)(struct super_block * , int  , struct if_dqinfo * ) ;
 1504   int (*set_info)(struct super_block * , int  , struct if_dqinfo * ) ;
 1505   int (*get_dqblk)(struct super_block * , int  , qid_t  , struct fs_disk_quota * ) ;
 1506   int (*set_dqblk)(struct super_block * , int  , qid_t  , struct fs_disk_quota * ) ;
 1507   int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
 1508   int (*set_xstate)(struct super_block * , unsigned int  , int  ) ;
 1509};
 1510#line 345 "include/linux/quota.h"
 1511struct quota_format_type {
 1512   int qf_fmt_id ;
 1513   struct quota_format_ops    *qf_ops ;
 1514   struct module *qf_owner ;
 1515   struct quota_format_type *qf_next ;
 1516};
 1517#line 399 "include/linux/quota.h"
 1518struct quota_info {
 1519   unsigned int flags ;
 1520   struct mutex dqio_mutex ;
 1521   struct mutex dqonoff_mutex ;
 1522   struct rw_semaphore dqptr_sem ;
 1523   struct inode *files[2] ;
 1524   struct mem_dqinfo info[2] ;
 1525   struct quota_format_ops    *ops[2] ;
 1526};
 1527#line 532 "include/linux/fs.h"
 1528struct page;
 1529#line 533
 1530struct address_space;
 1531#line 533
 1532struct address_space;
 1533#line 534
 1534struct writeback_control;
 1535#line 534
 1536struct writeback_control;
 1537#line 577 "include/linux/fs.h"
 1538union __anonunion_arg_209 {
 1539   char *buf ;
 1540   void *data ;
 1541};
 1542#line 577 "include/linux/fs.h"
 1543struct __anonstruct_read_descriptor_t_208 {
 1544   size_t written ;
 1545   size_t count ;
 1546   union __anonunion_arg_209 arg ;
 1547   int error ;
 1548};
 1549#line 577 "include/linux/fs.h"
 1550typedef struct __anonstruct_read_descriptor_t_208 read_descriptor_t;
 1551#line 590 "include/linux/fs.h"
 1552struct address_space_operations {
 1553   int (*writepage)(struct page *page , struct writeback_control *wbc ) ;
 1554   int (*readpage)(struct file * , struct page * ) ;
 1555   int (*writepages)(struct address_space * , struct writeback_control * ) ;
 1556   int (*set_page_dirty)(struct page *page ) ;
 1557   int (*readpages)(struct file *filp , struct address_space *mapping , struct list_head *pages ,
 1558                    unsigned int nr_pages ) ;
 1559   int (*write_begin)(struct file * , struct address_space *mapping , loff_t pos ,
 1560                      unsigned int len , unsigned int flags , struct page **pagep ,
 1561                      void **fsdata ) ;
 1562   int (*write_end)(struct file * , struct address_space *mapping , loff_t pos , unsigned int len ,
 1563                    unsigned int copied , struct page *page , void *fsdata ) ;
 1564   sector_t (*bmap)(struct address_space * , sector_t  ) ;
 1565   void (*invalidatepage)(struct page * , unsigned long  ) ;
 1566   int (*releasepage)(struct page * , gfp_t  ) ;
 1567   void (*freepage)(struct page * ) ;
 1568   ssize_t (*direct_IO)(int  , struct kiocb * , struct iovec    *iov , loff_t offset ,
 1569                        unsigned long nr_segs ) ;
 1570   int (*get_xip_mem)(struct address_space * , unsigned long  , int  , void ** , unsigned long * ) ;
 1571   int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode  ) ;
 1572   int (*launder_page)(struct page * ) ;
 1573   int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long  ) ;
 1574   int (*error_remove_page)(struct address_space * , struct page * ) ;
 1575};
 1576#line 645
 1577struct backing_dev_info;
 1578#line 645
 1579struct backing_dev_info;
 1580#line 646 "include/linux/fs.h"
 1581struct address_space {
 1582   struct inode *host ;
 1583   struct radix_tree_root page_tree ;
 1584   spinlock_t tree_lock ;
 1585   unsigned int i_mmap_writable ;
 1586   struct prio_tree_root i_mmap ;
 1587   struct list_head i_mmap_nonlinear ;
 1588   struct mutex i_mmap_mutex ;
 1589   unsigned long nrpages ;
 1590   unsigned long writeback_index ;
 1591   struct address_space_operations    *a_ops ;
 1592   unsigned long flags ;
 1593   struct backing_dev_info *backing_dev_info ;
 1594   spinlock_t private_lock ;
 1595   struct list_head private_list ;
 1596   struct address_space *assoc_mapping ;
 1597} __attribute__((__aligned__(sizeof(long )))) ;
 1598#line 669
 1599struct request_queue;
 1600#line 669
 1601struct request_queue;
 1602#line 671
 1603struct hd_struct;
 1604#line 671
 1605struct gendisk;
 1606#line 671 "include/linux/fs.h"
 1607struct block_device {
 1608   dev_t bd_dev ;
 1609   int bd_openers ;
 1610   struct inode *bd_inode ;
 1611   struct super_block *bd_super ;
 1612   struct mutex bd_mutex ;
 1613   struct list_head bd_inodes ;
 1614   void *bd_claiming ;
 1615   void *bd_holder ;
 1616   int bd_holders ;
 1617   bool bd_write_holder ;
 1618   struct list_head bd_holder_disks ;
 1619   struct block_device *bd_contains ;
 1620   unsigned int bd_block_size ;
 1621   struct hd_struct *bd_part ;
 1622   unsigned int bd_part_count ;
 1623   int bd_invalidated ;
 1624   struct gendisk *bd_disk ;
 1625   struct request_queue *bd_queue ;
 1626   struct list_head bd_list ;
 1627   unsigned long bd_private ;
 1628   int bd_fsfreeze_count ;
 1629   struct mutex bd_fsfreeze_mutex ;
 1630};
 1631#line 749
 1632struct posix_acl;
 1633#line 749
 1634struct posix_acl;
 1635#line 761
 1636struct inode_operations;
 1637#line 761 "include/linux/fs.h"
 1638union __anonunion____missing_field_name_210 {
 1639   unsigned int    i_nlink ;
 1640   unsigned int __i_nlink ;
 1641};
 1642#line 761 "include/linux/fs.h"
 1643union __anonunion____missing_field_name_211 {
 1644   struct list_head i_dentry ;
 1645   struct rcu_head i_rcu ;
 1646};
 1647#line 761
 1648struct file_operations;
 1649#line 761
 1650struct file_lock;
 1651#line 761
 1652struct cdev;
 1653#line 761 "include/linux/fs.h"
 1654union __anonunion____missing_field_name_212 {
 1655   struct pipe_inode_info *i_pipe ;
 1656   struct block_device *i_bdev ;
 1657   struct cdev *i_cdev ;
 1658};
 1659#line 761 "include/linux/fs.h"
 1660struct inode {
 1661   umode_t i_mode ;
 1662   unsigned short i_opflags ;
 1663   uid_t i_uid ;
 1664   gid_t i_gid ;
 1665   unsigned int i_flags ;
 1666   struct posix_acl *i_acl ;
 1667   struct posix_acl *i_default_acl ;
 1668   struct inode_operations    *i_op ;
 1669   struct super_block *i_sb ;
 1670   struct address_space *i_mapping ;
 1671   void *i_security ;
 1672   unsigned long i_ino ;
 1673   union __anonunion____missing_field_name_210 __annonCompField33 ;
 1674   dev_t i_rdev ;
 1675   struct timespec i_atime ;
 1676   struct timespec i_mtime ;
 1677   struct timespec i_ctime ;
 1678   spinlock_t i_lock ;
 1679   unsigned short i_bytes ;
 1680   blkcnt_t i_blocks ;
 1681   loff_t i_size ;
 1682   unsigned long i_state ;
 1683   struct mutex i_mutex ;
 1684   unsigned long dirtied_when ;
 1685   struct hlist_node i_hash ;
 1686   struct list_head i_wb_list ;
 1687   struct list_head i_lru ;
 1688   struct list_head i_sb_list ;
 1689   union __anonunion____missing_field_name_211 __annonCompField34 ;
 1690   atomic_t i_count ;
 1691   unsigned int i_blkbits ;
 1692   u64 i_version ;
 1693   atomic_t i_dio_count ;
 1694   atomic_t i_writecount ;
 1695   struct file_operations    *i_fop ;
 1696   struct file_lock *i_flock ;
 1697   struct address_space i_data ;
 1698   struct dquot *i_dquot[2] ;
 1699   struct list_head i_devices ;
 1700   union __anonunion____missing_field_name_212 __annonCompField35 ;
 1701   __u32 i_generation ;
 1702   __u32 i_fsnotify_mask ;
 1703   struct hlist_head i_fsnotify_marks ;
 1704   atomic_t i_readcount ;
 1705   void *i_private ;
 1706};
 1707#line 942 "include/linux/fs.h"
 1708struct fown_struct {
 1709   rwlock_t lock ;
 1710   struct pid *pid ;
 1711   enum pid_type pid_type ;
 1712   uid_t uid ;
 1713   uid_t euid ;
 1714   int signum ;
 1715};
 1716#line 953 "include/linux/fs.h"
 1717struct file_ra_state {
 1718   unsigned long start ;
 1719   unsigned int size ;
 1720   unsigned int async_size ;
 1721   unsigned int ra_pages ;
 1722   unsigned int mmap_miss ;
 1723   loff_t prev_pos ;
 1724};
 1725#line 976 "include/linux/fs.h"
 1726union __anonunion_f_u_213 {
 1727   struct list_head fu_list ;
 1728   struct rcu_head fu_rcuhead ;
 1729};
 1730#line 976 "include/linux/fs.h"
 1731struct file {
 1732   union __anonunion_f_u_213 f_u ;
 1733   struct path f_path ;
 1734   struct file_operations    *f_op ;
 1735   spinlock_t f_lock ;
 1736   int f_sb_list_cpu ;
 1737   atomic_long_t f_count ;
 1738   unsigned int f_flags ;
 1739   fmode_t f_mode ;
 1740   loff_t f_pos ;
 1741   struct fown_struct f_owner ;
 1742   struct cred    *f_cred ;
 1743   struct file_ra_state f_ra ;
 1744   u64 f_version ;
 1745   void *f_security ;
 1746   void *private_data ;
 1747   struct list_head f_ep_links ;
 1748   struct list_head f_tfile_llink ;
 1749   struct address_space *f_mapping ;
 1750   unsigned long f_mnt_write_state ;
 1751};
 1752#line 1111
 1753struct files_struct;
 1754#line 1111 "include/linux/fs.h"
 1755typedef struct files_struct *fl_owner_t;
 1756#line 1113 "include/linux/fs.h"
 1757struct file_lock_operations {
 1758   void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
 1759   void (*fl_release_private)(struct file_lock * ) ;
 1760};
 1761#line 1118 "include/linux/fs.h"
 1762struct lock_manager_operations {
 1763   int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
 1764   void (*lm_notify)(struct file_lock * ) ;
 1765   int (*lm_grant)(struct file_lock * , struct file_lock * , int  ) ;
 1766   void (*lm_release_private)(struct file_lock * ) ;
 1767   void (*lm_break)(struct file_lock * ) ;
 1768   int (*lm_change)(struct file_lock ** , int  ) ;
 1769};
 1770#line 4 "include/linux/nfs_fs_i.h"
 1771struct nlm_lockowner;
 1772#line 4
 1773struct nlm_lockowner;
 1774#line 9 "include/linux/nfs_fs_i.h"
 1775struct nfs_lock_info {
 1776   u32 state ;
 1777   struct nlm_lockowner *owner ;
 1778   struct list_head list ;
 1779};
 1780#line 15
 1781struct nfs4_lock_state;
 1782#line 15
 1783struct nfs4_lock_state;
 1784#line 16 "include/linux/nfs_fs_i.h"
 1785struct nfs4_lock_info {
 1786   struct nfs4_lock_state *owner ;
 1787};
 1788#line 1138 "include/linux/fs.h"
 1789struct fasync_struct;
 1790#line 1138 "include/linux/fs.h"
 1791struct __anonstruct_afs_215 {
 1792   struct list_head link ;
 1793   int state ;
 1794};
 1795#line 1138 "include/linux/fs.h"
 1796union __anonunion_fl_u_214 {
 1797   struct nfs_lock_info nfs_fl ;
 1798   struct nfs4_lock_info nfs4_fl ;
 1799   struct __anonstruct_afs_215 afs ;
 1800};
 1801#line 1138 "include/linux/fs.h"
 1802struct file_lock {
 1803   struct file_lock *fl_next ;
 1804   struct list_head fl_link ;
 1805   struct list_head fl_block ;
 1806   fl_owner_t fl_owner ;
 1807   unsigned int fl_flags ;
 1808   unsigned char fl_type ;
 1809   unsigned int fl_pid ;
 1810   struct pid *fl_nspid ;
 1811   wait_queue_head_t fl_wait ;
 1812   struct file *fl_file ;
 1813   loff_t fl_start ;
 1814   loff_t fl_end ;
 1815   struct fasync_struct *fl_fasync ;
 1816   unsigned long fl_break_time ;
 1817   unsigned long fl_downgrade_time ;
 1818   struct file_lock_operations    *fl_ops ;
 1819   struct lock_manager_operations    *fl_lmops ;
 1820   union __anonunion_fl_u_214 fl_u ;
 1821};
 1822#line 1378 "include/linux/fs.h"
 1823struct fasync_struct {
 1824   spinlock_t fa_lock ;
 1825   int magic ;
 1826   int fa_fd ;
 1827   struct fasync_struct *fa_next ;
 1828   struct file *fa_file ;
 1829   struct rcu_head fa_rcu ;
 1830};
 1831#line 1418
 1832struct file_system_type;
 1833#line 1418
 1834struct super_operations;
 1835#line 1418
 1836struct xattr_handler;
 1837#line 1418
 1838struct mtd_info;
 1839#line 1418 "include/linux/fs.h"
 1840struct super_block {
 1841   struct list_head s_list ;
 1842   dev_t s_dev ;
 1843   unsigned char s_dirt ;
 1844   unsigned char s_blocksize_bits ;
 1845   unsigned long s_blocksize ;
 1846   loff_t s_maxbytes ;
 1847   struct file_system_type *s_type ;
 1848   struct super_operations    *s_op ;
 1849   struct dquot_operations    *dq_op ;
 1850   struct quotactl_ops    *s_qcop ;
 1851   struct export_operations    *s_export_op ;
 1852   unsigned long s_flags ;
 1853   unsigned long s_magic ;
 1854   struct dentry *s_root ;
 1855   struct rw_semaphore s_umount ;
 1856   struct mutex s_lock ;
 1857   int s_count ;
 1858   atomic_t s_active ;
 1859   void *s_security ;
 1860   struct xattr_handler    **s_xattr ;
 1861   struct list_head s_inodes ;
 1862   struct hlist_bl_head s_anon ;
 1863   struct list_head *s_files ;
 1864   struct list_head s_mounts ;
 1865   struct list_head s_dentry_lru ;
 1866   int s_nr_dentry_unused ;
 1867   spinlock_t s_inode_lru_lock  __attribute__((__aligned__((1) <<  (6) ))) ;
 1868   struct list_head s_inode_lru ;
 1869   int s_nr_inodes_unused ;
 1870   struct block_device *s_bdev ;
 1871   struct backing_dev_info *s_bdi ;
 1872   struct mtd_info *s_mtd ;
 1873   struct hlist_node s_instances ;
 1874   struct quota_info s_dquot ;
 1875   int s_frozen ;
 1876   wait_queue_head_t s_wait_unfrozen ;
 1877   char s_id[32] ;
 1878   u8 s_uuid[16] ;
 1879   void *s_fs_info ;
 1880   unsigned int s_max_links ;
 1881   fmode_t s_mode ;
 1882   u32 s_time_gran ;
 1883   struct mutex s_vfs_rename_mutex ;
 1884   char *s_subtype ;
 1885   char *s_options ;
 1886   struct dentry_operations    *s_d_op ;
 1887   int cleancache_poolid ;
 1888   struct shrinker s_shrink ;
 1889   atomic_long_t s_remove_count ;
 1890   int s_readonly_remount ;
 1891};
 1892#line 1567 "include/linux/fs.h"
 1893struct fiemap_extent_info {
 1894   unsigned int fi_flags ;
 1895   unsigned int fi_extents_mapped ;
 1896   unsigned int fi_extents_max ;
 1897   struct fiemap_extent *fi_extents_start ;
 1898};
 1899#line 1609 "include/linux/fs.h"
 1900struct file_operations {
 1901   struct module *owner ;
 1902   loff_t (*llseek)(struct file * , loff_t  , int  ) ;
 1903   ssize_t (*read)(struct file * , char * , size_t  , loff_t * ) ;
 1904   ssize_t (*write)(struct file * , char    * , size_t  , loff_t * ) ;
 1905   ssize_t (*aio_read)(struct kiocb * , struct iovec    * , unsigned long  ,
 1906                       loff_t  ) ;
 1907   ssize_t (*aio_write)(struct kiocb * , struct iovec    * , unsigned long  ,
 1908                        loff_t  ) ;
 1909   int (*readdir)(struct file * , void * , int (*)(void * , char    * , int  ,
 1910                                                   loff_t  , u64  , unsigned int  ) ) ;
 1911   unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
 1912   long (*unlocked_ioctl)(struct file * , unsigned int  , unsigned long  ) ;
 1913   long (*compat_ioctl)(struct file * , unsigned int  , unsigned long  ) ;
 1914   int (*mmap)(struct file * , struct vm_area_struct * ) ;
 1915   int (*open)(struct inode * , struct file * ) ;
 1916   int (*flush)(struct file * , fl_owner_t id ) ;
 1917   int (*release)(struct inode * , struct file * ) ;
 1918   int (*fsync)(struct file * , loff_t  , loff_t  , int datasync ) ;
 1919   int (*aio_fsync)(struct kiocb * , int datasync ) ;
 1920   int (*fasync)(int  , struct file * , int  ) ;
 1921   int (*lock)(struct file * , int  , struct file_lock * ) ;
 1922   ssize_t (*sendpage)(struct file * , struct page * , int  , size_t  , loff_t * ,
 1923                       int  ) ;
 1924   unsigned long (*get_unmapped_area)(struct file * , unsigned long  , unsigned long  ,
 1925                                      unsigned long  , unsigned long  ) ;
 1926   int (*check_flags)(int  ) ;
 1927   int (*flock)(struct file * , int  , struct file_lock * ) ;
 1928   ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t  ,
 1929                           unsigned int  ) ;
 1930   ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t  ,
 1931                          unsigned int  ) ;
 1932   int (*setlease)(struct file * , long  , struct file_lock ** ) ;
 1933   long (*fallocate)(struct file *file , int mode , loff_t offset , loff_t len ) ;
 1934};
 1935#line 1639 "include/linux/fs.h"
 1936struct inode_operations {
 1937   struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
 1938   void *(*follow_link)(struct dentry * , struct nameidata * ) ;
 1939   int (*permission)(struct inode * , int  ) ;
 1940   struct posix_acl *(*get_acl)(struct inode * , int  ) ;
 1941   int (*readlink)(struct dentry * , char * , int  ) ;
 1942   void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
 1943   int (*create)(struct inode * , struct dentry * , umode_t  , struct nameidata * ) ;
 1944   int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
 1945   int (*unlink)(struct inode * , struct dentry * ) ;
 1946   int (*symlink)(struct inode * , struct dentry * , char    * ) ;
 1947   int (*mkdir)(struct inode * , struct dentry * , umode_t  ) ;
 1948   int (*rmdir)(struct inode * , struct dentry * ) ;
 1949   int (*mknod)(struct inode * , struct dentry * , umode_t  , dev_t  ) ;
 1950   int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
 1951   void (*truncate)(struct inode * ) ;
 1952   int (*setattr)(struct dentry * , struct iattr * ) ;
 1953   int (*getattr)(struct vfsmount *mnt , struct dentry * , struct kstat * ) ;
 1954   int (*setxattr)(struct dentry * , char    * , void    * , size_t  , int  ) ;
 1955   ssize_t (*getxattr)(struct dentry * , char    * , void * , size_t  ) ;
 1956   ssize_t (*listxattr)(struct dentry * , char * , size_t  ) ;
 1957   int (*removexattr)(struct dentry * , char    * ) ;
 1958   void (*truncate_range)(struct inode * , loff_t  , loff_t  ) ;
 1959   int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 start , u64 len ) ;
 1960} __attribute__((__aligned__((1) <<  (6) ))) ;
 1961#line 1669
 1962struct seq_file;
 1963#line 1684 "include/linux/fs.h"
 1964struct super_operations {
 1965   struct inode *(*alloc_inode)(struct super_block *sb ) ;
 1966   void (*destroy_inode)(struct inode * ) ;
 1967   void (*dirty_inode)(struct inode * , int flags ) ;
 1968   int (*write_inode)(struct inode * , struct writeback_control *wbc ) ;
 1969   int (*drop_inode)(struct inode * ) ;
 1970   void (*evict_inode)(struct inode * ) ;
 1971   void (*put_super)(struct super_block * ) ;
 1972   void (*write_super)(struct super_block * ) ;
 1973   int (*sync_fs)(struct super_block *sb , int wait ) ;
 1974   int (*freeze_fs)(struct super_block * ) ;
 1975   int (*unfreeze_fs)(struct super_block * ) ;
 1976   int (*statfs)(struct dentry * , struct kstatfs * ) ;
 1977   int (*remount_fs)(struct super_block * , int * , char * ) ;
 1978   void (*umount_begin)(struct super_block * ) ;
 1979   int (*show_options)(struct seq_file * , struct dentry * ) ;
 1980   int (*show_devname)(struct seq_file * , struct dentry * ) ;
 1981   int (*show_path)(struct seq_file * , struct dentry * ) ;
 1982   int (*show_stats)(struct seq_file * , struct dentry * ) ;
 1983   ssize_t (*quota_read)(struct super_block * , int  , char * , size_t  , loff_t  ) ;
 1984   ssize_t (*quota_write)(struct super_block * , int  , char    * , size_t  ,
 1985                          loff_t  ) ;
 1986   int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t  ) ;
 1987   int (*nr_cached_objects)(struct super_block * ) ;
 1988   void (*free_cached_objects)(struct super_block * , int  ) ;
 1989};
 1990#line 1835 "include/linux/fs.h"
 1991struct file_system_type {
 1992   char    *name ;
 1993   int fs_flags ;
 1994   struct dentry *(*mount)(struct file_system_type * , int  , char    * , void * ) ;
 1995   void (*kill_sb)(struct super_block * ) ;
 1996   struct module *owner ;
 1997   struct file_system_type *next ;
 1998   struct hlist_head fs_supers ;
 1999   struct lock_class_key s_lock_key ;
 2000   struct lock_class_key s_umount_key ;
 2001   struct lock_class_key s_vfs_rename_key ;
 2002   struct lock_class_key i_lock_key ;
 2003   struct lock_class_key i_mutex_key ;
 2004   struct lock_class_key i_mutex_dir_key ;
 2005};
 2006#line 23 "include/linux/mm_types.h"
 2007struct address_space;
 2008#line 40 "include/linux/mm_types.h"
 2009union __anonunion____missing_field_name_219 {
 2010   unsigned long index ;
 2011   void *freelist ;
 2012};
 2013#line 40 "include/linux/mm_types.h"
 2014struct __anonstruct____missing_field_name_223 {
 2015   unsigned int inuse : 16 ;
 2016   unsigned int objects : 15 ;
 2017   unsigned int frozen : 1 ;
 2018};
 2019#line 40 "include/linux/mm_types.h"
 2020union __anonunion____missing_field_name_222 {
 2021   atomic_t _mapcount ;
 2022   struct __anonstruct____missing_field_name_223 __annonCompField37 ;
 2023};
 2024#line 40 "include/linux/mm_types.h"
 2025struct __anonstruct____missing_field_name_221 {
 2026   union __anonunion____missing_field_name_222 __annonCompField38 ;
 2027   atomic_t _count ;
 2028};
 2029#line 40 "include/linux/mm_types.h"
 2030union __anonunion____missing_field_name_220 {
 2031   unsigned long counters ;
 2032   struct __anonstruct____missing_field_name_221 __annonCompField39 ;
 2033};
 2034#line 40 "include/linux/mm_types.h"
 2035struct __anonstruct____missing_field_name_218 {
 2036   union __anonunion____missing_field_name_219 __annonCompField36 ;
 2037   union __anonunion____missing_field_name_220 __annonCompField40 ;
 2038};
 2039#line 40 "include/linux/mm_types.h"
 2040struct __anonstruct____missing_field_name_225 {
 2041   struct page *next ;
 2042   int pages ;
 2043   int pobjects ;
 2044};
 2045#line 40 "include/linux/mm_types.h"
 2046union __anonunion____missing_field_name_224 {
 2047   struct list_head lru ;
 2048   struct __anonstruct____missing_field_name_225 __annonCompField42 ;
 2049};
 2050#line 40 "include/linux/mm_types.h"
 2051union __anonunion____missing_field_name_226 {
 2052   unsigned long private ;
 2053   struct kmem_cache *slab ;
 2054   struct page *first_page ;
 2055};
 2056#line 40 "include/linux/mm_types.h"
 2057struct page {
 2058   unsigned long flags ;
 2059   struct address_space *mapping ;
 2060   struct __anonstruct____missing_field_name_218 __annonCompField41 ;
 2061   union __anonunion____missing_field_name_224 __annonCompField43 ;
 2062   union __anonunion____missing_field_name_226 __annonCompField44 ;
 2063   unsigned long debug_flags ;
 2064} __attribute__((__aligned__((2) *  (sizeof(unsigned long )) ))) ;
 2065#line 200 "include/linux/mm_types.h"
 2066struct __anonstruct_vm_set_228 {
 2067   struct list_head list ;
 2068   void *parent ;
 2069   struct vm_area_struct *head ;
 2070};
 2071#line 200 "include/linux/mm_types.h"
 2072union __anonunion_shared_227 {
 2073   struct __anonstruct_vm_set_228 vm_set ;
 2074   struct raw_prio_tree_node prio_tree_node ;
 2075};
 2076#line 200
 2077struct anon_vma;
 2078#line 200
 2079struct vm_operations_struct;
 2080#line 200
 2081struct mempolicy;
 2082#line 200 "include/linux/mm_types.h"
 2083struct vm_area_struct {
 2084   struct mm_struct *vm_mm ;
 2085   unsigned long vm_start ;
 2086   unsigned long vm_end ;
 2087   struct vm_area_struct *vm_next ;
 2088   struct vm_area_struct *vm_prev ;
 2089   pgprot_t vm_page_prot ;
 2090   unsigned long vm_flags ;
 2091   struct rb_node vm_rb ;
 2092   union __anonunion_shared_227 shared ;
 2093   struct list_head anon_vma_chain ;
 2094   struct anon_vma *anon_vma ;
 2095   struct vm_operations_struct    *vm_ops ;
 2096   unsigned long vm_pgoff ;
 2097   struct file *vm_file ;
 2098   void *vm_private_data ;
 2099   struct mempolicy *vm_policy ;
 2100};
 2101#line 257 "include/linux/mm_types.h"
 2102struct core_thread {
 2103   struct task_struct *task ;
 2104   struct core_thread *next ;
 2105};
 2106#line 262 "include/linux/mm_types.h"
 2107struct core_state {
 2108   atomic_t nr_threads ;
 2109   struct core_thread dumper ;
 2110   struct completion startup ;
 2111};
 2112#line 284 "include/linux/mm_types.h"
 2113struct mm_rss_stat {
 2114   atomic_long_t count[3] ;
 2115};
 2116#line 288
 2117struct linux_binfmt;
 2118#line 288
 2119struct mmu_notifier_mm;
 2120#line 288 "include/linux/mm_types.h"
 2121struct mm_struct {
 2122   struct vm_area_struct *mmap ;
 2123   struct rb_root mm_rb ;
 2124   struct vm_area_struct *mmap_cache ;
 2125   unsigned long (*get_unmapped_area)(struct file *filp , unsigned long addr , unsigned long len ,
 2126                                      unsigned long pgoff , unsigned long flags ) ;
 2127   void (*unmap_area)(struct mm_struct *mm , unsigned long addr ) ;
 2128   unsigned long mmap_base ;
 2129   unsigned long task_size ;
 2130   unsigned long cached_hole_size ;
 2131   unsigned long free_area_cache ;
 2132   pgd_t *pgd ;
 2133   atomic_t mm_users ;
 2134   atomic_t mm_count ;
 2135   int map_count ;
 2136   spinlock_t page_table_lock ;
 2137   struct rw_semaphore mmap_sem ;
 2138   struct list_head mmlist ;
 2139   unsigned long hiwater_rss ;
 2140   unsigned long hiwater_vm ;
 2141   unsigned long total_vm ;
 2142   unsigned long locked_vm ;
 2143   unsigned long pinned_vm ;
 2144   unsigned long shared_vm ;
 2145   unsigned long exec_vm ;
 2146   unsigned long stack_vm ;
 2147   unsigned long reserved_vm ;
 2148   unsigned long def_flags ;
 2149   unsigned long nr_ptes ;
 2150   unsigned long start_code ;
 2151   unsigned long end_code ;
 2152   unsigned long start_data ;
 2153   unsigned long end_data ;
 2154   unsigned long start_brk ;
 2155   unsigned long brk ;
 2156   unsigned long start_stack ;
 2157   unsigned long arg_start ;
 2158   unsigned long arg_end ;
 2159   unsigned long env_start ;
 2160   unsigned long env_end ;
 2161   unsigned long saved_auxv[44] ;
 2162   struct mm_rss_stat rss_stat ;
 2163   struct linux_binfmt *binfmt ;
 2164   cpumask_var_t cpu_vm_mask_var ;
 2165   mm_context_t context ;
 2166   unsigned int faultstamp ;
 2167   unsigned int token_priority ;
 2168   unsigned int last_interval ;
 2169   unsigned long flags ;
 2170   struct core_state *core_state ;
 2171   spinlock_t ioctx_lock ;
 2172   struct hlist_head ioctx_list ;
 2173   struct task_struct *owner ;
 2174   struct file *exe_file ;
 2175   unsigned long num_exe_file_vmas ;
 2176   struct mmu_notifier_mm *mmu_notifier_mm ;
 2177   pgtable_t pmd_huge_pte ;
 2178   struct cpumask cpumask_allocation ;
 2179};
 2180#line 7 "include/asm-generic/cputime.h"
 2181typedef unsigned long cputime_t;
 2182#line 84 "include/linux/sem.h"
 2183struct task_struct;
 2184#line 101
 2185struct sem_undo_list;
 2186#line 101 "include/linux/sem.h"
 2187struct sysv_sem {
 2188   struct sem_undo_list *undo_list ;
 2189};
 2190#line 10 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 2191struct siginfo;
 2192#line 10
 2193struct siginfo;
 2194#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 2195struct __anonstruct_sigset_t_230 {
 2196   unsigned long sig[1] ;
 2197};
 2198#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 2199typedef struct __anonstruct_sigset_t_230 sigset_t;
 2200#line 17 "include/asm-generic/signal-defs.h"
 2201typedef void __signalfn_t(int  );
 2202#line 18 "include/asm-generic/signal-defs.h"
 2203typedef __signalfn_t *__sighandler_t;
 2204#line 20 "include/asm-generic/signal-defs.h"
 2205typedef void __restorefn_t(void);
 2206#line 21 "include/asm-generic/signal-defs.h"
 2207typedef __restorefn_t *__sigrestore_t;
 2208#line 167 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 2209struct sigaction {
 2210   __sighandler_t sa_handler ;
 2211   unsigned long sa_flags ;
 2212   __sigrestore_t sa_restorer ;
 2213   sigset_t sa_mask ;
 2214};
 2215#line 174 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 2216struct k_sigaction {
 2217   struct sigaction sa ;
 2218};
 2219#line 7 "include/asm-generic/siginfo.h"
 2220union sigval {
 2221   int sival_int ;
 2222   void *sival_ptr ;
 2223};
 2224#line 7 "include/asm-generic/siginfo.h"
 2225typedef union sigval sigval_t;
 2226#line 48 "include/asm-generic/siginfo.h"
 2227struct __anonstruct__kill_232 {
 2228   __kernel_pid_t _pid ;
 2229   __kernel_uid32_t _uid ;
 2230};
 2231#line 48 "include/asm-generic/siginfo.h"
 2232struct __anonstruct__timer_233 {
 2233   __kernel_timer_t _tid ;
 2234   int _overrun ;
 2235   char _pad[sizeof(__kernel_uid32_t ) - sizeof(int )] ;
 2236   sigval_t _sigval ;
 2237   int _sys_private ;
 2238};
 2239#line 48 "include/asm-generic/siginfo.h"
 2240struct __anonstruct__rt_234 {
 2241   __kernel_pid_t _pid ;
 2242   __kernel_uid32_t _uid ;
 2243   sigval_t _sigval ;
 2244};
 2245#line 48 "include/asm-generic/siginfo.h"
 2246struct __anonstruct__sigchld_235 {
 2247   __kernel_pid_t _pid ;
 2248   __kernel_uid32_t _uid ;
 2249   int _status ;
 2250   __kernel_clock_t _utime ;
 2251   __kernel_clock_t _stime ;
 2252};
 2253#line 48 "include/asm-generic/siginfo.h"
 2254struct __anonstruct__sigfault_236 {
 2255   void *_addr ;
 2256   short _addr_lsb ;
 2257};
 2258#line 48 "include/asm-generic/siginfo.h"
 2259struct __anonstruct__sigpoll_237 {
 2260   long _band ;
 2261   int _fd ;
 2262};
 2263#line 48 "include/asm-generic/siginfo.h"
 2264union __anonunion__sifields_231 {
 2265   int _pad[(128UL - 4UL * sizeof(int )) / sizeof(int )] ;
 2266   struct __anonstruct__kill_232 _kill ;
 2267   struct __anonstruct__timer_233 _timer ;
 2268   struct __anonstruct__rt_234 _rt ;
 2269   struct __anonstruct__sigchld_235 _sigchld ;
 2270   struct __anonstruct__sigfault_236 _sigfault ;
 2271   struct __anonstruct__sigpoll_237 _sigpoll ;
 2272};
 2273#line 48 "include/asm-generic/siginfo.h"
 2274struct siginfo {
 2275   int si_signo ;
 2276   int si_errno ;
 2277   int si_code ;
 2278   union __anonunion__sifields_231 _sifields ;
 2279};
 2280#line 48 "include/asm-generic/siginfo.h"
 2281typedef struct siginfo siginfo_t;
 2282#line 288
 2283struct siginfo;
 2284#line 10 "include/linux/signal.h"
 2285struct task_struct;
 2286#line 18
 2287struct user_struct;
 2288#line 28 "include/linux/signal.h"
 2289struct sigpending {
 2290   struct list_head list ;
 2291   sigset_t signal ;
 2292};
 2293#line 239
 2294struct timespec;
 2295#line 240
 2296struct pt_regs;
 2297#line 10 "include/linux/seccomp.h"
 2298struct __anonstruct_seccomp_t_240 {
 2299   int mode ;
 2300};
 2301#line 10 "include/linux/seccomp.h"
 2302typedef struct __anonstruct_seccomp_t_240 seccomp_t;
 2303#line 81 "include/linux/plist.h"
 2304struct plist_head {
 2305   struct list_head node_list ;
 2306};
 2307#line 85 "include/linux/plist.h"
 2308struct plist_node {
 2309   int prio ;
 2310   struct list_head prio_list ;
 2311   struct list_head node_list ;
 2312};
 2313#line 40 "include/linux/rtmutex.h"
 2314struct rt_mutex_waiter;
 2315#line 40
 2316struct rt_mutex_waiter;
 2317#line 42 "include/linux/resource.h"
 2318struct rlimit {
 2319   unsigned long rlim_cur ;
 2320   unsigned long rlim_max ;
 2321};
 2322#line 81
 2323struct task_struct;
 2324#line 8 "include/linux/timerqueue.h"
 2325struct timerqueue_node {
 2326   struct rb_node node ;
 2327   ktime_t expires ;
 2328};
 2329#line 13 "include/linux/timerqueue.h"
 2330struct timerqueue_head {
 2331   struct rb_root head ;
 2332   struct timerqueue_node *next ;
 2333};
 2334#line 27 "include/linux/hrtimer.h"
 2335struct hrtimer_clock_base;
 2336#line 27
 2337struct hrtimer_clock_base;
 2338#line 28
 2339struct hrtimer_cpu_base;
 2340#line 28
 2341struct hrtimer_cpu_base;
 2342#line 44
 2343enum hrtimer_restart {
 2344    HRTIMER_NORESTART = 0,
 2345    HRTIMER_RESTART = 1
 2346} ;
 2347#line 108 "include/linux/hrtimer.h"
 2348struct hrtimer {
 2349   struct timerqueue_node node ;
 2350   ktime_t _softexpires ;
 2351   enum hrtimer_restart (*function)(struct hrtimer * ) ;
 2352   struct hrtimer_clock_base *base ;
 2353   unsigned long state ;
 2354   int start_pid ;
 2355   void *start_site ;
 2356   char start_comm[16] ;
 2357};
 2358#line 145 "include/linux/hrtimer.h"
 2359struct hrtimer_clock_base {
 2360   struct hrtimer_cpu_base *cpu_base ;
 2361   int index ;
 2362   clockid_t clockid ;
 2363   struct timerqueue_head active ;
 2364   ktime_t resolution ;
 2365   ktime_t (*get_time)(void) ;
 2366   ktime_t softirq_time ;
 2367   ktime_t offset ;
 2368};
 2369#line 178 "include/linux/hrtimer.h"
 2370struct hrtimer_cpu_base {
 2371   raw_spinlock_t lock ;
 2372   unsigned long active_bases ;
 2373   ktime_t expires_next ;
 2374   int hres_active ;
 2375   int hang_detected ;
 2376   unsigned long nr_events ;
 2377   unsigned long nr_retries ;
 2378   unsigned long nr_hangs ;
 2379   ktime_t max_hang_time ;
 2380   struct hrtimer_clock_base clock_base[3] ;
 2381};
 2382#line 11 "include/linux/task_io_accounting.h"
 2383struct task_io_accounting {
 2384   u64 rchar ;
 2385   u64 wchar ;
 2386   u64 syscr ;
 2387   u64 syscw ;
 2388   u64 read_bytes ;
 2389   u64 write_bytes ;
 2390   u64 cancelled_write_bytes ;
 2391};
 2392#line 13 "include/linux/latencytop.h"
 2393struct task_struct;
 2394#line 20 "include/linux/latencytop.h"
 2395struct latency_record {
 2396   unsigned long backtrace[12] ;
 2397   unsigned int count ;
 2398   unsigned long time ;
 2399   unsigned long max ;
 2400};
 2401#line 29 "include/linux/key.h"
 2402typedef int32_t key_serial_t;
 2403#line 32 "include/linux/key.h"
 2404typedef uint32_t key_perm_t;
 2405#line 34
 2406struct key;
 2407#line 34
 2408struct key;
 2409#line 74
 2410struct seq_file;
 2411#line 75
 2412struct user_struct;
 2413#line 76
 2414struct signal_struct;
 2415#line 76
 2416struct signal_struct;
 2417#line 77
 2418struct cred;
 2419#line 79
 2420struct key_type;
 2421#line 79
 2422struct key_type;
 2423#line 81
 2424struct keyring_list;
 2425#line 81
 2426struct keyring_list;
 2427#line 124
 2428struct key_user;
 2429#line 124 "include/linux/key.h"
 2430union __anonunion____missing_field_name_241 {
 2431   time_t expiry ;
 2432   time_t revoked_at ;
 2433};
 2434#line 124 "include/linux/key.h"
 2435union __anonunion_type_data_242 {
 2436   struct list_head link ;
 2437   unsigned long x[2] ;
 2438   void *p[2] ;
 2439   int reject_error ;
 2440};
 2441#line 124 "include/linux/key.h"
 2442union __anonunion_payload_243 {
 2443   unsigned long value ;
 2444   void *rcudata ;
 2445   void *data ;
 2446   struct keyring_list *subscriptions ;
 2447};
 2448#line 124 "include/linux/key.h"
 2449struct key {
 2450   atomic_t usage ;
 2451   key_serial_t serial ;
 2452   struct rb_node serial_node ;
 2453   struct key_type *type ;
 2454   struct rw_semaphore sem ;
 2455   struct key_user *user ;
 2456   void *security ;
 2457   union __anonunion____missing_field_name_241 __annonCompField45 ;
 2458   uid_t uid ;
 2459   gid_t gid ;
 2460   key_perm_t perm ;
 2461   unsigned short quotalen ;
 2462   unsigned short datalen ;
 2463   unsigned long flags ;
 2464   char *description ;
 2465   union __anonunion_type_data_242 type_data ;
 2466   union __anonunion_payload_243 payload ;
 2467};
 2468#line 18 "include/linux/selinux.h"
 2469struct audit_context;
 2470#line 18
 2471struct audit_context;
 2472#line 21 "include/linux/cred.h"
 2473struct user_struct;
 2474#line 22
 2475struct cred;
 2476#line 23
 2477struct inode;
 2478#line 31 "include/linux/cred.h"
 2479struct group_info {
 2480   atomic_t usage ;
 2481   int ngroups ;
 2482   int nblocks ;
 2483   gid_t small_block[32] ;
 2484   gid_t *blocks[0] ;
 2485};
 2486#line 83 "include/linux/cred.h"
 2487struct thread_group_cred {
 2488   atomic_t usage ;
 2489   pid_t tgid ;
 2490   spinlock_t lock ;
 2491   struct key *session_keyring ;
 2492   struct key *process_keyring ;
 2493   struct rcu_head rcu ;
 2494};
 2495#line 116 "include/linux/cred.h"
 2496struct cred {
 2497   atomic_t usage ;
 2498   atomic_t subscribers ;
 2499   void *put_addr ;
 2500   unsigned int magic ;
 2501   uid_t uid ;
 2502   gid_t gid ;
 2503   uid_t suid ;
 2504   gid_t sgid ;
 2505   uid_t euid ;
 2506   gid_t egid ;
 2507   uid_t fsuid ;
 2508   gid_t fsgid ;
 2509   unsigned int securebits ;
 2510   kernel_cap_t cap_inheritable ;
 2511   kernel_cap_t cap_permitted ;
 2512   kernel_cap_t cap_effective ;
 2513   kernel_cap_t cap_bset ;
 2514   unsigned char jit_keyring ;
 2515   struct key *thread_keyring ;
 2516   struct key *request_key_auth ;
 2517   struct thread_group_cred *tgcred ;
 2518   void *security ;
 2519   struct user_struct *user ;
 2520   struct user_namespace *user_ns ;
 2521   struct group_info *group_info ;
 2522   struct rcu_head rcu ;
 2523};
 2524#line 61 "include/linux/llist.h"
 2525struct llist_node;
 2526#line 65 "include/linux/llist.h"
 2527struct llist_node {
 2528   struct llist_node *next ;
 2529};
 2530#line 97 "include/linux/sched.h"
 2531struct futex_pi_state;
 2532#line 97
 2533struct futex_pi_state;
 2534#line 98
 2535struct robust_list_head;
 2536#line 98
 2537struct robust_list_head;
 2538#line 99
 2539struct bio_list;
 2540#line 99
 2541struct bio_list;
 2542#line 100
 2543struct fs_struct;
 2544#line 100
 2545struct fs_struct;
 2546#line 101
 2547struct perf_event_context;
 2548#line 101
 2549struct perf_event_context;
 2550#line 102
 2551struct blk_plug;
 2552#line 102
 2553struct blk_plug;
 2554#line 150
 2555struct seq_file;
 2556#line 151
 2557struct cfs_rq;
 2558#line 151
 2559struct cfs_rq;
 2560#line 259
 2561struct task_struct;
 2562#line 366
 2563struct nsproxy;
 2564#line 367
 2565struct user_namespace;
 2566#line 58 "include/linux/aio_abi.h"
 2567struct io_event {
 2568   __u64 data ;
 2569   __u64 obj ;
 2570   __s64 res ;
 2571   __s64 res2 ;
 2572};
 2573#line 16 "include/linux/uio.h"
 2574struct iovec {
 2575   void *iov_base ;
 2576   __kernel_size_t iov_len ;
 2577};
 2578#line 15 "include/linux/aio.h"
 2579struct kioctx;
 2580#line 15
 2581struct kioctx;
 2582#line 87 "include/linux/aio.h"
 2583union __anonunion_ki_obj_245 {
 2584   void *user ;
 2585   struct task_struct *tsk ;
 2586};
 2587#line 87
 2588struct eventfd_ctx;
 2589#line 87 "include/linux/aio.h"
 2590struct kiocb {
 2591   struct list_head ki_run_list ;
 2592   unsigned long ki_flags ;
 2593   int ki_users ;
 2594   unsigned int ki_key ;
 2595   struct file *ki_filp ;
 2596   struct kioctx *ki_ctx ;
 2597   int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
 2598   ssize_t (*ki_retry)(struct kiocb * ) ;
 2599   void (*ki_dtor)(struct kiocb * ) ;
 2600   union __anonunion_ki_obj_245 ki_obj ;
 2601   __u64 ki_user_data ;
 2602   loff_t ki_pos ;
 2603   void *private ;
 2604   unsigned short ki_opcode ;
 2605   size_t ki_nbytes ;
 2606   char *ki_buf ;
 2607   size_t ki_left ;
 2608   struct iovec ki_inline_vec ;
 2609   struct iovec *ki_iovec ;
 2610   unsigned long ki_nr_segs ;
 2611   unsigned long ki_cur_seg ;
 2612   struct list_head ki_list ;
 2613   struct list_head ki_batch ;
 2614   struct eventfd_ctx *ki_eventfd ;
 2615};
 2616#line 166 "include/linux/aio.h"
 2617struct aio_ring_info {
 2618   unsigned long mmap_base ;
 2619   unsigned long mmap_size ;
 2620   struct page **ring_pages ;
 2621   spinlock_t ring_lock ;
 2622   long nr_pages ;
 2623   unsigned int nr ;
 2624   unsigned int tail ;
 2625   struct page *internal_pages[8] ;
 2626};
 2627#line 179 "include/linux/aio.h"
 2628struct kioctx {
 2629   atomic_t users ;
 2630   int dead ;
 2631   struct mm_struct *mm ;
 2632   unsigned long user_id ;
 2633   struct hlist_node list ;
 2634   wait_queue_head_t wait ;
 2635   spinlock_t ctx_lock ;
 2636   int reqs_active ;
 2637   struct list_head active_reqs ;
 2638   struct list_head run_list ;
 2639   unsigned int max_reqs ;
 2640   struct aio_ring_info ring_info ;
 2641   struct delayed_work wq ;
 2642   struct rcu_head rcu_head ;
 2643};
 2644#line 214
 2645struct mm_struct;
 2646#line 443 "include/linux/sched.h"
 2647struct sighand_struct {
 2648   atomic_t count ;
 2649   struct k_sigaction action[64] ;
 2650   spinlock_t siglock ;
 2651   wait_queue_head_t signalfd_wqh ;
 2652};
 2653#line 450 "include/linux/sched.h"
 2654struct pacct_struct {
 2655   int ac_flag ;
 2656   long ac_exitcode ;
 2657   unsigned long ac_mem ;
 2658   cputime_t ac_utime ;
 2659   cputime_t ac_stime ;
 2660   unsigned long ac_minflt ;
 2661   unsigned long ac_majflt ;
 2662};
 2663#line 458 "include/linux/sched.h"
 2664struct cpu_itimer {
 2665   cputime_t expires ;
 2666   cputime_t incr ;
 2667   u32 error ;
 2668   u32 incr_error ;
 2669};
 2670#line 476 "include/linux/sched.h"
 2671struct task_cputime {
 2672   cputime_t utime ;
 2673   cputime_t stime ;
 2674   unsigned long long sum_exec_runtime ;
 2675};
 2676#line 512 "include/linux/sched.h"
 2677struct thread_group_cputimer {
 2678   struct task_cputime cputime ;
 2679   int running ;
 2680   raw_spinlock_t lock ;
 2681};
 2682#line 519
 2683struct autogroup;
 2684#line 519
 2685struct autogroup;
 2686#line 528
 2687struct tty_struct;
 2688#line 528
 2689struct taskstats;
 2690#line 528
 2691struct tty_audit_buf;
 2692#line 528 "include/linux/sched.h"
 2693struct signal_struct {
 2694   atomic_t sigcnt ;
 2695   atomic_t live ;
 2696   int nr_threads ;
 2697   wait_queue_head_t wait_chldexit ;
 2698   struct task_struct *curr_target ;
 2699   struct sigpending shared_pending ;
 2700   int group_exit_code ;
 2701   int notify_count ;
 2702   struct task_struct *group_exit_task ;
 2703   int group_stop_count ;
 2704   unsigned int flags ;
 2705   unsigned int is_child_subreaper : 1 ;
 2706   unsigned int has_child_subreaper : 1 ;
 2707   struct list_head posix_timers ;
 2708   struct hrtimer real_timer ;
 2709   struct pid *leader_pid ;
 2710   ktime_t it_real_incr ;
 2711   struct cpu_itimer it[2] ;
 2712   struct thread_group_cputimer cputimer ;
 2713   struct task_cputime cputime_expires ;
 2714   struct list_head cpu_timers[3] ;
 2715   struct pid *tty_old_pgrp ;
 2716   int leader ;
 2717   struct tty_struct *tty ;
 2718   struct autogroup *autogroup ;
 2719   cputime_t utime ;
 2720   cputime_t stime ;
 2721   cputime_t cutime ;
 2722   cputime_t cstime ;
 2723   cputime_t gtime ;
 2724   cputime_t cgtime ;
 2725   cputime_t prev_utime ;
 2726   cputime_t prev_stime ;
 2727   unsigned long nvcsw ;
 2728   unsigned long nivcsw ;
 2729   unsigned long cnvcsw ;
 2730   unsigned long cnivcsw ;
 2731   unsigned long min_flt ;
 2732   unsigned long maj_flt ;
 2733   unsigned long cmin_flt ;
 2734   unsigned long cmaj_flt ;
 2735   unsigned long inblock ;
 2736   unsigned long oublock ;
 2737   unsigned long cinblock ;
 2738   unsigned long coublock ;
 2739   unsigned long maxrss ;
 2740   unsigned long cmaxrss ;
 2741   struct task_io_accounting ioac ;
 2742   unsigned long long sum_sched_runtime ;
 2743   struct rlimit rlim[16] ;
 2744   struct pacct_struct pacct ;
 2745   struct taskstats *stats ;
 2746   unsigned int audit_tty ;
 2747   struct tty_audit_buf *tty_audit_buf ;
 2748   struct rw_semaphore group_rwsem ;
 2749   int oom_adj ;
 2750   int oom_score_adj ;
 2751   int oom_score_adj_min ;
 2752   struct mutex cred_guard_mutex ;
 2753};
 2754#line 703 "include/linux/sched.h"
 2755struct user_struct {
 2756   atomic_t __count ;
 2757   atomic_t processes ;
 2758   atomic_t files ;
 2759   atomic_t sigpending ;
 2760   atomic_t inotify_watches ;
 2761   atomic_t inotify_devs ;
 2762   atomic_t fanotify_listeners ;
 2763   atomic_long_t epoll_watches ;
 2764   unsigned long mq_bytes ;
 2765   unsigned long locked_shm ;
 2766   struct key *uid_keyring ;
 2767   struct key *session_keyring ;
 2768   struct hlist_node uidhash_node ;
 2769   uid_t uid ;
 2770   struct user_namespace *user_ns ;
 2771   atomic_long_t locked_vm ;
 2772};
 2773#line 747
 2774struct backing_dev_info;
 2775#line 748
 2776struct reclaim_state;
 2777#line 748
 2778struct reclaim_state;
 2779#line 751 "include/linux/sched.h"
 2780struct sched_info {
 2781   unsigned long pcount ;
 2782   unsigned long long run_delay ;
 2783   unsigned long long last_arrival ;
 2784   unsigned long long last_queued ;
 2785};
 2786#line 763 "include/linux/sched.h"
 2787struct task_delay_info {
 2788   spinlock_t lock ;
 2789   unsigned int flags ;
 2790   struct timespec blkio_start ;
 2791   struct timespec blkio_end ;
 2792   u64 blkio_delay ;
 2793   u64 swapin_delay ;
 2794   u32 blkio_count ;
 2795   u32 swapin_count ;
 2796   struct timespec freepages_start ;
 2797   struct timespec freepages_end ;
 2798   u64 freepages_delay ;
 2799   u32 freepages_count ;
 2800};
 2801#line 1088
 2802struct io_context;
 2803#line 1088
 2804struct io_context;
 2805#line 1097
 2806struct audit_context;
 2807#line 1098
 2808struct mempolicy;
 2809#line 1099
 2810struct pipe_inode_info;
 2811#line 1102
 2812struct rq;
 2813#line 1102
 2814struct rq;
 2815#line 1122 "include/linux/sched.h"
 2816struct sched_class {
 2817   struct sched_class    *next ;
 2818   void (*enqueue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
 2819   void (*dequeue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
 2820   void (*yield_task)(struct rq *rq ) ;
 2821   bool (*yield_to_task)(struct rq *rq , struct task_struct *p , bool preempt ) ;
 2822   void (*check_preempt_curr)(struct rq *rq , struct task_struct *p , int flags ) ;
 2823   struct task_struct *(*pick_next_task)(struct rq *rq ) ;
 2824   void (*put_prev_task)(struct rq *rq , struct task_struct *p ) ;
 2825   int (*select_task_rq)(struct task_struct *p , int sd_flag , int flags ) ;
 2826   void (*pre_schedule)(struct rq *this_rq , struct task_struct *task ) ;
 2827   void (*post_schedule)(struct rq *this_rq ) ;
 2828   void (*task_waking)(struct task_struct *task ) ;
 2829   void (*task_woken)(struct rq *this_rq , struct task_struct *task ) ;
 2830   void (*set_cpus_allowed)(struct task_struct *p , struct cpumask    *newmask ) ;
 2831   void (*rq_online)(struct rq *rq ) ;
 2832   void (*rq_offline)(struct rq *rq ) ;
 2833   void (*set_curr_task)(struct rq *rq ) ;
 2834   void (*task_tick)(struct rq *rq , struct task_struct *p , int queued ) ;
 2835   void (*task_fork)(struct task_struct *p ) ;
 2836   void (*switched_from)(struct rq *this_rq , struct task_struct *task ) ;
 2837   void (*switched_to)(struct rq *this_rq , struct task_struct *task ) ;
 2838   void (*prio_changed)(struct rq *this_rq , struct task_struct *task , int oldprio ) ;
 2839   unsigned int (*get_rr_interval)(struct rq *rq , struct task_struct *task ) ;
 2840   void (*task_move_group)(struct task_struct *p , int on_rq ) ;
 2841};
 2842#line 1167 "include/linux/sched.h"
 2843struct load_weight {
 2844   unsigned long weight ;
 2845   unsigned long inv_weight ;
 2846};
 2847#line 1172 "include/linux/sched.h"
 2848struct sched_statistics {
 2849   u64 wait_start ;
 2850   u64 wait_max ;
 2851   u64 wait_count ;
 2852   u64 wait_sum ;
 2853   u64 iowait_count ;
 2854   u64 iowait_sum ;
 2855   u64 sleep_start ;
 2856   u64 sleep_max ;
 2857   s64 sum_sleep_runtime ;
 2858   u64 block_start ;
 2859   u64 block_max ;
 2860   u64 exec_max ;
 2861   u64 slice_max ;
 2862   u64 nr_migrations_cold ;
 2863   u64 nr_failed_migrations_affine ;
 2864   u64 nr_failed_migrations_running ;
 2865   u64 nr_failed_migrations_hot ;
 2866   u64 nr_forced_migrations ;
 2867   u64 nr_wakeups ;
 2868   u64 nr_wakeups_sync ;
 2869   u64 nr_wakeups_migrate ;
 2870   u64 nr_wakeups_local ;
 2871   u64 nr_wakeups_remote ;
 2872   u64 nr_wakeups_affine ;
 2873   u64 nr_wakeups_affine_attempts ;
 2874   u64 nr_wakeups_passive ;
 2875   u64 nr_wakeups_idle ;
 2876};
 2877#line 1207 "include/linux/sched.h"
 2878struct sched_entity {
 2879   struct load_weight load ;
 2880   struct rb_node run_node ;
 2881   struct list_head group_node ;
 2882   unsigned int on_rq ;
 2883   u64 exec_start ;
 2884   u64 sum_exec_runtime ;
 2885   u64 vruntime ;
 2886   u64 prev_sum_exec_runtime ;
 2887   u64 nr_migrations ;
 2888   struct sched_statistics statistics ;
 2889   struct sched_entity *parent ;
 2890   struct cfs_rq *cfs_rq ;
 2891   struct cfs_rq *my_q ;
 2892};
 2893#line 1233
 2894struct rt_rq;
 2895#line 1233 "include/linux/sched.h"
 2896struct sched_rt_entity {
 2897   struct list_head run_list ;
 2898   unsigned long timeout ;
 2899   unsigned int time_slice ;
 2900   int nr_cpus_allowed ;
 2901   struct sched_rt_entity *back ;
 2902   struct sched_rt_entity *parent ;
 2903   struct rt_rq *rt_rq ;
 2904   struct rt_rq *my_q ;
 2905};
 2906#line 1264
 2907struct css_set;
 2908#line 1264
 2909struct compat_robust_list_head;
 2910#line 1264
 2911struct mem_cgroup;
 2912#line 1264 "include/linux/sched.h"
 2913struct memcg_batch_info {
 2914   int do_batch ;
 2915   struct mem_cgroup *memcg ;
 2916   unsigned long nr_pages ;
 2917   unsigned long memsw_nr_pages ;
 2918};
 2919#line 1264 "include/linux/sched.h"
 2920struct task_struct {
 2921   long volatile   state ;
 2922   void *stack ;
 2923   atomic_t usage ;
 2924   unsigned int flags ;
 2925   unsigned int ptrace ;
 2926   struct llist_node wake_entry ;
 2927   int on_cpu ;
 2928   int on_rq ;
 2929   int prio ;
 2930   int static_prio ;
 2931   int normal_prio ;
 2932   unsigned int rt_priority ;
 2933   struct sched_class    *sched_class ;
 2934   struct sched_entity se ;
 2935   struct sched_rt_entity rt ;
 2936   struct hlist_head preempt_notifiers ;
 2937   unsigned char fpu_counter ;
 2938   unsigned int policy ;
 2939   cpumask_t cpus_allowed ;
 2940   struct sched_info sched_info ;
 2941   struct list_head tasks ;
 2942   struct plist_node pushable_tasks ;
 2943   struct mm_struct *mm ;
 2944   struct mm_struct *active_mm ;
 2945   unsigned int brk_randomized : 1 ;
 2946   int exit_state ;
 2947   int exit_code ;
 2948   int exit_signal ;
 2949   int pdeath_signal ;
 2950   unsigned int jobctl ;
 2951   unsigned int personality ;
 2952   unsigned int did_exec : 1 ;
 2953   unsigned int in_execve : 1 ;
 2954   unsigned int in_iowait : 1 ;
 2955   unsigned int sched_reset_on_fork : 1 ;
 2956   unsigned int sched_contributes_to_load : 1 ;
 2957   unsigned int irq_thread : 1 ;
 2958   pid_t pid ;
 2959   pid_t tgid ;
 2960   unsigned long stack_canary ;
 2961   struct task_struct *real_parent ;
 2962   struct task_struct *parent ;
 2963   struct list_head children ;
 2964   struct list_head sibling ;
 2965   struct task_struct *group_leader ;
 2966   struct list_head ptraced ;
 2967   struct list_head ptrace_entry ;
 2968   struct pid_link pids[3] ;
 2969   struct list_head thread_group ;
 2970   struct completion *vfork_done ;
 2971   int *set_child_tid ;
 2972   int *clear_child_tid ;
 2973   cputime_t utime ;
 2974   cputime_t stime ;
 2975   cputime_t utimescaled ;
 2976   cputime_t stimescaled ;
 2977   cputime_t gtime ;
 2978   cputime_t prev_utime ;
 2979   cputime_t prev_stime ;
 2980   unsigned long nvcsw ;
 2981   unsigned long nivcsw ;
 2982   struct timespec start_time ;
 2983   struct timespec real_start_time ;
 2984   unsigned long min_flt ;
 2985   unsigned long maj_flt ;
 2986   struct task_cputime cputime_expires ;
 2987   struct list_head cpu_timers[3] ;
 2988   struct cred    *real_cred ;
 2989   struct cred    *cred ;
 2990   struct cred *replacement_session_keyring ;
 2991   char comm[16] ;
 2992   int link_count ;
 2993   int total_link_count ;
 2994   struct sysv_sem sysvsem ;
 2995   unsigned long last_switch_count ;
 2996   struct thread_struct thread ;
 2997   struct fs_struct *fs ;
 2998   struct files_struct *files ;
 2999   struct nsproxy *nsproxy ;
 3000   struct signal_struct *signal ;
 3001   struct sighand_struct *sighand ;
 3002   sigset_t blocked ;
 3003   sigset_t real_blocked ;
 3004   sigset_t saved_sigmask ;
 3005   struct sigpending pending ;
 3006   unsigned long sas_ss_sp ;
 3007   size_t sas_ss_size ;
 3008   int (*notifier)(void *priv ) ;
 3009   void *notifier_data ;
 3010   sigset_t *notifier_mask ;
 3011   struct audit_context *audit_context ;
 3012   uid_t loginuid ;
 3013   unsigned int sessionid ;
 3014   seccomp_t seccomp ;
 3015   u32 parent_exec_id ;
 3016   u32 self_exec_id ;
 3017   spinlock_t alloc_lock ;
 3018   raw_spinlock_t pi_lock ;
 3019   struct plist_head pi_waiters ;
 3020   struct rt_mutex_waiter *pi_blocked_on ;
 3021   struct mutex_waiter *blocked_on ;
 3022   unsigned int irq_events ;
 3023   unsigned long hardirq_enable_ip ;
 3024   unsigned long hardirq_disable_ip ;
 3025   unsigned int hardirq_enable_event ;
 3026   unsigned int hardirq_disable_event ;
 3027   int hardirqs_enabled ;
 3028   int hardirq_context ;
 3029   unsigned long softirq_disable_ip ;
 3030   unsigned long softirq_enable_ip ;
 3031   unsigned int softirq_disable_event ;
 3032   unsigned int softirq_enable_event ;
 3033   int softirqs_enabled ;
 3034   int softirq_context ;
 3035   void *journal_info ;
 3036   struct bio_list *bio_list ;
 3037   struct blk_plug *plug ;
 3038   struct reclaim_state *reclaim_state ;
 3039   struct backing_dev_info *backing_dev_info ;
 3040   struct io_context *io_context ;
 3041   unsigned long ptrace_message ;
 3042   siginfo_t *last_siginfo ;
 3043   struct task_io_accounting ioac ;
 3044   u64 acct_rss_mem1 ;
 3045   u64 acct_vm_mem1 ;
 3046   cputime_t acct_timexpd ;
 3047   nodemask_t mems_allowed ;
 3048   seqcount_t mems_allowed_seq ;
 3049   int cpuset_mem_spread_rotor ;
 3050   int cpuset_slab_spread_rotor ;
 3051   struct css_set *cgroups ;
 3052   struct list_head cg_list ;
 3053   struct robust_list_head *robust_list ;
 3054   struct compat_robust_list_head *compat_robust_list ;
 3055   struct list_head pi_state_list ;
 3056   struct futex_pi_state *pi_state_cache ;
 3057   struct perf_event_context *perf_event_ctxp[2] ;
 3058   struct mutex perf_event_mutex ;
 3059   struct list_head perf_event_list ;
 3060   struct mempolicy *mempolicy ;
 3061   short il_next ;
 3062   short pref_node_fork ;
 3063   struct rcu_head rcu ;
 3064   struct pipe_inode_info *splice_pipe ;
 3065   struct task_delay_info *delays ;
 3066   int make_it_fail ;
 3067   int nr_dirtied ;
 3068   int nr_dirtied_pause ;
 3069   unsigned long dirty_paused_when ;
 3070   int latency_record_count ;
 3071   struct latency_record latency_record[32] ;
 3072   unsigned long timer_slack_ns ;
 3073   unsigned long default_timer_slack_ns ;
 3074   struct list_head *scm_work_list ;
 3075   unsigned long trace ;
 3076   unsigned long trace_recursion ;
 3077   struct memcg_batch_info memcg_batch ;
 3078   atomic_t ptrace_bp_refcnt ;
 3079};
 3080#line 1681
 3081struct pid_namespace;
 3082#line 46 "include/linux/slub_def.h"
 3083struct kmem_cache_cpu {
 3084   void **freelist ;
 3085   unsigned long tid ;
 3086   struct page *page ;
 3087   struct page *partial ;
 3088   int node ;
 3089   unsigned int stat[26] ;
 3090};
 3091#line 57 "include/linux/slub_def.h"
 3092struct kmem_cache_node {
 3093   spinlock_t list_lock ;
 3094   unsigned long nr_partial ;
 3095   struct list_head partial ;
 3096   atomic_long_t nr_slabs ;
 3097   atomic_long_t total_objects ;
 3098   struct list_head full ;
 3099};
 3100#line 73 "include/linux/slub_def.h"
 3101struct kmem_cache_order_objects {
 3102   unsigned long x ;
 3103};
 3104#line 80 "include/linux/slub_def.h"
 3105struct kmem_cache {
 3106   struct kmem_cache_cpu *cpu_slab ;
 3107   unsigned long flags ;
 3108   unsigned long min_partial ;
 3109   int size ;
 3110   int objsize ;
 3111   int offset ;
 3112   int cpu_partial ;
 3113   struct kmem_cache_order_objects oo ;
 3114   struct kmem_cache_order_objects max ;
 3115   struct kmem_cache_order_objects min ;
 3116   gfp_t allocflags ;
 3117   int refcount ;
 3118   void (*ctor)(void * ) ;
 3119   int inuse ;
 3120   int align ;
 3121   int reserved ;
 3122   char    *name ;
 3123   struct list_head list ;
 3124   struct kobject kobj ;
 3125   int remote_node_defrag_ratio ;
 3126   struct kmem_cache_node *node[1 << 10] ;
 3127};
 3128#line 19 "include/linux/klist.h"
 3129struct klist_node;
 3130#line 19
 3131struct klist_node;
 3132#line 39 "include/linux/klist.h"
 3133struct klist_node {
 3134   void *n_klist ;
 3135   struct list_head n_node ;
 3136   struct kref n_ref ;
 3137};
 3138#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
 3139struct dma_map_ops;
 3140#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
 3141struct dev_archdata {
 3142   void *acpi_handle ;
 3143   struct dma_map_ops *dma_ops ;
 3144   void *iommu ;
 3145};
 3146#line 16 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
 3147struct pdev_archdata {
 3148
 3149};
 3150#line 28 "include/linux/device.h"
 3151struct device;
 3152#line 29
 3153struct device_private;
 3154#line 29
 3155struct device_private;
 3156#line 30
 3157struct device_driver;
 3158#line 30
 3159struct device_driver;
 3160#line 31
 3161struct driver_private;
 3162#line 31
 3163struct driver_private;
 3164#line 32
 3165struct module;
 3166#line 33
 3167struct class;
 3168#line 33
 3169struct class;
 3170#line 34
 3171struct subsys_private;
 3172#line 34
 3173struct subsys_private;
 3174#line 35
 3175struct bus_type;
 3176#line 35
 3177struct bus_type;
 3178#line 36
 3179struct device_node;
 3180#line 36
 3181struct device_node;
 3182#line 37
 3183struct iommu_ops;
 3184#line 37
 3185struct iommu_ops;
 3186#line 39 "include/linux/device.h"
 3187struct bus_attribute {
 3188   struct attribute attr ;
 3189   ssize_t (*show)(struct bus_type *bus , char *buf ) ;
 3190   ssize_t (*store)(struct bus_type *bus , char    *buf , size_t count ) ;
 3191};
 3192#line 89
 3193struct device_attribute;
 3194#line 89
 3195struct driver_attribute;
 3196#line 89 "include/linux/device.h"
 3197struct bus_type {
 3198   char    *name ;
 3199   char    *dev_name ;
 3200   struct device *dev_root ;
 3201   struct bus_attribute *bus_attrs ;
 3202   struct device_attribute *dev_attrs ;
 3203   struct driver_attribute *drv_attrs ;
 3204   int (*match)(struct device *dev , struct device_driver *drv ) ;
 3205   int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
 3206   int (*probe)(struct device *dev ) ;
 3207   int (*remove)(struct device *dev ) ;
 3208   void (*shutdown)(struct device *dev ) ;
 3209   int (*suspend)(struct device *dev , pm_message_t state ) ;
 3210   int (*resume)(struct device *dev ) ;
 3211   struct dev_pm_ops    *pm ;
 3212   struct iommu_ops *iommu_ops ;
 3213   struct subsys_private *p ;
 3214};
 3215#line 127
 3216struct device_type;
 3217#line 214
 3218struct of_device_id;
 3219#line 214 "include/linux/device.h"
 3220struct device_driver {
 3221   char    *name ;
 3222   struct bus_type *bus ;
 3223   struct module *owner ;
 3224   char    *mod_name ;
 3225   bool suppress_bind_attrs ;
 3226   struct of_device_id    *of_match_table ;
 3227   int (*probe)(struct device *dev ) ;
 3228   int (*remove)(struct device *dev ) ;
 3229   void (*shutdown)(struct device *dev ) ;
 3230   int (*suspend)(struct device *dev , pm_message_t state ) ;
 3231   int (*resume)(struct device *dev ) ;
 3232   struct attribute_group    **groups ;
 3233   struct dev_pm_ops    *pm ;
 3234   struct driver_private *p ;
 3235};
 3236#line 249 "include/linux/device.h"
 3237struct driver_attribute {
 3238   struct attribute attr ;
 3239   ssize_t (*show)(struct device_driver *driver , char *buf ) ;
 3240   ssize_t (*store)(struct device_driver *driver , char    *buf , size_t count ) ;
 3241};
 3242#line 330
 3243struct class_attribute;
 3244#line 330 "include/linux/device.h"
 3245struct class {
 3246   char    *name ;
 3247   struct module *owner ;
 3248   struct class_attribute *class_attrs ;
 3249   struct device_attribute *dev_attrs ;
 3250   struct bin_attribute *dev_bin_attrs ;
 3251   struct kobject *dev_kobj ;
 3252   int (*dev_uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
 3253   char *(*devnode)(struct device *dev , umode_t *mode ) ;
 3254   void (*class_release)(struct class *class ) ;
 3255   void (*dev_release)(struct device *dev ) ;
 3256   int (*suspend)(struct device *dev , pm_message_t state ) ;
 3257   int (*resume)(struct device *dev ) ;
 3258   struct kobj_ns_type_operations    *ns_type ;
 3259   void    *(*namespace)(struct device *dev ) ;
 3260   struct dev_pm_ops    *pm ;
 3261   struct subsys_private *p ;
 3262};
 3263#line 397 "include/linux/device.h"
 3264struct class_attribute {
 3265   struct attribute attr ;
 3266   ssize_t (*show)(struct class *class , struct class_attribute *attr , char *buf ) ;
 3267   ssize_t (*store)(struct class *class , struct class_attribute *attr , char    *buf ,
 3268                    size_t count ) ;
 3269   void    *(*namespace)(struct class *class , struct class_attribute    *attr ) ;
 3270};
 3271#line 465 "include/linux/device.h"
 3272struct device_type {
 3273   char    *name ;
 3274   struct attribute_group    **groups ;
 3275   int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
 3276   char *(*devnode)(struct device *dev , umode_t *mode ) ;
 3277   void (*release)(struct device *dev ) ;
 3278   struct dev_pm_ops    *pm ;
 3279};
 3280#line 476 "include/linux/device.h"
 3281struct device_attribute {
 3282   struct attribute attr ;
 3283   ssize_t (*show)(struct device *dev , struct device_attribute *attr , char *buf ) ;
 3284   ssize_t (*store)(struct device *dev , struct device_attribute *attr , char    *buf ,
 3285                    size_t count ) ;
 3286};
 3287#line 559 "include/linux/device.h"
 3288struct device_dma_parameters {
 3289   unsigned int max_segment_size ;
 3290   unsigned long segment_boundary_mask ;
 3291};
 3292#line 627
 3293struct dma_coherent_mem;
 3294#line 627 "include/linux/device.h"
 3295struct device {
 3296   struct device *parent ;
 3297   struct device_private *p ;
 3298   struct kobject kobj ;
 3299   char    *init_name ;
 3300   struct device_type    *type ;
 3301   struct mutex mutex ;
 3302   struct bus_type *bus ;
 3303   struct device_driver *driver ;
 3304   void *platform_data ;
 3305   struct dev_pm_info power ;
 3306   struct dev_pm_domain *pm_domain ;
 3307   int numa_node ;
 3308   u64 *dma_mask ;
 3309   u64 coherent_dma_mask ;
 3310   struct device_dma_parameters *dma_parms ;
 3311   struct list_head dma_pools ;
 3312   struct dma_coherent_mem *dma_mem ;
 3313   struct dev_archdata archdata ;
 3314   struct device_node *of_node ;
 3315   dev_t devt ;
 3316   u32 id ;
 3317   spinlock_t devres_lock ;
 3318   struct list_head devres_head ;
 3319   struct klist_node knode_class ;
 3320   struct class *class ;
 3321   struct attribute_group    **groups ;
 3322   void (*release)(struct device *dev ) ;
 3323};
 3324#line 43 "include/linux/pm_wakeup.h"
 3325struct wakeup_source {
 3326   char    *name ;
 3327   struct list_head entry ;
 3328   spinlock_t lock ;
 3329   struct timer_list timer ;
 3330   unsigned long timer_expires ;
 3331   ktime_t total_time ;
 3332   ktime_t max_time ;
 3333   ktime_t last_time ;
 3334   unsigned long event_count ;
 3335   unsigned long active_count ;
 3336   unsigned long relax_count ;
 3337   unsigned long hit_count ;
 3338   unsigned int active : 1 ;
 3339};
 3340#line 12 "include/linux/mod_devicetable.h"
 3341typedef unsigned long kernel_ulong_t;
 3342#line 219 "include/linux/mod_devicetable.h"
 3343struct of_device_id {
 3344   char name[32] ;
 3345   char type[32] ;
 3346   char compatible[128] ;
 3347   void *data ;
 3348};
 3349#line 506 "include/linux/mod_devicetable.h"
 3350struct platform_device_id {
 3351   char name[20] ;
 3352   kernel_ulong_t driver_data  __attribute__((__aligned__(sizeof(kernel_ulong_t )))) ;
 3353};
 3354#line 17 "include/linux/platform_device.h"
 3355struct mfd_cell;
 3356#line 17
 3357struct mfd_cell;
 3358#line 19 "include/linux/platform_device.h"
 3359struct platform_device {
 3360   char    *name ;
 3361   int id ;
 3362   struct device dev ;
 3363   u32 num_resources ;
 3364   struct resource *resource ;
 3365   struct platform_device_id    *id_entry ;
 3366   struct mfd_cell *mfd_cell ;
 3367   struct pdev_archdata archdata ;
 3368};
 3369#line 164 "include/linux/platform_device.h"
 3370struct platform_driver {
 3371   int (*probe)(struct platform_device * ) ;
 3372   int (*remove)(struct platform_device * ) ;
 3373   void (*shutdown)(struct platform_device * ) ;
 3374   int (*suspend)(struct platform_device * , pm_message_t state ) ;
 3375   int (*resume)(struct platform_device * ) ;
 3376   struct device_driver driver ;
 3377   struct platform_device_id    *id_table ;
 3378};
 3379#line 94 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess.h"
 3380struct exception_table_entry {
 3381   unsigned long insn ;
 3382   unsigned long fixup ;
 3383};
 3384#line 28 "include/linux/poll.h"
 3385struct poll_table_struct;
 3386#line 39 "include/linux/poll.h"
 3387struct poll_table_struct {
 3388   void (*_qproc)(struct file * , wait_queue_head_t * , struct poll_table_struct * ) ;
 3389   unsigned long _key ;
 3390};
 3391#line 107 "include/linux/videodev2.h"
 3392enum v4l2_field {
 3393    V4L2_FIELD_ANY = 0,
 3394    V4L2_FIELD_NONE = 1,
 3395    V4L2_FIELD_TOP = 2,
 3396    V4L2_FIELD_BOTTOM = 3,
 3397    V4L2_FIELD_INTERLACED = 4,
 3398    V4L2_FIELD_SEQ_TB = 5,
 3399    V4L2_FIELD_SEQ_BT = 6,
 3400    V4L2_FIELD_ALTERNATE = 7,
 3401    V4L2_FIELD_INTERLACED_TB = 8,
 3402    V4L2_FIELD_INTERLACED_BT = 9
 3403} ;
 3404#line 149
 3405enum v4l2_buf_type {
 3406    V4L2_BUF_TYPE_VIDEO_CAPTURE = 1,
 3407    V4L2_BUF_TYPE_VIDEO_OUTPUT = 2,
 3408    V4L2_BUF_TYPE_VIDEO_OVERLAY = 3,
 3409    V4L2_BUF_TYPE_VBI_CAPTURE = 4,
 3410    V4L2_BUF_TYPE_VBI_OUTPUT = 5,
 3411    V4L2_BUF_TYPE_SLICED_VBI_CAPTURE = 6,
 3412    V4L2_BUF_TYPE_SLICED_VBI_OUTPUT = 7,
 3413    V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY = 8,
 3414    V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = 9,
 3415    V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE = 10,
 3416    V4L2_BUF_TYPE_PRIVATE = 128
 3417} ;
 3418#line 178
 3419enum v4l2_tuner_type {
 3420    V4L2_TUNER_RADIO = 1,
 3421    V4L2_TUNER_ANALOG_TV = 2,
 3422    V4L2_TUNER_DIGITAL_TV = 3
 3423} ;
 3424#line 184
 3425enum v4l2_memory {
 3426    V4L2_MEMORY_MMAP = 1,
 3427    V4L2_MEMORY_USERPTR = 2,
 3428    V4L2_MEMORY_OVERLAY = 3
 3429} ;
 3430#line 191
 3431enum v4l2_colorspace {
 3432    V4L2_COLORSPACE_SMPTE170M = 1,
 3433    V4L2_COLORSPACE_SMPTE240M = 2,
 3434    V4L2_COLORSPACE_REC709 = 3,
 3435    V4L2_COLORSPACE_BT878 = 4,
 3436    V4L2_COLORSPACE_470_SYSTEM_M = 5,
 3437    V4L2_COLORSPACE_470_SYSTEM_BG = 6,
 3438    V4L2_COLORSPACE_JPEG = 7,
 3439    V4L2_COLORSPACE_SRGB = 8
 3440} ;
 3441#line 218
 3442enum v4l2_priority {
 3443    V4L2_PRIORITY_UNSET = 0,
 3444    V4L2_PRIORITY_BACKGROUND = 1,
 3445    V4L2_PRIORITY_INTERACTIVE = 2,
 3446    V4L2_PRIORITY_RECORD = 3,
 3447    V4L2_PRIORITY_DEFAULT = 2
 3448} ;
 3449#line 226 "include/linux/videodev2.h"
 3450struct v4l2_rect {
 3451   __s32 left ;
 3452   __s32 top ;
 3453   __s32 width ;
 3454   __s32 height ;
 3455};
 3456#line 233 "include/linux/videodev2.h"
 3457struct v4l2_fract {
 3458   __u32 numerator ;
 3459   __u32 denominator ;
 3460};
 3461#line 249 "include/linux/videodev2.h"
 3462struct v4l2_capability {
 3463   __u8 driver[16] ;
 3464   __u8 card[32] ;
 3465   __u8 bus_info[32] ;
 3466   __u32 version ;
 3467   __u32 capabilities ;
 3468   __u32 device_caps ;
 3469   __u32 reserved[3] ;
 3470};
 3471#line 291 "include/linux/videodev2.h"
 3472struct v4l2_pix_format {
 3473   __u32 width ;
 3474   __u32 height ;
 3475   __u32 pixelformat ;
 3476   enum v4l2_field field ;
 3477   __u32 bytesperline ;
 3478   __u32 sizeimage ;
 3479   enum v4l2_colorspace colorspace ;
 3480   __u32 priv ;
 3481};
 3482#line 433 "include/linux/videodev2.h"
 3483struct v4l2_fmtdesc {
 3484   __u32 index ;
 3485   enum v4l2_buf_type type ;
 3486   __u32 flags ;
 3487   __u8 description[32] ;
 3488   __u32 pixelformat ;
 3489   __u32 reserved[4] ;
 3490};
 3491#line 456 "include/linux/videodev2.h"
 3492struct v4l2_frmsize_discrete {
 3493   __u32 width ;
 3494   __u32 height ;
 3495};
 3496#line 461 "include/linux/videodev2.h"
 3497struct v4l2_frmsize_stepwise {
 3498   __u32 min_width ;
 3499   __u32 max_width ;
 3500   __u32 step_width ;
 3501   __u32 min_height ;
 3502   __u32 max_height ;
 3503   __u32 step_height ;
 3504};
 3505#line 470 "include/linux/videodev2.h"
 3506union __anonunion____missing_field_name_249 {
 3507   struct v4l2_frmsize_discrete discrete ;
 3508   struct v4l2_frmsize_stepwise stepwise ;
 3509};
 3510#line 470 "include/linux/videodev2.h"
 3511struct v4l2_frmsizeenum {
 3512   __u32 index ;
 3513   __u32 pixel_format ;
 3514   __u32 type ;
 3515   union __anonunion____missing_field_name_249 __annonCompField47 ;
 3516   __u32 reserved[2] ;
 3517};
 3518#line 492 "include/linux/videodev2.h"
 3519struct v4l2_frmival_stepwise {
 3520   struct v4l2_fract min ;
 3521   struct v4l2_fract max ;
 3522   struct v4l2_fract step ;
 3523};
 3524#line 498 "include/linux/videodev2.h"
 3525union __anonunion____missing_field_name_250 {
 3526   struct v4l2_fract discrete ;
 3527   struct v4l2_frmival_stepwise stepwise ;
 3528};
 3529#line 498 "include/linux/videodev2.h"
 3530struct v4l2_frmivalenum {
 3531   __u32 index ;
 3532   __u32 pixel_format ;
 3533   __u32 width ;
 3534   __u32 height ;
 3535   __u32 type ;
 3536   union __anonunion____missing_field_name_250 __annonCompField48 ;
 3537   __u32 reserved[2] ;
 3538};
 3539#line 517 "include/linux/videodev2.h"
 3540struct v4l2_timecode {
 3541   __u32 type ;
 3542   __u32 flags ;
 3543   __u8 frames ;
 3544   __u8 seconds ;
 3545   __u8 minutes ;
 3546   __u8 hours ;
 3547   __u8 userbits[4] ;
 3548};
 3549#line 542 "include/linux/videodev2.h"
 3550struct v4l2_jpegcompression {
 3551   int quality ;
 3552   int APPn ;
 3553   int APP_len ;
 3554   char APP_data[60] ;
 3555   int COM_len ;
 3556   char COM_data[60] ;
 3557   __u32 jpeg_markers ;
 3558};
 3559#line 574 "include/linux/videodev2.h"
 3560struct v4l2_requestbuffers {
 3561   __u32 count ;
 3562   enum v4l2_buf_type type ;
 3563   enum v4l2_memory memory ;
 3564   __u32 reserved[2] ;
 3565};
 3566#line 599 "include/linux/videodev2.h"
 3567union __anonunion_m_251 {
 3568   __u32 mem_offset ;
 3569   unsigned long userptr ;
 3570};
 3571#line 599 "include/linux/videodev2.h"
 3572struct v4l2_plane {
 3573   __u32 bytesused ;
 3574   __u32 length ;
 3575   union __anonunion_m_251 m ;
 3576   __u32 data_offset ;
 3577   __u32 reserved[11] ;
 3578};
 3579#line 637 "include/linux/videodev2.h"
 3580union __anonunion_m_252 {
 3581   __u32 offset ;
 3582   unsigned long userptr ;
 3583   struct v4l2_plane *planes ;
 3584};
 3585#line 637 "include/linux/videodev2.h"
 3586struct v4l2_buffer {
 3587   __u32 index ;
 3588   enum v4l2_buf_type type ;
 3589   __u32 bytesused ;
 3590   __u32 flags ;
 3591   enum v4l2_field field ;
 3592   struct timeval timestamp ;
 3593   struct v4l2_timecode timecode ;
 3594   __u32 sequence ;
 3595   enum v4l2_memory memory ;
 3596   union __anonunion_m_252 m ;
 3597   __u32 length ;
 3598   __u32 input ;
 3599   __u32 reserved ;
 3600};
 3601#line 678 "include/linux/videodev2.h"
 3602struct v4l2_framebuffer {
 3603   __u32 capability ;
 3604   __u32 flags ;
 3605   void *base ;
 3606   struct v4l2_pix_format fmt ;
 3607};
 3608#line 704 "include/linux/videodev2.h"
 3609struct v4l2_clip {
 3610   struct v4l2_rect c ;
 3611   struct v4l2_clip *next ;
 3612};
 3613#line 709 "include/linux/videodev2.h"
 3614struct v4l2_window {
 3615   struct v4l2_rect w ;
 3616   enum v4l2_field field ;
 3617   __u32 chromakey ;
 3618   struct v4l2_clip *clips ;
 3619   __u32 clipcount ;
 3620   void *bitmap ;
 3621   __u8 global_alpha ;
 3622};
 3623#line 722 "include/linux/videodev2.h"
 3624struct v4l2_captureparm {
 3625   __u32 capability ;
 3626   __u32 capturemode ;
 3627   struct v4l2_fract timeperframe ;
 3628   __u32 extendedmode ;
 3629   __u32 readbuffers ;
 3630   __u32 reserved[4] ;
 3631};
 3632#line 735 "include/linux/videodev2.h"
 3633struct v4l2_outputparm {
 3634   __u32 capability ;
 3635   __u32 outputmode ;
 3636   struct v4l2_fract timeperframe ;
 3637   __u32 extendedmode ;
 3638   __u32 writebuffers ;
 3639   __u32 reserved[4] ;
 3640};
 3641#line 747 "include/linux/videodev2.h"
 3642struct v4l2_cropcap {
 3643   enum v4l2_buf_type type ;
 3644   struct v4l2_rect bounds ;
 3645   struct v4l2_rect defrect ;
 3646   struct v4l2_fract pixelaspect ;
 3647};
 3648#line 754 "include/linux/videodev2.h"
 3649struct v4l2_crop {
 3650   enum v4l2_buf_type type ;
 3651   struct v4l2_rect c ;
 3652};
 3653#line 792 "include/linux/videodev2.h"
 3654struct v4l2_selection {
 3655   __u32 type ;
 3656   __u32 target ;
 3657   __u32 flags ;
 3658   struct v4l2_rect r ;
 3659   __u32 reserved[9] ;
 3660};
 3661#line 805 "include/linux/videodev2.h"
 3662typedef __u64 v4l2_std_id;
 3663#line 945 "include/linux/videodev2.h"
 3664struct v4l2_dv_preset {
 3665   __u32 preset ;
 3666   __u32 reserved[4] ;
 3667};
 3668#line 953 "include/linux/videodev2.h"
 3669struct v4l2_dv_enum_preset {
 3670   __u32 index ;
 3671   __u32 preset ;
 3672   __u8 name[32] ;
 3673   __u32 width ;
 3674   __u32 height ;
 3675   __u32 reserved[4] ;
 3676};
 3677#line 990 "include/linux/videodev2.h"
 3678struct v4l2_bt_timings {
 3679   __u32 width ;
 3680   __u32 height ;
 3681   __u32 interlaced ;
 3682   __u32 polarities ;
 3683   __u64 pixelclock ;
 3684   __u32 hfrontporch ;
 3685   __u32 hsync ;
 3686   __u32 hbackporch ;
 3687   __u32 vfrontporch ;
 3688   __u32 vsync ;
 3689   __u32 vbackporch ;
 3690   __u32 il_vfrontporch ;
 3691   __u32 il_vsync ;
 3692   __u32 il_vbackporch ;
 3693   __u32 reserved[16] ;
 3694} __attribute__((__packed__)) ;
 3695#line 1024 "include/linux/videodev2.h"
 3696union __anonunion____missing_field_name_253 {
 3697   struct v4l2_bt_timings bt ;
 3698   __u32 reserved[32] ;
 3699};
 3700#line 1024 "include/linux/videodev2.h"
 3701struct v4l2_dv_timings {
 3702   __u32 type ;
 3703   union __anonunion____missing_field_name_253 __annonCompField49 ;
 3704} __attribute__((__packed__)) ;
 3705#line 1038 "include/linux/videodev2.h"
 3706struct v4l2_input {
 3707   __u32 index ;
 3708   __u8 name[32] ;
 3709   __u32 type ;
 3710   __u32 audioset ;
 3711   __u32 tuner ;
 3712   v4l2_std_id std ;
 3713   __u32 status ;
 3714   __u32 capabilities ;
 3715   __u32 reserved[3] ;
 3716};
 3717#line 1086 "include/linux/videodev2.h"
 3718struct v4l2_output {
 3719   __u32 index ;
 3720   __u8 name[32] ;
 3721   __u32 type ;
 3722   __u32 audioset ;
 3723   __u32 modulator ;
 3724   v4l2_std_id std ;
 3725   __u32 capabilities ;
 3726   __u32 reserved[3] ;
 3727};
 3728#line 1109 "include/linux/videodev2.h"
 3729struct v4l2_control {
 3730   __u32 id ;
 3731   __s32 value ;
 3732};
 3733#line 1114 "include/linux/videodev2.h"
 3734union __anonunion____missing_field_name_254 {
 3735   __s32 value ;
 3736   __s64 value64 ;
 3737   char *string ;
 3738};
 3739#line 1114 "include/linux/videodev2.h"
 3740struct v4l2_ext_control {
 3741   __u32 id ;
 3742   __u32 size ;
 3743   __u32 reserved2[1] ;
 3744   union __anonunion____missing_field_name_254 __annonCompField50 ;
 3745} __attribute__((__packed__)) ;
 3746#line 1125 "include/linux/videodev2.h"
 3747struct v4l2_ext_controls {
 3748   __u32 ctrl_class ;
 3749   __u32 count ;
 3750   __u32 error_idx ;
 3751   __u32 reserved[2] ;
 3752   struct v4l2_ext_control *controls ;
 3753};
 3754#line 1145
 3755enum v4l2_ctrl_type {
 3756    V4L2_CTRL_TYPE_INTEGER = 1,
 3757    V4L2_CTRL_TYPE_BOOLEAN = 2,
 3758    V4L2_CTRL_TYPE_MENU = 3,
 3759    V4L2_CTRL_TYPE_BUTTON = 4,
 3760    V4L2_CTRL_TYPE_INTEGER64 = 5,
 3761    V4L2_CTRL_TYPE_CTRL_CLASS = 6,
 3762    V4L2_CTRL_TYPE_STRING = 7,
 3763    V4L2_CTRL_TYPE_BITMASK = 8
 3764} ;
 3765#line 1157 "include/linux/videodev2.h"
 3766struct v4l2_queryctrl {
 3767   __u32 id ;
 3768   enum v4l2_ctrl_type type ;
 3769   __u8 name[32] ;
 3770   __s32 minimum ;
 3771   __s32 maximum ;
 3772   __s32 step ;
 3773   __s32 default_value ;
 3774   __u32 flags ;
 3775   __u32 reserved[2] ;
 3776};
 3777#line 1170 "include/linux/videodev2.h"
 3778struct v4l2_querymenu {
 3779   __u32 id ;
 3780   __u32 index ;
 3781   __u8 name[32] ;
 3782   __u32 reserved ;
 3783};
 3784#line 1788 "include/linux/videodev2.h"
 3785struct v4l2_tuner {
 3786   __u32 index ;
 3787   __u8 name[32] ;
 3788   enum v4l2_tuner_type type ;
 3789   __u32 capability ;
 3790   __u32 rangelow ;
 3791   __u32 rangehigh ;
 3792   __u32 rxsubchans ;
 3793   __u32 audmode ;
 3794   __s32 signal ;
 3795   __s32 afc ;
 3796   __u32 reserved[4] ;
 3797};
 3798#line 1802 "include/linux/videodev2.h"
 3799struct v4l2_modulator {
 3800   __u32 index ;
 3801   __u8 name[32] ;
 3802   __u32 capability ;
 3803   __u32 rangelow ;
 3804   __u32 rangehigh ;
 3805   __u32 txsubchans ;
 3806   __u32 reserved[4] ;
 3807};
 3808#line 1839 "include/linux/videodev2.h"
 3809struct v4l2_frequency {
 3810   __u32 tuner ;
 3811   enum v4l2_tuner_type type ;
 3812   __u32 frequency ;
 3813   __u32 reserved[8] ;
 3814};
 3815#line 1846 "include/linux/videodev2.h"
 3816struct v4l2_hw_freq_seek {
 3817   __u32 tuner ;
 3818   enum v4l2_tuner_type type ;
 3819   __u32 seek_upward ;
 3820   __u32 wrap_around ;
 3821   __u32 spacing ;
 3822   __u32 reserved[7] ;
 3823};
 3824#line 1879 "include/linux/videodev2.h"
 3825struct v4l2_audio {
 3826   __u32 index ;
 3827   __u8 name[32] ;
 3828   __u32 capability ;
 3829   __u32 mode ;
 3830   __u32 reserved[2] ;
 3831};
 3832#line 1894 "include/linux/videodev2.h"
 3833struct v4l2_audioout {
 3834   __u32 index ;
 3835   __u8 name[32] ;
 3836   __u32 capability ;
 3837   __u32 mode ;
 3838   __u32 reserved[2] ;
 3839};
 3840#line 1913 "include/linux/videodev2.h"
 3841struct v4l2_enc_idx_entry {
 3842   __u64 offset ;
 3843   __u64 pts ;
 3844   __u32 length ;
 3845   __u32 flags ;
 3846   __u32 reserved[2] ;
 3847};
 3848#line 1922 "include/linux/videodev2.h"
 3849struct v4l2_enc_idx {
 3850   __u32 entries ;
 3851   __u32 entries_cap ;
 3852   __u32 reserved[4] ;
 3853   struct v4l2_enc_idx_entry entry[64] ;
 3854};
 3855#line 1938 "include/linux/videodev2.h"
 3856struct __anonstruct_raw_256 {
 3857   __u32 data[8] ;
 3858};
 3859#line 1938 "include/linux/videodev2.h"
 3860union __anonunion____missing_field_name_255 {
 3861   struct __anonstruct_raw_256 raw ;
 3862};
 3863#line 1938 "include/linux/videodev2.h"
 3864struct v4l2_encoder_cmd {
 3865   __u32 cmd ;
 3866   __u32 flags ;
 3867   union __anonunion____missing_field_name_255 __annonCompField51 ;
 3868};
 3869#line 1973 "include/linux/videodev2.h"
 3870struct __anonstruct_stop_258 {
 3871   __u64 pts ;
 3872};
 3873#line 1973 "include/linux/videodev2.h"
 3874struct __anonstruct_start_259 {
 3875   __s32 speed ;
 3876   __u32 format ;
 3877};
 3878#line 1973 "include/linux/videodev2.h"
 3879struct __anonstruct_raw_260 {
 3880   __u32 data[16] ;
 3881};
 3882#line 1973 "include/linux/videodev2.h"
 3883union __anonunion____missing_field_name_257 {
 3884   struct __anonstruct_stop_258 stop ;
 3885   struct __anonstruct_start_259 start ;
 3886   struct __anonstruct_raw_260 raw ;
 3887};
 3888#line 1973 "include/linux/videodev2.h"
 3889struct v4l2_decoder_cmd {
 3890   __u32 cmd ;
 3891   __u32 flags ;
 3892   union __anonunion____missing_field_name_257 __annonCompField52 ;
 3893};
 3894#line 2006 "include/linux/videodev2.h"
 3895struct v4l2_vbi_format {
 3896   __u32 sampling_rate ;
 3897   __u32 offset ;
 3898   __u32 samples_per_line ;
 3899   __u32 sample_format ;
 3900   __s32 start[2] ;
 3901   __u32 count[2] ;
 3902   __u32 flags ;
 3903   __u32 reserved[2] ;
 3904};
 3905#line 2028 "include/linux/videodev2.h"
 3906struct v4l2_sliced_vbi_format {
 3907   __u16 service_set ;
 3908   __u16 service_lines[2][24] ;
 3909   __u32 io_size ;
 3910   __u32 reserved[2] ;
 3911};
 3912#line 2052 "include/linux/videodev2.h"
 3913struct v4l2_sliced_vbi_cap {
 3914   __u16 service_set ;
 3915   __u16 service_lines[2][24] ;
 3916   enum v4l2_buf_type type ;
 3917   __u32 reserved[3] ;
 3918};
 3919#line 2063 "include/linux/videodev2.h"
 3920struct v4l2_sliced_vbi_data {
 3921   __u32 id ;
 3922   __u32 field ;
 3923   __u32 line ;
 3924   __u32 reserved ;
 3925   __u8 data[48] ;
 3926};
 3927#line 2129 "include/linux/videodev2.h"
 3928struct v4l2_plane_pix_format {
 3929   __u32 sizeimage ;
 3930   __u16 bytesperline ;
 3931   __u16 reserved[7] ;
 3932} __attribute__((__packed__)) ;
 3933#line 2145 "include/linux/videodev2.h"
 3934struct v4l2_pix_format_mplane {
 3935   __u32 width ;
 3936   __u32 height ;
 3937   __u32 pixelformat ;
 3938   enum v4l2_field field ;
 3939   enum v4l2_colorspace colorspace ;
 3940   struct v4l2_plane_pix_format plane_fmt[8] ;
 3941   __u8 num_planes ;
 3942   __u8 reserved[11] ;
 3943} __attribute__((__packed__)) ;
 3944#line 2167 "include/linux/videodev2.h"
 3945union __anonunion_fmt_262 {
 3946   struct v4l2_pix_format pix ;
 3947   struct v4l2_pix_format_mplane pix_mp ;
 3948   struct v4l2_window win ;
 3949   struct v4l2_vbi_format vbi ;
 3950   struct v4l2_sliced_vbi_format sliced ;
 3951   __u8 raw_data[200] ;
 3952};
 3953#line 2167 "include/linux/videodev2.h"
 3954struct v4l2_format {
 3955   enum v4l2_buf_type type ;
 3956   union __anonunion_fmt_262 fmt ;
 3957};
 3958#line 2181 "include/linux/videodev2.h"
 3959union __anonunion_parm_263 {
 3960   struct v4l2_captureparm capture ;
 3961   struct v4l2_outputparm output ;
 3962   __u8 raw_data[200] ;
 3963};
 3964#line 2181 "include/linux/videodev2.h"
 3965struct v4l2_streamparm {
 3966   enum v4l2_buf_type type ;
 3967   union __anonunion_parm_263 parm ;
 3968};
 3969#line 2247 "include/linux/videodev2.h"
 3970struct v4l2_event_subscription {
 3971   __u32 type ;
 3972   __u32 id ;
 3973   __u32 flags ;
 3974   __u32 reserved[5] ;
 3975};
 3976#line 2268 "include/linux/videodev2.h"
 3977union __anonunion____missing_field_name_266 {
 3978   __u32 addr ;
 3979   char name[32] ;
 3980};
 3981#line 2268 "include/linux/videodev2.h"
 3982struct v4l2_dbg_match {
 3983   __u32 type ;
 3984   union __anonunion____missing_field_name_266 __annonCompField55 ;
 3985} __attribute__((__packed__)) ;
 3986#line 2276 "include/linux/videodev2.h"
 3987struct v4l2_dbg_register {
 3988   struct v4l2_dbg_match match ;
 3989   __u32 size ;
 3990   __u64 reg ;
 3991   __u64 val ;
 3992} __attribute__((__packed__)) ;
 3993#line 2284 "include/linux/videodev2.h"
 3994struct v4l2_dbg_chip_ident {
 3995   struct v4l2_dbg_match match ;
 3996   __u32 ident ;
 3997   __u32 revision ;
 3998} __attribute__((__packed__)) ;
 3999#line 2299 "include/linux/videodev2.h"
 4000struct v4l2_create_buffers {
 4001   __u32 index ;
 4002   __u32 count ;
 4003   enum v4l2_memory memory ;
 4004   struct v4l2_format format ;
 4005   __u32 reserved[8] ;
 4006};
 4007#line 21 "include/media/videobuf2-core.h"
 4008struct vb2_fileio_data;
 4009#line 21
 4010struct vb2_fileio_data;
 4011#line 60 "include/media/videobuf2-core.h"
 4012struct vb2_mem_ops {
 4013   void *(*alloc)(void *alloc_ctx , unsigned long size ) ;
 4014   void (*put)(void *buf_priv ) ;
 4015   void *(*get_userptr)(void *alloc_ctx , unsigned long vaddr , unsigned long size ,
 4016                        int write ) ;
 4017   void (*put_userptr)(void *buf_priv ) ;
 4018   void *(*vaddr)(void *buf_priv ) ;
 4019   void *(*cookie)(void *buf_priv ) ;
 4020   unsigned int (*num_users)(void *buf_priv ) ;
 4021   int (*mmap)(void *buf_priv , struct vm_area_struct *vma ) ;
 4022};
 4023#line 76 "include/media/videobuf2-core.h"
 4024struct vb2_plane {
 4025   void *mem_priv ;
 4026};
 4027#line 118
 4028enum vb2_buffer_state {
 4029    VB2_BUF_STATE_DEQUEUED = 0,
 4030    VB2_BUF_STATE_PREPARED = 1,
 4031    VB2_BUF_STATE_QUEUED = 2,
 4032    VB2_BUF_STATE_ACTIVE = 3,
 4033    VB2_BUF_STATE_DONE = 4,
 4034    VB2_BUF_STATE_ERROR = 5
 4035} ;
 4036#line 127
 4037struct vb2_queue;
 4038#line 127
 4039struct vb2_queue;
 4040#line 152 "include/media/videobuf2-core.h"
 4041struct vb2_buffer {
 4042   struct v4l2_buffer v4l2_buf ;
 4043   struct v4l2_plane v4l2_planes[8] ;
 4044   struct vb2_queue *vb2_queue ;
 4045   unsigned int num_planes ;
 4046   enum vb2_buffer_state state ;
 4047   struct list_head queued_entry ;
 4048   struct list_head done_entry ;
 4049   struct vb2_plane planes[8] ;
 4050};
 4051#line 228 "include/media/videobuf2-core.h"
 4052struct vb2_ops {
 4053   int (*queue_setup)(struct vb2_queue *q , struct v4l2_format    *fmt , unsigned int *num_buffers ,
 4054                      unsigned int *num_planes , unsigned int *sizes , void **alloc_ctxs ) ;
 4055   void (*wait_prepare)(struct vb2_queue *q ) ;
 4056   void (*wait_finish)(struct vb2_queue *q ) ;
 4057   int (*buf_init)(struct vb2_buffer *vb ) ;
 4058   int (*buf_prepare)(struct vb2_buffer *vb ) ;
 4059   int (*buf_finish)(struct vb2_buffer *vb ) ;
 4060   void (*buf_cleanup)(struct vb2_buffer *vb ) ;
 4061   int (*start_streaming)(struct vb2_queue *q , unsigned int count ) ;
 4062   int (*stop_streaming)(struct vb2_queue *q ) ;
 4063   void (*buf_queue)(struct vb2_buffer *vb ) ;
 4064};
 4065#line 272 "include/media/videobuf2-core.h"
 4066struct vb2_queue {
 4067   enum v4l2_buf_type type ;
 4068   unsigned int io_modes ;
 4069   unsigned int io_flags ;
 4070   struct vb2_ops    *ops ;
 4071   struct vb2_mem_ops    *mem_ops ;
 4072   void *drv_priv ;
 4073   unsigned int buf_struct_size ;
 4074   enum v4l2_memory memory ;
 4075   struct vb2_buffer *bufs[32] ;
 4076   unsigned int num_buffers ;
 4077   struct list_head queued_list ;
 4078   atomic_t queued_count ;
 4079   struct list_head done_list ;
 4080   spinlock_t done_lock ;
 4081   wait_queue_head_t done_wq ;
 4082   void *alloc_ctx[8] ;
 4083   unsigned int plane_sizes[8] ;
 4084   unsigned int streaming : 1 ;
 4085   struct vb2_fileio_data *fileio ;
 4086};
 4087#line 44 "include/media/v4l2-mem2mem.h"
 4088struct v4l2_m2m_ops {
 4089   void (*device_run)(void *priv ) ;
 4090   int (*job_ready)(void *priv ) ;
 4091   void (*job_abort)(void *priv ) ;
 4092   void (*lock)(void *priv ) ;
 4093   void (*unlock)(void *priv ) ;
 4094};
 4095#line 52
 4096struct v4l2_m2m_dev;
 4097#line 52
 4098struct v4l2_m2m_dev;
 4099#line 54 "include/media/v4l2-mem2mem.h"
 4100struct v4l2_m2m_queue_ctx {
 4101   struct vb2_queue q ;
 4102   struct list_head rdy_queue ;
 4103   spinlock_t rdy_spinlock ;
 4104   u8 num_rdy ;
 4105};
 4106#line 65 "include/media/v4l2-mem2mem.h"
 4107struct v4l2_m2m_ctx {
 4108   struct v4l2_m2m_dev *m2m_dev ;
 4109   struct v4l2_m2m_queue_ctx cap_q_ctx ;
 4110   struct v4l2_m2m_queue_ctx out_q_ctx ;
 4111   struct list_head queue ;
 4112   unsigned long job_flags ;
 4113   wait_queue_head_t finished ;
 4114   void *priv ;
 4115};
 4116#line 84 "include/media/v4l2-mem2mem.h"
 4117struct v4l2_m2m_buffer {
 4118   struct vb2_buffer vb ;
 4119   struct list_head list ;
 4120};
 4121#line 8 "include/linux/cdev.h"
 4122struct file_operations;
 4123#line 9
 4124struct inode;
 4125#line 10
 4126struct module;
 4127#line 12 "include/linux/cdev.h"
 4128struct cdev {
 4129   struct kobject kobj ;
 4130   struct module *owner ;
 4131   struct file_operations    *ops ;
 4132   struct list_head list ;
 4133   dev_t dev ;
 4134   unsigned int count ;
 4135};
 4136#line 43 "include/media/media-devnode.h"
 4137struct media_file_operations {
 4138   struct module *owner ;
 4139   ssize_t (*read)(struct file * , char * , size_t  , loff_t * ) ;
 4140   ssize_t (*write)(struct file * , char    * , size_t  , loff_t * ) ;
 4141   unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
 4142   long (*ioctl)(struct file * , unsigned int  , unsigned long  ) ;
 4143   int (*open)(struct file * ) ;
 4144   int (*release)(struct file * ) ;
 4145};
 4146#line 64 "include/media/media-devnode.h"
 4147struct media_devnode {
 4148   struct media_file_operations    *fops ;
 4149   struct device dev ;
 4150   struct cdev cdev ;
 4151   struct device *parent ;
 4152   int minor ;
 4153   unsigned long flags ;
 4154   void (*release)(struct media_devnode *mdev ) ;
 4155};
 4156#line 29 "include/media/media-entity.h"
 4157struct media_pipeline {
 4158
 4159};
 4160#line 32
 4161struct media_pad;
 4162#line 32 "include/media/media-entity.h"
 4163struct media_link {
 4164   struct media_pad *source ;
 4165   struct media_pad *sink ;
 4166   struct media_link *reverse ;
 4167   unsigned long flags ;
 4168};
 4169#line 39
 4170struct media_entity;
 4171#line 39 "include/media/media-entity.h"
 4172struct media_pad {
 4173   struct media_entity *entity ;
 4174   u16 index ;
 4175   unsigned long flags ;
 4176};
 4177#line 45 "include/media/media-entity.h"
 4178struct media_entity_operations {
 4179   int (*link_setup)(struct media_entity *entity , struct media_pad    *local ,
 4180                     struct media_pad    *remote , u32 flags ) ;
 4181};
 4182#line 51
 4183struct media_device;
 4184#line 51 "include/media/media-entity.h"
 4185struct __anonstruct_v4l_272 {
 4186   u32 major ;
 4187   u32 minor ;
 4188};
 4189#line 51 "include/media/media-entity.h"
 4190struct __anonstruct_fb_273 {
 4191   u32 major ;
 4192   u32 minor ;
 4193};
 4194#line 51 "include/media/media-entity.h"
 4195struct __anonstruct_alsa_274 {
 4196   u32 card ;
 4197   u32 device ;
 4198   u32 subdevice ;
 4199};
 4200#line 51 "include/media/media-entity.h"
 4201union __anonunion_info_271 {
 4202   struct __anonstruct_v4l_272 v4l ;
 4203   struct __anonstruct_fb_273 fb ;
 4204   struct __anonstruct_alsa_274 alsa ;
 4205   int dvb ;
 4206};
 4207#line 51 "include/media/media-entity.h"
 4208struct media_entity {
 4209   struct list_head list ;
 4210   struct media_device *parent ;
 4211   u32 id ;
 4212   char    *name ;
 4213   u32 type ;
 4214   u32 revision ;
 4215   unsigned long flags ;
 4216   u32 group_id ;
 4217   u16 num_pads ;
 4218   u16 num_links ;
 4219   u16 num_backlinks ;
 4220   u16 max_links ;
 4221   struct media_pad *pads ;
 4222   struct media_link *links ;
 4223   struct media_entity_operations    *ops ;
 4224   int stream_count ;
 4225   int use_count ;
 4226   struct media_pipeline *pipe ;
 4227   union __anonunion_info_271 info ;
 4228};
 4229#line 33 "include/media/media-device.h"
 4230struct device;
 4231#line 59 "include/media/media-device.h"
 4232struct media_device {
 4233   struct device *dev ;
 4234   struct media_devnode devnode ;
 4235   char model[32] ;
 4236   char serial[40] ;
 4237   char bus_info[32] ;
 4238   u32 hw_revision ;
 4239   u32 driver_version ;
 4240   u32 entity_id ;
 4241   struct list_head entities ;
 4242   spinlock_t lock ;
 4243   struct mutex graph_mutex ;
 4244   int (*link_notify)(struct media_pad *source , struct media_pad *sink , u32 flags ) ;
 4245};
 4246#line 37 "include/linux/v4l2-mediabus.h"
 4247enum v4l2_mbus_pixelcode {
 4248    V4L2_MBUS_FMT_FIXED = 1,
 4249    V4L2_MBUS_FMT_RGB444_2X8_PADHI_BE = 4097,
 4250    V4L2_MBUS_FMT_RGB444_2X8_PADHI_LE = 4098,
 4251    V4L2_MBUS_FMT_RGB555_2X8_PADHI_BE = 4099,
 4252    V4L2_MBUS_FMT_RGB555_2X8_PADHI_LE = 4100,
 4253    V4L2_MBUS_FMT_BGR565_2X8_BE = 4101,
 4254    V4L2_MBUS_FMT_BGR565_2X8_LE = 4102,
 4255    V4L2_MBUS_FMT_RGB565_2X8_BE = 4103,
 4256    V4L2_MBUS_FMT_RGB565_2X8_LE = 4104,
 4257    V4L2_MBUS_FMT_Y8_1X8 = 8193,
 4258    V4L2_MBUS_FMT_UYVY8_1_5X8 = 8194,
 4259    V4L2_MBUS_FMT_VYUY8_1_5X8 = 8195,
 4260    V4L2_MBUS_FMT_YUYV8_1_5X8 = 8196,
 4261    V4L2_MBUS_FMT_YVYU8_1_5X8 = 8197,
 4262    V4L2_MBUS_FMT_UYVY8_2X8 = 8198,
 4263    V4L2_MBUS_FMT_VYUY8_2X8 = 8199,
 4264    V4L2_MBUS_FMT_YUYV8_2X8 = 8200,
 4265    V4L2_MBUS_FMT_YVYU8_2X8 = 8201,
 4266    V4L2_MBUS_FMT_Y10_1X10 = 8202,
 4267    V4L2_MBUS_FMT_YUYV10_2X10 = 8203,
 4268    V4L2_MBUS_FMT_YVYU10_2X10 = 8204,
 4269    V4L2_MBUS_FMT_Y12_1X12 = 8211,
 4270    V4L2_MBUS_FMT_UYVY8_1X16 = 8207,
 4271    V4L2_MBUS_FMT_VYUY8_1X16 = 8208,
 4272    V4L2_MBUS_FMT_YUYV8_1X16 = 8209,
 4273    V4L2_MBUS_FMT_YVYU8_1X16 = 8210,
 4274    V4L2_MBUS_FMT_YUYV10_1X20 = 8205,
 4275    V4L2_MBUS_FMT_YVYU10_1X20 = 8206,
 4276    V4L2_MBUS_FMT_SBGGR8_1X8 = 12289,
 4277    V4L2_MBUS_FMT_SGBRG8_1X8 = 12307,
 4278    V4L2_MBUS_FMT_SGRBG8_1X8 = 12290,
 4279    V4L2_MBUS_FMT_SRGGB8_1X8 = 12308,
 4280    V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8 = 12299,
 4281    V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8 = 12300,
 4282    V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 = 12297,
 4283    V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8 = 12301,
 4284    V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_BE = 12291,
 4285    V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_LE = 12292,
 4286    V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE = 12293,
 4287    V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_LE = 12294,
 4288    V4L2_MBUS_FMT_SBGGR10_1X10 = 12295,
 4289    V4L2_MBUS_FMT_SGBRG10_1X10 = 12302,
 4290    V4L2_MBUS_FMT_SGRBG10_1X10 = 12298,
 4291    V4L2_MBUS_FMT_SRGGB10_1X10 = 12303,
 4292    V4L2_MBUS_FMT_SBGGR12_1X12 = 12296,
 4293    V4L2_MBUS_FMT_SGBRG12_1X12 = 12304,
 4294    V4L2_MBUS_FMT_SGRBG12_1X12 = 12305,
 4295    V4L2_MBUS_FMT_SRGGB12_1X12 = 12306,
 4296    V4L2_MBUS_FMT_JPEG_1X8 = 16385
 4297} ;
 4298#line 105 "include/linux/v4l2-mediabus.h"
 4299struct v4l2_mbus_framefmt {
 4300   __u32 width ;
 4301   __u32 height ;
 4302   __u32 code ;
 4303   __u32 field ;
 4304   __u32 colorspace ;
 4305   __u32 reserved[7] ;
 4306};
 4307#line 46 "include/linux/v4l2-subdev.h"
 4308struct v4l2_subdev_format {
 4309   __u32 which ;
 4310   __u32 pad ;
 4311   struct v4l2_mbus_framefmt format ;
 4312   __u32 reserved[8] ;
 4313};
 4314#line 59 "include/linux/v4l2-subdev.h"
 4315struct v4l2_subdev_crop {
 4316   __u32 which ;
 4317   __u32 pad ;
 4318   struct v4l2_rect rect ;
 4319   __u32 reserved[8] ;
 4320};
 4321#line 72 "include/linux/v4l2-subdev.h"
 4322struct v4l2_subdev_mbus_code_enum {
 4323   __u32 pad ;
 4324   __u32 index ;
 4325   __u32 code ;
 4326   __u32 reserved[9] ;
 4327};
 4328#line 85 "include/linux/v4l2-subdev.h"
 4329struct v4l2_subdev_frame_size_enum {
 4330   __u32 index ;
 4331   __u32 pad ;
 4332   __u32 code ;
 4333   __u32 min_width ;
 4334   __u32 max_width ;
 4335   __u32 min_height ;
 4336   __u32 max_height ;
 4337   __u32 reserved[9] ;
 4338};
 4339#line 101 "include/linux/v4l2-subdev.h"
 4340struct v4l2_subdev_frame_interval {
 4341   __u32 pad ;
 4342   struct v4l2_fract interval ;
 4343   __u32 reserved[9] ;
 4344};
 4345#line 116 "include/linux/v4l2-subdev.h"
 4346struct v4l2_subdev_frame_interval_enum {
 4347   __u32 index ;
 4348   __u32 pad ;
 4349   __u32 code ;
 4350   __u32 width ;
 4351   __u32 height ;
 4352   struct v4l2_fract interval ;
 4353   __u32 reserved[9] ;
 4354};
 4355#line 30 "include/media/v4l2-dev.h"
 4356struct video_device;
 4357#line 30
 4358struct video_device;
 4359#line 31
 4360struct v4l2_device;
 4361#line 31
 4362struct v4l2_device;
 4363#line 32
 4364struct v4l2_ctrl_handler;
 4365#line 32
 4366struct v4l2_ctrl_handler;
 4367#line 45 "include/media/v4l2-dev.h"
 4368struct v4l2_prio_state {
 4369   atomic_t prios[4] ;
 4370};
 4371#line 58 "include/media/v4l2-dev.h"
 4372struct v4l2_file_operations {
 4373   struct module *owner ;
 4374   ssize_t (*read)(struct file * , char * , size_t  , loff_t * ) ;
 4375   ssize_t (*write)(struct file * , char    * , size_t  , loff_t * ) ;
 4376   unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
 4377   long (*ioctl)(struct file * , unsigned int  , unsigned long  ) ;
 4378   long (*unlocked_ioctl)(struct file * , unsigned int  , unsigned long  ) ;
 4379   long (*compat_ioctl32)(struct file * , unsigned int  , unsigned long  ) ;
 4380   unsigned long (*get_unmapped_area)(struct file * , unsigned long  , unsigned long  ,
 4381                                      unsigned long  , unsigned long  ) ;
 4382   int (*mmap)(struct file * , struct vm_area_struct * ) ;
 4383   int (*open)(struct file * ) ;
 4384   int (*release)(struct file * ) ;
 4385};
 4386#line 81
 4387struct v4l2_ioctl_ops;
 4388#line 81 "include/media/v4l2-dev.h"
 4389struct video_device {
 4390   struct media_entity entity ;
 4391   struct v4l2_file_operations    *fops ;
 4392   struct device dev ;
 4393   struct cdev *cdev ;
 4394   struct device *parent ;
 4395   struct v4l2_device *v4l2_dev ;
 4396   struct v4l2_ctrl_handler *ctrl_handler ;
 4397   struct v4l2_prio_state *prio ;
 4398   char name[32] ;
 4399   int vfl_type ;
 4400   int minor ;
 4401   u16 num ;
 4402   unsigned long flags ;
 4403   int index ;
 4404   spinlock_t fh_lock ;
 4405   struct list_head fh_list ;
 4406   int debug ;
 4407   v4l2_std_id tvnorms ;
 4408   v4l2_std_id current_norm ;
 4409   void (*release)(struct video_device *vdev ) ;
 4410   struct v4l2_ioctl_ops    *ioctl_ops ;
 4411   struct mutex *lock ;
 4412};
 4413#line 119 "include/media/v4l2-common.h"
 4414struct v4l2_device;
 4415#line 120
 4416struct v4l2_subdev;
 4417#line 120
 4418struct v4l2_subdev;
 4419#line 121
 4420struct v4l2_subdev_ops;
 4421#line 121
 4422struct v4l2_subdev_ops;
 4423#line 182 "include/media/v4l2-common.h"
 4424struct v4l2_priv_tun_config {
 4425   int tuner ;
 4426   void *priv ;
 4427};
 4428#line 31 "include/media/v4l2-fh.h"
 4429struct video_device;
 4430#line 32
 4431struct v4l2_ctrl_handler;
 4432#line 34 "include/media/v4l2-fh.h"
 4433struct v4l2_fh {
 4434   struct list_head list ;
 4435   struct video_device *vdev ;
 4436   struct v4l2_ctrl_handler *ctrl_handler ;
 4437   enum v4l2_priority prio ;
 4438   wait_queue_head_t wait ;
 4439   struct list_head subscribed ;
 4440   struct list_head available ;
 4441   unsigned int navailable ;
 4442   u32 sequence ;
 4443};
 4444#line 71 "include/media/v4l2-mediabus.h"
 4445enum v4l2_mbus_type {
 4446    V4L2_MBUS_PARALLEL = 0,
 4447    V4L2_MBUS_BT656 = 1,
 4448    V4L2_MBUS_CSI2 = 2
 4449} ;
 4450#line 82 "include/media/v4l2-mediabus.h"
 4451struct v4l2_mbus_config {
 4452   enum v4l2_mbus_type type ;
 4453   unsigned int flags ;
 4454};
 4455#line 41 "include/media/v4l2-subdev.h"
 4456struct v4l2_device;
 4457#line 42
 4458struct v4l2_ctrl_handler;
 4459#line 43
 4460struct v4l2_event_subscription;
 4461#line 44
 4462struct v4l2_fh;
 4463#line 45
 4464struct v4l2_subdev;
 4465#line 46
 4466struct v4l2_subdev_fh;
 4467#line 46
 4468struct v4l2_subdev_fh;
 4469#line 47
 4470struct tuner_setup;
 4471#line 47
 4472struct tuner_setup;
 4473#line 50 "include/media/v4l2-subdev.h"
 4474struct v4l2_decode_vbi_line {
 4475   u32 is_second_field ;
 4476   u8 *p ;
 4477   u32 line ;
 4478   u32 type ;
 4479};
 4480#line 108 "include/media/v4l2-subdev.h"
 4481struct v4l2_subdev_io_pin_config {
 4482   u32 flags ;
 4483   u8 pin ;
 4484   u8 function ;
 4485   u8 value ;
 4486   u8 strength ;
 4487};
 4488#line 145 "include/media/v4l2-subdev.h"
 4489struct v4l2_subdev_core_ops {
 4490   int (*g_chip_ident)(struct v4l2_subdev *sd , struct v4l2_dbg_chip_ident *chip ) ;
 4491   int (*log_status)(struct v4l2_subdev *sd ) ;
 4492   int (*s_io_pin_config)(struct v4l2_subdev *sd , size_t n , struct v4l2_subdev_io_pin_config *pincfg ) ;
 4493   int (*init)(struct v4l2_subdev *sd , u32 val ) ;
 4494   int (*load_fw)(struct v4l2_subdev *sd ) ;
 4495   int (*reset)(struct v4l2_subdev *sd , u32 val ) ;
 4496   int (*s_gpio)(struct v4l2_subdev *sd , u32 val ) ;
 4497   int (*queryctrl)(struct v4l2_subdev *sd , struct v4l2_queryctrl *qc ) ;
 4498   int (*g_ctrl)(struct v4l2_subdev *sd , struct v4l2_control *ctrl ) ;
 4499   int (*s_ctrl)(struct v4l2_subdev *sd , struct v4l2_control *ctrl ) ;
 4500   int (*g_ext_ctrls)(struct v4l2_subdev *sd , struct v4l2_ext_controls *ctrls ) ;
 4501   int (*s_ext_ctrls)(struct v4l2_subdev *sd , struct v4l2_ext_controls *ctrls ) ;
 4502   int (*try_ext_ctrls)(struct v4l2_subdev *sd , struct v4l2_ext_controls *ctrls ) ;
 4503   int (*querymenu)(struct v4l2_subdev *sd , struct v4l2_querymenu *qm ) ;
 4504   int (*g_std)(struct v4l2_subdev *sd , v4l2_std_id *norm ) ;
 4505   int (*s_std)(struct v4l2_subdev *sd , v4l2_std_id norm ) ;
 4506   long (*ioctl)(struct v4l2_subdev *sd , unsigned int cmd , void *arg ) ;
 4507   int (*g_register)(struct v4l2_subdev *sd , struct v4l2_dbg_register *reg ) ;
 4508   int (*s_register)(struct v4l2_subdev *sd , struct v4l2_dbg_register *reg ) ;
 4509   int (*s_power)(struct v4l2_subdev *sd , int on ) ;
 4510   int (*interrupt_service_routine)(struct v4l2_subdev *sd , u32 status , bool *handled ) ;
 4511   int (*subscribe_event)(struct v4l2_subdev *sd , struct v4l2_fh *fh , struct v4l2_event_subscription *sub ) ;
 4512   int (*unsubscribe_event)(struct v4l2_subdev *sd , struct v4l2_fh *fh , struct v4l2_event_subscription *sub ) ;
 4513};
 4514#line 190 "include/media/v4l2-subdev.h"
 4515struct v4l2_subdev_tuner_ops {
 4516   int (*s_radio)(struct v4l2_subdev *sd ) ;
 4517   int (*s_frequency)(struct v4l2_subdev *sd , struct v4l2_frequency *freq ) ;
 4518   int (*g_frequency)(struct v4l2_subdev *sd , struct v4l2_frequency *freq ) ;
 4519   int (*g_tuner)(struct v4l2_subdev *sd , struct v4l2_tuner *vt ) ;
 4520   int (*s_tuner)(struct v4l2_subdev *sd , struct v4l2_tuner *vt ) ;
 4521   int (*g_modulator)(struct v4l2_subdev *sd , struct v4l2_modulator *vm ) ;
 4522   int (*s_modulator)(struct v4l2_subdev *sd , struct v4l2_modulator *vm ) ;
 4523   int (*s_type_addr)(struct v4l2_subdev *sd , struct tuner_setup *type ) ;
 4524   int (*s_config)(struct v4l2_subdev *sd , struct v4l2_priv_tun_config    *config ) ;
 4525};
 4526#line 222 "include/media/v4l2-subdev.h"
 4527struct v4l2_subdev_audio_ops {
 4528   int (*s_clock_freq)(struct v4l2_subdev *sd , u32 freq ) ;
 4529   int (*s_i2s_clock_freq)(struct v4l2_subdev *sd , u32 freq ) ;
 4530   int (*s_routing)(struct v4l2_subdev *sd , u32 input , u32 output , u32 config ) ;
 4531   int (*s_stream)(struct v4l2_subdev *sd , int enable ) ;
 4532};
 4533#line 278 "include/media/v4l2-subdev.h"
 4534struct v4l2_subdev_video_ops {
 4535   int (*s_routing)(struct v4l2_subdev *sd , u32 input , u32 output , u32 config ) ;
 4536   int (*s_crystal_freq)(struct v4l2_subdev *sd , u32 freq , u32 flags ) ;
 4537   int (*s_std_output)(struct v4l2_subdev *sd , v4l2_std_id std ) ;
 4538   int (*g_std_output)(struct v4l2_subdev *sd , v4l2_std_id *std ) ;
 4539   int (*querystd)(struct v4l2_subdev *sd , v4l2_std_id *std ) ;
 4540   int (*g_tvnorms_output)(struct v4l2_subdev *sd , v4l2_std_id *std ) ;
 4541   int (*g_input_status)(struct v4l2_subdev *sd , u32 *status ) ;
 4542   int (*s_stream)(struct v4l2_subdev *sd , int enable ) ;
 4543   int (*cropcap)(struct v4l2_subdev *sd , struct v4l2_cropcap *cc ) ;
 4544   int (*g_crop)(struct v4l2_subdev *sd , struct v4l2_crop *crop ) ;
 4545   int (*s_crop)(struct v4l2_subdev *sd , struct v4l2_crop *crop ) ;
 4546   int (*g_parm)(struct v4l2_subdev *sd , struct v4l2_streamparm *param ) ;
 4547   int (*s_parm)(struct v4l2_subdev *sd , struct v4l2_streamparm *param ) ;
 4548   int (*g_frame_interval)(struct v4l2_subdev *sd , struct v4l2_subdev_frame_interval *interval ) ;
 4549   int (*s_frame_interval)(struct v4l2_subdev *sd , struct v4l2_subdev_frame_interval *interval ) ;
 4550   int (*enum_framesizes)(struct v4l2_subdev *sd , struct v4l2_frmsizeenum *fsize ) ;
 4551   int (*enum_frameintervals)(struct v4l2_subdev *sd , struct v4l2_frmivalenum *fival ) ;
 4552   int (*enum_dv_presets)(struct v4l2_subdev *sd , struct v4l2_dv_enum_preset *preset ) ;
 4553   int (*s_dv_preset)(struct v4l2_subdev *sd , struct v4l2_dv_preset *preset ) ;
 4554   int (*g_dv_preset)(struct v4l2_subdev *sd , struct v4l2_dv_preset *preset ) ;
 4555   int (*query_dv_preset)(struct v4l2_subdev *sd , struct v4l2_dv_preset *preset ) ;
 4556   int (*s_dv_timings)(struct v4l2_subdev *sd , struct v4l2_dv_timings *timings ) ;
 4557   int (*g_dv_timings)(struct v4l2_subdev *sd , struct v4l2_dv_timings *timings ) ;
 4558   int (*enum_mbus_fmt)(struct v4l2_subdev *sd , unsigned int index , enum v4l2_mbus_pixelcode *code ) ;
 4559   int (*enum_mbus_fsizes)(struct v4l2_subdev *sd , struct v4l2_frmsizeenum *fsize ) ;
 4560   int (*g_mbus_fmt)(struct v4l2_subdev *sd , struct v4l2_mbus_framefmt *fmt ) ;
 4561   int (*try_mbus_fmt)(struct v4l2_subdev *sd , struct v4l2_mbus_framefmt *fmt ) ;
 4562   int (*s_mbus_fmt)(struct v4l2_subdev *sd , struct v4l2_mbus_framefmt *fmt ) ;
 4563   int (*g_mbus_config)(struct v4l2_subdev *sd , struct v4l2_mbus_config *cfg ) ;
 4564   int (*s_mbus_config)(struct v4l2_subdev *sd , struct v4l2_mbus_config    *cfg ) ;
 4565};
 4566#line 355 "include/media/v4l2-subdev.h"
 4567struct v4l2_subdev_vbi_ops {
 4568   int (*decode_vbi_line)(struct v4l2_subdev *sd , struct v4l2_decode_vbi_line *vbi_line ) ;
 4569   int (*s_vbi_data)(struct v4l2_subdev *sd , struct v4l2_sliced_vbi_data    *vbi_data ) ;
 4570   int (*g_vbi_data)(struct v4l2_subdev *sd , struct v4l2_sliced_vbi_data *vbi_data ) ;
 4571   int (*g_sliced_vbi_cap)(struct v4l2_subdev *sd , struct v4l2_sliced_vbi_cap *cap ) ;
 4572   int (*s_raw_fmt)(struct v4l2_subdev *sd , struct v4l2_vbi_format *fmt ) ;
 4573   int (*g_sliced_fmt)(struct v4l2_subdev *sd , struct v4l2_sliced_vbi_format *fmt ) ;
 4574   int (*s_sliced_fmt)(struct v4l2_subdev *sd , struct v4l2_sliced_vbi_format *fmt ) ;
 4575};
 4576#line 375 "include/media/v4l2-subdev.h"
 4577struct v4l2_subdev_sensor_ops {
 4578   int (*g_skip_top_lines)(struct v4l2_subdev *sd , u32 *lines ) ;
 4579   int (*g_skip_frames)(struct v4l2_subdev *sd , u32 *frames ) ;
 4580};
 4581#line 403
 4582enum v4l2_subdev_ir_mode {
 4583    V4L2_SUBDEV_IR_MODE_PULSE_WIDTH = 0
 4584} ;
 4585#line 407 "include/media/v4l2-subdev.h"
 4586struct v4l2_subdev_ir_parameters {
 4587   unsigned int bytes_per_data_element ;
 4588   enum v4l2_subdev_ir_mode mode ;
 4589   bool enable ;
 4590   bool interrupt_enable ;
 4591   bool shutdown ;
 4592   bool modulation ;
 4593   u32 max_pulse_width ;
 4594   unsigned int carrier_freq ;
 4595   unsigned int duty_cycle ;
 4596   bool invert_level ;
 4597   bool invert_carrier_sense ;
 4598   u32 noise_filter_min_width ;
 4599   unsigned int carrier_range_lower ;
 4600   unsigned int carrier_range_upper ;
 4601   u32 resolution ;
 4602};
 4603#line 432 "include/media/v4l2-subdev.h"
 4604struct v4l2_subdev_ir_ops {
 4605   int (*rx_read)(struct v4l2_subdev *sd , u8 *buf , size_t count , ssize_t *num ) ;
 4606   int (*rx_g_parameters)(struct v4l2_subdev *sd , struct v4l2_subdev_ir_parameters *params ) ;
 4607   int (*rx_s_parameters)(struct v4l2_subdev *sd , struct v4l2_subdev_ir_parameters *params ) ;
 4608   int (*tx_write)(struct v4l2_subdev *sd , u8 *buf , size_t count , ssize_t *num ) ;
 4609   int (*tx_g_parameters)(struct v4l2_subdev *sd , struct v4l2_subdev_ir_parameters *params ) ;
 4610   int (*tx_s_parameters)(struct v4l2_subdev *sd , struct v4l2_subdev_ir_parameters *params ) ;
 4611};
 4612#line 452 "include/media/v4l2-subdev.h"
 4613struct v4l2_subdev_pad_ops {
 4614   int (*enum_mbus_code)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh , struct v4l2_subdev_mbus_code_enum *code ) ;
 4615   int (*enum_frame_size)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh , struct v4l2_subdev_frame_size_enum *fse ) ;
 4616   int (*enum_frame_interval)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh ,
 4617                              struct v4l2_subdev_frame_interval_enum *fie ) ;
 4618   int (*get_fmt)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh , struct v4l2_subdev_format *format ) ;
 4619   int (*set_fmt)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh , struct v4l2_subdev_format *format ) ;
 4620   int (*set_crop)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh , struct v4l2_subdev_crop *crop ) ;
 4621   int (*get_crop)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh , struct v4l2_subdev_crop *crop ) ;
 4622};
 4623#line 471 "include/media/v4l2-subdev.h"
 4624struct v4l2_subdev_ops {
 4625   struct v4l2_subdev_core_ops    *core ;
 4626   struct v4l2_subdev_tuner_ops    *tuner ;
 4627   struct v4l2_subdev_audio_ops    *audio ;
 4628   struct v4l2_subdev_video_ops    *video ;
 4629   struct v4l2_subdev_vbi_ops    *vbi ;
 4630   struct v4l2_subdev_ir_ops    *ir ;
 4631   struct v4l2_subdev_sensor_ops    *sensor ;
 4632   struct v4l2_subdev_pad_ops    *pad ;
 4633};
 4634#line 496 "include/media/v4l2-subdev.h"
 4635struct v4l2_subdev_internal_ops {
 4636   int (*registered)(struct v4l2_subdev *sd ) ;
 4637   void (*unregistered)(struct v4l2_subdev *sd ) ;
 4638   int (*open)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh ) ;
 4639   int (*close)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh ) ;
 4640};
 4641#line 517 "include/media/v4l2-subdev.h"
 4642struct v4l2_subdev {
 4643   struct media_entity entity ;
 4644   struct list_head list ;
 4645   struct module *owner ;
 4646   u32 flags ;
 4647   struct v4l2_device *v4l2_dev ;
 4648   struct v4l2_subdev_ops    *ops ;
 4649   struct v4l2_subdev_internal_ops    *internal_ops ;
 4650   struct v4l2_ctrl_handler *ctrl_handler ;
 4651   char name[32] ;
 4652   u32 grp_id ;
 4653   void *dev_priv ;
 4654   void *host_priv ;
 4655   struct video_device *devnode ;
 4656};
 4657#line 549 "include/media/v4l2-subdev.h"
 4658struct v4l2_subdev_fh {
 4659   struct v4l2_fh vfh ;
 4660   struct v4l2_mbus_framefmt *try_fmt ;
 4661   struct v4l2_rect *try_crop ;
 4662};
 4663#line 37 "include/media/v4l2-device.h"
 4664struct v4l2_ctrl_handler;
 4665#line 39 "include/media/v4l2-device.h"
 4666struct v4l2_device {
 4667   struct device *dev ;
 4668   struct media_device *mdev ;
 4669   struct list_head subdevs ;
 4670   spinlock_t lock ;
 4671   char name[36] ;
 4672   void (*notify)(struct v4l2_subdev *sd , unsigned int notification , void *arg ) ;
 4673   struct v4l2_ctrl_handler *ctrl_handler ;
 4674   struct v4l2_prio_state prio ;
 4675   struct mutex ioctl_lock ;
 4676   struct kref ref ;
 4677   void (*release)(struct v4l2_device *v4l2_dev ) ;
 4678};
 4679#line 18 "include/media/v4l2-ioctl.h"
 4680struct v4l2_fh;
 4681#line 20 "include/media/v4l2-ioctl.h"
 4682struct v4l2_ioctl_ops {
 4683   int (*vidioc_querycap)(struct file *file , void *fh , struct v4l2_capability *cap ) ;
 4684   int (*vidioc_g_priority)(struct file *file , void *fh , enum v4l2_priority *p ) ;
 4685   int (*vidioc_s_priority)(struct file *file , void *fh , enum v4l2_priority p ) ;
 4686   int (*vidioc_enum_fmt_vid_cap)(struct file *file , void *fh , struct v4l2_fmtdesc *f ) ;
 4687   int (*vidioc_enum_fmt_vid_overlay)(struct file *file , void *fh , struct v4l2_fmtdesc *f ) ;
 4688   int (*vidioc_enum_fmt_vid_out)(struct file *file , void *fh , struct v4l2_fmtdesc *f ) ;
 4689   int (*vidioc_enum_fmt_vid_cap_mplane)(struct file *file , void *fh , struct v4l2_fmtdesc *f ) ;
 4690   int (*vidioc_enum_fmt_vid_out_mplane)(struct file *file , void *fh , struct v4l2_fmtdesc *f ) ;
 4691   int (*vidioc_enum_fmt_type_private)(struct file *file , void *fh , struct v4l2_fmtdesc *f ) ;
 4692   int (*vidioc_g_fmt_vid_cap)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4693   int (*vidioc_g_fmt_vid_overlay)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4694   int (*vidioc_g_fmt_vid_out)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4695   int (*vidioc_g_fmt_vid_out_overlay)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4696   int (*vidioc_g_fmt_vbi_cap)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4697   int (*vidioc_g_fmt_vbi_out)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4698   int (*vidioc_g_fmt_sliced_vbi_cap)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4699   int (*vidioc_g_fmt_sliced_vbi_out)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4700   int (*vidioc_g_fmt_vid_cap_mplane)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4701   int (*vidioc_g_fmt_vid_out_mplane)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4702   int (*vidioc_g_fmt_type_private)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4703   int (*vidioc_s_fmt_vid_cap)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4704   int (*vidioc_s_fmt_vid_overlay)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4705   int (*vidioc_s_fmt_vid_out)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4706   int (*vidioc_s_fmt_vid_out_overlay)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4707   int (*vidioc_s_fmt_vbi_cap)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4708   int (*vidioc_s_fmt_vbi_out)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4709   int (*vidioc_s_fmt_sliced_vbi_cap)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4710   int (*vidioc_s_fmt_sliced_vbi_out)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4711   int (*vidioc_s_fmt_vid_cap_mplane)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4712   int (*vidioc_s_fmt_vid_out_mplane)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4713   int (*vidioc_s_fmt_type_private)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4714   int (*vidioc_try_fmt_vid_cap)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4715   int (*vidioc_try_fmt_vid_overlay)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4716   int (*vidioc_try_fmt_vid_out)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4717   int (*vidioc_try_fmt_vid_out_overlay)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4718   int (*vidioc_try_fmt_vbi_cap)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4719   int (*vidioc_try_fmt_vbi_out)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4720   int (*vidioc_try_fmt_sliced_vbi_cap)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4721   int (*vidioc_try_fmt_sliced_vbi_out)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4722   int (*vidioc_try_fmt_vid_cap_mplane)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4723   int (*vidioc_try_fmt_vid_out_mplane)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4724   int (*vidioc_try_fmt_type_private)(struct file *file , void *fh , struct v4l2_format *f ) ;
 4725   int (*vidioc_reqbufs)(struct file *file , void *fh , struct v4l2_requestbuffers *b ) ;
 4726   int (*vidioc_querybuf)(struct file *file , void *fh , struct v4l2_buffer *b ) ;
 4727   int (*vidioc_qbuf)(struct file *file , void *fh , struct v4l2_buffer *b ) ;
 4728   int (*vidioc_dqbuf)(struct file *file , void *fh , struct v4l2_buffer *b ) ;
 4729   int (*vidioc_create_bufs)(struct file *file , void *fh , struct v4l2_create_buffers *b ) ;
 4730   int (*vidioc_prepare_buf)(struct file *file , void *fh , struct v4l2_buffer *b ) ;
 4731   int (*vidioc_overlay)(struct file *file , void *fh , unsigned int i ) ;
 4732   int (*vidioc_g_fbuf)(struct file *file , void *fh , struct v4l2_framebuffer *a ) ;
 4733   int (*vidioc_s_fbuf)(struct file *file , void *fh , struct v4l2_framebuffer *a ) ;
 4734   int (*vidioc_streamon)(struct file *file , void *fh , enum v4l2_buf_type i ) ;
 4735   int (*vidioc_streamoff)(struct file *file , void *fh , enum v4l2_buf_type i ) ;
 4736   int (*vidioc_g_std)(struct file *file , void *fh , v4l2_std_id *norm ) ;
 4737   int (*vidioc_s_std)(struct file *file , void *fh , v4l2_std_id *norm ) ;
 4738   int (*vidioc_querystd)(struct file *file , void *fh , v4l2_std_id *a ) ;
 4739   int (*vidioc_enum_input)(struct file *file , void *fh , struct v4l2_input *inp ) ;
 4740   int (*vidioc_g_input)(struct file *file , void *fh , unsigned int *i ) ;
 4741   int (*vidioc_s_input)(struct file *file , void *fh , unsigned int i ) ;
 4742   int (*vidioc_enum_output)(struct file *file , void *fh , struct v4l2_output *a ) ;
 4743   int (*vidioc_g_output)(struct file *file , void *fh , unsigned int *i ) ;
 4744   int (*vidioc_s_output)(struct file *file , void *fh , unsigned int i ) ;
 4745   int (*vidioc_queryctrl)(struct file *file , void *fh , struct v4l2_queryctrl *a ) ;
 4746   int (*vidioc_g_ctrl)(struct file *file , void *fh , struct v4l2_control *a ) ;
 4747   int (*vidioc_s_ctrl)(struct file *file , void *fh , struct v4l2_control *a ) ;
 4748   int (*vidioc_g_ext_ctrls)(struct file *file , void *fh , struct v4l2_ext_controls *a ) ;
 4749   int (*vidioc_s_ext_ctrls)(struct file *file , void *fh , struct v4l2_ext_controls *a ) ;
 4750   int (*vidioc_try_ext_ctrls)(struct file *file , void *fh , struct v4l2_ext_controls *a ) ;
 4751   int (*vidioc_querymenu)(struct file *file , void *fh , struct v4l2_querymenu *a ) ;
 4752   int (*vidioc_enumaudio)(struct file *file , void *fh , struct v4l2_audio *a ) ;
 4753   int (*vidioc_g_audio)(struct file *file , void *fh , struct v4l2_audio *a ) ;
 4754   int (*vidioc_s_audio)(struct file *file , void *fh , struct v4l2_audio *a ) ;
 4755   int (*vidioc_enumaudout)(struct file *file , void *fh , struct v4l2_audioout *a ) ;
 4756   int (*vidioc_g_audout)(struct file *file , void *fh , struct v4l2_audioout *a ) ;
 4757   int (*vidioc_s_audout)(struct file *file , void *fh , struct v4l2_audioout *a ) ;
 4758   int (*vidioc_g_modulator)(struct file *file , void *fh , struct v4l2_modulator *a ) ;
 4759   int (*vidioc_s_modulator)(struct file *file , void *fh , struct v4l2_modulator *a ) ;
 4760   int (*vidioc_cropcap)(struct file *file , void *fh , struct v4l2_cropcap *a ) ;
 4761   int (*vidioc_g_crop)(struct file *file , void *fh , struct v4l2_crop *a ) ;
 4762   int (*vidioc_s_crop)(struct file *file , void *fh , struct v4l2_crop *a ) ;
 4763   int (*vidioc_g_selection)(struct file *file , void *fh , struct v4l2_selection *s ) ;
 4764   int (*vidioc_s_selection)(struct file *file , void *fh , struct v4l2_selection *s ) ;
 4765   int (*vidioc_g_jpegcomp)(struct file *file , void *fh , struct v4l2_jpegcompression *a ) ;
 4766   int (*vidioc_s_jpegcomp)(struct file *file , void *fh , struct v4l2_jpegcompression *a ) ;
 4767   int (*vidioc_g_enc_index)(struct file *file , void *fh , struct v4l2_enc_idx *a ) ;
 4768   int (*vidioc_encoder_cmd)(struct file *file , void *fh , struct v4l2_encoder_cmd *a ) ;
 4769   int (*vidioc_try_encoder_cmd)(struct file *file , void *fh , struct v4l2_encoder_cmd *a ) ;
 4770   int (*vidioc_decoder_cmd)(struct file *file , void *fh , struct v4l2_decoder_cmd *a ) ;
 4771   int (*vidioc_try_decoder_cmd)(struct file *file , void *fh , struct v4l2_decoder_cmd *a ) ;
 4772   int (*vidioc_g_parm)(struct file *file , void *fh , struct v4l2_streamparm *a ) ;
 4773   int (*vidioc_s_parm)(struct file *file , void *fh , struct v4l2_streamparm *a ) ;
 4774   int (*vidioc_g_tuner)(struct file *file , void *fh , struct v4l2_tuner *a ) ;
 4775   int (*vidioc_s_tuner)(struct file *file , void *fh , struct v4l2_tuner *a ) ;
 4776   int (*vidioc_g_frequency)(struct file *file , void *fh , struct v4l2_frequency *a ) ;
 4777   int (*vidioc_s_frequency)(struct file *file , void *fh , struct v4l2_frequency *a ) ;
 4778   int (*vidioc_g_sliced_vbi_cap)(struct file *file , void *fh , struct v4l2_sliced_vbi_cap *a ) ;
 4779   int (*vidioc_log_status)(struct file *file , void *fh ) ;
 4780   int (*vidioc_s_hw_freq_seek)(struct file *file , void *fh , struct v4l2_hw_freq_seek *a ) ;
 4781   int (*vidioc_g_register)(struct file *file , void *fh , struct v4l2_dbg_register *reg ) ;
 4782   int (*vidioc_s_register)(struct file *file , void *fh , struct v4l2_dbg_register *reg ) ;
 4783   int (*vidioc_g_chip_ident)(struct file *file , void *fh , struct v4l2_dbg_chip_ident *chip ) ;
 4784   int (*vidioc_enum_framesizes)(struct file *file , void *fh , struct v4l2_frmsizeenum *fsize ) ;
 4785   int (*vidioc_enum_frameintervals)(struct file *file , void *fh , struct v4l2_frmivalenum *fival ) ;
 4786   int (*vidioc_enum_dv_presets)(struct file *file , void *fh , struct v4l2_dv_enum_preset *preset ) ;
 4787   int (*vidioc_s_dv_preset)(struct file *file , void *fh , struct v4l2_dv_preset *preset ) ;
 4788   int (*vidioc_g_dv_preset)(struct file *file , void *fh , struct v4l2_dv_preset *preset ) ;
 4789   int (*vidioc_query_dv_preset)(struct file *file , void *fh , struct v4l2_dv_preset *qpreset ) ;
 4790   int (*vidioc_s_dv_timings)(struct file *file , void *fh , struct v4l2_dv_timings *timings ) ;
 4791   int (*vidioc_g_dv_timings)(struct file *file , void *fh , struct v4l2_dv_timings *timings ) ;
 4792   int (*vidioc_subscribe_event)(struct v4l2_fh *fh , struct v4l2_event_subscription *sub ) ;
 4793   int (*vidioc_unsubscribe_event)(struct v4l2_fh *fh , struct v4l2_event_subscription *sub ) ;
 4794   long (*vidioc_default)(struct file *file , void *fh , bool valid_prio , int cmd ,
 4795                          void *arg ) ;
 4796};
 4797#line 76 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 4798struct m2mtest_fmt {
 4799   char *name ;
 4800   u32 fourcc ;
 4801   int depth ;
 4802   u32 types ;
 4803};
 4804#line 102 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 4805struct m2mtest_q_data {
 4806   unsigned int width ;
 4807   unsigned int height ;
 4808   unsigned int sizeimage ;
 4809   struct m2mtest_fmt *fmt ;
 4810};
 4811#line 162 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 4812struct __anonstruct_277 {
 4813   int  : 0 ;
 4814};
 4815#line 168 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 4816struct __anonstruct_278 {
 4817   int  : 0 ;
 4818};
 4819#line 174 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 4820struct m2mtest_dev {
 4821   struct v4l2_device v4l2_dev ;
 4822   struct video_device *vfd ;
 4823   atomic_t num_inst ;
 4824   struct mutex dev_mutex ;
 4825   spinlock_t irqlock ;
 4826   struct timer_list timer ;
 4827   struct v4l2_m2m_dev *m2m_dev ;
 4828};
 4829#line 187 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 4830struct m2mtest_ctx {
 4831   struct m2mtest_dev *dev ;
 4832   u8 num_processed ;
 4833   u32 translen ;
 4834   u32 transtime ;
 4835   int aborting ;
 4836   struct v4l2_m2m_ctx *m2m_ctx ;
 4837};
 4838#line 208 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 4839struct __anonstruct_279 {
 4840   int  : 0 ;
 4841};
 4842#line 396 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 4843struct __anonstruct_280 {
 4844   int  : 0 ;
 4845};
 4846#line 407 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 4847struct __anonstruct_281 {
 4848   int  : 0 ;
 4849};
 4850#line 1 "<compiler builtins>"
 4851long __builtin_expect(long val , long res ) ;
 4852#line 100 "include/linux/printk.h"
 4853extern int ( /* format attribute */  printk)(char    *fmt  , ...) ;
 4854#line 322 "include/linux/kernel.h"
 4855extern int ( /* format attribute */  snprintf)(char *buf , size_t size , char    *fmt 
 4856                                               , ...) ;
 4857#line 55 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/string_64.h"
 4858extern void *memset(void *s , int c , size_t n ) ;
 4859#line 27 "include/linux/string.h"
 4860extern char *strncpy(char * , char    * , __kernel_size_t  ) ;
 4861#line 27 "include/linux/err.h"
 4862__inline static long __attribute__((__warn_unused_result__))  PTR_ERR(void    *ptr )  __attribute__((__no_instrument_function__)) ;
 4863#line 27 "include/linux/err.h"
 4864__inline static long __attribute__((__warn_unused_result__))  PTR_ERR(void    *ptr ) 
 4865{ 
 4866
 4867  {
 4868#line 29
 4869  return ((long )ptr);
 4870}
 4871}
 4872#line 32
 4873__inline static long __attribute__((__warn_unused_result__))  IS_ERR(void    *ptr )  __attribute__((__no_instrument_function__)) ;
 4874#line 32 "include/linux/err.h"
 4875__inline static long __attribute__((__warn_unused_result__))  IS_ERR(void    *ptr ) 
 4876{ long tmp ;
 4877  unsigned long __cil_tmp3 ;
 4878  int __cil_tmp4 ;
 4879  int __cil_tmp5 ;
 4880  int __cil_tmp6 ;
 4881  long __cil_tmp7 ;
 4882
 4883  {
 4884  {
 4885#line 34
 4886  __cil_tmp3 = (unsigned long )ptr;
 4887#line 34
 4888  __cil_tmp4 = __cil_tmp3 >= 0xfffffffffffff001UL;
 4889#line 34
 4890  __cil_tmp5 = ! __cil_tmp4;
 4891#line 34
 4892  __cil_tmp6 = ! __cil_tmp5;
 4893#line 34
 4894  __cil_tmp7 = (long )__cil_tmp6;
 4895#line 34
 4896  tmp = __builtin_expect(__cil_tmp7, 0L);
 4897  }
 4898#line 34
 4899  return (tmp);
 4900}
 4901}
 4902#line 35 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/atomic.h"
 4903__inline static void atomic_set(atomic_t *v , int i )  __attribute__((__no_instrument_function__)) ;
 4904#line 35 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/atomic.h"
 4905__inline static void atomic_set(atomic_t *v , int i ) 
 4906{ 
 4907
 4908  {
 4909#line 37
 4910  *((int *)v) = i;
 4911#line 38
 4912  return;
 4913}
 4914}
 4915#line 93
 4916__inline static void atomic_inc(atomic_t *v )  __attribute__((__no_instrument_function__)) ;
 4917#line 93 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/atomic.h"
 4918__inline static void atomic_inc(atomic_t *v ) 
 4919{ 
 4920
 4921  {
 4922#line 95
 4923  __asm__  volatile   (".section .smp_locks,\"a\"\n"
 4924                       ".balign 4\n"
 4925                       ".long 671f - .\n"
 4926                       ".previous\n"
 4927                       "671:"
 4928                       "\n\tlock; "
 4929                       "incl %0": "+m" (*((int *)v)));
 4930#line 97
 4931  return;
 4932}
 4933}
 4934#line 105
 4935__inline static void atomic_dec(atomic_t *v )  __attribute__((__no_instrument_function__)) ;
 4936#line 105 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/atomic.h"
 4937__inline static void atomic_dec(atomic_t *v ) 
 4938{ 
 4939
 4940  {
 4941#line 107
 4942  __asm__  volatile   (".section .smp_locks,\"a\"\n"
 4943                       ".balign 4\n"
 4944                       ".long 671f - .\n"
 4945                       ".previous\n"
 4946                       "671:"
 4947                       "\n\tlock; "
 4948                       "decl %0": "+m" (*((int *)v)));
 4949#line 109
 4950  return;
 4951}
 4952}
 4953#line 93 "include/linux/spinlock.h"
 4954extern void __raw_spin_lock_init(raw_spinlock_t *lock , char    *name , struct lock_class_key *key ) ;
 4955#line 32 "include/linux/spinlock_api_smp.h"
 4956extern unsigned long _raw_spin_lock_irqsave(raw_spinlock_t *lock )  __attribute__((__section__(".spinlock.text"))) ;
 4957#line 42
 4958extern void _raw_spin_unlock_irqrestore(raw_spinlock_t *lock , unsigned long flags )  __attribute__((__section__(".spinlock.text"))) ;
 4959#line 272 "include/linux/spinlock.h"
 4960__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock )  __attribute__((__no_instrument_function__)) ;
 4961#line 272 "include/linux/spinlock.h"
 4962__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock ) 
 4963{ 
 4964
 4965  {
 4966#line 274
 4967  return ((struct raw_spinlock *)lock);
 4968}
 4969}
 4970#line 338
 4971__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags )  __attribute__((__no_instrument_function__)) ;
 4972#line 338 "include/linux/spinlock.h"
 4973__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags ) 
 4974{ struct raw_spinlock *__cil_tmp5 ;
 4975
 4976  {
 4977  {
 4978#line 340
 4979  while (1) {
 4980    while_continue: /* CIL Label */ ;
 4981    {
 4982#line 340
 4983    __cil_tmp5 = (struct raw_spinlock *)lock;
 4984#line 340
 4985    _raw_spin_unlock_irqrestore(__cil_tmp5, flags);
 4986    }
 4987#line 340
 4988    goto while_break;
 4989  }
 4990  while_break: /* CIL Label */ ;
 4991  }
 4992#line 341
 4993  return;
 4994}
 4995}
 4996#line 115 "include/linux/mutex.h"
 4997extern void __mutex_init(struct mutex *lock , char    *name , struct lock_class_key *key ) ;
 4998#line 152
 4999void mutex_lock(struct mutex *lock ) ;
 5000#line 153
 5001int __attribute__((__warn_unused_result__))  mutex_lock_interruptible(struct mutex *lock ) ;
 5002#line 154
 5003int __attribute__((__warn_unused_result__))  mutex_lock_killable(struct mutex *lock ) ;
 5004#line 168
 5005int mutex_trylock(struct mutex *lock ) ;
 5006#line 169
 5007void mutex_unlock(struct mutex *lock ) ;
 5008#line 170
 5009int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock ) ;
 5010#line 82 "include/linux/jiffies.h"
 5011extern unsigned long volatile   jiffies  __attribute__((__section__(".data"))) ;
 5012#line 298
 5013extern unsigned long msecs_to_jiffies(unsigned int    m ) ;
 5014#line 91 "include/linux/timer.h"
 5015extern void init_timer_key(struct timer_list *timer , char    *name , struct lock_class_key *key ) ;
 5016#line 166
 5017__inline static void setup_timer_key(struct timer_list *timer , char    *name ,
 5018                                     struct lock_class_key *key , void (*function)(unsigned long  ) ,
 5019                                     unsigned long data )  __attribute__((__no_instrument_function__)) ;
 5020#line 166 "include/linux/timer.h"
 5021__inline static void setup_timer_key(struct timer_list *timer , char    *name ,
 5022                                     struct lock_class_key *key , void (*function)(unsigned long  ) ,
 5023                                     unsigned long data ) 
 5024{ unsigned long __cil_tmp6 ;
 5025  unsigned long __cil_tmp7 ;
 5026  unsigned long __cil_tmp8 ;
 5027  unsigned long __cil_tmp9 ;
 5028
 5029  {
 5030  {
 5031#line 172
 5032  __cil_tmp6 = (unsigned long )timer;
 5033#line 172
 5034  __cil_tmp7 = __cil_tmp6 + 32;
 5035#line 172
 5036  *((void (**)(unsigned long  ))__cil_tmp7) = function;
 5037#line 173
 5038  __cil_tmp8 = (unsigned long )timer;
 5039#line 173
 5040  __cil_tmp9 = __cil_tmp8 + 40;
 5041#line 173
 5042  *((unsigned long *)__cil_tmp9) = data;
 5043#line 174
 5044  init_timer_key(timer, name, key);
 5045  }
 5046#line 175
 5047  return;
 5048}
 5049}
 5050#line 211
 5051extern int mod_timer(struct timer_list *timer , unsigned long expires ) ;
 5052#line 280
 5053extern int del_timer_sync(struct timer_list *timer ) ;
 5054#line 26 "include/linux/export.h"
 5055extern struct module __this_module ;
 5056#line 67 "include/linux/module.h"
 5057int init_module(void) ;
 5058#line 68
 5059void cleanup_module(void) ;
 5060#line 161 "include/linux/slab.h"
 5061extern void kfree(void    * ) ;
 5062#line 221 "include/linux/slub_def.h"
 5063extern void *__kmalloc(size_t size , gfp_t flags ) ;
 5064#line 268
 5065__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
 5066                                                                    gfp_t flags )  __attribute__((__no_instrument_function__)) ;
 5067#line 268 "include/linux/slub_def.h"
 5068__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
 5069                                                                    gfp_t flags ) 
 5070{ void *tmp___10 ;
 5071
 5072  {
 5073  {
 5074#line 283
 5075  tmp___10 = __kmalloc(size, flags);
 5076  }
 5077#line 283
 5078  return (tmp___10);
 5079}
 5080}
 5081#line 349 "include/linux/slab.h"
 5082__inline static void *kzalloc(size_t size , gfp_t flags )  __attribute__((__no_instrument_function__)) ;
 5083#line 349 "include/linux/slab.h"
 5084__inline static void *kzalloc(size_t size , gfp_t flags ) 
 5085{ void *tmp___7 ;
 5086  unsigned int __cil_tmp4 ;
 5087
 5088  {
 5089  {
 5090#line 351
 5091  __cil_tmp4 = flags | 32768U;
 5092#line 351
 5093  tmp___7 = kmalloc(size, __cil_tmp4);
 5094  }
 5095#line 351
 5096  return (tmp___7);
 5097}
 5098}
 5099#line 792 "include/linux/device.h"
 5100extern void *dev_get_drvdata(struct device    *dev ) ;
 5101#line 793
 5102extern int dev_set_drvdata(struct device *dev , void *data ) ;
 5103#line 39 "include/linux/platform_device.h"
 5104extern int platform_device_register(struct platform_device * ) ;
 5105#line 40
 5106extern void platform_device_unregister(struct platform_device * ) ;
 5107#line 174
 5108extern int platform_driver_register(struct platform_driver * ) ;
 5109#line 175
 5110extern void platform_driver_unregister(struct platform_driver * ) ;
 5111#line 183
 5112__inline static void *platform_get_drvdata(struct platform_device    *pdev )  __attribute__((__no_instrument_function__)) ;
 5113#line 183 "include/linux/platform_device.h"
 5114__inline static void *platform_get_drvdata(struct platform_device    *pdev ) 
 5115{ void *tmp___7 ;
 5116  unsigned long __cil_tmp3 ;
 5117  unsigned long __cil_tmp4 ;
 5118  struct device    *__cil_tmp5 ;
 5119
 5120  {
 5121  {
 5122#line 185
 5123  __cil_tmp3 = (unsigned long )pdev;
 5124#line 185
 5125  __cil_tmp4 = __cil_tmp3 + 16;
 5126#line 185
 5127  __cil_tmp5 = (struct device    *)__cil_tmp4;
 5128#line 185
 5129  tmp___7 = dev_get_drvdata(__cil_tmp5);
 5130  }
 5131#line 185
 5132  return (tmp___7);
 5133}
 5134}
 5135#line 188
 5136__inline static void platform_set_drvdata(struct platform_device *pdev , void *data )  __attribute__((__no_instrument_function__)) ;
 5137#line 188 "include/linux/platform_device.h"
 5138__inline static void platform_set_drvdata(struct platform_device *pdev , void *data ) 
 5139{ unsigned long __cil_tmp3 ;
 5140  unsigned long __cil_tmp4 ;
 5141  struct device *__cil_tmp5 ;
 5142
 5143  {
 5144  {
 5145#line 190
 5146  __cil_tmp3 = (unsigned long )pdev;
 5147#line 190
 5148  __cil_tmp4 = __cil_tmp3 + 16;
 5149#line 190
 5150  __cil_tmp5 = (struct device *)__cil_tmp4;
 5151#line 190
 5152  dev_set_drvdata(__cil_tmp5, data);
 5153  }
 5154#line 191
 5155  return;
 5156}
 5157}
 5158#line 302 "include/media/videobuf2-core.h"
 5159extern void *vb2_plane_vaddr(struct vb2_buffer *vb , unsigned int plane_no ) ;
 5160#line 305
 5161extern void vb2_buffer_done(struct vb2_buffer *vb , enum vb2_buffer_state state ) ;
 5162#line 314
 5163extern int vb2_queue_init(struct vb2_queue *q ) ;
 5164#line 353
 5165__inline static bool vb2_is_busy(struct vb2_queue *q )  __attribute__((__no_instrument_function__)) ;
 5166#line 353 "include/media/videobuf2-core.h"
 5167__inline static bool vb2_is_busy(struct vb2_queue *q ) 
 5168{ unsigned long __cil_tmp2 ;
 5169  unsigned long __cil_tmp3 ;
 5170  unsigned int __cil_tmp4 ;
 5171  int __cil_tmp5 ;
 5172
 5173  {
 5174  {
 5175#line 355
 5176  __cil_tmp2 = (unsigned long )q;
 5177#line 355
 5178  __cil_tmp3 = __cil_tmp2 + 304;
 5179#line 355
 5180  __cil_tmp4 = *((unsigned int *)__cil_tmp3);
 5181#line 355
 5182  __cil_tmp5 = __cil_tmp4 > 0U;
 5183#line 355
 5184  return ((bool )__cil_tmp5);
 5185  }
 5186}
 5187}
 5188#line 362
 5189__inline static void *vb2_get_drv_priv(struct vb2_queue *q )  __attribute__((__no_instrument_function__)) ;
 5190#line 362 "include/media/videobuf2-core.h"
 5191__inline static void *vb2_get_drv_priv(struct vb2_queue *q ) 
 5192{ unsigned long __cil_tmp2 ;
 5193  unsigned long __cil_tmp3 ;
 5194
 5195  {
 5196  {
 5197#line 364
 5198  __cil_tmp2 = (unsigned long )q;
 5199#line 364
 5200  __cil_tmp3 = __cil_tmp2 + 32;
 5201#line 364
 5202  return (*((void **)__cil_tmp3));
 5203  }
 5204}
 5205}
 5206#line 373
 5207__inline static void vb2_set_plane_payload(struct vb2_buffer *vb , unsigned int plane_no ,
 5208                                           unsigned long size )  __attribute__((__no_instrument_function__)) ;
 5209#line 373 "include/media/videobuf2-core.h"
 5210__inline static void vb2_set_plane_payload(struct vb2_buffer *vb , unsigned int plane_no ,
 5211                                           unsigned long size ) 
 5212{ unsigned long __cil_tmp4 ;
 5213  unsigned long __cil_tmp5 ;
 5214  unsigned int __cil_tmp6 ;
 5215  unsigned long __cil_tmp7 ;
 5216  unsigned long __cil_tmp8 ;
 5217  unsigned long __cil_tmp9 ;
 5218  unsigned long __cil_tmp10 ;
 5219
 5220  {
 5221  {
 5222#line 376
 5223  __cil_tmp4 = (unsigned long )vb;
 5224#line 376
 5225  __cil_tmp5 = __cil_tmp4 + 608;
 5226#line 376
 5227  __cil_tmp6 = *((unsigned int *)__cil_tmp5);
 5228#line 376
 5229  if (plane_no < __cil_tmp6) {
 5230#line 377
 5231    __cil_tmp7 = plane_no * 64UL;
 5232#line 377
 5233    __cil_tmp8 = 88 + __cil_tmp7;
 5234#line 377
 5235    __cil_tmp9 = (unsigned long )vb;
 5236#line 377
 5237    __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
 5238#line 377
 5239    *((__u32 *)__cil_tmp10) = (__u32 )size;
 5240  } else {
 5241
 5242  }
 5243  }
 5244#line 378
 5245  return;
 5246}
 5247}
 5248#line 399
 5249__inline static unsigned long vb2_plane_size(struct vb2_buffer *vb , unsigned int plane_no )  __attribute__((__no_instrument_function__)) ;
 5250#line 399 "include/media/videobuf2-core.h"
 5251__inline static unsigned long vb2_plane_size(struct vb2_buffer *vb , unsigned int plane_no ) 
 5252{ unsigned long __cil_tmp3 ;
 5253  unsigned long __cil_tmp4 ;
 5254  unsigned int __cil_tmp5 ;
 5255  unsigned long __cil_tmp6 ;
 5256  unsigned long __cil_tmp7 ;
 5257  unsigned long __cil_tmp8 ;
 5258  unsigned long __cil_tmp9 ;
 5259  unsigned long __cil_tmp10 ;
 5260  __u32 __cil_tmp11 ;
 5261
 5262  {
 5263  {
 5264#line 402
 5265  __cil_tmp3 = (unsigned long )vb;
 5266#line 402
 5267  __cil_tmp4 = __cil_tmp3 + 608;
 5268#line 402
 5269  __cil_tmp5 = *((unsigned int *)__cil_tmp4);
 5270#line 402
 5271  if (plane_no < __cil_tmp5) {
 5272    {
 5273#line 403
 5274    __cil_tmp6 = plane_no * 64UL;
 5275#line 403
 5276    __cil_tmp7 = __cil_tmp6 + 4;
 5277#line 403
 5278    __cil_tmp8 = 88 + __cil_tmp7;
 5279#line 403
 5280    __cil_tmp9 = (unsigned long )vb;
 5281#line 403
 5282    __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
 5283#line 403
 5284    __cil_tmp11 = *((__u32 *)__cil_tmp10);
 5285#line 403
 5286    return ((unsigned long )__cil_tmp11);
 5287    }
 5288  } else {
 5289
 5290  }
 5291  }
 5292#line 404
 5293  return (0UL);
 5294}
 5295}
 5296#line 89 "include/media/v4l2-mem2mem.h"
 5297extern void *v4l2_m2m_get_curr_priv(struct v4l2_m2m_dev *m2m_dev ) ;
 5298#line 91
 5299extern struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx , enum v4l2_buf_type type ) ;
 5300#line 94
 5301extern void v4l2_m2m_job_finish(struct v4l2_m2m_dev *m2m_dev , struct v4l2_m2m_ctx *m2m_ctx ) ;
 5302#line 97
 5303__inline static void v4l2_m2m_buf_done(struct vb2_buffer *buf , enum vb2_buffer_state state )  __attribute__((__no_instrument_function__)) ;
 5304#line 97 "include/media/v4l2-mem2mem.h"
 5305__inline static void v4l2_m2m_buf_done(struct vb2_buffer *buf , enum vb2_buffer_state state ) 
 5306{ 
 5307
 5308  {
 5309  {
 5310#line 100
 5311  vb2_buffer_done(buf, state);
 5312  }
 5313#line 101
 5314  return;
 5315}
 5316}
 5317#line 103
 5318extern int v4l2_m2m_reqbufs(struct file *file , struct v4l2_m2m_ctx *m2m_ctx , struct v4l2_requestbuffers *reqbufs ) ;
 5319#line 106
 5320extern int v4l2_m2m_querybuf(struct file *file , struct v4l2_m2m_ctx *m2m_ctx , struct v4l2_buffer *buf ) ;
 5321#line 109
 5322extern int v4l2_m2m_qbuf(struct file *file , struct v4l2_m2m_ctx *m2m_ctx , struct v4l2_buffer *buf ) ;
 5323#line 111
 5324extern int v4l2_m2m_dqbuf(struct file *file , struct v4l2_m2m_ctx *m2m_ctx , struct v4l2_buffer *buf ) ;
 5325#line 114
 5326extern int v4l2_m2m_streamon(struct file *file , struct v4l2_m2m_ctx *m2m_ctx , enum v4l2_buf_type type ) ;
 5327#line 116
 5328extern int v4l2_m2m_streamoff(struct file *file , struct v4l2_m2m_ctx *m2m_ctx , enum v4l2_buf_type type ) ;
 5329#line 119
 5330extern unsigned int v4l2_m2m_poll(struct file *file , struct v4l2_m2m_ctx *m2m_ctx ,
 5331                                  struct poll_table_struct *wait ) ;
 5332#line 122
 5333extern int v4l2_m2m_mmap(struct file *file , struct v4l2_m2m_ctx *m2m_ctx , struct vm_area_struct *vma ) ;
 5334#line 125
 5335extern struct v4l2_m2m_dev *v4l2_m2m_init(struct v4l2_m2m_ops *m2m_ops ) ;
 5336#line 126
 5337extern void v4l2_m2m_release(struct v4l2_m2m_dev *m2m_dev ) ;
 5338#line 128
 5339extern struct v4l2_m2m_ctx *v4l2_m2m_ctx_init(struct v4l2_m2m_dev *m2m_dev , void *drv_priv ,
 5340                                              int (*queue_init)(void *priv , struct vb2_queue *src_vq ,
 5341                                                                struct vb2_queue *dst_vq ) ) ;
 5342#line 132
 5343extern void v4l2_m2m_ctx_release(struct v4l2_m2m_ctx *m2m_ctx ) ;
 5344#line 134
 5345extern void v4l2_m2m_buf_queue(struct v4l2_m2m_ctx *m2m_ctx , struct vb2_buffer *vb ) ;
 5346#line 140
 5347__inline static unsigned int v4l2_m2m_num_src_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx )  __attribute__((__no_instrument_function__)) ;
 5348#line 140 "include/media/v4l2-mem2mem.h"
 5349__inline static unsigned int v4l2_m2m_num_src_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx ) 
 5350{ unsigned long __cil_tmp2 ;
 5351  unsigned long __cil_tmp3 ;
 5352  unsigned long __cil_tmp4 ;
 5353  u8 __cil_tmp5 ;
 5354
 5355  {
 5356  {
 5357#line 143
 5358  __cil_tmp2 = 8 + 568;
 5359#line 143
 5360  __cil_tmp3 = (unsigned long )m2m_ctx;
 5361#line 143
 5362  __cil_tmp4 = __cil_tmp3 + __cil_tmp2;
 5363#line 143
 5364  __cil_tmp5 = *((u8 *)__cil_tmp4);
 5365#line 143
 5366  return ((unsigned int )__cil_tmp5);
 5367  }
 5368}
 5369}
 5370#line 150
 5371__inline static unsigned int v4l2_m2m_num_dst_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx )  __attribute__((__no_instrument_function__)) ;
 5372#line 150 "include/media/v4l2-mem2mem.h"
 5373__inline static unsigned int v4l2_m2m_num_dst_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx ) 
 5374{ unsigned long __cil_tmp2 ;
 5375  unsigned long __cil_tmp3 ;
 5376  unsigned long __cil_tmp4 ;
 5377  u8 __cil_tmp5 ;
 5378
 5379  {
 5380  {
 5381#line 153
 5382  __cil_tmp2 = 584 + 568;
 5383#line 153
 5384  __cil_tmp3 = (unsigned long )m2m_ctx;
 5385#line 153
 5386  __cil_tmp4 = __cil_tmp3 + __cil_tmp2;
 5387#line 153
 5388  __cil_tmp5 = *((u8 *)__cil_tmp4);
 5389#line 153
 5390  return ((unsigned int )__cil_tmp5);
 5391  }
 5392}
 5393}
 5394#line 156
 5395extern void *v4l2_m2m_next_buf(struct v4l2_m2m_queue_ctx *q_ctx ) ;
 5396#line 162
 5397__inline static void *v4l2_m2m_next_src_buf(struct v4l2_m2m_ctx *m2m_ctx )  __attribute__((__no_instrument_function__)) ;
 5398#line 162 "include/media/v4l2-mem2mem.h"
 5399__inline static void *v4l2_m2m_next_src_buf(struct v4l2_m2m_ctx *m2m_ctx ) 
 5400{ void *tmp___7 ;
 5401  unsigned long __cil_tmp3 ;
 5402  unsigned long __cil_tmp4 ;
 5403  struct v4l2_m2m_queue_ctx *__cil_tmp5 ;
 5404
 5405  {
 5406  {
 5407#line 164
 5408  __cil_tmp3 = (unsigned long )m2m_ctx;
 5409#line 164
 5410  __cil_tmp4 = __cil_tmp3 + 584;
 5411#line 164
 5412  __cil_tmp5 = (struct v4l2_m2m_queue_ctx *)__cil_tmp4;
 5413#line 164
 5414  tmp___7 = v4l2_m2m_next_buf(__cil_tmp5);
 5415  }
 5416#line 164
 5417  return (tmp___7);
 5418}
 5419}
 5420#line 171
 5421__inline static void *v4l2_m2m_next_dst_buf(struct v4l2_m2m_ctx *m2m_ctx )  __attribute__((__no_instrument_function__)) ;
 5422#line 171 "include/media/v4l2-mem2mem.h"
 5423__inline static void *v4l2_m2m_next_dst_buf(struct v4l2_m2m_ctx *m2m_ctx ) 
 5424{ void *tmp___7 ;
 5425  unsigned long __cil_tmp3 ;
 5426  unsigned long __cil_tmp4 ;
 5427  struct v4l2_m2m_queue_ctx *__cil_tmp5 ;
 5428
 5429  {
 5430  {
 5431#line 173
 5432  __cil_tmp3 = (unsigned long )m2m_ctx;
 5433#line 173
 5434  __cil_tmp4 = __cil_tmp3 + 8;
 5435#line 173
 5436  __cil_tmp5 = (struct v4l2_m2m_queue_ctx *)__cil_tmp4;
 5437#line 173
 5438  tmp___7 = v4l2_m2m_next_buf(__cil_tmp5);
 5439  }
 5440#line 173
 5441  return (tmp___7);
 5442}
 5443}
 5444#line 194
 5445extern void *v4l2_m2m_buf_remove(struct v4l2_m2m_queue_ctx *q_ctx ) ;
 5446#line 200
 5447__inline static void *v4l2_m2m_src_buf_remove(struct v4l2_m2m_ctx *m2m_ctx )  __attribute__((__no_instrument_function__)) ;
 5448#line 200 "include/media/v4l2-mem2mem.h"
 5449__inline static void *v4l2_m2m_src_buf_remove(struct v4l2_m2m_ctx *m2m_ctx ) 
 5450{ void *tmp___7 ;
 5451  unsigned long __cil_tmp3 ;
 5452  unsigned long __cil_tmp4 ;
 5453  struct v4l2_m2m_queue_ctx *__cil_tmp5 ;
 5454
 5455  {
 5456  {
 5457#line 202
 5458  __cil_tmp3 = (unsigned long )m2m_ctx;
 5459#line 202
 5460  __cil_tmp4 = __cil_tmp3 + 584;
 5461#line 202
 5462  __cil_tmp5 = (struct v4l2_m2m_queue_ctx *)__cil_tmp4;
 5463#line 202
 5464  tmp___7 = v4l2_m2m_buf_remove(__cil_tmp5);
 5465  }
 5466#line 202
 5467  return (tmp___7);
 5468}
 5469}
 5470#line 209
 5471__inline static void *v4l2_m2m_dst_buf_remove(struct v4l2_m2m_ctx *m2m_ctx )  __attribute__((__no_instrument_function__)) ;
 5472#line 209 "include/media/v4l2-mem2mem.h"
 5473__inline static void *v4l2_m2m_dst_buf_remove(struct v4l2_m2m_ctx *m2m_ctx ) 
 5474{ void *tmp___7 ;
 5475  unsigned long __cil_tmp3 ;
 5476  unsigned long __cil_tmp4 ;
 5477  struct v4l2_m2m_queue_ctx *__cil_tmp5 ;
 5478
 5479  {
 5480  {
 5481#line 211
 5482  __cil_tmp3 = (unsigned long )m2m_ctx;
 5483#line 211
 5484  __cil_tmp4 = __cil_tmp3 + 8;
 5485#line 211
 5486  __cil_tmp5 = (struct v4l2_m2m_queue_ctx *)__cil_tmp4;
 5487#line 211
 5488  tmp___7 = v4l2_m2m_buf_remove(__cil_tmp5);
 5489  }
 5490#line 211
 5491  return (tmp___7);
 5492}
 5493}
 5494#line 139 "include/media/v4l2-dev.h"
 5495extern int __attribute__((__warn_unused_result__))  __video_register_device(struct video_device *vdev ,
 5496                                                                            int type ,
 5497                                                                            int nr ,
 5498                                                                            int warn_if_nr_in_use ,
 5499                                                                            struct module *owner ) ;
 5500#line 146
 5501__inline static int __attribute__((__warn_unused_result__))  video_register_device(struct video_device *vdev ,
 5502                                                                                   int type ,
 5503                                                                                   int nr )  __attribute__((__no_instrument_function__)) ;
 5504#line 146 "include/media/v4l2-dev.h"
 5505__inline static int __attribute__((__warn_unused_result__))  video_register_device(struct video_device *vdev ,
 5506                                                                                   int type ,
 5507                                                                                   int nr ) 
 5508{ int tmp___7 ;
 5509  unsigned long __cil_tmp5 ;
 5510  unsigned long __cil_tmp6 ;
 5511  struct v4l2_file_operations    *__cil_tmp7 ;
 5512  struct module *   __cil_tmp8 ;
 5513  struct module *__cil_tmp9 ;
 5514
 5515  {
 5516  {
 5517#line 149
 5518  __cil_tmp5 = (unsigned long )vdev;
 5519#line 149
 5520  __cil_tmp6 = __cil_tmp5 + 128;
 5521#line 149
 5522  __cil_tmp7 = *((struct v4l2_file_operations    **)__cil_tmp6);
 5523#line 149
 5524  __cil_tmp8 = *((struct module *   *)__cil_tmp7);
 5525#line 149
 5526  __cil_tmp9 = (struct module *)__cil_tmp8;
 5527#line 149
 5528  tmp___7 = (int )__video_register_device(vdev, type, nr, 1, __cil_tmp9);
 5529  }
 5530#line 149
 5531  return (tmp___7);
 5532}
 5533}
 5534#line 162
 5535extern void video_unregister_device(struct video_device *vdev ) ;
 5536#line 166
 5537extern struct video_device * __attribute__((__warn_unused_result__)) video_device_alloc(void) ;
 5538#line 169
 5539extern void video_device_release(struct video_device *vdev ) ;
 5540#line 177
 5541__inline static void *video_get_drvdata(struct video_device *vdev )  __attribute__((__no_instrument_function__)) ;
 5542#line 177 "include/media/v4l2-dev.h"
 5543__inline static void *video_get_drvdata(struct video_device *vdev ) 
 5544{ void *tmp___7 ;
 5545  unsigned long __cil_tmp3 ;
 5546  unsigned long __cil_tmp4 ;
 5547  struct device *__cil_tmp5 ;
 5548  struct device    *__cil_tmp6 ;
 5549
 5550  {
 5551  {
 5552#line 179
 5553  __cil_tmp3 = (unsigned long )vdev;
 5554#line 179
 5555  __cil_tmp4 = __cil_tmp3 + 136;
 5556#line 179
 5557  __cil_tmp5 = (struct device *)__cil_tmp4;
 5558#line 179
 5559  __cil_tmp6 = (struct device    *)__cil_tmp5;
 5560#line 179
 5561  tmp___7 = dev_get_drvdata(__cil_tmp6);
 5562  }
 5563#line 179
 5564  return (tmp___7);
 5565}
 5566}
 5567#line 182
 5568__inline static void video_set_drvdata(struct video_device *vdev , void *data )  __attribute__((__no_instrument_function__)) ;
 5569#line 182 "include/media/v4l2-dev.h"
 5570__inline static void video_set_drvdata(struct video_device *vdev , void *data ) 
 5571{ unsigned long __cil_tmp3 ;
 5572  unsigned long __cil_tmp4 ;
 5573  struct device *__cil_tmp5 ;
 5574
 5575  {
 5576  {
 5577#line 184
 5578  __cil_tmp3 = (unsigned long )vdev;
 5579#line 184
 5580  __cil_tmp4 = __cil_tmp3 + 136;
 5581#line 184
 5582  __cil_tmp5 = (struct device *)__cil_tmp4;
 5583#line 184
 5584  dev_set_drvdata(__cil_tmp5, data);
 5585  }
 5586#line 185
 5587  return;
 5588}
 5589}
 5590#line 187
 5591extern struct video_device *video_devdata(struct file *file ) ;
 5592#line 191
 5593__inline static void *video_drvdata(struct file *file )  __attribute__((__no_instrument_function__)) ;
 5594#line 191 "include/media/v4l2-dev.h"
 5595__inline static void *video_drvdata(struct file *file ) 
 5596{ struct video_device *tmp___7 ;
 5597  void *tmp___8 ;
 5598
 5599  {
 5600  {
 5601#line 193
 5602  tmp___7 = video_devdata(file);
 5603#line 193
 5604  tmp___8 = video_get_drvdata(tmp___7);
 5605  }
 5606#line 193
 5607  return (tmp___8);
 5608}
 5609}
 5610#line 79 "include/media/v4l2-device.h"
 5611extern int __attribute__((__warn_unused_result__))  v4l2_device_register(struct device *dev ,
 5612                                                                         struct v4l2_device *v4l2_dev ) ;
 5613#line 106
 5614extern void v4l2_device_unregister(struct v4l2_device *v4l2_dev ) ;
 5615#line 333 "include/media/v4l2-ioctl.h"
 5616extern long video_ioctl2(struct file *file , unsigned int cmd , unsigned long arg ) ;
 5617#line 18 "include/media/videobuf2-vmalloc.h"
 5618extern struct vb2_mem_ops    vb2_vmalloc_memops ;
 5619#line 35 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 5620static char    __mod_description35[57]  __attribute__((__used__, __unused__,
 5621__section__(".modinfo"), __aligned__(1)))  = 
 5622#line 35 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 5623  {      (char    )'d',      (char    )'e',      (char const   )'s',      (char const   )'c', 
 5624        (char    )'r',      (char    )'i',      (char const   )'p',      (char const   )'t', 
 5625        (char    )'i',      (char    )'o',      (char const   )'n',      (char const   )'=', 
 5626        (char    )'V',      (char    )'i',      (char const   )'r',      (char const   )'t', 
 5627        (char    )'u',      (char    )'a',      (char const   )'l',      (char const   )' ', 
 5628        (char    )'d',      (char    )'e',      (char const   )'v',      (char const   )'i', 
 5629        (char    )'c',      (char    )'e',      (char const   )' ',      (char const   )'f', 
 5630        (char    )'o',      (char    )'r',      (char const   )' ',      (char const   )'m', 
 5631        (char    )'e',      (char    )'m',      (char const   )'2',      (char const   )'m', 
 5632        (char    )'e',      (char    )'m',      (char const   )' ',      (char const   )'f', 
 5633        (char    )'r',      (char    )'a',      (char const   )'m',      (char const   )'e', 
 5634        (char    )'w',      (char    )'o',      (char const   )'r',      (char const   )'k', 
 5635        (char    )' ',      (char    )'t',      (char const   )'e',      (char const   )'s', 
 5636        (char    )'t',      (char    )'i',      (char const   )'n',      (char const   )'g', 
 5637        (char    )'\000'};
 5638#line 36 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 5639static char    __mod_author36[40]  __attribute__((__used__, __unused__, __section__(".modinfo"),
 5640__aligned__(1)))  = 
 5641#line 36
 5642  {      (char    )'a',      (char    )'u',      (char const   )'t',      (char const   )'h', 
 5643        (char    )'o',      (char    )'r',      (char const   )'=',      (char const   )'P', 
 5644        (char    )'a',      (char    )'w',      (char const   )'e',      (char const   )'l', 
 5645        (char    )' ',      (char    )'O',      (char const   )'s',      (char const   )'c', 
 5646        (char    )'i',      (char    )'a',      (char const   )'k',      (char const   )',', 
 5647        (char    )' ',      (char    )'<',      (char const   )'p',      (char const   )'a', 
 5648        (char    )'w',      (char    )'e',      (char const   )'l',      (char const   )'@', 
 5649        (char    )'o',      (char    )'s',      (char const   )'c',      (char const   )'i', 
 5650        (char    )'a',      (char    )'k',      (char const   )'.',      (char const   )'c', 
 5651        (char    )'o',      (char    )'m',      (char const   )'>',      (char const   )'\000'};
 5652#line 37 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 5653static char    __mod_license37[12]  __attribute__((__used__, __unused__, __section__(".modinfo"),
 5654__aligned__(1)))  = 
 5655#line 37
 5656  {      (char    )'l',      (char    )'i',      (char const   )'c',      (char const   )'e', 
 5657        (char    )'n',      (char    )'s',      (char const   )'e',      (char const   )'=', 
 5658        (char    )'G',      (char    )'P',      (char const   )'L',      (char const   )'\000'};
 5659#line 38 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 5660static char    __mod_version38[14]  __attribute__((__used__, __unused__, __section__(".modinfo"),
 5661__aligned__(1)))  = 
 5662#line 38
 5663  {      (char    )'v',      (char    )'e',      (char const   )'r',      (char const   )'s', 
 5664        (char    )'i',      (char    )'o',      (char const   )'n',      (char const   )'=', 
 5665        (char    )'0',      (char    )'.',      (char const   )'1',      (char const   )'.', 
 5666        (char    )'1',      (char    )'\000'};
 5667#line 68 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 5668void m2mtest_dev_release(struct device *dev ) 
 5669{ 
 5670
 5671  {
 5672#line 69
 5673  return;
 5674}
 5675}
 5676#line 71 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 5677static struct platform_device m2mtest_pdev  = 
 5678#line 71
 5679     {"m2m-testdev", 0, {(struct device *)0, (struct device_private *)0, {(char    *)0,
 5680                                                                        {(struct list_head *)0,
 5681                                                                         (struct list_head *)0},
 5682                                                                        (struct kobject *)0,
 5683                                                                        (struct kset *)0,
 5684                                                                        (struct kobj_type *)0,
 5685                                                                        (struct sysfs_dirent *)0,
 5686                                                                        {{0}}, 0U,
 5687                                                                        0U, 0U, 0U,
 5688                                                                        0U}, (char    *)0,
 5689                       (struct device_type    *)0, {{0}, {{{{{0U}}, 0U, 0U, (void *)0}}},
 5690                                                         {(struct list_head *)0, (struct list_head *)0},
 5691                                                         (struct task_struct *)0,
 5692                                                         (char    *)0, (void *)0},
 5693                       (struct bus_type *)0, (struct device_driver *)0, (void *)0,
 5694                       {{0}, 0U, 0U, (_Bool)0, (_Bool)0, (_Bool)0, {{{{{0U}}, 0U,
 5695                                                                      0U, (void *)0}}},
 5696                        {(struct list_head *)0, (struct list_head *)0}, {0U, {{{{{{0U}},
 5697                                                                                 0U,
 5698                                                                                 0U,
 5699                                                                                 (void *)0}}},
 5700                                                                              {(struct list_head *)0,
 5701                                                                               (struct list_head *)0}}},
 5702                        (struct wakeup_source *)0, (_Bool)0, {{(struct list_head *)0,
 5703                                                               (struct list_head *)0},
 5704                                                              0UL, (struct tvec_base *)0,
 5705                                                              (void (*)(unsigned long  ))0,
 5706                                                              0UL, 0, 0, (void *)0,
 5707                                                              {(char)0, (char)0, (char)0,
 5708                                                               (char)0, (char)0, (char)0,
 5709                                                               (char)0, (char)0, (char)0,
 5710                                                               (char)0, (char)0, (char)0,
 5711                                                               (char)0, (char)0, (char)0,
 5712                                                               (char)0}}, 0UL, {{0L},
 5713                                                                                {(struct list_head *)0,
 5714                                                                                 (struct list_head *)0},
 5715                                                                                (void (*)(struct work_struct *work ))0},
 5716                        {{{{{{0U}}, 0U, 0U, (void *)0}}}, {(struct list_head *)0,
 5717                                                           (struct list_head *)0}},
 5718                        {0}, {0}, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0, 0, 0,
 5719                        0, 0UL, 0UL, 0UL, 0UL, {0LL}, 0LL, (struct dev_pm_qos_request *)0,
 5720                        (struct pm_subsys_data *)0, (struct pm_qos_raints *)0},
 5721                       (struct dev_pm_domain *)0, 0, (u64 *)0, 0ULL, (struct device_dma_parameters *)0,
 5722                       {(struct list_head *)0, (struct list_head *)0}, (struct dma_coherent_mem *)0,
 5723                       {(void *)0, (struct dma_map_ops *)0, (void *)0}, (struct device_node *)0,
 5724                       0U, 0U, {{{{{0U}}, 0U, 0U, (void *)0}}}, {(struct list_head *)0,
 5725                                                                 (struct list_head *)0},
 5726                       {(void *)0, {(struct list_head *)0, (struct list_head *)0},
 5727                        {{0}}}, (struct class *)0, (struct attribute_group    **)0,
 5728                       & m2mtest_dev_release}, 0U, (struct resource *)0, (struct platform_device_id    *)0,
 5729    (struct mfd_cell *)0, {}};
 5730#line 84 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 5731static struct m2mtest_fmt formats[2]  = {      {(char *)"RGB565 (BE)", ((82U | (71U << 8)) | (66U << 16)) | (82U << 24), 16,
 5732      (u32 )(1 | (1 << 1))}, 
 5733        {(char *)"4:2:2, packed, YUYV", ((89U | (85U << 8)) | (89U << 16)) | (86U << 24),
 5734      16, (u32 )(1 << 1)}};
 5735#line 115 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 5736static struct m2mtest_q_data q_data[2]  ;
 5737#line 117 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 5738static struct m2mtest_q_data *get_q_data(enum v4l2_buf_type type ) 
 5739{ unsigned long __cil_tmp2 ;
 5740  unsigned long __cil_tmp3 ;
 5741  unsigned long __cil_tmp4 ;
 5742  unsigned long __cil_tmp5 ;
 5743  void *__cil_tmp6 ;
 5744
 5745  {
 5746#line 120
 5747  if ((int )type == 2) {
 5748#line 120
 5749    goto case_2;
 5750  } else
 5751#line 122
 5752  if ((int )type == 1) {
 5753#line 122
 5754    goto case_1;
 5755  } else {
 5756    {
 5757#line 124
 5758    goto switch_default;
 5759#line 119
 5760    if (0) {
 5761      case_2: /* CIL Label */ 
 5762      {
 5763#line 121
 5764      __cil_tmp2 = 0 * 24UL;
 5765#line 121
 5766      __cil_tmp3 = (unsigned long )(q_data) + __cil_tmp2;
 5767#line 121
 5768      return ((struct m2mtest_q_data *)__cil_tmp3);
 5769      }
 5770      case_1: /* CIL Label */ 
 5771      {
 5772#line 123
 5773      __cil_tmp4 = 1 * 24UL;
 5774#line 123
 5775      __cil_tmp5 = (unsigned long )(q_data) + __cil_tmp4;
 5776#line 123
 5777      return ((struct m2mtest_q_data *)__cil_tmp5);
 5778      }
 5779      switch_default: /* CIL Label */ 
 5780      {
 5781#line 125
 5782      while (1) {
 5783        while_continue: /* CIL Label */ ;
 5784#line 125
 5785        __asm__  volatile   ("1:\tud2\n"
 5786                             ".pushsection __bug_table,\"a\"\n"
 5787                             "2:\t.long 1b - 2b, %c0 - 2b\n"
 5788                             "\t.word %c1, 0\n"
 5789                             "\t.org 2b+%c2\n"
 5790                             ".popsection": : "i" ("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"),
 5791                             "i" (125), "i" (12UL));
 5792        {
 5793#line 125
 5794        while (1) {
 5795          while_continue___0: /* CIL Label */ ;
 5796        }
 5797        while_break___0: /* CIL Label */ ;
 5798        }
 5799#line 125
 5800        goto while_break;
 5801      }
 5802      while_break: /* CIL Label */ ;
 5803      }
 5804    } else {
 5805      switch_break: /* CIL Label */ ;
 5806    }
 5807    }
 5808  }
 5809  {
 5810#line 127
 5811  __cil_tmp6 = (void *)0;
 5812#line 127
 5813  return ((struct m2mtest_q_data *)__cil_tmp6);
 5814  }
 5815}
 5816}
 5817#line 133 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 5818static struct v4l2_queryctrl m2mtest_ctrls[2]  = {      {(__u32 )134217728, (enum v4l2_ctrl_type )1, {(__u8 )'T', (__u8 )'r', (__u8 )'a',
 5819                                                   (__u8 )'n', (__u8 )'s', (__u8 )'a',
 5820                                                   (__u8 )'c', (__u8 )'t', (__u8 )'i',
 5821                                                   (__u8 )'o', (__u8 )'n', (__u8 )' ',
 5822                                                   (__u8 )'t', (__u8 )'i', (__u8 )'m',
 5823                                                   (__u8 )'e', (__u8 )' ', (__u8 )'(',
 5824                                                   (__u8 )'m', (__u8 )'s', (__u8 )'e',
 5825                                                   (__u8 )'c', (__u8 )')', (__u8 )'\000',
 5826                                                   (unsigned char)0, (unsigned char)0,
 5827                                                   (unsigned char)0, (unsigned char)0,
 5828                                                   (unsigned char)0, (unsigned char)0,
 5829                                                   (unsigned char)0, (unsigned char)0},
 5830      1, 10000, 100, 1000, (__u32 )0, {0U, 0U}}, 
 5831        {(__u32 )134217729, (enum v4l2_ctrl_type )1, {(__u8 )'B', (__u8 )'u', (__u8 )'f',
 5832                                                   (__u8 )'f', (__u8 )'e', (__u8 )'r',
 5833                                                   (__u8 )'s', (__u8 )' ', (__u8 )'p',
 5834                                                   (__u8 )'e', (__u8 )'r', (__u8 )' ',
 5835                                                   (__u8 )'t', (__u8 )'r', (__u8 )'a',
 5836                                                   (__u8 )'n', (__u8 )'s', (__u8 )'a',
 5837                                                   (__u8 )'c', (__u8 )'t', (__u8 )'i',
 5838                                                   (__u8 )'o', (__u8 )'n', (__u8 )'\000',
 5839                                                   (unsigned char)0, (unsigned char)0,
 5840                                                   (unsigned char)0, (unsigned char)0,
 5841                                                   (unsigned char)0, (unsigned char)0,
 5842                                                   (unsigned char)0, (unsigned char)0},
 5843      1, 32, 1, 1, (__u32 )0, {0U, 0U}}};
 5844#line 157 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 5845static struct m2mtest_fmt *find_format(struct v4l2_format *f ) 
 5846{ struct m2mtest_fmt *fmt ;
 5847  unsigned int k ;
 5848  unsigned long __cil_tmp4 ;
 5849  unsigned long __cil_tmp5 ;
 5850  unsigned long __cil_tmp6 ;
 5851  unsigned long __cil_tmp7 ;
 5852  unsigned long __cil_tmp8 ;
 5853  unsigned long __cil_tmp9 ;
 5854  unsigned long __cil_tmp10 ;
 5855  unsigned long __cil_tmp11 ;
 5856  unsigned long __cil_tmp12 ;
 5857  __u32 __cil_tmp13 ;
 5858  unsigned long __cil_tmp14 ;
 5859  unsigned long __cil_tmp15 ;
 5860  u32 __cil_tmp16 ;
 5861  unsigned long __cil_tmp17 ;
 5862  unsigned long __cil_tmp18 ;
 5863  unsigned long __cil_tmp19 ;
 5864  void *__cil_tmp20 ;
 5865  unsigned long __cil_tmp21 ;
 5866  unsigned long __cil_tmp22 ;
 5867
 5868  {
 5869#line 162
 5870  k = 0U;
 5871  {
 5872#line 162
 5873  while (1) {
 5874    while_continue: /* CIL Label */ ;
 5875    {
 5876#line 162
 5877    __cil_tmp4 = 48UL / 24UL;
 5878#line 162
 5879    __cil_tmp5 = __cil_tmp4 + 0UL;
 5880#line 162
 5881    __cil_tmp6 = (unsigned long )k;
 5882#line 162
 5883    if (__cil_tmp6 < __cil_tmp5) {
 5884
 5885    } else {
 5886#line 162
 5887      goto while_break;
 5888    }
 5889    }
 5890#line 163
 5891    __cil_tmp7 = k * 24UL;
 5892#line 163
 5893    __cil_tmp8 = (unsigned long )(formats) + __cil_tmp7;
 5894#line 163
 5895    fmt = (struct m2mtest_fmt *)__cil_tmp8;
 5896    {
 5897#line 164
 5898    __cil_tmp9 = 0 + 8;
 5899#line 164
 5900    __cil_tmp10 = 8 + __cil_tmp9;
 5901#line 164
 5902    __cil_tmp11 = (unsigned long )f;
 5903#line 164
 5904    __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
 5905#line 164
 5906    __cil_tmp13 = *((__u32 *)__cil_tmp12);
 5907#line 164
 5908    __cil_tmp14 = (unsigned long )fmt;
 5909#line 164
 5910    __cil_tmp15 = __cil_tmp14 + 8;
 5911#line 164
 5912    __cil_tmp16 = *((u32 *)__cil_tmp15);
 5913#line 164
 5914    if (__cil_tmp16 == __cil_tmp13) {
 5915#line 165
 5916      goto while_break;
 5917    } else {
 5918
 5919    }
 5920    }
 5921#line 162
 5922    k = k + 1U;
 5923  }
 5924  while_break: /* CIL Label */ ;
 5925  }
 5926  {
 5927#line 168
 5928  __cil_tmp17 = 48UL / 24UL;
 5929#line 168
 5930  __cil_tmp18 = __cil_tmp17 + 0UL;
 5931#line 168
 5932  __cil_tmp19 = (unsigned long )k;
 5933#line 168
 5934  if (__cil_tmp19 == __cil_tmp18) {
 5935    {
 5936#line 169
 5937    __cil_tmp20 = (void *)0;
 5938#line 169
 5939    return ((struct m2mtest_fmt *)__cil_tmp20);
 5940    }
 5941  } else {
 5942
 5943  }
 5944  }
 5945  {
 5946#line 171
 5947  __cil_tmp21 = k * 24UL;
 5948#line 171
 5949  __cil_tmp22 = (unsigned long )(formats) + __cil_tmp21;
 5950#line 171
 5951  return ((struct m2mtest_fmt *)__cil_tmp22);
 5952  }
 5953}
 5954}
 5955#line 204 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 5956static struct v4l2_queryctrl *get_ctrl(int id ) 
 5957{ int i ;
 5958  unsigned long __cil_tmp3 ;
 5959  unsigned long __cil_tmp4 ;
 5960  unsigned long __cil_tmp5 ;
 5961  unsigned long __cil_tmp6 ;
 5962  unsigned long __cil_tmp7 ;
 5963  __u32 __cil_tmp8 ;
 5964  __u32 __cil_tmp9 ;
 5965  unsigned long __cil_tmp10 ;
 5966  unsigned long __cil_tmp11 ;
 5967  void *__cil_tmp12 ;
 5968
 5969  {
 5970#line 208
 5971  i = 0;
 5972  {
 5973#line 208
 5974  while (1) {
 5975    while_continue: /* CIL Label */ ;
 5976    {
 5977#line 208
 5978    __cil_tmp3 = 136UL / 68UL;
 5979#line 208
 5980    __cil_tmp4 = __cil_tmp3 + 0UL;
 5981#line 208
 5982    __cil_tmp5 = (unsigned long )i;
 5983#line 208
 5984    if (__cil_tmp5 < __cil_tmp4) {
 5985
 5986    } else {
 5987#line 208
 5988      goto while_break;
 5989    }
 5990    }
 5991    {
 5992#line 209
 5993    __cil_tmp6 = i * 68UL;
 5994#line 209
 5995    __cil_tmp7 = (unsigned long )(m2mtest_ctrls) + __cil_tmp6;
 5996#line 209
 5997    __cil_tmp8 = *((__u32 *)__cil_tmp7);
 5998#line 209
 5999    __cil_tmp9 = (__u32 )id;
 6000#line 209
 6001    if (__cil_tmp9 == __cil_tmp8) {
 6002      {
 6003#line 210
 6004      __cil_tmp10 = i * 68UL;
 6005#line 210
 6006      __cil_tmp11 = (unsigned long )(m2mtest_ctrls) + __cil_tmp10;
 6007#line 210
 6008      return ((struct v4l2_queryctrl *)__cil_tmp11);
 6009      }
 6010    } else {
 6011
 6012    }
 6013    }
 6014#line 208
 6015    i = i + 1;
 6016  }
 6017  while_break: /* CIL Label */ ;
 6018  }
 6019  {
 6020#line 213
 6021  __cil_tmp12 = (void *)0;
 6022#line 213
 6023  return ((struct v4l2_queryctrl *)__cil_tmp12);
 6024  }
 6025}
 6026}
 6027#line 216 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 6028static int device_process(struct m2mtest_ctx *ctx , struct vb2_buffer *in_vb , struct vb2_buffer *out_vb ) 
 6029{ struct m2mtest_dev *dev ;
 6030  struct m2mtest_q_data *q_data___0 ;
 6031  u8 *p_in ;
 6032  u8 *p_out ;
 6033  int x ;
 6034  int y ;
 6035  int t ;
 6036  int w ;
 6037  int tile_w ;
 6038  int bytes_left ;
 6039  int width ;
 6040  int height ;
 6041  int bytesperline ;
 6042  void *tmp___7 ;
 6043  void *tmp___8 ;
 6044  unsigned long tmp___9 ;
 6045  unsigned long tmp___10 ;
 6046  u8 *tmp___11 ;
 6047  u8 *tmp___12 ;
 6048  u8 *tmp___13 ;
 6049  u8 *tmp___14 ;
 6050  enum v4l2_buf_type __cil_tmp25 ;
 6051  unsigned int __cil_tmp26 ;
 6052  unsigned long __cil_tmp27 ;
 6053  unsigned long __cil_tmp28 ;
 6054  unsigned int __cil_tmp29 ;
 6055  unsigned long __cil_tmp30 ;
 6056  unsigned long __cil_tmp31 ;
 6057  struct m2mtest_fmt *__cil_tmp32 ;
 6058  unsigned long __cil_tmp33 ;
 6059  unsigned long __cil_tmp34 ;
 6060  int __cil_tmp35 ;
 6061  unsigned int __cil_tmp36 ;
 6062  unsigned int __cil_tmp37 ;
 6063  unsigned int __cil_tmp38 ;
 6064  unsigned int __cil_tmp39 ;
 6065  unsigned long __cil_tmp40 ;
 6066  unsigned long __cil_tmp41 ;
 6067  unsigned long __cil_tmp42 ;
 6068  unsigned long __cil_tmp43 ;
 6069  unsigned long __cil_tmp44 ;
 6070  char *__cil_tmp45 ;
 6071  unsigned long __cil_tmp46 ;
 6072  unsigned long __cil_tmp47 ;
 6073  unsigned long __cil_tmp48 ;
 6074  unsigned long __cil_tmp49 ;
 6075  unsigned long __cil_tmp50 ;
 6076  char *__cil_tmp51 ;
 6077  unsigned long __cil_tmp52 ;
 6078  unsigned long __cil_tmp53 ;
 6079  unsigned long __cil_tmp54 ;
 6080  unsigned long __cil_tmp55 ;
 6081  unsigned long __cil_tmp56 ;
 6082  char *__cil_tmp57 ;
 6083  struct m2mtest_q_data *__cil_tmp58 ;
 6084  unsigned long __cil_tmp59 ;
 6085  unsigned long __cil_tmp60 ;
 6086  struct m2mtest_fmt *__cil_tmp61 ;
 6087  unsigned long __cil_tmp62 ;
 6088  unsigned long __cil_tmp63 ;
 6089  int __cil_tmp64 ;
 6090  int __cil_tmp65 ;
 6091  int __cil_tmp66 ;
 6092  int __cil_tmp67 ;
 6093  int __cil_tmp68 ;
 6094  u8 __cil_tmp69 ;
 6095  int __cil_tmp70 ;
 6096  int __cil_tmp71 ;
 6097  int __cil_tmp72 ;
 6098  u8 __cil_tmp73 ;
 6099  int __cil_tmp74 ;
 6100  int __cil_tmp75 ;
 6101
 6102  {
 6103  {
 6104#line 220
 6105  dev = *((struct m2mtest_dev **)ctx);
 6106#line 227
 6107  __cil_tmp25 = (enum v4l2_buf_type )2;
 6108#line 227
 6109  q_data___0 = get_q_data(__cil_tmp25);
 6110#line 229
 6111  __cil_tmp26 = *((unsigned int *)q_data___0);
 6112#line 229
 6113  width = (int )__cil_tmp26;
 6114#line 230
 6115  __cil_tmp27 = (unsigned long )q_data___0;
 6116#line 230
 6117  __cil_tmp28 = __cil_tmp27 + 4;
 6118#line 230
 6119  __cil_tmp29 = *((unsigned int *)__cil_tmp28);
 6120#line 230
 6121  height = (int )__cil_tmp29;
 6122#line 231
 6123  __cil_tmp30 = (unsigned long )q_data___0;
 6124#line 231
 6125  __cil_tmp31 = __cil_tmp30 + 16;
 6126#line 231
 6127  __cil_tmp32 = *((struct m2mtest_fmt **)__cil_tmp31);
 6128#line 231
 6129  __cil_tmp33 = (unsigned long )__cil_tmp32;
 6130#line 231
 6131  __cil_tmp34 = __cil_tmp33 + 12;
 6132#line 231
 6133  __cil_tmp35 = *((int *)__cil_tmp34);
 6134#line 231
 6135  __cil_tmp36 = (unsigned int )__cil_tmp35;
 6136#line 231
 6137  __cil_tmp37 = *((unsigned int *)q_data___0);
 6138#line 231
 6139  __cil_tmp38 = __cil_tmp37 * __cil_tmp36;
 6140#line 231
 6141  __cil_tmp39 = __cil_tmp38 >> 3;
 6142#line 231
 6143  bytesperline = (int )__cil_tmp39;
 6144#line 233
 6145  tmp___7 = vb2_plane_vaddr(in_vb, 0U);
 6146#line 233
 6147  p_in = (u8 *)tmp___7;
 6148#line 234
 6149  tmp___8 = vb2_plane_vaddr(out_vb, 0U);
 6150#line 234
 6151  p_out = (u8 *)tmp___8;
 6152  }
 6153#line 235
 6154  if (! p_in) {
 6155    {
 6156#line 236
 6157    __cil_tmp40 = 0 * 1UL;
 6158#line 236
 6159    __cil_tmp41 = 56 + __cil_tmp40;
 6160#line 236
 6161    __cil_tmp42 = 0 + __cil_tmp41;
 6162#line 236
 6163    __cil_tmp43 = (unsigned long )dev;
 6164#line 236
 6165    __cil_tmp44 = __cil_tmp43 + __cil_tmp42;
 6166#line 236
 6167    __cil_tmp45 = (char *)__cil_tmp44;
 6168#line 236
 6169    printk("<3>%s: Acquiring kernel pointers to buffers failed\n", __cil_tmp45);
 6170    }
 6171#line 238
 6172    return (-14);
 6173  } else
 6174#line 235
 6175  if (! p_out) {
 6176    {
 6177#line 236
 6178    __cil_tmp46 = 0 * 1UL;
 6179#line 236
 6180    __cil_tmp47 = 56 + __cil_tmp46;
 6181#line 236
 6182    __cil_tmp48 = 0 + __cil_tmp47;
 6183#line 236
 6184    __cil_tmp49 = (unsigned long )dev;
 6185#line 236
 6186    __cil_tmp50 = __cil_tmp49 + __cil_tmp48;
 6187#line 236
 6188    __cil_tmp51 = (char *)__cil_tmp50;
 6189#line 236
 6190    printk("<3>%s: Acquiring kernel pointers to buffers failed\n", __cil_tmp51);
 6191    }
 6192#line 238
 6193    return (-14);
 6194  } else {
 6195
 6196  }
 6197  {
 6198#line 241
 6199  tmp___9 = vb2_plane_size(in_vb, 0U);
 6200#line 241
 6201  tmp___10 = vb2_plane_size(out_vb, 0U);
 6202  }
 6203#line 241
 6204  if (tmp___9 > tmp___10) {
 6205    {
 6206#line 242
 6207    __cil_tmp52 = 0 * 1UL;
 6208#line 242
 6209    __cil_tmp53 = 56 + __cil_tmp52;
 6210#line 242
 6211    __cil_tmp54 = 0 + __cil_tmp53;
 6212#line 242
 6213    __cil_tmp55 = (unsigned long )dev;
 6214#line 242
 6215    __cil_tmp56 = __cil_tmp55 + __cil_tmp54;
 6216#line 242
 6217    __cil_tmp57 = (char *)__cil_tmp56;
 6218#line 242
 6219    printk("<3>%s: Output buffer is too small\n", __cil_tmp57);
 6220    }
 6221#line 243
 6222    return (-22);
 6223  } else {
 6224
 6225  }
 6226#line 246
 6227  __cil_tmp58 = q_data___0 + 1;
 6228#line 246
 6229  __cil_tmp59 = (unsigned long )__cil_tmp58;
 6230#line 246
 6231  __cil_tmp60 = __cil_tmp59 + 16;
 6232#line 246
 6233  __cil_tmp61 = *((struct m2mtest_fmt **)__cil_tmp60);
 6234#line 246
 6235  __cil_tmp62 = (unsigned long )__cil_tmp61;
 6236#line 246
 6237  __cil_tmp63 = __cil_tmp62 + 12;
 6238#line 246
 6239  __cil_tmp64 = *((int *)__cil_tmp63);
 6240#line 246
 6241  __cil_tmp65 = __cil_tmp64 >> 3;
 6242#line 246
 6243  __cil_tmp66 = width * __cil_tmp65;
 6244#line 246
 6245  tile_w = __cil_tmp66 / 8;
 6246#line 248
 6247  __cil_tmp67 = tile_w * 8;
 6248#line 248
 6249  bytes_left = bytesperline - __cil_tmp67;
 6250#line 249
 6251  w = 0;
 6252#line 251
 6253  y = 0;
 6254  {
 6255#line 251
 6256  while (1) {
 6257    while_continue: /* CIL Label */ ;
 6258#line 251
 6259    if (y < height) {
 6260
 6261    } else {
 6262#line 251
 6263      goto while_break;
 6264    }
 6265#line 252
 6266    t = 0;
 6267    {
 6268#line 252
 6269    while (1) {
 6270      while_continue___0: /* CIL Label */ ;
 6271#line 252
 6272      if (t < 8) {
 6273
 6274      } else {
 6275#line 252
 6276        goto while_break___0;
 6277      }
 6278#line 253
 6279      if (w & 1) {
 6280#line 254
 6281        x = 0;
 6282        {
 6283#line 254
 6284        while (1) {
 6285          while_continue___1: /* CIL Label */ ;
 6286#line 254
 6287          if (x < tile_w) {
 6288
 6289          } else {
 6290#line 254
 6291            goto while_break___1;
 6292          }
 6293#line 255
 6294          tmp___11 = p_out;
 6295#line 255
 6296          p_out = p_out + 1;
 6297#line 255
 6298          tmp___12 = p_in;
 6299#line 255
 6300          p_in = p_in + 1;
 6301#line 255
 6302          __cil_tmp68 = 255 >> 4;
 6303#line 255
 6304          __cil_tmp69 = *tmp___12;
 6305#line 255
 6306          __cil_tmp70 = (int )__cil_tmp69;
 6307#line 255
 6308          __cil_tmp71 = __cil_tmp70 + __cil_tmp68;
 6309#line 255
 6310          *tmp___11 = (u8 )__cil_tmp71;
 6311#line 254
 6312          x = x + 1;
 6313        }
 6314        while_break___1: /* CIL Label */ ;
 6315        }
 6316      } else {
 6317#line 257
 6318        x = 0;
 6319        {
 6320#line 257
 6321        while (1) {
 6322          while_continue___2: /* CIL Label */ ;
 6323#line 257
 6324          if (x < tile_w) {
 6325
 6326          } else {
 6327#line 257
 6328            goto while_break___2;
 6329          }
 6330#line 258
 6331          tmp___13 = p_out;
 6332#line 258
 6333          p_out = p_out + 1;
 6334#line 258
 6335          tmp___14 = p_in;
 6336#line 258
 6337          p_in = p_in + 1;
 6338#line 258
 6339          __cil_tmp72 = 255 >> 4;
 6340#line 258
 6341          __cil_tmp73 = *tmp___14;
 6342#line 258
 6343          __cil_tmp74 = (int )__cil_tmp73;
 6344#line 258
 6345          __cil_tmp75 = __cil_tmp74 - __cil_tmp72;
 6346#line 258
 6347          *tmp___13 = (u8 )__cil_tmp75;
 6348#line 257
 6349          x = x + 1;
 6350        }
 6351        while_break___2: /* CIL Label */ ;
 6352        }
 6353      }
 6354#line 260
 6355      w = w + 1;
 6356#line 252
 6357      t = t + 1;
 6358    }
 6359    while_break___0: /* CIL Label */ ;
 6360    }
 6361#line 262
 6362    p_in = p_in + bytes_left;
 6363#line 263
 6364    p_out = p_out + bytes_left;
 6365#line 251
 6366    y = y + 1;
 6367  }
 6368  while_break: /* CIL Label */ ;
 6369  }
 6370#line 266
 6371  return (0);
 6372}
 6373}
 6374#line 269 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 6375static void schedule_irq(struct m2mtest_dev *dev , int msec_timeout ) 
 6376{ unsigned long tmp___7 ;
 6377  unsigned long __cil_tmp4 ;
 6378  unsigned long __cil_tmp5 ;
 6379  unsigned long __cil_tmp6 ;
 6380  unsigned long __cil_tmp7 ;
 6381  unsigned long __cil_tmp8 ;
 6382  char *__cil_tmp9 ;
 6383  unsigned int    __cil_tmp10 ;
 6384  unsigned long __cil_tmp11 ;
 6385  unsigned long __cil_tmp12 ;
 6386  struct timer_list *__cil_tmp13 ;
 6387  unsigned long volatile   __cil_tmp14 ;
 6388  unsigned long volatile   __cil_tmp15 ;
 6389  unsigned long __cil_tmp16 ;
 6390
 6391  {
 6392  {
 6393#line 271
 6394  while (1) {
 6395    while_continue: /* CIL Label */ ;
 6396    {
 6397#line 271
 6398    __cil_tmp4 = 0 * 1UL;
 6399#line 271
 6400    __cil_tmp5 = 56 + __cil_tmp4;
 6401#line 271
 6402    __cil_tmp6 = 0 + __cil_tmp5;
 6403#line 271
 6404    __cil_tmp7 = (unsigned long )dev;
 6405#line 271
 6406    __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
 6407#line 271
 6408    __cil_tmp9 = (char *)__cil_tmp8;
 6409#line 271
 6410    printk("<7>%s: %s: Scheduling a simulated irq\n", __cil_tmp9, "schedule_irq");
 6411    }
 6412#line 271
 6413    goto while_break;
 6414  }
 6415  while_break: /* CIL Label */ ;
 6416  }
 6417  {
 6418#line 272
 6419  __cil_tmp10 = (unsigned int    )msec_timeout;
 6420#line 272
 6421  tmp___7 = msecs_to_jiffies(__cil_tmp10);
 6422#line 272
 6423  __cil_tmp11 = (unsigned long )dev;
 6424#line 272
 6425  __cil_tmp12 = __cil_tmp11 + 328;
 6426#line 272
 6427  __cil_tmp13 = (struct timer_list *)__cil_tmp12;
 6428#line 272
 6429  __cil_tmp14 = (unsigned long volatile   )tmp___7;
 6430#line 272
 6431  __cil_tmp15 = jiffies + __cil_tmp14;
 6432#line 272
 6433  __cil_tmp16 = (unsigned long )__cil_tmp15;
 6434#line 272
 6435  mod_timer(__cil_tmp13, __cil_tmp16);
 6436  }
 6437#line 273
 6438  return;
 6439}
 6440}
 6441#line 282 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 6442static int job_ready(void *priv ) 
 6443{ struct m2mtest_ctx *ctx ;
 6444  unsigned int tmp___7 ;
 6445  unsigned int tmp___8 ;
 6446  unsigned long __cil_tmp5 ;
 6447  unsigned long __cil_tmp6 ;
 6448  struct v4l2_m2m_ctx *__cil_tmp7 ;
 6449  unsigned long __cil_tmp8 ;
 6450  unsigned long __cil_tmp9 ;
 6451  u32 __cil_tmp10 ;
 6452  unsigned long __cil_tmp11 ;
 6453  unsigned long __cil_tmp12 ;
 6454  struct v4l2_m2m_ctx *__cil_tmp13 ;
 6455  unsigned long __cil_tmp14 ;
 6456  unsigned long __cil_tmp15 ;
 6457  u32 __cil_tmp16 ;
 6458  unsigned long __cil_tmp17 ;
 6459  unsigned long __cil_tmp18 ;
 6460  unsigned long __cil_tmp19 ;
 6461  struct m2mtest_dev *__cil_tmp20 ;
 6462  unsigned long __cil_tmp21 ;
 6463  unsigned long __cil_tmp22 ;
 6464  char *__cil_tmp23 ;
 6465
 6466  {
 6467  {
 6468#line 284
 6469  ctx = (struct m2mtest_ctx *)priv;
 6470#line 286
 6471  __cil_tmp5 = (unsigned long )ctx;
 6472#line 286
 6473  __cil_tmp6 = __cil_tmp5 + 24;
 6474#line 286
 6475  __cil_tmp7 = *((struct v4l2_m2m_ctx **)__cil_tmp6);
 6476#line 286
 6477  tmp___7 = v4l2_m2m_num_src_bufs_ready(__cil_tmp7);
 6478  }
 6479  {
 6480#line 286
 6481  __cil_tmp8 = (unsigned long )ctx;
 6482#line 286
 6483  __cil_tmp9 = __cil_tmp8 + 12;
 6484#line 286
 6485  __cil_tmp10 = *((u32 *)__cil_tmp9);
 6486#line 286
 6487  if (tmp___7 < __cil_tmp10) {
 6488#line 286
 6489    goto _L;
 6490  } else {
 6491    {
 6492#line 286
 6493    __cil_tmp11 = (unsigned long )ctx;
 6494#line 286
 6495    __cil_tmp12 = __cil_tmp11 + 24;
 6496#line 286
 6497    __cil_tmp13 = *((struct v4l2_m2m_ctx **)__cil_tmp12);
 6498#line 286
 6499    tmp___8 = v4l2_m2m_num_dst_bufs_ready(__cil_tmp13);
 6500    }
 6501    {
 6502#line 286
 6503    __cil_tmp14 = (unsigned long )ctx;
 6504#line 286
 6505    __cil_tmp15 = __cil_tmp14 + 12;
 6506#line 286
 6507    __cil_tmp16 = *((u32 *)__cil_tmp15);
 6508#line 286
 6509    if (tmp___8 < __cil_tmp16) {
 6510      _L: /* CIL Label */ 
 6511      {
 6512#line 288
 6513      while (1) {
 6514        while_continue: /* CIL Label */ ;
 6515        {
 6516#line 288
 6517        __cil_tmp17 = 0 * 1UL;
 6518#line 288
 6519        __cil_tmp18 = 56 + __cil_tmp17;
 6520#line 288
 6521        __cil_tmp19 = 0 + __cil_tmp18;
 6522#line 288
 6523        __cil_tmp20 = *((struct m2mtest_dev **)ctx);
 6524#line 288
 6525        __cil_tmp21 = (unsigned long )__cil_tmp20;
 6526#line 288
 6527        __cil_tmp22 = __cil_tmp21 + __cil_tmp19;
 6528#line 288
 6529        __cil_tmp23 = (char *)__cil_tmp22;
 6530#line 288
 6531        printk("<7>%s: %s: Not enough buffers available\n", __cil_tmp23, "job_ready");
 6532        }
 6533#line 288
 6534        goto while_break;
 6535      }
 6536      while_break: /* CIL Label */ ;
 6537      }
 6538#line 289
 6539      return (0);
 6540    } else {
 6541
 6542    }
 6543    }
 6544  }
 6545  }
 6546#line 292
 6547  return (1);
 6548}
 6549}
 6550#line 295 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 6551static void job_abort(void *priv ) 
 6552{ struct m2mtest_ctx *ctx ;
 6553  unsigned long __cil_tmp3 ;
 6554  unsigned long __cil_tmp4 ;
 6555
 6556  {
 6557#line 297
 6558  ctx = (struct m2mtest_ctx *)priv;
 6559#line 300
 6560  __cil_tmp3 = (unsigned long )ctx;
 6561#line 300
 6562  __cil_tmp4 = __cil_tmp3 + 20;
 6563#line 300
 6564  *((int *)__cil_tmp4) = 1;
 6565#line 301
 6566  return;
 6567}
 6568}
 6569#line 303 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 6570static void m2mtest_lock(void *priv ) 
 6571{ struct m2mtest_ctx *ctx ;
 6572  struct m2mtest_dev *dev ;
 6573  unsigned long __cil_tmp4 ;
 6574  unsigned long __cil_tmp5 ;
 6575  struct mutex *__cil_tmp6 ;
 6576
 6577  {
 6578  {
 6579#line 305
 6580  ctx = (struct m2mtest_ctx *)priv;
 6581#line 306
 6582  dev = *((struct m2mtest_dev **)ctx);
 6583#line 307
 6584  __cil_tmp4 = (unsigned long )dev;
 6585#line 307
 6586  __cil_tmp5 = __cil_tmp4 + 232;
 6587#line 307
 6588  __cil_tmp6 = (struct mutex *)__cil_tmp5;
 6589#line 307
 6590  mutex_lock(__cil_tmp6);
 6591  }
 6592#line 308
 6593  return;
 6594}
 6595}
 6596#line 310 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 6597static void m2mtest_unlock(void *priv ) 
 6598{ struct m2mtest_ctx *ctx ;
 6599  struct m2mtest_dev *dev ;
 6600  unsigned long __cil_tmp4 ;
 6601  unsigned long __cil_tmp5 ;
 6602  struct mutex *__cil_tmp6 ;
 6603
 6604  {
 6605  {
 6606#line 312
 6607  ctx = (struct m2mtest_ctx *)priv;
 6608#line 313
 6609  dev = *((struct m2mtest_dev **)ctx);
 6610#line 314
 6611  __cil_tmp4 = (unsigned long )dev;
 6612#line 314
 6613  __cil_tmp5 = __cil_tmp4 + 232;
 6614#line 314
 6615  __cil_tmp6 = (struct mutex *)__cil_tmp5;
 6616#line 314
 6617  mutex_unlock(__cil_tmp6);
 6618  }
 6619#line 315
 6620  return;
 6621}
 6622}
 6623#line 324 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 6624static void device_run(void *priv ) 
 6625{ struct m2mtest_ctx *ctx ;
 6626  struct m2mtest_dev *dev ;
 6627  struct vb2_buffer *src_buf ;
 6628  struct vb2_buffer *dst_buf ;
 6629  void *tmp___7 ;
 6630  void *tmp___8 ;
 6631  unsigned long __cil_tmp8 ;
 6632  unsigned long __cil_tmp9 ;
 6633  struct v4l2_m2m_ctx *__cil_tmp10 ;
 6634  unsigned long __cil_tmp11 ;
 6635  unsigned long __cil_tmp12 ;
 6636  struct v4l2_m2m_ctx *__cil_tmp13 ;
 6637  unsigned long __cil_tmp14 ;
 6638  unsigned long __cil_tmp15 ;
 6639  u32 __cil_tmp16 ;
 6640  int __cil_tmp17 ;
 6641
 6642  {
 6643  {
 6644#line 326
 6645  ctx = (struct m2mtest_ctx *)priv;
 6646#line 327
 6647  dev = *((struct m2mtest_dev **)ctx);
 6648#line 330
 6649  __cil_tmp8 = (unsigned long )ctx;
 6650#line 330
 6651  __cil_tmp9 = __cil_tmp8 + 24;
 6652#line 330
 6653  __cil_tmp10 = *((struct v4l2_m2m_ctx **)__cil_tmp9);
 6654#line 330
 6655  tmp___7 = v4l2_m2m_next_src_buf(__cil_tmp10);
 6656#line 330
 6657  src_buf = (struct vb2_buffer *)tmp___7;
 6658#line 331
 6659  __cil_tmp11 = (unsigned long )ctx;
 6660#line 331
 6661  __cil_tmp12 = __cil_tmp11 + 24;
 6662#line 331
 6663  __cil_tmp13 = *((struct v4l2_m2m_ctx **)__cil_tmp12);
 6664#line 331
 6665  tmp___8 = v4l2_m2m_next_dst_buf(__cil_tmp13);
 6666#line 331
 6667  dst_buf = (struct vb2_buffer *)tmp___8;
 6668#line 333
 6669  device_process(ctx, src_buf, dst_buf);
 6670#line 336
 6671  __cil_tmp14 = (unsigned long )ctx;
 6672#line 336
 6673  __cil_tmp15 = __cil_tmp14 + 16;
 6674#line 336
 6675  __cil_tmp16 = *((u32 *)__cil_tmp15);
 6676#line 336
 6677  __cil_tmp17 = (int )__cil_tmp16;
 6678#line 336
 6679  schedule_irq(dev, __cil_tmp17);
 6680  }
 6681#line 337
 6682  return;
 6683}
 6684}
 6685#line 339 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 6686static void device_isr(unsigned long priv ) 
 6687{ struct m2mtest_dev *m2mtest_dev ;
 6688  struct m2mtest_ctx *curr_ctx ;
 6689  struct vb2_buffer *src_vb ;
 6690  struct vb2_buffer *dst_vb ;
 6691  unsigned long flags ;
 6692  void *tmp___7 ;
 6693  void *tmp___8 ;
 6694  void *tmp___9 ;
 6695  raw_spinlock_t *tmp___10 ;
 6696  unsigned long __cil_tmp13 ;
 6697  unsigned long __cil_tmp14 ;
 6698  struct v4l2_m2m_dev *__cil_tmp15 ;
 6699  unsigned long __cil_tmp16 ;
 6700  void *__cil_tmp17 ;
 6701  unsigned long __cil_tmp18 ;
 6702  unsigned long __cil_tmp19 ;
 6703  unsigned long __cil_tmp20 ;
 6704  struct v4l2_m2m_ctx *__cil_tmp21 ;
 6705  unsigned long __cil_tmp22 ;
 6706  unsigned long __cil_tmp23 ;
 6707  struct v4l2_m2m_ctx *__cil_tmp24 ;
 6708  unsigned long __cil_tmp25 ;
 6709  unsigned long __cil_tmp26 ;
 6710  unsigned long __cil_tmp27 ;
 6711  unsigned long __cil_tmp28 ;
 6712  u8 __cil_tmp29 ;
 6713  int __cil_tmp30 ;
 6714  int __cil_tmp31 ;
 6715  unsigned long __cil_tmp32 ;
 6716  unsigned long __cil_tmp33 ;
 6717  spinlock_t *__cil_tmp34 ;
 6718  enum vb2_buffer_state __cil_tmp35 ;
 6719  enum vb2_buffer_state __cil_tmp36 ;
 6720  unsigned long __cil_tmp37 ;
 6721  unsigned long __cil_tmp38 ;
 6722  spinlock_t *__cil_tmp39 ;
 6723  unsigned long __cil_tmp40 ;
 6724  unsigned long __cil_tmp41 ;
 6725  u32 __cil_tmp42 ;
 6726  unsigned long __cil_tmp43 ;
 6727  unsigned long __cil_tmp44 ;
 6728  u8 __cil_tmp45 ;
 6729  u32 __cil_tmp46 ;
 6730  unsigned long __cil_tmp47 ;
 6731  unsigned long __cil_tmp48 ;
 6732  unsigned long __cil_tmp49 ;
 6733  unsigned long __cil_tmp50 ;
 6734  unsigned long __cil_tmp51 ;
 6735  struct m2mtest_dev *__cil_tmp52 ;
 6736  unsigned long __cil_tmp53 ;
 6737  unsigned long __cil_tmp54 ;
 6738  char *__cil_tmp55 ;
 6739  unsigned long __cil_tmp56 ;
 6740  unsigned long __cil_tmp57 ;
 6741  unsigned long __cil_tmp58 ;
 6742  unsigned long __cil_tmp59 ;
 6743  struct v4l2_m2m_dev *__cil_tmp60 ;
 6744  unsigned long __cil_tmp61 ;
 6745  unsigned long __cil_tmp62 ;
 6746  struct v4l2_m2m_ctx *__cil_tmp63 ;
 6747  void *__cil_tmp64 ;
 6748
 6749  {
 6750  {
 6751#line 341
 6752  m2mtest_dev = (struct m2mtest_dev *)priv;
 6753#line 346
 6754  __cil_tmp13 = (unsigned long )m2mtest_dev;
 6755#line 346
 6756  __cil_tmp14 = __cil_tmp13 + 408;
 6757#line 346
 6758  __cil_tmp15 = *((struct v4l2_m2m_dev **)__cil_tmp14);
 6759#line 346
 6760  tmp___7 = v4l2_m2m_get_curr_priv(__cil_tmp15);
 6761#line 346
 6762  curr_ctx = (struct m2mtest_ctx *)tmp___7;
 6763  }
 6764  {
 6765#line 348
 6766  __cil_tmp16 = (unsigned long )curr_ctx;
 6767#line 348
 6768  __cil_tmp17 = (void *)0;
 6769#line 348
 6770  __cil_tmp18 = (unsigned long )__cil_tmp17;
 6771#line 348
 6772  if (__cil_tmp18 == __cil_tmp16) {
 6773    {
 6774#line 349
 6775    printk("<3>Instance released before the end of transaction\n");
 6776    }
 6777#line 351
 6778    return;
 6779  } else {
 6780
 6781  }
 6782  }
 6783  {
 6784#line 354
 6785  __cil_tmp19 = (unsigned long )curr_ctx;
 6786#line 354
 6787  __cil_tmp20 = __cil_tmp19 + 24;
 6788#line 354
 6789  __cil_tmp21 = *((struct v4l2_m2m_ctx **)__cil_tmp20);
 6790#line 354
 6791  tmp___8 = v4l2_m2m_src_buf_remove(__cil_tmp21);
 6792#line 354
 6793  src_vb = (struct vb2_buffer *)tmp___8;
 6794#line 355
 6795  __cil_tmp22 = (unsigned long )curr_ctx;
 6796#line 355
 6797  __cil_tmp23 = __cil_tmp22 + 24;
 6798#line 355
 6799  __cil_tmp24 = *((struct v4l2_m2m_ctx **)__cil_tmp23);
 6800#line 355
 6801  tmp___9 = v4l2_m2m_dst_buf_remove(__cil_tmp24);
 6802#line 355
 6803  dst_vb = (struct vb2_buffer *)tmp___9;
 6804#line 357
 6805  __cil_tmp25 = (unsigned long )curr_ctx;
 6806#line 357
 6807  __cil_tmp26 = __cil_tmp25 + 8;
 6808#line 357
 6809  __cil_tmp27 = (unsigned long )curr_ctx;
 6810#line 357
 6811  __cil_tmp28 = __cil_tmp27 + 8;
 6812#line 357
 6813  __cil_tmp29 = *((u8 *)__cil_tmp28);
 6814#line 357
 6815  __cil_tmp30 = (int )__cil_tmp29;
 6816#line 357
 6817  __cil_tmp31 = __cil_tmp30 + 1;
 6818#line 357
 6819  *((u8 *)__cil_tmp26) = (u8 )__cil_tmp31;
 6820  }
 6821  {
 6822#line 359
 6823  while (1) {
 6824    while_continue: /* CIL Label */ ;
 6825    {
 6826#line 359
 6827    while (1) {
 6828      while_continue___0: /* CIL Label */ ;
 6829      {
 6830#line 359
 6831      __cil_tmp32 = (unsigned long )m2mtest_dev;
 6832#line 359
 6833      __cil_tmp33 = __cil_tmp32 + 304;
 6834#line 359
 6835      __cil_tmp34 = (spinlock_t *)__cil_tmp33;
 6836#line 359
 6837      tmp___10 = spinlock_check(__cil_tmp34);
 6838#line 359
 6839      flags = _raw_spin_lock_irqsave(tmp___10);
 6840      }
 6841#line 359
 6842      goto while_break___0;
 6843    }
 6844    while_break___0: /* CIL Label */ ;
 6845    }
 6846#line 359
 6847    goto while_break;
 6848  }
 6849  while_break: /* CIL Label */ ;
 6850  }
 6851  {
 6852#line 360
 6853  __cil_tmp35 = (enum vb2_buffer_state )4;
 6854#line 360
 6855  v4l2_m2m_buf_done(src_vb, __cil_tmp35);
 6856#line 361
 6857  __cil_tmp36 = (enum vb2_buffer_state )4;
 6858#line 361
 6859  v4l2_m2m_buf_done(dst_vb, __cil_tmp36);
 6860#line 362
 6861  __cil_tmp37 = (unsigned long )m2mtest_dev;
 6862#line 362
 6863  __cil_tmp38 = __cil_tmp37 + 304;
 6864#line 362
 6865  __cil_tmp39 = (spinlock_t *)__cil_tmp38;
 6866#line 362
 6867  spin_unlock_irqrestore(__cil_tmp39, flags);
 6868  }
 6869  {
 6870#line 364
 6871  __cil_tmp40 = (unsigned long )curr_ctx;
 6872#line 364
 6873  __cil_tmp41 = __cil_tmp40 + 12;
 6874#line 364
 6875  __cil_tmp42 = *((u32 *)__cil_tmp41);
 6876#line 364
 6877  __cil_tmp43 = (unsigned long )curr_ctx;
 6878#line 364
 6879  __cil_tmp44 = __cil_tmp43 + 8;
 6880#line 364
 6881  __cil_tmp45 = *((u8 *)__cil_tmp44);
 6882#line 364
 6883  __cil_tmp46 = (u32 )__cil_tmp45;
 6884#line 364
 6885  if (__cil_tmp46 == __cil_tmp42) {
 6886#line 364
 6887    goto _L;
 6888  } else {
 6889    {
 6890#line 364
 6891    __cil_tmp47 = (unsigned long )curr_ctx;
 6892#line 364
 6893    __cil_tmp48 = __cil_tmp47 + 20;
 6894#line 364
 6895    if (*((int *)__cil_tmp48)) {
 6896      _L: /* CIL Label */ 
 6897      {
 6898#line 366
 6899      while (1) {
 6900        while_continue___1: /* CIL Label */ ;
 6901        {
 6902#line 366
 6903        __cil_tmp49 = 0 * 1UL;
 6904#line 366
 6905        __cil_tmp50 = 56 + __cil_tmp49;
 6906#line 366
 6907        __cil_tmp51 = 0 + __cil_tmp50;
 6908#line 366
 6909        __cil_tmp52 = *((struct m2mtest_dev **)curr_ctx);
 6910#line 366
 6911        __cil_tmp53 = (unsigned long )__cil_tmp52;
 6912#line 366
 6913        __cil_tmp54 = __cil_tmp53 + __cil_tmp51;
 6914#line 366
 6915        __cil_tmp55 = (char *)__cil_tmp54;
 6916#line 366
 6917        printk("<7>%s: %s: Finishing transaction\n", __cil_tmp55, "device_isr");
 6918        }
 6919#line 366
 6920        goto while_break___1;
 6921      }
 6922      while_break___1: /* CIL Label */ ;
 6923      }
 6924      {
 6925#line 367
 6926      __cil_tmp56 = (unsigned long )curr_ctx;
 6927#line 367
 6928      __cil_tmp57 = __cil_tmp56 + 8;
 6929#line 367
 6930      *((u8 *)__cil_tmp57) = (u8 )0;
 6931#line 368
 6932      __cil_tmp58 = (unsigned long )m2mtest_dev;
 6933#line 368
 6934      __cil_tmp59 = __cil_tmp58 + 408;
 6935#line 368
 6936      __cil_tmp60 = *((struct v4l2_m2m_dev **)__cil_tmp59);
 6937#line 368
 6938      __cil_tmp61 = (unsigned long )curr_ctx;
 6939#line 368
 6940      __cil_tmp62 = __cil_tmp61 + 24;
 6941#line 368
 6942      __cil_tmp63 = *((struct v4l2_m2m_ctx **)__cil_tmp62);
 6943#line 368
 6944      v4l2_m2m_job_finish(__cil_tmp60, __cil_tmp63);
 6945      }
 6946    } else {
 6947      {
 6948#line 370
 6949      __cil_tmp64 = (void *)curr_ctx;
 6950#line 370
 6951      device_run(__cil_tmp64);
 6952      }
 6953    }
 6954    }
 6955  }
 6956  }
 6957#line 372
 6958  return;
 6959}
 6960}
 6961#line 377 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 6962static int vidioc_querycap(struct file *file , void *priv , struct v4l2_capability *cap ) 
 6963{ unsigned long __cil_tmp4 ;
 6964  unsigned long __cil_tmp5 ;
 6965  unsigned long __cil_tmp6 ;
 6966  unsigned long __cil_tmp7 ;
 6967  __u8 *__cil_tmp8 ;
 6968  char *__cil_tmp9 ;
 6969  unsigned long __cil_tmp10 ;
 6970  unsigned long __cil_tmp11 ;
 6971  unsigned long __cil_tmp12 ;
 6972  unsigned long __cil_tmp13 ;
 6973  unsigned long __cil_tmp14 ;
 6974  __u8 *__cil_tmp15 ;
 6975  char *__cil_tmp16 ;
 6976  unsigned long __cil_tmp17 ;
 6977  unsigned long __cil_tmp18 ;
 6978  unsigned long __cil_tmp19 ;
 6979  unsigned long __cil_tmp20 ;
 6980  unsigned long __cil_tmp21 ;
 6981  unsigned long __cil_tmp22 ;
 6982  unsigned long __cil_tmp23 ;
 6983
 6984  {
 6985  {
 6986#line 380
 6987  __cil_tmp4 = 0 * 1UL;
 6988#line 380
 6989  __cil_tmp5 = 0 + __cil_tmp4;
 6990#line 380
 6991  __cil_tmp6 = (unsigned long )cap;
 6992#line 380
 6993  __cil_tmp7 = __cil_tmp6 + __cil_tmp5;
 6994#line 380
 6995  __cil_tmp8 = (__u8 *)__cil_tmp7;
 6996#line 380
 6997  __cil_tmp9 = (char *)__cil_tmp8;
 6998#line 380
 6999  __cil_tmp10 = 16UL - 1UL;
 7000#line 380
 7001  strncpy(__cil_tmp9, "m2m-testdev", __cil_tmp10);
 7002#line 381
 7003  __cil_tmp11 = 0 * 1UL;
 7004#line 381
 7005  __cil_tmp12 = 16 + __cil_tmp11;
 7006#line 381
 7007  __cil_tmp13 = (unsigned long )cap;
 7008#line 381
 7009  __cil_tmp14 = __cil_tmp13 + __cil_tmp12;
 7010#line 381
 7011  __cil_tmp15 = (__u8 *)__cil_tmp14;
 7012#line 381
 7013  __cil_tmp16 = (char *)__cil_tmp15;
 7014#line 381
 7015  __cil_tmp17 = 32UL - 1UL;
 7016#line 381
 7017  strncpy(__cil_tmp16, "m2m-testdev", __cil_tmp17);
 7018#line 382
 7019  __cil_tmp18 = 0 * 1UL;
 7020#line 382
 7021  __cil_tmp19 = 48 + __cil_tmp18;
 7022#line 382
 7023  __cil_tmp20 = (unsigned long )cap;
 7024#line 382
 7025  __cil_tmp21 = __cil_tmp20 + __cil_tmp19;
 7026#line 382
 7027  *((__u8 *)__cil_tmp21) = (__u8 )0;
 7028#line 383
 7029  __cil_tmp22 = (unsigned long )cap;
 7030#line 383
 7031  __cil_tmp23 = __cil_tmp22 + 84;
 7032#line 383
 7033  *((__u32 *)__cil_tmp23) = (__u32 )67108867;
 7034  }
 7035#line 386
 7036  return (0);
 7037}
 7038}
 7039#line 389 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 7040static int enum_fmt(struct v4l2_fmtdesc *f , u32 type ) 
 7041{ int i ;
 7042  int num ;
 7043  struct m2mtest_fmt *fmt ;
 7044  unsigned long __cil_tmp6 ;
 7045  unsigned long __cil_tmp7 ;
 7046  unsigned long __cil_tmp8 ;
 7047  unsigned long __cil_tmp9 ;
 7048  unsigned long __cil_tmp10 ;
 7049  unsigned long __cil_tmp11 ;
 7050  u32 __cil_tmp12 ;
 7051  __u32 __cil_tmp13 ;
 7052  __u32 __cil_tmp14 ;
 7053  unsigned long __cil_tmp15 ;
 7054  unsigned long __cil_tmp16 ;
 7055  unsigned long __cil_tmp17 ;
 7056  unsigned long __cil_tmp18 ;
 7057  unsigned long __cil_tmp19 ;
 7058  unsigned long __cil_tmp20 ;
 7059  unsigned long __cil_tmp21 ;
 7060  unsigned long __cil_tmp22 ;
 7061  unsigned long __cil_tmp23 ;
 7062  __u8 *__cil_tmp24 ;
 7063  char *__cil_tmp25 ;
 7064  char *__cil_tmp26 ;
 7065  char    *__cil_tmp27 ;
 7066  unsigned long __cil_tmp28 ;
 7067  unsigned long __cil_tmp29 ;
 7068  unsigned long __cil_tmp30 ;
 7069  unsigned long __cil_tmp31 ;
 7070  unsigned long __cil_tmp32 ;
 7071
 7072  {
 7073#line 394
 7074  num = 0;
 7075#line 396
 7076  i = 0;
 7077  {
 7078#line 396
 7079  while (1) {
 7080    while_continue: /* CIL Label */ ;
 7081    {
 7082#line 396
 7083    __cil_tmp6 = 48UL / 24UL;
 7084#line 396
 7085    __cil_tmp7 = __cil_tmp6 + 0UL;
 7086#line 396
 7087    __cil_tmp8 = (unsigned long )i;
 7088#line 396
 7089    if (__cil_tmp8 < __cil_tmp7) {
 7090
 7091    } else {
 7092#line 396
 7093      goto while_break;
 7094    }
 7095    }
 7096    {
 7097#line 397
 7098    __cil_tmp9 = i * 24UL;
 7099#line 397
 7100    __cil_tmp10 = __cil_tmp9 + 16;
 7101#line 397
 7102    __cil_tmp11 = (unsigned long )(formats) + __cil_tmp10;
 7103#line 397
 7104    __cil_tmp12 = *((u32 *)__cil_tmp11);
 7105#line 397
 7106    if (__cil_tmp12 & type) {
 7107      {
 7108#line 399
 7109      __cil_tmp13 = *((__u32 *)f);
 7110#line 399
 7111      __cil_tmp14 = (__u32 )num;
 7112#line 399
 7113      if (__cil_tmp14 == __cil_tmp13) {
 7114#line 400
 7115        goto while_break;
 7116      } else {
 7117
 7118      }
 7119      }
 7120#line 403
 7121      num = num + 1;
 7122    } else {
 7123
 7124    }
 7125    }
 7126#line 396
 7127    i = i + 1;
 7128  }
 7129  while_break: /* CIL Label */ ;
 7130  }
 7131  {
 7132#line 407
 7133  __cil_tmp15 = 48UL / 24UL;
 7134#line 407
 7135  __cil_tmp16 = __cil_tmp15 + 0UL;
 7136#line 407
 7137  __cil_tmp17 = (unsigned long )i;
 7138#line 407
 7139  if (__cil_tmp17 < __cil_tmp16) {
 7140    {
 7141#line 409
 7142    __cil_tmp18 = i * 24UL;
 7143#line 409
 7144    __cil_tmp19 = (unsigned long )(formats) + __cil_tmp18;
 7145#line 409
 7146    fmt = (struct m2mtest_fmt *)__cil_tmp19;
 7147#line 410
 7148    __cil_tmp20 = 0 * 1UL;
 7149#line 410
 7150    __cil_tmp21 = 12 + __cil_tmp20;
 7151#line 410
 7152    __cil_tmp22 = (unsigned long )f;
 7153#line 410
 7154    __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
 7155#line 410
 7156    __cil_tmp24 = (__u8 *)__cil_tmp23;
 7157#line 410
 7158    __cil_tmp25 = (char *)__cil_tmp24;
 7159#line 410
 7160    __cil_tmp26 = *((char **)fmt);
 7161#line 410
 7162    __cil_tmp27 = (char    *)__cil_tmp26;
 7163#line 410
 7164    __cil_tmp28 = 32UL - 1UL;
 7165#line 410
 7166    strncpy(__cil_tmp25, __cil_tmp27, __cil_tmp28);
 7167#line 411
 7168    __cil_tmp29 = (unsigned long )f;
 7169#line 411
 7170    __cil_tmp30 = __cil_tmp29 + 44;
 7171#line 411
 7172    __cil_tmp31 = (unsigned long )fmt;
 7173#line 411
 7174    __cil_tmp32 = __cil_tmp31 + 8;
 7175#line 411
 7176    *((__u32 *)__cil_tmp30) = *((u32 *)__cil_tmp32);
 7177    }
 7178#line 412
 7179    return (0);
 7180  } else {
 7181
 7182  }
 7183  }
 7184#line 416
 7185  return (-22);
 7186}
 7187}
 7188#line 419 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 7189static int vidioc_enum_fmt_vid_cap(struct file *file , void *priv , struct v4l2_fmtdesc *f ) 
 7190{ int tmp___7 ;
 7191  u32 __cil_tmp5 ;
 7192
 7193  {
 7194  {
 7195#line 422
 7196  __cil_tmp5 = (u32 )1;
 7197#line 422
 7198  tmp___7 = enum_fmt(f, __cil_tmp5);
 7199  }
 7200#line 422
 7201  return (tmp___7);
 7202}
 7203}
 7204#line 425 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 7205static int vidioc_enum_fmt_vid_out(struct file *file , void *priv , struct v4l2_fmtdesc *f ) 
 7206{ int tmp___7 ;
 7207  int __cil_tmp5 ;
 7208  u32 __cil_tmp6 ;
 7209
 7210  {
 7211  {
 7212#line 428
 7213  __cil_tmp5 = 1 << 1;
 7214#line 428
 7215  __cil_tmp6 = (u32 )__cil_tmp5;
 7216#line 428
 7217  tmp___7 = enum_fmt(f, __cil_tmp6);
 7218  }
 7219#line 428
 7220  return (tmp___7);
 7221}
 7222}
 7223#line 431 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 7224static int vidioc_g_fmt(struct m2mtest_ctx *ctx , struct v4l2_format *f ) 
 7225{ struct vb2_queue *vq ;
 7226  struct m2mtest_q_data *q_data___0 ;
 7227  unsigned long __cil_tmp5 ;
 7228  unsigned long __cil_tmp6 ;
 7229  struct v4l2_m2m_ctx *__cil_tmp7 ;
 7230  enum v4l2_buf_type __cil_tmp8 ;
 7231  enum v4l2_buf_type __cil_tmp9 ;
 7232  unsigned long __cil_tmp10 ;
 7233  unsigned long __cil_tmp11 ;
 7234  unsigned long __cil_tmp12 ;
 7235  unsigned long __cil_tmp13 ;
 7236  unsigned long __cil_tmp14 ;
 7237  unsigned long __cil_tmp15 ;
 7238  unsigned long __cil_tmp16 ;
 7239  unsigned long __cil_tmp17 ;
 7240  unsigned long __cil_tmp18 ;
 7241  unsigned long __cil_tmp19 ;
 7242  unsigned long __cil_tmp20 ;
 7243  unsigned long __cil_tmp21 ;
 7244  unsigned long __cil_tmp22 ;
 7245  unsigned long __cil_tmp23 ;
 7246  unsigned long __cil_tmp24 ;
 7247  unsigned long __cil_tmp25 ;
 7248  unsigned long __cil_tmp26 ;
 7249  unsigned long __cil_tmp27 ;
 7250  struct m2mtest_fmt *__cil_tmp28 ;
 7251  unsigned long __cil_tmp29 ;
 7252  unsigned long __cil_tmp30 ;
 7253  unsigned long __cil_tmp31 ;
 7254  unsigned long __cil_tmp32 ;
 7255  unsigned long __cil_tmp33 ;
 7256  unsigned long __cil_tmp34 ;
 7257  unsigned long __cil_tmp35 ;
 7258  unsigned long __cil_tmp36 ;
 7259  struct m2mtest_fmt *__cil_tmp37 ;
 7260  unsigned long __cil_tmp38 ;
 7261  unsigned long __cil_tmp39 ;
 7262  int __cil_tmp40 ;
 7263  unsigned int __cil_tmp41 ;
 7264  unsigned int __cil_tmp42 ;
 7265  unsigned int __cil_tmp43 ;
 7266  unsigned long __cil_tmp44 ;
 7267  unsigned long __cil_tmp45 ;
 7268  unsigned long __cil_tmp46 ;
 7269  unsigned long __cil_tmp47 ;
 7270  unsigned long __cil_tmp48 ;
 7271  unsigned long __cil_tmp49 ;
 7272
 7273  {
 7274  {
 7275#line 436
 7276  __cil_tmp5 = (unsigned long )ctx;
 7277#line 436
 7278  __cil_tmp6 = __cil_tmp5 + 24;
 7279#line 436
 7280  __cil_tmp7 = *((struct v4l2_m2m_ctx **)__cil_tmp6);
 7281#line 436
 7282  __cil_tmp8 = *((enum v4l2_buf_type *)f);
 7283#line 436
 7284  vq = v4l2_m2m_get_vq(__cil_tmp7, __cil_tmp8);
 7285  }
 7286#line 437
 7287  if (! vq) {
 7288#line 438
 7289    return (-22);
 7290  } else {
 7291
 7292  }
 7293  {
 7294#line 440
 7295  __cil_tmp9 = *((enum v4l2_buf_type *)f);
 7296#line 440
 7297  q_data___0 = get_q_data(__cil_tmp9);
 7298#line 442
 7299  __cil_tmp10 = (unsigned long )f;
 7300#line 442
 7301  __cil_tmp11 = __cil_tmp10 + 8;
 7302#line 442
 7303  *((__u32 *)__cil_tmp11) = *((unsigned int *)q_data___0);
 7304#line 443
 7305  __cil_tmp12 = 0 + 4;
 7306#line 443
 7307  __cil_tmp13 = 8 + __cil_tmp12;
 7308#line 443
 7309  __cil_tmp14 = (unsigned long )f;
 7310#line 443
 7311  __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
 7312#line 443
 7313  __cil_tmp16 = (unsigned long )q_data___0;
 7314#line 443
 7315  __cil_tmp17 = __cil_tmp16 + 4;
 7316#line 443
 7317  *((__u32 *)__cil_tmp15) = *((unsigned int *)__cil_tmp17);
 7318#line 444
 7319  __cil_tmp18 = 0 + 12;
 7320#line 444
 7321  __cil_tmp19 = 8 + __cil_tmp18;
 7322#line 444
 7323  __cil_tmp20 = (unsigned long )f;
 7324#line 444
 7325  __cil_tmp21 = __cil_tmp20 + __cil_tmp19;
 7326#line 444
 7327  *((enum v4l2_field *)__cil_tmp21) = (enum v4l2_field )1;
 7328#line 445
 7329  __cil_tmp22 = 0 + 8;
 7330#line 445
 7331  __cil_tmp23 = 8 + __cil_tmp22;
 7332#line 445
 7333  __cil_tmp24 = (unsigned long )f;
 7334#line 445
 7335  __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
 7336#line 445
 7337  __cil_tmp26 = (unsigned long )q_data___0;
 7338#line 445
 7339  __cil_tmp27 = __cil_tmp26 + 16;
 7340#line 445
 7341  __cil_tmp28 = *((struct m2mtest_fmt **)__cil_tmp27);
 7342#line 445
 7343  __cil_tmp29 = (unsigned long )__cil_tmp28;
 7344#line 445
 7345  __cil_tmp30 = __cil_tmp29 + 8;
 7346#line 445
 7347  *((__u32 *)__cil_tmp25) = *((u32 *)__cil_tmp30);
 7348#line 446
 7349  __cil_tmp31 = 0 + 16;
 7350#line 446
 7351  __cil_tmp32 = 8 + __cil_tmp31;
 7352#line 446
 7353  __cil_tmp33 = (unsigned long )f;
 7354#line 446
 7355  __cil_tmp34 = __cil_tmp33 + __cil_tmp32;
 7356#line 446
 7357  __cil_tmp35 = (unsigned long )q_data___0;
 7358#line 446
 7359  __cil_tmp36 = __cil_tmp35 + 16;
 7360#line 446
 7361  __cil_tmp37 = *((struct m2mtest_fmt **)__cil_tmp36);
 7362#line 446
 7363  __cil_tmp38 = (unsigned long )__cil_tmp37;
 7364#line 446
 7365  __cil_tmp39 = __cil_tmp38 + 12;
 7366#line 446
 7367  __cil_tmp40 = *((int *)__cil_tmp39);
 7368#line 446
 7369  __cil_tmp41 = (unsigned int )__cil_tmp40;
 7370#line 446
 7371  __cil_tmp42 = *((unsigned int *)q_data___0);
 7372#line 446
 7373  __cil_tmp43 = __cil_tmp42 * __cil_tmp41;
 7374#line 446
 7375  *((__u32 *)__cil_tmp34) = __cil_tmp43 >> 3;
 7376#line 447
 7377  __cil_tmp44 = 0 + 20;
 7378#line 447
 7379  __cil_tmp45 = 8 + __cil_tmp44;
 7380#line 447
 7381  __cil_tmp46 = (unsigned long )f;
 7382#line 447
 7383  __cil_tmp47 = __cil_tmp46 + __cil_tmp45;
 7384#line 447
 7385  __cil_tmp48 = (unsigned long )q_data___0;
 7386#line 447
 7387  __cil_tmp49 = __cil_tmp48 + 8;
 7388#line 447
 7389  *((__u32 *)__cil_tmp47) = *((unsigned int *)__cil_tmp49);
 7390  }
 7391#line 449
 7392  return (0);
 7393}
 7394}
 7395#line 452 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 7396static int vidioc_g_fmt_vid_out(struct file *file , void *priv , struct v4l2_format *f ) 
 7397{ int tmp___7 ;
 7398  struct m2mtest_ctx *__cil_tmp5 ;
 7399
 7400  {
 7401  {
 7402#line 455
 7403  __cil_tmp5 = (struct m2mtest_ctx *)priv;
 7404#line 455
 7405  tmp___7 = vidioc_g_fmt(__cil_tmp5, f);
 7406  }
 7407#line 455
 7408  return (tmp___7);
 7409}
 7410}
 7411#line 458 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 7412static int vidioc_g_fmt_vid_cap(struct file *file , void *priv , struct v4l2_format *f ) 
 7413{ int tmp___7 ;
 7414  struct m2mtest_ctx *__cil_tmp5 ;
 7415
 7416  {
 7417  {
 7418#line 461
 7419  __cil_tmp5 = (struct m2mtest_ctx *)priv;
 7420#line 461
 7421  tmp___7 = vidioc_g_fmt(__cil_tmp5, f);
 7422  }
 7423#line 461
 7424  return (tmp___7);
 7425}
 7426}
 7427#line 464 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 7428static int vidioc_try_fmt(struct v4l2_format *f , struct m2mtest_fmt *fmt ) 
 7429{ enum v4l2_field field ;
 7430  unsigned long __cil_tmp4 ;
 7431  unsigned long __cil_tmp5 ;
 7432  unsigned long __cil_tmp6 ;
 7433  unsigned long __cil_tmp7 ;
 7434  unsigned int __cil_tmp8 ;
 7435  unsigned int __cil_tmp9 ;
 7436  unsigned long __cil_tmp10 ;
 7437  unsigned long __cil_tmp11 ;
 7438  unsigned long __cil_tmp12 ;
 7439  unsigned long __cil_tmp13 ;
 7440  unsigned long __cil_tmp14 ;
 7441  unsigned long __cil_tmp15 ;
 7442  unsigned long __cil_tmp16 ;
 7443  unsigned long __cil_tmp17 ;
 7444  __u32 __cil_tmp18 ;
 7445  unsigned long __cil_tmp19 ;
 7446  unsigned long __cil_tmp20 ;
 7447  unsigned long __cil_tmp21 ;
 7448  unsigned long __cil_tmp22 ;
 7449  unsigned long __cil_tmp23 ;
 7450  unsigned long __cil_tmp24 ;
 7451  unsigned long __cil_tmp25 ;
 7452  unsigned long __cil_tmp26 ;
 7453  __u32 __cil_tmp27 ;
 7454  unsigned long __cil_tmp28 ;
 7455  unsigned long __cil_tmp29 ;
 7456  unsigned long __cil_tmp30 ;
 7457  unsigned long __cil_tmp31 ;
 7458  unsigned long __cil_tmp32 ;
 7459  unsigned long __cil_tmp33 ;
 7460  __u32 __cil_tmp34 ;
 7461  unsigned long __cil_tmp35 ;
 7462  unsigned long __cil_tmp36 ;
 7463  unsigned long __cil_tmp37 ;
 7464  unsigned long __cil_tmp38 ;
 7465  __u32 __cil_tmp39 ;
 7466  unsigned long __cil_tmp40 ;
 7467  unsigned long __cil_tmp41 ;
 7468  unsigned long __cil_tmp42 ;
 7469  unsigned long __cil_tmp43 ;
 7470  unsigned long __cil_tmp44 ;
 7471  unsigned long __cil_tmp45 ;
 7472  __u32 __cil_tmp46 ;
 7473  unsigned long __cil_tmp47 ;
 7474  unsigned long __cil_tmp48 ;
 7475  unsigned long __cil_tmp49 ;
 7476  unsigned long __cil_tmp50 ;
 7477  unsigned long __cil_tmp51 ;
 7478  unsigned long __cil_tmp52 ;
 7479  int __cil_tmp53 ;
 7480  __u32 __cil_tmp54 ;
 7481  unsigned long __cil_tmp55 ;
 7482  unsigned long __cil_tmp56 ;
 7483  __u32 __cil_tmp57 ;
 7484  __u32 __cil_tmp58 ;
 7485  unsigned long __cil_tmp59 ;
 7486  unsigned long __cil_tmp60 ;
 7487  unsigned long __cil_tmp61 ;
 7488  unsigned long __cil_tmp62 ;
 7489  unsigned long __cil_tmp63 ;
 7490  unsigned long __cil_tmp64 ;
 7491  unsigned long __cil_tmp65 ;
 7492  unsigned long __cil_tmp66 ;
 7493  __u32 __cil_tmp67 ;
 7494  unsigned long __cil_tmp68 ;
 7495  unsigned long __cil_tmp69 ;
 7496  unsigned long __cil_tmp70 ;
 7497  unsigned long __cil_tmp71 ;
 7498  __u32 __cil_tmp72 ;
 7499
 7500  {
 7501#line 468
 7502  __cil_tmp4 = 0 + 12;
 7503#line 468
 7504  __cil_tmp5 = 8 + __cil_tmp4;
 7505#line 468
 7506  __cil_tmp6 = (unsigned long )f;
 7507#line 468
 7508  __cil_tmp7 = __cil_tmp6 + __cil_tmp5;
 7509#line 468
 7510  field = *((enum v4l2_field *)__cil_tmp7);
 7511  {
 7512#line 470
 7513  __cil_tmp8 = (unsigned int )field;
 7514#line 470
 7515  if (__cil_tmp8 == 0U) {
 7516#line 471
 7517    field = (enum v4l2_field )1;
 7518  } else {
 7519    {
 7520#line 472
 7521    __cil_tmp9 = (unsigned int )field;
 7522#line 472
 7523    if (1U != __cil_tmp9) {
 7524#line 473
 7525      return (-22);
 7526    } else {
 7527
 7528    }
 7529    }
 7530  }
 7531  }
 7532#line 477
 7533  __cil_tmp10 = 0 + 12;
 7534#line 477
 7535  __cil_tmp11 = 8 + __cil_tmp10;
 7536#line 477
 7537  __cil_tmp12 = (unsigned long )f;
 7538#line 477
 7539  __cil_tmp13 = __cil_tmp12 + __cil_tmp11;
 7540#line 477
 7541  *((enum v4l2_field *)__cil_tmp13) = field;
 7542  {
 7543#line 479
 7544  __cil_tmp14 = 0 + 4;
 7545#line 479
 7546  __cil_tmp15 = 8 + __cil_tmp14;
 7547#line 479
 7548  __cil_tmp16 = (unsigned long )f;
 7549#line 479
 7550  __cil_tmp17 = __cil_tmp16 + __cil_tmp15;
 7551#line 479
 7552  __cil_tmp18 = *((__u32 *)__cil_tmp17);
 7553#line 479
 7554  if (__cil_tmp18 < 32U) {
 7555#line 480
 7556    __cil_tmp19 = 0 + 4;
 7557#line 480
 7558    __cil_tmp20 = 8 + __cil_tmp19;
 7559#line 480
 7560    __cil_tmp21 = (unsigned long )f;
 7561#line 480
 7562    __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
 7563#line 480
 7564    *((__u32 *)__cil_tmp22) = (__u32 )32;
 7565  } else {
 7566    {
 7567#line 481
 7568    __cil_tmp23 = 0 + 4;
 7569#line 481
 7570    __cil_tmp24 = 8 + __cil_tmp23;
 7571#line 481
 7572    __cil_tmp25 = (unsigned long )f;
 7573#line 481
 7574    __cil_tmp26 = __cil_tmp25 + __cil_tmp24;
 7575#line 481
 7576    __cil_tmp27 = *((__u32 *)__cil_tmp26);
 7577#line 481
 7578    if (__cil_tmp27 > 480U) {
 7579#line 482
 7580      __cil_tmp28 = 0 + 4;
 7581#line 482
 7582      __cil_tmp29 = 8 + __cil_tmp28;
 7583#line 482
 7584      __cil_tmp30 = (unsigned long )f;
 7585#line 482
 7586      __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
 7587#line 482
 7588      *((__u32 *)__cil_tmp31) = (__u32 )480;
 7589    } else {
 7590
 7591    }
 7592    }
 7593  }
 7594  }
 7595  {
 7596#line 484
 7597  __cil_tmp32 = (unsigned long )f;
 7598#line 484
 7599  __cil_tmp33 = __cil_tmp32 + 8;
 7600#line 484
 7601  __cil_tmp34 = *((__u32 *)__cil_tmp33);
 7602#line 484
 7603  if (__cil_tmp34 < 32U) {
 7604#line 485
 7605    __cil_tmp35 = (unsigned long )f;
 7606#line 485
 7607    __cil_tmp36 = __cil_tmp35 + 8;
 7608#line 485
 7609    *((__u32 *)__cil_tmp36) = (__u32 )32;
 7610  } else {
 7611    {
 7612#line 486
 7613    __cil_tmp37 = (unsigned long )f;
 7614#line 486
 7615    __cil_tmp38 = __cil_tmp37 + 8;
 7616#line 486
 7617    __cil_tmp39 = *((__u32 *)__cil_tmp38);
 7618#line 486
 7619    if (__cil_tmp39 > 640U) {
 7620#line 487
 7621      __cil_tmp40 = (unsigned long )f;
 7622#line 487
 7623      __cil_tmp41 = __cil_tmp40 + 8;
 7624#line 487
 7625      *((__u32 *)__cil_tmp41) = (__u32 )640;
 7626    } else {
 7627
 7628    }
 7629    }
 7630  }
 7631  }
 7632#line 489
 7633  __cil_tmp42 = (unsigned long )f;
 7634#line 489
 7635  __cil_tmp43 = __cil_tmp42 + 8;
 7636#line 489
 7637  __cil_tmp44 = (unsigned long )f;
 7638#line 489
 7639  __cil_tmp45 = __cil_tmp44 + 8;
 7640#line 489
 7641  __cil_tmp46 = *((__u32 *)__cil_tmp45);
 7642#line 489
 7643  *((__u32 *)__cil_tmp43) = __cil_tmp46 & 4294967287U;
 7644#line 490
 7645  __cil_tmp47 = 0 + 16;
 7646#line 490
 7647  __cil_tmp48 = 8 + __cil_tmp47;
 7648#line 490
 7649  __cil_tmp49 = (unsigned long )f;
 7650#line 490
 7651  __cil_tmp50 = __cil_tmp49 + __cil_tmp48;
 7652#line 490
 7653  __cil_tmp51 = (unsigned long )fmt;
 7654#line 490
 7655  __cil_tmp52 = __cil_tmp51 + 12;
 7656#line 490
 7657  __cil_tmp53 = *((int *)__cil_tmp52);
 7658#line 490
 7659  __cil_tmp54 = (__u32 )__cil_tmp53;
 7660#line 490
 7661  __cil_tmp55 = (unsigned long )f;
 7662#line 490
 7663  __cil_tmp56 = __cil_tmp55 + 8;
 7664#line 490
 7665  __cil_tmp57 = *((__u32 *)__cil_tmp56);
 7666#line 490
 7667  __cil_tmp58 = __cil_tmp57 * __cil_tmp54;
 7668#line 490
 7669  *((__u32 *)__cil_tmp50) = __cil_tmp58 >> 3;
 7670#line 491
 7671  __cil_tmp59 = 0 + 20;
 7672#line 491
 7673  __cil_tmp60 = 8 + __cil_tmp59;
 7674#line 491
 7675  __cil_tmp61 = (unsigned long )f;
 7676#line 491
 7677  __cil_tmp62 = __cil_tmp61 + __cil_tmp60;
 7678#line 491
 7679  __cil_tmp63 = 0 + 16;
 7680#line 491
 7681  __cil_tmp64 = 8 + __cil_tmp63;
 7682#line 491
 7683  __cil_tmp65 = (unsigned long )f;
 7684#line 491
 7685  __cil_tmp66 = __cil_tmp65 + __cil_tmp64;
 7686#line 491
 7687  __cil_tmp67 = *((__u32 *)__cil_tmp66);
 7688#line 491
 7689  __cil_tmp68 = 0 + 4;
 7690#line 491
 7691  __cil_tmp69 = 8 + __cil_tmp68;
 7692#line 491
 7693  __cil_tmp70 = (unsigned long )f;
 7694#line 491
 7695  __cil_tmp71 = __cil_tmp70 + __cil_tmp69;
 7696#line 491
 7697  __cil_tmp72 = *((__u32 *)__cil_tmp71);
 7698#line 491
 7699  *((__u32 *)__cil_tmp62) = __cil_tmp72 * __cil_tmp67;
 7700#line 493
 7701  return (0);
 7702}
 7703}
 7704#line 496 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 7705static int vidioc_try_fmt_vid_cap(struct file *file , void *priv , struct v4l2_format *f ) 
 7706{ struct m2mtest_fmt *fmt ;
 7707  struct m2mtest_ctx *ctx ;
 7708  int tmp___7 ;
 7709  unsigned long __cil_tmp7 ;
 7710  unsigned long __cil_tmp8 ;
 7711  unsigned long __cil_tmp9 ;
 7712  struct m2mtest_dev *__cil_tmp10 ;
 7713  unsigned long __cil_tmp11 ;
 7714  unsigned long __cil_tmp12 ;
 7715  char *__cil_tmp13 ;
 7716  unsigned long __cil_tmp14 ;
 7717  unsigned long __cil_tmp15 ;
 7718  unsigned long __cil_tmp16 ;
 7719  unsigned long __cil_tmp17 ;
 7720  __u32 __cil_tmp18 ;
 7721  unsigned long __cil_tmp19 ;
 7722  unsigned long __cil_tmp20 ;
 7723  u32 __cil_tmp21 ;
 7724  unsigned int __cil_tmp22 ;
 7725  unsigned long __cil_tmp23 ;
 7726  unsigned long __cil_tmp24 ;
 7727  unsigned long __cil_tmp25 ;
 7728  struct m2mtest_dev *__cil_tmp26 ;
 7729  unsigned long __cil_tmp27 ;
 7730  unsigned long __cil_tmp28 ;
 7731  char *__cil_tmp29 ;
 7732  unsigned long __cil_tmp30 ;
 7733  unsigned long __cil_tmp31 ;
 7734  unsigned long __cil_tmp32 ;
 7735  unsigned long __cil_tmp33 ;
 7736  __u32 __cil_tmp34 ;
 7737
 7738  {
 7739  {
 7740#line 500
 7741  ctx = (struct m2mtest_ctx *)priv;
 7742#line 502
 7743  fmt = find_format(f);
 7744  }
 7745#line 503
 7746  if (! fmt) {
 7747    {
 7748#line 504
 7749    __cil_tmp7 = 0 * 1UL;
 7750#line 504
 7751    __cil_tmp8 = 56 + __cil_tmp7;
 7752#line 504
 7753    __cil_tmp9 = 0 + __cil_tmp8;
 7754#line 504
 7755    __cil_tmp10 = *((struct m2mtest_dev **)ctx);
 7756#line 504
 7757    __cil_tmp11 = (unsigned long )__cil_tmp10;
 7758#line 504
 7759    __cil_tmp12 = __cil_tmp11 + __cil_tmp9;
 7760#line 504
 7761    __cil_tmp13 = (char *)__cil_tmp12;
 7762#line 504
 7763    __cil_tmp14 = 0 + 8;
 7764#line 504
 7765    __cil_tmp15 = 8 + __cil_tmp14;
 7766#line 504
 7767    __cil_tmp16 = (unsigned long )f;
 7768#line 504
 7769    __cil_tmp17 = __cil_tmp16 + __cil_tmp15;
 7770#line 504
 7771    __cil_tmp18 = *((__u32 *)__cil_tmp17);
 7772#line 504
 7773    printk("<3>%s: Fourcc format (0x%08x) invalid.\n", __cil_tmp13, __cil_tmp18);
 7774    }
 7775#line 507
 7776    return (-22);
 7777  } else {
 7778    {
 7779#line 503
 7780    __cil_tmp19 = (unsigned long )fmt;
 7781#line 503
 7782    __cil_tmp20 = __cil_tmp19 + 16;
 7783#line 503
 7784    __cil_tmp21 = *((u32 *)__cil_tmp20);
 7785#line 503
 7786    __cil_tmp22 = __cil_tmp21 & 1U;
 7787#line 503
 7788    if (! __cil_tmp22) {
 7789      {
 7790#line 504
 7791      __cil_tmp23 = 0 * 1UL;
 7792#line 504
 7793      __cil_tmp24 = 56 + __cil_tmp23;
 7794#line 504
 7795      __cil_tmp25 = 0 + __cil_tmp24;
 7796#line 504
 7797      __cil_tmp26 = *((struct m2mtest_dev **)ctx);
 7798#line 504
 7799      __cil_tmp27 = (unsigned long )__cil_tmp26;
 7800#line 504
 7801      __cil_tmp28 = __cil_tmp27 + __cil_tmp25;
 7802#line 504
 7803      __cil_tmp29 = (char *)__cil_tmp28;
 7804#line 504
 7805      __cil_tmp30 = 0 + 8;
 7806#line 504
 7807      __cil_tmp31 = 8 + __cil_tmp30;
 7808#line 504
 7809      __cil_tmp32 = (unsigned long )f;
 7810#line 504
 7811      __cil_tmp33 = __cil_tmp32 + __cil_tmp31;
 7812#line 504
 7813      __cil_tmp34 = *((__u32 *)__cil_tmp33);
 7814#line 504
 7815      printk("<3>%s: Fourcc format (0x%08x) invalid.\n", __cil_tmp29, __cil_tmp34);
 7816      }
 7817#line 507
 7818      return (-22);
 7819    } else {
 7820
 7821    }
 7822    }
 7823  }
 7824  {
 7825#line 510
 7826  tmp___7 = vidioc_try_fmt(f, fmt);
 7827  }
 7828#line 510
 7829  return (tmp___7);
 7830}
 7831}
 7832#line 513 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 7833static int vidioc_try_fmt_vid_out(struct file *file , void *priv , struct v4l2_format *f ) 
 7834{ struct m2mtest_fmt *fmt ;
 7835  struct m2mtest_ctx *ctx ;
 7836  int tmp___7 ;
 7837  unsigned long __cil_tmp7 ;
 7838  unsigned long __cil_tmp8 ;
 7839  unsigned long __cil_tmp9 ;
 7840  struct m2mtest_dev *__cil_tmp10 ;
 7841  unsigned long __cil_tmp11 ;
 7842  unsigned long __cil_tmp12 ;
 7843  char *__cil_tmp13 ;
 7844  unsigned long __cil_tmp14 ;
 7845  unsigned long __cil_tmp15 ;
 7846  unsigned long __cil_tmp16 ;
 7847  unsigned long __cil_tmp17 ;
 7848  __u32 __cil_tmp18 ;
 7849  int __cil_tmp19 ;
 7850  unsigned int __cil_tmp20 ;
 7851  unsigned long __cil_tmp21 ;
 7852  unsigned long __cil_tmp22 ;
 7853  u32 __cil_tmp23 ;
 7854  unsigned int __cil_tmp24 ;
 7855  unsigned long __cil_tmp25 ;
 7856  unsigned long __cil_tmp26 ;
 7857  unsigned long __cil_tmp27 ;
 7858  struct m2mtest_dev *__cil_tmp28 ;
 7859  unsigned long __cil_tmp29 ;
 7860  unsigned long __cil_tmp30 ;
 7861  char *__cil_tmp31 ;
 7862  unsigned long __cil_tmp32 ;
 7863  unsigned long __cil_tmp33 ;
 7864  unsigned long __cil_tmp34 ;
 7865  unsigned long __cil_tmp35 ;
 7866  __u32 __cil_tmp36 ;
 7867
 7868  {
 7869  {
 7870#line 517
 7871  ctx = (struct m2mtest_ctx *)priv;
 7872#line 519
 7873  fmt = find_format(f);
 7874  }
 7875#line 520
 7876  if (! fmt) {
 7877    {
 7878#line 521
 7879    __cil_tmp7 = 0 * 1UL;
 7880#line 521
 7881    __cil_tmp8 = 56 + __cil_tmp7;
 7882#line 521
 7883    __cil_tmp9 = 0 + __cil_tmp8;
 7884#line 521
 7885    __cil_tmp10 = *((struct m2mtest_dev **)ctx);
 7886#line 521
 7887    __cil_tmp11 = (unsigned long )__cil_tmp10;
 7888#line 521
 7889    __cil_tmp12 = __cil_tmp11 + __cil_tmp9;
 7890#line 521
 7891    __cil_tmp13 = (char *)__cil_tmp12;
 7892#line 521
 7893    __cil_tmp14 = 0 + 8;
 7894#line 521
 7895    __cil_tmp15 = 8 + __cil_tmp14;
 7896#line 521
 7897    __cil_tmp16 = (unsigned long )f;
 7898#line 521
 7899    __cil_tmp17 = __cil_tmp16 + __cil_tmp15;
 7900#line 521
 7901    __cil_tmp18 = *((__u32 *)__cil_tmp17);
 7902#line 521
 7903    printk("<3>%s: Fourcc format (0x%08x) invalid.\n", __cil_tmp13, __cil_tmp18);
 7904    }
 7905#line 524
 7906    return (-22);
 7907  } else {
 7908    {
 7909#line 520
 7910    __cil_tmp19 = 1 << 1;
 7911#line 520
 7912    __cil_tmp20 = (unsigned int )__cil_tmp19;
 7913#line 520
 7914    __cil_tmp21 = (unsigned long )fmt;
 7915#line 520
 7916    __cil_tmp22 = __cil_tmp21 + 16;
 7917#line 520
 7918    __cil_tmp23 = *((u32 *)__cil_tmp22);
 7919#line 520
 7920    __cil_tmp24 = __cil_tmp23 & __cil_tmp20;
 7921#line 520
 7922    if (! __cil_tmp24) {
 7923      {
 7924#line 521
 7925      __cil_tmp25 = 0 * 1UL;
 7926#line 521
 7927      __cil_tmp26 = 56 + __cil_tmp25;
 7928#line 521
 7929      __cil_tmp27 = 0 + __cil_tmp26;
 7930#line 521
 7931      __cil_tmp28 = *((struct m2mtest_dev **)ctx);
 7932#line 521
 7933      __cil_tmp29 = (unsigned long )__cil_tmp28;
 7934#line 521
 7935      __cil_tmp30 = __cil_tmp29 + __cil_tmp27;
 7936#line 521
 7937      __cil_tmp31 = (char *)__cil_tmp30;
 7938#line 521
 7939      __cil_tmp32 = 0 + 8;
 7940#line 521
 7941      __cil_tmp33 = 8 + __cil_tmp32;
 7942#line 521
 7943      __cil_tmp34 = (unsigned long )f;
 7944#line 521
 7945      __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
 7946#line 521
 7947      __cil_tmp36 = *((__u32 *)__cil_tmp35);
 7948#line 521
 7949      printk("<3>%s: Fourcc format (0x%08x) invalid.\n", __cil_tmp31, __cil_tmp36);
 7950      }
 7951#line 524
 7952      return (-22);
 7953    } else {
 7954
 7955    }
 7956    }
 7957  }
 7958  {
 7959#line 527
 7960  tmp___7 = vidioc_try_fmt(f, fmt);
 7961  }
 7962#line 527
 7963  return (tmp___7);
 7964}
 7965}
 7966#line 530 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 7967static int vidioc_s_fmt(struct m2mtest_ctx *ctx , struct v4l2_format *f ) 
 7968{ struct m2mtest_q_data *q_data___0 ;
 7969  struct vb2_queue *vq ;
 7970  bool tmp___7 ;
 7971  unsigned long __cil_tmp6 ;
 7972  unsigned long __cil_tmp7 ;
 7973  struct v4l2_m2m_ctx *__cil_tmp8 ;
 7974  enum v4l2_buf_type __cil_tmp9 ;
 7975  enum v4l2_buf_type __cil_tmp10 ;
 7976  unsigned long __cil_tmp11 ;
 7977  unsigned long __cil_tmp12 ;
 7978  unsigned long __cil_tmp13 ;
 7979  struct m2mtest_dev *__cil_tmp14 ;
 7980  unsigned long __cil_tmp15 ;
 7981  unsigned long __cil_tmp16 ;
 7982  char *__cil_tmp17 ;
 7983  unsigned long __cil_tmp18 ;
 7984  unsigned long __cil_tmp19 ;
 7985  unsigned long __cil_tmp20 ;
 7986  unsigned long __cil_tmp21 ;
 7987  unsigned long __cil_tmp22 ;
 7988  unsigned long __cil_tmp23 ;
 7989  unsigned long __cil_tmp24 ;
 7990  unsigned long __cil_tmp25 ;
 7991  unsigned long __cil_tmp26 ;
 7992  unsigned long __cil_tmp27 ;
 7993  unsigned long __cil_tmp28 ;
 7994  unsigned long __cil_tmp29 ;
 7995  unsigned long __cil_tmp30 ;
 7996  unsigned long __cil_tmp31 ;
 7997  struct m2mtest_fmt *__cil_tmp32 ;
 7998  unsigned long __cil_tmp33 ;
 7999  unsigned long __cil_tmp34 ;
 8000  int __cil_tmp35 ;
 8001  unsigned int __cil_tmp36 ;
 8002  unsigned long __cil_tmp37 ;
 8003  unsigned long __cil_tmp38 ;
 8004  unsigned int __cil_tmp39 ;
 8005  unsigned int __cil_tmp40 ;
 8006  unsigned int __cil_tmp41 ;
 8007  unsigned int __cil_tmp42 ;
 8008  unsigned long __cil_tmp43 ;
 8009  unsigned long __cil_tmp44 ;
 8010  unsigned long __cil_tmp45 ;
 8011  struct m2mtest_dev *__cil_tmp46 ;
 8012  unsigned long __cil_tmp47 ;
 8013  unsigned long __cil_tmp48 ;
 8014  char *__cil_tmp49 ;
 8015  enum v4l2_buf_type __cil_tmp50 ;
 8016  unsigned int __cil_tmp51 ;
 8017  unsigned int __cil_tmp52 ;
 8018  unsigned long __cil_tmp53 ;
 8019  unsigned long __cil_tmp54 ;
 8020  unsigned int __cil_tmp55 ;
 8021  unsigned long __cil_tmp56 ;
 8022  unsigned long __cil_tmp57 ;
 8023  struct m2mtest_fmt *__cil_tmp58 ;
 8024  unsigned long __cil_tmp59 ;
 8025  unsigned long __cil_tmp60 ;
 8026  u32 __cil_tmp61 ;
 8027
 8028  {
 8029  {
 8030#line 535
 8031  __cil_tmp6 = (unsigned long )ctx;
 8032#line 535
 8033  __cil_tmp7 = __cil_tmp6 + 24;
 8034#line 535
 8035  __cil_tmp8 = *((struct v4l2_m2m_ctx **)__cil_tmp7);
 8036#line 535
 8037  __cil_tmp9 = *((enum v4l2_buf_type *)f);
 8038#line 535
 8039  vq = v4l2_m2m_get_vq(__cil_tmp8, __cil_tmp9);
 8040  }
 8041#line 536
 8042  if (! vq) {
 8043#line 537
 8044    return (-22);
 8045  } else {
 8046
 8047  }
 8048  {
 8049#line 539
 8050  __cil_tmp10 = *((enum v4l2_buf_type *)f);
 8051#line 539
 8052  q_data___0 = get_q_data(__cil_tmp10);
 8053  }
 8054#line 540
 8055  if (! q_data___0) {
 8056#line 541
 8057    return (-22);
 8058  } else {
 8059
 8060  }
 8061  {
 8062#line 543
 8063  tmp___7 = vb2_is_busy(vq);
 8064  }
 8065#line 543
 8066  if (tmp___7) {
 8067    {
 8068#line 544
 8069    __cil_tmp11 = 0 * 1UL;
 8070#line 544
 8071    __cil_tmp12 = 56 + __cil_tmp11;
 8072#line 544
 8073    __cil_tmp13 = 0 + __cil_tmp12;
 8074#line 544
 8075    __cil_tmp14 = *((struct m2mtest_dev **)ctx);
 8076#line 544
 8077    __cil_tmp15 = (unsigned long )__cil_tmp14;
 8078#line 544
 8079    __cil_tmp16 = __cil_tmp15 + __cil_tmp13;
 8080#line 544
 8081    __cil_tmp17 = (char *)__cil_tmp16;
 8082#line 544
 8083    printk("<3>%s: %s queue busy\n", __cil_tmp17, "vidioc_s_fmt");
 8084    }
 8085#line 545
 8086    return (-16);
 8087  } else {
 8088
 8089  }
 8090  {
 8091#line 548
 8092  __cil_tmp18 = (unsigned long )q_data___0;
 8093#line 548
 8094  __cil_tmp19 = __cil_tmp18 + 16;
 8095#line 548
 8096  *((struct m2mtest_fmt **)__cil_tmp19) = find_format(f);
 8097#line 549
 8098  __cil_tmp20 = (unsigned long )f;
 8099#line 549
 8100  __cil_tmp21 = __cil_tmp20 + 8;
 8101#line 549
 8102  *((unsigned int *)q_data___0) = *((__u32 *)__cil_tmp21);
 8103#line 550
 8104  __cil_tmp22 = (unsigned long )q_data___0;
 8105#line 550
 8106  __cil_tmp23 = __cil_tmp22 + 4;
 8107#line 550
 8108  __cil_tmp24 = 0 + 4;
 8109#line 550
 8110  __cil_tmp25 = 8 + __cil_tmp24;
 8111#line 550
 8112  __cil_tmp26 = (unsigned long )f;
 8113#line 550
 8114  __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
 8115#line 550
 8116  *((unsigned int *)__cil_tmp23) = *((__u32 *)__cil_tmp27);
 8117#line 551
 8118  __cil_tmp28 = (unsigned long )q_data___0;
 8119#line 551
 8120  __cil_tmp29 = __cil_tmp28 + 8;
 8121#line 551
 8122  __cil_tmp30 = (unsigned long )q_data___0;
 8123#line 551
 8124  __cil_tmp31 = __cil_tmp30 + 16;
 8125#line 551
 8126  __cil_tmp32 = *((struct m2mtest_fmt **)__cil_tmp31);
 8127#line 551
 8128  __cil_tmp33 = (unsigned long )__cil_tmp32;
 8129#line 551
 8130  __cil_tmp34 = __cil_tmp33 + 12;
 8131#line 551
 8132  __cil_tmp35 = *((int *)__cil_tmp34);
 8133#line 551
 8134  __cil_tmp36 = (unsigned int )__cil_tmp35;
 8135#line 551
 8136  __cil_tmp37 = (unsigned long )q_data___0;
 8137#line 551
 8138  __cil_tmp38 = __cil_tmp37 + 4;
 8139#line 551
 8140  __cil_tmp39 = *((unsigned int *)__cil_tmp38);
 8141#line 551
 8142  __cil_tmp40 = *((unsigned int *)q_data___0);
 8143#line 551
 8144  __cil_tmp41 = __cil_tmp40 * __cil_tmp39;
 8145#line 551
 8146  __cil_tmp42 = __cil_tmp41 * __cil_tmp36;
 8147#line 551
 8148  *((unsigned int *)__cil_tmp29) = __cil_tmp42 >> 3;
 8149  }
 8150  {
 8151#line 554
 8152  while (1) {
 8153    while_continue: /* CIL Label */ ;
 8154    {
 8155#line 554
 8156    __cil_tmp43 = 0 * 1UL;
 8157#line 554
 8158    __cil_tmp44 = 56 + __cil_tmp43;
 8159#line 554
 8160    __cil_tmp45 = 0 + __cil_tmp44;
 8161#line 554
 8162    __cil_tmp46 = *((struct m2mtest_dev **)ctx);
 8163#line 554
 8164    __cil_tmp47 = (unsigned long )__cil_tmp46;
 8165#line 554
 8166    __cil_tmp48 = __cil_tmp47 + __cil_tmp45;
 8167#line 554
 8168    __cil_tmp49 = (char *)__cil_tmp48;
 8169#line 554
 8170    __cil_tmp50 = *((enum v4l2_buf_type *)f);
 8171#line 554
 8172    __cil_tmp51 = (unsigned int )__cil_tmp50;
 8173#line 554
 8174    __cil_tmp52 = *((unsigned int *)q_data___0);
 8175#line 554
 8176    __cil_tmp53 = (unsigned long )q_data___0;
 8177#line 554
 8178    __cil_tmp54 = __cil_tmp53 + 4;
 8179#line 554
 8180    __cil_tmp55 = *((unsigned int *)__cil_tmp54);
 8181#line 554
 8182    __cil_tmp56 = (unsigned long )q_data___0;
 8183#line 554
 8184    __cil_tmp57 = __cil_tmp56 + 16;
 8185#line 554
 8186    __cil_tmp58 = *((struct m2mtest_fmt **)__cil_tmp57);
 8187#line 554
 8188    __cil_tmp59 = (unsigned long )__cil_tmp58;
 8189#line 554
 8190    __cil_tmp60 = __cil_tmp59 + 8;
 8191#line 554
 8192    __cil_tmp61 = *((u32 *)__cil_tmp60);
 8193#line 554
 8194    printk("<7>%s: %s: Setting format for type %d, wxh: %dx%d, fmt: %d\n", __cil_tmp49,
 8195           "vidioc_s_fmt", __cil_tmp51, __cil_tmp52, __cil_tmp55, __cil_tmp61);
 8196    }
 8197#line 554
 8198    goto while_break;
 8199  }
 8200  while_break: /* CIL Label */ ;
 8201  }
 8202#line 558
 8203  return (0);
 8204}
 8205}
 8206#line 561 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8207static int vidioc_s_fmt_vid_cap(struct file *file , void *priv , struct v4l2_format *f ) 
 8208{ int ret ;
 8209  int tmp___7 ;
 8210  struct m2mtest_ctx *__cil_tmp6 ;
 8211
 8212  {
 8213  {
 8214#line 566
 8215  ret = vidioc_try_fmt_vid_cap(file, priv, f);
 8216  }
 8217#line 567
 8218  if (ret) {
 8219#line 568
 8220    return (ret);
 8221  } else {
 8222
 8223  }
 8224  {
 8225#line 570
 8226  __cil_tmp6 = (struct m2mtest_ctx *)priv;
 8227#line 570
 8228  tmp___7 = vidioc_s_fmt(__cil_tmp6, f);
 8229  }
 8230#line 570
 8231  return (tmp___7);
 8232}
 8233}
 8234#line 573 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8235static int vidioc_s_fmt_vid_out(struct file *file , void *priv , struct v4l2_format *f ) 
 8236{ int ret ;
 8237  int tmp___7 ;
 8238  struct m2mtest_ctx *__cil_tmp6 ;
 8239
 8240  {
 8241  {
 8242#line 578
 8243  ret = vidioc_try_fmt_vid_out(file, priv, f);
 8244  }
 8245#line 579
 8246  if (ret) {
 8247#line 580
 8248    return (ret);
 8249  } else {
 8250
 8251  }
 8252  {
 8253#line 582
 8254  __cil_tmp6 = (struct m2mtest_ctx *)priv;
 8255#line 582
 8256  tmp___7 = vidioc_s_fmt(__cil_tmp6, f);
 8257  }
 8258#line 582
 8259  return (tmp___7);
 8260}
 8261}
 8262#line 585 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8263static int vidioc_reqbufs(struct file *file , void *priv , struct v4l2_requestbuffers *reqbufs ) 
 8264{ struct m2mtest_ctx *ctx ;
 8265  int tmp___7 ;
 8266  unsigned long __cil_tmp6 ;
 8267  unsigned long __cil_tmp7 ;
 8268  struct v4l2_m2m_ctx *__cil_tmp8 ;
 8269
 8270  {
 8271  {
 8272#line 588
 8273  ctx = (struct m2mtest_ctx *)priv;
 8274#line 590
 8275  __cil_tmp6 = (unsigned long )ctx;
 8276#line 590
 8277  __cil_tmp7 = __cil_tmp6 + 24;
 8278#line 590
 8279  __cil_tmp8 = *((struct v4l2_m2m_ctx **)__cil_tmp7);
 8280#line 590
 8281  tmp___7 = v4l2_m2m_reqbufs(file, __cil_tmp8, reqbufs);
 8282  }
 8283#line 590
 8284  return (tmp___7);
 8285}
 8286}
 8287#line 593 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8288static int vidioc_querybuf(struct file *file , void *priv , struct v4l2_buffer *buf ) 
 8289{ struct m2mtest_ctx *ctx ;
 8290  int tmp___7 ;
 8291  unsigned long __cil_tmp6 ;
 8292  unsigned long __cil_tmp7 ;
 8293  struct v4l2_m2m_ctx *__cil_tmp8 ;
 8294
 8295  {
 8296  {
 8297#line 596
 8298  ctx = (struct m2mtest_ctx *)priv;
 8299#line 598
 8300  __cil_tmp6 = (unsigned long )ctx;
 8301#line 598
 8302  __cil_tmp7 = __cil_tmp6 + 24;
 8303#line 598
 8304  __cil_tmp8 = *((struct v4l2_m2m_ctx **)__cil_tmp7);
 8305#line 598
 8306  tmp___7 = v4l2_m2m_querybuf(file, __cil_tmp8, buf);
 8307  }
 8308#line 598
 8309  return (tmp___7);
 8310}
 8311}
 8312#line 601 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8313static int vidioc_qbuf(struct file *file , void *priv , struct v4l2_buffer *buf ) 
 8314{ struct m2mtest_ctx *ctx ;
 8315  int tmp___7 ;
 8316  unsigned long __cil_tmp6 ;
 8317  unsigned long __cil_tmp7 ;
 8318  struct v4l2_m2m_ctx *__cil_tmp8 ;
 8319
 8320  {
 8321  {
 8322#line 603
 8323  ctx = (struct m2mtest_ctx *)priv;
 8324#line 605
 8325  __cil_tmp6 = (unsigned long )ctx;
 8326#line 605
 8327  __cil_tmp7 = __cil_tmp6 + 24;
 8328#line 605
 8329  __cil_tmp8 = *((struct v4l2_m2m_ctx **)__cil_tmp7);
 8330#line 605
 8331  tmp___7 = v4l2_m2m_qbuf(file, __cil_tmp8, buf);
 8332  }
 8333#line 605
 8334  return (tmp___7);
 8335}
 8336}
 8337#line 608 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8338static int vidioc_dqbuf(struct file *file , void *priv , struct v4l2_buffer *buf ) 
 8339{ struct m2mtest_ctx *ctx ;
 8340  int tmp___7 ;
 8341  unsigned long __cil_tmp6 ;
 8342  unsigned long __cil_tmp7 ;
 8343  struct v4l2_m2m_ctx *__cil_tmp8 ;
 8344
 8345  {
 8346  {
 8347#line 610
 8348  ctx = (struct m2mtest_ctx *)priv;
 8349#line 612
 8350  __cil_tmp6 = (unsigned long )ctx;
 8351#line 612
 8352  __cil_tmp7 = __cil_tmp6 + 24;
 8353#line 612
 8354  __cil_tmp8 = *((struct v4l2_m2m_ctx **)__cil_tmp7);
 8355#line 612
 8356  tmp___7 = v4l2_m2m_dqbuf(file, __cil_tmp8, buf);
 8357  }
 8358#line 612
 8359  return (tmp___7);
 8360}
 8361}
 8362#line 615 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8363static int vidioc_streamon(struct file *file , void *priv , enum v4l2_buf_type type ) 
 8364{ struct m2mtest_ctx *ctx ;
 8365  int tmp___7 ;
 8366  unsigned long __cil_tmp6 ;
 8367  unsigned long __cil_tmp7 ;
 8368  struct v4l2_m2m_ctx *__cil_tmp8 ;
 8369
 8370  {
 8371  {
 8372#line 618
 8373  ctx = (struct m2mtest_ctx *)priv;
 8374#line 620
 8375  __cil_tmp6 = (unsigned long )ctx;
 8376#line 620
 8377  __cil_tmp7 = __cil_tmp6 + 24;
 8378#line 620
 8379  __cil_tmp8 = *((struct v4l2_m2m_ctx **)__cil_tmp7);
 8380#line 620
 8381  tmp___7 = v4l2_m2m_streamon(file, __cil_tmp8, type);
 8382  }
 8383#line 620
 8384  return (tmp___7);
 8385}
 8386}
 8387#line 623 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8388static int vidioc_streamoff(struct file *file , void *priv , enum v4l2_buf_type type ) 
 8389{ struct m2mtest_ctx *ctx ;
 8390  int tmp___7 ;
 8391  unsigned long __cil_tmp6 ;
 8392  unsigned long __cil_tmp7 ;
 8393  struct v4l2_m2m_ctx *__cil_tmp8 ;
 8394
 8395  {
 8396  {
 8397#line 626
 8398  ctx = (struct m2mtest_ctx *)priv;
 8399#line 628
 8400  __cil_tmp6 = (unsigned long )ctx;
 8401#line 628
 8402  __cil_tmp7 = __cil_tmp6 + 24;
 8403#line 628
 8404  __cil_tmp8 = *((struct v4l2_m2m_ctx **)__cil_tmp7);
 8405#line 628
 8406  tmp___7 = v4l2_m2m_streamoff(file, __cil_tmp8, type);
 8407  }
 8408#line 628
 8409  return (tmp___7);
 8410}
 8411}
 8412#line 631 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8413static int vidioc_queryctrl(struct file *file , void *priv , struct v4l2_queryctrl *qc ) 
 8414{ struct v4l2_queryctrl *c ;
 8415  __u32 __cil_tmp5 ;
 8416  int __cil_tmp6 ;
 8417
 8418  {
 8419  {
 8420#line 636
 8421  __cil_tmp5 = *((__u32 *)qc);
 8422#line 636
 8423  __cil_tmp6 = (int )__cil_tmp5;
 8424#line 636
 8425  c = get_ctrl(__cil_tmp6);
 8426  }
 8427#line 637
 8428  if (! c) {
 8429#line 638
 8430    return (-22);
 8431  } else {
 8432
 8433  }
 8434#line 640
 8435  *qc = *c;
 8436#line 641
 8437  return (0);
 8438}
 8439}
 8440#line 644 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8441static int vidioc_g_ctrl(struct file *file , void *priv , struct v4l2_control *ctrl ) 
 8442{ struct m2mtest_ctx *ctx ;
 8443  __u32 __cil_tmp5 ;
 8444  unsigned long __cil_tmp6 ;
 8445  unsigned long __cil_tmp7 ;
 8446  unsigned long __cil_tmp8 ;
 8447  unsigned long __cil_tmp9 ;
 8448  u32 __cil_tmp10 ;
 8449  unsigned long __cil_tmp11 ;
 8450  unsigned long __cil_tmp12 ;
 8451  unsigned long __cil_tmp13 ;
 8452  unsigned long __cil_tmp14 ;
 8453  u32 __cil_tmp15 ;
 8454  unsigned long __cil_tmp16 ;
 8455  unsigned long __cil_tmp17 ;
 8456  unsigned long __cil_tmp18 ;
 8457  struct m2mtest_dev *__cil_tmp19 ;
 8458  unsigned long __cil_tmp20 ;
 8459  unsigned long __cil_tmp21 ;
 8460  char *__cil_tmp22 ;
 8461
 8462  {
 8463#line 647
 8464  ctx = (struct m2mtest_ctx *)priv;
 8465  {
 8466#line 649
 8467  __cil_tmp5 = *((__u32 *)ctrl);
 8468#line 650
 8469  if ((int )__cil_tmp5 == 134217728) {
 8470#line 650
 8471    goto case_134217728;
 8472  } else
 8473#line 654
 8474  if ((int )__cil_tmp5 == 134217729) {
 8475#line 654
 8476    goto case_134217729;
 8477  } else {
 8478    {
 8479#line 658
 8480    goto switch_default;
 8481#line 649
 8482    if (0) {
 8483      case_134217728: /* CIL Label */ 
 8484#line 651
 8485      __cil_tmp6 = (unsigned long )ctrl;
 8486#line 651
 8487      __cil_tmp7 = __cil_tmp6 + 4;
 8488#line 651
 8489      __cil_tmp8 = (unsigned long )ctx;
 8490#line 651
 8491      __cil_tmp9 = __cil_tmp8 + 16;
 8492#line 651
 8493      __cil_tmp10 = *((u32 *)__cil_tmp9);
 8494#line 651
 8495      *((__s32 *)__cil_tmp7) = (__s32 )__cil_tmp10;
 8496#line 652
 8497      goto switch_break;
 8498      case_134217729: /* CIL Label */ 
 8499#line 655
 8500      __cil_tmp11 = (unsigned long )ctrl;
 8501#line 655
 8502      __cil_tmp12 = __cil_tmp11 + 4;
 8503#line 655
 8504      __cil_tmp13 = (unsigned long )ctx;
 8505#line 655
 8506      __cil_tmp14 = __cil_tmp13 + 12;
 8507#line 655
 8508      __cil_tmp15 = *((u32 *)__cil_tmp14);
 8509#line 655
 8510      *((__s32 *)__cil_tmp12) = (__s32 )__cil_tmp15;
 8511#line 656
 8512      goto switch_break;
 8513      switch_default: /* CIL Label */ 
 8514      {
 8515#line 659
 8516      __cil_tmp16 = 0 * 1UL;
 8517#line 659
 8518      __cil_tmp17 = 56 + __cil_tmp16;
 8519#line 659
 8520      __cil_tmp18 = 0 + __cil_tmp17;
 8521#line 659
 8522      __cil_tmp19 = *((struct m2mtest_dev **)ctx);
 8523#line 659
 8524      __cil_tmp20 = (unsigned long )__cil_tmp19;
 8525#line 659
 8526      __cil_tmp21 = __cil_tmp20 + __cil_tmp18;
 8527#line 659
 8528      __cil_tmp22 = (char *)__cil_tmp21;
 8529#line 659
 8530      printk("<3>%s: Invalid control\n", __cil_tmp22);
 8531      }
 8532#line 660
 8533      return (-22);
 8534    } else {
 8535      switch_break: /* CIL Label */ ;
 8536    }
 8537    }
 8538  }
 8539  }
 8540#line 663
 8541  return (0);
 8542}
 8543}
 8544#line 666 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8545static int check_ctrl_val(struct m2mtest_ctx *ctx , struct v4l2_control *ctrl ) 
 8546{ struct v4l2_queryctrl *c ;
 8547  __u32 __cil_tmp4 ;
 8548  int __cil_tmp5 ;
 8549  unsigned long __cil_tmp6 ;
 8550  unsigned long __cil_tmp7 ;
 8551  __s32 __cil_tmp8 ;
 8552  unsigned long __cil_tmp9 ;
 8553  unsigned long __cil_tmp10 ;
 8554  __s32 __cil_tmp11 ;
 8555  unsigned long __cil_tmp12 ;
 8556  unsigned long __cil_tmp13 ;
 8557  unsigned long __cil_tmp14 ;
 8558  struct m2mtest_dev *__cil_tmp15 ;
 8559  unsigned long __cil_tmp16 ;
 8560  unsigned long __cil_tmp17 ;
 8561  char *__cil_tmp18 ;
 8562  unsigned long __cil_tmp19 ;
 8563  unsigned long __cil_tmp20 ;
 8564  __s32 __cil_tmp21 ;
 8565  unsigned long __cil_tmp22 ;
 8566  unsigned long __cil_tmp23 ;
 8567  __s32 __cil_tmp24 ;
 8568  unsigned long __cil_tmp25 ;
 8569  unsigned long __cil_tmp26 ;
 8570  unsigned long __cil_tmp27 ;
 8571  struct m2mtest_dev *__cil_tmp28 ;
 8572  unsigned long __cil_tmp29 ;
 8573  unsigned long __cil_tmp30 ;
 8574  char *__cil_tmp31 ;
 8575
 8576  {
 8577  {
 8578#line 670
 8579  __cil_tmp4 = *((__u32 *)ctrl);
 8580#line 670
 8581  __cil_tmp5 = (int )__cil_tmp4;
 8582#line 670
 8583  c = get_ctrl(__cil_tmp5);
 8584  }
 8585#line 671
 8586  if (! c) {
 8587#line 672
 8588    return (-22);
 8589  } else {
 8590
 8591  }
 8592  {
 8593#line 674
 8594  __cil_tmp6 = (unsigned long )c;
 8595#line 674
 8596  __cil_tmp7 = __cil_tmp6 + 40;
 8597#line 674
 8598  __cil_tmp8 = *((__s32 *)__cil_tmp7);
 8599#line 674
 8600  __cil_tmp9 = (unsigned long )ctrl;
 8601#line 674
 8602  __cil_tmp10 = __cil_tmp9 + 4;
 8603#line 674
 8604  __cil_tmp11 = *((__s32 *)__cil_tmp10);
 8605#line 674
 8606  if (__cil_tmp11 < __cil_tmp8) {
 8607    {
 8608#line 675
 8609    __cil_tmp12 = 0 * 1UL;
 8610#line 675
 8611    __cil_tmp13 = 56 + __cil_tmp12;
 8612#line 675
 8613    __cil_tmp14 = 0 + __cil_tmp13;
 8614#line 675
 8615    __cil_tmp15 = *((struct m2mtest_dev **)ctx);
 8616#line 675
 8617    __cil_tmp16 = (unsigned long )__cil_tmp15;
 8618#line 675
 8619    __cil_tmp17 = __cil_tmp16 + __cil_tmp14;
 8620#line 675
 8621    __cil_tmp18 = (char *)__cil_tmp17;
 8622#line 675
 8623    printk("<3>%s: Value out of range\n", __cil_tmp18);
 8624    }
 8625#line 676
 8626    return (-34);
 8627  } else {
 8628    {
 8629#line 674
 8630    __cil_tmp19 = (unsigned long )c;
 8631#line 674
 8632    __cil_tmp20 = __cil_tmp19 + 44;
 8633#line 674
 8634    __cil_tmp21 = *((__s32 *)__cil_tmp20);
 8635#line 674
 8636    __cil_tmp22 = (unsigned long )ctrl;
 8637#line 674
 8638    __cil_tmp23 = __cil_tmp22 + 4;
 8639#line 674
 8640    __cil_tmp24 = *((__s32 *)__cil_tmp23);
 8641#line 674
 8642    if (__cil_tmp24 > __cil_tmp21) {
 8643      {
 8644#line 675
 8645      __cil_tmp25 = 0 * 1UL;
 8646#line 675
 8647      __cil_tmp26 = 56 + __cil_tmp25;
 8648#line 675
 8649      __cil_tmp27 = 0 + __cil_tmp26;
 8650#line 675
 8651      __cil_tmp28 = *((struct m2mtest_dev **)ctx);
 8652#line 675
 8653      __cil_tmp29 = (unsigned long )__cil_tmp28;
 8654#line 675
 8655      __cil_tmp30 = __cil_tmp29 + __cil_tmp27;
 8656#line 675
 8657      __cil_tmp31 = (char *)__cil_tmp30;
 8658#line 675
 8659      printk("<3>%s: Value out of range\n", __cil_tmp31);
 8660      }
 8661#line 676
 8662      return (-34);
 8663    } else {
 8664
 8665    }
 8666    }
 8667  }
 8668  }
 8669#line 679
 8670  return (0);
 8671}
 8672}
 8673#line 682 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8674static int vidioc_s_ctrl(struct file *file , void *priv , struct v4l2_control *ctrl ) 
 8675{ struct m2mtest_ctx *ctx ;
 8676  int ret ;
 8677  __u32 __cil_tmp6 ;
 8678  unsigned long __cil_tmp7 ;
 8679  unsigned long __cil_tmp8 ;
 8680  unsigned long __cil_tmp9 ;
 8681  unsigned long __cil_tmp10 ;
 8682  __s32 __cil_tmp11 ;
 8683  unsigned long __cil_tmp12 ;
 8684  unsigned long __cil_tmp13 ;
 8685  unsigned long __cil_tmp14 ;
 8686  unsigned long __cil_tmp15 ;
 8687  __s32 __cil_tmp16 ;
 8688  unsigned long __cil_tmp17 ;
 8689  unsigned long __cil_tmp18 ;
 8690  unsigned long __cil_tmp19 ;
 8691  struct m2mtest_dev *__cil_tmp20 ;
 8692  unsigned long __cil_tmp21 ;
 8693  unsigned long __cil_tmp22 ;
 8694  char *__cil_tmp23 ;
 8695
 8696  {
 8697  {
 8698#line 685
 8699  ctx = (struct m2mtest_ctx *)priv;
 8700#line 686
 8701  ret = 0;
 8702#line 688
 8703  ret = check_ctrl_val(ctx, ctrl);
 8704  }
 8705#line 689
 8706  if (ret != 0) {
 8707#line 690
 8708    return (ret);
 8709  } else {
 8710
 8711  }
 8712  {
 8713#line 692
 8714  __cil_tmp6 = *((__u32 *)ctrl);
 8715#line 693
 8716  if ((int )__cil_tmp6 == 134217728) {
 8717#line 693
 8718    goto case_134217728;
 8719  } else
 8720#line 697
 8721  if ((int )__cil_tmp6 == 134217729) {
 8722#line 697
 8723    goto case_134217729;
 8724  } else {
 8725    {
 8726#line 701
 8727    goto switch_default;
 8728#line 692
 8729    if (0) {
 8730      case_134217728: /* CIL Label */ 
 8731#line 694
 8732      __cil_tmp7 = (unsigned long )ctx;
 8733#line 694
 8734      __cil_tmp8 = __cil_tmp7 + 16;
 8735#line 694
 8736      __cil_tmp9 = (unsigned long )ctrl;
 8737#line 694
 8738      __cil_tmp10 = __cil_tmp9 + 4;
 8739#line 694
 8740      __cil_tmp11 = *((__s32 *)__cil_tmp10);
 8741#line 694
 8742      *((u32 *)__cil_tmp8) = (u32 )__cil_tmp11;
 8743#line 695
 8744      goto switch_break;
 8745      case_134217729: /* CIL Label */ 
 8746#line 698
 8747      __cil_tmp12 = (unsigned long )ctx;
 8748#line 698
 8749      __cil_tmp13 = __cil_tmp12 + 12;
 8750#line 698
 8751      __cil_tmp14 = (unsigned long )ctrl;
 8752#line 698
 8753      __cil_tmp15 = __cil_tmp14 + 4;
 8754#line 698
 8755      __cil_tmp16 = *((__s32 *)__cil_tmp15);
 8756#line 698
 8757      *((u32 *)__cil_tmp13) = (u32 )__cil_tmp16;
 8758#line 699
 8759      goto switch_break;
 8760      switch_default: /* CIL Label */ 
 8761      {
 8762#line 702
 8763      __cil_tmp17 = 0 * 1UL;
 8764#line 702
 8765      __cil_tmp18 = 56 + __cil_tmp17;
 8766#line 702
 8767      __cil_tmp19 = 0 + __cil_tmp18;
 8768#line 702
 8769      __cil_tmp20 = *((struct m2mtest_dev **)ctx);
 8770#line 702
 8771      __cil_tmp21 = (unsigned long )__cil_tmp20;
 8772#line 702
 8773      __cil_tmp22 = __cil_tmp21 + __cil_tmp19;
 8774#line 702
 8775      __cil_tmp23 = (char *)__cil_tmp22;
 8776#line 702
 8777      printk("<3>%s: Invalid control\n", __cil_tmp23);
 8778      }
 8779#line 703
 8780      return (-22);
 8781    } else {
 8782      switch_break: /* CIL Label */ ;
 8783    }
 8784    }
 8785  }
 8786  }
 8787#line 706
 8788  return (0);
 8789}
 8790}
 8791#line 710 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8792static struct v4l2_ioctl_ops    m2mtest_ioctl_ops  = 
 8793#line 710
 8794     {& vidioc_querycap, (int (*)(struct file *file , void *fh , enum v4l2_priority *p ))0,
 8795    (int (*)(struct file *file , void *fh , enum v4l2_priority p ))0, & vidioc_enum_fmt_vid_cap,
 8796    (int (*)(struct file *file , void *fh , struct v4l2_fmtdesc *f ))0, & vidioc_enum_fmt_vid_out,
 8797    (int (*)(struct file *file , void *fh , struct v4l2_fmtdesc *f ))0, (int (*)(struct file *file ,
 8798                                                                                 void *fh ,
 8799                                                                                 struct v4l2_fmtdesc *f ))0,
 8800    (int (*)(struct file *file , void *fh , struct v4l2_fmtdesc *f ))0, & vidioc_g_fmt_vid_cap,
 8801    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, & vidioc_g_fmt_vid_out,
 8802    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, (int (*)(struct file *file ,
 8803                                                                                void *fh ,
 8804                                                                                struct v4l2_format *f ))0,
 8805    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, (int (*)(struct file *file ,
 8806                                                                                void *fh ,
 8807                                                                                struct v4l2_format *f ))0,
 8808    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, (int (*)(struct file *file ,
 8809                                                                                void *fh ,
 8810                                                                                struct v4l2_format *f ))0,
 8811    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, (int (*)(struct file *file ,
 8812                                                                                void *fh ,
 8813                                                                                struct v4l2_format *f ))0,
 8814    & vidioc_s_fmt_vid_cap, (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0,
 8815    & vidioc_s_fmt_vid_out, (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0,
 8816    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, (int (*)(struct file *file ,
 8817                                                                                void *fh ,
 8818                                                                                struct v4l2_format *f ))0,
 8819    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, (int (*)(struct file *file ,
 8820                                                                                void *fh ,
 8821                                                                                struct v4l2_format *f ))0,
 8822    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, (int (*)(struct file *file ,
 8823                                                                                void *fh ,
 8824                                                                                struct v4l2_format *f ))0,
 8825    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, & vidioc_try_fmt_vid_cap,
 8826    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, & vidioc_try_fmt_vid_out,
 8827    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, (int (*)(struct file *file ,
 8828                                                                                void *fh ,
 8829                                                                                struct v4l2_format *f ))0,
 8830    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, (int (*)(struct file *file ,
 8831                                                                                void *fh ,
 8832                                                                                struct v4l2_format *f ))0,
 8833    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, (int (*)(struct file *file ,
 8834                                                                                void *fh ,
 8835                                                                                struct v4l2_format *f ))0,
 8836    (int (*)(struct file *file , void *fh , struct v4l2_format *f ))0, (int (*)(struct file *file ,
 8837                                                                                void *fh ,
 8838                                                                                struct v4l2_format *f ))0,
 8839    & vidioc_reqbufs, & vidioc_querybuf, & vidioc_qbuf, & vidioc_dqbuf, (int (*)(struct file *file ,
 8840                                                                                 void *fh ,
 8841                                                                                 struct v4l2_create_buffers *b ))0,
 8842    (int (*)(struct file *file , void *fh , struct v4l2_buffer *b ))0, (int (*)(struct file *file ,
 8843                                                                                void *fh ,
 8844                                                                                unsigned int i ))0,
 8845    (int (*)(struct file *file , void *fh , struct v4l2_framebuffer *a ))0, (int (*)(struct file *file ,
 8846                                                                                     void *fh ,
 8847                                                                                     struct v4l2_framebuffer *a ))0,
 8848    & vidioc_streamon, & vidioc_streamoff, (int (*)(struct file *file , void *fh ,
 8849                                                    v4l2_std_id *norm ))0, (int (*)(struct file *file ,
 8850                                                                                    void *fh ,
 8851                                                                                    v4l2_std_id *norm ))0,
 8852    (int (*)(struct file *file , void *fh , v4l2_std_id *a ))0, (int (*)(struct file *file ,
 8853                                                                         void *fh ,
 8854                                                                         struct v4l2_input *inp ))0,
 8855    (int (*)(struct file *file , void *fh , unsigned int *i ))0, (int (*)(struct file *file ,
 8856                                                                          void *fh ,
 8857                                                                          unsigned int i ))0,
 8858    (int (*)(struct file *file , void *fh , struct v4l2_output *a ))0, (int (*)(struct file *file ,
 8859                                                                                void *fh ,
 8860                                                                                unsigned int *i ))0,
 8861    (int (*)(struct file *file , void *fh , unsigned int i ))0, & vidioc_queryctrl,
 8862    & vidioc_g_ctrl, & vidioc_s_ctrl, (int (*)(struct file *file , void *fh , struct v4l2_ext_controls *a ))0,
 8863    (int (*)(struct file *file , void *fh , struct v4l2_ext_controls *a ))0, (int (*)(struct file *file ,
 8864                                                                                      void *fh ,
 8865                                                                                      struct v4l2_ext_controls *a ))0,
 8866    (int (*)(struct file *file , void *fh , struct v4l2_querymenu *a ))0, (int (*)(struct file *file ,
 8867                                                                                   void *fh ,
 8868                                                                                   struct v4l2_audio *a ))0,
 8869    (int (*)(struct file *file , void *fh , struct v4l2_audio *a ))0, (int (*)(struct file *file ,
 8870                                                                               void *fh ,
 8871                                                                               struct v4l2_audio *a ))0,
 8872    (int (*)(struct file *file , void *fh , struct v4l2_audioout *a ))0, (int (*)(struct file *file ,
 8873                                                                                  void *fh ,
 8874                                                                                  struct v4l2_audioout *a ))0,
 8875    (int (*)(struct file *file , void *fh , struct v4l2_audioout *a ))0, (int (*)(struct file *file ,
 8876                                                                                  void *fh ,
 8877                                                                                  struct v4l2_modulator *a ))0,
 8878    (int (*)(struct file *file , void *fh , struct v4l2_modulator *a ))0, (int (*)(struct file *file ,
 8879                                                                                   void *fh ,
 8880                                                                                   struct v4l2_cropcap *a ))0,
 8881    (int (*)(struct file *file , void *fh , struct v4l2_crop *a ))0, (int (*)(struct file *file ,
 8882                                                                              void *fh ,
 8883                                                                              struct v4l2_crop *a ))0,
 8884    (int (*)(struct file *file , void *fh , struct v4l2_selection *s ))0, (int (*)(struct file *file ,
 8885                                                                                   void *fh ,
 8886                                                                                   struct v4l2_selection *s ))0,
 8887    (int (*)(struct file *file , void *fh , struct v4l2_jpegcompression *a ))0, (int (*)(struct file *file ,
 8888                                                                                         void *fh ,
 8889                                                                                         struct v4l2_jpegcompression *a ))0,
 8890    (int (*)(struct file *file , void *fh , struct v4l2_enc_idx *a ))0, (int (*)(struct file *file ,
 8891                                                                                 void *fh ,
 8892                                                                                 struct v4l2_encoder_cmd *a ))0,
 8893    (int (*)(struct file *file , void *fh , struct v4l2_encoder_cmd *a ))0, (int (*)(struct file *file ,
 8894                                                                                     void *fh ,
 8895                                                                                     struct v4l2_decoder_cmd *a ))0,
 8896    (int (*)(struct file *file , void *fh , struct v4l2_decoder_cmd *a ))0, (int (*)(struct file *file ,
 8897                                                                                     void *fh ,
 8898                                                                                     struct v4l2_streamparm *a ))0,
 8899    (int (*)(struct file *file , void *fh , struct v4l2_streamparm *a ))0, (int (*)(struct file *file ,
 8900                                                                                    void *fh ,
 8901                                                                                    struct v4l2_tuner *a ))0,
 8902    (int (*)(struct file *file , void *fh , struct v4l2_tuner *a ))0, (int (*)(struct file *file ,
 8903                                                                               void *fh ,
 8904                                                                               struct v4l2_frequency *a ))0,
 8905    (int (*)(struct file *file , void *fh , struct v4l2_frequency *a ))0, (int (*)(struct file *file ,
 8906                                                                                   void *fh ,
 8907                                                                                   struct v4l2_sliced_vbi_cap *a ))0,
 8908    (int (*)(struct file *file , void *fh ))0, (int (*)(struct file *file , void *fh ,
 8909                                                        struct v4l2_hw_freq_seek *a ))0,
 8910    (int (*)(struct file *file , void *fh , struct v4l2_dbg_register *reg ))0, (int (*)(struct file *file ,
 8911                                                                                        void *fh ,
 8912                                                                                        struct v4l2_dbg_register *reg ))0,
 8913    (int (*)(struct file *file , void *fh , struct v4l2_dbg_chip_ident *chip ))0,
 8914    (int (*)(struct file *file , void *fh , struct v4l2_frmsizeenum *fsize ))0, (int (*)(struct file *file ,
 8915                                                                                         void *fh ,
 8916                                                                                         struct v4l2_frmivalenum *fival ))0,
 8917    (int (*)(struct file *file , void *fh , struct v4l2_dv_enum_preset *preset ))0,
 8918    (int (*)(struct file *file , void *fh , struct v4l2_dv_preset *preset ))0, (int (*)(struct file *file ,
 8919                                                                                        void *fh ,
 8920                                                                                        struct v4l2_dv_preset *preset ))0,
 8921    (int (*)(struct file *file , void *fh , struct v4l2_dv_preset *qpreset ))0, (int (*)(struct file *file ,
 8922                                                                                         void *fh ,
 8923                                                                                         struct v4l2_dv_timings *timings ))0,
 8924    (int (*)(struct file *file , void *fh , struct v4l2_dv_timings *timings ))0, (int (*)(struct v4l2_fh *fh ,
 8925                                                                                          struct v4l2_event_subscription *sub ))0,
 8926    (int (*)(struct v4l2_fh *fh , struct v4l2_event_subscription *sub ))0, (long (*)(struct file *file ,
 8927                                                                                     void *fh ,
 8928                                                                                     bool valid_prio ,
 8929                                                                                     int cmd ,
 8930                                                                                     void *arg ))0};
 8931#line 742 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 8932static int m2mtest_queue_setup(struct vb2_queue *vq , struct v4l2_format    *fmt ,
 8933                               unsigned int *nbuffers , unsigned int *nplanes , unsigned int *sizes ,
 8934                               void **alloc_ctxs ) 
 8935{ struct m2mtest_ctx *ctx ;
 8936  void *tmp___7 ;
 8937  struct m2mtest_q_data *q_data___0 ;
 8938  unsigned int size ;
 8939  unsigned int count ;
 8940  enum v4l2_buf_type __cil_tmp12 ;
 8941  unsigned long __cil_tmp13 ;
 8942  unsigned long __cil_tmp14 ;
 8943  struct m2mtest_fmt *__cil_tmp15 ;
 8944  unsigned long __cil_tmp16 ;
 8945  unsigned long __cil_tmp17 ;
 8946  int __cil_tmp18 ;
 8947  unsigned int __cil_tmp19 ;
 8948  unsigned long __cil_tmp20 ;
 8949  unsigned long __cil_tmp21 ;
 8950  unsigned int __cil_tmp22 ;
 8951  unsigned int __cil_tmp23 ;
 8952  unsigned int __cil_tmp24 ;
 8953  unsigned int __cil_tmp25 ;
 8954  unsigned int __cil_tmp26 ;
 8955  unsigned int *__cil_tmp27 ;
 8956  unsigned long __cil_tmp28 ;
 8957  unsigned long __cil_tmp29 ;
 8958  unsigned long __cil_tmp30 ;
 8959  struct m2mtest_dev *__cil_tmp31 ;
 8960  unsigned long __cil_tmp32 ;
 8961  unsigned long __cil_tmp33 ;
 8962  char *__cil_tmp34 ;
 8963
 8964  {
 8965  {
 8966#line 747
 8967  tmp___7 = vb2_get_drv_priv(vq);
 8968#line 747
 8969  ctx = (struct m2mtest_ctx *)tmp___7;
 8970#line 749
 8971  count = *nbuffers;
 8972#line 751
 8973  __cil_tmp12 = *((enum v4l2_buf_type *)vq);
 8974#line 751
 8975  q_data___0 = get_q_data(__cil_tmp12);
 8976#line 753
 8977  __cil_tmp13 = (unsigned long )q_data___0;
 8978#line 753
 8979  __cil_tmp14 = __cil_tmp13 + 16;
 8980#line 753
 8981  __cil_tmp15 = *((struct m2mtest_fmt **)__cil_tmp14);
 8982#line 753
 8983  __cil_tmp16 = (unsigned long )__cil_tmp15;
 8984#line 753
 8985  __cil_tmp17 = __cil_tmp16 + 12;
 8986#line 753
 8987  __cil_tmp18 = *((int *)__cil_tmp17);
 8988#line 753
 8989  __cil_tmp19 = (unsigned int )__cil_tmp18;
 8990#line 753
 8991  __cil_tmp20 = (unsigned long )q_data___0;
 8992#line 753
 8993  __cil_tmp21 = __cil_tmp20 + 4;
 8994#line 753
 8995  __cil_tmp22 = *((unsigned int *)__cil_tmp21);
 8996#line 753
 8997  __cil_tmp23 = *((unsigned int *)q_data___0);
 8998#line 753
 8999  __cil_tmp24 = __cil_tmp23 * __cil_tmp22;
 9000#line 753
 9001  __cil_tmp25 = __cil_tmp24 * __cil_tmp19;
 9002#line 753
 9003  size = __cil_tmp25 >> 3;
 9004  }
 9005  {
 9006#line 755
 9007  while (1) {
 9008    while_continue: /* CIL Label */ ;
 9009    {
 9010#line 755
 9011    __cil_tmp26 = size * count;
 9012#line 755
 9013    if (__cil_tmp26 > 16777216U) {
 9014
 9015    } else {
 9016#line 755
 9017      goto while_break;
 9018    }
 9019    }
 9020#line 756
 9021    count = count - 1U;
 9022  }
 9023  while_break: /* CIL Label */ ;
 9024  }
 9025#line 758
 9026  *nplanes = 1U;
 9027#line 759
 9028  *nbuffers = count;
 9029#line 760
 9030  __cil_tmp27 = sizes + 0;
 9031#line 760
 9032  *__cil_tmp27 = size;
 9033  {
 9034#line 767
 9035  while (1) {
 9036    while_continue___0: /* CIL Label */ ;
 9037    {
 9038#line 767
 9039    __cil_tmp28 = 0 * 1UL;
 9040#line 767
 9041    __cil_tmp29 = 56 + __cil_tmp28;
 9042#line 767
 9043    __cil_tmp30 = 0 + __cil_tmp29;
 9044#line 767
 9045    __cil_tmp31 = *((struct m2mtest_dev **)ctx);
 9046#line 767
 9047    __cil_tmp32 = (unsigned long )__cil_tmp31;
 9048#line 767
 9049    __cil_tmp33 = __cil_tmp32 + __cil_tmp30;
 9050#line 767
 9051    __cil_tmp34 = (char *)__cil_tmp33;
 9052#line 767
 9053    printk("<7>%s: %s: get %d buffer(s) of size %d each.\n", __cil_tmp34, "m2mtest_queue_setup",
 9054           count, size);
 9055    }
 9056#line 767
 9057    goto while_break___0;
 9058  }
 9059  while_break___0: /* CIL Label */ ;
 9060  }
 9061#line 769
 9062  return (0);
 9063}
 9064}
 9065#line 772 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9066static int m2mtest_buf_prepare(struct vb2_buffer *vb ) 
 9067{ struct m2mtest_ctx *ctx ;
 9068  void *tmp___7 ;
 9069  struct m2mtest_q_data *q_data___0 ;
 9070  unsigned long tmp___8 ;
 9071  unsigned long tmp___9 ;
 9072  unsigned long __cil_tmp7 ;
 9073  unsigned long __cil_tmp8 ;
 9074  struct vb2_queue *__cil_tmp9 ;
 9075  unsigned long __cil_tmp10 ;
 9076  unsigned long __cil_tmp11 ;
 9077  unsigned long __cil_tmp12 ;
 9078  struct m2mtest_dev *__cil_tmp13 ;
 9079  unsigned long __cil_tmp14 ;
 9080  unsigned long __cil_tmp15 ;
 9081  char *__cil_tmp16 ;
 9082  unsigned long __cil_tmp17 ;
 9083  unsigned long __cil_tmp18 ;
 9084  struct vb2_queue *__cil_tmp19 ;
 9085  enum v4l2_buf_type __cil_tmp20 ;
 9086  unsigned int __cil_tmp21 ;
 9087  unsigned long __cil_tmp22 ;
 9088  unsigned long __cil_tmp23 ;
 9089  struct vb2_queue *__cil_tmp24 ;
 9090  enum v4l2_buf_type __cil_tmp25 ;
 9091  unsigned long __cil_tmp26 ;
 9092  unsigned long __cil_tmp27 ;
 9093  unsigned int __cil_tmp28 ;
 9094  unsigned long __cil_tmp29 ;
 9095  unsigned long __cil_tmp30 ;
 9096  unsigned long __cil_tmp31 ;
 9097  unsigned long __cil_tmp32 ;
 9098  struct m2mtest_dev *__cil_tmp33 ;
 9099  unsigned long __cil_tmp34 ;
 9100  unsigned long __cil_tmp35 ;
 9101  char *__cil_tmp36 ;
 9102  unsigned long __cil_tmp37 ;
 9103  unsigned long __cil_tmp38 ;
 9104  unsigned int __cil_tmp39 ;
 9105  long __cil_tmp40 ;
 9106  unsigned long __cil_tmp41 ;
 9107  unsigned long __cil_tmp42 ;
 9108  unsigned int __cil_tmp43 ;
 9109  unsigned long __cil_tmp44 ;
 9110
 9111  {
 9112  {
 9113#line 774
 9114  __cil_tmp7 = (unsigned long )vb;
 9115#line 774
 9116  __cil_tmp8 = __cil_tmp7 + 600;
 9117#line 774
 9118  __cil_tmp9 = *((struct vb2_queue **)__cil_tmp8);
 9119#line 774
 9120  tmp___7 = vb2_get_drv_priv(__cil_tmp9);
 9121#line 774
 9122  ctx = (struct m2mtest_ctx *)tmp___7;
 9123  }
 9124  {
 9125#line 777
 9126  while (1) {
 9127    while_continue: /* CIL Label */ ;
 9128    {
 9129#line 777
 9130    __cil_tmp10 = 0 * 1UL;
 9131#line 777
 9132    __cil_tmp11 = 56 + __cil_tmp10;
 9133#line 777
 9134    __cil_tmp12 = 0 + __cil_tmp11;
 9135#line 777
 9136    __cil_tmp13 = *((struct m2mtest_dev **)ctx);
 9137#line 777
 9138    __cil_tmp14 = (unsigned long )__cil_tmp13;
 9139#line 777
 9140    __cil_tmp15 = __cil_tmp14 + __cil_tmp12;
 9141#line 777
 9142    __cil_tmp16 = (char *)__cil_tmp15;
 9143#line 777
 9144    __cil_tmp17 = (unsigned long )vb;
 9145#line 777
 9146    __cil_tmp18 = __cil_tmp17 + 600;
 9147#line 777
 9148    __cil_tmp19 = *((struct vb2_queue **)__cil_tmp18);
 9149#line 777
 9150    __cil_tmp20 = *((enum v4l2_buf_type *)__cil_tmp19);
 9151#line 777
 9152    __cil_tmp21 = (unsigned int )__cil_tmp20;
 9153#line 777
 9154    printk("<7>%s: %s: type: %d\n", __cil_tmp16, "m2mtest_buf_prepare", __cil_tmp21);
 9155    }
 9156#line 777
 9157    goto while_break;
 9158  }
 9159  while_break: /* CIL Label */ ;
 9160  }
 9161  {
 9162#line 779
 9163  __cil_tmp22 = (unsigned long )vb;
 9164#line 779
 9165  __cil_tmp23 = __cil_tmp22 + 600;
 9166#line 779
 9167  __cil_tmp24 = *((struct vb2_queue **)__cil_tmp23);
 9168#line 779
 9169  __cil_tmp25 = *((enum v4l2_buf_type *)__cil_tmp24);
 9170#line 779
 9171  q_data___0 = get_q_data(__cil_tmp25);
 9172#line 781
 9173  tmp___9 = vb2_plane_size(vb, 0U);
 9174  }
 9175  {
 9176#line 781
 9177  __cil_tmp26 = (unsigned long )q_data___0;
 9178#line 781
 9179  __cil_tmp27 = __cil_tmp26 + 8;
 9180#line 781
 9181  __cil_tmp28 = *((unsigned int *)__cil_tmp27);
 9182#line 781
 9183  __cil_tmp29 = (unsigned long )__cil_tmp28;
 9184#line 781
 9185  if (tmp___9 < __cil_tmp29) {
 9186    {
 9187#line 782
 9188    while (1) {
 9189      while_continue___0: /* CIL Label */ ;
 9190      {
 9191#line 782
 9192      tmp___8 = vb2_plane_size(vb, 0U);
 9193#line 782
 9194      __cil_tmp30 = 0 * 1UL;
 9195#line 782
 9196      __cil_tmp31 = 56 + __cil_tmp30;
 9197#line 782
 9198      __cil_tmp32 = 0 + __cil_tmp31;
 9199#line 782
 9200      __cil_tmp33 = *((struct m2mtest_dev **)ctx);
 9201#line 782
 9202      __cil_tmp34 = (unsigned long )__cil_tmp33;
 9203#line 782
 9204      __cil_tmp35 = __cil_tmp34 + __cil_tmp32;
 9205#line 782
 9206      __cil_tmp36 = (char *)__cil_tmp35;
 9207#line 782
 9208      __cil_tmp37 = (unsigned long )q_data___0;
 9209#line 782
 9210      __cil_tmp38 = __cil_tmp37 + 8;
 9211#line 782
 9212      __cil_tmp39 = *((unsigned int *)__cil_tmp38);
 9213#line 782
 9214      __cil_tmp40 = (long )__cil_tmp39;
 9215#line 782
 9216      printk("<7>%s: %s: %s data will not fit into plane (%lu < %lu)\n", __cil_tmp36,
 9217             "m2mtest_buf_prepare", "m2mtest_buf_prepare", tmp___8, __cil_tmp40);
 9218      }
 9219#line 782
 9220      goto while_break___0;
 9221    }
 9222    while_break___0: /* CIL Label */ ;
 9223    }
 9224#line 784
 9225    return (-22);
 9226  } else {
 9227
 9228  }
 9229  }
 9230  {
 9231#line 787
 9232  __cil_tmp41 = (unsigned long )q_data___0;
 9233#line 787
 9234  __cil_tmp42 = __cil_tmp41 + 8;
 9235#line 787
 9236  __cil_tmp43 = *((unsigned int *)__cil_tmp42);
 9237#line 787
 9238  __cil_tmp44 = (unsigned long )__cil_tmp43;
 9239#line 787
 9240  vb2_set_plane_payload(vb, 0U, __cil_tmp44);
 9241  }
 9242#line 789
 9243  return (0);
 9244}
 9245}
 9246#line 792 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9247static void m2mtest_buf_queue(struct vb2_buffer *vb ) 
 9248{ struct m2mtest_ctx *ctx ;
 9249  void *tmp___7 ;
 9250  unsigned long __cil_tmp4 ;
 9251  unsigned long __cil_tmp5 ;
 9252  struct vb2_queue *__cil_tmp6 ;
 9253  unsigned long __cil_tmp7 ;
 9254  unsigned long __cil_tmp8 ;
 9255  struct v4l2_m2m_ctx *__cil_tmp9 ;
 9256
 9257  {
 9258  {
 9259#line 794
 9260  __cil_tmp4 = (unsigned long )vb;
 9261#line 794
 9262  __cil_tmp5 = __cil_tmp4 + 600;
 9263#line 794
 9264  __cil_tmp6 = *((struct vb2_queue **)__cil_tmp5);
 9265#line 794
 9266  tmp___7 = vb2_get_drv_priv(__cil_tmp6);
 9267#line 794
 9268  ctx = (struct m2mtest_ctx *)tmp___7;
 9269#line 795
 9270  __cil_tmp7 = (unsigned long )ctx;
 9271#line 795
 9272  __cil_tmp8 = __cil_tmp7 + 24;
 9273#line 795
 9274  __cil_tmp9 = *((struct v4l2_m2m_ctx **)__cil_tmp8);
 9275#line 795
 9276  v4l2_m2m_buf_queue(__cil_tmp9, vb);
 9277  }
 9278#line 796
 9279  return;
 9280}
 9281}
 9282#line 798 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9283static void m2mtest_wait_prepare(struct vb2_queue *q ) 
 9284{ struct m2mtest_ctx *ctx ;
 9285  void *tmp___7 ;
 9286  void *__cil_tmp4 ;
 9287
 9288  {
 9289  {
 9290#line 800
 9291  tmp___7 = vb2_get_drv_priv(q);
 9292#line 800
 9293  ctx = (struct m2mtest_ctx *)tmp___7;
 9294#line 801
 9295  __cil_tmp4 = (void *)ctx;
 9296#line 801
 9297  m2mtest_unlock(__cil_tmp4);
 9298  }
 9299#line 802
 9300  return;
 9301}
 9302}
 9303#line 804 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9304static void m2mtest_wait_finish(struct vb2_queue *q ) 
 9305{ struct m2mtest_ctx *ctx ;
 9306  void *tmp___7 ;
 9307  void *__cil_tmp4 ;
 9308
 9309  {
 9310  {
 9311#line 806
 9312  tmp___7 = vb2_get_drv_priv(q);
 9313#line 806
 9314  ctx = (struct m2mtest_ctx *)tmp___7;
 9315#line 807
 9316  __cil_tmp4 = (void *)ctx;
 9317#line 807
 9318  m2mtest_lock(__cil_tmp4);
 9319  }
 9320#line 808
 9321  return;
 9322}
 9323}
 9324#line 810 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9325static struct vb2_ops m2mtest_qops  = 
 9326#line 810
 9327     {& m2mtest_queue_setup, & m2mtest_wait_prepare, & m2mtest_wait_finish, (int (*)(struct vb2_buffer *vb ))0,
 9328    & m2mtest_buf_prepare, (int (*)(struct vb2_buffer *vb ))0, (void (*)(struct vb2_buffer *vb ))0,
 9329    (int (*)(struct vb2_queue *q , unsigned int count ))0, (int (*)(struct vb2_queue *q ))0,
 9330    & m2mtest_buf_queue};
 9331#line 818 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9332static int queue_init(void *priv , struct vb2_queue *src_vq , struct vb2_queue *dst_vq ) 
 9333{ struct m2mtest_ctx *ctx ;
 9334  int ret ;
 9335  int tmp___7 ;
 9336  void *__cil_tmp7 ;
 9337  unsigned long __cil_tmp8 ;
 9338  unsigned long __cil_tmp9 ;
 9339  unsigned long __cil_tmp10 ;
 9340  unsigned long __cil_tmp11 ;
 9341  unsigned long __cil_tmp12 ;
 9342  unsigned long __cil_tmp13 ;
 9343  unsigned long __cil_tmp14 ;
 9344  unsigned long __cil_tmp15 ;
 9345  unsigned long __cil_tmp16 ;
 9346  unsigned long __cil_tmp17 ;
 9347  void *__cil_tmp18 ;
 9348  unsigned long __cil_tmp19 ;
 9349  unsigned long __cil_tmp20 ;
 9350  unsigned long __cil_tmp21 ;
 9351  unsigned long __cil_tmp22 ;
 9352  unsigned long __cil_tmp23 ;
 9353  unsigned long __cil_tmp24 ;
 9354  unsigned long __cil_tmp25 ;
 9355  unsigned long __cil_tmp26 ;
 9356  unsigned long __cil_tmp27 ;
 9357  unsigned long __cil_tmp28 ;
 9358
 9359  {
 9360  {
 9361#line 820
 9362  ctx = (struct m2mtest_ctx *)priv;
 9363#line 823
 9364  __cil_tmp7 = (void *)src_vq;
 9365#line 823
 9366  memset(__cil_tmp7, 0, 528UL);
 9367#line 824
 9368  *((enum v4l2_buf_type *)src_vq) = (enum v4l2_buf_type )2;
 9369#line 825
 9370  __cil_tmp8 = (unsigned long )src_vq;
 9371#line 825
 9372  __cil_tmp9 = __cil_tmp8 + 4;
 9373#line 825
 9374  *((unsigned int *)__cil_tmp9) = 1U;
 9375#line 826
 9376  __cil_tmp10 = (unsigned long )src_vq;
 9377#line 826
 9378  __cil_tmp11 = __cil_tmp10 + 32;
 9379#line 826
 9380  *((void **)__cil_tmp11) = (void *)ctx;
 9381#line 827
 9382  __cil_tmp12 = (unsigned long )src_vq;
 9383#line 827
 9384  __cil_tmp13 = __cil_tmp12 + 40;
 9385#line 827
 9386  *((unsigned int *)__cil_tmp13) = (unsigned int )728UL;
 9387#line 828
 9388  __cil_tmp14 = (unsigned long )src_vq;
 9389#line 828
 9390  __cil_tmp15 = __cil_tmp14 + 16;
 9391#line 828
 9392  *((struct vb2_ops    **)__cil_tmp15) = (struct vb2_ops    *)(& m2mtest_qops);
 9393#line 829
 9394  __cil_tmp16 = (unsigned long )src_vq;
 9395#line 829
 9396  __cil_tmp17 = __cil_tmp16 + 24;
 9397#line 829
 9398  *((struct vb2_mem_ops    **)__cil_tmp17) = & vb2_vmalloc_memops;
 9399#line 831
 9400  ret = vb2_queue_init(src_vq);
 9401  }
 9402#line 832
 9403  if (ret) {
 9404#line 833
 9405    return (ret);
 9406  } else {
 9407
 9408  }
 9409  {
 9410#line 835
 9411  __cil_tmp18 = (void *)dst_vq;
 9412#line 835
 9413  memset(__cil_tmp18, 0, 528UL);
 9414#line 836
 9415  *((enum v4l2_buf_type *)dst_vq) = (enum v4l2_buf_type )1;
 9416#line 837
 9417  __cil_tmp19 = (unsigned long )dst_vq;
 9418#line 837
 9419  __cil_tmp20 = __cil_tmp19 + 4;
 9420#line 837
 9421  *((unsigned int *)__cil_tmp20) = 1U;
 9422#line 838
 9423  __cil_tmp21 = (unsigned long )dst_vq;
 9424#line 838
 9425  __cil_tmp22 = __cil_tmp21 + 32;
 9426#line 838
 9427  *((void **)__cil_tmp22) = (void *)ctx;
 9428#line 839
 9429  __cil_tmp23 = (unsigned long )dst_vq;
 9430#line 839
 9431  __cil_tmp24 = __cil_tmp23 + 40;
 9432#line 839
 9433  *((unsigned int *)__cil_tmp24) = (unsigned int )728UL;
 9434#line 840
 9435  __cil_tmp25 = (unsigned long )dst_vq;
 9436#line 840
 9437  __cil_tmp26 = __cil_tmp25 + 16;
 9438#line 840
 9439  *((struct vb2_ops    **)__cil_tmp26) = (struct vb2_ops    *)(& m2mtest_qops);
 9440#line 841
 9441  __cil_tmp27 = (unsigned long )dst_vq;
 9442#line 841
 9443  __cil_tmp28 = __cil_tmp27 + 24;
 9444#line 841
 9445  *((struct vb2_mem_ops    **)__cil_tmp28) = & vb2_vmalloc_memops;
 9446#line 843
 9447  tmp___7 = vb2_queue_init(dst_vq);
 9448  }
 9449#line 843
 9450  return (tmp___7);
 9451}
 9452}
 9453#line 849 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9454static int m2mtest_open(struct file *file ) 
 9455{ struct m2mtest_dev *dev ;
 9456  void *tmp___7 ;
 9457  struct m2mtest_ctx *ctx ;
 9458  void *tmp___8 ;
 9459  int ret ;
 9460  long tmp___9 ;
 9461  long tmp___10 ;
 9462  void *__cil_tmp9 ;
 9463  unsigned long __cil_tmp10 ;
 9464  unsigned long __cil_tmp11 ;
 9465  unsigned long __cil_tmp12 ;
 9466  unsigned long __cil_tmp13 ;
 9467  unsigned long __cil_tmp14 ;
 9468  unsigned long __cil_tmp15 ;
 9469  unsigned long __cil_tmp16 ;
 9470  unsigned long __cil_tmp17 ;
 9471  unsigned long __cil_tmp18 ;
 9472  unsigned long __cil_tmp19 ;
 9473  unsigned long __cil_tmp20 ;
 9474  unsigned long __cil_tmp21 ;
 9475  struct v4l2_m2m_dev *__cil_tmp22 ;
 9476  void *__cil_tmp23 ;
 9477  unsigned long __cil_tmp24 ;
 9478  unsigned long __cil_tmp25 ;
 9479  struct v4l2_m2m_ctx *__cil_tmp26 ;
 9480  void    *__cil_tmp27 ;
 9481  unsigned long __cil_tmp28 ;
 9482  unsigned long __cil_tmp29 ;
 9483  struct v4l2_m2m_ctx *__cil_tmp30 ;
 9484  void    *__cil_tmp31 ;
 9485  void    *__cil_tmp32 ;
 9486  unsigned long __cil_tmp33 ;
 9487  unsigned long __cil_tmp34 ;
 9488  atomic_t *__cil_tmp35 ;
 9489  unsigned long __cil_tmp36 ;
 9490  unsigned long __cil_tmp37 ;
 9491  unsigned long __cil_tmp38 ;
 9492  unsigned long __cil_tmp39 ;
 9493  unsigned long __cil_tmp40 ;
 9494  char *__cil_tmp41 ;
 9495  unsigned long __cil_tmp42 ;
 9496  unsigned long __cil_tmp43 ;
 9497  struct v4l2_m2m_ctx *__cil_tmp44 ;
 9498
 9499  {
 9500  {
 9501#line 851
 9502  tmp___7 = video_drvdata(file);
 9503#line 851
 9504  dev = (struct m2mtest_dev *)tmp___7;
 9505#line 852
 9506  __cil_tmp9 = (void *)0;
 9507#line 852
 9508  ctx = (struct m2mtest_ctx *)__cil_tmp9;
 9509#line 854
 9510  tmp___8 = kzalloc(32UL, 208U);
 9511#line 854
 9512  ctx = (struct m2mtest_ctx *)tmp___8;
 9513  }
 9514#line 855
 9515  if (! ctx) {
 9516#line 856
 9517    return (-12);
 9518  } else {
 9519
 9520  }
 9521  {
 9522#line 858
 9523  __cil_tmp10 = (unsigned long )file;
 9524#line 858
 9525  __cil_tmp11 = __cil_tmp10 + 200;
 9526#line 858
 9527  *((void **)__cil_tmp11) = (void *)ctx;
 9528#line 859
 9529  *((struct m2mtest_dev **)ctx) = dev;
 9530#line 860
 9531  __cil_tmp12 = (unsigned long )ctx;
 9532#line 860
 9533  __cil_tmp13 = __cil_tmp12 + 12;
 9534#line 860
 9535  *((u32 *)__cil_tmp13) = (u32 )1;
 9536#line 861
 9537  __cil_tmp14 = (unsigned long )ctx;
 9538#line 861
 9539  __cil_tmp15 = __cil_tmp14 + 16;
 9540#line 861
 9541  *((u32 *)__cil_tmp15) = (u32 )1000;
 9542#line 862
 9543  __cil_tmp16 = (unsigned long )ctx;
 9544#line 862
 9545  __cil_tmp17 = __cil_tmp16 + 8;
 9546#line 862
 9547  *((u8 *)__cil_tmp17) = (u8 )0;
 9548#line 864
 9549  __cil_tmp18 = (unsigned long )ctx;
 9550#line 864
 9551  __cil_tmp19 = __cil_tmp18 + 24;
 9552#line 864
 9553  __cil_tmp20 = (unsigned long )dev;
 9554#line 864
 9555  __cil_tmp21 = __cil_tmp20 + 408;
 9556#line 864
 9557  __cil_tmp22 = *((struct v4l2_m2m_dev **)__cil_tmp21);
 9558#line 864
 9559  __cil_tmp23 = (void *)ctx;
 9560#line 864
 9561  *((struct v4l2_m2m_ctx **)__cil_tmp19) = v4l2_m2m_ctx_init(__cil_tmp22, __cil_tmp23,
 9562                                                             & queue_init);
 9563#line 866
 9564  __cil_tmp24 = (unsigned long )ctx;
 9565#line 866
 9566  __cil_tmp25 = __cil_tmp24 + 24;
 9567#line 866
 9568  __cil_tmp26 = *((struct v4l2_m2m_ctx **)__cil_tmp25);
 9569#line 866
 9570  __cil_tmp27 = (void    *)__cil_tmp26;
 9571#line 866
 9572  tmp___10 = (long )IS_ERR(__cil_tmp27);
 9573  }
 9574#line 866
 9575  if (tmp___10) {
 9576    {
 9577#line 867
 9578    __cil_tmp28 = (unsigned long )ctx;
 9579#line 867
 9580    __cil_tmp29 = __cil_tmp28 + 24;
 9581#line 867
 9582    __cil_tmp30 = *((struct v4l2_m2m_ctx **)__cil_tmp29);
 9583#line 867
 9584    __cil_tmp31 = (void    *)__cil_tmp30;
 9585#line 867
 9586    tmp___9 = (long )PTR_ERR(__cil_tmp31);
 9587#line 867
 9588    ret = (int )tmp___9;
 9589#line 869
 9590    __cil_tmp32 = (void    *)ctx;
 9591#line 869
 9592    kfree(__cil_tmp32);
 9593    }
 9594#line 870
 9595    return (ret);
 9596  } else {
 9597
 9598  }
 9599  {
 9600#line 873
 9601  __cil_tmp33 = (unsigned long )dev;
 9602#line 873
 9603  __cil_tmp34 = __cil_tmp33 + 224;
 9604#line 873
 9605  __cil_tmp35 = (atomic_t *)__cil_tmp34;
 9606#line 873
 9607  atomic_inc(__cil_tmp35);
 9608  }
 9609  {
 9610#line 875
 9611  while (1) {
 9612    while_continue: /* CIL Label */ ;
 9613    {
 9614#line 875
 9615    __cil_tmp36 = 0 * 1UL;
 9616#line 875
 9617    __cil_tmp37 = 56 + __cil_tmp36;
 9618#line 875
 9619    __cil_tmp38 = 0 + __cil_tmp37;
 9620#line 875
 9621    __cil_tmp39 = (unsigned long )dev;
 9622#line 875
 9623    __cil_tmp40 = __cil_tmp39 + __cil_tmp38;
 9624#line 875
 9625    __cil_tmp41 = (char *)__cil_tmp40;
 9626#line 875
 9627    __cil_tmp42 = (unsigned long )ctx;
 9628#line 875
 9629    __cil_tmp43 = __cil_tmp42 + 24;
 9630#line 875
 9631    __cil_tmp44 = *((struct v4l2_m2m_ctx **)__cil_tmp43);
 9632#line 875
 9633    printk("<7>%s: %s: Created instance %p, m2m_ctx: %p\n", __cil_tmp41, "m2mtest_open",
 9634           ctx, __cil_tmp44);
 9635    }
 9636#line 875
 9637    goto while_break;
 9638  }
 9639  while_break: /* CIL Label */ ;
 9640  }
 9641#line 877
 9642  return (0);
 9643}
 9644}
 9645#line 880 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9646static int m2mtest_release(struct file *file ) 
 9647{ struct m2mtest_dev *dev ;
 9648  void *tmp___7 ;
 9649  struct m2mtest_ctx *ctx ;
 9650  unsigned long __cil_tmp5 ;
 9651  unsigned long __cil_tmp6 ;
 9652  void *__cil_tmp7 ;
 9653  unsigned long __cil_tmp8 ;
 9654  unsigned long __cil_tmp9 ;
 9655  unsigned long __cil_tmp10 ;
 9656  unsigned long __cil_tmp11 ;
 9657  unsigned long __cil_tmp12 ;
 9658  char *__cil_tmp13 ;
 9659  unsigned long __cil_tmp14 ;
 9660  unsigned long __cil_tmp15 ;
 9661  struct v4l2_m2m_ctx *__cil_tmp16 ;
 9662  void    *__cil_tmp17 ;
 9663  unsigned long __cil_tmp18 ;
 9664  unsigned long __cil_tmp19 ;
 9665  atomic_t *__cil_tmp20 ;
 9666
 9667  {
 9668  {
 9669#line 882
 9670  tmp___7 = video_drvdata(file);
 9671#line 882
 9672  dev = (struct m2mtest_dev *)tmp___7;
 9673#line 883
 9674  __cil_tmp5 = (unsigned long )file;
 9675#line 883
 9676  __cil_tmp6 = __cil_tmp5 + 200;
 9677#line 883
 9678  __cil_tmp7 = *((void **)__cil_tmp6);
 9679#line 883
 9680  ctx = (struct m2mtest_ctx *)__cil_tmp7;
 9681  }
 9682  {
 9683#line 885
 9684  while (1) {
 9685    while_continue: /* CIL Label */ ;
 9686    {
 9687#line 885
 9688    __cil_tmp8 = 0 * 1UL;
 9689#line 885
 9690    __cil_tmp9 = 56 + __cil_tmp8;
 9691#line 885
 9692    __cil_tmp10 = 0 + __cil_tmp9;
 9693#line 885
 9694    __cil_tmp11 = (unsigned long )dev;
 9695#line 885
 9696    __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
 9697#line 885
 9698    __cil_tmp13 = (char *)__cil_tmp12;
 9699#line 885
 9700    printk("<7>%s: %s: Releasing instance %p\n", __cil_tmp13, "m2mtest_release", ctx);
 9701    }
 9702#line 885
 9703    goto while_break;
 9704  }
 9705  while_break: /* CIL Label */ ;
 9706  }
 9707  {
 9708#line 887
 9709  __cil_tmp14 = (unsigned long )ctx;
 9710#line 887
 9711  __cil_tmp15 = __cil_tmp14 + 24;
 9712#line 887
 9713  __cil_tmp16 = *((struct v4l2_m2m_ctx **)__cil_tmp15);
 9714#line 887
 9715  v4l2_m2m_ctx_release(__cil_tmp16);
 9716#line 888
 9717  __cil_tmp17 = (void    *)ctx;
 9718#line 888
 9719  kfree(__cil_tmp17);
 9720#line 890
 9721  __cil_tmp18 = (unsigned long )dev;
 9722#line 890
 9723  __cil_tmp19 = __cil_tmp18 + 224;
 9724#line 890
 9725  __cil_tmp20 = (atomic_t *)__cil_tmp19;
 9726#line 890
 9727  atomic_dec(__cil_tmp20);
 9728  }
 9729#line 892
 9730  return (0);
 9731}
 9732}
 9733#line 895 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9734static unsigned int m2mtest_poll(struct file *file , struct poll_table_struct *wait ) 
 9735{ struct m2mtest_ctx *ctx ;
 9736  unsigned int tmp___7 ;
 9737  unsigned long __cil_tmp5 ;
 9738  unsigned long __cil_tmp6 ;
 9739  void *__cil_tmp7 ;
 9740  unsigned long __cil_tmp8 ;
 9741  unsigned long __cil_tmp9 ;
 9742  struct v4l2_m2m_ctx *__cil_tmp10 ;
 9743
 9744  {
 9745  {
 9746#line 898
 9747  __cil_tmp5 = (unsigned long )file;
 9748#line 898
 9749  __cil_tmp6 = __cil_tmp5 + 200;
 9750#line 898
 9751  __cil_tmp7 = *((void **)__cil_tmp6);
 9752#line 898
 9753  ctx = (struct m2mtest_ctx *)__cil_tmp7;
 9754#line 900
 9755  __cil_tmp8 = (unsigned long )ctx;
 9756#line 900
 9757  __cil_tmp9 = __cil_tmp8 + 24;
 9758#line 900
 9759  __cil_tmp10 = *((struct v4l2_m2m_ctx **)__cil_tmp9);
 9760#line 900
 9761  tmp___7 = v4l2_m2m_poll(file, __cil_tmp10, wait);
 9762  }
 9763#line 900
 9764  return (tmp___7);
 9765}
 9766}
 9767#line 903 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9768static int m2mtest_mmap(struct file *file , struct vm_area_struct *vma ) 
 9769{ struct m2mtest_ctx *ctx ;
 9770  int tmp___7 ;
 9771  unsigned long __cil_tmp5 ;
 9772  unsigned long __cil_tmp6 ;
 9773  void *__cil_tmp7 ;
 9774  unsigned long __cil_tmp8 ;
 9775  unsigned long __cil_tmp9 ;
 9776  struct v4l2_m2m_ctx *__cil_tmp10 ;
 9777
 9778  {
 9779  {
 9780#line 905
 9781  __cil_tmp5 = (unsigned long )file;
 9782#line 905
 9783  __cil_tmp6 = __cil_tmp5 + 200;
 9784#line 905
 9785  __cil_tmp7 = *((void **)__cil_tmp6);
 9786#line 905
 9787  ctx = (struct m2mtest_ctx *)__cil_tmp7;
 9788#line 907
 9789  __cil_tmp8 = (unsigned long )ctx;
 9790#line 907
 9791  __cil_tmp9 = __cil_tmp8 + 24;
 9792#line 907
 9793  __cil_tmp10 = *((struct v4l2_m2m_ctx **)__cil_tmp9);
 9794#line 907
 9795  tmp___7 = v4l2_m2m_mmap(file, __cil_tmp10, vma);
 9796  }
 9797#line 907
 9798  return (tmp___7);
 9799}
 9800}
 9801#line 910 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9802static struct v4l2_file_operations    m2mtest_fops  = 
 9803#line 910
 9804     {& __this_module, (ssize_t (*)(struct file * , char * , size_t  , loff_t * ))0,
 9805    (ssize_t (*)(struct file * , char    * , size_t  , loff_t * ))0, & m2mtest_poll,
 9806    (long (*)(struct file * , unsigned int  , unsigned long  ))0, & video_ioctl2,
 9807    (long (*)(struct file * , unsigned int  , unsigned long  ))0, (unsigned long (*)(struct file * ,
 9808                                                                                     unsigned long  ,
 9809                                                                                     unsigned long  ,
 9810                                                                                     unsigned long  ,
 9811                                                                                     unsigned long  ))0,
 9812    & m2mtest_mmap, & m2mtest_open, & m2mtest_release};
 9813#line 919 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9814static struct video_device m2mtest_videodev  = 
 9815#line 919
 9816     {{{(struct list_head *)0, (struct list_head *)0}, (struct media_device *)0, 0U,
 9817     (char    *)0, 0U, 0U, 0UL, 0U, (unsigned short)0, (unsigned short)0, (unsigned short)0,
 9818     (unsigned short)0, (struct media_pad *)0, (struct media_link *)0, (struct media_entity_operations    *)0,
 9819     0, 0, (struct media_pipeline *)0, {.alsa = {0U, 0U, 0U}}}, & m2mtest_fops, {(struct device *)0,
 9820                                                                                 (struct device_private *)0,
 9821                                                                                 {(char    *)0,
 9822                                                                                  {(struct list_head *)0,
 9823                                                                                   (struct list_head *)0},
 9824                                                                                  (struct kobject *)0,
 9825                                                                                  (struct kset *)0,
 9826                                                                                  (struct kobj_type *)0,
 9827                                                                                  (struct sysfs_dirent *)0,
 9828                                                                                  {{0}},
 9829                                                                                  0U,
 9830                                                                                  0U,
 9831                                                                                  0U,
 9832                                                                                  0U,
 9833                                                                                  0U},
 9834                                                                                 (char    *)0,
 9835                                                                                 (struct device_type    *)0,
 9836                                                                                 {{0},
 9837                                                                                  {{{{{0U}},
 9838                                                                                     0U,
 9839                                                                                     0U,
 9840                                                                                     (void *)0}}},
 9841                                                                                  {(struct list_head *)0,
 9842                                                                                   (struct list_head *)0},
 9843                                                                                  (struct task_struct *)0,
 9844                                                                                  (char    *)0,
 9845                                                                                  (void *)0},
 9846                                                                                 (struct bus_type *)0,
 9847                                                                                 (struct device_driver *)0,
 9848                                                                                 (void *)0,
 9849                                                                                 {{0},
 9850                                                                                  0U,
 9851                                                                                  0U,
 9852                                                                                  (_Bool)0,
 9853                                                                                  (_Bool)0,
 9854                                                                                  (_Bool)0,
 9855                                                                                  {{{{{0U}},
 9856                                                                                     0U,
 9857                                                                                     0U,
 9858                                                                                     (void *)0}}},
 9859                                                                                  {(struct list_head *)0,
 9860                                                                                   (struct list_head *)0},
 9861                                                                                  {0U,
 9862                                                                                   {{{{{{0U}},
 9863                                                                                       0U,
 9864                                                                                       0U,
 9865                                                                                       (void *)0}}},
 9866                                                                                    {(struct list_head *)0,
 9867                                                                                     (struct list_head *)0}}},
 9868                                                                                  (struct wakeup_source *)0,
 9869                                                                                  (_Bool)0,
 9870                                                                                  {{(struct list_head *)0,
 9871                                                                                    (struct list_head *)0},
 9872                                                                                   0UL,
 9873                                                                                   (struct tvec_base *)0,
 9874                                                                                   (void (*)(unsigned long  ))0,
 9875                                                                                   0UL,
 9876                                                                                   0,
 9877                                                                                   0,
 9878                                                                                   (void *)0,
 9879                                                                                   {(char)0,
 9880                                                                                    (char)0,
 9881                                                                                    (char)0,
 9882                                                                                    (char)0,
 9883                                                                                    (char)0,
 9884                                                                                    (char)0,
 9885                                                                                    (char)0,
 9886                                                                                    (char)0,
 9887                                                                                    (char)0,
 9888                                                                                    (char)0,
 9889                                                                                    (char)0,
 9890                                                                                    (char)0,
 9891                                                                                    (char)0,
 9892                                                                                    (char)0,
 9893                                                                                    (char)0,
 9894                                                                                    (char)0}},
 9895                                                                                  0UL,
 9896                                                                                  {{0L},
 9897                                                                                   {(struct list_head *)0,
 9898                                                                                    (struct list_head *)0},
 9899                                                                                   (void (*)(struct work_struct *work ))0},
 9900                                                                                  {{{{{{0U}},
 9901                                                                                      0U,
 9902                                                                                      0U,
 9903                                                                                      (void *)0}}},
 9904                                                                                   {(struct list_head *)0,
 9905                                                                                    (struct list_head *)0}},
 9906                                                                                  {0},
 9907                                                                                  {0},
 9908                                                                                  0U,
 9909                                                                                  0U,
 9910                                                                                  0U,
 9911                                                                                  0U,
 9912                                                                                  0U,
 9913                                                                                  0U,
 9914                                                                                  0U,
 9915                                                                                  0U,
 9916                                                                                  0U,
 9917                                                                                  0U,
 9918                                                                                  0,
 9919                                                                                  0,
 9920                                                                                  0,
 9921                                                                                  0,
 9922                                                                                  0UL,
 9923                                                                                  0UL,
 9924                                                                                  0UL,
 9925                                                                                  0UL,
 9926                                                                                  {0LL},
 9927                                                                                  0LL,
 9928                                                                                  (struct dev_pm_qos_request *)0,
 9929                                                                                  (struct pm_subsys_data *)0,
 9930                                                                                  (struct pm_qos_raints *)0},
 9931                                                                                 (struct dev_pm_domain *)0,
 9932                                                                                 0,
 9933                                                                                 (u64 *)0,
 9934                                                                                 0ULL,
 9935                                                                                 (struct device_dma_parameters *)0,
 9936                                                                                 {(struct list_head *)0,
 9937                                                                                  (struct list_head *)0},
 9938                                                                                 (struct dma_coherent_mem *)0,
 9939                                                                                 {(void *)0,
 9940                                                                                  (struct dma_map_ops *)0,
 9941                                                                                  (void *)0},
 9942                                                                                 (struct device_node *)0,
 9943                                                                                 0U,
 9944                                                                                 0U,
 9945                                                                                 {{{{{0U}},
 9946                                                                                    0U,
 9947                                                                                    0U,
 9948                                                                                    (void *)0}}},
 9949                                                                                 {(struct list_head *)0,
 9950                                                                                  (struct list_head *)0},
 9951                                                                                 {(void *)0,
 9952                                                                                  {(struct list_head *)0,
 9953                                                                                   (struct list_head *)0},
 9954                                                                                  {{0}}},
 9955                                                                                 (struct class *)0,
 9956                                                                                 (struct attribute_group    **)0,
 9957                                                                                 (void (*)(struct device *dev ))0},
 9958    (struct cdev *)0, (struct device *)0, (struct v4l2_device *)0, (struct v4l2_ctrl_handler *)0,
 9959    (struct v4l2_prio_state *)0, {(char )'m', (char )'2', (char )'m', (char )'-',
 9960                                  (char )'t', (char )'e', (char )'s', (char )'t',
 9961                                  (char )'d', (char )'e', (char )'v', (char )'\000'},
 9962    0, -1, (unsigned short)0, 0UL, 0, {{{{{0U}}, 0U, 0U, (void *)0}}}, {(struct list_head *)0,
 9963                                                                        (struct list_head *)0},
 9964    0, 0ULL, 0ULL, & video_device_release, & m2mtest_ioctl_ops, (struct mutex *)0};
 9965#line 927 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9966static struct v4l2_m2m_ops m2m_ops  =    {& device_run, & job_ready, & job_abort, & m2mtest_lock, & m2mtest_unlock};
 9967#line 945 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9968static struct lock_class_key __key___4  ;
 9969#line 952 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9970static struct lock_class_key __key___5  ;
 9971#line 935 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
 9972static int m2mtest_probe(struct platform_device *pdev ) 
 9973{ struct m2mtest_dev *dev ;
 9974  struct video_device *vfd ;
 9975  int ret ;
 9976  void *tmp___7 ;
 9977  long tmp___8 ;
 9978  long tmp___9 ;
 9979  unsigned long __cil_tmp8 ;
 9980  unsigned long __cil_tmp9 ;
 9981  spinlock_t *__cil_tmp10 ;
 9982  unsigned long __cil_tmp11 ;
 9983  unsigned long __cil_tmp12 ;
 9984  struct raw_spinlock *__cil_tmp13 ;
 9985  unsigned long __cil_tmp14 ;
 9986  unsigned long __cil_tmp15 ;
 9987  struct device *__cil_tmp16 ;
 9988  struct v4l2_device *__cil_tmp17 ;
 9989  unsigned long __cil_tmp18 ;
 9990  unsigned long __cil_tmp19 ;
 9991  atomic_t *__cil_tmp20 ;
 9992  unsigned long __cil_tmp21 ;
 9993  unsigned long __cil_tmp22 ;
 9994  struct mutex *__cil_tmp23 ;
 9995  unsigned long __cil_tmp24 ;
 9996  unsigned long __cil_tmp25 ;
 9997  unsigned long __cil_tmp26 ;
 9998  unsigned long __cil_tmp27 ;
 9999  unsigned long __cil_tmp28 ;
10000  char *__cil_tmp29 ;
10001  struct video_device *__cil_tmp30 ;
10002  unsigned long __cil_tmp31 ;
10003  unsigned long __cil_tmp32 ;
10004  unsigned long __cil_tmp33 ;
10005  unsigned long __cil_tmp34 ;
10006  unsigned long __cil_tmp35 ;
10007  unsigned long __cil_tmp36 ;
10008  unsigned long __cil_tmp37 ;
10009  unsigned long __cil_tmp38 ;
10010  unsigned long __cil_tmp39 ;
10011  char *__cil_tmp40 ;
10012  void *__cil_tmp41 ;
10013  unsigned long __cil_tmp42 ;
10014  unsigned long __cil_tmp43 ;
10015  unsigned long __cil_tmp44 ;
10016  unsigned long __cil_tmp45 ;
10017  char *__cil_tmp46 ;
10018  unsigned long __cil_tmp47 ;
10019  unsigned long __cil_tmp48 ;
10020  unsigned long __cil_tmp49 ;
10021  char *__cil_tmp50 ;
10022  unsigned long __cil_tmp51 ;
10023  unsigned long __cil_tmp52 ;
10024  unsigned long __cil_tmp53 ;
10025  unsigned long __cil_tmp54 ;
10026  unsigned long __cil_tmp55 ;
10027  unsigned long __cil_tmp56 ;
10028  unsigned long __cil_tmp57 ;
10029  char *__cil_tmp58 ;
10030  unsigned long __cil_tmp59 ;
10031  unsigned long __cil_tmp60 ;
10032  u16 __cil_tmp61 ;
10033  int __cil_tmp62 ;
10034  unsigned long __cil_tmp63 ;
10035  unsigned long __cil_tmp64 ;
10036  struct timer_list *__cil_tmp65 ;
10037  void *__cil_tmp66 ;
10038  char    *__cil_tmp67 ;
10039  void *__cil_tmp68 ;
10040  struct lock_class_key *__cil_tmp69 ;
10041  long __cil_tmp70 ;
10042  unsigned long __cil_tmp71 ;
10043  void *__cil_tmp72 ;
10044  unsigned long __cil_tmp73 ;
10045  unsigned long __cil_tmp74 ;
10046  unsigned long __cil_tmp75 ;
10047  unsigned long __cil_tmp76 ;
10048  struct v4l2_m2m_dev *__cil_tmp77 ;
10049  void    *__cil_tmp78 ;
10050  unsigned long __cil_tmp79 ;
10051  unsigned long __cil_tmp80 ;
10052  unsigned long __cil_tmp81 ;
10053  unsigned long __cil_tmp82 ;
10054  unsigned long __cil_tmp83 ;
10055  char *__cil_tmp84 ;
10056  unsigned long __cil_tmp85 ;
10057  unsigned long __cil_tmp86 ;
10058  struct v4l2_m2m_dev *__cil_tmp87 ;
10059  void    *__cil_tmp88 ;
10060  unsigned long __cil_tmp89 ;
10061  unsigned long __cil_tmp90 ;
10062  unsigned long __cil_tmp91 ;
10063  unsigned long __cil_tmp92 ;
10064  unsigned long __cil_tmp93 ;
10065  unsigned long __cil_tmp94 ;
10066  unsigned long __cil_tmp95 ;
10067  unsigned long __cil_tmp96 ;
10068  unsigned long __cil_tmp97 ;
10069  unsigned long __cil_tmp98 ;
10070  unsigned long __cil_tmp99 ;
10071  unsigned long __cil_tmp100 ;
10072  struct v4l2_m2m_dev *__cil_tmp101 ;
10073  unsigned long __cil_tmp102 ;
10074  unsigned long __cil_tmp103 ;
10075  struct video_device *__cil_tmp104 ;
10076  struct v4l2_device *__cil_tmp105 ;
10077  void    *__cil_tmp106 ;
10078
10079  {
10080  {
10081#line 941
10082  tmp___7 = kzalloc(416UL, 208U);
10083#line 941
10084  dev = (struct m2mtest_dev *)tmp___7;
10085  }
10086#line 942
10087  if (! dev) {
10088#line 943
10089    return (-12);
10090  } else {
10091
10092  }
10093  {
10094#line 945
10095  while (1) {
10096    while_continue: /* CIL Label */ ;
10097    {
10098#line 945
10099    __cil_tmp8 = (unsigned long )dev;
10100#line 945
10101    __cil_tmp9 = __cil_tmp8 + 304;
10102#line 945
10103    __cil_tmp10 = (spinlock_t *)__cil_tmp9;
10104#line 945
10105    spinlock_check(__cil_tmp10);
10106    }
10107    {
10108#line 945
10109    while (1) {
10110      while_continue___0: /* CIL Label */ ;
10111      {
10112#line 945
10113      __cil_tmp11 = (unsigned long )dev;
10114#line 945
10115      __cil_tmp12 = __cil_tmp11 + 304;
10116#line 945
10117      __cil_tmp13 = (struct raw_spinlock *)__cil_tmp12;
10118#line 945
10119      __raw_spin_lock_init(__cil_tmp13, "&(&dev->irqlock)->rlock", & __key___4);
10120      }
10121#line 945
10122      goto while_break___0;
10123    }
10124    while_break___0: /* CIL Label */ ;
10125    }
10126#line 945
10127    goto while_break;
10128  }
10129  while_break: /* CIL Label */ ;
10130  }
10131  {
10132#line 947
10133  __cil_tmp14 = (unsigned long )pdev;
10134#line 947
10135  __cil_tmp15 = __cil_tmp14 + 16;
10136#line 947
10137  __cil_tmp16 = (struct device *)__cil_tmp15;
10138#line 947
10139  __cil_tmp17 = (struct v4l2_device *)dev;
10140#line 947
10141  ret = (int )v4l2_device_register(__cil_tmp16, __cil_tmp17);
10142  }
10143#line 948
10144  if (ret) {
10145#line 949
10146    goto free_dev;
10147  } else {
10148
10149  }
10150  {
10151#line 951
10152  __cil_tmp18 = (unsigned long )dev;
10153#line 951
10154  __cil_tmp19 = __cil_tmp18 + 224;
10155#line 951
10156  __cil_tmp20 = (atomic_t *)__cil_tmp19;
10157#line 951
10158  atomic_set(__cil_tmp20, 0);
10159  }
10160  {
10161#line 952
10162  while (1) {
10163    while_continue___1: /* CIL Label */ ;
10164    {
10165#line 952
10166    __cil_tmp21 = (unsigned long )dev;
10167#line 952
10168    __cil_tmp22 = __cil_tmp21 + 232;
10169#line 952
10170    __cil_tmp23 = (struct mutex *)__cil_tmp22;
10171#line 952
10172    __mutex_init(__cil_tmp23, "&dev->dev_mutex", & __key___5);
10173    }
10174#line 952
10175    goto while_break___1;
10176  }
10177  while_break___1: /* CIL Label */ ;
10178  }
10179  {
10180#line 954
10181  vfd = (struct video_device *)video_device_alloc();
10182  }
10183#line 955
10184  if (! vfd) {
10185    {
10186#line 956
10187    __cil_tmp24 = 0 * 1UL;
10188#line 956
10189    __cil_tmp25 = 56 + __cil_tmp24;
10190#line 956
10191    __cil_tmp26 = 0 + __cil_tmp25;
10192#line 956
10193    __cil_tmp27 = (unsigned long )dev;
10194#line 956
10195    __cil_tmp28 = __cil_tmp27 + __cil_tmp26;
10196#line 956
10197    __cil_tmp29 = (char *)__cil_tmp28;
10198#line 956
10199    printk("<3>%s: Failed to allocate video device\n", __cil_tmp29);
10200#line 957
10201    ret = -12;
10202    }
10203#line 958
10204    goto unreg_dev;
10205  } else {
10206
10207  }
10208  {
10209#line 961
10210  __cil_tmp30 = & m2mtest_videodev;
10211#line 961
10212  *vfd = *__cil_tmp30;
10213#line 962
10214  __cil_tmp31 = (unsigned long )vfd;
10215#line 962
10216  __cil_tmp32 = __cil_tmp31 + 1088;
10217#line 962
10218  __cil_tmp33 = (unsigned long )dev;
10219#line 962
10220  __cil_tmp34 = __cil_tmp33 + 232;
10221#line 962
10222  *((struct mutex **)__cil_tmp32) = (struct mutex *)__cil_tmp34;
10223#line 964
10224  ret = (int )video_register_device(vfd, 0, 0);
10225  }
10226#line 965
10227  if (ret) {
10228    {
10229#line 966
10230    __cil_tmp35 = 0 * 1UL;
10231#line 966
10232    __cil_tmp36 = 56 + __cil_tmp35;
10233#line 966
10234    __cil_tmp37 = 0 + __cil_tmp36;
10235#line 966
10236    __cil_tmp38 = (unsigned long )dev;
10237#line 966
10238    __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
10239#line 966
10240    __cil_tmp40 = (char *)__cil_tmp39;
10241#line 966
10242    printk("<3>%s: Failed to register video device\n", __cil_tmp40);
10243    }
10244#line 967
10245    goto rel_vdev;
10246  } else {
10247
10248  }
10249  {
10250#line 970
10251  __cil_tmp41 = (void *)dev;
10252#line 970
10253  video_set_drvdata(vfd, __cil_tmp41);
10254#line 971
10255  __cil_tmp42 = 0 * 1UL;
10256#line 971
10257  __cil_tmp43 = 944 + __cil_tmp42;
10258#line 971
10259  __cil_tmp44 = (unsigned long )vfd;
10260#line 971
10261  __cil_tmp45 = __cil_tmp44 + __cil_tmp43;
10262#line 971
10263  __cil_tmp46 = (char *)__cil_tmp45;
10264#line 971
10265  __cil_tmp47 = 0 * 1UL;
10266#line 971
10267  __cil_tmp48 = 944 + __cil_tmp47;
10268#line 971
10269  __cil_tmp49 = (unsigned long )(& m2mtest_videodev) + __cil_tmp48;
10270#line 971
10271  __cil_tmp50 = (char *)__cil_tmp49;
10272#line 971
10273  snprintf(__cil_tmp46, 32UL, "%s", __cil_tmp50);
10274#line 972
10275  __cil_tmp51 = (unsigned long )dev;
10276#line 972
10277  __cil_tmp52 = __cil_tmp51 + 216;
10278#line 972
10279  *((struct video_device **)__cil_tmp52) = vfd;
10280#line 973
10281  __cil_tmp53 = 0 * 1UL;
10282#line 973
10283  __cil_tmp54 = 56 + __cil_tmp53;
10284#line 973
10285  __cil_tmp55 = 0 + __cil_tmp54;
10286#line 973
10287  __cil_tmp56 = (unsigned long )dev;
10288#line 973
10289  __cil_tmp57 = __cil_tmp56 + __cil_tmp55;
10290#line 973
10291  __cil_tmp58 = (char *)__cil_tmp57;
10292#line 973
10293  __cil_tmp59 = (unsigned long )vfd;
10294#line 973
10295  __cil_tmp60 = __cil_tmp59 + 984;
10296#line 973
10297  __cil_tmp61 = *((u16 *)__cil_tmp60);
10298#line 973
10299  __cil_tmp62 = (int )__cil_tmp61;
10300#line 973
10301  printk("<6>%s: mem2mem-testdevDevice registered as /dev/video%d\n", __cil_tmp58,
10302         __cil_tmp62);
10303#line 976
10304  __cil_tmp63 = (unsigned long )dev;
10305#line 976
10306  __cil_tmp64 = __cil_tmp63 + 328;
10307#line 976
10308  __cil_tmp65 = (struct timer_list *)__cil_tmp64;
10309#line 976
10310  __cil_tmp66 = (void *)0;
10311#line 976
10312  __cil_tmp67 = (char    *)__cil_tmp66;
10313#line 976
10314  __cil_tmp68 = (void *)0;
10315#line 976
10316  __cil_tmp69 = (struct lock_class_key *)__cil_tmp68;
10317#line 976
10318  __cil_tmp70 = (long )dev;
10319#line 976
10320  __cil_tmp71 = (unsigned long )__cil_tmp70;
10321#line 976
10322  setup_timer_key(__cil_tmp65, __cil_tmp67, __cil_tmp69, & device_isr, __cil_tmp71);
10323#line 977
10324  __cil_tmp72 = (void *)dev;
10325#line 977
10326  platform_set_drvdata(pdev, __cil_tmp72);
10327#line 979
10328  __cil_tmp73 = (unsigned long )dev;
10329#line 979
10330  __cil_tmp74 = __cil_tmp73 + 408;
10331#line 979
10332  *((struct v4l2_m2m_dev **)__cil_tmp74) = v4l2_m2m_init(& m2m_ops);
10333#line 980
10334  __cil_tmp75 = (unsigned long )dev;
10335#line 980
10336  __cil_tmp76 = __cil_tmp75 + 408;
10337#line 980
10338  __cil_tmp77 = *((struct v4l2_m2m_dev **)__cil_tmp76);
10339#line 980
10340  __cil_tmp78 = (void    *)__cil_tmp77;
10341#line 980
10342  tmp___9 = (long )IS_ERR(__cil_tmp78);
10343  }
10344#line 980
10345  if (tmp___9) {
10346    {
10347#line 981
10348    __cil_tmp79 = 0 * 1UL;
10349#line 981
10350    __cil_tmp80 = 56 + __cil_tmp79;
10351#line 981
10352    __cil_tmp81 = 0 + __cil_tmp80;
10353#line 981
10354    __cil_tmp82 = (unsigned long )dev;
10355#line 981
10356    __cil_tmp83 = __cil_tmp82 + __cil_tmp81;
10357#line 981
10358    __cil_tmp84 = (char *)__cil_tmp83;
10359#line 981
10360    printk("<3>%s: Failed to init mem2mem device\n", __cil_tmp84);
10361#line 982
10362    __cil_tmp85 = (unsigned long )dev;
10363#line 982
10364    __cil_tmp86 = __cil_tmp85 + 408;
10365#line 982
10366    __cil_tmp87 = *((struct v4l2_m2m_dev **)__cil_tmp86);
10367#line 982
10368    __cil_tmp88 = (void    *)__cil_tmp87;
10369#line 982
10370    tmp___8 = (long )PTR_ERR(__cil_tmp88);
10371#line 982
10372    ret = (int )tmp___8;
10373    }
10374#line 983
10375    goto err_m2m;
10376  } else {
10377
10378  }
10379#line 986
10380  __cil_tmp89 = 0 * 24UL;
10381#line 986
10382  __cil_tmp90 = __cil_tmp89 + 16;
10383#line 986
10384  __cil_tmp91 = (unsigned long )(q_data) + __cil_tmp90;
10385#line 986
10386  __cil_tmp92 = 0 * 24UL;
10387#line 986
10388  __cil_tmp93 = (unsigned long )(formats) + __cil_tmp92;
10389#line 986
10390  *((struct m2mtest_fmt **)__cil_tmp91) = (struct m2mtest_fmt *)__cil_tmp93;
10391#line 987
10392  __cil_tmp94 = 1 * 24UL;
10393#line 987
10394  __cil_tmp95 = __cil_tmp94 + 16;
10395#line 987
10396  __cil_tmp96 = (unsigned long )(q_data) + __cil_tmp95;
10397#line 987
10398  __cil_tmp97 = 0 * 24UL;
10399#line 987
10400  __cil_tmp98 = (unsigned long )(formats) + __cil_tmp97;
10401#line 987
10402  *((struct m2mtest_fmt **)__cil_tmp96) = (struct m2mtest_fmt *)__cil_tmp98;
10403#line 989
10404  return (0);
10405  {
10406#line 991
10407  __cil_tmp99 = (unsigned long )dev;
10408#line 991
10409  __cil_tmp100 = __cil_tmp99 + 408;
10410#line 991
10411  __cil_tmp101 = *((struct v4l2_m2m_dev **)__cil_tmp100);
10412#line 991
10413  v4l2_m2m_release(__cil_tmp101);
10414  }
10415  err_m2m: 
10416  {
10417#line 993
10418  __cil_tmp102 = (unsigned long )dev;
10419#line 993
10420  __cil_tmp103 = __cil_tmp102 + 216;
10421#line 993
10422  __cil_tmp104 = *((struct video_device **)__cil_tmp103);
10423#line 993
10424  video_unregister_device(__cil_tmp104);
10425  }
10426  rel_vdev: 
10427  {
10428#line 995
10429  video_device_release(vfd);
10430  }
10431  unreg_dev: 
10432  {
10433#line 997
10434  __cil_tmp105 = (struct v4l2_device *)dev;
10435#line 997
10436  v4l2_device_unregister(__cil_tmp105);
10437  }
10438  free_dev: 
10439  {
10440#line 999
10441  __cil_tmp106 = (void    *)dev;
10442#line 999
10443  kfree(__cil_tmp106);
10444  }
10445#line 1001
10446  return (ret);
10447}
10448}
10449#line 1004 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
10450static int m2mtest_remove(struct platform_device *pdev ) 
10451{ struct m2mtest_dev *dev ;
10452  void *tmp___7 ;
10453  struct platform_device    *__cil_tmp4 ;
10454  unsigned long __cil_tmp5 ;
10455  unsigned long __cil_tmp6 ;
10456  unsigned long __cil_tmp7 ;
10457  unsigned long __cil_tmp8 ;
10458  unsigned long __cil_tmp9 ;
10459  char *__cil_tmp10 ;
10460  unsigned long __cil_tmp11 ;
10461  unsigned long __cil_tmp12 ;
10462  struct v4l2_m2m_dev *__cil_tmp13 ;
10463  unsigned long __cil_tmp14 ;
10464  unsigned long __cil_tmp15 ;
10465  struct timer_list *__cil_tmp16 ;
10466  unsigned long __cil_tmp17 ;
10467  unsigned long __cil_tmp18 ;
10468  struct video_device *__cil_tmp19 ;
10469  struct v4l2_device *__cil_tmp20 ;
10470  void    *__cil_tmp21 ;
10471
10472  {
10473  {
10474#line 1006
10475  __cil_tmp4 = (struct platform_device    *)pdev;
10476#line 1006
10477  tmp___7 = platform_get_drvdata(__cil_tmp4);
10478#line 1006
10479  dev = (struct m2mtest_dev *)tmp___7;
10480#line 1009
10481  __cil_tmp5 = 0 * 1UL;
10482#line 1009
10483  __cil_tmp6 = 56 + __cil_tmp5;
10484#line 1009
10485  __cil_tmp7 = 0 + __cil_tmp6;
10486#line 1009
10487  __cil_tmp8 = (unsigned long )dev;
10488#line 1009
10489  __cil_tmp9 = __cil_tmp8 + __cil_tmp7;
10490#line 1009
10491  __cil_tmp10 = (char *)__cil_tmp9;
10492#line 1009
10493  printk("<6>%s: Removing mem2mem-testdev", __cil_tmp10);
10494#line 1010
10495  __cil_tmp11 = (unsigned long )dev;
10496#line 1010
10497  __cil_tmp12 = __cil_tmp11 + 408;
10498#line 1010
10499  __cil_tmp13 = *((struct v4l2_m2m_dev **)__cil_tmp12);
10500#line 1010
10501  v4l2_m2m_release(__cil_tmp13);
10502#line 1011
10503  __cil_tmp14 = (unsigned long )dev;
10504#line 1011
10505  __cil_tmp15 = __cil_tmp14 + 328;
10506#line 1011
10507  __cil_tmp16 = (struct timer_list *)__cil_tmp15;
10508#line 1011
10509  del_timer_sync(__cil_tmp16);
10510#line 1012
10511  __cil_tmp17 = (unsigned long )dev;
10512#line 1012
10513  __cil_tmp18 = __cil_tmp17 + 216;
10514#line 1012
10515  __cil_tmp19 = *((struct video_device **)__cil_tmp18);
10516#line 1012
10517  video_unregister_device(__cil_tmp19);
10518#line 1013
10519  __cil_tmp20 = (struct v4l2_device *)dev;
10520#line 1013
10521  v4l2_device_unregister(__cil_tmp20);
10522#line 1014
10523  __cil_tmp21 = (void    *)dev;
10524#line 1014
10525  kfree(__cil_tmp21);
10526  }
10527#line 1016
10528  return (0);
10529}
10530}
10531#line 1019 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
10532static struct platform_driver m2mtest_pdrv  =    {& m2mtest_probe, & m2mtest_remove, (void (*)(struct platform_device * ))0, (int (*)(struct platform_device * ,
10533                                                                                        pm_message_t state ))0,
10534    (int (*)(struct platform_device * ))0, {"m2m-testdev", (struct bus_type *)0, & __this_module,
10535                                            (char    *)0, (_Bool)0, (struct of_device_id    *)0,
10536                                            (int (*)(struct device *dev ))0, (int (*)(struct device *dev ))0,
10537                                            (void (*)(struct device *dev ))0, (int (*)(struct device *dev ,
10538                                                                                       pm_message_t state ))0,
10539                                            (int (*)(struct device *dev ))0, (struct attribute_group    **)0,
10540                                            (struct dev_pm_ops    *)0, (struct driver_private *)0},
10541    (struct platform_device_id    *)0};
10542#line 1028
10543static void m2mtest_exit(void)  __attribute__((__section__(".exit.text"), __no_instrument_function__)) ;
10544#line 1028 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
10545static void m2mtest_exit(void) 
10546{ 
10547
10548  {
10549  {
10550#line 1030
10551  platform_driver_unregister(& m2mtest_pdrv);
10552#line 1031
10553  platform_device_unregister(& m2mtest_pdev);
10554  }
10555#line 1032
10556  return;
10557}
10558}
10559#line 1034
10560static int m2mtest_init(void)  __attribute__((__section__(".init.text"), __no_instrument_function__)) ;
10561#line 1034 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
10562static int m2mtest_init(void) 
10563{ int ret ;
10564
10565  {
10566  {
10567#line 1038
10568  ret = platform_device_register(& m2mtest_pdev);
10569  }
10570#line 1039
10571  if (ret) {
10572#line 1040
10573    return (ret);
10574  } else {
10575
10576  }
10577  {
10578#line 1042
10579  ret = platform_driver_register(& m2mtest_pdrv);
10580  }
10581#line 1043
10582  if (ret) {
10583    {
10584#line 1044
10585    platform_device_unregister(& m2mtest_pdev);
10586    }
10587  } else {
10588
10589  }
10590#line 1046
10591  return (0);
10592}
10593}
10594#line 1049 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
10595int init_module(void) 
10596{ int tmp___7 ;
10597
10598  {
10599  {
10600#line 1049
10601  tmp___7 = m2mtest_init();
10602  }
10603#line 1049
10604  return (tmp___7);
10605}
10606}
10607#line 1050 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
10608void cleanup_module(void) 
10609{ 
10610
10611  {
10612  {
10613#line 1050
10614  m2mtest_exit();
10615  }
10616#line 1050
10617  return;
10618}
10619}
10620#line 1069
10621void ldv_check_final_state(void) ;
10622#line 1072
10623extern void ldv_check_return_value(int res ) ;
10624#line 1075
10625extern void ldv_initialize(void) ;
10626#line 1078
10627extern int __VERIFIER_nondet_int(void) ;
10628#line 1081 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
10629int LDV_IN_INTERRUPT  ;
10630#line 1732 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
10631static int res_m2mtest_open_40  ;
10632#line 1961 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
10633static int res_m2mtest_probe_44  ;
10634#line 1084 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
10635void main(void) 
10636{ struct device *var_group1 ;
10637  struct file *var_group2 ;
10638  void *var_vidioc_querycap_12_p1 ;
10639  struct v4l2_capability *var_vidioc_querycap_12_p2 ;
10640  void *var_vidioc_enum_fmt_vid_cap_14_p1 ;
10641  struct v4l2_fmtdesc *var_vidioc_enum_fmt_vid_cap_14_p2 ;
10642  void *var_vidioc_g_fmt_vid_cap_18_p1 ;
10643  struct v4l2_format *var_vidioc_g_fmt_vid_cap_18_p2 ;
10644  void *var_vidioc_try_fmt_vid_cap_20_p1 ;
10645  struct v4l2_format *var_vidioc_try_fmt_vid_cap_20_p2 ;
10646  void *var_vidioc_s_fmt_vid_cap_23_p1 ;
10647  struct v4l2_format *var_vidioc_s_fmt_vid_cap_23_p2 ;
10648  void *var_vidioc_enum_fmt_vid_out_15_p1 ;
10649  struct v4l2_fmtdesc *var_vidioc_enum_fmt_vid_out_15_p2 ;
10650  void *var_vidioc_g_fmt_vid_out_17_p1 ;
10651  struct v4l2_format *var_vidioc_g_fmt_vid_out_17_p2 ;
10652  void *var_vidioc_try_fmt_vid_out_21_p1 ;
10653  struct v4l2_format *var_vidioc_try_fmt_vid_out_21_p2 ;
10654  void *var_vidioc_s_fmt_vid_out_24_p1 ;
10655  struct v4l2_format *var_vidioc_s_fmt_vid_out_24_p2 ;
10656  void *var_vidioc_reqbufs_25_p1 ;
10657  struct v4l2_requestbuffers *var_vidioc_reqbufs_25_p2 ;
10658  void *var_vidioc_querybuf_26_p1 ;
10659  struct v4l2_buffer *var_vidioc_querybuf_26_p2 ;
10660  void *var_vidioc_qbuf_27_p1 ;
10661  struct v4l2_buffer *var_vidioc_qbuf_27_p2 ;
10662  void *var_vidioc_dqbuf_28_p1 ;
10663  struct v4l2_buffer *var_vidioc_dqbuf_28_p2 ;
10664  void *var_vidioc_streamon_29_p1 ;
10665  enum v4l2_buf_type var_vidioc_streamon_29_p2 ;
10666  void *var_vidioc_streamoff_30_p1 ;
10667  enum v4l2_buf_type var_vidioc_streamoff_30_p2 ;
10668  void *var_vidioc_queryctrl_31_p1 ;
10669  struct v4l2_queryctrl *var_vidioc_queryctrl_31_p2 ;
10670  void *var_vidioc_g_ctrl_32_p1 ;
10671  struct v4l2_control *var_vidioc_g_ctrl_32_p2 ;
10672  void *var_vidioc_s_ctrl_34_p1 ;
10673  struct v4l2_control *var_vidioc_s_ctrl_34_p2 ;
10674  struct vb2_buffer *var_group3 ;
10675  struct vb2_queue *var_group4 ;
10676  struct poll_table_struct *var_group5 ;
10677  struct vm_area_struct *var_group6 ;
10678  void *var_device_run_10_p0 ;
10679  void *var_job_ready_6_p0 ;
10680  void *var_job_abort_7_p0 ;
10681  void *var_m2mtest_lock_8_p0 ;
10682  void *var_m2mtest_unlock_9_p0 ;
10683  struct platform_device *var_group7 ;
10684  int tmp___7 ;
10685  int ldv_s_m2mtest_pdev_platform_device ;
10686  int ldv_s_m2mtest_fops_v4l2_file_operations ;
10687  int ldv_s_m2mtest_pdrv_platform_driver ;
10688  int tmp___8 ;
10689  int tmp___9 ;
10690  int __cil_tmp55 ;
10691  int __cil_tmp56 ;
10692  int __cil_tmp57 ;
10693
10694  {
10695  {
10696#line 1992
10697  LDV_IN_INTERRUPT = 1;
10698#line 2001
10699  ldv_initialize();
10700#line 2028
10701  tmp___7 = m2mtest_init();
10702  }
10703#line 2028
10704  if (tmp___7) {
10705#line 2029
10706    goto ldv_final;
10707  } else {
10708
10709  }
10710#line 2030
10711  ldv_s_m2mtest_pdev_platform_device = 0;
10712#line 2036
10713  ldv_s_m2mtest_fops_v4l2_file_operations = 0;
10714#line 2041
10715  ldv_s_m2mtest_pdrv_platform_driver = 0;
10716  {
10717#line 2044
10718  while (1) {
10719    while_continue: /* CIL Label */ ;
10720    {
10721#line 2044
10722    tmp___9 = __VERIFIER_nondet_int();
10723    }
10724#line 2044
10725    if (tmp___9) {
10726
10727    } else {
10728      {
10729#line 2044
10730      __cil_tmp55 = ldv_s_m2mtest_pdev_platform_device == 0;
10731#line 2044
10732      if (! __cil_tmp55) {
10733
10734      } else {
10735        {
10736#line 2044
10737        __cil_tmp56 = ldv_s_m2mtest_fops_v4l2_file_operations == 0;
10738#line 2044
10739        if (! __cil_tmp56) {
10740
10741        } else {
10742          {
10743#line 2044
10744          __cil_tmp57 = ldv_s_m2mtest_pdrv_platform_driver == 0;
10745#line 2044
10746          if (! __cil_tmp57) {
10747
10748          } else {
10749#line 2044
10750            goto while_break;
10751          }
10752          }
10753        }
10754        }
10755      }
10756      }
10757    }
10758    {
10759#line 2050
10760    tmp___8 = __VERIFIER_nondet_int();
10761    }
10762#line 2052
10763    if (tmp___8 == 0) {
10764#line 2052
10765      goto case_0;
10766    } else
10767#line 2091
10768    if (tmp___8 == 1) {
10769#line 2091
10770      goto case_1;
10771    } else
10772#line 2128
10773    if (tmp___8 == 2) {
10774#line 2128
10775      goto case_2;
10776    } else
10777#line 2165
10778    if (tmp___8 == 3) {
10779#line 2165
10780      goto case_3;
10781    } else
10782#line 2202
10783    if (tmp___8 == 4) {
10784#line 2202
10785      goto case_4;
10786    } else
10787#line 2239
10788    if (tmp___8 == 5) {
10789#line 2239
10790      goto case_5;
10791    } else
10792#line 2276
10793    if (tmp___8 == 6) {
10794#line 2276
10795      goto case_6;
10796    } else
10797#line 2313
10798    if (tmp___8 == 7) {
10799#line 2313
10800      goto case_7;
10801    } else
10802#line 2350
10803    if (tmp___8 == 8) {
10804#line 2350
10805      goto case_8;
10806    } else
10807#line 2387
10808    if (tmp___8 == 9) {
10809#line 2387
10810      goto case_9;
10811    } else
10812#line 2424
10813    if (tmp___8 == 10) {
10814#line 2424
10815      goto case_10;
10816    } else
10817#line 2461
10818    if (tmp___8 == 11) {
10819#line 2461
10820      goto case_11;
10821    } else
10822#line 2498
10823    if (tmp___8 == 12) {
10824#line 2498
10825      goto case_12;
10826    } else
10827#line 2535
10828    if (tmp___8 == 13) {
10829#line 2535
10830      goto case_13;
10831    } else
10832#line 2572
10833    if (tmp___8 == 14) {
10834#line 2572
10835      goto case_14;
10836    } else
10837#line 2609
10838    if (tmp___8 == 15) {
10839#line 2609
10840      goto case_15;
10841    } else
10842#line 2646
10843    if (tmp___8 == 16) {
10844#line 2646
10845      goto case_16;
10846    } else
10847#line 2683
10848    if (tmp___8 == 17) {
10849#line 2683
10850      goto case_17;
10851    } else
10852#line 2720
10853    if (tmp___8 == 18) {
10854#line 2720
10855      goto case_18;
10856    } else
10857#line 2757
10858    if (tmp___8 == 19) {
10859#line 2757
10860      goto case_19;
10861    } else
10862#line 2794
10863    if (tmp___8 == 20) {
10864#line 2794
10865      goto case_20;
10866    } else
10867#line 2831
10868    if (tmp___8 == 21) {
10869#line 2831
10870      goto case_21;
10871    } else
10872#line 2868
10873    if (tmp___8 == 22) {
10874#line 2868
10875      goto case_22;
10876    } else
10877#line 2905
10878    if (tmp___8 == 23) {
10879#line 2905
10880      goto case_23;
10881    } else
10882#line 2945
10883    if (tmp___8 == 24) {
10884#line 2945
10885      goto case_24;
10886    } else
10887#line 2982
10888    if (tmp___8 == 25) {
10889#line 2982
10890      goto case_25;
10891    } else
10892#line 3019
10893    if (tmp___8 == 26) {
10894#line 3019
10895      goto case_26;
10896    } else
10897#line 3056
10898    if (tmp___8 == 27) {
10899#line 3056
10900      goto case_27;
10901    } else
10902#line 3093
10903    if (tmp___8 == 28) {
10904#line 3093
10905      goto case_28;
10906    } else
10907#line 3130
10908    if (tmp___8 == 29) {
10909#line 3130
10910      goto case_29;
10911    } else
10912#line 3167
10913    if (tmp___8 == 30) {
10914#line 3167
10915      goto case_30;
10916    } else
10917#line 3204
10918    if (tmp___8 == 31) {
10919#line 3204
10920      goto case_31;
10921    } else
10922#line 3241
10923    if (tmp___8 == 32) {
10924#line 3241
10925      goto case_32;
10926    } else
10927#line 3281
10928    if (tmp___8 == 33) {
10929#line 3281
10930      goto case_33;
10931    } else {
10932      {
10933#line 3318
10934      goto switch_default;
10935#line 2050
10936      if (0) {
10937        case_0: /* CIL Label */ 
10938#line 2055
10939        if (ldv_s_m2mtest_pdev_platform_device == 0) {
10940          {
10941#line 2078
10942          m2mtest_dev_release(var_group1);
10943#line 2084
10944          ldv_s_m2mtest_pdev_platform_device = 0;
10945          }
10946        } else {
10947
10948        }
10949#line 2090
10950        goto switch_break;
10951        case_1: /* CIL Label */ 
10952        {
10953#line 2120
10954        vidioc_querycap(var_group2, var_vidioc_querycap_12_p1, var_vidioc_querycap_12_p2);
10955        }
10956#line 2127
10957        goto switch_break;
10958        case_2: /* CIL Label */ 
10959        {
10960#line 2157
10961        vidioc_enum_fmt_vid_cap(var_group2, var_vidioc_enum_fmt_vid_cap_14_p1, var_vidioc_enum_fmt_vid_cap_14_p2);
10962        }
10963#line 2164
10964        goto switch_break;
10965        case_3: /* CIL Label */ 
10966        {
10967#line 2194
10968        vidioc_g_fmt_vid_cap(var_group2, var_vidioc_g_fmt_vid_cap_18_p1, var_vidioc_g_fmt_vid_cap_18_p2);
10969        }
10970#line 2201
10971        goto switch_break;
10972        case_4: /* CIL Label */ 
10973        {
10974#line 2231
10975        vidioc_try_fmt_vid_cap(var_group2, var_vidioc_try_fmt_vid_cap_20_p1, var_vidioc_try_fmt_vid_cap_20_p2);
10976        }
10977#line 2238
10978        goto switch_break;
10979        case_5: /* CIL Label */ 
10980        {
10981#line 2268
10982        vidioc_s_fmt_vid_cap(var_group2, var_vidioc_s_fmt_vid_cap_23_p1, var_vidioc_s_fmt_vid_cap_23_p2);
10983        }
10984#line 2275
10985        goto switch_break;
10986        case_6: /* CIL Label */ 
10987        {
10988#line 2305
10989        vidioc_enum_fmt_vid_out(var_group2, var_vidioc_enum_fmt_vid_out_15_p1, var_vidioc_enum_fmt_vid_out_15_p2);
10990        }
10991#line 2312
10992        goto switch_break;
10993        case_7: /* CIL Label */ 
10994        {
10995#line 2342
10996        vidioc_g_fmt_vid_out(var_group2, var_vidioc_g_fmt_vid_out_17_p1, var_vidioc_g_fmt_vid_out_17_p2);
10997        }
10998#line 2349
10999        goto switch_break;
11000        case_8: /* CIL Label */ 
11001        {
11002#line 2379
11003        vidioc_try_fmt_vid_out(var_group2, var_vidioc_try_fmt_vid_out_21_p1, var_vidioc_try_fmt_vid_out_21_p2);
11004        }
11005#line 2386
11006        goto switch_break;
11007        case_9: /* CIL Label */ 
11008        {
11009#line 2416
11010        vidioc_s_fmt_vid_out(var_group2, var_vidioc_s_fmt_vid_out_24_p1, var_vidioc_s_fmt_vid_out_24_p2);
11011        }
11012#line 2423
11013        goto switch_break;
11014        case_10: /* CIL Label */ 
11015        {
11016#line 2453
11017        vidioc_reqbufs(var_group2, var_vidioc_reqbufs_25_p1, var_vidioc_reqbufs_25_p2);
11018        }
11019#line 2460
11020        goto switch_break;
11021        case_11: /* CIL Label */ 
11022        {
11023#line 2490
11024        vidioc_querybuf(var_group2, var_vidioc_querybuf_26_p1, var_vidioc_querybuf_26_p2);
11025        }
11026#line 2497
11027        goto switch_break;
11028        case_12: /* CIL Label */ 
11029        {
11030#line 2527
11031        vidioc_qbuf(var_group2, var_vidioc_qbuf_27_p1, var_vidioc_qbuf_27_p2);
11032        }
11033#line 2534
11034        goto switch_break;
11035        case_13: /* CIL Label */ 
11036        {
11037#line 2564
11038        vidioc_dqbuf(var_group2, var_vidioc_dqbuf_28_p1, var_vidioc_dqbuf_28_p2);
11039        }
11040#line 2571
11041        goto switch_break;
11042        case_14: /* CIL Label */ 
11043        {
11044#line 2601
11045        vidioc_streamon(var_group2, var_vidioc_streamon_29_p1, var_vidioc_streamon_29_p2);
11046        }
11047#line 2608
11048        goto switch_break;
11049        case_15: /* CIL Label */ 
11050        {
11051#line 2638
11052        vidioc_streamoff(var_group2, var_vidioc_streamoff_30_p1, var_vidioc_streamoff_30_p2);
11053        }
11054#line 2645
11055        goto switch_break;
11056        case_16: /* CIL Label */ 
11057        {
11058#line 2675
11059        vidioc_queryctrl(var_group2, var_vidioc_queryctrl_31_p1, var_vidioc_queryctrl_31_p2);
11060        }
11061#line 2682
11062        goto switch_break;
11063        case_17: /* CIL Label */ 
11064        {
11065#line 2712
11066        vidioc_g_ctrl(var_group2, var_vidioc_g_ctrl_32_p1, var_vidioc_g_ctrl_32_p2);
11067        }
11068#line 2719
11069        goto switch_break;
11070        case_18: /* CIL Label */ 
11071        {
11072#line 2749
11073        vidioc_s_ctrl(var_group2, var_vidioc_s_ctrl_34_p1, var_vidioc_s_ctrl_34_p2);
11074        }
11075#line 2756
11076        goto switch_break;
11077        case_19: /* CIL Label */ 
11078        {
11079#line 2786
11080        m2mtest_buf_prepare(var_group3);
11081        }
11082#line 2793
11083        goto switch_break;
11084        case_20: /* CIL Label */ 
11085        {
11086#line 2823
11087        m2mtest_buf_queue(var_group3);
11088        }
11089#line 2830
11090        goto switch_break;
11091        case_21: /* CIL Label */ 
11092        {
11093#line 2860
11094        m2mtest_wait_prepare(var_group4);
11095        }
11096#line 2867
11097        goto switch_break;
11098        case_22: /* CIL Label */ 
11099        {
11100#line 2897
11101        m2mtest_wait_finish(var_group4);
11102        }
11103#line 2904
11104        goto switch_break;
11105        case_23: /* CIL Label */ 
11106#line 2908
11107        if (ldv_s_m2mtest_fops_v4l2_file_operations == 0) {
11108          {
11109#line 2934
11110          res_m2mtest_open_40 = m2mtest_open(var_group2);
11111#line 2935
11112          ldv_check_return_value(res_m2mtest_open_40);
11113          }
11114#line 2936
11115          if (res_m2mtest_open_40) {
11116#line 2937
11117            goto ldv_module_exit;
11118          } else {
11119
11120          }
11121#line 2938
11122          ldv_s_m2mtest_fops_v4l2_file_operations = ldv_s_m2mtest_fops_v4l2_file_operations + 1;
11123        } else {
11124
11125        }
11126#line 2944
11127        goto switch_break;
11128        case_24: /* CIL Label */ 
11129#line 2948
11130        if (ldv_s_m2mtest_fops_v4l2_file_operations == 1) {
11131          {
11132#line 2974
11133          m2mtest_release(var_group2);
11134#line 2975
11135          ldv_s_m2mtest_fops_v4l2_file_operations = 0;
11136          }
11137        } else {
11138
11139        }
11140#line 2981
11141        goto switch_break;
11142        case_25: /* CIL Label */ 
11143        {
11144#line 3011
11145        m2mtest_poll(var_group2, var_group5);
11146        }
11147#line 3018
11148        goto switch_break;
11149        case_26: /* CIL Label */ 
11150        {
11151#line 3048
11152        m2mtest_mmap(var_group2, var_group6);
11153        }
11154#line 3055
11155        goto switch_break;
11156        case_27: /* CIL Label */ 
11157        {
11158#line 3085
11159        device_run(var_device_run_10_p0);
11160        }
11161#line 3092
11162        goto switch_break;
11163        case_28: /* CIL Label */ 
11164        {
11165#line 3122
11166        job_ready(var_job_ready_6_p0);
11167        }
11168#line 3129
11169        goto switch_break;
11170        case_29: /* CIL Label */ 
11171        {
11172#line 3159
11173        job_abort(var_job_abort_7_p0);
11174        }
11175#line 3166
11176        goto switch_break;
11177        case_30: /* CIL Label */ 
11178        {
11179#line 3196
11180        m2mtest_lock(var_m2mtest_lock_8_p0);
11181        }
11182#line 3203
11183        goto switch_break;
11184        case_31: /* CIL Label */ 
11185        {
11186#line 3233
11187        m2mtest_unlock(var_m2mtest_unlock_9_p0);
11188        }
11189#line 3240
11190        goto switch_break;
11191        case_32: /* CIL Label */ 
11192#line 3244
11193        if (ldv_s_m2mtest_pdrv_platform_driver == 0) {
11194          {
11195#line 3270
11196          res_m2mtest_probe_44 = m2mtest_probe(var_group7);
11197#line 3271
11198          ldv_check_return_value(res_m2mtest_probe_44);
11199          }
11200#line 3272
11201          if (res_m2mtest_probe_44) {
11202#line 3273
11203            goto ldv_module_exit;
11204          } else {
11205
11206          }
11207#line 3274
11208          ldv_s_m2mtest_pdrv_platform_driver = ldv_s_m2mtest_pdrv_platform_driver + 1;
11209        } else {
11210
11211        }
11212#line 3280
11213        goto switch_break;
11214        case_33: /* CIL Label */ 
11215#line 3284
11216        if (ldv_s_m2mtest_pdrv_platform_driver == 1) {
11217          {
11218#line 3310
11219          m2mtest_remove(var_group7);
11220#line 3311
11221          ldv_s_m2mtest_pdrv_platform_driver = 0;
11222          }
11223        } else {
11224
11225        }
11226#line 3317
11227        goto switch_break;
11228        switch_default: /* CIL Label */ 
11229#line 3318
11230        goto switch_break;
11231      } else {
11232        switch_break: /* CIL Label */ ;
11233      }
11234      }
11235    }
11236  }
11237  while_break: /* CIL Label */ ;
11238  }
11239  ldv_module_exit: 
11240  {
11241#line 3351
11242  m2mtest_exit();
11243  }
11244  ldv_final: 
11245  {
11246#line 3354
11247  ldv_check_final_state();
11248  }
11249#line 3357
11250  return;
11251}
11252}
11253#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast-assert.h"
11254void ldv_blast_assert(void) 
11255{ 
11256
11257  {
11258  ERROR: 
11259#line 6
11260  goto ERROR;
11261}
11262}
11263#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast.h"
11264extern int __VERIFIER_nondet_int(void) ;
11265#line 19 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
11266int ldv_mutex  =    1;
11267#line 22 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
11268int __attribute__((__warn_unused_result__))  mutex_lock_interruptible(struct mutex *lock ) 
11269{ int nondetermined ;
11270
11271  {
11272#line 29
11273  if (ldv_mutex == 1) {
11274
11275  } else {
11276    {
11277#line 29
11278    ldv_blast_assert();
11279    }
11280  }
11281  {
11282#line 32
11283  nondetermined = __VERIFIER_nondet_int();
11284  }
11285#line 35
11286  if (nondetermined) {
11287#line 38
11288    ldv_mutex = 2;
11289#line 40
11290    return (0);
11291  } else {
11292#line 45
11293    return (-4);
11294  }
11295}
11296}
11297#line 50 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
11298int __attribute__((__warn_unused_result__))  mutex_lock_killable(struct mutex *lock ) 
11299{ int nondetermined ;
11300
11301  {
11302#line 57
11303  if (ldv_mutex == 1) {
11304
11305  } else {
11306    {
11307#line 57
11308    ldv_blast_assert();
11309    }
11310  }
11311  {
11312#line 60
11313  nondetermined = __VERIFIER_nondet_int();
11314  }
11315#line 63
11316  if (nondetermined) {
11317#line 66
11318    ldv_mutex = 2;
11319#line 68
11320    return (0);
11321  } else {
11322#line 73
11323    return (-4);
11324  }
11325}
11326}
11327#line 78 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
11328int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock ) 
11329{ int atomic_value_after_dec ;
11330
11331  {
11332#line 83
11333  if (ldv_mutex == 1) {
11334
11335  } else {
11336    {
11337#line 83
11338    ldv_blast_assert();
11339    }
11340  }
11341  {
11342#line 86
11343  atomic_value_after_dec = __VERIFIER_nondet_int();
11344  }
11345#line 89
11346  if (atomic_value_after_dec == 0) {
11347#line 92
11348    ldv_mutex = 2;
11349#line 94
11350    return (1);
11351  } else {
11352
11353  }
11354#line 98
11355  return (0);
11356}
11357}
11358#line 103 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
11359void mutex_lock(struct mutex *lock ) 
11360{ 
11361
11362  {
11363#line 108
11364  if (ldv_mutex == 1) {
11365
11366  } else {
11367    {
11368#line 108
11369    ldv_blast_assert();
11370    }
11371  }
11372#line 110
11373  ldv_mutex = 2;
11374#line 111
11375  return;
11376}
11377}
11378#line 114 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
11379int mutex_trylock(struct mutex *lock ) 
11380{ int nondetermined ;
11381
11382  {
11383#line 121
11384  if (ldv_mutex == 1) {
11385
11386  } else {
11387    {
11388#line 121
11389    ldv_blast_assert();
11390    }
11391  }
11392  {
11393#line 124
11394  nondetermined = __VERIFIER_nondet_int();
11395  }
11396#line 127
11397  if (nondetermined) {
11398#line 130
11399    ldv_mutex = 2;
11400#line 132
11401    return (1);
11402  } else {
11403#line 137
11404    return (0);
11405  }
11406}
11407}
11408#line 142 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
11409void mutex_unlock(struct mutex *lock ) 
11410{ 
11411
11412  {
11413#line 147
11414  if (ldv_mutex == 2) {
11415
11416  } else {
11417    {
11418#line 147
11419    ldv_blast_assert();
11420    }
11421  }
11422#line 149
11423  ldv_mutex = 1;
11424#line 150
11425  return;
11426}
11427}
11428#line 153 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
11429void ldv_check_final_state(void) 
11430{ 
11431
11432  {
11433#line 156
11434  if (ldv_mutex == 1) {
11435
11436  } else {
11437    {
11438#line 156
11439    ldv_blast_assert();
11440    }
11441  }
11442#line 157
11443  return;
11444}
11445}
11446#line 3366 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/15010/dscv_tempdir/dscv/ri/32_1/drivers/media/video/mem2mem_testdev.c.common.c"
11447long s__builtin_expect(long val , long res ) 
11448{ 
11449
11450  {
11451#line 3367
11452  return (val);
11453}
11454}