Showing error 1313

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/43_1a_cilled_safe_ok_nondet_linux-43_1a-drivers--watchdog--ib700wdt.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c
Line in file: 3951
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 30 "include/asm-generic/int-ll64.h"
  17typedef unsigned long long __u64;
  18#line 43 "include/asm-generic/int-ll64.h"
  19typedef unsigned char u8;
  20#line 45 "include/asm-generic/int-ll64.h"
  21typedef short s16;
  22#line 46 "include/asm-generic/int-ll64.h"
  23typedef unsigned short u16;
  24#line 48 "include/asm-generic/int-ll64.h"
  25typedef int s32;
  26#line 49 "include/asm-generic/int-ll64.h"
  27typedef unsigned int u32;
  28#line 51 "include/asm-generic/int-ll64.h"
  29typedef long long s64;
  30#line 52 "include/asm-generic/int-ll64.h"
  31typedef unsigned long long u64;
  32#line 14 "include/asm-generic/posix_types.h"
  33typedef long __kernel_long_t;
  34#line 15 "include/asm-generic/posix_types.h"
  35typedef unsigned long __kernel_ulong_t;
  36#line 52 "include/asm-generic/posix_types.h"
  37typedef unsigned int __kernel_uid32_t;
  38#line 53 "include/asm-generic/posix_types.h"
  39typedef unsigned int __kernel_gid32_t;
  40#line 75 "include/asm-generic/posix_types.h"
  41typedef __kernel_ulong_t __kernel_size_t;
  42#line 76 "include/asm-generic/posix_types.h"
  43typedef __kernel_long_t __kernel_ssize_t;
  44#line 91 "include/asm-generic/posix_types.h"
  45typedef long long __kernel_loff_t;
  46#line 92 "include/asm-generic/posix_types.h"
  47typedef __kernel_long_t __kernel_time_t;
  48#line 21 "include/linux/types.h"
  49typedef __u32 __kernel_dev_t;
  50#line 24 "include/linux/types.h"
  51typedef __kernel_dev_t dev_t;
  52#line 27 "include/linux/types.h"
  53typedef unsigned short umode_t;
  54#line 38 "include/linux/types.h"
  55typedef _Bool bool;
  56#line 40 "include/linux/types.h"
  57typedef __kernel_uid32_t uid_t;
  58#line 41 "include/linux/types.h"
  59typedef __kernel_gid32_t gid_t;
  60#line 54 "include/linux/types.h"
  61typedef __kernel_loff_t loff_t;
  62#line 63 "include/linux/types.h"
  63typedef __kernel_size_t size_t;
  64#line 68 "include/linux/types.h"
  65typedef __kernel_ssize_t ssize_t;
  66#line 78 "include/linux/types.h"
  67typedef __kernel_time_t time_t;
  68#line 142 "include/linux/types.h"
  69typedef unsigned long sector_t;
  70#line 143 "include/linux/types.h"
  71typedef unsigned long blkcnt_t;
  72#line 202 "include/linux/types.h"
  73typedef unsigned int gfp_t;
  74#line 203 "include/linux/types.h"
  75typedef unsigned int fmode_t;
  76#line 206 "include/linux/types.h"
  77typedef u64 phys_addr_t;
  78#line 211 "include/linux/types.h"
  79typedef phys_addr_t resource_size_t;
  80#line 221 "include/linux/types.h"
  81struct __anonstruct_atomic_t_6 {
  82   int counter ;
  83};
  84#line 221 "include/linux/types.h"
  85typedef struct __anonstruct_atomic_t_6 atomic_t;
  86#line 226 "include/linux/types.h"
  87struct __anonstruct_atomic64_t_7 {
  88   long counter ;
  89};
  90#line 226 "include/linux/types.h"
  91typedef struct __anonstruct_atomic64_t_7 atomic64_t;
  92#line 227 "include/linux/types.h"
  93struct list_head {
  94   struct list_head *next ;
  95   struct list_head *prev ;
  96};
  97#line 232
  98struct hlist_node;
  99#line 232 "include/linux/types.h"
 100struct hlist_head {
 101   struct hlist_node *first ;
 102};
 103#line 236 "include/linux/types.h"
 104struct hlist_node {
 105   struct hlist_node *next ;
 106   struct hlist_node **pprev ;
 107};
 108#line 247 "include/linux/types.h"
 109struct rcu_head {
 110   struct rcu_head *next ;
 111   void (*func)(struct rcu_head * ) ;
 112};
 113#line 55 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
 114struct module;
 115#line 55
 116struct module;
 117#line 146 "include/linux/init.h"
 118typedef void (*ctor_fn_t)(void);
 119#line 46 "include/linux/dynamic_debug.h"
 120struct device;
 121#line 46
 122struct device;
 123#line 57
 124struct completion;
 125#line 57
 126struct completion;
 127#line 58
 128struct pt_regs;
 129#line 58
 130struct pt_regs;
 131#line 348 "include/linux/kernel.h"
 132struct pid;
 133#line 348
 134struct pid;
 135#line 112 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/stat.h"
 136struct timespec;
 137#line 112
 138struct timespec;
 139#line 58 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page_types.h"
 140struct page;
 141#line 58
 142struct page;
 143#line 26 "include/asm-generic/getorder.h"
 144struct task_struct;
 145#line 26
 146struct task_struct;
 147#line 268 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/segment.h"
 148struct pt_regs {
 149   unsigned long r15 ;
 150   unsigned long r14 ;
 151   unsigned long r13 ;
 152   unsigned long r12 ;
 153   unsigned long bp ;
 154   unsigned long bx ;
 155   unsigned long r11 ;
 156   unsigned long r10 ;
 157   unsigned long r9 ;
 158   unsigned long r8 ;
 159   unsigned long ax ;
 160   unsigned long cx ;
 161   unsigned long dx ;
 162   unsigned long si ;
 163   unsigned long di ;
 164   unsigned long orig_ax ;
 165   unsigned long ip ;
 166   unsigned long cs ;
 167   unsigned long flags ;
 168   unsigned long sp ;
 169   unsigned long ss ;
 170};
 171#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
 172struct __anonstruct_ldv_2180_13 {
 173   unsigned int a ;
 174   unsigned int b ;
 175};
 176#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
 177struct __anonstruct_ldv_2195_14 {
 178   u16 limit0 ;
 179   u16 base0 ;
 180   unsigned char base1 ;
 181   unsigned char type : 4 ;
 182   unsigned char s : 1 ;
 183   unsigned char dpl : 2 ;
 184   unsigned char p : 1 ;
 185   unsigned char limit : 4 ;
 186   unsigned char avl : 1 ;
 187   unsigned char l : 1 ;
 188   unsigned char d : 1 ;
 189   unsigned char g : 1 ;
 190   unsigned char base2 ;
 191};
 192#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
 193union __anonunion_ldv_2196_12 {
 194   struct __anonstruct_ldv_2180_13 ldv_2180 ;
 195   struct __anonstruct_ldv_2195_14 ldv_2195 ;
 196};
 197#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
 198struct desc_struct {
 199   union __anonunion_ldv_2196_12 ldv_2196 ;
 200};
 201#line 43 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
 202struct gate_struct64 {
 203   u16 offset_low ;
 204   u16 segment ;
 205   unsigned char ist : 3 ;
 206   unsigned char zero0 : 5 ;
 207   unsigned char type : 5 ;
 208   unsigned char dpl : 2 ;
 209   unsigned char p : 1 ;
 210   u16 offset_middle ;
 211   u32 offset_high ;
 212   u32 zero1 ;
 213};
 214#line 81 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
 215typedef struct gate_struct64 gate_desc;
 216#line 84 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
 217struct desc_ptr {
 218   unsigned short size ;
 219   unsigned long address ;
 220};
 221#line 290 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
 222struct file;
 223#line 290
 224struct file;
 225#line 305
 226struct seq_file;
 227#line 305
 228struct seq_file;
 229#line 337
 230struct thread_struct;
 231#line 337
 232struct thread_struct;
 233#line 338
 234struct tss_struct;
 235#line 338
 236struct tss_struct;
 237#line 101 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
 238struct pv_cpu_ops {
 239   unsigned long (*get_debugreg)(int  ) ;
 240   void (*set_debugreg)(int  , unsigned long  ) ;
 241   void (*clts)(void) ;
 242   unsigned long (*read_cr0)(void) ;
 243   void (*write_cr0)(unsigned long  ) ;
 244   unsigned long (*read_cr4_safe)(void) ;
 245   unsigned long (*read_cr4)(void) ;
 246   void (*write_cr4)(unsigned long  ) ;
 247   unsigned long (*read_cr8)(void) ;
 248   void (*write_cr8)(unsigned long  ) ;
 249   void (*load_tr_desc)(void) ;
 250   void (*load_gdt)(struct desc_ptr  const  * ) ;
 251   void (*load_idt)(struct desc_ptr  const  * ) ;
 252   void (*store_gdt)(struct desc_ptr * ) ;
 253   void (*store_idt)(struct desc_ptr * ) ;
 254   void (*set_ldt)(void const   * , unsigned int  ) ;
 255   unsigned long (*store_tr)(void) ;
 256   void (*load_tls)(struct thread_struct * , unsigned int  ) ;
 257   void (*load_gs_index)(unsigned int  ) ;
 258   void (*write_ldt_entry)(struct desc_struct * , int  , void const   * ) ;
 259   void (*write_gdt_entry)(struct desc_struct * , int  , void const   * , int  ) ;
 260   void (*write_idt_entry)(gate_desc * , int  , gate_desc const   * ) ;
 261   void (*alloc_ldt)(struct desc_struct * , unsigned int  ) ;
 262   void (*free_ldt)(struct desc_struct * , unsigned int  ) ;
 263   void (*load_sp0)(struct tss_struct * , struct thread_struct * ) ;
 264   void (*set_iopl_mask)(unsigned int  ) ;
 265   void (*wbinvd)(void) ;
 266   void (*io_delay)(void) ;
 267   void (*cpuid)(unsigned int * , unsigned int * , unsigned int * , unsigned int * ) ;
 268   u64 (*read_msr)(unsigned int  , int * ) ;
 269   int (*rdmsr_regs)(u32 * ) ;
 270   int (*write_msr)(unsigned int  , unsigned int  , unsigned int  ) ;
 271   int (*wrmsr_regs)(u32 * ) ;
 272   u64 (*read_tsc)(void) ;
 273   u64 (*read_pmc)(int  ) ;
 274   unsigned long long (*read_tscp)(unsigned int * ) ;
 275   void (*irq_enable_sysexit)(void) ;
 276   void (*usergs_sysret64)(void) ;
 277   void (*usergs_sysret32)(void) ;
 278   void (*iret)(void) ;
 279   void (*swapgs)(void) ;
 280   void (*start_context_switch)(struct task_struct * ) ;
 281   void (*end_context_switch)(struct task_struct * ) ;
 282};
 283#line 327
 284struct arch_spinlock;
 285#line 327
 286struct arch_spinlock;
 287#line 300 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
 288struct kernel_vm86_regs {
 289   struct pt_regs pt ;
 290   unsigned short es ;
 291   unsigned short __esh ;
 292   unsigned short ds ;
 293   unsigned short __dsh ;
 294   unsigned short fs ;
 295   unsigned short __fsh ;
 296   unsigned short gs ;
 297   unsigned short __gsh ;
 298};
 299#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
 300union __anonunion_ldv_2824_19 {
 301   struct pt_regs *regs ;
 302   struct kernel_vm86_regs *vm86 ;
 303};
 304#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
 305struct math_emu_info {
 306   long ___orig_eip ;
 307   union __anonunion_ldv_2824_19 ldv_2824 ;
 308};
 309#line 306 "include/linux/bitmap.h"
 310struct bug_entry {
 311   int bug_addr_disp ;
 312   int file_disp ;
 313   unsigned short line ;
 314   unsigned short flags ;
 315};
 316#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
 317struct static_key;
 318#line 234
 319struct static_key;
 320#line 199 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 321struct x86_hw_tss {
 322   u32 reserved1 ;
 323   u64 sp0 ;
 324   u64 sp1 ;
 325   u64 sp2 ;
 326   u64 reserved2 ;
 327   u64 ist[7U] ;
 328   u32 reserved3 ;
 329   u32 reserved4 ;
 330   u16 reserved5 ;
 331   u16 io_bitmap_base ;
 332};
 333#line 246 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 334struct tss_struct {
 335   struct x86_hw_tss x86_tss ;
 336   unsigned long io_bitmap[1025U] ;
 337   unsigned long stack[64U] ;
 338};
 339#line 287 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 340struct i387_fsave_struct {
 341   u32 cwd ;
 342   u32 swd ;
 343   u32 twd ;
 344   u32 fip ;
 345   u32 fcs ;
 346   u32 foo ;
 347   u32 fos ;
 348   u32 st_space[20U] ;
 349   u32 status ;
 350};
 351#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 352struct __anonstruct_ldv_5180_24 {
 353   u64 rip ;
 354   u64 rdp ;
 355};
 356#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 357struct __anonstruct_ldv_5186_25 {
 358   u32 fip ;
 359   u32 fcs ;
 360   u32 foo ;
 361   u32 fos ;
 362};
 363#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 364union __anonunion_ldv_5187_23 {
 365   struct __anonstruct_ldv_5180_24 ldv_5180 ;
 366   struct __anonstruct_ldv_5186_25 ldv_5186 ;
 367};
 368#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 369union __anonunion_ldv_5196_26 {
 370   u32 padding1[12U] ;
 371   u32 sw_reserved[12U] ;
 372};
 373#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 374struct i387_fxsave_struct {
 375   u16 cwd ;
 376   u16 swd ;
 377   u16 twd ;
 378   u16 fop ;
 379   union __anonunion_ldv_5187_23 ldv_5187 ;
 380   u32 mxcsr ;
 381   u32 mxcsr_mask ;
 382   u32 st_space[32U] ;
 383   u32 xmm_space[64U] ;
 384   u32 padding[12U] ;
 385   union __anonunion_ldv_5196_26 ldv_5196 ;
 386};
 387#line 339 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 388struct i387_soft_struct {
 389   u32 cwd ;
 390   u32 swd ;
 391   u32 twd ;
 392   u32 fip ;
 393   u32 fcs ;
 394   u32 foo ;
 395   u32 fos ;
 396   u32 st_space[20U] ;
 397   u8 ftop ;
 398   u8 changed ;
 399   u8 lookahead ;
 400   u8 no_update ;
 401   u8 rm ;
 402   u8 alimit ;
 403   struct math_emu_info *info ;
 404   u32 entry_eip ;
 405};
 406#line 360 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 407struct ymmh_struct {
 408   u32 ymmh_space[64U] ;
 409};
 410#line 365 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 411struct xsave_hdr_struct {
 412   u64 xstate_bv ;
 413   u64 reserved1[2U] ;
 414   u64 reserved2[5U] ;
 415};
 416#line 371 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 417struct xsave_struct {
 418   struct i387_fxsave_struct i387 ;
 419   struct xsave_hdr_struct xsave_hdr ;
 420   struct ymmh_struct ymmh ;
 421};
 422#line 377 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 423union thread_xstate {
 424   struct i387_fsave_struct fsave ;
 425   struct i387_fxsave_struct fxsave ;
 426   struct i387_soft_struct soft ;
 427   struct xsave_struct xsave ;
 428};
 429#line 385 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 430struct fpu {
 431   unsigned int last_cpu ;
 432   unsigned int has_fpu ;
 433   union thread_xstate *state ;
 434};
 435#line 433
 436struct kmem_cache;
 437#line 434
 438struct perf_event;
 439#line 434
 440struct perf_event;
 441#line 435 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 442struct thread_struct {
 443   struct desc_struct tls_array[3U] ;
 444   unsigned long sp0 ;
 445   unsigned long sp ;
 446   unsigned long usersp ;
 447   unsigned short es ;
 448   unsigned short ds ;
 449   unsigned short fsindex ;
 450   unsigned short gsindex ;
 451   unsigned long fs ;
 452   unsigned long gs ;
 453   struct perf_event *ptrace_bps[4U] ;
 454   unsigned long debugreg6 ;
 455   unsigned long ptrace_dr7 ;
 456   unsigned long cr2 ;
 457   unsigned long trap_nr ;
 458   unsigned long error_code ;
 459   struct fpu fpu ;
 460   unsigned long *io_bitmap_ptr ;
 461   unsigned long iopl ;
 462   unsigned int io_bitmap_max ;
 463};
 464#line 23 "include/asm-generic/atomic-long.h"
 465typedef atomic64_t atomic_long_t;
 466#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 467typedef u16 __ticket_t;
 468#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 469typedef u32 __ticketpair_t;
 470#line 16 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 471struct __raw_tickets {
 472   __ticket_t head ;
 473   __ticket_t tail ;
 474};
 475#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 476union __anonunion_ldv_5907_29 {
 477   __ticketpair_t head_tail ;
 478   struct __raw_tickets tickets ;
 479};
 480#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 481struct arch_spinlock {
 482   union __anonunion_ldv_5907_29 ldv_5907 ;
 483};
 484#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 485typedef struct arch_spinlock arch_spinlock_t;
 486#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
 487struct __anonstruct_ldv_5914_31 {
 488   u32 read ;
 489   s32 write ;
 490};
 491#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
 492union __anonunion_arch_rwlock_t_30 {
 493   s64 lock ;
 494   struct __anonstruct_ldv_5914_31 ldv_5914 ;
 495};
 496#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
 497typedef union __anonunion_arch_rwlock_t_30 arch_rwlock_t;
 498#line 34
 499struct lockdep_map;
 500#line 34
 501struct lockdep_map;
 502#line 55 "include/linux/debug_locks.h"
 503struct stack_trace {
 504   unsigned int nr_entries ;
 505   unsigned int max_entries ;
 506   unsigned long *entries ;
 507   int skip ;
 508};
 509#line 26 "include/linux/stacktrace.h"
 510struct lockdep_subclass_key {
 511   char __one_byte ;
 512};
 513#line 53 "include/linux/lockdep.h"
 514struct lock_class_key {
 515   struct lockdep_subclass_key subkeys[8U] ;
 516};
 517#line 59 "include/linux/lockdep.h"
 518struct lock_class {
 519   struct list_head hash_entry ;
 520   struct list_head lock_entry ;
 521   struct lockdep_subclass_key *key ;
 522   unsigned int subclass ;
 523   unsigned int dep_gen_id ;
 524   unsigned long usage_mask ;
 525   struct stack_trace usage_traces[13U] ;
 526   struct list_head locks_after ;
 527   struct list_head locks_before ;
 528   unsigned int version ;
 529   unsigned long ops ;
 530   char const   *name ;
 531   int name_version ;
 532   unsigned long contention_point[4U] ;
 533   unsigned long contending_point[4U] ;
 534};
 535#line 144 "include/linux/lockdep.h"
 536struct lockdep_map {
 537   struct lock_class_key *key ;
 538   struct lock_class *class_cache[2U] ;
 539   char const   *name ;
 540   int cpu ;
 541   unsigned long ip ;
 542};
 543#line 556 "include/linux/lockdep.h"
 544struct raw_spinlock {
 545   arch_spinlock_t raw_lock ;
 546   unsigned int magic ;
 547   unsigned int owner_cpu ;
 548   void *owner ;
 549   struct lockdep_map dep_map ;
 550};
 551#line 32 "include/linux/spinlock_types.h"
 552typedef struct raw_spinlock raw_spinlock_t;
 553#line 33 "include/linux/spinlock_types.h"
 554struct __anonstruct_ldv_6122_33 {
 555   u8 __padding[24U] ;
 556   struct lockdep_map dep_map ;
 557};
 558#line 33 "include/linux/spinlock_types.h"
 559union __anonunion_ldv_6123_32 {
 560   struct raw_spinlock rlock ;
 561   struct __anonstruct_ldv_6122_33 ldv_6122 ;
 562};
 563#line 33 "include/linux/spinlock_types.h"
 564struct spinlock {
 565   union __anonunion_ldv_6123_32 ldv_6123 ;
 566};
 567#line 76 "include/linux/spinlock_types.h"
 568typedef struct spinlock spinlock_t;
 569#line 23 "include/linux/rwlock_types.h"
 570struct __anonstruct_rwlock_t_34 {
 571   arch_rwlock_t raw_lock ;
 572   unsigned int magic ;
 573   unsigned int owner_cpu ;
 574   void *owner ;
 575   struct lockdep_map dep_map ;
 576};
 577#line 23 "include/linux/rwlock_types.h"
 578typedef struct __anonstruct_rwlock_t_34 rwlock_t;
 579#line 110 "include/linux/seqlock.h"
 580struct seqcount {
 581   unsigned int sequence ;
 582};
 583#line 121 "include/linux/seqlock.h"
 584typedef struct seqcount seqcount_t;
 585#line 254 "include/linux/seqlock.h"
 586struct timespec {
 587   __kernel_time_t tv_sec ;
 588   long tv_nsec ;
 589};
 590#line 286 "include/linux/time.h"
 591struct kstat {
 592   u64 ino ;
 593   dev_t dev ;
 594   umode_t mode ;
 595   unsigned int nlink ;
 596   uid_t uid ;
 597   gid_t gid ;
 598   dev_t rdev ;
 599   loff_t size ;
 600   struct timespec atime ;
 601   struct timespec mtime ;
 602   struct timespec ctime ;
 603   unsigned long blksize ;
 604   unsigned long long blocks ;
 605};
 606#line 48 "include/linux/wait.h"
 607struct __wait_queue_head {
 608   spinlock_t lock ;
 609   struct list_head task_list ;
 610};
 611#line 53 "include/linux/wait.h"
 612typedef struct __wait_queue_head wait_queue_head_t;
 613#line 670 "include/linux/mmzone.h"
 614struct mutex {
 615   atomic_t count ;
 616   spinlock_t wait_lock ;
 617   struct list_head wait_list ;
 618   struct task_struct *owner ;
 619   char const   *name ;
 620   void *magic ;
 621   struct lockdep_map dep_map ;
 622};
 623#line 171 "include/linux/mutex.h"
 624struct rw_semaphore;
 625#line 171
 626struct rw_semaphore;
 627#line 172 "include/linux/mutex.h"
 628struct rw_semaphore {
 629   long count ;
 630   raw_spinlock_t wait_lock ;
 631   struct list_head wait_list ;
 632   struct lockdep_map dep_map ;
 633};
 634#line 128 "include/linux/rwsem.h"
 635struct completion {
 636   unsigned int done ;
 637   wait_queue_head_t wait ;
 638};
 639#line 139 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/e820.h"
 640struct resource {
 641   resource_size_t start ;
 642   resource_size_t end ;
 643   char const   *name ;
 644   unsigned long flags ;
 645   struct resource *parent ;
 646   struct resource *sibling ;
 647   struct resource *child ;
 648};
 649#line 312 "include/linux/jiffies.h"
 650union ktime {
 651   s64 tv64 ;
 652};
 653#line 59 "include/linux/ktime.h"
 654typedef union ktime ktime_t;
 655#line 341
 656struct tvec_base;
 657#line 341
 658struct tvec_base;
 659#line 342 "include/linux/ktime.h"
 660struct timer_list {
 661   struct list_head entry ;
 662   unsigned long expires ;
 663   struct tvec_base *base ;
 664   void (*function)(unsigned long  ) ;
 665   unsigned long data ;
 666   int slack ;
 667   int start_pid ;
 668   void *start_site ;
 669   char start_comm[16U] ;
 670   struct lockdep_map lockdep_map ;
 671};
 672#line 302 "include/linux/timer.h"
 673struct work_struct;
 674#line 302
 675struct work_struct;
 676#line 45 "include/linux/workqueue.h"
 677struct work_struct {
 678   atomic_long_t data ;
 679   struct list_head entry ;
 680   void (*func)(struct work_struct * ) ;
 681   struct lockdep_map lockdep_map ;
 682};
 683#line 46 "include/linux/pm.h"
 684struct pm_message {
 685   int event ;
 686};
 687#line 52 "include/linux/pm.h"
 688typedef struct pm_message pm_message_t;
 689#line 53 "include/linux/pm.h"
 690struct dev_pm_ops {
 691   int (*prepare)(struct device * ) ;
 692   void (*complete)(struct device * ) ;
 693   int (*suspend)(struct device * ) ;
 694   int (*resume)(struct device * ) ;
 695   int (*freeze)(struct device * ) ;
 696   int (*thaw)(struct device * ) ;
 697   int (*poweroff)(struct device * ) ;
 698   int (*restore)(struct device * ) ;
 699   int (*suspend_late)(struct device * ) ;
 700   int (*resume_early)(struct device * ) ;
 701   int (*freeze_late)(struct device * ) ;
 702   int (*thaw_early)(struct device * ) ;
 703   int (*poweroff_late)(struct device * ) ;
 704   int (*restore_early)(struct device * ) ;
 705   int (*suspend_noirq)(struct device * ) ;
 706   int (*resume_noirq)(struct device * ) ;
 707   int (*freeze_noirq)(struct device * ) ;
 708   int (*thaw_noirq)(struct device * ) ;
 709   int (*poweroff_noirq)(struct device * ) ;
 710   int (*restore_noirq)(struct device * ) ;
 711   int (*runtime_suspend)(struct device * ) ;
 712   int (*runtime_resume)(struct device * ) ;
 713   int (*runtime_idle)(struct device * ) ;
 714};
 715#line 289
 716enum rpm_status {
 717    RPM_ACTIVE = 0,
 718    RPM_RESUMING = 1,
 719    RPM_SUSPENDED = 2,
 720    RPM_SUSPENDING = 3
 721} ;
 722#line 296
 723enum rpm_request {
 724    RPM_REQ_NONE = 0,
 725    RPM_REQ_IDLE = 1,
 726    RPM_REQ_SUSPEND = 2,
 727    RPM_REQ_AUTOSUSPEND = 3,
 728    RPM_REQ_RESUME = 4
 729} ;
 730#line 304
 731struct wakeup_source;
 732#line 304
 733struct wakeup_source;
 734#line 494 "include/linux/pm.h"
 735struct pm_subsys_data {
 736   spinlock_t lock ;
 737   unsigned int refcount ;
 738};
 739#line 499
 740struct dev_pm_qos_request;
 741#line 499
 742struct pm_qos_constraints;
 743#line 499 "include/linux/pm.h"
 744struct dev_pm_info {
 745   pm_message_t power_state ;
 746   unsigned char can_wakeup : 1 ;
 747   unsigned char async_suspend : 1 ;
 748   bool is_prepared ;
 749   bool is_suspended ;
 750   bool ignore_children ;
 751   spinlock_t lock ;
 752   struct list_head entry ;
 753   struct completion completion ;
 754   struct wakeup_source *wakeup ;
 755   bool wakeup_path ;
 756   struct timer_list suspend_timer ;
 757   unsigned long timer_expires ;
 758   struct work_struct work ;
 759   wait_queue_head_t wait_queue ;
 760   atomic_t usage_count ;
 761   atomic_t child_count ;
 762   unsigned char disable_depth : 3 ;
 763   unsigned char idle_notification : 1 ;
 764   unsigned char request_pending : 1 ;
 765   unsigned char deferred_resume : 1 ;
 766   unsigned char run_wake : 1 ;
 767   unsigned char runtime_auto : 1 ;
 768   unsigned char no_callbacks : 1 ;
 769   unsigned char irq_safe : 1 ;
 770   unsigned char use_autosuspend : 1 ;
 771   unsigned char timer_autosuspends : 1 ;
 772   enum rpm_request request ;
 773   enum rpm_status runtime_status ;
 774   int runtime_error ;
 775   int autosuspend_delay ;
 776   unsigned long last_busy ;
 777   unsigned long active_jiffies ;
 778   unsigned long suspended_jiffies ;
 779   unsigned long accounting_timestamp ;
 780   ktime_t suspend_time ;
 781   s64 max_time_suspended_ns ;
 782   struct dev_pm_qos_request *pq_req ;
 783   struct pm_subsys_data *subsys_data ;
 784   struct pm_qos_constraints *constraints ;
 785};
 786#line 558 "include/linux/pm.h"
 787struct dev_pm_domain {
 788   struct dev_pm_ops ops ;
 789};
 790#line 18 "include/asm-generic/pci_iomap.h"
 791struct vm_area_struct;
 792#line 18
 793struct vm_area_struct;
 794#line 37 "include/linux/kmod.h"
 795struct cred;
 796#line 37
 797struct cred;
 798#line 18 "include/linux/elf.h"
 799typedef __u64 Elf64_Addr;
 800#line 19 "include/linux/elf.h"
 801typedef __u16 Elf64_Half;
 802#line 23 "include/linux/elf.h"
 803typedef __u32 Elf64_Word;
 804#line 24 "include/linux/elf.h"
 805typedef __u64 Elf64_Xword;
 806#line 193 "include/linux/elf.h"
 807struct elf64_sym {
 808   Elf64_Word st_name ;
 809   unsigned char st_info ;
 810   unsigned char st_other ;
 811   Elf64_Half st_shndx ;
 812   Elf64_Addr st_value ;
 813   Elf64_Xword st_size ;
 814};
 815#line 201 "include/linux/elf.h"
 816typedef struct elf64_sym Elf64_Sym;
 817#line 445
 818struct sock;
 819#line 445
 820struct sock;
 821#line 446
 822struct kobject;
 823#line 446
 824struct kobject;
 825#line 447
 826enum kobj_ns_type {
 827    KOBJ_NS_TYPE_NONE = 0,
 828    KOBJ_NS_TYPE_NET = 1,
 829    KOBJ_NS_TYPES = 2
 830} ;
 831#line 453 "include/linux/elf.h"
 832struct kobj_ns_type_operations {
 833   enum kobj_ns_type type ;
 834   void *(*grab_current_ns)(void) ;
 835   void const   *(*netlink_ns)(struct sock * ) ;
 836   void const   *(*initial_ns)(void) ;
 837   void (*drop_ns)(void * ) ;
 838};
 839#line 57 "include/linux/kobject_ns.h"
 840struct attribute {
 841   char const   *name ;
 842   umode_t mode ;
 843   struct lock_class_key *key ;
 844   struct lock_class_key skey ;
 845};
 846#line 33 "include/linux/sysfs.h"
 847struct attribute_group {
 848   char const   *name ;
 849   umode_t (*is_visible)(struct kobject * , struct attribute * , int  ) ;
 850   struct attribute **attrs ;
 851};
 852#line 62 "include/linux/sysfs.h"
 853struct bin_attribute {
 854   struct attribute attr ;
 855   size_t size ;
 856   void *private ;
 857   ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
 858                   loff_t  , size_t  ) ;
 859   ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
 860                    loff_t  , size_t  ) ;
 861   int (*mmap)(struct file * , struct kobject * , struct bin_attribute * , struct vm_area_struct * ) ;
 862};
 863#line 98 "include/linux/sysfs.h"
 864struct sysfs_ops {
 865   ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
 866   ssize_t (*store)(struct kobject * , struct attribute * , char const   * , size_t  ) ;
 867   void const   *(*namespace)(struct kobject * , struct attribute  const  * ) ;
 868};
 869#line 117
 870struct sysfs_dirent;
 871#line 117
 872struct sysfs_dirent;
 873#line 182 "include/linux/sysfs.h"
 874struct kref {
 875   atomic_t refcount ;
 876};
 877#line 49 "include/linux/kobject.h"
 878struct kset;
 879#line 49
 880struct kobj_type;
 881#line 49 "include/linux/kobject.h"
 882struct kobject {
 883   char const   *name ;
 884   struct list_head entry ;
 885   struct kobject *parent ;
 886   struct kset *kset ;
 887   struct kobj_type *ktype ;
 888   struct sysfs_dirent *sd ;
 889   struct kref kref ;
 890   unsigned char state_initialized : 1 ;
 891   unsigned char state_in_sysfs : 1 ;
 892   unsigned char state_add_uevent_sent : 1 ;
 893   unsigned char state_remove_uevent_sent : 1 ;
 894   unsigned char uevent_suppress : 1 ;
 895};
 896#line 107 "include/linux/kobject.h"
 897struct kobj_type {
 898   void (*release)(struct kobject * ) ;
 899   struct sysfs_ops  const  *sysfs_ops ;
 900   struct attribute **default_attrs ;
 901   struct kobj_ns_type_operations  const  *(*child_ns_type)(struct kobject * ) ;
 902   void const   *(*namespace)(struct kobject * ) ;
 903};
 904#line 115 "include/linux/kobject.h"
 905struct kobj_uevent_env {
 906   char *envp[32U] ;
 907   int envp_idx ;
 908   char buf[2048U] ;
 909   int buflen ;
 910};
 911#line 122 "include/linux/kobject.h"
 912struct kset_uevent_ops {
 913   int (* const  filter)(struct kset * , struct kobject * ) ;
 914   char const   *(* const  name)(struct kset * , struct kobject * ) ;
 915   int (* const  uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
 916};
 917#line 139 "include/linux/kobject.h"
 918struct kset {
 919   struct list_head list ;
 920   spinlock_t list_lock ;
 921   struct kobject kobj ;
 922   struct kset_uevent_ops  const  *uevent_ops ;
 923};
 924#line 215
 925struct kernel_param;
 926#line 215
 927struct kernel_param;
 928#line 216 "include/linux/kobject.h"
 929struct kernel_param_ops {
 930   int (*set)(char const   * , struct kernel_param  const  * ) ;
 931   int (*get)(char * , struct kernel_param  const  * ) ;
 932   void (*free)(void * ) ;
 933};
 934#line 49 "include/linux/moduleparam.h"
 935struct kparam_string;
 936#line 49
 937struct kparam_array;
 938#line 49 "include/linux/moduleparam.h"
 939union __anonunion_ldv_13363_134 {
 940   void *arg ;
 941   struct kparam_string  const  *str ;
 942   struct kparam_array  const  *arr ;
 943};
 944#line 49 "include/linux/moduleparam.h"
 945struct kernel_param {
 946   char const   *name ;
 947   struct kernel_param_ops  const  *ops ;
 948   u16 perm ;
 949   s16 level ;
 950   union __anonunion_ldv_13363_134 ldv_13363 ;
 951};
 952#line 61 "include/linux/moduleparam.h"
 953struct kparam_string {
 954   unsigned int maxlen ;
 955   char *string ;
 956};
 957#line 67 "include/linux/moduleparam.h"
 958struct kparam_array {
 959   unsigned int max ;
 960   unsigned int elemsize ;
 961   unsigned int *num ;
 962   struct kernel_param_ops  const  *ops ;
 963   void *elem ;
 964};
 965#line 458 "include/linux/moduleparam.h"
 966struct static_key {
 967   atomic_t enabled ;
 968};
 969#line 225 "include/linux/jump_label.h"
 970struct tracepoint;
 971#line 225
 972struct tracepoint;
 973#line 226 "include/linux/jump_label.h"
 974struct tracepoint_func {
 975   void *func ;
 976   void *data ;
 977};
 978#line 29 "include/linux/tracepoint.h"
 979struct tracepoint {
 980   char const   *name ;
 981   struct static_key key ;
 982   void (*regfunc)(void) ;
 983   void (*unregfunc)(void) ;
 984   struct tracepoint_func *funcs ;
 985};
 986#line 86 "include/linux/tracepoint.h"
 987struct kernel_symbol {
 988   unsigned long value ;
 989   char const   *name ;
 990};
 991#line 27 "include/linux/export.h"
 992struct mod_arch_specific {
 993
 994};
 995#line 34 "include/linux/module.h"
 996struct module_param_attrs;
 997#line 34 "include/linux/module.h"
 998struct module_kobject {
 999   struct kobject kobj ;
1000   struct module *mod ;
1001   struct kobject *drivers_dir ;
1002   struct module_param_attrs *mp ;
1003};
1004#line 43 "include/linux/module.h"
1005struct module_attribute {
1006   struct attribute attr ;
1007   ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
1008   ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const   * ,
1009                    size_t  ) ;
1010   void (*setup)(struct module * , char const   * ) ;
1011   int (*test)(struct module * ) ;
1012   void (*free)(struct module * ) ;
1013};
1014#line 69
1015struct exception_table_entry;
1016#line 69
1017struct exception_table_entry;
1018#line 198
1019enum module_state {
1020    MODULE_STATE_LIVE = 0,
1021    MODULE_STATE_COMING = 1,
1022    MODULE_STATE_GOING = 2
1023} ;
1024#line 204 "include/linux/module.h"
1025struct module_ref {
1026   unsigned long incs ;
1027   unsigned long decs ;
1028};
1029#line 219
1030struct module_sect_attrs;
1031#line 219
1032struct module_notes_attrs;
1033#line 219
1034struct ftrace_event_call;
1035#line 219 "include/linux/module.h"
1036struct module {
1037   enum module_state state ;
1038   struct list_head list ;
1039   char name[56U] ;
1040   struct module_kobject mkobj ;
1041   struct module_attribute *modinfo_attrs ;
1042   char const   *version ;
1043   char const   *srcversion ;
1044   struct kobject *holders_dir ;
1045   struct kernel_symbol  const  *syms ;
1046   unsigned long const   *crcs ;
1047   unsigned int num_syms ;
1048   struct kernel_param *kp ;
1049   unsigned int num_kp ;
1050   unsigned int num_gpl_syms ;
1051   struct kernel_symbol  const  *gpl_syms ;
1052   unsigned long const   *gpl_crcs ;
1053   struct kernel_symbol  const  *unused_syms ;
1054   unsigned long const   *unused_crcs ;
1055   unsigned int num_unused_syms ;
1056   unsigned int num_unused_gpl_syms ;
1057   struct kernel_symbol  const  *unused_gpl_syms ;
1058   unsigned long const   *unused_gpl_crcs ;
1059   struct kernel_symbol  const  *gpl_future_syms ;
1060   unsigned long const   *gpl_future_crcs ;
1061   unsigned int num_gpl_future_syms ;
1062   unsigned int num_exentries ;
1063   struct exception_table_entry *extable ;
1064   int (*init)(void) ;
1065   void *module_init ;
1066   void *module_core ;
1067   unsigned int init_size ;
1068   unsigned int core_size ;
1069   unsigned int init_text_size ;
1070   unsigned int core_text_size ;
1071   unsigned int init_ro_size ;
1072   unsigned int core_ro_size ;
1073   struct mod_arch_specific arch ;
1074   unsigned int taints ;
1075   unsigned int num_bugs ;
1076   struct list_head bug_list ;
1077   struct bug_entry *bug_table ;
1078   Elf64_Sym *symtab ;
1079   Elf64_Sym *core_symtab ;
1080   unsigned int num_symtab ;
1081   unsigned int core_num_syms ;
1082   char *strtab ;
1083   char *core_strtab ;
1084   struct module_sect_attrs *sect_attrs ;
1085   struct module_notes_attrs *notes_attrs ;
1086   char *args ;
1087   void *percpu ;
1088   unsigned int percpu_size ;
1089   unsigned int num_tracepoints ;
1090   struct tracepoint * const  *tracepoints_ptrs ;
1091   unsigned int num_trace_bprintk_fmt ;
1092   char const   **trace_bprintk_fmt_start ;
1093   struct ftrace_event_call **trace_events ;
1094   unsigned int num_trace_events ;
1095   struct list_head source_list ;
1096   struct list_head target_list ;
1097   struct task_struct *waiter ;
1098   void (*exit)(void) ;
1099   struct module_ref *refptr ;
1100   ctor_fn_t (**ctors)(void) ;
1101   unsigned int num_ctors ;
1102};
1103#line 88 "include/linux/kmemleak.h"
1104struct kmem_cache_cpu {
1105   void **freelist ;
1106   unsigned long tid ;
1107   struct page *page ;
1108   struct page *partial ;
1109   int node ;
1110   unsigned int stat[26U] ;
1111};
1112#line 55 "include/linux/slub_def.h"
1113struct kmem_cache_node {
1114   spinlock_t list_lock ;
1115   unsigned long nr_partial ;
1116   struct list_head partial ;
1117   atomic_long_t nr_slabs ;
1118   atomic_long_t total_objects ;
1119   struct list_head full ;
1120};
1121#line 66 "include/linux/slub_def.h"
1122struct kmem_cache_order_objects {
1123   unsigned long x ;
1124};
1125#line 76 "include/linux/slub_def.h"
1126struct kmem_cache {
1127   struct kmem_cache_cpu *cpu_slab ;
1128   unsigned long flags ;
1129   unsigned long min_partial ;
1130   int size ;
1131   int objsize ;
1132   int offset ;
1133   int cpu_partial ;
1134   struct kmem_cache_order_objects oo ;
1135   struct kmem_cache_order_objects max ;
1136   struct kmem_cache_order_objects min ;
1137   gfp_t allocflags ;
1138   int refcount ;
1139   void (*ctor)(void * ) ;
1140   int inuse ;
1141   int align ;
1142   int reserved ;
1143   char const   *name ;
1144   struct list_head list ;
1145   struct kobject kobj ;
1146   int remote_node_defrag_ratio ;
1147   struct kmem_cache_node *node[1024U] ;
1148};
1149#line 15 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
1150struct file_operations;
1151#line 15 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
1152struct miscdevice {
1153   int minor ;
1154   char const   *name ;
1155   struct file_operations  const  *fops ;
1156   struct list_head list ;
1157   struct device *parent ;
1158   struct device *this_device ;
1159   char const   *nodename ;
1160   umode_t mode ;
1161};
1162#line 63 "include/linux/miscdevice.h"
1163struct watchdog_info {
1164   __u32 options ;
1165   __u32 firmware_version ;
1166   __u8 identity[32U] ;
1167};
1168#line 155 "include/linux/watchdog.h"
1169struct block_device;
1170#line 155
1171struct block_device;
1172#line 93 "include/linux/bit_spinlock.h"
1173struct hlist_bl_node;
1174#line 93 "include/linux/bit_spinlock.h"
1175struct hlist_bl_head {
1176   struct hlist_bl_node *first ;
1177};
1178#line 36 "include/linux/list_bl.h"
1179struct hlist_bl_node {
1180   struct hlist_bl_node *next ;
1181   struct hlist_bl_node **pprev ;
1182};
1183#line 114 "include/linux/rculist_bl.h"
1184struct nameidata;
1185#line 114
1186struct nameidata;
1187#line 115
1188struct path;
1189#line 115
1190struct path;
1191#line 116
1192struct vfsmount;
1193#line 116
1194struct vfsmount;
1195#line 117 "include/linux/rculist_bl.h"
1196struct qstr {
1197   unsigned int hash ;
1198   unsigned int len ;
1199   unsigned char const   *name ;
1200};
1201#line 72 "include/linux/dcache.h"
1202struct inode;
1203#line 72
1204struct dentry_operations;
1205#line 72
1206struct super_block;
1207#line 72 "include/linux/dcache.h"
1208union __anonunion_d_u_135 {
1209   struct list_head d_child ;
1210   struct rcu_head d_rcu ;
1211};
1212#line 72 "include/linux/dcache.h"
1213struct dentry {
1214   unsigned int d_flags ;
1215   seqcount_t d_seq ;
1216   struct hlist_bl_node d_hash ;
1217   struct dentry *d_parent ;
1218   struct qstr d_name ;
1219   struct inode *d_inode ;
1220   unsigned char d_iname[32U] ;
1221   unsigned int d_count ;
1222   spinlock_t d_lock ;
1223   struct dentry_operations  const  *d_op ;
1224   struct super_block *d_sb ;
1225   unsigned long d_time ;
1226   void *d_fsdata ;
1227   struct list_head d_lru ;
1228   union __anonunion_d_u_135 d_u ;
1229   struct list_head d_subdirs ;
1230   struct list_head d_alias ;
1231};
1232#line 123 "include/linux/dcache.h"
1233struct dentry_operations {
1234   int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
1235   int (*d_hash)(struct dentry  const  * , struct inode  const  * , struct qstr * ) ;
1236   int (*d_compare)(struct dentry  const  * , struct inode  const  * , struct dentry  const  * ,
1237                    struct inode  const  * , unsigned int  , char const   * , struct qstr  const  * ) ;
1238   int (*d_delete)(struct dentry  const  * ) ;
1239   void (*d_release)(struct dentry * ) ;
1240   void (*d_prune)(struct dentry * ) ;
1241   void (*d_iput)(struct dentry * , struct inode * ) ;
1242   char *(*d_dname)(struct dentry * , char * , int  ) ;
1243   struct vfsmount *(*d_automount)(struct path * ) ;
1244   int (*d_manage)(struct dentry * , bool  ) ;
1245};
1246#line 402 "include/linux/dcache.h"
1247struct path {
1248   struct vfsmount *mnt ;
1249   struct dentry *dentry ;
1250};
1251#line 58 "include/linux/radix-tree.h"
1252struct radix_tree_node;
1253#line 58 "include/linux/radix-tree.h"
1254struct radix_tree_root {
1255   unsigned int height ;
1256   gfp_t gfp_mask ;
1257   struct radix_tree_node *rnode ;
1258};
1259#line 377
1260struct prio_tree_node;
1261#line 19 "include/linux/prio_tree.h"
1262struct prio_tree_node {
1263   struct prio_tree_node *left ;
1264   struct prio_tree_node *right ;
1265   struct prio_tree_node *parent ;
1266   unsigned long start ;
1267   unsigned long last ;
1268};
1269#line 27 "include/linux/prio_tree.h"
1270struct prio_tree_root {
1271   struct prio_tree_node *prio_tree_node ;
1272   unsigned short index_bits ;
1273   unsigned short raw ;
1274};
1275#line 111
1276enum pid_type {
1277    PIDTYPE_PID = 0,
1278    PIDTYPE_PGID = 1,
1279    PIDTYPE_SID = 2,
1280    PIDTYPE_MAX = 3
1281} ;
1282#line 118
1283struct pid_namespace;
1284#line 118 "include/linux/prio_tree.h"
1285struct upid {
1286   int nr ;
1287   struct pid_namespace *ns ;
1288   struct hlist_node pid_chain ;
1289};
1290#line 56 "include/linux/pid.h"
1291struct pid {
1292   atomic_t count ;
1293   unsigned int level ;
1294   struct hlist_head tasks[3U] ;
1295   struct rcu_head rcu ;
1296   struct upid numbers[1U] ;
1297};
1298#line 45 "include/linux/semaphore.h"
1299struct fiemap_extent {
1300   __u64 fe_logical ;
1301   __u64 fe_physical ;
1302   __u64 fe_length ;
1303   __u64 fe_reserved64[2U] ;
1304   __u32 fe_flags ;
1305   __u32 fe_reserved[3U] ;
1306};
1307#line 38 "include/linux/fiemap.h"
1308struct shrink_control {
1309   gfp_t gfp_mask ;
1310   unsigned long nr_to_scan ;
1311};
1312#line 14 "include/linux/shrinker.h"
1313struct shrinker {
1314   int (*shrink)(struct shrinker * , struct shrink_control * ) ;
1315   int seeks ;
1316   long batch ;
1317   struct list_head list ;
1318   atomic_long_t nr_in_batch ;
1319};
1320#line 43
1321enum migrate_mode {
1322    MIGRATE_ASYNC = 0,
1323    MIGRATE_SYNC_LIGHT = 1,
1324    MIGRATE_SYNC = 2
1325} ;
1326#line 49
1327struct export_operations;
1328#line 49
1329struct export_operations;
1330#line 51
1331struct iovec;
1332#line 51
1333struct iovec;
1334#line 52
1335struct kiocb;
1336#line 52
1337struct kiocb;
1338#line 53
1339struct pipe_inode_info;
1340#line 53
1341struct pipe_inode_info;
1342#line 54
1343struct poll_table_struct;
1344#line 54
1345struct poll_table_struct;
1346#line 55
1347struct kstatfs;
1348#line 55
1349struct kstatfs;
1350#line 435 "include/linux/fs.h"
1351struct iattr {
1352   unsigned int ia_valid ;
1353   umode_t ia_mode ;
1354   uid_t ia_uid ;
1355   gid_t ia_gid ;
1356   loff_t ia_size ;
1357   struct timespec ia_atime ;
1358   struct timespec ia_mtime ;
1359   struct timespec ia_ctime ;
1360   struct file *ia_file ;
1361};
1362#line 119 "include/linux/quota.h"
1363struct if_dqinfo {
1364   __u64 dqi_bgrace ;
1365   __u64 dqi_igrace ;
1366   __u32 dqi_flags ;
1367   __u32 dqi_valid ;
1368};
1369#line 176 "include/linux/percpu_counter.h"
1370struct fs_disk_quota {
1371   __s8 d_version ;
1372   __s8 d_flags ;
1373   __u16 d_fieldmask ;
1374   __u32 d_id ;
1375   __u64 d_blk_hardlimit ;
1376   __u64 d_blk_softlimit ;
1377   __u64 d_ino_hardlimit ;
1378   __u64 d_ino_softlimit ;
1379   __u64 d_bcount ;
1380   __u64 d_icount ;
1381   __s32 d_itimer ;
1382   __s32 d_btimer ;
1383   __u16 d_iwarns ;
1384   __u16 d_bwarns ;
1385   __s32 d_padding2 ;
1386   __u64 d_rtb_hardlimit ;
1387   __u64 d_rtb_softlimit ;
1388   __u64 d_rtbcount ;
1389   __s32 d_rtbtimer ;
1390   __u16 d_rtbwarns ;
1391   __s16 d_padding3 ;
1392   char d_padding4[8U] ;
1393};
1394#line 75 "include/linux/dqblk_xfs.h"
1395struct fs_qfilestat {
1396   __u64 qfs_ino ;
1397   __u64 qfs_nblks ;
1398   __u32 qfs_nextents ;
1399};
1400#line 150 "include/linux/dqblk_xfs.h"
1401typedef struct fs_qfilestat fs_qfilestat_t;
1402#line 151 "include/linux/dqblk_xfs.h"
1403struct fs_quota_stat {
1404   __s8 qs_version ;
1405   __u16 qs_flags ;
1406   __s8 qs_pad ;
1407   fs_qfilestat_t qs_uquota ;
1408   fs_qfilestat_t qs_gquota ;
1409   __u32 qs_incoredqs ;
1410   __s32 qs_btimelimit ;
1411   __s32 qs_itimelimit ;
1412   __s32 qs_rtbtimelimit ;
1413   __u16 qs_bwarnlimit ;
1414   __u16 qs_iwarnlimit ;
1415};
1416#line 165
1417struct dquot;
1418#line 165
1419struct dquot;
1420#line 185 "include/linux/quota.h"
1421typedef __kernel_uid32_t qid_t;
1422#line 186 "include/linux/quota.h"
1423typedef long long qsize_t;
1424#line 189 "include/linux/quota.h"
1425struct mem_dqblk {
1426   qsize_t dqb_bhardlimit ;
1427   qsize_t dqb_bsoftlimit ;
1428   qsize_t dqb_curspace ;
1429   qsize_t dqb_rsvspace ;
1430   qsize_t dqb_ihardlimit ;
1431   qsize_t dqb_isoftlimit ;
1432   qsize_t dqb_curinodes ;
1433   time_t dqb_btime ;
1434   time_t dqb_itime ;
1435};
1436#line 211
1437struct quota_format_type;
1438#line 211
1439struct quota_format_type;
1440#line 212 "include/linux/quota.h"
1441struct mem_dqinfo {
1442   struct quota_format_type *dqi_format ;
1443   int dqi_fmt_id ;
1444   struct list_head dqi_dirty_list ;
1445   unsigned long dqi_flags ;
1446   unsigned int dqi_bgrace ;
1447   unsigned int dqi_igrace ;
1448   qsize_t dqi_maxblimit ;
1449   qsize_t dqi_maxilimit ;
1450   void *dqi_priv ;
1451};
1452#line 275 "include/linux/quota.h"
1453struct dquot {
1454   struct hlist_node dq_hash ;
1455   struct list_head dq_inuse ;
1456   struct list_head dq_free ;
1457   struct list_head dq_dirty ;
1458   struct mutex dq_lock ;
1459   atomic_t dq_count ;
1460   wait_queue_head_t dq_wait_unused ;
1461   struct super_block *dq_sb ;
1462   unsigned int dq_id ;
1463   loff_t dq_off ;
1464   unsigned long dq_flags ;
1465   short dq_type ;
1466   struct mem_dqblk dq_dqb ;
1467};
1468#line 303 "include/linux/quota.h"
1469struct quota_format_ops {
1470   int (*check_quota_file)(struct super_block * , int  ) ;
1471   int (*read_file_info)(struct super_block * , int  ) ;
1472   int (*write_file_info)(struct super_block * , int  ) ;
1473   int (*free_file_info)(struct super_block * , int  ) ;
1474   int (*read_dqblk)(struct dquot * ) ;
1475   int (*commit_dqblk)(struct dquot * ) ;
1476   int (*release_dqblk)(struct dquot * ) ;
1477};
1478#line 314 "include/linux/quota.h"
1479struct dquot_operations {
1480   int (*write_dquot)(struct dquot * ) ;
1481   struct dquot *(*alloc_dquot)(struct super_block * , int  ) ;
1482   void (*destroy_dquot)(struct dquot * ) ;
1483   int (*acquire_dquot)(struct dquot * ) ;
1484   int (*release_dquot)(struct dquot * ) ;
1485   int (*mark_dirty)(struct dquot * ) ;
1486   int (*write_info)(struct super_block * , int  ) ;
1487   qsize_t *(*get_reserved_space)(struct inode * ) ;
1488};
1489#line 328 "include/linux/quota.h"
1490struct quotactl_ops {
1491   int (*quota_on)(struct super_block * , int  , int  , struct path * ) ;
1492   int (*quota_on_meta)(struct super_block * , int  , int  ) ;
1493   int (*quota_off)(struct super_block * , int  ) ;
1494   int (*quota_sync)(struct super_block * , int  , int  ) ;
1495   int (*get_info)(struct super_block * , int  , struct if_dqinfo * ) ;
1496   int (*set_info)(struct super_block * , int  , struct if_dqinfo * ) ;
1497   int (*get_dqblk)(struct super_block * , int  , qid_t  , struct fs_disk_quota * ) ;
1498   int (*set_dqblk)(struct super_block * , int  , qid_t  , struct fs_disk_quota * ) ;
1499   int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
1500   int (*set_xstate)(struct super_block * , unsigned int  , int  ) ;
1501};
1502#line 344 "include/linux/quota.h"
1503struct quota_format_type {
1504   int qf_fmt_id ;
1505   struct quota_format_ops  const  *qf_ops ;
1506   struct module *qf_owner ;
1507   struct quota_format_type *qf_next ;
1508};
1509#line 390 "include/linux/quota.h"
1510struct quota_info {
1511   unsigned int flags ;
1512   struct mutex dqio_mutex ;
1513   struct mutex dqonoff_mutex ;
1514   struct rw_semaphore dqptr_sem ;
1515   struct inode *files[2U] ;
1516   struct mem_dqinfo info[2U] ;
1517   struct quota_format_ops  const  *ops[2U] ;
1518};
1519#line 421
1520struct address_space;
1521#line 421
1522struct address_space;
1523#line 422
1524struct writeback_control;
1525#line 422
1526struct writeback_control;
1527#line 585 "include/linux/fs.h"
1528union __anonunion_arg_138 {
1529   char *buf ;
1530   void *data ;
1531};
1532#line 585 "include/linux/fs.h"
1533struct __anonstruct_read_descriptor_t_137 {
1534   size_t written ;
1535   size_t count ;
1536   union __anonunion_arg_138 arg ;
1537   int error ;
1538};
1539#line 585 "include/linux/fs.h"
1540typedef struct __anonstruct_read_descriptor_t_137 read_descriptor_t;
1541#line 588 "include/linux/fs.h"
1542struct address_space_operations {
1543   int (*writepage)(struct page * , struct writeback_control * ) ;
1544   int (*readpage)(struct file * , struct page * ) ;
1545   int (*writepages)(struct address_space * , struct writeback_control * ) ;
1546   int (*set_page_dirty)(struct page * ) ;
1547   int (*readpages)(struct file * , struct address_space * , struct list_head * ,
1548                    unsigned int  ) ;
1549   int (*write_begin)(struct file * , struct address_space * , loff_t  , unsigned int  ,
1550                      unsigned int  , struct page ** , void ** ) ;
1551   int (*write_end)(struct file * , struct address_space * , loff_t  , unsigned int  ,
1552                    unsigned int  , struct page * , void * ) ;
1553   sector_t (*bmap)(struct address_space * , sector_t  ) ;
1554   void (*invalidatepage)(struct page * , unsigned long  ) ;
1555   int (*releasepage)(struct page * , gfp_t  ) ;
1556   void (*freepage)(struct page * ) ;
1557   ssize_t (*direct_IO)(int  , struct kiocb * , struct iovec  const  * , loff_t  ,
1558                        unsigned long  ) ;
1559   int (*get_xip_mem)(struct address_space * , unsigned long  , int  , void ** , unsigned long * ) ;
1560   int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode  ) ;
1561   int (*launder_page)(struct page * ) ;
1562   int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long  ) ;
1563   int (*error_remove_page)(struct address_space * , struct page * ) ;
1564};
1565#line 642
1566struct backing_dev_info;
1567#line 642
1568struct backing_dev_info;
1569#line 643 "include/linux/fs.h"
1570struct address_space {
1571   struct inode *host ;
1572   struct radix_tree_root page_tree ;
1573   spinlock_t tree_lock ;
1574   unsigned int i_mmap_writable ;
1575   struct prio_tree_root i_mmap ;
1576   struct list_head i_mmap_nonlinear ;
1577   struct mutex i_mmap_mutex ;
1578   unsigned long nrpages ;
1579   unsigned long writeback_index ;
1580   struct address_space_operations  const  *a_ops ;
1581   unsigned long flags ;
1582   struct backing_dev_info *backing_dev_info ;
1583   spinlock_t private_lock ;
1584   struct list_head private_list ;
1585   struct address_space *assoc_mapping ;
1586};
1587#line 664
1588struct request_queue;
1589#line 664
1590struct request_queue;
1591#line 665
1592struct hd_struct;
1593#line 665
1594struct gendisk;
1595#line 665 "include/linux/fs.h"
1596struct block_device {
1597   dev_t bd_dev ;
1598   int bd_openers ;
1599   struct inode *bd_inode ;
1600   struct super_block *bd_super ;
1601   struct mutex bd_mutex ;
1602   struct list_head bd_inodes ;
1603   void *bd_claiming ;
1604   void *bd_holder ;
1605   int bd_holders ;
1606   bool bd_write_holder ;
1607   struct list_head bd_holder_disks ;
1608   struct block_device *bd_contains ;
1609   unsigned int bd_block_size ;
1610   struct hd_struct *bd_part ;
1611   unsigned int bd_part_count ;
1612   int bd_invalidated ;
1613   struct gendisk *bd_disk ;
1614   struct request_queue *bd_queue ;
1615   struct list_head bd_list ;
1616   unsigned long bd_private ;
1617   int bd_fsfreeze_count ;
1618   struct mutex bd_fsfreeze_mutex ;
1619};
1620#line 737
1621struct posix_acl;
1622#line 737
1623struct posix_acl;
1624#line 738
1625struct inode_operations;
1626#line 738 "include/linux/fs.h"
1627union __anonunion_ldv_15809_139 {
1628   unsigned int const   i_nlink ;
1629   unsigned int __i_nlink ;
1630};
1631#line 738 "include/linux/fs.h"
1632union __anonunion_ldv_15828_140 {
1633   struct list_head i_dentry ;
1634   struct rcu_head i_rcu ;
1635};
1636#line 738
1637struct file_lock;
1638#line 738
1639struct cdev;
1640#line 738 "include/linux/fs.h"
1641union __anonunion_ldv_15845_141 {
1642   struct pipe_inode_info *i_pipe ;
1643   struct block_device *i_bdev ;
1644   struct cdev *i_cdev ;
1645};
1646#line 738 "include/linux/fs.h"
1647struct inode {
1648   umode_t i_mode ;
1649   unsigned short i_opflags ;
1650   uid_t i_uid ;
1651   gid_t i_gid ;
1652   unsigned int i_flags ;
1653   struct posix_acl *i_acl ;
1654   struct posix_acl *i_default_acl ;
1655   struct inode_operations  const  *i_op ;
1656   struct super_block *i_sb ;
1657   struct address_space *i_mapping ;
1658   void *i_security ;
1659   unsigned long i_ino ;
1660   union __anonunion_ldv_15809_139 ldv_15809 ;
1661   dev_t i_rdev ;
1662   struct timespec i_atime ;
1663   struct timespec i_mtime ;
1664   struct timespec i_ctime ;
1665   spinlock_t i_lock ;
1666   unsigned short i_bytes ;
1667   blkcnt_t i_blocks ;
1668   loff_t i_size ;
1669   unsigned long i_state ;
1670   struct mutex i_mutex ;
1671   unsigned long dirtied_when ;
1672   struct hlist_node i_hash ;
1673   struct list_head i_wb_list ;
1674   struct list_head i_lru ;
1675   struct list_head i_sb_list ;
1676   union __anonunion_ldv_15828_140 ldv_15828 ;
1677   atomic_t i_count ;
1678   unsigned int i_blkbits ;
1679   u64 i_version ;
1680   atomic_t i_dio_count ;
1681   atomic_t i_writecount ;
1682   struct file_operations  const  *i_fop ;
1683   struct file_lock *i_flock ;
1684   struct address_space i_data ;
1685   struct dquot *i_dquot[2U] ;
1686   struct list_head i_devices ;
1687   union __anonunion_ldv_15845_141 ldv_15845 ;
1688   __u32 i_generation ;
1689   __u32 i_fsnotify_mask ;
1690   struct hlist_head i_fsnotify_marks ;
1691   atomic_t i_readcount ;
1692   void *i_private ;
1693};
1694#line 941 "include/linux/fs.h"
1695struct fown_struct {
1696   rwlock_t lock ;
1697   struct pid *pid ;
1698   enum pid_type pid_type ;
1699   uid_t uid ;
1700   uid_t euid ;
1701   int signum ;
1702};
1703#line 949 "include/linux/fs.h"
1704struct file_ra_state {
1705   unsigned long start ;
1706   unsigned int size ;
1707   unsigned int async_size ;
1708   unsigned int ra_pages ;
1709   unsigned int mmap_miss ;
1710   loff_t prev_pos ;
1711};
1712#line 972 "include/linux/fs.h"
1713union __anonunion_f_u_142 {
1714   struct list_head fu_list ;
1715   struct rcu_head fu_rcuhead ;
1716};
1717#line 972 "include/linux/fs.h"
1718struct file {
1719   union __anonunion_f_u_142 f_u ;
1720   struct path f_path ;
1721   struct file_operations  const  *f_op ;
1722   spinlock_t f_lock ;
1723   int f_sb_list_cpu ;
1724   atomic_long_t f_count ;
1725   unsigned int f_flags ;
1726   fmode_t f_mode ;
1727   loff_t f_pos ;
1728   struct fown_struct f_owner ;
1729   struct cred  const  *f_cred ;
1730   struct file_ra_state f_ra ;
1731   u64 f_version ;
1732   void *f_security ;
1733   void *private_data ;
1734   struct list_head f_ep_links ;
1735   struct list_head f_tfile_llink ;
1736   struct address_space *f_mapping ;
1737   unsigned long f_mnt_write_state ;
1738};
1739#line 1111
1740struct files_struct;
1741#line 1111 "include/linux/fs.h"
1742typedef struct files_struct *fl_owner_t;
1743#line 1112 "include/linux/fs.h"
1744struct file_lock_operations {
1745   void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
1746   void (*fl_release_private)(struct file_lock * ) ;
1747};
1748#line 1117 "include/linux/fs.h"
1749struct lock_manager_operations {
1750   int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
1751   void (*lm_notify)(struct file_lock * ) ;
1752   int (*lm_grant)(struct file_lock * , struct file_lock * , int  ) ;
1753   void (*lm_release_private)(struct file_lock * ) ;
1754   void (*lm_break)(struct file_lock * ) ;
1755   int (*lm_change)(struct file_lock ** , int  ) ;
1756};
1757#line 1134
1758struct nlm_lockowner;
1759#line 1134
1760struct nlm_lockowner;
1761#line 1135 "include/linux/fs.h"
1762struct nfs_lock_info {
1763   u32 state ;
1764   struct nlm_lockowner *owner ;
1765   struct list_head list ;
1766};
1767#line 14 "include/linux/nfs_fs_i.h"
1768struct nfs4_lock_state;
1769#line 14
1770struct nfs4_lock_state;
1771#line 15 "include/linux/nfs_fs_i.h"
1772struct nfs4_lock_info {
1773   struct nfs4_lock_state *owner ;
1774};
1775#line 19
1776struct fasync_struct;
1777#line 19 "include/linux/nfs_fs_i.h"
1778struct __anonstruct_afs_144 {
1779   struct list_head link ;
1780   int state ;
1781};
1782#line 19 "include/linux/nfs_fs_i.h"
1783union __anonunion_fl_u_143 {
1784   struct nfs_lock_info nfs_fl ;
1785   struct nfs4_lock_info nfs4_fl ;
1786   struct __anonstruct_afs_144 afs ;
1787};
1788#line 19 "include/linux/nfs_fs_i.h"
1789struct file_lock {
1790   struct file_lock *fl_next ;
1791   struct list_head fl_link ;
1792   struct list_head fl_block ;
1793   fl_owner_t fl_owner ;
1794   unsigned int fl_flags ;
1795   unsigned char fl_type ;
1796   unsigned int fl_pid ;
1797   struct pid *fl_nspid ;
1798   wait_queue_head_t fl_wait ;
1799   struct file *fl_file ;
1800   loff_t fl_start ;
1801   loff_t fl_end ;
1802   struct fasync_struct *fl_fasync ;
1803   unsigned long fl_break_time ;
1804   unsigned long fl_downgrade_time ;
1805   struct file_lock_operations  const  *fl_ops ;
1806   struct lock_manager_operations  const  *fl_lmops ;
1807   union __anonunion_fl_u_143 fl_u ;
1808};
1809#line 1221 "include/linux/fs.h"
1810struct fasync_struct {
1811   spinlock_t fa_lock ;
1812   int magic ;
1813   int fa_fd ;
1814   struct fasync_struct *fa_next ;
1815   struct file *fa_file ;
1816   struct rcu_head fa_rcu ;
1817};
1818#line 1417
1819struct file_system_type;
1820#line 1417
1821struct super_operations;
1822#line 1417
1823struct xattr_handler;
1824#line 1417
1825struct mtd_info;
1826#line 1417 "include/linux/fs.h"
1827struct super_block {
1828   struct list_head s_list ;
1829   dev_t s_dev ;
1830   unsigned char s_dirt ;
1831   unsigned char s_blocksize_bits ;
1832   unsigned long s_blocksize ;
1833   loff_t s_maxbytes ;
1834   struct file_system_type *s_type ;
1835   struct super_operations  const  *s_op ;
1836   struct dquot_operations  const  *dq_op ;
1837   struct quotactl_ops  const  *s_qcop ;
1838   struct export_operations  const  *s_export_op ;
1839   unsigned long s_flags ;
1840   unsigned long s_magic ;
1841   struct dentry *s_root ;
1842   struct rw_semaphore s_umount ;
1843   struct mutex s_lock ;
1844   int s_count ;
1845   atomic_t s_active ;
1846   void *s_security ;
1847   struct xattr_handler  const  **s_xattr ;
1848   struct list_head s_inodes ;
1849   struct hlist_bl_head s_anon ;
1850   struct list_head *s_files ;
1851   struct list_head s_mounts ;
1852   struct list_head s_dentry_lru ;
1853   int s_nr_dentry_unused ;
1854   spinlock_t s_inode_lru_lock ;
1855   struct list_head s_inode_lru ;
1856   int s_nr_inodes_unused ;
1857   struct block_device *s_bdev ;
1858   struct backing_dev_info *s_bdi ;
1859   struct mtd_info *s_mtd ;
1860   struct hlist_node s_instances ;
1861   struct quota_info s_dquot ;
1862   int s_frozen ;
1863   wait_queue_head_t s_wait_unfrozen ;
1864   char s_id[32U] ;
1865   u8 s_uuid[16U] ;
1866   void *s_fs_info ;
1867   unsigned int s_max_links ;
1868   fmode_t s_mode ;
1869   u32 s_time_gran ;
1870   struct mutex s_vfs_rename_mutex ;
1871   char *s_subtype ;
1872   char *s_options ;
1873   struct dentry_operations  const  *s_d_op ;
1874   int cleancache_poolid ;
1875   struct shrinker s_shrink ;
1876   atomic_long_t s_remove_count ;
1877   int s_readonly_remount ;
1878};
1879#line 1563 "include/linux/fs.h"
1880struct fiemap_extent_info {
1881   unsigned int fi_flags ;
1882   unsigned int fi_extents_mapped ;
1883   unsigned int fi_extents_max ;
1884   struct fiemap_extent *fi_extents_start ;
1885};
1886#line 1602 "include/linux/fs.h"
1887struct file_operations {
1888   struct module *owner ;
1889   loff_t (*llseek)(struct file * , loff_t  , int  ) ;
1890   ssize_t (*read)(struct file * , char * , size_t  , loff_t * ) ;
1891   ssize_t (*write)(struct file * , char const   * , size_t  , loff_t * ) ;
1892   ssize_t (*aio_read)(struct kiocb * , struct iovec  const  * , unsigned long  ,
1893                       loff_t  ) ;
1894   ssize_t (*aio_write)(struct kiocb * , struct iovec  const  * , unsigned long  ,
1895                        loff_t  ) ;
1896   int (*readdir)(struct file * , void * , int (*)(void * , char const   * , int  ,
1897                                                   loff_t  , u64  , unsigned int  ) ) ;
1898   unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
1899   long (*unlocked_ioctl)(struct file * , unsigned int  , unsigned long  ) ;
1900   long (*compat_ioctl)(struct file * , unsigned int  , unsigned long  ) ;
1901   int (*mmap)(struct file * , struct vm_area_struct * ) ;
1902   int (*open)(struct inode * , struct file * ) ;
1903   int (*flush)(struct file * , fl_owner_t  ) ;
1904   int (*release)(struct inode * , struct file * ) ;
1905   int (*fsync)(struct file * , loff_t  , loff_t  , int  ) ;
1906   int (*aio_fsync)(struct kiocb * , int  ) ;
1907   int (*fasync)(int  , struct file * , int  ) ;
1908   int (*lock)(struct file * , int  , struct file_lock * ) ;
1909   ssize_t (*sendpage)(struct file * , struct page * , int  , size_t  , loff_t * ,
1910                       int  ) ;
1911   unsigned long (*get_unmapped_area)(struct file * , unsigned long  , unsigned long  ,
1912                                      unsigned long  , unsigned long  ) ;
1913   int (*check_flags)(int  ) ;
1914   int (*flock)(struct file * , int  , struct file_lock * ) ;
1915   ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t  ,
1916                           unsigned int  ) ;
1917   ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t  ,
1918                          unsigned int  ) ;
1919   int (*setlease)(struct file * , long  , struct file_lock ** ) ;
1920   long (*fallocate)(struct file * , int  , loff_t  , loff_t  ) ;
1921};
1922#line 1637 "include/linux/fs.h"
1923struct inode_operations {
1924   struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
1925   void *(*follow_link)(struct dentry * , struct nameidata * ) ;
1926   int (*permission)(struct inode * , int  ) ;
1927   struct posix_acl *(*get_acl)(struct inode * , int  ) ;
1928   int (*readlink)(struct dentry * , char * , int  ) ;
1929   void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
1930   int (*create)(struct inode * , struct dentry * , umode_t  , struct nameidata * ) ;
1931   int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
1932   int (*unlink)(struct inode * , struct dentry * ) ;
1933   int (*symlink)(struct inode * , struct dentry * , char const   * ) ;
1934   int (*mkdir)(struct inode * , struct dentry * , umode_t  ) ;
1935   int (*rmdir)(struct inode * , struct dentry * ) ;
1936   int (*mknod)(struct inode * , struct dentry * , umode_t  , dev_t  ) ;
1937   int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
1938   void (*truncate)(struct inode * ) ;
1939   int (*setattr)(struct dentry * , struct iattr * ) ;
1940   int (*getattr)(struct vfsmount * , struct dentry * , struct kstat * ) ;
1941   int (*setxattr)(struct dentry * , char const   * , void const   * , size_t  , int  ) ;
1942   ssize_t (*getxattr)(struct dentry * , char const   * , void * , size_t  ) ;
1943   ssize_t (*listxattr)(struct dentry * , char * , size_t  ) ;
1944   int (*removexattr)(struct dentry * , char const   * ) ;
1945   void (*truncate_range)(struct inode * , loff_t  , loff_t  ) ;
1946   int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64  , u64  ) ;
1947};
1948#line 1682 "include/linux/fs.h"
1949struct super_operations {
1950   struct inode *(*alloc_inode)(struct super_block * ) ;
1951   void (*destroy_inode)(struct inode * ) ;
1952   void (*dirty_inode)(struct inode * , int  ) ;
1953   int (*write_inode)(struct inode * , struct writeback_control * ) ;
1954   int (*drop_inode)(struct inode * ) ;
1955   void (*evict_inode)(struct inode * ) ;
1956   void (*put_super)(struct super_block * ) ;
1957   void (*write_super)(struct super_block * ) ;
1958   int (*sync_fs)(struct super_block * , int  ) ;
1959   int (*freeze_fs)(struct super_block * ) ;
1960   int (*unfreeze_fs)(struct super_block * ) ;
1961   int (*statfs)(struct dentry * , struct kstatfs * ) ;
1962   int (*remount_fs)(struct super_block * , int * , char * ) ;
1963   void (*umount_begin)(struct super_block * ) ;
1964   int (*show_options)(struct seq_file * , struct dentry * ) ;
1965   int (*show_devname)(struct seq_file * , struct dentry * ) ;
1966   int (*show_path)(struct seq_file * , struct dentry * ) ;
1967   int (*show_stats)(struct seq_file * , struct dentry * ) ;
1968   ssize_t (*quota_read)(struct super_block * , int  , char * , size_t  , loff_t  ) ;
1969   ssize_t (*quota_write)(struct super_block * , int  , char const   * , size_t  ,
1970                          loff_t  ) ;
1971   int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t  ) ;
1972   int (*nr_cached_objects)(struct super_block * ) ;
1973   void (*free_cached_objects)(struct super_block * , int  ) ;
1974};
1975#line 1834 "include/linux/fs.h"
1976struct file_system_type {
1977   char const   *name ;
1978   int fs_flags ;
1979   struct dentry *(*mount)(struct file_system_type * , int  , char const   * , void * ) ;
1980   void (*kill_sb)(struct super_block * ) ;
1981   struct module *owner ;
1982   struct file_system_type *next ;
1983   struct hlist_head fs_supers ;
1984   struct lock_class_key s_lock_key ;
1985   struct lock_class_key s_umount_key ;
1986   struct lock_class_key s_vfs_rename_key ;
1987   struct lock_class_key i_lock_key ;
1988   struct lock_class_key i_mutex_key ;
1989   struct lock_class_key i_mutex_dir_key ;
1990};
1991#line 2674
1992struct klist_node;
1993#line 2674
1994struct klist_node;
1995#line 37 "include/linux/klist.h"
1996struct klist_node {
1997   void *n_klist ;
1998   struct list_head n_node ;
1999   struct kref n_ref ;
2000};
2001#line 67
2002struct dma_map_ops;
2003#line 67 "include/linux/klist.h"
2004struct dev_archdata {
2005   void *acpi_handle ;
2006   struct dma_map_ops *dma_ops ;
2007   void *iommu ;
2008};
2009#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
2010struct pdev_archdata {
2011
2012};
2013#line 17
2014struct device_private;
2015#line 17
2016struct device_private;
2017#line 18
2018struct device_driver;
2019#line 18
2020struct device_driver;
2021#line 19
2022struct driver_private;
2023#line 19
2024struct driver_private;
2025#line 20
2026struct class;
2027#line 20
2028struct class;
2029#line 21
2030struct subsys_private;
2031#line 21
2032struct subsys_private;
2033#line 22
2034struct bus_type;
2035#line 22
2036struct bus_type;
2037#line 23
2038struct device_node;
2039#line 23
2040struct device_node;
2041#line 24
2042struct iommu_ops;
2043#line 24
2044struct iommu_ops;
2045#line 25 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
2046struct bus_attribute {
2047   struct attribute attr ;
2048   ssize_t (*show)(struct bus_type * , char * ) ;
2049   ssize_t (*store)(struct bus_type * , char const   * , size_t  ) ;
2050};
2051#line 51 "include/linux/device.h"
2052struct device_attribute;
2053#line 51
2054struct driver_attribute;
2055#line 51 "include/linux/device.h"
2056struct bus_type {
2057   char const   *name ;
2058   char const   *dev_name ;
2059   struct device *dev_root ;
2060   struct bus_attribute *bus_attrs ;
2061   struct device_attribute *dev_attrs ;
2062   struct driver_attribute *drv_attrs ;
2063   int (*match)(struct device * , struct device_driver * ) ;
2064   int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
2065   int (*probe)(struct device * ) ;
2066   int (*remove)(struct device * ) ;
2067   void (*shutdown)(struct device * ) ;
2068   int (*suspend)(struct device * , pm_message_t  ) ;
2069   int (*resume)(struct device * ) ;
2070   struct dev_pm_ops  const  *pm ;
2071   struct iommu_ops *iommu_ops ;
2072   struct subsys_private *p ;
2073};
2074#line 125
2075struct device_type;
2076#line 182
2077struct of_device_id;
2078#line 182 "include/linux/device.h"
2079struct device_driver {
2080   char const   *name ;
2081   struct bus_type *bus ;
2082   struct module *owner ;
2083   char const   *mod_name ;
2084   bool suppress_bind_attrs ;
2085   struct of_device_id  const  *of_match_table ;
2086   int (*probe)(struct device * ) ;
2087   int (*remove)(struct device * ) ;
2088   void (*shutdown)(struct device * ) ;
2089   int (*suspend)(struct device * , pm_message_t  ) ;
2090   int (*resume)(struct device * ) ;
2091   struct attribute_group  const  **groups ;
2092   struct dev_pm_ops  const  *pm ;
2093   struct driver_private *p ;
2094};
2095#line 245 "include/linux/device.h"
2096struct driver_attribute {
2097   struct attribute attr ;
2098   ssize_t (*show)(struct device_driver * , char * ) ;
2099   ssize_t (*store)(struct device_driver * , char const   * , size_t  ) ;
2100};
2101#line 299
2102struct class_attribute;
2103#line 299 "include/linux/device.h"
2104struct class {
2105   char const   *name ;
2106   struct module *owner ;
2107   struct class_attribute *class_attrs ;
2108   struct device_attribute *dev_attrs ;
2109   struct bin_attribute *dev_bin_attrs ;
2110   struct kobject *dev_kobj ;
2111   int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ;
2112   char *(*devnode)(struct device * , umode_t * ) ;
2113   void (*class_release)(struct class * ) ;
2114   void (*dev_release)(struct device * ) ;
2115   int (*suspend)(struct device * , pm_message_t  ) ;
2116   int (*resume)(struct device * ) ;
2117   struct kobj_ns_type_operations  const  *ns_type ;
2118   void const   *(*namespace)(struct device * ) ;
2119   struct dev_pm_ops  const  *pm ;
2120   struct subsys_private *p ;
2121};
2122#line 394 "include/linux/device.h"
2123struct class_attribute {
2124   struct attribute attr ;
2125   ssize_t (*show)(struct class * , struct class_attribute * , char * ) ;
2126   ssize_t (*store)(struct class * , struct class_attribute * , char const   * , size_t  ) ;
2127   void const   *(*namespace)(struct class * , struct class_attribute  const  * ) ;
2128};
2129#line 447 "include/linux/device.h"
2130struct device_type {
2131   char const   *name ;
2132   struct attribute_group  const  **groups ;
2133   int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
2134   char *(*devnode)(struct device * , umode_t * ) ;
2135   void (*release)(struct device * ) ;
2136   struct dev_pm_ops  const  *pm ;
2137};
2138#line 474 "include/linux/device.h"
2139struct device_attribute {
2140   struct attribute attr ;
2141   ssize_t (*show)(struct device * , struct device_attribute * , char * ) ;
2142   ssize_t (*store)(struct device * , struct device_attribute * , char const   * ,
2143                    size_t  ) ;
2144};
2145#line 557 "include/linux/device.h"
2146struct device_dma_parameters {
2147   unsigned int max_segment_size ;
2148   unsigned long segment_boundary_mask ;
2149};
2150#line 567
2151struct dma_coherent_mem;
2152#line 567 "include/linux/device.h"
2153struct device {
2154   struct device *parent ;
2155   struct device_private *p ;
2156   struct kobject kobj ;
2157   char const   *init_name ;
2158   struct device_type  const  *type ;
2159   struct mutex mutex ;
2160   struct bus_type *bus ;
2161   struct device_driver *driver ;
2162   void *platform_data ;
2163   struct dev_pm_info power ;
2164   struct dev_pm_domain *pm_domain ;
2165   int numa_node ;
2166   u64 *dma_mask ;
2167   u64 coherent_dma_mask ;
2168   struct device_dma_parameters *dma_parms ;
2169   struct list_head dma_pools ;
2170   struct dma_coherent_mem *dma_mem ;
2171   struct dev_archdata archdata ;
2172   struct device_node *of_node ;
2173   dev_t devt ;
2174   u32 id ;
2175   spinlock_t devres_lock ;
2176   struct list_head devres_head ;
2177   struct klist_node knode_class ;
2178   struct class *class ;
2179   struct attribute_group  const  **groups ;
2180   void (*release)(struct device * ) ;
2181};
2182#line 681 "include/linux/device.h"
2183struct wakeup_source {
2184   char const   *name ;
2185   struct list_head entry ;
2186   spinlock_t lock ;
2187   struct timer_list timer ;
2188   unsigned long timer_expires ;
2189   ktime_t total_time ;
2190   ktime_t max_time ;
2191   ktime_t last_time ;
2192   unsigned long event_count ;
2193   unsigned long active_count ;
2194   unsigned long relax_count ;
2195   unsigned long hit_count ;
2196   unsigned char active : 1 ;
2197};
2198#line 12 "include/linux/mod_devicetable.h"
2199typedef unsigned long kernel_ulong_t;
2200#line 215 "include/linux/mod_devicetable.h"
2201struct of_device_id {
2202   char name[32U] ;
2203   char type[32U] ;
2204   char compatible[128U] ;
2205   void *data ;
2206};
2207#line 492 "include/linux/mod_devicetable.h"
2208struct platform_device_id {
2209   char name[20U] ;
2210   kernel_ulong_t driver_data ;
2211};
2212#line 584
2213struct mfd_cell;
2214#line 584
2215struct mfd_cell;
2216#line 585 "include/linux/mod_devicetable.h"
2217struct platform_device {
2218   char const   *name ;
2219   int id ;
2220   struct device dev ;
2221   u32 num_resources ;
2222   struct resource *resource ;
2223   struct platform_device_id  const  *id_entry ;
2224   struct mfd_cell *mfd_cell ;
2225   struct pdev_archdata archdata ;
2226};
2227#line 51 "include/linux/platform_device.h"
2228struct platform_device_info {
2229   struct device *parent ;
2230   char const   *name ;
2231   int id ;
2232   struct resource  const  *res ;
2233   unsigned int num_res ;
2234   void const   *data ;
2235   size_t size_data ;
2236   u64 dma_mask ;
2237};
2238#line 163 "include/linux/platform_device.h"
2239struct platform_driver {
2240   int (*probe)(struct platform_device * ) ;
2241   int (*remove)(struct platform_device * ) ;
2242   void (*shutdown)(struct platform_device * ) ;
2243   int (*suspend)(struct platform_device * , pm_message_t  ) ;
2244   int (*resume)(struct platform_device * ) ;
2245   struct device_driver driver ;
2246   struct platform_device_id  const  *id_table ;
2247};
2248#line 69 "include/linux/io.h"
2249struct exception_table_entry {
2250   unsigned long insn ;
2251   unsigned long fixup ;
2252};
2253#line 1 "<compiler builtins>"
2254long __builtin_expect(long  , long  ) ;
2255#line 2 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
2256void ldv_spin_lock(void) ;
2257#line 3
2258void ldv_spin_unlock(void) ;
2259#line 4
2260int ldv_spin_trylock(void) ;
2261#line 98 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/bitops.h"
2262__inline static void clear_bit(int nr , unsigned long volatile   *addr ) 
2263{ long volatile   *__cil_tmp3 ;
2264
2265  {
2266#line 105
2267  __cil_tmp3 = (long volatile   *)addr;
2268#line 105
2269  __asm__  volatile   (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; btr %1,%0": "+m" (*__cil_tmp3): "Ir" (nr));
2270#line 107
2271  return;
2272}
2273}
2274#line 195 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/bitops.h"
2275__inline static int test_and_set_bit(int nr , unsigned long volatile   *addr ) 
2276{ int oldbit ;
2277  long volatile   *__cil_tmp4 ;
2278
2279  {
2280#line 199
2281  __cil_tmp4 = (long volatile   *)addr;
2282#line 199
2283  __asm__  volatile   (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; bts %2,%1\n\tsbb %0,%0": "=r" (oldbit),
2284                       "+m" (*__cil_tmp4): "Ir" (nr): "memory");
2285#line 202
2286  return (oldbit);
2287}
2288}
2289#line 101 "include/linux/printk.h"
2290extern int printk(char const   *  , ...) ;
2291#line 192 "include/linux/kernel.h"
2292extern void might_fault(void) ;
2293#line 355 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
2294extern struct pv_cpu_ops pv_cpu_ops ;
2295#line 349 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
2296__inline static void slow_down_io(void) 
2297{ unsigned long __cil_tmp1 ;
2298  void (*__cil_tmp2)(void) ;
2299
2300  {
2301  {
2302#line 351
2303  __cil_tmp1 = (unsigned long )(& pv_cpu_ops) + 216;
2304#line 351
2305  __cil_tmp2 = *((void (**)(void))__cil_tmp1);
2306#line 351
2307  (*__cil_tmp2)();
2308  }
2309#line 352
2310  return;
2311}
2312}
2313#line 27 "include/linux/err.h"
2314__inline static long PTR_ERR(void const   *ptr ) 
2315{ 
2316
2317  {
2318#line 29
2319  return ((long )ptr);
2320}
2321}
2322#line 32 "include/linux/err.h"
2323__inline static long IS_ERR(void const   *ptr ) 
2324{ long tmp ;
2325  unsigned long __cil_tmp3 ;
2326  int __cil_tmp4 ;
2327  long __cil_tmp5 ;
2328
2329  {
2330  {
2331#line 34
2332  __cil_tmp3 = (unsigned long )ptr;
2333#line 34
2334  __cil_tmp4 = __cil_tmp3 > 0xfffffffffffff000UL;
2335#line 34
2336  __cil_tmp5 = (long )__cil_tmp4;
2337#line 34
2338  tmp = __builtin_expect(__cil_tmp5, 0L);
2339  }
2340#line 34
2341  return (tmp);
2342}
2343}
2344#line 22 "include/linux/spinlock_api_smp.h"
2345extern void _raw_spin_lock(raw_spinlock_t * ) ;
2346#line 39
2347extern void _raw_spin_unlock(raw_spinlock_t * ) ;
2348#line 283 "include/linux/spinlock.h"
2349__inline static void ldv_spin_lock_1(spinlock_t *lock ) 
2350{ struct raw_spinlock *__cil_tmp2 ;
2351
2352  {
2353  {
2354#line 285
2355  __cil_tmp2 = (struct raw_spinlock *)lock;
2356#line 285
2357  _raw_spin_lock(__cil_tmp2);
2358  }
2359#line 286
2360  return;
2361}
2362}
2363#line 283
2364__inline static void spin_lock(spinlock_t *lock ) ;
2365#line 323 "include/linux/spinlock.h"
2366__inline static void ldv_spin_unlock_5(spinlock_t *lock ) 
2367{ struct raw_spinlock *__cil_tmp2 ;
2368
2369  {
2370  {
2371#line 325
2372  __cil_tmp2 = (struct raw_spinlock *)lock;
2373#line 325
2374  _raw_spin_unlock(__cil_tmp2);
2375  }
2376#line 326
2377  return;
2378}
2379}
2380#line 323
2381__inline static void spin_unlock(spinlock_t *lock ) ;
2382#line 137 "include/linux/ioport.h"
2383extern struct resource ioport_resource ;
2384#line 181
2385extern struct resource *__request_region(struct resource * , resource_size_t  , resource_size_t  ,
2386                                         char const   * , int  ) ;
2387#line 192
2388extern void __release_region(struct resource * , resource_size_t  , resource_size_t  ) ;
2389#line 308 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
2390__inline static void outb(unsigned char value , int port ) 
2391{ 
2392
2393  {
2394#line 308
2395  __asm__  volatile   ("outb %b0, %w1": : "a" (value), "Nd" (port));
2396#line 309
2397  return;
2398}
2399}
2400#line 308 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
2401__inline static void outb_p(unsigned char value , int port ) 
2402{ int __cil_tmp3 ;
2403  unsigned char __cil_tmp4 ;
2404
2405  {
2406  {
2407#line 308
2408  __cil_tmp3 = (int )value;
2409#line 308
2410  __cil_tmp4 = (unsigned char )__cil_tmp3;
2411#line 308
2412  outb(__cil_tmp4, port);
2413#line 308
2414  slow_down_io();
2415  }
2416#line 309
2417  return;
2418}
2419}
2420#line 26 "include/linux/export.h"
2421extern struct module __this_module ;
2422#line 453 "include/linux/module.h"
2423extern void __module_get(struct module * ) ;
2424#line 220 "include/linux/slub_def.h"
2425extern void *kmem_cache_alloc(struct kmem_cache * , gfp_t  ) ;
2426#line 223
2427void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
2428#line 11 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
2429void ldv_check_alloc_flags(gfp_t flags ) ;
2430#line 12
2431void ldv_check_alloc_nonatomic(void) ;
2432#line 14
2433struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags ) ;
2434#line 61 "include/linux/miscdevice.h"
2435extern int misc_register(struct miscdevice * ) ;
2436#line 62
2437extern int misc_deregister(struct miscdevice * ) ;
2438#line 2402 "include/linux/fs.h"
2439extern loff_t no_llseek(struct file * , loff_t  , int  ) ;
2440#line 2407
2441extern int nonseekable_open(struct inode * , struct file * ) ;
2442#line 40 "include/linux/platform_device.h"
2443extern void platform_device_unregister(struct platform_device * ) ;
2444#line 65
2445extern struct platform_device *platform_device_register_full(struct platform_device_info  const  * ) ;
2446#line 82 "include/linux/platform_device.h"
2447__inline static struct platform_device *platform_device_register_resndata(struct device *parent ,
2448                                                                          char const   *name ,
2449                                                                          int id ,
2450                                                                          struct resource  const  *res ,
2451                                                                          unsigned int num ,
2452                                                                          void const   *data ,
2453                                                                          size_t size ) 
2454{ struct platform_device_info pdevinfo ;
2455  struct platform_device *tmp ;
2456  struct platform_device_info *__cil_tmp10 ;
2457  unsigned long __cil_tmp11 ;
2458  unsigned long __cil_tmp12 ;
2459  unsigned long __cil_tmp13 ;
2460  unsigned long __cil_tmp14 ;
2461  unsigned long __cil_tmp15 ;
2462  unsigned long __cil_tmp16 ;
2463  unsigned long __cil_tmp17 ;
2464  struct platform_device_info  const  *__cil_tmp18 ;
2465
2466  {
2467  {
2468#line 87
2469  __cil_tmp10 = & pdevinfo;
2470#line 87
2471  *((struct device **)__cil_tmp10) = parent;
2472#line 87
2473  __cil_tmp11 = (unsigned long )(& pdevinfo) + 8;
2474#line 87
2475  *((char const   **)__cil_tmp11) = name;
2476#line 87
2477  __cil_tmp12 = (unsigned long )(& pdevinfo) + 16;
2478#line 87
2479  *((int *)__cil_tmp12) = id;
2480#line 87
2481  __cil_tmp13 = (unsigned long )(& pdevinfo) + 24;
2482#line 87
2483  *((struct resource  const  **)__cil_tmp13) = res;
2484#line 87
2485  __cil_tmp14 = (unsigned long )(& pdevinfo) + 32;
2486#line 87
2487  *((unsigned int *)__cil_tmp14) = num;
2488#line 87
2489  __cil_tmp15 = (unsigned long )(& pdevinfo) + 40;
2490#line 87
2491  *((void const   **)__cil_tmp15) = data;
2492#line 87
2493  __cil_tmp16 = (unsigned long )(& pdevinfo) + 48;
2494#line 87
2495  *((size_t *)__cil_tmp16) = size;
2496#line 87
2497  __cil_tmp17 = (unsigned long )(& pdevinfo) + 56;
2498#line 87
2499  *((u64 *)__cil_tmp17) = 0ULL;
2500#line 98
2501  __cil_tmp18 = (struct platform_device_info  const  *)(& pdevinfo);
2502#line 98
2503  tmp = platform_device_register_full(__cil_tmp18);
2504  }
2505#line 98
2506  return (tmp);
2507}
2508}
2509#line 123 "include/linux/platform_device.h"
2510__inline static struct platform_device *platform_device_register_simple(char const   *name ,
2511                                                                        int id , struct resource  const  *res ,
2512                                                                        unsigned int num ) 
2513{ struct platform_device *tmp ;
2514  struct device *__cil_tmp6 ;
2515  void const   *__cil_tmp7 ;
2516
2517  {
2518  {
2519#line 127
2520  __cil_tmp6 = (struct device *)0;
2521#line 127
2522  __cil_tmp7 = (void const   *)0;
2523#line 127
2524  tmp = platform_device_register_resndata(__cil_tmp6, name, id, res, num, __cil_tmp7,
2525                                          0UL);
2526  }
2527#line 127
2528  return (tmp);
2529}
2530}
2531#line 174
2532extern int platform_driver_register(struct platform_driver * ) ;
2533#line 175
2534extern void platform_driver_unregister(struct platform_driver * ) ;
2535#line 40 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess_64.h"
2536extern unsigned long _copy_to_user(void * , void const   * , unsigned int  ) ;
2537#line 63 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess_64.h"
2538__inline static int copy_to_user(void *dst , void const   *src , unsigned int size ) 
2539{ unsigned long tmp ;
2540
2541  {
2542  {
2543#line 65
2544  might_fault();
2545#line 67
2546  tmp = _copy_to_user(dst, src, size);
2547  }
2548#line 67
2549  return ((int )tmp);
2550}
2551}
2552#line 65 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
2553static struct platform_device *ibwdt_platform_device  ;
2554#line 66 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
2555static unsigned long ibwdt_is_open  ;
2556#line 67 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
2557static spinlock_t ibwdt_lock  =    {{{{{0U}}, 3735899821U, 4294967295U, (void *)0xffffffffffffffffUL, {(struct lock_class_key *)0,
2558                                                                       {(struct lock_class *)0,
2559                                                                        (struct lock_class *)0},
2560                                                                       "ibwdt_lock",
2561                                                                       0, 0UL}}}};
2562#line 68 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
2563static char expect_close  ;
2564#line 114 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
2565static int timeout  =    30;
2566#line 120 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
2567static bool nowayout  =    (bool )1;
2568#line 131 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
2569static void ibwdt_ping(void) 
2570{ int wd_margin ;
2571  int *__cil_tmp2 ;
2572  int __cil_tmp3 ;
2573  int __cil_tmp4 ;
2574  int __cil_tmp5 ;
2575  unsigned char __cil_tmp6 ;
2576  int __cil_tmp7 ;
2577  unsigned char __cil_tmp8 ;
2578
2579  {
2580  {
2581#line 133
2582  __cil_tmp2 = & timeout;
2583#line 133
2584  __cil_tmp3 = *__cil_tmp2;
2585#line 133
2586  __cil_tmp4 = __cil_tmp3 + 1;
2587#line 133
2588  __cil_tmp5 = __cil_tmp4 / 2;
2589#line 133
2590  wd_margin = 15 - __cil_tmp5;
2591#line 135
2592  spin_lock(& ibwdt_lock);
2593#line 138
2594  __cil_tmp6 = (unsigned char )wd_margin;
2595#line 138
2596  __cil_tmp7 = (int )__cil_tmp6;
2597#line 138
2598  __cil_tmp8 = (unsigned char )__cil_tmp7;
2599#line 138
2600  outb_p(__cil_tmp8, 1091);
2601#line 140
2602  spin_unlock(& ibwdt_lock);
2603  }
2604#line 141
2605  return;
2606}
2607}
2608#line 143 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
2609static void ibwdt_disable(void) 
2610{ 
2611
2612  {
2613  {
2614#line 145
2615  spin_lock(& ibwdt_lock);
2616#line 146
2617  outb_p((unsigned char)0, 1089);
2618#line 147
2619  spin_unlock(& ibwdt_lock);
2620  }
2621#line 148
2622  return;
2623}
2624}
2625#line 150 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
2626static int ibwdt_set_heartbeat(int t ) 
2627{ int *__cil_tmp2 ;
2628
2629  {
2630#line 152
2631  if (t < 0) {
2632#line 153
2633    return (-22);
2634  } else
2635#line 152
2636  if (t > 30) {
2637#line 153
2638    return (-22);
2639  } else {
2640
2641  }
2642#line 155
2643  __cil_tmp2 = & timeout;
2644#line 155
2645  *__cil_tmp2 = t;
2646#line 156
2647  return (0);
2648}
2649}
2650#line 163 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
2651static ssize_t ibwdt_write(struct file *file , char const   *buf , size_t count ,
2652                           loff_t *ppos ) 
2653{ size_t i ;
2654  char c ;
2655  int __ret_gu ;
2656  unsigned long __val_gu ;
2657  bool *__cil_tmp9 ;
2658  bool __cil_tmp10 ;
2659  signed char __cil_tmp11 ;
2660  int __cil_tmp12 ;
2661
2662  {
2663#line 166
2664  if (count != 0UL) {
2665    {
2666#line 167
2667    __cil_tmp9 = & nowayout;
2668#line 167
2669    __cil_tmp10 = *__cil_tmp9;
2670#line 167
2671    if (! __cil_tmp10) {
2672#line 171
2673      expect_close = (char)0;
2674#line 173
2675      i = 0UL;
2676#line 173
2677      goto ldv_19123;
2678      ldv_19122: 
2679      {
2680#line 175
2681      might_fault();
2682      }
2683#line 175
2684      if (1 == 1) {
2685#line 175
2686        goto case_1;
2687      } else
2688#line 175
2689      if (1 == 2) {
2690#line 175
2691        goto case_2;
2692      } else
2693#line 175
2694      if (1 == 4) {
2695#line 175
2696        goto case_4;
2697      } else
2698#line 175
2699      if (1 == 8) {
2700#line 175
2701        goto case_8;
2702      } else {
2703        {
2704#line 175
2705        goto switch_default;
2706#line 175
2707        if (0) {
2708          case_1: /* CIL Label */ 
2709#line 175
2710          __asm__  volatile   ("call __get_user_1": "=a" (__ret_gu), "=d" (__val_gu): "0" (buf + i));
2711#line 175
2712          goto ldv_19116;
2713          case_2: /* CIL Label */ 
2714#line 175
2715          __asm__  volatile   ("call __get_user_2": "=a" (__ret_gu), "=d" (__val_gu): "0" (buf + i));
2716#line 175
2717          goto ldv_19116;
2718          case_4: /* CIL Label */ 
2719#line 175
2720          __asm__  volatile   ("call __get_user_4": "=a" (__ret_gu), "=d" (__val_gu): "0" (buf + i));
2721#line 175
2722          goto ldv_19116;
2723          case_8: /* CIL Label */ 
2724#line 175
2725          __asm__  volatile   ("call __get_user_8": "=a" (__ret_gu), "=d" (__val_gu): "0" (buf + i));
2726#line 175
2727          goto ldv_19116;
2728          switch_default: /* CIL Label */ 
2729#line 175
2730          __asm__  volatile   ("call __get_user_X": "=a" (__ret_gu), "=d" (__val_gu): "0" (buf + i));
2731#line 175
2732          goto ldv_19116;
2733        } else {
2734          switch_break: /* CIL Label */ ;
2735        }
2736        }
2737      }
2738      ldv_19116: 
2739#line 175
2740      c = (char )__val_gu;
2741#line 175
2742      if (__ret_gu != 0) {
2743#line 176
2744        return (-14L);
2745      } else {
2746
2747      }
2748      {
2749#line 177
2750      __cil_tmp11 = (signed char )c;
2751#line 177
2752      __cil_tmp12 = (int )__cil_tmp11;
2753#line 177
2754      if (__cil_tmp12 == 86) {
2755#line 178
2756        expect_close = (char)42;
2757      } else {
2758
2759      }
2760      }
2761#line 173
2762      i = i + 1UL;
2763      ldv_19123: ;
2764#line 173
2765      if (i != count) {
2766#line 174
2767        goto ldv_19122;
2768      } else {
2769#line 176
2770        goto ldv_19124;
2771      }
2772      ldv_19124: ;
2773    } else {
2774
2775    }
2776    }
2777    {
2778#line 181
2779    ibwdt_ping();
2780    }
2781  } else {
2782
2783  }
2784#line 183
2785  return ((ssize_t )count);
2786}
2787}
2788#line 186 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
2789static long ibwdt_ioctl(struct file *file , unsigned int cmd , unsigned long arg ) 
2790{ int new_margin ;
2791  void *argp ;
2792  int *p ;
2793  struct watchdog_info ident ;
2794  int tmp ;
2795  int __ret_pu ;
2796  int __pu_val ;
2797  int options ;
2798  int retval ;
2799  int __ret_gu ;
2800  unsigned long __val_gu ;
2801  int __ret_gu___0 ;
2802  unsigned long __val_gu___0 ;
2803  int tmp___0 ;
2804  int __ret_pu___0 ;
2805  int __pu_val___0 ;
2806  struct watchdog_info *__cil_tmp20 ;
2807  unsigned long __cil_tmp21 ;
2808  unsigned long __cil_tmp22 ;
2809  unsigned long __cil_tmp23 ;
2810  unsigned long __cil_tmp24 ;
2811  unsigned long __cil_tmp25 ;
2812  unsigned long __cil_tmp26 ;
2813  unsigned long __cil_tmp27 ;
2814  unsigned long __cil_tmp28 ;
2815  unsigned long __cil_tmp29 ;
2816  unsigned long __cil_tmp30 ;
2817  unsigned long __cil_tmp31 ;
2818  unsigned long __cil_tmp32 ;
2819  unsigned long __cil_tmp33 ;
2820  unsigned long __cil_tmp34 ;
2821  unsigned long __cil_tmp35 ;
2822  unsigned long __cil_tmp36 ;
2823  unsigned long __cil_tmp37 ;
2824  unsigned long __cil_tmp38 ;
2825  unsigned long __cil_tmp39 ;
2826  unsigned long __cil_tmp40 ;
2827  unsigned long __cil_tmp41 ;
2828  unsigned long __cil_tmp42 ;
2829  unsigned long __cil_tmp43 ;
2830  unsigned long __cil_tmp44 ;
2831  unsigned long __cil_tmp45 ;
2832  unsigned long __cil_tmp46 ;
2833  unsigned long __cil_tmp47 ;
2834  unsigned long __cil_tmp48 ;
2835  unsigned long __cil_tmp49 ;
2836  unsigned long __cil_tmp50 ;
2837  unsigned long __cil_tmp51 ;
2838  void const   *__cil_tmp52 ;
2839  int __cil_tmp53 ;
2840  int *__cil_tmp54 ;
2841
2842  {
2843#line 189
2844  argp = (void *)arg;
2845#line 190
2846  p = (int *)argp;
2847#line 192
2848  __cil_tmp20 = & ident;
2849#line 192
2850  *((__u32 *)__cil_tmp20) = 33152U;
2851#line 192
2852  __cil_tmp21 = (unsigned long )(& ident) + 4;
2853#line 192
2854  *((__u32 *)__cil_tmp21) = 1U;
2855#line 192
2856  __cil_tmp22 = 0 * 1UL;
2857#line 192
2858  __cil_tmp23 = 8 + __cil_tmp22;
2859#line 192
2860  __cil_tmp24 = (unsigned long )(& ident) + __cil_tmp23;
2861#line 192
2862  *((__u8 *)__cil_tmp24) = (__u8 )'I';
2863#line 192
2864  __cil_tmp25 = 1 * 1UL;
2865#line 192
2866  __cil_tmp26 = 8 + __cil_tmp25;
2867#line 192
2868  __cil_tmp27 = (unsigned long )(& ident) + __cil_tmp26;
2869#line 192
2870  *((__u8 *)__cil_tmp27) = (__u8 )'B';
2871#line 192
2872  __cil_tmp28 = 2 * 1UL;
2873#line 192
2874  __cil_tmp29 = 8 + __cil_tmp28;
2875#line 192
2876  __cil_tmp30 = (unsigned long )(& ident) + __cil_tmp29;
2877#line 192
2878  *((__u8 *)__cil_tmp30) = (__u8 )'7';
2879#line 192
2880  __cil_tmp31 = 3 * 1UL;
2881#line 192
2882  __cil_tmp32 = 8 + __cil_tmp31;
2883#line 192
2884  __cil_tmp33 = (unsigned long )(& ident) + __cil_tmp32;
2885#line 192
2886  *((__u8 *)__cil_tmp33) = (__u8 )'0';
2887#line 192
2888  __cil_tmp34 = 4 * 1UL;
2889#line 192
2890  __cil_tmp35 = 8 + __cil_tmp34;
2891#line 192
2892  __cil_tmp36 = (unsigned long )(& ident) + __cil_tmp35;
2893#line 192
2894  *((__u8 *)__cil_tmp36) = (__u8 )'0';
2895#line 192
2896  __cil_tmp37 = 5 * 1UL;
2897#line 192
2898  __cil_tmp38 = 8 + __cil_tmp37;
2899#line 192
2900  __cil_tmp39 = (unsigned long )(& ident) + __cil_tmp38;
2901#line 192
2902  *((__u8 *)__cil_tmp39) = (__u8 )' ';
2903#line 192
2904  __cil_tmp40 = 6 * 1UL;
2905#line 192
2906  __cil_tmp41 = 8 + __cil_tmp40;
2907#line 192
2908  __cil_tmp42 = (unsigned long )(& ident) + __cil_tmp41;
2909#line 192
2910  *((__u8 *)__cil_tmp42) = (__u8 )'W';
2911#line 192
2912  __cil_tmp43 = 7 * 1UL;
2913#line 192
2914  __cil_tmp44 = 8 + __cil_tmp43;
2915#line 192
2916  __cil_tmp45 = (unsigned long )(& ident) + __cil_tmp44;
2917#line 192
2918  *((__u8 *)__cil_tmp45) = (__u8 )'D';
2919#line 192
2920  __cil_tmp46 = 8 * 1UL;
2921#line 192
2922  __cil_tmp47 = 8 + __cil_tmp46;
2923#line 192
2924  __cil_tmp48 = (unsigned long )(& ident) + __cil_tmp47;
2925#line 192
2926  *((__u8 *)__cil_tmp48) = (__u8 )'T';
2927#line 192
2928  __cil_tmp49 = 9 * 1UL;
2929#line 192
2930  __cil_tmp50 = 8 + __cil_tmp49;
2931#line 192
2932  __cil_tmp51 = (unsigned long )(& ident) + __cil_tmp50;
2933#line 192
2934  *((__u8 *)__cil_tmp51) = (__u8 )'\000';
2935#line 200
2936  if ((int )cmd == -2144839936) {
2937#line 200
2938    goto case_neg_2144839936;
2939  } else
2940#line 205
2941  if ((int )cmd == -2147199231) {
2942#line 205
2943    goto case_neg_2147199231;
2944  } else
2945#line 206
2946  if ((int )cmd == -2147199230) {
2947#line 206
2948    goto case_neg_2147199230;
2949  } else
2950#line 209
2951  if ((int )cmd == -2147199228) {
2952#line 209
2953    goto case_neg_2147199228;
2954  } else
2955#line 226
2956  if ((int )cmd == -2147199227) {
2957#line 226
2958    goto case_neg_2147199227;
2959  } else
2960#line 230
2961  if ((int )cmd == -1073457402) {
2962#line 230
2963    goto case_neg_1073457402;
2964  } else
2965#line 238
2966  if ((int )cmd == -2147199225) {
2967#line 238
2968    goto case_neg_2147199225;
2969  } else {
2970    {
2971#line 241
2972    goto switch_default___3;
2973#line 199
2974    if (0) {
2975      case_neg_2144839936: /* CIL Label */ 
2976      {
2977#line 201
2978      __cil_tmp52 = (void const   *)(& ident);
2979#line 201
2980      tmp = copy_to_user(argp, __cil_tmp52, 40U);
2981      }
2982#line 201
2983      if (tmp != 0) {
2984#line 202
2985        return (-14L);
2986      } else {
2987
2988      }
2989#line 203
2990      goto ldv_19135;
2991      case_neg_2147199231: /* CIL Label */ ;
2992      case_neg_2147199230: /* CIL Label */ 
2993      {
2994#line 207
2995      might_fault();
2996#line 207
2997      __pu_val = 0;
2998      }
2999#line 207
3000      if (4 == 1) {
3001#line 207
3002        goto case_1;
3003      } else
3004#line 207
3005      if (4 == 2) {
3006#line 207
3007        goto case_2;
3008      } else
3009#line 207
3010      if (4 == 4) {
3011#line 207
3012        goto case_4;
3013      } else
3014#line 207
3015      if (4 == 8) {
3016#line 207
3017        goto case_8;
3018      } else {
3019        {
3020#line 207
3021        goto switch_default;
3022#line 207
3023        if (0) {
3024          case_1: /* CIL Label */ 
3025#line 207
3026          __asm__  volatile   ("call __put_user_1": "=a" (__ret_pu): "0" (__pu_val),
3027                               "c" (p): "ebx");
3028#line 207
3029          goto ldv_19141;
3030          case_2: /* CIL Label */ 
3031#line 207
3032          __asm__  volatile   ("call __put_user_2": "=a" (__ret_pu): "0" (__pu_val),
3033                               "c" (p): "ebx");
3034#line 207
3035          goto ldv_19141;
3036          case_4: /* CIL Label */ 
3037#line 207
3038          __asm__  volatile   ("call __put_user_4": "=a" (__ret_pu): "0" (__pu_val),
3039                               "c" (p): "ebx");
3040#line 207
3041          goto ldv_19141;
3042          case_8: /* CIL Label */ 
3043#line 207
3044          __asm__  volatile   ("call __put_user_8": "=a" (__ret_pu): "0" (__pu_val),
3045                               "c" (p): "ebx");
3046#line 207
3047          goto ldv_19141;
3048          switch_default: /* CIL Label */ 
3049#line 207
3050          __asm__  volatile   ("call __put_user_X": "=a" (__ret_pu): "0" (__pu_val),
3051                               "c" (p): "ebx");
3052#line 207
3053          goto ldv_19141;
3054        } else {
3055          switch_break___0: /* CIL Label */ ;
3056        }
3057        }
3058      }
3059      ldv_19141: ;
3060#line 207
3061      return ((long )__ret_pu);
3062      case_neg_2147199228: /* CIL Label */ 
3063      {
3064#line 211
3065      retval = -22;
3066#line 213
3067      might_fault();
3068      }
3069#line 213
3070      if (4 == 1) {
3071#line 213
3072        goto case_1___0;
3073      } else
3074#line 213
3075      if (4 == 2) {
3076#line 213
3077        goto case_2___0;
3078      } else
3079#line 213
3080      if (4 == 4) {
3081#line 213
3082        goto case_4___0;
3083      } else
3084#line 213
3085      if (4 == 8) {
3086#line 213
3087        goto case_8___0;
3088      } else {
3089        {
3090#line 213
3091        goto switch_default___0;
3092#line 213
3093        if (0) {
3094          case_1___0: /* CIL Label */ 
3095#line 213
3096          __asm__  volatile   ("call __get_user_1": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
3097#line 213
3098          goto ldv_19153;
3099          case_2___0: /* CIL Label */ 
3100#line 213
3101          __asm__  volatile   ("call __get_user_2": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
3102#line 213
3103          goto ldv_19153;
3104          case_4___0: /* CIL Label */ 
3105#line 213
3106          __asm__  volatile   ("call __get_user_4": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
3107#line 213
3108          goto ldv_19153;
3109          case_8___0: /* CIL Label */ 
3110#line 213
3111          __asm__  volatile   ("call __get_user_8": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
3112#line 213
3113          goto ldv_19153;
3114          switch_default___0: /* CIL Label */ 
3115#line 213
3116          __asm__  volatile   ("call __get_user_X": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
3117#line 213
3118          goto ldv_19153;
3119        } else {
3120          switch_break___1: /* CIL Label */ ;
3121        }
3122        }
3123      }
3124      ldv_19153: 
3125#line 213
3126      options = (int )__val_gu;
3127#line 213
3128      if (__ret_gu != 0) {
3129#line 214
3130        return (-14L);
3131      } else {
3132
3133      }
3134#line 216
3135      if (options & 1) {
3136        {
3137#line 217
3138        ibwdt_disable();
3139#line 218
3140        retval = 0;
3141        }
3142      } else {
3143
3144      }
3145      {
3146#line 220
3147      __cil_tmp53 = options & 2;
3148#line 220
3149      if (__cil_tmp53 != 0) {
3150        {
3151#line 221
3152        ibwdt_ping();
3153#line 222
3154        retval = 0;
3155        }
3156      } else {
3157
3158      }
3159      }
3160#line 224
3161      return ((long )retval);
3162      case_neg_2147199227: /* CIL Label */ 
3163      {
3164#line 227
3165      ibwdt_ping();
3166      }
3167#line 228
3168      goto ldv_19135;
3169      case_neg_1073457402: /* CIL Label */ 
3170      {
3171#line 231
3172      might_fault();
3173      }
3174#line 231
3175      if (4 == 1) {
3176#line 231
3177        goto case_1___1;
3178      } else
3179#line 231
3180      if (4 == 2) {
3181#line 231
3182        goto case_2___1;
3183      } else
3184#line 231
3185      if (4 == 4) {
3186#line 231
3187        goto case_4___1;
3188      } else
3189#line 231
3190      if (4 == 8) {
3191#line 231
3192        goto case_8___1;
3193      } else {
3194        {
3195#line 231
3196        goto switch_default___1;
3197#line 231
3198        if (0) {
3199          case_1___1: /* CIL Label */ 
3200#line 231
3201          __asm__  volatile   ("call __get_user_1": "=a" (__ret_gu___0), "=d" (__val_gu___0): "0" (p));
3202#line 231
3203          goto ldv_19164;
3204          case_2___1: /* CIL Label */ 
3205#line 231
3206          __asm__  volatile   ("call __get_user_2": "=a" (__ret_gu___0), "=d" (__val_gu___0): "0" (p));
3207#line 231
3208          goto ldv_19164;
3209          case_4___1: /* CIL Label */ 
3210#line 231
3211          __asm__  volatile   ("call __get_user_4": "=a" (__ret_gu___0), "=d" (__val_gu___0): "0" (p));
3212#line 231
3213          goto ldv_19164;
3214          case_8___1: /* CIL Label */ 
3215#line 231
3216          __asm__  volatile   ("call __get_user_8": "=a" (__ret_gu___0), "=d" (__val_gu___0): "0" (p));
3217#line 231
3218          goto ldv_19164;
3219          switch_default___1: /* CIL Label */ 
3220#line 231
3221          __asm__  volatile   ("call __get_user_X": "=a" (__ret_gu___0), "=d" (__val_gu___0): "0" (p));
3222#line 231
3223          goto ldv_19164;
3224        } else {
3225          switch_break___2: /* CIL Label */ ;
3226        }
3227        }
3228      }
3229      ldv_19164: 
3230#line 231
3231      new_margin = (int )__val_gu___0;
3232#line 231
3233      if (__ret_gu___0 != 0) {
3234#line 232
3235        return (-14L);
3236      } else {
3237
3238      }
3239      {
3240#line 233
3241      tmp___0 = ibwdt_set_heartbeat(new_margin);
3242      }
3243#line 233
3244      if (tmp___0 != 0) {
3245#line 234
3246        return (-22L);
3247      } else {
3248
3249      }
3250      {
3251#line 235
3252      ibwdt_ping();
3253      }
3254      case_neg_2147199225: /* CIL Label */ 
3255      {
3256#line 239
3257      might_fault();
3258#line 239
3259      __cil_tmp54 = & timeout;
3260#line 239
3261      __pu_val___0 = *__cil_tmp54;
3262      }
3263#line 239
3264      if (4 == 1) {
3265#line 239
3266        goto case_1___2;
3267      } else
3268#line 239
3269      if (4 == 2) {
3270#line 239
3271        goto case_2___2;
3272      } else
3273#line 239
3274      if (4 == 4) {
3275#line 239
3276        goto case_4___2;
3277      } else
3278#line 239
3279      if (4 == 8) {
3280#line 239
3281        goto case_8___2;
3282      } else {
3283        {
3284#line 239
3285        goto switch_default___2;
3286#line 239
3287        if (0) {
3288          case_1___2: /* CIL Label */ 
3289#line 239
3290          __asm__  volatile   ("call __put_user_1": "=a" (__ret_pu___0): "0" (__pu_val___0),
3291                               "c" (p): "ebx");
3292#line 239
3293          goto ldv_19174;
3294          case_2___2: /* CIL Label */ 
3295#line 239
3296          __asm__  volatile   ("call __put_user_2": "=a" (__ret_pu___0): "0" (__pu_val___0),
3297                               "c" (p): "ebx");
3298#line 239
3299          goto ldv_19174;
3300          case_4___2: /* CIL Label */ 
3301#line 239
3302          __asm__  volatile   ("call __put_user_4": "=a" (__ret_pu___0): "0" (__pu_val___0),
3303                               "c" (p): "ebx");
3304#line 239
3305          goto ldv_19174;
3306          case_8___2: /* CIL Label */ 
3307#line 239
3308          __asm__  volatile   ("call __put_user_8": "=a" (__ret_pu___0): "0" (__pu_val___0),
3309                               "c" (p): "ebx");
3310#line 239
3311          goto ldv_19174;
3312          switch_default___2: /* CIL Label */ 
3313#line 239
3314          __asm__  volatile   ("call __put_user_X": "=a" (__ret_pu___0): "0" (__pu_val___0),
3315                               "c" (p): "ebx");
3316#line 239
3317          goto ldv_19174;
3318        } else {
3319          switch_break___3: /* CIL Label */ ;
3320        }
3321        }
3322      }
3323      ldv_19174: ;
3324#line 239
3325      return ((long )__ret_pu___0);
3326      switch_default___3: /* CIL Label */ ;
3327#line 242
3328      return (-25L);
3329    } else {
3330      switch_break: /* CIL Label */ ;
3331    }
3332    }
3333  }
3334  ldv_19135: ;
3335#line 244
3336  return (0L);
3337}
3338}
3339#line 247 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3340static int ibwdt_open(struct inode *inode , struct file *file ) 
3341{ int tmp ;
3342  int tmp___0 ;
3343  unsigned long volatile   *__cil_tmp5 ;
3344  bool *__cil_tmp6 ;
3345  bool __cil_tmp7 ;
3346
3347  {
3348  {
3349#line 249
3350  __cil_tmp5 = (unsigned long volatile   *)(& ibwdt_is_open);
3351#line 249
3352  tmp = test_and_set_bit(0, __cil_tmp5);
3353  }
3354#line 249
3355  if (tmp != 0) {
3356#line 250
3357    return (-16);
3358  } else {
3359
3360  }
3361  {
3362#line 251
3363  __cil_tmp6 = & nowayout;
3364#line 251
3365  __cil_tmp7 = *__cil_tmp6;
3366#line 251
3367  if ((int )__cil_tmp7) {
3368    {
3369#line 252
3370    __module_get(& __this_module);
3371    }
3372  } else {
3373
3374  }
3375  }
3376  {
3377#line 255
3378  ibwdt_ping();
3379#line 256
3380  tmp___0 = nonseekable_open(inode, file);
3381  }
3382#line 256
3383  return (tmp___0);
3384}
3385}
3386#line 259 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3387static int ibwdt_close(struct inode *inode , struct file *file ) 
3388{ signed char __cil_tmp3 ;
3389  int __cil_tmp4 ;
3390  unsigned long volatile   *__cil_tmp5 ;
3391
3392  {
3393  {
3394#line 261
3395  __cil_tmp3 = (signed char )expect_close;
3396#line 261
3397  __cil_tmp4 = (int )__cil_tmp3;
3398#line 261
3399  if (__cil_tmp4 == 42) {
3400    {
3401#line 262
3402    ibwdt_disable();
3403    }
3404  } else {
3405    {
3406#line 264
3407    printk("<2>ib700wdt: WDT device closed unexpectedly.  WDT will not stop!\n");
3408#line 265
3409    ibwdt_ping();
3410    }
3411  }
3412  }
3413  {
3414#line 267
3415  __cil_tmp5 = (unsigned long volatile   *)(& ibwdt_is_open);
3416#line 267
3417  clear_bit(0, __cil_tmp5);
3418#line 268
3419  expect_close = (char)0;
3420  }
3421#line 269
3422  return (0);
3423}
3424}
3425#line 276 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3426static struct file_operations  const  ibwdt_fops  = 
3427#line 276
3428     {& __this_module, & no_llseek, (ssize_t (*)(struct file * , char * , size_t  ,
3429                                               loff_t * ))0, & ibwdt_write, (ssize_t (*)(struct kiocb * ,
3430                                                                                         struct iovec  const  * ,
3431                                                                                         unsigned long  ,
3432                                                                                         loff_t  ))0,
3433    (ssize_t (*)(struct kiocb * , struct iovec  const  * , unsigned long  , loff_t  ))0,
3434    (int (*)(struct file * , void * , int (*)(void * , char const   * , int  , loff_t  ,
3435                                              u64  , unsigned int  ) ))0, (unsigned int (*)(struct file * ,
3436                                                                                            struct poll_table_struct * ))0,
3437    & ibwdt_ioctl, (long (*)(struct file * , unsigned int  , unsigned long  ))0, (int (*)(struct file * ,
3438                                                                                          struct vm_area_struct * ))0,
3439    & ibwdt_open, (int (*)(struct file * , fl_owner_t  ))0, & ibwdt_close, (int (*)(struct file * ,
3440                                                                                    loff_t  ,
3441                                                                                    loff_t  ,
3442                                                                                    int  ))0,
3443    (int (*)(struct kiocb * , int  ))0, (int (*)(int  , struct file * , int  ))0,
3444    (int (*)(struct file * , int  , struct file_lock * ))0, (ssize_t (*)(struct file * ,
3445                                                                         struct page * ,
3446                                                                         int  , size_t  ,
3447                                                                         loff_t * ,
3448                                                                         int  ))0,
3449    (unsigned long (*)(struct file * , unsigned long  , unsigned long  , unsigned long  ,
3450                       unsigned long  ))0, (int (*)(int  ))0, (int (*)(struct file * ,
3451                                                                       int  , struct file_lock * ))0,
3452    (ssize_t (*)(struct pipe_inode_info * , struct file * , loff_t * , size_t  , unsigned int  ))0,
3453    (ssize_t (*)(struct file * , loff_t * , struct pipe_inode_info * , size_t  , unsigned int  ))0,
3454    (int (*)(struct file * , long  , struct file_lock ** ))0, (long (*)(struct file * ,
3455                                                                        int  , loff_t  ,
3456                                                                        loff_t  ))0};
3457#line 285 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3458static struct miscdevice ibwdt_miscdev  = 
3459#line 285
3460     {130, "watchdog", & ibwdt_fops, {(struct list_head *)0, (struct list_head *)0},
3461    (struct device *)0, (struct device *)0, (char const   *)0, (unsigned short)0};
3462#line 295 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3463static int ibwdt_probe(struct platform_device *dev ) 
3464{ int res ;
3465  struct resource *tmp ;
3466  struct resource *tmp___0 ;
3467  int tmp___1 ;
3468  struct resource *__cil_tmp6 ;
3469  unsigned long __cil_tmp7 ;
3470  unsigned long __cil_tmp8 ;
3471  struct resource *__cil_tmp9 ;
3472  unsigned long __cil_tmp10 ;
3473  unsigned long __cil_tmp11 ;
3474  int *__cil_tmp12 ;
3475  int __cil_tmp13 ;
3476  int *__cil_tmp14 ;
3477  int __cil_tmp15 ;
3478
3479  {
3480  {
3481#line 300
3482  tmp = __request_region(& ioport_resource, 1089ULL, 1ULL, "IB700 WDT", 0);
3483  }
3484  {
3485#line 300
3486  __cil_tmp6 = (struct resource *)0;
3487#line 300
3488  __cil_tmp7 = (unsigned long )__cil_tmp6;
3489#line 300
3490  __cil_tmp8 = (unsigned long )tmp;
3491#line 300
3492  if (__cil_tmp8 == __cil_tmp7) {
3493    {
3494#line 301
3495    printk("<3>ib700wdt: STOP method I/O %X is not available\n", 1089);
3496#line 302
3497    res = -5;
3498    }
3499#line 303
3500    goto out_nostopreg;
3501  } else {
3502
3503  }
3504  }
3505  {
3506#line 307
3507  tmp___0 = __request_region(& ioport_resource, 1091ULL, 1ULL, "IB700 WDT", 0);
3508  }
3509  {
3510#line 307
3511  __cil_tmp9 = (struct resource *)0;
3512#line 307
3513  __cil_tmp10 = (unsigned long )__cil_tmp9;
3514#line 307
3515  __cil_tmp11 = (unsigned long )tmp___0;
3516#line 307
3517  if (__cil_tmp11 == __cil_tmp10) {
3518    {
3519#line 308
3520    printk("<3>ib700wdt: START method I/O %X is not available\n", 1091);
3521#line 309
3522    res = -5;
3523    }
3524#line 310
3525    goto out_nostartreg;
3526  } else {
3527
3528  }
3529  }
3530  {
3531#line 315
3532  __cil_tmp12 = & timeout;
3533#line 315
3534  __cil_tmp13 = *__cil_tmp12;
3535#line 315
3536  tmp___1 = ibwdt_set_heartbeat(__cil_tmp13);
3537  }
3538#line 315
3539  if (tmp___1 != 0) {
3540    {
3541#line 316
3542    ibwdt_set_heartbeat(30);
3543#line 317
3544    __cil_tmp14 = & timeout;
3545#line 317
3546    __cil_tmp15 = *__cil_tmp14;
3547#line 317
3548    printk("<6>ib700wdt: timeout value must be 0<=x<=30, using %d\n", __cil_tmp15);
3549    }
3550  } else {
3551
3552  }
3553  {
3554#line 320
3555  res = misc_register(& ibwdt_miscdev);
3556  }
3557#line 321
3558  if (res != 0) {
3559    {
3560#line 322
3561    printk("<3>ib700wdt: failed to register misc device\n");
3562    }
3563#line 323
3564    goto out_nomisc;
3565  } else {
3566
3567  }
3568#line 325
3569  return (0);
3570  out_nomisc: 
3571  {
3572#line 328
3573  __release_region(& ioport_resource, 1091ULL, 1ULL);
3574  }
3575  out_nostartreg: 
3576  {
3577#line 331
3578  __release_region(& ioport_resource, 1089ULL, 1ULL);
3579  }
3580  out_nostopreg: ;
3581#line 334
3582  return (res);
3583}
3584}
3585#line 337 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3586static int ibwdt_remove(struct platform_device *dev ) 
3587{ 
3588
3589  {
3590  {
3591#line 339
3592  misc_deregister(& ibwdt_miscdev);
3593#line 340
3594  __release_region(& ioport_resource, 1091ULL, 1ULL);
3595#line 342
3596  __release_region(& ioport_resource, 1089ULL, 1ULL);
3597  }
3598#line 344
3599  return (0);
3600}
3601}
3602#line 347 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3603static void ibwdt_shutdown(struct platform_device *dev ) 
3604{ 
3605
3606  {
3607  {
3608#line 350
3609  ibwdt_disable();
3610  }
3611#line 351
3612  return;
3613}
3614}
3615#line 353 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3616static struct platform_driver ibwdt_driver  =    {& ibwdt_probe, & ibwdt_remove, & ibwdt_shutdown, (int (*)(struct platform_device * ,
3617                                                              pm_message_t  ))0, (int (*)(struct platform_device * ))0,
3618    {"ib700wdt", (struct bus_type *)0, & __this_module, (char const   *)0, (_Bool)0,
3619     (struct of_device_id  const  *)0, (int (*)(struct device * ))0, (int (*)(struct device * ))0,
3620     (void (*)(struct device * ))0, (int (*)(struct device * , pm_message_t  ))0,
3621     (int (*)(struct device * ))0, (struct attribute_group  const  **)0, (struct dev_pm_ops  const  *)0,
3622     (struct driver_private *)0}, (struct platform_device_id  const  *)0};
3623#line 363 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3624static int ibwdt_init(void) 
3625{ int err ;
3626  long tmp ;
3627  long tmp___0 ;
3628  struct resource  const  *__cil_tmp4 ;
3629  void const   *__cil_tmp5 ;
3630  void const   *__cil_tmp6 ;
3631
3632  {
3633  {
3634#line 367
3635  printk("<6>ib700wdt: WDT driver for IB700 single board computer initialising\n");
3636#line 369
3637  err = platform_driver_register(& ibwdt_driver);
3638  }
3639#line 370
3640  if (err != 0) {
3641#line 371
3642    return (err);
3643  } else {
3644
3645  }
3646  {
3647#line 373
3648  __cil_tmp4 = (struct resource  const  *)0;
3649#line 373
3650  ibwdt_platform_device = platform_device_register_simple("ib700wdt", -1, __cil_tmp4,
3651                                                          0U);
3652#line 375
3653  __cil_tmp5 = (void const   *)ibwdt_platform_device;
3654#line 375
3655  tmp___0 = IS_ERR(__cil_tmp5);
3656  }
3657#line 375
3658  if (tmp___0 != 0L) {
3659    {
3660#line 376
3661    __cil_tmp6 = (void const   *)ibwdt_platform_device;
3662#line 376
3663    tmp = PTR_ERR(__cil_tmp6);
3664#line 376
3665    err = (int )tmp;
3666    }
3667#line 377
3668    goto unreg_platform_driver;
3669  } else {
3670
3671  }
3672#line 380
3673  return (0);
3674  unreg_platform_driver: 
3675  {
3676#line 383
3677  platform_driver_unregister(& ibwdt_driver);
3678  }
3679#line 384
3680  return (err);
3681}
3682}
3683#line 387 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3684static void ibwdt_exit(void) 
3685{ 
3686
3687  {
3688  {
3689#line 389
3690  platform_device_unregister(ibwdt_platform_device);
3691#line 390
3692  platform_driver_unregister(& ibwdt_driver);
3693#line 391
3694  printk("<6>ib700wdt: Watchdog Module Unloaded\n");
3695  }
3696#line 392
3697  return;
3698}
3699}
3700#line 420
3701extern void ldv_check_final_state(void) ;
3702#line 423
3703extern void ldv_check_return_value(int  ) ;
3704#line 426
3705extern void ldv_initialize(void) ;
3706#line 429
3707extern int __VERIFIER_nondet_int(void) ;
3708#line 432 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3709int LDV_IN_INTERRUPT  ;
3710#line 435 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3711void main(void) 
3712{ struct file *var_group1 ;
3713  char const   *var_ibwdt_write_3_p1 ;
3714  size_t var_ibwdt_write_3_p2 ;
3715  loff_t *var_ibwdt_write_3_p3 ;
3716  ssize_t res_ibwdt_write_3 ;
3717  unsigned int var_ibwdt_ioctl_4_p1 ;
3718  unsigned long var_ibwdt_ioctl_4_p2 ;
3719  struct inode *var_group2 ;
3720  int res_ibwdt_open_5 ;
3721  struct platform_device *var_group3 ;
3722  int res_ibwdt_probe_7 ;
3723  int ldv_s_ibwdt_fops_file_operations ;
3724  int ldv_s_ibwdt_driver_platform_driver ;
3725  int tmp ;
3726  int tmp___0 ;
3727  int tmp___1 ;
3728  int __cil_tmp17 ;
3729
3730  {
3731  {
3732#line 592
3733  ldv_s_ibwdt_fops_file_operations = 0;
3734#line 595
3735  ldv_s_ibwdt_driver_platform_driver = 0;
3736#line 563
3737  LDV_IN_INTERRUPT = 1;
3738#line 572
3739  ldv_initialize();
3740#line 590
3741  tmp = ibwdt_init();
3742  }
3743#line 590
3744  if (tmp != 0) {
3745#line 591
3746    goto ldv_final;
3747  } else {
3748
3749  }
3750#line 598
3751  goto ldv_19263;
3752  ldv_19262: 
3753  {
3754#line 603
3755  tmp___0 = __VERIFIER_nondet_int();
3756  }
3757#line 605
3758  if (tmp___0 == 0) {
3759#line 605
3760    goto case_0;
3761  } else
3762#line 638
3763  if (tmp___0 == 1) {
3764#line 638
3765    goto case_1;
3766  } else
3767#line 671
3768  if (tmp___0 == 2) {
3769#line 671
3770    goto case_2;
3771  } else
3772#line 701
3773  if (tmp___0 == 3) {
3774#line 701
3775    goto case_3;
3776  } else
3777#line 731
3778  if (tmp___0 == 4) {
3779#line 731
3780    goto case_4;
3781  } else
3782#line 760
3783  if (tmp___0 == 5) {
3784#line 760
3785    goto case_5;
3786  } else {
3787    {
3788#line 788
3789    goto switch_default;
3790#line 603
3791    if (0) {
3792      case_0: /* CIL Label */ ;
3793#line 608
3794      if (ldv_s_ibwdt_fops_file_operations == 0) {
3795        {
3796#line 619
3797        res_ibwdt_open_5 = ibwdt_open(var_group2, var_group1);
3798#line 620
3799        ldv_check_return_value(res_ibwdt_open_5);
3800        }
3801#line 621
3802        if (res_ibwdt_open_5 != 0) {
3803#line 622
3804          goto ldv_module_exit;
3805        } else {
3806
3807        }
3808#line 631
3809        ldv_s_ibwdt_fops_file_operations = ldv_s_ibwdt_fops_file_operations + 1;
3810      } else {
3811
3812      }
3813#line 637
3814      goto ldv_19255;
3815      case_1: /* CIL Label */ ;
3816#line 641
3817      if (ldv_s_ibwdt_fops_file_operations == 1) {
3818        {
3819#line 652
3820        res_ibwdt_write_3 = ibwdt_write(var_group1, var_ibwdt_write_3_p1, var_ibwdt_write_3_p2,
3821                                        var_ibwdt_write_3_p3);
3822#line 653
3823        __cil_tmp17 = (int )res_ibwdt_write_3;
3824#line 653
3825        ldv_check_return_value(__cil_tmp17);
3826        }
3827#line 654
3828        if (res_ibwdt_write_3 < 0L) {
3829#line 655
3830          goto ldv_module_exit;
3831        } else {
3832
3833        }
3834#line 664
3835        ldv_s_ibwdt_fops_file_operations = ldv_s_ibwdt_fops_file_operations + 1;
3836      } else {
3837
3838      }
3839#line 670
3840      goto ldv_19255;
3841      case_2: /* CIL Label */ ;
3842#line 674
3843      if (ldv_s_ibwdt_fops_file_operations == 2) {
3844        {
3845#line 685
3846        ibwdt_close(var_group2, var_group1);
3847#line 694
3848        ldv_s_ibwdt_fops_file_operations = 0;
3849        }
3850      } else {
3851
3852      }
3853#line 700
3854      goto ldv_19255;
3855      case_3: /* CIL Label */ 
3856      {
3857#line 715
3858      ibwdt_ioctl(var_group1, var_ibwdt_ioctl_4_p1, var_ibwdt_ioctl_4_p2);
3859      }
3860#line 730
3861      goto ldv_19255;
3862      case_4: /* CIL Label */ ;
3863#line 734
3864      if (ldv_s_ibwdt_driver_platform_driver == 0) {
3865        {
3866#line 745
3867        res_ibwdt_probe_7 = ibwdt_probe(var_group3);
3868#line 746
3869        ldv_check_return_value(res_ibwdt_probe_7);
3870        }
3871#line 747
3872        if (res_ibwdt_probe_7 != 0) {
3873#line 748
3874          goto ldv_module_exit;
3875        } else {
3876
3877        }
3878#line 753
3879        ldv_s_ibwdt_driver_platform_driver = ldv_s_ibwdt_driver_platform_driver + 1;
3880      } else {
3881
3882      }
3883#line 759
3884      goto ldv_19255;
3885      case_5: /* CIL Label */ ;
3886#line 763
3887      if (ldv_s_ibwdt_driver_platform_driver == 1) {
3888        {
3889#line 780
3890        ibwdt_shutdown(var_group3);
3891#line 781
3892        ldv_s_ibwdt_driver_platform_driver = 0;
3893        }
3894      } else {
3895
3896      }
3897#line 787
3898      goto ldv_19255;
3899      switch_default: /* CIL Label */ ;
3900#line 788
3901      goto ldv_19255;
3902    } else {
3903      switch_break: /* CIL Label */ ;
3904    }
3905    }
3906  }
3907  ldv_19255: ;
3908  ldv_19263: 
3909  {
3910#line 598
3911  tmp___1 = __VERIFIER_nondet_int();
3912  }
3913#line 598
3914  if (tmp___1 != 0) {
3915#line 601
3916    goto ldv_19262;
3917  } else
3918#line 598
3919  if (ldv_s_ibwdt_fops_file_operations != 0) {
3920#line 601
3921    goto ldv_19262;
3922  } else
3923#line 598
3924  if (ldv_s_ibwdt_driver_platform_driver != 0) {
3925#line 601
3926    goto ldv_19262;
3927  } else {
3928#line 603
3929    goto ldv_19264;
3930  }
3931  ldv_19264: ;
3932  ldv_module_exit: 
3933  {
3934#line 812
3935  ibwdt_exit();
3936  }
3937  ldv_final: 
3938  {
3939#line 815
3940  ldv_check_final_state();
3941  }
3942#line 818
3943  return;
3944}
3945}
3946#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast-assert.h"
3947void ldv_blast_assert(void) 
3948{ 
3949
3950  {
3951  ERROR: ;
3952#line 6
3953  goto ERROR;
3954}
3955}
3956#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast.h"
3957extern int __VERIFIER_nondet_int(void) ;
3958#line 839 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3959int ldv_spin  =    0;
3960#line 843 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3961void ldv_check_alloc_flags(gfp_t flags ) 
3962{ 
3963
3964  {
3965#line 846
3966  if (ldv_spin != 0) {
3967#line 846
3968    if (flags != 32U) {
3969      {
3970#line 846
3971      ldv_blast_assert();
3972      }
3973    } else {
3974
3975    }
3976  } else {
3977
3978  }
3979#line 849
3980  return;
3981}
3982}
3983#line 849
3984extern struct page *ldv_some_page(void) ;
3985#line 852 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
3986struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags ) 
3987{ struct page *tmp ;
3988
3989  {
3990#line 855
3991  if (ldv_spin != 0) {
3992#line 855
3993    if (flags != 32U) {
3994      {
3995#line 855
3996      ldv_blast_assert();
3997      }
3998    } else {
3999
4000    }
4001  } else {
4002
4003  }
4004  {
4005#line 857
4006  tmp = ldv_some_page();
4007  }
4008#line 857
4009  return (tmp);
4010}
4011}
4012#line 861 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
4013void ldv_check_alloc_nonatomic(void) 
4014{ 
4015
4016  {
4017#line 864
4018  if (ldv_spin != 0) {
4019    {
4020#line 864
4021    ldv_blast_assert();
4022    }
4023  } else {
4024
4025  }
4026#line 867
4027  return;
4028}
4029}
4030#line 868 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
4031void ldv_spin_lock(void) 
4032{ 
4033
4034  {
4035#line 871
4036  ldv_spin = 1;
4037#line 872
4038  return;
4039}
4040}
4041#line 875 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
4042void ldv_spin_unlock(void) 
4043{ 
4044
4045  {
4046#line 878
4047  ldv_spin = 0;
4048#line 879
4049  return;
4050}
4051}
4052#line 882 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
4053int ldv_spin_trylock(void) 
4054{ int is_lock ;
4055
4056  {
4057  {
4058#line 887
4059  is_lock = __VERIFIER_nondet_int();
4060  }
4061#line 889
4062  if (is_lock != 0) {
4063#line 892
4064    return (0);
4065  } else {
4066#line 897
4067    ldv_spin = 1;
4068#line 899
4069    return (1);
4070  }
4071}
4072}
4073#line 903 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
4074__inline static void spin_lock(spinlock_t *lock ) 
4075{ 
4076
4077  {
4078  {
4079#line 908
4080  ldv_spin_lock();
4081#line 910
4082  ldv_spin_lock_1(lock);
4083  }
4084#line 911
4085  return;
4086}
4087}
4088#line 945 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
4089__inline static void spin_unlock(spinlock_t *lock ) 
4090{ 
4091
4092  {
4093  {
4094#line 950
4095  ldv_spin_unlock();
4096#line 952
4097  ldv_spin_unlock_5(lock);
4098  }
4099#line 953
4100  return;
4101}
4102}
4103#line 1066 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/17347/dscv_tempdir/dscv/ri/43_1a/drivers/watchdog/ib700wdt.c.p"
4104void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 ) 
4105{ 
4106
4107  {
4108  {
4109#line 1072
4110  ldv_check_alloc_flags(ldv_func_arg2);
4111#line 1074
4112  kmem_cache_alloc(ldv_func_arg1, ldv_func_arg2);
4113  }
4114#line 1075
4115  return ((void *)0);
4116}
4117}