Showing error 310

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