Showing error 324

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_1_cilled_safe_ok_nondet_linux-3.4-32_1-drivers--media--common--tuners--mt2060.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c
Line in file: 6107
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 52 "include/asm-generic/posix_types.h"
  41typedef unsigned int __kernel_uid32_t;
  42#line 53 "include/asm-generic/posix_types.h"
  43typedef unsigned int __kernel_gid32_t;
  44#line 75 "include/asm-generic/posix_types.h"
  45typedef __kernel_ulong_t __kernel_size_t;
  46#line 76 "include/asm-generic/posix_types.h"
  47typedef __kernel_long_t __kernel_ssize_t;
  48#line 91 "include/asm-generic/posix_types.h"
  49typedef long long __kernel_loff_t;
  50#line 92 "include/asm-generic/posix_types.h"
  51typedef __kernel_long_t __kernel_time_t;
  52#line 93 "include/asm-generic/posix_types.h"
  53typedef __kernel_long_t __kernel_clock_t;
  54#line 94 "include/asm-generic/posix_types.h"
  55typedef int __kernel_timer_t;
  56#line 95 "include/asm-generic/posix_types.h"
  57typedef int __kernel_clockid_t;
  58#line 21 "include/linux/types.h"
  59typedef __u32 __kernel_dev_t;
  60#line 24 "include/linux/types.h"
  61typedef __kernel_dev_t dev_t;
  62#line 27 "include/linux/types.h"
  63typedef unsigned short umode_t;
  64#line 30 "include/linux/types.h"
  65typedef __kernel_pid_t pid_t;
  66#line 35 "include/linux/types.h"
  67typedef __kernel_clockid_t clockid_t;
  68#line 38 "include/linux/types.h"
  69typedef _Bool bool;
  70#line 40 "include/linux/types.h"
  71typedef __kernel_uid32_t uid_t;
  72#line 41 "include/linux/types.h"
  73typedef __kernel_gid32_t gid_t;
  74#line 54 "include/linux/types.h"
  75typedef __kernel_loff_t loff_t;
  76#line 63 "include/linux/types.h"
  77typedef __kernel_size_t size_t;
  78#line 68 "include/linux/types.h"
  79typedef __kernel_ssize_t ssize_t;
  80#line 78 "include/linux/types.h"
  81typedef __kernel_time_t time_t;
  82#line 111 "include/linux/types.h"
  83typedef __s32 int32_t;
  84#line 117 "include/linux/types.h"
  85typedef __u32 uint32_t;
  86#line 142 "include/linux/types.h"
  87typedef unsigned long sector_t;
  88#line 143 "include/linux/types.h"
  89typedef unsigned long blkcnt_t;
  90#line 202 "include/linux/types.h"
  91typedef unsigned int gfp_t;
  92#line 203 "include/linux/types.h"
  93typedef unsigned int fmode_t;
  94#line 219 "include/linux/types.h"
  95struct __anonstruct_atomic_t_7 {
  96   int counter ;
  97};
  98#line 219 "include/linux/types.h"
  99typedef struct __anonstruct_atomic_t_7 atomic_t;
 100#line 224 "include/linux/types.h"
 101struct __anonstruct_atomic64_t_8 {
 102   long counter ;
 103};
 104#line 224 "include/linux/types.h"
 105typedef struct __anonstruct_atomic64_t_8 atomic64_t;
 106#line 229 "include/linux/types.h"
 107struct list_head {
 108   struct list_head *next ;
 109   struct list_head *prev ;
 110};
 111#line 233
 112struct hlist_node;
 113#line 233 "include/linux/types.h"
 114struct hlist_head {
 115   struct hlist_node *first ;
 116};
 117#line 237 "include/linux/types.h"
 118struct hlist_node {
 119   struct hlist_node *next ;
 120   struct hlist_node **pprev ;
 121};
 122#line 253 "include/linux/types.h"
 123struct rcu_head {
 124   struct rcu_head *next ;
 125   void (*func)(struct rcu_head *head ) ;
 126};
 127#line 56 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
 128struct module;
 129#line 56
 130struct module;
 131#line 146 "include/linux/init.h"
 132typedef void (*ctor_fn_t)(void);
 133#line 47 "include/linux/dynamic_debug.h"
 134struct device;
 135#line 47
 136struct device;
 137#line 135 "include/linux/kernel.h"
 138struct completion;
 139#line 135
 140struct completion;
 141#line 136
 142struct pt_regs;
 143#line 136
 144struct pt_regs;
 145#line 349
 146struct pid;
 147#line 349
 148struct pid;
 149#line 12 "include/linux/thread_info.h"
 150struct timespec;
 151#line 12
 152struct timespec;
 153#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page.h"
 154struct page;
 155#line 18
 156struct page;
 157#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
 158struct task_struct;
 159#line 20
 160struct task_struct;
 161#line 7 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 162struct task_struct;
 163#line 8
 164struct mm_struct;
 165#line 8
 166struct mm_struct;
 167#line 99 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
 168struct pt_regs {
 169   unsigned long r15 ;
 170   unsigned long r14 ;
 171   unsigned long r13 ;
 172   unsigned long r12 ;
 173   unsigned long bp ;
 174   unsigned long bx ;
 175   unsigned long r11 ;
 176   unsigned long r10 ;
 177   unsigned long r9 ;
 178   unsigned long r8 ;
 179   unsigned long ax ;
 180   unsigned long cx ;
 181   unsigned long dx ;
 182   unsigned long si ;
 183   unsigned long di ;
 184   unsigned long orig_ax ;
 185   unsigned long ip ;
 186   unsigned long cs ;
 187   unsigned long flags ;
 188   unsigned long sp ;
 189   unsigned long ss ;
 190};
 191#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
 192struct __anonstruct____missing_field_name_15 {
 193   unsigned int a ;
 194   unsigned int b ;
 195};
 196#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
 197struct __anonstruct____missing_field_name_16 {
 198   u16 limit0 ;
 199   u16 base0 ;
 200   unsigned int base1 : 8 ;
 201   unsigned int type : 4 ;
 202   unsigned int s : 1 ;
 203   unsigned int dpl : 2 ;
 204   unsigned int p : 1 ;
 205   unsigned int limit : 4 ;
 206   unsigned int avl : 1 ;
 207   unsigned int l : 1 ;
 208   unsigned int d : 1 ;
 209   unsigned int g : 1 ;
 210   unsigned int base2 : 8 ;
 211};
 212#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
 213union __anonunion____missing_field_name_14 {
 214   struct __anonstruct____missing_field_name_15 __annonCompField5 ;
 215   struct __anonstruct____missing_field_name_16 __annonCompField6 ;
 216};
 217#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
 218struct desc_struct {
 219   union __anonunion____missing_field_name_14 __annonCompField7 ;
 220} __attribute__((__packed__)) ;
 221#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
 222typedef unsigned long pgdval_t;
 223#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
 224typedef unsigned long pgprotval_t;
 225#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
 226struct pgprot {
 227   pgprotval_t pgprot ;
 228};
 229#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
 230typedef struct pgprot pgprot_t;
 231#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
 232struct __anonstruct_pgd_t_20 {
 233   pgdval_t pgd ;
 234};
 235#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
 236typedef struct __anonstruct_pgd_t_20 pgd_t;
 237#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
 238typedef struct page *pgtable_t;
 239#line 295
 240struct file;
 241#line 295
 242struct file;
 243#line 313
 244struct seq_file;
 245#line 313
 246struct seq_file;
 247#line 46 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
 248struct page;
 249#line 47
 250struct thread_struct;
 251#line 47
 252struct thread_struct;
 253#line 50
 254struct mm_struct;
 255#line 51
 256struct desc_struct;
 257#line 52
 258struct task_struct;
 259#line 53
 260struct cpumask;
 261#line 53
 262struct cpumask;
 263#line 329
 264struct arch_spinlock;
 265#line 329
 266struct arch_spinlock;
 267#line 139 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
 268struct task_struct;
 269#line 141 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
 270struct kernel_vm86_regs {
 271   struct pt_regs pt ;
 272   unsigned short es ;
 273   unsigned short __esh ;
 274   unsigned short ds ;
 275   unsigned short __dsh ;
 276   unsigned short fs ;
 277   unsigned short __fsh ;
 278   unsigned short gs ;
 279   unsigned short __gsh ;
 280};
 281#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
 282union __anonunion____missing_field_name_24 {
 283   struct pt_regs *regs ;
 284   struct kernel_vm86_regs *vm86 ;
 285};
 286#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
 287struct math_emu_info {
 288   long ___orig_eip ;
 289   union __anonunion____missing_field_name_24 __annonCompField8 ;
 290};
 291#line 8 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/current.h"
 292struct task_struct;
 293#line 10 "include/asm-generic/bug.h"
 294struct bug_entry {
 295   int bug_addr_disp ;
 296   int file_disp ;
 297   unsigned short line ;
 298   unsigned short flags ;
 299};
 300#line 12 "include/linux/bug.h"
 301struct pt_regs;
 302#line 14 "include/linux/cpumask.h"
 303struct cpumask {
 304   unsigned long bits[((4096UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
 305};
 306#line 14 "include/linux/cpumask.h"
 307typedef struct cpumask cpumask_t;
 308#line 637 "include/linux/cpumask.h"
 309typedef struct cpumask *cpumask_var_t;
 310#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
 311struct static_key;
 312#line 234
 313struct static_key;
 314#line 11 "include/linux/personality.h"
 315struct pt_regs;
 316#line 290 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 317struct i387_fsave_struct {
 318   u32 cwd ;
 319   u32 swd ;
 320   u32 twd ;
 321   u32 fip ;
 322   u32 fcs ;
 323   u32 foo ;
 324   u32 fos ;
 325   u32 st_space[20] ;
 326   u32 status ;
 327};
 328#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 329struct __anonstruct____missing_field_name_31 {
 330   u64 rip ;
 331   u64 rdp ;
 332};
 333#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 334struct __anonstruct____missing_field_name_32 {
 335   u32 fip ;
 336   u32 fcs ;
 337   u32 foo ;
 338   u32 fos ;
 339};
 340#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 341union __anonunion____missing_field_name_30 {
 342   struct __anonstruct____missing_field_name_31 __annonCompField12 ;
 343   struct __anonstruct____missing_field_name_32 __annonCompField13 ;
 344};
 345#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 346union __anonunion____missing_field_name_33 {
 347   u32 padding1[12] ;
 348   u32 sw_reserved[12] ;
 349};
 350#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 351struct i387_fxsave_struct {
 352   u16 cwd ;
 353   u16 swd ;
 354   u16 twd ;
 355   u16 fop ;
 356   union __anonunion____missing_field_name_30 __annonCompField14 ;
 357   u32 mxcsr ;
 358   u32 mxcsr_mask ;
 359   u32 st_space[32] ;
 360   u32 xmm_space[64] ;
 361   u32 padding[12] ;
 362   union __anonunion____missing_field_name_33 __annonCompField15 ;
 363} __attribute__((__aligned__(16))) ;
 364#line 341 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 365struct i387_soft_struct {
 366   u32 cwd ;
 367   u32 swd ;
 368   u32 twd ;
 369   u32 fip ;
 370   u32 fcs ;
 371   u32 foo ;
 372   u32 fos ;
 373   u32 st_space[20] ;
 374   u8 ftop ;
 375   u8 changed ;
 376   u8 lookahead ;
 377   u8 no_update ;
 378   u8 rm ;
 379   u8 alimit ;
 380   struct math_emu_info *info ;
 381   u32 entry_eip ;
 382};
 383#line 361 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 384struct ymmh_struct {
 385   u32 ymmh_space[64] ;
 386};
 387#line 366 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 388struct xsave_hdr_struct {
 389   u64 xstate_bv ;
 390   u64 reserved1[2] ;
 391   u64 reserved2[5] ;
 392} __attribute__((__packed__)) ;
 393#line 372 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 394struct xsave_struct {
 395   struct i387_fxsave_struct i387 ;
 396   struct xsave_hdr_struct xsave_hdr ;
 397   struct ymmh_struct ymmh ;
 398} __attribute__((__packed__, __aligned__(64))) ;
 399#line 379 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 400union thread_xstate {
 401   struct i387_fsave_struct fsave ;
 402   struct i387_fxsave_struct fxsave ;
 403   struct i387_soft_struct soft ;
 404   struct xsave_struct xsave ;
 405};
 406#line 386 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 407struct fpu {
 408   unsigned int last_cpu ;
 409   unsigned int has_fpu ;
 410   union thread_xstate *state ;
 411};
 412#line 433
 413struct kmem_cache;
 414#line 435
 415struct perf_event;
 416#line 435
 417struct perf_event;
 418#line 437 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 419struct thread_struct {
 420   struct desc_struct tls_array[3] ;
 421   unsigned long sp0 ;
 422   unsigned long sp ;
 423   unsigned long usersp ;
 424   unsigned short es ;
 425   unsigned short ds ;
 426   unsigned short fsindex ;
 427   unsigned short gsindex ;
 428   unsigned long fs ;
 429   unsigned long gs ;
 430   struct perf_event *ptrace_bps[4] ;
 431   unsigned long debugreg6 ;
 432   unsigned long ptrace_dr7 ;
 433   unsigned long cr2 ;
 434   unsigned long trap_nr ;
 435   unsigned long error_code ;
 436   struct fpu fpu ;
 437   unsigned long *io_bitmap_ptr ;
 438   unsigned long iopl ;
 439   unsigned int io_bitmap_max ;
 440};
 441#line 23 "include/asm-generic/atomic-long.h"
 442typedef atomic64_t atomic_long_t;
 443#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 444typedef u16 __ticket_t;
 445#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 446typedef u32 __ticketpair_t;
 447#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 448struct __raw_tickets {
 449   __ticket_t head ;
 450   __ticket_t tail ;
 451};
 452#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 453union __anonunion____missing_field_name_36 {
 454   __ticketpair_t head_tail ;
 455   struct __raw_tickets tickets ;
 456};
 457#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 458struct arch_spinlock {
 459   union __anonunion____missing_field_name_36 __annonCompField17 ;
 460};
 461#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 462typedef struct arch_spinlock arch_spinlock_t;
 463#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
 464struct __anonstruct____missing_field_name_38 {
 465   u32 read ;
 466   s32 write ;
 467};
 468#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
 469union __anonunion_arch_rwlock_t_37 {
 470   s64 lock ;
 471   struct __anonstruct____missing_field_name_38 __annonCompField18 ;
 472};
 473#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
 474typedef union __anonunion_arch_rwlock_t_37 arch_rwlock_t;
 475#line 12 "include/linux/lockdep.h"
 476struct task_struct;
 477#line 391 "include/linux/lockdep.h"
 478struct lock_class_key {
 479
 480};
 481#line 20 "include/linux/spinlock_types.h"
 482struct raw_spinlock {
 483   arch_spinlock_t raw_lock ;
 484   unsigned int magic ;
 485   unsigned int owner_cpu ;
 486   void *owner ;
 487};
 488#line 20 "include/linux/spinlock_types.h"
 489typedef struct raw_spinlock raw_spinlock_t;
 490#line 64 "include/linux/spinlock_types.h"
 491union __anonunion____missing_field_name_39 {
 492   struct raw_spinlock rlock ;
 493};
 494#line 64 "include/linux/spinlock_types.h"
 495struct spinlock {
 496   union __anonunion____missing_field_name_39 __annonCompField19 ;
 497};
 498#line 64 "include/linux/spinlock_types.h"
 499typedef struct spinlock spinlock_t;
 500#line 11 "include/linux/rwlock_types.h"
 501struct __anonstruct_rwlock_t_40 {
 502   arch_rwlock_t raw_lock ;
 503   unsigned int magic ;
 504   unsigned int owner_cpu ;
 505   void *owner ;
 506};
 507#line 11 "include/linux/rwlock_types.h"
 508typedef struct __anonstruct_rwlock_t_40 rwlock_t;
 509#line 119 "include/linux/seqlock.h"
 510struct seqcount {
 511   unsigned int sequence ;
 512};
 513#line 119 "include/linux/seqlock.h"
 514typedef struct seqcount seqcount_t;
 515#line 14 "include/linux/time.h"
 516struct timespec {
 517   __kernel_time_t tv_sec ;
 518   long tv_nsec ;
 519};
 520#line 62 "include/linux/stat.h"
 521struct kstat {
 522   u64 ino ;
 523   dev_t dev ;
 524   umode_t mode ;
 525   unsigned int nlink ;
 526   uid_t uid ;
 527   gid_t gid ;
 528   dev_t rdev ;
 529   loff_t size ;
 530   struct timespec atime ;
 531   struct timespec mtime ;
 532   struct timespec ctime ;
 533   unsigned long blksize ;
 534   unsigned long long blocks ;
 535};
 536#line 49 "include/linux/wait.h"
 537struct __wait_queue_head {
 538   spinlock_t lock ;
 539   struct list_head task_list ;
 540};
 541#line 53 "include/linux/wait.h"
 542typedef struct __wait_queue_head wait_queue_head_t;
 543#line 55
 544struct task_struct;
 545#line 98 "include/linux/nodemask.h"
 546struct __anonstruct_nodemask_t_42 {
 547   unsigned long bits[(((unsigned long )(1 << 10) + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
 548};
 549#line 98 "include/linux/nodemask.h"
 550typedef struct __anonstruct_nodemask_t_42 nodemask_t;
 551#line 60 "include/linux/pageblock-flags.h"
 552struct page;
 553#line 48 "include/linux/mutex.h"
 554struct mutex {
 555   atomic_t count ;
 556   spinlock_t wait_lock ;
 557   struct list_head wait_list ;
 558   struct task_struct *owner ;
 559   char const   *name ;
 560   void *magic ;
 561};
 562#line 69 "include/linux/mutex.h"
 563struct mutex_waiter {
 564   struct list_head list ;
 565   struct task_struct *task ;
 566   void *magic ;
 567};
 568#line 19 "include/linux/rwsem.h"
 569struct rw_semaphore;
 570#line 19
 571struct rw_semaphore;
 572#line 25 "include/linux/rwsem.h"
 573struct rw_semaphore {
 574   long count ;
 575   raw_spinlock_t wait_lock ;
 576   struct list_head wait_list ;
 577};
 578#line 25 "include/linux/completion.h"
 579struct completion {
 580   unsigned int done ;
 581   wait_queue_head_t wait ;
 582};
 583#line 9 "include/linux/memory_hotplug.h"
 584struct page;
 585#line 202 "include/linux/ioport.h"
 586struct device;
 587#line 103 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mpspec.h"
 588struct device;
 589#line 46 "include/linux/ktime.h"
 590union ktime {
 591   s64 tv64 ;
 592};
 593#line 59 "include/linux/ktime.h"
 594typedef union ktime ktime_t;
 595#line 10 "include/linux/timer.h"
 596struct tvec_base;
 597#line 10
 598struct tvec_base;
 599#line 12 "include/linux/timer.h"
 600struct timer_list {
 601   struct list_head entry ;
 602   unsigned long expires ;
 603   struct tvec_base *base ;
 604   void (*function)(unsigned long  ) ;
 605   unsigned long data ;
 606   int slack ;
 607   int start_pid ;
 608   void *start_site ;
 609   char start_comm[16] ;
 610};
 611#line 289
 612struct hrtimer;
 613#line 289
 614struct hrtimer;
 615#line 290
 616enum hrtimer_restart;
 617#line 17 "include/linux/workqueue.h"
 618struct work_struct;
 619#line 17
 620struct work_struct;
 621#line 79 "include/linux/workqueue.h"
 622struct work_struct {
 623   atomic_long_t data ;
 624   struct list_head entry ;
 625   void (*func)(struct work_struct *work ) ;
 626};
 627#line 92 "include/linux/workqueue.h"
 628struct delayed_work {
 629   struct work_struct work ;
 630   struct timer_list timer ;
 631};
 632#line 42 "include/linux/pm.h"
 633struct device;
 634#line 50 "include/linux/pm.h"
 635struct pm_message {
 636   int event ;
 637};
 638#line 50 "include/linux/pm.h"
 639typedef struct pm_message pm_message_t;
 640#line 264 "include/linux/pm.h"
 641struct dev_pm_ops {
 642   int (*prepare)(struct device *dev ) ;
 643   void (*complete)(struct device *dev ) ;
 644   int (*suspend)(struct device *dev ) ;
 645   int (*resume)(struct device *dev ) ;
 646   int (*freeze)(struct device *dev ) ;
 647   int (*thaw)(struct device *dev ) ;
 648   int (*poweroff)(struct device *dev ) ;
 649   int (*restore)(struct device *dev ) ;
 650   int (*suspend_late)(struct device *dev ) ;
 651   int (*resume_early)(struct device *dev ) ;
 652   int (*freeze_late)(struct device *dev ) ;
 653   int (*thaw_early)(struct device *dev ) ;
 654   int (*poweroff_late)(struct device *dev ) ;
 655   int (*restore_early)(struct device *dev ) ;
 656   int (*suspend_noirq)(struct device *dev ) ;
 657   int (*resume_noirq)(struct device *dev ) ;
 658   int (*freeze_noirq)(struct device *dev ) ;
 659   int (*thaw_noirq)(struct device *dev ) ;
 660   int (*poweroff_noirq)(struct device *dev ) ;
 661   int (*restore_noirq)(struct device *dev ) ;
 662   int (*runtime_suspend)(struct device *dev ) ;
 663   int (*runtime_resume)(struct device *dev ) ;
 664   int (*runtime_idle)(struct device *dev ) ;
 665};
 666#line 458
 667enum rpm_status {
 668    RPM_ACTIVE = 0,
 669    RPM_RESUMING = 1,
 670    RPM_SUSPENDED = 2,
 671    RPM_SUSPENDING = 3
 672} ;
 673#line 480
 674enum rpm_request {
 675    RPM_REQ_NONE = 0,
 676    RPM_REQ_IDLE = 1,
 677    RPM_REQ_SUSPEND = 2,
 678    RPM_REQ_AUTOSUSPEND = 3,
 679    RPM_REQ_RESUME = 4
 680} ;
 681#line 488
 682struct wakeup_source;
 683#line 488
 684struct wakeup_source;
 685#line 495 "include/linux/pm.h"
 686struct pm_subsys_data {
 687   spinlock_t lock ;
 688   unsigned int refcount ;
 689};
 690#line 506
 691struct dev_pm_qos_request;
 692#line 506
 693struct pm_qos_constraints;
 694#line 506 "include/linux/pm.h"
 695struct dev_pm_info {
 696   pm_message_t power_state ;
 697   unsigned int can_wakeup : 1 ;
 698   unsigned int async_suspend : 1 ;
 699   bool is_prepared : 1 ;
 700   bool is_suspended : 1 ;
 701   bool ignore_children : 1 ;
 702   spinlock_t lock ;
 703   struct list_head entry ;
 704   struct completion completion ;
 705   struct wakeup_source *wakeup ;
 706   bool wakeup_path : 1 ;
 707   struct timer_list suspend_timer ;
 708   unsigned long timer_expires ;
 709   struct work_struct work ;
 710   wait_queue_head_t wait_queue ;
 711   atomic_t usage_count ;
 712   atomic_t child_count ;
 713   unsigned int disable_depth : 3 ;
 714   unsigned int idle_notification : 1 ;
 715   unsigned int request_pending : 1 ;
 716   unsigned int deferred_resume : 1 ;
 717   unsigned int run_wake : 1 ;
 718   unsigned int runtime_auto : 1 ;
 719   unsigned int no_callbacks : 1 ;
 720   unsigned int irq_safe : 1 ;
 721   unsigned int use_autosuspend : 1 ;
 722   unsigned int timer_autosuspends : 1 ;
 723   enum rpm_request request ;
 724   enum rpm_status runtime_status ;
 725   int runtime_error ;
 726   int autosuspend_delay ;
 727   unsigned long last_busy ;
 728   unsigned long active_jiffies ;
 729   unsigned long suspended_jiffies ;
 730   unsigned long accounting_timestamp ;
 731   ktime_t suspend_time ;
 732   s64 max_time_suspended_ns ;
 733   struct dev_pm_qos_request *pq_req ;
 734   struct pm_subsys_data *subsys_data ;
 735   struct pm_qos_constraints *constraints ;
 736};
 737#line 564 "include/linux/pm.h"
 738struct dev_pm_domain {
 739   struct dev_pm_ops ops ;
 740};
 741#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
 742struct __anonstruct_mm_context_t_112 {
 743   void *ldt ;
 744   int size ;
 745   unsigned short ia32_compat ;
 746   struct mutex lock ;
 747   void *vdso ;
 748};
 749#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
 750typedef struct __anonstruct_mm_context_t_112 mm_context_t;
 751#line 8 "include/linux/vmalloc.h"
 752struct vm_area_struct;
 753#line 8
 754struct vm_area_struct;
 755#line 994 "include/linux/mmzone.h"
 756struct page;
 757#line 10 "include/linux/gfp.h"
 758struct vm_area_struct;
 759#line 29 "include/linux/sysctl.h"
 760struct completion;
 761#line 100 "include/linux/rbtree.h"
 762struct rb_node {
 763   unsigned long rb_parent_color ;
 764   struct rb_node *rb_right ;
 765   struct rb_node *rb_left ;
 766} __attribute__((__aligned__(sizeof(long )))) ;
 767#line 110 "include/linux/rbtree.h"
 768struct rb_root {
 769   struct rb_node *rb_node ;
 770};
 771#line 939 "include/linux/sysctl.h"
 772struct nsproxy;
 773#line 939
 774struct nsproxy;
 775#line 48 "include/linux/kmod.h"
 776struct cred;
 777#line 48
 778struct cred;
 779#line 49
 780struct file;
 781#line 270 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/elf.h"
 782struct task_struct;
 783#line 18 "include/linux/elf.h"
 784typedef __u64 Elf64_Addr;
 785#line 19 "include/linux/elf.h"
 786typedef __u16 Elf64_Half;
 787#line 23 "include/linux/elf.h"
 788typedef __u32 Elf64_Word;
 789#line 24 "include/linux/elf.h"
 790typedef __u64 Elf64_Xword;
 791#line 194 "include/linux/elf.h"
 792struct elf64_sym {
 793   Elf64_Word st_name ;
 794   unsigned char st_info ;
 795   unsigned char st_other ;
 796   Elf64_Half st_shndx ;
 797   Elf64_Addr st_value ;
 798   Elf64_Xword st_size ;
 799};
 800#line 194 "include/linux/elf.h"
 801typedef struct elf64_sym Elf64_Sym;
 802#line 438
 803struct file;
 804#line 20 "include/linux/kobject_ns.h"
 805struct sock;
 806#line 20
 807struct sock;
 808#line 21
 809struct kobject;
 810#line 21
 811struct kobject;
 812#line 27
 813enum kobj_ns_type {
 814    KOBJ_NS_TYPE_NONE = 0,
 815    KOBJ_NS_TYPE_NET = 1,
 816    KOBJ_NS_TYPES = 2
 817} ;
 818#line 40 "include/linux/kobject_ns.h"
 819struct kobj_ns_type_operations {
 820   enum kobj_ns_type type ;
 821   void *(*grab_current_ns)(void) ;
 822   void const   *(*netlink_ns)(struct sock *sk ) ;
 823   void const   *(*initial_ns)(void) ;
 824   void (*drop_ns)(void * ) ;
 825};
 826#line 22 "include/linux/sysfs.h"
 827struct kobject;
 828#line 23
 829struct module;
 830#line 24
 831enum kobj_ns_type;
 832#line 26 "include/linux/sysfs.h"
 833struct attribute {
 834   char const   *name ;
 835   umode_t mode ;
 836};
 837#line 56 "include/linux/sysfs.h"
 838struct attribute_group {
 839   char const   *name ;
 840   umode_t (*is_visible)(struct kobject * , struct attribute * , int  ) ;
 841   struct attribute **attrs ;
 842};
 843#line 85
 844struct file;
 845#line 86
 846struct vm_area_struct;
 847#line 88 "include/linux/sysfs.h"
 848struct bin_attribute {
 849   struct attribute attr ;
 850   size_t size ;
 851   void *private ;
 852   ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
 853                   loff_t  , size_t  ) ;
 854   ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
 855                    loff_t  , size_t  ) ;
 856   int (*mmap)(struct file * , struct kobject * , struct bin_attribute *attr , struct vm_area_struct *vma ) ;
 857};
 858#line 112 "include/linux/sysfs.h"
 859struct sysfs_ops {
 860   ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
 861   ssize_t (*store)(struct kobject * , struct attribute * , char const   * , size_t  ) ;
 862   void const   *(*namespace)(struct kobject * , struct attribute  const  * ) ;
 863};
 864#line 118
 865struct sysfs_dirent;
 866#line 118
 867struct sysfs_dirent;
 868#line 22 "include/linux/kref.h"
 869struct kref {
 870   atomic_t refcount ;
 871};
 872#line 60 "include/linux/kobject.h"
 873struct kset;
 874#line 60
 875struct kobj_type;
 876#line 60 "include/linux/kobject.h"
 877struct kobject {
 878   char const   *name ;
 879   struct list_head entry ;
 880   struct kobject *parent ;
 881   struct kset *kset ;
 882   struct kobj_type *ktype ;
 883   struct sysfs_dirent *sd ;
 884   struct kref kref ;
 885   unsigned int state_initialized : 1 ;
 886   unsigned int state_in_sysfs : 1 ;
 887   unsigned int state_add_uevent_sent : 1 ;
 888   unsigned int state_remove_uevent_sent : 1 ;
 889   unsigned int uevent_suppress : 1 ;
 890};
 891#line 108 "include/linux/kobject.h"
 892struct kobj_type {
 893   void (*release)(struct kobject *kobj ) ;
 894   struct sysfs_ops  const  *sysfs_ops ;
 895   struct attribute **default_attrs ;
 896   struct kobj_ns_type_operations  const  *(*child_ns_type)(struct kobject *kobj ) ;
 897   void const   *(*namespace)(struct kobject *kobj ) ;
 898};
 899#line 116 "include/linux/kobject.h"
 900struct kobj_uevent_env {
 901   char *envp[32] ;
 902   int envp_idx ;
 903   char buf[2048] ;
 904   int buflen ;
 905};
 906#line 123 "include/linux/kobject.h"
 907struct kset_uevent_ops {
 908   int (* const  filter)(struct kset *kset , struct kobject *kobj ) ;
 909   char const   *(* const  name)(struct kset *kset , struct kobject *kobj ) ;
 910   int (* const  uevent)(struct kset *kset , struct kobject *kobj , struct kobj_uevent_env *env ) ;
 911};
 912#line 140
 913struct sock;
 914#line 159 "include/linux/kobject.h"
 915struct kset {
 916   struct list_head list ;
 917   spinlock_t list_lock ;
 918   struct kobject kobj ;
 919   struct kset_uevent_ops  const  *uevent_ops ;
 920};
 921#line 39 "include/linux/moduleparam.h"
 922struct kernel_param;
 923#line 39
 924struct kernel_param;
 925#line 41 "include/linux/moduleparam.h"
 926struct kernel_param_ops {
 927   int (*set)(char const   *val , struct kernel_param  const  *kp ) ;
 928   int (*get)(char *buffer , struct kernel_param  const  *kp ) ;
 929   void (*free)(void *arg ) ;
 930};
 931#line 50
 932struct kparam_string;
 933#line 50
 934struct kparam_array;
 935#line 50 "include/linux/moduleparam.h"
 936union __anonunion____missing_field_name_199 {
 937   void *arg ;
 938   struct kparam_string  const  *str ;
 939   struct kparam_array  const  *arr ;
 940};
 941#line 50 "include/linux/moduleparam.h"
 942struct kernel_param {
 943   char const   *name ;
 944   struct kernel_param_ops  const  *ops ;
 945   u16 perm ;
 946   s16 level ;
 947   union __anonunion____missing_field_name_199 __annonCompField32 ;
 948};
 949#line 63 "include/linux/moduleparam.h"
 950struct kparam_string {
 951   unsigned int maxlen ;
 952   char *string ;
 953};
 954#line 69 "include/linux/moduleparam.h"
 955struct kparam_array {
 956   unsigned int max ;
 957   unsigned int elemsize ;
 958   unsigned int *num ;
 959   struct kernel_param_ops  const  *ops ;
 960   void *elem ;
 961};
 962#line 445
 963struct module;
 964#line 80 "include/linux/jump_label.h"
 965struct module;
 966#line 143 "include/linux/jump_label.h"
 967struct static_key {
 968   atomic_t enabled ;
 969};
 970#line 22 "include/linux/tracepoint.h"
 971struct module;
 972#line 23
 973struct tracepoint;
 974#line 23
 975struct tracepoint;
 976#line 25 "include/linux/tracepoint.h"
 977struct tracepoint_func {
 978   void *func ;
 979   void *data ;
 980};
 981#line 30 "include/linux/tracepoint.h"
 982struct tracepoint {
 983   char const   *name ;
 984   struct static_key key ;
 985   void (*regfunc)(void) ;
 986   void (*unregfunc)(void) ;
 987   struct tracepoint_func *funcs ;
 988};
 989#line 19 "include/linux/export.h"
 990struct kernel_symbol {
 991   unsigned long value ;
 992   char const   *name ;
 993};
 994#line 8 "include/asm-generic/module.h"
 995struct mod_arch_specific {
 996
 997};
 998#line 35 "include/linux/module.h"
 999struct module;
1000#line 37
1001struct module_param_attrs;
1002#line 37 "include/linux/module.h"
1003struct module_kobject {
1004   struct kobject kobj ;
1005   struct module *mod ;
1006   struct kobject *drivers_dir ;
1007   struct module_param_attrs *mp ;
1008};
1009#line 44 "include/linux/module.h"
1010struct module_attribute {
1011   struct attribute attr ;
1012   ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
1013   ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const   * ,
1014                    size_t count ) ;
1015   void (*setup)(struct module * , char const   * ) ;
1016   int (*test)(struct module * ) ;
1017   void (*free)(struct module * ) ;
1018};
1019#line 71
1020struct exception_table_entry;
1021#line 71
1022struct exception_table_entry;
1023#line 199
1024enum module_state {
1025    MODULE_STATE_LIVE = 0,
1026    MODULE_STATE_COMING = 1,
1027    MODULE_STATE_GOING = 2
1028} ;
1029#line 215 "include/linux/module.h"
1030struct module_ref {
1031   unsigned long incs ;
1032   unsigned long decs ;
1033} __attribute__((__aligned__((2) *  (sizeof(unsigned long )) ))) ;
1034#line 220
1035struct module_sect_attrs;
1036#line 220
1037struct module_notes_attrs;
1038#line 220
1039struct ftrace_event_call;
1040#line 220 "include/linux/module.h"
1041struct module {
1042   enum module_state state ;
1043   struct list_head list ;
1044   char name[64UL - sizeof(unsigned long )] ;
1045   struct module_kobject mkobj ;
1046   struct module_attribute *modinfo_attrs ;
1047   char const   *version ;
1048   char const   *srcversion ;
1049   struct kobject *holders_dir ;
1050   struct kernel_symbol  const  *syms ;
1051   unsigned long const   *crcs ;
1052   unsigned int num_syms ;
1053   struct kernel_param *kp ;
1054   unsigned int num_kp ;
1055   unsigned int num_gpl_syms ;
1056   struct kernel_symbol  const  *gpl_syms ;
1057   unsigned long const   *gpl_crcs ;
1058   struct kernel_symbol  const  *unused_syms ;
1059   unsigned long const   *unused_crcs ;
1060   unsigned int num_unused_syms ;
1061   unsigned int num_unused_gpl_syms ;
1062   struct kernel_symbol  const  *unused_gpl_syms ;
1063   unsigned long const   *unused_gpl_crcs ;
1064   struct kernel_symbol  const  *gpl_future_syms ;
1065   unsigned long const   *gpl_future_crcs ;
1066   unsigned int num_gpl_future_syms ;
1067   unsigned int num_exentries ;
1068   struct exception_table_entry *extable ;
1069   int (*init)(void) ;
1070   void *module_init ;
1071   void *module_core ;
1072   unsigned int init_size ;
1073   unsigned int core_size ;
1074   unsigned int init_text_size ;
1075   unsigned int core_text_size ;
1076   unsigned int init_ro_size ;
1077   unsigned int core_ro_size ;
1078   struct mod_arch_specific arch ;
1079   unsigned int taints ;
1080   unsigned int num_bugs ;
1081   struct list_head bug_list ;
1082   struct bug_entry *bug_table ;
1083   Elf64_Sym *symtab ;
1084   Elf64_Sym *core_symtab ;
1085   unsigned int num_symtab ;
1086   unsigned int core_num_syms ;
1087   char *strtab ;
1088   char *core_strtab ;
1089   struct module_sect_attrs *sect_attrs ;
1090   struct module_notes_attrs *notes_attrs ;
1091   char *args ;
1092   void *percpu ;
1093   unsigned int percpu_size ;
1094   unsigned int num_tracepoints ;
1095   struct tracepoint * const  *tracepoints_ptrs ;
1096   unsigned int num_trace_bprintk_fmt ;
1097   char const   **trace_bprintk_fmt_start ;
1098   struct ftrace_event_call **trace_events ;
1099   unsigned int num_trace_events ;
1100   struct list_head source_list ;
1101   struct list_head target_list ;
1102   struct task_struct *waiter ;
1103   void (*exit)(void) ;
1104   struct module_ref *refptr ;
1105   ctor_fn_t *ctors ;
1106   unsigned int num_ctors ;
1107};
1108#line 31 "include/linux/dvb/frontend.h"
1109enum fe_type {
1110    FE_QPSK = 0,
1111    FE_QAM = 1,
1112    FE_OFDM = 2,
1113    FE_ATSC = 3
1114} ;
1115#line 31 "include/linux/dvb/frontend.h"
1116typedef enum fe_type fe_type_t;
1117#line 39
1118enum fe_caps {
1119    FE_IS_STUPID = 0,
1120    FE_CAN_INVERSION_AUTO = 1,
1121    FE_CAN_FEC_1_2 = 2,
1122    FE_CAN_FEC_2_3 = 4,
1123    FE_CAN_FEC_3_4 = 8,
1124    FE_CAN_FEC_4_5 = 16,
1125    FE_CAN_FEC_5_6 = 32,
1126    FE_CAN_FEC_6_7 = 64,
1127    FE_CAN_FEC_7_8 = 128,
1128    FE_CAN_FEC_8_9 = 256,
1129    FE_CAN_FEC_AUTO = 512,
1130    FE_CAN_QPSK = 1024,
1131    FE_CAN_QAM_16 = 2048,
1132    FE_CAN_QAM_32 = 4096,
1133    FE_CAN_QAM_64 = 8192,
1134    FE_CAN_QAM_128 = 16384,
1135    FE_CAN_QAM_256 = 32768,
1136    FE_CAN_QAM_AUTO = 65536,
1137    FE_CAN_TRANSMISSION_MODE_AUTO = 131072,
1138    FE_CAN_BANDWIDTH_AUTO = 262144,
1139    FE_CAN_GUARD_INTERVAL_AUTO = 524288,
1140    FE_CAN_HIERARCHY_AUTO = 1048576,
1141    FE_CAN_8VSB = 2097152,
1142    FE_CAN_16VSB = 4194304,
1143    FE_HAS_EXTENDED_CAPS = 8388608,
1144    FE_CAN_TURBO_FEC = 134217728,
1145    FE_CAN_2G_MODULATION = 268435456,
1146    FE_NEEDS_BENDING = 536870912,
1147    FE_CAN_RECOVER = 1073741824,
1148    FE_CAN_MUTE_TS = (-0x7FFFFFFF-1)
1149} ;
1150#line 39 "include/linux/dvb/frontend.h"
1151typedef enum fe_caps fe_caps_t;
1152#line 73 "include/linux/dvb/frontend.h"
1153struct dvb_frontend_info {
1154   char name[128] ;
1155   fe_type_t type ;
1156   __u32 frequency_min ;
1157   __u32 frequency_max ;
1158   __u32 frequency_stepsize ;
1159   __u32 frequency_tolerance ;
1160   __u32 symbol_rate_min ;
1161   __u32 symbol_rate_max ;
1162   __u32 symbol_rate_tolerance ;
1163   __u32 notifier_delay ;
1164   fe_caps_t caps ;
1165};
1166#line 92 "include/linux/dvb/frontend.h"
1167struct dvb_diseqc_master_cmd {
1168   __u8 msg[6] ;
1169   __u8 msg_len ;
1170};
1171#line 98 "include/linux/dvb/frontend.h"
1172struct dvb_diseqc_slave_reply {
1173   __u8 msg[4] ;
1174   __u8 msg_len ;
1175   int timeout ;
1176};
1177#line 105
1178enum fe_sec_voltage {
1179    SEC_VOLTAGE_13 = 0,
1180    SEC_VOLTAGE_18 = 1,
1181    SEC_VOLTAGE_OFF = 2
1182} ;
1183#line 105 "include/linux/dvb/frontend.h"
1184typedef enum fe_sec_voltage fe_sec_voltage_t;
1185#line 112
1186enum fe_sec_tone_mode {
1187    SEC_TONE_ON = 0,
1188    SEC_TONE_OFF = 1
1189} ;
1190#line 112 "include/linux/dvb/frontend.h"
1191typedef enum fe_sec_tone_mode fe_sec_tone_mode_t;
1192#line 118
1193enum fe_sec_mini_cmd {
1194    SEC_MINI_A = 0,
1195    SEC_MINI_B = 1
1196} ;
1197#line 118 "include/linux/dvb/frontend.h"
1198typedef enum fe_sec_mini_cmd fe_sec_mini_cmd_t;
1199#line 124
1200enum fe_status {
1201    FE_HAS_SIGNAL = 1,
1202    FE_HAS_CARRIER = 2,
1203    FE_HAS_VITERBI = 4,
1204    FE_HAS_SYNC = 8,
1205    FE_HAS_LOCK = 16,
1206    FE_TIMEDOUT = 32,
1207    FE_REINIT = 64
1208} ;
1209#line 124 "include/linux/dvb/frontend.h"
1210typedef enum fe_status fe_status_t;
1211#line 135
1212enum fe_spectral_inversion {
1213    INVERSION_OFF = 0,
1214    INVERSION_ON = 1,
1215    INVERSION_AUTO = 2
1216} ;
1217#line 135 "include/linux/dvb/frontend.h"
1218typedef enum fe_spectral_inversion fe_spectral_inversion_t;
1219#line 142
1220enum fe_code_rate {
1221    FEC_NONE = 0,
1222    FEC_1_2 = 1,
1223    FEC_2_3 = 2,
1224    FEC_3_4 = 3,
1225    FEC_4_5 = 4,
1226    FEC_5_6 = 5,
1227    FEC_6_7 = 6,
1228    FEC_7_8 = 7,
1229    FEC_8_9 = 8,
1230    FEC_AUTO = 9,
1231    FEC_3_5 = 10,
1232    FEC_9_10 = 11
1233} ;
1234#line 142 "include/linux/dvb/frontend.h"
1235typedef enum fe_code_rate fe_code_rate_t;
1236#line 158
1237enum fe_modulation {
1238    QPSK = 0,
1239    QAM_16 = 1,
1240    QAM_32 = 2,
1241    QAM_64 = 3,
1242    QAM_128 = 4,
1243    QAM_256 = 5,
1244    QAM_AUTO = 6,
1245    VSB_8 = 7,
1246    VSB_16 = 8,
1247    PSK_8 = 9,
1248    APSK_16 = 10,
1249    APSK_32 = 11,
1250    DQPSK = 12
1251} ;
1252#line 158 "include/linux/dvb/frontend.h"
1253typedef enum fe_modulation fe_modulation_t;
1254#line 174
1255enum fe_transmit_mode {
1256    TRANSMISSION_MODE_2K = 0,
1257    TRANSMISSION_MODE_8K = 1,
1258    TRANSMISSION_MODE_AUTO = 2,
1259    TRANSMISSION_MODE_4K = 3,
1260    TRANSMISSION_MODE_1K = 4,
1261    TRANSMISSION_MODE_16K = 5,
1262    TRANSMISSION_MODE_32K = 6
1263} ;
1264#line 174 "include/linux/dvb/frontend.h"
1265typedef enum fe_transmit_mode fe_transmit_mode_t;
1266#line 196
1267enum fe_guard_interval {
1268    GUARD_INTERVAL_1_32 = 0,
1269    GUARD_INTERVAL_1_16 = 1,
1270    GUARD_INTERVAL_1_8 = 2,
1271    GUARD_INTERVAL_1_4 = 3,
1272    GUARD_INTERVAL_AUTO = 4,
1273    GUARD_INTERVAL_1_128 = 5,
1274    GUARD_INTERVAL_19_128 = 6,
1275    GUARD_INTERVAL_19_256 = 7
1276} ;
1277#line 196 "include/linux/dvb/frontend.h"
1278typedef enum fe_guard_interval fe_guard_interval_t;
1279#line 208
1280enum fe_hierarchy {
1281    HIERARCHY_NONE = 0,
1282    HIERARCHY_1 = 1,
1283    HIERARCHY_2 = 2,
1284    HIERARCHY_4 = 3,
1285    HIERARCHY_AUTO = 4
1286} ;
1287#line 208 "include/linux/dvb/frontend.h"
1288typedef enum fe_hierarchy fe_hierarchy_t;
1289#line 325
1290enum fe_pilot {
1291    PILOT_ON = 0,
1292    PILOT_OFF = 1,
1293    PILOT_AUTO = 2
1294} ;
1295#line 325 "include/linux/dvb/frontend.h"
1296typedef enum fe_pilot fe_pilot_t;
1297#line 331
1298enum fe_rolloff {
1299    ROLLOFF_35 = 0,
1300    ROLLOFF_20 = 1,
1301    ROLLOFF_25 = 2,
1302    ROLLOFF_AUTO = 3
1303} ;
1304#line 331 "include/linux/dvb/frontend.h"
1305typedef enum fe_rolloff fe_rolloff_t;
1306#line 338
1307enum fe_delivery_system {
1308    SYS_UNDEFINED = 0,
1309    SYS_DVBC_ANNEX_A = 1,
1310    SYS_DVBC_ANNEX_B = 2,
1311    SYS_DVBT = 3,
1312    SYS_DSS = 4,
1313    SYS_DVBS = 5,
1314    SYS_DVBS2 = 6,
1315    SYS_DVBH = 7,
1316    SYS_ISDBT = 8,
1317    SYS_ISDBS = 9,
1318    SYS_ISDBC = 10,
1319    SYS_ATSC = 11,
1320    SYS_ATSCMH = 12,
1321    SYS_DMBTH = 13,
1322    SYS_CMMB = 14,
1323    SYS_DAB = 15,
1324    SYS_DVBT2 = 16,
1325    SYS_TURBO = 17,
1326    SYS_DVBC_ANNEX_C = 18
1327} ;
1328#line 338 "include/linux/dvb/frontend.h"
1329typedef enum fe_delivery_system fe_delivery_system_t;
1330#line 375 "include/linux/dvb/frontend.h"
1331struct __anonstruct_buffer_202 {
1332   __u8 data[32] ;
1333   __u32 len ;
1334   __u32 reserved1[3] ;
1335   void *reserved2 ;
1336};
1337#line 375 "include/linux/dvb/frontend.h"
1338union __anonunion_u_201 {
1339   __u32 data ;
1340   struct __anonstruct_buffer_202 buffer ;
1341};
1342#line 375 "include/linux/dvb/frontend.h"
1343struct dtv_property {
1344   __u32 cmd ;
1345   __u32 reserved[3] ;
1346   union __anonunion_u_201 u ;
1347   int result ;
1348} __attribute__((__packed__)) ;
1349#line 219 "include/linux/mod_devicetable.h"
1350struct of_device_id {
1351   char name[32] ;
1352   char type[32] ;
1353   char compatible[128] ;
1354   void *data ;
1355};
1356#line 19 "include/linux/klist.h"
1357struct klist_node;
1358#line 19
1359struct klist_node;
1360#line 39 "include/linux/klist.h"
1361struct klist_node {
1362   void *n_klist ;
1363   struct list_head n_node ;
1364   struct kref n_ref ;
1365};
1366#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1367struct dma_map_ops;
1368#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1369struct dev_archdata {
1370   void *acpi_handle ;
1371   struct dma_map_ops *dma_ops ;
1372   void *iommu ;
1373};
1374#line 28 "include/linux/device.h"
1375struct device;
1376#line 29
1377struct device_private;
1378#line 29
1379struct device_private;
1380#line 30
1381struct device_driver;
1382#line 30
1383struct device_driver;
1384#line 31
1385struct driver_private;
1386#line 31
1387struct driver_private;
1388#line 32
1389struct module;
1390#line 33
1391struct class;
1392#line 33
1393struct class;
1394#line 34
1395struct subsys_private;
1396#line 34
1397struct subsys_private;
1398#line 35
1399struct bus_type;
1400#line 35
1401struct bus_type;
1402#line 36
1403struct device_node;
1404#line 36
1405struct device_node;
1406#line 37
1407struct iommu_ops;
1408#line 37
1409struct iommu_ops;
1410#line 39 "include/linux/device.h"
1411struct bus_attribute {
1412   struct attribute attr ;
1413   ssize_t (*show)(struct bus_type *bus , char *buf ) ;
1414   ssize_t (*store)(struct bus_type *bus , char const   *buf , size_t count ) ;
1415};
1416#line 89
1417struct device_attribute;
1418#line 89
1419struct driver_attribute;
1420#line 89 "include/linux/device.h"
1421struct bus_type {
1422   char const   *name ;
1423   char const   *dev_name ;
1424   struct device *dev_root ;
1425   struct bus_attribute *bus_attrs ;
1426   struct device_attribute *dev_attrs ;
1427   struct driver_attribute *drv_attrs ;
1428   int (*match)(struct device *dev , struct device_driver *drv ) ;
1429   int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
1430   int (*probe)(struct device *dev ) ;
1431   int (*remove)(struct device *dev ) ;
1432   void (*shutdown)(struct device *dev ) ;
1433   int (*suspend)(struct device *dev , pm_message_t state ) ;
1434   int (*resume)(struct device *dev ) ;
1435   struct dev_pm_ops  const  *pm ;
1436   struct iommu_ops *iommu_ops ;
1437   struct subsys_private *p ;
1438};
1439#line 127
1440struct device_type;
1441#line 214 "include/linux/device.h"
1442struct device_driver {
1443   char const   *name ;
1444   struct bus_type *bus ;
1445   struct module *owner ;
1446   char const   *mod_name ;
1447   bool suppress_bind_attrs ;
1448   struct of_device_id  const  *of_match_table ;
1449   int (*probe)(struct device *dev ) ;
1450   int (*remove)(struct device *dev ) ;
1451   void (*shutdown)(struct device *dev ) ;
1452   int (*suspend)(struct device *dev , pm_message_t state ) ;
1453   int (*resume)(struct device *dev ) ;
1454   struct attribute_group  const  **groups ;
1455   struct dev_pm_ops  const  *pm ;
1456   struct driver_private *p ;
1457};
1458#line 249 "include/linux/device.h"
1459struct driver_attribute {
1460   struct attribute attr ;
1461   ssize_t (*show)(struct device_driver *driver , char *buf ) ;
1462   ssize_t (*store)(struct device_driver *driver , char const   *buf , size_t count ) ;
1463};
1464#line 330
1465struct class_attribute;
1466#line 330 "include/linux/device.h"
1467struct class {
1468   char const   *name ;
1469   struct module *owner ;
1470   struct class_attribute *class_attrs ;
1471   struct device_attribute *dev_attrs ;
1472   struct bin_attribute *dev_bin_attrs ;
1473   struct kobject *dev_kobj ;
1474   int (*dev_uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
1475   char *(*devnode)(struct device *dev , umode_t *mode ) ;
1476   void (*class_release)(struct class *class ) ;
1477   void (*dev_release)(struct device *dev ) ;
1478   int (*suspend)(struct device *dev , pm_message_t state ) ;
1479   int (*resume)(struct device *dev ) ;
1480   struct kobj_ns_type_operations  const  *ns_type ;
1481   void const   *(*namespace)(struct device *dev ) ;
1482   struct dev_pm_ops  const  *pm ;
1483   struct subsys_private *p ;
1484};
1485#line 397 "include/linux/device.h"
1486struct class_attribute {
1487   struct attribute attr ;
1488   ssize_t (*show)(struct class *class , struct class_attribute *attr , char *buf ) ;
1489   ssize_t (*store)(struct class *class , struct class_attribute *attr , char const   *buf ,
1490                    size_t count ) ;
1491   void const   *(*namespace)(struct class *class , struct class_attribute  const  *attr ) ;
1492};
1493#line 465 "include/linux/device.h"
1494struct device_type {
1495   char const   *name ;
1496   struct attribute_group  const  **groups ;
1497   int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
1498   char *(*devnode)(struct device *dev , umode_t *mode ) ;
1499   void (*release)(struct device *dev ) ;
1500   struct dev_pm_ops  const  *pm ;
1501};
1502#line 476 "include/linux/device.h"
1503struct device_attribute {
1504   struct attribute attr ;
1505   ssize_t (*show)(struct device *dev , struct device_attribute *attr , char *buf ) ;
1506   ssize_t (*store)(struct device *dev , struct device_attribute *attr , char const   *buf ,
1507                    size_t count ) ;
1508};
1509#line 559 "include/linux/device.h"
1510struct device_dma_parameters {
1511   unsigned int max_segment_size ;
1512   unsigned long segment_boundary_mask ;
1513};
1514#line 627
1515struct dma_coherent_mem;
1516#line 627 "include/linux/device.h"
1517struct device {
1518   struct device *parent ;
1519   struct device_private *p ;
1520   struct kobject kobj ;
1521   char const   *init_name ;
1522   struct device_type  const  *type ;
1523   struct mutex mutex ;
1524   struct bus_type *bus ;
1525   struct device_driver *driver ;
1526   void *platform_data ;
1527   struct dev_pm_info power ;
1528   struct dev_pm_domain *pm_domain ;
1529   int numa_node ;
1530   u64 *dma_mask ;
1531   u64 coherent_dma_mask ;
1532   struct device_dma_parameters *dma_parms ;
1533   struct list_head dma_pools ;
1534   struct dma_coherent_mem *dma_mem ;
1535   struct dev_archdata archdata ;
1536   struct device_node *of_node ;
1537   dev_t devt ;
1538   u32 id ;
1539   spinlock_t devres_lock ;
1540   struct list_head devres_head ;
1541   struct klist_node knode_class ;
1542   struct class *class ;
1543   struct attribute_group  const  **groups ;
1544   void (*release)(struct device *dev ) ;
1545};
1546#line 43 "include/linux/pm_wakeup.h"
1547struct wakeup_source {
1548   char const   *name ;
1549   struct list_head entry ;
1550   spinlock_t lock ;
1551   struct timer_list timer ;
1552   unsigned long timer_expires ;
1553   ktime_t total_time ;
1554   ktime_t max_time ;
1555   ktime_t last_time ;
1556   unsigned long event_count ;
1557   unsigned long active_count ;
1558   unsigned long relax_count ;
1559   unsigned long hit_count ;
1560   unsigned int active : 1 ;
1561};
1562#line 18 "include/linux/capability.h"
1563struct task_struct;
1564#line 94 "include/linux/capability.h"
1565struct kernel_cap_struct {
1566   __u32 cap[2] ;
1567};
1568#line 94 "include/linux/capability.h"
1569typedef struct kernel_cap_struct kernel_cap_t;
1570#line 377
1571struct dentry;
1572#line 377
1573struct dentry;
1574#line 378
1575struct user_namespace;
1576#line 378
1577struct user_namespace;
1578#line 14 "include/linux/prio_tree.h"
1579struct prio_tree_node;
1580#line 14 "include/linux/prio_tree.h"
1581struct raw_prio_tree_node {
1582   struct prio_tree_node *left ;
1583   struct prio_tree_node *right ;
1584   struct prio_tree_node *parent ;
1585};
1586#line 20 "include/linux/prio_tree.h"
1587struct prio_tree_node {
1588   struct prio_tree_node *left ;
1589   struct prio_tree_node *right ;
1590   struct prio_tree_node *parent ;
1591   unsigned long start ;
1592   unsigned long last ;
1593};
1594#line 28 "include/linux/prio_tree.h"
1595struct prio_tree_root {
1596   struct prio_tree_node *prio_tree_node ;
1597   unsigned short index_bits ;
1598   unsigned short raw ;
1599};
1600#line 23 "include/linux/mm_types.h"
1601struct address_space;
1602#line 23
1603struct address_space;
1604#line 40 "include/linux/mm_types.h"
1605union __anonunion____missing_field_name_206 {
1606   unsigned long index ;
1607   void *freelist ;
1608};
1609#line 40 "include/linux/mm_types.h"
1610struct __anonstruct____missing_field_name_210 {
1611   unsigned int inuse : 16 ;
1612   unsigned int objects : 15 ;
1613   unsigned int frozen : 1 ;
1614};
1615#line 40 "include/linux/mm_types.h"
1616union __anonunion____missing_field_name_209 {
1617   atomic_t _mapcount ;
1618   struct __anonstruct____missing_field_name_210 __annonCompField34 ;
1619};
1620#line 40 "include/linux/mm_types.h"
1621struct __anonstruct____missing_field_name_208 {
1622   union __anonunion____missing_field_name_209 __annonCompField35 ;
1623   atomic_t _count ;
1624};
1625#line 40 "include/linux/mm_types.h"
1626union __anonunion____missing_field_name_207 {
1627   unsigned long counters ;
1628   struct __anonstruct____missing_field_name_208 __annonCompField36 ;
1629};
1630#line 40 "include/linux/mm_types.h"
1631struct __anonstruct____missing_field_name_205 {
1632   union __anonunion____missing_field_name_206 __annonCompField33 ;
1633   union __anonunion____missing_field_name_207 __annonCompField37 ;
1634};
1635#line 40 "include/linux/mm_types.h"
1636struct __anonstruct____missing_field_name_212 {
1637   struct page *next ;
1638   int pages ;
1639   int pobjects ;
1640};
1641#line 40 "include/linux/mm_types.h"
1642union __anonunion____missing_field_name_211 {
1643   struct list_head lru ;
1644   struct __anonstruct____missing_field_name_212 __annonCompField39 ;
1645};
1646#line 40 "include/linux/mm_types.h"
1647union __anonunion____missing_field_name_213 {
1648   unsigned long private ;
1649   struct kmem_cache *slab ;
1650   struct page *first_page ;
1651};
1652#line 40 "include/linux/mm_types.h"
1653struct page {
1654   unsigned long flags ;
1655   struct address_space *mapping ;
1656   struct __anonstruct____missing_field_name_205 __annonCompField38 ;
1657   union __anonunion____missing_field_name_211 __annonCompField40 ;
1658   union __anonunion____missing_field_name_213 __annonCompField41 ;
1659   unsigned long debug_flags ;
1660} __attribute__((__aligned__((2) *  (sizeof(unsigned long )) ))) ;
1661#line 200 "include/linux/mm_types.h"
1662struct __anonstruct_vm_set_215 {
1663   struct list_head list ;
1664   void *parent ;
1665   struct vm_area_struct *head ;
1666};
1667#line 200 "include/linux/mm_types.h"
1668union __anonunion_shared_214 {
1669   struct __anonstruct_vm_set_215 vm_set ;
1670   struct raw_prio_tree_node prio_tree_node ;
1671};
1672#line 200
1673struct anon_vma;
1674#line 200
1675struct vm_operations_struct;
1676#line 200
1677struct mempolicy;
1678#line 200 "include/linux/mm_types.h"
1679struct vm_area_struct {
1680   struct mm_struct *vm_mm ;
1681   unsigned long vm_start ;
1682   unsigned long vm_end ;
1683   struct vm_area_struct *vm_next ;
1684   struct vm_area_struct *vm_prev ;
1685   pgprot_t vm_page_prot ;
1686   unsigned long vm_flags ;
1687   struct rb_node vm_rb ;
1688   union __anonunion_shared_214 shared ;
1689   struct list_head anon_vma_chain ;
1690   struct anon_vma *anon_vma ;
1691   struct vm_operations_struct  const  *vm_ops ;
1692   unsigned long vm_pgoff ;
1693   struct file *vm_file ;
1694   void *vm_private_data ;
1695   struct mempolicy *vm_policy ;
1696};
1697#line 257 "include/linux/mm_types.h"
1698struct core_thread {
1699   struct task_struct *task ;
1700   struct core_thread *next ;
1701};
1702#line 262 "include/linux/mm_types.h"
1703struct core_state {
1704   atomic_t nr_threads ;
1705   struct core_thread dumper ;
1706   struct completion startup ;
1707};
1708#line 284 "include/linux/mm_types.h"
1709struct mm_rss_stat {
1710   atomic_long_t count[3] ;
1711};
1712#line 288
1713struct linux_binfmt;
1714#line 288
1715struct mmu_notifier_mm;
1716#line 288 "include/linux/mm_types.h"
1717struct mm_struct {
1718   struct vm_area_struct *mmap ;
1719   struct rb_root mm_rb ;
1720   struct vm_area_struct *mmap_cache ;
1721   unsigned long (*get_unmapped_area)(struct file *filp , unsigned long addr , unsigned long len ,
1722                                      unsigned long pgoff , unsigned long flags ) ;
1723   void (*unmap_area)(struct mm_struct *mm , unsigned long addr ) ;
1724   unsigned long mmap_base ;
1725   unsigned long task_size ;
1726   unsigned long cached_hole_size ;
1727   unsigned long free_area_cache ;
1728   pgd_t *pgd ;
1729   atomic_t mm_users ;
1730   atomic_t mm_count ;
1731   int map_count ;
1732   spinlock_t page_table_lock ;
1733   struct rw_semaphore mmap_sem ;
1734   struct list_head mmlist ;
1735   unsigned long hiwater_rss ;
1736   unsigned long hiwater_vm ;
1737   unsigned long total_vm ;
1738   unsigned long locked_vm ;
1739   unsigned long pinned_vm ;
1740   unsigned long shared_vm ;
1741   unsigned long exec_vm ;
1742   unsigned long stack_vm ;
1743   unsigned long reserved_vm ;
1744   unsigned long def_flags ;
1745   unsigned long nr_ptes ;
1746   unsigned long start_code ;
1747   unsigned long end_code ;
1748   unsigned long start_data ;
1749   unsigned long end_data ;
1750   unsigned long start_brk ;
1751   unsigned long brk ;
1752   unsigned long start_stack ;
1753   unsigned long arg_start ;
1754   unsigned long arg_end ;
1755   unsigned long env_start ;
1756   unsigned long env_end ;
1757   unsigned long saved_auxv[44] ;
1758   struct mm_rss_stat rss_stat ;
1759   struct linux_binfmt *binfmt ;
1760   cpumask_var_t cpu_vm_mask_var ;
1761   mm_context_t context ;
1762   unsigned int faultstamp ;
1763   unsigned int token_priority ;
1764   unsigned int last_interval ;
1765   unsigned long flags ;
1766   struct core_state *core_state ;
1767   spinlock_t ioctx_lock ;
1768   struct hlist_head ioctx_list ;
1769   struct task_struct *owner ;
1770   struct file *exe_file ;
1771   unsigned long num_exe_file_vmas ;
1772   struct mmu_notifier_mm *mmu_notifier_mm ;
1773   pgtable_t pmd_huge_pte ;
1774   struct cpumask cpumask_allocation ;
1775};
1776#line 7 "include/asm-generic/cputime.h"
1777typedef unsigned long cputime_t;
1778#line 84 "include/linux/sem.h"
1779struct task_struct;
1780#line 101
1781struct sem_undo_list;
1782#line 101 "include/linux/sem.h"
1783struct sysv_sem {
1784   struct sem_undo_list *undo_list ;
1785};
1786#line 10 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1787struct siginfo;
1788#line 10
1789struct siginfo;
1790#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1791struct __anonstruct_sigset_t_217 {
1792   unsigned long sig[1] ;
1793};
1794#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1795typedef struct __anonstruct_sigset_t_217 sigset_t;
1796#line 17 "include/asm-generic/signal-defs.h"
1797typedef void __signalfn_t(int  );
1798#line 18 "include/asm-generic/signal-defs.h"
1799typedef __signalfn_t *__sighandler_t;
1800#line 20 "include/asm-generic/signal-defs.h"
1801typedef void __restorefn_t(void);
1802#line 21 "include/asm-generic/signal-defs.h"
1803typedef __restorefn_t *__sigrestore_t;
1804#line 167 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1805struct sigaction {
1806   __sighandler_t sa_handler ;
1807   unsigned long sa_flags ;
1808   __sigrestore_t sa_restorer ;
1809   sigset_t sa_mask ;
1810};
1811#line 174 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1812struct k_sigaction {
1813   struct sigaction sa ;
1814};
1815#line 7 "include/asm-generic/siginfo.h"
1816union sigval {
1817   int sival_int ;
1818   void *sival_ptr ;
1819};
1820#line 7 "include/asm-generic/siginfo.h"
1821typedef union sigval sigval_t;
1822#line 48 "include/asm-generic/siginfo.h"
1823struct __anonstruct__kill_219 {
1824   __kernel_pid_t _pid ;
1825   __kernel_uid32_t _uid ;
1826};
1827#line 48 "include/asm-generic/siginfo.h"
1828struct __anonstruct__timer_220 {
1829   __kernel_timer_t _tid ;
1830   int _overrun ;
1831   char _pad[sizeof(__kernel_uid32_t ) - sizeof(int )] ;
1832   sigval_t _sigval ;
1833   int _sys_private ;
1834};
1835#line 48 "include/asm-generic/siginfo.h"
1836struct __anonstruct__rt_221 {
1837   __kernel_pid_t _pid ;
1838   __kernel_uid32_t _uid ;
1839   sigval_t _sigval ;
1840};
1841#line 48 "include/asm-generic/siginfo.h"
1842struct __anonstruct__sigchld_222 {
1843   __kernel_pid_t _pid ;
1844   __kernel_uid32_t _uid ;
1845   int _status ;
1846   __kernel_clock_t _utime ;
1847   __kernel_clock_t _stime ;
1848};
1849#line 48 "include/asm-generic/siginfo.h"
1850struct __anonstruct__sigfault_223 {
1851   void *_addr ;
1852   short _addr_lsb ;
1853};
1854#line 48 "include/asm-generic/siginfo.h"
1855struct __anonstruct__sigpoll_224 {
1856   long _band ;
1857   int _fd ;
1858};
1859#line 48 "include/asm-generic/siginfo.h"
1860union __anonunion__sifields_218 {
1861   int _pad[(128UL - 4UL * sizeof(int )) / sizeof(int )] ;
1862   struct __anonstruct__kill_219 _kill ;
1863   struct __anonstruct__timer_220 _timer ;
1864   struct __anonstruct__rt_221 _rt ;
1865   struct __anonstruct__sigchld_222 _sigchld ;
1866   struct __anonstruct__sigfault_223 _sigfault ;
1867   struct __anonstruct__sigpoll_224 _sigpoll ;
1868};
1869#line 48 "include/asm-generic/siginfo.h"
1870struct siginfo {
1871   int si_signo ;
1872   int si_errno ;
1873   int si_code ;
1874   union __anonunion__sifields_218 _sifields ;
1875};
1876#line 48 "include/asm-generic/siginfo.h"
1877typedef struct siginfo siginfo_t;
1878#line 288
1879struct siginfo;
1880#line 10 "include/linux/signal.h"
1881struct task_struct;
1882#line 18
1883struct user_struct;
1884#line 28 "include/linux/signal.h"
1885struct sigpending {
1886   struct list_head list ;
1887   sigset_t signal ;
1888};
1889#line 239
1890struct timespec;
1891#line 240
1892struct pt_regs;
1893#line 6 "include/linux/pid.h"
1894enum pid_type {
1895    PIDTYPE_PID = 0,
1896    PIDTYPE_PGID = 1,
1897    PIDTYPE_SID = 2,
1898    PIDTYPE_MAX = 3
1899} ;
1900#line 50
1901struct pid_namespace;
1902#line 50 "include/linux/pid.h"
1903struct upid {
1904   int nr ;
1905   struct pid_namespace *ns ;
1906   struct hlist_node pid_chain ;
1907};
1908#line 57 "include/linux/pid.h"
1909struct pid {
1910   atomic_t count ;
1911   unsigned int level ;
1912   struct hlist_head tasks[3] ;
1913   struct rcu_head rcu ;
1914   struct upid numbers[1] ;
1915};
1916#line 69 "include/linux/pid.h"
1917struct pid_link {
1918   struct hlist_node node ;
1919   struct pid *pid ;
1920};
1921#line 100
1922struct pid_namespace;
1923#line 10 "include/linux/seccomp.h"
1924struct __anonstruct_seccomp_t_227 {
1925   int mode ;
1926};
1927#line 10 "include/linux/seccomp.h"
1928typedef struct __anonstruct_seccomp_t_227 seccomp_t;
1929#line 81 "include/linux/plist.h"
1930struct plist_head {
1931   struct list_head node_list ;
1932};
1933#line 85 "include/linux/plist.h"
1934struct plist_node {
1935   int prio ;
1936   struct list_head prio_list ;
1937   struct list_head node_list ;
1938};
1939#line 28 "include/linux/rtmutex.h"
1940struct rt_mutex {
1941   raw_spinlock_t wait_lock ;
1942   struct plist_head wait_list ;
1943   struct task_struct *owner ;
1944   int save_state ;
1945   char const   *name ;
1946   char const   *file ;
1947   int line ;
1948   void *magic ;
1949};
1950#line 40
1951struct rt_mutex_waiter;
1952#line 40
1953struct rt_mutex_waiter;
1954#line 42 "include/linux/resource.h"
1955struct rlimit {
1956   unsigned long rlim_cur ;
1957   unsigned long rlim_max ;
1958};
1959#line 81
1960struct task_struct;
1961#line 8 "include/linux/timerqueue.h"
1962struct timerqueue_node {
1963   struct rb_node node ;
1964   ktime_t expires ;
1965};
1966#line 13 "include/linux/timerqueue.h"
1967struct timerqueue_head {
1968   struct rb_root head ;
1969   struct timerqueue_node *next ;
1970};
1971#line 27 "include/linux/hrtimer.h"
1972struct hrtimer_clock_base;
1973#line 27
1974struct hrtimer_clock_base;
1975#line 28
1976struct hrtimer_cpu_base;
1977#line 28
1978struct hrtimer_cpu_base;
1979#line 44
1980enum hrtimer_restart {
1981    HRTIMER_NORESTART = 0,
1982    HRTIMER_RESTART = 1
1983} ;
1984#line 108 "include/linux/hrtimer.h"
1985struct hrtimer {
1986   struct timerqueue_node node ;
1987   ktime_t _softexpires ;
1988   enum hrtimer_restart (*function)(struct hrtimer * ) ;
1989   struct hrtimer_clock_base *base ;
1990   unsigned long state ;
1991   int start_pid ;
1992   void *start_site ;
1993   char start_comm[16] ;
1994};
1995#line 145 "include/linux/hrtimer.h"
1996struct hrtimer_clock_base {
1997   struct hrtimer_cpu_base *cpu_base ;
1998   int index ;
1999   clockid_t clockid ;
2000   struct timerqueue_head active ;
2001   ktime_t resolution ;
2002   ktime_t (*get_time)(void) ;
2003   ktime_t softirq_time ;
2004   ktime_t offset ;
2005};
2006#line 178 "include/linux/hrtimer.h"
2007struct hrtimer_cpu_base {
2008   raw_spinlock_t lock ;
2009   unsigned long active_bases ;
2010   ktime_t expires_next ;
2011   int hres_active ;
2012   int hang_detected ;
2013   unsigned long nr_events ;
2014   unsigned long nr_retries ;
2015   unsigned long nr_hangs ;
2016   ktime_t max_hang_time ;
2017   struct hrtimer_clock_base clock_base[3] ;
2018};
2019#line 11 "include/linux/task_io_accounting.h"
2020struct task_io_accounting {
2021   u64 rchar ;
2022   u64 wchar ;
2023   u64 syscr ;
2024   u64 syscw ;
2025   u64 read_bytes ;
2026   u64 write_bytes ;
2027   u64 cancelled_write_bytes ;
2028};
2029#line 13 "include/linux/latencytop.h"
2030struct task_struct;
2031#line 20 "include/linux/latencytop.h"
2032struct latency_record {
2033   unsigned long backtrace[12] ;
2034   unsigned int count ;
2035   unsigned long time ;
2036   unsigned long max ;
2037};
2038#line 29 "include/linux/key.h"
2039typedef int32_t key_serial_t;
2040#line 32 "include/linux/key.h"
2041typedef uint32_t key_perm_t;
2042#line 34
2043struct key;
2044#line 34
2045struct key;
2046#line 74
2047struct seq_file;
2048#line 75
2049struct user_struct;
2050#line 76
2051struct signal_struct;
2052#line 76
2053struct signal_struct;
2054#line 77
2055struct cred;
2056#line 79
2057struct key_type;
2058#line 79
2059struct key_type;
2060#line 81
2061struct keyring_list;
2062#line 81
2063struct keyring_list;
2064#line 124
2065struct key_user;
2066#line 124 "include/linux/key.h"
2067union __anonunion____missing_field_name_228 {
2068   time_t expiry ;
2069   time_t revoked_at ;
2070};
2071#line 124 "include/linux/key.h"
2072union __anonunion_type_data_229 {
2073   struct list_head link ;
2074   unsigned long x[2] ;
2075   void *p[2] ;
2076   int reject_error ;
2077};
2078#line 124 "include/linux/key.h"
2079union __anonunion_payload_230 {
2080   unsigned long value ;
2081   void *rcudata ;
2082   void *data ;
2083   struct keyring_list *subscriptions ;
2084};
2085#line 124 "include/linux/key.h"
2086struct key {
2087   atomic_t usage ;
2088   key_serial_t serial ;
2089   struct rb_node serial_node ;
2090   struct key_type *type ;
2091   struct rw_semaphore sem ;
2092   struct key_user *user ;
2093   void *security ;
2094   union __anonunion____missing_field_name_228 __annonCompField42 ;
2095   uid_t uid ;
2096   gid_t gid ;
2097   key_perm_t perm ;
2098   unsigned short quotalen ;
2099   unsigned short datalen ;
2100   unsigned long flags ;
2101   char *description ;
2102   union __anonunion_type_data_229 type_data ;
2103   union __anonunion_payload_230 payload ;
2104};
2105#line 18 "include/linux/selinux.h"
2106struct audit_context;
2107#line 18
2108struct audit_context;
2109#line 21 "include/linux/cred.h"
2110struct user_struct;
2111#line 22
2112struct cred;
2113#line 23
2114struct inode;
2115#line 23
2116struct inode;
2117#line 31 "include/linux/cred.h"
2118struct group_info {
2119   atomic_t usage ;
2120   int ngroups ;
2121   int nblocks ;
2122   gid_t small_block[32] ;
2123   gid_t *blocks[0] ;
2124};
2125#line 83 "include/linux/cred.h"
2126struct thread_group_cred {
2127   atomic_t usage ;
2128   pid_t tgid ;
2129   spinlock_t lock ;
2130   struct key *session_keyring ;
2131   struct key *process_keyring ;
2132   struct rcu_head rcu ;
2133};
2134#line 116 "include/linux/cred.h"
2135struct cred {
2136   atomic_t usage ;
2137   atomic_t subscribers ;
2138   void *put_addr ;
2139   unsigned int magic ;
2140   uid_t uid ;
2141   gid_t gid ;
2142   uid_t suid ;
2143   gid_t sgid ;
2144   uid_t euid ;
2145   gid_t egid ;
2146   uid_t fsuid ;
2147   gid_t fsgid ;
2148   unsigned int securebits ;
2149   kernel_cap_t cap_inheritable ;
2150   kernel_cap_t cap_permitted ;
2151   kernel_cap_t cap_effective ;
2152   kernel_cap_t cap_bset ;
2153   unsigned char jit_keyring ;
2154   struct key *thread_keyring ;
2155   struct key *request_key_auth ;
2156   struct thread_group_cred *tgcred ;
2157   void *security ;
2158   struct user_struct *user ;
2159   struct user_namespace *user_ns ;
2160   struct group_info *group_info ;
2161   struct rcu_head rcu ;
2162};
2163#line 61 "include/linux/llist.h"
2164struct llist_node;
2165#line 65 "include/linux/llist.h"
2166struct llist_node {
2167   struct llist_node *next ;
2168};
2169#line 97 "include/linux/sched.h"
2170struct futex_pi_state;
2171#line 97
2172struct futex_pi_state;
2173#line 98
2174struct robust_list_head;
2175#line 98
2176struct robust_list_head;
2177#line 99
2178struct bio_list;
2179#line 99
2180struct bio_list;
2181#line 100
2182struct fs_struct;
2183#line 100
2184struct fs_struct;
2185#line 101
2186struct perf_event_context;
2187#line 101
2188struct perf_event_context;
2189#line 102
2190struct blk_plug;
2191#line 102
2192struct blk_plug;
2193#line 150
2194struct seq_file;
2195#line 151
2196struct cfs_rq;
2197#line 151
2198struct cfs_rq;
2199#line 259
2200struct task_struct;
2201#line 366
2202struct nsproxy;
2203#line 367
2204struct user_namespace;
2205#line 58 "include/linux/aio_abi.h"
2206struct io_event {
2207   __u64 data ;
2208   __u64 obj ;
2209   __s64 res ;
2210   __s64 res2 ;
2211};
2212#line 16 "include/linux/uio.h"
2213struct iovec {
2214   void *iov_base ;
2215   __kernel_size_t iov_len ;
2216};
2217#line 15 "include/linux/aio.h"
2218struct kioctx;
2219#line 15
2220struct kioctx;
2221#line 87 "include/linux/aio.h"
2222union __anonunion_ki_obj_232 {
2223   void *user ;
2224   struct task_struct *tsk ;
2225};
2226#line 87
2227struct eventfd_ctx;
2228#line 87 "include/linux/aio.h"
2229struct kiocb {
2230   struct list_head ki_run_list ;
2231   unsigned long ki_flags ;
2232   int ki_users ;
2233   unsigned int ki_key ;
2234   struct file *ki_filp ;
2235   struct kioctx *ki_ctx ;
2236   int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
2237   ssize_t (*ki_retry)(struct kiocb * ) ;
2238   void (*ki_dtor)(struct kiocb * ) ;
2239   union __anonunion_ki_obj_232 ki_obj ;
2240   __u64 ki_user_data ;
2241   loff_t ki_pos ;
2242   void *private ;
2243   unsigned short ki_opcode ;
2244   size_t ki_nbytes ;
2245   char *ki_buf ;
2246   size_t ki_left ;
2247   struct iovec ki_inline_vec ;
2248   struct iovec *ki_iovec ;
2249   unsigned long ki_nr_segs ;
2250   unsigned long ki_cur_seg ;
2251   struct list_head ki_list ;
2252   struct list_head ki_batch ;
2253   struct eventfd_ctx *ki_eventfd ;
2254};
2255#line 166 "include/linux/aio.h"
2256struct aio_ring_info {
2257   unsigned long mmap_base ;
2258   unsigned long mmap_size ;
2259   struct page **ring_pages ;
2260   spinlock_t ring_lock ;
2261   long nr_pages ;
2262   unsigned int nr ;
2263   unsigned int tail ;
2264   struct page *internal_pages[8] ;
2265};
2266#line 179 "include/linux/aio.h"
2267struct kioctx {
2268   atomic_t users ;
2269   int dead ;
2270   struct mm_struct *mm ;
2271   unsigned long user_id ;
2272   struct hlist_node list ;
2273   wait_queue_head_t wait ;
2274   spinlock_t ctx_lock ;
2275   int reqs_active ;
2276   struct list_head active_reqs ;
2277   struct list_head run_list ;
2278   unsigned int max_reqs ;
2279   struct aio_ring_info ring_info ;
2280   struct delayed_work wq ;
2281   struct rcu_head rcu_head ;
2282};
2283#line 214
2284struct mm_struct;
2285#line 443 "include/linux/sched.h"
2286struct sighand_struct {
2287   atomic_t count ;
2288   struct k_sigaction action[64] ;
2289   spinlock_t siglock ;
2290   wait_queue_head_t signalfd_wqh ;
2291};
2292#line 450 "include/linux/sched.h"
2293struct pacct_struct {
2294   int ac_flag ;
2295   long ac_exitcode ;
2296   unsigned long ac_mem ;
2297   cputime_t ac_utime ;
2298   cputime_t ac_stime ;
2299   unsigned long ac_minflt ;
2300   unsigned long ac_majflt ;
2301};
2302#line 458 "include/linux/sched.h"
2303struct cpu_itimer {
2304   cputime_t expires ;
2305   cputime_t incr ;
2306   u32 error ;
2307   u32 incr_error ;
2308};
2309#line 476 "include/linux/sched.h"
2310struct task_cputime {
2311   cputime_t utime ;
2312   cputime_t stime ;
2313   unsigned long long sum_exec_runtime ;
2314};
2315#line 512 "include/linux/sched.h"
2316struct thread_group_cputimer {
2317   struct task_cputime cputime ;
2318   int running ;
2319   raw_spinlock_t lock ;
2320};
2321#line 519
2322struct autogroup;
2323#line 519
2324struct autogroup;
2325#line 528
2326struct tty_struct;
2327#line 528
2328struct taskstats;
2329#line 528
2330struct tty_audit_buf;
2331#line 528 "include/linux/sched.h"
2332struct signal_struct {
2333   atomic_t sigcnt ;
2334   atomic_t live ;
2335   int nr_threads ;
2336   wait_queue_head_t wait_chldexit ;
2337   struct task_struct *curr_target ;
2338   struct sigpending shared_pending ;
2339   int group_exit_code ;
2340   int notify_count ;
2341   struct task_struct *group_exit_task ;
2342   int group_stop_count ;
2343   unsigned int flags ;
2344   unsigned int is_child_subreaper : 1 ;
2345   unsigned int has_child_subreaper : 1 ;
2346   struct list_head posix_timers ;
2347   struct hrtimer real_timer ;
2348   struct pid *leader_pid ;
2349   ktime_t it_real_incr ;
2350   struct cpu_itimer it[2] ;
2351   struct thread_group_cputimer cputimer ;
2352   struct task_cputime cputime_expires ;
2353   struct list_head cpu_timers[3] ;
2354   struct pid *tty_old_pgrp ;
2355   int leader ;
2356   struct tty_struct *tty ;
2357   struct autogroup *autogroup ;
2358   cputime_t utime ;
2359   cputime_t stime ;
2360   cputime_t cutime ;
2361   cputime_t cstime ;
2362   cputime_t gtime ;
2363   cputime_t cgtime ;
2364   cputime_t prev_utime ;
2365   cputime_t prev_stime ;
2366   unsigned long nvcsw ;
2367   unsigned long nivcsw ;
2368   unsigned long cnvcsw ;
2369   unsigned long cnivcsw ;
2370   unsigned long min_flt ;
2371   unsigned long maj_flt ;
2372   unsigned long cmin_flt ;
2373   unsigned long cmaj_flt ;
2374   unsigned long inblock ;
2375   unsigned long oublock ;
2376   unsigned long cinblock ;
2377   unsigned long coublock ;
2378   unsigned long maxrss ;
2379   unsigned long cmaxrss ;
2380   struct task_io_accounting ioac ;
2381   unsigned long long sum_sched_runtime ;
2382   struct rlimit rlim[16] ;
2383   struct pacct_struct pacct ;
2384   struct taskstats *stats ;
2385   unsigned int audit_tty ;
2386   struct tty_audit_buf *tty_audit_buf ;
2387   struct rw_semaphore group_rwsem ;
2388   int oom_adj ;
2389   int oom_score_adj ;
2390   int oom_score_adj_min ;
2391   struct mutex cred_guard_mutex ;
2392};
2393#line 703 "include/linux/sched.h"
2394struct user_struct {
2395   atomic_t __count ;
2396   atomic_t processes ;
2397   atomic_t files ;
2398   atomic_t sigpending ;
2399   atomic_t inotify_watches ;
2400   atomic_t inotify_devs ;
2401   atomic_t fanotify_listeners ;
2402   atomic_long_t epoll_watches ;
2403   unsigned long mq_bytes ;
2404   unsigned long locked_shm ;
2405   struct key *uid_keyring ;
2406   struct key *session_keyring ;
2407   struct hlist_node uidhash_node ;
2408   uid_t uid ;
2409   struct user_namespace *user_ns ;
2410   atomic_long_t locked_vm ;
2411};
2412#line 747
2413struct backing_dev_info;
2414#line 747
2415struct backing_dev_info;
2416#line 748
2417struct reclaim_state;
2418#line 748
2419struct reclaim_state;
2420#line 751 "include/linux/sched.h"
2421struct sched_info {
2422   unsigned long pcount ;
2423   unsigned long long run_delay ;
2424   unsigned long long last_arrival ;
2425   unsigned long long last_queued ;
2426};
2427#line 763 "include/linux/sched.h"
2428struct task_delay_info {
2429   spinlock_t lock ;
2430   unsigned int flags ;
2431   struct timespec blkio_start ;
2432   struct timespec blkio_end ;
2433   u64 blkio_delay ;
2434   u64 swapin_delay ;
2435   u32 blkio_count ;
2436   u32 swapin_count ;
2437   struct timespec freepages_start ;
2438   struct timespec freepages_end ;
2439   u64 freepages_delay ;
2440   u32 freepages_count ;
2441};
2442#line 1088
2443struct io_context;
2444#line 1088
2445struct io_context;
2446#line 1097
2447struct audit_context;
2448#line 1098
2449struct mempolicy;
2450#line 1099
2451struct pipe_inode_info;
2452#line 1099
2453struct pipe_inode_info;
2454#line 1102
2455struct rq;
2456#line 1102
2457struct rq;
2458#line 1122 "include/linux/sched.h"
2459struct sched_class {
2460   struct sched_class  const  *next ;
2461   void (*enqueue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
2462   void (*dequeue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
2463   void (*yield_task)(struct rq *rq ) ;
2464   bool (*yield_to_task)(struct rq *rq , struct task_struct *p , bool preempt ) ;
2465   void (*check_preempt_curr)(struct rq *rq , struct task_struct *p , int flags ) ;
2466   struct task_struct *(*pick_next_task)(struct rq *rq ) ;
2467   void (*put_prev_task)(struct rq *rq , struct task_struct *p ) ;
2468   int (*select_task_rq)(struct task_struct *p , int sd_flag , int flags ) ;
2469   void (*pre_schedule)(struct rq *this_rq , struct task_struct *task ) ;
2470   void (*post_schedule)(struct rq *this_rq ) ;
2471   void (*task_waking)(struct task_struct *task ) ;
2472   void (*task_woken)(struct rq *this_rq , struct task_struct *task ) ;
2473   void (*set_cpus_allowed)(struct task_struct *p , struct cpumask  const  *newmask ) ;
2474   void (*rq_online)(struct rq *rq ) ;
2475   void (*rq_offline)(struct rq *rq ) ;
2476   void (*set_curr_task)(struct rq *rq ) ;
2477   void (*task_tick)(struct rq *rq , struct task_struct *p , int queued ) ;
2478   void (*task_fork)(struct task_struct *p ) ;
2479   void (*switched_from)(struct rq *this_rq , struct task_struct *task ) ;
2480   void (*switched_to)(struct rq *this_rq , struct task_struct *task ) ;
2481   void (*prio_changed)(struct rq *this_rq , struct task_struct *task , int oldprio ) ;
2482   unsigned int (*get_rr_interval)(struct rq *rq , struct task_struct *task ) ;
2483   void (*task_move_group)(struct task_struct *p , int on_rq ) ;
2484};
2485#line 1167 "include/linux/sched.h"
2486struct load_weight {
2487   unsigned long weight ;
2488   unsigned long inv_weight ;
2489};
2490#line 1172 "include/linux/sched.h"
2491struct sched_statistics {
2492   u64 wait_start ;
2493   u64 wait_max ;
2494   u64 wait_count ;
2495   u64 wait_sum ;
2496   u64 iowait_count ;
2497   u64 iowait_sum ;
2498   u64 sleep_start ;
2499   u64 sleep_max ;
2500   s64 sum_sleep_runtime ;
2501   u64 block_start ;
2502   u64 block_max ;
2503   u64 exec_max ;
2504   u64 slice_max ;
2505   u64 nr_migrations_cold ;
2506   u64 nr_failed_migrations_affine ;
2507   u64 nr_failed_migrations_running ;
2508   u64 nr_failed_migrations_hot ;
2509   u64 nr_forced_migrations ;
2510   u64 nr_wakeups ;
2511   u64 nr_wakeups_sync ;
2512   u64 nr_wakeups_migrate ;
2513   u64 nr_wakeups_local ;
2514   u64 nr_wakeups_remote ;
2515   u64 nr_wakeups_affine ;
2516   u64 nr_wakeups_affine_attempts ;
2517   u64 nr_wakeups_passive ;
2518   u64 nr_wakeups_idle ;
2519};
2520#line 1207 "include/linux/sched.h"
2521struct sched_entity {
2522   struct load_weight load ;
2523   struct rb_node run_node ;
2524   struct list_head group_node ;
2525   unsigned int on_rq ;
2526   u64 exec_start ;
2527   u64 sum_exec_runtime ;
2528   u64 vruntime ;
2529   u64 prev_sum_exec_runtime ;
2530   u64 nr_migrations ;
2531   struct sched_statistics statistics ;
2532   struct sched_entity *parent ;
2533   struct cfs_rq *cfs_rq ;
2534   struct cfs_rq *my_q ;
2535};
2536#line 1233
2537struct rt_rq;
2538#line 1233 "include/linux/sched.h"
2539struct sched_rt_entity {
2540   struct list_head run_list ;
2541   unsigned long timeout ;
2542   unsigned int time_slice ;
2543   int nr_cpus_allowed ;
2544   struct sched_rt_entity *back ;
2545   struct sched_rt_entity *parent ;
2546   struct rt_rq *rt_rq ;
2547   struct rt_rq *my_q ;
2548};
2549#line 1264
2550struct files_struct;
2551#line 1264
2552struct css_set;
2553#line 1264
2554struct compat_robust_list_head;
2555#line 1264
2556struct mem_cgroup;
2557#line 1264 "include/linux/sched.h"
2558struct memcg_batch_info {
2559   int do_batch ;
2560   struct mem_cgroup *memcg ;
2561   unsigned long nr_pages ;
2562   unsigned long memsw_nr_pages ;
2563};
2564#line 1264 "include/linux/sched.h"
2565struct task_struct {
2566   long volatile   state ;
2567   void *stack ;
2568   atomic_t usage ;
2569   unsigned int flags ;
2570   unsigned int ptrace ;
2571   struct llist_node wake_entry ;
2572   int on_cpu ;
2573   int on_rq ;
2574   int prio ;
2575   int static_prio ;
2576   int normal_prio ;
2577   unsigned int rt_priority ;
2578   struct sched_class  const  *sched_class ;
2579   struct sched_entity se ;
2580   struct sched_rt_entity rt ;
2581   struct hlist_head preempt_notifiers ;
2582   unsigned char fpu_counter ;
2583   unsigned int policy ;
2584   cpumask_t cpus_allowed ;
2585   struct sched_info sched_info ;
2586   struct list_head tasks ;
2587   struct plist_node pushable_tasks ;
2588   struct mm_struct *mm ;
2589   struct mm_struct *active_mm ;
2590   unsigned int brk_randomized : 1 ;
2591   int exit_state ;
2592   int exit_code ;
2593   int exit_signal ;
2594   int pdeath_signal ;
2595   unsigned int jobctl ;
2596   unsigned int personality ;
2597   unsigned int did_exec : 1 ;
2598   unsigned int in_execve : 1 ;
2599   unsigned int in_iowait : 1 ;
2600   unsigned int sched_reset_on_fork : 1 ;
2601   unsigned int sched_contributes_to_load : 1 ;
2602   unsigned int irq_thread : 1 ;
2603   pid_t pid ;
2604   pid_t tgid ;
2605   unsigned long stack_canary ;
2606   struct task_struct *real_parent ;
2607   struct task_struct *parent ;
2608   struct list_head children ;
2609   struct list_head sibling ;
2610   struct task_struct *group_leader ;
2611   struct list_head ptraced ;
2612   struct list_head ptrace_entry ;
2613   struct pid_link pids[3] ;
2614   struct list_head thread_group ;
2615   struct completion *vfork_done ;
2616   int *set_child_tid ;
2617   int *clear_child_tid ;
2618   cputime_t utime ;
2619   cputime_t stime ;
2620   cputime_t utimescaled ;
2621   cputime_t stimescaled ;
2622   cputime_t gtime ;
2623   cputime_t prev_utime ;
2624   cputime_t prev_stime ;
2625   unsigned long nvcsw ;
2626   unsigned long nivcsw ;
2627   struct timespec start_time ;
2628   struct timespec real_start_time ;
2629   unsigned long min_flt ;
2630   unsigned long maj_flt ;
2631   struct task_cputime cputime_expires ;
2632   struct list_head cpu_timers[3] ;
2633   struct cred  const  *real_cred ;
2634   struct cred  const  *cred ;
2635   struct cred *replacement_session_keyring ;
2636   char comm[16] ;
2637   int link_count ;
2638   int total_link_count ;
2639   struct sysv_sem sysvsem ;
2640   unsigned long last_switch_count ;
2641   struct thread_struct thread ;
2642   struct fs_struct *fs ;
2643   struct files_struct *files ;
2644   struct nsproxy *nsproxy ;
2645   struct signal_struct *signal ;
2646   struct sighand_struct *sighand ;
2647   sigset_t blocked ;
2648   sigset_t real_blocked ;
2649   sigset_t saved_sigmask ;
2650   struct sigpending pending ;
2651   unsigned long sas_ss_sp ;
2652   size_t sas_ss_size ;
2653   int (*notifier)(void *priv ) ;
2654   void *notifier_data ;
2655   sigset_t *notifier_mask ;
2656   struct audit_context *audit_context ;
2657   uid_t loginuid ;
2658   unsigned int sessionid ;
2659   seccomp_t seccomp ;
2660   u32 parent_exec_id ;
2661   u32 self_exec_id ;
2662   spinlock_t alloc_lock ;
2663   raw_spinlock_t pi_lock ;
2664   struct plist_head pi_waiters ;
2665   struct rt_mutex_waiter *pi_blocked_on ;
2666   struct mutex_waiter *blocked_on ;
2667   unsigned int irq_events ;
2668   unsigned long hardirq_enable_ip ;
2669   unsigned long hardirq_disable_ip ;
2670   unsigned int hardirq_enable_event ;
2671   unsigned int hardirq_disable_event ;
2672   int hardirqs_enabled ;
2673   int hardirq_context ;
2674   unsigned long softirq_disable_ip ;
2675   unsigned long softirq_enable_ip ;
2676   unsigned int softirq_disable_event ;
2677   unsigned int softirq_enable_event ;
2678   int softirqs_enabled ;
2679   int softirq_context ;
2680   void *journal_info ;
2681   struct bio_list *bio_list ;
2682   struct blk_plug *plug ;
2683   struct reclaim_state *reclaim_state ;
2684   struct backing_dev_info *backing_dev_info ;
2685   struct io_context *io_context ;
2686   unsigned long ptrace_message ;
2687   siginfo_t *last_siginfo ;
2688   struct task_io_accounting ioac ;
2689   u64 acct_rss_mem1 ;
2690   u64 acct_vm_mem1 ;
2691   cputime_t acct_timexpd ;
2692   nodemask_t mems_allowed ;
2693   seqcount_t mems_allowed_seq ;
2694   int cpuset_mem_spread_rotor ;
2695   int cpuset_slab_spread_rotor ;
2696   struct css_set *cgroups ;
2697   struct list_head cg_list ;
2698   struct robust_list_head *robust_list ;
2699   struct compat_robust_list_head *compat_robust_list ;
2700   struct list_head pi_state_list ;
2701   struct futex_pi_state *pi_state_cache ;
2702   struct perf_event_context *perf_event_ctxp[2] ;
2703   struct mutex perf_event_mutex ;
2704   struct list_head perf_event_list ;
2705   struct mempolicy *mempolicy ;
2706   short il_next ;
2707   short pref_node_fork ;
2708   struct rcu_head rcu ;
2709   struct pipe_inode_info *splice_pipe ;
2710   struct task_delay_info *delays ;
2711   int make_it_fail ;
2712   int nr_dirtied ;
2713   int nr_dirtied_pause ;
2714   unsigned long dirty_paused_when ;
2715   int latency_record_count ;
2716   struct latency_record latency_record[32] ;
2717   unsigned long timer_slack_ns ;
2718   unsigned long default_timer_slack_ns ;
2719   struct list_head *scm_work_list ;
2720   unsigned long trace ;
2721   unsigned long trace_recursion ;
2722   struct memcg_batch_info memcg_batch ;
2723   atomic_t ptrace_bp_refcnt ;
2724};
2725#line 1681
2726struct pid_namespace;
2727#line 28 "include/linux/of.h"
2728typedef u32 phandle;
2729#line 31 "include/linux/of.h"
2730struct property {
2731   char *name ;
2732   int length ;
2733   void *value ;
2734   struct property *next ;
2735   unsigned long _flags ;
2736   unsigned int unique_id ;
2737};
2738#line 44
2739struct proc_dir_entry;
2740#line 44 "include/linux/of.h"
2741struct device_node {
2742   char const   *name ;
2743   char const   *type ;
2744   phandle phandle ;
2745   char *full_name ;
2746   struct property *properties ;
2747   struct property *deadprops ;
2748   struct device_node *parent ;
2749   struct device_node *child ;
2750   struct device_node *sibling ;
2751   struct device_node *next ;
2752   struct device_node *allnext ;
2753   struct proc_dir_entry *pde ;
2754   struct kref kref ;
2755   unsigned long _flags ;
2756   void *data ;
2757};
2758#line 44 "include/linux/i2c.h"
2759struct i2c_msg;
2760#line 44
2761struct i2c_msg;
2762#line 45
2763struct i2c_algorithm;
2764#line 45
2765struct i2c_algorithm;
2766#line 46
2767struct i2c_adapter;
2768#line 46
2769struct i2c_adapter;
2770#line 49
2771union i2c_smbus_data;
2772#line 49
2773union i2c_smbus_data;
2774#line 52
2775struct module;
2776#line 352 "include/linux/i2c.h"
2777struct i2c_algorithm {
2778   int (*master_xfer)(struct i2c_adapter *adap , struct i2c_msg *msgs , int num ) ;
2779   int (*smbus_xfer)(struct i2c_adapter *adap , u16 addr , unsigned short flags ,
2780                     char read_write , u8 command , int size , union i2c_smbus_data *data ) ;
2781   u32 (*functionality)(struct i2c_adapter * ) ;
2782};
2783#line 373 "include/linux/i2c.h"
2784struct i2c_adapter {
2785   struct module *owner ;
2786   unsigned int class ;
2787   struct i2c_algorithm  const  *algo ;
2788   void *algo_data ;
2789   struct rt_mutex bus_lock ;
2790   int timeout ;
2791   int retries ;
2792   struct device dev ;
2793   int nr ;
2794   char name[48] ;
2795   struct completion dev_released ;
2796   struct mutex userspace_clients_lock ;
2797   struct list_head userspace_clients ;
2798};
2799#line 538 "include/linux/i2c.h"
2800struct i2c_msg {
2801   __u16 addr ;
2802   __u16 flags ;
2803   __u16 len ;
2804   __u8 *buf ;
2805};
2806#line 596 "include/linux/i2c.h"
2807union i2c_smbus_data {
2808   __u8 byte ;
2809   __u16 word ;
2810   __u8 block[34] ;
2811};
2812#line 46 "include/linux/slub_def.h"
2813struct kmem_cache_cpu {
2814   void **freelist ;
2815   unsigned long tid ;
2816   struct page *page ;
2817   struct page *partial ;
2818   int node ;
2819   unsigned int stat[26] ;
2820};
2821#line 57 "include/linux/slub_def.h"
2822struct kmem_cache_node {
2823   spinlock_t list_lock ;
2824   unsigned long nr_partial ;
2825   struct list_head partial ;
2826   atomic_long_t nr_slabs ;
2827   atomic_long_t total_objects ;
2828   struct list_head full ;
2829};
2830#line 73 "include/linux/slub_def.h"
2831struct kmem_cache_order_objects {
2832   unsigned long x ;
2833};
2834#line 80 "include/linux/slub_def.h"
2835struct kmem_cache {
2836   struct kmem_cache_cpu *cpu_slab ;
2837   unsigned long flags ;
2838   unsigned long min_partial ;
2839   int size ;
2840   int objsize ;
2841   int offset ;
2842   int cpu_partial ;
2843   struct kmem_cache_order_objects oo ;
2844   struct kmem_cache_order_objects max ;
2845   struct kmem_cache_order_objects min ;
2846   gfp_t allocflags ;
2847   int refcount ;
2848   void (*ctor)(void * ) ;
2849   int inuse ;
2850   int align ;
2851   int reserved ;
2852   char const   *name ;
2853   struct list_head list ;
2854   struct kobject kobj ;
2855   int remote_node_defrag_ratio ;
2856   struct kmem_cache_node *node[1 << 10] ;
2857};
2858#line 15 "include/linux/blk_types.h"
2859struct page;
2860#line 16
2861struct block_device;
2862#line 16
2863struct block_device;
2864#line 33 "include/linux/list_bl.h"
2865struct hlist_bl_node;
2866#line 33 "include/linux/list_bl.h"
2867struct hlist_bl_head {
2868   struct hlist_bl_node *first ;
2869};
2870#line 37 "include/linux/list_bl.h"
2871struct hlist_bl_node {
2872   struct hlist_bl_node *next ;
2873   struct hlist_bl_node **pprev ;
2874};
2875#line 13 "include/linux/dcache.h"
2876struct nameidata;
2877#line 13
2878struct nameidata;
2879#line 14
2880struct path;
2881#line 14
2882struct path;
2883#line 15
2884struct vfsmount;
2885#line 15
2886struct vfsmount;
2887#line 35 "include/linux/dcache.h"
2888struct qstr {
2889   unsigned int hash ;
2890   unsigned int len ;
2891   unsigned char const   *name ;
2892};
2893#line 88
2894struct dentry_operations;
2895#line 88
2896struct super_block;
2897#line 88 "include/linux/dcache.h"
2898union __anonunion_d_u_234 {
2899   struct list_head d_child ;
2900   struct rcu_head d_rcu ;
2901};
2902#line 88 "include/linux/dcache.h"
2903struct dentry {
2904   unsigned int d_flags ;
2905   seqcount_t d_seq ;
2906   struct hlist_bl_node d_hash ;
2907   struct dentry *d_parent ;
2908   struct qstr d_name ;
2909   struct inode *d_inode ;
2910   unsigned char d_iname[32] ;
2911   unsigned int d_count ;
2912   spinlock_t d_lock ;
2913   struct dentry_operations  const  *d_op ;
2914   struct super_block *d_sb ;
2915   unsigned long d_time ;
2916   void *d_fsdata ;
2917   struct list_head d_lru ;
2918   union __anonunion_d_u_234 d_u ;
2919   struct list_head d_subdirs ;
2920   struct list_head d_alias ;
2921};
2922#line 131 "include/linux/dcache.h"
2923struct dentry_operations {
2924   int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
2925   int (*d_hash)(struct dentry  const  * , struct inode  const  * , struct qstr * ) ;
2926   int (*d_compare)(struct dentry  const  * , struct inode  const  * , struct dentry  const  * ,
2927                    struct inode  const  * , unsigned int  , char const   * , struct qstr  const  * ) ;
2928   int (*d_delete)(struct dentry  const  * ) ;
2929   void (*d_release)(struct dentry * ) ;
2930   void (*d_prune)(struct dentry * ) ;
2931   void (*d_iput)(struct dentry * , struct inode * ) ;
2932   char *(*d_dname)(struct dentry * , char * , int  ) ;
2933   struct vfsmount *(*d_automount)(struct path * ) ;
2934   int (*d_manage)(struct dentry * , bool  ) ;
2935} __attribute__((__aligned__((1) <<  (6) ))) ;
2936#line 4 "include/linux/path.h"
2937struct dentry;
2938#line 5
2939struct vfsmount;
2940#line 7 "include/linux/path.h"
2941struct path {
2942   struct vfsmount *mnt ;
2943   struct dentry *dentry ;
2944};
2945#line 64 "include/linux/radix-tree.h"
2946struct radix_tree_node;
2947#line 64 "include/linux/radix-tree.h"
2948struct radix_tree_root {
2949   unsigned int height ;
2950   gfp_t gfp_mask ;
2951   struct radix_tree_node *rnode ;
2952};
2953#line 16 "include/linux/fiemap.h"
2954struct fiemap_extent {
2955   __u64 fe_logical ;
2956   __u64 fe_physical ;
2957   __u64 fe_length ;
2958   __u64 fe_reserved64[2] ;
2959   __u32 fe_flags ;
2960   __u32 fe_reserved[3] ;
2961};
2962#line 8 "include/linux/shrinker.h"
2963struct shrink_control {
2964   gfp_t gfp_mask ;
2965   unsigned long nr_to_scan ;
2966};
2967#line 31 "include/linux/shrinker.h"
2968struct shrinker {
2969   int (*shrink)(struct shrinker * , struct shrink_control *sc ) ;
2970   int seeks ;
2971   long batch ;
2972   struct list_head list ;
2973   atomic_long_t nr_in_batch ;
2974};
2975#line 10 "include/linux/migrate_mode.h"
2976enum migrate_mode {
2977    MIGRATE_ASYNC = 0,
2978    MIGRATE_SYNC_LIGHT = 1,
2979    MIGRATE_SYNC = 2
2980} ;
2981#line 408 "include/linux/fs.h"
2982struct export_operations;
2983#line 408
2984struct export_operations;
2985#line 410
2986struct iovec;
2987#line 411
2988struct nameidata;
2989#line 412
2990struct kiocb;
2991#line 413
2992struct kobject;
2993#line 414
2994struct pipe_inode_info;
2995#line 415
2996struct poll_table_struct;
2997#line 415
2998struct poll_table_struct;
2999#line 416
3000struct kstatfs;
3001#line 416
3002struct kstatfs;
3003#line 417
3004struct vm_area_struct;
3005#line 418
3006struct vfsmount;
3007#line 419
3008struct cred;
3009#line 469 "include/linux/fs.h"
3010struct iattr {
3011   unsigned int ia_valid ;
3012   umode_t ia_mode ;
3013   uid_t ia_uid ;
3014   gid_t ia_gid ;
3015   loff_t ia_size ;
3016   struct timespec ia_atime ;
3017   struct timespec ia_mtime ;
3018   struct timespec ia_ctime ;
3019   struct file *ia_file ;
3020};
3021#line 129 "include/linux/quota.h"
3022struct if_dqinfo {
3023   __u64 dqi_bgrace ;
3024   __u64 dqi_igrace ;
3025   __u32 dqi_flags ;
3026   __u32 dqi_valid ;
3027};
3028#line 50 "include/linux/dqblk_xfs.h"
3029struct fs_disk_quota {
3030   __s8 d_version ;
3031   __s8 d_flags ;
3032   __u16 d_fieldmask ;
3033   __u32 d_id ;
3034   __u64 d_blk_hardlimit ;
3035   __u64 d_blk_softlimit ;
3036   __u64 d_ino_hardlimit ;
3037   __u64 d_ino_softlimit ;
3038   __u64 d_bcount ;
3039   __u64 d_icount ;
3040   __s32 d_itimer ;
3041   __s32 d_btimer ;
3042   __u16 d_iwarns ;
3043   __u16 d_bwarns ;
3044   __s32 d_padding2 ;
3045   __u64 d_rtb_hardlimit ;
3046   __u64 d_rtb_softlimit ;
3047   __u64 d_rtbcount ;
3048   __s32 d_rtbtimer ;
3049   __u16 d_rtbwarns ;
3050   __s16 d_padding3 ;
3051   char d_padding4[8] ;
3052};
3053#line 146 "include/linux/dqblk_xfs.h"
3054struct fs_qfilestat {
3055   __u64 qfs_ino ;
3056   __u64 qfs_nblks ;
3057   __u32 qfs_nextents ;
3058};
3059#line 146 "include/linux/dqblk_xfs.h"
3060typedef struct fs_qfilestat fs_qfilestat_t;
3061#line 152 "include/linux/dqblk_xfs.h"
3062struct fs_quota_stat {
3063   __s8 qs_version ;
3064   __u16 qs_flags ;
3065   __s8 qs_pad ;
3066   fs_qfilestat_t qs_uquota ;
3067   fs_qfilestat_t qs_gquota ;
3068   __u32 qs_incoredqs ;
3069   __s32 qs_btimelimit ;
3070   __s32 qs_itimelimit ;
3071   __s32 qs_rtbtimelimit ;
3072   __u16 qs_bwarnlimit ;
3073   __u16 qs_iwarnlimit ;
3074};
3075#line 17 "include/linux/dqblk_qtree.h"
3076struct dquot;
3077#line 17
3078struct dquot;
3079#line 185 "include/linux/quota.h"
3080typedef __kernel_uid32_t qid_t;
3081#line 186 "include/linux/quota.h"
3082typedef long long qsize_t;
3083#line 200 "include/linux/quota.h"
3084struct mem_dqblk {
3085   qsize_t dqb_bhardlimit ;
3086   qsize_t dqb_bsoftlimit ;
3087   qsize_t dqb_curspace ;
3088   qsize_t dqb_rsvspace ;
3089   qsize_t dqb_ihardlimit ;
3090   qsize_t dqb_isoftlimit ;
3091   qsize_t dqb_curinodes ;
3092   time_t dqb_btime ;
3093   time_t dqb_itime ;
3094};
3095#line 215
3096struct quota_format_type;
3097#line 215
3098struct quota_format_type;
3099#line 217 "include/linux/quota.h"
3100struct mem_dqinfo {
3101   struct quota_format_type *dqi_format ;
3102   int dqi_fmt_id ;
3103   struct list_head dqi_dirty_list ;
3104   unsigned long dqi_flags ;
3105   unsigned int dqi_bgrace ;
3106   unsigned int dqi_igrace ;
3107   qsize_t dqi_maxblimit ;
3108   qsize_t dqi_maxilimit ;
3109   void *dqi_priv ;
3110};
3111#line 230
3112struct super_block;
3113#line 288 "include/linux/quota.h"
3114struct dquot {
3115   struct hlist_node dq_hash ;
3116   struct list_head dq_inuse ;
3117   struct list_head dq_free ;
3118   struct list_head dq_dirty ;
3119   struct mutex dq_lock ;
3120   atomic_t dq_count ;
3121   wait_queue_head_t dq_wait_unused ;
3122   struct super_block *dq_sb ;
3123   unsigned int dq_id ;
3124   loff_t dq_off ;
3125   unsigned long dq_flags ;
3126   short dq_type ;
3127   struct mem_dqblk dq_dqb ;
3128};
3129#line 305 "include/linux/quota.h"
3130struct quota_format_ops {
3131   int (*check_quota_file)(struct super_block *sb , int type ) ;
3132   int (*read_file_info)(struct super_block *sb , int type ) ;
3133   int (*write_file_info)(struct super_block *sb , int type ) ;
3134   int (*free_file_info)(struct super_block *sb , int type ) ;
3135   int (*read_dqblk)(struct dquot *dquot ) ;
3136   int (*commit_dqblk)(struct dquot *dquot ) ;
3137   int (*release_dqblk)(struct dquot *dquot ) ;
3138};
3139#line 316 "include/linux/quota.h"
3140struct dquot_operations {
3141   int (*write_dquot)(struct dquot * ) ;
3142   struct dquot *(*alloc_dquot)(struct super_block * , int  ) ;
3143   void (*destroy_dquot)(struct dquot * ) ;
3144   int (*acquire_dquot)(struct dquot * ) ;
3145   int (*release_dquot)(struct dquot * ) ;
3146   int (*mark_dirty)(struct dquot * ) ;
3147   int (*write_info)(struct super_block * , int  ) ;
3148   qsize_t *(*get_reserved_space)(struct inode * ) ;
3149};
3150#line 329
3151struct path;
3152#line 332 "include/linux/quota.h"
3153struct quotactl_ops {
3154   int (*quota_on)(struct super_block * , int  , int  , struct path * ) ;
3155   int (*quota_on_meta)(struct super_block * , int  , int  ) ;
3156   int (*quota_off)(struct super_block * , int  ) ;
3157   int (*quota_sync)(struct super_block * , int  , int  ) ;
3158   int (*get_info)(struct super_block * , int  , struct if_dqinfo * ) ;
3159   int (*set_info)(struct super_block * , int  , struct if_dqinfo * ) ;
3160   int (*get_dqblk)(struct super_block * , int  , qid_t  , struct fs_disk_quota * ) ;
3161   int (*set_dqblk)(struct super_block * , int  , qid_t  , struct fs_disk_quota * ) ;
3162   int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
3163   int (*set_xstate)(struct super_block * , unsigned int  , int  ) ;
3164};
3165#line 345 "include/linux/quota.h"
3166struct quota_format_type {
3167   int qf_fmt_id ;
3168   struct quota_format_ops  const  *qf_ops ;
3169   struct module *qf_owner ;
3170   struct quota_format_type *qf_next ;
3171};
3172#line 399 "include/linux/quota.h"
3173struct quota_info {
3174   unsigned int flags ;
3175   struct mutex dqio_mutex ;
3176   struct mutex dqonoff_mutex ;
3177   struct rw_semaphore dqptr_sem ;
3178   struct inode *files[2] ;
3179   struct mem_dqinfo info[2] ;
3180   struct quota_format_ops  const  *ops[2] ;
3181};
3182#line 532 "include/linux/fs.h"
3183struct page;
3184#line 533
3185struct address_space;
3186#line 534
3187struct writeback_control;
3188#line 534
3189struct writeback_control;
3190#line 577 "include/linux/fs.h"
3191union __anonunion_arg_241 {
3192   char *buf ;
3193   void *data ;
3194};
3195#line 577 "include/linux/fs.h"
3196struct __anonstruct_read_descriptor_t_240 {
3197   size_t written ;
3198   size_t count ;
3199   union __anonunion_arg_241 arg ;
3200   int error ;
3201};
3202#line 577 "include/linux/fs.h"
3203typedef struct __anonstruct_read_descriptor_t_240 read_descriptor_t;
3204#line 590 "include/linux/fs.h"
3205struct address_space_operations {
3206   int (*writepage)(struct page *page , struct writeback_control *wbc ) ;
3207   int (*readpage)(struct file * , struct page * ) ;
3208   int (*writepages)(struct address_space * , struct writeback_control * ) ;
3209   int (*set_page_dirty)(struct page *page ) ;
3210   int (*readpages)(struct file *filp , struct address_space *mapping , struct list_head *pages ,
3211                    unsigned int nr_pages ) ;
3212   int (*write_begin)(struct file * , struct address_space *mapping , loff_t pos ,
3213                      unsigned int len , unsigned int flags , struct page **pagep ,
3214                      void **fsdata ) ;
3215   int (*write_end)(struct file * , struct address_space *mapping , loff_t pos , unsigned int len ,
3216                    unsigned int copied , struct page *page , void *fsdata ) ;
3217   sector_t (*bmap)(struct address_space * , sector_t  ) ;
3218   void (*invalidatepage)(struct page * , unsigned long  ) ;
3219   int (*releasepage)(struct page * , gfp_t  ) ;
3220   void (*freepage)(struct page * ) ;
3221   ssize_t (*direct_IO)(int  , struct kiocb * , struct iovec  const  *iov , loff_t offset ,
3222                        unsigned long nr_segs ) ;
3223   int (*get_xip_mem)(struct address_space * , unsigned long  , int  , void ** , unsigned long * ) ;
3224   int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode  ) ;
3225   int (*launder_page)(struct page * ) ;
3226   int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long  ) ;
3227   int (*error_remove_page)(struct address_space * , struct page * ) ;
3228};
3229#line 645
3230struct backing_dev_info;
3231#line 646 "include/linux/fs.h"
3232struct address_space {
3233   struct inode *host ;
3234   struct radix_tree_root page_tree ;
3235   spinlock_t tree_lock ;
3236   unsigned int i_mmap_writable ;
3237   struct prio_tree_root i_mmap ;
3238   struct list_head i_mmap_nonlinear ;
3239   struct mutex i_mmap_mutex ;
3240   unsigned long nrpages ;
3241   unsigned long writeback_index ;
3242   struct address_space_operations  const  *a_ops ;
3243   unsigned long flags ;
3244   struct backing_dev_info *backing_dev_info ;
3245   spinlock_t private_lock ;
3246   struct list_head private_list ;
3247   struct address_space *assoc_mapping ;
3248} __attribute__((__aligned__(sizeof(long )))) ;
3249#line 669
3250struct request_queue;
3251#line 669
3252struct request_queue;
3253#line 671
3254struct hd_struct;
3255#line 671
3256struct gendisk;
3257#line 671 "include/linux/fs.h"
3258struct block_device {
3259   dev_t bd_dev ;
3260   int bd_openers ;
3261   struct inode *bd_inode ;
3262   struct super_block *bd_super ;
3263   struct mutex bd_mutex ;
3264   struct list_head bd_inodes ;
3265   void *bd_claiming ;
3266   void *bd_holder ;
3267   int bd_holders ;
3268   bool bd_write_holder ;
3269   struct list_head bd_holder_disks ;
3270   struct block_device *bd_contains ;
3271   unsigned int bd_block_size ;
3272   struct hd_struct *bd_part ;
3273   unsigned int bd_part_count ;
3274   int bd_invalidated ;
3275   struct gendisk *bd_disk ;
3276   struct request_queue *bd_queue ;
3277   struct list_head bd_list ;
3278   unsigned long bd_private ;
3279   int bd_fsfreeze_count ;
3280   struct mutex bd_fsfreeze_mutex ;
3281};
3282#line 749
3283struct posix_acl;
3284#line 749
3285struct posix_acl;
3286#line 761
3287struct inode_operations;
3288#line 761 "include/linux/fs.h"
3289union __anonunion____missing_field_name_242 {
3290   unsigned int const   i_nlink ;
3291   unsigned int __i_nlink ;
3292};
3293#line 761 "include/linux/fs.h"
3294union __anonunion____missing_field_name_243 {
3295   struct list_head i_dentry ;
3296   struct rcu_head i_rcu ;
3297};
3298#line 761
3299struct file_operations;
3300#line 761
3301struct file_lock;
3302#line 761
3303struct cdev;
3304#line 761 "include/linux/fs.h"
3305union __anonunion____missing_field_name_244 {
3306   struct pipe_inode_info *i_pipe ;
3307   struct block_device *i_bdev ;
3308   struct cdev *i_cdev ;
3309};
3310#line 761 "include/linux/fs.h"
3311struct inode {
3312   umode_t i_mode ;
3313   unsigned short i_opflags ;
3314   uid_t i_uid ;
3315   gid_t i_gid ;
3316   unsigned int i_flags ;
3317   struct posix_acl *i_acl ;
3318   struct posix_acl *i_default_acl ;
3319   struct inode_operations  const  *i_op ;
3320   struct super_block *i_sb ;
3321   struct address_space *i_mapping ;
3322   void *i_security ;
3323   unsigned long i_ino ;
3324   union __anonunion____missing_field_name_242 __annonCompField44 ;
3325   dev_t i_rdev ;
3326   struct timespec i_atime ;
3327   struct timespec i_mtime ;
3328   struct timespec i_ctime ;
3329   spinlock_t i_lock ;
3330   unsigned short i_bytes ;
3331   blkcnt_t i_blocks ;
3332   loff_t i_size ;
3333   unsigned long i_state ;
3334   struct mutex i_mutex ;
3335   unsigned long dirtied_when ;
3336   struct hlist_node i_hash ;
3337   struct list_head i_wb_list ;
3338   struct list_head i_lru ;
3339   struct list_head i_sb_list ;
3340   union __anonunion____missing_field_name_243 __annonCompField45 ;
3341   atomic_t i_count ;
3342   unsigned int i_blkbits ;
3343   u64 i_version ;
3344   atomic_t i_dio_count ;
3345   atomic_t i_writecount ;
3346   struct file_operations  const  *i_fop ;
3347   struct file_lock *i_flock ;
3348   struct address_space i_data ;
3349   struct dquot *i_dquot[2] ;
3350   struct list_head i_devices ;
3351   union __anonunion____missing_field_name_244 __annonCompField46 ;
3352   __u32 i_generation ;
3353   __u32 i_fsnotify_mask ;
3354   struct hlist_head i_fsnotify_marks ;
3355   atomic_t i_readcount ;
3356   void *i_private ;
3357};
3358#line 942 "include/linux/fs.h"
3359struct fown_struct {
3360   rwlock_t lock ;
3361   struct pid *pid ;
3362   enum pid_type pid_type ;
3363   uid_t uid ;
3364   uid_t euid ;
3365   int signum ;
3366};
3367#line 953 "include/linux/fs.h"
3368struct file_ra_state {
3369   unsigned long start ;
3370   unsigned int size ;
3371   unsigned int async_size ;
3372   unsigned int ra_pages ;
3373   unsigned int mmap_miss ;
3374   loff_t prev_pos ;
3375};
3376#line 976 "include/linux/fs.h"
3377union __anonunion_f_u_245 {
3378   struct list_head fu_list ;
3379   struct rcu_head fu_rcuhead ;
3380};
3381#line 976 "include/linux/fs.h"
3382struct file {
3383   union __anonunion_f_u_245 f_u ;
3384   struct path f_path ;
3385   struct file_operations  const  *f_op ;
3386   spinlock_t f_lock ;
3387   int f_sb_list_cpu ;
3388   atomic_long_t f_count ;
3389   unsigned int f_flags ;
3390   fmode_t f_mode ;
3391   loff_t f_pos ;
3392   struct fown_struct f_owner ;
3393   struct cred  const  *f_cred ;
3394   struct file_ra_state f_ra ;
3395   u64 f_version ;
3396   void *f_security ;
3397   void *private_data ;
3398   struct list_head f_ep_links ;
3399   struct list_head f_tfile_llink ;
3400   struct address_space *f_mapping ;
3401   unsigned long f_mnt_write_state ;
3402};
3403#line 1111 "include/linux/fs.h"
3404typedef struct files_struct *fl_owner_t;
3405#line 1113 "include/linux/fs.h"
3406struct file_lock_operations {
3407   void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
3408   void (*fl_release_private)(struct file_lock * ) ;
3409};
3410#line 1118 "include/linux/fs.h"
3411struct lock_manager_operations {
3412   int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
3413   void (*lm_notify)(struct file_lock * ) ;
3414   int (*lm_grant)(struct file_lock * , struct file_lock * , int  ) ;
3415   void (*lm_release_private)(struct file_lock * ) ;
3416   void (*lm_break)(struct file_lock * ) ;
3417   int (*lm_change)(struct file_lock ** , int  ) ;
3418};
3419#line 4 "include/linux/nfs_fs_i.h"
3420struct nlm_lockowner;
3421#line 4
3422struct nlm_lockowner;
3423#line 9 "include/linux/nfs_fs_i.h"
3424struct nfs_lock_info {
3425   u32 state ;
3426   struct nlm_lockowner *owner ;
3427   struct list_head list ;
3428};
3429#line 15
3430struct nfs4_lock_state;
3431#line 15
3432struct nfs4_lock_state;
3433#line 16 "include/linux/nfs_fs_i.h"
3434struct nfs4_lock_info {
3435   struct nfs4_lock_state *owner ;
3436};
3437#line 1138 "include/linux/fs.h"
3438struct fasync_struct;
3439#line 1138 "include/linux/fs.h"
3440struct __anonstruct_afs_247 {
3441   struct list_head link ;
3442   int state ;
3443};
3444#line 1138 "include/linux/fs.h"
3445union __anonunion_fl_u_246 {
3446   struct nfs_lock_info nfs_fl ;
3447   struct nfs4_lock_info nfs4_fl ;
3448   struct __anonstruct_afs_247 afs ;
3449};
3450#line 1138 "include/linux/fs.h"
3451struct file_lock {
3452   struct file_lock *fl_next ;
3453   struct list_head fl_link ;
3454   struct list_head fl_block ;
3455   fl_owner_t fl_owner ;
3456   unsigned int fl_flags ;
3457   unsigned char fl_type ;
3458   unsigned int fl_pid ;
3459   struct pid *fl_nspid ;
3460   wait_queue_head_t fl_wait ;
3461   struct file *fl_file ;
3462   loff_t fl_start ;
3463   loff_t fl_end ;
3464   struct fasync_struct *fl_fasync ;
3465   unsigned long fl_break_time ;
3466   unsigned long fl_downgrade_time ;
3467   struct file_lock_operations  const  *fl_ops ;
3468   struct lock_manager_operations  const  *fl_lmops ;
3469   union __anonunion_fl_u_246 fl_u ;
3470};
3471#line 1378 "include/linux/fs.h"
3472struct fasync_struct {
3473   spinlock_t fa_lock ;
3474   int magic ;
3475   int fa_fd ;
3476   struct fasync_struct *fa_next ;
3477   struct file *fa_file ;
3478   struct rcu_head fa_rcu ;
3479};
3480#line 1418
3481struct file_system_type;
3482#line 1418
3483struct super_operations;
3484#line 1418
3485struct xattr_handler;
3486#line 1418
3487struct mtd_info;
3488#line 1418 "include/linux/fs.h"
3489struct super_block {
3490   struct list_head s_list ;
3491   dev_t s_dev ;
3492   unsigned char s_dirt ;
3493   unsigned char s_blocksize_bits ;
3494   unsigned long s_blocksize ;
3495   loff_t s_maxbytes ;
3496   struct file_system_type *s_type ;
3497   struct super_operations  const  *s_op ;
3498   struct dquot_operations  const  *dq_op ;
3499   struct quotactl_ops  const  *s_qcop ;
3500   struct export_operations  const  *s_export_op ;
3501   unsigned long s_flags ;
3502   unsigned long s_magic ;
3503   struct dentry *s_root ;
3504   struct rw_semaphore s_umount ;
3505   struct mutex s_lock ;
3506   int s_count ;
3507   atomic_t s_active ;
3508   void *s_security ;
3509   struct xattr_handler  const  **s_xattr ;
3510   struct list_head s_inodes ;
3511   struct hlist_bl_head s_anon ;
3512   struct list_head *s_files ;
3513   struct list_head s_mounts ;
3514   struct list_head s_dentry_lru ;
3515   int s_nr_dentry_unused ;
3516   spinlock_t s_inode_lru_lock  __attribute__((__aligned__((1) <<  (6) ))) ;
3517   struct list_head s_inode_lru ;
3518   int s_nr_inodes_unused ;
3519   struct block_device *s_bdev ;
3520   struct backing_dev_info *s_bdi ;
3521   struct mtd_info *s_mtd ;
3522   struct hlist_node s_instances ;
3523   struct quota_info s_dquot ;
3524   int s_frozen ;
3525   wait_queue_head_t s_wait_unfrozen ;
3526   char s_id[32] ;
3527   u8 s_uuid[16] ;
3528   void *s_fs_info ;
3529   unsigned int s_max_links ;
3530   fmode_t s_mode ;
3531   u32 s_time_gran ;
3532   struct mutex s_vfs_rename_mutex ;
3533   char *s_subtype ;
3534   char *s_options ;
3535   struct dentry_operations  const  *s_d_op ;
3536   int cleancache_poolid ;
3537   struct shrinker s_shrink ;
3538   atomic_long_t s_remove_count ;
3539   int s_readonly_remount ;
3540};
3541#line 1567 "include/linux/fs.h"
3542struct fiemap_extent_info {
3543   unsigned int fi_flags ;
3544   unsigned int fi_extents_mapped ;
3545   unsigned int fi_extents_max ;
3546   struct fiemap_extent *fi_extents_start ;
3547};
3548#line 1609 "include/linux/fs.h"
3549struct file_operations {
3550   struct module *owner ;
3551   loff_t (*llseek)(struct file * , loff_t  , int  ) ;
3552   ssize_t (*read)(struct file * , char * , size_t  , loff_t * ) ;
3553   ssize_t (*write)(struct file * , char const   * , size_t  , loff_t * ) ;
3554   ssize_t (*aio_read)(struct kiocb * , struct iovec  const  * , unsigned long  ,
3555                       loff_t  ) ;
3556   ssize_t (*aio_write)(struct kiocb * , struct iovec  const  * , unsigned long  ,
3557                        loff_t  ) ;
3558   int (*readdir)(struct file * , void * , int (*)(void * , char const   * , int  ,
3559                                                   loff_t  , u64  , unsigned int  ) ) ;
3560   unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
3561   long (*unlocked_ioctl)(struct file * , unsigned int  , unsigned long  ) ;
3562   long (*compat_ioctl)(struct file * , unsigned int  , unsigned long  ) ;
3563   int (*mmap)(struct file * , struct vm_area_struct * ) ;
3564   int (*open)(struct inode * , struct file * ) ;
3565   int (*flush)(struct file * , fl_owner_t id ) ;
3566   int (*release)(struct inode * , struct file * ) ;
3567   int (*fsync)(struct file * , loff_t  , loff_t  , int datasync ) ;
3568   int (*aio_fsync)(struct kiocb * , int datasync ) ;
3569   int (*fasync)(int  , struct file * , int  ) ;
3570   int (*lock)(struct file * , int  , struct file_lock * ) ;
3571   ssize_t (*sendpage)(struct file * , struct page * , int  , size_t  , loff_t * ,
3572                       int  ) ;
3573   unsigned long (*get_unmapped_area)(struct file * , unsigned long  , unsigned long  ,
3574                                      unsigned long  , unsigned long  ) ;
3575   int (*check_flags)(int  ) ;
3576   int (*flock)(struct file * , int  , struct file_lock * ) ;
3577   ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t  ,
3578                           unsigned int  ) ;
3579   ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t  ,
3580                          unsigned int  ) ;
3581   int (*setlease)(struct file * , long  , struct file_lock ** ) ;
3582   long (*fallocate)(struct file *file , int mode , loff_t offset , loff_t len ) ;
3583};
3584#line 1639 "include/linux/fs.h"
3585struct inode_operations {
3586   struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
3587   void *(*follow_link)(struct dentry * , struct nameidata * ) ;
3588   int (*permission)(struct inode * , int  ) ;
3589   struct posix_acl *(*get_acl)(struct inode * , int  ) ;
3590   int (*readlink)(struct dentry * , char * , int  ) ;
3591   void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
3592   int (*create)(struct inode * , struct dentry * , umode_t  , struct nameidata * ) ;
3593   int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
3594   int (*unlink)(struct inode * , struct dentry * ) ;
3595   int (*symlink)(struct inode * , struct dentry * , char const   * ) ;
3596   int (*mkdir)(struct inode * , struct dentry * , umode_t  ) ;
3597   int (*rmdir)(struct inode * , struct dentry * ) ;
3598   int (*mknod)(struct inode * , struct dentry * , umode_t  , dev_t  ) ;
3599   int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
3600   void (*truncate)(struct inode * ) ;
3601   int (*setattr)(struct dentry * , struct iattr * ) ;
3602   int (*getattr)(struct vfsmount *mnt , struct dentry * , struct kstat * ) ;
3603   int (*setxattr)(struct dentry * , char const   * , void const   * , size_t  , int  ) ;
3604   ssize_t (*getxattr)(struct dentry * , char const   * , void * , size_t  ) ;
3605   ssize_t (*listxattr)(struct dentry * , char * , size_t  ) ;
3606   int (*removexattr)(struct dentry * , char const   * ) ;
3607   void (*truncate_range)(struct inode * , loff_t  , loff_t  ) ;
3608   int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 start , u64 len ) ;
3609} __attribute__((__aligned__((1) <<  (6) ))) ;
3610#line 1669
3611struct seq_file;
3612#line 1684 "include/linux/fs.h"
3613struct super_operations {
3614   struct inode *(*alloc_inode)(struct super_block *sb ) ;
3615   void (*destroy_inode)(struct inode * ) ;
3616   void (*dirty_inode)(struct inode * , int flags ) ;
3617   int (*write_inode)(struct inode * , struct writeback_control *wbc ) ;
3618   int (*drop_inode)(struct inode * ) ;
3619   void (*evict_inode)(struct inode * ) ;
3620   void (*put_super)(struct super_block * ) ;
3621   void (*write_super)(struct super_block * ) ;
3622   int (*sync_fs)(struct super_block *sb , int wait ) ;
3623   int (*freeze_fs)(struct super_block * ) ;
3624   int (*unfreeze_fs)(struct super_block * ) ;
3625   int (*statfs)(struct dentry * , struct kstatfs * ) ;
3626   int (*remount_fs)(struct super_block * , int * , char * ) ;
3627   void (*umount_begin)(struct super_block * ) ;
3628   int (*show_options)(struct seq_file * , struct dentry * ) ;
3629   int (*show_devname)(struct seq_file * , struct dentry * ) ;
3630   int (*show_path)(struct seq_file * , struct dentry * ) ;
3631   int (*show_stats)(struct seq_file * , struct dentry * ) ;
3632   ssize_t (*quota_read)(struct super_block * , int  , char * , size_t  , loff_t  ) ;
3633   ssize_t (*quota_write)(struct super_block * , int  , char const   * , size_t  ,
3634                          loff_t  ) ;
3635   int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t  ) ;
3636   int (*nr_cached_objects)(struct super_block * ) ;
3637   void (*free_cached_objects)(struct super_block * , int  ) ;
3638};
3639#line 1835 "include/linux/fs.h"
3640struct file_system_type {
3641   char const   *name ;
3642   int fs_flags ;
3643   struct dentry *(*mount)(struct file_system_type * , int  , char const   * , void * ) ;
3644   void (*kill_sb)(struct super_block * ) ;
3645   struct module *owner ;
3646   struct file_system_type *next ;
3647   struct hlist_head fs_supers ;
3648   struct lock_class_key s_lock_key ;
3649   struct lock_class_key s_umount_key ;
3650   struct lock_class_key s_vfs_rename_key ;
3651   struct lock_class_key i_lock_key ;
3652   struct lock_class_key i_mutex_key ;
3653   struct lock_class_key i_mutex_dir_key ;
3654};
3655#line 94 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess.h"
3656struct exception_table_entry {
3657   unsigned long insn ;
3658   unsigned long fixup ;
3659};
3660#line 28 "include/linux/poll.h"
3661struct poll_table_struct;
3662#line 39 "include/linux/poll.h"
3663struct poll_table_struct {
3664   void (*_qproc)(struct file * , wait_queue_head_t * , struct poll_table_struct * ) ;
3665   unsigned long _key ;
3666};
3667#line 57 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvbdev.h"
3668struct dvb_frontend;
3669#line 57
3670struct dvb_frontend;
3671#line 59
3672struct dvb_device;
3673#line 59 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvbdev.h"
3674struct dvb_adapter {
3675   int num ;
3676   struct list_head list_head ;
3677   struct list_head device_list ;
3678   char const   *name ;
3679   u8 proposed_mac[6] ;
3680   void *priv ;
3681   struct device *device ;
3682   struct module *module ;
3683   int mfe_shared ;
3684   struct dvb_device *mfe_dvbdev ;
3685   struct mutex mfe_lock ;
3686   int (*fe_ioctl_override)(struct dvb_frontend *fe , unsigned int cmd , void *parg ,
3687                            unsigned int stage ) ;
3688};
3689#line 103 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvbdev.h"
3690struct dvb_device {
3691   struct list_head list_head ;
3692   struct file_operations  const  *fops ;
3693   struct dvb_adapter *adapter ;
3694   int type ;
3695   int minor ;
3696   u32 id ;
3697   int readers ;
3698   int writers ;
3699   int users ;
3700   wait_queue_head_t wait_queue ;
3701   int (*kernel_ioctl)(struct file *file , unsigned int cmd , void *arg ) ;
3702   void *priv ;
3703};
3704#line 51 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvb_frontend.h"
3705struct dvb_frontend_tune_settings {
3706   int min_delay_ms ;
3707   int step_size ;
3708   int max_drift ;
3709};
3710#line 57
3711struct dvb_frontend;
3712#line 59 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvb_frontend.h"
3713struct dvb_tuner_info {
3714   char name[128] ;
3715   u32 frequency_min ;
3716   u32 frequency_max ;
3717   u32 frequency_step ;
3718   u32 bandwidth_min ;
3719   u32 bandwidth_max ;
3720   u32 bandwidth_step ;
3721};
3722#line 71 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvb_frontend.h"
3723struct analog_parameters {
3724   unsigned int frequency ;
3725   unsigned int mode ;
3726   unsigned int audmode ;
3727   u64 std ;
3728};
3729#line 114
3730enum tuner_param {
3731    DVBFE_TUNER_FREQUENCY = 1,
3732    DVBFE_TUNER_TUNERSTEP = 2,
3733    DVBFE_TUNER_IFFREQ = 4,
3734    DVBFE_TUNER_BANDWIDTH = 8,
3735    DVBFE_TUNER_REFCLOCK = 16,
3736    DVBFE_TUNER_IQSENSE = 32,
3737    DVBFE_TUNER_DUMMY = (-0x7FFFFFFF-1)
3738} ;
3739#line 149
3740enum dvbfe_algo {
3741    DVBFE_ALGO_HW = 1,
3742    DVBFE_ALGO_SW = 2,
3743    DVBFE_ALGO_CUSTOM = 4,
3744    DVBFE_ALGO_RECOVERY = (-0x7FFFFFFF-1)
3745} ;
3746#line 156 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvb_frontend.h"
3747struct tuner_state {
3748   u32 frequency ;
3749   u32 tunerstep ;
3750   u32 ifreq ;
3751   u32 bandwidth ;
3752   u32 iqsense ;
3753   u32 refclock ;
3754};
3755#line 187
3756enum dvbfe_search {
3757    DVBFE_ALGO_SEARCH_SUCCESS = 1,
3758    DVBFE_ALGO_SEARCH_ASLEEP = 2,
3759    DVBFE_ALGO_SEARCH_FAILED = 4,
3760    DVBFE_ALGO_SEARCH_INVALID = 8,
3761    DVBFE_ALGO_SEARCH_AGAIN = 16,
3762    DVBFE_ALGO_SEARCH_ERROR = (-0x7FFFFFFF-1)
3763} ;
3764#line 197 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvb_frontend.h"
3765struct dvb_tuner_ops {
3766   struct dvb_tuner_info info ;
3767   int (*release)(struct dvb_frontend *fe ) ;
3768   int (*init)(struct dvb_frontend *fe ) ;
3769   int (*sleep)(struct dvb_frontend *fe ) ;
3770   int (*set_params)(struct dvb_frontend *fe ) ;
3771   int (*set_analog_params)(struct dvb_frontend *fe , struct analog_parameters *p ) ;
3772   int (*calc_regs)(struct dvb_frontend *fe , u8 *buf , int buf_len ) ;
3773   int (*set_config)(struct dvb_frontend *fe , void *priv_cfg ) ;
3774   int (*get_frequency)(struct dvb_frontend *fe , u32 *frequency ) ;
3775   int (*get_bandwidth)(struct dvb_frontend *fe , u32 *bandwidth ) ;
3776   int (*get_if_frequency)(struct dvb_frontend *fe , u32 *frequency ) ;
3777   int (*get_status)(struct dvb_frontend *fe , u32 *status ) ;
3778   int (*get_rf_strength)(struct dvb_frontend *fe , u16 *strength ) ;
3779   int (*set_frequency)(struct dvb_frontend *fe , u32 frequency ) ;
3780   int (*set_bandwidth)(struct dvb_frontend *fe , u32 bandwidth ) ;
3781   int (*set_state)(struct dvb_frontend *fe , enum tuner_param param , struct tuner_state *state ) ;
3782   int (*get_state)(struct dvb_frontend *fe , enum tuner_param param , struct tuner_state *state ) ;
3783};
3784#line 237 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvb_frontend.h"
3785struct analog_demod_info {
3786   char *name ;
3787};
3788#line 241 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvb_frontend.h"
3789struct analog_demod_ops {
3790   struct analog_demod_info info ;
3791   void (*set_params)(struct dvb_frontend *fe , struct analog_parameters *params ) ;
3792   int (*has_signal)(struct dvb_frontend *fe ) ;
3793   int (*get_afc)(struct dvb_frontend *fe ) ;
3794   void (*tuner_status)(struct dvb_frontend *fe ) ;
3795   void (*standby)(struct dvb_frontend *fe ) ;
3796   void (*release)(struct dvb_frontend *fe ) ;
3797   int (*i2c_gate_ctrl)(struct dvb_frontend *fe , int enable ) ;
3798   int (*set_config)(struct dvb_frontend *fe , void *priv_cfg ) ;
3799};
3800#line 258
3801struct dtv_frontend_properties;
3802#line 258
3803struct dtv_frontend_properties;
3804#line 260 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvb_frontend.h"
3805struct dvb_frontend_ops {
3806   struct dvb_frontend_info info ;
3807   u8 delsys[8] ;
3808   void (*release)(struct dvb_frontend *fe ) ;
3809   void (*release_sec)(struct dvb_frontend *fe ) ;
3810   int (*init)(struct dvb_frontend *fe ) ;
3811   int (*sleep)(struct dvb_frontend *fe ) ;
3812   int (*write)(struct dvb_frontend *fe , u8 const   *buf , int len ) ;
3813   int (*tune)(struct dvb_frontend *fe , bool re_tune , unsigned int mode_flags ,
3814               unsigned int *delay , fe_status_t *status ) ;
3815   enum dvbfe_algo (*get_frontend_algo)(struct dvb_frontend *fe ) ;
3816   int (*set_frontend)(struct dvb_frontend *fe ) ;
3817   int (*get_tune_settings)(struct dvb_frontend *fe , struct dvb_frontend_tune_settings *settings ) ;
3818   int (*get_frontend)(struct dvb_frontend *fe ) ;
3819   int (*read_status)(struct dvb_frontend *fe , fe_status_t *status ) ;
3820   int (*read_ber)(struct dvb_frontend *fe , u32 *ber ) ;
3821   int (*read_signal_strength)(struct dvb_frontend *fe , u16 *strength ) ;
3822   int (*read_snr)(struct dvb_frontend *fe , u16 *snr ) ;
3823   int (*read_ucblocks)(struct dvb_frontend *fe , u32 *ucblocks ) ;
3824   int (*diseqc_reset_overload)(struct dvb_frontend *fe ) ;
3825   int (*diseqc_send_master_cmd)(struct dvb_frontend *fe , struct dvb_diseqc_master_cmd *cmd ) ;
3826   int (*diseqc_recv_slave_reply)(struct dvb_frontend *fe , struct dvb_diseqc_slave_reply *reply ) ;
3827   int (*diseqc_send_burst)(struct dvb_frontend *fe , fe_sec_mini_cmd_t minicmd ) ;
3828   int (*set_tone)(struct dvb_frontend *fe , fe_sec_tone_mode_t tone ) ;
3829   int (*set_voltage)(struct dvb_frontend *fe , fe_sec_voltage_t voltage ) ;
3830   int (*enable_high_lnb_voltage)(struct dvb_frontend *fe , long arg ) ;
3831   int (*dishnetwork_send_legacy_command)(struct dvb_frontend *fe , unsigned long cmd ) ;
3832   int (*i2c_gate_ctrl)(struct dvb_frontend *fe , int enable ) ;
3833   int (*ts_bus_ctrl)(struct dvb_frontend *fe , int acquire ) ;
3834   enum dvbfe_search (*search)(struct dvb_frontend *fe ) ;
3835   struct dvb_tuner_ops tuner_ops ;
3836   struct analog_demod_ops analog_ops ;
3837   int (*set_property)(struct dvb_frontend *fe , struct dtv_property *tvp ) ;
3838   int (*get_property)(struct dvb_frontend *fe , struct dtv_property *tvp ) ;
3839};
3840#line 331 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvb_frontend.h"
3841struct __anonstruct_layer_251 {
3842   u8 segment_count ;
3843   fe_code_rate_t fec ;
3844   fe_modulation_t modulation ;
3845   u8 interleaving ;
3846};
3847#line 331 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvb_frontend.h"
3848struct dtv_frontend_properties {
3849   u32 state ;
3850   u32 frequency ;
3851   fe_modulation_t modulation ;
3852   fe_sec_voltage_t voltage ;
3853   fe_sec_tone_mode_t sectone ;
3854   fe_spectral_inversion_t inversion ;
3855   fe_code_rate_t fec_inner ;
3856   fe_transmit_mode_t transmission_mode ;
3857   u32 bandwidth_hz ;
3858   fe_guard_interval_t guard_interval ;
3859   fe_hierarchy_t hierarchy ;
3860   u32 symbol_rate ;
3861   fe_code_rate_t code_rate_HP ;
3862   fe_code_rate_t code_rate_LP ;
3863   fe_pilot_t pilot ;
3864   fe_rolloff_t rolloff ;
3865   fe_delivery_system_t delivery_system ;
3866   u8 isdbt_partial_reception ;
3867   u8 isdbt_sb_mode ;
3868   u8 isdbt_sb_subchannel ;
3869   u32 isdbt_sb_segment_idx ;
3870   u32 isdbt_sb_segment_count ;
3871   u8 isdbt_layer_enabled ;
3872   struct __anonstruct_layer_251 layer[3] ;
3873   u32 isdbs_ts_id ;
3874   u32 dvbt2_plp_id ;
3875};
3876#line 377 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/dvb-core/dvb_frontend.h"
3877struct dvb_frontend {
3878   struct dvb_frontend_ops ops ;
3879   struct dvb_adapter *dvb ;
3880   void *demodulator_priv ;
3881   void *tuner_priv ;
3882   void *frontend_priv ;
3883   void *sec_priv ;
3884   void *analog_demod_priv ;
3885   struct dtv_frontend_properties dtv_property_cache ;
3886   int (*callback)(void *adapter_priv , int component , int cmd , int arg ) ;
3887   int id ;
3888};
3889#line 25 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/common/tuners/mt2060.h"
3890struct dvb_frontend;
3891#line 26
3892struct i2c_adapter;
3893#line 28 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/common/tuners/mt2060.h"
3894struct mt2060_config {
3895   u8 i2c_address ;
3896   u8 clock_out ;
3897};
3898#line 95 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/common/tuners/mt2060_priv.h"
3899struct mt2060_priv {
3900   struct mt2060_config *cfg ;
3901   struct i2c_adapter *i2c ;
3902   u32 frequency ;
3903   u16 if1_freq ;
3904   u8 fmfreq ;
3905};
3906#line 1 "<compiler builtins>"
3907
3908#line 1
3909long __builtin_expect(long val , long res ) ;
3910#line 100 "include/linux/printk.h"
3911extern int ( /* format attribute */  printk)(char const   *fmt  , ...) ;
3912#line 34 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/string_64.h"
3913extern void *__memcpy(void *to , void const   *from , size_t len ) ;
3914#line 152 "include/linux/mutex.h"
3915void mutex_lock(struct mutex *lock ) ;
3916#line 153
3917int __attribute__((__warn_unused_result__))  mutex_lock_interruptible(struct mutex *lock ) ;
3918#line 154
3919int __attribute__((__warn_unused_result__))  mutex_lock_killable(struct mutex *lock ) ;
3920#line 168
3921int mutex_trylock(struct mutex *lock ) ;
3922#line 169
3923void mutex_unlock(struct mutex *lock ) ;
3924#line 170
3925int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock ) ;
3926#line 356 "include/linux/moduleparam.h"
3927extern struct kernel_param_ops param_ops_int ;
3928#line 46 "include/linux/delay.h"
3929extern void msleep(unsigned int msecs ) ;
3930#line 69 "include/linux/i2c.h"
3931extern int i2c_transfer(struct i2c_adapter *adap , struct i2c_msg *msgs , int num ) ;
3932#line 161 "include/linux/slab.h"
3933extern void kfree(void const   * ) ;
3934#line 221 "include/linux/slub_def.h"
3935extern void *__kmalloc(size_t size , gfp_t flags ) ;
3936#line 268
3937__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
3938                                                                    gfp_t flags )  __attribute__((__no_instrument_function__)) ;
3939#line 268 "include/linux/slub_def.h"
3940__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
3941                                                                    gfp_t flags ) 
3942{ void *tmp___10 ;
3943
3944  {
3945  {
3946#line 283
3947  tmp___10 = __kmalloc(size, flags);
3948  }
3949#line 283
3950  return (tmp___10);
3951}
3952}
3953#line 349 "include/linux/slab.h"
3954__inline static void *kzalloc(size_t size , gfp_t flags )  __attribute__((__no_instrument_function__)) ;
3955#line 349 "include/linux/slab.h"
3956__inline static void *kzalloc(size_t size , gfp_t flags ) 
3957{ void *tmp___7 ;
3958  unsigned int __cil_tmp4 ;
3959
3960  {
3961  {
3962#line 351
3963  __cil_tmp4 = flags | 32768U;
3964#line 351
3965  tmp___7 = kmalloc(size, __cil_tmp4);
3966  }
3967#line 351
3968  return (tmp___7);
3969}
3970}
3971#line 34 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/common/tuners/mt2060.h"
3972struct dvb_frontend *mt2060_attach(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
3973                                   struct mt2060_config *cfg , u16 if1 ) ;
3974#line 36 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
3975static int debug  ;
3976#line 37 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
3977static char const   __param_str_debug[6]  = {      (char const   )'d',      (char const   )'e',      (char const   )'b',      (char const   )'u', 
3978        (char const   )'g',      (char const   )'\000'};
3979#line 37 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
3980static struct kernel_param  const  __param_debug  __attribute__((__used__, __unused__,
3981__section__("__param"), __aligned__(sizeof(void *))))  =    {__param_str_debug, (struct kernel_param_ops  const  *)(& param_ops_int), (u16 )420,
3982    (s16 )0, {(void *)(& debug)}};
3983#line 37 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
3984static char const   __mod_debugtype37[19]  __attribute__((__used__, __unused__, __section__(".modinfo"),
3985__aligned__(1)))  = 
3986#line 37
3987  {      (char const   )'p',      (char const   )'a',      (char const   )'r',      (char const   )'m', 
3988        (char const   )'t',      (char const   )'y',      (char const   )'p',      (char const   )'e', 
3989        (char const   )'=',      (char const   )'d',      (char const   )'e',      (char const   )'b', 
3990        (char const   )'u',      (char const   )'g',      (char const   )':',      (char const   )'i', 
3991        (char const   )'n',      (char const   )'t',      (char const   )'\000'};
3992#line 38 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
3993static char const   __mod_debug38[48]  __attribute__((__used__, __unused__, __section__(".modinfo"),
3994__aligned__(1)))  = 
3995#line 38
3996  {      (char const   )'p',      (char const   )'a',      (char const   )'r',      (char const   )'m', 
3997        (char const   )'=',      (char const   )'d',      (char const   )'e',      (char const   )'b', 
3998        (char const   )'u',      (char const   )'g',      (char const   )':',      (char const   )'T', 
3999        (char const   )'u',      (char const   )'r',      (char const   )'n',      (char const   )' ', 
4000        (char const   )'o',      (char const   )'n',      (char const   )'/',      (char const   )'o', 
4001        (char const   )'f',      (char const   )'f',      (char const   )' ',      (char const   )'d', 
4002        (char const   )'e',      (char const   )'b',      (char const   )'u',      (char const   )'g', 
4003        (char const   )'g',      (char const   )'i',      (char const   )'n',      (char const   )'g', 
4004        (char const   )' ',      (char const   )'(',      (char const   )'d',      (char const   )'e', 
4005        (char const   )'f',      (char const   )'a',      (char const   )'u',      (char const   )'l', 
4006        (char const   )'t',      (char const   )':',      (char const   )'o',      (char const   )'f', 
4007        (char const   )'f',      (char const   )')',      (char const   )'.',      (char const   )'\000'};
4008#line 43 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
4009static int mt2060_readreg(struct mt2060_priv *priv , u8 reg , u8 *val ) 
4010{ struct i2c_msg msg[2] ;
4011  int tmp___7 ;
4012  unsigned long __cil_tmp6 ;
4013  unsigned long __cil_tmp7 ;
4014  struct mt2060_config *__cil_tmp8 ;
4015  u8 __cil_tmp9 ;
4016  unsigned long __cil_tmp10 ;
4017  unsigned long __cil_tmp11 ;
4018  unsigned long __cil_tmp12 ;
4019  unsigned long __cil_tmp13 ;
4020  unsigned long __cil_tmp14 ;
4021  unsigned long __cil_tmp15 ;
4022  unsigned long __cil_tmp16 ;
4023  unsigned long __cil_tmp17 ;
4024  unsigned long __cil_tmp18 ;
4025  unsigned long __cil_tmp19 ;
4026  unsigned long __cil_tmp20 ;
4027  struct mt2060_config *__cil_tmp21 ;
4028  u8 __cil_tmp22 ;
4029  unsigned long __cil_tmp23 ;
4030  unsigned long __cil_tmp24 ;
4031  unsigned long __cil_tmp25 ;
4032  unsigned long __cil_tmp26 ;
4033  unsigned long __cil_tmp27 ;
4034  unsigned long __cil_tmp28 ;
4035  unsigned long __cil_tmp29 ;
4036  unsigned long __cil_tmp30 ;
4037  unsigned long __cil_tmp31 ;
4038  unsigned long __cil_tmp32 ;
4039  unsigned long __cil_tmp33 ;
4040  struct i2c_adapter *__cil_tmp34 ;
4041  unsigned long __cil_tmp35 ;
4042  unsigned long __cil_tmp36 ;
4043  struct i2c_msg *__cil_tmp37 ;
4044
4045  {
4046  {
4047#line 45
4048  __cil_tmp6 = 0 * 16UL;
4049#line 45
4050  __cil_tmp7 = (unsigned long )(msg) + __cil_tmp6;
4051#line 45
4052  __cil_tmp8 = *((struct mt2060_config **)priv);
4053#line 45
4054  __cil_tmp9 = *((u8 *)__cil_tmp8);
4055#line 45
4056  *((__u16 *)__cil_tmp7) = (__u16 )__cil_tmp9;
4057#line 45
4058  __cil_tmp10 = 0 * 16UL;
4059#line 45
4060  __cil_tmp11 = __cil_tmp10 + 2;
4061#line 45
4062  __cil_tmp12 = (unsigned long )(msg) + __cil_tmp11;
4063#line 45
4064  *((__u16 *)__cil_tmp12) = (__u16 )0;
4065#line 45
4066  __cil_tmp13 = 0 * 16UL;
4067#line 45
4068  __cil_tmp14 = __cil_tmp13 + 4;
4069#line 45
4070  __cil_tmp15 = (unsigned long )(msg) + __cil_tmp14;
4071#line 45
4072  *((__u16 *)__cil_tmp15) = (__u16 )1;
4073#line 45
4074  __cil_tmp16 = 0 * 16UL;
4075#line 45
4076  __cil_tmp17 = __cil_tmp16 + 8;
4077#line 45
4078  __cil_tmp18 = (unsigned long )(msg) + __cil_tmp17;
4079#line 45
4080  *((__u8 **)__cil_tmp18) = & reg;
4081#line 45
4082  __cil_tmp19 = 1 * 16UL;
4083#line 45
4084  __cil_tmp20 = (unsigned long )(msg) + __cil_tmp19;
4085#line 45
4086  __cil_tmp21 = *((struct mt2060_config **)priv);
4087#line 45
4088  __cil_tmp22 = *((u8 *)__cil_tmp21);
4089#line 45
4090  *((__u16 *)__cil_tmp20) = (__u16 )__cil_tmp22;
4091#line 45
4092  __cil_tmp23 = 1 * 16UL;
4093#line 45
4094  __cil_tmp24 = __cil_tmp23 + 2;
4095#line 45
4096  __cil_tmp25 = (unsigned long )(msg) + __cil_tmp24;
4097#line 45
4098  *((__u16 *)__cil_tmp25) = (__u16 )1;
4099#line 45
4100  __cil_tmp26 = 1 * 16UL;
4101#line 45
4102  __cil_tmp27 = __cil_tmp26 + 4;
4103#line 45
4104  __cil_tmp28 = (unsigned long )(msg) + __cil_tmp27;
4105#line 45
4106  *((__u16 *)__cil_tmp28) = (__u16 )1;
4107#line 45
4108  __cil_tmp29 = 1 * 16UL;
4109#line 45
4110  __cil_tmp30 = __cil_tmp29 + 8;
4111#line 45
4112  __cil_tmp31 = (unsigned long )(msg) + __cil_tmp30;
4113#line 45
4114  *((__u8 **)__cil_tmp31) = val;
4115#line 50
4116  __cil_tmp32 = (unsigned long )priv;
4117#line 50
4118  __cil_tmp33 = __cil_tmp32 + 8;
4119#line 50
4120  __cil_tmp34 = *((struct i2c_adapter **)__cil_tmp33);
4121#line 50
4122  __cil_tmp35 = 0 * 16UL;
4123#line 50
4124  __cil_tmp36 = (unsigned long )(msg) + __cil_tmp35;
4125#line 50
4126  __cil_tmp37 = (struct i2c_msg *)__cil_tmp36;
4127#line 50
4128  tmp___7 = i2c_transfer(__cil_tmp34, __cil_tmp37, 2);
4129  }
4130#line 50
4131  if (tmp___7 != 2) {
4132    {
4133#line 51
4134    printk("<4>mt2060 I2C read failed\n");
4135    }
4136#line 52
4137    return (-121);
4138  } else {
4139
4140  }
4141#line 54
4142  return (0);
4143}
4144}
4145#line 58 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
4146static int mt2060_writereg(struct mt2060_priv *priv , u8 reg , u8 val ) 
4147{ u8 buf[2] ;
4148  struct i2c_msg msg ;
4149  int tmp___7 ;
4150  unsigned long __cil_tmp7 ;
4151  unsigned long __cil_tmp8 ;
4152  unsigned long __cil_tmp9 ;
4153  unsigned long __cil_tmp10 ;
4154  struct i2c_msg *__cil_tmp11 ;
4155  struct mt2060_config *__cil_tmp12 ;
4156  u8 __cil_tmp13 ;
4157  unsigned long __cil_tmp14 ;
4158  unsigned long __cil_tmp15 ;
4159  unsigned long __cil_tmp16 ;
4160  unsigned long __cil_tmp17 ;
4161  unsigned long __cil_tmp18 ;
4162  unsigned long __cil_tmp19 ;
4163  unsigned long __cil_tmp20 ;
4164  struct i2c_adapter *__cil_tmp21 ;
4165
4166  {
4167  {
4168#line 60
4169  __cil_tmp7 = 0 * 1UL;
4170#line 60
4171  __cil_tmp8 = (unsigned long )(buf) + __cil_tmp7;
4172#line 60
4173  *((u8 *)__cil_tmp8) = reg;
4174#line 60
4175  __cil_tmp9 = 1 * 1UL;
4176#line 60
4177  __cil_tmp10 = (unsigned long )(buf) + __cil_tmp9;
4178#line 60
4179  *((u8 *)__cil_tmp10) = val;
4180#line 61
4181  __cil_tmp11 = & msg;
4182#line 61
4183  __cil_tmp12 = *((struct mt2060_config **)priv);
4184#line 61
4185  __cil_tmp13 = *((u8 *)__cil_tmp12);
4186#line 61
4187  *((__u16 *)__cil_tmp11) = (__u16 )__cil_tmp13;
4188#line 61
4189  __cil_tmp14 = (unsigned long )(& msg) + 2;
4190#line 61
4191  *((__u16 *)__cil_tmp14) = (__u16 )0;
4192#line 61
4193  __cil_tmp15 = (unsigned long )(& msg) + 4;
4194#line 61
4195  *((__u16 *)__cil_tmp15) = (__u16 )2;
4196#line 61
4197  __cil_tmp16 = (unsigned long )(& msg) + 8;
4198#line 61
4199  __cil_tmp17 = 0 * 1UL;
4200#line 61
4201  __cil_tmp18 = (unsigned long )(buf) + __cil_tmp17;
4202#line 61
4203  *((__u8 **)__cil_tmp16) = (u8 *)__cil_tmp18;
4204#line 65
4205  __cil_tmp19 = (unsigned long )priv;
4206#line 65
4207  __cil_tmp20 = __cil_tmp19 + 8;
4208#line 65
4209  __cil_tmp21 = *((struct i2c_adapter **)__cil_tmp20);
4210#line 65
4211  tmp___7 = i2c_transfer(__cil_tmp21, & msg, 1);
4212  }
4213#line 65
4214  if (tmp___7 != 1) {
4215    {
4216#line 66
4217    printk("<4>mt2060 I2C write failed\n");
4218    }
4219#line 67
4220    return (-121);
4221  } else {
4222
4223  }
4224#line 69
4225  return (0);
4226}
4227}
4228#line 73 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
4229static int mt2060_writeregs(struct mt2060_priv *priv , u8 *buf , u8 len ) 
4230{ struct i2c_msg msg ;
4231  int tmp___7 ;
4232  struct i2c_msg *__cil_tmp6 ;
4233  struct mt2060_config *__cil_tmp7 ;
4234  u8 __cil_tmp8 ;
4235  unsigned long __cil_tmp9 ;
4236  unsigned long __cil_tmp10 ;
4237  unsigned long __cil_tmp11 ;
4238  unsigned long __cil_tmp12 ;
4239  unsigned long __cil_tmp13 ;
4240  struct i2c_adapter *__cil_tmp14 ;
4241  int __cil_tmp15 ;
4242
4243  {
4244  {
4245#line 75
4246  __cil_tmp6 = & msg;
4247#line 75
4248  __cil_tmp7 = *((struct mt2060_config **)priv);
4249#line 75
4250  __cil_tmp8 = *((u8 *)__cil_tmp7);
4251#line 75
4252  *((__u16 *)__cil_tmp6) = (__u16 )__cil_tmp8;
4253#line 75
4254  __cil_tmp9 = (unsigned long )(& msg) + 2;
4255#line 75
4256  *((__u16 *)__cil_tmp9) = (__u16 )0;
4257#line 75
4258  __cil_tmp10 = (unsigned long )(& msg) + 4;
4259#line 75
4260  *((__u16 *)__cil_tmp10) = (__u16 )len;
4261#line 75
4262  __cil_tmp11 = (unsigned long )(& msg) + 8;
4263#line 75
4264  *((__u8 **)__cil_tmp11) = buf;
4265#line 78
4266  __cil_tmp12 = (unsigned long )priv;
4267#line 78
4268  __cil_tmp13 = __cil_tmp12 + 8;
4269#line 78
4270  __cil_tmp14 = *((struct i2c_adapter **)__cil_tmp13);
4271#line 78
4272  tmp___7 = i2c_transfer(__cil_tmp14, & msg, 1);
4273  }
4274#line 78
4275  if (tmp___7 != 1) {
4276    {
4277#line 79
4278    __cil_tmp15 = (int )len;
4279#line 79
4280    printk("<4>mt2060 I2C write failed (len=%i)\n", __cil_tmp15);
4281    }
4282#line 80
4283    return (-121);
4284  } else {
4285
4286  }
4287#line 82
4288  return (0);
4289}
4290}
4291#line 87 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
4292static u8 mt2060_config1[6]  = {      (u8 )1,      (u8 )63,      (u8 )116,      (u8 )0, 
4293        (u8 )8,      (u8 )147};
4294#line 93 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
4295static u8 mt2060_config2[10]  = 
4296#line 93
4297  {      (u8 )9,      (u8 )32,      (u8 )30,      (u8 )48, 
4298        (u8 )255,      (u8 )128,      (u8 )255,      (u8 )0, 
4299        (u8 )44,      (u8 )66};
4300#line 157 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
4301static int mt2060_set_params(struct dvb_frontend *fe ) 
4302{ struct dtv_frontend_properties *c ;
4303  struct mt2060_priv *priv ;
4304  int ret ;
4305  int i ;
4306  u32 freq ;
4307  u8 lnaband ;
4308  u32 f_lo1 ;
4309  u32 f_lo2 ;
4310  u32 div1 ;
4311  u32 num1 ;
4312  u32 div2 ;
4313  u32 num2 ;
4314  u8 b[8] ;
4315  u32 if1 ;
4316  unsigned long __cil_tmp16 ;
4317  unsigned long __cil_tmp17 ;
4318  unsigned long __cil_tmp18 ;
4319  unsigned long __cil_tmp19 ;
4320  void *__cil_tmp20 ;
4321  unsigned long __cil_tmp21 ;
4322  unsigned long __cil_tmp22 ;
4323  u16 __cil_tmp23 ;
4324  unsigned long __cil_tmp24 ;
4325  unsigned long __cil_tmp25 ;
4326  unsigned long __cil_tmp26 ;
4327  unsigned long __cil_tmp27 ;
4328  unsigned long __cil_tmp28 ;
4329  unsigned long __cil_tmp29 ;
4330  unsigned long __cil_tmp30 ;
4331  unsigned long __cil_tmp31 ;
4332  unsigned long __cil_tmp32 ;
4333  unsigned long __cil_tmp33 ;
4334  int (*__cil_tmp34)(struct dvb_frontend *fe , int enable ) ;
4335  unsigned long __cil_tmp35 ;
4336  unsigned long __cil_tmp36 ;
4337  u8 *__cil_tmp37 ;
4338  u8 __cil_tmp38 ;
4339  unsigned long __cil_tmp39 ;
4340  unsigned long __cil_tmp40 ;
4341  u32 __cil_tmp41 ;
4342  u32 __cil_tmp42 ;
4343  u32 __cil_tmp43 ;
4344  u32 __cil_tmp44 ;
4345  u32 __cil_tmp45 ;
4346  u32 __cil_tmp46 ;
4347  unsigned long __cil_tmp47 ;
4348  unsigned long __cil_tmp48 ;
4349  u32 __cil_tmp49 ;
4350  u32 __cil_tmp50 ;
4351  u32 __cil_tmp51 ;
4352  unsigned long __cil_tmp52 ;
4353  unsigned long __cil_tmp53 ;
4354  unsigned long __cil_tmp54 ;
4355  unsigned long __cil_tmp55 ;
4356  u32 __cil_tmp56 ;
4357  unsigned int __cil_tmp57 ;
4358  unsigned int __cil_tmp58 ;
4359  unsigned int __cil_tmp59 ;
4360  unsigned long __cil_tmp60 ;
4361  unsigned long __cil_tmp61 ;
4362  unsigned long __cil_tmp62 ;
4363  unsigned long __cil_tmp63 ;
4364  unsigned int __cil_tmp64 ;
4365  unsigned int __cil_tmp65 ;
4366  unsigned int __cil_tmp66 ;
4367  unsigned int __cil_tmp67 ;
4368  unsigned long __cil_tmp68 ;
4369  unsigned long __cil_tmp69 ;
4370  u32 __cil_tmp70 ;
4371  unsigned long __cil_tmp71 ;
4372  unsigned long __cil_tmp72 ;
4373  u32 __cil_tmp73 ;
4374  u32 __cil_tmp74 ;
4375  unsigned int __cil_tmp75 ;
4376  unsigned int __cil_tmp76 ;
4377  int *__cil_tmp77 ;
4378  int __cil_tmp78 ;
4379  int *__cil_tmp79 ;
4380  int __cil_tmp80 ;
4381  int __cil_tmp81 ;
4382  int __cil_tmp82 ;
4383  int *__cil_tmp83 ;
4384  int __cil_tmp84 ;
4385  int __cil_tmp85 ;
4386  int __cil_tmp86 ;
4387  int __cil_tmp87 ;
4388  int *__cil_tmp88 ;
4389  unsigned long __cil_tmp89 ;
4390  unsigned long __cil_tmp90 ;
4391  u8 __cil_tmp91 ;
4392  int __cil_tmp92 ;
4393  unsigned long __cil_tmp93 ;
4394  unsigned long __cil_tmp94 ;
4395  u8 __cil_tmp95 ;
4396  int __cil_tmp96 ;
4397  unsigned long __cil_tmp97 ;
4398  unsigned long __cil_tmp98 ;
4399  u8 __cil_tmp99 ;
4400  int __cil_tmp100 ;
4401  unsigned long __cil_tmp101 ;
4402  unsigned long __cil_tmp102 ;
4403  u8 __cil_tmp103 ;
4404  int __cil_tmp104 ;
4405  unsigned long __cil_tmp105 ;
4406  unsigned long __cil_tmp106 ;
4407  u8 __cil_tmp107 ;
4408  int __cil_tmp108 ;
4409  unsigned long __cil_tmp109 ;
4410  unsigned long __cil_tmp110 ;
4411  u8 *__cil_tmp111 ;
4412  u8 __cil_tmp112 ;
4413  u8 __cil_tmp113 ;
4414  unsigned long __cil_tmp114 ;
4415  unsigned long __cil_tmp115 ;
4416  u8 *__cil_tmp116 ;
4417  unsigned long __cil_tmp117 ;
4418  unsigned long __cil_tmp118 ;
4419  u8 __cil_tmp119 ;
4420  int __cil_tmp120 ;
4421  int __cil_tmp121 ;
4422  unsigned long __cil_tmp122 ;
4423  unsigned long __cil_tmp123 ;
4424  unsigned long __cil_tmp124 ;
4425  unsigned long __cil_tmp125 ;
4426  unsigned long __cil_tmp126 ;
4427  unsigned long __cil_tmp127 ;
4428  int (*__cil_tmp128)(struct dvb_frontend *fe , int enable ) ;
4429
4430  {
4431#line 159
4432  __cil_tmp16 = (unsigned long )fe;
4433#line 159
4434  __cil_tmp17 = __cil_tmp16 + 800;
4435#line 159
4436  c = (struct dtv_frontend_properties *)__cil_tmp17;
4437#line 161
4438  ret = 0;
4439#line 162
4440  i = 0;
4441#line 170
4442  __cil_tmp18 = (unsigned long )fe;
4443#line 170
4444  __cil_tmp19 = __cil_tmp18 + 768;
4445#line 170
4446  __cil_tmp20 = *((void **)__cil_tmp19);
4447#line 170
4448  priv = (struct mt2060_priv *)__cil_tmp20;
4449#line 172
4450  __cil_tmp21 = (unsigned long )priv;
4451#line 172
4452  __cil_tmp22 = __cil_tmp21 + 20;
4453#line 172
4454  __cil_tmp23 = *((u16 *)__cil_tmp22);
4455#line 172
4456  if1 = (u32 )__cil_tmp23;
4457#line 173
4458  __cil_tmp24 = 0 * 1UL;
4459#line 173
4460  __cil_tmp25 = (unsigned long )(b) + __cil_tmp24;
4461#line 173
4462  *((u8 *)__cil_tmp25) = (u8 )12;
4463#line 174
4464  __cil_tmp26 = 1 * 1UL;
4465#line 174
4466  __cil_tmp27 = (unsigned long )(b) + __cil_tmp26;
4467#line 174
4468  *((u8 *)__cil_tmp27) = (u8 )255;
4469  {
4470#line 176
4471  __cil_tmp28 = 0 + 360;
4472#line 176
4473  __cil_tmp29 = (unsigned long )fe;
4474#line 176
4475  __cil_tmp30 = __cil_tmp29 + __cil_tmp28;
4476#line 176
4477  if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp30)) {
4478    {
4479#line 177
4480    __cil_tmp31 = 0 + 360;
4481#line 177
4482    __cil_tmp32 = (unsigned long )fe;
4483#line 177
4484    __cil_tmp33 = __cil_tmp32 + __cil_tmp31;
4485#line 177
4486    __cil_tmp34 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp33);
4487#line 177
4488    (*__cil_tmp34)(fe, 1);
4489    }
4490  } else {
4491
4492  }
4493  }
4494  {
4495#line 179
4496  __cil_tmp35 = 0 * 1UL;
4497#line 179
4498  __cil_tmp36 = (unsigned long )(b) + __cil_tmp35;
4499#line 179
4500  __cil_tmp37 = (u8 *)__cil_tmp36;
4501#line 179
4502  __cil_tmp38 = (u8 )2;
4503#line 179
4504  mt2060_writeregs(priv, __cil_tmp37, __cil_tmp38);
4505#line 181
4506  __cil_tmp39 = (unsigned long )c;
4507#line 181
4508  __cil_tmp40 = __cil_tmp39 + 4;
4509#line 181
4510  __cil_tmp41 = *((u32 *)__cil_tmp40);
4511#line 181
4512  freq = __cil_tmp41 / 1000U;
4513#line 183
4514  __cil_tmp42 = if1 * 1000U;
4515#line 183
4516  f_lo1 = freq + __cil_tmp42;
4517#line 184
4518  __cil_tmp43 = f_lo1 / 250U;
4519#line 184
4520  f_lo1 = __cil_tmp43 * 250U;
4521#line 185
4522  __cil_tmp44 = f_lo1 - freq;
4523#line 185
4524  f_lo2 = __cil_tmp44 - 36150U;
4525#line 187
4526  __cil_tmp45 = f_lo2 + 25U;
4527#line 187
4528  __cil_tmp46 = __cil_tmp45 / 50U;
4529#line 187
4530  f_lo2 = __cil_tmp46 * 50U;
4531#line 188
4532  __cil_tmp47 = (unsigned long )priv;
4533#line 188
4534  __cil_tmp48 = __cil_tmp47 + 16;
4535#line 188
4536  __cil_tmp49 = f_lo1 - f_lo2;
4537#line 188
4538  __cil_tmp50 = __cil_tmp49 - 36150U;
4539#line 188
4540  *((u32 *)__cil_tmp48) = __cil_tmp50 * 1000U;
4541#line 188
4542  num1 = f_lo1 / 250U;
4543#line 198
4544  div1 = num1 / 64U;
4545#line 199
4546  num1 = num1 & 63U;
4547#line 202
4548  __cil_tmp51 = f_lo2 * 64U;
4549#line 202
4550  num2 = __cil_tmp51 / 125U;
4551#line 203
4552  div2 = num2 / 8192U;
4553#line 204
4554  num2 = num2 & 8191U;
4555  }
4556#line 206
4557  if (freq <= 95000U) {
4558#line 206
4559    lnaband = (u8 )176;
4560  } else
4561#line 207
4562  if (freq <= 180000U) {
4563#line 207
4564    lnaband = (u8 )160;
4565  } else
4566#line 208
4567  if (freq <= 260000U) {
4568#line 208
4569    lnaband = (u8 )144;
4570  } else
4571#line 209
4572  if (freq <= 335000U) {
4573#line 209
4574    lnaband = (u8 )128;
4575  } else
4576#line 210
4577  if (freq <= 425000U) {
4578#line 210
4579    lnaband = (u8 )112;
4580  } else
4581#line 211
4582  if (freq <= 480000U) {
4583#line 211
4584    lnaband = (u8 )96;
4585  } else
4586#line 212
4587  if (freq <= 570000U) {
4588#line 212
4589    lnaband = (u8 )80;
4590  } else
4591#line 213
4592  if (freq <= 645000U) {
4593#line 213
4594    lnaband = (u8 )64;
4595  } else
4596#line 214
4597  if (freq <= 730000U) {
4598#line 214
4599    lnaband = (u8 )48;
4600  } else
4601#line 215
4602  if (freq <= 810000U) {
4603#line 215
4604    lnaband = (u8 )32;
4605  } else {
4606#line 215
4607    lnaband = (u8 )16;
4608  }
4609#line 217
4610  __cil_tmp52 = 0 * 1UL;
4611#line 217
4612  __cil_tmp53 = (unsigned long )(b) + __cil_tmp52;
4613#line 217
4614  *((u8 *)__cil_tmp53) = (u8 )1;
4615#line 218
4616  __cil_tmp54 = 1 * 1UL;
4617#line 218
4618  __cil_tmp55 = (unsigned long )(b) + __cil_tmp54;
4619#line 218
4620  __cil_tmp56 = num1 >> 2;
4621#line 218
4622  __cil_tmp57 = __cil_tmp56 & 15U;
4623#line 218
4624  __cil_tmp58 = (unsigned int )lnaband;
4625#line 218
4626  __cil_tmp59 = __cil_tmp58 | __cil_tmp57;
4627#line 218
4628  *((u8 *)__cil_tmp55) = (u8 )__cil_tmp59;
4629#line 219
4630  __cil_tmp60 = 2 * 1UL;
4631#line 219
4632  __cil_tmp61 = (unsigned long )(b) + __cil_tmp60;
4633#line 219
4634  *((u8 *)__cil_tmp61) = (u8 )div1;
4635#line 220
4636  __cil_tmp62 = 3 * 1UL;
4637#line 220
4638  __cil_tmp63 = (unsigned long )(b) + __cil_tmp62;
4639#line 220
4640  __cil_tmp64 = num1 & 3U;
4641#line 220
4642  __cil_tmp65 = __cil_tmp64 << 4;
4643#line 220
4644  __cil_tmp66 = num2 & 15U;
4645#line 220
4646  __cil_tmp67 = __cil_tmp66 | __cil_tmp65;
4647#line 220
4648  *((u8 *)__cil_tmp63) = (u8 )__cil_tmp67;
4649#line 221
4650  __cil_tmp68 = 4 * 1UL;
4651#line 221
4652  __cil_tmp69 = (unsigned long )(b) + __cil_tmp68;
4653#line 221
4654  __cil_tmp70 = num2 >> 4;
4655#line 221
4656  *((u8 *)__cil_tmp69) = (u8 )__cil_tmp70;
4657#line 222
4658  __cil_tmp71 = 5 * 1UL;
4659#line 222
4660  __cil_tmp72 = (unsigned long )(b) + __cil_tmp71;
4661#line 222
4662  __cil_tmp73 = div2 << 1;
4663#line 222
4664  __cil_tmp74 = num2 >> 12;
4665#line 222
4666  __cil_tmp75 = __cil_tmp74 & 1U;
4667#line 222
4668  __cil_tmp76 = __cil_tmp75 | __cil_tmp73;
4669#line 222
4670  *((u8 *)__cil_tmp72) = (u8 )__cil_tmp76;
4671  {
4672#line 224
4673  while (1) {
4674    while_continue: /* CIL Label */ ;
4675    {
4676#line 224
4677    __cil_tmp77 = & debug;
4678#line 224
4679    if (*__cil_tmp77) {
4680      {
4681#line 224
4682      __cil_tmp78 = (int )if1;
4683#line 224
4684      printk("<7>MT2060: IF1: %dMHz", __cil_tmp78);
4685#line 224
4686      printk("\n");
4687      }
4688    } else {
4689
4690    }
4691    }
4692#line 224
4693    goto while_break;
4694  }
4695  while_break: /* CIL Label */ ;
4696  }
4697  {
4698#line 225
4699  while (1) {
4700    while_continue___0: /* CIL Label */ ;
4701    {
4702#line 225
4703    __cil_tmp79 = & debug;
4704#line 225
4705    if (*__cil_tmp79) {
4706      {
4707#line 225
4708      __cil_tmp80 = (int )freq;
4709#line 225
4710      __cil_tmp81 = (int )f_lo1;
4711#line 225
4712      __cil_tmp82 = (int )f_lo2;
4713#line 225
4714      printk("<7>MT2060: PLL freq=%dkHz  f_lo1=%dkHz  f_lo2=%dkHz", __cil_tmp80, __cil_tmp81,
4715             __cil_tmp82);
4716#line 225
4717      printk("\n");
4718      }
4719    } else {
4720
4721    }
4722    }
4723#line 225
4724    goto while_break___0;
4725  }
4726  while_break___0: /* CIL Label */ ;
4727  }
4728  {
4729#line 226
4730  while (1) {
4731    while_continue___1: /* CIL Label */ ;
4732    {
4733#line 226
4734    __cil_tmp83 = & debug;
4735#line 226
4736    if (*__cil_tmp83) {
4737      {
4738#line 226
4739      __cil_tmp84 = (int )div1;
4740#line 226
4741      __cil_tmp85 = (int )num1;
4742#line 226
4743      __cil_tmp86 = (int )div2;
4744#line 226
4745      __cil_tmp87 = (int )num2;
4746#line 226
4747      printk("<7>MT2060: PLL div1=%d  num1=%d  div2=%d  num2=%d", __cil_tmp84, __cil_tmp85,
4748             __cil_tmp86, __cil_tmp87);
4749#line 226
4750      printk("\n");
4751      }
4752    } else {
4753
4754    }
4755    }
4756#line 226
4757    goto while_break___1;
4758  }
4759  while_break___1: /* CIL Label */ ;
4760  }
4761  {
4762#line 227
4763  while (1) {
4764    while_continue___2: /* CIL Label */ ;
4765    {
4766#line 227
4767    __cil_tmp88 = & debug;
4768#line 227
4769    if (*__cil_tmp88) {
4770      {
4771#line 227
4772      __cil_tmp89 = 1 * 1UL;
4773#line 227
4774      __cil_tmp90 = (unsigned long )(b) + __cil_tmp89;
4775#line 227
4776      __cil_tmp91 = *((u8 *)__cil_tmp90);
4777#line 227
4778      __cil_tmp92 = (int )__cil_tmp91;
4779#line 227
4780      __cil_tmp93 = 2 * 1UL;
4781#line 227
4782      __cil_tmp94 = (unsigned long )(b) + __cil_tmp93;
4783#line 227
4784      __cil_tmp95 = *((u8 *)__cil_tmp94);
4785#line 227
4786      __cil_tmp96 = (int )__cil_tmp95;
4787#line 227
4788      __cil_tmp97 = 3 * 1UL;
4789#line 227
4790      __cil_tmp98 = (unsigned long )(b) + __cil_tmp97;
4791#line 227
4792      __cil_tmp99 = *((u8 *)__cil_tmp98);
4793#line 227
4794      __cil_tmp100 = (int )__cil_tmp99;
4795#line 227
4796      __cil_tmp101 = 4 * 1UL;
4797#line 227
4798      __cil_tmp102 = (unsigned long )(b) + __cil_tmp101;
4799#line 227
4800      __cil_tmp103 = *((u8 *)__cil_tmp102);
4801#line 227
4802      __cil_tmp104 = (int )__cil_tmp103;
4803#line 227
4804      __cil_tmp105 = 5 * 1UL;
4805#line 227
4806      __cil_tmp106 = (unsigned long )(b) + __cil_tmp105;
4807#line 227
4808      __cil_tmp107 = *((u8 *)__cil_tmp106);
4809#line 227
4810      __cil_tmp108 = (int )__cil_tmp107;
4811#line 227
4812      printk("<7>MT2060: PLL [1..5]: %2x %2x %2x %2x %2x", __cil_tmp92, __cil_tmp96,
4813             __cil_tmp100, __cil_tmp104, __cil_tmp108);
4814#line 227
4815      printk("\n");
4816      }
4817    } else {
4818
4819    }
4820    }
4821#line 227
4822    goto while_break___2;
4823  }
4824  while_break___2: /* CIL Label */ ;
4825  }
4826  {
4827#line 229
4828  __cil_tmp109 = 0 * 1UL;
4829#line 229
4830  __cil_tmp110 = (unsigned long )(b) + __cil_tmp109;
4831#line 229
4832  __cil_tmp111 = (u8 *)__cil_tmp110;
4833#line 229
4834  __cil_tmp112 = (u8 )6;
4835#line 229
4836  mt2060_writeregs(priv, __cil_tmp111, __cil_tmp112);
4837#line 232
4838  i = 0;
4839  }
4840  {
4841#line 233
4842  while (1) {
4843    while_continue___3: /* CIL Label */ ;
4844    {
4845#line 234
4846    __cil_tmp113 = (u8 )6;
4847#line 234
4848    __cil_tmp114 = 0 * 1UL;
4849#line 234
4850    __cil_tmp115 = (unsigned long )(b) + __cil_tmp114;
4851#line 234
4852    __cil_tmp116 = (u8 *)__cil_tmp115;
4853#line 234
4854    mt2060_readreg(priv, __cil_tmp113, __cil_tmp116);
4855    }
4856    {
4857#line 235
4858    __cil_tmp117 = 0 * 1UL;
4859#line 235
4860    __cil_tmp118 = (unsigned long )(b) + __cil_tmp117;
4861#line 235
4862    __cil_tmp119 = *((u8 *)__cil_tmp118);
4863#line 235
4864    __cil_tmp120 = (int )__cil_tmp119;
4865#line 235
4866    __cil_tmp121 = __cil_tmp120 & 136;
4867#line 235
4868    if (__cil_tmp121 == 136) {
4869#line 236
4870      goto while_break___3;
4871    } else {
4872
4873    }
4874    }
4875    {
4876#line 237
4877    msleep(4U);
4878#line 238
4879    i = i + 1;
4880    }
4881#line 233
4882    if (i < 10) {
4883
4884    } else {
4885#line 233
4886      goto while_break___3;
4887    }
4888  }
4889  while_break___3: /* CIL Label */ ;
4890  }
4891  {
4892#line 241
4893  __cil_tmp122 = 0 + 360;
4894#line 241
4895  __cil_tmp123 = (unsigned long )fe;
4896#line 241
4897  __cil_tmp124 = __cil_tmp123 + __cil_tmp122;
4898#line 241
4899  if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp124)) {
4900    {
4901#line 242
4902    __cil_tmp125 = 0 + 360;
4903#line 242
4904    __cil_tmp126 = (unsigned long )fe;
4905#line 242
4906    __cil_tmp127 = __cil_tmp126 + __cil_tmp125;
4907#line 242
4908    __cil_tmp128 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp127);
4909#line 242
4910    (*__cil_tmp128)(fe, 0);
4911    }
4912  } else {
4913
4914  }
4915  }
4916#line 244
4917  return (ret);
4918}
4919}
4920#line 247 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
4921static void mt2060_calibrate(struct mt2060_priv *priv ) 
4922{ u8 b ;
4923  int i ;
4924  int tmp___7 ;
4925  int tmp___8 ;
4926  int tmp___9 ;
4927  int tmp___10 ;
4928  u8 *__cil_tmp8 ;
4929  unsigned long __cil_tmp9 ;
4930  unsigned long __cil_tmp10 ;
4931  u8 *__cil_tmp11 ;
4932  u8 __cil_tmp12 ;
4933  unsigned long __cil_tmp13 ;
4934  unsigned long __cil_tmp14 ;
4935  u8 *__cil_tmp15 ;
4936  u8 __cil_tmp16 ;
4937  u8 __cil_tmp17 ;
4938  struct mt2060_config *__cil_tmp18 ;
4939  unsigned long __cil_tmp19 ;
4940  unsigned long __cil_tmp20 ;
4941  u8 __cil_tmp21 ;
4942  int __cil_tmp22 ;
4943  int __cil_tmp23 ;
4944  int __cil_tmp24 ;
4945  u8 __cil_tmp25 ;
4946  u8 *__cil_tmp26 ;
4947  int __cil_tmp27 ;
4948  u8 *__cil_tmp28 ;
4949  u8 __cil_tmp29 ;
4950  int __cil_tmp30 ;
4951  int __cil_tmp31 ;
4952  u8 __cil_tmp32 ;
4953  u8 *__cil_tmp33 ;
4954  u8 __cil_tmp34 ;
4955  u8 *__cil_tmp35 ;
4956  int __cil_tmp36 ;
4957  u8 *__cil_tmp37 ;
4958  u8 __cil_tmp38 ;
4959  int __cil_tmp39 ;
4960  int __cil_tmp40 ;
4961  u8 __cil_tmp41 ;
4962  u8 *__cil_tmp42 ;
4963  u8 __cil_tmp43 ;
4964  u8 *__cil_tmp44 ;
4965  int __cil_tmp45 ;
4966  int __cil_tmp46 ;
4967  u8 *__cil_tmp47 ;
4968  u8 __cil_tmp48 ;
4969  int __cil_tmp49 ;
4970  int __cil_tmp50 ;
4971  u8 *__cil_tmp51 ;
4972  int __cil_tmp52 ;
4973  int __cil_tmp53 ;
4974  u8 *__cil_tmp54 ;
4975  u8 __cil_tmp55 ;
4976  int __cil_tmp56 ;
4977  int __cil_tmp57 ;
4978  u8 __cil_tmp58 ;
4979  u8 *__cil_tmp59 ;
4980  u8 __cil_tmp60 ;
4981  u8 __cil_tmp61 ;
4982  int __cil_tmp62 ;
4983  u8 *__cil_tmp63 ;
4984  u8 __cil_tmp64 ;
4985  int __cil_tmp65 ;
4986  int __cil_tmp66 ;
4987  u8 __cil_tmp67 ;
4988  unsigned long __cil_tmp68 ;
4989  unsigned long __cil_tmp69 ;
4990  u8 *__cil_tmp70 ;
4991  int *__cil_tmp71 ;
4992  unsigned long __cil_tmp72 ;
4993  unsigned long __cil_tmp73 ;
4994  u8 __cil_tmp74 ;
4995  int __cil_tmp75 ;
4996  int *__cil_tmp76 ;
4997
4998  {
4999  {
5000#line 249
5001  __cil_tmp8 = & b;
5002#line 249
5003  *__cil_tmp8 = (u8 )0;
5004#line 250
5005  i = 0;
5006#line 252
5007  __cil_tmp9 = 0 * 1UL;
5008#line 252
5009  __cil_tmp10 = (unsigned long )(mt2060_config1) + __cil_tmp9;
5010#line 252
5011  __cil_tmp11 = (u8 *)__cil_tmp10;
5012#line 252
5013  __cil_tmp12 = (u8 )6UL;
5014#line 252
5015  tmp___7 = mt2060_writeregs(priv, __cil_tmp11, __cil_tmp12);
5016  }
5017#line 252
5018  if (tmp___7) {
5019#line 253
5020    return;
5021  } else {
5022
5023  }
5024  {
5025#line 254
5026  __cil_tmp13 = 0 * 1UL;
5027#line 254
5028  __cil_tmp14 = (unsigned long )(mt2060_config2) + __cil_tmp13;
5029#line 254
5030  __cil_tmp15 = (u8 *)__cil_tmp14;
5031#line 254
5032  __cil_tmp16 = (u8 )10UL;
5033#line 254
5034  tmp___8 = mt2060_writeregs(priv, __cil_tmp15, __cil_tmp16);
5035  }
5036#line 254
5037  if (tmp___8) {
5038#line 255
5039    return;
5040  } else {
5041
5042  }
5043  {
5044#line 258
5045  __cil_tmp17 = (u8 )11;
5046#line 258
5047  __cil_tmp18 = *((struct mt2060_config **)priv);
5048#line 258
5049  __cil_tmp19 = (unsigned long )__cil_tmp18;
5050#line 258
5051  __cil_tmp20 = __cil_tmp19 + 1;
5052#line 258
5053  __cil_tmp21 = *((u8 *)__cil_tmp20);
5054#line 258
5055  __cil_tmp22 = (int )__cil_tmp21;
5056#line 258
5057  __cil_tmp23 = __cil_tmp22 << 6;
5058#line 258
5059  __cil_tmp24 = __cil_tmp23 | 48;
5060#line 258
5061  __cil_tmp25 = (u8 )__cil_tmp24;
5062#line 258
5063  mt2060_writereg(priv, __cil_tmp17, __cil_tmp25);
5064  }
5065  {
5066#line 260
5067  while (1) {
5068    while_continue: /* CIL Label */ ;
5069    {
5070#line 261
5071    __cil_tmp26 = & b;
5072#line 261
5073    __cil_tmp27 = 1 << 6;
5074#line 261
5075    __cil_tmp28 = & b;
5076#line 261
5077    __cil_tmp29 = *__cil_tmp28;
5078#line 261
5079    __cil_tmp30 = (int )__cil_tmp29;
5080#line 261
5081    __cil_tmp31 = __cil_tmp30 | __cil_tmp27;
5082#line 261
5083    *__cil_tmp26 = (u8 )__cil_tmp31;
5084#line 262
5085    __cil_tmp32 = (u8 )3;
5086#line 262
5087    __cil_tmp33 = & b;
5088#line 262
5089    __cil_tmp34 = *__cil_tmp33;
5090#line 262
5091    mt2060_writereg(priv, __cil_tmp32, __cil_tmp34);
5092#line 263
5093    msleep(20U);
5094    }
5095#line 265
5096    if (i == 0) {
5097      {
5098#line 266
5099      __cil_tmp35 = & b;
5100#line 266
5101      __cil_tmp36 = 1 << 7;
5102#line 266
5103      __cil_tmp37 = & b;
5104#line 266
5105      __cil_tmp38 = *__cil_tmp37;
5106#line 266
5107      __cil_tmp39 = (int )__cil_tmp38;
5108#line 266
5109      __cil_tmp40 = __cil_tmp39 | __cil_tmp36;
5110#line 266
5111      *__cil_tmp35 = (u8 )__cil_tmp40;
5112#line 267
5113      __cil_tmp41 = (u8 )3;
5114#line 267
5115      __cil_tmp42 = & b;
5116#line 267
5117      __cil_tmp43 = *__cil_tmp42;
5118#line 267
5119      mt2060_writereg(priv, __cil_tmp41, __cil_tmp43);
5120#line 268
5121      __cil_tmp44 = & b;
5122#line 268
5123      __cil_tmp45 = 1 << 7;
5124#line 268
5125      __cil_tmp46 = ~ __cil_tmp45;
5126#line 268
5127      __cil_tmp47 = & b;
5128#line 268
5129      __cil_tmp48 = *__cil_tmp47;
5130#line 268
5131      __cil_tmp49 = (int )__cil_tmp48;
5132#line 268
5133      __cil_tmp50 = __cil_tmp49 & __cil_tmp46;
5134#line 268
5135      *__cil_tmp44 = (u8 )__cil_tmp50;
5136#line 269
5137      msleep(20U);
5138      }
5139    } else {
5140
5141    }
5142    {
5143#line 272
5144    __cil_tmp51 = & b;
5145#line 272
5146    __cil_tmp52 = 1 << 6;
5147#line 272
5148    __cil_tmp53 = ~ __cil_tmp52;
5149#line 272
5150    __cil_tmp54 = & b;
5151#line 272
5152    __cil_tmp55 = *__cil_tmp54;
5153#line 272
5154    __cil_tmp56 = (int )__cil_tmp55;
5155#line 272
5156    __cil_tmp57 = __cil_tmp56 & __cil_tmp53;
5157#line 272
5158    *__cil_tmp51 = (u8 )__cil_tmp57;
5159#line 273
5160    __cil_tmp58 = (u8 )3;
5161#line 273
5162    __cil_tmp59 = & b;
5163#line 273
5164    __cil_tmp60 = *__cil_tmp59;
5165#line 273
5166    mt2060_writereg(priv, __cil_tmp58, __cil_tmp60);
5167#line 275
5168    msleep(20U);
5169#line 276
5170    i = i + 1;
5171    }
5172#line 260
5173    if (i < 9) {
5174
5175    } else {
5176#line 260
5177      goto while_break;
5178    }
5179  }
5180  while_break: /* CIL Label */ ;
5181  }
5182#line 279
5183  i = 0;
5184  {
5185#line 280
5186  while (1) {
5187    while_continue___0: /* CIL Label */ ;
5188#line 280
5189    tmp___9 = i;
5190#line 280
5191    i = i + 1;
5192#line 280
5193    if (tmp___9 < 10) {
5194      {
5195#line 280
5196      __cil_tmp61 = (u8 )8;
5197#line 280
5198      tmp___10 = mt2060_readreg(priv, __cil_tmp61, & b);
5199      }
5200#line 280
5201      if (tmp___10 == 0) {
5202        {
5203#line 280
5204        __cil_tmp62 = 1 << 6;
5205#line 280
5206        __cil_tmp63 = & b;
5207#line 280
5208        __cil_tmp64 = *__cil_tmp63;
5209#line 280
5210        __cil_tmp65 = (int )__cil_tmp64;
5211#line 280
5212        __cil_tmp66 = __cil_tmp65 & __cil_tmp62;
5213#line 280
5214        if (__cil_tmp66 == 0) {
5215
5216        } else {
5217#line 280
5218          goto while_break___0;
5219        }
5220        }
5221      } else {
5222#line 280
5223        goto while_break___0;
5224      }
5225    } else {
5226#line 280
5227      goto while_break___0;
5228    }
5229    {
5230#line 281
5231    msleep(20U);
5232    }
5233  }
5234  while_break___0: /* CIL Label */ ;
5235  }
5236#line 283
5237  if (i <= 10) {
5238    {
5239#line 284
5240    __cil_tmp67 = (u8 )7;
5241#line 284
5242    __cil_tmp68 = (unsigned long )priv;
5243#line 284
5244    __cil_tmp69 = __cil_tmp68 + 22;
5245#line 284
5246    __cil_tmp70 = (u8 *)__cil_tmp69;
5247#line 284
5248    mt2060_readreg(priv, __cil_tmp67, __cil_tmp70);
5249    }
5250    {
5251#line 285
5252    while (1) {
5253      while_continue___1: /* CIL Label */ ;
5254      {
5255#line 285
5256      __cil_tmp71 = & debug;
5257#line 285
5258      if (*__cil_tmp71) {
5259        {
5260#line 285
5261        __cil_tmp72 = (unsigned long )priv;
5262#line 285
5263        __cil_tmp73 = __cil_tmp72 + 22;
5264#line 285
5265        __cil_tmp74 = *((u8 *)__cil_tmp73);
5266#line 285
5267        __cil_tmp75 = (int )__cil_tmp74;
5268#line 285
5269        printk("<7>MT2060: calibration was successful: %d", __cil_tmp75);
5270#line 285
5271        printk("\n");
5272        }
5273      } else {
5274
5275      }
5276      }
5277#line 285
5278      goto while_break___1;
5279    }
5280    while_break___1: /* CIL Label */ ;
5281    }
5282  } else {
5283    {
5284#line 287
5285    while (1) {
5286      while_continue___2: /* CIL Label */ ;
5287      {
5288#line 287
5289      __cil_tmp76 = & debug;
5290#line 287
5291      if (*__cil_tmp76) {
5292        {
5293#line 287
5294        printk("<7>MT2060: FMCAL timed out");
5295#line 287
5296        printk("\n");
5297        }
5298      } else {
5299
5300      }
5301      }
5302#line 287
5303      goto while_break___2;
5304    }
5305    while_break___2: /* CIL Label */ ;
5306    }
5307  }
5308#line 288
5309  return;
5310}
5311}
5312#line 290 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5313static int mt2060_get_frequency(struct dvb_frontend *fe , u32 *frequency ) 
5314{ struct mt2060_priv *priv ;
5315  unsigned long __cil_tmp4 ;
5316  unsigned long __cil_tmp5 ;
5317  void *__cil_tmp6 ;
5318  unsigned long __cil_tmp7 ;
5319  unsigned long __cil_tmp8 ;
5320
5321  {
5322#line 292
5323  __cil_tmp4 = (unsigned long )fe;
5324#line 292
5325  __cil_tmp5 = __cil_tmp4 + 768;
5326#line 292
5327  __cil_tmp6 = *((void **)__cil_tmp5);
5328#line 292
5329  priv = (struct mt2060_priv *)__cil_tmp6;
5330#line 293
5331  __cil_tmp7 = (unsigned long )priv;
5332#line 293
5333  __cil_tmp8 = __cil_tmp7 + 16;
5334#line 293
5335  *frequency = *((u32 *)__cil_tmp8);
5336#line 294
5337  return (0);
5338}
5339}
5340#line 297 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5341static int mt2060_get_if_frequency(struct dvb_frontend *fe , u32 *frequency ) 
5342{ 
5343
5344  {
5345#line 299
5346  *frequency = (u32 )36150000;
5347#line 300
5348  return (0);
5349}
5350}
5351#line 303 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5352static int mt2060_init(struct dvb_frontend *fe ) 
5353{ struct mt2060_priv *priv ;
5354  int ret ;
5355  unsigned long __cil_tmp4 ;
5356  unsigned long __cil_tmp5 ;
5357  void *__cil_tmp6 ;
5358  unsigned long __cil_tmp7 ;
5359  unsigned long __cil_tmp8 ;
5360  unsigned long __cil_tmp9 ;
5361  unsigned long __cil_tmp10 ;
5362  unsigned long __cil_tmp11 ;
5363  unsigned long __cil_tmp12 ;
5364  int (*__cil_tmp13)(struct dvb_frontend *fe , int enable ) ;
5365  u8 __cil_tmp14 ;
5366  struct mt2060_config *__cil_tmp15 ;
5367  unsigned long __cil_tmp16 ;
5368  unsigned long __cil_tmp17 ;
5369  u8 __cil_tmp18 ;
5370  int __cil_tmp19 ;
5371  int __cil_tmp20 ;
5372  int __cil_tmp21 ;
5373  u8 __cil_tmp22 ;
5374  unsigned long __cil_tmp23 ;
5375  unsigned long __cil_tmp24 ;
5376  unsigned long __cil_tmp25 ;
5377  unsigned long __cil_tmp26 ;
5378  unsigned long __cil_tmp27 ;
5379  unsigned long __cil_tmp28 ;
5380  int (*__cil_tmp29)(struct dvb_frontend *fe , int enable ) ;
5381
5382  {
5383#line 305
5384  __cil_tmp4 = (unsigned long )fe;
5385#line 305
5386  __cil_tmp5 = __cil_tmp4 + 768;
5387#line 305
5388  __cil_tmp6 = *((void **)__cil_tmp5);
5389#line 305
5390  priv = (struct mt2060_priv *)__cil_tmp6;
5391  {
5392#line 308
5393  __cil_tmp7 = 0 + 360;
5394#line 308
5395  __cil_tmp8 = (unsigned long )fe;
5396#line 308
5397  __cil_tmp9 = __cil_tmp8 + __cil_tmp7;
5398#line 308
5399  if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp9)) {
5400    {
5401#line 309
5402    __cil_tmp10 = 0 + 360;
5403#line 309
5404    __cil_tmp11 = (unsigned long )fe;
5405#line 309
5406    __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
5407#line 309
5408    __cil_tmp13 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp12);
5409#line 309
5410    (*__cil_tmp13)(fe, 1);
5411    }
5412  } else {
5413
5414  }
5415  }
5416  {
5417#line 311
5418  __cil_tmp14 = (u8 )11;
5419#line 311
5420  __cil_tmp15 = *((struct mt2060_config **)priv);
5421#line 311
5422  __cil_tmp16 = (unsigned long )__cil_tmp15;
5423#line 311
5424  __cil_tmp17 = __cil_tmp16 + 1;
5425#line 311
5426  __cil_tmp18 = *((u8 *)__cil_tmp17);
5427#line 311
5428  __cil_tmp19 = (int )__cil_tmp18;
5429#line 311
5430  __cil_tmp20 = __cil_tmp19 << 6;
5431#line 311
5432  __cil_tmp21 = __cil_tmp20 | 51;
5433#line 311
5434  __cil_tmp22 = (u8 )__cil_tmp21;
5435#line 311
5436  ret = mt2060_writereg(priv, __cil_tmp14, __cil_tmp22);
5437  }
5438  {
5439#line 314
5440  __cil_tmp23 = 0 + 360;
5441#line 314
5442  __cil_tmp24 = (unsigned long )fe;
5443#line 314
5444  __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
5445#line 314
5446  if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp25)) {
5447    {
5448#line 315
5449    __cil_tmp26 = 0 + 360;
5450#line 315
5451    __cil_tmp27 = (unsigned long )fe;
5452#line 315
5453    __cil_tmp28 = __cil_tmp27 + __cil_tmp26;
5454#line 315
5455    __cil_tmp29 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp28);
5456#line 315
5457    (*__cil_tmp29)(fe, 0);
5458    }
5459  } else {
5460
5461  }
5462  }
5463#line 317
5464  return (ret);
5465}
5466}
5467#line 320 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5468static int mt2060_sleep(struct dvb_frontend *fe ) 
5469{ struct mt2060_priv *priv ;
5470  int ret ;
5471  unsigned long __cil_tmp4 ;
5472  unsigned long __cil_tmp5 ;
5473  void *__cil_tmp6 ;
5474  unsigned long __cil_tmp7 ;
5475  unsigned long __cil_tmp8 ;
5476  unsigned long __cil_tmp9 ;
5477  unsigned long __cil_tmp10 ;
5478  unsigned long __cil_tmp11 ;
5479  unsigned long __cil_tmp12 ;
5480  int (*__cil_tmp13)(struct dvb_frontend *fe , int enable ) ;
5481  u8 __cil_tmp14 ;
5482  struct mt2060_config *__cil_tmp15 ;
5483  unsigned long __cil_tmp16 ;
5484  unsigned long __cil_tmp17 ;
5485  u8 __cil_tmp18 ;
5486  int __cil_tmp19 ;
5487  int __cil_tmp20 ;
5488  int __cil_tmp21 ;
5489  u8 __cil_tmp22 ;
5490  unsigned long __cil_tmp23 ;
5491  unsigned long __cil_tmp24 ;
5492  unsigned long __cil_tmp25 ;
5493  unsigned long __cil_tmp26 ;
5494  unsigned long __cil_tmp27 ;
5495  unsigned long __cil_tmp28 ;
5496  int (*__cil_tmp29)(struct dvb_frontend *fe , int enable ) ;
5497
5498  {
5499#line 322
5500  __cil_tmp4 = (unsigned long )fe;
5501#line 322
5502  __cil_tmp5 = __cil_tmp4 + 768;
5503#line 322
5504  __cil_tmp6 = *((void **)__cil_tmp5);
5505#line 322
5506  priv = (struct mt2060_priv *)__cil_tmp6;
5507  {
5508#line 325
5509  __cil_tmp7 = 0 + 360;
5510#line 325
5511  __cil_tmp8 = (unsigned long )fe;
5512#line 325
5513  __cil_tmp9 = __cil_tmp8 + __cil_tmp7;
5514#line 325
5515  if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp9)) {
5516    {
5517#line 326
5518    __cil_tmp10 = 0 + 360;
5519#line 326
5520    __cil_tmp11 = (unsigned long )fe;
5521#line 326
5522    __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
5523#line 326
5524    __cil_tmp13 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp12);
5525#line 326
5526    (*__cil_tmp13)(fe, 1);
5527    }
5528  } else {
5529
5530  }
5531  }
5532  {
5533#line 328
5534  __cil_tmp14 = (u8 )11;
5535#line 328
5536  __cil_tmp15 = *((struct mt2060_config **)priv);
5537#line 328
5538  __cil_tmp16 = (unsigned long )__cil_tmp15;
5539#line 328
5540  __cil_tmp17 = __cil_tmp16 + 1;
5541#line 328
5542  __cil_tmp18 = *((u8 *)__cil_tmp17);
5543#line 328
5544  __cil_tmp19 = (int )__cil_tmp18;
5545#line 328
5546  __cil_tmp20 = __cil_tmp19 << 6;
5547#line 328
5548  __cil_tmp21 = __cil_tmp20 | 48;
5549#line 328
5550  __cil_tmp22 = (u8 )__cil_tmp21;
5551#line 328
5552  ret = mt2060_writereg(priv, __cil_tmp14, __cil_tmp22);
5553  }
5554  {
5555#line 331
5556  __cil_tmp23 = 0 + 360;
5557#line 331
5558  __cil_tmp24 = (unsigned long )fe;
5559#line 331
5560  __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
5561#line 331
5562  if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp25)) {
5563    {
5564#line 332
5565    __cil_tmp26 = 0 + 360;
5566#line 332
5567    __cil_tmp27 = (unsigned long )fe;
5568#line 332
5569    __cil_tmp28 = __cil_tmp27 + __cil_tmp26;
5570#line 332
5571    __cil_tmp29 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp28);
5572#line 332
5573    (*__cil_tmp29)(fe, 0);
5574    }
5575  } else {
5576
5577  }
5578  }
5579#line 334
5580  return (ret);
5581}
5582}
5583#line 337 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5584static int mt2060_release(struct dvb_frontend *fe ) 
5585{ unsigned long __cil_tmp2 ;
5586  unsigned long __cil_tmp3 ;
5587  void *__cil_tmp4 ;
5588  void const   *__cil_tmp5 ;
5589  unsigned long __cil_tmp6 ;
5590  unsigned long __cil_tmp7 ;
5591
5592  {
5593  {
5594#line 339
5595  __cil_tmp2 = (unsigned long )fe;
5596#line 339
5597  __cil_tmp3 = __cil_tmp2 + 768;
5598#line 339
5599  __cil_tmp4 = *((void **)__cil_tmp3);
5600#line 339
5601  __cil_tmp5 = (void const   *)__cil_tmp4;
5602#line 339
5603  kfree(__cil_tmp5);
5604#line 340
5605  __cil_tmp6 = (unsigned long )fe;
5606#line 340
5607  __cil_tmp7 = __cil_tmp6 + 768;
5608#line 340
5609  *((void **)__cil_tmp7) = (void *)0;
5610  }
5611#line 341
5612  return (0);
5613}
5614}
5615#line 344 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5616static struct dvb_tuner_ops  const  mt2060_tuner_ops  = 
5617#line 344
5618     {{{(char )'M', (char )'i', (char )'c', (char )'r', (char )'o', (char )'t', (char )'u',
5619      (char )'n', (char )'e', (char )' ', (char )'M', (char )'T', (char )'2', (char )'0',
5620      (char )'6', (char )'0', (char )'\000'}, (u32 )48000000, (u32 )860000000, (u32 )50000,
5621     0U, 0U, 0U}, & mt2060_release, & mt2060_init, & mt2060_sleep, & mt2060_set_params,
5622    (int (*)(struct dvb_frontend *fe , struct analog_parameters *p ))0, (int (*)(struct dvb_frontend *fe ,
5623                                                                                 u8 *buf ,
5624                                                                                 int buf_len ))0,
5625    (int (*)(struct dvb_frontend *fe , void *priv_cfg ))0, & mt2060_get_frequency,
5626    (int (*)(struct dvb_frontend *fe , u32 *bandwidth ))0, & mt2060_get_if_frequency,
5627    (int (*)(struct dvb_frontend *fe , u32 *status ))0, (int (*)(struct dvb_frontend *fe ,
5628                                                                 u16 *strength ))0,
5629    (int (*)(struct dvb_frontend *fe , u32 frequency ))0, (int (*)(struct dvb_frontend *fe ,
5630                                                                   u32 bandwidth ))0,
5631    (int (*)(struct dvb_frontend *fe , enum tuner_param param , struct tuner_state *state ))0,
5632    (int (*)(struct dvb_frontend *fe , enum tuner_param param , struct tuner_state *state ))0};
5633#line 363 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5634struct dvb_frontend *mt2060_attach(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
5635                                   struct mt2060_config *cfg , u16 if1 ) 
5636{ struct mt2060_priv *priv ;
5637  u8 id ;
5638  void *tmp___7 ;
5639  int tmp___8 ;
5640  size_t __len ;
5641  void *__ret ;
5642  void *__cil_tmp11 ;
5643  u8 *__cil_tmp12 ;
5644  void *__cil_tmp13 ;
5645  unsigned long __cil_tmp14 ;
5646  unsigned long __cil_tmp15 ;
5647  void *__cil_tmp16 ;
5648  unsigned long __cil_tmp17 ;
5649  unsigned long __cil_tmp18 ;
5650  unsigned long __cil_tmp19 ;
5651  unsigned long __cil_tmp20 ;
5652  unsigned long __cil_tmp21 ;
5653  unsigned long __cil_tmp22 ;
5654  unsigned long __cil_tmp23 ;
5655  unsigned long __cil_tmp24 ;
5656  unsigned long __cil_tmp25 ;
5657  unsigned long __cil_tmp26 ;
5658  int (*__cil_tmp27)(struct dvb_frontend *fe , int enable ) ;
5659  u8 __cil_tmp28 ;
5660  void const   *__cil_tmp29 ;
5661  void *__cil_tmp30 ;
5662  u8 *__cil_tmp31 ;
5663  u8 __cil_tmp32 ;
5664  int __cil_tmp33 ;
5665  void const   *__cil_tmp34 ;
5666  void *__cil_tmp35 ;
5667  int __cil_tmp36 ;
5668  unsigned long __cil_tmp37 ;
5669  unsigned long __cil_tmp38 ;
5670  unsigned long __cil_tmp39 ;
5671  struct dvb_tuner_ops *__cil_tmp40 ;
5672  void *__cil_tmp41 ;
5673  void const   *__cil_tmp42 ;
5674  unsigned long __cil_tmp43 ;
5675  unsigned long __cil_tmp44 ;
5676  unsigned long __cil_tmp45 ;
5677  struct dvb_tuner_ops *__cil_tmp46 ;
5678  void *__cil_tmp47 ;
5679  void const   *__cil_tmp48 ;
5680  unsigned long __cil_tmp49 ;
5681  unsigned long __cil_tmp50 ;
5682  unsigned long __cil_tmp51 ;
5683  unsigned long __cil_tmp52 ;
5684  unsigned long __cil_tmp53 ;
5685  unsigned long __cil_tmp54 ;
5686  unsigned long __cil_tmp55 ;
5687  unsigned long __cil_tmp56 ;
5688  int (*__cil_tmp57)(struct dvb_frontend *fe , int enable ) ;
5689
5690  {
5691  {
5692#line 365
5693  __cil_tmp11 = (void *)0;
5694#line 365
5695  priv = (struct mt2060_priv *)__cil_tmp11;
5696#line 366
5697  __cil_tmp12 = & id;
5698#line 366
5699  *__cil_tmp12 = (u8 )0;
5700#line 368
5701  tmp___7 = kzalloc(24UL, 208U);
5702#line 368
5703  priv = (struct mt2060_priv *)tmp___7;
5704  }
5705  {
5706#line 369
5707  __cil_tmp13 = (void *)0;
5708#line 369
5709  __cil_tmp14 = (unsigned long )__cil_tmp13;
5710#line 369
5711  __cil_tmp15 = (unsigned long )priv;
5712#line 369
5713  if (__cil_tmp15 == __cil_tmp14) {
5714    {
5715#line 370
5716    __cil_tmp16 = (void *)0;
5717#line 370
5718    return ((struct dvb_frontend *)__cil_tmp16);
5719    }
5720  } else {
5721
5722  }
5723  }
5724#line 372
5725  *((struct mt2060_config **)priv) = cfg;
5726#line 373
5727  __cil_tmp17 = (unsigned long )priv;
5728#line 373
5729  __cil_tmp18 = __cil_tmp17 + 8;
5730#line 373
5731  *((struct i2c_adapter **)__cil_tmp18) = i2c;
5732#line 374
5733  __cil_tmp19 = (unsigned long )priv;
5734#line 374
5735  __cil_tmp20 = __cil_tmp19 + 20;
5736#line 374
5737  *((u16 *)__cil_tmp20) = if1;
5738  {
5739#line 376
5740  __cil_tmp21 = 0 + 360;
5741#line 376
5742  __cil_tmp22 = (unsigned long )fe;
5743#line 376
5744  __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
5745#line 376
5746  if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp23)) {
5747    {
5748#line 377
5749    __cil_tmp24 = 0 + 360;
5750#line 377
5751    __cil_tmp25 = (unsigned long )fe;
5752#line 377
5753    __cil_tmp26 = __cil_tmp25 + __cil_tmp24;
5754#line 377
5755    __cil_tmp27 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp26);
5756#line 377
5757    (*__cil_tmp27)(fe, 1);
5758    }
5759  } else {
5760
5761  }
5762  }
5763  {
5764#line 379
5765  __cil_tmp28 = (u8 )0;
5766#line 379
5767  tmp___8 = mt2060_readreg(priv, __cil_tmp28, & id);
5768  }
5769#line 379
5770  if (tmp___8 != 0) {
5771    {
5772#line 380
5773    __cil_tmp29 = (void const   *)priv;
5774#line 380
5775    kfree(__cil_tmp29);
5776    }
5777    {
5778#line 381
5779    __cil_tmp30 = (void *)0;
5780#line 381
5781    return ((struct dvb_frontend *)__cil_tmp30);
5782    }
5783  } else {
5784
5785  }
5786  {
5787#line 384
5788  __cil_tmp31 = & id;
5789#line 384
5790  __cil_tmp32 = *__cil_tmp31;
5791#line 384
5792  __cil_tmp33 = (int )__cil_tmp32;
5793#line 384
5794  if (__cil_tmp33 != 99) {
5795    {
5796#line 385
5797    __cil_tmp34 = (void const   *)priv;
5798#line 385
5799    kfree(__cil_tmp34);
5800    }
5801    {
5802#line 386
5803    __cil_tmp35 = (void *)0;
5804#line 386
5805    return ((struct dvb_frontend *)__cil_tmp35);
5806    }
5807  } else {
5808
5809  }
5810  }
5811  {
5812#line 388
5813  __cil_tmp36 = (int )if1;
5814#line 388
5815  printk("<6>MT2060: successfully identified (IF1 = %d)\n", __cil_tmp36);
5816#line 389
5817  __len = 280UL;
5818  }
5819#line 389
5820  if (__len >= 64UL) {
5821    {
5822#line 389
5823    __cil_tmp37 = 0 + 384;
5824#line 389
5825    __cil_tmp38 = (unsigned long )fe;
5826#line 389
5827    __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
5828#line 389
5829    __cil_tmp40 = (struct dvb_tuner_ops *)__cil_tmp39;
5830#line 389
5831    __cil_tmp41 = (void *)__cil_tmp40;
5832#line 389
5833    __cil_tmp42 = (void const   *)(& mt2060_tuner_ops);
5834#line 389
5835    __ret = __memcpy(__cil_tmp41, __cil_tmp42, __len);
5836    }
5837  } else {
5838    {
5839#line 389
5840    __cil_tmp43 = 0 + 384;
5841#line 389
5842    __cil_tmp44 = (unsigned long )fe;
5843#line 389
5844    __cil_tmp45 = __cil_tmp44 + __cil_tmp43;
5845#line 389
5846    __cil_tmp46 = (struct dvb_tuner_ops *)__cil_tmp45;
5847#line 389
5848    __cil_tmp47 = (void *)__cil_tmp46;
5849#line 389
5850    __cil_tmp48 = (void const   *)(& mt2060_tuner_ops);
5851#line 389
5852    __ret = __builtin_memcpy(__cil_tmp47, __cil_tmp48, __len);
5853    }
5854  }
5855  {
5856#line 391
5857  __cil_tmp49 = (unsigned long )fe;
5858#line 391
5859  __cil_tmp50 = __cil_tmp49 + 768;
5860#line 391
5861  *((void **)__cil_tmp50) = (void *)priv;
5862#line 393
5863  mt2060_calibrate(priv);
5864  }
5865  {
5866#line 395
5867  __cil_tmp51 = 0 + 360;
5868#line 395
5869  __cil_tmp52 = (unsigned long )fe;
5870#line 395
5871  __cil_tmp53 = __cil_tmp52 + __cil_tmp51;
5872#line 395
5873  if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp53)) {
5874    {
5875#line 396
5876    __cil_tmp54 = 0 + 360;
5877#line 396
5878    __cil_tmp55 = (unsigned long )fe;
5879#line 396
5880    __cil_tmp56 = __cil_tmp55 + __cil_tmp54;
5881#line 396
5882    __cil_tmp57 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp56);
5883#line 396
5884    (*__cil_tmp57)(fe, 0);
5885    }
5886  } else {
5887
5888  }
5889  }
5890#line 398
5891  return (fe);
5892}
5893}
5894#line 400
5895extern void *__crc_mt2060_attach  __attribute__((__weak__)) ;
5896#line 400 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5897static unsigned long const   __kcrctab_mt2060_attach  __attribute__((__used__, __unused__,
5898__section__("___kcrctab+mt2060_attach")))  =    (unsigned long const   )((unsigned long )(& __crc_mt2060_attach));
5899#line 400 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5900static char const   __kstrtab_mt2060_attach[14]  __attribute__((__section__("__ksymtab_strings"),
5901__aligned__(1)))  = 
5902#line 400
5903  {      (char const   )'m',      (char const   )'t',      (char const   )'2',      (char const   )'0', 
5904        (char const   )'6',      (char const   )'0',      (char const   )'_',      (char const   )'a', 
5905        (char const   )'t',      (char const   )'t',      (char const   )'a',      (char const   )'c', 
5906        (char const   )'h',      (char const   )'\000'};
5907#line 400 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5908static struct kernel_symbol  const  __ksymtab_mt2060_attach  __attribute__((__used__,
5909__unused__, __section__("___ksymtab+mt2060_attach")))  =    {(unsigned long )(& mt2060_attach), __kstrtab_mt2060_attach};
5910#line 402 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5911static char const   __mod_author402[21]  __attribute__((__used__, __unused__, __section__(".modinfo"),
5912__aligned__(1)))  = 
5913#line 402
5914  {      (char const   )'a',      (char const   )'u',      (char const   )'t',      (char const   )'h', 
5915        (char const   )'o',      (char const   )'r',      (char const   )'=',      (char const   )'O', 
5916        (char const   )'l',      (char const   )'i',      (char const   )'v',      (char const   )'i', 
5917        (char const   )'e',      (char const   )'r',      (char const   )' ',      (char const   )'D', 
5918        (char const   )'A',      (char const   )'N',      (char const   )'E',      (char const   )'T', 
5919        (char const   )'\000'};
5920#line 403 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5921static char const   __mod_description403[50]  __attribute__((__used__, __unused__,
5922__section__(".modinfo"), __aligned__(1)))  = 
5923#line 403
5924  {      (char const   )'d',      (char const   )'e',      (char const   )'s',      (char const   )'c', 
5925        (char const   )'r',      (char const   )'i',      (char const   )'p',      (char const   )'t', 
5926        (char const   )'i',      (char const   )'o',      (char const   )'n',      (char const   )'=', 
5927        (char const   )'M',      (char const   )'i',      (char const   )'c',      (char const   )'r', 
5928        (char const   )'o',      (char const   )'t',      (char const   )'u',      (char const   )'n', 
5929        (char const   )'e',      (char const   )' ',      (char const   )'M',      (char const   )'T', 
5930        (char const   )'2',      (char const   )'0',      (char const   )'6',      (char const   )'0', 
5931        (char const   )' ',      (char const   )'s',      (char const   )'i',      (char const   )'l', 
5932        (char const   )'i',      (char const   )'c',      (char const   )'o',      (char const   )'n', 
5933        (char const   )' ',      (char const   )'t',      (char const   )'u',      (char const   )'n', 
5934        (char const   )'e',      (char const   )'r',      (char const   )' ',      (char const   )'d', 
5935        (char const   )'r',      (char const   )'i',      (char const   )'v',      (char const   )'e', 
5936        (char const   )'r',      (char const   )'\000'};
5937#line 404 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5938static char const   __mod_license404[12]  __attribute__((__used__, __unused__, __section__(".modinfo"),
5939__aligned__(1)))  = 
5940#line 404
5941  {      (char const   )'l',      (char const   )'i',      (char const   )'c',      (char const   )'e', 
5942        (char const   )'n',      (char const   )'s',      (char const   )'e',      (char const   )'=', 
5943        (char const   )'G',      (char const   )'P',      (char const   )'L',      (char const   )'\000'};
5944#line 422
5945void ldv_check_final_state(void) ;
5946#line 428
5947extern void ldv_initialize(void) ;
5948#line 431
5949extern int __VERIFIER_nondet_int(void) ;
5950#line 434 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5951int LDV_IN_INTERRUPT  ;
5952#line 437 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
5953void main(void) 
5954{ struct dvb_frontend *var_group1 ;
5955  u32 *var_mt2060_get_frequency_7_p1 ;
5956  u32 *var_mt2060_get_if_frequency_8_p1 ;
5957  int ldv_s_mt2060_tuner_ops_dvb_tuner_ops ;
5958  int tmp___7 ;
5959  int tmp___8 ;
5960  int __cil_tmp7 ;
5961
5962  {
5963  {
5964#line 521
5965  LDV_IN_INTERRUPT = 1;
5966#line 530
5967  ldv_initialize();
5968#line 531
5969  ldv_s_mt2060_tuner_ops_dvb_tuner_ops = 0;
5970  }
5971  {
5972#line 535
5973  while (1) {
5974    while_continue: /* CIL Label */ ;
5975    {
5976#line 535
5977    tmp___8 = __VERIFIER_nondet_int();
5978    }
5979#line 535
5980    if (tmp___8) {
5981
5982    } else {
5983      {
5984#line 535
5985      __cil_tmp7 = ldv_s_mt2060_tuner_ops_dvb_tuner_ops == 0;
5986#line 535
5987      if (! __cil_tmp7) {
5988
5989      } else {
5990#line 535
5991        goto while_break;
5992      }
5993      }
5994    }
5995    {
5996#line 539
5997    tmp___7 = __VERIFIER_nondet_int();
5998    }
5999#line 541
6000    if (tmp___7 == 0) {
6001#line 541
6002      goto case_0;
6003    } else
6004#line 566
6005    if (tmp___7 == 1) {
6006#line 566
6007      goto case_1;
6008    } else
6009#line 591
6010    if (tmp___7 == 2) {
6011#line 591
6012      goto case_2;
6013    } else
6014#line 616
6015    if (tmp___7 == 3) {
6016#line 616
6017      goto case_3;
6018    } else
6019#line 639
6020    if (tmp___7 == 4) {
6021#line 639
6022      goto case_4;
6023    } else
6024#line 664
6025    if (tmp___7 == 5) {
6026#line 664
6027      goto case_5;
6028    } else {
6029      {
6030#line 689
6031      goto switch_default;
6032#line 539
6033      if (0) {
6034        case_0: /* CIL Label */ 
6035#line 544
6036        if (ldv_s_mt2060_tuner_ops_dvb_tuner_ops == 0) {
6037          {
6038#line 558
6039          mt2060_release(var_group1);
6040#line 559
6041          ldv_s_mt2060_tuner_ops_dvb_tuner_ops = 0;
6042          }
6043        } else {
6044
6045        }
6046#line 565
6047        goto switch_break;
6048        case_1: /* CIL Label */ 
6049        {
6050#line 583
6051        mt2060_init(var_group1);
6052        }
6053#line 590
6054        goto switch_break;
6055        case_2: /* CIL Label */ 
6056        {
6057#line 608
6058        mt2060_sleep(var_group1);
6059        }
6060#line 615
6061        goto switch_break;
6062        case_3: /* CIL Label */ 
6063        {
6064#line 631
6065        mt2060_set_params(var_group1);
6066        }
6067#line 638
6068        goto switch_break;
6069        case_4: /* CIL Label */ 
6070        {
6071#line 656
6072        mt2060_get_frequency(var_group1, var_mt2060_get_frequency_7_p1);
6073        }
6074#line 663
6075        goto switch_break;
6076        case_5: /* CIL Label */ 
6077        {
6078#line 681
6079        mt2060_get_if_frequency(var_group1, var_mt2060_get_if_frequency_8_p1);
6080        }
6081#line 688
6082        goto switch_break;
6083        switch_default: /* CIL Label */ 
6084#line 689
6085        goto switch_break;
6086      } else {
6087        switch_break: /* CIL Label */ ;
6088      }
6089      }
6090    }
6091  }
6092  while_break: /* CIL Label */ ;
6093  }
6094  {
6095#line 698
6096  ldv_check_final_state();
6097  }
6098#line 701
6099  return;
6100}
6101}
6102#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast-assert.h"
6103void ldv_blast_assert(void) 
6104{ 
6105
6106  {
6107  ERROR: 
6108#line 6
6109  goto ERROR;
6110}
6111}
6112#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast.h"
6113extern int __VERIFIER_nondet_int(void) ;
6114#line 19 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
6115int ldv_mutex  =    1;
6116#line 22 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
6117int __attribute__((__warn_unused_result__))  mutex_lock_interruptible(struct mutex *lock ) 
6118{ int nondetermined ;
6119
6120  {
6121#line 29
6122  if (ldv_mutex == 1) {
6123
6124  } else {
6125    {
6126#line 29
6127    ldv_blast_assert();
6128    }
6129  }
6130  {
6131#line 32
6132  nondetermined = __VERIFIER_nondet_int();
6133  }
6134#line 35
6135  if (nondetermined) {
6136#line 38
6137    ldv_mutex = 2;
6138#line 40
6139    return (0);
6140  } else {
6141#line 45
6142    return (-4);
6143  }
6144}
6145}
6146#line 50 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
6147int __attribute__((__warn_unused_result__))  mutex_lock_killable(struct mutex *lock ) 
6148{ int nondetermined ;
6149
6150  {
6151#line 57
6152  if (ldv_mutex == 1) {
6153
6154  } else {
6155    {
6156#line 57
6157    ldv_blast_assert();
6158    }
6159  }
6160  {
6161#line 60
6162  nondetermined = __VERIFIER_nondet_int();
6163  }
6164#line 63
6165  if (nondetermined) {
6166#line 66
6167    ldv_mutex = 2;
6168#line 68
6169    return (0);
6170  } else {
6171#line 73
6172    return (-4);
6173  }
6174}
6175}
6176#line 78 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
6177int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock ) 
6178{ int atomic_value_after_dec ;
6179
6180  {
6181#line 83
6182  if (ldv_mutex == 1) {
6183
6184  } else {
6185    {
6186#line 83
6187    ldv_blast_assert();
6188    }
6189  }
6190  {
6191#line 86
6192  atomic_value_after_dec = __VERIFIER_nondet_int();
6193  }
6194#line 89
6195  if (atomic_value_after_dec == 0) {
6196#line 92
6197    ldv_mutex = 2;
6198#line 94
6199    return (1);
6200  } else {
6201
6202  }
6203#line 98
6204  return (0);
6205}
6206}
6207#line 103 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
6208void mutex_lock(struct mutex *lock ) 
6209{ 
6210
6211  {
6212#line 108
6213  if (ldv_mutex == 1) {
6214
6215  } else {
6216    {
6217#line 108
6218    ldv_blast_assert();
6219    }
6220  }
6221#line 110
6222  ldv_mutex = 2;
6223#line 111
6224  return;
6225}
6226}
6227#line 114 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
6228int mutex_trylock(struct mutex *lock ) 
6229{ int nondetermined ;
6230
6231  {
6232#line 121
6233  if (ldv_mutex == 1) {
6234
6235  } else {
6236    {
6237#line 121
6238    ldv_blast_assert();
6239    }
6240  }
6241  {
6242#line 124
6243  nondetermined = __VERIFIER_nondet_int();
6244  }
6245#line 127
6246  if (nondetermined) {
6247#line 130
6248    ldv_mutex = 2;
6249#line 132
6250    return (1);
6251  } else {
6252#line 137
6253    return (0);
6254  }
6255}
6256}
6257#line 142 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
6258void mutex_unlock(struct mutex *lock ) 
6259{ 
6260
6261  {
6262#line 147
6263  if (ldv_mutex == 2) {
6264
6265  } else {
6266    {
6267#line 147
6268    ldv_blast_assert();
6269    }
6270  }
6271#line 149
6272  ldv_mutex = 1;
6273#line 150
6274  return;
6275}
6276}
6277#line 153 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
6278void ldv_check_final_state(void) 
6279{ 
6280
6281  {
6282#line 156
6283  if (ldv_mutex == 1) {
6284
6285  } else {
6286    {
6287#line 156
6288    ldv_blast_assert();
6289    }
6290  }
6291#line 157
6292  return;
6293}
6294}
6295#line 710 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13997/dscv_tempdir/dscv/ri/32_1/drivers/media/common/tuners/mt2060.c.common.c"
6296long s__builtin_expect(long val , long res ) 
6297{ 
6298
6299  {
6300#line 711
6301  return (val);
6302}
6303}