Showing error 613

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