Showing error 699

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--usb--storage--ums-alauda.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c
Line in file: 14611
Project: SV-COMP 2013
Project version: 2.6.28
Tools: Manual Work
Entered: 2013-01-17 16:57:54 UTC


Source:

    1/* Generated by CIL v. 1.3.7 */
    2/* print_CIL_Input is true */
    3
    4#line 19 "include/asm-generic/int-ll64.h"
    5typedef signed char __s8;
    6#line 20 "include/asm-generic/int-ll64.h"
    7typedef unsigned char __u8;
    8#line 22 "include/asm-generic/int-ll64.h"
    9typedef short __s16;
   10#line 23 "include/asm-generic/int-ll64.h"
   11typedef unsigned short __u16;
   12#line 25 "include/asm-generic/int-ll64.h"
   13typedef int __s32;
   14#line 26 "include/asm-generic/int-ll64.h"
   15typedef unsigned int __u32;
   16#line 29 "include/asm-generic/int-ll64.h"
   17typedef long long __s64;
   18#line 30 "include/asm-generic/int-ll64.h"
   19typedef unsigned long long __u64;
   20#line 43 "include/asm-generic/int-ll64.h"
   21typedef unsigned char u8;
   22#line 45 "include/asm-generic/int-ll64.h"
   23typedef short s16;
   24#line 46 "include/asm-generic/int-ll64.h"
   25typedef unsigned short u16;
   26#line 48 "include/asm-generic/int-ll64.h"
   27typedef int s32;
   28#line 49 "include/asm-generic/int-ll64.h"
   29typedef unsigned int u32;
   30#line 51 "include/asm-generic/int-ll64.h"
   31typedef long long s64;
   32#line 52 "include/asm-generic/int-ll64.h"
   33typedef unsigned long long u64;
   34#line 14 "include/asm-generic/posix_types.h"
   35typedef long __kernel_long_t;
   36#line 15 "include/asm-generic/posix_types.h"
   37typedef unsigned long __kernel_ulong_t;
   38#line 31 "include/asm-generic/posix_types.h"
   39typedef int __kernel_pid_t;
   40#line 52 "include/asm-generic/posix_types.h"
   41typedef unsigned int __kernel_uid32_t;
   42#line 53 "include/asm-generic/posix_types.h"
   43typedef unsigned int __kernel_gid32_t;
   44#line 75 "include/asm-generic/posix_types.h"
   45typedef __kernel_ulong_t __kernel_size_t;
   46#line 76 "include/asm-generic/posix_types.h"
   47typedef __kernel_long_t __kernel_ssize_t;
   48#line 90 "include/asm-generic/posix_types.h"
   49typedef __kernel_long_t __kernel_off_t;
   50#line 91 "include/asm-generic/posix_types.h"
   51typedef long long __kernel_loff_t;
   52#line 92 "include/asm-generic/posix_types.h"
   53typedef __kernel_long_t __kernel_time_t;
   54#line 93 "include/asm-generic/posix_types.h"
   55typedef __kernel_long_t __kernel_clock_t;
   56#line 94 "include/asm-generic/posix_types.h"
   57typedef int __kernel_timer_t;
   58#line 95 "include/asm-generic/posix_types.h"
   59typedef int __kernel_clockid_t;
   60#line 21 "include/linux/types.h"
   61typedef __u32 __kernel_dev_t;
   62#line 24 "include/linux/types.h"
   63typedef __kernel_dev_t dev_t;
   64#line 27 "include/linux/types.h"
   65typedef unsigned short umode_t;
   66#line 29 "include/linux/types.h"
   67typedef __kernel_off_t off_t;
   68#line 30 "include/linux/types.h"
   69typedef __kernel_pid_t pid_t;
   70#line 35 "include/linux/types.h"
   71typedef __kernel_clockid_t clockid_t;
   72#line 38 "include/linux/types.h"
   73typedef _Bool bool;
   74#line 40 "include/linux/types.h"
   75typedef __kernel_uid32_t uid_t;
   76#line 41 "include/linux/types.h"
   77typedef __kernel_gid32_t gid_t;
   78#line 54 "include/linux/types.h"
   79typedef __kernel_loff_t loff_t;
   80#line 63 "include/linux/types.h"
   81typedef __kernel_size_t size_t;
   82#line 68 "include/linux/types.h"
   83typedef __kernel_ssize_t ssize_t;
   84#line 78 "include/linux/types.h"
   85typedef __kernel_time_t time_t;
   86#line 111 "include/linux/types.h"
   87typedef __s32 int32_t;
   88#line 117 "include/linux/types.h"
   89typedef __u32 uint32_t;
   90#line 142 "include/linux/types.h"
   91typedef unsigned long sector_t;
   92#line 143 "include/linux/types.h"
   93typedef unsigned long blkcnt_t;
   94#line 155 "include/linux/types.h"
   95typedef u64 dma_addr_t;
   96#line 178 "include/linux/types.h"
   97typedef __u16 __le16;
   98#line 180 "include/linux/types.h"
   99typedef __u32 __le32;
  100#line 181 "include/linux/types.h"
  101typedef __u32 __be32;
  102#line 202 "include/linux/types.h"
  103typedef unsigned int gfp_t;
  104#line 203 "include/linux/types.h"
  105typedef unsigned int fmode_t;
  106#line 219 "include/linux/types.h"
  107struct __anonstruct_atomic_t_7 {
  108   int counter ;
  109};
  110#line 219 "include/linux/types.h"
  111typedef struct __anonstruct_atomic_t_7 atomic_t;
  112#line 224 "include/linux/types.h"
  113struct __anonstruct_atomic64_t_8 {
  114   long counter ;
  115};
  116#line 224 "include/linux/types.h"
  117typedef struct __anonstruct_atomic64_t_8 atomic64_t;
  118#line 229 "include/linux/types.h"
  119struct list_head {
  120   struct list_head *next ;
  121   struct list_head *prev ;
  122};
  123#line 233
  124struct hlist_node;
  125#line 233 "include/linux/types.h"
  126struct hlist_head {
  127   struct hlist_node *first ;
  128};
  129#line 237 "include/linux/types.h"
  130struct hlist_node {
  131   struct hlist_node *next ;
  132   struct hlist_node **pprev ;
  133};
  134#line 253 "include/linux/types.h"
  135struct rcu_head {
  136   struct rcu_head *next ;
  137   void (*func)(struct rcu_head *head ) ;
  138};
  139#line 56 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
  140struct module;
  141#line 56
  142struct module;
  143#line 146 "include/linux/init.h"
  144typedef void (*ctor_fn_t)(void);
  145#line 47 "include/linux/dynamic_debug.h"
  146struct device;
  147#line 47
  148struct device;
  149#line 135 "include/linux/kernel.h"
  150struct completion;
  151#line 135
  152struct completion;
  153#line 136
  154struct pt_regs;
  155#line 136
  156struct pt_regs;
  157#line 349
  158struct pid;
  159#line 349
  160struct pid;
  161#line 12 "include/linux/thread_info.h"
  162struct timespec;
  163#line 12
  164struct timespec;
  165#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page.h"
  166struct page;
  167#line 18
  168struct page;
  169#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
  170struct task_struct;
  171#line 20
  172struct task_struct;
  173#line 7 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  174struct task_struct;
  175#line 8
  176struct mm_struct;
  177#line 8
  178struct mm_struct;
  179#line 99 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
  180struct pt_regs {
  181   unsigned long r15 ;
  182   unsigned long r14 ;
  183   unsigned long r13 ;
  184   unsigned long r12 ;
  185   unsigned long bp ;
  186   unsigned long bx ;
  187   unsigned long r11 ;
  188   unsigned long r10 ;
  189   unsigned long r9 ;
  190   unsigned long r8 ;
  191   unsigned long ax ;
  192   unsigned long cx ;
  193   unsigned long dx ;
  194   unsigned long si ;
  195   unsigned long di ;
  196   unsigned long orig_ax ;
  197   unsigned long ip ;
  198   unsigned long cs ;
  199   unsigned long flags ;
  200   unsigned long sp ;
  201   unsigned long ss ;
  202};
  203#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
  204struct __anonstruct____missing_field_name_15 {
  205   unsigned int a ;
  206   unsigned int b ;
  207};
  208#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
  209struct __anonstruct____missing_field_name_16 {
  210   u16 limit0 ;
  211   u16 base0 ;
  212   unsigned int base1 : 8 ;
  213   unsigned int type : 4 ;
  214   unsigned int s : 1 ;
  215   unsigned int dpl : 2 ;
  216   unsigned int p : 1 ;
  217   unsigned int limit : 4 ;
  218   unsigned int avl : 1 ;
  219   unsigned int l : 1 ;
  220   unsigned int d : 1 ;
  221   unsigned int g : 1 ;
  222   unsigned int base2 : 8 ;
  223};
  224#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
  225union __anonunion____missing_field_name_14 {
  226   struct __anonstruct____missing_field_name_15 __annonCompField5 ;
  227   struct __anonstruct____missing_field_name_16 __annonCompField6 ;
  228};
  229#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
  230struct desc_struct {
  231   union __anonunion____missing_field_name_14 __annonCompField7 ;
  232} __attribute__((__packed__)) ;
  233#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
  234typedef unsigned long pgdval_t;
  235#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
  236typedef unsigned long pgprotval_t;
  237#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  238struct pgprot {
  239   pgprotval_t pgprot ;
  240};
  241#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  242typedef struct pgprot pgprot_t;
  243#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  244struct __anonstruct_pgd_t_20 {
  245   pgdval_t pgd ;
  246};
  247#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  248typedef struct __anonstruct_pgd_t_20 pgd_t;
  249#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  250typedef struct page *pgtable_t;
  251#line 295
  252struct file;
  253#line 295
  254struct file;
  255#line 313
  256struct seq_file;
  257#line 313
  258struct seq_file;
  259#line 46 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
  260struct page;
  261#line 47
  262struct thread_struct;
  263#line 47
  264struct thread_struct;
  265#line 50
  266struct mm_struct;
  267#line 51
  268struct desc_struct;
  269#line 52
  270struct task_struct;
  271#line 53
  272struct cpumask;
  273#line 53
  274struct cpumask;
  275#line 329
  276struct arch_spinlock;
  277#line 329
  278struct arch_spinlock;
  279#line 139 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
  280struct task_struct;
  281#line 141 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
  282struct kernel_vm86_regs {
  283   struct pt_regs pt ;
  284   unsigned short es ;
  285   unsigned short __esh ;
  286   unsigned short ds ;
  287   unsigned short __dsh ;
  288   unsigned short fs ;
  289   unsigned short __fsh ;
  290   unsigned short gs ;
  291   unsigned short __gsh ;
  292};
  293#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
  294union __anonunion____missing_field_name_24 {
  295   struct pt_regs *regs ;
  296   struct kernel_vm86_regs *vm86 ;
  297};
  298#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
  299struct math_emu_info {
  300   long ___orig_eip ;
  301   union __anonunion____missing_field_name_24 __annonCompField8 ;
  302};
  303#line 8 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/current.h"
  304struct task_struct;
  305#line 10 "include/asm-generic/bug.h"
  306struct bug_entry {
  307   int bug_addr_disp ;
  308   int file_disp ;
  309   unsigned short line ;
  310   unsigned short flags ;
  311};
  312#line 12 "include/linux/bug.h"
  313struct pt_regs;
  314#line 14 "include/linux/cpumask.h"
  315struct cpumask {
  316   unsigned long bits[((4096UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
  317};
  318#line 14 "include/linux/cpumask.h"
  319typedef struct cpumask cpumask_t;
  320#line 637 "include/linux/cpumask.h"
  321typedef struct cpumask *cpumask_var_t;
  322#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
  323struct static_key;
  324#line 234
  325struct static_key;
  326#line 11 "include/linux/personality.h"
  327struct pt_regs;
  328#line 290 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  329struct i387_fsave_struct {
  330   u32 cwd ;
  331   u32 swd ;
  332   u32 twd ;
  333   u32 fip ;
  334   u32 fcs ;
  335   u32 foo ;
  336   u32 fos ;
  337   u32 st_space[20] ;
  338   u32 status ;
  339};
  340#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  341struct __anonstruct____missing_field_name_31 {
  342   u64 rip ;
  343   u64 rdp ;
  344};
  345#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  346struct __anonstruct____missing_field_name_32 {
  347   u32 fip ;
  348   u32 fcs ;
  349   u32 foo ;
  350   u32 fos ;
  351};
  352#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  353union __anonunion____missing_field_name_30 {
  354   struct __anonstruct____missing_field_name_31 __annonCompField12 ;
  355   struct __anonstruct____missing_field_name_32 __annonCompField13 ;
  356};
  357#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  358union __anonunion____missing_field_name_33 {
  359   u32 padding1[12] ;
  360   u32 sw_reserved[12] ;
  361};
  362#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  363struct i387_fxsave_struct {
  364   u16 cwd ;
  365   u16 swd ;
  366   u16 twd ;
  367   u16 fop ;
  368   union __anonunion____missing_field_name_30 __annonCompField14 ;
  369   u32 mxcsr ;
  370   u32 mxcsr_mask ;
  371   u32 st_space[32] ;
  372   u32 xmm_space[64] ;
  373   u32 padding[12] ;
  374   union __anonunion____missing_field_name_33 __annonCompField15 ;
  375} __attribute__((__aligned__(16))) ;
  376#line 341 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  377struct i387_soft_struct {
  378   u32 cwd ;
  379   u32 swd ;
  380   u32 twd ;
  381   u32 fip ;
  382   u32 fcs ;
  383   u32 foo ;
  384   u32 fos ;
  385   u32 st_space[20] ;
  386   u8 ftop ;
  387   u8 changed ;
  388   u8 lookahead ;
  389   u8 no_update ;
  390   u8 rm ;
  391   u8 alimit ;
  392   struct math_emu_info *info ;
  393   u32 entry_eip ;
  394};
  395#line 361 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  396struct ymmh_struct {
  397   u32 ymmh_space[64] ;
  398};
  399#line 366 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  400struct xsave_hdr_struct {
  401   u64 xstate_bv ;
  402   u64 reserved1[2] ;
  403   u64 reserved2[5] ;
  404} __attribute__((__packed__)) ;
  405#line 372 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  406struct xsave_struct {
  407   struct i387_fxsave_struct i387 ;
  408   struct xsave_hdr_struct xsave_hdr ;
  409   struct ymmh_struct ymmh ;
  410} __attribute__((__packed__, __aligned__(64))) ;
  411#line 379 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  412union thread_xstate {
  413   struct i387_fsave_struct fsave ;
  414   struct i387_fxsave_struct fxsave ;
  415   struct i387_soft_struct soft ;
  416   struct xsave_struct xsave ;
  417};
  418#line 386 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  419struct fpu {
  420   unsigned int last_cpu ;
  421   unsigned int has_fpu ;
  422   union thread_xstate *state ;
  423};
  424#line 433
  425struct kmem_cache;
  426#line 435
  427struct perf_event;
  428#line 435
  429struct perf_event;
  430#line 437 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  431struct thread_struct {
  432   struct desc_struct tls_array[3] ;
  433   unsigned long sp0 ;
  434   unsigned long sp ;
  435   unsigned long usersp ;
  436   unsigned short es ;
  437   unsigned short ds ;
  438   unsigned short fsindex ;
  439   unsigned short gsindex ;
  440   unsigned long fs ;
  441   unsigned long gs ;
  442   struct perf_event *ptrace_bps[4] ;
  443   unsigned long debugreg6 ;
  444   unsigned long ptrace_dr7 ;
  445   unsigned long cr2 ;
  446   unsigned long trap_nr ;
  447   unsigned long error_code ;
  448   struct fpu fpu ;
  449   unsigned long *io_bitmap_ptr ;
  450   unsigned long iopl ;
  451   unsigned int io_bitmap_max ;
  452};
  453#line 23 "include/asm-generic/atomic-long.h"
  454typedef atomic64_t atomic_long_t;
  455#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  456typedef u16 __ticket_t;
  457#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  458typedef u32 __ticketpair_t;
  459#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  460struct __raw_tickets {
  461   __ticket_t head ;
  462   __ticket_t tail ;
  463};
  464#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  465union __anonunion____missing_field_name_36 {
  466   __ticketpair_t head_tail ;
  467   struct __raw_tickets tickets ;
  468};
  469#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  470struct arch_spinlock {
  471   union __anonunion____missing_field_name_36 __annonCompField17 ;
  472};
  473#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  474typedef struct arch_spinlock arch_spinlock_t;
  475#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
  476struct __anonstruct____missing_field_name_38 {
  477   u32 read ;
  478   s32 write ;
  479};
  480#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
  481union __anonunion_arch_rwlock_t_37 {
  482   s64 lock ;
  483   struct __anonstruct____missing_field_name_38 __annonCompField18 ;
  484};
  485#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
  486typedef union __anonunion_arch_rwlock_t_37 arch_rwlock_t;
  487#line 12 "include/linux/lockdep.h"
  488struct task_struct;
  489#line 391 "include/linux/lockdep.h"
  490struct lock_class_key {
  491
  492};
  493#line 20 "include/linux/spinlock_types.h"
  494struct raw_spinlock {
  495   arch_spinlock_t raw_lock ;
  496   unsigned int magic ;
  497   unsigned int owner_cpu ;
  498   void *owner ;
  499};
  500#line 20 "include/linux/spinlock_types.h"
  501typedef struct raw_spinlock raw_spinlock_t;
  502#line 64 "include/linux/spinlock_types.h"
  503union __anonunion____missing_field_name_39 {
  504   struct raw_spinlock rlock ;
  505};
  506#line 64 "include/linux/spinlock_types.h"
  507struct spinlock {
  508   union __anonunion____missing_field_name_39 __annonCompField19 ;
  509};
  510#line 64 "include/linux/spinlock_types.h"
  511typedef struct spinlock spinlock_t;
  512#line 11 "include/linux/rwlock_types.h"
  513struct __anonstruct_rwlock_t_40 {
  514   arch_rwlock_t raw_lock ;
  515   unsigned int magic ;
  516   unsigned int owner_cpu ;
  517   void *owner ;
  518};
  519#line 11 "include/linux/rwlock_types.h"
  520typedef struct __anonstruct_rwlock_t_40 rwlock_t;
  521#line 119 "include/linux/seqlock.h"
  522struct seqcount {
  523   unsigned int sequence ;
  524};
  525#line 119 "include/linux/seqlock.h"
  526typedef struct seqcount seqcount_t;
  527#line 14 "include/linux/time.h"
  528struct timespec {
  529   __kernel_time_t tv_sec ;
  530   long tv_nsec ;
  531};
  532#line 62 "include/linux/stat.h"
  533struct kstat {
  534   u64 ino ;
  535   dev_t dev ;
  536   umode_t mode ;
  537   unsigned int nlink ;
  538   uid_t uid ;
  539   gid_t gid ;
  540   dev_t rdev ;
  541   loff_t size ;
  542   struct timespec atime ;
  543   struct timespec mtime ;
  544   struct timespec ctime ;
  545   unsigned long blksize ;
  546   unsigned long long blocks ;
  547};
  548#line 49 "include/linux/wait.h"
  549struct __wait_queue_head {
  550   spinlock_t lock ;
  551   struct list_head task_list ;
  552};
  553#line 53 "include/linux/wait.h"
  554typedef struct __wait_queue_head wait_queue_head_t;
  555#line 55
  556struct task_struct;
  557#line 98 "include/linux/nodemask.h"
  558struct __anonstruct_nodemask_t_42 {
  559   unsigned long bits[(((unsigned long )(1 << 10) + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
  560};
  561#line 98 "include/linux/nodemask.h"
  562typedef struct __anonstruct_nodemask_t_42 nodemask_t;
  563#line 60 "include/linux/pageblock-flags.h"
  564struct page;
  565#line 48 "include/linux/mutex.h"
  566struct mutex {
  567   atomic_t count ;
  568   spinlock_t wait_lock ;
  569   struct list_head wait_list ;
  570   struct task_struct *owner ;
  571   char const   *name ;
  572   void *magic ;
  573};
  574#line 69 "include/linux/mutex.h"
  575struct mutex_waiter {
  576   struct list_head list ;
  577   struct task_struct *task ;
  578   void *magic ;
  579};
  580#line 19 "include/linux/rwsem.h"
  581struct rw_semaphore;
  582#line 19
  583struct rw_semaphore;
  584#line 25 "include/linux/rwsem.h"
  585struct rw_semaphore {
  586   long count ;
  587   raw_spinlock_t wait_lock ;
  588   struct list_head wait_list ;
  589};
  590#line 25 "include/linux/completion.h"
  591struct completion {
  592   unsigned int done ;
  593   wait_queue_head_t wait ;
  594};
  595#line 9 "include/linux/memory_hotplug.h"
  596struct page;
  597#line 202 "include/linux/ioport.h"
  598struct device;
  599#line 103 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mpspec.h"
  600struct device;
  601#line 46 "include/linux/ktime.h"
  602union ktime {
  603   s64 tv64 ;
  604};
  605#line 59 "include/linux/ktime.h"
  606typedef union ktime ktime_t;
  607#line 10 "include/linux/timer.h"
  608struct tvec_base;
  609#line 10
  610struct tvec_base;
  611#line 12 "include/linux/timer.h"
  612struct timer_list {
  613   struct list_head entry ;
  614   unsigned long expires ;
  615   struct tvec_base *base ;
  616   void (*function)(unsigned long  ) ;
  617   unsigned long data ;
  618   int slack ;
  619   int start_pid ;
  620   void *start_site ;
  621   char start_comm[16] ;
  622};
  623#line 289
  624struct hrtimer;
  625#line 289
  626struct hrtimer;
  627#line 290
  628enum hrtimer_restart;
  629#line 15 "include/linux/workqueue.h"
  630struct workqueue_struct;
  631#line 15
  632struct workqueue_struct;
  633#line 17
  634struct work_struct;
  635#line 17
  636struct work_struct;
  637#line 79 "include/linux/workqueue.h"
  638struct work_struct {
  639   atomic_long_t data ;
  640   struct list_head entry ;
  641   void (*func)(struct work_struct *work ) ;
  642};
  643#line 92 "include/linux/workqueue.h"
  644struct delayed_work {
  645   struct work_struct work ;
  646   struct timer_list timer ;
  647};
  648#line 102 "include/linux/workqueue.h"
  649struct execute_work {
  650   struct work_struct work ;
  651};
  652#line 42 "include/linux/pm.h"
  653struct device;
  654#line 50 "include/linux/pm.h"
  655struct pm_message {
  656   int event ;
  657};
  658#line 50 "include/linux/pm.h"
  659typedef struct pm_message pm_message_t;
  660#line 264 "include/linux/pm.h"
  661struct dev_pm_ops {
  662   int (*prepare)(struct device *dev ) ;
  663   void (*complete)(struct device *dev ) ;
  664   int (*suspend)(struct device *dev ) ;
  665   int (*resume)(struct device *dev ) ;
  666   int (*freeze)(struct device *dev ) ;
  667   int (*thaw)(struct device *dev ) ;
  668   int (*poweroff)(struct device *dev ) ;
  669   int (*restore)(struct device *dev ) ;
  670   int (*suspend_late)(struct device *dev ) ;
  671   int (*resume_early)(struct device *dev ) ;
  672   int (*freeze_late)(struct device *dev ) ;
  673   int (*thaw_early)(struct device *dev ) ;
  674   int (*poweroff_late)(struct device *dev ) ;
  675   int (*restore_early)(struct device *dev ) ;
  676   int (*suspend_noirq)(struct device *dev ) ;
  677   int (*resume_noirq)(struct device *dev ) ;
  678   int (*freeze_noirq)(struct device *dev ) ;
  679   int (*thaw_noirq)(struct device *dev ) ;
  680   int (*poweroff_noirq)(struct device *dev ) ;
  681   int (*restore_noirq)(struct device *dev ) ;
  682   int (*runtime_suspend)(struct device *dev ) ;
  683   int (*runtime_resume)(struct device *dev ) ;
  684   int (*runtime_idle)(struct device *dev ) ;
  685};
  686#line 458
  687enum rpm_status {
  688    RPM_ACTIVE = 0,
  689    RPM_RESUMING = 1,
  690    RPM_SUSPENDED = 2,
  691    RPM_SUSPENDING = 3
  692} ;
  693#line 480
  694enum rpm_request {
  695    RPM_REQ_NONE = 0,
  696    RPM_REQ_IDLE = 1,
  697    RPM_REQ_SUSPEND = 2,
  698    RPM_REQ_AUTOSUSPEND = 3,
  699    RPM_REQ_RESUME = 4
  700} ;
  701#line 488
  702struct wakeup_source;
  703#line 488
  704struct wakeup_source;
  705#line 495 "include/linux/pm.h"
  706struct pm_subsys_data {
  707   spinlock_t lock ;
  708   unsigned int refcount ;
  709};
  710#line 506
  711struct dev_pm_qos_request;
  712#line 506
  713struct pm_qos_constraints;
  714#line 506 "include/linux/pm.h"
  715struct dev_pm_info {
  716   pm_message_t power_state ;
  717   unsigned int can_wakeup : 1 ;
  718   unsigned int async_suspend : 1 ;
  719   bool is_prepared : 1 ;
  720   bool is_suspended : 1 ;
  721   bool ignore_children : 1 ;
  722   spinlock_t lock ;
  723   struct list_head entry ;
  724   struct completion completion ;
  725   struct wakeup_source *wakeup ;
  726   bool wakeup_path : 1 ;
  727   struct timer_list suspend_timer ;
  728   unsigned long timer_expires ;
  729   struct work_struct work ;
  730   wait_queue_head_t wait_queue ;
  731   atomic_t usage_count ;
  732   atomic_t child_count ;
  733   unsigned int disable_depth : 3 ;
  734   unsigned int idle_notification : 1 ;
  735   unsigned int request_pending : 1 ;
  736   unsigned int deferred_resume : 1 ;
  737   unsigned int run_wake : 1 ;
  738   unsigned int runtime_auto : 1 ;
  739   unsigned int no_callbacks : 1 ;
  740   unsigned int irq_safe : 1 ;
  741   unsigned int use_autosuspend : 1 ;
  742   unsigned int timer_autosuspends : 1 ;
  743   enum rpm_request request ;
  744   enum rpm_status runtime_status ;
  745   int runtime_error ;
  746   int autosuspend_delay ;
  747   unsigned long last_busy ;
  748   unsigned long active_jiffies ;
  749   unsigned long suspended_jiffies ;
  750   unsigned long accounting_timestamp ;
  751   ktime_t suspend_time ;
  752   s64 max_time_suspended_ns ;
  753   struct dev_pm_qos_request *pq_req ;
  754   struct pm_subsys_data *subsys_data ;
  755   struct pm_qos_constraints *constraints ;
  756};
  757#line 564 "include/linux/pm.h"
  758struct dev_pm_domain {
  759   struct dev_pm_ops ops ;
  760};
  761#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
  762struct __anonstruct_mm_context_t_112 {
  763   void *ldt ;
  764   int size ;
  765   unsigned short ia32_compat ;
  766   struct mutex lock ;
  767   void *vdso ;
  768};
  769#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
  770typedef struct __anonstruct_mm_context_t_112 mm_context_t;
  771#line 8 "include/linux/vmalloc.h"
  772struct vm_area_struct;
  773#line 8
  774struct vm_area_struct;
  775#line 336 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
  776struct bio_vec;
  777#line 336
  778struct bio_vec;
  779#line 994 "include/linux/mmzone.h"
  780struct page;
  781#line 18 "include/linux/smp.h"
  782struct call_single_data {
  783   struct list_head list ;
  784   void (*func)(void *info ) ;
  785   void *info ;
  786   u16 flags ;
  787   u16 priv ;
  788};
  789#line 10 "include/linux/gfp.h"
  790struct vm_area_struct;
  791#line 29 "include/linux/sysctl.h"
  792struct completion;
  793#line 100 "include/linux/rbtree.h"
  794struct rb_node {
  795   unsigned long rb_parent_color ;
  796   struct rb_node *rb_right ;
  797   struct rb_node *rb_left ;
  798} __attribute__((__aligned__(sizeof(long )))) ;
  799#line 110 "include/linux/rbtree.h"
  800struct rb_root {
  801   struct rb_node *rb_node ;
  802};
  803#line 939 "include/linux/sysctl.h"
  804struct nsproxy;
  805#line 939
  806struct nsproxy;
  807#line 48 "include/linux/kmod.h"
  808struct cred;
  809#line 48
  810struct cred;
  811#line 49
  812struct file;
  813#line 270 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/elf.h"
  814struct task_struct;
  815#line 18 "include/linux/elf.h"
  816typedef __u64 Elf64_Addr;
  817#line 19 "include/linux/elf.h"
  818typedef __u16 Elf64_Half;
  819#line 23 "include/linux/elf.h"
  820typedef __u32 Elf64_Word;
  821#line 24 "include/linux/elf.h"
  822typedef __u64 Elf64_Xword;
  823#line 194 "include/linux/elf.h"
  824struct elf64_sym {
  825   Elf64_Word st_name ;
  826   unsigned char st_info ;
  827   unsigned char st_other ;
  828   Elf64_Half st_shndx ;
  829   Elf64_Addr st_value ;
  830   Elf64_Xword st_size ;
  831};
  832#line 194 "include/linux/elf.h"
  833typedef struct elf64_sym Elf64_Sym;
  834#line 438
  835struct file;
  836#line 20 "include/linux/kobject_ns.h"
  837struct sock;
  838#line 20
  839struct sock;
  840#line 21
  841struct kobject;
  842#line 21
  843struct kobject;
  844#line 27
  845enum kobj_ns_type {
  846    KOBJ_NS_TYPE_NONE = 0,
  847    KOBJ_NS_TYPE_NET = 1,
  848    KOBJ_NS_TYPES = 2
  849} ;
  850#line 40 "include/linux/kobject_ns.h"
  851struct kobj_ns_type_operations {
  852   enum kobj_ns_type type ;
  853   void *(*grab_current_ns)(void) ;
  854   void const   *(*netlink_ns)(struct sock *sk ) ;
  855   void const   *(*initial_ns)(void) ;
  856   void (*drop_ns)(void * ) ;
  857};
  858#line 22 "include/linux/sysfs.h"
  859struct kobject;
  860#line 23
  861struct module;
  862#line 24
  863enum kobj_ns_type;
  864#line 26 "include/linux/sysfs.h"
  865struct attribute {
  866   char const   *name ;
  867   umode_t mode ;
  868};
  869#line 56 "include/linux/sysfs.h"
  870struct attribute_group {
  871   char const   *name ;
  872   umode_t (*is_visible)(struct kobject * , struct attribute * , int  ) ;
  873   struct attribute **attrs ;
  874};
  875#line 85
  876struct file;
  877#line 86
  878struct vm_area_struct;
  879#line 88 "include/linux/sysfs.h"
  880struct bin_attribute {
  881   struct attribute attr ;
  882   size_t size ;
  883   void *private ;
  884   ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
  885                   loff_t  , size_t  ) ;
  886   ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
  887                    loff_t  , size_t  ) ;
  888   int (*mmap)(struct file * , struct kobject * , struct bin_attribute *attr , struct vm_area_struct *vma ) ;
  889};
  890#line 112 "include/linux/sysfs.h"
  891struct sysfs_ops {
  892   ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
  893   ssize_t (*store)(struct kobject * , struct attribute * , char const   * , size_t  ) ;
  894   void const   *(*namespace)(struct kobject * , struct attribute  const  * ) ;
  895};
  896#line 118
  897struct sysfs_dirent;
  898#line 118
  899struct sysfs_dirent;
  900#line 22 "include/linux/kref.h"
  901struct kref {
  902   atomic_t refcount ;
  903};
  904#line 60 "include/linux/kobject.h"
  905struct kset;
  906#line 60
  907struct kobj_type;
  908#line 60 "include/linux/kobject.h"
  909struct kobject {
  910   char const   *name ;
  911   struct list_head entry ;
  912   struct kobject *parent ;
  913   struct kset *kset ;
  914   struct kobj_type *ktype ;
  915   struct sysfs_dirent *sd ;
  916   struct kref kref ;
  917   unsigned int state_initialized : 1 ;
  918   unsigned int state_in_sysfs : 1 ;
  919   unsigned int state_add_uevent_sent : 1 ;
  920   unsigned int state_remove_uevent_sent : 1 ;
  921   unsigned int uevent_suppress : 1 ;
  922};
  923#line 108 "include/linux/kobject.h"
  924struct kobj_type {
  925   void (*release)(struct kobject *kobj ) ;
  926   struct sysfs_ops  const  *sysfs_ops ;
  927   struct attribute **default_attrs ;
  928   struct kobj_ns_type_operations  const  *(*child_ns_type)(struct kobject *kobj ) ;
  929   void const   *(*namespace)(struct kobject *kobj ) ;
  930};
  931#line 116 "include/linux/kobject.h"
  932struct kobj_uevent_env {
  933   char *envp[32] ;
  934   int envp_idx ;
  935   char buf[2048] ;
  936   int buflen ;
  937};
  938#line 123 "include/linux/kobject.h"
  939struct kset_uevent_ops {
  940   int (* const  filter)(struct kset *kset , struct kobject *kobj ) ;
  941   char const   *(* const  name)(struct kset *kset , struct kobject *kobj ) ;
  942   int (* const  uevent)(struct kset *kset , struct kobject *kobj , struct kobj_uevent_env *env ) ;
  943};
  944#line 140
  945struct sock;
  946#line 159 "include/linux/kobject.h"
  947struct kset {
  948   struct list_head list ;
  949   spinlock_t list_lock ;
  950   struct kobject kobj ;
  951   struct kset_uevent_ops  const  *uevent_ops ;
  952};
  953#line 39 "include/linux/moduleparam.h"
  954struct kernel_param;
  955#line 39
  956struct kernel_param;
  957#line 41 "include/linux/moduleparam.h"
  958struct kernel_param_ops {
  959   int (*set)(char const   *val , struct kernel_param  const  *kp ) ;
  960   int (*get)(char *buffer , struct kernel_param  const  *kp ) ;
  961   void (*free)(void *arg ) ;
  962};
  963#line 50
  964struct kparam_string;
  965#line 50
  966struct kparam_array;
  967#line 50 "include/linux/moduleparam.h"
  968union __anonunion____missing_field_name_199 {
  969   void *arg ;
  970   struct kparam_string  const  *str ;
  971   struct kparam_array  const  *arr ;
  972};
  973#line 50 "include/linux/moduleparam.h"
  974struct kernel_param {
  975   char const   *name ;
  976   struct kernel_param_ops  const  *ops ;
  977   u16 perm ;
  978   s16 level ;
  979   union __anonunion____missing_field_name_199 __annonCompField32 ;
  980};
  981#line 63 "include/linux/moduleparam.h"
  982struct kparam_string {
  983   unsigned int maxlen ;
  984   char *string ;
  985};
  986#line 69 "include/linux/moduleparam.h"
  987struct kparam_array {
  988   unsigned int max ;
  989   unsigned int elemsize ;
  990   unsigned int *num ;
  991   struct kernel_param_ops  const  *ops ;
  992   void *elem ;
  993};
  994#line 445
  995struct module;
  996#line 80 "include/linux/jump_label.h"
  997struct module;
  998#line 143 "include/linux/jump_label.h"
  999struct static_key {
 1000   atomic_t enabled ;
 1001};
 1002#line 22 "include/linux/tracepoint.h"
 1003struct module;
 1004#line 23
 1005struct tracepoint;
 1006#line 23
 1007struct tracepoint;
 1008#line 25 "include/linux/tracepoint.h"
 1009struct tracepoint_func {
 1010   void *func ;
 1011   void *data ;
 1012};
 1013#line 30 "include/linux/tracepoint.h"
 1014struct tracepoint {
 1015   char const   *name ;
 1016   struct static_key key ;
 1017   void (*regfunc)(void) ;
 1018   void (*unregfunc)(void) ;
 1019   struct tracepoint_func *funcs ;
 1020};
 1021#line 19 "include/linux/export.h"
 1022struct kernel_symbol {
 1023   unsigned long value ;
 1024   char const   *name ;
 1025};
 1026#line 8 "include/asm-generic/module.h"
 1027struct mod_arch_specific {
 1028
 1029};
 1030#line 35 "include/linux/module.h"
 1031struct module;
 1032#line 37
 1033struct module_param_attrs;
 1034#line 37 "include/linux/module.h"
 1035struct module_kobject {
 1036   struct kobject kobj ;
 1037   struct module *mod ;
 1038   struct kobject *drivers_dir ;
 1039   struct module_param_attrs *mp ;
 1040};
 1041#line 44 "include/linux/module.h"
 1042struct module_attribute {
 1043   struct attribute attr ;
 1044   ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
 1045   ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const   * ,
 1046                    size_t count ) ;
 1047   void (*setup)(struct module * , char const   * ) ;
 1048   int (*test)(struct module * ) ;
 1049   void (*free)(struct module * ) ;
 1050};
 1051#line 71
 1052struct exception_table_entry;
 1053#line 71
 1054struct exception_table_entry;
 1055#line 199
 1056enum module_state {
 1057    MODULE_STATE_LIVE = 0,
 1058    MODULE_STATE_COMING = 1,
 1059    MODULE_STATE_GOING = 2
 1060} ;
 1061#line 215 "include/linux/module.h"
 1062struct module_ref {
 1063   unsigned long incs ;
 1064   unsigned long decs ;
 1065} __attribute__((__aligned__((2) *  (sizeof(unsigned long )) ))) ;
 1066#line 220
 1067struct module_sect_attrs;
 1068#line 220
 1069struct module_notes_attrs;
 1070#line 220
 1071struct ftrace_event_call;
 1072#line 220 "include/linux/module.h"
 1073struct module {
 1074   enum module_state state ;
 1075   struct list_head list ;
 1076   char name[64UL - sizeof(unsigned long )] ;
 1077   struct module_kobject mkobj ;
 1078   struct module_attribute *modinfo_attrs ;
 1079   char const   *version ;
 1080   char const   *srcversion ;
 1081   struct kobject *holders_dir ;
 1082   struct kernel_symbol  const  *syms ;
 1083   unsigned long const   *crcs ;
 1084   unsigned int num_syms ;
 1085   struct kernel_param *kp ;
 1086   unsigned int num_kp ;
 1087   unsigned int num_gpl_syms ;
 1088   struct kernel_symbol  const  *gpl_syms ;
 1089   unsigned long const   *gpl_crcs ;
 1090   struct kernel_symbol  const  *unused_syms ;
 1091   unsigned long const   *unused_crcs ;
 1092   unsigned int num_unused_syms ;
 1093   unsigned int num_unused_gpl_syms ;
 1094   struct kernel_symbol  const  *unused_gpl_syms ;
 1095   unsigned long const   *unused_gpl_crcs ;
 1096   struct kernel_symbol  const  *gpl_future_syms ;
 1097   unsigned long const   *gpl_future_crcs ;
 1098   unsigned int num_gpl_future_syms ;
 1099   unsigned int num_exentries ;
 1100   struct exception_table_entry *extable ;
 1101   int (*init)(void) ;
 1102   void *module_init ;
 1103   void *module_core ;
 1104   unsigned int init_size ;
 1105   unsigned int core_size ;
 1106   unsigned int init_text_size ;
 1107   unsigned int core_text_size ;
 1108   unsigned int init_ro_size ;
 1109   unsigned int core_ro_size ;
 1110   struct mod_arch_specific arch ;
 1111   unsigned int taints ;
 1112   unsigned int num_bugs ;
 1113   struct list_head bug_list ;
 1114   struct bug_entry *bug_table ;
 1115   Elf64_Sym *symtab ;
 1116   Elf64_Sym *core_symtab ;
 1117   unsigned int num_symtab ;
 1118   unsigned int core_num_syms ;
 1119   char *strtab ;
 1120   char *core_strtab ;
 1121   struct module_sect_attrs *sect_attrs ;
 1122   struct module_notes_attrs *notes_attrs ;
 1123   char *args ;
 1124   void *percpu ;
 1125   unsigned int percpu_size ;
 1126   unsigned int num_tracepoints ;
 1127   struct tracepoint * const  *tracepoints_ptrs ;
 1128   unsigned int num_trace_bprintk_fmt ;
 1129   char const   **trace_bprintk_fmt_start ;
 1130   struct ftrace_event_call **trace_events ;
 1131   unsigned int num_trace_events ;
 1132   struct list_head source_list ;
 1133   struct list_head target_list ;
 1134   struct task_struct *waiter ;
 1135   void (*exit)(void) ;
 1136   struct module_ref *refptr ;
 1137   ctor_fn_t *ctors ;
 1138   unsigned int num_ctors ;
 1139};
 1140#line 46 "include/linux/slub_def.h"
 1141struct kmem_cache_cpu {
 1142   void **freelist ;
 1143   unsigned long tid ;
 1144   struct page *page ;
 1145   struct page *partial ;
 1146   int node ;
 1147   unsigned int stat[26] ;
 1148};
 1149#line 57 "include/linux/slub_def.h"
 1150struct kmem_cache_node {
 1151   spinlock_t list_lock ;
 1152   unsigned long nr_partial ;
 1153   struct list_head partial ;
 1154   atomic_long_t nr_slabs ;
 1155   atomic_long_t total_objects ;
 1156   struct list_head full ;
 1157};
 1158#line 73 "include/linux/slub_def.h"
 1159struct kmem_cache_order_objects {
 1160   unsigned long x ;
 1161};
 1162#line 80 "include/linux/slub_def.h"
 1163struct kmem_cache {
 1164   struct kmem_cache_cpu *cpu_slab ;
 1165   unsigned long flags ;
 1166   unsigned long min_partial ;
 1167   int size ;
 1168   int objsize ;
 1169   int offset ;
 1170   int cpu_partial ;
 1171   struct kmem_cache_order_objects oo ;
 1172   struct kmem_cache_order_objects max ;
 1173   struct kmem_cache_order_objects min ;
 1174   gfp_t allocflags ;
 1175   int refcount ;
 1176   void (*ctor)(void * ) ;
 1177   int inuse ;
 1178   int align ;
 1179   int reserved ;
 1180   char const   *name ;
 1181   struct list_head list ;
 1182   struct kobject kobj ;
 1183   int remote_node_defrag_ratio ;
 1184   struct kmem_cache_node *node[1 << 10] ;
 1185};
 1186#line 14 "include/linux/prio_tree.h"
 1187struct prio_tree_node;
 1188#line 14 "include/linux/prio_tree.h"
 1189struct raw_prio_tree_node {
 1190   struct prio_tree_node *left ;
 1191   struct prio_tree_node *right ;
 1192   struct prio_tree_node *parent ;
 1193};
 1194#line 20 "include/linux/prio_tree.h"
 1195struct prio_tree_node {
 1196   struct prio_tree_node *left ;
 1197   struct prio_tree_node *right ;
 1198   struct prio_tree_node *parent ;
 1199   unsigned long start ;
 1200   unsigned long last ;
 1201};
 1202#line 28 "include/linux/prio_tree.h"
 1203struct prio_tree_root {
 1204   struct prio_tree_node *prio_tree_node ;
 1205   unsigned short index_bits ;
 1206   unsigned short raw ;
 1207};
 1208#line 8 "include/linux/debug_locks.h"
 1209struct task_struct;
 1210#line 48
 1211struct task_struct;
 1212#line 23 "include/linux/mm_types.h"
 1213struct address_space;
 1214#line 23
 1215struct address_space;
 1216#line 40 "include/linux/mm_types.h"
 1217union __anonunion____missing_field_name_202 {
 1218   unsigned long index ;
 1219   void *freelist ;
 1220};
 1221#line 40 "include/linux/mm_types.h"
 1222struct __anonstruct____missing_field_name_206 {
 1223   unsigned int inuse : 16 ;
 1224   unsigned int objects : 15 ;
 1225   unsigned int frozen : 1 ;
 1226};
 1227#line 40 "include/linux/mm_types.h"
 1228union __anonunion____missing_field_name_205 {
 1229   atomic_t _mapcount ;
 1230   struct __anonstruct____missing_field_name_206 __annonCompField34 ;
 1231};
 1232#line 40 "include/linux/mm_types.h"
 1233struct __anonstruct____missing_field_name_204 {
 1234   union __anonunion____missing_field_name_205 __annonCompField35 ;
 1235   atomic_t _count ;
 1236};
 1237#line 40 "include/linux/mm_types.h"
 1238union __anonunion____missing_field_name_203 {
 1239   unsigned long counters ;
 1240   struct __anonstruct____missing_field_name_204 __annonCompField36 ;
 1241};
 1242#line 40 "include/linux/mm_types.h"
 1243struct __anonstruct____missing_field_name_201 {
 1244   union __anonunion____missing_field_name_202 __annonCompField33 ;
 1245   union __anonunion____missing_field_name_203 __annonCompField37 ;
 1246};
 1247#line 40 "include/linux/mm_types.h"
 1248struct __anonstruct____missing_field_name_208 {
 1249   struct page *next ;
 1250   int pages ;
 1251   int pobjects ;
 1252};
 1253#line 40 "include/linux/mm_types.h"
 1254union __anonunion____missing_field_name_207 {
 1255   struct list_head lru ;
 1256   struct __anonstruct____missing_field_name_208 __annonCompField39 ;
 1257};
 1258#line 40 "include/linux/mm_types.h"
 1259union __anonunion____missing_field_name_209 {
 1260   unsigned long private ;
 1261   struct kmem_cache *slab ;
 1262   struct page *first_page ;
 1263};
 1264#line 40 "include/linux/mm_types.h"
 1265struct page {
 1266   unsigned long flags ;
 1267   struct address_space *mapping ;
 1268   struct __anonstruct____missing_field_name_201 __annonCompField38 ;
 1269   union __anonunion____missing_field_name_207 __annonCompField40 ;
 1270   union __anonunion____missing_field_name_209 __annonCompField41 ;
 1271   unsigned long debug_flags ;
 1272} __attribute__((__aligned__((2) *  (sizeof(unsigned long )) ))) ;
 1273#line 200 "include/linux/mm_types.h"
 1274struct __anonstruct_vm_set_211 {
 1275   struct list_head list ;
 1276   void *parent ;
 1277   struct vm_area_struct *head ;
 1278};
 1279#line 200 "include/linux/mm_types.h"
 1280union __anonunion_shared_210 {
 1281   struct __anonstruct_vm_set_211 vm_set ;
 1282   struct raw_prio_tree_node prio_tree_node ;
 1283};
 1284#line 200
 1285struct anon_vma;
 1286#line 200
 1287struct vm_operations_struct;
 1288#line 200
 1289struct mempolicy;
 1290#line 200 "include/linux/mm_types.h"
 1291struct vm_area_struct {
 1292   struct mm_struct *vm_mm ;
 1293   unsigned long vm_start ;
 1294   unsigned long vm_end ;
 1295   struct vm_area_struct *vm_next ;
 1296   struct vm_area_struct *vm_prev ;
 1297   pgprot_t vm_page_prot ;
 1298   unsigned long vm_flags ;
 1299   struct rb_node vm_rb ;
 1300   union __anonunion_shared_210 shared ;
 1301   struct list_head anon_vma_chain ;
 1302   struct anon_vma *anon_vma ;
 1303   struct vm_operations_struct  const  *vm_ops ;
 1304   unsigned long vm_pgoff ;
 1305   struct file *vm_file ;
 1306   void *vm_private_data ;
 1307   struct mempolicy *vm_policy ;
 1308};
 1309#line 257 "include/linux/mm_types.h"
 1310struct core_thread {
 1311   struct task_struct *task ;
 1312   struct core_thread *next ;
 1313};
 1314#line 262 "include/linux/mm_types.h"
 1315struct core_state {
 1316   atomic_t nr_threads ;
 1317   struct core_thread dumper ;
 1318   struct completion startup ;
 1319};
 1320#line 284 "include/linux/mm_types.h"
 1321struct mm_rss_stat {
 1322   atomic_long_t count[3] ;
 1323};
 1324#line 288
 1325struct linux_binfmt;
 1326#line 288
 1327struct mmu_notifier_mm;
 1328#line 288 "include/linux/mm_types.h"
 1329struct mm_struct {
 1330   struct vm_area_struct *mmap ;
 1331   struct rb_root mm_rb ;
 1332   struct vm_area_struct *mmap_cache ;
 1333   unsigned long (*get_unmapped_area)(struct file *filp , unsigned long addr , unsigned long len ,
 1334                                      unsigned long pgoff , unsigned long flags ) ;
 1335   void (*unmap_area)(struct mm_struct *mm , unsigned long addr ) ;
 1336   unsigned long mmap_base ;
 1337   unsigned long task_size ;
 1338   unsigned long cached_hole_size ;
 1339   unsigned long free_area_cache ;
 1340   pgd_t *pgd ;
 1341   atomic_t mm_users ;
 1342   atomic_t mm_count ;
 1343   int map_count ;
 1344   spinlock_t page_table_lock ;
 1345   struct rw_semaphore mmap_sem ;
 1346   struct list_head mmlist ;
 1347   unsigned long hiwater_rss ;
 1348   unsigned long hiwater_vm ;
 1349   unsigned long total_vm ;
 1350   unsigned long locked_vm ;
 1351   unsigned long pinned_vm ;
 1352   unsigned long shared_vm ;
 1353   unsigned long exec_vm ;
 1354   unsigned long stack_vm ;
 1355   unsigned long reserved_vm ;
 1356   unsigned long def_flags ;
 1357   unsigned long nr_ptes ;
 1358   unsigned long start_code ;
 1359   unsigned long end_code ;
 1360   unsigned long start_data ;
 1361   unsigned long end_data ;
 1362   unsigned long start_brk ;
 1363   unsigned long brk ;
 1364   unsigned long start_stack ;
 1365   unsigned long arg_start ;
 1366   unsigned long arg_end ;
 1367   unsigned long env_start ;
 1368   unsigned long env_end ;
 1369   unsigned long saved_auxv[44] ;
 1370   struct mm_rss_stat rss_stat ;
 1371   struct linux_binfmt *binfmt ;
 1372   cpumask_var_t cpu_vm_mask_var ;
 1373   mm_context_t context ;
 1374   unsigned int faultstamp ;
 1375   unsigned int token_priority ;
 1376   unsigned int last_interval ;
 1377   unsigned long flags ;
 1378   struct core_state *core_state ;
 1379   spinlock_t ioctx_lock ;
 1380   struct hlist_head ioctx_list ;
 1381   struct task_struct *owner ;
 1382   struct file *exe_file ;
 1383   unsigned long num_exe_file_vmas ;
 1384   struct mmu_notifier_mm *mmu_notifier_mm ;
 1385   pgtable_t pmd_huge_pte ;
 1386   struct cpumask cpumask_allocation ;
 1387};
 1388#line 8 "include/linux/shrinker.h"
 1389struct shrink_control {
 1390   gfp_t gfp_mask ;
 1391   unsigned long nr_to_scan ;
 1392};
 1393#line 31 "include/linux/shrinker.h"
 1394struct shrinker {
 1395   int (*shrink)(struct shrinker * , struct shrink_control *sc ) ;
 1396   int seeks ;
 1397   long batch ;
 1398   struct list_head list ;
 1399   atomic_long_t nr_in_batch ;
 1400};
 1401#line 22 "include/linux/mm.h"
 1402struct mempolicy;
 1403#line 23
 1404struct anon_vma;
 1405#line 24
 1406struct file_ra_state;
 1407#line 24
 1408struct file_ra_state;
 1409#line 25
 1410struct user_struct;
 1411#line 25
 1412struct user_struct;
 1413#line 26
 1414struct writeback_control;
 1415#line 26
 1416struct writeback_control;
 1417#line 41 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64.h"
 1418struct mm_struct;
 1419#line 656 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable.h"
 1420struct vm_area_struct;
 1421#line 188 "include/linux/mm.h"
 1422struct vm_fault {
 1423   unsigned int flags ;
 1424   unsigned long pgoff ;
 1425   void *virtual_address ;
 1426   struct page *page ;
 1427};
 1428#line 205 "include/linux/mm.h"
 1429struct vm_operations_struct {
 1430   void (*open)(struct vm_area_struct *area ) ;
 1431   void (*close)(struct vm_area_struct *area ) ;
 1432   int (*fault)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
 1433   int (*page_mkwrite)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
 1434   int (*access)(struct vm_area_struct *vma , unsigned long addr , void *buf , int len ,
 1435                 int write ) ;
 1436   int (*set_policy)(struct vm_area_struct *vma , struct mempolicy *new ) ;
 1437   struct mempolicy *(*get_policy)(struct vm_area_struct *vma , unsigned long addr ) ;
 1438   int (*migrate)(struct vm_area_struct *vma , nodemask_t const   *from , nodemask_t const   *to ,
 1439                  unsigned long flags ) ;
 1440};
 1441#line 247
 1442struct inode;
 1443#line 247
 1444struct inode;
 1445#line 195 "include/linux/page-flags.h"
 1446struct page;
 1447#line 6 "include/asm-generic/scatterlist.h"
 1448struct scatterlist {
 1449   unsigned long sg_magic ;
 1450   unsigned long page_link ;
 1451   unsigned int offset ;
 1452   unsigned int length ;
 1453   dma_addr_t dma_address ;
 1454   unsigned int dma_length ;
 1455};
 1456#line 12 "include/linux/scatterlist.h"
 1457struct sg_table {
 1458   struct scatterlist *sgl ;
 1459   unsigned int nents ;
 1460   unsigned int orig_nents ;
 1461};
 1462#line 14 "include/scsi/scsi.h"
 1463struct scsi_cmnd;
 1464#line 14
 1465struct scsi_cmnd;
 1466#line 19 "include/linux/klist.h"
 1467struct klist_node;
 1468#line 19
 1469struct klist_node;
 1470#line 39 "include/linux/klist.h"
 1471struct klist_node {
 1472   void *n_klist ;
 1473   struct list_head n_node ;
 1474   struct kref n_ref ;
 1475};
 1476#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
 1477struct dma_map_ops;
 1478#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
 1479struct dev_archdata {
 1480   void *acpi_handle ;
 1481   struct dma_map_ops *dma_ops ;
 1482   void *iommu ;
 1483};
 1484#line 28 "include/linux/device.h"
 1485struct device;
 1486#line 29
 1487struct device_private;
 1488#line 29
 1489struct device_private;
 1490#line 30
 1491struct device_driver;
 1492#line 30
 1493struct device_driver;
 1494#line 31
 1495struct driver_private;
 1496#line 31
 1497struct driver_private;
 1498#line 32
 1499struct module;
 1500#line 33
 1501struct class;
 1502#line 33
 1503struct class;
 1504#line 34
 1505struct subsys_private;
 1506#line 34
 1507struct subsys_private;
 1508#line 35
 1509struct bus_type;
 1510#line 35
 1511struct bus_type;
 1512#line 36
 1513struct device_node;
 1514#line 36
 1515struct device_node;
 1516#line 37
 1517struct iommu_ops;
 1518#line 37
 1519struct iommu_ops;
 1520#line 39 "include/linux/device.h"
 1521struct bus_attribute {
 1522   struct attribute attr ;
 1523   ssize_t (*show)(struct bus_type *bus , char *buf ) ;
 1524   ssize_t (*store)(struct bus_type *bus , char const   *buf , size_t count ) ;
 1525};
 1526#line 89
 1527struct device_attribute;
 1528#line 89
 1529struct driver_attribute;
 1530#line 89 "include/linux/device.h"
 1531struct bus_type {
 1532   char const   *name ;
 1533   char const   *dev_name ;
 1534   struct device *dev_root ;
 1535   struct bus_attribute *bus_attrs ;
 1536   struct device_attribute *dev_attrs ;
 1537   struct driver_attribute *drv_attrs ;
 1538   int (*match)(struct device *dev , struct device_driver *drv ) ;
 1539   int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
 1540   int (*probe)(struct device *dev ) ;
 1541   int (*remove)(struct device *dev ) ;
 1542   void (*shutdown)(struct device *dev ) ;
 1543   int (*suspend)(struct device *dev , pm_message_t state ) ;
 1544   int (*resume)(struct device *dev ) ;
 1545   struct dev_pm_ops  const  *pm ;
 1546   struct iommu_ops *iommu_ops ;
 1547   struct subsys_private *p ;
 1548};
 1549#line 127
 1550struct device_type;
 1551#line 214
 1552struct of_device_id;
 1553#line 214 "include/linux/device.h"
 1554struct device_driver {
 1555   char const   *name ;
 1556   struct bus_type *bus ;
 1557   struct module *owner ;
 1558   char const   *mod_name ;
 1559   bool suppress_bind_attrs ;
 1560   struct of_device_id  const  *of_match_table ;
 1561   int (*probe)(struct device *dev ) ;
 1562   int (*remove)(struct device *dev ) ;
 1563   void (*shutdown)(struct device *dev ) ;
 1564   int (*suspend)(struct device *dev , pm_message_t state ) ;
 1565   int (*resume)(struct device *dev ) ;
 1566   struct attribute_group  const  **groups ;
 1567   struct dev_pm_ops  const  *pm ;
 1568   struct driver_private *p ;
 1569};
 1570#line 249 "include/linux/device.h"
 1571struct driver_attribute {
 1572   struct attribute attr ;
 1573   ssize_t (*show)(struct device_driver *driver , char *buf ) ;
 1574   ssize_t (*store)(struct device_driver *driver , char const   *buf , size_t count ) ;
 1575};
 1576#line 330
 1577struct class_attribute;
 1578#line 330 "include/linux/device.h"
 1579struct class {
 1580   char const   *name ;
 1581   struct module *owner ;
 1582   struct class_attribute *class_attrs ;
 1583   struct device_attribute *dev_attrs ;
 1584   struct bin_attribute *dev_bin_attrs ;
 1585   struct kobject *dev_kobj ;
 1586   int (*dev_uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
 1587   char *(*devnode)(struct device *dev , umode_t *mode ) ;
 1588   void (*class_release)(struct class *class ) ;
 1589   void (*dev_release)(struct device *dev ) ;
 1590   int (*suspend)(struct device *dev , pm_message_t state ) ;
 1591   int (*resume)(struct device *dev ) ;
 1592   struct kobj_ns_type_operations  const  *ns_type ;
 1593   void const   *(*namespace)(struct device *dev ) ;
 1594   struct dev_pm_ops  const  *pm ;
 1595   struct subsys_private *p ;
 1596};
 1597#line 397 "include/linux/device.h"
 1598struct class_attribute {
 1599   struct attribute attr ;
 1600   ssize_t (*show)(struct class *class , struct class_attribute *attr , char *buf ) ;
 1601   ssize_t (*store)(struct class *class , struct class_attribute *attr , char const   *buf ,
 1602                    size_t count ) ;
 1603   void const   *(*namespace)(struct class *class , struct class_attribute  const  *attr ) ;
 1604};
 1605#line 465 "include/linux/device.h"
 1606struct device_type {
 1607   char const   *name ;
 1608   struct attribute_group  const  **groups ;
 1609   int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
 1610   char *(*devnode)(struct device *dev , umode_t *mode ) ;
 1611   void (*release)(struct device *dev ) ;
 1612   struct dev_pm_ops  const  *pm ;
 1613};
 1614#line 476 "include/linux/device.h"
 1615struct device_attribute {
 1616   struct attribute attr ;
 1617   ssize_t (*show)(struct device *dev , struct device_attribute *attr , char *buf ) ;
 1618   ssize_t (*store)(struct device *dev , struct device_attribute *attr , char const   *buf ,
 1619                    size_t count ) ;
 1620};
 1621#line 559 "include/linux/device.h"
 1622struct device_dma_parameters {
 1623   unsigned int max_segment_size ;
 1624   unsigned long segment_boundary_mask ;
 1625};
 1626#line 627
 1627struct dma_coherent_mem;
 1628#line 627 "include/linux/device.h"
 1629struct device {
 1630   struct device *parent ;
 1631   struct device_private *p ;
 1632   struct kobject kobj ;
 1633   char const   *init_name ;
 1634   struct device_type  const  *type ;
 1635   struct mutex mutex ;
 1636   struct bus_type *bus ;
 1637   struct device_driver *driver ;
 1638   void *platform_data ;
 1639   struct dev_pm_info power ;
 1640   struct dev_pm_domain *pm_domain ;
 1641   int numa_node ;
 1642   u64 *dma_mask ;
 1643   u64 coherent_dma_mask ;
 1644   struct device_dma_parameters *dma_parms ;
 1645   struct list_head dma_pools ;
 1646   struct dma_coherent_mem *dma_mem ;
 1647   struct dev_archdata archdata ;
 1648   struct device_node *of_node ;
 1649   dev_t devt ;
 1650   u32 id ;
 1651   spinlock_t devres_lock ;
 1652   struct list_head devres_head ;
 1653   struct klist_node knode_class ;
 1654   struct class *class ;
 1655   struct attribute_group  const  **groups ;
 1656   void (*release)(struct device *dev ) ;
 1657};
 1658#line 43 "include/linux/pm_wakeup.h"
 1659struct wakeup_source {
 1660   char const   *name ;
 1661   struct list_head entry ;
 1662   spinlock_t lock ;
 1663   struct timer_list timer ;
 1664   unsigned long timer_expires ;
 1665   ktime_t total_time ;
 1666   ktime_t max_time ;
 1667   ktime_t last_time ;
 1668   unsigned long event_count ;
 1669   unsigned long active_count ;
 1670   unsigned long relax_count ;
 1671   unsigned long hit_count ;
 1672   unsigned int active : 1 ;
 1673};
 1674#line 27 "include/linux/dma-attrs.h"
 1675struct dma_attrs {
 1676   unsigned long flags[((4UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
 1677};
 1678#line 7 "include/linux/dma-direction.h"
 1679enum dma_data_direction {
 1680    DMA_BIDIRECTIONAL = 0,
 1681    DMA_TO_DEVICE = 1,
 1682    DMA_FROM_DEVICE = 2,
 1683    DMA_NONE = 3
 1684} ;
 1685#line 11 "include/linux/dma-mapping.h"
 1686struct dma_map_ops {
 1687   void *(*alloc)(struct device *dev , size_t size , dma_addr_t *dma_handle , gfp_t gfp ,
 1688                  struct dma_attrs *attrs ) ;
 1689   void (*free)(struct device *dev , size_t size , void *vaddr , dma_addr_t dma_handle ,
 1690                struct dma_attrs *attrs ) ;
 1691   int (*mmap)(struct device * , struct vm_area_struct * , void * , dma_addr_t  ,
 1692               size_t  , struct dma_attrs *attrs ) ;
 1693   dma_addr_t (*map_page)(struct device *dev , struct page *page , unsigned long offset ,
 1694                          size_t size , enum dma_data_direction dir , struct dma_attrs *attrs ) ;
 1695   void (*unmap_page)(struct device *dev , dma_addr_t dma_handle , size_t size , enum dma_data_direction dir ,
 1696                      struct dma_attrs *attrs ) ;
 1697   int (*map_sg)(struct device *dev , struct scatterlist *sg , int nents , enum dma_data_direction dir ,
 1698                 struct dma_attrs *attrs ) ;
 1699   void (*unmap_sg)(struct device *dev , struct scatterlist *sg , int nents , enum dma_data_direction dir ,
 1700                    struct dma_attrs *attrs ) ;
 1701   void (*sync_single_for_cpu)(struct device *dev , dma_addr_t dma_handle , size_t size ,
 1702                               enum dma_data_direction dir ) ;
 1703   void (*sync_single_for_device)(struct device *dev , dma_addr_t dma_handle , size_t size ,
 1704                                  enum dma_data_direction dir ) ;
 1705   void (*sync_sg_for_cpu)(struct device *dev , struct scatterlist *sg , int nents ,
 1706                           enum dma_data_direction dir ) ;
 1707   void (*sync_sg_for_device)(struct device *dev , struct scatterlist *sg , int nents ,
 1708                              enum dma_data_direction dir ) ;
 1709   int (*mapping_error)(struct device *dev , dma_addr_t dma_addr ) ;
 1710   int (*dma_supported)(struct device *dev , u64 mask ) ;
 1711   int (*set_dma_mask)(struct device *dev , u64 mask ) ;
 1712   int is_phys ;
 1713};
 1714#line 25 "include/linux/dma-debug.h"
 1715struct device;
 1716#line 26
 1717struct scatterlist;
 1718#line 27
 1719struct bus_type;
 1720#line 6 "include/linux/swiotlb.h"
 1721struct device;
 1722#line 7
 1723struct dma_attrs;
 1724#line 8
 1725struct scatterlist;
 1726#line 18 "include/linux/capability.h"
 1727struct task_struct;
 1728#line 94 "include/linux/capability.h"
 1729struct kernel_cap_struct {
 1730   __u32 cap[2] ;
 1731};
 1732#line 94 "include/linux/capability.h"
 1733typedef struct kernel_cap_struct kernel_cap_t;
 1734#line 377
 1735struct dentry;
 1736#line 377
 1737struct dentry;
 1738#line 378
 1739struct user_namespace;
 1740#line 378
 1741struct user_namespace;
 1742#line 7 "include/asm-generic/cputime.h"
 1743typedef unsigned long cputime_t;
 1744#line 84 "include/linux/sem.h"
 1745struct task_struct;
 1746#line 101
 1747struct sem_undo_list;
 1748#line 101 "include/linux/sem.h"
 1749struct sysv_sem {
 1750   struct sem_undo_list *undo_list ;
 1751};
 1752#line 10 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 1753struct siginfo;
 1754#line 10
 1755struct siginfo;
 1756#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 1757struct __anonstruct_sigset_t_214 {
 1758   unsigned long sig[1] ;
 1759};
 1760#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 1761typedef struct __anonstruct_sigset_t_214 sigset_t;
 1762#line 17 "include/asm-generic/signal-defs.h"
 1763typedef void __signalfn_t(int  );
 1764#line 18 "include/asm-generic/signal-defs.h"
 1765typedef __signalfn_t *__sighandler_t;
 1766#line 20 "include/asm-generic/signal-defs.h"
 1767typedef void __restorefn_t(void);
 1768#line 21 "include/asm-generic/signal-defs.h"
 1769typedef __restorefn_t *__sigrestore_t;
 1770#line 167 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 1771struct sigaction {
 1772   __sighandler_t sa_handler ;
 1773   unsigned long sa_flags ;
 1774   __sigrestore_t sa_restorer ;
 1775   sigset_t sa_mask ;
 1776};
 1777#line 174 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 1778struct k_sigaction {
 1779   struct sigaction sa ;
 1780};
 1781#line 7 "include/asm-generic/siginfo.h"
 1782union sigval {
 1783   int sival_int ;
 1784   void *sival_ptr ;
 1785};
 1786#line 7 "include/asm-generic/siginfo.h"
 1787typedef union sigval sigval_t;
 1788#line 48 "include/asm-generic/siginfo.h"
 1789struct __anonstruct__kill_216 {
 1790   __kernel_pid_t _pid ;
 1791   __kernel_uid32_t _uid ;
 1792};
 1793#line 48 "include/asm-generic/siginfo.h"
 1794struct __anonstruct__timer_217 {
 1795   __kernel_timer_t _tid ;
 1796   int _overrun ;
 1797   char _pad[sizeof(__kernel_uid32_t ) - sizeof(int )] ;
 1798   sigval_t _sigval ;
 1799   int _sys_private ;
 1800};
 1801#line 48 "include/asm-generic/siginfo.h"
 1802struct __anonstruct__rt_218 {
 1803   __kernel_pid_t _pid ;
 1804   __kernel_uid32_t _uid ;
 1805   sigval_t _sigval ;
 1806};
 1807#line 48 "include/asm-generic/siginfo.h"
 1808struct __anonstruct__sigchld_219 {
 1809   __kernel_pid_t _pid ;
 1810   __kernel_uid32_t _uid ;
 1811   int _status ;
 1812   __kernel_clock_t _utime ;
 1813   __kernel_clock_t _stime ;
 1814};
 1815#line 48 "include/asm-generic/siginfo.h"
 1816struct __anonstruct__sigfault_220 {
 1817   void *_addr ;
 1818   short _addr_lsb ;
 1819};
 1820#line 48 "include/asm-generic/siginfo.h"
 1821struct __anonstruct__sigpoll_221 {
 1822   long _band ;
 1823   int _fd ;
 1824};
 1825#line 48 "include/asm-generic/siginfo.h"
 1826union __anonunion__sifields_215 {
 1827   int _pad[(128UL - 4UL * sizeof(int )) / sizeof(int )] ;
 1828   struct __anonstruct__kill_216 _kill ;
 1829   struct __anonstruct__timer_217 _timer ;
 1830   struct __anonstruct__rt_218 _rt ;
 1831   struct __anonstruct__sigchld_219 _sigchld ;
 1832   struct __anonstruct__sigfault_220 _sigfault ;
 1833   struct __anonstruct__sigpoll_221 _sigpoll ;
 1834};
 1835#line 48 "include/asm-generic/siginfo.h"
 1836struct siginfo {
 1837   int si_signo ;
 1838   int si_errno ;
 1839   int si_code ;
 1840   union __anonunion__sifields_215 _sifields ;
 1841};
 1842#line 48 "include/asm-generic/siginfo.h"
 1843typedef struct siginfo siginfo_t;
 1844#line 288
 1845struct siginfo;
 1846#line 10 "include/linux/signal.h"
 1847struct task_struct;
 1848#line 28 "include/linux/signal.h"
 1849struct sigpending {
 1850   struct list_head list ;
 1851   sigset_t signal ;
 1852};
 1853#line 239
 1854struct timespec;
 1855#line 240
 1856struct pt_regs;
 1857#line 6 "include/linux/pid.h"
 1858enum pid_type {
 1859    PIDTYPE_PID = 0,
 1860    PIDTYPE_PGID = 1,
 1861    PIDTYPE_SID = 2,
 1862    PIDTYPE_MAX = 3
 1863} ;
 1864#line 50
 1865struct pid_namespace;
 1866#line 50 "include/linux/pid.h"
 1867struct upid {
 1868   int nr ;
 1869   struct pid_namespace *ns ;
 1870   struct hlist_node pid_chain ;
 1871};
 1872#line 57 "include/linux/pid.h"
 1873struct pid {
 1874   atomic_t count ;
 1875   unsigned int level ;
 1876   struct hlist_head tasks[3] ;
 1877   struct rcu_head rcu ;
 1878   struct upid numbers[1] ;
 1879};
 1880#line 69 "include/linux/pid.h"
 1881struct pid_link {
 1882   struct hlist_node node ;
 1883   struct pid *pid ;
 1884};
 1885#line 100
 1886struct pid_namespace;
 1887#line 18 "include/linux/percpu_counter.h"
 1888struct percpu_counter {
 1889   raw_spinlock_t lock ;
 1890   s64 count ;
 1891   struct list_head list ;
 1892   s32 *counters ;
 1893};
 1894#line 50 "include/linux/proportions.h"
 1895struct prop_local_percpu {
 1896   struct percpu_counter events ;
 1897   int shift ;
 1898   unsigned long period ;
 1899   raw_spinlock_t lock ;
 1900};
 1901#line 10 "include/linux/seccomp.h"
 1902struct __anonstruct_seccomp_t_224 {
 1903   int mode ;
 1904};
 1905#line 10 "include/linux/seccomp.h"
 1906typedef struct __anonstruct_seccomp_t_224 seccomp_t;
 1907#line 81 "include/linux/plist.h"
 1908struct plist_head {
 1909   struct list_head node_list ;
 1910};
 1911#line 85 "include/linux/plist.h"
 1912struct plist_node {
 1913   int prio ;
 1914   struct list_head prio_list ;
 1915   struct list_head node_list ;
 1916};
 1917#line 40 "include/linux/rtmutex.h"
 1918struct rt_mutex_waiter;
 1919#line 40
 1920struct rt_mutex_waiter;
 1921#line 42 "include/linux/resource.h"
 1922struct rlimit {
 1923   unsigned long rlim_cur ;
 1924   unsigned long rlim_max ;
 1925};
 1926#line 81
 1927struct task_struct;
 1928#line 8 "include/linux/timerqueue.h"
 1929struct timerqueue_node {
 1930   struct rb_node node ;
 1931   ktime_t expires ;
 1932};
 1933#line 13 "include/linux/timerqueue.h"
 1934struct timerqueue_head {
 1935   struct rb_root head ;
 1936   struct timerqueue_node *next ;
 1937};
 1938#line 27 "include/linux/hrtimer.h"
 1939struct hrtimer_clock_base;
 1940#line 27
 1941struct hrtimer_clock_base;
 1942#line 28
 1943struct hrtimer_cpu_base;
 1944#line 28
 1945struct hrtimer_cpu_base;
 1946#line 44
 1947enum hrtimer_restart {
 1948    HRTIMER_NORESTART = 0,
 1949    HRTIMER_RESTART = 1
 1950} ;
 1951#line 108 "include/linux/hrtimer.h"
 1952struct hrtimer {
 1953   struct timerqueue_node node ;
 1954   ktime_t _softexpires ;
 1955   enum hrtimer_restart (*function)(struct hrtimer * ) ;
 1956   struct hrtimer_clock_base *base ;
 1957   unsigned long state ;
 1958   int start_pid ;
 1959   void *start_site ;
 1960   char start_comm[16] ;
 1961};
 1962#line 145 "include/linux/hrtimer.h"
 1963struct hrtimer_clock_base {
 1964   struct hrtimer_cpu_base *cpu_base ;
 1965   int index ;
 1966   clockid_t clockid ;
 1967   struct timerqueue_head active ;
 1968   ktime_t resolution ;
 1969   ktime_t (*get_time)(void) ;
 1970   ktime_t softirq_time ;
 1971   ktime_t offset ;
 1972};
 1973#line 178 "include/linux/hrtimer.h"
 1974struct hrtimer_cpu_base {
 1975   raw_spinlock_t lock ;
 1976   unsigned long active_bases ;
 1977   ktime_t expires_next ;
 1978   int hres_active ;
 1979   int hang_detected ;
 1980   unsigned long nr_events ;
 1981   unsigned long nr_retries ;
 1982   unsigned long nr_hangs ;
 1983   ktime_t max_hang_time ;
 1984   struct hrtimer_clock_base clock_base[3] ;
 1985};
 1986#line 11 "include/linux/task_io_accounting.h"
 1987struct task_io_accounting {
 1988   u64 rchar ;
 1989   u64 wchar ;
 1990   u64 syscr ;
 1991   u64 syscw ;
 1992   u64 read_bytes ;
 1993   u64 write_bytes ;
 1994   u64 cancelled_write_bytes ;
 1995};
 1996#line 13 "include/linux/latencytop.h"
 1997struct task_struct;
 1998#line 20 "include/linux/latencytop.h"
 1999struct latency_record {
 2000   unsigned long backtrace[12] ;
 2001   unsigned int count ;
 2002   unsigned long time ;
 2003   unsigned long max ;
 2004};
 2005#line 29 "include/linux/key.h"
 2006typedef int32_t key_serial_t;
 2007#line 32 "include/linux/key.h"
 2008typedef uint32_t key_perm_t;
 2009#line 34
 2010struct key;
 2011#line 34
 2012struct key;
 2013#line 74
 2014struct seq_file;
 2015#line 75
 2016struct user_struct;
 2017#line 76
 2018struct signal_struct;
 2019#line 76
 2020struct signal_struct;
 2021#line 77
 2022struct cred;
 2023#line 79
 2024struct key_type;
 2025#line 79
 2026struct key_type;
 2027#line 81
 2028struct keyring_list;
 2029#line 81
 2030struct keyring_list;
 2031#line 124
 2032struct key_user;
 2033#line 124 "include/linux/key.h"
 2034union __anonunion____missing_field_name_225 {
 2035   time_t expiry ;
 2036   time_t revoked_at ;
 2037};
 2038#line 124 "include/linux/key.h"
 2039union __anonunion_type_data_226 {
 2040   struct list_head link ;
 2041   unsigned long x[2] ;
 2042   void *p[2] ;
 2043   int reject_error ;
 2044};
 2045#line 124 "include/linux/key.h"
 2046union __anonunion_payload_227 {
 2047   unsigned long value ;
 2048   void *rcudata ;
 2049   void *data ;
 2050   struct keyring_list *subscriptions ;
 2051};
 2052#line 124 "include/linux/key.h"
 2053struct key {
 2054   atomic_t usage ;
 2055   key_serial_t serial ;
 2056   struct rb_node serial_node ;
 2057   struct key_type *type ;
 2058   struct rw_semaphore sem ;
 2059   struct key_user *user ;
 2060   void *security ;
 2061   union __anonunion____missing_field_name_225 __annonCompField42 ;
 2062   uid_t uid ;
 2063   gid_t gid ;
 2064   key_perm_t perm ;
 2065   unsigned short quotalen ;
 2066   unsigned short datalen ;
 2067   unsigned long flags ;
 2068   char *description ;
 2069   union __anonunion_type_data_226 type_data ;
 2070   union __anonunion_payload_227 payload ;
 2071};
 2072#line 18 "include/linux/selinux.h"
 2073struct audit_context;
 2074#line 18
 2075struct audit_context;
 2076#line 21 "include/linux/cred.h"
 2077struct user_struct;
 2078#line 22
 2079struct cred;
 2080#line 23
 2081struct inode;
 2082#line 31 "include/linux/cred.h"
 2083struct group_info {
 2084   atomic_t usage ;
 2085   int ngroups ;
 2086   int nblocks ;
 2087   gid_t small_block[32] ;
 2088   gid_t *blocks[0] ;
 2089};
 2090#line 83 "include/linux/cred.h"
 2091struct thread_group_cred {
 2092   atomic_t usage ;
 2093   pid_t tgid ;
 2094   spinlock_t lock ;
 2095   struct key *session_keyring ;
 2096   struct key *process_keyring ;
 2097   struct rcu_head rcu ;
 2098};
 2099#line 116 "include/linux/cred.h"
 2100struct cred {
 2101   atomic_t usage ;
 2102   atomic_t subscribers ;
 2103   void *put_addr ;
 2104   unsigned int magic ;
 2105   uid_t uid ;
 2106   gid_t gid ;
 2107   uid_t suid ;
 2108   gid_t sgid ;
 2109   uid_t euid ;
 2110   gid_t egid ;
 2111   uid_t fsuid ;
 2112   gid_t fsgid ;
 2113   unsigned int securebits ;
 2114   kernel_cap_t cap_inheritable ;
 2115   kernel_cap_t cap_permitted ;
 2116   kernel_cap_t cap_effective ;
 2117   kernel_cap_t cap_bset ;
 2118   unsigned char jit_keyring ;
 2119   struct key *thread_keyring ;
 2120   struct key *request_key_auth ;
 2121   struct thread_group_cred *tgcred ;
 2122   void *security ;
 2123   struct user_struct *user ;
 2124   struct user_namespace *user_ns ;
 2125   struct group_info *group_info ;
 2126   struct rcu_head rcu ;
 2127};
 2128#line 61 "include/linux/llist.h"
 2129struct llist_node;
 2130#line 65 "include/linux/llist.h"
 2131struct llist_node {
 2132   struct llist_node *next ;
 2133};
 2134#line 97 "include/linux/sched.h"
 2135struct futex_pi_state;
 2136#line 97
 2137struct futex_pi_state;
 2138#line 98
 2139struct robust_list_head;
 2140#line 98
 2141struct robust_list_head;
 2142#line 99
 2143struct bio_list;
 2144#line 99
 2145struct bio_list;
 2146#line 100
 2147struct fs_struct;
 2148#line 100
 2149struct fs_struct;
 2150#line 101
 2151struct perf_event_context;
 2152#line 101
 2153struct perf_event_context;
 2154#line 102
 2155struct blk_plug;
 2156#line 102
 2157struct blk_plug;
 2158#line 150
 2159struct seq_file;
 2160#line 151
 2161struct cfs_rq;
 2162#line 151
 2163struct cfs_rq;
 2164#line 259
 2165struct task_struct;
 2166#line 366
 2167struct nsproxy;
 2168#line 367
 2169struct user_namespace;
 2170#line 58 "include/linux/aio_abi.h"
 2171struct io_event {
 2172   __u64 data ;
 2173   __u64 obj ;
 2174   __s64 res ;
 2175   __s64 res2 ;
 2176};
 2177#line 16 "include/linux/uio.h"
 2178struct iovec {
 2179   void *iov_base ;
 2180   __kernel_size_t iov_len ;
 2181};
 2182#line 15 "include/linux/aio.h"
 2183struct kioctx;
 2184#line 15
 2185struct kioctx;
 2186#line 87 "include/linux/aio.h"
 2187union __anonunion_ki_obj_229 {
 2188   void *user ;
 2189   struct task_struct *tsk ;
 2190};
 2191#line 87
 2192struct eventfd_ctx;
 2193#line 87 "include/linux/aio.h"
 2194struct kiocb {
 2195   struct list_head ki_run_list ;
 2196   unsigned long ki_flags ;
 2197   int ki_users ;
 2198   unsigned int ki_key ;
 2199   struct file *ki_filp ;
 2200   struct kioctx *ki_ctx ;
 2201   int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
 2202   ssize_t (*ki_retry)(struct kiocb * ) ;
 2203   void (*ki_dtor)(struct kiocb * ) ;
 2204   union __anonunion_ki_obj_229 ki_obj ;
 2205   __u64 ki_user_data ;
 2206   loff_t ki_pos ;
 2207   void *private ;
 2208   unsigned short ki_opcode ;
 2209   size_t ki_nbytes ;
 2210   char *ki_buf ;
 2211   size_t ki_left ;
 2212   struct iovec ki_inline_vec ;
 2213   struct iovec *ki_iovec ;
 2214   unsigned long ki_nr_segs ;
 2215   unsigned long ki_cur_seg ;
 2216   struct list_head ki_list ;
 2217   struct list_head ki_batch ;
 2218   struct eventfd_ctx *ki_eventfd ;
 2219};
 2220#line 166 "include/linux/aio.h"
 2221struct aio_ring_info {
 2222   unsigned long mmap_base ;
 2223   unsigned long mmap_size ;
 2224   struct page **ring_pages ;
 2225   spinlock_t ring_lock ;
 2226   long nr_pages ;
 2227   unsigned int nr ;
 2228   unsigned int tail ;
 2229   struct page *internal_pages[8] ;
 2230};
 2231#line 179 "include/linux/aio.h"
 2232struct kioctx {
 2233   atomic_t users ;
 2234   int dead ;
 2235   struct mm_struct *mm ;
 2236   unsigned long user_id ;
 2237   struct hlist_node list ;
 2238   wait_queue_head_t wait ;
 2239   spinlock_t ctx_lock ;
 2240   int reqs_active ;
 2241   struct list_head active_reqs ;
 2242   struct list_head run_list ;
 2243   unsigned int max_reqs ;
 2244   struct aio_ring_info ring_info ;
 2245   struct delayed_work wq ;
 2246   struct rcu_head rcu_head ;
 2247};
 2248#line 214
 2249struct mm_struct;
 2250#line 443 "include/linux/sched.h"
 2251struct sighand_struct {
 2252   atomic_t count ;
 2253   struct k_sigaction action[64] ;
 2254   spinlock_t siglock ;
 2255   wait_queue_head_t signalfd_wqh ;
 2256};
 2257#line 450 "include/linux/sched.h"
 2258struct pacct_struct {
 2259   int ac_flag ;
 2260   long ac_exitcode ;
 2261   unsigned long ac_mem ;
 2262   cputime_t ac_utime ;
 2263   cputime_t ac_stime ;
 2264   unsigned long ac_minflt ;
 2265   unsigned long ac_majflt ;
 2266};
 2267#line 458 "include/linux/sched.h"
 2268struct cpu_itimer {
 2269   cputime_t expires ;
 2270   cputime_t incr ;
 2271   u32 error ;
 2272   u32 incr_error ;
 2273};
 2274#line 476 "include/linux/sched.h"
 2275struct task_cputime {
 2276   cputime_t utime ;
 2277   cputime_t stime ;
 2278   unsigned long long sum_exec_runtime ;
 2279};
 2280#line 512 "include/linux/sched.h"
 2281struct thread_group_cputimer {
 2282   struct task_cputime cputime ;
 2283   int running ;
 2284   raw_spinlock_t lock ;
 2285};
 2286#line 519
 2287struct autogroup;
 2288#line 519
 2289struct autogroup;
 2290#line 528
 2291struct tty_struct;
 2292#line 528
 2293struct taskstats;
 2294#line 528
 2295struct tty_audit_buf;
 2296#line 528 "include/linux/sched.h"
 2297struct signal_struct {
 2298   atomic_t sigcnt ;
 2299   atomic_t live ;
 2300   int nr_threads ;
 2301   wait_queue_head_t wait_chldexit ;
 2302   struct task_struct *curr_target ;
 2303   struct sigpending shared_pending ;
 2304   int group_exit_code ;
 2305   int notify_count ;
 2306   struct task_struct *group_exit_task ;
 2307   int group_stop_count ;
 2308   unsigned int flags ;
 2309   unsigned int is_child_subreaper : 1 ;
 2310   unsigned int has_child_subreaper : 1 ;
 2311   struct list_head posix_timers ;
 2312   struct hrtimer real_timer ;
 2313   struct pid *leader_pid ;
 2314   ktime_t it_real_incr ;
 2315   struct cpu_itimer it[2] ;
 2316   struct thread_group_cputimer cputimer ;
 2317   struct task_cputime cputime_expires ;
 2318   struct list_head cpu_timers[3] ;
 2319   struct pid *tty_old_pgrp ;
 2320   int leader ;
 2321   struct tty_struct *tty ;
 2322   struct autogroup *autogroup ;
 2323   cputime_t utime ;
 2324   cputime_t stime ;
 2325   cputime_t cutime ;
 2326   cputime_t cstime ;
 2327   cputime_t gtime ;
 2328   cputime_t cgtime ;
 2329   cputime_t prev_utime ;
 2330   cputime_t prev_stime ;
 2331   unsigned long nvcsw ;
 2332   unsigned long nivcsw ;
 2333   unsigned long cnvcsw ;
 2334   unsigned long cnivcsw ;
 2335   unsigned long min_flt ;
 2336   unsigned long maj_flt ;
 2337   unsigned long cmin_flt ;
 2338   unsigned long cmaj_flt ;
 2339   unsigned long inblock ;
 2340   unsigned long oublock ;
 2341   unsigned long cinblock ;
 2342   unsigned long coublock ;
 2343   unsigned long maxrss ;
 2344   unsigned long cmaxrss ;
 2345   struct task_io_accounting ioac ;
 2346   unsigned long long sum_sched_runtime ;
 2347   struct rlimit rlim[16] ;
 2348   struct pacct_struct pacct ;
 2349   struct taskstats *stats ;
 2350   unsigned int audit_tty ;
 2351   struct tty_audit_buf *tty_audit_buf ;
 2352   struct rw_semaphore group_rwsem ;
 2353   int oom_adj ;
 2354   int oom_score_adj ;
 2355   int oom_score_adj_min ;
 2356   struct mutex cred_guard_mutex ;
 2357};
 2358#line 703 "include/linux/sched.h"
 2359struct user_struct {
 2360   atomic_t __count ;
 2361   atomic_t processes ;
 2362   atomic_t files ;
 2363   atomic_t sigpending ;
 2364   atomic_t inotify_watches ;
 2365   atomic_t inotify_devs ;
 2366   atomic_t fanotify_listeners ;
 2367   atomic_long_t epoll_watches ;
 2368   unsigned long mq_bytes ;
 2369   unsigned long locked_shm ;
 2370   struct key *uid_keyring ;
 2371   struct key *session_keyring ;
 2372   struct hlist_node uidhash_node ;
 2373   uid_t uid ;
 2374   struct user_namespace *user_ns ;
 2375   atomic_long_t locked_vm ;
 2376};
 2377#line 747
 2378struct backing_dev_info;
 2379#line 747
 2380struct backing_dev_info;
 2381#line 748
 2382struct reclaim_state;
 2383#line 748
 2384struct reclaim_state;
 2385#line 751 "include/linux/sched.h"
 2386struct sched_info {
 2387   unsigned long pcount ;
 2388   unsigned long long run_delay ;
 2389   unsigned long long last_arrival ;
 2390   unsigned long long last_queued ;
 2391};
 2392#line 763 "include/linux/sched.h"
 2393struct task_delay_info {
 2394   spinlock_t lock ;
 2395   unsigned int flags ;
 2396   struct timespec blkio_start ;
 2397   struct timespec blkio_end ;
 2398   u64 blkio_delay ;
 2399   u64 swapin_delay ;
 2400   u32 blkio_count ;
 2401   u32 swapin_count ;
 2402   struct timespec freepages_start ;
 2403   struct timespec freepages_end ;
 2404   u64 freepages_delay ;
 2405   u32 freepages_count ;
 2406};
 2407#line 1088
 2408struct io_context;
 2409#line 1088
 2410struct io_context;
 2411#line 1097
 2412struct audit_context;
 2413#line 1098
 2414struct mempolicy;
 2415#line 1099
 2416struct pipe_inode_info;
 2417#line 1099
 2418struct pipe_inode_info;
 2419#line 1102
 2420struct rq;
 2421#line 1102
 2422struct rq;
 2423#line 1122 "include/linux/sched.h"
 2424struct sched_class {
 2425   struct sched_class  const  *next ;
 2426   void (*enqueue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
 2427   void (*dequeue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
 2428   void (*yield_task)(struct rq *rq ) ;
 2429   bool (*yield_to_task)(struct rq *rq , struct task_struct *p , bool preempt ) ;
 2430   void (*check_preempt_curr)(struct rq *rq , struct task_struct *p , int flags ) ;
 2431   struct task_struct *(*pick_next_task)(struct rq *rq ) ;
 2432   void (*put_prev_task)(struct rq *rq , struct task_struct *p ) ;
 2433   int (*select_task_rq)(struct task_struct *p , int sd_flag , int flags ) ;
 2434   void (*pre_schedule)(struct rq *this_rq , struct task_struct *task ) ;
 2435   void (*post_schedule)(struct rq *this_rq ) ;
 2436   void (*task_waking)(struct task_struct *task ) ;
 2437   void (*task_woken)(struct rq *this_rq , struct task_struct *task ) ;
 2438   void (*set_cpus_allowed)(struct task_struct *p , struct cpumask  const  *newmask ) ;
 2439   void (*rq_online)(struct rq *rq ) ;
 2440   void (*rq_offline)(struct rq *rq ) ;
 2441   void (*set_curr_task)(struct rq *rq ) ;
 2442   void (*task_tick)(struct rq *rq , struct task_struct *p , int queued ) ;
 2443   void (*task_fork)(struct task_struct *p ) ;
 2444   void (*switched_from)(struct rq *this_rq , struct task_struct *task ) ;
 2445   void (*switched_to)(struct rq *this_rq , struct task_struct *task ) ;
 2446   void (*prio_changed)(struct rq *this_rq , struct task_struct *task , int oldprio ) ;
 2447   unsigned int (*get_rr_interval)(struct rq *rq , struct task_struct *task ) ;
 2448   void (*task_move_group)(struct task_struct *p , int on_rq ) ;
 2449};
 2450#line 1167 "include/linux/sched.h"
 2451struct load_weight {
 2452   unsigned long weight ;
 2453   unsigned long inv_weight ;
 2454};
 2455#line 1172 "include/linux/sched.h"
 2456struct sched_statistics {
 2457   u64 wait_start ;
 2458   u64 wait_max ;
 2459   u64 wait_count ;
 2460   u64 wait_sum ;
 2461   u64 iowait_count ;
 2462   u64 iowait_sum ;
 2463   u64 sleep_start ;
 2464   u64 sleep_max ;
 2465   s64 sum_sleep_runtime ;
 2466   u64 block_start ;
 2467   u64 block_max ;
 2468   u64 exec_max ;
 2469   u64 slice_max ;
 2470   u64 nr_migrations_cold ;
 2471   u64 nr_failed_migrations_affine ;
 2472   u64 nr_failed_migrations_running ;
 2473   u64 nr_failed_migrations_hot ;
 2474   u64 nr_forced_migrations ;
 2475   u64 nr_wakeups ;
 2476   u64 nr_wakeups_sync ;
 2477   u64 nr_wakeups_migrate ;
 2478   u64 nr_wakeups_local ;
 2479   u64 nr_wakeups_remote ;
 2480   u64 nr_wakeups_affine ;
 2481   u64 nr_wakeups_affine_attempts ;
 2482   u64 nr_wakeups_passive ;
 2483   u64 nr_wakeups_idle ;
 2484};
 2485#line 1207 "include/linux/sched.h"
 2486struct sched_entity {
 2487   struct load_weight load ;
 2488   struct rb_node run_node ;
 2489   struct list_head group_node ;
 2490   unsigned int on_rq ;
 2491   u64 exec_start ;
 2492   u64 sum_exec_runtime ;
 2493   u64 vruntime ;
 2494   u64 prev_sum_exec_runtime ;
 2495   u64 nr_migrations ;
 2496   struct sched_statistics statistics ;
 2497   struct sched_entity *parent ;
 2498   struct cfs_rq *cfs_rq ;
 2499   struct cfs_rq *my_q ;
 2500};
 2501#line 1233
 2502struct rt_rq;
 2503#line 1233 "include/linux/sched.h"
 2504struct sched_rt_entity {
 2505   struct list_head run_list ;
 2506   unsigned long timeout ;
 2507   unsigned int time_slice ;
 2508   int nr_cpus_allowed ;
 2509   struct sched_rt_entity *back ;
 2510   struct sched_rt_entity *parent ;
 2511   struct rt_rq *rt_rq ;
 2512   struct rt_rq *my_q ;
 2513};
 2514#line 1264
 2515struct files_struct;
 2516#line 1264
 2517struct css_set;
 2518#line 1264
 2519struct compat_robust_list_head;
 2520#line 1264
 2521struct mem_cgroup;
 2522#line 1264 "include/linux/sched.h"
 2523struct memcg_batch_info {
 2524   int do_batch ;
 2525   struct mem_cgroup *memcg ;
 2526   unsigned long nr_pages ;
 2527   unsigned long memsw_nr_pages ;
 2528};
 2529#line 1264 "include/linux/sched.h"
 2530struct task_struct {
 2531   long volatile   state ;
 2532   void *stack ;
 2533   atomic_t usage ;
 2534   unsigned int flags ;
 2535   unsigned int ptrace ;
 2536   struct llist_node wake_entry ;
 2537   int on_cpu ;
 2538   int on_rq ;
 2539   int prio ;
 2540   int static_prio ;
 2541   int normal_prio ;
 2542   unsigned int rt_priority ;
 2543   struct sched_class  const  *sched_class ;
 2544   struct sched_entity se ;
 2545   struct sched_rt_entity rt ;
 2546   struct hlist_head preempt_notifiers ;
 2547   unsigned char fpu_counter ;
 2548   unsigned int policy ;
 2549   cpumask_t cpus_allowed ;
 2550   struct sched_info sched_info ;
 2551   struct list_head tasks ;
 2552   struct plist_node pushable_tasks ;
 2553   struct mm_struct *mm ;
 2554   struct mm_struct *active_mm ;
 2555   unsigned int brk_randomized : 1 ;
 2556   int exit_state ;
 2557   int exit_code ;
 2558   int exit_signal ;
 2559   int pdeath_signal ;
 2560   unsigned int jobctl ;
 2561   unsigned int personality ;
 2562   unsigned int did_exec : 1 ;
 2563   unsigned int in_execve : 1 ;
 2564   unsigned int in_iowait : 1 ;
 2565   unsigned int sched_reset_on_fork : 1 ;
 2566   unsigned int sched_contributes_to_load : 1 ;
 2567   unsigned int irq_thread : 1 ;
 2568   pid_t pid ;
 2569   pid_t tgid ;
 2570   unsigned long stack_canary ;
 2571   struct task_struct *real_parent ;
 2572   struct task_struct *parent ;
 2573   struct list_head children ;
 2574   struct list_head sibling ;
 2575   struct task_struct *group_leader ;
 2576   struct list_head ptraced ;
 2577   struct list_head ptrace_entry ;
 2578   struct pid_link pids[3] ;
 2579   struct list_head thread_group ;
 2580   struct completion *vfork_done ;
 2581   int *set_child_tid ;
 2582   int *clear_child_tid ;
 2583   cputime_t utime ;
 2584   cputime_t stime ;
 2585   cputime_t utimescaled ;
 2586   cputime_t stimescaled ;
 2587   cputime_t gtime ;
 2588   cputime_t prev_utime ;
 2589   cputime_t prev_stime ;
 2590   unsigned long nvcsw ;
 2591   unsigned long nivcsw ;
 2592   struct timespec start_time ;
 2593   struct timespec real_start_time ;
 2594   unsigned long min_flt ;
 2595   unsigned long maj_flt ;
 2596   struct task_cputime cputime_expires ;
 2597   struct list_head cpu_timers[3] ;
 2598   struct cred  const  *real_cred ;
 2599   struct cred  const  *cred ;
 2600   struct cred *replacement_session_keyring ;
 2601   char comm[16] ;
 2602   int link_count ;
 2603   int total_link_count ;
 2604   struct sysv_sem sysvsem ;
 2605   unsigned long last_switch_count ;
 2606   struct thread_struct thread ;
 2607   struct fs_struct *fs ;
 2608   struct files_struct *files ;
 2609   struct nsproxy *nsproxy ;
 2610   struct signal_struct *signal ;
 2611   struct sighand_struct *sighand ;
 2612   sigset_t blocked ;
 2613   sigset_t real_blocked ;
 2614   sigset_t saved_sigmask ;
 2615   struct sigpending pending ;
 2616   unsigned long sas_ss_sp ;
 2617   size_t sas_ss_size ;
 2618   int (*notifier)(void *priv ) ;
 2619   void *notifier_data ;
 2620   sigset_t *notifier_mask ;
 2621   struct audit_context *audit_context ;
 2622   uid_t loginuid ;
 2623   unsigned int sessionid ;
 2624   seccomp_t seccomp ;
 2625   u32 parent_exec_id ;
 2626   u32 self_exec_id ;
 2627   spinlock_t alloc_lock ;
 2628   raw_spinlock_t pi_lock ;
 2629   struct plist_head pi_waiters ;
 2630   struct rt_mutex_waiter *pi_blocked_on ;
 2631   struct mutex_waiter *blocked_on ;
 2632   unsigned int irq_events ;
 2633   unsigned long hardirq_enable_ip ;
 2634   unsigned long hardirq_disable_ip ;
 2635   unsigned int hardirq_enable_event ;
 2636   unsigned int hardirq_disable_event ;
 2637   int hardirqs_enabled ;
 2638   int hardirq_context ;
 2639   unsigned long softirq_disable_ip ;
 2640   unsigned long softirq_enable_ip ;
 2641   unsigned int softirq_disable_event ;
 2642   unsigned int softirq_enable_event ;
 2643   int softirqs_enabled ;
 2644   int softirq_context ;
 2645   void *journal_info ;
 2646   struct bio_list *bio_list ;
 2647   struct blk_plug *plug ;
 2648   struct reclaim_state *reclaim_state ;
 2649   struct backing_dev_info *backing_dev_info ;
 2650   struct io_context *io_context ;
 2651   unsigned long ptrace_message ;
 2652   siginfo_t *last_siginfo ;
 2653   struct task_io_accounting ioac ;
 2654   u64 acct_rss_mem1 ;
 2655   u64 acct_vm_mem1 ;
 2656   cputime_t acct_timexpd ;
 2657   nodemask_t mems_allowed ;
 2658   seqcount_t mems_allowed_seq ;
 2659   int cpuset_mem_spread_rotor ;
 2660   int cpuset_slab_spread_rotor ;
 2661   struct css_set *cgroups ;
 2662   struct list_head cg_list ;
 2663   struct robust_list_head *robust_list ;
 2664   struct compat_robust_list_head *compat_robust_list ;
 2665   struct list_head pi_state_list ;
 2666   struct futex_pi_state *pi_state_cache ;
 2667   struct perf_event_context *perf_event_ctxp[2] ;
 2668   struct mutex perf_event_mutex ;
 2669   struct list_head perf_event_list ;
 2670   struct mempolicy *mempolicy ;
 2671   short il_next ;
 2672   short pref_node_fork ;
 2673   struct rcu_head rcu ;
 2674   struct pipe_inode_info *splice_pipe ;
 2675   struct task_delay_info *delays ;
 2676   int make_it_fail ;
 2677   int nr_dirtied ;
 2678   int nr_dirtied_pause ;
 2679   unsigned long dirty_paused_when ;
 2680   int latency_record_count ;
 2681   struct latency_record latency_record[32] ;
 2682   unsigned long timer_slack_ns ;
 2683   unsigned long default_timer_slack_ns ;
 2684   struct list_head *scm_work_list ;
 2685   unsigned long trace ;
 2686   unsigned long trace_recursion ;
 2687   struct memcg_batch_info memcg_batch ;
 2688   atomic_t ptrace_bp_refcnt ;
 2689};
 2690#line 1681
 2691struct pid_namespace;
 2692#line 13 "include/linux/blk_types.h"
 2693struct bio;
 2694#line 13
 2695struct bio;
 2696#line 14
 2697struct bio_integrity_payload;
 2698#line 14
 2699struct bio_integrity_payload;
 2700#line 15
 2701struct page;
 2702#line 16
 2703struct block_device;
 2704#line 16
 2705struct block_device;
 2706#line 17 "include/linux/blk_types.h"
 2707typedef void bio_end_io_t(struct bio * , int  );
 2708#line 18 "include/linux/blk_types.h"
 2709typedef void bio_destructor_t(struct bio * );
 2710#line 23 "include/linux/blk_types.h"
 2711struct bio_vec {
 2712   struct page *bv_page ;
 2713   unsigned int bv_len ;
 2714   unsigned int bv_offset ;
 2715};
 2716#line 33 "include/linux/blk_types.h"
 2717struct bio {
 2718   sector_t bi_sector ;
 2719   struct bio *bi_next ;
 2720   struct block_device *bi_bdev ;
 2721   unsigned long bi_flags ;
 2722   unsigned long bi_rw ;
 2723   unsigned short bi_vcnt ;
 2724   unsigned short bi_idx ;
 2725   unsigned int bi_phys_segments ;
 2726   unsigned int bi_size ;
 2727   unsigned int bi_seg_front_size ;
 2728   unsigned int bi_seg_back_size ;
 2729   unsigned int bi_max_vecs ;
 2730   atomic_t bi_cnt ;
 2731   struct bio_vec *bi_io_vec ;
 2732   bio_end_io_t *bi_end_io ;
 2733   void *bi_private ;
 2734   struct bio_integrity_payload *bi_integrity ;
 2735   bio_destructor_t *bi_destructor ;
 2736   struct bio_vec bi_inline_vecs[0] ;
 2737};
 2738#line 33 "include/linux/list_bl.h"
 2739struct hlist_bl_node;
 2740#line 33 "include/linux/list_bl.h"
 2741struct hlist_bl_head {
 2742   struct hlist_bl_node *first ;
 2743};
 2744#line 37 "include/linux/list_bl.h"
 2745struct hlist_bl_node {
 2746   struct hlist_bl_node *next ;
 2747   struct hlist_bl_node **pprev ;
 2748};
 2749#line 13 "include/linux/dcache.h"
 2750struct nameidata;
 2751#line 13
 2752struct nameidata;
 2753#line 14
 2754struct path;
 2755#line 14
 2756struct path;
 2757#line 15
 2758struct vfsmount;
 2759#line 15
 2760struct vfsmount;
 2761#line 35 "include/linux/dcache.h"
 2762struct qstr {
 2763   unsigned int hash ;
 2764   unsigned int len ;
 2765   unsigned char const   *name ;
 2766};
 2767#line 88
 2768struct dentry_operations;
 2769#line 88
 2770struct super_block;
 2771#line 88 "include/linux/dcache.h"
 2772union __anonunion_d_u_232 {
 2773   struct list_head d_child ;
 2774   struct rcu_head d_rcu ;
 2775};
 2776#line 88 "include/linux/dcache.h"
 2777struct dentry {
 2778   unsigned int d_flags ;
 2779   seqcount_t d_seq ;
 2780   struct hlist_bl_node d_hash ;
 2781   struct dentry *d_parent ;
 2782   struct qstr d_name ;
 2783   struct inode *d_inode ;
 2784   unsigned char d_iname[32] ;
 2785   unsigned int d_count ;
 2786   spinlock_t d_lock ;
 2787   struct dentry_operations  const  *d_op ;
 2788   struct super_block *d_sb ;
 2789   unsigned long d_time ;
 2790   void *d_fsdata ;
 2791   struct list_head d_lru ;
 2792   union __anonunion_d_u_232 d_u ;
 2793   struct list_head d_subdirs ;
 2794   struct list_head d_alias ;
 2795};
 2796#line 131 "include/linux/dcache.h"
 2797struct dentry_operations {
 2798   int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
 2799   int (*d_hash)(struct dentry  const  * , struct inode  const  * , struct qstr * ) ;
 2800   int (*d_compare)(struct dentry  const  * , struct inode  const  * , struct dentry  const  * ,
 2801                    struct inode  const  * , unsigned int  , char const   * , struct qstr  const  * ) ;
 2802   int (*d_delete)(struct dentry  const  * ) ;
 2803   void (*d_release)(struct dentry * ) ;
 2804   void (*d_prune)(struct dentry * ) ;
 2805   void (*d_iput)(struct dentry * , struct inode * ) ;
 2806   char *(*d_dname)(struct dentry * , char * , int  ) ;
 2807   struct vfsmount *(*d_automount)(struct path * ) ;
 2808   int (*d_manage)(struct dentry * , bool  ) ;
 2809} __attribute__((__aligned__((1) <<  (6) ))) ;
 2810#line 4 "include/linux/path.h"
 2811struct dentry;
 2812#line 5
 2813struct vfsmount;
 2814#line 7 "include/linux/path.h"
 2815struct path {
 2816   struct vfsmount *mnt ;
 2817   struct dentry *dentry ;
 2818};
 2819#line 64 "include/linux/radix-tree.h"
 2820struct radix_tree_node;
 2821#line 64 "include/linux/radix-tree.h"
 2822struct radix_tree_root {
 2823   unsigned int height ;
 2824   gfp_t gfp_mask ;
 2825   struct radix_tree_node *rnode ;
 2826};
 2827#line 16 "include/linux/fiemap.h"
 2828struct fiemap_extent {
 2829   __u64 fe_logical ;
 2830   __u64 fe_physical ;
 2831   __u64 fe_length ;
 2832   __u64 fe_reserved64[2] ;
 2833   __u32 fe_flags ;
 2834   __u32 fe_reserved[3] ;
 2835};
 2836#line 10 "include/linux/migrate_mode.h"
 2837enum migrate_mode {
 2838    MIGRATE_ASYNC = 0,
 2839    MIGRATE_SYNC_LIGHT = 1,
 2840    MIGRATE_SYNC = 2
 2841} ;
 2842#line 408 "include/linux/fs.h"
 2843struct export_operations;
 2844#line 408
 2845struct export_operations;
 2846#line 409
 2847struct hd_geometry;
 2848#line 409
 2849struct hd_geometry;
 2850#line 410
 2851struct iovec;
 2852#line 411
 2853struct nameidata;
 2854#line 412
 2855struct kiocb;
 2856#line 413
 2857struct kobject;
 2858#line 414
 2859struct pipe_inode_info;
 2860#line 415
 2861struct poll_table_struct;
 2862#line 415
 2863struct poll_table_struct;
 2864#line 416
 2865struct kstatfs;
 2866#line 416
 2867struct kstatfs;
 2868#line 417
 2869struct vm_area_struct;
 2870#line 418
 2871struct vfsmount;
 2872#line 419
 2873struct cred;
 2874#line 469 "include/linux/fs.h"
 2875struct iattr {
 2876   unsigned int ia_valid ;
 2877   umode_t ia_mode ;
 2878   uid_t ia_uid ;
 2879   gid_t ia_gid ;
 2880   loff_t ia_size ;
 2881   struct timespec ia_atime ;
 2882   struct timespec ia_mtime ;
 2883   struct timespec ia_ctime ;
 2884   struct file *ia_file ;
 2885};
 2886#line 129 "include/linux/quota.h"
 2887struct if_dqinfo {
 2888   __u64 dqi_bgrace ;
 2889   __u64 dqi_igrace ;
 2890   __u32 dqi_flags ;
 2891   __u32 dqi_valid ;
 2892};
 2893#line 50 "include/linux/dqblk_xfs.h"
 2894struct fs_disk_quota {
 2895   __s8 d_version ;
 2896   __s8 d_flags ;
 2897   __u16 d_fieldmask ;
 2898   __u32 d_id ;
 2899   __u64 d_blk_hardlimit ;
 2900   __u64 d_blk_softlimit ;
 2901   __u64 d_ino_hardlimit ;
 2902   __u64 d_ino_softlimit ;
 2903   __u64 d_bcount ;
 2904   __u64 d_icount ;
 2905   __s32 d_itimer ;
 2906   __s32 d_btimer ;
 2907   __u16 d_iwarns ;
 2908   __u16 d_bwarns ;
 2909   __s32 d_padding2 ;
 2910   __u64 d_rtb_hardlimit ;
 2911   __u64 d_rtb_softlimit ;
 2912   __u64 d_rtbcount ;
 2913   __s32 d_rtbtimer ;
 2914   __u16 d_rtbwarns ;
 2915   __s16 d_padding3 ;
 2916   char d_padding4[8] ;
 2917};
 2918#line 146 "include/linux/dqblk_xfs.h"
 2919struct fs_qfilestat {
 2920   __u64 qfs_ino ;
 2921   __u64 qfs_nblks ;
 2922   __u32 qfs_nextents ;
 2923};
 2924#line 146 "include/linux/dqblk_xfs.h"
 2925typedef struct fs_qfilestat fs_qfilestat_t;
 2926#line 152 "include/linux/dqblk_xfs.h"
 2927struct fs_quota_stat {
 2928   __s8 qs_version ;
 2929   __u16 qs_flags ;
 2930   __s8 qs_pad ;
 2931   fs_qfilestat_t qs_uquota ;
 2932   fs_qfilestat_t qs_gquota ;
 2933   __u32 qs_incoredqs ;
 2934   __s32 qs_btimelimit ;
 2935   __s32 qs_itimelimit ;
 2936   __s32 qs_rtbtimelimit ;
 2937   __u16 qs_bwarnlimit ;
 2938   __u16 qs_iwarnlimit ;
 2939};
 2940#line 17 "include/linux/dqblk_qtree.h"
 2941struct dquot;
 2942#line 17
 2943struct dquot;
 2944#line 185 "include/linux/quota.h"
 2945typedef __kernel_uid32_t qid_t;
 2946#line 186 "include/linux/quota.h"
 2947typedef long long qsize_t;
 2948#line 200 "include/linux/quota.h"
 2949struct mem_dqblk {
 2950   qsize_t dqb_bhardlimit ;
 2951   qsize_t dqb_bsoftlimit ;
 2952   qsize_t dqb_curspace ;
 2953   qsize_t dqb_rsvspace ;
 2954   qsize_t dqb_ihardlimit ;
 2955   qsize_t dqb_isoftlimit ;
 2956   qsize_t dqb_curinodes ;
 2957   time_t dqb_btime ;
 2958   time_t dqb_itime ;
 2959};
 2960#line 215
 2961struct quota_format_type;
 2962#line 215
 2963struct quota_format_type;
 2964#line 217 "include/linux/quota.h"
 2965struct mem_dqinfo {
 2966   struct quota_format_type *dqi_format ;
 2967   int dqi_fmt_id ;
 2968   struct list_head dqi_dirty_list ;
 2969   unsigned long dqi_flags ;
 2970   unsigned int dqi_bgrace ;
 2971   unsigned int dqi_igrace ;
 2972   qsize_t dqi_maxblimit ;
 2973   qsize_t dqi_maxilimit ;
 2974   void *dqi_priv ;
 2975};
 2976#line 230
 2977struct super_block;
 2978#line 288 "include/linux/quota.h"
 2979struct dquot {
 2980   struct hlist_node dq_hash ;
 2981   struct list_head dq_inuse ;
 2982   struct list_head dq_free ;
 2983   struct list_head dq_dirty ;
 2984   struct mutex dq_lock ;
 2985   atomic_t dq_count ;
 2986   wait_queue_head_t dq_wait_unused ;
 2987   struct super_block *dq_sb ;
 2988   unsigned int dq_id ;
 2989   loff_t dq_off ;
 2990   unsigned long dq_flags ;
 2991   short dq_type ;
 2992   struct mem_dqblk dq_dqb ;
 2993};
 2994#line 305 "include/linux/quota.h"
 2995struct quota_format_ops {
 2996   int (*check_quota_file)(struct super_block *sb , int type ) ;
 2997   int (*read_file_info)(struct super_block *sb , int type ) ;
 2998   int (*write_file_info)(struct super_block *sb , int type ) ;
 2999   int (*free_file_info)(struct super_block *sb , int type ) ;
 3000   int (*read_dqblk)(struct dquot *dquot ) ;
 3001   int (*commit_dqblk)(struct dquot *dquot ) ;
 3002   int (*release_dqblk)(struct dquot *dquot ) ;
 3003};
 3004#line 316 "include/linux/quota.h"
 3005struct dquot_operations {
 3006   int (*write_dquot)(struct dquot * ) ;
 3007   struct dquot *(*alloc_dquot)(struct super_block * , int  ) ;
 3008   void (*destroy_dquot)(struct dquot * ) ;
 3009   int (*acquire_dquot)(struct dquot * ) ;
 3010   int (*release_dquot)(struct dquot * ) ;
 3011   int (*mark_dirty)(struct dquot * ) ;
 3012   int (*write_info)(struct super_block * , int  ) ;
 3013   qsize_t *(*get_reserved_space)(struct inode * ) ;
 3014};
 3015#line 329
 3016struct path;
 3017#line 332 "include/linux/quota.h"
 3018struct quotactl_ops {
 3019   int (*quota_on)(struct super_block * , int  , int  , struct path * ) ;
 3020   int (*quota_on_meta)(struct super_block * , int  , int  ) ;
 3021   int (*quota_off)(struct super_block * , int  ) ;
 3022   int (*quota_sync)(struct super_block * , int  , int  ) ;
 3023   int (*get_info)(struct super_block * , int  , struct if_dqinfo * ) ;
 3024   int (*set_info)(struct super_block * , int  , struct if_dqinfo * ) ;
 3025   int (*get_dqblk)(struct super_block * , int  , qid_t  , struct fs_disk_quota * ) ;
 3026   int (*set_dqblk)(struct super_block * , int  , qid_t  , struct fs_disk_quota * ) ;
 3027   int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
 3028   int (*set_xstate)(struct super_block * , unsigned int  , int  ) ;
 3029};
 3030#line 345 "include/linux/quota.h"
 3031struct quota_format_type {
 3032   int qf_fmt_id ;
 3033   struct quota_format_ops  const  *qf_ops ;
 3034   struct module *qf_owner ;
 3035   struct quota_format_type *qf_next ;
 3036};
 3037#line 399 "include/linux/quota.h"
 3038struct quota_info {
 3039   unsigned int flags ;
 3040   struct mutex dqio_mutex ;
 3041   struct mutex dqonoff_mutex ;
 3042   struct rw_semaphore dqptr_sem ;
 3043   struct inode *files[2] ;
 3044   struct mem_dqinfo info[2] ;
 3045   struct quota_format_ops  const  *ops[2] ;
 3046};
 3047#line 532 "include/linux/fs.h"
 3048struct page;
 3049#line 533
 3050struct address_space;
 3051#line 534
 3052struct writeback_control;
 3053#line 577 "include/linux/fs.h"
 3054union __anonunion_arg_239 {
 3055   char *buf ;
 3056   void *data ;
 3057};
 3058#line 577 "include/linux/fs.h"
 3059struct __anonstruct_read_descriptor_t_238 {
 3060   size_t written ;
 3061   size_t count ;
 3062   union __anonunion_arg_239 arg ;
 3063   int error ;
 3064};
 3065#line 577 "include/linux/fs.h"
 3066typedef struct __anonstruct_read_descriptor_t_238 read_descriptor_t;
 3067#line 590 "include/linux/fs.h"
 3068struct address_space_operations {
 3069   int (*writepage)(struct page *page , struct writeback_control *wbc ) ;
 3070   int (*readpage)(struct file * , struct page * ) ;
 3071   int (*writepages)(struct address_space * , struct writeback_control * ) ;
 3072   int (*set_page_dirty)(struct page *page ) ;
 3073   int (*readpages)(struct file *filp , struct address_space *mapping , struct list_head *pages ,
 3074                    unsigned int nr_pages ) ;
 3075   int (*write_begin)(struct file * , struct address_space *mapping , loff_t pos ,
 3076                      unsigned int len , unsigned int flags , struct page **pagep ,
 3077                      void **fsdata ) ;
 3078   int (*write_end)(struct file * , struct address_space *mapping , loff_t pos , unsigned int len ,
 3079                    unsigned int copied , struct page *page , void *fsdata ) ;
 3080   sector_t (*bmap)(struct address_space * , sector_t  ) ;
 3081   void (*invalidatepage)(struct page * , unsigned long  ) ;
 3082   int (*releasepage)(struct page * , gfp_t  ) ;
 3083   void (*freepage)(struct page * ) ;
 3084   ssize_t (*direct_IO)(int  , struct kiocb * , struct iovec  const  *iov , loff_t offset ,
 3085                        unsigned long nr_segs ) ;
 3086   int (*get_xip_mem)(struct address_space * , unsigned long  , int  , void ** , unsigned long * ) ;
 3087   int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode  ) ;
 3088   int (*launder_page)(struct page * ) ;
 3089   int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long  ) ;
 3090   int (*error_remove_page)(struct address_space * , struct page * ) ;
 3091};
 3092#line 645
 3093struct backing_dev_info;
 3094#line 646 "include/linux/fs.h"
 3095struct address_space {
 3096   struct inode *host ;
 3097   struct radix_tree_root page_tree ;
 3098   spinlock_t tree_lock ;
 3099   unsigned int i_mmap_writable ;
 3100   struct prio_tree_root i_mmap ;
 3101   struct list_head i_mmap_nonlinear ;
 3102   struct mutex i_mmap_mutex ;
 3103   unsigned long nrpages ;
 3104   unsigned long writeback_index ;
 3105   struct address_space_operations  const  *a_ops ;
 3106   unsigned long flags ;
 3107   struct backing_dev_info *backing_dev_info ;
 3108   spinlock_t private_lock ;
 3109   struct list_head private_list ;
 3110   struct address_space *assoc_mapping ;
 3111} __attribute__((__aligned__(sizeof(long )))) ;
 3112#line 669
 3113struct request_queue;
 3114#line 669
 3115struct request_queue;
 3116#line 671
 3117struct hd_struct;
 3118#line 671
 3119struct gendisk;
 3120#line 671 "include/linux/fs.h"
 3121struct block_device {
 3122   dev_t bd_dev ;
 3123   int bd_openers ;
 3124   struct inode *bd_inode ;
 3125   struct super_block *bd_super ;
 3126   struct mutex bd_mutex ;
 3127   struct list_head bd_inodes ;
 3128   void *bd_claiming ;
 3129   void *bd_holder ;
 3130   int bd_holders ;
 3131   bool bd_write_holder ;
 3132   struct list_head bd_holder_disks ;
 3133   struct block_device *bd_contains ;
 3134   unsigned int bd_block_size ;
 3135   struct hd_struct *bd_part ;
 3136   unsigned int bd_part_count ;
 3137   int bd_invalidated ;
 3138   struct gendisk *bd_disk ;
 3139   struct request_queue *bd_queue ;
 3140   struct list_head bd_list ;
 3141   unsigned long bd_private ;
 3142   int bd_fsfreeze_count ;
 3143   struct mutex bd_fsfreeze_mutex ;
 3144};
 3145#line 749
 3146struct posix_acl;
 3147#line 749
 3148struct posix_acl;
 3149#line 761
 3150struct inode_operations;
 3151#line 761 "include/linux/fs.h"
 3152union __anonunion____missing_field_name_240 {
 3153   unsigned int const   i_nlink ;
 3154   unsigned int __i_nlink ;
 3155};
 3156#line 761 "include/linux/fs.h"
 3157union __anonunion____missing_field_name_241 {
 3158   struct list_head i_dentry ;
 3159   struct rcu_head i_rcu ;
 3160};
 3161#line 761
 3162struct file_operations;
 3163#line 761
 3164struct file_lock;
 3165#line 761
 3166struct cdev;
 3167#line 761 "include/linux/fs.h"
 3168union __anonunion____missing_field_name_242 {
 3169   struct pipe_inode_info *i_pipe ;
 3170   struct block_device *i_bdev ;
 3171   struct cdev *i_cdev ;
 3172};
 3173#line 761 "include/linux/fs.h"
 3174struct inode {
 3175   umode_t i_mode ;
 3176   unsigned short i_opflags ;
 3177   uid_t i_uid ;
 3178   gid_t i_gid ;
 3179   unsigned int i_flags ;
 3180   struct posix_acl *i_acl ;
 3181   struct posix_acl *i_default_acl ;
 3182   struct inode_operations  const  *i_op ;
 3183   struct super_block *i_sb ;
 3184   struct address_space *i_mapping ;
 3185   void *i_security ;
 3186   unsigned long i_ino ;
 3187   union __anonunion____missing_field_name_240 __annonCompField44 ;
 3188   dev_t i_rdev ;
 3189   struct timespec i_atime ;
 3190   struct timespec i_mtime ;
 3191   struct timespec i_ctime ;
 3192   spinlock_t i_lock ;
 3193   unsigned short i_bytes ;
 3194   blkcnt_t i_blocks ;
 3195   loff_t i_size ;
 3196   unsigned long i_state ;
 3197   struct mutex i_mutex ;
 3198   unsigned long dirtied_when ;
 3199   struct hlist_node i_hash ;
 3200   struct list_head i_wb_list ;
 3201   struct list_head i_lru ;
 3202   struct list_head i_sb_list ;
 3203   union __anonunion____missing_field_name_241 __annonCompField45 ;
 3204   atomic_t i_count ;
 3205   unsigned int i_blkbits ;
 3206   u64 i_version ;
 3207   atomic_t i_dio_count ;
 3208   atomic_t i_writecount ;
 3209   struct file_operations  const  *i_fop ;
 3210   struct file_lock *i_flock ;
 3211   struct address_space i_data ;
 3212   struct dquot *i_dquot[2] ;
 3213   struct list_head i_devices ;
 3214   union __anonunion____missing_field_name_242 __annonCompField46 ;
 3215   __u32 i_generation ;
 3216   __u32 i_fsnotify_mask ;
 3217   struct hlist_head i_fsnotify_marks ;
 3218   atomic_t i_readcount ;
 3219   void *i_private ;
 3220};
 3221#line 942 "include/linux/fs.h"
 3222struct fown_struct {
 3223   rwlock_t lock ;
 3224   struct pid *pid ;
 3225   enum pid_type pid_type ;
 3226   uid_t uid ;
 3227   uid_t euid ;
 3228   int signum ;
 3229};
 3230#line 953 "include/linux/fs.h"
 3231struct file_ra_state {
 3232   unsigned long start ;
 3233   unsigned int size ;
 3234   unsigned int async_size ;
 3235   unsigned int ra_pages ;
 3236   unsigned int mmap_miss ;
 3237   loff_t prev_pos ;
 3238};
 3239#line 976 "include/linux/fs.h"
 3240union __anonunion_f_u_243 {
 3241   struct list_head fu_list ;
 3242   struct rcu_head fu_rcuhead ;
 3243};
 3244#line 976 "include/linux/fs.h"
 3245struct file {
 3246   union __anonunion_f_u_243 f_u ;
 3247   struct path f_path ;
 3248   struct file_operations  const  *f_op ;
 3249   spinlock_t f_lock ;
 3250   int f_sb_list_cpu ;
 3251   atomic_long_t f_count ;
 3252   unsigned int f_flags ;
 3253   fmode_t f_mode ;
 3254   loff_t f_pos ;
 3255   struct fown_struct f_owner ;
 3256   struct cred  const  *f_cred ;
 3257   struct file_ra_state f_ra ;
 3258   u64 f_version ;
 3259   void *f_security ;
 3260   void *private_data ;
 3261   struct list_head f_ep_links ;
 3262   struct list_head f_tfile_llink ;
 3263   struct address_space *f_mapping ;
 3264   unsigned long f_mnt_write_state ;
 3265};
 3266#line 1111 "include/linux/fs.h"
 3267typedef struct files_struct *fl_owner_t;
 3268#line 1113 "include/linux/fs.h"
 3269struct file_lock_operations {
 3270   void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
 3271   void (*fl_release_private)(struct file_lock * ) ;
 3272};
 3273#line 1118 "include/linux/fs.h"
 3274struct lock_manager_operations {
 3275   int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
 3276   void (*lm_notify)(struct file_lock * ) ;
 3277   int (*lm_grant)(struct file_lock * , struct file_lock * , int  ) ;
 3278   void (*lm_release_private)(struct file_lock * ) ;
 3279   void (*lm_break)(struct file_lock * ) ;
 3280   int (*lm_change)(struct file_lock ** , int  ) ;
 3281};
 3282#line 4 "include/linux/nfs_fs_i.h"
 3283struct nlm_lockowner;
 3284#line 4
 3285struct nlm_lockowner;
 3286#line 9 "include/linux/nfs_fs_i.h"
 3287struct nfs_lock_info {
 3288   u32 state ;
 3289   struct nlm_lockowner *owner ;
 3290   struct list_head list ;
 3291};
 3292#line 15
 3293struct nfs4_lock_state;
 3294#line 15
 3295struct nfs4_lock_state;
 3296#line 16 "include/linux/nfs_fs_i.h"
 3297struct nfs4_lock_info {
 3298   struct nfs4_lock_state *owner ;
 3299};
 3300#line 1138 "include/linux/fs.h"
 3301struct fasync_struct;
 3302#line 1138 "include/linux/fs.h"
 3303struct __anonstruct_afs_245 {
 3304   struct list_head link ;
 3305   int state ;
 3306};
 3307#line 1138 "include/linux/fs.h"
 3308union __anonunion_fl_u_244 {
 3309   struct nfs_lock_info nfs_fl ;
 3310   struct nfs4_lock_info nfs4_fl ;
 3311   struct __anonstruct_afs_245 afs ;
 3312};
 3313#line 1138 "include/linux/fs.h"
 3314struct file_lock {
 3315   struct file_lock *fl_next ;
 3316   struct list_head fl_link ;
 3317   struct list_head fl_block ;
 3318   fl_owner_t fl_owner ;
 3319   unsigned int fl_flags ;
 3320   unsigned char fl_type ;
 3321   unsigned int fl_pid ;
 3322   struct pid *fl_nspid ;
 3323   wait_queue_head_t fl_wait ;
 3324   struct file *fl_file ;
 3325   loff_t fl_start ;
 3326   loff_t fl_end ;
 3327   struct fasync_struct *fl_fasync ;
 3328   unsigned long fl_break_time ;
 3329   unsigned long fl_downgrade_time ;
 3330   struct file_lock_operations  const  *fl_ops ;
 3331   struct lock_manager_operations  const  *fl_lmops ;
 3332   union __anonunion_fl_u_244 fl_u ;
 3333};
 3334#line 1378 "include/linux/fs.h"
 3335struct fasync_struct {
 3336   spinlock_t fa_lock ;
 3337   int magic ;
 3338   int fa_fd ;
 3339   struct fasync_struct *fa_next ;
 3340   struct file *fa_file ;
 3341   struct rcu_head fa_rcu ;
 3342};
 3343#line 1418
 3344struct file_system_type;
 3345#line 1418
 3346struct super_operations;
 3347#line 1418
 3348struct xattr_handler;
 3349#line 1418
 3350struct mtd_info;
 3351#line 1418 "include/linux/fs.h"
 3352struct super_block {
 3353   struct list_head s_list ;
 3354   dev_t s_dev ;
 3355   unsigned char s_dirt ;
 3356   unsigned char s_blocksize_bits ;
 3357   unsigned long s_blocksize ;
 3358   loff_t s_maxbytes ;
 3359   struct file_system_type *s_type ;
 3360   struct super_operations  const  *s_op ;
 3361   struct dquot_operations  const  *dq_op ;
 3362   struct quotactl_ops  const  *s_qcop ;
 3363   struct export_operations  const  *s_export_op ;
 3364   unsigned long s_flags ;
 3365   unsigned long s_magic ;
 3366   struct dentry *s_root ;
 3367   struct rw_semaphore s_umount ;
 3368   struct mutex s_lock ;
 3369   int s_count ;
 3370   atomic_t s_active ;
 3371   void *s_security ;
 3372   struct xattr_handler  const  **s_xattr ;
 3373   struct list_head s_inodes ;
 3374   struct hlist_bl_head s_anon ;
 3375   struct list_head *s_files ;
 3376   struct list_head s_mounts ;
 3377   struct list_head s_dentry_lru ;
 3378   int s_nr_dentry_unused ;
 3379   spinlock_t s_inode_lru_lock  __attribute__((__aligned__((1) <<  (6) ))) ;
 3380   struct list_head s_inode_lru ;
 3381   int s_nr_inodes_unused ;
 3382   struct block_device *s_bdev ;
 3383   struct backing_dev_info *s_bdi ;
 3384   struct mtd_info *s_mtd ;
 3385   struct hlist_node s_instances ;
 3386   struct quota_info s_dquot ;
 3387   int s_frozen ;
 3388   wait_queue_head_t s_wait_unfrozen ;
 3389   char s_id[32] ;
 3390   u8 s_uuid[16] ;
 3391   void *s_fs_info ;
 3392   unsigned int s_max_links ;
 3393   fmode_t s_mode ;
 3394   u32 s_time_gran ;
 3395   struct mutex s_vfs_rename_mutex ;
 3396   char *s_subtype ;
 3397   char *s_options ;
 3398   struct dentry_operations  const  *s_d_op ;
 3399   int cleancache_poolid ;
 3400   struct shrinker s_shrink ;
 3401   atomic_long_t s_remove_count ;
 3402   int s_readonly_remount ;
 3403};
 3404#line 1567 "include/linux/fs.h"
 3405struct fiemap_extent_info {
 3406   unsigned int fi_flags ;
 3407   unsigned int fi_extents_mapped ;
 3408   unsigned int fi_extents_max ;
 3409   struct fiemap_extent *fi_extents_start ;
 3410};
 3411#line 1601
 3412struct block_device_operations;
 3413#line 1601
 3414struct block_device_operations;
 3415#line 1609 "include/linux/fs.h"
 3416struct file_operations {
 3417   struct module *owner ;
 3418   loff_t (*llseek)(struct file * , loff_t  , int  ) ;
 3419   ssize_t (*read)(struct file * , char * , size_t  , loff_t * ) ;
 3420   ssize_t (*write)(struct file * , char const   * , size_t  , loff_t * ) ;
 3421   ssize_t (*aio_read)(struct kiocb * , struct iovec  const  * , unsigned long  ,
 3422                       loff_t  ) ;
 3423   ssize_t (*aio_write)(struct kiocb * , struct iovec  const  * , unsigned long  ,
 3424                        loff_t  ) ;
 3425   int (*readdir)(struct file * , void * , int (*)(void * , char const   * , int  ,
 3426                                                   loff_t  , u64  , unsigned int  ) ) ;
 3427   unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
 3428   long (*unlocked_ioctl)(struct file * , unsigned int  , unsigned long  ) ;
 3429   long (*compat_ioctl)(struct file * , unsigned int  , unsigned long  ) ;
 3430   int (*mmap)(struct file * , struct vm_area_struct * ) ;
 3431   int (*open)(struct inode * , struct file * ) ;
 3432   int (*flush)(struct file * , fl_owner_t id ) ;
 3433   int (*release)(struct inode * , struct file * ) ;
 3434   int (*fsync)(struct file * , loff_t  , loff_t  , int datasync ) ;
 3435   int (*aio_fsync)(struct kiocb * , int datasync ) ;
 3436   int (*fasync)(int  , struct file * , int  ) ;
 3437   int (*lock)(struct file * , int  , struct file_lock * ) ;
 3438   ssize_t (*sendpage)(struct file * , struct page * , int  , size_t  , loff_t * ,
 3439                       int  ) ;
 3440   unsigned long (*get_unmapped_area)(struct file * , unsigned long  , unsigned long  ,
 3441                                      unsigned long  , unsigned long  ) ;
 3442   int (*check_flags)(int  ) ;
 3443   int (*flock)(struct file * , int  , struct file_lock * ) ;
 3444   ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t  ,
 3445                           unsigned int  ) ;
 3446   ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t  ,
 3447                          unsigned int  ) ;
 3448   int (*setlease)(struct file * , long  , struct file_lock ** ) ;
 3449   long (*fallocate)(struct file *file , int mode , loff_t offset , loff_t len ) ;
 3450};
 3451#line 1639 "include/linux/fs.h"
 3452struct inode_operations {
 3453   struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
 3454   void *(*follow_link)(struct dentry * , struct nameidata * ) ;
 3455   int (*permission)(struct inode * , int  ) ;
 3456   struct posix_acl *(*get_acl)(struct inode * , int  ) ;
 3457   int (*readlink)(struct dentry * , char * , int  ) ;
 3458   void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
 3459   int (*create)(struct inode * , struct dentry * , umode_t  , struct nameidata * ) ;
 3460   int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
 3461   int (*unlink)(struct inode * , struct dentry * ) ;
 3462   int (*symlink)(struct inode * , struct dentry * , char const   * ) ;
 3463   int (*mkdir)(struct inode * , struct dentry * , umode_t  ) ;
 3464   int (*rmdir)(struct inode * , struct dentry * ) ;
 3465   int (*mknod)(struct inode * , struct dentry * , umode_t  , dev_t  ) ;
 3466   int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
 3467   void (*truncate)(struct inode * ) ;
 3468   int (*setattr)(struct dentry * , struct iattr * ) ;
 3469   int (*getattr)(struct vfsmount *mnt , struct dentry * , struct kstat * ) ;
 3470   int (*setxattr)(struct dentry * , char const   * , void const   * , size_t  , int  ) ;
 3471   ssize_t (*getxattr)(struct dentry * , char const   * , void * , size_t  ) ;
 3472   ssize_t (*listxattr)(struct dentry * , char * , size_t  ) ;
 3473   int (*removexattr)(struct dentry * , char const   * ) ;
 3474   void (*truncate_range)(struct inode * , loff_t  , loff_t  ) ;
 3475   int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 start , u64 len ) ;
 3476} __attribute__((__aligned__((1) <<  (6) ))) ;
 3477#line 1669
 3478struct seq_file;
 3479#line 1684 "include/linux/fs.h"
 3480struct super_operations {
 3481   struct inode *(*alloc_inode)(struct super_block *sb ) ;
 3482   void (*destroy_inode)(struct inode * ) ;
 3483   void (*dirty_inode)(struct inode * , int flags ) ;
 3484   int (*write_inode)(struct inode * , struct writeback_control *wbc ) ;
 3485   int (*drop_inode)(struct inode * ) ;
 3486   void (*evict_inode)(struct inode * ) ;
 3487   void (*put_super)(struct super_block * ) ;
 3488   void (*write_super)(struct super_block * ) ;
 3489   int (*sync_fs)(struct super_block *sb , int wait ) ;
 3490   int (*freeze_fs)(struct super_block * ) ;
 3491   int (*unfreeze_fs)(struct super_block * ) ;
 3492   int (*statfs)(struct dentry * , struct kstatfs * ) ;
 3493   int (*remount_fs)(struct super_block * , int * , char * ) ;
 3494   void (*umount_begin)(struct super_block * ) ;
 3495   int (*show_options)(struct seq_file * , struct dentry * ) ;
 3496   int (*show_devname)(struct seq_file * , struct dentry * ) ;
 3497   int (*show_path)(struct seq_file * , struct dentry * ) ;
 3498   int (*show_stats)(struct seq_file * , struct dentry * ) ;
 3499   ssize_t (*quota_read)(struct super_block * , int  , char * , size_t  , loff_t  ) ;
 3500   ssize_t (*quota_write)(struct super_block * , int  , char const   * , size_t  ,
 3501                          loff_t  ) ;
 3502   int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t  ) ;
 3503   int (*nr_cached_objects)(struct super_block * ) ;
 3504   void (*free_cached_objects)(struct super_block * , int  ) ;
 3505};
 3506#line 1835 "include/linux/fs.h"
 3507struct file_system_type {
 3508   char const   *name ;
 3509   int fs_flags ;
 3510   struct dentry *(*mount)(struct file_system_type * , int  , char const   * , void * ) ;
 3511   void (*kill_sb)(struct super_block * ) ;
 3512   struct module *owner ;
 3513   struct file_system_type *next ;
 3514   struct hlist_head fs_supers ;
 3515   struct lock_class_key s_lock_key ;
 3516   struct lock_class_key s_umount_key ;
 3517   struct lock_class_key s_vfs_rename_key ;
 3518   struct lock_class_key i_lock_key ;
 3519   struct lock_class_key i_mutex_key ;
 3520   struct lock_class_key i_mutex_dir_key ;
 3521};
 3522#line 82 "include/linux/genhd.h"
 3523struct disk_stats {
 3524   unsigned long sectors[2] ;
 3525   unsigned long ios[2] ;
 3526   unsigned long merges[2] ;
 3527   unsigned long ticks[2] ;
 3528   unsigned long io_ticks ;
 3529   unsigned long time_in_queue ;
 3530};
 3531#line 94 "include/linux/genhd.h"
 3532struct partition_meta_info {
 3533   u8 uuid[16] ;
 3534   u8 volname[64] ;
 3535};
 3536#line 99 "include/linux/genhd.h"
 3537struct hd_struct {
 3538   sector_t start_sect ;
 3539   sector_t nr_sects ;
 3540   sector_t alignment_offset ;
 3541   unsigned int discard_alignment ;
 3542   struct device __dev ;
 3543   struct kobject *holder_dir ;
 3544   int policy ;
 3545   int partno ;
 3546   struct partition_meta_info *info ;
 3547   int make_it_fail ;
 3548   unsigned long stamp ;
 3549   atomic_t in_flight[2] ;
 3550   struct disk_stats *dkstats ;
 3551   atomic_t ref ;
 3552   struct rcu_head rcu_head ;
 3553};
 3554#line 147 "include/linux/genhd.h"
 3555struct disk_part_tbl {
 3556   struct rcu_head rcu_head ;
 3557   int len ;
 3558   struct hd_struct *last_lookup ;
 3559   struct hd_struct *part[] ;
 3560};
 3561#line 154
 3562struct disk_events;
 3563#line 154
 3564struct disk_events;
 3565#line 156
 3566struct timer_rand_state;
 3567#line 156
 3568struct blk_integrity;
 3569#line 156 "include/linux/genhd.h"
 3570struct gendisk {
 3571   int major ;
 3572   int first_minor ;
 3573   int minors ;
 3574   char disk_name[32] ;
 3575   char *(*devnode)(struct gendisk *gd , umode_t *mode ) ;
 3576   unsigned int events ;
 3577   unsigned int async_events ;
 3578   struct disk_part_tbl *part_tbl ;
 3579   struct hd_struct part0 ;
 3580   struct block_device_operations  const  *fops ;
 3581   struct request_queue *queue ;
 3582   void *private_data ;
 3583   int flags ;
 3584   struct device *driverfs_dev ;
 3585   struct kobject *slave_dir ;
 3586   struct timer_rand_state *random ;
 3587   atomic_t sync_io ;
 3588   struct disk_events *ev ;
 3589   struct blk_integrity *integrity ;
 3590   int node_id ;
 3591};
 3592#line 94 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess.h"
 3593struct exception_table_entry {
 3594   unsigned long insn ;
 3595   unsigned long fixup ;
 3596};
 3597#line 31 "include/linux/irq.h"
 3598struct seq_file;
 3599#line 32
 3600struct module;
 3601#line 12 "include/linux/irqdesc.h"
 3602struct proc_dir_entry;
 3603#line 12
 3604struct proc_dir_entry;
 3605#line 13
 3606struct timer_rand_state;
 3607#line 14
 3608struct module;
 3609#line 16 "include/linux/profile.h"
 3610struct proc_dir_entry;
 3611#line 17
 3612struct pt_regs;
 3613#line 65
 3614struct task_struct;
 3615#line 66
 3616struct mm_struct;
 3617#line 88
 3618struct pt_regs;
 3619#line 132 "include/linux/hardirq.h"
 3620struct task_struct;
 3621#line 28 "include/linux/writeback.h"
 3622struct backing_dev_info;
 3623#line 33
 3624enum writeback_sync_modes {
 3625    WB_SYNC_NONE = 0,
 3626    WB_SYNC_ALL = 1
 3627} ;
 3628#line 60 "include/linux/writeback.h"
 3629struct writeback_control {
 3630   enum writeback_sync_modes sync_mode ;
 3631   long nr_to_write ;
 3632   long pages_skipped ;
 3633   loff_t range_start ;
 3634   loff_t range_end ;
 3635   unsigned int for_kupdate : 1 ;
 3636   unsigned int for_background : 1 ;
 3637   unsigned int tagged_writepages : 1 ;
 3638   unsigned int for_reclaim : 1 ;
 3639   unsigned int range_cyclic : 1 ;
 3640};
 3641#line 84
 3642struct bdi_writeback;
 3643#line 84
 3644struct bdi_writeback;
 3645#line 21 "include/linux/backing-dev.h"
 3646struct page;
 3647#line 22
 3648struct device;
 3649#line 23
 3650struct dentry;
 3651#line 38 "include/linux/backing-dev.h"
 3652typedef int congested_fn(void * , int  );
 3653#line 50 "include/linux/backing-dev.h"
 3654struct bdi_writeback {
 3655   struct backing_dev_info *bdi ;
 3656   unsigned int nr ;
 3657   unsigned long last_old_flush ;
 3658   unsigned long last_active ;
 3659   struct task_struct *task ;
 3660   struct timer_list wakeup_timer ;
 3661   struct list_head b_dirty ;
 3662   struct list_head b_io ;
 3663   struct list_head b_more_io ;
 3664   spinlock_t list_lock ;
 3665};
 3666#line 65 "include/linux/backing-dev.h"
 3667struct backing_dev_info {
 3668   struct list_head bdi_list ;
 3669   unsigned long ra_pages ;
 3670   unsigned long state ;
 3671   unsigned int capabilities ;
 3672   congested_fn *congested_fn ;
 3673   void *congested_data ;
 3674   char *name ;
 3675   struct percpu_counter bdi_stat[4] ;
 3676   unsigned long bw_time_stamp ;
 3677   unsigned long dirtied_stamp ;
 3678   unsigned long written_stamp ;
 3679   unsigned long write_bandwidth ;
 3680   unsigned long avg_write_bandwidth ;
 3681   unsigned long dirty_ratelimit ;
 3682   unsigned long balanced_dirty_ratelimit ;
 3683   struct prop_local_percpu completions ;
 3684   int dirty_exceeded ;
 3685   unsigned int min_ratio ;
 3686   unsigned int max_ratio ;
 3687   unsigned int max_prop_frac ;
 3688   struct bdi_writeback wb ;
 3689   spinlock_t wb_lock ;
 3690   struct list_head work_list ;
 3691   struct device *dev ;
 3692   struct timer_list laptop_mode_wb_timer ;
 3693   struct dentry *debug_dir ;
 3694   struct dentry *debug_stats ;
 3695};
 3696#line 9 "include/linux/mempool.h"
 3697struct kmem_cache;
 3698#line 11 "include/linux/mempool.h"
 3699typedef void *mempool_alloc_t(gfp_t gfp_mask , void *pool_data );
 3700#line 12 "include/linux/mempool.h"
 3701typedef void mempool_free_t(void *element , void *pool_data );
 3702#line 14 "include/linux/mempool.h"
 3703struct mempool_s {
 3704   spinlock_t lock ;
 3705   int min_nr ;
 3706   int curr_nr ;
 3707   void **elements ;
 3708   void *pool_data ;
 3709   mempool_alloc_t *alloc ;
 3710   mempool_free_t *free ;
 3711   wait_queue_head_t wait ;
 3712};
 3713#line 14 "include/linux/mempool.h"
 3714typedef struct mempool_s mempool_t;
 3715#line 75 "include/linux/iocontext.h"
 3716union __anonunion____missing_field_name_256 {
 3717   struct list_head q_node ;
 3718   struct kmem_cache *__rcu_icq_cache ;
 3719};
 3720#line 75 "include/linux/iocontext.h"
 3721union __anonunion____missing_field_name_257 {
 3722   struct hlist_node ioc_node ;
 3723   struct rcu_head __rcu_head ;
 3724};
 3725#line 75 "include/linux/iocontext.h"
 3726struct io_cq {
 3727   struct request_queue *q ;
 3728   struct io_context *ioc ;
 3729   union __anonunion____missing_field_name_256 __annonCompField47 ;
 3730   union __anonunion____missing_field_name_257 __annonCompField48 ;
 3731   unsigned int flags ;
 3732};
 3733#line 101 "include/linux/iocontext.h"
 3734struct io_context {
 3735   atomic_long_t refcount ;
 3736   atomic_t nr_tasks ;
 3737   spinlock_t lock ;
 3738   unsigned short ioprio ;
 3739   int nr_batch_requests ;
 3740   unsigned long last_waited ;
 3741   struct radix_tree_root icq_tree ;
 3742   struct io_cq *icq_hint ;
 3743   struct hlist_head icq_list ;
 3744   struct work_struct release_work ;
 3745};
 3746#line 137
 3747struct task_struct;
 3748#line 170 "include/linux/bio.h"
 3749struct bio_integrity_payload {
 3750   struct bio *bip_bio ;
 3751   sector_t bip_sector ;
 3752   void *bip_buf ;
 3753   bio_end_io_t *bip_end_io ;
 3754   unsigned int bip_size ;
 3755   unsigned short bip_slab ;
 3756   unsigned short bip_vcnt ;
 3757   unsigned short bip_idx ;
 3758   struct work_struct bip_work ;
 3759   struct bio_vec bip_vec[0] ;
 3760};
 3761#line 222
 3762struct request_queue;
 3763#line 374 "include/linux/bio.h"
 3764struct bio_list {
 3765   struct bio *head ;
 3766   struct bio *tail ;
 3767};
 3768#line 67 "include/linux/bsg.h"
 3769struct bsg_class_device {
 3770   struct device *class_dev ;
 3771   struct device *parent ;
 3772   int minor ;
 3773   struct request_queue *queue ;
 3774   struct kref ref ;
 3775   void (*release)(struct device * ) ;
 3776};
 3777#line 25 "include/linux/blkdev.h"
 3778struct module;
 3779#line 28
 3780struct request_queue;
 3781#line 29
 3782struct elevator_queue;
 3783#line 29
 3784struct elevator_queue;
 3785#line 32
 3786struct request;
 3787#line 32
 3788struct request;
 3789#line 34
 3790struct bsg_job;
 3791#line 34
 3792struct bsg_job;
 3793#line 39
 3794struct request;
 3795#line 40 "include/linux/blkdev.h"
 3796typedef void rq_end_io_fn(struct request * , int  );
 3797#line 42 "include/linux/blkdev.h"
 3798struct request_list {
 3799   int count[2] ;
 3800   int starved[2] ;
 3801   int elvpriv ;
 3802   mempool_t *rq_pool ;
 3803   wait_queue_head_t wait[2] ;
 3804};
 3805#line 57
 3806enum rq_cmd_type_bits {
 3807    REQ_TYPE_FS = 1,
 3808    REQ_TYPE_BLOCK_PC = 2,
 3809    REQ_TYPE_SENSE = 3,
 3810    REQ_TYPE_PM_SUSPEND = 4,
 3811    REQ_TYPE_PM_RESUME = 5,
 3812    REQ_TYPE_PM_SHUTDOWN = 6,
 3813    REQ_TYPE_SPECIAL = 7,
 3814    REQ_TYPE_ATA_TASKFILE = 8,
 3815    REQ_TYPE_ATA_PC = 9
 3816} ;
 3817#line 81 "include/linux/blkdev.h"
 3818union __anonunion____missing_field_name_260 {
 3819   struct rb_node rb_node ;
 3820   void *completion_data ;
 3821};
 3822#line 81 "include/linux/blkdev.h"
 3823struct __anonstruct_elv_262 {
 3824   struct io_cq *icq ;
 3825   void *priv[2] ;
 3826};
 3827#line 81 "include/linux/blkdev.h"
 3828struct __anonstruct_flush_263 {
 3829   unsigned int seq ;
 3830   struct list_head list ;
 3831   rq_end_io_fn *saved_end_io ;
 3832};
 3833#line 81 "include/linux/blkdev.h"
 3834union __anonunion____missing_field_name_261 {
 3835   struct __anonstruct_elv_262 elv ;
 3836   struct __anonstruct_flush_263 flush ;
 3837};
 3838#line 81 "include/linux/blkdev.h"
 3839struct request {
 3840   struct list_head queuelist ;
 3841   struct call_single_data csd ;
 3842   struct request_queue *q ;
 3843   unsigned int cmd_flags ;
 3844   enum rq_cmd_type_bits cmd_type ;
 3845   unsigned long atomic_flags ;
 3846   int cpu ;
 3847   unsigned int __data_len ;
 3848   sector_t __sector ;
 3849   struct bio *bio ;
 3850   struct bio *biotail ;
 3851   struct hlist_node hash ;
 3852   union __anonunion____missing_field_name_260 __annonCompField49 ;
 3853   union __anonunion____missing_field_name_261 __annonCompField50 ;
 3854   struct gendisk *rq_disk ;
 3855   struct hd_struct *part ;
 3856   unsigned long start_time ;
 3857   unsigned short nr_phys_segments ;
 3858   unsigned short nr_integrity_segments ;
 3859   unsigned short ioprio ;
 3860   int ref_count ;
 3861   void *special ;
 3862   char *buffer ;
 3863   int tag ;
 3864   int errors ;
 3865   unsigned char __cmd[16] ;
 3866   unsigned char *cmd ;
 3867   unsigned short cmd_len ;
 3868   unsigned int extra_len ;
 3869   unsigned int sense_len ;
 3870   unsigned int resid_len ;
 3871   void *sense ;
 3872   unsigned long deadline ;
 3873   struct list_head timeout_list ;
 3874   unsigned int timeout ;
 3875   int retries ;
 3876   rq_end_io_fn *end_io ;
 3877   void *end_io_data ;
 3878   struct request *next_rq ;
 3879};
 3880#line 8 "include/linux/elevator.h"
 3881struct io_cq;
 3882#line 10 "include/linux/elevator.h"
 3883typedef int elevator_merge_fn(struct request_queue * , struct request ** , struct bio * );
 3884#line 13 "include/linux/elevator.h"
 3885typedef void elevator_merge_req_fn(struct request_queue * , struct request * , struct request * );
 3886#line 15 "include/linux/elevator.h"
 3887typedef void elevator_merged_fn(struct request_queue * , struct request * , int  );
 3888#line 17 "include/linux/elevator.h"
 3889typedef int elevator_allow_merge_fn(struct request_queue * , struct request * , struct bio * );
 3890#line 19 "include/linux/elevator.h"
 3891typedef void elevator_bio_merged_fn(struct request_queue * , struct request * , struct bio * );
 3892#line 22 "include/linux/elevator.h"
 3893typedef int elevator_dispatch_fn(struct request_queue * , int  );
 3894#line 24 "include/linux/elevator.h"
 3895typedef void elevator_add_req_fn(struct request_queue * , struct request * );
 3896#line 25 "include/linux/elevator.h"
 3897typedef struct request *elevator_request_list_fn(struct request_queue * , struct request * );
 3898#line 26 "include/linux/elevator.h"
 3899typedef void elevator_completed_req_fn(struct request_queue * , struct request * );
 3900#line 27 "include/linux/elevator.h"
 3901typedef int elevator_may_queue_fn(struct request_queue * , int  );
 3902#line 29 "include/linux/elevator.h"
 3903typedef void elevator_init_icq_fn(struct io_cq * );
 3904#line 30 "include/linux/elevator.h"
 3905typedef void elevator_exit_icq_fn(struct io_cq * );
 3906#line 31 "include/linux/elevator.h"
 3907typedef int elevator_set_req_fn(struct request_queue * , struct request * , gfp_t  );
 3908#line 32 "include/linux/elevator.h"
 3909typedef void elevator_put_req_fn(struct request * );
 3910#line 33 "include/linux/elevator.h"
 3911typedef void elevator_activate_req_fn(struct request_queue * , struct request * );
 3912#line 34 "include/linux/elevator.h"
 3913typedef void elevator_deactivate_req_fn(struct request_queue * , struct request * );
 3914#line 36 "include/linux/elevator.h"
 3915typedef void *elevator_init_fn(struct request_queue * );
 3916#line 37 "include/linux/elevator.h"
 3917typedef void elevator_exit_fn(struct elevator_queue * );
 3918#line 39 "include/linux/elevator.h"
 3919struct elevator_ops {
 3920   elevator_merge_fn *elevator_merge_fn ;
 3921   elevator_merged_fn *elevator_merged_fn ;
 3922   elevator_merge_req_fn *elevator_merge_req_fn ;
 3923   elevator_allow_merge_fn *elevator_allow_merge_fn ;
 3924   elevator_bio_merged_fn *elevator_bio_merged_fn ;
 3925   elevator_dispatch_fn *elevator_dispatch_fn ;
 3926   elevator_add_req_fn *elevator_add_req_fn ;
 3927   elevator_activate_req_fn *elevator_activate_req_fn ;
 3928   elevator_deactivate_req_fn *elevator_deactivate_req_fn ;
 3929   elevator_completed_req_fn *elevator_completed_req_fn ;
 3930   elevator_request_list_fn *elevator_former_req_fn ;
 3931   elevator_request_list_fn *elevator_latter_req_fn ;
 3932   elevator_init_icq_fn *elevator_init_icq_fn ;
 3933   elevator_exit_icq_fn *elevator_exit_icq_fn ;
 3934   elevator_set_req_fn *elevator_set_req_fn ;
 3935   elevator_put_req_fn *elevator_put_req_fn ;
 3936   elevator_may_queue_fn *elevator_may_queue_fn ;
 3937   elevator_init_fn *elevator_init_fn ;
 3938   elevator_exit_fn *elevator_exit_fn ;
 3939};
 3940#line 71 "include/linux/elevator.h"
 3941struct elv_fs_entry {
 3942   struct attribute attr ;
 3943   ssize_t (*show)(struct elevator_queue * , char * ) ;
 3944   ssize_t (*store)(struct elevator_queue * , char const   * , size_t  ) ;
 3945};
 3946#line 80 "include/linux/elevator.h"
 3947struct elevator_type {
 3948   struct kmem_cache *icq_cache ;
 3949   struct elevator_ops ops ;
 3950   size_t icq_size ;
 3951   size_t icq_align ;
 3952   struct elv_fs_entry *elevator_attrs ;
 3953   char elevator_name[16] ;
 3954   struct module *elevator_owner ;
 3955   char icq_cache_name[21] ;
 3956   struct list_head list ;
 3957};
 3958#line 101 "include/linux/elevator.h"
 3959struct elevator_queue {
 3960   struct elevator_type *type ;
 3961   void *elevator_data ;
 3962   struct kobject kobj ;
 3963   struct mutex sysfs_lock ;
 3964   struct hlist_head *hash ;
 3965   unsigned int registered : 1 ;
 3966};
 3967#line 202 "include/linux/blkdev.h"
 3968typedef void request_fn_proc(struct request_queue *q );
 3969#line 203 "include/linux/blkdev.h"
 3970typedef void make_request_fn(struct request_queue *q , struct bio *bio );
 3971#line 204 "include/linux/blkdev.h"
 3972typedef int prep_rq_fn(struct request_queue * , struct request * );
 3973#line 205 "include/linux/blkdev.h"
 3974typedef void unprep_rq_fn(struct request_queue * , struct request * );
 3975#line 207
 3976struct bio_vec;
 3977#line 208 "include/linux/blkdev.h"
 3978struct bvec_merge_data {
 3979   struct block_device *bi_bdev ;
 3980   sector_t bi_sector ;
 3981   unsigned int bi_size ;
 3982   unsigned long bi_rw ;
 3983};
 3984#line 214 "include/linux/blkdev.h"
 3985typedef int merge_bvec_fn(struct request_queue * , struct bvec_merge_data * , struct bio_vec * );
 3986#line 216 "include/linux/blkdev.h"
 3987typedef void softirq_done_fn(struct request * );
 3988#line 217 "include/linux/blkdev.h"
 3989typedef int dma_drain_needed_fn(struct request * );
 3990#line 218 "include/linux/blkdev.h"
 3991typedef int lld_busy_fn(struct request_queue *q );
 3992#line 219 "include/linux/blkdev.h"
 3993typedef int bsg_job_fn(struct bsg_job * );
 3994#line 221
 3995enum blk_eh_timer_return {
 3996    BLK_EH_NOT_HANDLED = 0,
 3997    BLK_EH_HANDLED = 1,
 3998    BLK_EH_RESET_TIMER = 2
 3999} ;
 4000#line 227 "include/linux/blkdev.h"
 4001typedef enum blk_eh_timer_return rq_timed_out_fn(struct request * );
 4002#line 234 "include/linux/blkdev.h"
 4003struct blk_queue_tag {
 4004   struct request **tag_index ;
 4005   unsigned long *tag_map ;
 4006   int busy ;
 4007   int max_depth ;
 4008   int real_max_depth ;
 4009   atomic_t refcnt ;
 4010};
 4011#line 246 "include/linux/blkdev.h"
 4012struct queue_limits {
 4013   unsigned long bounce_pfn ;
 4014   unsigned long seg_boundary_mask ;
 4015   unsigned int max_hw_sectors ;
 4016   unsigned int max_sectors ;
 4017   unsigned int max_segment_size ;
 4018   unsigned int physical_block_size ;
 4019   unsigned int alignment_offset ;
 4020   unsigned int io_min ;
 4021   unsigned int io_opt ;
 4022   unsigned int max_discard_sectors ;
 4023   unsigned int discard_granularity ;
 4024   unsigned int discard_alignment ;
 4025   unsigned short logical_block_size ;
 4026   unsigned short max_segments ;
 4027   unsigned short max_integrity_segments ;
 4028   unsigned char misaligned ;
 4029   unsigned char discard_misaligned ;
 4030   unsigned char cluster ;
 4031   unsigned char discard_zeroes_data ;
 4032};
 4033#line 271 "include/linux/blkdev.h"
 4034struct request_queue {
 4035   struct list_head queue_head ;
 4036   struct request *last_merge ;
 4037   struct elevator_queue *elevator ;
 4038   struct request_list rq ;
 4039   request_fn_proc *request_fn ;
 4040   make_request_fn *make_request_fn ;
 4041   prep_rq_fn *prep_rq_fn ;
 4042   unprep_rq_fn *unprep_rq_fn ;
 4043   merge_bvec_fn *merge_bvec_fn ;
 4044   softirq_done_fn *softirq_done_fn ;
 4045   rq_timed_out_fn *rq_timed_out_fn ;
 4046   dma_drain_needed_fn *dma_drain_needed ;
 4047   lld_busy_fn *lld_busy_fn ;
 4048   sector_t end_sector ;
 4049   struct request *boundary_rq ;
 4050   struct delayed_work delay_work ;
 4051   struct backing_dev_info backing_dev_info ;
 4052   void *queuedata ;
 4053   unsigned long queue_flags ;
 4054   int id ;
 4055   gfp_t bounce_gfp ;
 4056   spinlock_t __queue_lock ;
 4057   spinlock_t *queue_lock ;
 4058   struct kobject kobj ;
 4059   unsigned long nr_requests ;
 4060   unsigned int nr_congestion_on ;
 4061   unsigned int nr_congestion_off ;
 4062   unsigned int nr_batching ;
 4063   unsigned int dma_drain_size ;
 4064   void *dma_drain_buffer ;
 4065   unsigned int dma_pad_mask ;
 4066   unsigned int dma_alignment ;
 4067   struct blk_queue_tag *queue_tags ;
 4068   struct list_head tag_busy_list ;
 4069   unsigned int nr_sorted ;
 4070   unsigned int in_flight[2] ;
 4071   unsigned int rq_timeout ;
 4072   struct timer_list timeout ;
 4073   struct list_head timeout_list ;
 4074   struct list_head icq_list ;
 4075   struct queue_limits limits ;
 4076   unsigned int sg_timeout ;
 4077   unsigned int sg_reserved_size ;
 4078   int node ;
 4079   unsigned int flush_flags ;
 4080   unsigned int flush_not_queueable : 1 ;
 4081   unsigned int flush_queue_delayed : 1 ;
 4082   unsigned int flush_pending_idx : 1 ;
 4083   unsigned int flush_running_idx : 1 ;
 4084   unsigned long flush_pending_since ;
 4085   struct list_head flush_queue[2] ;
 4086   struct list_head flush_data_in_flight ;
 4087   struct request flush_rq ;
 4088   struct mutex sysfs_lock ;
 4089   bsg_job_fn *bsg_job_fn ;
 4090   int bsg_job_size ;
 4091   struct bsg_class_device bsg_dev ;
 4092};
 4093#line 889 "include/linux/blkdev.h"
 4094struct blk_plug {
 4095   unsigned long magic ;
 4096   struct list_head list ;
 4097   struct list_head cb_list ;
 4098   unsigned int should_sort ;
 4099};
 4100#line 1165
 4101struct work_struct;
 4102#line 1220 "include/linux/blkdev.h"
 4103struct blk_integrity_exchg {
 4104   void *prot_buf ;
 4105   void *data_buf ;
 4106   sector_t sector ;
 4107   unsigned int data_size ;
 4108   unsigned short sector_size ;
 4109   char const   *disk_name ;
 4110};
 4111#line 1229 "include/linux/blkdev.h"
 4112typedef void integrity_gen_fn(struct blk_integrity_exchg * );
 4113#line 1230 "include/linux/blkdev.h"
 4114typedef int integrity_vrfy_fn(struct blk_integrity_exchg * );
 4115#line 1231 "include/linux/blkdev.h"
 4116typedef void integrity_set_tag_fn(void * , void * , unsigned int  );
 4117#line 1232 "include/linux/blkdev.h"
 4118typedef void integrity_get_tag_fn(void * , void * , unsigned int  );
 4119#line 1234 "include/linux/blkdev.h"
 4120struct blk_integrity {
 4121   integrity_gen_fn *generate_fn ;
 4122   integrity_vrfy_fn *verify_fn ;
 4123   integrity_set_tag_fn *set_tag_fn ;
 4124   integrity_get_tag_fn *get_tag_fn ;
 4125   unsigned short flags ;
 4126   unsigned short tuple_size ;
 4127   unsigned short sector_size ;
 4128   unsigned short tag_size ;
 4129   char const   *name ;
 4130   struct kobject kobj ;
 4131};
 4132#line 1362 "include/linux/blkdev.h"
 4133struct block_device_operations {
 4134   int (*open)(struct block_device * , fmode_t  ) ;
 4135   int (*release)(struct gendisk * , fmode_t  ) ;
 4136   int (*ioctl)(struct block_device * , fmode_t  , unsigned int  , unsigned long  ) ;
 4137   int (*compat_ioctl)(struct block_device * , fmode_t  , unsigned int  , unsigned long  ) ;
 4138   int (*direct_access)(struct block_device * , sector_t  , void ** , unsigned long * ) ;
 4139   unsigned int (*check_events)(struct gendisk *disk , unsigned int clearing ) ;
 4140   int (*media_changed)(struct gendisk * ) ;
 4141   void (*unlock_native_capacity)(struct gendisk * ) ;
 4142   int (*revalidate_disk)(struct gendisk * ) ;
 4143   int (*getgeo)(struct block_device * , struct hd_geometry * ) ;
 4144   void (*swap_slot_free_notify)(struct block_device * , unsigned long  ) ;
 4145   struct module *owner ;
 4146};
 4147#line 11 "include/scsi/scsi_cmnd.h"
 4148struct Scsi_Host;
 4149#line 11
 4150struct Scsi_Host;
 4151#line 12
 4152struct scsi_device;
 4153#line 12
 4154struct scsi_device;
 4155#line 32 "include/scsi/scsi_cmnd.h"
 4156struct scsi_data_buffer {
 4157   struct sg_table table ;
 4158   unsigned int length ;
 4159   int resid ;
 4160};
 4161#line 39 "include/scsi/scsi_cmnd.h"
 4162struct scsi_pointer {
 4163   char *ptr ;
 4164   int this_residual ;
 4165   struct scatterlist *buffer ;
 4166   int buffers_residual ;
 4167   dma_addr_t dma_handle ;
 4168   int volatile   Status ;
 4169   int volatile   Message ;
 4170   int volatile   have_data_in ;
 4171   int volatile   sent_command ;
 4172   int volatile   phase ;
 4173};
 4174#line 54 "include/scsi/scsi_cmnd.h"
 4175struct scsi_cmnd {
 4176   struct scsi_device *device ;
 4177   struct list_head list ;
 4178   struct list_head eh_entry ;
 4179   int eh_eflags ;
 4180   unsigned long serial_number ;
 4181   unsigned long jiffies_at_alloc ;
 4182   int retries ;
 4183   int allowed ;
 4184   unsigned char prot_op ;
 4185   unsigned char prot_type ;
 4186   unsigned short cmd_len ;
 4187   enum dma_data_direction sc_data_direction ;
 4188   unsigned char *cmnd ;
 4189   struct scsi_data_buffer sdb ;
 4190   struct scsi_data_buffer *prot_sdb ;
 4191   unsigned int underflow ;
 4192   unsigned int transfersize ;
 4193   struct request *request ;
 4194   unsigned char *sense_buffer ;
 4195   void (*scsi_done)(struct scsi_cmnd * ) ;
 4196   struct scsi_pointer SCp ;
 4197   unsigned char *host_scribble ;
 4198   int result ;
 4199   unsigned char tag ;
 4200};
 4201#line 11 "include/scsi/scsi_device.h"
 4202struct device;
 4203#line 12
 4204struct request_queue;
 4205#line 13
 4206struct scsi_cmnd;
 4207#line 15
 4208struct scsi_sense_hdr;
 4209#line 15
 4210struct scsi_sense_hdr;
 4211#line 31
 4212enum scsi_device_state {
 4213    SDEV_CREATED = 1,
 4214    SDEV_RUNNING = 2,
 4215    SDEV_CANCEL = 3,
 4216    SDEV_DEL = 4,
 4217    SDEV_QUIESCE = 5,
 4218    SDEV_OFFLINE = 6,
 4219    SDEV_BLOCK = 7,
 4220    SDEV_CREATED_BLOCK = 8
 4221} ;
 4222#line 68
 4223struct scsi_target;
 4224#line 68
 4225struct scsi_dh_data;
 4226#line 68 "include/scsi/scsi_device.h"
 4227struct scsi_device {
 4228   struct Scsi_Host *host ;
 4229   struct request_queue *request_queue ;
 4230   struct list_head siblings ;
 4231   struct list_head same_target_siblings ;
 4232   unsigned int device_busy ;
 4233   spinlock_t list_lock ;
 4234   struct list_head cmd_list ;
 4235   struct list_head starved_entry ;
 4236   struct scsi_cmnd *current_cmnd ;
 4237   unsigned short queue_depth ;
 4238   unsigned short max_queue_depth ;
 4239   unsigned short last_queue_full_depth ;
 4240   unsigned short last_queue_full_count ;
 4241   unsigned long last_queue_full_time ;
 4242   unsigned long queue_ramp_up_period ;
 4243   unsigned long last_queue_ramp_up ;
 4244   unsigned int id ;
 4245   unsigned int lun ;
 4246   unsigned int channel ;
 4247   unsigned int manufacturer ;
 4248   unsigned int sector_size ;
 4249   void *hostdata ;
 4250   char type ;
 4251   char scsi_level ;
 4252   char inq_periph_qual ;
 4253   unsigned char inquiry_len ;
 4254   unsigned char *inquiry ;
 4255   char const   *vendor ;
 4256   char const   *model ;
 4257   char const   *rev ;
 4258   unsigned char current_tag ;
 4259   struct scsi_target *sdev_target ;
 4260   unsigned int sdev_bflags ;
 4261   unsigned int writeable : 1 ;
 4262   unsigned int removable : 1 ;
 4263   unsigned int changed : 1 ;
 4264   unsigned int busy : 1 ;
 4265   unsigned int lockable : 1 ;
 4266   unsigned int locked : 1 ;
 4267   unsigned int borken : 1 ;
 4268   unsigned int disconnect : 1 ;
 4269   unsigned int soft_reset : 1 ;
 4270   unsigned int sdtr : 1 ;
 4271   unsigned int wdtr : 1 ;
 4272   unsigned int ppr : 1 ;
 4273   unsigned int tagged_supported : 1 ;
 4274   unsigned int simple_tags : 1 ;
 4275   unsigned int ordered_tags : 1 ;
 4276   unsigned int was_reset : 1 ;
 4277   unsigned int expecting_cc_ua : 1 ;
 4278   unsigned int use_10_for_rw : 1 ;
 4279   unsigned int use_10_for_ms : 1 ;
 4280   unsigned int skip_ms_page_8 : 1 ;
 4281   unsigned int skip_ms_page_3f : 1 ;
 4282   unsigned int skip_vpd_pages : 1 ;
 4283   unsigned int use_192_bytes_for_3f : 1 ;
 4284   unsigned int no_start_on_add : 1 ;
 4285   unsigned int allow_restart : 1 ;
 4286   unsigned int manage_start_stop : 1 ;
 4287   unsigned int start_stop_pwr_cond : 1 ;
 4288   unsigned int no_uld_attach : 1 ;
 4289   unsigned int select_no_atn : 1 ;
 4290   unsigned int fix_capacity : 1 ;
 4291   unsigned int guess_capacity : 1 ;
 4292   unsigned int retry_hwerror : 1 ;
 4293   unsigned int last_sector_bug : 1 ;
 4294   unsigned int no_read_disc_info : 1 ;
 4295   unsigned int no_read_capacity_16 : 1 ;
 4296   unsigned int is_visible : 1 ;
 4297   unsigned long supported_events[((2UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
 4298   struct list_head event_list ;
 4299   struct work_struct event_work ;
 4300   unsigned int device_blocked ;
 4301   unsigned int max_device_blocked ;
 4302   atomic_t iorequest_cnt ;
 4303   atomic_t iodone_cnt ;
 4304   atomic_t ioerr_cnt ;
 4305   struct device sdev_gendev ;
 4306   struct device sdev_dev ;
 4307   struct execute_work ew ;
 4308   struct work_struct requeue_work ;
 4309   struct scsi_dh_data *scsi_dh_data ;
 4310   enum scsi_device_state sdev_state ;
 4311   unsigned long sdev_data[0] ;
 4312} __attribute__((__aligned__(sizeof(unsigned long )))) ;
 4313#line 180 "include/scsi/scsi_device.h"
 4314struct scsi_dh_devlist {
 4315   char *vendor ;
 4316   char *model ;
 4317};
 4318#line 186 "include/scsi/scsi_device.h"
 4319struct scsi_device_handler {
 4320   struct list_head list ;
 4321   struct module *module ;
 4322   char const   *name ;
 4323   struct scsi_dh_devlist  const  *devlist ;
 4324   int (*check_sense)(struct scsi_device * , struct scsi_sense_hdr * ) ;
 4325   int (*attach)(struct scsi_device * ) ;
 4326   void (*detach)(struct scsi_device * ) ;
 4327   int (*activate)(struct scsi_device * , void (*)(void * , int  ) , void * ) ;
 4328   int (*prep_fn)(struct scsi_device * , struct request * ) ;
 4329   int (*set_params)(struct scsi_device * , char const   * ) ;
 4330   bool (*match)(struct scsi_device * ) ;
 4331};
 4332#line 203 "include/scsi/scsi_device.h"
 4333struct scsi_dh_data {
 4334   struct scsi_device_handler *scsi_dh ;
 4335   struct scsi_device *sdev ;
 4336   struct kref kref ;
 4337   char buf[0] ;
 4338};
 4339#line 226
 4340enum scsi_target_state {
 4341    STARGET_CREATED = 1,
 4342    STARGET_RUNNING = 2,
 4343    STARGET_DEL = 3
 4344} ;
 4345#line 237 "include/scsi/scsi_device.h"
 4346struct scsi_target {
 4347   struct scsi_device *starget_sdev_user ;
 4348   struct list_head siblings ;
 4349   struct list_head devices ;
 4350   struct device dev ;
 4351   unsigned int reap_ref ;
 4352   unsigned int channel ;
 4353   unsigned int id ;
 4354   unsigned int create : 1 ;
 4355   unsigned int single_lun : 1 ;
 4356   unsigned int pdt_1f_for_no_lun : 1 ;
 4357   unsigned int no_report_luns : 1 ;
 4358   unsigned int target_busy ;
 4359   unsigned int can_queue ;
 4360   unsigned int target_blocked ;
 4361   unsigned int max_target_blocked ;
 4362   char scsi_level ;
 4363   struct execute_work ew ;
 4364   enum scsi_target_state state ;
 4365   void *hostdata ;
 4366   unsigned long starget_data[0] ;
 4367} __attribute__((__aligned__(sizeof(unsigned long )))) ;
 4368#line 12 "include/linux/mod_devicetable.h"
 4369typedef unsigned long kernel_ulong_t;
 4370#line 98 "include/linux/mod_devicetable.h"
 4371struct usb_device_id {
 4372   __u16 match_flags ;
 4373   __u16 idVendor ;
 4374   __u16 idProduct ;
 4375   __u16 bcdDevice_lo ;
 4376   __u16 bcdDevice_hi ;
 4377   __u8 bDeviceClass ;
 4378   __u8 bDeviceSubClass ;
 4379   __u8 bDeviceProtocol ;
 4380   __u8 bInterfaceClass ;
 4381   __u8 bInterfaceSubClass ;
 4382   __u8 bInterfaceProtocol ;
 4383   kernel_ulong_t driver_info ;
 4384};
 4385#line 219 "include/linux/mod_devicetable.h"
 4386struct of_device_id {
 4387   char name[32] ;
 4388   char type[32] ;
 4389   char compatible[128] ;
 4390   void *data ;
 4391};
 4392#line 177 "include/linux/usb/ch9.h"
 4393struct usb_ctrlrequest {
 4394   __u8 bRequestType ;
 4395   __u8 bRequest ;
 4396   __le16 wValue ;
 4397   __le16 wIndex ;
 4398   __le16 wLength ;
 4399} __attribute__((__packed__)) ;
 4400#line 250 "include/linux/usb/ch9.h"
 4401struct usb_device_descriptor {
 4402   __u8 bLength ;
 4403   __u8 bDescriptorType ;
 4404   __le16 bcdUSB ;
 4405   __u8 bDeviceClass ;
 4406   __u8 bDeviceSubClass ;
 4407   __u8 bDeviceProtocol ;
 4408   __u8 bMaxPacketSize0 ;
 4409   __le16 idVendor ;
 4410   __le16 idProduct ;
 4411   __le16 bcdDevice ;
 4412   __u8 iManufacturer ;
 4413   __u8 iProduct ;
 4414   __u8 iSerialNumber ;
 4415   __u8 bNumConfigurations ;
 4416} __attribute__((__packed__)) ;
 4417#line 306 "include/linux/usb/ch9.h"
 4418struct usb_config_descriptor {
 4419   __u8 bLength ;
 4420   __u8 bDescriptorType ;
 4421   __le16 wTotalLength ;
 4422   __u8 bNumInterfaces ;
 4423   __u8 bConfigurationValue ;
 4424   __u8 iConfiguration ;
 4425   __u8 bmAttributes ;
 4426   __u8 bMaxPower ;
 4427} __attribute__((__packed__)) ;
 4428#line 343 "include/linux/usb/ch9.h"
 4429struct usb_interface_descriptor {
 4430   __u8 bLength ;
 4431   __u8 bDescriptorType ;
 4432   __u8 bInterfaceNumber ;
 4433   __u8 bAlternateSetting ;
 4434   __u8 bNumEndpoints ;
 4435   __u8 bInterfaceClass ;
 4436   __u8 bInterfaceSubClass ;
 4437   __u8 bInterfaceProtocol ;
 4438   __u8 iInterface ;
 4439} __attribute__((__packed__)) ;
 4440#line 361 "include/linux/usb/ch9.h"
 4441struct usb_endpoint_descriptor {
 4442   __u8 bLength ;
 4443   __u8 bDescriptorType ;
 4444   __u8 bEndpointAddress ;
 4445   __u8 bmAttributes ;
 4446   __le16 wMaxPacketSize ;
 4447   __u8 bInterval ;
 4448   __u8 bRefresh ;
 4449   __u8 bSynchAddress ;
 4450} __attribute__((__packed__)) ;
 4451#line 598 "include/linux/usb/ch9.h"
 4452struct usb_ss_ep_comp_descriptor {
 4453   __u8 bLength ;
 4454   __u8 bDescriptorType ;
 4455   __u8 bMaxBurst ;
 4456   __u8 bmAttributes ;
 4457   __le16 wBytesPerInterval ;
 4458} __attribute__((__packed__)) ;
 4459#line 677 "include/linux/usb/ch9.h"
 4460struct usb_interface_assoc_descriptor {
 4461   __u8 bLength ;
 4462   __u8 bDescriptorType ;
 4463   __u8 bFirstInterface ;
 4464   __u8 bInterfaceCount ;
 4465   __u8 bFunctionClass ;
 4466   __u8 bFunctionSubClass ;
 4467   __u8 bFunctionProtocol ;
 4468   __u8 iFunction ;
 4469} __attribute__((__packed__)) ;
 4470#line 737 "include/linux/usb/ch9.h"
 4471struct usb_bos_descriptor {
 4472   __u8 bLength ;
 4473   __u8 bDescriptorType ;
 4474   __le16 wTotalLength ;
 4475   __u8 bNumDeviceCaps ;
 4476} __attribute__((__packed__)) ;
 4477#line 786 "include/linux/usb/ch9.h"
 4478struct usb_ext_cap_descriptor {
 4479   __u8 bLength ;
 4480   __u8 bDescriptorType ;
 4481   __u8 bDevCapabilityType ;
 4482   __le32 bmAttributes ;
 4483} __attribute__((__packed__)) ;
 4484#line 806 "include/linux/usb/ch9.h"
 4485struct usb_ss_cap_descriptor {
 4486   __u8 bLength ;
 4487   __u8 bDescriptorType ;
 4488   __u8 bDevCapabilityType ;
 4489   __u8 bmAttributes ;
 4490   __le16 wSpeedSupported ;
 4491   __u8 bFunctionalitySupport ;
 4492   __u8 bU1devExitLat ;
 4493   __le16 bU2DevExitLat ;
 4494} __attribute__((__packed__)) ;
 4495#line 829 "include/linux/usb/ch9.h"
 4496struct usb_ss_container_id_descriptor {
 4497   __u8 bLength ;
 4498   __u8 bDescriptorType ;
 4499   __u8 bDevCapabilityType ;
 4500   __u8 bReserved ;
 4501   __u8 ContainerID[16] ;
 4502} __attribute__((__packed__)) ;
 4503#line 891
 4504enum usb_device_speed {
 4505    USB_SPEED_UNKNOWN = 0,
 4506    USB_SPEED_LOW = 1,
 4507    USB_SPEED_FULL = 2,
 4508    USB_SPEED_HIGH = 3,
 4509    USB_SPEED_WIRELESS = 4,
 4510    USB_SPEED_SUPER = 5
 4511} ;
 4512#line 911
 4513enum usb_device_state {
 4514    USB_STATE_NOTATTACHED = 0,
 4515    USB_STATE_ATTACHED = 1,
 4516    USB_STATE_POWERED = 2,
 4517    USB_STATE_RECONNECTING = 3,
 4518    USB_STATE_UNAUTHENTICATED = 4,
 4519    USB_STATE_DEFAULT = 5,
 4520    USB_STATE_ADDRESS = 6,
 4521    USB_STATE_CONFIGURED = 7,
 4522    USB_STATE_SUSPENDED = 8
 4523} ;
 4524#line 187 "include/linux/interrupt.h"
 4525struct device;
 4526#line 695
 4527struct seq_file;
 4528#line 25 "include/linux/usb.h"
 4529struct usb_device;
 4530#line 25
 4531struct usb_device;
 4532#line 26
 4533struct usb_driver;
 4534#line 26
 4535struct usb_driver;
 4536#line 27
 4537struct wusb_dev;
 4538#line 27
 4539struct wusb_dev;
 4540#line 47
 4541struct ep_device;
 4542#line 47
 4543struct ep_device;
 4544#line 64 "include/linux/usb.h"
 4545struct usb_host_endpoint {
 4546   struct usb_endpoint_descriptor desc ;
 4547   struct usb_ss_ep_comp_descriptor ss_ep_comp ;
 4548   struct list_head urb_list ;
 4549   void *hcpriv ;
 4550   struct ep_device *ep_dev ;
 4551   unsigned char *extra ;
 4552   int extralen ;
 4553   int enabled ;
 4554};
 4555#line 77 "include/linux/usb.h"
 4556struct usb_host_interface {
 4557   struct usb_interface_descriptor desc ;
 4558   struct usb_host_endpoint *endpoint ;
 4559   char *string ;
 4560   unsigned char *extra ;
 4561   int extralen ;
 4562};
 4563#line 90
 4564enum usb_interface_condition {
 4565    USB_INTERFACE_UNBOUND = 0,
 4566    USB_INTERFACE_BINDING = 1,
 4567    USB_INTERFACE_BOUND = 2,
 4568    USB_INTERFACE_UNBINDING = 3
 4569} ;
 4570#line 159 "include/linux/usb.h"
 4571struct usb_interface {
 4572   struct usb_host_interface *altsetting ;
 4573   struct usb_host_interface *cur_altsetting ;
 4574   unsigned int num_altsetting ;
 4575   struct usb_interface_assoc_descriptor *intf_assoc ;
 4576   int minor ;
 4577   enum usb_interface_condition condition ;
 4578   unsigned int sysfs_files_created : 1 ;
 4579   unsigned int ep_devs_created : 1 ;
 4580   unsigned int unregistering : 1 ;
 4581   unsigned int needs_remote_wakeup : 1 ;
 4582   unsigned int needs_altsetting0 : 1 ;
 4583   unsigned int needs_binding : 1 ;
 4584   unsigned int reset_running : 1 ;
 4585   unsigned int resetting_device : 1 ;
 4586   struct device dev ;
 4587   struct device *usb_dev ;
 4588   atomic_t pm_usage_cnt ;
 4589   struct work_struct reset_ws ;
 4590};
 4591#line 222 "include/linux/usb.h"
 4592struct usb_interface_cache {
 4593   unsigned int num_altsetting ;
 4594   struct kref ref ;
 4595   struct usb_host_interface altsetting[0] ;
 4596};
 4597#line 274 "include/linux/usb.h"
 4598struct usb_host_config {
 4599   struct usb_config_descriptor desc ;
 4600   char *string ;
 4601   struct usb_interface_assoc_descriptor *intf_assoc[16] ;
 4602   struct usb_interface *interface[32] ;
 4603   struct usb_interface_cache *intf_cache[32] ;
 4604   unsigned char *extra ;
 4605   int extralen ;
 4606};
 4607#line 296 "include/linux/usb.h"
 4608struct usb_host_bos {
 4609   struct usb_bos_descriptor *desc ;
 4610   struct usb_ext_cap_descriptor *ext_cap ;
 4611   struct usb_ss_cap_descriptor *ss_cap ;
 4612   struct usb_ss_container_id_descriptor *ss_id ;
 4613};
 4614#line 315 "include/linux/usb.h"
 4615struct usb_devmap {
 4616   unsigned long devicemap[128UL / (8UL * sizeof(unsigned long ))] ;
 4617};
 4618#line 322
 4619struct mon_bus;
 4620#line 322 "include/linux/usb.h"
 4621struct usb_bus {
 4622   struct device *controller ;
 4623   int busnum ;
 4624   char const   *bus_name ;
 4625   u8 uses_dma ;
 4626   u8 uses_pio_for_control ;
 4627   u8 otg_port ;
 4628   unsigned int is_b_host : 1 ;
 4629   unsigned int b_hnp_enable : 1 ;
 4630   unsigned int sg_tablesize ;
 4631   int devnum_next ;
 4632   struct usb_devmap devmap ;
 4633   struct usb_device *root_hub ;
 4634   struct usb_bus *hs_companion ;
 4635   struct list_head bus_list ;
 4636   int bandwidth_allocated ;
 4637   int bandwidth_int_reqs ;
 4638   int bandwidth_isoc_reqs ;
 4639   struct dentry *usbfs_dentry ;
 4640   struct mon_bus *mon_bus ;
 4641   int monitored ;
 4642};
 4643#line 377
 4644struct usb_tt;
 4645#line 377
 4646struct usb_tt;
 4647#line 379
 4648enum usb_device_removable {
 4649    USB_DEVICE_REMOVABLE_UNKNOWN = 0,
 4650    USB_DEVICE_REMOVABLE = 1,
 4651    USB_DEVICE_FIXED = 2
 4652} ;
 4653#line 447 "include/linux/usb.h"
 4654struct usb_device {
 4655   int devnum ;
 4656   char devpath[16] ;
 4657   u32 route ;
 4658   enum usb_device_state state ;
 4659   enum usb_device_speed speed ;
 4660   struct usb_tt *tt ;
 4661   int ttport ;
 4662   unsigned int toggle[2] ;
 4663   struct usb_device *parent ;
 4664   struct usb_bus *bus ;
 4665   struct usb_host_endpoint ep0 ;
 4666   struct device dev ;
 4667   struct usb_device_descriptor descriptor ;
 4668   struct usb_host_bos *bos ;
 4669   struct usb_host_config *config ;
 4670   struct usb_host_config *actconfig ;
 4671   struct usb_host_endpoint *ep_in[16] ;
 4672   struct usb_host_endpoint *ep_out[16] ;
 4673   char **rawdescriptors ;
 4674   unsigned short bus_mA ;
 4675   u8 portnum ;
 4676   u8 level ;
 4677   unsigned int can_submit : 1 ;
 4678   unsigned int persist_enabled : 1 ;
 4679   unsigned int have_langid : 1 ;
 4680   unsigned int authorized : 1 ;
 4681   unsigned int authenticated : 1 ;
 4682   unsigned int wusb : 1 ;
 4683   unsigned int lpm_capable : 1 ;
 4684   unsigned int usb2_hw_lpm_capable : 1 ;
 4685   unsigned int usb2_hw_lpm_enabled : 1 ;
 4686   int string_langid ;
 4687   char *product ;
 4688   char *manufacturer ;
 4689   char *serial ;
 4690   struct list_head filelist ;
 4691   struct device *usb_classdev ;
 4692   struct dentry *usbfs_dentry ;
 4693   int maxchild ;
 4694   struct usb_device **children ;
 4695   u32 quirks ;
 4696   atomic_t urbnum ;
 4697   unsigned long active_duration ;
 4698   unsigned long connect_time ;
 4699   unsigned int do_remote_wakeup : 1 ;
 4700   unsigned int reset_resume : 1 ;
 4701   struct wusb_dev *wusb_dev ;
 4702   int slot_id ;
 4703   enum usb_device_removable removable ;
 4704};
 4705#line 789 "include/linux/usb.h"
 4706struct usb_dynids {
 4707   spinlock_t lock ;
 4708   struct list_head list ;
 4709};
 4710#line 808 "include/linux/usb.h"
 4711struct usbdrv_wrap {
 4712   struct device_driver driver ;
 4713   int for_devices ;
 4714};
 4715#line 869 "include/linux/usb.h"
 4716struct usb_driver {
 4717   char const   *name ;
 4718   int (*probe)(struct usb_interface *intf , struct usb_device_id  const  *id ) ;
 4719   void (*disconnect)(struct usb_interface *intf ) ;
 4720   int (*unlocked_ioctl)(struct usb_interface *intf , unsigned int code , void *buf ) ;
 4721   int (*suspend)(struct usb_interface *intf , pm_message_t message ) ;
 4722   int (*resume)(struct usb_interface *intf ) ;
 4723   int (*reset_resume)(struct usb_interface *intf ) ;
 4724   int (*pre_reset)(struct usb_interface *intf ) ;
 4725   int (*post_reset)(struct usb_interface *intf ) ;
 4726   struct usb_device_id  const  *id_table ;
 4727   struct usb_dynids dynids ;
 4728   struct usbdrv_wrap drvwrap ;
 4729   unsigned int no_dynamic_id : 1 ;
 4730   unsigned int supports_autosuspend : 1 ;
 4731   unsigned int soft_unbind : 1 ;
 4732};
 4733#line 1022 "include/linux/usb.h"
 4734struct usb_iso_packet_descriptor {
 4735   unsigned int offset ;
 4736   unsigned int length ;
 4737   unsigned int actual_length ;
 4738   int status ;
 4739};
 4740#line 1029
 4741struct urb;
 4742#line 1029
 4743struct urb;
 4744#line 1031 "include/linux/usb.h"
 4745struct usb_anchor {
 4746   struct list_head urb_list ;
 4747   wait_queue_head_t wait ;
 4748   spinlock_t lock ;
 4749   unsigned int poisoned : 1 ;
 4750};
 4751#line 1223 "include/linux/usb.h"
 4752struct urb {
 4753   struct kref kref ;
 4754   void *hcpriv ;
 4755   atomic_t use_count ;
 4756   atomic_t reject ;
 4757   int unlinked ;
 4758   struct list_head urb_list ;
 4759   struct list_head anchor_list ;
 4760   struct usb_anchor *anchor ;
 4761   struct usb_device *dev ;
 4762   struct usb_host_endpoint *ep ;
 4763   unsigned int pipe ;
 4764   unsigned int stream_id ;
 4765   int status ;
 4766   unsigned int transfer_flags ;
 4767   void *transfer_buffer ;
 4768   dma_addr_t transfer_dma ;
 4769   struct scatterlist *sg ;
 4770   int num_mapped_sgs ;
 4771   int num_sgs ;
 4772   u32 transfer_buffer_length ;
 4773   u32 actual_length ;
 4774   unsigned char *setup_packet ;
 4775   dma_addr_t setup_dma ;
 4776   int start_frame ;
 4777   int number_of_packets ;
 4778   int interval ;
 4779   int error_count ;
 4780   void *context ;
 4781   void (*complete)(struct urb * ) ;
 4782   struct usb_iso_packet_descriptor iso_frame_desc[0] ;
 4783};
 4784#line 1429
 4785struct scatterlist;
 4786#line 1495 "include/linux/usb.h"
 4787struct usb_sg_request {
 4788   int status ;
 4789   size_t bytes ;
 4790   spinlock_t lock ;
 4791   struct usb_device *dev ;
 4792   int pipe ;
 4793   int entries ;
 4794   struct urb **urbs ;
 4795   int count ;
 4796   struct completion complete ;
 4797};
 4798#line 11 "include/scsi/scsi_host.h"
 4799struct request_queue;
 4800#line 12
 4801struct block_device;
 4802#line 13
 4803struct completion;
 4804#line 14
 4805struct module;
 4806#line 15
 4807struct scsi_cmnd;
 4808#line 16
 4809struct scsi_device;
 4810#line 17
 4811struct scsi_target;
 4812#line 18
 4813struct Scsi_Host;
 4814#line 19
 4815struct scsi_host_cmd_pool;
 4816#line 19
 4817struct scsi_host_cmd_pool;
 4818#line 20
 4819struct scsi_transport_template;
 4820#line 20
 4821struct scsi_transport_template;
 4822#line 52 "include/scsi/scsi_host.h"
 4823struct scsi_host_template {
 4824   struct module *module ;
 4825   char const   *name ;
 4826   int (*detect)(struct scsi_host_template * ) ;
 4827   int (*release)(struct Scsi_Host * ) ;
 4828   char const   *(*info)(struct Scsi_Host * ) ;
 4829   int (*ioctl)(struct scsi_device *dev , int cmd , void *arg ) ;
 4830   int (*compat_ioctl)(struct scsi_device *dev , int cmd , void *arg ) ;
 4831   int (*queuecommand)(struct Scsi_Host * , struct scsi_cmnd * ) ;
 4832   int (*transfer_response)(struct scsi_cmnd * , void (*done)(struct scsi_cmnd * ) ) ;
 4833   int (*eh_abort_handler)(struct scsi_cmnd * ) ;
 4834   int (*eh_device_reset_handler)(struct scsi_cmnd * ) ;
 4835   int (*eh_target_reset_handler)(struct scsi_cmnd * ) ;
 4836   int (*eh_bus_reset_handler)(struct scsi_cmnd * ) ;
 4837   int (*eh_host_reset_handler)(struct scsi_cmnd * ) ;
 4838   int (*slave_alloc)(struct scsi_device * ) ;
 4839   int (*slave_configure)(struct scsi_device * ) ;
 4840   void (*slave_destroy)(struct scsi_device * ) ;
 4841   int (*target_alloc)(struct scsi_target * ) ;
 4842   void (*target_destroy)(struct scsi_target * ) ;
 4843   int (*scan_finished)(struct Scsi_Host * , unsigned long  ) ;
 4844   void (*scan_start)(struct Scsi_Host * ) ;
 4845   int (*change_queue_depth)(struct scsi_device * , int  , int  ) ;
 4846   int (*change_queue_type)(struct scsi_device * , int  ) ;
 4847   int (*bios_param)(struct scsi_device * , struct block_device * , sector_t  , int * ) ;
 4848   void (*unlock_native_capacity)(struct scsi_device * ) ;
 4849   int (*proc_info)(struct Scsi_Host * , char * , char ** , off_t  , int  , int  ) ;
 4850   enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd * ) ;
 4851   int (*host_reset)(struct Scsi_Host *shost , int reset_type ) ;
 4852   char const   *proc_name ;
 4853   struct proc_dir_entry *proc_dir ;
 4854   int can_queue ;
 4855   int this_id ;
 4856   unsigned short sg_tablesize ;
 4857   unsigned short sg_prot_tablesize ;
 4858   unsigned short max_sectors ;
 4859   unsigned long dma_boundary ;
 4860   short cmd_per_lun ;
 4861   unsigned char present ;
 4862   unsigned int supported_mode : 2 ;
 4863   unsigned int unchecked_isa_dma : 1 ;
 4864   unsigned int use_clustering : 1 ;
 4865   unsigned int emulated : 1 ;
 4866   unsigned int skip_settle_delay : 1 ;
 4867   unsigned int ordered_tag : 1 ;
 4868   unsigned int max_host_blocked ;
 4869   struct device_attribute **shost_attrs ;
 4870   struct device_attribute **sdev_attrs ;
 4871   struct list_head legacy_hosts ;
 4872   u64 vendor_id ;
 4873};
 4874#line 543
 4875enum scsi_host_state {
 4876    SHOST_CREATED = 1,
 4877    SHOST_RUNNING = 2,
 4878    SHOST_CANCEL = 3,
 4879    SHOST_DEL = 4,
 4880    SHOST_RECOVERY = 5,
 4881    SHOST_CANCEL_RECOVERY = 6,
 4882    SHOST_DEL_RECOVERY = 7
 4883} ;
 4884#line 553 "include/scsi/scsi_host.h"
 4885struct Scsi_Host {
 4886   struct list_head __devices ;
 4887   struct list_head __targets ;
 4888   struct scsi_host_cmd_pool *cmd_pool ;
 4889   spinlock_t free_list_lock ;
 4890   struct list_head free_list ;
 4891   struct list_head starved_list ;
 4892   spinlock_t default_lock ;
 4893   spinlock_t *host_lock ;
 4894   struct mutex scan_mutex ;
 4895   struct list_head eh_cmd_q ;
 4896   struct task_struct *ehandler ;
 4897   struct completion *eh_action ;
 4898   wait_queue_head_t host_wait ;
 4899   struct scsi_host_template *hostt ;
 4900   struct scsi_transport_template *transportt ;
 4901   struct blk_queue_tag *bqt ;
 4902   unsigned int host_busy ;
 4903   unsigned int host_failed ;
 4904   unsigned int host_eh_scheduled ;
 4905   unsigned int host_no ;
 4906   int resetting ;
 4907   unsigned long last_reset ;
 4908   unsigned int max_id ;
 4909   unsigned int max_lun ;
 4910   unsigned int max_channel ;
 4911   unsigned int unique_id ;
 4912   unsigned short max_cmd_len ;
 4913   int this_id ;
 4914   int can_queue ;
 4915   short cmd_per_lun ;
 4916   unsigned short sg_tablesize ;
 4917   unsigned short sg_prot_tablesize ;
 4918   unsigned short max_sectors ;
 4919   unsigned long dma_boundary ;
 4920   unsigned long cmd_serial_number ;
 4921   unsigned int active_mode : 2 ;
 4922   unsigned int unchecked_isa_dma : 1 ;
 4923   unsigned int use_clustering : 1 ;
 4924   unsigned int use_blk_tcq : 1 ;
 4925   unsigned int host_self_blocked : 1 ;
 4926   unsigned int reverse_ordering : 1 ;
 4927   unsigned int ordered_tag : 1 ;
 4928   unsigned int tmf_in_progress : 1 ;
 4929   unsigned int async_scan : 1 ;
 4930   unsigned int eh_noresume : 1 ;
 4931   char work_q_name[20] ;
 4932   struct workqueue_struct *work_q ;
 4933   unsigned int host_blocked ;
 4934   unsigned int max_host_blocked ;
 4935   unsigned int prot_capabilities ;
 4936   unsigned char prot_guard_type ;
 4937   struct request_queue *uspace_req_q ;
 4938   unsigned long base ;
 4939   unsigned long io_port ;
 4940   unsigned char n_io_port ;
 4941   unsigned char dma_channel ;
 4942   unsigned int irq ;
 4943   enum scsi_host_state shost_state ;
 4944   struct device shost_gendev ;
 4945   struct device shost_dev ;
 4946   struct list_head sht_legacy_list ;
 4947   void *shost_data ;
 4948   struct device *dma_dev ;
 4949   unsigned long hostdata[0]  __attribute__((__aligned__(sizeof(unsigned long )))) ;
 4950};
 4951#line 53 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/usb/storage/usb.h"
 4952struct us_data;
 4953#line 53
 4954struct us_data;
 4955#line 54
 4956struct scsi_cmnd;
 4957#line 60 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/usb/storage/usb.h"
 4958struct us_unusual_dev {
 4959   char const   *vendorName ;
 4960   char const   *productName ;
 4961   __u8 useProtocol ;
 4962   __u8 useTransport ;
 4963   int (*initFunction)(struct us_data * ) ;
 4964};
 4965#line 102 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/usb/storage/usb.h"
 4966struct us_data {
 4967   struct mutex dev_mutex ;
 4968   struct usb_device *pusb_dev ;
 4969   struct usb_interface *pusb_intf ;
 4970   struct us_unusual_dev *unusual_dev ;
 4971   unsigned long fflags ;
 4972   unsigned long dflags ;
 4973   unsigned int send_bulk_pipe ;
 4974   unsigned int recv_bulk_pipe ;
 4975   unsigned int send_ctrl_pipe ;
 4976   unsigned int recv_ctrl_pipe ;
 4977   unsigned int recv_intr_pipe ;
 4978   char *transport_name ;
 4979   char *protocol_name ;
 4980   __le32 bcs_signature ;
 4981   u8 subclass ;
 4982   u8 protocol ;
 4983   u8 max_lun ;
 4984   u8 ifnum ;
 4985   u8 ep_bInterval ;
 4986   int (*transport)(struct scsi_cmnd * , struct us_data * ) ;
 4987   int (*transport_reset)(struct us_data * ) ;
 4988   void (*proto_handler)(struct scsi_cmnd * , struct us_data * ) ;
 4989   struct scsi_cmnd *srb ;
 4990   unsigned int tag ;
 4991   char scsi_name[32] ;
 4992   struct urb *current_urb ;
 4993   struct usb_ctrlrequest *cr ;
 4994   struct usb_sg_request current_sg ;
 4995   unsigned char *iobuf ;
 4996   dma_addr_t iobuf_dma ;
 4997   struct task_struct *ctl_thread ;
 4998   struct completion cmnd_ready ;
 4999   struct completion notify ;
 5000   wait_queue_head_t delay_wait ;
 5001   struct delayed_work scan_dwork ;
 5002   void *extra ;
 5003   void (*extra_destructor)(void * ) ;
 5004   void (*suspend_resume_hook)(struct us_data * , int  ) ;
 5005   int use_last_sector_hacks ;
 5006   int last_sector_retries ;
 5007};
 5008#line 49 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/usb/storage/protocol.h"
 5009enum xfer_buf_dir {
 5010    TO_XFER_BUF = 0,
 5011    FROM_XFER_BUF = 1
 5012} ;
 5013#line 95 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5014struct alauda_media_info {
 5015   unsigned long capacity ;
 5016   unsigned int pagesize ;
 5017   unsigned int blocksize ;
 5018   unsigned int uzonesize ;
 5019   unsigned int zonesize ;
 5020   unsigned int blockmask ;
 5021   unsigned char pageshift ;
 5022   unsigned char blockshift ;
 5023   unsigned char zoneshift ;
 5024   u16 **lba_to_pba ;
 5025   u16 **pba_to_lba ;
 5026};
 5027#line 111 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5028struct alauda_info {
 5029   struct alauda_media_info port[2] ;
 5030   int wr_ep ;
 5031   unsigned char sense_key ;
 5032   unsigned long sense_asc ;
 5033   unsigned long sense_ascq ;
 5034};
 5035#line 177 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5036struct alauda_card_info {
 5037   unsigned char id ;
 5038   unsigned char chipshift ;
 5039   unsigned char pageshift ;
 5040   unsigned char blockshift ;
 5041   unsigned char zoneshift ;
 5042};
 5043#line 1 "<compiler builtins>"
 5044
 5045#line 1
 5046long __builtin_expect(long val , long res ) ;
 5047#line 7 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/swab.h"
 5048__inline static __u32 __arch_swab32(__u32 val )  __attribute__((__no_instrument_function__,
 5049__const__)) ;
 5050#line 7 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/swab.h"
 5051__inline static __u32 __arch_swab32(__u32 val ) 
 5052{ 
 5053
 5054  {
 5055#line 21
 5056  __asm__  ("bswapl %0": "=r" (val): "0" (val));
 5057#line 25
 5058  return (val);
 5059}
 5060}
 5061#line 55 "include/linux/swab.h"
 5062__inline static __u32 __fswab32(__u32 val )  __attribute__((__no_instrument_function__,
 5063__const__)) ;
 5064#line 55 "include/linux/swab.h"
 5065__inline static __u32 __fswab32(__u32 val ) 
 5066{ __u32 tmp ;
 5067
 5068  {
 5069  {
 5070#line 58
 5071  tmp = __arch_swab32(val);
 5072  }
 5073#line 58
 5074  return (tmp);
 5075}
 5076}
 5077#line 100 "include/linux/printk.h"
 5078extern int ( /* format attribute */  printk)(char const   *fmt  , ...) ;
 5079#line 34 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/string_64.h"
 5080extern void *__memcpy(void *to , void const   *from , size_t len ) ;
 5081#line 55
 5082extern void *memset(void *s , int c , size_t n ) ;
 5083#line 58
 5084extern void *memmove(void *dest , void const   *src , size_t count ) ;
 5085#line 152 "include/linux/mutex.h"
 5086void mutex_lock(struct mutex *lock ) ;
 5087#line 153
 5088int __attribute__((__warn_unused_result__))  mutex_lock_interruptible(struct mutex *lock ) ;
 5089#line 154
 5090int __attribute__((__warn_unused_result__))  mutex_lock_killable(struct mutex *lock ) ;
 5091#line 168
 5092int mutex_trylock(struct mutex *lock ) ;
 5093#line 169
 5094void mutex_unlock(struct mutex *lock ) ;
 5095#line 170
 5096int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock ) ;
 5097#line 26 "include/linux/export.h"
 5098extern struct module __this_module ;
 5099#line 67 "include/linux/module.h"
 5100int init_module(void) ;
 5101#line 68
 5102void cleanup_module(void) ;
 5103#line 161 "include/linux/slab.h"
 5104extern void kfree(void const   * ) ;
 5105#line 221 "include/linux/slub_def.h"
 5106extern void *__kmalloc(size_t size , gfp_t flags ) ;
 5107#line 268
 5108__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
 5109                                                                    gfp_t flags )  __attribute__((__no_instrument_function__)) ;
 5110#line 268 "include/linux/slub_def.h"
 5111__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
 5112                                                                    gfp_t flags ) 
 5113{ void *tmp___2 ;
 5114
 5115  {
 5116  {
 5117#line 283
 5118  tmp___2 = __kmalloc(size, flags);
 5119  }
 5120#line 283
 5121  return (tmp___2);
 5122}
 5123}
 5124#line 243 "include/linux/slab.h"
 5125__inline static void *kmalloc_array(size_t n , size_t size , gfp_t flags )  __attribute__((__no_instrument_function__)) ;
 5126#line 243 "include/linux/slab.h"
 5127__inline static void *kmalloc_array(size_t n , size_t size , gfp_t flags ) 
 5128{ void *tmp ;
 5129  unsigned long __cil_tmp5 ;
 5130  size_t __cil_tmp6 ;
 5131
 5132  {
 5133#line 245
 5134  if (size != 0UL) {
 5135    {
 5136#line 245
 5137    __cil_tmp5 = 0xffffffffffffffffUL / size;
 5138#line 245
 5139    if (n > __cil_tmp5) {
 5140#line 246
 5141      return ((void *)0);
 5142    } else {
 5143
 5144    }
 5145    }
 5146  } else {
 5147
 5148  }
 5149  {
 5150#line 247
 5151  __cil_tmp6 = n * size;
 5152#line 247
 5153  tmp = __kmalloc(__cil_tmp6, flags);
 5154  }
 5155#line 247
 5156  return (tmp);
 5157}
 5158}
 5159#line 256
 5160__inline static void *kcalloc(size_t n , size_t size , gfp_t flags )  __attribute__((__no_instrument_function__)) ;
 5161#line 256 "include/linux/slab.h"
 5162__inline static void *kcalloc(size_t n , size_t size , gfp_t flags ) 
 5163{ void *tmp ;
 5164  unsigned int __cil_tmp5 ;
 5165
 5166  {
 5167  {
 5168#line 258
 5169  __cil_tmp5 = flags | 32768U;
 5170#line 258
 5171  tmp = kmalloc_array(n, size, __cil_tmp5);
 5172  }
 5173#line 258
 5174  return (tmp);
 5175}
 5176}
 5177#line 349
 5178__inline static void *kzalloc(size_t size , gfp_t flags )  __attribute__((__no_instrument_function__)) ;
 5179#line 349 "include/linux/slab.h"
 5180__inline static void *kzalloc(size_t size , gfp_t flags ) 
 5181{ void *tmp ;
 5182  unsigned int __cil_tmp4 ;
 5183
 5184  {
 5185  {
 5186#line 351
 5187  __cil_tmp4 = flags | 32768U;
 5188#line 351
 5189  tmp = kmalloc(size, __cil_tmp4);
 5190  }
 5191#line 351
 5192  return (tmp);
 5193}
 5194}
 5195#line 46 "include/linux/delay.h"
 5196extern void msleep(unsigned int msecs ) ;
 5197#line 955 "include/linux/usb.h"
 5198extern int usb_register_driver(struct usb_driver * , struct module * , char const   * ) ;
 5199#line 962
 5200extern void usb_deregister(struct usb_driver * ) ;
 5201#line 1567
 5202__inline static unsigned int __create_pipe(struct usb_device *dev , unsigned int endpoint )  __attribute__((__no_instrument_function__)) ;
 5203#line 1567 "include/linux/usb.h"
 5204__inline static unsigned int __create_pipe(struct usb_device *dev , unsigned int endpoint ) 
 5205{ unsigned int __cil_tmp3 ;
 5206  int __cil_tmp4 ;
 5207  int __cil_tmp5 ;
 5208  unsigned int __cil_tmp6 ;
 5209
 5210  {
 5211  {
 5212#line 1570
 5213  __cil_tmp3 = endpoint << 15;
 5214#line 1570
 5215  __cil_tmp4 = *((int *)dev);
 5216#line 1570
 5217  __cil_tmp5 = __cil_tmp4 << 8;
 5218#line 1570
 5219  __cil_tmp6 = (unsigned int )__cil_tmp5;
 5220#line 1570
 5221  return (__cil_tmp6 | __cil_tmp3);
 5222  }
 5223}
 5224}
 5225#line 175 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/usb/storage/usb.h"
 5226extern void fill_inquiry_response(struct us_data *us , unsigned char *data , unsigned int data_len ) ;
 5227#line 185
 5228extern int usb_stor_suspend(struct usb_interface *iface , int messageevent ) ;
 5229#line 186
 5230extern int usb_stor_resume(struct usb_interface *iface ) ;
 5231#line 187
 5232extern int usb_stor_reset_resume(struct usb_interface *iface ) ;
 5233#line 194
 5234extern int usb_stor_pre_reset(struct usb_interface *iface ) ;
 5235#line 195
 5236extern int usb_stor_post_reset(struct usb_interface *iface ) ;
 5237#line 197
 5238extern int usb_stor_probe1(struct us_data **pus , struct usb_interface *intf , struct usb_device_id  const  *id ,
 5239                           struct us_unusual_dev *unusual_dev ) ;
 5240#line 201
 5241extern int usb_stor_probe2(struct us_data *us ) ;
 5242#line 202
 5243extern void usb_stor_disconnect(struct usb_interface *intf ) ;
 5244#line 82 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/usb/storage/transport.h"
 5245extern int usb_stor_Bulk_reset(struct us_data * ) ;
 5246#line 92
 5247extern int usb_stor_ctrl_transfer(struct us_data *us , unsigned int pipe , u8 request ,
 5248                                  u8 requesttype , u16 value , u16 index , void *data ,
 5249                                  u16 size ) ;
 5250#line 95
 5251extern int usb_stor_bulk_transfer_buf(struct us_data *us , unsigned int pipe , void *buf ,
 5252                                      unsigned int length , unsigned int *act_len ) ;
 5253#line 51 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/usb/storage/protocol.h"
 5254extern unsigned int usb_stor_access_xfer_buf(unsigned char *buffer , unsigned int buflen ,
 5255                                             struct scsi_cmnd *srb , struct scatterlist ** ,
 5256                                             unsigned int *offset , enum xfer_buf_dir dir ) ;
 5257#line 55
 5258extern void usb_stor_set_xfer_buf(unsigned char *buffer , unsigned int buflen , struct scsi_cmnd *srb ) ;
 5259#line 47 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5260static char const   __mod_description47[49]  __attribute__((__used__, __unused__,
 5261__section__(".modinfo"), __aligned__(1)))  = 
 5262#line 47 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5263  {      (char const   )'d',      (char const   )'e',      (char const   )'s',      (char const   )'c', 
 5264        (char const   )'r',      (char const   )'i',      (char const   )'p',      (char const   )'t', 
 5265        (char const   )'i',      (char const   )'o',      (char const   )'n',      (char const   )'=', 
 5266        (char const   )'D',      (char const   )'r',      (char const   )'i',      (char const   )'v', 
 5267        (char const   )'e',      (char const   )'r',      (char const   )' ',      (char const   )'f', 
 5268        (char const   )'o',      (char const   )'r',      (char const   )' ',      (char const   )'A', 
 5269        (char const   )'l',      (char const   )'a',      (char const   )'u',      (char const   )'d', 
 5270        (char const   )'a',      (char const   )'-',      (char const   )'b',      (char const   )'a', 
 5271        (char const   )'s',      (char const   )'e',      (char const   )'d',      (char const   )' ', 
 5272        (char const   )'c',      (char const   )'a',      (char const   )'r',      (char const   )'d', 
 5273        (char const   )' ',      (char const   )'r',      (char const   )'e',      (char const   )'a', 
 5274        (char const   )'d',      (char const   )'e',      (char const   )'r',      (char const   )'s', 
 5275        (char const   )'\000'};
 5276#line 48 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5277static char const   __mod_author48[37]  __attribute__((__used__, __unused__, __section__(".modinfo"),
 5278__aligned__(1)))  = 
 5279#line 48
 5280  {      (char const   )'a',      (char const   )'u',      (char const   )'t',      (char const   )'h', 
 5281        (char const   )'o',      (char const   )'r',      (char const   )'=',      (char const   )'D', 
 5282        (char const   )'a',      (char const   )'n',      (char const   )'i',      (char const   )'e', 
 5283        (char const   )'l',      (char const   )' ',      (char const   )'D',      (char const   )'r', 
 5284        (char const   )'a',      (char const   )'k',      (char const   )'e',      (char const   )' ', 
 5285        (char const   )'<',      (char const   )'d',      (char const   )'s',      (char const   )'d', 
 5286        (char const   )'@',      (char const   )'g',      (char const   )'e',      (char const   )'n', 
 5287        (char const   )'t',      (char const   )'o',      (char const   )'o',      (char const   )'.', 
 5288        (char const   )'o',      (char const   )'r',      (char const   )'g',      (char const   )'>', 
 5289        (char const   )'\000'};
 5290#line 49 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5291static char const   __mod_license49[12]  __attribute__((__used__, __unused__, __section__(".modinfo"),
 5292__aligned__(1)))  = 
 5293#line 49
 5294  {      (char const   )'l',      (char const   )'i',      (char const   )'c',      (char const   )'e', 
 5295        (char const   )'n',      (char const   )'s',      (char const   )'e',      (char const   )'=', 
 5296        (char const   )'G',      (char const   )'P',      (char const   )'L',      (char const   )'\000'};
 5297#line 131
 5298static int init_alauda(struct us_data *us ) ;
 5299#line 143 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5300static struct usb_device_id alauda_usb_ids[2]  = {      {(__u16 )15, (__u16 )1412, (__u16 )8, (__u16 )258, (__u16 )258, (unsigned char)0,
 5301      (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
 5302      (kernel_ulong_t )(1 << 24)}, 
 5303        {(__u16 )15, (__u16 )1972, (__u16 )266, (__u16 )258, (__u16 )258, (unsigned char)0,
 5304      (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
 5305      (kernel_ulong_t )(1 << 24)}};
 5306#line 147
 5307extern struct usb_device_id  const  __mod_usb_device_table  __attribute__((__unused__,
 5308__alias__("alauda_usb_ids"))) ;
 5309#line 165 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5310static struct us_unusual_dev alauda_unusual_dev_list[2]  = {      {"Fujifilm", "DPC-R1 (Alauda)", (__u8 )6, (__u8 )244, & init_alauda}, 
 5311        {"Olympus", "MAUSB-10 (Alauda)", (__u8 )6, (__u8 )244, & init_alauda}};
 5312#line 185 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5313static struct alauda_card_info alauda_card_ids[20]  = 
 5314#line 185
 5315  {      {(unsigned char)110, (unsigned char)20, (unsigned char)8, (unsigned char)4, (unsigned char)8}, 
 5316        {(unsigned char)232,
 5317      (unsigned char)20, (unsigned char)8, (unsigned char)4, (unsigned char)8}, 
 5318        {(unsigned char)236, (unsigned char)20, (unsigned char)8, (unsigned char)4, (unsigned char)8}, 
 5319        {(unsigned char)100,
 5320      (unsigned char)21, (unsigned char)8, (unsigned char)4, (unsigned char)9}, 
 5321        {(unsigned char)234, (unsigned char)21, (unsigned char)8, (unsigned char)4, (unsigned char)9}, 
 5322        {(unsigned char)107,
 5323      (unsigned char)22, (unsigned char)9, (unsigned char)4, (unsigned char)9}, 
 5324        {(unsigned char)227, (unsigned char)22, (unsigned char)9, (unsigned char)4, (unsigned char)9}, 
 5325        {(unsigned char)229,
 5326      (unsigned char)22, (unsigned char)9, (unsigned char)4, (unsigned char)9}, 
 5327        {(unsigned char)230, (unsigned char)23, (unsigned char)9, (unsigned char)4, (unsigned char)10}, 
 5328        {(unsigned char)115,
 5329      (unsigned char)24, (unsigned char)9, (unsigned char)5, (unsigned char)10}, 
 5330        {(unsigned char)117, (unsigned char)25, (unsigned char)9, (unsigned char)5, (unsigned char)10}, 
 5331        {(unsigned char)118,
 5332      (unsigned char)26, (unsigned char)9, (unsigned char)5, (unsigned char)10}, 
 5333        {(unsigned char)121, (unsigned char)27, (unsigned char)9, (unsigned char)5, (unsigned char)10}, 
 5334        {(unsigned char)113,
 5335      (unsigned char)28, (unsigned char)9, (unsigned char)5, (unsigned char)10}, 
 5336        {(unsigned char)93, (unsigned char)21, (unsigned char)9, (unsigned char)4, (unsigned char)8}, 
 5337        {(unsigned char)213,
 5338      (unsigned char)22, (unsigned char)9, (unsigned char)4, (unsigned char)9}, 
 5339        {(unsigned char)214, (unsigned char)23, (unsigned char)9, (unsigned char)4, (unsigned char)10}, 
 5340        {(unsigned char)87,
 5341      (unsigned char)24, (unsigned char)9, (unsigned char)4, (unsigned char)11}, 
 5342        {(unsigned char)88, (unsigned char)25, (unsigned char)9, (unsigned char)4, (unsigned char)12}, 
 5343        {(unsigned char)0,
 5344      (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0}};
 5345#line 211 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5346static struct alauda_card_info *alauda_card_find_id(unsigned char id ) 
 5347{ int i ;
 5348  unsigned long __cil_tmp3 ;
 5349  unsigned long __cil_tmp4 ;
 5350  unsigned char __cil_tmp5 ;
 5351  int __cil_tmp6 ;
 5352  int __cil_tmp7 ;
 5353  unsigned long __cil_tmp8 ;
 5354  unsigned long __cil_tmp9 ;
 5355  unsigned char __cil_tmp10 ;
 5356  int __cil_tmp11 ;
 5357  unsigned long __cil_tmp12 ;
 5358  unsigned long __cil_tmp13 ;
 5359  void *__cil_tmp14 ;
 5360
 5361  {
 5362#line 214
 5363  i = 0;
 5364  {
 5365#line 214
 5366  while (1) {
 5367    while_continue: /* CIL Label */ ;
 5368    {
 5369#line 214
 5370    __cil_tmp3 = i * 5UL;
 5371#line 214
 5372    __cil_tmp4 = (unsigned long )(alauda_card_ids) + __cil_tmp3;
 5373#line 214
 5374    __cil_tmp5 = *((unsigned char *)__cil_tmp4);
 5375#line 214
 5376    __cil_tmp6 = (int )__cil_tmp5;
 5377#line 214
 5378    if (__cil_tmp6 != 0) {
 5379
 5380    } else {
 5381#line 214
 5382      goto while_break;
 5383    }
 5384    }
 5385    {
 5386#line 215
 5387    __cil_tmp7 = (int )id;
 5388#line 215
 5389    __cil_tmp8 = i * 5UL;
 5390#line 215
 5391    __cil_tmp9 = (unsigned long )(alauda_card_ids) + __cil_tmp8;
 5392#line 215
 5393    __cil_tmp10 = *((unsigned char *)__cil_tmp9);
 5394#line 215
 5395    __cil_tmp11 = (int )__cil_tmp10;
 5396#line 215
 5397    if (__cil_tmp11 == __cil_tmp7) {
 5398      {
 5399#line 216
 5400      __cil_tmp12 = i * 5UL;
 5401#line 216
 5402      __cil_tmp13 = (unsigned long )(alauda_card_ids) + __cil_tmp12;
 5403#line 216
 5404      return ((struct alauda_card_info *)__cil_tmp13);
 5405      }
 5406    } else {
 5407
 5408    }
 5409    }
 5410#line 214
 5411    i = i + 1;
 5412  }
 5413  while_break: /* CIL Label */ ;
 5414  }
 5415  {
 5416#line 217
 5417  __cil_tmp14 = (void *)0;
 5418#line 217
 5419  return ((struct alauda_card_info *)__cil_tmp14);
 5420  }
 5421}
 5422}
 5423#line 224 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5424static unsigned char parity[256]  ;
 5425#line 225 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5426static unsigned char ecc2[256]  ;
 5427#line 227 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5428static void nand_init_ecc(void) 
 5429{ int i ;
 5430  int j ;
 5431  int a ;
 5432  int tmp___7 ;
 5433  unsigned long __cil_tmp5 ;
 5434  unsigned long __cil_tmp6 ;
 5435  unsigned long __cil_tmp7 ;
 5436  unsigned long __cil_tmp8 ;
 5437  int __cil_tmp9 ;
 5438  int __cil_tmp10 ;
 5439  unsigned long __cil_tmp11 ;
 5440  unsigned long __cil_tmp12 ;
 5441  unsigned char __cil_tmp13 ;
 5442  int __cil_tmp14 ;
 5443  int __cil_tmp15 ;
 5444  int __cil_tmp16 ;
 5445  int __cil_tmp17 ;
 5446  int __cil_tmp18 ;
 5447  int __cil_tmp19 ;
 5448  unsigned long __cil_tmp20 ;
 5449  unsigned long __cil_tmp21 ;
 5450  unsigned long __cil_tmp22 ;
 5451  unsigned long __cil_tmp23 ;
 5452  int __cil_tmp24 ;
 5453  int __cil_tmp25 ;
 5454  int __cil_tmp26 ;
 5455  int __cil_tmp27 ;
 5456
 5457  {
 5458#line 230
 5459  __cil_tmp5 = 0 * 1UL;
 5460#line 230
 5461  __cil_tmp6 = (unsigned long )(parity) + __cil_tmp5;
 5462#line 230
 5463  *((unsigned char *)__cil_tmp6) = (unsigned char)0;
 5464#line 231
 5465  i = 1;
 5466  {
 5467#line 231
 5468  while (1) {
 5469    while_continue: /* CIL Label */ ;
 5470#line 231
 5471    if (i < 256) {
 5472
 5473    } else {
 5474#line 231
 5475      goto while_break;
 5476    }
 5477#line 232
 5478    __cil_tmp7 = i * 1UL;
 5479#line 232
 5480    __cil_tmp8 = (unsigned long )(parity) + __cil_tmp7;
 5481#line 232
 5482    __cil_tmp9 = i - 1;
 5483#line 232
 5484    __cil_tmp10 = i & __cil_tmp9;
 5485#line 232
 5486    __cil_tmp11 = __cil_tmp10 * 1UL;
 5487#line 232
 5488    __cil_tmp12 = (unsigned long )(parity) + __cil_tmp11;
 5489#line 232
 5490    __cil_tmp13 = *((unsigned char *)__cil_tmp12);
 5491#line 232
 5492    __cil_tmp14 = (int )__cil_tmp13;
 5493#line 232
 5494    __cil_tmp15 = __cil_tmp14 ^ 1;
 5495#line 232
 5496    *((unsigned char *)__cil_tmp8) = (unsigned char )__cil_tmp15;
 5497#line 231
 5498    i = i + 1;
 5499  }
 5500  while_break: /* CIL Label */ ;
 5501  }
 5502#line 234
 5503  i = 0;
 5504  {
 5505#line 234
 5506  while (1) {
 5507    while_continue___0: /* CIL Label */ ;
 5508#line 234
 5509    if (i < 256) {
 5510
 5511    } else {
 5512#line 234
 5513      goto while_break___0;
 5514    }
 5515#line 235
 5516    a = 0;
 5517#line 236
 5518    j = 0;
 5519    {
 5520#line 236
 5521    while (1) {
 5522      while_continue___1: /* CIL Label */ ;
 5523#line 236
 5524      if (j < 8) {
 5525
 5526      } else {
 5527#line 236
 5528        goto while_break___1;
 5529      }
 5530      {
 5531#line 237
 5532      __cil_tmp16 = 1 << j;
 5533#line 237
 5534      if (i & __cil_tmp16) {
 5535        {
 5536#line 238
 5537        __cil_tmp17 = j & 1;
 5538#line 238
 5539        if (__cil_tmp17 == 0) {
 5540#line 239
 5541          a = a ^ 4;
 5542        } else {
 5543
 5544        }
 5545        }
 5546        {
 5547#line 240
 5548        __cil_tmp18 = j & 2;
 5549#line 240
 5550        if (__cil_tmp18 == 0) {
 5551#line 241
 5552          a = a ^ 16;
 5553        } else {
 5554
 5555        }
 5556        }
 5557        {
 5558#line 242
 5559        __cil_tmp19 = j & 4;
 5560#line 242
 5561        if (__cil_tmp19 == 0) {
 5562#line 243
 5563          a = a ^ 64;
 5564        } else {
 5565
 5566        }
 5567        }
 5568      } else {
 5569
 5570      }
 5571      }
 5572#line 236
 5573      j = j + 1;
 5574    }
 5575    while_break___1: /* CIL Label */ ;
 5576    }
 5577    {
 5578#line 246
 5579    __cil_tmp20 = i * 1UL;
 5580#line 246
 5581    __cil_tmp21 = (unsigned long )(parity) + __cil_tmp20;
 5582#line 246
 5583    if (*((unsigned char *)__cil_tmp21)) {
 5584#line 246
 5585      tmp___7 = 168;
 5586    } else {
 5587#line 246
 5588      tmp___7 = 0;
 5589    }
 5590    }
 5591#line 246
 5592    __cil_tmp22 = i * 1UL;
 5593#line 246
 5594    __cil_tmp23 = (unsigned long )(ecc2) + __cil_tmp22;
 5595#line 246
 5596    __cil_tmp24 = a << 1;
 5597#line 246
 5598    __cil_tmp25 = a ^ __cil_tmp24;
 5599#line 246
 5600    __cil_tmp26 = __cil_tmp25 ^ tmp___7;
 5601#line 246
 5602    __cil_tmp27 = ~ __cil_tmp26;
 5603#line 246
 5604    *((unsigned char *)__cil_tmp23) = (unsigned char )__cil_tmp27;
 5605#line 234
 5606    i = i + 1;
 5607  }
 5608  while_break___0: /* CIL Label */ ;
 5609  }
 5610#line 248
 5611  return;
 5612}
 5613}
 5614#line 251 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5615static void nand_compute_ecc(unsigned char *data , unsigned char *ecc ) 
 5616{ int i ;
 5617  int j ;
 5618  int a ;
 5619  unsigned char par ;
 5620  unsigned char bit ;
 5621  unsigned char bits[8] ;
 5622  int tmp___7 ;
 5623  int tmp___8 ;
 5624  unsigned long __cil_tmp11 ;
 5625  unsigned long __cil_tmp12 ;
 5626  unsigned char *__cil_tmp13 ;
 5627  unsigned char __cil_tmp14 ;
 5628  int __cil_tmp15 ;
 5629  int __cil_tmp16 ;
 5630  int __cil_tmp17 ;
 5631  unsigned char *__cil_tmp18 ;
 5632  unsigned char __cil_tmp19 ;
 5633  unsigned long __cil_tmp20 ;
 5634  unsigned long __cil_tmp21 ;
 5635  int __cil_tmp22 ;
 5636  int __cil_tmp23 ;
 5637  unsigned long __cil_tmp24 ;
 5638  unsigned long __cil_tmp25 ;
 5639  int __cil_tmp26 ;
 5640  unsigned long __cil_tmp27 ;
 5641  unsigned long __cil_tmp28 ;
 5642  unsigned char __cil_tmp29 ;
 5643  int __cil_tmp30 ;
 5644  int __cil_tmp31 ;
 5645  unsigned long __cil_tmp32 ;
 5646  unsigned long __cil_tmp33 ;
 5647  unsigned char __cil_tmp34 ;
 5648  int __cil_tmp35 ;
 5649  unsigned long __cil_tmp36 ;
 5650  unsigned long __cil_tmp37 ;
 5651  unsigned char __cil_tmp38 ;
 5652  int __cil_tmp39 ;
 5653  int __cil_tmp40 ;
 5654  unsigned long __cil_tmp41 ;
 5655  unsigned long __cil_tmp42 ;
 5656  unsigned char __cil_tmp43 ;
 5657  int __cil_tmp44 ;
 5658  int __cil_tmp45 ;
 5659  unsigned long __cil_tmp46 ;
 5660  unsigned long __cil_tmp47 ;
 5661  unsigned char __cil_tmp48 ;
 5662  int __cil_tmp49 ;
 5663  int __cil_tmp50 ;
 5664  int __cil_tmp51 ;
 5665  int __cil_tmp52 ;
 5666  unsigned long __cil_tmp53 ;
 5667  unsigned long __cil_tmp54 ;
 5668  unsigned char *__cil_tmp55 ;
 5669  int __cil_tmp56 ;
 5670  int __cil_tmp57 ;
 5671  int __cil_tmp58 ;
 5672  int __cil_tmp59 ;
 5673  unsigned long __cil_tmp60 ;
 5674  unsigned long __cil_tmp61 ;
 5675  unsigned char __cil_tmp62 ;
 5676  int __cil_tmp63 ;
 5677  unsigned long __cil_tmp64 ;
 5678  unsigned long __cil_tmp65 ;
 5679  unsigned char __cil_tmp66 ;
 5680  int __cil_tmp67 ;
 5681  int __cil_tmp68 ;
 5682  unsigned long __cil_tmp69 ;
 5683  unsigned long __cil_tmp70 ;
 5684  unsigned char __cil_tmp71 ;
 5685  int __cil_tmp72 ;
 5686  int __cil_tmp73 ;
 5687  unsigned long __cil_tmp74 ;
 5688  unsigned long __cil_tmp75 ;
 5689  unsigned char __cil_tmp76 ;
 5690  int __cil_tmp77 ;
 5691  int __cil_tmp78 ;
 5692  int __cil_tmp79 ;
 5693  int __cil_tmp80 ;
 5694  unsigned long __cil_tmp81 ;
 5695  unsigned long __cil_tmp82 ;
 5696  unsigned char *__cil_tmp83 ;
 5697  int __cil_tmp84 ;
 5698  int __cil_tmp85 ;
 5699  int __cil_tmp86 ;
 5700  int __cil_tmp87 ;
 5701  unsigned char *__cil_tmp88 ;
 5702  unsigned long __cil_tmp89 ;
 5703  unsigned long __cil_tmp90 ;
 5704
 5705  {
 5706#line 255
 5707  par = (unsigned char)0;
 5708#line 256
 5709  j = 0;
 5710  {
 5711#line 256
 5712  while (1) {
 5713    while_continue: /* CIL Label */ ;
 5714#line 256
 5715    if (j < 8) {
 5716
 5717    } else {
 5718#line 256
 5719      goto while_break;
 5720    }
 5721#line 257
 5722    __cil_tmp11 = j * 1UL;
 5723#line 257
 5724    __cil_tmp12 = (unsigned long )(bits) + __cil_tmp11;
 5725#line 257
 5726    *((unsigned char *)__cil_tmp12) = (unsigned char)0;
 5727#line 256
 5728    j = j + 1;
 5729  }
 5730  while_break: /* CIL Label */ ;
 5731  }
 5732#line 260
 5733  i = 0;
 5734  {
 5735#line 260
 5736  while (1) {
 5737    while_continue___0: /* CIL Label */ ;
 5738#line 260
 5739    if (i < 256) {
 5740
 5741    } else {
 5742#line 260
 5743      goto while_break___0;
 5744    }
 5745#line 261
 5746    __cil_tmp13 = data + i;
 5747#line 261
 5748    __cil_tmp14 = *__cil_tmp13;
 5749#line 261
 5750    __cil_tmp15 = (int )__cil_tmp14;
 5751#line 261
 5752    __cil_tmp16 = (int )par;
 5753#line 261
 5754    __cil_tmp17 = __cil_tmp16 ^ __cil_tmp15;
 5755#line 261
 5756    par = (unsigned char )__cil_tmp17;
 5757#line 262
 5758    __cil_tmp18 = data + i;
 5759#line 262
 5760    __cil_tmp19 = *__cil_tmp18;
 5761#line 262
 5762    __cil_tmp20 = __cil_tmp19 * 1UL;
 5763#line 262
 5764    __cil_tmp21 = (unsigned long )(parity) + __cil_tmp20;
 5765#line 262
 5766    bit = *((unsigned char *)__cil_tmp21);
 5767#line 263
 5768    j = 0;
 5769    {
 5770#line 263
 5771    while (1) {
 5772      while_continue___1: /* CIL Label */ ;
 5773#line 263
 5774      if (j < 8) {
 5775
 5776      } else {
 5777#line 263
 5778        goto while_break___1;
 5779      }
 5780      {
 5781#line 264
 5782      __cil_tmp22 = 1 << j;
 5783#line 264
 5784      __cil_tmp23 = i & __cil_tmp22;
 5785#line 264
 5786      if (__cil_tmp23 == 0) {
 5787#line 265
 5788        __cil_tmp24 = j * 1UL;
 5789#line 265
 5790        __cil_tmp25 = (unsigned long )(bits) + __cil_tmp24;
 5791#line 265
 5792        __cil_tmp26 = (int )bit;
 5793#line 265
 5794        __cil_tmp27 = j * 1UL;
 5795#line 265
 5796        __cil_tmp28 = (unsigned long )(bits) + __cil_tmp27;
 5797#line 265
 5798        __cil_tmp29 = *((unsigned char *)__cil_tmp28);
 5799#line 265
 5800        __cil_tmp30 = (int )__cil_tmp29;
 5801#line 265
 5802        __cil_tmp31 = __cil_tmp30 ^ __cil_tmp26;
 5803#line 265
 5804        *((unsigned char *)__cil_tmp25) = (unsigned char )__cil_tmp31;
 5805      } else {
 5806
 5807      }
 5808      }
 5809#line 263
 5810      j = j + 1;
 5811    }
 5812    while_break___1: /* CIL Label */ ;
 5813    }
 5814#line 260
 5815    i = i + 1;
 5816  }
 5817  while_break___0: /* CIL Label */ ;
 5818  }
 5819#line 269
 5820  __cil_tmp32 = 0 * 1UL;
 5821#line 269
 5822  __cil_tmp33 = (unsigned long )(bits) + __cil_tmp32;
 5823#line 269
 5824  __cil_tmp34 = *((unsigned char *)__cil_tmp33);
 5825#line 269
 5826  __cil_tmp35 = (int )__cil_tmp34;
 5827#line 269
 5828  __cil_tmp36 = 1 * 1UL;
 5829#line 269
 5830  __cil_tmp37 = (unsigned long )(bits) + __cil_tmp36;
 5831#line 269
 5832  __cil_tmp38 = *((unsigned char *)__cil_tmp37);
 5833#line 269
 5834  __cil_tmp39 = (int )__cil_tmp38;
 5835#line 269
 5836  __cil_tmp40 = __cil_tmp39 << 2;
 5837#line 269
 5838  __cil_tmp41 = 2 * 1UL;
 5839#line 269
 5840  __cil_tmp42 = (unsigned long )(bits) + __cil_tmp41;
 5841#line 269
 5842  __cil_tmp43 = *((unsigned char *)__cil_tmp42);
 5843#line 269
 5844  __cil_tmp44 = (int )__cil_tmp43;
 5845#line 269
 5846  __cil_tmp45 = __cil_tmp44 << 4;
 5847#line 269
 5848  __cil_tmp46 = 3 * 1UL;
 5849#line 269
 5850  __cil_tmp47 = (unsigned long )(bits) + __cil_tmp46;
 5851#line 269
 5852  __cil_tmp48 = *((unsigned char *)__cil_tmp47);
 5853#line 269
 5854  __cil_tmp49 = (int )__cil_tmp48;
 5855#line 269
 5856  __cil_tmp50 = __cil_tmp49 << 6;
 5857#line 269
 5858  __cil_tmp51 = __cil_tmp50 + __cil_tmp45;
 5859#line 269
 5860  __cil_tmp52 = __cil_tmp51 + __cil_tmp40;
 5861#line 269
 5862  a = __cil_tmp52 + __cil_tmp35;
 5863  {
 5864#line 270
 5865  __cil_tmp53 = par * 1UL;
 5866#line 270
 5867  __cil_tmp54 = (unsigned long )(parity) + __cil_tmp53;
 5868#line 270
 5869  if (*((unsigned char *)__cil_tmp54)) {
 5870#line 270
 5871    tmp___7 = 170;
 5872  } else {
 5873#line 270
 5874    tmp___7 = 0;
 5875  }
 5876  }
 5877#line 270
 5878  __cil_tmp55 = ecc + 0;
 5879#line 270
 5880  __cil_tmp56 = a << 1;
 5881#line 270
 5882  __cil_tmp57 = a ^ __cil_tmp56;
 5883#line 270
 5884  __cil_tmp58 = __cil_tmp57 ^ tmp___7;
 5885#line 270
 5886  __cil_tmp59 = ~ __cil_tmp58;
 5887#line 270
 5888  *__cil_tmp55 = (unsigned char )__cil_tmp59;
 5889#line 272
 5890  __cil_tmp60 = 4 * 1UL;
 5891#line 272
 5892  __cil_tmp61 = (unsigned long )(bits) + __cil_tmp60;
 5893#line 272
 5894  __cil_tmp62 = *((unsigned char *)__cil_tmp61);
 5895#line 272
 5896  __cil_tmp63 = (int )__cil_tmp62;
 5897#line 272
 5898  __cil_tmp64 = 5 * 1UL;
 5899#line 272
 5900  __cil_tmp65 = (unsigned long )(bits) + __cil_tmp64;
 5901#line 272
 5902  __cil_tmp66 = *((unsigned char *)__cil_tmp65);
 5903#line 272
 5904  __cil_tmp67 = (int )__cil_tmp66;
 5905#line 272
 5906  __cil_tmp68 = __cil_tmp67 << 2;
 5907#line 272
 5908  __cil_tmp69 = 6 * 1UL;
 5909#line 272
 5910  __cil_tmp70 = (unsigned long )(bits) + __cil_tmp69;
 5911#line 272
 5912  __cil_tmp71 = *((unsigned char *)__cil_tmp70);
 5913#line 272
 5914  __cil_tmp72 = (int )__cil_tmp71;
 5915#line 272
 5916  __cil_tmp73 = __cil_tmp72 << 4;
 5917#line 272
 5918  __cil_tmp74 = 7 * 1UL;
 5919#line 272
 5920  __cil_tmp75 = (unsigned long )(bits) + __cil_tmp74;
 5921#line 272
 5922  __cil_tmp76 = *((unsigned char *)__cil_tmp75);
 5923#line 272
 5924  __cil_tmp77 = (int )__cil_tmp76;
 5925#line 272
 5926  __cil_tmp78 = __cil_tmp77 << 6;
 5927#line 272
 5928  __cil_tmp79 = __cil_tmp78 + __cil_tmp73;
 5929#line 272
 5930  __cil_tmp80 = __cil_tmp79 + __cil_tmp68;
 5931#line 272
 5932  a = __cil_tmp80 + __cil_tmp63;
 5933  {
 5934#line 273
 5935  __cil_tmp81 = par * 1UL;
 5936#line 273
 5937  __cil_tmp82 = (unsigned long )(parity) + __cil_tmp81;
 5938#line 273
 5939  if (*((unsigned char *)__cil_tmp82)) {
 5940#line 273
 5941    tmp___8 = 170;
 5942  } else {
 5943#line 273
 5944    tmp___8 = 0;
 5945  }
 5946  }
 5947#line 273
 5948  __cil_tmp83 = ecc + 1;
 5949#line 273
 5950  __cil_tmp84 = a << 1;
 5951#line 273
 5952  __cil_tmp85 = a ^ __cil_tmp84;
 5953#line 273
 5954  __cil_tmp86 = __cil_tmp85 ^ tmp___8;
 5955#line 273
 5956  __cil_tmp87 = ~ __cil_tmp86;
 5957#line 273
 5958  *__cil_tmp83 = (unsigned char )__cil_tmp87;
 5959#line 275
 5960  __cil_tmp88 = ecc + 2;
 5961#line 275
 5962  __cil_tmp89 = par * 1UL;
 5963#line 275
 5964  __cil_tmp90 = (unsigned long )(ecc2) + __cil_tmp89;
 5965#line 275
 5966  *__cil_tmp88 = *((unsigned char *)__cil_tmp90);
 5967#line 276
 5968  return;
 5969}
 5970}
 5971#line 278 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 5972static int nand_compare_ecc(unsigned char *data , unsigned char *ecc ) 
 5973{ int tmp___7 ;
 5974  unsigned char *__cil_tmp4 ;
 5975  unsigned char __cil_tmp5 ;
 5976  int __cil_tmp6 ;
 5977  unsigned char *__cil_tmp7 ;
 5978  unsigned char __cil_tmp8 ;
 5979  int __cil_tmp9 ;
 5980  unsigned char *__cil_tmp10 ;
 5981  unsigned char __cil_tmp11 ;
 5982  int __cil_tmp12 ;
 5983  unsigned char *__cil_tmp13 ;
 5984  unsigned char __cil_tmp14 ;
 5985  int __cil_tmp15 ;
 5986  unsigned char *__cil_tmp16 ;
 5987  unsigned char __cil_tmp17 ;
 5988  int __cil_tmp18 ;
 5989  unsigned char *__cil_tmp19 ;
 5990  unsigned char __cil_tmp20 ;
 5991  int __cil_tmp21 ;
 5992
 5993  {
 5994  {
 5995#line 279
 5996  __cil_tmp4 = ecc + 0;
 5997#line 279
 5998  __cil_tmp5 = *__cil_tmp4;
 5999#line 279
 6000  __cil_tmp6 = (int )__cil_tmp5;
 6001#line 279
 6002  __cil_tmp7 = data + 0;
 6003#line 279
 6004  __cil_tmp8 = *__cil_tmp7;
 6005#line 279
 6006  __cil_tmp9 = (int )__cil_tmp8;
 6007#line 279
 6008  if (__cil_tmp9 == __cil_tmp6) {
 6009    {
 6010#line 279
 6011    __cil_tmp10 = ecc + 1;
 6012#line 279
 6013    __cil_tmp11 = *__cil_tmp10;
 6014#line 279
 6015    __cil_tmp12 = (int )__cil_tmp11;
 6016#line 279
 6017    __cil_tmp13 = data + 1;
 6018#line 279
 6019    __cil_tmp14 = *__cil_tmp13;
 6020#line 279
 6021    __cil_tmp15 = (int )__cil_tmp14;
 6022#line 279
 6023    if (__cil_tmp15 == __cil_tmp12) {
 6024      {
 6025#line 279
 6026      __cil_tmp16 = ecc + 2;
 6027#line 279
 6028      __cil_tmp17 = *__cil_tmp16;
 6029#line 279
 6030      __cil_tmp18 = (int )__cil_tmp17;
 6031#line 279
 6032      __cil_tmp19 = data + 2;
 6033#line 279
 6034      __cil_tmp20 = *__cil_tmp19;
 6035#line 279
 6036      __cil_tmp21 = (int )__cil_tmp20;
 6037#line 279
 6038      if (__cil_tmp21 == __cil_tmp18) {
 6039#line 279
 6040        tmp___7 = 1;
 6041      } else {
 6042#line 279
 6043        tmp___7 = 0;
 6044      }
 6045      }
 6046    } else {
 6047#line 279
 6048      tmp___7 = 0;
 6049    }
 6050    }
 6051  } else {
 6052#line 279
 6053    tmp___7 = 0;
 6054  }
 6055  }
 6056#line 279
 6057  return (tmp___7);
 6058}
 6059}
 6060#line 282 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 6061static void nand_store_ecc(unsigned char *data , unsigned char *ecc ) 
 6062{ size_t __len ;
 6063  void *__ret ;
 6064  void *__cil_tmp5 ;
 6065  void const   *__cil_tmp6 ;
 6066  void *__cil_tmp7 ;
 6067  void const   *__cil_tmp8 ;
 6068
 6069  {
 6070#line 283
 6071  __len = (size_t )3;
 6072#line 283
 6073  if (__len >= 64UL) {
 6074    {
 6075#line 283
 6076    __cil_tmp5 = (void *)data;
 6077#line 283
 6078    __cil_tmp6 = (void const   *)ecc;
 6079#line 283
 6080    __ret = __memcpy(__cil_tmp5, __cil_tmp6, __len);
 6081    }
 6082  } else {
 6083    {
 6084#line 283
 6085    __cil_tmp7 = (void *)data;
 6086#line 283
 6087    __cil_tmp8 = (void const   *)ecc;
 6088#line 283
 6089    __ret = __builtin_memcpy(__cil_tmp7, __cil_tmp8, __len);
 6090    }
 6091  }
 6092#line 284
 6093  return;
 6094}
 6095}
 6096#line 293 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 6097static void alauda_free_maps(struct alauda_media_info *media_info ) 
 6098{ unsigned int shift ;
 6099  unsigned int num_zones ;
 6100  unsigned int i ;
 6101  unsigned long __cil_tmp5 ;
 6102  unsigned long __cil_tmp6 ;
 6103  unsigned char __cil_tmp7 ;
 6104  int __cil_tmp8 ;
 6105  unsigned long __cil_tmp9 ;
 6106  unsigned long __cil_tmp10 ;
 6107  unsigned char __cil_tmp11 ;
 6108  int __cil_tmp12 ;
 6109  unsigned long __cil_tmp13 ;
 6110  unsigned long __cil_tmp14 ;
 6111  unsigned char __cil_tmp15 ;
 6112  int __cil_tmp16 ;
 6113  int __cil_tmp17 ;
 6114  int __cil_tmp18 ;
 6115  unsigned long __cil_tmp19 ;
 6116  unsigned long __cil_tmp20 ;
 6117  void *__cil_tmp21 ;
 6118  unsigned long __cil_tmp22 ;
 6119  unsigned long __cil_tmp23 ;
 6120  unsigned long __cil_tmp24 ;
 6121  u16 **__cil_tmp25 ;
 6122  unsigned long __cil_tmp26 ;
 6123  unsigned long __cil_tmp27 ;
 6124  unsigned long __cil_tmp28 ;
 6125  u16 **__cil_tmp29 ;
 6126  u16 **__cil_tmp30 ;
 6127  u16 *__cil_tmp31 ;
 6128  void const   *__cil_tmp32 ;
 6129  unsigned long __cil_tmp33 ;
 6130  unsigned long __cil_tmp34 ;
 6131  u16 **__cil_tmp35 ;
 6132  u16 **__cil_tmp36 ;
 6133  void *__cil_tmp37 ;
 6134  void *__cil_tmp38 ;
 6135  unsigned long __cil_tmp39 ;
 6136  unsigned long __cil_tmp40 ;
 6137  unsigned long __cil_tmp41 ;
 6138  u16 **__cil_tmp42 ;
 6139  unsigned long __cil_tmp43 ;
 6140  unsigned long __cil_tmp44 ;
 6141  unsigned long __cil_tmp45 ;
 6142  u16 **__cil_tmp46 ;
 6143  u16 **__cil_tmp47 ;
 6144  u16 *__cil_tmp48 ;
 6145  void const   *__cil_tmp49 ;
 6146  unsigned long __cil_tmp50 ;
 6147  unsigned long __cil_tmp51 ;
 6148  u16 **__cil_tmp52 ;
 6149  u16 **__cil_tmp53 ;
 6150  void *__cil_tmp54 ;
 6151
 6152  {
 6153#line 295
 6154  __cil_tmp5 = (unsigned long )media_info;
 6155#line 295
 6156  __cil_tmp6 = __cil_tmp5 + 28;
 6157#line 295
 6158  __cil_tmp7 = *((unsigned char *)__cil_tmp6);
 6159#line 295
 6160  __cil_tmp8 = (int )__cil_tmp7;
 6161#line 295
 6162  __cil_tmp9 = (unsigned long )media_info;
 6163#line 295
 6164  __cil_tmp10 = __cil_tmp9 + 29;
 6165#line 295
 6166  __cil_tmp11 = *((unsigned char *)__cil_tmp10);
 6167#line 295
 6168  __cil_tmp12 = (int )__cil_tmp11;
 6169#line 295
 6170  __cil_tmp13 = (unsigned long )media_info;
 6171#line 295
 6172  __cil_tmp14 = __cil_tmp13 + 30;
 6173#line 295
 6174  __cil_tmp15 = *((unsigned char *)__cil_tmp14);
 6175#line 295
 6176  __cil_tmp16 = (int )__cil_tmp15;
 6177#line 295
 6178  __cil_tmp17 = __cil_tmp16 + __cil_tmp12;
 6179#line 295
 6180  __cil_tmp18 = __cil_tmp17 + __cil_tmp8;
 6181#line 295
 6182  shift = (unsigned int )__cil_tmp18;
 6183#line 297
 6184  __cil_tmp19 = *((unsigned long *)media_info);
 6185#line 297
 6186  __cil_tmp20 = __cil_tmp19 >> shift;
 6187#line 297
 6188  num_zones = (unsigned int )__cil_tmp20;
 6189  {
 6190#line 300
 6191  __cil_tmp21 = (void *)0;
 6192#line 300
 6193  __cil_tmp22 = (unsigned long )__cil_tmp21;
 6194#line 300
 6195  __cil_tmp23 = (unsigned long )media_info;
 6196#line 300
 6197  __cil_tmp24 = __cil_tmp23 + 32;
 6198#line 300
 6199  __cil_tmp25 = *((u16 ***)__cil_tmp24);
 6200#line 300
 6201  __cil_tmp26 = (unsigned long )__cil_tmp25;
 6202#line 300
 6203  if (__cil_tmp26 != __cil_tmp22) {
 6204#line 301
 6205    i = 0U;
 6206    {
 6207#line 301
 6208    while (1) {
 6209      while_continue: /* CIL Label */ ;
 6210#line 301
 6211      if (i < num_zones) {
 6212
 6213      } else {
 6214#line 301
 6215        goto while_break;
 6216      }
 6217      {
 6218#line 302
 6219      __cil_tmp27 = (unsigned long )media_info;
 6220#line 302
 6221      __cil_tmp28 = __cil_tmp27 + 32;
 6222#line 302
 6223      __cil_tmp29 = *((u16 ***)__cil_tmp28);
 6224#line 302
 6225      __cil_tmp30 = __cil_tmp29 + i;
 6226#line 302
 6227      __cil_tmp31 = *__cil_tmp30;
 6228#line 302
 6229      __cil_tmp32 = (void const   *)__cil_tmp31;
 6230#line 302
 6231      kfree(__cil_tmp32);
 6232#line 303
 6233      __cil_tmp33 = (unsigned long )media_info;
 6234#line 303
 6235      __cil_tmp34 = __cil_tmp33 + 32;
 6236#line 303
 6237      __cil_tmp35 = *((u16 ***)__cil_tmp34);
 6238#line 303
 6239      __cil_tmp36 = __cil_tmp35 + i;
 6240#line 303
 6241      __cil_tmp37 = (void *)0;
 6242#line 303
 6243      *__cil_tmp36 = (u16 *)__cil_tmp37;
 6244#line 301
 6245      i = i + 1U;
 6246      }
 6247    }
 6248    while_break: /* CIL Label */ ;
 6249    }
 6250  } else {
 6251
 6252  }
 6253  }
 6254  {
 6255#line 306
 6256  __cil_tmp38 = (void *)0;
 6257#line 306
 6258  __cil_tmp39 = (unsigned long )__cil_tmp38;
 6259#line 306
 6260  __cil_tmp40 = (unsigned long )media_info;
 6261#line 306
 6262  __cil_tmp41 = __cil_tmp40 + 40;
 6263#line 306
 6264  __cil_tmp42 = *((u16 ***)__cil_tmp41);
 6265#line 306
 6266  __cil_tmp43 = (unsigned long )__cil_tmp42;
 6267#line 306
 6268  if (__cil_tmp43 != __cil_tmp39) {
 6269#line 307
 6270    i = 0U;
 6271    {
 6272#line 307
 6273    while (1) {
 6274      while_continue___0: /* CIL Label */ ;
 6275#line 307
 6276      if (i < num_zones) {
 6277
 6278      } else {
 6279#line 307
 6280        goto while_break___0;
 6281      }
 6282      {
 6283#line 308
 6284      __cil_tmp44 = (unsigned long )media_info;
 6285#line 308
 6286      __cil_tmp45 = __cil_tmp44 + 40;
 6287#line 308
 6288      __cil_tmp46 = *((u16 ***)__cil_tmp45);
 6289#line 308
 6290      __cil_tmp47 = __cil_tmp46 + i;
 6291#line 308
 6292      __cil_tmp48 = *__cil_tmp47;
 6293#line 308
 6294      __cil_tmp49 = (void const   *)__cil_tmp48;
 6295#line 308
 6296      kfree(__cil_tmp49);
 6297#line 309
 6298      __cil_tmp50 = (unsigned long )media_info;
 6299#line 309
 6300      __cil_tmp51 = __cil_tmp50 + 40;
 6301#line 309
 6302      __cil_tmp52 = *((u16 ***)__cil_tmp51);
 6303#line 309
 6304      __cil_tmp53 = __cil_tmp52 + i;
 6305#line 309
 6306      __cil_tmp54 = (void *)0;
 6307#line 309
 6308      *__cil_tmp53 = (u16 *)__cil_tmp54;
 6309#line 307
 6310      i = i + 1U;
 6311      }
 6312    }
 6313    while_break___0: /* CIL Label */ ;
 6314    }
 6315  } else {
 6316
 6317  }
 6318  }
 6319#line 311
 6320  return;
 6321}
 6322}
 6323#line 317 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 6324static int alauda_get_media_status(struct us_data *us , unsigned char *data ) 
 6325{ int rc ;
 6326  unsigned char command ;
 6327  unsigned long __cil_tmp5 ;
 6328  unsigned long __cil_tmp6 ;
 6329  struct scsi_cmnd *__cil_tmp7 ;
 6330  struct scsi_device *__cil_tmp8 ;
 6331  unsigned long __cil_tmp9 ;
 6332  unsigned long __cil_tmp10 ;
 6333  unsigned int __cil_tmp11 ;
 6334  unsigned long __cil_tmp12 ;
 6335  unsigned long __cil_tmp13 ;
 6336  unsigned int __cil_tmp14 ;
 6337  u8 __cil_tmp15 ;
 6338  u16 __cil_tmp16 ;
 6339  u16 __cil_tmp17 ;
 6340  void *__cil_tmp18 ;
 6341  u16 __cil_tmp19 ;
 6342  unsigned char *__cil_tmp20 ;
 6343  unsigned char __cil_tmp21 ;
 6344  int __cil_tmp22 ;
 6345  unsigned char *__cil_tmp23 ;
 6346  unsigned char __cil_tmp24 ;
 6347  int __cil_tmp25 ;
 6348
 6349  {
 6350  {
 6351#line 322
 6352  __cil_tmp5 = (unsigned long )us;
 6353#line 322
 6354  __cil_tmp6 = __cil_tmp5 + 192;
 6355#line 322
 6356  __cil_tmp7 = *((struct scsi_cmnd **)__cil_tmp6);
 6357#line 322
 6358  __cil_tmp8 = *((struct scsi_device **)__cil_tmp7);
 6359#line 322
 6360  __cil_tmp9 = (unsigned long )__cil_tmp8;
 6361#line 322
 6362  __cil_tmp10 = __cil_tmp9 + 156;
 6363#line 322
 6364  __cil_tmp11 = *((unsigned int *)__cil_tmp10);
 6365#line 322
 6366  if (__cil_tmp11 == 0U) {
 6367#line 323
 6368    command = (unsigned char)8;
 6369  } else {
 6370#line 325
 6371    command = (unsigned char)152;
 6372  }
 6373  }
 6374  {
 6375#line 327
 6376  __cil_tmp12 = (unsigned long )us;
 6377#line 327
 6378  __cil_tmp13 = __cil_tmp12 + 124;
 6379#line 327
 6380  __cil_tmp14 = *((unsigned int *)__cil_tmp13);
 6381#line 327
 6382  __cil_tmp15 = (u8 )192;
 6383#line 327
 6384  __cil_tmp16 = (u16 )0;
 6385#line 327
 6386  __cil_tmp17 = (u16 )1;
 6387#line 327
 6388  __cil_tmp18 = (void *)data;
 6389#line 327
 6390  __cil_tmp19 = (u16 )2;
 6391#line 327
 6392  rc = usb_stor_ctrl_transfer(us, __cil_tmp14, command, __cil_tmp15, __cil_tmp16,
 6393                              __cil_tmp17, __cil_tmp18, __cil_tmp19);
 6394#line 330
 6395  __cil_tmp20 = data + 0;
 6396#line 330
 6397  __cil_tmp21 = *__cil_tmp20;
 6398#line 330
 6399  __cil_tmp22 = (int )__cil_tmp21;
 6400#line 330
 6401  __cil_tmp23 = data + 1;
 6402#line 330
 6403  __cil_tmp24 = *__cil_tmp23;
 6404#line 330
 6405  __cil_tmp25 = (int )__cil_tmp24;
 6406#line 330
 6407  printk("<7>usb-storage: alauda_get_media_status: Media status %02X %02X\n", __cil_tmp22,
 6408         __cil_tmp25);
 6409  }
 6410#line 333
 6411  return (rc);
 6412}
 6413}
 6414#line 340 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 6415static int alauda_ack_media(struct us_data *us ) 
 6416{ unsigned char command ;
 6417  int tmp___7 ;
 6418  unsigned long __cil_tmp4 ;
 6419  unsigned long __cil_tmp5 ;
 6420  struct scsi_cmnd *__cil_tmp6 ;
 6421  struct scsi_device *__cil_tmp7 ;
 6422  unsigned long __cil_tmp8 ;
 6423  unsigned long __cil_tmp9 ;
 6424  unsigned int __cil_tmp10 ;
 6425  unsigned long __cil_tmp11 ;
 6426  unsigned long __cil_tmp12 ;
 6427  unsigned int __cil_tmp13 ;
 6428  u8 __cil_tmp14 ;
 6429  u16 __cil_tmp15 ;
 6430  u16 __cil_tmp16 ;
 6431  void *__cil_tmp17 ;
 6432  u16 __cil_tmp18 ;
 6433
 6434  {
 6435  {
 6436#line 344
 6437  __cil_tmp4 = (unsigned long )us;
 6438#line 344
 6439  __cil_tmp5 = __cil_tmp4 + 192;
 6440#line 344
 6441  __cil_tmp6 = *((struct scsi_cmnd **)__cil_tmp5);
 6442#line 344
 6443  __cil_tmp7 = *((struct scsi_device **)__cil_tmp6);
 6444#line 344
 6445  __cil_tmp8 = (unsigned long )__cil_tmp7;
 6446#line 344
 6447  __cil_tmp9 = __cil_tmp8 + 156;
 6448#line 344
 6449  __cil_tmp10 = *((unsigned int *)__cil_tmp9);
 6450#line 344
 6451  if (__cil_tmp10 == 0U) {
 6452#line 345
 6453    command = (unsigned char)10;
 6454  } else {
 6455#line 347
 6456    command = (unsigned char)154;
 6457  }
 6458  }
 6459  {
 6460#line 349
 6461  __cil_tmp11 = (unsigned long )us;
 6462#line 349
 6463  __cil_tmp12 = __cil_tmp11 + 120;
 6464#line 349
 6465  __cil_tmp13 = *((unsigned int *)__cil_tmp12);
 6466#line 349
 6467  __cil_tmp14 = (u8 )64;
 6468#line 349
 6469  __cil_tmp15 = (u16 )0;
 6470#line 349
 6471  __cil_tmp16 = (u16 )1;
 6472#line 349
 6473  __cil_tmp17 = (void *)0;
 6474#line 349
 6475  __cil_tmp18 = (u16 )0;
 6476#line 349
 6477  tmp___7 = usb_stor_ctrl_transfer(us, __cil_tmp13, command, __cil_tmp14, __cil_tmp15,
 6478                                   __cil_tmp16, __cil_tmp17, __cil_tmp18);
 6479  }
 6480#line 349
 6481  return (tmp___7);
 6482}
 6483}
 6484#line 357 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 6485static int alauda_get_media_signature(struct us_data *us , unsigned char *data ) 
 6486{ unsigned char command ;
 6487  int tmp___7 ;
 6488  unsigned long __cil_tmp5 ;
 6489  unsigned long __cil_tmp6 ;
 6490  struct scsi_cmnd *__cil_tmp7 ;
 6491  struct scsi_device *__cil_tmp8 ;
 6492  unsigned long __cil_tmp9 ;
 6493  unsigned long __cil_tmp10 ;
 6494  unsigned int __cil_tmp11 ;
 6495  unsigned long __cil_tmp12 ;
 6496  unsigned long __cil_tmp13 ;
 6497  unsigned int __cil_tmp14 ;
 6498  u8 __cil_tmp15 ;
 6499  u16 __cil_tmp16 ;
 6500  u16 __cil_tmp17 ;
 6501  void *__cil_tmp18 ;
 6502  u16 __cil_tmp19 ;
 6503
 6504  {
 6505  {
 6506#line 361
 6507  __cil_tmp5 = (unsigned long )us;
 6508#line 361
 6509  __cil_tmp6 = __cil_tmp5 + 192;
 6510#line 361
 6511  __cil_tmp7 = *((struct scsi_cmnd **)__cil_tmp6);
 6512#line 361
 6513  __cil_tmp8 = *((struct scsi_device **)__cil_tmp7);
 6514#line 361
 6515  __cil_tmp9 = (unsigned long )__cil_tmp8;
 6516#line 361
 6517  __cil_tmp10 = __cil_tmp9 + 156;
 6518#line 361
 6519  __cil_tmp11 = *((unsigned int *)__cil_tmp10);
 6520#line 361
 6521  if (__cil_tmp11 == 0U) {
 6522#line 362
 6523    command = (unsigned char)134;
 6524  } else {
 6525#line 364
 6526    command = (unsigned char)150;
 6527  }
 6528  }
 6529  {
 6530#line 366
 6531  __cil_tmp12 = (unsigned long )us;
 6532#line 366
 6533  __cil_tmp13 = __cil_tmp12 + 124;
 6534#line 366
 6535  __cil_tmp14 = *((unsigned int *)__cil_tmp13);
 6536#line 366
 6537  __cil_tmp15 = (u8 )192;
 6538#line 366
 6539  __cil_tmp16 = (u16 )0;
 6540#line 366
 6541  __cil_tmp17 = (u16 )0;
 6542#line 366
 6543  __cil_tmp18 = (void *)data;
 6544#line 366
 6545  __cil_tmp19 = (u16 )4;
 6546#line 366
 6547  tmp___7 = usb_stor_ctrl_transfer(us, __cil_tmp14, command, __cil_tmp15, __cil_tmp16,
 6548                                   __cil_tmp17, __cil_tmp18, __cil_tmp19);
 6549  }
 6550#line 366
 6551  return (tmp___7);
 6552}
 6553}
 6554#line 373 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 6555static int alauda_reset_media(struct us_data *us ) 
 6556{ unsigned char *command ;
 6557  int tmp___7 ;
 6558  unsigned long __cil_tmp4 ;
 6559  unsigned long __cil_tmp5 ;
 6560  void *__cil_tmp6 ;
 6561  size_t __cil_tmp7 ;
 6562  unsigned char *__cil_tmp8 ;
 6563  unsigned char *__cil_tmp9 ;
 6564  unsigned char *__cil_tmp10 ;
 6565  unsigned long __cil_tmp11 ;
 6566  unsigned long __cil_tmp12 ;
 6567  struct scsi_cmnd *__cil_tmp13 ;
 6568  struct scsi_device *__cil_tmp14 ;
 6569  unsigned long __cil_tmp15 ;
 6570  unsigned long __cil_tmp16 ;
 6571  unsigned int __cil_tmp17 ;
 6572  unsigned long __cil_tmp18 ;
 6573  unsigned long __cil_tmp19 ;
 6574  unsigned int __cil_tmp20 ;
 6575  void *__cil_tmp21 ;
 6576  void *__cil_tmp22 ;
 6577  unsigned int *__cil_tmp23 ;
 6578
 6579  {
 6580  {
 6581#line 375
 6582  __cil_tmp4 = (unsigned long )us;
 6583#line 375
 6584  __cil_tmp5 = __cil_tmp4 + 376;
 6585#line 375
 6586  command = *((unsigned char **)__cil_tmp5);
 6587#line 377
 6588  __cil_tmp6 = (void *)command;
 6589#line 377
 6590  __cil_tmp7 = (size_t )9;
 6591#line 377
 6592  memset(__cil_tmp6, 0, __cil_tmp7);
 6593#line 378
 6594  __cil_tmp8 = command + 0;
 6595#line 378
 6596  *__cil_tmp8 = (unsigned char)64;
 6597#line 379
 6598  __cil_tmp9 = command + 1;
 6599#line 379
 6600  *__cil_tmp9 = (unsigned char)224;
 6601#line 380
 6602  __cil_tmp10 = command + 8;
 6603#line 380
 6604  __cil_tmp11 = (unsigned long )us;
 6605#line 380
 6606  __cil_tmp12 = __cil_tmp11 + 192;
 6607#line 380
 6608  __cil_tmp13 = *((struct scsi_cmnd **)__cil_tmp12);
 6609#line 380
 6610  __cil_tmp14 = *((struct scsi_device **)__cil_tmp13);
 6611#line 380
 6612  __cil_tmp15 = (unsigned long )__cil_tmp14;
 6613#line 380
 6614  __cil_tmp16 = __cil_tmp15 + 156;
 6615#line 380
 6616  __cil_tmp17 = *((unsigned int *)__cil_tmp16);
 6617#line 380
 6618  *__cil_tmp10 = (unsigned char )__cil_tmp17;
 6619#line 382
 6620  __cil_tmp18 = (unsigned long )us;
 6621#line 382
 6622  __cil_tmp19 = __cil_tmp18 + 112;
 6623#line 382
 6624  __cil_tmp20 = *((unsigned int *)__cil_tmp19);
 6625#line 382
 6626  __cil_tmp21 = (void *)command;
 6627#line 382
 6628  __cil_tmp22 = (void *)0;
 6629#line 382
 6630  __cil_tmp23 = (unsigned int *)__cil_tmp22;
 6631#line 382
 6632  tmp___7 = usb_stor_bulk_transfer_buf(us, __cil_tmp20, __cil_tmp21, 9U, __cil_tmp23);
 6633  }
 6634#line 382
 6635  return (tmp___7);
 6636}
 6637}
 6638#line 389 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 6639static int alauda_init_media(struct us_data *us ) 
 6640{ unsigned char *data ;
 6641  int ready ;
 6642  struct alauda_card_info *media_info ;
 6643  unsigned int num_zones ;
 6644  int tmp___7 ;
 6645  int tmp___8 ;
 6646  int tmp___9 ;
 6647  int tmp___10 ;
 6648  void *tmp___11 ;
 6649  void *tmp___12 ;
 6650  int tmp___13 ;
 6651  unsigned long __cil_tmp13 ;
 6652  unsigned long __cil_tmp14 ;
 6653  unsigned char *__cil_tmp15 ;
 6654  unsigned char __cil_tmp16 ;
 6655  int __cil_tmp17 ;
 6656  unsigned char *__cil_tmp18 ;
 6657  unsigned char __cil_tmp19 ;
 6658  int __cil_tmp20 ;
 6659  unsigned char *__cil_tmp21 ;
 6660  unsigned char __cil_tmp22 ;
 6661  int __cil_tmp23 ;
 6662  unsigned char *__cil_tmp24 ;
 6663  unsigned char __cil_tmp25 ;
 6664  int __cil_tmp26 ;
 6665  unsigned char *__cil_tmp27 ;
 6666  unsigned char __cil_tmp28 ;
 6667  int __cil_tmp29 ;
 6668  unsigned char *__cil_tmp30 ;
 6669  unsigned char __cil_tmp31 ;
 6670  int __cil_tmp32 ;
 6671  unsigned char *__cil_tmp33 ;
 6672  unsigned char __cil_tmp34 ;
 6673  void *__cil_tmp35 ;
 6674  unsigned long __cil_tmp36 ;
 6675  unsigned long __cil_tmp37 ;
 6676  unsigned char *__cil_tmp38 ;
 6677  unsigned char __cil_tmp39 ;
 6678  int __cil_tmp40 ;
 6679  unsigned char *__cil_tmp41 ;
 6680  unsigned char __cil_tmp42 ;
 6681  int __cil_tmp43 ;
 6682  unsigned char *__cil_tmp44 ;
 6683  unsigned char __cil_tmp45 ;
 6684  int __cil_tmp46 ;
 6685  unsigned char *__cil_tmp47 ;
 6686  unsigned char __cil_tmp48 ;
 6687  int __cil_tmp49 ;
 6688  unsigned long __cil_tmp50 ;
 6689  unsigned long __cil_tmp51 ;
 6690  struct scsi_cmnd *__cil_tmp52 ;
 6691  struct scsi_device *__cil_tmp53 ;
 6692  unsigned long __cil_tmp54 ;
 6693  unsigned long __cil_tmp55 ;
 6694  unsigned int __cil_tmp56 ;
 6695  unsigned long __cil_tmp57 ;
 6696  unsigned long __cil_tmp58 ;
 6697  unsigned long __cil_tmp59 ;
 6698  unsigned long __cil_tmp60 ;
 6699  void *__cil_tmp61 ;
 6700  struct alauda_info *__cil_tmp62 ;
 6701  unsigned long __cil_tmp63 ;
 6702  unsigned long __cil_tmp64 ;
 6703  unsigned long __cil_tmp65 ;
 6704  unsigned long __cil_tmp66 ;
 6705  unsigned char __cil_tmp67 ;
 6706  int __cil_tmp68 ;
 6707  int __cil_tmp69 ;
 6708  unsigned long __cil_tmp70 ;
 6709  unsigned long __cil_tmp71 ;
 6710  struct scsi_cmnd *__cil_tmp72 ;
 6711  struct scsi_device *__cil_tmp73 ;
 6712  unsigned long __cil_tmp74 ;
 6713  unsigned long __cil_tmp75 ;
 6714  unsigned int __cil_tmp76 ;
 6715  unsigned long __cil_tmp77 ;
 6716  unsigned long __cil_tmp78 ;
 6717  unsigned long __cil_tmp79 ;
 6718  unsigned long __cil_tmp80 ;
 6719  void *__cil_tmp81 ;
 6720  struct alauda_info *__cil_tmp82 ;
 6721  unsigned long __cil_tmp83 ;
 6722  unsigned long __cil_tmp84 ;
 6723  unsigned long __cil_tmp85 ;
 6724  unsigned long __cil_tmp86 ;
 6725  unsigned long __cil_tmp87 ;
 6726  unsigned long __cil_tmp88 ;
 6727  struct scsi_cmnd *__cil_tmp89 ;
 6728  struct scsi_device *__cil_tmp90 ;
 6729  unsigned long __cil_tmp91 ;
 6730  unsigned long __cil_tmp92 ;
 6731  unsigned int __cil_tmp93 ;
 6732  unsigned long __cil_tmp94 ;
 6733  unsigned long __cil_tmp95 ;
 6734  unsigned long __cil_tmp96 ;
 6735  unsigned long __cil_tmp97 ;
 6736  unsigned long __cil_tmp98 ;
 6737  void *__cil_tmp99 ;
 6738  struct alauda_info *__cil_tmp100 ;
 6739  unsigned long __cil_tmp101 ;
 6740  unsigned long __cil_tmp102 ;
 6741  unsigned long __cil_tmp103 ;
 6742  unsigned long __cil_tmp104 ;
 6743  unsigned long __cil_tmp105 ;
 6744  unsigned long __cil_tmp106 ;
 6745  struct scsi_cmnd *__cil_tmp107 ;
 6746  struct scsi_device *__cil_tmp108 ;
 6747  unsigned long __cil_tmp109 ;
 6748  unsigned long __cil_tmp110 ;
 6749  unsigned int __cil_tmp111 ;
 6750  unsigned long __cil_tmp112 ;
 6751  unsigned long __cil_tmp113 ;
 6752  unsigned long __cil_tmp114 ;
 6753  unsigned long __cil_tmp115 ;
 6754  unsigned long __cil_tmp116 ;
 6755  void *__cil_tmp117 ;
 6756  struct alauda_info *__cil_tmp118 ;
 6757  unsigned long __cil_tmp119 ;
 6758  unsigned long __cil_tmp120 ;
 6759  unsigned long __cil_tmp121 ;
 6760  unsigned long __cil_tmp122 ;
 6761  unsigned long __cil_tmp123 ;
 6762  unsigned long __cil_tmp124 ;
 6763  struct scsi_cmnd *__cil_tmp125 ;
 6764  struct scsi_device *__cil_tmp126 ;
 6765  unsigned long __cil_tmp127 ;
 6766  unsigned long __cil_tmp128 ;
 6767  unsigned int __cil_tmp129 ;
 6768  unsigned long __cil_tmp130 ;
 6769  unsigned long __cil_tmp131 ;
 6770  unsigned long __cil_tmp132 ;
 6771  unsigned long __cil_tmp133 ;
 6772  unsigned long __cil_tmp134 ;
 6773  void *__cil_tmp135 ;
 6774  struct alauda_info *__cil_tmp136 ;
 6775  unsigned long __cil_tmp137 ;
 6776  unsigned long __cil_tmp138 ;
 6777  unsigned long __cil_tmp139 ;
 6778  unsigned long __cil_tmp140 ;
 6779  unsigned long __cil_tmp141 ;
 6780  unsigned long __cil_tmp142 ;
 6781  struct scsi_cmnd *__cil_tmp143 ;
 6782  struct scsi_device *__cil_tmp144 ;
 6783  unsigned long __cil_tmp145 ;
 6784  unsigned long __cil_tmp146 ;
 6785  unsigned int __cil_tmp147 ;
 6786  unsigned long __cil_tmp148 ;
 6787  unsigned long __cil_tmp149 ;
 6788  unsigned long __cil_tmp150 ;
 6789  unsigned long __cil_tmp151 ;
 6790  unsigned long __cil_tmp152 ;
 6791  void *__cil_tmp153 ;
 6792  struct alauda_info *__cil_tmp154 ;
 6793  unsigned long __cil_tmp155 ;
 6794  unsigned long __cil_tmp156 ;
 6795  unsigned long __cil_tmp157 ;
 6796  unsigned long __cil_tmp158 ;
 6797  unsigned char __cil_tmp159 ;
 6798  int __cil_tmp160 ;
 6799  int __cil_tmp161 ;
 6800  unsigned long __cil_tmp162 ;
 6801  unsigned long __cil_tmp163 ;
 6802  struct scsi_cmnd *__cil_tmp164 ;
 6803  struct scsi_device *__cil_tmp165 ;
 6804  unsigned long __cil_tmp166 ;
 6805  unsigned long __cil_tmp167 ;
 6806  unsigned int __cil_tmp168 ;
 6807  unsigned long __cil_tmp169 ;
 6808  unsigned long __cil_tmp170 ;
 6809  unsigned long __cil_tmp171 ;
 6810  unsigned long __cil_tmp172 ;
 6811  unsigned long __cil_tmp173 ;
 6812  void *__cil_tmp174 ;
 6813  struct alauda_info *__cil_tmp175 ;
 6814  unsigned long __cil_tmp176 ;
 6815  unsigned long __cil_tmp177 ;
 6816  unsigned long __cil_tmp178 ;
 6817  unsigned long __cil_tmp179 ;
 6818  unsigned char __cil_tmp180 ;
 6819  int __cil_tmp181 ;
 6820  int __cil_tmp182 ;
 6821  unsigned long __cil_tmp183 ;
 6822  unsigned long __cil_tmp184 ;
 6823  struct scsi_cmnd *__cil_tmp185 ;
 6824  struct scsi_device *__cil_tmp186 ;
 6825  unsigned long __cil_tmp187 ;
 6826  unsigned long __cil_tmp188 ;
 6827  unsigned int __cil_tmp189 ;
 6828  unsigned long __cil_tmp190 ;
 6829  unsigned long __cil_tmp191 ;
 6830  unsigned long __cil_tmp192 ;
 6831  unsigned long __cil_tmp193 ;
 6832  unsigned long __cil_tmp194 ;
 6833  void *__cil_tmp195 ;
 6834  struct alauda_info *__cil_tmp196 ;
 6835  unsigned long __cil_tmp197 ;
 6836  unsigned long __cil_tmp198 ;
 6837  unsigned long __cil_tmp199 ;
 6838  unsigned long __cil_tmp200 ;
 6839  unsigned char __cil_tmp201 ;
 6840  int __cil_tmp202 ;
 6841  int __cil_tmp203 ;
 6842  unsigned long __cil_tmp204 ;
 6843  unsigned long __cil_tmp205 ;
 6844  struct scsi_cmnd *__cil_tmp206 ;
 6845  struct scsi_device *__cil_tmp207 ;
 6846  unsigned long __cil_tmp208 ;
 6847  unsigned long __cil_tmp209 ;
 6848  unsigned int __cil_tmp210 ;
 6849  unsigned long __cil_tmp211 ;
 6850  unsigned long __cil_tmp212 ;
 6851  unsigned long __cil_tmp213 ;
 6852  unsigned long __cil_tmp214 ;
 6853  unsigned long __cil_tmp215 ;
 6854  void *__cil_tmp216 ;
 6855  struct alauda_info *__cil_tmp217 ;
 6856  unsigned long __cil_tmp218 ;
 6857  unsigned long __cil_tmp219 ;
 6858  unsigned long __cil_tmp220 ;
 6859  unsigned long __cil_tmp221 ;
 6860  unsigned char __cil_tmp222 ;
 6861  int __cil_tmp223 ;
 6862  int __cil_tmp224 ;
 6863  int __cil_tmp225 ;
 6864  int __cil_tmp226 ;
 6865  unsigned long __cil_tmp227 ;
 6866  unsigned long __cil_tmp228 ;
 6867  struct scsi_cmnd *__cil_tmp229 ;
 6868  struct scsi_device *__cil_tmp230 ;
 6869  unsigned long __cil_tmp231 ;
 6870  unsigned long __cil_tmp232 ;
 6871  unsigned int __cil_tmp233 ;
 6872  unsigned long __cil_tmp234 ;
 6873  unsigned long __cil_tmp235 ;
 6874  unsigned long __cil_tmp236 ;
 6875  unsigned long __cil_tmp237 ;
 6876  unsigned long __cil_tmp238 ;
 6877  void *__cil_tmp239 ;
 6878  struct alauda_info *__cil_tmp240 ;
 6879  unsigned long __cil_tmp241 ;
 6880  unsigned long __cil_tmp242 ;
 6881  unsigned long __cil_tmp243 ;
 6882  unsigned long __cil_tmp244 ;
 6883  struct scsi_cmnd *__cil_tmp245 ;
 6884  struct scsi_device *__cil_tmp246 ;
 6885  unsigned long __cil_tmp247 ;
 6886  unsigned long __cil_tmp248 ;
 6887  unsigned int __cil_tmp249 ;
 6888  unsigned long __cil_tmp250 ;
 6889  unsigned long __cil_tmp251 ;
 6890  unsigned long __cil_tmp252 ;
 6891  unsigned long __cil_tmp253 ;
 6892  unsigned long __cil_tmp254 ;
 6893  void *__cil_tmp255 ;
 6894  struct alauda_info *__cil_tmp256 ;
 6895  unsigned long __cil_tmp257 ;
 6896  unsigned long __cil_tmp258 ;
 6897  unsigned int __cil_tmp259 ;
 6898  unsigned long __cil_tmp260 ;
 6899  unsigned long __cil_tmp261 ;
 6900  struct scsi_cmnd *__cil_tmp262 ;
 6901  struct scsi_device *__cil_tmp263 ;
 6902  unsigned long __cil_tmp264 ;
 6903  unsigned long __cil_tmp265 ;
 6904  unsigned int __cil_tmp266 ;
 6905  unsigned long __cil_tmp267 ;
 6906  unsigned long __cil_tmp268 ;
 6907  unsigned long __cil_tmp269 ;
 6908  unsigned long __cil_tmp270 ;
 6909  unsigned long __cil_tmp271 ;
 6910  void *__cil_tmp272 ;
 6911  struct alauda_info *__cil_tmp273 ;
 6912  unsigned long __cil_tmp274 ;
 6913  unsigned long __cil_tmp275 ;
 6914  unsigned char __cil_tmp276 ;
 6915  int __cil_tmp277 ;
 6916  unsigned long __cil_tmp278 ;
 6917  unsigned long __cil_tmp279 ;
 6918  struct scsi_cmnd *__cil_tmp280 ;
 6919  struct scsi_device *__cil_tmp281 ;
 6920  unsigned long __cil_tmp282 ;
 6921  unsigned long __cil_tmp283 ;
 6922  unsigned int __cil_tmp284 ;
 6923  unsigned long __cil_tmp285 ;
 6924  unsigned long __cil_tmp286 ;
 6925  unsigned long __cil_tmp287 ;
 6926  unsigned long __cil_tmp288 ;
 6927  unsigned long __cil_tmp289 ;
 6928  void *__cil_tmp290 ;
 6929  struct alauda_info *__cil_tmp291 ;
 6930  unsigned long __cil_tmp292 ;
 6931  unsigned long __cil_tmp293 ;
 6932  unsigned char __cil_tmp294 ;
 6933  int __cil_tmp295 ;
 6934  unsigned long __cil_tmp296 ;
 6935  unsigned long __cil_tmp297 ;
 6936  struct scsi_cmnd *__cil_tmp298 ;
 6937  struct scsi_device *__cil_tmp299 ;
 6938  unsigned long __cil_tmp300 ;
 6939  unsigned long __cil_tmp301 ;
 6940  unsigned int __cil_tmp302 ;
 6941  unsigned long __cil_tmp303 ;
 6942  unsigned long __cil_tmp304 ;
 6943  unsigned long __cil_tmp305 ;
 6944  unsigned long __cil_tmp306 ;
 6945  unsigned long __cil_tmp307 ;
 6946  void *__cil_tmp308 ;
 6947  struct alauda_info *__cil_tmp309 ;
 6948  unsigned long __cil_tmp310 ;
 6949  unsigned long __cil_tmp311 ;
 6950  unsigned char __cil_tmp312 ;
 6951  int __cil_tmp313 ;
 6952  int __cil_tmp314 ;
 6953  int __cil_tmp315 ;
 6954  unsigned long __cil_tmp316 ;
 6955  unsigned long __cil_tmp317 ;
 6956  struct scsi_cmnd *__cil_tmp318 ;
 6957  struct scsi_device *__cil_tmp319 ;
 6958  unsigned long __cil_tmp320 ;
 6959  unsigned long __cil_tmp321 ;
 6960  unsigned int __cil_tmp322 ;
 6961  unsigned long __cil_tmp323 ;
 6962  unsigned long __cil_tmp324 ;
 6963  unsigned long __cil_tmp325 ;
 6964  unsigned long __cil_tmp326 ;
 6965  void *__cil_tmp327 ;
 6966  struct alauda_info *__cil_tmp328 ;
 6967  unsigned long __cil_tmp329 ;
 6968  unsigned long __cil_tmp330 ;
 6969  unsigned long __cil_tmp331 ;
 6970  unsigned long __cil_tmp332 ;
 6971  size_t __cil_tmp333 ;
 6972  unsigned long __cil_tmp334 ;
 6973  unsigned long __cil_tmp335 ;
 6974  struct scsi_cmnd *__cil_tmp336 ;
 6975  struct scsi_device *__cil_tmp337 ;
 6976  unsigned long __cil_tmp338 ;
 6977  unsigned long __cil_tmp339 ;
 6978  unsigned int __cil_tmp340 ;
 6979  unsigned long __cil_tmp341 ;
 6980  unsigned long __cil_tmp342 ;
 6981  unsigned long __cil_tmp343 ;
 6982  unsigned long __cil_tmp344 ;
 6983  unsigned long __cil_tmp345 ;
 6984  void *__cil_tmp346 ;
 6985  struct alauda_info *__cil_tmp347 ;
 6986  unsigned long __cil_tmp348 ;
 6987  unsigned long __cil_tmp349 ;
 6988  size_t __cil_tmp350 ;
 6989  unsigned long __cil_tmp351 ;
 6990  unsigned long __cil_tmp352 ;
 6991  struct scsi_cmnd *__cil_tmp353 ;
 6992  struct scsi_device *__cil_tmp354 ;
 6993  unsigned long __cil_tmp355 ;
 6994  unsigned long __cil_tmp356 ;
 6995  unsigned int __cil_tmp357 ;
 6996  unsigned long __cil_tmp358 ;
 6997  unsigned long __cil_tmp359 ;
 6998  unsigned long __cil_tmp360 ;
 6999  unsigned long __cil_tmp361 ;
 7000  unsigned long __cil_tmp362 ;
 7001  void *__cil_tmp363 ;
 7002  struct alauda_info *__cil_tmp364 ;
 7003  unsigned long __cil_tmp365 ;
 7004  unsigned long __cil_tmp366 ;
 7005
 7006  {
 7007#line 391
 7008  __cil_tmp13 = (unsigned long )us;
 7009#line 391
 7010  __cil_tmp14 = __cil_tmp13 + 376;
 7011#line 391
 7012  data = *((unsigned char **)__cil_tmp14);
 7013#line 392
 7014  ready = 0;
 7015  {
 7016#line 396
 7017  while (1) {
 7018    while_continue: /* CIL Label */ ;
 7019#line 396
 7020    if (ready == 0) {
 7021
 7022    } else {
 7023#line 396
 7024      goto while_break;
 7025    }
 7026    {
 7027#line 397
 7028    msleep(20U);
 7029#line 399
 7030    tmp___7 = alauda_get_media_status(us, data);
 7031    }
 7032#line 399
 7033    if (tmp___7 != 0) {
 7034#line 400
 7035      return (3);
 7036    } else {
 7037
 7038    }
 7039    {
 7040#line 402
 7041    __cil_tmp15 = data + 0;
 7042#line 402
 7043    __cil_tmp16 = *__cil_tmp15;
 7044#line 402
 7045    __cil_tmp17 = (int )__cil_tmp16;
 7046#line 402
 7047    if (__cil_tmp17 & 16) {
 7048#line 403
 7049      ready = 1;
 7050    } else {
 7051
 7052    }
 7053    }
 7054  }
 7055  while_break: /* CIL Label */ ;
 7056  }
 7057  {
 7058#line 406
 7059  printk("<7>usb-storage: alauda_init_media: We are ready for action!\n");
 7060#line 408
 7061  tmp___8 = alauda_ack_media(us);
 7062  }
 7063#line 408
 7064  if (tmp___8 != 0) {
 7065#line 409
 7066    return (3);
 7067  } else {
 7068
 7069  }
 7070  {
 7071#line 411
 7072  msleep(10U);
 7073#line 413
 7074  tmp___9 = alauda_get_media_status(us, data);
 7075  }
 7076#line 413
 7077  if (tmp___9 != 0) {
 7078#line 414
 7079    return (3);
 7080  } else {
 7081
 7082  }
 7083  {
 7084#line 416
 7085  __cil_tmp18 = data + 0;
 7086#line 416
 7087  __cil_tmp19 = *__cil_tmp18;
 7088#line 416
 7089  __cil_tmp20 = (int )__cil_tmp19;
 7090#line 416
 7091  if (__cil_tmp20 != 20) {
 7092    {
 7093#line 417
 7094    printk("<7>usb-storage: alauda_init_media: Media not ready after ack\n");
 7095    }
 7096#line 418
 7097    return (3);
 7098  } else {
 7099
 7100  }
 7101  }
 7102  {
 7103#line 421
 7104  tmp___10 = alauda_get_media_signature(us, data);
 7105  }
 7106#line 421
 7107  if (tmp___10 != 0) {
 7108#line 422
 7109    return (3);
 7110  } else {
 7111
 7112  }
 7113  {
 7114#line 424
 7115  __cil_tmp21 = data + 0;
 7116#line 424
 7117  __cil_tmp22 = *__cil_tmp21;
 7118#line 424
 7119  __cil_tmp23 = (int )__cil_tmp22;
 7120#line 424
 7121  __cil_tmp24 = data + 1;
 7122#line 424
 7123  __cil_tmp25 = *__cil_tmp24;
 7124#line 424
 7125  __cil_tmp26 = (int )__cil_tmp25;
 7126#line 424
 7127  __cil_tmp27 = data + 2;
 7128#line 424
 7129  __cil_tmp28 = *__cil_tmp27;
 7130#line 424
 7131  __cil_tmp29 = (int )__cil_tmp28;
 7132#line 424
 7133  __cil_tmp30 = data + 3;
 7134#line 424
 7135  __cil_tmp31 = *__cil_tmp30;
 7136#line 424
 7137  __cil_tmp32 = (int )__cil_tmp31;
 7138#line 424
 7139  printk("<7>usb-storage: alauda_init_media: Media signature: %02X %02X %02X %02X\n",
 7140         __cil_tmp23, __cil_tmp26, __cil_tmp29, __cil_tmp32);
 7141#line 426
 7142  __cil_tmp33 = data + 1;
 7143#line 426
 7144  __cil_tmp34 = *__cil_tmp33;
 7145#line 426
 7146  media_info = alauda_card_find_id(__cil_tmp34);
 7147  }
 7148  {
 7149#line 427
 7150  __cil_tmp35 = (void *)0;
 7151#line 427
 7152  __cil_tmp36 = (unsigned long )__cil_tmp35;
 7153#line 427
 7154  __cil_tmp37 = (unsigned long )media_info;
 7155#line 427
 7156  if (__cil_tmp37 == __cil_tmp36) {
 7157    {
 7158#line 428
 7159    __cil_tmp38 = data + 0;
 7160#line 428
 7161    __cil_tmp39 = *__cil_tmp38;
 7162#line 428
 7163    __cil_tmp40 = (int )__cil_tmp39;
 7164#line 428
 7165    __cil_tmp41 = data + 1;
 7166#line 428
 7167    __cil_tmp42 = *__cil_tmp41;
 7168#line 428
 7169    __cil_tmp43 = (int )__cil_tmp42;
 7170#line 428
 7171    __cil_tmp44 = data + 2;
 7172#line 428
 7173    __cil_tmp45 = *__cil_tmp44;
 7174#line 428
 7175    __cil_tmp46 = (int )__cil_tmp45;
 7176#line 428
 7177    __cil_tmp47 = data + 3;
 7178#line 428
 7179    __cil_tmp48 = *__cil_tmp47;
 7180#line 428
 7181    __cil_tmp49 = (int )__cil_tmp48;
 7182#line 428
 7183    printk("<4>alauda_init_media: Unrecognised media signature: %02X %02X %02X %02X\n",
 7184           __cil_tmp40, __cil_tmp43, __cil_tmp46, __cil_tmp49);
 7185    }
 7186#line 432
 7187    return (3);
 7188  } else {
 7189
 7190  }
 7191  }
 7192  {
 7193#line 435
 7194  __cil_tmp50 = (unsigned long )us;
 7195#line 435
 7196  __cil_tmp51 = __cil_tmp50 + 192;
 7197#line 435
 7198  __cil_tmp52 = *((struct scsi_cmnd **)__cil_tmp51);
 7199#line 435
 7200  __cil_tmp53 = *((struct scsi_device **)__cil_tmp52);
 7201#line 435
 7202  __cil_tmp54 = (unsigned long )__cil_tmp53;
 7203#line 435
 7204  __cil_tmp55 = __cil_tmp54 + 156;
 7205#line 435
 7206  __cil_tmp56 = *((unsigned int *)__cil_tmp55);
 7207#line 435
 7208  __cil_tmp57 = __cil_tmp56 * 48UL;
 7209#line 435
 7210  __cil_tmp58 = 0 + __cil_tmp57;
 7211#line 435
 7212  __cil_tmp59 = (unsigned long )us;
 7213#line 435
 7214  __cil_tmp60 = __cil_tmp59 + 648;
 7215#line 435
 7216  __cil_tmp61 = *((void **)__cil_tmp60);
 7217#line 435
 7218  __cil_tmp62 = (struct alauda_info *)__cil_tmp61;
 7219#line 435
 7220  __cil_tmp63 = (unsigned long )__cil_tmp62;
 7221#line 435
 7222  __cil_tmp64 = __cil_tmp63 + __cil_tmp58;
 7223#line 435
 7224  __cil_tmp65 = (unsigned long )media_info;
 7225#line 435
 7226  __cil_tmp66 = __cil_tmp65 + 1;
 7227#line 435
 7228  __cil_tmp67 = *((unsigned char *)__cil_tmp66);
 7229#line 435
 7230  __cil_tmp68 = (int )__cil_tmp67;
 7231#line 435
 7232  __cil_tmp69 = 1 << __cil_tmp68;
 7233#line 435
 7234  *((unsigned long *)__cil_tmp64) = (unsigned long )__cil_tmp69;
 7235#line 436
 7236  __cil_tmp70 = (unsigned long )us;
 7237#line 436
 7238  __cil_tmp71 = __cil_tmp70 + 192;
 7239#line 436
 7240  __cil_tmp72 = *((struct scsi_cmnd **)__cil_tmp71);
 7241#line 436
 7242  __cil_tmp73 = *((struct scsi_device **)__cil_tmp72);
 7243#line 436
 7244  __cil_tmp74 = (unsigned long )__cil_tmp73;
 7245#line 436
 7246  __cil_tmp75 = __cil_tmp74 + 156;
 7247#line 436
 7248  __cil_tmp76 = *((unsigned int *)__cil_tmp75);
 7249#line 436
 7250  __cil_tmp77 = __cil_tmp76 * 48UL;
 7251#line 436
 7252  __cil_tmp78 = 0 + __cil_tmp77;
 7253#line 436
 7254  __cil_tmp79 = (unsigned long )us;
 7255#line 436
 7256  __cil_tmp80 = __cil_tmp79 + 648;
 7257#line 436
 7258  __cil_tmp81 = *((void **)__cil_tmp80);
 7259#line 436
 7260  __cil_tmp82 = (struct alauda_info *)__cil_tmp81;
 7261#line 436
 7262  __cil_tmp83 = (unsigned long )__cil_tmp82;
 7263#line 436
 7264  __cil_tmp84 = __cil_tmp83 + __cil_tmp78;
 7265#line 436
 7266  __cil_tmp85 = *((unsigned long *)__cil_tmp84);
 7267#line 436
 7268  __cil_tmp86 = __cil_tmp85 >> 20;
 7269#line 436
 7270  printk("<7>usb-storage: Found media with capacity: %ldMB\n", __cil_tmp86);
 7271#line 439
 7272  __cil_tmp87 = (unsigned long )us;
 7273#line 439
 7274  __cil_tmp88 = __cil_tmp87 + 192;
 7275#line 439
 7276  __cil_tmp89 = *((struct scsi_cmnd **)__cil_tmp88);
 7277#line 439
 7278  __cil_tmp90 = *((struct scsi_device **)__cil_tmp89);
 7279#line 439
 7280  __cil_tmp91 = (unsigned long )__cil_tmp90;
 7281#line 439
 7282  __cil_tmp92 = __cil_tmp91 + 156;
 7283#line 439
 7284  __cil_tmp93 = *((unsigned int *)__cil_tmp92);
 7285#line 439
 7286  __cil_tmp94 = __cil_tmp93 * 48UL;
 7287#line 439
 7288  __cil_tmp95 = __cil_tmp94 + 28;
 7289#line 439
 7290  __cil_tmp96 = 0 + __cil_tmp95;
 7291#line 439
 7292  __cil_tmp97 = (unsigned long )us;
 7293#line 439
 7294  __cil_tmp98 = __cil_tmp97 + 648;
 7295#line 439
 7296  __cil_tmp99 = *((void **)__cil_tmp98);
 7297#line 439
 7298  __cil_tmp100 = (struct alauda_info *)__cil_tmp99;
 7299#line 439
 7300  __cil_tmp101 = (unsigned long )__cil_tmp100;
 7301#line 439
 7302  __cil_tmp102 = __cil_tmp101 + __cil_tmp96;
 7303#line 439
 7304  __cil_tmp103 = (unsigned long )media_info;
 7305#line 439
 7306  __cil_tmp104 = __cil_tmp103 + 2;
 7307#line 439
 7308  *((unsigned char *)__cil_tmp102) = *((unsigned char *)__cil_tmp104);
 7309#line 440
 7310  __cil_tmp105 = (unsigned long )us;
 7311#line 440
 7312  __cil_tmp106 = __cil_tmp105 + 192;
 7313#line 440
 7314  __cil_tmp107 = *((struct scsi_cmnd **)__cil_tmp106);
 7315#line 440
 7316  __cil_tmp108 = *((struct scsi_device **)__cil_tmp107);
 7317#line 440
 7318  __cil_tmp109 = (unsigned long )__cil_tmp108;
 7319#line 440
 7320  __cil_tmp110 = __cil_tmp109 + 156;
 7321#line 440
 7322  __cil_tmp111 = *((unsigned int *)__cil_tmp110);
 7323#line 440
 7324  __cil_tmp112 = __cil_tmp111 * 48UL;
 7325#line 440
 7326  __cil_tmp113 = __cil_tmp112 + 29;
 7327#line 440
 7328  __cil_tmp114 = 0 + __cil_tmp113;
 7329#line 440
 7330  __cil_tmp115 = (unsigned long )us;
 7331#line 440
 7332  __cil_tmp116 = __cil_tmp115 + 648;
 7333#line 440
 7334  __cil_tmp117 = *((void **)__cil_tmp116);
 7335#line 440
 7336  __cil_tmp118 = (struct alauda_info *)__cil_tmp117;
 7337#line 440
 7338  __cil_tmp119 = (unsigned long )__cil_tmp118;
 7339#line 440
 7340  __cil_tmp120 = __cil_tmp119 + __cil_tmp114;
 7341#line 440
 7342  __cil_tmp121 = (unsigned long )media_info;
 7343#line 440
 7344  __cil_tmp122 = __cil_tmp121 + 3;
 7345#line 440
 7346  *((unsigned char *)__cil_tmp120) = *((unsigned char *)__cil_tmp122);
 7347#line 441
 7348  __cil_tmp123 = (unsigned long )us;
 7349#line 441
 7350  __cil_tmp124 = __cil_tmp123 + 192;
 7351#line 441
 7352  __cil_tmp125 = *((struct scsi_cmnd **)__cil_tmp124);
 7353#line 441
 7354  __cil_tmp126 = *((struct scsi_device **)__cil_tmp125);
 7355#line 441
 7356  __cil_tmp127 = (unsigned long )__cil_tmp126;
 7357#line 441
 7358  __cil_tmp128 = __cil_tmp127 + 156;
 7359#line 441
 7360  __cil_tmp129 = *((unsigned int *)__cil_tmp128);
 7361#line 441
 7362  __cil_tmp130 = __cil_tmp129 * 48UL;
 7363#line 441
 7364  __cil_tmp131 = __cil_tmp130 + 30;
 7365#line 441
 7366  __cil_tmp132 = 0 + __cil_tmp131;
 7367#line 441
 7368  __cil_tmp133 = (unsigned long )us;
 7369#line 441
 7370  __cil_tmp134 = __cil_tmp133 + 648;
 7371#line 441
 7372  __cil_tmp135 = *((void **)__cil_tmp134);
 7373#line 441
 7374  __cil_tmp136 = (struct alauda_info *)__cil_tmp135;
 7375#line 441
 7376  __cil_tmp137 = (unsigned long )__cil_tmp136;
 7377#line 441
 7378  __cil_tmp138 = __cil_tmp137 + __cil_tmp132;
 7379#line 441
 7380  __cil_tmp139 = (unsigned long )media_info;
 7381#line 441
 7382  __cil_tmp140 = __cil_tmp139 + 4;
 7383#line 441
 7384  *((unsigned char *)__cil_tmp138) = *((unsigned char *)__cil_tmp140);
 7385#line 443
 7386  __cil_tmp141 = (unsigned long )us;
 7387#line 443
 7388  __cil_tmp142 = __cil_tmp141 + 192;
 7389#line 443
 7390  __cil_tmp143 = *((struct scsi_cmnd **)__cil_tmp142);
 7391#line 443
 7392  __cil_tmp144 = *((struct scsi_device **)__cil_tmp143);
 7393#line 443
 7394  __cil_tmp145 = (unsigned long )__cil_tmp144;
 7395#line 443
 7396  __cil_tmp146 = __cil_tmp145 + 156;
 7397#line 443
 7398  __cil_tmp147 = *((unsigned int *)__cil_tmp146);
 7399#line 443
 7400  __cil_tmp148 = __cil_tmp147 * 48UL;
 7401#line 443
 7402  __cil_tmp149 = __cil_tmp148 + 8;
 7403#line 443
 7404  __cil_tmp150 = 0 + __cil_tmp149;
 7405#line 443
 7406  __cil_tmp151 = (unsigned long )us;
 7407#line 443
 7408  __cil_tmp152 = __cil_tmp151 + 648;
 7409#line 443
 7410  __cil_tmp153 = *((void **)__cil_tmp152);
 7411#line 443
 7412  __cil_tmp154 = (struct alauda_info *)__cil_tmp153;
 7413#line 443
 7414  __cil_tmp155 = (unsigned long )__cil_tmp154;
 7415#line 443
 7416  __cil_tmp156 = __cil_tmp155 + __cil_tmp150;
 7417#line 443
 7418  __cil_tmp157 = (unsigned long )media_info;
 7419#line 443
 7420  __cil_tmp158 = __cil_tmp157 + 2;
 7421#line 443
 7422  __cil_tmp159 = *((unsigned char *)__cil_tmp158);
 7423#line 443
 7424  __cil_tmp160 = (int )__cil_tmp159;
 7425#line 443
 7426  __cil_tmp161 = 1 << __cil_tmp160;
 7427#line 443
 7428  *((unsigned int *)__cil_tmp156) = (unsigned int )__cil_tmp161;
 7429#line 444
 7430  __cil_tmp162 = (unsigned long )us;
 7431#line 444
 7432  __cil_tmp163 = __cil_tmp162 + 192;
 7433#line 444
 7434  __cil_tmp164 = *((struct scsi_cmnd **)__cil_tmp163);
 7435#line 444
 7436  __cil_tmp165 = *((struct scsi_device **)__cil_tmp164);
 7437#line 444
 7438  __cil_tmp166 = (unsigned long )__cil_tmp165;
 7439#line 444
 7440  __cil_tmp167 = __cil_tmp166 + 156;
 7441#line 444
 7442  __cil_tmp168 = *((unsigned int *)__cil_tmp167);
 7443#line 444
 7444  __cil_tmp169 = __cil_tmp168 * 48UL;
 7445#line 444
 7446  __cil_tmp170 = __cil_tmp169 + 12;
 7447#line 444
 7448  __cil_tmp171 = 0 + __cil_tmp170;
 7449#line 444
 7450  __cil_tmp172 = (unsigned long )us;
 7451#line 444
 7452  __cil_tmp173 = __cil_tmp172 + 648;
 7453#line 444
 7454  __cil_tmp174 = *((void **)__cil_tmp173);
 7455#line 444
 7456  __cil_tmp175 = (struct alauda_info *)__cil_tmp174;
 7457#line 444
 7458  __cil_tmp176 = (unsigned long )__cil_tmp175;
 7459#line 444
 7460  __cil_tmp177 = __cil_tmp176 + __cil_tmp171;
 7461#line 444
 7462  __cil_tmp178 = (unsigned long )media_info;
 7463#line 444
 7464  __cil_tmp179 = __cil_tmp178 + 3;
 7465#line 444
 7466  __cil_tmp180 = *((unsigned char *)__cil_tmp179);
 7467#line 444
 7468  __cil_tmp181 = (int )__cil_tmp180;
 7469#line 444
 7470  __cil_tmp182 = 1 << __cil_tmp181;
 7471#line 444
 7472  *((unsigned int *)__cil_tmp177) = (unsigned int )__cil_tmp182;
 7473#line 445
 7474  __cil_tmp183 = (unsigned long )us;
 7475#line 445
 7476  __cil_tmp184 = __cil_tmp183 + 192;
 7477#line 445
 7478  __cil_tmp185 = *((struct scsi_cmnd **)__cil_tmp184);
 7479#line 445
 7480  __cil_tmp186 = *((struct scsi_device **)__cil_tmp185);
 7481#line 445
 7482  __cil_tmp187 = (unsigned long )__cil_tmp186;
 7483#line 445
 7484  __cil_tmp188 = __cil_tmp187 + 156;
 7485#line 445
 7486  __cil_tmp189 = *((unsigned int *)__cil_tmp188);
 7487#line 445
 7488  __cil_tmp190 = __cil_tmp189 * 48UL;
 7489#line 445
 7490  __cil_tmp191 = __cil_tmp190 + 20;
 7491#line 445
 7492  __cil_tmp192 = 0 + __cil_tmp191;
 7493#line 445
 7494  __cil_tmp193 = (unsigned long )us;
 7495#line 445
 7496  __cil_tmp194 = __cil_tmp193 + 648;
 7497#line 445
 7498  __cil_tmp195 = *((void **)__cil_tmp194);
 7499#line 445
 7500  __cil_tmp196 = (struct alauda_info *)__cil_tmp195;
 7501#line 445
 7502  __cil_tmp197 = (unsigned long )__cil_tmp196;
 7503#line 445
 7504  __cil_tmp198 = __cil_tmp197 + __cil_tmp192;
 7505#line 445
 7506  __cil_tmp199 = (unsigned long )media_info;
 7507#line 445
 7508  __cil_tmp200 = __cil_tmp199 + 4;
 7509#line 445
 7510  __cil_tmp201 = *((unsigned char *)__cil_tmp200);
 7511#line 445
 7512  __cil_tmp202 = (int )__cil_tmp201;
 7513#line 445
 7514  __cil_tmp203 = 1 << __cil_tmp202;
 7515#line 445
 7516  *((unsigned int *)__cil_tmp198) = (unsigned int )__cil_tmp203;
 7517#line 447
 7518  __cil_tmp204 = (unsigned long )us;
 7519#line 447
 7520  __cil_tmp205 = __cil_tmp204 + 192;
 7521#line 447
 7522  __cil_tmp206 = *((struct scsi_cmnd **)__cil_tmp205);
 7523#line 447
 7524  __cil_tmp207 = *((struct scsi_device **)__cil_tmp206);
 7525#line 447
 7526  __cil_tmp208 = (unsigned long )__cil_tmp207;
 7527#line 447
 7528  __cil_tmp209 = __cil_tmp208 + 156;
 7529#line 447
 7530  __cil_tmp210 = *((unsigned int *)__cil_tmp209);
 7531#line 447
 7532  __cil_tmp211 = __cil_tmp210 * 48UL;
 7533#line 447
 7534  __cil_tmp212 = __cil_tmp211 + 16;
 7535#line 447
 7536  __cil_tmp213 = 0 + __cil_tmp212;
 7537#line 447
 7538  __cil_tmp214 = (unsigned long )us;
 7539#line 447
 7540  __cil_tmp215 = __cil_tmp214 + 648;
 7541#line 447
 7542  __cil_tmp216 = *((void **)__cil_tmp215);
 7543#line 447
 7544  __cil_tmp217 = (struct alauda_info *)__cil_tmp216;
 7545#line 447
 7546  __cil_tmp218 = (unsigned long )__cil_tmp217;
 7547#line 447
 7548  __cil_tmp219 = __cil_tmp218 + __cil_tmp213;
 7549#line 447
 7550  __cil_tmp220 = (unsigned long )media_info;
 7551#line 447
 7552  __cil_tmp221 = __cil_tmp220 + 4;
 7553#line 447
 7554  __cil_tmp222 = *((unsigned char *)__cil_tmp221);
 7555#line 447
 7556  __cil_tmp223 = (int )__cil_tmp222;
 7557#line 447
 7558  __cil_tmp224 = 1 << __cil_tmp223;
 7559#line 447
 7560  __cil_tmp225 = __cil_tmp224 / 128;
 7561#line 447
 7562  __cil_tmp226 = __cil_tmp225 * 125;
 7563#line 447
 7564  *((unsigned int *)__cil_tmp219) = (unsigned int )__cil_tmp226;
 7565#line 448
 7566  __cil_tmp227 = (unsigned long )us;
 7567#line 448
 7568  __cil_tmp228 = __cil_tmp227 + 192;
 7569#line 448
 7570  __cil_tmp229 = *((struct scsi_cmnd **)__cil_tmp228);
 7571#line 448
 7572  __cil_tmp230 = *((struct scsi_device **)__cil_tmp229);
 7573#line 448
 7574  __cil_tmp231 = (unsigned long )__cil_tmp230;
 7575#line 448
 7576  __cil_tmp232 = __cil_tmp231 + 156;
 7577#line 448
 7578  __cil_tmp233 = *((unsigned int *)__cil_tmp232);
 7579#line 448
 7580  __cil_tmp234 = __cil_tmp233 * 48UL;
 7581#line 448
 7582  __cil_tmp235 = __cil_tmp234 + 24;
 7583#line 448
 7584  __cil_tmp236 = 0 + __cil_tmp235;
 7585#line 448
 7586  __cil_tmp237 = (unsigned long )us;
 7587#line 448
 7588  __cil_tmp238 = __cil_tmp237 + 648;
 7589#line 448
 7590  __cil_tmp239 = *((void **)__cil_tmp238);
 7591#line 448
 7592  __cil_tmp240 = (struct alauda_info *)__cil_tmp239;
 7593#line 448
 7594  __cil_tmp241 = (unsigned long )__cil_tmp240;
 7595#line 448
 7596  __cil_tmp242 = __cil_tmp241 + __cil_tmp236;
 7597#line 448
 7598  __cil_tmp243 = (unsigned long )us;
 7599#line 448
 7600  __cil_tmp244 = __cil_tmp243 + 192;
 7601#line 448
 7602  __cil_tmp245 = *((struct scsi_cmnd **)__cil_tmp244);
 7603#line 448
 7604  __cil_tmp246 = *((struct scsi_device **)__cil_tmp245);
 7605#line 448
 7606  __cil_tmp247 = (unsigned long )__cil_tmp246;
 7607#line 448
 7608  __cil_tmp248 = __cil_tmp247 + 156;
 7609#line 448
 7610  __cil_tmp249 = *((unsigned int *)__cil_tmp248);
 7611#line 448
 7612  __cil_tmp250 = __cil_tmp249 * 48UL;
 7613#line 448
 7614  __cil_tmp251 = __cil_tmp250 + 12;
 7615#line 448
 7616  __cil_tmp252 = 0 + __cil_tmp251;
 7617#line 448
 7618  __cil_tmp253 = (unsigned long )us;
 7619#line 448
 7620  __cil_tmp254 = __cil_tmp253 + 648;
 7621#line 448
 7622  __cil_tmp255 = *((void **)__cil_tmp254);
 7623#line 448
 7624  __cil_tmp256 = (struct alauda_info *)__cil_tmp255;
 7625#line 448
 7626  __cil_tmp257 = (unsigned long )__cil_tmp256;
 7627#line 448
 7628  __cil_tmp258 = __cil_tmp257 + __cil_tmp252;
 7629#line 448
 7630  __cil_tmp259 = *((unsigned int *)__cil_tmp258);
 7631#line 448
 7632  *((unsigned int *)__cil_tmp242) = __cil_tmp259 - 1U;
 7633#line 450
 7634  __cil_tmp260 = (unsigned long )us;
 7635#line 450
 7636  __cil_tmp261 = __cil_tmp260 + 192;
 7637#line 450
 7638  __cil_tmp262 = *((struct scsi_cmnd **)__cil_tmp261);
 7639#line 450
 7640  __cil_tmp263 = *((struct scsi_device **)__cil_tmp262);
 7641#line 450
 7642  __cil_tmp264 = (unsigned long )__cil_tmp263;
 7643#line 450
 7644  __cil_tmp265 = __cil_tmp264 + 156;
 7645#line 450
 7646  __cil_tmp266 = *((unsigned int *)__cil_tmp265);
 7647#line 450
 7648  __cil_tmp267 = __cil_tmp266 * 48UL;
 7649#line 450
 7650  __cil_tmp268 = __cil_tmp267 + 28;
 7651#line 450
 7652  __cil_tmp269 = 0 + __cil_tmp268;
 7653#line 450
 7654  __cil_tmp270 = (unsigned long )us;
 7655#line 450
 7656  __cil_tmp271 = __cil_tmp270 + 648;
 7657#line 450
 7658  __cil_tmp272 = *((void **)__cil_tmp271);
 7659#line 450
 7660  __cil_tmp273 = (struct alauda_info *)__cil_tmp272;
 7661#line 450
 7662  __cil_tmp274 = (unsigned long )__cil_tmp273;
 7663#line 450
 7664  __cil_tmp275 = __cil_tmp274 + __cil_tmp269;
 7665#line 450
 7666  __cil_tmp276 = *((unsigned char *)__cil_tmp275);
 7667#line 450
 7668  __cil_tmp277 = (int )__cil_tmp276;
 7669#line 450
 7670  __cil_tmp278 = (unsigned long )us;
 7671#line 450
 7672  __cil_tmp279 = __cil_tmp278 + 192;
 7673#line 450
 7674  __cil_tmp280 = *((struct scsi_cmnd **)__cil_tmp279);
 7675#line 450
 7676  __cil_tmp281 = *((struct scsi_device **)__cil_tmp280);
 7677#line 450
 7678  __cil_tmp282 = (unsigned long )__cil_tmp281;
 7679#line 450
 7680  __cil_tmp283 = __cil_tmp282 + 156;
 7681#line 450
 7682  __cil_tmp284 = *((unsigned int *)__cil_tmp283);
 7683#line 450
 7684  __cil_tmp285 = __cil_tmp284 * 48UL;
 7685#line 450
 7686  __cil_tmp286 = __cil_tmp285 + 29;
 7687#line 450
 7688  __cil_tmp287 = 0 + __cil_tmp286;
 7689#line 450
 7690  __cil_tmp288 = (unsigned long )us;
 7691#line 450
 7692  __cil_tmp289 = __cil_tmp288 + 648;
 7693#line 450
 7694  __cil_tmp290 = *((void **)__cil_tmp289);
 7695#line 450
 7696  __cil_tmp291 = (struct alauda_info *)__cil_tmp290;
 7697#line 450
 7698  __cil_tmp292 = (unsigned long )__cil_tmp291;
 7699#line 450
 7700  __cil_tmp293 = __cil_tmp292 + __cil_tmp287;
 7701#line 450
 7702  __cil_tmp294 = *((unsigned char *)__cil_tmp293);
 7703#line 450
 7704  __cil_tmp295 = (int )__cil_tmp294;
 7705#line 450
 7706  __cil_tmp296 = (unsigned long )us;
 7707#line 450
 7708  __cil_tmp297 = __cil_tmp296 + 192;
 7709#line 450
 7710  __cil_tmp298 = *((struct scsi_cmnd **)__cil_tmp297);
 7711#line 450
 7712  __cil_tmp299 = *((struct scsi_device **)__cil_tmp298);
 7713#line 450
 7714  __cil_tmp300 = (unsigned long )__cil_tmp299;
 7715#line 450
 7716  __cil_tmp301 = __cil_tmp300 + 156;
 7717#line 450
 7718  __cil_tmp302 = *((unsigned int *)__cil_tmp301);
 7719#line 450
 7720  __cil_tmp303 = __cil_tmp302 * 48UL;
 7721#line 450
 7722  __cil_tmp304 = __cil_tmp303 + 30;
 7723#line 450
 7724  __cil_tmp305 = 0 + __cil_tmp304;
 7725#line 450
 7726  __cil_tmp306 = (unsigned long )us;
 7727#line 450
 7728  __cil_tmp307 = __cil_tmp306 + 648;
 7729#line 450
 7730  __cil_tmp308 = *((void **)__cil_tmp307);
 7731#line 450
 7732  __cil_tmp309 = (struct alauda_info *)__cil_tmp308;
 7733#line 450
 7734  __cil_tmp310 = (unsigned long )__cil_tmp309;
 7735#line 450
 7736  __cil_tmp311 = __cil_tmp310 + __cil_tmp305;
 7737#line 450
 7738  __cil_tmp312 = *((unsigned char *)__cil_tmp311);
 7739#line 450
 7740  __cil_tmp313 = (int )__cil_tmp312;
 7741#line 450
 7742  __cil_tmp314 = __cil_tmp313 + __cil_tmp295;
 7743#line 450
 7744  __cil_tmp315 = __cil_tmp314 + __cil_tmp277;
 7745#line 450
 7746  __cil_tmp316 = (unsigned long )us;
 7747#line 450
 7748  __cil_tmp317 = __cil_tmp316 + 192;
 7749#line 450
 7750  __cil_tmp318 = *((struct scsi_cmnd **)__cil_tmp317);
 7751#line 450
 7752  __cil_tmp319 = *((struct scsi_device **)__cil_tmp318);
 7753#line 450
 7754  __cil_tmp320 = (unsigned long )__cil_tmp319;
 7755#line 450
 7756  __cil_tmp321 = __cil_tmp320 + 156;
 7757#line 450
 7758  __cil_tmp322 = *((unsigned int *)__cil_tmp321);
 7759#line 450
 7760  __cil_tmp323 = __cil_tmp322 * 48UL;
 7761#line 450
 7762  __cil_tmp324 = 0 + __cil_tmp323;
 7763#line 450
 7764  __cil_tmp325 = (unsigned long )us;
 7765#line 450
 7766  __cil_tmp326 = __cil_tmp325 + 648;
 7767#line 450
 7768  __cil_tmp327 = *((void **)__cil_tmp326);
 7769#line 450
 7770  __cil_tmp328 = (struct alauda_info *)__cil_tmp327;
 7771#line 450
 7772  __cil_tmp329 = (unsigned long )__cil_tmp328;
 7773#line 450
 7774  __cil_tmp330 = __cil_tmp329 + __cil_tmp324;
 7775#line 450
 7776  __cil_tmp331 = *((unsigned long *)__cil_tmp330);
 7777#line 450
 7778  __cil_tmp332 = __cil_tmp331 >> __cil_tmp315;
 7779#line 450
 7780  num_zones = (unsigned int )__cil_tmp332;
 7781#line 452
 7782  __cil_tmp333 = (size_t )num_zones;
 7783#line 452
 7784  tmp___11 = kcalloc(__cil_tmp333, 8UL, 16U);
 7785#line 452
 7786  __cil_tmp334 = (unsigned long )us;
 7787#line 452
 7788  __cil_tmp335 = __cil_tmp334 + 192;
 7789#line 452
 7790  __cil_tmp336 = *((struct scsi_cmnd **)__cil_tmp335);
 7791#line 452
 7792  __cil_tmp337 = *((struct scsi_device **)__cil_tmp336);
 7793#line 452
 7794  __cil_tmp338 = (unsigned long )__cil_tmp337;
 7795#line 452
 7796  __cil_tmp339 = __cil_tmp338 + 156;
 7797#line 452
 7798  __cil_tmp340 = *((unsigned int *)__cil_tmp339);
 7799#line 452
 7800  __cil_tmp341 = __cil_tmp340 * 48UL;
 7801#line 452
 7802  __cil_tmp342 = __cil_tmp341 + 40;
 7803#line 452
 7804  __cil_tmp343 = 0 + __cil_tmp342;
 7805#line 452
 7806  __cil_tmp344 = (unsigned long )us;
 7807#line 452
 7808  __cil_tmp345 = __cil_tmp344 + 648;
 7809#line 452
 7810  __cil_tmp346 = *((void **)__cil_tmp345);
 7811#line 452
 7812  __cil_tmp347 = (struct alauda_info *)__cil_tmp346;
 7813#line 452
 7814  __cil_tmp348 = (unsigned long )__cil_tmp347;
 7815#line 452
 7816  __cil_tmp349 = __cil_tmp348 + __cil_tmp343;
 7817#line 452
 7818  *((u16 ***)__cil_tmp349) = (u16 **)tmp___11;
 7819#line 453
 7820  __cil_tmp350 = (size_t )num_zones;
 7821#line 453
 7822  tmp___12 = kcalloc(__cil_tmp350, 8UL, 16U);
 7823#line 453
 7824  __cil_tmp351 = (unsigned long )us;
 7825#line 453
 7826  __cil_tmp352 = __cil_tmp351 + 192;
 7827#line 453
 7828  __cil_tmp353 = *((struct scsi_cmnd **)__cil_tmp352);
 7829#line 453
 7830  __cil_tmp354 = *((struct scsi_device **)__cil_tmp353);
 7831#line 453
 7832  __cil_tmp355 = (unsigned long )__cil_tmp354;
 7833#line 453
 7834  __cil_tmp356 = __cil_tmp355 + 156;
 7835#line 453
 7836  __cil_tmp357 = *((unsigned int *)__cil_tmp356);
 7837#line 453
 7838  __cil_tmp358 = __cil_tmp357 * 48UL;
 7839#line 453
 7840  __cil_tmp359 = __cil_tmp358 + 32;
 7841#line 453
 7842  __cil_tmp360 = 0 + __cil_tmp359;
 7843#line 453
 7844  __cil_tmp361 = (unsigned long )us;
 7845#line 453
 7846  __cil_tmp362 = __cil_tmp361 + 648;
 7847#line 453
 7848  __cil_tmp363 = *((void **)__cil_tmp362);
 7849#line 453
 7850  __cil_tmp364 = (struct alauda_info *)__cil_tmp363;
 7851#line 453
 7852  __cil_tmp365 = (unsigned long )__cil_tmp364;
 7853#line 453
 7854  __cil_tmp366 = __cil_tmp365 + __cil_tmp360;
 7855#line 453
 7856  *((u16 ***)__cil_tmp366) = (u16 **)tmp___12;
 7857#line 455
 7858  tmp___13 = alauda_reset_media(us);
 7859  }
 7860#line 455
 7861  if (tmp___13 != 0) {
 7862#line 456
 7863    return (3);
 7864  } else {
 7865
 7866  }
 7867#line 458
 7868  return (0);
 7869}
 7870}
 7871#line 465 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 7872static int alauda_check_media(struct us_data *us ) 
 7873{ struct alauda_info *info ;
 7874  unsigned char status[2] ;
 7875  int rc ;
 7876  unsigned long __cil_tmp5 ;
 7877  unsigned long __cil_tmp6 ;
 7878  void *__cil_tmp7 ;
 7879  unsigned long __cil_tmp8 ;
 7880  unsigned long __cil_tmp9 ;
 7881  unsigned char *__cil_tmp10 ;
 7882  unsigned long __cil_tmp11 ;
 7883  unsigned long __cil_tmp12 ;
 7884  unsigned char __cil_tmp13 ;
 7885  int __cil_tmp14 ;
 7886  unsigned long __cil_tmp15 ;
 7887  unsigned long __cil_tmp16 ;
 7888  unsigned char __cil_tmp17 ;
 7889  int __cil_tmp18 ;
 7890  int __cil_tmp19 ;
 7891  unsigned long __cil_tmp20 ;
 7892  unsigned long __cil_tmp21 ;
 7893  unsigned char __cil_tmp22 ;
 7894  int __cil_tmp23 ;
 7895  int __cil_tmp24 ;
 7896  unsigned long __cil_tmp25 ;
 7897  unsigned long __cil_tmp26 ;
 7898  struct scsi_cmnd *__cil_tmp27 ;
 7899  struct scsi_device *__cil_tmp28 ;
 7900  unsigned long __cil_tmp29 ;
 7901  unsigned long __cil_tmp30 ;
 7902  unsigned int __cil_tmp31 ;
 7903  unsigned long __cil_tmp32 ;
 7904  unsigned long __cil_tmp33 ;
 7905  unsigned long __cil_tmp34 ;
 7906  unsigned long __cil_tmp35 ;
 7907  void *__cil_tmp36 ;
 7908  struct alauda_info *__cil_tmp37 ;
 7909  unsigned long __cil_tmp38 ;
 7910  unsigned long __cil_tmp39 ;
 7911  struct alauda_media_info *__cil_tmp40 ;
 7912  unsigned long __cil_tmp41 ;
 7913  unsigned long __cil_tmp42 ;
 7914  unsigned long __cil_tmp43 ;
 7915  unsigned long __cil_tmp44 ;
 7916  unsigned long __cil_tmp45 ;
 7917  unsigned long __cil_tmp46 ;
 7918  unsigned long __cil_tmp47 ;
 7919  unsigned long __cil_tmp48 ;
 7920  unsigned char __cil_tmp49 ;
 7921  int __cil_tmp50 ;
 7922  unsigned long __cil_tmp51 ;
 7923  unsigned long __cil_tmp52 ;
 7924  struct scsi_cmnd *__cil_tmp53 ;
 7925  struct scsi_device *__cil_tmp54 ;
 7926  unsigned long __cil_tmp55 ;
 7927  unsigned long __cil_tmp56 ;
 7928  unsigned int __cil_tmp57 ;
 7929  unsigned long __cil_tmp58 ;
 7930  unsigned long __cil_tmp59 ;
 7931  unsigned long __cil_tmp60 ;
 7932  unsigned long __cil_tmp61 ;
 7933  void *__cil_tmp62 ;
 7934  struct alauda_info *__cil_tmp63 ;
 7935  unsigned long __cil_tmp64 ;
 7936  unsigned long __cil_tmp65 ;
 7937  struct alauda_media_info *__cil_tmp66 ;
 7938  unsigned long __cil_tmp67 ;
 7939  unsigned long __cil_tmp68 ;
 7940  unsigned long __cil_tmp69 ;
 7941  unsigned long __cil_tmp70 ;
 7942  unsigned long __cil_tmp71 ;
 7943  unsigned long __cil_tmp72 ;
 7944
 7945  {
 7946  {
 7947#line 467
 7948  __cil_tmp5 = (unsigned long )us;
 7949#line 467
 7950  __cil_tmp6 = __cil_tmp5 + 648;
 7951#line 467
 7952  __cil_tmp7 = *((void **)__cil_tmp6);
 7953#line 467
 7954  info = (struct alauda_info *)__cil_tmp7;
 7955#line 471
 7956  __cil_tmp8 = 0 * 1UL;
 7957#line 471
 7958  __cil_tmp9 = (unsigned long )(status) + __cil_tmp8;
 7959#line 471
 7960  __cil_tmp10 = (unsigned char *)__cil_tmp9;
 7961#line 471
 7962  rc = alauda_get_media_status(us, __cil_tmp10);
 7963  }
 7964  {
 7965#line 474
 7966  __cil_tmp11 = 0 * 1UL;
 7967#line 474
 7968  __cil_tmp12 = (unsigned long )(status) + __cil_tmp11;
 7969#line 474
 7970  __cil_tmp13 = *((unsigned char *)__cil_tmp12);
 7971#line 474
 7972  __cil_tmp14 = (int )__cil_tmp13;
 7973#line 474
 7974  if (__cil_tmp14 & 128) {
 7975#line 474
 7976    goto _L;
 7977  } else {
 7978    {
 7979#line 474
 7980    __cil_tmp15 = 0 * 1UL;
 7981#line 474
 7982    __cil_tmp16 = (unsigned long )(status) + __cil_tmp15;
 7983#line 474
 7984    __cil_tmp17 = *((unsigned char *)__cil_tmp16);
 7985#line 474
 7986    __cil_tmp18 = (int )__cil_tmp17;
 7987#line 474
 7988    __cil_tmp19 = __cil_tmp18 & 31;
 7989#line 474
 7990    if (__cil_tmp19 == 16) {
 7991#line 474
 7992      goto _L;
 7993    } else {
 7994      {
 7995#line 474
 7996      __cil_tmp20 = 1 * 1UL;
 7997#line 474
 7998      __cil_tmp21 = (unsigned long )(status) + __cil_tmp20;
 7999#line 474
 8000      __cil_tmp22 = *((unsigned char *)__cil_tmp21);
 8001#line 474
 8002      __cil_tmp23 = (int )__cil_tmp22;
 8003#line 474
 8004      __cil_tmp24 = __cil_tmp23 & 1;
 8005#line 474
 8006      if (__cil_tmp24 == 0) {
 8007        _L: /* CIL Label */ 
 8008        {
 8009#line 476
 8010        printk("<7>usb-storage: alauda_check_media: No media, or door open\n");
 8011#line 477
 8012        __cil_tmp25 = (unsigned long )us;
 8013#line 477
 8014        __cil_tmp26 = __cil_tmp25 + 192;
 8015#line 477
 8016        __cil_tmp27 = *((struct scsi_cmnd **)__cil_tmp26);
 8017#line 477
 8018        __cil_tmp28 = *((struct scsi_device **)__cil_tmp27);
 8019#line 477
 8020        __cil_tmp29 = (unsigned long )__cil_tmp28;
 8021#line 477
 8022        __cil_tmp30 = __cil_tmp29 + 156;
 8023#line 477
 8024        __cil_tmp31 = *((unsigned int *)__cil_tmp30);
 8025#line 477
 8026        __cil_tmp32 = __cil_tmp31 * 48UL;
 8027#line 477
 8028        __cil_tmp33 = 0 + __cil_tmp32;
 8029#line 477
 8030        __cil_tmp34 = (unsigned long )us;
 8031#line 477
 8032        __cil_tmp35 = __cil_tmp34 + 648;
 8033#line 477
 8034        __cil_tmp36 = *((void **)__cil_tmp35);
 8035#line 477
 8036        __cil_tmp37 = (struct alauda_info *)__cil_tmp36;
 8037#line 477
 8038        __cil_tmp38 = (unsigned long )__cil_tmp37;
 8039#line 477
 8040        __cil_tmp39 = __cil_tmp38 + __cil_tmp33;
 8041#line 477
 8042        __cil_tmp40 = (struct alauda_media_info *)__cil_tmp39;
 8043#line 477
 8044        alauda_free_maps(__cil_tmp40);
 8045#line 478
 8046        __cil_tmp41 = (unsigned long )info;
 8047#line 478
 8048        __cil_tmp42 = __cil_tmp41 + 100;
 8049#line 478
 8050        *((unsigned char *)__cil_tmp42) = (unsigned char)2;
 8051#line 479
 8052        __cil_tmp43 = (unsigned long )info;
 8053#line 479
 8054        __cil_tmp44 = __cil_tmp43 + 104;
 8055#line 479
 8056        *((unsigned long *)__cil_tmp44) = 58UL;
 8057#line 480
 8058        __cil_tmp45 = (unsigned long )info;
 8059#line 480
 8060        __cil_tmp46 = __cil_tmp45 + 112;
 8061#line 480
 8062        *((unsigned long *)__cil_tmp46) = 0UL;
 8063        }
 8064#line 481
 8065        return (1);
 8066      } else {
 8067
 8068      }
 8069      }
 8070    }
 8071    }
 8072  }
 8073  }
 8074  {
 8075#line 485
 8076  __cil_tmp47 = 0 * 1UL;
 8077#line 485
 8078  __cil_tmp48 = (unsigned long )(status) + __cil_tmp47;
 8079#line 485
 8080  __cil_tmp49 = *((unsigned char *)__cil_tmp48);
 8081#line 485
 8082  __cil_tmp50 = (int )__cil_tmp49;
 8083#line 485
 8084  if (__cil_tmp50 & 8) {
 8085    {
 8086#line 486
 8087    printk("<7>usb-storage: alauda_check_media: Media change detected\n");
 8088#line 487
 8089    __cil_tmp51 = (unsigned long )us;
 8090#line 487
 8091    __cil_tmp52 = __cil_tmp51 + 192;
 8092#line 487
 8093    __cil_tmp53 = *((struct scsi_cmnd **)__cil_tmp52);
 8094#line 487
 8095    __cil_tmp54 = *((struct scsi_device **)__cil_tmp53);
 8096#line 487
 8097    __cil_tmp55 = (unsigned long )__cil_tmp54;
 8098#line 487
 8099    __cil_tmp56 = __cil_tmp55 + 156;
 8100#line 487
 8101    __cil_tmp57 = *((unsigned int *)__cil_tmp56);
 8102#line 487
 8103    __cil_tmp58 = __cil_tmp57 * 48UL;
 8104#line 487
 8105    __cil_tmp59 = 0 + __cil_tmp58;
 8106#line 487
 8107    __cil_tmp60 = (unsigned long )us;
 8108#line 487
 8109    __cil_tmp61 = __cil_tmp60 + 648;
 8110#line 487
 8111    __cil_tmp62 = *((void **)__cil_tmp61);
 8112#line 487
 8113    __cil_tmp63 = (struct alauda_info *)__cil_tmp62;
 8114#line 487
 8115    __cil_tmp64 = (unsigned long )__cil_tmp63;
 8116#line 487
 8117    __cil_tmp65 = __cil_tmp64 + __cil_tmp59;
 8118#line 487
 8119    __cil_tmp66 = (struct alauda_media_info *)__cil_tmp65;
 8120#line 487
 8121    alauda_free_maps(__cil_tmp66);
 8122#line 488
 8123    alauda_init_media(us);
 8124#line 490
 8125    __cil_tmp67 = (unsigned long )info;
 8126#line 490
 8127    __cil_tmp68 = __cil_tmp67 + 100;
 8128#line 490
 8129    *((unsigned char *)__cil_tmp68) = (unsigned char)6;
 8130#line 491
 8131    __cil_tmp69 = (unsigned long )info;
 8132#line 491
 8133    __cil_tmp70 = __cil_tmp69 + 104;
 8134#line 491
 8135    *((unsigned long *)__cil_tmp70) = 40UL;
 8136#line 492
 8137    __cil_tmp71 = (unsigned long )info;
 8138#line 492
 8139    __cil_tmp72 = __cil_tmp71 + 112;
 8140#line 492
 8141    *((unsigned long *)__cil_tmp72) = 0UL;
 8142    }
 8143#line 493
 8144    return (1);
 8145  } else {
 8146
 8147  }
 8148  }
 8149#line 496
 8150  return (0);
 8151}
 8152}
 8153#line 503 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 8154static int alauda_check_status2(struct us_data *us ) 
 8155{ int rc ;
 8156  unsigned char command[9] ;
 8157  unsigned char data[3] ;
 8158  unsigned long __cil_tmp5 ;
 8159  unsigned long __cil_tmp6 ;
 8160  unsigned long __cil_tmp7 ;
 8161  unsigned long __cil_tmp8 ;
 8162  unsigned long __cil_tmp9 ;
 8163  unsigned long __cil_tmp10 ;
 8164  unsigned long __cil_tmp11 ;
 8165  unsigned long __cil_tmp12 ;
 8166  unsigned long __cil_tmp13 ;
 8167  unsigned long __cil_tmp14 ;
 8168  unsigned long __cil_tmp15 ;
 8169  unsigned long __cil_tmp16 ;
 8170  unsigned long __cil_tmp17 ;
 8171  unsigned long __cil_tmp18 ;
 8172  unsigned long __cil_tmp19 ;
 8173  unsigned long __cil_tmp20 ;
 8174  unsigned long __cil_tmp21 ;
 8175  unsigned long __cil_tmp22 ;
 8176  unsigned long __cil_tmp23 ;
 8177  unsigned long __cil_tmp24 ;
 8178  struct scsi_cmnd *__cil_tmp25 ;
 8179  struct scsi_device *__cil_tmp26 ;
 8180  unsigned long __cil_tmp27 ;
 8181  unsigned long __cil_tmp28 ;
 8182  unsigned int __cil_tmp29 ;
 8183  unsigned long __cil_tmp30 ;
 8184  unsigned long __cil_tmp31 ;
 8185  unsigned int __cil_tmp32 ;
 8186  unsigned long __cil_tmp33 ;
 8187  unsigned long __cil_tmp34 ;
 8188  unsigned char *__cil_tmp35 ;
 8189  void *__cil_tmp36 ;
 8190  void *__cil_tmp37 ;
 8191  unsigned int *__cil_tmp38 ;
 8192  unsigned long __cil_tmp39 ;
 8193  unsigned long __cil_tmp40 ;
 8194  unsigned int __cil_tmp41 ;
 8195  unsigned long __cil_tmp42 ;
 8196  unsigned long __cil_tmp43 ;
 8197  unsigned char *__cil_tmp44 ;
 8198  void *__cil_tmp45 ;
 8199  void *__cil_tmp46 ;
 8200  unsigned int *__cil_tmp47 ;
 8201  unsigned long __cil_tmp48 ;
 8202  unsigned long __cil_tmp49 ;
 8203  unsigned char __cil_tmp50 ;
 8204  int __cil_tmp51 ;
 8205  unsigned long __cil_tmp52 ;
 8206  unsigned long __cil_tmp53 ;
 8207  unsigned char __cil_tmp54 ;
 8208  int __cil_tmp55 ;
 8209  unsigned long __cil_tmp56 ;
 8210  unsigned long __cil_tmp57 ;
 8211  unsigned char __cil_tmp58 ;
 8212  int __cil_tmp59 ;
 8213  unsigned long __cil_tmp60 ;
 8214  unsigned long __cil_tmp61 ;
 8215  unsigned char __cil_tmp62 ;
 8216  int __cil_tmp63 ;
 8217
 8218  {
 8219  {
 8220#line 506
 8221  __cil_tmp5 = 0 * 1UL;
 8222#line 506
 8223  __cil_tmp6 = (unsigned long )(command) + __cil_tmp5;
 8224#line 506
 8225  *((unsigned char *)__cil_tmp6) = (unsigned char)64;
 8226#line 506
 8227  __cil_tmp7 = 1 * 1UL;
 8228#line 506
 8229  __cil_tmp8 = (unsigned long )(command) + __cil_tmp7;
 8230#line 506
 8231  *((unsigned char *)__cil_tmp8) = (unsigned char)183;
 8232#line 506
 8233  __cil_tmp9 = 2 * 1UL;
 8234#line 506
 8235  __cil_tmp10 = (unsigned long )(command) + __cil_tmp9;
 8236#line 506
 8237  *((unsigned char *)__cil_tmp10) = (unsigned char)0;
 8238#line 506
 8239  __cil_tmp11 = 3 * 1UL;
 8240#line 506
 8241  __cil_tmp12 = (unsigned long )(command) + __cil_tmp11;
 8242#line 506
 8243  *((unsigned char *)__cil_tmp12) = (unsigned char)0;
 8244#line 506
 8245  __cil_tmp13 = 4 * 1UL;
 8246#line 506
 8247  __cil_tmp14 = (unsigned long )(command) + __cil_tmp13;
 8248#line 506
 8249  *((unsigned char *)__cil_tmp14) = (unsigned char)0;
 8250#line 506
 8251  __cil_tmp15 = 5 * 1UL;
 8252#line 506
 8253  __cil_tmp16 = (unsigned long )(command) + __cil_tmp15;
 8254#line 506
 8255  *((unsigned char *)__cil_tmp16) = (unsigned char)0;
 8256#line 506
 8257  __cil_tmp17 = 6 * 1UL;
 8258#line 506
 8259  __cil_tmp18 = (unsigned long )(command) + __cil_tmp17;
 8260#line 506
 8261  *((unsigned char *)__cil_tmp18) = (unsigned char)3;
 8262#line 506
 8263  __cil_tmp19 = 7 * 1UL;
 8264#line 506
 8265  __cil_tmp20 = (unsigned long )(command) + __cil_tmp19;
 8266#line 506
 8267  *((unsigned char *)__cil_tmp20) = (unsigned char)0;
 8268#line 506
 8269  __cil_tmp21 = 8 * 1UL;
 8270#line 506
 8271  __cil_tmp22 = (unsigned long )(command) + __cil_tmp21;
 8272#line 506
 8273  __cil_tmp23 = (unsigned long )us;
 8274#line 506
 8275  __cil_tmp24 = __cil_tmp23 + 192;
 8276#line 506
 8277  __cil_tmp25 = *((struct scsi_cmnd **)__cil_tmp24);
 8278#line 506
 8279  __cil_tmp26 = *((struct scsi_device **)__cil_tmp25);
 8280#line 506
 8281  __cil_tmp27 = (unsigned long )__cil_tmp26;
 8282#line 506
 8283  __cil_tmp28 = __cil_tmp27 + 156;
 8284#line 506
 8285  __cil_tmp29 = *((unsigned int *)__cil_tmp28);
 8286#line 506
 8287  *((unsigned char *)__cil_tmp22) = (unsigned char )__cil_tmp29;
 8288#line 512
 8289  __cil_tmp30 = (unsigned long )us;
 8290#line 512
 8291  __cil_tmp31 = __cil_tmp30 + 112;
 8292#line 512
 8293  __cil_tmp32 = *((unsigned int *)__cil_tmp31);
 8294#line 512
 8295  __cil_tmp33 = 0 * 1UL;
 8296#line 512
 8297  __cil_tmp34 = (unsigned long )(command) + __cil_tmp33;
 8298#line 512
 8299  __cil_tmp35 = (unsigned char *)__cil_tmp34;
 8300#line 512
 8301  __cil_tmp36 = (void *)__cil_tmp35;
 8302#line 512
 8303  __cil_tmp37 = (void *)0;
 8304#line 512
 8305  __cil_tmp38 = (unsigned int *)__cil_tmp37;
 8306#line 512
 8307  rc = usb_stor_bulk_transfer_buf(us, __cil_tmp32, __cil_tmp36, 9U, __cil_tmp38);
 8308  }
 8309#line 514
 8310  if (rc != 0) {
 8311#line 515
 8312    return (rc);
 8313  } else {
 8314
 8315  }
 8316  {
 8317#line 517
 8318  __cil_tmp39 = (unsigned long )us;
 8319#line 517
 8320  __cil_tmp40 = __cil_tmp39 + 116;
 8321#line 517
 8322  __cil_tmp41 = *((unsigned int *)__cil_tmp40);
 8323#line 517
 8324  __cil_tmp42 = 0 * 1UL;
 8325#line 517
 8326  __cil_tmp43 = (unsigned long )(data) + __cil_tmp42;
 8327#line 517
 8328  __cil_tmp44 = (unsigned char *)__cil_tmp43;
 8329#line 517
 8330  __cil_tmp45 = (void *)__cil_tmp44;
 8331#line 517
 8332  __cil_tmp46 = (void *)0;
 8333#line 517
 8334  __cil_tmp47 = (unsigned int *)__cil_tmp46;
 8335#line 517
 8336  rc = usb_stor_bulk_transfer_buf(us, __cil_tmp41, __cil_tmp45, 3U, __cil_tmp47);
 8337  }
 8338#line 519
 8339  if (rc != 0) {
 8340#line 520
 8341    return (rc);
 8342  } else {
 8343
 8344  }
 8345  {
 8346#line 522
 8347  __cil_tmp48 = 0 * 1UL;
 8348#line 522
 8349  __cil_tmp49 = (unsigned long )(data) + __cil_tmp48;
 8350#line 522
 8351  __cil_tmp50 = *((unsigned char *)__cil_tmp49);
 8352#line 522
 8353  __cil_tmp51 = (int )__cil_tmp50;
 8354#line 522
 8355  __cil_tmp52 = 1 * 1UL;
 8356#line 522
 8357  __cil_tmp53 = (unsigned long )(data) + __cil_tmp52;
 8358#line 522
 8359  __cil_tmp54 = *((unsigned char *)__cil_tmp53);
 8360#line 522
 8361  __cil_tmp55 = (int )__cil_tmp54;
 8362#line 522
 8363  __cil_tmp56 = 2 * 1UL;
 8364#line 522
 8365  __cil_tmp57 = (unsigned long )(data) + __cil_tmp56;
 8366#line 522
 8367  __cil_tmp58 = *((unsigned char *)__cil_tmp57);
 8368#line 522
 8369  __cil_tmp59 = (int )__cil_tmp58;
 8370#line 522
 8371  printk("<7>usb-storage: alauda_check_status2: %02X %02X %02X\n", __cil_tmp51, __cil_tmp55,
 8372         __cil_tmp59);
 8373  }
 8374  {
 8375#line 523
 8376  __cil_tmp60 = 0 * 1UL;
 8377#line 523
 8378  __cil_tmp61 = (unsigned long )(data) + __cil_tmp60;
 8379#line 523
 8380  __cil_tmp62 = *((unsigned char *)__cil_tmp61);
 8381#line 523
 8382  __cil_tmp63 = (int )__cil_tmp62;
 8383#line 523
 8384  if (__cil_tmp63 & 1) {
 8385#line 524
 8386    return (4);
 8387  } else {
 8388
 8389  }
 8390  }
 8391#line 526
 8392  return (0);
 8393}
 8394}
 8395#line 533 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 8396static int alauda_get_redu_data(struct us_data *us , u16 pba , unsigned char *data ) 
 8397{ int rc ;
 8398  unsigned char command[9] ;
 8399  int tmp___7 ;
 8400  unsigned long __cil_tmp7 ;
 8401  unsigned long __cil_tmp8 ;
 8402  unsigned long __cil_tmp9 ;
 8403  unsigned long __cil_tmp10 ;
 8404  unsigned long __cil_tmp11 ;
 8405  unsigned long __cil_tmp12 ;
 8406  int __cil_tmp13 ;
 8407  int __cil_tmp14 ;
 8408  unsigned long __cil_tmp15 ;
 8409  unsigned long __cil_tmp16 ;
 8410  int __cil_tmp17 ;
 8411  int __cil_tmp18 ;
 8412  unsigned long __cil_tmp19 ;
 8413  unsigned long __cil_tmp20 ;
 8414  unsigned long __cil_tmp21 ;
 8415  unsigned long __cil_tmp22 ;
 8416  int __cil_tmp23 ;
 8417  int __cil_tmp24 ;
 8418  int __cil_tmp25 ;
 8419  unsigned long __cil_tmp26 ;
 8420  unsigned long __cil_tmp27 ;
 8421  unsigned long __cil_tmp28 ;
 8422  unsigned long __cil_tmp29 ;
 8423  unsigned long __cil_tmp30 ;
 8424  unsigned long __cil_tmp31 ;
 8425  unsigned long __cil_tmp32 ;
 8426  unsigned long __cil_tmp33 ;
 8427  struct scsi_cmnd *__cil_tmp34 ;
 8428  struct scsi_device *__cil_tmp35 ;
 8429  unsigned long __cil_tmp36 ;
 8430  unsigned long __cil_tmp37 ;
 8431  unsigned int __cil_tmp38 ;
 8432  unsigned long __cil_tmp39 ;
 8433  unsigned long __cil_tmp40 ;
 8434  unsigned int __cil_tmp41 ;
 8435  unsigned long __cil_tmp42 ;
 8436  unsigned long __cil_tmp43 ;
 8437  unsigned char *__cil_tmp44 ;
 8438  void *__cil_tmp45 ;
 8439  void *__cil_tmp46 ;
 8440  unsigned int *__cil_tmp47 ;
 8441  unsigned long __cil_tmp48 ;
 8442  unsigned long __cil_tmp49 ;
 8443  unsigned int __cil_tmp50 ;
 8444  void *__cil_tmp51 ;
 8445  void *__cil_tmp52 ;
 8446  unsigned int *__cil_tmp53 ;
 8447
 8448  {
 8449  {
 8450#line 536
 8451  __cil_tmp7 = 0 * 1UL;
 8452#line 536
 8453  __cil_tmp8 = (unsigned long )(command) + __cil_tmp7;
 8454#line 536
 8455  *((unsigned char *)__cil_tmp8) = (unsigned char)64;
 8456#line 536
 8457  __cil_tmp9 = 1 * 1UL;
 8458#line 536
 8459  __cil_tmp10 = (unsigned long )(command) + __cil_tmp9;
 8460#line 536
 8461  *((unsigned char *)__cil_tmp10) = (unsigned char)133;
 8462#line 536
 8463  __cil_tmp11 = 2 * 1UL;
 8464#line 536
 8465  __cil_tmp12 = (unsigned long )(command) + __cil_tmp11;
 8466#line 536
 8467  __cil_tmp13 = (int )pba;
 8468#line 536
 8469  __cil_tmp14 = __cil_tmp13 >> 3;
 8470#line 536
 8471  *((unsigned char *)__cil_tmp12) = (unsigned char )__cil_tmp14;
 8472#line 536
 8473  __cil_tmp15 = 3 * 1UL;
 8474#line 536
 8475  __cil_tmp16 = (unsigned long )(command) + __cil_tmp15;
 8476#line 536
 8477  __cil_tmp17 = (int )pba;
 8478#line 536
 8479  __cil_tmp18 = __cil_tmp17 >> 11;
 8480#line 536
 8481  *((unsigned char *)__cil_tmp16) = (unsigned char )__cil_tmp18;
 8482#line 536
 8483  __cil_tmp19 = 4 * 1UL;
 8484#line 536
 8485  __cil_tmp20 = (unsigned long )(command) + __cil_tmp19;
 8486#line 536
 8487  *((unsigned char *)__cil_tmp20) = (unsigned char)0;
 8488#line 536
 8489  __cil_tmp21 = 5 * 1UL;
 8490#line 536
 8491  __cil_tmp22 = (unsigned long )(command) + __cil_tmp21;
 8492#line 536
 8493  __cil_tmp23 = (int )pba;
 8494#line 536
 8495  __cil_tmp24 = __cil_tmp23 & 15;
 8496#line 536
 8497  __cil_tmp25 = __cil_tmp24 << 5;
 8498#line 536
 8499  *((unsigned char *)__cil_tmp22) = (unsigned char )__cil_tmp25;
 8500#line 536
 8501  __cil_tmp26 = 6 * 1UL;
 8502#line 536
 8503  __cil_tmp27 = (unsigned long )(command) + __cil_tmp26;
 8504#line 536
 8505  *((unsigned char *)__cil_tmp27) = (unsigned char)0;
 8506#line 536
 8507  __cil_tmp28 = 7 * 1UL;
 8508#line 536
 8509  __cil_tmp29 = (unsigned long )(command) + __cil_tmp28;
 8510#line 536
 8511  *((unsigned char *)__cil_tmp29) = (unsigned char)0;
 8512#line 536
 8513  __cil_tmp30 = 8 * 1UL;
 8514#line 536
 8515  __cil_tmp31 = (unsigned long )(command) + __cil_tmp30;
 8516#line 536
 8517  __cil_tmp32 = (unsigned long )us;
 8518#line 536
 8519  __cil_tmp33 = __cil_tmp32 + 192;
 8520#line 536
 8521  __cil_tmp34 = *((struct scsi_cmnd **)__cil_tmp33);
 8522#line 536
 8523  __cil_tmp35 = *((struct scsi_device **)__cil_tmp34);
 8524#line 536
 8525  __cil_tmp36 = (unsigned long )__cil_tmp35;
 8526#line 536
 8527  __cil_tmp37 = __cil_tmp36 + 156;
 8528#line 536
 8529  __cil_tmp38 = *((unsigned int *)__cil_tmp37);
 8530#line 536
 8531  *((unsigned char *)__cil_tmp31) = (unsigned char )__cil_tmp38;
 8532#line 541
 8533  __cil_tmp39 = (unsigned long )us;
 8534#line 541
 8535  __cil_tmp40 = __cil_tmp39 + 112;
 8536#line 541
 8537  __cil_tmp41 = *((unsigned int *)__cil_tmp40);
 8538#line 541
 8539  __cil_tmp42 = 0 * 1UL;
 8540#line 541
 8541  __cil_tmp43 = (unsigned long )(command) + __cil_tmp42;
 8542#line 541
 8543  __cil_tmp44 = (unsigned char *)__cil_tmp43;
 8544#line 541
 8545  __cil_tmp45 = (void *)__cil_tmp44;
 8546#line 541
 8547  __cil_tmp46 = (void *)0;
 8548#line 541
 8549  __cil_tmp47 = (unsigned int *)__cil_tmp46;
 8550#line 541
 8551  rc = usb_stor_bulk_transfer_buf(us, __cil_tmp41, __cil_tmp45, 9U, __cil_tmp47);
 8552  }
 8553#line 543
 8554  if (rc != 0) {
 8555#line 544
 8556    return (rc);
 8557  } else {
 8558
 8559  }
 8560  {
 8561#line 546
 8562  __cil_tmp48 = (unsigned long )us;
 8563#line 546
 8564  __cil_tmp49 = __cil_tmp48 + 116;
 8565#line 546
 8566  __cil_tmp50 = *((unsigned int *)__cil_tmp49);
 8567#line 546
 8568  __cil_tmp51 = (void *)data;
 8569#line 546
 8570  __cil_tmp52 = (void *)0;
 8571#line 546
 8572  __cil_tmp53 = (unsigned int *)__cil_tmp52;
 8573#line 546
 8574  tmp___7 = usb_stor_bulk_transfer_buf(us, __cil_tmp50, __cil_tmp51, 16U, __cil_tmp53);
 8575  }
 8576#line 546
 8577  return (tmp___7);
 8578}
 8579}
 8580#line 554 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 8581static u16 alauda_find_unused_pba(struct alauda_media_info *info , unsigned int zone ) 
 8582{ u16 *pba_to_lba ;
 8583  unsigned int i ;
 8584  unsigned long __cil_tmp5 ;
 8585  unsigned long __cil_tmp6 ;
 8586  u16 **__cil_tmp7 ;
 8587  u16 **__cil_tmp8 ;
 8588  unsigned long __cil_tmp9 ;
 8589  unsigned long __cil_tmp10 ;
 8590  unsigned int __cil_tmp11 ;
 8591  u16 *__cil_tmp12 ;
 8592  u16 __cil_tmp13 ;
 8593  int __cil_tmp14 ;
 8594  unsigned long __cil_tmp15 ;
 8595  unsigned long __cil_tmp16 ;
 8596  unsigned char __cil_tmp17 ;
 8597  int __cil_tmp18 ;
 8598  unsigned int __cil_tmp19 ;
 8599  unsigned int __cil_tmp20 ;
 8600
 8601  {
 8602#line 557
 8603  __cil_tmp5 = (unsigned long )info;
 8604#line 557
 8605  __cil_tmp6 = __cil_tmp5 + 40;
 8606#line 557
 8607  __cil_tmp7 = *((u16 ***)__cil_tmp6);
 8608#line 557
 8609  __cil_tmp8 = __cil_tmp7 + zone;
 8610#line 557
 8611  pba_to_lba = *__cil_tmp8;
 8612#line 560
 8613  i = 0U;
 8614  {
 8615#line 560
 8616  while (1) {
 8617    while_continue: /* CIL Label */ ;
 8618    {
 8619#line 560
 8620    __cil_tmp9 = (unsigned long )info;
 8621#line 560
 8622    __cil_tmp10 = __cil_tmp9 + 20;
 8623#line 560
 8624    __cil_tmp11 = *((unsigned int *)__cil_tmp10);
 8625#line 560
 8626    if (i < __cil_tmp11) {
 8627
 8628    } else {
 8629#line 560
 8630      goto while_break;
 8631    }
 8632    }
 8633    {
 8634#line 561
 8635    __cil_tmp12 = pba_to_lba + i;
 8636#line 561
 8637    __cil_tmp13 = *__cil_tmp12;
 8638#line 561
 8639    __cil_tmp14 = (int )__cil_tmp13;
 8640#line 561
 8641    if (__cil_tmp14 == 65535) {
 8642      {
 8643#line 562
 8644      __cil_tmp15 = (unsigned long )info;
 8645#line 562
 8646      __cil_tmp16 = __cil_tmp15 + 30;
 8647#line 562
 8648      __cil_tmp17 = *((unsigned char *)__cil_tmp16);
 8649#line 562
 8650      __cil_tmp18 = (int )__cil_tmp17;
 8651#line 562
 8652      __cil_tmp19 = zone << __cil_tmp18;
 8653#line 562
 8654      __cil_tmp20 = __cil_tmp19 + i;
 8655#line 562
 8656      return ((u16 )__cil_tmp20);
 8657      }
 8658    } else {
 8659
 8660    }
 8661    }
 8662#line 560
 8663    i = i + 1U;
 8664  }
 8665  while_break: /* CIL Label */ ;
 8666  }
 8667#line 564
 8668  return ((u16 )0);
 8669}
 8670}
 8671#line 571 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 8672static int alauda_read_map(struct us_data *us , unsigned int zone ) 
 8673{ unsigned char *data ;
 8674  int result ;
 8675  int i ;
 8676  int j ;
 8677  unsigned int zonesize ;
 8678  unsigned int uzonesize ;
 8679  unsigned int lba_offset ;
 8680  unsigned int lba_real ;
 8681  unsigned int blocknum ;
 8682  unsigned int zone_base_lba ;
 8683  unsigned int zone_base_pba ;
 8684  u16 *lba_to_pba ;
 8685  void *tmp___7 ;
 8686  u16 *pba_to_lba ;
 8687  void *tmp___8 ;
 8688  u16 tmp___9 ;
 8689  unsigned long __cil_tmp19 ;
 8690  unsigned long __cil_tmp20 ;
 8691  unsigned long __cil_tmp21 ;
 8692  unsigned long __cil_tmp22 ;
 8693  struct scsi_cmnd *__cil_tmp23 ;
 8694  struct scsi_device *__cil_tmp24 ;
 8695  unsigned long __cil_tmp25 ;
 8696  unsigned long __cil_tmp26 ;
 8697  unsigned int __cil_tmp27 ;
 8698  unsigned long __cil_tmp28 ;
 8699  unsigned long __cil_tmp29 ;
 8700  unsigned long __cil_tmp30 ;
 8701  unsigned long __cil_tmp31 ;
 8702  unsigned long __cil_tmp32 ;
 8703  void *__cil_tmp33 ;
 8704  struct alauda_info *__cil_tmp34 ;
 8705  unsigned long __cil_tmp35 ;
 8706  unsigned long __cil_tmp36 ;
 8707  unsigned long __cil_tmp37 ;
 8708  unsigned long __cil_tmp38 ;
 8709  struct scsi_cmnd *__cil_tmp39 ;
 8710  struct scsi_device *__cil_tmp40 ;
 8711  unsigned long __cil_tmp41 ;
 8712  unsigned long __cil_tmp42 ;
 8713  unsigned int __cil_tmp43 ;
 8714  unsigned long __cil_tmp44 ;
 8715  unsigned long __cil_tmp45 ;
 8716  unsigned long __cil_tmp46 ;
 8717  unsigned long __cil_tmp47 ;
 8718  unsigned long __cil_tmp48 ;
 8719  void *__cil_tmp49 ;
 8720  struct alauda_info *__cil_tmp50 ;
 8721  unsigned long __cil_tmp51 ;
 8722  unsigned long __cil_tmp52 ;
 8723  size_t __cil_tmp53 ;
 8724  size_t __cil_tmp54 ;
 8725  void *__cil_tmp55 ;
 8726  unsigned long __cil_tmp56 ;
 8727  unsigned long __cil_tmp57 ;
 8728  void *__cil_tmp58 ;
 8729  unsigned long __cil_tmp59 ;
 8730  unsigned long __cil_tmp60 ;
 8731  unsigned int __cil_tmp61 ;
 8732  u16 *__cil_tmp62 ;
 8733  u16 *__cil_tmp63 ;
 8734  unsigned int __cil_tmp64 ;
 8735  unsigned int __cil_tmp65 ;
 8736  u16 __cil_tmp66 ;
 8737  unsigned char *__cil_tmp67 ;
 8738  unsigned char __cil_tmp68 ;
 8739  int __cil_tmp69 ;
 8740  u16 *__cil_tmp70 ;
 8741  unsigned char *__cil_tmp71 ;
 8742  unsigned char __cil_tmp72 ;
 8743  int __cil_tmp73 ;
 8744  unsigned char *__cil_tmp74 ;
 8745  unsigned char __cil_tmp75 ;
 8746  int __cil_tmp76 ;
 8747  unsigned char *__cil_tmp77 ;
 8748  unsigned char __cil_tmp78 ;
 8749  int __cil_tmp79 ;
 8750  unsigned char *__cil_tmp80 ;
 8751  unsigned char __cil_tmp81 ;
 8752  int __cil_tmp82 ;
 8753  unsigned char *__cil_tmp83 ;
 8754  unsigned char __cil_tmp84 ;
 8755  int __cil_tmp85 ;
 8756  unsigned char *__cil_tmp86 ;
 8757  unsigned char __cil_tmp87 ;
 8758  int __cil_tmp88 ;
 8759  unsigned char *__cil_tmp89 ;
 8760  unsigned char __cil_tmp90 ;
 8761  int __cil_tmp91 ;
 8762  u16 *__cil_tmp92 ;
 8763  unsigned char *__cil_tmp93 ;
 8764  unsigned char __cil_tmp94 ;
 8765  int __cil_tmp95 ;
 8766  int __cil_tmp96 ;
 8767  unsigned char *__cil_tmp97 ;
 8768  unsigned char __cil_tmp98 ;
 8769  int __cil_tmp99 ;
 8770  unsigned char *__cil_tmp100 ;
 8771  unsigned char __cil_tmp101 ;
 8772  int __cil_tmp102 ;
 8773  unsigned char *__cil_tmp103 ;
 8774  unsigned char __cil_tmp104 ;
 8775  int __cil_tmp105 ;
 8776  unsigned char *__cil_tmp106 ;
 8777  unsigned char __cil_tmp107 ;
 8778  int __cil_tmp108 ;
 8779  u16 *__cil_tmp109 ;
 8780  unsigned char *__cil_tmp110 ;
 8781  unsigned char __cil_tmp111 ;
 8782  int __cil_tmp112 ;
 8783  unsigned char *__cil_tmp113 ;
 8784  unsigned char __cil_tmp114 ;
 8785  int __cil_tmp115 ;
 8786  int __cil_tmp116 ;
 8787  unsigned long __cil_tmp117 ;
 8788  unsigned long __cil_tmp118 ;
 8789  unsigned char *__cil_tmp119 ;
 8790  unsigned char __cil_tmp120 ;
 8791  int __cil_tmp121 ;
 8792  unsigned char *__cil_tmp122 ;
 8793  unsigned char __cil_tmp123 ;
 8794  int __cil_tmp124 ;
 8795  u16 *__cil_tmp125 ;
 8796  unsigned char *__cil_tmp126 ;
 8797  unsigned char __cil_tmp127 ;
 8798  u16 __cil_tmp128 ;
 8799  int __cil_tmp129 ;
 8800  int __cil_tmp130 ;
 8801  unsigned char *__cil_tmp131 ;
 8802  unsigned char __cil_tmp132 ;
 8803  u16 __cil_tmp133 ;
 8804  int __cil_tmp134 ;
 8805  int __cil_tmp135 ;
 8806  unsigned int __cil_tmp136 ;
 8807  u16 *__cil_tmp137 ;
 8808  u16 __cil_tmp138 ;
 8809  int __cil_tmp139 ;
 8810  u16 *__cil_tmp140 ;
 8811  u16 __cil_tmp141 ;
 8812  int __cil_tmp142 ;
 8813  u16 *__cil_tmp143 ;
 8814  u16 *__cil_tmp144 ;
 8815  unsigned long __cil_tmp145 ;
 8816  unsigned long __cil_tmp146 ;
 8817  struct scsi_cmnd *__cil_tmp147 ;
 8818  struct scsi_device *__cil_tmp148 ;
 8819  unsigned long __cil_tmp149 ;
 8820  unsigned long __cil_tmp150 ;
 8821  unsigned int __cil_tmp151 ;
 8822  unsigned long __cil_tmp152 ;
 8823  unsigned long __cil_tmp153 ;
 8824  unsigned long __cil_tmp154 ;
 8825  unsigned long __cil_tmp155 ;
 8826  unsigned long __cil_tmp156 ;
 8827  void *__cil_tmp157 ;
 8828  struct alauda_info *__cil_tmp158 ;
 8829  unsigned long __cil_tmp159 ;
 8830  unsigned long __cil_tmp160 ;
 8831  u16 **__cil_tmp161 ;
 8832  u16 **__cil_tmp162 ;
 8833  unsigned long __cil_tmp163 ;
 8834  unsigned long __cil_tmp164 ;
 8835  struct scsi_cmnd *__cil_tmp165 ;
 8836  struct scsi_device *__cil_tmp166 ;
 8837  unsigned long __cil_tmp167 ;
 8838  unsigned long __cil_tmp168 ;
 8839  unsigned int __cil_tmp169 ;
 8840  unsigned long __cil_tmp170 ;
 8841  unsigned long __cil_tmp171 ;
 8842  unsigned long __cil_tmp172 ;
 8843  unsigned long __cil_tmp173 ;
 8844  unsigned long __cil_tmp174 ;
 8845  void *__cil_tmp175 ;
 8846  struct alauda_info *__cil_tmp176 ;
 8847  unsigned long __cil_tmp177 ;
 8848  unsigned long __cil_tmp178 ;
 8849  u16 **__cil_tmp179 ;
 8850  u16 **__cil_tmp180 ;
 8851  void const   *__cil_tmp181 ;
 8852  void const   *__cil_tmp182 ;
 8853
 8854  {
 8855  {
 8856#line 573
 8857  __cil_tmp19 = (unsigned long )us;
 8858#line 573
 8859  __cil_tmp20 = __cil_tmp19 + 376;
 8860#line 573
 8861  data = *((unsigned char **)__cil_tmp20);
 8862#line 576
 8863  __cil_tmp21 = (unsigned long )us;
 8864#line 576
 8865  __cil_tmp22 = __cil_tmp21 + 192;
 8866#line 576
 8867  __cil_tmp23 = *((struct scsi_cmnd **)__cil_tmp22);
 8868#line 576
 8869  __cil_tmp24 = *((struct scsi_device **)__cil_tmp23);
 8870#line 576
 8871  __cil_tmp25 = (unsigned long )__cil_tmp24;
 8872#line 576
 8873  __cil_tmp26 = __cil_tmp25 + 156;
 8874#line 576
 8875  __cil_tmp27 = *((unsigned int *)__cil_tmp26);
 8876#line 576
 8877  __cil_tmp28 = __cil_tmp27 * 48UL;
 8878#line 576
 8879  __cil_tmp29 = __cil_tmp28 + 20;
 8880#line 576
 8881  __cil_tmp30 = 0 + __cil_tmp29;
 8882#line 576
 8883  __cil_tmp31 = (unsigned long )us;
 8884#line 576
 8885  __cil_tmp32 = __cil_tmp31 + 648;
 8886#line 576
 8887  __cil_tmp33 = *((void **)__cil_tmp32);
 8888#line 576
 8889  __cil_tmp34 = (struct alauda_info *)__cil_tmp33;
 8890#line 576
 8891  __cil_tmp35 = (unsigned long )__cil_tmp34;
 8892#line 576
 8893  __cil_tmp36 = __cil_tmp35 + __cil_tmp30;
 8894#line 576
 8895  zonesize = *((unsigned int *)__cil_tmp36);
 8896#line 577
 8897  __cil_tmp37 = (unsigned long )us;
 8898#line 577
 8899  __cil_tmp38 = __cil_tmp37 + 192;
 8900#line 577
 8901  __cil_tmp39 = *((struct scsi_cmnd **)__cil_tmp38);
 8902#line 577
 8903  __cil_tmp40 = *((struct scsi_device **)__cil_tmp39);
 8904#line 577
 8905  __cil_tmp41 = (unsigned long )__cil_tmp40;
 8906#line 577
 8907  __cil_tmp42 = __cil_tmp41 + 156;
 8908#line 577
 8909  __cil_tmp43 = *((unsigned int *)__cil_tmp42);
 8910#line 577
 8911  __cil_tmp44 = __cil_tmp43 * 48UL;
 8912#line 577
 8913  __cil_tmp45 = __cil_tmp44 + 16;
 8914#line 577
 8915  __cil_tmp46 = 0 + __cil_tmp45;
 8916#line 577
 8917  __cil_tmp47 = (unsigned long )us;
 8918#line 577
 8919  __cil_tmp48 = __cil_tmp47 + 648;
 8920#line 577
 8921  __cil_tmp49 = *((void **)__cil_tmp48);
 8922#line 577
 8923  __cil_tmp50 = (struct alauda_info *)__cil_tmp49;
 8924#line 577
 8925  __cil_tmp51 = (unsigned long )__cil_tmp50;
 8926#line 577
 8927  __cil_tmp52 = __cil_tmp51 + __cil_tmp46;
 8928#line 577
 8929  uzonesize = *((unsigned int *)__cil_tmp52);
 8930#line 579
 8931  zone_base_lba = zone * uzonesize;
 8932#line 580
 8933  zone_base_pba = zone * zonesize;
 8934#line 581
 8935  __cil_tmp53 = (size_t )zonesize;
 8936#line 581
 8937  tmp___7 = kcalloc(__cil_tmp53, 2UL, 16U);
 8938#line 581
 8939  lba_to_pba = (u16 *)tmp___7;
 8940#line 582
 8941  __cil_tmp54 = (size_t )zonesize;
 8942#line 582
 8943  tmp___8 = kcalloc(__cil_tmp54, 2UL, 16U);
 8944#line 582
 8945  pba_to_lba = (u16 *)tmp___8;
 8946  }
 8947  {
 8948#line 583
 8949  __cil_tmp55 = (void *)0;
 8950#line 583
 8951  __cil_tmp56 = (unsigned long )__cil_tmp55;
 8952#line 583
 8953  __cil_tmp57 = (unsigned long )lba_to_pba;
 8954#line 583
 8955  if (__cil_tmp57 == __cil_tmp56) {
 8956#line 584
 8957    result = 3;
 8958#line 585
 8959    goto error;
 8960  } else {
 8961    {
 8962#line 583
 8963    __cil_tmp58 = (void *)0;
 8964#line 583
 8965    __cil_tmp59 = (unsigned long )__cil_tmp58;
 8966#line 583
 8967    __cil_tmp60 = (unsigned long )pba_to_lba;
 8968#line 583
 8969    if (__cil_tmp60 == __cil_tmp59) {
 8970#line 584
 8971      result = 3;
 8972#line 585
 8973      goto error;
 8974    } else {
 8975
 8976    }
 8977    }
 8978  }
 8979  }
 8980  {
 8981#line 588
 8982  printk("<7>usb-storage: alauda_read_map: Mapping blocks for zone %d\n", zone);
 8983#line 591
 8984  i = 0;
 8985  }
 8986  {
 8987#line 591
 8988  while (1) {
 8989    while_continue: /* CIL Label */ ;
 8990    {
 8991#line 591
 8992    __cil_tmp61 = (unsigned int )i;
 8993#line 591
 8994    if (__cil_tmp61 < zonesize) {
 8995
 8996    } else {
 8997#line 591
 8998      goto while_break;
 8999    }
 9000    }
 9001#line 592
 9002    tmp___9 = (u16 )65535;
 9003#line 592
 9004    __cil_tmp62 = pba_to_lba + i;
 9005#line 592
 9006    *__cil_tmp62 = tmp___9;
 9007#line 592
 9008    __cil_tmp63 = lba_to_pba + i;
 9009#line 592
 9010    *__cil_tmp63 = tmp___9;
 9011#line 591
 9012    i = i + 1;
 9013  }
 9014  while_break: /* CIL Label */ ;
 9015  }
 9016#line 594
 9017  i = 0;
 9018  {
 9019#line 594
 9020  while (1) {
 9021    while_continue___0: /* CIL Label */ ;
 9022    {
 9023#line 594
 9024    __cil_tmp64 = (unsigned int )i;
 9025#line 594
 9026    if (__cil_tmp64 < zonesize) {
 9027
 9028    } else {
 9029#line 594
 9030      goto while_break___0;
 9031    }
 9032    }
 9033    {
 9034#line 595
 9035    __cil_tmp65 = (unsigned int )i;
 9036#line 595
 9037    blocknum = zone_base_pba + __cil_tmp65;
 9038#line 597
 9039    __cil_tmp66 = (u16 )blocknum;
 9040#line 597
 9041    result = alauda_get_redu_data(us, __cil_tmp66, data);
 9042    }
 9043#line 598
 9044    if (result != 0) {
 9045#line 599
 9046      result = 3;
 9047#line 600
 9048      goto error;
 9049    } else {
 9050
 9051    }
 9052#line 604
 9053    j = 0;
 9054    {
 9055#line 604
 9056    while (1) {
 9057      while_continue___1: /* CIL Label */ ;
 9058#line 604
 9059      if (j < 16) {
 9060
 9061      } else {
 9062#line 604
 9063        goto while_break___1;
 9064      }
 9065      {
 9066#line 605
 9067      __cil_tmp67 = data + j;
 9068#line 605
 9069      __cil_tmp68 = *__cil_tmp67;
 9070#line 605
 9071      __cil_tmp69 = (int )__cil_tmp68;
 9072#line 605
 9073      if (__cil_tmp69 != 0) {
 9074#line 606
 9075        goto nonz;
 9076      } else {
 9077
 9078      }
 9079      }
 9080#line 604
 9081      j = j + 1;
 9082    }
 9083    while_break___1: /* CIL Label */ ;
 9084    }
 9085    {
 9086#line 607
 9087    __cil_tmp70 = pba_to_lba + i;
 9088#line 607
 9089    *__cil_tmp70 = (u16 )65533;
 9090#line 608
 9091    printk("<7>usb-storage: alauda_read_map: PBA %d has no logical mapping\n", blocknum);
 9092    }
 9093#line 609
 9094    goto __Cont;
 9095    nonz: 
 9096#line 613
 9097    j = 0;
 9098    {
 9099#line 613
 9100    while (1) {
 9101      while_continue___2: /* CIL Label */ ;
 9102#line 613
 9103      if (j < 16) {
 9104
 9105      } else {
 9106#line 613
 9107        goto while_break___2;
 9108      }
 9109      {
 9110#line 614
 9111      __cil_tmp71 = data + j;
 9112#line 614
 9113      __cil_tmp72 = *__cil_tmp71;
 9114#line 614
 9115      __cil_tmp73 = (int )__cil_tmp72;
 9116#line 614
 9117      if (__cil_tmp73 != 255) {
 9118#line 615
 9119        goto nonff;
 9120      } else {
 9121
 9122      }
 9123      }
 9124#line 613
 9125      j = j + 1;
 9126    }
 9127    while_break___2: /* CIL Label */ ;
 9128    }
 9129#line 616
 9130    goto __Cont;
 9131    nonff: 
 9132#line 620
 9133    if (j < 6) {
 9134      {
 9135#line 621
 9136      __cil_tmp74 = data + 0;
 9137#line 621
 9138      __cil_tmp75 = *__cil_tmp74;
 9139#line 621
 9140      __cil_tmp76 = (int )__cil_tmp75;
 9141#line 621
 9142      __cil_tmp77 = data + 1;
 9143#line 621
 9144      __cil_tmp78 = *__cil_tmp77;
 9145#line 621
 9146      __cil_tmp79 = (int )__cil_tmp78;
 9147#line 621
 9148      __cil_tmp80 = data + 2;
 9149#line 621
 9150      __cil_tmp81 = *__cil_tmp80;
 9151#line 621
 9152      __cil_tmp82 = (int )__cil_tmp81;
 9153#line 621
 9154      __cil_tmp83 = data + 3;
 9155#line 621
 9156      __cil_tmp84 = *__cil_tmp83;
 9157#line 621
 9158      __cil_tmp85 = (int )__cil_tmp84;
 9159#line 621
 9160      __cil_tmp86 = data + 4;
 9161#line 621
 9162      __cil_tmp87 = *__cil_tmp86;
 9163#line 621
 9164      __cil_tmp88 = (int )__cil_tmp87;
 9165#line 621
 9166      __cil_tmp89 = data + 5;
 9167#line 621
 9168      __cil_tmp90 = *__cil_tmp89;
 9169#line 621
 9170      __cil_tmp91 = (int )__cil_tmp90;
 9171#line 621
 9172      printk("<7>usb-storage: alauda_read_map: PBA %d has no logical mapping: reserved area = %02X%02X%02X%02X data status %02X block status %02X\n",
 9173             blocknum, __cil_tmp76, __cil_tmp79, __cil_tmp82, __cil_tmp85, __cil_tmp88,
 9174             __cil_tmp91);
 9175#line 626
 9176      __cil_tmp92 = pba_to_lba + i;
 9177#line 626
 9178      *__cil_tmp92 = (u16 )65533;
 9179      }
 9180#line 627
 9181      goto __Cont;
 9182    } else {
 9183
 9184    }
 9185    {
 9186#line 630
 9187    __cil_tmp93 = data + 6;
 9188#line 630
 9189    __cil_tmp94 = *__cil_tmp93;
 9190#line 630
 9191    __cil_tmp95 = (int )__cil_tmp94;
 9192#line 630
 9193    __cil_tmp96 = __cil_tmp95 >> 4;
 9194#line 630
 9195    if (__cil_tmp96 != 1) {
 9196      {
 9197#line 631
 9198      __cil_tmp97 = data + 6;
 9199#line 631
 9200      __cil_tmp98 = *__cil_tmp97;
 9201#line 631
 9202      __cil_tmp99 = (int )__cil_tmp98;
 9203#line 631
 9204      __cil_tmp100 = data + 7;
 9205#line 631
 9206      __cil_tmp101 = *__cil_tmp100;
 9207#line 631
 9208      __cil_tmp102 = (int )__cil_tmp101;
 9209#line 631
 9210      __cil_tmp103 = data + 11;
 9211#line 631
 9212      __cil_tmp104 = *__cil_tmp103;
 9213#line 631
 9214      __cil_tmp105 = (int )__cil_tmp104;
 9215#line 631
 9216      __cil_tmp106 = data + 12;
 9217#line 631
 9218      __cil_tmp107 = *__cil_tmp106;
 9219#line 631
 9220      __cil_tmp108 = (int )__cil_tmp107;
 9221#line 631
 9222      printk("<7>usb-storage: alauda_read_map: PBA %d has invalid address field %02X%02X/%02X%02X\n",
 9223             blocknum, __cil_tmp99, __cil_tmp102, __cil_tmp105, __cil_tmp108);
 9224#line 634
 9225      __cil_tmp109 = pba_to_lba + i;
 9226#line 634
 9227      *__cil_tmp109 = (u16 )65533;
 9228      }
 9229#line 635
 9230      goto __Cont;
 9231    } else {
 9232
 9233    }
 9234    }
 9235    {
 9236#line 639
 9237    __cil_tmp110 = data + 7;
 9238#line 639
 9239    __cil_tmp111 = *__cil_tmp110;
 9240#line 639
 9241    __cil_tmp112 = (int )__cil_tmp111;
 9242#line 639
 9243    __cil_tmp113 = data + 6;
 9244#line 639
 9245    __cil_tmp114 = *__cil_tmp113;
 9246#line 639
 9247    __cil_tmp115 = (int )__cil_tmp114;
 9248#line 639
 9249    __cil_tmp116 = __cil_tmp115 ^ __cil_tmp112;
 9250#line 639
 9251    __cil_tmp117 = __cil_tmp116 * 1UL;
 9252#line 639
 9253    __cil_tmp118 = (unsigned long )(parity) + __cil_tmp117;
 9254#line 639
 9255    if (*((unsigned char *)__cil_tmp118)) {
 9256      {
 9257#line 640
 9258      __cil_tmp119 = data + 6;
 9259#line 640
 9260      __cil_tmp120 = *__cil_tmp119;
 9261#line 640
 9262      __cil_tmp121 = (int )__cil_tmp120;
 9263#line 640
 9264      __cil_tmp122 = data + 7;
 9265#line 640
 9266      __cil_tmp123 = *__cil_tmp122;
 9267#line 640
 9268      __cil_tmp124 = (int )__cil_tmp123;
 9269#line 640
 9270      printk("<4>alauda_read_map: Bad parity in LBA for block %d (%02X %02X)\n", i,
 9271             __cil_tmp121, __cil_tmp124);
 9272#line 643
 9273      __cil_tmp125 = pba_to_lba + i;
 9274#line 643
 9275      *__cil_tmp125 = (u16 )65533;
 9276      }
 9277#line 644
 9278      goto __Cont;
 9279    } else {
 9280
 9281    }
 9282    }
 9283#line 647
 9284    __cil_tmp126 = data + 6;
 9285#line 647
 9286    __cil_tmp127 = *__cil_tmp126;
 9287#line 647
 9288    __cil_tmp128 = (u16 )__cil_tmp127;
 9289#line 647
 9290    __cil_tmp129 = (int )__cil_tmp128;
 9291#line 647
 9292    __cil_tmp130 = __cil_tmp129 << 8;
 9293#line 647
 9294    __cil_tmp131 = data + 7;
 9295#line 647
 9296    __cil_tmp132 = *__cil_tmp131;
 9297#line 647
 9298    __cil_tmp133 = (u16 )__cil_tmp132;
 9299#line 647
 9300    __cil_tmp134 = (int )__cil_tmp133;
 9301#line 647
 9302    __cil_tmp135 = __cil_tmp134 | __cil_tmp130;
 9303#line 647
 9304    lba_offset = (unsigned int )__cil_tmp135;
 9305#line 648
 9306    __cil_tmp136 = lba_offset & 2047U;
 9307#line 648
 9308    lba_offset = __cil_tmp136 >> 1;
 9309#line 649
 9310    lba_real = lba_offset + zone_base_lba;
 9311#line 660
 9312    if (lba_offset >= uzonesize) {
 9313      {
 9314#line 661
 9315      printk("<4>alauda_read_map: Bad low LBA %d for block %d\n", lba_real, blocknum);
 9316      }
 9317#line 664
 9318      goto __Cont;
 9319    } else {
 9320
 9321    }
 9322    {
 9323#line 667
 9324    __cil_tmp137 = lba_to_pba + lba_offset;
 9325#line 667
 9326    __cil_tmp138 = *__cil_tmp137;
 9327#line 667
 9328    __cil_tmp139 = (int )__cil_tmp138;
 9329#line 667
 9330    if (__cil_tmp139 != 65535) {
 9331      {
 9332#line 668
 9333      __cil_tmp140 = lba_to_pba + lba_offset;
 9334#line 668
 9335      __cil_tmp141 = *__cil_tmp140;
 9336#line 668
 9337      __cil_tmp142 = (int )__cil_tmp141;
 9338#line 668
 9339      printk("<4>alauda_read_map: LBA %d seen for PBA %d and %d\n", lba_real, __cil_tmp142,
 9340             blocknum);
 9341      }
 9342#line 672
 9343      goto __Cont;
 9344    } else {
 9345
 9346    }
 9347    }
 9348#line 675
 9349    __cil_tmp143 = pba_to_lba + i;
 9350#line 675
 9351    *__cil_tmp143 = (u16 )lba_real;
 9352#line 676
 9353    __cil_tmp144 = lba_to_pba + lba_offset;
 9354#line 676
 9355    *__cil_tmp144 = (u16 )blocknum;
 9356#line 677
 9357    goto __Cont;
 9358    __Cont: /* CIL Label */ 
 9359#line 594
 9360    i = i + 1;
 9361  }
 9362  while_break___0: /* CIL Label */ ;
 9363  }
 9364#line 680
 9365  __cil_tmp145 = (unsigned long )us;
 9366#line 680
 9367  __cil_tmp146 = __cil_tmp145 + 192;
 9368#line 680
 9369  __cil_tmp147 = *((struct scsi_cmnd **)__cil_tmp146);
 9370#line 680
 9371  __cil_tmp148 = *((struct scsi_device **)__cil_tmp147);
 9372#line 680
 9373  __cil_tmp149 = (unsigned long )__cil_tmp148;
 9374#line 680
 9375  __cil_tmp150 = __cil_tmp149 + 156;
 9376#line 680
 9377  __cil_tmp151 = *((unsigned int *)__cil_tmp150);
 9378#line 680
 9379  __cil_tmp152 = __cil_tmp151 * 48UL;
 9380#line 680
 9381  __cil_tmp153 = __cil_tmp152 + 32;
 9382#line 680
 9383  __cil_tmp154 = 0 + __cil_tmp153;
 9384#line 680
 9385  __cil_tmp155 = (unsigned long )us;
 9386#line 680
 9387  __cil_tmp156 = __cil_tmp155 + 648;
 9388#line 680
 9389  __cil_tmp157 = *((void **)__cil_tmp156);
 9390#line 680
 9391  __cil_tmp158 = (struct alauda_info *)__cil_tmp157;
 9392#line 680
 9393  __cil_tmp159 = (unsigned long )__cil_tmp158;
 9394#line 680
 9395  __cil_tmp160 = __cil_tmp159 + __cil_tmp154;
 9396#line 680
 9397  __cil_tmp161 = *((u16 ***)__cil_tmp160);
 9398#line 680
 9399  __cil_tmp162 = __cil_tmp161 + zone;
 9400#line 680
 9401  *__cil_tmp162 = lba_to_pba;
 9402#line 681
 9403  __cil_tmp163 = (unsigned long )us;
 9404#line 681
 9405  __cil_tmp164 = __cil_tmp163 + 192;
 9406#line 681
 9407  __cil_tmp165 = *((struct scsi_cmnd **)__cil_tmp164);
 9408#line 681
 9409  __cil_tmp166 = *((struct scsi_device **)__cil_tmp165);
 9410#line 681
 9411  __cil_tmp167 = (unsigned long )__cil_tmp166;
 9412#line 681
 9413  __cil_tmp168 = __cil_tmp167 + 156;
 9414#line 681
 9415  __cil_tmp169 = *((unsigned int *)__cil_tmp168);
 9416#line 681
 9417  __cil_tmp170 = __cil_tmp169 * 48UL;
 9418#line 681
 9419  __cil_tmp171 = __cil_tmp170 + 40;
 9420#line 681
 9421  __cil_tmp172 = 0 + __cil_tmp171;
 9422#line 681
 9423  __cil_tmp173 = (unsigned long )us;
 9424#line 681
 9425  __cil_tmp174 = __cil_tmp173 + 648;
 9426#line 681
 9427  __cil_tmp175 = *((void **)__cil_tmp174);
 9428#line 681
 9429  __cil_tmp176 = (struct alauda_info *)__cil_tmp175;
 9430#line 681
 9431  __cil_tmp177 = (unsigned long )__cil_tmp176;
 9432#line 681
 9433  __cil_tmp178 = __cil_tmp177 + __cil_tmp172;
 9434#line 681
 9435  __cil_tmp179 = *((u16 ***)__cil_tmp178);
 9436#line 681
 9437  __cil_tmp180 = __cil_tmp179 + zone;
 9438#line 681
 9439  *__cil_tmp180 = pba_to_lba;
 9440#line 682
 9441  result = 0;
 9442#line 683
 9443  goto out;
 9444  error: 
 9445  {
 9446#line 686
 9447  __cil_tmp181 = (void const   *)lba_to_pba;
 9448#line 686
 9449  kfree(__cil_tmp181);
 9450#line 687
 9451  __cil_tmp182 = (void const   *)pba_to_lba;
 9452#line 687
 9453  kfree(__cil_tmp182);
 9454  }
 9455  out: 
 9456#line 689
 9457  return (result);
 9458}
 9459}
 9460#line 696 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 9461static void alauda_ensure_map_for_zone(struct us_data *us , unsigned int zone ) 
 9462{ void *__cil_tmp3 ;
 9463  unsigned long __cil_tmp4 ;
 9464  unsigned long __cil_tmp5 ;
 9465  unsigned long __cil_tmp6 ;
 9466  struct scsi_cmnd *__cil_tmp7 ;
 9467  struct scsi_device *__cil_tmp8 ;
 9468  unsigned long __cil_tmp9 ;
 9469  unsigned long __cil_tmp10 ;
 9470  unsigned int __cil_tmp11 ;
 9471  unsigned long __cil_tmp12 ;
 9472  unsigned long __cil_tmp13 ;
 9473  unsigned long __cil_tmp14 ;
 9474  unsigned long __cil_tmp15 ;
 9475  unsigned long __cil_tmp16 ;
 9476  void *__cil_tmp17 ;
 9477  struct alauda_info *__cil_tmp18 ;
 9478  unsigned long __cil_tmp19 ;
 9479  unsigned long __cil_tmp20 ;
 9480  u16 **__cil_tmp21 ;
 9481  u16 **__cil_tmp22 ;
 9482  u16 *__cil_tmp23 ;
 9483  unsigned long __cil_tmp24 ;
 9484  void *__cil_tmp25 ;
 9485  unsigned long __cil_tmp26 ;
 9486  unsigned long __cil_tmp27 ;
 9487  unsigned long __cil_tmp28 ;
 9488  struct scsi_cmnd *__cil_tmp29 ;
 9489  struct scsi_device *__cil_tmp30 ;
 9490  unsigned long __cil_tmp31 ;
 9491  unsigned long __cil_tmp32 ;
 9492  unsigned int __cil_tmp33 ;
 9493  unsigned long __cil_tmp34 ;
 9494  unsigned long __cil_tmp35 ;
 9495  unsigned long __cil_tmp36 ;
 9496  unsigned long __cil_tmp37 ;
 9497  unsigned long __cil_tmp38 ;
 9498  void *__cil_tmp39 ;
 9499  struct alauda_info *__cil_tmp40 ;
 9500  unsigned long __cil_tmp41 ;
 9501  unsigned long __cil_tmp42 ;
 9502  u16 **__cil_tmp43 ;
 9503  u16 **__cil_tmp44 ;
 9504  u16 *__cil_tmp45 ;
 9505  unsigned long __cil_tmp46 ;
 9506
 9507  {
 9508  {
 9509#line 698
 9510  __cil_tmp3 = (void *)0;
 9511#line 698
 9512  __cil_tmp4 = (unsigned long )__cil_tmp3;
 9513#line 698
 9514  __cil_tmp5 = (unsigned long )us;
 9515#line 698
 9516  __cil_tmp6 = __cil_tmp5 + 192;
 9517#line 698
 9518  __cil_tmp7 = *((struct scsi_cmnd **)__cil_tmp6);
 9519#line 698
 9520  __cil_tmp8 = *((struct scsi_device **)__cil_tmp7);
 9521#line 698
 9522  __cil_tmp9 = (unsigned long )__cil_tmp8;
 9523#line 698
 9524  __cil_tmp10 = __cil_tmp9 + 156;
 9525#line 698
 9526  __cil_tmp11 = *((unsigned int *)__cil_tmp10);
 9527#line 698
 9528  __cil_tmp12 = __cil_tmp11 * 48UL;
 9529#line 698
 9530  __cil_tmp13 = __cil_tmp12 + 32;
 9531#line 698
 9532  __cil_tmp14 = 0 + __cil_tmp13;
 9533#line 698
 9534  __cil_tmp15 = (unsigned long )us;
 9535#line 698
 9536  __cil_tmp16 = __cil_tmp15 + 648;
 9537#line 698
 9538  __cil_tmp17 = *((void **)__cil_tmp16);
 9539#line 698
 9540  __cil_tmp18 = (struct alauda_info *)__cil_tmp17;
 9541#line 698
 9542  __cil_tmp19 = (unsigned long )__cil_tmp18;
 9543#line 698
 9544  __cil_tmp20 = __cil_tmp19 + __cil_tmp14;
 9545#line 698
 9546  __cil_tmp21 = *((u16 ***)__cil_tmp20);
 9547#line 698
 9548  __cil_tmp22 = __cil_tmp21 + zone;
 9549#line 698
 9550  __cil_tmp23 = *__cil_tmp22;
 9551#line 698
 9552  __cil_tmp24 = (unsigned long )__cil_tmp23;
 9553#line 698
 9554  if (__cil_tmp24 == __cil_tmp4) {
 9555    {
 9556#line 700
 9557    alauda_read_map(us, zone);
 9558    }
 9559  } else {
 9560    {
 9561#line 698
 9562    __cil_tmp25 = (void *)0;
 9563#line 698
 9564    __cil_tmp26 = (unsigned long )__cil_tmp25;
 9565#line 698
 9566    __cil_tmp27 = (unsigned long )us;
 9567#line 698
 9568    __cil_tmp28 = __cil_tmp27 + 192;
 9569#line 698
 9570    __cil_tmp29 = *((struct scsi_cmnd **)__cil_tmp28);
 9571#line 698
 9572    __cil_tmp30 = *((struct scsi_device **)__cil_tmp29);
 9573#line 698
 9574    __cil_tmp31 = (unsigned long )__cil_tmp30;
 9575#line 698
 9576    __cil_tmp32 = __cil_tmp31 + 156;
 9577#line 698
 9578    __cil_tmp33 = *((unsigned int *)__cil_tmp32);
 9579#line 698
 9580    __cil_tmp34 = __cil_tmp33 * 48UL;
 9581#line 698
 9582    __cil_tmp35 = __cil_tmp34 + 40;
 9583#line 698
 9584    __cil_tmp36 = 0 + __cil_tmp35;
 9585#line 698
 9586    __cil_tmp37 = (unsigned long )us;
 9587#line 698
 9588    __cil_tmp38 = __cil_tmp37 + 648;
 9589#line 698
 9590    __cil_tmp39 = *((void **)__cil_tmp38);
 9591#line 698
 9592    __cil_tmp40 = (struct alauda_info *)__cil_tmp39;
 9593#line 698
 9594    __cil_tmp41 = (unsigned long )__cil_tmp40;
 9595#line 698
 9596    __cil_tmp42 = __cil_tmp41 + __cil_tmp36;
 9597#line 698
 9598    __cil_tmp43 = *((u16 ***)__cil_tmp42);
 9599#line 698
 9600    __cil_tmp44 = __cil_tmp43 + zone;
 9601#line 698
 9602    __cil_tmp45 = *__cil_tmp44;
 9603#line 698
 9604    __cil_tmp46 = (unsigned long )__cil_tmp45;
 9605#line 698
 9606    if (__cil_tmp46 == __cil_tmp26) {
 9607      {
 9608#line 700
 9609      alauda_read_map(us, zone);
 9610      }
 9611    } else {
 9612
 9613    }
 9614    }
 9615  }
 9616  }
 9617#line 701
 9618  return;
 9619}
 9620}
 9621#line 706 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 9622static int alauda_erase_block(struct us_data *us , u16 pba ) 
 9623{ int rc ;
 9624  unsigned char command[9] ;
 9625  unsigned char buf[2] ;
 9626  unsigned long __cil_tmp6 ;
 9627  unsigned long __cil_tmp7 ;
 9628  unsigned long __cil_tmp8 ;
 9629  unsigned long __cil_tmp9 ;
 9630  unsigned long __cil_tmp10 ;
 9631  unsigned long __cil_tmp11 ;
 9632  int __cil_tmp12 ;
 9633  int __cil_tmp13 ;
 9634  unsigned long __cil_tmp14 ;
 9635  unsigned long __cil_tmp15 ;
 9636  int __cil_tmp16 ;
 9637  int __cil_tmp17 ;
 9638  unsigned long __cil_tmp18 ;
 9639  unsigned long __cil_tmp19 ;
 9640  unsigned long __cil_tmp20 ;
 9641  unsigned long __cil_tmp21 ;
 9642  int __cil_tmp22 ;
 9643  int __cil_tmp23 ;
 9644  int __cil_tmp24 ;
 9645  unsigned long __cil_tmp25 ;
 9646  unsigned long __cil_tmp26 ;
 9647  unsigned long __cil_tmp27 ;
 9648  unsigned long __cil_tmp28 ;
 9649  unsigned long __cil_tmp29 ;
 9650  unsigned long __cil_tmp30 ;
 9651  unsigned long __cil_tmp31 ;
 9652  unsigned long __cil_tmp32 ;
 9653  struct scsi_cmnd *__cil_tmp33 ;
 9654  struct scsi_device *__cil_tmp34 ;
 9655  unsigned long __cil_tmp35 ;
 9656  unsigned long __cil_tmp36 ;
 9657  unsigned int __cil_tmp37 ;
 9658  int __cil_tmp38 ;
 9659  unsigned long __cil_tmp39 ;
 9660  unsigned long __cil_tmp40 ;
 9661  unsigned int __cil_tmp41 ;
 9662  unsigned long __cil_tmp42 ;
 9663  unsigned long __cil_tmp43 ;
 9664  unsigned char *__cil_tmp44 ;
 9665  void *__cil_tmp45 ;
 9666  void *__cil_tmp46 ;
 9667  unsigned int *__cil_tmp47 ;
 9668  unsigned long __cil_tmp48 ;
 9669  unsigned long __cil_tmp49 ;
 9670  unsigned int __cil_tmp50 ;
 9671  unsigned long __cil_tmp51 ;
 9672  unsigned long __cil_tmp52 ;
 9673  unsigned char *__cil_tmp53 ;
 9674  void *__cil_tmp54 ;
 9675  void *__cil_tmp55 ;
 9676  unsigned int *__cil_tmp56 ;
 9677  unsigned long __cil_tmp57 ;
 9678  unsigned long __cil_tmp58 ;
 9679  unsigned char __cil_tmp59 ;
 9680  int __cil_tmp60 ;
 9681  unsigned long __cil_tmp61 ;
 9682  unsigned long __cil_tmp62 ;
 9683  unsigned char __cil_tmp63 ;
 9684  int __cil_tmp64 ;
 9685
 9686  {
 9687  {
 9688#line 709
 9689  __cil_tmp6 = 0 * 1UL;
 9690#line 709
 9691  __cil_tmp7 = (unsigned long )(command) + __cil_tmp6;
 9692#line 709
 9693  *((unsigned char *)__cil_tmp7) = (unsigned char)64;
 9694#line 709
 9695  __cil_tmp8 = 1 * 1UL;
 9696#line 709
 9697  __cil_tmp9 = (unsigned long )(command) + __cil_tmp8;
 9698#line 709
 9699  *((unsigned char *)__cil_tmp9) = (unsigned char)163;
 9700#line 709
 9701  __cil_tmp10 = 2 * 1UL;
 9702#line 709
 9703  __cil_tmp11 = (unsigned long )(command) + __cil_tmp10;
 9704#line 709
 9705  __cil_tmp12 = (int )pba;
 9706#line 709
 9707  __cil_tmp13 = __cil_tmp12 >> 3;
 9708#line 709
 9709  *((unsigned char *)__cil_tmp11) = (unsigned char )__cil_tmp13;
 9710#line 709
 9711  __cil_tmp14 = 3 * 1UL;
 9712#line 709
 9713  __cil_tmp15 = (unsigned long )(command) + __cil_tmp14;
 9714#line 709
 9715  __cil_tmp16 = (int )pba;
 9716#line 709
 9717  __cil_tmp17 = __cil_tmp16 >> 11;
 9718#line 709
 9719  *((unsigned char *)__cil_tmp15) = (unsigned char )__cil_tmp17;
 9720#line 709
 9721  __cil_tmp18 = 4 * 1UL;
 9722#line 709
 9723  __cil_tmp19 = (unsigned long )(command) + __cil_tmp18;
 9724#line 709
 9725  *((unsigned char *)__cil_tmp19) = (unsigned char)0;
 9726#line 709
 9727  __cil_tmp20 = 5 * 1UL;
 9728#line 709
 9729  __cil_tmp21 = (unsigned long )(command) + __cil_tmp20;
 9730#line 709
 9731  __cil_tmp22 = (int )pba;
 9732#line 709
 9733  __cil_tmp23 = __cil_tmp22 & 15;
 9734#line 709
 9735  __cil_tmp24 = __cil_tmp23 << 5;
 9736#line 709
 9737  *((unsigned char *)__cil_tmp21) = (unsigned char )__cil_tmp24;
 9738#line 709
 9739  __cil_tmp25 = 6 * 1UL;
 9740#line 709
 9741  __cil_tmp26 = (unsigned long )(command) + __cil_tmp25;
 9742#line 709
 9743  *((unsigned char *)__cil_tmp26) = (unsigned char)2;
 9744#line 709
 9745  __cil_tmp27 = 7 * 1UL;
 9746#line 709
 9747  __cil_tmp28 = (unsigned long )(command) + __cil_tmp27;
 9748#line 709
 9749  *((unsigned char *)__cil_tmp28) = (unsigned char)0;
 9750#line 709
 9751  __cil_tmp29 = 8 * 1UL;
 9752#line 709
 9753  __cil_tmp30 = (unsigned long )(command) + __cil_tmp29;
 9754#line 709
 9755  __cil_tmp31 = (unsigned long )us;
 9756#line 709
 9757  __cil_tmp32 = __cil_tmp31 + 192;
 9758#line 709
 9759  __cil_tmp33 = *((struct scsi_cmnd **)__cil_tmp32);
 9760#line 709
 9761  __cil_tmp34 = *((struct scsi_device **)__cil_tmp33);
 9762#line 709
 9763  __cil_tmp35 = (unsigned long )__cil_tmp34;
 9764#line 709
 9765  __cil_tmp36 = __cil_tmp35 + 156;
 9766#line 709
 9767  __cil_tmp37 = *((unsigned int *)__cil_tmp36);
 9768#line 709
 9769  *((unsigned char *)__cil_tmp30) = (unsigned char )__cil_tmp37;
 9770#line 715
 9771  __cil_tmp38 = (int )pba;
 9772#line 715
 9773  printk("<7>usb-storage: alauda_erase_block: Erasing PBA %d\n", __cil_tmp38);
 9774#line 717
 9775  __cil_tmp39 = (unsigned long )us;
 9776#line 717
 9777  __cil_tmp40 = __cil_tmp39 + 112;
 9778#line 717
 9779  __cil_tmp41 = *((unsigned int *)__cil_tmp40);
 9780#line 717
 9781  __cil_tmp42 = 0 * 1UL;
 9782#line 717
 9783  __cil_tmp43 = (unsigned long )(command) + __cil_tmp42;
 9784#line 717
 9785  __cil_tmp44 = (unsigned char *)__cil_tmp43;
 9786#line 717
 9787  __cil_tmp45 = (void *)__cil_tmp44;
 9788#line 717
 9789  __cil_tmp46 = (void *)0;
 9790#line 717
 9791  __cil_tmp47 = (unsigned int *)__cil_tmp46;
 9792#line 717
 9793  rc = usb_stor_bulk_transfer_buf(us, __cil_tmp41, __cil_tmp45, 9U, __cil_tmp47);
 9794  }
 9795#line 719
 9796  if (rc != 0) {
 9797#line 720
 9798    return (rc);
 9799  } else {
 9800
 9801  }
 9802  {
 9803#line 722
 9804  __cil_tmp48 = (unsigned long )us;
 9805#line 722
 9806  __cil_tmp49 = __cil_tmp48 + 116;
 9807#line 722
 9808  __cil_tmp50 = *((unsigned int *)__cil_tmp49);
 9809#line 722
 9810  __cil_tmp51 = 0 * 1UL;
 9811#line 722
 9812  __cil_tmp52 = (unsigned long )(buf) + __cil_tmp51;
 9813#line 722
 9814  __cil_tmp53 = (unsigned char *)__cil_tmp52;
 9815#line 722
 9816  __cil_tmp54 = (void *)__cil_tmp53;
 9817#line 722
 9818  __cil_tmp55 = (void *)0;
 9819#line 722
 9820  __cil_tmp56 = (unsigned int *)__cil_tmp55;
 9821#line 722
 9822  rc = usb_stor_bulk_transfer_buf(us, __cil_tmp50, __cil_tmp54, 2U, __cil_tmp56);
 9823  }
 9824#line 724
 9825  if (rc != 0) {
 9826#line 725
 9827    return (rc);
 9828  } else {
 9829
 9830  }
 9831  {
 9832#line 727
 9833  __cil_tmp57 = 0 * 1UL;
 9834#line 727
 9835  __cil_tmp58 = (unsigned long )(buf) + __cil_tmp57;
 9836#line 727
 9837  __cil_tmp59 = *((unsigned char *)__cil_tmp58);
 9838#line 727
 9839  __cil_tmp60 = (int )__cil_tmp59;
 9840#line 727
 9841  __cil_tmp61 = 1 * 1UL;
 9842#line 727
 9843  __cil_tmp62 = (unsigned long )(buf) + __cil_tmp61;
 9844#line 727
 9845  __cil_tmp63 = *((unsigned char *)__cil_tmp62);
 9846#line 727
 9847  __cil_tmp64 = (int )__cil_tmp63;
 9848#line 727
 9849  printk("<7>usb-storage: alauda_erase_block: Erase result: %02X %02X\n", __cil_tmp60,
 9850         __cil_tmp64);
 9851  }
 9852#line 729
 9853  return (rc);
 9854}
 9855}
 9856#line 736 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
 9857static int alauda_read_block_raw(struct us_data *us , u16 pba , unsigned int page ,
 9858                                 unsigned int pages , unsigned char *data ) 
 9859{ int rc ;
 9860  unsigned char command[9] ;
 9861  int tmp___7 ;
 9862  unsigned long __cil_tmp9 ;
 9863  unsigned long __cil_tmp10 ;
 9864  unsigned long __cil_tmp11 ;
 9865  unsigned long __cil_tmp12 ;
 9866  unsigned long __cil_tmp13 ;
 9867  unsigned long __cil_tmp14 ;
 9868  int __cil_tmp15 ;
 9869  int __cil_tmp16 ;
 9870  unsigned long __cil_tmp17 ;
 9871  unsigned long __cil_tmp18 ;
 9872  int __cil_tmp19 ;
 9873  int __cil_tmp20 ;
 9874  unsigned long __cil_tmp21 ;
 9875  unsigned long __cil_tmp22 ;
 9876  unsigned long __cil_tmp23 ;
 9877  unsigned long __cil_tmp24 ;
 9878  int __cil_tmp25 ;
 9879  int __cil_tmp26 ;
 9880  int __cil_tmp27 ;
 9881  unsigned int __cil_tmp28 ;
 9882  unsigned int __cil_tmp29 ;
 9883  unsigned long __cil_tmp30 ;
 9884  unsigned long __cil_tmp31 ;
 9885  unsigned long __cil_tmp32 ;
 9886  unsigned long __cil_tmp33 ;
 9887  unsigned long __cil_tmp34 ;
 9888  unsigned long __cil_tmp35 ;
 9889  unsigned long __cil_tmp36 ;
 9890  unsigned long __cil_tmp37 ;
 9891  struct scsi_cmnd *__cil_tmp38 ;
 9892  struct scsi_device *__cil_tmp39 ;
 9893  unsigned long __cil_tmp40 ;
 9894  unsigned long __cil_tmp41 ;
 9895  unsigned int __cil_tmp42 ;
 9896  int __cil_tmp43 ;
 9897  unsigned long __cil_tmp44 ;
 9898  unsigned long __cil_tmp45 ;
 9899  unsigned int __cil_tmp46 ;
 9900  unsigned long __cil_tmp47 ;
 9901  unsigned long __cil_tmp48 ;
 9902  unsigned char *__cil_tmp49 ;
 9903  void *__cil_tmp50 ;
 9904  void *__cil_tmp51 ;
 9905  unsigned int *__cil_tmp52 ;
 9906  unsigned long __cil_tmp53 ;
 9907  unsigned long __cil_tmp54 ;
 9908  unsigned int __cil_tmp55 ;
 9909  void *__cil_tmp56 ;
 9910  unsigned long __cil_tmp57 ;
 9911  unsigned long __cil_tmp58 ;
 9912  struct scsi_cmnd *__cil_tmp59 ;
 9913  struct scsi_device *__cil_tmp60 ;
 9914  unsigned long __cil_tmp61 ;
 9915  unsigned long __cil_tmp62 ;
 9916  unsigned int __cil_tmp63 ;
 9917  unsigned long __cil_tmp64 ;
 9918  unsigned long __cil_tmp65 ;
 9919  unsigned long __cil_tmp66 ;
 9920  unsigned long __cil_tmp67 ;
 9921  unsigned long __cil_tmp68 ;
 9922  void *__cil_tmp69 ;
 9923  struct alauda_info *__cil_tmp70 ;
 9924  unsigned long __cil_tmp71 ;
 9925  unsigned long __cil_tmp72 ;
 9926  unsigned int __cil_tmp73 ;
 9927  unsigned int __cil_tmp74 ;
 9928  unsigned int __cil_tmp75 ;
 9929  void *__cil_tmp76 ;
 9930  unsigned int *__cil_tmp77 ;
 9931
 9932  {
 9933  {
 9934#line 740
 9935  __cil_tmp9 = 0 * 1UL;
 9936#line 740
 9937  __cil_tmp10 = (unsigned long )(command) + __cil_tmp9;
 9938#line 740
 9939  *((unsigned char *)__cil_tmp10) = (unsigned char)64;
 9940#line 740
 9941  __cil_tmp11 = 1 * 1UL;
 9942#line 740
 9943  __cil_tmp12 = (unsigned long )(command) + __cil_tmp11;
 9944#line 740
 9945  *((unsigned char *)__cil_tmp12) = (unsigned char)148;
 9946#line 740
 9947  __cil_tmp13 = 2 * 1UL;
 9948#line 740
 9949  __cil_tmp14 = (unsigned long )(command) + __cil_tmp13;
 9950#line 740
 9951  __cil_tmp15 = (int )pba;
 9952#line 740
 9953  __cil_tmp16 = __cil_tmp15 >> 3;
 9954#line 740
 9955  *((unsigned char *)__cil_tmp14) = (unsigned char )__cil_tmp16;
 9956#line 740
 9957  __cil_tmp17 = 3 * 1UL;
 9958#line 740
 9959  __cil_tmp18 = (unsigned long )(command) + __cil_tmp17;
 9960#line 740
 9961  __cil_tmp19 = (int )pba;
 9962#line 740
 9963  __cil_tmp20 = __cil_tmp19 >> 11;
 9964#line 740
 9965  *((unsigned char *)__cil_tmp18) = (unsigned char )__cil_tmp20;
 9966#line 740
 9967  __cil_tmp21 = 4 * 1UL;
 9968#line 740
 9969  __cil_tmp22 = (unsigned long )(command) + __cil_tmp21;
 9970#line 740
 9971  *((unsigned char *)__cil_tmp22) = (unsigned char)0;
 9972#line 740
 9973  __cil_tmp23 = 5 * 1UL;
 9974#line 740
 9975  __cil_tmp24 = (unsigned long )(command) + __cil_tmp23;
 9976#line 740
 9977  __cil_tmp25 = (int )pba;
 9978#line 740
 9979  __cil_tmp26 = __cil_tmp25 & 15;
 9980#line 740
 9981  __cil_tmp27 = __cil_tmp26 << 5;
 9982#line 740
 9983  __cil_tmp28 = (unsigned int )__cil_tmp27;
 9984#line 740
 9985  __cil_tmp29 = __cil_tmp28 + page;
 9986#line 740
 9987  *((unsigned char *)__cil_tmp24) = (unsigned char )__cil_tmp29;
 9988#line 740
 9989  __cil_tmp30 = 6 * 1UL;
 9990#line 740
 9991  __cil_tmp31 = (unsigned long )(command) + __cil_tmp30;
 9992#line 740
 9993  *((unsigned char *)__cil_tmp31) = (unsigned char )pages;
 9994#line 740
 9995  __cil_tmp32 = 7 * 1UL;
 9996#line 740
 9997  __cil_tmp33 = (unsigned long )(command) + __cil_tmp32;
 9998#line 740
 9999  *((unsigned char *)__cil_tmp33) = (unsigned char)0;
10000#line 740
10001  __cil_tmp34 = 8 * 1UL;
10002#line 740
10003  __cil_tmp35 = (unsigned long )(command) + __cil_tmp34;
10004#line 740
10005  __cil_tmp36 = (unsigned long )us;
10006#line 740
10007  __cil_tmp37 = __cil_tmp36 + 192;
10008#line 740
10009  __cil_tmp38 = *((struct scsi_cmnd **)__cil_tmp37);
10010#line 740
10011  __cil_tmp39 = *((struct scsi_device **)__cil_tmp38);
10012#line 740
10013  __cil_tmp40 = (unsigned long )__cil_tmp39;
10014#line 740
10015  __cil_tmp41 = __cil_tmp40 + 156;
10016#line 740
10017  __cil_tmp42 = *((unsigned int *)__cil_tmp41);
10018#line 740
10019  *((unsigned char *)__cil_tmp35) = (unsigned char )__cil_tmp42;
10020#line 745
10021  __cil_tmp43 = (int )pba;
10022#line 745
10023  printk("<7>usb-storage: alauda_read_block: pba %d page %d count %d\n", __cil_tmp43,
10024         page, pages);
10025#line 748
10026  __cil_tmp44 = (unsigned long )us;
10027#line 748
10028  __cil_tmp45 = __cil_tmp44 + 112;
10029#line 748
10030  __cil_tmp46 = *((unsigned int *)__cil_tmp45);
10031#line 748
10032  __cil_tmp47 = 0 * 1UL;
10033#line 748
10034  __cil_tmp48 = (unsigned long )(command) + __cil_tmp47;
10035#line 748
10036  __cil_tmp49 = (unsigned char *)__cil_tmp48;
10037#line 748
10038  __cil_tmp50 = (void *)__cil_tmp49;
10039#line 748
10040  __cil_tmp51 = (void *)0;
10041#line 748
10042  __cil_tmp52 = (unsigned int *)__cil_tmp51;
10043#line 748
10044  rc = usb_stor_bulk_transfer_buf(us, __cil_tmp46, __cil_tmp50, 9U, __cil_tmp52);
10045  }
10046#line 750
10047  if (rc != 0) {
10048#line 751
10049    return (rc);
10050  } else {
10051
10052  }
10053  {
10054#line 753
10055  __cil_tmp53 = (unsigned long )us;
10056#line 753
10057  __cil_tmp54 = __cil_tmp53 + 116;
10058#line 753
10059  __cil_tmp55 = *((unsigned int *)__cil_tmp54);
10060#line 753
10061  __cil_tmp56 = (void *)data;
10062#line 753
10063  __cil_tmp57 = (unsigned long )us;
10064#line 753
10065  __cil_tmp58 = __cil_tmp57 + 192;
10066#line 753
10067  __cil_tmp59 = *((struct scsi_cmnd **)__cil_tmp58);
10068#line 753
10069  __cil_tmp60 = *((struct scsi_device **)__cil_tmp59);
10070#line 753
10071  __cil_tmp61 = (unsigned long )__cil_tmp60;
10072#line 753
10073  __cil_tmp62 = __cil_tmp61 + 156;
10074#line 753
10075  __cil_tmp63 = *((unsigned int *)__cil_tmp62);
10076#line 753
10077  __cil_tmp64 = __cil_tmp63 * 48UL;
10078#line 753
10079  __cil_tmp65 = __cil_tmp64 + 8;
10080#line 753
10081  __cil_tmp66 = 0 + __cil_tmp65;
10082#line 753
10083  __cil_tmp67 = (unsigned long )us;
10084#line 753
10085  __cil_tmp68 = __cil_tmp67 + 648;
10086#line 753
10087  __cil_tmp69 = *((void **)__cil_tmp68);
10088#line 753
10089  __cil_tmp70 = (struct alauda_info *)__cil_tmp69;
10090#line 753
10091  __cil_tmp71 = (unsigned long )__cil_tmp70;
10092#line 753
10093  __cil_tmp72 = __cil_tmp71 + __cil_tmp66;
10094#line 753
10095  __cil_tmp73 = *((unsigned int *)__cil_tmp72);
10096#line 753
10097  __cil_tmp74 = __cil_tmp73 + 64U;
10098#line 753
10099  __cil_tmp75 = __cil_tmp74 * pages;
10100#line 753
10101  __cil_tmp76 = (void *)0;
10102#line 753
10103  __cil_tmp77 = (unsigned int *)__cil_tmp76;
10104#line 753
10105  tmp___7 = usb_stor_bulk_transfer_buf(us, __cil_tmp55, __cil_tmp56, __cil_tmp75,
10106                                       __cil_tmp77);
10107  }
10108#line 753
10109  return (tmp___7);
10110}
10111}
10112#line 763 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
10113static int alauda_read_block(struct us_data *us , u16 pba , unsigned int page , unsigned int pages ,
10114                             unsigned char *data ) 
10115{ int i ;
10116  int rc ;
10117  unsigned int pagesize ;
10118  int dest_offset ;
10119  int src_offset ;
10120  unsigned long __cil_tmp11 ;
10121  unsigned long __cil_tmp12 ;
10122  struct scsi_cmnd *__cil_tmp13 ;
10123  struct scsi_device *__cil_tmp14 ;
10124  unsigned long __cil_tmp15 ;
10125  unsigned long __cil_tmp16 ;
10126  unsigned int __cil_tmp17 ;
10127  unsigned long __cil_tmp18 ;
10128  unsigned long __cil_tmp19 ;
10129  unsigned long __cil_tmp20 ;
10130  unsigned long __cil_tmp21 ;
10131  unsigned long __cil_tmp22 ;
10132  void *__cil_tmp23 ;
10133  struct alauda_info *__cil_tmp24 ;
10134  unsigned long __cil_tmp25 ;
10135  unsigned long __cil_tmp26 ;
10136  unsigned int __cil_tmp27 ;
10137  unsigned int __cil_tmp28 ;
10138  unsigned int __cil_tmp29 ;
10139  unsigned int __cil_tmp30 ;
10140  unsigned int __cil_tmp31 ;
10141  unsigned int __cil_tmp32 ;
10142  unsigned char *__cil_tmp33 ;
10143  void *__cil_tmp34 ;
10144  unsigned char *__cil_tmp35 ;
10145  void const   *__cil_tmp36 ;
10146  size_t __cil_tmp37 ;
10147
10148  {
10149  {
10150#line 767
10151  __cil_tmp11 = (unsigned long )us;
10152#line 767
10153  __cil_tmp12 = __cil_tmp11 + 192;
10154#line 767
10155  __cil_tmp13 = *((struct scsi_cmnd **)__cil_tmp12);
10156#line 767
10157  __cil_tmp14 = *((struct scsi_device **)__cil_tmp13);
10158#line 767
10159  __cil_tmp15 = (unsigned long )__cil_tmp14;
10160#line 767
10161  __cil_tmp16 = __cil_tmp15 + 156;
10162#line 767
10163  __cil_tmp17 = *((unsigned int *)__cil_tmp16);
10164#line 767
10165  __cil_tmp18 = __cil_tmp17 * 48UL;
10166#line 767
10167  __cil_tmp19 = __cil_tmp18 + 8;
10168#line 767
10169  __cil_tmp20 = 0 + __cil_tmp19;
10170#line 767
10171  __cil_tmp21 = (unsigned long )us;
10172#line 767
10173  __cil_tmp22 = __cil_tmp21 + 648;
10174#line 767
10175  __cil_tmp23 = *((void **)__cil_tmp22);
10176#line 767
10177  __cil_tmp24 = (struct alauda_info *)__cil_tmp23;
10178#line 767
10179  __cil_tmp25 = (unsigned long )__cil_tmp24;
10180#line 767
10181  __cil_tmp26 = __cil_tmp25 + __cil_tmp20;
10182#line 767
10183  pagesize = *((unsigned int *)__cil_tmp26);
10184#line 769
10185  rc = alauda_read_block_raw(us, pba, page, pages, data);
10186  }
10187#line 770
10188  if (rc != 0) {
10189#line 771
10190    return (rc);
10191  } else {
10192
10193  }
10194#line 774
10195  i = 0;
10196  {
10197#line 774
10198  while (1) {
10199    while_continue: /* CIL Label */ ;
10200    {
10201#line 774
10202    __cil_tmp27 = (unsigned int )i;
10203#line 774
10204    if (__cil_tmp27 < pages) {
10205
10206    } else {
10207#line 774
10208      goto while_break;
10209    }
10210    }
10211    {
10212#line 775
10213    __cil_tmp28 = (unsigned int )i;
10214#line 775
10215    __cil_tmp29 = __cil_tmp28 * pagesize;
10216#line 775
10217    dest_offset = (int )__cil_tmp29;
10218#line 776
10219    __cil_tmp30 = pagesize + 64U;
10220#line 776
10221    __cil_tmp31 = (unsigned int )i;
10222#line 776
10223    __cil_tmp32 = __cil_tmp31 * __cil_tmp30;
10224#line 776
10225    src_offset = (int )__cil_tmp32;
10226#line 777
10227    __cil_tmp33 = data + dest_offset;
10228#line 777
10229    __cil_tmp34 = (void *)__cil_tmp33;
10230#line 777
10231    __cil_tmp35 = data + src_offset;
10232#line 777
10233    __cil_tmp36 = (void const   *)__cil_tmp35;
10234#line 777
10235    __cil_tmp37 = (size_t )pagesize;
10236#line 777
10237    memmove(__cil_tmp34, __cil_tmp36, __cil_tmp37);
10238#line 774
10239    i = i + 1;
10240    }
10241  }
10242  while_break: /* CIL Label */ ;
10243  }
10244#line 780
10245  return (rc);
10246}
10247}
10248#line 788 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
10249static int alauda_write_block(struct us_data *us , u16 pba , unsigned char *data ) 
10250{ int rc ;
10251  struct alauda_info *info ;
10252  unsigned char command[9] ;
10253  int tmp___7 ;
10254  unsigned long __cil_tmp8 ;
10255  unsigned long __cil_tmp9 ;
10256  void *__cil_tmp10 ;
10257  unsigned long __cil_tmp11 ;
10258  unsigned long __cil_tmp12 ;
10259  unsigned long __cil_tmp13 ;
10260  unsigned long __cil_tmp14 ;
10261  unsigned long __cil_tmp15 ;
10262  unsigned long __cil_tmp16 ;
10263  int __cil_tmp17 ;
10264  int __cil_tmp18 ;
10265  unsigned long __cil_tmp19 ;
10266  unsigned long __cil_tmp20 ;
10267  int __cil_tmp21 ;
10268  int __cil_tmp22 ;
10269  unsigned long __cil_tmp23 ;
10270  unsigned long __cil_tmp24 ;
10271  unsigned long __cil_tmp25 ;
10272  unsigned long __cil_tmp26 ;
10273  int __cil_tmp27 ;
10274  int __cil_tmp28 ;
10275  int __cil_tmp29 ;
10276  unsigned long __cil_tmp30 ;
10277  unsigned long __cil_tmp31 ;
10278  unsigned long __cil_tmp32 ;
10279  unsigned long __cil_tmp33 ;
10280  unsigned long __cil_tmp34 ;
10281  unsigned long __cil_tmp35 ;
10282  unsigned long __cil_tmp36 ;
10283  unsigned long __cil_tmp37 ;
10284  struct scsi_cmnd *__cil_tmp38 ;
10285  struct scsi_device *__cil_tmp39 ;
10286  unsigned long __cil_tmp40 ;
10287  unsigned long __cil_tmp41 ;
10288  unsigned int __cil_tmp42 ;
10289  int __cil_tmp43 ;
10290  unsigned long __cil_tmp44 ;
10291  unsigned long __cil_tmp45 ;
10292  unsigned int __cil_tmp46 ;
10293  unsigned long __cil_tmp47 ;
10294  unsigned long __cil_tmp48 ;
10295  unsigned char *__cil_tmp49 ;
10296  void *__cil_tmp50 ;
10297  void *__cil_tmp51 ;
10298  unsigned int *__cil_tmp52 ;
10299  unsigned long __cil_tmp53 ;
10300  unsigned long __cil_tmp54 ;
10301  int __cil_tmp55 ;
10302  unsigned int __cil_tmp56 ;
10303  void *__cil_tmp57 ;
10304  unsigned long __cil_tmp58 ;
10305  unsigned long __cil_tmp59 ;
10306  struct scsi_cmnd *__cil_tmp60 ;
10307  struct scsi_device *__cil_tmp61 ;
10308  unsigned long __cil_tmp62 ;
10309  unsigned long __cil_tmp63 ;
10310  unsigned int __cil_tmp64 ;
10311  unsigned long __cil_tmp65 ;
10312  unsigned long __cil_tmp66 ;
10313  unsigned long __cil_tmp67 ;
10314  unsigned long __cil_tmp68 ;
10315  unsigned long __cil_tmp69 ;
10316  void *__cil_tmp70 ;
10317  struct alauda_info *__cil_tmp71 ;
10318  unsigned long __cil_tmp72 ;
10319  unsigned long __cil_tmp73 ;
10320  unsigned int __cil_tmp74 ;
10321  unsigned long __cil_tmp75 ;
10322  unsigned long __cil_tmp76 ;
10323  struct scsi_cmnd *__cil_tmp77 ;
10324  struct scsi_device *__cil_tmp78 ;
10325  unsigned long __cil_tmp79 ;
10326  unsigned long __cil_tmp80 ;
10327  unsigned int __cil_tmp81 ;
10328  unsigned long __cil_tmp82 ;
10329  unsigned long __cil_tmp83 ;
10330  unsigned long __cil_tmp84 ;
10331  unsigned long __cil_tmp85 ;
10332  unsigned long __cil_tmp86 ;
10333  void *__cil_tmp87 ;
10334  struct alauda_info *__cil_tmp88 ;
10335  unsigned long __cil_tmp89 ;
10336  unsigned long __cil_tmp90 ;
10337  unsigned int __cil_tmp91 ;
10338  unsigned int __cil_tmp92 ;
10339  unsigned int __cil_tmp93 ;
10340  void *__cil_tmp94 ;
10341  unsigned int *__cil_tmp95 ;
10342
10343  {
10344  {
10345#line 791
10346  __cil_tmp8 = (unsigned long )us;
10347#line 791
10348  __cil_tmp9 = __cil_tmp8 + 648;
10349#line 791
10350  __cil_tmp10 = *((void **)__cil_tmp9);
10351#line 791
10352  info = (struct alauda_info *)__cil_tmp10;
10353#line 792
10354  __cil_tmp11 = 0 * 1UL;
10355#line 792
10356  __cil_tmp12 = (unsigned long )(command) + __cil_tmp11;
10357#line 792
10358  *((unsigned char *)__cil_tmp12) = (unsigned char)64;
10359#line 792
10360  __cil_tmp13 = 1 * 1UL;
10361#line 792
10362  __cil_tmp14 = (unsigned long )(command) + __cil_tmp13;
10363#line 792
10364  *((unsigned char *)__cil_tmp14) = (unsigned char)180;
10365#line 792
10366  __cil_tmp15 = 2 * 1UL;
10367#line 792
10368  __cil_tmp16 = (unsigned long )(command) + __cil_tmp15;
10369#line 792
10370  __cil_tmp17 = (int )pba;
10371#line 792
10372  __cil_tmp18 = __cil_tmp17 >> 3;
10373#line 792
10374  *((unsigned char *)__cil_tmp16) = (unsigned char )__cil_tmp18;
10375#line 792
10376  __cil_tmp19 = 3 * 1UL;
10377#line 792
10378  __cil_tmp20 = (unsigned long )(command) + __cil_tmp19;
10379#line 792
10380  __cil_tmp21 = (int )pba;
10381#line 792
10382  __cil_tmp22 = __cil_tmp21 >> 11;
10383#line 792
10384  *((unsigned char *)__cil_tmp20) = (unsigned char )__cil_tmp22;
10385#line 792
10386  __cil_tmp23 = 4 * 1UL;
10387#line 792
10388  __cil_tmp24 = (unsigned long )(command) + __cil_tmp23;
10389#line 792
10390  *((unsigned char *)__cil_tmp24) = (unsigned char)0;
10391#line 792
10392  __cil_tmp25 = 5 * 1UL;
10393#line 792
10394  __cil_tmp26 = (unsigned long )(command) + __cil_tmp25;
10395#line 792
10396  __cil_tmp27 = (int )pba;
10397#line 792
10398  __cil_tmp28 = __cil_tmp27 & 15;
10399#line 792
10400  __cil_tmp29 = __cil_tmp28 << 5;
10401#line 792
10402  *((unsigned char *)__cil_tmp26) = (unsigned char )__cil_tmp29;
10403#line 792
10404  __cil_tmp30 = 6 * 1UL;
10405#line 792
10406  __cil_tmp31 = (unsigned long )(command) + __cil_tmp30;
10407#line 792
10408  *((unsigned char *)__cil_tmp31) = (unsigned char)32;
10409#line 792
10410  __cil_tmp32 = 7 * 1UL;
10411#line 792
10412  __cil_tmp33 = (unsigned long )(command) + __cil_tmp32;
10413#line 792
10414  *((unsigned char *)__cil_tmp33) = (unsigned char)0;
10415#line 792
10416  __cil_tmp34 = 8 * 1UL;
10417#line 792
10418  __cil_tmp35 = (unsigned long )(command) + __cil_tmp34;
10419#line 792
10420  __cil_tmp36 = (unsigned long )us;
10421#line 792
10422  __cil_tmp37 = __cil_tmp36 + 192;
10423#line 792
10424  __cil_tmp38 = *((struct scsi_cmnd **)__cil_tmp37);
10425#line 792
10426  __cil_tmp39 = *((struct scsi_device **)__cil_tmp38);
10427#line 792
10428  __cil_tmp40 = (unsigned long )__cil_tmp39;
10429#line 792
10430  __cil_tmp41 = __cil_tmp40 + 156;
10431#line 792
10432  __cil_tmp42 = *((unsigned int *)__cil_tmp41);
10433#line 792
10434  *((unsigned char *)__cil_tmp35) = (unsigned char )__cil_tmp42;
10435#line 797
10436  __cil_tmp43 = (int )pba;
10437#line 797
10438  printk("<7>usb-storage: alauda_write_block: pba %d\n", __cil_tmp43);
10439#line 799
10440  __cil_tmp44 = (unsigned long )us;
10441#line 799
10442  __cil_tmp45 = __cil_tmp44 + 112;
10443#line 799
10444  __cil_tmp46 = *((unsigned int *)__cil_tmp45);
10445#line 799
10446  __cil_tmp47 = 0 * 1UL;
10447#line 799
10448  __cil_tmp48 = (unsigned long )(command) + __cil_tmp47;
10449#line 799
10450  __cil_tmp49 = (unsigned char *)__cil_tmp48;
10451#line 799
10452  __cil_tmp50 = (void *)__cil_tmp49;
10453#line 799
10454  __cil_tmp51 = (void *)0;
10455#line 799
10456  __cil_tmp52 = (unsigned int *)__cil_tmp51;
10457#line 799
10458  rc = usb_stor_bulk_transfer_buf(us, __cil_tmp46, __cil_tmp50, 9U, __cil_tmp52);
10459  }
10460#line 801
10461  if (rc != 0) {
10462#line 802
10463    return (rc);
10464  } else {
10465
10466  }
10467  {
10468#line 804
10469  __cil_tmp53 = (unsigned long )info;
10470#line 804
10471  __cil_tmp54 = __cil_tmp53 + 96;
10472#line 804
10473  __cil_tmp55 = *((int *)__cil_tmp54);
10474#line 804
10475  __cil_tmp56 = (unsigned int )__cil_tmp55;
10476#line 804
10477  __cil_tmp57 = (void *)data;
10478#line 804
10479  __cil_tmp58 = (unsigned long )us;
10480#line 804
10481  __cil_tmp59 = __cil_tmp58 + 192;
10482#line 804
10483  __cil_tmp60 = *((struct scsi_cmnd **)__cil_tmp59);
10484#line 804
10485  __cil_tmp61 = *((struct scsi_device **)__cil_tmp60);
10486#line 804
10487  __cil_tmp62 = (unsigned long )__cil_tmp61;
10488#line 804
10489  __cil_tmp63 = __cil_tmp62 + 156;
10490#line 804
10491  __cil_tmp64 = *((unsigned int *)__cil_tmp63);
10492#line 804
10493  __cil_tmp65 = __cil_tmp64 * 48UL;
10494#line 804
10495  __cil_tmp66 = __cil_tmp65 + 12;
10496#line 804
10497  __cil_tmp67 = 0 + __cil_tmp66;
10498#line 804
10499  __cil_tmp68 = (unsigned long )us;
10500#line 804
10501  __cil_tmp69 = __cil_tmp68 + 648;
10502#line 804
10503  __cil_tmp70 = *((void **)__cil_tmp69);
10504#line 804
10505  __cil_tmp71 = (struct alauda_info *)__cil_tmp70;
10506#line 804
10507  __cil_tmp72 = (unsigned long )__cil_tmp71;
10508#line 804
10509  __cil_tmp73 = __cil_tmp72 + __cil_tmp67;
10510#line 804
10511  __cil_tmp74 = *((unsigned int *)__cil_tmp73);
10512#line 804
10513  __cil_tmp75 = (unsigned long )us;
10514#line 804
10515  __cil_tmp76 = __cil_tmp75 + 192;
10516#line 804
10517  __cil_tmp77 = *((struct scsi_cmnd **)__cil_tmp76);
10518#line 804
10519  __cil_tmp78 = *((struct scsi_device **)__cil_tmp77);
10520#line 804
10521  __cil_tmp79 = (unsigned long )__cil_tmp78;
10522#line 804
10523  __cil_tmp80 = __cil_tmp79 + 156;
10524#line 804
10525  __cil_tmp81 = *((unsigned int *)__cil_tmp80);
10526#line 804
10527  __cil_tmp82 = __cil_tmp81 * 48UL;
10528#line 804
10529  __cil_tmp83 = __cil_tmp82 + 8;
10530#line 804
10531  __cil_tmp84 = 0 + __cil_tmp83;
10532#line 804
10533  __cil_tmp85 = (unsigned long )us;
10534#line 804
10535  __cil_tmp86 = __cil_tmp85 + 648;
10536#line 804
10537  __cil_tmp87 = *((void **)__cil_tmp86);
10538#line 804
10539  __cil_tmp88 = (struct alauda_info *)__cil_tmp87;
10540#line 804
10541  __cil_tmp89 = (unsigned long )__cil_tmp88;
10542#line 804
10543  __cil_tmp90 = __cil_tmp89 + __cil_tmp84;
10544#line 804
10545  __cil_tmp91 = *((unsigned int *)__cil_tmp90);
10546#line 804
10547  __cil_tmp92 = __cil_tmp91 + 64U;
10548#line 804
10549  __cil_tmp93 = __cil_tmp92 * __cil_tmp74;
10550#line 804
10551  __cil_tmp94 = (void *)0;
10552#line 804
10553  __cil_tmp95 = (unsigned int *)__cil_tmp94;
10554#line 804
10555  rc = usb_stor_bulk_transfer_buf(us, __cil_tmp56, __cil_tmp57, __cil_tmp93, __cil_tmp95);
10556  }
10557#line 807
10558  if (rc != 0) {
10559#line 808
10560    return (rc);
10561  } else {
10562
10563  }
10564  {
10565#line 810
10566  tmp___7 = alauda_check_status2(us);
10567  }
10568#line 810
10569  return (tmp___7);
10570}
10571}
10572#line 816 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
10573static int alauda_write_lba(struct us_data *us , u16 lba , unsigned int page , unsigned int pages ,
10574                            unsigned char *ptr , unsigned char *blockbuffer ) 
10575{ u16 pba ;
10576  u16 lbap ;
10577  u16 new_pba ;
10578  unsigned char *bptr ;
10579  unsigned char *cptr ;
10580  unsigned char *xptr ;
10581  unsigned char ecc[3] ;
10582  int i ;
10583  int result ;
10584  unsigned int uzonesize ;
10585  unsigned int zonesize ;
10586  unsigned int pagesize ;
10587  unsigned int blocksize ;
10588  unsigned int lba_offset ;
10589  unsigned int new_pba_offset ;
10590  unsigned int zone ;
10591  int tmp___7 ;
10592  int tmp___8 ;
10593  unsigned char tmp___9 ;
10594  unsigned char tmp___10 ;
10595  size_t __len ;
10596  void *__ret ;
10597  unsigned int pba_offset ;
10598  unsigned long __cil_tmp30 ;
10599  unsigned long __cil_tmp31 ;
10600  struct scsi_cmnd *__cil_tmp32 ;
10601  struct scsi_device *__cil_tmp33 ;
10602  unsigned long __cil_tmp34 ;
10603  unsigned long __cil_tmp35 ;
10604  unsigned int __cil_tmp36 ;
10605  unsigned long __cil_tmp37 ;
10606  unsigned long __cil_tmp38 ;
10607  unsigned long __cil_tmp39 ;
10608  unsigned long __cil_tmp40 ;
10609  unsigned long __cil_tmp41 ;
10610  void *__cil_tmp42 ;
10611  struct alauda_info *__cil_tmp43 ;
10612  unsigned long __cil_tmp44 ;
10613  unsigned long __cil_tmp45 ;
10614  unsigned long __cil_tmp46 ;
10615  unsigned long __cil_tmp47 ;
10616  struct scsi_cmnd *__cil_tmp48 ;
10617  struct scsi_device *__cil_tmp49 ;
10618  unsigned long __cil_tmp50 ;
10619  unsigned long __cil_tmp51 ;
10620  unsigned int __cil_tmp52 ;
10621  unsigned long __cil_tmp53 ;
10622  unsigned long __cil_tmp54 ;
10623  unsigned long __cil_tmp55 ;
10624  unsigned long __cil_tmp56 ;
10625  unsigned long __cil_tmp57 ;
10626  void *__cil_tmp58 ;
10627  struct alauda_info *__cil_tmp59 ;
10628  unsigned long __cil_tmp60 ;
10629  unsigned long __cil_tmp61 ;
10630  unsigned long __cil_tmp62 ;
10631  unsigned long __cil_tmp63 ;
10632  struct scsi_cmnd *__cil_tmp64 ;
10633  struct scsi_device *__cil_tmp65 ;
10634  unsigned long __cil_tmp66 ;
10635  unsigned long __cil_tmp67 ;
10636  unsigned int __cil_tmp68 ;
10637  unsigned long __cil_tmp69 ;
10638  unsigned long __cil_tmp70 ;
10639  unsigned long __cil_tmp71 ;
10640  unsigned long __cil_tmp72 ;
10641  unsigned long __cil_tmp73 ;
10642  void *__cil_tmp74 ;
10643  struct alauda_info *__cil_tmp75 ;
10644  unsigned long __cil_tmp76 ;
10645  unsigned long __cil_tmp77 ;
10646  unsigned long __cil_tmp78 ;
10647  unsigned long __cil_tmp79 ;
10648  struct scsi_cmnd *__cil_tmp80 ;
10649  struct scsi_device *__cil_tmp81 ;
10650  unsigned long __cil_tmp82 ;
10651  unsigned long __cil_tmp83 ;
10652  unsigned int __cil_tmp84 ;
10653  unsigned long __cil_tmp85 ;
10654  unsigned long __cil_tmp86 ;
10655  unsigned long __cil_tmp87 ;
10656  unsigned long __cil_tmp88 ;
10657  unsigned long __cil_tmp89 ;
10658  void *__cil_tmp90 ;
10659  struct alauda_info *__cil_tmp91 ;
10660  unsigned long __cil_tmp92 ;
10661  unsigned long __cil_tmp93 ;
10662  unsigned int __cil_tmp94 ;
10663  unsigned int __cil_tmp95 ;
10664  unsigned long __cil_tmp96 ;
10665  unsigned long __cil_tmp97 ;
10666  struct scsi_cmnd *__cil_tmp98 ;
10667  struct scsi_device *__cil_tmp99 ;
10668  unsigned long __cil_tmp100 ;
10669  unsigned long __cil_tmp101 ;
10670  unsigned int __cil_tmp102 ;
10671  unsigned long __cil_tmp103 ;
10672  unsigned long __cil_tmp104 ;
10673  unsigned long __cil_tmp105 ;
10674  unsigned long __cil_tmp106 ;
10675  unsigned long __cil_tmp107 ;
10676  void *__cil_tmp108 ;
10677  struct alauda_info *__cil_tmp109 ;
10678  unsigned long __cil_tmp110 ;
10679  unsigned long __cil_tmp111 ;
10680  u16 **__cil_tmp112 ;
10681  u16 **__cil_tmp113 ;
10682  u16 *__cil_tmp114 ;
10683  u16 *__cil_tmp115 ;
10684  int __cil_tmp116 ;
10685  unsigned long __cil_tmp117 ;
10686  unsigned long __cil_tmp118 ;
10687  struct scsi_cmnd *__cil_tmp119 ;
10688  struct scsi_device *__cil_tmp120 ;
10689  unsigned long __cil_tmp121 ;
10690  unsigned long __cil_tmp122 ;
10691  unsigned int __cil_tmp123 ;
10692  unsigned long __cil_tmp124 ;
10693  unsigned long __cil_tmp125 ;
10694  unsigned long __cil_tmp126 ;
10695  unsigned long __cil_tmp127 ;
10696  void *__cil_tmp128 ;
10697  struct alauda_info *__cil_tmp129 ;
10698  unsigned long __cil_tmp130 ;
10699  unsigned long __cil_tmp131 ;
10700  struct alauda_media_info *__cil_tmp132 ;
10701  int __cil_tmp133 ;
10702  void *__cil_tmp134 ;
10703  unsigned int __cil_tmp135 ;
10704  unsigned int __cil_tmp136 ;
10705  size_t __cil_tmp137 ;
10706  unsigned int __cil_tmp138 ;
10707  unsigned int __cil_tmp139 ;
10708  int __cil_tmp140 ;
10709  int __cil_tmp141 ;
10710  int __cil_tmp142 ;
10711  int __cil_tmp143 ;
10712  int __cil_tmp144 ;
10713  unsigned long __cil_tmp145 ;
10714  unsigned long __cil_tmp146 ;
10715  int __cil_tmp147 ;
10716  int __cil_tmp148 ;
10717  unsigned int __cil_tmp149 ;
10718  unsigned int __cil_tmp150 ;
10719  unsigned int __cil_tmp151 ;
10720  unsigned int __cil_tmp152 ;
10721  unsigned long __cil_tmp153 ;
10722  unsigned long __cil_tmp154 ;
10723  unsigned char *__cil_tmp155 ;
10724  unsigned char *__cil_tmp156 ;
10725  unsigned long __cil_tmp157 ;
10726  unsigned long __cil_tmp158 ;
10727  unsigned char *__cil_tmp159 ;
10728  int __cil_tmp160 ;
10729  unsigned char *__cil_tmp161 ;
10730  unsigned long __cil_tmp162 ;
10731  unsigned long __cil_tmp163 ;
10732  unsigned char *__cil_tmp164 ;
10733  unsigned int __cil_tmp165 ;
10734  unsigned char *__cil_tmp166 ;
10735  unsigned long __cil_tmp167 ;
10736  unsigned long __cil_tmp168 ;
10737  unsigned char *__cil_tmp169 ;
10738  unsigned char *__cil_tmp170 ;
10739  unsigned long __cil_tmp171 ;
10740  unsigned long __cil_tmp172 ;
10741  unsigned char *__cil_tmp173 ;
10742  int __cil_tmp174 ;
10743  unsigned char *__cil_tmp175 ;
10744  unsigned long __cil_tmp176 ;
10745  unsigned long __cil_tmp177 ;
10746  unsigned char *__cil_tmp178 ;
10747  int __cil_tmp179 ;
10748  int __cil_tmp180 ;
10749  unsigned char *__cil_tmp181 ;
10750  unsigned char *__cil_tmp182 ;
10751  int __cil_tmp183 ;
10752  int __cil_tmp184 ;
10753  unsigned char *__cil_tmp185 ;
10754  unsigned char *__cil_tmp186 ;
10755  unsigned int __cil_tmp187 ;
10756  unsigned int __cil_tmp188 ;
10757  unsigned int __cil_tmp189 ;
10758  unsigned int __cil_tmp190 ;
10759  unsigned int __cil_tmp191 ;
10760  void *__cil_tmp192 ;
10761  void const   *__cil_tmp193 ;
10762  unsigned long __cil_tmp194 ;
10763  unsigned long __cil_tmp195 ;
10764  unsigned char *__cil_tmp196 ;
10765  unsigned char *__cil_tmp197 ;
10766  unsigned long __cil_tmp198 ;
10767  unsigned long __cil_tmp199 ;
10768  unsigned char *__cil_tmp200 ;
10769  unsigned int __cil_tmp201 ;
10770  unsigned char *__cil_tmp202 ;
10771  unsigned long __cil_tmp203 ;
10772  unsigned long __cil_tmp204 ;
10773  unsigned char *__cil_tmp205 ;
10774  unsigned char *__cil_tmp206 ;
10775  unsigned long __cil_tmp207 ;
10776  unsigned long __cil_tmp208 ;
10777  unsigned char *__cil_tmp209 ;
10778  unsigned int __cil_tmp210 ;
10779  unsigned int __cil_tmp211 ;
10780  unsigned long __cil_tmp212 ;
10781  unsigned long __cil_tmp213 ;
10782  struct scsi_cmnd *__cil_tmp214 ;
10783  struct scsi_device *__cil_tmp215 ;
10784  unsigned long __cil_tmp216 ;
10785  unsigned long __cil_tmp217 ;
10786  unsigned int __cil_tmp218 ;
10787  unsigned long __cil_tmp219 ;
10788  unsigned long __cil_tmp220 ;
10789  unsigned long __cil_tmp221 ;
10790  unsigned long __cil_tmp222 ;
10791  unsigned long __cil_tmp223 ;
10792  void *__cil_tmp224 ;
10793  struct alauda_info *__cil_tmp225 ;
10794  unsigned long __cil_tmp226 ;
10795  unsigned long __cil_tmp227 ;
10796  u16 **__cil_tmp228 ;
10797  u16 **__cil_tmp229 ;
10798  u16 *__cil_tmp230 ;
10799  u16 *__cil_tmp231 ;
10800  unsigned long __cil_tmp232 ;
10801  unsigned long __cil_tmp233 ;
10802  struct scsi_cmnd *__cil_tmp234 ;
10803  struct scsi_device *__cil_tmp235 ;
10804  unsigned long __cil_tmp236 ;
10805  unsigned long __cil_tmp237 ;
10806  unsigned int __cil_tmp238 ;
10807  unsigned long __cil_tmp239 ;
10808  unsigned long __cil_tmp240 ;
10809  unsigned long __cil_tmp241 ;
10810  unsigned long __cil_tmp242 ;
10811  unsigned long __cil_tmp243 ;
10812  void *__cil_tmp244 ;
10813  struct alauda_info *__cil_tmp245 ;
10814  unsigned long __cil_tmp246 ;
10815  unsigned long __cil_tmp247 ;
10816  u16 **__cil_tmp248 ;
10817  u16 **__cil_tmp249 ;
10818  u16 *__cil_tmp250 ;
10819  u16 *__cil_tmp251 ;
10820  int __cil_tmp252 ;
10821  int __cil_tmp253 ;
10822  int __cil_tmp254 ;
10823  unsigned int __cil_tmp255 ;
10824  unsigned int __cil_tmp256 ;
10825  unsigned long __cil_tmp257 ;
10826  unsigned long __cil_tmp258 ;
10827  struct scsi_cmnd *__cil_tmp259 ;
10828  struct scsi_device *__cil_tmp260 ;
10829  unsigned long __cil_tmp261 ;
10830  unsigned long __cil_tmp262 ;
10831  unsigned int __cil_tmp263 ;
10832  unsigned long __cil_tmp264 ;
10833  unsigned long __cil_tmp265 ;
10834  unsigned long __cil_tmp266 ;
10835  unsigned long __cil_tmp267 ;
10836  unsigned long __cil_tmp268 ;
10837  void *__cil_tmp269 ;
10838  struct alauda_info *__cil_tmp270 ;
10839  unsigned long __cil_tmp271 ;
10840  unsigned long __cil_tmp272 ;
10841  u16 **__cil_tmp273 ;
10842  u16 **__cil_tmp274 ;
10843  u16 *__cil_tmp275 ;
10844  u16 *__cil_tmp276 ;
10845
10846  {
10847  {
10848#line 824
10849  __cil_tmp30 = (unsigned long )us;
10850#line 824
10851  __cil_tmp31 = __cil_tmp30 + 192;
10852#line 824
10853  __cil_tmp32 = *((struct scsi_cmnd **)__cil_tmp31);
10854#line 824
10855  __cil_tmp33 = *((struct scsi_device **)__cil_tmp32);
10856#line 824
10857  __cil_tmp34 = (unsigned long )__cil_tmp33;
10858#line 824
10859  __cil_tmp35 = __cil_tmp34 + 156;
10860#line 824
10861  __cil_tmp36 = *((unsigned int *)__cil_tmp35);
10862#line 824
10863  __cil_tmp37 = __cil_tmp36 * 48UL;
10864#line 824
10865  __cil_tmp38 = __cil_tmp37 + 16;
10866#line 824
10867  __cil_tmp39 = 0 + __cil_tmp38;
10868#line 824
10869  __cil_tmp40 = (unsigned long )us;
10870#line 824
10871  __cil_tmp41 = __cil_tmp40 + 648;
10872#line 824
10873  __cil_tmp42 = *((void **)__cil_tmp41);
10874#line 824
10875  __cil_tmp43 = (struct alauda_info *)__cil_tmp42;
10876#line 824
10877  __cil_tmp44 = (unsigned long )__cil_tmp43;
10878#line 824
10879  __cil_tmp45 = __cil_tmp44 + __cil_tmp39;
10880#line 824
10881  uzonesize = *((unsigned int *)__cil_tmp45);
10882#line 825
10883  __cil_tmp46 = (unsigned long )us;
10884#line 825
10885  __cil_tmp47 = __cil_tmp46 + 192;
10886#line 825
10887  __cil_tmp48 = *((struct scsi_cmnd **)__cil_tmp47);
10888#line 825
10889  __cil_tmp49 = *((struct scsi_device **)__cil_tmp48);
10890#line 825
10891  __cil_tmp50 = (unsigned long )__cil_tmp49;
10892#line 825
10893  __cil_tmp51 = __cil_tmp50 + 156;
10894#line 825
10895  __cil_tmp52 = *((unsigned int *)__cil_tmp51);
10896#line 825
10897  __cil_tmp53 = __cil_tmp52 * 48UL;
10898#line 825
10899  __cil_tmp54 = __cil_tmp53 + 20;
10900#line 825
10901  __cil_tmp55 = 0 + __cil_tmp54;
10902#line 825
10903  __cil_tmp56 = (unsigned long )us;
10904#line 825
10905  __cil_tmp57 = __cil_tmp56 + 648;
10906#line 825
10907  __cil_tmp58 = *((void **)__cil_tmp57);
10908#line 825
10909  __cil_tmp59 = (struct alauda_info *)__cil_tmp58;
10910#line 825
10911  __cil_tmp60 = (unsigned long )__cil_tmp59;
10912#line 825
10913  __cil_tmp61 = __cil_tmp60 + __cil_tmp55;
10914#line 825
10915  zonesize = *((unsigned int *)__cil_tmp61);
10916#line 826
10917  __cil_tmp62 = (unsigned long )us;
10918#line 826
10919  __cil_tmp63 = __cil_tmp62 + 192;
10920#line 826
10921  __cil_tmp64 = *((struct scsi_cmnd **)__cil_tmp63);
10922#line 826
10923  __cil_tmp65 = *((struct scsi_device **)__cil_tmp64);
10924#line 826
10925  __cil_tmp66 = (unsigned long )__cil_tmp65;
10926#line 826
10927  __cil_tmp67 = __cil_tmp66 + 156;
10928#line 826
10929  __cil_tmp68 = *((unsigned int *)__cil_tmp67);
10930#line 826
10931  __cil_tmp69 = __cil_tmp68 * 48UL;
10932#line 826
10933  __cil_tmp70 = __cil_tmp69 + 8;
10934#line 826
10935  __cil_tmp71 = 0 + __cil_tmp70;
10936#line 826
10937  __cil_tmp72 = (unsigned long )us;
10938#line 826
10939  __cil_tmp73 = __cil_tmp72 + 648;
10940#line 826
10941  __cil_tmp74 = *((void **)__cil_tmp73);
10942#line 826
10943  __cil_tmp75 = (struct alauda_info *)__cil_tmp74;
10944#line 826
10945  __cil_tmp76 = (unsigned long )__cil_tmp75;
10946#line 826
10947  __cil_tmp77 = __cil_tmp76 + __cil_tmp71;
10948#line 826
10949  pagesize = *((unsigned int *)__cil_tmp77);
10950#line 827
10951  __cil_tmp78 = (unsigned long )us;
10952#line 827
10953  __cil_tmp79 = __cil_tmp78 + 192;
10954#line 827
10955  __cil_tmp80 = *((struct scsi_cmnd **)__cil_tmp79);
10956#line 827
10957  __cil_tmp81 = *((struct scsi_device **)__cil_tmp80);
10958#line 827
10959  __cil_tmp82 = (unsigned long )__cil_tmp81;
10960#line 827
10961  __cil_tmp83 = __cil_tmp82 + 156;
10962#line 827
10963  __cil_tmp84 = *((unsigned int *)__cil_tmp83);
10964#line 827
10965  __cil_tmp85 = __cil_tmp84 * 48UL;
10966#line 827
10967  __cil_tmp86 = __cil_tmp85 + 12;
10968#line 827
10969  __cil_tmp87 = 0 + __cil_tmp86;
10970#line 827
10971  __cil_tmp88 = (unsigned long )us;
10972#line 827
10973  __cil_tmp89 = __cil_tmp88 + 648;
10974#line 827
10975  __cil_tmp90 = *((void **)__cil_tmp89);
10976#line 827
10977  __cil_tmp91 = (struct alauda_info *)__cil_tmp90;
10978#line 827
10979  __cil_tmp92 = (unsigned long )__cil_tmp91;
10980#line 827
10981  __cil_tmp93 = __cil_tmp92 + __cil_tmp87;
10982#line 827
10983  blocksize = *((unsigned int *)__cil_tmp93);
10984#line 828
10985  __cil_tmp94 = (unsigned int )lba;
10986#line 828
10987  lba_offset = __cil_tmp94 % uzonesize;
10988#line 830
10989  __cil_tmp95 = (unsigned int )lba;
10990#line 830
10991  zone = __cil_tmp95 / uzonesize;
10992#line 832
10993  alauda_ensure_map_for_zone(us, zone);
10994#line 834
10995  __cil_tmp96 = (unsigned long )us;
10996#line 834
10997  __cil_tmp97 = __cil_tmp96 + 192;
10998#line 834
10999  __cil_tmp98 = *((struct scsi_cmnd **)__cil_tmp97);
11000#line 834
11001  __cil_tmp99 = *((struct scsi_device **)__cil_tmp98);
11002#line 834
11003  __cil_tmp100 = (unsigned long )__cil_tmp99;
11004#line 834
11005  __cil_tmp101 = __cil_tmp100 + 156;
11006#line 834
11007  __cil_tmp102 = *((unsigned int *)__cil_tmp101);
11008#line 834
11009  __cil_tmp103 = __cil_tmp102 * 48UL;
11010#line 834
11011  __cil_tmp104 = __cil_tmp103 + 32;
11012#line 834
11013  __cil_tmp105 = 0 + __cil_tmp104;
11014#line 834
11015  __cil_tmp106 = (unsigned long )us;
11016#line 834
11017  __cil_tmp107 = __cil_tmp106 + 648;
11018#line 834
11019  __cil_tmp108 = *((void **)__cil_tmp107);
11020#line 834
11021  __cil_tmp109 = (struct alauda_info *)__cil_tmp108;
11022#line 834
11023  __cil_tmp110 = (unsigned long )__cil_tmp109;
11024#line 834
11025  __cil_tmp111 = __cil_tmp110 + __cil_tmp105;
11026#line 834
11027  __cil_tmp112 = *((u16 ***)__cil_tmp111);
11028#line 834
11029  __cil_tmp113 = __cil_tmp112 + zone;
11030#line 834
11031  __cil_tmp114 = *__cil_tmp113;
11032#line 834
11033  __cil_tmp115 = __cil_tmp114 + lba_offset;
11034#line 834
11035  pba = *__cil_tmp115;
11036  }
11037  {
11038#line 835
11039  __cil_tmp116 = (int )pba;
11040#line 835
11041  if (__cil_tmp116 == 1) {
11042    {
11043#line 838
11044    printk("<4>alauda_write_lba: avoid writing to pba 1\n");
11045    }
11046#line 840
11047    return (0);
11048  } else {
11049
11050  }
11051  }
11052  {
11053#line 843
11054  __cil_tmp117 = (unsigned long )us;
11055#line 843
11056  __cil_tmp118 = __cil_tmp117 + 192;
11057#line 843
11058  __cil_tmp119 = *((struct scsi_cmnd **)__cil_tmp118);
11059#line 843
11060  __cil_tmp120 = *((struct scsi_device **)__cil_tmp119);
11061#line 843
11062  __cil_tmp121 = (unsigned long )__cil_tmp120;
11063#line 843
11064  __cil_tmp122 = __cil_tmp121 + 156;
11065#line 843
11066  __cil_tmp123 = *((unsigned int *)__cil_tmp122);
11067#line 843
11068  __cil_tmp124 = __cil_tmp123 * 48UL;
11069#line 843
11070  __cil_tmp125 = 0 + __cil_tmp124;
11071#line 843
11072  __cil_tmp126 = (unsigned long )us;
11073#line 843
11074  __cil_tmp127 = __cil_tmp126 + 648;
11075#line 843
11076  __cil_tmp128 = *((void **)__cil_tmp127);
11077#line 843
11078  __cil_tmp129 = (struct alauda_info *)__cil_tmp128;
11079#line 843
11080  __cil_tmp130 = (unsigned long )__cil_tmp129;
11081#line 843
11082  __cil_tmp131 = __cil_tmp130 + __cil_tmp125;
11083#line 843
11084  __cil_tmp132 = (struct alauda_media_info *)__cil_tmp131;
11085#line 843
11086  new_pba = alauda_find_unused_pba(__cil_tmp132, zone);
11087  }
11088#line 844
11089  if (! new_pba) {
11090    {
11091#line 845
11092    printk("<4>alauda_write_lba: Out of unused blocks\n");
11093    }
11094#line 847
11095    return (3);
11096  } else {
11097
11098  }
11099  {
11100#line 851
11101  __cil_tmp133 = (int )pba;
11102#line 851
11103  if (__cil_tmp133 != 65535) {
11104    {
11105#line 852
11106    result = alauda_read_block_raw(us, pba, 0U, blocksize, blockbuffer);
11107    }
11108#line 854
11109    if (result != 0) {
11110#line 855
11111      return (result);
11112    } else {
11113
11114    }
11115  } else {
11116    {
11117#line 857
11118    __cil_tmp134 = (void *)blockbuffer;
11119#line 857
11120    __cil_tmp135 = pagesize + 64U;
11121#line 857
11122    __cil_tmp136 = blocksize * __cil_tmp135;
11123#line 857
11124    __cil_tmp137 = (size_t )__cil_tmp136;
11125#line 857
11126    memset(__cil_tmp134, 0, __cil_tmp137);
11127    }
11128  }
11129  }
11130#line 860
11131  __cil_tmp138 = lba_offset << 1;
11132#line 860
11133  __cil_tmp139 = __cil_tmp138 | 4096U;
11134#line 860
11135  lbap = (u16 )__cil_tmp139;
11136  {
11137#line 861
11138  __cil_tmp140 = (int )lbap;
11139#line 861
11140  __cil_tmp141 = __cil_tmp140 & 255;
11141#line 861
11142  __cil_tmp142 = (int )lbap;
11143#line 861
11144  __cil_tmp143 = __cil_tmp142 >> 8;
11145#line 861
11146  __cil_tmp144 = __cil_tmp143 ^ __cil_tmp141;
11147#line 861
11148  __cil_tmp145 = __cil_tmp144 * 1UL;
11149#line 861
11150  __cil_tmp146 = (unsigned long )(parity) + __cil_tmp145;
11151#line 861
11152  if (*((unsigned char *)__cil_tmp146)) {
11153#line 862
11154    __cil_tmp147 = (int )lbap;
11155#line 862
11156    __cil_tmp148 = __cil_tmp147 ^ 1;
11157#line 862
11158    lbap = (u16 )__cil_tmp148;
11159  } else {
11160
11161  }
11162  }
11163#line 865
11164  i = 0;
11165  {
11166#line 865
11167  while (1) {
11168    while_continue: /* CIL Label */ ;
11169    {
11170#line 865
11171    __cil_tmp149 = (unsigned int )i;
11172#line 865
11173    if (__cil_tmp149 < blocksize) {
11174
11175    } else {
11176#line 865
11177      goto while_break;
11178    }
11179    }
11180    {
11181#line 866
11182    __cil_tmp150 = pagesize + 64U;
11183#line 866
11184    __cil_tmp151 = (unsigned int )i;
11185#line 866
11186    __cil_tmp152 = __cil_tmp151 * __cil_tmp150;
11187#line 866
11188    bptr = blockbuffer + __cil_tmp152;
11189#line 867
11190    cptr = bptr + pagesize;
11191#line 868
11192    __cil_tmp153 = 0 * 1UL;
11193#line 868
11194    __cil_tmp154 = (unsigned long )(ecc) + __cil_tmp153;
11195#line 868
11196    __cil_tmp155 = (unsigned char *)__cil_tmp154;
11197#line 868
11198    nand_compute_ecc(bptr, __cil_tmp155);
11199#line 869
11200    __cil_tmp156 = cptr + 13;
11201#line 869
11202    __cil_tmp157 = 0 * 1UL;
11203#line 869
11204    __cil_tmp158 = (unsigned long )(ecc) + __cil_tmp157;
11205#line 869
11206    __cil_tmp159 = (unsigned char *)__cil_tmp158;
11207#line 869
11208    tmp___7 = nand_compare_ecc(__cil_tmp156, __cil_tmp159);
11209    }
11210#line 869
11211    if (tmp___7) {
11212
11213    } else {
11214      {
11215#line 870
11216      __cil_tmp160 = (int )pba;
11217#line 870
11218      printk("<7>usb-storage: Warning: bad ecc in page %d- of pba %d\n", i, __cil_tmp160);
11219#line 872
11220      __cil_tmp161 = cptr + 13;
11221#line 872
11222      __cil_tmp162 = 0 * 1UL;
11223#line 872
11224      __cil_tmp163 = (unsigned long )(ecc) + __cil_tmp162;
11225#line 872
11226      __cil_tmp164 = (unsigned char *)__cil_tmp163;
11227#line 872
11228      nand_store_ecc(__cil_tmp161, __cil_tmp164);
11229      }
11230    }
11231    {
11232#line 874
11233    __cil_tmp165 = pagesize / 2U;
11234#line 874
11235    __cil_tmp166 = bptr + __cil_tmp165;
11236#line 874
11237    __cil_tmp167 = 0 * 1UL;
11238#line 874
11239    __cil_tmp168 = (unsigned long )(ecc) + __cil_tmp167;
11240#line 874
11241    __cil_tmp169 = (unsigned char *)__cil_tmp168;
11242#line 874
11243    nand_compute_ecc(__cil_tmp166, __cil_tmp169);
11244#line 875
11245    __cil_tmp170 = cptr + 8;
11246#line 875
11247    __cil_tmp171 = 0 * 1UL;
11248#line 875
11249    __cil_tmp172 = (unsigned long )(ecc) + __cil_tmp171;
11250#line 875
11251    __cil_tmp173 = (unsigned char *)__cil_tmp172;
11252#line 875
11253    tmp___8 = nand_compare_ecc(__cil_tmp170, __cil_tmp173);
11254    }
11255#line 875
11256    if (tmp___8) {
11257
11258    } else {
11259      {
11260#line 876
11261      __cil_tmp174 = (int )pba;
11262#line 876
11263      printk("<7>usb-storage: Warning: bad ecc in page %d+ of pba %d\n", i, __cil_tmp174);
11264#line 878
11265      __cil_tmp175 = cptr + 8;
11266#line 878
11267      __cil_tmp176 = 0 * 1UL;
11268#line 878
11269      __cil_tmp177 = (unsigned long )(ecc) + __cil_tmp176;
11270#line 878
11271      __cil_tmp178 = (unsigned char *)__cil_tmp177;
11272#line 878
11273      nand_store_ecc(__cil_tmp175, __cil_tmp178);
11274      }
11275    }
11276#line 880
11277    __cil_tmp179 = (int )lbap;
11278#line 880
11279    __cil_tmp180 = __cil_tmp179 >> 8;
11280#line 880
11281    tmp___9 = (unsigned char )__cil_tmp180;
11282#line 880
11283    __cil_tmp181 = cptr + 11;
11284#line 880
11285    *__cil_tmp181 = tmp___9;
11286#line 880
11287    __cil_tmp182 = cptr + 6;
11288#line 880
11289    *__cil_tmp182 = tmp___9;
11290#line 881
11291    __cil_tmp183 = (int )lbap;
11292#line 881
11293    __cil_tmp184 = __cil_tmp183 & 255;
11294#line 881
11295    tmp___10 = (unsigned char )__cil_tmp184;
11296#line 881
11297    __cil_tmp185 = cptr + 12;
11298#line 881
11299    *__cil_tmp185 = tmp___10;
11300#line 881
11301    __cil_tmp186 = cptr + 7;
11302#line 881
11303    *__cil_tmp186 = tmp___10;
11304#line 865
11305    i = i + 1;
11306  }
11307  while_break: /* CIL Label */ ;
11308  }
11309#line 885
11310  xptr = ptr;
11311#line 886
11312  i = (int )page;
11313  {
11314#line 886
11315  while (1) {
11316    while_continue___0: /* CIL Label */ ;
11317    {
11318#line 886
11319    __cil_tmp187 = page + pages;
11320#line 886
11321    __cil_tmp188 = (unsigned int )i;
11322#line 886
11323    if (__cil_tmp188 < __cil_tmp187) {
11324
11325    } else {
11326#line 886
11327      goto while_break___0;
11328    }
11329    }
11330    {
11331#line 887
11332    __cil_tmp189 = pagesize + 64U;
11333#line 887
11334    __cil_tmp190 = (unsigned int )i;
11335#line 887
11336    __cil_tmp191 = __cil_tmp190 * __cil_tmp189;
11337#line 887
11338    bptr = blockbuffer + __cil_tmp191;
11339#line 888
11340    cptr = bptr + pagesize;
11341#line 889
11342    __len = (size_t )pagesize;
11343#line 889
11344    __cil_tmp192 = (void *)bptr;
11345#line 889
11346    __cil_tmp193 = (void const   *)xptr;
11347#line 889
11348    __ret = __builtin_memcpy(__cil_tmp192, __cil_tmp193, __len);
11349#line 890
11350    xptr = xptr + pagesize;
11351#line 891
11352    __cil_tmp194 = 0 * 1UL;
11353#line 891
11354    __cil_tmp195 = (unsigned long )(ecc) + __cil_tmp194;
11355#line 891
11356    __cil_tmp196 = (unsigned char *)__cil_tmp195;
11357#line 891
11358    nand_compute_ecc(bptr, __cil_tmp196);
11359#line 892
11360    __cil_tmp197 = cptr + 13;
11361#line 892
11362    __cil_tmp198 = 0 * 1UL;
11363#line 892
11364    __cil_tmp199 = (unsigned long )(ecc) + __cil_tmp198;
11365#line 892
11366    __cil_tmp200 = (unsigned char *)__cil_tmp199;
11367#line 892
11368    nand_store_ecc(__cil_tmp197, __cil_tmp200);
11369#line 893
11370    __cil_tmp201 = pagesize / 2U;
11371#line 893
11372    __cil_tmp202 = bptr + __cil_tmp201;
11373#line 893
11374    __cil_tmp203 = 0 * 1UL;
11375#line 893
11376    __cil_tmp204 = (unsigned long )(ecc) + __cil_tmp203;
11377#line 893
11378    __cil_tmp205 = (unsigned char *)__cil_tmp204;
11379#line 893
11380    nand_compute_ecc(__cil_tmp202, __cil_tmp205);
11381#line 894
11382    __cil_tmp206 = cptr + 8;
11383#line 894
11384    __cil_tmp207 = 0 * 1UL;
11385#line 894
11386    __cil_tmp208 = (unsigned long )(ecc) + __cil_tmp207;
11387#line 894
11388    __cil_tmp209 = (unsigned char *)__cil_tmp208;
11389#line 894
11390    nand_store_ecc(__cil_tmp206, __cil_tmp209);
11391#line 886
11392    i = i + 1;
11393    }
11394  }
11395  while_break___0: /* CIL Label */ ;
11396  }
11397  {
11398#line 897
11399  result = alauda_write_block(us, new_pba, blockbuffer);
11400  }
11401#line 898
11402  if (result != 0) {
11403#line 899
11404    return (result);
11405  } else {
11406
11407  }
11408  {
11409#line 901
11410  __cil_tmp210 = zone * zonesize;
11411#line 901
11412  __cil_tmp211 = (unsigned int )new_pba;
11413#line 901
11414  new_pba_offset = __cil_tmp211 - __cil_tmp210;
11415#line 902
11416  __cil_tmp212 = (unsigned long )us;
11417#line 902
11418  __cil_tmp213 = __cil_tmp212 + 192;
11419#line 902
11420  __cil_tmp214 = *((struct scsi_cmnd **)__cil_tmp213);
11421#line 902
11422  __cil_tmp215 = *((struct scsi_device **)__cil_tmp214);
11423#line 902
11424  __cil_tmp216 = (unsigned long )__cil_tmp215;
11425#line 902
11426  __cil_tmp217 = __cil_tmp216 + 156;
11427#line 902
11428  __cil_tmp218 = *((unsigned int *)__cil_tmp217);
11429#line 902
11430  __cil_tmp219 = __cil_tmp218 * 48UL;
11431#line 902
11432  __cil_tmp220 = __cil_tmp219 + 40;
11433#line 902
11434  __cil_tmp221 = 0 + __cil_tmp220;
11435#line 902
11436  __cil_tmp222 = (unsigned long )us;
11437#line 902
11438  __cil_tmp223 = __cil_tmp222 + 648;
11439#line 902
11440  __cil_tmp224 = *((void **)__cil_tmp223);
11441#line 902
11442  __cil_tmp225 = (struct alauda_info *)__cil_tmp224;
11443#line 902
11444  __cil_tmp226 = (unsigned long )__cil_tmp225;
11445#line 902
11446  __cil_tmp227 = __cil_tmp226 + __cil_tmp221;
11447#line 902
11448  __cil_tmp228 = *((u16 ***)__cil_tmp227);
11449#line 902
11450  __cil_tmp229 = __cil_tmp228 + zone;
11451#line 902
11452  __cil_tmp230 = *__cil_tmp229;
11453#line 902
11454  __cil_tmp231 = __cil_tmp230 + new_pba_offset;
11455#line 902
11456  *__cil_tmp231 = lba;
11457#line 903
11458  __cil_tmp232 = (unsigned long )us;
11459#line 903
11460  __cil_tmp233 = __cil_tmp232 + 192;
11461#line 903
11462  __cil_tmp234 = *((struct scsi_cmnd **)__cil_tmp233);
11463#line 903
11464  __cil_tmp235 = *((struct scsi_device **)__cil_tmp234);
11465#line 903
11466  __cil_tmp236 = (unsigned long )__cil_tmp235;
11467#line 903
11468  __cil_tmp237 = __cil_tmp236 + 156;
11469#line 903
11470  __cil_tmp238 = *((unsigned int *)__cil_tmp237);
11471#line 903
11472  __cil_tmp239 = __cil_tmp238 * 48UL;
11473#line 903
11474  __cil_tmp240 = __cil_tmp239 + 32;
11475#line 903
11476  __cil_tmp241 = 0 + __cil_tmp240;
11477#line 903
11478  __cil_tmp242 = (unsigned long )us;
11479#line 903
11480  __cil_tmp243 = __cil_tmp242 + 648;
11481#line 903
11482  __cil_tmp244 = *((void **)__cil_tmp243);
11483#line 903
11484  __cil_tmp245 = (struct alauda_info *)__cil_tmp244;
11485#line 903
11486  __cil_tmp246 = (unsigned long )__cil_tmp245;
11487#line 903
11488  __cil_tmp247 = __cil_tmp246 + __cil_tmp241;
11489#line 903
11490  __cil_tmp248 = *((u16 ***)__cil_tmp247);
11491#line 903
11492  __cil_tmp249 = __cil_tmp248 + zone;
11493#line 903
11494  __cil_tmp250 = *__cil_tmp249;
11495#line 903
11496  __cil_tmp251 = __cil_tmp250 + lba_offset;
11497#line 903
11498  *__cil_tmp251 = new_pba;
11499#line 904
11500  __cil_tmp252 = (int )lba;
11501#line 904
11502  __cil_tmp253 = (int )new_pba;
11503#line 904
11504  printk("<7>usb-storage: alauda_write_lba: Remapped LBA %d to PBA %d\n", __cil_tmp252,
11505         __cil_tmp253);
11506  }
11507  {
11508#line 907
11509  __cil_tmp254 = (int )pba;
11510#line 907
11511  if (__cil_tmp254 != 65535) {
11512    {
11513#line 908
11514    __cil_tmp255 = zone * zonesize;
11515#line 908
11516    __cil_tmp256 = (unsigned int )pba;
11517#line 908
11518    pba_offset = __cil_tmp256 - __cil_tmp255;
11519#line 909
11520    result = alauda_erase_block(us, pba);
11521    }
11522#line 910
11523    if (result != 0) {
11524#line 911
11525      return (result);
11526    } else {
11527
11528    }
11529#line 912
11530    __cil_tmp257 = (unsigned long )us;
11531#line 912
11532    __cil_tmp258 = __cil_tmp257 + 192;
11533#line 912
11534    __cil_tmp259 = *((struct scsi_cmnd **)__cil_tmp258);
11535#line 912
11536    __cil_tmp260 = *((struct scsi_device **)__cil_tmp259);
11537#line 912
11538    __cil_tmp261 = (unsigned long )__cil_tmp260;
11539#line 912
11540    __cil_tmp262 = __cil_tmp261 + 156;
11541#line 912
11542    __cil_tmp263 = *((unsigned int *)__cil_tmp262);
11543#line 912
11544    __cil_tmp264 = __cil_tmp263 * 48UL;
11545#line 912
11546    __cil_tmp265 = __cil_tmp264 + 40;
11547#line 912
11548    __cil_tmp266 = 0 + __cil_tmp265;
11549#line 912
11550    __cil_tmp267 = (unsigned long )us;
11551#line 912
11552    __cil_tmp268 = __cil_tmp267 + 648;
11553#line 912
11554    __cil_tmp269 = *((void **)__cil_tmp268);
11555#line 912
11556    __cil_tmp270 = (struct alauda_info *)__cil_tmp269;
11557#line 912
11558    __cil_tmp271 = (unsigned long )__cil_tmp270;
11559#line 912
11560    __cil_tmp272 = __cil_tmp271 + __cil_tmp266;
11561#line 912
11562    __cil_tmp273 = *((u16 ***)__cil_tmp272);
11563#line 912
11564    __cil_tmp274 = __cil_tmp273 + zone;
11565#line 912
11566    __cil_tmp275 = *__cil_tmp274;
11567#line 912
11568    __cil_tmp276 = __cil_tmp275 + pba_offset;
11569#line 912
11570    *__cil_tmp276 = (u16 )65535;
11571  } else {
11572
11573  }
11574  }
11575#line 915
11576  return (0);
11577}
11578}
11579#line 921 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
11580static int alauda_read_data(struct us_data *us , unsigned long address , unsigned int sectors ) 
11581{ unsigned char *buffer ;
11582  u16 lba ;
11583  u16 max_lba ;
11584  unsigned int page ;
11585  unsigned int len ;
11586  unsigned int offset ;
11587  unsigned int blockshift ;
11588  unsigned int pageshift ;
11589  unsigned int blocksize ;
11590  unsigned int pagesize ;
11591  unsigned int uzonesize ;
11592  struct scatterlist *sg ;
11593  int result ;
11594  unsigned int _min1 ;
11595  unsigned int _min2 ;
11596  unsigned int tmp___7 ;
11597  void *tmp___8 ;
11598  unsigned int zone ;
11599  unsigned int lba_offset ;
11600  unsigned int pages ;
11601  u16 pba ;
11602  unsigned int _min1___0 ;
11603  unsigned int _min2___0 ;
11604  unsigned int tmp___9 ;
11605  unsigned long __cil_tmp28 ;
11606  unsigned long __cil_tmp29 ;
11607  struct scsi_cmnd *__cil_tmp30 ;
11608  struct scsi_device *__cil_tmp31 ;
11609  unsigned long __cil_tmp32 ;
11610  unsigned long __cil_tmp33 ;
11611  unsigned int __cil_tmp34 ;
11612  unsigned long __cil_tmp35 ;
11613  unsigned long __cil_tmp36 ;
11614  unsigned long __cil_tmp37 ;
11615  unsigned long __cil_tmp38 ;
11616  unsigned long __cil_tmp39 ;
11617  void *__cil_tmp40 ;
11618  struct alauda_info *__cil_tmp41 ;
11619  unsigned long __cil_tmp42 ;
11620  unsigned long __cil_tmp43 ;
11621  unsigned char __cil_tmp44 ;
11622  unsigned long __cil_tmp45 ;
11623  unsigned long __cil_tmp46 ;
11624  struct scsi_cmnd *__cil_tmp47 ;
11625  struct scsi_device *__cil_tmp48 ;
11626  unsigned long __cil_tmp49 ;
11627  unsigned long __cil_tmp50 ;
11628  unsigned int __cil_tmp51 ;
11629  unsigned long __cil_tmp52 ;
11630  unsigned long __cil_tmp53 ;
11631  unsigned long __cil_tmp54 ;
11632  unsigned long __cil_tmp55 ;
11633  unsigned long __cil_tmp56 ;
11634  void *__cil_tmp57 ;
11635  struct alauda_info *__cil_tmp58 ;
11636  unsigned long __cil_tmp59 ;
11637  unsigned long __cil_tmp60 ;
11638  unsigned char __cil_tmp61 ;
11639  unsigned long __cil_tmp62 ;
11640  unsigned long __cil_tmp63 ;
11641  struct scsi_cmnd *__cil_tmp64 ;
11642  struct scsi_device *__cil_tmp65 ;
11643  unsigned long __cil_tmp66 ;
11644  unsigned long __cil_tmp67 ;
11645  unsigned int __cil_tmp68 ;
11646  unsigned long __cil_tmp69 ;
11647  unsigned long __cil_tmp70 ;
11648  unsigned long __cil_tmp71 ;
11649  unsigned long __cil_tmp72 ;
11650  unsigned long __cil_tmp73 ;
11651  void *__cil_tmp74 ;
11652  struct alauda_info *__cil_tmp75 ;
11653  unsigned long __cil_tmp76 ;
11654  unsigned long __cil_tmp77 ;
11655  unsigned long __cil_tmp78 ;
11656  unsigned long __cil_tmp79 ;
11657  struct scsi_cmnd *__cil_tmp80 ;
11658  struct scsi_device *__cil_tmp81 ;
11659  unsigned long __cil_tmp82 ;
11660  unsigned long __cil_tmp83 ;
11661  unsigned int __cil_tmp84 ;
11662  unsigned long __cil_tmp85 ;
11663  unsigned long __cil_tmp86 ;
11664  unsigned long __cil_tmp87 ;
11665  unsigned long __cil_tmp88 ;
11666  unsigned long __cil_tmp89 ;
11667  void *__cil_tmp90 ;
11668  struct alauda_info *__cil_tmp91 ;
11669  unsigned long __cil_tmp92 ;
11670  unsigned long __cil_tmp93 ;
11671  unsigned long __cil_tmp94 ;
11672  unsigned long __cil_tmp95 ;
11673  struct scsi_cmnd *__cil_tmp96 ;
11674  struct scsi_device *__cil_tmp97 ;
11675  unsigned long __cil_tmp98 ;
11676  unsigned long __cil_tmp99 ;
11677  unsigned int __cil_tmp100 ;
11678  unsigned long __cil_tmp101 ;
11679  unsigned long __cil_tmp102 ;
11680  unsigned long __cil_tmp103 ;
11681  unsigned long __cil_tmp104 ;
11682  unsigned long __cil_tmp105 ;
11683  void *__cil_tmp106 ;
11684  struct alauda_info *__cil_tmp107 ;
11685  unsigned long __cil_tmp108 ;
11686  unsigned long __cil_tmp109 ;
11687  unsigned int *__cil_tmp110 ;
11688  unsigned int *__cil_tmp111 ;
11689  unsigned int *__cil_tmp112 ;
11690  unsigned int __cil_tmp113 ;
11691  unsigned int *__cil_tmp114 ;
11692  unsigned int __cil_tmp115 ;
11693  unsigned int *__cil_tmp116 ;
11694  unsigned int *__cil_tmp117 ;
11695  unsigned int __cil_tmp118 ;
11696  size_t __cil_tmp119 ;
11697  void *__cil_tmp120 ;
11698  unsigned long __cil_tmp121 ;
11699  unsigned long __cil_tmp122 ;
11700  unsigned long __cil_tmp123 ;
11701  unsigned long __cil_tmp124 ;
11702  unsigned long __cil_tmp125 ;
11703  struct scsi_cmnd *__cil_tmp126 ;
11704  struct scsi_device *__cil_tmp127 ;
11705  unsigned long __cil_tmp128 ;
11706  unsigned long __cil_tmp129 ;
11707  unsigned int __cil_tmp130 ;
11708  unsigned long __cil_tmp131 ;
11709  unsigned long __cil_tmp132 ;
11710  unsigned long __cil_tmp133 ;
11711  unsigned long __cil_tmp134 ;
11712  unsigned long __cil_tmp135 ;
11713  void *__cil_tmp136 ;
11714  struct alauda_info *__cil_tmp137 ;
11715  unsigned long __cil_tmp138 ;
11716  unsigned long __cil_tmp139 ;
11717  unsigned int __cil_tmp140 ;
11718  unsigned long __cil_tmp141 ;
11719  unsigned long __cil_tmp142 ;
11720  unsigned int __cil_tmp143 ;
11721  unsigned long __cil_tmp144 ;
11722  unsigned long __cil_tmp145 ;
11723  struct scsi_cmnd *__cil_tmp146 ;
11724  struct scsi_device *__cil_tmp147 ;
11725  unsigned long __cil_tmp148 ;
11726  unsigned long __cil_tmp149 ;
11727  unsigned int __cil_tmp150 ;
11728  unsigned long __cil_tmp151 ;
11729  unsigned long __cil_tmp152 ;
11730  unsigned long __cil_tmp153 ;
11731  unsigned long __cil_tmp154 ;
11732  void *__cil_tmp155 ;
11733  struct alauda_info *__cil_tmp156 ;
11734  unsigned long __cil_tmp157 ;
11735  unsigned long __cil_tmp158 ;
11736  unsigned long __cil_tmp159 ;
11737  unsigned long __cil_tmp160 ;
11738  unsigned int *__cil_tmp161 ;
11739  struct scatterlist **__cil_tmp162 ;
11740  void *__cil_tmp163 ;
11741  unsigned int __cil_tmp164 ;
11742  unsigned int __cil_tmp165 ;
11743  unsigned int __cil_tmp166 ;
11744  int __cil_tmp167 ;
11745  int __cil_tmp168 ;
11746  int __cil_tmp169 ;
11747  int __cil_tmp170 ;
11748  unsigned int *__cil_tmp171 ;
11749  unsigned int *__cil_tmp172 ;
11750  unsigned int *__cil_tmp173 ;
11751  unsigned int __cil_tmp174 ;
11752  unsigned int *__cil_tmp175 ;
11753  unsigned int __cil_tmp176 ;
11754  unsigned int *__cil_tmp177 ;
11755  unsigned int *__cil_tmp178 ;
11756  unsigned long __cil_tmp179 ;
11757  unsigned long __cil_tmp180 ;
11758  struct scsi_cmnd *__cil_tmp181 ;
11759  struct scsi_device *__cil_tmp182 ;
11760  unsigned long __cil_tmp183 ;
11761  unsigned long __cil_tmp184 ;
11762  unsigned int __cil_tmp185 ;
11763  unsigned long __cil_tmp186 ;
11764  unsigned long __cil_tmp187 ;
11765  unsigned long __cil_tmp188 ;
11766  unsigned long __cil_tmp189 ;
11767  unsigned long __cil_tmp190 ;
11768  void *__cil_tmp191 ;
11769  struct alauda_info *__cil_tmp192 ;
11770  unsigned long __cil_tmp193 ;
11771  unsigned long __cil_tmp194 ;
11772  u16 **__cil_tmp195 ;
11773  u16 **__cil_tmp196 ;
11774  u16 *__cil_tmp197 ;
11775  u16 *__cil_tmp198 ;
11776  int __cil_tmp199 ;
11777  int __cil_tmp200 ;
11778  void *__cil_tmp201 ;
11779  size_t __cil_tmp202 ;
11780  int __cil_tmp203 ;
11781  int __cil_tmp204 ;
11782  unsigned long __cil_tmp205 ;
11783  unsigned long __cil_tmp206 ;
11784  struct scsi_cmnd *__cil_tmp207 ;
11785  enum xfer_buf_dir __cil_tmp208 ;
11786  int __cil_tmp209 ;
11787  int __cil_tmp210 ;
11788  void const   *__cil_tmp211 ;
11789
11790  {
11791#line 927
11792  __cil_tmp28 = (unsigned long )us;
11793#line 927
11794  __cil_tmp29 = __cil_tmp28 + 192;
11795#line 927
11796  __cil_tmp30 = *((struct scsi_cmnd **)__cil_tmp29);
11797#line 927
11798  __cil_tmp31 = *((struct scsi_device **)__cil_tmp30);
11799#line 927
11800  __cil_tmp32 = (unsigned long )__cil_tmp31;
11801#line 927
11802  __cil_tmp33 = __cil_tmp32 + 156;
11803#line 927
11804  __cil_tmp34 = *((unsigned int *)__cil_tmp33);
11805#line 927
11806  __cil_tmp35 = __cil_tmp34 * 48UL;
11807#line 927
11808  __cil_tmp36 = __cil_tmp35 + 29;
11809#line 927
11810  __cil_tmp37 = 0 + __cil_tmp36;
11811#line 927
11812  __cil_tmp38 = (unsigned long )us;
11813#line 927
11814  __cil_tmp39 = __cil_tmp38 + 648;
11815#line 927
11816  __cil_tmp40 = *((void **)__cil_tmp39);
11817#line 927
11818  __cil_tmp41 = (struct alauda_info *)__cil_tmp40;
11819#line 927
11820  __cil_tmp42 = (unsigned long )__cil_tmp41;
11821#line 927
11822  __cil_tmp43 = __cil_tmp42 + __cil_tmp37;
11823#line 927
11824  __cil_tmp44 = *((unsigned char *)__cil_tmp43);
11825#line 927
11826  blockshift = (unsigned int )__cil_tmp44;
11827#line 928
11828  __cil_tmp45 = (unsigned long )us;
11829#line 928
11830  __cil_tmp46 = __cil_tmp45 + 192;
11831#line 928
11832  __cil_tmp47 = *((struct scsi_cmnd **)__cil_tmp46);
11833#line 928
11834  __cil_tmp48 = *((struct scsi_device **)__cil_tmp47);
11835#line 928
11836  __cil_tmp49 = (unsigned long )__cil_tmp48;
11837#line 928
11838  __cil_tmp50 = __cil_tmp49 + 156;
11839#line 928
11840  __cil_tmp51 = *((unsigned int *)__cil_tmp50);
11841#line 928
11842  __cil_tmp52 = __cil_tmp51 * 48UL;
11843#line 928
11844  __cil_tmp53 = __cil_tmp52 + 28;
11845#line 928
11846  __cil_tmp54 = 0 + __cil_tmp53;
11847#line 928
11848  __cil_tmp55 = (unsigned long )us;
11849#line 928
11850  __cil_tmp56 = __cil_tmp55 + 648;
11851#line 928
11852  __cil_tmp57 = *((void **)__cil_tmp56);
11853#line 928
11854  __cil_tmp58 = (struct alauda_info *)__cil_tmp57;
11855#line 928
11856  __cil_tmp59 = (unsigned long )__cil_tmp58;
11857#line 928
11858  __cil_tmp60 = __cil_tmp59 + __cil_tmp54;
11859#line 928
11860  __cil_tmp61 = *((unsigned char *)__cil_tmp60);
11861#line 928
11862  pageshift = (unsigned int )__cil_tmp61;
11863#line 929
11864  __cil_tmp62 = (unsigned long )us;
11865#line 929
11866  __cil_tmp63 = __cil_tmp62 + 192;
11867#line 929
11868  __cil_tmp64 = *((struct scsi_cmnd **)__cil_tmp63);
11869#line 929
11870  __cil_tmp65 = *((struct scsi_device **)__cil_tmp64);
11871#line 929
11872  __cil_tmp66 = (unsigned long )__cil_tmp65;
11873#line 929
11874  __cil_tmp67 = __cil_tmp66 + 156;
11875#line 929
11876  __cil_tmp68 = *((unsigned int *)__cil_tmp67);
11877#line 929
11878  __cil_tmp69 = __cil_tmp68 * 48UL;
11879#line 929
11880  __cil_tmp70 = __cil_tmp69 + 12;
11881#line 929
11882  __cil_tmp71 = 0 + __cil_tmp70;
11883#line 929
11884  __cil_tmp72 = (unsigned long )us;
11885#line 929
11886  __cil_tmp73 = __cil_tmp72 + 648;
11887#line 929
11888  __cil_tmp74 = *((void **)__cil_tmp73);
11889#line 929
11890  __cil_tmp75 = (struct alauda_info *)__cil_tmp74;
11891#line 929
11892  __cil_tmp76 = (unsigned long )__cil_tmp75;
11893#line 929
11894  __cil_tmp77 = __cil_tmp76 + __cil_tmp71;
11895#line 929
11896  blocksize = *((unsigned int *)__cil_tmp77);
11897#line 930
11898  __cil_tmp78 = (unsigned long )us;
11899#line 930
11900  __cil_tmp79 = __cil_tmp78 + 192;
11901#line 930
11902  __cil_tmp80 = *((struct scsi_cmnd **)__cil_tmp79);
11903#line 930
11904  __cil_tmp81 = *((struct scsi_device **)__cil_tmp80);
11905#line 930
11906  __cil_tmp82 = (unsigned long )__cil_tmp81;
11907#line 930
11908  __cil_tmp83 = __cil_tmp82 + 156;
11909#line 930
11910  __cil_tmp84 = *((unsigned int *)__cil_tmp83);
11911#line 930
11912  __cil_tmp85 = __cil_tmp84 * 48UL;
11913#line 930
11914  __cil_tmp86 = __cil_tmp85 + 8;
11915#line 930
11916  __cil_tmp87 = 0 + __cil_tmp86;
11917#line 930
11918  __cil_tmp88 = (unsigned long )us;
11919#line 930
11920  __cil_tmp89 = __cil_tmp88 + 648;
11921#line 930
11922  __cil_tmp90 = *((void **)__cil_tmp89);
11923#line 930
11924  __cil_tmp91 = (struct alauda_info *)__cil_tmp90;
11925#line 930
11926  __cil_tmp92 = (unsigned long )__cil_tmp91;
11927#line 930
11928  __cil_tmp93 = __cil_tmp92 + __cil_tmp87;
11929#line 930
11930  pagesize = *((unsigned int *)__cil_tmp93);
11931#line 931
11932  __cil_tmp94 = (unsigned long )us;
11933#line 931
11934  __cil_tmp95 = __cil_tmp94 + 192;
11935#line 931
11936  __cil_tmp96 = *((struct scsi_cmnd **)__cil_tmp95);
11937#line 931
11938  __cil_tmp97 = *((struct scsi_device **)__cil_tmp96);
11939#line 931
11940  __cil_tmp98 = (unsigned long )__cil_tmp97;
11941#line 931
11942  __cil_tmp99 = __cil_tmp98 + 156;
11943#line 931
11944  __cil_tmp100 = *((unsigned int *)__cil_tmp99);
11945#line 931
11946  __cil_tmp101 = __cil_tmp100 * 48UL;
11947#line 931
11948  __cil_tmp102 = __cil_tmp101 + 16;
11949#line 931
11950  __cil_tmp103 = 0 + __cil_tmp102;
11951#line 931
11952  __cil_tmp104 = (unsigned long )us;
11953#line 931
11954  __cil_tmp105 = __cil_tmp104 + 648;
11955#line 931
11956  __cil_tmp106 = *((void **)__cil_tmp105);
11957#line 931
11958  __cil_tmp107 = (struct alauda_info *)__cil_tmp106;
11959#line 931
11960  __cil_tmp108 = (unsigned long )__cil_tmp107;
11961#line 931
11962  __cil_tmp109 = __cil_tmp108 + __cil_tmp103;
11963#line 931
11964  uzonesize = *((unsigned int *)__cil_tmp109);
11965#line 943
11966  __cil_tmp110 = & _min1;
11967#line 943
11968  *__cil_tmp110 = sectors;
11969#line 943
11970  __cil_tmp111 = & _min2;
11971#line 943
11972  *__cil_tmp111 = blocksize;
11973  {
11974#line 943
11975  __cil_tmp112 = & _min2;
11976#line 943
11977  __cil_tmp113 = *__cil_tmp112;
11978#line 943
11979  __cil_tmp114 = & _min1;
11980#line 943
11981  __cil_tmp115 = *__cil_tmp114;
11982#line 943
11983  if (__cil_tmp115 < __cil_tmp113) {
11984#line 943
11985    __cil_tmp116 = & _min1;
11986#line 943
11987    tmp___7 = *__cil_tmp116;
11988  } else {
11989#line 943
11990    __cil_tmp117 = & _min2;
11991#line 943
11992    tmp___7 = *__cil_tmp117;
11993  }
11994  }
11995  {
11996#line 943
11997  __cil_tmp118 = pagesize + 64U;
11998#line 943
11999  len = tmp___7 * __cil_tmp118;
12000#line 944
12001  __cil_tmp119 = (size_t )len;
12002#line 944
12003  tmp___8 = kmalloc(__cil_tmp119, 16U);
12004#line 944
12005  buffer = (unsigned char *)tmp___8;
12006  }
12007  {
12008#line 945
12009  __cil_tmp120 = (void *)0;
12010#line 945
12011  __cil_tmp121 = (unsigned long )__cil_tmp120;
12012#line 945
12013  __cil_tmp122 = (unsigned long )buffer;
12014#line 945
12015  if (__cil_tmp122 == __cil_tmp121) {
12016    {
12017#line 946
12018    printk("<4>alauda_read_data: Out of memory\n");
12019    }
12020#line 947
12021    return (3);
12022  } else {
12023
12024  }
12025  }
12026#line 951
12027  __cil_tmp123 = address >> blockshift;
12028#line 951
12029  lba = (u16 )__cil_tmp123;
12030#line 952
12031  __cil_tmp124 = (unsigned long )us;
12032#line 952
12033  __cil_tmp125 = __cil_tmp124 + 192;
12034#line 952
12035  __cil_tmp126 = *((struct scsi_cmnd **)__cil_tmp125);
12036#line 952
12037  __cil_tmp127 = *((struct scsi_device **)__cil_tmp126);
12038#line 952
12039  __cil_tmp128 = (unsigned long )__cil_tmp127;
12040#line 952
12041  __cil_tmp129 = __cil_tmp128 + 156;
12042#line 952
12043  __cil_tmp130 = *((unsigned int *)__cil_tmp129);
12044#line 952
12045  __cil_tmp131 = __cil_tmp130 * 48UL;
12046#line 952
12047  __cil_tmp132 = __cil_tmp131 + 24;
12048#line 952
12049  __cil_tmp133 = 0 + __cil_tmp132;
12050#line 952
12051  __cil_tmp134 = (unsigned long )us;
12052#line 952
12053  __cil_tmp135 = __cil_tmp134 + 648;
12054#line 952
12055  __cil_tmp136 = *((void **)__cil_tmp135);
12056#line 952
12057  __cil_tmp137 = (struct alauda_info *)__cil_tmp136;
12058#line 952
12059  __cil_tmp138 = (unsigned long )__cil_tmp137;
12060#line 952
12061  __cil_tmp139 = __cil_tmp138 + __cil_tmp133;
12062#line 952
12063  __cil_tmp140 = *((unsigned int *)__cil_tmp139);
12064#line 952
12065  __cil_tmp141 = (unsigned long )__cil_tmp140;
12066#line 952
12067  __cil_tmp142 = address & __cil_tmp141;
12068#line 952
12069  page = (unsigned int )__cil_tmp142;
12070#line 953
12071  __cil_tmp143 = blockshift + pageshift;
12072#line 953
12073  __cil_tmp144 = (unsigned long )us;
12074#line 953
12075  __cil_tmp145 = __cil_tmp144 + 192;
12076#line 953
12077  __cil_tmp146 = *((struct scsi_cmnd **)__cil_tmp145);
12078#line 953
12079  __cil_tmp147 = *((struct scsi_device **)__cil_tmp146);
12080#line 953
12081  __cil_tmp148 = (unsigned long )__cil_tmp147;
12082#line 953
12083  __cil_tmp149 = __cil_tmp148 + 156;
12084#line 953
12085  __cil_tmp150 = *((unsigned int *)__cil_tmp149);
12086#line 953
12087  __cil_tmp151 = __cil_tmp150 * 48UL;
12088#line 953
12089  __cil_tmp152 = 0 + __cil_tmp151;
12090#line 953
12091  __cil_tmp153 = (unsigned long )us;
12092#line 953
12093  __cil_tmp154 = __cil_tmp153 + 648;
12094#line 953
12095  __cil_tmp155 = *((void **)__cil_tmp154);
12096#line 953
12097  __cil_tmp156 = (struct alauda_info *)__cil_tmp155;
12098#line 953
12099  __cil_tmp157 = (unsigned long )__cil_tmp156;
12100#line 953
12101  __cil_tmp158 = __cil_tmp157 + __cil_tmp152;
12102#line 953
12103  __cil_tmp159 = *((unsigned long *)__cil_tmp158);
12104#line 953
12105  __cil_tmp160 = __cil_tmp159 >> __cil_tmp143;
12106#line 953
12107  max_lba = (u16 )__cil_tmp160;
12108#line 955
12109  result = 0;
12110#line 956
12111  __cil_tmp161 = & offset;
12112#line 956
12113  *__cil_tmp161 = 0U;
12114#line 957
12115  __cil_tmp162 = & sg;
12116#line 957
12117  __cil_tmp163 = (void *)0;
12118#line 957
12119  *__cil_tmp162 = (struct scatterlist *)__cil_tmp163;
12120  {
12121#line 959
12122  while (1) {
12123    while_continue: /* CIL Label */ ;
12124#line 959
12125    if (sectors > 0U) {
12126
12127    } else {
12128#line 959
12129      goto while_break;
12130    }
12131    {
12132#line 960
12133    __cil_tmp164 = (unsigned int )lba;
12134#line 960
12135    zone = __cil_tmp164 / uzonesize;
12136#line 961
12137    __cil_tmp165 = zone * uzonesize;
12138#line 961
12139    __cil_tmp166 = (unsigned int )lba;
12140#line 961
12141    lba_offset = __cil_tmp166 - __cil_tmp165;
12142#line 964
12143    alauda_ensure_map_for_zone(us, zone);
12144    }
12145    {
12146#line 967
12147    __cil_tmp167 = (int )max_lba;
12148#line 967
12149    __cil_tmp168 = (int )lba;
12150#line 967
12151    if (__cil_tmp168 >= __cil_tmp167) {
12152      {
12153#line 968
12154      __cil_tmp169 = (int )lba;
12155#line 968
12156      __cil_tmp170 = (int )max_lba;
12157#line 968
12158      printk("<7>usb-storage: Error: Requested lba %u exceeds maximum %u\n", __cil_tmp169,
12159             __cil_tmp170);
12160#line 970
12161      result = 3;
12162      }
12163#line 971
12164      goto while_break;
12165    } else {
12166
12167    }
12168    }
12169#line 975
12170    __cil_tmp171 = & _min1___0;
12171#line 975
12172    *__cil_tmp171 = sectors;
12173#line 975
12174    __cil_tmp172 = & _min2___0;
12175#line 975
12176    *__cil_tmp172 = blocksize - page;
12177    {
12178#line 975
12179    __cil_tmp173 = & _min2___0;
12180#line 975
12181    __cil_tmp174 = *__cil_tmp173;
12182#line 975
12183    __cil_tmp175 = & _min1___0;
12184#line 975
12185    __cil_tmp176 = *__cil_tmp175;
12186#line 975
12187    if (__cil_tmp176 < __cil_tmp174) {
12188#line 975
12189      __cil_tmp177 = & _min1___0;
12190#line 975
12191      tmp___9 = *__cil_tmp177;
12192    } else {
12193#line 975
12194      __cil_tmp178 = & _min2___0;
12195#line 975
12196      tmp___9 = *__cil_tmp178;
12197    }
12198    }
12199#line 975
12200    pages = tmp___9;
12201#line 976
12202    len = pages << pageshift;
12203#line 979
12204    __cil_tmp179 = (unsigned long )us;
12205#line 979
12206    __cil_tmp180 = __cil_tmp179 + 192;
12207#line 979
12208    __cil_tmp181 = *((struct scsi_cmnd **)__cil_tmp180);
12209#line 979
12210    __cil_tmp182 = *((struct scsi_device **)__cil_tmp181);
12211#line 979
12212    __cil_tmp183 = (unsigned long )__cil_tmp182;
12213#line 979
12214    __cil_tmp184 = __cil_tmp183 + 156;
12215#line 979
12216    __cil_tmp185 = *((unsigned int *)__cil_tmp184);
12217#line 979
12218    __cil_tmp186 = __cil_tmp185 * 48UL;
12219#line 979
12220    __cil_tmp187 = __cil_tmp186 + 32;
12221#line 979
12222    __cil_tmp188 = 0 + __cil_tmp187;
12223#line 979
12224    __cil_tmp189 = (unsigned long )us;
12225#line 979
12226    __cil_tmp190 = __cil_tmp189 + 648;
12227#line 979
12228    __cil_tmp191 = *((void **)__cil_tmp190);
12229#line 979
12230    __cil_tmp192 = (struct alauda_info *)__cil_tmp191;
12231#line 979
12232    __cil_tmp193 = (unsigned long )__cil_tmp192;
12233#line 979
12234    __cil_tmp194 = __cil_tmp193 + __cil_tmp188;
12235#line 979
12236    __cil_tmp195 = *((u16 ***)__cil_tmp194);
12237#line 979
12238    __cil_tmp196 = __cil_tmp195 + zone;
12239#line 979
12240    __cil_tmp197 = *__cil_tmp196;
12241#line 979
12242    __cil_tmp198 = __cil_tmp197 + lba_offset;
12243#line 979
12244    pba = *__cil_tmp198;
12245    {
12246#line 981
12247    __cil_tmp199 = (int )pba;
12248#line 981
12249    if (__cil_tmp199 == 65535) {
12250      {
12251#line 982
12252      __cil_tmp200 = (int )lba;
12253#line 982
12254      printk("<7>usb-storage: Read %d zero pages (LBA %d) page %d\n", pages, __cil_tmp200,
12255             page);
12256#line 990
12257      __cil_tmp201 = (void *)buffer;
12258#line 990
12259      __cil_tmp202 = (size_t )len;
12260#line 990
12261      memset(__cil_tmp201, 0, __cil_tmp202);
12262      }
12263    } else {
12264      {
12265#line 992
12266      __cil_tmp203 = (int )pba;
12267#line 992
12268      __cil_tmp204 = (int )lba;
12269#line 992
12270      printk("<7>usb-storage: Read %d pages, from PBA %d (LBA %d) page %d\n", pages,
12271             __cil_tmp203, __cil_tmp204, page);
12272#line 996
12273      result = alauda_read_block(us, pba, page, pages, buffer);
12274      }
12275#line 997
12276      if (result != 0) {
12277#line 998
12278        goto while_break;
12279      } else {
12280
12281      }
12282    }
12283    }
12284    {
12285#line 1002
12286    __cil_tmp205 = (unsigned long )us;
12287#line 1002
12288    __cil_tmp206 = __cil_tmp205 + 192;
12289#line 1002
12290    __cil_tmp207 = *((struct scsi_cmnd **)__cil_tmp206);
12291#line 1002
12292    __cil_tmp208 = (enum xfer_buf_dir )0;
12293#line 1002
12294    usb_stor_access_xfer_buf(buffer, len, __cil_tmp207, & sg, & offset, __cil_tmp208);
12295#line 1005
12296    page = 0U;
12297#line 1006
12298    __cil_tmp209 = (int )lba;
12299#line 1006
12300    __cil_tmp210 = __cil_tmp209 + 1;
12301#line 1006
12302    lba = (u16 )__cil_tmp210;
12303#line 1007
12304    sectors = sectors - pages;
12305    }
12306  }
12307  while_break: /* CIL Label */ ;
12308  }
12309  {
12310#line 1010
12311  __cil_tmp211 = (void const   *)buffer;
12312#line 1010
12313  kfree(__cil_tmp211);
12314  }
12315#line 1011
12316  return (result);
12317}
12318}
12319#line 1017 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
12320static int alauda_write_data(struct us_data *us , unsigned long address , unsigned int sectors ) 
12321{ unsigned char *buffer ;
12322  unsigned char *blockbuffer ;
12323  unsigned int page ;
12324  unsigned int len ;
12325  unsigned int offset ;
12326  unsigned int blockshift ;
12327  unsigned int pageshift ;
12328  unsigned int blocksize ;
12329  unsigned int pagesize ;
12330  struct scatterlist *sg ;
12331  u16 lba ;
12332  u16 max_lba ;
12333  int result ;
12334  unsigned int _min1 ;
12335  unsigned int _min2 ;
12336  unsigned int tmp___7 ;
12337  void *tmp___8 ;
12338  void *tmp___9 ;
12339  unsigned int pages ;
12340  unsigned int _min1___0 ;
12341  unsigned int _min2___0 ;
12342  unsigned int tmp___10 ;
12343  unsigned long __cil_tmp26 ;
12344  unsigned long __cil_tmp27 ;
12345  struct scsi_cmnd *__cil_tmp28 ;
12346  struct scsi_device *__cil_tmp29 ;
12347  unsigned long __cil_tmp30 ;
12348  unsigned long __cil_tmp31 ;
12349  unsigned int __cil_tmp32 ;
12350  unsigned long __cil_tmp33 ;
12351  unsigned long __cil_tmp34 ;
12352  unsigned long __cil_tmp35 ;
12353  unsigned long __cil_tmp36 ;
12354  unsigned long __cil_tmp37 ;
12355  void *__cil_tmp38 ;
12356  struct alauda_info *__cil_tmp39 ;
12357  unsigned long __cil_tmp40 ;
12358  unsigned long __cil_tmp41 ;
12359  unsigned char __cil_tmp42 ;
12360  unsigned long __cil_tmp43 ;
12361  unsigned long __cil_tmp44 ;
12362  struct scsi_cmnd *__cil_tmp45 ;
12363  struct scsi_device *__cil_tmp46 ;
12364  unsigned long __cil_tmp47 ;
12365  unsigned long __cil_tmp48 ;
12366  unsigned int __cil_tmp49 ;
12367  unsigned long __cil_tmp50 ;
12368  unsigned long __cil_tmp51 ;
12369  unsigned long __cil_tmp52 ;
12370  unsigned long __cil_tmp53 ;
12371  unsigned long __cil_tmp54 ;
12372  void *__cil_tmp55 ;
12373  struct alauda_info *__cil_tmp56 ;
12374  unsigned long __cil_tmp57 ;
12375  unsigned long __cil_tmp58 ;
12376  unsigned char __cil_tmp59 ;
12377  unsigned long __cil_tmp60 ;
12378  unsigned long __cil_tmp61 ;
12379  struct scsi_cmnd *__cil_tmp62 ;
12380  struct scsi_device *__cil_tmp63 ;
12381  unsigned long __cil_tmp64 ;
12382  unsigned long __cil_tmp65 ;
12383  unsigned int __cil_tmp66 ;
12384  unsigned long __cil_tmp67 ;
12385  unsigned long __cil_tmp68 ;
12386  unsigned long __cil_tmp69 ;
12387  unsigned long __cil_tmp70 ;
12388  unsigned long __cil_tmp71 ;
12389  void *__cil_tmp72 ;
12390  struct alauda_info *__cil_tmp73 ;
12391  unsigned long __cil_tmp74 ;
12392  unsigned long __cil_tmp75 ;
12393  unsigned long __cil_tmp76 ;
12394  unsigned long __cil_tmp77 ;
12395  struct scsi_cmnd *__cil_tmp78 ;
12396  struct scsi_device *__cil_tmp79 ;
12397  unsigned long __cil_tmp80 ;
12398  unsigned long __cil_tmp81 ;
12399  unsigned int __cil_tmp82 ;
12400  unsigned long __cil_tmp83 ;
12401  unsigned long __cil_tmp84 ;
12402  unsigned long __cil_tmp85 ;
12403  unsigned long __cil_tmp86 ;
12404  unsigned long __cil_tmp87 ;
12405  void *__cil_tmp88 ;
12406  struct alauda_info *__cil_tmp89 ;
12407  unsigned long __cil_tmp90 ;
12408  unsigned long __cil_tmp91 ;
12409  unsigned int *__cil_tmp92 ;
12410  unsigned int *__cil_tmp93 ;
12411  unsigned int *__cil_tmp94 ;
12412  unsigned int __cil_tmp95 ;
12413  unsigned int *__cil_tmp96 ;
12414  unsigned int __cil_tmp97 ;
12415  unsigned int *__cil_tmp98 ;
12416  unsigned int *__cil_tmp99 ;
12417  size_t __cil_tmp100 ;
12418  void *__cil_tmp101 ;
12419  unsigned long __cil_tmp102 ;
12420  unsigned long __cil_tmp103 ;
12421  unsigned int __cil_tmp104 ;
12422  unsigned int __cil_tmp105 ;
12423  size_t __cil_tmp106 ;
12424  void *__cil_tmp107 ;
12425  unsigned long __cil_tmp108 ;
12426  unsigned long __cil_tmp109 ;
12427  void const   *__cil_tmp110 ;
12428  unsigned long __cil_tmp111 ;
12429  unsigned long __cil_tmp112 ;
12430  unsigned long __cil_tmp113 ;
12431  struct scsi_cmnd *__cil_tmp114 ;
12432  struct scsi_device *__cil_tmp115 ;
12433  unsigned long __cil_tmp116 ;
12434  unsigned long __cil_tmp117 ;
12435  unsigned int __cil_tmp118 ;
12436  unsigned long __cil_tmp119 ;
12437  unsigned long __cil_tmp120 ;
12438  unsigned long __cil_tmp121 ;
12439  unsigned long __cil_tmp122 ;
12440  unsigned long __cil_tmp123 ;
12441  void *__cil_tmp124 ;
12442  struct alauda_info *__cil_tmp125 ;
12443  unsigned long __cil_tmp126 ;
12444  unsigned long __cil_tmp127 ;
12445  unsigned int __cil_tmp128 ;
12446  unsigned long __cil_tmp129 ;
12447  unsigned long __cil_tmp130 ;
12448  unsigned int __cil_tmp131 ;
12449  unsigned long __cil_tmp132 ;
12450  unsigned long __cil_tmp133 ;
12451  struct scsi_cmnd *__cil_tmp134 ;
12452  struct scsi_device *__cil_tmp135 ;
12453  unsigned long __cil_tmp136 ;
12454  unsigned long __cil_tmp137 ;
12455  unsigned int __cil_tmp138 ;
12456  unsigned long __cil_tmp139 ;
12457  unsigned long __cil_tmp140 ;
12458  unsigned long __cil_tmp141 ;
12459  unsigned long __cil_tmp142 ;
12460  void *__cil_tmp143 ;
12461  struct alauda_info *__cil_tmp144 ;
12462  unsigned long __cil_tmp145 ;
12463  unsigned long __cil_tmp146 ;
12464  unsigned long __cil_tmp147 ;
12465  unsigned long __cil_tmp148 ;
12466  unsigned int *__cil_tmp149 ;
12467  struct scatterlist **__cil_tmp150 ;
12468  void *__cil_tmp151 ;
12469  unsigned int *__cil_tmp152 ;
12470  unsigned int *__cil_tmp153 ;
12471  unsigned int *__cil_tmp154 ;
12472  unsigned int __cil_tmp155 ;
12473  unsigned int *__cil_tmp156 ;
12474  unsigned int __cil_tmp157 ;
12475  unsigned int *__cil_tmp158 ;
12476  unsigned int *__cil_tmp159 ;
12477  int __cil_tmp160 ;
12478  int __cil_tmp161 ;
12479  int __cil_tmp162 ;
12480  int __cil_tmp163 ;
12481  unsigned long __cil_tmp164 ;
12482  unsigned long __cil_tmp165 ;
12483  struct scsi_cmnd *__cil_tmp166 ;
12484  enum xfer_buf_dir __cil_tmp167 ;
12485  int __cil_tmp168 ;
12486  int __cil_tmp169 ;
12487  void const   *__cil_tmp170 ;
12488  void const   *__cil_tmp171 ;
12489
12490  {
12491#line 1022
12492  __cil_tmp26 = (unsigned long )us;
12493#line 1022
12494  __cil_tmp27 = __cil_tmp26 + 192;
12495#line 1022
12496  __cil_tmp28 = *((struct scsi_cmnd **)__cil_tmp27);
12497#line 1022
12498  __cil_tmp29 = *((struct scsi_device **)__cil_tmp28);
12499#line 1022
12500  __cil_tmp30 = (unsigned long )__cil_tmp29;
12501#line 1022
12502  __cil_tmp31 = __cil_tmp30 + 156;
12503#line 1022
12504  __cil_tmp32 = *((unsigned int *)__cil_tmp31);
12505#line 1022
12506  __cil_tmp33 = __cil_tmp32 * 48UL;
12507#line 1022
12508  __cil_tmp34 = __cil_tmp33 + 29;
12509#line 1022
12510  __cil_tmp35 = 0 + __cil_tmp34;
12511#line 1022
12512  __cil_tmp36 = (unsigned long )us;
12513#line 1022
12514  __cil_tmp37 = __cil_tmp36 + 648;
12515#line 1022
12516  __cil_tmp38 = *((void **)__cil_tmp37);
12517#line 1022
12518  __cil_tmp39 = (struct alauda_info *)__cil_tmp38;
12519#line 1022
12520  __cil_tmp40 = (unsigned long )__cil_tmp39;
12521#line 1022
12522  __cil_tmp41 = __cil_tmp40 + __cil_tmp35;
12523#line 1022
12524  __cil_tmp42 = *((unsigned char *)__cil_tmp41);
12525#line 1022
12526  blockshift = (unsigned int )__cil_tmp42;
12527#line 1023
12528  __cil_tmp43 = (unsigned long )us;
12529#line 1023
12530  __cil_tmp44 = __cil_tmp43 + 192;
12531#line 1023
12532  __cil_tmp45 = *((struct scsi_cmnd **)__cil_tmp44);
12533#line 1023
12534  __cil_tmp46 = *((struct scsi_device **)__cil_tmp45);
12535#line 1023
12536  __cil_tmp47 = (unsigned long )__cil_tmp46;
12537#line 1023
12538  __cil_tmp48 = __cil_tmp47 + 156;
12539#line 1023
12540  __cil_tmp49 = *((unsigned int *)__cil_tmp48);
12541#line 1023
12542  __cil_tmp50 = __cil_tmp49 * 48UL;
12543#line 1023
12544  __cil_tmp51 = __cil_tmp50 + 28;
12545#line 1023
12546  __cil_tmp52 = 0 + __cil_tmp51;
12547#line 1023
12548  __cil_tmp53 = (unsigned long )us;
12549#line 1023
12550  __cil_tmp54 = __cil_tmp53 + 648;
12551#line 1023
12552  __cil_tmp55 = *((void **)__cil_tmp54);
12553#line 1023
12554  __cil_tmp56 = (struct alauda_info *)__cil_tmp55;
12555#line 1023
12556  __cil_tmp57 = (unsigned long )__cil_tmp56;
12557#line 1023
12558  __cil_tmp58 = __cil_tmp57 + __cil_tmp52;
12559#line 1023
12560  __cil_tmp59 = *((unsigned char *)__cil_tmp58);
12561#line 1023
12562  pageshift = (unsigned int )__cil_tmp59;
12563#line 1024
12564  __cil_tmp60 = (unsigned long )us;
12565#line 1024
12566  __cil_tmp61 = __cil_tmp60 + 192;
12567#line 1024
12568  __cil_tmp62 = *((struct scsi_cmnd **)__cil_tmp61);
12569#line 1024
12570  __cil_tmp63 = *((struct scsi_device **)__cil_tmp62);
12571#line 1024
12572  __cil_tmp64 = (unsigned long )__cil_tmp63;
12573#line 1024
12574  __cil_tmp65 = __cil_tmp64 + 156;
12575#line 1024
12576  __cil_tmp66 = *((unsigned int *)__cil_tmp65);
12577#line 1024
12578  __cil_tmp67 = __cil_tmp66 * 48UL;
12579#line 1024
12580  __cil_tmp68 = __cil_tmp67 + 12;
12581#line 1024
12582  __cil_tmp69 = 0 + __cil_tmp68;
12583#line 1024
12584  __cil_tmp70 = (unsigned long )us;
12585#line 1024
12586  __cil_tmp71 = __cil_tmp70 + 648;
12587#line 1024
12588  __cil_tmp72 = *((void **)__cil_tmp71);
12589#line 1024
12590  __cil_tmp73 = (struct alauda_info *)__cil_tmp72;
12591#line 1024
12592  __cil_tmp74 = (unsigned long )__cil_tmp73;
12593#line 1024
12594  __cil_tmp75 = __cil_tmp74 + __cil_tmp69;
12595#line 1024
12596  blocksize = *((unsigned int *)__cil_tmp75);
12597#line 1025
12598  __cil_tmp76 = (unsigned long )us;
12599#line 1025
12600  __cil_tmp77 = __cil_tmp76 + 192;
12601#line 1025
12602  __cil_tmp78 = *((struct scsi_cmnd **)__cil_tmp77);
12603#line 1025
12604  __cil_tmp79 = *((struct scsi_device **)__cil_tmp78);
12605#line 1025
12606  __cil_tmp80 = (unsigned long )__cil_tmp79;
12607#line 1025
12608  __cil_tmp81 = __cil_tmp80 + 156;
12609#line 1025
12610  __cil_tmp82 = *((unsigned int *)__cil_tmp81);
12611#line 1025
12612  __cil_tmp83 = __cil_tmp82 * 48UL;
12613#line 1025
12614  __cil_tmp84 = __cil_tmp83 + 8;
12615#line 1025
12616  __cil_tmp85 = 0 + __cil_tmp84;
12617#line 1025
12618  __cil_tmp86 = (unsigned long )us;
12619#line 1025
12620  __cil_tmp87 = __cil_tmp86 + 648;
12621#line 1025
12622  __cil_tmp88 = *((void **)__cil_tmp87);
12623#line 1025
12624  __cil_tmp89 = (struct alauda_info *)__cil_tmp88;
12625#line 1025
12626  __cil_tmp90 = (unsigned long )__cil_tmp89;
12627#line 1025
12628  __cil_tmp91 = __cil_tmp90 + __cil_tmp85;
12629#line 1025
12630  pagesize = *((unsigned int *)__cil_tmp91);
12631#line 1036
12632  __cil_tmp92 = & _min1;
12633#line 1036
12634  *__cil_tmp92 = sectors;
12635#line 1036
12636  __cil_tmp93 = & _min2;
12637#line 1036
12638  *__cil_tmp93 = blocksize;
12639  {
12640#line 1036
12641  __cil_tmp94 = & _min2;
12642#line 1036
12643  __cil_tmp95 = *__cil_tmp94;
12644#line 1036
12645  __cil_tmp96 = & _min1;
12646#line 1036
12647  __cil_tmp97 = *__cil_tmp96;
12648#line 1036
12649  if (__cil_tmp97 < __cil_tmp95) {
12650#line 1036
12651    __cil_tmp98 = & _min1;
12652#line 1036
12653    tmp___7 = *__cil_tmp98;
12654  } else {
12655#line 1036
12656    __cil_tmp99 = & _min2;
12657#line 1036
12658    tmp___7 = *__cil_tmp99;
12659  }
12660  }
12661  {
12662#line 1036
12663  len = tmp___7 * pagesize;
12664#line 1037
12665  __cil_tmp100 = (size_t )len;
12666#line 1037
12667  tmp___8 = kmalloc(__cil_tmp100, 16U);
12668#line 1037
12669  buffer = (unsigned char *)tmp___8;
12670  }
12671  {
12672#line 1038
12673  __cil_tmp101 = (void *)0;
12674#line 1038
12675  __cil_tmp102 = (unsigned long )__cil_tmp101;
12676#line 1038
12677  __cil_tmp103 = (unsigned long )buffer;
12678#line 1038
12679  if (__cil_tmp103 == __cil_tmp102) {
12680    {
12681#line 1039
12682    printk("<4>alauda_write_data: Out of memory\n");
12683    }
12684#line 1040
12685    return (3);
12686  } else {
12687
12688  }
12689  }
12690  {
12691#line 1047
12692  __cil_tmp104 = pagesize + 64U;
12693#line 1047
12694  __cil_tmp105 = __cil_tmp104 * blocksize;
12695#line 1047
12696  __cil_tmp106 = (size_t )__cil_tmp105;
12697#line 1047
12698  tmp___9 = kmalloc(__cil_tmp106, 16U);
12699#line 1047
12700  blockbuffer = (unsigned char *)tmp___9;
12701  }
12702  {
12703#line 1048
12704  __cil_tmp107 = (void *)0;
12705#line 1048
12706  __cil_tmp108 = (unsigned long )__cil_tmp107;
12707#line 1048
12708  __cil_tmp109 = (unsigned long )blockbuffer;
12709#line 1048
12710  if (__cil_tmp109 == __cil_tmp108) {
12711    {
12712#line 1049
12713    printk("<4>alauda_write_data: Out of memory\n");
12714#line 1050
12715    __cil_tmp110 = (void const   *)buffer;
12716#line 1050
12717    kfree(__cil_tmp110);
12718    }
12719#line 1051
12720    return (3);
12721  } else {
12722
12723  }
12724  }
12725#line 1055
12726  __cil_tmp111 = address >> blockshift;
12727#line 1055
12728  lba = (u16 )__cil_tmp111;
12729#line 1056
12730  __cil_tmp112 = (unsigned long )us;
12731#line 1056
12732  __cil_tmp113 = __cil_tmp112 + 192;
12733#line 1056
12734  __cil_tmp114 = *((struct scsi_cmnd **)__cil_tmp113);
12735#line 1056
12736  __cil_tmp115 = *((struct scsi_device **)__cil_tmp114);
12737#line 1056
12738  __cil_tmp116 = (unsigned long )__cil_tmp115;
12739#line 1056
12740  __cil_tmp117 = __cil_tmp116 + 156;
12741#line 1056
12742  __cil_tmp118 = *((unsigned int *)__cil_tmp117);
12743#line 1056
12744  __cil_tmp119 = __cil_tmp118 * 48UL;
12745#line 1056
12746  __cil_tmp120 = __cil_tmp119 + 24;
12747#line 1056
12748  __cil_tmp121 = 0 + __cil_tmp120;
12749#line 1056
12750  __cil_tmp122 = (unsigned long )us;
12751#line 1056
12752  __cil_tmp123 = __cil_tmp122 + 648;
12753#line 1056
12754  __cil_tmp124 = *((void **)__cil_tmp123);
12755#line 1056
12756  __cil_tmp125 = (struct alauda_info *)__cil_tmp124;
12757#line 1056
12758  __cil_tmp126 = (unsigned long )__cil_tmp125;
12759#line 1056
12760  __cil_tmp127 = __cil_tmp126 + __cil_tmp121;
12761#line 1056
12762  __cil_tmp128 = *((unsigned int *)__cil_tmp127);
12763#line 1056
12764  __cil_tmp129 = (unsigned long )__cil_tmp128;
12765#line 1056
12766  __cil_tmp130 = address & __cil_tmp129;
12767#line 1056
12768  page = (unsigned int )__cil_tmp130;
12769#line 1057
12770  __cil_tmp131 = pageshift + blockshift;
12771#line 1057
12772  __cil_tmp132 = (unsigned long )us;
12773#line 1057
12774  __cil_tmp133 = __cil_tmp132 + 192;
12775#line 1057
12776  __cil_tmp134 = *((struct scsi_cmnd **)__cil_tmp133);
12777#line 1057
12778  __cil_tmp135 = *((struct scsi_device **)__cil_tmp134);
12779#line 1057
12780  __cil_tmp136 = (unsigned long )__cil_tmp135;
12781#line 1057
12782  __cil_tmp137 = __cil_tmp136 + 156;
12783#line 1057
12784  __cil_tmp138 = *((unsigned int *)__cil_tmp137);
12785#line 1057
12786  __cil_tmp139 = __cil_tmp138 * 48UL;
12787#line 1057
12788  __cil_tmp140 = 0 + __cil_tmp139;
12789#line 1057
12790  __cil_tmp141 = (unsigned long )us;
12791#line 1057
12792  __cil_tmp142 = __cil_tmp141 + 648;
12793#line 1057
12794  __cil_tmp143 = *((void **)__cil_tmp142);
12795#line 1057
12796  __cil_tmp144 = (struct alauda_info *)__cil_tmp143;
12797#line 1057
12798  __cil_tmp145 = (unsigned long )__cil_tmp144;
12799#line 1057
12800  __cil_tmp146 = __cil_tmp145 + __cil_tmp140;
12801#line 1057
12802  __cil_tmp147 = *((unsigned long *)__cil_tmp146);
12803#line 1057
12804  __cil_tmp148 = __cil_tmp147 >> __cil_tmp131;
12805#line 1057
12806  max_lba = (u16 )__cil_tmp148;
12807#line 1059
12808  result = 0;
12809#line 1060
12810  __cil_tmp149 = & offset;
12811#line 1060
12812  *__cil_tmp149 = 0U;
12813#line 1061
12814  __cil_tmp150 = & sg;
12815#line 1061
12816  __cil_tmp151 = (void *)0;
12817#line 1061
12818  *__cil_tmp150 = (struct scatterlist *)__cil_tmp151;
12819  {
12820#line 1063
12821  while (1) {
12822    while_continue: /* CIL Label */ ;
12823#line 1063
12824    if (sectors > 0U) {
12825
12826    } else {
12827#line 1063
12828      goto while_break;
12829    }
12830#line 1065
12831    __cil_tmp152 = & _min1___0;
12832#line 1065
12833    *__cil_tmp152 = sectors;
12834#line 1065
12835    __cil_tmp153 = & _min2___0;
12836#line 1065
12837    *__cil_tmp153 = blocksize - page;
12838    {
12839#line 1065
12840    __cil_tmp154 = & _min2___0;
12841#line 1065
12842    __cil_tmp155 = *__cil_tmp154;
12843#line 1065
12844    __cil_tmp156 = & _min1___0;
12845#line 1065
12846    __cil_tmp157 = *__cil_tmp156;
12847#line 1065
12848    if (__cil_tmp157 < __cil_tmp155) {
12849#line 1065
12850      __cil_tmp158 = & _min1___0;
12851#line 1065
12852      tmp___10 = *__cil_tmp158;
12853    } else {
12854#line 1065
12855      __cil_tmp159 = & _min2___0;
12856#line 1065
12857      tmp___10 = *__cil_tmp159;
12858    }
12859    }
12860#line 1065
12861    pages = tmp___10;
12862#line 1066
12863    len = pages << pageshift;
12864    {
12865#line 1069
12866    __cil_tmp160 = (int )max_lba;
12867#line 1069
12868    __cil_tmp161 = (int )lba;
12869#line 1069
12870    if (__cil_tmp161 >= __cil_tmp160) {
12871      {
12872#line 1070
12873      __cil_tmp162 = (int )lba;
12874#line 1070
12875      __cil_tmp163 = (int )max_lba;
12876#line 1070
12877      printk("<7>usb-storage: alauda_write_data: Requested lba %u exceeds maximum %u\n",
12878             __cil_tmp162, __cil_tmp163);
12879#line 1072
12880      result = 3;
12881      }
12882#line 1073
12883      goto while_break;
12884    } else {
12885
12886    }
12887    }
12888    {
12889#line 1077
12890    __cil_tmp164 = (unsigned long )us;
12891#line 1077
12892    __cil_tmp165 = __cil_tmp164 + 192;
12893#line 1077
12894    __cil_tmp166 = *((struct scsi_cmnd **)__cil_tmp165);
12895#line 1077
12896    __cil_tmp167 = (enum xfer_buf_dir )1;
12897#line 1077
12898    usb_stor_access_xfer_buf(buffer, len, __cil_tmp166, & sg, & offset, __cil_tmp167);
12899#line 1080
12900    result = alauda_write_lba(us, lba, page, pages, buffer, blockbuffer);
12901    }
12902#line 1082
12903    if (result != 0) {
12904#line 1083
12905      goto while_break;
12906    } else {
12907
12908    }
12909#line 1085
12910    page = 0U;
12911#line 1086
12912    __cil_tmp168 = (int )lba;
12913#line 1086
12914    __cil_tmp169 = __cil_tmp168 + 1;
12915#line 1086
12916    lba = (u16 )__cil_tmp169;
12917#line 1087
12918    sectors = sectors - pages;
12919  }
12920  while_break: /* CIL Label */ ;
12921  }
12922  {
12923#line 1090
12924  __cil_tmp170 = (void const   *)buffer;
12925#line 1090
12926  kfree(__cil_tmp170);
12927#line 1091
12928  __cil_tmp171 = (void const   *)blockbuffer;
12929#line 1091
12930  kfree(__cil_tmp171);
12931  }
12932#line 1092
12933  return (result);
12934}
12935}
12936#line 1099 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
12937static void alauda_info_destructor(void *extra ) 
12938{ struct alauda_info *info ;
12939  int port ;
12940  struct alauda_media_info *media_info ;
12941  unsigned long __cil_tmp5 ;
12942  unsigned long __cil_tmp6 ;
12943  unsigned long __cil_tmp7 ;
12944  unsigned long __cil_tmp8 ;
12945  unsigned long __cil_tmp9 ;
12946  unsigned long __cil_tmp10 ;
12947  u16 **__cil_tmp11 ;
12948  void const   *__cil_tmp12 ;
12949  unsigned long __cil_tmp13 ;
12950  unsigned long __cil_tmp14 ;
12951  u16 **__cil_tmp15 ;
12952  void const   *__cil_tmp16 ;
12953
12954  {
12955#line 1101
12956  info = (struct alauda_info *)extra;
12957#line 1104
12958  if (! info) {
12959#line 1105
12960    return;
12961  } else {
12962
12963  }
12964#line 1107
12965  port = 0;
12966  {
12967#line 1107
12968  while (1) {
12969    while_continue: /* CIL Label */ ;
12970#line 1107
12971    if (port < 2) {
12972
12973    } else {
12974#line 1107
12975      goto while_break;
12976    }
12977    {
12978#line 1108
12979    __cil_tmp5 = port * 48UL;
12980#line 1108
12981    __cil_tmp6 = 0 + __cil_tmp5;
12982#line 1108
12983    __cil_tmp7 = (unsigned long )info;
12984#line 1108
12985    __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
12986#line 1108
12987    media_info = (struct alauda_media_info *)__cil_tmp8;
12988#line 1110
12989    alauda_free_maps(media_info);
12990#line 1111
12991    __cil_tmp9 = (unsigned long )media_info;
12992#line 1111
12993    __cil_tmp10 = __cil_tmp9 + 32;
12994#line 1111
12995    __cil_tmp11 = *((u16 ***)__cil_tmp10);
12996#line 1111
12997    __cil_tmp12 = (void const   *)__cil_tmp11;
12998#line 1111
12999    kfree(__cil_tmp12);
13000#line 1112
13001    __cil_tmp13 = (unsigned long )media_info;
13002#line 1112
13003    __cil_tmp14 = __cil_tmp13 + 40;
13004#line 1112
13005    __cil_tmp15 = *((u16 ***)__cil_tmp14);
13006#line 1112
13007    __cil_tmp16 = (void const   *)__cil_tmp15;
13008#line 1112
13009    kfree(__cil_tmp16);
13010#line 1107
13011    port = port + 1;
13012    }
13013  }
13014  while_break: /* CIL Label */ ;
13015  }
13016#line 1114
13017  return;
13018}
13019}
13020#line 1119 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
13021static int init_alauda(struct us_data *us ) 
13022{ struct alauda_info *info ;
13023  struct usb_host_interface *altsetting ;
13024  unsigned int tmp___7 ;
13025  unsigned long __cil_tmp5 ;
13026  unsigned long __cil_tmp6 ;
13027  struct usb_interface *__cil_tmp7 ;
13028  unsigned long __cil_tmp8 ;
13029  unsigned long __cil_tmp9 ;
13030  unsigned long __cil_tmp10 ;
13031  unsigned long __cil_tmp11 ;
13032  unsigned long __cil_tmp12 ;
13033  unsigned long __cil_tmp13 ;
13034  void *__cil_tmp14 ;
13035  unsigned long __cil_tmp15 ;
13036  unsigned long __cil_tmp16 ;
13037  void *__cil_tmp17 ;
13038  unsigned long __cil_tmp18 ;
13039  unsigned long __cil_tmp19 ;
13040  unsigned long __cil_tmp20 ;
13041  unsigned long __cil_tmp21 ;
13042  struct usb_device *__cil_tmp22 ;
13043  unsigned long __cil_tmp23 ;
13044  unsigned long __cil_tmp24 ;
13045  unsigned long __cil_tmp25 ;
13046  struct usb_host_endpoint *__cil_tmp26 ;
13047  struct usb_host_endpoint *__cil_tmp27 ;
13048  unsigned long __cil_tmp28 ;
13049  unsigned long __cil_tmp29 ;
13050  __u8 __cil_tmp30 ;
13051  int __cil_tmp31 ;
13052  int __cil_tmp32 ;
13053  unsigned int __cil_tmp33 ;
13054  unsigned long __cil_tmp34 ;
13055  unsigned long __cil_tmp35 ;
13056  int __cil_tmp36 ;
13057  unsigned int __cil_tmp37 ;
13058  unsigned int __cil_tmp38 ;
13059
13060  {
13061  {
13062#line 1122
13063  __cil_tmp5 = (unsigned long )us;
13064#line 1122
13065  __cil_tmp6 = __cil_tmp5 + 80;
13066#line 1122
13067  __cil_tmp7 = *((struct usb_interface **)__cil_tmp6);
13068#line 1122
13069  __cil_tmp8 = (unsigned long )__cil_tmp7;
13070#line 1122
13071  __cil_tmp9 = __cil_tmp8 + 8;
13072#line 1122
13073  altsetting = *((struct usb_host_interface **)__cil_tmp9);
13074#line 1123
13075  nand_init_ecc();
13076#line 1125
13077  __cil_tmp10 = (unsigned long )us;
13078#line 1125
13079  __cil_tmp11 = __cil_tmp10 + 648;
13080#line 1125
13081  *((void **)__cil_tmp11) = kzalloc(120UL, 16U);
13082  }
13083  {
13084#line 1126
13085  __cil_tmp12 = (unsigned long )us;
13086#line 1126
13087  __cil_tmp13 = __cil_tmp12 + 648;
13088#line 1126
13089  __cil_tmp14 = *((void **)__cil_tmp13);
13090#line 1126
13091  if (! __cil_tmp14) {
13092    {
13093#line 1127
13094    printk("<7>usb-storage: init_alauda: Gah! Can\'t allocate storage foralauda info struct!\n");
13095    }
13096#line 1129
13097    return (3);
13098  } else {
13099
13100  }
13101  }
13102  {
13103#line 1131
13104  __cil_tmp15 = (unsigned long )us;
13105#line 1131
13106  __cil_tmp16 = __cil_tmp15 + 648;
13107#line 1131
13108  __cil_tmp17 = *((void **)__cil_tmp16);
13109#line 1131
13110  info = (struct alauda_info *)__cil_tmp17;
13111#line 1132
13112  __cil_tmp18 = (unsigned long )us;
13113#line 1132
13114  __cil_tmp19 = __cil_tmp18 + 656;
13115#line 1132
13116  *((void (**)(void * ))__cil_tmp19) = & alauda_info_destructor;
13117#line 1134
13118  __cil_tmp20 = (unsigned long )us;
13119#line 1134
13120  __cil_tmp21 = __cil_tmp20 + 72;
13121#line 1134
13122  __cil_tmp22 = *((struct usb_device **)__cil_tmp21);
13123#line 1134
13124  __cil_tmp23 = 0 + 2;
13125#line 1134
13126  __cil_tmp24 = (unsigned long )altsetting;
13127#line 1134
13128  __cil_tmp25 = __cil_tmp24 + 16;
13129#line 1134
13130  __cil_tmp26 = *((struct usb_host_endpoint **)__cil_tmp25);
13131#line 1134
13132  __cil_tmp27 = __cil_tmp26 + 0;
13133#line 1134
13134  __cil_tmp28 = (unsigned long )__cil_tmp27;
13135#line 1134
13136  __cil_tmp29 = __cil_tmp28 + __cil_tmp23;
13137#line 1134
13138  __cil_tmp30 = *((__u8 *)__cil_tmp29);
13139#line 1134
13140  __cil_tmp31 = (int )__cil_tmp30;
13141#line 1134
13142  __cil_tmp32 = __cil_tmp31 & 15;
13143#line 1134
13144  __cil_tmp33 = (unsigned int )__cil_tmp32;
13145#line 1134
13146  tmp___7 = __create_pipe(__cil_tmp22, __cil_tmp33);
13147#line 1134
13148  __cil_tmp34 = (unsigned long )info;
13149#line 1134
13150  __cil_tmp35 = __cil_tmp34 + 96;
13151#line 1134
13152  __cil_tmp36 = 3 << 30;
13153#line 1134
13154  __cil_tmp37 = (unsigned int )__cil_tmp36;
13155#line 1134
13156  __cil_tmp38 = __cil_tmp37 | tmp___7;
13157#line 1134
13158  *((int *)__cil_tmp35) = (int )__cil_tmp38;
13159  }
13160#line 1138
13161  return (0);
13162}
13163}
13164#line 1146
13165static int alauda_transport(struct scsi_cmnd *srb , struct us_data *us ) ;
13166#line 1146 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
13167static unsigned char inquiry_response[36]  = 
13168#line 1146
13169  {      (unsigned char)0,      (unsigned char)128,      (unsigned char)0,      (unsigned char)1, 
13170        (unsigned char)31,      (unsigned char)0,      (unsigned char)0,      (unsigned char)0};
13171#line 1141 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
13172static int alauda_transport(struct scsi_cmnd *srb , struct us_data *us ) 
13173{ int rc ;
13174  struct alauda_info *info ;
13175  unsigned char *ptr ;
13176  size_t __len ;
13177  void *__ret ;
13178  int tmp___7 ;
13179  unsigned int num_zones ;
13180  unsigned long capacity ;
13181  __u32 tmp___8 ;
13182  unsigned int page ;
13183  unsigned int pages ;
13184  int tmp___10 ;
13185  unsigned int page___0 ;
13186  unsigned int pages___0 ;
13187  int tmp___11 ;
13188  unsigned long __cil_tmp19 ;
13189  unsigned long __cil_tmp20 ;
13190  void *__cil_tmp21 ;
13191  unsigned long __cil_tmp22 ;
13192  unsigned long __cil_tmp23 ;
13193  unsigned long __cil_tmp24 ;
13194  unsigned long __cil_tmp25 ;
13195  unsigned char *__cil_tmp26 ;
13196  unsigned char *__cil_tmp27 ;
13197  unsigned char __cil_tmp28 ;
13198  int __cil_tmp29 ;
13199  void *__cil_tmp30 ;
13200  unsigned long __cil_tmp31 ;
13201  unsigned long __cil_tmp32 ;
13202  unsigned char *__cil_tmp33 ;
13203  void const   *__cil_tmp34 ;
13204  void *__cil_tmp35 ;
13205  unsigned long __cil_tmp36 ;
13206  unsigned long __cil_tmp37 ;
13207  unsigned char *__cil_tmp38 ;
13208  void const   *__cil_tmp39 ;
13209  unsigned long __cil_tmp40 ;
13210  unsigned long __cil_tmp41 ;
13211  unsigned char *__cil_tmp42 ;
13212  unsigned char *__cil_tmp43 ;
13213  unsigned char __cil_tmp44 ;
13214  int __cil_tmp45 ;
13215  unsigned long __cil_tmp46 ;
13216  unsigned long __cil_tmp47 ;
13217  unsigned char *__cil_tmp48 ;
13218  unsigned char *__cil_tmp49 ;
13219  unsigned char __cil_tmp50 ;
13220  int __cil_tmp51 ;
13221  unsigned long __cil_tmp52 ;
13222  unsigned long __cil_tmp53 ;
13223  struct scsi_cmnd *__cil_tmp54 ;
13224  struct scsi_device *__cil_tmp55 ;
13225  unsigned long __cil_tmp56 ;
13226  unsigned long __cil_tmp57 ;
13227  unsigned int __cil_tmp58 ;
13228  unsigned long __cil_tmp59 ;
13229  unsigned long __cil_tmp60 ;
13230  unsigned long __cil_tmp61 ;
13231  unsigned long __cil_tmp62 ;
13232  unsigned long __cil_tmp63 ;
13233  void *__cil_tmp64 ;
13234  struct alauda_info *__cil_tmp65 ;
13235  unsigned long __cil_tmp66 ;
13236  unsigned long __cil_tmp67 ;
13237  unsigned char __cil_tmp68 ;
13238  int __cil_tmp69 ;
13239  unsigned long __cil_tmp70 ;
13240  unsigned long __cil_tmp71 ;
13241  struct scsi_cmnd *__cil_tmp72 ;
13242  struct scsi_device *__cil_tmp73 ;
13243  unsigned long __cil_tmp74 ;
13244  unsigned long __cil_tmp75 ;
13245  unsigned int __cil_tmp76 ;
13246  unsigned long __cil_tmp77 ;
13247  unsigned long __cil_tmp78 ;
13248  unsigned long __cil_tmp79 ;
13249  unsigned long __cil_tmp80 ;
13250  unsigned long __cil_tmp81 ;
13251  void *__cil_tmp82 ;
13252  struct alauda_info *__cil_tmp83 ;
13253  unsigned long __cil_tmp84 ;
13254  unsigned long __cil_tmp85 ;
13255  unsigned char __cil_tmp86 ;
13256  int __cil_tmp87 ;
13257  unsigned long __cil_tmp88 ;
13258  unsigned long __cil_tmp89 ;
13259  struct scsi_cmnd *__cil_tmp90 ;
13260  struct scsi_device *__cil_tmp91 ;
13261  unsigned long __cil_tmp92 ;
13262  unsigned long __cil_tmp93 ;
13263  unsigned int __cil_tmp94 ;
13264  unsigned long __cil_tmp95 ;
13265  unsigned long __cil_tmp96 ;
13266  unsigned long __cil_tmp97 ;
13267  unsigned long __cil_tmp98 ;
13268  unsigned long __cil_tmp99 ;
13269  void *__cil_tmp100 ;
13270  struct alauda_info *__cil_tmp101 ;
13271  unsigned long __cil_tmp102 ;
13272  unsigned long __cil_tmp103 ;
13273  unsigned char __cil_tmp104 ;
13274  int __cil_tmp105 ;
13275  int __cil_tmp106 ;
13276  int __cil_tmp107 ;
13277  unsigned long __cil_tmp108 ;
13278  unsigned long __cil_tmp109 ;
13279  struct scsi_cmnd *__cil_tmp110 ;
13280  struct scsi_device *__cil_tmp111 ;
13281  unsigned long __cil_tmp112 ;
13282  unsigned long __cil_tmp113 ;
13283  unsigned int __cil_tmp114 ;
13284  unsigned long __cil_tmp115 ;
13285  unsigned long __cil_tmp116 ;
13286  unsigned long __cil_tmp117 ;
13287  unsigned long __cil_tmp118 ;
13288  void *__cil_tmp119 ;
13289  struct alauda_info *__cil_tmp120 ;
13290  unsigned long __cil_tmp121 ;
13291  unsigned long __cil_tmp122 ;
13292  unsigned long __cil_tmp123 ;
13293  unsigned long __cil_tmp124 ;
13294  unsigned long __cil_tmp125 ;
13295  unsigned long __cil_tmp126 ;
13296  struct scsi_cmnd *__cil_tmp127 ;
13297  struct scsi_device *__cil_tmp128 ;
13298  unsigned long __cil_tmp129 ;
13299  unsigned long __cil_tmp130 ;
13300  unsigned int __cil_tmp131 ;
13301  unsigned long __cil_tmp132 ;
13302  unsigned long __cil_tmp133 ;
13303  unsigned long __cil_tmp134 ;
13304  unsigned long __cil_tmp135 ;
13305  unsigned long __cil_tmp136 ;
13306  void *__cil_tmp137 ;
13307  struct alauda_info *__cil_tmp138 ;
13308  unsigned long __cil_tmp139 ;
13309  unsigned long __cil_tmp140 ;
13310  unsigned int __cil_tmp141 ;
13311  unsigned long __cil_tmp142 ;
13312  unsigned long __cil_tmp143 ;
13313  struct scsi_cmnd *__cil_tmp144 ;
13314  struct scsi_device *__cil_tmp145 ;
13315  unsigned long __cil_tmp146 ;
13316  unsigned long __cil_tmp147 ;
13317  unsigned int __cil_tmp148 ;
13318  unsigned long __cil_tmp149 ;
13319  unsigned long __cil_tmp150 ;
13320  unsigned long __cil_tmp151 ;
13321  unsigned long __cil_tmp152 ;
13322  unsigned long __cil_tmp153 ;
13323  void *__cil_tmp154 ;
13324  struct alauda_info *__cil_tmp155 ;
13325  unsigned long __cil_tmp156 ;
13326  unsigned long __cil_tmp157 ;
13327  unsigned int __cil_tmp158 ;
13328  unsigned int __cil_tmp159 ;
13329  unsigned int __cil_tmp160 ;
13330  unsigned long __cil_tmp161 ;
13331  __u32 __cil_tmp162 ;
13332  __be32 *__cil_tmp163 ;
13333  __be32 *__cil_tmp164 ;
13334  __be32 *__cil_tmp165 ;
13335  __be32 *__cil_tmp166 ;
13336  unsigned long __cil_tmp167 ;
13337  unsigned long __cil_tmp168 ;
13338  unsigned char *__cil_tmp169 ;
13339  unsigned char *__cil_tmp170 ;
13340  unsigned char __cil_tmp171 ;
13341  int __cil_tmp172 ;
13342  unsigned long __cil_tmp173 ;
13343  unsigned long __cil_tmp174 ;
13344  unsigned char *__cil_tmp175 ;
13345  unsigned char *__cil_tmp176 ;
13346  unsigned char __cil_tmp177 ;
13347  u16 __cil_tmp178 ;
13348  int __cil_tmp179 ;
13349  int __cil_tmp180 ;
13350  unsigned long __cil_tmp181 ;
13351  unsigned long __cil_tmp182 ;
13352  unsigned char *__cil_tmp183 ;
13353  unsigned char *__cil_tmp184 ;
13354  unsigned char __cil_tmp185 ;
13355  u16 __cil_tmp186 ;
13356  int __cil_tmp187 ;
13357  int __cil_tmp188 ;
13358  unsigned long __cil_tmp189 ;
13359  unsigned long __cil_tmp190 ;
13360  unsigned char *__cil_tmp191 ;
13361  unsigned char *__cil_tmp192 ;
13362  unsigned char __cil_tmp193 ;
13363  u16 __cil_tmp194 ;
13364  int __cil_tmp195 ;
13365  int __cil_tmp196 ;
13366  unsigned long __cil_tmp197 ;
13367  unsigned long __cil_tmp198 ;
13368  unsigned char *__cil_tmp199 ;
13369  unsigned char *__cil_tmp200 ;
13370  unsigned char __cil_tmp201 ;
13371  u16 __cil_tmp202 ;
13372  int __cil_tmp203 ;
13373  int __cil_tmp204 ;
13374  unsigned int __cil_tmp205 ;
13375  unsigned long __cil_tmp206 ;
13376  unsigned long __cil_tmp207 ;
13377  unsigned char *__cil_tmp208 ;
13378  unsigned char *__cil_tmp209 ;
13379  unsigned char __cil_tmp210 ;
13380  u16 __cil_tmp211 ;
13381  int __cil_tmp212 ;
13382  int __cil_tmp213 ;
13383  unsigned long __cil_tmp214 ;
13384  unsigned long __cil_tmp215 ;
13385  unsigned char *__cil_tmp216 ;
13386  unsigned char *__cil_tmp217 ;
13387  unsigned char __cil_tmp218 ;
13388  u16 __cil_tmp219 ;
13389  int __cil_tmp220 ;
13390  int __cil_tmp221 ;
13391  unsigned long __cil_tmp222 ;
13392  unsigned long __cil_tmp223 ;
13393  unsigned long __cil_tmp224 ;
13394  unsigned char *__cil_tmp225 ;
13395  unsigned char *__cil_tmp226 ;
13396  unsigned char __cil_tmp227 ;
13397  int __cil_tmp228 ;
13398  unsigned long __cil_tmp229 ;
13399  unsigned long __cil_tmp230 ;
13400  unsigned char *__cil_tmp231 ;
13401  unsigned char *__cil_tmp232 ;
13402  unsigned char __cil_tmp233 ;
13403  u16 __cil_tmp234 ;
13404  int __cil_tmp235 ;
13405  int __cil_tmp236 ;
13406  unsigned long __cil_tmp237 ;
13407  unsigned long __cil_tmp238 ;
13408  unsigned char *__cil_tmp239 ;
13409  unsigned char *__cil_tmp240 ;
13410  unsigned char __cil_tmp241 ;
13411  u16 __cil_tmp242 ;
13412  int __cil_tmp243 ;
13413  int __cil_tmp244 ;
13414  unsigned long __cil_tmp245 ;
13415  unsigned long __cil_tmp246 ;
13416  unsigned char *__cil_tmp247 ;
13417  unsigned char *__cil_tmp248 ;
13418  unsigned char __cil_tmp249 ;
13419  u16 __cil_tmp250 ;
13420  int __cil_tmp251 ;
13421  int __cil_tmp252 ;
13422  unsigned long __cil_tmp253 ;
13423  unsigned long __cil_tmp254 ;
13424  unsigned char *__cil_tmp255 ;
13425  unsigned char *__cil_tmp256 ;
13426  unsigned char __cil_tmp257 ;
13427  u16 __cil_tmp258 ;
13428  int __cil_tmp259 ;
13429  int __cil_tmp260 ;
13430  unsigned int __cil_tmp261 ;
13431  unsigned long __cil_tmp262 ;
13432  unsigned long __cil_tmp263 ;
13433  unsigned char *__cil_tmp264 ;
13434  unsigned char *__cil_tmp265 ;
13435  unsigned char __cil_tmp266 ;
13436  u16 __cil_tmp267 ;
13437  int __cil_tmp268 ;
13438  int __cil_tmp269 ;
13439  unsigned long __cil_tmp270 ;
13440  unsigned long __cil_tmp271 ;
13441  unsigned char *__cil_tmp272 ;
13442  unsigned char *__cil_tmp273 ;
13443  unsigned char __cil_tmp274 ;
13444  u16 __cil_tmp275 ;
13445  int __cil_tmp276 ;
13446  int __cil_tmp277 ;
13447  unsigned long __cil_tmp278 ;
13448  unsigned long __cil_tmp279 ;
13449  unsigned long __cil_tmp280 ;
13450  unsigned char *__cil_tmp281 ;
13451  unsigned char *__cil_tmp282 ;
13452  unsigned char __cil_tmp283 ;
13453  int __cil_tmp284 ;
13454  void *__cil_tmp285 ;
13455  size_t __cil_tmp286 ;
13456  unsigned char *__cil_tmp287 ;
13457  unsigned char *__cil_tmp288 ;
13458  unsigned long __cil_tmp289 ;
13459  unsigned long __cil_tmp290 ;
13460  unsigned char *__cil_tmp291 ;
13461  unsigned char *__cil_tmp292 ;
13462  unsigned long __cil_tmp293 ;
13463  unsigned long __cil_tmp294 ;
13464  unsigned long __cil_tmp295 ;
13465  unsigned char *__cil_tmp296 ;
13466  unsigned long __cil_tmp297 ;
13467  unsigned long __cil_tmp298 ;
13468  unsigned long __cil_tmp299 ;
13469  unsigned long __cil_tmp300 ;
13470  unsigned long __cil_tmp301 ;
13471  unsigned char *__cil_tmp302 ;
13472  unsigned char *__cil_tmp303 ;
13473  unsigned char __cil_tmp304 ;
13474  int __cil_tmp305 ;
13475  unsigned long __cil_tmp306 ;
13476  unsigned long __cil_tmp307 ;
13477  unsigned char *__cil_tmp308 ;
13478  unsigned char *__cil_tmp309 ;
13479  unsigned char __cil_tmp310 ;
13480  int __cil_tmp311 ;
13481  unsigned long __cil_tmp312 ;
13482  unsigned long __cil_tmp313 ;
13483  unsigned char *__cil_tmp314 ;
13484  unsigned char *__cil_tmp315 ;
13485  unsigned char __cil_tmp316 ;
13486  int __cil_tmp317 ;
13487  unsigned long __cil_tmp318 ;
13488  unsigned long __cil_tmp319 ;
13489  unsigned long __cil_tmp320 ;
13490  unsigned long __cil_tmp321 ;
13491  unsigned long __cil_tmp322 ;
13492  unsigned long __cil_tmp323 ;
13493
13494  {
13495#line 1144
13496  __cil_tmp19 = (unsigned long )us;
13497#line 1144
13498  __cil_tmp20 = __cil_tmp19 + 648;
13499#line 1144
13500  __cil_tmp21 = *((void **)__cil_tmp20);
13501#line 1144
13502  info = (struct alauda_info *)__cil_tmp21;
13503#line 1145
13504  __cil_tmp22 = (unsigned long )us;
13505#line 1145
13506  __cil_tmp23 = __cil_tmp22 + 376;
13507#line 1145
13508  ptr = *((unsigned char **)__cil_tmp23);
13509  {
13510#line 1150
13511  __cil_tmp24 = (unsigned long )srb;
13512#line 1150
13513  __cil_tmp25 = __cil_tmp24 + 80;
13514#line 1150
13515  __cil_tmp26 = *((unsigned char **)__cil_tmp25);
13516#line 1150
13517  __cil_tmp27 = __cil_tmp26 + 0;
13518#line 1150
13519  __cil_tmp28 = *__cil_tmp27;
13520#line 1150
13521  __cil_tmp29 = (int )__cil_tmp28;
13522#line 1150
13523  if (__cil_tmp29 == 18) {
13524    {
13525#line 1151
13526    printk("<7>usb-storage: alauda_transport: INQUIRY. Returning bogus response.\n");
13527#line 1153
13528    __len = 36UL;
13529    }
13530#line 1153
13531    if (__len >= 64UL) {
13532      {
13533#line 1153
13534      __cil_tmp30 = (void *)ptr;
13535#line 1153
13536      __cil_tmp31 = 0 * 1UL;
13537#line 1153
13538      __cil_tmp32 = (unsigned long )(inquiry_response) + __cil_tmp31;
13539#line 1153
13540      __cil_tmp33 = (unsigned char *)__cil_tmp32;
13541#line 1153
13542      __cil_tmp34 = (void const   *)__cil_tmp33;
13543#line 1153
13544      __ret = __memcpy(__cil_tmp30, __cil_tmp34, __len);
13545      }
13546    } else {
13547      {
13548#line 1153
13549      __cil_tmp35 = (void *)ptr;
13550#line 1153
13551      __cil_tmp36 = 0 * 1UL;
13552#line 1153
13553      __cil_tmp37 = (unsigned long )(inquiry_response) + __cil_tmp36;
13554#line 1153
13555      __cil_tmp38 = (unsigned char *)__cil_tmp37;
13556#line 1153
13557      __cil_tmp39 = (void const   *)__cil_tmp38;
13558#line 1153
13559      __ret = __builtin_memcpy(__cil_tmp35, __cil_tmp39, __len);
13560      }
13561    }
13562    {
13563#line 1154
13564    fill_inquiry_response(us, ptr, 36U);
13565    }
13566#line 1155
13567    return (0);
13568  } else {
13569
13570  }
13571  }
13572  {
13573#line 1158
13574  __cil_tmp40 = (unsigned long )srb;
13575#line 1158
13576  __cil_tmp41 = __cil_tmp40 + 80;
13577#line 1158
13578  __cil_tmp42 = *((unsigned char **)__cil_tmp41);
13579#line 1158
13580  __cil_tmp43 = __cil_tmp42 + 0;
13581#line 1158
13582  __cil_tmp44 = *__cil_tmp43;
13583#line 1158
13584  __cil_tmp45 = (int )__cil_tmp44;
13585#line 1158
13586  if (__cil_tmp45 == 0) {
13587    {
13588#line 1159
13589    printk("<7>usb-storage: alauda_transport: TEST_UNIT_READY.\n");
13590#line 1160
13591    tmp___7 = alauda_check_media(us);
13592    }
13593#line 1160
13594    return (tmp___7);
13595  } else {
13596
13597  }
13598  }
13599  {
13600#line 1163
13601  __cil_tmp46 = (unsigned long )srb;
13602#line 1163
13603  __cil_tmp47 = __cil_tmp46 + 80;
13604#line 1163
13605  __cil_tmp48 = *((unsigned char **)__cil_tmp47);
13606#line 1163
13607  __cil_tmp49 = __cil_tmp48 + 0;
13608#line 1163
13609  __cil_tmp50 = *__cil_tmp49;
13610#line 1163
13611  __cil_tmp51 = (int )__cil_tmp50;
13612#line 1163
13613  if (__cil_tmp51 == 37) {
13614    {
13615#line 1167
13616    rc = alauda_check_media(us);
13617    }
13618#line 1168
13619    if (rc != 0) {
13620#line 1169
13621      return (rc);
13622    } else {
13623
13624    }
13625    {
13626#line 1171
13627    __cil_tmp52 = (unsigned long )us;
13628#line 1171
13629    __cil_tmp53 = __cil_tmp52 + 192;
13630#line 1171
13631    __cil_tmp54 = *((struct scsi_cmnd **)__cil_tmp53);
13632#line 1171
13633    __cil_tmp55 = *((struct scsi_device **)__cil_tmp54);
13634#line 1171
13635    __cil_tmp56 = (unsigned long )__cil_tmp55;
13636#line 1171
13637    __cil_tmp57 = __cil_tmp56 + 156;
13638#line 1171
13639    __cil_tmp58 = *((unsigned int *)__cil_tmp57);
13640#line 1171
13641    __cil_tmp59 = __cil_tmp58 * 48UL;
13642#line 1171
13643    __cil_tmp60 = __cil_tmp59 + 28;
13644#line 1171
13645    __cil_tmp61 = 0 + __cil_tmp60;
13646#line 1171
13647    __cil_tmp62 = (unsigned long )us;
13648#line 1171
13649    __cil_tmp63 = __cil_tmp62 + 648;
13650#line 1171
13651    __cil_tmp64 = *((void **)__cil_tmp63);
13652#line 1171
13653    __cil_tmp65 = (struct alauda_info *)__cil_tmp64;
13654#line 1171
13655    __cil_tmp66 = (unsigned long )__cil_tmp65;
13656#line 1171
13657    __cil_tmp67 = __cil_tmp66 + __cil_tmp61;
13658#line 1171
13659    __cil_tmp68 = *((unsigned char *)__cil_tmp67);
13660#line 1171
13661    __cil_tmp69 = (int )__cil_tmp68;
13662#line 1171
13663    __cil_tmp70 = (unsigned long )us;
13664#line 1171
13665    __cil_tmp71 = __cil_tmp70 + 192;
13666#line 1171
13667    __cil_tmp72 = *((struct scsi_cmnd **)__cil_tmp71);
13668#line 1171
13669    __cil_tmp73 = *((struct scsi_device **)__cil_tmp72);
13670#line 1171
13671    __cil_tmp74 = (unsigned long )__cil_tmp73;
13672#line 1171
13673    __cil_tmp75 = __cil_tmp74 + 156;
13674#line 1171
13675    __cil_tmp76 = *((unsigned int *)__cil_tmp75);
13676#line 1171
13677    __cil_tmp77 = __cil_tmp76 * 48UL;
13678#line 1171
13679    __cil_tmp78 = __cil_tmp77 + 29;
13680#line 1171
13681    __cil_tmp79 = 0 + __cil_tmp78;
13682#line 1171
13683    __cil_tmp80 = (unsigned long )us;
13684#line 1171
13685    __cil_tmp81 = __cil_tmp80 + 648;
13686#line 1171
13687    __cil_tmp82 = *((void **)__cil_tmp81);
13688#line 1171
13689    __cil_tmp83 = (struct alauda_info *)__cil_tmp82;
13690#line 1171
13691    __cil_tmp84 = (unsigned long )__cil_tmp83;
13692#line 1171
13693    __cil_tmp85 = __cil_tmp84 + __cil_tmp79;
13694#line 1171
13695    __cil_tmp86 = *((unsigned char *)__cil_tmp85);
13696#line 1171
13697    __cil_tmp87 = (int )__cil_tmp86;
13698#line 1171
13699    __cil_tmp88 = (unsigned long )us;
13700#line 1171
13701    __cil_tmp89 = __cil_tmp88 + 192;
13702#line 1171
13703    __cil_tmp90 = *((struct scsi_cmnd **)__cil_tmp89);
13704#line 1171
13705    __cil_tmp91 = *((struct scsi_device **)__cil_tmp90);
13706#line 1171
13707    __cil_tmp92 = (unsigned long )__cil_tmp91;
13708#line 1171
13709    __cil_tmp93 = __cil_tmp92 + 156;
13710#line 1171
13711    __cil_tmp94 = *((unsigned int *)__cil_tmp93);
13712#line 1171
13713    __cil_tmp95 = __cil_tmp94 * 48UL;
13714#line 1171
13715    __cil_tmp96 = __cil_tmp95 + 30;
13716#line 1171
13717    __cil_tmp97 = 0 + __cil_tmp96;
13718#line 1171
13719    __cil_tmp98 = (unsigned long )us;
13720#line 1171
13721    __cil_tmp99 = __cil_tmp98 + 648;
13722#line 1171
13723    __cil_tmp100 = *((void **)__cil_tmp99);
13724#line 1171
13725    __cil_tmp101 = (struct alauda_info *)__cil_tmp100;
13726#line 1171
13727    __cil_tmp102 = (unsigned long )__cil_tmp101;
13728#line 1171
13729    __cil_tmp103 = __cil_tmp102 + __cil_tmp97;
13730#line 1171
13731    __cil_tmp104 = *((unsigned char *)__cil_tmp103);
13732#line 1171
13733    __cil_tmp105 = (int )__cil_tmp104;
13734#line 1171
13735    __cil_tmp106 = __cil_tmp105 + __cil_tmp87;
13736#line 1171
13737    __cil_tmp107 = __cil_tmp106 + __cil_tmp69;
13738#line 1171
13739    __cil_tmp108 = (unsigned long )us;
13740#line 1171
13741    __cil_tmp109 = __cil_tmp108 + 192;
13742#line 1171
13743    __cil_tmp110 = *((struct scsi_cmnd **)__cil_tmp109);
13744#line 1171
13745    __cil_tmp111 = *((struct scsi_device **)__cil_tmp110);
13746#line 1171
13747    __cil_tmp112 = (unsigned long )__cil_tmp111;
13748#line 1171
13749    __cil_tmp113 = __cil_tmp112 + 156;
13750#line 1171
13751    __cil_tmp114 = *((unsigned int *)__cil_tmp113);
13752#line 1171
13753    __cil_tmp115 = __cil_tmp114 * 48UL;
13754#line 1171
13755    __cil_tmp116 = 0 + __cil_tmp115;
13756#line 1171
13757    __cil_tmp117 = (unsigned long )us;
13758#line 1171
13759    __cil_tmp118 = __cil_tmp117 + 648;
13760#line 1171
13761    __cil_tmp119 = *((void **)__cil_tmp118);
13762#line 1171
13763    __cil_tmp120 = (struct alauda_info *)__cil_tmp119;
13764#line 1171
13765    __cil_tmp121 = (unsigned long )__cil_tmp120;
13766#line 1171
13767    __cil_tmp122 = __cil_tmp121 + __cil_tmp116;
13768#line 1171
13769    __cil_tmp123 = *((unsigned long *)__cil_tmp122);
13770#line 1171
13771    __cil_tmp124 = __cil_tmp123 >> __cil_tmp107;
13772#line 1171
13773    num_zones = (unsigned int )__cil_tmp124;
13774#line 1174
13775    __cil_tmp125 = (unsigned long )us;
13776#line 1174
13777    __cil_tmp126 = __cil_tmp125 + 192;
13778#line 1174
13779    __cil_tmp127 = *((struct scsi_cmnd **)__cil_tmp126);
13780#line 1174
13781    __cil_tmp128 = *((struct scsi_device **)__cil_tmp127);
13782#line 1174
13783    __cil_tmp129 = (unsigned long )__cil_tmp128;
13784#line 1174
13785    __cil_tmp130 = __cil_tmp129 + 156;
13786#line 1174
13787    __cil_tmp131 = *((unsigned int *)__cil_tmp130);
13788#line 1174
13789    __cil_tmp132 = __cil_tmp131 * 48UL;
13790#line 1174
13791    __cil_tmp133 = __cil_tmp132 + 12;
13792#line 1174
13793    __cil_tmp134 = 0 + __cil_tmp133;
13794#line 1174
13795    __cil_tmp135 = (unsigned long )us;
13796#line 1174
13797    __cil_tmp136 = __cil_tmp135 + 648;
13798#line 1174
13799    __cil_tmp137 = *((void **)__cil_tmp136);
13800#line 1174
13801    __cil_tmp138 = (struct alauda_info *)__cil_tmp137;
13802#line 1174
13803    __cil_tmp139 = (unsigned long )__cil_tmp138;
13804#line 1174
13805    __cil_tmp140 = __cil_tmp139 + __cil_tmp134;
13806#line 1174
13807    __cil_tmp141 = *((unsigned int *)__cil_tmp140);
13808#line 1174
13809    __cil_tmp142 = (unsigned long )us;
13810#line 1174
13811    __cil_tmp143 = __cil_tmp142 + 192;
13812#line 1174
13813    __cil_tmp144 = *((struct scsi_cmnd **)__cil_tmp143);
13814#line 1174
13815    __cil_tmp145 = *((struct scsi_device **)__cil_tmp144);
13816#line 1174
13817    __cil_tmp146 = (unsigned long )__cil_tmp145;
13818#line 1174
13819    __cil_tmp147 = __cil_tmp146 + 156;
13820#line 1174
13821    __cil_tmp148 = *((unsigned int *)__cil_tmp147);
13822#line 1174
13823    __cil_tmp149 = __cil_tmp148 * 48UL;
13824#line 1174
13825    __cil_tmp150 = __cil_tmp149 + 16;
13826#line 1174
13827    __cil_tmp151 = 0 + __cil_tmp150;
13828#line 1174
13829    __cil_tmp152 = (unsigned long )us;
13830#line 1174
13831    __cil_tmp153 = __cil_tmp152 + 648;
13832#line 1174
13833    __cil_tmp154 = *((void **)__cil_tmp153);
13834#line 1174
13835    __cil_tmp155 = (struct alauda_info *)__cil_tmp154;
13836#line 1174
13837    __cil_tmp156 = (unsigned long )__cil_tmp155;
13838#line 1174
13839    __cil_tmp157 = __cil_tmp156 + __cil_tmp151;
13840#line 1174
13841    __cil_tmp158 = *((unsigned int *)__cil_tmp157);
13842#line 1174
13843    __cil_tmp159 = num_zones * __cil_tmp158;
13844#line 1174
13845    __cil_tmp160 = __cil_tmp159 * __cil_tmp141;
13846#line 1174
13847    capacity = (unsigned long )__cil_tmp160;
13848#line 1178
13849    __cil_tmp161 = capacity - 1UL;
13850#line 1178
13851    __cil_tmp162 = (__u32 )__cil_tmp161;
13852#line 1178
13853    tmp___8 = __fswab32(__cil_tmp162);
13854#line 1178
13855    __cil_tmp163 = (__be32 *)ptr;
13856#line 1178
13857    __cil_tmp164 = __cil_tmp163 + 0;
13858#line 1178
13859    *__cil_tmp164 = tmp___8;
13860#line 1179
13861    __cil_tmp165 = (__be32 *)ptr;
13862#line 1179
13863    __cil_tmp166 = __cil_tmp165 + 1;
13864#line 1179
13865    *__cil_tmp166 = 512U << 8;
13866#line 1181
13867    usb_stor_set_xfer_buf(ptr, 8U, srb);
13868    }
13869#line 1182
13870    return (0);
13871  } else {
13872
13873  }
13874  }
13875  {
13876#line 1185
13877  __cil_tmp167 = (unsigned long )srb;
13878#line 1185
13879  __cil_tmp168 = __cil_tmp167 + 80;
13880#line 1185
13881  __cil_tmp169 = *((unsigned char **)__cil_tmp168);
13882#line 1185
13883  __cil_tmp170 = __cil_tmp169 + 0;
13884#line 1185
13885  __cil_tmp171 = *__cil_tmp170;
13886#line 1185
13887  __cil_tmp172 = (int )__cil_tmp171;
13888#line 1185
13889  if (__cil_tmp172 == 40) {
13890    {
13891#line 1188
13892    rc = alauda_check_media(us);
13893    }
13894#line 1189
13895    if (rc != 0) {
13896#line 1190
13897      return (rc);
13898    } else {
13899
13900    }
13901    {
13902#line 1192
13903    __cil_tmp173 = (unsigned long )srb;
13904#line 1192
13905    __cil_tmp174 = __cil_tmp173 + 80;
13906#line 1192
13907    __cil_tmp175 = *((unsigned char **)__cil_tmp174);
13908#line 1192
13909    __cil_tmp176 = __cil_tmp175 + 2;
13910#line 1192
13911    __cil_tmp177 = *__cil_tmp176;
13912#line 1192
13913    __cil_tmp178 = (u16 )__cil_tmp177;
13914#line 1192
13915    __cil_tmp179 = (int )__cil_tmp178;
13916#line 1192
13917    __cil_tmp180 = __cil_tmp179 << 8;
13918#line 1192
13919    __cil_tmp181 = (unsigned long )srb;
13920#line 1192
13921    __cil_tmp182 = __cil_tmp181 + 80;
13922#line 1192
13923    __cil_tmp183 = *((unsigned char **)__cil_tmp182);
13924#line 1192
13925    __cil_tmp184 = __cil_tmp183 + 3;
13926#line 1192
13927    __cil_tmp185 = *__cil_tmp184;
13928#line 1192
13929    __cil_tmp186 = (u16 )__cil_tmp185;
13930#line 1192
13931    __cil_tmp187 = (int )__cil_tmp186;
13932#line 1192
13933    __cil_tmp188 = __cil_tmp187 | __cil_tmp180;
13934#line 1192
13935    page = (unsigned int )__cil_tmp188;
13936#line 1193
13937    page = page << 16;
13938#line 1194
13939    __cil_tmp189 = (unsigned long )srb;
13940#line 1194
13941    __cil_tmp190 = __cil_tmp189 + 80;
13942#line 1194
13943    __cil_tmp191 = *((unsigned char **)__cil_tmp190);
13944#line 1194
13945    __cil_tmp192 = __cil_tmp191 + 4;
13946#line 1194
13947    __cil_tmp193 = *__cil_tmp192;
13948#line 1194
13949    __cil_tmp194 = (u16 )__cil_tmp193;
13950#line 1194
13951    __cil_tmp195 = (int )__cil_tmp194;
13952#line 1194
13953    __cil_tmp196 = __cil_tmp195 << 8;
13954#line 1194
13955    __cil_tmp197 = (unsigned long )srb;
13956#line 1194
13957    __cil_tmp198 = __cil_tmp197 + 80;
13958#line 1194
13959    __cil_tmp199 = *((unsigned char **)__cil_tmp198);
13960#line 1194
13961    __cil_tmp200 = __cil_tmp199 + 5;
13962#line 1194
13963    __cil_tmp201 = *__cil_tmp200;
13964#line 1194
13965    __cil_tmp202 = (u16 )__cil_tmp201;
13966#line 1194
13967    __cil_tmp203 = (int )__cil_tmp202;
13968#line 1194
13969    __cil_tmp204 = __cil_tmp203 | __cil_tmp196;
13970#line 1194
13971    __cil_tmp205 = (unsigned int )__cil_tmp204;
13972#line 1194
13973    page = page | __cil_tmp205;
13974#line 1195
13975    __cil_tmp206 = (unsigned long )srb;
13976#line 1195
13977    __cil_tmp207 = __cil_tmp206 + 80;
13978#line 1195
13979    __cil_tmp208 = *((unsigned char **)__cil_tmp207);
13980#line 1195
13981    __cil_tmp209 = __cil_tmp208 + 7;
13982#line 1195
13983    __cil_tmp210 = *__cil_tmp209;
13984#line 1195
13985    __cil_tmp211 = (u16 )__cil_tmp210;
13986#line 1195
13987    __cil_tmp212 = (int )__cil_tmp211;
13988#line 1195
13989    __cil_tmp213 = __cil_tmp212 << 8;
13990#line 1195
13991    __cil_tmp214 = (unsigned long )srb;
13992#line 1195
13993    __cil_tmp215 = __cil_tmp214 + 80;
13994#line 1195
13995    __cil_tmp216 = *((unsigned char **)__cil_tmp215);
13996#line 1195
13997    __cil_tmp217 = __cil_tmp216 + 8;
13998#line 1195
13999    __cil_tmp218 = *__cil_tmp217;
14000#line 1195
14001    __cil_tmp219 = (u16 )__cil_tmp218;
14002#line 1195
14003    __cil_tmp220 = (int )__cil_tmp219;
14004#line 1195
14005    __cil_tmp221 = __cil_tmp220 | __cil_tmp213;
14006#line 1195
14007    pages = (unsigned int )__cil_tmp221;
14008#line 1197
14009    printk("<7>usb-storage: alauda_transport: READ_10: page %d pagect %d\n", page,
14010           pages);
14011#line 1200
14012    __cil_tmp222 = (unsigned long )page;
14013#line 1200
14014    tmp___10 = alauda_read_data(us, __cil_tmp222, pages);
14015    }
14016#line 1200
14017    return (tmp___10);
14018  } else {
14019
14020  }
14021  }
14022  {
14023#line 1203
14024  __cil_tmp223 = (unsigned long )srb;
14025#line 1203
14026  __cil_tmp224 = __cil_tmp223 + 80;
14027#line 1203
14028  __cil_tmp225 = *((unsigned char **)__cil_tmp224);
14029#line 1203
14030  __cil_tmp226 = __cil_tmp225 + 0;
14031#line 1203
14032  __cil_tmp227 = *__cil_tmp226;
14033#line 1203
14034  __cil_tmp228 = (int )__cil_tmp227;
14035#line 1203
14036  if (__cil_tmp228 == 42) {
14037    {
14038#line 1206
14039    rc = alauda_check_media(us);
14040    }
14041#line 1207
14042    if (rc != 0) {
14043#line 1208
14044      return (rc);
14045    } else {
14046
14047    }
14048    {
14049#line 1210
14050    __cil_tmp229 = (unsigned long )srb;
14051#line 1210
14052    __cil_tmp230 = __cil_tmp229 + 80;
14053#line 1210
14054    __cil_tmp231 = *((unsigned char **)__cil_tmp230);
14055#line 1210
14056    __cil_tmp232 = __cil_tmp231 + 2;
14057#line 1210
14058    __cil_tmp233 = *__cil_tmp232;
14059#line 1210
14060    __cil_tmp234 = (u16 )__cil_tmp233;
14061#line 1210
14062    __cil_tmp235 = (int )__cil_tmp234;
14063#line 1210
14064    __cil_tmp236 = __cil_tmp235 << 8;
14065#line 1210
14066    __cil_tmp237 = (unsigned long )srb;
14067#line 1210
14068    __cil_tmp238 = __cil_tmp237 + 80;
14069#line 1210
14070    __cil_tmp239 = *((unsigned char **)__cil_tmp238);
14071#line 1210
14072    __cil_tmp240 = __cil_tmp239 + 3;
14073#line 1210
14074    __cil_tmp241 = *__cil_tmp240;
14075#line 1210
14076    __cil_tmp242 = (u16 )__cil_tmp241;
14077#line 1210
14078    __cil_tmp243 = (int )__cil_tmp242;
14079#line 1210
14080    __cil_tmp244 = __cil_tmp243 | __cil_tmp236;
14081#line 1210
14082    page___0 = (unsigned int )__cil_tmp244;
14083#line 1211
14084    page___0 = page___0 << 16;
14085#line 1212
14086    __cil_tmp245 = (unsigned long )srb;
14087#line 1212
14088    __cil_tmp246 = __cil_tmp245 + 80;
14089#line 1212
14090    __cil_tmp247 = *((unsigned char **)__cil_tmp246);
14091#line 1212
14092    __cil_tmp248 = __cil_tmp247 + 4;
14093#line 1212
14094    __cil_tmp249 = *__cil_tmp248;
14095#line 1212
14096    __cil_tmp250 = (u16 )__cil_tmp249;
14097#line 1212
14098    __cil_tmp251 = (int )__cil_tmp250;
14099#line 1212
14100    __cil_tmp252 = __cil_tmp251 << 8;
14101#line 1212
14102    __cil_tmp253 = (unsigned long )srb;
14103#line 1212
14104    __cil_tmp254 = __cil_tmp253 + 80;
14105#line 1212
14106    __cil_tmp255 = *((unsigned char **)__cil_tmp254);
14107#line 1212
14108    __cil_tmp256 = __cil_tmp255 + 5;
14109#line 1212
14110    __cil_tmp257 = *__cil_tmp256;
14111#line 1212
14112    __cil_tmp258 = (u16 )__cil_tmp257;
14113#line 1212
14114    __cil_tmp259 = (int )__cil_tmp258;
14115#line 1212
14116    __cil_tmp260 = __cil_tmp259 | __cil_tmp252;
14117#line 1212
14118    __cil_tmp261 = (unsigned int )__cil_tmp260;
14119#line 1212
14120    page___0 = page___0 | __cil_tmp261;
14121#line 1213
14122    __cil_tmp262 = (unsigned long )srb;
14123#line 1213
14124    __cil_tmp263 = __cil_tmp262 + 80;
14125#line 1213
14126    __cil_tmp264 = *((unsigned char **)__cil_tmp263);
14127#line 1213
14128    __cil_tmp265 = __cil_tmp264 + 7;
14129#line 1213
14130    __cil_tmp266 = *__cil_tmp265;
14131#line 1213
14132    __cil_tmp267 = (u16 )__cil_tmp266;
14133#line 1213
14134    __cil_tmp268 = (int )__cil_tmp267;
14135#line 1213
14136    __cil_tmp269 = __cil_tmp268 << 8;
14137#line 1213
14138    __cil_tmp270 = (unsigned long )srb;
14139#line 1213
14140    __cil_tmp271 = __cil_tmp270 + 80;
14141#line 1213
14142    __cil_tmp272 = *((unsigned char **)__cil_tmp271);
14143#line 1213
14144    __cil_tmp273 = __cil_tmp272 + 8;
14145#line 1213
14146    __cil_tmp274 = *__cil_tmp273;
14147#line 1213
14148    __cil_tmp275 = (u16 )__cil_tmp274;
14149#line 1213
14150    __cil_tmp276 = (int )__cil_tmp275;
14151#line 1213
14152    __cil_tmp277 = __cil_tmp276 | __cil_tmp269;
14153#line 1213
14154    pages___0 = (unsigned int )__cil_tmp277;
14155#line 1215
14156    printk("<7>usb-storage: alauda_transport: WRITE_10: page %d pagect %d\n", page___0,
14157           pages___0);
14158#line 1218
14159    __cil_tmp278 = (unsigned long )page___0;
14160#line 1218
14161    tmp___11 = alauda_write_data(us, __cil_tmp278, pages___0);
14162    }
14163#line 1218
14164    return (tmp___11);
14165  } else {
14166
14167  }
14168  }
14169  {
14170#line 1221
14171  __cil_tmp279 = (unsigned long )srb;
14172#line 1221
14173  __cil_tmp280 = __cil_tmp279 + 80;
14174#line 1221
14175  __cil_tmp281 = *((unsigned char **)__cil_tmp280);
14176#line 1221
14177  __cil_tmp282 = __cil_tmp281 + 0;
14178#line 1221
14179  __cil_tmp283 = *__cil_tmp282;
14180#line 1221
14181  __cil_tmp284 = (int )__cil_tmp283;
14182#line 1221
14183  if (__cil_tmp284 == 3) {
14184    {
14185#line 1222
14186    printk("<7>usb-storage: alauda_transport: REQUEST_SENSE.\n");
14187#line 1224
14188    __cil_tmp285 = (void *)ptr;
14189#line 1224
14190    __cil_tmp286 = (size_t )18;
14191#line 1224
14192    memset(__cil_tmp285, 0, __cil_tmp286);
14193#line 1225
14194    __cil_tmp287 = ptr + 0;
14195#line 1225
14196    *__cil_tmp287 = (unsigned char)240;
14197#line 1226
14198    __cil_tmp288 = ptr + 2;
14199#line 1226
14200    __cil_tmp289 = (unsigned long )info;
14201#line 1226
14202    __cil_tmp290 = __cil_tmp289 + 100;
14203#line 1226
14204    *__cil_tmp288 = *((unsigned char *)__cil_tmp290);
14205#line 1227
14206    __cil_tmp291 = ptr + 7;
14207#line 1227
14208    *__cil_tmp291 = (unsigned char)11;
14209#line 1228
14210    __cil_tmp292 = ptr + 12;
14211#line 1228
14212    __cil_tmp293 = (unsigned long )info;
14213#line 1228
14214    __cil_tmp294 = __cil_tmp293 + 104;
14215#line 1228
14216    __cil_tmp295 = *((unsigned long *)__cil_tmp294);
14217#line 1228
14218    *__cil_tmp292 = (unsigned char )__cil_tmp295;
14219#line 1229
14220    __cil_tmp296 = ptr + 13;
14221#line 1229
14222    __cil_tmp297 = (unsigned long )info;
14223#line 1229
14224    __cil_tmp298 = __cil_tmp297 + 112;
14225#line 1229
14226    __cil_tmp299 = *((unsigned long *)__cil_tmp298);
14227#line 1229
14228    *__cil_tmp296 = (unsigned char )__cil_tmp299;
14229#line 1230
14230    usb_stor_set_xfer_buf(ptr, 18U, srb);
14231    }
14232#line 1232
14233    return (0);
14234  } else {
14235
14236  }
14237  }
14238  {
14239#line 1235
14240  __cil_tmp300 = (unsigned long )srb;
14241#line 1235
14242  __cil_tmp301 = __cil_tmp300 + 80;
14243#line 1235
14244  __cil_tmp302 = *((unsigned char **)__cil_tmp301);
14245#line 1235
14246  __cil_tmp303 = __cil_tmp302 + 0;
14247#line 1235
14248  __cil_tmp304 = *__cil_tmp303;
14249#line 1235
14250  __cil_tmp305 = (int )__cil_tmp304;
14251#line 1235
14252  if (__cil_tmp305 == 30) {
14253#line 1238
14254    return (0);
14255  } else {
14256
14257  }
14258  }
14259  {
14260#line 1241
14261  __cil_tmp306 = (unsigned long )srb;
14262#line 1241
14263  __cil_tmp307 = __cil_tmp306 + 80;
14264#line 1241
14265  __cil_tmp308 = *((unsigned char **)__cil_tmp307);
14266#line 1241
14267  __cil_tmp309 = __cil_tmp308 + 0;
14268#line 1241
14269  __cil_tmp310 = *__cil_tmp309;
14270#line 1241
14271  __cil_tmp311 = (int )__cil_tmp310;
14272#line 1241
14273  __cil_tmp312 = (unsigned long )srb;
14274#line 1241
14275  __cil_tmp313 = __cil_tmp312 + 80;
14276#line 1241
14277  __cil_tmp314 = *((unsigned char **)__cil_tmp313);
14278#line 1241
14279  __cil_tmp315 = __cil_tmp314 + 0;
14280#line 1241
14281  __cil_tmp316 = *__cil_tmp315;
14282#line 1241
14283  __cil_tmp317 = (int )__cil_tmp316;
14284#line 1241
14285  printk("<7>usb-storage: alauda_transport: Gah! Unknown command: %d (0x%x)\n", __cil_tmp311,
14286         __cil_tmp317);
14287#line 1243
14288  __cil_tmp318 = (unsigned long )info;
14289#line 1243
14290  __cil_tmp319 = __cil_tmp318 + 100;
14291#line 1243
14292  *((unsigned char *)__cil_tmp319) = (unsigned char)5;
14293#line 1244
14294  __cil_tmp320 = (unsigned long )info;
14295#line 1244
14296  __cil_tmp321 = __cil_tmp320 + 104;
14297#line 1244
14298  *((unsigned long *)__cil_tmp321) = 32UL;
14299#line 1245
14300  __cil_tmp322 = (unsigned long )info;
14301#line 1245
14302  __cil_tmp323 = __cil_tmp322 + 112;
14303#line 1245
14304  *((unsigned long *)__cil_tmp323) = 0UL;
14305  }
14306#line 1246
14307  return (1);
14308}
14309}
14310#line 1249 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
14311static int alauda_probe(struct usb_interface *intf , struct usb_device_id  const  *id ) 
14312{ struct us_data *us ;
14313  int result ;
14314  unsigned long __cil_tmp5 ;
14315  unsigned long __cil_tmp6 ;
14316  struct usb_device_id *__cil_tmp7 ;
14317  struct usb_device_id  const  *__cil_tmp8 ;
14318  int __cil_tmp9 ;
14319  unsigned long __cil_tmp10 ;
14320  unsigned long __cil_tmp11 ;
14321  struct us_unusual_dev *__cil_tmp12 ;
14322  struct us_unusual_dev *__cil_tmp13 ;
14323  struct us_data **__cil_tmp14 ;
14324  struct us_data *__cil_tmp15 ;
14325  unsigned long __cil_tmp16 ;
14326  unsigned long __cil_tmp17 ;
14327  struct us_data **__cil_tmp18 ;
14328  struct us_data *__cil_tmp19 ;
14329  unsigned long __cil_tmp20 ;
14330  unsigned long __cil_tmp21 ;
14331  struct us_data **__cil_tmp22 ;
14332  struct us_data *__cil_tmp23 ;
14333  unsigned long __cil_tmp24 ;
14334  unsigned long __cil_tmp25 ;
14335  struct us_data **__cil_tmp26 ;
14336  struct us_data *__cil_tmp27 ;
14337  unsigned long __cil_tmp28 ;
14338  unsigned long __cil_tmp29 ;
14339  struct us_data **__cil_tmp30 ;
14340  struct us_data *__cil_tmp31 ;
14341
14342  {
14343  {
14344#line 1255
14345  __cil_tmp5 = 0 * 24UL;
14346#line 1255
14347  __cil_tmp6 = (unsigned long )(alauda_usb_ids) + __cil_tmp5;
14348#line 1255
14349  __cil_tmp7 = (struct usb_device_id *)__cil_tmp6;
14350#line 1255
14351  __cil_tmp8 = (struct usb_device_id  const  *)__cil_tmp7;
14352#line 1255
14353  __cil_tmp9 = id - __cil_tmp8;
14354#line 1255
14355  __cil_tmp10 = 0 * 32UL;
14356#line 1255
14357  __cil_tmp11 = (unsigned long )(alauda_unusual_dev_list) + __cil_tmp10;
14358#line 1255
14359  __cil_tmp12 = (struct us_unusual_dev *)__cil_tmp11;
14360#line 1255
14361  __cil_tmp13 = __cil_tmp12 + __cil_tmp9;
14362#line 1255
14363  result = usb_stor_probe1(& us, intf, id, __cil_tmp13);
14364  }
14365#line 1257
14366  if (result) {
14367#line 1258
14368    return (result);
14369  } else {
14370
14371  }
14372  {
14373#line 1260
14374  __cil_tmp14 = & us;
14375#line 1260
14376  __cil_tmp15 = *__cil_tmp14;
14377#line 1260
14378  __cil_tmp16 = (unsigned long )__cil_tmp15;
14379#line 1260
14380  __cil_tmp17 = __cil_tmp16 + 136;
14381#line 1260
14382  *((char **)__cil_tmp17) = (char *)"Alauda Control/Bulk";
14383#line 1261
14384  __cil_tmp18 = & us;
14385#line 1261
14386  __cil_tmp19 = *__cil_tmp18;
14387#line 1261
14388  __cil_tmp20 = (unsigned long )__cil_tmp19;
14389#line 1261
14390  __cil_tmp21 = __cil_tmp20 + 168;
14391#line 1261
14392  *((int (**)(struct scsi_cmnd * , struct us_data * ))__cil_tmp21) = & alauda_transport;
14393#line 1262
14394  __cil_tmp22 = & us;
14395#line 1262
14396  __cil_tmp23 = *__cil_tmp22;
14397#line 1262
14398  __cil_tmp24 = (unsigned long )__cil_tmp23;
14399#line 1262
14400  __cil_tmp25 = __cil_tmp24 + 176;
14401#line 1262
14402  *((int (**)(struct us_data * ))__cil_tmp25) = & usb_stor_Bulk_reset;
14403#line 1263
14404  __cil_tmp26 = & us;
14405#line 1263
14406  __cil_tmp27 = *__cil_tmp26;
14407#line 1263
14408  __cil_tmp28 = (unsigned long )__cil_tmp27;
14409#line 1263
14410  __cil_tmp29 = __cil_tmp28 + 158;
14411#line 1263
14412  *((u8 *)__cil_tmp29) = (u8 )1;
14413#line 1265
14414  __cil_tmp30 = & us;
14415#line 1265
14416  __cil_tmp31 = *__cil_tmp30;
14417#line 1265
14418  result = usb_stor_probe2(__cil_tmp31);
14419  }
14420#line 1266
14421  return (result);
14422}
14423}
14424#line 1269 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
14425static struct usb_driver alauda_driver  = 
14426#line 1269
14427     {"ums-alauda", & alauda_probe, & usb_stor_disconnect, (int (*)(struct usb_interface *intf ,
14428                                                                  unsigned int code ,
14429                                                                  void *buf ))0, & usb_stor_suspend,
14430    & usb_stor_resume, & usb_stor_reset_resume, & usb_stor_pre_reset, & usb_stor_post_reset,
14431    (struct usb_device_id  const  *)(alauda_usb_ids), {{{{{{0U}}, 0U, 0U, (void *)0}}},
14432                                                       {(struct list_head *)0, (struct list_head *)0}},
14433    {{(char const   *)0, (struct bus_type *)0, (struct module *)0, (char const   *)0,
14434      (_Bool)0, (struct of_device_id  const  *)0, (int (*)(struct device *dev ))0,
14435      (int (*)(struct device *dev ))0, (void (*)(struct device *dev ))0, (int (*)(struct device *dev ,
14436                                                                                  pm_message_t state ))0,
14437      (int (*)(struct device *dev ))0, (struct attribute_group  const  **)0, (struct dev_pm_ops  const  *)0,
14438      (struct driver_private *)0}, 0}, 1U, 0U, 1U};
14439#line 1283
14440static int alauda_driver_init(void)  __attribute__((__section__(".init.text"), __no_instrument_function__)) ;
14441#line 1283 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
14442static int alauda_driver_init(void) 
14443{ int tmp___7 ;
14444
14445  {
14446  {
14447#line 1283
14448  tmp___7 = usb_register_driver(& alauda_driver, & __this_module, "ums_alauda");
14449  }
14450#line 1283
14451  return (tmp___7);
14452}
14453}
14454#line 1283 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
14455int init_module(void) 
14456{ int tmp___7 ;
14457
14458  {
14459  {
14460#line 1283
14461  tmp___7 = alauda_driver_init();
14462  }
14463#line 1283
14464  return (tmp___7);
14465}
14466}
14467#line 1283
14468static void alauda_driver_exit(void)  __attribute__((__section__(".exit.text"), __no_instrument_function__)) ;
14469#line 1283 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
14470static void alauda_driver_exit(void) 
14471{ 
14472
14473  {
14474  {
14475#line 1283
14476  usb_deregister(& alauda_driver);
14477  }
14478#line 1283
14479  return;
14480}
14481}
14482#line 1283 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
14483void cleanup_module(void) 
14484{ 
14485
14486  {
14487  {
14488#line 1283
14489  alauda_driver_exit();
14490  }
14491#line 1283
14492  return;
14493}
14494}
14495#line 1301
14496void ldv_check_final_state(void) ;
14497#line 1304
14498extern void ldv_check_return_value(int res ) ;
14499#line 1307
14500extern void ldv_initialize(void) ;
14501#line 1310
14502extern int __VERIFIER_nondet_int(void) ;
14503#line 1313 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
14504int LDV_IN_INTERRUPT  ;
14505#line 1376 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
14506static int res_alauda_probe_27  ;
14507#line 1316 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
14508void main(void) 
14509{ struct usb_interface *var_group1 ;
14510  struct usb_device_id  const  *var_alauda_probe_27_p1 ;
14511  int ldv_s_alauda_driver_usb_driver ;
14512  int tmp___7 ;
14513  int tmp___8 ;
14514  int __cil_tmp6 ;
14515
14516  {
14517  {
14518#line 1384
14519  LDV_IN_INTERRUPT = 1;
14520#line 1393
14521  ldv_initialize();
14522#line 1394
14523  ldv_s_alauda_driver_usb_driver = 0;
14524  }
14525  {
14526#line 1397
14527  while (1) {
14528    while_continue: /* CIL Label */ ;
14529    {
14530#line 1397
14531    tmp___8 = __VERIFIER_nondet_int();
14532    }
14533#line 1397
14534    if (tmp___8) {
14535
14536    } else {
14537      {
14538#line 1397
14539      __cil_tmp6 = ldv_s_alauda_driver_usb_driver == 0;
14540#line 1397
14541      if (! __cil_tmp6) {
14542
14543      } else {
14544#line 1397
14545        goto while_break;
14546      }
14547      }
14548    }
14549    {
14550#line 1401
14551    tmp___7 = __VERIFIER_nondet_int();
14552    }
14553#line 1403
14554    if (tmp___7 == 0) {
14555#line 1403
14556      goto case_0;
14557    } else {
14558      {
14559#line 1468
14560      goto switch_default;
14561#line 1401
14562      if (0) {
14563        case_0: /* CIL Label */ 
14564#line 1406
14565        if (ldv_s_alauda_driver_usb_driver == 0) {
14566          {
14567#line 1457
14568          res_alauda_probe_27 = alauda_probe(var_group1, var_alauda_probe_27_p1);
14569#line 1458
14570          ldv_check_return_value(res_alauda_probe_27);
14571          }
14572#line 1459
14573          if (res_alauda_probe_27) {
14574#line 1460
14575            goto ldv_module_exit;
14576          } else {
14577
14578          }
14579#line 1461
14580          ldv_s_alauda_driver_usb_driver = 0;
14581        } else {
14582
14583        }
14584#line 1467
14585        goto switch_break;
14586        switch_default: /* CIL Label */ 
14587#line 1468
14588        goto switch_break;
14589      } else {
14590        switch_break: /* CIL Label */ ;
14591      }
14592      }
14593    }
14594  }
14595  while_break: /* CIL Label */ ;
14596  }
14597  ldv_module_exit: 
14598  {
14599#line 1477
14600  ldv_check_final_state();
14601  }
14602#line 1480
14603  return;
14604}
14605}
14606#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast-assert.h"
14607void ldv_blast_assert(void) 
14608{ 
14609
14610  {
14611  ERROR: 
14612#line 6
14613  goto ERROR;
14614}
14615}
14616#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast.h"
14617extern int __VERIFIER_nondet_int(void) ;
14618#line 19 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
14619int ldv_mutex  =    1;
14620#line 22 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
14621int __attribute__((__warn_unused_result__))  mutex_lock_interruptible(struct mutex *lock ) 
14622{ int nondetermined ;
14623
14624  {
14625#line 29
14626  if (ldv_mutex == 1) {
14627
14628  } else {
14629    {
14630#line 29
14631    ldv_blast_assert();
14632    }
14633  }
14634  {
14635#line 32
14636  nondetermined = __VERIFIER_nondet_int();
14637  }
14638#line 35
14639  if (nondetermined) {
14640#line 38
14641    ldv_mutex = 2;
14642#line 40
14643    return (0);
14644  } else {
14645#line 45
14646    return (-4);
14647  }
14648}
14649}
14650#line 50 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
14651int __attribute__((__warn_unused_result__))  mutex_lock_killable(struct mutex *lock ) 
14652{ int nondetermined ;
14653
14654  {
14655#line 57
14656  if (ldv_mutex == 1) {
14657
14658  } else {
14659    {
14660#line 57
14661    ldv_blast_assert();
14662    }
14663  }
14664  {
14665#line 60
14666  nondetermined = __VERIFIER_nondet_int();
14667  }
14668#line 63
14669  if (nondetermined) {
14670#line 66
14671    ldv_mutex = 2;
14672#line 68
14673    return (0);
14674  } else {
14675#line 73
14676    return (-4);
14677  }
14678}
14679}
14680#line 78 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
14681int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock ) 
14682{ int atomic_value_after_dec ;
14683
14684  {
14685#line 83
14686  if (ldv_mutex == 1) {
14687
14688  } else {
14689    {
14690#line 83
14691    ldv_blast_assert();
14692    }
14693  }
14694  {
14695#line 86
14696  atomic_value_after_dec = __VERIFIER_nondet_int();
14697  }
14698#line 89
14699  if (atomic_value_after_dec == 0) {
14700#line 92
14701    ldv_mutex = 2;
14702#line 94
14703    return (1);
14704  } else {
14705
14706  }
14707#line 98
14708  return (0);
14709}
14710}
14711#line 103 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
14712void mutex_lock(struct mutex *lock ) 
14713{ 
14714
14715  {
14716#line 108
14717  if (ldv_mutex == 1) {
14718
14719  } else {
14720    {
14721#line 108
14722    ldv_blast_assert();
14723    }
14724  }
14725#line 110
14726  ldv_mutex = 2;
14727#line 111
14728  return;
14729}
14730}
14731#line 114 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
14732int mutex_trylock(struct mutex *lock ) 
14733{ int nondetermined ;
14734
14735  {
14736#line 121
14737  if (ldv_mutex == 1) {
14738
14739  } else {
14740    {
14741#line 121
14742    ldv_blast_assert();
14743    }
14744  }
14745  {
14746#line 124
14747  nondetermined = __VERIFIER_nondet_int();
14748  }
14749#line 127
14750  if (nondetermined) {
14751#line 130
14752    ldv_mutex = 2;
14753#line 132
14754    return (1);
14755  } else {
14756#line 137
14757    return (0);
14758  }
14759}
14760}
14761#line 142 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
14762void mutex_unlock(struct mutex *lock ) 
14763{ 
14764
14765  {
14766#line 147
14767  if (ldv_mutex == 2) {
14768
14769  } else {
14770    {
14771#line 147
14772    ldv_blast_assert();
14773    }
14774  }
14775#line 149
14776  ldv_mutex = 1;
14777#line 150
14778  return;
14779}
14780}
14781#line 153 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
14782void ldv_check_final_state(void) 
14783{ 
14784
14785  {
14786#line 156
14787  if (ldv_mutex == 1) {
14788
14789  } else {
14790    {
14791#line 156
14792    ldv_blast_assert();
14793    }
14794  }
14795#line 157
14796  return;
14797}
14798}
14799#line 1489 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/7657/dscv_tempdir/dscv/ri/32_1/drivers/usb/storage/alauda.c.common.c"
14800long s__builtin_expect(long val , long res ) 
14801{ 
14802
14803  {
14804#line 1490
14805  return (val);
14806}
14807}