Showing error 227

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