Showing error 748

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_7_cilled_unsafe_const_ok_linux-32_1-drivers--scsi--libfc--libfc.ko-ldv_main5_sequence_infinite_withcheck_stateful.cil.out.c
Line in file: 8587
Project: SV-COMP 2013
Project version: 2.6.28
Tools: Manual Work
Entered: 2013-01-17 16:57:54 UTC


Source:

    1/* Generated by CIL v. 1.3.7 */
    2/* print_CIL_Input is true */
    3
    4#line 19 "include/asm-generic/int-ll64.h"
    5typedef signed char __s8;
    6#line 20 "include/asm-generic/int-ll64.h"
    7typedef unsigned char __u8;
    8#line 22 "include/asm-generic/int-ll64.h"
    9typedef short __s16;
   10#line 23 "include/asm-generic/int-ll64.h"
   11typedef unsigned short __u16;
   12#line 25 "include/asm-generic/int-ll64.h"
   13typedef int __s32;
   14#line 26 "include/asm-generic/int-ll64.h"
   15typedef unsigned int __u32;
   16#line 29 "include/asm-generic/int-ll64.h"
   17typedef long long __s64;
   18#line 30 "include/asm-generic/int-ll64.h"
   19typedef unsigned long long __u64;
   20#line 43 "include/asm-generic/int-ll64.h"
   21typedef unsigned char u8;
   22#line 45 "include/asm-generic/int-ll64.h"
   23typedef short s16;
   24#line 46 "include/asm-generic/int-ll64.h"
   25typedef unsigned short u16;
   26#line 48 "include/asm-generic/int-ll64.h"
   27typedef int s32;
   28#line 49 "include/asm-generic/int-ll64.h"
   29typedef unsigned int u32;
   30#line 51 "include/asm-generic/int-ll64.h"
   31typedef long long s64;
   32#line 52 "include/asm-generic/int-ll64.h"
   33typedef unsigned long long u64;
   34#line 14 "include/asm-generic/posix_types.h"
   35typedef long __kernel_long_t;
   36#line 15 "include/asm-generic/posix_types.h"
   37typedef unsigned long __kernel_ulong_t;
   38#line 31 "include/asm-generic/posix_types.h"
   39typedef int __kernel_pid_t;
   40#line 52 "include/asm-generic/posix_types.h"
   41typedef unsigned int __kernel_uid32_t;
   42#line 53 "include/asm-generic/posix_types.h"
   43typedef unsigned int __kernel_gid32_t;
   44#line 75 "include/asm-generic/posix_types.h"
   45typedef __kernel_ulong_t __kernel_size_t;
   46#line 76 "include/asm-generic/posix_types.h"
   47typedef __kernel_long_t __kernel_ssize_t;
   48#line 90 "include/asm-generic/posix_types.h"
   49typedef __kernel_long_t __kernel_off_t;
   50#line 91 "include/asm-generic/posix_types.h"
   51typedef long long __kernel_loff_t;
   52#line 92 "include/asm-generic/posix_types.h"
   53typedef __kernel_long_t __kernel_time_t;
   54#line 93 "include/asm-generic/posix_types.h"
   55typedef __kernel_long_t __kernel_clock_t;
   56#line 94 "include/asm-generic/posix_types.h"
   57typedef int __kernel_timer_t;
   58#line 95 "include/asm-generic/posix_types.h"
   59typedef int __kernel_clockid_t;
   60#line 21 "include/linux/types.h"
   61typedef __u32 __kernel_dev_t;
   62#line 24 "include/linux/types.h"
   63typedef __kernel_dev_t dev_t;
   64#line 27 "include/linux/types.h"
   65typedef unsigned short umode_t;
   66#line 29 "include/linux/types.h"
   67typedef __kernel_off_t off_t;
   68#line 30 "include/linux/types.h"
   69typedef __kernel_pid_t pid_t;
   70#line 35 "include/linux/types.h"
   71typedef __kernel_clockid_t clockid_t;
   72#line 38 "include/linux/types.h"
   73typedef _Bool bool;
   74#line 40 "include/linux/types.h"
   75typedef __kernel_uid32_t uid_t;
   76#line 41 "include/linux/types.h"
   77typedef __kernel_gid32_t gid_t;
   78#line 54 "include/linux/types.h"
   79typedef __kernel_loff_t loff_t;
   80#line 63 "include/linux/types.h"
   81typedef __kernel_size_t size_t;
   82#line 68 "include/linux/types.h"
   83typedef __kernel_ssize_t ssize_t;
   84#line 78 "include/linux/types.h"
   85typedef __kernel_time_t time_t;
   86#line 100 "include/linux/types.h"
   87typedef unsigned int uint;
   88#line 111 "include/linux/types.h"
   89typedef __s32 int32_t;
   90#line 117 "include/linux/types.h"
   91typedef __u32 uint32_t;
   92#line 142 "include/linux/types.h"
   93typedef unsigned long sector_t;
   94#line 143 "include/linux/types.h"
   95typedef unsigned long blkcnt_t;
   96#line 155 "include/linux/types.h"
   97typedef u64 dma_addr_t;
   98#line 179 "include/linux/types.h"
   99typedef __u16 __be16;
  100#line 181 "include/linux/types.h"
  101typedef __u32 __be32;
  102#line 183 "include/linux/types.h"
  103typedef __u64 __be64;
  104#line 186 "include/linux/types.h"
  105typedef __u32 __wsum;
  106#line 202 "include/linux/types.h"
  107typedef unsigned int gfp_t;
  108#line 203 "include/linux/types.h"
  109typedef unsigned int fmode_t;
  110#line 206 "include/linux/types.h"
  111typedef u64 phys_addr_t;
  112#line 219 "include/linux/types.h"
  113struct __anonstruct_atomic_t_7 {
  114   int counter ;
  115};
  116#line 219 "include/linux/types.h"
  117typedef struct __anonstruct_atomic_t_7 atomic_t;
  118#line 224 "include/linux/types.h"
  119struct __anonstruct_atomic64_t_8 {
  120   long counter ;
  121};
  122#line 224 "include/linux/types.h"
  123typedef struct __anonstruct_atomic64_t_8 atomic64_t;
  124#line 229 "include/linux/types.h"
  125struct list_head {
  126   struct list_head *next ;
  127   struct list_head *prev ;
  128};
  129#line 233
  130struct hlist_node;
  131#line 233 "include/linux/types.h"
  132struct hlist_head {
  133   struct hlist_node *first ;
  134};
  135#line 237 "include/linux/types.h"
  136struct hlist_node {
  137   struct hlist_node *next ;
  138   struct hlist_node **pprev ;
  139};
  140#line 253 "include/linux/types.h"
  141struct rcu_head {
  142   struct rcu_head *next ;
  143   void (*func)(struct rcu_head *head ) ;
  144};
  145#line 56 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
  146struct module;
  147#line 146 "include/linux/init.h"
  148typedef void (*ctor_fn_t)(void);
  149#line 47 "include/linux/dynamic_debug.h"
  150struct device;
  151#line 53
  152struct net_device;
  153#line 135 "include/linux/kernel.h"
  154struct completion;
  155#line 136
  156struct pt_regs;
  157#line 349
  158struct pid;
  159#line 10 "include/asm-generic/bug.h"
  160struct bug_entry {
  161   int bug_addr_disp ;
  162   int file_disp ;
  163   unsigned short line ;
  164   unsigned short flags ;
  165};
  166#line 12 "include/linux/thread_info.h"
  167struct timespec;
  168#line 13
  169struct compat_timespec;
  170#line 18 "include/linux/thread_info.h"
  171struct __anonstruct_futex_11 {
  172   u32 *uaddr ;
  173   u32 val ;
  174   u32 flags ;
  175   u32 bitset ;
  176   u64 time ;
  177   u32 *uaddr2 ;
  178};
  179#line 18 "include/linux/thread_info.h"
  180struct __anonstruct_nanosleep_12 {
  181   clockid_t clockid ;
  182   struct timespec *rmtp ;
  183   struct compat_timespec *compat_rmtp ;
  184   u64 expires ;
  185};
  186#line 18
  187struct pollfd;
  188#line 18 "include/linux/thread_info.h"
  189struct __anonstruct_poll_13 {
  190   struct pollfd *ufds ;
  191   int nfds ;
  192   int has_timeout ;
  193   unsigned long tv_sec ;
  194   unsigned long tv_nsec ;
  195};
  196#line 18 "include/linux/thread_info.h"
  197union __anonunion____missing_field_name_10 {
  198   struct __anonstruct_futex_11 futex ;
  199   struct __anonstruct_nanosleep_12 nanosleep ;
  200   struct __anonstruct_poll_13 poll ;
  201};
  202#line 18 "include/linux/thread_info.h"
  203struct restart_block {
  204   long (*fn)(struct restart_block * ) ;
  205   union __anonunion____missing_field_name_10 __annonCompField4 ;
  206};
  207#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page.h"
  208struct page;
  209#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
  210struct task_struct;
  211#line 21
  212struct exec_domain;
  213#line 8 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  214struct mm_struct;
  215#line 99 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
  216struct pt_regs {
  217   unsigned long r15 ;
  218   unsigned long r14 ;
  219   unsigned long r13 ;
  220   unsigned long r12 ;
  221   unsigned long bp ;
  222   unsigned long bx ;
  223   unsigned long r11 ;
  224   unsigned long r10 ;
  225   unsigned long r9 ;
  226   unsigned long r8 ;
  227   unsigned long ax ;
  228   unsigned long cx ;
  229   unsigned long dx ;
  230   unsigned long si ;
  231   unsigned long di ;
  232   unsigned long orig_ax ;
  233   unsigned long ip ;
  234   unsigned long cs ;
  235   unsigned long flags ;
  236   unsigned long sp ;
  237   unsigned long ss ;
  238};
  239#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
  240struct __anonstruct____missing_field_name_15 {
  241   unsigned int a ;
  242   unsigned int b ;
  243};
  244#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
  245struct __anonstruct____missing_field_name_16 {
  246   u16 limit0 ;
  247   u16 base0 ;
  248   unsigned int base1 : 8 ;
  249   unsigned int type : 4 ;
  250   unsigned int s : 1 ;
  251   unsigned int dpl : 2 ;
  252   unsigned int p : 1 ;
  253   unsigned int limit : 4 ;
  254   unsigned int avl : 1 ;
  255   unsigned int l : 1 ;
  256   unsigned int d : 1 ;
  257   unsigned int g : 1 ;
  258   unsigned int base2 : 8 ;
  259};
  260#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
  261union __anonunion____missing_field_name_14 {
  262   struct __anonstruct____missing_field_name_15 __annonCompField5 ;
  263   struct __anonstruct____missing_field_name_16 __annonCompField6 ;
  264};
  265#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
  266struct desc_struct {
  267   union __anonunion____missing_field_name_14 __annonCompField7 ;
  268} __attribute__((__packed__)) ;
  269#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
  270typedef unsigned long pgdval_t;
  271#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
  272typedef unsigned long pgprotval_t;
  273#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  274struct pgprot {
  275   pgprotval_t pgprot ;
  276};
  277#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  278typedef struct pgprot pgprot_t;
  279#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  280struct __anonstruct_pgd_t_20 {
  281   pgdval_t pgd ;
  282};
  283#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  284typedef struct __anonstruct_pgd_t_20 pgd_t;
  285#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
  286typedef struct page *pgtable_t;
  287#line 295
  288struct file;
  289#line 313
  290struct seq_file;
  291#line 47 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
  292struct thread_struct;
  293#line 53
  294struct cpumask;
  295#line 329
  296struct arch_spinlock;
  297#line 141 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
  298struct kernel_vm86_regs {
  299   struct pt_regs pt ;
  300   unsigned short es ;
  301   unsigned short __esh ;
  302   unsigned short ds ;
  303   unsigned short __dsh ;
  304   unsigned short fs ;
  305   unsigned short __fsh ;
  306   unsigned short gs ;
  307   unsigned short __gsh ;
  308};
  309#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
  310union __anonunion____missing_field_name_24 {
  311   struct pt_regs *regs ;
  312   struct kernel_vm86_regs *vm86 ;
  313};
  314#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
  315struct math_emu_info {
  316   long ___orig_eip ;
  317   union __anonunion____missing_field_name_24 __annonCompField8 ;
  318};
  319#line 14 "include/linux/cpumask.h"
  320struct cpumask {
  321   unsigned long bits[((4096UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
  322};
  323#line 14 "include/linux/cpumask.h"
  324typedef struct cpumask cpumask_t;
  325#line 637 "include/linux/cpumask.h"
  326typedef struct cpumask *cpumask_var_t;
  327#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
  328struct static_key;
  329#line 92 "include/linux/personality.h"
  330struct map_segment;
  331#line 92 "include/linux/personality.h"
  332struct exec_domain {
  333   char    *name ;
  334   void (*handler)(int  , struct pt_regs * ) ;
  335   unsigned char pers_low ;
  336   unsigned char pers_high ;
  337   unsigned long *signal_map ;
  338   unsigned long *signal_invmap ;
  339   struct map_segment *err_map ;
  340   struct map_segment *socktype_map ;
  341   struct map_segment *sockopt_map ;
  342   struct map_segment *af_map ;
  343   struct module *module ;
  344   struct exec_domain *next ;
  345};
  346#line 290 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  347struct i387_fsave_struct {
  348   u32 cwd ;
  349   u32 swd ;
  350   u32 twd ;
  351   u32 fip ;
  352   u32 fcs ;
  353   u32 foo ;
  354   u32 fos ;
  355   u32 st_space[20] ;
  356   u32 status ;
  357};
  358#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  359struct __anonstruct____missing_field_name_31 {
  360   u64 rip ;
  361   u64 rdp ;
  362};
  363#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  364struct __anonstruct____missing_field_name_32 {
  365   u32 fip ;
  366   u32 fcs ;
  367   u32 foo ;
  368   u32 fos ;
  369};
  370#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  371union __anonunion____missing_field_name_30 {
  372   struct __anonstruct____missing_field_name_31 __annonCompField12 ;
  373   struct __anonstruct____missing_field_name_32 __annonCompField13 ;
  374};
  375#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  376union __anonunion____missing_field_name_33 {
  377   u32 padding1[12] ;
  378   u32 sw_reserved[12] ;
  379};
  380#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  381struct i387_fxsave_struct {
  382   u16 cwd ;
  383   u16 swd ;
  384   u16 twd ;
  385   u16 fop ;
  386   union __anonunion____missing_field_name_30 __annonCompField14 ;
  387   u32 mxcsr ;
  388   u32 mxcsr_mask ;
  389   u32 st_space[32] ;
  390   u32 xmm_space[64] ;
  391   u32 padding[12] ;
  392   union __anonunion____missing_field_name_33 __annonCompField15 ;
  393} __attribute__((__aligned__(16))) ;
  394#line 341 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  395struct i387_soft_struct {
  396   u32 cwd ;
  397   u32 swd ;
  398   u32 twd ;
  399   u32 fip ;
  400   u32 fcs ;
  401   u32 foo ;
  402   u32 fos ;
  403   u32 st_space[20] ;
  404   u8 ftop ;
  405   u8 changed ;
  406   u8 lookahead ;
  407   u8 no_update ;
  408   u8 rm ;
  409   u8 alimit ;
  410   struct math_emu_info *info ;
  411   u32 entry_eip ;
  412};
  413#line 361 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  414struct ymmh_struct {
  415   u32 ymmh_space[64] ;
  416};
  417#line 366 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  418struct xsave_hdr_struct {
  419   u64 xstate_bv ;
  420   u64 reserved1[2] ;
  421   u64 reserved2[5] ;
  422} __attribute__((__packed__)) ;
  423#line 372 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  424struct xsave_struct {
  425   struct i387_fxsave_struct i387 ;
  426   struct xsave_hdr_struct xsave_hdr ;
  427   struct ymmh_struct ymmh ;
  428} __attribute__((__packed__, __aligned__(64))) ;
  429#line 379 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  430union thread_xstate {
  431   struct i387_fsave_struct fsave ;
  432   struct i387_fxsave_struct fxsave ;
  433   struct i387_soft_struct soft ;
  434   struct xsave_struct xsave ;
  435};
  436#line 386 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  437struct fpu {
  438   unsigned int last_cpu ;
  439   unsigned int has_fpu ;
  440   union thread_xstate *state ;
  441};
  442#line 433
  443struct kmem_cache;
  444#line 435
  445struct perf_event;
  446#line 437 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  447struct thread_struct {
  448   struct desc_struct tls_array[3] ;
  449   unsigned long sp0 ;
  450   unsigned long sp ;
  451   unsigned long usersp ;
  452   unsigned short es ;
  453   unsigned short ds ;
  454   unsigned short fsindex ;
  455   unsigned short gsindex ;
  456   unsigned long fs ;
  457   unsigned long gs ;
  458   struct perf_event *ptrace_bps[4] ;
  459   unsigned long debugreg6 ;
  460   unsigned long ptrace_dr7 ;
  461   unsigned long cr2 ;
  462   unsigned long trap_nr ;
  463   unsigned long error_code ;
  464   struct fpu fpu ;
  465   unsigned long *io_bitmap_ptr ;
  466   unsigned long iopl ;
  467   unsigned int io_bitmap_max ;
  468};
  469#line 569 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  470struct __anonstruct_mm_segment_t_35 {
  471   unsigned long seg ;
  472};
  473#line 569 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
  474typedef struct __anonstruct_mm_segment_t_35 mm_segment_t;
  475#line 23 "include/asm-generic/atomic-long.h"
  476typedef atomic64_t atomic_long_t;
  477#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
  478struct thread_info {
  479   struct task_struct *task ;
  480   struct exec_domain *exec_domain ;
  481   __u32 flags ;
  482   __u32 status ;
  483   __u32 cpu ;
  484   int preempt_count ;
  485   mm_segment_t addr_limit ;
  486   struct restart_block restart_block ;
  487   void *sysenter_return ;
  488   unsigned int sig_on_uaccess_error : 1 ;
  489   unsigned int uaccess_err : 1 ;
  490};
  491#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  492typedef u16 __ticket_t;
  493#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  494typedef u32 __ticketpair_t;
  495#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  496struct __raw_tickets {
  497   __ticket_t head ;
  498   __ticket_t tail ;
  499};
  500#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  501union __anonunion____missing_field_name_36 {
  502   __ticketpair_t head_tail ;
  503   struct __raw_tickets tickets ;
  504};
  505#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  506struct arch_spinlock {
  507   union __anonunion____missing_field_name_36 __annonCompField17 ;
  508};
  509#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
  510typedef struct arch_spinlock arch_spinlock_t;
  511#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
  512struct __anonstruct____missing_field_name_38 {
  513   u32 read ;
  514   s32 write ;
  515};
  516#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
  517union __anonunion_arch_rwlock_t_37 {
  518   s64 lock ;
  519   struct __anonstruct____missing_field_name_38 __annonCompField18 ;
  520};
  521#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
  522typedef union __anonunion_arch_rwlock_t_37 arch_rwlock_t;
  523#line 391 "include/linux/lockdep.h"
  524struct lock_class_key {
  525
  526};
  527#line 20 "include/linux/spinlock_types.h"
  528struct raw_spinlock {
  529   arch_spinlock_t raw_lock ;
  530   unsigned int magic ;
  531   unsigned int owner_cpu ;
  532   void *owner ;
  533};
  534#line 20 "include/linux/spinlock_types.h"
  535typedef struct raw_spinlock raw_spinlock_t;
  536#line 64 "include/linux/spinlock_types.h"
  537union __anonunion____missing_field_name_39 {
  538   struct raw_spinlock rlock ;
  539};
  540#line 64 "include/linux/spinlock_types.h"
  541struct spinlock {
  542   union __anonunion____missing_field_name_39 __annonCompField19 ;
  543};
  544#line 64 "include/linux/spinlock_types.h"
  545typedef struct spinlock spinlock_t;
  546#line 11 "include/linux/rwlock_types.h"
  547struct __anonstruct_rwlock_t_40 {
  548   arch_rwlock_t raw_lock ;
  549   unsigned int magic ;
  550   unsigned int owner_cpu ;
  551   void *owner ;
  552};
  553#line 11 "include/linux/rwlock_types.h"
  554typedef struct __anonstruct_rwlock_t_40 rwlock_t;
  555#line 49 "include/linux/wait.h"
  556struct __wait_queue_head {
  557   spinlock_t lock ;
  558   struct list_head task_list ;
  559};
  560#line 53 "include/linux/wait.h"
  561typedef struct __wait_queue_head wait_queue_head_t;
  562#line 119 "include/linux/seqlock.h"
  563struct seqcount {
  564   unsigned int sequence ;
  565};
  566#line 119 "include/linux/seqlock.h"
  567typedef struct seqcount seqcount_t;
  568#line 98 "include/linux/nodemask.h"
  569struct __anonstruct_nodemask_t_42 {
  570   unsigned long bits[(((unsigned long )(1 << 10) + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
  571};
  572#line 98 "include/linux/nodemask.h"
  573typedef struct __anonstruct_nodemask_t_42 nodemask_t;
  574#line 48 "include/linux/mutex.h"
  575struct mutex {
  576   atomic_t count ;
  577   spinlock_t wait_lock ;
  578   struct list_head wait_list ;
  579   struct task_struct *owner ;
  580   char    *name ;
  581   void *magic ;
  582};
  583#line 69 "include/linux/mutex.h"
  584struct mutex_waiter {
  585   struct list_head list ;
  586   struct task_struct *task ;
  587   void *magic ;
  588};
  589#line 19 "include/linux/rwsem.h"
  590struct rw_semaphore;
  591#line 25 "include/linux/rwsem.h"
  592struct rw_semaphore {
  593   long count ;
  594   raw_spinlock_t wait_lock ;
  595   struct list_head wait_list ;
  596};
  597#line 25 "include/linux/completion.h"
  598struct completion {
  599   unsigned int done ;
  600   wait_queue_head_t wait ;
  601};
  602#line 188 "include/linux/rcupdate.h"
  603struct notifier_block;
  604#line 50 "include/linux/notifier.h"
  605struct notifier_block {
  606   int (*notifier_call)(struct notifier_block * , unsigned long  , void * ) ;
  607   struct notifier_block *next ;
  608   int priority ;
  609};
  610#line 61 "include/linux/notifier.h"
  611struct blocking_notifier_head {
  612   struct rw_semaphore rwsem ;
  613   struct notifier_block *head ;
  614};
  615#line 14 "include/linux/time.h"
  616struct timespec {
  617   __kernel_time_t tv_sec ;
  618   long tv_nsec ;
  619};
  620#line 46 "include/linux/ktime.h"
  621union ktime {
  622   s64 tv64 ;
  623};
  624#line 59 "include/linux/ktime.h"
  625typedef union ktime ktime_t;
  626#line 10 "include/linux/timer.h"
  627struct tvec_base;
  628#line 12 "include/linux/timer.h"
  629struct timer_list {
  630   struct list_head entry ;
  631   unsigned long expires ;
  632   struct tvec_base *base ;
  633   void (*function)(unsigned long  ) ;
  634   unsigned long data ;
  635   int slack ;
  636   int start_pid ;
  637   void *start_site ;
  638   char start_comm[16] ;
  639};
  640#line 289
  641struct hrtimer;
  642#line 290
  643enum hrtimer_restart;
  644#line 15 "include/linux/workqueue.h"
  645struct workqueue_struct;
  646#line 17
  647struct work_struct;
  648#line 79 "include/linux/workqueue.h"
  649struct work_struct {
  650   atomic_long_t data ;
  651   struct list_head entry ;
  652   void (*func)(struct work_struct *work ) ;
  653};
  654#line 92 "include/linux/workqueue.h"
  655struct delayed_work {
  656   struct work_struct work ;
  657   struct timer_list timer ;
  658};
  659#line 102 "include/linux/workqueue.h"
  660struct execute_work {
  661   struct work_struct work ;
  662};
  663#line 50 "include/linux/pm.h"
  664struct pm_message {
  665   int event ;
  666};
  667#line 50 "include/linux/pm.h"
  668typedef struct pm_message pm_message_t;
  669#line 264 "include/linux/pm.h"
  670struct dev_pm_ops {
  671   int (*prepare)(struct device *dev ) ;
  672   void (*complete)(struct device *dev ) ;
  673   int (*suspend)(struct device *dev ) ;
  674   int (*resume)(struct device *dev ) ;
  675   int (*freeze)(struct device *dev ) ;
  676   int (*thaw)(struct device *dev ) ;
  677   int (*poweroff)(struct device *dev ) ;
  678   int (*restore)(struct device *dev ) ;
  679   int (*suspend_late)(struct device *dev ) ;
  680   int (*resume_early)(struct device *dev ) ;
  681   int (*freeze_late)(struct device *dev ) ;
  682   int (*thaw_early)(struct device *dev ) ;
  683   int (*poweroff_late)(struct device *dev ) ;
  684   int (*restore_early)(struct device *dev ) ;
  685   int (*suspend_noirq)(struct device *dev ) ;
  686   int (*resume_noirq)(struct device *dev ) ;
  687   int (*freeze_noirq)(struct device *dev ) ;
  688   int (*thaw_noirq)(struct device *dev ) ;
  689   int (*poweroff_noirq)(struct device *dev ) ;
  690   int (*restore_noirq)(struct device *dev ) ;
  691   int (*runtime_suspend)(struct device *dev ) ;
  692   int (*runtime_resume)(struct device *dev ) ;
  693   int (*runtime_idle)(struct device *dev ) ;
  694};
  695#line 458
  696enum rpm_status {
  697    RPM_ACTIVE = 0,
  698    RPM_RESUMING = 1,
  699    RPM_SUSPENDED = 2,
  700    RPM_SUSPENDING = 3
  701} ;
  702#line 480
  703enum rpm_request {
  704    RPM_REQ_NONE = 0,
  705    RPM_REQ_IDLE = 1,
  706    RPM_REQ_SUSPEND = 2,
  707    RPM_REQ_AUTOSUSPEND = 3,
  708    RPM_REQ_RESUME = 4
  709} ;
  710#line 488
  711struct wakeup_source;
  712#line 495 "include/linux/pm.h"
  713struct pm_subsys_data {
  714   spinlock_t lock ;
  715   unsigned int refcount ;
  716};
  717#line 506
  718struct dev_pm_qos_request;
  719#line 506
  720struct pm_qos_raints;
  721#line 506 "include/linux/pm.h"
  722struct dev_pm_info {
  723   pm_message_t power_state ;
  724   unsigned int can_wakeup : 1 ;
  725   unsigned int async_suspend : 1 ;
  726   bool is_prepared : 1 ;
  727   bool is_suspended : 1 ;
  728   bool ignore_children : 1 ;
  729   spinlock_t lock ;
  730   struct list_head entry ;
  731   struct completion completion ;
  732   struct wakeup_source *wakeup ;
  733   bool wakeup_path : 1 ;
  734   struct timer_list suspend_timer ;
  735   unsigned long timer_expires ;
  736   struct work_struct work ;
  737   wait_queue_head_t wait_queue ;
  738   atomic_t usage_count ;
  739   atomic_t child_count ;
  740   unsigned int disable_depth : 3 ;
  741   unsigned int idle_notification : 1 ;
  742   unsigned int request_pending : 1 ;
  743   unsigned int deferred_resume : 1 ;
  744   unsigned int run_wake : 1 ;
  745   unsigned int runtime_auto : 1 ;
  746   unsigned int no_callbacks : 1 ;
  747   unsigned int irq_safe : 1 ;
  748   unsigned int use_autosuspend : 1 ;
  749   unsigned int timer_autosuspends : 1 ;
  750   enum rpm_request request ;
  751   enum rpm_status runtime_status ;
  752   int runtime_error ;
  753   int autosuspend_delay ;
  754   unsigned long last_busy ;
  755   unsigned long active_jiffies ;
  756   unsigned long suspended_jiffies ;
  757   unsigned long accounting_timestamp ;
  758   ktime_t suspend_time ;
  759   s64 max_time_suspended_ns ;
  760   struct dev_pm_qos_request *pq_req ;
  761   struct pm_subsys_data *subsys_data ;
  762   struct pm_qos_raints *raints ;
  763};
  764#line 564 "include/linux/pm.h"
  765struct dev_pm_domain {
  766   struct dev_pm_ops ops ;
  767};
  768#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
  769struct __anonstruct_mm_context_t_112 {
  770   void *ldt ;
  771   int size ;
  772   unsigned short ia32_compat ;
  773   struct mutex lock ;
  774   void *vdso ;
  775};
  776#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
  777typedef struct __anonstruct_mm_context_t_112 mm_context_t;
  778#line 8 "include/linux/vmalloc.h"
  779struct vm_area_struct;
  780#line 336 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
  781struct bio_vec;
  782#line 18 "include/linux/smp.h"
  783struct call_single_data {
  784   struct list_head list ;
  785   void (*func)(void *info ) ;
  786   void *info ;
  787   u16 flags ;
  788   u16 priv ;
  789};
  790#line 100 "include/linux/rbtree.h"
  791struct rb_node {
  792   unsigned long rb_parent_color ;
  793   struct rb_node *rb_right ;
  794   struct rb_node *rb_left ;
  795} __attribute__((__aligned__(sizeof(long )))) ;
  796#line 110 "include/linux/rbtree.h"
  797struct rb_root {
  798   struct rb_node *rb_node ;
  799};
  800#line 14 "include/linux/prio_tree.h"
  801struct prio_tree_node;
  802#line 14 "include/linux/prio_tree.h"
  803struct raw_prio_tree_node {
  804   struct prio_tree_node *left ;
  805   struct prio_tree_node *right ;
  806   struct prio_tree_node *parent ;
  807};
  808#line 20 "include/linux/prio_tree.h"
  809struct prio_tree_node {
  810   struct prio_tree_node *left ;
  811   struct prio_tree_node *right ;
  812   struct prio_tree_node *parent ;
  813   unsigned long start ;
  814   unsigned long last ;
  815};
  816#line 28 "include/linux/prio_tree.h"
  817struct prio_tree_root {
  818   struct prio_tree_node *prio_tree_node ;
  819   unsigned short index_bits ;
  820   unsigned short raw ;
  821};
  822#line 23 "include/linux/mm_types.h"
  823struct address_space;
  824#line 40 "include/linux/mm_types.h"
  825union __anonunion____missing_field_name_140 {
  826   unsigned long index ;
  827   void *freelist ;
  828};
  829#line 40 "include/linux/mm_types.h"
  830struct __anonstruct____missing_field_name_144 {
  831   unsigned int inuse : 16 ;
  832   unsigned int objects : 15 ;
  833   unsigned int frozen : 1 ;
  834};
  835#line 40 "include/linux/mm_types.h"
  836union __anonunion____missing_field_name_143 {
  837   atomic_t _mapcount ;
  838   struct __anonstruct____missing_field_name_144 __annonCompField31 ;
  839};
  840#line 40 "include/linux/mm_types.h"
  841struct __anonstruct____missing_field_name_142 {
  842   union __anonunion____missing_field_name_143 __annonCompField32 ;
  843   atomic_t _count ;
  844};
  845#line 40 "include/linux/mm_types.h"
  846union __anonunion____missing_field_name_141 {
  847   unsigned long counters ;
  848   struct __anonstruct____missing_field_name_142 __annonCompField33 ;
  849};
  850#line 40 "include/linux/mm_types.h"
  851struct __anonstruct____missing_field_name_139 {
  852   union __anonunion____missing_field_name_140 __annonCompField30 ;
  853   union __anonunion____missing_field_name_141 __annonCompField34 ;
  854};
  855#line 40 "include/linux/mm_types.h"
  856struct __anonstruct____missing_field_name_146 {
  857   struct page *next ;
  858   int pages ;
  859   int pobjects ;
  860};
  861#line 40 "include/linux/mm_types.h"
  862union __anonunion____missing_field_name_145 {
  863   struct list_head lru ;
  864   struct __anonstruct____missing_field_name_146 __annonCompField36 ;
  865};
  866#line 40 "include/linux/mm_types.h"
  867union __anonunion____missing_field_name_147 {
  868   unsigned long private ;
  869   struct kmem_cache *slab ;
  870   struct page *first_page ;
  871};
  872#line 40 "include/linux/mm_types.h"
  873struct page {
  874   unsigned long flags ;
  875   struct address_space *mapping ;
  876   struct __anonstruct____missing_field_name_139 __annonCompField35 ;
  877   union __anonunion____missing_field_name_145 __annonCompField37 ;
  878   union __anonunion____missing_field_name_147 __annonCompField38 ;
  879   unsigned long debug_flags ;
  880} __attribute__((__aligned__((2) *  (sizeof(unsigned long )) ))) ;
  881#line 200 "include/linux/mm_types.h"
  882struct __anonstruct_vm_set_149 {
  883   struct list_head list ;
  884   void *parent ;
  885   struct vm_area_struct *head ;
  886};
  887#line 200 "include/linux/mm_types.h"
  888union __anonunion_shared_148 {
  889   struct __anonstruct_vm_set_149 vm_set ;
  890   struct raw_prio_tree_node prio_tree_node ;
  891};
  892#line 200
  893struct anon_vma;
  894#line 200
  895struct vm_operations_struct;
  896#line 200
  897struct mempolicy;
  898#line 200 "include/linux/mm_types.h"
  899struct vm_area_struct {
  900   struct mm_struct *vm_mm ;
  901   unsigned long vm_start ;
  902   unsigned long vm_end ;
  903   struct vm_area_struct *vm_next ;
  904   struct vm_area_struct *vm_prev ;
  905   pgprot_t vm_page_prot ;
  906   unsigned long vm_flags ;
  907   struct rb_node vm_rb ;
  908   union __anonunion_shared_148 shared ;
  909   struct list_head anon_vma_chain ;
  910   struct anon_vma *anon_vma ;
  911   struct vm_operations_struct    *vm_ops ;
  912   unsigned long vm_pgoff ;
  913   struct file *vm_file ;
  914   void *vm_private_data ;
  915   struct mempolicy *vm_policy ;
  916};
  917#line 257 "include/linux/mm_types.h"
  918struct core_thread {
  919   struct task_struct *task ;
  920   struct core_thread *next ;
  921};
  922#line 262 "include/linux/mm_types.h"
  923struct core_state {
  924   atomic_t nr_threads ;
  925   struct core_thread dumper ;
  926   struct completion startup ;
  927};
  928#line 284 "include/linux/mm_types.h"
  929struct mm_rss_stat {
  930   atomic_long_t count[3] ;
  931};
  932#line 288
  933struct linux_binfmt;
  934#line 288
  935struct mmu_notifier_mm;
  936#line 288 "include/linux/mm_types.h"
  937struct mm_struct {
  938   struct vm_area_struct *mmap ;
  939   struct rb_root mm_rb ;
  940   struct vm_area_struct *mmap_cache ;
  941   unsigned long (*get_unmapped_area)(struct file *filp , unsigned long addr , unsigned long len ,
  942                                      unsigned long pgoff , unsigned long flags ) ;
  943   void (*unmap_area)(struct mm_struct *mm , unsigned long addr ) ;
  944   unsigned long mmap_base ;
  945   unsigned long task_size ;
  946   unsigned long cached_hole_size ;
  947   unsigned long free_area_cache ;
  948   pgd_t *pgd ;
  949   atomic_t mm_users ;
  950   atomic_t mm_count ;
  951   int map_count ;
  952   spinlock_t page_table_lock ;
  953   struct rw_semaphore mmap_sem ;
  954   struct list_head mmlist ;
  955   unsigned long hiwater_rss ;
  956   unsigned long hiwater_vm ;
  957   unsigned long total_vm ;
  958   unsigned long locked_vm ;
  959   unsigned long pinned_vm ;
  960   unsigned long shared_vm ;
  961   unsigned long exec_vm ;
  962   unsigned long stack_vm ;
  963   unsigned long reserved_vm ;
  964   unsigned long def_flags ;
  965   unsigned long nr_ptes ;
  966   unsigned long start_code ;
  967   unsigned long end_code ;
  968   unsigned long start_data ;
  969   unsigned long end_data ;
  970   unsigned long start_brk ;
  971   unsigned long brk ;
  972   unsigned long start_stack ;
  973   unsigned long arg_start ;
  974   unsigned long arg_end ;
  975   unsigned long env_start ;
  976   unsigned long env_end ;
  977   unsigned long saved_auxv[44] ;
  978   struct mm_rss_stat rss_stat ;
  979   struct linux_binfmt *binfmt ;
  980   cpumask_var_t cpu_vm_mask_var ;
  981   mm_context_t context ;
  982   unsigned int faultstamp ;
  983   unsigned int token_priority ;
  984   unsigned int last_interval ;
  985   unsigned long flags ;
  986   struct core_state *core_state ;
  987   spinlock_t ioctx_lock ;
  988   struct hlist_head ioctx_list ;
  989   struct task_struct *owner ;
  990   struct file *exe_file ;
  991   unsigned long num_exe_file_vmas ;
  992   struct mmu_notifier_mm *mmu_notifier_mm ;
  993   pgtable_t pmd_huge_pte ;
  994   struct cpumask cpumask_allocation ;
  995};
  996#line 8 "include/linux/shrinker.h"
  997struct shrink_control {
  998   gfp_t gfp_mask ;
  999   unsigned long nr_to_scan ;
 1000};
 1001#line 31 "include/linux/shrinker.h"
 1002struct shrinker {
 1003   int (*shrink)(struct shrinker * , struct shrink_control *sc ) ;
 1004   int seeks ;
 1005   long batch ;
 1006   struct list_head list ;
 1007   atomic_long_t nr_in_batch ;
 1008};
 1009#line 24 "include/linux/mm.h"
 1010struct file_ra_state;
 1011#line 25
 1012struct user_struct;
 1013#line 26
 1014struct writeback_control;
 1015#line 188 "include/linux/mm.h"
 1016struct vm_fault {
 1017   unsigned int flags ;
 1018   unsigned long pgoff ;
 1019   void *virtual_address ;
 1020   struct page *page ;
 1021};
 1022#line 205 "include/linux/mm.h"
 1023struct vm_operations_struct {
 1024   void (*open)(struct vm_area_struct *area ) ;
 1025   void (*close)(struct vm_area_struct *area ) ;
 1026   int (*fault)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
 1027   int (*page_mkwrite)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
 1028   int (*access)(struct vm_area_struct *vma , unsigned long addr , void *buf , int len ,
 1029                 int write ) ;
 1030   int (*set_policy)(struct vm_area_struct *vma , struct mempolicy *new ) ;
 1031   struct mempolicy *(*get_policy)(struct vm_area_struct *vma , unsigned long addr ) ;
 1032   int (*migrate)(struct vm_area_struct *vma , nodemask_t    *from , nodemask_t    *to ,
 1033                  unsigned long flags ) ;
 1034};
 1035#line 247
 1036struct inode;
 1037#line 6 "include/asm-generic/scatterlist.h"
 1038struct scatterlist {
 1039   unsigned long sg_magic ;
 1040   unsigned long page_link ;
 1041   unsigned int offset ;
 1042   unsigned int length ;
 1043   dma_addr_t dma_address ;
 1044   unsigned int dma_length ;
 1045};
 1046#line 12 "include/linux/scatterlist.h"
 1047struct sg_table {
 1048   struct scatterlist *sgl ;
 1049   unsigned int nents ;
 1050   unsigned int orig_nents ;
 1051};
 1052#line 62 "include/linux/stat.h"
 1053struct kstat {
 1054   u64 ino ;
 1055   dev_t dev ;
 1056   umode_t mode ;
 1057   unsigned int nlink ;
 1058   uid_t uid ;
 1059   gid_t gid ;
 1060   dev_t rdev ;
 1061   loff_t size ;
 1062   struct timespec atime ;
 1063   struct timespec mtime ;
 1064   struct timespec ctime ;
 1065   unsigned long blksize ;
 1066   unsigned long long blocks ;
 1067};
 1068#line 939 "include/linux/sysctl.h"
 1069struct nsproxy;
 1070#line 48 "include/linux/kmod.h"
 1071struct cred;
 1072#line 18 "include/linux/elf.h"
 1073typedef __u64 Elf64_Addr;
 1074#line 19 "include/linux/elf.h"
 1075typedef __u16 Elf64_Half;
 1076#line 23 "include/linux/elf.h"
 1077typedef __u32 Elf64_Word;
 1078#line 24 "include/linux/elf.h"
 1079typedef __u64 Elf64_Xword;
 1080#line 194 "include/linux/elf.h"
 1081struct elf64_sym {
 1082   Elf64_Word st_name ;
 1083   unsigned char st_info ;
 1084   unsigned char st_other ;
 1085   Elf64_Half st_shndx ;
 1086   Elf64_Addr st_value ;
 1087   Elf64_Xword st_size ;
 1088};
 1089#line 194 "include/linux/elf.h"
 1090typedef struct elf64_sym Elf64_Sym;
 1091#line 20 "include/linux/kobject_ns.h"
 1092struct sock;
 1093#line 21
 1094struct kobject;
 1095#line 27
 1096enum kobj_ns_type {
 1097    KOBJ_NS_TYPE_NONE = 0,
 1098    KOBJ_NS_TYPE_NET = 1,
 1099    KOBJ_NS_TYPES = 2
 1100} ;
 1101#line 40 "include/linux/kobject_ns.h"
 1102struct kobj_ns_type_operations {
 1103   enum kobj_ns_type type ;
 1104   void *(*grab_current_ns)(void) ;
 1105   void    *(*netlink_ns)(struct sock *sk ) ;
 1106   void    *(*initial_ns)(void) ;
 1107   void (*drop_ns)(void * ) ;
 1108};
 1109#line 24 "include/linux/sysfs.h"
 1110enum kobj_ns_type;
 1111#line 26 "include/linux/sysfs.h"
 1112struct attribute {
 1113   char    *name ;
 1114   umode_t mode ;
 1115};
 1116#line 56 "include/linux/sysfs.h"
 1117struct attribute_group {
 1118   char    *name ;
 1119   umode_t (*is_visible)(struct kobject * , struct attribute * , int  ) ;
 1120   struct attribute **attrs ;
 1121};
 1122#line 88 "include/linux/sysfs.h"
 1123struct bin_attribute {
 1124   struct attribute attr ;
 1125   size_t size ;
 1126   void *private ;
 1127   ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
 1128                   loff_t  , size_t  ) ;
 1129   ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
 1130                    loff_t  , size_t  ) ;
 1131   int (*mmap)(struct file * , struct kobject * , struct bin_attribute *attr , struct vm_area_struct *vma ) ;
 1132};
 1133#line 112 "include/linux/sysfs.h"
 1134struct sysfs_ops {
 1135   ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
 1136   ssize_t (*store)(struct kobject * , struct attribute * , char    * , size_t  ) ;
 1137   void    *(*namespace)(struct kobject * , struct attribute    * ) ;
 1138};
 1139#line 118
 1140struct sysfs_dirent;
 1141#line 22 "include/linux/kref.h"
 1142struct kref {
 1143   atomic_t refcount ;
 1144};
 1145#line 60 "include/linux/kobject.h"
 1146struct kset;
 1147#line 60
 1148struct kobj_type;
 1149#line 60 "include/linux/kobject.h"
 1150struct kobject {
 1151   char    *name ;
 1152   struct list_head entry ;
 1153   struct kobject *parent ;
 1154   struct kset *kset ;
 1155   struct kobj_type *ktype ;
 1156   struct sysfs_dirent *sd ;
 1157   struct kref kref ;
 1158   unsigned int state_initialized : 1 ;
 1159   unsigned int state_in_sysfs : 1 ;
 1160   unsigned int state_add_uevent_sent : 1 ;
 1161   unsigned int state_remove_uevent_sent : 1 ;
 1162   unsigned int uevent_suppress : 1 ;
 1163};
 1164#line 108 "include/linux/kobject.h"
 1165struct kobj_type {
 1166   void (*release)(struct kobject *kobj ) ;
 1167   struct sysfs_ops    *sysfs_ops ;
 1168   struct attribute **default_attrs ;
 1169   struct kobj_ns_type_operations    *(*child_ns_type)(struct kobject *kobj ) ;
 1170   void    *(*namespace)(struct kobject *kobj ) ;
 1171};
 1172#line 116 "include/linux/kobject.h"
 1173struct kobj_uevent_env {
 1174   char *envp[32] ;
 1175   int envp_idx ;
 1176   char buf[2048] ;
 1177   int buflen ;
 1178};
 1179#line 123 "include/linux/kobject.h"
 1180struct kset_uevent_ops {
 1181   int (*   filter)(struct kset *kset , struct kobject *kobj ) ;
 1182   char    *(*   name)(struct kset *kset , struct kobject *kobj ) ;
 1183   int (*   uevent)(struct kset *kset , struct kobject *kobj , struct kobj_uevent_env *env ) ;
 1184};
 1185#line 159 "include/linux/kobject.h"
 1186struct kset {
 1187   struct list_head list ;
 1188   spinlock_t list_lock ;
 1189   struct kobject kobj ;
 1190   struct kset_uevent_ops    *uevent_ops ;
 1191};
 1192#line 39 "include/linux/moduleparam.h"
 1193struct kernel_param;
 1194#line 41 "include/linux/moduleparam.h"
 1195struct kernel_param_ops {
 1196   int (*set)(char    *val , struct kernel_param    *kp ) ;
 1197   int (*get)(char *buffer , struct kernel_param    *kp ) ;
 1198   void (*free)(void *arg ) ;
 1199};
 1200#line 50
 1201struct kparam_string;
 1202#line 50
 1203struct kparam_array;
 1204#line 50 "include/linux/moduleparam.h"
 1205union __anonunion____missing_field_name_211 {
 1206   void *arg ;
 1207   struct kparam_string    *str ;
 1208   struct kparam_array    *arr ;
 1209};
 1210#line 50 "include/linux/moduleparam.h"
 1211struct kernel_param {
 1212   char    *name ;
 1213   struct kernel_param_ops    *ops ;
 1214   u16 perm ;
 1215   s16 level ;
 1216   union __anonunion____missing_field_name_211 __annonCompField41 ;
 1217};
 1218#line 63 "include/linux/moduleparam.h"
 1219struct kparam_string {
 1220   unsigned int maxlen ;
 1221   char *string ;
 1222};
 1223#line 69 "include/linux/moduleparam.h"
 1224struct kparam_array {
 1225   unsigned int max ;
 1226   unsigned int elemsize ;
 1227   unsigned int *num ;
 1228   struct kernel_param_ops    *ops ;
 1229   void *elem ;
 1230};
 1231#line 143 "include/linux/jump_label.h"
 1232struct static_key {
 1233   atomic_t enabled ;
 1234};
 1235#line 23 "include/linux/tracepoint.h"
 1236struct tracepoint;
 1237#line 25 "include/linux/tracepoint.h"
 1238struct tracepoint_func {
 1239   void *func ;
 1240   void *data ;
 1241};
 1242#line 30 "include/linux/tracepoint.h"
 1243struct tracepoint {
 1244   char    *name ;
 1245   struct static_key key ;
 1246   void (*regfunc)(void) ;
 1247   void (*unregfunc)(void) ;
 1248   struct tracepoint_func *funcs ;
 1249};
 1250#line 19 "include/linux/export.h"
 1251struct kernel_symbol {
 1252   unsigned long value ;
 1253   char    *name ;
 1254};
 1255#line 8 "include/asm-generic/module.h"
 1256struct mod_arch_specific {
 1257
 1258};
 1259#line 37 "include/linux/module.h"
 1260struct module_param_attrs;
 1261#line 37 "include/linux/module.h"
 1262struct module_kobject {
 1263   struct kobject kobj ;
 1264   struct module *mod ;
 1265   struct kobject *drivers_dir ;
 1266   struct module_param_attrs *mp ;
 1267};
 1268#line 44 "include/linux/module.h"
 1269struct module_attribute {
 1270   struct attribute attr ;
 1271   ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
 1272   ssize_t (*store)(struct module_attribute * , struct module_kobject * , char    * ,
 1273                    size_t count ) ;
 1274   void (*setup)(struct module * , char    * ) ;
 1275   int (*test)(struct module * ) ;
 1276   void (*free)(struct module * ) ;
 1277};
 1278#line 71
 1279struct exception_table_entry;
 1280#line 199
 1281enum module_state {
 1282    MODULE_STATE_LIVE = 0,
 1283    MODULE_STATE_COMING = 1,
 1284    MODULE_STATE_GOING = 2
 1285} ;
 1286#line 215 "include/linux/module.h"
 1287struct module_ref {
 1288   unsigned long incs ;
 1289   unsigned long decs ;
 1290} __attribute__((__aligned__((2) *  (sizeof(unsigned long )) ))) ;
 1291#line 220
 1292struct module_sect_attrs;
 1293#line 220
 1294struct module_notes_attrs;
 1295#line 220
 1296struct ftrace_event_call;
 1297#line 220 "include/linux/module.h"
 1298struct module {
 1299   enum module_state state ;
 1300   struct list_head list ;
 1301   char name[64UL - sizeof(unsigned long )] ;
 1302   struct module_kobject mkobj ;
 1303   struct module_attribute *modinfo_attrs ;
 1304   char    *version ;
 1305   char    *srcversion ;
 1306   struct kobject *holders_dir ;
 1307   struct kernel_symbol    *syms ;
 1308   unsigned long    *crcs ;
 1309   unsigned int num_syms ;
 1310   struct kernel_param *kp ;
 1311   unsigned int num_kp ;
 1312   unsigned int num_gpl_syms ;
 1313   struct kernel_symbol    *gpl_syms ;
 1314   unsigned long    *gpl_crcs ;
 1315   struct kernel_symbol    *unused_syms ;
 1316   unsigned long    *unused_crcs ;
 1317   unsigned int num_unused_syms ;
 1318   unsigned int num_unused_gpl_syms ;
 1319   struct kernel_symbol    *unused_gpl_syms ;
 1320   unsigned long    *unused_gpl_crcs ;
 1321   struct kernel_symbol    *gpl_future_syms ;
 1322   unsigned long    *gpl_future_crcs ;
 1323   unsigned int num_gpl_future_syms ;
 1324   unsigned int num_exentries ;
 1325   struct exception_table_entry *extable ;
 1326   int (*init)(void) ;
 1327   void *module_init ;
 1328   void *module_core ;
 1329   unsigned int init_size ;
 1330   unsigned int core_size ;
 1331   unsigned int init_text_size ;
 1332   unsigned int core_text_size ;
 1333   unsigned int init_ro_size ;
 1334   unsigned int core_ro_size ;
 1335   struct mod_arch_specific arch ;
 1336   unsigned int taints ;
 1337   unsigned int num_bugs ;
 1338   struct list_head bug_list ;
 1339   struct bug_entry *bug_table ;
 1340   Elf64_Sym *symtab ;
 1341   Elf64_Sym *core_symtab ;
 1342   unsigned int num_symtab ;
 1343   unsigned int core_num_syms ;
 1344   char *strtab ;
 1345   char *core_strtab ;
 1346   struct module_sect_attrs *sect_attrs ;
 1347   struct module_notes_attrs *notes_attrs ;
 1348   char *args ;
 1349   void *percpu ;
 1350   unsigned int percpu_size ;
 1351   unsigned int num_tracepoints ;
 1352   struct tracepoint *   *tracepoints_ptrs ;
 1353   unsigned int num_trace_bprintk_fmt ;
 1354   char    **trace_bprintk_fmt_start ;
 1355   struct ftrace_event_call **trace_events ;
 1356   unsigned int num_trace_events ;
 1357   struct list_head source_list ;
 1358   struct list_head target_list ;
 1359   struct task_struct *waiter ;
 1360   void (*exit)(void) ;
 1361   struct module_ref *refptr ;
 1362   ctor_fn_t *ctors ;
 1363   unsigned int num_ctors ;
 1364};
 1365#line 16 "include/linux/uio.h"
 1366struct iovec {
 1367   void *iov_base ;
 1368   __kernel_size_t iov_len ;
 1369};
 1370#line 19 "include/linux/klist.h"
 1371struct klist_node;
 1372#line 20 "include/linux/klist.h"
 1373struct klist {
 1374   spinlock_t k_lock ;
 1375   struct list_head k_list ;
 1376   void (*get)(struct klist_node * ) ;
 1377   void (*put)(struct klist_node * ) ;
 1378} __attribute__((__aligned__(sizeof(void *)))) ;
 1379#line 39 "include/linux/klist.h"
 1380struct klist_node {
 1381   void *n_klist ;
 1382   struct list_head n_node ;
 1383   struct kref n_ref ;
 1384};
 1385#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
 1386struct dma_map_ops;
 1387#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
 1388struct dev_archdata {
 1389   void *acpi_handle ;
 1390   struct dma_map_ops *dma_ops ;
 1391   void *iommu ;
 1392};
 1393#line 29 "include/linux/device.h"
 1394struct device_private;
 1395#line 30
 1396struct device_driver;
 1397#line 31
 1398struct driver_private;
 1399#line 33
 1400struct class;
 1401#line 34
 1402struct subsys_private;
 1403#line 35
 1404struct bus_type;
 1405#line 36
 1406struct device_node;
 1407#line 37
 1408struct iommu_ops;
 1409#line 39 "include/linux/device.h"
 1410struct bus_attribute {
 1411   struct attribute attr ;
 1412   ssize_t (*show)(struct bus_type *bus , char *buf ) ;
 1413   ssize_t (*store)(struct bus_type *bus , char    *buf , size_t count ) ;
 1414};
 1415#line 89
 1416struct device_attribute;
 1417#line 89
 1418struct driver_attribute;
 1419#line 89 "include/linux/device.h"
 1420struct bus_type {
 1421   char    *name ;
 1422   char    *dev_name ;
 1423   struct device *dev_root ;
 1424   struct bus_attribute *bus_attrs ;
 1425   struct device_attribute *dev_attrs ;
 1426   struct driver_attribute *drv_attrs ;
 1427   int (*match)(struct device *dev , struct device_driver *drv ) ;
 1428   int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
 1429   int (*probe)(struct device *dev ) ;
 1430   int (*remove)(struct device *dev ) ;
 1431   void (*shutdown)(struct device *dev ) ;
 1432   int (*suspend)(struct device *dev , pm_message_t state ) ;
 1433   int (*resume)(struct device *dev ) ;
 1434   struct dev_pm_ops    *pm ;
 1435   struct iommu_ops *iommu_ops ;
 1436   struct subsys_private *p ;
 1437};
 1438#line 127
 1439struct device_type;
 1440#line 214
 1441struct of_device_id;
 1442#line 214 "include/linux/device.h"
 1443struct device_driver {
 1444   char    *name ;
 1445   struct bus_type *bus ;
 1446   struct module *owner ;
 1447   char    *mod_name ;
 1448   bool suppress_bind_attrs ;
 1449   struct of_device_id    *of_match_table ;
 1450   int (*probe)(struct device *dev ) ;
 1451   int (*remove)(struct device *dev ) ;
 1452   void (*shutdown)(struct device *dev ) ;
 1453   int (*suspend)(struct device *dev , pm_message_t state ) ;
 1454   int (*resume)(struct device *dev ) ;
 1455   struct attribute_group    **groups ;
 1456   struct dev_pm_ops    *pm ;
 1457   struct driver_private *p ;
 1458};
 1459#line 249 "include/linux/device.h"
 1460struct driver_attribute {
 1461   struct attribute attr ;
 1462   ssize_t (*show)(struct device_driver *driver , char *buf ) ;
 1463   ssize_t (*store)(struct device_driver *driver , char    *buf , size_t count ) ;
 1464};
 1465#line 330
 1466struct class_attribute;
 1467#line 330 "include/linux/device.h"
 1468struct class {
 1469   char    *name ;
 1470   struct module *owner ;
 1471   struct class_attribute *class_attrs ;
 1472   struct device_attribute *dev_attrs ;
 1473   struct bin_attribute *dev_bin_attrs ;
 1474   struct kobject *dev_kobj ;
 1475   int (*dev_uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
 1476   char *(*devnode)(struct device *dev , umode_t *mode ) ;
 1477   void (*class_release)(struct class *class ) ;
 1478   void (*dev_release)(struct device *dev ) ;
 1479   int (*suspend)(struct device *dev , pm_message_t state ) ;
 1480   int (*resume)(struct device *dev ) ;
 1481   struct kobj_ns_type_operations    *ns_type ;
 1482   void    *(*namespace)(struct device *dev ) ;
 1483   struct dev_pm_ops    *pm ;
 1484   struct subsys_private *p ;
 1485};
 1486#line 397 "include/linux/device.h"
 1487struct class_attribute {
 1488   struct attribute attr ;
 1489   ssize_t (*show)(struct class *class , struct class_attribute *attr , char *buf ) ;
 1490   ssize_t (*store)(struct class *class , struct class_attribute *attr , char    *buf ,
 1491                    size_t count ) ;
 1492   void    *(*namespace)(struct class *class , struct class_attribute    *attr ) ;
 1493};
 1494#line 465 "include/linux/device.h"
 1495struct device_type {
 1496   char    *name ;
 1497   struct attribute_group    **groups ;
 1498   int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
 1499   char *(*devnode)(struct device *dev , umode_t *mode ) ;
 1500   void (*release)(struct device *dev ) ;
 1501   struct dev_pm_ops    *pm ;
 1502};
 1503#line 476 "include/linux/device.h"
 1504struct device_attribute {
 1505   struct attribute attr ;
 1506   ssize_t (*show)(struct device *dev , struct device_attribute *attr , char *buf ) ;
 1507   ssize_t (*store)(struct device *dev , struct device_attribute *attr , char    *buf ,
 1508                    size_t count ) ;
 1509};
 1510#line 559 "include/linux/device.h"
 1511struct device_dma_parameters {
 1512   unsigned int max_segment_size ;
 1513   unsigned long segment_boundary_mask ;
 1514};
 1515#line 627
 1516struct dma_coherent_mem;
 1517#line 627 "include/linux/device.h"
 1518struct device {
 1519   struct device *parent ;
 1520   struct device_private *p ;
 1521   struct kobject kobj ;
 1522   char    *init_name ;
 1523   struct device_type    *type ;
 1524   struct mutex mutex ;
 1525   struct bus_type *bus ;
 1526   struct device_driver *driver ;
 1527   void *platform_data ;
 1528   struct dev_pm_info power ;
 1529   struct dev_pm_domain *pm_domain ;
 1530   int numa_node ;
 1531   u64 *dma_mask ;
 1532   u64 coherent_dma_mask ;
 1533   struct device_dma_parameters *dma_parms ;
 1534   struct list_head dma_pools ;
 1535   struct dma_coherent_mem *dma_mem ;
 1536   struct dev_archdata archdata ;
 1537   struct device_node *of_node ;
 1538   dev_t devt ;
 1539   u32 id ;
 1540   spinlock_t devres_lock ;
 1541   struct list_head devres_head ;
 1542   struct klist_node knode_class ;
 1543   struct class *class ;
 1544   struct attribute_group    **groups ;
 1545   void (*release)(struct device *dev ) ;
 1546};
 1547#line 43 "include/linux/pm_wakeup.h"
 1548struct wakeup_source {
 1549   char    *name ;
 1550   struct list_head entry ;
 1551   spinlock_t lock ;
 1552   struct timer_list timer ;
 1553   unsigned long timer_expires ;
 1554   ktime_t total_time ;
 1555   ktime_t max_time ;
 1556   ktime_t last_time ;
 1557   unsigned long event_count ;
 1558   unsigned long active_count ;
 1559   unsigned long relax_count ;
 1560   unsigned long hit_count ;
 1561   unsigned int active : 1 ;
 1562};
 1563#line 17 "include/linux/attribute_container.h"
 1564struct attribute_container {
 1565   struct list_head node ;
 1566   struct klist containers ;
 1567   struct class *class ;
 1568   struct attribute_group    *grp ;
 1569   struct device_attribute **attrs ;
 1570   int (*match)(struct attribute_container * , struct device * ) ;
 1571   unsigned long flags ;
 1572};
 1573#line 16 "include/linux/transport_class.h"
 1574struct transport_container;
 1575#line 57 "include/linux/transport_class.h"
 1576struct transport_container {
 1577   struct attribute_container ac ;
 1578   struct attribute_group    *statistics ;
 1579};
 1580#line 94 "include/linux/capability.h"
 1581struct kernel_cap_struct {
 1582   __u32 cap[2] ;
 1583};
 1584#line 94 "include/linux/capability.h"
 1585typedef struct kernel_cap_struct kernel_cap_t;
 1586#line 377
 1587struct dentry;
 1588#line 378
 1589struct user_namespace;
 1590#line 7 "include/asm-generic/cputime.h"
 1591typedef unsigned long cputime_t;
 1592#line 101 "include/linux/sem.h"
 1593struct sem_undo_list;
 1594#line 101 "include/linux/sem.h"
 1595struct sysv_sem {
 1596   struct sem_undo_list *undo_list ;
 1597};
 1598#line 10 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 1599struct siginfo;
 1600#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 1601struct __anonstruct_sigset_t_227 {
 1602   unsigned long sig[1] ;
 1603};
 1604#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 1605typedef struct __anonstruct_sigset_t_227 sigset_t;
 1606#line 17 "include/asm-generic/signal-defs.h"
 1607typedef void __signalfn_t(int  );
 1608#line 18 "include/asm-generic/signal-defs.h"
 1609typedef __signalfn_t *__sighandler_t;
 1610#line 20 "include/asm-generic/signal-defs.h"
 1611typedef void __restorefn_t(void);
 1612#line 21 "include/asm-generic/signal-defs.h"
 1613typedef __restorefn_t *__sigrestore_t;
 1614#line 167 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 1615struct sigaction {
 1616   __sighandler_t sa_handler ;
 1617   unsigned long sa_flags ;
 1618   __sigrestore_t sa_restorer ;
 1619   sigset_t sa_mask ;
 1620};
 1621#line 174 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
 1622struct k_sigaction {
 1623   struct sigaction sa ;
 1624};
 1625#line 7 "include/asm-generic/siginfo.h"
 1626union sigval {
 1627   int sival_int ;
 1628   void *sival_ptr ;
 1629};
 1630#line 7 "include/asm-generic/siginfo.h"
 1631typedef union sigval sigval_t;
 1632#line 48 "include/asm-generic/siginfo.h"
 1633struct __anonstruct__kill_229 {
 1634   __kernel_pid_t _pid ;
 1635   __kernel_uid32_t _uid ;
 1636};
 1637#line 48 "include/asm-generic/siginfo.h"
 1638struct __anonstruct__timer_230 {
 1639   __kernel_timer_t _tid ;
 1640   int _overrun ;
 1641   char _pad[sizeof(__kernel_uid32_t ) - sizeof(int )] ;
 1642   sigval_t _sigval ;
 1643   int _sys_private ;
 1644};
 1645#line 48 "include/asm-generic/siginfo.h"
 1646struct __anonstruct__rt_231 {
 1647   __kernel_pid_t _pid ;
 1648   __kernel_uid32_t _uid ;
 1649   sigval_t _sigval ;
 1650};
 1651#line 48 "include/asm-generic/siginfo.h"
 1652struct __anonstruct__sigchld_232 {
 1653   __kernel_pid_t _pid ;
 1654   __kernel_uid32_t _uid ;
 1655   int _status ;
 1656   __kernel_clock_t _utime ;
 1657   __kernel_clock_t _stime ;
 1658};
 1659#line 48 "include/asm-generic/siginfo.h"
 1660struct __anonstruct__sigfault_233 {
 1661   void *_addr ;
 1662   short _addr_lsb ;
 1663};
 1664#line 48 "include/asm-generic/siginfo.h"
 1665struct __anonstruct__sigpoll_234 {
 1666   long _band ;
 1667   int _fd ;
 1668};
 1669#line 48 "include/asm-generic/siginfo.h"
 1670union __anonunion__sifields_228 {
 1671   int _pad[(128UL - 4UL * sizeof(int )) / sizeof(int )] ;
 1672   struct __anonstruct__kill_229 _kill ;
 1673   struct __anonstruct__timer_230 _timer ;
 1674   struct __anonstruct__rt_231 _rt ;
 1675   struct __anonstruct__sigchld_232 _sigchld ;
 1676   struct __anonstruct__sigfault_233 _sigfault ;
 1677   struct __anonstruct__sigpoll_234 _sigpoll ;
 1678};
 1679#line 48 "include/asm-generic/siginfo.h"
 1680struct siginfo {
 1681   int si_signo ;
 1682   int si_errno ;
 1683   int si_code ;
 1684   union __anonunion__sifields_228 _sifields ;
 1685};
 1686#line 48 "include/asm-generic/siginfo.h"
 1687typedef struct siginfo siginfo_t;
 1688#line 28 "include/linux/signal.h"
 1689struct sigpending {
 1690   struct list_head list ;
 1691   sigset_t signal ;
 1692};
 1693#line 6 "include/linux/pid.h"
 1694enum pid_type {
 1695    PIDTYPE_PID = 0,
 1696    PIDTYPE_PGID = 1,
 1697    PIDTYPE_SID = 2,
 1698    PIDTYPE_MAX = 3
 1699} ;
 1700#line 50
 1701struct pid_namespace;
 1702#line 50 "include/linux/pid.h"
 1703struct upid {
 1704   int nr ;
 1705   struct pid_namespace *ns ;
 1706   struct hlist_node pid_chain ;
 1707};
 1708#line 57 "include/linux/pid.h"
 1709struct pid {
 1710   atomic_t count ;
 1711   unsigned int level ;
 1712   struct hlist_head tasks[3] ;
 1713   struct rcu_head rcu ;
 1714   struct upid numbers[1] ;
 1715};
 1716#line 69 "include/linux/pid.h"
 1717struct pid_link {
 1718   struct hlist_node node ;
 1719   struct pid *pid ;
 1720};
 1721#line 18 "include/linux/percpu_counter.h"
 1722struct percpu_counter {
 1723   raw_spinlock_t lock ;
 1724   s64 count ;
 1725   struct list_head list ;
 1726   s32 *counters ;
 1727};
 1728#line 50 "include/linux/proportions.h"
 1729struct prop_local_percpu {
 1730   struct percpu_counter events ;
 1731   int shift ;
 1732   unsigned long period ;
 1733   raw_spinlock_t lock ;
 1734};
 1735#line 10 "include/linux/seccomp.h"
 1736struct __anonstruct_seccomp_t_237 {
 1737   int mode ;
 1738};
 1739#line 10 "include/linux/seccomp.h"
 1740typedef struct __anonstruct_seccomp_t_237 seccomp_t;
 1741#line 81 "include/linux/plist.h"
 1742struct plist_head {
 1743   struct list_head node_list ;
 1744};
 1745#line 85 "include/linux/plist.h"
 1746struct plist_node {
 1747   int prio ;
 1748   struct list_head prio_list ;
 1749   struct list_head node_list ;
 1750};
 1751#line 40 "include/linux/rtmutex.h"
 1752struct rt_mutex_waiter;
 1753#line 42 "include/linux/resource.h"
 1754struct rlimit {
 1755   unsigned long rlim_cur ;
 1756   unsigned long rlim_max ;
 1757};
 1758#line 8 "include/linux/timerqueue.h"
 1759struct timerqueue_node {
 1760   struct rb_node node ;
 1761   ktime_t expires ;
 1762};
 1763#line 13 "include/linux/timerqueue.h"
 1764struct timerqueue_head {
 1765   struct rb_root head ;
 1766   struct timerqueue_node *next ;
 1767};
 1768#line 27 "include/linux/hrtimer.h"
 1769struct hrtimer_clock_base;
 1770#line 28
 1771struct hrtimer_cpu_base;
 1772#line 44
 1773enum hrtimer_restart {
 1774    HRTIMER_NORESTART = 0,
 1775    HRTIMER_RESTART = 1
 1776} ;
 1777#line 108 "include/linux/hrtimer.h"
 1778struct hrtimer {
 1779   struct timerqueue_node node ;
 1780   ktime_t _softexpires ;
 1781   enum hrtimer_restart (*function)(struct hrtimer * ) ;
 1782   struct hrtimer_clock_base *base ;
 1783   unsigned long state ;
 1784   int start_pid ;
 1785   void *start_site ;
 1786   char start_comm[16] ;
 1787};
 1788#line 145 "include/linux/hrtimer.h"
 1789struct hrtimer_clock_base {
 1790   struct hrtimer_cpu_base *cpu_base ;
 1791   int index ;
 1792   clockid_t clockid ;
 1793   struct timerqueue_head active ;
 1794   ktime_t resolution ;
 1795   ktime_t (*get_time)(void) ;
 1796   ktime_t softirq_time ;
 1797   ktime_t offset ;
 1798};
 1799#line 178 "include/linux/hrtimer.h"
 1800struct hrtimer_cpu_base {
 1801   raw_spinlock_t lock ;
 1802   unsigned long active_bases ;
 1803   ktime_t expires_next ;
 1804   int hres_active ;
 1805   int hang_detected ;
 1806   unsigned long nr_events ;
 1807   unsigned long nr_retries ;
 1808   unsigned long nr_hangs ;
 1809   ktime_t max_hang_time ;
 1810   struct hrtimer_clock_base clock_base[3] ;
 1811};
 1812#line 11 "include/linux/task_io_accounting.h"
 1813struct task_io_accounting {
 1814   u64 rchar ;
 1815   u64 wchar ;
 1816   u64 syscr ;
 1817   u64 syscw ;
 1818   u64 read_bytes ;
 1819   u64 write_bytes ;
 1820   u64 cancelled_write_bytes ;
 1821};
 1822#line 20 "include/linux/latencytop.h"
 1823struct latency_record {
 1824   unsigned long backtrace[12] ;
 1825   unsigned int count ;
 1826   unsigned long time ;
 1827   unsigned long max ;
 1828};
 1829#line 29 "include/linux/key.h"
 1830typedef int32_t key_serial_t;
 1831#line 32 "include/linux/key.h"
 1832typedef uint32_t key_perm_t;
 1833#line 34
 1834struct key;
 1835#line 76
 1836struct signal_struct;
 1837#line 79
 1838struct key_type;
 1839#line 81
 1840struct keyring_list;
 1841#line 124
 1842struct key_user;
 1843#line 124 "include/linux/key.h"
 1844union __anonunion____missing_field_name_238 {
 1845   time_t expiry ;
 1846   time_t revoked_at ;
 1847};
 1848#line 124 "include/linux/key.h"
 1849union __anonunion_type_data_239 {
 1850   struct list_head link ;
 1851   unsigned long x[2] ;
 1852   void *p[2] ;
 1853   int reject_error ;
 1854};
 1855#line 124 "include/linux/key.h"
 1856union __anonunion_payload_240 {
 1857   unsigned long value ;
 1858   void *rcudata ;
 1859   void *data ;
 1860   struct keyring_list *subscriptions ;
 1861};
 1862#line 124 "include/linux/key.h"
 1863struct key {
 1864   atomic_t usage ;
 1865   key_serial_t serial ;
 1866   struct rb_node serial_node ;
 1867   struct key_type *type ;
 1868   struct rw_semaphore sem ;
 1869   struct key_user *user ;
 1870   void *security ;
 1871   union __anonunion____missing_field_name_238 __annonCompField42 ;
 1872   uid_t uid ;
 1873   gid_t gid ;
 1874   key_perm_t perm ;
 1875   unsigned short quotalen ;
 1876   unsigned short datalen ;
 1877   unsigned long flags ;
 1878   char *description ;
 1879   union __anonunion_type_data_239 type_data ;
 1880   union __anonunion_payload_240 payload ;
 1881};
 1882#line 18 "include/linux/selinux.h"
 1883struct audit_context;
 1884#line 31 "include/linux/cred.h"
 1885struct group_info {
 1886   atomic_t usage ;
 1887   int ngroups ;
 1888   int nblocks ;
 1889   gid_t small_block[32] ;
 1890   gid_t *blocks[0] ;
 1891};
 1892#line 83 "include/linux/cred.h"
 1893struct thread_group_cred {
 1894   atomic_t usage ;
 1895   pid_t tgid ;
 1896   spinlock_t lock ;
 1897   struct key *session_keyring ;
 1898   struct key *process_keyring ;
 1899   struct rcu_head rcu ;
 1900};
 1901#line 116 "include/linux/cred.h"
 1902struct cred {
 1903   atomic_t usage ;
 1904   atomic_t subscribers ;
 1905   void *put_addr ;
 1906   unsigned int magic ;
 1907   uid_t uid ;
 1908   gid_t gid ;
 1909   uid_t suid ;
 1910   gid_t sgid ;
 1911   uid_t euid ;
 1912   gid_t egid ;
 1913   uid_t fsuid ;
 1914   gid_t fsgid ;
 1915   unsigned int securebits ;
 1916   kernel_cap_t cap_inheritable ;
 1917   kernel_cap_t cap_permitted ;
 1918   kernel_cap_t cap_effective ;
 1919   kernel_cap_t cap_bset ;
 1920   unsigned char jit_keyring ;
 1921   struct key *thread_keyring ;
 1922   struct key *request_key_auth ;
 1923   struct thread_group_cred *tgcred ;
 1924   void *security ;
 1925   struct user_struct *user ;
 1926   struct user_namespace *user_ns ;
 1927   struct group_info *group_info ;
 1928   struct rcu_head rcu ;
 1929};
 1930#line 61 "include/linux/llist.h"
 1931struct llist_node;
 1932#line 65 "include/linux/llist.h"
 1933struct llist_node {
 1934   struct llist_node *next ;
 1935};
 1936#line 97 "include/linux/sched.h"
 1937struct futex_pi_state;
 1938#line 98
 1939struct robust_list_head;
 1940#line 99
 1941struct bio_list;
 1942#line 100
 1943struct fs_struct;
 1944#line 101
 1945struct perf_event_context;
 1946#line 102
 1947struct blk_plug;
 1948#line 151
 1949struct cfs_rq;
 1950#line 58 "include/linux/aio_abi.h"
 1951struct io_event {
 1952   __u64 data ;
 1953   __u64 obj ;
 1954   __s64 res ;
 1955   __s64 res2 ;
 1956};
 1957#line 15 "include/linux/aio.h"
 1958struct kioctx;
 1959#line 87 "include/linux/aio.h"
 1960union __anonunion_ki_obj_242 {
 1961   void *user ;
 1962   struct task_struct *tsk ;
 1963};
 1964#line 87
 1965struct eventfd_ctx;
 1966#line 87 "include/linux/aio.h"
 1967struct kiocb {
 1968   struct list_head ki_run_list ;
 1969   unsigned long ki_flags ;
 1970   int ki_users ;
 1971   unsigned int ki_key ;
 1972   struct file *ki_filp ;
 1973   struct kioctx *ki_ctx ;
 1974   int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
 1975   ssize_t (*ki_retry)(struct kiocb * ) ;
 1976   void (*ki_dtor)(struct kiocb * ) ;
 1977   union __anonunion_ki_obj_242 ki_obj ;
 1978   __u64 ki_user_data ;
 1979   loff_t ki_pos ;
 1980   void *private ;
 1981   unsigned short ki_opcode ;
 1982   size_t ki_nbytes ;
 1983   char *ki_buf ;
 1984   size_t ki_left ;
 1985   struct iovec ki_inline_vec ;
 1986   struct iovec *ki_iovec ;
 1987   unsigned long ki_nr_segs ;
 1988   unsigned long ki_cur_seg ;
 1989   struct list_head ki_list ;
 1990   struct list_head ki_batch ;
 1991   struct eventfd_ctx *ki_eventfd ;
 1992};
 1993#line 166 "include/linux/aio.h"
 1994struct aio_ring_info {
 1995   unsigned long mmap_base ;
 1996   unsigned long mmap_size ;
 1997   struct page **ring_pages ;
 1998   spinlock_t ring_lock ;
 1999   long nr_pages ;
 2000   unsigned int nr ;
 2001   unsigned int tail ;
 2002   struct page *internal_pages[8] ;
 2003};
 2004#line 179 "include/linux/aio.h"
 2005struct kioctx {
 2006   atomic_t users ;
 2007   int dead ;
 2008   struct mm_struct *mm ;
 2009   unsigned long user_id ;
 2010   struct hlist_node list ;
 2011   wait_queue_head_t wait ;
 2012   spinlock_t ctx_lock ;
 2013   int reqs_active ;
 2014   struct list_head active_reqs ;
 2015   struct list_head run_list ;
 2016   unsigned int max_reqs ;
 2017   struct aio_ring_info ring_info ;
 2018   struct delayed_work wq ;
 2019   struct rcu_head rcu_head ;
 2020};
 2021#line 443 "include/linux/sched.h"
 2022struct sighand_struct {
 2023   atomic_t count ;
 2024   struct k_sigaction action[64] ;
 2025   spinlock_t siglock ;
 2026   wait_queue_head_t signalfd_wqh ;
 2027};
 2028#line 450 "include/linux/sched.h"
 2029struct pacct_struct {
 2030   int ac_flag ;
 2031   long ac_exitcode ;
 2032   unsigned long ac_mem ;
 2033   cputime_t ac_utime ;
 2034   cputime_t ac_stime ;
 2035   unsigned long ac_minflt ;
 2036   unsigned long ac_majflt ;
 2037};
 2038#line 458 "include/linux/sched.h"
 2039struct cpu_itimer {
 2040   cputime_t expires ;
 2041   cputime_t incr ;
 2042   u32 error ;
 2043   u32 incr_error ;
 2044};
 2045#line 476 "include/linux/sched.h"
 2046struct task_cputime {
 2047   cputime_t utime ;
 2048   cputime_t stime ;
 2049   unsigned long long sum_exec_runtime ;
 2050};
 2051#line 512 "include/linux/sched.h"
 2052struct thread_group_cputimer {
 2053   struct task_cputime cputime ;
 2054   int running ;
 2055   raw_spinlock_t lock ;
 2056};
 2057#line 519
 2058struct autogroup;
 2059#line 528
 2060struct tty_struct;
 2061#line 528
 2062struct taskstats;
 2063#line 528
 2064struct tty_audit_buf;
 2065#line 528 "include/linux/sched.h"
 2066struct signal_struct {
 2067   atomic_t sigcnt ;
 2068   atomic_t live ;
 2069   int nr_threads ;
 2070   wait_queue_head_t wait_chldexit ;
 2071   struct task_struct *curr_target ;
 2072   struct sigpending shared_pending ;
 2073   int group_exit_code ;
 2074   int notify_count ;
 2075   struct task_struct *group_exit_task ;
 2076   int group_stop_count ;
 2077   unsigned int flags ;
 2078   unsigned int is_child_subreaper : 1 ;
 2079   unsigned int has_child_subreaper : 1 ;
 2080   struct list_head posix_timers ;
 2081   struct hrtimer real_timer ;
 2082   struct pid *leader_pid ;
 2083   ktime_t it_real_incr ;
 2084   struct cpu_itimer it[2] ;
 2085   struct thread_group_cputimer cputimer ;
 2086   struct task_cputime cputime_expires ;
 2087   struct list_head cpu_timers[3] ;
 2088   struct pid *tty_old_pgrp ;
 2089   int leader ;
 2090   struct tty_struct *tty ;
 2091   struct autogroup *autogroup ;
 2092   cputime_t utime ;
 2093   cputime_t stime ;
 2094   cputime_t cutime ;
 2095   cputime_t cstime ;
 2096   cputime_t gtime ;
 2097   cputime_t cgtime ;
 2098   cputime_t prev_utime ;
 2099   cputime_t prev_stime ;
 2100   unsigned long nvcsw ;
 2101   unsigned long nivcsw ;
 2102   unsigned long cnvcsw ;
 2103   unsigned long cnivcsw ;
 2104   unsigned long min_flt ;
 2105   unsigned long maj_flt ;
 2106   unsigned long cmin_flt ;
 2107   unsigned long cmaj_flt ;
 2108   unsigned long inblock ;
 2109   unsigned long oublock ;
 2110   unsigned long cinblock ;
 2111   unsigned long coublock ;
 2112   unsigned long maxrss ;
 2113   unsigned long cmaxrss ;
 2114   struct task_io_accounting ioac ;
 2115   unsigned long long sum_sched_runtime ;
 2116   struct rlimit rlim[16] ;
 2117   struct pacct_struct pacct ;
 2118   struct taskstats *stats ;
 2119   unsigned int audit_tty ;
 2120   struct tty_audit_buf *tty_audit_buf ;
 2121   struct rw_semaphore group_rwsem ;
 2122   int oom_adj ;
 2123   int oom_score_adj ;
 2124   int oom_score_adj_min ;
 2125   struct mutex cred_guard_mutex ;
 2126};
 2127#line 703 "include/linux/sched.h"
 2128struct user_struct {
 2129   atomic_t __count ;
 2130   atomic_t processes ;
 2131   atomic_t files ;
 2132   atomic_t sigpending ;
 2133   atomic_t inotify_watches ;
 2134   atomic_t inotify_devs ;
 2135   atomic_t fanotify_listeners ;
 2136   atomic_long_t epoll_watches ;
 2137   unsigned long mq_bytes ;
 2138   unsigned long locked_shm ;
 2139   struct key *uid_keyring ;
 2140   struct key *session_keyring ;
 2141   struct hlist_node uidhash_node ;
 2142   uid_t uid ;
 2143   struct user_namespace *user_ns ;
 2144   atomic_long_t locked_vm ;
 2145};
 2146#line 747
 2147struct backing_dev_info;
 2148#line 748
 2149struct reclaim_state;
 2150#line 751 "include/linux/sched.h"
 2151struct sched_info {
 2152   unsigned long pcount ;
 2153   unsigned long long run_delay ;
 2154   unsigned long long last_arrival ;
 2155   unsigned long long last_queued ;
 2156};
 2157#line 763 "include/linux/sched.h"
 2158struct task_delay_info {
 2159   spinlock_t lock ;
 2160   unsigned int flags ;
 2161   struct timespec blkio_start ;
 2162   struct timespec blkio_end ;
 2163   u64 blkio_delay ;
 2164   u64 swapin_delay ;
 2165   u32 blkio_count ;
 2166   u32 swapin_count ;
 2167   struct timespec freepages_start ;
 2168   struct timespec freepages_end ;
 2169   u64 freepages_delay ;
 2170   u32 freepages_count ;
 2171};
 2172#line 1088
 2173struct io_context;
 2174#line 1099
 2175struct pipe_inode_info;
 2176#line 1100
 2177struct uts_namespace;
 2178#line 1102
 2179struct rq;
 2180#line 1122 "include/linux/sched.h"
 2181struct sched_class {
 2182   struct sched_class    *next ;
 2183   void (*enqueue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
 2184   void (*dequeue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
 2185   void (*yield_task)(struct rq *rq ) ;
 2186   bool (*yield_to_task)(struct rq *rq , struct task_struct *p , bool preempt ) ;
 2187   void (*check_preempt_curr)(struct rq *rq , struct task_struct *p , int flags ) ;
 2188   struct task_struct *(*pick_next_task)(struct rq *rq ) ;
 2189   void (*put_prev_task)(struct rq *rq , struct task_struct *p ) ;
 2190   int (*select_task_rq)(struct task_struct *p , int sd_flag , int flags ) ;
 2191   void (*pre_schedule)(struct rq *this_rq , struct task_struct *task ) ;
 2192   void (*post_schedule)(struct rq *this_rq ) ;
 2193   void (*task_waking)(struct task_struct *task ) ;
 2194   void (*task_woken)(struct rq *this_rq , struct task_struct *task ) ;
 2195   void (*set_cpus_allowed)(struct task_struct *p , struct cpumask    *newmask ) ;
 2196   void (*rq_online)(struct rq *rq ) ;
 2197   void (*rq_offline)(struct rq *rq ) ;
 2198   void (*set_curr_task)(struct rq *rq ) ;
 2199   void (*task_tick)(struct rq *rq , struct task_struct *p , int queued ) ;
 2200   void (*task_fork)(struct task_struct *p ) ;
 2201   void (*switched_from)(struct rq *this_rq , struct task_struct *task ) ;
 2202   void (*switched_to)(struct rq *this_rq , struct task_struct *task ) ;
 2203   void (*prio_changed)(struct rq *this_rq , struct task_struct *task , int oldprio ) ;
 2204   unsigned int (*get_rr_interval)(struct rq *rq , struct task_struct *task ) ;
 2205   void (*task_move_group)(struct task_struct *p , int on_rq ) ;
 2206};
 2207#line 1167 "include/linux/sched.h"
 2208struct load_weight {
 2209   unsigned long weight ;
 2210   unsigned long inv_weight ;
 2211};
 2212#line 1172 "include/linux/sched.h"
 2213struct sched_statistics {
 2214   u64 wait_start ;
 2215   u64 wait_max ;
 2216   u64 wait_count ;
 2217   u64 wait_sum ;
 2218   u64 iowait_count ;
 2219   u64 iowait_sum ;
 2220   u64 sleep_start ;
 2221   u64 sleep_max ;
 2222   s64 sum_sleep_runtime ;
 2223   u64 block_start ;
 2224   u64 block_max ;
 2225   u64 exec_max ;
 2226   u64 slice_max ;
 2227   u64 nr_migrations_cold ;
 2228   u64 nr_failed_migrations_affine ;
 2229   u64 nr_failed_migrations_running ;
 2230   u64 nr_failed_migrations_hot ;
 2231   u64 nr_forced_migrations ;
 2232   u64 nr_wakeups ;
 2233   u64 nr_wakeups_sync ;
 2234   u64 nr_wakeups_migrate ;
 2235   u64 nr_wakeups_local ;
 2236   u64 nr_wakeups_remote ;
 2237   u64 nr_wakeups_affine ;
 2238   u64 nr_wakeups_affine_attempts ;
 2239   u64 nr_wakeups_passive ;
 2240   u64 nr_wakeups_idle ;
 2241};
 2242#line 1207 "include/linux/sched.h"
 2243struct sched_entity {
 2244   struct load_weight load ;
 2245   struct rb_node run_node ;
 2246   struct list_head group_node ;
 2247   unsigned int on_rq ;
 2248   u64 exec_start ;
 2249   u64 sum_exec_runtime ;
 2250   u64 vruntime ;
 2251   u64 prev_sum_exec_runtime ;
 2252   u64 nr_migrations ;
 2253   struct sched_statistics statistics ;
 2254   struct sched_entity *parent ;
 2255   struct cfs_rq *cfs_rq ;
 2256   struct cfs_rq *my_q ;
 2257};
 2258#line 1233
 2259struct rt_rq;
 2260#line 1233 "include/linux/sched.h"
 2261struct sched_rt_entity {
 2262   struct list_head run_list ;
 2263   unsigned long timeout ;
 2264   unsigned int time_slice ;
 2265   int nr_cpus_allowed ;
 2266   struct sched_rt_entity *back ;
 2267   struct sched_rt_entity *parent ;
 2268   struct rt_rq *rt_rq ;
 2269   struct rt_rq *my_q ;
 2270};
 2271#line 1264
 2272struct files_struct;
 2273#line 1264
 2274struct css_set;
 2275#line 1264
 2276struct compat_robust_list_head;
 2277#line 1264
 2278struct mem_cgroup;
 2279#line 1264 "include/linux/sched.h"
 2280struct memcg_batch_info {
 2281   int do_batch ;
 2282   struct mem_cgroup *memcg ;
 2283   unsigned long nr_pages ;
 2284   unsigned long memsw_nr_pages ;
 2285};
 2286#line 1264 "include/linux/sched.h"
 2287struct task_struct {
 2288   long volatile   state ;
 2289   void *stack ;
 2290   atomic_t usage ;
 2291   unsigned int flags ;
 2292   unsigned int ptrace ;
 2293   struct llist_node wake_entry ;
 2294   int on_cpu ;
 2295   int on_rq ;
 2296   int prio ;
 2297   int static_prio ;
 2298   int normal_prio ;
 2299   unsigned int rt_priority ;
 2300   struct sched_class    *sched_class ;
 2301   struct sched_entity se ;
 2302   struct sched_rt_entity rt ;
 2303   struct hlist_head preempt_notifiers ;
 2304   unsigned char fpu_counter ;
 2305   unsigned int policy ;
 2306   cpumask_t cpus_allowed ;
 2307   struct sched_info sched_info ;
 2308   struct list_head tasks ;
 2309   struct plist_node pushable_tasks ;
 2310   struct mm_struct *mm ;
 2311   struct mm_struct *active_mm ;
 2312   unsigned int brk_randomized : 1 ;
 2313   int exit_state ;
 2314   int exit_code ;
 2315   int exit_signal ;
 2316   int pdeath_signal ;
 2317   unsigned int jobctl ;
 2318   unsigned int personality ;
 2319   unsigned int did_exec : 1 ;
 2320   unsigned int in_execve : 1 ;
 2321   unsigned int in_iowait : 1 ;
 2322   unsigned int sched_reset_on_fork : 1 ;
 2323   unsigned int sched_contributes_to_load : 1 ;
 2324   unsigned int irq_thread : 1 ;
 2325   pid_t pid ;
 2326   pid_t tgid ;
 2327   unsigned long stack_canary ;
 2328   struct task_struct *real_parent ;
 2329   struct task_struct *parent ;
 2330   struct list_head children ;
 2331   struct list_head sibling ;
 2332   struct task_struct *group_leader ;
 2333   struct list_head ptraced ;
 2334   struct list_head ptrace_entry ;
 2335   struct pid_link pids[3] ;
 2336   struct list_head thread_group ;
 2337   struct completion *vfork_done ;
 2338   int *set_child_tid ;
 2339   int *clear_child_tid ;
 2340   cputime_t utime ;
 2341   cputime_t stime ;
 2342   cputime_t utimescaled ;
 2343   cputime_t stimescaled ;
 2344   cputime_t gtime ;
 2345   cputime_t prev_utime ;
 2346   cputime_t prev_stime ;
 2347   unsigned long nvcsw ;
 2348   unsigned long nivcsw ;
 2349   struct timespec start_time ;
 2350   struct timespec real_start_time ;
 2351   unsigned long min_flt ;
 2352   unsigned long maj_flt ;
 2353   struct task_cputime cputime_expires ;
 2354   struct list_head cpu_timers[3] ;
 2355   struct cred    *real_cred ;
 2356   struct cred    *cred ;
 2357   struct cred *replacement_session_keyring ;
 2358   char comm[16] ;
 2359   int link_count ;
 2360   int total_link_count ;
 2361   struct sysv_sem sysvsem ;
 2362   unsigned long last_switch_count ;
 2363   struct thread_struct thread ;
 2364   struct fs_struct *fs ;
 2365   struct files_struct *files ;
 2366   struct nsproxy *nsproxy ;
 2367   struct signal_struct *signal ;
 2368   struct sighand_struct *sighand ;
 2369   sigset_t blocked ;
 2370   sigset_t real_blocked ;
 2371   sigset_t saved_sigmask ;
 2372   struct sigpending pending ;
 2373   unsigned long sas_ss_sp ;
 2374   size_t sas_ss_size ;
 2375   int (*notifier)(void *priv ) ;
 2376   void *notifier_data ;
 2377   sigset_t *notifier_mask ;
 2378   struct audit_context *audit_context ;
 2379   uid_t loginuid ;
 2380   unsigned int sessionid ;
 2381   seccomp_t seccomp ;
 2382   u32 parent_exec_id ;
 2383   u32 self_exec_id ;
 2384   spinlock_t alloc_lock ;
 2385   raw_spinlock_t pi_lock ;
 2386   struct plist_head pi_waiters ;
 2387   struct rt_mutex_waiter *pi_blocked_on ;
 2388   struct mutex_waiter *blocked_on ;
 2389   unsigned int irq_events ;
 2390   unsigned long hardirq_enable_ip ;
 2391   unsigned long hardirq_disable_ip ;
 2392   unsigned int hardirq_enable_event ;
 2393   unsigned int hardirq_disable_event ;
 2394   int hardirqs_enabled ;
 2395   int hardirq_context ;
 2396   unsigned long softirq_disable_ip ;
 2397   unsigned long softirq_enable_ip ;
 2398   unsigned int softirq_disable_event ;
 2399   unsigned int softirq_enable_event ;
 2400   int softirqs_enabled ;
 2401   int softirq_context ;
 2402   void *journal_info ;
 2403   struct bio_list *bio_list ;
 2404   struct blk_plug *plug ;
 2405   struct reclaim_state *reclaim_state ;
 2406   struct backing_dev_info *backing_dev_info ;
 2407   struct io_context *io_context ;
 2408   unsigned long ptrace_message ;
 2409   siginfo_t *last_siginfo ;
 2410   struct task_io_accounting ioac ;
 2411   u64 acct_rss_mem1 ;
 2412   u64 acct_vm_mem1 ;
 2413   cputime_t acct_timexpd ;
 2414   nodemask_t mems_allowed ;
 2415   seqcount_t mems_allowed_seq ;
 2416   int cpuset_mem_spread_rotor ;
 2417   int cpuset_slab_spread_rotor ;
 2418   struct css_set *cgroups ;
 2419   struct list_head cg_list ;
 2420   struct robust_list_head *robust_list ;
 2421   struct compat_robust_list_head *compat_robust_list ;
 2422   struct list_head pi_state_list ;
 2423   struct futex_pi_state *pi_state_cache ;
 2424   struct perf_event_context *perf_event_ctxp[2] ;
 2425   struct mutex perf_event_mutex ;
 2426   struct list_head perf_event_list ;
 2427   struct mempolicy *mempolicy ;
 2428   short il_next ;
 2429   short pref_node_fork ;
 2430   struct rcu_head rcu ;
 2431   struct pipe_inode_info *splice_pipe ;
 2432   struct task_delay_info *delays ;
 2433   int make_it_fail ;
 2434   int nr_dirtied ;
 2435   int nr_dirtied_pause ;
 2436   unsigned long dirty_paused_when ;
 2437   int latency_record_count ;
 2438   struct latency_record latency_record[32] ;
 2439   unsigned long timer_slack_ns ;
 2440   unsigned long default_timer_slack_ns ;
 2441   struct list_head *scm_work_list ;
 2442   unsigned long trace ;
 2443   unsigned long trace_recursion ;
 2444   struct memcg_batch_info memcg_batch ;
 2445   atomic_t ptrace_bp_refcnt ;
 2446};
 2447#line 46 "include/linux/slub_def.h"
 2448struct kmem_cache_cpu {
 2449   void **freelist ;
 2450   unsigned long tid ;
 2451   struct page *page ;
 2452   struct page *partial ;
 2453   int node ;
 2454   unsigned int stat[26] ;
 2455};
 2456#line 57 "include/linux/slub_def.h"
 2457struct kmem_cache_node {
 2458   spinlock_t list_lock ;
 2459   unsigned long nr_partial ;
 2460   struct list_head partial ;
 2461   atomic_long_t nr_slabs ;
 2462   atomic_long_t total_objects ;
 2463   struct list_head full ;
 2464};
 2465#line 73 "include/linux/slub_def.h"
 2466struct kmem_cache_order_objects {
 2467   unsigned long x ;
 2468};
 2469#line 80 "include/linux/slub_def.h"
 2470struct kmem_cache {
 2471   struct kmem_cache_cpu *cpu_slab ;
 2472   unsigned long flags ;
 2473   unsigned long min_partial ;
 2474   int size ;
 2475   int objsize ;
 2476   int offset ;
 2477   int cpu_partial ;
 2478   struct kmem_cache_order_objects oo ;
 2479   struct kmem_cache_order_objects max ;
 2480   struct kmem_cache_order_objects min ;
 2481   gfp_t allocflags ;
 2482   int refcount ;
 2483   void (*ctor)(void * ) ;
 2484   int inuse ;
 2485   int align ;
 2486   int reserved ;
 2487   char    *name ;
 2488   struct list_head list ;
 2489   struct kobject kobj ;
 2490   int remote_node_defrag_ratio ;
 2491   struct kmem_cache_node *node[1 << 10] ;
 2492};
 2493#line 13 "include/linux/blk_types.h"
 2494struct bio;
 2495#line 14
 2496struct bio_integrity_payload;
 2497#line 16
 2498struct block_device;
 2499#line 17 "include/linux/blk_types.h"
 2500typedef void bio_end_io_t(struct bio * , int  );
 2501#line 18 "include/linux/blk_types.h"
 2502typedef void bio_destructor_t(struct bio * );
 2503#line 23 "include/linux/blk_types.h"
 2504struct bio_vec {
 2505   struct page *bv_page ;
 2506   unsigned int bv_len ;
 2507   unsigned int bv_offset ;
 2508};
 2509#line 33 "include/linux/blk_types.h"
 2510struct bio {
 2511   sector_t bi_sector ;
 2512   struct bio *bi_next ;
 2513   struct block_device *bi_bdev ;
 2514   unsigned long bi_flags ;
 2515   unsigned long bi_rw ;
 2516   unsigned short bi_vcnt ;
 2517   unsigned short bi_idx ;
 2518   unsigned int bi_phys_segments ;
 2519   unsigned int bi_size ;
 2520   unsigned int bi_seg_front_size ;
 2521   unsigned int bi_seg_back_size ;
 2522   unsigned int bi_max_vecs ;
 2523   atomic_t bi_cnt ;
 2524   struct bio_vec *bi_io_vec ;
 2525   bio_end_io_t *bi_end_io ;
 2526   void *bi_private ;
 2527   struct bio_integrity_payload *bi_integrity ;
 2528   bio_destructor_t *bi_destructor ;
 2529   struct bio_vec bi_inline_vecs[0] ;
 2530};
 2531#line 33 "include/linux/list_bl.h"
 2532struct hlist_bl_node;
 2533#line 33 "include/linux/list_bl.h"
 2534struct hlist_bl_head {
 2535   struct hlist_bl_node *first ;
 2536};
 2537#line 37 "include/linux/list_bl.h"
 2538struct hlist_bl_node {
 2539   struct hlist_bl_node *next ;
 2540   struct hlist_bl_node **pprev ;
 2541};
 2542#line 13 "include/linux/dcache.h"
 2543struct nameidata;
 2544#line 14
 2545struct path;
 2546#line 15
 2547struct vfsmount;
 2548#line 35 "include/linux/dcache.h"
 2549struct qstr {
 2550   unsigned int hash ;
 2551   unsigned int len ;
 2552   unsigned char    *name ;
 2553};
 2554#line 88
 2555struct dentry_operations;
 2556#line 88
 2557struct super_block;
 2558#line 88 "include/linux/dcache.h"
 2559union __anonunion_d_u_245 {
 2560   struct list_head d_child ;
 2561   struct rcu_head d_rcu ;
 2562};
 2563#line 88 "include/linux/dcache.h"
 2564struct dentry {
 2565   unsigned int d_flags ;
 2566   seqcount_t d_seq ;
 2567   struct hlist_bl_node d_hash ;
 2568   struct dentry *d_parent ;
 2569   struct qstr d_name ;
 2570   struct inode *d_inode ;
 2571   unsigned char d_iname[32] ;
 2572   unsigned int d_count ;
 2573   spinlock_t d_lock ;
 2574   struct dentry_operations    *d_op ;
 2575   struct super_block *d_sb ;
 2576   unsigned long d_time ;
 2577   void *d_fsdata ;
 2578   struct list_head d_lru ;
 2579   union __anonunion_d_u_245 d_u ;
 2580   struct list_head d_subdirs ;
 2581   struct list_head d_alias ;
 2582};
 2583#line 131 "include/linux/dcache.h"
 2584struct dentry_operations {
 2585   int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
 2586   int (*d_hash)(struct dentry    * , struct inode    * , struct qstr * ) ;
 2587   int (*d_compare)(struct dentry    * , struct inode    * , struct dentry  const  * ,
 2588                    struct inode    * , unsigned int  , char    * , struct qstr  const  * ) ;
 2589   int (*d_delete)(struct dentry    * ) ;
 2590   void (*d_release)(struct dentry * ) ;
 2591   void (*d_prune)(struct dentry * ) ;
 2592   void (*d_iput)(struct dentry * , struct inode * ) ;
 2593   char *(*d_dname)(struct dentry * , char * , int  ) ;
 2594   struct vfsmount *(*d_automount)(struct path * ) ;
 2595   int (*d_manage)(struct dentry * , bool  ) ;
 2596} __attribute__((__aligned__((1) <<  (6) ))) ;
 2597#line 7 "include/linux/path.h"
 2598struct path {
 2599   struct vfsmount *mnt ;
 2600   struct dentry *dentry ;
 2601};
 2602#line 64 "include/linux/radix-tree.h"
 2603struct radix_tree_node;
 2604#line 64 "include/linux/radix-tree.h"
 2605struct radix_tree_root {
 2606   unsigned int height ;
 2607   gfp_t gfp_mask ;
 2608   struct radix_tree_node *rnode ;
 2609};
 2610#line 16 "include/linux/fiemap.h"
 2611struct fiemap_extent {
 2612   __u64 fe_logical ;
 2613   __u64 fe_physical ;
 2614   __u64 fe_length ;
 2615   __u64 fe_reserved64[2] ;
 2616   __u32 fe_flags ;
 2617   __u32 fe_reserved[3] ;
 2618};
 2619#line 10 "include/linux/migrate_mode.h"
 2620enum migrate_mode {
 2621    MIGRATE_ASYNC = 0,
 2622    MIGRATE_SYNC_LIGHT = 1,
 2623    MIGRATE_SYNC = 2
 2624} ;
 2625#line 408 "include/linux/fs.h"
 2626struct export_operations;
 2627#line 409
 2628struct hd_geometry;
 2629#line 415
 2630struct poll_table_struct;
 2631#line 416
 2632struct kstatfs;
 2633#line 469 "include/linux/fs.h"
 2634struct iattr {
 2635   unsigned int ia_valid ;
 2636   umode_t ia_mode ;
 2637   uid_t ia_uid ;
 2638   gid_t ia_gid ;
 2639   loff_t ia_size ;
 2640   struct timespec ia_atime ;
 2641   struct timespec ia_mtime ;
 2642   struct timespec ia_ctime ;
 2643   struct file *ia_file ;
 2644};
 2645#line 129 "include/linux/quota.h"
 2646struct if_dqinfo {
 2647   __u64 dqi_bgrace ;
 2648   __u64 dqi_igrace ;
 2649   __u32 dqi_flags ;
 2650   __u32 dqi_valid ;
 2651};
 2652#line 50 "include/linux/dqblk_xfs.h"
 2653struct fs_disk_quota {
 2654   __s8 d_version ;
 2655   __s8 d_flags ;
 2656   __u16 d_fieldmask ;
 2657   __u32 d_id ;
 2658   __u64 d_blk_hardlimit ;
 2659   __u64 d_blk_softlimit ;
 2660   __u64 d_ino_hardlimit ;
 2661   __u64 d_ino_softlimit ;
 2662   __u64 d_bcount ;
 2663   __u64 d_icount ;
 2664   __s32 d_itimer ;
 2665   __s32 d_btimer ;
 2666   __u16 d_iwarns ;
 2667   __u16 d_bwarns ;
 2668   __s32 d_padding2 ;
 2669   __u64 d_rtb_hardlimit ;
 2670   __u64 d_rtb_softlimit ;
 2671   __u64 d_rtbcount ;
 2672   __s32 d_rtbtimer ;
 2673   __u16 d_rtbwarns ;
 2674   __s16 d_padding3 ;
 2675   char d_padding4[8] ;
 2676};
 2677#line 146 "include/linux/dqblk_xfs.h"
 2678struct fs_qfilestat {
 2679   __u64 qfs_ino ;
 2680   __u64 qfs_nblks ;
 2681   __u32 qfs_nextents ;
 2682};
 2683#line 146 "include/linux/dqblk_xfs.h"
 2684typedef struct fs_qfilestat fs_qfilestat_t;
 2685#line 152 "include/linux/dqblk_xfs.h"
 2686struct fs_quota_stat {
 2687   __s8 qs_version ;
 2688   __u16 qs_flags ;
 2689   __s8 qs_pad ;
 2690   fs_qfilestat_t qs_uquota ;
 2691   fs_qfilestat_t qs_gquota ;
 2692   __u32 qs_incoredqs ;
 2693   __s32 qs_btimelimit ;
 2694   __s32 qs_itimelimit ;
 2695   __s32 qs_rtbtimelimit ;
 2696   __u16 qs_bwarnlimit ;
 2697   __u16 qs_iwarnlimit ;
 2698};
 2699#line 17 "include/linux/dqblk_qtree.h"
 2700struct dquot;
 2701#line 185 "include/linux/quota.h"
 2702typedef __kernel_uid32_t qid_t;
 2703#line 186 "include/linux/quota.h"
 2704typedef long long qsize_t;
 2705#line 200 "include/linux/quota.h"
 2706struct mem_dqblk {
 2707   qsize_t dqb_bhardlimit ;
 2708   qsize_t dqb_bsoftlimit ;
 2709   qsize_t dqb_curspace ;
 2710   qsize_t dqb_rsvspace ;
 2711   qsize_t dqb_ihardlimit ;
 2712   qsize_t dqb_isoftlimit ;
 2713   qsize_t dqb_curinodes ;
 2714   time_t dqb_btime ;
 2715   time_t dqb_itime ;
 2716};
 2717#line 215
 2718struct quota_format_type;
 2719#line 217 "include/linux/quota.h"
 2720struct mem_dqinfo {
 2721   struct quota_format_type *dqi_format ;
 2722   int dqi_fmt_id ;
 2723   struct list_head dqi_dirty_list ;
 2724   unsigned long dqi_flags ;
 2725   unsigned int dqi_bgrace ;
 2726   unsigned int dqi_igrace ;
 2727   qsize_t dqi_maxblimit ;
 2728   qsize_t dqi_maxilimit ;
 2729   void *dqi_priv ;
 2730};
 2731#line 288 "include/linux/quota.h"
 2732struct dquot {
 2733   struct hlist_node dq_hash ;
 2734   struct list_head dq_inuse ;
 2735   struct list_head dq_free ;
 2736   struct list_head dq_dirty ;
 2737   struct mutex dq_lock ;
 2738   atomic_t dq_count ;
 2739   wait_queue_head_t dq_wait_unused ;
 2740   struct super_block *dq_sb ;
 2741   unsigned int dq_id ;
 2742   loff_t dq_off ;
 2743   unsigned long dq_flags ;
 2744   short dq_type ;
 2745   struct mem_dqblk dq_dqb ;
 2746};
 2747#line 305 "include/linux/quota.h"
 2748struct quota_format_ops {
 2749   int (*check_quota_file)(struct super_block *sb , int type ) ;
 2750   int (*read_file_info)(struct super_block *sb , int type ) ;
 2751   int (*write_file_info)(struct super_block *sb , int type ) ;
 2752   int (*free_file_info)(struct super_block *sb , int type ) ;
 2753   int (*read_dqblk)(struct dquot *dquot ) ;
 2754   int (*commit_dqblk)(struct dquot *dquot ) ;
 2755   int (*release_dqblk)(struct dquot *dquot ) ;
 2756};
 2757#line 316 "include/linux/quota.h"
 2758struct dquot_operations {
 2759   int (*write_dquot)(struct dquot * ) ;
 2760   struct dquot *(*alloc_dquot)(struct super_block * , int  ) ;
 2761   void (*destroy_dquot)(struct dquot * ) ;
 2762   int (*acquire_dquot)(struct dquot * ) ;
 2763   int (*release_dquot)(struct dquot * ) ;
 2764   int (*mark_dirty)(struct dquot * ) ;
 2765   int (*write_info)(struct super_block * , int  ) ;
 2766   qsize_t *(*get_reserved_space)(struct inode * ) ;
 2767};
 2768#line 332 "include/linux/quota.h"
 2769struct quotactl_ops {
 2770   int (*quota_on)(struct super_block * , int  , int  , struct path * ) ;
 2771   int (*quota_on_meta)(struct super_block * , int  , int  ) ;
 2772   int (*quota_off)(struct super_block * , int  ) ;
 2773   int (*quota_sync)(struct super_block * , int  , int  ) ;
 2774   int (*get_info)(struct super_block * , int  , struct if_dqinfo * ) ;
 2775   int (*set_info)(struct super_block * , int  , struct if_dqinfo * ) ;
 2776   int (*get_dqblk)(struct super_block * , int  , qid_t  , struct fs_disk_quota * ) ;
 2777   int (*set_dqblk)(struct super_block * , int  , qid_t  , struct fs_disk_quota * ) ;
 2778   int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
 2779   int (*set_xstate)(struct super_block * , unsigned int  , int  ) ;
 2780};
 2781#line 345 "include/linux/quota.h"
 2782struct quota_format_type {
 2783   int qf_fmt_id ;
 2784   struct quota_format_ops    *qf_ops ;
 2785   struct module *qf_owner ;
 2786   struct quota_format_type *qf_next ;
 2787};
 2788#line 399 "include/linux/quota.h"
 2789struct quota_info {
 2790   unsigned int flags ;
 2791   struct mutex dqio_mutex ;
 2792   struct mutex dqonoff_mutex ;
 2793   struct rw_semaphore dqptr_sem ;
 2794   struct inode *files[2] ;
 2795   struct mem_dqinfo info[2] ;
 2796   struct quota_format_ops    *ops[2] ;
 2797};
 2798#line 577 "include/linux/fs.h"
 2799union __anonunion_arg_252 {
 2800   char *buf ;
 2801   void *data ;
 2802};
 2803#line 577 "include/linux/fs.h"
 2804struct __anonstruct_read_descriptor_t_251 {
 2805   size_t written ;
 2806   size_t count ;
 2807   union __anonunion_arg_252 arg ;
 2808   int error ;
 2809};
 2810#line 577 "include/linux/fs.h"
 2811typedef struct __anonstruct_read_descriptor_t_251 read_descriptor_t;
 2812#line 590 "include/linux/fs.h"
 2813struct address_space_operations {
 2814   int (*writepage)(struct page *page , struct writeback_control *wbc ) ;
 2815   int (*readpage)(struct file * , struct page * ) ;
 2816   int (*writepages)(struct address_space * , struct writeback_control * ) ;
 2817   int (*set_page_dirty)(struct page *page ) ;
 2818   int (*readpages)(struct file *filp , struct address_space *mapping , struct list_head *pages ,
 2819                    unsigned int nr_pages ) ;
 2820   int (*write_begin)(struct file * , struct address_space *mapping , loff_t pos ,
 2821                      unsigned int len , unsigned int flags , struct page **pagep ,
 2822                      void **fsdata ) ;
 2823   int (*write_end)(struct file * , struct address_space *mapping , loff_t pos , unsigned int len ,
 2824                    unsigned int copied , struct page *page , void *fsdata ) ;
 2825   sector_t (*bmap)(struct address_space * , sector_t  ) ;
 2826   void (*invalidatepage)(struct page * , unsigned long  ) ;
 2827   int (*releasepage)(struct page * , gfp_t  ) ;
 2828   void (*freepage)(struct page * ) ;
 2829   ssize_t (*direct_IO)(int  , struct kiocb * , struct iovec    *iov , loff_t offset ,
 2830                        unsigned long nr_segs ) ;
 2831   int (*get_xip_mem)(struct address_space * , unsigned long  , int  , void ** , unsigned long * ) ;
 2832   int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode  ) ;
 2833   int (*launder_page)(struct page * ) ;
 2834   int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long  ) ;
 2835   int (*error_remove_page)(struct address_space * , struct page * ) ;
 2836};
 2837#line 646 "include/linux/fs.h"
 2838struct address_space {
 2839   struct inode *host ;
 2840   struct radix_tree_root page_tree ;
 2841   spinlock_t tree_lock ;
 2842   unsigned int i_mmap_writable ;
 2843   struct prio_tree_root i_mmap ;
 2844   struct list_head i_mmap_nonlinear ;
 2845   struct mutex i_mmap_mutex ;
 2846   unsigned long nrpages ;
 2847   unsigned long writeback_index ;
 2848   struct address_space_operations    *a_ops ;
 2849   unsigned long flags ;
 2850   struct backing_dev_info *backing_dev_info ;
 2851   spinlock_t private_lock ;
 2852   struct list_head private_list ;
 2853   struct address_space *assoc_mapping ;
 2854} __attribute__((__aligned__(sizeof(long )))) ;
 2855#line 669
 2856struct request_queue;
 2857#line 671
 2858struct hd_struct;
 2859#line 671
 2860struct gendisk;
 2861#line 671 "include/linux/fs.h"
 2862struct block_device {
 2863   dev_t bd_dev ;
 2864   int bd_openers ;
 2865   struct inode *bd_inode ;
 2866   struct super_block *bd_super ;
 2867   struct mutex bd_mutex ;
 2868   struct list_head bd_inodes ;
 2869   void *bd_claiming ;
 2870   void *bd_holder ;
 2871   int bd_holders ;
 2872   bool bd_write_holder ;
 2873   struct list_head bd_holder_disks ;
 2874   struct block_device *bd_contains ;
 2875   unsigned int bd_block_size ;
 2876   struct hd_struct *bd_part ;
 2877   unsigned int bd_part_count ;
 2878   int bd_invalidated ;
 2879   struct gendisk *bd_disk ;
 2880   struct request_queue *bd_queue ;
 2881   struct list_head bd_list ;
 2882   unsigned long bd_private ;
 2883   int bd_fsfreeze_count ;
 2884   struct mutex bd_fsfreeze_mutex ;
 2885};
 2886#line 749
 2887struct posix_acl;
 2888#line 761
 2889struct inode_operations;
 2890#line 761 "include/linux/fs.h"
 2891union __anonunion____missing_field_name_253 {
 2892   unsigned int    i_nlink ;
 2893   unsigned int __i_nlink ;
 2894};
 2895#line 761 "include/linux/fs.h"
 2896union __anonunion____missing_field_name_254 {
 2897   struct list_head i_dentry ;
 2898   struct rcu_head i_rcu ;
 2899};
 2900#line 761
 2901struct file_operations;
 2902#line 761
 2903struct file_lock;
 2904#line 761
 2905struct cdev;
 2906#line 761 "include/linux/fs.h"
 2907union __anonunion____missing_field_name_255 {
 2908   struct pipe_inode_info *i_pipe ;
 2909   struct block_device *i_bdev ;
 2910   struct cdev *i_cdev ;
 2911};
 2912#line 761 "include/linux/fs.h"
 2913struct inode {
 2914   umode_t i_mode ;
 2915   unsigned short i_opflags ;
 2916   uid_t i_uid ;
 2917   gid_t i_gid ;
 2918   unsigned int i_flags ;
 2919   struct posix_acl *i_acl ;
 2920   struct posix_acl *i_default_acl ;
 2921   struct inode_operations    *i_op ;
 2922   struct super_block *i_sb ;
 2923   struct address_space *i_mapping ;
 2924   void *i_security ;
 2925   unsigned long i_ino ;
 2926   union __anonunion____missing_field_name_253 __annonCompField44 ;
 2927   dev_t i_rdev ;
 2928   struct timespec i_atime ;
 2929   struct timespec i_mtime ;
 2930   struct timespec i_ctime ;
 2931   spinlock_t i_lock ;
 2932   unsigned short i_bytes ;
 2933   blkcnt_t i_blocks ;
 2934   loff_t i_size ;
 2935   unsigned long i_state ;
 2936   struct mutex i_mutex ;
 2937   unsigned long dirtied_when ;
 2938   struct hlist_node i_hash ;
 2939   struct list_head i_wb_list ;
 2940   struct list_head i_lru ;
 2941   struct list_head i_sb_list ;
 2942   union __anonunion____missing_field_name_254 __annonCompField45 ;
 2943   atomic_t i_count ;
 2944   unsigned int i_blkbits ;
 2945   u64 i_version ;
 2946   atomic_t i_dio_count ;
 2947   atomic_t i_writecount ;
 2948   struct file_operations    *i_fop ;
 2949   struct file_lock *i_flock ;
 2950   struct address_space i_data ;
 2951   struct dquot *i_dquot[2] ;
 2952   struct list_head i_devices ;
 2953   union __anonunion____missing_field_name_255 __annonCompField46 ;
 2954   __u32 i_generation ;
 2955   __u32 i_fsnotify_mask ;
 2956   struct hlist_head i_fsnotify_marks ;
 2957   atomic_t i_readcount ;
 2958   void *i_private ;
 2959};
 2960#line 942 "include/linux/fs.h"
 2961struct fown_struct {
 2962   rwlock_t lock ;
 2963   struct pid *pid ;
 2964   enum pid_type pid_type ;
 2965   uid_t uid ;
 2966   uid_t euid ;
 2967   int signum ;
 2968};
 2969#line 953 "include/linux/fs.h"
 2970struct file_ra_state {
 2971   unsigned long start ;
 2972   unsigned int size ;
 2973   unsigned int async_size ;
 2974   unsigned int ra_pages ;
 2975   unsigned int mmap_miss ;
 2976   loff_t prev_pos ;
 2977};
 2978#line 976 "include/linux/fs.h"
 2979union __anonunion_f_u_256 {
 2980   struct list_head fu_list ;
 2981   struct rcu_head fu_rcuhead ;
 2982};
 2983#line 976 "include/linux/fs.h"
 2984struct file {
 2985   union __anonunion_f_u_256 f_u ;
 2986   struct path f_path ;
 2987   struct file_operations    *f_op ;
 2988   spinlock_t f_lock ;
 2989   int f_sb_list_cpu ;
 2990   atomic_long_t f_count ;
 2991   unsigned int f_flags ;
 2992   fmode_t f_mode ;
 2993   loff_t f_pos ;
 2994   struct fown_struct f_owner ;
 2995   struct cred    *f_cred ;
 2996   struct file_ra_state f_ra ;
 2997   u64 f_version ;
 2998   void *f_security ;
 2999   void *private_data ;
 3000   struct list_head f_ep_links ;
 3001   struct list_head f_tfile_llink ;
 3002   struct address_space *f_mapping ;
 3003   unsigned long f_mnt_write_state ;
 3004};
 3005#line 1111 "include/linux/fs.h"
 3006typedef struct files_struct *fl_owner_t;
 3007#line 1113 "include/linux/fs.h"
 3008struct file_lock_operations {
 3009   void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
 3010   void (*fl_release_private)(struct file_lock * ) ;
 3011};
 3012#line 1118 "include/linux/fs.h"
 3013struct lock_manager_operations {
 3014   int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
 3015   void (*lm_notify)(struct file_lock * ) ;
 3016   int (*lm_grant)(struct file_lock * , struct file_lock * , int  ) ;
 3017   void (*lm_release_private)(struct file_lock * ) ;
 3018   void (*lm_break)(struct file_lock * ) ;
 3019   int (*lm_change)(struct file_lock ** , int  ) ;
 3020};
 3021#line 4 "include/linux/nfs_fs_i.h"
 3022struct nlm_lockowner;
 3023#line 9 "include/linux/nfs_fs_i.h"
 3024struct nfs_lock_info {
 3025   u32 state ;
 3026   struct nlm_lockowner *owner ;
 3027   struct list_head list ;
 3028};
 3029#line 15
 3030struct nfs4_lock_state;
 3031#line 16 "include/linux/nfs_fs_i.h"
 3032struct nfs4_lock_info {
 3033   struct nfs4_lock_state *owner ;
 3034};
 3035#line 1138 "include/linux/fs.h"
 3036struct fasync_struct;
 3037#line 1138 "include/linux/fs.h"
 3038struct __anonstruct_afs_258 {
 3039   struct list_head link ;
 3040   int state ;
 3041};
 3042#line 1138 "include/linux/fs.h"
 3043union __anonunion_fl_u_257 {
 3044   struct nfs_lock_info nfs_fl ;
 3045   struct nfs4_lock_info nfs4_fl ;
 3046   struct __anonstruct_afs_258 afs ;
 3047};
 3048#line 1138 "include/linux/fs.h"
 3049struct file_lock {
 3050   struct file_lock *fl_next ;
 3051   struct list_head fl_link ;
 3052   struct list_head fl_block ;
 3053   fl_owner_t fl_owner ;
 3054   unsigned int fl_flags ;
 3055   unsigned char fl_type ;
 3056   unsigned int fl_pid ;
 3057   struct pid *fl_nspid ;
 3058   wait_queue_head_t fl_wait ;
 3059   struct file *fl_file ;
 3060   loff_t fl_start ;
 3061   loff_t fl_end ;
 3062   struct fasync_struct *fl_fasync ;
 3063   unsigned long fl_break_time ;
 3064   unsigned long fl_downgrade_time ;
 3065   struct file_lock_operations    *fl_ops ;
 3066   struct lock_manager_operations    *fl_lmops ;
 3067   union __anonunion_fl_u_257 fl_u ;
 3068};
 3069#line 1378 "include/linux/fs.h"
 3070struct fasync_struct {
 3071   spinlock_t fa_lock ;
 3072   int magic ;
 3073   int fa_fd ;
 3074   struct fasync_struct *fa_next ;
 3075   struct file *fa_file ;
 3076   struct rcu_head fa_rcu ;
 3077};
 3078#line 1418
 3079struct file_system_type;
 3080#line 1418
 3081struct super_operations;
 3082#line 1418
 3083struct xattr_handler;
 3084#line 1418
 3085struct mtd_info;
 3086#line 1418 "include/linux/fs.h"
 3087struct super_block {
 3088   struct list_head s_list ;
 3089   dev_t s_dev ;
 3090   unsigned char s_dirt ;
 3091   unsigned char s_blocksize_bits ;
 3092   unsigned long s_blocksize ;
 3093   loff_t s_maxbytes ;
 3094   struct file_system_type *s_type ;
 3095   struct super_operations    *s_op ;
 3096   struct dquot_operations    *dq_op ;
 3097   struct quotactl_ops    *s_qcop ;
 3098   struct export_operations    *s_export_op ;
 3099   unsigned long s_flags ;
 3100   unsigned long s_magic ;
 3101   struct dentry *s_root ;
 3102   struct rw_semaphore s_umount ;
 3103   struct mutex s_lock ;
 3104   int s_count ;
 3105   atomic_t s_active ;
 3106   void *s_security ;
 3107   struct xattr_handler    **s_xattr ;
 3108   struct list_head s_inodes ;
 3109   struct hlist_bl_head s_anon ;
 3110   struct list_head *s_files ;
 3111   struct list_head s_mounts ;
 3112   struct list_head s_dentry_lru ;
 3113   int s_nr_dentry_unused ;
 3114   spinlock_t s_inode_lru_lock  __attribute__((__aligned__((1) <<  (6) ))) ;
 3115   struct list_head s_inode_lru ;
 3116   int s_nr_inodes_unused ;
 3117   struct block_device *s_bdev ;
 3118   struct backing_dev_info *s_bdi ;
 3119   struct mtd_info *s_mtd ;
 3120   struct hlist_node s_instances ;
 3121   struct quota_info s_dquot ;
 3122   int s_frozen ;
 3123   wait_queue_head_t s_wait_unfrozen ;
 3124   char s_id[32] ;
 3125   u8 s_uuid[16] ;
 3126   void *s_fs_info ;
 3127   unsigned int s_max_links ;
 3128   fmode_t s_mode ;
 3129   u32 s_time_gran ;
 3130   struct mutex s_vfs_rename_mutex ;
 3131   char *s_subtype ;
 3132   char *s_options ;
 3133   struct dentry_operations    *s_d_op ;
 3134   int cleancache_poolid ;
 3135   struct shrinker s_shrink ;
 3136   atomic_long_t s_remove_count ;
 3137   int s_readonly_remount ;
 3138};
 3139#line 1567 "include/linux/fs.h"
 3140struct fiemap_extent_info {
 3141   unsigned int fi_flags ;
 3142   unsigned int fi_extents_mapped ;
 3143   unsigned int fi_extents_max ;
 3144   struct fiemap_extent *fi_extents_start ;
 3145};
 3146#line 1601
 3147struct block_device_operations;
 3148#line 1609 "include/linux/fs.h"
 3149struct file_operations {
 3150   struct module *owner ;
 3151   loff_t (*llseek)(struct file * , loff_t  , int  ) ;
 3152   ssize_t (*read)(struct file * , char * , size_t  , loff_t * ) ;
 3153   ssize_t (*write)(struct file * , char    * , size_t  , loff_t * ) ;
 3154   ssize_t (*aio_read)(struct kiocb * , struct iovec    * , unsigned long  ,
 3155                       loff_t  ) ;
 3156   ssize_t (*aio_write)(struct kiocb * , struct iovec    * , unsigned long  ,
 3157                        loff_t  ) ;
 3158   int (*readdir)(struct file * , void * , int (*)(void * , char    * , int  ,
 3159                                                   loff_t  , u64  , unsigned int  ) ) ;
 3160   unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
 3161   long (*unlocked_ioctl)(struct file * , unsigned int  , unsigned long  ) ;
 3162   long (*compat_ioctl)(struct file * , unsigned int  , unsigned long  ) ;
 3163   int (*mmap)(struct file * , struct vm_area_struct * ) ;
 3164   int (*open)(struct inode * , struct file * ) ;
 3165   int (*flush)(struct file * , fl_owner_t id ) ;
 3166   int (*release)(struct inode * , struct file * ) ;
 3167   int (*fsync)(struct file * , loff_t  , loff_t  , int datasync ) ;
 3168   int (*aio_fsync)(struct kiocb * , int datasync ) ;
 3169   int (*fasync)(int  , struct file * , int  ) ;
 3170   int (*lock)(struct file * , int  , struct file_lock * ) ;
 3171   ssize_t (*sendpage)(struct file * , struct page * , int  , size_t  , loff_t * ,
 3172                       int  ) ;
 3173   unsigned long (*get_unmapped_area)(struct file * , unsigned long  , unsigned long  ,
 3174                                      unsigned long  , unsigned long  ) ;
 3175   int (*check_flags)(int  ) ;
 3176   int (*flock)(struct file * , int  , struct file_lock * ) ;
 3177   ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t  ,
 3178                           unsigned int  ) ;
 3179   ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t  ,
 3180                          unsigned int  ) ;
 3181   int (*setlease)(struct file * , long  , struct file_lock ** ) ;
 3182   long (*fallocate)(struct file *file , int mode , loff_t offset , loff_t len ) ;
 3183};
 3184#line 1639 "include/linux/fs.h"
 3185struct inode_operations {
 3186   struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
 3187   void *(*follow_link)(struct dentry * , struct nameidata * ) ;
 3188   int (*permission)(struct inode * , int  ) ;
 3189   struct posix_acl *(*get_acl)(struct inode * , int  ) ;
 3190   int (*readlink)(struct dentry * , char * , int  ) ;
 3191   void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
 3192   int (*create)(struct inode * , struct dentry * , umode_t  , struct nameidata * ) ;
 3193   int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
 3194   int (*unlink)(struct inode * , struct dentry * ) ;
 3195   int (*symlink)(struct inode * , struct dentry * , char    * ) ;
 3196   int (*mkdir)(struct inode * , struct dentry * , umode_t  ) ;
 3197   int (*rmdir)(struct inode * , struct dentry * ) ;
 3198   int (*mknod)(struct inode * , struct dentry * , umode_t  , dev_t  ) ;
 3199   int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
 3200   void (*truncate)(struct inode * ) ;
 3201   int (*setattr)(struct dentry * , struct iattr * ) ;
 3202   int (*getattr)(struct vfsmount *mnt , struct dentry * , struct kstat * ) ;
 3203   int (*setxattr)(struct dentry * , char    * , void    * , size_t  , int  ) ;
 3204   ssize_t (*getxattr)(struct dentry * , char    * , void * , size_t  ) ;
 3205   ssize_t (*listxattr)(struct dentry * , char * , size_t  ) ;
 3206   int (*removexattr)(struct dentry * , char    * ) ;
 3207   void (*truncate_range)(struct inode * , loff_t  , loff_t  ) ;
 3208   int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 start , u64 len ) ;
 3209} __attribute__((__aligned__((1) <<  (6) ))) ;
 3210#line 1684 "include/linux/fs.h"
 3211struct super_operations {
 3212   struct inode *(*alloc_inode)(struct super_block *sb ) ;
 3213   void (*destroy_inode)(struct inode * ) ;
 3214   void (*dirty_inode)(struct inode * , int flags ) ;
 3215   int (*write_inode)(struct inode * , struct writeback_control *wbc ) ;
 3216   int (*drop_inode)(struct inode * ) ;
 3217   void (*evict_inode)(struct inode * ) ;
 3218   void (*put_super)(struct super_block * ) ;
 3219   void (*write_super)(struct super_block * ) ;
 3220   int (*sync_fs)(struct super_block *sb , int wait ) ;
 3221   int (*freeze_fs)(struct super_block * ) ;
 3222   int (*unfreeze_fs)(struct super_block * ) ;
 3223   int (*statfs)(struct dentry * , struct kstatfs * ) ;
 3224   int (*remount_fs)(struct super_block * , int * , char * ) ;
 3225   void (*umount_begin)(struct super_block * ) ;
 3226   int (*show_options)(struct seq_file * , struct dentry * ) ;
 3227   int (*show_devname)(struct seq_file * , struct dentry * ) ;
 3228   int (*show_path)(struct seq_file * , struct dentry * ) ;
 3229   int (*show_stats)(struct seq_file * , struct dentry * ) ;
 3230   ssize_t (*quota_read)(struct super_block * , int  , char * , size_t  , loff_t  ) ;
 3231   ssize_t (*quota_write)(struct super_block * , int  , char    * , size_t  ,
 3232                          loff_t  ) ;
 3233   int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t  ) ;
 3234   int (*nr_cached_objects)(struct super_block * ) ;
 3235   void (*free_cached_objects)(struct super_block * , int  ) ;
 3236};
 3237#line 1835 "include/linux/fs.h"
 3238struct file_system_type {
 3239   char    *name ;
 3240   int fs_flags ;
 3241   struct dentry *(*mount)(struct file_system_type * , int  , char    * , void * ) ;
 3242   void (*kill_sb)(struct super_block * ) ;
 3243   struct module *owner ;
 3244   struct file_system_type *next ;
 3245   struct hlist_head fs_supers ;
 3246   struct lock_class_key s_lock_key ;
 3247   struct lock_class_key s_umount_key ;
 3248   struct lock_class_key s_vfs_rename_key ;
 3249   struct lock_class_key i_lock_key ;
 3250   struct lock_class_key i_mutex_key ;
 3251   struct lock_class_key i_mutex_dir_key ;
 3252};
 3253#line 82 "include/linux/genhd.h"
 3254struct disk_stats {
 3255   unsigned long sectors[2] ;
 3256   unsigned long ios[2] ;
 3257   unsigned long merges[2] ;
 3258   unsigned long ticks[2] ;
 3259   unsigned long io_ticks ;
 3260   unsigned long time_in_queue ;
 3261};
 3262#line 94 "include/linux/genhd.h"
 3263struct partition_meta_info {
 3264   u8 uuid[16] ;
 3265   u8 volname[64] ;
 3266};
 3267#line 99 "include/linux/genhd.h"
 3268struct hd_struct {
 3269   sector_t start_sect ;
 3270   sector_t nr_sects ;
 3271   sector_t alignment_offset ;
 3272   unsigned int discard_alignment ;
 3273   struct device __dev ;
 3274   struct kobject *holder_dir ;
 3275   int policy ;
 3276   int partno ;
 3277   struct partition_meta_info *info ;
 3278   int make_it_fail ;
 3279   unsigned long stamp ;
 3280   atomic_t in_flight[2] ;
 3281   struct disk_stats *dkstats ;
 3282   atomic_t ref ;
 3283   struct rcu_head rcu_head ;
 3284};
 3285#line 147 "include/linux/genhd.h"
 3286struct disk_part_tbl {
 3287   struct rcu_head rcu_head ;
 3288   int len ;
 3289   struct hd_struct *last_lookup ;
 3290   struct hd_struct *part[] ;
 3291};
 3292#line 154
 3293struct disk_events;
 3294#line 156
 3295struct timer_rand_state;
 3296#line 156
 3297struct blk_integrity;
 3298#line 156 "include/linux/genhd.h"
 3299struct gendisk {
 3300   int major ;
 3301   int first_minor ;
 3302   int minors ;
 3303   char disk_name[32] ;
 3304   char *(*devnode)(struct gendisk *gd , umode_t *mode ) ;
 3305   unsigned int events ;
 3306   unsigned int async_events ;
 3307   struct disk_part_tbl *part_tbl ;
 3308   struct hd_struct part0 ;
 3309   struct block_device_operations    *fops ;
 3310   struct request_queue *queue ;
 3311   void *private_data ;
 3312   int flags ;
 3313   struct device *driverfs_dev ;
 3314   struct kobject *slave_dir ;
 3315   struct timer_rand_state *random ;
 3316   atomic_t sync_io ;
 3317   struct disk_events *ev ;
 3318   struct blk_integrity *integrity ;
 3319   int node_id ;
 3320};
 3321#line 94 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess.h"
 3322struct exception_table_entry {
 3323   unsigned long insn ;
 3324   unsigned long fixup ;
 3325};
 3326#line 12 "include/linux/irqdesc.h"
 3327struct proc_dir_entry;
 3328#line 33 "include/linux/writeback.h"
 3329enum writeback_sync_modes {
 3330    WB_SYNC_NONE = 0,
 3331    WB_SYNC_ALL = 1
 3332} ;
 3333#line 60 "include/linux/writeback.h"
 3334struct writeback_control {
 3335   enum writeback_sync_modes sync_mode ;
 3336   long nr_to_write ;
 3337   long pages_skipped ;
 3338   loff_t range_start ;
 3339   loff_t range_end ;
 3340   unsigned int for_kupdate : 1 ;
 3341   unsigned int for_background : 1 ;
 3342   unsigned int tagged_writepages : 1 ;
 3343   unsigned int for_reclaim : 1 ;
 3344   unsigned int range_cyclic : 1 ;
 3345};
 3346#line 84
 3347struct bdi_writeback;
 3348#line 38 "include/linux/backing-dev.h"
 3349typedef int congested_fn(void * , int  );
 3350#line 50 "include/linux/backing-dev.h"
 3351struct bdi_writeback {
 3352   struct backing_dev_info *bdi ;
 3353   unsigned int nr ;
 3354   unsigned long last_old_flush ;
 3355   unsigned long last_active ;
 3356   struct task_struct *task ;
 3357   struct timer_list wakeup_timer ;
 3358   struct list_head b_dirty ;
 3359   struct list_head b_io ;
 3360   struct list_head b_more_io ;
 3361   spinlock_t list_lock ;
 3362};
 3363#line 65 "include/linux/backing-dev.h"
 3364struct backing_dev_info {
 3365   struct list_head bdi_list ;
 3366   unsigned long ra_pages ;
 3367   unsigned long state ;
 3368   unsigned int capabilities ;
 3369   congested_fn *congested_fn ;
 3370   void *congested_data ;
 3371   char *name ;
 3372   struct percpu_counter bdi_stat[4] ;
 3373   unsigned long bw_time_stamp ;
 3374   unsigned long dirtied_stamp ;
 3375   unsigned long written_stamp ;
 3376   unsigned long write_bandwidth ;
 3377   unsigned long avg_write_bandwidth ;
 3378   unsigned long dirty_ratelimit ;
 3379   unsigned long balanced_dirty_ratelimit ;
 3380   struct prop_local_percpu completions ;
 3381   int dirty_exceeded ;
 3382   unsigned int min_ratio ;
 3383   unsigned int max_ratio ;
 3384   unsigned int max_prop_frac ;
 3385   struct bdi_writeback wb ;
 3386   spinlock_t wb_lock ;
 3387   struct list_head work_list ;
 3388   struct device *dev ;
 3389   struct timer_list laptop_mode_wb_timer ;
 3390   struct dentry *debug_dir ;
 3391   struct dentry *debug_stats ;
 3392};
 3393#line 11 "include/linux/mempool.h"
 3394typedef void *mempool_alloc_t(gfp_t gfp_mask , void *pool_data );
 3395#line 12 "include/linux/mempool.h"
 3396typedef void mempool_free_t(void *element , void *pool_data );
 3397#line 14 "include/linux/mempool.h"
 3398struct mempool_s {
 3399   spinlock_t lock ;
 3400   int min_nr ;
 3401   int curr_nr ;
 3402   void **elements ;
 3403   void *pool_data ;
 3404   mempool_alloc_t *alloc ;
 3405   mempool_free_t *free ;
 3406   wait_queue_head_t wait ;
 3407};
 3408#line 14 "include/linux/mempool.h"
 3409typedef struct mempool_s mempool_t;
 3410#line 75 "include/linux/iocontext.h"
 3411union __anonunion____missing_field_name_269 {
 3412   struct list_head q_node ;
 3413   struct kmem_cache *__rcu_icq_cache ;
 3414};
 3415#line 75 "include/linux/iocontext.h"
 3416union __anonunion____missing_field_name_270 {
 3417   struct hlist_node ioc_node ;
 3418   struct rcu_head __rcu_head ;
 3419};
 3420#line 75 "include/linux/iocontext.h"
 3421struct io_cq {
 3422   struct request_queue *q ;
 3423   struct io_context *ioc ;
 3424   union __anonunion____missing_field_name_269 __annonCompField47 ;
 3425   union __anonunion____missing_field_name_270 __annonCompField48 ;
 3426   unsigned int flags ;
 3427};
 3428#line 101 "include/linux/iocontext.h"
 3429struct io_context {
 3430   atomic_long_t refcount ;
 3431   atomic_t nr_tasks ;
 3432   spinlock_t lock ;
 3433   unsigned short ioprio ;
 3434   int nr_batch_requests ;
 3435   unsigned long last_waited ;
 3436   struct radix_tree_root icq_tree ;
 3437   struct io_cq *icq_hint ;
 3438   struct hlist_head icq_list ;
 3439   struct work_struct release_work ;
 3440};
 3441#line 170 "include/linux/bio.h"
 3442struct bio_integrity_payload {
 3443   struct bio *bip_bio ;
 3444   sector_t bip_sector ;
 3445   void *bip_buf ;
 3446   bio_end_io_t *bip_end_io ;
 3447   unsigned int bip_size ;
 3448   unsigned short bip_slab ;
 3449   unsigned short bip_vcnt ;
 3450   unsigned short bip_idx ;
 3451   struct work_struct bip_work ;
 3452   struct bio_vec bip_vec[0] ;
 3453};
 3454#line 374 "include/linux/bio.h"
 3455struct bio_list {
 3456   struct bio *head ;
 3457   struct bio *tail ;
 3458};
 3459#line 67 "include/linux/bsg.h"
 3460struct bsg_class_device {
 3461   struct device *class_dev ;
 3462   struct device *parent ;
 3463   int minor ;
 3464   struct request_queue *queue ;
 3465   struct kref ref ;
 3466   void (*release)(struct device * ) ;
 3467};
 3468#line 29 "include/linux/blkdev.h"
 3469struct elevator_queue;
 3470#line 32
 3471struct request;
 3472#line 34
 3473struct bsg_job;
 3474#line 40 "include/linux/blkdev.h"
 3475typedef void rq_end_io_fn(struct request * , int  );
 3476#line 42 "include/linux/blkdev.h"
 3477struct request_list {
 3478   int count[2] ;
 3479   int starved[2] ;
 3480   int elvpriv ;
 3481   mempool_t *rq_pool ;
 3482   wait_queue_head_t wait[2] ;
 3483};
 3484#line 57
 3485enum rq_cmd_type_bits {
 3486    REQ_TYPE_FS = 1,
 3487    REQ_TYPE_BLOCK_PC = 2,
 3488    REQ_TYPE_SENSE = 3,
 3489    REQ_TYPE_PM_SUSPEND = 4,
 3490    REQ_TYPE_PM_RESUME = 5,
 3491    REQ_TYPE_PM_SHUTDOWN = 6,
 3492    REQ_TYPE_SPECIAL = 7,
 3493    REQ_TYPE_ATA_TASKFILE = 8,
 3494    REQ_TYPE_ATA_PC = 9
 3495} ;
 3496#line 81 "include/linux/blkdev.h"
 3497union __anonunion____missing_field_name_273 {
 3498   struct rb_node rb_node ;
 3499   void *completion_data ;
 3500};
 3501#line 81 "include/linux/blkdev.h"
 3502struct __anonstruct_elv_275 {
 3503   struct io_cq *icq ;
 3504   void *priv[2] ;
 3505};
 3506#line 81 "include/linux/blkdev.h"
 3507struct __anonstruct_flush_276 {
 3508   unsigned int seq ;
 3509   struct list_head list ;
 3510   rq_end_io_fn *saved_end_io ;
 3511};
 3512#line 81 "include/linux/blkdev.h"
 3513union __anonunion____missing_field_name_274 {
 3514   struct __anonstruct_elv_275 elv ;
 3515   struct __anonstruct_flush_276 flush ;
 3516};
 3517#line 81 "include/linux/blkdev.h"
 3518struct request {
 3519   struct list_head queuelist ;
 3520   struct call_single_data csd ;
 3521   struct request_queue *q ;
 3522   unsigned int cmd_flags ;
 3523   enum rq_cmd_type_bits cmd_type ;
 3524   unsigned long atomic_flags ;
 3525   int cpu ;
 3526   unsigned int __data_len ;
 3527   sector_t __sector ;
 3528   struct bio *bio ;
 3529   struct bio *biotail ;
 3530   struct hlist_node hash ;
 3531   union __anonunion____missing_field_name_273 __annonCompField49 ;
 3532   union __anonunion____missing_field_name_274 __annonCompField50 ;
 3533   struct gendisk *rq_disk ;
 3534   struct hd_struct *part ;
 3535   unsigned long start_time ;
 3536   unsigned short nr_phys_segments ;
 3537   unsigned short nr_integrity_segments ;
 3538   unsigned short ioprio ;
 3539   int ref_count ;
 3540   void *special ;
 3541   char *buffer ;
 3542   int tag ;
 3543   int errors ;
 3544   unsigned char __cmd[16] ;
 3545   unsigned char *cmd ;
 3546   unsigned short cmd_len ;
 3547   unsigned int extra_len ;
 3548   unsigned int sense_len ;
 3549   unsigned int resid_len ;
 3550   void *sense ;
 3551   unsigned long deadline ;
 3552   struct list_head timeout_list ;
 3553   unsigned int timeout ;
 3554   int retries ;
 3555   rq_end_io_fn *end_io ;
 3556   void *end_io_data ;
 3557   struct request *next_rq ;
 3558};
 3559#line 10 "include/linux/elevator.h"
 3560typedef int elevator_merge_fn(struct request_queue * , struct request ** , struct bio * );
 3561#line 13 "include/linux/elevator.h"
 3562typedef void elevator_merge_req_fn(struct request_queue * , struct request * , struct request * );
 3563#line 15 "include/linux/elevator.h"
 3564typedef void elevator_merged_fn(struct request_queue * , struct request * , int  );
 3565#line 17 "include/linux/elevator.h"
 3566typedef int elevator_allow_merge_fn(struct request_queue * , struct request * , struct bio * );
 3567#line 19 "include/linux/elevator.h"
 3568typedef void elevator_bio_merged_fn(struct request_queue * , struct request * , struct bio * );
 3569#line 22 "include/linux/elevator.h"
 3570typedef int elevator_dispatch_fn(struct request_queue * , int  );
 3571#line 24 "include/linux/elevator.h"
 3572typedef void elevator_add_req_fn(struct request_queue * , struct request * );
 3573#line 25 "include/linux/elevator.h"
 3574typedef struct request *elevator_request_list_fn(struct request_queue * , struct request * );
 3575#line 26 "include/linux/elevator.h"
 3576typedef void elevator_completed_req_fn(struct request_queue * , struct request * );
 3577#line 27 "include/linux/elevator.h"
 3578typedef int elevator_may_queue_fn(struct request_queue * , int  );
 3579#line 29 "include/linux/elevator.h"
 3580typedef void elevator_init_icq_fn(struct io_cq * );
 3581#line 30 "include/linux/elevator.h"
 3582typedef void elevator_exit_icq_fn(struct io_cq * );
 3583#line 31 "include/linux/elevator.h"
 3584typedef int elevator_set_req_fn(struct request_queue * , struct request * , gfp_t  );
 3585#line 32 "include/linux/elevator.h"
 3586typedef void elevator_put_req_fn(struct request * );
 3587#line 33 "include/linux/elevator.h"
 3588typedef void elevator_activate_req_fn(struct request_queue * , struct request * );
 3589#line 34 "include/linux/elevator.h"
 3590typedef void elevator_deactivate_req_fn(struct request_queue * , struct request * );
 3591#line 36 "include/linux/elevator.h"
 3592typedef void *elevator_init_fn(struct request_queue * );
 3593#line 37 "include/linux/elevator.h"
 3594typedef void elevator_exit_fn(struct elevator_queue * );
 3595#line 39 "include/linux/elevator.h"
 3596struct elevator_ops {
 3597   elevator_merge_fn *elevator_merge_fn ;
 3598   elevator_merged_fn *elevator_merged_fn ;
 3599   elevator_merge_req_fn *elevator_merge_req_fn ;
 3600   elevator_allow_merge_fn *elevator_allow_merge_fn ;
 3601   elevator_bio_merged_fn *elevator_bio_merged_fn ;
 3602   elevator_dispatch_fn *elevator_dispatch_fn ;
 3603   elevator_add_req_fn *elevator_add_req_fn ;
 3604   elevator_activate_req_fn *elevator_activate_req_fn ;
 3605   elevator_deactivate_req_fn *elevator_deactivate_req_fn ;
 3606   elevator_completed_req_fn *elevator_completed_req_fn ;
 3607   elevator_request_list_fn *elevator_former_req_fn ;
 3608   elevator_request_list_fn *elevator_latter_req_fn ;
 3609   elevator_init_icq_fn *elevator_init_icq_fn ;
 3610   elevator_exit_icq_fn *elevator_exit_icq_fn ;
 3611   elevator_set_req_fn *elevator_set_req_fn ;
 3612   elevator_put_req_fn *elevator_put_req_fn ;
 3613   elevator_may_queue_fn *elevator_may_queue_fn ;
 3614   elevator_init_fn *elevator_init_fn ;
 3615   elevator_exit_fn *elevator_exit_fn ;
 3616};
 3617#line 71 "include/linux/elevator.h"
 3618struct elv_fs_entry {
 3619   struct attribute attr ;
 3620   ssize_t (*show)(struct elevator_queue * , char * ) ;
 3621   ssize_t (*store)(struct elevator_queue * , char    * , size_t  ) ;
 3622};
 3623#line 80 "include/linux/elevator.h"
 3624struct elevator_type {
 3625   struct kmem_cache *icq_cache ;
 3626   struct elevator_ops ops ;
 3627   size_t icq_size ;
 3628   size_t icq_align ;
 3629   struct elv_fs_entry *elevator_attrs ;
 3630   char elevator_name[16] ;
 3631   struct module *elevator_owner ;
 3632   char icq_cache_name[21] ;
 3633   struct list_head list ;
 3634};
 3635#line 101 "include/linux/elevator.h"
 3636struct elevator_queue {
 3637   struct elevator_type *type ;
 3638   void *elevator_data ;
 3639   struct kobject kobj ;
 3640   struct mutex sysfs_lock ;
 3641   struct hlist_head *hash ;
 3642   unsigned int registered : 1 ;
 3643};
 3644#line 202 "include/linux/blkdev.h"
 3645typedef void request_fn_proc(struct request_queue *q );
 3646#line 203 "include/linux/blkdev.h"
 3647typedef void make_request_fn(struct request_queue *q , struct bio *bio );
 3648#line 204 "include/linux/blkdev.h"
 3649typedef int prep_rq_fn(struct request_queue * , struct request * );
 3650#line 205 "include/linux/blkdev.h"
 3651typedef void unprep_rq_fn(struct request_queue * , struct request * );
 3652#line 208 "include/linux/blkdev.h"
 3653struct bvec_merge_data {
 3654   struct block_device *bi_bdev ;
 3655   sector_t bi_sector ;
 3656   unsigned int bi_size ;
 3657   unsigned long bi_rw ;
 3658};
 3659#line 214 "include/linux/blkdev.h"
 3660typedef int merge_bvec_fn(struct request_queue * , struct bvec_merge_data * , struct bio_vec * );
 3661#line 216 "include/linux/blkdev.h"
 3662typedef void softirq_done_fn(struct request * );
 3663#line 217 "include/linux/blkdev.h"
 3664typedef int dma_drain_needed_fn(struct request * );
 3665#line 218 "include/linux/blkdev.h"
 3666typedef int lld_busy_fn(struct request_queue *q );
 3667#line 219 "include/linux/blkdev.h"
 3668typedef int bsg_job_fn(struct bsg_job * );
 3669#line 221
 3670enum blk_eh_timer_return {
 3671    BLK_EH_NOT_HANDLED = 0,
 3672    BLK_EH_HANDLED = 1,
 3673    BLK_EH_RESET_TIMER = 2
 3674} ;
 3675#line 227 "include/linux/blkdev.h"
 3676typedef enum blk_eh_timer_return rq_timed_out_fn(struct request * );
 3677#line 234 "include/linux/blkdev.h"
 3678struct blk_queue_tag {
 3679   struct request **tag_index ;
 3680   unsigned long *tag_map ;
 3681   int busy ;
 3682   int max_depth ;
 3683   int real_max_depth ;
 3684   atomic_t refcnt ;
 3685};
 3686#line 246 "include/linux/blkdev.h"
 3687struct queue_limits {
 3688   unsigned long bounce_pfn ;
 3689   unsigned long seg_boundary_mask ;
 3690   unsigned int max_hw_sectors ;
 3691   unsigned int max_sectors ;
 3692   unsigned int max_segment_size ;
 3693   unsigned int physical_block_size ;
 3694   unsigned int alignment_offset ;
 3695   unsigned int io_min ;
 3696   unsigned int io_opt ;
 3697   unsigned int max_discard_sectors ;
 3698   unsigned int discard_granularity ;
 3699   unsigned int discard_alignment ;
 3700   unsigned short logical_block_size ;
 3701   unsigned short max_segments ;
 3702   unsigned short max_integrity_segments ;
 3703   unsigned char misaligned ;
 3704   unsigned char discard_misaligned ;
 3705   unsigned char cluster ;
 3706   unsigned char discard_zeroes_data ;
 3707};
 3708#line 271 "include/linux/blkdev.h"
 3709struct request_queue {
 3710   struct list_head queue_head ;
 3711   struct request *last_merge ;
 3712   struct elevator_queue *elevator ;
 3713   struct request_list rq ;
 3714   request_fn_proc *request_fn ;
 3715   make_request_fn *make_request_fn ;
 3716   prep_rq_fn *prep_rq_fn ;
 3717   unprep_rq_fn *unprep_rq_fn ;
 3718   merge_bvec_fn *merge_bvec_fn ;
 3719   softirq_done_fn *softirq_done_fn ;
 3720   rq_timed_out_fn *rq_timed_out_fn ;
 3721   dma_drain_needed_fn *dma_drain_needed ;
 3722   lld_busy_fn *lld_busy_fn ;
 3723   sector_t end_sector ;
 3724   struct request *boundary_rq ;
 3725   struct delayed_work delay_work ;
 3726   struct backing_dev_info backing_dev_info ;
 3727   void *queuedata ;
 3728   unsigned long queue_flags ;
 3729   int id ;
 3730   gfp_t bounce_gfp ;
 3731   spinlock_t __queue_lock ;
 3732   spinlock_t *queue_lock ;
 3733   struct kobject kobj ;
 3734   unsigned long nr_requests ;
 3735   unsigned int nr_congestion_on ;
 3736   unsigned int nr_congestion_off ;
 3737   unsigned int nr_batching ;
 3738   unsigned int dma_drain_size ;
 3739   void *dma_drain_buffer ;
 3740   unsigned int dma_pad_mask ;
 3741   unsigned int dma_alignment ;
 3742   struct blk_queue_tag *queue_tags ;
 3743   struct list_head tag_busy_list ;
 3744   unsigned int nr_sorted ;
 3745   unsigned int in_flight[2] ;
 3746   unsigned int rq_timeout ;
 3747   struct timer_list timeout ;
 3748   struct list_head timeout_list ;
 3749   struct list_head icq_list ;
 3750   struct queue_limits limits ;
 3751   unsigned int sg_timeout ;
 3752   unsigned int sg_reserved_size ;
 3753   int node ;
 3754   unsigned int flush_flags ;
 3755   unsigned int flush_not_queueable : 1 ;
 3756   unsigned int flush_queue_delayed : 1 ;
 3757   unsigned int flush_pending_idx : 1 ;
 3758   unsigned int flush_running_idx : 1 ;
 3759   unsigned long flush_pending_since ;
 3760   struct list_head flush_queue[2] ;
 3761   struct list_head flush_data_in_flight ;
 3762   struct request flush_rq ;
 3763   struct mutex sysfs_lock ;
 3764   bsg_job_fn *bsg_job_fn ;
 3765   int bsg_job_size ;
 3766   struct bsg_class_device bsg_dev ;
 3767};
 3768#line 889 "include/linux/blkdev.h"
 3769struct blk_plug {
 3770   unsigned long magic ;
 3771   struct list_head list ;
 3772   struct list_head cb_list ;
 3773   unsigned int should_sort ;
 3774};
 3775#line 1220 "include/linux/blkdev.h"
 3776struct blk_integrity_exchg {
 3777   void *prot_buf ;
 3778   void *data_buf ;
 3779   sector_t sector ;
 3780   unsigned int data_size ;
 3781   unsigned short sector_size ;
 3782   char    *disk_name ;
 3783};
 3784#line 1229 "include/linux/blkdev.h"
 3785typedef void integrity_gen_fn(struct blk_integrity_exchg * );
 3786#line 1230 "include/linux/blkdev.h"
 3787typedef int integrity_vrfy_fn(struct blk_integrity_exchg * );
 3788#line 1231 "include/linux/blkdev.h"
 3789typedef void integrity_set_tag_fn(void * , void * , unsigned int  );
 3790#line 1232 "include/linux/blkdev.h"
 3791typedef void integrity_get_tag_fn(void * , void * , unsigned int  );
 3792#line 1234 "include/linux/blkdev.h"
 3793struct blk_integrity {
 3794   integrity_gen_fn *generate_fn ;
 3795   integrity_vrfy_fn *verify_fn ;
 3796   integrity_set_tag_fn *set_tag_fn ;
 3797   integrity_get_tag_fn *get_tag_fn ;
 3798   unsigned short flags ;
 3799   unsigned short tuple_size ;
 3800   unsigned short sector_size ;
 3801   unsigned short tag_size ;
 3802   char    *name ;
 3803   struct kobject kobj ;
 3804};
 3805#line 1362 "include/linux/blkdev.h"
 3806struct block_device_operations {
 3807   int (*open)(struct block_device * , fmode_t  ) ;
 3808   int (*release)(struct gendisk * , fmode_t  ) ;
 3809   int (*ioctl)(struct block_device * , fmode_t  , unsigned int  , unsigned long  ) ;
 3810   int (*compat_ioctl)(struct block_device * , fmode_t  , unsigned int  , unsigned long  ) ;
 3811   int (*direct_access)(struct block_device * , sector_t  , void ** , unsigned long * ) ;
 3812   unsigned int (*check_events)(struct gendisk *disk , unsigned int clearing ) ;
 3813   int (*media_changed)(struct gendisk * ) ;
 3814   void (*unlock_native_capacity)(struct gendisk * ) ;
 3815   int (*revalidate_disk)(struct gendisk * ) ;
 3816   int (*getgeo)(struct block_device * , struct hd_geometry * ) ;
 3817   void (*swap_slot_free_notify)(struct block_device * , unsigned long  ) ;
 3818   struct module *owner ;
 3819};
 3820#line 14 "include/scsi/scsi.h"
 3821struct scsi_cmnd;
 3822#line 357 "include/scsi/scsi.h"
 3823struct scsi_lun {
 3824   __u8 scsi_lun[8] ;
 3825};
 3826#line 16 "include/scsi/scsi_host.h"
 3827struct scsi_device;
 3828#line 17
 3829struct scsi_target;
 3830#line 18
 3831struct Scsi_Host;
 3832#line 19
 3833struct scsi_host_cmd_pool;
 3834#line 20
 3835struct scsi_transport_template;
 3836#line 52 "include/scsi/scsi_host.h"
 3837struct scsi_host_template {
 3838   struct module *module ;
 3839   char    *name ;
 3840   int (*detect)(struct scsi_host_template * ) ;
 3841   int (*release)(struct Scsi_Host * ) ;
 3842   char    *(*info)(struct Scsi_Host * ) ;
 3843   int (*ioctl)(struct scsi_device *dev , int cmd , void *arg ) ;
 3844   int (*compat_ioctl)(struct scsi_device *dev , int cmd , void *arg ) ;
 3845   int (*queuecommand)(struct Scsi_Host * , struct scsi_cmnd * ) ;
 3846   int (*transfer_response)(struct scsi_cmnd * , void (*done)(struct scsi_cmnd * ) ) ;
 3847   int (*eh_abort_handler)(struct scsi_cmnd * ) ;
 3848   int (*eh_device_reset_handler)(struct scsi_cmnd * ) ;
 3849   int (*eh_target_reset_handler)(struct scsi_cmnd * ) ;
 3850   int (*eh_bus_reset_handler)(struct scsi_cmnd * ) ;
 3851   int (*eh_host_reset_handler)(struct scsi_cmnd * ) ;
 3852   int (*slave_alloc)(struct scsi_device * ) ;
 3853   int (*slave_configure)(struct scsi_device * ) ;
 3854   void (*slave_destroy)(struct scsi_device * ) ;
 3855   int (*target_alloc)(struct scsi_target * ) ;
 3856   void (*target_destroy)(struct scsi_target * ) ;
 3857   int (*scan_finished)(struct Scsi_Host * , unsigned long  ) ;
 3858   void (*scan_start)(struct Scsi_Host * ) ;
 3859   int (*change_queue_depth)(struct scsi_device * , int  , int  ) ;
 3860   int (*change_queue_type)(struct scsi_device * , int  ) ;
 3861   int (*bios_param)(struct scsi_device * , struct block_device * , sector_t  , int * ) ;
 3862   void (*unlock_native_capacity)(struct scsi_device * ) ;
 3863   int (*proc_info)(struct Scsi_Host * , char * , char ** , off_t  , int  , int  ) ;
 3864   enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd * ) ;
 3865   int (*host_reset)(struct Scsi_Host *shost , int reset_type ) ;
 3866   char    *proc_name ;
 3867   struct proc_dir_entry *proc_dir ;
 3868   int can_queue ;
 3869   int this_id ;
 3870   unsigned short sg_tablesize ;
 3871   unsigned short sg_prot_tablesize ;
 3872   unsigned short max_sectors ;
 3873   unsigned long dma_boundary ;
 3874   short cmd_per_lun ;
 3875   unsigned char present ;
 3876   unsigned int supported_mode : 2 ;
 3877   unsigned int unchecked_isa_dma : 1 ;
 3878   unsigned int use_clustering : 1 ;
 3879   unsigned int emulated : 1 ;
 3880   unsigned int skip_settle_delay : 1 ;
 3881   unsigned int ordered_tag : 1 ;
 3882   unsigned int max_host_blocked ;
 3883   struct device_attribute **shost_attrs ;
 3884   struct device_attribute **sdev_attrs ;
 3885   struct list_head legacy_hosts ;
 3886   u64 vendor_id ;
 3887};
 3888#line 543
 3889enum scsi_host_state {
 3890    SHOST_CREATED = 1,
 3891    SHOST_RUNNING = 2,
 3892    SHOST_CANCEL = 3,
 3893    SHOST_DEL = 4,
 3894    SHOST_RECOVERY = 5,
 3895    SHOST_CANCEL_RECOVERY = 6,
 3896    SHOST_DEL_RECOVERY = 7
 3897} ;
 3898#line 553 "include/scsi/scsi_host.h"
 3899struct Scsi_Host {
 3900   struct list_head __devices ;
 3901   struct list_head __targets ;
 3902   struct scsi_host_cmd_pool *cmd_pool ;
 3903   spinlock_t free_list_lock ;
 3904   struct list_head free_list ;
 3905   struct list_head starved_list ;
 3906   spinlock_t default_lock ;
 3907   spinlock_t *host_lock ;
 3908   struct mutex scan_mutex ;
 3909   struct list_head eh_cmd_q ;
 3910   struct task_struct *ehandler ;
 3911   struct completion *eh_action ;
 3912   wait_queue_head_t host_wait ;
 3913   struct scsi_host_template *hostt ;
 3914   struct scsi_transport_template *transportt ;
 3915   struct blk_queue_tag *bqt ;
 3916   unsigned int host_busy ;
 3917   unsigned int host_failed ;
 3918   unsigned int host_eh_scheduled ;
 3919   unsigned int host_no ;
 3920   int resetting ;
 3921   unsigned long last_reset ;
 3922   unsigned int max_id ;
 3923   unsigned int max_lun ;
 3924   unsigned int max_channel ;
 3925   unsigned int unique_id ;
 3926   unsigned short max_cmd_len ;
 3927   int this_id ;
 3928   int can_queue ;
 3929   short cmd_per_lun ;
 3930   unsigned short sg_tablesize ;
 3931   unsigned short sg_prot_tablesize ;
 3932   unsigned short max_sectors ;
 3933   unsigned long dma_boundary ;
 3934   unsigned long cmd_serial_number ;
 3935   unsigned int active_mode : 2 ;
 3936   unsigned int unchecked_isa_dma : 1 ;
 3937   unsigned int use_clustering : 1 ;
 3938   unsigned int use_blk_tcq : 1 ;
 3939   unsigned int host_self_blocked : 1 ;
 3940   unsigned int reverse_ordering : 1 ;
 3941   unsigned int ordered_tag : 1 ;
 3942   unsigned int tmf_in_progress : 1 ;
 3943   unsigned int async_scan : 1 ;
 3944   unsigned int eh_noresume : 1 ;
 3945   char work_q_name[20] ;
 3946   struct workqueue_struct *work_q ;
 3947   unsigned int host_blocked ;
 3948   unsigned int max_host_blocked ;
 3949   unsigned int prot_capabilities ;
 3950   unsigned char prot_guard_type ;
 3951   struct request_queue *uspace_req_q ;
 3952   unsigned long base ;
 3953   unsigned long io_port ;
 3954   unsigned char n_io_port ;
 3955   unsigned char dma_channel ;
 3956   unsigned int irq ;
 3957   enum scsi_host_state shost_state ;
 3958   struct device shost_gendev ;
 3959   struct device shost_dev ;
 3960   struct list_head sht_legacy_list ;
 3961   void *shost_data ;
 3962   struct device *dma_dev ;
 3963   unsigned long hostdata[0]  __attribute__((__aligned__(sizeof(unsigned long )))) ;
 3964};
 3965#line 15 "include/scsi/scsi_device.h"
 3966struct scsi_sense_hdr;
 3967#line 31
 3968enum scsi_device_state {
 3969    SDEV_CREATED = 1,
 3970    SDEV_RUNNING = 2,
 3971    SDEV_CANCEL = 3,
 3972    SDEV_DEL = 4,
 3973    SDEV_QUIESCE = 5,
 3974    SDEV_OFFLINE = 6,
 3975    SDEV_BLOCK = 7,
 3976    SDEV_CREATED_BLOCK = 8
 3977} ;
 3978#line 68
 3979struct scsi_dh_data;
 3980#line 68 "include/scsi/scsi_device.h"
 3981struct scsi_device {
 3982   struct Scsi_Host *host ;
 3983   struct request_queue *request_queue ;
 3984   struct list_head siblings ;
 3985   struct list_head same_target_siblings ;
 3986   unsigned int device_busy ;
 3987   spinlock_t list_lock ;
 3988   struct list_head cmd_list ;
 3989   struct list_head starved_entry ;
 3990   struct scsi_cmnd *current_cmnd ;
 3991   unsigned short queue_depth ;
 3992   unsigned short max_queue_depth ;
 3993   unsigned short last_queue_full_depth ;
 3994   unsigned short last_queue_full_count ;
 3995   unsigned long last_queue_full_time ;
 3996   unsigned long queue_ramp_up_period ;
 3997   unsigned long last_queue_ramp_up ;
 3998   unsigned int id ;
 3999   unsigned int lun ;
 4000   unsigned int channel ;
 4001   unsigned int manufacturer ;
 4002   unsigned int sector_size ;
 4003   void *hostdata ;
 4004   char type ;
 4005   char scsi_level ;
 4006   char inq_periph_qual ;
 4007   unsigned char inquiry_len ;
 4008   unsigned char *inquiry ;
 4009   char    *vendor ;
 4010   char    *model ;
 4011   char    *rev ;
 4012   unsigned char current_tag ;
 4013   struct scsi_target *sdev_target ;
 4014   unsigned int sdev_bflags ;
 4015   unsigned int writeable : 1 ;
 4016   unsigned int removable : 1 ;
 4017   unsigned int changed : 1 ;
 4018   unsigned int busy : 1 ;
 4019   unsigned int lockable : 1 ;
 4020   unsigned int locked : 1 ;
 4021   unsigned int borken : 1 ;
 4022   unsigned int disconnect : 1 ;
 4023   unsigned int soft_reset : 1 ;
 4024   unsigned int sdtr : 1 ;
 4025   unsigned int wdtr : 1 ;
 4026   unsigned int ppr : 1 ;
 4027   unsigned int tagged_supported : 1 ;
 4028   unsigned int simple_tags : 1 ;
 4029   unsigned int ordered_tags : 1 ;
 4030   unsigned int was_reset : 1 ;
 4031   unsigned int expecting_cc_ua : 1 ;
 4032   unsigned int use_10_for_rw : 1 ;
 4033   unsigned int use_10_for_ms : 1 ;
 4034   unsigned int skip_ms_page_8 : 1 ;
 4035   unsigned int skip_ms_page_3f : 1 ;
 4036   unsigned int skip_vpd_pages : 1 ;
 4037   unsigned int use_192_bytes_for_3f : 1 ;
 4038   unsigned int no_start_on_add : 1 ;
 4039   unsigned int allow_restart : 1 ;
 4040   unsigned int manage_start_stop : 1 ;
 4041   unsigned int start_stop_pwr_cond : 1 ;
 4042   unsigned int no_uld_attach : 1 ;
 4043   unsigned int select_no_atn : 1 ;
 4044   unsigned int fix_capacity : 1 ;
 4045   unsigned int guess_capacity : 1 ;
 4046   unsigned int retry_hwerror : 1 ;
 4047   unsigned int last_sector_bug : 1 ;
 4048   unsigned int no_read_disc_info : 1 ;
 4049   unsigned int no_read_capacity_16 : 1 ;
 4050   unsigned int is_visible : 1 ;
 4051   unsigned long supported_events[((2UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
 4052   struct list_head event_list ;
 4053   struct work_struct event_work ;
 4054   unsigned int device_blocked ;
 4055   unsigned int max_device_blocked ;
 4056   atomic_t iorequest_cnt ;
 4057   atomic_t iodone_cnt ;
 4058   atomic_t ioerr_cnt ;
 4059   struct device sdev_gendev ;
 4060   struct device sdev_dev ;
 4061   struct execute_work ew ;
 4062   struct work_struct requeue_work ;
 4063   struct scsi_dh_data *scsi_dh_data ;
 4064   enum scsi_device_state sdev_state ;
 4065   unsigned long sdev_data[0] ;
 4066} __attribute__((__aligned__(sizeof(unsigned long )))) ;
 4067#line 180 "include/scsi/scsi_device.h"
 4068struct scsi_dh_devlist {
 4069   char *vendor ;
 4070   char *model ;
 4071};
 4072#line 186 "include/scsi/scsi_device.h"
 4073struct scsi_device_handler {
 4074   struct list_head list ;
 4075   struct module *module ;
 4076   char    *name ;
 4077   struct scsi_dh_devlist    *devlist ;
 4078   int (*check_sense)(struct scsi_device * , struct scsi_sense_hdr * ) ;
 4079   int (*attach)(struct scsi_device * ) ;
 4080   void (*detach)(struct scsi_device * ) ;
 4081   int (*activate)(struct scsi_device * , void (*)(void * , int  ) , void * ) ;
 4082   int (*prep_fn)(struct scsi_device * , struct request * ) ;
 4083   int (*set_params)(struct scsi_device * , char    * ) ;
 4084   bool (*match)(struct scsi_device * ) ;
 4085};
 4086#line 203 "include/scsi/scsi_device.h"
 4087struct scsi_dh_data {
 4088   struct scsi_device_handler *scsi_dh ;
 4089   struct scsi_device *sdev ;
 4090   struct kref kref ;
 4091   char buf[0] ;
 4092};
 4093#line 226
 4094enum scsi_target_state {
 4095    STARGET_CREATED = 1,
 4096    STARGET_RUNNING = 2,
 4097    STARGET_DEL = 3
 4098} ;
 4099#line 237 "include/scsi/scsi_device.h"
 4100struct scsi_target {
 4101   struct scsi_device *starget_sdev_user ;
 4102   struct list_head siblings ;
 4103   struct list_head devices ;
 4104   struct device dev ;
 4105   unsigned int reap_ref ;
 4106   unsigned int channel ;
 4107   unsigned int id ;
 4108   unsigned int create : 1 ;
 4109   unsigned int single_lun : 1 ;
 4110   unsigned int pdt_1f_for_no_lun : 1 ;
 4111   unsigned int no_report_luns : 1 ;
 4112   unsigned int target_busy ;
 4113   unsigned int can_queue ;
 4114   unsigned int target_blocked ;
 4115   unsigned int max_target_blocked ;
 4116   char scsi_level ;
 4117   struct execute_work ew ;
 4118   enum scsi_target_state state ;
 4119   void *hostdata ;
 4120   unsigned long starget_data[0] ;
 4121} __attribute__((__aligned__(sizeof(unsigned long )))) ;
 4122#line 29 "include/scsi/scsi_transport.h"
 4123struct scsi_transport_template {
 4124   struct transport_container host_attrs ;
 4125   struct transport_container target_attrs ;
 4126   struct transport_container device_attrs ;
 4127   int (*user_scan)(struct Scsi_Host * , uint  , uint  , uint  ) ;
 4128   int device_size ;
 4129   int device_private_offset ;
 4130   int target_size ;
 4131   int target_private_offset ;
 4132   int host_size ;
 4133   unsigned int create_work_queue : 1 ;
 4134   void (*eh_strategy_handler)(struct Scsi_Host * ) ;
 4135   enum blk_eh_timer_return (*eh_timed_out)(struct scsi_cmnd * ) ;
 4136   int (*it_nexus_response)(struct Scsi_Host * , u64  , int  ) ;
 4137   int (*tsk_mgmt_response)(struct Scsi_Host * , u64  , u64  , int  ) ;
 4138};
 4139#line 68 "include/linux/net.h"
 4140struct net;
 4141#line 109 "include/net/checksum.h"
 4142struct sk_buff;
 4143#line 37 "include/linux/dmaengine.h"
 4144typedef s32 dma_cookie_t;
 4145#line 27 "include/linux/dma-attrs.h"
 4146struct dma_attrs {
 4147   unsigned long flags[((4UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
 4148};
 4149#line 7 "include/linux/dma-direction.h"
 4150enum dma_data_direction {
 4151    DMA_BIDIRECTIONAL = 0,
 4152    DMA_TO_DEVICE = 1,
 4153    DMA_FROM_DEVICE = 2,
 4154    DMA_NONE = 3
 4155} ;
 4156#line 11 "include/linux/dma-mapping.h"
 4157struct dma_map_ops {
 4158   void *(*alloc)(struct device *dev , size_t size , dma_addr_t *dma_handle , gfp_t gfp ,
 4159                  struct dma_attrs *attrs ) ;
 4160   void (*free)(struct device *dev , size_t size , void *vaddr , dma_addr_t dma_handle ,
 4161                struct dma_attrs *attrs ) ;
 4162   int (*mmap)(struct device * , struct vm_area_struct * , void * , dma_addr_t  ,
 4163               size_t  , struct dma_attrs *attrs ) ;
 4164   dma_addr_t (*map_page)(struct device *dev , struct page *page , unsigned long offset ,
 4165                          size_t size , enum dma_data_direction dir , struct dma_attrs *attrs ) ;
 4166   void (*unmap_page)(struct device *dev , dma_addr_t dma_handle , size_t size , enum dma_data_direction dir ,
 4167                      struct dma_attrs *attrs ) ;
 4168   int (*map_sg)(struct device *dev , struct scatterlist *sg , int nents , enum dma_data_direction dir ,
 4169                 struct dma_attrs *attrs ) ;
 4170   void (*unmap_sg)(struct device *dev , struct scatterlist *sg , int nents , enum dma_data_direction dir ,
 4171                    struct dma_attrs *attrs ) ;
 4172   void (*sync_single_for_cpu)(struct device *dev , dma_addr_t dma_handle , size_t size ,
 4173                               enum dma_data_direction dir ) ;
 4174   void (*sync_single_for_device)(struct device *dev , dma_addr_t dma_handle , size_t size ,
 4175                                  enum dma_data_direction dir ) ;
 4176   void (*sync_sg_for_cpu)(struct device *dev , struct scatterlist *sg , int nents ,
 4177                           enum dma_data_direction dir ) ;
 4178   void (*sync_sg_for_device)(struct device *dev , struct scatterlist *sg , int nents ,
 4179                              enum dma_data_direction dir ) ;
 4180   int (*mapping_error)(struct device *dev , dma_addr_t dma_addr ) ;
 4181   int (*dma_supported)(struct device *dev , u64 mask ) ;
 4182   int (*set_dma_mask)(struct device *dev , u64 mask ) ;
 4183   int is_phys ;
 4184};
 4185#line 113 "include/linux/skbuff.h"
 4186struct nf_conntrack {
 4187   atomic_t use ;
 4188};
 4189#line 119 "include/linux/skbuff.h"
 4190struct nf_bridge_info {
 4191   atomic_t use ;
 4192   struct net_device *physindev ;
 4193   struct net_device *physoutdev ;
 4194   unsigned int mask ;
 4195   unsigned long data[32UL / sizeof(unsigned long )] ;
 4196};
 4197#line 318 "include/linux/skbuff.h"
 4198typedef unsigned int sk_buff_data_t;
 4199#line 391
 4200struct sec_path;
 4201#line 391 "include/linux/skbuff.h"
 4202struct __anonstruct____missing_field_name_290 {
 4203   __u16 csum_start ;
 4204   __u16 csum_offset ;
 4205};
 4206#line 391 "include/linux/skbuff.h"
 4207union __anonunion____missing_field_name_289 {
 4208   __wsum csum ;
 4209   struct __anonstruct____missing_field_name_290 __annonCompField51 ;
 4210};
 4211#line 391 "include/linux/skbuff.h"
 4212union __anonunion____missing_field_name_291 {
 4213   __u32 mark ;
 4214   __u32 dropcount ;
 4215   __u32 avail_size ;
 4216};
 4217#line 391 "include/linux/skbuff.h"
 4218struct sk_buff {
 4219   struct sk_buff *next ;
 4220   struct sk_buff *prev ;
 4221   ktime_t tstamp ;
 4222   struct sock *sk ;
 4223   struct net_device *dev ;
 4224   char cb[48]  __attribute__((__aligned__(8))) ;
 4225   unsigned long _skb_refdst ;
 4226   struct sec_path *sp ;
 4227   unsigned int len ;
 4228   unsigned int data_len ;
 4229   __u16 mac_len ;
 4230   __u16 hdr_len ;
 4231   union __anonunion____missing_field_name_289 __annonCompField52 ;
 4232   __u32 priority ;
 4233   __u8 local_df : 1 ;
 4234   __u8 cloned : 1 ;
 4235   __u8 ip_summed : 2 ;
 4236   __u8 nohdr : 1 ;
 4237   __u8 nfctinfo : 3 ;
 4238   __u8 pkt_type : 3 ;
 4239   __u8 fclone : 2 ;
 4240   __u8 ipvs_property : 1 ;
 4241   __u8 peeked : 1 ;
 4242   __u8 nf_trace : 1 ;
 4243   __be16 protocol ;
 4244   void (*destructor)(struct sk_buff *skb ) ;
 4245   struct nf_conntrack *nfct ;
 4246   struct sk_buff *nfct_reasm ;
 4247   struct nf_bridge_info *nf_bridge ;
 4248   int skb_iif ;
 4249   __u32 rxhash ;
 4250   __u16 vlan_tci ;
 4251   __u16 tc_index ;
 4252   __u16 tc_verd ;
 4253   __u16 queue_mapping ;
 4254   __u8 ndisc_nodetype : 2 ;
 4255   __u8 ooo_okay : 1 ;
 4256   __u8 l4_rxhash : 1 ;
 4257   __u8 wifi_acked_valid : 1 ;
 4258   __u8 wifi_acked : 1 ;
 4259   __u8 no_fcs : 1 ;
 4260   dma_cookie_t dma_cookie ;
 4261   __u32 secmark ;
 4262   union __anonunion____missing_field_name_291 __annonCompField53 ;
 4263   sk_buff_data_t transport_header ;
 4264   sk_buff_data_t network_header ;
 4265   sk_buff_data_t mac_header ;
 4266   sk_buff_data_t tail ;
 4267   sk_buff_data_t end ;
 4268   unsigned char *head ;
 4269   unsigned char *data ;
 4270   unsigned int truesize ;
 4271   atomic_t users ;
 4272};
 4273#line 56 "include/scsi/scsi_transport_fc.h"
 4274enum fc_port_type {
 4275    FC_PORTTYPE_UNKNOWN = 0,
 4276    FC_PORTTYPE_OTHER = 1,
 4277    FC_PORTTYPE_NOTPRESENT = 2,
 4278    FC_PORTTYPE_NPORT = 3,
 4279    FC_PORTTYPE_NLPORT = 4,
 4280    FC_PORTTYPE_LPORT = 5,
 4281    FC_PORTTYPE_PTP = 6,
 4282    FC_PORTTYPE_NPIV = 7
 4283} ;
 4284#line 72
 4285enum fc_port_state {
 4286    FC_PORTSTATE_UNKNOWN = 0,
 4287    FC_PORTSTATE_NOTPRESENT = 1,
 4288    FC_PORTSTATE_ONLINE = 2,
 4289    FC_PORTSTATE_OFFLINE = 3,
 4290    FC_PORTSTATE_BLOCKED = 4,
 4291    FC_PORTSTATE_BYPASSED = 5,
 4292    FC_PORTSTATE_DIAGNOSTICS = 6,
 4293    FC_PORTSTATE_LINKDOWN = 7,
 4294    FC_PORTSTATE_ERROR = 8,
 4295    FC_PORTSTATE_LOOPBACK = 9,
 4296    FC_PORTSTATE_DELETED = 10
 4297} ;
 4298#line 91
 4299enum fc_vport_state {
 4300    FC_VPORT_UNKNOWN = 0,
 4301    FC_VPORT_ACTIVE = 1,
 4302    FC_VPORT_DISABLED = 2,
 4303    FC_VPORT_LINKDOWN = 3,
 4304    FC_VPORT_INITIALIZING = 4,
 4305    FC_VPORT_NO_FABRIC_SUPP = 5,
 4306    FC_VPORT_NO_FABRIC_RSCS = 6,
 4307    FC_VPORT_FABRIC_LOGOUT = 7,
 4308    FC_VPORT_FABRIC_REJ_WWN = 8,
 4309    FC_VPORT_FAILED = 9
 4310} ;
 4311#line 219 "include/scsi/scsi_transport_fc.h"
 4312struct fc_vport {
 4313   enum fc_vport_state vport_state ;
 4314   enum fc_vport_state vport_last_state ;
 4315   u64 node_name ;
 4316   u64 port_name ;
 4317   u32 roles ;
 4318   u32 vport_id ;
 4319   enum fc_port_type vport_type ;
 4320   char symbolic_name[64] ;
 4321   void *dd_data ;
 4322   struct Scsi_Host *shost ;
 4323   unsigned int channel ;
 4324   u32 number ;
 4325   u8 flags ;
 4326   struct list_head peers ;
 4327   struct device dev ;
 4328   struct work_struct vport_delete_work ;
 4329} __attribute__((__aligned__(sizeof(unsigned long )))) ;
 4330#line 282 "include/scsi/scsi_transport_fc.h"
 4331struct fc_rport_identifiers {
 4332   u64 node_name ;
 4333   u64 port_name ;
 4334   u32 port_id ;
 4335   u32 roles ;
 4336};
 4337#line 323 "include/scsi/scsi_transport_fc.h"
 4338struct fc_rport {
 4339   u32 maxframe_size ;
 4340   u32 supported_classes ;
 4341   u32 dev_loss_tmo ;
 4342   u64 node_name ;
 4343   u64 port_name ;
 4344   u32 port_id ;
 4345   u32 roles ;
 4346   enum fc_port_state port_state ;
 4347   u32 scsi_target_id ;
 4348   u32 fast_io_fail_tmo ;
 4349   void *dd_data ;
 4350   unsigned int channel ;
 4351   u32 number ;
 4352   u8 flags ;
 4353   struct list_head peers ;
 4354   struct device dev ;
 4355   struct delayed_work dev_loss_work ;
 4356   struct work_struct scan_work ;
 4357   struct delayed_work fail_io_work ;
 4358   struct work_struct stgt_delete_work ;
 4359   struct work_struct rport_delete_work ;
 4360   struct request_queue *rqst_q ;
 4361} __attribute__((__aligned__(sizeof(unsigned long )))) ;
 4362#line 405 "include/scsi/scsi_transport_fc.h"
 4363struct fc_host_statistics {
 4364   u64 seconds_since_last_reset ;
 4365   u64 tx_frames ;
 4366   u64 tx_words ;
 4367   u64 rx_frames ;
 4368   u64 rx_words ;
 4369   u64 lip_count ;
 4370   u64 nos_count ;
 4371   u64 error_frames ;
 4372   u64 dumped_frames ;
 4373   u64 link_failure_count ;
 4374   u64 loss_of_sync_count ;
 4375   u64 loss_of_signal_count ;
 4376   u64 prim_seq_protocol_err_count ;
 4377   u64 invalid_tx_word_count ;
 4378   u64 invalid_crc_count ;
 4379   u64 fcp_input_requests ;
 4380   u64 fcp_output_requests ;
 4381   u64 fcp_control_requests ;
 4382   u64 fcp_input_megabytes ;
 4383   u64 fcp_output_megabytes ;
 4384};
 4385#line 49 "include/scsi/fc/fc_fcp.h"
 4386struct fcp_cmnd {
 4387   struct scsi_lun fc_lun ;
 4388   __u8 fc_cmdref ;
 4389   __u8 fc_pri_ta ;
 4390   __u8 fc_tm_flags ;
 4391   __u8 fc_flags ;
 4392   __u8 fc_cdb[16] ;
 4393   __be32 fc_dl ;
 4394};
 4395#line 99 "include/scsi/fc/fc_ns.h"
 4396struct fc_ns_fts {
 4397   __be32 ff_type_map[8] ;
 4398};
 4399#line 133 "include/scsi/fc/fc_ns.h"
 4400struct fc_gpn_ft_resp {
 4401   __u8 fp_flags ;
 4402   __u8 fp_fid[3] ;
 4403   __be32 fp_resvd ;
 4404   __be64 fp_wwpn ;
 4405};
 4406#line 33 "include/scsi/fc/fc_els.h"
 4407enum fc_els_cmd {
 4408    ELS_LS_RJT = 1,
 4409    ELS_LS_ACC = 2,
 4410    ELS_PLOGI = 3,
 4411    ELS_FLOGI = 4,
 4412    ELS_LOGO = 5,
 4413    ELS_ABTX = 6,
 4414    ELS_RCS = 7,
 4415    ELS_RES = 8,
 4416    ELS_RSS = 9,
 4417    ELS_RSI = 10,
 4418    ELS_ESTS = 11,
 4419    ELS_ESTC = 12,
 4420    ELS_ADVC = 13,
 4421    ELS_RTV = 14,
 4422    ELS_RLS = 15,
 4423    ELS_ECHO = 16,
 4424    ELS_TEST = 17,
 4425    ELS_RRQ = 18,
 4426    ELS_REC = 19,
 4427    ELS_SRR = 20,
 4428    ELS_PRLI = 32,
 4429    ELS_PRLO = 33,
 4430    ELS_SCN = 34,
 4431    ELS_TPLS = 35,
 4432    ELS_TPRLO = 36,
 4433    ELS_LCLM = 37,
 4434    ELS_GAID = 48,
 4435    ELS_FACT = 49,
 4436    ELS_FDACDT = 50,
 4437    ELS_NACT = 51,
 4438    ELS_NDACT = 52,
 4439    ELS_QOSR = 64,
 4440    ELS_RVCS = 65,
 4441    ELS_PDISC = 80,
 4442    ELS_FDISC = 81,
 4443    ELS_ADISC = 82,
 4444    ELS_RNC = 83,
 4445    ELS_FARP_REQ = 84,
 4446    ELS_FARP_REPL = 85,
 4447    ELS_RPS = 86,
 4448    ELS_RPL = 87,
 4449    ELS_RPBC = 88,
 4450    ELS_FAN = 96,
 4451    ELS_RSCN = 97,
 4452    ELS_SCR = 98,
 4453    ELS_RNFT = 99,
 4454    ELS_CSR = 104,
 4455    ELS_CSU = 105,
 4456    ELS_LINIT = 112,
 4457    ELS_LSTS = 114,
 4458    ELS_RNID = 120,
 4459    ELS_RLIR = 121,
 4460    ELS_LIRR = 122,
 4461    ELS_SRL = 123,
 4462    ELS_SBRP = 124,
 4463    ELS_RPSC = 125,
 4464    ELS_QSA = 126,
 4465    ELS_EVFP = 127,
 4466    ELS_LKA = 128,
 4467    ELS_AUTH_ELS = 144
 4468} ;
 4469#line 185
 4470enum fc_els_rjt_reason {
 4471    ELS_RJT_NONE = 0,
 4472    ELS_RJT_INVAL = 1,
 4473    ELS_RJT_LOGIC = 3,
 4474    ELS_RJT_BUSY = 5,
 4475    ELS_RJT_PROT = 7,
 4476    ELS_RJT_UNAB = 9,
 4477    ELS_RJT_UNSUP = 11,
 4478    ELS_RJT_INPROG = 14,
 4479    ELS_RJT_FIP = 32,
 4480    ELS_RJT_VENDOR = 255
 4481} ;
 4482#line 202
 4483enum fc_els_rjt_explan {
 4484    ELS_EXPL_NONE = 0,
 4485    ELS_EXPL_SPP_OPT_ERR = 1,
 4486    ELS_EXPL_SPP_ICTL_ERR = 3,
 4487    ELS_EXPL_AH = 17,
 4488    ELS_EXPL_AH_REQ = 19,
 4489    ELS_EXPL_SID = 21,
 4490    ELS_EXPL_OXID_RXID = 23,
 4491    ELS_EXPL_INPROG = 25,
 4492    ELS_EXPL_PLOGI_REQD = 30,
 4493    ELS_EXPL_INSUF_RES = 41,
 4494    ELS_EXPL_UNAB_DATA = 42,
 4495    ELS_EXPL_UNSUPR = 44,
 4496    ELS_EXPL_INV_LEN = 45,
 4497    ELS_EXPL_NOT_NEIGHBOR = 98
 4498} ;
 4499#line 327 "include/scsi/fc/fc_els.h"
 4500struct fc_els_spp {
 4501   __u8 spp_type ;
 4502   __u8 spp_type_ext ;
 4503   __u8 spp_flags ;
 4504   __u8 _spp_resvd ;
 4505   __be32 spp_orig_pa ;
 4506   __be32 spp_resp_pa ;
 4507   __be32 spp_params ;
 4508};
 4509#line 556 "include/scsi/fc/fc_els.h"
 4510struct fc_els_rnid_gen {
 4511   __u8 rnid_vend_id[16] ;
 4512   __be32 rnid_atype ;
 4513   __be32 rnid_phys_port ;
 4514   __be32 rnid_att_nodes ;
 4515   __u8 rnid_node_mgmt ;
 4516   __u8 rnid_ip_ver ;
 4517   __be16 rnid_prot_port ;
 4518   __be32 rnid_ip_addr[4] ;
 4519   __u8 rnid_resvd[2] ;
 4520   __be16 rnid_vend_spec ;
 4521};
 4522#line 651 "include/scsi/fc/fc_els.h"
 4523struct fc_els_lesb {
 4524   __be32 lesb_link_fail ;
 4525   __be32 lesb_sync_loss ;
 4526   __be32 lesb_sig_loss ;
 4527   __be32 lesb_prim_err ;
 4528   __be32 lesb_inv_word ;
 4529   __be32 lesb_inv_crc ;
 4530};
 4531#line 32 "include/scsi/scsi_cmnd.h"
 4532struct scsi_data_buffer {
 4533   struct sg_table table ;
 4534   unsigned int length ;
 4535   int resid ;
 4536};
 4537#line 39 "include/scsi/scsi_cmnd.h"
 4538struct scsi_pointer {
 4539   char *ptr ;
 4540   int this_residual ;
 4541   struct scatterlist *buffer ;
 4542   int buffers_residual ;
 4543   dma_addr_t dma_handle ;
 4544   int volatile   Status ;
 4545   int volatile   Message ;
 4546   int volatile   have_data_in ;
 4547   int volatile   sent_command ;
 4548   int volatile   phase ;
 4549};
 4550#line 54 "include/scsi/scsi_cmnd.h"
 4551struct scsi_cmnd {
 4552   struct scsi_device *device ;
 4553   struct list_head list ;
 4554   struct list_head eh_entry ;
 4555   int eh_eflags ;
 4556   unsigned long serial_number ;
 4557   unsigned long jiffies_at_alloc ;
 4558   int retries ;
 4559   int allowed ;
 4560   unsigned char prot_op ;
 4561   unsigned char prot_type ;
 4562   unsigned short cmd_len ;
 4563   enum dma_data_direction sc_data_direction ;
 4564   unsigned char *cmnd ;
 4565   struct scsi_data_buffer sdb ;
 4566   struct scsi_data_buffer *prot_sdb ;
 4567   unsigned int underflow ;
 4568   unsigned int transfersize ;
 4569   struct request *request ;
 4570   unsigned char *sense_buffer ;
 4571   void (*scsi_done)(struct scsi_cmnd * ) ;
 4572   struct scsi_pointer SCp ;
 4573   unsigned char *host_scribble ;
 4574   int result ;
 4575   unsigned char tag ;
 4576};
 4577#line 33 "include/scsi/fc/fc_fs.h"
 4578struct fc_frame_header {
 4579   __u8 fh_r_ctl ;
 4580   __u8 fh_d_id[3] ;
 4581   __u8 fh_cs_ctl ;
 4582   __u8 fh_s_id[3] ;
 4583   __u8 fh_type ;
 4584   __u8 fh_f_ctl[3] ;
 4585   __u8 fh_seq_id ;
 4586   __u8 fh_df_ctl ;
 4587   __be16 fh_seq_cnt ;
 4588   __be16 fh_ox_id ;
 4589   __be16 fh_rx_id ;
 4590   __be32 fh_parm_offset ;
 4591};
 4592#line 66
 4593enum fc_rctl {
 4594    FC_RCTL_DD_UNCAT = 0,
 4595    FC_RCTL_DD_SOL_DATA = 1,
 4596    FC_RCTL_DD_UNSOL_CTL = 2,
 4597    FC_RCTL_DD_SOL_CTL = 3,
 4598    FC_RCTL_DD_UNSOL_DATA = 4,
 4599    FC_RCTL_DD_DATA_DESC = 5,
 4600    FC_RCTL_DD_UNSOL_CMD = 6,
 4601    FC_RCTL_DD_CMD_STATUS = 7,
 4602    FC_RCTL_ELS_REQ = 34,
 4603    FC_RCTL_ELS_REP = 35,
 4604    FC_RCTL_ELS4_REQ = 50,
 4605    FC_RCTL_ELS4_REP = 51,
 4606    FC_RCTL_VFTH = 80,
 4607    FC_RCTL_IFRH = 81,
 4608    FC_RCTL_ENCH = 82,
 4609    FC_RCTL_BA_NOP = 128,
 4610    FC_RCTL_BA_ABTS = 129,
 4611    FC_RCTL_BA_RMC = 130,
 4612    FC_RCTL_BA_ACC = 132,
 4613    FC_RCTL_BA_RJT = 133,
 4614    FC_RCTL_BA_PRMT = 134,
 4615    FC_RCTL_ACK_1 = 192,
 4616    FC_RCTL_ACK_0 = 193,
 4617    FC_RCTL_P_RJT = 194,
 4618    FC_RCTL_F_RJT = 195,
 4619    FC_RCTL_P_BSY = 196,
 4620    FC_RCTL_F_BSY = 197,
 4621    FC_RCTL_F_BSYL = 198,
 4622    FC_RCTL_LCR = 199,
 4623    FC_RCTL_END = 201
 4624} ;
 4625#line 186
 4626enum fc_fh_type {
 4627    FC_TYPE_BLS = 0,
 4628    FC_TYPE_ELS = 1,
 4629    FC_TYPE_IP = 5,
 4630    FC_TYPE_FCP = 8,
 4631    FC_TYPE_CT = 32,
 4632    FC_TYPE_ILS = 34
 4633} ;
 4634#line 76 "include/scsi/fc_frame.h"
 4635struct fc_frame {
 4636   struct sk_buff skb ;
 4637};
 4638#line 80
 4639struct fc_lport;
 4640#line 80
 4641struct fc_seq;
 4642#line 80
 4643struct fc_fcp_pkt;
 4644#line 80 "include/scsi/fc_frame.h"
 4645struct fcoe_rcv_info {
 4646   struct fc_lport *fr_dev ;
 4647   struct fc_seq *fr_seq ;
 4648   struct fc_fcp_pkt *fr_fsp ;
 4649   u32 fr_crc ;
 4650   u16 fr_max_payload ;
 4651   u8 fr_sof ;
 4652   u8 fr_eof ;
 4653   u8 fr_flags ;
 4654   u8 fr_encaps ;
 4655   u8 granted_mac[6] ;
 4656};
 4657#line 63 "include/scsi/libfc.h"
 4658enum fc_lport_state {
 4659    LPORT_ST_DISABLED = 0,
 4660    LPORT_ST_FLOGI = 1,
 4661    LPORT_ST_DNS = 2,
 4662    LPORT_ST_RNN_ID = 3,
 4663    LPORT_ST_RSNN_NN = 4,
 4664    LPORT_ST_RSPN_ID = 5,
 4665    LPORT_ST_RFT_ID = 6,
 4666    LPORT_ST_RFF_ID = 7,
 4667    LPORT_ST_FDMI = 8,
 4668    LPORT_ST_RHBA = 9,
 4669    LPORT_ST_RPA = 10,
 4670    LPORT_ST_DHBA = 11,
 4671    LPORT_ST_DPRT = 12,
 4672    LPORT_ST_SCR = 13,
 4673    LPORT_ST_READY = 14,
 4674    LPORT_ST_LOGO = 15,
 4675    LPORT_ST_RESET = 16
 4676} ;
 4677#line 83
 4678enum fc_disc_event {
 4679    DISC_EV_NONE = 0,
 4680    DISC_EV_SUCCESS = 1,
 4681    DISC_EV_FAILED = 2
 4682} ;
 4683#line 101
 4684enum fc_rport_state {
 4685    RPORT_ST_INIT = 0,
 4686    RPORT_ST_FLOGI = 1,
 4687    RPORT_ST_PLOGI_WAIT = 2,
 4688    RPORT_ST_PLOGI = 3,
 4689    RPORT_ST_PRLI = 4,
 4690    RPORT_ST_RTV = 5,
 4691    RPORT_ST_READY = 6,
 4692    RPORT_ST_ADISC = 7,
 4693    RPORT_ST_DELETE = 8
 4694} ;
 4695#line 135
 4696enum fc_rport_event {
 4697    RPORT_EV_NONE = 0,
 4698    RPORT_EV_READY = 1,
 4699    RPORT_EV_FAILED = 2,
 4700    RPORT_EV_STOP = 3,
 4701    RPORT_EV_LOGO = 4
 4702} ;
 4703#line 143
 4704struct fc_rport_priv;
 4705#line 149 "include/scsi/libfc.h"
 4706struct fc_rport_operations {
 4707   void (*event_callback)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ) ;
 4708};
 4709#line 196 "include/scsi/libfc.h"
 4710struct fc_rport_priv {
 4711   struct fc_lport *local_port ;
 4712   struct fc_rport *rport ;
 4713   struct kref kref ;
 4714   enum fc_rport_state rp_state ;
 4715   struct fc_rport_identifiers ids ;
 4716   u16 flags ;
 4717   u16 max_seq ;
 4718   u16 disc_id ;
 4719   u16 maxframe_size ;
 4720   unsigned int retries ;
 4721   unsigned int major_retries ;
 4722   unsigned int e_d_tov ;
 4723   unsigned int r_a_tov ;
 4724   struct mutex rp_mutex ;
 4725   struct delayed_work retry_work ;
 4726   enum fc_rport_event event ;
 4727   struct fc_rport_operations *ops ;
 4728   struct list_head peers ;
 4729   struct work_struct event_work ;
 4730   u32 supported_classes ;
 4731   u16 prli_count ;
 4732   struct rcu_head rcu ;
 4733   u16 sp_features ;
 4734   u8 spp_type ;
 4735   void (*lld_event_callback)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ) ;
 4736};
 4737#line 247 "include/scsi/libfc.h"
 4738struct fcoe_dev_stats {
 4739   u64 SecondsSinceLastReset ;
 4740   u64 TxFrames ;
 4741   u64 TxWords ;
 4742   u64 RxFrames ;
 4743   u64 RxWords ;
 4744   u64 ErrorFrames ;
 4745   u64 DumpedFrames ;
 4746   u64 LinkFailureCount ;
 4747   u64 LossOfSignalCount ;
 4748   u64 InvalidTxWordCount ;
 4749   u64 InvalidCRCCount ;
 4750   u64 InputRequests ;
 4751   u64 OutputRequests ;
 4752   u64 ControlRequests ;
 4753   u64 InputBytes ;
 4754   u64 OutputBytes ;
 4755   u64 VLinkFailureCount ;
 4756   u64 MissDiscAdvCount ;
 4757};
 4758#line 275 "include/scsi/libfc.h"
 4759struct fc_seq_els_data {
 4760   enum fc_els_rjt_reason reason ;
 4761   enum fc_els_rjt_explan explan ;
 4762};
 4763#line 311 "include/scsi/libfc.h"
 4764struct fc_fcp_pkt {
 4765   spinlock_t scsi_pkt_lock ;
 4766   atomic_t ref_cnt ;
 4767   u32 data_len ;
 4768   struct scsi_cmnd *cmd ;
 4769   struct list_head list ;
 4770   struct fc_lport *lp ;
 4771   u8 state ;
 4772   u8 cdb_status ;
 4773   u8 status_code ;
 4774   u8 scsi_comp_flags ;
 4775   u32 io_status ;
 4776   u32 req_flags ;
 4777   u32 scsi_resid ;
 4778   size_t xfer_len ;
 4779   struct fcp_cmnd cdb_cmd ;
 4780   u32 xfer_contig_end ;
 4781   u16 max_payload ;
 4782   u16 xfer_ddp ;
 4783   struct fc_rport *rport ;
 4784   struct fc_seq *seq_ptr ;
 4785   struct timer_list timer ;
 4786   int wait_for_comp ;
 4787   u32 recov_retry ;
 4788   struct fc_seq *recov_seq ;
 4789   struct completion tm_done ;
 4790} __attribute__((__aligned__((1) <<  (6) ))) ;
 4791#line 373 "include/scsi/libfc.h"
 4792struct fc_seq {
 4793   u8 id ;
 4794   u16 ssb_stat ;
 4795   u16 cnt ;
 4796   u32 rec_data ;
 4797};
 4798#line 446 "include/scsi/libfc.h"
 4799struct libfc_function_template {
 4800   int (*frame_send)(struct fc_lport * , struct fc_frame * ) ;
 4801   struct fc_seq *(*elsct_send)(struct fc_lport * , u32 did , struct fc_frame * ,
 4802                                unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
 4803                                                               void *arg ) , void *arg ,
 4804                                u32 timer_msec ) ;
 4805   struct fc_seq *(*exch_seq_send)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
 4806                                                                                        struct fc_frame * ,
 4807                                                                                        void * ) ,
 4808                                   void (*destructor)(struct fc_seq * , void * ) ,
 4809                                   void * , unsigned int timer_msec ) ;
 4810   int (*ddp_setup)(struct fc_lport * , u16  , struct scatterlist * , unsigned int  ) ;
 4811   int (*ddp_done)(struct fc_lport * , u16  ) ;
 4812   int (*ddp_target)(struct fc_lport * , u16  , struct scatterlist * , unsigned int  ) ;
 4813   void (*get_lesb)(struct fc_lport * , struct fc_els_lesb *lesb ) ;
 4814   int (*seq_send)(struct fc_lport * , struct fc_seq * , struct fc_frame * ) ;
 4815   void (*seq_els_rsp_send)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
 4816   int (*seq_exch_abort)(struct fc_seq    * , unsigned int timer_msec ) ;
 4817   void (*exch_done)(struct fc_seq * ) ;
 4818   struct fc_seq *(*seq_start_next)(struct fc_seq * ) ;
 4819   void (*seq_set_resp)(struct fc_seq *sp , void (*resp)(struct fc_seq * , struct fc_frame * ,
 4820                                                         void * ) , void *arg ) ;
 4821   struct fc_seq *(*seq_assign)(struct fc_lport * , struct fc_frame * ) ;
 4822   void (*seq_release)(struct fc_seq * ) ;
 4823   void (*exch_mgr_reset)(struct fc_lport * , u32 s_id , u32 d_id ) ;
 4824   void (*rport_flush_queue)(void) ;
 4825   void (*lport_recv)(struct fc_lport * , struct fc_frame * ) ;
 4826   int (*lport_reset)(struct fc_lport * ) ;
 4827   void (*lport_set_port_id)(struct fc_lport * , u32 port_id , struct fc_frame * ) ;
 4828   struct fc_rport_priv *(*rport_create)(struct fc_lport * , u32  ) ;
 4829   int (*rport_login)(struct fc_rport_priv * ) ;
 4830   int (*rport_logoff)(struct fc_rport_priv * ) ;
 4831   void (*rport_recv_req)(struct fc_lport * , struct fc_frame * ) ;
 4832   struct fc_rport_priv *(*rport_lookup)(struct fc_lport    * , u32  ) ;
 4833   void (*rport_destroy)(struct kref * ) ;
 4834   void (*rport_event_callback)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ) ;
 4835   int (*fcp_cmd_send)(struct fc_lport * , struct fc_fcp_pkt * , void (*resp)(struct fc_seq * ,
 4836                                                                              struct fc_frame * ,
 4837                                                                              void * ) ) ;
 4838   void (*fcp_cleanup)(struct fc_lport * ) ;
 4839   void (*fcp_abort_io)(struct fc_lport * ) ;
 4840   void (*disc_recv_req)(struct fc_lport * , struct fc_frame * ) ;
 4841   void (*disc_start)(void (*disc_callback)(struct fc_lport * , enum fc_disc_event  ) ,
 4842                      struct fc_lport * ) ;
 4843   void (*disc_stop)(struct fc_lport * ) ;
 4844   void (*disc_stop_final)(struct fc_lport * ) ;
 4845};
 4846#line 776 "include/scsi/libfc.h"
 4847struct fc_disc {
 4848   unsigned char retry_count ;
 4849   unsigned char pending ;
 4850   unsigned char requested ;
 4851   unsigned short seq_count ;
 4852   unsigned char buf_len ;
 4853   u16 disc_id ;
 4854   struct list_head rports ;
 4855   void *priv ;
 4856   struct mutex disc_mutex ;
 4857   struct fc_gpn_ft_resp partial_buf ;
 4858   struct delayed_work disc_work ;
 4859   void (*disc_callback)(struct fc_lport * , enum fc_disc_event  ) ;
 4860};
 4861#line 849 "include/scsi/libfc.h"
 4862struct fc_lport {
 4863   struct Scsi_Host *host ;
 4864   struct list_head ema_list ;
 4865   struct fc_rport_priv *dns_rdata ;
 4866   struct fc_rport_priv *ms_rdata ;
 4867   struct fc_rport_priv *ptp_rdata ;
 4868   void *scsi_priv ;
 4869   struct fc_disc disc ;
 4870   struct list_head vports ;
 4871   struct fc_vport *vport ;
 4872   struct libfc_function_template tt ;
 4873   u8 link_up ;
 4874   u8 qfull ;
 4875   enum fc_lport_state state ;
 4876   unsigned long boot_time ;
 4877   struct fc_host_statistics host_stats ;
 4878   struct fcoe_dev_stats *dev_stats ;
 4879   u8 retry_count ;
 4880   u32 port_id ;
 4881   u64 wwpn ;
 4882   u64 wwnn ;
 4883   unsigned int service_params ;
 4884   unsigned int e_d_tov ;
 4885   unsigned int r_a_tov ;
 4886   struct fc_els_rnid_gen rnid_gen ;
 4887   u32 sg_supp : 1 ;
 4888   u32 seq_offload : 1 ;
 4889   u32 crc_offload : 1 ;
 4890   u32 lro_enabled : 1 ;
 4891   u32 does_npiv : 1 ;
 4892   u32 npiv_enabled : 1 ;
 4893   u32 point_to_multipoint : 1 ;
 4894   u32 fdmi_enabled : 1 ;
 4895   u32 mfs ;
 4896   u8 max_retry_count ;
 4897   u8 max_rport_retry_count ;
 4898   u16 rport_priv_size ;
 4899   u16 link_speed ;
 4900   u16 link_supported_speeds ;
 4901   u16 lro_xid ;
 4902   unsigned int lso_max ;
 4903   struct fc_ns_fts fcts ;
 4904   struct mutex lp_mutex ;
 4905   struct list_head list ;
 4906   struct delayed_work retry_work ;
 4907   void *prov[9] ;
 4908   struct list_head lport_list ;
 4909};
 4910#line 916 "include/scsi/libfc.h"
 4911struct fc4_prov {
 4912   int (*prli)(struct fc_rport_priv * , u32 spp_len , struct fc_els_spp    *spp_in ,
 4913               struct fc_els_spp *spp_out ) ;
 4914   void (*prlo)(struct fc_rport_priv * ) ;
 4915   void (*recv)(struct fc_lport * , struct fc_frame * ) ;
 4916   struct module *module ;
 4917};
 4918#line 24 "include/linux/utsname.h"
 4919struct new_utsname {
 4920   char sysname[65] ;
 4921   char nodename[65] ;
 4922   char release[65] ;
 4923   char version[65] ;
 4924   char machine[65] ;
 4925   char domainname[65] ;
 4926};
 4927#line 7 "include/linux/nsproxy.h"
 4928struct mnt_namespace;
 4929#line 9
 4930struct ipc_namespace;
 4931#line 25 "include/linux/nsproxy.h"
 4932struct nsproxy {
 4933   atomic_t count ;
 4934   struct uts_namespace *uts_ns ;
 4935   struct ipc_namespace *ipc_ns ;
 4936   struct mnt_namespace *mnt_ns ;
 4937   struct pid_namespace *pid_ns ;
 4938   struct net *net_ns ;
 4939};
 4940#line 51 "include/linux/utsname.h"
 4941struct uts_namespace {
 4942   struct kref kref ;
 4943   struct new_utsname name ;
 4944   struct user_namespace *user_ns ;
 4945};
 4946#line 290 "include/linux/timer.h"
 4947enum hrtimer_restart;
 4948#line 24 "include/linux/sysfs.h"
 4949enum kobj_ns_type;
 4950#line 30 "include/scsi/fc/fc_gs.h"
 4951struct fc_ct_hdr {
 4952   __u8 ct_rev ;
 4953   __u8 ct_in_id[3] ;
 4954   __u8 ct_fs_type ;
 4955   __u8 ct_fs_subtype ;
 4956   __u8 ct_options ;
 4957   __u8 _ct_resvd1 ;
 4958   __be16 ct_cmd ;
 4959   __be16 ct_mr_size ;
 4960   __u8 _ct_resvd2 ;
 4961   __u8 ct_reason ;
 4962   __u8 ct_explan ;
 4963   __u8 ct_vendor ;
 4964};
 4965#line 83 "include/scsi/fc/fc_ns.h"
 4966struct fc_ns_fid {
 4967   __u8 fp_flags ;
 4968   __u8 fp_fid[3] ;
 4969};
 4970#line 123 "include/scsi/fc/fc_ns.h"
 4971struct fc_ns_gid_ft {
 4972   __u8 fn_resvd ;
 4973   __u8 fn_domain_id_scope ;
 4974   __u8 fn_area_id_scope ;
 4975   __u8 fn_fc4_type ;
 4976};
 4977#line 143 "include/scsi/fc/fc_ns.h"
 4978struct fc_ns_gid_pn {
 4979   __be64 fn_wwpn ;
 4980};
 4981#line 487 "include/scsi/fc/fc_els.h"
 4982struct fc_els_rscn {
 4983   __u8 rscn_cmd ;
 4984   __u8 rscn_page_len ;
 4985   __be16 rscn_plen ;
 4986};
 4987#line 495 "include/scsi/fc/fc_els.h"
 4988struct fc_els_rscn_page {
 4989   __u8 rscn_page_flags ;
 4990   __u8 rscn_fid[3] ;
 4991};
 4992#line 505
 4993enum fc_els_rscn_ev_qual {
 4994    ELS_EV_QUAL_NONE = 0,
 4995    ELS_EV_QUAL_NS_OBJ = 1,
 4996    ELS_EV_QUAL_PORT_ATTR = 2,
 4997    ELS_EV_QUAL_SERV_OBJ = 3,
 4998    ELS_EV_QUAL_SW_CONFIG = 4,
 4999    ELS_EV_QUAL_REM_OBJ = 5
 5000} ;
 5001#line 514
 5002enum fc_els_rscn_addr_fmt {
 5003    ELS_ADDR_FMT_PORT = 0,
 5004    ELS_ADDR_FMT_AREA = 1,
 5005    ELS_ADDR_FMT_DOM = 2,
 5006    ELS_ADDR_FMT_FAB = 3
 5007} ;
 5008#line 120 "include/scsi/libfc.h"
 5009struct fc_disc_port {
 5010   struct fc_lport *lp ;
 5011   struct list_head peers ;
 5012   struct work_struct rport_work ;
 5013   u32 port_id ;
 5014};
 5015#line 290 "include/linux/timer.h"
 5016enum hrtimer_restart;
 5017#line 24 "include/linux/sysfs.h"
 5018enum kobj_ns_type;
 5019#line 139 "include/scsi/scsi_transport_fc.h"
 5020enum fc_tgtid_binding_type {
 5021    FC_TGTID_BIND_NONE = 0,
 5022    FC_TGTID_BIND_BY_WWPN = 1,
 5023    FC_TGTID_BIND_BY_WWNN = 2,
 5024    FC_TGTID_BIND_BY_ID = 3
 5025} ;
 5026#line 478 "include/scsi/scsi_transport_fc.h"
 5027struct fc_host_attrs {
 5028   u64 node_name ;
 5029   u64 port_name ;
 5030   u64 permanent_port_name ;
 5031   u32 supported_classes ;
 5032   u8 supported_fc4s[32] ;
 5033   u32 supported_speeds ;
 5034   u32 maxframe_size ;
 5035   u16 max_npiv_vports ;
 5036   char serial_number[80] ;
 5037   char manufacturer[80] ;
 5038   char model[256] ;
 5039   char model_description[256] ;
 5040   char hardware_version[64] ;
 5041   char driver_version[64] ;
 5042   char firmware_version[64] ;
 5043   char optionrom_version[64] ;
 5044   u32 port_id ;
 5045   enum fc_port_type port_type ;
 5046   enum fc_port_state port_state ;
 5047   u8 active_fc4s[32] ;
 5048   u32 speed ;
 5049   u64 fabric_name ;
 5050   char symbolic_name[256] ;
 5051   char system_hostname[256] ;
 5052   u32 dev_loss_tmo ;
 5053   enum fc_tgtid_binding_type tgtid_bind_type ;
 5054   struct list_head rports ;
 5055   struct list_head rport_bindings ;
 5056   struct list_head vports ;
 5057   u32 next_rport_number ;
 5058   u32 next_target_id ;
 5059   u32 next_vport_number ;
 5060   u16 npiv_vports_inuse ;
 5061   char work_q_name[20] ;
 5062   struct workqueue_struct *work_q ;
 5063   char devloss_work_q_name[20] ;
 5064   struct workqueue_struct *devloss_work_q ;
 5065   struct request_queue *rqst_q ;
 5066};
 5067#line 166 "include/scsi/fc/fc_els.h"
 5068struct fc_els_ls_acc {
 5069   __u8 la_cmd ;
 5070   __u8 la_resv[3] ;
 5071};
 5072#line 174 "include/scsi/fc/fc_els.h"
 5073struct fc_els_ls_rjt {
 5074   __u8 er_cmd ;
 5075   __u8 er_resv[4] ;
 5076   __u8 er_reason ;
 5077   __u8 er_explan ;
 5078   __u8 er_vendor ;
 5079};
 5080#line 362 "include/scsi/fc/fc_els.h"
 5081struct fc_els_rrq {
 5082   __u8 rrq_cmd ;
 5083   __u8 rrq_zero[3] ;
 5084   __u8 rrq_resvd ;
 5085   __u8 rrq_s_id[3] ;
 5086   __be16 rrq_ox_id ;
 5087   __be16 rrq_rx_id ;
 5088};
 5089#line 374 "include/scsi/fc/fc_els.h"
 5090struct fc_els_rec {
 5091   __u8 rec_cmd ;
 5092   __u8 rec_zero[3] ;
 5093   __u8 rec_resvd ;
 5094   __u8 rec_s_id[3] ;
 5095   __be16 rec_ox_id ;
 5096   __be16 rec_rx_id ;
 5097};
 5098#line 386 "include/scsi/fc/fc_els.h"
 5099struct fc_els_rec_acc {
 5100   __u8 reca_cmd ;
 5101   __u8 reca_zero[3] ;
 5102   __be16 reca_ox_id ;
 5103   __be16 reca_rx_id ;
 5104   __u8 reca_resvd1 ;
 5105   __u8 reca_ofid[3] ;
 5106   __u8 reca_resvd2 ;
 5107   __u8 reca_rfid[3] ;
 5108   __be32 reca_fc4value ;
 5109   __be32 reca_e_stat ;
 5110};
 5111#line 246 "include/scsi/fc/fc_fs.h"
 5112struct fc_ba_acc {
 5113   __u8 ba_seq_id_val ;
 5114   __u8 ba_seq_id ;
 5115   __u8 ba_resvd[2] ;
 5116   __be16 ba_ox_id ;
 5117   __be16 ba_rx_id ;
 5118   __be16 ba_low_seq_cnt ;
 5119   __be16 ba_high_seq_cnt ;
 5120};
 5121#line 260 "include/scsi/fc/fc_fs.h"
 5122struct fc_ba_rjt {
 5123   __u8 br_resvd ;
 5124   __u8 br_reason ;
 5125   __u8 br_explan ;
 5126   __u8 br_vendor ;
 5127};
 5128#line 271
 5129enum fc_ba_rjt_reason {
 5130    FC_BA_RJT_NONE = 0,
 5131    FC_BA_RJT_INVL_CMD = 1,
 5132    FC_BA_RJT_LOG_ERR = 3,
 5133    FC_BA_RJT_LOG_BUSY = 5,
 5134    FC_BA_RJT_PROTO_ERR = 7,
 5135    FC_BA_RJT_UNABLE = 9,
 5136    FC_BA_RJT_VENDOR = 255
 5137} ;
 5138#line 284
 5139enum fc_ba_rjt_explan {
 5140    FC_BA_RJT_EXP_NONE = 0,
 5141    FC_BA_RJT_INV_XID = 3,
 5142    FC_BA_RJT_ABT = 5
 5143} ;
 5144#line 303
 5145enum fc_pf_rjt_reason {
 5146    FC_RJT_NONE = 0,
 5147    FC_RJT_INVL_DID = 1,
 5148    FC_RJT_INVL_SID = 2,
 5149    FC_RJT_P_UNAV_T = 3,
 5150    FC_RJT_P_UNAV = 4,
 5151    FC_RJT_CLS_UNSUP = 5,
 5152    FC_RJT_DEL_USAGE = 6,
 5153    FC_RJT_TYPE_UNSUP = 7,
 5154    FC_RJT_LINK_CTL = 8,
 5155    FC_RJT_R_CTL = 9,
 5156    FC_RJT_F_CTL = 10,
 5157    FC_RJT_OX_ID = 11,
 5158    FC_RJT_RX_ID = 12,
 5159    FC_RJT_SEQ_ID = 13,
 5160    FC_RJT_DF_CTL = 14,
 5161    FC_RJT_SEQ_CNT = 15,
 5162    FC_RJT_PARAM = 16,
 5163    FC_RJT_EXCH_ERR = 17,
 5164    FC_RJT_PROTO = 18,
 5165    FC_RJT_LEN = 19,
 5166    FC_RJT_UNEXP_ACK = 20,
 5167    FC_RJT_FAB_CLASS = 21,
 5168    FC_RJT_LOGI_REQ = 22,
 5169    FC_RJT_SEQ_XS = 23,
 5170    FC_RJT_EXCH_EST = 24,
 5171    FC_RJT_FAB_UNAV = 26,
 5172    FC_RJT_VC_ID = 27,
 5173    FC_RJT_CS_CTL = 28,
 5174    FC_RJT_INSUF_RES = 29,
 5175    FC_RJT_INVL_CLS = 31,
 5176    FC_RJT_PREEMT_RJT = 32,
 5177    FC_RJT_PREEMT_DIS = 33,
 5178    FC_RJT_MCAST_ERR = 34,
 5179    FC_RJT_MCAST_ET = 35,
 5180    FC_RJT_PRLI_REQ = 36,
 5181    FC_RJT_INVL_ATT = 37,
 5182    FC_RJT_VENDOR = 255
 5183} ;
 5184#line 71 "include/scsi/fc/fc_encaps.h"
 5185enum fc_sof {
 5186    FC_SOF_F = 40,
 5187    FC_SOF_I4 = 41,
 5188    FC_SOF_I2 = 45,
 5189    FC_SOF_I3 = 46,
 5190    FC_SOF_N4 = 49,
 5191    FC_SOF_N2 = 53,
 5192    FC_SOF_N3 = 54,
 5193    FC_SOF_C4 = 57
 5194}  __attribute__((__packed__)) ;
 5195#line 98
 5196enum fc_class {
 5197    FC_CLASS_NONE = 0,
 5198    FC_CLASS_2 = 45,
 5199    FC_CLASS_3 = 46,
 5200    FC_CLASS_4 = 41,
 5201    FC_CLASS_F = 40
 5202} ;
 5203#line 362 "include/scsi/libfc.h"
 5204struct fc_exch_mgr;
 5205#line 363
 5206struct fc_exch_mgr_anchor;
 5207#line 416
 5208struct fc_exch_pool;
 5209#line 416 "include/scsi/libfc.h"
 5210struct fc_exch {
 5211   spinlock_t ex_lock ;
 5212   atomic_t ex_refcnt ;
 5213   enum fc_class class ;
 5214   struct fc_exch_mgr *em ;
 5215   struct fc_exch_pool *pool ;
 5216   struct list_head ex_list ;
 5217   struct fc_lport *lp ;
 5218   u32 esb_stat ;
 5219   u8 state ;
 5220   u8 fh_type ;
 5221   u8 seq_id ;
 5222   u8 encaps ;
 5223   u16 xid ;
 5224   u16 oxid ;
 5225   u16 rxid ;
 5226   u32 oid ;
 5227   u32 sid ;
 5228   u32 did ;
 5229   u32 r_a_tov ;
 5230   u32 f_ctl ;
 5231   struct fc_seq seq ;
 5232   void (*resp)(struct fc_seq * , struct fc_frame * , void * ) ;
 5233   void *arg ;
 5234   void (*destructor)(struct fc_seq * , void * ) ;
 5235   struct delayed_work timeout_work ;
 5236} __attribute__((__aligned__((1) <<  (6) ))) ;
 5237#line 68 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
 5238struct fc_exch_pool {
 5239   spinlock_t lock ;
 5240   struct list_head ex_list ;
 5241   u16 next_index ;
 5242   u16 total_exches ;
 5243   u16 left ;
 5244   u16 right ;
 5245} __attribute__((__aligned__((1) <<  (6) ))) ;
 5246#line 93 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
 5247struct __anonstruct_stats_294 {
 5248   atomic_t no_free_exch ;
 5249   atomic_t no_free_exch_xid ;
 5250   atomic_t xid_not_found ;
 5251   atomic_t xid_busy ;
 5252   atomic_t seq_not_found ;
 5253   atomic_t non_bls_resp ;
 5254};
 5255#line 93 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
 5256struct fc_exch_mgr {
 5257   struct fc_exch_pool *pool ;
 5258   mempool_t *ep_pool ;
 5259   enum fc_class class ;
 5260   struct kref kref ;
 5261   u16 min_xid ;
 5262   u16 max_xid ;
 5263   u16 pool_max_index ;
 5264   struct __anonstruct_stats_294 stats ;
 5265};
 5266#line 129 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
 5267struct fc_exch_mgr_anchor {
 5268   struct list_head ema_list ;
 5269   struct fc_exch_mgr *mp ;
 5270   bool (*match)(struct fc_frame * ) ;
 5271};
 5272#line 253 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
 5273struct __anonstruct_295 {
 5274   int  : 0 ;
 5275};
 5276#line 54 "include/scsi/fc/fc_gs.h"
 5277enum fc_ct_fs_type {
 5278    FC_FST_ALIAS = 248,
 5279    FC_FST_MGMT = 250,
 5280    FC_FST_TIME = 251,
 5281    FC_FST_DIR = 252
 5282} ;
 5283#line 175 "include/scsi/fc/fc_ns.h"
 5284struct fc_ns_rn_id {
 5285   struct fc_ns_fid fr_fid ;
 5286   __be64 fr_wwn ;
 5287} __attribute__((__packed__)) ;
 5288#line 183 "include/scsi/fc/fc_ns.h"
 5289struct fc_ns_rsnn {
 5290   __be64 fr_wwn ;
 5291   __u8 fr_name_len ;
 5292   char fr_name[] ;
 5293} __attribute__((__packed__)) ;
 5294#line 192 "include/scsi/fc/fc_ns.h"
 5295struct fc_ns_rspn {
 5296   struct fc_ns_fid fr_fid ;
 5297   __u8 fr_name_len ;
 5298   char fr_name[] ;
 5299} __attribute__((__packed__)) ;
 5300#line 201 "include/scsi/fc/fc_ns.h"
 5301struct fc_ns_rff_id {
 5302   struct fc_ns_fid fr_fid ;
 5303   __u8 fr_resvd[2] ;
 5304   __u8 fr_feat ;
 5305   __u8 fr_type ;
 5306} __attribute__((__packed__)) ;
 5307#line 223 "include/scsi/fc/fc_els.h"
 5308struct __anonstruct_sp_plogi_11 {
 5309   __be16 _sp_tot_seq ;
 5310   __be16 _sp_rel_off ;
 5311};
 5312#line 223 "include/scsi/fc/fc_els.h"
 5313struct __anonstruct_sp_flogi_acc_12 {
 5314   __be32 _sp_r_a_tov ;
 5315};
 5316#line 223 "include/scsi/fc/fc_els.h"
 5317union __anonunion_sp_u_10 {
 5318   struct __anonstruct_sp_plogi_11 sp_plogi ;
 5319   struct __anonstruct_sp_flogi_acc_12 sp_flogi_acc ;
 5320};
 5321#line 223 "include/scsi/fc/fc_els.h"
 5322struct fc_els_csp {
 5323   __u8 sp_hi_ver ;
 5324   __u8 sp_lo_ver ;
 5325   __be16 sp_bb_cred ;
 5326   __be16 sp_features ;
 5327   __be16 sp_bb_data ;
 5328   union __anonunion_sp_u_10 sp_u ;
 5329   __be32 sp_e_d_tov ;
 5330};
 5331#line 278 "include/scsi/fc/fc_els.h"
 5332struct fc_els_cssp {
 5333   __be16 cp_class ;
 5334   __be16 cp_init ;
 5335   __be16 cp_recip ;
 5336   __be16 cp_rdfs ;
 5337   __be16 cp_con_seq ;
 5338   __be16 cp_ee_cred ;
 5339   __u8 cp_resv1 ;
 5340   __u8 cp_open_seq ;
 5341   __u8 _cp_resv2[2] ;
 5342};
 5343#line 314 "include/scsi/fc/fc_els.h"
 5344struct fc_els_flogi {
 5345   __u8 fl_cmd ;
 5346   __u8 _fl_resvd[3] ;
 5347   struct fc_els_csp fl_csp ;
 5348   __be64 fl_wwpn ;
 5349   __be64 fl_wwnn ;
 5350   struct fc_els_cssp fl_cssp[4] ;
 5351   __u8 fl_vend[16] ;
 5352} __attribute__((__packed__)) ;
 5353#line 402 "include/scsi/fc/fc_els.h"
 5354struct fc_els_prli {
 5355   __u8 prli_cmd ;
 5356   __u8 prli_spp_len ;
 5357   __be16 prli_len ;
 5358};
 5359#line 421 "include/scsi/fc/fc_els.h"
 5360struct fc_els_adisc {
 5361   __u8 adisc_cmd ;
 5362   __u8 adisc_resv[3] ;
 5363   __u8 adisc_resv1 ;
 5364   __u8 adisc_hard_addr[3] ;
 5365   __be64 adisc_wwpn ;
 5366   __be64 adisc_wwnn ;
 5367   __u8 adisc_resv2 ;
 5368   __u8 adisc_port_id[3] ;
 5369} __attribute__((__packed__)) ;
 5370#line 435 "include/scsi/fc/fc_els.h"
 5371struct fc_els_logo {
 5372   __u8 fl_cmd ;
 5373   __u8 fl_zero[3] ;
 5374   __u8 fl_resvd ;
 5375   __u8 fl_n_port_id[3] ;
 5376   __be64 fl_n_port_wwn ;
 5377};
 5378#line 446 "include/scsi/fc/fc_els.h"
 5379struct fc_els_rtv {
 5380   __u8 rtv_cmd ;
 5381   __u8 rtv_zero[3] ;
 5382};
 5383#line 471 "include/scsi/fc/fc_els.h"
 5384struct fc_els_scr {
 5385   __u8 scr_cmd ;
 5386   __u8 scr_resv[6] ;
 5387   __u8 scr_reg_func ;
 5388};
 5389#line 290 "include/linux/timer.h"
 5390enum hrtimer_restart;
 5391#line 24 "include/linux/sysfs.h"
 5392enum kobj_ns_type;
 5393#line 113 "include/scsi/fc/fc_ms.h"
 5394struct fc_fdmi_hba_identifier {
 5395   __be64 id ;
 5396};
 5397#line 120 "include/scsi/fc/fc_ms.h"
 5398struct fc_fdmi_port_name {
 5399   __be64 portname ;
 5400};
 5401#line 128 "include/scsi/fc/fc_ms.h"
 5402struct fc_fdmi_attr_entry {
 5403   __be16 type ;
 5404   __be16 len ;
 5405   __u8 value[1] ;
 5406} __attribute__((__packed__)) ;
 5407#line 137 "include/scsi/fc/fc_ms.h"
 5408struct fs_fdmi_attrs {
 5409   __be32 numattrs ;
 5410   struct fc_fdmi_attr_entry attr[1] ;
 5411} __attribute__((__packed__)) ;
 5412#line 145 "include/scsi/fc/fc_ms.h"
 5413struct fc_fdmi_rpl {
 5414   __be32 numport ;
 5415   struct fc_fdmi_port_name port[1] ;
 5416} __attribute__((__packed__)) ;
 5417#line 153 "include/scsi/fc/fc_ms.h"
 5418struct fc_fdmi_rhba {
 5419   struct fc_fdmi_hba_identifier hbaid ;
 5420   struct fc_fdmi_rpl port ;
 5421   struct fs_fdmi_attrs hba_attrs ;
 5422} __attribute__((__packed__)) ;
 5423#line 179 "include/scsi/fc/fc_ms.h"
 5424struct fc_fdmi_rpa {
 5425   struct fc_fdmi_port_name port ;
 5426   struct fs_fdmi_attrs hba_attrs ;
 5427} __attribute__((__packed__)) ;
 5428#line 187 "include/scsi/fc/fc_ms.h"
 5429struct fc_fdmi_dprt {
 5430   struct fc_fdmi_port_name port ;
 5431} __attribute__((__packed__)) ;
 5432#line 209 "include/scsi/fc/fc_ms.h"
 5433struct fc_fdmi_dhba {
 5434   struct fc_fdmi_hba_identifier hbaid ;
 5435} __attribute__((__packed__)) ;
 5436#line 32 "include/scsi/fc_encode.h"
 5437struct fc_ns_rft {
 5438   struct fc_ns_fid fid ;
 5439   struct fc_ns_fts fts ;
 5440};
 5441#line 37 "include/scsi/fc_encode.h"
 5442union __anonunion_payload_292 {
 5443   struct fc_ns_gid_ft gid ;
 5444   struct fc_ns_rn_id rn ;
 5445   struct fc_ns_rft rft ;
 5446   struct fc_ns_rff_id rff ;
 5447   struct fc_ns_fid fid ;
 5448   struct fc_ns_rsnn snn ;
 5449   struct fc_ns_rspn spn ;
 5450   struct fc_fdmi_rhba rhba ;
 5451   struct fc_fdmi_rpa rpa ;
 5452   struct fc_fdmi_dprt dprt ;
 5453   struct fc_fdmi_dhba dhba ;
 5454};
 5455#line 37 "include/scsi/fc_encode.h"
 5456struct fc_ct_req {
 5457   struct fc_ct_hdr hdr ;
 5458   union __anonunion_payload_292 payload ;
 5459};
 5460#line 658 "include/scsi/fc_encode.h"
 5461struct __anonstruct_pp_293 {
 5462   struct fc_els_prli prli ;
 5463   struct fc_els_spp spp ;
 5464};
 5465#line 115 "include/linux/types.h"
 5466typedef __u8 uint8_t;
 5467#line 120 "include/linux/types.h"
 5468typedef __u64 uint64_t;
 5469#line 290 "include/linux/timer.h"
 5470enum hrtimer_restart;
 5471#line 24 "include/linux/sysfs.h"
 5472enum kobj_ns_type;
 5473#line 440 "include/scsi/scsi_transport_fc.h"
 5474enum fc_host_event_code {
 5475    FCH_EVT_LIP = 1,
 5476    FCH_EVT_LINKUP = 2,
 5477    FCH_EVT_LINKDOWN = 3,
 5478    FCH_EVT_LIPRESET = 4,
 5479    FCH_EVT_RSCN = 5,
 5480    FCH_EVT_ADAPTER_CHANGE = 259,
 5481    FCH_EVT_PORT_UNKNOWN = 512,
 5482    FCH_EVT_PORT_OFFLINE = 513,
 5483    FCH_EVT_PORT_ONLINE = 514,
 5484    FCH_EVT_PORT_FABRIC = 516,
 5485    FCH_EVT_LINK_UNKNOWN = 1280,
 5486    FCH_EVT_VENDOR_UNIQUE = 65535
 5487} ;
 5488#line 609 "include/scsi/scsi_transport_fc.h"
 5489struct fc_bsg_buffer {
 5490   unsigned int payload_len ;
 5491   int sg_cnt ;
 5492   struct scatterlist *sg_list ;
 5493};
 5494#line 619
 5495struct fc_bsg_request;
 5496#line 619
 5497struct fc_bsg_reply;
 5498#line 619 "include/scsi/scsi_transport_fc.h"
 5499struct fc_bsg_job {
 5500   struct Scsi_Host *shost ;
 5501   struct fc_rport *rport ;
 5502   struct device *dev ;
 5503   struct request *req ;
 5504   spinlock_t job_lock ;
 5505   unsigned int state_flags ;
 5506   unsigned int ref_cnt ;
 5507   void (*job_done)(struct fc_bsg_job * ) ;
 5508   struct fc_bsg_request *request ;
 5509   struct fc_bsg_reply *reply ;
 5510   unsigned int request_len ;
 5511   unsigned int reply_len ;
 5512   struct fc_bsg_buffer request_payload ;
 5513   struct fc_bsg_buffer reply_payload ;
 5514   void *dd_data ;
 5515};
 5516#line 84 "include/scsi/scsi_bsg_fc.h"
 5517struct fc_bsg_host_add_rport {
 5518   uint8_t reserved ;
 5519   uint8_t port_id[3] ;
 5520};
 5521#line 105 "include/scsi/scsi_bsg_fc.h"
 5522struct fc_bsg_host_del_rport {
 5523   uint8_t reserved ;
 5524   uint8_t port_id[3] ;
 5525};
 5526#line 125 "include/scsi/scsi_bsg_fc.h"
 5527struct fc_bsg_host_els {
 5528   uint8_t command_code ;
 5529   uint8_t port_id[3] ;
 5530};
 5531#line 145 "include/scsi/scsi_bsg_fc.h"
 5532struct __anonstruct_rjt_data_292 {
 5533   uint8_t action ;
 5534   uint8_t reason_code ;
 5535   uint8_t reason_explanation ;
 5536   uint8_t vendor_unique ;
 5537};
 5538#line 145 "include/scsi/scsi_bsg_fc.h"
 5539struct fc_bsg_ctels_reply {
 5540   uint32_t status ;
 5541   struct __anonstruct_rjt_data_292 rjt_data ;
 5542};
 5543#line 192 "include/scsi/scsi_bsg_fc.h"
 5544struct fc_bsg_host_ct {
 5545   uint8_t reserved ;
 5546   uint8_t port_id[3] ;
 5547   uint32_t preamble_word0 ;
 5548   uint32_t preamble_word1 ;
 5549   uint32_t preamble_word2 ;
 5550};
 5551#line 218 "include/scsi/scsi_bsg_fc.h"
 5552struct fc_bsg_host_vendor {
 5553   uint64_t vendor_id ;
 5554   uint32_t vendor_cmd[0] ;
 5555};
 5556#line 231 "include/scsi/scsi_bsg_fc.h"
 5557struct fc_bsg_host_vendor_reply {
 5558   uint32_t vendor_rsp[0] ;
 5559};
 5560#line 247 "include/scsi/scsi_bsg_fc.h"
 5561struct fc_bsg_rport_els {
 5562   uint8_t els_code ;
 5563};
 5564#line 266 "include/scsi/scsi_bsg_fc.h"
 5565struct fc_bsg_rport_ct {
 5566   uint32_t preamble_word0 ;
 5567   uint32_t preamble_word1 ;
 5568   uint32_t preamble_word2 ;
 5569};
 5570#line 283 "include/scsi/scsi_bsg_fc.h"
 5571union __anonunion_rqst_data_293 {
 5572   struct fc_bsg_host_add_rport h_addrport ;
 5573   struct fc_bsg_host_del_rport h_delrport ;
 5574   struct fc_bsg_host_els h_els ;
 5575   struct fc_bsg_host_ct h_ct ;
 5576   struct fc_bsg_host_vendor h_vendor ;
 5577   struct fc_bsg_rport_els r_els ;
 5578   struct fc_bsg_rport_ct r_ct ;
 5579};
 5580#line 283 "include/scsi/scsi_bsg_fc.h"
 5581struct fc_bsg_request {
 5582   uint32_t msgcode ;
 5583   union __anonunion_rqst_data_293 rqst_data ;
 5584} __attribute__((__packed__)) ;
 5585#line 299 "include/scsi/scsi_bsg_fc.h"
 5586union __anonunion_reply_data_294 {
 5587   struct fc_bsg_host_vendor_reply vendor_reply ;
 5588   struct fc_bsg_ctels_reply ctels_reply ;
 5589};
 5590#line 299 "include/scsi/scsi_bsg_fc.h"
 5591struct fc_bsg_reply {
 5592   uint32_t result ;
 5593   uint32_t reply_payload_rcv_len ;
 5594   union __anonunion_reply_data_294 reply_data ;
 5595};
 5596#line 39 "include/scsi/fc/fc_ns.h"
 5597enum fc_ns_req {
 5598    FC_NS_GA_NXT = 256,
 5599    FC_NS_GI_A = 257,
 5600    FC_NS_GPN_ID = 274,
 5601    FC_NS_GNN_ID = 275,
 5602    FC_NS_GSPN_ID = 280,
 5603    FC_NS_GID_PN = 289,
 5604    FC_NS_GID_NN = 305,
 5605    FC_NS_GID_FT = 369,
 5606    FC_NS_GPN_FT = 370,
 5607    FC_NS_GID_PT = 417,
 5608    FC_NS_RPN_ID = 530,
 5609    FC_NS_RNN_ID = 531,
 5610    FC_NS_RFT_ID = 535,
 5611    FC_NS_RSPN_ID = 536,
 5612    FC_NS_RFF_ID = 543,
 5613    FC_NS_RSNN_NN = 569
 5614} ;
 5615#line 41 "include/scsi/fc/fc_ms.h"
 5616enum fc_fdmi_req {
 5617    FC_FDMI_GRHL = 256,
 5618    FC_FDMI_GHAT = 257,
 5619    FC_FDMI_GRPL = 258,
 5620    FC_FDMI_GPAT = 272,
 5621    FC_FDMI_RHBA = 512,
 5622    FC_FDMI_RHAT = 513,
 5623    FC_FDMI_RPRT = 528,
 5624    FC_FDMI_RPA = 529,
 5625    FC_FDMI_DHBA = 768,
 5626    FC_FDMI_DHAT = 769,
 5627    FC_FDMI_DPRT = 784,
 5628    FC_FDMI_DPA = 785
 5629} ;
 5630#line 524 "include/scsi/fc/fc_els.h"
 5631struct fc_els_rnid {
 5632   __u8 rnid_cmd ;
 5633   __u8 rnid_resv[3] ;
 5634   __u8 rnid_fmt ;
 5635   __u8 rnid_resv2[3] ;
 5636};
 5637#line 542 "include/scsi/fc/fc_els.h"
 5638struct fc_els_rnid_resp {
 5639   __u8 rnid_cmd ;
 5640   __u8 rnid_resv[3] ;
 5641   __u8 rnid_fmt ;
 5642   __u8 rnid_cid_len ;
 5643   __u8 rnid_resv2 ;
 5644   __u8 rnid_sid_len ;
 5645};
 5646#line 551 "include/scsi/fc/fc_els.h"
 5647struct fc_els_rnid_cid {
 5648   __be64 rnid_wwpn ;
 5649   __be64 rnid_wwnn ;
 5650};
 5651#line 152 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
 5652struct fc_bsg_info {
 5653   struct fc_bsg_job *job ;
 5654   struct fc_lport *lport ;
 5655   u16 rsp_code ;
 5656   struct scatterlist *sg ;
 5657   u32 nents ;
 5658   size_t offset ;
 5659};
 5660#line 462 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
 5661struct __anonstruct_rp_300 {
 5662   struct fc_els_rnid_resp rnid ;
 5663   struct fc_els_rnid_cid cid ;
 5664   struct fc_els_rnid_gen gen ;
 5665};
 5666#line 290 "include/linux/timer.h"
 5667enum hrtimer_restart;
 5668#line 24 "include/linux/sysfs.h"
 5669enum kobj_ns_type;
 5670#line 348 "include/scsi/fc/fc_els.h"
 5671enum fc_els_spp_resp {
 5672    FC_SPP_RESP_ACK = 1,
 5673    FC_SPP_RESP_RES = 2,
 5674    FC_SPP_RESP_INIT = 3,
 5675    FC_SPP_RESP_NO_PA = 4,
 5676    FC_SPP_RESP_CONF = 5,
 5677    FC_SPP_RESP_COND = 6,
 5678    FC_SPP_RESP_MULT = 7,
 5679    FC_SPP_RESP_INVL = 8
 5680} ;
 5681#line 412 "include/scsi/fc/fc_els.h"
 5682struct fc_els_prlo {
 5683   __u8 prlo_cmd ;
 5684   __u8 prlo_obs ;
 5685   __be16 prlo_len ;
 5686};
 5687#line 454 "include/scsi/fc/fc_els.h"
 5688struct fc_els_rtv_acc {
 5689   __u8 rtv_cmd ;
 5690   __u8 rtv_zero[3] ;
 5691   __be32 rtv_r_a_tov ;
 5692   __be32 rtv_e_d_tov ;
 5693   __be32 rtv_toq ;
 5694};
 5695#line 738 "include/scsi/fc/fc_els.h"
 5696struct fc_els_rls {
 5697   __u8 rls_cmd ;
 5698   __u8 rls_resv[4] ;
 5699   __u8 rls_port_id[3] ;
 5700};
 5701#line 747 "include/scsi/fc/fc_els.h"
 5702struct fc_els_rls_resp {
 5703   __u8 rls_cmd ;
 5704   __u8 rls_resv[3] ;
 5705   struct fc_els_lesb rls_lesb ;
 5706};
 5707#line 162 "include/scsi/libfc.h"
 5708struct fc_rport_libfc_priv {
 5709   struct fc_lport *local_port ;
 5710   enum fc_rport_state rp_state ;
 5711   u16 flags ;
 5712   unsigned int e_d_tov ;
 5713   unsigned int r_a_tov ;
 5714};
 5715#line 658 "include/scsi/fc_encode.h"
 5716struct __anonstruct_pp_296 {
 5717   struct fc_els_prli prli ;
 5718   struct fc_els_spp spp ;
 5719};
 5720#line 978 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
 5721struct __anonstruct_pp_297 {
 5722   struct fc_els_prli prli ;
 5723   struct fc_els_spp spp ;
 5724};
 5725#line 1073 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
 5726struct __anonstruct_pp_298 {
 5727   struct fc_els_prli prli ;
 5728   struct fc_els_spp spp ;
 5729};
 5730#line 1690 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
 5731struct __anonstruct_pp_299 {
 5732   struct fc_els_prli prli ;
 5733   struct fc_els_spp spp ;
 5734};
 5735#line 1809 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
 5736struct __anonstruct_pp_300 {
 5737   struct fc_els_prlo prlo ;
 5738   struct fc_els_spp spp ;
 5739};
 5740#line 290 "include/linux/timer.h"
 5741enum hrtimer_restart;
 5742#line 24 "include/linux/sysfs.h"
 5743enum kobj_ns_type;
 5744#line 152 "include/linux/skbuff.h"
 5745struct skb_frag_struct;
 5746#line 152 "include/linux/skbuff.h"
 5747typedef struct skb_frag_struct skb_frag_t;
 5748#line 154 "include/linux/skbuff.h"
 5749struct __anonstruct_page_285 {
 5750   struct page *p ;
 5751};
 5752#line 154 "include/linux/skbuff.h"
 5753struct skb_frag_struct {
 5754   struct __anonstruct_page_285 page ;
 5755   __u32 page_offset ;
 5756   __u32 size ;
 5757};
 5758#line 212 "include/linux/skbuff.h"
 5759struct skb_shared_hwtstamps {
 5760   ktime_t hwtstamp ;
 5761   ktime_t syststamp ;
 5762};
 5763#line 253 "include/linux/skbuff.h"
 5764struct skb_shared_info {
 5765   unsigned char nr_frags ;
 5766   __u8 tx_flags ;
 5767   unsigned short gso_size ;
 5768   unsigned short gso_segs ;
 5769   unsigned short gso_type ;
 5770   struct sk_buff *frag_list ;
 5771   struct skb_shared_hwtstamps hwtstamps ;
 5772   __be32 ip6_frag_id ;
 5773   atomic_t dataref ;
 5774   void *destructor_arg ;
 5775   skb_frag_t frags[65536UL / (1UL << 12) + 1UL] ;
 5776};
 5777#line 107 "include/scsi/fc/fc_fcp.h"
 5778struct fcp_txrdy {
 5779   __be32 ft_data_ro ;
 5780   __be32 ft_burst_len ;
 5781   __u8 _ft_resvd[4] ;
 5782};
 5783#line 131 "include/scsi/fc/fc_fcp.h"
 5784struct fcp_resp {
 5785   __u8 _fr_resvd[8] ;
 5786   __be16 fr_retry_delay ;
 5787   __u8 fr_flags ;
 5788   __u8 fr_status ;
 5789};
 5790#line 140 "include/scsi/fc/fc_fcp.h"
 5791struct fcp_resp_ext {
 5792   __be32 fr_resid ;
 5793   __be32 fr_sns_len ;
 5794   __be32 fr_rsp_len ;
 5795};
 5796#line 153 "include/scsi/fc/fc_fcp.h"
 5797struct fcp_resp_rsp_info {
 5798   __u8 _fr_resvd[3] ;
 5799   __u8 rsp_code ;
 5800   __u8 _fr_resvd2[4] ;
 5801};
 5802#line 194 "include/scsi/fc/fc_fcp.h"
 5803struct fcp_srr {
 5804   __u8 srr_op ;
 5805   __u8 srr_resvd[3] ;
 5806   __be16 srr_ox_id ;
 5807   __be16 srr_rx_id ;
 5808   __be32 srr_rel_off ;
 5809   __u8 srr_r_ctl ;
 5810   __u8 srr_resvd2[3] ;
 5811};
 5812#line 78 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
 5813struct fc_fcp_internal {
 5814   mempool_t *scsi_pkt_pool ;
 5815   spinlock_t scsi_queue_lock ;
 5816   struct list_head scsi_pkt_queue ;
 5817   unsigned long last_can_queue_ramp_down_time ;
 5818   unsigned long last_can_queue_ramp_up_time ;
 5819   int max_can_queue ;
 5820};
 5821#line 1798
 5822struct fc_remote_port;
 5823#line 290 "include/linux/timer.h"
 5824enum hrtimer_restart;
 5825#line 24 "include/linux/sysfs.h"
 5826enum kobj_ns_type;
 5827#line 1 "<compiler builtins>"
 5828
 5829#line 1
 5830long __builtin_expect(long val , long res ) ;
 5831#line 7 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/swab.h"
 5832__inline static __u32 __arch_swab32(__u32 val )  __attribute__((__no_instrument_function__)) ;
 5833
 5834#line 7 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/swab.h"
 5835__inline static __u32 __arch_swab32(__u32 val ) 
 5836{ 
 5837
 5838  {
 5839#line 21
 5840  __asm__  ("bswapl %0": "=r" (val): "0" (val));
 5841#line 25
 5842  return (val);
 5843}
 5844}
 5845#line 46 "include/linux/swab.h"
 5846__inline static __u16 __fswab16(__u16 val )  __attribute__((__no_instrument_function__)) ;
 5847
 5848#line 46 "include/linux/swab.h"
 5849__inline static __u16 __fswab16(__u16 val ) 
 5850{ int __cil_tmp2 ;
 5851  int __cil_tmp3 ;
 5852  int __cil_tmp4 ;
 5853  int __cil_tmp5 ;
 5854  int __cil_tmp6 ;
 5855  int __cil_tmp7 ;
 5856  int __cil_tmp8 ;
 5857
 5858  {
 5859  {
 5860#line 51
 5861  __cil_tmp2 = (int )val;
 5862#line 51
 5863  __cil_tmp3 = __cil_tmp2 & 65280;
 5864#line 51
 5865  __cil_tmp4 = __cil_tmp3 >> 8;
 5866#line 51
 5867  __cil_tmp5 = (int )val;
 5868#line 51
 5869  __cil_tmp6 = __cil_tmp5 & 255;
 5870#line 51
 5871  __cil_tmp7 = __cil_tmp6 << 8;
 5872#line 51
 5873  __cil_tmp8 = __cil_tmp7 | __cil_tmp4;
 5874#line 51
 5875  return ((__u16 )__cil_tmp8);
 5876  }
 5877}
 5878}
 5879#line 55
 5880__inline static __u32 __fswab32(__u32 val )  __attribute__((__no_instrument_function__)) ;
 5881
 5882#line 55 "include/linux/swab.h"
 5883__inline static __u32 __fswab32(__u32 val ) 
 5884{ __u32 tmp ;
 5885
 5886  {
 5887  {
 5888#line 58
 5889  tmp = __arch_swab32(val);
 5890  }
 5891#line 58
 5892  return (tmp);
 5893}
 5894}
 5895#line 34 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/string_64.h"
 5896extern void *__memcpy(void *to , void    *from , size_t len ) ;
 5897#line 55
 5898extern void *memset(void *s , int c , size_t n ) ;
 5899#line 70 "include/asm-generic/bug.h"
 5900extern void warn_slowpath_null(char    *file , int    line ) ;
 5901#line 88 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/percpu.h"
 5902extern void __bad_percpu_size(void) ;
 5903#line 220 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
 5904extern unsigned long kernel_stack  __attribute__((__section__(".data..percpu"))) ;
 5905#line 222
 5906__inline static struct thread_info *current_thread_info(void)  __attribute__((__no_instrument_function__)) ;
 5907#line 222 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
 5908__inline static struct thread_info *current_thread_info(void) 
 5909{ struct thread_info *ti ;
 5910  unsigned long pfo_ret__ ;
 5911  unsigned long __cil_tmp3 ;
 5912  unsigned long __cil_tmp4 ;
 5913  unsigned long __cil_tmp5 ;
 5914  unsigned long __cil_tmp6 ;
 5915  void *__cil_tmp7 ;
 5916
 5917  {
 5918#line 225
 5919  if ((int )8UL == 1) {
 5920#line 225
 5921    goto case_1;
 5922  } else
 5923#line 225
 5924  if ((int )8UL == 2) {
 5925#line 225
 5926    goto case_2;
 5927  } else
 5928#line 225
 5929  if ((int )8UL == 4) {
 5930#line 225
 5931    goto case_4;
 5932  } else
 5933#line 225
 5934  if ((int )8UL == 8) {
 5935#line 225
 5936    goto case_8;
 5937  } else {
 5938    {
 5939#line 225
 5940    goto switch_default;
 5941#line 225
 5942    if (0) {
 5943      case_1: /* CIL Label */ 
 5944#line 225
 5945      __asm__  ("mov"
 5946                "b "
 5947                "%%"
 5948                "gs"
 5949                ":"
 5950                "%P"
 5951                "1"
 5952                ",%0": "=q" (pfo_ret__): "p" (& kernel_stack));
 5953#line 225
 5954      goto switch_break;
 5955      case_2: /* CIL Label */ 
 5956#line 225
 5957      __asm__  ("mov"
 5958                "w "
 5959                "%%"
 5960                "gs"
 5961                ":"
 5962                "%P"
 5963                "1"
 5964                ",%0": "=r" (pfo_ret__): "p" (& kernel_stack));
 5965#line 225
 5966      goto switch_break;
 5967      case_4: /* CIL Label */ 
 5968#line 225
 5969      __asm__  ("mov"
 5970                "l "
 5971                "%%"
 5972                "gs"
 5973                ":"
 5974                "%P"
 5975                "1"
 5976                ",%0": "=r" (pfo_ret__): "p" (& kernel_stack));
 5977#line 225
 5978      goto switch_break;
 5979      case_8: /* CIL Label */ 
 5980#line 225
 5981      __asm__  ("mov"
 5982                "q "
 5983                "%%"
 5984                "gs"
 5985                ":"
 5986                "%P"
 5987                "1"
 5988                ",%0": "=r" (pfo_ret__): "p" (& kernel_stack));
 5989#line 225
 5990      goto switch_break;
 5991      switch_default: /* CIL Label */ 
 5992      {
 5993#line 225
 5994      __bad_percpu_size();
 5995      }
 5996    } else {
 5997      switch_break: /* CIL Label */ ;
 5998    }
 5999    }
 6000  }
 6001#line 225
 6002  __cil_tmp3 = 1UL << 12;
 6003#line 225
 6004  __cil_tmp4 = __cil_tmp3 << 1;
 6005#line 225
 6006  __cil_tmp5 = pfo_ret__ + 40UL;
 6007#line 225
 6008  __cil_tmp6 = __cil_tmp5 - __cil_tmp4;
 6009#line 225
 6010  __cil_tmp7 = (void *)__cil_tmp6;
 6011#line 225
 6012  ti = (struct thread_info *)__cil_tmp7;
 6013#line 227
 6014  return (ti);
 6015}
 6016}
 6017#line 47 "include/linux/list.h"
 6018extern void __list_add(struct list_head *new , struct list_head *prev , struct list_head *next ) ;
 6019#line 74
 6020__inline static void list_add_tail(struct list_head *new , struct list_head *head )  __attribute__((__no_instrument_function__)) ;
 6021#line 74 "include/linux/list.h"
 6022__inline static void list_add_tail(struct list_head *new , struct list_head *head ) 
 6023{ unsigned long __cil_tmp3 ;
 6024  unsigned long __cil_tmp4 ;
 6025  struct list_head *__cil_tmp5 ;
 6026
 6027  {
 6028  {
 6029#line 76
 6030  __cil_tmp3 = (unsigned long )head;
 6031#line 76
 6032  __cil_tmp4 = __cil_tmp3 + 8;
 6033#line 76
 6034  __cil_tmp5 = *((struct list_head **)__cil_tmp4);
 6035#line 76
 6036  __list_add(new, __cil_tmp5, head);
 6037  }
 6038#line 77
 6039  return;
 6040}
 6041}
 6042#line 112
 6043extern void list_del(struct list_head *entry ) ;
 6044#line 152 "include/linux/mutex.h"
 6045void mutex_lock(struct mutex *lock ) ;
 6046#line 153
 6047int __attribute__((__warn_unused_result__))  mutex_lock_interruptible(struct mutex *lock ) ;
 6048#line 154
 6049int __attribute__((__warn_unused_result__))  mutex_lock_killable(struct mutex *lock ) ;
 6050#line 168
 6051int mutex_trylock(struct mutex *lock ) ;
 6052#line 169
 6053void mutex_unlock(struct mutex *lock ) ;
 6054#line 170
 6055int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock ) ;
 6056#line 144 "include/linux/rcupdate.h"
 6057extern void synchronize_sched(void) ;
 6058#line 172
 6059__inline static void synchronize_rcu(void)  __attribute__((__no_instrument_function__)) ;
 6060#line 172 "include/linux/rcupdate.h"
 6061__inline static void synchronize_rcu(void) 
 6062{ 
 6063
 6064  {
 6065  {
 6066#line 174
 6067  synchronize_sched();
 6068  }
 6069#line 175
 6070  return;
 6071}
 6072}
 6073#line 141 "include/linux/notifier.h"
 6074extern int blocking_notifier_call_chain(struct blocking_notifier_head *nh , unsigned long val ,
 6075                                        void *v ) ;
 6076#line 737 "include/linux/mm.h"
 6077__inline static void *( __attribute__((__always_inline__)) lowmem_page_address)(struct page    *page )  __attribute__((__no_instrument_function__)) ;
 6078#line 737 "include/linux/mm.h"
 6079__inline static void *( __attribute__((__always_inline__)) lowmem_page_address)(struct page    *page ) 
 6080{ struct page *__cil_tmp2 ;
 6081  struct page    *__cil_tmp3 ;
 6082  int __cil_tmp4 ;
 6083  unsigned long __cil_tmp5 ;
 6084  phys_addr_t __cil_tmp6 ;
 6085  phys_addr_t __cil_tmp7 ;
 6086  unsigned long __cil_tmp8 ;
 6087  unsigned long __cil_tmp9 ;
 6088
 6089  {
 6090  {
 6091#line 739
 6092  __cil_tmp2 = (struct page *)0xffffea0000000000UL;
 6093#line 739
 6094  __cil_tmp3 = (struct page    *)__cil_tmp2;
 6095#line 739
 6096  __cil_tmp4 = page - __cil_tmp3;
 6097#line 739
 6098  __cil_tmp5 = (unsigned long )__cil_tmp4;
 6099#line 739
 6100  __cil_tmp6 = (phys_addr_t )__cil_tmp5;
 6101#line 739
 6102  __cil_tmp7 = __cil_tmp6 << 12;
 6103#line 739
 6104  __cil_tmp8 = (unsigned long )__cil_tmp7;
 6105#line 739
 6106  __cil_tmp9 = __cil_tmp8 + 0xffff880000000000UL;
 6107#line 739
 6108  return ((void *)__cil_tmp9);
 6109  }
 6110}
 6111}
 6112#line 95 "include/linux/scatterlist.h"
 6113__inline static struct page *sg_page(struct scatterlist *sg )  __attribute__((__no_instrument_function__)) ;
 6114#line 95 "include/linux/scatterlist.h"
 6115__inline static struct page *sg_page(struct scatterlist *sg ) 
 6116{ long tmp ;
 6117  long tmp___0 ;
 6118  unsigned long __cil_tmp4 ;
 6119  int __cil_tmp5 ;
 6120  int __cil_tmp6 ;
 6121  int __cil_tmp7 ;
 6122  long __cil_tmp8 ;
 6123  unsigned long __cil_tmp9 ;
 6124  unsigned long __cil_tmp10 ;
 6125  unsigned long __cil_tmp11 ;
 6126  unsigned long __cil_tmp12 ;
 6127  int __cil_tmp13 ;
 6128  int __cil_tmp14 ;
 6129  long __cil_tmp15 ;
 6130  unsigned long __cil_tmp16 ;
 6131  unsigned long __cil_tmp17 ;
 6132  unsigned long __cil_tmp18 ;
 6133  unsigned long __cil_tmp19 ;
 6134
 6135  {
 6136  {
 6137#line 98
 6138  while (1) {
 6139    while_continue: /* CIL Label */ ;
 6140    {
 6141#line 98
 6142    __cil_tmp4 = *((unsigned long *)sg);
 6143#line 98
 6144    __cil_tmp5 = __cil_tmp4 != 2271560481UL;
 6145#line 98
 6146    __cil_tmp6 = ! __cil_tmp5;
 6147#line 98
 6148    __cil_tmp7 = ! __cil_tmp6;
 6149#line 98
 6150    __cil_tmp8 = (long )__cil_tmp7;
 6151#line 98
 6152    tmp = __builtin_expect(__cil_tmp8, 0L);
 6153    }
 6154#line 98
 6155    if (tmp) {
 6156      {
 6157#line 98
 6158      while (1) {
 6159        while_continue___0: /* CIL Label */ ;
 6160#line 98
 6161        __asm__  volatile   ("1:\tud2\n"
 6162                             ".pushsection __bug_table,\"a\"\n"
 6163                             "2:\t.long 1b - 2b, %c0 - 2b\n"
 6164                             "\t.word %c1, 0\n"
 6165                             "\t.org 2b+%c2\n"
 6166                             ".popsection": : "i" ("include/linux/scatterlist.h"),
 6167                             "i" (98), "i" (12UL));
 6168        {
 6169#line 98
 6170        while (1) {
 6171          while_continue___1: /* CIL Label */ ;
 6172        }
 6173        while_break___1: /* CIL Label */ ;
 6174        }
 6175#line 98
 6176        goto while_break___0;
 6177      }
 6178      while_break___0: /* CIL Label */ ;
 6179      }
 6180    } else {
 6181
 6182    }
 6183#line 98
 6184    goto while_break;
 6185  }
 6186  while_break: /* CIL Label */ ;
 6187  }
 6188  {
 6189#line 99
 6190  while (1) {
 6191    while_continue___2: /* CIL Label */ ;
 6192    {
 6193#line 99
 6194    __cil_tmp9 = (unsigned long )sg;
 6195#line 99
 6196    __cil_tmp10 = __cil_tmp9 + 8;
 6197#line 99
 6198    __cil_tmp11 = *((unsigned long *)__cil_tmp10);
 6199#line 99
 6200    __cil_tmp12 = __cil_tmp11 & 1UL;
 6201#line 99
 6202    __cil_tmp13 = ! __cil_tmp12;
 6203#line 99
 6204    __cil_tmp14 = ! __cil_tmp13;
 6205#line 99
 6206    __cil_tmp15 = (long )__cil_tmp14;
 6207#line 99
 6208    tmp___0 = __builtin_expect(__cil_tmp15, 0L);
 6209    }
 6210#line 99
 6211    if (tmp___0) {
 6212      {
 6213#line 99
 6214      while (1) {
 6215        while_continue___3: /* CIL Label */ ;
 6216#line 99
 6217        __asm__  volatile   ("1:\tud2\n"
 6218                             ".pushsection __bug_table,\"a\"\n"
 6219                             "2:\t.long 1b - 2b, %c0 - 2b\n"
 6220                             "\t.word %c1, 0\n"
 6221                             "\t.org 2b+%c2\n"
 6222                             ".popsection": : "i" ("include/linux/scatterlist.h"),
 6223                             "i" (99), "i" (12UL));
 6224        {
 6225#line 99
 6226        while (1) {
 6227          while_continue___4: /* CIL Label */ ;
 6228        }
 6229        while_break___4: /* CIL Label */ ;
 6230        }
 6231#line 99
 6232        goto while_break___3;
 6233      }
 6234      while_break___3: /* CIL Label */ ;
 6235      }
 6236    } else {
 6237
 6238    }
 6239#line 99
 6240    goto while_break___2;
 6241  }
 6242  while_break___2: /* CIL Label */ ;
 6243  }
 6244  {
 6245#line 101
 6246  __cil_tmp16 = (unsigned long )sg;
 6247#line 101
 6248  __cil_tmp17 = __cil_tmp16 + 8;
 6249#line 101
 6250  __cil_tmp18 = *((unsigned long *)__cil_tmp17);
 6251#line 101
 6252  __cil_tmp19 = __cil_tmp18 & 0xfffffffffffffffcUL;
 6253#line 101
 6254  return ((struct page *)__cil_tmp19);
 6255  }
 6256}
 6257}
 6258#line 204
 6259extern struct scatterlist *sg_next(struct scatterlist * ) ;
 6260#line 11 "include/linux/crc32.h"
 6261extern u32 crc32_le(u32 crc , unsigned char    *p , size_t len ) ;
 6262#line 356 "include/linux/moduleparam.h"
 6263extern struct kernel_param_ops param_ops_int ;
 6264#line 67 "include/linux/module.h"
 6265int init_module(void) ;
 6266#line 68
 6267void cleanup_module(void) ;
 6268#line 16 "include/linux/uaccess.h"
 6269__inline static void pagefault_disable(void)  __attribute__((__no_instrument_function__)) ;
 6270#line 16 "include/linux/uaccess.h"
 6271__inline static void pagefault_disable(void) 
 6272{ struct thread_info *tmp___7 ;
 6273  unsigned long __cil_tmp2 ;
 6274  unsigned long __cil_tmp3 ;
 6275  unsigned long __cil_tmp4 ;
 6276  unsigned long __cil_tmp5 ;
 6277  int __cil_tmp6 ;
 6278
 6279  {
 6280  {
 6281#line 18
 6282  while (1) {
 6283    while_continue: /* CIL Label */ ;
 6284    {
 6285#line 18
 6286    tmp___7 = current_thread_info();
 6287#line 18
 6288    __cil_tmp2 = (unsigned long )tmp___7;
 6289#line 18
 6290    __cil_tmp3 = __cil_tmp2 + 28;
 6291#line 18
 6292    __cil_tmp4 = (unsigned long )tmp___7;
 6293#line 18
 6294    __cil_tmp5 = __cil_tmp4 + 28;
 6295#line 18
 6296    __cil_tmp6 = *((int *)__cil_tmp5);
 6297#line 18
 6298    *((int *)__cil_tmp3) = __cil_tmp6 + 1;
 6299    }
 6300#line 18
 6301    goto while_break;
 6302  }
 6303  while_break: /* CIL Label */ ;
 6304  }
 6305#line 23
 6306  __asm__  volatile   ("": : : "memory");
 6307#line 24
 6308  return;
 6309}
 6310}
 6311#line 26
 6312__inline static void pagefault_enable(void)  __attribute__((__no_instrument_function__)) ;
 6313#line 26 "include/linux/uaccess.h"
 6314__inline static void pagefault_enable(void) 
 6315{ struct thread_info *tmp___7 ;
 6316  unsigned long __cil_tmp2 ;
 6317  unsigned long __cil_tmp3 ;
 6318  unsigned long __cil_tmp4 ;
 6319  unsigned long __cil_tmp5 ;
 6320  int __cil_tmp6 ;
 6321
 6322  {
 6323#line 32
 6324  __asm__  volatile   ("": : : "memory");
 6325  {
 6326#line 33
 6327  while (1) {
 6328    while_continue: /* CIL Label */ ;
 6329    {
 6330#line 33
 6331    tmp___7 = current_thread_info();
 6332#line 33
 6333    __cil_tmp2 = (unsigned long )tmp___7;
 6334#line 33
 6335    __cil_tmp3 = __cil_tmp2 + 28;
 6336#line 33
 6337    __cil_tmp4 = (unsigned long )tmp___7;
 6338#line 33
 6339    __cil_tmp5 = __cil_tmp4 + 28;
 6340#line 33
 6341    __cil_tmp6 = *((int *)__cil_tmp5);
 6342#line 33
 6343    *((int *)__cil_tmp3) = __cil_tmp6 - 1;
 6344    }
 6345#line 33
 6346    goto while_break;
 6347  }
 6348  while_break: /* CIL Label */ ;
 6349  }
 6350#line 37
 6351  __asm__  volatile   ("": : : "memory");
 6352  {
 6353#line 38
 6354  while (1) {
 6355    while_continue___0: /* CIL Label */ ;
 6356#line 38
 6357    goto while_break___0;
 6358  }
 6359  while_break___0: /* CIL Label */ ;
 6360  }
 6361#line 39
 6362  return;
 6363}
 6364}
 6365#line 59 "include/linux/highmem.h"
 6366__inline static void *kmap_atomic(struct page *page )  __attribute__((__no_instrument_function__)) ;
 6367#line 59 "include/linux/highmem.h"
 6368__inline static void *kmap_atomic(struct page *page ) 
 6369{ void *tmp___7 ;
 6370  struct page    *__cil_tmp3 ;
 6371
 6372  {
 6373  {
 6374#line 61
 6375  pagefault_disable();
 6376#line 62
 6377  __cil_tmp3 = (struct page    *)page;
 6378#line 62
 6379  tmp___7 = lowmem_page_address(__cil_tmp3);
 6380  }
 6381#line 62
 6382  return (tmp___7);
 6383}
 6384}
 6385#line 66
 6386__inline static void __kunmap_atomic(void *addr )  __attribute__((__no_instrument_function__)) ;
 6387#line 66 "include/linux/highmem.h"
 6388__inline static void __kunmap_atomic(void *addr ) 
 6389{ 
 6390
 6391  {
 6392  {
 6393#line 68
 6394  pagefault_enable();
 6395  }
 6396#line 69
 6397  return;
 6398}
 6399}
 6400#line 1292 "include/linux/skbuff.h"
 6401extern unsigned char *skb_put(struct sk_buff *skb , unsigned int len ) ;
 6402#line 43 "include/scsi/fc_frame.h"
 6403__inline static void hton24(u8 *p , u32 v )  __attribute__((__no_instrument_function__)) ;
 6404#line 43 "include/scsi/fc_frame.h"
 6405__inline static void hton24(u8 *p , u32 v ) 
 6406{ u8 *__cil_tmp3 ;
 6407  u32 __cil_tmp4 ;
 6408  unsigned int __cil_tmp5 ;
 6409  u8 *__cil_tmp6 ;
 6410  u32 __cil_tmp7 ;
 6411  unsigned int __cil_tmp8 ;
 6412  u8 *__cil_tmp9 ;
 6413  unsigned int __cil_tmp10 ;
 6414
 6415  {
 6416#line 45
 6417  __cil_tmp3 = p + 0;
 6418#line 45
 6419  __cil_tmp4 = v >> 16;
 6420#line 45
 6421  __cil_tmp5 = __cil_tmp4 & 255U;
 6422#line 45
 6423  *__cil_tmp3 = (u8 )__cil_tmp5;
 6424#line 46
 6425  __cil_tmp6 = p + 1;
 6426#line 46
 6427  __cil_tmp7 = v >> 8;
 6428#line 46
 6429  __cil_tmp8 = __cil_tmp7 & 255U;
 6430#line 46
 6431  *__cil_tmp6 = (u8 )__cil_tmp8;
 6432#line 47
 6433  __cil_tmp9 = p + 2;
 6434#line 47
 6435  __cil_tmp10 = v & 255U;
 6436#line 47
 6437  *__cil_tmp9 = (u8 )__cil_tmp10;
 6438#line 48
 6439  return;
 6440}
 6441}
 6442#line 160
 6443__inline static struct fc_frame_header *__fc_frame_header_get(struct fc_frame    *fp )  __attribute__((__no_instrument_function__)) ;
 6444#line 160 "include/scsi/fc_frame.h"
 6445__inline static struct fc_frame_header *__fc_frame_header_get(struct fc_frame    *fp ) 
 6446{ unsigned long __cil_tmp2 ;
 6447  unsigned long __cil_tmp3 ;
 6448  unsigned long __cil_tmp4 ;
 6449  unsigned char *   __cil_tmp5 ;
 6450
 6451  {
 6452  {
 6453#line 163
 6454  __cil_tmp2 = 0 + 224;
 6455#line 163
 6456  __cil_tmp3 = (unsigned long )fp;
 6457#line 163
 6458  __cil_tmp4 = __cil_tmp3 + __cil_tmp2;
 6459#line 163
 6460  __cil_tmp5 = *((unsigned char *   *)__cil_tmp4);
 6461#line 163
 6462  return ((struct fc_frame_header *)__cil_tmp5);
 6463  }
 6464}
 6465}
 6466#line 797 "include/scsi/libfc.h"
 6467struct blocking_notifier_head fc_lport_notifier_head ;
 6468#line 928
 6469int fc_fc4_register_provider(enum fc_fh_type type , struct fc4_prov *prov ) ;
 6470#line 929
 6471void fc_fc4_deregister_provider(enum fc_fh_type type , struct fc4_prov *prov ) ;
 6472#line 1061
 6473void fc_lport_iterate(void (*notify)(struct fc_lport * , void * ) , void *arg ) ;
 6474#line 1109
 6475void fc_fill_reply_hdr(struct fc_frame *fp , struct fc_frame    *in_fp , enum fc_rctl r_ctl ,
 6476                       u32 parm_offset ) ;
 6477#line 1111
 6478void fc_fill_hdr(struct fc_frame *fp , struct fc_frame    *in_fp , enum fc_rctl r_ctl ,
 6479                 u32 f_ctl , u16 seq_cnt , u32 parm_offset ) ;
 6480#line 32 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/scsi/libfc/fc_libfc.h"
 6481unsigned int fc_debug_logging  ;
 6482#line 99
 6483struct fc4_prov *fc_active_prov[9] ;
 6484#line 100
 6485struct fc4_prov *fc_passive_prov[9] ;
 6486#line 101
 6487struct mutex fc_prov_mutex ;
 6488#line 103
 6489struct fc4_prov fc_rport_t0_prov ;
 6490#line 104
 6491struct fc4_prov fc_lport_els_prov ;
 6492#line 105
 6493struct fc4_prov fc_rport_fcp_init ;
 6494#line 116
 6495int fc_setup_exch_mgr(void) ;
 6496#line 117
 6497void fc_destroy_exch_mgr(void) ;
 6498#line 118
 6499int fc_setup_rport(void) ;
 6500#line 119
 6501void fc_destroy_rport(void) ;
 6502#line 120
 6503int fc_setup_fcp(void) ;
 6504#line 121
 6505void fc_destroy_fcp(void) ;
 6506#line 127
 6507void fc_fc4_add_lport(struct fc_lport *lport ) ;
 6508#line 128
 6509void fc_fc4_del_lport(struct fc_lport *lport ) ;
 6510#line 129
 6511void fc_fc4_conf_lport_params(struct fc_lport *lport , enum fc_fh_type type ) ;
 6512#line 134
 6513u32 fc_copy_buffer_to_sglist(void *buf , size_t len , struct scatterlist *sg , u32 *nents ,
 6514                             size_t *offset , u32 *crc ) ;
 6515#line 32 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6516static char    __mod_author32[21]  __attribute__((__used__, __unused__, __section__(".modinfo"),
 6517__aligned__(1)))  = 
 6518#line 32 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6519  {      (char    )'a',      (char    )'u',      (char const   )'t',      (char const   )'h', 
 6520        (char    )'o',      (char    )'r',      (char const   )'=',      (char const   )'O', 
 6521        (char    )'p',      (char    )'e',      (char const   )'n',      (char const   )'-', 
 6522        (char    )'F',      (char    )'C',      (char const   )'o',      (char const   )'E', 
 6523        (char    )'.',      (char    )'o',      (char const   )'r',      (char const   )'g', 
 6524        (char    )'\000'};
 6525#line 33 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6526static char    __mod_description33[18]  __attribute__((__used__, __unused__,
 6527__section__(".modinfo"), __aligned__(1)))  = 
 6528#line 33
 6529  {      (char    )'d',      (char    )'e',      (char const   )'s',      (char const   )'c', 
 6530        (char    )'r',      (char    )'i',      (char const   )'p',      (char const   )'t', 
 6531        (char    )'i',      (char    )'o',      (char const   )'n',      (char const   )'=', 
 6532        (char    )'l',      (char    )'i',      (char const   )'b',      (char const   )'f', 
 6533        (char    )'c',      (char    )'\000'};
 6534#line 34 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6535static char    __mod_license34[15]  __attribute__((__used__, __unused__, __section__(".modinfo"),
 6536__aligned__(1)))  = 
 6537#line 34
 6538  {      (char    )'l',      (char    )'i',      (char const   )'c',      (char const   )'e', 
 6539        (char    )'n',      (char    )'s',      (char const   )'e',      (char const   )'=', 
 6540        (char    )'G',      (char    )'P',      (char const   )'L',      (char const   )' ', 
 6541        (char    )'v',      (char    )'2',      (char const   )'\000'};
 6542#line 37 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6543static char    __param_str_debug_logging[14]  = 
 6544#line 37
 6545  {      (char    )'d',      (char    )'e',      (char const   )'b',      (char const   )'u', 
 6546        (char    )'g',      (char    )'_',      (char const   )'l',      (char const   )'o', 
 6547        (char    )'g',      (char    )'g',      (char const   )'i',      (char const   )'n', 
 6548        (char    )'g',      (char    )'\000'};
 6549#line 37 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6550static struct kernel_param    __param_debug_logging  __attribute__((__used__,
 6551__unused__, __section__("__param"), __aligned__(sizeof(void *))))  =    {__param_str_debug_logging, (struct kernel_param_ops    *)(& param_ops_int),
 6552    (u16 )420, (s16 )0, {(void *)(& fc_debug_logging)}};
 6553#line 37 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6554static char    __mod_debug_loggingtype37[27]  __attribute__((__used__, __unused__,
 6555__section__(".modinfo"), __aligned__(1)))  = 
 6556#line 37
 6557  {      (char    )'p',      (char    )'a',      (char const   )'r',      (char const   )'m', 
 6558        (char    )'t',      (char    )'y',      (char const   )'p',      (char const   )'e', 
 6559        (char    )'=',      (char    )'d',      (char const   )'e',      (char const   )'b', 
 6560        (char    )'u',      (char    )'g',      (char const   )'_',      (char const   )'l', 
 6561        (char    )'o',      (char    )'g',      (char const   )'g',      (char const   )'i', 
 6562        (char    )'n',      (char    )'g',      (char const   )':',      (char const   )'i', 
 6563        (char    )'n',      (char    )'t',      (char const   )'\000'};
 6564#line 38 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6565static char    __mod_debug_logging38[48]  __attribute__((__used__, __unused__,
 6566__section__(".modinfo"), __aligned__(1)))  = 
 6567#line 38
 6568  {      (char    )'p',      (char    )'a',      (char const   )'r',      (char const   )'m', 
 6569        (char    )'=',      (char    )'d',      (char const   )'e',      (char const   )'b', 
 6570        (char    )'u',      (char    )'g',      (char const   )'_',      (char const   )'l', 
 6571        (char    )'o',      (char    )'g',      (char const   )'g',      (char const   )'i', 
 6572        (char    )'n',      (char    )'g',      (char const   )':',      (char const   )'a', 
 6573        (char    )' ',      (char    )'b',      (char const   )'i',      (char const   )'t', 
 6574        (char    )' ',      (char    )'m',      (char const   )'a',      (char const   )'s', 
 6575        (char    )'k',      (char    )' ',      (char const   )'o',      (char const   )'f', 
 6576        (char    )' ',      (char    )'l',      (char const   )'o',      (char const   )'g', 
 6577        (char    )'g',      (char    )'i',      (char const   )'n',      (char const   )'g', 
 6578        (char    )' ',      (char    )'l',      (char const   )'e',      (char const   )'v', 
 6579        (char    )'e',      (char    )'l',      (char const   )'s',      (char const   )'\000'};
 6580#line 40 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6581struct mutex fc_prov_mutex  =    {{1}, {{{{{(__ticketpair_t )0}}, 3735899821U, 4294967295U, (void *)-1L}}}, {& fc_prov_mutex.wait_list,
 6582                                                                               & fc_prov_mutex.wait_list},
 6583    (struct task_struct *)0, (char    *)0, (void *)(& fc_prov_mutex)};
 6584#line 41 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6585static struct list_head fc_local_ports  =    {& fc_local_ports, & fc_local_ports};
 6586#line 42 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6587struct blocking_notifier_head fc_lport_notifier_head  =    {{0L, {{{(__ticketpair_t )0}}, 3735899821U, 4294967295U, (void *)-1L}, {& fc_lport_notifier_head.rwsem.wait_list,
 6588                                                                           & fc_lport_notifier_head.rwsem.wait_list}},
 6589    (struct notifier_block *)((void *)0)};
 6590#line 44
 6591extern void *__crc_fc_lport_notifier_head  __attribute__((__weak__)) ;
 6592#line 44 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6593static unsigned long    __kcrctab_fc_lport_notifier_head  __attribute__((__used__,
 6594__unused__, __section__("___kcrctab+fc_lport_notifier_head")))  =    (unsigned long    )((unsigned long )(& __crc_fc_lport_notifier_head));
 6595#line 44 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6596static char    __kstrtab_fc_lport_notifier_head[23]  __attribute__((__section__("__ksymtab_strings"),
 6597__aligned__(1)))  = 
 6598#line 44
 6599  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'l', 
 6600        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
 6601        (char    )'_',      (char    )'n',      (char const   )'o',      (char const   )'t', 
 6602        (char    )'i',      (char    )'f',      (char const   )'i',      (char const   )'e', 
 6603        (char    )'r',      (char    )'_',      (char const   )'h',      (char const   )'e', 
 6604        (char    )'a',      (char    )'d',      (char const   )'\000'};
 6605#line 44 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6606static struct kernel_symbol    __ksymtab_fc_lport_notifier_head  __attribute__((__used__,
 6607__unused__, __section__("___ksymtab+fc_lport_notifier_head")))  =    {(unsigned long )(& fc_lport_notifier_head), __kstrtab_fc_lport_notifier_head};
 6608#line 49 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6609struct fc4_prov *fc_active_prov[9]  = 
 6610#line 49
 6611  {      & fc_rport_t0_prov,      (struct fc4_prov *)0,      (struct fc4_prov *)0,      (struct fc4_prov *)0, 
 6612        (struct fc4_prov *)0,      (struct fc4_prov *)0,      (struct fc4_prov *)0,      (struct fc4_prov *)0, 
 6613        & fc_rport_fcp_init};
 6614#line 57 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6615struct fc4_prov *fc_passive_prov[9]  = 
 6616#line 57
 6617  {      (struct fc4_prov *)0,      & fc_lport_els_prov,      (struct fc4_prov *)0,      (struct fc4_prov *)0, 
 6618        (struct fc4_prov *)0,      (struct fc4_prov *)0,      (struct fc4_prov *)0,      (struct fc4_prov *)0, 
 6619        (struct fc4_prov *)0};
 6620#line 64
 6621static int libfc_init(void)  __attribute__((__section__(".init.text"), __no_instrument_function__)) ;
 6622#line 64 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6623static int libfc_init(void) 
 6624{ int rc ;
 6625
 6626  {
 6627  {
 6628#line 66
 6629  rc = 0;
 6630#line 68
 6631  rc = fc_setup_fcp();
 6632  }
 6633#line 69
 6634  if (rc) {
 6635#line 70
 6636    return (rc);
 6637  } else {
 6638
 6639  }
 6640  {
 6641#line 72
 6642  rc = fc_setup_exch_mgr();
 6643  }
 6644#line 73
 6645  if (rc) {
 6646#line 74
 6647    goto destroy_pkt_cache;
 6648  } else {
 6649
 6650  }
 6651  {
 6652#line 76
 6653  rc = fc_setup_rport();
 6654  }
 6655#line 77
 6656  if (rc) {
 6657#line 78
 6658    goto destroy_em;
 6659  } else {
 6660
 6661  }
 6662#line 80
 6663  return (rc);
 6664  destroy_em: 
 6665  {
 6666#line 82
 6667  fc_destroy_exch_mgr();
 6668  }
 6669  destroy_pkt_cache: 
 6670  {
 6671#line 84
 6672  fc_destroy_fcp();
 6673  }
 6674#line 85
 6675  return (rc);
 6676}
 6677}
 6678#line 87 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6679int init_module(void) 
 6680{ int tmp___7 ;
 6681
 6682  {
 6683  {
 6684#line 87
 6685  tmp___7 = libfc_init();
 6686  }
 6687#line 87
 6688  return (tmp___7);
 6689}
 6690}
 6691#line 92
 6692static void libfc_exit(void)  __attribute__((__section__(".exit.text"), __no_instrument_function__)) ;
 6693#line 92 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6694static void libfc_exit(void) 
 6695{ 
 6696
 6697  {
 6698  {
 6699#line 94
 6700  fc_destroy_fcp();
 6701#line 95
 6702  fc_destroy_exch_mgr();
 6703#line 96
 6704  fc_destroy_rport();
 6705  }
 6706#line 97
 6707  return;
 6708}
 6709}
 6710#line 98 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6711void cleanup_module(void) 
 6712{ 
 6713
 6714  {
 6715  {
 6716#line 98
 6717  libfc_exit();
 6718  }
 6719#line 98
 6720  return;
 6721}
 6722}
 6723#line 112 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 6724u32 fc_copy_buffer_to_sglist(void *buf , size_t len , struct scatterlist *sg , u32 *nents ,
 6725                             size_t *offset , u32 *crc ) 
 6726{ size_t remaining ;
 6727  u32 copy_len ;
 6728  size_t off ;
 6729  size_t sg_bytes ;
 6730  void *page_addr ;
 6731  size_t _min1 ;
 6732  size_t _min2 ;
 6733  size_t tmp___7 ;
 6734  size_t _min1___0 ;
 6735  size_t _min2___0 ;
 6736  size_t tmp___8 ;
 6737  struct page *tmp___9 ;
 6738  size_t __len ;
 6739  void *__ret ;
 6740  unsigned long __cil_tmp21 ;
 6741  unsigned long __cil_tmp22 ;
 6742  unsigned int __cil_tmp23 ;
 6743  size_t __cil_tmp24 ;
 6744  size_t __cil_tmp25 ;
 6745  u32 __cil_tmp26 ;
 6746  u32 __cil_tmp27 ;
 6747  unsigned long __cil_tmp28 ;
 6748  unsigned long __cil_tmp29 ;
 6749  unsigned int __cil_tmp30 ;
 6750  size_t __cil_tmp31 ;
 6751  size_t __cil_tmp32 ;
 6752  size_t *__cil_tmp33 ;
 6753  size_t *__cil_tmp34 ;
 6754  size_t __cil_tmp35 ;
 6755  unsigned long __cil_tmp36 ;
 6756  unsigned long __cil_tmp37 ;
 6757  unsigned int __cil_tmp38 ;
 6758  size_t __cil_tmp39 ;
 6759  size_t *__cil_tmp40 ;
 6760  size_t __cil_tmp41 ;
 6761  size_t *__cil_tmp42 ;
 6762  size_t __cil_tmp43 ;
 6763  size_t *__cil_tmp44 ;
 6764  size_t *__cil_tmp45 ;
 6765  unsigned long __cil_tmp46 ;
 6766  unsigned long __cil_tmp47 ;
 6767  unsigned int __cil_tmp48 ;
 6768  size_t __cil_tmp49 ;
 6769  size_t __cil_tmp50 ;
 6770  size_t *__cil_tmp51 ;
 6771  size_t *__cil_tmp52 ;
 6772  unsigned long __cil_tmp53 ;
 6773  unsigned long __cil_tmp54 ;
 6774  unsigned long __cil_tmp55 ;
 6775  unsigned long __cil_tmp56 ;
 6776  unsigned long __cil_tmp57 ;
 6777  unsigned long __cil_tmp58 ;
 6778  size_t *__cil_tmp59 ;
 6779  size_t __cil_tmp60 ;
 6780  size_t *__cil_tmp61 ;
 6781  size_t __cil_tmp62 ;
 6782  size_t *__cil_tmp63 ;
 6783  size_t *__cil_tmp64 ;
 6784  size_t __cil_tmp65 ;
 6785  struct page *__cil_tmp66 ;
 6786  u32 __cil_tmp67 ;
 6787  unsigned char    *__cil_tmp68 ;
 6788  unsigned long __cil_tmp69 ;
 6789  unsigned long __cil_tmp70 ;
 6790  unsigned long __cil_tmp71 ;
 6791  unsigned long __cil_tmp72 ;
 6792  unsigned long __cil_tmp73 ;
 6793  char *__cil_tmp74 ;
 6794  char *__cil_tmp75 ;
 6795  void *__cil_tmp76 ;
 6796  void    *__cil_tmp77 ;
 6797  size_t __cil_tmp78 ;
 6798  size_t __cil_tmp79 ;
 6799  size_t __cil_tmp80 ;
 6800
 6801  {
 6802#line 117
 6803  remaining = len;
 6804#line 118
 6805  copy_len = (u32 )0;
 6806  {
 6807#line 120
 6808  while (1) {
 6809    while_continue: /* CIL Label */ ;
 6810#line 120
 6811    if (remaining > 0UL) {
 6812#line 120
 6813      if (sg) {
 6814
 6815      } else {
 6816#line 120
 6817        goto while_break;
 6818      }
 6819    } else {
 6820#line 120
 6821      goto while_break;
 6822    }
 6823    {
 6824#line 124
 6825    __cil_tmp21 = (unsigned long )sg;
 6826#line 124
 6827    __cil_tmp22 = __cil_tmp21 + 20;
 6828#line 124
 6829    __cil_tmp23 = *((unsigned int *)__cil_tmp22);
 6830#line 124
 6831    __cil_tmp24 = (size_t )__cil_tmp23;
 6832#line 124
 6833    __cil_tmp25 = *offset;
 6834#line 124
 6835    if (__cil_tmp25 >= __cil_tmp24) {
 6836      {
 6837#line 129
 6838      __cil_tmp26 = *nents;
 6839#line 129
 6840      if (! __cil_tmp26) {
 6841#line 130
 6842        goto while_break;
 6843      } else {
 6844
 6845      }
 6846      }
 6847      {
 6848#line 131
 6849      __cil_tmp27 = *nents;
 6850#line 131
 6851      *nents = __cil_tmp27 - 1U;
 6852#line 132
 6853      __cil_tmp28 = (unsigned long )sg;
 6854#line 132
 6855      __cil_tmp29 = __cil_tmp28 + 20;
 6856#line 132
 6857      __cil_tmp30 = *((unsigned int *)__cil_tmp29);
 6858#line 132
 6859      __cil_tmp31 = (size_t )__cil_tmp30;
 6860#line 132
 6861      __cil_tmp32 = *offset;
 6862#line 132
 6863      *offset = __cil_tmp32 - __cil_tmp31;
 6864#line 133
 6865      sg = sg_next(sg);
 6866      }
 6867#line 134
 6868      goto while_continue;
 6869    } else {
 6870
 6871    }
 6872    }
 6873#line 136
 6874    __cil_tmp33 = & _min1;
 6875#line 136
 6876    *__cil_tmp33 = remaining;
 6877#line 136
 6878    __cil_tmp34 = & _min2;
 6879#line 136
 6880    __cil_tmp35 = *offset;
 6881#line 136
 6882    __cil_tmp36 = (unsigned long )sg;
 6883#line 136
 6884    __cil_tmp37 = __cil_tmp36 + 20;
 6885#line 136
 6886    __cil_tmp38 = *((unsigned int *)__cil_tmp37);
 6887#line 136
 6888    __cil_tmp39 = (size_t )__cil_tmp38;
 6889#line 136
 6890    *__cil_tmp34 = __cil_tmp39 - __cil_tmp35;
 6891    {
 6892#line 136
 6893    __cil_tmp40 = & _min2;
 6894#line 136
 6895    __cil_tmp41 = *__cil_tmp40;
 6896#line 136
 6897    __cil_tmp42 = & _min1;
 6898#line 136
 6899    __cil_tmp43 = *__cil_tmp42;
 6900#line 136
 6901    if (__cil_tmp43 < __cil_tmp41) {
 6902#line 136
 6903      __cil_tmp44 = & _min1;
 6904#line 136
 6905      tmp___7 = *__cil_tmp44;
 6906    } else {
 6907#line 136
 6908      __cil_tmp45 = & _min2;
 6909#line 136
 6910      tmp___7 = *__cil_tmp45;
 6911    }
 6912    }
 6913#line 136
 6914    sg_bytes = tmp___7;
 6915#line 142
 6916    __cil_tmp46 = (unsigned long )sg;
 6917#line 142
 6918    __cil_tmp47 = __cil_tmp46 + 16;
 6919#line 142
 6920    __cil_tmp48 = *((unsigned int *)__cil_tmp47);
 6921#line 142
 6922    __cil_tmp49 = (size_t )__cil_tmp48;
 6923#line 142
 6924    __cil_tmp50 = *offset;
 6925#line 142
 6926    off = __cil_tmp50 + __cil_tmp49;
 6927#line 143
 6928    __cil_tmp51 = & _min1___0;
 6929#line 143
 6930    *__cil_tmp51 = sg_bytes;
 6931#line 143
 6932    __cil_tmp52 = & _min2___0;
 6933#line 143
 6934    __cil_tmp53 = 1UL << 12;
 6935#line 143
 6936    __cil_tmp54 = __cil_tmp53 - 1UL;
 6937#line 143
 6938    __cil_tmp55 = ~ __cil_tmp54;
 6939#line 143
 6940    __cil_tmp56 = ~ __cil_tmp55;
 6941#line 143
 6942    __cil_tmp57 = off & __cil_tmp56;
 6943#line 143
 6944    __cil_tmp58 = 1UL << 12;
 6945#line 143
 6946    *__cil_tmp52 = __cil_tmp58 - __cil_tmp57;
 6947    {
 6948#line 143
 6949    __cil_tmp59 = & _min2___0;
 6950#line 143
 6951    __cil_tmp60 = *__cil_tmp59;
 6952#line 143
 6953    __cil_tmp61 = & _min1___0;
 6954#line 143
 6955    __cil_tmp62 = *__cil_tmp61;
 6956#line 143
 6957    if (__cil_tmp62 < __cil_tmp60) {
 6958#line 143
 6959      __cil_tmp63 = & _min1___0;
 6960#line 143
 6961      tmp___8 = *__cil_tmp63;
 6962    } else {
 6963#line 143
 6964      __cil_tmp64 = & _min2___0;
 6965#line 143
 6966      tmp___8 = *__cil_tmp64;
 6967    }
 6968    }
 6969    {
 6970#line 143
 6971    sg_bytes = tmp___8;
 6972#line 145
 6973    tmp___9 = sg_page(sg);
 6974#line 145
 6975    __cil_tmp65 = off >> 12;
 6976#line 145
 6977    __cil_tmp66 = tmp___9 + __cil_tmp65;
 6978#line 145
 6979    page_addr = kmap_atomic(__cil_tmp66);
 6980    }
 6981#line 146
 6982    if (crc) {
 6983      {
 6984#line 147
 6985      __cil_tmp67 = *crc;
 6986#line 147
 6987      __cil_tmp68 = (unsigned char    *)buf;
 6988#line 147
 6989      *crc = crc32_le(__cil_tmp67, __cil_tmp68, sg_bytes);
 6990      }
 6991    } else {
 6992
 6993    }
 6994    {
 6995#line 148
 6996    __len = sg_bytes;
 6997#line 148
 6998    __cil_tmp69 = 1UL << 12;
 6999#line 148
 7000    __cil_tmp70 = __cil_tmp69 - 1UL;
 7001#line 148
 7002    __cil_tmp71 = ~ __cil_tmp70;
 7003#line 148
 7004    __cil_tmp72 = ~ __cil_tmp71;
 7005#line 148
 7006    __cil_tmp73 = off & __cil_tmp72;
 7007#line 148
 7008    __cil_tmp74 = (char *)page_addr;
 7009#line 148
 7010    __cil_tmp75 = __cil_tmp74 + __cil_tmp73;
 7011#line 148
 7012    __cil_tmp76 = (void *)__cil_tmp75;
 7013#line 148
 7014    __cil_tmp77 = (void    *)buf;
 7015#line 148
 7016    __ret = __builtin_memcpy(__cil_tmp76, __cil_tmp77, __len);
 7017    }
 7018    {
 7019#line 149
 7020    while (1) {
 7021      while_continue___0: /* CIL Label */ ;
 7022      {
 7023#line 149
 7024      __kunmap_atomic(page_addr);
 7025      }
 7026#line 149
 7027      goto while_break___0;
 7028    }
 7029    while_break___0: /* CIL Label */ ;
 7030    }
 7031#line 150
 7032    buf = buf + sg_bytes;
 7033#line 151
 7034    __cil_tmp78 = *offset;
 7035#line 151
 7036    *offset = __cil_tmp78 + sg_bytes;
 7037#line 152
 7038    remaining = remaining - sg_bytes;
 7039#line 153
 7040    __cil_tmp79 = (size_t )copy_len;
 7041#line 153
 7042    __cil_tmp80 = __cil_tmp79 + sg_bytes;
 7043#line 153
 7044    copy_len = (u32 )__cil_tmp80;
 7045  }
 7046  while_break: /* CIL Label */ ;
 7047  }
 7048#line 155
 7049  return (copy_len);
 7050}
 7051}
 7052#line 167 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 7053void fc_fill_hdr(struct fc_frame *fp , struct fc_frame    *in_fp , enum fc_rctl r_ctl ,
 7054                 u32 f_ctl , u16 seq_cnt , u32 parm_offset ) 
 7055{ struct fc_frame_header *fh ;
 7056  struct fc_frame_header *in_fh ;
 7057  struct fc_seq *sp ;
 7058  u32 fill ;
 7059  unsigned char *tmp___7 ;
 7060  int __ret_warn_on ;
 7061  long tmp___8 ;
 7062  size_t __len ;
 7063  void *__ret ;
 7064  size_t __len___0 ;
 7065  void *__ret___0 ;
 7066  __u32 tmp___9 ;
 7067  __u16 tmp___10 ;
 7068  struct fc_frame    *__cil_tmp20 ;
 7069  int __cil_tmp21 ;
 7070  unsigned int __cil_tmp22 ;
 7071  unsigned long __cil_tmp23 ;
 7072  unsigned long __cil_tmp24 ;
 7073  unsigned long __cil_tmp25 ;
 7074  unsigned int __cil_tmp26 ;
 7075  unsigned int __cil_tmp27 ;
 7076  struct sk_buff *__cil_tmp28 ;
 7077  void *__cil_tmp29 ;
 7078  size_t __cil_tmp30 ;
 7079  unsigned long __cil_tmp31 ;
 7080  unsigned long __cil_tmp32 ;
 7081  unsigned long __cil_tmp33 ;
 7082  unsigned long __cil_tmp34 ;
 7083  unsigned long __cil_tmp35 ;
 7084  char *__cil_tmp36 ;
 7085  struct fcoe_rcv_info *__cil_tmp37 ;
 7086  unsigned long __cil_tmp38 ;
 7087  unsigned long __cil_tmp39 ;
 7088  unsigned long __cil_tmp40 ;
 7089  unsigned long __cil_tmp41 ;
 7090  unsigned long __cil_tmp42 ;
 7091  unsigned int __cil_tmp43 ;
 7092  unsigned int __cil_tmp44 ;
 7093  int __cil_tmp45 ;
 7094  int __cil_tmp46 ;
 7095  int __cil_tmp47 ;
 7096  int __cil_tmp48 ;
 7097  long __cil_tmp49 ;
 7098  int    __cil_tmp50 ;
 7099  int __cil_tmp51 ;
 7100  int __cil_tmp52 ;
 7101  long __cil_tmp53 ;
 7102  unsigned long __cil_tmp54 ;
 7103  unsigned long __cil_tmp55 ;
 7104  unsigned long __cil_tmp56 ;
 7105  unsigned long __cil_tmp57 ;
 7106  unsigned long __cil_tmp58 ;
 7107  char *__cil_tmp59 ;
 7108  struct fcoe_rcv_info *__cil_tmp60 ;
 7109  unsigned long __cil_tmp61 ;
 7110  unsigned long __cil_tmp62 ;
 7111  unsigned long __cil_tmp63 ;
 7112  unsigned long __cil_tmp64 ;
 7113  unsigned long __cil_tmp65 ;
 7114  unsigned long __cil_tmp66 ;
 7115  __u8 *__cil_tmp67 ;
 7116  void *__cil_tmp68 ;
 7117  unsigned long __cil_tmp69 ;
 7118  unsigned long __cil_tmp70 ;
 7119  unsigned long __cil_tmp71 ;
 7120  unsigned long __cil_tmp72 ;
 7121  __u8 *__cil_tmp73 ;
 7122  void    *__cil_tmp74 ;
 7123  unsigned long __cil_tmp75 ;
 7124  unsigned long __cil_tmp76 ;
 7125  unsigned long __cil_tmp77 ;
 7126  unsigned long __cil_tmp78 ;
 7127  __u8 *__cil_tmp79 ;
 7128  void *__cil_tmp80 ;
 7129  unsigned long __cil_tmp81 ;
 7130  unsigned long __cil_tmp82 ;
 7131  unsigned long __cil_tmp83 ;
 7132  unsigned long __cil_tmp84 ;
 7133  __u8 *__cil_tmp85 ;
 7134  void    *__cil_tmp86 ;
 7135  unsigned long __cil_tmp87 ;
 7136  unsigned long __cil_tmp88 ;
 7137  unsigned long __cil_tmp89 ;
 7138  unsigned long __cil_tmp90 ;
 7139  __u8 *__cil_tmp91 ;
 7140  void *__cil_tmp92 ;
 7141  unsigned long __cil_tmp93 ;
 7142  unsigned long __cil_tmp94 ;
 7143  unsigned long __cil_tmp95 ;
 7144  unsigned long __cil_tmp96 ;
 7145  __u8 *__cil_tmp97 ;
 7146  void    *__cil_tmp98 ;
 7147  unsigned long __cil_tmp99 ;
 7148  unsigned long __cil_tmp100 ;
 7149  unsigned long __cil_tmp101 ;
 7150  unsigned long __cil_tmp102 ;
 7151  __u8 *__cil_tmp103 ;
 7152  void *__cil_tmp104 ;
 7153  unsigned long __cil_tmp105 ;
 7154  unsigned long __cil_tmp106 ;
 7155  unsigned long __cil_tmp107 ;
 7156  unsigned long __cil_tmp108 ;
 7157  __u8 *__cil_tmp109 ;
 7158  void    *__cil_tmp110 ;
 7159  unsigned long __cil_tmp111 ;
 7160  unsigned long __cil_tmp112 ;
 7161  unsigned long __cil_tmp113 ;
 7162  unsigned long __cil_tmp114 ;
 7163  unsigned long __cil_tmp115 ;
 7164  unsigned long __cil_tmp116 ;
 7165  unsigned long __cil_tmp117 ;
 7166  unsigned long __cil_tmp118 ;
 7167  __u8 *__cil_tmp119 ;
 7168  unsigned long __cil_tmp120 ;
 7169  unsigned long __cil_tmp121 ;
 7170  unsigned long __cil_tmp122 ;
 7171  unsigned long __cil_tmp123 ;
 7172  unsigned long __cil_tmp124 ;
 7173  unsigned long __cil_tmp125 ;
 7174  unsigned long __cil_tmp126 ;
 7175  unsigned long __cil_tmp127 ;
 7176  unsigned long __cil_tmp128 ;
 7177  unsigned long __cil_tmp129 ;
 7178  unsigned long __cil_tmp130 ;
 7179  unsigned long __cil_tmp131 ;
 7180  unsigned long __cil_tmp132 ;
 7181  unsigned long __cil_tmp133 ;
 7182  unsigned long __cil_tmp134 ;
 7183  unsigned long __cil_tmp135 ;
 7184  unsigned long __cil_tmp136 ;
 7185  unsigned long __cil_tmp137 ;
 7186  unsigned long __cil_tmp138 ;
 7187  char    *__cil_tmp139 ;
 7188  struct fcoe_rcv_info *__cil_tmp140 ;
 7189  unsigned long __cil_tmp141 ;
 7190  unsigned long __cil_tmp142 ;
 7191  unsigned long __cil_tmp143 ;
 7192  unsigned long __cil_tmp144 ;
 7193  unsigned long __cil_tmp145 ;
 7194  unsigned long __cil_tmp146 ;
 7195  unsigned long __cil_tmp147 ;
 7196  char *__cil_tmp148 ;
 7197  struct fcoe_rcv_info *__cil_tmp149 ;
 7198  unsigned long __cil_tmp150 ;
 7199  unsigned long __cil_tmp151 ;
 7200  unsigned long __cil_tmp152 ;
 7201  unsigned long __cil_tmp153 ;
 7202  unsigned long __cil_tmp154 ;
 7203  unsigned long __cil_tmp155 ;
 7204  unsigned long __cil_tmp156 ;
 7205  unsigned long __cil_tmp157 ;
 7206  unsigned long __cil_tmp158 ;
 7207  unsigned long __cil_tmp159 ;
 7208  int __cil_tmp160 ;
 7209  unsigned long __cil_tmp161 ;
 7210  unsigned long __cil_tmp162 ;
 7211  unsigned long __cil_tmp163 ;
 7212  unsigned long __cil_tmp164 ;
 7213  unsigned long __cil_tmp165 ;
 7214  char *__cil_tmp166 ;
 7215  struct fcoe_rcv_info *__cil_tmp167 ;
 7216  unsigned long __cil_tmp168 ;
 7217  unsigned long __cil_tmp169 ;
 7218  unsigned long __cil_tmp170 ;
 7219  unsigned long __cil_tmp171 ;
 7220  unsigned long __cil_tmp172 ;
 7221  unsigned long __cil_tmp173 ;
 7222  unsigned long __cil_tmp174 ;
 7223  char *__cil_tmp175 ;
 7224  struct fcoe_rcv_info *__cil_tmp176 ;
 7225  unsigned long __cil_tmp177 ;
 7226  unsigned long __cil_tmp178 ;
 7227  unsigned long __cil_tmp179 ;
 7228  unsigned long __cil_tmp180 ;
 7229  unsigned long __cil_tmp181 ;
 7230  unsigned long __cil_tmp182 ;
 7231  unsigned long __cil_tmp183 ;
 7232  char *__cil_tmp184 ;
 7233  struct fcoe_rcv_info *__cil_tmp185 ;
 7234  unsigned long __cil_tmp186 ;
 7235  unsigned long __cil_tmp187 ;
 7236  unsigned long __cil_tmp188 ;
 7237  unsigned long __cil_tmp189 ;
 7238  unsigned long __cil_tmp190 ;
 7239  unsigned long __cil_tmp191 ;
 7240  unsigned long __cil_tmp192 ;
 7241  char    *__cil_tmp193 ;
 7242  struct fcoe_rcv_info *__cil_tmp194 ;
 7243  unsigned long __cil_tmp195 ;
 7244  unsigned long __cil_tmp196 ;
 7245
 7246  {
 7247  {
 7248#line 175
 7249  __cil_tmp20 = (struct fc_frame    *)fp;
 7250#line 175
 7251  fh = __fc_frame_header_get(__cil_tmp20);
 7252#line 176
 7253  in_fh = __fc_frame_header_get(in_fp);
 7254  }
 7255  {
 7256#line 178
 7257  __cil_tmp21 = 1 << 19;
 7258#line 178
 7259  __cil_tmp22 = (unsigned int )__cil_tmp21;
 7260#line 178
 7261  if (f_ctl & __cil_tmp22) {
 7262#line 179
 7263    __cil_tmp23 = 0 + 104;
 7264#line 179
 7265    __cil_tmp24 = (unsigned long )fp;
 7266#line 179
 7267    __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
 7268#line 179
 7269    __cil_tmp26 = *((unsigned int *)__cil_tmp25);
 7270#line 179
 7271    __cil_tmp27 = - __cil_tmp26;
 7272#line 179
 7273    fill = __cil_tmp27 & 3U;
 7274#line 180
 7275    if (fill) {
 7276      {
 7277#line 182
 7278      __cil_tmp28 = (struct sk_buff *)fp;
 7279#line 182
 7280      tmp___7 = skb_put(__cil_tmp28, fill);
 7281#line 182
 7282      __cil_tmp29 = (void *)tmp___7;
 7283#line 182
 7284      __cil_tmp30 = (size_t )fill;
 7285#line 182
 7286      memset(__cil_tmp29, 0, __cil_tmp30);
 7287#line 183
 7288      f_ctl = f_ctl | fill;
 7289      }
 7290    } else {
 7291
 7292    }
 7293#line 185
 7294    __cil_tmp31 = 0 * 1UL;
 7295#line 185
 7296    __cil_tmp32 = 40 + __cil_tmp31;
 7297#line 185
 7298    __cil_tmp33 = 0 + __cil_tmp32;
 7299#line 185
 7300    __cil_tmp34 = (unsigned long )fp;
 7301#line 185
 7302    __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
 7303#line 185
 7304    __cil_tmp36 = (char *)__cil_tmp35;
 7305#line 185
 7306    __cil_tmp37 = (struct fcoe_rcv_info *)__cil_tmp36;
 7307#line 185
 7308    __cil_tmp38 = (unsigned long )__cil_tmp37;
 7309#line 185
 7310    __cil_tmp39 = __cil_tmp38 + 31;
 7311#line 185
 7312    *((u8 *)__cil_tmp39) = (u8 )66;
 7313  } else {
 7314    {
 7315#line 187
 7316    __cil_tmp40 = 0 + 104;
 7317#line 187
 7318    __cil_tmp41 = (unsigned long )fp;
 7319#line 187
 7320    __cil_tmp42 = __cil_tmp41 + __cil_tmp40;
 7321#line 187
 7322    __cil_tmp43 = *((unsigned int *)__cil_tmp42);
 7323#line 187
 7324    __cil_tmp44 = __cil_tmp43 % 4U;
 7325#line 187
 7326    __cil_tmp45 = __cil_tmp44 != 0U;
 7327#line 187
 7328    __cil_tmp46 = ! __cil_tmp45;
 7329#line 187
 7330    __ret_warn_on = ! __cil_tmp46;
 7331#line 187
 7332    __cil_tmp47 = ! __ret_warn_on;
 7333#line 187
 7334    __cil_tmp48 = ! __cil_tmp47;
 7335#line 187
 7336    __cil_tmp49 = (long )__cil_tmp48;
 7337#line 187
 7338    tmp___8 = __builtin_expect(__cil_tmp49, 0L);
 7339    }
 7340#line 187
 7341    if (tmp___8) {
 7342      {
 7343#line 187
 7344      __cil_tmp50 = (int    )187;
 7345#line 187
 7346      warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c",
 7347                         __cil_tmp50);
 7348      }
 7349    } else {
 7350
 7351    }
 7352    {
 7353#line 187
 7354    __cil_tmp51 = ! __ret_warn_on;
 7355#line 187
 7356    __cil_tmp52 = ! __cil_tmp51;
 7357#line 187
 7358    __cil_tmp53 = (long )__cil_tmp52;
 7359#line 187
 7360    __builtin_expect(__cil_tmp53, 0L);
 7361#line 188
 7362    __cil_tmp54 = 0 * 1UL;
 7363#line 188
 7364    __cil_tmp55 = 40 + __cil_tmp54;
 7365#line 188
 7366    __cil_tmp56 = 0 + __cil_tmp55;
 7367#line 188
 7368    __cil_tmp57 = (unsigned long )fp;
 7369#line 188
 7370    __cil_tmp58 = __cil_tmp57 + __cil_tmp56;
 7371#line 188
 7372    __cil_tmp59 = (char *)__cil_tmp58;
 7373#line 188
 7374    __cil_tmp60 = (struct fcoe_rcv_info *)__cil_tmp59;
 7375#line 188
 7376    __cil_tmp61 = (unsigned long )__cil_tmp60;
 7377#line 188
 7378    __cil_tmp62 = __cil_tmp61 + 31;
 7379#line 188
 7380    *((u8 *)__cil_tmp62) = (u8 )65;
 7381    }
 7382  }
 7383  }
 7384#line 191
 7385  *((__u8 *)fh) = (__u8 )r_ctl;
 7386#line 192
 7387  __len = 3UL;
 7388#line 192
 7389  if (__len >= 64UL) {
 7390    {
 7391#line 192
 7392    __cil_tmp63 = 0 * 1UL;
 7393#line 192
 7394    __cil_tmp64 = 1 + __cil_tmp63;
 7395#line 192
 7396    __cil_tmp65 = (unsigned long )fh;
 7397#line 192
 7398    __cil_tmp66 = __cil_tmp65 + __cil_tmp64;
 7399#line 192
 7400    __cil_tmp67 = (__u8 *)__cil_tmp66;
 7401#line 192
 7402    __cil_tmp68 = (void *)__cil_tmp67;
 7403#line 192
 7404    __cil_tmp69 = 0 * 1UL;
 7405#line 192
 7406    __cil_tmp70 = 5 + __cil_tmp69;
 7407#line 192
 7408    __cil_tmp71 = (unsigned long )in_fh;
 7409#line 192
 7410    __cil_tmp72 = __cil_tmp71 + __cil_tmp70;
 7411#line 192
 7412    __cil_tmp73 = (__u8 *)__cil_tmp72;
 7413#line 192
 7414    __cil_tmp74 = (void    *)__cil_tmp73;
 7415#line 192
 7416    __ret = __memcpy(__cil_tmp68, __cil_tmp74, __len);
 7417    }
 7418  } else {
 7419    {
 7420#line 192
 7421    __cil_tmp75 = 0 * 1UL;
 7422#line 192
 7423    __cil_tmp76 = 1 + __cil_tmp75;
 7424#line 192
 7425    __cil_tmp77 = (unsigned long )fh;
 7426#line 192
 7427    __cil_tmp78 = __cil_tmp77 + __cil_tmp76;
 7428#line 192
 7429    __cil_tmp79 = (__u8 *)__cil_tmp78;
 7430#line 192
 7431    __cil_tmp80 = (void *)__cil_tmp79;
 7432#line 192
 7433    __cil_tmp81 = 0 * 1UL;
 7434#line 192
 7435    __cil_tmp82 = 5 + __cil_tmp81;
 7436#line 192
 7437    __cil_tmp83 = (unsigned long )in_fh;
 7438#line 192
 7439    __cil_tmp84 = __cil_tmp83 + __cil_tmp82;
 7440#line 192
 7441    __cil_tmp85 = (__u8 *)__cil_tmp84;
 7442#line 192
 7443    __cil_tmp86 = (void    *)__cil_tmp85;
 7444#line 192
 7445    __ret = __builtin_memcpy(__cil_tmp80, __cil_tmp86, __len);
 7446    }
 7447  }
 7448#line 193
 7449  __len___0 = 3UL;
 7450#line 193
 7451  if (__len___0 >= 64UL) {
 7452    {
 7453#line 193
 7454    __cil_tmp87 = 0 * 1UL;
 7455#line 193
 7456    __cil_tmp88 = 5 + __cil_tmp87;
 7457#line 193
 7458    __cil_tmp89 = (unsigned long )fh;
 7459#line 193
 7460    __cil_tmp90 = __cil_tmp89 + __cil_tmp88;
 7461#line 193
 7462    __cil_tmp91 = (__u8 *)__cil_tmp90;
 7463#line 193
 7464    __cil_tmp92 = (void *)__cil_tmp91;
 7465#line 193
 7466    __cil_tmp93 = 0 * 1UL;
 7467#line 193
 7468    __cil_tmp94 = 1 + __cil_tmp93;
 7469#line 193
 7470    __cil_tmp95 = (unsigned long )in_fh;
 7471#line 193
 7472    __cil_tmp96 = __cil_tmp95 + __cil_tmp94;
 7473#line 193
 7474    __cil_tmp97 = (__u8 *)__cil_tmp96;
 7475#line 193
 7476    __cil_tmp98 = (void    *)__cil_tmp97;
 7477#line 193
 7478    __ret___0 = __memcpy(__cil_tmp92, __cil_tmp98, __len___0);
 7479    }
 7480  } else {
 7481    {
 7482#line 193
 7483    __cil_tmp99 = 0 * 1UL;
 7484#line 193
 7485    __cil_tmp100 = 5 + __cil_tmp99;
 7486#line 193
 7487    __cil_tmp101 = (unsigned long )fh;
 7488#line 193
 7489    __cil_tmp102 = __cil_tmp101 + __cil_tmp100;
 7490#line 193
 7491    __cil_tmp103 = (__u8 *)__cil_tmp102;
 7492#line 193
 7493    __cil_tmp104 = (void *)__cil_tmp103;
 7494#line 193
 7495    __cil_tmp105 = 0 * 1UL;
 7496#line 193
 7497    __cil_tmp106 = 1 + __cil_tmp105;
 7498#line 193
 7499    __cil_tmp107 = (unsigned long )in_fh;
 7500#line 193
 7501    __cil_tmp108 = __cil_tmp107 + __cil_tmp106;
 7502#line 193
 7503    __cil_tmp109 = (__u8 *)__cil_tmp108;
 7504#line 193
 7505    __cil_tmp110 = (void    *)__cil_tmp109;
 7506#line 193
 7507    __ret___0 = __builtin_memcpy(__cil_tmp104, __cil_tmp110, __len___0);
 7508    }
 7509  }
 7510  {
 7511#line 194
 7512  __cil_tmp111 = (unsigned long )fh;
 7513#line 194
 7514  __cil_tmp112 = __cil_tmp111 + 8;
 7515#line 194
 7516  __cil_tmp113 = (unsigned long )in_fh;
 7517#line 194
 7518  __cil_tmp114 = __cil_tmp113 + 8;
 7519#line 194
 7520  *((__u8 *)__cil_tmp112) = *((__u8 *)__cil_tmp114);
 7521#line 195
 7522  __cil_tmp115 = 0 * 1UL;
 7523#line 195
 7524  __cil_tmp116 = 9 + __cil_tmp115;
 7525#line 195
 7526  __cil_tmp117 = (unsigned long )fh;
 7527#line 195
 7528  __cil_tmp118 = __cil_tmp117 + __cil_tmp116;
 7529#line 195
 7530  __cil_tmp119 = (__u8 *)__cil_tmp118;
 7531#line 195
 7532  hton24(__cil_tmp119, f_ctl);
 7533#line 196
 7534  __cil_tmp120 = (unsigned long )fh;
 7535#line 196
 7536  __cil_tmp121 = __cil_tmp120 + 16;
 7537#line 196
 7538  __cil_tmp122 = (unsigned long )in_fh;
 7539#line 196
 7540  __cil_tmp123 = __cil_tmp122 + 16;
 7541#line 196
 7542  *((__be16 *)__cil_tmp121) = *((__be16 *)__cil_tmp123);
 7543#line 197
 7544  __cil_tmp124 = (unsigned long )fh;
 7545#line 197
 7546  __cil_tmp125 = __cil_tmp124 + 18;
 7547#line 197
 7548  __cil_tmp126 = (unsigned long )in_fh;
 7549#line 197
 7550  __cil_tmp127 = __cil_tmp126 + 18;
 7551#line 197
 7552  *((__be16 *)__cil_tmp125) = *((__be16 *)__cil_tmp127);
 7553#line 198
 7554  __cil_tmp128 = (unsigned long )fh;
 7555#line 198
 7556  __cil_tmp129 = __cil_tmp128 + 4;
 7557#line 198
 7558  *((__u8 *)__cil_tmp129) = (__u8 )0;
 7559#line 199
 7560  __cil_tmp130 = (unsigned long )fh;
 7561#line 199
 7562  __cil_tmp131 = __cil_tmp130 + 13;
 7563#line 199
 7564  *((__u8 *)__cil_tmp131) = (__u8 )0;
 7565#line 200
 7566  tmp___9 = __fswab32(parm_offset);
 7567#line 200
 7568  __cil_tmp132 = (unsigned long )fh;
 7569#line 200
 7570  __cil_tmp133 = __cil_tmp132 + 20;
 7571#line 200
 7572  *((__be32 *)__cil_tmp133) = tmp___9;
 7573#line 202
 7574  __cil_tmp134 = 0 * 1UL;
 7575#line 202
 7576  __cil_tmp135 = 40 + __cil_tmp134;
 7577#line 202
 7578  __cil_tmp136 = 0 + __cil_tmp135;
 7579#line 202
 7580  __cil_tmp137 = (unsigned long )in_fp;
 7581#line 202
 7582  __cil_tmp138 = __cil_tmp137 + __cil_tmp136;
 7583#line 202
 7584  __cil_tmp139 = (char    *)__cil_tmp138;
 7585#line 202
 7586  __cil_tmp140 = (struct fcoe_rcv_info *)__cil_tmp139;
 7587#line 202
 7588  __cil_tmp141 = (unsigned long )__cil_tmp140;
 7589#line 202
 7590  __cil_tmp142 = __cil_tmp141 + 8;
 7591#line 202
 7592  sp = *((struct fc_seq **)__cil_tmp142);
 7593  }
 7594#line 203
 7595  if (sp) {
 7596#line 204
 7597    __cil_tmp143 = 0 * 1UL;
 7598#line 204
 7599    __cil_tmp144 = 40 + __cil_tmp143;
 7600#line 204
 7601    __cil_tmp145 = 0 + __cil_tmp144;
 7602#line 204
 7603    __cil_tmp146 = (unsigned long )fp;
 7604#line 204
 7605    __cil_tmp147 = __cil_tmp146 + __cil_tmp145;
 7606#line 204
 7607    __cil_tmp148 = (char *)__cil_tmp147;
 7608#line 204
 7609    __cil_tmp149 = (struct fcoe_rcv_info *)__cil_tmp148;
 7610#line 204
 7611    __cil_tmp150 = (unsigned long )__cil_tmp149;
 7612#line 204
 7613    __cil_tmp151 = __cil_tmp150 + 8;
 7614#line 204
 7615    *((struct fc_seq **)__cil_tmp151) = sp;
 7616#line 205
 7617    __cil_tmp152 = (unsigned long )fh;
 7618#line 205
 7619    __cil_tmp153 = __cil_tmp152 + 12;
 7620#line 205
 7621    *((__u8 *)__cil_tmp153) = *((u8 *)sp);
 7622#line 206
 7623    __cil_tmp154 = (unsigned long )sp;
 7624#line 206
 7625    __cil_tmp155 = __cil_tmp154 + 4;
 7626#line 206
 7627    seq_cnt = *((u16 *)__cil_tmp155);
 7628  } else {
 7629#line 208
 7630    __cil_tmp156 = (unsigned long )fh;
 7631#line 208
 7632    __cil_tmp157 = __cil_tmp156 + 12;
 7633#line 208
 7634    *((__u8 *)__cil_tmp157) = (__u8 )0;
 7635  }
 7636  {
 7637#line 210
 7638  tmp___10 = __fswab16(seq_cnt);
 7639#line 210
 7640  __cil_tmp158 = (unsigned long )fh;
 7641#line 210
 7642  __cil_tmp159 = __cil_tmp158 + 14;
 7643#line 210
 7644  __cil_tmp160 = (int )tmp___10;
 7645#line 210
 7646  *((__be16 *)__cil_tmp159) = (__be16 )__cil_tmp160;
 7647  }
 7648#line 211
 7649  if (seq_cnt) {
 7650#line 211
 7651    __cil_tmp161 = 0 * 1UL;
 7652#line 211
 7653    __cil_tmp162 = 40 + __cil_tmp161;
 7654#line 211
 7655    __cil_tmp163 = 0 + __cil_tmp162;
 7656#line 211
 7657    __cil_tmp164 = (unsigned long )fp;
 7658#line 211
 7659    __cil_tmp165 = __cil_tmp164 + __cil_tmp163;
 7660#line 211
 7661    __cil_tmp166 = (char *)__cil_tmp165;
 7662#line 211
 7663    __cil_tmp167 = (struct fcoe_rcv_info *)__cil_tmp166;
 7664#line 211
 7665    __cil_tmp168 = (unsigned long )__cil_tmp167;
 7666#line 211
 7667    __cil_tmp169 = __cil_tmp168 + 30;
 7668#line 211
 7669    *((u8 *)__cil_tmp169) = (u8 )54;
 7670  } else {
 7671#line 211
 7672    __cil_tmp170 = 0 * 1UL;
 7673#line 211
 7674    __cil_tmp171 = 40 + __cil_tmp170;
 7675#line 211
 7676    __cil_tmp172 = 0 + __cil_tmp171;
 7677#line 211
 7678    __cil_tmp173 = (unsigned long )fp;
 7679#line 211
 7680    __cil_tmp174 = __cil_tmp173 + __cil_tmp172;
 7681#line 211
 7682    __cil_tmp175 = (char *)__cil_tmp174;
 7683#line 211
 7684    __cil_tmp176 = (struct fcoe_rcv_info *)__cil_tmp175;
 7685#line 211
 7686    __cil_tmp177 = (unsigned long )__cil_tmp176;
 7687#line 211
 7688    __cil_tmp178 = __cil_tmp177 + 30;
 7689#line 211
 7690    *((u8 *)__cil_tmp178) = (u8 )46;
 7691  }
 7692#line 212
 7693  __cil_tmp179 = 0 * 1UL;
 7694#line 212
 7695  __cil_tmp180 = 40 + __cil_tmp179;
 7696#line 212
 7697  __cil_tmp181 = 0 + __cil_tmp180;
 7698#line 212
 7699  __cil_tmp182 = (unsigned long )fp;
 7700#line 212
 7701  __cil_tmp183 = __cil_tmp182 + __cil_tmp181;
 7702#line 212
 7703  __cil_tmp184 = (char *)__cil_tmp183;
 7704#line 212
 7705  __cil_tmp185 = (struct fcoe_rcv_info *)__cil_tmp184;
 7706#line 212
 7707  __cil_tmp186 = (unsigned long )__cil_tmp185;
 7708#line 212
 7709  __cil_tmp187 = __cil_tmp186 + 33;
 7710#line 212
 7711  __cil_tmp188 = 0 * 1UL;
 7712#line 212
 7713  __cil_tmp189 = 40 + __cil_tmp188;
 7714#line 212
 7715  __cil_tmp190 = 0 + __cil_tmp189;
 7716#line 212
 7717  __cil_tmp191 = (unsigned long )in_fp;
 7718#line 212
 7719  __cil_tmp192 = __cil_tmp191 + __cil_tmp190;
 7720#line 212
 7721  __cil_tmp193 = (char    *)__cil_tmp192;
 7722#line 212
 7723  __cil_tmp194 = (struct fcoe_rcv_info *)__cil_tmp193;
 7724#line 212
 7725  __cil_tmp195 = (unsigned long )__cil_tmp194;
 7726#line 212
 7727  __cil_tmp196 = __cil_tmp195 + 33;
 7728#line 212
 7729  *((u8 *)__cil_tmp187) = *((u8 *)__cil_tmp196);
 7730#line 213
 7731  return;
 7732}
 7733}
 7734#line 214
 7735extern void *__crc_fc_fill_hdr  __attribute__((__weak__)) ;
 7736#line 214 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 7737static unsigned long    __kcrctab_fc_fill_hdr  __attribute__((__used__, __unused__,
 7738__section__("___kcrctab+fc_fill_hdr")))  =    (unsigned long    )((unsigned long )(& __crc_fc_fill_hdr));
 7739#line 214 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 7740static char    __kstrtab_fc_fill_hdr[12]  __attribute__((__section__("__ksymtab_strings"),
 7741__aligned__(1)))  = 
 7742#line 214
 7743  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'f', 
 7744        (char    )'i',      (char    )'l',      (char const   )'l',      (char const   )'_', 
 7745        (char    )'h',      (char    )'d',      (char const   )'r',      (char const   )'\000'};
 7746#line 214 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 7747static struct kernel_symbol    __ksymtab_fc_fill_hdr  __attribute__((__used__,
 7748__unused__, __section__("___ksymtab+fc_fill_hdr")))  =    {(unsigned long )(& fc_fill_hdr), __kstrtab_fc_fill_hdr};
 7749#line 223 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 7750void fc_fill_reply_hdr(struct fc_frame *fp , struct fc_frame    *in_fp , enum fc_rctl r_ctl ,
 7751                       u32 parm_offset ) 
 7752{ struct fc_seq *sp ;
 7753  unsigned long __cil_tmp6 ;
 7754  unsigned long __cil_tmp7 ;
 7755  unsigned long __cil_tmp8 ;
 7756  unsigned long __cil_tmp9 ;
 7757  unsigned long __cil_tmp10 ;
 7758  char    *__cil_tmp11 ;
 7759  struct fcoe_rcv_info *__cil_tmp12 ;
 7760  unsigned long __cil_tmp13 ;
 7761  unsigned long __cil_tmp14 ;
 7762  unsigned long __cil_tmp15 ;
 7763  unsigned long __cil_tmp16 ;
 7764  unsigned long __cil_tmp17 ;
 7765  unsigned long __cil_tmp18 ;
 7766  unsigned long __cil_tmp19 ;
 7767  char *__cil_tmp20 ;
 7768  struct fcoe_rcv_info *__cil_tmp21 ;
 7769  unsigned long __cil_tmp22 ;
 7770  unsigned long __cil_tmp23 ;
 7771  unsigned long __cil_tmp24 ;
 7772  unsigned long __cil_tmp25 ;
 7773  unsigned long __cil_tmp26 ;
 7774  unsigned long __cil_tmp27 ;
 7775  unsigned long __cil_tmp28 ;
 7776  unsigned long __cil_tmp29 ;
 7777  char    *__cil_tmp30 ;
 7778  struct fcoe_rcv_info *__cil_tmp31 ;
 7779  struct fc_lport *__cil_tmp32 ;
 7780  unsigned long __cil_tmp33 ;
 7781  unsigned long __cil_tmp34 ;
 7782  struct fc_seq *(*__cil_tmp35)(struct fc_seq * ) ;
 7783  int __cil_tmp36 ;
 7784  int __cil_tmp37 ;
 7785  int __cil_tmp38 ;
 7786  int __cil_tmp39 ;
 7787  int __cil_tmp40 ;
 7788  int __cil_tmp41 ;
 7789  int __cil_tmp42 ;
 7790  u32 __cil_tmp43 ;
 7791  u16 __cil_tmp44 ;
 7792
 7793  {
 7794#line 228
 7795  __cil_tmp6 = 0 * 1UL;
 7796#line 228
 7797  __cil_tmp7 = 40 + __cil_tmp6;
 7798#line 228
 7799  __cil_tmp8 = 0 + __cil_tmp7;
 7800#line 228
 7801  __cil_tmp9 = (unsigned long )in_fp;
 7802#line 228
 7803  __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
 7804#line 228
 7805  __cil_tmp11 = (char    *)__cil_tmp10;
 7806#line 228
 7807  __cil_tmp12 = (struct fcoe_rcv_info *)__cil_tmp11;
 7808#line 228
 7809  __cil_tmp13 = (unsigned long )__cil_tmp12;
 7810#line 228
 7811  __cil_tmp14 = __cil_tmp13 + 8;
 7812#line 228
 7813  sp = *((struct fc_seq **)__cil_tmp14);
 7814#line 229
 7815  if (sp) {
 7816    {
 7817#line 230
 7818    __cil_tmp15 = 0 * 1UL;
 7819#line 230
 7820    __cil_tmp16 = 40 + __cil_tmp15;
 7821#line 230
 7822    __cil_tmp17 = 0 + __cil_tmp16;
 7823#line 230
 7824    __cil_tmp18 = (unsigned long )fp;
 7825#line 230
 7826    __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
 7827#line 230
 7828    __cil_tmp20 = (char *)__cil_tmp19;
 7829#line 230
 7830    __cil_tmp21 = (struct fcoe_rcv_info *)__cil_tmp20;
 7831#line 230
 7832    __cil_tmp22 = (unsigned long )__cil_tmp21;
 7833#line 230
 7834    __cil_tmp23 = __cil_tmp22 + 8;
 7835#line 230
 7836    __cil_tmp24 = 328 + 88;
 7837#line 230
 7838    __cil_tmp25 = 0 * 1UL;
 7839#line 230
 7840    __cil_tmp26 = 40 + __cil_tmp25;
 7841#line 230
 7842    __cil_tmp27 = 0 + __cil_tmp26;
 7843#line 230
 7844    __cil_tmp28 = (unsigned long )in_fp;
 7845#line 230
 7846    __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
 7847#line 230
 7848    __cil_tmp30 = (char    *)__cil_tmp29;
 7849#line 230
 7850    __cil_tmp31 = (struct fcoe_rcv_info *)__cil_tmp30;
 7851#line 230
 7852    __cil_tmp32 = *((struct fc_lport **)__cil_tmp31);
 7853#line 230
 7854    __cil_tmp33 = (unsigned long )__cil_tmp32;
 7855#line 230
 7856    __cil_tmp34 = __cil_tmp33 + __cil_tmp24;
 7857#line 230
 7858    __cil_tmp35 = *((struct fc_seq *(**)(struct fc_seq * ))__cil_tmp34);
 7859#line 230
 7860    *((struct fc_seq **)__cil_tmp23) = (*__cil_tmp35)(sp);
 7861    }
 7862  } else {
 7863
 7864  }
 7865  {
 7866#line 231
 7867  __cil_tmp36 = 1 << 16;
 7868#line 231
 7869  __cil_tmp37 = 1 << 19;
 7870#line 231
 7871  __cil_tmp38 = 1 << 20;
 7872#line 231
 7873  __cil_tmp39 = 1 << 23;
 7874#line 231
 7875  __cil_tmp40 = __cil_tmp39 | __cil_tmp38;
 7876#line 231
 7877  __cil_tmp41 = __cil_tmp40 | __cil_tmp37;
 7878#line 231
 7879  __cil_tmp42 = __cil_tmp41 | __cil_tmp36;
 7880#line 231
 7881  __cil_tmp43 = (u32 )__cil_tmp42;
 7882#line 231
 7883  __cil_tmp44 = (u16 )0;
 7884#line 231
 7885  fc_fill_hdr(fp, in_fp, r_ctl, __cil_tmp43, __cil_tmp44, parm_offset);
 7886  }
 7887#line 232
 7888  return;
 7889}
 7890}
 7891#line 233
 7892extern void *__crc_fc_fill_reply_hdr  __attribute__((__weak__)) ;
 7893#line 233 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 7894static unsigned long    __kcrctab_fc_fill_reply_hdr  __attribute__((__used__,
 7895__unused__, __section__("___kcrctab+fc_fill_reply_hdr")))  =    (unsigned long    )((unsigned long )(& __crc_fc_fill_reply_hdr));
 7896#line 233 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 7897static char    __kstrtab_fc_fill_reply_hdr[18]  __attribute__((__section__("__ksymtab_strings"),
 7898__aligned__(1)))  = 
 7899#line 233
 7900  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'f', 
 7901        (char    )'i',      (char    )'l',      (char const   )'l',      (char const   )'_', 
 7902        (char    )'r',      (char    )'e',      (char const   )'p',      (char const   )'l', 
 7903        (char    )'y',      (char    )'_',      (char const   )'h',      (char const   )'d', 
 7904        (char    )'r',      (char    )'\000'};
 7905#line 233 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 7906static struct kernel_symbol    __ksymtab_fc_fill_reply_hdr  __attribute__((__used__,
 7907__unused__, __section__("___ksymtab+fc_fill_reply_hdr")))  =    {(unsigned long )(& fc_fill_reply_hdr), __kstrtab_fc_fill_reply_hdr};
 7908#line 242 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 7909void fc_fc4_conf_lport_params(struct fc_lport *lport , enum fc_fh_type type ) 
 7910{ struct fc4_prov *prov_entry ;
 7911  long tmp___7 ;
 7912  long tmp___8 ;
 7913  unsigned int __cil_tmp6 ;
 7914  int __cil_tmp7 ;
 7915  int __cil_tmp8 ;
 7916  int __cil_tmp9 ;
 7917  long __cil_tmp10 ;
 7918  int __cil_tmp11 ;
 7919  int __cil_tmp12 ;
 7920  int __cil_tmp13 ;
 7921  long __cil_tmp14 ;
 7922  unsigned long __cil_tmp15 ;
 7923  unsigned long __cil_tmp16 ;
 7924  unsigned int __cil_tmp17 ;
 7925  unsigned long __cil_tmp18 ;
 7926  unsigned long __cil_tmp19 ;
 7927  unsigned long __cil_tmp20 ;
 7928  unsigned long __cil_tmp21 ;
 7929  unsigned long __cil_tmp22 ;
 7930  unsigned long __cil_tmp23 ;
 7931  unsigned int __cil_tmp24 ;
 7932
 7933  {
 7934  {
 7935#line 245
 7936  while (1) {
 7937    while_continue: /* CIL Label */ ;
 7938    {
 7939#line 245
 7940    __cil_tmp6 = (unsigned int )type;
 7941#line 245
 7942    __cil_tmp7 = __cil_tmp6 >= 9U;
 7943#line 245
 7944    __cil_tmp8 = ! __cil_tmp7;
 7945#line 245
 7946    __cil_tmp9 = ! __cil_tmp8;
 7947#line 245
 7948    __cil_tmp10 = (long )__cil_tmp9;
 7949#line 245
 7950    tmp___7 = __builtin_expect(__cil_tmp10, 0L);
 7951    }
 7952#line 245
 7953    if (tmp___7) {
 7954      {
 7955#line 245
 7956      while (1) {
 7957        while_continue___0: /* CIL Label */ ;
 7958#line 245
 7959        __asm__  volatile   ("1:\tud2\n"
 7960                             ".pushsection __bug_table,\"a\"\n"
 7961                             "2:\t.long 1b - 2b, %c0 - 2b\n"
 7962                             "\t.word %c1, 0\n"
 7963                             "\t.org 2b+%c2\n"
 7964                             ".popsection": : "i" ("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"),
 7965                             "i" (245), "i" (12UL));
 7966        {
 7967#line 245
 7968        while (1) {
 7969          while_continue___1: /* CIL Label */ ;
 7970        }
 7971        while_break___1: /* CIL Label */ ;
 7972        }
 7973#line 245
 7974        goto while_break___0;
 7975      }
 7976      while_break___0: /* CIL Label */ ;
 7977      }
 7978    } else {
 7979
 7980    }
 7981#line 245
 7982    goto while_break;
 7983  }
 7984  while_break: /* CIL Label */ ;
 7985  }
 7986  {
 7987#line 246
 7988  while (1) {
 7989    while_continue___2: /* CIL Label */ ;
 7990    {
 7991#line 246
 7992    __cil_tmp11 = ! lport;
 7993#line 246
 7994    __cil_tmp12 = ! __cil_tmp11;
 7995#line 246
 7996    __cil_tmp13 = ! __cil_tmp12;
 7997#line 246
 7998    __cil_tmp14 = (long )__cil_tmp13;
 7999#line 246
 8000    tmp___8 = __builtin_expect(__cil_tmp14, 0L);
 8001    }
 8002#line 246
 8003    if (tmp___8) {
 8004      {
 8005#line 246
 8006      while (1) {
 8007        while_continue___3: /* CIL Label */ ;
 8008#line 246
 8009        __asm__  volatile   ("1:\tud2\n"
 8010                             ".pushsection __bug_table,\"a\"\n"
 8011                             "2:\t.long 1b - 2b, %c0 - 2b\n"
 8012                             "\t.word %c1, 0\n"
 8013                             "\t.org 2b+%c2\n"
 8014                             ".popsection": : "i" ("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"),
 8015                             "i" (246), "i" (12UL));
 8016        {
 8017#line 246
 8018        while (1) {
 8019          while_continue___4: /* CIL Label */ ;
 8020        }
 8021        while_break___4: /* CIL Label */ ;
 8022        }
 8023#line 246
 8024        goto while_break___3;
 8025      }
 8026      while_break___3: /* CIL Label */ ;
 8027      }
 8028    } else {
 8029
 8030    }
 8031#line 246
 8032    goto while_break___2;
 8033  }
 8034  while_break___2: /* CIL Label */ ;
 8035  }
 8036#line 247
 8037  __cil_tmp15 = type * 8UL;
 8038#line 247
 8039  __cil_tmp16 = (unsigned long )(fc_passive_prov) + __cil_tmp15;
 8040#line 247
 8041  prov_entry = *((struct fc4_prov **)__cil_tmp16);
 8042  {
 8043#line 248
 8044  __cil_tmp17 = (unsigned int )type;
 8045#line 248
 8046  if (__cil_tmp17 == 8U) {
 8047#line 249
 8048    if (prov_entry) {
 8049      {
 8050#line 249
 8051      __cil_tmp18 = (unsigned long )prov_entry;
 8052#line 249
 8053      __cil_tmp19 = __cil_tmp18 + 16;
 8054#line 249
 8055      if (*((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp19)) {
 8056#line 250
 8057        __cil_tmp20 = (unsigned long )lport;
 8058#line 250
 8059        __cil_tmp21 = __cil_tmp20 + 808;
 8060#line 250
 8061        __cil_tmp22 = (unsigned long )lport;
 8062#line 250
 8063        __cil_tmp23 = __cil_tmp22 + 808;
 8064#line 250
 8065        __cil_tmp24 = *((unsigned int *)__cil_tmp23);
 8066#line 250
 8067        *((unsigned int *)__cil_tmp21) = __cil_tmp24 | 16U;
 8068      } else {
 8069
 8070      }
 8071      }
 8072    } else {
 8073
 8074    }
 8075  } else {
 8076
 8077  }
 8078  }
 8079#line 252
 8080  return;
 8081}
 8082}
 8083#line 254 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8084void fc_lport_iterate(void (*notify)(struct fc_lport * , void * ) , void *arg ) 
 8085{ struct fc_lport *lport ;
 8086  struct list_head    *__mptr ;
 8087  struct list_head    *__mptr___0 ;
 8088  struct list_head *__cil_tmp6 ;
 8089  struct list_head *__cil_tmp7 ;
 8090  struct fc_lport *__cil_tmp8 ;
 8091  unsigned long __cil_tmp9 ;
 8092  unsigned long __cil_tmp10 ;
 8093  struct list_head *__cil_tmp11 ;
 8094  unsigned int __cil_tmp12 ;
 8095  char *__cil_tmp13 ;
 8096  char *__cil_tmp14 ;
 8097  unsigned long __cil_tmp15 ;
 8098  unsigned long __cil_tmp16 ;
 8099  unsigned long __cil_tmp17 ;
 8100  struct list_head *__cil_tmp18 ;
 8101  unsigned long __cil_tmp19 ;
 8102  unsigned long __cil_tmp20 ;
 8103  unsigned long __cil_tmp21 ;
 8104  struct list_head *__cil_tmp22 ;
 8105  struct fc_lport *__cil_tmp23 ;
 8106  unsigned long __cil_tmp24 ;
 8107  unsigned long __cil_tmp25 ;
 8108  struct list_head *__cil_tmp26 ;
 8109  unsigned int __cil_tmp27 ;
 8110  char *__cil_tmp28 ;
 8111  char *__cil_tmp29 ;
 8112
 8113  {
 8114  {
 8115#line 258
 8116  mutex_lock(& fc_prov_mutex);
 8117#line 259
 8118  __cil_tmp6 = & fc_local_ports;
 8119#line 259
 8120  __cil_tmp7 = *((struct list_head **)__cil_tmp6);
 8121#line 259
 8122  __mptr = (struct list_head    *)__cil_tmp7;
 8123#line 259
 8124  __cil_tmp8 = (struct fc_lport *)0;
 8125#line 259
 8126  __cil_tmp9 = (unsigned long )__cil_tmp8;
 8127#line 259
 8128  __cil_tmp10 = __cil_tmp9 + 1200;
 8129#line 259
 8130  __cil_tmp11 = (struct list_head *)__cil_tmp10;
 8131#line 259
 8132  __cil_tmp12 = (unsigned int )__cil_tmp11;
 8133#line 259
 8134  __cil_tmp13 = (char *)__mptr;
 8135#line 259
 8136  __cil_tmp14 = __cil_tmp13 - __cil_tmp12;
 8137#line 259
 8138  lport = (struct fc_lport *)__cil_tmp14;
 8139  }
 8140  {
 8141#line 259
 8142  while (1) {
 8143    while_continue: /* CIL Label */ ;
 8144    {
 8145#line 259
 8146    __cil_tmp15 = (unsigned long )(& fc_local_ports);
 8147#line 259
 8148    __cil_tmp16 = (unsigned long )lport;
 8149#line 259
 8150    __cil_tmp17 = __cil_tmp16 + 1200;
 8151#line 259
 8152    __cil_tmp18 = (struct list_head *)__cil_tmp17;
 8153#line 259
 8154    __cil_tmp19 = (unsigned long )__cil_tmp18;
 8155#line 259
 8156    if (__cil_tmp19 != __cil_tmp15) {
 8157
 8158    } else {
 8159#line 259
 8160      goto while_break;
 8161    }
 8162    }
 8163    {
 8164#line 260
 8165    (*notify)(lport, arg);
 8166#line 259
 8167    __cil_tmp20 = (unsigned long )lport;
 8168#line 259
 8169    __cil_tmp21 = __cil_tmp20 + 1200;
 8170#line 259
 8171    __cil_tmp22 = *((struct list_head **)__cil_tmp21);
 8172#line 259
 8173    __mptr___0 = (struct list_head    *)__cil_tmp22;
 8174#line 259
 8175    __cil_tmp23 = (struct fc_lport *)0;
 8176#line 259
 8177    __cil_tmp24 = (unsigned long )__cil_tmp23;
 8178#line 259
 8179    __cil_tmp25 = __cil_tmp24 + 1200;
 8180#line 259
 8181    __cil_tmp26 = (struct list_head *)__cil_tmp25;
 8182#line 259
 8183    __cil_tmp27 = (unsigned int )__cil_tmp26;
 8184#line 259
 8185    __cil_tmp28 = (char *)__mptr___0;
 8186#line 259
 8187    __cil_tmp29 = __cil_tmp28 - __cil_tmp27;
 8188#line 259
 8189    lport = (struct fc_lport *)__cil_tmp29;
 8190    }
 8191  }
 8192  while_break: /* CIL Label */ ;
 8193  }
 8194  {
 8195#line 261
 8196  mutex_unlock(& fc_prov_mutex);
 8197  }
 8198#line 262
 8199  return;
 8200}
 8201}
 8202#line 263
 8203extern void *__crc_fc_lport_iterate  __attribute__((__weak__)) ;
 8204#line 263 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8205static unsigned long    __kcrctab_fc_lport_iterate  __attribute__((__used__,
 8206__unused__, __section__("___kcrctab+fc_lport_iterate")))  =    (unsigned long    )((unsigned long )(& __crc_fc_lport_iterate));
 8207#line 263 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8208static char    __kstrtab_fc_lport_iterate[17]  __attribute__((__section__("__ksymtab_strings"),
 8209__aligned__(1)))  = 
 8210#line 263
 8211  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'l', 
 8212        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
 8213        (char    )'_',      (char    )'i',      (char const   )'t',      (char const   )'e', 
 8214        (char    )'r',      (char    )'a',      (char const   )'t',      (char const   )'e', 
 8215        (char    )'\000'};
 8216#line 263 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8217static struct kernel_symbol    __ksymtab_fc_lport_iterate  __attribute__((__used__,
 8218__unused__, __section__("___ksymtab+fc_lport_iterate")))  =    {(unsigned long )(& fc_lport_iterate), __kstrtab_fc_lport_iterate};
 8219#line 272 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8220int fc_fc4_register_provider(enum fc_fh_type type , struct fc4_prov *prov ) 
 8221{ struct fc4_prov **prov_entry ;
 8222  int ret ;
 8223  struct fc4_prov **tmp___7 ;
 8224  unsigned int __cil_tmp6 ;
 8225  unsigned long __cil_tmp7 ;
 8226  unsigned long __cil_tmp8 ;
 8227  unsigned long __cil_tmp9 ;
 8228  unsigned long __cil_tmp10 ;
 8229  unsigned long __cil_tmp11 ;
 8230  unsigned long __cil_tmp12 ;
 8231  unsigned int __cil_tmp13 ;
 8232
 8233  {
 8234#line 275
 8235  ret = 0;
 8236  {
 8237#line 277
 8238  __cil_tmp6 = (unsigned int )type;
 8239#line 277
 8240  if (__cil_tmp6 >= 9U) {
 8241#line 278
 8242    return (-22);
 8243  } else {
 8244
 8245  }
 8246  }
 8247  {
 8248#line 279
 8249  mutex_lock(& fc_prov_mutex);
 8250  }
 8251  {
 8252#line 280
 8253  __cil_tmp7 = (unsigned long )prov;
 8254#line 280
 8255  __cil_tmp8 = __cil_tmp7 + 16;
 8256#line 280
 8257  if (*((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp8)) {
 8258#line 280
 8259    __cil_tmp9 = 0 * 8UL;
 8260#line 280
 8261    __cil_tmp10 = (unsigned long )(fc_passive_prov) + __cil_tmp9;
 8262#line 280
 8263    tmp___7 = (struct fc4_prov **)__cil_tmp10;
 8264  } else {
 8265#line 280
 8266    __cil_tmp11 = 0 * 8UL;
 8267#line 280
 8268    __cil_tmp12 = (unsigned long )(fc_active_prov) + __cil_tmp11;
 8269#line 280
 8270    tmp___7 = (struct fc4_prov **)__cil_tmp12;
 8271  }
 8272  }
 8273#line 280
 8274  __cil_tmp13 = (unsigned int )type;
 8275#line 280
 8276  prov_entry = tmp___7 + __cil_tmp13;
 8277#line 281
 8278  if (*prov_entry) {
 8279#line 282
 8280    ret = -16;
 8281  } else {
 8282#line 284
 8283    *prov_entry = prov;
 8284  }
 8285  {
 8286#line 285
 8287  mutex_unlock(& fc_prov_mutex);
 8288  }
 8289#line 286
 8290  return (ret);
 8291}
 8292}
 8293#line 288
 8294extern void *__crc_fc_fc4_register_provider  __attribute__((__weak__)) ;
 8295#line 288 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8296static unsigned long    __kcrctab_fc_fc4_register_provider  __attribute__((__used__,
 8297__unused__, __section__("___kcrctab+fc_fc4_register_provider")))  =    (unsigned long    )((unsigned long )(& __crc_fc_fc4_register_provider));
 8298#line 288 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8299static char    __kstrtab_fc_fc4_register_provider[25]  __attribute__((__section__("__ksymtab_strings"),
 8300__aligned__(1)))  = 
 8301#line 288
 8302  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'f', 
 8303        (char    )'c',      (char    )'4',      (char const   )'_',      (char const   )'r', 
 8304        (char    )'e',      (char    )'g',      (char const   )'i',      (char const   )'s', 
 8305        (char    )'t',      (char    )'e',      (char const   )'r',      (char const   )'_', 
 8306        (char    )'p',      (char    )'r',      (char const   )'o',      (char const   )'v', 
 8307        (char    )'i',      (char    )'d',      (char const   )'e',      (char const   )'r', 
 8308        (char    )'\000'};
 8309#line 288 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8310static struct kernel_symbol    __ksymtab_fc_fc4_register_provider  __attribute__((__used__,
 8311__unused__, __section__("___ksymtab+fc_fc4_register_provider")))  =    {(unsigned long )(& fc_fc4_register_provider), __kstrtab_fc_fc4_register_provider};
 8312#line 295 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8313void fc_fc4_deregister_provider(enum fc_fh_type type , struct fc4_prov *prov ) 
 8314{ long tmp___7 ;
 8315  unsigned int __cil_tmp4 ;
 8316  int __cil_tmp5 ;
 8317  int __cil_tmp6 ;
 8318  int __cil_tmp7 ;
 8319  long __cil_tmp8 ;
 8320  unsigned long __cil_tmp9 ;
 8321  unsigned long __cil_tmp10 ;
 8322  unsigned long __cil_tmp11 ;
 8323  unsigned long __cil_tmp12 ;
 8324  void *__cil_tmp13 ;
 8325  unsigned long __cil_tmp14 ;
 8326  unsigned long __cil_tmp15 ;
 8327  void *__cil_tmp16 ;
 8328
 8329  {
 8330  {
 8331#line 297
 8332  while (1) {
 8333    while_continue: /* CIL Label */ ;
 8334    {
 8335#line 297
 8336    __cil_tmp4 = (unsigned int )type;
 8337#line 297
 8338    __cil_tmp5 = __cil_tmp4 >= 9U;
 8339#line 297
 8340    __cil_tmp6 = ! __cil_tmp5;
 8341#line 297
 8342    __cil_tmp7 = ! __cil_tmp6;
 8343#line 297
 8344    __cil_tmp8 = (long )__cil_tmp7;
 8345#line 297
 8346    tmp___7 = __builtin_expect(__cil_tmp8, 0L);
 8347    }
 8348#line 297
 8349    if (tmp___7) {
 8350      {
 8351#line 297
 8352      while (1) {
 8353        while_continue___0: /* CIL Label */ ;
 8354#line 297
 8355        __asm__  volatile   ("1:\tud2\n"
 8356                             ".pushsection __bug_table,\"a\"\n"
 8357                             "2:\t.long 1b - 2b, %c0 - 2b\n"
 8358                             "\t.word %c1, 0\n"
 8359                             "\t.org 2b+%c2\n"
 8360                             ".popsection": : "i" ("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"),
 8361                             "i" (297), "i" (12UL));
 8362        {
 8363#line 297
 8364        while (1) {
 8365          while_continue___1: /* CIL Label */ ;
 8366        }
 8367        while_break___1: /* CIL Label */ ;
 8368        }
 8369#line 297
 8370        goto while_break___0;
 8371      }
 8372      while_break___0: /* CIL Label */ ;
 8373      }
 8374    } else {
 8375
 8376    }
 8377#line 297
 8378    goto while_break;
 8379  }
 8380  while_break: /* CIL Label */ ;
 8381  }
 8382  {
 8383#line 298
 8384  mutex_lock(& fc_prov_mutex);
 8385  }
 8386  {
 8387#line 299
 8388  __cil_tmp9 = (unsigned long )prov;
 8389#line 299
 8390  __cil_tmp10 = __cil_tmp9 + 16;
 8391#line 299
 8392  if (*((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp10)) {
 8393#line 300
 8394    __asm__  volatile   ("": : : "memory");
 8395#line 300
 8396    __cil_tmp11 = type * 8UL;
 8397#line 300
 8398    __cil_tmp12 = (unsigned long )(fc_passive_prov) + __cil_tmp11;
 8399#line 300
 8400    __cil_tmp13 = (void *)0;
 8401#line 300
 8402    *((struct fc4_prov **)__cil_tmp12) = (struct fc4_prov *)__cil_tmp13;
 8403  } else {
 8404#line 302
 8405    __asm__  volatile   ("": : : "memory");
 8406#line 302
 8407    __cil_tmp14 = type * 8UL;
 8408#line 302
 8409    __cil_tmp15 = (unsigned long )(fc_active_prov) + __cil_tmp14;
 8410#line 302
 8411    __cil_tmp16 = (void *)0;
 8412#line 302
 8413    *((struct fc4_prov **)__cil_tmp15) = (struct fc4_prov *)__cil_tmp16;
 8414  }
 8415  }
 8416  {
 8417#line 303
 8418  mutex_unlock(& fc_prov_mutex);
 8419#line 304
 8420  synchronize_rcu();
 8421  }
 8422#line 305
 8423  return;
 8424}
 8425}
 8426#line 306
 8427extern void *__crc_fc_fc4_deregister_provider  __attribute__((__weak__)) ;
 8428#line 306 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8429static unsigned long    __kcrctab_fc_fc4_deregister_provider  __attribute__((__used__,
 8430__unused__, __section__("___kcrctab+fc_fc4_deregister_provider")))  =    (unsigned long    )((unsigned long )(& __crc_fc_fc4_deregister_provider));
 8431#line 306 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8432static char    __kstrtab_fc_fc4_deregister_provider[27]  __attribute__((__section__("__ksymtab_strings"),
 8433__aligned__(1)))  = 
 8434#line 306
 8435  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'f', 
 8436        (char    )'c',      (char    )'4',      (char const   )'_',      (char const   )'d', 
 8437        (char    )'e',      (char    )'r',      (char const   )'e',      (char const   )'g', 
 8438        (char    )'i',      (char    )'s',      (char const   )'t',      (char const   )'e', 
 8439        (char    )'r',      (char    )'_',      (char const   )'p',      (char const   )'r', 
 8440        (char    )'o',      (char    )'v',      (char const   )'i',      (char const   )'d', 
 8441        (char    )'e',      (char    )'r',      (char const   )'\000'};
 8442#line 306 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8443static struct kernel_symbol    __ksymtab_fc_fc4_deregister_provider  __attribute__((__used__,
 8444__unused__, __section__("___ksymtab+fc_fc4_deregister_provider")))  =    {(unsigned long )(& fc_fc4_deregister_provider), __kstrtab_fc_fc4_deregister_provider};
 8445#line 312 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8446void fc_fc4_add_lport(struct fc_lport *lport ) 
 8447{ unsigned long __cil_tmp2 ;
 8448  unsigned long __cil_tmp3 ;
 8449  struct list_head *__cil_tmp4 ;
 8450  void *__cil_tmp5 ;
 8451
 8452  {
 8453  {
 8454#line 314
 8455  mutex_lock(& fc_prov_mutex);
 8456#line 315
 8457  __cil_tmp2 = (unsigned long )lport;
 8458#line 315
 8459  __cil_tmp3 = __cil_tmp2 + 1200;
 8460#line 315
 8461  __cil_tmp4 = (struct list_head *)__cil_tmp3;
 8462#line 315
 8463  list_add_tail(__cil_tmp4, & fc_local_ports);
 8464#line 316
 8465  __cil_tmp5 = (void *)lport;
 8466#line 316
 8467  blocking_notifier_call_chain(& fc_lport_notifier_head, 0UL, __cil_tmp5);
 8468#line 318
 8469  mutex_unlock(& fc_prov_mutex);
 8470  }
 8471#line 319
 8472  return;
 8473}
 8474}
 8475#line 325 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8476void fc_fc4_del_lport(struct fc_lport *lport ) 
 8477{ unsigned long __cil_tmp2 ;
 8478  unsigned long __cil_tmp3 ;
 8479  struct list_head *__cil_tmp4 ;
 8480  void *__cil_tmp5 ;
 8481
 8482  {
 8483  {
 8484#line 327
 8485  mutex_lock(& fc_prov_mutex);
 8486#line 328
 8487  __cil_tmp2 = (unsigned long )lport;
 8488#line 328
 8489  __cil_tmp3 = __cil_tmp2 + 1200;
 8490#line 328
 8491  __cil_tmp4 = (struct list_head *)__cil_tmp3;
 8492#line 328
 8493  list_del(__cil_tmp4);
 8494#line 329
 8495  __cil_tmp5 = (void *)lport;
 8496#line 329
 8497  blocking_notifier_call_chain(& fc_lport_notifier_head, 1UL, __cil_tmp5);
 8498#line 331
 8499  mutex_unlock(& fc_prov_mutex);
 8500  }
 8501#line 332
 8502  return;
 8503}
 8504}
 8505#line 350
 8506void ldv_check_final_state(void) ;
 8507#line 356
 8508extern void ldv_initialize(void) ;
 8509#line 359
 8510extern int __VERIFIER_nondet_int(void) ;
 8511#line 362 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8512int LDV_IN_INTERRUPT  ;
 8513#line 365 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8514void ldv_main0_sequence_infinite_withcheck_stateful(void) 
 8515{ int tmp___7 ;
 8516  int tmp___8 ;
 8517  int tmp___9 ;
 8518
 8519  {
 8520  {
 8521#line 377
 8522  LDV_IN_INTERRUPT = 1;
 8523#line 386
 8524  ldv_initialize();
 8525#line 392
 8526  tmp___7 = libfc_init();
 8527  }
 8528#line 392
 8529  if (tmp___7) {
 8530#line 393
 8531    goto ldv_final;
 8532  } else {
 8533
 8534  }
 8535  {
 8536#line 395
 8537  while (1) {
 8538    while_continue: /* CIL Label */ ;
 8539    {
 8540#line 395
 8541    tmp___9 = __VERIFIER_nondet_int();
 8542    }
 8543#line 395
 8544    if (tmp___9) {
 8545
 8546    } else {
 8547#line 395
 8548      goto while_break;
 8549    }
 8550    {
 8551#line 398
 8552    tmp___8 = __VERIFIER_nondet_int();
 8553    }
 8554    {
 8555#line 400
 8556    goto switch_default;
 8557#line 398
 8558    if (0) {
 8559      switch_default: /* CIL Label */ 
 8560#line 400
 8561      goto switch_break;
 8562    } else {
 8563      switch_break: /* CIL Label */ ;
 8564    }
 8565    }
 8566  }
 8567  while_break: /* CIL Label */ ;
 8568  }
 8569  {
 8570#line 412
 8571  libfc_exit();
 8572  }
 8573  ldv_final: 
 8574  {
 8575#line 415
 8576  ldv_check_final_state();
 8577  }
 8578#line 418
 8579  return;
 8580}
 8581}
 8582#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast-assert.h"
 8583void ldv_blast_assert(void) 
 8584{ 
 8585
 8586  {
 8587  ERROR: 
 8588#line 6
 8589  goto ERROR;
 8590}
 8591}
 8592#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast.h"
 8593extern int __VERIFIER_nondet_int(void) ;
 8594#line 19 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
 8595int ldv_mutex  =    1;
 8596#line 22 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
 8597int __attribute__((__warn_unused_result__))  mutex_lock_interruptible(struct mutex *lock ) 
 8598{ int nondetermined ;
 8599
 8600  {
 8601#line 29
 8602  if (ldv_mutex == 1) {
 8603
 8604  } else {
 8605    {
 8606#line 29
 8607    ldv_blast_assert();
 8608    }
 8609  }
 8610  {
 8611#line 32
 8612  nondetermined = __VERIFIER_nondet_int();
 8613  }
 8614#line 35
 8615  if (nondetermined) {
 8616#line 38
 8617    ldv_mutex = 2;
 8618#line 40
 8619    return (0);
 8620  } else {
 8621#line 45
 8622    return (-4);
 8623  }
 8624}
 8625}
 8626#line 50 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
 8627int __attribute__((__warn_unused_result__))  mutex_lock_killable(struct mutex *lock ) 
 8628{ int nondetermined ;
 8629
 8630  {
 8631#line 57
 8632  if (ldv_mutex == 1) {
 8633
 8634  } else {
 8635    {
 8636#line 57
 8637    ldv_blast_assert();
 8638    }
 8639  }
 8640  {
 8641#line 60
 8642  nondetermined = __VERIFIER_nondet_int();
 8643  }
 8644#line 63
 8645  if (nondetermined) {
 8646#line 66
 8647    ldv_mutex = 2;
 8648#line 68
 8649    return (0);
 8650  } else {
 8651#line 73
 8652    return (-4);
 8653  }
 8654}
 8655}
 8656#line 78 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
 8657int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock ) 
 8658{ int atomic_value_after_dec ;
 8659
 8660  {
 8661#line 83
 8662  if (ldv_mutex == 1) {
 8663
 8664  } else {
 8665    {
 8666#line 83
 8667    ldv_blast_assert();
 8668    }
 8669  }
 8670  {
 8671#line 86
 8672  atomic_value_after_dec = __VERIFIER_nondet_int();
 8673  }
 8674#line 89
 8675  if (atomic_value_after_dec == 0) {
 8676#line 92
 8677    ldv_mutex = 2;
 8678#line 94
 8679    return (1);
 8680  } else {
 8681
 8682  }
 8683#line 98
 8684  return (0);
 8685}
 8686}
 8687#line 103 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
 8688void mutex_lock(struct mutex *lock ) 
 8689{ 
 8690
 8691  {
 8692#line 108
 8693  if (ldv_mutex == 1) {
 8694
 8695  } else {
 8696    {
 8697#line 108
 8698    ldv_blast_assert();
 8699    }
 8700  }
 8701#line 110
 8702  ldv_mutex = 2;
 8703#line 111
 8704  return;
 8705}
 8706}
 8707#line 114 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
 8708int mutex_trylock(struct mutex *lock ) 
 8709{ int nondetermined ;
 8710
 8711  {
 8712#line 121
 8713  if (ldv_mutex == 1) {
 8714
 8715  } else {
 8716    {
 8717#line 121
 8718    ldv_blast_assert();
 8719    }
 8720  }
 8721  {
 8722#line 124
 8723  nondetermined = __VERIFIER_nondet_int();
 8724  }
 8725#line 127
 8726  if (nondetermined) {
 8727#line 130
 8728    ldv_mutex = 2;
 8729#line 132
 8730    return (1);
 8731  } else {
 8732#line 137
 8733    return (0);
 8734  }
 8735}
 8736}
 8737#line 142 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
 8738void mutex_unlock(struct mutex *lock ) 
 8739{ 
 8740
 8741  {
 8742#line 147
 8743  if (ldv_mutex == 2) {
 8744
 8745  } else {
 8746    {
 8747#line 147
 8748    ldv_blast_assert();
 8749    }
 8750  }
 8751#line 149
 8752  ldv_mutex = 1;
 8753#line 150
 8754  return;
 8755}
 8756}
 8757#line 153 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
 8758void ldv_check_final_state(void) 
 8759{ 
 8760
 8761  {
 8762#line 156
 8763  if (ldv_mutex == 1) {
 8764
 8765  } else {
 8766    {
 8767#line 156
 8768    ldv_blast_assert();
 8769    }
 8770  }
 8771#line 157
 8772  return;
 8773}
 8774}
 8775#line 427 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_libfc.c.common.c"
 8776long s__builtin_expect(long val , long res ) 
 8777{ 
 8778
 8779  {
 8780#line 428
 8781  return (val);
 8782}
 8783}
 8784#line 24 "include/linux/list.h"
 8785__inline static void INIT_LIST_HEAD(struct list_head *list )  __attribute__((__no_instrument_function__)) ;
 8786#line 24 "include/linux/list.h"
 8787__inline static void INIT_LIST_HEAD(struct list_head *list ) 
 8788{ unsigned long __cil_tmp2 ;
 8789  unsigned long __cil_tmp3 ;
 8790
 8791  {
 8792#line 26
 8793  *((struct list_head **)list) = list;
 8794#line 27
 8795  __cil_tmp2 = (unsigned long )list;
 8796#line 27
 8797  __cil_tmp3 = __cil_tmp2 + 8;
 8798#line 27
 8799  *((struct list_head **)__cil_tmp3) = list;
 8800#line 28
 8801  return;
 8802}
 8803}
 8804#line 29 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/swab.h"
 8805__inline static __u64 __arch_swab64(__u64 val )  __attribute__((__no_instrument_function__)) ;
 8806
 8807#line 29 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/swab.h"
 8808__inline static __u64 __arch_swab64(__u64 val ) 
 8809{ 
 8810
 8811  {
 8812#line 53
 8813  __asm__  ("bswapq %0": "=r" (val): "0" (val));
 8814#line 56
 8815  return (val);
 8816}
 8817}
 8818#line 64 "include/linux/swab.h"
 8819__inline static __u64 __fswab64(__u64 val )  __attribute__((__no_instrument_function__)) ;
 8820
 8821#line 64 "include/linux/swab.h"
 8822__inline static __u64 __fswab64(__u64 val ) 
 8823{ __u64 tmp ;
 8824
 8825  {
 8826  {
 8827#line 67
 8828  tmp = __arch_swab64(val);
 8829  }
 8830#line 67
 8831  return (tmp);
 8832}
 8833}
 8834#line 174
 8835__inline static __u64 __swab64p(__u64    *p )  __attribute__((__no_instrument_function__)) ;
 8836#line 174 "include/linux/swab.h"
 8837__inline static __u64 __swab64p(__u64    *p ) 
 8838{ __u64 tmp ;
 8839  __u64    __cil_tmp3 ;
 8840  __u64 __cil_tmp4 ;
 8841
 8842  {
 8843  {
 8844#line 179
 8845  __cil_tmp3 = *p;
 8846#line 179
 8847  __cil_tmp4 = (__u64 )__cil_tmp3;
 8848#line 179
 8849  tmp = __fswab64(__cil_tmp4);
 8850  }
 8851#line 179
 8852  return (tmp);
 8853}
 8854}
 8855#line 71 "include/linux/byteorder/little_endian.h"
 8856__inline static __u64 __be64_to_cpup(__be64    *p )  __attribute__((__no_instrument_function__)) ;
 8857#line 71 "include/linux/byteorder/little_endian.h"
 8858__inline static __u64 __be64_to_cpup(__be64    *p ) 
 8859{ __u64 tmp ;
 8860  __u64 *__cil_tmp3 ;
 8861  __u64    *__cil_tmp4 ;
 8862
 8863  {
 8864  {
 8865#line 73
 8866  __cil_tmp3 = (__u64 *)p;
 8867#line 73
 8868  __cil_tmp4 = (__u64    *)__cil_tmp3;
 8869#line 73
 8870  tmp = __swab64p(__cil_tmp4);
 8871  }
 8872#line 73
 8873  return (tmp);
 8874}
 8875}
 8876#line 100 "include/linux/printk.h"
 8877extern int ( /* format attribute */  printk)(char    *fmt  , ...) ;
 8878#line 27 "include/linux/err.h"
 8879__inline static long __attribute__((__warn_unused_result__))  PTR_ERR(void    *ptr )  __attribute__((__no_instrument_function__)) ;
 8880#line 27 "include/linux/err.h"
 8881__inline static long __attribute__((__warn_unused_result__))  PTR_ERR(void    *ptr ) 
 8882{ 
 8883
 8884  {
 8885#line 29
 8886  return ((long )ptr);
 8887}
 8888}
 8889#line 32
 8890__inline static long __attribute__((__warn_unused_result__))  IS_ERR(void    *ptr )  __attribute__((__no_instrument_function__)) ;
 8891#line 32 "include/linux/err.h"
 8892__inline static long __attribute__((__warn_unused_result__))  IS_ERR(void    *ptr ) 
 8893{ long tmp ;
 8894  unsigned long __cil_tmp3 ;
 8895  int __cil_tmp4 ;
 8896  int __cil_tmp5 ;
 8897  int __cil_tmp6 ;
 8898  long __cil_tmp7 ;
 8899
 8900  {
 8901  {
 8902#line 34
 8903  __cil_tmp3 = (unsigned long )ptr;
 8904#line 34
 8905  __cil_tmp4 = __cil_tmp3 >= 0xfffffffffffff001UL;
 8906#line 34
 8907  __cil_tmp5 = ! __cil_tmp4;
 8908#line 34
 8909  __cil_tmp6 = ! __cil_tmp5;
 8910#line 34
 8911  __cil_tmp7 = (long )__cil_tmp6;
 8912#line 34
 8913  tmp = __builtin_expect(__cil_tmp7, 0L);
 8914  }
 8915#line 34
 8916  return (tmp);
 8917}
 8918}
 8919#line 23 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/atomic.h"
 8920__inline static int atomic_read(atomic_t    *v )  __attribute__((__no_instrument_function__)) ;
 8921#line 23 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/atomic.h"
 8922__inline static int atomic_read(atomic_t    *v ) 
 8923{ int    *__cil_tmp2 ;
 8924  int volatile   *__cil_tmp3 ;
 8925  int volatile   __cil_tmp4 ;
 8926
 8927  {
 8928  {
 8929#line 25
 8930  __cil_tmp2 = (int    *)v;
 8931#line 25
 8932  __cil_tmp3 = (int volatile   *)__cil_tmp2;
 8933#line 25
 8934  __cil_tmp4 = *__cil_tmp3;
 8935#line 25
 8936  return ((int )__cil_tmp4);
 8937  }
 8938}
 8939}
 8940#line 77
 8941__inline static int atomic_sub_and_test(int i , atomic_t *v )  __attribute__((__no_instrument_function__)) ;
 8942#line 77 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/atomic.h"
 8943__inline static int atomic_sub_and_test(int i , atomic_t *v ) 
 8944{ unsigned char c ;
 8945
 8946  {
 8947#line 81
 8948  __asm__  volatile   (".section .smp_locks,\"a\"\n"
 8949                       ".balign 4\n"
 8950                       ".long 671f - .\n"
 8951                       ".previous\n"
 8952                       "671:"
 8953                       "\n\tlock; "
 8954                       "subl %2,%0; sete %1": "+m" (*((int *)v)), "=qm" (c): "ir" (i): "memory");
 8955#line 84
 8956  return ((int )c);
 8957}
 8958}
 8959#line 93
 8960__inline static void atomic_inc(atomic_t *v )  __attribute__((__no_instrument_function__)) ;
 8961#line 93 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/atomic.h"
 8962__inline static void atomic_inc(atomic_t *v ) 
 8963{ 
 8964
 8965  {
 8966#line 95
 8967  __asm__  volatile   (".section .smp_locks,\"a\"\n"
 8968                       ".balign 4\n"
 8969                       ".long 671f - .\n"
 8970                       ".previous\n"
 8971                       "671:"
 8972                       "\n\tlock; "
 8973                       "incl %0": "+m" (*((int *)v)));
 8974#line 97
 8975  return;
 8976}
 8977}
 8978#line 298 "include/linux/jiffies.h"
 8979extern unsigned long msecs_to_jiffies(unsigned int    m ) ;
 8980#line 91 "include/linux/timer.h"
 8981extern void init_timer_key(struct timer_list *timer , char    *name , struct lock_class_key *key ) ;
 8982#line 115 "include/linux/mutex.h"
 8983extern void __mutex_init(struct mutex *lock , char    *name , struct lock_class_key *key ) ;
 8984#line 156 "include/linux/workqueue.h"
 8985extern void __init_work(struct work_struct *work , int onstack ) ;
 8986#line 382
 8987extern int schedule_delayed_work(struct delayed_work *work , unsigned long delay ) ;
 8988#line 396
 8989extern bool cancel_delayed_work_sync(struct delayed_work *dwork ) ;
 8990#line 161 "include/linux/slab.h"
 8991extern void kfree(void    * ) ;
 8992#line 39 "include/linux/kref.h"
 8993__inline static void kref_get(struct kref *kref )  __attribute__((__no_instrument_function__)) ;
 8994#line 39 "include/linux/kref.h"
 8995__inline static void kref_get(struct kref *kref ) 
 8996{ int __ret_warn_on ;
 8997  int tmp ;
 8998  int tmp___0 ;
 8999  long tmp___1 ;
 9000  atomic_t *__cil_tmp6 ;
 9001  atomic_t    *__cil_tmp7 ;
 9002  int __cil_tmp8 ;
 9003  int __cil_tmp9 ;
 9004  long __cil_tmp10 ;
 9005  int    __cil_tmp11 ;
 9006  int __cil_tmp12 ;
 9007  int __cil_tmp13 ;
 9008  long __cil_tmp14 ;
 9009  atomic_t *__cil_tmp15 ;
 9010
 9011  {
 9012  {
 9013#line 41
 9014  __cil_tmp6 = (atomic_t *)kref;
 9015#line 41
 9016  __cil_tmp7 = (atomic_t    *)__cil_tmp6;
 9017#line 41
 9018  tmp = atomic_read(__cil_tmp7);
 9019  }
 9020#line 41
 9021  if (tmp) {
 9022#line 41
 9023    tmp___0 = 0;
 9024  } else {
 9025#line 41
 9026    tmp___0 = 1;
 9027  }
 9028  {
 9029#line 41
 9030  __ret_warn_on = tmp___0;
 9031#line 41
 9032  __cil_tmp8 = ! __ret_warn_on;
 9033#line 41
 9034  __cil_tmp9 = ! __cil_tmp8;
 9035#line 41
 9036  __cil_tmp10 = (long )__cil_tmp9;
 9037#line 41
 9038  tmp___1 = __builtin_expect(__cil_tmp10, 0L);
 9039  }
 9040#line 41
 9041  if (tmp___1) {
 9042    {
 9043#line 41
 9044    __cil_tmp11 = (int    )41;
 9045#line 41
 9046    warn_slowpath_null("include/linux/kref.h", __cil_tmp11);
 9047    }
 9048  } else {
 9049
 9050  }
 9051  {
 9052#line 41
 9053  __cil_tmp12 = ! __ret_warn_on;
 9054#line 41
 9055  __cil_tmp13 = ! __cil_tmp12;
 9056#line 41
 9057  __cil_tmp14 = (long )__cil_tmp13;
 9058#line 41
 9059  __builtin_expect(__cil_tmp14, 0L);
 9060#line 42
 9061  __cil_tmp15 = (atomic_t *)kref;
 9062#line 42
 9063  atomic_inc(__cil_tmp15);
 9064  }
 9065#line 43
 9066  return;
 9067}
 9068}
 9069#line 63
 9070__inline static int kref_sub(struct kref *kref , unsigned int count , void (*release)(struct kref *kref ) )  __attribute__((__no_instrument_function__)) ;
 9071#line 63 "include/linux/kref.h"
 9072__inline static int kref_sub(struct kref *kref , unsigned int count , void (*release)(struct kref *kref ) ) 
 9073{ int __ret_warn_on ;
 9074  long tmp ;
 9075  int tmp___0 ;
 9076  void *__cil_tmp7 ;
 9077  unsigned long __cil_tmp8 ;
 9078  unsigned long __cil_tmp9 ;
 9079  int __cil_tmp10 ;
 9080  int __cil_tmp11 ;
 9081  int __cil_tmp12 ;
 9082  int __cil_tmp13 ;
 9083  long __cil_tmp14 ;
 9084  int    __cil_tmp15 ;
 9085  int __cil_tmp16 ;
 9086  int __cil_tmp17 ;
 9087  long __cil_tmp18 ;
 9088  int __cil_tmp19 ;
 9089  atomic_t *__cil_tmp20 ;
 9090
 9091  {
 9092  {
 9093#line 66
 9094  __cil_tmp7 = (void *)0;
 9095#line 66
 9096  __cil_tmp8 = (unsigned long )__cil_tmp7;
 9097#line 66
 9098  __cil_tmp9 = (unsigned long )release;
 9099#line 66
 9100  __cil_tmp10 = __cil_tmp9 == __cil_tmp8;
 9101#line 66
 9102  __cil_tmp11 = ! __cil_tmp10;
 9103#line 66
 9104  __ret_warn_on = ! __cil_tmp11;
 9105#line 66
 9106  __cil_tmp12 = ! __ret_warn_on;
 9107#line 66
 9108  __cil_tmp13 = ! __cil_tmp12;
 9109#line 66
 9110  __cil_tmp14 = (long )__cil_tmp13;
 9111#line 66
 9112  tmp = __builtin_expect(__cil_tmp14, 0L);
 9113  }
 9114#line 66
 9115  if (tmp) {
 9116    {
 9117#line 66
 9118    __cil_tmp15 = (int    )66;
 9119#line 66
 9120    warn_slowpath_null("include/linux/kref.h", __cil_tmp15);
 9121    }
 9122  } else {
 9123
 9124  }
 9125  {
 9126#line 66
 9127  __cil_tmp16 = ! __ret_warn_on;
 9128#line 66
 9129  __cil_tmp17 = ! __cil_tmp16;
 9130#line 66
 9131  __cil_tmp18 = (long )__cil_tmp17;
 9132#line 66
 9133  __builtin_expect(__cil_tmp18, 0L);
 9134#line 68
 9135  __cil_tmp19 = (int )count;
 9136#line 68
 9137  __cil_tmp20 = (atomic_t *)kref;
 9138#line 68
 9139  tmp___0 = atomic_sub_and_test(__cil_tmp19, __cil_tmp20);
 9140  }
 9141#line 68
 9142  if (tmp___0) {
 9143    {
 9144#line 69
 9145    (*release)(kref);
 9146    }
 9147#line 70
 9148    return (1);
 9149  } else {
 9150
 9151  }
 9152#line 72
 9153  return (0);
 9154}
 9155}
 9156#line 92
 9157__inline static int kref_put(struct kref *kref , void (*release)(struct kref *kref ) )  __attribute__((__no_instrument_function__)) ;
 9158#line 92 "include/linux/kref.h"
 9159__inline static int kref_put(struct kref *kref , void (*release)(struct kref *kref ) ) 
 9160{ int tmp ;
 9161
 9162  {
 9163  {
 9164#line 94
 9165  tmp = kref_sub(kref, 1U, release);
 9166  }
 9167#line 94
 9168  return (tmp);
 9169}
 9170}
 9171#line 221 "include/linux/slub_def.h"
 9172extern void *__kmalloc(size_t size , gfp_t flags ) ;
 9173#line 268
 9174__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
 9175                                                                    gfp_t flags )  __attribute__((__no_instrument_function__)) ;
 9176#line 268 "include/linux/slub_def.h"
 9177__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
 9178                                                                    gfp_t flags ) 
 9179{ void *tmp___2 ;
 9180
 9181  {
 9182  {
 9183#line 283
 9184  tmp___2 = __kmalloc(size, flags);
 9185  }
 9186#line 283
 9187  return (tmp___2);
 9188}
 9189}
 9190#line 349 "include/linux/slab.h"
 9191__inline static void *kzalloc(size_t size , gfp_t flags )  __attribute__((__no_instrument_function__)) ;
 9192#line 349 "include/linux/slab.h"
 9193__inline static void *kzalloc(size_t size , gfp_t flags ) 
 9194{ void *tmp ;
 9195  unsigned int __cil_tmp4 ;
 9196
 9197  {
 9198  {
 9199#line 351
 9200  __cil_tmp4 = flags | 32768U;
 9201#line 351
 9202  tmp = kmalloc(size, __cil_tmp4);
 9203  }
 9204#line 351
 9205  return (tmp);
 9206}
 9207}
 9208#line 32 "include/linux/unaligned/access_ok.h"
 9209__inline static u64 get_unaligned_be64(void    *p )  __attribute__((__no_instrument_function__)) ;
 9210#line 32 "include/linux/unaligned/access_ok.h"
 9211__inline static u64 get_unaligned_be64(void    *p ) 
 9212{ __u64 tmp ;
 9213  __be64 *__cil_tmp3 ;
 9214  __be64    *__cil_tmp4 ;
 9215
 9216  {
 9217  {
 9218#line 34
 9219  __cil_tmp3 = (__be64 *)p;
 9220#line 34
 9221  __cil_tmp4 = (__be64    *)__cil_tmp3;
 9222#line 34
 9223  tmp = __be64_to_cpup(__cil_tmp4);
 9224  }
 9225#line 34
 9226  return (tmp);
 9227}
 9228}
 9229#line 560 "include/linux/skbuff.h"
 9230extern void kfree_skb(struct sk_buff *skb ) ;
 9231#line 1185
 9232__inline static bool skb_is_nonlinear(struct sk_buff    *skb )  __attribute__((__no_instrument_function__)) ;
 9233#line 1185 "include/linux/skbuff.h"
 9234__inline static bool skb_is_nonlinear(struct sk_buff    *skb ) 
 9235{ unsigned long __cil_tmp2 ;
 9236  unsigned long __cil_tmp3 ;
 9237  unsigned int    __cil_tmp4 ;
 9238
 9239  {
 9240  {
 9241#line 1187
 9242  __cil_tmp2 = (unsigned long )skb;
 9243#line 1187
 9244  __cil_tmp3 = __cil_tmp2 + 108;
 9245#line 1187
 9246  __cil_tmp4 = *((unsigned int    *)__cil_tmp3);
 9247#line 1187
 9248  return ((bool )__cil_tmp4);
 9249  }
 9250}
 9251}
 9252#line 38 "include/scsi/fc_frame.h"
 9253__inline static u32 ntoh24(u8    *p )  __attribute__((__no_instrument_function__)) ;
 9254#line 38 "include/scsi/fc_frame.h"
 9255__inline static u32 ntoh24(u8    *p ) 
 9256{ u8    *__cil_tmp2 ;
 9257  u8    __cil_tmp3 ;
 9258  int    __cil_tmp4 ;
 9259  u8    *__cil_tmp5 ;
 9260  u8    __cil_tmp6 ;
 9261  int    __cil_tmp7 ;
 9262  int    __cil_tmp8 ;
 9263  u8    *__cil_tmp9 ;
 9264  u8    __cil_tmp10 ;
 9265  int    __cil_tmp11 ;
 9266  int    __cil_tmp12 ;
 9267  int    __cil_tmp13 ;
 9268  int    __cil_tmp14 ;
 9269
 9270  {
 9271  {
 9272#line 40
 9273  __cil_tmp2 = p + 2;
 9274#line 40
 9275  __cil_tmp3 = *__cil_tmp2;
 9276#line 40
 9277  __cil_tmp4 = (int    )__cil_tmp3;
 9278#line 40
 9279  __cil_tmp5 = p + 1;
 9280#line 40
 9281  __cil_tmp6 = *__cil_tmp5;
 9282#line 40
 9283  __cil_tmp7 = (int    )__cil_tmp6;
 9284#line 40
 9285  __cil_tmp8 = __cil_tmp7 << 8;
 9286#line 40
 9287  __cil_tmp9 = p + 0;
 9288#line 40
 9289  __cil_tmp10 = *__cil_tmp9;
 9290#line 40
 9291  __cil_tmp11 = (int    )__cil_tmp10;
 9292#line 40
 9293  __cil_tmp12 = __cil_tmp11 << 16;
 9294#line 40
 9295  __cil_tmp13 = __cil_tmp12 | __cil_tmp8;
 9296#line 40
 9297  __cil_tmp14 = __cil_tmp13 | __cil_tmp4;
 9298#line 40
 9299  return ((u32 )__cil_tmp14);
 9300  }
 9301}
 9302}
 9303#line 121
 9304struct fc_frame *fc_frame_alloc_fill(struct fc_lport *lp , size_t payload_len ) ;
 9305#line 122
 9306struct fc_frame *_fc_frame_alloc(size_t len ) ;
 9307#line 128
 9308__inline static struct fc_frame *fc_frame_alloc(struct fc_lport *dev , size_t len )  __attribute__((__no_instrument_function__)) ;
 9309#line 128 "include/scsi/fc_frame.h"
 9310__inline static struct fc_frame *fc_frame_alloc(struct fc_lport *dev , size_t len ) 
 9311{ struct fc_frame *fp ;
 9312
 9313  {
 9314#line 136
 9315  if (len) {
 9316#line 136
 9317    if (len % 4UL) {
 9318      {
 9319#line 137
 9320      fp = fc_frame_alloc_fill(dev, len);
 9321      }
 9322    } else {
 9323      {
 9324#line 139
 9325      fp = _fc_frame_alloc(len);
 9326      }
 9327    }
 9328  } else {
 9329    {
 9330#line 139
 9331    fp = _fc_frame_alloc(len);
 9332    }
 9333  }
 9334#line 140
 9335  return (fp);
 9336}
 9337}
 9338#line 146
 9339__inline static void fc_frame_free(struct fc_frame *fp )  __attribute__((__no_instrument_function__)) ;
 9340#line 146 "include/scsi/fc_frame.h"
 9341__inline static void fc_frame_free(struct fc_frame *fp ) 
 9342{ struct sk_buff *__cil_tmp2 ;
 9343
 9344  {
 9345  {
 9346#line 148
 9347  __cil_tmp2 = (struct sk_buff *)fp;
 9348#line 148
 9349  kfree_skb(__cil_tmp2);
 9350  }
 9351#line 149
 9352  return;
 9353}
 9354}
 9355#line 151
 9356__inline static int fc_frame_is_linear(struct fc_frame *fp )  __attribute__((__no_instrument_function__)) ;
 9357#line 151 "include/scsi/fc_frame.h"
 9358__inline static int fc_frame_is_linear(struct fc_frame *fp ) 
 9359{ bool tmp___7 ;
 9360  int tmp___8 ;
 9361  struct sk_buff *__cil_tmp4 ;
 9362  struct sk_buff    *__cil_tmp5 ;
 9363
 9364  {
 9365  {
 9366#line 153
 9367  __cil_tmp4 = (struct sk_buff *)fp;
 9368#line 153
 9369  __cil_tmp5 = (struct sk_buff    *)__cil_tmp4;
 9370#line 153
 9371  tmp___7 = skb_is_nonlinear(__cil_tmp5);
 9372  }
 9373#line 153
 9374  if (tmp___7) {
 9375#line 153
 9376    tmp___8 = 0;
 9377  } else {
 9378#line 153
 9379    tmp___8 = 1;
 9380  }
 9381#line 153
 9382  return (tmp___8);
 9383}
 9384}
 9385#line 170
 9386__inline static struct fc_frame_header *fc_frame_header_get(struct fc_frame    *fp )  __attribute__((__no_instrument_function__)) ;
 9387#line 170 "include/scsi/fc_frame.h"
 9388__inline static struct fc_frame_header *fc_frame_header_get(struct fc_frame    *fp ) 
 9389{ int __ret_warn_on ;
 9390  long tmp___7 ;
 9391  struct fc_frame_header *tmp___8 ;
 9392  unsigned long __cil_tmp5 ;
 9393  unsigned long __cil_tmp6 ;
 9394  unsigned long __cil_tmp7 ;
 9395  unsigned int    __cil_tmp8 ;
 9396  unsigned long __cil_tmp9 ;
 9397  int __cil_tmp10 ;
 9398  int __cil_tmp11 ;
 9399  int __cil_tmp12 ;
 9400  int __cil_tmp13 ;
 9401  long __cil_tmp14 ;
 9402  int    __cil_tmp15 ;
 9403  int __cil_tmp16 ;
 9404  int __cil_tmp17 ;
 9405  long __cil_tmp18 ;
 9406
 9407  {
 9408  {
 9409#line 173
 9410  __cil_tmp5 = 0 + 104;
 9411#line 173
 9412  __cil_tmp6 = (unsigned long )fp;
 9413#line 173
 9414  __cil_tmp7 = __cil_tmp6 + __cil_tmp5;
 9415#line 173
 9416  __cil_tmp8 = *((unsigned int    *)__cil_tmp7);
 9417#line 173
 9418  __cil_tmp9 = (unsigned long )__cil_tmp8;
 9419#line 173
 9420  __cil_tmp10 = __cil_tmp9 < 24UL;
 9421#line 173
 9422  __cil_tmp11 = ! __cil_tmp10;
 9423#line 173
 9424  __ret_warn_on = ! __cil_tmp11;
 9425#line 173
 9426  __cil_tmp12 = ! __ret_warn_on;
 9427#line 173
 9428  __cil_tmp13 = ! __cil_tmp12;
 9429#line 173
 9430  __cil_tmp14 = (long )__cil_tmp13;
 9431#line 173
 9432  tmp___7 = __builtin_expect(__cil_tmp14, 0L);
 9433  }
 9434#line 173
 9435  if (tmp___7) {
 9436    {
 9437#line 173
 9438    __cil_tmp15 = (int    )173;
 9439#line 173
 9440    warn_slowpath_null("include/scsi/fc_frame.h", __cil_tmp15);
 9441    }
 9442  } else {
 9443
 9444  }
 9445  {
 9446#line 173
 9447  __cil_tmp16 = ! __ret_warn_on;
 9448#line 173
 9449  __cil_tmp17 = ! __cil_tmp16;
 9450#line 173
 9451  __cil_tmp18 = (long )__cil_tmp17;
 9452#line 173
 9453  __builtin_expect(__cil_tmp18, 0L);
 9454#line 174
 9455  tmp___8 = __fc_frame_header_get(fp);
 9456  }
 9457#line 174
 9458  return (tmp___8);
 9459}
 9460}
 9461#line 203
 9462__inline static void *fc_frame_payload_get(struct fc_frame    *fp , size_t len )  __attribute__((__no_instrument_function__)) ;
 9463#line 203 "include/scsi/fc_frame.h"
 9464__inline static void *fc_frame_payload_get(struct fc_frame    *fp , size_t len ) 
 9465{ void *pp ;
 9466  struct fc_frame_header *tmp___7 ;
 9467  unsigned long __cil_tmp5 ;
 9468  unsigned long __cil_tmp6 ;
 9469  unsigned long __cil_tmp7 ;
 9470  unsigned long __cil_tmp8 ;
 9471  unsigned int    __cil_tmp9 ;
 9472  unsigned long __cil_tmp10 ;
 9473  struct fc_frame_header *__cil_tmp11 ;
 9474
 9475  {
 9476#line 206
 9477  pp = (void *)0;
 9478  {
 9479#line 208
 9480  __cil_tmp5 = 24UL + len;
 9481#line 208
 9482  __cil_tmp6 = 0 + 104;
 9483#line 208
 9484  __cil_tmp7 = (unsigned long )fp;
 9485#line 208
 9486  __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
 9487#line 208
 9488  __cil_tmp9 = *((unsigned int    *)__cil_tmp8);
 9489#line 208
 9490  __cil_tmp10 = (unsigned long )__cil_tmp9;
 9491#line 208
 9492  if (__cil_tmp10 >= __cil_tmp5) {
 9493    {
 9494#line 209
 9495    tmp___7 = fc_frame_header_get(fp);
 9496#line 209
 9497    __cil_tmp11 = tmp___7 + 1;
 9498#line 209
 9499    pp = (void *)__cil_tmp11;
 9500    }
 9501  } else {
 9502
 9503  }
 9504  }
 9505#line 210
 9506  return (pp);
 9507}
 9508}
 9509#line 218
 9510__inline static u8 fc_frame_payload_op(struct fc_frame    *fp )  __attribute__((__no_instrument_function__)) ;
 9511#line 218 "include/scsi/fc_frame.h"
 9512__inline static u8 fc_frame_payload_op(struct fc_frame    *fp ) 
 9513{ u8 *cp ;
 9514  void *tmp___7 ;
 9515
 9516  {
 9517  {
 9518#line 222
 9519  tmp___7 = fc_frame_payload_get(fp, 1UL);
 9520#line 222
 9521  cp = (u8 *)tmp___7;
 9522  }
 9523#line 223
 9524  if (! cp) {
 9525#line 224
 9526    return ((u8 )0);
 9527  } else {
 9528
 9529  }
 9530#line 225
 9531  return (*cp);
 9532}
 9533}
 9534#line 939 "include/scsi/libfc.h"
 9535__inline static int fc_lport_test_ready(struct fc_lport *lport )  __attribute__((__no_instrument_function__)) ;
 9536#line 939 "include/scsi/libfc.h"
 9537__inline static int fc_lport_test_ready(struct fc_lport *lport ) 
 9538{ unsigned long __cil_tmp2 ;
 9539  unsigned long __cil_tmp3 ;
 9540  enum fc_lport_state __cil_tmp4 ;
 9541  unsigned int __cil_tmp5 ;
 9542
 9543  {
 9544  {
 9545#line 941
 9546  __cil_tmp2 = (unsigned long )lport;
 9547#line 941
 9548  __cil_tmp3 = __cil_tmp2 + 604;
 9549#line 941
 9550  __cil_tmp4 = *((enum fc_lport_state *)__cil_tmp3);
 9551#line 941
 9552  __cil_tmp5 = (unsigned int )__cil_tmp4;
 9553#line 941
 9554  return (__cil_tmp5 == 14U);
 9555  }
 9556}
 9557}
 9558#line 1072
 9559int fc_disc_init(struct fc_lport *lport ) ;
 9560#line 1074
 9561__inline static struct fc_lport *fc_disc_lport(struct fc_disc *disc )  __attribute__((__no_instrument_function__)) ;
 9562#line 1074 "include/scsi/libfc.h"
 9563__inline static struct fc_lport *fc_disc_lport(struct fc_disc *disc ) 
 9564{ struct fc_disc    *__mptr ;
 9565  struct fc_lport *__cil_tmp3 ;
 9566  unsigned long __cil_tmp4 ;
 9567  unsigned long __cil_tmp5 ;
 9568  struct fc_disc *__cil_tmp6 ;
 9569  unsigned int __cil_tmp7 ;
 9570  char *__cil_tmp8 ;
 9571  char *__cil_tmp9 ;
 9572
 9573  {
 9574#line 1076
 9575  __mptr = (struct fc_disc    *)disc;
 9576  {
 9577#line 1076
 9578  __cil_tmp3 = (struct fc_lport *)0;
 9579#line 1076
 9580  __cil_tmp4 = (unsigned long )__cil_tmp3;
 9581#line 1076
 9582  __cil_tmp5 = __cil_tmp4 + 56;
 9583#line 1076
 9584  __cil_tmp6 = (struct fc_disc *)__cil_tmp5;
 9585#line 1076
 9586  __cil_tmp7 = (unsigned int )__cil_tmp6;
 9587#line 1076
 9588  __cil_tmp8 = (char *)__mptr;
 9589#line 1076
 9590  __cil_tmp9 = __cil_tmp8 - __cil_tmp7;
 9591#line 1076
 9592  return ((struct fc_lport *)__cil_tmp9);
 9593  }
 9594}
 9595}
 9596#line 50 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
 9597static void fc_disc_gpn_ft_req(struct fc_disc *disc ) ;
 9598#line 51
 9599static void fc_disc_gpn_ft_resp(struct fc_seq *sp , struct fc_frame *fp , void *disc_arg ) ;
 9600#line 52
 9601static void fc_disc_done(struct fc_disc *disc , enum fc_disc_event event ) ;
 9602#line 53
 9603static void fc_disc_timeout(struct work_struct *work ) ;
 9604#line 54
 9605static int fc_disc_single(struct fc_lport *lport , struct fc_disc_port *dp ) ;
 9606#line 55
 9607static void fc_disc_restart(struct fc_disc *disc ) ;
 9608#line 64 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
 9609static void fc_disc_stop_rports(struct fc_disc *disc ) 
 9610{ struct fc_lport *lport ;
 9611  struct fc_rport_priv *rdata ;
 9612  struct list_head *__ptr ;
 9613  struct list_head    *__mptr ;
 9614  struct list_head *_________p1 ;
 9615  struct list_head *__ptr___0 ;
 9616  struct list_head    *__mptr___0 ;
 9617  struct list_head *_________p1___0 ;
 9618  unsigned long __cil_tmp10 ;
 9619  unsigned long __cil_tmp11 ;
 9620  struct mutex *__cil_tmp12 ;
 9621  struct list_head **__cil_tmp13 ;
 9622  unsigned long __cil_tmp14 ;
 9623  unsigned long __cil_tmp15 ;
 9624  struct list_head * volatile  *__cil_tmp16 ;
 9625  struct list_head * volatile  __cil_tmp17 ;
 9626  struct fc_rport_priv *__cil_tmp18 ;
 9627  unsigned long __cil_tmp19 ;
 9628  unsigned long __cil_tmp20 ;
 9629  struct list_head *__cil_tmp21 ;
 9630  unsigned int __cil_tmp22 ;
 9631  char *__cil_tmp23 ;
 9632  char *__cil_tmp24 ;
 9633  unsigned long __cil_tmp25 ;
 9634  unsigned long __cil_tmp26 ;
 9635  struct list_head *__cil_tmp27 ;
 9636  unsigned long __cil_tmp28 ;
 9637  unsigned long __cil_tmp29 ;
 9638  unsigned long __cil_tmp30 ;
 9639  struct list_head *__cil_tmp31 ;
 9640  unsigned long __cil_tmp32 ;
 9641  unsigned long __cil_tmp33 ;
 9642  unsigned long __cil_tmp34 ;
 9643  unsigned long __cil_tmp35 ;
 9644  int (*__cil_tmp36)(struct fc_rport_priv * ) ;
 9645  struct list_head **__cil_tmp37 ;
 9646  unsigned long __cil_tmp38 ;
 9647  unsigned long __cil_tmp39 ;
 9648  struct list_head * volatile  *__cil_tmp40 ;
 9649  struct list_head * volatile  __cil_tmp41 ;
 9650  struct fc_rport_priv *__cil_tmp42 ;
 9651  unsigned long __cil_tmp43 ;
 9652  unsigned long __cil_tmp44 ;
 9653  struct list_head *__cil_tmp45 ;
 9654  unsigned int __cil_tmp46 ;
 9655  char *__cil_tmp47 ;
 9656  char *__cil_tmp48 ;
 9657  unsigned long __cil_tmp49 ;
 9658  unsigned long __cil_tmp50 ;
 9659  struct mutex *__cil_tmp51 ;
 9660
 9661  {
 9662  {
 9663#line 69
 9664  lport = fc_disc_lport(disc);
 9665#line 71
 9666  __cil_tmp10 = (unsigned long )disc;
 9667#line 71
 9668  __cil_tmp11 = __cil_tmp10 + 40;
 9669#line 71
 9670  __cil_tmp12 = (struct mutex *)__cil_tmp11;
 9671#line 71
 9672  mutex_lock(__cil_tmp12);
 9673#line 72
 9674  __cil_tmp13 = & __ptr;
 9675#line 72
 9676  __cil_tmp14 = (unsigned long )disc;
 9677#line 72
 9678  __cil_tmp15 = __cil_tmp14 + 16;
 9679#line 72
 9680  *__cil_tmp13 = *((struct list_head **)__cil_tmp15);
 9681#line 72
 9682  __cil_tmp16 = (struct list_head * volatile  *)(& __ptr);
 9683#line 72
 9684  __cil_tmp17 = *__cil_tmp16;
 9685#line 72
 9686  _________p1 = (struct list_head *)__cil_tmp17;
 9687  }
 9688  {
 9689#line 72
 9690  while (1) {
 9691    while_continue: /* CIL Label */ ;
 9692#line 72
 9693    goto while_break;
 9694  }
 9695  while_break: /* CIL Label */ ;
 9696  }
 9697  {
 9698#line 72
 9699  while (1) {
 9700    while_continue___0: /* CIL Label */ ;
 9701#line 72
 9702    goto while_break___0;
 9703  }
 9704  while_break___0: /* CIL Label */ ;
 9705  }
 9706#line 72
 9707  __mptr = (struct list_head    *)_________p1;
 9708#line 72
 9709  __cil_tmp18 = (struct fc_rport_priv *)0;
 9710#line 72
 9711  __cil_tmp19 = (unsigned long )__cil_tmp18;
 9712#line 72
 9713  __cil_tmp20 = __cil_tmp19 + 272;
 9714#line 72
 9715  __cil_tmp21 = (struct list_head *)__cil_tmp20;
 9716#line 72
 9717  __cil_tmp22 = (unsigned int )__cil_tmp21;
 9718#line 72
 9719  __cil_tmp23 = (char *)__mptr;
 9720#line 72
 9721  __cil_tmp24 = __cil_tmp23 - __cil_tmp22;
 9722#line 72
 9723  rdata = (struct fc_rport_priv *)__cil_tmp24;
 9724  {
 9725#line 72
 9726  while (1) {
 9727    while_continue___1: /* CIL Label */ ;
 9728    {
 9729#line 72
 9730    __cil_tmp25 = (unsigned long )disc;
 9731#line 72
 9732    __cil_tmp26 = __cil_tmp25 + 16;
 9733#line 72
 9734    __cil_tmp27 = (struct list_head *)__cil_tmp26;
 9735#line 72
 9736    __cil_tmp28 = (unsigned long )__cil_tmp27;
 9737#line 72
 9738    __cil_tmp29 = (unsigned long )rdata;
 9739#line 72
 9740    __cil_tmp30 = __cil_tmp29 + 272;
 9741#line 72
 9742    __cil_tmp31 = (struct list_head *)__cil_tmp30;
 9743#line 72
 9744    __cil_tmp32 = (unsigned long )__cil_tmp31;
 9745#line 72
 9746    if (__cil_tmp32 != __cil_tmp28) {
 9747
 9748    } else {
 9749#line 72
 9750      goto while_break___1;
 9751    }
 9752    }
 9753    {
 9754#line 73
 9755    __cil_tmp33 = 328 + 176;
 9756#line 73
 9757    __cil_tmp34 = (unsigned long )lport;
 9758#line 73
 9759    __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
 9760#line 73
 9761    __cil_tmp36 = *((int (**)(struct fc_rport_priv * ))__cil_tmp35);
 9762#line 73
 9763    (*__cil_tmp36)(rdata);
 9764#line 72
 9765    __cil_tmp37 = & __ptr___0;
 9766#line 72
 9767    __cil_tmp38 = (unsigned long )rdata;
 9768#line 72
 9769    __cil_tmp39 = __cil_tmp38 + 272;
 9770#line 72
 9771    *__cil_tmp37 = *((struct list_head **)__cil_tmp39);
 9772#line 72
 9773    __cil_tmp40 = (struct list_head * volatile  *)(& __ptr___0);
 9774#line 72
 9775    __cil_tmp41 = *__cil_tmp40;
 9776#line 72
 9777    _________p1___0 = (struct list_head *)__cil_tmp41;
 9778    }
 9779    {
 9780#line 72
 9781    while (1) {
 9782      while_continue___2: /* CIL Label */ ;
 9783#line 72
 9784      goto while_break___2;
 9785    }
 9786    while_break___2: /* CIL Label */ ;
 9787    }
 9788    {
 9789#line 72
 9790    while (1) {
 9791      while_continue___3: /* CIL Label */ ;
 9792#line 72
 9793      goto while_break___3;
 9794    }
 9795    while_break___3: /* CIL Label */ ;
 9796    }
 9797#line 72
 9798    __mptr___0 = (struct list_head    *)_________p1___0;
 9799#line 72
 9800    __cil_tmp42 = (struct fc_rport_priv *)0;
 9801#line 72
 9802    __cil_tmp43 = (unsigned long )__cil_tmp42;
 9803#line 72
 9804    __cil_tmp44 = __cil_tmp43 + 272;
 9805#line 72
 9806    __cil_tmp45 = (struct list_head *)__cil_tmp44;
 9807#line 72
 9808    __cil_tmp46 = (unsigned int )__cil_tmp45;
 9809#line 72
 9810    __cil_tmp47 = (char *)__mptr___0;
 9811#line 72
 9812    __cil_tmp48 = __cil_tmp47 - __cil_tmp46;
 9813#line 72
 9814    rdata = (struct fc_rport_priv *)__cil_tmp48;
 9815  }
 9816  while_break___1: /* CIL Label */ ;
 9817  }
 9818  {
 9819#line 74
 9820  __cil_tmp49 = (unsigned long )disc;
 9821#line 74
 9822  __cil_tmp50 = __cil_tmp49 + 40;
 9823#line 74
 9824  __cil_tmp51 = (struct mutex *)__cil_tmp50;
 9825#line 74
 9826  mutex_unlock(__cil_tmp51);
 9827  }
 9828#line 75
 9829  return;
 9830}
 9831}
 9832#line 85 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
 9833static void fc_disc_recv_rscn_req(struct fc_disc *disc , struct fc_frame *fp ) 
 9834{ struct fc_lport *lport ;
 9835  struct fc_els_rscn *rp ;
 9836  struct fc_els_rscn_page *pp ;
 9837  struct fc_seq_els_data rjt_data ;
 9838  unsigned int len ;
 9839  int redisc ;
 9840  enum fc_els_rscn_ev_qual ev_qual ;
 9841  enum fc_els_rscn_addr_fmt fmt ;
 9842  struct list_head disc_ports ;
 9843  struct fc_disc_port *dp ;
 9844  struct fc_disc_port *next ;
 9845  struct fc_lport *tmp___7 ;
 9846  long tmp___8 ;
 9847  void *tmp___9 ;
 9848  __u16 tmp___10 ;
 9849  void *tmp___11 ;
 9850  u32 tmp___12 ;
 9851  struct fc_lport *tmp___13 ;
 9852  long tmp___14 ;
 9853  void *tmp___15 ;
 9854  struct fc_lport *tmp___16 ;
 9855  long tmp___17 ;
 9856  struct list_head    *__mptr ;
 9857  struct list_head    *__mptr___0 ;
 9858  struct list_head    *__mptr___1 ;
 9859  struct fc_lport *tmp___18 ;
 9860  long tmp___19 ;
 9861  struct fc_lport *tmp___20 ;
 9862  long tmp___21 ;
 9863  struct fc_lport *tmp___22 ;
 9864  long tmp___23 ;
 9865  struct list_head *__cil_tmp34 ;
 9866  unsigned long __cil_tmp35 ;
 9867  unsigned int *__cil_tmp36 ;
 9868  unsigned int __cil_tmp37 ;
 9869  unsigned int __cil_tmp38 ;
 9870  int __cil_tmp39 ;
 9871  int __cil_tmp40 ;
 9872  long __cil_tmp41 ;
 9873  struct Scsi_Host *__cil_tmp42 ;
 9874  unsigned long __cil_tmp43 ;
 9875  unsigned long __cil_tmp44 ;
 9876  unsigned int __cil_tmp45 ;
 9877  struct fc_frame    *__cil_tmp46 ;
 9878  unsigned long __cil_tmp47 ;
 9879  unsigned long __cil_tmp48 ;
 9880  __u8 __cil_tmp49 ;
 9881  unsigned long __cil_tmp50 ;
 9882  unsigned long __cil_tmp51 ;
 9883  unsigned long __cil_tmp52 ;
 9884  __be16 __cil_tmp53 ;
 9885  int __cil_tmp54 ;
 9886  unsigned long __cil_tmp55 ;
 9887  struct fc_frame    *__cil_tmp56 ;
 9888  size_t __cil_tmp57 ;
 9889  unsigned long __cil_tmp58 ;
 9890  unsigned long __cil_tmp59 ;
 9891  unsigned long __cil_tmp60 ;
 9892  struct fc_els_rscn *__cil_tmp61 ;
 9893  void *__cil_tmp62 ;
 9894  __u8 __cil_tmp63 ;
 9895  int __cil_tmp64 ;
 9896  int __cil_tmp65 ;
 9897  unsigned int __cil_tmp66 ;
 9898  unsigned int __cil_tmp67 ;
 9899  __u8 __cil_tmp68 ;
 9900  int __cil_tmp69 ;
 9901  unsigned int __cil_tmp70 ;
 9902  unsigned int __cil_tmp71 ;
 9903  unsigned int *__cil_tmp72 ;
 9904  unsigned int __cil_tmp73 ;
 9905  unsigned int __cil_tmp74 ;
 9906  int __cil_tmp75 ;
 9907  int __cil_tmp76 ;
 9908  long __cil_tmp77 ;
 9909  unsigned long __cil_tmp78 ;
 9910  unsigned long __cil_tmp79 ;
 9911  unsigned long __cil_tmp80 ;
 9912  unsigned long __cil_tmp81 ;
 9913  __u8 *__cil_tmp82 ;
 9914  u8    *__cil_tmp83 ;
 9915  struct Scsi_Host *__cil_tmp84 ;
 9916  unsigned long __cil_tmp85 ;
 9917  unsigned long __cil_tmp86 ;
 9918  unsigned int __cil_tmp87 ;
 9919  unsigned long __cil_tmp88 ;
 9920  unsigned long __cil_tmp89 ;
 9921  unsigned long __cil_tmp90 ;
 9922  unsigned long __cil_tmp91 ;
 9923  unsigned long __cil_tmp92 ;
 9924  unsigned long __cil_tmp93 ;
 9925  __u8 *__cil_tmp94 ;
 9926  u8    *__cil_tmp95 ;
 9927  unsigned long __cil_tmp96 ;
 9928  unsigned long __cil_tmp97 ;
 9929  struct list_head *__cil_tmp98 ;
 9930  unsigned int *__cil_tmp99 ;
 9931  unsigned int __cil_tmp100 ;
 9932  unsigned int __cil_tmp101 ;
 9933  int __cil_tmp102 ;
 9934  int __cil_tmp103 ;
 9935  long __cil_tmp104 ;
 9936  struct Scsi_Host *__cil_tmp105 ;
 9937  unsigned long __cil_tmp106 ;
 9938  unsigned long __cil_tmp107 ;
 9939  unsigned int __cil_tmp108 ;
 9940  unsigned int __cil_tmp109 ;
 9941  unsigned long __cil_tmp110 ;
 9942  unsigned long __cil_tmp111 ;
 9943  unsigned long __cil_tmp112 ;
 9944  unsigned long __cil_tmp113 ;
 9945  unsigned long __cil_tmp114 ;
 9946  void (*__cil_tmp115)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
 9947  enum fc_els_cmd __cil_tmp116 ;
 9948  void *__cil_tmp117 ;
 9949  struct fc_seq_els_data *__cil_tmp118 ;
 9950  struct list_head *__cil_tmp119 ;
 9951  struct list_head *__cil_tmp120 ;
 9952  struct fc_disc_port *__cil_tmp121 ;
 9953  unsigned long __cil_tmp122 ;
 9954  unsigned long __cil_tmp123 ;
 9955  struct list_head *__cil_tmp124 ;
 9956  unsigned int __cil_tmp125 ;
 9957  char *__cil_tmp126 ;
 9958  char *__cil_tmp127 ;
 9959  unsigned long __cil_tmp128 ;
 9960  unsigned long __cil_tmp129 ;
 9961  struct list_head *__cil_tmp130 ;
 9962  struct fc_disc_port *__cil_tmp131 ;
 9963  unsigned long __cil_tmp132 ;
 9964  unsigned long __cil_tmp133 ;
 9965  struct list_head *__cil_tmp134 ;
 9966  unsigned int __cil_tmp135 ;
 9967  char *__cil_tmp136 ;
 9968  char *__cil_tmp137 ;
 9969  unsigned long __cil_tmp138 ;
 9970  unsigned long __cil_tmp139 ;
 9971  unsigned long __cil_tmp140 ;
 9972  struct list_head *__cil_tmp141 ;
 9973  unsigned long __cil_tmp142 ;
 9974  unsigned long __cil_tmp143 ;
 9975  unsigned long __cil_tmp144 ;
 9976  struct list_head *__cil_tmp145 ;
 9977  void    *__cil_tmp146 ;
 9978  unsigned long __cil_tmp147 ;
 9979  unsigned long __cil_tmp148 ;
 9980  struct list_head *__cil_tmp149 ;
 9981  struct fc_disc_port *__cil_tmp150 ;
 9982  unsigned long __cil_tmp151 ;
 9983  unsigned long __cil_tmp152 ;
 9984  struct list_head *__cil_tmp153 ;
 9985  unsigned int __cil_tmp154 ;
 9986  char *__cil_tmp155 ;
 9987  char *__cil_tmp156 ;
 9988  unsigned int *__cil_tmp157 ;
 9989  unsigned int __cil_tmp158 ;
 9990  unsigned int __cil_tmp159 ;
 9991  int __cil_tmp160 ;
 9992  int __cil_tmp161 ;
 9993  long __cil_tmp162 ;
 9994  struct Scsi_Host *__cil_tmp163 ;
 9995  unsigned long __cil_tmp164 ;
 9996  unsigned long __cil_tmp165 ;
 9997  unsigned int __cil_tmp166 ;
 9998  unsigned int *__cil_tmp167 ;
 9999  unsigned int __cil_tmp168 ;
10000  unsigned int __cil_tmp169 ;
10001  int __cil_tmp170 ;
10002  int __cil_tmp171 ;
10003  long __cil_tmp172 ;
10004  struct Scsi_Host *__cil_tmp173 ;
10005  unsigned long __cil_tmp174 ;
10006  unsigned long __cil_tmp175 ;
10007  unsigned int __cil_tmp176 ;
10008  unsigned long __cil_tmp177 ;
10009  unsigned long __cil_tmp178 ;
10010  enum fc_lport_state __cil_tmp179 ;
10011  unsigned int __cil_tmp180 ;
10012  unsigned long __cil_tmp181 ;
10013  unsigned long __cil_tmp182 ;
10014  unsigned char __cil_tmp183 ;
10015  int __cil_tmp184 ;
10016  unsigned int *__cil_tmp185 ;
10017  unsigned int __cil_tmp186 ;
10018  unsigned int __cil_tmp187 ;
10019  int __cil_tmp188 ;
10020  int __cil_tmp189 ;
10021  long __cil_tmp190 ;
10022  struct Scsi_Host *__cil_tmp191 ;
10023  unsigned long __cil_tmp192 ;
10024  unsigned long __cil_tmp193 ;
10025  unsigned int __cil_tmp194 ;
10026  struct fc_seq_els_data *__cil_tmp195 ;
10027  unsigned long __cil_tmp196 ;
10028  unsigned long __cil_tmp197 ;
10029  unsigned long __cil_tmp198 ;
10030  unsigned long __cil_tmp199 ;
10031  void (*__cil_tmp200)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
10032  enum fc_els_cmd __cil_tmp201 ;
10033
10034  {
10035  {
10036#line 92
10037  redisc = 0;
10038#line 95
10039  __cil_tmp34 = & disc_ports;
10040#line 95
10041  *((struct list_head **)__cil_tmp34) = & disc_ports;
10042#line 95
10043  __cil_tmp35 = (unsigned long )(& disc_ports) + 8;
10044#line 95
10045  *((struct list_head **)__cil_tmp35) = & disc_ports;
10046#line 98
10047  lport = fc_disc_lport(disc);
10048  }
10049  {
10050#line 100
10051  while (1) {
10052    while_continue: /* CIL Label */ ;
10053    {
10054#line 100
10055    __cil_tmp36 = & fc_debug_logging;
10056#line 100
10057    __cil_tmp37 = *__cil_tmp36;
10058#line 100
10059    __cil_tmp38 = __cil_tmp37 & 4U;
10060#line 100
10061    __cil_tmp39 = ! __cil_tmp38;
10062#line 100
10063    __cil_tmp40 = ! __cil_tmp39;
10064#line 100
10065    __cil_tmp41 = (long )__cil_tmp40;
10066#line 100
10067    tmp___8 = __builtin_expect(__cil_tmp41, 0L);
10068    }
10069#line 100
10070    if (tmp___8) {
10071      {
10072#line 100
10073      while (1) {
10074        while_continue___0: /* CIL Label */ ;
10075        {
10076#line 100
10077        tmp___7 = fc_disc_lport(disc);
10078#line 100
10079        __cil_tmp42 = *((struct Scsi_Host **)tmp___7);
10080#line 100
10081        __cil_tmp43 = (unsigned long )__cil_tmp42;
10082#line 100
10083        __cil_tmp44 = __cil_tmp43 + 308;
10084#line 100
10085        __cil_tmp45 = *((unsigned int *)__cil_tmp44);
10086#line 100
10087        printk("<6>host%u: disc: Received an RSCN event\n", __cil_tmp45);
10088        }
10089#line 100
10090        goto while_break___0;
10091      }
10092      while_break___0: /* CIL Label */ ;
10093      }
10094    } else {
10095
10096    }
10097#line 100
10098    goto while_break;
10099  }
10100  while_break: /* CIL Label */ ;
10101  }
10102  {
10103#line 103
10104  __cil_tmp46 = (struct fc_frame    *)fp;
10105#line 103
10106  tmp___9 = fc_frame_payload_get(__cil_tmp46, 4UL);
10107#line 103
10108  rp = (struct fc_els_rscn *)tmp___9;
10109  }
10110#line 104
10111  if (! rp) {
10112#line 105
10113    goto reject;
10114  } else {
10115
10116  }
10117  {
10118#line 107
10119  __cil_tmp47 = (unsigned long )rp;
10120#line 107
10121  __cil_tmp48 = __cil_tmp47 + 1;
10122#line 107
10123  __cil_tmp49 = *((__u8 *)__cil_tmp48);
10124#line 107
10125  __cil_tmp50 = (unsigned long )__cil_tmp49;
10126#line 107
10127  if (__cil_tmp50 != 4UL) {
10128#line 108
10129    goto reject;
10130  } else {
10131
10132  }
10133  }
10134  {
10135#line 110
10136  __cil_tmp51 = (unsigned long )rp;
10137#line 110
10138  __cil_tmp52 = __cil_tmp51 + 2;
10139#line 110
10140  __cil_tmp53 = *((__be16 *)__cil_tmp52);
10141#line 110
10142  tmp___10 = __fswab16(__cil_tmp53);
10143#line 110
10144  __cil_tmp54 = (int )tmp___10;
10145#line 110
10146  len = (unsigned int )__cil_tmp54;
10147  }
10148  {
10149#line 111
10150  __cil_tmp55 = (unsigned long )len;
10151#line 111
10152  if (__cil_tmp55 < 4UL) {
10153#line 112
10154    goto reject;
10155  } else {
10156
10157  }
10158  }
10159  {
10160#line 114
10161  __cil_tmp56 = (struct fc_frame    *)fp;
10162#line 114
10163  __cil_tmp57 = (size_t )len;
10164#line 114
10165  tmp___11 = fc_frame_payload_get(__cil_tmp56, __cil_tmp57);
10166#line 114
10167  rp = (struct fc_els_rscn *)tmp___11;
10168  }
10169#line 115
10170  if (! rp) {
10171#line 116
10172    goto reject;
10173  } else {
10174
10175  }
10176#line 118
10177  __cil_tmp58 = (unsigned long )len;
10178#line 118
10179  __cil_tmp59 = __cil_tmp58 - 4UL;
10180#line 118
10181  len = (unsigned int )__cil_tmp59;
10182  {
10183#line 119
10184  __cil_tmp60 = (unsigned long )len;
10185#line 119
10186  if (__cil_tmp60 % 4UL) {
10187#line 120
10188    goto reject;
10189  } else {
10190
10191  }
10192  }
10193#line 122
10194  __cil_tmp61 = rp + 1;
10195#line 122
10196  __cil_tmp62 = (void *)__cil_tmp61;
10197#line 122
10198  pp = (struct fc_els_rscn_page *)__cil_tmp62;
10199  {
10200#line 122
10201  while (1) {
10202    while_continue___1: /* CIL Label */ ;
10203#line 122
10204    if (len > 0U) {
10205
10206    } else {
10207#line 122
10208      goto while_break___1;
10209    }
10210#line 123
10211    __cil_tmp63 = *((__u8 *)pp);
10212#line 123
10213    __cil_tmp64 = (int )__cil_tmp63;
10214#line 123
10215    __cil_tmp65 = __cil_tmp64 >> 2;
10216#line 123
10217    ev_qual = (enum fc_els_rscn_ev_qual )__cil_tmp65;
10218#line 124
10219    __cil_tmp66 = (unsigned int )ev_qual;
10220#line 124
10221    __cil_tmp67 = __cil_tmp66 & 15U;
10222#line 124
10223    ev_qual = (enum fc_els_rscn_ev_qual )__cil_tmp67;
10224#line 125
10225    __cil_tmp68 = *((__u8 *)pp);
10226#line 125
10227    __cil_tmp69 = (int )__cil_tmp68;
10228#line 125
10229    fmt = (enum fc_els_rscn_addr_fmt )__cil_tmp69;
10230#line 126
10231    __cil_tmp70 = (unsigned int )fmt;
10232#line 126
10233    __cil_tmp71 = __cil_tmp70 & 3U;
10234#line 126
10235    fmt = (enum fc_els_rscn_addr_fmt )__cil_tmp71;
10236#line 132
10237    if ((int )fmt == 0) {
10238#line 132
10239      goto case_0;
10240    } else {
10241      {
10242#line 147
10243      goto switch_default;
10244#line 131
10245      if (0) {
10246        case_0: /* CIL Label */ 
10247        {
10248#line 133
10249        while (1) {
10250          while_continue___2: /* CIL Label */ ;
10251          {
10252#line 133
10253          __cil_tmp72 = & fc_debug_logging;
10254#line 133
10255          __cil_tmp73 = *__cil_tmp72;
10256#line 133
10257          __cil_tmp74 = __cil_tmp73 & 4U;
10258#line 133
10259          __cil_tmp75 = ! __cil_tmp74;
10260#line 133
10261          __cil_tmp76 = ! __cil_tmp75;
10262#line 133
10263          __cil_tmp77 = (long )__cil_tmp76;
10264#line 133
10265          tmp___14 = __builtin_expect(__cil_tmp77, 0L);
10266          }
10267#line 133
10268          if (tmp___14) {
10269            {
10270#line 133
10271            while (1) {
10272              while_continue___3: /* CIL Label */ ;
10273              {
10274#line 133
10275              __cil_tmp78 = 0 * 1UL;
10276#line 133
10277              __cil_tmp79 = 1 + __cil_tmp78;
10278#line 133
10279              __cil_tmp80 = (unsigned long )pp;
10280#line 133
10281              __cil_tmp81 = __cil_tmp80 + __cil_tmp79;
10282#line 133
10283              __cil_tmp82 = (__u8 *)__cil_tmp81;
10284#line 133
10285              __cil_tmp83 = (u8    *)__cil_tmp82;
10286#line 133
10287              tmp___12 = ntoh24(__cil_tmp83);
10288#line 133
10289              tmp___13 = fc_disc_lport(disc);
10290#line 133
10291              __cil_tmp84 = *((struct Scsi_Host **)tmp___13);
10292#line 133
10293              __cil_tmp85 = (unsigned long )__cil_tmp84;
10294#line 133
10295              __cil_tmp86 = __cil_tmp85 + 308;
10296#line 133
10297              __cil_tmp87 = *((unsigned int *)__cil_tmp86);
10298#line 133
10299              printk("<6>host%u: disc: Port address format for port (%6.6x)\n", __cil_tmp87,
10300                     tmp___12);
10301              }
10302#line 133
10303              goto while_break___3;
10304            }
10305            while_break___3: /* CIL Label */ ;
10306            }
10307          } else {
10308
10309          }
10310#line 133
10311          goto while_break___2;
10312        }
10313        while_break___2: /* CIL Label */ ;
10314        }
10315        {
10316#line 135
10317        tmp___15 = kzalloc(64UL, 208U);
10318#line 135
10319        dp = (struct fc_disc_port *)tmp___15;
10320        }
10321#line 136
10322        if (! dp) {
10323#line 137
10324          redisc = 1;
10325#line 138
10326          goto switch_break;
10327        } else {
10328
10329        }
10330        {
10331#line 140
10332        *((struct fc_lport **)dp) = lport;
10333#line 141
10334        __cil_tmp88 = (unsigned long )dp;
10335#line 141
10336        __cil_tmp89 = __cil_tmp88 + 56;
10337#line 141
10338        __cil_tmp90 = 0 * 1UL;
10339#line 141
10340        __cil_tmp91 = 1 + __cil_tmp90;
10341#line 141
10342        __cil_tmp92 = (unsigned long )pp;
10343#line 141
10344        __cil_tmp93 = __cil_tmp92 + __cil_tmp91;
10345#line 141
10346        __cil_tmp94 = (__u8 *)__cil_tmp93;
10347#line 141
10348        __cil_tmp95 = (u8    *)__cil_tmp94;
10349#line 141
10350        *((u32 *)__cil_tmp89) = ntoh24(__cil_tmp95);
10351#line 142
10352        __cil_tmp96 = (unsigned long )dp;
10353#line 142
10354        __cil_tmp97 = __cil_tmp96 + 8;
10355#line 142
10356        __cil_tmp98 = (struct list_head *)__cil_tmp97;
10357#line 142
10358        list_add_tail(__cil_tmp98, & disc_ports);
10359        }
10360#line 143
10361        goto switch_break;
10362        switch_default: /* CIL Label */ 
10363        {
10364#line 148
10365        while (1) {
10366          while_continue___4: /* CIL Label */ ;
10367          {
10368#line 148
10369          __cil_tmp99 = & fc_debug_logging;
10370#line 148
10371          __cil_tmp100 = *__cil_tmp99;
10372#line 148
10373          __cil_tmp101 = __cil_tmp100 & 4U;
10374#line 148
10375          __cil_tmp102 = ! __cil_tmp101;
10376#line 148
10377          __cil_tmp103 = ! __cil_tmp102;
10378#line 148
10379          __cil_tmp104 = (long )__cil_tmp103;
10380#line 148
10381          tmp___17 = __builtin_expect(__cil_tmp104, 0L);
10382          }
10383#line 148
10384          if (tmp___17) {
10385            {
10386#line 148
10387            while (1) {
10388              while_continue___5: /* CIL Label */ ;
10389              {
10390#line 148
10391              tmp___16 = fc_disc_lport(disc);
10392#line 148
10393              __cil_tmp105 = *((struct Scsi_Host **)tmp___16);
10394#line 148
10395              __cil_tmp106 = (unsigned long )__cil_tmp105;
10396#line 148
10397              __cil_tmp107 = __cil_tmp106 + 308;
10398#line 148
10399              __cil_tmp108 = *((unsigned int *)__cil_tmp107);
10400#line 148
10401              __cil_tmp109 = (unsigned int )fmt;
10402#line 148
10403              printk("<6>host%u: disc: Address format is (%d)\n", __cil_tmp108, __cil_tmp109);
10404              }
10405#line 148
10406              goto while_break___5;
10407            }
10408            while_break___5: /* CIL Label */ ;
10409            }
10410          } else {
10411
10412          }
10413#line 148
10414          goto while_break___4;
10415        }
10416        while_break___4: /* CIL Label */ ;
10417        }
10418#line 149
10419        redisc = 1;
10420#line 150
10421        goto switch_break;
10422      } else {
10423        switch_break: /* CIL Label */ ;
10424      }
10425      }
10426    }
10427#line 122
10428    __cil_tmp110 = (unsigned long )len;
10429#line 122
10430    __cil_tmp111 = __cil_tmp110 - 4UL;
10431#line 122
10432    len = (unsigned int )__cil_tmp111;
10433#line 122
10434    pp = pp + 1;
10435  }
10436  while_break___1: /* CIL Label */ ;
10437  }
10438  {
10439#line 153
10440  __cil_tmp112 = 328 + 64;
10441#line 153
10442  __cil_tmp113 = (unsigned long )lport;
10443#line 153
10444  __cil_tmp114 = __cil_tmp113 + __cil_tmp112;
10445#line 153
10446  __cil_tmp115 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp114);
10447#line 153
10448  __cil_tmp116 = (enum fc_els_cmd )2;
10449#line 153
10450  __cil_tmp117 = (void *)0;
10451#line 153
10452  __cil_tmp118 = (struct fc_seq_els_data *)__cil_tmp117;
10453#line 153
10454  (*__cil_tmp115)(fp, __cil_tmp116, __cil_tmp118);
10455#line 161
10456  __cil_tmp119 = & disc_ports;
10457#line 161
10458  __cil_tmp120 = *((struct list_head **)__cil_tmp119);
10459#line 161
10460  __mptr = (struct list_head    *)__cil_tmp120;
10461#line 161
10462  __cil_tmp121 = (struct fc_disc_port *)0;
10463#line 161
10464  __cil_tmp122 = (unsigned long )__cil_tmp121;
10465#line 161
10466  __cil_tmp123 = __cil_tmp122 + 8;
10467#line 161
10468  __cil_tmp124 = (struct list_head *)__cil_tmp123;
10469#line 161
10470  __cil_tmp125 = (unsigned int )__cil_tmp124;
10471#line 161
10472  __cil_tmp126 = (char *)__mptr;
10473#line 161
10474  __cil_tmp127 = __cil_tmp126 - __cil_tmp125;
10475#line 161
10476  dp = (struct fc_disc_port *)__cil_tmp127;
10477#line 161
10478  __cil_tmp128 = (unsigned long )dp;
10479#line 161
10480  __cil_tmp129 = __cil_tmp128 + 8;
10481#line 161
10482  __cil_tmp130 = *((struct list_head **)__cil_tmp129);
10483#line 161
10484  __mptr___0 = (struct list_head    *)__cil_tmp130;
10485#line 161
10486  __cil_tmp131 = (struct fc_disc_port *)0;
10487#line 161
10488  __cil_tmp132 = (unsigned long )__cil_tmp131;
10489#line 161
10490  __cil_tmp133 = __cil_tmp132 + 8;
10491#line 161
10492  __cil_tmp134 = (struct list_head *)__cil_tmp133;
10493#line 161
10494  __cil_tmp135 = (unsigned int )__cil_tmp134;
10495#line 161
10496  __cil_tmp136 = (char *)__mptr___0;
10497#line 161
10498  __cil_tmp137 = __cil_tmp136 - __cil_tmp135;
10499#line 161
10500  next = (struct fc_disc_port *)__cil_tmp137;
10501  }
10502  {
10503#line 161
10504  while (1) {
10505    while_continue___6: /* CIL Label */ ;
10506    {
10507#line 161
10508    __cil_tmp138 = (unsigned long )(& disc_ports);
10509#line 161
10510    __cil_tmp139 = (unsigned long )dp;
10511#line 161
10512    __cil_tmp140 = __cil_tmp139 + 8;
10513#line 161
10514    __cil_tmp141 = (struct list_head *)__cil_tmp140;
10515#line 161
10516    __cil_tmp142 = (unsigned long )__cil_tmp141;
10517#line 161
10518    if (__cil_tmp142 != __cil_tmp138) {
10519
10520    } else {
10521#line 161
10522      goto while_break___6;
10523    }
10524    }
10525    {
10526#line 162
10527    __cil_tmp143 = (unsigned long )dp;
10528#line 162
10529    __cil_tmp144 = __cil_tmp143 + 8;
10530#line 162
10531    __cil_tmp145 = (struct list_head *)__cil_tmp144;
10532#line 162
10533    list_del(__cil_tmp145);
10534    }
10535#line 163
10536    if (! redisc) {
10537      {
10538#line 164
10539      redisc = fc_disc_single(lport, dp);
10540      }
10541    } else {
10542
10543    }
10544    {
10545#line 165
10546    __cil_tmp146 = (void    *)dp;
10547#line 165
10548    kfree(__cil_tmp146);
10549#line 161
10550    dp = next;
10551#line 161
10552    __cil_tmp147 = (unsigned long )next;
10553#line 161
10554    __cil_tmp148 = __cil_tmp147 + 8;
10555#line 161
10556    __cil_tmp149 = *((struct list_head **)__cil_tmp148);
10557#line 161
10558    __mptr___1 = (struct list_head    *)__cil_tmp149;
10559#line 161
10560    __cil_tmp150 = (struct fc_disc_port *)0;
10561#line 161
10562    __cil_tmp151 = (unsigned long )__cil_tmp150;
10563#line 161
10564    __cil_tmp152 = __cil_tmp151 + 8;
10565#line 161
10566    __cil_tmp153 = (struct list_head *)__cil_tmp152;
10567#line 161
10568    __cil_tmp154 = (unsigned int )__cil_tmp153;
10569#line 161
10570    __cil_tmp155 = (char *)__mptr___1;
10571#line 161
10572    __cil_tmp156 = __cil_tmp155 - __cil_tmp154;
10573#line 161
10574    next = (struct fc_disc_port *)__cil_tmp156;
10575    }
10576  }
10577  while_break___6: /* CIL Label */ ;
10578  }
10579#line 167
10580  if (redisc) {
10581    {
10582#line 168
10583    while (1) {
10584      while_continue___7: /* CIL Label */ ;
10585      {
10586#line 168
10587      __cil_tmp157 = & fc_debug_logging;
10588#line 168
10589      __cil_tmp158 = *__cil_tmp157;
10590#line 168
10591      __cil_tmp159 = __cil_tmp158 & 4U;
10592#line 168
10593      __cil_tmp160 = ! __cil_tmp159;
10594#line 168
10595      __cil_tmp161 = ! __cil_tmp160;
10596#line 168
10597      __cil_tmp162 = (long )__cil_tmp161;
10598#line 168
10599      tmp___19 = __builtin_expect(__cil_tmp162, 0L);
10600      }
10601#line 168
10602      if (tmp___19) {
10603        {
10604#line 168
10605        while (1) {
10606          while_continue___8: /* CIL Label */ ;
10607          {
10608#line 168
10609          tmp___18 = fc_disc_lport(disc);
10610#line 168
10611          __cil_tmp163 = *((struct Scsi_Host **)tmp___18);
10612#line 168
10613          __cil_tmp164 = (unsigned long )__cil_tmp163;
10614#line 168
10615          __cil_tmp165 = __cil_tmp164 + 308;
10616#line 168
10617          __cil_tmp166 = *((unsigned int *)__cil_tmp165);
10618#line 168
10619          printk("<6>host%u: disc: RSCN received: rediscovering\n", __cil_tmp166);
10620          }
10621#line 168
10622          goto while_break___8;
10623        }
10624        while_break___8: /* CIL Label */ ;
10625        }
10626      } else {
10627
10628      }
10629#line 168
10630      goto while_break___7;
10631    }
10632    while_break___7: /* CIL Label */ ;
10633    }
10634    {
10635#line 169
10636    fc_disc_restart(disc);
10637    }
10638  } else {
10639    {
10640#line 171
10641    while (1) {
10642      while_continue___9: /* CIL Label */ ;
10643      {
10644#line 171
10645      __cil_tmp167 = & fc_debug_logging;
10646#line 171
10647      __cil_tmp168 = *__cil_tmp167;
10648#line 171
10649      __cil_tmp169 = __cil_tmp168 & 4U;
10650#line 171
10651      __cil_tmp170 = ! __cil_tmp169;
10652#line 171
10653      __cil_tmp171 = ! __cil_tmp170;
10654#line 171
10655      __cil_tmp172 = (long )__cil_tmp171;
10656#line 171
10657      tmp___21 = __builtin_expect(__cil_tmp172, 0L);
10658      }
10659#line 171
10660      if (tmp___21) {
10661        {
10662#line 171
10663        while (1) {
10664          while_continue___10: /* CIL Label */ ;
10665          {
10666#line 171
10667          tmp___20 = fc_disc_lport(disc);
10668#line 171
10669          __cil_tmp173 = *((struct Scsi_Host **)tmp___20);
10670#line 171
10671          __cil_tmp174 = (unsigned long )__cil_tmp173;
10672#line 171
10673          __cil_tmp175 = __cil_tmp174 + 308;
10674#line 171
10675          __cil_tmp176 = *((unsigned int *)__cil_tmp175);
10676#line 171
10677          __cil_tmp177 = (unsigned long )lport;
10678#line 171
10679          __cil_tmp178 = __cil_tmp177 + 604;
10680#line 171
10681          __cil_tmp179 = *((enum fc_lport_state *)__cil_tmp178);
10682#line 171
10683          __cil_tmp180 = (unsigned int )__cil_tmp179;
10684#line 171
10685          __cil_tmp181 = (unsigned long )disc;
10686#line 171
10687          __cil_tmp182 = __cil_tmp181 + 1;
10688#line 171
10689          __cil_tmp183 = *((unsigned char *)__cil_tmp182);
10690#line 171
10691          __cil_tmp184 = (int )__cil_tmp183;
10692#line 171
10693          printk("<6>host%u: disc: RSCN received: not rediscovering. redisc %d state %d in_prog %d\n",
10694                 __cil_tmp176, redisc, __cil_tmp180, __cil_tmp184);
10695          }
10696#line 171
10697          goto while_break___10;
10698        }
10699        while_break___10: /* CIL Label */ ;
10700        }
10701      } else {
10702
10703      }
10704#line 171
10705      goto while_break___9;
10706    }
10707    while_break___9: /* CIL Label */ ;
10708    }
10709  }
10710  {
10711#line 175
10712  fc_frame_free(fp);
10713  }
10714#line 176
10715  return;
10716  reject: 
10717  {
10718#line 178
10719  while (1) {
10720    while_continue___11: /* CIL Label */ ;
10721    {
10722#line 178
10723    __cil_tmp185 = & fc_debug_logging;
10724#line 178
10725    __cil_tmp186 = *__cil_tmp185;
10726#line 178
10727    __cil_tmp187 = __cil_tmp186 & 4U;
10728#line 178
10729    __cil_tmp188 = ! __cil_tmp187;
10730#line 178
10731    __cil_tmp189 = ! __cil_tmp188;
10732#line 178
10733    __cil_tmp190 = (long )__cil_tmp189;
10734#line 178
10735    tmp___23 = __builtin_expect(__cil_tmp190, 0L);
10736    }
10737#line 178
10738    if (tmp___23) {
10739      {
10740#line 178
10741      while (1) {
10742        while_continue___12: /* CIL Label */ ;
10743        {
10744#line 178
10745        tmp___22 = fc_disc_lport(disc);
10746#line 178
10747        __cil_tmp191 = *((struct Scsi_Host **)tmp___22);
10748#line 178
10749        __cil_tmp192 = (unsigned long )__cil_tmp191;
10750#line 178
10751        __cil_tmp193 = __cil_tmp192 + 308;
10752#line 178
10753        __cil_tmp194 = *((unsigned int *)__cil_tmp193);
10754#line 178
10755        printk("<6>host%u: disc: Received a bad RSCN frame\n", __cil_tmp194);
10756        }
10757#line 178
10758        goto while_break___12;
10759      }
10760      while_break___12: /* CIL Label */ ;
10761      }
10762    } else {
10763
10764    }
10765#line 178
10766    goto while_break___11;
10767  }
10768  while_break___11: /* CIL Label */ ;
10769  }
10770  {
10771#line 179
10772  __cil_tmp195 = & rjt_data;
10773#line 179
10774  *((enum fc_els_rjt_reason *)__cil_tmp195) = (enum fc_els_rjt_reason )3;
10775#line 180
10776  __cil_tmp196 = (unsigned long )(& rjt_data) + 4;
10777#line 180
10778  *((enum fc_els_rjt_explan *)__cil_tmp196) = (enum fc_els_rjt_explan )0;
10779#line 181
10780  __cil_tmp197 = 328 + 64;
10781#line 181
10782  __cil_tmp198 = (unsigned long )lport;
10783#line 181
10784  __cil_tmp199 = __cil_tmp198 + __cil_tmp197;
10785#line 181
10786  __cil_tmp200 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp199);
10787#line 181
10788  __cil_tmp201 = (enum fc_els_cmd )1;
10789#line 181
10790  (*__cil_tmp200)(fp, __cil_tmp201, & rjt_data);
10791#line 182
10792  fc_frame_free(fp);
10793  }
10794#line 183
10795  return;
10796}
10797}
10798#line 194 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
10799static void fc_disc_recv_req(struct fc_lport *lport , struct fc_frame *fp ) 
10800{ u8 op ;
10801  struct fc_disc *disc ;
10802  struct fc_lport *tmp___7 ;
10803  long tmp___8 ;
10804  unsigned long __cil_tmp7 ;
10805  unsigned long __cil_tmp8 ;
10806  struct fc_frame    *__cil_tmp9 ;
10807  unsigned long __cil_tmp10 ;
10808  unsigned long __cil_tmp11 ;
10809  struct mutex *__cil_tmp12 ;
10810  unsigned long __cil_tmp13 ;
10811  unsigned long __cil_tmp14 ;
10812  struct mutex *__cil_tmp15 ;
10813  unsigned int *__cil_tmp16 ;
10814  unsigned int __cil_tmp17 ;
10815  unsigned int __cil_tmp18 ;
10816  int __cil_tmp19 ;
10817  int __cil_tmp20 ;
10818  long __cil_tmp21 ;
10819  struct Scsi_Host *__cil_tmp22 ;
10820  unsigned long __cil_tmp23 ;
10821  unsigned long __cil_tmp24 ;
10822  unsigned int __cil_tmp25 ;
10823  int __cil_tmp26 ;
10824
10825  {
10826  {
10827#line 197
10828  __cil_tmp7 = (unsigned long )lport;
10829#line 197
10830  __cil_tmp8 = __cil_tmp7 + 56;
10831#line 197
10832  disc = (struct fc_disc *)__cil_tmp8;
10833#line 199
10834  __cil_tmp9 = (struct fc_frame    *)fp;
10835#line 199
10836  op = fc_frame_payload_op(__cil_tmp9);
10837  }
10838#line 201
10839  if ((int )op == 97) {
10840#line 201
10841    goto case_97;
10842  } else {
10843    {
10844#line 206
10845    goto switch_default;
10846#line 200
10847    if (0) {
10848      case_97: /* CIL Label */ 
10849      {
10850#line 202
10851      __cil_tmp10 = (unsigned long )disc;
10852#line 202
10853      __cil_tmp11 = __cil_tmp10 + 40;
10854#line 202
10855      __cil_tmp12 = (struct mutex *)__cil_tmp11;
10856#line 202
10857      mutex_lock(__cil_tmp12);
10858#line 203
10859      fc_disc_recv_rscn_req(disc, fp);
10860#line 204
10861      __cil_tmp13 = (unsigned long )disc;
10862#line 204
10863      __cil_tmp14 = __cil_tmp13 + 40;
10864#line 204
10865      __cil_tmp15 = (struct mutex *)__cil_tmp14;
10866#line 204
10867      mutex_unlock(__cil_tmp15);
10868      }
10869#line 205
10870      goto switch_break;
10871      switch_default: /* CIL Label */ 
10872      {
10873#line 207
10874      while (1) {
10875        while_continue: /* CIL Label */ ;
10876        {
10877#line 207
10878        __cil_tmp16 = & fc_debug_logging;
10879#line 207
10880        __cil_tmp17 = *__cil_tmp16;
10881#line 207
10882        __cil_tmp18 = __cil_tmp17 & 4U;
10883#line 207
10884        __cil_tmp19 = ! __cil_tmp18;
10885#line 207
10886        __cil_tmp20 = ! __cil_tmp19;
10887#line 207
10888        __cil_tmp21 = (long )__cil_tmp20;
10889#line 207
10890        tmp___8 = __builtin_expect(__cil_tmp21, 0L);
10891        }
10892#line 207
10893        if (tmp___8) {
10894          {
10895#line 207
10896          while (1) {
10897            while_continue___0: /* CIL Label */ ;
10898            {
10899#line 207
10900            tmp___7 = fc_disc_lport(disc);
10901#line 207
10902            __cil_tmp22 = *((struct Scsi_Host **)tmp___7);
10903#line 207
10904            __cil_tmp23 = (unsigned long )__cil_tmp22;
10905#line 207
10906            __cil_tmp24 = __cil_tmp23 + 308;
10907#line 207
10908            __cil_tmp25 = *((unsigned int *)__cil_tmp24);
10909#line 207
10910            __cil_tmp26 = (int )op;
10911#line 207
10912            printk("<6>host%u: disc: Received an unsupported request, the opcode is (%x)\n",
10913                   __cil_tmp25, __cil_tmp26);
10914            }
10915#line 207
10916            goto while_break___0;
10917          }
10918          while_break___0: /* CIL Label */ ;
10919          }
10920        } else {
10921
10922        }
10923#line 207
10924        goto while_break;
10925      }
10926      while_break: /* CIL Label */ ;
10927      }
10928      {
10929#line 209
10930      fc_frame_free(fp);
10931      }
10932#line 210
10933      goto switch_break;
10934    } else {
10935      switch_break: /* CIL Label */ ;
10936    }
10937    }
10938  }
10939#line 212
10940  return;
10941}
10942}
10943#line 221 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
10944static void fc_disc_restart(struct fc_disc *disc ) 
10945{ struct fc_lport *tmp___7 ;
10946  long tmp___8 ;
10947  unsigned long __cil_tmp4 ;
10948  unsigned long __cil_tmp5 ;
10949  void (*__cil_tmp6)(struct fc_lport * , enum fc_disc_event  ) ;
10950  unsigned int *__cil_tmp7 ;
10951  unsigned int __cil_tmp8 ;
10952  unsigned int __cil_tmp9 ;
10953  int __cil_tmp10 ;
10954  int __cil_tmp11 ;
10955  long __cil_tmp12 ;
10956  struct Scsi_Host *__cil_tmp13 ;
10957  unsigned long __cil_tmp14 ;
10958  unsigned long __cil_tmp15 ;
10959  unsigned int __cil_tmp16 ;
10960  unsigned long __cil_tmp17 ;
10961  unsigned long __cil_tmp18 ;
10962  unsigned long __cil_tmp19 ;
10963  unsigned long __cil_tmp20 ;
10964  unsigned long __cil_tmp21 ;
10965  unsigned long __cil_tmp22 ;
10966  unsigned long __cil_tmp23 ;
10967  unsigned long __cil_tmp24 ;
10968  u16 __cil_tmp25 ;
10969  int __cil_tmp26 ;
10970  int __cil_tmp27 ;
10971  int __cil_tmp28 ;
10972
10973  {
10974  {
10975#line 223
10976  __cil_tmp4 = (unsigned long )disc;
10977#line 223
10978  __cil_tmp5 = __cil_tmp4 + 240;
10979#line 223
10980  __cil_tmp6 = *((void (**)(struct fc_lport * , enum fc_disc_event  ))__cil_tmp5);
10981#line 223
10982  if (! __cil_tmp6) {
10983#line 224
10984    return;
10985  } else {
10986
10987  }
10988  }
10989  {
10990#line 226
10991  while (1) {
10992    while_continue: /* CIL Label */ ;
10993    {
10994#line 226
10995    __cil_tmp7 = & fc_debug_logging;
10996#line 226
10997    __cil_tmp8 = *__cil_tmp7;
10998#line 226
10999    __cil_tmp9 = __cil_tmp8 & 4U;
11000#line 226
11001    __cil_tmp10 = ! __cil_tmp9;
11002#line 226
11003    __cil_tmp11 = ! __cil_tmp10;
11004#line 226
11005    __cil_tmp12 = (long )__cil_tmp11;
11006#line 226
11007    tmp___8 = __builtin_expect(__cil_tmp12, 0L);
11008    }
11009#line 226
11010    if (tmp___8) {
11011      {
11012#line 226
11013      while (1) {
11014        while_continue___0: /* CIL Label */ ;
11015        {
11016#line 226
11017        tmp___7 = fc_disc_lport(disc);
11018#line 226
11019        __cil_tmp13 = *((struct Scsi_Host **)tmp___7);
11020#line 226
11021        __cil_tmp14 = (unsigned long )__cil_tmp13;
11022#line 226
11023        __cil_tmp15 = __cil_tmp14 + 308;
11024#line 226
11025        __cil_tmp16 = *((unsigned int *)__cil_tmp15);
11026#line 226
11027        printk("<6>host%u: disc: Restarting discovery\n", __cil_tmp16);
11028        }
11029#line 226
11030        goto while_break___0;
11031      }
11032      while_break___0: /* CIL Label */ ;
11033      }
11034    } else {
11035
11036    }
11037#line 226
11038    goto while_break;
11039  }
11040  while_break: /* CIL Label */ ;
11041  }
11042#line 228
11043  __cil_tmp17 = (unsigned long )disc;
11044#line 228
11045  __cil_tmp18 = __cil_tmp17 + 2;
11046#line 228
11047  *((unsigned char *)__cil_tmp18) = (unsigned char)1;
11048  {
11049#line 229
11050  __cil_tmp19 = (unsigned long )disc;
11051#line 229
11052  __cil_tmp20 = __cil_tmp19 + 1;
11053#line 229
11054  if (*((unsigned char *)__cil_tmp20)) {
11055#line 230
11056    return;
11057  } else {
11058
11059  }
11060  }
11061  {
11062#line 237
11063  __cil_tmp21 = (unsigned long )disc;
11064#line 237
11065  __cil_tmp22 = __cil_tmp21 + 8;
11066#line 237
11067  __cil_tmp23 = (unsigned long )disc;
11068#line 237
11069  __cil_tmp24 = __cil_tmp23 + 8;
11070#line 237
11071  __cil_tmp25 = *((u16 *)__cil_tmp24);
11072#line 237
11073  __cil_tmp26 = (int )__cil_tmp25;
11074#line 237
11075  __cil_tmp27 = __cil_tmp26 + 2;
11076#line 237
11077  __cil_tmp28 = __cil_tmp27 | 1;
11078#line 237
11079  *((u16 *)__cil_tmp22) = (u16 )__cil_tmp28;
11080#line 238
11081  *((unsigned char *)disc) = (unsigned char)0;
11082#line 239
11083  fc_disc_gpn_ft_req(disc);
11084  }
11085#line 240
11086  return;
11087}
11088}
11089#line 247 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
11090static void fc_disc_start(void (*disc_callback)(struct fc_lport * , enum fc_disc_event  ) ,
11091                          struct fc_lport *lport ) 
11092{ struct fc_disc *disc ;
11093  unsigned long __cil_tmp4 ;
11094  unsigned long __cil_tmp5 ;
11095  unsigned long __cil_tmp6 ;
11096  unsigned long __cil_tmp7 ;
11097  struct mutex *__cil_tmp8 ;
11098  unsigned long __cil_tmp9 ;
11099  unsigned long __cil_tmp10 ;
11100  unsigned long __cil_tmp11 ;
11101  unsigned long __cil_tmp12 ;
11102  struct mutex *__cil_tmp13 ;
11103
11104  {
11105  {
11106#line 251
11107  __cil_tmp4 = (unsigned long )lport;
11108#line 251
11109  __cil_tmp5 = __cil_tmp4 + 56;
11110#line 251
11111  disc = (struct fc_disc *)__cil_tmp5;
11112#line 258
11113  __cil_tmp6 = (unsigned long )disc;
11114#line 258
11115  __cil_tmp7 = __cil_tmp6 + 40;
11116#line 258
11117  __cil_tmp8 = (struct mutex *)__cil_tmp7;
11118#line 258
11119  mutex_lock(__cil_tmp8);
11120#line 259
11121  __cil_tmp9 = (unsigned long )disc;
11122#line 259
11123  __cil_tmp10 = __cil_tmp9 + 240;
11124#line 259
11125  *((void (**)(struct fc_lport * , enum fc_disc_event  ))__cil_tmp10) = disc_callback;
11126#line 260
11127  fc_disc_restart(disc);
11128#line 261
11129  __cil_tmp11 = (unsigned long )disc;
11130#line 261
11131  __cil_tmp12 = __cil_tmp11 + 40;
11132#line 261
11133  __cil_tmp13 = (struct mutex *)__cil_tmp12;
11134#line 261
11135  mutex_unlock(__cil_tmp13);
11136  }
11137#line 262
11138  return;
11139}
11140}
11141#line 273 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
11142static void fc_disc_done(struct fc_disc *disc , enum fc_disc_event event ) 
11143{ struct fc_lport *lport ;
11144  struct fc_lport *tmp___7 ;
11145  struct fc_rport_priv *rdata ;
11146  struct fc_lport *tmp___8 ;
11147  long tmp___9 ;
11148  struct list_head *__ptr ;
11149  struct list_head    *__mptr ;
11150  struct list_head *_________p1 ;
11151  struct list_head *__ptr___0 ;
11152  struct list_head    *__mptr___0 ;
11153  struct list_head *_________p1___0 ;
11154  unsigned int *__cil_tmp14 ;
11155  unsigned int __cil_tmp15 ;
11156  unsigned int __cil_tmp16 ;
11157  int __cil_tmp17 ;
11158  int __cil_tmp18 ;
11159  long __cil_tmp19 ;
11160  struct Scsi_Host *__cil_tmp20 ;
11161  unsigned long __cil_tmp21 ;
11162  unsigned long __cil_tmp22 ;
11163  unsigned int __cil_tmp23 ;
11164  unsigned long __cil_tmp24 ;
11165  unsigned long __cil_tmp25 ;
11166  unsigned long __cil_tmp26 ;
11167  unsigned long __cil_tmp27 ;
11168  struct list_head **__cil_tmp28 ;
11169  unsigned long __cil_tmp29 ;
11170  unsigned long __cil_tmp30 ;
11171  struct list_head * volatile  *__cil_tmp31 ;
11172  struct list_head * volatile  __cil_tmp32 ;
11173  struct fc_rport_priv *__cil_tmp33 ;
11174  unsigned long __cil_tmp34 ;
11175  unsigned long __cil_tmp35 ;
11176  struct list_head *__cil_tmp36 ;
11177  unsigned int __cil_tmp37 ;
11178  char *__cil_tmp38 ;
11179  char *__cil_tmp39 ;
11180  unsigned long __cil_tmp40 ;
11181  unsigned long __cil_tmp41 ;
11182  struct list_head *__cil_tmp42 ;
11183  unsigned long __cil_tmp43 ;
11184  unsigned long __cil_tmp44 ;
11185  unsigned long __cil_tmp45 ;
11186  struct list_head *__cil_tmp46 ;
11187  unsigned long __cil_tmp47 ;
11188  unsigned long __cil_tmp48 ;
11189  unsigned long __cil_tmp49 ;
11190  u16 __cil_tmp50 ;
11191  unsigned long __cil_tmp51 ;
11192  unsigned long __cil_tmp52 ;
11193  u16 __cil_tmp53 ;
11194  int __cil_tmp54 ;
11195  unsigned long __cil_tmp55 ;
11196  unsigned long __cil_tmp56 ;
11197  u16 __cil_tmp57 ;
11198  int __cil_tmp58 ;
11199  unsigned long __cil_tmp59 ;
11200  unsigned long __cil_tmp60 ;
11201  unsigned long __cil_tmp61 ;
11202  int (*__cil_tmp62)(struct fc_rport_priv * ) ;
11203  unsigned long __cil_tmp63 ;
11204  unsigned long __cil_tmp64 ;
11205  unsigned long __cil_tmp65 ;
11206  int (*__cil_tmp66)(struct fc_rport_priv * ) ;
11207  struct list_head **__cil_tmp67 ;
11208  unsigned long __cil_tmp68 ;
11209  unsigned long __cil_tmp69 ;
11210  struct list_head * volatile  *__cil_tmp70 ;
11211  struct list_head * volatile  __cil_tmp71 ;
11212  struct fc_rport_priv *__cil_tmp72 ;
11213  unsigned long __cil_tmp73 ;
11214  unsigned long __cil_tmp74 ;
11215  struct list_head *__cil_tmp75 ;
11216  unsigned int __cil_tmp76 ;
11217  char *__cil_tmp77 ;
11218  char *__cil_tmp78 ;
11219  unsigned long __cil_tmp79 ;
11220  unsigned long __cil_tmp80 ;
11221  struct mutex *__cil_tmp81 ;
11222  unsigned long __cil_tmp82 ;
11223  unsigned long __cil_tmp83 ;
11224  void (*__cil_tmp84)(struct fc_lport * , enum fc_disc_event  ) ;
11225  unsigned long __cil_tmp85 ;
11226  unsigned long __cil_tmp86 ;
11227  struct mutex *__cil_tmp87 ;
11228
11229  {
11230  {
11231#line 275
11232  tmp___7 = fc_disc_lport(disc);
11233#line 275
11234  lport = tmp___7;
11235  }
11236  {
11237#line 278
11238  while (1) {
11239    while_continue: /* CIL Label */ ;
11240    {
11241#line 278
11242    __cil_tmp14 = & fc_debug_logging;
11243#line 278
11244    __cil_tmp15 = *__cil_tmp14;
11245#line 278
11246    __cil_tmp16 = __cil_tmp15 & 4U;
11247#line 278
11248    __cil_tmp17 = ! __cil_tmp16;
11249#line 278
11250    __cil_tmp18 = ! __cil_tmp17;
11251#line 278
11252    __cil_tmp19 = (long )__cil_tmp18;
11253#line 278
11254    tmp___9 = __builtin_expect(__cil_tmp19, 0L);
11255    }
11256#line 278
11257    if (tmp___9) {
11258      {
11259#line 278
11260      while (1) {
11261        while_continue___0: /* CIL Label */ ;
11262        {
11263#line 278
11264        tmp___8 = fc_disc_lport(disc);
11265#line 278
11266        __cil_tmp20 = *((struct Scsi_Host **)tmp___8);
11267#line 278
11268        __cil_tmp21 = (unsigned long )__cil_tmp20;
11269#line 278
11270        __cil_tmp22 = __cil_tmp21 + 308;
11271#line 278
11272        __cil_tmp23 = *((unsigned int *)__cil_tmp22);
11273#line 278
11274        printk("<6>host%u: disc: Discovery complete\n", __cil_tmp23);
11275        }
11276#line 278
11277        goto while_break___0;
11278      }
11279      while_break___0: /* CIL Label */ ;
11280      }
11281    } else {
11282
11283    }
11284#line 278
11285    goto while_break;
11286  }
11287  while_break: /* CIL Label */ ;
11288  }
11289#line 280
11290  __cil_tmp24 = (unsigned long )disc;
11291#line 280
11292  __cil_tmp25 = __cil_tmp24 + 1;
11293#line 280
11294  *((unsigned char *)__cil_tmp25) = (unsigned char)0;
11295  {
11296#line 281
11297  __cil_tmp26 = (unsigned long )disc;
11298#line 281
11299  __cil_tmp27 = __cil_tmp26 + 2;
11300#line 281
11301  if (*((unsigned char *)__cil_tmp27)) {
11302    {
11303#line 282
11304    fc_disc_restart(disc);
11305    }
11306#line 283
11307    return;
11308  } else {
11309
11310  }
11311  }
11312#line 292
11313  __cil_tmp28 = & __ptr;
11314#line 292
11315  __cil_tmp29 = (unsigned long )disc;
11316#line 292
11317  __cil_tmp30 = __cil_tmp29 + 16;
11318#line 292
11319  *__cil_tmp28 = *((struct list_head **)__cil_tmp30);
11320#line 292
11321  __cil_tmp31 = (struct list_head * volatile  *)(& __ptr);
11322#line 292
11323  __cil_tmp32 = *__cil_tmp31;
11324#line 292
11325  _________p1 = (struct list_head *)__cil_tmp32;
11326  {
11327#line 292
11328  while (1) {
11329    while_continue___1: /* CIL Label */ ;
11330#line 292
11331    goto while_break___1;
11332  }
11333  while_break___1: /* CIL Label */ ;
11334  }
11335  {
11336#line 292
11337  while (1) {
11338    while_continue___2: /* CIL Label */ ;
11339#line 292
11340    goto while_break___2;
11341  }
11342  while_break___2: /* CIL Label */ ;
11343  }
11344#line 292
11345  __mptr = (struct list_head    *)_________p1;
11346#line 292
11347  __cil_tmp33 = (struct fc_rport_priv *)0;
11348#line 292
11349  __cil_tmp34 = (unsigned long )__cil_tmp33;
11350#line 292
11351  __cil_tmp35 = __cil_tmp34 + 272;
11352#line 292
11353  __cil_tmp36 = (struct list_head *)__cil_tmp35;
11354#line 292
11355  __cil_tmp37 = (unsigned int )__cil_tmp36;
11356#line 292
11357  __cil_tmp38 = (char *)__mptr;
11358#line 292
11359  __cil_tmp39 = __cil_tmp38 - __cil_tmp37;
11360#line 292
11361  rdata = (struct fc_rport_priv *)__cil_tmp39;
11362  {
11363#line 292
11364  while (1) {
11365    while_continue___3: /* CIL Label */ ;
11366    {
11367#line 292
11368    __cil_tmp40 = (unsigned long )disc;
11369#line 292
11370    __cil_tmp41 = __cil_tmp40 + 16;
11371#line 292
11372    __cil_tmp42 = (struct list_head *)__cil_tmp41;
11373#line 292
11374    __cil_tmp43 = (unsigned long )__cil_tmp42;
11375#line 292
11376    __cil_tmp44 = (unsigned long )rdata;
11377#line 292
11378    __cil_tmp45 = __cil_tmp44 + 272;
11379#line 292
11380    __cil_tmp46 = (struct list_head *)__cil_tmp45;
11381#line 292
11382    __cil_tmp47 = (unsigned long )__cil_tmp46;
11383#line 292
11384    if (__cil_tmp47 != __cil_tmp43) {
11385
11386    } else {
11387#line 292
11388      goto while_break___3;
11389    }
11390    }
11391    {
11392#line 293
11393    __cil_tmp48 = (unsigned long )rdata;
11394#line 293
11395    __cil_tmp49 = __cil_tmp48 + 52;
11396#line 293
11397    __cil_tmp50 = *((u16 *)__cil_tmp49);
11398#line 293
11399    if (! __cil_tmp50) {
11400#line 294
11401      goto __Cont;
11402    } else {
11403
11404    }
11405    }
11406    {
11407#line 295
11408    __cil_tmp51 = (unsigned long )disc;
11409#line 295
11410    __cil_tmp52 = __cil_tmp51 + 8;
11411#line 295
11412    __cil_tmp53 = *((u16 *)__cil_tmp52);
11413#line 295
11414    __cil_tmp54 = (int )__cil_tmp53;
11415#line 295
11416    __cil_tmp55 = (unsigned long )rdata;
11417#line 295
11418    __cil_tmp56 = __cil_tmp55 + 52;
11419#line 295
11420    __cil_tmp57 = *((u16 *)__cil_tmp56);
11421#line 295
11422    __cil_tmp58 = (int )__cil_tmp57;
11423#line 295
11424    if (__cil_tmp58 == __cil_tmp54) {
11425      {
11426#line 296
11427      __cil_tmp59 = 328 + 168;
11428#line 296
11429      __cil_tmp60 = (unsigned long )lport;
11430#line 296
11431      __cil_tmp61 = __cil_tmp60 + __cil_tmp59;
11432#line 296
11433      __cil_tmp62 = *((int (**)(struct fc_rport_priv * ))__cil_tmp61);
11434#line 296
11435      (*__cil_tmp62)(rdata);
11436      }
11437    } else {
11438      {
11439#line 298
11440      __cil_tmp63 = 328 + 176;
11441#line 298
11442      __cil_tmp64 = (unsigned long )lport;
11443#line 298
11444      __cil_tmp65 = __cil_tmp64 + __cil_tmp63;
11445#line 298
11446      __cil_tmp66 = *((int (**)(struct fc_rport_priv * ))__cil_tmp65);
11447#line 298
11448      (*__cil_tmp66)(rdata);
11449      }
11450    }
11451    }
11452    __Cont: /* CIL Label */ 
11453#line 292
11454    __cil_tmp67 = & __ptr___0;
11455#line 292
11456    __cil_tmp68 = (unsigned long )rdata;
11457#line 292
11458    __cil_tmp69 = __cil_tmp68 + 272;
11459#line 292
11460    *__cil_tmp67 = *((struct list_head **)__cil_tmp69);
11461#line 292
11462    __cil_tmp70 = (struct list_head * volatile  *)(& __ptr___0);
11463#line 292
11464    __cil_tmp71 = *__cil_tmp70;
11465#line 292
11466    _________p1___0 = (struct list_head *)__cil_tmp71;
11467    {
11468#line 292
11469    while (1) {
11470      while_continue___4: /* CIL Label */ ;
11471#line 292
11472      goto while_break___4;
11473    }
11474    while_break___4: /* CIL Label */ ;
11475    }
11476    {
11477#line 292
11478    while (1) {
11479      while_continue___5: /* CIL Label */ ;
11480#line 292
11481      goto while_break___5;
11482    }
11483    while_break___5: /* CIL Label */ ;
11484    }
11485#line 292
11486    __mptr___0 = (struct list_head    *)_________p1___0;
11487#line 292
11488    __cil_tmp72 = (struct fc_rport_priv *)0;
11489#line 292
11490    __cil_tmp73 = (unsigned long )__cil_tmp72;
11491#line 292
11492    __cil_tmp74 = __cil_tmp73 + 272;
11493#line 292
11494    __cil_tmp75 = (struct list_head *)__cil_tmp74;
11495#line 292
11496    __cil_tmp76 = (unsigned int )__cil_tmp75;
11497#line 292
11498    __cil_tmp77 = (char *)__mptr___0;
11499#line 292
11500    __cil_tmp78 = __cil_tmp77 - __cil_tmp76;
11501#line 292
11502    rdata = (struct fc_rport_priv *)__cil_tmp78;
11503  }
11504  while_break___3: /* CIL Label */ ;
11505  }
11506  {
11507#line 301
11508  __cil_tmp79 = (unsigned long )disc;
11509#line 301
11510  __cil_tmp80 = __cil_tmp79 + 40;
11511#line 301
11512  __cil_tmp81 = (struct mutex *)__cil_tmp80;
11513#line 301
11514  mutex_unlock(__cil_tmp81);
11515#line 302
11516  __cil_tmp82 = (unsigned long )disc;
11517#line 302
11518  __cil_tmp83 = __cil_tmp82 + 240;
11519#line 302
11520  __cil_tmp84 = *((void (**)(struct fc_lport * , enum fc_disc_event  ))__cil_tmp83);
11521#line 302
11522  (*__cil_tmp84)(lport, event);
11523#line 303
11524  __cil_tmp85 = (unsigned long )disc;
11525#line 303
11526  __cil_tmp86 = __cil_tmp85 + 40;
11527#line 303
11528  __cil_tmp87 = (struct mutex *)__cil_tmp86;
11529#line 303
11530  mutex_lock(__cil_tmp87);
11531  }
11532#line 304
11533  return;
11534}
11535}
11536#line 311 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
11537static void fc_disc_error(struct fc_disc *disc , struct fc_frame *fp ) 
11538{ struct fc_lport *lport ;
11539  struct fc_lport *tmp___7 ;
11540  unsigned long delay ;
11541  long tmp___8 ;
11542  struct fc_lport *tmp___9 ;
11543  long tmp___10 ;
11544  long tmp___11 ;
11545  long tmp___12 ;
11546  unsigned int *__cil_tmp11 ;
11547  unsigned int __cil_tmp12 ;
11548  unsigned int __cil_tmp13 ;
11549  int __cil_tmp14 ;
11550  int __cil_tmp15 ;
11551  long __cil_tmp16 ;
11552  void    *__cil_tmp17 ;
11553  struct Scsi_Host *__cil_tmp18 ;
11554  unsigned long __cil_tmp19 ;
11555  unsigned long __cil_tmp20 ;
11556  unsigned int __cil_tmp21 ;
11557  unsigned char __cil_tmp22 ;
11558  int __cil_tmp23 ;
11559  void    *__cil_tmp24 ;
11560  unsigned char __cil_tmp25 ;
11561  int __cil_tmp26 ;
11562  unsigned int    __cil_tmp27 ;
11563  unsigned long __cil_tmp28 ;
11564  unsigned long __cil_tmp29 ;
11565  unsigned int __cil_tmp30 ;
11566  unsigned int    __cil_tmp31 ;
11567  unsigned char __cil_tmp32 ;
11568  unsigned char __cil_tmp33 ;
11569  int __cil_tmp34 ;
11570  int __cil_tmp35 ;
11571  unsigned long __cil_tmp36 ;
11572  unsigned long __cil_tmp37 ;
11573  struct delayed_work *__cil_tmp38 ;
11574  enum fc_disc_event __cil_tmp39 ;
11575  void    *__cil_tmp40 ;
11576  unsigned long __cil_tmp41 ;
11577  unsigned long __cil_tmp42 ;
11578
11579  {
11580  {
11581#line 313
11582  tmp___7 = fc_disc_lport(disc);
11583#line 313
11584  lport = tmp___7;
11585#line 314
11586  delay = 0UL;
11587  }
11588  {
11589#line 316
11590  while (1) {
11591    while_continue: /* CIL Label */ ;
11592    {
11593#line 316
11594    __cil_tmp11 = & fc_debug_logging;
11595#line 316
11596    __cil_tmp12 = *__cil_tmp11;
11597#line 316
11598    __cil_tmp13 = __cil_tmp12 & 4U;
11599#line 316
11600    __cil_tmp14 = ! __cil_tmp13;
11601#line 316
11602    __cil_tmp15 = ! __cil_tmp14;
11603#line 316
11604    __cil_tmp16 = (long )__cil_tmp15;
11605#line 316
11606    tmp___10 = __builtin_expect(__cil_tmp16, 0L);
11607    }
11608#line 316
11609    if (tmp___10) {
11610      {
11611#line 316
11612      while (1) {
11613        while_continue___0: /* CIL Label */ ;
11614        {
11615#line 316
11616        __cil_tmp17 = (void    *)fp;
11617#line 316
11618        tmp___8 = (long )PTR_ERR(__cil_tmp17);
11619#line 316
11620        tmp___9 = fc_disc_lport(disc);
11621#line 316
11622        __cil_tmp18 = *((struct Scsi_Host **)tmp___9);
11623#line 316
11624        __cil_tmp19 = (unsigned long )__cil_tmp18;
11625#line 316
11626        __cil_tmp20 = __cil_tmp19 + 308;
11627#line 316
11628        __cil_tmp21 = *((unsigned int *)__cil_tmp20);
11629#line 316
11630        __cil_tmp22 = *((unsigned char *)disc);
11631#line 316
11632        __cil_tmp23 = (int )__cil_tmp22;
11633#line 316
11634        printk("<6>host%u: disc: Error %ld, retries %d/%d\n", __cil_tmp21, tmp___8,
11635               __cil_tmp23, 3);
11636        }
11637#line 316
11638        goto while_break___0;
11639      }
11640      while_break___0: /* CIL Label */ ;
11641      }
11642    } else {
11643
11644    }
11645#line 316
11646    goto while_break;
11647  }
11648  while_break: /* CIL Label */ ;
11649  }
11650#line 320
11651  if (! fp) {
11652#line 320
11653    goto _L;
11654  } else {
11655    {
11656#line 320
11657    __cil_tmp24 = (void    *)fp;
11658#line 320
11659    tmp___12 = (long )PTR_ERR(__cil_tmp24);
11660    }
11661#line 320
11662    if (tmp___12 == -1L) {
11663      _L: /* CIL Label */ 
11664      {
11665#line 325
11666      __cil_tmp25 = *((unsigned char *)disc);
11667#line 325
11668      __cil_tmp26 = (int )__cil_tmp25;
11669#line 325
11670      if (__cil_tmp26 < 3) {
11671#line 327
11672        if (! fp) {
11673          {
11674#line 328
11675          __cil_tmp27 = (unsigned int    )500UL;
11676#line 328
11677          delay = msecs_to_jiffies(__cil_tmp27);
11678          }
11679        } else {
11680          {
11681#line 330
11682          __cil_tmp28 = (unsigned long )lport;
11683#line 330
11684          __cil_tmp29 = __cil_tmp28 + 812;
11685#line 330
11686          __cil_tmp30 = *((unsigned int *)__cil_tmp29);
11687#line 330
11688          __cil_tmp31 = (unsigned int    )__cil_tmp30;
11689#line 330
11690          delay = msecs_to_jiffies(__cil_tmp31);
11691          }
11692          {
11693#line 333
11694          __cil_tmp32 = *((unsigned char *)disc);
11695#line 333
11696          if (! __cil_tmp32) {
11697#line 334
11698            delay = delay / 4UL;
11699          } else {
11700
11701          }
11702          }
11703        }
11704        {
11705#line 336
11706        __cil_tmp33 = *((unsigned char *)disc);
11707#line 336
11708        __cil_tmp34 = (int )__cil_tmp33;
11709#line 336
11710        __cil_tmp35 = __cil_tmp34 + 1;
11711#line 336
11712        *((unsigned char *)disc) = (unsigned char )__cil_tmp35;
11713#line 337
11714        __cil_tmp36 = (unsigned long )disc;
11715#line 337
11716        __cil_tmp37 = __cil_tmp36 + 128;
11717#line 337
11718        __cil_tmp38 = (struct delayed_work *)__cil_tmp37;
11719#line 337
11720        schedule_delayed_work(__cil_tmp38, delay);
11721        }
11722      } else {
11723        {
11724#line 339
11725        __cil_tmp39 = (enum fc_disc_event )2;
11726#line 339
11727        fc_disc_done(disc, __cil_tmp39);
11728        }
11729      }
11730      }
11731    } else {
11732      {
11733#line 340
11734      __cil_tmp40 = (void    *)fp;
11735#line 340
11736      tmp___11 = (long )PTR_ERR(__cil_tmp40);
11737      }
11738#line 340
11739      if (tmp___11 == -2L) {
11740#line 346
11741        __cil_tmp41 = (unsigned long )disc;
11742#line 346
11743        __cil_tmp42 = __cil_tmp41 + 1;
11744#line 346
11745        *((unsigned char *)__cil_tmp42) = (unsigned char)0;
11746      } else {
11747
11748      }
11749    }
11750  }
11751#line 348
11752  return;
11753}
11754}
11755#line 357 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
11756static void fc_disc_gpn_ft_req(struct fc_disc *disc ) 
11757{ struct fc_frame *fp ;
11758  struct fc_lport *lport ;
11759  struct fc_lport *tmp___7 ;
11760  int __ret_warn_on ;
11761  int tmp___8 ;
11762  int tmp___9 ;
11763  long tmp___10 ;
11764  struct fc_seq *tmp___11 ;
11765  int __cil_tmp10 ;
11766  int __cil_tmp11 ;
11767  long __cil_tmp12 ;
11768  int    __cil_tmp13 ;
11769  int __cil_tmp14 ;
11770  int __cil_tmp15 ;
11771  long __cil_tmp16 ;
11772  unsigned long __cil_tmp17 ;
11773  unsigned long __cil_tmp18 ;
11774  unsigned long __cil_tmp19 ;
11775  unsigned long __cil_tmp20 ;
11776  unsigned long __cil_tmp21 ;
11777  unsigned long __cil_tmp22 ;
11778  unsigned long __cil_tmp23 ;
11779  unsigned long __cil_tmp24 ;
11780  unsigned long __cil_tmp25 ;
11781  unsigned long __cil_tmp26 ;
11782  unsigned long __cil_tmp27 ;
11783  unsigned long __cil_tmp28 ;
11784  struct fc_seq *(*__cil_tmp29)(struct fc_lport * , u32 did , struct fc_frame * ,
11785                                unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
11786                                                               void *arg ) , void *arg ,
11787                                u32 timer_msec ) ;
11788  u32 __cil_tmp30 ;
11789  void *__cil_tmp31 ;
11790  unsigned long __cil_tmp32 ;
11791  unsigned long __cil_tmp33 ;
11792  unsigned int __cil_tmp34 ;
11793  unsigned int __cil_tmp35 ;
11794  void *__cil_tmp36 ;
11795  struct fc_frame *__cil_tmp37 ;
11796
11797  {
11798  {
11799#line 360
11800  tmp___7 = fc_disc_lport(disc);
11801#line 360
11802  lport = tmp___7;
11803#line 362
11804  tmp___8 = fc_lport_test_ready(lport);
11805  }
11806#line 362
11807  if (tmp___8) {
11808#line 362
11809    tmp___9 = 0;
11810  } else {
11811#line 362
11812    tmp___9 = 1;
11813  }
11814  {
11815#line 362
11816  __ret_warn_on = tmp___9;
11817#line 362
11818  __cil_tmp10 = ! __ret_warn_on;
11819#line 362
11820  __cil_tmp11 = ! __cil_tmp10;
11821#line 362
11822  __cil_tmp12 = (long )__cil_tmp11;
11823#line 362
11824  tmp___10 = __builtin_expect(__cil_tmp12, 0L);
11825  }
11826#line 362
11827  if (tmp___10) {
11828    {
11829#line 362
11830    __cil_tmp13 = (int    )362;
11831#line 362
11832    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c",
11833                       __cil_tmp13);
11834    }
11835  } else {
11836
11837  }
11838  {
11839#line 362
11840  __cil_tmp14 = ! __ret_warn_on;
11841#line 362
11842  __cil_tmp15 = ! __cil_tmp14;
11843#line 362
11844  __cil_tmp16 = (long )__cil_tmp15;
11845#line 362
11846  __builtin_expect(__cil_tmp16, 0L);
11847#line 364
11848  __cil_tmp17 = (unsigned long )disc;
11849#line 364
11850  __cil_tmp18 = __cil_tmp17 + 1;
11851#line 364
11852  *((unsigned char *)__cil_tmp18) = (unsigned char)1;
11853#line 365
11854  __cil_tmp19 = (unsigned long )disc;
11855#line 365
11856  __cil_tmp20 = __cil_tmp19 + 2;
11857#line 365
11858  *((unsigned char *)__cil_tmp20) = (unsigned char)0;
11859#line 367
11860  __cil_tmp21 = (unsigned long )disc;
11861#line 367
11862  __cil_tmp22 = __cil_tmp21 + 6;
11863#line 367
11864  *((unsigned char *)__cil_tmp22) = (unsigned char)0;
11865#line 368
11866  __cil_tmp23 = (unsigned long )disc;
11867#line 368
11868  __cil_tmp24 = __cil_tmp23 + 4;
11869#line 368
11870  *((unsigned short *)__cil_tmp24) = (unsigned short)0;
11871#line 369
11872  __cil_tmp25 = 16UL + 4UL;
11873#line 369
11874  fp = fc_frame_alloc(lport, __cil_tmp25);
11875  }
11876#line 372
11877  if (! fp) {
11878#line 373
11879    goto err;
11880  } else {
11881
11882  }
11883  {
11884#line 375
11885  __cil_tmp26 = 328 + 8;
11886#line 375
11887  __cil_tmp27 = (unsigned long )lport;
11888#line 375
11889  __cil_tmp28 = __cil_tmp27 + __cil_tmp26;
11890#line 375
11891  __cil_tmp29 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
11892                                       unsigned int op , void (*resp)(struct fc_seq * ,
11893                                                                      struct fc_frame * ,
11894                                                                      void *arg ) ,
11895                                       void *arg , u32 timer_msec ))__cil_tmp28);
11896#line 375
11897  __cil_tmp30 = (u32 )0;
11898#line 375
11899  __cil_tmp31 = (void *)disc;
11900#line 375
11901  __cil_tmp32 = (unsigned long )lport;
11902#line 375
11903  __cil_tmp33 = __cil_tmp32 + 816;
11904#line 375
11905  __cil_tmp34 = *((unsigned int *)__cil_tmp33);
11906#line 375
11907  __cil_tmp35 = 3U * __cil_tmp34;
11908#line 375
11909  tmp___11 = (*__cil_tmp29)(lport, __cil_tmp30, fp, 370U, & fc_disc_gpn_ft_resp, __cil_tmp31,
11910                            __cil_tmp35);
11911  }
11912#line 375
11913  if (tmp___11) {
11914#line 379
11915    return;
11916  } else {
11917
11918  }
11919  err: 
11920  {
11921#line 381
11922  __cil_tmp36 = (void *)0;
11923#line 381
11924  __cil_tmp37 = (struct fc_frame *)__cil_tmp36;
11925#line 381
11926  fc_disc_error(disc, __cil_tmp37);
11927  }
11928#line 382
11929  return;
11930}
11931}
11932#line 392 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
11933static int fc_disc_gpn_ft_parse(struct fc_disc *disc , void *buf , size_t len ) 
11934{ struct fc_lport *lport ;
11935  struct fc_gpn_ft_resp *np ;
11936  char *bp ;
11937  size_t plen ;
11938  size_t tlen ;
11939  int error ;
11940  struct fc_rport_identifiers ids ;
11941  struct fc_rport_priv *rdata ;
11942  int __ret_warn_on ;
11943  long tmp___7 ;
11944  int __ret_warn_on___0 ;
11945  long tmp___8 ;
11946  int __ret_warn_on___1 ;
11947  long tmp___9 ;
11948  size_t __len ;
11949  void *__ret ;
11950  __u64 tmp___10 ;
11951  struct fc_lport *tmp___11 ;
11952  long tmp___12 ;
11953  size_t __len___0 ;
11954  void *__ret___0 ;
11955  unsigned long __cil_tmp25 ;
11956  unsigned long __cil_tmp26 ;
11957  unsigned long __cil_tmp27 ;
11958  unsigned long __cil_tmp28 ;
11959  unsigned short __cil_tmp29 ;
11960  int __cil_tmp30 ;
11961  int __cil_tmp31 ;
11962  unsigned long __cil_tmp32 ;
11963  unsigned long __cil_tmp33 ;
11964  unsigned char __cil_tmp34 ;
11965  unsigned long __cil_tmp35 ;
11966  unsigned long __cil_tmp36 ;
11967  int __cil_tmp37 ;
11968  int __cil_tmp38 ;
11969  int __cil_tmp39 ;
11970  int __cil_tmp40 ;
11971  long __cil_tmp41 ;
11972  int    __cil_tmp42 ;
11973  int __cil_tmp43 ;
11974  int __cil_tmp44 ;
11975  long __cil_tmp45 ;
11976  int __cil_tmp46 ;
11977  int __cil_tmp47 ;
11978  int __cil_tmp48 ;
11979  int __cil_tmp49 ;
11980  long __cil_tmp50 ;
11981  int    __cil_tmp51 ;
11982  int __cil_tmp52 ;
11983  int __cil_tmp53 ;
11984  long __cil_tmp54 ;
11985  int __cil_tmp55 ;
11986  int __cil_tmp56 ;
11987  int __cil_tmp57 ;
11988  int __cil_tmp58 ;
11989  long __cil_tmp59 ;
11990  int    __cil_tmp60 ;
11991  int __cil_tmp61 ;
11992  int __cil_tmp62 ;
11993  long __cil_tmp63 ;
11994  unsigned long __cil_tmp64 ;
11995  unsigned long __cil_tmp65 ;
11996  char *__cil_tmp66 ;
11997  char *__cil_tmp67 ;
11998  void *__cil_tmp68 ;
11999  void    *__cil_tmp69 ;
12000  unsigned long __cil_tmp70 ;
12001  unsigned long __cil_tmp71 ;
12002  unsigned long __cil_tmp72 ;
12003  unsigned long __cil_tmp73 ;
12004  unsigned long __cil_tmp74 ;
12005  unsigned long __cil_tmp75 ;
12006  unsigned long __cil_tmp76 ;
12007  unsigned long __cil_tmp77 ;
12008  __u8 *__cil_tmp78 ;
12009  u8    *__cil_tmp79 ;
12010  unsigned long __cil_tmp80 ;
12011  unsigned long __cil_tmp81 ;
12012  __be64 __cil_tmp82 ;
12013  unsigned long __cil_tmp83 ;
12014  unsigned long __cil_tmp84 ;
12015  u32 __cil_tmp85 ;
12016  unsigned long __cil_tmp86 ;
12017  unsigned long __cil_tmp87 ;
12018  u64 __cil_tmp88 ;
12019  unsigned long __cil_tmp89 ;
12020  unsigned long __cil_tmp90 ;
12021  unsigned long __cil_tmp91 ;
12022  struct fc_rport_priv *(*__cil_tmp92)(struct fc_lport * , u32  ) ;
12023  unsigned long __cil_tmp93 ;
12024  unsigned long __cil_tmp94 ;
12025  unsigned long __cil_tmp95 ;
12026  unsigned long __cil_tmp96 ;
12027  unsigned long __cil_tmp97 ;
12028  unsigned long __cil_tmp98 ;
12029  unsigned long __cil_tmp99 ;
12030  __u8 __cil_tmp100 ;
12031  int __cil_tmp101 ;
12032  enum fc_disc_event __cil_tmp102 ;
12033  unsigned long __cil_tmp103 ;
12034  unsigned long __cil_tmp104 ;
12035  struct fc_gpn_ft_resp *__cil_tmp105 ;
12036  unsigned long __cil_tmp106 ;
12037  unsigned long __cil_tmp107 ;
12038  unsigned int *__cil_tmp108 ;
12039  unsigned int __cil_tmp109 ;
12040  unsigned int __cil_tmp110 ;
12041  int __cil_tmp111 ;
12042  int __cil_tmp112 ;
12043  long __cil_tmp113 ;
12044  struct Scsi_Host *__cil_tmp114 ;
12045  unsigned long __cil_tmp115 ;
12046  unsigned long __cil_tmp116 ;
12047  unsigned int __cil_tmp117 ;
12048  unsigned long __cil_tmp118 ;
12049  unsigned long __cil_tmp119 ;
12050  struct fc_gpn_ft_resp *__cil_tmp120 ;
12051  void *__cil_tmp121 ;
12052  void    *__cil_tmp122 ;
12053  unsigned long __cil_tmp123 ;
12054  unsigned long __cil_tmp124 ;
12055  u32 ids_roles125 ;
12056  u32 ids_port_id126 ;
12057  u64 ids_port_name127 ;
12058  u64 ids_node_name128 ;
12059
12060  {
12061  {
12062#line 399
12063  error = 0;
12064#line 403
12065  lport = fc_disc_lport(disc);
12066#line 404
12067  __cil_tmp25 = (unsigned long )disc;
12068#line 404
12069  __cil_tmp26 = __cil_tmp25 + 4;
12070#line 404
12071  __cil_tmp27 = (unsigned long )disc;
12072#line 404
12073  __cil_tmp28 = __cil_tmp27 + 4;
12074#line 404
12075  __cil_tmp29 = *((unsigned short *)__cil_tmp28);
12076#line 404
12077  __cil_tmp30 = (int )__cil_tmp29;
12078#line 404
12079  __cil_tmp31 = __cil_tmp30 + 1;
12080#line 404
12081  *((unsigned short *)__cil_tmp26) = (unsigned short )__cil_tmp31;
12082#line 409
12083  bp = (char *)buf;
12084#line 410
12085  plen = len;
12086#line 411
12087  np = (struct fc_gpn_ft_resp *)bp;
12088#line 412
12089  __cil_tmp32 = (unsigned long )disc;
12090#line 412
12091  __cil_tmp33 = __cil_tmp32 + 6;
12092#line 412
12093  __cil_tmp34 = *((unsigned char *)__cil_tmp33);
12094#line 412
12095  tlen = (size_t )__cil_tmp34;
12096#line 413
12097  __cil_tmp35 = (unsigned long )disc;
12098#line 413
12099  __cil_tmp36 = __cil_tmp35 + 6;
12100#line 413
12101  *((unsigned char *)__cil_tmp36) = (unsigned char)0;
12102  }
12103#line 414
12104  if (tlen) {
12105    {
12106#line 415
12107    __cil_tmp37 = tlen >= 16UL;
12108#line 415
12109    __cil_tmp38 = ! __cil_tmp37;
12110#line 415
12111    __ret_warn_on = ! __cil_tmp38;
12112#line 415
12113    __cil_tmp39 = ! __ret_warn_on;
12114#line 415
12115    __cil_tmp40 = ! __cil_tmp39;
12116#line 415
12117    __cil_tmp41 = (long )__cil_tmp40;
12118#line 415
12119    tmp___7 = __builtin_expect(__cil_tmp41, 0L);
12120    }
12121#line 415
12122    if (tmp___7) {
12123      {
12124#line 415
12125      __cil_tmp42 = (int    )415;
12126#line 415
12127      warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c",
12128                         __cil_tmp42);
12129      }
12130    } else {
12131
12132    }
12133    {
12134#line 415
12135    __cil_tmp43 = ! __ret_warn_on;
12136#line 415
12137    __cil_tmp44 = ! __cil_tmp43;
12138#line 415
12139    __cil_tmp45 = (long )__cil_tmp44;
12140#line 415
12141    __builtin_expect(__cil_tmp45, 0L);
12142#line 416
12143    plen = 16UL - tlen;
12144#line 417
12145    __cil_tmp46 = plen <= 0UL;
12146#line 417
12147    __cil_tmp47 = ! __cil_tmp46;
12148#line 417
12149    __ret_warn_on___0 = ! __cil_tmp47;
12150#line 417
12151    __cil_tmp48 = ! __ret_warn_on___0;
12152#line 417
12153    __cil_tmp49 = ! __cil_tmp48;
12154#line 417
12155    __cil_tmp50 = (long )__cil_tmp49;
12156#line 417
12157    tmp___8 = __builtin_expect(__cil_tmp50, 0L);
12158    }
12159#line 417
12160    if (tmp___8) {
12161      {
12162#line 417
12163      __cil_tmp51 = (int    )417;
12164#line 417
12165      warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c",
12166                         __cil_tmp51);
12167      }
12168    } else {
12169
12170    }
12171    {
12172#line 417
12173    __cil_tmp52 = ! __ret_warn_on___0;
12174#line 417
12175    __cil_tmp53 = ! __cil_tmp52;
12176#line 417
12177    __cil_tmp54 = (long )__cil_tmp53;
12178#line 417
12179    __builtin_expect(__cil_tmp54, 0L);
12180#line 418
12181    __cil_tmp55 = plen >= 16UL;
12182#line 418
12183    __cil_tmp56 = ! __cil_tmp55;
12184#line 418
12185    __ret_warn_on___1 = ! __cil_tmp56;
12186#line 418
12187    __cil_tmp57 = ! __ret_warn_on___1;
12188#line 418
12189    __cil_tmp58 = ! __cil_tmp57;
12190#line 418
12191    __cil_tmp59 = (long )__cil_tmp58;
12192#line 418
12193    tmp___9 = __builtin_expect(__cil_tmp59, 0L);
12194    }
12195#line 418
12196    if (tmp___9) {
12197      {
12198#line 418
12199      __cil_tmp60 = (int    )418;
12200#line 418
12201      warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c",
12202                         __cil_tmp60);
12203      }
12204    } else {
12205
12206    }
12207    {
12208#line 418
12209    __cil_tmp61 = ! __ret_warn_on___1;
12210#line 418
12211    __cil_tmp62 = ! __cil_tmp61;
12212#line 418
12213    __cil_tmp63 = (long )__cil_tmp62;
12214#line 418
12215    __builtin_expect(__cil_tmp63, 0L);
12216    }
12217#line 419
12218    if (plen > len) {
12219#line 420
12220      plen = len;
12221    } else {
12222
12223    }
12224    {
12225#line 421
12226    __cil_tmp64 = (unsigned long )disc;
12227#line 421
12228    __cil_tmp65 = __cil_tmp64 + 112;
12229#line 421
12230    np = (struct fc_gpn_ft_resp *)__cil_tmp65;
12231#line 422
12232    __len = plen;
12233#line 422
12234    __cil_tmp66 = (char *)np;
12235#line 422
12236    __cil_tmp67 = __cil_tmp66 + tlen;
12237#line 422
12238    __cil_tmp68 = (void *)__cil_tmp67;
12239#line 422
12240    __cil_tmp69 = (void    *)bp;
12241#line 422
12242    __ret = __builtin_memcpy(__cil_tmp68, __cil_tmp69, __len);
12243#line 428
12244    bp = bp - tlen;
12245#line 429
12246    len = len + tlen;
12247#line 430
12248    plen = plen + tlen;
12249#line 431
12250    __cil_tmp70 = (unsigned long )disc;
12251#line 431
12252    __cil_tmp71 = __cil_tmp70 + 6;
12253#line 431
12254    *((unsigned char *)__cil_tmp71) = (unsigned char )plen;
12255    }
12256#line 432
12257    if (plen == 16UL) {
12258#line 433
12259      __cil_tmp72 = (unsigned long )disc;
12260#line 433
12261      __cil_tmp73 = __cil_tmp72 + 6;
12262#line 433
12263      *((unsigned char *)__cil_tmp73) = (unsigned char)0;
12264    } else {
12265
12266    }
12267  } else {
12268
12269  }
12270  {
12271#line 443
12272  while (1) {
12273    while_continue: /* CIL Label */ ;
12274#line 443
12275    if (plen >= 16UL) {
12276
12277    } else {
12278#line 443
12279      goto while_break;
12280    }
12281    {
12282#line 444
12283    __cil_tmp74 = 0 * 1UL;
12284#line 444
12285    __cil_tmp75 = 1 + __cil_tmp74;
12286#line 444
12287    __cil_tmp76 = (unsigned long )np;
12288#line 444
12289    __cil_tmp77 = __cil_tmp76 + __cil_tmp75;
12290#line 444
12291    __cil_tmp78 = (__u8 *)__cil_tmp77;
12292#line 444
12293    __cil_tmp79 = (u8    *)__cil_tmp78;
12294#line 444
12295    ids_port_id126 = ntoh24(__cil_tmp79);
12296#line 445
12297    __cil_tmp80 = (unsigned long )np;
12298#line 445
12299    __cil_tmp81 = __cil_tmp80 + 8;
12300#line 445
12301    __cil_tmp82 = *((__be64 *)__cil_tmp81);
12302#line 445
12303    tmp___10 = __fswab64(__cil_tmp82);
12304#line 445
12305    ids_port_name127 = tmp___10;
12306    }
12307    {
12308#line 447
12309    __cil_tmp83 = (unsigned long )lport;
12310#line 447
12311    __cil_tmp84 = __cil_tmp83 + 788;
12312#line 447
12313    __cil_tmp85 = *((u32 *)__cil_tmp84);
12314#line 447
12315    if (ids_port_id126 != __cil_tmp85) {
12316      {
12317#line 447
12318      __cil_tmp86 = (unsigned long )lport;
12319#line 447
12320      __cil_tmp87 = __cil_tmp86 + 792;
12321#line 447
12322      __cil_tmp88 = *((u64 *)__cil_tmp87);
12323#line 447
12324      if (ids_port_name127 != __cil_tmp88) {
12325        {
12326#line 449
12327        __cil_tmp89 = 328 + 160;
12328#line 449
12329        __cil_tmp90 = (unsigned long )lport;
12330#line 449
12331        __cil_tmp91 = __cil_tmp90 + __cil_tmp89;
12332#line 449
12333        __cil_tmp92 = *((struct fc_rport_priv *(**)(struct fc_lport * , u32  ))__cil_tmp91);
12334#line 449
12335        rdata = (*__cil_tmp92)(lport, ids_port_id126);
12336        }
12337#line 450
12338        if (rdata) {
12339#line 451
12340          __cil_tmp93 = 24 + 8;
12341#line 451
12342          __cil_tmp94 = (unsigned long )rdata;
12343#line 451
12344          __cil_tmp95 = __cil_tmp94 + __cil_tmp93;
12345#line 451
12346          *((u64 *)__cil_tmp95) = ids_port_name127;
12347#line 452
12348          __cil_tmp96 = (unsigned long )rdata;
12349#line 452
12350          __cil_tmp97 = __cil_tmp96 + 52;
12351#line 452
12352          __cil_tmp98 = (unsigned long )disc;
12353#line 452
12354          __cil_tmp99 = __cil_tmp98 + 8;
12355#line 452
12356          *((u16 *)__cil_tmp97) = *((u16 *)__cil_tmp99);
12357        } else {
12358          {
12359#line 454
12360          printk("<4>libfc: Failed to allocate memory for the newly discovered port (%6.6x)\n",
12361                 ids_port_id126);
12362#line 457
12363          error = -12;
12364          }
12365        }
12366      } else {
12367
12368      }
12369      }
12370    } else {
12371
12372    }
12373    }
12374    {
12375#line 461
12376    __cil_tmp100 = *((__u8 *)np);
12377#line 461
12378    __cil_tmp101 = (int )__cil_tmp100;
12379#line 461
12380    if (__cil_tmp101 & 128) {
12381      {
12382#line 462
12383      __cil_tmp102 = (enum fc_disc_event )1;
12384#line 462
12385      fc_disc_done(disc, __cil_tmp102);
12386#line 463
12387      len = (size_t )0;
12388      }
12389#line 464
12390      goto while_break;
12391    } else {
12392
12393    }
12394    }
12395#line 466
12396    len = len - 16UL;
12397#line 467
12398    bp = bp + 16UL;
12399#line 468
12400    np = (struct fc_gpn_ft_resp *)bp;
12401#line 469
12402    plen = len;
12403  }
12404  while_break: /* CIL Label */ ;
12405  }
12406#line 475
12407  if (error == 0) {
12408#line 475
12409    if (len > 0UL) {
12410#line 475
12411      if (len < 16UL) {
12412        {
12413#line 476
12414        __cil_tmp103 = (unsigned long )disc;
12415#line 476
12416        __cil_tmp104 = __cil_tmp103 + 112;
12417#line 476
12418        __cil_tmp105 = (struct fc_gpn_ft_resp *)__cil_tmp104;
12419#line 476
12420        __cil_tmp106 = (unsigned long )__cil_tmp105;
12421#line 476
12422        __cil_tmp107 = (unsigned long )np;
12423#line 476
12424        if (__cil_tmp107 != __cil_tmp106) {
12425          {
12426#line 477
12427          while (1) {
12428            while_continue___0: /* CIL Label */ ;
12429            {
12430#line 477
12431            __cil_tmp108 = & fc_debug_logging;
12432#line 477
12433            __cil_tmp109 = *__cil_tmp108;
12434#line 477
12435            __cil_tmp110 = __cil_tmp109 & 4U;
12436#line 477
12437            __cil_tmp111 = ! __cil_tmp110;
12438#line 477
12439            __cil_tmp112 = ! __cil_tmp111;
12440#line 477
12441            __cil_tmp113 = (long )__cil_tmp112;
12442#line 477
12443            tmp___12 = __builtin_expect(__cil_tmp113, 0L);
12444            }
12445#line 477
12446            if (tmp___12) {
12447              {
12448#line 477
12449              while (1) {
12450                while_continue___1: /* CIL Label */ ;
12451                {
12452#line 477
12453                tmp___11 = fc_disc_lport(disc);
12454#line 477
12455                __cil_tmp114 = *((struct Scsi_Host **)tmp___11);
12456#line 477
12457                __cil_tmp115 = (unsigned long )__cil_tmp114;
12458#line 477
12459                __cil_tmp116 = __cil_tmp115 + 308;
12460#line 477
12461                __cil_tmp117 = *((unsigned int *)__cil_tmp116);
12462#line 477
12463                printk("<6>host%u: disc: Partial buffer remains for discovery\n",
12464                       __cil_tmp117);
12465                }
12466#line 477
12467                goto while_break___1;
12468              }
12469              while_break___1: /* CIL Label */ ;
12470              }
12471            } else {
12472
12473            }
12474#line 477
12475            goto while_break___0;
12476          }
12477          while_break___0: /* CIL Label */ ;
12478          }
12479          {
12480#line 479
12481          __len___0 = len;
12482#line 479
12483          __cil_tmp118 = (unsigned long )disc;
12484#line 479
12485          __cil_tmp119 = __cil_tmp118 + 112;
12486#line 479
12487          __cil_tmp120 = (struct fc_gpn_ft_resp *)__cil_tmp119;
12488#line 479
12489          __cil_tmp121 = (void *)__cil_tmp120;
12490#line 479
12491          __cil_tmp122 = (void    *)np;
12492#line 479
12493          __ret___0 = __builtin_memcpy(__cil_tmp121, __cil_tmp122, __len___0);
12494          }
12495        } else {
12496
12497        }
12498        }
12499#line 481
12500        __cil_tmp123 = (unsigned long )disc;
12501#line 481
12502        __cil_tmp124 = __cil_tmp123 + 6;
12503#line 481
12504        *((unsigned char *)__cil_tmp124) = (unsigned char )len;
12505      } else {
12506
12507      }
12508    } else {
12509
12510    }
12511  } else {
12512
12513  }
12514#line 483
12515  return (error);
12516}
12517}
12518#line 490 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
12519static void fc_disc_timeout(struct work_struct *work ) 
12520{ struct fc_disc *disc ;
12521  struct work_struct    *__mptr ;
12522  struct fc_disc *__cil_tmp4 ;
12523  unsigned long __cil_tmp5 ;
12524  unsigned long __cil_tmp6 ;
12525  struct work_struct *__cil_tmp7 ;
12526  unsigned int __cil_tmp8 ;
12527  char *__cil_tmp9 ;
12528  char *__cil_tmp10 ;
12529  unsigned long __cil_tmp11 ;
12530  unsigned long __cil_tmp12 ;
12531  struct mutex *__cil_tmp13 ;
12532  unsigned long __cil_tmp14 ;
12533  unsigned long __cil_tmp15 ;
12534  struct mutex *__cil_tmp16 ;
12535
12536  {
12537  {
12538#line 492
12539  __mptr = (struct work_struct    *)work;
12540#line 492
12541  __cil_tmp4 = (struct fc_disc *)0;
12542#line 492
12543  __cil_tmp5 = (unsigned long )__cil_tmp4;
12544#line 492
12545  __cil_tmp6 = __cil_tmp5 + 128;
12546#line 492
12547  __cil_tmp7 = (struct work_struct *)__cil_tmp6;
12548#line 492
12549  __cil_tmp8 = (unsigned int )__cil_tmp7;
12550#line 492
12551  __cil_tmp9 = (char *)__mptr;
12552#line 492
12553  __cil_tmp10 = __cil_tmp9 - __cil_tmp8;
12554#line 492
12555  disc = (struct fc_disc *)__cil_tmp10;
12556#line 495
12557  __cil_tmp11 = (unsigned long )disc;
12558#line 495
12559  __cil_tmp12 = __cil_tmp11 + 40;
12560#line 495
12561  __cil_tmp13 = (struct mutex *)__cil_tmp12;
12562#line 495
12563  mutex_lock(__cil_tmp13);
12564#line 496
12565  fc_disc_gpn_ft_req(disc);
12566#line 497
12567  __cil_tmp14 = (unsigned long )disc;
12568#line 497
12569  __cil_tmp15 = __cil_tmp14 + 40;
12570#line 497
12571  __cil_tmp16 = (struct mutex *)__cil_tmp15;
12572#line 497
12573  mutex_unlock(__cil_tmp16);
12574  }
12575#line 498
12576  return;
12577}
12578}
12579#line 509 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
12580static void fc_disc_gpn_ft_resp(struct fc_seq *sp , struct fc_frame *fp , void *disc_arg ) 
12581{ struct fc_disc *disc ;
12582  struct fc_ct_hdr *cp ;
12583  struct fc_frame_header *fh ;
12584  enum fc_disc_event event ;
12585  unsigned int seq_cnt ;
12586  unsigned int len ;
12587  int error ;
12588  struct fc_lport *tmp___7 ;
12589  long tmp___8 ;
12590  long tmp___9 ;
12591  int __ret_warn_on ;
12592  int tmp___10 ;
12593  int tmp___11 ;
12594  long tmp___12 ;
12595  __u16 tmp___13 ;
12596  void *tmp___14 ;
12597  struct fc_lport *tmp___15 ;
12598  long tmp___16 ;
12599  struct fc_lport *tmp___17 ;
12600  long tmp___18 ;
12601  __u16 tmp___19 ;
12602  struct fc_lport *tmp___20 ;
12603  long tmp___21 ;
12604  __u16 tmp___22 ;
12605  __u16 tmp___23 ;
12606  struct fc_lport *tmp___24 ;
12607  long tmp___25 ;
12608  unsigned long __cil_tmp31 ;
12609  unsigned long __cil_tmp32 ;
12610  struct mutex *__cil_tmp33 ;
12611  unsigned int *__cil_tmp34 ;
12612  unsigned int __cil_tmp35 ;
12613  unsigned int __cil_tmp36 ;
12614  int __cil_tmp37 ;
12615  int __cil_tmp38 ;
12616  long __cil_tmp39 ;
12617  struct Scsi_Host *__cil_tmp40 ;
12618  unsigned long __cil_tmp41 ;
12619  unsigned long __cil_tmp42 ;
12620  unsigned int __cil_tmp43 ;
12621  void    *__cil_tmp44 ;
12622  unsigned long __cil_tmp45 ;
12623  unsigned long __cil_tmp46 ;
12624  struct mutex *__cil_tmp47 ;
12625  int __cil_tmp48 ;
12626  int __cil_tmp49 ;
12627  long __cil_tmp50 ;
12628  int    __cil_tmp51 ;
12629  int __cil_tmp52 ;
12630  int __cil_tmp53 ;
12631  long __cil_tmp54 ;
12632  struct fc_frame    *__cil_tmp55 ;
12633  unsigned long __cil_tmp56 ;
12634  unsigned long __cil_tmp57 ;
12635  unsigned long __cil_tmp58 ;
12636  unsigned int __cil_tmp59 ;
12637  unsigned long __cil_tmp60 ;
12638  unsigned long __cil_tmp61 ;
12639  unsigned long __cil_tmp62 ;
12640  unsigned long __cil_tmp63 ;
12641  __be16 __cil_tmp64 ;
12642  int __cil_tmp65 ;
12643  unsigned long __cil_tmp66 ;
12644  unsigned long __cil_tmp67 ;
12645  unsigned long __cil_tmp68 ;
12646  unsigned long __cil_tmp69 ;
12647  unsigned long __cil_tmp70 ;
12648  char *__cil_tmp71 ;
12649  struct fcoe_rcv_info *__cil_tmp72 ;
12650  unsigned long __cil_tmp73 ;
12651  unsigned long __cil_tmp74 ;
12652  u8 __cil_tmp75 ;
12653  int __cil_tmp76 ;
12654  unsigned long __cil_tmp77 ;
12655  unsigned long __cil_tmp78 ;
12656  unsigned short __cil_tmp79 ;
12657  int __cil_tmp80 ;
12658  struct fc_frame    *__cil_tmp81 ;
12659  unsigned int *__cil_tmp82 ;
12660  unsigned int __cil_tmp83 ;
12661  unsigned int __cil_tmp84 ;
12662  int __cil_tmp85 ;
12663  int __cil_tmp86 ;
12664  long __cil_tmp87 ;
12665  struct Scsi_Host *__cil_tmp88 ;
12666  unsigned long __cil_tmp89 ;
12667  unsigned long __cil_tmp90 ;
12668  unsigned int __cil_tmp91 ;
12669  unsigned long __cil_tmp92 ;
12670  unsigned long __cil_tmp93 ;
12671  unsigned long __cil_tmp94 ;
12672  unsigned int __cil_tmp95 ;
12673  unsigned long __cil_tmp96 ;
12674  unsigned long __cil_tmp97 ;
12675  __be16 __cil_tmp98 ;
12676  int __cil_tmp99 ;
12677  unsigned long __cil_tmp100 ;
12678  unsigned long __cil_tmp101 ;
12679  struct fc_ct_hdr *__cil_tmp102 ;
12680  void *__cil_tmp103 ;
12681  size_t __cil_tmp104 ;
12682  unsigned long __cil_tmp105 ;
12683  unsigned long __cil_tmp106 ;
12684  __be16 __cil_tmp107 ;
12685  int __cil_tmp108 ;
12686  unsigned int *__cil_tmp109 ;
12687  unsigned int __cil_tmp110 ;
12688  unsigned int __cil_tmp111 ;
12689  int __cil_tmp112 ;
12690  int __cil_tmp113 ;
12691  long __cil_tmp114 ;
12692  struct Scsi_Host *__cil_tmp115 ;
12693  unsigned long __cil_tmp116 ;
12694  unsigned long __cil_tmp117 ;
12695  unsigned int __cil_tmp118 ;
12696  unsigned long __cil_tmp119 ;
12697  unsigned long __cil_tmp120 ;
12698  __u8 __cil_tmp121 ;
12699  int __cil_tmp122 ;
12700  unsigned long __cil_tmp123 ;
12701  unsigned long __cil_tmp124 ;
12702  __u8 __cil_tmp125 ;
12703  int __cil_tmp126 ;
12704  unsigned long __cil_tmp127 ;
12705  unsigned long __cil_tmp128 ;
12706  __u8 __cil_tmp129 ;
12707  int __cil_tmp130 ;
12708  unsigned long __cil_tmp131 ;
12709  unsigned long __cil_tmp132 ;
12710  __u8 __cil_tmp133 ;
12711  int __cil_tmp134 ;
12712  unsigned int *__cil_tmp135 ;
12713  unsigned int __cil_tmp136 ;
12714  unsigned int __cil_tmp137 ;
12715  int __cil_tmp138 ;
12716  int __cil_tmp139 ;
12717  long __cil_tmp140 ;
12718  unsigned long __cil_tmp141 ;
12719  unsigned long __cil_tmp142 ;
12720  __be16 __cil_tmp143 ;
12721  struct Scsi_Host *__cil_tmp144 ;
12722  unsigned long __cil_tmp145 ;
12723  unsigned long __cil_tmp146 ;
12724  unsigned int __cil_tmp147 ;
12725  int __cil_tmp148 ;
12726  unsigned long __cil_tmp149 ;
12727  unsigned long __cil_tmp150 ;
12728  unsigned long __cil_tmp151 ;
12729  unsigned long __cil_tmp152 ;
12730  unsigned long __cil_tmp153 ;
12731  char *__cil_tmp154 ;
12732  struct fcoe_rcv_info *__cil_tmp155 ;
12733  unsigned long __cil_tmp156 ;
12734  unsigned long __cil_tmp157 ;
12735  u8 __cil_tmp158 ;
12736  int __cil_tmp159 ;
12737  unsigned long __cil_tmp160 ;
12738  unsigned long __cil_tmp161 ;
12739  unsigned short __cil_tmp162 ;
12740  unsigned int __cil_tmp163 ;
12741  struct fc_frame_header *__cil_tmp164 ;
12742  void *__cil_tmp165 ;
12743  size_t __cil_tmp166 ;
12744  unsigned int *__cil_tmp167 ;
12745  unsigned int __cil_tmp168 ;
12746  unsigned int __cil_tmp169 ;
12747  int __cil_tmp170 ;
12748  int __cil_tmp171 ;
12749  long __cil_tmp172 ;
12750  struct Scsi_Host *__cil_tmp173 ;
12751  unsigned long __cil_tmp174 ;
12752  unsigned long __cil_tmp175 ;
12753  unsigned int __cil_tmp176 ;
12754  unsigned long __cil_tmp177 ;
12755  unsigned long __cil_tmp178 ;
12756  unsigned short __cil_tmp179 ;
12757  int __cil_tmp180 ;
12758  unsigned long __cil_tmp181 ;
12759  unsigned long __cil_tmp182 ;
12760  unsigned long __cil_tmp183 ;
12761  unsigned long __cil_tmp184 ;
12762  unsigned long __cil_tmp185 ;
12763  char *__cil_tmp186 ;
12764  struct fcoe_rcv_info *__cil_tmp187 ;
12765  unsigned long __cil_tmp188 ;
12766  unsigned long __cil_tmp189 ;
12767  u8 __cil_tmp190 ;
12768  int __cil_tmp191 ;
12769  unsigned long __cil_tmp192 ;
12770  unsigned long __cil_tmp193 ;
12771  unsigned long __cil_tmp194 ;
12772  unsigned long __cil_tmp195 ;
12773  unsigned long __cil_tmp196 ;
12774  char *__cil_tmp197 ;
12775  struct fcoe_rcv_info *__cil_tmp198 ;
12776  unsigned long __cil_tmp199 ;
12777  unsigned long __cil_tmp200 ;
12778  u8 __cil_tmp201 ;
12779  int __cil_tmp202 ;
12780  unsigned int __cil_tmp203 ;
12781  unsigned long __cil_tmp204 ;
12782  unsigned long __cil_tmp205 ;
12783  struct mutex *__cil_tmp206 ;
12784
12785  {
12786  {
12787#line 512
12788  disc = (struct fc_disc *)disc_arg;
12789#line 515
12790  event = (enum fc_disc_event )0;
12791#line 518
12792  error = 0;
12793#line 520
12794  __cil_tmp31 = (unsigned long )disc;
12795#line 520
12796  __cil_tmp32 = __cil_tmp31 + 40;
12797#line 520
12798  __cil_tmp33 = (struct mutex *)__cil_tmp32;
12799#line 520
12800  mutex_lock(__cil_tmp33);
12801  }
12802  {
12803#line 521
12804  while (1) {
12805    while_continue: /* CIL Label */ ;
12806    {
12807#line 521
12808    __cil_tmp34 = & fc_debug_logging;
12809#line 521
12810    __cil_tmp35 = *__cil_tmp34;
12811#line 521
12812    __cil_tmp36 = __cil_tmp35 & 4U;
12813#line 521
12814    __cil_tmp37 = ! __cil_tmp36;
12815#line 521
12816    __cil_tmp38 = ! __cil_tmp37;
12817#line 521
12818    __cil_tmp39 = (long )__cil_tmp38;
12819#line 521
12820    tmp___8 = __builtin_expect(__cil_tmp39, 0L);
12821    }
12822#line 521
12823    if (tmp___8) {
12824      {
12825#line 521
12826      while (1) {
12827        while_continue___0: /* CIL Label */ ;
12828        {
12829#line 521
12830        tmp___7 = fc_disc_lport(disc);
12831#line 521
12832        __cil_tmp40 = *((struct Scsi_Host **)tmp___7);
12833#line 521
12834        __cil_tmp41 = (unsigned long )__cil_tmp40;
12835#line 521
12836        __cil_tmp42 = __cil_tmp41 + 308;
12837#line 521
12838        __cil_tmp43 = *((unsigned int *)__cil_tmp42);
12839#line 521
12840        printk("<6>host%u: disc: Received a GPN_FT response\n", __cil_tmp43);
12841        }
12842#line 521
12843        goto while_break___0;
12844      }
12845      while_break___0: /* CIL Label */ ;
12846      }
12847    } else {
12848
12849    }
12850#line 521
12851    goto while_break;
12852  }
12853  while_break: /* CIL Label */ ;
12854  }
12855  {
12856#line 523
12857  __cil_tmp44 = (void    *)fp;
12858#line 523
12859  tmp___9 = (long )IS_ERR(__cil_tmp44);
12860  }
12861#line 523
12862  if (tmp___9) {
12863    {
12864#line 524
12865    fc_disc_error(disc, fp);
12866#line 525
12867    __cil_tmp45 = (unsigned long )disc;
12868#line 525
12869    __cil_tmp46 = __cil_tmp45 + 40;
12870#line 525
12871    __cil_tmp47 = (struct mutex *)__cil_tmp46;
12872#line 525
12873    mutex_unlock(__cil_tmp47);
12874    }
12875#line 526
12876    return;
12877  } else {
12878
12879  }
12880  {
12881#line 529
12882  tmp___10 = fc_frame_is_linear(fp);
12883  }
12884#line 529
12885  if (tmp___10) {
12886#line 529
12887    tmp___11 = 0;
12888  } else {
12889#line 529
12890    tmp___11 = 1;
12891  }
12892  {
12893#line 529
12894  __ret_warn_on = tmp___11;
12895#line 529
12896  __cil_tmp48 = ! __ret_warn_on;
12897#line 529
12898  __cil_tmp49 = ! __cil_tmp48;
12899#line 529
12900  __cil_tmp50 = (long )__cil_tmp49;
12901#line 529
12902  tmp___12 = __builtin_expect(__cil_tmp50, 0L);
12903  }
12904#line 529
12905  if (tmp___12) {
12906    {
12907#line 529
12908    __cil_tmp51 = (int    )529;
12909#line 529
12910    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c",
12911                       __cil_tmp51);
12912    }
12913  } else {
12914
12915  }
12916  {
12917#line 529
12918  __cil_tmp52 = ! __ret_warn_on;
12919#line 529
12920  __cil_tmp53 = ! __cil_tmp52;
12921#line 529
12922  __cil_tmp54 = (long )__cil_tmp53;
12923#line 529
12924  __builtin_expect(__cil_tmp54, 0L);
12925#line 530
12926  __cil_tmp55 = (struct fc_frame    *)fp;
12927#line 530
12928  fh = fc_frame_header_get(__cil_tmp55);
12929#line 531
12930  __cil_tmp56 = 0 + 104;
12931#line 531
12932  __cil_tmp57 = (unsigned long )fp;
12933#line 531
12934  __cil_tmp58 = __cil_tmp57 + __cil_tmp56;
12935#line 531
12936  __cil_tmp59 = *((unsigned int *)__cil_tmp58);
12937#line 531
12938  __cil_tmp60 = (unsigned long )__cil_tmp59;
12939#line 531
12940  __cil_tmp61 = __cil_tmp60 - 24UL;
12941#line 531
12942  len = (unsigned int )__cil_tmp61;
12943#line 532
12944  __cil_tmp62 = (unsigned long )fh;
12945#line 532
12946  __cil_tmp63 = __cil_tmp62 + 14;
12947#line 532
12948  __cil_tmp64 = *((__be16 *)__cil_tmp63);
12949#line 532
12950  tmp___13 = __fswab16(__cil_tmp64);
12951#line 532
12952  __cil_tmp65 = (int )tmp___13;
12953#line 532
12954  seq_cnt = (unsigned int )__cil_tmp65;
12955  }
12956  {
12957#line 533
12958  __cil_tmp66 = 0 * 1UL;
12959#line 533
12960  __cil_tmp67 = 40 + __cil_tmp66;
12961#line 533
12962  __cil_tmp68 = 0 + __cil_tmp67;
12963#line 533
12964  __cil_tmp69 = (unsigned long )fp;
12965#line 533
12966  __cil_tmp70 = __cil_tmp69 + __cil_tmp68;
12967#line 533
12968  __cil_tmp71 = (char *)__cil_tmp70;
12969#line 533
12970  __cil_tmp72 = (struct fcoe_rcv_info *)__cil_tmp71;
12971#line 533
12972  __cil_tmp73 = (unsigned long )__cil_tmp72;
12973#line 533
12974  __cil_tmp74 = __cil_tmp73 + 30;
12975#line 533
12976  __cil_tmp75 = *((u8 *)__cil_tmp74);
12977#line 533
12978  __cil_tmp76 = (int )__cil_tmp75;
12979#line 533
12980  if (__cil_tmp76 == 46) {
12981#line 533
12982    if (seq_cnt == 0U) {
12983      {
12984#line 533
12985      __cil_tmp77 = (unsigned long )disc;
12986#line 533
12987      __cil_tmp78 = __cil_tmp77 + 4;
12988#line 533
12989      __cil_tmp79 = *((unsigned short *)__cil_tmp78);
12990#line 533
12991      __cil_tmp80 = (int )__cil_tmp79;
12992#line 533
12993      if (__cil_tmp80 == 0) {
12994        {
12995#line 534
12996        __cil_tmp81 = (struct fc_frame    *)fp;
12997#line 534
12998        tmp___14 = fc_frame_payload_get(__cil_tmp81, 16UL);
12999#line 534
13000        cp = (struct fc_ct_hdr *)tmp___14;
13001        }
13002#line 535
13003        if (! cp) {
13004          {
13005#line 536
13006          while (1) {
13007            while_continue___1: /* CIL Label */ ;
13008            {
13009#line 536
13010            __cil_tmp82 = & fc_debug_logging;
13011#line 536
13012            __cil_tmp83 = *__cil_tmp82;
13013#line 536
13014            __cil_tmp84 = __cil_tmp83 & 4U;
13015#line 536
13016            __cil_tmp85 = ! __cil_tmp84;
13017#line 536
13018            __cil_tmp86 = ! __cil_tmp85;
13019#line 536
13020            __cil_tmp87 = (long )__cil_tmp86;
13021#line 536
13022            tmp___16 = __builtin_expect(__cil_tmp87, 0L);
13023            }
13024#line 536
13025            if (tmp___16) {
13026              {
13027#line 536
13028              while (1) {
13029                while_continue___2: /* CIL Label */ ;
13030                {
13031#line 536
13032                tmp___15 = fc_disc_lport(disc);
13033#line 536
13034                __cil_tmp88 = *((struct Scsi_Host **)tmp___15);
13035#line 536
13036                __cil_tmp89 = (unsigned long )__cil_tmp88;
13037#line 536
13038                __cil_tmp90 = __cil_tmp89 + 308;
13039#line 536
13040                __cil_tmp91 = *((unsigned int *)__cil_tmp90);
13041#line 536
13042                __cil_tmp92 = 0 + 104;
13043#line 536
13044                __cil_tmp93 = (unsigned long )fp;
13045#line 536
13046                __cil_tmp94 = __cil_tmp93 + __cil_tmp92;
13047#line 536
13048                __cil_tmp95 = *((unsigned int *)__cil_tmp94);
13049#line 536
13050                printk("<6>host%u: disc: GPN_FT response too short, len %d\n", __cil_tmp91,
13051                       __cil_tmp95);
13052                }
13053#line 536
13054                goto while_break___2;
13055              }
13056              while_break___2: /* CIL Label */ ;
13057              }
13058            } else {
13059
13060            }
13061#line 536
13062            goto while_break___1;
13063          }
13064          while_break___1: /* CIL Label */ ;
13065          }
13066#line 538
13067          event = (enum fc_disc_event )2;
13068        } else {
13069          {
13070#line 539
13071          __cil_tmp96 = (unsigned long )cp;
13072#line 539
13073          __cil_tmp97 = __cil_tmp96 + 8;
13074#line 539
13075          __cil_tmp98 = *((__be16 *)__cil_tmp97);
13076#line 539
13077          tmp___23 = __fswab16(__cil_tmp98);
13078          }
13079          {
13080#line 539
13081          __cil_tmp99 = (int )tmp___23;
13082#line 539
13083          if (__cil_tmp99 == 32770) {
13084            {
13085#line 542
13086            __cil_tmp100 = (unsigned long )len;
13087#line 542
13088            __cil_tmp101 = __cil_tmp100 - 16UL;
13089#line 542
13090            len = (unsigned int )__cil_tmp101;
13091#line 543
13092            __cil_tmp102 = cp + 1;
13093#line 543
13094            __cil_tmp103 = (void *)__cil_tmp102;
13095#line 543
13096            __cil_tmp104 = (size_t )len;
13097#line 543
13098            error = fc_disc_gpn_ft_parse(disc, __cil_tmp103, __cil_tmp104);
13099            }
13100          } else {
13101            {
13102#line 544
13103            __cil_tmp105 = (unsigned long )cp;
13104#line 544
13105            __cil_tmp106 = __cil_tmp105 + 8;
13106#line 544
13107            __cil_tmp107 = *((__be16 *)__cil_tmp106);
13108#line 544
13109            tmp___22 = __fswab16(__cil_tmp107);
13110            }
13111            {
13112#line 544
13113            __cil_tmp108 = (int )tmp___22;
13114#line 544
13115            if (__cil_tmp108 == 32769) {
13116              {
13117#line 545
13118              while (1) {
13119                while_continue___3: /* CIL Label */ ;
13120                {
13121#line 545
13122                __cil_tmp109 = & fc_debug_logging;
13123#line 545
13124                __cil_tmp110 = *__cil_tmp109;
13125#line 545
13126                __cil_tmp111 = __cil_tmp110 & 4U;
13127#line 545
13128                __cil_tmp112 = ! __cil_tmp111;
13129#line 545
13130                __cil_tmp113 = ! __cil_tmp112;
13131#line 545
13132                __cil_tmp114 = (long )__cil_tmp113;
13133#line 545
13134                tmp___18 = __builtin_expect(__cil_tmp114, 0L);
13135                }
13136#line 545
13137                if (tmp___18) {
13138                  {
13139#line 545
13140                  while (1) {
13141                    while_continue___4: /* CIL Label */ ;
13142                    {
13143#line 545
13144                    tmp___17 = fc_disc_lport(disc);
13145#line 545
13146                    __cil_tmp115 = *((struct Scsi_Host **)tmp___17);
13147#line 545
13148                    __cil_tmp116 = (unsigned long )__cil_tmp115;
13149#line 545
13150                    __cil_tmp117 = __cil_tmp116 + 308;
13151#line 545
13152                    __cil_tmp118 = *((unsigned int *)__cil_tmp117);
13153#line 545
13154                    __cil_tmp119 = (unsigned long )cp;
13155#line 545
13156                    __cil_tmp120 = __cil_tmp119 + 13;
13157#line 545
13158                    __cil_tmp121 = *((__u8 *)__cil_tmp120);
13159#line 545
13160                    __cil_tmp122 = (int )__cil_tmp121;
13161#line 545
13162                    __cil_tmp123 = (unsigned long )cp;
13163#line 545
13164                    __cil_tmp124 = __cil_tmp123 + 14;
13165#line 545
13166                    __cil_tmp125 = *((__u8 *)__cil_tmp124);
13167#line 545
13168                    __cil_tmp126 = (int )__cil_tmp125;
13169#line 545
13170                    printk("<6>host%u: disc: GPN_FT rejected reason %x exp %x (check zoning)\n",
13171                           __cil_tmp118, __cil_tmp122, __cil_tmp126);
13172                    }
13173#line 545
13174                    goto while_break___4;
13175                  }
13176                  while_break___4: /* CIL Label */ ;
13177                  }
13178                } else {
13179
13180                }
13181#line 545
13182                goto while_break___3;
13183              }
13184              while_break___3: /* CIL Label */ ;
13185              }
13186#line 548
13187              event = (enum fc_disc_event )2;
13188              {
13189#line 549
13190              __cil_tmp127 = (unsigned long )cp;
13191#line 549
13192              __cil_tmp128 = __cil_tmp127 + 13;
13193#line 549
13194              __cil_tmp129 = *((__u8 *)__cil_tmp128);
13195#line 549
13196              __cil_tmp130 = (int )__cil_tmp129;
13197#line 549
13198              if (__cil_tmp130 == 9) {
13199                {
13200#line 549
13201                __cil_tmp131 = (unsigned long )cp;
13202#line 549
13203                __cil_tmp132 = __cil_tmp131 + 14;
13204#line 549
13205                __cil_tmp133 = *((__u8 *)__cil_tmp132);
13206#line 549
13207                __cil_tmp134 = (int )__cil_tmp133;
13208#line 549
13209                if (__cil_tmp134 == 7) {
13210#line 551
13211                  event = (enum fc_disc_event )1;
13212                } else {
13213
13214                }
13215                }
13216              } else {
13217
13218              }
13219              }
13220            } else {
13221              {
13222#line 553
13223              while (1) {
13224                while_continue___5: /* CIL Label */ ;
13225                {
13226#line 553
13227                __cil_tmp135 = & fc_debug_logging;
13228#line 553
13229                __cil_tmp136 = *__cil_tmp135;
13230#line 553
13231                __cil_tmp137 = __cil_tmp136 & 4U;
13232#line 553
13233                __cil_tmp138 = ! __cil_tmp137;
13234#line 553
13235                __cil_tmp139 = ! __cil_tmp138;
13236#line 553
13237                __cil_tmp140 = (long )__cil_tmp139;
13238#line 553
13239                tmp___21 = __builtin_expect(__cil_tmp140, 0L);
13240                }
13241#line 553
13242                if (tmp___21) {
13243                  {
13244#line 553
13245                  while (1) {
13246                    while_continue___6: /* CIL Label */ ;
13247                    {
13248#line 553
13249                    __cil_tmp141 = (unsigned long )cp;
13250#line 553
13251                    __cil_tmp142 = __cil_tmp141 + 8;
13252#line 553
13253                    __cil_tmp143 = *((__be16 *)__cil_tmp142);
13254#line 553
13255                    tmp___19 = __fswab16(__cil_tmp143);
13256#line 553
13257                    tmp___20 = fc_disc_lport(disc);
13258#line 553
13259                    __cil_tmp144 = *((struct Scsi_Host **)tmp___20);
13260#line 553
13261                    __cil_tmp145 = (unsigned long )__cil_tmp144;
13262#line 553
13263                    __cil_tmp146 = __cil_tmp145 + 308;
13264#line 553
13265                    __cil_tmp147 = *((unsigned int *)__cil_tmp146);
13266#line 553
13267                    __cil_tmp148 = (int )tmp___19;
13268#line 553
13269                    printk("<6>host%u: disc: GPN_FT unexpected response code %x\n",
13270                           __cil_tmp147, __cil_tmp148);
13271                    }
13272#line 553
13273                    goto while_break___6;
13274                  }
13275                  while_break___6: /* CIL Label */ ;
13276                  }
13277                } else {
13278
13279                }
13280#line 553
13281                goto while_break___5;
13282              }
13283              while_break___5: /* CIL Label */ ;
13284              }
13285#line 555
13286              event = (enum fc_disc_event )2;
13287            }
13288            }
13289          }
13290          }
13291        }
13292      } else {
13293#line 533
13294        goto _L___1;
13295      }
13296      }
13297    } else {
13298#line 533
13299      goto _L___1;
13300    }
13301  } else {
13302    _L___1: /* CIL Label */ 
13303    {
13304#line 557
13305    __cil_tmp149 = 0 * 1UL;
13306#line 557
13307    __cil_tmp150 = 40 + __cil_tmp149;
13308#line 557
13309    __cil_tmp151 = 0 + __cil_tmp150;
13310#line 557
13311    __cil_tmp152 = (unsigned long )fp;
13312#line 557
13313    __cil_tmp153 = __cil_tmp152 + __cil_tmp151;
13314#line 557
13315    __cil_tmp154 = (char *)__cil_tmp153;
13316#line 557
13317    __cil_tmp155 = (struct fcoe_rcv_info *)__cil_tmp154;
13318#line 557
13319    __cil_tmp156 = (unsigned long )__cil_tmp155;
13320#line 557
13321    __cil_tmp157 = __cil_tmp156 + 30;
13322#line 557
13323    __cil_tmp158 = *((u8 *)__cil_tmp157);
13324#line 557
13325    __cil_tmp159 = (int )__cil_tmp158;
13326#line 557
13327    if (__cil_tmp159 == 54) {
13328      {
13329#line 557
13330      __cil_tmp160 = (unsigned long )disc;
13331#line 557
13332      __cil_tmp161 = __cil_tmp160 + 4;
13333#line 557
13334      __cil_tmp162 = *((unsigned short *)__cil_tmp161);
13335#line 557
13336      __cil_tmp163 = (unsigned int )__cil_tmp162;
13337#line 557
13338      if (seq_cnt == __cil_tmp163) {
13339        {
13340#line 558
13341        __cil_tmp164 = fh + 1;
13342#line 558
13343        __cil_tmp165 = (void *)__cil_tmp164;
13344#line 558
13345        __cil_tmp166 = (size_t )len;
13346#line 558
13347        error = fc_disc_gpn_ft_parse(disc, __cil_tmp165, __cil_tmp166);
13348        }
13349      } else {
13350#line 557
13351        goto _L;
13352      }
13353      }
13354    } else {
13355      _L: /* CIL Label */ 
13356      {
13357#line 560
13358      while (1) {
13359        while_continue___7: /* CIL Label */ ;
13360        {
13361#line 560
13362        __cil_tmp167 = & fc_debug_logging;
13363#line 560
13364        __cil_tmp168 = *__cil_tmp167;
13365#line 560
13366        __cil_tmp169 = __cil_tmp168 & 4U;
13367#line 560
13368        __cil_tmp170 = ! __cil_tmp169;
13369#line 560
13370        __cil_tmp171 = ! __cil_tmp170;
13371#line 560
13372        __cil_tmp172 = (long )__cil_tmp171;
13373#line 560
13374        tmp___25 = __builtin_expect(__cil_tmp172, 0L);
13375        }
13376#line 560
13377        if (tmp___25) {
13378          {
13379#line 560
13380          while (1) {
13381            while_continue___8: /* CIL Label */ ;
13382            {
13383#line 560
13384            tmp___24 = fc_disc_lport(disc);
13385#line 560
13386            __cil_tmp173 = *((struct Scsi_Host **)tmp___24);
13387#line 560
13388            __cil_tmp174 = (unsigned long )__cil_tmp173;
13389#line 560
13390            __cil_tmp175 = __cil_tmp174 + 308;
13391#line 560
13392            __cil_tmp176 = *((unsigned int *)__cil_tmp175);
13393#line 560
13394            __cil_tmp177 = (unsigned long )disc;
13395#line 560
13396            __cil_tmp178 = __cil_tmp177 + 4;
13397#line 560
13398            __cil_tmp179 = *((unsigned short *)__cil_tmp178);
13399#line 560
13400            __cil_tmp180 = (int )__cil_tmp179;
13401#line 560
13402            __cil_tmp181 = 0 * 1UL;
13403#line 560
13404            __cil_tmp182 = 40 + __cil_tmp181;
13405#line 560
13406            __cil_tmp183 = 0 + __cil_tmp182;
13407#line 560
13408            __cil_tmp184 = (unsigned long )fp;
13409#line 560
13410            __cil_tmp185 = __cil_tmp184 + __cil_tmp183;
13411#line 560
13412            __cil_tmp186 = (char *)__cil_tmp185;
13413#line 560
13414            __cil_tmp187 = (struct fcoe_rcv_info *)__cil_tmp186;
13415#line 560
13416            __cil_tmp188 = (unsigned long )__cil_tmp187;
13417#line 560
13418            __cil_tmp189 = __cil_tmp188 + 30;
13419#line 560
13420            __cil_tmp190 = *((u8 *)__cil_tmp189);
13421#line 560
13422            __cil_tmp191 = (int )__cil_tmp190;
13423#line 560
13424            __cil_tmp192 = 0 * 1UL;
13425#line 560
13426            __cil_tmp193 = 40 + __cil_tmp192;
13427#line 560
13428            __cil_tmp194 = 0 + __cil_tmp193;
13429#line 560
13430            __cil_tmp195 = (unsigned long )fp;
13431#line 560
13432            __cil_tmp196 = __cil_tmp195 + __cil_tmp194;
13433#line 560
13434            __cil_tmp197 = (char *)__cil_tmp196;
13435#line 560
13436            __cil_tmp198 = (struct fcoe_rcv_info *)__cil_tmp197;
13437#line 560
13438            __cil_tmp199 = (unsigned long )__cil_tmp198;
13439#line 560
13440            __cil_tmp200 = __cil_tmp199 + 31;
13441#line 560
13442            __cil_tmp201 = *((u8 *)__cil_tmp200);
13443#line 560
13444            __cil_tmp202 = (int )__cil_tmp201;
13445#line 560
13446            printk("<6>host%u: disc: GPN_FT unexpected frame - out of sequence? seq_cnt %x expected %x sof %x eof %x\n",
13447                   __cil_tmp176, seq_cnt, __cil_tmp180, __cil_tmp191, __cil_tmp202);
13448            }
13449#line 560
13450            goto while_break___8;
13451          }
13452          while_break___8: /* CIL Label */ ;
13453          }
13454        } else {
13455
13456        }
13457#line 560
13458        goto while_break___7;
13459      }
13460      while_break___7: /* CIL Label */ ;
13461      }
13462#line 563
13463      event = (enum fc_disc_event )2;
13464    }
13465    }
13466  }
13467  }
13468#line 565
13469  if (error) {
13470    {
13471#line 566
13472    fc_disc_error(disc, fp);
13473    }
13474  } else {
13475    {
13476#line 567
13477    __cil_tmp203 = (unsigned int )event;
13478#line 567
13479    if (__cil_tmp203 != 0U) {
13480      {
13481#line 568
13482      fc_disc_done(disc, event);
13483      }
13484    } else {
13485
13486    }
13487    }
13488  }
13489  {
13490#line 569
13491  fc_frame_free(fp);
13492#line 570
13493  __cil_tmp204 = (unsigned long )disc;
13494#line 570
13495  __cil_tmp205 = __cil_tmp204 + 40;
13496#line 570
13497  __cil_tmp206 = (struct mutex *)__cil_tmp205;
13498#line 570
13499  mutex_unlock(__cil_tmp206);
13500  }
13501#line 571
13502  return;
13503}
13504}
13505#line 581 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
13506static void fc_disc_gpn_id_resp(struct fc_seq *sp , struct fc_frame *fp , void *rdata_arg ) 
13507{ struct fc_rport_priv *rdata ;
13508  struct fc_rport_priv *new_rdata ;
13509  struct fc_lport *lport ;
13510  struct fc_disc *disc ;
13511  struct fc_ct_hdr *cp ;
13512  struct fc_ns_gid_pn *pn ;
13513  u64 port_name ;
13514  long tmp___7 ;
13515  long tmp___8 ;
13516  void *tmp___9 ;
13517  struct fc_lport *tmp___10 ;
13518  long tmp___11 ;
13519  struct fc_lport *tmp___12 ;
13520  long tmp___13 ;
13521  __u16 tmp___14 ;
13522  struct fc_lport *tmp___15 ;
13523  long tmp___16 ;
13524  __u16 tmp___17 ;
13525  __u16 tmp___18 ;
13526  unsigned long __cil_tmp23 ;
13527  unsigned long __cil_tmp24 ;
13528  unsigned long __cil_tmp25 ;
13529  unsigned long __cil_tmp26 ;
13530  struct mutex *__cil_tmp27 ;
13531  void    *__cil_tmp28 ;
13532  void    *__cil_tmp29 ;
13533  struct fc_frame    *__cil_tmp30 ;
13534  unsigned long __cil_tmp31 ;
13535  unsigned long __cil_tmp32 ;
13536  __be16 __cil_tmp33 ;
13537  int __cil_tmp34 ;
13538  unsigned long __cil_tmp35 ;
13539  unsigned long __cil_tmp36 ;
13540  unsigned long __cil_tmp37 ;
13541  unsigned long __cil_tmp38 ;
13542  unsigned long __cil_tmp39 ;
13543  unsigned int __cil_tmp40 ;
13544  unsigned long __cil_tmp41 ;
13545  struct fc_ct_hdr *__cil_tmp42 ;
13546  __be64 *__cil_tmp43 ;
13547  void    *__cil_tmp44 ;
13548  unsigned long __cil_tmp45 ;
13549  unsigned long __cil_tmp46 ;
13550  unsigned long __cil_tmp47 ;
13551  u64 __cil_tmp48 ;
13552  unsigned long __cil_tmp49 ;
13553  unsigned long __cil_tmp50 ;
13554  unsigned long __cil_tmp51 ;
13555  unsigned long __cil_tmp52 ;
13556  unsigned long __cil_tmp53 ;
13557  unsigned long __cil_tmp54 ;
13558  u64 __cil_tmp55 ;
13559  unsigned int *__cil_tmp56 ;
13560  unsigned int __cil_tmp57 ;
13561  unsigned int __cil_tmp58 ;
13562  int __cil_tmp59 ;
13563  int __cil_tmp60 ;
13564  long __cil_tmp61 ;
13565  struct Scsi_Host *__cil_tmp62 ;
13566  unsigned long __cil_tmp63 ;
13567  unsigned long __cil_tmp64 ;
13568  unsigned int __cil_tmp65 ;
13569  unsigned long __cil_tmp66 ;
13570  unsigned long __cil_tmp67 ;
13571  unsigned long __cil_tmp68 ;
13572  u32 __cil_tmp69 ;
13573  unsigned long __cil_tmp70 ;
13574  unsigned long __cil_tmp71 ;
13575  unsigned long __cil_tmp72 ;
13576  int (*__cil_tmp73)(struct fc_rport_priv * ) ;
13577  unsigned long __cil_tmp74 ;
13578  unsigned long __cil_tmp75 ;
13579  unsigned long __cil_tmp76 ;
13580  struct fc_rport_priv *(*__cil_tmp77)(struct fc_lport * , u32  ) ;
13581  unsigned long __cil_tmp78 ;
13582  unsigned long __cil_tmp79 ;
13583  unsigned long __cil_tmp80 ;
13584  u32 __cil_tmp81 ;
13585  unsigned long __cil_tmp82 ;
13586  unsigned long __cil_tmp83 ;
13587  unsigned long __cil_tmp84 ;
13588  unsigned long __cil_tmp85 ;
13589  unsigned long __cil_tmp86 ;
13590  unsigned long __cil_tmp87 ;
13591  unsigned long __cil_tmp88 ;
13592  int (*__cil_tmp89)(struct fc_rport_priv * ) ;
13593  unsigned long __cil_tmp90 ;
13594  unsigned long __cil_tmp91 ;
13595  unsigned long __cil_tmp92 ;
13596  unsigned long __cil_tmp93 ;
13597  unsigned long __cil_tmp94 ;
13598  unsigned long __cil_tmp95 ;
13599  unsigned long __cil_tmp96 ;
13600  int (*__cil_tmp97)(struct fc_rport_priv * ) ;
13601  unsigned long __cil_tmp98 ;
13602  unsigned long __cil_tmp99 ;
13603  __be16 __cil_tmp100 ;
13604  int __cil_tmp101 ;
13605  unsigned int *__cil_tmp102 ;
13606  unsigned int __cil_tmp103 ;
13607  unsigned int __cil_tmp104 ;
13608  int __cil_tmp105 ;
13609  int __cil_tmp106 ;
13610  long __cil_tmp107 ;
13611  struct Scsi_Host *__cil_tmp108 ;
13612  unsigned long __cil_tmp109 ;
13613  unsigned long __cil_tmp110 ;
13614  unsigned int __cil_tmp111 ;
13615  unsigned long __cil_tmp112 ;
13616  unsigned long __cil_tmp113 ;
13617  __u8 __cil_tmp114 ;
13618  int __cil_tmp115 ;
13619  unsigned long __cil_tmp116 ;
13620  unsigned long __cil_tmp117 ;
13621  __u8 __cil_tmp118 ;
13622  int __cil_tmp119 ;
13623  unsigned long __cil_tmp120 ;
13624  unsigned long __cil_tmp121 ;
13625  unsigned long __cil_tmp122 ;
13626  int (*__cil_tmp123)(struct fc_rport_priv * ) ;
13627  unsigned int *__cil_tmp124 ;
13628  unsigned int __cil_tmp125 ;
13629  unsigned int __cil_tmp126 ;
13630  int __cil_tmp127 ;
13631  int __cil_tmp128 ;
13632  long __cil_tmp129 ;
13633  unsigned long __cil_tmp130 ;
13634  unsigned long __cil_tmp131 ;
13635  __be16 __cil_tmp132 ;
13636  struct Scsi_Host *__cil_tmp133 ;
13637  unsigned long __cil_tmp134 ;
13638  unsigned long __cil_tmp135 ;
13639  unsigned int __cil_tmp136 ;
13640  int __cil_tmp137 ;
13641  unsigned long __cil_tmp138 ;
13642  unsigned long __cil_tmp139 ;
13643  struct mutex *__cil_tmp140 ;
13644  unsigned long __cil_tmp141 ;
13645  unsigned long __cil_tmp142 ;
13646  struct kref *__cil_tmp143 ;
13647  unsigned long __cil_tmp144 ;
13648  unsigned long __cil_tmp145 ;
13649  unsigned long __cil_tmp146 ;
13650  void (*__cil_tmp147)(struct kref * ) ;
13651
13652  {
13653  {
13654#line 584
13655  rdata = (struct fc_rport_priv *)rdata_arg;
13656#line 592
13657  lport = *((struct fc_lport **)rdata);
13658#line 593
13659  __cil_tmp23 = (unsigned long )lport;
13660#line 593
13661  __cil_tmp24 = __cil_tmp23 + 56;
13662#line 593
13663  disc = (struct fc_disc *)__cil_tmp24;
13664#line 595
13665  __cil_tmp25 = (unsigned long )disc;
13666#line 595
13667  __cil_tmp26 = __cil_tmp25 + 40;
13668#line 595
13669  __cil_tmp27 = (struct mutex *)__cil_tmp26;
13670#line 595
13671  mutex_lock(__cil_tmp27);
13672#line 596
13673  __cil_tmp28 = (void    *)fp;
13674#line 596
13675  tmp___7 = (long )PTR_ERR(__cil_tmp28);
13676  }
13677#line 596
13678  if (tmp___7 == -2L) {
13679#line 597
13680    goto out;
13681  } else {
13682
13683  }
13684  {
13685#line 598
13686  __cil_tmp29 = (void    *)fp;
13687#line 598
13688  tmp___8 = (long )IS_ERR(__cil_tmp29);
13689  }
13690#line 598
13691  if (tmp___8) {
13692#line 599
13693    goto redisc;
13694  } else {
13695
13696  }
13697  {
13698#line 601
13699  __cil_tmp30 = (struct fc_frame    *)fp;
13700#line 601
13701  tmp___9 = fc_frame_payload_get(__cil_tmp30, 16UL);
13702#line 601
13703  cp = (struct fc_ct_hdr *)tmp___9;
13704  }
13705#line 602
13706  if (! cp) {
13707#line 603
13708    goto redisc;
13709  } else {
13710
13711  }
13712  {
13713#line 604
13714  __cil_tmp31 = (unsigned long )cp;
13715#line 604
13716  __cil_tmp32 = __cil_tmp31 + 8;
13717#line 604
13718  __cil_tmp33 = *((__be16 *)__cil_tmp32);
13719#line 604
13720  tmp___18 = __fswab16(__cil_tmp33);
13721  }
13722  {
13723#line 604
13724  __cil_tmp34 = (int )tmp___18;
13725#line 604
13726  if (__cil_tmp34 == 32770) {
13727    {
13728#line 605
13729    __cil_tmp35 = 24UL + 16UL;
13730#line 605
13731    __cil_tmp36 = __cil_tmp35 + 8UL;
13732#line 605
13733    __cil_tmp37 = 0 + 104;
13734#line 605
13735    __cil_tmp38 = (unsigned long )fp;
13736#line 605
13737    __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
13738#line 605
13739    __cil_tmp40 = *((unsigned int *)__cil_tmp39);
13740#line 605
13741    __cil_tmp41 = (unsigned long )__cil_tmp40;
13742#line 605
13743    if (__cil_tmp41 < __cil_tmp36) {
13744#line 607
13745      goto redisc;
13746    } else {
13747
13748    }
13749    }
13750    {
13751#line 608
13752    __cil_tmp42 = cp + 1;
13753#line 608
13754    pn = (struct fc_ns_gid_pn *)__cil_tmp42;
13755#line 609
13756    __cil_tmp43 = (__be64 *)pn;
13757#line 609
13758    __cil_tmp44 = (void    *)__cil_tmp43;
13759#line 609
13760    port_name = get_unaligned_be64(__cil_tmp44);
13761    }
13762    {
13763#line 610
13764    __cil_tmp45 = 24 + 8;
13765#line 610
13766    __cil_tmp46 = (unsigned long )rdata;
13767#line 610
13768    __cil_tmp47 = __cil_tmp46 + __cil_tmp45;
13769#line 610
13770    __cil_tmp48 = *((u64 *)__cil_tmp47);
13771#line 610
13772    if (__cil_tmp48 == 0xffffffffffffffffULL) {
13773#line 611
13774      __cil_tmp49 = 24 + 8;
13775#line 611
13776      __cil_tmp50 = (unsigned long )rdata;
13777#line 611
13778      __cil_tmp51 = __cil_tmp50 + __cil_tmp49;
13779#line 611
13780      *((u64 *)__cil_tmp51) = port_name;
13781    } else {
13782      {
13783#line 612
13784      __cil_tmp52 = 24 + 8;
13785#line 612
13786      __cil_tmp53 = (unsigned long )rdata;
13787#line 612
13788      __cil_tmp54 = __cil_tmp53 + __cil_tmp52;
13789#line 612
13790      __cil_tmp55 = *((u64 *)__cil_tmp54);
13791#line 612
13792      if (__cil_tmp55 != port_name) {
13793        {
13794#line 613
13795        while (1) {
13796          while_continue: /* CIL Label */ ;
13797          {
13798#line 613
13799          __cil_tmp56 = & fc_debug_logging;
13800#line 613
13801          __cil_tmp57 = *__cil_tmp56;
13802#line 613
13803          __cil_tmp58 = __cil_tmp57 & 4U;
13804#line 613
13805          __cil_tmp59 = ! __cil_tmp58;
13806#line 613
13807          __cil_tmp60 = ! __cil_tmp59;
13808#line 613
13809          __cil_tmp61 = (long )__cil_tmp60;
13810#line 613
13811          tmp___11 = __builtin_expect(__cil_tmp61, 0L);
13812          }
13813#line 613
13814          if (tmp___11) {
13815            {
13816#line 613
13817            while (1) {
13818              while_continue___0: /* CIL Label */ ;
13819              {
13820#line 613
13821              tmp___10 = fc_disc_lport(disc);
13822#line 613
13823              __cil_tmp62 = *((struct Scsi_Host **)tmp___10);
13824#line 613
13825              __cil_tmp63 = (unsigned long )__cil_tmp62;
13826#line 613
13827              __cil_tmp64 = __cil_tmp63 + 308;
13828#line 613
13829              __cil_tmp65 = *((unsigned int *)__cil_tmp64);
13830#line 613
13831              __cil_tmp66 = 24 + 16;
13832#line 613
13833              __cil_tmp67 = (unsigned long )rdata;
13834#line 613
13835              __cil_tmp68 = __cil_tmp67 + __cil_tmp66;
13836#line 613
13837              __cil_tmp69 = *((u32 *)__cil_tmp68);
13838#line 613
13839              printk("<6>host%u: disc: GPN_ID accepted.  WWPN changed. Port-id %6.6x wwpn %16.16llx\n",
13840                     __cil_tmp65, __cil_tmp69, port_name);
13841              }
13842#line 613
13843              goto while_break___0;
13844            }
13845            while_break___0: /* CIL Label */ ;
13846            }
13847          } else {
13848
13849          }
13850#line 613
13851          goto while_break;
13852        }
13853        while_break: /* CIL Label */ ;
13854        }
13855        {
13856#line 616
13857        __cil_tmp70 = 328 + 176;
13858#line 616
13859        __cil_tmp71 = (unsigned long )lport;
13860#line 616
13861        __cil_tmp72 = __cil_tmp71 + __cil_tmp70;
13862#line 616
13863        __cil_tmp73 = *((int (**)(struct fc_rport_priv * ))__cil_tmp72);
13864#line 616
13865        (*__cil_tmp73)(rdata);
13866#line 618
13867        __cil_tmp74 = 328 + 160;
13868#line 618
13869        __cil_tmp75 = (unsigned long )lport;
13870#line 618
13871        __cil_tmp76 = __cil_tmp75 + __cil_tmp74;
13872#line 618
13873        __cil_tmp77 = *((struct fc_rport_priv *(**)(struct fc_lport * , u32  ))__cil_tmp76);
13874#line 618
13875        __cil_tmp78 = 24 + 16;
13876#line 618
13877        __cil_tmp79 = (unsigned long )rdata;
13878#line 618
13879        __cil_tmp80 = __cil_tmp79 + __cil_tmp78;
13880#line 618
13881        __cil_tmp81 = *((u32 *)__cil_tmp80);
13882#line 618
13883        new_rdata = (*__cil_tmp77)(lport, __cil_tmp81);
13884        }
13885#line 620
13886        if (new_rdata) {
13887          {
13888#line 621
13889          __cil_tmp82 = (unsigned long )new_rdata;
13890#line 621
13891          __cil_tmp83 = __cil_tmp82 + 52;
13892#line 621
13893          __cil_tmp84 = (unsigned long )disc;
13894#line 621
13895          __cil_tmp85 = __cil_tmp84 + 8;
13896#line 621
13897          *((u16 *)__cil_tmp83) = *((u16 *)__cil_tmp85);
13898#line 622
13899          __cil_tmp86 = 328 + 168;
13900#line 622
13901          __cil_tmp87 = (unsigned long )lport;
13902#line 622
13903          __cil_tmp88 = __cil_tmp87 + __cil_tmp86;
13904#line 622
13905          __cil_tmp89 = *((int (**)(struct fc_rport_priv * ))__cil_tmp88);
13906#line 622
13907          (*__cil_tmp89)(new_rdata);
13908          }
13909        } else {
13910
13911        }
13912#line 624
13913        goto out;
13914      } else {
13915
13916      }
13917      }
13918    }
13919    }
13920    {
13921#line 626
13922    __cil_tmp90 = (unsigned long )rdata;
13923#line 626
13924    __cil_tmp91 = __cil_tmp90 + 52;
13925#line 626
13926    __cil_tmp92 = (unsigned long )disc;
13927#line 626
13928    __cil_tmp93 = __cil_tmp92 + 8;
13929#line 626
13930    *((u16 *)__cil_tmp91) = *((u16 *)__cil_tmp93);
13931#line 627
13932    __cil_tmp94 = 328 + 168;
13933#line 627
13934    __cil_tmp95 = (unsigned long )lport;
13935#line 627
13936    __cil_tmp96 = __cil_tmp95 + __cil_tmp94;
13937#line 627
13938    __cil_tmp97 = *((int (**)(struct fc_rport_priv * ))__cil_tmp96);
13939#line 627
13940    (*__cil_tmp97)(rdata);
13941    }
13942  } else {
13943    {
13944#line 628
13945    __cil_tmp98 = (unsigned long )cp;
13946#line 628
13947    __cil_tmp99 = __cil_tmp98 + 8;
13948#line 628
13949    __cil_tmp100 = *((__be16 *)__cil_tmp99);
13950#line 628
13951    tmp___17 = __fswab16(__cil_tmp100);
13952    }
13953    {
13954#line 628
13955    __cil_tmp101 = (int )tmp___17;
13956#line 628
13957    if (__cil_tmp101 == 32769) {
13958      {
13959#line 629
13960      while (1) {
13961        while_continue___1: /* CIL Label */ ;
13962        {
13963#line 629
13964        __cil_tmp102 = & fc_debug_logging;
13965#line 629
13966        __cil_tmp103 = *__cil_tmp102;
13967#line 629
13968        __cil_tmp104 = __cil_tmp103 & 4U;
13969#line 629
13970        __cil_tmp105 = ! __cil_tmp104;
13971#line 629
13972        __cil_tmp106 = ! __cil_tmp105;
13973#line 629
13974        __cil_tmp107 = (long )__cil_tmp106;
13975#line 629
13976        tmp___13 = __builtin_expect(__cil_tmp107, 0L);
13977        }
13978#line 629
13979        if (tmp___13) {
13980          {
13981#line 629
13982          while (1) {
13983            while_continue___2: /* CIL Label */ ;
13984            {
13985#line 629
13986            tmp___12 = fc_disc_lport(disc);
13987#line 629
13988            __cil_tmp108 = *((struct Scsi_Host **)tmp___12);
13989#line 629
13990            __cil_tmp109 = (unsigned long )__cil_tmp108;
13991#line 629
13992            __cil_tmp110 = __cil_tmp109 + 308;
13993#line 629
13994            __cil_tmp111 = *((unsigned int *)__cil_tmp110);
13995#line 629
13996            __cil_tmp112 = (unsigned long )cp;
13997#line 629
13998            __cil_tmp113 = __cil_tmp112 + 13;
13999#line 629
14000            __cil_tmp114 = *((__u8 *)__cil_tmp113);
14001#line 629
14002            __cil_tmp115 = (int )__cil_tmp114;
14003#line 629
14004            __cil_tmp116 = (unsigned long )cp;
14005#line 629
14006            __cil_tmp117 = __cil_tmp116 + 14;
14007#line 629
14008            __cil_tmp118 = *((__u8 *)__cil_tmp117);
14009#line 629
14010            __cil_tmp119 = (int )__cil_tmp118;
14011#line 629
14012            printk("<6>host%u: disc: GPN_ID rejected reason %x exp %x\n", __cil_tmp111,
14013                   __cil_tmp115, __cil_tmp119);
14014            }
14015#line 629
14016            goto while_break___2;
14017          }
14018          while_break___2: /* CIL Label */ ;
14019          }
14020        } else {
14021
14022        }
14023#line 629
14024        goto while_break___1;
14025      }
14026      while_break___1: /* CIL Label */ ;
14027      }
14028      {
14029#line 631
14030      __cil_tmp120 = 328 + 176;
14031#line 631
14032      __cil_tmp121 = (unsigned long )lport;
14033#line 631
14034      __cil_tmp122 = __cil_tmp121 + __cil_tmp120;
14035#line 631
14036      __cil_tmp123 = *((int (**)(struct fc_rport_priv * ))__cil_tmp122);
14037#line 631
14038      (*__cil_tmp123)(rdata);
14039      }
14040    } else {
14041      {
14042#line 633
14043      while (1) {
14044        while_continue___3: /* CIL Label */ ;
14045        {
14046#line 633
14047        __cil_tmp124 = & fc_debug_logging;
14048#line 633
14049        __cil_tmp125 = *__cil_tmp124;
14050#line 633
14051        __cil_tmp126 = __cil_tmp125 & 4U;
14052#line 633
14053        __cil_tmp127 = ! __cil_tmp126;
14054#line 633
14055        __cil_tmp128 = ! __cil_tmp127;
14056#line 633
14057        __cil_tmp129 = (long )__cil_tmp128;
14058#line 633
14059        tmp___16 = __builtin_expect(__cil_tmp129, 0L);
14060        }
14061#line 633
14062        if (tmp___16) {
14063          {
14064#line 633
14065          while (1) {
14066            while_continue___4: /* CIL Label */ ;
14067            {
14068#line 633
14069            __cil_tmp130 = (unsigned long )cp;
14070#line 633
14071            __cil_tmp131 = __cil_tmp130 + 8;
14072#line 633
14073            __cil_tmp132 = *((__be16 *)__cil_tmp131);
14074#line 633
14075            tmp___14 = __fswab16(__cil_tmp132);
14076#line 633
14077            tmp___15 = fc_disc_lport(disc);
14078#line 633
14079            __cil_tmp133 = *((struct Scsi_Host **)tmp___15);
14080#line 633
14081            __cil_tmp134 = (unsigned long )__cil_tmp133;
14082#line 633
14083            __cil_tmp135 = __cil_tmp134 + 308;
14084#line 633
14085            __cil_tmp136 = *((unsigned int *)__cil_tmp135);
14086#line 633
14087            __cil_tmp137 = (int )tmp___14;
14088#line 633
14089            printk("<6>host%u: disc: GPN_ID unexpected response code %x\n", __cil_tmp136,
14090                   __cil_tmp137);
14091            }
14092#line 633
14093            goto while_break___4;
14094          }
14095          while_break___4: /* CIL Label */ ;
14096          }
14097        } else {
14098
14099        }
14100#line 633
14101        goto while_break___3;
14102      }
14103      while_break___3: /* CIL Label */ ;
14104      }
14105      redisc: 
14106      {
14107#line 636
14108      fc_disc_restart(disc);
14109      }
14110    }
14111    }
14112  }
14113  }
14114  out: 
14115  {
14116#line 639
14117  __cil_tmp138 = (unsigned long )disc;
14118#line 639
14119  __cil_tmp139 = __cil_tmp138 + 40;
14120#line 639
14121  __cil_tmp140 = (struct mutex *)__cil_tmp139;
14122#line 639
14123  mutex_unlock(__cil_tmp140);
14124#line 640
14125  __cil_tmp141 = (unsigned long )rdata;
14126#line 640
14127  __cil_tmp142 = __cil_tmp141 + 16;
14128#line 640
14129  __cil_tmp143 = (struct kref *)__cil_tmp142;
14130#line 640
14131  __cil_tmp144 = 328 + 200;
14132#line 640
14133  __cil_tmp145 = (unsigned long )lport;
14134#line 640
14135  __cil_tmp146 = __cil_tmp145 + __cil_tmp144;
14136#line 640
14137  __cil_tmp147 = *((void (**)(struct kref * ))__cil_tmp146);
14138#line 640
14139  kref_put(__cil_tmp143, __cil_tmp147);
14140  }
14141#line 641
14142  return;
14143}
14144}
14145#line 652 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
14146static int fc_disc_gpn_id_req(struct fc_lport *lport , struct fc_rport_priv *rdata ) 
14147{ struct fc_frame *fp ;
14148  struct fc_seq *tmp___7 ;
14149  unsigned long __cil_tmp5 ;
14150  unsigned long __cil_tmp6 ;
14151  unsigned long __cil_tmp7 ;
14152  unsigned long __cil_tmp8 ;
14153  struct fc_seq *(*__cil_tmp9)(struct fc_lport * , u32 did , struct fc_frame * , unsigned int op ,
14154                               void (*resp)(struct fc_seq * , struct fc_frame * ,
14155                                            void *arg ) , void *arg , u32 timer_msec ) ;
14156  unsigned long __cil_tmp10 ;
14157  unsigned long __cil_tmp11 ;
14158  unsigned long __cil_tmp12 ;
14159  u32 __cil_tmp13 ;
14160  void *__cil_tmp14 ;
14161  unsigned long __cil_tmp15 ;
14162  unsigned long __cil_tmp16 ;
14163  unsigned int __cil_tmp17 ;
14164  unsigned int __cil_tmp18 ;
14165  unsigned long __cil_tmp19 ;
14166  unsigned long __cil_tmp20 ;
14167  struct kref *__cil_tmp21 ;
14168
14169  {
14170  {
14171#line 657
14172  __cil_tmp5 = 16UL + 4UL;
14173#line 657
14174  fp = fc_frame_alloc(lport, __cil_tmp5);
14175  }
14176#line 659
14177  if (! fp) {
14178#line 660
14179    return (-12);
14180  } else {
14181
14182  }
14183  {
14184#line 661
14185  __cil_tmp6 = 328 + 8;
14186#line 661
14187  __cil_tmp7 = (unsigned long )lport;
14188#line 661
14189  __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
14190#line 661
14191  __cil_tmp9 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
14192                                      unsigned int op , void (*resp)(struct fc_seq * ,
14193                                                                     struct fc_frame * ,
14194                                                                     void *arg ) ,
14195                                      void *arg , u32 timer_msec ))__cil_tmp8);
14196#line 661
14197  __cil_tmp10 = 24 + 16;
14198#line 661
14199  __cil_tmp11 = (unsigned long )rdata;
14200#line 661
14201  __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
14202#line 661
14203  __cil_tmp13 = *((u32 *)__cil_tmp12);
14204#line 661
14205  __cil_tmp14 = (void *)rdata;
14206#line 661
14207  __cil_tmp15 = (unsigned long )lport;
14208#line 661
14209  __cil_tmp16 = __cil_tmp15 + 816;
14210#line 661
14211  __cil_tmp17 = *((unsigned int *)__cil_tmp16);
14212#line 661
14213  __cil_tmp18 = 3U * __cil_tmp17;
14214#line 661
14215  tmp___7 = (*__cil_tmp9)(lport, __cil_tmp13, fp, 274U, & fc_disc_gpn_id_resp, __cil_tmp14,
14216                          __cil_tmp18);
14217  }
14218#line 661
14219  if (tmp___7) {
14220
14221  } else {
14222#line 664
14223    return (-12);
14224  }
14225  {
14226#line 665
14227  __cil_tmp19 = (unsigned long )rdata;
14228#line 665
14229  __cil_tmp20 = __cil_tmp19 + 16;
14230#line 665
14231  __cil_tmp21 = (struct kref *)__cil_tmp20;
14232#line 665
14233  kref_get(__cil_tmp21);
14234  }
14235#line 666
14236  return (0);
14237}
14238}
14239#line 677 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
14240static int fc_disc_single(struct fc_lport *lport , struct fc_disc_port *dp ) 
14241{ struct fc_rport_priv *rdata ;
14242  int tmp___7 ;
14243  unsigned long __cil_tmp5 ;
14244  unsigned long __cil_tmp6 ;
14245  unsigned long __cil_tmp7 ;
14246  struct fc_rport_priv *(*__cil_tmp8)(struct fc_lport * , u32  ) ;
14247  unsigned long __cil_tmp9 ;
14248  unsigned long __cil_tmp10 ;
14249  u32 __cil_tmp11 ;
14250  unsigned long __cil_tmp12 ;
14251  unsigned long __cil_tmp13 ;
14252
14253  {
14254  {
14255#line 681
14256  __cil_tmp5 = 328 + 160;
14257#line 681
14258  __cil_tmp6 = (unsigned long )lport;
14259#line 681
14260  __cil_tmp7 = __cil_tmp6 + __cil_tmp5;
14261#line 681
14262  __cil_tmp8 = *((struct fc_rport_priv *(**)(struct fc_lport * , u32  ))__cil_tmp7);
14263#line 681
14264  __cil_tmp9 = (unsigned long )dp;
14265#line 681
14266  __cil_tmp10 = __cil_tmp9 + 56;
14267#line 681
14268  __cil_tmp11 = *((u32 *)__cil_tmp10);
14269#line 681
14270  rdata = (*__cil_tmp8)(lport, __cil_tmp11);
14271  }
14272#line 682
14273  if (! rdata) {
14274#line 683
14275    return (-12);
14276  } else {
14277
14278  }
14279  {
14280#line 684
14281  __cil_tmp12 = (unsigned long )rdata;
14282#line 684
14283  __cil_tmp13 = __cil_tmp12 + 52;
14284#line 684
14285  *((u16 *)__cil_tmp13) = (u16 )0;
14286#line 685
14287  tmp___7 = fc_disc_gpn_id_req(lport, rdata);
14288  }
14289#line 685
14290  return (tmp___7);
14291}
14292}
14293#line 692 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
14294static void fc_disc_stop(struct fc_lport *lport ) 
14295{ struct fc_disc *disc ;
14296  unsigned long __cil_tmp3 ;
14297  unsigned long __cil_tmp4 ;
14298  unsigned long __cil_tmp5 ;
14299  unsigned long __cil_tmp6 ;
14300  unsigned long __cil_tmp7 ;
14301  unsigned long __cil_tmp8 ;
14302  struct delayed_work *__cil_tmp9 ;
14303
14304  {
14305#line 694
14306  __cil_tmp3 = (unsigned long )lport;
14307#line 694
14308  __cil_tmp4 = __cil_tmp3 + 56;
14309#line 694
14310  disc = (struct fc_disc *)__cil_tmp4;
14311  {
14312#line 696
14313  __cil_tmp5 = (unsigned long )disc;
14314#line 696
14315  __cil_tmp6 = __cil_tmp5 + 1;
14316#line 696
14317  if (*((unsigned char *)__cil_tmp6)) {
14318    {
14319#line 697
14320    __cil_tmp7 = (unsigned long )disc;
14321#line 697
14322    __cil_tmp8 = __cil_tmp7 + 128;
14323#line 697
14324    __cil_tmp9 = (struct delayed_work *)__cil_tmp8;
14325#line 697
14326    cancel_delayed_work_sync(__cil_tmp9);
14327    }
14328  } else {
14329
14330  }
14331  }
14332  {
14333#line 698
14334  fc_disc_stop_rports(disc);
14335  }
14336#line 699
14337  return;
14338}
14339}
14340#line 708 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
14341static void fc_disc_stop_final(struct fc_lport *lport ) 
14342{ unsigned long __cil_tmp2 ;
14343  unsigned long __cil_tmp3 ;
14344  unsigned long __cil_tmp4 ;
14345  void (*__cil_tmp5)(void) ;
14346
14347  {
14348  {
14349#line 710
14350  fc_disc_stop(lport);
14351#line 711
14352  __cil_tmp2 = 328 + 128;
14353#line 711
14354  __cil_tmp3 = (unsigned long )lport;
14355#line 711
14356  __cil_tmp4 = __cil_tmp3 + __cil_tmp2;
14357#line 711
14358  __cil_tmp5 = *((void (**)(void))__cil_tmp4);
14359#line 711
14360  (*__cil_tmp5)();
14361  }
14362#line 712
14363  return;
14364}
14365}
14366#line 736 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
14367static struct lock_class_key __key___5  ;
14368#line 718 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
14369int fc_disc_init(struct fc_lport *lport ) 
14370{ struct fc_disc *disc ;
14371  atomic_long_t __r_expr_0 ;
14372  unsigned long __cil_tmp4 ;
14373  unsigned long __cil_tmp5 ;
14374  unsigned long __cil_tmp6 ;
14375  void (*__cil_tmp7)(void (*disc_callback)(struct fc_lport * , enum fc_disc_event  ) ,
14376                     struct fc_lport * ) ;
14377  unsigned long __cil_tmp8 ;
14378  unsigned long __cil_tmp9 ;
14379  unsigned long __cil_tmp10 ;
14380  unsigned long __cil_tmp11 ;
14381  unsigned long __cil_tmp12 ;
14382  unsigned long __cil_tmp13 ;
14383  void (*__cil_tmp14)(struct fc_lport * ) ;
14384  unsigned long __cil_tmp15 ;
14385  unsigned long __cil_tmp16 ;
14386  unsigned long __cil_tmp17 ;
14387  unsigned long __cil_tmp18 ;
14388  unsigned long __cil_tmp19 ;
14389  unsigned long __cil_tmp20 ;
14390  void (*__cil_tmp21)(struct fc_lport * ) ;
14391  unsigned long __cil_tmp22 ;
14392  unsigned long __cil_tmp23 ;
14393  unsigned long __cil_tmp24 ;
14394  unsigned long __cil_tmp25 ;
14395  unsigned long __cil_tmp26 ;
14396  unsigned long __cil_tmp27 ;
14397  void (*__cil_tmp28)(struct fc_lport * , struct fc_frame * ) ;
14398  unsigned long __cil_tmp29 ;
14399  unsigned long __cil_tmp30 ;
14400  unsigned long __cil_tmp31 ;
14401  unsigned long __cil_tmp32 ;
14402  unsigned long __cil_tmp33 ;
14403  unsigned long __cil_tmp34 ;
14404  unsigned long __cil_tmp35 ;
14405  struct work_struct *__cil_tmp36 ;
14406  unsigned long __cil_tmp37 ;
14407  unsigned long __cil_tmp38 ;
14408  unsigned long __cil_tmp39 ;
14409  unsigned long __cil_tmp40 ;
14410  unsigned long __cil_tmp41 ;
14411  unsigned long __cil_tmp42 ;
14412  struct list_head *__cil_tmp43 ;
14413  unsigned long __cil_tmp44 ;
14414  unsigned long __cil_tmp45 ;
14415  unsigned long __cil_tmp46 ;
14416  unsigned long __cil_tmp47 ;
14417  unsigned long __cil_tmp48 ;
14418  unsigned long __cil_tmp49 ;
14419  unsigned long __cil_tmp50 ;
14420  struct timer_list *__cil_tmp51 ;
14421  void *__cil_tmp52 ;
14422  char    *__cil_tmp53 ;
14423  void *__cil_tmp54 ;
14424  struct lock_class_key *__cil_tmp55 ;
14425  unsigned long __cil_tmp56 ;
14426  unsigned long __cil_tmp57 ;
14427  struct mutex *__cil_tmp58 ;
14428  unsigned long __cil_tmp59 ;
14429  unsigned long __cil_tmp60 ;
14430  struct list_head *__cil_tmp61 ;
14431  unsigned long __cil_tmp62 ;
14432  unsigned long __cil_tmp63 ;
14433  long __r_expr_0_counter64 ;
14434
14435  {
14436  {
14437#line 722
14438  __cil_tmp4 = 328 + 248;
14439#line 722
14440  __cil_tmp5 = (unsigned long )lport;
14441#line 722
14442  __cil_tmp6 = __cil_tmp5 + __cil_tmp4;
14443#line 722
14444  __cil_tmp7 = *((void (**)(void (*disc_callback)(struct fc_lport * , enum fc_disc_event  ) ,
14445                            struct fc_lport * ))__cil_tmp6);
14446#line 722
14447  if (! __cil_tmp7) {
14448#line 723
14449    __cil_tmp8 = 328 + 248;
14450#line 723
14451    __cil_tmp9 = (unsigned long )lport;
14452#line 723
14453    __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
14454#line 723
14455    *((void (**)(void (*disc_callback)(struct fc_lport * , enum fc_disc_event  ) ,
14456                 struct fc_lport * ))__cil_tmp10) = & fc_disc_start;
14457  } else {
14458
14459  }
14460  }
14461  {
14462#line 725
14463  __cil_tmp11 = 328 + 256;
14464#line 725
14465  __cil_tmp12 = (unsigned long )lport;
14466#line 725
14467  __cil_tmp13 = __cil_tmp12 + __cil_tmp11;
14468#line 725
14469  __cil_tmp14 = *((void (**)(struct fc_lport * ))__cil_tmp13);
14470#line 725
14471  if (! __cil_tmp14) {
14472#line 726
14473    __cil_tmp15 = 328 + 256;
14474#line 726
14475    __cil_tmp16 = (unsigned long )lport;
14476#line 726
14477    __cil_tmp17 = __cil_tmp16 + __cil_tmp15;
14478#line 726
14479    *((void (**)(struct fc_lport * ))__cil_tmp17) = & fc_disc_stop;
14480  } else {
14481
14482  }
14483  }
14484  {
14485#line 728
14486  __cil_tmp18 = 328 + 264;
14487#line 728
14488  __cil_tmp19 = (unsigned long )lport;
14489#line 728
14490  __cil_tmp20 = __cil_tmp19 + __cil_tmp18;
14491#line 728
14492  __cil_tmp21 = *((void (**)(struct fc_lport * ))__cil_tmp20);
14493#line 728
14494  if (! __cil_tmp21) {
14495#line 729
14496    __cil_tmp22 = 328 + 264;
14497#line 729
14498    __cil_tmp23 = (unsigned long )lport;
14499#line 729
14500    __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
14501#line 729
14502    *((void (**)(struct fc_lport * ))__cil_tmp24) = & fc_disc_stop_final;
14503  } else {
14504
14505  }
14506  }
14507  {
14508#line 731
14509  __cil_tmp25 = 328 + 240;
14510#line 731
14511  __cil_tmp26 = (unsigned long )lport;
14512#line 731
14513  __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
14514#line 731
14515  __cil_tmp28 = *((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp27);
14516#line 731
14517  if (! __cil_tmp28) {
14518#line 732
14519    __cil_tmp29 = 328 + 240;
14520#line 732
14521    __cil_tmp30 = (unsigned long )lport;
14522#line 732
14523    __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
14524#line 732
14525    *((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp31) = & fc_disc_recv_req;
14526  } else {
14527
14528  }
14529  }
14530#line 734
14531  __cil_tmp32 = (unsigned long )lport;
14532#line 734
14533  __cil_tmp33 = __cil_tmp32 + 56;
14534#line 734
14535  disc = (struct fc_disc *)__cil_tmp33;
14536  {
14537#line 735
14538  while (1) {
14539    while_continue: /* CIL Label */ ;
14540    {
14541#line 735
14542    while (1) {
14543      while_continue___0: /* CIL Label */ ;
14544      {
14545#line 735
14546      while (1) {
14547        while_continue___1: /* CIL Label */ ;
14548        {
14549#line 735
14550        __cil_tmp34 = (unsigned long )disc;
14551#line 735
14552        __cil_tmp35 = __cil_tmp34 + 128;
14553#line 735
14554        __cil_tmp36 = (struct work_struct *)__cil_tmp35;
14555#line 735
14556        __init_work(__cil_tmp36, 0);
14557#line 735
14558        __r_expr_0_counter64 = 2097664L;
14559#line 735
14560        __cil_tmp37 = (unsigned long )disc;
14561#line 735
14562        __cil_tmp38 = __cil_tmp37 + 128;
14563#line 735
14564        ((atomic_long_t *)__cil_tmp38)->counter = __r_expr_0_counter64;
14565#line 735
14566        __cil_tmp39 = 0 + 8;
14567#line 735
14568        __cil_tmp40 = 128 + __cil_tmp39;
14569#line 735
14570        __cil_tmp41 = (unsigned long )disc;
14571#line 735
14572        __cil_tmp42 = __cil_tmp41 + __cil_tmp40;
14573#line 735
14574        __cil_tmp43 = (struct list_head *)__cil_tmp42;
14575#line 735
14576        INIT_LIST_HEAD(__cil_tmp43);
14577        }
14578        {
14579#line 735
14580        while (1) {
14581          while_continue___2: /* CIL Label */ ;
14582#line 735
14583          __cil_tmp44 = 0 + 24;
14584#line 735
14585          __cil_tmp45 = 128 + __cil_tmp44;
14586#line 735
14587          __cil_tmp46 = (unsigned long )disc;
14588#line 735
14589          __cil_tmp47 = __cil_tmp46 + __cil_tmp45;
14590#line 735
14591          *((void (**)(struct work_struct *work ))__cil_tmp47) = & fc_disc_timeout;
14592#line 735
14593          goto while_break___2;
14594        }
14595        while_break___2: /* CIL Label */ ;
14596        }
14597#line 735
14598        goto while_break___1;
14599      }
14600      while_break___1: /* CIL Label */ ;
14601      }
14602#line 735
14603      goto while_break___0;
14604    }
14605    while_break___0: /* CIL Label */ ;
14606    }
14607    {
14608#line 735
14609    __cil_tmp48 = 128 + 32;
14610#line 735
14611    __cil_tmp49 = (unsigned long )disc;
14612#line 735
14613    __cil_tmp50 = __cil_tmp49 + __cil_tmp48;
14614#line 735
14615    __cil_tmp51 = (struct timer_list *)__cil_tmp50;
14616#line 735
14617    __cil_tmp52 = (void *)0;
14618#line 735
14619    __cil_tmp53 = (char    *)__cil_tmp52;
14620#line 735
14621    __cil_tmp54 = (void *)0;
14622#line 735
14623    __cil_tmp55 = (struct lock_class_key *)__cil_tmp54;
14624#line 735
14625    init_timer_key(__cil_tmp51, __cil_tmp53, __cil_tmp55);
14626    }
14627#line 735
14628    goto while_break;
14629  }
14630  while_break: /* CIL Label */ ;
14631  }
14632  {
14633#line 736
14634  while (1) {
14635    while_continue___3: /* CIL Label */ ;
14636    {
14637#line 736
14638    __cil_tmp56 = (unsigned long )disc;
14639#line 736
14640    __cil_tmp57 = __cil_tmp56 + 40;
14641#line 736
14642    __cil_tmp58 = (struct mutex *)__cil_tmp57;
14643#line 736
14644    __mutex_init(__cil_tmp58, "&disc->disc_mutex", & __key___5);
14645    }
14646#line 736
14647    goto while_break___3;
14648  }
14649  while_break___3: /* CIL Label */ ;
14650  }
14651  {
14652#line 737
14653  __cil_tmp59 = (unsigned long )disc;
14654#line 737
14655  __cil_tmp60 = __cil_tmp59 + 16;
14656#line 737
14657  __cil_tmp61 = (struct list_head *)__cil_tmp60;
14658#line 737
14659  INIT_LIST_HEAD(__cil_tmp61);
14660#line 739
14661  __cil_tmp62 = (unsigned long )disc;
14662#line 739
14663  __cil_tmp63 = __cil_tmp62 + 32;
14664#line 739
14665  *((void **)__cil_tmp63) = (void *)lport;
14666  }
14667#line 741
14668  return (0);
14669}
14670}
14671#line 743
14672extern void *__crc_fc_disc_init  __attribute__((__weak__)) ;
14673#line 743 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
14674static unsigned long    __kcrctab_fc_disc_init  __attribute__((__used__, __unused__,
14675__section__("___kcrctab+fc_disc_init")))  =    (unsigned long    )((unsigned long )(& __crc_fc_disc_init));
14676#line 743 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
14677static char    __kstrtab_fc_disc_init[13]  __attribute__((__section__("__ksymtab_strings"),
14678__aligned__(1)))  = 
14679#line 743
14680  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'d', 
14681        (char    )'i',      (char    )'s',      (char const   )'c',      (char const   )'_', 
14682        (char    )'i',      (char    )'n',      (char const   )'i',      (char const   )'t', 
14683        (char    )'\000'};
14684#line 743 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_disc.c"
14685static struct kernel_symbol    __ksymtab_fc_disc_init  __attribute__((__used__,
14686__unused__, __section__("___ksymtab+fc_disc_init")))  =    {(unsigned long )(& fc_disc_init), __kstrtab_fc_disc_init};
14687#line 97 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/bitops.h"
14688__inline static void ( __attribute__((__always_inline__)) clear_bit)(int nr , unsigned long volatile   *addr )  __attribute__((__no_instrument_function__)) ;
14689#line 97 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/bitops.h"
14690__inline static void ( __attribute__((__always_inline__)) clear_bit)(int nr , unsigned long volatile   *addr ) 
14691{ long volatile   *__cil_tmp3 ;
14692
14693  {
14694#line 105
14695  __cil_tmp3 = (long volatile   *)addr;
14696#line 105
14697  __asm__  volatile   (".section .smp_locks,\"a\"\n"
14698                       ".balign 4\n"
14699                       ".long 671f - .\n"
14700                       ".previous\n"
14701                       "671:"
14702                       "\n\tlock; "
14703                       "btr %1,%0": "+m" (*__cil_tmp3): "Ir" (nr));
14704#line 109
14705  return;
14706}
14707}
14708#line 11 "include/asm-generic/bitops/find.h"
14709extern unsigned long find_next_bit(unsigned long    *addr , unsigned long size ,
14710                                   unsigned long offset ) ;
14711#line 18 "include/asm-generic/percpu.h"
14712extern unsigned long __per_cpu_offset[4096] ;
14713#line 28 "include/linux/cpumask.h"
14714extern int nr_cpu_ids ;
14715#line 79
14716extern struct cpumask    *   cpu_possible_mask ;
14717#line 108 "include/linux/cpumask.h"
14718static bool __warned  __attribute__((__section__(".data.unlikely")))  ;
14719#line 105
14720__inline static unsigned int cpumask_check(unsigned int cpu )  __attribute__((__no_instrument_function__)) ;
14721#line 105 "include/linux/cpumask.h"
14722__inline static unsigned int cpumask_check(unsigned int cpu ) 
14723{ int __ret_warn_once ;
14724  int __ret_warn_on ;
14725  long tmp ;
14726  long tmp___0 ;
14727  long tmp___1 ;
14728  unsigned int __cil_tmp7 ;
14729  int __cil_tmp8 ;
14730  int __cil_tmp9 ;
14731  int __cil_tmp10 ;
14732  int __cil_tmp11 ;
14733  long __cil_tmp12 ;
14734  int __cil_tmp13 ;
14735  int __cil_tmp14 ;
14736  int __cil_tmp15 ;
14737  int __cil_tmp16 ;
14738  long __cil_tmp17 ;
14739  int    __cil_tmp18 ;
14740  int __cil_tmp19 ;
14741  int __cil_tmp20 ;
14742  long __cil_tmp21 ;
14743  int __cil_tmp22 ;
14744  int __cil_tmp23 ;
14745  long __cil_tmp24 ;
14746
14747  {
14748  {
14749#line 108
14750  __cil_tmp7 = (unsigned int )nr_cpu_ids;
14751#line 108
14752  __cil_tmp8 = cpu >= __cil_tmp7;
14753#line 108
14754  __cil_tmp9 = ! __cil_tmp8;
14755#line 108
14756  __ret_warn_once = ! __cil_tmp9;
14757#line 108
14758  __cil_tmp10 = ! __ret_warn_once;
14759#line 108
14760  __cil_tmp11 = ! __cil_tmp10;
14761#line 108
14762  __cil_tmp12 = (long )__cil_tmp11;
14763#line 108
14764  tmp___1 = __builtin_expect(__cil_tmp12, 0L);
14765  }
14766#line 108
14767  if (tmp___1) {
14768    {
14769#line 108
14770    __cil_tmp13 = ! __warned;
14771#line 108
14772    __cil_tmp14 = ! __cil_tmp13;
14773#line 108
14774    __ret_warn_on = ! __cil_tmp14;
14775#line 108
14776    __cil_tmp15 = ! __ret_warn_on;
14777#line 108
14778    __cil_tmp16 = ! __cil_tmp15;
14779#line 108
14780    __cil_tmp17 = (long )__cil_tmp16;
14781#line 108
14782    tmp = __builtin_expect(__cil_tmp17, 0L);
14783    }
14784#line 108
14785    if (tmp) {
14786      {
14787#line 108
14788      __cil_tmp18 = (int    )108;
14789#line 108
14790      warn_slowpath_null("include/linux/cpumask.h", __cil_tmp18);
14791      }
14792    } else {
14793
14794    }
14795    {
14796#line 108
14797    __cil_tmp19 = ! __ret_warn_on;
14798#line 108
14799    __cil_tmp20 = ! __cil_tmp19;
14800#line 108
14801    __cil_tmp21 = (long )__cil_tmp20;
14802#line 108
14803    tmp___0 = __builtin_expect(__cil_tmp21, 0L);
14804    }
14805#line 108
14806    if (tmp___0) {
14807#line 108
14808      __warned = (bool )1;
14809    } else {
14810
14811    }
14812  } else {
14813
14814  }
14815  {
14816#line 108
14817  __cil_tmp22 = ! __ret_warn_once;
14818#line 108
14819  __cil_tmp23 = ! __cil_tmp22;
14820#line 108
14821  __cil_tmp24 = (long )__cil_tmp23;
14822#line 108
14823  __builtin_expect(__cil_tmp24, 0L);
14824  }
14825#line 110
14826  return (cpu);
14827}
14828}
14829#line 170
14830__inline static unsigned int cpumask_next(int n , struct cpumask    *srcp )  __attribute__((__no_instrument_function__)) ;
14831#line 170 "include/linux/cpumask.h"
14832__inline static unsigned int cpumask_next(int n , struct cpumask    *srcp ) 
14833{ unsigned long tmp ;
14834  unsigned int __cil_tmp4 ;
14835  unsigned long __cil_tmp5 ;
14836  unsigned long __cil_tmp6 ;
14837  unsigned long __cil_tmp7 ;
14838  unsigned long __cil_tmp8 ;
14839  unsigned long    *__cil_tmp9 ;
14840  unsigned long    *__cil_tmp10 ;
14841  unsigned long __cil_tmp11 ;
14842  int __cil_tmp12 ;
14843  unsigned long __cil_tmp13 ;
14844
14845  {
14846#line 173
14847  if (n != -1) {
14848    {
14849#line 174
14850    __cil_tmp4 = (unsigned int )n;
14851#line 174
14852    cpumask_check(__cil_tmp4);
14853    }
14854  } else {
14855
14856  }
14857  {
14858#line 175
14859  __cil_tmp5 = 0 * 8UL;
14860#line 175
14861  __cil_tmp6 = 0 + __cil_tmp5;
14862#line 175
14863  __cil_tmp7 = (unsigned long )srcp;
14864#line 175
14865  __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
14866#line 175
14867  __cil_tmp9 = (unsigned long    *)__cil_tmp8;
14868#line 175
14869  __cil_tmp10 = (unsigned long    *)__cil_tmp9;
14870#line 175
14871  __cil_tmp11 = (unsigned long )nr_cpu_ids;
14872#line 175
14873  __cil_tmp12 = n + 1;
14874#line 175
14875  __cil_tmp13 = (unsigned long )__cil_tmp12;
14876#line 175
14877  tmp = find_next_bit(__cil_tmp10, __cil_tmp11, __cil_tmp13);
14878  }
14879#line 175
14880  return ((unsigned int )tmp);
14881}
14882}
14883#line 22 "include/linux/err.h"
14884__inline static void * __attribute__((__warn_unused_result__)) ERR_PTR(long error )  __attribute__((__no_instrument_function__)) ;
14885#line 22 "include/linux/err.h"
14886__inline static void * __attribute__((__warn_unused_result__)) ERR_PTR(long error ) 
14887{ 
14888
14889  {
14890#line 24
14891  return ((void *)error);
14892}
14893}
14894#line 35 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/atomic.h"
14895__inline static void atomic_set(atomic_t *v , int i )  __attribute__((__no_instrument_function__)) ;
14896#line 35 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/atomic.h"
14897__inline static void atomic_set(atomic_t *v , int i ) 
14898{ 
14899
14900  {
14901#line 37
14902  *((int *)v) = i;
14903#line 38
14904  return;
14905}
14906}
14907#line 105
14908__inline static void atomic_dec(atomic_t *v )  __attribute__((__no_instrument_function__)) ;
14909#line 105 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/atomic.h"
14910__inline static void atomic_dec(atomic_t *v ) 
14911{ 
14912
14913  {
14914#line 107
14915  __asm__  volatile   (".section .smp_locks,\"a\"\n"
14916                       ".balign 4\n"
14917                       ".long 671f - .\n"
14918                       ".previous\n"
14919                       "671:"
14920                       "\n\tlock; "
14921                       "decl %0": "+m" (*((int *)v)));
14922#line 109
14923  return;
14924}
14925}
14926#line 119
14927__inline static int atomic_dec_and_test(atomic_t *v )  __attribute__((__no_instrument_function__)) ;
14928#line 119 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/atomic.h"
14929__inline static int atomic_dec_and_test(atomic_t *v ) 
14930{ unsigned char c ;
14931  int __cil_tmp3 ;
14932
14933  {
14934#line 123
14935  __asm__  volatile   (".section .smp_locks,\"a\"\n"
14936                       ".balign 4\n"
14937                       ".long 671f - .\n"
14938                       ".previous\n"
14939                       "671:"
14940                       "\n\tlock; "
14941                       "decl %0; sete %1": "+m" (*((int *)v)), "=qm" (c): : "memory");
14942  {
14943#line 126
14944  __cil_tmp3 = (int )c;
14945#line 126
14946  return (__cil_tmp3 != 0);
14947  }
14948}
14949}
14950#line 93 "include/linux/spinlock.h"
14951extern void __raw_spin_lock_init(raw_spinlock_t *lock , char    *name , struct lock_class_key *key ) ;
14952#line 28 "include/linux/spinlock_api_smp.h"
14953extern void _raw_spin_lock_bh(raw_spinlock_t *lock )  __attribute__((__section__(".spinlock.text"))) ;
14954#line 40
14955extern void _raw_spin_unlock_bh(raw_spinlock_t *lock )  __attribute__((__section__(".spinlock.text"))) ;
14956#line 272 "include/linux/spinlock.h"
14957__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock )  __attribute__((__no_instrument_function__)) ;
14958#line 272 "include/linux/spinlock.h"
14959__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock ) 
14960{ 
14961
14962  {
14963#line 274
14964  return ((struct raw_spinlock *)lock);
14965}
14966}
14967#line 288
14968__inline static void spin_lock_bh(spinlock_t *lock )  __attribute__((__no_instrument_function__)) ;
14969#line 288 "include/linux/spinlock.h"
14970__inline static void spin_lock_bh(spinlock_t *lock ) 
14971{ struct raw_spinlock *__cil_tmp2 ;
14972
14973  {
14974  {
14975#line 290
14976  __cil_tmp2 = (struct raw_spinlock *)lock;
14977#line 290
14978  _raw_spin_lock_bh(__cil_tmp2);
14979  }
14980#line 291
14981  return;
14982}
14983}
14984#line 328
14985__inline static void spin_unlock_bh(spinlock_t *lock )  __attribute__((__no_instrument_function__)) ;
14986#line 328 "include/linux/spinlock.h"
14987__inline static void spin_unlock_bh(spinlock_t *lock ) 
14988{ struct raw_spinlock *__cil_tmp2 ;
14989
14990  {
14991  {
14992#line 330
14993  __cil_tmp2 = (struct raw_spinlock *)lock;
14994#line 330
14995  _raw_spin_unlock_bh(__cil_tmp2);
14996  }
14997#line 331
14998  return;
14999}
15000}
15001#line 280 "include/linux/timer.h"
15002extern int del_timer_sync(struct timer_list *timer ) ;
15003#line 303 "include/linux/workqueue.h"
15004extern struct workqueue_struct *( /* format attribute */  __alloc_workqueue_key)(char    *fmt ,
15005                                                                                 unsigned int flags ,
15006                                                                                 int max_active ,
15007                                                                                 struct lock_class_key *key ,
15008                                                                                 char    *lock_name 
15009                                                                                 , ...) ;
15010#line 366
15011extern void destroy_workqueue(struct workqueue_struct *wq ) ;
15012#line 371
15013extern int queue_delayed_work(struct workqueue_struct *wq , struct delayed_work *work ,
15014                              unsigned long delay ) ;
15015#line 376
15016extern void flush_workqueue(struct workqueue_struct *wq ) ;
15017#line 410
15018__inline static bool cancel_delayed_work(struct delayed_work *work )  __attribute__((__no_instrument_function__)) ;
15019#line 410 "include/linux/workqueue.h"
15020__inline static bool cancel_delayed_work(struct delayed_work *work ) 
15021{ bool ret ;
15022  int tmp ;
15023  unsigned long __cil_tmp4 ;
15024  unsigned long __cil_tmp5 ;
15025  struct timer_list *__cil_tmp6 ;
15026  atomic_long_t *__cil_tmp7 ;
15027  unsigned long *__cil_tmp8 ;
15028  unsigned long volatile   *__cil_tmp9 ;
15029
15030  {
15031  {
15032#line 414
15033  __cil_tmp4 = (unsigned long )work;
15034#line 414
15035  __cil_tmp5 = __cil_tmp4 + 32;
15036#line 414
15037  __cil_tmp6 = (struct timer_list *)__cil_tmp5;
15038#line 414
15039  tmp = del_timer_sync(__cil_tmp6);
15040#line 414
15041  ret = (bool )tmp;
15042  }
15043#line 415
15044  if (ret) {
15045    {
15046#line 416
15047    __cil_tmp7 = (atomic_long_t *)work;
15048#line 416
15049    __cil_tmp8 = (unsigned long *)__cil_tmp7;
15050#line 416
15051    __cil_tmp9 = (unsigned long volatile   *)__cil_tmp8;
15052#line 416
15053    clear_bit(0, __cil_tmp9);
15054    }
15055  } else {
15056
15057  }
15058#line 417
15059  return (ret);
15060}
15061}
15062#line 39 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/smp.h"
15063extern int cpu_number  __attribute__((__section__(".data..percpu"))) ;
15064#line 161 "include/linux/percpu.h"
15065extern void *__alloc_percpu(size_t size , size_t align ) ;
15066#line 162
15067extern void free_percpu(void *__pdata ) ;
15068#line 101 "include/linux/slab.h"
15069extern struct kmem_cache *kmem_cache_create(char    * , size_t  , size_t  , unsigned long  ,
15070                                            void (*)(void * ) ) ;
15071#line 104
15072extern void kmem_cache_destroy(struct kmem_cache * ) ;
15073#line 30 "include/linux/kref.h"
15074__inline static void kref_init(struct kref *kref )  __attribute__((__no_instrument_function__)) ;
15075#line 30 "include/linux/kref.h"
15076__inline static void kref_init(struct kref *kref ) 
15077{ atomic_t *__cil_tmp2 ;
15078
15079  {
15080  {
15081#line 32
15082  __cil_tmp2 = (atomic_t *)kref;
15083#line 32
15084  atomic_set(__cil_tmp2, 1);
15085  }
15086#line 33
15087  return;
15088}
15089}
15090#line 26 "include/linux/mempool.h"
15091extern mempool_t *mempool_create(int min_nr , mempool_alloc_t *alloc_fn , mempool_free_t *free_fn ,
15092                                 void *pool_data ) ;
15093#line 32
15094extern void mempool_destroy(mempool_t *pool ) ;
15095#line 33
15096extern void *mempool_alloc(mempool_t *pool , gfp_t gfp_mask ) ;
15097#line 34
15098extern void mempool_free(void *element , mempool_t *pool ) ;
15099#line 40
15100extern void *mempool_alloc_slab(gfp_t gfp_mask , void *pool_data ) ;
15101#line 41
15102extern void mempool_free_slab(void *element , void *pool_data ) ;
15103#line 42
15104__inline static mempool_t *mempool_create_slab_pool(int min_nr , struct kmem_cache *kc )  __attribute__((__no_instrument_function__)) ;
15105#line 42 "include/linux/mempool.h"
15106__inline static mempool_t *mempool_create_slab_pool(int min_nr , struct kmem_cache *kc ) 
15107{ mempool_t *tmp___7 ;
15108  void *__cil_tmp4 ;
15109
15110  {
15111  {
15112#line 45
15113  __cil_tmp4 = (void *)kc;
15114#line 45
15115  tmp___7 = mempool_create(min_nr, & mempool_alloc_slab, & mempool_free_slab, __cil_tmp4);
15116  }
15117#line 45
15118  return (tmp___7);
15119}
15120}
15121#line 1605 "include/linux/skbuff.h"
15122extern void skb_trim(struct sk_buff *skb , unsigned int len ) ;
15123#line 109 "include/scsi/fc/fc_encaps.h"
15124__inline static int fc_sof_needs_ack(enum fc_sof sof )  __attribute__((__no_instrument_function__)) ;
15125#line 109 "include/scsi/fc/fc_encaps.h"
15126__inline static int fc_sof_needs_ack(enum fc_sof sof ) 
15127{ int __cil_tmp2 ;
15128  int __cil_tmp3 ;
15129
15130  {
15131  {
15132#line 111
15133  __cil_tmp2 = (int )sof;
15134#line 111
15135  __cil_tmp3 = ~ __cil_tmp2;
15136#line 111
15137  return (__cil_tmp3 & 2);
15138  }
15139}
15140}
15141#line 117
15142__inline static enum fc_sof fc_sof_normal(enum fc_class class )  __attribute__((__no_instrument_function__)) ;
15143#line 117 "include/scsi/fc/fc_encaps.h"
15144__inline static enum fc_sof fc_sof_normal(enum fc_class class ) 
15145{ unsigned int __cil_tmp2 ;
15146  unsigned int __cil_tmp3 ;
15147  unsigned int __cil_tmp4 ;
15148
15149  {
15150  {
15151#line 119
15152  __cil_tmp2 = (unsigned int )class;
15153#line 119
15154  __cil_tmp3 = __cil_tmp2 + 54U;
15155#line 119
15156  __cil_tmp4 = __cil_tmp3 - 46U;
15157#line 119
15158  return ((enum fc_sof )__cil_tmp4);
15159  }
15160}
15161}
15162#line 125
15163__inline static enum fc_class fc_sof_class(enum fc_sof sof )  __attribute__((__no_instrument_function__)) ;
15164#line 125 "include/scsi/fc/fc_encaps.h"
15165__inline static enum fc_class fc_sof_class(enum fc_sof sof ) 
15166{ int __cil_tmp2 ;
15167  int __cil_tmp3 ;
15168  int __cil_tmp4 ;
15169
15170  {
15171  {
15172#line 127
15173  __cil_tmp2 = (int )sof;
15174#line 127
15175  __cil_tmp3 = __cil_tmp2 & 7;
15176#line 127
15177  __cil_tmp4 = __cil_tmp3 | 40;
15178#line 127
15179  return ((enum fc_class )__cil_tmp4);
15180  }
15181}
15182}
15183#line 133
15184__inline static int fc_sof_is_init(enum fc_sof sof )  __attribute__((__no_instrument_function__)) ;
15185#line 133 "include/scsi/fc/fc_encaps.h"
15186__inline static int fc_sof_is_init(enum fc_sof sof ) 
15187{ int __cil_tmp2 ;
15188
15189  {
15190  {
15191#line 135
15192  __cil_tmp2 = (int )sof;
15193#line 135
15194  return (__cil_tmp2 < 48);
15195  }
15196}
15197}
15198#line 232 "include/scsi/fc_frame.h"
15199__inline static enum fc_class fc_frame_class(struct fc_frame    *fp )  __attribute__((__no_instrument_function__)) ;
15200#line 232 "include/scsi/fc_frame.h"
15201__inline static enum fc_class fc_frame_class(struct fc_frame    *fp ) 
15202{ enum fc_class tmp___7 ;
15203  unsigned long __cil_tmp3 ;
15204  unsigned long __cil_tmp4 ;
15205  unsigned long __cil_tmp5 ;
15206  unsigned long __cil_tmp6 ;
15207  unsigned long __cil_tmp7 ;
15208  char    *__cil_tmp8 ;
15209  struct fcoe_rcv_info *__cil_tmp9 ;
15210  unsigned long __cil_tmp10 ;
15211  unsigned long __cil_tmp11 ;
15212  u8 __cil_tmp12 ;
15213  enum fc_sof __cil_tmp13 ;
15214
15215  {
15216  {
15217#line 234
15218  __cil_tmp3 = 0 * 1UL;
15219#line 234
15220  __cil_tmp4 = 40 + __cil_tmp3;
15221#line 234
15222  __cil_tmp5 = 0 + __cil_tmp4;
15223#line 234
15224  __cil_tmp6 = (unsigned long )fp;
15225#line 234
15226  __cil_tmp7 = __cil_tmp6 + __cil_tmp5;
15227#line 234
15228  __cil_tmp8 = (char    *)__cil_tmp7;
15229#line 234
15230  __cil_tmp9 = (struct fcoe_rcv_info *)__cil_tmp8;
15231#line 234
15232  __cil_tmp10 = (unsigned long )__cil_tmp9;
15233#line 234
15234  __cil_tmp11 = __cil_tmp10 + 30;
15235#line 234
15236  __cil_tmp12 = *((u8 *)__cil_tmp11);
15237#line 234
15238  __cil_tmp13 = (enum fc_sof )__cil_tmp12;
15239#line 234
15240  tmp___7 = fc_sof_class(__cil_tmp13);
15241  }
15242#line 234
15243  return (tmp___7);
15244}
15245}
15246#line 364 "include/scsi/libfc.h"
15247u16 fc_cpu_mask  ;
15248#line 1058
15249struct fc_lport *fc_vport_id_lookup(struct fc_lport *n_port , u32 port_id ) ;
15250#line 1118
15251int fc_exch_init(struct fc_lport *lport ) ;
15252#line 1119
15253struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *lport , struct fc_exch_mgr *mp ,
15254                                           bool (*match)(struct fc_frame * ) ) ;
15255#line 1122
15256void fc_exch_mgr_del(struct fc_exch_mgr_anchor *ema ) ;
15257#line 1123
15258int fc_exch_mgr_list_clone(struct fc_lport *src , struct fc_lport *dst ) ;
15259#line 1124
15260struct fc_exch_mgr *fc_exch_mgr_alloc(struct fc_lport *lport , enum fc_class class ,
15261                                      u16 min_xid , u16 max_xid , bool (*match)(struct fc_frame * ) ) ;
15262#line 1127
15263void fc_exch_mgr_free(struct fc_lport *lport ) ;
15264#line 1128
15265void fc_exch_recv(struct fc_lport *lport , struct fc_frame *fp ) ;
15266#line 1129
15267void fc_exch_mgr_reset(struct fc_lport *lport , u32 sid , u32 did ) ;
15268#line 54 "include/scsi/fc_encode.h"
15269__inline static void __fc_fill_fc_hdr(struct fc_frame_header *fh , enum fc_rctl r_ctl ,
15270                                      u32 did , u32 sid , enum fc_fh_type type , u32 f_ctl ,
15271                                      u32 parm_offset )  __attribute__((__no_instrument_function__)) ;
15272#line 54 "include/scsi/fc_encode.h"
15273__inline static void __fc_fill_fc_hdr(struct fc_frame_header *fh , enum fc_rctl r_ctl ,
15274                                      u32 did , u32 sid , enum fc_fh_type type , u32 f_ctl ,
15275                                      u32 parm_offset ) 
15276{ int __ret_warn_on ;
15277  long tmp___7 ;
15278  __u32 tmp___8 ;
15279  unsigned int __cil_tmp11 ;
15280  int __cil_tmp12 ;
15281  int __cil_tmp13 ;
15282  int __cil_tmp14 ;
15283  int __cil_tmp15 ;
15284  long __cil_tmp16 ;
15285  int    __cil_tmp17 ;
15286  int __cil_tmp18 ;
15287  int __cil_tmp19 ;
15288  long __cil_tmp20 ;
15289  unsigned long __cil_tmp21 ;
15290  unsigned long __cil_tmp22 ;
15291  unsigned long __cil_tmp23 ;
15292  unsigned long __cil_tmp24 ;
15293  __u8 *__cil_tmp25 ;
15294  unsigned long __cil_tmp26 ;
15295  unsigned long __cil_tmp27 ;
15296  unsigned long __cil_tmp28 ;
15297  unsigned long __cil_tmp29 ;
15298  __u8 *__cil_tmp30 ;
15299  unsigned long __cil_tmp31 ;
15300  unsigned long __cil_tmp32 ;
15301  unsigned long __cil_tmp33 ;
15302  unsigned long __cil_tmp34 ;
15303  unsigned long __cil_tmp35 ;
15304  unsigned long __cil_tmp36 ;
15305  __u8 *__cil_tmp37 ;
15306  unsigned long __cil_tmp38 ;
15307  unsigned long __cil_tmp39 ;
15308  unsigned long __cil_tmp40 ;
15309  unsigned long __cil_tmp41 ;
15310  unsigned long __cil_tmp42 ;
15311  unsigned long __cil_tmp43 ;
15312
15313  {
15314  {
15315#line 59
15316  __cil_tmp11 = (unsigned int )r_ctl;
15317#line 59
15318  __cil_tmp12 = __cil_tmp11 == 0U;
15319#line 59
15320  __cil_tmp13 = ! __cil_tmp12;
15321#line 59
15322  __ret_warn_on = ! __cil_tmp13;
15323#line 59
15324  __cil_tmp14 = ! __ret_warn_on;
15325#line 59
15326  __cil_tmp15 = ! __cil_tmp14;
15327#line 59
15328  __cil_tmp16 = (long )__cil_tmp15;
15329#line 59
15330  tmp___7 = __builtin_expect(__cil_tmp16, 0L);
15331  }
15332#line 59
15333  if (tmp___7) {
15334    {
15335#line 59
15336    __cil_tmp17 = (int    )59;
15337#line 59
15338    warn_slowpath_null("include/scsi/fc_encode.h", __cil_tmp17);
15339    }
15340  } else {
15341
15342  }
15343  {
15344#line 59
15345  __cil_tmp18 = ! __ret_warn_on;
15346#line 59
15347  __cil_tmp19 = ! __cil_tmp18;
15348#line 59
15349  __cil_tmp20 = (long )__cil_tmp19;
15350#line 59
15351  __builtin_expect(__cil_tmp20, 0L);
15352#line 60
15353  *((__u8 *)fh) = (__u8 )r_ctl;
15354#line 61
15355  __cil_tmp21 = 0 * 1UL;
15356#line 61
15357  __cil_tmp22 = 1 + __cil_tmp21;
15358#line 61
15359  __cil_tmp23 = (unsigned long )fh;
15360#line 61
15361  __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
15362#line 61
15363  __cil_tmp25 = (__u8 *)__cil_tmp24;
15364#line 61
15365  hton24(__cil_tmp25, did);
15366#line 62
15367  __cil_tmp26 = 0 * 1UL;
15368#line 62
15369  __cil_tmp27 = 5 + __cil_tmp26;
15370#line 62
15371  __cil_tmp28 = (unsigned long )fh;
15372#line 62
15373  __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
15374#line 62
15375  __cil_tmp30 = (__u8 *)__cil_tmp29;
15376#line 62
15377  hton24(__cil_tmp30, sid);
15378#line 63
15379  __cil_tmp31 = (unsigned long )fh;
15380#line 63
15381  __cil_tmp32 = __cil_tmp31 + 8;
15382#line 63
15383  *((__u8 *)__cil_tmp32) = (__u8 )type;
15384#line 64
15385  __cil_tmp33 = 0 * 1UL;
15386#line 64
15387  __cil_tmp34 = 9 + __cil_tmp33;
15388#line 64
15389  __cil_tmp35 = (unsigned long )fh;
15390#line 64
15391  __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
15392#line 64
15393  __cil_tmp37 = (__u8 *)__cil_tmp36;
15394#line 64
15395  hton24(__cil_tmp37, f_ctl);
15396#line 65
15397  __cil_tmp38 = (unsigned long )fh;
15398#line 65
15399  __cil_tmp39 = __cil_tmp38 + 4;
15400#line 65
15401  *((__u8 *)__cil_tmp39) = (__u8 )0;
15402#line 66
15403  __cil_tmp40 = (unsigned long )fh;
15404#line 66
15405  __cil_tmp41 = __cil_tmp40 + 13;
15406#line 66
15407  *((__u8 *)__cil_tmp41) = (__u8 )0;
15408#line 67
15409  tmp___8 = __fswab32(parm_offset);
15410#line 67
15411  __cil_tmp42 = (unsigned long )fh;
15412#line 67
15413  __cil_tmp43 = __cil_tmp42 + 20;
15414#line 67
15415  *((__be32 *)__cil_tmp43) = tmp___8;
15416  }
15417#line 68
15418  return;
15419}
15420}
15421#line 73
15422__inline static void fc_fill_fc_hdr(struct fc_frame *fp , enum fc_rctl r_ctl , u32 did ,
15423                                    u32 sid , enum fc_fh_type type , u32 f_ctl , u32 parm_offset )  __attribute__((__no_instrument_function__)) ;
15424#line 73 "include/scsi/fc_encode.h"
15425__inline static void fc_fill_fc_hdr(struct fc_frame *fp , enum fc_rctl r_ctl , u32 did ,
15426                                    u32 sid , enum fc_fh_type type , u32 f_ctl , u32 parm_offset ) 
15427{ struct fc_frame_header *fh ;
15428  struct fc_frame    *__cil_tmp9 ;
15429
15430  {
15431  {
15432#line 79
15433  __cil_tmp9 = (struct fc_frame    *)fp;
15434#line 79
15435  fh = fc_frame_header_get(__cil_tmp9);
15436#line 80
15437  __fc_fill_fc_hdr(fh, r_ctl, did, sid, type, f_ctl, parm_offset);
15438  }
15439#line 81
15440  return;
15441}
15442}
15443#line 110 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/scsi/libfc/fc_libfc.h"
15444void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp , u16 xid ) ;
15445#line 111
15446void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp ) ;
15447#line 39 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
15448extern void *__crc_fc_cpu_mask  __attribute__((__weak__)) ;
15449#line 39 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
15450static unsigned long    __kcrctab_fc_cpu_mask  __attribute__((__used__, __unused__,
15451__section__("___kcrctab+fc_cpu_mask")))  =    (unsigned long    )((unsigned long )(& __crc_fc_cpu_mask));
15452#line 39 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
15453static char    __kstrtab_fc_cpu_mask[12]  __attribute__((__section__("__ksymtab_strings"),
15454__aligned__(1)))  = 
15455#line 39
15456  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'c', 
15457        (char    )'p',      (char    )'u',      (char const   )'_',      (char const   )'m', 
15458        (char    )'a',      (char    )'s',      (char const   )'k',      (char const   )'\000'};
15459#line 39 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
15460static struct kernel_symbol    __ksymtab_fc_cpu_mask  __attribute__((__used__,
15461__unused__, __section__("___ksymtab+fc_cpu_mask")))  =    {(unsigned long )(& fc_cpu_mask), __kstrtab_fc_cpu_mask};
15462#line 40 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
15463static u16 fc_cpu_order  ;
15464#line 41 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
15465static struct kmem_cache *fc_em_cachep  ;
15466#line 42 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
15467static struct workqueue_struct *fc_exch_workqueue  ;
15468#line 135
15469static void fc_exch_rrq(struct fc_exch *ep ) ;
15470#line 136
15471static void fc_seq_ls_acc(struct fc_frame *rx_fp ) ;
15472#line 137
15473static void fc_seq_ls_rjt(struct fc_frame *rx_fp , enum fc_els_rjt_reason reason ,
15474                          enum fc_els_rjt_explan explan ) ;
15475#line 139
15476static void fc_exch_els_rec(struct fc_frame *rfp ) ;
15477#line 140
15478static void fc_exch_els_rrq(struct fc_frame *fp ) ;
15479#line 224 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
15480static char *fc_exch_rctl_names[202]  = 
15481#line 224
15482  {      (char *)"uncat",      (char *)"sol data",      (char *)"unsol ctl",      (char *)"sol ctl/reply", 
15483        (char *)"unsol data",      (char *)"data desc",      (char *)"unsol cmd",      (char *)"cmd status", 
15484        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15485        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15486        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15487        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15488        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15489        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15490        (char *)0,      (char *)0,      (char *)"ELS req",      (char *)"ELS rep", 
15491        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15492        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15493        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15494        (char *)0,      (char *)0,      (char *)"FC-4 ELS req",      (char *)"FC-4 ELS rep", 
15495        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15496        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15497        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15498        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15499        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15500        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15501        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15502        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15503        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15504        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15505        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15506        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15507        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15508        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15509        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15510        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15511        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15512        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15513        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15514        (char *)"BLS NOP",      (char *)"BLS abort",      (char *)"BLS remove connection",      (char *)0, 
15515        (char *)"BLS accept",      (char *)"BLS reject",      (char *)"BLS dedicated connection preempted",      (char *)0, 
15516        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15517        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15518        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15519        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15520        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15521        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15522        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15523        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15524        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15525        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15526        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15527        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15528        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15529        (char *)0,      (char *)0,      (char *)0,      (char *)0, 
15530        (char *)"LC ACK_1",      (char *)"LC ACK_0",      (char *)"LC port reject",      (char *)"LC fabric reject", 
15531        (char *)"LC port busy",      (char *)"LC fabric busy to data frame",      (char *)"LC fabric busy to link control frame",      (char *)"LC link credit reset", 
15532        (char *)0,      (char *)"LC end"};
15533#line 235
15534__inline static char    *fc_exch_name_lookup(unsigned int op , char **table ,
15535                                                  unsigned int max_index )  __attribute__((__no_instrument_function__)) ;
15536#line 235 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
15537__inline static char    *fc_exch_name_lookup(unsigned int op , char **table ,
15538                                                  unsigned int max_index ) 
15539{ char    *name ;
15540  void *__cil_tmp5 ;
15541  char **__cil_tmp6 ;
15542  char *__cil_tmp7 ;
15543
15544  {
15545#line 238
15546  __cil_tmp5 = (void *)0;
15547#line 238
15548  name = (char    *)__cil_tmp5;
15549#line 240
15550  if (op < max_index) {
15551#line 241
15552    __cil_tmp6 = table + op;
15553#line 241
15554    __cil_tmp7 = *__cil_tmp6;
15555#line 241
15556    name = (char    *)__cil_tmp7;
15557  } else {
15558
15559  }
15560#line 242
15561  if (! name) {
15562#line 243
15563    name = "unknown";
15564  } else {
15565
15566  }
15567#line 244
15568  return (name);
15569}
15570}
15571#line 251 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
15572static char    *fc_exch_rctl_name(unsigned int op ) 
15573{ char    *tmp___7 ;
15574  unsigned long __cil_tmp3 ;
15575  unsigned long __cil_tmp4 ;
15576  char **__cil_tmp5 ;
15577  unsigned long __cil_tmp6 ;
15578  unsigned long __cil_tmp7 ;
15579  unsigned int __cil_tmp8 ;
15580
15581  {
15582  {
15583#line 253
15584  __cil_tmp3 = 0 * 8UL;
15585#line 253
15586  __cil_tmp4 = (unsigned long )(fc_exch_rctl_names) + __cil_tmp3;
15587#line 253
15588  __cil_tmp5 = (char **)__cil_tmp4;
15589#line 253
15590  __cil_tmp6 = 1616UL / 8UL;
15591#line 253
15592  __cil_tmp7 = __cil_tmp6 + 0UL;
15593#line 253
15594  __cil_tmp8 = (unsigned int )__cil_tmp7;
15595#line 253
15596  tmp___7 = fc_exch_name_lookup(op, __cil_tmp5, __cil_tmp8);
15597  }
15598#line 253
15599  return (tmp___7);
15600}
15601}
15602#line 261
15603__inline static void fc_exch_hold(struct fc_exch *ep )  __attribute__((__no_instrument_function__)) ;
15604#line 261 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
15605__inline static void fc_exch_hold(struct fc_exch *ep ) 
15606{ unsigned long __cil_tmp2 ;
15607  unsigned long __cil_tmp3 ;
15608  atomic_t *__cil_tmp4 ;
15609
15610  {
15611  {
15612#line 263
15613  __cil_tmp2 = (unsigned long )ep;
15614#line 263
15615  __cil_tmp3 = __cil_tmp2 + 24;
15616#line 263
15617  __cil_tmp4 = (atomic_t *)__cil_tmp3;
15618#line 263
15619  atomic_inc(__cil_tmp4);
15620  }
15621#line 264
15622  return;
15623}
15624}
15625#line 276 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
15626static void fc_exch_setup_hdr(struct fc_exch *ep , struct fc_frame *fp , u32 f_ctl ) 
15627{ struct fc_frame_header *fh ;
15628  struct fc_frame_header *tmp___7 ;
15629  u16 fill ;
15630  enum fc_sof tmp___8 ;
15631  int tmp___9 ;
15632  int __ret_warn_on ;
15633  long tmp___10 ;
15634  __u16 tmp___11 ;
15635  __u16 tmp___12 ;
15636  __u16 tmp___13 ;
15637  struct fc_frame    *__cil_tmp14 ;
15638  unsigned long __cil_tmp15 ;
15639  unsigned long __cil_tmp16 ;
15640  unsigned long __cil_tmp17 ;
15641  unsigned long __cil_tmp18 ;
15642  unsigned long __cil_tmp19 ;
15643  char *__cil_tmp20 ;
15644  struct fcoe_rcv_info *__cil_tmp21 ;
15645  unsigned long __cil_tmp22 ;
15646  unsigned long __cil_tmp23 ;
15647  unsigned long __cil_tmp24 ;
15648  unsigned long __cil_tmp25 ;
15649  enum fc_class __cil_tmp26 ;
15650  unsigned long __cil_tmp27 ;
15651  unsigned long __cil_tmp28 ;
15652  unsigned long __cil_tmp29 ;
15653  unsigned long __cil_tmp30 ;
15654  unsigned long __cil_tmp31 ;
15655  enum fc_class __cil_tmp32 ;
15656  unsigned long __cil_tmp33 ;
15657  unsigned long __cil_tmp34 ;
15658  unsigned long __cil_tmp35 ;
15659  unsigned long __cil_tmp36 ;
15660  unsigned long __cil_tmp37 ;
15661  char *__cil_tmp38 ;
15662  struct fcoe_rcv_info *__cil_tmp39 ;
15663  unsigned long __cil_tmp40 ;
15664  unsigned long __cil_tmp41 ;
15665  int __cil_tmp42 ;
15666  unsigned int __cil_tmp43 ;
15667  unsigned long __cil_tmp44 ;
15668  unsigned long __cil_tmp45 ;
15669  unsigned long __cil_tmp46 ;
15670  unsigned long __cil_tmp47 ;
15671  unsigned long __cil_tmp48 ;
15672  char *__cil_tmp49 ;
15673  struct fcoe_rcv_info *__cil_tmp50 ;
15674  unsigned long __cil_tmp51 ;
15675  unsigned long __cil_tmp52 ;
15676  unsigned long __cil_tmp53 ;
15677  unsigned long __cil_tmp54 ;
15678  enum fc_class __cil_tmp55 ;
15679  enum fc_sof __cil_tmp56 ;
15680  unsigned long __cil_tmp57 ;
15681  unsigned long __cil_tmp58 ;
15682  unsigned long __cil_tmp59 ;
15683  unsigned long __cil_tmp60 ;
15684  unsigned long __cil_tmp61 ;
15685  char *__cil_tmp62 ;
15686  struct fcoe_rcv_info *__cil_tmp63 ;
15687  unsigned long __cil_tmp64 ;
15688  unsigned long __cil_tmp65 ;
15689  unsigned long __cil_tmp66 ;
15690  unsigned long __cil_tmp67 ;
15691  unsigned long __cil_tmp68 ;
15692  unsigned int __cil_tmp69 ;
15693  unsigned int __cil_tmp70 ;
15694  int __cil_tmp71 ;
15695  int __cil_tmp72 ;
15696  struct sk_buff *__cil_tmp73 ;
15697  unsigned int __cil_tmp74 ;
15698  unsigned long __cil_tmp75 ;
15699  unsigned long __cil_tmp76 ;
15700  unsigned long __cil_tmp77 ;
15701  unsigned long __cil_tmp78 ;
15702  __u8 *__cil_tmp79 ;
15703  unsigned int __cil_tmp80 ;
15704  unsigned int __cil_tmp81 ;
15705  unsigned long __cil_tmp82 ;
15706  unsigned long __cil_tmp83 ;
15707  unsigned long __cil_tmp84 ;
15708  unsigned int __cil_tmp85 ;
15709  unsigned int __cil_tmp86 ;
15710  int __cil_tmp87 ;
15711  int __cil_tmp88 ;
15712  int __cil_tmp89 ;
15713  int __cil_tmp90 ;
15714  long __cil_tmp91 ;
15715  int    __cil_tmp92 ;
15716  int __cil_tmp93 ;
15717  int __cil_tmp94 ;
15718  long __cil_tmp95 ;
15719  unsigned long __cil_tmp96 ;
15720  unsigned long __cil_tmp97 ;
15721  unsigned long __cil_tmp98 ;
15722  unsigned long __cil_tmp99 ;
15723  unsigned long __cil_tmp100 ;
15724  char *__cil_tmp101 ;
15725  struct fcoe_rcv_info *__cil_tmp102 ;
15726  unsigned long __cil_tmp103 ;
15727  unsigned long __cil_tmp104 ;
15728  unsigned long __cil_tmp105 ;
15729  unsigned long __cil_tmp106 ;
15730  u16 __cil_tmp107 ;
15731  unsigned long __cil_tmp108 ;
15732  unsigned long __cil_tmp109 ;
15733  int __cil_tmp110 ;
15734  unsigned long __cil_tmp111 ;
15735  unsigned long __cil_tmp112 ;
15736  u16 __cil_tmp113 ;
15737  unsigned long __cil_tmp114 ;
15738  unsigned long __cil_tmp115 ;
15739  int __cil_tmp116 ;
15740  unsigned long __cil_tmp117 ;
15741  unsigned long __cil_tmp118 ;
15742  unsigned long __cil_tmp119 ;
15743  unsigned long __cil_tmp120 ;
15744  unsigned long __cil_tmp121 ;
15745  unsigned long __cil_tmp122 ;
15746  unsigned long __cil_tmp123 ;
15747  u16 __cil_tmp124 ;
15748  unsigned long __cil_tmp125 ;
15749  unsigned long __cil_tmp126 ;
15750  int __cil_tmp127 ;
15751
15752  {
15753  {
15754#line 279
15755  __cil_tmp14 = (struct fc_frame    *)fp;
15756#line 279
15757  tmp___7 = fc_frame_header_get(__cil_tmp14);
15758#line 279
15759  fh = tmp___7;
15760#line 282
15761  __cil_tmp15 = 0 * 1UL;
15762#line 282
15763  __cil_tmp16 = 40 + __cil_tmp15;
15764#line 282
15765  __cil_tmp17 = 0 + __cil_tmp16;
15766#line 282
15767  __cil_tmp18 = (unsigned long )fp;
15768#line 282
15769  __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
15770#line 282
15771  __cil_tmp20 = (char *)__cil_tmp19;
15772#line 282
15773  __cil_tmp21 = (struct fcoe_rcv_info *)__cil_tmp20;
15774#line 282
15775  __cil_tmp22 = (unsigned long )__cil_tmp21;
15776#line 282
15777  __cil_tmp23 = __cil_tmp22 + 30;
15778#line 282
15779  __cil_tmp24 = (unsigned long )ep;
15780#line 282
15781  __cil_tmp25 = __cil_tmp24 + 28;
15782#line 282
15783  __cil_tmp26 = *((enum fc_class *)__cil_tmp25);
15784#line 282
15785  *((u8 *)__cil_tmp23) = (u8 )__cil_tmp26;
15786  }
15787  {
15788#line 283
15789  __cil_tmp27 = 108 + 4;
15790#line 283
15791  __cil_tmp28 = (unsigned long )ep;
15792#line 283
15793  __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
15794#line 283
15795  if (*((u16 *)__cil_tmp29)) {
15796    {
15797#line 284
15798    __cil_tmp30 = (unsigned long )ep;
15799#line 284
15800    __cil_tmp31 = __cil_tmp30 + 28;
15801#line 284
15802    __cil_tmp32 = *((enum fc_class *)__cil_tmp31);
15803#line 284
15804    tmp___8 = fc_sof_normal(__cil_tmp32);
15805#line 284
15806    __cil_tmp33 = 0 * 1UL;
15807#line 284
15808    __cil_tmp34 = 40 + __cil_tmp33;
15809#line 284
15810    __cil_tmp35 = 0 + __cil_tmp34;
15811#line 284
15812    __cil_tmp36 = (unsigned long )fp;
15813#line 284
15814    __cil_tmp37 = __cil_tmp36 + __cil_tmp35;
15815#line 284
15816    __cil_tmp38 = (char *)__cil_tmp37;
15817#line 284
15818    __cil_tmp39 = (struct fcoe_rcv_info *)__cil_tmp38;
15819#line 284
15820    __cil_tmp40 = (unsigned long )__cil_tmp39;
15821#line 284
15822    __cil_tmp41 = __cil_tmp40 + 30;
15823#line 284
15824    *((u8 *)__cil_tmp41) = (u8 )tmp___8;
15825    }
15826  } else {
15827
15828  }
15829  }
15830  {
15831#line 286
15832  __cil_tmp42 = 1 << 19;
15833#line 286
15834  __cil_tmp43 = (unsigned int )__cil_tmp42;
15835#line 286
15836  if (f_ctl & __cil_tmp43) {
15837    {
15838#line 287
15839    __cil_tmp44 = 0 * 1UL;
15840#line 287
15841    __cil_tmp45 = 40 + __cil_tmp44;
15842#line 287
15843    __cil_tmp46 = 0 + __cil_tmp45;
15844#line 287
15845    __cil_tmp47 = (unsigned long )fp;
15846#line 287
15847    __cil_tmp48 = __cil_tmp47 + __cil_tmp46;
15848#line 287
15849    __cil_tmp49 = (char *)__cil_tmp48;
15850#line 287
15851    __cil_tmp50 = (struct fcoe_rcv_info *)__cil_tmp49;
15852#line 287
15853    __cil_tmp51 = (unsigned long )__cil_tmp50;
15854#line 287
15855    __cil_tmp52 = __cil_tmp51 + 31;
15856#line 287
15857    *((u8 *)__cil_tmp52) = (u8 )66;
15858#line 288
15859    __cil_tmp53 = (unsigned long )ep;
15860#line 288
15861    __cil_tmp54 = __cil_tmp53 + 28;
15862#line 288
15863    __cil_tmp55 = *((enum fc_class *)__cil_tmp54);
15864#line 288
15865    __cil_tmp56 = (enum fc_sof )__cil_tmp55;
15866#line 288
15867    tmp___9 = fc_sof_needs_ack(__cil_tmp56);
15868    }
15869#line 288
15870    if (tmp___9) {
15871#line 289
15872      __cil_tmp57 = 0 * 1UL;
15873#line 289
15874      __cil_tmp58 = 40 + __cil_tmp57;
15875#line 289
15876      __cil_tmp59 = 0 + __cil_tmp58;
15877#line 289
15878      __cil_tmp60 = (unsigned long )fp;
15879#line 289
15880      __cil_tmp61 = __cil_tmp60 + __cil_tmp59;
15881#line 289
15882      __cil_tmp62 = (char *)__cil_tmp61;
15883#line 289
15884      __cil_tmp63 = (struct fcoe_rcv_info *)__cil_tmp62;
15885#line 289
15886      __cil_tmp64 = (unsigned long )__cil_tmp63;
15887#line 289
15888      __cil_tmp65 = __cil_tmp64 + 31;
15889#line 289
15890      *((u8 *)__cil_tmp65) = (u8 )65;
15891    } else {
15892
15893    }
15894#line 299
15895    __cil_tmp66 = 0 + 104;
15896#line 299
15897    __cil_tmp67 = (unsigned long )fp;
15898#line 299
15899    __cil_tmp68 = __cil_tmp67 + __cil_tmp66;
15900#line 299
15901    __cil_tmp69 = *((unsigned int *)__cil_tmp68);
15902#line 299
15903    __cil_tmp70 = __cil_tmp69 & 3U;
15904#line 299
15905    fill = (u16 )__cil_tmp70;
15906#line 300
15907    if (fill) {
15908      {
15909#line 301
15910      __cil_tmp71 = (int )fill;
15911#line 301
15912      __cil_tmp72 = 4 - __cil_tmp71;
15913#line 301
15914      fill = (u16 )__cil_tmp72;
15915#line 303
15916      __cil_tmp73 = (struct sk_buff *)fp;
15917#line 303
15918      __cil_tmp74 = (unsigned int )fill;
15919#line 303
15920      skb_put(__cil_tmp73, __cil_tmp74);
15921#line 304
15922      __cil_tmp75 = 0 * 1UL;
15923#line 304
15924      __cil_tmp76 = 9 + __cil_tmp75;
15925#line 304
15926      __cil_tmp77 = (unsigned long )fh;
15927#line 304
15928      __cil_tmp78 = __cil_tmp77 + __cil_tmp76;
15929#line 304
15930      __cil_tmp79 = (__u8 *)__cil_tmp78;
15931#line 304
15932      __cil_tmp80 = (unsigned int )fill;
15933#line 304
15934      __cil_tmp81 = f_ctl | __cil_tmp80;
15935#line 304
15936      hton24(__cil_tmp79, __cil_tmp81);
15937      }
15938    } else {
15939
15940    }
15941  } else {
15942    {
15943#line 307
15944    __cil_tmp82 = 0 + 104;
15945#line 307
15946    __cil_tmp83 = (unsigned long )fp;
15947#line 307
15948    __cil_tmp84 = __cil_tmp83 + __cil_tmp82;
15949#line 307
15950    __cil_tmp85 = *((unsigned int *)__cil_tmp84);
15951#line 307
15952    __cil_tmp86 = __cil_tmp85 % 4U;
15953#line 307
15954    __cil_tmp87 = __cil_tmp86 != 0U;
15955#line 307
15956    __cil_tmp88 = ! __cil_tmp87;
15957#line 307
15958    __ret_warn_on = ! __cil_tmp88;
15959#line 307
15960    __cil_tmp89 = ! __ret_warn_on;
15961#line 307
15962    __cil_tmp90 = ! __cil_tmp89;
15963#line 307
15964    __cil_tmp91 = (long )__cil_tmp90;
15965#line 307
15966    tmp___10 = __builtin_expect(__cil_tmp91, 0L);
15967    }
15968#line 307
15969    if (tmp___10) {
15970      {
15971#line 307
15972      __cil_tmp92 = (int    )307;
15973#line 307
15974      warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c",
15975                         __cil_tmp92);
15976      }
15977    } else {
15978
15979    }
15980    {
15981#line 307
15982    __cil_tmp93 = ! __ret_warn_on;
15983#line 307
15984    __cil_tmp94 = ! __cil_tmp93;
15985#line 307
15986    __cil_tmp95 = (long )__cil_tmp94;
15987#line 307
15988    __builtin_expect(__cil_tmp95, 0L);
15989#line 308
15990    __cil_tmp96 = 0 * 1UL;
15991#line 308
15992    __cil_tmp97 = 40 + __cil_tmp96;
15993#line 308
15994    __cil_tmp98 = 0 + __cil_tmp97;
15995#line 308
15996    __cil_tmp99 = (unsigned long )fp;
15997#line 308
15998    __cil_tmp100 = __cil_tmp99 + __cil_tmp98;
15999#line 308
16000    __cil_tmp101 = (char *)__cil_tmp100;
16001#line 308
16002    __cil_tmp102 = (struct fcoe_rcv_info *)__cil_tmp101;
16003#line 308
16004    __cil_tmp103 = (unsigned long )__cil_tmp102;
16005#line 308
16006    __cil_tmp104 = __cil_tmp103 + 31;
16007#line 308
16008    *((u8 *)__cil_tmp104) = (u8 )65;
16009    }
16010  }
16011  }
16012  {
16013#line 315
16014  __cil_tmp105 = (unsigned long )ep;
16015#line 315
16016  __cil_tmp106 = __cil_tmp105 + 82;
16017#line 315
16018  __cil_tmp107 = *((u16 *)__cil_tmp106);
16019#line 315
16020  tmp___11 = __fswab16(__cil_tmp107);
16021#line 315
16022  __cil_tmp108 = (unsigned long )fh;
16023#line 315
16024  __cil_tmp109 = __cil_tmp108 + 16;
16025#line 315
16026  __cil_tmp110 = (int )tmp___11;
16027#line 315
16028  *((__be16 *)__cil_tmp109) = (__be16 )__cil_tmp110;
16029#line 316
16030  __cil_tmp111 = (unsigned long )ep;
16031#line 316
16032  __cil_tmp112 = __cil_tmp111 + 84;
16033#line 316
16034  __cil_tmp113 = *((u16 *)__cil_tmp112);
16035#line 316
16036  tmp___12 = __fswab16(__cil_tmp113);
16037#line 316
16038  __cil_tmp114 = (unsigned long )fh;
16039#line 316
16040  __cil_tmp115 = __cil_tmp114 + 18;
16041#line 316
16042  __cil_tmp116 = (int )tmp___12;
16043#line 316
16044  *((__be16 *)__cil_tmp115) = (__be16 )__cil_tmp116;
16045#line 317
16046  __cil_tmp117 = (unsigned long )fh;
16047#line 317
16048  __cil_tmp118 = __cil_tmp117 + 12;
16049#line 317
16050  __cil_tmp119 = (unsigned long )ep;
16051#line 317
16052  __cil_tmp120 = __cil_tmp119 + 108;
16053#line 317
16054  *((__u8 *)__cil_tmp118) = *((u8 *)__cil_tmp120);
16055#line 318
16056  __cil_tmp121 = 108 + 4;
16057#line 318
16058  __cil_tmp122 = (unsigned long )ep;
16059#line 318
16060  __cil_tmp123 = __cil_tmp122 + __cil_tmp121;
16061#line 318
16062  __cil_tmp124 = *((u16 *)__cil_tmp123);
16063#line 318
16064  tmp___13 = __fswab16(__cil_tmp124);
16065#line 318
16066  __cil_tmp125 = (unsigned long )fh;
16067#line 318
16068  __cil_tmp126 = __cil_tmp125 + 14;
16069#line 318
16070  __cil_tmp127 = (int )tmp___13;
16071#line 318
16072  *((__be16 *)__cil_tmp126) = (__be16 )__cil_tmp127;
16073  }
16074#line 319
16075  return;
16076}
16077}
16078#line 328 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
16079static void fc_exch_release(struct fc_exch *ep ) 
16080{ struct fc_exch_mgr *mp ;
16081  int __ret_warn_on ;
16082  long tmp___7 ;
16083  int tmp___8 ;
16084  unsigned long __cil_tmp6 ;
16085  unsigned long __cil_tmp7 ;
16086  atomic_t *__cil_tmp8 ;
16087  unsigned long __cil_tmp9 ;
16088  unsigned long __cil_tmp10 ;
16089  unsigned long __cil_tmp11 ;
16090  unsigned long __cil_tmp12 ;
16091  unsigned long __cil_tmp13 ;
16092  unsigned long __cil_tmp14 ;
16093  void (*__cil_tmp15)(struct fc_seq * , void * ) ;
16094  unsigned long __cil_tmp16 ;
16095  unsigned long __cil_tmp17 ;
16096  struct fc_seq *__cil_tmp18 ;
16097  unsigned long __cil_tmp19 ;
16098  unsigned long __cil_tmp20 ;
16099  void *__cil_tmp21 ;
16100  int __cil_tmp22 ;
16101  unsigned int __cil_tmp23 ;
16102  unsigned long __cil_tmp24 ;
16103  unsigned long __cil_tmp25 ;
16104  u32 __cil_tmp26 ;
16105  unsigned int __cil_tmp27 ;
16106  int __cil_tmp28 ;
16107  int __cil_tmp29 ;
16108  int __cil_tmp30 ;
16109  int __cil_tmp31 ;
16110  long __cil_tmp32 ;
16111  int    __cil_tmp33 ;
16112  int __cil_tmp34 ;
16113  int __cil_tmp35 ;
16114  long __cil_tmp36 ;
16115  void *__cil_tmp37 ;
16116  unsigned long __cil_tmp38 ;
16117  unsigned long __cil_tmp39 ;
16118  mempool_t *__cil_tmp40 ;
16119
16120  {
16121  {
16122#line 332
16123  __cil_tmp6 = (unsigned long )ep;
16124#line 332
16125  __cil_tmp7 = __cil_tmp6 + 24;
16126#line 332
16127  __cil_tmp8 = (atomic_t *)__cil_tmp7;
16128#line 332
16129  tmp___8 = atomic_dec_and_test(__cil_tmp8);
16130  }
16131#line 332
16132  if (tmp___8) {
16133#line 333
16134    __cil_tmp9 = (unsigned long )ep;
16135#line 333
16136    __cil_tmp10 = __cil_tmp9 + 32;
16137#line 333
16138    mp = *((struct fc_exch_mgr **)__cil_tmp10);
16139    {
16140#line 334
16141    __cil_tmp11 = (unsigned long )ep;
16142#line 334
16143    __cil_tmp12 = __cil_tmp11 + 136;
16144#line 334
16145    if (*((void (**)(struct fc_seq * , void * ))__cil_tmp12)) {
16146      {
16147#line 335
16148      __cil_tmp13 = (unsigned long )ep;
16149#line 335
16150      __cil_tmp14 = __cil_tmp13 + 136;
16151#line 335
16152      __cil_tmp15 = *((void (**)(struct fc_seq * , void * ))__cil_tmp14);
16153#line 335
16154      __cil_tmp16 = (unsigned long )ep;
16155#line 335
16156      __cil_tmp17 = __cil_tmp16 + 108;
16157#line 335
16158      __cil_tmp18 = (struct fc_seq *)__cil_tmp17;
16159#line 335
16160      __cil_tmp19 = (unsigned long )ep;
16161#line 335
16162      __cil_tmp20 = __cil_tmp19 + 128;
16163#line 335
16164      __cil_tmp21 = *((void **)__cil_tmp20);
16165#line 335
16166      (*__cil_tmp15)(__cil_tmp18, __cil_tmp21);
16167      }
16168    } else {
16169
16170    }
16171    }
16172    {
16173#line 336
16174    __cil_tmp22 = 1 << 29;
16175#line 336
16176    __cil_tmp23 = (unsigned int )__cil_tmp22;
16177#line 336
16178    __cil_tmp24 = (unsigned long )ep;
16179#line 336
16180    __cil_tmp25 = __cil_tmp24 + 72;
16181#line 336
16182    __cil_tmp26 = *((u32 *)__cil_tmp25);
16183#line 336
16184    __cil_tmp27 = __cil_tmp26 & __cil_tmp23;
16185#line 336
16186    __cil_tmp28 = ! __cil_tmp27;
16187#line 336
16188    __cil_tmp29 = ! __cil_tmp28;
16189#line 336
16190    __ret_warn_on = ! __cil_tmp29;
16191#line 336
16192    __cil_tmp30 = ! __ret_warn_on;
16193#line 336
16194    __cil_tmp31 = ! __cil_tmp30;
16195#line 336
16196    __cil_tmp32 = (long )__cil_tmp31;
16197#line 336
16198    tmp___7 = __builtin_expect(__cil_tmp32, 0L);
16199    }
16200#line 336
16201    if (tmp___7) {
16202      {
16203#line 336
16204      __cil_tmp33 = (int    )336;
16205#line 336
16206      warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c",
16207                         __cil_tmp33);
16208      }
16209    } else {
16210
16211    }
16212    {
16213#line 336
16214    __cil_tmp34 = ! __ret_warn_on;
16215#line 336
16216    __cil_tmp35 = ! __cil_tmp34;
16217#line 336
16218    __cil_tmp36 = (long )__cil_tmp35;
16219#line 336
16220    __builtin_expect(__cil_tmp36, 0L);
16221#line 337
16222    __cil_tmp37 = (void *)ep;
16223#line 337
16224    __cil_tmp38 = (unsigned long )mp;
16225#line 337
16226    __cil_tmp39 = __cil_tmp38 + 8;
16227#line 337
16228    __cil_tmp40 = *((mempool_t **)__cil_tmp39);
16229#line 337
16230    mempool_free(__cil_tmp37, __cil_tmp40);
16231    }
16232  } else {
16233
16234  }
16235#line 339
16236  return;
16237}
16238}
16239#line 345 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
16240static int fc_exch_done_locked(struct fc_exch *ep ) 
16241{ int rc ;
16242  bool tmp___7 ;
16243  unsigned long __cil_tmp4 ;
16244  unsigned long __cil_tmp5 ;
16245  void *__cil_tmp6 ;
16246  unsigned long __cil_tmp7 ;
16247  unsigned long __cil_tmp8 ;
16248  u8 __cil_tmp9 ;
16249  int __cil_tmp10 ;
16250  unsigned long __cil_tmp11 ;
16251  unsigned long __cil_tmp12 ;
16252  int __cil_tmp13 ;
16253  unsigned int __cil_tmp14 ;
16254  unsigned long __cil_tmp15 ;
16255  unsigned long __cil_tmp16 ;
16256  u32 __cil_tmp17 ;
16257  int __cil_tmp18 ;
16258  unsigned int __cil_tmp19 ;
16259  unsigned long __cil_tmp20 ;
16260  unsigned long __cil_tmp21 ;
16261  u32 __cil_tmp22 ;
16262  unsigned int __cil_tmp23 ;
16263  unsigned long __cil_tmp24 ;
16264  unsigned long __cil_tmp25 ;
16265  unsigned long __cil_tmp26 ;
16266  unsigned long __cil_tmp27 ;
16267  u8 __cil_tmp28 ;
16268  int __cil_tmp29 ;
16269  int __cil_tmp30 ;
16270  unsigned long __cil_tmp31 ;
16271  unsigned long __cil_tmp32 ;
16272  struct delayed_work *__cil_tmp33 ;
16273  unsigned long __cil_tmp34 ;
16274  unsigned long __cil_tmp35 ;
16275  atomic_t *__cil_tmp36 ;
16276
16277  {
16278#line 347
16279  rc = 1;
16280#line 355
16281  __cil_tmp4 = (unsigned long )ep;
16282#line 355
16283  __cil_tmp5 = __cil_tmp4 + 120;
16284#line 355
16285  __cil_tmp6 = (void *)0;
16286#line 355
16287  *((void (**)(struct fc_seq * , struct fc_frame * , void * ))__cil_tmp5) = (void (*)(struct fc_seq * ,
16288                                                                                      struct fc_frame * ,
16289                                                                                      void * ))__cil_tmp6;
16290  {
16291#line 356
16292  __cil_tmp7 = (unsigned long )ep;
16293#line 356
16294  __cil_tmp8 = __cil_tmp7 + 76;
16295#line 356
16296  __cil_tmp9 = *((u8 *)__cil_tmp8);
16297#line 356
16298  __cil_tmp10 = (int )__cil_tmp9;
16299#line 356
16300  if (__cil_tmp10 & 1) {
16301#line 357
16302    return (rc);
16303  } else {
16304
16305  }
16306  }
16307#line 358
16308  __cil_tmp11 = (unsigned long )ep;
16309#line 358
16310  __cil_tmp12 = __cil_tmp11 + 72;
16311#line 358
16312  __cil_tmp13 = 1 << 29;
16313#line 358
16314  __cil_tmp14 = (unsigned int )__cil_tmp13;
16315#line 358
16316  __cil_tmp15 = (unsigned long )ep;
16317#line 358
16318  __cil_tmp16 = __cil_tmp15 + 72;
16319#line 358
16320  __cil_tmp17 = *((u32 *)__cil_tmp16);
16321#line 358
16322  *((u32 *)__cil_tmp12) = __cil_tmp17 | __cil_tmp14;
16323  {
16324#line 360
16325  __cil_tmp18 = 1 << 26;
16326#line 360
16327  __cil_tmp19 = (unsigned int )__cil_tmp18;
16328#line 360
16329  __cil_tmp20 = (unsigned long )ep;
16330#line 360
16331  __cil_tmp21 = __cil_tmp20 + 72;
16332#line 360
16333  __cil_tmp22 = *((u32 *)__cil_tmp21);
16334#line 360
16335  __cil_tmp23 = __cil_tmp22 & __cil_tmp19;
16336#line 360
16337  if (! __cil_tmp23) {
16338    {
16339#line 361
16340    __cil_tmp24 = (unsigned long )ep;
16341#line 361
16342    __cil_tmp25 = __cil_tmp24 + 76;
16343#line 361
16344    __cil_tmp26 = (unsigned long )ep;
16345#line 361
16346    __cil_tmp27 = __cil_tmp26 + 76;
16347#line 361
16348    __cil_tmp28 = *((u8 *)__cil_tmp27);
16349#line 361
16350    __cil_tmp29 = (int )__cil_tmp28;
16351#line 361
16352    __cil_tmp30 = __cil_tmp29 | 1;
16353#line 361
16354    *((u8 *)__cil_tmp25) = (u8 )__cil_tmp30;
16355#line 362
16356    __cil_tmp31 = (unsigned long )ep;
16357#line 362
16358    __cil_tmp32 = __cil_tmp31 + 144;
16359#line 362
16360    __cil_tmp33 = (struct delayed_work *)__cil_tmp32;
16361#line 362
16362    tmp___7 = cancel_delayed_work(__cil_tmp33);
16363    }
16364#line 362
16365    if (tmp___7) {
16366      {
16367#line 363
16368      __cil_tmp34 = (unsigned long )ep;
16369#line 363
16370      __cil_tmp35 = __cil_tmp34 + 24;
16371#line 363
16372      __cil_tmp36 = (atomic_t *)__cil_tmp35;
16373#line 363
16374      atomic_dec(__cil_tmp36);
16375      }
16376    } else {
16377
16378    }
16379#line 364
16380    rc = 0;
16381  } else {
16382
16383  }
16384  }
16385#line 366
16386  return (rc);
16387}
16388}
16389#line 378
16390__inline static struct fc_exch *fc_exch_ptr_get(struct fc_exch_pool *pool , u16 index )  __attribute__((__no_instrument_function__)) ;
16391#line 378 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
16392__inline static struct fc_exch *fc_exch_ptr_get(struct fc_exch_pool *pool , u16 index ) 
16393{ struct fc_exch **exches ;
16394  struct fc_exch_pool *__cil_tmp4 ;
16395  struct fc_exch **__cil_tmp5 ;
16396
16397  {
16398#line 381
16399  __cil_tmp4 = pool + 1;
16400#line 381
16401  exches = (struct fc_exch **)__cil_tmp4;
16402  {
16403#line 382
16404  __cil_tmp5 = exches + index;
16405#line 382
16406  return (*__cil_tmp5);
16407  }
16408}
16409}
16410#line 391
16411__inline static void fc_exch_ptr_set(struct fc_exch_pool *pool , u16 index , struct fc_exch *ep )  __attribute__((__no_instrument_function__)) ;
16412#line 391 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
16413__inline static void fc_exch_ptr_set(struct fc_exch_pool *pool , u16 index , struct fc_exch *ep ) 
16414{ struct fc_exch_pool *__cil_tmp4 ;
16415  struct fc_exch **__cil_tmp5 ;
16416  struct fc_exch **__cil_tmp6 ;
16417
16418  {
16419#line 394
16420  __cil_tmp4 = pool + 1;
16421#line 394
16422  __cil_tmp5 = (struct fc_exch **)__cil_tmp4;
16423#line 394
16424  __cil_tmp6 = __cil_tmp5 + index;
16425#line 394
16426  *__cil_tmp6 = ep;
16427#line 395
16428  return;
16429}
16430}
16431#line 401 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
16432static void fc_exch_delete(struct fc_exch *ep ) 
16433{ struct fc_exch_pool *pool ;
16434  u16 index ;
16435  int __ret_warn_on ;
16436  long tmp___7 ;
16437  unsigned long __cil_tmp6 ;
16438  unsigned long __cil_tmp7 ;
16439  spinlock_t *__cil_tmp8 ;
16440  unsigned long __cil_tmp9 ;
16441  unsigned long __cil_tmp10 ;
16442  u16 __cil_tmp11 ;
16443  int __cil_tmp12 ;
16444  int __cil_tmp13 ;
16445  int __cil_tmp14 ;
16446  int __cil_tmp15 ;
16447  int __cil_tmp16 ;
16448  long __cil_tmp17 ;
16449  int    __cil_tmp18 ;
16450  int __cil_tmp19 ;
16451  int __cil_tmp20 ;
16452  long __cil_tmp21 ;
16453  unsigned long __cil_tmp22 ;
16454  unsigned long __cil_tmp23 ;
16455  unsigned long __cil_tmp24 ;
16456  unsigned long __cil_tmp25 ;
16457  u16 __cil_tmp26 ;
16458  int __cil_tmp27 ;
16459  int __cil_tmp28 ;
16460  int __cil_tmp29 ;
16461  unsigned long __cil_tmp30 ;
16462  unsigned long __cil_tmp31 ;
16463  struct fc_exch_mgr *__cil_tmp32 ;
16464  unsigned long __cil_tmp33 ;
16465  unsigned long __cil_tmp34 ;
16466  u16 __cil_tmp35 ;
16467  int __cil_tmp36 ;
16468  unsigned long __cil_tmp37 ;
16469  unsigned long __cil_tmp38 ;
16470  u16 __cil_tmp39 ;
16471  int __cil_tmp40 ;
16472  int __cil_tmp41 ;
16473  int __cil_tmp42 ;
16474  unsigned long __cil_tmp43 ;
16475  unsigned long __cil_tmp44 ;
16476  u16 __cil_tmp45 ;
16477  int __cil_tmp46 ;
16478  unsigned long __cil_tmp47 ;
16479  unsigned long __cil_tmp48 ;
16480  unsigned long __cil_tmp49 ;
16481  unsigned long __cil_tmp50 ;
16482  u16 __cil_tmp51 ;
16483  int __cil_tmp52 ;
16484  unsigned long __cil_tmp53 ;
16485  unsigned long __cil_tmp54 ;
16486  unsigned long __cil_tmp55 ;
16487  unsigned long __cil_tmp56 ;
16488  void *__cil_tmp57 ;
16489  struct fc_exch *__cil_tmp58 ;
16490  unsigned long __cil_tmp59 ;
16491  unsigned long __cil_tmp60 ;
16492  struct list_head *__cil_tmp61 ;
16493  spinlock_t *__cil_tmp62 ;
16494
16495  {
16496  {
16497#line 406
16498  __cil_tmp6 = (unsigned long )ep;
16499#line 406
16500  __cil_tmp7 = __cil_tmp6 + 40;
16501#line 406
16502  pool = *((struct fc_exch_pool **)__cil_tmp7);
16503#line 407
16504  __cil_tmp8 = (spinlock_t *)pool;
16505#line 407
16506  spin_lock_bh(__cil_tmp8);
16507#line 408
16508  __cil_tmp9 = (unsigned long )pool;
16509#line 408
16510  __cil_tmp10 = __cil_tmp9 + 42;
16511#line 408
16512  __cil_tmp11 = *((u16 *)__cil_tmp10);
16513#line 408
16514  __cil_tmp12 = (int )__cil_tmp11;
16515#line 408
16516  __cil_tmp13 = __cil_tmp12 <= 0;
16517#line 408
16518  __cil_tmp14 = ! __cil_tmp13;
16519#line 408
16520  __ret_warn_on = ! __cil_tmp14;
16521#line 408
16522  __cil_tmp15 = ! __ret_warn_on;
16523#line 408
16524  __cil_tmp16 = ! __cil_tmp15;
16525#line 408
16526  __cil_tmp17 = (long )__cil_tmp16;
16527#line 408
16528  tmp___7 = __builtin_expect(__cil_tmp17, 0L);
16529  }
16530#line 408
16531  if (tmp___7) {
16532    {
16533#line 408
16534    __cil_tmp18 = (int    )408;
16535#line 408
16536    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c",
16537                       __cil_tmp18);
16538    }
16539  } else {
16540
16541  }
16542  {
16543#line 408
16544  __cil_tmp19 = ! __ret_warn_on;
16545#line 408
16546  __cil_tmp20 = ! __cil_tmp19;
16547#line 408
16548  __cil_tmp21 = (long )__cil_tmp20;
16549#line 408
16550  __builtin_expect(__cil_tmp21, 0L);
16551#line 409
16552  __cil_tmp22 = (unsigned long )pool;
16553#line 409
16554  __cil_tmp23 = __cil_tmp22 + 42;
16555#line 409
16556  __cil_tmp24 = (unsigned long )pool;
16557#line 409
16558  __cil_tmp25 = __cil_tmp24 + 42;
16559#line 409
16560  __cil_tmp26 = *((u16 *)__cil_tmp25);
16561#line 409
16562  __cil_tmp27 = (int )__cil_tmp26;
16563#line 409
16564  __cil_tmp28 = __cil_tmp27 - 1;
16565#line 409
16566  *((u16 *)__cil_tmp23) = (u16 )__cil_tmp28;
16567#line 412
16568  __cil_tmp29 = (int )fc_cpu_order;
16569#line 412
16570  __cil_tmp30 = (unsigned long )ep;
16571#line 412
16572  __cil_tmp31 = __cil_tmp30 + 32;
16573#line 412
16574  __cil_tmp32 = *((struct fc_exch_mgr **)__cil_tmp31);
16575#line 412
16576  __cil_tmp33 = (unsigned long )__cil_tmp32;
16577#line 412
16578  __cil_tmp34 = __cil_tmp33 + 24;
16579#line 412
16580  __cil_tmp35 = *((u16 *)__cil_tmp34);
16581#line 412
16582  __cil_tmp36 = (int )__cil_tmp35;
16583#line 412
16584  __cil_tmp37 = (unsigned long )ep;
16585#line 412
16586  __cil_tmp38 = __cil_tmp37 + 80;
16587#line 412
16588  __cil_tmp39 = *((u16 *)__cil_tmp38);
16589#line 412
16590  __cil_tmp40 = (int )__cil_tmp39;
16591#line 412
16592  __cil_tmp41 = __cil_tmp40 - __cil_tmp36;
16593#line 412
16594  __cil_tmp42 = __cil_tmp41 >> __cil_tmp29;
16595#line 412
16596  index = (u16 )__cil_tmp42;
16597  }
16598  {
16599#line 413
16600  __cil_tmp43 = (unsigned long )pool;
16601#line 413
16602  __cil_tmp44 = __cil_tmp43 + 44;
16603#line 413
16604  __cil_tmp45 = *((u16 *)__cil_tmp44);
16605#line 413
16606  __cil_tmp46 = (int )__cil_tmp45;
16607#line 413
16608  if (__cil_tmp46 == 65535) {
16609#line 414
16610    __cil_tmp47 = (unsigned long )pool;
16611#line 414
16612    __cil_tmp48 = __cil_tmp47 + 44;
16613#line 414
16614    *((u16 *)__cil_tmp48) = index;
16615  } else {
16616    {
16617#line 415
16618    __cil_tmp49 = (unsigned long )pool;
16619#line 415
16620    __cil_tmp50 = __cil_tmp49 + 46;
16621#line 415
16622    __cil_tmp51 = *((u16 *)__cil_tmp50);
16623#line 415
16624    __cil_tmp52 = (int )__cil_tmp51;
16625#line 415
16626    if (__cil_tmp52 == 65535) {
16627#line 416
16628      __cil_tmp53 = (unsigned long )pool;
16629#line 416
16630      __cil_tmp54 = __cil_tmp53 + 46;
16631#line 416
16632      *((u16 *)__cil_tmp54) = index;
16633    } else {
16634#line 418
16635      __cil_tmp55 = (unsigned long )pool;
16636#line 418
16637      __cil_tmp56 = __cil_tmp55 + 40;
16638#line 418
16639      *((u16 *)__cil_tmp56) = index;
16640    }
16641    }
16642  }
16643  }
16644  {
16645#line 420
16646  __cil_tmp57 = (void *)0;
16647#line 420
16648  __cil_tmp58 = (struct fc_exch *)__cil_tmp57;
16649#line 420
16650  fc_exch_ptr_set(pool, index, __cil_tmp58);
16651#line 421
16652  __cil_tmp59 = (unsigned long )ep;
16653#line 421
16654  __cil_tmp60 = __cil_tmp59 + 48;
16655#line 421
16656  __cil_tmp61 = (struct list_head *)__cil_tmp60;
16657#line 421
16658  list_del(__cil_tmp61);
16659#line 422
16660  __cil_tmp62 = (spinlock_t *)pool;
16661#line 422
16662  spin_unlock_bh(__cil_tmp62);
16663#line 423
16664  fc_exch_release(ep);
16665  }
16666#line 424
16667  return;
16668}
16669}
16670#line 435
16671__inline static void fc_exch_timer_set_locked(struct fc_exch *ep , unsigned int timer_msec )  __attribute__((__no_instrument_function__)) ;
16672#line 435 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
16673__inline static void fc_exch_timer_set_locked(struct fc_exch *ep , unsigned int timer_msec ) 
16674{ long tmp___7 ;
16675  unsigned long tmp___8 ;
16676  int tmp___9 ;
16677  int __cil_tmp6 ;
16678  int __cil_tmp7 ;
16679  unsigned long __cil_tmp8 ;
16680  unsigned long __cil_tmp9 ;
16681  u8 __cil_tmp10 ;
16682  int __cil_tmp11 ;
16683  unsigned int *__cil_tmp12 ;
16684  unsigned int __cil_tmp13 ;
16685  unsigned int __cil_tmp14 ;
16686  int __cil_tmp15 ;
16687  int __cil_tmp16 ;
16688  long __cil_tmp17 ;
16689  unsigned long __cil_tmp18 ;
16690  unsigned long __cil_tmp19 ;
16691  struct fc_lport *__cil_tmp20 ;
16692  struct Scsi_Host *__cil_tmp21 ;
16693  unsigned long __cil_tmp22 ;
16694  unsigned long __cil_tmp23 ;
16695  unsigned int __cil_tmp24 ;
16696  unsigned long __cil_tmp25 ;
16697  unsigned long __cil_tmp26 ;
16698  u16 __cil_tmp27 ;
16699  int __cil_tmp28 ;
16700  unsigned int    __cil_tmp29 ;
16701  unsigned long __cil_tmp30 ;
16702  unsigned long __cil_tmp31 ;
16703  struct delayed_work *__cil_tmp32 ;
16704
16705  {
16706  {
16707#line 438
16708  __cil_tmp6 = 1 << 1;
16709#line 438
16710  __cil_tmp7 = __cil_tmp6 | 1;
16711#line 438
16712  __cil_tmp8 = (unsigned long )ep;
16713#line 438
16714  __cil_tmp9 = __cil_tmp8 + 76;
16715#line 438
16716  __cil_tmp10 = *((u8 *)__cil_tmp9);
16717#line 438
16718  __cil_tmp11 = (int )__cil_tmp10;
16719#line 438
16720  if (__cil_tmp11 & __cil_tmp7) {
16721#line 439
16722    return;
16723  } else {
16724
16725  }
16726  }
16727  {
16728#line 441
16729  while (1) {
16730    while_continue: /* CIL Label */ ;
16731    {
16732#line 441
16733    __cil_tmp12 = & fc_debug_logging;
16734#line 441
16735    __cil_tmp13 = *__cil_tmp12;
16736#line 441
16737    __cil_tmp14 = __cil_tmp13 & 64U;
16738#line 441
16739    __cil_tmp15 = ! __cil_tmp14;
16740#line 441
16741    __cil_tmp16 = ! __cil_tmp15;
16742#line 441
16743    __cil_tmp17 = (long )__cil_tmp16;
16744#line 441
16745    tmp___7 = __builtin_expect(__cil_tmp17, 0L);
16746    }
16747#line 441
16748    if (tmp___7) {
16749      {
16750#line 441
16751      while (1) {
16752        while_continue___0: /* CIL Label */ ;
16753        {
16754#line 441
16755        __cil_tmp18 = (unsigned long )ep;
16756#line 441
16757        __cil_tmp19 = __cil_tmp18 + 64;
16758#line 441
16759        __cil_tmp20 = *((struct fc_lport **)__cil_tmp19);
16760#line 441
16761        __cil_tmp21 = *((struct Scsi_Host **)__cil_tmp20);
16762#line 441
16763        __cil_tmp22 = (unsigned long )__cil_tmp21;
16764#line 441
16765        __cil_tmp23 = __cil_tmp22 + 308;
16766#line 441
16767        __cil_tmp24 = *((unsigned int *)__cil_tmp23);
16768#line 441
16769        __cil_tmp25 = (unsigned long )ep;
16770#line 441
16771        __cil_tmp26 = __cil_tmp25 + 80;
16772#line 441
16773        __cil_tmp27 = *((u16 *)__cil_tmp26);
16774#line 441
16775        __cil_tmp28 = (int )__cil_tmp27;
16776#line 441
16777        printk("<6>host%u: xid %4x: Exchange timer armed\n", __cil_tmp24, __cil_tmp28);
16778        }
16779#line 441
16780        goto while_break___0;
16781      }
16782      while_break___0: /* CIL Label */ ;
16783      }
16784    } else {
16785
16786    }
16787#line 441
16788    goto while_break;
16789  }
16790  while_break: /* CIL Label */ ;
16791  }
16792  {
16793#line 443
16794  __cil_tmp29 = (unsigned int    )timer_msec;
16795#line 443
16796  tmp___8 = msecs_to_jiffies(__cil_tmp29);
16797#line 443
16798  __cil_tmp30 = (unsigned long )ep;
16799#line 443
16800  __cil_tmp31 = __cil_tmp30 + 144;
16801#line 443
16802  __cil_tmp32 = (struct delayed_work *)__cil_tmp31;
16803#line 443
16804  tmp___9 = queue_delayed_work(fc_exch_workqueue, __cil_tmp32, tmp___8);
16805  }
16806#line 443
16807  if (tmp___9) {
16808    {
16809#line 445
16810    fc_exch_hold(ep);
16811    }
16812  } else {
16813
16814  }
16815#line 446
16816  return;
16817}
16818}
16819#line 453 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
16820static void fc_exch_timer_set(struct fc_exch *ep , unsigned int timer_msec ) 
16821{ spinlock_t *__cil_tmp3 ;
16822  spinlock_t *__cil_tmp4 ;
16823
16824  {
16825  {
16826#line 455
16827  __cil_tmp3 = (spinlock_t *)ep;
16828#line 455
16829  spin_lock_bh(__cil_tmp3);
16830#line 456
16831  fc_exch_timer_set_locked(ep, timer_msec);
16832#line 457
16833  __cil_tmp4 = (spinlock_t *)ep;
16834#line 457
16835  spin_unlock_bh(__cil_tmp4);
16836  }
16837#line 458
16838  return;
16839}
16840}
16841#line 466 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
16842static int fc_seq_send(struct fc_lport *lport , struct fc_seq *sp , struct fc_frame *fp ) 
16843{ struct fc_exch *ep ;
16844  struct fc_frame_header *fh ;
16845  struct fc_frame_header *tmp___7 ;
16846  int error ;
16847  u32 f_ctl ;
16848  u8 fh_type ;
16849  struct fc_seq    *__mptr ;
16850  int __ret_warn_on ;
16851  long tmp___8 ;
16852  struct fc_frame    *__cil_tmp13 ;
16853  unsigned long __cil_tmp14 ;
16854  unsigned long __cil_tmp15 ;
16855  struct fc_exch *__cil_tmp16 ;
16856  unsigned long __cil_tmp17 ;
16857  unsigned long __cil_tmp18 ;
16858  struct fc_seq *__cil_tmp19 ;
16859  unsigned int __cil_tmp20 ;
16860  char *__cil_tmp21 ;
16861  char *__cil_tmp22 ;
16862  int __cil_tmp23 ;
16863  unsigned int __cil_tmp24 ;
16864  int __cil_tmp25 ;
16865  unsigned int __cil_tmp26 ;
16866  unsigned long __cil_tmp27 ;
16867  unsigned long __cil_tmp28 ;
16868  u32 __cil_tmp29 ;
16869  unsigned int __cil_tmp30 ;
16870  int __cil_tmp31 ;
16871  int __cil_tmp32 ;
16872  int __cil_tmp33 ;
16873  int __cil_tmp34 ;
16874  long __cil_tmp35 ;
16875  int    __cil_tmp36 ;
16876  int __cil_tmp37 ;
16877  int __cil_tmp38 ;
16878  long __cil_tmp39 ;
16879  unsigned long __cil_tmp40 ;
16880  unsigned long __cil_tmp41 ;
16881  unsigned long __cil_tmp42 ;
16882  unsigned long __cil_tmp43 ;
16883  __u8 *__cil_tmp44 ;
16884  u8    *__cil_tmp45 ;
16885  unsigned long __cil_tmp46 ;
16886  unsigned long __cil_tmp47 ;
16887  unsigned long __cil_tmp48 ;
16888  unsigned long __cil_tmp49 ;
16889  unsigned long __cil_tmp50 ;
16890  char *__cil_tmp51 ;
16891  struct fcoe_rcv_info *__cil_tmp52 ;
16892  unsigned long __cil_tmp53 ;
16893  unsigned long __cil_tmp54 ;
16894  unsigned long __cil_tmp55 ;
16895  unsigned long __cil_tmp56 ;
16896  unsigned long __cil_tmp57 ;
16897  unsigned long __cil_tmp58 ;
16898  unsigned long __cil_tmp59 ;
16899  unsigned long __cil_tmp60 ;
16900  unsigned long __cil_tmp61 ;
16901  char *__cil_tmp62 ;
16902  struct fcoe_rcv_info *__cil_tmp63 ;
16903  unsigned long __cil_tmp64 ;
16904  unsigned long __cil_tmp65 ;
16905  unsigned long __cil_tmp66 ;
16906  unsigned long __cil_tmp67 ;
16907  unsigned long __cil_tmp68 ;
16908  unsigned long __cil_tmp69 ;
16909  unsigned long __cil_tmp70 ;
16910  unsigned long __cil_tmp71 ;
16911  unsigned long __cil_tmp72 ;
16912  char *__cil_tmp73 ;
16913  struct fcoe_rcv_info *__cil_tmp74 ;
16914  unsigned long __cil_tmp75 ;
16915  unsigned long __cil_tmp76 ;
16916  u16 __cil_tmp77 ;
16917  unsigned long __cil_tmp78 ;
16918  unsigned long __cil_tmp79 ;
16919  unsigned long __cil_tmp80 ;
16920  unsigned long __cil_tmp81 ;
16921  unsigned long __cil_tmp82 ;
16922  unsigned long __cil_tmp83 ;
16923  char *__cil_tmp84 ;
16924  struct fcoe_rcv_info *__cil_tmp85 ;
16925  unsigned long __cil_tmp86 ;
16926  unsigned long __cil_tmp87 ;
16927  u16 __cil_tmp88 ;
16928  unsigned long __cil_tmp89 ;
16929  unsigned long __cil_tmp90 ;
16930  unsigned long __cil_tmp91 ;
16931  unsigned long __cil_tmp92 ;
16932  unsigned int __cil_tmp93 ;
16933  unsigned long __cil_tmp94 ;
16934  unsigned long __cil_tmp95 ;
16935  unsigned long __cil_tmp96 ;
16936  unsigned long __cil_tmp97 ;
16937  unsigned long __cil_tmp98 ;
16938  unsigned long __cil_tmp99 ;
16939  unsigned long __cil_tmp100 ;
16940  u16 __cil_tmp101 ;
16941  unsigned long __cil_tmp102 ;
16942  unsigned long __cil_tmp103 ;
16943  unsigned long __cil_tmp104 ;
16944  unsigned long __cil_tmp105 ;
16945  unsigned long __cil_tmp106 ;
16946  unsigned long __cil_tmp107 ;
16947  u16 __cil_tmp108 ;
16948  int __cil_tmp109 ;
16949  int __cil_tmp110 ;
16950  unsigned long __cil_tmp111 ;
16951  unsigned long __cil_tmp112 ;
16952  int (*__cil_tmp113)(struct fc_lport * , struct fc_frame * ) ;
16953  int __cil_tmp114 ;
16954  spinlock_t *__cil_tmp115 ;
16955  unsigned long __cil_tmp116 ;
16956  unsigned long __cil_tmp117 ;
16957  int __cil_tmp118 ;
16958  int __cil_tmp119 ;
16959  unsigned int __cil_tmp120 ;
16960  int __cil_tmp121 ;
16961  unsigned int __cil_tmp122 ;
16962  unsigned long __cil_tmp123 ;
16963  unsigned long __cil_tmp124 ;
16964  int __cil_tmp125 ;
16965  int __cil_tmp126 ;
16966  unsigned int __cil_tmp127 ;
16967  unsigned long __cil_tmp128 ;
16968  unsigned long __cil_tmp129 ;
16969  u32 __cil_tmp130 ;
16970  spinlock_t *__cil_tmp131 ;
16971
16972  {
16973  {
16974#line 470
16975  __cil_tmp13 = (struct fc_frame    *)fp;
16976#line 470
16977  tmp___7 = fc_frame_header_get(__cil_tmp13);
16978#line 470
16979  fh = tmp___7;
16980#line 473
16981  __cil_tmp14 = (unsigned long )fh;
16982#line 473
16983  __cil_tmp15 = __cil_tmp14 + 8;
16984#line 473
16985  fh_type = *((__u8 *)__cil_tmp15);
16986#line 475
16987  __mptr = (struct fc_seq    *)sp;
16988#line 475
16989  __cil_tmp16 = (struct fc_exch *)0;
16990#line 475
16991  __cil_tmp17 = (unsigned long )__cil_tmp16;
16992#line 475
16993  __cil_tmp18 = __cil_tmp17 + 108;
16994#line 475
16995  __cil_tmp19 = (struct fc_seq *)__cil_tmp18;
16996#line 475
16997  __cil_tmp20 = (unsigned int )__cil_tmp19;
16998#line 475
16999  __cil_tmp21 = (char *)__mptr;
17000#line 475
17001  __cil_tmp22 = __cil_tmp21 - __cil_tmp20;
17002#line 475
17003  ep = (struct fc_exch *)__cil_tmp22;
17004#line 476
17005  __cil_tmp23 = 1 << 30;
17006#line 476
17007  __cil_tmp24 = (unsigned int )__cil_tmp23;
17008#line 476
17009  __cil_tmp25 = 1 << 30;
17010#line 476
17011  __cil_tmp26 = (unsigned int )__cil_tmp25;
17012#line 476
17013  __cil_tmp27 = (unsigned long )ep;
17014#line 476
17015  __cil_tmp28 = __cil_tmp27 + 72;
17016#line 476
17017  __cil_tmp29 = *((u32 *)__cil_tmp28);
17018#line 476
17019  __cil_tmp30 = __cil_tmp29 & __cil_tmp26;
17020#line 476
17021  __cil_tmp31 = __cil_tmp30 != __cil_tmp24;
17022#line 476
17023  __cil_tmp32 = ! __cil_tmp31;
17024#line 476
17025  __ret_warn_on = ! __cil_tmp32;
17026#line 476
17027  __cil_tmp33 = ! __ret_warn_on;
17028#line 476
17029  __cil_tmp34 = ! __cil_tmp33;
17030#line 476
17031  __cil_tmp35 = (long )__cil_tmp34;
17032#line 476
17033  tmp___8 = __builtin_expect(__cil_tmp35, 0L);
17034  }
17035#line 476
17036  if (tmp___8) {
17037    {
17038#line 476
17039    __cil_tmp36 = (int    )476;
17040#line 476
17041    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c",
17042                       __cil_tmp36);
17043    }
17044  } else {
17045
17046  }
17047  {
17048#line 476
17049  __cil_tmp37 = ! __ret_warn_on;
17050#line 476
17051  __cil_tmp38 = ! __cil_tmp37;
17052#line 476
17053  __cil_tmp39 = (long )__cil_tmp38;
17054#line 476
17055  __builtin_expect(__cil_tmp39, 0L);
17056#line 478
17057  __cil_tmp40 = 0 * 1UL;
17058#line 478
17059  __cil_tmp41 = 9 + __cil_tmp40;
17060#line 478
17061  __cil_tmp42 = (unsigned long )fh;
17062#line 478
17063  __cil_tmp43 = __cil_tmp42 + __cil_tmp41;
17064#line 478
17065  __cil_tmp44 = (__u8 *)__cil_tmp43;
17066#line 478
17067  __cil_tmp45 = (u8    *)__cil_tmp44;
17068#line 478
17069  f_ctl = ntoh24(__cil_tmp45);
17070#line 479
17071  fc_exch_setup_hdr(ep, fp, f_ctl);
17072#line 480
17073  __cil_tmp46 = 0 * 1UL;
17074#line 480
17075  __cil_tmp47 = 40 + __cil_tmp46;
17076#line 480
17077  __cil_tmp48 = 0 + __cil_tmp47;
17078#line 480
17079  __cil_tmp49 = (unsigned long )fp;
17080#line 480
17081  __cil_tmp50 = __cil_tmp49 + __cil_tmp48;
17082#line 480
17083  __cil_tmp51 = (char *)__cil_tmp50;
17084#line 480
17085  __cil_tmp52 = (struct fcoe_rcv_info *)__cil_tmp51;
17086#line 480
17087  __cil_tmp53 = (unsigned long )__cil_tmp52;
17088#line 480
17089  __cil_tmp54 = __cil_tmp53 + 33;
17090#line 480
17091  __cil_tmp55 = (unsigned long )ep;
17092#line 480
17093  __cil_tmp56 = __cil_tmp55 + 79;
17094#line 480
17095  *((u8 *)__cil_tmp54) = *((u8 *)__cil_tmp56);
17096  }
17097  {
17098#line 487
17099  __cil_tmp57 = 0 * 1UL;
17100#line 487
17101  __cil_tmp58 = 40 + __cil_tmp57;
17102#line 487
17103  __cil_tmp59 = 0 + __cil_tmp58;
17104#line 487
17105  __cil_tmp60 = (unsigned long )fp;
17106#line 487
17107  __cil_tmp61 = __cil_tmp60 + __cil_tmp59;
17108#line 487
17109  __cil_tmp62 = (char *)__cil_tmp61;
17110#line 487
17111  __cil_tmp63 = (struct fcoe_rcv_info *)__cil_tmp62;
17112#line 487
17113  __cil_tmp64 = (unsigned long )__cil_tmp63;
17114#line 487
17115  __cil_tmp65 = __cil_tmp64 + 28;
17116#line 487
17117  if (*((u16 *)__cil_tmp65)) {
17118#line 488
17119    __cil_tmp66 = (unsigned long )sp;
17120#line 488
17121    __cil_tmp67 = __cil_tmp66 + 4;
17122#line 488
17123    __cil_tmp68 = 0 * 1UL;
17124#line 488
17125    __cil_tmp69 = 40 + __cil_tmp68;
17126#line 488
17127    __cil_tmp70 = 0 + __cil_tmp69;
17128#line 488
17129    __cil_tmp71 = (unsigned long )fp;
17130#line 488
17131    __cil_tmp72 = __cil_tmp71 + __cil_tmp70;
17132#line 488
17133    __cil_tmp73 = (char *)__cil_tmp72;
17134#line 488
17135    __cil_tmp74 = (struct fcoe_rcv_info *)__cil_tmp73;
17136#line 488
17137    __cil_tmp75 = (unsigned long )__cil_tmp74;
17138#line 488
17139    __cil_tmp76 = __cil_tmp75 + 28;
17140#line 488
17141    __cil_tmp77 = *((u16 *)__cil_tmp76);
17142#line 488
17143    __cil_tmp78 = (unsigned long )__cil_tmp77;
17144#line 488
17145    __cil_tmp79 = 0 * 1UL;
17146#line 488
17147    __cil_tmp80 = 40 + __cil_tmp79;
17148#line 488
17149    __cil_tmp81 = 0 + __cil_tmp80;
17150#line 488
17151    __cil_tmp82 = (unsigned long )fp;
17152#line 488
17153    __cil_tmp83 = __cil_tmp82 + __cil_tmp81;
17154#line 488
17155    __cil_tmp84 = (char *)__cil_tmp83;
17156#line 488
17157    __cil_tmp85 = (struct fcoe_rcv_info *)__cil_tmp84;
17158#line 488
17159    __cil_tmp86 = (unsigned long )__cil_tmp85;
17160#line 488
17161    __cil_tmp87 = __cil_tmp86 + 28;
17162#line 488
17163    __cil_tmp88 = *((u16 *)__cil_tmp87);
17164#line 488
17165    __cil_tmp89 = (unsigned long )__cil_tmp88;
17166#line 488
17167    __cil_tmp90 = 0 + 104;
17168#line 488
17169    __cil_tmp91 = (unsigned long )fp;
17170#line 488
17171    __cil_tmp92 = __cil_tmp91 + __cil_tmp90;
17172#line 488
17173    __cil_tmp93 = *((unsigned int *)__cil_tmp92);
17174#line 488
17175    __cil_tmp94 = (unsigned long )__cil_tmp93;
17176#line 488
17177    __cil_tmp95 = __cil_tmp94 - 24UL;
17178#line 488
17179    __cil_tmp96 = __cil_tmp95 + __cil_tmp89;
17180#line 488
17181    __cil_tmp97 = __cil_tmp96 - 1UL;
17182#line 488
17183    __cil_tmp98 = __cil_tmp97 / __cil_tmp78;
17184#line 488
17185    __cil_tmp99 = (unsigned long )sp;
17186#line 488
17187    __cil_tmp100 = __cil_tmp99 + 4;
17188#line 488
17189    __cil_tmp101 = *((u16 *)__cil_tmp100);
17190#line 488
17191    __cil_tmp102 = (unsigned long )__cil_tmp101;
17192#line 488
17193    __cil_tmp103 = __cil_tmp102 + __cil_tmp98;
17194#line 488
17195    *((u16 *)__cil_tmp67) = (u16 )__cil_tmp103;
17196  } else {
17197#line 491
17198    __cil_tmp104 = (unsigned long )sp;
17199#line 491
17200    __cil_tmp105 = __cil_tmp104 + 4;
17201#line 491
17202    __cil_tmp106 = (unsigned long )sp;
17203#line 491
17204    __cil_tmp107 = __cil_tmp106 + 4;
17205#line 491
17206    __cil_tmp108 = *((u16 *)__cil_tmp107);
17207#line 491
17208    __cil_tmp109 = (int )__cil_tmp108;
17209#line 491
17210    __cil_tmp110 = __cil_tmp109 + 1;
17211#line 491
17212    *((u16 *)__cil_tmp105) = (u16 )__cil_tmp110;
17213  }
17214  }
17215  {
17216#line 496
17217  __cil_tmp111 = (unsigned long )lport;
17218#line 496
17219  __cil_tmp112 = __cil_tmp111 + 328;
17220#line 496
17221  __cil_tmp113 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp112);
17222#line 496
17223  error = (*__cil_tmp113)(lport, fp);
17224  }
17225  {
17226#line 498
17227  __cil_tmp114 = (int )fh_type;
17228#line 498
17229  if (__cil_tmp114 == 0) {
17230#line 499
17231    return (error);
17232  } else {
17233
17234  }
17235  }
17236  {
17237#line 506
17238  __cil_tmp115 = (spinlock_t *)ep;
17239#line 506
17240  spin_lock_bh(__cil_tmp115);
17241#line 507
17242  __cil_tmp116 = (unsigned long )ep;
17243#line 507
17244  __cil_tmp117 = __cil_tmp116 + 104;
17245#line 507
17246  __cil_tmp118 = 1 << 21;
17247#line 507
17248  __cil_tmp119 = ~ __cil_tmp118;
17249#line 507
17250  __cil_tmp120 = (unsigned int )__cil_tmp119;
17251#line 507
17252  *((u32 *)__cil_tmp117) = f_ctl & __cil_tmp120;
17253  }
17254  {
17255#line 508
17256  __cil_tmp121 = 1 << 16;
17257#line 508
17258  __cil_tmp122 = (unsigned int )__cil_tmp121;
17259#line 508
17260  if (f_ctl & __cil_tmp122) {
17261#line 509
17262    __cil_tmp123 = (unsigned long )ep;
17263#line 509
17264    __cil_tmp124 = __cil_tmp123 + 72;
17265#line 509
17266    __cil_tmp125 = 1 << 30;
17267#line 509
17268    __cil_tmp126 = ~ __cil_tmp125;
17269#line 509
17270    __cil_tmp127 = (unsigned int )__cil_tmp126;
17271#line 509
17272    __cil_tmp128 = (unsigned long )ep;
17273#line 509
17274    __cil_tmp129 = __cil_tmp128 + 72;
17275#line 509
17276    __cil_tmp130 = *((u32 *)__cil_tmp129);
17277#line 509
17278    *((u32 *)__cil_tmp124) = __cil_tmp130 & __cil_tmp127;
17279  } else {
17280
17281  }
17282  }
17283  {
17284#line 510
17285  __cil_tmp131 = (spinlock_t *)ep;
17286#line 510
17287  spin_unlock_bh(__cil_tmp131);
17288  }
17289#line 511
17290  return (error);
17291}
17292}
17293#line 523 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
17294static struct fc_seq *fc_seq_alloc(struct fc_exch *ep , u8 seq_id ) 
17295{ struct fc_seq *sp ;
17296  unsigned long __cil_tmp4 ;
17297  unsigned long __cil_tmp5 ;
17298  unsigned long __cil_tmp6 ;
17299  unsigned long __cil_tmp7 ;
17300  unsigned long __cil_tmp8 ;
17301  unsigned long __cil_tmp9 ;
17302
17303  {
17304#line 527
17305  __cil_tmp4 = (unsigned long )ep;
17306#line 527
17307  __cil_tmp5 = __cil_tmp4 + 108;
17308#line 527
17309  sp = (struct fc_seq *)__cil_tmp5;
17310#line 528
17311  __cil_tmp6 = (unsigned long )sp;
17312#line 528
17313  __cil_tmp7 = __cil_tmp6 + 2;
17314#line 528
17315  *((u16 *)__cil_tmp7) = (u16 )0;
17316#line 529
17317  __cil_tmp8 = (unsigned long )sp;
17318#line 529
17319  __cil_tmp9 = __cil_tmp8 + 4;
17320#line 529
17321  *((u16 *)__cil_tmp9) = (u16 )0;
17322#line 530
17323  *((u8 *)sp) = seq_id;
17324#line 531
17325  return (sp);
17326}
17327}
17328#line 539 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
17329static struct fc_seq *fc_seq_start_next_locked(struct fc_seq *sp ) 
17330{ struct fc_exch *ep ;
17331  struct fc_seq    *__mptr ;
17332  u8 tmp___7 ;
17333  long tmp___8 ;
17334  struct fc_exch *__cil_tmp6 ;
17335  unsigned long __cil_tmp7 ;
17336  unsigned long __cil_tmp8 ;
17337  struct fc_seq *__cil_tmp9 ;
17338  unsigned int __cil_tmp10 ;
17339  char *__cil_tmp11 ;
17340  char *__cil_tmp12 ;
17341  unsigned long __cil_tmp13 ;
17342  unsigned long __cil_tmp14 ;
17343  unsigned long __cil_tmp15 ;
17344  unsigned long __cil_tmp16 ;
17345  unsigned long __cil_tmp17 ;
17346  unsigned long __cil_tmp18 ;
17347  u8 __cil_tmp19 ;
17348  int __cil_tmp20 ;
17349  int __cil_tmp21 ;
17350  u8 __cil_tmp22 ;
17351  unsigned int *__cil_tmp23 ;
17352  unsigned int __cil_tmp24 ;
17353  unsigned int __cil_tmp25 ;
17354  int __cil_tmp26 ;
17355  int __cil_tmp27 ;
17356  long __cil_tmp28 ;
17357  unsigned long __cil_tmp29 ;
17358  unsigned long __cil_tmp30 ;
17359  struct fc_lport *__cil_tmp31 ;
17360  struct Scsi_Host *__cil_tmp32 ;
17361  unsigned long __cil_tmp33 ;
17362  unsigned long __cil_tmp34 ;
17363  unsigned int __cil_tmp35 ;
17364  unsigned long __cil_tmp36 ;
17365  unsigned long __cil_tmp37 ;
17366  u16 __cil_tmp38 ;
17367  int __cil_tmp39 ;
17368  unsigned long __cil_tmp40 ;
17369  unsigned long __cil_tmp41 ;
17370  u32 __cil_tmp42 ;
17371  u8 __cil_tmp43 ;
17372  int __cil_tmp44 ;
17373
17374  {
17375  {
17376#line 541
17377  __mptr = (struct fc_seq    *)sp;
17378#line 541
17379  __cil_tmp6 = (struct fc_exch *)0;
17380#line 541
17381  __cil_tmp7 = (unsigned long )__cil_tmp6;
17382#line 541
17383  __cil_tmp8 = __cil_tmp7 + 108;
17384#line 541
17385  __cil_tmp9 = (struct fc_seq *)__cil_tmp8;
17386#line 541
17387  __cil_tmp10 = (unsigned int )__cil_tmp9;
17388#line 541
17389  __cil_tmp11 = (char *)__mptr;
17390#line 541
17391  __cil_tmp12 = __cil_tmp11 - __cil_tmp10;
17392#line 541
17393  ep = (struct fc_exch *)__cil_tmp12;
17394#line 543
17395  __cil_tmp13 = (unsigned long )ep;
17396#line 543
17397  __cil_tmp14 = __cil_tmp13 + 78;
17398#line 543
17399  tmp___7 = *((u8 *)__cil_tmp14);
17400#line 543
17401  __cil_tmp15 = (unsigned long )ep;
17402#line 543
17403  __cil_tmp16 = __cil_tmp15 + 78;
17404#line 543
17405  __cil_tmp17 = (unsigned long )ep;
17406#line 543
17407  __cil_tmp18 = __cil_tmp17 + 78;
17408#line 543
17409  __cil_tmp19 = *((u8 *)__cil_tmp18);
17410#line 543
17411  __cil_tmp20 = (int )__cil_tmp19;
17412#line 543
17413  __cil_tmp21 = __cil_tmp20 + 1;
17414#line 543
17415  *((u8 *)__cil_tmp16) = (u8 )__cil_tmp21;
17416#line 543
17417  __cil_tmp22 = (u8 )tmp___7;
17418#line 543
17419  sp = fc_seq_alloc(ep, __cil_tmp22);
17420  }
17421  {
17422#line 544
17423  while (1) {
17424    while_continue: /* CIL Label */ ;
17425    {
17426#line 544
17427    __cil_tmp23 = & fc_debug_logging;
17428#line 544
17429    __cil_tmp24 = *__cil_tmp23;
17430#line 544
17431    __cil_tmp25 = __cil_tmp24 & 64U;
17432#line 544
17433    __cil_tmp26 = ! __cil_tmp25;
17434#line 544
17435    __cil_tmp27 = ! __cil_tmp26;
17436#line 544
17437    __cil_tmp28 = (long )__cil_tmp27;
17438#line 544
17439    tmp___8 = __builtin_expect(__cil_tmp28, 0L);
17440    }
17441#line 544
17442    if (tmp___8) {
17443      {
17444#line 544
17445      while (1) {
17446        while_continue___0: /* CIL Label */ ;
17447        {
17448#line 544
17449        __cil_tmp29 = (unsigned long )ep;
17450#line 544
17451        __cil_tmp30 = __cil_tmp29 + 64;
17452#line 544
17453        __cil_tmp31 = *((struct fc_lport **)__cil_tmp30);
17454#line 544
17455        __cil_tmp32 = *((struct Scsi_Host **)__cil_tmp31);
17456#line 544
17457        __cil_tmp33 = (unsigned long )__cil_tmp32;
17458#line 544
17459        __cil_tmp34 = __cil_tmp33 + 308;
17460#line 544
17461        __cil_tmp35 = *((unsigned int *)__cil_tmp34);
17462#line 544
17463        __cil_tmp36 = (unsigned long )ep;
17464#line 544
17465        __cil_tmp37 = __cil_tmp36 + 80;
17466#line 544
17467        __cil_tmp38 = *((u16 *)__cil_tmp37);
17468#line 544
17469        __cil_tmp39 = (int )__cil_tmp38;
17470#line 544
17471        __cil_tmp40 = (unsigned long )ep;
17472#line 544
17473        __cil_tmp41 = __cil_tmp40 + 104;
17474#line 544
17475        __cil_tmp42 = *((u32 *)__cil_tmp41);
17476#line 544
17477        __cil_tmp43 = *((u8 *)sp);
17478#line 544
17479        __cil_tmp44 = (int )__cil_tmp43;
17480#line 544
17481        printk("<6>host%u: xid %4x: f_ctl %6x seq %2x\n", __cil_tmp35, __cil_tmp39,
17482               __cil_tmp42, __cil_tmp44);
17483        }
17484#line 544
17485        goto while_break___0;
17486      }
17487      while_break___0: /* CIL Label */ ;
17488      }
17489    } else {
17490
17491    }
17492#line 544
17493    goto while_break;
17494  }
17495  while_break: /* CIL Label */ ;
17496  }
17497#line 546
17498  return (sp);
17499}
17500}
17501#line 554 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
17502static struct fc_seq *fc_seq_start_next(struct fc_seq *sp ) 
17503{ struct fc_exch *ep ;
17504  struct fc_seq    *__mptr ;
17505  struct fc_exch *__cil_tmp4 ;
17506  unsigned long __cil_tmp5 ;
17507  unsigned long __cil_tmp6 ;
17508  struct fc_seq *__cil_tmp7 ;
17509  unsigned int __cil_tmp8 ;
17510  char *__cil_tmp9 ;
17511  char *__cil_tmp10 ;
17512  spinlock_t *__cil_tmp11 ;
17513  spinlock_t *__cil_tmp12 ;
17514
17515  {
17516  {
17517#line 556
17518  __mptr = (struct fc_seq    *)sp;
17519#line 556
17520  __cil_tmp4 = (struct fc_exch *)0;
17521#line 556
17522  __cil_tmp5 = (unsigned long )__cil_tmp4;
17523#line 556
17524  __cil_tmp6 = __cil_tmp5 + 108;
17525#line 556
17526  __cil_tmp7 = (struct fc_seq *)__cil_tmp6;
17527#line 556
17528  __cil_tmp8 = (unsigned int )__cil_tmp7;
17529#line 556
17530  __cil_tmp9 = (char *)__mptr;
17531#line 556
17532  __cil_tmp10 = __cil_tmp9 - __cil_tmp8;
17533#line 556
17534  ep = (struct fc_exch *)__cil_tmp10;
17535#line 558
17536  __cil_tmp11 = (spinlock_t *)ep;
17537#line 558
17538  spin_lock_bh(__cil_tmp11);
17539#line 559
17540  sp = fc_seq_start_next_locked(sp);
17541#line 560
17542  __cil_tmp12 = (spinlock_t *)ep;
17543#line 560
17544  spin_unlock_bh(__cil_tmp12);
17545  }
17546#line 562
17547  return (sp);
17548}
17549}
17550#line 568 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
17551static void fc_seq_set_resp(struct fc_seq *sp , void (*resp)(struct fc_seq * , struct fc_frame * ,
17552                                                             void * ) , void *arg ) 
17553{ struct fc_exch *ep ;
17554  struct fc_seq    *__mptr ;
17555  struct fc_exch *__cil_tmp6 ;
17556  unsigned long __cil_tmp7 ;
17557  unsigned long __cil_tmp8 ;
17558  struct fc_seq *__cil_tmp9 ;
17559  unsigned int __cil_tmp10 ;
17560  char *__cil_tmp11 ;
17561  char *__cil_tmp12 ;
17562  spinlock_t *__cil_tmp13 ;
17563  unsigned long __cil_tmp14 ;
17564  unsigned long __cil_tmp15 ;
17565  unsigned long __cil_tmp16 ;
17566  unsigned long __cil_tmp17 ;
17567  spinlock_t *__cil_tmp18 ;
17568
17569  {
17570  {
17571#line 573
17572  __mptr = (struct fc_seq    *)sp;
17573#line 573
17574  __cil_tmp6 = (struct fc_exch *)0;
17575#line 573
17576  __cil_tmp7 = (unsigned long )__cil_tmp6;
17577#line 573
17578  __cil_tmp8 = __cil_tmp7 + 108;
17579#line 573
17580  __cil_tmp9 = (struct fc_seq *)__cil_tmp8;
17581#line 573
17582  __cil_tmp10 = (unsigned int )__cil_tmp9;
17583#line 573
17584  __cil_tmp11 = (char *)__mptr;
17585#line 573
17586  __cil_tmp12 = __cil_tmp11 - __cil_tmp10;
17587#line 573
17588  ep = (struct fc_exch *)__cil_tmp12;
17589#line 575
17590  __cil_tmp13 = (spinlock_t *)ep;
17591#line 575
17592  spin_lock_bh(__cil_tmp13);
17593#line 576
17594  __cil_tmp14 = (unsigned long )ep;
17595#line 576
17596  __cil_tmp15 = __cil_tmp14 + 120;
17597#line 576
17598  *((void (**)(struct fc_seq * , struct fc_frame * , void * ))__cil_tmp15) = resp;
17599#line 577
17600  __cil_tmp16 = (unsigned long )ep;
17601#line 577
17602  __cil_tmp17 = __cil_tmp16 + 128;
17603#line 577
17604  *((void **)__cil_tmp17) = arg;
17605#line 578
17606  __cil_tmp18 = (spinlock_t *)ep;
17607#line 578
17608  spin_unlock_bh(__cil_tmp18);
17609  }
17610#line 579
17611  return;
17612}
17613}
17614#line 590 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
17615static int fc_exch_abort_locked(struct fc_exch *ep , unsigned int timer_msec ) 
17616{ struct fc_seq *sp ;
17617  struct fc_frame *fp ;
17618  int error ;
17619  int __cil_tmp6 ;
17620  int __cil_tmp7 ;
17621  int __cil_tmp8 ;
17622  unsigned int __cil_tmp9 ;
17623  unsigned long __cil_tmp10 ;
17624  unsigned long __cil_tmp11 ;
17625  u32 __cil_tmp12 ;
17626  int __cil_tmp13 ;
17627  int __cil_tmp14 ;
17628  unsigned long __cil_tmp15 ;
17629  unsigned long __cil_tmp16 ;
17630  u8 __cil_tmp17 ;
17631  int __cil_tmp18 ;
17632  unsigned long __cil_tmp19 ;
17633  unsigned long __cil_tmp20 ;
17634  struct fc_seq *__cil_tmp21 ;
17635  unsigned long __cil_tmp22 ;
17636  unsigned long __cil_tmp23 ;
17637  int __cil_tmp24 ;
17638  int __cil_tmp25 ;
17639  int __cil_tmp26 ;
17640  unsigned int __cil_tmp27 ;
17641  unsigned long __cil_tmp28 ;
17642  unsigned long __cil_tmp29 ;
17643  u32 __cil_tmp30 ;
17644  unsigned long __cil_tmp31 ;
17645  unsigned long __cil_tmp32 ;
17646  u32 __cil_tmp33 ;
17647  unsigned long __cil_tmp34 ;
17648  unsigned long __cil_tmp35 ;
17649  struct fc_lport *__cil_tmp36 ;
17650  size_t __cil_tmp37 ;
17651  enum fc_rctl __cil_tmp38 ;
17652  unsigned long __cil_tmp39 ;
17653  unsigned long __cil_tmp40 ;
17654  u32 __cil_tmp41 ;
17655  unsigned long __cil_tmp42 ;
17656  unsigned long __cil_tmp43 ;
17657  u32 __cil_tmp44 ;
17658  enum fc_fh_type __cil_tmp45 ;
17659  int __cil_tmp46 ;
17660  int __cil_tmp47 ;
17661  int __cil_tmp48 ;
17662  u32 __cil_tmp49 ;
17663  u32 __cil_tmp50 ;
17664  unsigned long __cil_tmp51 ;
17665  unsigned long __cil_tmp52 ;
17666  struct fc_lport *__cil_tmp53 ;
17667
17668  {
17669  {
17670#line 597
17671  __cil_tmp6 = 1 << 28;
17672#line 597
17673  __cil_tmp7 = 1 << 29;
17674#line 597
17675  __cil_tmp8 = __cil_tmp7 | __cil_tmp6;
17676#line 597
17677  __cil_tmp9 = (unsigned int )__cil_tmp8;
17678#line 597
17679  __cil_tmp10 = (unsigned long )ep;
17680#line 597
17681  __cil_tmp11 = __cil_tmp10 + 72;
17682#line 597
17683  __cil_tmp12 = *((u32 *)__cil_tmp11);
17684#line 597
17685  if (__cil_tmp12 & __cil_tmp9) {
17686#line 599
17687    return (-6);
17688  } else {
17689    {
17690#line 597
17691    __cil_tmp13 = 1 << 1;
17692#line 597
17693    __cil_tmp14 = 1 | __cil_tmp13;
17694#line 597
17695    __cil_tmp15 = (unsigned long )ep;
17696#line 597
17697    __cil_tmp16 = __cil_tmp15 + 76;
17698#line 597
17699    __cil_tmp17 = *((u8 *)__cil_tmp16);
17700#line 597
17701    __cil_tmp18 = (int )__cil_tmp17;
17702#line 597
17703    if (__cil_tmp18 & __cil_tmp14) {
17704#line 599
17705      return (-6);
17706    } else {
17707
17708    }
17709    }
17710  }
17711  }
17712  {
17713#line 604
17714  __cil_tmp19 = (unsigned long )ep;
17715#line 604
17716  __cil_tmp20 = __cil_tmp19 + 108;
17717#line 604
17718  __cil_tmp21 = (struct fc_seq *)__cil_tmp20;
17719#line 604
17720  sp = fc_seq_start_next_locked(__cil_tmp21);
17721  }
17722#line 605
17723  if (! sp) {
17724#line 606
17725    return (-12);
17726  } else {
17727
17728  }
17729#line 608
17730  __cil_tmp22 = (unsigned long )ep;
17731#line 608
17732  __cil_tmp23 = __cil_tmp22 + 72;
17733#line 608
17734  __cil_tmp24 = 1 << 28;
17735#line 608
17736  __cil_tmp25 = 1 << 30;
17737#line 608
17738  __cil_tmp26 = __cil_tmp25 | __cil_tmp24;
17739#line 608
17740  __cil_tmp27 = (unsigned int )__cil_tmp26;
17741#line 608
17742  __cil_tmp28 = (unsigned long )ep;
17743#line 608
17744  __cil_tmp29 = __cil_tmp28 + 72;
17745#line 608
17746  __cil_tmp30 = *((u32 *)__cil_tmp29);
17747#line 608
17748  *((u32 *)__cil_tmp23) = __cil_tmp30 | __cil_tmp27;
17749#line 609
17750  if (timer_msec) {
17751    {
17752#line 610
17753    fc_exch_timer_set_locked(ep, timer_msec);
17754    }
17755  } else {
17756
17757  }
17758  {
17759#line 616
17760  __cil_tmp31 = (unsigned long )ep;
17761#line 616
17762  __cil_tmp32 = __cil_tmp31 + 92;
17763#line 616
17764  __cil_tmp33 = *((u32 *)__cil_tmp32);
17765#line 616
17766  if (! __cil_tmp33) {
17767#line 617
17768    return (0);
17769  } else {
17770
17771  }
17772  }
17773  {
17774#line 622
17775  __cil_tmp34 = (unsigned long )ep;
17776#line 622
17777  __cil_tmp35 = __cil_tmp34 + 64;
17778#line 622
17779  __cil_tmp36 = *((struct fc_lport **)__cil_tmp35);
17780#line 622
17781  __cil_tmp37 = (size_t )0;
17782#line 622
17783  fp = fc_frame_alloc(__cil_tmp36, __cil_tmp37);
17784  }
17785#line 623
17786  if (fp) {
17787    {
17788#line 624
17789    __cil_tmp38 = (enum fc_rctl )129;
17790#line 624
17791    __cil_tmp39 = (unsigned long )ep;
17792#line 624
17793    __cil_tmp40 = __cil_tmp39 + 96;
17794#line 624
17795    __cil_tmp41 = *((u32 *)__cil_tmp40);
17796#line 624
17797    __cil_tmp42 = (unsigned long )ep;
17798#line 624
17799    __cil_tmp43 = __cil_tmp42 + 92;
17800#line 624
17801    __cil_tmp44 = *((u32 *)__cil_tmp43);
17802#line 624
17803    __cil_tmp45 = (enum fc_fh_type )0;
17804#line 624
17805    __cil_tmp46 = 1 << 16;
17806#line 624
17807    __cil_tmp47 = 1 << 19;
17808#line 624
17809    __cil_tmp48 = __cil_tmp47 | __cil_tmp46;
17810#line 624
17811    __cil_tmp49 = (u32 )__cil_tmp48;
17812#line 624
17813    __cil_tmp50 = (u32 )0;
17814#line 624
17815    fc_fill_fc_hdr(fp, __cil_tmp38, __cil_tmp41, __cil_tmp44, __cil_tmp45, __cil_tmp49,
17816                   __cil_tmp50);
17817#line 626
17818    __cil_tmp51 = (unsigned long )ep;
17819#line 626
17820    __cil_tmp52 = __cil_tmp51 + 64;
17821#line 626
17822    __cil_tmp53 = *((struct fc_lport **)__cil_tmp52);
17823#line 626
17824    error = fc_seq_send(__cil_tmp53, sp, fp);
17825    }
17826  } else {
17827#line 628
17828    error = -105;
17829  }
17830#line 629
17831  return (error);
17832}
17833}
17834#line 641 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
17835static int fc_seq_exch_abort(struct fc_seq    *req_sp , unsigned int timer_msec ) 
17836{ struct fc_exch *ep ;
17837  int error ;
17838  struct fc_seq    *__mptr ;
17839  struct fc_exch *__cil_tmp6 ;
17840  unsigned long __cil_tmp7 ;
17841  unsigned long __cil_tmp8 ;
17842  struct fc_seq *__cil_tmp9 ;
17843  unsigned int __cil_tmp10 ;
17844  char *__cil_tmp11 ;
17845  char *__cil_tmp12 ;
17846  spinlock_t *__cil_tmp13 ;
17847  spinlock_t *__cil_tmp14 ;
17848
17849  {
17850  {
17851#line 647
17852  __mptr = req_sp;
17853#line 647
17854  __cil_tmp6 = (struct fc_exch *)0;
17855#line 647
17856  __cil_tmp7 = (unsigned long )__cil_tmp6;
17857#line 647
17858  __cil_tmp8 = __cil_tmp7 + 108;
17859#line 647
17860  __cil_tmp9 = (struct fc_seq *)__cil_tmp8;
17861#line 647
17862  __cil_tmp10 = (unsigned int )__cil_tmp9;
17863#line 647
17864  __cil_tmp11 = (char *)__mptr;
17865#line 647
17866  __cil_tmp12 = __cil_tmp11 - __cil_tmp10;
17867#line 647
17868  ep = (struct fc_exch *)__cil_tmp12;
17869#line 648
17870  __cil_tmp13 = (spinlock_t *)ep;
17871#line 648
17872  spin_lock_bh(__cil_tmp13);
17873#line 649
17874  error = fc_exch_abort_locked(ep, timer_msec);
17875#line 650
17876  __cil_tmp14 = (spinlock_t *)ep;
17877#line 650
17878  spin_unlock_bh(__cil_tmp14);
17879  }
17880#line 651
17881  return (error);
17882}
17883}
17884#line 658 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
17885static void fc_exch_timeout(struct work_struct *work ) 
17886{ struct fc_exch *ep ;
17887  struct work_struct    *__mptr ;
17888  struct fc_seq *sp ;
17889  void (*resp)(struct fc_seq * , struct fc_frame *fp , void *arg ) ;
17890  void *arg ;
17891  u32 e_stat ;
17892  int rc ;
17893  long tmp___7 ;
17894  void *tmp___8 ;
17895  struct fc_exch *__cil_tmp11 ;
17896  unsigned long __cil_tmp12 ;
17897  unsigned long __cil_tmp13 ;
17898  struct work_struct *__cil_tmp14 ;
17899  unsigned int __cil_tmp15 ;
17900  char *__cil_tmp16 ;
17901  char *__cil_tmp17 ;
17902  unsigned long __cil_tmp18 ;
17903  unsigned long __cil_tmp19 ;
17904  unsigned int *__cil_tmp20 ;
17905  unsigned int __cil_tmp21 ;
17906  unsigned int __cil_tmp22 ;
17907  int __cil_tmp23 ;
17908  int __cil_tmp24 ;
17909  long __cil_tmp25 ;
17910  unsigned long __cil_tmp26 ;
17911  unsigned long __cil_tmp27 ;
17912  struct fc_lport *__cil_tmp28 ;
17913  struct Scsi_Host *__cil_tmp29 ;
17914  unsigned long __cil_tmp30 ;
17915  unsigned long __cil_tmp31 ;
17916  unsigned int __cil_tmp32 ;
17917  unsigned long __cil_tmp33 ;
17918  unsigned long __cil_tmp34 ;
17919  u16 __cil_tmp35 ;
17920  int __cil_tmp36 ;
17921  spinlock_t *__cil_tmp37 ;
17922  int __cil_tmp38 ;
17923  int __cil_tmp39 ;
17924  unsigned long __cil_tmp40 ;
17925  unsigned long __cil_tmp41 ;
17926  u8 __cil_tmp42 ;
17927  int __cil_tmp43 ;
17928  unsigned long __cil_tmp44 ;
17929  unsigned long __cil_tmp45 ;
17930  int __cil_tmp46 ;
17931  unsigned int __cil_tmp47 ;
17932  unsigned long __cil_tmp48 ;
17933  unsigned long __cil_tmp49 ;
17934  int __cil_tmp50 ;
17935  int __cil_tmp51 ;
17936  unsigned int __cil_tmp52 ;
17937  spinlock_t *__cil_tmp53 ;
17938  int __cil_tmp54 ;
17939  unsigned int __cil_tmp55 ;
17940  unsigned long __cil_tmp56 ;
17941  unsigned long __cil_tmp57 ;
17942  unsigned long __cil_tmp58 ;
17943  unsigned long __cil_tmp59 ;
17944  unsigned long __cil_tmp60 ;
17945  unsigned long __cil_tmp61 ;
17946  void *__cil_tmp62 ;
17947  int __cil_tmp63 ;
17948  unsigned int __cil_tmp64 ;
17949  spinlock_t *__cil_tmp65 ;
17950  struct fc_frame *__cil_tmp66 ;
17951  struct fc_seq    *__cil_tmp67 ;
17952  unsigned long __cil_tmp68 ;
17953  unsigned long __cil_tmp69 ;
17954  u32 __cil_tmp70 ;
17955  u32 __cil_tmp71 ;
17956  spinlock_t *__cil_tmp72 ;
17957
17958  {
17959#line 660
17960  __mptr = (struct work_struct    *)work;
17961#line 660
17962  __cil_tmp11 = (struct fc_exch *)0;
17963#line 660
17964  __cil_tmp12 = (unsigned long )__cil_tmp11;
17965#line 660
17966  __cil_tmp13 = __cil_tmp12 + 144;
17967#line 660
17968  __cil_tmp14 = (struct work_struct *)__cil_tmp13;
17969#line 660
17970  __cil_tmp15 = (unsigned int )__cil_tmp14;
17971#line 660
17972  __cil_tmp16 = (char *)__mptr;
17973#line 660
17974  __cil_tmp17 = __cil_tmp16 - __cil_tmp15;
17975#line 660
17976  ep = (struct fc_exch *)__cil_tmp17;
17977#line 662
17978  __cil_tmp18 = (unsigned long )ep;
17979#line 662
17980  __cil_tmp19 = __cil_tmp18 + 108;
17981#line 662
17982  sp = (struct fc_seq *)__cil_tmp19;
17983#line 666
17984  rc = 1;
17985  {
17986#line 668
17987  while (1) {
17988    while_continue: /* CIL Label */ ;
17989    {
17990#line 668
17991    __cil_tmp20 = & fc_debug_logging;
17992#line 668
17993    __cil_tmp21 = *__cil_tmp20;
17994#line 668
17995    __cil_tmp22 = __cil_tmp21 & 64U;
17996#line 668
17997    __cil_tmp23 = ! __cil_tmp22;
17998#line 668
17999    __cil_tmp24 = ! __cil_tmp23;
18000#line 668
18001    __cil_tmp25 = (long )__cil_tmp24;
18002#line 668
18003    tmp___7 = __builtin_expect(__cil_tmp25, 0L);
18004    }
18005#line 668
18006    if (tmp___7) {
18007      {
18008#line 668
18009      while (1) {
18010        while_continue___0: /* CIL Label */ ;
18011        {
18012#line 668
18013        __cil_tmp26 = (unsigned long )ep;
18014#line 668
18015        __cil_tmp27 = __cil_tmp26 + 64;
18016#line 668
18017        __cil_tmp28 = *((struct fc_lport **)__cil_tmp27);
18018#line 668
18019        __cil_tmp29 = *((struct Scsi_Host **)__cil_tmp28);
18020#line 668
18021        __cil_tmp30 = (unsigned long )__cil_tmp29;
18022#line 668
18023        __cil_tmp31 = __cil_tmp30 + 308;
18024#line 668
18025        __cil_tmp32 = *((unsigned int *)__cil_tmp31);
18026#line 668
18027        __cil_tmp33 = (unsigned long )ep;
18028#line 668
18029        __cil_tmp34 = __cil_tmp33 + 80;
18030#line 668
18031        __cil_tmp35 = *((u16 *)__cil_tmp34);
18032#line 668
18033        __cil_tmp36 = (int )__cil_tmp35;
18034#line 668
18035        printk("<6>host%u: xid %4x: Exchange timed out\n", __cil_tmp32, __cil_tmp36);
18036        }
18037#line 668
18038        goto while_break___0;
18039      }
18040      while_break___0: /* CIL Label */ ;
18041      }
18042    } else {
18043
18044    }
18045#line 668
18046    goto while_break;
18047  }
18048  while_break: /* CIL Label */ ;
18049  }
18050  {
18051#line 670
18052  __cil_tmp37 = (spinlock_t *)ep;
18053#line 670
18054  spin_lock_bh(__cil_tmp37);
18055  }
18056  {
18057#line 671
18058  __cil_tmp38 = 1 << 1;
18059#line 671
18060  __cil_tmp39 = __cil_tmp38 | 1;
18061#line 671
18062  __cil_tmp40 = (unsigned long )ep;
18063#line 671
18064  __cil_tmp41 = __cil_tmp40 + 76;
18065#line 671
18066  __cil_tmp42 = *((u8 *)__cil_tmp41);
18067#line 671
18068  __cil_tmp43 = (int )__cil_tmp42;
18069#line 671
18070  if (__cil_tmp43 & __cil_tmp39) {
18071#line 672
18072    goto unlock;
18073  } else {
18074
18075  }
18076  }
18077#line 674
18078  __cil_tmp44 = (unsigned long )ep;
18079#line 674
18080  __cil_tmp45 = __cil_tmp44 + 72;
18081#line 674
18082  e_stat = *((u32 *)__cil_tmp45);
18083  {
18084#line 675
18085  __cil_tmp46 = 1 << 29;
18086#line 675
18087  __cil_tmp47 = (unsigned int )__cil_tmp46;
18088#line 675
18089  if (e_stat & __cil_tmp47) {
18090    {
18091#line 676
18092    __cil_tmp48 = (unsigned long )ep;
18093#line 676
18094    __cil_tmp49 = __cil_tmp48 + 72;
18095#line 676
18096    __cil_tmp50 = 1 << 26;
18097#line 676
18098    __cil_tmp51 = ~ __cil_tmp50;
18099#line 676
18100    __cil_tmp52 = (unsigned int )__cil_tmp51;
18101#line 676
18102    *((u32 *)__cil_tmp49) = e_stat & __cil_tmp52;
18103#line 677
18104    __cil_tmp53 = (spinlock_t *)ep;
18105#line 677
18106    spin_unlock_bh(__cil_tmp53);
18107    }
18108    {
18109#line 678
18110    __cil_tmp54 = 1 << 26;
18111#line 678
18112    __cil_tmp55 = (unsigned int )__cil_tmp54;
18113#line 678
18114    if (e_stat & __cil_tmp55) {
18115      {
18116#line 679
18117      fc_exch_rrq(ep);
18118      }
18119    } else {
18120
18121    }
18122    }
18123#line 680
18124    goto done;
18125  } else {
18126#line 682
18127    __cil_tmp56 = (unsigned long )ep;
18128#line 682
18129    __cil_tmp57 = __cil_tmp56 + 120;
18130#line 682
18131    resp = *((void (**)(struct fc_seq * , struct fc_frame * , void * ))__cil_tmp57);
18132#line 683
18133    __cil_tmp58 = (unsigned long )ep;
18134#line 683
18135    __cil_tmp59 = __cil_tmp58 + 128;
18136#line 683
18137    arg = *((void **)__cil_tmp59);
18138#line 684
18139    __cil_tmp60 = (unsigned long )ep;
18140#line 684
18141    __cil_tmp61 = __cil_tmp60 + 120;
18142#line 684
18143    __cil_tmp62 = (void *)0;
18144#line 684
18145    *((void (**)(struct fc_seq * , struct fc_frame * , void * ))__cil_tmp61) = (void (*)(struct fc_seq * ,
18146                                                                                         struct fc_frame * ,
18147                                                                                         void * ))__cil_tmp62;
18148    {
18149#line 685
18150    __cil_tmp63 = 1 << 28;
18151#line 685
18152    __cil_tmp64 = (unsigned int )__cil_tmp63;
18153#line 685
18154    if (e_stat & __cil_tmp64) {
18155      {
18156#line 686
18157      rc = fc_exch_done_locked(ep);
18158      }
18159    } else {
18160
18161    }
18162    }
18163    {
18164#line 687
18165    __cil_tmp65 = (spinlock_t *)ep;
18166#line 687
18167    spin_unlock_bh(__cil_tmp65);
18168    }
18169#line 688
18170    if (! rc) {
18171      {
18172#line 689
18173      fc_exch_delete(ep);
18174      }
18175    } else {
18176
18177    }
18178#line 690
18179    if (resp) {
18180      {
18181#line 691
18182      tmp___8 = (void *)ERR_PTR(-1L);
18183#line 691
18184      __cil_tmp66 = (struct fc_frame *)tmp___8;
18185#line 691
18186      (*resp)(sp, __cil_tmp66, arg);
18187      }
18188    } else {
18189
18190    }
18191    {
18192#line 692
18193    __cil_tmp67 = (struct fc_seq    *)sp;
18194#line 692
18195    __cil_tmp68 = (unsigned long )ep;
18196#line 692
18197    __cil_tmp69 = __cil_tmp68 + 100;
18198#line 692
18199    __cil_tmp70 = *((u32 *)__cil_tmp69);
18200#line 692
18201    __cil_tmp71 = 2U * __cil_tmp70;
18202#line 692
18203    fc_seq_exch_abort(__cil_tmp67, __cil_tmp71);
18204    }
18205#line 693
18206    goto done;
18207  }
18208  }
18209  unlock: 
18210  {
18211#line 696
18212  __cil_tmp72 = (spinlock_t *)ep;
18213#line 696
18214  spin_unlock_bh(__cil_tmp72);
18215  }
18216  done: 
18217  {
18218#line 701
18219  fc_exch_release(ep);
18220  }
18221#line 702
18222  return;
18223}
18224}
18225#line 754 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
18226static struct lock_class_key __key___6  ;
18227#line 711 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
18228static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport , struct fc_exch_mgr *mp ) 
18229{ struct fc_exch *ep ;
18230  unsigned int cpu ;
18231  u16 index ;
18232  struct fc_exch_pool *pool ;
18233  void *tmp___7 ;
18234  struct thread_info *tmp___8 ;
18235  int pfo_ret__ ;
18236  void    *__vpp_verify ;
18237  unsigned long __ptr ;
18238  struct thread_info *tmp___9 ;
18239  struct fc_exch *tmp___10 ;
18240  u8 tmp___11 ;
18241  u16 tmp___12 ;
18242  atomic_long_t __r_expr_0 ;
18243  unsigned long __cil_tmp17 ;
18244  unsigned long __cil_tmp18 ;
18245  mempool_t *__cil_tmp19 ;
18246  unsigned long __cil_tmp20 ;
18247  unsigned long __cil_tmp21 ;
18248  atomic_t *__cil_tmp22 ;
18249  void *__cil_tmp23 ;
18250  unsigned long __cil_tmp24 ;
18251  unsigned long __cil_tmp25 ;
18252  unsigned long __cil_tmp26 ;
18253  unsigned long __cil_tmp27 ;
18254  int __cil_tmp28 ;
18255  void *__cil_tmp29 ;
18256  struct fc_exch_pool *__cil_tmp30 ;
18257  unsigned long __cil_tmp31 ;
18258  unsigned long __cil_tmp32 ;
18259  unsigned long __cil_tmp33 ;
18260  unsigned long __cil_tmp34 ;
18261  spinlock_t *__cil_tmp35 ;
18262  unsigned long __cil_tmp36 ;
18263  unsigned long __cil_tmp37 ;
18264  unsigned long __cil_tmp38 ;
18265  unsigned long __cil_tmp39 ;
18266  int __cil_tmp40 ;
18267  unsigned long __cil_tmp41 ;
18268  unsigned long __cil_tmp42 ;
18269  u16 __cil_tmp43 ;
18270  int __cil_tmp44 ;
18271  unsigned long __cil_tmp45 ;
18272  unsigned long __cil_tmp46 ;
18273  unsigned long __cil_tmp47 ;
18274  unsigned long __cil_tmp48 ;
18275  unsigned long __cil_tmp49 ;
18276  unsigned long __cil_tmp50 ;
18277  u16 __cil_tmp51 ;
18278  int __cil_tmp52 ;
18279  unsigned long __cil_tmp53 ;
18280  unsigned long __cil_tmp54 ;
18281  unsigned long __cil_tmp55 ;
18282  unsigned long __cil_tmp56 ;
18283  unsigned long __cil_tmp57 ;
18284  unsigned long __cil_tmp58 ;
18285  unsigned long __cil_tmp59 ;
18286  unsigned long __cil_tmp60 ;
18287  u16 __cil_tmp61 ;
18288  int __cil_tmp62 ;
18289  int __cil_tmp63 ;
18290  int __cil_tmp64 ;
18291  int __cil_tmp65 ;
18292  unsigned long __cil_tmp66 ;
18293  unsigned long __cil_tmp67 ;
18294  u16 __cil_tmp68 ;
18295  int __cil_tmp69 ;
18296  int __cil_tmp70 ;
18297  unsigned long __cil_tmp71 ;
18298  unsigned long __cil_tmp72 ;
18299  u16 __cil_tmp73 ;
18300  int __cil_tmp74 ;
18301  int __cil_tmp75 ;
18302  unsigned long __cil_tmp76 ;
18303  unsigned long __cil_tmp77 ;
18304  unsigned long __cil_tmp78 ;
18305  unsigned long __cil_tmp79 ;
18306  int __cil_tmp80 ;
18307  int __cil_tmp81 ;
18308  spinlock_t *__cil_tmp82 ;
18309  struct raw_spinlock *__cil_tmp83 ;
18310  spinlock_t *__cil_tmp84 ;
18311  unsigned long __cil_tmp85 ;
18312  unsigned long __cil_tmp86 ;
18313  struct list_head *__cil_tmp87 ;
18314  unsigned long __cil_tmp88 ;
18315  unsigned long __cil_tmp89 ;
18316  struct list_head *__cil_tmp90 ;
18317  unsigned long __cil_tmp91 ;
18318  unsigned long __cil_tmp92 ;
18319  unsigned long __cil_tmp93 ;
18320  unsigned long __cil_tmp94 ;
18321  unsigned long __cil_tmp95 ;
18322  unsigned long __cil_tmp96 ;
18323  u8 __cil_tmp97 ;
18324  int __cil_tmp98 ;
18325  int __cil_tmp99 ;
18326  u8 __cil_tmp100 ;
18327  unsigned long __cil_tmp101 ;
18328  unsigned long __cil_tmp102 ;
18329  unsigned long __cil_tmp103 ;
18330  unsigned long __cil_tmp104 ;
18331  u16 __cil_tmp105 ;
18332  int __cil_tmp106 ;
18333  int __cil_tmp107 ;
18334  spinlock_t *__cil_tmp108 ;
18335  unsigned long __cil_tmp109 ;
18336  unsigned long __cil_tmp110 ;
18337  u16 __cil_tmp111 ;
18338  unsigned int __cil_tmp112 ;
18339  int __cil_tmp113 ;
18340  int __cil_tmp114 ;
18341  int __cil_tmp115 ;
18342  unsigned int __cil_tmp116 ;
18343  unsigned int __cil_tmp117 ;
18344  unsigned int __cil_tmp118 ;
18345  unsigned long __cil_tmp119 ;
18346  unsigned long __cil_tmp120 ;
18347  unsigned long __cil_tmp121 ;
18348  unsigned long __cil_tmp122 ;
18349  unsigned long __cil_tmp123 ;
18350  unsigned long __cil_tmp124 ;
18351  unsigned long __cil_tmp125 ;
18352  unsigned long __cil_tmp126 ;
18353  unsigned long __cil_tmp127 ;
18354  unsigned long __cil_tmp128 ;
18355  unsigned long __cil_tmp129 ;
18356  unsigned long __cil_tmp130 ;
18357  int __cil_tmp131 ;
18358  unsigned long __cil_tmp132 ;
18359  unsigned long __cil_tmp133 ;
18360  unsigned long __cil_tmp134 ;
18361  unsigned long __cil_tmp135 ;
18362  unsigned long __cil_tmp136 ;
18363  unsigned long __cil_tmp137 ;
18364  unsigned long __cil_tmp138 ;
18365  unsigned long __cil_tmp139 ;
18366  struct work_struct *__cil_tmp140 ;
18367  unsigned long __cil_tmp141 ;
18368  unsigned long __cil_tmp142 ;
18369  unsigned long __cil_tmp143 ;
18370  unsigned long __cil_tmp144 ;
18371  unsigned long __cil_tmp145 ;
18372  unsigned long __cil_tmp146 ;
18373  struct list_head *__cil_tmp147 ;
18374  unsigned long __cil_tmp148 ;
18375  unsigned long __cil_tmp149 ;
18376  unsigned long __cil_tmp150 ;
18377  unsigned long __cil_tmp151 ;
18378  unsigned long __cil_tmp152 ;
18379  unsigned long __cil_tmp153 ;
18380  unsigned long __cil_tmp154 ;
18381  struct timer_list *__cil_tmp155 ;
18382  void *__cil_tmp156 ;
18383  char    *__cil_tmp157 ;
18384  void *__cil_tmp158 ;
18385  struct lock_class_key *__cil_tmp159 ;
18386  spinlock_t *__cil_tmp160 ;
18387  unsigned long __cil_tmp161 ;
18388  unsigned long __cil_tmp162 ;
18389  unsigned long __cil_tmp163 ;
18390  atomic_t *__cil_tmp164 ;
18391  void *__cil_tmp165 ;
18392  unsigned long __cil_tmp166 ;
18393  unsigned long __cil_tmp167 ;
18394  mempool_t *__cil_tmp168 ;
18395  void *__cil_tmp169 ;
18396  long __r_expr_0_counter170 ;
18397
18398  {
18399  {
18400#line 720
18401  __cil_tmp17 = (unsigned long )mp;
18402#line 720
18403  __cil_tmp18 = __cil_tmp17 + 8;
18404#line 720
18405  __cil_tmp19 = *((mempool_t **)__cil_tmp18);
18406#line 720
18407  tmp___7 = mempool_alloc(__cil_tmp19, 32U);
18408#line 720
18409  ep = (struct fc_exch *)tmp___7;
18410  }
18411#line 721
18412  if (! ep) {
18413    {
18414#line 722
18415    __cil_tmp20 = (unsigned long )mp;
18416#line 722
18417    __cil_tmp21 = __cil_tmp20 + 32;
18418#line 722
18419    __cil_tmp22 = (atomic_t *)__cil_tmp21;
18420#line 722
18421    atomic_inc(__cil_tmp22);
18422    }
18423#line 723
18424    goto out;
18425  } else {
18426
18427  }
18428  {
18429#line 725
18430  __cil_tmp23 = (void *)ep;
18431#line 725
18432  memset(__cil_tmp23, 0, 256UL);
18433  }
18434  {
18435#line 727
18436  while (1) {
18437    while_continue: /* CIL Label */ ;
18438    {
18439#line 727
18440    while (1) {
18441      while_continue___0: /* CIL Label */ ;
18442      {
18443#line 727
18444      tmp___8 = current_thread_info();
18445#line 727
18446      __cil_tmp24 = (unsigned long )tmp___8;
18447#line 727
18448      __cil_tmp25 = __cil_tmp24 + 28;
18449#line 727
18450      __cil_tmp26 = (unsigned long )tmp___8;
18451#line 727
18452      __cil_tmp27 = __cil_tmp26 + 28;
18453#line 727
18454      __cil_tmp28 = *((int *)__cil_tmp27);
18455#line 727
18456      *((int *)__cil_tmp25) = __cil_tmp28 + 1;
18457      }
18458#line 727
18459      goto while_break___0;
18460    }
18461    while_break___0: /* CIL Label */ ;
18462    }
18463#line 727
18464    __asm__  volatile   ("": : : "memory");
18465#line 727
18466    goto while_break;
18467  }
18468  while_break: /* CIL Label */ ;
18469  }
18470#line 727
18471  if ((int )4UL == 1) {
18472#line 727
18473    goto case_1;
18474  } else
18475#line 727
18476  if ((int )4UL == 2) {
18477#line 727
18478    goto case_2;
18479  } else
18480#line 727
18481  if ((int )4UL == 4) {
18482#line 727
18483    goto case_4;
18484  } else
18485#line 727
18486  if ((int )4UL == 8) {
18487#line 727
18488    goto case_8;
18489  } else {
18490    {
18491#line 727
18492    goto switch_default;
18493#line 727
18494    if (0) {
18495      case_1: /* CIL Label */ 
18496#line 727
18497      __asm__  ("mov"
18498                "b "
18499                "%%"
18500                "gs"
18501                ":"
18502                "%P"
18503                "1"
18504                ",%0": "=q" (pfo_ret__): "m" (cpu_number));
18505#line 727
18506      goto switch_break;
18507      case_2: /* CIL Label */ 
18508#line 727
18509      __asm__  ("mov"
18510                "w "
18511                "%%"
18512                "gs"
18513                ":"
18514                "%P"
18515                "1"
18516                ",%0": "=r" (pfo_ret__): "m" (cpu_number));
18517#line 727
18518      goto switch_break;
18519      case_4: /* CIL Label */ 
18520#line 727
18521      __asm__  ("mov"
18522                "l "
18523                "%%"
18524                "gs"
18525                ":"
18526                "%P"
18527                "1"
18528                ",%0": "=r" (pfo_ret__): "m" (cpu_number));
18529#line 727
18530      goto switch_break;
18531      case_8: /* CIL Label */ 
18532#line 727
18533      __asm__  ("mov"
18534                "q "
18535                "%%"
18536                "gs"
18537                ":"
18538                "%P"
18539                "1"
18540                ",%0": "=r" (pfo_ret__): "m" (cpu_number));
18541#line 727
18542      goto switch_break;
18543      switch_default: /* CIL Label */ 
18544      {
18545#line 727
18546      __bad_percpu_size();
18547      }
18548    } else {
18549      switch_break: /* CIL Label */ ;
18550    }
18551    }
18552  }
18553#line 727
18554  cpu = (unsigned int )pfo_ret__;
18555  {
18556#line 728
18557  while (1) {
18558    while_continue___1: /* CIL Label */ ;
18559#line 728
18560    __cil_tmp29 = (void *)0;
18561#line 728
18562    __cil_tmp30 = (struct fc_exch_pool *)__cil_tmp29;
18563#line 728
18564    __vpp_verify = (void    *)__cil_tmp30;
18565#line 728
18566    goto while_break___1;
18567  }
18568  while_break___1: /* CIL Label */ ;
18569  }
18570  {
18571#line 728
18572  __asm__  ("": "=r" (__ptr): "0" (*((struct fc_exch_pool **)mp)));
18573#line 728
18574  __cil_tmp31 = cpu * 8UL;
18575#line 728
18576  __cil_tmp32 = (unsigned long )(__per_cpu_offset) + __cil_tmp31;
18577#line 728
18578  __cil_tmp33 = *((unsigned long *)__cil_tmp32);
18579#line 728
18580  __cil_tmp34 = __ptr + __cil_tmp33;
18581#line 728
18582  pool = (struct fc_exch_pool *)__cil_tmp34;
18583#line 729
18584  __cil_tmp35 = (spinlock_t *)pool;
18585#line 729
18586  spin_lock_bh(__cil_tmp35);
18587  }
18588  {
18589#line 730
18590  while (1) {
18591    while_continue___2: /* CIL Label */ ;
18592    {
18593#line 730
18594    while (1) {
18595      while_continue___3: /* CIL Label */ ;
18596#line 730
18597      __asm__  volatile   ("": : : "memory");
18598      {
18599#line 730
18600      while (1) {
18601        while_continue___4: /* CIL Label */ ;
18602        {
18603#line 730
18604        tmp___9 = current_thread_info();
18605#line 730
18606        __cil_tmp36 = (unsigned long )tmp___9;
18607#line 730
18608        __cil_tmp37 = __cil_tmp36 + 28;
18609#line 730
18610        __cil_tmp38 = (unsigned long )tmp___9;
18611#line 730
18612        __cil_tmp39 = __cil_tmp38 + 28;
18613#line 730
18614        __cil_tmp40 = *((int *)__cil_tmp39);
18615#line 730
18616        *((int *)__cil_tmp37) = __cil_tmp40 - 1;
18617        }
18618#line 730
18619        goto while_break___4;
18620      }
18621      while_break___4: /* CIL Label */ ;
18622      }
18623#line 730
18624      goto while_break___3;
18625    }
18626    while_break___3: /* CIL Label */ ;
18627    }
18628#line 730
18629    __asm__  volatile   ("": : : "memory");
18630    {
18631#line 730
18632    while (1) {
18633      while_continue___5: /* CIL Label */ ;
18634#line 730
18635      goto while_break___5;
18636    }
18637    while_break___5: /* CIL Label */ ;
18638    }
18639#line 730
18640    goto while_break___2;
18641  }
18642  while_break___2: /* CIL Label */ ;
18643  }
18644  {
18645#line 733
18646  __cil_tmp41 = (unsigned long )pool;
18647#line 733
18648  __cil_tmp42 = __cil_tmp41 + 44;
18649#line 733
18650  __cil_tmp43 = *((u16 *)__cil_tmp42);
18651#line 733
18652  __cil_tmp44 = (int )__cil_tmp43;
18653#line 733
18654  if (__cil_tmp44 != 65535) {
18655#line 734
18656    __cil_tmp45 = (unsigned long )pool;
18657#line 734
18658    __cil_tmp46 = __cil_tmp45 + 44;
18659#line 734
18660    index = *((u16 *)__cil_tmp46);
18661#line 735
18662    __cil_tmp47 = (unsigned long )pool;
18663#line 735
18664    __cil_tmp48 = __cil_tmp47 + 44;
18665#line 735
18666    *((u16 *)__cil_tmp48) = (u16 )65535;
18667#line 736
18668    goto hit;
18669  } else {
18670
18671  }
18672  }
18673  {
18674#line 738
18675  __cil_tmp49 = (unsigned long )pool;
18676#line 738
18677  __cil_tmp50 = __cil_tmp49 + 46;
18678#line 738
18679  __cil_tmp51 = *((u16 *)__cil_tmp50);
18680#line 738
18681  __cil_tmp52 = (int )__cil_tmp51;
18682#line 738
18683  if (__cil_tmp52 != 65535) {
18684#line 739
18685    __cil_tmp53 = (unsigned long )pool;
18686#line 739
18687    __cil_tmp54 = __cil_tmp53 + 46;
18688#line 739
18689    index = *((u16 *)__cil_tmp54);
18690#line 740
18691    __cil_tmp55 = (unsigned long )pool;
18692#line 740
18693    __cil_tmp56 = __cil_tmp55 + 46;
18694#line 740
18695    *((u16 *)__cil_tmp56) = (u16 )65535;
18696#line 741
18697    goto hit;
18698  } else {
18699
18700  }
18701  }
18702#line 744
18703  __cil_tmp57 = (unsigned long )pool;
18704#line 744
18705  __cil_tmp58 = __cil_tmp57 + 40;
18706#line 744
18707  index = *((u16 *)__cil_tmp58);
18708  {
18709#line 746
18710  while (1) {
18711    while_continue___6: /* CIL Label */ ;
18712    {
18713#line 746
18714    tmp___10 = fc_exch_ptr_get(pool, index);
18715    }
18716#line 746
18717    if (tmp___10) {
18718
18719    } else {
18720#line 746
18721      goto while_break___6;
18722    }
18723    {
18724#line 747
18725    __cil_tmp59 = (unsigned long )mp;
18726#line 747
18727    __cil_tmp60 = __cil_tmp59 + 28;
18728#line 747
18729    __cil_tmp61 = *((u16 *)__cil_tmp60);
18730#line 747
18731    __cil_tmp62 = (int )__cil_tmp61;
18732#line 747
18733    __cil_tmp63 = (int )index;
18734#line 747
18735    if (__cil_tmp63 == __cil_tmp62) {
18736#line 747
18737      index = (u16 )0;
18738    } else {
18739#line 747
18740      __cil_tmp64 = (int )index;
18741#line 747
18742      __cil_tmp65 = __cil_tmp64 + 1;
18743#line 747
18744      index = (u16 )__cil_tmp65;
18745    }
18746    }
18747    {
18748#line 748
18749    __cil_tmp66 = (unsigned long )pool;
18750#line 748
18751    __cil_tmp67 = __cil_tmp66 + 40;
18752#line 748
18753    __cil_tmp68 = *((u16 *)__cil_tmp67);
18754#line 748
18755    __cil_tmp69 = (int )__cil_tmp68;
18756#line 748
18757    __cil_tmp70 = (int )index;
18758#line 748
18759    if (__cil_tmp70 == __cil_tmp69) {
18760#line 749
18761      goto err;
18762    } else {
18763
18764    }
18765    }
18766  }
18767  while_break___6: /* CIL Label */ ;
18768  }
18769  {
18770#line 751
18771  __cil_tmp71 = (unsigned long )mp;
18772#line 751
18773  __cil_tmp72 = __cil_tmp71 + 28;
18774#line 751
18775  __cil_tmp73 = *((u16 *)__cil_tmp72);
18776#line 751
18777  __cil_tmp74 = (int )__cil_tmp73;
18778#line 751
18779  __cil_tmp75 = (int )index;
18780#line 751
18781  if (__cil_tmp75 == __cil_tmp74) {
18782#line 751
18783    __cil_tmp76 = (unsigned long )pool;
18784#line 751
18785    __cil_tmp77 = __cil_tmp76 + 40;
18786#line 751
18787    *((u16 *)__cil_tmp77) = (u16 )0;
18788  } else {
18789#line 751
18790    __cil_tmp78 = (unsigned long )pool;
18791#line 751
18792    __cil_tmp79 = __cil_tmp78 + 40;
18793#line 751
18794    __cil_tmp80 = (int )index;
18795#line 751
18796    __cil_tmp81 = __cil_tmp80 + 1;
18797#line 751
18798    *((u16 *)__cil_tmp79) = (u16 )__cil_tmp81;
18799  }
18800  }
18801  hit: 
18802  {
18803#line 753
18804  fc_exch_hold(ep);
18805  }
18806  {
18807#line 754
18808  while (1) {
18809    while_continue___7: /* CIL Label */ ;
18810    {
18811#line 754
18812    __cil_tmp82 = (spinlock_t *)ep;
18813#line 754
18814    spinlock_check(__cil_tmp82);
18815    }
18816    {
18817#line 754
18818    while (1) {
18819      while_continue___8: /* CIL Label */ ;
18820      {
18821#line 754
18822      __cil_tmp83 = (struct raw_spinlock *)ep;
18823#line 754
18824      __raw_spin_lock_init(__cil_tmp83, "&(&ep->ex_lock)->rlock", & __key___6);
18825      }
18826#line 754
18827      goto while_break___8;
18828    }
18829    while_break___8: /* CIL Label */ ;
18830    }
18831#line 754
18832    goto while_break___7;
18833  }
18834  while_break___7: /* CIL Label */ ;
18835  }
18836  {
18837#line 760
18838  __cil_tmp84 = (spinlock_t *)ep;
18839#line 760
18840  spin_lock_bh(__cil_tmp84);
18841#line 762
18842  fc_exch_ptr_set(pool, index, ep);
18843#line 763
18844  __cil_tmp85 = (unsigned long )ep;
18845#line 763
18846  __cil_tmp86 = __cil_tmp85 + 48;
18847#line 763
18848  __cil_tmp87 = (struct list_head *)__cil_tmp86;
18849#line 763
18850  __cil_tmp88 = (unsigned long )pool;
18851#line 763
18852  __cil_tmp89 = __cil_tmp88 + 24;
18853#line 763
18854  __cil_tmp90 = (struct list_head *)__cil_tmp89;
18855#line 763
18856  list_add_tail(__cil_tmp87, __cil_tmp90);
18857#line 764
18858  __cil_tmp91 = (unsigned long )ep;
18859#line 764
18860  __cil_tmp92 = __cil_tmp91 + 78;
18861#line 764
18862  tmp___11 = *((u8 *)__cil_tmp92);
18863#line 764
18864  __cil_tmp93 = (unsigned long )ep;
18865#line 764
18866  __cil_tmp94 = __cil_tmp93 + 78;
18867#line 764
18868  __cil_tmp95 = (unsigned long )ep;
18869#line 764
18870  __cil_tmp96 = __cil_tmp95 + 78;
18871#line 764
18872  __cil_tmp97 = *((u8 *)__cil_tmp96);
18873#line 764
18874  __cil_tmp98 = (int )__cil_tmp97;
18875#line 764
18876  __cil_tmp99 = __cil_tmp98 + 1;
18877#line 764
18878  *((u8 *)__cil_tmp94) = (u8 )__cil_tmp99;
18879#line 764
18880  __cil_tmp100 = (u8 )tmp___11;
18881#line 764
18882  fc_seq_alloc(ep, __cil_tmp100);
18883#line 765
18884  __cil_tmp101 = (unsigned long )pool;
18885#line 765
18886  __cil_tmp102 = __cil_tmp101 + 42;
18887#line 765
18888  __cil_tmp103 = (unsigned long )pool;
18889#line 765
18890  __cil_tmp104 = __cil_tmp103 + 42;
18891#line 765
18892  __cil_tmp105 = *((u16 *)__cil_tmp104);
18893#line 765
18894  __cil_tmp106 = (int )__cil_tmp105;
18895#line 765
18896  __cil_tmp107 = __cil_tmp106 + 1;
18897#line 765
18898  *((u16 *)__cil_tmp102) = (u16 )__cil_tmp107;
18899#line 766
18900  __cil_tmp108 = (spinlock_t *)pool;
18901#line 766
18902  spin_unlock_bh(__cil_tmp108);
18903#line 771
18904  __cil_tmp109 = (unsigned long )mp;
18905#line 771
18906  __cil_tmp110 = __cil_tmp109 + 24;
18907#line 771
18908  __cil_tmp111 = *((u16 *)__cil_tmp110);
18909#line 771
18910  __cil_tmp112 = (unsigned int )__cil_tmp111;
18911#line 771
18912  __cil_tmp113 = (int )fc_cpu_order;
18913#line 771
18914  __cil_tmp114 = (int )index;
18915#line 771
18916  __cil_tmp115 = __cil_tmp114 << __cil_tmp113;
18917#line 771
18918  __cil_tmp116 = (unsigned int )__cil_tmp115;
18919#line 771
18920  __cil_tmp117 = __cil_tmp116 | cpu;
18921#line 771
18922  __cil_tmp118 = __cil_tmp117 + __cil_tmp112;
18923#line 771
18924  tmp___12 = (u16 )__cil_tmp118;
18925#line 771
18926  __cil_tmp119 = (unsigned long )ep;
18927#line 771
18928  __cil_tmp120 = __cil_tmp119 + 80;
18929#line 771
18930  *((u16 *)__cil_tmp120) = tmp___12;
18931#line 771
18932  __cil_tmp121 = (unsigned long )ep;
18933#line 771
18934  __cil_tmp122 = __cil_tmp121 + 82;
18935#line 771
18936  *((u16 *)__cil_tmp122) = tmp___12;
18937#line 772
18938  __cil_tmp123 = (unsigned long )ep;
18939#line 772
18940  __cil_tmp124 = __cil_tmp123 + 32;
18941#line 772
18942  *((struct fc_exch_mgr **)__cil_tmp124) = mp;
18943#line 773
18944  __cil_tmp125 = (unsigned long )ep;
18945#line 773
18946  __cil_tmp126 = __cil_tmp125 + 40;
18947#line 773
18948  *((struct fc_exch_pool **)__cil_tmp126) = pool;
18949#line 774
18950  __cil_tmp127 = (unsigned long )ep;
18951#line 774
18952  __cil_tmp128 = __cil_tmp127 + 64;
18953#line 774
18954  *((struct fc_lport **)__cil_tmp128) = lport;
18955#line 775
18956  __cil_tmp129 = (unsigned long )ep;
18957#line 775
18958  __cil_tmp130 = __cil_tmp129 + 104;
18959#line 775
18960  __cil_tmp131 = 1 << 21;
18961#line 775
18962  *((u32 *)__cil_tmp130) = (u32 )__cil_tmp131;
18963#line 776
18964  __cil_tmp132 = (unsigned long )ep;
18965#line 776
18966  __cil_tmp133 = __cil_tmp132 + 84;
18967#line 776
18968  *((u16 *)__cil_tmp133) = (u16 )65535;
18969#line 777
18970  __cil_tmp134 = (unsigned long )ep;
18971#line 777
18972  __cil_tmp135 = __cil_tmp134 + 28;
18973#line 777
18974  __cil_tmp136 = (unsigned long )mp;
18975#line 777
18976  __cil_tmp137 = __cil_tmp136 + 16;
18977#line 777
18978  *((enum fc_class *)__cil_tmp135) = *((enum fc_class *)__cil_tmp137);
18979  }
18980  {
18981#line 778
18982  while (1) {
18983    while_continue___9: /* CIL Label */ ;
18984    {
18985#line 778
18986    while (1) {
18987      while_continue___10: /* CIL Label */ ;
18988      {
18989#line 778
18990      while (1) {
18991        while_continue___11: /* CIL Label */ ;
18992        {
18993#line 778
18994        __cil_tmp138 = (unsigned long )ep;
18995#line 778
18996        __cil_tmp139 = __cil_tmp138 + 144;
18997#line 778
18998        __cil_tmp140 = (struct work_struct *)__cil_tmp139;
18999#line 778
19000        __init_work(__cil_tmp140, 0);
19001#line 778
19002        __r_expr_0_counter170 = 2097664L;
19003#line 778
19004        __cil_tmp141 = (unsigned long )ep;
19005#line 778
19006        __cil_tmp142 = __cil_tmp141 + 144;
19007#line 778
19008        ((atomic_long_t *)__cil_tmp142)->counter = __r_expr_0_counter170;
19009#line 778
19010        __cil_tmp143 = 0 + 8;
19011#line 778
19012        __cil_tmp144 = 144 + __cil_tmp143;
19013#line 778
19014        __cil_tmp145 = (unsigned long )ep;
19015#line 778
19016        __cil_tmp146 = __cil_tmp145 + __cil_tmp144;
19017#line 778
19018        __cil_tmp147 = (struct list_head *)__cil_tmp146;
19019#line 778
19020        INIT_LIST_HEAD(__cil_tmp147);
19021        }
19022        {
19023#line 778
19024        while (1) {
19025          while_continue___12: /* CIL Label */ ;
19026#line 778
19027          __cil_tmp148 = 0 + 24;
19028#line 778
19029          __cil_tmp149 = 144 + __cil_tmp148;
19030#line 778
19031          __cil_tmp150 = (unsigned long )ep;
19032#line 778
19033          __cil_tmp151 = __cil_tmp150 + __cil_tmp149;
19034#line 778
19035          *((void (**)(struct work_struct *work ))__cil_tmp151) = & fc_exch_timeout;
19036#line 778
19037          goto while_break___12;
19038        }
19039        while_break___12: /* CIL Label */ ;
19040        }
19041#line 778
19042        goto while_break___11;
19043      }
19044      while_break___11: /* CIL Label */ ;
19045      }
19046#line 778
19047      goto while_break___10;
19048    }
19049    while_break___10: /* CIL Label */ ;
19050    }
19051    {
19052#line 778
19053    __cil_tmp152 = 144 + 32;
19054#line 778
19055    __cil_tmp153 = (unsigned long )ep;
19056#line 778
19057    __cil_tmp154 = __cil_tmp153 + __cil_tmp152;
19058#line 778
19059    __cil_tmp155 = (struct timer_list *)__cil_tmp154;
19060#line 778
19061    __cil_tmp156 = (void *)0;
19062#line 778
19063    __cil_tmp157 = (char    *)__cil_tmp156;
19064#line 778
19065    __cil_tmp158 = (void *)0;
19066#line 778
19067    __cil_tmp159 = (struct lock_class_key *)__cil_tmp158;
19068#line 778
19069    init_timer_key(__cil_tmp155, __cil_tmp157, __cil_tmp159);
19070    }
19071#line 778
19072    goto while_break___9;
19073  }
19074  while_break___9: /* CIL Label */ ;
19075  }
19076  out: 
19077#line 780
19078  return (ep);
19079  err: 
19080  {
19081#line 782
19082  __cil_tmp160 = (spinlock_t *)pool;
19083#line 782
19084  spin_unlock_bh(__cil_tmp160);
19085#line 783
19086  __cil_tmp161 = 32 + 4;
19087#line 783
19088  __cil_tmp162 = (unsigned long )mp;
19089#line 783
19090  __cil_tmp163 = __cil_tmp162 + __cil_tmp161;
19091#line 783
19092  __cil_tmp164 = (atomic_t *)__cil_tmp163;
19093#line 783
19094  atomic_inc(__cil_tmp164);
19095#line 784
19096  __cil_tmp165 = (void *)ep;
19097#line 784
19098  __cil_tmp166 = (unsigned long )mp;
19099#line 784
19100  __cil_tmp167 = __cil_tmp166 + 8;
19101#line 784
19102  __cil_tmp168 = *((mempool_t **)__cil_tmp167);
19103#line 784
19104  mempool_free(__cil_tmp165, __cil_tmp168);
19105  }
19106  {
19107#line 785
19108  __cil_tmp169 = (void *)0;
19109#line 785
19110  return ((struct fc_exch *)__cil_tmp169);
19111  }
19112}
19113}
19114#line 799
19115__inline static struct fc_exch *fc_exch_alloc(struct fc_lport *lport , struct fc_frame *fp )  __attribute__((__no_instrument_function__)) ;
19116#line 799 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
19117__inline static struct fc_exch *fc_exch_alloc(struct fc_lport *lport , struct fc_frame *fp ) 
19118{ struct fc_exch_mgr_anchor *ema ;
19119  struct list_head    *__mptr ;
19120  struct list_head    *__mptr___0 ;
19121  struct fc_exch *tmp___7 ;
19122  bool tmp___8 ;
19123  unsigned long __cil_tmp8 ;
19124  unsigned long __cil_tmp9 ;
19125  struct list_head *__cil_tmp10 ;
19126  struct fc_exch_mgr_anchor *__cil_tmp11 ;
19127  struct list_head *__cil_tmp12 ;
19128  unsigned int __cil_tmp13 ;
19129  char *__cil_tmp14 ;
19130  char *__cil_tmp15 ;
19131  unsigned long __cil_tmp16 ;
19132  unsigned long __cil_tmp17 ;
19133  struct list_head *__cil_tmp18 ;
19134  unsigned long __cil_tmp19 ;
19135  struct list_head *__cil_tmp20 ;
19136  unsigned long __cil_tmp21 ;
19137  unsigned long __cil_tmp22 ;
19138  unsigned long __cil_tmp23 ;
19139  bool (*__cil_tmp24)(struct fc_frame * ) ;
19140  unsigned long __cil_tmp25 ;
19141  unsigned long __cil_tmp26 ;
19142  struct fc_exch_mgr *__cil_tmp27 ;
19143  unsigned long __cil_tmp28 ;
19144  unsigned long __cil_tmp29 ;
19145  bool (*__cil_tmp30)(struct fc_frame * ) ;
19146  unsigned long __cil_tmp31 ;
19147  unsigned long __cil_tmp32 ;
19148  struct fc_exch_mgr *__cil_tmp33 ;
19149  struct list_head *__cil_tmp34 ;
19150  struct fc_exch_mgr_anchor *__cil_tmp35 ;
19151  struct list_head *__cil_tmp36 ;
19152  unsigned int __cil_tmp37 ;
19153  char *__cil_tmp38 ;
19154  char *__cil_tmp39 ;
19155  void *__cil_tmp40 ;
19156
19157  {
19158#line 804
19159  __cil_tmp8 = (unsigned long )lport;
19160#line 804
19161  __cil_tmp9 = __cil_tmp8 + 8;
19162#line 804
19163  __cil_tmp10 = *((struct list_head **)__cil_tmp9);
19164#line 804
19165  __mptr = (struct list_head    *)__cil_tmp10;
19166#line 804
19167  __cil_tmp11 = (struct fc_exch_mgr_anchor *)0;
19168#line 804
19169  __cil_tmp12 = (struct list_head *)__cil_tmp11;
19170#line 804
19171  __cil_tmp13 = (unsigned int )__cil_tmp12;
19172#line 804
19173  __cil_tmp14 = (char *)__mptr;
19174#line 804
19175  __cil_tmp15 = __cil_tmp14 - __cil_tmp13;
19176#line 804
19177  ema = (struct fc_exch_mgr_anchor *)__cil_tmp15;
19178  {
19179#line 804
19180  while (1) {
19181    while_continue: /* CIL Label */ ;
19182    {
19183#line 804
19184    __cil_tmp16 = (unsigned long )lport;
19185#line 804
19186    __cil_tmp17 = __cil_tmp16 + 8;
19187#line 804
19188    __cil_tmp18 = (struct list_head *)__cil_tmp17;
19189#line 804
19190    __cil_tmp19 = (unsigned long )__cil_tmp18;
19191#line 804
19192    __cil_tmp20 = (struct list_head *)ema;
19193#line 804
19194    __cil_tmp21 = (unsigned long )__cil_tmp20;
19195#line 804
19196    if (__cil_tmp21 != __cil_tmp19) {
19197
19198    } else {
19199#line 804
19200      goto while_break;
19201    }
19202    }
19203    {
19204#line 805
19205    __cil_tmp22 = (unsigned long )ema;
19206#line 805
19207    __cil_tmp23 = __cil_tmp22 + 24;
19208#line 805
19209    __cil_tmp24 = *((bool (**)(struct fc_frame * ))__cil_tmp23);
19210#line 805
19211    if (! __cil_tmp24) {
19212      {
19213#line 806
19214      __cil_tmp25 = (unsigned long )ema;
19215#line 806
19216      __cil_tmp26 = __cil_tmp25 + 16;
19217#line 806
19218      __cil_tmp27 = *((struct fc_exch_mgr **)__cil_tmp26);
19219#line 806
19220      tmp___7 = fc_exch_em_alloc(lport, __cil_tmp27);
19221      }
19222#line 806
19223      return (tmp___7);
19224    } else {
19225      {
19226#line 805
19227      __cil_tmp28 = (unsigned long )ema;
19228#line 805
19229      __cil_tmp29 = __cil_tmp28 + 24;
19230#line 805
19231      __cil_tmp30 = *((bool (**)(struct fc_frame * ))__cil_tmp29);
19232#line 805
19233      tmp___8 = (*__cil_tmp30)(fp);
19234      }
19235#line 805
19236      if (tmp___8) {
19237        {
19238#line 806
19239        __cil_tmp31 = (unsigned long )ema;
19240#line 806
19241        __cil_tmp32 = __cil_tmp31 + 16;
19242#line 806
19243        __cil_tmp33 = *((struct fc_exch_mgr **)__cil_tmp32);
19244#line 806
19245        tmp___7 = fc_exch_em_alloc(lport, __cil_tmp33);
19246        }
19247#line 806
19248        return (tmp___7);
19249      } else {
19250
19251      }
19252    }
19253    }
19254#line 804
19255    __cil_tmp34 = *((struct list_head **)ema);
19256#line 804
19257    __mptr___0 = (struct list_head    *)__cil_tmp34;
19258#line 804
19259    __cil_tmp35 = (struct fc_exch_mgr_anchor *)0;
19260#line 804
19261    __cil_tmp36 = (struct list_head *)__cil_tmp35;
19262#line 804
19263    __cil_tmp37 = (unsigned int )__cil_tmp36;
19264#line 804
19265    __cil_tmp38 = (char *)__mptr___0;
19266#line 804
19267    __cil_tmp39 = __cil_tmp38 - __cil_tmp37;
19268#line 804
19269    ema = (struct fc_exch_mgr_anchor *)__cil_tmp39;
19270  }
19271  while_break: /* CIL Label */ ;
19272  }
19273  {
19274#line 807
19275  __cil_tmp40 = (void *)0;
19276#line 807
19277  return ((struct fc_exch *)__cil_tmp40);
19278  }
19279}
19280}
19281#line 815 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
19282static struct fc_exch *fc_exch_find(struct fc_exch_mgr *mp , u16 xid ) 
19283{ struct fc_exch_pool *pool ;
19284  struct fc_exch *ep ;
19285  void    *__vpp_verify ;
19286  unsigned long __ptr ;
19287  void *__cil_tmp7 ;
19288  unsigned long __cil_tmp8 ;
19289  unsigned long __cil_tmp9 ;
19290  u16 __cil_tmp10 ;
19291  int __cil_tmp11 ;
19292  int __cil_tmp12 ;
19293  unsigned long __cil_tmp13 ;
19294  unsigned long __cil_tmp14 ;
19295  u16 __cil_tmp15 ;
19296  int __cil_tmp16 ;
19297  int __cil_tmp17 ;
19298  void *__cil_tmp18 ;
19299  struct fc_exch_pool *__cil_tmp19 ;
19300  u16 *__cil_tmp20 ;
19301  u16 __cil_tmp21 ;
19302  int __cil_tmp22 ;
19303  int __cil_tmp23 ;
19304  int __cil_tmp24 ;
19305  unsigned long __cil_tmp25 ;
19306  unsigned long __cil_tmp26 ;
19307  unsigned long __cil_tmp27 ;
19308  unsigned long __cil_tmp28 ;
19309  spinlock_t *__cil_tmp29 ;
19310  int __cil_tmp30 ;
19311  unsigned long __cil_tmp31 ;
19312  unsigned long __cil_tmp32 ;
19313  u16 __cil_tmp33 ;
19314  int __cil_tmp34 ;
19315  int __cil_tmp35 ;
19316  int __cil_tmp36 ;
19317  int __cil_tmp37 ;
19318  u16 __cil_tmp38 ;
19319  int __cil_tmp39 ;
19320  unsigned long __cil_tmp40 ;
19321  unsigned long __cil_tmp41 ;
19322  u16 __cil_tmp42 ;
19323  int __cil_tmp43 ;
19324  spinlock_t *__cil_tmp44 ;
19325
19326  {
19327#line 818
19328  __cil_tmp7 = (void *)0;
19329#line 818
19330  ep = (struct fc_exch *)__cil_tmp7;
19331  {
19332#line 820
19333  __cil_tmp8 = (unsigned long )mp;
19334#line 820
19335  __cil_tmp9 = __cil_tmp8 + 24;
19336#line 820
19337  __cil_tmp10 = *((u16 *)__cil_tmp9);
19338#line 820
19339  __cil_tmp11 = (int )__cil_tmp10;
19340#line 820
19341  __cil_tmp12 = (int )xid;
19342#line 820
19343  if (__cil_tmp12 >= __cil_tmp11) {
19344    {
19345#line 820
19346    __cil_tmp13 = (unsigned long )mp;
19347#line 820
19348    __cil_tmp14 = __cil_tmp13 + 26;
19349#line 820
19350    __cil_tmp15 = *((u16 *)__cil_tmp14);
19351#line 820
19352    __cil_tmp16 = (int )__cil_tmp15;
19353#line 820
19354    __cil_tmp17 = (int )xid;
19355#line 820
19356    if (__cil_tmp17 <= __cil_tmp16) {
19357      {
19358#line 821
19359      while (1) {
19360        while_continue: /* CIL Label */ ;
19361#line 821
19362        __cil_tmp18 = (void *)0;
19363#line 821
19364        __cil_tmp19 = (struct fc_exch_pool *)__cil_tmp18;
19365#line 821
19366        __vpp_verify = (void    *)__cil_tmp19;
19367#line 821
19368        goto while_break;
19369      }
19370      while_break: /* CIL Label */ ;
19371      }
19372      {
19373#line 821
19374      __asm__  ("": "=r" (__ptr): "0" (*((struct fc_exch_pool **)mp)));
19375#line 821
19376      __cil_tmp20 = & fc_cpu_mask;
19377#line 821
19378      __cil_tmp21 = *__cil_tmp20;
19379#line 821
19380      __cil_tmp22 = (int )__cil_tmp21;
19381#line 821
19382      __cil_tmp23 = (int )xid;
19383#line 821
19384      __cil_tmp24 = __cil_tmp23 & __cil_tmp22;
19385#line 821
19386      __cil_tmp25 = __cil_tmp24 * 8UL;
19387#line 821
19388      __cil_tmp26 = (unsigned long )(__per_cpu_offset) + __cil_tmp25;
19389#line 821
19390      __cil_tmp27 = *((unsigned long *)__cil_tmp26);
19391#line 821
19392      __cil_tmp28 = __ptr + __cil_tmp27;
19393#line 821
19394      pool = (struct fc_exch_pool *)__cil_tmp28;
19395#line 822
19396      __cil_tmp29 = (spinlock_t *)pool;
19397#line 822
19398      spin_lock_bh(__cil_tmp29);
19399#line 823
19400      __cil_tmp30 = (int )fc_cpu_order;
19401#line 823
19402      __cil_tmp31 = (unsigned long )mp;
19403#line 823
19404      __cil_tmp32 = __cil_tmp31 + 24;
19405#line 823
19406      __cil_tmp33 = *((u16 *)__cil_tmp32);
19407#line 823
19408      __cil_tmp34 = (int )__cil_tmp33;
19409#line 823
19410      __cil_tmp35 = (int )xid;
19411#line 823
19412      __cil_tmp36 = __cil_tmp35 - __cil_tmp34;
19413#line 823
19414      __cil_tmp37 = __cil_tmp36 >> __cil_tmp30;
19415#line 823
19416      __cil_tmp38 = (u16 )__cil_tmp37;
19417#line 823
19418      ep = fc_exch_ptr_get(pool, __cil_tmp38);
19419      }
19420#line 824
19421      if (ep) {
19422        {
19423#line 824
19424        __cil_tmp39 = (int )xid;
19425#line 824
19426        __cil_tmp40 = (unsigned long )ep;
19427#line 824
19428        __cil_tmp41 = __cil_tmp40 + 80;
19429#line 824
19430        __cil_tmp42 = *((u16 *)__cil_tmp41);
19431#line 824
19432        __cil_tmp43 = (int )__cil_tmp42;
19433#line 824
19434        if (__cil_tmp43 == __cil_tmp39) {
19435          {
19436#line 825
19437          fc_exch_hold(ep);
19438          }
19439        } else {
19440
19441        }
19442        }
19443      } else {
19444
19445      }
19446      {
19447#line 826
19448      __cil_tmp44 = (spinlock_t *)pool;
19449#line 826
19450      spin_unlock_bh(__cil_tmp44);
19451      }
19452    } else {
19453
19454    }
19455    }
19456  } else {
19457
19458  }
19459  }
19460#line 828
19461  return (ep);
19462}
19463}
19464#line 837 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
19465static void fc_exch_done(struct fc_seq *sp ) 
19466{ struct fc_exch *ep ;
19467  struct fc_seq    *__mptr ;
19468  int rc ;
19469  struct fc_exch *__cil_tmp5 ;
19470  unsigned long __cil_tmp6 ;
19471  unsigned long __cil_tmp7 ;
19472  struct fc_seq *__cil_tmp8 ;
19473  unsigned int __cil_tmp9 ;
19474  char *__cil_tmp10 ;
19475  char *__cil_tmp11 ;
19476  spinlock_t *__cil_tmp12 ;
19477  spinlock_t *__cil_tmp13 ;
19478
19479  {
19480  {
19481#line 839
19482  __mptr = (struct fc_seq    *)sp;
19483#line 839
19484  __cil_tmp5 = (struct fc_exch *)0;
19485#line 839
19486  __cil_tmp6 = (unsigned long )__cil_tmp5;
19487#line 839
19488  __cil_tmp7 = __cil_tmp6 + 108;
19489#line 839
19490  __cil_tmp8 = (struct fc_seq *)__cil_tmp7;
19491#line 839
19492  __cil_tmp9 = (unsigned int )__cil_tmp8;
19493#line 839
19494  __cil_tmp10 = (char *)__mptr;
19495#line 839
19496  __cil_tmp11 = __cil_tmp10 - __cil_tmp9;
19497#line 839
19498  ep = (struct fc_exch *)__cil_tmp11;
19499#line 842
19500  __cil_tmp12 = (spinlock_t *)ep;
19501#line 842
19502  spin_lock_bh(__cil_tmp12);
19503#line 843
19504  rc = fc_exch_done_locked(ep);
19505#line 844
19506  __cil_tmp13 = (spinlock_t *)ep;
19507#line 844
19508  spin_unlock_bh(__cil_tmp13);
19509  }
19510#line 845
19511  if (! rc) {
19512    {
19513#line 846
19514    fc_exch_delete(ep);
19515    }
19516  } else {
19517
19518  }
19519#line 847
19520  return;
19521}
19522}
19523#line 857 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
19524static struct fc_exch *fc_exch_resp(struct fc_lport *lport , struct fc_exch_mgr *mp ,
19525                                    struct fc_frame *fp ) 
19526{ struct fc_exch *ep ;
19527  struct fc_frame_header *fh ;
19528  __u16 tmp___7 ;
19529  u32 tmp___8 ;
19530  unsigned long __cil_tmp8 ;
19531  unsigned long __cil_tmp9 ;
19532  struct fc_frame    *__cil_tmp10 ;
19533  unsigned long __cil_tmp11 ;
19534  unsigned long __cil_tmp12 ;
19535  int __cil_tmp13 ;
19536  unsigned int __cil_tmp14 ;
19537  unsigned long __cil_tmp15 ;
19538  unsigned long __cil_tmp16 ;
19539  u32 __cil_tmp17 ;
19540  unsigned long __cil_tmp18 ;
19541  unsigned long __cil_tmp19 ;
19542  int __cil_tmp20 ;
19543  int __cil_tmp21 ;
19544  unsigned int __cil_tmp22 ;
19545  unsigned long __cil_tmp23 ;
19546  unsigned long __cil_tmp24 ;
19547  u32 __cil_tmp25 ;
19548  struct fc_frame    *__cil_tmp26 ;
19549  unsigned long __cil_tmp27 ;
19550  unsigned long __cil_tmp28 ;
19551  unsigned long __cil_tmp29 ;
19552  unsigned long __cil_tmp30 ;
19553  unsigned long __cil_tmp31 ;
19554  unsigned long __cil_tmp32 ;
19555  __u8 *__cil_tmp33 ;
19556  u8    *__cil_tmp34 ;
19557  unsigned long __cil_tmp35 ;
19558  unsigned long __cil_tmp36 ;
19559  unsigned long __cil_tmp37 ;
19560  unsigned long __cil_tmp38 ;
19561  unsigned long __cil_tmp39 ;
19562  unsigned long __cil_tmp40 ;
19563  __u8 *__cil_tmp41 ;
19564  u8    *__cil_tmp42 ;
19565  unsigned long __cil_tmp43 ;
19566  unsigned long __cil_tmp44 ;
19567  unsigned long __cil_tmp45 ;
19568  unsigned long __cil_tmp46 ;
19569  unsigned long __cil_tmp47 ;
19570  unsigned long __cil_tmp48 ;
19571  unsigned long __cil_tmp49 ;
19572  unsigned long __cil_tmp50 ;
19573  unsigned long __cil_tmp51 ;
19574  unsigned long __cil_tmp52 ;
19575  __be16 __cil_tmp53 ;
19576  unsigned long __cil_tmp54 ;
19577  unsigned long __cil_tmp55 ;
19578  int __cil_tmp56 ;
19579  unsigned long __cil_tmp57 ;
19580  unsigned long __cil_tmp58 ;
19581  int __cil_tmp59 ;
19582  int __cil_tmp60 ;
19583  int __cil_tmp61 ;
19584  unsigned int __cil_tmp62 ;
19585  unsigned long __cil_tmp63 ;
19586  unsigned long __cil_tmp64 ;
19587  u32 __cil_tmp65 ;
19588  unsigned long __cil_tmp66 ;
19589  unsigned long __cil_tmp67 ;
19590  unsigned long __cil_tmp68 ;
19591  unsigned long __cil_tmp69 ;
19592  __u8 *__cil_tmp70 ;
19593  u8    *__cil_tmp71 ;
19594  int __cil_tmp72 ;
19595  unsigned int __cil_tmp73 ;
19596  unsigned int __cil_tmp74 ;
19597  unsigned long __cil_tmp75 ;
19598  unsigned long __cil_tmp76 ;
19599  int __cil_tmp77 ;
19600  int __cil_tmp78 ;
19601  unsigned int __cil_tmp79 ;
19602  unsigned long __cil_tmp80 ;
19603  unsigned long __cil_tmp81 ;
19604  u32 __cil_tmp82 ;
19605  spinlock_t *__cil_tmp83 ;
19606
19607  {
19608  {
19609#line 864
19610  ep = fc_exch_alloc(lport, fp);
19611  }
19612#line 865
19613  if (ep) {
19614    {
19615#line 866
19616    __cil_tmp8 = (unsigned long )ep;
19617#line 866
19618    __cil_tmp9 = __cil_tmp8 + 28;
19619#line 866
19620    __cil_tmp10 = (struct fc_frame    *)fp;
19621#line 866
19622    *((enum fc_class *)__cil_tmp9) = fc_frame_class(__cil_tmp10);
19623#line 871
19624    __cil_tmp11 = (unsigned long )ep;
19625#line 871
19626    __cil_tmp12 = __cil_tmp11 + 104;
19627#line 871
19628    __cil_tmp13 = 1 << 23;
19629#line 871
19630    __cil_tmp14 = (unsigned int )__cil_tmp13;
19631#line 871
19632    __cil_tmp15 = (unsigned long )ep;
19633#line 871
19634    __cil_tmp16 = __cil_tmp15 + 104;
19635#line 871
19636    __cil_tmp17 = *((u32 *)__cil_tmp16);
19637#line 871
19638    *((u32 *)__cil_tmp12) = __cil_tmp17 | __cil_tmp14;
19639#line 872
19640    __cil_tmp18 = (unsigned long )ep;
19641#line 872
19642    __cil_tmp19 = __cil_tmp18 + 104;
19643#line 872
19644    __cil_tmp20 = 1 << 21;
19645#line 872
19646    __cil_tmp21 = ~ __cil_tmp20;
19647#line 872
19648    __cil_tmp22 = (unsigned int )__cil_tmp21;
19649#line 872
19650    __cil_tmp23 = (unsigned long )ep;
19651#line 872
19652    __cil_tmp24 = __cil_tmp23 + 104;
19653#line 872
19654    __cil_tmp25 = *((u32 *)__cil_tmp24);
19655#line 872
19656    *((u32 *)__cil_tmp19) = __cil_tmp25 & __cil_tmp22;
19657#line 873
19658    __cil_tmp26 = (struct fc_frame    *)fp;
19659#line 873
19660    fh = fc_frame_header_get(__cil_tmp26);
19661#line 874
19662    __cil_tmp27 = (unsigned long )ep;
19663#line 874
19664    __cil_tmp28 = __cil_tmp27 + 92;
19665#line 874
19666    __cil_tmp29 = 0 * 1UL;
19667#line 874
19668    __cil_tmp30 = 1 + __cil_tmp29;
19669#line 874
19670    __cil_tmp31 = (unsigned long )fh;
19671#line 874
19672    __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
19673#line 874
19674    __cil_tmp33 = (__u8 *)__cil_tmp32;
19675#line 874
19676    __cil_tmp34 = (u8    *)__cil_tmp33;
19677#line 874
19678    *((u32 *)__cil_tmp28) = ntoh24(__cil_tmp34);
19679#line 875
19680    __cil_tmp35 = (unsigned long )ep;
19681#line 875
19682    __cil_tmp36 = __cil_tmp35 + 96;
19683#line 875
19684    __cil_tmp37 = 0 * 1UL;
19685#line 875
19686    __cil_tmp38 = 5 + __cil_tmp37;
19687#line 875
19688    __cil_tmp39 = (unsigned long )fh;
19689#line 875
19690    __cil_tmp40 = __cil_tmp39 + __cil_tmp38;
19691#line 875
19692    __cil_tmp41 = (__u8 *)__cil_tmp40;
19693#line 875
19694    __cil_tmp42 = (u8    *)__cil_tmp41;
19695#line 875
19696    *((u32 *)__cil_tmp36) = ntoh24(__cil_tmp42);
19697#line 876
19698    __cil_tmp43 = (unsigned long )ep;
19699#line 876
19700    __cil_tmp44 = __cil_tmp43 + 88;
19701#line 876
19702    __cil_tmp45 = (unsigned long )ep;
19703#line 876
19704    __cil_tmp46 = __cil_tmp45 + 96;
19705#line 876
19706    *((u32 *)__cil_tmp44) = *((u32 *)__cil_tmp46);
19707#line 883
19708    __cil_tmp47 = (unsigned long )ep;
19709#line 883
19710    __cil_tmp48 = __cil_tmp47 + 84;
19711#line 883
19712    __cil_tmp49 = (unsigned long )ep;
19713#line 883
19714    __cil_tmp50 = __cil_tmp49 + 80;
19715#line 883
19716    *((u16 *)__cil_tmp48) = *((u16 *)__cil_tmp50);
19717#line 884
19718    __cil_tmp51 = (unsigned long )fh;
19719#line 884
19720    __cil_tmp52 = __cil_tmp51 + 16;
19721#line 884
19722    __cil_tmp53 = *((__be16 *)__cil_tmp52);
19723#line 884
19724    tmp___7 = __fswab16(__cil_tmp53);
19725#line 884
19726    __cil_tmp54 = (unsigned long )ep;
19727#line 884
19728    __cil_tmp55 = __cil_tmp54 + 82;
19729#line 884
19730    __cil_tmp56 = (int )tmp___7;
19731#line 884
19732    *((u16 *)__cil_tmp55) = (u16 )__cil_tmp56;
19733#line 885
19734    __cil_tmp57 = (unsigned long )ep;
19735#line 885
19736    __cil_tmp58 = __cil_tmp57 + 72;
19737#line 885
19738    __cil_tmp59 = 1 << 30;
19739#line 885
19740    __cil_tmp60 = 1 << 31;
19741#line 885
19742    __cil_tmp61 = __cil_tmp60 | __cil_tmp59;
19743#line 885
19744    __cil_tmp62 = (unsigned int )__cil_tmp61;
19745#line 885
19746    __cil_tmp63 = (unsigned long )ep;
19747#line 885
19748    __cil_tmp64 = __cil_tmp63 + 72;
19749#line 885
19750    __cil_tmp65 = *((u32 *)__cil_tmp64);
19751#line 885
19752    *((u32 *)__cil_tmp58) = __cil_tmp65 | __cil_tmp62;
19753#line 886
19754    __cil_tmp66 = 0 * 1UL;
19755#line 886
19756    __cil_tmp67 = 9 + __cil_tmp66;
19757#line 886
19758    __cil_tmp68 = (unsigned long )fh;
19759#line 886
19760    __cil_tmp69 = __cil_tmp68 + __cil_tmp67;
19761#line 886
19762    __cil_tmp70 = (__u8 *)__cil_tmp69;
19763#line 886
19764    __cil_tmp71 = (u8    *)__cil_tmp70;
19765#line 886
19766    tmp___8 = ntoh24(__cil_tmp71);
19767    }
19768    {
19769#line 886
19770    __cil_tmp72 = 1 << 16;
19771#line 886
19772    __cil_tmp73 = (unsigned int )__cil_tmp72;
19773#line 886
19774    __cil_tmp74 = tmp___8 & __cil_tmp73;
19775#line 886
19776    if (__cil_tmp74 == 0U) {
19777#line 887
19778      __cil_tmp75 = (unsigned long )ep;
19779#line 887
19780      __cil_tmp76 = __cil_tmp75 + 72;
19781#line 887
19782      __cil_tmp77 = 1 << 30;
19783#line 887
19784      __cil_tmp78 = ~ __cil_tmp77;
19785#line 887
19786      __cil_tmp79 = (unsigned int )__cil_tmp78;
19787#line 887
19788      __cil_tmp80 = (unsigned long )ep;
19789#line 887
19790      __cil_tmp81 = __cil_tmp80 + 72;
19791#line 887
19792      __cil_tmp82 = *((u32 *)__cil_tmp81);
19793#line 887
19794      *((u32 *)__cil_tmp76) = __cil_tmp82 & __cil_tmp79;
19795    } else {
19796
19797    }
19798    }
19799    {
19800#line 889
19801    fc_exch_hold(ep);
19802#line 890
19803    __cil_tmp83 = (spinlock_t *)ep;
19804#line 890
19805    spin_unlock_bh(__cil_tmp83);
19806    }
19807  } else {
19808
19809  }
19810#line 892
19811  return (ep);
19812}
19813}
19814#line 905 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
19815static enum fc_pf_rjt_reason fc_seq_lookup_recip(struct fc_lport *lport , struct fc_exch_mgr *mp ,
19816                                                 struct fc_frame *fp ) 
19817{ struct fc_frame_header *fh ;
19818  struct fc_frame_header *tmp___7 ;
19819  struct fc_exch *ep ;
19820  struct fc_seq *sp ;
19821  enum fc_pf_rjt_reason reject ;
19822  u32 f_ctl ;
19823  u16 xid ;
19824  int __ret_warn_on ;
19825  long tmp___8 ;
19826  __u16 tmp___9 ;
19827  __u16 tmp___10 ;
19828  __u16 tmp___11 ;
19829  __u16 tmp___12 ;
19830  u8 tmp___14 ;
19831  int tmp___15 ;
19832  int tmp___16 ;
19833  int __ret_warn_on___0 ;
19834  struct fc_seq    *__mptr ;
19835  int tmp___17 ;
19836  long tmp___18 ;
19837  struct fc_frame    *__cil_tmp25 ;
19838  void *__cil_tmp26 ;
19839  void *__cil_tmp27 ;
19840  unsigned long __cil_tmp28 ;
19841  unsigned long __cil_tmp29 ;
19842  unsigned long __cil_tmp30 ;
19843  unsigned long __cil_tmp31 ;
19844  __u8 *__cil_tmp32 ;
19845  u8    *__cil_tmp33 ;
19846  int __cil_tmp34 ;
19847  unsigned int __cil_tmp35 ;
19848  unsigned int __cil_tmp36 ;
19849  int __cil_tmp37 ;
19850  int __cil_tmp38 ;
19851  int __cil_tmp39 ;
19852  int __cil_tmp40 ;
19853  long __cil_tmp41 ;
19854  int    __cil_tmp42 ;
19855  int __cil_tmp43 ;
19856  int __cil_tmp44 ;
19857  long __cil_tmp45 ;
19858  int __cil_tmp46 ;
19859  unsigned int __cil_tmp47 ;
19860  unsigned long __cil_tmp48 ;
19861  unsigned long __cil_tmp49 ;
19862  __be16 __cil_tmp50 ;
19863  int __cil_tmp51 ;
19864  unsigned long __cil_tmp52 ;
19865  unsigned long __cil_tmp53 ;
19866  unsigned long __cil_tmp54 ;
19867  atomic_t *__cil_tmp55 ;
19868  unsigned long __cil_tmp56 ;
19869  unsigned long __cil_tmp57 ;
19870  u16 __cil_tmp58 ;
19871  int __cil_tmp59 ;
19872  unsigned long __cil_tmp60 ;
19873  unsigned long __cil_tmp61 ;
19874  __be16 __cil_tmp62 ;
19875  unsigned long __cil_tmp63 ;
19876  unsigned long __cil_tmp64 ;
19877  int __cil_tmp65 ;
19878  unsigned long __cil_tmp66 ;
19879  unsigned long __cil_tmp67 ;
19880  __be16 __cil_tmp68 ;
19881  int __cil_tmp69 ;
19882  unsigned long __cil_tmp70 ;
19883  unsigned long __cil_tmp71 ;
19884  u16 __cil_tmp72 ;
19885  int __cil_tmp73 ;
19886  unsigned long __cil_tmp74 ;
19887  unsigned long __cil_tmp75 ;
19888  __be16 __cil_tmp76 ;
19889  int __cil_tmp77 ;
19890  int __cil_tmp78 ;
19891  __u8 __cil_tmp79 ;
19892  int __cil_tmp80 ;
19893  struct fc_frame    *__cil_tmp81 ;
19894  int __cil_tmp82 ;
19895  unsigned long __cil_tmp83 ;
19896  unsigned long __cil_tmp84 ;
19897  int __cil_tmp85 ;
19898  int __cil_tmp86 ;
19899  int __cil_tmp87 ;
19900  __u16 __cil_tmp88 ;
19901  int __cil_tmp89 ;
19902  int __cil_tmp90 ;
19903  unsigned int __cil_tmp91 ;
19904  unsigned long __cil_tmp92 ;
19905  unsigned long __cil_tmp93 ;
19906  unsigned long __cil_tmp94 ;
19907  unsigned long __cil_tmp95 ;
19908  unsigned long __cil_tmp96 ;
19909  char *__cil_tmp97 ;
19910  struct fcoe_rcv_info *__cil_tmp98 ;
19911  unsigned long __cil_tmp99 ;
19912  unsigned long __cil_tmp100 ;
19913  u8 __cil_tmp101 ;
19914  enum fc_sof __cil_tmp102 ;
19915  unsigned long __cil_tmp103 ;
19916  unsigned long __cil_tmp104 ;
19917  unsigned long __cil_tmp105 ;
19918  atomic_t *__cil_tmp106 ;
19919  unsigned long __cil_tmp107 ;
19920  unsigned long __cil_tmp108 ;
19921  unsigned long __cil_tmp109 ;
19922  unsigned long __cil_tmp110 ;
19923  unsigned long __cil_tmp111 ;
19924  atomic_t *__cil_tmp112 ;
19925  unsigned long __cil_tmp113 ;
19926  unsigned long __cil_tmp114 ;
19927  unsigned long __cil_tmp115 ;
19928  unsigned long __cil_tmp116 ;
19929  unsigned long __cil_tmp117 ;
19930  char *__cil_tmp118 ;
19931  struct fcoe_rcv_info *__cil_tmp119 ;
19932  unsigned long __cil_tmp120 ;
19933  unsigned long __cil_tmp121 ;
19934  u8 __cil_tmp122 ;
19935  enum fc_sof __cil_tmp123 ;
19936  unsigned long __cil_tmp124 ;
19937  unsigned long __cil_tmp125 ;
19938  unsigned long __cil_tmp126 ;
19939  unsigned long __cil_tmp127 ;
19940  int __cil_tmp128 ;
19941  unsigned long __cil_tmp129 ;
19942  unsigned long __cil_tmp130 ;
19943  u16 __cil_tmp131 ;
19944  int __cil_tmp132 ;
19945  int __cil_tmp133 ;
19946  unsigned long __cil_tmp134 ;
19947  unsigned long __cil_tmp135 ;
19948  unsigned long __cil_tmp136 ;
19949  unsigned long __cil_tmp137 ;
19950  unsigned long __cil_tmp138 ;
19951  unsigned long __cil_tmp139 ;
19952  __u8 __cil_tmp140 ;
19953  int __cil_tmp141 ;
19954  u8 __cil_tmp142 ;
19955  int __cil_tmp143 ;
19956  unsigned long __cil_tmp144 ;
19957  unsigned long __cil_tmp145 ;
19958  unsigned long __cil_tmp146 ;
19959  atomic_t *__cil_tmp147 ;
19960  int __cil_tmp148 ;
19961  unsigned int __cil_tmp149 ;
19962  spinlock_t *__cil_tmp150 ;
19963  unsigned long __cil_tmp151 ;
19964  unsigned long __cil_tmp152 ;
19965  int __cil_tmp153 ;
19966  unsigned long __cil_tmp154 ;
19967  unsigned long __cil_tmp155 ;
19968  u16 __cil_tmp156 ;
19969  int __cil_tmp157 ;
19970  int __cil_tmp158 ;
19971  unsigned long __cil_tmp159 ;
19972  unsigned long __cil_tmp160 ;
19973  spinlock_t *__cil_tmp161 ;
19974  struct fc_exch *__cil_tmp162 ;
19975  unsigned long __cil_tmp163 ;
19976  unsigned long __cil_tmp164 ;
19977  struct fc_seq *__cil_tmp165 ;
19978  unsigned int __cil_tmp166 ;
19979  char *__cil_tmp167 ;
19980  char *__cil_tmp168 ;
19981  struct fc_exch *__cil_tmp169 ;
19982  unsigned long __cil_tmp170 ;
19983  unsigned long __cil_tmp171 ;
19984  int __cil_tmp172 ;
19985  int __cil_tmp173 ;
19986  long __cil_tmp174 ;
19987  int    __cil_tmp175 ;
19988  int __cil_tmp176 ;
19989  int __cil_tmp177 ;
19990  long __cil_tmp178 ;
19991  int __cil_tmp179 ;
19992  unsigned int __cil_tmp180 ;
19993  unsigned long __cil_tmp181 ;
19994  unsigned long __cil_tmp182 ;
19995  int __cil_tmp183 ;
19996  unsigned int __cil_tmp184 ;
19997  unsigned long __cil_tmp185 ;
19998  unsigned long __cil_tmp186 ;
19999  u32 __cil_tmp187 ;
20000  unsigned long __cil_tmp188 ;
20001  unsigned long __cil_tmp189 ;
20002  unsigned long __cil_tmp190 ;
20003  unsigned long __cil_tmp191 ;
20004  unsigned long __cil_tmp192 ;
20005  char *__cil_tmp193 ;
20006  struct fcoe_rcv_info *__cil_tmp194 ;
20007  unsigned long __cil_tmp195 ;
20008  unsigned long __cil_tmp196 ;
20009  unsigned long __cil_tmp197 ;
20010  unsigned long __cil_tmp198 ;
20011  struct fc_seq *__cil_tmp199 ;
20012
20013  {
20014  {
20015#line 909
20016  __cil_tmp25 = (struct fc_frame    *)fp;
20017#line 909
20018  tmp___7 = fc_frame_header_get(__cil_tmp25);
20019#line 909
20020  fh = tmp___7;
20021#line 910
20022  __cil_tmp26 = (void *)0;
20023#line 910
20024  ep = (struct fc_exch *)__cil_tmp26;
20025#line 911
20026  __cil_tmp27 = (void *)0;
20027#line 911
20028  sp = (struct fc_seq *)__cil_tmp27;
20029#line 912
20030  reject = (enum fc_pf_rjt_reason )0;
20031#line 916
20032  __cil_tmp28 = 0 * 1UL;
20033#line 916
20034  __cil_tmp29 = 9 + __cil_tmp28;
20035#line 916
20036  __cil_tmp30 = (unsigned long )fh;
20037#line 916
20038  __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
20039#line 916
20040  __cil_tmp32 = (__u8 *)__cil_tmp31;
20041#line 916
20042  __cil_tmp33 = (u8    *)__cil_tmp32;
20043#line 916
20044  f_ctl = ntoh24(__cil_tmp33);
20045#line 917
20046  __cil_tmp34 = 1 << 22;
20047#line 917
20048  __cil_tmp35 = (unsigned int )__cil_tmp34;
20049#line 917
20050  __cil_tmp36 = f_ctl & __cil_tmp35;
20051#line 917
20052  __cil_tmp37 = __cil_tmp36 != 0U;
20053#line 917
20054  __cil_tmp38 = ! __cil_tmp37;
20055#line 917
20056  __ret_warn_on = ! __cil_tmp38;
20057#line 917
20058  __cil_tmp39 = ! __ret_warn_on;
20059#line 917
20060  __cil_tmp40 = ! __cil_tmp39;
20061#line 917
20062  __cil_tmp41 = (long )__cil_tmp40;
20063#line 917
20064  tmp___8 = __builtin_expect(__cil_tmp41, 0L);
20065  }
20066#line 917
20067  if (tmp___8) {
20068    {
20069#line 917
20070    __cil_tmp42 = (int    )917;
20071#line 917
20072    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c",
20073                       __cil_tmp42);
20074    }
20075  } else {
20076
20077  }
20078  {
20079#line 917
20080  __cil_tmp43 = ! __ret_warn_on;
20081#line 917
20082  __cil_tmp44 = ! __cil_tmp43;
20083#line 917
20084  __cil_tmp45 = (long )__cil_tmp44;
20085#line 917
20086  __builtin_expect(__cil_tmp45, 0L);
20087  }
20088  {
20089#line 922
20090  __cil_tmp46 = 1 << 23;
20091#line 922
20092  __cil_tmp47 = (unsigned int )__cil_tmp46;
20093#line 922
20094  if (f_ctl & __cil_tmp47) {
20095    {
20096#line 923
20097    __cil_tmp48 = (unsigned long )fh;
20098#line 923
20099    __cil_tmp49 = __cil_tmp48 + 16;
20100#line 923
20101    __cil_tmp50 = *((__be16 *)__cil_tmp49);
20102#line 923
20103    tmp___9 = __fswab16(__cil_tmp50);
20104#line 923
20105    __cil_tmp51 = (int )tmp___9;
20106#line 923
20107    xid = (u16 )__cil_tmp51;
20108#line 924
20109    ep = fc_exch_find(mp, xid);
20110    }
20111#line 925
20112    if (! ep) {
20113      {
20114#line 926
20115      __cil_tmp52 = 32 + 8;
20116#line 926
20117      __cil_tmp53 = (unsigned long )mp;
20118#line 926
20119      __cil_tmp54 = __cil_tmp53 + __cil_tmp52;
20120#line 926
20121      __cil_tmp55 = (atomic_t *)__cil_tmp54;
20122#line 926
20123      atomic_inc(__cil_tmp55);
20124#line 927
20125      reject = (enum fc_pf_rjt_reason )11;
20126      }
20127#line 928
20128      goto out;
20129    } else {
20130
20131    }
20132    {
20133#line 930
20134    __cil_tmp56 = (unsigned long )ep;
20135#line 930
20136    __cil_tmp57 = __cil_tmp56 + 84;
20137#line 930
20138    __cil_tmp58 = *((u16 *)__cil_tmp57);
20139#line 930
20140    __cil_tmp59 = (int )__cil_tmp58;
20141#line 930
20142    if (__cil_tmp59 == 65535) {
20143      {
20144#line 931
20145      __cil_tmp60 = (unsigned long )fh;
20146#line 931
20147      __cil_tmp61 = __cil_tmp60 + 18;
20148#line 931
20149      __cil_tmp62 = *((__be16 *)__cil_tmp61);
20150#line 931
20151      tmp___10 = __fswab16(__cil_tmp62);
20152#line 931
20153      __cil_tmp63 = (unsigned long )ep;
20154#line 931
20155      __cil_tmp64 = __cil_tmp63 + 84;
20156#line 931
20157      __cil_tmp65 = (int )tmp___10;
20158#line 931
20159      *((u16 *)__cil_tmp64) = (u16 )__cil_tmp65;
20160      }
20161    } else {
20162      {
20163#line 932
20164      __cil_tmp66 = (unsigned long )fh;
20165#line 932
20166      __cil_tmp67 = __cil_tmp66 + 18;
20167#line 932
20168      __cil_tmp68 = *((__be16 *)__cil_tmp67);
20169#line 932
20170      tmp___11 = __fswab16(__cil_tmp68);
20171      }
20172      {
20173#line 932
20174      __cil_tmp69 = (int )tmp___11;
20175#line 932
20176      __cil_tmp70 = (unsigned long )ep;
20177#line 932
20178      __cil_tmp71 = __cil_tmp70 + 84;
20179#line 932
20180      __cil_tmp72 = *((u16 *)__cil_tmp71);
20181#line 932
20182      __cil_tmp73 = (int )__cil_tmp72;
20183#line 932
20184      if (__cil_tmp73 != __cil_tmp69) {
20185#line 933
20186        reject = (enum fc_pf_rjt_reason )11;
20187#line 934
20188        goto rel;
20189      } else {
20190
20191      }
20192      }
20193    }
20194    }
20195  } else {
20196    {
20197#line 937
20198    __cil_tmp74 = (unsigned long )fh;
20199#line 937
20200    __cil_tmp75 = __cil_tmp74 + 18;
20201#line 937
20202    __cil_tmp76 = *((__be16 *)__cil_tmp75);
20203#line 937
20204    tmp___12 = __fswab16(__cil_tmp76);
20205#line 937
20206    __cil_tmp77 = (int )tmp___12;
20207#line 937
20208    xid = (u16 )__cil_tmp77;
20209    }
20210    {
20211#line 944
20212    __cil_tmp78 = (int )xid;
20213#line 944
20214    if (__cil_tmp78 == 0) {
20215      {
20216#line 944
20217      __cil_tmp79 = *((__u8 *)fh);
20218#line 944
20219      __cil_tmp80 = (int )__cil_tmp79;
20220#line 944
20221      if (__cil_tmp80 == 34) {
20222        {
20223#line 944
20224        __cil_tmp81 = (struct fc_frame    *)fp;
20225#line 944
20226        tmp___14 = fc_frame_payload_op(__cil_tmp81);
20227        }
20228        {
20229#line 944
20230        __cil_tmp82 = (int )tmp___14;
20231#line 944
20232        if (__cil_tmp82 == 17) {
20233#line 946
20234          __cil_tmp83 = (unsigned long )fh;
20235#line 946
20236          __cil_tmp84 = __cil_tmp83 + 18;
20237#line 946
20238          __cil_tmp85 = 65280 >> 8;
20239#line 946
20240          __cil_tmp86 = 255 << 8;
20241#line 946
20242          __cil_tmp87 = __cil_tmp86 | __cil_tmp85;
20243#line 946
20244          __cil_tmp88 = (__u16 )__cil_tmp87;
20245#line 946
20246          __cil_tmp89 = (int )__cil_tmp88;
20247#line 946
20248          *((__be16 *)__cil_tmp84) = (__be16 )__cil_tmp89;
20249#line 947
20250          xid = (u16 )65535;
20251        } else {
20252
20253        }
20254        }
20255      } else {
20256
20257      }
20258      }
20259    } else {
20260
20261    }
20262    }
20263    {
20264#line 953
20265    ep = fc_exch_find(mp, xid);
20266    }
20267    {
20268#line 954
20269    __cil_tmp90 = 1 << 21;
20270#line 954
20271    __cil_tmp91 = (unsigned int )__cil_tmp90;
20272#line 954
20273    if (f_ctl & __cil_tmp91) {
20274      {
20275#line 954
20276      __cil_tmp92 = 0 * 1UL;
20277#line 954
20278      __cil_tmp93 = 40 + __cil_tmp92;
20279#line 954
20280      __cil_tmp94 = 0 + __cil_tmp93;
20281#line 954
20282      __cil_tmp95 = (unsigned long )fp;
20283#line 954
20284      __cil_tmp96 = __cil_tmp95 + __cil_tmp94;
20285#line 954
20286      __cil_tmp97 = (char *)__cil_tmp96;
20287#line 954
20288      __cil_tmp98 = (struct fcoe_rcv_info *)__cil_tmp97;
20289#line 954
20290      __cil_tmp99 = (unsigned long )__cil_tmp98;
20291#line 954
20292      __cil_tmp100 = __cil_tmp99 + 30;
20293#line 954
20294      __cil_tmp101 = *((u8 *)__cil_tmp100);
20295#line 954
20296      __cil_tmp102 = (enum fc_sof )__cil_tmp101;
20297#line 954
20298      tmp___15 = fc_sof_is_init(__cil_tmp102);
20299      }
20300#line 954
20301      if (tmp___15) {
20302#line 955
20303        if (ep) {
20304          {
20305#line 956
20306          __cil_tmp103 = 32 + 12;
20307#line 956
20308          __cil_tmp104 = (unsigned long )mp;
20309#line 956
20310          __cil_tmp105 = __cil_tmp104 + __cil_tmp103;
20311#line 956
20312          __cil_tmp106 = (atomic_t *)__cil_tmp105;
20313#line 956
20314          atomic_inc(__cil_tmp106);
20315#line 957
20316          reject = (enum fc_pf_rjt_reason )12;
20317          }
20318#line 958
20319          goto rel;
20320        } else {
20321
20322        }
20323        {
20324#line 960
20325        ep = fc_exch_resp(lport, mp, fp);
20326        }
20327#line 961
20328        if (! ep) {
20329#line 962
20330          reject = (enum fc_pf_rjt_reason )24;
20331#line 963
20332          goto out;
20333        } else {
20334
20335        }
20336#line 965
20337        __cil_tmp107 = (unsigned long )ep;
20338#line 965
20339        __cil_tmp108 = __cil_tmp107 + 80;
20340#line 965
20341        xid = *((u16 *)__cil_tmp108);
20342      } else {
20343#line 954
20344        goto _L;
20345      }
20346    } else
20347    _L: /* CIL Label */ 
20348#line 966
20349    if (! ep) {
20350      {
20351#line 967
20352      __cil_tmp109 = 32 + 8;
20353#line 967
20354      __cil_tmp110 = (unsigned long )mp;
20355#line 967
20356      __cil_tmp111 = __cil_tmp110 + __cil_tmp109;
20357#line 967
20358      __cil_tmp112 = (atomic_t *)__cil_tmp111;
20359#line 967
20360      atomic_inc(__cil_tmp112);
20361#line 968
20362      reject = (enum fc_pf_rjt_reason )12;
20363      }
20364#line 969
20365      goto out;
20366    } else {
20367
20368    }
20369    }
20370  }
20371  }
20372  {
20373#line 977
20374  __cil_tmp113 = 0 * 1UL;
20375#line 977
20376  __cil_tmp114 = 40 + __cil_tmp113;
20377#line 977
20378  __cil_tmp115 = 0 + __cil_tmp114;
20379#line 977
20380  __cil_tmp116 = (unsigned long )fp;
20381#line 977
20382  __cil_tmp117 = __cil_tmp116 + __cil_tmp115;
20383#line 977
20384  __cil_tmp118 = (char *)__cil_tmp117;
20385#line 977
20386  __cil_tmp119 = (struct fcoe_rcv_info *)__cil_tmp118;
20387#line 977
20388  __cil_tmp120 = (unsigned long )__cil_tmp119;
20389#line 977
20390  __cil_tmp121 = __cil_tmp120 + 30;
20391#line 977
20392  __cil_tmp122 = *((u8 *)__cil_tmp121);
20393#line 977
20394  __cil_tmp123 = (enum fc_sof )__cil_tmp122;
20395#line 977
20396  tmp___16 = fc_sof_is_init(__cil_tmp123);
20397  }
20398#line 977
20399  if (tmp___16) {
20400#line 978
20401    __cil_tmp124 = (unsigned long )ep;
20402#line 978
20403    __cil_tmp125 = __cil_tmp124 + 108;
20404#line 978
20405    sp = (struct fc_seq *)__cil_tmp125;
20406#line 979
20407    __cil_tmp126 = (unsigned long )sp;
20408#line 979
20409    __cil_tmp127 = __cil_tmp126 + 2;
20410#line 979
20411    __cil_tmp128 = 1 << 15;
20412#line 979
20413    __cil_tmp129 = (unsigned long )sp;
20414#line 979
20415    __cil_tmp130 = __cil_tmp129 + 2;
20416#line 979
20417    __cil_tmp131 = *((u16 *)__cil_tmp130);
20418#line 979
20419    __cil_tmp132 = (int )__cil_tmp131;
20420#line 979
20421    __cil_tmp133 = __cil_tmp132 | __cil_tmp128;
20422#line 979
20423    *((u16 *)__cil_tmp127) = (u16 )__cil_tmp133;
20424#line 980
20425    __cil_tmp134 = (unsigned long )fh;
20426#line 980
20427    __cil_tmp135 = __cil_tmp134 + 12;
20428#line 980
20429    *((u8 *)sp) = *((__u8 *)__cil_tmp135);
20430  } else {
20431#line 982
20432    __cil_tmp136 = (unsigned long )ep;
20433#line 982
20434    __cil_tmp137 = __cil_tmp136 + 108;
20435#line 982
20436    sp = (struct fc_seq *)__cil_tmp137;
20437    {
20438#line 983
20439    __cil_tmp138 = (unsigned long )fh;
20440#line 983
20441    __cil_tmp139 = __cil_tmp138 + 12;
20442#line 983
20443    __cil_tmp140 = *((__u8 *)__cil_tmp139);
20444#line 983
20445    __cil_tmp141 = (int )__cil_tmp140;
20446#line 983
20447    __cil_tmp142 = *((u8 *)sp);
20448#line 983
20449    __cil_tmp143 = (int )__cil_tmp142;
20450#line 983
20451    if (__cil_tmp143 != __cil_tmp141) {
20452      {
20453#line 984
20454      __cil_tmp144 = 32 + 16;
20455#line 984
20456      __cil_tmp145 = (unsigned long )mp;
20457#line 984
20458      __cil_tmp146 = __cil_tmp145 + __cil_tmp144;
20459#line 984
20460      __cil_tmp147 = (atomic_t *)__cil_tmp146;
20461#line 984
20462      atomic_inc(__cil_tmp147);
20463      }
20464      {
20465#line 985
20466      __cil_tmp148 = 1 << 19;
20467#line 985
20468      __cil_tmp149 = (unsigned int )__cil_tmp148;
20469#line 985
20470      if (f_ctl & __cil_tmp149) {
20471        {
20472#line 1000
20473        __cil_tmp150 = (spinlock_t *)ep;
20474#line 1000
20475        spin_lock_bh(__cil_tmp150);
20476#line 1001
20477        __cil_tmp151 = (unsigned long )sp;
20478#line 1001
20479        __cil_tmp152 = __cil_tmp151 + 2;
20480#line 1001
20481        __cil_tmp153 = 1 << 15;
20482#line 1001
20483        __cil_tmp154 = (unsigned long )sp;
20484#line 1001
20485        __cil_tmp155 = __cil_tmp154 + 2;
20486#line 1001
20487        __cil_tmp156 = *((u16 *)__cil_tmp155);
20488#line 1001
20489        __cil_tmp157 = (int )__cil_tmp156;
20490#line 1001
20491        __cil_tmp158 = __cil_tmp157 | __cil_tmp153;
20492#line 1001
20493        *((u16 *)__cil_tmp152) = (u16 )__cil_tmp158;
20494#line 1002
20495        __cil_tmp159 = (unsigned long )fh;
20496#line 1002
20497        __cil_tmp160 = __cil_tmp159 + 12;
20498#line 1002
20499        *((u8 *)sp) = *((__u8 *)__cil_tmp160);
20500#line 1003
20501        __cil_tmp161 = (spinlock_t *)ep;
20502#line 1003
20503        spin_unlock_bh(__cil_tmp161);
20504        }
20505      } else {
20506#line 1006
20507        reject = (enum fc_pf_rjt_reason )13;
20508#line 1007
20509        goto rel;
20510      }
20511      }
20512    } else {
20513
20514    }
20515    }
20516  }
20517#line 1011
20518  __mptr = (struct fc_seq    *)sp;
20519  {
20520#line 1011
20521  __cil_tmp162 = (struct fc_exch *)0;
20522#line 1011
20523  __cil_tmp163 = (unsigned long )__cil_tmp162;
20524#line 1011
20525  __cil_tmp164 = __cil_tmp163 + 108;
20526#line 1011
20527  __cil_tmp165 = (struct fc_seq *)__cil_tmp164;
20528#line 1011
20529  __cil_tmp166 = (unsigned int )__cil_tmp165;
20530#line 1011
20531  __cil_tmp167 = (char *)__mptr;
20532#line 1011
20533  __cil_tmp168 = __cil_tmp167 - __cil_tmp166;
20534#line 1011
20535  __cil_tmp169 = (struct fc_exch *)__cil_tmp168;
20536#line 1011
20537  __cil_tmp170 = (unsigned long )__cil_tmp169;
20538#line 1011
20539  __cil_tmp171 = (unsigned long )ep;
20540#line 1011
20541  if (__cil_tmp171 != __cil_tmp170) {
20542#line 1011
20543    tmp___17 = 1;
20544  } else {
20545#line 1011
20546    tmp___17 = 0;
20547  }
20548  }
20549  {
20550#line 1011
20551  __ret_warn_on___0 = tmp___17;
20552#line 1011
20553  __cil_tmp172 = ! __ret_warn_on___0;
20554#line 1011
20555  __cil_tmp173 = ! __cil_tmp172;
20556#line 1011
20557  __cil_tmp174 = (long )__cil_tmp173;
20558#line 1011
20559  tmp___18 = __builtin_expect(__cil_tmp174, 0L);
20560  }
20561#line 1011
20562  if (tmp___18) {
20563    {
20564#line 1011
20565    __cil_tmp175 = (int    )1011;
20566#line 1011
20567    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c",
20568                       __cil_tmp175);
20569    }
20570  } else {
20571
20572  }
20573  {
20574#line 1011
20575  __cil_tmp176 = ! __ret_warn_on___0;
20576#line 1011
20577  __cil_tmp177 = ! __cil_tmp176;
20578#line 1011
20579  __cil_tmp178 = (long )__cil_tmp177;
20580#line 1011
20581  __builtin_expect(__cil_tmp178, 0L);
20582  }
20583  {
20584#line 1013
20585  __cil_tmp179 = 1 << 16;
20586#line 1013
20587  __cil_tmp180 = (unsigned int )__cil_tmp179;
20588#line 1013
20589  if (f_ctl & __cil_tmp180) {
20590#line 1014
20591    __cil_tmp181 = (unsigned long )ep;
20592#line 1014
20593    __cil_tmp182 = __cil_tmp181 + 72;
20594#line 1014
20595    __cil_tmp183 = 1 << 30;
20596#line 1014
20597    __cil_tmp184 = (unsigned int )__cil_tmp183;
20598#line 1014
20599    __cil_tmp185 = (unsigned long )ep;
20600#line 1014
20601    __cil_tmp186 = __cil_tmp185 + 72;
20602#line 1014
20603    __cil_tmp187 = *((u32 *)__cil_tmp186);
20604#line 1014
20605    *((u32 *)__cil_tmp182) = __cil_tmp187 | __cil_tmp184;
20606  } else {
20607
20608  }
20609  }
20610#line 1016
20611  __cil_tmp188 = 0 * 1UL;
20612#line 1016
20613  __cil_tmp189 = 40 + __cil_tmp188;
20614#line 1016
20615  __cil_tmp190 = 0 + __cil_tmp189;
20616#line 1016
20617  __cil_tmp191 = (unsigned long )fp;
20618#line 1016
20619  __cil_tmp192 = __cil_tmp191 + __cil_tmp190;
20620#line 1016
20621  __cil_tmp193 = (char *)__cil_tmp192;
20622#line 1016
20623  __cil_tmp194 = (struct fcoe_rcv_info *)__cil_tmp193;
20624#line 1016
20625  __cil_tmp195 = (unsigned long )__cil_tmp194;
20626#line 1016
20627  __cil_tmp196 = __cil_tmp195 + 8;
20628#line 1016
20629  *((struct fc_seq **)__cil_tmp196) = sp;
20630  out: 
20631#line 1018
20632  return (reject);
20633  rel: 
20634  {
20635#line 1020
20636  __cil_tmp197 = (unsigned long )ep;
20637#line 1020
20638  __cil_tmp198 = __cil_tmp197 + 108;
20639#line 1020
20640  __cil_tmp199 = (struct fc_seq *)__cil_tmp198;
20641#line 1020
20642  fc_exch_done(__cil_tmp199);
20643#line 1021
20644  fc_exch_release(ep);
20645  }
20646#line 1022
20647  return (reject);
20648}
20649}
20650#line 1033 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
20651static struct fc_seq *fc_seq_lookup_orig(struct fc_exch_mgr *mp , struct fc_frame *fp ) 
20652{ struct fc_frame_header *fh ;
20653  struct fc_frame_header *tmp___7 ;
20654  struct fc_exch *ep ;
20655  struct fc_seq *sp ;
20656  u32 f_ctl ;
20657  u16 xid ;
20658  int __ret_warn_on ;
20659  long tmp___8 ;
20660  int tmp___12 ;
20661  __u16 tmp___13 ;
20662  __u16 tmp___14 ;
20663  struct fc_frame    *__cil_tmp17 ;
20664  void *__cil_tmp18 ;
20665  unsigned long __cil_tmp19 ;
20666  unsigned long __cil_tmp20 ;
20667  unsigned long __cil_tmp21 ;
20668  unsigned long __cil_tmp22 ;
20669  __u8 *__cil_tmp23 ;
20670  u8    *__cil_tmp24 ;
20671  int __cil_tmp25 ;
20672  unsigned int __cil_tmp26 ;
20673  int __cil_tmp27 ;
20674  unsigned int __cil_tmp28 ;
20675  unsigned int __cil_tmp29 ;
20676  int __cil_tmp30 ;
20677  int __cil_tmp31 ;
20678  int __cil_tmp32 ;
20679  int __cil_tmp33 ;
20680  long __cil_tmp34 ;
20681  int    __cil_tmp35 ;
20682  int __cil_tmp36 ;
20683  int __cil_tmp37 ;
20684  long __cil_tmp38 ;
20685  int __cil_tmp39 ;
20686  unsigned int __cil_tmp40 ;
20687  unsigned long __cil_tmp41 ;
20688  unsigned long __cil_tmp42 ;
20689  __be16 __cil_tmp43 ;
20690  unsigned long __cil_tmp44 ;
20691  unsigned long __cil_tmp45 ;
20692  __be16 __cil_tmp46 ;
20693  __be16 __cil_tmp47 ;
20694  int __cil_tmp48 ;
20695  void *__cil_tmp49 ;
20696  unsigned long __cil_tmp50 ;
20697  unsigned long __cil_tmp51 ;
20698  __u8 __cil_tmp52 ;
20699  int __cil_tmp53 ;
20700  unsigned long __cil_tmp54 ;
20701  unsigned long __cil_tmp55 ;
20702  u8 __cil_tmp56 ;
20703  int __cil_tmp57 ;
20704  unsigned long __cil_tmp58 ;
20705  unsigned long __cil_tmp59 ;
20706  int __cil_tmp60 ;
20707  unsigned int __cil_tmp61 ;
20708  unsigned int __cil_tmp62 ;
20709  unsigned long __cil_tmp63 ;
20710  unsigned long __cil_tmp64 ;
20711  u16 __cil_tmp65 ;
20712  int __cil_tmp66 ;
20713  unsigned long __cil_tmp67 ;
20714  unsigned long __cil_tmp68 ;
20715  __be16 __cil_tmp69 ;
20716  unsigned long __cil_tmp70 ;
20717  unsigned long __cil_tmp71 ;
20718  int __cil_tmp72 ;
20719
20720  {
20721  {
20722#line 1036
20723  __cil_tmp17 = (struct fc_frame    *)fp;
20724#line 1036
20725  tmp___7 = fc_frame_header_get(__cil_tmp17);
20726#line 1036
20727  fh = tmp___7;
20728#line 1038
20729  __cil_tmp18 = (void *)0;
20730#line 1038
20731  sp = (struct fc_seq *)__cil_tmp18;
20732#line 1042
20733  __cil_tmp19 = 0 * 1UL;
20734#line 1042
20735  __cil_tmp20 = 9 + __cil_tmp19;
20736#line 1042
20737  __cil_tmp21 = (unsigned long )fh;
20738#line 1042
20739  __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
20740#line 1042
20741  __cil_tmp23 = (__u8 *)__cil_tmp22;
20742#line 1042
20743  __cil_tmp24 = (u8    *)__cil_tmp23;
20744#line 1042
20745  f_ctl = ntoh24(__cil_tmp24);
20746#line 1043
20747  __cil_tmp25 = 1 << 22;
20748#line 1043
20749  __cil_tmp26 = (unsigned int )__cil_tmp25;
20750#line 1043
20751  __cil_tmp27 = 1 << 22;
20752#line 1043
20753  __cil_tmp28 = (unsigned int )__cil_tmp27;
20754#line 1043
20755  __cil_tmp29 = f_ctl & __cil_tmp28;
20756#line 1043
20757  __cil_tmp30 = __cil_tmp29 != __cil_tmp26;
20758#line 1043
20759  __cil_tmp31 = ! __cil_tmp30;
20760#line 1043
20761  __ret_warn_on = ! __cil_tmp31;
20762#line 1043
20763  __cil_tmp32 = ! __ret_warn_on;
20764#line 1043
20765  __cil_tmp33 = ! __cil_tmp32;
20766#line 1043
20767  __cil_tmp34 = (long )__cil_tmp33;
20768#line 1043
20769  tmp___8 = __builtin_expect(__cil_tmp34, 0L);
20770  }
20771#line 1043
20772  if (tmp___8) {
20773    {
20774#line 1043
20775    __cil_tmp35 = (int    )1043;
20776#line 1043
20777    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c",
20778                       __cil_tmp35);
20779    }
20780  } else {
20781
20782  }
20783  {
20784#line 1043
20785  __cil_tmp36 = ! __ret_warn_on;
20786#line 1043
20787  __cil_tmp37 = ! __cil_tmp36;
20788#line 1043
20789  __cil_tmp38 = (long )__cil_tmp37;
20790#line 1043
20791  __builtin_expect(__cil_tmp38, 0L);
20792  }
20793  {
20794#line 1044
20795  __cil_tmp39 = 1 << 23;
20796#line 1044
20797  __cil_tmp40 = (unsigned int )__cil_tmp39;
20798#line 1044
20799  if (f_ctl & __cil_tmp40) {
20800#line 1044
20801    __cil_tmp41 = (unsigned long )fh;
20802#line 1044
20803    __cil_tmp42 = __cil_tmp41 + 16;
20804#line 1044
20805    __cil_tmp43 = *((__be16 *)__cil_tmp42);
20806#line 1044
20807    tmp___12 = (int )__cil_tmp43;
20808  } else {
20809#line 1044
20810    __cil_tmp44 = (unsigned long )fh;
20811#line 1044
20812    __cil_tmp45 = __cil_tmp44 + 18;
20813#line 1044
20814    __cil_tmp46 = *((__be16 *)__cil_tmp45);
20815#line 1044
20816    tmp___12 = (int )__cil_tmp46;
20817  }
20818  }
20819  {
20820#line 1044
20821  __cil_tmp47 = (__be16 )tmp___12;
20822#line 1044
20823  tmp___13 = __fswab16(__cil_tmp47);
20824#line 1044
20825  __cil_tmp48 = (int )tmp___13;
20826#line 1044
20827  xid = (u16 )__cil_tmp48;
20828#line 1045
20829  ep = fc_exch_find(mp, xid);
20830  }
20831#line 1046
20832  if (! ep) {
20833    {
20834#line 1047
20835    __cil_tmp49 = (void *)0;
20836#line 1047
20837    return ((struct fc_seq *)__cil_tmp49);
20838    }
20839  } else {
20840
20841  }
20842  {
20843#line 1048
20844  __cil_tmp50 = (unsigned long )fh;
20845#line 1048
20846  __cil_tmp51 = __cil_tmp50 + 12;
20847#line 1048
20848  __cil_tmp52 = *((__u8 *)__cil_tmp51);
20849#line 1048
20850  __cil_tmp53 = (int )__cil_tmp52;
20851#line 1048
20852  __cil_tmp54 = (unsigned long )ep;
20853#line 1048
20854  __cil_tmp55 = __cil_tmp54 + 108;
20855#line 1048
20856  __cil_tmp56 = *((u8 *)__cil_tmp55);
20857#line 1048
20858  __cil_tmp57 = (int )__cil_tmp56;
20859#line 1048
20860  if (__cil_tmp57 == __cil_tmp53) {
20861#line 1052
20862    __cil_tmp58 = (unsigned long )ep;
20863#line 1052
20864    __cil_tmp59 = __cil_tmp58 + 108;
20865#line 1052
20866    sp = (struct fc_seq *)__cil_tmp59;
20867    {
20868#line 1053
20869    __cil_tmp60 = 1 << 23;
20870#line 1053
20871    __cil_tmp61 = (unsigned int )__cil_tmp60;
20872#line 1053
20873    __cil_tmp62 = f_ctl & __cil_tmp61;
20874#line 1053
20875    if (__cil_tmp62 != 0U) {
20876      {
20877#line 1053
20878      __cil_tmp63 = (unsigned long )ep;
20879#line 1053
20880      __cil_tmp64 = __cil_tmp63 + 84;
20881#line 1053
20882      __cil_tmp65 = *((u16 *)__cil_tmp64);
20883#line 1053
20884      __cil_tmp66 = (int )__cil_tmp65;
20885#line 1053
20886      if (__cil_tmp66 == 65535) {
20887        {
20888#line 1055
20889        __cil_tmp67 = (unsigned long )fh;
20890#line 1055
20891        __cil_tmp68 = __cil_tmp67 + 18;
20892#line 1055
20893        __cil_tmp69 = *((__be16 *)__cil_tmp68);
20894#line 1055
20895        tmp___14 = __fswab16(__cil_tmp69);
20896#line 1055
20897        __cil_tmp70 = (unsigned long )ep;
20898#line 1055
20899        __cil_tmp71 = __cil_tmp70 + 84;
20900#line 1055
20901        __cil_tmp72 = (int )tmp___14;
20902#line 1055
20903        *((u16 *)__cil_tmp71) = (u16 )__cil_tmp72;
20904        }
20905      } else {
20906
20907      }
20908      }
20909    } else {
20910
20911    }
20912    }
20913  } else {
20914
20915  }
20916  }
20917  {
20918#line 1058
20919  fc_exch_release(ep);
20920  }
20921#line 1059
20922  return (sp);
20923}
20924}
20925#line 1070 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
20926static void fc_exch_set_addr(struct fc_exch *ep , u32 orig_id , u32 resp_id ) 
20927{ unsigned long __cil_tmp4 ;
20928  unsigned long __cil_tmp5 ;
20929  int __cil_tmp6 ;
20930  unsigned int __cil_tmp7 ;
20931  unsigned long __cil_tmp8 ;
20932  unsigned long __cil_tmp9 ;
20933  u32 __cil_tmp10 ;
20934  unsigned long __cil_tmp11 ;
20935  unsigned long __cil_tmp12 ;
20936  unsigned long __cil_tmp13 ;
20937  unsigned long __cil_tmp14 ;
20938  unsigned long __cil_tmp15 ;
20939  unsigned long __cil_tmp16 ;
20940  unsigned long __cil_tmp17 ;
20941  unsigned long __cil_tmp18 ;
20942
20943  {
20944#line 1073
20945  __cil_tmp4 = (unsigned long )ep;
20946#line 1073
20947  __cil_tmp5 = __cil_tmp4 + 88;
20948#line 1073
20949  *((u32 *)__cil_tmp5) = orig_id;
20950  {
20951#line 1074
20952  __cil_tmp6 = 1 << 31;
20953#line 1074
20954  __cil_tmp7 = (unsigned int )__cil_tmp6;
20955#line 1074
20956  __cil_tmp8 = (unsigned long )ep;
20957#line 1074
20958  __cil_tmp9 = __cil_tmp8 + 72;
20959#line 1074
20960  __cil_tmp10 = *((u32 *)__cil_tmp9);
20961#line 1074
20962  if (__cil_tmp10 & __cil_tmp7) {
20963#line 1075
20964    __cil_tmp11 = (unsigned long )ep;
20965#line 1075
20966    __cil_tmp12 = __cil_tmp11 + 92;
20967#line 1075
20968    *((u32 *)__cil_tmp12) = resp_id;
20969#line 1076
20970    __cil_tmp13 = (unsigned long )ep;
20971#line 1076
20972    __cil_tmp14 = __cil_tmp13 + 96;
20973#line 1076
20974    *((u32 *)__cil_tmp14) = orig_id;
20975  } else {
20976#line 1078
20977    __cil_tmp15 = (unsigned long )ep;
20978#line 1078
20979    __cil_tmp16 = __cil_tmp15 + 92;
20980#line 1078
20981    *((u32 *)__cil_tmp16) = orig_id;
20982#line 1079
20983    __cil_tmp17 = (unsigned long )ep;
20984#line 1079
20985    __cil_tmp18 = __cil_tmp17 + 96;
20986#line 1079
20987    *((u32 *)__cil_tmp18) = resp_id;
20988  }
20989  }
20990#line 1081
20991  return;
20992}
20993}
20994#line 1092 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
20995static void fc_seq_els_rsp_send(struct fc_frame *fp , enum fc_els_cmd els_cmd , struct fc_seq_els_data *els_data ) 
20996{ long tmp___7 ;
20997  enum fc_els_rjt_reason __cil_tmp5 ;
20998  unsigned long __cil_tmp6 ;
20999  unsigned long __cil_tmp7 ;
21000  enum fc_els_rjt_explan __cil_tmp8 ;
21001  unsigned int *__cil_tmp9 ;
21002  unsigned int __cil_tmp10 ;
21003  unsigned int __cil_tmp11 ;
21004  int __cil_tmp12 ;
21005  int __cil_tmp13 ;
21006  long __cil_tmp14 ;
21007  unsigned long __cil_tmp15 ;
21008  unsigned long __cil_tmp16 ;
21009  unsigned long __cil_tmp17 ;
21010  unsigned long __cil_tmp18 ;
21011  unsigned long __cil_tmp19 ;
21012  char *__cil_tmp20 ;
21013  struct fcoe_rcv_info *__cil_tmp21 ;
21014  struct fc_lport *__cil_tmp22 ;
21015  struct Scsi_Host *__cil_tmp23 ;
21016  unsigned long __cil_tmp24 ;
21017  unsigned long __cil_tmp25 ;
21018  unsigned int __cil_tmp26 ;
21019  unsigned long __cil_tmp27 ;
21020  unsigned long __cil_tmp28 ;
21021  unsigned long __cil_tmp29 ;
21022  unsigned long __cil_tmp30 ;
21023  unsigned long __cil_tmp31 ;
21024  char *__cil_tmp32 ;
21025  struct fcoe_rcv_info *__cil_tmp33 ;
21026  struct fc_lport *__cil_tmp34 ;
21027  unsigned long __cil_tmp35 ;
21028  unsigned long __cil_tmp36 ;
21029  u32 __cil_tmp37 ;
21030  unsigned int __cil_tmp38 ;
21031
21032  {
21033#line 1096
21034  if ((int )els_cmd == 1) {
21035#line 1096
21036    goto case_1;
21037  } else
21038#line 1099
21039  if ((int )els_cmd == 2) {
21040#line 1099
21041    goto case_2;
21042  } else
21043#line 1102
21044  if ((int )els_cmd == 18) {
21045#line 1102
21046    goto case_18;
21047  } else
21048#line 1105
21049  if ((int )els_cmd == 19) {
21050#line 1105
21051    goto case_19;
21052  } else {
21053    {
21054#line 1108
21055    goto switch_default;
21056#line 1095
21057    if (0) {
21058      case_1: /* CIL Label */ 
21059      {
21060#line 1097
21061      __cil_tmp5 = *((enum fc_els_rjt_reason *)els_data);
21062#line 1097
21063      __cil_tmp6 = (unsigned long )els_data;
21064#line 1097
21065      __cil_tmp7 = __cil_tmp6 + 4;
21066#line 1097
21067      __cil_tmp8 = *((enum fc_els_rjt_explan *)__cil_tmp7);
21068#line 1097
21069      fc_seq_ls_rjt(fp, __cil_tmp5, __cil_tmp8);
21070      }
21071#line 1098
21072      goto switch_break;
21073      case_2: /* CIL Label */ 
21074      {
21075#line 1100
21076      fc_seq_ls_acc(fp);
21077      }
21078#line 1101
21079      goto switch_break;
21080      case_18: /* CIL Label */ 
21081      {
21082#line 1103
21083      fc_exch_els_rrq(fp);
21084      }
21085#line 1104
21086      goto switch_break;
21087      case_19: /* CIL Label */ 
21088      {
21089#line 1106
21090      fc_exch_els_rec(fp);
21091      }
21092#line 1107
21093      goto switch_break;
21094      switch_default: /* CIL Label */ 
21095      {
21096#line 1109
21097      while (1) {
21098        while_continue: /* CIL Label */ ;
21099        {
21100#line 1109
21101        __cil_tmp9 = & fc_debug_logging;
21102#line 1109
21103        __cil_tmp10 = *__cil_tmp9;
21104#line 1109
21105        __cil_tmp11 = __cil_tmp10 & 2U;
21106#line 1109
21107        __cil_tmp12 = ! __cil_tmp11;
21108#line 1109
21109        __cil_tmp13 = ! __cil_tmp12;
21110#line 1109
21111        __cil_tmp14 = (long )__cil_tmp13;
21112#line 1109
21113        tmp___7 = __builtin_expect(__cil_tmp14, 0L);
21114        }
21115#line 1109
21116        if (tmp___7) {
21117          {
21118#line 1109
21119          while (1) {
21120            while_continue___0: /* CIL Label */ ;
21121            {
21122#line 1109
21123            __cil_tmp15 = 0 * 1UL;
21124#line 1109
21125            __cil_tmp16 = 40 + __cil_tmp15;
21126#line 1109
21127            __cil_tmp17 = 0 + __cil_tmp16;
21128#line 1109
21129            __cil_tmp18 = (unsigned long )fp;
21130#line 1109
21131            __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
21132#line 1109
21133            __cil_tmp20 = (char *)__cil_tmp19;
21134#line 1109
21135            __cil_tmp21 = (struct fcoe_rcv_info *)__cil_tmp20;
21136#line 1109
21137            __cil_tmp22 = *((struct fc_lport **)__cil_tmp21);
21138#line 1109
21139            __cil_tmp23 = *((struct Scsi_Host **)__cil_tmp22);
21140#line 1109
21141            __cil_tmp24 = (unsigned long )__cil_tmp23;
21142#line 1109
21143            __cil_tmp25 = __cil_tmp24 + 308;
21144#line 1109
21145            __cil_tmp26 = *((unsigned int *)__cil_tmp25);
21146#line 1109
21147            __cil_tmp27 = 0 * 1UL;
21148#line 1109
21149            __cil_tmp28 = 40 + __cil_tmp27;
21150#line 1109
21151            __cil_tmp29 = 0 + __cil_tmp28;
21152#line 1109
21153            __cil_tmp30 = (unsigned long )fp;
21154#line 1109
21155            __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
21156#line 1109
21157            __cil_tmp32 = (char *)__cil_tmp31;
21158#line 1109
21159            __cil_tmp33 = (struct fcoe_rcv_info *)__cil_tmp32;
21160#line 1109
21161            __cil_tmp34 = *((struct fc_lport **)__cil_tmp33);
21162#line 1109
21163            __cil_tmp35 = (unsigned long )__cil_tmp34;
21164#line 1109
21165            __cil_tmp36 = __cil_tmp35 + 788;
21166#line 1109
21167            __cil_tmp37 = *((u32 *)__cil_tmp36);
21168#line 1109
21169            __cil_tmp38 = (unsigned int )els_cmd;
21170#line 1109
21171            printk("<6>host%u: lport %6.6x: Invalid ELS CMD:%x\n", __cil_tmp26, __cil_tmp37,
21172                   __cil_tmp38);
21173            }
21174#line 1109
21175            goto while_break___0;
21176          }
21177          while_break___0: /* CIL Label */ ;
21178          }
21179        } else {
21180
21181        }
21182#line 1109
21183        goto while_break;
21184      }
21185      while_break: /* CIL Label */ ;
21186      }
21187    } else {
21188      switch_break: /* CIL Label */ ;
21189    }
21190    }
21191  }
21192#line 1111
21193  return;
21194}
21195}
21196#line 1120 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
21197static void fc_seq_send_last(struct fc_seq *sp , struct fc_frame *fp , enum fc_rctl rctl ,
21198                             enum fc_fh_type fh_type ) 
21199{ u32 f_ctl ;
21200  struct fc_exch *ep ;
21201  struct fc_seq    *__mptr ;
21202  struct fc_exch *__cil_tmp8 ;
21203  unsigned long __cil_tmp9 ;
21204  unsigned long __cil_tmp10 ;
21205  struct fc_seq *__cil_tmp11 ;
21206  unsigned int __cil_tmp12 ;
21207  char *__cil_tmp13 ;
21208  char *__cil_tmp14 ;
21209  int __cil_tmp15 ;
21210  int __cil_tmp16 ;
21211  int __cil_tmp17 ;
21212  int __cil_tmp18 ;
21213  int __cil_tmp19 ;
21214  unsigned long __cil_tmp20 ;
21215  unsigned long __cil_tmp21 ;
21216  u32 __cil_tmp22 ;
21217  unsigned long __cil_tmp23 ;
21218  unsigned long __cil_tmp24 ;
21219  u32 __cil_tmp25 ;
21220  unsigned long __cil_tmp26 ;
21221  unsigned long __cil_tmp27 ;
21222  u32 __cil_tmp28 ;
21223  u32 __cil_tmp29 ;
21224  unsigned long __cil_tmp30 ;
21225  unsigned long __cil_tmp31 ;
21226  struct fc_lport *__cil_tmp32 ;
21227
21228  {
21229  {
21230#line 1124
21231  __mptr = (struct fc_seq    *)sp;
21232#line 1124
21233  __cil_tmp8 = (struct fc_exch *)0;
21234#line 1124
21235  __cil_tmp9 = (unsigned long )__cil_tmp8;
21236#line 1124
21237  __cil_tmp10 = __cil_tmp9 + 108;
21238#line 1124
21239  __cil_tmp11 = (struct fc_seq *)__cil_tmp10;
21240#line 1124
21241  __cil_tmp12 = (unsigned int )__cil_tmp11;
21242#line 1124
21243  __cil_tmp13 = (char *)__mptr;
21244#line 1124
21245  __cil_tmp14 = __cil_tmp13 - __cil_tmp12;
21246#line 1124
21247  ep = (struct fc_exch *)__cil_tmp14;
21248#line 1126
21249  __cil_tmp15 = 1 << 16;
21250#line 1126
21251  __cil_tmp16 = 1 << 19;
21252#line 1126
21253  __cil_tmp17 = 1 << 20;
21254#line 1126
21255  __cil_tmp18 = __cil_tmp17 | __cil_tmp16;
21256#line 1126
21257  __cil_tmp19 = __cil_tmp18 | __cil_tmp15;
21258#line 1126
21259  f_ctl = (u32 )__cil_tmp19;
21260#line 1127
21261  __cil_tmp20 = (unsigned long )ep;
21262#line 1127
21263  __cil_tmp21 = __cil_tmp20 + 104;
21264#line 1127
21265  __cil_tmp22 = *((u32 *)__cil_tmp21);
21266#line 1127
21267  f_ctl = f_ctl | __cil_tmp22;
21268#line 1128
21269  __cil_tmp23 = (unsigned long )ep;
21270#line 1128
21271  __cil_tmp24 = __cil_tmp23 + 96;
21272#line 1128
21273  __cil_tmp25 = *((u32 *)__cil_tmp24);
21274#line 1128
21275  __cil_tmp26 = (unsigned long )ep;
21276#line 1128
21277  __cil_tmp27 = __cil_tmp26 + 92;
21278#line 1128
21279  __cil_tmp28 = *((u32 *)__cil_tmp27);
21280#line 1128
21281  __cil_tmp29 = (u32 )0;
21282#line 1128
21283  fc_fill_fc_hdr(fp, rctl, __cil_tmp25, __cil_tmp28, fh_type, f_ctl, __cil_tmp29);
21284#line 1129
21285  __cil_tmp30 = (unsigned long )ep;
21286#line 1129
21287  __cil_tmp31 = __cil_tmp30 + 64;
21288#line 1129
21289  __cil_tmp32 = *((struct fc_lport **)__cil_tmp31);
21290#line 1129
21291  fc_seq_send(__cil_tmp32, sp, fp);
21292  }
21293#line 1130
21294  return;
21295}
21296}
21297#line 1139 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
21298static void fc_seq_send_ack(struct fc_seq *sp , struct fc_frame    *rx_fp ) 
21299{ struct fc_frame *fp ;
21300  struct fc_frame_header *rx_fh ;
21301  struct fc_frame_header *fh ;
21302  struct fc_exch *ep ;
21303  struct fc_seq    *__mptr ;
21304  struct fc_lport *lport ;
21305  unsigned int f_ctl ;
21306  int tmp___8 ;
21307  struct fc_exch *__cil_tmp12 ;
21308  unsigned long __cil_tmp13 ;
21309  unsigned long __cil_tmp14 ;
21310  struct fc_seq *__cil_tmp15 ;
21311  unsigned int __cil_tmp16 ;
21312  char *__cil_tmp17 ;
21313  char *__cil_tmp18 ;
21314  unsigned long __cil_tmp19 ;
21315  unsigned long __cil_tmp20 ;
21316  unsigned long __cil_tmp21 ;
21317  unsigned long __cil_tmp22 ;
21318  unsigned long __cil_tmp23 ;
21319  unsigned long __cil_tmp24 ;
21320  unsigned long __cil_tmp25 ;
21321  char    *__cil_tmp26 ;
21322  struct fcoe_rcv_info *__cil_tmp27 ;
21323  unsigned long __cil_tmp28 ;
21324  unsigned long __cil_tmp29 ;
21325  u8 __cil_tmp30 ;
21326  enum fc_sof __cil_tmp31 ;
21327  size_t __cil_tmp32 ;
21328  struct fc_frame    *__cil_tmp33 ;
21329  unsigned long __cil_tmp34 ;
21330  unsigned long __cil_tmp35 ;
21331  unsigned long __cil_tmp36 ;
21332  unsigned long __cil_tmp37 ;
21333  unsigned long __cil_tmp38 ;
21334  unsigned long __cil_tmp39 ;
21335  __u8 *__cil_tmp40 ;
21336  u8    *__cil_tmp41 ;
21337  int __cil_tmp42 ;
21338  int __cil_tmp43 ;
21339  int __cil_tmp44 ;
21340  int __cil_tmp45 ;
21341  int __cil_tmp46 ;
21342  int __cil_tmp47 ;
21343  int __cil_tmp48 ;
21344  int __cil_tmp49 ;
21345  int __cil_tmp50 ;
21346  int __cil_tmp51 ;
21347  int __cil_tmp52 ;
21348  int __cil_tmp53 ;
21349  int __cil_tmp54 ;
21350  int __cil_tmp55 ;
21351  int __cil_tmp56 ;
21352  int __cil_tmp57 ;
21353  int __cil_tmp58 ;
21354  unsigned int __cil_tmp59 ;
21355  int __cil_tmp60 ;
21356  int __cil_tmp61 ;
21357  int __cil_tmp62 ;
21358  unsigned int __cil_tmp63 ;
21359  unsigned long __cil_tmp64 ;
21360  unsigned long __cil_tmp65 ;
21361  unsigned long __cil_tmp66 ;
21362  unsigned long __cil_tmp67 ;
21363  __u8 *__cil_tmp68 ;
21364  unsigned long __cil_tmp69 ;
21365  unsigned long __cil_tmp70 ;
21366  unsigned long __cil_tmp71 ;
21367  unsigned long __cil_tmp72 ;
21368  unsigned long __cil_tmp73 ;
21369  unsigned long __cil_tmp74 ;
21370  unsigned long __cil_tmp75 ;
21371  unsigned long __cil_tmp76 ;
21372  unsigned long __cil_tmp77 ;
21373  unsigned long __cil_tmp78 ;
21374  unsigned long __cil_tmp79 ;
21375  unsigned long __cil_tmp80 ;
21376  unsigned long __cil_tmp81 ;
21377  unsigned long __cil_tmp82 ;
21378  unsigned long __cil_tmp83 ;
21379  char *__cil_tmp84 ;
21380  struct fcoe_rcv_info *__cil_tmp85 ;
21381  unsigned long __cil_tmp86 ;
21382  unsigned long __cil_tmp87 ;
21383  unsigned long __cil_tmp88 ;
21384  unsigned long __cil_tmp89 ;
21385  unsigned long __cil_tmp90 ;
21386  unsigned long __cil_tmp91 ;
21387  unsigned long __cil_tmp92 ;
21388  char    *__cil_tmp93 ;
21389  struct fcoe_rcv_info *__cil_tmp94 ;
21390  unsigned long __cil_tmp95 ;
21391  unsigned long __cil_tmp96 ;
21392  int __cil_tmp97 ;
21393  unsigned int __cil_tmp98 ;
21394  unsigned long __cil_tmp99 ;
21395  unsigned long __cil_tmp100 ;
21396  unsigned long __cil_tmp101 ;
21397  unsigned long __cil_tmp102 ;
21398  unsigned long __cil_tmp103 ;
21399  char *__cil_tmp104 ;
21400  struct fcoe_rcv_info *__cil_tmp105 ;
21401  unsigned long __cil_tmp106 ;
21402  unsigned long __cil_tmp107 ;
21403  unsigned long __cil_tmp108 ;
21404  unsigned long __cil_tmp109 ;
21405  unsigned long __cil_tmp110 ;
21406  unsigned long __cil_tmp111 ;
21407  unsigned long __cil_tmp112 ;
21408  char *__cil_tmp113 ;
21409  struct fcoe_rcv_info *__cil_tmp114 ;
21410  unsigned long __cil_tmp115 ;
21411  unsigned long __cil_tmp116 ;
21412  unsigned long __cil_tmp117 ;
21413  unsigned long __cil_tmp118 ;
21414  int (*__cil_tmp119)(struct fc_lport * , struct fc_frame * ) ;
21415
21416  {
21417  {
21418#line 1144
21419  __mptr = (struct fc_seq    *)sp;
21420#line 1144
21421  __cil_tmp12 = (struct fc_exch *)0;
21422#line 1144
21423  __cil_tmp13 = (unsigned long )__cil_tmp12;
21424#line 1144
21425  __cil_tmp14 = __cil_tmp13 + 108;
21426#line 1144
21427  __cil_tmp15 = (struct fc_seq *)__cil_tmp14;
21428#line 1144
21429  __cil_tmp16 = (unsigned int )__cil_tmp15;
21430#line 1144
21431  __cil_tmp17 = (char *)__mptr;
21432#line 1144
21433  __cil_tmp18 = __cil_tmp17 - __cil_tmp16;
21434#line 1144
21435  ep = (struct fc_exch *)__cil_tmp18;
21436#line 1145
21437  __cil_tmp19 = (unsigned long )ep;
21438#line 1145
21439  __cil_tmp20 = __cil_tmp19 + 64;
21440#line 1145
21441  lport = *((struct fc_lport **)__cil_tmp20);
21442#line 1151
21443  __cil_tmp21 = 0 * 1UL;
21444#line 1151
21445  __cil_tmp22 = 40 + __cil_tmp21;
21446#line 1151
21447  __cil_tmp23 = 0 + __cil_tmp22;
21448#line 1151
21449  __cil_tmp24 = (unsigned long )rx_fp;
21450#line 1151
21451  __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
21452#line 1151
21453  __cil_tmp26 = (char    *)__cil_tmp25;
21454#line 1151
21455  __cil_tmp27 = (struct fcoe_rcv_info *)__cil_tmp26;
21456#line 1151
21457  __cil_tmp28 = (unsigned long )__cil_tmp27;
21458#line 1151
21459  __cil_tmp29 = __cil_tmp28 + 30;
21460#line 1151
21461  __cil_tmp30 = *((u8 *)__cil_tmp29);
21462#line 1151
21463  __cil_tmp31 = (enum fc_sof )__cil_tmp30;
21464#line 1151
21465  tmp___8 = fc_sof_needs_ack(__cil_tmp31);
21466  }
21467#line 1151
21468  if (tmp___8) {
21469    {
21470#line 1152
21471    __cil_tmp32 = (size_t )0;
21472#line 1152
21473    fp = fc_frame_alloc(lport, __cil_tmp32);
21474    }
21475#line 1153
21476    if (! fp) {
21477#line 1154
21478      return;
21479    } else {
21480
21481    }
21482    {
21483#line 1156
21484    __cil_tmp33 = (struct fc_frame    *)fp;
21485#line 1156
21486    fh = fc_frame_header_get(__cil_tmp33);
21487#line 1157
21488    *((__u8 *)fh) = (__u8 )192;
21489#line 1158
21490    __cil_tmp34 = (unsigned long )fh;
21491#line 1158
21492    __cil_tmp35 = __cil_tmp34 + 8;
21493#line 1158
21494    *((__u8 *)__cil_tmp35) = (__u8 )0;
21495#line 1167
21496    rx_fh = fc_frame_header_get(rx_fp);
21497#line 1168
21498    __cil_tmp36 = 0 * 1UL;
21499#line 1168
21500    __cil_tmp37 = 9 + __cil_tmp36;
21501#line 1168
21502    __cil_tmp38 = (unsigned long )rx_fh;
21503#line 1168
21504    __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
21505#line 1168
21506    __cil_tmp40 = (__u8 *)__cil_tmp39;
21507#line 1168
21508    __cil_tmp41 = (u8    *)__cil_tmp40;
21509#line 1168
21510    f_ctl = ntoh24(__cil_tmp41);
21511#line 1169
21512    __cil_tmp42 = 1 << 8;
21513#line 1169
21514    __cil_tmp43 = 1 << 9;
21515#line 1169
21516    __cil_tmp44 = 1 << 16;
21517#line 1169
21518    __cil_tmp45 = 1 << 18;
21519#line 1169
21520    __cil_tmp46 = 1 << 19;
21521#line 1169
21522    __cil_tmp47 = 1 << 20;
21523#line 1169
21524    __cil_tmp48 = 1 << 21;
21525#line 1169
21526    __cil_tmp49 = 1 << 22;
21527#line 1169
21528    __cil_tmp50 = 1 << 23;
21529#line 1169
21530    __cil_tmp51 = __cil_tmp50 | __cil_tmp49;
21531#line 1169
21532    __cil_tmp52 = __cil_tmp51 | __cil_tmp48;
21533#line 1169
21534    __cil_tmp53 = __cil_tmp52 | __cil_tmp47;
21535#line 1169
21536    __cil_tmp54 = __cil_tmp53 | __cil_tmp46;
21537#line 1169
21538    __cil_tmp55 = __cil_tmp54 | __cil_tmp45;
21539#line 1169
21540    __cil_tmp56 = __cil_tmp55 | __cil_tmp44;
21541#line 1169
21542    __cil_tmp57 = __cil_tmp56 | __cil_tmp43;
21543#line 1169
21544    __cil_tmp58 = __cil_tmp57 | __cil_tmp42;
21545#line 1169
21546    __cil_tmp59 = (unsigned int )__cil_tmp58;
21547#line 1169
21548    f_ctl = f_ctl & __cil_tmp59;
21549#line 1173
21550    __cil_tmp60 = 1 << 22;
21551#line 1173
21552    __cil_tmp61 = 1 << 23;
21553#line 1173
21554    __cil_tmp62 = __cil_tmp61 | __cil_tmp60;
21555#line 1173
21556    __cil_tmp63 = (unsigned int )__cil_tmp62;
21557#line 1173
21558    f_ctl = f_ctl ^ __cil_tmp63;
21559#line 1174
21560    __cil_tmp64 = 0 * 1UL;
21561#line 1174
21562    __cil_tmp65 = 9 + __cil_tmp64;
21563#line 1174
21564    __cil_tmp66 = (unsigned long )fh;
21565#line 1174
21566    __cil_tmp67 = __cil_tmp66 + __cil_tmp65;
21567#line 1174
21568    __cil_tmp68 = (__u8 *)__cil_tmp67;
21569#line 1174
21570    hton24(__cil_tmp68, f_ctl);
21571#line 1176
21572    fc_exch_setup_hdr(ep, fp, f_ctl);
21573#line 1177
21574    __cil_tmp69 = (unsigned long )fh;
21575#line 1177
21576    __cil_tmp70 = __cil_tmp69 + 12;
21577#line 1177
21578    __cil_tmp71 = (unsigned long )rx_fh;
21579#line 1177
21580    __cil_tmp72 = __cil_tmp71 + 12;
21581#line 1177
21582    *((__u8 *)__cil_tmp70) = *((__u8 *)__cil_tmp72);
21583#line 1178
21584    __cil_tmp73 = (unsigned long )fh;
21585#line 1178
21586    __cil_tmp74 = __cil_tmp73 + 14;
21587#line 1178
21588    __cil_tmp75 = (unsigned long )rx_fh;
21589#line 1178
21590    __cil_tmp76 = __cil_tmp75 + 14;
21591#line 1178
21592    *((__be16 *)__cil_tmp74) = *((__be16 *)__cil_tmp76);
21593#line 1179
21594    __cil_tmp77 = (unsigned long )fh;
21595#line 1179
21596    __cil_tmp78 = __cil_tmp77 + 20;
21597#line 1179
21598    *((__be32 *)__cil_tmp78) = 1U << 24;
21599#line 1181
21600    __cil_tmp79 = 0 * 1UL;
21601#line 1181
21602    __cil_tmp80 = 40 + __cil_tmp79;
21603#line 1181
21604    __cil_tmp81 = 0 + __cil_tmp80;
21605#line 1181
21606    __cil_tmp82 = (unsigned long )fp;
21607#line 1181
21608    __cil_tmp83 = __cil_tmp82 + __cil_tmp81;
21609#line 1181
21610    __cil_tmp84 = (char *)__cil_tmp83;
21611#line 1181
21612    __cil_tmp85 = (struct fcoe_rcv_info *)__cil_tmp84;
21613#line 1181
21614    __cil_tmp86 = (unsigned long )__cil_tmp85;
21615#line 1181
21616    __cil_tmp87 = __cil_tmp86 + 30;
21617#line 1181
21618    __cil_tmp88 = 0 * 1UL;
21619#line 1181
21620    __cil_tmp89 = 40 + __cil_tmp88;
21621#line 1181
21622    __cil_tmp90 = 0 + __cil_tmp89;
21623#line 1181
21624    __cil_tmp91 = (unsigned long )rx_fp;
21625#line 1181
21626    __cil_tmp92 = __cil_tmp91 + __cil_tmp90;
21627#line 1181
21628    __cil_tmp93 = (char    *)__cil_tmp92;
21629#line 1181
21630    __cil_tmp94 = (struct fcoe_rcv_info *)__cil_tmp93;
21631#line 1181
21632    __cil_tmp95 = (unsigned long )__cil_tmp94;
21633#line 1181
21634    __cil_tmp96 = __cil_tmp95 + 30;
21635#line 1181
21636    *((u8 *)__cil_tmp87) = *((u8 *)__cil_tmp96);
21637    }
21638    {
21639#line 1182
21640    __cil_tmp97 = 1 << 19;
21641#line 1182
21642    __cil_tmp98 = (unsigned int )__cil_tmp97;
21643#line 1182
21644    if (f_ctl & __cil_tmp98) {
21645#line 1183
21646      __cil_tmp99 = 0 * 1UL;
21647#line 1183
21648      __cil_tmp100 = 40 + __cil_tmp99;
21649#line 1183
21650      __cil_tmp101 = 0 + __cil_tmp100;
21651#line 1183
21652      __cil_tmp102 = (unsigned long )fp;
21653#line 1183
21654      __cil_tmp103 = __cil_tmp102 + __cil_tmp101;
21655#line 1183
21656      __cil_tmp104 = (char *)__cil_tmp103;
21657#line 1183
21658      __cil_tmp105 = (struct fcoe_rcv_info *)__cil_tmp104;
21659#line 1183
21660      __cil_tmp106 = (unsigned long )__cil_tmp105;
21661#line 1183
21662      __cil_tmp107 = __cil_tmp106 + 31;
21663#line 1183
21664      *((u8 *)__cil_tmp107) = (u8 )66;
21665    } else {
21666#line 1185
21667      __cil_tmp108 = 0 * 1UL;
21668#line 1185
21669      __cil_tmp109 = 40 + __cil_tmp108;
21670#line 1185
21671      __cil_tmp110 = 0 + __cil_tmp109;
21672#line 1185
21673      __cil_tmp111 = (unsigned long )fp;
21674#line 1185
21675      __cil_tmp112 = __cil_tmp111 + __cil_tmp110;
21676#line 1185
21677      __cil_tmp113 = (char *)__cil_tmp112;
21678#line 1185
21679      __cil_tmp114 = (struct fcoe_rcv_info *)__cil_tmp113;
21680#line 1185
21681      __cil_tmp115 = (unsigned long )__cil_tmp114;
21682#line 1185
21683      __cil_tmp116 = __cil_tmp115 + 31;
21684#line 1185
21685      *((u8 *)__cil_tmp116) = (u8 )65;
21686    }
21687    }
21688    {
21689#line 1187
21690    __cil_tmp117 = (unsigned long )lport;
21691#line 1187
21692    __cil_tmp118 = __cil_tmp117 + 328;
21693#line 1187
21694    __cil_tmp119 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp118);
21695#line 1187
21696    (*__cil_tmp119)(lport, fp);
21697    }
21698  } else {
21699
21700  }
21701#line 1189
21702  return;
21703}
21704}
21705#line 1199 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
21706static void fc_exch_send_ba_rjt(struct fc_frame *rx_fp , enum fc_ba_rjt_reason reason ,
21707                                enum fc_ba_rjt_explan explan ) 
21708{ struct fc_frame *fp ;
21709  struct fc_frame_header *rx_fh ;
21710  struct fc_frame_header *fh ;
21711  struct fc_ba_rjt *rp ;
21712  struct fc_lport *lport ;
21713  unsigned int f_ctl ;
21714  void *tmp___7 ;
21715  size_t __len ;
21716  void *__ret ;
21717  size_t __len___0 ;
21718  void *__ret___0 ;
21719  enum fc_class tmp___8 ;
21720  int tmp___9 ;
21721  unsigned long __cil_tmp17 ;
21722  unsigned long __cil_tmp18 ;
21723  unsigned long __cil_tmp19 ;
21724  unsigned long __cil_tmp20 ;
21725  unsigned long __cil_tmp21 ;
21726  char *__cil_tmp22 ;
21727  struct fcoe_rcv_info *__cil_tmp23 ;
21728  struct fc_frame    *__cil_tmp24 ;
21729  struct fc_frame    *__cil_tmp25 ;
21730  void *__cil_tmp26 ;
21731  unsigned long __cil_tmp27 ;
21732  struct fc_frame    *__cil_tmp28 ;
21733  unsigned long __cil_tmp29 ;
21734  unsigned long __cil_tmp30 ;
21735  unsigned long __cil_tmp31 ;
21736  unsigned long __cil_tmp32 ;
21737  unsigned long __cil_tmp33 ;
21738  unsigned long __cil_tmp34 ;
21739  unsigned long __cil_tmp35 ;
21740  unsigned long __cil_tmp36 ;
21741  __u8 *__cil_tmp37 ;
21742  void *__cil_tmp38 ;
21743  unsigned long __cil_tmp39 ;
21744  unsigned long __cil_tmp40 ;
21745  unsigned long __cil_tmp41 ;
21746  unsigned long __cil_tmp42 ;
21747  __u8 *__cil_tmp43 ;
21748  void    *__cil_tmp44 ;
21749  unsigned long __cil_tmp45 ;
21750  unsigned long __cil_tmp46 ;
21751  unsigned long __cil_tmp47 ;
21752  unsigned long __cil_tmp48 ;
21753  __u8 *__cil_tmp49 ;
21754  void *__cil_tmp50 ;
21755  unsigned long __cil_tmp51 ;
21756  unsigned long __cil_tmp52 ;
21757  unsigned long __cil_tmp53 ;
21758  unsigned long __cil_tmp54 ;
21759  __u8 *__cil_tmp55 ;
21760  void    *__cil_tmp56 ;
21761  unsigned long __cil_tmp57 ;
21762  unsigned long __cil_tmp58 ;
21763  unsigned long __cil_tmp59 ;
21764  unsigned long __cil_tmp60 ;
21765  __u8 *__cil_tmp61 ;
21766  void *__cil_tmp62 ;
21767  unsigned long __cil_tmp63 ;
21768  unsigned long __cil_tmp64 ;
21769  unsigned long __cil_tmp65 ;
21770  unsigned long __cil_tmp66 ;
21771  __u8 *__cil_tmp67 ;
21772  void    *__cil_tmp68 ;
21773  unsigned long __cil_tmp69 ;
21774  unsigned long __cil_tmp70 ;
21775  unsigned long __cil_tmp71 ;
21776  unsigned long __cil_tmp72 ;
21777  __u8 *__cil_tmp73 ;
21778  void *__cil_tmp74 ;
21779  unsigned long __cil_tmp75 ;
21780  unsigned long __cil_tmp76 ;
21781  unsigned long __cil_tmp77 ;
21782  unsigned long __cil_tmp78 ;
21783  __u8 *__cil_tmp79 ;
21784  void    *__cil_tmp80 ;
21785  unsigned long __cil_tmp81 ;
21786  unsigned long __cil_tmp82 ;
21787  unsigned long __cil_tmp83 ;
21788  unsigned long __cil_tmp84 ;
21789  unsigned long __cil_tmp85 ;
21790  unsigned long __cil_tmp86 ;
21791  unsigned long __cil_tmp87 ;
21792  unsigned long __cil_tmp88 ;
21793  unsigned long __cil_tmp89 ;
21794  unsigned long __cil_tmp90 ;
21795  unsigned long __cil_tmp91 ;
21796  unsigned long __cil_tmp92 ;
21797  unsigned long __cil_tmp93 ;
21798  unsigned long __cil_tmp94 ;
21799  unsigned long __cil_tmp95 ;
21800  unsigned long __cil_tmp96 ;
21801  unsigned long __cil_tmp97 ;
21802  unsigned long __cil_tmp98 ;
21803  __u8 *__cil_tmp99 ;
21804  u8    *__cil_tmp100 ;
21805  int __cil_tmp101 ;
21806  int __cil_tmp102 ;
21807  int __cil_tmp103 ;
21808  int __cil_tmp104 ;
21809  int __cil_tmp105 ;
21810  int __cil_tmp106 ;
21811  int __cil_tmp107 ;
21812  int __cil_tmp108 ;
21813  int __cil_tmp109 ;
21814  int __cil_tmp110 ;
21815  int __cil_tmp111 ;
21816  unsigned int __cil_tmp112 ;
21817  int __cil_tmp113 ;
21818  int __cil_tmp114 ;
21819  int __cil_tmp115 ;
21820  unsigned int __cil_tmp116 ;
21821  int __cil_tmp117 ;
21822  int __cil_tmp118 ;
21823  int __cil_tmp119 ;
21824  unsigned int __cil_tmp120 ;
21825  int __cil_tmp121 ;
21826  int __cil_tmp122 ;
21827  unsigned int __cil_tmp123 ;
21828  unsigned long __cil_tmp124 ;
21829  unsigned long __cil_tmp125 ;
21830  unsigned long __cil_tmp126 ;
21831  unsigned long __cil_tmp127 ;
21832  __u8 *__cil_tmp128 ;
21833  unsigned long __cil_tmp129 ;
21834  unsigned long __cil_tmp130 ;
21835  unsigned long __cil_tmp131 ;
21836  unsigned long __cil_tmp132 ;
21837  unsigned long __cil_tmp133 ;
21838  char *__cil_tmp134 ;
21839  struct fcoe_rcv_info *__cil_tmp135 ;
21840  unsigned long __cil_tmp136 ;
21841  unsigned long __cil_tmp137 ;
21842  u8 __cil_tmp138 ;
21843  enum fc_sof __cil_tmp139 ;
21844  unsigned long __cil_tmp140 ;
21845  unsigned long __cil_tmp141 ;
21846  unsigned long __cil_tmp142 ;
21847  unsigned long __cil_tmp143 ;
21848  unsigned long __cil_tmp144 ;
21849  char *__cil_tmp145 ;
21850  struct fcoe_rcv_info *__cil_tmp146 ;
21851  unsigned long __cil_tmp147 ;
21852  unsigned long __cil_tmp148 ;
21853  unsigned long __cil_tmp149 ;
21854  unsigned long __cil_tmp150 ;
21855  unsigned long __cil_tmp151 ;
21856  unsigned long __cil_tmp152 ;
21857  unsigned long __cil_tmp153 ;
21858  char *__cil_tmp154 ;
21859  struct fcoe_rcv_info *__cil_tmp155 ;
21860  unsigned long __cil_tmp156 ;
21861  unsigned long __cil_tmp157 ;
21862  unsigned long __cil_tmp158 ;
21863  unsigned long __cil_tmp159 ;
21864  unsigned long __cil_tmp160 ;
21865  unsigned long __cil_tmp161 ;
21866  unsigned long __cil_tmp162 ;
21867  char *__cil_tmp163 ;
21868  struct fcoe_rcv_info *__cil_tmp164 ;
21869  unsigned long __cil_tmp165 ;
21870  unsigned long __cil_tmp166 ;
21871  u8 __cil_tmp167 ;
21872  enum fc_sof __cil_tmp168 ;
21873  unsigned long __cil_tmp169 ;
21874  unsigned long __cil_tmp170 ;
21875  unsigned long __cil_tmp171 ;
21876  unsigned long __cil_tmp172 ;
21877  unsigned long __cil_tmp173 ;
21878  char *__cil_tmp174 ;
21879  struct fcoe_rcv_info *__cil_tmp175 ;
21880  unsigned long __cil_tmp176 ;
21881  unsigned long __cil_tmp177 ;
21882  unsigned long __cil_tmp178 ;
21883  unsigned long __cil_tmp179 ;
21884  int (*__cil_tmp180)(struct fc_lport * , struct fc_frame * ) ;
21885
21886  {
21887  {
21888#line 1210
21889  __cil_tmp17 = 0 * 1UL;
21890#line 1210
21891  __cil_tmp18 = 40 + __cil_tmp17;
21892#line 1210
21893  __cil_tmp19 = 0 + __cil_tmp18;
21894#line 1210
21895  __cil_tmp20 = (unsigned long )rx_fp;
21896#line 1210
21897  __cil_tmp21 = __cil_tmp20 + __cil_tmp19;
21898#line 1210
21899  __cil_tmp22 = (char *)__cil_tmp21;
21900#line 1210
21901  __cil_tmp23 = (struct fcoe_rcv_info *)__cil_tmp22;
21902#line 1210
21903  lport = *((struct fc_lport **)__cil_tmp23);
21904#line 1211
21905  fp = fc_frame_alloc(lport, 4UL);
21906  }
21907#line 1212
21908  if (! fp) {
21909#line 1213
21910    return;
21911  } else {
21912
21913  }
21914  {
21915#line 1214
21916  __cil_tmp24 = (struct fc_frame    *)fp;
21917#line 1214
21918  fh = fc_frame_header_get(__cil_tmp24);
21919#line 1215
21920  __cil_tmp25 = (struct fc_frame    *)rx_fp;
21921#line 1215
21922  rx_fh = fc_frame_header_get(__cil_tmp25);
21923#line 1217
21924  __cil_tmp26 = (void *)fh;
21925#line 1217
21926  __cil_tmp27 = 24UL + 4UL;
21927#line 1217
21928  memset(__cil_tmp26, 0, __cil_tmp27);
21929#line 1219
21930  __cil_tmp28 = (struct fc_frame    *)fp;
21931#line 1219
21932  tmp___7 = fc_frame_payload_get(__cil_tmp28, 4UL);
21933#line 1219
21934  rp = (struct fc_ba_rjt *)tmp___7;
21935#line 1220
21936  __cil_tmp29 = (unsigned long )rp;
21937#line 1220
21938  __cil_tmp30 = __cil_tmp29 + 1;
21939#line 1220
21940  *((__u8 *)__cil_tmp30) = (__u8 )reason;
21941#line 1221
21942  __cil_tmp31 = (unsigned long )rp;
21943#line 1221
21944  __cil_tmp32 = __cil_tmp31 + 2;
21945#line 1221
21946  *((__u8 *)__cil_tmp32) = (__u8 )explan;
21947#line 1226
21948  __len = (size_t )3;
21949  }
21950#line 1226
21951  if (__len >= 64UL) {
21952    {
21953#line 1226
21954    __cil_tmp33 = 0 * 1UL;
21955#line 1226
21956    __cil_tmp34 = 5 + __cil_tmp33;
21957#line 1226
21958    __cil_tmp35 = (unsigned long )fh;
21959#line 1226
21960    __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
21961#line 1226
21962    __cil_tmp37 = (__u8 *)__cil_tmp36;
21963#line 1226
21964    __cil_tmp38 = (void *)__cil_tmp37;
21965#line 1226
21966    __cil_tmp39 = 0 * 1UL;
21967#line 1226
21968    __cil_tmp40 = 1 + __cil_tmp39;
21969#line 1226
21970    __cil_tmp41 = (unsigned long )rx_fh;
21971#line 1226
21972    __cil_tmp42 = __cil_tmp41 + __cil_tmp40;
21973#line 1226
21974    __cil_tmp43 = (__u8 *)__cil_tmp42;
21975#line 1226
21976    __cil_tmp44 = (void    *)__cil_tmp43;
21977#line 1226
21978    __ret = __memcpy(__cil_tmp38, __cil_tmp44, __len);
21979    }
21980  } else {
21981    {
21982#line 1226
21983    __cil_tmp45 = 0 * 1UL;
21984#line 1226
21985    __cil_tmp46 = 5 + __cil_tmp45;
21986#line 1226
21987    __cil_tmp47 = (unsigned long )fh;
21988#line 1226
21989    __cil_tmp48 = __cil_tmp47 + __cil_tmp46;
21990#line 1226
21991    __cil_tmp49 = (__u8 *)__cil_tmp48;
21992#line 1226
21993    __cil_tmp50 = (void *)__cil_tmp49;
21994#line 1226
21995    __cil_tmp51 = 0 * 1UL;
21996#line 1226
21997    __cil_tmp52 = 1 + __cil_tmp51;
21998#line 1226
21999    __cil_tmp53 = (unsigned long )rx_fh;
22000#line 1226
22001    __cil_tmp54 = __cil_tmp53 + __cil_tmp52;
22002#line 1226
22003    __cil_tmp55 = (__u8 *)__cil_tmp54;
22004#line 1226
22005    __cil_tmp56 = (void    *)__cil_tmp55;
22006#line 1226
22007    __ret = __builtin_memcpy(__cil_tmp50, __cil_tmp56, __len);
22008    }
22009  }
22010#line 1227
22011  __len___0 = (size_t )3;
22012#line 1227
22013  if (__len___0 >= 64UL) {
22014    {
22015#line 1227
22016    __cil_tmp57 = 0 * 1UL;
22017#line 1227
22018    __cil_tmp58 = 1 + __cil_tmp57;
22019#line 1227
22020    __cil_tmp59 = (unsigned long )fh;
22021#line 1227
22022    __cil_tmp60 = __cil_tmp59 + __cil_tmp58;
22023#line 1227
22024    __cil_tmp61 = (__u8 *)__cil_tmp60;
22025#line 1227
22026    __cil_tmp62 = (void *)__cil_tmp61;
22027#line 1227
22028    __cil_tmp63 = 0 * 1UL;
22029#line 1227
22030    __cil_tmp64 = 5 + __cil_tmp63;
22031#line 1227
22032    __cil_tmp65 = (unsigned long )rx_fh;
22033#line 1227
22034    __cil_tmp66 = __cil_tmp65 + __cil_tmp64;
22035#line 1227
22036    __cil_tmp67 = (__u8 *)__cil_tmp66;
22037#line 1227
22038    __cil_tmp68 = (void    *)__cil_tmp67;
22039#line 1227
22040    __ret___0 = __memcpy(__cil_tmp62, __cil_tmp68, __len___0);
22041    }
22042  } else {
22043    {
22044#line 1227
22045    __cil_tmp69 = 0 * 1UL;
22046#line 1227
22047    __cil_tmp70 = 1 + __cil_tmp69;
22048#line 1227
22049    __cil_tmp71 = (unsigned long )fh;
22050#line 1227
22051    __cil_tmp72 = __cil_tmp71 + __cil_tmp70;
22052#line 1227
22053    __cil_tmp73 = (__u8 *)__cil_tmp72;
22054#line 1227
22055    __cil_tmp74 = (void *)__cil_tmp73;
22056#line 1227
22057    __cil_tmp75 = 0 * 1UL;
22058#line 1227
22059    __cil_tmp76 = 5 + __cil_tmp75;
22060#line 1227
22061    __cil_tmp77 = (unsigned long )rx_fh;
22062#line 1227
22063    __cil_tmp78 = __cil_tmp77 + __cil_tmp76;
22064#line 1227
22065    __cil_tmp79 = (__u8 *)__cil_tmp78;
22066#line 1227
22067    __cil_tmp80 = (void    *)__cil_tmp79;
22068#line 1227
22069    __ret___0 = __builtin_memcpy(__cil_tmp74, __cil_tmp80, __len___0);
22070    }
22071  }
22072  {
22073#line 1228
22074  __cil_tmp81 = (unsigned long )fh;
22075#line 1228
22076  __cil_tmp82 = __cil_tmp81 + 16;
22077#line 1228
22078  __cil_tmp83 = (unsigned long )rx_fh;
22079#line 1228
22080  __cil_tmp84 = __cil_tmp83 + 16;
22081#line 1228
22082  *((__be16 *)__cil_tmp82) = *((__be16 *)__cil_tmp84);
22083#line 1229
22084  __cil_tmp85 = (unsigned long )fh;
22085#line 1229
22086  __cil_tmp86 = __cil_tmp85 + 18;
22087#line 1229
22088  __cil_tmp87 = (unsigned long )rx_fh;
22089#line 1229
22090  __cil_tmp88 = __cil_tmp87 + 18;
22091#line 1229
22092  *((__be16 *)__cil_tmp86) = *((__be16 *)__cil_tmp88);
22093#line 1230
22094  __cil_tmp89 = (unsigned long )fh;
22095#line 1230
22096  __cil_tmp90 = __cil_tmp89 + 14;
22097#line 1230
22098  __cil_tmp91 = (unsigned long )rx_fh;
22099#line 1230
22100  __cil_tmp92 = __cil_tmp91 + 14;
22101#line 1230
22102  *((__be16 *)__cil_tmp90) = *((__be16 *)__cil_tmp92);
22103#line 1231
22104  *((__u8 *)fh) = (__u8 )133;
22105#line 1232
22106  __cil_tmp93 = (unsigned long )fh;
22107#line 1232
22108  __cil_tmp94 = __cil_tmp93 + 8;
22109#line 1232
22110  *((__u8 *)__cil_tmp94) = (__u8 )0;
22111#line 1242
22112  __cil_tmp95 = 0 * 1UL;
22113#line 1242
22114  __cil_tmp96 = 9 + __cil_tmp95;
22115#line 1242
22116  __cil_tmp97 = (unsigned long )rx_fh;
22117#line 1242
22118  __cil_tmp98 = __cil_tmp97 + __cil_tmp96;
22119#line 1242
22120  __cil_tmp99 = (__u8 *)__cil_tmp98;
22121#line 1242
22122  __cil_tmp100 = (u8    *)__cil_tmp99;
22123#line 1242
22124  f_ctl = ntoh24(__cil_tmp100);
22125#line 1243
22126  __cil_tmp101 = 1 << 8;
22127#line 1243
22128  __cil_tmp102 = 1 << 9;
22129#line 1243
22130  __cil_tmp103 = 1 << 16;
22131#line 1243
22132  __cil_tmp104 = 1 << 18;
22133#line 1243
22134  __cil_tmp105 = 1 << 22;
22135#line 1243
22136  __cil_tmp106 = 1 << 23;
22137#line 1243
22138  __cil_tmp107 = __cil_tmp106 | __cil_tmp105;
22139#line 1243
22140  __cil_tmp108 = __cil_tmp107 | __cil_tmp104;
22141#line 1243
22142  __cil_tmp109 = __cil_tmp108 | __cil_tmp103;
22143#line 1243
22144  __cil_tmp110 = __cil_tmp109 | __cil_tmp102;
22145#line 1243
22146  __cil_tmp111 = __cil_tmp110 | __cil_tmp101;
22147#line 1243
22148  __cil_tmp112 = (unsigned int )__cil_tmp111;
22149#line 1243
22150  f_ctl = f_ctl & __cil_tmp112;
22151#line 1246
22152  __cil_tmp113 = 1 << 22;
22153#line 1246
22154  __cil_tmp114 = 1 << 23;
22155#line 1246
22156  __cil_tmp115 = __cil_tmp114 | __cil_tmp113;
22157#line 1246
22158  __cil_tmp116 = (unsigned int )__cil_tmp115;
22159#line 1246
22160  f_ctl = f_ctl ^ __cil_tmp116;
22161#line 1247
22162  __cil_tmp117 = 1 << 19;
22163#line 1247
22164  __cil_tmp118 = 1 << 20;
22165#line 1247
22166  __cil_tmp119 = __cil_tmp118 | __cil_tmp117;
22167#line 1247
22168  __cil_tmp120 = (unsigned int )__cil_tmp119;
22169#line 1247
22170  f_ctl = f_ctl | __cil_tmp120;
22171#line 1248
22172  __cil_tmp121 = 1 << 21;
22173#line 1248
22174  __cil_tmp122 = ~ __cil_tmp121;
22175#line 1248
22176  __cil_tmp123 = (unsigned int )__cil_tmp122;
22177#line 1248
22178  f_ctl = f_ctl & __cil_tmp123;
22179#line 1249
22180  __cil_tmp124 = 0 * 1UL;
22181#line 1249
22182  __cil_tmp125 = 9 + __cil_tmp124;
22183#line 1249
22184  __cil_tmp126 = (unsigned long )fh;
22185#line 1249
22186  __cil_tmp127 = __cil_tmp126 + __cil_tmp125;
22187#line 1249
22188  __cil_tmp128 = (__u8 *)__cil_tmp127;
22189#line 1249
22190  hton24(__cil_tmp128, f_ctl);
22191#line 1251
22192  __cil_tmp129 = 0 * 1UL;
22193#line 1251
22194  __cil_tmp130 = 40 + __cil_tmp129;
22195#line 1251
22196  __cil_tmp131 = 0 + __cil_tmp130;
22197#line 1251
22198  __cil_tmp132 = (unsigned long )rx_fp;
22199#line 1251
22200  __cil_tmp133 = __cil_tmp132 + __cil_tmp131;
22201#line 1251
22202  __cil_tmp134 = (char *)__cil_tmp133;
22203#line 1251
22204  __cil_tmp135 = (struct fcoe_rcv_info *)__cil_tmp134;
22205#line 1251
22206  __cil_tmp136 = (unsigned long )__cil_tmp135;
22207#line 1251
22208  __cil_tmp137 = __cil_tmp136 + 30;
22209#line 1251
22210  __cil_tmp138 = *((u8 *)__cil_tmp137);
22211#line 1251
22212  __cil_tmp139 = (enum fc_sof )__cil_tmp138;
22213#line 1251
22214  tmp___8 = fc_sof_class(__cil_tmp139);
22215#line 1251
22216  __cil_tmp140 = 0 * 1UL;
22217#line 1251
22218  __cil_tmp141 = 40 + __cil_tmp140;
22219#line 1251
22220  __cil_tmp142 = 0 + __cil_tmp141;
22221#line 1251
22222  __cil_tmp143 = (unsigned long )fp;
22223#line 1251
22224  __cil_tmp144 = __cil_tmp143 + __cil_tmp142;
22225#line 1251
22226  __cil_tmp145 = (char *)__cil_tmp144;
22227#line 1251
22228  __cil_tmp146 = (struct fcoe_rcv_info *)__cil_tmp145;
22229#line 1251
22230  __cil_tmp147 = (unsigned long )__cil_tmp146;
22231#line 1251
22232  __cil_tmp148 = __cil_tmp147 + 30;
22233#line 1251
22234  *((u8 *)__cil_tmp148) = (u8 )tmp___8;
22235#line 1252
22236  __cil_tmp149 = 0 * 1UL;
22237#line 1252
22238  __cil_tmp150 = 40 + __cil_tmp149;
22239#line 1252
22240  __cil_tmp151 = 0 + __cil_tmp150;
22241#line 1252
22242  __cil_tmp152 = (unsigned long )fp;
22243#line 1252
22244  __cil_tmp153 = __cil_tmp152 + __cil_tmp151;
22245#line 1252
22246  __cil_tmp154 = (char *)__cil_tmp153;
22247#line 1252
22248  __cil_tmp155 = (struct fcoe_rcv_info *)__cil_tmp154;
22249#line 1252
22250  __cil_tmp156 = (unsigned long )__cil_tmp155;
22251#line 1252
22252  __cil_tmp157 = __cil_tmp156 + 31;
22253#line 1252
22254  *((u8 *)__cil_tmp157) = (u8 )66;
22255#line 1253
22256  __cil_tmp158 = 0 * 1UL;
22257#line 1253
22258  __cil_tmp159 = 40 + __cil_tmp158;
22259#line 1253
22260  __cil_tmp160 = 0 + __cil_tmp159;
22261#line 1253
22262  __cil_tmp161 = (unsigned long )fp;
22263#line 1253
22264  __cil_tmp162 = __cil_tmp161 + __cil_tmp160;
22265#line 1253
22266  __cil_tmp163 = (char *)__cil_tmp162;
22267#line 1253
22268  __cil_tmp164 = (struct fcoe_rcv_info *)__cil_tmp163;
22269#line 1253
22270  __cil_tmp165 = (unsigned long )__cil_tmp164;
22271#line 1253
22272  __cil_tmp166 = __cil_tmp165 + 30;
22273#line 1253
22274  __cil_tmp167 = *((u8 *)__cil_tmp166);
22275#line 1253
22276  __cil_tmp168 = (enum fc_sof )__cil_tmp167;
22277#line 1253
22278  tmp___9 = fc_sof_needs_ack(__cil_tmp168);
22279  }
22280#line 1253
22281  if (tmp___9) {
22282#line 1254
22283    __cil_tmp169 = 0 * 1UL;
22284#line 1254
22285    __cil_tmp170 = 40 + __cil_tmp169;
22286#line 1254
22287    __cil_tmp171 = 0 + __cil_tmp170;
22288#line 1254
22289    __cil_tmp172 = (unsigned long )fp;
22290#line 1254
22291    __cil_tmp173 = __cil_tmp172 + __cil_tmp171;
22292#line 1254
22293    __cil_tmp174 = (char *)__cil_tmp173;
22294#line 1254
22295    __cil_tmp175 = (struct fcoe_rcv_info *)__cil_tmp174;
22296#line 1254
22297    __cil_tmp176 = (unsigned long )__cil_tmp175;
22298#line 1254
22299    __cil_tmp177 = __cil_tmp176 + 31;
22300#line 1254
22301    *((u8 *)__cil_tmp177) = (u8 )65;
22302  } else {
22303
22304  }
22305  {
22306#line 1256
22307  __cil_tmp178 = (unsigned long )lport;
22308#line 1256
22309  __cil_tmp179 = __cil_tmp178 + 328;
22310#line 1256
22311  __cil_tmp180 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp179);
22312#line 1256
22313  (*__cil_tmp180)(lport, fp);
22314  }
22315#line 1257
22316  return;
22317}
22318}
22319#line 1268 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
22320static void fc_exch_recv_abts(struct fc_exch *ep , struct fc_frame *rx_fp ) 
22321{ struct fc_frame *fp ;
22322  struct fc_ba_acc *ap ;
22323  struct fc_frame_header *fh ;
22324  struct fc_seq *sp ;
22325  void *tmp___7 ;
22326  __u16 tmp___9 ;
22327  spinlock_t *__cil_tmp10 ;
22328  int __cil_tmp11 ;
22329  unsigned int __cil_tmp12 ;
22330  unsigned long __cil_tmp13 ;
22331  unsigned long __cil_tmp14 ;
22332  u32 __cil_tmp15 ;
22333  spinlock_t *__cil_tmp16 ;
22334  int __cil_tmp17 ;
22335  unsigned int __cil_tmp18 ;
22336  unsigned long __cil_tmp19 ;
22337  unsigned long __cil_tmp20 ;
22338  u32 __cil_tmp21 ;
22339  unsigned int __cil_tmp22 ;
22340  unsigned long __cil_tmp23 ;
22341  unsigned long __cil_tmp24 ;
22342  int __cil_tmp25 ;
22343  int __cil_tmp26 ;
22344  int __cil_tmp27 ;
22345  unsigned int __cil_tmp28 ;
22346  unsigned long __cil_tmp29 ;
22347  unsigned long __cil_tmp30 ;
22348  u32 __cil_tmp31 ;
22349  unsigned long __cil_tmp32 ;
22350  unsigned long __cil_tmp33 ;
22351  u32 __cil_tmp34 ;
22352  unsigned long __cil_tmp35 ;
22353  unsigned long __cil_tmp36 ;
22354  struct fc_lport *__cil_tmp37 ;
22355  spinlock_t *__cil_tmp38 ;
22356  struct fc_frame    *__cil_tmp39 ;
22357  struct fc_frame    *__cil_tmp40 ;
22358  void *__cil_tmp41 ;
22359  unsigned long __cil_tmp42 ;
22360  unsigned long __cil_tmp43 ;
22361  unsigned long __cil_tmp44 ;
22362  unsigned long __cil_tmp45 ;
22363  int __cil_tmp46 ;
22364  int __cil_tmp47 ;
22365  int __cil_tmp48 ;
22366  __u16 __cil_tmp49 ;
22367  int __cil_tmp50 ;
22368  int __cil_tmp51 ;
22369  unsigned long __cil_tmp52 ;
22370  unsigned long __cil_tmp53 ;
22371  u16 __cil_tmp54 ;
22372  int __cil_tmp55 ;
22373  unsigned long __cil_tmp56 ;
22374  unsigned long __cil_tmp57 ;
22375  unsigned long __cil_tmp58 ;
22376  unsigned long __cil_tmp59 ;
22377  unsigned long __cil_tmp60 ;
22378  unsigned long __cil_tmp61 ;
22379  unsigned long __cil_tmp62 ;
22380  unsigned long __cil_tmp63 ;
22381  u16 __cil_tmp64 ;
22382  unsigned long __cil_tmp65 ;
22383  unsigned long __cil_tmp66 ;
22384  int __cil_tmp67 ;
22385  spinlock_t *__cil_tmp68 ;
22386  enum fc_rctl __cil_tmp69 ;
22387  enum fc_fh_type __cil_tmp70 ;
22388  enum fc_ba_rjt_reason __cil_tmp71 ;
22389  enum fc_ba_rjt_explan __cil_tmp72 ;
22390
22391  {
22392#line 1275
22393  if (! ep) {
22394#line 1276
22395    goto reject;
22396  } else {
22397
22398  }
22399  {
22400#line 1277
22401  __cil_tmp10 = (spinlock_t *)ep;
22402#line 1277
22403  spin_lock_bh(__cil_tmp10);
22404  }
22405  {
22406#line 1278
22407  __cil_tmp11 = 1 << 29;
22408#line 1278
22409  __cil_tmp12 = (unsigned int )__cil_tmp11;
22410#line 1278
22411  __cil_tmp13 = (unsigned long )ep;
22412#line 1278
22413  __cil_tmp14 = __cil_tmp13 + 72;
22414#line 1278
22415  __cil_tmp15 = *((u32 *)__cil_tmp14);
22416#line 1278
22417  if (__cil_tmp15 & __cil_tmp12) {
22418    {
22419#line 1279
22420    __cil_tmp16 = (spinlock_t *)ep;
22421#line 1279
22422    spin_unlock_bh(__cil_tmp16);
22423    }
22424#line 1280
22425    goto reject;
22426  } else {
22427
22428  }
22429  }
22430  {
22431#line 1282
22432  __cil_tmp17 = 1 << 26;
22433#line 1282
22434  __cil_tmp18 = (unsigned int )__cil_tmp17;
22435#line 1282
22436  __cil_tmp19 = (unsigned long )ep;
22437#line 1282
22438  __cil_tmp20 = __cil_tmp19 + 72;
22439#line 1282
22440  __cil_tmp21 = *((u32 *)__cil_tmp20);
22441#line 1282
22442  __cil_tmp22 = __cil_tmp21 & __cil_tmp18;
22443#line 1282
22444  if (! __cil_tmp22) {
22445    {
22446#line 1283
22447    fc_exch_hold(ep);
22448    }
22449  } else {
22450
22451  }
22452  }
22453  {
22454#line 1284
22455  __cil_tmp23 = (unsigned long )ep;
22456#line 1284
22457  __cil_tmp24 = __cil_tmp23 + 72;
22458#line 1284
22459  __cil_tmp25 = 1 << 26;
22460#line 1284
22461  __cil_tmp26 = 1 << 28;
22462#line 1284
22463  __cil_tmp27 = __cil_tmp26 | __cil_tmp25;
22464#line 1284
22465  __cil_tmp28 = (unsigned int )__cil_tmp27;
22466#line 1284
22467  __cil_tmp29 = (unsigned long )ep;
22468#line 1284
22469  __cil_tmp30 = __cil_tmp29 + 72;
22470#line 1284
22471  __cil_tmp31 = *((u32 *)__cil_tmp30);
22472#line 1284
22473  *((u32 *)__cil_tmp24) = __cil_tmp31 | __cil_tmp28;
22474#line 1285
22475  __cil_tmp32 = (unsigned long )ep;
22476#line 1285
22477  __cil_tmp33 = __cil_tmp32 + 100;
22478#line 1285
22479  __cil_tmp34 = *((u32 *)__cil_tmp33);
22480#line 1285
22481  fc_exch_timer_set_locked(ep, __cil_tmp34);
22482#line 1287
22483  __cil_tmp35 = (unsigned long )ep;
22484#line 1287
22485  __cil_tmp36 = __cil_tmp35 + 64;
22486#line 1287
22487  __cil_tmp37 = *((struct fc_lport **)__cil_tmp36);
22488#line 1287
22489  fp = fc_frame_alloc(__cil_tmp37, 12UL);
22490  }
22491#line 1288
22492  if (! fp) {
22493    {
22494#line 1289
22495    __cil_tmp38 = (spinlock_t *)ep;
22496#line 1289
22497    spin_unlock_bh(__cil_tmp38);
22498    }
22499#line 1290
22500    goto free;
22501  } else {
22502
22503  }
22504  {
22505#line 1292
22506  __cil_tmp39 = (struct fc_frame    *)fp;
22507#line 1292
22508  fh = fc_frame_header_get(__cil_tmp39);
22509#line 1293
22510  __cil_tmp40 = (struct fc_frame    *)fp;
22511#line 1293
22512  tmp___7 = fc_frame_payload_get(__cil_tmp40, 12UL);
22513#line 1293
22514  ap = (struct fc_ba_acc *)tmp___7;
22515#line 1294
22516  __cil_tmp41 = (void *)ap;
22517#line 1294
22518  memset(__cil_tmp41, 0, 12UL);
22519#line 1295
22520  __cil_tmp42 = (unsigned long )ep;
22521#line 1295
22522  __cil_tmp43 = __cil_tmp42 + 108;
22523#line 1295
22524  sp = (struct fc_seq *)__cil_tmp43;
22525#line 1296
22526  __cil_tmp44 = (unsigned long )ap;
22527#line 1296
22528  __cil_tmp45 = __cil_tmp44 + 10;
22529#line 1296
22530  __cil_tmp46 = 65280 >> 8;
22531#line 1296
22532  __cil_tmp47 = 255 << 8;
22533#line 1296
22534  __cil_tmp48 = __cil_tmp47 | __cil_tmp46;
22535#line 1296
22536  __cil_tmp49 = (__u16 )__cil_tmp48;
22537#line 1296
22538  __cil_tmp50 = (int )__cil_tmp49;
22539#line 1296
22540  *((__be16 *)__cil_tmp45) = (__be16 )__cil_tmp50;
22541  }
22542  {
22543#line 1297
22544  __cil_tmp51 = 1 << 15;
22545#line 1297
22546  __cil_tmp52 = (unsigned long )sp;
22547#line 1297
22548  __cil_tmp53 = __cil_tmp52 + 2;
22549#line 1297
22550  __cil_tmp54 = *((u16 *)__cil_tmp53);
22551#line 1297
22552  __cil_tmp55 = (int )__cil_tmp54;
22553#line 1297
22554  if (__cil_tmp55 & __cil_tmp51) {
22555    {
22556#line 1298
22557    __cil_tmp56 = (unsigned long )ap;
22558#line 1298
22559    __cil_tmp57 = __cil_tmp56 + 1;
22560#line 1298
22561    *((__u8 *)__cil_tmp57) = *((u8 *)sp);
22562#line 1299
22563    *((__u8 *)ap) = (__u8 )128;
22564#line 1300
22565    __cil_tmp58 = (unsigned long )ap;
22566#line 1300
22567    __cil_tmp59 = __cil_tmp58 + 10;
22568#line 1300
22569    __cil_tmp60 = (unsigned long )fh;
22570#line 1300
22571    __cil_tmp61 = __cil_tmp60 + 14;
22572#line 1300
22573    *((__be16 *)__cil_tmp59) = *((__be16 *)__cil_tmp61);
22574#line 1301
22575    __cil_tmp62 = (unsigned long )sp;
22576#line 1301
22577    __cil_tmp63 = __cil_tmp62 + 4;
22578#line 1301
22579    __cil_tmp64 = *((u16 *)__cil_tmp63);
22580#line 1301
22581    tmp___9 = __fswab16(__cil_tmp64);
22582#line 1301
22583    __cil_tmp65 = (unsigned long )ap;
22584#line 1301
22585    __cil_tmp66 = __cil_tmp65 + 8;
22586#line 1301
22587    __cil_tmp67 = (int )tmp___9;
22588#line 1301
22589    *((__be16 *)__cil_tmp66) = (__be16 )__cil_tmp67;
22590    }
22591  } else {
22592
22593  }
22594  }
22595  {
22596#line 1303
22597  sp = fc_seq_start_next_locked(sp);
22598#line 1304
22599  __cil_tmp68 = (spinlock_t *)ep;
22600#line 1304
22601  spin_unlock_bh(__cil_tmp68);
22602#line 1305
22603  __cil_tmp69 = (enum fc_rctl )132;
22604#line 1305
22605  __cil_tmp70 = (enum fc_fh_type )0;
22606#line 1305
22607  fc_seq_send_last(sp, fp, __cil_tmp69, __cil_tmp70);
22608#line 1306
22609  fc_frame_free(rx_fp);
22610  }
22611#line 1307
22612  return;
22613  reject: 
22614  {
22615#line 1310
22616  __cil_tmp71 = (enum fc_ba_rjt_reason )9;
22617#line 1310
22618  __cil_tmp72 = (enum fc_ba_rjt_explan )3;
22619#line 1310
22620  fc_exch_send_ba_rjt(rx_fp, __cil_tmp71, __cil_tmp72);
22621  }
22622  free: 
22623  {
22624#line 1312
22625  fc_frame_free(rx_fp);
22626  }
22627#line 1313
22628  return;
22629}
22630}
22631#line 1324 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
22632static struct fc_seq *fc_seq_assign(struct fc_lport *lport , struct fc_frame *fp ) 
22633{ struct fc_exch_mgr_anchor *ema ;
22634  int __ret_warn_on ;
22635  long tmp___7 ;
22636  int __ret_warn_on___0 ;
22637  long tmp___8 ;
22638  struct list_head    *__mptr ;
22639  struct list_head    *__mptr___0 ;
22640  bool tmp___9 ;
22641  enum fc_pf_rjt_reason tmp___10 ;
22642  unsigned long __cil_tmp12 ;
22643  unsigned long __cil_tmp13 ;
22644  unsigned long __cil_tmp14 ;
22645  unsigned long __cil_tmp15 ;
22646  unsigned long __cil_tmp16 ;
22647  char *__cil_tmp17 ;
22648  struct fcoe_rcv_info *__cil_tmp18 ;
22649  struct fc_lport *__cil_tmp19 ;
22650  unsigned long __cil_tmp20 ;
22651  unsigned long __cil_tmp21 ;
22652  int __cil_tmp22 ;
22653  int __cil_tmp23 ;
22654  int __cil_tmp24 ;
22655  int __cil_tmp25 ;
22656  long __cil_tmp26 ;
22657  int    __cil_tmp27 ;
22658  int __cil_tmp28 ;
22659  int __cil_tmp29 ;
22660  long __cil_tmp30 ;
22661  unsigned long __cil_tmp31 ;
22662  unsigned long __cil_tmp32 ;
22663  unsigned long __cil_tmp33 ;
22664  unsigned long __cil_tmp34 ;
22665  unsigned long __cil_tmp35 ;
22666  char *__cil_tmp36 ;
22667  struct fcoe_rcv_info *__cil_tmp37 ;
22668  unsigned long __cil_tmp38 ;
22669  unsigned long __cil_tmp39 ;
22670  struct fc_seq *__cil_tmp40 ;
22671  int __cil_tmp41 ;
22672  int __cil_tmp42 ;
22673  int __cil_tmp43 ;
22674  long __cil_tmp44 ;
22675  int    __cil_tmp45 ;
22676  int __cil_tmp46 ;
22677  int __cil_tmp47 ;
22678  long __cil_tmp48 ;
22679  unsigned long __cil_tmp49 ;
22680  unsigned long __cil_tmp50 ;
22681  unsigned long __cil_tmp51 ;
22682  unsigned long __cil_tmp52 ;
22683  unsigned long __cil_tmp53 ;
22684  char *__cil_tmp54 ;
22685  struct fcoe_rcv_info *__cil_tmp55 ;
22686  unsigned long __cil_tmp56 ;
22687  unsigned long __cil_tmp57 ;
22688  void *__cil_tmp58 ;
22689  unsigned long __cil_tmp59 ;
22690  unsigned long __cil_tmp60 ;
22691  struct list_head *__cil_tmp61 ;
22692  struct fc_exch_mgr_anchor *__cil_tmp62 ;
22693  struct list_head *__cil_tmp63 ;
22694  unsigned int __cil_tmp64 ;
22695  char *__cil_tmp65 ;
22696  char *__cil_tmp66 ;
22697  unsigned long __cil_tmp67 ;
22698  unsigned long __cil_tmp68 ;
22699  struct list_head *__cil_tmp69 ;
22700  unsigned long __cil_tmp70 ;
22701  struct list_head *__cil_tmp71 ;
22702  unsigned long __cil_tmp72 ;
22703  unsigned long __cil_tmp73 ;
22704  unsigned long __cil_tmp74 ;
22705  bool (*__cil_tmp75)(struct fc_frame * ) ;
22706  unsigned long __cil_tmp76 ;
22707  unsigned long __cil_tmp77 ;
22708  bool (*__cil_tmp78)(struct fc_frame * ) ;
22709  unsigned long __cil_tmp79 ;
22710  unsigned long __cil_tmp80 ;
22711  struct fc_exch_mgr *__cil_tmp81 ;
22712  unsigned int __cil_tmp82 ;
22713  struct list_head *__cil_tmp83 ;
22714  struct fc_exch_mgr_anchor *__cil_tmp84 ;
22715  struct list_head *__cil_tmp85 ;
22716  unsigned int __cil_tmp86 ;
22717  char *__cil_tmp87 ;
22718  char *__cil_tmp88 ;
22719  unsigned long __cil_tmp89 ;
22720  unsigned long __cil_tmp90 ;
22721  unsigned long __cil_tmp91 ;
22722  unsigned long __cil_tmp92 ;
22723  unsigned long __cil_tmp93 ;
22724  char *__cil_tmp94 ;
22725  struct fcoe_rcv_info *__cil_tmp95 ;
22726  unsigned long __cil_tmp96 ;
22727  unsigned long __cil_tmp97 ;
22728
22729  {
22730  {
22731#line 1328
22732  __cil_tmp12 = 0 * 1UL;
22733#line 1328
22734  __cil_tmp13 = 40 + __cil_tmp12;
22735#line 1328
22736  __cil_tmp14 = 0 + __cil_tmp13;
22737#line 1328
22738  __cil_tmp15 = (unsigned long )fp;
22739#line 1328
22740  __cil_tmp16 = __cil_tmp15 + __cil_tmp14;
22741#line 1328
22742  __cil_tmp17 = (char *)__cil_tmp16;
22743#line 1328
22744  __cil_tmp18 = (struct fcoe_rcv_info *)__cil_tmp17;
22745#line 1328
22746  __cil_tmp19 = *((struct fc_lport **)__cil_tmp18);
22747#line 1328
22748  __cil_tmp20 = (unsigned long )__cil_tmp19;
22749#line 1328
22750  __cil_tmp21 = (unsigned long )lport;
22751#line 1328
22752  __cil_tmp22 = __cil_tmp21 != __cil_tmp20;
22753#line 1328
22754  __cil_tmp23 = ! __cil_tmp22;
22755#line 1328
22756  __ret_warn_on = ! __cil_tmp23;
22757#line 1328
22758  __cil_tmp24 = ! __ret_warn_on;
22759#line 1328
22760  __cil_tmp25 = ! __cil_tmp24;
22761#line 1328
22762  __cil_tmp26 = (long )__cil_tmp25;
22763#line 1328
22764  tmp___7 = __builtin_expect(__cil_tmp26, 0L);
22765  }
22766#line 1328
22767  if (tmp___7) {
22768    {
22769#line 1328
22770    __cil_tmp27 = (int    )1328;
22771#line 1328
22772    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c",
22773                       __cil_tmp27);
22774    }
22775  } else {
22776
22777  }
22778  {
22779#line 1328
22780  __cil_tmp28 = ! __ret_warn_on;
22781#line 1328
22782  __cil_tmp29 = ! __cil_tmp28;
22783#line 1328
22784  __cil_tmp30 = (long )__cil_tmp29;
22785#line 1328
22786  __builtin_expect(__cil_tmp30, 0L);
22787#line 1329
22788  __cil_tmp31 = 0 * 1UL;
22789#line 1329
22790  __cil_tmp32 = 40 + __cil_tmp31;
22791#line 1329
22792  __cil_tmp33 = 0 + __cil_tmp32;
22793#line 1329
22794  __cil_tmp34 = (unsigned long )fp;
22795#line 1329
22796  __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
22797#line 1329
22798  __cil_tmp36 = (char *)__cil_tmp35;
22799#line 1329
22800  __cil_tmp37 = (struct fcoe_rcv_info *)__cil_tmp36;
22801#line 1329
22802  __cil_tmp38 = (unsigned long )__cil_tmp37;
22803#line 1329
22804  __cil_tmp39 = __cil_tmp38 + 8;
22805#line 1329
22806  __cil_tmp40 = *((struct fc_seq **)__cil_tmp39);
22807#line 1329
22808  __cil_tmp41 = ! __cil_tmp40;
22809#line 1329
22810  __ret_warn_on___0 = ! __cil_tmp41;
22811#line 1329
22812  __cil_tmp42 = ! __ret_warn_on___0;
22813#line 1329
22814  __cil_tmp43 = ! __cil_tmp42;
22815#line 1329
22816  __cil_tmp44 = (long )__cil_tmp43;
22817#line 1329
22818  tmp___8 = __builtin_expect(__cil_tmp44, 0L);
22819  }
22820#line 1329
22821  if (tmp___8) {
22822    {
22823#line 1329
22824    __cil_tmp45 = (int    )1329;
22825#line 1329
22826    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c",
22827                       __cil_tmp45);
22828    }
22829  } else {
22830
22831  }
22832  {
22833#line 1329
22834  __cil_tmp46 = ! __ret_warn_on___0;
22835#line 1329
22836  __cil_tmp47 = ! __cil_tmp46;
22837#line 1329
22838  __cil_tmp48 = (long )__cil_tmp47;
22839#line 1329
22840  __builtin_expect(__cil_tmp48, 0L);
22841#line 1330
22842  __cil_tmp49 = 0 * 1UL;
22843#line 1330
22844  __cil_tmp50 = 40 + __cil_tmp49;
22845#line 1330
22846  __cil_tmp51 = 0 + __cil_tmp50;
22847#line 1330
22848  __cil_tmp52 = (unsigned long )fp;
22849#line 1330
22850  __cil_tmp53 = __cil_tmp52 + __cil_tmp51;
22851#line 1330
22852  __cil_tmp54 = (char *)__cil_tmp53;
22853#line 1330
22854  __cil_tmp55 = (struct fcoe_rcv_info *)__cil_tmp54;
22855#line 1330
22856  __cil_tmp56 = (unsigned long )__cil_tmp55;
22857#line 1330
22858  __cil_tmp57 = __cil_tmp56 + 8;
22859#line 1330
22860  __cil_tmp58 = (void *)0;
22861#line 1330
22862  *((struct fc_seq **)__cil_tmp57) = (struct fc_seq *)__cil_tmp58;
22863#line 1332
22864  __cil_tmp59 = (unsigned long )lport;
22865#line 1332
22866  __cil_tmp60 = __cil_tmp59 + 8;
22867#line 1332
22868  __cil_tmp61 = *((struct list_head **)__cil_tmp60);
22869#line 1332
22870  __mptr = (struct list_head    *)__cil_tmp61;
22871#line 1332
22872  __cil_tmp62 = (struct fc_exch_mgr_anchor *)0;
22873#line 1332
22874  __cil_tmp63 = (struct list_head *)__cil_tmp62;
22875#line 1332
22876  __cil_tmp64 = (unsigned int )__cil_tmp63;
22877#line 1332
22878  __cil_tmp65 = (char *)__mptr;
22879#line 1332
22880  __cil_tmp66 = __cil_tmp65 - __cil_tmp64;
22881#line 1332
22882  ema = (struct fc_exch_mgr_anchor *)__cil_tmp66;
22883  }
22884  {
22885#line 1332
22886  while (1) {
22887    while_continue: /* CIL Label */ ;
22888    {
22889#line 1332
22890    __cil_tmp67 = (unsigned long )lport;
22891#line 1332
22892    __cil_tmp68 = __cil_tmp67 + 8;
22893#line 1332
22894    __cil_tmp69 = (struct list_head *)__cil_tmp68;
22895#line 1332
22896    __cil_tmp70 = (unsigned long )__cil_tmp69;
22897#line 1332
22898    __cil_tmp71 = (struct list_head *)ema;
22899#line 1332
22900    __cil_tmp72 = (unsigned long )__cil_tmp71;
22901#line 1332
22902    if (__cil_tmp72 != __cil_tmp70) {
22903
22904    } else {
22905#line 1332
22906      goto while_break;
22907    }
22908    }
22909    {
22910#line 1333
22911    __cil_tmp73 = (unsigned long )ema;
22912#line 1333
22913    __cil_tmp74 = __cil_tmp73 + 24;
22914#line 1333
22915    __cil_tmp75 = *((bool (**)(struct fc_frame * ))__cil_tmp74);
22916#line 1333
22917    if (! __cil_tmp75) {
22918#line 1333
22919      goto _L;
22920    } else {
22921      {
22922#line 1333
22923      __cil_tmp76 = (unsigned long )ema;
22924#line 1333
22925      __cil_tmp77 = __cil_tmp76 + 24;
22926#line 1333
22927      __cil_tmp78 = *((bool (**)(struct fc_frame * ))__cil_tmp77);
22928#line 1333
22929      tmp___9 = (*__cil_tmp78)(fp);
22930      }
22931#line 1333
22932      if (tmp___9) {
22933        _L: /* CIL Label */ 
22934        {
22935#line 1333
22936        __cil_tmp79 = (unsigned long )ema;
22937#line 1333
22938        __cil_tmp80 = __cil_tmp79 + 16;
22939#line 1333
22940        __cil_tmp81 = *((struct fc_exch_mgr **)__cil_tmp80);
22941#line 1333
22942        tmp___10 = fc_seq_lookup_recip(lport, __cil_tmp81, fp);
22943        }
22944        {
22945#line 1333
22946        __cil_tmp82 = (unsigned int )tmp___10;
22947#line 1333
22948        if (__cil_tmp82 == 0U) {
22949#line 1335
22950          goto while_break;
22951        } else {
22952
22953        }
22954        }
22955      } else {
22956
22957      }
22958    }
22959    }
22960#line 1332
22961    __cil_tmp83 = *((struct list_head **)ema);
22962#line 1332
22963    __mptr___0 = (struct list_head    *)__cil_tmp83;
22964#line 1332
22965    __cil_tmp84 = (struct fc_exch_mgr_anchor *)0;
22966#line 1332
22967    __cil_tmp85 = (struct list_head *)__cil_tmp84;
22968#line 1332
22969    __cil_tmp86 = (unsigned int )__cil_tmp85;
22970#line 1332
22971    __cil_tmp87 = (char *)__mptr___0;
22972#line 1332
22973    __cil_tmp88 = __cil_tmp87 - __cil_tmp86;
22974#line 1332
22975    ema = (struct fc_exch_mgr_anchor *)__cil_tmp88;
22976  }
22977  while_break: /* CIL Label */ ;
22978  }
22979  {
22980#line 1336
22981  __cil_tmp89 = 0 * 1UL;
22982#line 1336
22983  __cil_tmp90 = 40 + __cil_tmp89;
22984#line 1336
22985  __cil_tmp91 = 0 + __cil_tmp90;
22986#line 1336
22987  __cil_tmp92 = (unsigned long )fp;
22988#line 1336
22989  __cil_tmp93 = __cil_tmp92 + __cil_tmp91;
22990#line 1336
22991  __cil_tmp94 = (char *)__cil_tmp93;
22992#line 1336
22993  __cil_tmp95 = (struct fcoe_rcv_info *)__cil_tmp94;
22994#line 1336
22995  __cil_tmp96 = (unsigned long )__cil_tmp95;
22996#line 1336
22997  __cil_tmp97 = __cil_tmp96 + 8;
22998#line 1336
22999  return (*((struct fc_seq **)__cil_tmp97));
23000  }
23001}
23002}
23003#line 1343 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
23004static void fc_seq_release(struct fc_seq *sp ) 
23005{ struct fc_seq    *__mptr ;
23006  struct fc_exch *__cil_tmp3 ;
23007  unsigned long __cil_tmp4 ;
23008  unsigned long __cil_tmp5 ;
23009  struct fc_seq *__cil_tmp6 ;
23010  unsigned int __cil_tmp7 ;
23011  char *__cil_tmp8 ;
23012  char *__cil_tmp9 ;
23013  struct fc_exch *__cil_tmp10 ;
23014
23015  {
23016  {
23017#line 1345
23018  __mptr = (struct fc_seq    *)sp;
23019#line 1345
23020  __cil_tmp3 = (struct fc_exch *)0;
23021#line 1345
23022  __cil_tmp4 = (unsigned long )__cil_tmp3;
23023#line 1345
23024  __cil_tmp5 = __cil_tmp4 + 108;
23025#line 1345
23026  __cil_tmp6 = (struct fc_seq *)__cil_tmp5;
23027#line 1345
23028  __cil_tmp7 = (unsigned int )__cil_tmp6;
23029#line 1345
23030  __cil_tmp8 = (char *)__mptr;
23031#line 1345
23032  __cil_tmp9 = __cil_tmp8 - __cil_tmp7;
23033#line 1345
23034  __cil_tmp10 = (struct fc_exch *)__cil_tmp9;
23035#line 1345
23036  fc_exch_release(__cil_tmp10);
23037  }
23038#line 1346
23039  return;
23040}
23041}
23042#line 1357 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
23043static void fc_exch_recv_req(struct fc_lport *lport , struct fc_exch_mgr *mp , struct fc_frame *fp ) 
23044{ struct fc_frame_header *fh ;
23045  struct fc_frame_header *tmp___7 ;
23046  struct fc_seq *sp ;
23047  struct fc_exch *ep ;
23048  enum fc_pf_rjt_reason reject ;
23049  u32 tmp___8 ;
23050  long tmp___9 ;
23051  struct fc_seq    *__mptr ;
23052  long tmp___11 ;
23053  struct fc_frame    *__cil_tmp14 ;
23054  void *__cil_tmp15 ;
23055  void *__cil_tmp16 ;
23056  unsigned long __cil_tmp17 ;
23057  unsigned long __cil_tmp18 ;
23058  unsigned long __cil_tmp19 ;
23059  unsigned long __cil_tmp20 ;
23060  __u8 *__cil_tmp21 ;
23061  u8    *__cil_tmp22 ;
23062  unsigned long __cil_tmp23 ;
23063  unsigned long __cil_tmp24 ;
23064  unsigned long __cil_tmp25 ;
23065  unsigned long __cil_tmp26 ;
23066  unsigned long __cil_tmp27 ;
23067  char *__cil_tmp28 ;
23068  struct fcoe_rcv_info *__cil_tmp29 ;
23069  unsigned long __cil_tmp30 ;
23070  unsigned long __cil_tmp31 ;
23071  unsigned long __cil_tmp32 ;
23072  unsigned long __cil_tmp33 ;
23073  unsigned long __cil_tmp34 ;
23074  char *__cil_tmp35 ;
23075  struct fcoe_rcv_info *__cil_tmp36 ;
23076  unsigned long __cil_tmp37 ;
23077  unsigned long __cil_tmp38 ;
23078  struct fc_seq *__cil_tmp39 ;
23079  int __cil_tmp40 ;
23080  int __cil_tmp41 ;
23081  long __cil_tmp42 ;
23082  int __cil_tmp43 ;
23083  int __cil_tmp44 ;
23084  int __cil_tmp45 ;
23085  __u16 __cil_tmp46 ;
23086  int __cil_tmp47 ;
23087  __be16 __cil_tmp48 ;
23088  int __cil_tmp49 ;
23089  unsigned long __cil_tmp50 ;
23090  unsigned long __cil_tmp51 ;
23091  __be16 __cil_tmp52 ;
23092  int __cil_tmp53 ;
23093  unsigned long __cil_tmp54 ;
23094  unsigned long __cil_tmp55 ;
23095  unsigned long __cil_tmp56 ;
23096  void (*__cil_tmp57)(struct fc_lport * , struct fc_frame * ) ;
23097  unsigned int __cil_tmp58 ;
23098  unsigned long __cil_tmp59 ;
23099  unsigned long __cil_tmp60 ;
23100  unsigned long __cil_tmp61 ;
23101  unsigned long __cil_tmp62 ;
23102  unsigned long __cil_tmp63 ;
23103  char *__cil_tmp64 ;
23104  struct fcoe_rcv_info *__cil_tmp65 ;
23105  unsigned long __cil_tmp66 ;
23106  unsigned long __cil_tmp67 ;
23107  struct fc_exch *__cil_tmp68 ;
23108  unsigned long __cil_tmp69 ;
23109  unsigned long __cil_tmp70 ;
23110  struct fc_seq *__cil_tmp71 ;
23111  unsigned int __cil_tmp72 ;
23112  char *__cil_tmp73 ;
23113  char *__cil_tmp74 ;
23114  struct fc_frame    *__cil_tmp75 ;
23115  unsigned long __cil_tmp76 ;
23116  unsigned long __cil_tmp77 ;
23117  unsigned long __cil_tmp78 ;
23118  unsigned long __cil_tmp79 ;
23119  unsigned long __cil_tmp80 ;
23120  unsigned long __cil_tmp81 ;
23121  unsigned long __cil_tmp82 ;
23122  char *__cil_tmp83 ;
23123  struct fcoe_rcv_info *__cil_tmp84 ;
23124  unsigned long __cil_tmp85 ;
23125  unsigned long __cil_tmp86 ;
23126  unsigned long __cil_tmp87 ;
23127  unsigned long __cil_tmp88 ;
23128  unsigned long __cil_tmp89 ;
23129  unsigned long __cil_tmp90 ;
23130  void (*__cil_tmp91)(struct fc_seq * , struct fc_frame * , void * ) ;
23131  unsigned long __cil_tmp92 ;
23132  unsigned long __cil_tmp93 ;
23133  void *__cil_tmp94 ;
23134  unsigned long __cil_tmp95 ;
23135  unsigned long __cil_tmp96 ;
23136  unsigned long __cil_tmp97 ;
23137  void (*__cil_tmp98)(struct fc_lport * , struct fc_frame * ) ;
23138  unsigned int *__cil_tmp99 ;
23139  unsigned int __cil_tmp100 ;
23140  unsigned int __cil_tmp101 ;
23141  int __cil_tmp102 ;
23142  int __cil_tmp103 ;
23143  long __cil_tmp104 ;
23144  struct Scsi_Host *__cil_tmp105 ;
23145  unsigned long __cil_tmp106 ;
23146  unsigned long __cil_tmp107 ;
23147  unsigned int __cil_tmp108 ;
23148  unsigned long __cil_tmp109 ;
23149  unsigned long __cil_tmp110 ;
23150  u32 __cil_tmp111 ;
23151  unsigned int __cil_tmp112 ;
23152
23153  {
23154  {
23155#line 1360
23156  __cil_tmp14 = (struct fc_frame    *)fp;
23157#line 1360
23158  tmp___7 = fc_frame_header_get(__cil_tmp14);
23159#line 1360
23160  fh = tmp___7;
23161#line 1361
23162  __cil_tmp15 = (void *)0;
23163#line 1361
23164  sp = (struct fc_seq *)__cil_tmp15;
23165#line 1362
23166  __cil_tmp16 = (void *)0;
23167#line 1362
23168  ep = (struct fc_exch *)__cil_tmp16;
23169#line 1368
23170  __cil_tmp17 = 0 * 1UL;
23171#line 1368
23172  __cil_tmp18 = 1 + __cil_tmp17;
23173#line 1368
23174  __cil_tmp19 = (unsigned long )fh;
23175#line 1368
23176  __cil_tmp20 = __cil_tmp19 + __cil_tmp18;
23177#line 1368
23178  __cil_tmp21 = (__u8 *)__cil_tmp20;
23179#line 1368
23180  __cil_tmp22 = (u8    *)__cil_tmp21;
23181#line 1368
23182  tmp___8 = ntoh24(__cil_tmp22);
23183#line 1368
23184  lport = fc_vport_id_lookup(lport, tmp___8);
23185  }
23186#line 1369
23187  if (! lport) {
23188    {
23189#line 1370
23190    fc_frame_free(fp);
23191    }
23192#line 1371
23193    return;
23194  } else {
23195
23196  }
23197#line 1373
23198  __cil_tmp23 = 0 * 1UL;
23199#line 1373
23200  __cil_tmp24 = 40 + __cil_tmp23;
23201#line 1373
23202  __cil_tmp25 = 0 + __cil_tmp24;
23203#line 1373
23204  __cil_tmp26 = (unsigned long )fp;
23205#line 1373
23206  __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
23207#line 1373
23208  __cil_tmp28 = (char *)__cil_tmp27;
23209#line 1373
23210  __cil_tmp29 = (struct fcoe_rcv_info *)__cil_tmp28;
23211#line 1373
23212  *((struct fc_lport **)__cil_tmp29) = lport;
23213  {
23214#line 1375
23215  while (1) {
23216    while_continue: /* CIL Label */ ;
23217    {
23218#line 1375
23219    __cil_tmp30 = 0 * 1UL;
23220#line 1375
23221    __cil_tmp31 = 40 + __cil_tmp30;
23222#line 1375
23223    __cil_tmp32 = 0 + __cil_tmp31;
23224#line 1375
23225    __cil_tmp33 = (unsigned long )fp;
23226#line 1375
23227    __cil_tmp34 = __cil_tmp33 + __cil_tmp32;
23228#line 1375
23229    __cil_tmp35 = (char *)__cil_tmp34;
23230#line 1375
23231    __cil_tmp36 = (struct fcoe_rcv_info *)__cil_tmp35;
23232#line 1375
23233    __cil_tmp37 = (unsigned long )__cil_tmp36;
23234#line 1375
23235    __cil_tmp38 = __cil_tmp37 + 8;
23236#line 1375
23237    __cil_tmp39 = *((struct fc_seq **)__cil_tmp38);
23238#line 1375
23239    __cil_tmp40 = ! __cil_tmp39;
23240#line 1375
23241    __cil_tmp41 = ! __cil_tmp40;
23242#line 1375
23243    __cil_tmp42 = (long )__cil_tmp41;
23244#line 1375
23245    tmp___9 = __builtin_expect(__cil_tmp42, 0L);
23246    }
23247#line 1375
23248    if (tmp___9) {
23249      {
23250#line 1375
23251      while (1) {
23252        while_continue___0: /* CIL Label */ ;
23253#line 1375
23254        __asm__  volatile   ("1:\tud2\n"
23255                             ".pushsection __bug_table,\"a\"\n"
23256                             "2:\t.long 1b - 2b, %c0 - 2b\n"
23257                             "\t.word %c1, 0\n"
23258                             "\t.org 2b+%c2\n"
23259                             ".popsection": : "i" ("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"),
23260                             "i" (1375), "i" (12UL));
23261        {
23262#line 1375
23263        while (1) {
23264          while_continue___1: /* CIL Label */ ;
23265        }
23266        while_break___1: /* CIL Label */ ;
23267        }
23268#line 1375
23269        goto while_break___0;
23270      }
23271      while_break___0: /* CIL Label */ ;
23272      }
23273    } else {
23274
23275    }
23276#line 1375
23277    goto while_break;
23278  }
23279  while_break: /* CIL Label */ ;
23280  }
23281  {
23282#line 1381
23283  __cil_tmp43 = 65280 >> 8;
23284#line 1381
23285  __cil_tmp44 = 255 << 8;
23286#line 1381
23287  __cil_tmp45 = __cil_tmp44 | __cil_tmp43;
23288#line 1381
23289  __cil_tmp46 = (__u16 )__cil_tmp45;
23290#line 1381
23291  __cil_tmp47 = (int )__cil_tmp46;
23292#line 1381
23293  __cil_tmp48 = (__be16 )__cil_tmp47;
23294#line 1381
23295  __cil_tmp49 = (int )__cil_tmp48;
23296#line 1381
23297  __cil_tmp50 = (unsigned long )fh;
23298#line 1381
23299  __cil_tmp51 = __cil_tmp50 + 18;
23300#line 1381
23301  __cil_tmp52 = *((__be16 *)__cil_tmp51);
23302#line 1381
23303  __cil_tmp53 = (int )__cil_tmp52;
23304#line 1381
23305  if (__cil_tmp53 == __cil_tmp49) {
23306    {
23307#line 1382
23308    __cil_tmp54 = 328 + 136;
23309#line 1382
23310    __cil_tmp55 = (unsigned long )lport;
23311#line 1382
23312    __cil_tmp56 = __cil_tmp55 + __cil_tmp54;
23313#line 1382
23314    __cil_tmp57 = *((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp56);
23315#line 1382
23316    (*__cil_tmp57)(lport, fp);
23317    }
23318#line 1382
23319    return;
23320  } else {
23321
23322  }
23323  }
23324  {
23325#line 1384
23326  reject = fc_seq_lookup_recip(lport, mp, fp);
23327  }
23328  {
23329#line 1385
23330  __cil_tmp58 = (unsigned int )reject;
23331#line 1385
23332  if (__cil_tmp58 == 0U) {
23333    {
23334#line 1386
23335    __cil_tmp59 = 0 * 1UL;
23336#line 1386
23337    __cil_tmp60 = 40 + __cil_tmp59;
23338#line 1386
23339    __cil_tmp61 = 0 + __cil_tmp60;
23340#line 1386
23341    __cil_tmp62 = (unsigned long )fp;
23342#line 1386
23343    __cil_tmp63 = __cil_tmp62 + __cil_tmp61;
23344#line 1386
23345    __cil_tmp64 = (char *)__cil_tmp63;
23346#line 1386
23347    __cil_tmp65 = (struct fcoe_rcv_info *)__cil_tmp64;
23348#line 1386
23349    __cil_tmp66 = (unsigned long )__cil_tmp65;
23350#line 1386
23351    __cil_tmp67 = __cil_tmp66 + 8;
23352#line 1386
23353    sp = *((struct fc_seq **)__cil_tmp67);
23354#line 1387
23355    __mptr = (struct fc_seq    *)sp;
23356#line 1387
23357    __cil_tmp68 = (struct fc_exch *)0;
23358#line 1387
23359    __cil_tmp69 = (unsigned long )__cil_tmp68;
23360#line 1387
23361    __cil_tmp70 = __cil_tmp69 + 108;
23362#line 1387
23363    __cil_tmp71 = (struct fc_seq *)__cil_tmp70;
23364#line 1387
23365    __cil_tmp72 = (unsigned int )__cil_tmp71;
23366#line 1387
23367    __cil_tmp73 = (char *)__mptr;
23368#line 1387
23369    __cil_tmp74 = __cil_tmp73 - __cil_tmp72;
23370#line 1387
23371    ep = (struct fc_exch *)__cil_tmp74;
23372#line 1388
23373    __cil_tmp75 = (struct fc_frame    *)fp;
23374#line 1388
23375    fc_seq_send_ack(sp, __cil_tmp75);
23376#line 1389
23377    __cil_tmp76 = (unsigned long )ep;
23378#line 1389
23379    __cil_tmp77 = __cil_tmp76 + 79;
23380#line 1389
23381    __cil_tmp78 = 0 * 1UL;
23382#line 1389
23383    __cil_tmp79 = 40 + __cil_tmp78;
23384#line 1389
23385    __cil_tmp80 = 0 + __cil_tmp79;
23386#line 1389
23387    __cil_tmp81 = (unsigned long )fp;
23388#line 1389
23389    __cil_tmp82 = __cil_tmp81 + __cil_tmp80;
23390#line 1389
23391    __cil_tmp83 = (char *)__cil_tmp82;
23392#line 1389
23393    __cil_tmp84 = (struct fcoe_rcv_info *)__cil_tmp83;
23394#line 1389
23395    __cil_tmp85 = (unsigned long )__cil_tmp84;
23396#line 1389
23397    __cil_tmp86 = __cil_tmp85 + 33;
23398#line 1389
23399    *((u8 *)__cil_tmp77) = *((u8 *)__cil_tmp86);
23400    }
23401    {
23402#line 1402
23403    __cil_tmp87 = (unsigned long )ep;
23404#line 1402
23405    __cil_tmp88 = __cil_tmp87 + 120;
23406#line 1402
23407    if (*((void (**)(struct fc_seq * , struct fc_frame * , void * ))__cil_tmp88)) {
23408      {
23409#line 1403
23410      __cil_tmp89 = (unsigned long )ep;
23411#line 1403
23412      __cil_tmp90 = __cil_tmp89 + 120;
23413#line 1403
23414      __cil_tmp91 = *((void (**)(struct fc_seq * , struct fc_frame * , void * ))__cil_tmp90);
23415#line 1403
23416      __cil_tmp92 = (unsigned long )ep;
23417#line 1403
23418      __cil_tmp93 = __cil_tmp92 + 128;
23419#line 1403
23420      __cil_tmp94 = *((void **)__cil_tmp93);
23421#line 1403
23422      (*__cil_tmp91)(sp, fp, __cil_tmp94);
23423      }
23424    } else {
23425      {
23426#line 1405
23427      __cil_tmp95 = 328 + 136;
23428#line 1405
23429      __cil_tmp96 = (unsigned long )lport;
23430#line 1405
23431      __cil_tmp97 = __cil_tmp96 + __cil_tmp95;
23432#line 1405
23433      __cil_tmp98 = *((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp97);
23434#line 1405
23435      (*__cil_tmp98)(lport, fp);
23436      }
23437    }
23438    }
23439    {
23440#line 1406
23441    fc_exch_release(ep);
23442    }
23443  } else {
23444    {
23445#line 1408
23446    while (1) {
23447      while_continue___2: /* CIL Label */ ;
23448      {
23449#line 1408
23450      __cil_tmp99 = & fc_debug_logging;
23451#line 1408
23452      __cil_tmp100 = *__cil_tmp99;
23453#line 1408
23454      __cil_tmp101 = __cil_tmp100 & 2U;
23455#line 1408
23456      __cil_tmp102 = ! __cil_tmp101;
23457#line 1408
23458      __cil_tmp103 = ! __cil_tmp102;
23459#line 1408
23460      __cil_tmp104 = (long )__cil_tmp103;
23461#line 1408
23462      tmp___11 = __builtin_expect(__cil_tmp104, 0L);
23463      }
23464#line 1408
23465      if (tmp___11) {
23466        {
23467#line 1408
23468        while (1) {
23469          while_continue___3: /* CIL Label */ ;
23470          {
23471#line 1408
23472          __cil_tmp105 = *((struct Scsi_Host **)lport);
23473#line 1408
23474          __cil_tmp106 = (unsigned long )__cil_tmp105;
23475#line 1408
23476          __cil_tmp107 = __cil_tmp106 + 308;
23477#line 1408
23478          __cil_tmp108 = *((unsigned int *)__cil_tmp107);
23479#line 1408
23480          __cil_tmp109 = (unsigned long )lport;
23481#line 1408
23482          __cil_tmp110 = __cil_tmp109 + 788;
23483#line 1408
23484          __cil_tmp111 = *((u32 *)__cil_tmp110);
23485#line 1408
23486          __cil_tmp112 = (unsigned int )reject;
23487#line 1408
23488          printk("<6>host%u: lport %6.6x: exch/seq lookup failed: reject %x\n", __cil_tmp108,
23489                 __cil_tmp111, __cil_tmp112);
23490          }
23491#line 1408
23492          goto while_break___3;
23493        }
23494        while_break___3: /* CIL Label */ ;
23495        }
23496      } else {
23497
23498      }
23499#line 1408
23500      goto while_break___2;
23501    }
23502    while_break___2: /* CIL Label */ ;
23503    }
23504    {
23505#line 1410
23506    fc_frame_free(fp);
23507    }
23508  }
23509  }
23510#line 1412
23511  return;
23512}
23513}
23514#line 1421 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
23515static void fc_exch_recv_seq_resp(struct fc_exch_mgr *mp , struct fc_frame *fp ) 
23516{ struct fc_frame_header *fh ;
23517  struct fc_frame_header *tmp___7 ;
23518  struct fc_seq *sp ;
23519  struct fc_exch *ep ;
23520  enum fc_sof sof ;
23521  u32 f_ctl ;
23522  void (*resp)(struct fc_seq * , struct fc_frame *fp , void *arg ) ;
23523  void *ex_resp_arg ;
23524  int rc ;
23525  __u16 tmp___8 ;
23526  __u16 tmp___9 ;
23527  u32 tmp___10 ;
23528  u32 tmp___11 ;
23529  int tmp___12 ;
23530  int tmp___13 ;
23531  int __ret_warn_on ;
23532  struct fc_seq    *__mptr ;
23533  int tmp___14 ;
23534  long tmp___15 ;
23535  struct fc_frame    *__cil_tmp22 ;
23536  unsigned long __cil_tmp23 ;
23537  unsigned long __cil_tmp24 ;
23538  __be16 __cil_tmp25 ;
23539  int __cil_tmp26 ;
23540  u16 __cil_tmp27 ;
23541  unsigned long __cil_tmp28 ;
23542  unsigned long __cil_tmp29 ;
23543  unsigned long __cil_tmp30 ;
23544  atomic_t *__cil_tmp31 ;
23545  int __cil_tmp32 ;
23546  unsigned int __cil_tmp33 ;
23547  unsigned long __cil_tmp34 ;
23548  unsigned long __cil_tmp35 ;
23549  u32 __cil_tmp36 ;
23550  unsigned long __cil_tmp37 ;
23551  unsigned long __cil_tmp38 ;
23552  unsigned long __cil_tmp39 ;
23553  atomic_t *__cil_tmp40 ;
23554  unsigned long __cil_tmp41 ;
23555  unsigned long __cil_tmp42 ;
23556  u16 __cil_tmp43 ;
23557  int __cil_tmp44 ;
23558  unsigned long __cil_tmp45 ;
23559  unsigned long __cil_tmp46 ;
23560  __be16 __cil_tmp47 ;
23561  unsigned long __cil_tmp48 ;
23562  unsigned long __cil_tmp49 ;
23563  int __cil_tmp50 ;
23564  unsigned long __cil_tmp51 ;
23565  unsigned long __cil_tmp52 ;
23566  u32 __cil_tmp53 ;
23567  unsigned long __cil_tmp54 ;
23568  unsigned long __cil_tmp55 ;
23569  unsigned long __cil_tmp56 ;
23570  unsigned long __cil_tmp57 ;
23571  __u8 *__cil_tmp58 ;
23572  u8    *__cil_tmp59 ;
23573  unsigned long __cil_tmp60 ;
23574  unsigned long __cil_tmp61 ;
23575  u32 __cil_tmp62 ;
23576  unsigned long __cil_tmp63 ;
23577  unsigned long __cil_tmp64 ;
23578  unsigned long __cil_tmp65 ;
23579  atomic_t *__cil_tmp66 ;
23580  unsigned long __cil_tmp67 ;
23581  unsigned long __cil_tmp68 ;
23582  unsigned long __cil_tmp69 ;
23583  unsigned long __cil_tmp70 ;
23584  __u8 *__cil_tmp71 ;
23585  u8    *__cil_tmp72 ;
23586  unsigned long __cil_tmp73 ;
23587  unsigned long __cil_tmp74 ;
23588  u32 __cil_tmp75 ;
23589  unsigned long __cil_tmp76 ;
23590  unsigned long __cil_tmp77 ;
23591  u32 __cil_tmp78 ;
23592  unsigned long __cil_tmp79 ;
23593  unsigned long __cil_tmp80 ;
23594  unsigned long __cil_tmp81 ;
23595  atomic_t *__cil_tmp82 ;
23596  unsigned long __cil_tmp83 ;
23597  unsigned long __cil_tmp84 ;
23598  unsigned long __cil_tmp85 ;
23599  unsigned long __cil_tmp86 ;
23600  unsigned long __cil_tmp87 ;
23601  char *__cil_tmp88 ;
23602  struct fcoe_rcv_info *__cil_tmp89 ;
23603  unsigned long __cil_tmp90 ;
23604  unsigned long __cil_tmp91 ;
23605  u8 __cil_tmp92 ;
23606  unsigned long __cil_tmp93 ;
23607  unsigned long __cil_tmp94 ;
23608  unsigned long __cil_tmp95 ;
23609  unsigned long __cil_tmp96 ;
23610  int __cil_tmp97 ;
23611  unsigned long __cil_tmp98 ;
23612  unsigned long __cil_tmp99 ;
23613  u16 __cil_tmp100 ;
23614  int __cil_tmp101 ;
23615  int __cil_tmp102 ;
23616  unsigned long __cil_tmp103 ;
23617  unsigned long __cil_tmp104 ;
23618  unsigned long __cil_tmp105 ;
23619  unsigned long __cil_tmp106 ;
23620  __u8 __cil_tmp107 ;
23621  int __cil_tmp108 ;
23622  u8 __cil_tmp109 ;
23623  int __cil_tmp110 ;
23624  unsigned long __cil_tmp111 ;
23625  unsigned long __cil_tmp112 ;
23626  unsigned long __cil_tmp113 ;
23627  atomic_t *__cil_tmp114 ;
23628  unsigned long __cil_tmp115 ;
23629  unsigned long __cil_tmp116 ;
23630  unsigned long __cil_tmp117 ;
23631  unsigned long __cil_tmp118 ;
23632  __u8 *__cil_tmp119 ;
23633  u8    *__cil_tmp120 ;
23634  unsigned long __cil_tmp121 ;
23635  unsigned long __cil_tmp122 ;
23636  unsigned long __cil_tmp123 ;
23637  unsigned long __cil_tmp124 ;
23638  unsigned long __cil_tmp125 ;
23639  char *__cil_tmp126 ;
23640  struct fcoe_rcv_info *__cil_tmp127 ;
23641  unsigned long __cil_tmp128 ;
23642  unsigned long __cil_tmp129 ;
23643  int __cil_tmp130 ;
23644  unsigned int __cil_tmp131 ;
23645  unsigned long __cil_tmp132 ;
23646  unsigned long __cil_tmp133 ;
23647  int __cil_tmp134 ;
23648  unsigned int __cil_tmp135 ;
23649  unsigned long __cil_tmp136 ;
23650  unsigned long __cil_tmp137 ;
23651  u32 __cil_tmp138 ;
23652  struct fc_frame    *__cil_tmp139 ;
23653  unsigned long __cil_tmp140 ;
23654  unsigned long __cil_tmp141 ;
23655  unsigned long __cil_tmp142 ;
23656  unsigned long __cil_tmp143 ;
23657  unsigned long __cil_tmp144 ;
23658  unsigned long __cil_tmp145 ;
23659  __u8 __cil_tmp146 ;
23660  int __cil_tmp147 ;
23661  unsigned long __cil_tmp148 ;
23662  unsigned long __cil_tmp149 ;
23663  unsigned long __cil_tmp150 ;
23664  unsigned long __cil_tmp151 ;
23665  unsigned long __cil_tmp152 ;
23666  char *__cil_tmp153 ;
23667  struct fcoe_rcv_info *__cil_tmp154 ;
23668  unsigned long __cil_tmp155 ;
23669  unsigned long __cil_tmp156 ;
23670  u8 __cil_tmp157 ;
23671  int __cil_tmp158 ;
23672  int __cil_tmp159 ;
23673  int __cil_tmp160 ;
23674  int __cil_tmp161 ;
23675  unsigned int __cil_tmp162 ;
23676  int __cil_tmp163 ;
23677  int __cil_tmp164 ;
23678  int __cil_tmp165 ;
23679  unsigned int __cil_tmp166 ;
23680  unsigned int __cil_tmp167 ;
23681  spinlock_t *__cil_tmp168 ;
23682  unsigned long __cil_tmp169 ;
23683  unsigned long __cil_tmp170 ;
23684  unsigned long __cil_tmp171 ;
23685  struct fc_exch *__cil_tmp172 ;
23686  unsigned long __cil_tmp173 ;
23687  unsigned long __cil_tmp174 ;
23688  struct fc_seq *__cil_tmp175 ;
23689  unsigned int __cil_tmp176 ;
23690  char *__cil_tmp177 ;
23691  char *__cil_tmp178 ;
23692  struct fc_exch *__cil_tmp179 ;
23693  unsigned long __cil_tmp180 ;
23694  int __cil_tmp181 ;
23695  int __cil_tmp182 ;
23696  long __cil_tmp183 ;
23697  int    __cil_tmp184 ;
23698  int __cil_tmp185 ;
23699  int __cil_tmp186 ;
23700  long __cil_tmp187 ;
23701  spinlock_t *__cil_tmp188 ;
23702
23703  {
23704  {
23705#line 1423
23706  __cil_tmp22 = (struct fc_frame    *)fp;
23707#line 1423
23708  tmp___7 = fc_frame_header_get(__cil_tmp22);
23709#line 1423
23710  fh = tmp___7;
23711#line 1432
23712  __cil_tmp23 = (unsigned long )fh;
23713#line 1432
23714  __cil_tmp24 = __cil_tmp23 + 16;
23715#line 1432
23716  __cil_tmp25 = *((__be16 *)__cil_tmp24);
23717#line 1432
23718  tmp___8 = __fswab16(__cil_tmp25);
23719#line 1432
23720  __cil_tmp26 = (int )tmp___8;
23721#line 1432
23722  __cil_tmp27 = (u16 )__cil_tmp26;
23723#line 1432
23724  ep = fc_exch_find(mp, __cil_tmp27);
23725  }
23726#line 1433
23727  if (! ep) {
23728    {
23729#line 1434
23730    __cil_tmp28 = 32 + 8;
23731#line 1434
23732    __cil_tmp29 = (unsigned long )mp;
23733#line 1434
23734    __cil_tmp30 = __cil_tmp29 + __cil_tmp28;
23735#line 1434
23736    __cil_tmp31 = (atomic_t *)__cil_tmp30;
23737#line 1434
23738    atomic_inc(__cil_tmp31);
23739    }
23740#line 1435
23741    goto out;
23742  } else {
23743
23744  }
23745  {
23746#line 1437
23747  __cil_tmp32 = 1 << 29;
23748#line 1437
23749  __cil_tmp33 = (unsigned int )__cil_tmp32;
23750#line 1437
23751  __cil_tmp34 = (unsigned long )ep;
23752#line 1437
23753  __cil_tmp35 = __cil_tmp34 + 72;
23754#line 1437
23755  __cil_tmp36 = *((u32 *)__cil_tmp35);
23756#line 1437
23757  if (__cil_tmp36 & __cil_tmp33) {
23758    {
23759#line 1438
23760    __cil_tmp37 = 32 + 8;
23761#line 1438
23762    __cil_tmp38 = (unsigned long )mp;
23763#line 1438
23764    __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
23765#line 1438
23766    __cil_tmp40 = (atomic_t *)__cil_tmp39;
23767#line 1438
23768    atomic_inc(__cil_tmp40);
23769    }
23770#line 1439
23771    goto rel;
23772  } else {
23773
23774  }
23775  }
23776  {
23777#line 1441
23778  __cil_tmp41 = (unsigned long )ep;
23779#line 1441
23780  __cil_tmp42 = __cil_tmp41 + 84;
23781#line 1441
23782  __cil_tmp43 = *((u16 *)__cil_tmp42);
23783#line 1441
23784  __cil_tmp44 = (int )__cil_tmp43;
23785#line 1441
23786  if (__cil_tmp44 == 65535) {
23787    {
23788#line 1442
23789    __cil_tmp45 = (unsigned long )fh;
23790#line 1442
23791    __cil_tmp46 = __cil_tmp45 + 18;
23792#line 1442
23793    __cil_tmp47 = *((__be16 *)__cil_tmp46);
23794#line 1442
23795    tmp___9 = __fswab16(__cil_tmp47);
23796#line 1442
23797    __cil_tmp48 = (unsigned long )ep;
23798#line 1442
23799    __cil_tmp49 = __cil_tmp48 + 84;
23800#line 1442
23801    __cil_tmp50 = (int )tmp___9;
23802#line 1442
23803    *((u16 *)__cil_tmp49) = (u16 )__cil_tmp50;
23804    }
23805  } else {
23806
23807  }
23808  }
23809  {
23810#line 1443
23811  __cil_tmp51 = (unsigned long )ep;
23812#line 1443
23813  __cil_tmp52 = __cil_tmp51 + 92;
23814#line 1443
23815  __cil_tmp53 = *((u32 *)__cil_tmp52);
23816#line 1443
23817  if (__cil_tmp53 != 0U) {
23818    {
23819#line 1443
23820    __cil_tmp54 = 0 * 1UL;
23821#line 1443
23822    __cil_tmp55 = 1 + __cil_tmp54;
23823#line 1443
23824    __cil_tmp56 = (unsigned long )fh;
23825#line 1443
23826    __cil_tmp57 = __cil_tmp56 + __cil_tmp55;
23827#line 1443
23828    __cil_tmp58 = (__u8 *)__cil_tmp57;
23829#line 1443
23830    __cil_tmp59 = (u8    *)__cil_tmp58;
23831#line 1443
23832    tmp___10 = ntoh24(__cil_tmp59);
23833    }
23834    {
23835#line 1443
23836    __cil_tmp60 = (unsigned long )ep;
23837#line 1443
23838    __cil_tmp61 = __cil_tmp60 + 92;
23839#line 1443
23840    __cil_tmp62 = *((u32 *)__cil_tmp61);
23841#line 1443
23842    if (__cil_tmp62 != tmp___10) {
23843      {
23844#line 1444
23845      __cil_tmp63 = 32 + 8;
23846#line 1444
23847      __cil_tmp64 = (unsigned long )mp;
23848#line 1444
23849      __cil_tmp65 = __cil_tmp64 + __cil_tmp63;
23850#line 1444
23851      __cil_tmp66 = (atomic_t *)__cil_tmp65;
23852#line 1444
23853      atomic_inc(__cil_tmp66);
23854      }
23855#line 1445
23856      goto rel;
23857    } else {
23858
23859    }
23860    }
23861  } else {
23862
23863  }
23864  }
23865  {
23866#line 1447
23867  __cil_tmp67 = 0 * 1UL;
23868#line 1447
23869  __cil_tmp68 = 5 + __cil_tmp67;
23870#line 1447
23871  __cil_tmp69 = (unsigned long )fh;
23872#line 1447
23873  __cil_tmp70 = __cil_tmp69 + __cil_tmp68;
23874#line 1447
23875  __cil_tmp71 = (__u8 *)__cil_tmp70;
23876#line 1447
23877  __cil_tmp72 = (u8    *)__cil_tmp71;
23878#line 1447
23879  tmp___11 = ntoh24(__cil_tmp72);
23880  }
23881  {
23882#line 1447
23883  __cil_tmp73 = (unsigned long )ep;
23884#line 1447
23885  __cil_tmp74 = __cil_tmp73 + 96;
23886#line 1447
23887  __cil_tmp75 = *((u32 *)__cil_tmp74);
23888#line 1447
23889  if (__cil_tmp75 != tmp___11) {
23890    {
23891#line 1447
23892    __cil_tmp76 = (unsigned long )ep;
23893#line 1447
23894    __cil_tmp77 = __cil_tmp76 + 96;
23895#line 1447
23896    __cil_tmp78 = *((u32 *)__cil_tmp77);
23897#line 1447
23898    if (__cil_tmp78 != 16777214U) {
23899      {
23900#line 1449
23901      __cil_tmp79 = 32 + 8;
23902#line 1449
23903      __cil_tmp80 = (unsigned long )mp;
23904#line 1449
23905      __cil_tmp81 = __cil_tmp80 + __cil_tmp79;
23906#line 1449
23907      __cil_tmp82 = (atomic_t *)__cil_tmp81;
23908#line 1449
23909      atomic_inc(__cil_tmp82);
23910      }
23911#line 1450
23912      goto rel;
23913    } else {
23914
23915    }
23916    }
23917  } else {
23918
23919  }
23920  }
23921  {
23922#line 1452
23923  __cil_tmp83 = 0 * 1UL;
23924#line 1452
23925  __cil_tmp84 = 40 + __cil_tmp83;
23926#line 1452
23927  __cil_tmp85 = 0 + __cil_tmp84;
23928#line 1452
23929  __cil_tmp86 = (unsigned long )fp;
23930#line 1452
23931  __cil_tmp87 = __cil_tmp86 + __cil_tmp85;
23932#line 1452
23933  __cil_tmp88 = (char *)__cil_tmp87;
23934#line 1452
23935  __cil_tmp89 = (struct fcoe_rcv_info *)__cil_tmp88;
23936#line 1452
23937  __cil_tmp90 = (unsigned long )__cil_tmp89;
23938#line 1452
23939  __cil_tmp91 = __cil_tmp90 + 30;
23940#line 1452
23941  __cil_tmp92 = *((u8 *)__cil_tmp91);
23942#line 1452
23943  sof = (enum fc_sof )__cil_tmp92;
23944#line 1453
23945  __cil_tmp93 = (unsigned long )ep;
23946#line 1453
23947  __cil_tmp94 = __cil_tmp93 + 108;
23948#line 1453
23949  sp = (struct fc_seq *)__cil_tmp94;
23950#line 1454
23951  tmp___12 = fc_sof_is_init(sof);
23952  }
23953#line 1454
23954  if (tmp___12) {
23955#line 1455
23956    __cil_tmp95 = (unsigned long )sp;
23957#line 1455
23958    __cil_tmp96 = __cil_tmp95 + 2;
23959#line 1455
23960    __cil_tmp97 = 1 << 15;
23961#line 1455
23962    __cil_tmp98 = (unsigned long )sp;
23963#line 1455
23964    __cil_tmp99 = __cil_tmp98 + 2;
23965#line 1455
23966    __cil_tmp100 = *((u16 *)__cil_tmp99);
23967#line 1455
23968    __cil_tmp101 = (int )__cil_tmp100;
23969#line 1455
23970    __cil_tmp102 = __cil_tmp101 | __cil_tmp97;
23971#line 1455
23972    *((u16 *)__cil_tmp96) = (u16 )__cil_tmp102;
23973#line 1456
23974    __cil_tmp103 = (unsigned long )fh;
23975#line 1456
23976    __cil_tmp104 = __cil_tmp103 + 12;
23977#line 1456
23978    *((u8 *)sp) = *((__u8 *)__cil_tmp104);
23979  } else {
23980    {
23981#line 1457
23982    __cil_tmp105 = (unsigned long )fh;
23983#line 1457
23984    __cil_tmp106 = __cil_tmp105 + 12;
23985#line 1457
23986    __cil_tmp107 = *((__u8 *)__cil_tmp106);
23987#line 1457
23988    __cil_tmp108 = (int )__cil_tmp107;
23989#line 1457
23990    __cil_tmp109 = *((u8 *)sp);
23991#line 1457
23992    __cil_tmp110 = (int )__cil_tmp109;
23993#line 1457
23994    if (__cil_tmp110 != __cil_tmp108) {
23995      {
23996#line 1458
23997      __cil_tmp111 = 32 + 16;
23998#line 1458
23999      __cil_tmp112 = (unsigned long )mp;
24000#line 1458
24001      __cil_tmp113 = __cil_tmp112 + __cil_tmp111;
24002#line 1458
24003      __cil_tmp114 = (atomic_t *)__cil_tmp113;
24004#line 1458
24005      atomic_inc(__cil_tmp114);
24006      }
24007#line 1459
24008      goto rel;
24009    } else {
24010
24011    }
24012    }
24013  }
24014  {
24015#line 1462
24016  __cil_tmp115 = 0 * 1UL;
24017#line 1462
24018  __cil_tmp116 = 9 + __cil_tmp115;
24019#line 1462
24020  __cil_tmp117 = (unsigned long )fh;
24021#line 1462
24022  __cil_tmp118 = __cil_tmp117 + __cil_tmp116;
24023#line 1462
24024  __cil_tmp119 = (__u8 *)__cil_tmp118;
24025#line 1462
24026  __cil_tmp120 = (u8    *)__cil_tmp119;
24027#line 1462
24028  f_ctl = ntoh24(__cil_tmp120);
24029#line 1463
24030  __cil_tmp121 = 0 * 1UL;
24031#line 1463
24032  __cil_tmp122 = 40 + __cil_tmp121;
24033#line 1463
24034  __cil_tmp123 = 0 + __cil_tmp122;
24035#line 1463
24036  __cil_tmp124 = (unsigned long )fp;
24037#line 1463
24038  __cil_tmp125 = __cil_tmp124 + __cil_tmp123;
24039#line 1463
24040  __cil_tmp126 = (char *)__cil_tmp125;
24041#line 1463
24042  __cil_tmp127 = (struct fcoe_rcv_info *)__cil_tmp126;
24043#line 1463
24044  __cil_tmp128 = (unsigned long )__cil_tmp127;
24045#line 1463
24046  __cil_tmp129 = __cil_tmp128 + 8;
24047#line 1463
24048  *((struct fc_seq **)__cil_tmp129) = sp;
24049  }
24050  {
24051#line 1464
24052  __cil_tmp130 = 1 << 16;
24053#line 1464
24054  __cil_tmp131 = (unsigned int )__cil_tmp130;
24055#line 1464
24056  if (f_ctl & __cil_tmp131) {
24057#line 1465
24058    __cil_tmp132 = (unsigned long )ep;
24059#line 1465
24060    __cil_tmp133 = __cil_tmp132 + 72;
24061#line 1465
24062    __cil_tmp134 = 1 << 30;
24063#line 1465
24064    __cil_tmp135 = (unsigned int )__cil_tmp134;
24065#line 1465
24066    __cil_tmp136 = (unsigned long )ep;
24067#line 1465
24068    __cil_tmp137 = __cil_tmp136 + 72;
24069#line 1465
24070    __cil_tmp138 = *((u32 *)__cil_tmp137);
24071#line 1465
24072    *((u32 *)__cil_tmp133) = __cil_tmp138 | __cil_tmp135;
24073  } else {
24074
24075  }
24076  }
24077  {
24078#line 1467
24079  tmp___13 = fc_sof_needs_ack(sof);
24080  }
24081#line 1467
24082  if (tmp___13) {
24083    {
24084#line 1468
24085    __cil_tmp139 = (struct fc_frame    *)fp;
24086#line 1468
24087    fc_seq_send_ack(sp, __cil_tmp139);
24088    }
24089  } else {
24090
24091  }
24092#line 1469
24093  __cil_tmp140 = (unsigned long )ep;
24094#line 1469
24095  __cil_tmp141 = __cil_tmp140 + 120;
24096#line 1469
24097  resp = *((void (**)(struct fc_seq * , struct fc_frame * , void * ))__cil_tmp141);
24098#line 1470
24099  __cil_tmp142 = (unsigned long )ep;
24100#line 1470
24101  __cil_tmp143 = __cil_tmp142 + 128;
24102#line 1470
24103  ex_resp_arg = *((void **)__cil_tmp143);
24104  {
24105#line 1472
24106  __cil_tmp144 = (unsigned long )fh;
24107#line 1472
24108  __cil_tmp145 = __cil_tmp144 + 8;
24109#line 1472
24110  __cil_tmp146 = *((__u8 *)__cil_tmp145);
24111#line 1472
24112  __cil_tmp147 = (int )__cil_tmp146;
24113#line 1472
24114  if (__cil_tmp147 != 8) {
24115    {
24116#line 1472
24117    __cil_tmp148 = 0 * 1UL;
24118#line 1472
24119    __cil_tmp149 = 40 + __cil_tmp148;
24120#line 1472
24121    __cil_tmp150 = 0 + __cil_tmp149;
24122#line 1472
24123    __cil_tmp151 = (unsigned long )fp;
24124#line 1472
24125    __cil_tmp152 = __cil_tmp151 + __cil_tmp150;
24126#line 1472
24127    __cil_tmp153 = (char *)__cil_tmp152;
24128#line 1472
24129    __cil_tmp154 = (struct fcoe_rcv_info *)__cil_tmp153;
24130#line 1472
24131    __cil_tmp155 = (unsigned long )__cil_tmp154;
24132#line 1472
24133    __cil_tmp156 = __cil_tmp155 + 31;
24134#line 1472
24135    __cil_tmp157 = *((u8 *)__cil_tmp156);
24136#line 1472
24137    __cil_tmp158 = (int )__cil_tmp157;
24138#line 1472
24139    if (__cil_tmp158 == 66) {
24140      {
24141#line 1472
24142      __cil_tmp159 = 1 << 19;
24143#line 1472
24144      __cil_tmp160 = 1 << 20;
24145#line 1472
24146      __cil_tmp161 = __cil_tmp160 | __cil_tmp159;
24147#line 1472
24148      __cil_tmp162 = (unsigned int )__cil_tmp161;
24149#line 1472
24150      __cil_tmp163 = 1 << 19;
24151#line 1472
24152      __cil_tmp164 = 1 << 20;
24153#line 1472
24154      __cil_tmp165 = __cil_tmp164 | __cil_tmp163;
24155#line 1472
24156      __cil_tmp166 = (unsigned int )__cil_tmp165;
24157#line 1472
24158      __cil_tmp167 = f_ctl & __cil_tmp166;
24159#line 1472
24160      if (__cil_tmp167 == __cil_tmp162) {
24161        {
24162#line 1475
24163        __cil_tmp168 = (spinlock_t *)ep;
24164#line 1475
24165        spin_lock_bh(__cil_tmp168);
24166#line 1476
24167        __cil_tmp169 = (unsigned long )ep;
24168#line 1476
24169        __cil_tmp170 = __cil_tmp169 + 120;
24170#line 1476
24171        resp = *((void (**)(struct fc_seq * , struct fc_frame * , void * ))__cil_tmp170);
24172#line 1477
24173        rc = fc_exch_done_locked(ep);
24174#line 1478
24175        __mptr = (struct fc_seq    *)sp;
24176        }
24177        {
24178#line 1478
24179        __cil_tmp171 = (unsigned long )ep;
24180#line 1478
24181        __cil_tmp172 = (struct fc_exch *)0;
24182#line 1478
24183        __cil_tmp173 = (unsigned long )__cil_tmp172;
24184#line 1478
24185        __cil_tmp174 = __cil_tmp173 + 108;
24186#line 1478
24187        __cil_tmp175 = (struct fc_seq *)__cil_tmp174;
24188#line 1478
24189        __cil_tmp176 = (unsigned int )__cil_tmp175;
24190#line 1478
24191        __cil_tmp177 = (char *)__mptr;
24192#line 1478
24193        __cil_tmp178 = __cil_tmp177 - __cil_tmp176;
24194#line 1478
24195        __cil_tmp179 = (struct fc_exch *)__cil_tmp178;
24196#line 1478
24197        __cil_tmp180 = (unsigned long )__cil_tmp179;
24198#line 1478
24199        if (__cil_tmp180 != __cil_tmp171) {
24200#line 1478
24201          tmp___14 = 1;
24202        } else {
24203#line 1478
24204          tmp___14 = 0;
24205        }
24206        }
24207        {
24208#line 1478
24209        __ret_warn_on = tmp___14;
24210#line 1478
24211        __cil_tmp181 = ! __ret_warn_on;
24212#line 1478
24213        __cil_tmp182 = ! __cil_tmp181;
24214#line 1478
24215        __cil_tmp183 = (long )__cil_tmp182;
24216#line 1478
24217        tmp___15 = __builtin_expect(__cil_tmp183, 0L);
24218        }
24219#line 1478
24220        if (tmp___15) {
24221          {
24222#line 1478
24223          __cil_tmp184 = (int    )1478;
24224#line 1478
24225          warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c",
24226                             __cil_tmp184);
24227          }
24228        } else {
24229
24230        }
24231        {
24232#line 1478
24233        __cil_tmp185 = ! __ret_warn_on;
24234#line 1478
24235        __cil_tmp186 = ! __cil_tmp185;
24236#line 1478
24237        __cil_tmp187 = (long )__cil_tmp186;
24238#line 1478
24239        __builtin_expect(__cil_tmp187, 0L);
24240#line 1479
24241        __cil_tmp188 = (spinlock_t *)ep;
24242#line 1479
24243        spin_unlock_bh(__cil_tmp188);
24244        }
24245#line 1480
24246        if (! rc) {
24247          {
24248#line 1481
24249          fc_exch_delete(ep);
24250          }
24251        } else {
24252
24253        }
24254      } else {
24255
24256      }
24257      }
24258    } else {
24259
24260    }
24261    }
24262  } else {
24263
24264  }
24265  }
24266#line 1497
24267  if (resp) {
24268    {
24269#line 1498
24270    (*resp)(sp, fp, ex_resp_arg);
24271    }
24272  } else {
24273    {
24274#line 1500
24275    fc_frame_free(fp);
24276    }
24277  }
24278  {
24279#line 1501
24280  fc_exch_release(ep);
24281  }
24282#line 1502
24283  return;
24284  rel: 
24285  {
24286#line 1504
24287  fc_exch_release(ep);
24288  }
24289  out: 
24290  {
24291#line 1506
24292  fc_frame_free(fp);
24293  }
24294#line 1507
24295  return;
24296}
24297}
24298#line 1515 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
24299static void fc_exch_recv_resp(struct fc_exch_mgr *mp , struct fc_frame *fp ) 
24300{ struct fc_seq *sp ;
24301  unsigned long __cil_tmp4 ;
24302  unsigned long __cil_tmp5 ;
24303  unsigned long __cil_tmp6 ;
24304  atomic_t *__cil_tmp7 ;
24305  unsigned long __cil_tmp8 ;
24306  unsigned long __cil_tmp9 ;
24307  unsigned long __cil_tmp10 ;
24308  atomic_t *__cil_tmp11 ;
24309
24310  {
24311  {
24312#line 1519
24313  sp = fc_seq_lookup_orig(mp, fp);
24314  }
24315#line 1521
24316  if (! sp) {
24317    {
24318#line 1522
24319    __cil_tmp4 = 32 + 8;
24320#line 1522
24321    __cil_tmp5 = (unsigned long )mp;
24322#line 1522
24323    __cil_tmp6 = __cil_tmp5 + __cil_tmp4;
24324#line 1522
24325    __cil_tmp7 = (atomic_t *)__cil_tmp6;
24326#line 1522
24327    atomic_inc(__cil_tmp7);
24328    }
24329  } else {
24330    {
24331#line 1524
24332    __cil_tmp8 = 32 + 20;
24333#line 1524
24334    __cil_tmp9 = (unsigned long )mp;
24335#line 1524
24336    __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
24337#line 1524
24338    __cil_tmp11 = (atomic_t *)__cil_tmp10;
24339#line 1524
24340    atomic_inc(__cil_tmp11);
24341    }
24342  }
24343  {
24344#line 1526
24345  fc_frame_free(fp);
24346  }
24347#line 1527
24348  return;
24349}
24350}
24351#line 1537 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
24352static void fc_exch_abts_resp(struct fc_exch *ep , struct fc_frame *fp ) 
24353{ void (*resp)(struct fc_seq * , struct fc_frame *fp , void *arg ) ;
24354  void *ex_resp_arg ;
24355  struct fc_frame_header *fh ;
24356  struct fc_ba_acc *ap ;
24357  struct fc_seq *sp ;
24358  u16 low ;
24359  u16 high ;
24360  int rc ;
24361  int has_rec ;
24362  char    *tmp___7 ;
24363  long tmp___8 ;
24364  bool tmp___9 ;
24365  void *tmp___10 ;
24366  __u16 tmp___11 ;
24367  __u16 tmp___12 ;
24368  u32 tmp___13 ;
24369  struct fc_frame    *__cil_tmp19 ;
24370  unsigned int *__cil_tmp20 ;
24371  unsigned int __cil_tmp21 ;
24372  unsigned int __cil_tmp22 ;
24373  int __cil_tmp23 ;
24374  int __cil_tmp24 ;
24375  long __cil_tmp25 ;
24376  __u8 __cil_tmp26 ;
24377  unsigned int __cil_tmp27 ;
24378  unsigned long __cil_tmp28 ;
24379  unsigned long __cil_tmp29 ;
24380  struct fc_lport *__cil_tmp30 ;
24381  struct Scsi_Host *__cil_tmp31 ;
24382  unsigned long __cil_tmp32 ;
24383  unsigned long __cil_tmp33 ;
24384  unsigned int __cil_tmp34 ;
24385  unsigned long __cil_tmp35 ;
24386  unsigned long __cil_tmp36 ;
24387  u16 __cil_tmp37 ;
24388  int __cil_tmp38 ;
24389  __u8 __cil_tmp39 ;
24390  int __cil_tmp40 ;
24391  unsigned long __cil_tmp41 ;
24392  unsigned long __cil_tmp42 ;
24393  struct delayed_work *__cil_tmp43 ;
24394  spinlock_t *__cil_tmp44 ;
24395  __u8 __cil_tmp45 ;
24396  struct fc_frame    *__cil_tmp46 ;
24397  unsigned long __cil_tmp47 ;
24398  unsigned long __cil_tmp48 ;
24399  __be16 __cil_tmp49 ;
24400  int __cil_tmp50 ;
24401  unsigned long __cil_tmp51 ;
24402  unsigned long __cil_tmp52 ;
24403  __be16 __cil_tmp53 ;
24404  int __cil_tmp54 ;
24405  int __cil_tmp55 ;
24406  unsigned int __cil_tmp56 ;
24407  unsigned long __cil_tmp57 ;
24408  unsigned long __cil_tmp58 ;
24409  u32 __cil_tmp59 ;
24410  unsigned int __cil_tmp60 ;
24411  __u8 __cil_tmp61 ;
24412  int __cil_tmp62 ;
24413  unsigned long __cil_tmp63 ;
24414  unsigned long __cil_tmp64 ;
24415  u8 __cil_tmp65 ;
24416  int __cil_tmp66 ;
24417  unsigned long __cil_tmp67 ;
24418  unsigned long __cil_tmp68 ;
24419  __u8 __cil_tmp69 ;
24420  int __cil_tmp70 ;
24421  int __cil_tmp71 ;
24422  int __cil_tmp72 ;
24423  unsigned long __cil_tmp73 ;
24424  unsigned long __cil_tmp74 ;
24425  int __cil_tmp75 ;
24426  unsigned int __cil_tmp76 ;
24427  unsigned long __cil_tmp77 ;
24428  unsigned long __cil_tmp78 ;
24429  u32 __cil_tmp79 ;
24430  unsigned long __cil_tmp80 ;
24431  unsigned long __cil_tmp81 ;
24432  unsigned long __cil_tmp82 ;
24433  unsigned long __cil_tmp83 ;
24434  unsigned long __cil_tmp84 ;
24435  unsigned long __cil_tmp85 ;
24436  unsigned long __cil_tmp86 ;
24437  unsigned long __cil_tmp87 ;
24438  u8 __cil_tmp88 ;
24439  int __cil_tmp89 ;
24440  unsigned long __cil_tmp90 ;
24441  unsigned long __cil_tmp91 ;
24442  unsigned long __cil_tmp92 ;
24443  unsigned long __cil_tmp93 ;
24444  __u8 *__cil_tmp94 ;
24445  u8    *__cil_tmp95 ;
24446  int __cil_tmp96 ;
24447  unsigned int __cil_tmp97 ;
24448  spinlock_t *__cil_tmp98 ;
24449  unsigned long __cil_tmp99 ;
24450  unsigned long __cil_tmp100 ;
24451  u32 __cil_tmp101 ;
24452
24453  {
24454  {
24455#line 1546
24456  rc = 1;
24457#line 1546
24458  has_rec = 0;
24459#line 1548
24460  __cil_tmp19 = (struct fc_frame    *)fp;
24461#line 1548
24462  fh = fc_frame_header_get(__cil_tmp19);
24463  }
24464  {
24465#line 1549
24466  while (1) {
24467    while_continue: /* CIL Label */ ;
24468    {
24469#line 1549
24470    __cil_tmp20 = & fc_debug_logging;
24471#line 1549
24472    __cil_tmp21 = *__cil_tmp20;
24473#line 1549
24474    __cil_tmp22 = __cil_tmp21 & 64U;
24475#line 1549
24476    __cil_tmp23 = ! __cil_tmp22;
24477#line 1549
24478    __cil_tmp24 = ! __cil_tmp23;
24479#line 1549
24480    __cil_tmp25 = (long )__cil_tmp24;
24481#line 1549
24482    tmp___8 = __builtin_expect(__cil_tmp25, 0L);
24483    }
24484#line 1549
24485    if (tmp___8) {
24486      {
24487#line 1549
24488      while (1) {
24489        while_continue___0: /* CIL Label */ ;
24490        {
24491#line 1549
24492        __cil_tmp26 = *((__u8 *)fh);
24493#line 1549
24494        __cil_tmp27 = (unsigned int )__cil_tmp26;
24495#line 1549
24496        tmp___7 = fc_exch_rctl_name(__cil_tmp27);
24497#line 1549
24498        __cil_tmp28 = (unsigned long )ep;
24499#line 1549
24500        __cil_tmp29 = __cil_tmp28 + 64;
24501#line 1549
24502        __cil_tmp30 = *((struct fc_lport **)__cil_tmp29);
24503#line 1549
24504        __cil_tmp31 = *((struct Scsi_Host **)__cil_tmp30);
24505#line 1549
24506        __cil_tmp32 = (unsigned long )__cil_tmp31;
24507#line 1549
24508        __cil_tmp33 = __cil_tmp32 + 308;
24509#line 1549
24510        __cil_tmp34 = *((unsigned int *)__cil_tmp33);
24511#line 1549
24512        __cil_tmp35 = (unsigned long )ep;
24513#line 1549
24514        __cil_tmp36 = __cil_tmp35 + 80;
24515#line 1549
24516        __cil_tmp37 = *((u16 *)__cil_tmp36);
24517#line 1549
24518        __cil_tmp38 = (int )__cil_tmp37;
24519#line 1549
24520        __cil_tmp39 = *((__u8 *)fh);
24521#line 1549
24522        __cil_tmp40 = (int )__cil_tmp39;
24523#line 1549
24524        printk("<6>host%u: xid %4x: exch: BLS rctl %x - %s\n", __cil_tmp34, __cil_tmp38,
24525               __cil_tmp40, tmp___7);
24526        }
24527#line 1549
24528        goto while_break___0;
24529      }
24530      while_break___0: /* CIL Label */ ;
24531      }
24532    } else {
24533
24534    }
24535#line 1549
24536    goto while_break;
24537  }
24538  while_break: /* CIL Label */ ;
24539  }
24540  {
24541#line 1552
24542  __cil_tmp41 = (unsigned long )ep;
24543#line 1552
24544  __cil_tmp42 = __cil_tmp41 + 144;
24545#line 1552
24546  __cil_tmp43 = (struct delayed_work *)__cil_tmp42;
24547#line 1552
24548  tmp___9 = cancel_delayed_work_sync(__cil_tmp43);
24549  }
24550#line 1552
24551  if (tmp___9) {
24552    {
24553#line 1553
24554    fc_exch_release(ep);
24555    }
24556  } else {
24557
24558  }
24559  {
24560#line 1555
24561  __cil_tmp44 = (spinlock_t *)ep;
24562#line 1555
24563  spin_lock_bh(__cil_tmp44);
24564  }
24565  {
24566#line 1556
24567  __cil_tmp45 = *((__u8 *)fh);
24568#line 1557
24569  if ((int )__cil_tmp45 == 132) {
24570#line 1557
24571    goto case_132;
24572  } else
24573#line 1577
24574  if ((int )__cil_tmp45 == 133) {
24575#line 1577
24576    goto case_133;
24577  } else {
24578    {
24579#line 1579
24580    goto switch_default;
24581#line 1556
24582    if (0) {
24583      case_132: /* CIL Label */ 
24584      {
24585#line 1558
24586      __cil_tmp46 = (struct fc_frame    *)fp;
24587#line 1558
24588      tmp___10 = fc_frame_payload_get(__cil_tmp46, 12UL);
24589#line 1558
24590      ap = (struct fc_ba_acc *)tmp___10;
24591      }
24592#line 1559
24593      if (! ap) {
24594#line 1560
24595        goto switch_break;
24596      } else {
24597
24598      }
24599      {
24600#line 1567
24601      __cil_tmp47 = (unsigned long )ap;
24602#line 1567
24603      __cil_tmp48 = __cil_tmp47 + 8;
24604#line 1567
24605      __cil_tmp49 = *((__be16 *)__cil_tmp48);
24606#line 1567
24607      tmp___11 = __fswab16(__cil_tmp49);
24608#line 1567
24609      __cil_tmp50 = (int )tmp___11;
24610#line 1567
24611      low = (u16 )__cil_tmp50;
24612#line 1568
24613      __cil_tmp51 = (unsigned long )ap;
24614#line 1568
24615      __cil_tmp52 = __cil_tmp51 + 10;
24616#line 1568
24617      __cil_tmp53 = *((__be16 *)__cil_tmp52);
24618#line 1568
24619      tmp___12 = __fswab16(__cil_tmp53);
24620#line 1568
24621      __cil_tmp54 = (int )tmp___12;
24622#line 1568
24623      high = (u16 )__cil_tmp54;
24624      }
24625      {
24626#line 1569
24627      __cil_tmp55 = 1 << 26;
24628#line 1569
24629      __cil_tmp56 = (unsigned int )__cil_tmp55;
24630#line 1569
24631      __cil_tmp57 = (unsigned long )ep;
24632#line 1569
24633      __cil_tmp58 = __cil_tmp57 + 72;
24634#line 1569
24635      __cil_tmp59 = *((u32 *)__cil_tmp58);
24636#line 1569
24637      __cil_tmp60 = __cil_tmp59 & __cil_tmp56;
24638#line 1569
24639      if (__cil_tmp60 == 0U) {
24640        {
24641#line 1569
24642        __cil_tmp61 = *((__u8 *)ap);
24643#line 1569
24644        __cil_tmp62 = (int )__cil_tmp61;
24645#line 1569
24646        if (__cil_tmp62 != 128) {
24647#line 1569
24648          goto _L;
24649        } else {
24650          {
24651#line 1569
24652          __cil_tmp63 = (unsigned long )ep;
24653#line 1569
24654          __cil_tmp64 = __cil_tmp63 + 78;
24655#line 1569
24656          __cil_tmp65 = *((u8 *)__cil_tmp64);
24657#line 1569
24658          __cil_tmp66 = (int )__cil_tmp65;
24659#line 1569
24660          __cil_tmp67 = (unsigned long )ap;
24661#line 1569
24662          __cil_tmp68 = __cil_tmp67 + 1;
24663#line 1569
24664          __cil_tmp69 = *((__u8 *)__cil_tmp68);
24665#line 1569
24666          __cil_tmp70 = (int )__cil_tmp69;
24667#line 1569
24668          if (__cil_tmp70 == __cil_tmp66) {
24669            _L: /* CIL Label */ 
24670            {
24671#line 1569
24672            __cil_tmp71 = (int )high;
24673#line 1569
24674            __cil_tmp72 = (int )low;
24675#line 1569
24676            if (__cil_tmp72 != __cil_tmp71) {
24677              {
24678#line 1572
24679              __cil_tmp73 = (unsigned long )ep;
24680#line 1572
24681              __cil_tmp74 = __cil_tmp73 + 72;
24682#line 1572
24683              __cil_tmp75 = 1 << 26;
24684#line 1572
24685              __cil_tmp76 = (unsigned int )__cil_tmp75;
24686#line 1572
24687              __cil_tmp77 = (unsigned long )ep;
24688#line 1572
24689              __cil_tmp78 = __cil_tmp77 + 72;
24690#line 1572
24691              __cil_tmp79 = *((u32 *)__cil_tmp78);
24692#line 1572
24693              *((u32 *)__cil_tmp74) = __cil_tmp79 | __cil_tmp76;
24694#line 1573
24695              fc_exch_hold(ep);
24696#line 1574
24697              has_rec = 1;
24698              }
24699            } else {
24700
24701            }
24702            }
24703          } else {
24704
24705          }
24706          }
24707        }
24708        }
24709      } else {
24710
24711      }
24712      }
24713#line 1576
24714      goto switch_break;
24715      case_133: /* CIL Label */ 
24716#line 1578
24717      goto switch_break;
24718      switch_default: /* CIL Label */ 
24719#line 1580
24720      goto switch_break;
24721    } else {
24722      switch_break: /* CIL Label */ ;
24723    }
24724    }
24725  }
24726  }
24727#line 1583
24728  __cil_tmp80 = (unsigned long )ep;
24729#line 1583
24730  __cil_tmp81 = __cil_tmp80 + 120;
24731#line 1583
24732  resp = *((void (**)(struct fc_seq * , struct fc_frame * , void * ))__cil_tmp81);
24733#line 1584
24734  __cil_tmp82 = (unsigned long )ep;
24735#line 1584
24736  __cil_tmp83 = __cil_tmp82 + 128;
24737#line 1584
24738  ex_resp_arg = *((void **)__cil_tmp83);
24739#line 1589
24740  __cil_tmp84 = (unsigned long )ep;
24741#line 1589
24742  __cil_tmp85 = __cil_tmp84 + 108;
24743#line 1589
24744  sp = (struct fc_seq *)__cil_tmp85;
24745  {
24746#line 1593
24747  __cil_tmp86 = (unsigned long )ep;
24748#line 1593
24749  __cil_tmp87 = __cil_tmp86 + 77;
24750#line 1593
24751  __cil_tmp88 = *((u8 *)__cil_tmp87);
24752#line 1593
24753  __cil_tmp89 = (int )__cil_tmp88;
24754#line 1593
24755  if (__cil_tmp89 != 8) {
24756    {
24757#line 1593
24758    __cil_tmp90 = 0 * 1UL;
24759#line 1593
24760    __cil_tmp91 = 9 + __cil_tmp90;
24761#line 1593
24762    __cil_tmp92 = (unsigned long )fh;
24763#line 1593
24764    __cil_tmp93 = __cil_tmp92 + __cil_tmp91;
24765#line 1593
24766    __cil_tmp94 = (__u8 *)__cil_tmp93;
24767#line 1593
24768    __cil_tmp95 = (u8    *)__cil_tmp94;
24769#line 1593
24770    tmp___13 = ntoh24(__cil_tmp95);
24771    }
24772    {
24773#line 1593
24774    __cil_tmp96 = 1 << 20;
24775#line 1593
24776    __cil_tmp97 = (unsigned int )__cil_tmp96;
24777#line 1593
24778    if (tmp___13 & __cil_tmp97) {
24779      {
24780#line 1595
24781      rc = fc_exch_done_locked(ep);
24782      }
24783    } else {
24784
24785    }
24786    }
24787  } else {
24788
24789  }
24790  }
24791  {
24792#line 1596
24793  __cil_tmp98 = (spinlock_t *)ep;
24794#line 1596
24795  spin_unlock_bh(__cil_tmp98);
24796  }
24797#line 1597
24798  if (! rc) {
24799    {
24800#line 1598
24801    fc_exch_delete(ep);
24802    }
24803  } else {
24804
24805  }
24806#line 1600
24807  if (resp) {
24808    {
24809#line 1601
24810    (*resp)(sp, fp, ex_resp_arg);
24811    }
24812  } else {
24813    {
24814#line 1603
24815    fc_frame_free(fp);
24816    }
24817  }
24818#line 1605
24819  if (has_rec) {
24820    {
24821#line 1606
24822    __cil_tmp99 = (unsigned long )ep;
24823#line 1606
24824    __cil_tmp100 = __cil_tmp99 + 100;
24825#line 1606
24826    __cil_tmp101 = *((u32 *)__cil_tmp100);
24827#line 1606
24828    fc_exch_timer_set(ep, __cil_tmp101);
24829    }
24830  } else {
24831
24832  }
24833#line 1608
24834  return;
24835}
24836}
24837#line 1618 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
24838static void fc_exch_recv_bls(struct fc_exch_mgr *mp , struct fc_frame *fp ) 
24839{ struct fc_frame_header *fh ;
24840  struct fc_exch *ep ;
24841  u32 f_ctl ;
24842  __u16 tmp___7 ;
24843  __u16 tmp___8 ;
24844  int tmp___9 ;
24845  char    *tmp___10 ;
24846  long tmp___11 ;
24847  struct fc_frame    *__cil_tmp11 ;
24848  unsigned long __cil_tmp12 ;
24849  unsigned long __cil_tmp13 ;
24850  unsigned long __cil_tmp14 ;
24851  unsigned long __cil_tmp15 ;
24852  __u8 *__cil_tmp16 ;
24853  u8    *__cil_tmp17 ;
24854  unsigned long __cil_tmp18 ;
24855  unsigned long __cil_tmp19 ;
24856  unsigned long __cil_tmp20 ;
24857  unsigned long __cil_tmp21 ;
24858  unsigned long __cil_tmp22 ;
24859  char *__cil_tmp23 ;
24860  struct fcoe_rcv_info *__cil_tmp24 ;
24861  unsigned long __cil_tmp25 ;
24862  unsigned long __cil_tmp26 ;
24863  void *__cil_tmp27 ;
24864  int __cil_tmp28 ;
24865  unsigned int __cil_tmp29 ;
24866  unsigned long __cil_tmp30 ;
24867  unsigned long __cil_tmp31 ;
24868  __be16 __cil_tmp32 ;
24869  unsigned long __cil_tmp33 ;
24870  unsigned long __cil_tmp34 ;
24871  __be16 __cil_tmp35 ;
24872  u16 __cil_tmp36 ;
24873  int __cil_tmp37 ;
24874  unsigned int __cil_tmp38 ;
24875  spinlock_t *__cil_tmp39 ;
24876  unsigned long __cil_tmp40 ;
24877  unsigned long __cil_tmp41 ;
24878  int __cil_tmp42 ;
24879  unsigned int __cil_tmp43 ;
24880  unsigned long __cil_tmp44 ;
24881  unsigned long __cil_tmp45 ;
24882  u32 __cil_tmp46 ;
24883  spinlock_t *__cil_tmp47 ;
24884  int __cil_tmp48 ;
24885  unsigned int __cil_tmp49 ;
24886  __u8 __cil_tmp50 ;
24887  unsigned int *__cil_tmp51 ;
24888  unsigned int __cil_tmp52 ;
24889  unsigned int __cil_tmp53 ;
24890  int __cil_tmp54 ;
24891  int __cil_tmp55 ;
24892  long __cil_tmp56 ;
24893  __u8 __cil_tmp57 ;
24894  unsigned int __cil_tmp58 ;
24895  unsigned long __cil_tmp59 ;
24896  unsigned long __cil_tmp60 ;
24897  struct fc_lport *__cil_tmp61 ;
24898  struct Scsi_Host *__cil_tmp62 ;
24899  unsigned long __cil_tmp63 ;
24900  unsigned long __cil_tmp64 ;
24901  unsigned int __cil_tmp65 ;
24902  unsigned long __cil_tmp66 ;
24903  unsigned long __cil_tmp67 ;
24904  u16 __cil_tmp68 ;
24905  int __cil_tmp69 ;
24906  __u8 __cil_tmp70 ;
24907  int __cil_tmp71 ;
24908  __u8 __cil_tmp72 ;
24909
24910  {
24911  {
24912#line 1624
24913  __cil_tmp11 = (struct fc_frame    *)fp;
24914#line 1624
24915  fh = fc_frame_header_get(__cil_tmp11);
24916#line 1625
24917  __cil_tmp12 = 0 * 1UL;
24918#line 1625
24919  __cil_tmp13 = 9 + __cil_tmp12;
24920#line 1625
24921  __cil_tmp14 = (unsigned long )fh;
24922#line 1625
24923  __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
24924#line 1625
24925  __cil_tmp16 = (__u8 *)__cil_tmp15;
24926#line 1625
24927  __cil_tmp17 = (u8    *)__cil_tmp16;
24928#line 1625
24929  f_ctl = ntoh24(__cil_tmp17);
24930#line 1626
24931  __cil_tmp18 = 0 * 1UL;
24932#line 1626
24933  __cil_tmp19 = 40 + __cil_tmp18;
24934#line 1626
24935  __cil_tmp20 = 0 + __cil_tmp19;
24936#line 1626
24937  __cil_tmp21 = (unsigned long )fp;
24938#line 1626
24939  __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
24940#line 1626
24941  __cil_tmp23 = (char *)__cil_tmp22;
24942#line 1626
24943  __cil_tmp24 = (struct fcoe_rcv_info *)__cil_tmp23;
24944#line 1626
24945  __cil_tmp25 = (unsigned long )__cil_tmp24;
24946#line 1626
24947  __cil_tmp26 = __cil_tmp25 + 8;
24948#line 1626
24949  __cil_tmp27 = (void *)0;
24950#line 1626
24951  *((struct fc_seq **)__cil_tmp26) = (struct fc_seq *)__cil_tmp27;
24952  }
24953  {
24954#line 1628
24955  __cil_tmp28 = 1 << 23;
24956#line 1628
24957  __cil_tmp29 = (unsigned int )__cil_tmp28;
24958#line 1628
24959  if (f_ctl & __cil_tmp29) {
24960    {
24961#line 1628
24962    __cil_tmp30 = (unsigned long )fh;
24963#line 1628
24964    __cil_tmp31 = __cil_tmp30 + 16;
24965#line 1628
24966    __cil_tmp32 = *((__be16 *)__cil_tmp31);
24967#line 1628
24968    tmp___7 = __fswab16(__cil_tmp32);
24969#line 1628
24970    tmp___9 = (int )tmp___7;
24971    }
24972  } else {
24973    {
24974#line 1628
24975    __cil_tmp33 = (unsigned long )fh;
24976#line 1628
24977    __cil_tmp34 = __cil_tmp33 + 18;
24978#line 1628
24979    __cil_tmp35 = *((__be16 *)__cil_tmp34);
24980#line 1628
24981    tmp___8 = __fswab16(__cil_tmp35);
24982#line 1628
24983    tmp___9 = (int )tmp___8;
24984    }
24985  }
24986  }
24987  {
24988#line 1628
24989  __cil_tmp36 = (u16 )tmp___9;
24990#line 1628
24991  ep = fc_exch_find(mp, __cil_tmp36);
24992  }
24993#line 1630
24994  if (ep) {
24995    {
24996#line 1630
24997    __cil_tmp37 = 1 << 16;
24998#line 1630
24999    __cil_tmp38 = (unsigned int )__cil_tmp37;
25000#line 1630
25001    if (f_ctl & __cil_tmp38) {
25002      {
25003#line 1631
25004      __cil_tmp39 = (spinlock_t *)ep;
25005#line 1631
25006      spin_lock_bh(__cil_tmp39);
25007#line 1632
25008      __cil_tmp40 = (unsigned long )ep;
25009#line 1632
25010      __cil_tmp41 = __cil_tmp40 + 72;
25011#line 1632
25012      __cil_tmp42 = 1 << 30;
25013#line 1632
25014      __cil_tmp43 = (unsigned int )__cil_tmp42;
25015#line 1632
25016      __cil_tmp44 = (unsigned long )ep;
25017#line 1632
25018      __cil_tmp45 = __cil_tmp44 + 72;
25019#line 1632
25020      __cil_tmp46 = *((u32 *)__cil_tmp45);
25021#line 1632
25022      *((u32 *)__cil_tmp41) = __cil_tmp46 | __cil_tmp43;
25023#line 1633
25024      __cil_tmp47 = (spinlock_t *)ep;
25025#line 1633
25026      spin_unlock_bh(__cil_tmp47);
25027      }
25028    } else {
25029
25030    }
25031    }
25032  } else {
25033
25034  }
25035  {
25036#line 1635
25037  __cil_tmp48 = 1 << 22;
25038#line 1635
25039  __cil_tmp49 = (unsigned int )__cil_tmp48;
25040#line 1635
25041  if (f_ctl & __cil_tmp49) {
25042    {
25043#line 1640
25044    __cil_tmp50 = *((__u8 *)fh);
25045#line 1641
25046    if ((int )__cil_tmp50 == 192) {
25047#line 1641
25048      goto case_192;
25049    } else
25050#line 1642
25051    if ((int )__cil_tmp50 == 193) {
25052#line 1642
25053      goto case_192;
25054    } else {
25055      {
25056#line 1644
25057      goto switch_default;
25058#line 1640
25059      if (0) {
25060        case_192: /* CIL Label */ 
25061        case_193: /* CIL Label */ 
25062#line 1643
25063        goto switch_break;
25064        switch_default: /* CIL Label */ 
25065#line 1645
25066        if (ep) {
25067          {
25068#line 1646
25069          while (1) {
25070            while_continue: /* CIL Label */ ;
25071            {
25072#line 1646
25073            __cil_tmp51 = & fc_debug_logging;
25074#line 1646
25075            __cil_tmp52 = *__cil_tmp51;
25076#line 1646
25077            __cil_tmp53 = __cil_tmp52 & 64U;
25078#line 1646
25079            __cil_tmp54 = ! __cil_tmp53;
25080#line 1646
25081            __cil_tmp55 = ! __cil_tmp54;
25082#line 1646
25083            __cil_tmp56 = (long )__cil_tmp55;
25084#line 1646
25085            tmp___11 = __builtin_expect(__cil_tmp56, 0L);
25086            }
25087#line 1646
25088            if (tmp___11) {
25089              {
25090#line 1646
25091              while (1) {
25092                while_continue___0: /* CIL Label */ ;
25093                {
25094#line 1646
25095                __cil_tmp57 = *((__u8 *)fh);
25096#line 1646
25097                __cil_tmp58 = (unsigned int )__cil_tmp57;
25098#line 1646
25099                tmp___10 = fc_exch_rctl_name(__cil_tmp58);
25100#line 1646
25101                __cil_tmp59 = (unsigned long )ep;
25102#line 1646
25103                __cil_tmp60 = __cil_tmp59 + 64;
25104#line 1646
25105                __cil_tmp61 = *((struct fc_lport **)__cil_tmp60);
25106#line 1646
25107                __cil_tmp62 = *((struct Scsi_Host **)__cil_tmp61);
25108#line 1646
25109                __cil_tmp63 = (unsigned long )__cil_tmp62;
25110#line 1646
25111                __cil_tmp64 = __cil_tmp63 + 308;
25112#line 1646
25113                __cil_tmp65 = *((unsigned int *)__cil_tmp64);
25114#line 1646
25115                __cil_tmp66 = (unsigned long )ep;
25116#line 1646
25117                __cil_tmp67 = __cil_tmp66 + 80;
25118#line 1646
25119                __cil_tmp68 = *((u16 *)__cil_tmp67);
25120#line 1646
25121                __cil_tmp69 = (int )__cil_tmp68;
25122#line 1646
25123                __cil_tmp70 = *((__u8 *)fh);
25124#line 1646
25125                __cil_tmp71 = (int )__cil_tmp70;
25126#line 1646
25127                printk("<6>host%u: xid %4x: BLS rctl %x - %s received", __cil_tmp65,
25128                       __cil_tmp69, __cil_tmp71, tmp___10);
25129                }
25130#line 1646
25131                goto while_break___0;
25132              }
25133              while_break___0: /* CIL Label */ ;
25134              }
25135            } else {
25136
25137            }
25138#line 1646
25139            goto while_break;
25140          }
25141          while_break: /* CIL Label */ ;
25142          }
25143        } else {
25144
25145        }
25146#line 1649
25147        goto switch_break;
25148      } else {
25149        switch_break: /* CIL Label */ ;
25150      }
25151      }
25152    }
25153    }
25154    {
25155#line 1651
25156    fc_frame_free(fp);
25157    }
25158  } else {
25159    {
25160#line 1653
25161    __cil_tmp72 = *((__u8 *)fh);
25162#line 1654
25163    if ((int )__cil_tmp72 == 133) {
25164#line 1654
25165      goto case_133;
25166    } else
25167#line 1655
25168    if ((int )__cil_tmp72 == 132) {
25169#line 1655
25170      goto case_133;
25171    } else
25172#line 1661
25173    if ((int )__cil_tmp72 == 129) {
25174#line 1661
25175      goto case_129;
25176    } else {
25177      {
25178#line 1664
25179      goto switch_default___0;
25180#line 1653
25181      if (0) {
25182        case_133: /* CIL Label */ 
25183        case_132: /* CIL Label */ 
25184#line 1656
25185        if (ep) {
25186          {
25187#line 1657
25188          fc_exch_abts_resp(ep, fp);
25189          }
25190        } else {
25191          {
25192#line 1659
25193          fc_frame_free(fp);
25194          }
25195        }
25196#line 1660
25197        goto switch_break___0;
25198        case_129: /* CIL Label */ 
25199        {
25200#line 1662
25201        fc_exch_recv_abts(ep, fp);
25202        }
25203#line 1663
25204        goto switch_break___0;
25205        switch_default___0: /* CIL Label */ 
25206        {
25207#line 1665
25208        fc_frame_free(fp);
25209        }
25210#line 1666
25211        goto switch_break___0;
25212      } else {
25213        switch_break___0: /* CIL Label */ ;
25214      }
25215      }
25216    }
25217    }
25218  }
25219  }
25220#line 1669
25221  if (ep) {
25222    {
25223#line 1670
25224    fc_exch_release(ep);
25225    }
25226  } else {
25227
25228  }
25229#line 1671
25230  return;
25231}
25232}
25233#line 1680 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
25234static void fc_seq_ls_acc(struct fc_frame *rx_fp ) 
25235{ struct fc_lport *lport ;
25236  struct fc_els_ls_acc *acc ;
25237  struct fc_frame *fp ;
25238  void *tmp___7 ;
25239  unsigned long __cil_tmp6 ;
25240  unsigned long __cil_tmp7 ;
25241  unsigned long __cil_tmp8 ;
25242  unsigned long __cil_tmp9 ;
25243  unsigned long __cil_tmp10 ;
25244  char *__cil_tmp11 ;
25245  struct fcoe_rcv_info *__cil_tmp12 ;
25246  struct fc_frame    *__cil_tmp13 ;
25247  void *__cil_tmp14 ;
25248  struct fc_frame    *__cil_tmp15 ;
25249  enum fc_rctl __cil_tmp16 ;
25250  u32 __cil_tmp17 ;
25251  unsigned long __cil_tmp18 ;
25252  unsigned long __cil_tmp19 ;
25253  int (*__cil_tmp20)(struct fc_lport * , struct fc_frame * ) ;
25254
25255  {
25256  {
25257#line 1686
25258  __cil_tmp6 = 0 * 1UL;
25259#line 1686
25260  __cil_tmp7 = 40 + __cil_tmp6;
25261#line 1686
25262  __cil_tmp8 = 0 + __cil_tmp7;
25263#line 1686
25264  __cil_tmp9 = (unsigned long )rx_fp;
25265#line 1686
25266  __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
25267#line 1686
25268  __cil_tmp11 = (char *)__cil_tmp10;
25269#line 1686
25270  __cil_tmp12 = (struct fcoe_rcv_info *)__cil_tmp11;
25271#line 1686
25272  lport = *((struct fc_lport **)__cil_tmp12);
25273#line 1687
25274  fp = fc_frame_alloc(lport, 4UL);
25275  }
25276#line 1688
25277  if (! fp) {
25278#line 1689
25279    return;
25280  } else {
25281
25282  }
25283  {
25284#line 1690
25285  __cil_tmp13 = (struct fc_frame    *)fp;
25286#line 1690
25287  tmp___7 = fc_frame_payload_get(__cil_tmp13, 4UL);
25288#line 1690
25289  acc = (struct fc_els_ls_acc *)tmp___7;
25290#line 1691
25291  __cil_tmp14 = (void *)acc;
25292#line 1691
25293  memset(__cil_tmp14, 0, 4UL);
25294#line 1692
25295  *((__u8 *)acc) = (__u8 )2;
25296#line 1693
25297  __cil_tmp15 = (struct fc_frame    *)rx_fp;
25298#line 1693
25299  __cil_tmp16 = (enum fc_rctl )35;
25300#line 1693
25301  __cil_tmp17 = (u32 )0;
25302#line 1693
25303  fc_fill_reply_hdr(fp, __cil_tmp15, __cil_tmp16, __cil_tmp17);
25304#line 1694
25305  __cil_tmp18 = (unsigned long )lport;
25306#line 1694
25307  __cil_tmp19 = __cil_tmp18 + 328;
25308#line 1694
25309  __cil_tmp20 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp19);
25310#line 1694
25311  (*__cil_tmp20)(lport, fp);
25312  }
25313#line 1695
25314  return;
25315}
25316}
25317#line 1706 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
25318static void fc_seq_ls_rjt(struct fc_frame *rx_fp , enum fc_els_rjt_reason reason ,
25319                          enum fc_els_rjt_explan explan ) 
25320{ struct fc_lport *lport ;
25321  struct fc_els_ls_rjt *rjt ;
25322  struct fc_frame *fp ;
25323  void *tmp___7 ;
25324  unsigned long __cil_tmp8 ;
25325  unsigned long __cil_tmp9 ;
25326  unsigned long __cil_tmp10 ;
25327  unsigned long __cil_tmp11 ;
25328  unsigned long __cil_tmp12 ;
25329  char *__cil_tmp13 ;
25330  struct fcoe_rcv_info *__cil_tmp14 ;
25331  struct fc_frame    *__cil_tmp15 ;
25332  void *__cil_tmp16 ;
25333  unsigned long __cil_tmp17 ;
25334  unsigned long __cil_tmp18 ;
25335  unsigned long __cil_tmp19 ;
25336  unsigned long __cil_tmp20 ;
25337  struct fc_frame    *__cil_tmp21 ;
25338  enum fc_rctl __cil_tmp22 ;
25339  u32 __cil_tmp23 ;
25340  unsigned long __cil_tmp24 ;
25341  unsigned long __cil_tmp25 ;
25342  int (*__cil_tmp26)(struct fc_lport * , struct fc_frame * ) ;
25343
25344  {
25345  {
25346#line 1713
25347  __cil_tmp8 = 0 * 1UL;
25348#line 1713
25349  __cil_tmp9 = 40 + __cil_tmp8;
25350#line 1713
25351  __cil_tmp10 = 0 + __cil_tmp9;
25352#line 1713
25353  __cil_tmp11 = (unsigned long )rx_fp;
25354#line 1713
25355  __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
25356#line 1713
25357  __cil_tmp13 = (char *)__cil_tmp12;
25358#line 1713
25359  __cil_tmp14 = (struct fcoe_rcv_info *)__cil_tmp13;
25360#line 1713
25361  lport = *((struct fc_lport **)__cil_tmp14);
25362#line 1714
25363  fp = fc_frame_alloc(lport, 8UL);
25364  }
25365#line 1715
25366  if (! fp) {
25367#line 1716
25368    return;
25369  } else {
25370
25371  }
25372  {
25373#line 1717
25374  __cil_tmp15 = (struct fc_frame    *)fp;
25375#line 1717
25376  tmp___7 = fc_frame_payload_get(__cil_tmp15, 8UL);
25377#line 1717
25378  rjt = (struct fc_els_ls_rjt *)tmp___7;
25379#line 1718
25380  __cil_tmp16 = (void *)rjt;
25381#line 1718
25382  memset(__cil_tmp16, 0, 8UL);
25383#line 1719
25384  *((__u8 *)rjt) = (__u8 )1;
25385#line 1720
25386  __cil_tmp17 = (unsigned long )rjt;
25387#line 1720
25388  __cil_tmp18 = __cil_tmp17 + 5;
25389#line 1720
25390  *((__u8 *)__cil_tmp18) = (__u8 )reason;
25391#line 1721
25392  __cil_tmp19 = (unsigned long )rjt;
25393#line 1721
25394  __cil_tmp20 = __cil_tmp19 + 6;
25395#line 1721
25396  *((__u8 *)__cil_tmp20) = (__u8 )explan;
25397#line 1722
25398  __cil_tmp21 = (struct fc_frame    *)rx_fp;
25399#line 1722
25400  __cil_tmp22 = (enum fc_rctl )35;
25401#line 1722
25402  __cil_tmp23 = (u32 )0;
25403#line 1722
25404  fc_fill_reply_hdr(fp, __cil_tmp21, __cil_tmp22, __cil_tmp23);
25405#line 1723
25406  __cil_tmp24 = (unsigned long )lport;
25407#line 1723
25408  __cil_tmp25 = __cil_tmp24 + 328;
25409#line 1723
25410  __cil_tmp26 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp25);
25411#line 1723
25412  (*__cil_tmp26)(lport, fp);
25413  }
25414#line 1724
25415  return;
25416}
25417}
25418#line 1730 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
25419static void fc_exch_reset(struct fc_exch *ep ) 
25420{ struct fc_seq *sp ;
25421  void (*resp)(struct fc_seq * , struct fc_frame * , void * ) ;
25422  void *arg ;
25423  int rc ;
25424  bool tmp___7 ;
25425  void *tmp___8 ;
25426  spinlock_t *__cil_tmp8 ;
25427  unsigned long __cil_tmp9 ;
25428  unsigned long __cil_tmp10 ;
25429  int __cil_tmp11 ;
25430  unsigned long __cil_tmp12 ;
25431  unsigned long __cil_tmp13 ;
25432  u8 __cil_tmp14 ;
25433  int __cil_tmp15 ;
25434  int __cil_tmp16 ;
25435  unsigned long __cil_tmp17 ;
25436  unsigned long __cil_tmp18 ;
25437  struct delayed_work *__cil_tmp19 ;
25438  unsigned long __cil_tmp20 ;
25439  unsigned long __cil_tmp21 ;
25440  atomic_t *__cil_tmp22 ;
25441  unsigned long __cil_tmp23 ;
25442  unsigned long __cil_tmp24 ;
25443  unsigned long __cil_tmp25 ;
25444  unsigned long __cil_tmp26 ;
25445  void *__cil_tmp27 ;
25446  int __cil_tmp28 ;
25447  unsigned int __cil_tmp29 ;
25448  unsigned long __cil_tmp30 ;
25449  unsigned long __cil_tmp31 ;
25450  u32 __cil_tmp32 ;
25451  unsigned long __cil_tmp33 ;
25452  unsigned long __cil_tmp34 ;
25453  atomic_t *__cil_tmp35 ;
25454  unsigned long __cil_tmp36 ;
25455  unsigned long __cil_tmp37 ;
25456  int __cil_tmp38 ;
25457  int __cil_tmp39 ;
25458  unsigned int __cil_tmp40 ;
25459  unsigned long __cil_tmp41 ;
25460  unsigned long __cil_tmp42 ;
25461  u32 __cil_tmp43 ;
25462  unsigned long __cil_tmp44 ;
25463  unsigned long __cil_tmp45 ;
25464  unsigned long __cil_tmp46 ;
25465  unsigned long __cil_tmp47 ;
25466  spinlock_t *__cil_tmp48 ;
25467  struct fc_frame *__cil_tmp49 ;
25468
25469  {
25470  {
25471#line 1735
25472  rc = 1;
25473#line 1737
25474  __cil_tmp8 = (spinlock_t *)ep;
25475#line 1737
25476  spin_lock_bh(__cil_tmp8);
25477#line 1738
25478  fc_exch_abort_locked(ep, 0U);
25479#line 1739
25480  __cil_tmp9 = (unsigned long )ep;
25481#line 1739
25482  __cil_tmp10 = __cil_tmp9 + 76;
25483#line 1739
25484  __cil_tmp11 = 1 << 1;
25485#line 1739
25486  __cil_tmp12 = (unsigned long )ep;
25487#line 1739
25488  __cil_tmp13 = __cil_tmp12 + 76;
25489#line 1739
25490  __cil_tmp14 = *((u8 *)__cil_tmp13);
25491#line 1739
25492  __cil_tmp15 = (int )__cil_tmp14;
25493#line 1739
25494  __cil_tmp16 = __cil_tmp15 | __cil_tmp11;
25495#line 1739
25496  *((u8 *)__cil_tmp10) = (u8 )__cil_tmp16;
25497#line 1740
25498  __cil_tmp17 = (unsigned long )ep;
25499#line 1740
25500  __cil_tmp18 = __cil_tmp17 + 144;
25501#line 1740
25502  __cil_tmp19 = (struct delayed_work *)__cil_tmp18;
25503#line 1740
25504  tmp___7 = cancel_delayed_work(__cil_tmp19);
25505  }
25506#line 1740
25507  if (tmp___7) {
25508    {
25509#line 1741
25510    __cil_tmp20 = (unsigned long )ep;
25511#line 1741
25512    __cil_tmp21 = __cil_tmp20 + 24;
25513#line 1741
25514    __cil_tmp22 = (atomic_t *)__cil_tmp21;
25515#line 1741
25516    atomic_dec(__cil_tmp22);
25517    }
25518  } else {
25519
25520  }
25521#line 1742
25522  __cil_tmp23 = (unsigned long )ep;
25523#line 1742
25524  __cil_tmp24 = __cil_tmp23 + 120;
25525#line 1742
25526  resp = *((void (**)(struct fc_seq * , struct fc_frame * , void * ))__cil_tmp24);
25527#line 1743
25528  __cil_tmp25 = (unsigned long )ep;
25529#line 1743
25530  __cil_tmp26 = __cil_tmp25 + 120;
25531#line 1743
25532  __cil_tmp27 = (void *)0;
25533#line 1743
25534  *((void (**)(struct fc_seq * , struct fc_frame * , void * ))__cil_tmp26) = (void (*)(struct fc_seq * ,
25535                                                                                       struct fc_frame * ,
25536                                                                                       void * ))__cil_tmp27;
25537  {
25538#line 1744
25539  __cil_tmp28 = 1 << 26;
25540#line 1744
25541  __cil_tmp29 = (unsigned int )__cil_tmp28;
25542#line 1744
25543  __cil_tmp30 = (unsigned long )ep;
25544#line 1744
25545  __cil_tmp31 = __cil_tmp30 + 72;
25546#line 1744
25547  __cil_tmp32 = *((u32 *)__cil_tmp31);
25548#line 1744
25549  if (__cil_tmp32 & __cil_tmp29) {
25550    {
25551#line 1745
25552    __cil_tmp33 = (unsigned long )ep;
25553#line 1745
25554    __cil_tmp34 = __cil_tmp33 + 24;
25555#line 1745
25556    __cil_tmp35 = (atomic_t *)__cil_tmp34;
25557#line 1745
25558    atomic_dec(__cil_tmp35);
25559    }
25560  } else {
25561
25562  }
25563  }
25564  {
25565#line 1746
25566  __cil_tmp36 = (unsigned long )ep;
25567#line 1746
25568  __cil_tmp37 = __cil_tmp36 + 72;
25569#line 1746
25570  __cil_tmp38 = 1 << 26;
25571#line 1746
25572  __cil_tmp39 = ~ __cil_tmp38;
25573#line 1746
25574  __cil_tmp40 = (unsigned int )__cil_tmp39;
25575#line 1746
25576  __cil_tmp41 = (unsigned long )ep;
25577#line 1746
25578  __cil_tmp42 = __cil_tmp41 + 72;
25579#line 1746
25580  __cil_tmp43 = *((u32 *)__cil_tmp42);
25581#line 1746
25582  *((u32 *)__cil_tmp37) = __cil_tmp43 & __cil_tmp40;
25583#line 1747
25584  __cil_tmp44 = (unsigned long )ep;
25585#line 1747
25586  __cil_tmp45 = __cil_tmp44 + 128;
25587#line 1747
25588  arg = *((void **)__cil_tmp45);
25589#line 1748
25590  __cil_tmp46 = (unsigned long )ep;
25591#line 1748
25592  __cil_tmp47 = __cil_tmp46 + 108;
25593#line 1748
25594  sp = (struct fc_seq *)__cil_tmp47;
25595#line 1749
25596  rc = fc_exch_done_locked(ep);
25597#line 1750
25598  __cil_tmp48 = (spinlock_t *)ep;
25599#line 1750
25600  spin_unlock_bh(__cil_tmp48);
25601  }
25602#line 1751
25603  if (! rc) {
25604    {
25605#line 1752
25606    fc_exch_delete(ep);
25607    }
25608  } else {
25609
25610  }
25611#line 1754
25612  if (resp) {
25613    {
25614#line 1755
25615    tmp___8 = (void *)ERR_PTR(-2L);
25616#line 1755
25617    __cil_tmp49 = (struct fc_frame *)tmp___8;
25618#line 1755
25619    (*resp)(sp, __cil_tmp49, arg);
25620    }
25621  } else {
25622
25623  }
25624#line 1756
25625  return;
25626}
25627}
25628#line 1770 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
25629static void fc_exch_pool_reset(struct fc_lport *lport , struct fc_exch_pool *pool ,
25630                               u32 sid , u32 did ) 
25631{ struct fc_exch *ep ;
25632  struct fc_exch *next ;
25633  struct list_head    *__mptr ;
25634  struct list_head    *__mptr___0 ;
25635  struct list_head    *__mptr___1 ;
25636  spinlock_t *__cil_tmp10 ;
25637  unsigned long __cil_tmp11 ;
25638  unsigned long __cil_tmp12 ;
25639  struct list_head *__cil_tmp13 ;
25640  struct fc_exch *__cil_tmp14 ;
25641  unsigned long __cil_tmp15 ;
25642  unsigned long __cil_tmp16 ;
25643  struct list_head *__cil_tmp17 ;
25644  unsigned int __cil_tmp18 ;
25645  char *__cil_tmp19 ;
25646  char *__cil_tmp20 ;
25647  unsigned long __cil_tmp21 ;
25648  unsigned long __cil_tmp22 ;
25649  struct list_head *__cil_tmp23 ;
25650  struct fc_exch *__cil_tmp24 ;
25651  unsigned long __cil_tmp25 ;
25652  unsigned long __cil_tmp26 ;
25653  struct list_head *__cil_tmp27 ;
25654  unsigned int __cil_tmp28 ;
25655  char *__cil_tmp29 ;
25656  char *__cil_tmp30 ;
25657  unsigned long __cil_tmp31 ;
25658  unsigned long __cil_tmp32 ;
25659  struct list_head *__cil_tmp33 ;
25660  unsigned long __cil_tmp34 ;
25661  unsigned long __cil_tmp35 ;
25662  unsigned long __cil_tmp36 ;
25663  struct list_head *__cil_tmp37 ;
25664  unsigned long __cil_tmp38 ;
25665  unsigned long __cil_tmp39 ;
25666  unsigned long __cil_tmp40 ;
25667  struct fc_lport *__cil_tmp41 ;
25668  unsigned long __cil_tmp42 ;
25669  unsigned long __cil_tmp43 ;
25670  unsigned long __cil_tmp44 ;
25671  unsigned long __cil_tmp45 ;
25672  u32 __cil_tmp46 ;
25673  unsigned long __cil_tmp47 ;
25674  unsigned long __cil_tmp48 ;
25675  u32 __cil_tmp49 ;
25676  spinlock_t *__cil_tmp50 ;
25677  spinlock_t *__cil_tmp51 ;
25678  unsigned long __cil_tmp52 ;
25679  unsigned long __cil_tmp53 ;
25680  struct list_head *__cil_tmp54 ;
25681  struct fc_exch *__cil_tmp55 ;
25682  unsigned long __cil_tmp56 ;
25683  unsigned long __cil_tmp57 ;
25684  struct list_head *__cil_tmp58 ;
25685  unsigned int __cil_tmp59 ;
25686  char *__cil_tmp60 ;
25687  char *__cil_tmp61 ;
25688  unsigned long __cil_tmp62 ;
25689  unsigned long __cil_tmp63 ;
25690  unsigned long __cil_tmp64 ;
25691  unsigned long __cil_tmp65 ;
25692  unsigned long __cil_tmp66 ;
25693  unsigned long __cil_tmp67 ;
25694  spinlock_t *__cil_tmp68 ;
25695
25696  {
25697  {
25698#line 1777
25699  __cil_tmp10 = (spinlock_t *)pool;
25700#line 1777
25701  spin_lock_bh(__cil_tmp10);
25702  }
25703  restart: 
25704#line 1779
25705  __cil_tmp11 = (unsigned long )pool;
25706#line 1779
25707  __cil_tmp12 = __cil_tmp11 + 24;
25708#line 1779
25709  __cil_tmp13 = *((struct list_head **)__cil_tmp12);
25710#line 1779
25711  __mptr = (struct list_head    *)__cil_tmp13;
25712#line 1779
25713  __cil_tmp14 = (struct fc_exch *)0;
25714#line 1779
25715  __cil_tmp15 = (unsigned long )__cil_tmp14;
25716#line 1779
25717  __cil_tmp16 = __cil_tmp15 + 48;
25718#line 1779
25719  __cil_tmp17 = (struct list_head *)__cil_tmp16;
25720#line 1779
25721  __cil_tmp18 = (unsigned int )__cil_tmp17;
25722#line 1779
25723  __cil_tmp19 = (char *)__mptr;
25724#line 1779
25725  __cil_tmp20 = __cil_tmp19 - __cil_tmp18;
25726#line 1779
25727  ep = (struct fc_exch *)__cil_tmp20;
25728#line 1779
25729  __cil_tmp21 = (unsigned long )ep;
25730#line 1779
25731  __cil_tmp22 = __cil_tmp21 + 48;
25732#line 1779
25733  __cil_tmp23 = *((struct list_head **)__cil_tmp22);
25734#line 1779
25735  __mptr___0 = (struct list_head    *)__cil_tmp23;
25736#line 1779
25737  __cil_tmp24 = (struct fc_exch *)0;
25738#line 1779
25739  __cil_tmp25 = (unsigned long )__cil_tmp24;
25740#line 1779
25741  __cil_tmp26 = __cil_tmp25 + 48;
25742#line 1779
25743  __cil_tmp27 = (struct list_head *)__cil_tmp26;
25744#line 1779
25745  __cil_tmp28 = (unsigned int )__cil_tmp27;
25746#line 1779
25747  __cil_tmp29 = (char *)__mptr___0;
25748#line 1779
25749  __cil_tmp30 = __cil_tmp29 - __cil_tmp28;
25750#line 1779
25751  next = (struct fc_exch *)__cil_tmp30;
25752  {
25753#line 1779
25754  while (1) {
25755    while_continue: /* CIL Label */ ;
25756    {
25757#line 1779
25758    __cil_tmp31 = (unsigned long )pool;
25759#line 1779
25760    __cil_tmp32 = __cil_tmp31 + 24;
25761#line 1779
25762    __cil_tmp33 = (struct list_head *)__cil_tmp32;
25763#line 1779
25764    __cil_tmp34 = (unsigned long )__cil_tmp33;
25765#line 1779
25766    __cil_tmp35 = (unsigned long )ep;
25767#line 1779
25768    __cil_tmp36 = __cil_tmp35 + 48;
25769#line 1779
25770    __cil_tmp37 = (struct list_head *)__cil_tmp36;
25771#line 1779
25772    __cil_tmp38 = (unsigned long )__cil_tmp37;
25773#line 1779
25774    if (__cil_tmp38 != __cil_tmp34) {
25775
25776    } else {
25777#line 1779
25778      goto while_break;
25779    }
25780    }
25781    {
25782#line 1780
25783    __cil_tmp39 = (unsigned long )ep;
25784#line 1780
25785    __cil_tmp40 = __cil_tmp39 + 64;
25786#line 1780
25787    __cil_tmp41 = *((struct fc_lport **)__cil_tmp40);
25788#line 1780
25789    __cil_tmp42 = (unsigned long )__cil_tmp41;
25790#line 1780
25791    __cil_tmp43 = (unsigned long )lport;
25792#line 1780
25793    if (__cil_tmp43 == __cil_tmp42) {
25794#line 1780
25795      if (sid == 0U) {
25796#line 1780
25797        goto _L___0;
25798      } else {
25799        {
25800#line 1780
25801        __cil_tmp44 = (unsigned long )ep;
25802#line 1780
25803        __cil_tmp45 = __cil_tmp44 + 92;
25804#line 1780
25805        __cil_tmp46 = *((u32 *)__cil_tmp45);
25806#line 1780
25807        if (sid == __cil_tmp46) {
25808          _L___0: /* CIL Label */ 
25809#line 1780
25810          if (did == 0U) {
25811#line 1780
25812            goto _L;
25813          } else {
25814            {
25815#line 1780
25816            __cil_tmp47 = (unsigned long )ep;
25817#line 1780
25818            __cil_tmp48 = __cil_tmp47 + 96;
25819#line 1780
25820            __cil_tmp49 = *((u32 *)__cil_tmp48);
25821#line 1780
25822            if (did == __cil_tmp49) {
25823              _L: /* CIL Label */ 
25824              {
25825#line 1783
25826              fc_exch_hold(ep);
25827#line 1784
25828              __cil_tmp50 = (spinlock_t *)pool;
25829#line 1784
25830              spin_unlock_bh(__cil_tmp50);
25831#line 1786
25832              fc_exch_reset(ep);
25833#line 1788
25834              fc_exch_release(ep);
25835#line 1789
25836              __cil_tmp51 = (spinlock_t *)pool;
25837#line 1789
25838              spin_lock_bh(__cil_tmp51);
25839              }
25840#line 1795
25841              goto restart;
25842            } else {
25843
25844            }
25845            }
25846          }
25847        } else {
25848
25849        }
25850        }
25851      }
25852    } else {
25853
25854    }
25855    }
25856#line 1779
25857    ep = next;
25858#line 1779
25859    __cil_tmp52 = (unsigned long )next;
25860#line 1779
25861    __cil_tmp53 = __cil_tmp52 + 48;
25862#line 1779
25863    __cil_tmp54 = *((struct list_head **)__cil_tmp53);
25864#line 1779
25865    __mptr___1 = (struct list_head    *)__cil_tmp54;
25866#line 1779
25867    __cil_tmp55 = (struct fc_exch *)0;
25868#line 1779
25869    __cil_tmp56 = (unsigned long )__cil_tmp55;
25870#line 1779
25871    __cil_tmp57 = __cil_tmp56 + 48;
25872#line 1779
25873    __cil_tmp58 = (struct list_head *)__cil_tmp57;
25874#line 1779
25875    __cil_tmp59 = (unsigned int )__cil_tmp58;
25876#line 1779
25877    __cil_tmp60 = (char *)__mptr___1;
25878#line 1779
25879    __cil_tmp61 = __cil_tmp60 - __cil_tmp59;
25880#line 1779
25881    next = (struct fc_exch *)__cil_tmp61;
25882  }
25883  while_break: /* CIL Label */ ;
25884  }
25885  {
25886#line 1798
25887  __cil_tmp62 = (unsigned long )pool;
25888#line 1798
25889  __cil_tmp63 = __cil_tmp62 + 40;
25890#line 1798
25891  *((u16 *)__cil_tmp63) = (u16 )0;
25892#line 1799
25893  __cil_tmp64 = (unsigned long )pool;
25894#line 1799
25895  __cil_tmp65 = __cil_tmp64 + 44;
25896#line 1799
25897  *((u16 *)__cil_tmp65) = (u16 )65535;
25898#line 1800
25899  __cil_tmp66 = (unsigned long )pool;
25900#line 1800
25901  __cil_tmp67 = __cil_tmp66 + 46;
25902#line 1800
25903  *((u16 *)__cil_tmp67) = (u16 )65535;
25904#line 1801
25905  __cil_tmp68 = (spinlock_t *)pool;
25906#line 1801
25907  spin_unlock_bh(__cil_tmp68);
25908  }
25909#line 1802
25910  return;
25911}
25912}
25913#line 1815 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
25914void fc_exch_mgr_reset(struct fc_lport *lport , u32 sid , u32 did ) 
25915{ struct fc_exch_mgr_anchor *ema ;
25916  unsigned int cpu ;
25917  struct list_head    *__mptr ;
25918  struct list_head    *__mptr___0 ;
25919  void    *__vpp_verify ;
25920  unsigned long __ptr ;
25921  unsigned long __cil_tmp10 ;
25922  unsigned long __cil_tmp11 ;
25923  struct list_head *__cil_tmp12 ;
25924  struct fc_exch_mgr_anchor *__cil_tmp13 ;
25925  struct list_head *__cil_tmp14 ;
25926  unsigned int __cil_tmp15 ;
25927  char *__cil_tmp16 ;
25928  char *__cil_tmp17 ;
25929  unsigned long __cil_tmp18 ;
25930  unsigned long __cil_tmp19 ;
25931  struct list_head *__cil_tmp20 ;
25932  unsigned long __cil_tmp21 ;
25933  struct list_head *__cil_tmp22 ;
25934  unsigned long __cil_tmp23 ;
25935  int __cil_tmp24 ;
25936  struct cpumask    *__cil_tmp25 ;
25937  unsigned int __cil_tmp26 ;
25938  void *__cil_tmp27 ;
25939  struct fc_exch_pool *__cil_tmp28 ;
25940  unsigned long __cil_tmp29 ;
25941  unsigned long __cil_tmp30 ;
25942  struct fc_exch_mgr *__cil_tmp31 ;
25943  unsigned long __cil_tmp32 ;
25944  unsigned long __cil_tmp33 ;
25945  unsigned long __cil_tmp34 ;
25946  unsigned long __cil_tmp35 ;
25947  struct fc_exch_pool *__cil_tmp36 ;
25948  struct list_head *__cil_tmp37 ;
25949  struct fc_exch_mgr_anchor *__cil_tmp38 ;
25950  struct list_head *__cil_tmp39 ;
25951  unsigned int __cil_tmp40 ;
25952  char *__cil_tmp41 ;
25953  char *__cil_tmp42 ;
25954
25955  {
25956#line 1820
25957  __cil_tmp10 = (unsigned long )lport;
25958#line 1820
25959  __cil_tmp11 = __cil_tmp10 + 8;
25960#line 1820
25961  __cil_tmp12 = *((struct list_head **)__cil_tmp11);
25962#line 1820
25963  __mptr = (struct list_head    *)__cil_tmp12;
25964#line 1820
25965  __cil_tmp13 = (struct fc_exch_mgr_anchor *)0;
25966#line 1820
25967  __cil_tmp14 = (struct list_head *)__cil_tmp13;
25968#line 1820
25969  __cil_tmp15 = (unsigned int )__cil_tmp14;
25970#line 1820
25971  __cil_tmp16 = (char *)__mptr;
25972#line 1820
25973  __cil_tmp17 = __cil_tmp16 - __cil_tmp15;
25974#line 1820
25975  ema = (struct fc_exch_mgr_anchor *)__cil_tmp17;
25976  {
25977#line 1820
25978  while (1) {
25979    while_continue: /* CIL Label */ ;
25980    {
25981#line 1820
25982    __cil_tmp18 = (unsigned long )lport;
25983#line 1820
25984    __cil_tmp19 = __cil_tmp18 + 8;
25985#line 1820
25986    __cil_tmp20 = (struct list_head *)__cil_tmp19;
25987#line 1820
25988    __cil_tmp21 = (unsigned long )__cil_tmp20;
25989#line 1820
25990    __cil_tmp22 = (struct list_head *)ema;
25991#line 1820
25992    __cil_tmp23 = (unsigned long )__cil_tmp22;
25993#line 1820
25994    if (__cil_tmp23 != __cil_tmp21) {
25995
25996    } else {
25997#line 1820
25998      goto while_break;
25999    }
26000    }
26001#line 1821
26002    cpu = 4294967295U;
26003    {
26004#line 1821
26005    while (1) {
26006      while_continue___0: /* CIL Label */ ;
26007      {
26008#line 1821
26009      __cil_tmp24 = (int )cpu;
26010#line 1821
26011      __cil_tmp25 = (struct cpumask    *)cpu_possible_mask;
26012#line 1821
26013      cpu = cpumask_next(__cil_tmp24, __cil_tmp25);
26014      }
26015      {
26016#line 1821
26017      __cil_tmp26 = (unsigned int )nr_cpu_ids;
26018#line 1821
26019      if (cpu < __cil_tmp26) {
26020
26021      } else {
26022#line 1821
26023        goto while_break___0;
26024      }
26025      }
26026      {
26027#line 1823
26028      while (1) {
26029        while_continue___1: /* CIL Label */ ;
26030#line 1823
26031        __cil_tmp27 = (void *)0;
26032#line 1823
26033        __cil_tmp28 = (struct fc_exch_pool *)__cil_tmp27;
26034#line 1823
26035        __vpp_verify = (void    *)__cil_tmp28;
26036#line 1823
26037        goto while_break___1;
26038      }
26039      while_break___1: /* CIL Label */ ;
26040      }
26041      {
26042#line 1823
26043      __cil_tmp29 = (unsigned long )ema;
26044#line 1823
26045      __cil_tmp30 = __cil_tmp29 + 16;
26046#line 1823
26047      __cil_tmp31 = *((struct fc_exch_mgr **)__cil_tmp30);
26048#line 1823
26049      __asm__  ("": "=r" (__ptr): "0" (*((struct fc_exch_pool **)__cil_tmp31)));
26050#line 1823
26051      __cil_tmp32 = cpu * 8UL;
26052#line 1823
26053      __cil_tmp33 = (unsigned long )(__per_cpu_offset) + __cil_tmp32;
26054#line 1823
26055      __cil_tmp34 = *((unsigned long *)__cil_tmp33);
26056#line 1823
26057      __cil_tmp35 = __ptr + __cil_tmp34;
26058#line 1823
26059      __cil_tmp36 = (struct fc_exch_pool *)__cil_tmp35;
26060#line 1823
26061      fc_exch_pool_reset(lport, __cil_tmp36, sid, did);
26062      }
26063    }
26064    while_break___0: /* CIL Label */ ;
26065    }
26066#line 1820
26067    __cil_tmp37 = *((struct list_head **)ema);
26068#line 1820
26069    __mptr___0 = (struct list_head    *)__cil_tmp37;
26070#line 1820
26071    __cil_tmp38 = (struct fc_exch_mgr_anchor *)0;
26072#line 1820
26073    __cil_tmp39 = (struct list_head *)__cil_tmp38;
26074#line 1820
26075    __cil_tmp40 = (unsigned int )__cil_tmp39;
26076#line 1820
26077    __cil_tmp41 = (char *)__mptr___0;
26078#line 1820
26079    __cil_tmp42 = __cil_tmp41 - __cil_tmp40;
26080#line 1820
26081    ema = (struct fc_exch_mgr_anchor *)__cil_tmp42;
26082  }
26083  while_break: /* CIL Label */ ;
26084  }
26085#line 1826
26086  return;
26087}
26088}
26089#line 1827
26090extern void *__crc_fc_exch_mgr_reset  __attribute__((__weak__)) ;
26091#line 1827 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
26092static unsigned long    __kcrctab_fc_exch_mgr_reset  __attribute__((__used__,
26093__unused__, __section__("___kcrctab+fc_exch_mgr_reset")))  =    (unsigned long    )((unsigned long )(& __crc_fc_exch_mgr_reset));
26094#line 1827 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
26095static char    __kstrtab_fc_exch_mgr_reset[18]  __attribute__((__section__("__ksymtab_strings"),
26096__aligned__(1)))  = 
26097#line 1827
26098  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'e', 
26099        (char    )'x',      (char    )'c',      (char const   )'h',      (char const   )'_', 
26100        (char    )'m',      (char    )'g',      (char const   )'r',      (char const   )'_', 
26101        (char    )'r',      (char    )'e',      (char const   )'s',      (char const   )'e', 
26102        (char    )'t',      (char    )'\000'};
26103#line 1827 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
26104static struct kernel_symbol    __ksymtab_fc_exch_mgr_reset  __attribute__((__used__,
26105__unused__, __section__("___ksymtab+fc_exch_mgr_reset")))  =    {(unsigned long )(& fc_exch_mgr_reset), __kstrtab_fc_exch_mgr_reset};
26106#line 1836 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
26107static struct fc_exch *fc_exch_lookup(struct fc_lport *lport , u32 xid ) 
26108{ struct fc_exch_mgr_anchor *ema ;
26109  struct list_head    *__mptr ;
26110  struct list_head    *__mptr___0 ;
26111  struct fc_exch *tmp___7 ;
26112  unsigned long __cil_tmp7 ;
26113  unsigned long __cil_tmp8 ;
26114  struct list_head *__cil_tmp9 ;
26115  struct fc_exch_mgr_anchor *__cil_tmp10 ;
26116  struct list_head *__cil_tmp11 ;
26117  unsigned int __cil_tmp12 ;
26118  char *__cil_tmp13 ;
26119  char *__cil_tmp14 ;
26120  unsigned long __cil_tmp15 ;
26121  unsigned long __cil_tmp16 ;
26122  struct list_head *__cil_tmp17 ;
26123  unsigned long __cil_tmp18 ;
26124  struct list_head *__cil_tmp19 ;
26125  unsigned long __cil_tmp20 ;
26126  unsigned long __cil_tmp21 ;
26127  unsigned long __cil_tmp22 ;
26128  struct fc_exch_mgr *__cil_tmp23 ;
26129  unsigned long __cil_tmp24 ;
26130  unsigned long __cil_tmp25 ;
26131  u16 __cil_tmp26 ;
26132  u32 __cil_tmp27 ;
26133  unsigned long __cil_tmp28 ;
26134  unsigned long __cil_tmp29 ;
26135  struct fc_exch_mgr *__cil_tmp30 ;
26136  unsigned long __cil_tmp31 ;
26137  unsigned long __cil_tmp32 ;
26138  u16 __cil_tmp33 ;
26139  u32 __cil_tmp34 ;
26140  unsigned long __cil_tmp35 ;
26141  unsigned long __cil_tmp36 ;
26142  struct fc_exch_mgr *__cil_tmp37 ;
26143  u16 __cil_tmp38 ;
26144  struct list_head *__cil_tmp39 ;
26145  struct fc_exch_mgr_anchor *__cil_tmp40 ;
26146  struct list_head *__cil_tmp41 ;
26147  unsigned int __cil_tmp42 ;
26148  char *__cil_tmp43 ;
26149  char *__cil_tmp44 ;
26150  void *__cil_tmp45 ;
26151
26152  {
26153#line 1840
26154  __cil_tmp7 = (unsigned long )lport;
26155#line 1840
26156  __cil_tmp8 = __cil_tmp7 + 8;
26157#line 1840
26158  __cil_tmp9 = *((struct list_head **)__cil_tmp8);
26159#line 1840
26160  __mptr = (struct list_head    *)__cil_tmp9;
26161#line 1840
26162  __cil_tmp10 = (struct fc_exch_mgr_anchor *)0;
26163#line 1840
26164  __cil_tmp11 = (struct list_head *)__cil_tmp10;
26165#line 1840
26166  __cil_tmp12 = (unsigned int )__cil_tmp11;
26167#line 1840
26168  __cil_tmp13 = (char *)__mptr;
26169#line 1840
26170  __cil_tmp14 = __cil_tmp13 - __cil_tmp12;
26171#line 1840
26172  ema = (struct fc_exch_mgr_anchor *)__cil_tmp14;
26173  {
26174#line 1840
26175  while (1) {
26176    while_continue: /* CIL Label */ ;
26177    {
26178#line 1840
26179    __cil_tmp15 = (unsigned long )lport;
26180#line 1840
26181    __cil_tmp16 = __cil_tmp15 + 8;
26182#line 1840
26183    __cil_tmp17 = (struct list_head *)__cil_tmp16;
26184#line 1840
26185    __cil_tmp18 = (unsigned long )__cil_tmp17;
26186#line 1840
26187    __cil_tmp19 = (struct list_head *)ema;
26188#line 1840
26189    __cil_tmp20 = (unsigned long )__cil_tmp19;
26190#line 1840
26191    if (__cil_tmp20 != __cil_tmp18) {
26192
26193    } else {
26194#line 1840
26195      goto while_break;
26196    }
26197    }
26198    {
26199#line 1841
26200    __cil_tmp21 = (unsigned long )ema;
26201#line 1841
26202    __cil_tmp22 = __cil_tmp21 + 16;
26203#line 1841
26204    __cil_tmp23 = *((struct fc_exch_mgr **)__cil_tmp22);
26205#line 1841
26206    __cil_tmp24 = (unsigned long )__cil_tmp23;
26207#line 1841
26208    __cil_tmp25 = __cil_tmp24 + 24;
26209#line 1841
26210    __cil_tmp26 = *((u16 *)__cil_tmp25);
26211#line 1841
26212    __cil_tmp27 = (u32 )__cil_tmp26;
26213#line 1841
26214    if (__cil_tmp27 <= xid) {
26215      {
26216#line 1841
26217      __cil_tmp28 = (unsigned long )ema;
26218#line 1841
26219      __cil_tmp29 = __cil_tmp28 + 16;
26220#line 1841
26221      __cil_tmp30 = *((struct fc_exch_mgr **)__cil_tmp29);
26222#line 1841
26223      __cil_tmp31 = (unsigned long )__cil_tmp30;
26224#line 1841
26225      __cil_tmp32 = __cil_tmp31 + 26;
26226#line 1841
26227      __cil_tmp33 = *((u16 *)__cil_tmp32);
26228#line 1841
26229      __cil_tmp34 = (u32 )__cil_tmp33;
26230#line 1841
26231      if (xid <= __cil_tmp34) {
26232        {
26233#line 1842
26234        __cil_tmp35 = (unsigned long )ema;
26235#line 1842
26236        __cil_tmp36 = __cil_tmp35 + 16;
26237#line 1842
26238        __cil_tmp37 = *((struct fc_exch_mgr **)__cil_tmp36);
26239#line 1842
26240        __cil_tmp38 = (u16 )xid;
26241#line 1842
26242        tmp___7 = fc_exch_find(__cil_tmp37, __cil_tmp38);
26243        }
26244#line 1842
26245        return (tmp___7);
26246      } else {
26247
26248      }
26249      }
26250    } else {
26251
26252    }
26253    }
26254#line 1840
26255    __cil_tmp39 = *((struct list_head **)ema);
26256#line 1840
26257    __mptr___0 = (struct list_head    *)__cil_tmp39;
26258#line 1840
26259    __cil_tmp40 = (struct fc_exch_mgr_anchor *)0;
26260#line 1840
26261    __cil_tmp41 = (struct list_head *)__cil_tmp40;
26262#line 1840
26263    __cil_tmp42 = (unsigned int )__cil_tmp41;
26264#line 1840
26265    __cil_tmp43 = (char *)__mptr___0;
26266#line 1840
26267    __cil_tmp44 = __cil_tmp43 - __cil_tmp42;
26268#line 1840
26269    ema = (struct fc_exch_mgr_anchor *)__cil_tmp44;
26270  }
26271  while_break: /* CIL Label */ ;
26272  }
26273  {
26274#line 1843
26275  __cil_tmp45 = (void *)0;
26276#line 1843
26277  return ((struct fc_exch *)__cil_tmp45);
26278  }
26279}
26280}
26281#line 1852 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
26282static void fc_exch_els_rec(struct fc_frame *rfp ) 
26283{ struct fc_lport *lport ;
26284  struct fc_frame *fp ;
26285  struct fc_exch *ep ;
26286  struct fc_els_rec *rp ;
26287  struct fc_els_rec_acc *acc ;
26288  enum fc_els_rjt_reason reason ;
26289  enum fc_els_rjt_explan explan ;
26290  u32 sid ;
26291  u16 rxid ;
26292  u16 oxid ;
26293  void *tmp___7 ;
26294  __u16 tmp___8 ;
26295  __u16 tmp___9 ;
26296  int tmp___10 ;
26297  void *tmp___11 ;
26298  size_t __len ;
26299  void *__ret ;
26300  __u16 tmp___12 ;
26301  __u32 tmp___13 ;
26302  __u32 tmp___14 ;
26303  unsigned long __cil_tmp22 ;
26304  unsigned long __cil_tmp23 ;
26305  unsigned long __cil_tmp24 ;
26306  unsigned long __cil_tmp25 ;
26307  unsigned long __cil_tmp26 ;
26308  char *__cil_tmp27 ;
26309  struct fcoe_rcv_info *__cil_tmp28 ;
26310  struct fc_frame    *__cil_tmp29 ;
26311  unsigned long __cil_tmp30 ;
26312  unsigned long __cil_tmp31 ;
26313  unsigned long __cil_tmp32 ;
26314  unsigned long __cil_tmp33 ;
26315  __u8 *__cil_tmp34 ;
26316  u8    *__cil_tmp35 ;
26317  unsigned long __cil_tmp36 ;
26318  unsigned long __cil_tmp37 ;
26319  __be16 __cil_tmp38 ;
26320  int __cil_tmp39 ;
26321  unsigned long __cil_tmp40 ;
26322  unsigned long __cil_tmp41 ;
26323  __be16 __cil_tmp42 ;
26324  int __cil_tmp43 ;
26325  struct Scsi_Host *__cil_tmp44 ;
26326  unsigned long __cil_tmp45 ;
26327  unsigned long __cil_tmp46 ;
26328  void *__cil_tmp47 ;
26329  struct fc_host_attrs *__cil_tmp48 ;
26330  unsigned long __cil_tmp49 ;
26331  unsigned long __cil_tmp50 ;
26332  u32 __cil_tmp51 ;
26333  u32 __cil_tmp52 ;
26334  unsigned long __cil_tmp53 ;
26335  unsigned long __cil_tmp54 ;
26336  u32 __cil_tmp55 ;
26337  unsigned long __cil_tmp56 ;
26338  unsigned long __cil_tmp57 ;
26339  u16 __cil_tmp58 ;
26340  int __cil_tmp59 ;
26341  int __cil_tmp60 ;
26342  int __cil_tmp61 ;
26343  unsigned long __cil_tmp62 ;
26344  unsigned long __cil_tmp63 ;
26345  u16 __cil_tmp64 ;
26346  int __cil_tmp65 ;
26347  int __cil_tmp66 ;
26348  struct fc_frame    *__cil_tmp67 ;
26349  void *__cil_tmp68 ;
26350  unsigned long __cil_tmp69 ;
26351  unsigned long __cil_tmp70 ;
26352  unsigned long __cil_tmp71 ;
26353  unsigned long __cil_tmp72 ;
26354  unsigned long __cil_tmp73 ;
26355  unsigned long __cil_tmp74 ;
26356  unsigned long __cil_tmp75 ;
26357  unsigned long __cil_tmp76 ;
26358  __u8 *__cil_tmp77 ;
26359  void *__cil_tmp78 ;
26360  unsigned long __cil_tmp79 ;
26361  unsigned long __cil_tmp80 ;
26362  unsigned long __cil_tmp81 ;
26363  unsigned long __cil_tmp82 ;
26364  __u8 *__cil_tmp83 ;
26365  void    *__cil_tmp84 ;
26366  unsigned long __cil_tmp85 ;
26367  unsigned long __cil_tmp86 ;
26368  unsigned long __cil_tmp87 ;
26369  unsigned long __cil_tmp88 ;
26370  __u8 *__cil_tmp89 ;
26371  void *__cil_tmp90 ;
26372  unsigned long __cil_tmp91 ;
26373  unsigned long __cil_tmp92 ;
26374  unsigned long __cil_tmp93 ;
26375  unsigned long __cil_tmp94 ;
26376  __u8 *__cil_tmp95 ;
26377  void    *__cil_tmp96 ;
26378  unsigned long __cil_tmp97 ;
26379  unsigned long __cil_tmp98 ;
26380  u16 __cil_tmp99 ;
26381  unsigned long __cil_tmp100 ;
26382  unsigned long __cil_tmp101 ;
26383  int __cil_tmp102 ;
26384  unsigned long __cil_tmp103 ;
26385  unsigned long __cil_tmp104 ;
26386  u32 __cil_tmp105 ;
26387  unsigned long __cil_tmp106 ;
26388  unsigned long __cil_tmp107 ;
26389  u32 __cil_tmp108 ;
26390  unsigned long __cil_tmp109 ;
26391  unsigned long __cil_tmp110 ;
26392  unsigned long __cil_tmp111 ;
26393  unsigned long __cil_tmp112 ;
26394  __u8 *__cil_tmp113 ;
26395  unsigned long __cil_tmp114 ;
26396  unsigned long __cil_tmp115 ;
26397  u32 __cil_tmp116 ;
26398  unsigned long __cil_tmp117 ;
26399  unsigned long __cil_tmp118 ;
26400  unsigned long __cil_tmp119 ;
26401  unsigned long __cil_tmp120 ;
26402  __u8 *__cil_tmp121 ;
26403  unsigned long __cil_tmp122 ;
26404  unsigned long __cil_tmp123 ;
26405  u32 __cil_tmp124 ;
26406  unsigned long __cil_tmp125 ;
26407  unsigned long __cil_tmp126 ;
26408  unsigned long __cil_tmp127 ;
26409  u32 __cil_tmp128 ;
26410  unsigned long __cil_tmp129 ;
26411  unsigned long __cil_tmp130 ;
26412  int __cil_tmp131 ;
26413  int __cil_tmp132 ;
26414  int __cil_tmp133 ;
26415  int __cil_tmp134 ;
26416  int __cil_tmp135 ;
26417  unsigned int __cil_tmp136 ;
26418  unsigned long __cil_tmp137 ;
26419  unsigned long __cil_tmp138 ;
26420  u32 __cil_tmp139 ;
26421  unsigned int __cil_tmp140 ;
26422  unsigned long __cil_tmp141 ;
26423  unsigned long __cil_tmp142 ;
26424  struct fc_frame    *__cil_tmp143 ;
26425  enum fc_rctl __cil_tmp144 ;
26426  u32 __cil_tmp145 ;
26427  unsigned long __cil_tmp146 ;
26428  unsigned long __cil_tmp147 ;
26429  int (*__cil_tmp148)(struct fc_lport * , struct fc_frame * ) ;
26430
26431  {
26432  {
26433#line 1859
26434  reason = (enum fc_els_rjt_reason )3;
26435#line 1865
26436  __cil_tmp22 = 0 * 1UL;
26437#line 1865
26438  __cil_tmp23 = 40 + __cil_tmp22;
26439#line 1865
26440  __cil_tmp24 = 0 + __cil_tmp23;
26441#line 1865
26442  __cil_tmp25 = (unsigned long )rfp;
26443#line 1865
26444  __cil_tmp26 = __cil_tmp25 + __cil_tmp24;
26445#line 1865
26446  __cil_tmp27 = (char *)__cil_tmp26;
26447#line 1865
26448  __cil_tmp28 = (struct fcoe_rcv_info *)__cil_tmp27;
26449#line 1865
26450  lport = *((struct fc_lport **)__cil_tmp28);
26451#line 1866
26452  __cil_tmp29 = (struct fc_frame    *)rfp;
26453#line 1866
26454  tmp___7 = fc_frame_payload_get(__cil_tmp29, 12UL);
26455#line 1866
26456  rp = (struct fc_els_rec *)tmp___7;
26457#line 1867
26458  explan = (enum fc_els_rjt_explan )45;
26459  }
26460#line 1868
26461  if (! rp) {
26462#line 1869
26463    goto reject;
26464  } else {
26465
26466  }
26467  {
26468#line 1870
26469  __cil_tmp30 = 0 * 1UL;
26470#line 1870
26471  __cil_tmp31 = 5 + __cil_tmp30;
26472#line 1870
26473  __cil_tmp32 = (unsigned long )rp;
26474#line 1870
26475  __cil_tmp33 = __cil_tmp32 + __cil_tmp31;
26476#line 1870
26477  __cil_tmp34 = (__u8 *)__cil_tmp33;
26478#line 1870
26479  __cil_tmp35 = (u8    *)__cil_tmp34;
26480#line 1870
26481  sid = ntoh24(__cil_tmp35);
26482#line 1871
26483  __cil_tmp36 = (unsigned long )rp;
26484#line 1871
26485  __cil_tmp37 = __cil_tmp36 + 10;
26486#line 1871
26487  __cil_tmp38 = *((__be16 *)__cil_tmp37);
26488#line 1871
26489  tmp___8 = __fswab16(__cil_tmp38);
26490#line 1871
26491  __cil_tmp39 = (int )tmp___8;
26492#line 1871
26493  rxid = (u16 )__cil_tmp39;
26494#line 1872
26495  __cil_tmp40 = (unsigned long )rp;
26496#line 1872
26497  __cil_tmp41 = __cil_tmp40 + 8;
26498#line 1872
26499  __cil_tmp42 = *((__be16 *)__cil_tmp41);
26500#line 1872
26501  tmp___9 = __fswab16(__cil_tmp42);
26502#line 1872
26503  __cil_tmp43 = (int )tmp___9;
26504#line 1872
26505  oxid = (u16 )__cil_tmp43;
26506  }
26507  {
26508#line 1874
26509  __cil_tmp44 = *((struct Scsi_Host **)lport);
26510#line 1874
26511  __cil_tmp45 = (unsigned long )__cil_tmp44;
26512#line 1874
26513  __cil_tmp46 = __cil_tmp45 + 2024;
26514#line 1874
26515  __cil_tmp47 = *((void **)__cil_tmp46);
26516#line 1874
26517  __cil_tmp48 = (struct fc_host_attrs *)__cil_tmp47;
26518#line 1874
26519  __cil_tmp49 = (unsigned long )__cil_tmp48;
26520#line 1874
26521  __cil_tmp50 = __cil_tmp49 + 1000;
26522#line 1874
26523  __cil_tmp51 = *((u32 *)__cil_tmp50);
26524#line 1874
26525  if (sid == __cil_tmp51) {
26526#line 1874
26527    tmp___10 = (int )oxid;
26528  } else {
26529#line 1874
26530    tmp___10 = (int )rxid;
26531  }
26532  }
26533  {
26534#line 1874
26535  __cil_tmp52 = (u32 )tmp___10;
26536#line 1874
26537  ep = fc_exch_lookup(lport, __cil_tmp52);
26538#line 1876
26539  explan = (enum fc_els_rjt_explan )23;
26540  }
26541#line 1877
26542  if (! ep) {
26543#line 1878
26544    goto reject;
26545  } else {
26546
26547  }
26548  {
26549#line 1879
26550  __cil_tmp53 = (unsigned long )ep;
26551#line 1879
26552  __cil_tmp54 = __cil_tmp53 + 88;
26553#line 1879
26554  __cil_tmp55 = *((u32 *)__cil_tmp54);
26555#line 1879
26556  if (__cil_tmp55 != sid) {
26557#line 1880
26558    goto rel;
26559  } else {
26560    {
26561#line 1879
26562    __cil_tmp56 = (unsigned long )ep;
26563#line 1879
26564    __cil_tmp57 = __cil_tmp56 + 82;
26565#line 1879
26566    __cil_tmp58 = *((u16 *)__cil_tmp57);
26567#line 1879
26568    __cil_tmp59 = (int )__cil_tmp58;
26569#line 1879
26570    __cil_tmp60 = (int )oxid;
26571#line 1879
26572    if (__cil_tmp60 != __cil_tmp59) {
26573#line 1880
26574      goto rel;
26575    } else {
26576
26577    }
26578    }
26579  }
26580  }
26581  {
26582#line 1881
26583  __cil_tmp61 = (int )rxid;
26584#line 1881
26585  if (__cil_tmp61 != 65535) {
26586    {
26587#line 1881
26588    __cil_tmp62 = (unsigned long )ep;
26589#line 1881
26590    __cil_tmp63 = __cil_tmp62 + 84;
26591#line 1881
26592    __cil_tmp64 = *((u16 *)__cil_tmp63);
26593#line 1881
26594    __cil_tmp65 = (int )__cil_tmp64;
26595#line 1881
26596    __cil_tmp66 = (int )rxid;
26597#line 1881
26598    if (__cil_tmp66 != __cil_tmp65) {
26599#line 1882
26600      goto rel;
26601    } else {
26602
26603    }
26604    }
26605  } else {
26606
26607  }
26608  }
26609  {
26610#line 1883
26611  fp = fc_frame_alloc(lport, 24UL);
26612  }
26613#line 1884
26614  if (! fp) {
26615#line 1885
26616    goto out;
26617  } else {
26618
26619  }
26620  {
26621#line 1887
26622  __cil_tmp67 = (struct fc_frame    *)fp;
26623#line 1887
26624  tmp___11 = fc_frame_payload_get(__cil_tmp67, 24UL);
26625#line 1887
26626  acc = (struct fc_els_rec_acc *)tmp___11;
26627#line 1888
26628  __cil_tmp68 = (void *)acc;
26629#line 1888
26630  memset(__cil_tmp68, 0, 24UL);
26631#line 1889
26632  *((__u8 *)acc) = (__u8 )2;
26633#line 1890
26634  __cil_tmp69 = (unsigned long )acc;
26635#line 1890
26636  __cil_tmp70 = __cil_tmp69 + 4;
26637#line 1890
26638  __cil_tmp71 = (unsigned long )rp;
26639#line 1890
26640  __cil_tmp72 = __cil_tmp71 + 8;
26641#line 1890
26642  *((__be16 *)__cil_tmp70) = *((__be16 *)__cil_tmp72);
26643#line 1891
26644  __len = (size_t )3;
26645  }
26646#line 1891
26647  if (__len >= 64UL) {
26648    {
26649#line 1891
26650    __cil_tmp73 = 0 * 1UL;
26651#line 1891
26652    __cil_tmp74 = 9 + __cil_tmp73;
26653#line 1891
26654    __cil_tmp75 = (unsigned long )acc;
26655#line 1891
26656    __cil_tmp76 = __cil_tmp75 + __cil_tmp74;
26657#line 1891
26658    __cil_tmp77 = (__u8 *)__cil_tmp76;
26659#line 1891
26660    __cil_tmp78 = (void *)__cil_tmp77;
26661#line 1891
26662    __cil_tmp79 = 0 * 1UL;
26663#line 1891
26664    __cil_tmp80 = 5 + __cil_tmp79;
26665#line 1891
26666    __cil_tmp81 = (unsigned long )rp;
26667#line 1891
26668    __cil_tmp82 = __cil_tmp81 + __cil_tmp80;
26669#line 1891
26670    __cil_tmp83 = (__u8 *)__cil_tmp82;
26671#line 1891
26672    __cil_tmp84 = (void    *)__cil_tmp83;
26673#line 1891
26674    __ret = __memcpy(__cil_tmp78, __cil_tmp84, __len);
26675    }
26676  } else {
26677    {
26678#line 1891
26679    __cil_tmp85 = 0 * 1UL;
26680#line 1891
26681    __cil_tmp86 = 9 + __cil_tmp85;
26682#line 1891
26683    __cil_tmp87 = (unsigned long )acc;
26684#line 1891
26685    __cil_tmp88 = __cil_tmp87 + __cil_tmp86;
26686#line 1891
26687    __cil_tmp89 = (__u8 *)__cil_tmp88;
26688#line 1891
26689    __cil_tmp90 = (void *)__cil_tmp89;
26690#line 1891
26691    __cil_tmp91 = 0 * 1UL;
26692#line 1891
26693    __cil_tmp92 = 5 + __cil_tmp91;
26694#line 1891
26695    __cil_tmp93 = (unsigned long )rp;
26696#line 1891
26697    __cil_tmp94 = __cil_tmp93 + __cil_tmp92;
26698#line 1891
26699    __cil_tmp95 = (__u8 *)__cil_tmp94;
26700#line 1891
26701    __cil_tmp96 = (void    *)__cil_tmp95;
26702#line 1891
26703    __ret = __builtin_memcpy(__cil_tmp90, __cil_tmp96, __len);
26704    }
26705  }
26706  {
26707#line 1892
26708  __cil_tmp97 = (unsigned long )ep;
26709#line 1892
26710  __cil_tmp98 = __cil_tmp97 + 84;
26711#line 1892
26712  __cil_tmp99 = *((u16 *)__cil_tmp98);
26713#line 1892
26714  tmp___12 = __fswab16(__cil_tmp99);
26715#line 1892
26716  __cil_tmp100 = (unsigned long )acc;
26717#line 1892
26718  __cil_tmp101 = __cil_tmp100 + 6;
26719#line 1892
26720  __cil_tmp102 = (int )tmp___12;
26721#line 1892
26722  *((__be16 *)__cil_tmp101) = (__be16 )__cil_tmp102;
26723  }
26724  {
26725#line 1893
26726  __cil_tmp103 = (unsigned long )ep;
26727#line 1893
26728  __cil_tmp104 = __cil_tmp103 + 88;
26729#line 1893
26730  __cil_tmp105 = *((u32 *)__cil_tmp104);
26731#line 1893
26732  __cil_tmp106 = (unsigned long )ep;
26733#line 1893
26734  __cil_tmp107 = __cil_tmp106 + 92;
26735#line 1893
26736  __cil_tmp108 = *((u32 *)__cil_tmp107);
26737#line 1893
26738  if (__cil_tmp108 == __cil_tmp105) {
26739    {
26740#line 1894
26741    __cil_tmp109 = 0 * 1UL;
26742#line 1894
26743    __cil_tmp110 = 13 + __cil_tmp109;
26744#line 1894
26745    __cil_tmp111 = (unsigned long )acc;
26746#line 1894
26747    __cil_tmp112 = __cil_tmp111 + __cil_tmp110;
26748#line 1894
26749    __cil_tmp113 = (__u8 *)__cil_tmp112;
26750#line 1894
26751    __cil_tmp114 = (unsigned long )ep;
26752#line 1894
26753    __cil_tmp115 = __cil_tmp114 + 96;
26754#line 1894
26755    __cil_tmp116 = *((u32 *)__cil_tmp115);
26756#line 1894
26757    hton24(__cil_tmp113, __cil_tmp116);
26758    }
26759  } else {
26760    {
26761#line 1896
26762    __cil_tmp117 = 0 * 1UL;
26763#line 1896
26764    __cil_tmp118 = 13 + __cil_tmp117;
26765#line 1896
26766    __cil_tmp119 = (unsigned long )acc;
26767#line 1896
26768    __cil_tmp120 = __cil_tmp119 + __cil_tmp118;
26769#line 1896
26770    __cil_tmp121 = (__u8 *)__cil_tmp120;
26771#line 1896
26772    __cil_tmp122 = (unsigned long )ep;
26773#line 1896
26774    __cil_tmp123 = __cil_tmp122 + 92;
26775#line 1896
26776    __cil_tmp124 = *((u32 *)__cil_tmp123);
26777#line 1896
26778    hton24(__cil_tmp121, __cil_tmp124);
26779    }
26780  }
26781  }
26782  {
26783#line 1897
26784  __cil_tmp125 = 108 + 8;
26785#line 1897
26786  __cil_tmp126 = (unsigned long )ep;
26787#line 1897
26788  __cil_tmp127 = __cil_tmp126 + __cil_tmp125;
26789#line 1897
26790  __cil_tmp128 = *((u32 *)__cil_tmp127);
26791#line 1897
26792  tmp___13 = __fswab32(__cil_tmp128);
26793#line 1897
26794  __cil_tmp129 = (unsigned long )acc;
26795#line 1897
26796  __cil_tmp130 = __cil_tmp129 + 16;
26797#line 1897
26798  *((__be32 *)__cil_tmp130) = tmp___13;
26799#line 1898
26800  __cil_tmp131 = 1 << 29;
26801#line 1898
26802  __cil_tmp132 = 1 << 30;
26803#line 1898
26804  __cil_tmp133 = 1 << 31;
26805#line 1898
26806  __cil_tmp134 = __cil_tmp133 | __cil_tmp132;
26807#line 1898
26808  __cil_tmp135 = __cil_tmp134 | __cil_tmp131;
26809#line 1898
26810  __cil_tmp136 = (unsigned int )__cil_tmp135;
26811#line 1898
26812  __cil_tmp137 = (unsigned long )ep;
26813#line 1898
26814  __cil_tmp138 = __cil_tmp137 + 72;
26815#line 1898
26816  __cil_tmp139 = *((u32 *)__cil_tmp138);
26817#line 1898
26818  __cil_tmp140 = __cil_tmp139 & __cil_tmp136;
26819#line 1898
26820  tmp___14 = __fswab32(__cil_tmp140);
26821#line 1898
26822  __cil_tmp141 = (unsigned long )acc;
26823#line 1898
26824  __cil_tmp142 = __cil_tmp141 + 20;
26825#line 1898
26826  *((__be32 *)__cil_tmp142) = tmp___14;
26827#line 1901
26828  __cil_tmp143 = (struct fc_frame    *)rfp;
26829#line 1901
26830  __cil_tmp144 = (enum fc_rctl )35;
26831#line 1901
26832  __cil_tmp145 = (u32 )0;
26833#line 1901
26834  fc_fill_reply_hdr(fp, __cil_tmp143, __cil_tmp144, __cil_tmp145);
26835#line 1902
26836  __cil_tmp146 = (unsigned long )lport;
26837#line 1902
26838  __cil_tmp147 = __cil_tmp146 + 328;
26839#line 1902
26840  __cil_tmp148 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp147);
26841#line 1902
26842  (*__cil_tmp148)(lport, fp);
26843  }
26844  out: 
26845  {
26846#line 1904
26847  fc_exch_release(ep);
26848  }
26849#line 1905
26850  return;
26851  rel: 
26852  {
26853#line 1908
26854  fc_exch_release(ep);
26855  }
26856  reject: 
26857  {
26858#line 1910
26859  fc_seq_ls_rjt(rfp, reason, explan);
26860  }
26861#line 1911
26862  return;
26863}
26864}
26865#line 1921 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
26866static void fc_exch_rrq_resp(struct fc_seq *sp , struct fc_frame *fp , void *arg ) 
26867{ struct fc_exch *aborted_ep ;
26868  unsigned int op ;
26869  int err ;
26870  long tmp___7 ;
26871  long tmp___8 ;
26872  long tmp___9 ;
26873  u8 tmp___10 ;
26874  long tmp___11 ;
26875  long tmp___12 ;
26876  void    *__cil_tmp13 ;
26877  void    *__cil_tmp14 ;
26878  unsigned int *__cil_tmp15 ;
26879  unsigned int __cil_tmp16 ;
26880  unsigned int __cil_tmp17 ;
26881  int __cil_tmp18 ;
26882  int __cil_tmp19 ;
26883  long __cil_tmp20 ;
26884  unsigned long __cil_tmp21 ;
26885  unsigned long __cil_tmp22 ;
26886  struct fc_lport *__cil_tmp23 ;
26887  struct Scsi_Host *__cil_tmp24 ;
26888  unsigned long __cil_tmp25 ;
26889  unsigned long __cil_tmp26 ;
26890  unsigned int __cil_tmp27 ;
26891  unsigned long __cil_tmp28 ;
26892  unsigned long __cil_tmp29 ;
26893  u16 __cil_tmp30 ;
26894  int __cil_tmp31 ;
26895  struct fc_frame    *__cil_tmp32 ;
26896  unsigned int *__cil_tmp33 ;
26897  unsigned int __cil_tmp34 ;
26898  unsigned int __cil_tmp35 ;
26899  int __cil_tmp36 ;
26900  int __cil_tmp37 ;
26901  long __cil_tmp38 ;
26902  unsigned long __cil_tmp39 ;
26903  unsigned long __cil_tmp40 ;
26904  struct fc_lport *__cil_tmp41 ;
26905  struct Scsi_Host *__cil_tmp42 ;
26906  unsigned long __cil_tmp43 ;
26907  unsigned long __cil_tmp44 ;
26908  unsigned int __cil_tmp45 ;
26909  unsigned long __cil_tmp46 ;
26910  unsigned long __cil_tmp47 ;
26911  u16 __cil_tmp48 ;
26912  int __cil_tmp49 ;
26913  unsigned int *__cil_tmp50 ;
26914  unsigned int __cil_tmp51 ;
26915  unsigned int __cil_tmp52 ;
26916  int __cil_tmp53 ;
26917  int __cil_tmp54 ;
26918  long __cil_tmp55 ;
26919  unsigned long __cil_tmp56 ;
26920  unsigned long __cil_tmp57 ;
26921  struct fc_lport *__cil_tmp58 ;
26922  struct Scsi_Host *__cil_tmp59 ;
26923  unsigned long __cil_tmp60 ;
26924  unsigned long __cil_tmp61 ;
26925  unsigned int __cil_tmp62 ;
26926  unsigned long __cil_tmp63 ;
26927  unsigned long __cil_tmp64 ;
26928  u16 __cil_tmp65 ;
26929  int __cil_tmp66 ;
26930  unsigned long __cil_tmp67 ;
26931  unsigned long __cil_tmp68 ;
26932  struct fc_seq *__cil_tmp69 ;
26933
26934  {
26935  {
26936#line 1923
26937  aborted_ep = (struct fc_exch *)arg;
26938#line 1926
26939  __cil_tmp13 = (void    *)fp;
26940#line 1926
26941  tmp___9 = (long )IS_ERR(__cil_tmp13);
26942  }
26943#line 1926
26944  if (tmp___9) {
26945    {
26946#line 1927
26947    __cil_tmp14 = (void    *)fp;
26948#line 1927
26949    tmp___7 = (long )PTR_ERR(__cil_tmp14);
26950#line 1927
26951    err = (int )tmp___7;
26952    }
26953#line 1929
26954    if (err == -2) {
26955#line 1930
26956      goto cleanup;
26957    } else
26958#line 1929
26959    if (err == -1) {
26960#line 1930
26961      goto cleanup;
26962    } else {
26963
26964    }
26965    {
26966#line 1931
26967    while (1) {
26968      while_continue: /* CIL Label */ ;
26969      {
26970#line 1931
26971      __cil_tmp15 = & fc_debug_logging;
26972#line 1931
26973      __cil_tmp16 = *__cil_tmp15;
26974#line 1931
26975      __cil_tmp17 = __cil_tmp16 & 64U;
26976#line 1931
26977      __cil_tmp18 = ! __cil_tmp17;
26978#line 1931
26979      __cil_tmp19 = ! __cil_tmp18;
26980#line 1931
26981      __cil_tmp20 = (long )__cil_tmp19;
26982#line 1931
26983      tmp___8 = __builtin_expect(__cil_tmp20, 0L);
26984      }
26985#line 1931
26986      if (tmp___8) {
26987        {
26988#line 1931
26989        while (1) {
26990          while_continue___0: /* CIL Label */ ;
26991          {
26992#line 1931
26993          __cil_tmp21 = (unsigned long )aborted_ep;
26994#line 1931
26995          __cil_tmp22 = __cil_tmp21 + 64;
26996#line 1931
26997          __cil_tmp23 = *((struct fc_lport **)__cil_tmp22);
26998#line 1931
26999          __cil_tmp24 = *((struct Scsi_Host **)__cil_tmp23);
27000#line 1931
27001          __cil_tmp25 = (unsigned long )__cil_tmp24;
27002#line 1931
27003          __cil_tmp26 = __cil_tmp25 + 308;
27004#line 1931
27005          __cil_tmp27 = *((unsigned int *)__cil_tmp26);
27006#line 1931
27007          __cil_tmp28 = (unsigned long )aborted_ep;
27008#line 1931
27009          __cil_tmp29 = __cil_tmp28 + 80;
27010#line 1931
27011          __cil_tmp30 = *((u16 *)__cil_tmp29);
27012#line 1931
27013          __cil_tmp31 = (int )__cil_tmp30;
27014#line 1931
27015          printk("<6>host%u: xid %4x: Cannot process RRQ, frame error %d\n", __cil_tmp27,
27016                 __cil_tmp31, err);
27017          }
27018#line 1931
27019          goto while_break___0;
27020        }
27021        while_break___0: /* CIL Label */ ;
27022        }
27023      } else {
27024
27025      }
27026#line 1931
27027      goto while_break;
27028    }
27029    while_break: /* CIL Label */ ;
27030    }
27031#line 1933
27032    return;
27033  } else {
27034
27035  }
27036  {
27037#line 1936
27038  __cil_tmp32 = (struct fc_frame    *)fp;
27039#line 1936
27040  tmp___10 = fc_frame_payload_op(__cil_tmp32);
27041#line 1936
27042  op = (unsigned int )tmp___10;
27043#line 1937
27044  fc_frame_free(fp);
27045  }
27046#line 1940
27047  if ((int )op == 1) {
27048#line 1940
27049    goto case_1;
27050  } else
27051#line 1943
27052  if ((int )op == 2) {
27053#line 1943
27054    goto case_2;
27055  } else {
27056    {
27057#line 1945
27058    goto switch_default;
27059#line 1939
27060    if (0) {
27061      case_1: /* CIL Label */ 
27062      {
27063#line 1941
27064      while (1) {
27065        while_continue___1: /* CIL Label */ ;
27066        {
27067#line 1941
27068        __cil_tmp33 = & fc_debug_logging;
27069#line 1941
27070        __cil_tmp34 = *__cil_tmp33;
27071#line 1941
27072        __cil_tmp35 = __cil_tmp34 & 64U;
27073#line 1941
27074        __cil_tmp36 = ! __cil_tmp35;
27075#line 1941
27076        __cil_tmp37 = ! __cil_tmp36;
27077#line 1941
27078        __cil_tmp38 = (long )__cil_tmp37;
27079#line 1941
27080        tmp___11 = __builtin_expect(__cil_tmp38, 0L);
27081        }
27082#line 1941
27083        if (tmp___11) {
27084          {
27085#line 1941
27086          while (1) {
27087            while_continue___2: /* CIL Label */ ;
27088            {
27089#line 1941
27090            __cil_tmp39 = (unsigned long )aborted_ep;
27091#line 1941
27092            __cil_tmp40 = __cil_tmp39 + 64;
27093#line 1941
27094            __cil_tmp41 = *((struct fc_lport **)__cil_tmp40);
27095#line 1941
27096            __cil_tmp42 = *((struct Scsi_Host **)__cil_tmp41);
27097#line 1941
27098            __cil_tmp43 = (unsigned long )__cil_tmp42;
27099#line 1941
27100            __cil_tmp44 = __cil_tmp43 + 308;
27101#line 1941
27102            __cil_tmp45 = *((unsigned int *)__cil_tmp44);
27103#line 1941
27104            __cil_tmp46 = (unsigned long )aborted_ep;
27105#line 1941
27106            __cil_tmp47 = __cil_tmp46 + 80;
27107#line 1941
27108            __cil_tmp48 = *((u16 *)__cil_tmp47);
27109#line 1941
27110            __cil_tmp49 = (int )__cil_tmp48;
27111#line 1941
27112            printk("<6>host%u: xid %4x: LS_RJT for RRQ", __cil_tmp45, __cil_tmp49);
27113            }
27114#line 1941
27115            goto while_break___2;
27116          }
27117          while_break___2: /* CIL Label */ ;
27118          }
27119        } else {
27120
27121        }
27122#line 1941
27123        goto while_break___1;
27124      }
27125      while_break___1: /* CIL Label */ ;
27126      }
27127      case_2: /* CIL Label */ 
27128#line 1944
27129      goto cleanup;
27130      switch_default: /* CIL Label */ 
27131      {
27132#line 1946
27133      while (1) {
27134        while_continue___3: /* CIL Label */ ;
27135        {
27136#line 1946
27137        __cil_tmp50 = & fc_debug_logging;
27138#line 1946
27139        __cil_tmp51 = *__cil_tmp50;
27140#line 1946
27141        __cil_tmp52 = __cil_tmp51 & 64U;
27142#line 1946
27143        __cil_tmp53 = ! __cil_tmp52;
27144#line 1946
27145        __cil_tmp54 = ! __cil_tmp53;
27146#line 1946
27147        __cil_tmp55 = (long )__cil_tmp54;
27148#line 1946
27149        tmp___12 = __builtin_expect(__cil_tmp55, 0L);
27150        }
27151#line 1946
27152        if (tmp___12) {
27153          {
27154#line 1946
27155          while (1) {
27156            while_continue___4: /* CIL Label */ ;
27157            {
27158#line 1946
27159            __cil_tmp56 = (unsigned long )aborted_ep;
27160#line 1946
27161            __cil_tmp57 = __cil_tmp56 + 64;
27162#line 1946
27163            __cil_tmp58 = *((struct fc_lport **)__cil_tmp57);
27164#line 1946
27165            __cil_tmp59 = *((struct Scsi_Host **)__cil_tmp58);
27166#line 1946
27167            __cil_tmp60 = (unsigned long )__cil_tmp59;
27168#line 1946
27169            __cil_tmp61 = __cil_tmp60 + 308;
27170#line 1946
27171            __cil_tmp62 = *((unsigned int *)__cil_tmp61);
27172#line 1946
27173            __cil_tmp63 = (unsigned long )aborted_ep;
27174#line 1946
27175            __cil_tmp64 = __cil_tmp63 + 80;
27176#line 1946
27177            __cil_tmp65 = *((u16 *)__cil_tmp64);
27178#line 1946
27179            __cil_tmp66 = (int )__cil_tmp65;
27180#line 1946
27181            printk("<6>host%u: xid %4x: unexpected response op %x for RRQ", __cil_tmp62,
27182                   __cil_tmp66, op);
27183            }
27184#line 1946
27185            goto while_break___4;
27186          }
27187          while_break___4: /* CIL Label */ ;
27188          }
27189        } else {
27190
27191        }
27192#line 1946
27193        goto while_break___3;
27194      }
27195      while_break___3: /* CIL Label */ ;
27196      }
27197#line 1948
27198      return;
27199    } else {
27200      switch_break: /* CIL Label */ ;
27201    }
27202    }
27203  }
27204  cleanup: 
27205  {
27206#line 1952
27207  __cil_tmp67 = (unsigned long )aborted_ep;
27208#line 1952
27209  __cil_tmp68 = __cil_tmp67 + 108;
27210#line 1952
27211  __cil_tmp69 = (struct fc_seq *)__cil_tmp68;
27212#line 1952
27213  fc_exch_done(__cil_tmp69);
27214#line 1954
27215  fc_exch_release(aborted_ep);
27216  }
27217#line 1955
27218  return;
27219}
27220}
27221#line 1977 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
27222static struct fc_seq *fc_exch_seq_send(struct fc_lport *lport , struct fc_frame *fp ,
27223                                       void (*resp)(struct fc_seq * , struct fc_frame *fp ,
27224                                                    void *arg ) , void (*destructor)(struct fc_seq * ,
27225                                                                                     void * ) ,
27226                                       void *arg , u32 timer_msec ) 
27227{ struct fc_exch *ep ;
27228  struct fc_seq *sp ;
27229  struct fc_frame_header *fh ;
27230  struct fc_fcp_pkt *fsp ;
27231  int rc ;
27232  u32 tmp___7 ;
27233  u32 tmp___8 ;
27234  int tmp___9 ;
27235  int tmp___10 ;
27236  long tmp___11 ;
27237  void *__cil_tmp17 ;
27238  void *__cil_tmp18 ;
27239  void *__cil_tmp19 ;
27240  unsigned long __cil_tmp20 ;
27241  unsigned long __cil_tmp21 ;
27242  int __cil_tmp22 ;
27243  unsigned int __cil_tmp23 ;
27244  unsigned long __cil_tmp24 ;
27245  unsigned long __cil_tmp25 ;
27246  u32 __cil_tmp26 ;
27247  struct fc_frame    *__cil_tmp27 ;
27248  unsigned long __cil_tmp28 ;
27249  unsigned long __cil_tmp29 ;
27250  unsigned long __cil_tmp30 ;
27251  unsigned long __cil_tmp31 ;
27252  __u8 *__cil_tmp32 ;
27253  u8    *__cil_tmp33 ;
27254  unsigned long __cil_tmp34 ;
27255  unsigned long __cil_tmp35 ;
27256  unsigned long __cil_tmp36 ;
27257  unsigned long __cil_tmp37 ;
27258  __u8 *__cil_tmp38 ;
27259  u8    *__cil_tmp39 ;
27260  unsigned long __cil_tmp40 ;
27261  unsigned long __cil_tmp41 ;
27262  unsigned long __cil_tmp42 ;
27263  unsigned long __cil_tmp43 ;
27264  unsigned long __cil_tmp44 ;
27265  unsigned long __cil_tmp45 ;
27266  unsigned long __cil_tmp46 ;
27267  unsigned long __cil_tmp47 ;
27268  unsigned long __cil_tmp48 ;
27269  unsigned long __cil_tmp49 ;
27270  unsigned long __cil_tmp50 ;
27271  unsigned long __cil_tmp51 ;
27272  unsigned long __cil_tmp52 ;
27273  unsigned long __cil_tmp53 ;
27274  unsigned long __cil_tmp54 ;
27275  unsigned long __cil_tmp55 ;
27276  unsigned long __cil_tmp56 ;
27277  unsigned long __cil_tmp57 ;
27278  unsigned long __cil_tmp58 ;
27279  unsigned long __cil_tmp59 ;
27280  unsigned long __cil_tmp60 ;
27281  unsigned long __cil_tmp61 ;
27282  __u8 *__cil_tmp62 ;
27283  u8    *__cil_tmp63 ;
27284  unsigned long __cil_tmp64 ;
27285  unsigned long __cil_tmp65 ;
27286  u32 __cil_tmp66 ;
27287  unsigned long __cil_tmp67 ;
27288  unsigned long __cil_tmp68 ;
27289  unsigned long __cil_tmp69 ;
27290  unsigned long __cil_tmp70 ;
27291  u16 __cil_tmp71 ;
27292  int __cil_tmp72 ;
27293  int __cil_tmp73 ;
27294  unsigned long __cil_tmp74 ;
27295  unsigned long __cil_tmp75 ;
27296  u16 __cil_tmp76 ;
27297  int __cil_tmp77 ;
27298  unsigned long __cil_tmp78 ;
27299  unsigned long __cil_tmp79 ;
27300  u16 __cil_tmp80 ;
27301  int __cil_tmp81 ;
27302  __u8 __cil_tmp82 ;
27303  int __cil_tmp83 ;
27304  unsigned long __cil_tmp84 ;
27305  unsigned long __cil_tmp85 ;
27306  unsigned long __cil_tmp86 ;
27307  unsigned long __cil_tmp87 ;
27308  unsigned long __cil_tmp88 ;
27309  char *__cil_tmp89 ;
27310  struct fcoe_rcv_info *__cil_tmp90 ;
27311  unsigned long __cil_tmp91 ;
27312  unsigned long __cil_tmp92 ;
27313  unsigned long __cil_tmp93 ;
27314  unsigned long __cil_tmp94 ;
27315  unsigned long __cil_tmp95 ;
27316  unsigned long __cil_tmp96 ;
27317  unsigned long __cil_tmp97 ;
27318  char *__cil_tmp98 ;
27319  struct fcoe_rcv_info *__cil_tmp99 ;
27320  unsigned long __cil_tmp100 ;
27321  unsigned long __cil_tmp101 ;
27322  struct fc_fcp_pkt *__cil_tmp102 ;
27323  unsigned long __cil_tmp103 ;
27324  unsigned long __cil_tmp104 ;
27325  u16 __cil_tmp105 ;
27326  unsigned long __cil_tmp106 ;
27327  unsigned long __cil_tmp107 ;
27328  int (*__cil_tmp108)(struct fc_lport * , struct fc_frame * ) ;
27329  long __cil_tmp109 ;
27330  unsigned long __cil_tmp110 ;
27331  unsigned long __cil_tmp111 ;
27332  int __cil_tmp112 ;
27333  int __cil_tmp113 ;
27334  unsigned int __cil_tmp114 ;
27335  unsigned long __cil_tmp115 ;
27336  unsigned long __cil_tmp116 ;
27337  u32 __cil_tmp117 ;
27338  int __cil_tmp118 ;
27339  unsigned int __cil_tmp119 ;
27340  unsigned long __cil_tmp120 ;
27341  unsigned long __cil_tmp121 ;
27342  u32 __cil_tmp122 ;
27343  unsigned long __cil_tmp123 ;
27344  unsigned long __cil_tmp124 ;
27345  int __cil_tmp125 ;
27346  int __cil_tmp126 ;
27347  unsigned int __cil_tmp127 ;
27348  unsigned long __cil_tmp128 ;
27349  unsigned long __cil_tmp129 ;
27350  u32 __cil_tmp130 ;
27351  spinlock_t *__cil_tmp131 ;
27352  spinlock_t *__cil_tmp132 ;
27353  void *__cil_tmp133 ;
27354
27355  {
27356  {
27357#line 1987
27358  __cil_tmp17 = (void *)0;
27359#line 1987
27360  sp = (struct fc_seq *)__cil_tmp17;
27361#line 1989
27362  __cil_tmp18 = (void *)0;
27363#line 1989
27364  fsp = (struct fc_fcp_pkt *)__cil_tmp18;
27365#line 1990
27366  rc = 1;
27367#line 1992
27368  ep = fc_exch_alloc(lport, fp);
27369  }
27370#line 1993
27371  if (! ep) {
27372    {
27373#line 1994
27374    fc_frame_free(fp);
27375    }
27376    {
27377#line 1995
27378    __cil_tmp19 = (void *)0;
27379#line 1995
27380    return ((struct fc_seq *)__cil_tmp19);
27381    }
27382  } else {
27383
27384  }
27385  {
27386#line 1997
27387  __cil_tmp20 = (unsigned long )ep;
27388#line 1997
27389  __cil_tmp21 = __cil_tmp20 + 72;
27390#line 1997
27391  __cil_tmp22 = 1 << 30;
27392#line 1997
27393  __cil_tmp23 = (unsigned int )__cil_tmp22;
27394#line 1997
27395  __cil_tmp24 = (unsigned long )ep;
27396#line 1997
27397  __cil_tmp25 = __cil_tmp24 + 72;
27398#line 1997
27399  __cil_tmp26 = *((u32 *)__cil_tmp25);
27400#line 1997
27401  *((u32 *)__cil_tmp21) = __cil_tmp26 | __cil_tmp23;
27402#line 1998
27403  __cil_tmp27 = (struct fc_frame    *)fp;
27404#line 1998
27405  fh = fc_frame_header_get(__cil_tmp27);
27406#line 1999
27407  __cil_tmp28 = 0 * 1UL;
27408#line 1999
27409  __cil_tmp29 = 1 + __cil_tmp28;
27410#line 1999
27411  __cil_tmp30 = (unsigned long )fh;
27412#line 1999
27413  __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
27414#line 1999
27415  __cil_tmp32 = (__u8 *)__cil_tmp31;
27416#line 1999
27417  __cil_tmp33 = (u8    *)__cil_tmp32;
27418#line 1999
27419  tmp___7 = ntoh24(__cil_tmp33);
27420#line 1999
27421  __cil_tmp34 = 0 * 1UL;
27422#line 1999
27423  __cil_tmp35 = 5 + __cil_tmp34;
27424#line 1999
27425  __cil_tmp36 = (unsigned long )fh;
27426#line 1999
27427  __cil_tmp37 = __cil_tmp36 + __cil_tmp35;
27428#line 1999
27429  __cil_tmp38 = (__u8 *)__cil_tmp37;
27430#line 1999
27431  __cil_tmp39 = (u8    *)__cil_tmp38;
27432#line 1999
27433  tmp___8 = ntoh24(__cil_tmp39);
27434#line 1999
27435  fc_exch_set_addr(ep, tmp___8, tmp___7);
27436#line 2000
27437  __cil_tmp40 = (unsigned long )ep;
27438#line 2000
27439  __cil_tmp41 = __cil_tmp40 + 120;
27440#line 2000
27441  *((void (**)(struct fc_seq * , struct fc_frame * , void * ))__cil_tmp41) = resp;
27442#line 2001
27443  __cil_tmp42 = (unsigned long )ep;
27444#line 2001
27445  __cil_tmp43 = __cil_tmp42 + 136;
27446#line 2001
27447  *((void (**)(struct fc_seq * , void * ))__cil_tmp43) = destructor;
27448#line 2002
27449  __cil_tmp44 = (unsigned long )ep;
27450#line 2002
27451  __cil_tmp45 = __cil_tmp44 + 128;
27452#line 2002
27453  *((void **)__cil_tmp45) = arg;
27454#line 2003
27455  __cil_tmp46 = (unsigned long )ep;
27456#line 2003
27457  __cil_tmp47 = __cil_tmp46 + 100;
27458#line 2003
27459  *((u32 *)__cil_tmp47) = (u32 )10000UL;
27460#line 2004
27461  __cil_tmp48 = (unsigned long )ep;
27462#line 2004
27463  __cil_tmp49 = __cil_tmp48 + 64;
27464#line 2004
27465  *((struct fc_lport **)__cil_tmp49) = lport;
27466#line 2005
27467  __cil_tmp50 = (unsigned long )ep;
27468#line 2005
27469  __cil_tmp51 = __cil_tmp50 + 108;
27470#line 2005
27471  sp = (struct fc_seq *)__cil_tmp51;
27472#line 2007
27473  __cil_tmp52 = (unsigned long )ep;
27474#line 2007
27475  __cil_tmp53 = __cil_tmp52 + 77;
27476#line 2007
27477  __cil_tmp54 = (unsigned long )fh;
27478#line 2007
27479  __cil_tmp55 = __cil_tmp54 + 8;
27480#line 2007
27481  *((u8 *)__cil_tmp53) = *((__u8 *)__cil_tmp55);
27482#line 2008
27483  __cil_tmp56 = (unsigned long )ep;
27484#line 2008
27485  __cil_tmp57 = __cil_tmp56 + 104;
27486#line 2008
27487  __cil_tmp58 = 0 * 1UL;
27488#line 2008
27489  __cil_tmp59 = 9 + __cil_tmp58;
27490#line 2008
27491  __cil_tmp60 = (unsigned long )fh;
27492#line 2008
27493  __cil_tmp61 = __cil_tmp60 + __cil_tmp59;
27494#line 2008
27495  __cil_tmp62 = (__u8 *)__cil_tmp61;
27496#line 2008
27497  __cil_tmp63 = (u8    *)__cil_tmp62;
27498#line 2008
27499  *((u32 *)__cil_tmp57) = ntoh24(__cil_tmp63);
27500#line 2009
27501  __cil_tmp64 = (unsigned long )ep;
27502#line 2009
27503  __cil_tmp65 = __cil_tmp64 + 104;
27504#line 2009
27505  __cil_tmp66 = *((u32 *)__cil_tmp65);
27506#line 2009
27507  fc_exch_setup_hdr(ep, fp, __cil_tmp66);
27508#line 2010
27509  __cil_tmp67 = (unsigned long )sp;
27510#line 2010
27511  __cil_tmp68 = __cil_tmp67 + 4;
27512#line 2010
27513  __cil_tmp69 = (unsigned long )sp;
27514#line 2010
27515  __cil_tmp70 = __cil_tmp69 + 4;
27516#line 2010
27517  __cil_tmp71 = *((u16 *)__cil_tmp70);
27518#line 2010
27519  __cil_tmp72 = (int )__cil_tmp71;
27520#line 2010
27521  __cil_tmp73 = __cil_tmp72 + 1;
27522#line 2010
27523  *((u16 *)__cil_tmp68) = (u16 )__cil_tmp73;
27524  }
27525  {
27526#line 2012
27527  __cil_tmp74 = (unsigned long )lport;
27528#line 2012
27529  __cil_tmp75 = __cil_tmp74 + 888;
27530#line 2012
27531  __cil_tmp76 = *((u16 *)__cil_tmp75);
27532#line 2012
27533  __cil_tmp77 = (int )__cil_tmp76;
27534#line 2012
27535  __cil_tmp78 = (unsigned long )ep;
27536#line 2012
27537  __cil_tmp79 = __cil_tmp78 + 80;
27538#line 2012
27539  __cil_tmp80 = *((u16 *)__cil_tmp79);
27540#line 2012
27541  __cil_tmp81 = (int )__cil_tmp80;
27542#line 2012
27543  if (__cil_tmp81 <= __cil_tmp77) {
27544    {
27545#line 2012
27546    __cil_tmp82 = *((__u8 *)fh);
27547#line 2012
27548    __cil_tmp83 = (int )__cil_tmp82;
27549#line 2012
27550    if (__cil_tmp83 == 6) {
27551      {
27552#line 2013
27553      __cil_tmp84 = 0 * 1UL;
27554#line 2013
27555      __cil_tmp85 = 40 + __cil_tmp84;
27556#line 2013
27557      __cil_tmp86 = 0 + __cil_tmp85;
27558#line 2013
27559      __cil_tmp87 = (unsigned long )fp;
27560#line 2013
27561      __cil_tmp88 = __cil_tmp87 + __cil_tmp86;
27562#line 2013
27563      __cil_tmp89 = (char *)__cil_tmp88;
27564#line 2013
27565      __cil_tmp90 = (struct fcoe_rcv_info *)__cil_tmp89;
27566#line 2013
27567      __cil_tmp91 = (unsigned long )__cil_tmp90;
27568#line 2013
27569      __cil_tmp92 = __cil_tmp91 + 16;
27570#line 2013
27571      fsp = *((struct fc_fcp_pkt **)__cil_tmp92);
27572#line 2014
27573      __cil_tmp93 = 0 * 1UL;
27574#line 2014
27575      __cil_tmp94 = 40 + __cil_tmp93;
27576#line 2014
27577      __cil_tmp95 = 0 + __cil_tmp94;
27578#line 2014
27579      __cil_tmp96 = (unsigned long )fp;
27580#line 2014
27581      __cil_tmp97 = __cil_tmp96 + __cil_tmp95;
27582#line 2014
27583      __cil_tmp98 = (char *)__cil_tmp97;
27584#line 2014
27585      __cil_tmp99 = (struct fcoe_rcv_info *)__cil_tmp98;
27586#line 2014
27587      __cil_tmp100 = (unsigned long )__cil_tmp99;
27588#line 2014
27589      __cil_tmp101 = __cil_tmp100 + 16;
27590#line 2014
27591      __cil_tmp102 = *((struct fc_fcp_pkt **)__cil_tmp101);
27592#line 2014
27593      __cil_tmp103 = (unsigned long )ep;
27594#line 2014
27595      __cil_tmp104 = __cil_tmp103 + 80;
27596#line 2014
27597      __cil_tmp105 = *((u16 *)__cil_tmp104);
27598#line 2014
27599      fc_fcp_ddp_setup(__cil_tmp102, __cil_tmp105);
27600      }
27601    } else {
27602
27603    }
27604    }
27605  } else {
27606
27607  }
27608  }
27609  {
27610#line 2017
27611  __cil_tmp106 = (unsigned long )lport;
27612#line 2017
27613  __cil_tmp107 = __cil_tmp106 + 328;
27614#line 2017
27615  __cil_tmp108 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp107);
27616#line 2017
27617  tmp___9 = (*__cil_tmp108)(lport, fp);
27618  }
27619#line 2017
27620  if (tmp___9) {
27621#line 2017
27622    tmp___10 = 1;
27623  } else {
27624#line 2017
27625    tmp___10 = 0;
27626  }
27627  {
27628#line 2017
27629  __cil_tmp109 = (long )tmp___10;
27630#line 2017
27631  tmp___11 = __builtin_expect(__cil_tmp109, 0L);
27632  }
27633#line 2017
27634  if (tmp___11) {
27635#line 2018
27636    goto err;
27637  } else {
27638
27639  }
27640#line 2020
27641  if (timer_msec) {
27642    {
27643#line 2021
27644    fc_exch_timer_set_locked(ep, timer_msec);
27645    }
27646  } else {
27647
27648  }
27649#line 2022
27650  __cil_tmp110 = (unsigned long )ep;
27651#line 2022
27652  __cil_tmp111 = __cil_tmp110 + 104;
27653#line 2022
27654  __cil_tmp112 = 1 << 21;
27655#line 2022
27656  __cil_tmp113 = ~ __cil_tmp112;
27657#line 2022
27658  __cil_tmp114 = (unsigned int )__cil_tmp113;
27659#line 2022
27660  __cil_tmp115 = (unsigned long )ep;
27661#line 2022
27662  __cil_tmp116 = __cil_tmp115 + 104;
27663#line 2022
27664  __cil_tmp117 = *((u32 *)__cil_tmp116);
27665#line 2022
27666  *((u32 *)__cil_tmp111) = __cil_tmp117 & __cil_tmp114;
27667  {
27668#line 2024
27669  __cil_tmp118 = 1 << 16;
27670#line 2024
27671  __cil_tmp119 = (unsigned int )__cil_tmp118;
27672#line 2024
27673  __cil_tmp120 = (unsigned long )ep;
27674#line 2024
27675  __cil_tmp121 = __cil_tmp120 + 104;
27676#line 2024
27677  __cil_tmp122 = *((u32 *)__cil_tmp121);
27678#line 2024
27679  if (__cil_tmp122 & __cil_tmp119) {
27680#line 2025
27681    __cil_tmp123 = (unsigned long )ep;
27682#line 2025
27683    __cil_tmp124 = __cil_tmp123 + 72;
27684#line 2025
27685    __cil_tmp125 = 1 << 30;
27686#line 2025
27687    __cil_tmp126 = ~ __cil_tmp125;
27688#line 2025
27689    __cil_tmp127 = (unsigned int )__cil_tmp126;
27690#line 2025
27691    __cil_tmp128 = (unsigned long )ep;
27692#line 2025
27693    __cil_tmp129 = __cil_tmp128 + 72;
27694#line 2025
27695    __cil_tmp130 = *((u32 *)__cil_tmp129);
27696#line 2025
27697    *((u32 *)__cil_tmp124) = __cil_tmp130 & __cil_tmp127;
27698  } else {
27699
27700  }
27701  }
27702  {
27703#line 2026
27704  __cil_tmp131 = (spinlock_t *)ep;
27705#line 2026
27706  spin_unlock_bh(__cil_tmp131);
27707  }
27708#line 2027
27709  return (sp);
27710  err: 
27711#line 2029
27712  if (fsp) {
27713    {
27714#line 2030
27715    fc_fcp_ddp_done(fsp);
27716    }
27717  } else {
27718
27719  }
27720  {
27721#line 2031
27722  rc = fc_exch_done_locked(ep);
27723#line 2032
27724  __cil_tmp132 = (spinlock_t *)ep;
27725#line 2032
27726  spin_unlock_bh(__cil_tmp132);
27727  }
27728#line 2033
27729  if (! rc) {
27730    {
27731#line 2034
27732    fc_exch_delete(ep);
27733    }
27734  } else {
27735
27736  }
27737  {
27738#line 2035
27739  __cil_tmp133 = (void *)0;
27740#line 2035
27741  return ((struct fc_seq *)__cil_tmp133);
27742  }
27743}
27744}
27745#line 2045 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
27746static void fc_exch_rrq(struct fc_exch *ep ) 
27747{ struct fc_lport *lport ;
27748  struct fc_els_rrq *rrq ;
27749  struct fc_frame *fp ;
27750  u32 did ;
27751  void *tmp___7 ;
27752  __u16 tmp___8 ;
27753  __u16 tmp___9 ;
27754  struct fc_seq *tmp___10 ;
27755  unsigned long __cil_tmp10 ;
27756  unsigned long __cil_tmp11 ;
27757  struct fc_frame    *__cil_tmp12 ;
27758  void *__cil_tmp13 ;
27759  unsigned long __cil_tmp14 ;
27760  unsigned long __cil_tmp15 ;
27761  unsigned long __cil_tmp16 ;
27762  unsigned long __cil_tmp17 ;
27763  __u8 *__cil_tmp18 ;
27764  unsigned long __cil_tmp19 ;
27765  unsigned long __cil_tmp20 ;
27766  u32 __cil_tmp21 ;
27767  unsigned long __cil_tmp22 ;
27768  unsigned long __cil_tmp23 ;
27769  u16 __cil_tmp24 ;
27770  unsigned long __cil_tmp25 ;
27771  unsigned long __cil_tmp26 ;
27772  int __cil_tmp27 ;
27773  unsigned long __cil_tmp28 ;
27774  unsigned long __cil_tmp29 ;
27775  u16 __cil_tmp30 ;
27776  unsigned long __cil_tmp31 ;
27777  unsigned long __cil_tmp32 ;
27778  int __cil_tmp33 ;
27779  unsigned long __cil_tmp34 ;
27780  unsigned long __cil_tmp35 ;
27781  int __cil_tmp36 ;
27782  unsigned int __cil_tmp37 ;
27783  unsigned long __cil_tmp38 ;
27784  unsigned long __cil_tmp39 ;
27785  u32 __cil_tmp40 ;
27786  unsigned long __cil_tmp41 ;
27787  unsigned long __cil_tmp42 ;
27788  enum fc_rctl __cil_tmp43 ;
27789  unsigned long __cil_tmp44 ;
27790  unsigned long __cil_tmp45 ;
27791  u32 __cil_tmp46 ;
27792  enum fc_fh_type __cil_tmp47 ;
27793  int __cil_tmp48 ;
27794  int __cil_tmp49 ;
27795  int __cil_tmp50 ;
27796  int __cil_tmp51 ;
27797  int __cil_tmp52 ;
27798  u32 __cil_tmp53 ;
27799  u32 __cil_tmp54 ;
27800  void *__cil_tmp55 ;
27801  void (*__cil_tmp56)(struct fc_seq * , void * ) ;
27802  void *__cil_tmp57 ;
27803  unsigned long __cil_tmp58 ;
27804  unsigned long __cil_tmp59 ;
27805  unsigned int __cil_tmp60 ;
27806  spinlock_t *__cil_tmp61 ;
27807  int __cil_tmp62 ;
27808  int __cil_tmp63 ;
27809  unsigned long __cil_tmp64 ;
27810  unsigned long __cil_tmp65 ;
27811  u8 __cil_tmp66 ;
27812  int __cil_tmp67 ;
27813  spinlock_t *__cil_tmp68 ;
27814  unsigned long __cil_tmp69 ;
27815  unsigned long __cil_tmp70 ;
27816  int __cil_tmp71 ;
27817  unsigned int __cil_tmp72 ;
27818  unsigned long __cil_tmp73 ;
27819  unsigned long __cil_tmp74 ;
27820  u32 __cil_tmp75 ;
27821  unsigned long __cil_tmp76 ;
27822  unsigned long __cil_tmp77 ;
27823  u32 __cil_tmp78 ;
27824  spinlock_t *__cil_tmp79 ;
27825
27826  {
27827  {
27828#line 2052
27829  __cil_tmp10 = (unsigned long )ep;
27830#line 2052
27831  __cil_tmp11 = __cil_tmp10 + 64;
27832#line 2052
27833  lport = *((struct fc_lport **)__cil_tmp11);
27834#line 2054
27835  fp = fc_frame_alloc(lport, 12UL);
27836  }
27837#line 2055
27838  if (! fp) {
27839#line 2056
27840    goto retry;
27841  } else {
27842
27843  }
27844  {
27845#line 2058
27846  __cil_tmp12 = (struct fc_frame    *)fp;
27847#line 2058
27848  tmp___7 = fc_frame_payload_get(__cil_tmp12, 12UL);
27849#line 2058
27850  rrq = (struct fc_els_rrq *)tmp___7;
27851#line 2059
27852  __cil_tmp13 = (void *)rrq;
27853#line 2059
27854  memset(__cil_tmp13, 0, 12UL);
27855#line 2060
27856  *((__u8 *)rrq) = (__u8 )18;
27857#line 2061
27858  __cil_tmp14 = 0 * 1UL;
27859#line 2061
27860  __cil_tmp15 = 5 + __cil_tmp14;
27861#line 2061
27862  __cil_tmp16 = (unsigned long )rrq;
27863#line 2061
27864  __cil_tmp17 = __cil_tmp16 + __cil_tmp15;
27865#line 2061
27866  __cil_tmp18 = (__u8 *)__cil_tmp17;
27867#line 2061
27868  __cil_tmp19 = (unsigned long )ep;
27869#line 2061
27870  __cil_tmp20 = __cil_tmp19 + 92;
27871#line 2061
27872  __cil_tmp21 = *((u32 *)__cil_tmp20);
27873#line 2061
27874  hton24(__cil_tmp18, __cil_tmp21);
27875#line 2062
27876  __cil_tmp22 = (unsigned long )ep;
27877#line 2062
27878  __cil_tmp23 = __cil_tmp22 + 82;
27879#line 2062
27880  __cil_tmp24 = *((u16 *)__cil_tmp23);
27881#line 2062
27882  tmp___8 = __fswab16(__cil_tmp24);
27883#line 2062
27884  __cil_tmp25 = (unsigned long )rrq;
27885#line 2062
27886  __cil_tmp26 = __cil_tmp25 + 8;
27887#line 2062
27888  __cil_tmp27 = (int )tmp___8;
27889#line 2062
27890  *((__be16 *)__cil_tmp26) = (__be16 )__cil_tmp27;
27891#line 2063
27892  __cil_tmp28 = (unsigned long )ep;
27893#line 2063
27894  __cil_tmp29 = __cil_tmp28 + 84;
27895#line 2063
27896  __cil_tmp30 = *((u16 *)__cil_tmp29);
27897#line 2063
27898  tmp___9 = __fswab16(__cil_tmp30);
27899#line 2063
27900  __cil_tmp31 = (unsigned long )rrq;
27901#line 2063
27902  __cil_tmp32 = __cil_tmp31 + 10;
27903#line 2063
27904  __cil_tmp33 = (int )tmp___9;
27905#line 2063
27906  *((__be16 *)__cil_tmp32) = (__be16 )__cil_tmp33;
27907#line 2065
27908  __cil_tmp34 = (unsigned long )ep;
27909#line 2065
27910  __cil_tmp35 = __cil_tmp34 + 96;
27911#line 2065
27912  did = *((u32 *)__cil_tmp35);
27913  }
27914  {
27915#line 2066
27916  __cil_tmp36 = 1 << 31;
27917#line 2066
27918  __cil_tmp37 = (unsigned int )__cil_tmp36;
27919#line 2066
27920  __cil_tmp38 = (unsigned long )ep;
27921#line 2066
27922  __cil_tmp39 = __cil_tmp38 + 72;
27923#line 2066
27924  __cil_tmp40 = *((u32 *)__cil_tmp39);
27925#line 2066
27926  if (__cil_tmp40 & __cil_tmp37) {
27927#line 2067
27928    __cil_tmp41 = (unsigned long )ep;
27929#line 2067
27930    __cil_tmp42 = __cil_tmp41 + 92;
27931#line 2067
27932    did = *((u32 *)__cil_tmp42);
27933  } else {
27934
27935  }
27936  }
27937  {
27938#line 2069
27939  __cil_tmp43 = (enum fc_rctl )34;
27940#line 2069
27941  __cil_tmp44 = (unsigned long )lport;
27942#line 2069
27943  __cil_tmp45 = __cil_tmp44 + 788;
27944#line 2069
27945  __cil_tmp46 = *((u32 *)__cil_tmp45);
27946#line 2069
27947  __cil_tmp47 = (enum fc_fh_type )1;
27948#line 2069
27949  __cil_tmp48 = 1 << 16;
27950#line 2069
27951  __cil_tmp49 = 1 << 19;
27952#line 2069
27953  __cil_tmp50 = 1 << 21;
27954#line 2069
27955  __cil_tmp51 = __cil_tmp50 | __cil_tmp49;
27956#line 2069
27957  __cil_tmp52 = __cil_tmp51 | __cil_tmp48;
27958#line 2069
27959  __cil_tmp53 = (u32 )__cil_tmp52;
27960#line 2069
27961  __cil_tmp54 = (u32 )0;
27962#line 2069
27963  fc_fill_fc_hdr(fp, __cil_tmp43, did, __cil_tmp46, __cil_tmp47, __cil_tmp53, __cil_tmp54);
27964#line 2073
27965  __cil_tmp55 = (void *)0;
27966#line 2073
27967  __cil_tmp56 = (void (*)(struct fc_seq * , void * ))__cil_tmp55;
27968#line 2073
27969  __cil_tmp57 = (void *)ep;
27970#line 2073
27971  __cil_tmp58 = (unsigned long )lport;
27972#line 2073
27973  __cil_tmp59 = __cil_tmp58 + 812;
27974#line 2073
27975  __cil_tmp60 = *((unsigned int *)__cil_tmp59);
27976#line 2073
27977  tmp___10 = fc_exch_seq_send(lport, fp, & fc_exch_rrq_resp, __cil_tmp56, __cil_tmp57,
27978                              __cil_tmp60);
27979  }
27980#line 2073
27981  if (tmp___10) {
27982#line 2075
27983    return;
27984  } else {
27985
27986  }
27987  retry: 
27988  {
27989#line 2078
27990  __cil_tmp61 = (spinlock_t *)ep;
27991#line 2078
27992  spin_lock_bh(__cil_tmp61);
27993  }
27994  {
27995#line 2079
27996  __cil_tmp62 = 1 << 1;
27997#line 2079
27998  __cil_tmp63 = __cil_tmp62 | 1;
27999#line 2079
28000  __cil_tmp64 = (unsigned long )ep;
28001#line 2079
28002  __cil_tmp65 = __cil_tmp64 + 76;
28003#line 2079
28004  __cil_tmp66 = *((u8 *)__cil_tmp65);
28005#line 2079
28006  __cil_tmp67 = (int )__cil_tmp66;
28007#line 2079
28008  if (__cil_tmp67 & __cil_tmp63) {
28009    {
28010#line 2080
28011    __cil_tmp68 = (spinlock_t *)ep;
28012#line 2080
28013    spin_unlock_bh(__cil_tmp68);
28014#line 2082
28015    fc_exch_release(ep);
28016    }
28017#line 2083
28018    return;
28019  } else {
28020
28021  }
28022  }
28023  {
28024#line 2085
28025  __cil_tmp69 = (unsigned long )ep;
28026#line 2085
28027  __cil_tmp70 = __cil_tmp69 + 72;
28028#line 2085
28029  __cil_tmp71 = 1 << 26;
28030#line 2085
28031  __cil_tmp72 = (unsigned int )__cil_tmp71;
28032#line 2085
28033  __cil_tmp73 = (unsigned long )ep;
28034#line 2085
28035  __cil_tmp74 = __cil_tmp73 + 72;
28036#line 2085
28037  __cil_tmp75 = *((u32 *)__cil_tmp74);
28038#line 2085
28039  *((u32 *)__cil_tmp70) = __cil_tmp75 | __cil_tmp72;
28040#line 2086
28041  __cil_tmp76 = (unsigned long )ep;
28042#line 2086
28043  __cil_tmp77 = __cil_tmp76 + 100;
28044#line 2086
28045  __cil_tmp78 = *((u32 *)__cil_tmp77);
28046#line 2086
28047  fc_exch_timer_set_locked(ep, __cil_tmp78);
28048#line 2087
28049  __cil_tmp79 = (spinlock_t *)ep;
28050#line 2087
28051  spin_unlock_bh(__cil_tmp79);
28052  }
28053#line 2088
28054  return;
28055}
28056}
28057#line 2094 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28058static void fc_exch_els_rrq(struct fc_frame *fp ) 
28059{ struct fc_lport *lport ;
28060  struct fc_exch *ep ;
28061  struct fc_els_rrq *rp ;
28062  u32 sid ;
28063  u16 xid ;
28064  enum fc_els_rjt_explan explan ;
28065  void *tmp___7 ;
28066  __u16 tmp___8 ;
28067  __u16 tmp___9 ;
28068  __u16 tmp___10 ;
28069  __u16 tmp___11 ;
28070  bool tmp___12 ;
28071  void *__cil_tmp14 ;
28072  unsigned long __cil_tmp15 ;
28073  unsigned long __cil_tmp16 ;
28074  unsigned long __cil_tmp17 ;
28075  unsigned long __cil_tmp18 ;
28076  unsigned long __cil_tmp19 ;
28077  char *__cil_tmp20 ;
28078  struct fcoe_rcv_info *__cil_tmp21 ;
28079  struct fc_frame    *__cil_tmp22 ;
28080  unsigned long __cil_tmp23 ;
28081  unsigned long __cil_tmp24 ;
28082  unsigned long __cil_tmp25 ;
28083  unsigned long __cil_tmp26 ;
28084  __u8 *__cil_tmp27 ;
28085  u8    *__cil_tmp28 ;
28086  struct Scsi_Host *__cil_tmp29 ;
28087  unsigned long __cil_tmp30 ;
28088  unsigned long __cil_tmp31 ;
28089  void *__cil_tmp32 ;
28090  struct fc_host_attrs *__cil_tmp33 ;
28091  unsigned long __cil_tmp34 ;
28092  unsigned long __cil_tmp35 ;
28093  u32 __cil_tmp36 ;
28094  unsigned long __cil_tmp37 ;
28095  unsigned long __cil_tmp38 ;
28096  __be16 __cil_tmp39 ;
28097  int __cil_tmp40 ;
28098  unsigned long __cil_tmp41 ;
28099  unsigned long __cil_tmp42 ;
28100  __be16 __cil_tmp43 ;
28101  int __cil_tmp44 ;
28102  u32 __cil_tmp45 ;
28103  spinlock_t *__cil_tmp46 ;
28104  unsigned long __cil_tmp47 ;
28105  unsigned long __cil_tmp48 ;
28106  __be16 __cil_tmp49 ;
28107  int __cil_tmp50 ;
28108  unsigned long __cil_tmp51 ;
28109  unsigned long __cil_tmp52 ;
28110  u16 __cil_tmp53 ;
28111  int __cil_tmp54 ;
28112  unsigned long __cil_tmp55 ;
28113  unsigned long __cil_tmp56 ;
28114  __be16 __cil_tmp57 ;
28115  int __cil_tmp58 ;
28116  unsigned long __cil_tmp59 ;
28117  unsigned long __cil_tmp60 ;
28118  u16 __cil_tmp61 ;
28119  int __cil_tmp62 ;
28120  unsigned long __cil_tmp63 ;
28121  unsigned long __cil_tmp64 ;
28122  u16 __cil_tmp65 ;
28123  int __cil_tmp66 ;
28124  unsigned long __cil_tmp67 ;
28125  unsigned long __cil_tmp68 ;
28126  u32 __cil_tmp69 ;
28127  int __cil_tmp70 ;
28128  unsigned int __cil_tmp71 ;
28129  unsigned long __cil_tmp72 ;
28130  unsigned long __cil_tmp73 ;
28131  u32 __cil_tmp74 ;
28132  unsigned long __cil_tmp75 ;
28133  unsigned long __cil_tmp76 ;
28134  int __cil_tmp77 ;
28135  int __cil_tmp78 ;
28136  unsigned int __cil_tmp79 ;
28137  unsigned long __cil_tmp80 ;
28138  unsigned long __cil_tmp81 ;
28139  u32 __cil_tmp82 ;
28140  unsigned long __cil_tmp83 ;
28141  unsigned long __cil_tmp84 ;
28142  atomic_t *__cil_tmp85 ;
28143  int __cil_tmp86 ;
28144  unsigned int __cil_tmp87 ;
28145  unsigned long __cil_tmp88 ;
28146  unsigned long __cil_tmp89 ;
28147  u32 __cil_tmp90 ;
28148  unsigned long __cil_tmp91 ;
28149  unsigned long __cil_tmp92 ;
28150  struct delayed_work *__cil_tmp93 ;
28151  unsigned long __cil_tmp94 ;
28152  unsigned long __cil_tmp95 ;
28153  atomic_t *__cil_tmp96 ;
28154  spinlock_t *__cil_tmp97 ;
28155  spinlock_t *__cil_tmp98 ;
28156  enum fc_els_rjt_reason __cil_tmp99 ;
28157
28158  {
28159  {
28160#line 2097
28161  __cil_tmp14 = (void *)0;
28162#line 2097
28163  ep = (struct fc_exch *)__cil_tmp14;
28164#line 2103
28165  __cil_tmp15 = 0 * 1UL;
28166#line 2103
28167  __cil_tmp16 = 40 + __cil_tmp15;
28168#line 2103
28169  __cil_tmp17 = 0 + __cil_tmp16;
28170#line 2103
28171  __cil_tmp18 = (unsigned long )fp;
28172#line 2103
28173  __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
28174#line 2103
28175  __cil_tmp20 = (char *)__cil_tmp19;
28176#line 2103
28177  __cil_tmp21 = (struct fcoe_rcv_info *)__cil_tmp20;
28178#line 2103
28179  lport = *((struct fc_lport **)__cil_tmp21);
28180#line 2104
28181  __cil_tmp22 = (struct fc_frame    *)fp;
28182#line 2104
28183  tmp___7 = fc_frame_payload_get(__cil_tmp22, 12UL);
28184#line 2104
28185  rp = (struct fc_els_rrq *)tmp___7;
28186#line 2105
28187  explan = (enum fc_els_rjt_explan )45;
28188  }
28189#line 2106
28190  if (! rp) {
28191#line 2107
28192    goto reject;
28193  } else {
28194
28195  }
28196  {
28197#line 2112
28198  __cil_tmp23 = 0 * 1UL;
28199#line 2112
28200  __cil_tmp24 = 5 + __cil_tmp23;
28201#line 2112
28202  __cil_tmp25 = (unsigned long )rp;
28203#line 2112
28204  __cil_tmp26 = __cil_tmp25 + __cil_tmp24;
28205#line 2112
28206  __cil_tmp27 = (__u8 *)__cil_tmp26;
28207#line 2112
28208  __cil_tmp28 = (u8    *)__cil_tmp27;
28209#line 2112
28210  sid = ntoh24(__cil_tmp28);
28211  }
28212  {
28213#line 2113
28214  __cil_tmp29 = *((struct Scsi_Host **)lport);
28215#line 2113
28216  __cil_tmp30 = (unsigned long )__cil_tmp29;
28217#line 2113
28218  __cil_tmp31 = __cil_tmp30 + 2024;
28219#line 2113
28220  __cil_tmp32 = *((void **)__cil_tmp31);
28221#line 2113
28222  __cil_tmp33 = (struct fc_host_attrs *)__cil_tmp32;
28223#line 2113
28224  __cil_tmp34 = (unsigned long )__cil_tmp33;
28225#line 2113
28226  __cil_tmp35 = __cil_tmp34 + 1000;
28227#line 2113
28228  __cil_tmp36 = *((u32 *)__cil_tmp35);
28229#line 2113
28230  if (__cil_tmp36 == sid) {
28231    {
28232#line 2113
28233    __cil_tmp37 = (unsigned long )rp;
28234#line 2113
28235    __cil_tmp38 = __cil_tmp37 + 8;
28236#line 2113
28237    __cil_tmp39 = *((__be16 *)__cil_tmp38);
28238#line 2113
28239    tmp___8 = __fswab16(__cil_tmp39);
28240#line 2113
28241    __cil_tmp40 = (int )tmp___8;
28242#line 2113
28243    xid = (u16 )__cil_tmp40;
28244    }
28245  } else {
28246    {
28247#line 2113
28248    __cil_tmp41 = (unsigned long )rp;
28249#line 2113
28250    __cil_tmp42 = __cil_tmp41 + 10;
28251#line 2113
28252    __cil_tmp43 = *((__be16 *)__cil_tmp42);
28253#line 2113
28254    tmp___9 = __fswab16(__cil_tmp43);
28255#line 2113
28256    __cil_tmp44 = (int )tmp___9;
28257#line 2113
28258    xid = (u16 )__cil_tmp44;
28259    }
28260  }
28261  }
28262  {
28263#line 2115
28264  __cil_tmp45 = (u32 )xid;
28265#line 2115
28266  ep = fc_exch_lookup(lport, __cil_tmp45);
28267#line 2116
28268  explan = (enum fc_els_rjt_explan )23;
28269  }
28270#line 2117
28271  if (! ep) {
28272#line 2118
28273    goto reject;
28274  } else {
28275
28276  }
28277  {
28278#line 2119
28279  __cil_tmp46 = (spinlock_t *)ep;
28280#line 2119
28281  spin_lock_bh(__cil_tmp46);
28282#line 2120
28283  __cil_tmp47 = (unsigned long )rp;
28284#line 2120
28285  __cil_tmp48 = __cil_tmp47 + 8;
28286#line 2120
28287  __cil_tmp49 = *((__be16 *)__cil_tmp48);
28288#line 2120
28289  tmp___10 = __fswab16(__cil_tmp49);
28290  }
28291  {
28292#line 2120
28293  __cil_tmp50 = (int )tmp___10;
28294#line 2120
28295  __cil_tmp51 = (unsigned long )ep;
28296#line 2120
28297  __cil_tmp52 = __cil_tmp51 + 82;
28298#line 2120
28299  __cil_tmp53 = *((u16 *)__cil_tmp52);
28300#line 2120
28301  __cil_tmp54 = (int )__cil_tmp53;
28302#line 2120
28303  if (__cil_tmp54 != __cil_tmp50) {
28304#line 2121
28305    goto unlock_reject;
28306  } else {
28307
28308  }
28309  }
28310  {
28311#line 2122
28312  __cil_tmp55 = (unsigned long )rp;
28313#line 2122
28314  __cil_tmp56 = __cil_tmp55 + 10;
28315#line 2122
28316  __cil_tmp57 = *((__be16 *)__cil_tmp56);
28317#line 2122
28318  tmp___11 = __fswab16(__cil_tmp57);
28319  }
28320  {
28321#line 2122
28322  __cil_tmp58 = (int )tmp___11;
28323#line 2122
28324  __cil_tmp59 = (unsigned long )ep;
28325#line 2122
28326  __cil_tmp60 = __cil_tmp59 + 84;
28327#line 2122
28328  __cil_tmp61 = *((u16 *)__cil_tmp60);
28329#line 2122
28330  __cil_tmp62 = (int )__cil_tmp61;
28331#line 2122
28332  if (__cil_tmp62 != __cil_tmp58) {
28333    {
28334#line 2122
28335    __cil_tmp63 = (unsigned long )ep;
28336#line 2122
28337    __cil_tmp64 = __cil_tmp63 + 84;
28338#line 2122
28339    __cil_tmp65 = *((u16 *)__cil_tmp64);
28340#line 2122
28341    __cil_tmp66 = (int )__cil_tmp65;
28342#line 2122
28343    if (__cil_tmp66 != 65535) {
28344#line 2124
28345      goto unlock_reject;
28346    } else {
28347
28348    }
28349    }
28350  } else {
28351
28352  }
28353  }
28354#line 2125
28355  explan = (enum fc_els_rjt_explan )21;
28356  {
28357#line 2126
28358  __cil_tmp67 = (unsigned long )ep;
28359#line 2126
28360  __cil_tmp68 = __cil_tmp67 + 92;
28361#line 2126
28362  __cil_tmp69 = *((u32 *)__cil_tmp68);
28363#line 2126
28364  if (__cil_tmp69 != sid) {
28365#line 2127
28366    goto unlock_reject;
28367  } else {
28368
28369  }
28370  }
28371  {
28372#line 2132
28373  __cil_tmp70 = 1 << 26;
28374#line 2132
28375  __cil_tmp71 = (unsigned int )__cil_tmp70;
28376#line 2132
28377  __cil_tmp72 = (unsigned long )ep;
28378#line 2132
28379  __cil_tmp73 = __cil_tmp72 + 72;
28380#line 2132
28381  __cil_tmp74 = *((u32 *)__cil_tmp73);
28382#line 2132
28383  if (__cil_tmp74 & __cil_tmp71) {
28384    {
28385#line 2133
28386    __cil_tmp75 = (unsigned long )ep;
28387#line 2133
28388    __cil_tmp76 = __cil_tmp75 + 72;
28389#line 2133
28390    __cil_tmp77 = 1 << 26;
28391#line 2133
28392    __cil_tmp78 = ~ __cil_tmp77;
28393#line 2133
28394    __cil_tmp79 = (unsigned int )__cil_tmp78;
28395#line 2133
28396    __cil_tmp80 = (unsigned long )ep;
28397#line 2133
28398    __cil_tmp81 = __cil_tmp80 + 72;
28399#line 2133
28400    __cil_tmp82 = *((u32 *)__cil_tmp81);
28401#line 2133
28402    *((u32 *)__cil_tmp76) = __cil_tmp82 & __cil_tmp79;
28403#line 2134
28404    __cil_tmp83 = (unsigned long )ep;
28405#line 2134
28406    __cil_tmp84 = __cil_tmp83 + 24;
28407#line 2134
28408    __cil_tmp85 = (atomic_t *)__cil_tmp84;
28409#line 2134
28410    atomic_dec(__cil_tmp85);
28411    }
28412  } else {
28413
28414  }
28415  }
28416  {
28417#line 2136
28418  __cil_tmp86 = 1 << 29;
28419#line 2136
28420  __cil_tmp87 = (unsigned int )__cil_tmp86;
28421#line 2136
28422  __cil_tmp88 = (unsigned long )ep;
28423#line 2136
28424  __cil_tmp89 = __cil_tmp88 + 72;
28425#line 2136
28426  __cil_tmp90 = *((u32 *)__cil_tmp89);
28427#line 2136
28428  if (__cil_tmp90 & __cil_tmp87) {
28429    {
28430#line 2137
28431    __cil_tmp91 = (unsigned long )ep;
28432#line 2137
28433    __cil_tmp92 = __cil_tmp91 + 144;
28434#line 2137
28435    __cil_tmp93 = (struct delayed_work *)__cil_tmp92;
28436#line 2137
28437    tmp___12 = cancel_delayed_work(__cil_tmp93);
28438    }
28439#line 2137
28440    if (tmp___12) {
28441      {
28442#line 2138
28443      __cil_tmp94 = (unsigned long )ep;
28444#line 2138
28445      __cil_tmp95 = __cil_tmp94 + 24;
28446#line 2138
28447      __cil_tmp96 = (atomic_t *)__cil_tmp95;
28448#line 2138
28449      atomic_dec(__cil_tmp96);
28450      }
28451    } else {
28452
28453    }
28454  } else {
28455
28456  }
28457  }
28458  {
28459#line 2141
28460  __cil_tmp97 = (spinlock_t *)ep;
28461#line 2141
28462  spin_unlock_bh(__cil_tmp97);
28463#line 2146
28464  fc_seq_ls_acc(fp);
28465  }
28466#line 2147
28467  goto out;
28468  unlock_reject: 
28469  {
28470#line 2150
28471  __cil_tmp98 = (spinlock_t *)ep;
28472#line 2150
28473  spin_unlock_bh(__cil_tmp98);
28474  }
28475  reject: 
28476  {
28477#line 2152
28478  __cil_tmp99 = (enum fc_els_rjt_reason )3;
28479#line 2152
28480  fc_seq_ls_rjt(fp, __cil_tmp99, explan);
28481  }
28482  out: 
28483#line 2154
28484  if (ep) {
28485    {
28486#line 2155
28487    fc_exch_release(ep);
28488    }
28489  } else {
28490
28491  }
28492#line 2156
28493  return;
28494}
28495}
28496#line 2164 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28497struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *lport , struct fc_exch_mgr *mp ,
28498                                           bool (*match)(struct fc_frame * ) ) 
28499{ struct fc_exch_mgr_anchor *ema ;
28500  void *tmp___7 ;
28501  unsigned long __cil_tmp6 ;
28502  unsigned long __cil_tmp7 ;
28503  unsigned long __cil_tmp8 ;
28504  unsigned long __cil_tmp9 ;
28505  struct list_head *__cil_tmp10 ;
28506  unsigned long __cil_tmp11 ;
28507  unsigned long __cil_tmp12 ;
28508  struct list_head *__cil_tmp13 ;
28509  unsigned long __cil_tmp14 ;
28510  unsigned long __cil_tmp15 ;
28511  struct kref *__cil_tmp16 ;
28512
28513  {
28514  {
28515#line 2170
28516  tmp___7 = kmalloc(32UL, 32U);
28517#line 2170
28518  ema = (struct fc_exch_mgr_anchor *)tmp___7;
28519  }
28520#line 2171
28521  if (! ema) {
28522#line 2172
28523    return (ema);
28524  } else {
28525
28526  }
28527  {
28528#line 2174
28529  __cil_tmp6 = (unsigned long )ema;
28530#line 2174
28531  __cil_tmp7 = __cil_tmp6 + 16;
28532#line 2174
28533  *((struct fc_exch_mgr **)__cil_tmp7) = mp;
28534#line 2175
28535  __cil_tmp8 = (unsigned long )ema;
28536#line 2175
28537  __cil_tmp9 = __cil_tmp8 + 24;
28538#line 2175
28539  *((bool (**)(struct fc_frame * ))__cil_tmp9) = match;
28540#line 2177
28541  __cil_tmp10 = (struct list_head *)ema;
28542#line 2177
28543  __cil_tmp11 = (unsigned long )lport;
28544#line 2177
28545  __cil_tmp12 = __cil_tmp11 + 8;
28546#line 2177
28547  __cil_tmp13 = (struct list_head *)__cil_tmp12;
28548#line 2177
28549  list_add_tail(__cil_tmp10, __cil_tmp13);
28550#line 2178
28551  __cil_tmp14 = (unsigned long )mp;
28552#line 2178
28553  __cil_tmp15 = __cil_tmp14 + 20;
28554#line 2178
28555  __cil_tmp16 = (struct kref *)__cil_tmp15;
28556#line 2178
28557  kref_get(__cil_tmp16);
28558  }
28559#line 2179
28560  return (ema);
28561}
28562}
28563#line 2181
28564extern void *__crc_fc_exch_mgr_add  __attribute__((__weak__)) ;
28565#line 2181 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28566static unsigned long    __kcrctab_fc_exch_mgr_add  __attribute__((__used__, __unused__,
28567__section__("___kcrctab+fc_exch_mgr_add")))  =    (unsigned long    )((unsigned long )(& __crc_fc_exch_mgr_add));
28568#line 2181 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28569static char    __kstrtab_fc_exch_mgr_add[16]  __attribute__((__section__("__ksymtab_strings"),
28570__aligned__(1)))  = 
28571#line 2181
28572  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'e', 
28573        (char    )'x',      (char    )'c',      (char const   )'h',      (char const   )'_', 
28574        (char    )'m',      (char    )'g',      (char const   )'r',      (char const   )'_', 
28575        (char    )'a',      (char    )'d',      (char const   )'d',      (char const   )'\000'};
28576#line 2181 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28577static struct kernel_symbol    __ksymtab_fc_exch_mgr_add  __attribute__((__used__,
28578__unused__, __section__("___ksymtab+fc_exch_mgr_add")))  =    {(unsigned long )(& fc_exch_mgr_add), __kstrtab_fc_exch_mgr_add};
28579#line 2187 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28580static void fc_exch_mgr_destroy(struct kref *kref ) 
28581{ struct fc_exch_mgr *mp ;
28582  struct kref    *__mptr ;
28583  struct fc_exch_mgr *__cil_tmp4 ;
28584  unsigned long __cil_tmp5 ;
28585  unsigned long __cil_tmp6 ;
28586  struct kref *__cil_tmp7 ;
28587  unsigned int __cil_tmp8 ;
28588  char *__cil_tmp9 ;
28589  char *__cil_tmp10 ;
28590  unsigned long __cil_tmp11 ;
28591  unsigned long __cil_tmp12 ;
28592  mempool_t *__cil_tmp13 ;
28593  struct fc_exch_pool *__cil_tmp14 ;
28594  void *__cil_tmp15 ;
28595  void    *__cil_tmp16 ;
28596
28597  {
28598  {
28599#line 2189
28600  __mptr = (struct kref    *)kref;
28601#line 2189
28602  __cil_tmp4 = (struct fc_exch_mgr *)0;
28603#line 2189
28604  __cil_tmp5 = (unsigned long )__cil_tmp4;
28605#line 2189
28606  __cil_tmp6 = __cil_tmp5 + 20;
28607#line 2189
28608  __cil_tmp7 = (struct kref *)__cil_tmp6;
28609#line 2189
28610  __cil_tmp8 = (unsigned int )__cil_tmp7;
28611#line 2189
28612  __cil_tmp9 = (char *)__mptr;
28613#line 2189
28614  __cil_tmp10 = __cil_tmp9 - __cil_tmp8;
28615#line 2189
28616  mp = (struct fc_exch_mgr *)__cil_tmp10;
28617#line 2191
28618  __cil_tmp11 = (unsigned long )mp;
28619#line 2191
28620  __cil_tmp12 = __cil_tmp11 + 8;
28621#line 2191
28622  __cil_tmp13 = *((mempool_t **)__cil_tmp12);
28623#line 2191
28624  mempool_destroy(__cil_tmp13);
28625#line 2192
28626  __cil_tmp14 = *((struct fc_exch_pool **)mp);
28627#line 2192
28628  __cil_tmp15 = (void *)__cil_tmp14;
28629#line 2192
28630  free_percpu(__cil_tmp15);
28631#line 2193
28632  __cil_tmp16 = (void    *)mp;
28633#line 2193
28634  kfree(__cil_tmp16);
28635  }
28636#line 2194
28637  return;
28638}
28639}
28640#line 2200 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28641void fc_exch_mgr_del(struct fc_exch_mgr_anchor *ema ) 
28642{ struct list_head *__cil_tmp2 ;
28643  unsigned long __cil_tmp3 ;
28644  unsigned long __cil_tmp4 ;
28645  struct fc_exch_mgr *__cil_tmp5 ;
28646  unsigned long __cil_tmp6 ;
28647  unsigned long __cil_tmp7 ;
28648  struct kref *__cil_tmp8 ;
28649  void    *__cil_tmp9 ;
28650
28651  {
28652  {
28653#line 2203
28654  __cil_tmp2 = (struct list_head *)ema;
28655#line 2203
28656  list_del(__cil_tmp2);
28657#line 2204
28658  __cil_tmp3 = (unsigned long )ema;
28659#line 2204
28660  __cil_tmp4 = __cil_tmp3 + 16;
28661#line 2204
28662  __cil_tmp5 = *((struct fc_exch_mgr **)__cil_tmp4);
28663#line 2204
28664  __cil_tmp6 = (unsigned long )__cil_tmp5;
28665#line 2204
28666  __cil_tmp7 = __cil_tmp6 + 20;
28667#line 2204
28668  __cil_tmp8 = (struct kref *)__cil_tmp7;
28669#line 2204
28670  kref_put(__cil_tmp8, & fc_exch_mgr_destroy);
28671#line 2205
28672  __cil_tmp9 = (void    *)ema;
28673#line 2205
28674  kfree(__cil_tmp9);
28675  }
28676#line 2206
28677  return;
28678}
28679}
28680#line 2207
28681extern void *__crc_fc_exch_mgr_del  __attribute__((__weak__)) ;
28682#line 2207 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28683static unsigned long    __kcrctab_fc_exch_mgr_del  __attribute__((__used__, __unused__,
28684__section__("___kcrctab+fc_exch_mgr_del")))  =    (unsigned long    )((unsigned long )(& __crc_fc_exch_mgr_del));
28685#line 2207 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28686static char    __kstrtab_fc_exch_mgr_del[16]  __attribute__((__section__("__ksymtab_strings"),
28687__aligned__(1)))  = 
28688#line 2207
28689  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'e', 
28690        (char    )'x',      (char    )'c',      (char const   )'h',      (char const   )'_', 
28691        (char    )'m',      (char    )'g',      (char const   )'r',      (char const   )'_', 
28692        (char    )'d',      (char    )'e',      (char const   )'l',      (char const   )'\000'};
28693#line 2207 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28694static struct kernel_symbol    __ksymtab_fc_exch_mgr_del  __attribute__((__used__,
28695__unused__, __section__("___ksymtab+fc_exch_mgr_del")))  =    {(unsigned long )(& fc_exch_mgr_del), __kstrtab_fc_exch_mgr_del};
28696#line 2214 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28697int fc_exch_mgr_list_clone(struct fc_lport *src , struct fc_lport *dst ) 
28698{ struct fc_exch_mgr_anchor *ema ;
28699  struct fc_exch_mgr_anchor *tmp___7 ;
28700  struct list_head    *__mptr ;
28701  struct list_head    *__mptr___0 ;
28702  struct fc_exch_mgr_anchor *tmp___8 ;
28703  struct list_head    *__mptr___1 ;
28704  struct list_head    *__mptr___2 ;
28705  struct list_head    *__mptr___3 ;
28706  unsigned long __cil_tmp11 ;
28707  unsigned long __cil_tmp12 ;
28708  struct list_head *__cil_tmp13 ;
28709  struct fc_exch_mgr_anchor *__cil_tmp14 ;
28710  struct list_head *__cil_tmp15 ;
28711  unsigned int __cil_tmp16 ;
28712  char *__cil_tmp17 ;
28713  char *__cil_tmp18 ;
28714  unsigned long __cil_tmp19 ;
28715  unsigned long __cil_tmp20 ;
28716  struct list_head *__cil_tmp21 ;
28717  unsigned long __cil_tmp22 ;
28718  struct list_head *__cil_tmp23 ;
28719  unsigned long __cil_tmp24 ;
28720  unsigned long __cil_tmp25 ;
28721  unsigned long __cil_tmp26 ;
28722  struct fc_exch_mgr *__cil_tmp27 ;
28723  unsigned long __cil_tmp28 ;
28724  unsigned long __cil_tmp29 ;
28725  bool (*__cil_tmp30)(struct fc_frame * ) ;
28726  struct list_head *__cil_tmp31 ;
28727  struct fc_exch_mgr_anchor *__cil_tmp32 ;
28728  struct list_head *__cil_tmp33 ;
28729  unsigned int __cil_tmp34 ;
28730  char *__cil_tmp35 ;
28731  char *__cil_tmp36 ;
28732  unsigned long __cil_tmp37 ;
28733  unsigned long __cil_tmp38 ;
28734  struct list_head *__cil_tmp39 ;
28735  struct fc_exch_mgr_anchor *__cil_tmp40 ;
28736  struct list_head *__cil_tmp41 ;
28737  unsigned int __cil_tmp42 ;
28738  char *__cil_tmp43 ;
28739  char *__cil_tmp44 ;
28740  struct list_head *__cil_tmp45 ;
28741  struct fc_exch_mgr_anchor *__cil_tmp46 ;
28742  struct list_head *__cil_tmp47 ;
28743  unsigned int __cil_tmp48 ;
28744  char *__cil_tmp49 ;
28745  char *__cil_tmp50 ;
28746  unsigned long __cil_tmp51 ;
28747  unsigned long __cil_tmp52 ;
28748  struct list_head *__cil_tmp53 ;
28749  unsigned long __cil_tmp54 ;
28750  struct list_head *__cil_tmp55 ;
28751  unsigned long __cil_tmp56 ;
28752  struct list_head *__cil_tmp57 ;
28753  struct fc_exch_mgr_anchor *__cil_tmp58 ;
28754  struct list_head *__cil_tmp59 ;
28755  unsigned int __cil_tmp60 ;
28756  char *__cil_tmp61 ;
28757  char *__cil_tmp62 ;
28758
28759  {
28760#line 2218
28761  __cil_tmp11 = (unsigned long )src;
28762#line 2218
28763  __cil_tmp12 = __cil_tmp11 + 8;
28764#line 2218
28765  __cil_tmp13 = *((struct list_head **)__cil_tmp12);
28766#line 2218
28767  __mptr = (struct list_head    *)__cil_tmp13;
28768#line 2218
28769  __cil_tmp14 = (struct fc_exch_mgr_anchor *)0;
28770#line 2218
28771  __cil_tmp15 = (struct list_head *)__cil_tmp14;
28772#line 2218
28773  __cil_tmp16 = (unsigned int )__cil_tmp15;
28774#line 2218
28775  __cil_tmp17 = (char *)__mptr;
28776#line 2218
28777  __cil_tmp18 = __cil_tmp17 - __cil_tmp16;
28778#line 2218
28779  ema = (struct fc_exch_mgr_anchor *)__cil_tmp18;
28780  {
28781#line 2218
28782  while (1) {
28783    while_continue: /* CIL Label */ ;
28784    {
28785#line 2218
28786    __cil_tmp19 = (unsigned long )src;
28787#line 2218
28788    __cil_tmp20 = __cil_tmp19 + 8;
28789#line 2218
28790    __cil_tmp21 = (struct list_head *)__cil_tmp20;
28791#line 2218
28792    __cil_tmp22 = (unsigned long )__cil_tmp21;
28793#line 2218
28794    __cil_tmp23 = (struct list_head *)ema;
28795#line 2218
28796    __cil_tmp24 = (unsigned long )__cil_tmp23;
28797#line 2218
28798    if (__cil_tmp24 != __cil_tmp22) {
28799
28800    } else {
28801#line 2218
28802      goto while_break;
28803    }
28804    }
28805    {
28806#line 2219
28807    __cil_tmp25 = (unsigned long )ema;
28808#line 2219
28809    __cil_tmp26 = __cil_tmp25 + 16;
28810#line 2219
28811    __cil_tmp27 = *((struct fc_exch_mgr **)__cil_tmp26);
28812#line 2219
28813    __cil_tmp28 = (unsigned long )ema;
28814#line 2219
28815    __cil_tmp29 = __cil_tmp28 + 24;
28816#line 2219
28817    __cil_tmp30 = *((bool (**)(struct fc_frame * ))__cil_tmp29);
28818#line 2219
28819    tmp___8 = fc_exch_mgr_add(dst, __cil_tmp27, __cil_tmp30);
28820    }
28821#line 2219
28822    if (tmp___8) {
28823
28824    } else {
28825#line 2220
28826      goto err;
28827    }
28828#line 2218
28829    __cil_tmp31 = *((struct list_head **)ema);
28830#line 2218
28831    __mptr___0 = (struct list_head    *)__cil_tmp31;
28832#line 2218
28833    __cil_tmp32 = (struct fc_exch_mgr_anchor *)0;
28834#line 2218
28835    __cil_tmp33 = (struct list_head *)__cil_tmp32;
28836#line 2218
28837    __cil_tmp34 = (unsigned int )__cil_tmp33;
28838#line 2218
28839    __cil_tmp35 = (char *)__mptr___0;
28840#line 2218
28841    __cil_tmp36 = __cil_tmp35 - __cil_tmp34;
28842#line 2218
28843    ema = (struct fc_exch_mgr_anchor *)__cil_tmp36;
28844  }
28845  while_break: /* CIL Label */ ;
28846  }
28847#line 2222
28848  return (0);
28849  err: 
28850#line 2224
28851  __cil_tmp37 = (unsigned long )dst;
28852#line 2224
28853  __cil_tmp38 = __cil_tmp37 + 8;
28854#line 2224
28855  __cil_tmp39 = *((struct list_head **)__cil_tmp38);
28856#line 2224
28857  __mptr___1 = (struct list_head    *)__cil_tmp39;
28858#line 2224
28859  __cil_tmp40 = (struct fc_exch_mgr_anchor *)0;
28860#line 2224
28861  __cil_tmp41 = (struct list_head *)__cil_tmp40;
28862#line 2224
28863  __cil_tmp42 = (unsigned int )__cil_tmp41;
28864#line 2224
28865  __cil_tmp43 = (char *)__mptr___1;
28866#line 2224
28867  __cil_tmp44 = __cil_tmp43 - __cil_tmp42;
28868#line 2224
28869  ema = (struct fc_exch_mgr_anchor *)__cil_tmp44;
28870#line 2224
28871  __cil_tmp45 = *((struct list_head **)ema);
28872#line 2224
28873  __mptr___2 = (struct list_head    *)__cil_tmp45;
28874#line 2224
28875  __cil_tmp46 = (struct fc_exch_mgr_anchor *)0;
28876#line 2224
28877  __cil_tmp47 = (struct list_head *)__cil_tmp46;
28878#line 2224
28879  __cil_tmp48 = (unsigned int )__cil_tmp47;
28880#line 2224
28881  __cil_tmp49 = (char *)__mptr___2;
28882#line 2224
28883  __cil_tmp50 = __cil_tmp49 - __cil_tmp48;
28884#line 2224
28885  tmp___7 = (struct fc_exch_mgr_anchor *)__cil_tmp50;
28886  {
28887#line 2224
28888  while (1) {
28889    while_continue___0: /* CIL Label */ ;
28890    {
28891#line 2224
28892    __cil_tmp51 = (unsigned long )dst;
28893#line 2224
28894    __cil_tmp52 = __cil_tmp51 + 8;
28895#line 2224
28896    __cil_tmp53 = (struct list_head *)__cil_tmp52;
28897#line 2224
28898    __cil_tmp54 = (unsigned long )__cil_tmp53;
28899#line 2224
28900    __cil_tmp55 = (struct list_head *)ema;
28901#line 2224
28902    __cil_tmp56 = (unsigned long )__cil_tmp55;
28903#line 2224
28904    if (__cil_tmp56 != __cil_tmp54) {
28905
28906    } else {
28907#line 2224
28908      goto while_break___0;
28909    }
28910    }
28911    {
28912#line 2225
28913    fc_exch_mgr_del(ema);
28914#line 2224
28915    ema = tmp___7;
28916#line 2224
28917    __cil_tmp57 = *((struct list_head **)tmp___7);
28918#line 2224
28919    __mptr___3 = (struct list_head    *)__cil_tmp57;
28920#line 2224
28921    __cil_tmp58 = (struct fc_exch_mgr_anchor *)0;
28922#line 2224
28923    __cil_tmp59 = (struct list_head *)__cil_tmp58;
28924#line 2224
28925    __cil_tmp60 = (unsigned int )__cil_tmp59;
28926#line 2224
28927    __cil_tmp61 = (char *)__mptr___3;
28928#line 2224
28929    __cil_tmp62 = __cil_tmp61 - __cil_tmp60;
28930#line 2224
28931    tmp___7 = (struct fc_exch_mgr_anchor *)__cil_tmp62;
28932    }
28933  }
28934  while_break___0: /* CIL Label */ ;
28935  }
28936#line 2226
28937  return (-12);
28938}
28939}
28940#line 2228
28941extern void *__crc_fc_exch_mgr_list_clone  __attribute__((__weak__)) ;
28942#line 2228 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28943static unsigned long    __kcrctab_fc_exch_mgr_list_clone  __attribute__((__used__,
28944__unused__, __section__("___kcrctab+fc_exch_mgr_list_clone")))  =    (unsigned long    )((unsigned long )(& __crc_fc_exch_mgr_list_clone));
28945#line 2228 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28946static char    __kstrtab_fc_exch_mgr_list_clone[23]  __attribute__((__section__("__ksymtab_strings"),
28947__aligned__(1)))  = 
28948#line 2228
28949  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'e', 
28950        (char    )'x',      (char    )'c',      (char const   )'h',      (char const   )'_', 
28951        (char    )'m',      (char    )'g',      (char const   )'r',      (char const   )'_', 
28952        (char    )'l',      (char    )'i',      (char const   )'s',      (char const   )'t', 
28953        (char    )'_',      (char    )'c',      (char const   )'l',      (char const   )'o', 
28954        (char    )'n',      (char    )'e',      (char const   )'\000'};
28955#line 2228 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28956static struct kernel_symbol    __ksymtab_fc_exch_mgr_list_clone  __attribute__((__used__,
28957__unused__, __section__("___ksymtab+fc_exch_mgr_list_clone")))  =    {(unsigned long )(& fc_exch_mgr_list_clone), __kstrtab_fc_exch_mgr_list_clone};
28958#line 2302 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28959static struct lock_class_key __key___7  ;
28960#line 2238 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
28961struct fc_exch_mgr *fc_exch_mgr_alloc(struct fc_lport *lport , enum fc_class class ,
28962                                      u16 min_xid , u16 max_xid , bool (*match)(struct fc_frame * ) ) 
28963{ struct fc_exch_mgr *mp ;
28964  u16 pool_exch_range ;
28965  size_t pool_size ;
28966  unsigned int cpu ;
28967  struct fc_exch_pool *pool ;
28968  long tmp___7 ;
28969  void *tmp___8 ;
28970  void *tmp___9 ;
28971  void    *__vpp_verify ;
28972  unsigned long __ptr ;
28973  struct fc_exch_mgr_anchor *tmp___10 ;
28974  int __cil_tmp17 ;
28975  int __cil_tmp18 ;
28976  int __cil_tmp19 ;
28977  u16 *__cil_tmp20 ;
28978  u16 __cil_tmp21 ;
28979  int __cil_tmp22 ;
28980  int __cil_tmp23 ;
28981  int __cil_tmp24 ;
28982  unsigned int *__cil_tmp25 ;
28983  unsigned int __cil_tmp26 ;
28984  unsigned int __cil_tmp27 ;
28985  int __cil_tmp28 ;
28986  int __cil_tmp29 ;
28987  long __cil_tmp30 ;
28988  struct Scsi_Host *__cil_tmp31 ;
28989  unsigned long __cil_tmp32 ;
28990  unsigned long __cil_tmp33 ;
28991  unsigned int __cil_tmp34 ;
28992  unsigned long __cil_tmp35 ;
28993  unsigned long __cil_tmp36 ;
28994  u32 __cil_tmp37 ;
28995  int __cil_tmp38 ;
28996  int __cil_tmp39 ;
28997  void *__cil_tmp40 ;
28998  void *__cil_tmp41 ;
28999  unsigned long __cil_tmp42 ;
29000  unsigned long __cil_tmp43 ;
29001  unsigned long __cil_tmp44 ;
29002  unsigned long __cil_tmp45 ;
29003  unsigned long __cil_tmp46 ;
29004  unsigned long __cil_tmp47 ;
29005  unsigned long __cil_tmp48 ;
29006  unsigned long __cil_tmp49 ;
29007  unsigned long __cil_tmp50 ;
29008  int __cil_tmp51 ;
29009  unsigned long __cil_tmp52 ;
29010  unsigned long __cil_tmp53 ;
29011  unsigned long __cil_tmp54 ;
29012  unsigned long __cil_tmp55 ;
29013  unsigned long __cil_tmp56 ;
29014  int __cil_tmp57 ;
29015  u16 *__cil_tmp58 ;
29016  u16 __cil_tmp59 ;
29017  int __cil_tmp60 ;
29018  int __cil_tmp61 ;
29019  int __cil_tmp62 ;
29020  int __cil_tmp63 ;
29021  int __cil_tmp64 ;
29022  int __cil_tmp65 ;
29023  int __cil_tmp66 ;
29024  unsigned long __cil_tmp67 ;
29025  unsigned long __cil_tmp68 ;
29026  int __cil_tmp69 ;
29027  u16 *__cil_tmp70 ;
29028  u16 __cil_tmp71 ;
29029  int __cil_tmp72 ;
29030  int __cil_tmp73 ;
29031  int __cil_tmp74 ;
29032  int __cil_tmp75 ;
29033  int __cil_tmp76 ;
29034  int __cil_tmp77 ;
29035  unsigned long __cil_tmp78 ;
29036  unsigned long __cil_tmp79 ;
29037  u16 *__cil_tmp80 ;
29038  u16 __cil_tmp81 ;
29039  int __cil_tmp82 ;
29040  int __cil_tmp83 ;
29041  unsigned long __cil_tmp84 ;
29042  unsigned long __cil_tmp85 ;
29043  u16 __cil_tmp86 ;
29044  int __cil_tmp87 ;
29045  unsigned long __cil_tmp88 ;
29046  unsigned long __cil_tmp89 ;
29047  u16 __cil_tmp90 ;
29048  int __cil_tmp91 ;
29049  int __cil_tmp92 ;
29050  int __cil_tmp93 ;
29051  int __cil_tmp94 ;
29052  unsigned long __cil_tmp95 ;
29053  unsigned long __cil_tmp96 ;
29054  unsigned long __cil_tmp97 ;
29055  unsigned long __cil_tmp98 ;
29056  mempool_t *__cil_tmp99 ;
29057  unsigned long __cil_tmp100 ;
29058  unsigned long __cil_tmp101 ;
29059  int __cil_tmp102 ;
29060  int __cil_tmp103 ;
29061  unsigned long __cil_tmp104 ;
29062  unsigned long __cil_tmp105 ;
29063  struct fc_exch_pool *__cil_tmp106 ;
29064  int __cil_tmp107 ;
29065  struct cpumask    *__cil_tmp108 ;
29066  unsigned int __cil_tmp109 ;
29067  void *__cil_tmp110 ;
29068  struct fc_exch_pool *__cil_tmp111 ;
29069  unsigned long __cil_tmp112 ;
29070  unsigned long __cil_tmp113 ;
29071  unsigned long __cil_tmp114 ;
29072  unsigned long __cil_tmp115 ;
29073  unsigned long __cil_tmp116 ;
29074  unsigned long __cil_tmp117 ;
29075  unsigned long __cil_tmp118 ;
29076  unsigned long __cil_tmp119 ;
29077  unsigned long __cil_tmp120 ;
29078  unsigned long __cil_tmp121 ;
29079  spinlock_t *__cil_tmp122 ;
29080  struct raw_spinlock *__cil_tmp123 ;
29081  unsigned long __cil_tmp124 ;
29082  unsigned long __cil_tmp125 ;
29083  struct list_head *__cil_tmp126 ;
29084  unsigned long __cil_tmp127 ;
29085  unsigned long __cil_tmp128 ;
29086  struct kref *__cil_tmp129 ;
29087  struct fc_exch_pool *__cil_tmp130 ;
29088  void *__cil_tmp131 ;
29089  unsigned long __cil_tmp132 ;
29090  unsigned long __cil_tmp133 ;
29091  struct kref *__cil_tmp134 ;
29092  unsigned long __cil_tmp135 ;
29093  unsigned long __cil_tmp136 ;
29094  mempool_t *__cil_tmp137 ;
29095  void    *__cil_tmp138 ;
29096  void *__cil_tmp139 ;
29097
29098  {
29099  {
29100#line 2249
29101  __cil_tmp17 = (int )min_xid;
29102#line 2249
29103  __cil_tmp18 = (int )max_xid;
29104#line 2249
29105  if (__cil_tmp18 <= __cil_tmp17) {
29106#line 2249
29107    goto _L;
29108  } else {
29109    {
29110#line 2249
29111    __cil_tmp19 = (int )max_xid;
29112#line 2249
29113    if (__cil_tmp19 == 65535) {
29114#line 2249
29115      goto _L;
29116    } else {
29117      {
29118#line 2249
29119      __cil_tmp20 = & fc_cpu_mask;
29120#line 2249
29121      __cil_tmp21 = *__cil_tmp20;
29122#line 2249
29123      __cil_tmp22 = (int )__cil_tmp21;
29124#line 2249
29125      __cil_tmp23 = (int )min_xid;
29126#line 2249
29127      __cil_tmp24 = __cil_tmp23 & __cil_tmp22;
29128#line 2249
29129      if (__cil_tmp24 != 0) {
29130        _L: /* CIL Label */ 
29131        {
29132#line 2251
29133        while (1) {
29134          while_continue: /* CIL Label */ ;
29135          {
29136#line 2251
29137          __cil_tmp25 = & fc_debug_logging;
29138#line 2251
29139          __cil_tmp26 = *__cil_tmp25;
29140#line 2251
29141          __cil_tmp27 = __cil_tmp26 & 2U;
29142#line 2251
29143          __cil_tmp28 = ! __cil_tmp27;
29144#line 2251
29145          __cil_tmp29 = ! __cil_tmp28;
29146#line 2251
29147          __cil_tmp30 = (long )__cil_tmp29;
29148#line 2251
29149          tmp___7 = __builtin_expect(__cil_tmp30, 0L);
29150          }
29151#line 2251
29152          if (tmp___7) {
29153            {
29154#line 2251
29155            while (1) {
29156              while_continue___0: /* CIL Label */ ;
29157              {
29158#line 2251
29159              __cil_tmp31 = *((struct Scsi_Host **)lport);
29160#line 2251
29161              __cil_tmp32 = (unsigned long )__cil_tmp31;
29162#line 2251
29163              __cil_tmp33 = __cil_tmp32 + 308;
29164#line 2251
29165              __cil_tmp34 = *((unsigned int *)__cil_tmp33);
29166#line 2251
29167              __cil_tmp35 = (unsigned long )lport;
29168#line 2251
29169              __cil_tmp36 = __cil_tmp35 + 788;
29170#line 2251
29171              __cil_tmp37 = *((u32 *)__cil_tmp36);
29172#line 2251
29173              __cil_tmp38 = (int )min_xid;
29174#line 2251
29175              __cil_tmp39 = (int )max_xid;
29176#line 2251
29177              printk("<6>host%u: lport %6.6x: Invalid min_xid 0x:%x and max_xid 0x:%x\n",
29178                     __cil_tmp34, __cil_tmp37, __cil_tmp38, __cil_tmp39);
29179              }
29180#line 2251
29181              goto while_break___0;
29182            }
29183            while_break___0: /* CIL Label */ ;
29184            }
29185          } else {
29186
29187          }
29188#line 2251
29189          goto while_break;
29190        }
29191        while_break: /* CIL Label */ ;
29192        }
29193        {
29194#line 2253
29195        __cil_tmp40 = (void *)0;
29196#line 2253
29197        return ((struct fc_exch_mgr *)__cil_tmp40);
29198        }
29199      } else {
29200
29201      }
29202      }
29203    }
29204    }
29205  }
29206  }
29207  {
29208#line 2259
29209  tmp___8 = kzalloc(56UL, 32U);
29210#line 2259
29211  mp = (struct fc_exch_mgr *)tmp___8;
29212  }
29213#line 2260
29214  if (! mp) {
29215    {
29216#line 2261
29217    __cil_tmp41 = (void *)0;
29218#line 2261
29219    return ((struct fc_exch_mgr *)__cil_tmp41);
29220    }
29221  } else {
29222
29223  }
29224#line 2263
29225  __cil_tmp42 = (unsigned long )mp;
29226#line 2263
29227  __cil_tmp43 = __cil_tmp42 + 16;
29228#line 2263
29229  *((enum fc_class *)__cil_tmp43) = class;
29230#line 2265
29231  __cil_tmp44 = (unsigned long )mp;
29232#line 2265
29233  __cil_tmp45 = __cil_tmp44 + 24;
29234#line 2265
29235  *((u16 *)__cil_tmp45) = min_xid;
29236#line 2268
29237  __cil_tmp46 = 1UL << 12;
29238#line 2268
29239  __cil_tmp47 = __cil_tmp46 - 1UL;
29240#line 2268
29241  __cil_tmp48 = ~ __cil_tmp47;
29242#line 2268
29243  __cil_tmp49 = 1UL << 12;
29244#line 2268
29245  __cil_tmp50 = __cil_tmp49 - 1UL;
29246#line 2268
29247  __cil_tmp51 = 32 << 10;
29248#line 2268
29249  __cil_tmp52 = (unsigned long )__cil_tmp51;
29250#line 2268
29251  __cil_tmp53 = __cil_tmp52 + __cil_tmp50;
29252#line 2268
29253  __cil_tmp54 = __cil_tmp53 & __cil_tmp48;
29254#line 2268
29255  __cil_tmp55 = __cil_tmp54 - 64UL;
29256#line 2268
29257  __cil_tmp56 = __cil_tmp55 / 8UL;
29258#line 2268
29259  pool_exch_range = (u16 )__cil_tmp56;
29260  {
29261#line 2270
29262  __cil_tmp57 = (int )pool_exch_range;
29263#line 2270
29264  __cil_tmp58 = & fc_cpu_mask;
29265#line 2270
29266  __cil_tmp59 = *__cil_tmp58;
29267#line 2270
29268  __cil_tmp60 = (int )__cil_tmp59;
29269#line 2270
29270  __cil_tmp61 = __cil_tmp60 + 1;
29271#line 2270
29272  __cil_tmp62 = (int )min_xid;
29273#line 2270
29274  __cil_tmp63 = (int )max_xid;
29275#line 2270
29276  __cil_tmp64 = __cil_tmp63 - __cil_tmp62;
29277#line 2270
29278  __cil_tmp65 = __cil_tmp64 + 1;
29279#line 2270
29280  __cil_tmp66 = __cil_tmp65 / __cil_tmp61;
29281#line 2270
29282  if (__cil_tmp66 > __cil_tmp57) {
29283#line 2271
29284    __cil_tmp67 = (unsigned long )mp;
29285#line 2271
29286    __cil_tmp68 = __cil_tmp67 + 26;
29287#line 2271
29288    __cil_tmp69 = (int )min_xid;
29289#line 2271
29290    __cil_tmp70 = & fc_cpu_mask;
29291#line 2271
29292    __cil_tmp71 = *__cil_tmp70;
29293#line 2271
29294    __cil_tmp72 = (int )__cil_tmp71;
29295#line 2271
29296    __cil_tmp73 = __cil_tmp72 + 1;
29297#line 2271
29298    __cil_tmp74 = (int )pool_exch_range;
29299#line 2271
29300    __cil_tmp75 = __cil_tmp74 * __cil_tmp73;
29301#line 2271
29302    __cil_tmp76 = __cil_tmp75 + __cil_tmp69;
29303#line 2271
29304    __cil_tmp77 = __cil_tmp76 - 1;
29305#line 2271
29306    *((u16 *)__cil_tmp68) = (u16 )__cil_tmp77;
29307  } else {
29308#line 2274
29309    __cil_tmp78 = (unsigned long )mp;
29310#line 2274
29311    __cil_tmp79 = __cil_tmp78 + 26;
29312#line 2274
29313    *((u16 *)__cil_tmp79) = max_xid;
29314#line 2275
29315    __cil_tmp80 = & fc_cpu_mask;
29316#line 2275
29317    __cil_tmp81 = *__cil_tmp80;
29318#line 2275
29319    __cil_tmp82 = (int )__cil_tmp81;
29320#line 2275
29321    __cil_tmp83 = __cil_tmp82 + 1;
29322#line 2275
29323    __cil_tmp84 = (unsigned long )mp;
29324#line 2275
29325    __cil_tmp85 = __cil_tmp84 + 24;
29326#line 2275
29327    __cil_tmp86 = *((u16 *)__cil_tmp85);
29328#line 2275
29329    __cil_tmp87 = (int )__cil_tmp86;
29330#line 2275
29331    __cil_tmp88 = (unsigned long )mp;
29332#line 2275
29333    __cil_tmp89 = __cil_tmp88 + 26;
29334#line 2275
29335    __cil_tmp90 = *((u16 *)__cil_tmp89);
29336#line 2275
29337    __cil_tmp91 = (int )__cil_tmp90;
29338#line 2275
29339    __cil_tmp92 = __cil_tmp91 - __cil_tmp87;
29340#line 2275
29341    __cil_tmp93 = __cil_tmp92 + 1;
29342#line 2275
29343    __cil_tmp94 = __cil_tmp93 / __cil_tmp83;
29344#line 2275
29345    pool_exch_range = (u16 )__cil_tmp94;
29346  }
29347  }
29348  {
29349#line 2279
29350  __cil_tmp95 = (unsigned long )mp;
29351#line 2279
29352  __cil_tmp96 = __cil_tmp95 + 8;
29353#line 2279
29354  *((mempool_t **)__cil_tmp96) = mempool_create_slab_pool(2, fc_em_cachep);
29355  }
29356  {
29357#line 2280
29358  __cil_tmp97 = (unsigned long )mp;
29359#line 2280
29360  __cil_tmp98 = __cil_tmp97 + 8;
29361#line 2280
29362  __cil_tmp99 = *((mempool_t **)__cil_tmp98);
29363#line 2280
29364  if (! __cil_tmp99) {
29365#line 2281
29366    goto free_mp;
29367  } else {
29368
29369  }
29370  }
29371  {
29372#line 2288
29373  __cil_tmp100 = (unsigned long )mp;
29374#line 2288
29375  __cil_tmp101 = __cil_tmp100 + 28;
29376#line 2288
29377  __cil_tmp102 = (int )pool_exch_range;
29378#line 2288
29379  __cil_tmp103 = __cil_tmp102 - 1;
29380#line 2288
29381  *((u16 *)__cil_tmp101) = (u16 )__cil_tmp103;
29382#line 2293
29383  __cil_tmp104 = (unsigned long )pool_exch_range;
29384#line 2293
29385  __cil_tmp105 = __cil_tmp104 * 8UL;
29386#line 2293
29387  pool_size = 64UL + __cil_tmp105;
29388#line 2294
29389  tmp___9 = __alloc_percpu(pool_size, 64UL);
29390#line 2294
29391  *((struct fc_exch_pool **)mp) = (struct fc_exch_pool *)tmp___9;
29392  }
29393  {
29394#line 2295
29395  __cil_tmp106 = *((struct fc_exch_pool **)mp);
29396#line 2295
29397  if (! __cil_tmp106) {
29398#line 2296
29399    goto free_mempool;
29400  } else {
29401
29402  }
29403  }
29404#line 2297
29405  cpu = 4294967295U;
29406  {
29407#line 2297
29408  while (1) {
29409    while_continue___1: /* CIL Label */ ;
29410    {
29411#line 2297
29412    __cil_tmp107 = (int )cpu;
29413#line 2297
29414    __cil_tmp108 = (struct cpumask    *)cpu_possible_mask;
29415#line 2297
29416    cpu = cpumask_next(__cil_tmp107, __cil_tmp108);
29417    }
29418    {
29419#line 2297
29420    __cil_tmp109 = (unsigned int )nr_cpu_ids;
29421#line 2297
29422    if (cpu < __cil_tmp109) {
29423
29424    } else {
29425#line 2297
29426      goto while_break___1;
29427    }
29428    }
29429    {
29430#line 2298
29431    while (1) {
29432      while_continue___2: /* CIL Label */ ;
29433#line 2298
29434      __cil_tmp110 = (void *)0;
29435#line 2298
29436      __cil_tmp111 = (struct fc_exch_pool *)__cil_tmp110;
29437#line 2298
29438      __vpp_verify = (void    *)__cil_tmp111;
29439#line 2298
29440      goto while_break___2;
29441    }
29442    while_break___2: /* CIL Label */ ;
29443    }
29444#line 2298
29445    __asm__  ("": "=r" (__ptr): "0" (*((struct fc_exch_pool **)mp)));
29446#line 2298
29447    __cil_tmp112 = cpu * 8UL;
29448#line 2298
29449    __cil_tmp113 = (unsigned long )(__per_cpu_offset) + __cil_tmp112;
29450#line 2298
29451    __cil_tmp114 = *((unsigned long *)__cil_tmp113);
29452#line 2298
29453    __cil_tmp115 = __ptr + __cil_tmp114;
29454#line 2298
29455    pool = (struct fc_exch_pool *)__cil_tmp115;
29456#line 2299
29457    __cil_tmp116 = (unsigned long )pool;
29458#line 2299
29459    __cil_tmp117 = __cil_tmp116 + 40;
29460#line 2299
29461    *((u16 *)__cil_tmp117) = (u16 )0;
29462#line 2300
29463    __cil_tmp118 = (unsigned long )pool;
29464#line 2300
29465    __cil_tmp119 = __cil_tmp118 + 44;
29466#line 2300
29467    *((u16 *)__cil_tmp119) = (u16 )65535;
29468#line 2301
29469    __cil_tmp120 = (unsigned long )pool;
29470#line 2301
29471    __cil_tmp121 = __cil_tmp120 + 46;
29472#line 2301
29473    *((u16 *)__cil_tmp121) = (u16 )65535;
29474    {
29475#line 2302
29476    while (1) {
29477      while_continue___3: /* CIL Label */ ;
29478      {
29479#line 2302
29480      __cil_tmp122 = (spinlock_t *)pool;
29481#line 2302
29482      spinlock_check(__cil_tmp122);
29483      }
29484      {
29485#line 2302
29486      while (1) {
29487        while_continue___4: /* CIL Label */ ;
29488        {
29489#line 2302
29490        __cil_tmp123 = (struct raw_spinlock *)pool;
29491#line 2302
29492        __raw_spin_lock_init(__cil_tmp123, "&(&pool->lock)->rlock", & __key___7);
29493        }
29494#line 2302
29495        goto while_break___4;
29496      }
29497      while_break___4: /* CIL Label */ ;
29498      }
29499#line 2302
29500      goto while_break___3;
29501    }
29502    while_break___3: /* CIL Label */ ;
29503    }
29504    {
29505#line 2303
29506    __cil_tmp124 = (unsigned long )pool;
29507#line 2303
29508    __cil_tmp125 = __cil_tmp124 + 24;
29509#line 2303
29510    __cil_tmp126 = (struct list_head *)__cil_tmp125;
29511#line 2303
29512    INIT_LIST_HEAD(__cil_tmp126);
29513    }
29514  }
29515  while_break___1: /* CIL Label */ ;
29516  }
29517  {
29518#line 2306
29519  __cil_tmp127 = (unsigned long )mp;
29520#line 2306
29521  __cil_tmp128 = __cil_tmp127 + 20;
29522#line 2306
29523  __cil_tmp129 = (struct kref *)__cil_tmp128;
29524#line 2306
29525  kref_init(__cil_tmp129);
29526#line 2307
29527  tmp___10 = fc_exch_mgr_add(lport, mp, match);
29528  }
29529#line 2307
29530  if (tmp___10) {
29531
29532  } else {
29533    {
29534#line 2308
29535    __cil_tmp130 = *((struct fc_exch_pool **)mp);
29536#line 2308
29537    __cil_tmp131 = (void *)__cil_tmp130;
29538#line 2308
29539    free_percpu(__cil_tmp131);
29540    }
29541#line 2309
29542    goto free_mempool;
29543  }
29544  {
29545#line 2317
29546  __cil_tmp132 = (unsigned long )mp;
29547#line 2317
29548  __cil_tmp133 = __cil_tmp132 + 20;
29549#line 2317
29550  __cil_tmp134 = (struct kref *)__cil_tmp133;
29551#line 2317
29552  kref_put(__cil_tmp134, & fc_exch_mgr_destroy);
29553  }
29554#line 2318
29555  return (mp);
29556  free_mempool: 
29557  {
29558#line 2321
29559  __cil_tmp135 = (unsigned long )mp;
29560#line 2321
29561  __cil_tmp136 = __cil_tmp135 + 8;
29562#line 2321
29563  __cil_tmp137 = *((mempool_t **)__cil_tmp136);
29564#line 2321
29565  mempool_destroy(__cil_tmp137);
29566  }
29567  free_mp: 
29568  {
29569#line 2323
29570  __cil_tmp138 = (void    *)mp;
29571#line 2323
29572  kfree(__cil_tmp138);
29573  }
29574  {
29575#line 2324
29576  __cil_tmp139 = (void *)0;
29577#line 2324
29578  return ((struct fc_exch_mgr *)__cil_tmp139);
29579  }
29580}
29581}
29582#line 2326
29583extern void *__crc_fc_exch_mgr_alloc  __attribute__((__weak__)) ;
29584#line 2326 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
29585static unsigned long    __kcrctab_fc_exch_mgr_alloc  __attribute__((__used__,
29586__unused__, __section__("___kcrctab+fc_exch_mgr_alloc")))  =    (unsigned long    )((unsigned long )(& __crc_fc_exch_mgr_alloc));
29587#line 2326 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
29588static char    __kstrtab_fc_exch_mgr_alloc[18]  __attribute__((__section__("__ksymtab_strings"),
29589__aligned__(1)))  = 
29590#line 2326
29591  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'e', 
29592        (char    )'x',      (char    )'c',      (char const   )'h',      (char const   )'_', 
29593        (char    )'m',      (char    )'g',      (char const   )'r',      (char const   )'_', 
29594        (char    )'a',      (char    )'l',      (char const   )'l',      (char const   )'o', 
29595        (char    )'c',      (char    )'\000'};
29596#line 2326 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
29597static struct kernel_symbol    __ksymtab_fc_exch_mgr_alloc  __attribute__((__used__,
29598__unused__, __section__("___ksymtab+fc_exch_mgr_alloc")))  =    {(unsigned long )(& fc_exch_mgr_alloc), __kstrtab_fc_exch_mgr_alloc};
29599#line 2332 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
29600void fc_exch_mgr_free(struct fc_lport *lport ) 
29601{ struct fc_exch_mgr_anchor *ema ;
29602  struct fc_exch_mgr_anchor *next ;
29603  struct list_head    *__mptr ;
29604  struct list_head    *__mptr___0 ;
29605  struct list_head    *__mptr___1 ;
29606  unsigned long __cil_tmp7 ;
29607  unsigned long __cil_tmp8 ;
29608  struct list_head *__cil_tmp9 ;
29609  struct fc_exch_mgr_anchor *__cil_tmp10 ;
29610  struct list_head *__cil_tmp11 ;
29611  unsigned int __cil_tmp12 ;
29612  char *__cil_tmp13 ;
29613  char *__cil_tmp14 ;
29614  struct list_head *__cil_tmp15 ;
29615  struct fc_exch_mgr_anchor *__cil_tmp16 ;
29616  struct list_head *__cil_tmp17 ;
29617  unsigned int __cil_tmp18 ;
29618  char *__cil_tmp19 ;
29619  char *__cil_tmp20 ;
29620  unsigned long __cil_tmp21 ;
29621  unsigned long __cil_tmp22 ;
29622  struct list_head *__cil_tmp23 ;
29623  unsigned long __cil_tmp24 ;
29624  struct list_head *__cil_tmp25 ;
29625  unsigned long __cil_tmp26 ;
29626  struct list_head *__cil_tmp27 ;
29627  struct fc_exch_mgr_anchor *__cil_tmp28 ;
29628  struct list_head *__cil_tmp29 ;
29629  unsigned int __cil_tmp30 ;
29630  char *__cil_tmp31 ;
29631  char *__cil_tmp32 ;
29632
29633  {
29634  {
29635#line 2336
29636  flush_workqueue(fc_exch_workqueue);
29637#line 2337
29638  __cil_tmp7 = (unsigned long )lport;
29639#line 2337
29640  __cil_tmp8 = __cil_tmp7 + 8;
29641#line 2337
29642  __cil_tmp9 = *((struct list_head **)__cil_tmp8);
29643#line 2337
29644  __mptr = (struct list_head    *)__cil_tmp9;
29645#line 2337
29646  __cil_tmp10 = (struct fc_exch_mgr_anchor *)0;
29647#line 2337
29648  __cil_tmp11 = (struct list_head *)__cil_tmp10;
29649#line 2337
29650  __cil_tmp12 = (unsigned int )__cil_tmp11;
29651#line 2337
29652  __cil_tmp13 = (char *)__mptr;
29653#line 2337
29654  __cil_tmp14 = __cil_tmp13 - __cil_tmp12;
29655#line 2337
29656  ema = (struct fc_exch_mgr_anchor *)__cil_tmp14;
29657#line 2337
29658  __cil_tmp15 = *((struct list_head **)ema);
29659#line 2337
29660  __mptr___0 = (struct list_head    *)__cil_tmp15;
29661#line 2337
29662  __cil_tmp16 = (struct fc_exch_mgr_anchor *)0;
29663#line 2337
29664  __cil_tmp17 = (struct list_head *)__cil_tmp16;
29665#line 2337
29666  __cil_tmp18 = (unsigned int )__cil_tmp17;
29667#line 2337
29668  __cil_tmp19 = (char *)__mptr___0;
29669#line 2337
29670  __cil_tmp20 = __cil_tmp19 - __cil_tmp18;
29671#line 2337
29672  next = (struct fc_exch_mgr_anchor *)__cil_tmp20;
29673  }
29674  {
29675#line 2337
29676  while (1) {
29677    while_continue: /* CIL Label */ ;
29678    {
29679#line 2337
29680    __cil_tmp21 = (unsigned long )lport;
29681#line 2337
29682    __cil_tmp22 = __cil_tmp21 + 8;
29683#line 2337
29684    __cil_tmp23 = (struct list_head *)__cil_tmp22;
29685#line 2337
29686    __cil_tmp24 = (unsigned long )__cil_tmp23;
29687#line 2337
29688    __cil_tmp25 = (struct list_head *)ema;
29689#line 2337
29690    __cil_tmp26 = (unsigned long )__cil_tmp25;
29691#line 2337
29692    if (__cil_tmp26 != __cil_tmp24) {
29693
29694    } else {
29695#line 2337
29696      goto while_break;
29697    }
29698    }
29699    {
29700#line 2338
29701    fc_exch_mgr_del(ema);
29702#line 2337
29703    ema = next;
29704#line 2337
29705    __cil_tmp27 = *((struct list_head **)next);
29706#line 2337
29707    __mptr___1 = (struct list_head    *)__cil_tmp27;
29708#line 2337
29709    __cil_tmp28 = (struct fc_exch_mgr_anchor *)0;
29710#line 2337
29711    __cil_tmp29 = (struct list_head *)__cil_tmp28;
29712#line 2337
29713    __cil_tmp30 = (unsigned int )__cil_tmp29;
29714#line 2337
29715    __cil_tmp31 = (char *)__mptr___1;
29716#line 2337
29717    __cil_tmp32 = __cil_tmp31 - __cil_tmp30;
29718#line 2337
29719    next = (struct fc_exch_mgr_anchor *)__cil_tmp32;
29720    }
29721  }
29722  while_break: /* CIL Label */ ;
29723  }
29724#line 2339
29725  return;
29726}
29727}
29728#line 2340
29729extern void *__crc_fc_exch_mgr_free  __attribute__((__weak__)) ;
29730#line 2340 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
29731static unsigned long    __kcrctab_fc_exch_mgr_free  __attribute__((__used__,
29732__unused__, __section__("___kcrctab+fc_exch_mgr_free")))  =    (unsigned long    )((unsigned long )(& __crc_fc_exch_mgr_free));
29733#line 2340 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
29734static char    __kstrtab_fc_exch_mgr_free[17]  __attribute__((__section__("__ksymtab_strings"),
29735__aligned__(1)))  = 
29736#line 2340
29737  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'e', 
29738        (char    )'x',      (char    )'c',      (char const   )'h',      (char const   )'_', 
29739        (char    )'m',      (char    )'g',      (char const   )'r',      (char const   )'_', 
29740        (char    )'f',      (char    )'r',      (char const   )'e',      (char const   )'e', 
29741        (char    )'\000'};
29742#line 2340 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
29743static struct kernel_symbol    __ksymtab_fc_exch_mgr_free  __attribute__((__used__,
29744__unused__, __section__("___ksymtab+fc_exch_mgr_free")))  =    {(unsigned long )(& fc_exch_mgr_free), __kstrtab_fc_exch_mgr_free};
29745#line 2349 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
29746static struct fc_exch_mgr_anchor *fc_find_ema(u32 f_ctl , struct fc_lport *lport ,
29747                                              struct fc_frame_header *fh ) 
29748{ struct fc_exch_mgr_anchor *ema ;
29749  u16 xid ;
29750  __u16 tmp___7 ;
29751  __u16 tmp___8 ;
29752  struct list_head    *__mptr ;
29753  struct list_head    *__mptr___0 ;
29754  struct list_head    *__mptr___1 ;
29755  int __cil_tmp11 ;
29756  unsigned int __cil_tmp12 ;
29757  unsigned long __cil_tmp13 ;
29758  unsigned long __cil_tmp14 ;
29759  __be16 __cil_tmp15 ;
29760  int __cil_tmp16 ;
29761  unsigned long __cil_tmp17 ;
29762  unsigned long __cil_tmp18 ;
29763  __be16 __cil_tmp19 ;
29764  int __cil_tmp20 ;
29765  int __cil_tmp21 ;
29766  unsigned long __cil_tmp22 ;
29767  unsigned long __cil_tmp23 ;
29768  unsigned long __cil_tmp24 ;
29769  struct list_head *__cil_tmp25 ;
29770  struct fc_exch_mgr_anchor *__cil_tmp26 ;
29771  struct list_head *__cil_tmp27 ;
29772  unsigned int __cil_tmp28 ;
29773  char *__cil_tmp29 ;
29774  char *__cil_tmp30 ;
29775  unsigned long __cil_tmp31 ;
29776  unsigned long __cil_tmp32 ;
29777  struct list_head *__cil_tmp33 ;
29778  struct fc_exch_mgr_anchor *__cil_tmp34 ;
29779  struct list_head *__cil_tmp35 ;
29780  unsigned int __cil_tmp36 ;
29781  char *__cil_tmp37 ;
29782  char *__cil_tmp38 ;
29783  unsigned long __cil_tmp39 ;
29784  unsigned long __cil_tmp40 ;
29785  struct list_head *__cil_tmp41 ;
29786  unsigned long __cil_tmp42 ;
29787  struct list_head *__cil_tmp43 ;
29788  unsigned long __cil_tmp44 ;
29789  unsigned long __cil_tmp45 ;
29790  unsigned long __cil_tmp46 ;
29791  struct fc_exch_mgr *__cil_tmp47 ;
29792  unsigned long __cil_tmp48 ;
29793  unsigned long __cil_tmp49 ;
29794  u16 __cil_tmp50 ;
29795  int __cil_tmp51 ;
29796  int __cil_tmp52 ;
29797  unsigned long __cil_tmp53 ;
29798  unsigned long __cil_tmp54 ;
29799  struct fc_exch_mgr *__cil_tmp55 ;
29800  unsigned long __cil_tmp56 ;
29801  unsigned long __cil_tmp57 ;
29802  u16 __cil_tmp58 ;
29803  int __cil_tmp59 ;
29804  int __cil_tmp60 ;
29805  struct list_head *__cil_tmp61 ;
29806  struct fc_exch_mgr_anchor *__cil_tmp62 ;
29807  struct list_head *__cil_tmp63 ;
29808  unsigned int __cil_tmp64 ;
29809  char *__cil_tmp65 ;
29810  char *__cil_tmp66 ;
29811  void *__cil_tmp67 ;
29812
29813  {
29814  {
29815#line 2356
29816  __cil_tmp11 = 1 << 23;
29817#line 2356
29818  __cil_tmp12 = (unsigned int )__cil_tmp11;
29819#line 2356
29820  if (f_ctl & __cil_tmp12) {
29821    {
29822#line 2357
29823    __cil_tmp13 = (unsigned long )fh;
29824#line 2357
29825    __cil_tmp14 = __cil_tmp13 + 16;
29826#line 2357
29827    __cil_tmp15 = *((__be16 *)__cil_tmp14);
29828#line 2357
29829    tmp___7 = __fswab16(__cil_tmp15);
29830#line 2357
29831    __cil_tmp16 = (int )tmp___7;
29832#line 2357
29833    xid = (u16 )__cil_tmp16;
29834    }
29835  } else {
29836    {
29837#line 2359
29838    __cil_tmp17 = (unsigned long )fh;
29839#line 2359
29840    __cil_tmp18 = __cil_tmp17 + 18;
29841#line 2359
29842    __cil_tmp19 = *((__be16 *)__cil_tmp18);
29843#line 2359
29844    tmp___8 = __fswab16(__cil_tmp19);
29845#line 2359
29846    __cil_tmp20 = (int )tmp___8;
29847#line 2359
29848    xid = (u16 )__cil_tmp20;
29849    }
29850    {
29851#line 2360
29852    __cil_tmp21 = (int )xid;
29853#line 2360
29854    if (__cil_tmp21 == 65535) {
29855#line 2361
29856      __cil_tmp22 = 8 + 8;
29857#line 2361
29858      __cil_tmp23 = (unsigned long )lport;
29859#line 2361
29860      __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
29861#line 2361
29862      __cil_tmp25 = *((struct list_head **)__cil_tmp24);
29863#line 2361
29864      __mptr = (struct list_head    *)__cil_tmp25;
29865      {
29866#line 2361
29867      __cil_tmp26 = (struct fc_exch_mgr_anchor *)0;
29868#line 2361
29869      __cil_tmp27 = (struct list_head *)__cil_tmp26;
29870#line 2361
29871      __cil_tmp28 = (unsigned int )__cil_tmp27;
29872#line 2361
29873      __cil_tmp29 = (char *)__mptr;
29874#line 2361
29875      __cil_tmp30 = __cil_tmp29 - __cil_tmp28;
29876#line 2361
29877      return ((struct fc_exch_mgr_anchor *)__cil_tmp30);
29878      }
29879    } else {
29880
29881    }
29882    }
29883  }
29884  }
29885#line 2365
29886  __cil_tmp31 = (unsigned long )lport;
29887#line 2365
29888  __cil_tmp32 = __cil_tmp31 + 8;
29889#line 2365
29890  __cil_tmp33 = *((struct list_head **)__cil_tmp32);
29891#line 2365
29892  __mptr___0 = (struct list_head    *)__cil_tmp33;
29893#line 2365
29894  __cil_tmp34 = (struct fc_exch_mgr_anchor *)0;
29895#line 2365
29896  __cil_tmp35 = (struct list_head *)__cil_tmp34;
29897#line 2365
29898  __cil_tmp36 = (unsigned int )__cil_tmp35;
29899#line 2365
29900  __cil_tmp37 = (char *)__mptr___0;
29901#line 2365
29902  __cil_tmp38 = __cil_tmp37 - __cil_tmp36;
29903#line 2365
29904  ema = (struct fc_exch_mgr_anchor *)__cil_tmp38;
29905  {
29906#line 2365
29907  while (1) {
29908    while_continue: /* CIL Label */ ;
29909    {
29910#line 2365
29911    __cil_tmp39 = (unsigned long )lport;
29912#line 2365
29913    __cil_tmp40 = __cil_tmp39 + 8;
29914#line 2365
29915    __cil_tmp41 = (struct list_head *)__cil_tmp40;
29916#line 2365
29917    __cil_tmp42 = (unsigned long )__cil_tmp41;
29918#line 2365
29919    __cil_tmp43 = (struct list_head *)ema;
29920#line 2365
29921    __cil_tmp44 = (unsigned long )__cil_tmp43;
29922#line 2365
29923    if (__cil_tmp44 != __cil_tmp42) {
29924
29925    } else {
29926#line 2365
29927      goto while_break;
29928    }
29929    }
29930    {
29931#line 2366
29932    __cil_tmp45 = (unsigned long )ema;
29933#line 2366
29934    __cil_tmp46 = __cil_tmp45 + 16;
29935#line 2366
29936    __cil_tmp47 = *((struct fc_exch_mgr **)__cil_tmp46);
29937#line 2366
29938    __cil_tmp48 = (unsigned long )__cil_tmp47;
29939#line 2366
29940    __cil_tmp49 = __cil_tmp48 + 24;
29941#line 2366
29942    __cil_tmp50 = *((u16 *)__cil_tmp49);
29943#line 2366
29944    __cil_tmp51 = (int )__cil_tmp50;
29945#line 2366
29946    __cil_tmp52 = (int )xid;
29947#line 2366
29948    if (__cil_tmp52 >= __cil_tmp51) {
29949      {
29950#line 2366
29951      __cil_tmp53 = (unsigned long )ema;
29952#line 2366
29953      __cil_tmp54 = __cil_tmp53 + 16;
29954#line 2366
29955      __cil_tmp55 = *((struct fc_exch_mgr **)__cil_tmp54);
29956#line 2366
29957      __cil_tmp56 = (unsigned long )__cil_tmp55;
29958#line 2366
29959      __cil_tmp57 = __cil_tmp56 + 26;
29960#line 2366
29961      __cil_tmp58 = *((u16 *)__cil_tmp57);
29962#line 2366
29963      __cil_tmp59 = (int )__cil_tmp58;
29964#line 2366
29965      __cil_tmp60 = (int )xid;
29966#line 2366
29967      if (__cil_tmp60 <= __cil_tmp59) {
29968#line 2368
29969        return (ema);
29970      } else {
29971
29972      }
29973      }
29974    } else {
29975
29976    }
29977    }
29978#line 2365
29979    __cil_tmp61 = *((struct list_head **)ema);
29980#line 2365
29981    __mptr___1 = (struct list_head    *)__cil_tmp61;
29982#line 2365
29983    __cil_tmp62 = (struct fc_exch_mgr_anchor *)0;
29984#line 2365
29985    __cil_tmp63 = (struct list_head *)__cil_tmp62;
29986#line 2365
29987    __cil_tmp64 = (unsigned int )__cil_tmp63;
29988#line 2365
29989    __cil_tmp65 = (char *)__mptr___1;
29990#line 2365
29991    __cil_tmp66 = __cil_tmp65 - __cil_tmp64;
29992#line 2365
29993    ema = (struct fc_exch_mgr_anchor *)__cil_tmp66;
29994  }
29995  while_break: /* CIL Label */ ;
29996  }
29997  {
29998#line 2370
29999  __cil_tmp67 = (void *)0;
30000#line 2370
30001  return ((struct fc_exch_mgr_anchor *)__cil_tmp67);
30002  }
30003}
30004}
30005#line 2377 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
30006void fc_exch_recv(struct fc_lport *lport , struct fc_frame *fp ) 
30007{ struct fc_frame_header *fh ;
30008  struct fc_frame_header *tmp___7 ;
30009  struct fc_exch_mgr_anchor *ema ;
30010  u32 f_ctl ;
30011  long tmp___8 ;
30012  __u16 tmp___9 ;
30013  __u16 tmp___10 ;
30014  int tmp___11 ;
30015  long tmp___12 ;
30016  long tmp___13 ;
30017  struct fc_frame    *__cil_tmp13 ;
30018  unsigned long __cil_tmp14 ;
30019  unsigned long __cil_tmp15 ;
30020  enum fc_lport_state __cil_tmp16 ;
30021  unsigned int __cil_tmp17 ;
30022  unsigned int *__cil_tmp18 ;
30023  unsigned int __cil_tmp19 ;
30024  unsigned int __cil_tmp20 ;
30025  int __cil_tmp21 ;
30026  int __cil_tmp22 ;
30027  long __cil_tmp23 ;
30028  struct Scsi_Host *__cil_tmp24 ;
30029  unsigned long __cil_tmp25 ;
30030  unsigned long __cil_tmp26 ;
30031  unsigned int __cil_tmp27 ;
30032  unsigned long __cil_tmp28 ;
30033  unsigned long __cil_tmp29 ;
30034  u32 __cil_tmp30 ;
30035  unsigned long __cil_tmp31 ;
30036  unsigned long __cil_tmp32 ;
30037  unsigned long __cil_tmp33 ;
30038  unsigned long __cil_tmp34 ;
30039  __u8 *__cil_tmp35 ;
30040  u8    *__cil_tmp36 ;
30041  unsigned int *__cil_tmp37 ;
30042  unsigned int __cil_tmp38 ;
30043  unsigned int __cil_tmp39 ;
30044  int __cil_tmp40 ;
30045  int __cil_tmp41 ;
30046  long __cil_tmp42 ;
30047  int __cil_tmp43 ;
30048  unsigned int __cil_tmp44 ;
30049  unsigned long __cil_tmp45 ;
30050  unsigned long __cil_tmp46 ;
30051  __be16 __cil_tmp47 ;
30052  unsigned long __cil_tmp48 ;
30053  unsigned long __cil_tmp49 ;
30054  __be16 __cil_tmp50 ;
30055  struct Scsi_Host *__cil_tmp51 ;
30056  unsigned long __cil_tmp52 ;
30057  unsigned long __cil_tmp53 ;
30058  unsigned int __cil_tmp54 ;
30059  unsigned long __cil_tmp55 ;
30060  unsigned long __cil_tmp56 ;
30061  u32 __cil_tmp57 ;
30062  unsigned long __cil_tmp58 ;
30063  unsigned long __cil_tmp59 ;
30064  unsigned long __cil_tmp60 ;
30065  unsigned long __cil_tmp61 ;
30066  unsigned long __cil_tmp62 ;
30067  char *__cil_tmp63 ;
30068  struct fcoe_rcv_info *__cil_tmp64 ;
30069  unsigned long __cil_tmp65 ;
30070  unsigned long __cil_tmp66 ;
30071  u8 __cil_tmp67 ;
30072  int __cil_tmp68 ;
30073  unsigned int __cil_tmp69 ;
30074  struct sk_buff *__cil_tmp70 ;
30075  unsigned int __cil_tmp71 ;
30076  unsigned long __cil_tmp72 ;
30077  unsigned long __cil_tmp73 ;
30078  unsigned long __cil_tmp74 ;
30079  unsigned int __cil_tmp75 ;
30080  unsigned int __cil_tmp76 ;
30081  unsigned long __cil_tmp77 ;
30082  unsigned long __cil_tmp78 ;
30083  __u8 __cil_tmp79 ;
30084  int __cil_tmp80 ;
30085  unsigned long __cil_tmp81 ;
30086  unsigned long __cil_tmp82 ;
30087  struct fc_exch_mgr *__cil_tmp83 ;
30088  int __cil_tmp84 ;
30089  unsigned int __cil_tmp85 ;
30090  int __cil_tmp86 ;
30091  int __cil_tmp87 ;
30092  int __cil_tmp88 ;
30093  unsigned int __cil_tmp89 ;
30094  unsigned int __cil_tmp90 ;
30095  unsigned long __cil_tmp91 ;
30096  unsigned long __cil_tmp92 ;
30097  struct fc_exch_mgr *__cil_tmp93 ;
30098  int __cil_tmp94 ;
30099  unsigned int __cil_tmp95 ;
30100  unsigned long __cil_tmp96 ;
30101  unsigned long __cil_tmp97 ;
30102  struct fc_exch_mgr *__cil_tmp98 ;
30103  unsigned long __cil_tmp99 ;
30104  unsigned long __cil_tmp100 ;
30105  struct fc_exch_mgr *__cil_tmp101 ;
30106  unsigned int *__cil_tmp102 ;
30107  unsigned int __cil_tmp103 ;
30108  unsigned int __cil_tmp104 ;
30109  int __cil_tmp105 ;
30110  int __cil_tmp106 ;
30111  long __cil_tmp107 ;
30112  struct Scsi_Host *__cil_tmp108 ;
30113  unsigned long __cil_tmp109 ;
30114  unsigned long __cil_tmp110 ;
30115  unsigned int __cil_tmp111 ;
30116  unsigned long __cil_tmp112 ;
30117  unsigned long __cil_tmp113 ;
30118  u32 __cil_tmp114 ;
30119  unsigned long __cil_tmp115 ;
30120  unsigned long __cil_tmp116 ;
30121  unsigned long __cil_tmp117 ;
30122  unsigned long __cil_tmp118 ;
30123  unsigned long __cil_tmp119 ;
30124  char *__cil_tmp120 ;
30125  struct fcoe_rcv_info *__cil_tmp121 ;
30126  unsigned long __cil_tmp122 ;
30127  unsigned long __cil_tmp123 ;
30128  u8 __cil_tmp124 ;
30129  int __cil_tmp125 ;
30130
30131  {
30132  {
30133#line 2379
30134  __cil_tmp13 = (struct fc_frame    *)fp;
30135#line 2379
30136  tmp___7 = fc_frame_header_get(__cil_tmp13);
30137#line 2379
30138  fh = tmp___7;
30139  }
30140#line 2384
30141  if (! lport) {
30142#line 2384
30143    goto _L;
30144  } else {
30145    {
30146#line 2384
30147    __cil_tmp14 = (unsigned long )lport;
30148#line 2384
30149    __cil_tmp15 = __cil_tmp14 + 604;
30150#line 2384
30151    __cil_tmp16 = *((enum fc_lport_state *)__cil_tmp15);
30152#line 2384
30153    __cil_tmp17 = (unsigned int )__cil_tmp16;
30154#line 2384
30155    if (__cil_tmp17 == 0U) {
30156      _L: /* CIL Label */ 
30157      {
30158#line 2385
30159      while (1) {
30160        while_continue: /* CIL Label */ ;
30161        {
30162#line 2385
30163        __cil_tmp18 = & fc_debug_logging;
30164#line 2385
30165        __cil_tmp19 = *__cil_tmp18;
30166#line 2385
30167        __cil_tmp20 = __cil_tmp19 & 2U;
30168#line 2385
30169        __cil_tmp21 = ! __cil_tmp20;
30170#line 2385
30171        __cil_tmp22 = ! __cil_tmp21;
30172#line 2385
30173        __cil_tmp23 = (long )__cil_tmp22;
30174#line 2385
30175        tmp___8 = __builtin_expect(__cil_tmp23, 0L);
30176        }
30177#line 2385
30178        if (tmp___8) {
30179          {
30180#line 2385
30181          while (1) {
30182            while_continue___0: /* CIL Label */ ;
30183            {
30184#line 2385
30185            __cil_tmp24 = *((struct Scsi_Host **)lport);
30186#line 2385
30187            __cil_tmp25 = (unsigned long )__cil_tmp24;
30188#line 2385
30189            __cil_tmp26 = __cil_tmp25 + 308;
30190#line 2385
30191            __cil_tmp27 = *((unsigned int *)__cil_tmp26);
30192#line 2385
30193            __cil_tmp28 = (unsigned long )lport;
30194#line 2385
30195            __cil_tmp29 = __cil_tmp28 + 788;
30196#line 2385
30197            __cil_tmp30 = *((u32 *)__cil_tmp29);
30198#line 2385
30199            printk("<6>host%u: lport %6.6x: Receiving frames for an lport that has not been initialized correctly\n",
30200                   __cil_tmp27, __cil_tmp30);
30201            }
30202#line 2385
30203            goto while_break___0;
30204          }
30205          while_break___0: /* CIL Label */ ;
30206          }
30207        } else {
30208
30209        }
30210#line 2385
30211        goto while_break;
30212      }
30213      while_break: /* CIL Label */ ;
30214      }
30215      {
30216#line 2387
30217      fc_frame_free(fp);
30218      }
30219#line 2388
30220      return;
30221    } else {
30222
30223    }
30224    }
30225  }
30226  {
30227#line 2391
30228  __cil_tmp31 = 0 * 1UL;
30229#line 2391
30230  __cil_tmp32 = 9 + __cil_tmp31;
30231#line 2391
30232  __cil_tmp33 = (unsigned long )fh;
30233#line 2391
30234  __cil_tmp34 = __cil_tmp33 + __cil_tmp32;
30235#line 2391
30236  __cil_tmp35 = (__u8 *)__cil_tmp34;
30237#line 2391
30238  __cil_tmp36 = (u8    *)__cil_tmp35;
30239#line 2391
30240  f_ctl = ntoh24(__cil_tmp36);
30241#line 2392
30242  ema = fc_find_ema(f_ctl, lport, fh);
30243  }
30244#line 2393
30245  if (! ema) {
30246    {
30247#line 2394
30248    while (1) {
30249      while_continue___1: /* CIL Label */ ;
30250      {
30251#line 2394
30252      __cil_tmp37 = & fc_debug_logging;
30253#line 2394
30254      __cil_tmp38 = *__cil_tmp37;
30255#line 2394
30256      __cil_tmp39 = __cil_tmp38 & 2U;
30257#line 2394
30258      __cil_tmp40 = ! __cil_tmp39;
30259#line 2394
30260      __cil_tmp41 = ! __cil_tmp40;
30261#line 2394
30262      __cil_tmp42 = (long )__cil_tmp41;
30263#line 2394
30264      tmp___12 = __builtin_expect(__cil_tmp42, 0L);
30265      }
30266#line 2394
30267      if (tmp___12) {
30268        {
30269#line 2394
30270        while (1) {
30271          while_continue___2: /* CIL Label */ ;
30272          {
30273#line 2394
30274          __cil_tmp43 = 1 << 23;
30275#line 2394
30276          __cil_tmp44 = (unsigned int )__cil_tmp43;
30277#line 2394
30278          if (f_ctl & __cil_tmp44) {
30279            {
30280#line 2394
30281            __cil_tmp45 = (unsigned long )fh;
30282#line 2394
30283            __cil_tmp46 = __cil_tmp45 + 16;
30284#line 2394
30285            __cil_tmp47 = *((__be16 *)__cil_tmp46);
30286#line 2394
30287            tmp___9 = __fswab16(__cil_tmp47);
30288#line 2394
30289            tmp___11 = (int )tmp___9;
30290            }
30291          } else {
30292            {
30293#line 2394
30294            __cil_tmp48 = (unsigned long )fh;
30295#line 2394
30296            __cil_tmp49 = __cil_tmp48 + 18;
30297#line 2394
30298            __cil_tmp50 = *((__be16 *)__cil_tmp49);
30299#line 2394
30300            tmp___10 = __fswab16(__cil_tmp50);
30301#line 2394
30302            tmp___11 = (int )tmp___10;
30303            }
30304          }
30305          }
30306          {
30307#line 2394
30308          __cil_tmp51 = *((struct Scsi_Host **)lport);
30309#line 2394
30310          __cil_tmp52 = (unsigned long )__cil_tmp51;
30311#line 2394
30312          __cil_tmp53 = __cil_tmp52 + 308;
30313#line 2394
30314          __cil_tmp54 = *((unsigned int *)__cil_tmp53);
30315#line 2394
30316          __cil_tmp55 = (unsigned long )lport;
30317#line 2394
30318          __cil_tmp56 = __cil_tmp55 + 788;
30319#line 2394
30320          __cil_tmp57 = *((u32 *)__cil_tmp56);
30321#line 2394
30322          printk("<6>host%u: lport %6.6x: Unable to find Exchange Manager Anchor,fc_ctl <0x%x>, xid <0x%x>\n",
30323                 __cil_tmp54, __cil_tmp57, f_ctl, tmp___11);
30324          }
30325#line 2394
30326          goto while_break___2;
30327        }
30328        while_break___2: /* CIL Label */ ;
30329        }
30330      } else {
30331
30332      }
30333#line 2394
30334      goto while_break___1;
30335    }
30336    while_break___1: /* CIL Label */ ;
30337    }
30338    {
30339#line 2400
30340    fc_frame_free(fp);
30341    }
30342#line 2401
30343    return;
30344  } else {
30345
30346  }
30347  {
30348#line 2407
30349  __cil_tmp58 = 0 * 1UL;
30350#line 2407
30351  __cil_tmp59 = 40 + __cil_tmp58;
30352#line 2407
30353  __cil_tmp60 = 0 + __cil_tmp59;
30354#line 2407
30355  __cil_tmp61 = (unsigned long )fp;
30356#line 2407
30357  __cil_tmp62 = __cil_tmp61 + __cil_tmp60;
30358#line 2407
30359  __cil_tmp63 = (char *)__cil_tmp62;
30360#line 2407
30361  __cil_tmp64 = (struct fcoe_rcv_info *)__cil_tmp63;
30362#line 2407
30363  __cil_tmp65 = (unsigned long )__cil_tmp64;
30364#line 2407
30365  __cil_tmp66 = __cil_tmp65 + 31;
30366#line 2407
30367  __cil_tmp67 = *((u8 *)__cil_tmp66);
30368#line 2408
30369  if ((int )__cil_tmp67 == 66) {
30370#line 2408
30371    goto case_66;
30372  } else
30373#line 2412
30374  if ((int )__cil_tmp67 == 65) {
30375#line 2412
30376    goto case_65;
30377  } else {
30378    {
30379#line 2423
30380    goto switch_default;
30381#line 2407
30382    if (0) {
30383      case_66: /* CIL Label */ 
30384      {
30385#line 2409
30386      __cil_tmp68 = 1 << 19;
30387#line 2409
30388      __cil_tmp69 = (unsigned int )__cil_tmp68;
30389#line 2409
30390      if (f_ctl & __cil_tmp69) {
30391        {
30392#line 2410
30393        __cil_tmp70 = (struct sk_buff *)fp;
30394#line 2410
30395        __cil_tmp71 = f_ctl & 3U;
30396#line 2410
30397        __cil_tmp72 = 0 + 104;
30398#line 2410
30399        __cil_tmp73 = (unsigned long )fp;
30400#line 2410
30401        __cil_tmp74 = __cil_tmp73 + __cil_tmp72;
30402#line 2410
30403        __cil_tmp75 = *((unsigned int *)__cil_tmp74);
30404#line 2410
30405        __cil_tmp76 = __cil_tmp75 - __cil_tmp71;
30406#line 2410
30407        skb_trim(__cil_tmp70, __cil_tmp76);
30408        }
30409      } else {
30410
30411      }
30412      }
30413      case_65: /* CIL Label */ 
30414      {
30415#line 2413
30416      __cil_tmp77 = (unsigned long )fh;
30417#line 2413
30418      __cil_tmp78 = __cil_tmp77 + 8;
30419#line 2413
30420      __cil_tmp79 = *((__u8 *)__cil_tmp78);
30421#line 2413
30422      __cil_tmp80 = (int )__cil_tmp79;
30423#line 2413
30424      if (__cil_tmp80 == 0) {
30425        {
30426#line 2414
30427        __cil_tmp81 = (unsigned long )ema;
30428#line 2414
30429        __cil_tmp82 = __cil_tmp81 + 16;
30430#line 2414
30431        __cil_tmp83 = *((struct fc_exch_mgr **)__cil_tmp82);
30432#line 2414
30433        fc_exch_recv_bls(__cil_tmp83, fp);
30434        }
30435      } else {
30436        {
30437#line 2415
30438        __cil_tmp84 = 1 << 23;
30439#line 2415
30440        __cil_tmp85 = (unsigned int )__cil_tmp84;
30441#line 2415
30442        __cil_tmp86 = 1 << 22;
30443#line 2415
30444        __cil_tmp87 = 1 << 23;
30445#line 2415
30446        __cil_tmp88 = __cil_tmp87 | __cil_tmp86;
30447#line 2415
30448        __cil_tmp89 = (unsigned int )__cil_tmp88;
30449#line 2415
30450        __cil_tmp90 = f_ctl & __cil_tmp89;
30451#line 2415
30452        if (__cil_tmp90 == __cil_tmp85) {
30453          {
30454#line 2417
30455          __cil_tmp91 = (unsigned long )ema;
30456#line 2417
30457          __cil_tmp92 = __cil_tmp91 + 16;
30458#line 2417
30459          __cil_tmp93 = *((struct fc_exch_mgr **)__cil_tmp92);
30460#line 2417
30461          fc_exch_recv_seq_resp(__cil_tmp93, fp);
30462          }
30463        } else {
30464          {
30465#line 2418
30466          __cil_tmp94 = 1 << 22;
30467#line 2418
30468          __cil_tmp95 = (unsigned int )__cil_tmp94;
30469#line 2418
30470          if (f_ctl & __cil_tmp95) {
30471            {
30472#line 2419
30473            __cil_tmp96 = (unsigned long )ema;
30474#line 2419
30475            __cil_tmp97 = __cil_tmp96 + 16;
30476#line 2419
30477            __cil_tmp98 = *((struct fc_exch_mgr **)__cil_tmp97);
30478#line 2419
30479            fc_exch_recv_resp(__cil_tmp98, fp);
30480            }
30481          } else {
30482            {
30483#line 2421
30484            __cil_tmp99 = (unsigned long )ema;
30485#line 2421
30486            __cil_tmp100 = __cil_tmp99 + 16;
30487#line 2421
30488            __cil_tmp101 = *((struct fc_exch_mgr **)__cil_tmp100);
30489#line 2421
30490            fc_exch_recv_req(lport, __cil_tmp101, fp);
30491            }
30492          }
30493          }
30494        }
30495        }
30496      }
30497      }
30498#line 2422
30499      goto switch_break;
30500      switch_default: /* CIL Label */ 
30501      {
30502#line 2424
30503      while (1) {
30504        while_continue___3: /* CIL Label */ ;
30505        {
30506#line 2424
30507        __cil_tmp102 = & fc_debug_logging;
30508#line 2424
30509        __cil_tmp103 = *__cil_tmp102;
30510#line 2424
30511        __cil_tmp104 = __cil_tmp103 & 2U;
30512#line 2424
30513        __cil_tmp105 = ! __cil_tmp104;
30514#line 2424
30515        __cil_tmp106 = ! __cil_tmp105;
30516#line 2424
30517        __cil_tmp107 = (long )__cil_tmp106;
30518#line 2424
30519        tmp___13 = __builtin_expect(__cil_tmp107, 0L);
30520        }
30521#line 2424
30522        if (tmp___13) {
30523          {
30524#line 2424
30525          while (1) {
30526            while_continue___4: /* CIL Label */ ;
30527            {
30528#line 2424
30529            __cil_tmp108 = *((struct Scsi_Host **)lport);
30530#line 2424
30531            __cil_tmp109 = (unsigned long )__cil_tmp108;
30532#line 2424
30533            __cil_tmp110 = __cil_tmp109 + 308;
30534#line 2424
30535            __cil_tmp111 = *((unsigned int *)__cil_tmp110);
30536#line 2424
30537            __cil_tmp112 = (unsigned long )lport;
30538#line 2424
30539            __cil_tmp113 = __cil_tmp112 + 788;
30540#line 2424
30541            __cil_tmp114 = *((u32 *)__cil_tmp113);
30542#line 2424
30543            __cil_tmp115 = 0 * 1UL;
30544#line 2424
30545            __cil_tmp116 = 40 + __cil_tmp115;
30546#line 2424
30547            __cil_tmp117 = 0 + __cil_tmp116;
30548#line 2424
30549            __cil_tmp118 = (unsigned long )fp;
30550#line 2424
30551            __cil_tmp119 = __cil_tmp118 + __cil_tmp117;
30552#line 2424
30553            __cil_tmp120 = (char *)__cil_tmp119;
30554#line 2424
30555            __cil_tmp121 = (struct fcoe_rcv_info *)__cil_tmp120;
30556#line 2424
30557            __cil_tmp122 = (unsigned long )__cil_tmp121;
30558#line 2424
30559            __cil_tmp123 = __cil_tmp122 + 31;
30560#line 2424
30561            __cil_tmp124 = *((u8 *)__cil_tmp123);
30562#line 2424
30563            __cil_tmp125 = (int )__cil_tmp124;
30564#line 2424
30565            printk("<6>host%u: lport %6.6x: dropping invalid frame (eof %x)", __cil_tmp111,
30566                   __cil_tmp114, __cil_tmp125);
30567            }
30568#line 2424
30569            goto while_break___4;
30570          }
30571          while_break___4: /* CIL Label */ ;
30572          }
30573        } else {
30574
30575        }
30576#line 2424
30577        goto while_break___3;
30578      }
30579      while_break___3: /* CIL Label */ ;
30580      }
30581      {
30582#line 2426
30583      fc_frame_free(fp);
30584      }
30585    } else {
30586      switch_break: /* CIL Label */ ;
30587    }
30588    }
30589  }
30590  }
30591#line 2428
30592  return;
30593}
30594}
30595#line 2429
30596extern void *__crc_fc_exch_recv  __attribute__((__weak__)) ;
30597#line 2429 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
30598static unsigned long    __kcrctab_fc_exch_recv  __attribute__((__used__, __unused__,
30599__section__("___kcrctab+fc_exch_recv")))  =    (unsigned long    )((unsigned long )(& __crc_fc_exch_recv));
30600#line 2429 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
30601static char    __kstrtab_fc_exch_recv[13]  __attribute__((__section__("__ksymtab_strings"),
30602__aligned__(1)))  = 
30603#line 2429
30604  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'e', 
30605        (char    )'x',      (char    )'c',      (char const   )'h',      (char const   )'_', 
30606        (char    )'r',      (char    )'e',      (char const   )'c',      (char const   )'v', 
30607        (char    )'\000'};
30608#line 2429 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
30609static struct kernel_symbol    __ksymtab_fc_exch_recv  __attribute__((__used__,
30610__unused__, __section__("___ksymtab+fc_exch_recv")))  =    {(unsigned long )(& fc_exch_recv), __kstrtab_fc_exch_recv};
30611#line 2435 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
30612int fc_exch_init(struct fc_lport *lport ) 
30613{ unsigned long __cil_tmp2 ;
30614  unsigned long __cil_tmp3 ;
30615  unsigned long __cil_tmp4 ;
30616  struct fc_seq *(*__cil_tmp5)(struct fc_seq * ) ;
30617  unsigned long __cil_tmp6 ;
30618  unsigned long __cil_tmp7 ;
30619  unsigned long __cil_tmp8 ;
30620  unsigned long __cil_tmp9 ;
30621  unsigned long __cil_tmp10 ;
30622  unsigned long __cil_tmp11 ;
30623  void (*__cil_tmp12)(struct fc_seq *sp , void (*resp)(struct fc_seq * , struct fc_frame * ,
30624                                                       void * ) , void *arg ) ;
30625  unsigned long __cil_tmp13 ;
30626  unsigned long __cil_tmp14 ;
30627  unsigned long __cil_tmp15 ;
30628  unsigned long __cil_tmp16 ;
30629  unsigned long __cil_tmp17 ;
30630  unsigned long __cil_tmp18 ;
30631  struct fc_seq *(*__cil_tmp19)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
30632                                                                                     struct fc_frame * ,
30633                                                                                     void * ) ,
30634                                void (*destructor)(struct fc_seq * , void * ) , void * ,
30635                                unsigned int timer_msec ) ;
30636  unsigned long __cil_tmp20 ;
30637  unsigned long __cil_tmp21 ;
30638  unsigned long __cil_tmp22 ;
30639  unsigned long __cil_tmp23 ;
30640  unsigned long __cil_tmp24 ;
30641  unsigned long __cil_tmp25 ;
30642  int (*__cil_tmp26)(struct fc_lport * , struct fc_seq * , struct fc_frame * ) ;
30643  unsigned long __cil_tmp27 ;
30644  unsigned long __cil_tmp28 ;
30645  unsigned long __cil_tmp29 ;
30646  unsigned long __cil_tmp30 ;
30647  unsigned long __cil_tmp31 ;
30648  unsigned long __cil_tmp32 ;
30649  void (*__cil_tmp33)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
30650  unsigned long __cil_tmp34 ;
30651  unsigned long __cil_tmp35 ;
30652  unsigned long __cil_tmp36 ;
30653  unsigned long __cil_tmp37 ;
30654  unsigned long __cil_tmp38 ;
30655  unsigned long __cil_tmp39 ;
30656  void (*__cil_tmp40)(struct fc_seq * ) ;
30657  unsigned long __cil_tmp41 ;
30658  unsigned long __cil_tmp42 ;
30659  unsigned long __cil_tmp43 ;
30660  unsigned long __cil_tmp44 ;
30661  unsigned long __cil_tmp45 ;
30662  unsigned long __cil_tmp46 ;
30663  void (*__cil_tmp47)(struct fc_lport * , u32 s_id , u32 d_id ) ;
30664  unsigned long __cil_tmp48 ;
30665  unsigned long __cil_tmp49 ;
30666  unsigned long __cil_tmp50 ;
30667  unsigned long __cil_tmp51 ;
30668  unsigned long __cil_tmp52 ;
30669  unsigned long __cil_tmp53 ;
30670  int (*__cil_tmp54)(struct fc_seq    * , unsigned int timer_msec ) ;
30671  unsigned long __cil_tmp55 ;
30672  unsigned long __cil_tmp56 ;
30673  unsigned long __cil_tmp57 ;
30674  unsigned long __cil_tmp58 ;
30675  unsigned long __cil_tmp59 ;
30676  unsigned long __cil_tmp60 ;
30677  struct fc_seq *(*__cil_tmp61)(struct fc_lport * , struct fc_frame * ) ;
30678  unsigned long __cil_tmp62 ;
30679  unsigned long __cil_tmp63 ;
30680  unsigned long __cil_tmp64 ;
30681  unsigned long __cil_tmp65 ;
30682  unsigned long __cil_tmp66 ;
30683  unsigned long __cil_tmp67 ;
30684  void (*__cil_tmp68)(struct fc_seq * ) ;
30685  unsigned long __cil_tmp69 ;
30686  unsigned long __cil_tmp70 ;
30687  unsigned long __cil_tmp71 ;
30688
30689  {
30690  {
30691#line 2437
30692  __cil_tmp2 = 328 + 88;
30693#line 2437
30694  __cil_tmp3 = (unsigned long )lport;
30695#line 2437
30696  __cil_tmp4 = __cil_tmp3 + __cil_tmp2;
30697#line 2437
30698  __cil_tmp5 = *((struct fc_seq *(**)(struct fc_seq * ))__cil_tmp4);
30699#line 2437
30700  if (! __cil_tmp5) {
30701#line 2438
30702    __cil_tmp6 = 328 + 88;
30703#line 2438
30704    __cil_tmp7 = (unsigned long )lport;
30705#line 2438
30706    __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
30707#line 2438
30708    *((struct fc_seq *(**)(struct fc_seq * ))__cil_tmp8) = & fc_seq_start_next;
30709  } else {
30710
30711  }
30712  }
30713  {
30714#line 2440
30715  __cil_tmp9 = 328 + 96;
30716#line 2440
30717  __cil_tmp10 = (unsigned long )lport;
30718#line 2440
30719  __cil_tmp11 = __cil_tmp10 + __cil_tmp9;
30720#line 2440
30721  __cil_tmp12 = *((void (**)(struct fc_seq *sp , void (*resp)(struct fc_seq * , struct fc_frame * ,
30722                                                              void * ) , void *arg ))__cil_tmp11);
30723#line 2440
30724  if (! __cil_tmp12) {
30725#line 2441
30726    __cil_tmp13 = 328 + 96;
30727#line 2441
30728    __cil_tmp14 = (unsigned long )lport;
30729#line 2441
30730    __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
30731#line 2441
30732    *((void (**)(struct fc_seq *sp , void (*resp)(struct fc_seq * , struct fc_frame * ,
30733                                                  void * ) , void *arg ))__cil_tmp15) = & fc_seq_set_resp;
30734  } else {
30735
30736  }
30737  }
30738  {
30739#line 2443
30740  __cil_tmp16 = 328 + 16;
30741#line 2443
30742  __cil_tmp17 = (unsigned long )lport;
30743#line 2443
30744  __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
30745#line 2443
30746  __cil_tmp19 = *((struct fc_seq *(**)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
30747                                                                                            struct fc_frame * ,
30748                                                                                            void * ) ,
30749                                       void (*destructor)(struct fc_seq * , void * ) ,
30750                                       void * , unsigned int timer_msec ))__cil_tmp18);
30751#line 2443
30752  if (! __cil_tmp19) {
30753#line 2444
30754    __cil_tmp20 = 328 + 16;
30755#line 2444
30756    __cil_tmp21 = (unsigned long )lport;
30757#line 2444
30758    __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
30759#line 2444
30760    *((struct fc_seq *(**)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
30761                                                                                struct fc_frame * ,
30762                                                                                void * ) ,
30763                           void (*destructor)(struct fc_seq * , void * ) , void * ,
30764                           unsigned int timer_msec ))__cil_tmp22) = & fc_exch_seq_send;
30765  } else {
30766
30767  }
30768  }
30769  {
30770#line 2446
30771  __cil_tmp23 = 328 + 56;
30772#line 2446
30773  __cil_tmp24 = (unsigned long )lport;
30774#line 2446
30775  __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
30776#line 2446
30777  __cil_tmp26 = *((int (**)(struct fc_lport * , struct fc_seq * , struct fc_frame * ))__cil_tmp25);
30778#line 2446
30779  if (! __cil_tmp26) {
30780#line 2447
30781    __cil_tmp27 = 328 + 56;
30782#line 2447
30783    __cil_tmp28 = (unsigned long )lport;
30784#line 2447
30785    __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
30786#line 2447
30787    *((int (**)(struct fc_lport * , struct fc_seq * , struct fc_frame * ))__cil_tmp29) = & fc_seq_send;
30788  } else {
30789
30790  }
30791  }
30792  {
30793#line 2449
30794  __cil_tmp30 = 328 + 64;
30795#line 2449
30796  __cil_tmp31 = (unsigned long )lport;
30797#line 2449
30798  __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
30799#line 2449
30800  __cil_tmp33 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp32);
30801#line 2449
30802  if (! __cil_tmp33) {
30803#line 2450
30804    __cil_tmp34 = 328 + 64;
30805#line 2450
30806    __cil_tmp35 = (unsigned long )lport;
30807#line 2450
30808    __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
30809#line 2450
30810    *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp36) = & fc_seq_els_rsp_send;
30811  } else {
30812
30813  }
30814  }
30815  {
30816#line 2452
30817  __cil_tmp37 = 328 + 80;
30818#line 2452
30819  __cil_tmp38 = (unsigned long )lport;
30820#line 2452
30821  __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
30822#line 2452
30823  __cil_tmp40 = *((void (**)(struct fc_seq * ))__cil_tmp39);
30824#line 2452
30825  if (! __cil_tmp40) {
30826#line 2453
30827    __cil_tmp41 = 328 + 80;
30828#line 2453
30829    __cil_tmp42 = (unsigned long )lport;
30830#line 2453
30831    __cil_tmp43 = __cil_tmp42 + __cil_tmp41;
30832#line 2453
30833    *((void (**)(struct fc_seq * ))__cil_tmp43) = & fc_exch_done;
30834  } else {
30835
30836  }
30837  }
30838  {
30839#line 2455
30840  __cil_tmp44 = 328 + 120;
30841#line 2455
30842  __cil_tmp45 = (unsigned long )lport;
30843#line 2455
30844  __cil_tmp46 = __cil_tmp45 + __cil_tmp44;
30845#line 2455
30846  __cil_tmp47 = *((void (**)(struct fc_lport * , u32 s_id , u32 d_id ))__cil_tmp46);
30847#line 2455
30848  if (! __cil_tmp47) {
30849#line 2456
30850    __cil_tmp48 = 328 + 120;
30851#line 2456
30852    __cil_tmp49 = (unsigned long )lport;
30853#line 2456
30854    __cil_tmp50 = __cil_tmp49 + __cil_tmp48;
30855#line 2456
30856    *((void (**)(struct fc_lport * , u32 s_id , u32 d_id ))__cil_tmp50) = & fc_exch_mgr_reset;
30857  } else {
30858
30859  }
30860  }
30861  {
30862#line 2458
30863  __cil_tmp51 = 328 + 72;
30864#line 2458
30865  __cil_tmp52 = (unsigned long )lport;
30866#line 2458
30867  __cil_tmp53 = __cil_tmp52 + __cil_tmp51;
30868#line 2458
30869  __cil_tmp54 = *((int (**)(struct fc_seq    * , unsigned int timer_msec ))__cil_tmp53);
30870#line 2458
30871  if (! __cil_tmp54) {
30872#line 2459
30873    __cil_tmp55 = 328 + 72;
30874#line 2459
30875    __cil_tmp56 = (unsigned long )lport;
30876#line 2459
30877    __cil_tmp57 = __cil_tmp56 + __cil_tmp55;
30878#line 2459
30879    *((int (**)(struct fc_seq    * , unsigned int timer_msec ))__cil_tmp57) = & fc_seq_exch_abort;
30880  } else {
30881
30882  }
30883  }
30884  {
30885#line 2461
30886  __cil_tmp58 = 328 + 104;
30887#line 2461
30888  __cil_tmp59 = (unsigned long )lport;
30889#line 2461
30890  __cil_tmp60 = __cil_tmp59 + __cil_tmp58;
30891#line 2461
30892  __cil_tmp61 = *((struct fc_seq *(**)(struct fc_lport * , struct fc_frame * ))__cil_tmp60);
30893#line 2461
30894  if (! __cil_tmp61) {
30895#line 2462
30896    __cil_tmp62 = 328 + 104;
30897#line 2462
30898    __cil_tmp63 = (unsigned long )lport;
30899#line 2462
30900    __cil_tmp64 = __cil_tmp63 + __cil_tmp62;
30901#line 2462
30902    *((struct fc_seq *(**)(struct fc_lport * , struct fc_frame * ))__cil_tmp64) = & fc_seq_assign;
30903  } else {
30904
30905  }
30906  }
30907  {
30908#line 2464
30909  __cil_tmp65 = 328 + 112;
30910#line 2464
30911  __cil_tmp66 = (unsigned long )lport;
30912#line 2464
30913  __cil_tmp67 = __cil_tmp66 + __cil_tmp65;
30914#line 2464
30915  __cil_tmp68 = *((void (**)(struct fc_seq * ))__cil_tmp67);
30916#line 2464
30917  if (! __cil_tmp68) {
30918#line 2465
30919    __cil_tmp69 = 328 + 112;
30920#line 2465
30921    __cil_tmp70 = (unsigned long )lport;
30922#line 2465
30923    __cil_tmp71 = __cil_tmp70 + __cil_tmp69;
30924#line 2465
30925    *((void (**)(struct fc_seq * ))__cil_tmp71) = & fc_seq_release;
30926  } else {
30927
30928  }
30929  }
30930#line 2467
30931  return (0);
30932}
30933}
30934#line 2469
30935extern void *__crc_fc_exch_init  __attribute__((__weak__)) ;
30936#line 2469 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
30937static unsigned long    __kcrctab_fc_exch_init  __attribute__((__used__, __unused__,
30938__section__("___kcrctab+fc_exch_init")))  =    (unsigned long    )((unsigned long )(& __crc_fc_exch_init));
30939#line 2469 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
30940static char    __kstrtab_fc_exch_init[13]  __attribute__((__section__("__ksymtab_strings"),
30941__aligned__(1)))  = 
30942#line 2469
30943  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'e', 
30944        (char    )'x',      (char    )'c',      (char const   )'h',      (char const   )'_', 
30945        (char    )'i',      (char    )'n',      (char const   )'i',      (char const   )'t', 
30946        (char    )'\000'};
30947#line 2469 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
30948static struct kernel_symbol    __ksymtab_fc_exch_init  __attribute__((__used__,
30949__unused__, __section__("___ksymtab+fc_exch_init")))  =    {(unsigned long )(& fc_exch_init), __kstrtab_fc_exch_init};
30950#line 2474 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
30951int fc_setup_exch_mgr(void) 
30952{ size_t __cil_tmp1 ;
30953  void *__cil_tmp2 ;
30954  void (*__cil_tmp3)(void * ) ;
30955  u16 *__cil_tmp4 ;
30956  u16 *__cil_tmp5 ;
30957  u16 __cil_tmp6 ;
30958  int __cil_tmp7 ;
30959  u16 *__cil_tmp8 ;
30960  u16 *__cil_tmp9 ;
30961  u16 __cil_tmp10 ;
30962  int __cil_tmp11 ;
30963  int __cil_tmp12 ;
30964  int __cil_tmp13 ;
30965  int __cil_tmp14 ;
30966  u16 *__cil_tmp15 ;
30967  u16 *__cil_tmp16 ;
30968  u16 __cil_tmp17 ;
30969  int __cil_tmp18 ;
30970  int __cil_tmp19 ;
30971  void *__cil_tmp20 ;
30972  struct lock_class_key *__cil_tmp21 ;
30973  void *__cil_tmp22 ;
30974  char    *__cil_tmp23 ;
30975
30976  {
30977  {
30978#line 2476
30979  __cil_tmp1 = (size_t )0;
30980#line 2476
30981  __cil_tmp2 = (void *)0;
30982#line 2476
30983  __cil_tmp3 = (void (*)(void * ))__cil_tmp2;
30984#line 2476
30985  fc_em_cachep = kmem_cache_create("libfc_em", 256UL, __cil_tmp1, 8192UL, __cil_tmp3);
30986  }
30987#line 2478
30988  if (! fc_em_cachep) {
30989#line 2479
30990    return (-12);
30991  } else {
30992
30993  }
30994#line 2495
30995  __cil_tmp4 = & fc_cpu_mask;
30996#line 2495
30997  *__cil_tmp4 = (u16 )1;
30998#line 2496
30999  fc_cpu_order = (u16 )0;
31000  {
31001#line 2497
31002  while (1) {
31003    while_continue: /* CIL Label */ ;
31004    {
31005#line 2497
31006    __cil_tmp5 = & fc_cpu_mask;
31007#line 2497
31008    __cil_tmp6 = *__cil_tmp5;
31009#line 2497
31010    __cil_tmp7 = (int )__cil_tmp6;
31011#line 2497
31012    if (__cil_tmp7 < nr_cpu_ids) {
31013
31014    } else {
31015#line 2497
31016      goto while_break;
31017    }
31018    }
31019#line 2498
31020    __cil_tmp8 = & fc_cpu_mask;
31021#line 2498
31022    __cil_tmp9 = & fc_cpu_mask;
31023#line 2498
31024    __cil_tmp10 = *__cil_tmp9;
31025#line 2498
31026    __cil_tmp11 = (int )__cil_tmp10;
31027#line 2498
31028    __cil_tmp12 = __cil_tmp11 << 1;
31029#line 2498
31030    *__cil_tmp8 = (u16 )__cil_tmp12;
31031#line 2499
31032    __cil_tmp13 = (int )fc_cpu_order;
31033#line 2499
31034    __cil_tmp14 = __cil_tmp13 + 1;
31035#line 2499
31036    fc_cpu_order = (u16 )__cil_tmp14;
31037  }
31038  while_break: /* CIL Label */ ;
31039  }
31040  {
31041#line 2501
31042  __cil_tmp15 = & fc_cpu_mask;
31043#line 2501
31044  __cil_tmp16 = & fc_cpu_mask;
31045#line 2501
31046  __cil_tmp17 = *__cil_tmp16;
31047#line 2501
31048  __cil_tmp18 = (int )__cil_tmp17;
31049#line 2501
31050  __cil_tmp19 = __cil_tmp18 - 1;
31051#line 2501
31052  *__cil_tmp15 = (u16 )__cil_tmp19;
31053#line 2503
31054  __cil_tmp20 = (void *)0;
31055#line 2503
31056  __cil_tmp21 = (struct lock_class_key *)__cil_tmp20;
31057#line 2503
31058  __cil_tmp22 = (void *)0;
31059#line 2503
31060  __cil_tmp23 = (char    *)__cil_tmp22;
31061#line 2503
31062  fc_exch_workqueue = __alloc_workqueue_key("fc_exch_workqueue", 10U, 1, __cil_tmp21,
31063                                            __cil_tmp23);
31064  }
31065#line 2504
31066  if (! fc_exch_workqueue) {
31067#line 2505
31068    goto err;
31069  } else {
31070
31071  }
31072#line 2506
31073  return (0);
31074  err: 
31075  {
31076#line 2508
31077  kmem_cache_destroy(fc_em_cachep);
31078  }
31079#line 2509
31080  return (-12);
31081}
31082}
31083#line 2515 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_exch.c"
31084void fc_destroy_exch_mgr(void) 
31085{ 
31086
31087  {
31088  {
31089#line 2517
31090  destroy_workqueue(fc_exch_workqueue);
31091#line 2518
31092  kmem_cache_destroy(fc_em_cachep);
31093  }
31094#line 2519
31095  return;
31096}
31097}
31098#line 322 "include/linux/kernel.h"
31099extern int ( /* format attribute */  snprintf)(char *buf , size_t size , char    *fmt 
31100                                               , ...) ;
31101#line 52 "include/linux/unaligned/access_ok.h"
31102__inline static void put_unaligned_be16(u16 val , void *p )  __attribute__((__no_instrument_function__)) ;
31103#line 52 "include/linux/unaligned/access_ok.h"
31104__inline static void put_unaligned_be16(u16 val , void *p ) 
31105{ __u16 tmp ;
31106  __be16 *__cil_tmp4 ;
31107  int __cil_tmp5 ;
31108
31109  {
31110  {
31111#line 54
31112  tmp = __fswab16(val);
31113#line 54
31114  __cil_tmp4 = (__be16 *)p;
31115#line 54
31116  __cil_tmp5 = (int )tmp;
31117#line 54
31118  *__cil_tmp4 = (__be16 )__cil_tmp5;
31119  }
31120#line 55
31121  return;
31122}
31123}
31124#line 57
31125__inline static void put_unaligned_be32(u32 val , void *p )  __attribute__((__no_instrument_function__)) ;
31126#line 57 "include/linux/unaligned/access_ok.h"
31127__inline static void put_unaligned_be32(u32 val , void *p ) 
31128{ __u32 tmp ;
31129  __be32 *__cil_tmp4 ;
31130
31131  {
31132  {
31133#line 59
31134  tmp = __fswab32(val);
31135#line 59
31136  __cil_tmp4 = (__be32 *)p;
31137#line 59
31138  *__cil_tmp4 = tmp;
31139  }
31140#line 60
31141  return;
31142}
31143}
31144#line 62
31145__inline static void put_unaligned_be64(u64 val , void *p )  __attribute__((__no_instrument_function__)) ;
31146#line 62 "include/linux/unaligned/access_ok.h"
31147__inline static void put_unaligned_be64(u64 val , void *p ) 
31148{ __u64 tmp ;
31149  __be64 *__cil_tmp4 ;
31150
31151  {
31152  {
31153#line 64
31154  tmp = __fswab64(val);
31155#line 64
31156  __cil_tmp4 = (__be64 *)p;
31157#line 64
31158  *__cil_tmp4 = tmp;
31159  }
31160#line 65
31161  return;
31162}
31163}
31164#line 61 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/string_64.h"
31165extern unsigned long strlen(char    *s ) ;
31166#line 27 "include/linux/string.h"
31167extern char *strncpy(char * , char    * , __kernel_size_t  ) ;
31168#line 84
31169extern __kernel_size_t strnlen(char    * , __kernel_size_t  ) ;
31170#line 80 "include/linux/kobject.h"
31171__inline static char    *kobject_name(struct kobject    *kobj )  __attribute__((__no_instrument_function__)) ;
31172#line 80 "include/linux/kobject.h"
31173__inline static char    *kobject_name(struct kobject    *kobj ) 
31174{ char    *   __cil_tmp2 ;
31175
31176  {
31177  {
31178#line 82
31179  __cil_tmp2 = *((char    *   *)kobj);
31180#line 82
31181  return ((char    *)__cil_tmp2);
31182  }
31183}
31184}
31185#line 685 "include/linux/device.h"
31186__inline static char    *dev_name(struct device    *dev )  __attribute__((__no_instrument_function__)) ;
31187#line 685 "include/linux/device.h"
31188__inline static char    *dev_name(struct device    *dev ) 
31189{ char    *tmp ;
31190  unsigned long __cil_tmp3 ;
31191  unsigned long __cil_tmp4 ;
31192  unsigned long __cil_tmp5 ;
31193  unsigned long __cil_tmp6 ;
31194  char    *   __cil_tmp7 ;
31195  unsigned long __cil_tmp8 ;
31196  unsigned long __cil_tmp9 ;
31197  struct kobject    *__cil_tmp10 ;
31198
31199  {
31200  {
31201#line 688
31202  __cil_tmp3 = (unsigned long )dev;
31203#line 688
31204  __cil_tmp4 = __cil_tmp3 + 80;
31205#line 688
31206  if (*((char    *   *)__cil_tmp4)) {
31207    {
31208#line 689
31209    __cil_tmp5 = (unsigned long )dev;
31210#line 689
31211    __cil_tmp6 = __cil_tmp5 + 80;
31212#line 689
31213    __cil_tmp7 = *((char    *   *)__cil_tmp6);
31214#line 689
31215    return ((char    *)__cil_tmp7);
31216    }
31217  } else {
31218
31219  }
31220  }
31221  {
31222#line 691
31223  __cil_tmp8 = (unsigned long )dev;
31224#line 691
31225  __cil_tmp9 = __cil_tmp8 + 16;
31226#line 691
31227  __cil_tmp10 = (struct kobject    *)__cil_tmp9;
31228#line 691
31229  tmp = kobject_name(__cil_tmp10);
31230  }
31231#line 691
31232  return (tmp);
31233}
31234}
31235#line 1099 "include/scsi/libfc.h"
31236int fc_elsct_init(struct fc_lport *lport ) ;
31237#line 1100
31238struct fc_seq *fc_elsct_send(struct fc_lport *lport , u32 did , struct fc_frame *fp ,
31239                             unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
31240                                                            void *arg ) , void *arg ,
31241                             u32 timer_msec ) ;
31242#line 56 "include/linux/utsname.h"
31243extern struct uts_namespace init_uts_ns ;
31244#line 104
31245__inline static struct new_utsname *init_utsname(void)  __attribute__((__no_instrument_function__)) ;
31246#line 104 "include/linux/utsname.h"
31247__inline static struct new_utsname *init_utsname(void) 
31248{ unsigned long __cil_tmp1 ;
31249
31250  {
31251  {
31252#line 106
31253  __cil_tmp1 = (unsigned long )(& init_uts_ns) + 4;
31254#line 106
31255  return ((struct new_utsname *)__cil_tmp1);
31256  }
31257}
31258}
31259#line 88 "include/scsi/fc_encode.h"
31260__inline static void fc_adisc_fill(struct fc_lport *lport , struct fc_frame *fp )  __attribute__((__no_instrument_function__)) ;
31261#line 88 "include/scsi/fc_encode.h"
31262__inline static void fc_adisc_fill(struct fc_lport *lport , struct fc_frame *fp ) 
31263{ struct fc_els_adisc *adisc ;
31264  void *tmp___7 ;
31265  struct fc_frame    *__cil_tmp5 ;
31266  void *__cil_tmp6 ;
31267  unsigned long __cil_tmp7 ;
31268  unsigned long __cil_tmp8 ;
31269  u64 __cil_tmp9 ;
31270  unsigned long __cil_tmp10 ;
31271  unsigned long __cil_tmp11 ;
31272  __be64 *__cil_tmp12 ;
31273  void *__cil_tmp13 ;
31274  unsigned long __cil_tmp14 ;
31275  unsigned long __cil_tmp15 ;
31276  u64 __cil_tmp16 ;
31277  unsigned long __cil_tmp17 ;
31278  unsigned long __cil_tmp18 ;
31279  __be64 *__cil_tmp19 ;
31280  void *__cil_tmp20 ;
31281  unsigned long __cil_tmp21 ;
31282  unsigned long __cil_tmp22 ;
31283  unsigned long __cil_tmp23 ;
31284  unsigned long __cil_tmp24 ;
31285  __u8 *__cil_tmp25 ;
31286  unsigned long __cil_tmp26 ;
31287  unsigned long __cil_tmp27 ;
31288  u32 __cil_tmp28 ;
31289
31290  {
31291  {
31292#line 92
31293  __cil_tmp5 = (struct fc_frame    *)fp;
31294#line 92
31295  tmp___7 = fc_frame_payload_get(__cil_tmp5, 28UL);
31296#line 92
31297  adisc = (struct fc_els_adisc *)tmp___7;
31298#line 93
31299  __cil_tmp6 = (void *)adisc;
31300#line 93
31301  memset(__cil_tmp6, 0, 28UL);
31302#line 94
31303  *((__u8 *)adisc) = (__u8 )82;
31304#line 95
31305  __cil_tmp7 = (unsigned long )lport;
31306#line 95
31307  __cil_tmp8 = __cil_tmp7 + 792;
31308#line 95
31309  __cil_tmp9 = *((u64 *)__cil_tmp8);
31310#line 95
31311  __cil_tmp10 = (unsigned long )adisc;
31312#line 95
31313  __cil_tmp11 = __cil_tmp10 + 8;
31314#line 95
31315  __cil_tmp12 = (__be64 *)__cil_tmp11;
31316#line 95
31317  __cil_tmp13 = (void *)__cil_tmp12;
31318#line 95
31319  put_unaligned_be64(__cil_tmp9, __cil_tmp13);
31320#line 96
31321  __cil_tmp14 = (unsigned long )lport;
31322#line 96
31323  __cil_tmp15 = __cil_tmp14 + 800;
31324#line 96
31325  __cil_tmp16 = *((u64 *)__cil_tmp15);
31326#line 96
31327  __cil_tmp17 = (unsigned long )adisc;
31328#line 96
31329  __cil_tmp18 = __cil_tmp17 + 16;
31330#line 96
31331  __cil_tmp19 = (__be64 *)__cil_tmp18;
31332#line 96
31333  __cil_tmp20 = (void *)__cil_tmp19;
31334#line 96
31335  put_unaligned_be64(__cil_tmp16, __cil_tmp20);
31336#line 97
31337  __cil_tmp21 = 0 * 1UL;
31338#line 97
31339  __cil_tmp22 = 25 + __cil_tmp21;
31340#line 97
31341  __cil_tmp23 = (unsigned long )adisc;
31342#line 97
31343  __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
31344#line 97
31345  __cil_tmp25 = (__u8 *)__cil_tmp24;
31346#line 97
31347  __cil_tmp26 = (unsigned long )lport;
31348#line 97
31349  __cil_tmp27 = __cil_tmp26 + 788;
31350#line 97
31351  __cil_tmp28 = *((u32 *)__cil_tmp27);
31352#line 97
31353  hton24(__cil_tmp25, __cil_tmp28);
31354  }
31355#line 98
31356  return;
31357}
31358}
31359#line 104
31360__inline static struct fc_ct_req *fc_ct_hdr_fill(struct fc_frame    *fp , unsigned int op ,
31361                                                 size_t req_size , enum fc_ct_fs_type fs_type ,
31362                                                 u8 subtype )  __attribute__((__no_instrument_function__)) ;
31363#line 104 "include/scsi/fc_encode.h"
31364__inline static struct fc_ct_req *fc_ct_hdr_fill(struct fc_frame    *fp , unsigned int op ,
31365                                                 size_t req_size , enum fc_ct_fs_type fs_type ,
31366                                                 u8 subtype ) 
31367{ struct fc_ct_req *ct ;
31368  size_t ct_plen ;
31369  void *tmp___7 ;
31370  __u16 tmp___8 ;
31371  void *__cil_tmp10 ;
31372  unsigned long __cil_tmp11 ;
31373  unsigned long __cil_tmp12 ;
31374  unsigned long __cil_tmp13 ;
31375  unsigned long __cil_tmp14 ;
31376  unsigned long __cil_tmp15 ;
31377  unsigned long __cil_tmp16 ;
31378  u16 __cil_tmp17 ;
31379  unsigned long __cil_tmp18 ;
31380  unsigned long __cil_tmp19 ;
31381  unsigned long __cil_tmp20 ;
31382  int __cil_tmp21 ;
31383
31384  {
31385  {
31386#line 112
31387  ct_plen = 16UL + req_size;
31388#line 113
31389  tmp___7 = fc_frame_payload_get(fp, ct_plen);
31390#line 113
31391  ct = (struct fc_ct_req *)tmp___7;
31392#line 114
31393  __cil_tmp10 = (void *)ct;
31394#line 114
31395  memset(__cil_tmp10, 0, ct_plen);
31396#line 115
31397  *((__u8 *)ct) = (__u8 )1;
31398#line 116
31399  __cil_tmp11 = 0 + 4;
31400#line 116
31401  __cil_tmp12 = (unsigned long )ct;
31402#line 116
31403  __cil_tmp13 = __cil_tmp12 + __cil_tmp11;
31404#line 116
31405  *((__u8 *)__cil_tmp13) = (__u8 )fs_type;
31406#line 117
31407  __cil_tmp14 = 0 + 5;
31408#line 117
31409  __cil_tmp15 = (unsigned long )ct;
31410#line 117
31411  __cil_tmp16 = __cil_tmp15 + __cil_tmp14;
31412#line 117
31413  *((__u8 *)__cil_tmp16) = subtype;
31414#line 118
31415  __cil_tmp17 = (u16 )op;
31416#line 118
31417  tmp___8 = __fswab16(__cil_tmp17);
31418#line 118
31419  __cil_tmp18 = 0 + 8;
31420#line 118
31421  __cil_tmp19 = (unsigned long )ct;
31422#line 118
31423  __cil_tmp20 = __cil_tmp19 + __cil_tmp18;
31424#line 118
31425  __cil_tmp21 = (int )tmp___8;
31426#line 118
31427  *((__be16 *)__cil_tmp20) = (__be16 )__cil_tmp21;
31428  }
31429#line 119
31430  return (ct);
31431}
31432}
31433#line 131
31434__inline static int fc_ct_ns_fill(struct fc_lport *lport , u32 fc_id , struct fc_frame *fp ,
31435                                  unsigned int op , enum fc_rctl *r_ctl , enum fc_fh_type *fh_type )  __attribute__((__no_instrument_function__)) ;
31436#line 131 "include/scsi/fc_encode.h"
31437__inline static int fc_ct_ns_fill(struct fc_lport *lport , u32 fc_id , struct fc_frame *fp ,
31438                                  unsigned int op , enum fc_rctl *r_ctl , enum fc_fh_type *fh_type ) 
31439{ struct fc_ct_req *ct ;
31440  size_t len ;
31441  struct fc_frame    *__cil_tmp9 ;
31442  enum fc_ct_fs_type __cil_tmp10 ;
31443  u8 __cil_tmp11 ;
31444  unsigned long __cil_tmp12 ;
31445  unsigned long __cil_tmp13 ;
31446  unsigned long __cil_tmp14 ;
31447  unsigned long __cil_tmp15 ;
31448  struct fc_frame    *__cil_tmp16 ;
31449  enum fc_ct_fs_type __cil_tmp17 ;
31450  u8 __cil_tmp18 ;
31451  unsigned long __cil_tmp19 ;
31452  unsigned long __cil_tmp20 ;
31453  unsigned long __cil_tmp21 ;
31454  unsigned long __cil_tmp22 ;
31455  unsigned long __cil_tmp23 ;
31456  unsigned long __cil_tmp24 ;
31457  unsigned long __cil_tmp25 ;
31458  unsigned long __cil_tmp26 ;
31459  unsigned long __cil_tmp27 ;
31460  unsigned long __cil_tmp28 ;
31461  __u8 *__cil_tmp29 ;
31462  struct fc_frame    *__cil_tmp30 ;
31463  enum fc_ct_fs_type __cil_tmp31 ;
31464  u8 __cil_tmp32 ;
31465  unsigned long __cil_tmp33 ;
31466  unsigned long __cil_tmp34 ;
31467  unsigned long __cil_tmp35 ;
31468  unsigned long __cil_tmp36 ;
31469  unsigned long __cil_tmp37 ;
31470  unsigned long __cil_tmp38 ;
31471  unsigned long __cil_tmp39 ;
31472  __u8 *__cil_tmp40 ;
31473  unsigned long __cil_tmp41 ;
31474  unsigned long __cil_tmp42 ;
31475  u32 __cil_tmp43 ;
31476  unsigned long __cil_tmp44 ;
31477  unsigned long __cil_tmp45 ;
31478  unsigned long __cil_tmp46 ;
31479  unsigned long __cil_tmp47 ;
31480  unsigned long __cil_tmp48 ;
31481  unsigned long __cil_tmp49 ;
31482  struct fc_frame    *__cil_tmp50 ;
31483  enum fc_ct_fs_type __cil_tmp51 ;
31484  u8 __cil_tmp52 ;
31485  unsigned long __cil_tmp53 ;
31486  unsigned long __cil_tmp54 ;
31487  unsigned long __cil_tmp55 ;
31488  unsigned long __cil_tmp56 ;
31489  unsigned long __cil_tmp57 ;
31490  unsigned long __cil_tmp58 ;
31491  unsigned long __cil_tmp59 ;
31492  __u8 *__cil_tmp60 ;
31493  unsigned long __cil_tmp61 ;
31494  unsigned long __cil_tmp62 ;
31495  u32 __cil_tmp63 ;
31496  unsigned long __cil_tmp64 ;
31497  unsigned long __cil_tmp65 ;
31498  unsigned long __cil_tmp66 ;
31499  unsigned long __cil_tmp67 ;
31500  unsigned long __cil_tmp68 ;
31501  unsigned long __cil_tmp69 ;
31502  unsigned int __cil_tmp70 ;
31503  unsigned long __cil_tmp71 ;
31504  unsigned long __cil_tmp72 ;
31505  unsigned long __cil_tmp73 ;
31506  unsigned long __cil_tmp74 ;
31507  int __cil_tmp75 ;
31508  unsigned long __cil_tmp76 ;
31509  unsigned long __cil_tmp77 ;
31510  unsigned int __cil_tmp78 ;
31511  unsigned long __cil_tmp79 ;
31512  unsigned long __cil_tmp80 ;
31513  unsigned long __cil_tmp81 ;
31514  unsigned long __cil_tmp82 ;
31515  unsigned long __cil_tmp83 ;
31516  unsigned long __cil_tmp84 ;
31517  unsigned long __cil_tmp85 ;
31518  unsigned long __cil_tmp86 ;
31519  __u8 __cil_tmp87 ;
31520  int __cil_tmp88 ;
31521  int __cil_tmp89 ;
31522  struct fc_frame    *__cil_tmp90 ;
31523  enum fc_ct_fs_type __cil_tmp91 ;
31524  u8 __cil_tmp92 ;
31525  unsigned long __cil_tmp93 ;
31526  unsigned long __cil_tmp94 ;
31527  unsigned long __cil_tmp95 ;
31528  unsigned long __cil_tmp96 ;
31529  unsigned long __cil_tmp97 ;
31530  unsigned long __cil_tmp98 ;
31531  unsigned long __cil_tmp99 ;
31532  __u8 *__cil_tmp100 ;
31533  unsigned long __cil_tmp101 ;
31534  unsigned long __cil_tmp102 ;
31535  u32 __cil_tmp103 ;
31536  unsigned long __cil_tmp104 ;
31537  unsigned long __cil_tmp105 ;
31538  u64 __cil_tmp106 ;
31539  unsigned long __cil_tmp107 ;
31540  unsigned long __cil_tmp108 ;
31541  unsigned long __cil_tmp109 ;
31542  unsigned long __cil_tmp110 ;
31543  __be64 *__cil_tmp111 ;
31544  void *__cil_tmp112 ;
31545  unsigned long __cil_tmp113 ;
31546  unsigned long __cil_tmp114 ;
31547  struct Scsi_Host *__cil_tmp115 ;
31548  unsigned long __cil_tmp116 ;
31549  unsigned long __cil_tmp117 ;
31550  void *__cil_tmp118 ;
31551  struct fc_host_attrs *__cil_tmp119 ;
31552  unsigned long __cil_tmp120 ;
31553  unsigned long __cil_tmp121 ;
31554  char *__cil_tmp122 ;
31555  char    *__cil_tmp123 ;
31556  __kernel_size_t __cil_tmp124 ;
31557  struct fc_frame    *__cil_tmp125 ;
31558  unsigned long __cil_tmp126 ;
31559  enum fc_ct_fs_type __cil_tmp127 ;
31560  u8 __cil_tmp128 ;
31561  unsigned long __cil_tmp129 ;
31562  unsigned long __cil_tmp130 ;
31563  unsigned long __cil_tmp131 ;
31564  unsigned long __cil_tmp132 ;
31565  unsigned long __cil_tmp133 ;
31566  unsigned long __cil_tmp134 ;
31567  unsigned long __cil_tmp135 ;
31568  __u8 *__cil_tmp136 ;
31569  unsigned long __cil_tmp137 ;
31570  unsigned long __cil_tmp138 ;
31571  u32 __cil_tmp139 ;
31572  unsigned long __cil_tmp140 ;
31573  unsigned long __cil_tmp141 ;
31574  unsigned long __cil_tmp142 ;
31575  unsigned long __cil_tmp143 ;
31576  unsigned long __cil_tmp144 ;
31577  unsigned long __cil_tmp145 ;
31578  char *__cil_tmp146 ;
31579  unsigned long __cil_tmp147 ;
31580  unsigned long __cil_tmp148 ;
31581  struct Scsi_Host *__cil_tmp149 ;
31582  unsigned long __cil_tmp150 ;
31583  unsigned long __cil_tmp151 ;
31584  void *__cil_tmp152 ;
31585  struct fc_host_attrs *__cil_tmp153 ;
31586  unsigned long __cil_tmp154 ;
31587  unsigned long __cil_tmp155 ;
31588  char *__cil_tmp156 ;
31589  char    *__cil_tmp157 ;
31590  unsigned long __cil_tmp158 ;
31591  unsigned long __cil_tmp159 ;
31592  unsigned long __cil_tmp160 ;
31593  unsigned long __cil_tmp161 ;
31594  unsigned long __cil_tmp162 ;
31595  unsigned long __cil_tmp163 ;
31596  struct Scsi_Host *__cil_tmp164 ;
31597  unsigned long __cil_tmp165 ;
31598  unsigned long __cil_tmp166 ;
31599  void *__cil_tmp167 ;
31600  struct fc_host_attrs *__cil_tmp168 ;
31601  unsigned long __cil_tmp169 ;
31602  unsigned long __cil_tmp170 ;
31603  char *__cil_tmp171 ;
31604  char    *__cil_tmp172 ;
31605  __kernel_size_t __cil_tmp173 ;
31606  struct fc_frame    *__cil_tmp174 ;
31607  unsigned long __cil_tmp175 ;
31608  enum fc_ct_fs_type __cil_tmp176 ;
31609  u8 __cil_tmp177 ;
31610  unsigned long __cil_tmp178 ;
31611  unsigned long __cil_tmp179 ;
31612  u64 __cil_tmp180 ;
31613  unsigned long __cil_tmp181 ;
31614  unsigned long __cil_tmp182 ;
31615  __be64 *__cil_tmp183 ;
31616  void *__cil_tmp184 ;
31617  unsigned long __cil_tmp185 ;
31618  unsigned long __cil_tmp186 ;
31619  unsigned long __cil_tmp187 ;
31620  unsigned long __cil_tmp188 ;
31621  unsigned long __cil_tmp189 ;
31622  unsigned long __cil_tmp190 ;
31623  char *__cil_tmp191 ;
31624  unsigned long __cil_tmp192 ;
31625  unsigned long __cil_tmp193 ;
31626  struct Scsi_Host *__cil_tmp194 ;
31627  unsigned long __cil_tmp195 ;
31628  unsigned long __cil_tmp196 ;
31629  void *__cil_tmp197 ;
31630  struct fc_host_attrs *__cil_tmp198 ;
31631  unsigned long __cil_tmp199 ;
31632  unsigned long __cil_tmp200 ;
31633  char *__cil_tmp201 ;
31634  char    *__cil_tmp202 ;
31635  unsigned long __cil_tmp203 ;
31636  unsigned long __cil_tmp204 ;
31637  unsigned long __cil_tmp205 ;
31638  unsigned long __cil_tmp206 ;
31639
31640  {
31641#line 140
31642  if ((int )op == 370) {
31643#line 140
31644    goto case_370;
31645  } else
31646#line 146
31647  if ((int )op == 274) {
31648#line 146
31649    goto case_274;
31650  } else
31651#line 153
31652  if ((int )op == 535) {
31653#line 153
31654    goto case_535;
31655  } else
31656#line 160
31657  if ((int )op == 543) {
31658#line 160
31659    goto case_543;
31660  } else
31661#line 171
31662  if ((int )op == 531) {
31663#line 171
31664    goto case_531;
31665  } else
31666#line 178
31667  if ((int )op == 536) {
31668#line 178
31669    goto case_536;
31670  } else
31671#line 188
31672  if ((int )op == 569) {
31673#line 188
31674    goto case_569;
31675  } else {
31676    {
31677#line 198
31678    goto switch_default;
31679#line 139
31680    if (0) {
31681      case_370: /* CIL Label */ 
31682      {
31683#line 141
31684      __cil_tmp9 = (struct fc_frame    *)fp;
31685#line 141
31686      __cil_tmp10 = (enum fc_ct_fs_type )252;
31687#line 141
31688      __cil_tmp11 = (u8 )2;
31689#line 141
31690      ct = fc_ct_hdr_fill(__cil_tmp9, op, 4UL, __cil_tmp10, __cil_tmp11);
31691#line 143
31692      __cil_tmp12 = 0 + 3;
31693#line 143
31694      __cil_tmp13 = 16 + __cil_tmp12;
31695#line 143
31696      __cil_tmp14 = (unsigned long )ct;
31697#line 143
31698      __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
31699#line 143
31700      *((__u8 *)__cil_tmp15) = (__u8 )8;
31701      }
31702#line 144
31703      goto switch_break;
31704      case_274: /* CIL Label */ 
31705      {
31706#line 147
31707      __cil_tmp16 = (struct fc_frame    *)fp;
31708#line 147
31709      __cil_tmp17 = (enum fc_ct_fs_type )252;
31710#line 147
31711      __cil_tmp18 = (u8 )2;
31712#line 147
31713      ct = fc_ct_hdr_fill(__cil_tmp16, op, 4UL, __cil_tmp17, __cil_tmp18);
31714#line 149
31715      __cil_tmp19 = 0 + 3;
31716#line 149
31717      __cil_tmp20 = 16 + __cil_tmp19;
31718#line 149
31719      __cil_tmp21 = (unsigned long )ct;
31720#line 149
31721      __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
31722#line 149
31723      *((__u8 *)__cil_tmp22) = (__u8 )8;
31724#line 150
31725      __cil_tmp23 = 0 * 1UL;
31726#line 150
31727      __cil_tmp24 = 1 + __cil_tmp23;
31728#line 150
31729      __cil_tmp25 = 0 + __cil_tmp24;
31730#line 150
31731      __cil_tmp26 = 16 + __cil_tmp25;
31732#line 150
31733      __cil_tmp27 = (unsigned long )ct;
31734#line 150
31735      __cil_tmp28 = __cil_tmp27 + __cil_tmp26;
31736#line 150
31737      __cil_tmp29 = (__u8 *)__cil_tmp28;
31738#line 150
31739      hton24(__cil_tmp29, fc_id);
31740      }
31741#line 151
31742      goto switch_break;
31743      case_535: /* CIL Label */ 
31744      {
31745#line 154
31746      __cil_tmp30 = (struct fc_frame    *)fp;
31747#line 154
31748      __cil_tmp31 = (enum fc_ct_fs_type )252;
31749#line 154
31750      __cil_tmp32 = (u8 )2;
31751#line 154
31752      ct = fc_ct_hdr_fill(__cil_tmp30, op, 36UL, __cil_tmp31, __cil_tmp32);
31753#line 156
31754      __cil_tmp33 = 0 * 1UL;
31755#line 156
31756      __cil_tmp34 = 1 + __cil_tmp33;
31757#line 156
31758      __cil_tmp35 = 0 + __cil_tmp34;
31759#line 156
31760      __cil_tmp36 = 0 + __cil_tmp35;
31761#line 156
31762      __cil_tmp37 = 16 + __cil_tmp36;
31763#line 156
31764      __cil_tmp38 = (unsigned long )ct;
31765#line 156
31766      __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
31767#line 156
31768      __cil_tmp40 = (__u8 *)__cil_tmp39;
31769#line 156
31770      __cil_tmp41 = (unsigned long )lport;
31771#line 156
31772      __cil_tmp42 = __cil_tmp41 + 788;
31773#line 156
31774      __cil_tmp43 = *((u32 *)__cil_tmp42);
31775#line 156
31776      hton24(__cil_tmp40, __cil_tmp43);
31777#line 157
31778      __cil_tmp44 = 0 + 4;
31779#line 157
31780      __cil_tmp45 = 16 + __cil_tmp44;
31781#line 157
31782      __cil_tmp46 = (unsigned long )ct;
31783#line 157
31784      __cil_tmp47 = __cil_tmp46 + __cil_tmp45;
31785#line 157
31786      __cil_tmp48 = (unsigned long )lport;
31787#line 157
31788      __cil_tmp49 = __cil_tmp48 + 896;
31789#line 157
31790      *((struct fc_ns_fts *)__cil_tmp47) = *((struct fc_ns_fts *)__cil_tmp49);
31791      }
31792#line 158
31793      goto switch_break;
31794      case_543: /* CIL Label */ 
31795      {
31796#line 161
31797      __cil_tmp50 = (struct fc_frame    *)fp;
31798#line 161
31799      __cil_tmp51 = (enum fc_ct_fs_type )252;
31800#line 161
31801      __cil_tmp52 = (u8 )2;
31802#line 161
31803      ct = fc_ct_hdr_fill(__cil_tmp50, op, 8UL, __cil_tmp51, __cil_tmp52);
31804#line 163
31805      __cil_tmp53 = 0 * 1UL;
31806#line 163
31807      __cil_tmp54 = 1 + __cil_tmp53;
31808#line 163
31809      __cil_tmp55 = 0 + __cil_tmp54;
31810#line 163
31811      __cil_tmp56 = 0 + __cil_tmp55;
31812#line 163
31813      __cil_tmp57 = 16 + __cil_tmp56;
31814#line 163
31815      __cil_tmp58 = (unsigned long )ct;
31816#line 163
31817      __cil_tmp59 = __cil_tmp58 + __cil_tmp57;
31818#line 163
31819      __cil_tmp60 = (__u8 *)__cil_tmp59;
31820#line 163
31821      __cil_tmp61 = (unsigned long )lport;
31822#line 163
31823      __cil_tmp62 = __cil_tmp61 + 788;
31824#line 163
31825      __cil_tmp63 = *((u32 *)__cil_tmp62);
31826#line 163
31827      hton24(__cil_tmp60, __cil_tmp63);
31828#line 164
31829      __cil_tmp64 = 0 + 7;
31830#line 164
31831      __cil_tmp65 = 16 + __cil_tmp64;
31832#line 164
31833      __cil_tmp66 = (unsigned long )ct;
31834#line 164
31835      __cil_tmp67 = __cil_tmp66 + __cil_tmp65;
31836#line 164
31837      *((__u8 *)__cil_tmp67) = (__u8 )8;
31838      }
31839      {
31840#line 165
31841      __cil_tmp68 = (unsigned long )lport;
31842#line 165
31843      __cil_tmp69 = __cil_tmp68 + 808;
31844#line 165
31845      __cil_tmp70 = *((unsigned int *)__cil_tmp69);
31846#line 165
31847      if (__cil_tmp70 & 32U) {
31848#line 166
31849        __cil_tmp71 = 0 + 6;
31850#line 166
31851        __cil_tmp72 = 16 + __cil_tmp71;
31852#line 166
31853        __cil_tmp73 = (unsigned long )ct;
31854#line 166
31855        __cil_tmp74 = __cil_tmp73 + __cil_tmp72;
31856#line 166
31857        __cil_tmp75 = 1 << 1;
31858#line 166
31859        *((__u8 *)__cil_tmp74) = (__u8 )__cil_tmp75;
31860      } else {
31861
31862      }
31863      }
31864      {
31865#line 167
31866      __cil_tmp76 = (unsigned long )lport;
31867#line 167
31868      __cil_tmp77 = __cil_tmp76 + 808;
31869#line 167
31870      __cil_tmp78 = *((unsigned int *)__cil_tmp77);
31871#line 167
31872      if (__cil_tmp78 & 16U) {
31873#line 168
31874        __cil_tmp79 = 0 + 6;
31875#line 168
31876        __cil_tmp80 = 16 + __cil_tmp79;
31877#line 168
31878        __cil_tmp81 = (unsigned long )ct;
31879#line 168
31880        __cil_tmp82 = __cil_tmp81 + __cil_tmp80;
31881#line 168
31882        __cil_tmp83 = 0 + 6;
31883#line 168
31884        __cil_tmp84 = 16 + __cil_tmp83;
31885#line 168
31886        __cil_tmp85 = (unsigned long )ct;
31887#line 168
31888        __cil_tmp86 = __cil_tmp85 + __cil_tmp84;
31889#line 168
31890        __cil_tmp87 = *((__u8 *)__cil_tmp86);
31891#line 168
31892        __cil_tmp88 = (int )__cil_tmp87;
31893#line 168
31894        __cil_tmp89 = __cil_tmp88 | 1;
31895#line 168
31896        *((__u8 *)__cil_tmp82) = (__u8 )__cil_tmp89;
31897      } else {
31898
31899      }
31900      }
31901#line 169
31902      goto switch_break;
31903      case_531: /* CIL Label */ 
31904      {
31905#line 172
31906      __cil_tmp90 = (struct fc_frame    *)fp;
31907#line 172
31908      __cil_tmp91 = (enum fc_ct_fs_type )252;
31909#line 172
31910      __cil_tmp92 = (u8 )2;
31911#line 172
31912      ct = fc_ct_hdr_fill(__cil_tmp90, op, 12UL, __cil_tmp91, __cil_tmp92);
31913#line 174
31914      __cil_tmp93 = 0 * 1UL;
31915#line 174
31916      __cil_tmp94 = 1 + __cil_tmp93;
31917#line 174
31918      __cil_tmp95 = 0 + __cil_tmp94;
31919#line 174
31920      __cil_tmp96 = 0 + __cil_tmp95;
31921#line 174
31922      __cil_tmp97 = 16 + __cil_tmp96;
31923#line 174
31924      __cil_tmp98 = (unsigned long )ct;
31925#line 174
31926      __cil_tmp99 = __cil_tmp98 + __cil_tmp97;
31927#line 174
31928      __cil_tmp100 = (__u8 *)__cil_tmp99;
31929#line 174
31930      __cil_tmp101 = (unsigned long )lport;
31931#line 174
31932      __cil_tmp102 = __cil_tmp101 + 788;
31933#line 174
31934      __cil_tmp103 = *((u32 *)__cil_tmp102);
31935#line 174
31936      hton24(__cil_tmp100, __cil_tmp103);
31937#line 175
31938      __cil_tmp104 = (unsigned long )lport;
31939#line 175
31940      __cil_tmp105 = __cil_tmp104 + 800;
31941#line 175
31942      __cil_tmp106 = *((u64 *)__cil_tmp105);
31943#line 175
31944      __cil_tmp107 = 0 + 4;
31945#line 175
31946      __cil_tmp108 = 16 + __cil_tmp107;
31947#line 175
31948      __cil_tmp109 = (unsigned long )ct;
31949#line 175
31950      __cil_tmp110 = __cil_tmp109 + __cil_tmp108;
31951#line 175
31952      __cil_tmp111 = (__be64 *)__cil_tmp110;
31953#line 175
31954      __cil_tmp112 = (void *)__cil_tmp111;
31955#line 175
31956      put_unaligned_be64(__cil_tmp106, __cil_tmp112);
31957      }
31958#line 176
31959      goto switch_break;
31960      case_536: /* CIL Label */ 
31961      {
31962#line 179
31963      __cil_tmp113 = 0 * 1UL;
31964#line 179
31965      __cil_tmp114 = 1056 + __cil_tmp113;
31966#line 179
31967      __cil_tmp115 = *((struct Scsi_Host **)lport);
31968#line 179
31969      __cil_tmp116 = (unsigned long )__cil_tmp115;
31970#line 179
31971      __cil_tmp117 = __cil_tmp116 + 2024;
31972#line 179
31973      __cil_tmp118 = *((void **)__cil_tmp117);
31974#line 179
31975      __cil_tmp119 = (struct fc_host_attrs *)__cil_tmp118;
31976#line 179
31977      __cil_tmp120 = (unsigned long )__cil_tmp119;
31978#line 179
31979      __cil_tmp121 = __cil_tmp120 + __cil_tmp114;
31980#line 179
31981      __cil_tmp122 = (char *)__cil_tmp121;
31982#line 179
31983      __cil_tmp123 = (char    *)__cil_tmp122;
31984#line 179
31985      __cil_tmp124 = (__kernel_size_t )255;
31986#line 179
31987      len = strnlen(__cil_tmp123, __cil_tmp124);
31988#line 180
31989      __cil_tmp125 = (struct fc_frame    *)fp;
31990#line 180
31991      __cil_tmp126 = 5UL + len;
31992#line 180
31993      __cil_tmp127 = (enum fc_ct_fs_type )252;
31994#line 180
31995      __cil_tmp128 = (u8 )2;
31996#line 180
31997      ct = fc_ct_hdr_fill(__cil_tmp125, op, __cil_tmp126, __cil_tmp127, __cil_tmp128);
31998#line 182
31999      __cil_tmp129 = 0 * 1UL;
32000#line 182
32001      __cil_tmp130 = 1 + __cil_tmp129;
32002#line 182
32003      __cil_tmp131 = 0 + __cil_tmp130;
32004#line 182
32005      __cil_tmp132 = 0 + __cil_tmp131;
32006#line 182
32007      __cil_tmp133 = 16 + __cil_tmp132;
32008#line 182
32009      __cil_tmp134 = (unsigned long )ct;
32010#line 182
32011      __cil_tmp135 = __cil_tmp134 + __cil_tmp133;
32012#line 182
32013      __cil_tmp136 = (__u8 *)__cil_tmp135;
32014#line 182
32015      __cil_tmp137 = (unsigned long )lport;
32016#line 182
32017      __cil_tmp138 = __cil_tmp137 + 788;
32018#line 182
32019      __cil_tmp139 = *((u32 *)__cil_tmp138);
32020#line 182
32021      hton24(__cil_tmp136, __cil_tmp139);
32022#line 183
32023      __cil_tmp140 = 0 * 1UL;
32024#line 183
32025      __cil_tmp141 = 5 + __cil_tmp140;
32026#line 183
32027      __cil_tmp142 = 0 + __cil_tmp141;
32028#line 183
32029      __cil_tmp143 = 16 + __cil_tmp142;
32030#line 183
32031      __cil_tmp144 = (unsigned long )ct;
32032#line 183
32033      __cil_tmp145 = __cil_tmp144 + __cil_tmp143;
32034#line 183
32035      __cil_tmp146 = (char *)__cil_tmp145;
32036#line 183
32037      __cil_tmp147 = 0 * 1UL;
32038#line 183
32039      __cil_tmp148 = 1056 + __cil_tmp147;
32040#line 183
32041      __cil_tmp149 = *((struct Scsi_Host **)lport);
32042#line 183
32043      __cil_tmp150 = (unsigned long )__cil_tmp149;
32044#line 183
32045      __cil_tmp151 = __cil_tmp150 + 2024;
32046#line 183
32047      __cil_tmp152 = *((void **)__cil_tmp151);
32048#line 183
32049      __cil_tmp153 = (struct fc_host_attrs *)__cil_tmp152;
32050#line 183
32051      __cil_tmp154 = (unsigned long )__cil_tmp153;
32052#line 183
32053      __cil_tmp155 = __cil_tmp154 + __cil_tmp148;
32054#line 183
32055      __cil_tmp156 = (char *)__cil_tmp155;
32056#line 183
32057      __cil_tmp157 = (char    *)__cil_tmp156;
32058#line 183
32059      strncpy(__cil_tmp146, __cil_tmp157, len);
32060#line 185
32061      __cil_tmp158 = 0 + 4;
32062#line 185
32063      __cil_tmp159 = 16 + __cil_tmp158;
32064#line 185
32065      __cil_tmp160 = (unsigned long )ct;
32066#line 185
32067      __cil_tmp161 = __cil_tmp160 + __cil_tmp159;
32068#line 185
32069      *((__u8 *)__cil_tmp161) = (__u8 )len;
32070      }
32071#line 186
32072      goto switch_break;
32073      case_569: /* CIL Label */ 
32074      {
32075#line 189
32076      __cil_tmp162 = 0 * 1UL;
32077#line 189
32078      __cil_tmp163 = 1056 + __cil_tmp162;
32079#line 189
32080      __cil_tmp164 = *((struct Scsi_Host **)lport);
32081#line 189
32082      __cil_tmp165 = (unsigned long )__cil_tmp164;
32083#line 189
32084      __cil_tmp166 = __cil_tmp165 + 2024;
32085#line 189
32086      __cil_tmp167 = *((void **)__cil_tmp166);
32087#line 189
32088      __cil_tmp168 = (struct fc_host_attrs *)__cil_tmp167;
32089#line 189
32090      __cil_tmp169 = (unsigned long )__cil_tmp168;
32091#line 189
32092      __cil_tmp170 = __cil_tmp169 + __cil_tmp163;
32093#line 189
32094      __cil_tmp171 = (char *)__cil_tmp170;
32095#line 189
32096      __cil_tmp172 = (char    *)__cil_tmp171;
32097#line 189
32098      __cil_tmp173 = (__kernel_size_t )255;
32099#line 189
32100      len = strnlen(__cil_tmp172, __cil_tmp173);
32101#line 190
32102      __cil_tmp174 = (struct fc_frame    *)fp;
32103#line 190
32104      __cil_tmp175 = 9UL + len;
32105#line 190
32106      __cil_tmp176 = (enum fc_ct_fs_type )252;
32107#line 190
32108      __cil_tmp177 = (u8 )2;
32109#line 190
32110      ct = fc_ct_hdr_fill(__cil_tmp174, op, __cil_tmp175, __cil_tmp176, __cil_tmp177);
32111#line 192
32112      __cil_tmp178 = (unsigned long )lport;
32113#line 192
32114      __cil_tmp179 = __cil_tmp178 + 800;
32115#line 192
32116      __cil_tmp180 = *((u64 *)__cil_tmp179);
32117#line 192
32118      __cil_tmp181 = (unsigned long )ct;
32119#line 192
32120      __cil_tmp182 = __cil_tmp181 + 16;
32121#line 192
32122      __cil_tmp183 = (__be64 *)__cil_tmp182;
32123#line 192
32124      __cil_tmp184 = (void *)__cil_tmp183;
32125#line 192
32126      put_unaligned_be64(__cil_tmp180, __cil_tmp184);
32127#line 193
32128      __cil_tmp185 = 0 * 1UL;
32129#line 193
32130      __cil_tmp186 = 9 + __cil_tmp185;
32131#line 193
32132      __cil_tmp187 = 0 + __cil_tmp186;
32133#line 193
32134      __cil_tmp188 = 16 + __cil_tmp187;
32135#line 193
32136      __cil_tmp189 = (unsigned long )ct;
32137#line 193
32138      __cil_tmp190 = __cil_tmp189 + __cil_tmp188;
32139#line 193
32140      __cil_tmp191 = (char *)__cil_tmp190;
32141#line 193
32142      __cil_tmp192 = 0 * 1UL;
32143#line 193
32144      __cil_tmp193 = 1056 + __cil_tmp192;
32145#line 193
32146      __cil_tmp194 = *((struct Scsi_Host **)lport);
32147#line 193
32148      __cil_tmp195 = (unsigned long )__cil_tmp194;
32149#line 193
32150      __cil_tmp196 = __cil_tmp195 + 2024;
32151#line 193
32152      __cil_tmp197 = *((void **)__cil_tmp196);
32153#line 193
32154      __cil_tmp198 = (struct fc_host_attrs *)__cil_tmp197;
32155#line 193
32156      __cil_tmp199 = (unsigned long )__cil_tmp198;
32157#line 193
32158      __cil_tmp200 = __cil_tmp199 + __cil_tmp193;
32159#line 193
32160      __cil_tmp201 = (char *)__cil_tmp200;
32161#line 193
32162      __cil_tmp202 = (char    *)__cil_tmp201;
32163#line 193
32164      strncpy(__cil_tmp191, __cil_tmp202, len);
32165#line 195
32166      __cil_tmp203 = 0 + 8;
32167#line 195
32168      __cil_tmp204 = 16 + __cil_tmp203;
32169#line 195
32170      __cil_tmp205 = (unsigned long )ct;
32171#line 195
32172      __cil_tmp206 = __cil_tmp205 + __cil_tmp204;
32173#line 195
32174      *((__u8 *)__cil_tmp206) = (__u8 )len;
32175      }
32176#line 196
32177      goto switch_break;
32178      switch_default: /* CIL Label */ 
32179#line 199
32180      return (-22);
32181    } else {
32182      switch_break: /* CIL Label */ ;
32183    }
32184    }
32185  }
32186#line 201
32187  *r_ctl = (enum fc_rctl )2;
32188#line 202
32189  *fh_type = (enum fc_fh_type )32;
32190#line 203
32191  return (0);
32192}
32193}
32194#line 215
32195__inline static int fc_ct_ms_fill(struct fc_lport *lport , u32 fc_id , struct fc_frame *fp ,
32196                                  unsigned int op , enum fc_rctl *r_ctl , enum fc_fh_type *fh_type )  __attribute__((__no_instrument_function__)) ;
32197#line 215 "include/scsi/fc_encode.h"
32198__inline static int fc_ct_ms_fill(struct fc_lport *lport , u32 fc_id , struct fc_frame *fp ,
32199                                  unsigned int op , enum fc_rctl *r_ctl , enum fc_fh_type *fh_type ) 
32200{ struct fc_ct_req *ct ;
32201  size_t len ;
32202  struct fc_fdmi_attr_entry *entry ;
32203  struct fs_fdmi_attrs *hba_attrs ;
32204  int numattrs ;
32205  struct new_utsname *tmp___7 ;
32206  struct new_utsname *tmp___8 ;
32207  size_t __len ;
32208  void *__ret ;
32209  char    *tmp___9 ;
32210  __kernel_size_t tmp___10 ;
32211  char    *tmp___11 ;
32212  __kernel_size_t tmp___12 ;
32213  struct new_utsname *tmp___13 ;
32214  unsigned long tmp___14 ;
32215  int __cil_tmp22 ;
32216  size_t __cil_tmp23 ;
32217  struct fc_frame    *__cil_tmp24 ;
32218  enum fc_ct_fs_type __cil_tmp25 ;
32219  u8 __cil_tmp26 ;
32220  unsigned long __cil_tmp27 ;
32221  unsigned long __cil_tmp28 ;
32222  u64 __cil_tmp29 ;
32223  unsigned long __cil_tmp30 ;
32224  unsigned long __cil_tmp31 ;
32225  __be64 *__cil_tmp32 ;
32226  void *__cil_tmp33 ;
32227  u32 __cil_tmp34 ;
32228  unsigned long __cil_tmp35 ;
32229  unsigned long __cil_tmp36 ;
32230  unsigned long __cil_tmp37 ;
32231  unsigned long __cil_tmp38 ;
32232  __be32 *__cil_tmp39 ;
32233  void *__cil_tmp40 ;
32234  unsigned long __cil_tmp41 ;
32235  unsigned long __cil_tmp42 ;
32236  u64 __cil_tmp43 ;
32237  unsigned long __cil_tmp44 ;
32238  unsigned long __cil_tmp45 ;
32239  unsigned long __cil_tmp46 ;
32240  unsigned long __cil_tmp47 ;
32241  unsigned long __cil_tmp48 ;
32242  unsigned long __cil_tmp49 ;
32243  unsigned long __cil_tmp50 ;
32244  __be64 *__cil_tmp51 ;
32245  void *__cil_tmp52 ;
32246  u32 __cil_tmp53 ;
32247  unsigned long __cil_tmp54 ;
32248  unsigned long __cil_tmp55 ;
32249  unsigned long __cil_tmp56 ;
32250  unsigned long __cil_tmp57 ;
32251  __be32 *__cil_tmp58 ;
32252  void *__cil_tmp59 ;
32253  unsigned long __cil_tmp60 ;
32254  unsigned long __cil_tmp61 ;
32255  unsigned long __cil_tmp62 ;
32256  unsigned long __cil_tmp63 ;
32257  unsigned long __cil_tmp64 ;
32258  unsigned long __cil_tmp65 ;
32259  unsigned long __cil_tmp66 ;
32260  unsigned long __cil_tmp67 ;
32261  u16 __cil_tmp68 ;
32262  __be16 *__cil_tmp69 ;
32263  void *__cil_tmp70 ;
32264  u16 __cil_tmp71 ;
32265  unsigned long __cil_tmp72 ;
32266  unsigned long __cil_tmp73 ;
32267  __be16 *__cil_tmp74 ;
32268  void *__cil_tmp75 ;
32269  unsigned long __cil_tmp76 ;
32270  unsigned long __cil_tmp77 ;
32271  u64 __cil_tmp78 ;
32272  unsigned long __cil_tmp79 ;
32273  unsigned long __cil_tmp80 ;
32274  unsigned long __cil_tmp81 ;
32275  unsigned long __cil_tmp82 ;
32276  __u8 *__cil_tmp83 ;
32277  __be64 *__cil_tmp84 ;
32278  void *__cil_tmp85 ;
32279  unsigned long __cil_tmp86 ;
32280  unsigned long __cil_tmp87 ;
32281  unsigned long __cil_tmp88 ;
32282  unsigned long __cil_tmp89 ;
32283  __u8 *__cil_tmp90 ;
32284  char *__cil_tmp91 ;
32285  char *__cil_tmp92 ;
32286  u16 __cil_tmp93 ;
32287  __be16 *__cil_tmp94 ;
32288  void *__cil_tmp95 ;
32289  u16 __cil_tmp96 ;
32290  unsigned long __cil_tmp97 ;
32291  unsigned long __cil_tmp98 ;
32292  __be16 *__cil_tmp99 ;
32293  void *__cil_tmp100 ;
32294  unsigned long __cil_tmp101 ;
32295  unsigned long __cil_tmp102 ;
32296  __u8 (*__cil_tmp103)[1] ;
32297  char *__cil_tmp104 ;
32298  unsigned long __cil_tmp105 ;
32299  unsigned long __cil_tmp106 ;
32300  struct Scsi_Host *__cil_tmp107 ;
32301  unsigned long __cil_tmp108 ;
32302  unsigned long __cil_tmp109 ;
32303  void *__cil_tmp110 ;
32304  struct fc_host_attrs *__cil_tmp111 ;
32305  unsigned long __cil_tmp112 ;
32306  unsigned long __cil_tmp113 ;
32307  char *__cil_tmp114 ;
32308  char    *__cil_tmp115 ;
32309  __kernel_size_t __cil_tmp116 ;
32310  unsigned long __cil_tmp117 ;
32311  unsigned long __cil_tmp118 ;
32312  unsigned long __cil_tmp119 ;
32313  unsigned long __cil_tmp120 ;
32314  __u8 *__cil_tmp121 ;
32315  char *__cil_tmp122 ;
32316  char *__cil_tmp123 ;
32317  u16 __cil_tmp124 ;
32318  __be16 *__cil_tmp125 ;
32319  void *__cil_tmp126 ;
32320  u16 __cil_tmp127 ;
32321  unsigned long __cil_tmp128 ;
32322  unsigned long __cil_tmp129 ;
32323  __be16 *__cil_tmp130 ;
32324  void *__cil_tmp131 ;
32325  unsigned long __cil_tmp132 ;
32326  unsigned long __cil_tmp133 ;
32327  __u8 (*__cil_tmp134)[1] ;
32328  char *__cil_tmp135 ;
32329  unsigned long __cil_tmp136 ;
32330  unsigned long __cil_tmp137 ;
32331  struct Scsi_Host *__cil_tmp138 ;
32332  unsigned long __cil_tmp139 ;
32333  unsigned long __cil_tmp140 ;
32334  void *__cil_tmp141 ;
32335  struct fc_host_attrs *__cil_tmp142 ;
32336  unsigned long __cil_tmp143 ;
32337  unsigned long __cil_tmp144 ;
32338  char *__cil_tmp145 ;
32339  char    *__cil_tmp146 ;
32340  __kernel_size_t __cil_tmp147 ;
32341  unsigned long __cil_tmp148 ;
32342  unsigned long __cil_tmp149 ;
32343  unsigned long __cil_tmp150 ;
32344  unsigned long __cil_tmp151 ;
32345  __u8 *__cil_tmp152 ;
32346  char *__cil_tmp153 ;
32347  char *__cil_tmp154 ;
32348  u16 __cil_tmp155 ;
32349  __be16 *__cil_tmp156 ;
32350  void *__cil_tmp157 ;
32351  u16 __cil_tmp158 ;
32352  unsigned long __cil_tmp159 ;
32353  unsigned long __cil_tmp160 ;
32354  __be16 *__cil_tmp161 ;
32355  void *__cil_tmp162 ;
32356  unsigned long __cil_tmp163 ;
32357  unsigned long __cil_tmp164 ;
32358  __u8 (*__cil_tmp165)[1] ;
32359  char *__cil_tmp166 ;
32360  unsigned long __cil_tmp167 ;
32361  unsigned long __cil_tmp168 ;
32362  struct Scsi_Host *__cil_tmp169 ;
32363  unsigned long __cil_tmp170 ;
32364  unsigned long __cil_tmp171 ;
32365  void *__cil_tmp172 ;
32366  struct fc_host_attrs *__cil_tmp173 ;
32367  unsigned long __cil_tmp174 ;
32368  unsigned long __cil_tmp175 ;
32369  char *__cil_tmp176 ;
32370  char    *__cil_tmp177 ;
32371  __kernel_size_t __cil_tmp178 ;
32372  unsigned long __cil_tmp179 ;
32373  unsigned long __cil_tmp180 ;
32374  unsigned long __cil_tmp181 ;
32375  unsigned long __cil_tmp182 ;
32376  __u8 *__cil_tmp183 ;
32377  char *__cil_tmp184 ;
32378  char *__cil_tmp185 ;
32379  u16 __cil_tmp186 ;
32380  __be16 *__cil_tmp187 ;
32381  void *__cil_tmp188 ;
32382  u16 __cil_tmp189 ;
32383  unsigned long __cil_tmp190 ;
32384  unsigned long __cil_tmp191 ;
32385  __be16 *__cil_tmp192 ;
32386  void *__cil_tmp193 ;
32387  unsigned long __cil_tmp194 ;
32388  unsigned long __cil_tmp195 ;
32389  __u8 (*__cil_tmp196)[1] ;
32390  char *__cil_tmp197 ;
32391  unsigned long __cil_tmp198 ;
32392  unsigned long __cil_tmp199 ;
32393  struct Scsi_Host *__cil_tmp200 ;
32394  unsigned long __cil_tmp201 ;
32395  unsigned long __cil_tmp202 ;
32396  void *__cil_tmp203 ;
32397  struct fc_host_attrs *__cil_tmp204 ;
32398  unsigned long __cil_tmp205 ;
32399  unsigned long __cil_tmp206 ;
32400  char *__cil_tmp207 ;
32401  char    *__cil_tmp208 ;
32402  __kernel_size_t __cil_tmp209 ;
32403  unsigned long __cil_tmp210 ;
32404  unsigned long __cil_tmp211 ;
32405  unsigned long __cil_tmp212 ;
32406  unsigned long __cil_tmp213 ;
32407  __u8 *__cil_tmp214 ;
32408  char *__cil_tmp215 ;
32409  char *__cil_tmp216 ;
32410  u16 __cil_tmp217 ;
32411  __be16 *__cil_tmp218 ;
32412  void *__cil_tmp219 ;
32413  u16 __cil_tmp220 ;
32414  unsigned long __cil_tmp221 ;
32415  unsigned long __cil_tmp222 ;
32416  __be16 *__cil_tmp223 ;
32417  void *__cil_tmp224 ;
32418  unsigned long __cil_tmp225 ;
32419  unsigned long __cil_tmp226 ;
32420  __u8 (*__cil_tmp227)[1] ;
32421  char *__cil_tmp228 ;
32422  unsigned long __cil_tmp229 ;
32423  unsigned long __cil_tmp230 ;
32424  struct Scsi_Host *__cil_tmp231 ;
32425  unsigned long __cil_tmp232 ;
32426  unsigned long __cil_tmp233 ;
32427  void *__cil_tmp234 ;
32428  struct fc_host_attrs *__cil_tmp235 ;
32429  unsigned long __cil_tmp236 ;
32430  unsigned long __cil_tmp237 ;
32431  char *__cil_tmp238 ;
32432  char    *__cil_tmp239 ;
32433  __kernel_size_t __cil_tmp240 ;
32434  unsigned long __cil_tmp241 ;
32435  unsigned long __cil_tmp242 ;
32436  unsigned long __cil_tmp243 ;
32437  unsigned long __cil_tmp244 ;
32438  __u8 *__cil_tmp245 ;
32439  char *__cil_tmp246 ;
32440  char *__cil_tmp247 ;
32441  u16 __cil_tmp248 ;
32442  __be16 *__cil_tmp249 ;
32443  void *__cil_tmp250 ;
32444  u16 __cil_tmp251 ;
32445  unsigned long __cil_tmp252 ;
32446  unsigned long __cil_tmp253 ;
32447  __be16 *__cil_tmp254 ;
32448  void *__cil_tmp255 ;
32449  unsigned long __cil_tmp256 ;
32450  unsigned long __cil_tmp257 ;
32451  __u8 (*__cil_tmp258)[1] ;
32452  char *__cil_tmp259 ;
32453  unsigned long __cil_tmp260 ;
32454  unsigned long __cil_tmp261 ;
32455  struct Scsi_Host *__cil_tmp262 ;
32456  unsigned long __cil_tmp263 ;
32457  unsigned long __cil_tmp264 ;
32458  void *__cil_tmp265 ;
32459  struct fc_host_attrs *__cil_tmp266 ;
32460  unsigned long __cil_tmp267 ;
32461  unsigned long __cil_tmp268 ;
32462  char *__cil_tmp269 ;
32463  char    *__cil_tmp270 ;
32464  __kernel_size_t __cil_tmp271 ;
32465  unsigned long __cil_tmp272 ;
32466  unsigned long __cil_tmp273 ;
32467  unsigned long __cil_tmp274 ;
32468  unsigned long __cil_tmp275 ;
32469  __u8 *__cil_tmp276 ;
32470  char *__cil_tmp277 ;
32471  char *__cil_tmp278 ;
32472  u16 __cil_tmp279 ;
32473  __be16 *__cil_tmp280 ;
32474  void *__cil_tmp281 ;
32475  u16 __cil_tmp282 ;
32476  unsigned long __cil_tmp283 ;
32477  unsigned long __cil_tmp284 ;
32478  __be16 *__cil_tmp285 ;
32479  void *__cil_tmp286 ;
32480  unsigned long __cil_tmp287 ;
32481  unsigned long __cil_tmp288 ;
32482  __u8 (*__cil_tmp289)[1] ;
32483  char *__cil_tmp290 ;
32484  unsigned long __cil_tmp291 ;
32485  unsigned long __cil_tmp292 ;
32486  struct Scsi_Host *__cil_tmp293 ;
32487  unsigned long __cil_tmp294 ;
32488  unsigned long __cil_tmp295 ;
32489  void *__cil_tmp296 ;
32490  struct fc_host_attrs *__cil_tmp297 ;
32491  unsigned long __cil_tmp298 ;
32492  unsigned long __cil_tmp299 ;
32493  char *__cil_tmp300 ;
32494  char    *__cil_tmp301 ;
32495  __kernel_size_t __cil_tmp302 ;
32496  unsigned long __cil_tmp303 ;
32497  unsigned long __cil_tmp304 ;
32498  unsigned long __cil_tmp305 ;
32499  unsigned long __cil_tmp306 ;
32500  __u8 *__cil_tmp307 ;
32501  char *__cil_tmp308 ;
32502  char *__cil_tmp309 ;
32503  u16 __cil_tmp310 ;
32504  __be16 *__cil_tmp311 ;
32505  void *__cil_tmp312 ;
32506  u16 __cil_tmp313 ;
32507  unsigned long __cil_tmp314 ;
32508  unsigned long __cil_tmp315 ;
32509  __be16 *__cil_tmp316 ;
32510  void *__cil_tmp317 ;
32511  unsigned long __cil_tmp318 ;
32512  unsigned long __cil_tmp319 ;
32513  __u8 (*__cil_tmp320)[1] ;
32514  char *__cil_tmp321 ;
32515  unsigned long __cil_tmp322 ;
32516  unsigned long __cil_tmp323 ;
32517  struct Scsi_Host *__cil_tmp324 ;
32518  unsigned long __cil_tmp325 ;
32519  unsigned long __cil_tmp326 ;
32520  void *__cil_tmp327 ;
32521  struct fc_host_attrs *__cil_tmp328 ;
32522  unsigned long __cil_tmp329 ;
32523  unsigned long __cil_tmp330 ;
32524  char *__cil_tmp331 ;
32525  char    *__cil_tmp332 ;
32526  __kernel_size_t __cil_tmp333 ;
32527  unsigned long __cil_tmp334 ;
32528  unsigned long __cil_tmp335 ;
32529  unsigned long __cil_tmp336 ;
32530  unsigned long __cil_tmp337 ;
32531  __u8 *__cil_tmp338 ;
32532  char *__cil_tmp339 ;
32533  char *__cil_tmp340 ;
32534  u16 __cil_tmp341 ;
32535  __be16 *__cil_tmp342 ;
32536  void *__cil_tmp343 ;
32537  u16 __cil_tmp344 ;
32538  unsigned long __cil_tmp345 ;
32539  unsigned long __cil_tmp346 ;
32540  __be16 *__cil_tmp347 ;
32541  void *__cil_tmp348 ;
32542  unsigned long __cil_tmp349 ;
32543  unsigned long __cil_tmp350 ;
32544  __u8 (*__cil_tmp351)[1] ;
32545  char *__cil_tmp352 ;
32546  size_t __cil_tmp353 ;
32547  unsigned long __cil_tmp354 ;
32548  unsigned long __cil_tmp355 ;
32549  unsigned long __cil_tmp356 ;
32550  unsigned long __cil_tmp357 ;
32551  char *__cil_tmp358 ;
32552  unsigned long __cil_tmp359 ;
32553  unsigned long __cil_tmp360 ;
32554  unsigned long __cil_tmp361 ;
32555  unsigned long __cil_tmp362 ;
32556  char *__cil_tmp363 ;
32557  int __cil_tmp364 ;
32558  size_t __cil_tmp365 ;
32559  struct fc_frame    *__cil_tmp366 ;
32560  enum fc_ct_fs_type __cil_tmp367 ;
32561  u8 __cil_tmp368 ;
32562  unsigned long __cil_tmp369 ;
32563  unsigned long __cil_tmp370 ;
32564  u64 __cil_tmp371 ;
32565  unsigned long __cil_tmp372 ;
32566  unsigned long __cil_tmp373 ;
32567  __be64 *__cil_tmp374 ;
32568  void *__cil_tmp375 ;
32569  u32 __cil_tmp376 ;
32570  unsigned long __cil_tmp377 ;
32571  unsigned long __cil_tmp378 ;
32572  unsigned long __cil_tmp379 ;
32573  unsigned long __cil_tmp380 ;
32574  __be32 *__cil_tmp381 ;
32575  void *__cil_tmp382 ;
32576  unsigned long __cil_tmp383 ;
32577  unsigned long __cil_tmp384 ;
32578  unsigned long __cil_tmp385 ;
32579  unsigned long __cil_tmp386 ;
32580  unsigned long __cil_tmp387 ;
32581  unsigned long __cil_tmp388 ;
32582  unsigned long __cil_tmp389 ;
32583  unsigned long __cil_tmp390 ;
32584  u16 __cil_tmp391 ;
32585  __be16 *__cil_tmp392 ;
32586  void *__cil_tmp393 ;
32587  u16 __cil_tmp394 ;
32588  unsigned long __cil_tmp395 ;
32589  unsigned long __cil_tmp396 ;
32590  __be16 *__cil_tmp397 ;
32591  void *__cil_tmp398 ;
32592  unsigned long __cil_tmp399 ;
32593  unsigned long __cil_tmp400 ;
32594  __u8 (*__cil_tmp401)[1] ;
32595  void *__cil_tmp402 ;
32596  unsigned long __cil_tmp403 ;
32597  unsigned long __cil_tmp404 ;
32598  struct Scsi_Host *__cil_tmp405 ;
32599  unsigned long __cil_tmp406 ;
32600  unsigned long __cil_tmp407 ;
32601  void *__cil_tmp408 ;
32602  struct fc_host_attrs *__cil_tmp409 ;
32603  unsigned long __cil_tmp410 ;
32604  unsigned long __cil_tmp411 ;
32605  u8 *__cil_tmp412 ;
32606  void    *__cil_tmp413 ;
32607  unsigned long __cil_tmp414 ;
32608  unsigned long __cil_tmp415 ;
32609  __u8 (*__cil_tmp416)[1] ;
32610  void *__cil_tmp417 ;
32611  unsigned long __cil_tmp418 ;
32612  unsigned long __cil_tmp419 ;
32613  struct Scsi_Host *__cil_tmp420 ;
32614  unsigned long __cil_tmp421 ;
32615  unsigned long __cil_tmp422 ;
32616  void *__cil_tmp423 ;
32617  struct fc_host_attrs *__cil_tmp424 ;
32618  unsigned long __cil_tmp425 ;
32619  unsigned long __cil_tmp426 ;
32620  u8 *__cil_tmp427 ;
32621  void    *__cil_tmp428 ;
32622  unsigned long __cil_tmp429 ;
32623  unsigned long __cil_tmp430 ;
32624  unsigned long __cil_tmp431 ;
32625  unsigned long __cil_tmp432 ;
32626  __u8 *__cil_tmp433 ;
32627  char *__cil_tmp434 ;
32628  char *__cil_tmp435 ;
32629  u16 __cil_tmp436 ;
32630  __be16 *__cil_tmp437 ;
32631  void *__cil_tmp438 ;
32632  u16 __cil_tmp439 ;
32633  unsigned long __cil_tmp440 ;
32634  unsigned long __cil_tmp441 ;
32635  __be16 *__cil_tmp442 ;
32636  void *__cil_tmp443 ;
32637  struct Scsi_Host *__cil_tmp444 ;
32638  unsigned long __cil_tmp445 ;
32639  unsigned long __cil_tmp446 ;
32640  void *__cil_tmp447 ;
32641  struct fc_host_attrs *__cil_tmp448 ;
32642  unsigned long __cil_tmp449 ;
32643  unsigned long __cil_tmp450 ;
32644  u32 __cil_tmp451 ;
32645  unsigned long __cil_tmp452 ;
32646  unsigned long __cil_tmp453 ;
32647  __u8 (*__cil_tmp454)[1] ;
32648  void *__cil_tmp455 ;
32649  unsigned long __cil_tmp456 ;
32650  unsigned long __cil_tmp457 ;
32651  unsigned long __cil_tmp458 ;
32652  unsigned long __cil_tmp459 ;
32653  __u8 *__cil_tmp460 ;
32654  char *__cil_tmp461 ;
32655  char *__cil_tmp462 ;
32656  u16 __cil_tmp463 ;
32657  __be16 *__cil_tmp464 ;
32658  void *__cil_tmp465 ;
32659  u16 __cil_tmp466 ;
32660  unsigned long __cil_tmp467 ;
32661  unsigned long __cil_tmp468 ;
32662  __be16 *__cil_tmp469 ;
32663  void *__cil_tmp470 ;
32664  unsigned long __cil_tmp471 ;
32665  unsigned long __cil_tmp472 ;
32666  u16 __cil_tmp473 ;
32667  u32 __cil_tmp474 ;
32668  unsigned long __cil_tmp475 ;
32669  unsigned long __cil_tmp476 ;
32670  __u8 (*__cil_tmp477)[1] ;
32671  void *__cil_tmp478 ;
32672  unsigned long __cil_tmp479 ;
32673  unsigned long __cil_tmp480 ;
32674  unsigned long __cil_tmp481 ;
32675  unsigned long __cil_tmp482 ;
32676  __u8 *__cil_tmp483 ;
32677  char *__cil_tmp484 ;
32678  char *__cil_tmp485 ;
32679  u16 __cil_tmp486 ;
32680  __be16 *__cil_tmp487 ;
32681  void *__cil_tmp488 ;
32682  u16 __cil_tmp489 ;
32683  unsigned long __cil_tmp490 ;
32684  unsigned long __cil_tmp491 ;
32685  __be16 *__cil_tmp492 ;
32686  void *__cil_tmp493 ;
32687  struct Scsi_Host *__cil_tmp494 ;
32688  unsigned long __cil_tmp495 ;
32689  unsigned long __cil_tmp496 ;
32690  void *__cil_tmp497 ;
32691  struct fc_host_attrs *__cil_tmp498 ;
32692  unsigned long __cil_tmp499 ;
32693  unsigned long __cil_tmp500 ;
32694  u32 __cil_tmp501 ;
32695  unsigned long __cil_tmp502 ;
32696  unsigned long __cil_tmp503 ;
32697  __u8 (*__cil_tmp504)[1] ;
32698  void *__cil_tmp505 ;
32699  unsigned long __cil_tmp506 ;
32700  unsigned long __cil_tmp507 ;
32701  unsigned long __cil_tmp508 ;
32702  unsigned long __cil_tmp509 ;
32703  __u8 *__cil_tmp510 ;
32704  char *__cil_tmp511 ;
32705  char *__cil_tmp512 ;
32706  u16 __cil_tmp513 ;
32707  __be16 *__cil_tmp514 ;
32708  void *__cil_tmp515 ;
32709  u16 __cil_tmp516 ;
32710  unsigned long __cil_tmp517 ;
32711  unsigned long __cil_tmp518 ;
32712  __be16 *__cil_tmp519 ;
32713  void *__cil_tmp520 ;
32714  struct Scsi_Host *__cil_tmp521 ;
32715  unsigned long __cil_tmp522 ;
32716  unsigned long __cil_tmp523 ;
32717  struct device *__cil_tmp524 ;
32718  struct device    *__cil_tmp525 ;
32719  __kernel_size_t __cil_tmp526 ;
32720  struct Scsi_Host *__cil_tmp527 ;
32721  unsigned long __cil_tmp528 ;
32722  unsigned long __cil_tmp529 ;
32723  struct device *__cil_tmp530 ;
32724  struct device    *__cil_tmp531 ;
32725  unsigned long __cil_tmp532 ;
32726  unsigned long __cil_tmp533 ;
32727  __u8 (*__cil_tmp534)[1] ;
32728  char *__cil_tmp535 ;
32729  unsigned long __cil_tmp536 ;
32730  unsigned long __cil_tmp537 ;
32731  unsigned long __cil_tmp538 ;
32732  unsigned long __cil_tmp539 ;
32733  __u8 *__cil_tmp540 ;
32734  char *__cil_tmp541 ;
32735  char *__cil_tmp542 ;
32736  u16 __cil_tmp543 ;
32737  __be16 *__cil_tmp544 ;
32738  void *__cil_tmp545 ;
32739  u16 __cil_tmp546 ;
32740  unsigned long __cil_tmp547 ;
32741  unsigned long __cil_tmp548 ;
32742  __be16 *__cil_tmp549 ;
32743  void *__cil_tmp550 ;
32744  unsigned long __cil_tmp551 ;
32745  unsigned long __cil_tmp552 ;
32746  struct Scsi_Host *__cil_tmp553 ;
32747  unsigned long __cil_tmp554 ;
32748  unsigned long __cil_tmp555 ;
32749  void *__cil_tmp556 ;
32750  struct fc_host_attrs *__cil_tmp557 ;
32751  unsigned long __cil_tmp558 ;
32752  unsigned long __cil_tmp559 ;
32753  char *__cil_tmp560 ;
32754  char    *__cil_tmp561 ;
32755  unsigned long __cil_tmp562 ;
32756  unsigned long __cil_tmp563 ;
32757  struct Scsi_Host *__cil_tmp564 ;
32758  unsigned long __cil_tmp565 ;
32759  unsigned long __cil_tmp566 ;
32760  void *__cil_tmp567 ;
32761  struct fc_host_attrs *__cil_tmp568 ;
32762  unsigned long __cil_tmp569 ;
32763  unsigned long __cil_tmp570 ;
32764  char *__cil_tmp571 ;
32765  char    *__cil_tmp572 ;
32766  __kernel_size_t __cil_tmp573 ;
32767  unsigned long __cil_tmp574 ;
32768  unsigned long __cil_tmp575 ;
32769  __u8 (*__cil_tmp576)[1] ;
32770  char *__cil_tmp577 ;
32771  unsigned long __cil_tmp578 ;
32772  unsigned long __cil_tmp579 ;
32773  struct Scsi_Host *__cil_tmp580 ;
32774  unsigned long __cil_tmp581 ;
32775  unsigned long __cil_tmp582 ;
32776  void *__cil_tmp583 ;
32777  struct fc_host_attrs *__cil_tmp584 ;
32778  unsigned long __cil_tmp585 ;
32779  unsigned long __cil_tmp586 ;
32780  char *__cil_tmp587 ;
32781  char    *__cil_tmp588 ;
32782  unsigned long __cil_tmp589 ;
32783  unsigned long __cil_tmp590 ;
32784  __u8 (*__cil_tmp591)[1] ;
32785  char *__cil_tmp592 ;
32786  unsigned long __cil_tmp593 ;
32787  unsigned long __cil_tmp594 ;
32788  unsigned long __cil_tmp595 ;
32789  unsigned long __cil_tmp596 ;
32790  char *__cil_tmp597 ;
32791  char    *__cil_tmp598 ;
32792  __kernel_size_t __cil_tmp599 ;
32793  struct fc_frame    *__cil_tmp600 ;
32794  enum fc_ct_fs_type __cil_tmp601 ;
32795  u8 __cil_tmp602 ;
32796  unsigned long __cil_tmp603 ;
32797  unsigned long __cil_tmp604 ;
32798  u64 __cil_tmp605 ;
32799  unsigned long __cil_tmp606 ;
32800  unsigned long __cil_tmp607 ;
32801  __be64 *__cil_tmp608 ;
32802  void *__cil_tmp609 ;
32803  struct fc_frame    *__cil_tmp610 ;
32804  enum fc_ct_fs_type __cil_tmp611 ;
32805  u8 __cil_tmp612 ;
32806  unsigned long __cil_tmp613 ;
32807  unsigned long __cil_tmp614 ;
32808  u64 __cil_tmp615 ;
32809  unsigned long __cil_tmp616 ;
32810  unsigned long __cil_tmp617 ;
32811  __be64 *__cil_tmp618 ;
32812  void *__cil_tmp619 ;
32813
32814  {
32815#line 224
32816  numattrs = 0;
32817#line 227
32818  if ((int )op == 512) {
32819#line 227
32820    goto case_512;
32821  } else
32822#line 377
32823  if ((int )op == 529) {
32824#line 377
32825    goto case_529;
32826  } else
32827#line 477
32828  if ((int )op == 784) {
32829#line 477
32830    goto case_784;
32831  } else
32832#line 485
32833  if ((int )op == 768) {
32834#line 485
32835    goto case_768;
32836  } else {
32837    {
32838#line 492
32839    goto switch_default;
32840#line 226
32841    if (0) {
32842      case_512: /* CIL Label */ 
32843      {
32844#line 228
32845      numattrs = 10;
32846#line 229
32847      len = 29UL;
32848#line 230
32849      len = len - 5UL;
32850#line 231
32851      __cil_tmp22 = numattrs * 4;
32852#line 231
32853      __cil_tmp23 = (size_t )__cil_tmp22;
32854#line 231
32855      len = len + __cil_tmp23;
32856#line 232
32857      len = len + 8UL;
32858#line 233
32859      len = len + 64UL;
32860#line 234
32861      len = len + 64UL;
32862#line 235
32863      len = len + 256UL;
32864#line 236
32865      len = len + 256UL;
32866#line 237
32867      len = len + 256UL;
32868#line 238
32869      len = len + 256UL;
32870#line 239
32871      len = len + 256UL;
32872#line 240
32873      len = len + 256UL;
32874#line 241
32875      len = len + 256UL;
32876#line 242
32877      __cil_tmp24 = (struct fc_frame    *)fp;
32878#line 242
32879      __cil_tmp25 = (enum fc_ct_fs_type )250;
32880#line 242
32881      __cil_tmp26 = (u8 )16;
32882#line 242
32883      ct = fc_ct_hdr_fill(__cil_tmp24, op, len, __cil_tmp25, __cil_tmp26);
32884#line 246
32885      __cil_tmp27 = (unsigned long )lport;
32886#line 246
32887      __cil_tmp28 = __cil_tmp27 + 792;
32888#line 246
32889      __cil_tmp29 = *((u64 *)__cil_tmp28);
32890#line 246
32891      __cil_tmp30 = (unsigned long )ct;
32892#line 246
32893      __cil_tmp31 = __cil_tmp30 + 16;
32894#line 246
32895      __cil_tmp32 = (__be64 *)__cil_tmp31;
32896#line 246
32897      __cil_tmp33 = (void *)__cil_tmp32;
32898#line 246
32899      put_unaligned_be64(__cil_tmp29, __cil_tmp33);
32900#line 248
32901      __cil_tmp34 = (u32 )1;
32902#line 248
32903      __cil_tmp35 = 0 + 8;
32904#line 248
32905      __cil_tmp36 = 16 + __cil_tmp35;
32906#line 248
32907      __cil_tmp37 = (unsigned long )ct;
32908#line 248
32909      __cil_tmp38 = __cil_tmp37 + __cil_tmp36;
32910#line 248
32911      __cil_tmp39 = (__be32 *)__cil_tmp38;
32912#line 248
32913      __cil_tmp40 = (void *)__cil_tmp39;
32914#line 248
32915      put_unaligned_be32(__cil_tmp34, __cil_tmp40);
32916#line 250
32917      __cil_tmp41 = (unsigned long )lport;
32918#line 250
32919      __cil_tmp42 = __cil_tmp41 + 792;
32920#line 250
32921      __cil_tmp43 = *((u64 *)__cil_tmp42);
32922#line 250
32923      __cil_tmp44 = 0 * 8UL;
32924#line 250
32925      __cil_tmp45 = 4 + __cil_tmp44;
32926#line 250
32927      __cil_tmp46 = 8 + __cil_tmp45;
32928#line 250
32929      __cil_tmp47 = 0 + __cil_tmp46;
32930#line 250
32931      __cil_tmp48 = 16 + __cil_tmp47;
32932#line 250
32933      __cil_tmp49 = (unsigned long )ct;
32934#line 250
32935      __cil_tmp50 = __cil_tmp49 + __cil_tmp48;
32936#line 250
32937      __cil_tmp51 = (__be64 *)__cil_tmp50;
32938#line 250
32939      __cil_tmp52 = (void *)__cil_tmp51;
32940#line 250
32941      put_unaligned_be64(__cil_tmp43, __cil_tmp52);
32942#line 254
32943      __cil_tmp53 = (u32 )numattrs;
32944#line 254
32945      __cil_tmp54 = 0 + 20;
32946#line 254
32947      __cil_tmp55 = 16 + __cil_tmp54;
32948#line 254
32949      __cil_tmp56 = (unsigned long )ct;
32950#line 254
32951      __cil_tmp57 = __cil_tmp56 + __cil_tmp55;
32952#line 254
32953      __cil_tmp58 = (__be32 *)__cil_tmp57;
32954#line 254
32955      __cil_tmp59 = (void *)__cil_tmp58;
32956#line 254
32957      put_unaligned_be32(__cil_tmp53, __cil_tmp59);
32958#line 256
32959      __cil_tmp60 = 0 + 20;
32960#line 256
32961      __cil_tmp61 = 16 + __cil_tmp60;
32962#line 256
32963      __cil_tmp62 = (unsigned long )ct;
32964#line 256
32965      __cil_tmp63 = __cil_tmp62 + __cil_tmp61;
32966#line 256
32967      hba_attrs = (struct fs_fdmi_attrs *)__cil_tmp63;
32968#line 257
32969      __cil_tmp64 = 0 * 5UL;
32970#line 257
32971      __cil_tmp65 = 4 + __cil_tmp64;
32972#line 257
32973      __cil_tmp66 = (unsigned long )hba_attrs;
32974#line 257
32975      __cil_tmp67 = __cil_tmp66 + __cil_tmp65;
32976#line 257
32977      entry = (struct fc_fdmi_attr_entry *)__cil_tmp67;
32978#line 259
32979      len = (size_t )4;
32980#line 260
32981      len = len + 8UL;
32982#line 261
32983      __cil_tmp68 = (u16 )1;
32984#line 261
32985      __cil_tmp69 = (__be16 *)entry;
32986#line 261
32987      __cil_tmp70 = (void *)__cil_tmp69;
32988#line 261
32989      put_unaligned_be16(__cil_tmp68, __cil_tmp70);
32990#line 263
32991      __cil_tmp71 = (u16 )len;
32992#line 263
32993      __cil_tmp72 = (unsigned long )entry;
32994#line 263
32995      __cil_tmp73 = __cil_tmp72 + 2;
32996#line 263
32997      __cil_tmp74 = (__be16 *)__cil_tmp73;
32998#line 263
32999      __cil_tmp75 = (void *)__cil_tmp74;
33000#line 263
33001      put_unaligned_be16(__cil_tmp71, __cil_tmp75);
33002#line 264
33003      __cil_tmp76 = (unsigned long )lport;
33004#line 264
33005      __cil_tmp77 = __cil_tmp76 + 800;
33006#line 264
33007      __cil_tmp78 = *((u64 *)__cil_tmp77);
33008#line 264
33009      __cil_tmp79 = 0 * 1UL;
33010#line 264
33011      __cil_tmp80 = 4 + __cil_tmp79;
33012#line 264
33013      __cil_tmp81 = (unsigned long )entry;
33014#line 264
33015      __cil_tmp82 = __cil_tmp81 + __cil_tmp80;
33016#line 264
33017      __cil_tmp83 = (__u8 *)__cil_tmp82;
33018#line 264
33019      __cil_tmp84 = (__be64 *)__cil_tmp83;
33020#line 264
33021      __cil_tmp85 = (void *)__cil_tmp84;
33022#line 264
33023      put_unaligned_be64(__cil_tmp78, __cil_tmp85);
33024#line 268
33025      __cil_tmp86 = 0 * 1UL;
33026#line 268
33027      __cil_tmp87 = 4 + __cil_tmp86;
33028#line 268
33029      __cil_tmp88 = (unsigned long )entry;
33030#line 268
33031      __cil_tmp89 = __cil_tmp88 + __cil_tmp87;
33032#line 268
33033      __cil_tmp90 = (__u8 *)__cil_tmp89;
33034#line 268
33035      __cil_tmp91 = (char *)__cil_tmp90;
33036#line 268
33037      __cil_tmp92 = __cil_tmp91 + 8;
33038#line 268
33039      entry = (struct fc_fdmi_attr_entry *)__cil_tmp92;
33040#line 270
33041      len = (size_t )4;
33042#line 271
33043      len = len + 64UL;
33044#line 272
33045      __cil_tmp93 = (u16 )2;
33046#line 272
33047      __cil_tmp94 = (__be16 *)entry;
33048#line 272
33049      __cil_tmp95 = (void *)__cil_tmp94;
33050#line 272
33051      put_unaligned_be16(__cil_tmp93, __cil_tmp95);
33052#line 274
33053      __cil_tmp96 = (u16 )len;
33054#line 274
33055      __cil_tmp97 = (unsigned long )entry;
33056#line 274
33057      __cil_tmp98 = __cil_tmp97 + 2;
33058#line 274
33059      __cil_tmp99 = (__be16 *)__cil_tmp98;
33060#line 274
33061      __cil_tmp100 = (void *)__cil_tmp99;
33062#line 274
33063      put_unaligned_be16(__cil_tmp96, __cil_tmp100);
33064#line 275
33065      __cil_tmp101 = (unsigned long )entry;
33066#line 275
33067      __cil_tmp102 = __cil_tmp101 + 4;
33068#line 275
33069      __cil_tmp103 = (__u8 (*)[1])__cil_tmp102;
33070#line 275
33071      __cil_tmp104 = (char *)__cil_tmp103;
33072#line 275
33073      __cil_tmp105 = 0 * 1UL;
33074#line 275
33075      __cil_tmp106 = 150 + __cil_tmp105;
33076#line 275
33077      __cil_tmp107 = *((struct Scsi_Host **)lport);
33078#line 275
33079      __cil_tmp108 = (unsigned long )__cil_tmp107;
33080#line 275
33081      __cil_tmp109 = __cil_tmp108 + 2024;
33082#line 275
33083      __cil_tmp110 = *((void **)__cil_tmp109);
33084#line 275
33085      __cil_tmp111 = (struct fc_host_attrs *)__cil_tmp110;
33086#line 275
33087      __cil_tmp112 = (unsigned long )__cil_tmp111;
33088#line 275
33089      __cil_tmp113 = __cil_tmp112 + __cil_tmp106;
33090#line 275
33091      __cil_tmp114 = (char *)__cil_tmp113;
33092#line 275
33093      __cil_tmp115 = (char    *)__cil_tmp114;
33094#line 275
33095      __cil_tmp116 = (__kernel_size_t )64;
33096#line 275
33097      strncpy(__cil_tmp104, __cil_tmp115, __cil_tmp116);
33098#line 280
33099      __cil_tmp117 = 0 * 1UL;
33100#line 280
33101      __cil_tmp118 = 4 + __cil_tmp117;
33102#line 280
33103      __cil_tmp119 = (unsigned long )entry;
33104#line 280
33105      __cil_tmp120 = __cil_tmp119 + __cil_tmp118;
33106#line 280
33107      __cil_tmp121 = (__u8 *)__cil_tmp120;
33108#line 280
33109      __cil_tmp122 = (char *)__cil_tmp121;
33110#line 280
33111      __cil_tmp123 = __cil_tmp122 + 64;
33112#line 280
33113      entry = (struct fc_fdmi_attr_entry *)__cil_tmp123;
33114#line 282
33115      len = (size_t )4;
33116#line 283
33117      len = len + 64UL;
33118#line 284
33119      __cil_tmp124 = (u16 )3;
33120#line 284
33121      __cil_tmp125 = (__be16 *)entry;
33122#line 284
33123      __cil_tmp126 = (void *)__cil_tmp125;
33124#line 284
33125      put_unaligned_be16(__cil_tmp124, __cil_tmp126);
33126#line 286
33127      __cil_tmp127 = (u16 )len;
33128#line 286
33129      __cil_tmp128 = (unsigned long )entry;
33130#line 286
33131      __cil_tmp129 = __cil_tmp128 + 2;
33132#line 286
33133      __cil_tmp130 = (__be16 *)__cil_tmp129;
33134#line 286
33135      __cil_tmp131 = (void *)__cil_tmp130;
33136#line 286
33137      put_unaligned_be16(__cil_tmp127, __cil_tmp131);
33138#line 287
33139      __cil_tmp132 = (unsigned long )entry;
33140#line 287
33141      __cil_tmp133 = __cil_tmp132 + 4;
33142#line 287
33143      __cil_tmp134 = (__u8 (*)[1])__cil_tmp133;
33144#line 287
33145      __cil_tmp135 = (char *)__cil_tmp134;
33146#line 287
33147      __cil_tmp136 = 0 * 1UL;
33148#line 287
33149      __cil_tmp137 = 70 + __cil_tmp136;
33150#line 287
33151      __cil_tmp138 = *((struct Scsi_Host **)lport);
33152#line 287
33153      __cil_tmp139 = (unsigned long )__cil_tmp138;
33154#line 287
33155      __cil_tmp140 = __cil_tmp139 + 2024;
33156#line 287
33157      __cil_tmp141 = *((void **)__cil_tmp140);
33158#line 287
33159      __cil_tmp142 = (struct fc_host_attrs *)__cil_tmp141;
33160#line 287
33161      __cil_tmp143 = (unsigned long )__cil_tmp142;
33162#line 287
33163      __cil_tmp144 = __cil_tmp143 + __cil_tmp137;
33164#line 287
33165      __cil_tmp145 = (char *)__cil_tmp144;
33166#line 287
33167      __cil_tmp146 = (char    *)__cil_tmp145;
33168#line 287
33169      __cil_tmp147 = (__kernel_size_t )64;
33170#line 287
33171      strncpy(__cil_tmp135, __cil_tmp146, __cil_tmp147);
33172#line 292
33173      __cil_tmp148 = 0 * 1UL;
33174#line 292
33175      __cil_tmp149 = 4 + __cil_tmp148;
33176#line 292
33177      __cil_tmp150 = (unsigned long )entry;
33178#line 292
33179      __cil_tmp151 = __cil_tmp150 + __cil_tmp149;
33180#line 292
33181      __cil_tmp152 = (__u8 *)__cil_tmp151;
33182#line 292
33183      __cil_tmp153 = (char *)__cil_tmp152;
33184#line 292
33185      __cil_tmp154 = __cil_tmp153 + 64;
33186#line 292
33187      entry = (struct fc_fdmi_attr_entry *)__cil_tmp154;
33188#line 294
33189      len = (size_t )4;
33190#line 295
33191      len = len + 256UL;
33192#line 296
33193      __cil_tmp155 = (u16 )4;
33194#line 296
33195      __cil_tmp156 = (__be16 *)entry;
33196#line 296
33197      __cil_tmp157 = (void *)__cil_tmp156;
33198#line 296
33199      put_unaligned_be16(__cil_tmp155, __cil_tmp157);
33200#line 298
33201      __cil_tmp158 = (u16 )len;
33202#line 298
33203      __cil_tmp159 = (unsigned long )entry;
33204#line 298
33205      __cil_tmp160 = __cil_tmp159 + 2;
33206#line 298
33207      __cil_tmp161 = (__be16 *)__cil_tmp160;
33208#line 298
33209      __cil_tmp162 = (void *)__cil_tmp161;
33210#line 298
33211      put_unaligned_be16(__cil_tmp158, __cil_tmp162);
33212#line 299
33213      __cil_tmp163 = (unsigned long )entry;
33214#line 299
33215      __cil_tmp164 = __cil_tmp163 + 4;
33216#line 299
33217      __cil_tmp165 = (__u8 (*)[1])__cil_tmp164;
33218#line 299
33219      __cil_tmp166 = (char *)__cil_tmp165;
33220#line 299
33221      __cil_tmp167 = 0 * 1UL;
33222#line 299
33223      __cil_tmp168 = 230 + __cil_tmp167;
33224#line 299
33225      __cil_tmp169 = *((struct Scsi_Host **)lport);
33226#line 299
33227      __cil_tmp170 = (unsigned long )__cil_tmp169;
33228#line 299
33229      __cil_tmp171 = __cil_tmp170 + 2024;
33230#line 299
33231      __cil_tmp172 = *((void **)__cil_tmp171);
33232#line 299
33233      __cil_tmp173 = (struct fc_host_attrs *)__cil_tmp172;
33234#line 299
33235      __cil_tmp174 = (unsigned long )__cil_tmp173;
33236#line 299
33237      __cil_tmp175 = __cil_tmp174 + __cil_tmp168;
33238#line 299
33239      __cil_tmp176 = (char *)__cil_tmp175;
33240#line 299
33241      __cil_tmp177 = (char    *)__cil_tmp176;
33242#line 299
33243      __cil_tmp178 = (__kernel_size_t )256;
33244#line 299
33245      strncpy(__cil_tmp166, __cil_tmp177, __cil_tmp178);
33246#line 304
33247      __cil_tmp179 = 0 * 1UL;
33248#line 304
33249      __cil_tmp180 = 4 + __cil_tmp179;
33250#line 304
33251      __cil_tmp181 = (unsigned long )entry;
33252#line 304
33253      __cil_tmp182 = __cil_tmp181 + __cil_tmp180;
33254#line 304
33255      __cil_tmp183 = (__u8 *)__cil_tmp182;
33256#line 304
33257      __cil_tmp184 = (char *)__cil_tmp183;
33258#line 304
33259      __cil_tmp185 = __cil_tmp184 + 256;
33260#line 304
33261      entry = (struct fc_fdmi_attr_entry *)__cil_tmp185;
33262#line 306
33263      len = (size_t )4;
33264#line 307
33265      len = len + 256UL;
33266#line 308
33267      __cil_tmp186 = (u16 )5;
33268#line 308
33269      __cil_tmp187 = (__be16 *)entry;
33270#line 308
33271      __cil_tmp188 = (void *)__cil_tmp187;
33272#line 308
33273      put_unaligned_be16(__cil_tmp186, __cil_tmp188);
33274#line 310
33275      __cil_tmp189 = (u16 )len;
33276#line 310
33277      __cil_tmp190 = (unsigned long )entry;
33278#line 310
33279      __cil_tmp191 = __cil_tmp190 + 2;
33280#line 310
33281      __cil_tmp192 = (__be16 *)__cil_tmp191;
33282#line 310
33283      __cil_tmp193 = (void *)__cil_tmp192;
33284#line 310
33285      put_unaligned_be16(__cil_tmp189, __cil_tmp193);
33286#line 311
33287      __cil_tmp194 = (unsigned long )entry;
33288#line 311
33289      __cil_tmp195 = __cil_tmp194 + 4;
33290#line 311
33291      __cil_tmp196 = (__u8 (*)[1])__cil_tmp195;
33292#line 311
33293      __cil_tmp197 = (char *)__cil_tmp196;
33294#line 311
33295      __cil_tmp198 = 0 * 1UL;
33296#line 311
33297      __cil_tmp199 = 486 + __cil_tmp198;
33298#line 311
33299      __cil_tmp200 = *((struct Scsi_Host **)lport);
33300#line 311
33301      __cil_tmp201 = (unsigned long )__cil_tmp200;
33302#line 311
33303      __cil_tmp202 = __cil_tmp201 + 2024;
33304#line 311
33305      __cil_tmp203 = *((void **)__cil_tmp202);
33306#line 311
33307      __cil_tmp204 = (struct fc_host_attrs *)__cil_tmp203;
33308#line 311
33309      __cil_tmp205 = (unsigned long )__cil_tmp204;
33310#line 311
33311      __cil_tmp206 = __cil_tmp205 + __cil_tmp199;
33312#line 311
33313      __cil_tmp207 = (char *)__cil_tmp206;
33314#line 311
33315      __cil_tmp208 = (char    *)__cil_tmp207;
33316#line 311
33317      __cil_tmp209 = (__kernel_size_t )256;
33318#line 311
33319      strncpy(__cil_tmp197, __cil_tmp208, __cil_tmp209);
33320#line 316
33321      __cil_tmp210 = 0 * 1UL;
33322#line 316
33323      __cil_tmp211 = 4 + __cil_tmp210;
33324#line 316
33325      __cil_tmp212 = (unsigned long )entry;
33326#line 316
33327      __cil_tmp213 = __cil_tmp212 + __cil_tmp211;
33328#line 316
33329      __cil_tmp214 = (__u8 *)__cil_tmp213;
33330#line 316
33331      __cil_tmp215 = (char *)__cil_tmp214;
33332#line 316
33333      __cil_tmp216 = __cil_tmp215 + 256;
33334#line 316
33335      entry = (struct fc_fdmi_attr_entry *)__cil_tmp216;
33336#line 318
33337      len = (size_t )4;
33338#line 319
33339      len = len + 256UL;
33340#line 320
33341      __cil_tmp217 = (u16 )6;
33342#line 320
33343      __cil_tmp218 = (__be16 *)entry;
33344#line 320
33345      __cil_tmp219 = (void *)__cil_tmp218;
33346#line 320
33347      put_unaligned_be16(__cil_tmp217, __cil_tmp219);
33348#line 322
33349      __cil_tmp220 = (u16 )len;
33350#line 322
33351      __cil_tmp221 = (unsigned long )entry;
33352#line 322
33353      __cil_tmp222 = __cil_tmp221 + 2;
33354#line 322
33355      __cil_tmp223 = (__be16 *)__cil_tmp222;
33356#line 322
33357      __cil_tmp224 = (void *)__cil_tmp223;
33358#line 322
33359      put_unaligned_be16(__cil_tmp220, __cil_tmp224);
33360#line 323
33361      __cil_tmp225 = (unsigned long )entry;
33362#line 323
33363      __cil_tmp226 = __cil_tmp225 + 4;
33364#line 323
33365      __cil_tmp227 = (__u8 (*)[1])__cil_tmp226;
33366#line 323
33367      __cil_tmp228 = (char *)__cil_tmp227;
33368#line 323
33369      __cil_tmp229 = 0 * 1UL;
33370#line 323
33371      __cil_tmp230 = 742 + __cil_tmp229;
33372#line 323
33373      __cil_tmp231 = *((struct Scsi_Host **)lport);
33374#line 323
33375      __cil_tmp232 = (unsigned long )__cil_tmp231;
33376#line 323
33377      __cil_tmp233 = __cil_tmp232 + 2024;
33378#line 323
33379      __cil_tmp234 = *((void **)__cil_tmp233);
33380#line 323
33381      __cil_tmp235 = (struct fc_host_attrs *)__cil_tmp234;
33382#line 323
33383      __cil_tmp236 = (unsigned long )__cil_tmp235;
33384#line 323
33385      __cil_tmp237 = __cil_tmp236 + __cil_tmp230;
33386#line 323
33387      __cil_tmp238 = (char *)__cil_tmp237;
33388#line 323
33389      __cil_tmp239 = (char    *)__cil_tmp238;
33390#line 323
33391      __cil_tmp240 = (__kernel_size_t )256;
33392#line 323
33393      strncpy(__cil_tmp228, __cil_tmp239, __cil_tmp240);
33394#line 328
33395      __cil_tmp241 = 0 * 1UL;
33396#line 328
33397      __cil_tmp242 = 4 + __cil_tmp241;
33398#line 328
33399      __cil_tmp243 = (unsigned long )entry;
33400#line 328
33401      __cil_tmp244 = __cil_tmp243 + __cil_tmp242;
33402#line 328
33403      __cil_tmp245 = (__u8 *)__cil_tmp244;
33404#line 328
33405      __cil_tmp246 = (char *)__cil_tmp245;
33406#line 328
33407      __cil_tmp247 = __cil_tmp246 + 256;
33408#line 328
33409      entry = (struct fc_fdmi_attr_entry *)__cil_tmp247;
33410#line 330
33411      len = (size_t )4;
33412#line 331
33413      len = len + 256UL;
33414#line 332
33415      __cil_tmp248 = (u16 )7;
33416#line 332
33417      __cil_tmp249 = (__be16 *)entry;
33418#line 332
33419      __cil_tmp250 = (void *)__cil_tmp249;
33420#line 332
33421      put_unaligned_be16(__cil_tmp248, __cil_tmp250);
33422#line 334
33423      __cil_tmp251 = (u16 )len;
33424#line 334
33425      __cil_tmp252 = (unsigned long )entry;
33426#line 334
33427      __cil_tmp253 = __cil_tmp252 + 2;
33428#line 334
33429      __cil_tmp254 = (__be16 *)__cil_tmp253;
33430#line 334
33431      __cil_tmp255 = (void *)__cil_tmp254;
33432#line 334
33433      put_unaligned_be16(__cil_tmp251, __cil_tmp255);
33434#line 335
33435      __cil_tmp256 = (unsigned long )entry;
33436#line 335
33437      __cil_tmp257 = __cil_tmp256 + 4;
33438#line 335
33439      __cil_tmp258 = (__u8 (*)[1])__cil_tmp257;
33440#line 335
33441      __cil_tmp259 = (char *)__cil_tmp258;
33442#line 335
33443      __cil_tmp260 = 0 * 1UL;
33444#line 335
33445      __cil_tmp261 = 806 + __cil_tmp260;
33446#line 335
33447      __cil_tmp262 = *((struct Scsi_Host **)lport);
33448#line 335
33449      __cil_tmp263 = (unsigned long )__cil_tmp262;
33450#line 335
33451      __cil_tmp264 = __cil_tmp263 + 2024;
33452#line 335
33453      __cil_tmp265 = *((void **)__cil_tmp264);
33454#line 335
33455      __cil_tmp266 = (struct fc_host_attrs *)__cil_tmp265;
33456#line 335
33457      __cil_tmp267 = (unsigned long )__cil_tmp266;
33458#line 335
33459      __cil_tmp268 = __cil_tmp267 + __cil_tmp261;
33460#line 335
33461      __cil_tmp269 = (char *)__cil_tmp268;
33462#line 335
33463      __cil_tmp270 = (char    *)__cil_tmp269;
33464#line 335
33465      __cil_tmp271 = (__kernel_size_t )256;
33466#line 335
33467      strncpy(__cil_tmp259, __cil_tmp270, __cil_tmp271);
33468#line 340
33469      __cil_tmp272 = 0 * 1UL;
33470#line 340
33471      __cil_tmp273 = 4 + __cil_tmp272;
33472#line 340
33473      __cil_tmp274 = (unsigned long )entry;
33474#line 340
33475      __cil_tmp275 = __cil_tmp274 + __cil_tmp273;
33476#line 340
33477      __cil_tmp276 = (__u8 *)__cil_tmp275;
33478#line 340
33479      __cil_tmp277 = (char *)__cil_tmp276;
33480#line 340
33481      __cil_tmp278 = __cil_tmp277 + 256;
33482#line 340
33483      entry = (struct fc_fdmi_attr_entry *)__cil_tmp278;
33484#line 342
33485      len = (size_t )4;
33486#line 343
33487      len = len + 256UL;
33488#line 344
33489      __cil_tmp279 = (u16 )8;
33490#line 344
33491      __cil_tmp280 = (__be16 *)entry;
33492#line 344
33493      __cil_tmp281 = (void *)__cil_tmp280;
33494#line 344
33495      put_unaligned_be16(__cil_tmp279, __cil_tmp281);
33496#line 346
33497      __cil_tmp282 = (u16 )len;
33498#line 346
33499      __cil_tmp283 = (unsigned long )entry;
33500#line 346
33501      __cil_tmp284 = __cil_tmp283 + 2;
33502#line 346
33503      __cil_tmp285 = (__be16 *)__cil_tmp284;
33504#line 346
33505      __cil_tmp286 = (void *)__cil_tmp285;
33506#line 346
33507      put_unaligned_be16(__cil_tmp282, __cil_tmp286);
33508#line 347
33509      __cil_tmp287 = (unsigned long )entry;
33510#line 347
33511      __cil_tmp288 = __cil_tmp287 + 4;
33512#line 347
33513      __cil_tmp289 = (__u8 (*)[1])__cil_tmp288;
33514#line 347
33515      __cil_tmp290 = (char *)__cil_tmp289;
33516#line 347
33517      __cil_tmp291 = 0 * 1UL;
33518#line 347
33519      __cil_tmp292 = 934 + __cil_tmp291;
33520#line 347
33521      __cil_tmp293 = *((struct Scsi_Host **)lport);
33522#line 347
33523      __cil_tmp294 = (unsigned long )__cil_tmp293;
33524#line 347
33525      __cil_tmp295 = __cil_tmp294 + 2024;
33526#line 347
33527      __cil_tmp296 = *((void **)__cil_tmp295);
33528#line 347
33529      __cil_tmp297 = (struct fc_host_attrs *)__cil_tmp296;
33530#line 347
33531      __cil_tmp298 = (unsigned long )__cil_tmp297;
33532#line 347
33533      __cil_tmp299 = __cil_tmp298 + __cil_tmp292;
33534#line 347
33535      __cil_tmp300 = (char *)__cil_tmp299;
33536#line 347
33537      __cil_tmp301 = (char    *)__cil_tmp300;
33538#line 347
33539      __cil_tmp302 = (__kernel_size_t )256;
33540#line 347
33541      strncpy(__cil_tmp290, __cil_tmp301, __cil_tmp302);
33542#line 352
33543      __cil_tmp303 = 0 * 1UL;
33544#line 352
33545      __cil_tmp304 = 4 + __cil_tmp303;
33546#line 352
33547      __cil_tmp305 = (unsigned long )entry;
33548#line 352
33549      __cil_tmp306 = __cil_tmp305 + __cil_tmp304;
33550#line 352
33551      __cil_tmp307 = (__u8 *)__cil_tmp306;
33552#line 352
33553      __cil_tmp308 = (char *)__cil_tmp307;
33554#line 352
33555      __cil_tmp309 = __cil_tmp308 + 256;
33556#line 352
33557      entry = (struct fc_fdmi_attr_entry *)__cil_tmp309;
33558#line 354
33559      len = (size_t )4;
33560#line 355
33561      len = len + 256UL;
33562#line 356
33563      __cil_tmp310 = (u16 )9;
33564#line 356
33565      __cil_tmp311 = (__be16 *)entry;
33566#line 356
33567      __cil_tmp312 = (void *)__cil_tmp311;
33568#line 356
33569      put_unaligned_be16(__cil_tmp310, __cil_tmp312);
33570#line 358
33571      __cil_tmp313 = (u16 )len;
33572#line 358
33573      __cil_tmp314 = (unsigned long )entry;
33574#line 358
33575      __cil_tmp315 = __cil_tmp314 + 2;
33576#line 358
33577      __cil_tmp316 = (__be16 *)__cil_tmp315;
33578#line 358
33579      __cil_tmp317 = (void *)__cil_tmp316;
33580#line 358
33581      put_unaligned_be16(__cil_tmp313, __cil_tmp317);
33582#line 359
33583      __cil_tmp318 = (unsigned long )entry;
33584#line 359
33585      __cil_tmp319 = __cil_tmp318 + 4;
33586#line 359
33587      __cil_tmp320 = (__u8 (*)[1])__cil_tmp319;
33588#line 359
33589      __cil_tmp321 = (char *)__cil_tmp320;
33590#line 359
33591      __cil_tmp322 = 0 * 1UL;
33592#line 359
33593      __cil_tmp323 = 870 + __cil_tmp322;
33594#line 359
33595      __cil_tmp324 = *((struct Scsi_Host **)lport);
33596#line 359
33597      __cil_tmp325 = (unsigned long )__cil_tmp324;
33598#line 359
33599      __cil_tmp326 = __cil_tmp325 + 2024;
33600#line 359
33601      __cil_tmp327 = *((void **)__cil_tmp326);
33602#line 359
33603      __cil_tmp328 = (struct fc_host_attrs *)__cil_tmp327;
33604#line 359
33605      __cil_tmp329 = (unsigned long )__cil_tmp328;
33606#line 359
33607      __cil_tmp330 = __cil_tmp329 + __cil_tmp323;
33608#line 359
33609      __cil_tmp331 = (char *)__cil_tmp330;
33610#line 359
33611      __cil_tmp332 = (char    *)__cil_tmp331;
33612#line 359
33613      __cil_tmp333 = (__kernel_size_t )256;
33614#line 359
33615      strncpy(__cil_tmp321, __cil_tmp332, __cil_tmp333);
33616#line 364
33617      __cil_tmp334 = 0 * 1UL;
33618#line 364
33619      __cil_tmp335 = 4 + __cil_tmp334;
33620#line 364
33621      __cil_tmp336 = (unsigned long )entry;
33622#line 364
33623      __cil_tmp337 = __cil_tmp336 + __cil_tmp335;
33624#line 364
33625      __cil_tmp338 = (__u8 *)__cil_tmp337;
33626#line 364
33627      __cil_tmp339 = (char *)__cil_tmp338;
33628#line 364
33629      __cil_tmp340 = __cil_tmp339 + 256;
33630#line 364
33631      entry = (struct fc_fdmi_attr_entry *)__cil_tmp340;
33632#line 366
33633      len = (size_t )4;
33634#line 367
33635      len = len + 256UL;
33636#line 368
33637      __cil_tmp341 = (u16 )10;
33638#line 368
33639      __cil_tmp342 = (__be16 *)entry;
33640#line 368
33641      __cil_tmp343 = (void *)__cil_tmp342;
33642#line 368
33643      put_unaligned_be16(__cil_tmp341, __cil_tmp343);
33644#line 370
33645      __cil_tmp344 = (u16 )len;
33646#line 370
33647      __cil_tmp345 = (unsigned long )entry;
33648#line 370
33649      __cil_tmp346 = __cil_tmp345 + 2;
33650#line 370
33651      __cil_tmp347 = (__be16 *)__cil_tmp346;
33652#line 370
33653      __cil_tmp348 = (void *)__cil_tmp347;
33654#line 370
33655      put_unaligned_be16(__cil_tmp344, __cil_tmp348);
33656#line 371
33657      tmp___7 = init_utsname();
33658#line 371
33659      tmp___8 = init_utsname();
33660#line 371
33661      __cil_tmp349 = (unsigned long )entry;
33662#line 371
33663      __cil_tmp350 = __cil_tmp349 + 4;
33664#line 371
33665      __cil_tmp351 = (__u8 (*)[1])__cil_tmp350;
33666#line 371
33667      __cil_tmp352 = (char *)__cil_tmp351;
33668#line 371
33669      __cil_tmp353 = (size_t )256;
33670#line 371
33671      __cil_tmp354 = 0 * 1UL;
33672#line 371
33673      __cil_tmp355 = 0 + __cil_tmp354;
33674#line 371
33675      __cil_tmp356 = (unsigned long )tmp___8;
33676#line 371
33677      __cil_tmp357 = __cil_tmp356 + __cil_tmp355;
33678#line 371
33679      __cil_tmp358 = (char *)__cil_tmp357;
33680#line 371
33681      __cil_tmp359 = 0 * 1UL;
33682#line 371
33683      __cil_tmp360 = 130 + __cil_tmp359;
33684#line 371
33685      __cil_tmp361 = (unsigned long )tmp___7;
33686#line 371
33687      __cil_tmp362 = __cil_tmp361 + __cil_tmp360;
33688#line 371
33689      __cil_tmp363 = (char *)__cil_tmp362;
33690#line 371
33691      snprintf(__cil_tmp352, __cil_tmp353, "%s v%s", __cil_tmp358, __cil_tmp363);
33692      }
33693#line 376
33694      goto switch_break;
33695      case_529: /* CIL Label */ 
33696      {
33697#line 378
33698      numattrs = 6;
33699#line 379
33700      len = 17UL;
33701#line 380
33702      len = len - 5UL;
33703#line 381
33704      __cil_tmp364 = numattrs * 4;
33705#line 381
33706      __cil_tmp365 = (size_t )__cil_tmp364;
33707#line 381
33708      len = len + __cil_tmp365;
33709#line 382
33710      len = len + 32UL;
33711#line 383
33712      len = len + 4UL;
33713#line 384
33714      len = len + 4UL;
33715#line 385
33716      len = len + 4UL;
33717#line 386
33718      len = len + 256UL;
33719#line 387
33720      len = len + 256UL;
33721#line 388
33722      __cil_tmp366 = (struct fc_frame    *)fp;
33723#line 388
33724      __cil_tmp367 = (enum fc_ct_fs_type )250;
33725#line 388
33726      __cil_tmp368 = (u8 )16;
33727#line 388
33728      ct = fc_ct_hdr_fill(__cil_tmp366, op, len, __cil_tmp367, __cil_tmp368);
33729#line 392
33730      __cil_tmp369 = (unsigned long )lport;
33731#line 392
33732      __cil_tmp370 = __cil_tmp369 + 792;
33733#line 392
33734      __cil_tmp371 = *((u64 *)__cil_tmp370);
33735#line 392
33736      __cil_tmp372 = (unsigned long )ct;
33737#line 392
33738      __cil_tmp373 = __cil_tmp372 + 16;
33739#line 392
33740      __cil_tmp374 = (__be64 *)__cil_tmp373;
33741#line 392
33742      __cil_tmp375 = (void *)__cil_tmp374;
33743#line 392
33744      put_unaligned_be64(__cil_tmp371, __cil_tmp375);
33745#line 396
33746      __cil_tmp376 = (u32 )numattrs;
33747#line 396
33748      __cil_tmp377 = 0 + 8;
33749#line 396
33750      __cil_tmp378 = 16 + __cil_tmp377;
33751#line 396
33752      __cil_tmp379 = (unsigned long )ct;
33753#line 396
33754      __cil_tmp380 = __cil_tmp379 + __cil_tmp378;
33755#line 396
33756      __cil_tmp381 = (__be32 *)__cil_tmp380;
33757#line 396
33758      __cil_tmp382 = (void *)__cil_tmp381;
33759#line 396
33760      put_unaligned_be32(__cil_tmp376, __cil_tmp382);
33761#line 399
33762      __cil_tmp383 = 0 + 8;
33763#line 399
33764      __cil_tmp384 = 16 + __cil_tmp383;
33765#line 399
33766      __cil_tmp385 = (unsigned long )ct;
33767#line 399
33768      __cil_tmp386 = __cil_tmp385 + __cil_tmp384;
33769#line 399
33770      hba_attrs = (struct fs_fdmi_attrs *)__cil_tmp386;
33771#line 400
33772      __cil_tmp387 = 0 * 5UL;
33773#line 400
33774      __cil_tmp388 = 4 + __cil_tmp387;
33775#line 400
33776      __cil_tmp389 = (unsigned long )hba_attrs;
33777#line 400
33778      __cil_tmp390 = __cil_tmp389 + __cil_tmp388;
33779#line 400
33780      entry = (struct fc_fdmi_attr_entry *)__cil_tmp390;
33781#line 403
33782      len = (size_t )4;
33783#line 404
33784      len = len + 32UL;
33785#line 405
33786      __cil_tmp391 = (u16 )1;
33787#line 405
33788      __cil_tmp392 = (__be16 *)entry;
33789#line 405
33790      __cil_tmp393 = (void *)__cil_tmp392;
33791#line 405
33792      put_unaligned_be16(__cil_tmp391, __cil_tmp393);
33793#line 407
33794      __cil_tmp394 = (u16 )len;
33795#line 407
33796      __cil_tmp395 = (unsigned long )entry;
33797#line 407
33798      __cil_tmp396 = __cil_tmp395 + 2;
33799#line 407
33800      __cil_tmp397 = (__be16 *)__cil_tmp396;
33801#line 407
33802      __cil_tmp398 = (void *)__cil_tmp397;
33803#line 407
33804      put_unaligned_be16(__cil_tmp394, __cil_tmp398);
33805#line 408
33806      __len = (size_t )32;
33807      }
33808#line 408
33809      if (__len >= 64UL) {
33810        {
33811#line 408
33812        __cil_tmp399 = (unsigned long )entry;
33813#line 408
33814        __cil_tmp400 = __cil_tmp399 + 4;
33815#line 408
33816        __cil_tmp401 = (__u8 (*)[1])__cil_tmp400;
33817#line 408
33818        __cil_tmp402 = (void *)__cil_tmp401;
33819#line 408
33820        __cil_tmp403 = 0 * 1UL;
33821#line 408
33822        __cil_tmp404 = 28 + __cil_tmp403;
33823#line 408
33824        __cil_tmp405 = *((struct Scsi_Host **)lport);
33825#line 408
33826        __cil_tmp406 = (unsigned long )__cil_tmp405;
33827#line 408
33828        __cil_tmp407 = __cil_tmp406 + 2024;
33829#line 408
33830        __cil_tmp408 = *((void **)__cil_tmp407);
33831#line 408
33832        __cil_tmp409 = (struct fc_host_attrs *)__cil_tmp408;
33833#line 408
33834        __cil_tmp410 = (unsigned long )__cil_tmp409;
33835#line 408
33836        __cil_tmp411 = __cil_tmp410 + __cil_tmp404;
33837#line 408
33838        __cil_tmp412 = (u8 *)__cil_tmp411;
33839#line 408
33840        __cil_tmp413 = (void    *)__cil_tmp412;
33841#line 408
33842        __ret = __memcpy(__cil_tmp402, __cil_tmp413, __len);
33843        }
33844      } else {
33845        {
33846#line 408
33847        __cil_tmp414 = (unsigned long )entry;
33848#line 408
33849        __cil_tmp415 = __cil_tmp414 + 4;
33850#line 408
33851        __cil_tmp416 = (__u8 (*)[1])__cil_tmp415;
33852#line 408
33853        __cil_tmp417 = (void *)__cil_tmp416;
33854#line 408
33855        __cil_tmp418 = 0 * 1UL;
33856#line 408
33857        __cil_tmp419 = 28 + __cil_tmp418;
33858#line 408
33859        __cil_tmp420 = *((struct Scsi_Host **)lport);
33860#line 408
33861        __cil_tmp421 = (unsigned long )__cil_tmp420;
33862#line 408
33863        __cil_tmp422 = __cil_tmp421 + 2024;
33864#line 408
33865        __cil_tmp423 = *((void **)__cil_tmp422);
33866#line 408
33867        __cil_tmp424 = (struct fc_host_attrs *)__cil_tmp423;
33868#line 408
33869        __cil_tmp425 = (unsigned long )__cil_tmp424;
33870#line 408
33871        __cil_tmp426 = __cil_tmp425 + __cil_tmp419;
33872#line 408
33873        __cil_tmp427 = (u8 *)__cil_tmp426;
33874#line 408
33875        __cil_tmp428 = (void    *)__cil_tmp427;
33876#line 408
33877        __ret = __builtin_memcpy(__cil_tmp417, __cil_tmp428, __len);
33878        }
33879      }
33880      {
33881#line 412
33882      __cil_tmp429 = 0 * 1UL;
33883#line 412
33884      __cil_tmp430 = 4 + __cil_tmp429;
33885#line 412
33886      __cil_tmp431 = (unsigned long )entry;
33887#line 412
33888      __cil_tmp432 = __cil_tmp431 + __cil_tmp430;
33889#line 412
33890      __cil_tmp433 = (__u8 *)__cil_tmp432;
33891#line 412
33892      __cil_tmp434 = (char *)__cil_tmp433;
33893#line 412
33894      __cil_tmp435 = __cil_tmp434 + 32;
33895#line 412
33896      entry = (struct fc_fdmi_attr_entry *)__cil_tmp435;
33897#line 414
33898      len = (size_t )4;
33899#line 415
33900      len = len + 4UL;
33901#line 416
33902      __cil_tmp436 = (u16 )2;
33903#line 416
33904      __cil_tmp437 = (__be16 *)entry;
33905#line 416
33906      __cil_tmp438 = (void *)__cil_tmp437;
33907#line 416
33908      put_unaligned_be16(__cil_tmp436, __cil_tmp438);
33909#line 418
33910      __cil_tmp439 = (u16 )len;
33911#line 418
33912      __cil_tmp440 = (unsigned long )entry;
33913#line 418
33914      __cil_tmp441 = __cil_tmp440 + 2;
33915#line 418
33916      __cil_tmp442 = (__be16 *)__cil_tmp441;
33917#line 418
33918      __cil_tmp443 = (void *)__cil_tmp442;
33919#line 418
33920      put_unaligned_be16(__cil_tmp439, __cil_tmp443);
33921#line 420
33922      __cil_tmp444 = *((struct Scsi_Host **)lport);
33923#line 420
33924      __cil_tmp445 = (unsigned long )__cil_tmp444;
33925#line 420
33926      __cil_tmp446 = __cil_tmp445 + 2024;
33927#line 420
33928      __cil_tmp447 = *((void **)__cil_tmp446);
33929#line 420
33930      __cil_tmp448 = (struct fc_host_attrs *)__cil_tmp447;
33931#line 420
33932      __cil_tmp449 = (unsigned long )__cil_tmp448;
33933#line 420
33934      __cil_tmp450 = __cil_tmp449 + 60;
33935#line 420
33936      __cil_tmp451 = *((u32 *)__cil_tmp450);
33937#line 420
33938      __cil_tmp452 = (unsigned long )entry;
33939#line 420
33940      __cil_tmp453 = __cil_tmp452 + 4;
33941#line 420
33942      __cil_tmp454 = (__u8 (*)[1])__cil_tmp453;
33943#line 420
33944      __cil_tmp455 = (void *)__cil_tmp454;
33945#line 420
33946      put_unaligned_be32(__cil_tmp451, __cil_tmp455);
33947#line 424
33948      __cil_tmp456 = 0 * 1UL;
33949#line 424
33950      __cil_tmp457 = 4 + __cil_tmp456;
33951#line 424
33952      __cil_tmp458 = (unsigned long )entry;
33953#line 424
33954      __cil_tmp459 = __cil_tmp458 + __cil_tmp457;
33955#line 424
33956      __cil_tmp460 = (__u8 *)__cil_tmp459;
33957#line 424
33958      __cil_tmp461 = (char *)__cil_tmp460;
33959#line 424
33960      __cil_tmp462 = __cil_tmp461 + 4;
33961#line 424
33962      entry = (struct fc_fdmi_attr_entry *)__cil_tmp462;
33963#line 426
33964      len = (size_t )4;
33965#line 427
33966      len = len + 4UL;
33967#line 428
33968      __cil_tmp463 = (u16 )3;
33969#line 428
33970      __cil_tmp464 = (__be16 *)entry;
33971#line 428
33972      __cil_tmp465 = (void *)__cil_tmp464;
33973#line 428
33974      put_unaligned_be16(__cil_tmp463, __cil_tmp465);
33975#line 430
33976      __cil_tmp466 = (u16 )len;
33977#line 430
33978      __cil_tmp467 = (unsigned long )entry;
33979#line 430
33980      __cil_tmp468 = __cil_tmp467 + 2;
33981#line 430
33982      __cil_tmp469 = (__be16 *)__cil_tmp468;
33983#line 430
33984      __cil_tmp470 = (void *)__cil_tmp469;
33985#line 430
33986      put_unaligned_be16(__cil_tmp466, __cil_tmp470);
33987#line 431
33988      __cil_tmp471 = (unsigned long )lport;
33989#line 431
33990      __cil_tmp472 = __cil_tmp471 + 884;
33991#line 431
33992      __cil_tmp473 = *((u16 *)__cil_tmp472);
33993#line 431
33994      __cil_tmp474 = (u32 )__cil_tmp473;
33995#line 431
33996      __cil_tmp475 = (unsigned long )entry;
33997#line 431
33998      __cil_tmp476 = __cil_tmp475 + 4;
33999#line 431
34000      __cil_tmp477 = (__u8 (*)[1])__cil_tmp476;
34001#line 431
34002      __cil_tmp478 = (void *)__cil_tmp477;
34003#line 431
34004      put_unaligned_be32(__cil_tmp474, __cil_tmp478);
34005#line 435
34006      __cil_tmp479 = 0 * 1UL;
34007#line 435
34008      __cil_tmp480 = 4 + __cil_tmp479;
34009#line 435
34010      __cil_tmp481 = (unsigned long )entry;
34011#line 435
34012      __cil_tmp482 = __cil_tmp481 + __cil_tmp480;
34013#line 435
34014      __cil_tmp483 = (__u8 *)__cil_tmp482;
34015#line 435
34016      __cil_tmp484 = (char *)__cil_tmp483;
34017#line 435
34018      __cil_tmp485 = __cil_tmp484 + 4;
34019#line 435
34020      entry = (struct fc_fdmi_attr_entry *)__cil_tmp485;
34021#line 437
34022      len = (size_t )4;
34023#line 438
34024      len = len + 4UL;
34025#line 439
34026      __cil_tmp486 = (u16 )4;
34027#line 439
34028      __cil_tmp487 = (__be16 *)entry;
34029#line 439
34030      __cil_tmp488 = (void *)__cil_tmp487;
34031#line 439
34032      put_unaligned_be16(__cil_tmp486, __cil_tmp488);
34033#line 441
34034      __cil_tmp489 = (u16 )len;
34035#line 441
34036      __cil_tmp490 = (unsigned long )entry;
34037#line 441
34038      __cil_tmp491 = __cil_tmp490 + 2;
34039#line 441
34040      __cil_tmp492 = (__be16 *)__cil_tmp491;
34041#line 441
34042      __cil_tmp493 = (void *)__cil_tmp492;
34043#line 441
34044      put_unaligned_be16(__cil_tmp489, __cil_tmp493);
34045#line 442
34046      __cil_tmp494 = *((struct Scsi_Host **)lport);
34047#line 442
34048      __cil_tmp495 = (unsigned long )__cil_tmp494;
34049#line 442
34050      __cil_tmp496 = __cil_tmp495 + 2024;
34051#line 442
34052      __cil_tmp497 = *((void **)__cil_tmp496);
34053#line 442
34054      __cil_tmp498 = (struct fc_host_attrs *)__cil_tmp497;
34055#line 442
34056      __cil_tmp499 = (unsigned long )__cil_tmp498;
34057#line 442
34058      __cil_tmp500 = __cil_tmp499 + 64;
34059#line 442
34060      __cil_tmp501 = *((u32 *)__cil_tmp500);
34061#line 442
34062      __cil_tmp502 = (unsigned long )entry;
34063#line 442
34064      __cil_tmp503 = __cil_tmp502 + 4;
34065#line 442
34066      __cil_tmp504 = (__u8 (*)[1])__cil_tmp503;
34067#line 442
34068      __cil_tmp505 = (void *)__cil_tmp504;
34069#line 442
34070      put_unaligned_be32(__cil_tmp501, __cil_tmp505);
34071#line 446
34072      __cil_tmp506 = 0 * 1UL;
34073#line 446
34074      __cil_tmp507 = 4 + __cil_tmp506;
34075#line 446
34076      __cil_tmp508 = (unsigned long )entry;
34077#line 446
34078      __cil_tmp509 = __cil_tmp508 + __cil_tmp507;
34079#line 446
34080      __cil_tmp510 = (__u8 *)__cil_tmp509;
34081#line 446
34082      __cil_tmp511 = (char *)__cil_tmp510;
34083#line 446
34084      __cil_tmp512 = __cil_tmp511 + 4;
34085#line 446
34086      entry = (struct fc_fdmi_attr_entry *)__cil_tmp512;
34087#line 448
34088      len = (size_t )4;
34089#line 449
34090      len = len + 256UL;
34091#line 450
34092      __cil_tmp513 = (u16 )5;
34093#line 450
34094      __cil_tmp514 = (__be16 *)entry;
34095#line 450
34096      __cil_tmp515 = (void *)__cil_tmp514;
34097#line 450
34098      put_unaligned_be16(__cil_tmp513, __cil_tmp515);
34099#line 452
34100      __cil_tmp516 = (u16 )len;
34101#line 452
34102      __cil_tmp517 = (unsigned long )entry;
34103#line 452
34104      __cil_tmp518 = __cil_tmp517 + 2;
34105#line 452
34106      __cil_tmp519 = (__be16 *)__cil_tmp518;
34107#line 452
34108      __cil_tmp520 = (void *)__cil_tmp519;
34109#line 452
34110      put_unaligned_be16(__cil_tmp516, __cil_tmp520);
34111#line 454
34112      __cil_tmp521 = *((struct Scsi_Host **)lport);
34113#line 454
34114      __cil_tmp522 = (unsigned long )__cil_tmp521;
34115#line 454
34116      __cil_tmp523 = __cil_tmp522 + 472;
34117#line 454
34118      __cil_tmp524 = (struct device *)__cil_tmp523;
34119#line 454
34120      __cil_tmp525 = (struct device    *)__cil_tmp524;
34121#line 454
34122      tmp___9 = dev_name(__cil_tmp525);
34123#line 454
34124      __cil_tmp526 = (__kernel_size_t )256;
34125#line 454
34126      tmp___10 = strnlen(tmp___9, __cil_tmp526);
34127#line 454
34128      __cil_tmp527 = *((struct Scsi_Host **)lport);
34129#line 454
34130      __cil_tmp528 = (unsigned long )__cil_tmp527;
34131#line 454
34132      __cil_tmp529 = __cil_tmp528 + 472;
34133#line 454
34134      __cil_tmp530 = (struct device *)__cil_tmp529;
34135#line 454
34136      __cil_tmp531 = (struct device    *)__cil_tmp530;
34137#line 454
34138      tmp___11 = dev_name(__cil_tmp531);
34139#line 454
34140      __cil_tmp532 = (unsigned long )entry;
34141#line 454
34142      __cil_tmp533 = __cil_tmp532 + 4;
34143#line 454
34144      __cil_tmp534 = (__u8 (*)[1])__cil_tmp533;
34145#line 454
34146      __cil_tmp535 = (char *)__cil_tmp534;
34147#line 454
34148      strncpy(__cil_tmp535, tmp___11, tmp___10);
34149#line 460
34150      __cil_tmp536 = 0 * 1UL;
34151#line 460
34152      __cil_tmp537 = 4 + __cil_tmp536;
34153#line 460
34154      __cil_tmp538 = (unsigned long )entry;
34155#line 460
34156      __cil_tmp539 = __cil_tmp538 + __cil_tmp537;
34157#line 460
34158      __cil_tmp540 = (__u8 *)__cil_tmp539;
34159#line 460
34160      __cil_tmp541 = (char *)__cil_tmp540;
34161#line 460
34162      __cil_tmp542 = __cil_tmp541 + 256;
34163#line 460
34164      entry = (struct fc_fdmi_attr_entry *)__cil_tmp542;
34165#line 462
34166      len = (size_t )4;
34167#line 463
34168      len = len + 256UL;
34169#line 464
34170      __cil_tmp543 = (u16 )6;
34171#line 464
34172      __cil_tmp544 = (__be16 *)entry;
34173#line 464
34174      __cil_tmp545 = (void *)__cil_tmp544;
34175#line 464
34176      put_unaligned_be16(__cil_tmp543, __cil_tmp545);
34177#line 466
34178      __cil_tmp546 = (u16 )len;
34179#line 466
34180      __cil_tmp547 = (unsigned long )entry;
34181#line 466
34182      __cil_tmp548 = __cil_tmp547 + 2;
34183#line 466
34184      __cil_tmp549 = (__be16 *)__cil_tmp548;
34185#line 466
34186      __cil_tmp550 = (void *)__cil_tmp549;
34187#line 466
34188      put_unaligned_be16(__cil_tmp546, __cil_tmp550);
34189#line 467
34190      __cil_tmp551 = 0 * 1UL;
34191#line 467
34192      __cil_tmp552 = 1312 + __cil_tmp551;
34193#line 467
34194      __cil_tmp553 = *((struct Scsi_Host **)lport);
34195#line 467
34196      __cil_tmp554 = (unsigned long )__cil_tmp553;
34197#line 467
34198      __cil_tmp555 = __cil_tmp554 + 2024;
34199#line 467
34200      __cil_tmp556 = *((void **)__cil_tmp555);
34201#line 467
34202      __cil_tmp557 = (struct fc_host_attrs *)__cil_tmp556;
34203#line 467
34204      __cil_tmp558 = (unsigned long )__cil_tmp557;
34205#line 467
34206      __cil_tmp559 = __cil_tmp558 + __cil_tmp552;
34207#line 467
34208      __cil_tmp560 = (char *)__cil_tmp559;
34209#line 467
34210      __cil_tmp561 = (char    *)__cil_tmp560;
34211#line 467
34212      tmp___14 = strlen(__cil_tmp561);
34213      }
34214#line 467
34215      if (tmp___14) {
34216        {
34217#line 468
34218        __cil_tmp562 = 0 * 1UL;
34219#line 468
34220        __cil_tmp563 = 1312 + __cil_tmp562;
34221#line 468
34222        __cil_tmp564 = *((struct Scsi_Host **)lport);
34223#line 468
34224        __cil_tmp565 = (unsigned long )__cil_tmp564;
34225#line 468
34226        __cil_tmp566 = __cil_tmp565 + 2024;
34227#line 468
34228        __cil_tmp567 = *((void **)__cil_tmp566);
34229#line 468
34230        __cil_tmp568 = (struct fc_host_attrs *)__cil_tmp567;
34231#line 468
34232        __cil_tmp569 = (unsigned long )__cil_tmp568;
34233#line 468
34234        __cil_tmp570 = __cil_tmp569 + __cil_tmp563;
34235#line 468
34236        __cil_tmp571 = (char *)__cil_tmp570;
34237#line 468
34238        __cil_tmp572 = (char    *)__cil_tmp571;
34239#line 468
34240        __cil_tmp573 = (__kernel_size_t )256;
34241#line 468
34242        tmp___12 = strnlen(__cil_tmp572, __cil_tmp573);
34243#line 468
34244        __cil_tmp574 = (unsigned long )entry;
34245#line 468
34246        __cil_tmp575 = __cil_tmp574 + 4;
34247#line 468
34248        __cil_tmp576 = (__u8 (*)[1])__cil_tmp575;
34249#line 468
34250        __cil_tmp577 = (char *)__cil_tmp576;
34251#line 468
34252        __cil_tmp578 = 0 * 1UL;
34253#line 468
34254        __cil_tmp579 = 1312 + __cil_tmp578;
34255#line 468
34256        __cil_tmp580 = *((struct Scsi_Host **)lport);
34257#line 468
34258        __cil_tmp581 = (unsigned long )__cil_tmp580;
34259#line 468
34260        __cil_tmp582 = __cil_tmp581 + 2024;
34261#line 468
34262        __cil_tmp583 = *((void **)__cil_tmp582);
34263#line 468
34264        __cil_tmp584 = (struct fc_host_attrs *)__cil_tmp583;
34265#line 468
34266        __cil_tmp585 = (unsigned long )__cil_tmp584;
34267#line 468
34268        __cil_tmp586 = __cil_tmp585 + __cil_tmp579;
34269#line 468
34270        __cil_tmp587 = (char *)__cil_tmp586;
34271#line 468
34272        __cil_tmp588 = (char    *)__cil_tmp587;
34273#line 468
34274        strncpy(__cil_tmp577, __cil_tmp588, tmp___12);
34275        }
34276      } else {
34277        {
34278#line 473
34279        tmp___13 = init_utsname();
34280#line 473
34281        __cil_tmp589 = (unsigned long )entry;
34282#line 473
34283        __cil_tmp590 = __cil_tmp589 + 4;
34284#line 473
34285        __cil_tmp591 = (__u8 (*)[1])__cil_tmp590;
34286#line 473
34287        __cil_tmp592 = (char *)__cil_tmp591;
34288#line 473
34289        __cil_tmp593 = 0 * 1UL;
34290#line 473
34291        __cil_tmp594 = 65 + __cil_tmp593;
34292#line 473
34293        __cil_tmp595 = (unsigned long )tmp___13;
34294#line 473
34295        __cil_tmp596 = __cil_tmp595 + __cil_tmp594;
34296#line 473
34297        __cil_tmp597 = (char *)__cil_tmp596;
34298#line 473
34299        __cil_tmp598 = (char    *)__cil_tmp597;
34300#line 473
34301        __cil_tmp599 = (__kernel_size_t )256;
34302#line 473
34303        strncpy(__cil_tmp592, __cil_tmp598, __cil_tmp599);
34304        }
34305      }
34306#line 476
34307      goto switch_break;
34308      case_784: /* CIL Label */ 
34309      {
34310#line 478
34311      len = 8UL;
34312#line 479
34313      __cil_tmp600 = (struct fc_frame    *)fp;
34314#line 479
34315      __cil_tmp601 = (enum fc_ct_fs_type )250;
34316#line 479
34317      __cil_tmp602 = (u8 )16;
34318#line 479
34319      ct = fc_ct_hdr_fill(__cil_tmp600, op, len, __cil_tmp601, __cil_tmp602);
34320#line 482
34321      __cil_tmp603 = (unsigned long )lport;
34322#line 482
34323      __cil_tmp604 = __cil_tmp603 + 792;
34324#line 482
34325      __cil_tmp605 = *((u64 *)__cil_tmp604);
34326#line 482
34327      __cil_tmp606 = (unsigned long )ct;
34328#line 482
34329      __cil_tmp607 = __cil_tmp606 + 16;
34330#line 482
34331      __cil_tmp608 = (__be64 *)__cil_tmp607;
34332#line 482
34333      __cil_tmp609 = (void *)__cil_tmp608;
34334#line 482
34335      put_unaligned_be64(__cil_tmp605, __cil_tmp609);
34336      }
34337#line 484
34338      goto switch_break;
34339      case_768: /* CIL Label */ 
34340      {
34341#line 486
34342      len = 8UL;
34343#line 487
34344      __cil_tmp610 = (struct fc_frame    *)fp;
34345#line 487
34346      __cil_tmp611 = (enum fc_ct_fs_type )250;
34347#line 487
34348      __cil_tmp612 = (u8 )16;
34349#line 487
34350      ct = fc_ct_hdr_fill(__cil_tmp610, op, len, __cil_tmp611, __cil_tmp612);
34351#line 490
34352      __cil_tmp613 = (unsigned long )lport;
34353#line 490
34354      __cil_tmp614 = __cil_tmp613 + 792;
34355#line 490
34356      __cil_tmp615 = *((u64 *)__cil_tmp614);
34357#line 490
34358      __cil_tmp616 = (unsigned long )ct;
34359#line 490
34360      __cil_tmp617 = __cil_tmp616 + 16;
34361#line 490
34362      __cil_tmp618 = (__be64 *)__cil_tmp617;
34363#line 490
34364      __cil_tmp619 = (void *)__cil_tmp618;
34365#line 490
34366      put_unaligned_be64(__cil_tmp615, __cil_tmp619);
34367      }
34368#line 491
34369      goto switch_break;
34370      switch_default: /* CIL Label */ 
34371#line 493
34372      return (-22);
34373    } else {
34374      switch_break: /* CIL Label */ ;
34375    }
34376    }
34377  }
34378#line 495
34379  *r_ctl = (enum fc_rctl )2;
34380#line 496
34381  *fh_type = (enum fc_fh_type )32;
34382#line 497
34383  return (0);
34384}
34385}
34386#line 509
34387__inline static int fc_ct_fill(struct fc_lport *lport , u32 fc_id , struct fc_frame *fp ,
34388                               unsigned int op , enum fc_rctl *r_ctl , enum fc_fh_type *fh_type ,
34389                               u32 *did )  __attribute__((__no_instrument_function__)) ;
34390#line 509 "include/scsi/fc_encode.h"
34391__inline static int fc_ct_fill(struct fc_lport *lport , u32 fc_id , struct fc_frame *fp ,
34392                               unsigned int op , enum fc_rctl *r_ctl , enum fc_fh_type *fh_type ,
34393                               u32 *did ) 
34394{ int rc ;
34395
34396  {
34397#line 514
34398  rc = -22;
34399#line 517
34400  if ((int )fc_id == 16777210) {
34401#line 517
34402    goto case_16777210;
34403  } else {
34404    {
34405#line 522
34406    goto switch_default;
34407#line 516
34408    if (0) {
34409      case_16777210: /* CIL Label */ 
34410      {
34411#line 518
34412      rc = fc_ct_ms_fill(lport, fc_id, fp, op, r_ctl, fh_type);
34413#line 519
34414      *did = (u32 )16777210;
34415      }
34416#line 520
34417      goto switch_break;
34418      switch_default: /* CIL Label */ 
34419      {
34420#line 523
34421      rc = fc_ct_ns_fill(lport, fc_id, fp, op, r_ctl, fh_type);
34422#line 524
34423      *did = (u32 )16777212;
34424      }
34425#line 525
34426      goto switch_break;
34427    } else {
34428      switch_break: /* CIL Label */ ;
34429    }
34430    }
34431  }
34432#line 528
34433  return (rc);
34434}
34435}
34436#line 533
34437__inline static void fc_plogi_fill(struct fc_lport *lport , struct fc_frame *fp ,
34438                                   unsigned int op )  __attribute__((__no_instrument_function__)) ;
34439#line 533 "include/scsi/fc_encode.h"
34440__inline static void fc_plogi_fill(struct fc_lport *lport , struct fc_frame *fp ,
34441                                   unsigned int op ) 
34442{ struct fc_els_flogi *plogi ;
34443  struct fc_els_csp *csp ;
34444  struct fc_els_cssp *cp ;
34445  void *tmp___7 ;
34446  __u16 tmp___9 ;
34447  __u32 tmp___14 ;
34448  __u16 tmp___15 ;
34449  struct fc_frame    *__cil_tmp17 ;
34450  void *__cil_tmp18 ;
34451  unsigned long __cil_tmp19 ;
34452  unsigned long __cil_tmp20 ;
34453  u64 __cil_tmp21 ;
34454  unsigned long __cil_tmp22 ;
34455  unsigned long __cil_tmp23 ;
34456  __be64 *__cil_tmp24 ;
34457  void *__cil_tmp25 ;
34458  unsigned long __cil_tmp26 ;
34459  unsigned long __cil_tmp27 ;
34460  u64 __cil_tmp28 ;
34461  unsigned long __cil_tmp29 ;
34462  unsigned long __cil_tmp30 ;
34463  __be64 *__cil_tmp31 ;
34464  void *__cil_tmp32 ;
34465  unsigned long __cil_tmp33 ;
34466  unsigned long __cil_tmp34 ;
34467  unsigned long __cil_tmp35 ;
34468  unsigned long __cil_tmp36 ;
34469  unsigned long __cil_tmp37 ;
34470  unsigned long __cil_tmp38 ;
34471  int __cil_tmp39 ;
34472  __u16 __cil_tmp40 ;
34473  int __cil_tmp41 ;
34474  unsigned long __cil_tmp42 ;
34475  unsigned long __cil_tmp43 ;
34476  u32 __cil_tmp44 ;
34477  u16 __cil_tmp45 ;
34478  unsigned long __cil_tmp46 ;
34479  unsigned long __cil_tmp47 ;
34480  int __cil_tmp48 ;
34481  unsigned long __cil_tmp49 ;
34482  unsigned long __cil_tmp50 ;
34483  unsigned long __cil_tmp51 ;
34484  unsigned long __cil_tmp52 ;
34485  int __cil_tmp53 ;
34486  __u16 __cil_tmp54 ;
34487  int __cil_tmp55 ;
34488  unsigned long __cil_tmp56 ;
34489  unsigned long __cil_tmp57 ;
34490  int __cil_tmp58 ;
34491  __u16 __cil_tmp59 ;
34492  int __cil_tmp60 ;
34493  unsigned long __cil_tmp61 ;
34494  unsigned long __cil_tmp62 ;
34495  int __cil_tmp63 ;
34496  __u16 __cil_tmp64 ;
34497  int __cil_tmp65 ;
34498  unsigned long __cil_tmp66 ;
34499  unsigned long __cil_tmp67 ;
34500  unsigned long __cil_tmp68 ;
34501  unsigned long __cil_tmp69 ;
34502  int __cil_tmp70 ;
34503  __u16 __cil_tmp71 ;
34504  int __cil_tmp72 ;
34505  unsigned long __cil_tmp73 ;
34506  unsigned long __cil_tmp74 ;
34507  unsigned int __cil_tmp75 ;
34508  unsigned long __cil_tmp76 ;
34509  unsigned long __cil_tmp77 ;
34510  unsigned long __cil_tmp78 ;
34511  unsigned long __cil_tmp79 ;
34512  u32 __cil_tmp80 ;
34513  u16 __cil_tmp81 ;
34514  unsigned long __cil_tmp82 ;
34515  unsigned long __cil_tmp83 ;
34516  int __cil_tmp84 ;
34517  unsigned long __cil_tmp85 ;
34518  unsigned long __cil_tmp86 ;
34519  int __cil_tmp87 ;
34520  __u16 __cil_tmp88 ;
34521  int __cil_tmp89 ;
34522  unsigned long __cil_tmp90 ;
34523  unsigned long __cil_tmp91 ;
34524
34525  {
34526  {
34527#line 540
34528  __cil_tmp17 = (struct fc_frame    *)fp;
34529#line 540
34530  tmp___7 = fc_frame_payload_get(__cil_tmp17, 116UL);
34531#line 540
34532  plogi = (struct fc_els_flogi *)tmp___7;
34533#line 541
34534  __cil_tmp18 = (void *)plogi;
34535#line 541
34536  memset(__cil_tmp18, 0, 116UL);
34537#line 542
34538  *((__u8 *)plogi) = (u8 )op;
34539#line 543
34540  __cil_tmp19 = (unsigned long )lport;
34541#line 543
34542  __cil_tmp20 = __cil_tmp19 + 792;
34543#line 543
34544  __cil_tmp21 = *((u64 *)__cil_tmp20);
34545#line 543
34546  __cil_tmp22 = (unsigned long )plogi;
34547#line 543
34548  __cil_tmp23 = __cil_tmp22 + 20;
34549#line 543
34550  __cil_tmp24 = (__be64 *)__cil_tmp23;
34551#line 543
34552  __cil_tmp25 = (void *)__cil_tmp24;
34553#line 543
34554  put_unaligned_be64(__cil_tmp21, __cil_tmp25);
34555#line 544
34556  __cil_tmp26 = (unsigned long )lport;
34557#line 544
34558  __cil_tmp27 = __cil_tmp26 + 800;
34559#line 544
34560  __cil_tmp28 = *((u64 *)__cil_tmp27);
34561#line 544
34562  __cil_tmp29 = (unsigned long )plogi;
34563#line 544
34564  __cil_tmp30 = __cil_tmp29 + 28;
34565#line 544
34566  __cil_tmp31 = (__be64 *)__cil_tmp30;
34567#line 544
34568  __cil_tmp32 = (void *)__cil_tmp31;
34569#line 544
34570  put_unaligned_be64(__cil_tmp28, __cil_tmp32);
34571#line 546
34572  __cil_tmp33 = (unsigned long )plogi;
34573#line 546
34574  __cil_tmp34 = __cil_tmp33 + 4;
34575#line 546
34576  csp = (struct fc_els_csp *)__cil_tmp34;
34577#line 547
34578  *((__u8 *)csp) = (__u8 )32;
34579#line 548
34580  __cil_tmp35 = (unsigned long )csp;
34581#line 548
34582  __cil_tmp36 = __cil_tmp35 + 1;
34583#line 548
34584  *((__u8 *)__cil_tmp36) = (__u8 )32;
34585#line 549
34586  __cil_tmp37 = (unsigned long )csp;
34587#line 549
34588  __cil_tmp38 = __cil_tmp37 + 2;
34589#line 549
34590  __cil_tmp39 = 10 << 8;
34591#line 549
34592  __cil_tmp40 = (__u16 )__cil_tmp39;
34593#line 549
34594  __cil_tmp41 = (int )__cil_tmp40;
34595#line 549
34596  *((__be16 *)__cil_tmp38) = (__be16 )__cil_tmp41;
34597#line 550
34598  __cil_tmp42 = (unsigned long )lport;
34599#line 550
34600  __cil_tmp43 = __cil_tmp42 + 876;
34601#line 550
34602  __cil_tmp44 = *((u32 *)__cil_tmp43);
34603#line 550
34604  __cil_tmp45 = (u16 )__cil_tmp44;
34605#line 550
34606  tmp___9 = __fswab16(__cil_tmp45);
34607#line 550
34608  __cil_tmp46 = (unsigned long )csp;
34609#line 550
34610  __cil_tmp47 = __cil_tmp46 + 6;
34611#line 550
34612  __cil_tmp48 = (int )tmp___9;
34613#line 550
34614  *((__be16 *)__cil_tmp47) = (__be16 )__cil_tmp48;
34615#line 551
34616  __cil_tmp49 = 2 * 16UL;
34617#line 551
34618  __cil_tmp50 = 36 + __cil_tmp49;
34619#line 551
34620  __cil_tmp51 = (unsigned long )plogi;
34621#line 551
34622  __cil_tmp52 = __cil_tmp51 + __cil_tmp50;
34623#line 551
34624  cp = (struct fc_els_cssp *)__cil_tmp52;
34625#line 552
34626  __cil_tmp53 = 34816 >> 8;
34627#line 552
34628  __cil_tmp54 = (__u16 )__cil_tmp53;
34629#line 552
34630  __cil_tmp55 = (int )__cil_tmp54;
34631#line 552
34632  *((__be16 *)cp) = (__be16 )__cil_tmp55;
34633#line 553
34634  __cil_tmp56 = (unsigned long )csp;
34635#line 553
34636  __cil_tmp57 = __cil_tmp56 + 4;
34637#line 553
34638  __cil_tmp58 = 32768 >> 8;
34639#line 553
34640  __cil_tmp59 = (__u16 )__cil_tmp58;
34641#line 553
34642  __cil_tmp60 = (int )__cil_tmp59;
34643#line 553
34644  *((__be16 *)__cil_tmp57) = (__be16 )__cil_tmp60;
34645#line 554
34646  __cil_tmp61 = (unsigned long )csp;
34647#line 554
34648  __cil_tmp62 = __cil_tmp61 + 8;
34649#line 554
34650  __cil_tmp63 = 255 << 8;
34651#line 554
34652  __cil_tmp64 = (__u16 )__cil_tmp63;
34653#line 554
34654  __cil_tmp65 = (int )__cil_tmp64;
34655#line 554
34656  *((__be16 *)__cil_tmp62) = (__be16 )__cil_tmp65;
34657#line 555
34658  __cil_tmp66 = 0 + 2;
34659#line 555
34660  __cil_tmp67 = 8 + __cil_tmp66;
34661#line 555
34662  __cil_tmp68 = (unsigned long )csp;
34663#line 555
34664  __cil_tmp69 = __cil_tmp68 + __cil_tmp67;
34665#line 555
34666  __cil_tmp70 = 31 << 8;
34667#line 555
34668  __cil_tmp71 = (__u16 )__cil_tmp70;
34669#line 555
34670  __cil_tmp72 = (int )__cil_tmp71;
34671#line 555
34672  *((__be16 *)__cil_tmp69) = (__be16 )__cil_tmp72;
34673#line 556
34674  __cil_tmp73 = (unsigned long )lport;
34675#line 556
34676  __cil_tmp74 = __cil_tmp73 + 812;
34677#line 556
34678  __cil_tmp75 = *((unsigned int *)__cil_tmp74);
34679#line 556
34680  tmp___14 = __fswab32(__cil_tmp75);
34681#line 556
34682  __cil_tmp76 = (unsigned long )csp;
34683#line 556
34684  __cil_tmp77 = __cil_tmp76 + 12;
34685#line 556
34686  *((__be32 *)__cil_tmp77) = tmp___14;
34687#line 558
34688  __cil_tmp78 = (unsigned long )lport;
34689#line 558
34690  __cil_tmp79 = __cil_tmp78 + 876;
34691#line 558
34692  __cil_tmp80 = *((u32 *)__cil_tmp79);
34693#line 558
34694  __cil_tmp81 = (u16 )__cil_tmp80;
34695#line 558
34696  tmp___15 = __fswab16(__cil_tmp81);
34697#line 558
34698  __cil_tmp82 = (unsigned long )cp;
34699#line 558
34700  __cil_tmp83 = __cil_tmp82 + 6;
34701#line 558
34702  __cil_tmp84 = (int )tmp___15;
34703#line 558
34704  *((__be16 *)__cil_tmp83) = (__be16 )__cil_tmp84;
34705#line 559
34706  __cil_tmp85 = (unsigned long )cp;
34707#line 559
34708  __cil_tmp86 = __cil_tmp85 + 8;
34709#line 559
34710  __cil_tmp87 = 255 << 8;
34711#line 559
34712  __cil_tmp88 = (__u16 )__cil_tmp87;
34713#line 559
34714  __cil_tmp89 = (int )__cil_tmp88;
34715#line 559
34716  *((__be16 *)__cil_tmp86) = (__be16 )__cil_tmp89;
34717#line 560
34718  __cil_tmp90 = (unsigned long )cp;
34719#line 560
34720  __cil_tmp91 = __cil_tmp90 + 13;
34721#line 560
34722  *((__u8 *)__cil_tmp91) = (__u8 )1;
34723  }
34724#line 561
34725  return;
34726}
34727}
34728#line 566
34729__inline static void fc_flogi_fill(struct fc_lport *lport , struct fc_frame *fp )  __attribute__((__no_instrument_function__)) ;
34730#line 566 "include/scsi/fc_encode.h"
34731__inline static void fc_flogi_fill(struct fc_lport *lport , struct fc_frame *fp ) 
34732{ struct fc_els_csp *sp ;
34733  struct fc_els_cssp *cp ;
34734  struct fc_els_flogi *flogi ;
34735  void *tmp___7 ;
34736  __u16 tmp___9 ;
34737  struct fc_frame    *__cil_tmp11 ;
34738  void *__cil_tmp12 ;
34739  unsigned long __cil_tmp13 ;
34740  unsigned long __cil_tmp14 ;
34741  u64 __cil_tmp15 ;
34742  unsigned long __cil_tmp16 ;
34743  unsigned long __cil_tmp17 ;
34744  __be64 *__cil_tmp18 ;
34745  void *__cil_tmp19 ;
34746  unsigned long __cil_tmp20 ;
34747  unsigned long __cil_tmp21 ;
34748  u64 __cil_tmp22 ;
34749  unsigned long __cil_tmp23 ;
34750  unsigned long __cil_tmp24 ;
34751  __be64 *__cil_tmp25 ;
34752  void *__cil_tmp26 ;
34753  unsigned long __cil_tmp27 ;
34754  unsigned long __cil_tmp28 ;
34755  unsigned long __cil_tmp29 ;
34756  unsigned long __cil_tmp30 ;
34757  unsigned long __cil_tmp31 ;
34758  unsigned long __cil_tmp32 ;
34759  int __cil_tmp33 ;
34760  __u16 __cil_tmp34 ;
34761  int __cil_tmp35 ;
34762  unsigned long __cil_tmp36 ;
34763  unsigned long __cil_tmp37 ;
34764  u32 __cil_tmp38 ;
34765  u16 __cil_tmp39 ;
34766  unsigned long __cil_tmp40 ;
34767  unsigned long __cil_tmp41 ;
34768  int __cil_tmp42 ;
34769  unsigned long __cil_tmp43 ;
34770  unsigned long __cil_tmp44 ;
34771  unsigned long __cil_tmp45 ;
34772  unsigned long __cil_tmp46 ;
34773  int __cil_tmp47 ;
34774  __u16 __cil_tmp48 ;
34775  int __cil_tmp49 ;
34776  unsigned long __cil_tmp50 ;
34777  unsigned long __cil_tmp51 ;
34778  int __cil_tmp52 ;
34779  __u16 __cil_tmp53 ;
34780  int __cil_tmp54 ;
34781
34782  {
34783  {
34784#line 572
34785  __cil_tmp11 = (struct fc_frame    *)fp;
34786#line 572
34787  tmp___7 = fc_frame_payload_get(__cil_tmp11, 116UL);
34788#line 572
34789  flogi = (struct fc_els_flogi *)tmp___7;
34790#line 573
34791  __cil_tmp12 = (void *)flogi;
34792#line 573
34793  memset(__cil_tmp12, 0, 116UL);
34794#line 574
34795  *((__u8 *)flogi) = (u8 )4;
34796#line 575
34797  __cil_tmp13 = (unsigned long )lport;
34798#line 575
34799  __cil_tmp14 = __cil_tmp13 + 792;
34800#line 575
34801  __cil_tmp15 = *((u64 *)__cil_tmp14);
34802#line 575
34803  __cil_tmp16 = (unsigned long )flogi;
34804#line 575
34805  __cil_tmp17 = __cil_tmp16 + 20;
34806#line 575
34807  __cil_tmp18 = (__be64 *)__cil_tmp17;
34808#line 575
34809  __cil_tmp19 = (void *)__cil_tmp18;
34810#line 575
34811  put_unaligned_be64(__cil_tmp15, __cil_tmp19);
34812#line 576
34813  __cil_tmp20 = (unsigned long )lport;
34814#line 576
34815  __cil_tmp21 = __cil_tmp20 + 800;
34816#line 576
34817  __cil_tmp22 = *((u64 *)__cil_tmp21);
34818#line 576
34819  __cil_tmp23 = (unsigned long )flogi;
34820#line 576
34821  __cil_tmp24 = __cil_tmp23 + 28;
34822#line 576
34823  __cil_tmp25 = (__be64 *)__cil_tmp24;
34824#line 576
34825  __cil_tmp26 = (void *)__cil_tmp25;
34826#line 576
34827  put_unaligned_be64(__cil_tmp22, __cil_tmp26);
34828#line 577
34829  __cil_tmp27 = (unsigned long )flogi;
34830#line 577
34831  __cil_tmp28 = __cil_tmp27 + 4;
34832#line 577
34833  sp = (struct fc_els_csp *)__cil_tmp28;
34834#line 578
34835  *((__u8 *)sp) = (__u8 )32;
34836#line 579
34837  __cil_tmp29 = (unsigned long )sp;
34838#line 579
34839  __cil_tmp30 = __cil_tmp29 + 1;
34840#line 579
34841  *((__u8 *)__cil_tmp30) = (__u8 )32;
34842#line 580
34843  __cil_tmp31 = (unsigned long )sp;
34844#line 580
34845  __cil_tmp32 = __cil_tmp31 + 2;
34846#line 580
34847  __cil_tmp33 = 10 << 8;
34848#line 580
34849  __cil_tmp34 = (__u16 )__cil_tmp33;
34850#line 580
34851  __cil_tmp35 = (int )__cil_tmp34;
34852#line 580
34853  *((__be16 *)__cil_tmp32) = (__be16 )__cil_tmp35;
34854#line 581
34855  __cil_tmp36 = (unsigned long )lport;
34856#line 581
34857  __cil_tmp37 = __cil_tmp36 + 876;
34858#line 581
34859  __cil_tmp38 = *((u32 *)__cil_tmp37);
34860#line 581
34861  __cil_tmp39 = (u16 )__cil_tmp38;
34862#line 581
34863  tmp___9 = __fswab16(__cil_tmp39);
34864#line 581
34865  __cil_tmp40 = (unsigned long )sp;
34866#line 581
34867  __cil_tmp41 = __cil_tmp40 + 6;
34868#line 581
34869  __cil_tmp42 = (int )tmp___9;
34870#line 581
34871  *((__be16 *)__cil_tmp41) = (__be16 )__cil_tmp42;
34872#line 582
34873  __cil_tmp43 = 2 * 16UL;
34874#line 582
34875  __cil_tmp44 = 36 + __cil_tmp43;
34876#line 582
34877  __cil_tmp45 = (unsigned long )flogi;
34878#line 582
34879  __cil_tmp46 = __cil_tmp45 + __cil_tmp44;
34880#line 582
34881  cp = (struct fc_els_cssp *)__cil_tmp46;
34882#line 583
34883  __cil_tmp47 = 34816 >> 8;
34884#line 583
34885  __cil_tmp48 = (__u16 )__cil_tmp47;
34886#line 583
34887  __cil_tmp49 = (int )__cil_tmp48;
34888#line 583
34889  *((__be16 *)cp) = (__be16 )__cil_tmp49;
34890  }
34891#line 584
34892  if (lport->does_npiv) {
34893#line 585
34894    __cil_tmp50 = (unsigned long )sp;
34895#line 585
34896    __cil_tmp51 = __cil_tmp50 + 4;
34897#line 585
34898    __cil_tmp52 = 32768 >> 8;
34899#line 585
34900    __cil_tmp53 = (__u16 )__cil_tmp52;
34901#line 585
34902    __cil_tmp54 = (int )__cil_tmp53;
34903#line 585
34904    *((__be16 *)__cil_tmp51) = (__be16 )__cil_tmp54;
34905  } else {
34906
34907  }
34908#line 586
34909  return;
34910}
34911}
34912#line 591
34913__inline static void fc_fdisc_fill(struct fc_lport *lport , struct fc_frame *fp )  __attribute__((__no_instrument_function__)) ;
34914#line 591 "include/scsi/fc_encode.h"
34915__inline static void fc_fdisc_fill(struct fc_lport *lport , struct fc_frame *fp ) 
34916{ struct fc_els_csp *sp ;
34917  struct fc_els_cssp *cp ;
34918  struct fc_els_flogi *fdisc ;
34919  void *tmp___7 ;
34920  __u16 tmp___9 ;
34921  struct fc_frame    *__cil_tmp10 ;
34922  void *__cil_tmp11 ;
34923  unsigned long __cil_tmp12 ;
34924  unsigned long __cil_tmp13 ;
34925  u64 __cil_tmp14 ;
34926  unsigned long __cil_tmp15 ;
34927  unsigned long __cil_tmp16 ;
34928  __be64 *__cil_tmp17 ;
34929  void *__cil_tmp18 ;
34930  unsigned long __cil_tmp19 ;
34931  unsigned long __cil_tmp20 ;
34932  u64 __cil_tmp21 ;
34933  unsigned long __cil_tmp22 ;
34934  unsigned long __cil_tmp23 ;
34935  __be64 *__cil_tmp24 ;
34936  void *__cil_tmp25 ;
34937  unsigned long __cil_tmp26 ;
34938  unsigned long __cil_tmp27 ;
34939  unsigned long __cil_tmp28 ;
34940  unsigned long __cil_tmp29 ;
34941  unsigned long __cil_tmp30 ;
34942  unsigned long __cil_tmp31 ;
34943  int __cil_tmp32 ;
34944  __u16 __cil_tmp33 ;
34945  int __cil_tmp34 ;
34946  unsigned long __cil_tmp35 ;
34947  unsigned long __cil_tmp36 ;
34948  u32 __cil_tmp37 ;
34949  u16 __cil_tmp38 ;
34950  unsigned long __cil_tmp39 ;
34951  unsigned long __cil_tmp40 ;
34952  int __cil_tmp41 ;
34953  unsigned long __cil_tmp42 ;
34954  unsigned long __cil_tmp43 ;
34955  unsigned long __cil_tmp44 ;
34956  unsigned long __cil_tmp45 ;
34957  int __cil_tmp46 ;
34958  __u16 __cil_tmp47 ;
34959  int __cil_tmp48 ;
34960
34961  {
34962  {
34963#line 597
34964  __cil_tmp10 = (struct fc_frame    *)fp;
34965#line 597
34966  tmp___7 = fc_frame_payload_get(__cil_tmp10, 116UL);
34967#line 597
34968  fdisc = (struct fc_els_flogi *)tmp___7;
34969#line 598
34970  __cil_tmp11 = (void *)fdisc;
34971#line 598
34972  memset(__cil_tmp11, 0, 116UL);
34973#line 599
34974  *((__u8 *)fdisc) = (u8 )81;
34975#line 600
34976  __cil_tmp12 = (unsigned long )lport;
34977#line 600
34978  __cil_tmp13 = __cil_tmp12 + 792;
34979#line 600
34980  __cil_tmp14 = *((u64 *)__cil_tmp13);
34981#line 600
34982  __cil_tmp15 = (unsigned long )fdisc;
34983#line 600
34984  __cil_tmp16 = __cil_tmp15 + 20;
34985#line 600
34986  __cil_tmp17 = (__be64 *)__cil_tmp16;
34987#line 600
34988  __cil_tmp18 = (void *)__cil_tmp17;
34989#line 600
34990  put_unaligned_be64(__cil_tmp14, __cil_tmp18);
34991#line 601
34992  __cil_tmp19 = (unsigned long )lport;
34993#line 601
34994  __cil_tmp20 = __cil_tmp19 + 800;
34995#line 601
34996  __cil_tmp21 = *((u64 *)__cil_tmp20);
34997#line 601
34998  __cil_tmp22 = (unsigned long )fdisc;
34999#line 601
35000  __cil_tmp23 = __cil_tmp22 + 28;
35001#line 601
35002  __cil_tmp24 = (__be64 *)__cil_tmp23;
35003#line 601
35004  __cil_tmp25 = (void *)__cil_tmp24;
35005#line 601
35006  put_unaligned_be64(__cil_tmp21, __cil_tmp25);
35007#line 602
35008  __cil_tmp26 = (unsigned long )fdisc;
35009#line 602
35010  __cil_tmp27 = __cil_tmp26 + 4;
35011#line 602
35012  sp = (struct fc_els_csp *)__cil_tmp27;
35013#line 603
35014  *((__u8 *)sp) = (__u8 )32;
35015#line 604
35016  __cil_tmp28 = (unsigned long )sp;
35017#line 604
35018  __cil_tmp29 = __cil_tmp28 + 1;
35019#line 604
35020  *((__u8 *)__cil_tmp29) = (__u8 )32;
35021#line 605
35022  __cil_tmp30 = (unsigned long )sp;
35023#line 605
35024  __cil_tmp31 = __cil_tmp30 + 2;
35025#line 605
35026  __cil_tmp32 = 10 << 8;
35027#line 605
35028  __cil_tmp33 = (__u16 )__cil_tmp32;
35029#line 605
35030  __cil_tmp34 = (int )__cil_tmp33;
35031#line 605
35032  *((__be16 *)__cil_tmp31) = (__be16 )__cil_tmp34;
35033#line 606
35034  __cil_tmp35 = (unsigned long )lport;
35035#line 606
35036  __cil_tmp36 = __cil_tmp35 + 876;
35037#line 606
35038  __cil_tmp37 = *((u32 *)__cil_tmp36);
35039#line 606
35040  __cil_tmp38 = (u16 )__cil_tmp37;
35041#line 606
35042  tmp___9 = __fswab16(__cil_tmp38);
35043#line 606
35044  __cil_tmp39 = (unsigned long )sp;
35045#line 606
35046  __cil_tmp40 = __cil_tmp39 + 6;
35047#line 606
35048  __cil_tmp41 = (int )tmp___9;
35049#line 606
35050  *((__be16 *)__cil_tmp40) = (__be16 )__cil_tmp41;
35051#line 607
35052  __cil_tmp42 = 2 * 16UL;
35053#line 607
35054  __cil_tmp43 = 36 + __cil_tmp42;
35055#line 607
35056  __cil_tmp44 = (unsigned long )fdisc;
35057#line 607
35058  __cil_tmp45 = __cil_tmp44 + __cil_tmp43;
35059#line 607
35060  cp = (struct fc_els_cssp *)__cil_tmp45;
35061#line 608
35062  __cil_tmp46 = 34816 >> 8;
35063#line 608
35064  __cil_tmp47 = (__u16 )__cil_tmp46;
35065#line 608
35066  __cil_tmp48 = (int )__cil_tmp47;
35067#line 608
35068  *((__be16 *)cp) = (__be16 )__cil_tmp48;
35069  }
35070#line 609
35071  return;
35072}
35073}
35074#line 614
35075__inline static void fc_logo_fill(struct fc_lport *lport , struct fc_frame *fp )  __attribute__((__no_instrument_function__)) ;
35076#line 614 "include/scsi/fc_encode.h"
35077__inline static void fc_logo_fill(struct fc_lport *lport , struct fc_frame *fp ) 
35078{ struct fc_els_logo *logo ;
35079  void *tmp___7 ;
35080  __u64 tmp___8 ;
35081  struct fc_frame    *__cil_tmp6 ;
35082  void *__cil_tmp7 ;
35083  unsigned long __cil_tmp8 ;
35084  unsigned long __cil_tmp9 ;
35085  unsigned long __cil_tmp10 ;
35086  unsigned long __cil_tmp11 ;
35087  __u8 *__cil_tmp12 ;
35088  unsigned long __cil_tmp13 ;
35089  unsigned long __cil_tmp14 ;
35090  u32 __cil_tmp15 ;
35091  unsigned long __cil_tmp16 ;
35092  unsigned long __cil_tmp17 ;
35093  u64 __cil_tmp18 ;
35094  unsigned long __cil_tmp19 ;
35095  unsigned long __cil_tmp20 ;
35096
35097  {
35098  {
35099#line 618
35100  __cil_tmp6 = (struct fc_frame    *)fp;
35101#line 618
35102  tmp___7 = fc_frame_payload_get(__cil_tmp6, 16UL);
35103#line 618
35104  logo = (struct fc_els_logo *)tmp___7;
35105#line 619
35106  __cil_tmp7 = (void *)logo;
35107#line 619
35108  memset(__cil_tmp7, 0, 16UL);
35109#line 620
35110  *((__u8 *)logo) = (__u8 )5;
35111#line 621
35112  __cil_tmp8 = 0 * 1UL;
35113#line 621
35114  __cil_tmp9 = 5 + __cil_tmp8;
35115#line 621
35116  __cil_tmp10 = (unsigned long )logo;
35117#line 621
35118  __cil_tmp11 = __cil_tmp10 + __cil_tmp9;
35119#line 621
35120  __cil_tmp12 = (__u8 *)__cil_tmp11;
35121#line 621
35122  __cil_tmp13 = (unsigned long )lport;
35123#line 621
35124  __cil_tmp14 = __cil_tmp13 + 788;
35125#line 621
35126  __cil_tmp15 = *((u32 *)__cil_tmp14);
35127#line 621
35128  hton24(__cil_tmp12, __cil_tmp15);
35129#line 622
35130  __cil_tmp16 = (unsigned long )lport;
35131#line 622
35132  __cil_tmp17 = __cil_tmp16 + 792;
35133#line 622
35134  __cil_tmp18 = *((u64 *)__cil_tmp17);
35135#line 622
35136  tmp___8 = __fswab64(__cil_tmp18);
35137#line 622
35138  __cil_tmp19 = (unsigned long )logo;
35139#line 622
35140  __cil_tmp20 = __cil_tmp19 + 8;
35141#line 622
35142  *((__be64 *)__cil_tmp20) = tmp___8;
35143  }
35144#line 623
35145  return;
35146}
35147}
35148#line 628
35149__inline static void fc_rtv_fill(struct fc_lport *lport , struct fc_frame *fp )  __attribute__((__no_instrument_function__)) ;
35150#line 628 "include/scsi/fc_encode.h"
35151__inline static void fc_rtv_fill(struct fc_lport *lport , struct fc_frame *fp ) 
35152{ struct fc_els_rtv *rtv ;
35153  void *tmp___7 ;
35154  struct fc_frame    *__cil_tmp5 ;
35155  void *__cil_tmp6 ;
35156
35157  {
35158  {
35159#line 632
35160  __cil_tmp5 = (struct fc_frame    *)fp;
35161#line 632
35162  tmp___7 = fc_frame_payload_get(__cil_tmp5, 4UL);
35163#line 632
35164  rtv = (struct fc_els_rtv *)tmp___7;
35165#line 633
35166  __cil_tmp6 = (void *)rtv;
35167#line 633
35168  memset(__cil_tmp6, 0, 4UL);
35169#line 634
35170  *((__u8 *)rtv) = (__u8 )14;
35171  }
35172#line 635
35173  return;
35174}
35175}
35176#line 640
35177__inline static void fc_rec_fill(struct fc_lport *lport , struct fc_frame *fp )  __attribute__((__no_instrument_function__)) ;
35178#line 640 "include/scsi/fc_encode.h"
35179__inline static void fc_rec_fill(struct fc_lport *lport , struct fc_frame *fp ) 
35180{ struct fc_els_rec *rec ;
35181  struct fc_exch *ep ;
35182  struct fc_seq    *__mptr ;
35183  void *tmp___7 ;
35184  __u16 tmp___8 ;
35185  __u16 tmp___9 ;
35186  unsigned long __cil_tmp9 ;
35187  unsigned long __cil_tmp10 ;
35188  unsigned long __cil_tmp11 ;
35189  unsigned long __cil_tmp12 ;
35190  unsigned long __cil_tmp13 ;
35191  char *__cil_tmp14 ;
35192  struct fcoe_rcv_info *__cil_tmp15 ;
35193  unsigned long __cil_tmp16 ;
35194  unsigned long __cil_tmp17 ;
35195  struct fc_seq *__cil_tmp18 ;
35196  struct fc_exch *__cil_tmp19 ;
35197  unsigned long __cil_tmp20 ;
35198  unsigned long __cil_tmp21 ;
35199  struct fc_seq *__cil_tmp22 ;
35200  unsigned int __cil_tmp23 ;
35201  char *__cil_tmp24 ;
35202  char *__cil_tmp25 ;
35203  struct fc_frame    *__cil_tmp26 ;
35204  void *__cil_tmp27 ;
35205  unsigned long __cil_tmp28 ;
35206  unsigned long __cil_tmp29 ;
35207  unsigned long __cil_tmp30 ;
35208  unsigned long __cil_tmp31 ;
35209  __u8 *__cil_tmp32 ;
35210  unsigned long __cil_tmp33 ;
35211  unsigned long __cil_tmp34 ;
35212  u32 __cil_tmp35 ;
35213  unsigned long __cil_tmp36 ;
35214  unsigned long __cil_tmp37 ;
35215  u16 __cil_tmp38 ;
35216  unsigned long __cil_tmp39 ;
35217  unsigned long __cil_tmp40 ;
35218  int __cil_tmp41 ;
35219  unsigned long __cil_tmp42 ;
35220  unsigned long __cil_tmp43 ;
35221  u16 __cil_tmp44 ;
35222  unsigned long __cil_tmp45 ;
35223  unsigned long __cil_tmp46 ;
35224  int __cil_tmp47 ;
35225
35226  {
35227  {
35228#line 643
35229  __cil_tmp9 = 0 * 1UL;
35230#line 643
35231  __cil_tmp10 = 40 + __cil_tmp9;
35232#line 643
35233  __cil_tmp11 = 0 + __cil_tmp10;
35234#line 643
35235  __cil_tmp12 = (unsigned long )fp;
35236#line 643
35237  __cil_tmp13 = __cil_tmp12 + __cil_tmp11;
35238#line 643
35239  __cil_tmp14 = (char *)__cil_tmp13;
35240#line 643
35241  __cil_tmp15 = (struct fcoe_rcv_info *)__cil_tmp14;
35242#line 643
35243  __cil_tmp16 = (unsigned long )__cil_tmp15;
35244#line 643
35245  __cil_tmp17 = __cil_tmp16 + 8;
35246#line 643
35247  __cil_tmp18 = *((struct fc_seq **)__cil_tmp17);
35248#line 643
35249  __mptr = (struct fc_seq    *)__cil_tmp18;
35250#line 643
35251  __cil_tmp19 = (struct fc_exch *)0;
35252#line 643
35253  __cil_tmp20 = (unsigned long )__cil_tmp19;
35254#line 643
35255  __cil_tmp21 = __cil_tmp20 + 108;
35256#line 643
35257  __cil_tmp22 = (struct fc_seq *)__cil_tmp21;
35258#line 643
35259  __cil_tmp23 = (unsigned int )__cil_tmp22;
35260#line 643
35261  __cil_tmp24 = (char *)__mptr;
35262#line 643
35263  __cil_tmp25 = __cil_tmp24 - __cil_tmp23;
35264#line 643
35265  ep = (struct fc_exch *)__cil_tmp25;
35266#line 645
35267  __cil_tmp26 = (struct fc_frame    *)fp;
35268#line 645
35269  tmp___7 = fc_frame_payload_get(__cil_tmp26, 12UL);
35270#line 645
35271  rec = (struct fc_els_rec *)tmp___7;
35272#line 646
35273  __cil_tmp27 = (void *)rec;
35274#line 646
35275  memset(__cil_tmp27, 0, 12UL);
35276#line 647
35277  *((__u8 *)rec) = (__u8 )19;
35278#line 648
35279  __cil_tmp28 = 0 * 1UL;
35280#line 648
35281  __cil_tmp29 = 5 + __cil_tmp28;
35282#line 648
35283  __cil_tmp30 = (unsigned long )rec;
35284#line 648
35285  __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
35286#line 648
35287  __cil_tmp32 = (__u8 *)__cil_tmp31;
35288#line 648
35289  __cil_tmp33 = (unsigned long )lport;
35290#line 648
35291  __cil_tmp34 = __cil_tmp33 + 788;
35292#line 648
35293  __cil_tmp35 = *((u32 *)__cil_tmp34);
35294#line 648
35295  hton24(__cil_tmp32, __cil_tmp35);
35296#line 649
35297  __cil_tmp36 = (unsigned long )ep;
35298#line 649
35299  __cil_tmp37 = __cil_tmp36 + 82;
35300#line 649
35301  __cil_tmp38 = *((u16 *)__cil_tmp37);
35302#line 649
35303  tmp___8 = __fswab16(__cil_tmp38);
35304#line 649
35305  __cil_tmp39 = (unsigned long )rec;
35306#line 649
35307  __cil_tmp40 = __cil_tmp39 + 8;
35308#line 649
35309  __cil_tmp41 = (int )tmp___8;
35310#line 649
35311  *((__be16 *)__cil_tmp40) = (__be16 )__cil_tmp41;
35312#line 650
35313  __cil_tmp42 = (unsigned long )ep;
35314#line 650
35315  __cil_tmp43 = __cil_tmp42 + 84;
35316#line 650
35317  __cil_tmp44 = *((u16 *)__cil_tmp43);
35318#line 650
35319  tmp___9 = __fswab16(__cil_tmp44);
35320#line 650
35321  __cil_tmp45 = (unsigned long )rec;
35322#line 650
35323  __cil_tmp46 = __cil_tmp45 + 10;
35324#line 650
35325  __cil_tmp47 = (int )tmp___9;
35326#line 650
35327  *((__be16 *)__cil_tmp46) = (__be16 )__cil_tmp47;
35328  }
35329#line 651
35330  return;
35331}
35332}
35333#line 656
35334__inline static void fc_prli_fill(struct fc_lport *lport , struct fc_frame *fp )  __attribute__((__no_instrument_function__)) ;
35335#line 656 "include/scsi/fc_encode.h"
35336__inline static void fc_prli_fill(struct fc_lport *lport , struct fc_frame *fp ) 
35337{ struct __anonstruct_pp_293 *pp ;
35338  void *tmp___7 ;
35339  __u32 tmp___9 ;
35340  struct fc_frame    *__cil_tmp7 ;
35341  void *__cil_tmp8 ;
35342  unsigned long __cil_tmp9 ;
35343  unsigned long __cil_tmp10 ;
35344  unsigned long __cil_tmp11 ;
35345  unsigned long __cil_tmp12 ;
35346  unsigned long __cil_tmp13 ;
35347  unsigned long __cil_tmp14 ;
35348  __u16 __cil_tmp15 ;
35349  int __cil_tmp16 ;
35350  int __cil_tmp17 ;
35351  int __cil_tmp18 ;
35352  __u16 __cil_tmp19 ;
35353  int __cil_tmp20 ;
35354  int __cil_tmp21 ;
35355  int __cil_tmp22 ;
35356  int __cil_tmp23 ;
35357  __u16 __cil_tmp24 ;
35358  int __cil_tmp25 ;
35359  unsigned long __cil_tmp26 ;
35360  unsigned long __cil_tmp27 ;
35361  unsigned long __cil_tmp28 ;
35362  unsigned long __cil_tmp29 ;
35363  unsigned long __cil_tmp30 ;
35364  unsigned long __cil_tmp31 ;
35365  unsigned long __cil_tmp32 ;
35366  unsigned int __cil_tmp33 ;
35367  unsigned long __cil_tmp34 ;
35368  unsigned long __cil_tmp35 ;
35369  unsigned long __cil_tmp36 ;
35370
35371  {
35372  {
35373#line 663
35374  __cil_tmp7 = (struct fc_frame    *)fp;
35375#line 663
35376  tmp___7 = fc_frame_payload_get(__cil_tmp7, 20UL);
35377#line 663
35378  pp = (struct __anonstruct_pp_293 *)tmp___7;
35379#line 664
35380  __cil_tmp8 = (void *)pp;
35381#line 664
35382  memset(__cil_tmp8, 0, 20UL);
35383#line 665
35384  *((__u8 *)pp) = (__u8 )32;
35385#line 666
35386  __cil_tmp9 = 0 + 1;
35387#line 666
35388  __cil_tmp10 = (unsigned long )pp;
35389#line 666
35390  __cil_tmp11 = __cil_tmp10 + __cil_tmp9;
35391#line 666
35392  *((__u8 *)__cil_tmp11) = (__u8 )16UL;
35393#line 667
35394  __cil_tmp12 = 0 + 2;
35395#line 667
35396  __cil_tmp13 = (unsigned long )pp;
35397#line 667
35398  __cil_tmp14 = __cil_tmp13 + __cil_tmp12;
35399#line 667
35400  __cil_tmp15 = (__u16 )20UL;
35401#line 667
35402  __cil_tmp16 = (int )__cil_tmp15;
35403#line 667
35404  __cil_tmp17 = __cil_tmp16 & 65280;
35405#line 667
35406  __cil_tmp18 = __cil_tmp17 >> 8;
35407#line 667
35408  __cil_tmp19 = (__u16 )20UL;
35409#line 667
35410  __cil_tmp20 = (int )__cil_tmp19;
35411#line 667
35412  __cil_tmp21 = __cil_tmp20 & 255;
35413#line 667
35414  __cil_tmp22 = __cil_tmp21 << 8;
35415#line 667
35416  __cil_tmp23 = __cil_tmp22 | __cil_tmp18;
35417#line 667
35418  __cil_tmp24 = (__u16 )__cil_tmp23;
35419#line 667
35420  __cil_tmp25 = (int )__cil_tmp24;
35421#line 667
35422  *((__be16 *)__cil_tmp14) = (__be16 )__cil_tmp25;
35423#line 668
35424  __cil_tmp26 = (unsigned long )pp;
35425#line 668
35426  __cil_tmp27 = __cil_tmp26 + 4;
35427#line 668
35428  *((__u8 *)__cil_tmp27) = (__u8 )8;
35429#line 669
35430  __cil_tmp28 = 4 + 2;
35431#line 669
35432  __cil_tmp29 = (unsigned long )pp;
35433#line 669
35434  __cil_tmp30 = __cil_tmp29 + __cil_tmp28;
35435#line 669
35436  *((__u8 *)__cil_tmp30) = (__u8 )32;
35437#line 670
35438  __cil_tmp31 = (unsigned long )lport;
35439#line 670
35440  __cil_tmp32 = __cil_tmp31 + 808;
35441#line 670
35442  __cil_tmp33 = *((unsigned int *)__cil_tmp32);
35443#line 670
35444  tmp___9 = __fswab32(__cil_tmp33);
35445#line 670
35446  __cil_tmp34 = 4 + 12;
35447#line 670
35448  __cil_tmp35 = (unsigned long )pp;
35449#line 670
35450  __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
35451#line 670
35452  *((__be32 *)__cil_tmp36) = tmp___9;
35453  }
35454#line 671
35455  return;
35456}
35457}
35458#line 676
35459__inline static void fc_scr_fill(struct fc_lport *lport , struct fc_frame *fp )  __attribute__((__no_instrument_function__)) ;
35460#line 676 "include/scsi/fc_encode.h"
35461__inline static void fc_scr_fill(struct fc_lport *lport , struct fc_frame *fp ) 
35462{ struct fc_els_scr *scr ;
35463  void *tmp___7 ;
35464  struct fc_frame    *__cil_tmp5 ;
35465  void *__cil_tmp6 ;
35466  unsigned long __cil_tmp7 ;
35467  unsigned long __cil_tmp8 ;
35468
35469  {
35470  {
35471#line 680
35472  __cil_tmp5 = (struct fc_frame    *)fp;
35473#line 680
35474  tmp___7 = fc_frame_payload_get(__cil_tmp5, 8UL);
35475#line 680
35476  scr = (struct fc_els_scr *)tmp___7;
35477#line 681
35478  __cil_tmp6 = (void *)scr;
35479#line 681
35480  memset(__cil_tmp6, 0, 8UL);
35481#line 682
35482  *((__u8 *)scr) = (__u8 )98;
35483#line 683
35484  __cil_tmp7 = (unsigned long )scr;
35485#line 683
35486  __cil_tmp8 = __cil_tmp7 + 7;
35487#line 683
35488  *((__u8 *)__cil_tmp8) = (__u8 )3;
35489  }
35490#line 684
35491  return;
35492}
35493}
35494#line 689
35495__inline static int fc_els_fill(struct fc_lport *lport , u32 did , struct fc_frame *fp ,
35496                                unsigned int op , enum fc_rctl *r_ctl , enum fc_fh_type *fh_type )  __attribute__((__no_instrument_function__)) ;
35497#line 689 "include/scsi/fc_encode.h"
35498__inline static int fc_els_fill(struct fc_lport *lport , u32 did , struct fc_frame *fp ,
35499                                unsigned int op , enum fc_rctl *r_ctl , enum fc_fh_type *fh_type ) 
35500{ 
35501
35502  {
35503#line 695
35504  if ((int )op == 82) {
35505#line 695
35506    goto case_82;
35507  } else
35508#line 699
35509  if ((int )op == 3) {
35510#line 699
35511    goto case_3;
35512  } else
35513#line 703
35514  if ((int )op == 4) {
35515#line 703
35516    goto case_4;
35517  } else
35518#line 707
35519  if ((int )op == 81) {
35520#line 707
35521    goto case_81;
35522  } else
35523#line 711
35524  if ((int )op == 5) {
35525#line 711
35526    goto case_5;
35527  } else
35528#line 715
35529  if ((int )op == 14) {
35530#line 715
35531    goto case_14;
35532  } else
35533#line 719
35534  if ((int )op == 19) {
35535#line 719
35536    goto case_19;
35537  } else
35538#line 723
35539  if ((int )op == 32) {
35540#line 723
35541    goto case_32;
35542  } else
35543#line 727
35544  if ((int )op == 98) {
35545#line 727
35546    goto case_98;
35547  } else {
35548    {
35549#line 731
35550    goto switch_default;
35551#line 694
35552    if (0) {
35553      case_82: /* CIL Label */ 
35554      {
35555#line 696
35556      fc_adisc_fill(lport, fp);
35557      }
35558#line 697
35559      goto switch_break;
35560      case_3: /* CIL Label */ 
35561      {
35562#line 700
35563      fc_plogi_fill(lport, fp, 3U);
35564      }
35565#line 701
35566      goto switch_break;
35567      case_4: /* CIL Label */ 
35568      {
35569#line 704
35570      fc_flogi_fill(lport, fp);
35571      }
35572#line 705
35573      goto switch_break;
35574      case_81: /* CIL Label */ 
35575      {
35576#line 708
35577      fc_fdisc_fill(lport, fp);
35578      }
35579#line 709
35580      goto switch_break;
35581      case_5: /* CIL Label */ 
35582      {
35583#line 712
35584      fc_logo_fill(lport, fp);
35585      }
35586#line 713
35587      goto switch_break;
35588      case_14: /* CIL Label */ 
35589      {
35590#line 716
35591      fc_rtv_fill(lport, fp);
35592      }
35593#line 717
35594      goto switch_break;
35595      case_19: /* CIL Label */ 
35596      {
35597#line 720
35598      fc_rec_fill(lport, fp);
35599      }
35600#line 721
35601      goto switch_break;
35602      case_32: /* CIL Label */ 
35603      {
35604#line 724
35605      fc_prli_fill(lport, fp);
35606      }
35607#line 725
35608      goto switch_break;
35609      case_98: /* CIL Label */ 
35610      {
35611#line 728
35612      fc_scr_fill(lport, fp);
35613      }
35614#line 729
35615      goto switch_break;
35616      switch_default: /* CIL Label */ 
35617#line 732
35618      return (-22);
35619    } else {
35620      switch_break: /* CIL Label */ ;
35621    }
35622    }
35623  }
35624#line 735
35625  *r_ctl = (enum fc_rctl )34;
35626#line 736
35627  *fh_type = (enum fc_fh_type )1;
35628#line 737
35629  return (0);
35630}
35631}
35632#line 126 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/scsi/libfc/fc_libfc.h"
35633char    *fc_els_resp_type(struct fc_frame *fp ) ;
35634#line 43 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_elsct.c"
35635struct fc_seq *fc_elsct_send(struct fc_lport *lport , u32 did , struct fc_frame *fp ,
35636                             unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
35637                                                            void *arg ) , void *arg ,
35638                             u32 timer_msec ) 
35639{ enum fc_rctl r_ctl ;
35640  enum fc_fh_type fh_type ;
35641  int rc ;
35642  struct fc_seq *tmp___7 ;
35643  u32 *__cil_tmp12 ;
35644  u32 __cil_tmp13 ;
35645  u32 *__cil_tmp14 ;
35646  u32 __cil_tmp15 ;
35647  u32 *__cil_tmp16 ;
35648  u32 __cil_tmp17 ;
35649  void *__cil_tmp18 ;
35650  enum fc_rctl *__cil_tmp19 ;
35651  enum fc_rctl __cil_tmp20 ;
35652  u32 *__cil_tmp21 ;
35653  u32 __cil_tmp22 ;
35654  unsigned long __cil_tmp23 ;
35655  unsigned long __cil_tmp24 ;
35656  u32 __cil_tmp25 ;
35657  enum fc_fh_type *__cil_tmp26 ;
35658  enum fc_fh_type __cil_tmp27 ;
35659  int __cil_tmp28 ;
35660  int __cil_tmp29 ;
35661  int __cil_tmp30 ;
35662  int __cil_tmp31 ;
35663  int __cil_tmp32 ;
35664  u32 __cil_tmp33 ;
35665  u32 __cil_tmp34 ;
35666  unsigned long __cil_tmp35 ;
35667  unsigned long __cil_tmp36 ;
35668  unsigned long __cil_tmp37 ;
35669  struct fc_seq *(*__cil_tmp38)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
35670                                                                                     struct fc_frame * ,
35671                                                                                     void * ) ,
35672                                void (*destructor)(struct fc_seq * , void * ) , void * ,
35673                                unsigned int timer_msec ) ;
35674  void *__cil_tmp39 ;
35675  void (*__cil_tmp40)(struct fc_seq * , void * ) ;
35676
35677  {
35678#line 55
35679  if (op >= 1U) {
35680#line 55
35681    if (op <= 144U) {
35682      {
35683#line 56
35684      __cil_tmp12 = & did;
35685#line 56
35686      __cil_tmp13 = *__cil_tmp12;
35687#line 56
35688      rc = fc_els_fill(lport, __cil_tmp13, fp, op, & r_ctl, & fh_type);
35689      }
35690    } else {
35691      {
35692#line 59
35693      __cil_tmp14 = & did;
35694#line 59
35695      __cil_tmp15 = *__cil_tmp14;
35696#line 59
35697      rc = fc_ct_fill(lport, __cil_tmp15, fp, op, & r_ctl, & fh_type, & did);
35698      }
35699    }
35700  } else {
35701    {
35702#line 59
35703    __cil_tmp16 = & did;
35704#line 59
35705    __cil_tmp17 = *__cil_tmp16;
35706#line 59
35707    rc = fc_ct_fill(lport, __cil_tmp17, fp, op, & r_ctl, & fh_type, & did);
35708    }
35709  }
35710#line 62
35711  if (rc) {
35712    {
35713#line 63
35714    fc_frame_free(fp);
35715    }
35716    {
35717#line 64
35718    __cil_tmp18 = (void *)0;
35719#line 64
35720    return ((struct fc_seq *)__cil_tmp18);
35721    }
35722  } else {
35723
35724  }
35725  {
35726#line 67
35727  __cil_tmp19 = & r_ctl;
35728#line 67
35729  __cil_tmp20 = *__cil_tmp19;
35730#line 67
35731  __cil_tmp21 = & did;
35732#line 67
35733  __cil_tmp22 = *__cil_tmp21;
35734#line 67
35735  __cil_tmp23 = (unsigned long )lport;
35736#line 67
35737  __cil_tmp24 = __cil_tmp23 + 788;
35738#line 67
35739  __cil_tmp25 = *((u32 *)__cil_tmp24);
35740#line 67
35741  __cil_tmp26 = & fh_type;
35742#line 67
35743  __cil_tmp27 = *__cil_tmp26;
35744#line 67
35745  __cil_tmp28 = 1 << 16;
35746#line 67
35747  __cil_tmp29 = 1 << 19;
35748#line 67
35749  __cil_tmp30 = 1 << 21;
35750#line 67
35751  __cil_tmp31 = __cil_tmp30 | __cil_tmp29;
35752#line 67
35753  __cil_tmp32 = __cil_tmp31 | __cil_tmp28;
35754#line 67
35755  __cil_tmp33 = (u32 )__cil_tmp32;
35756#line 67
35757  __cil_tmp34 = (u32 )0;
35758#line 67
35759  fc_fill_fc_hdr(fp, __cil_tmp20, __cil_tmp22, __cil_tmp25, __cil_tmp27, __cil_tmp33,
35760                 __cil_tmp34);
35761#line 70
35762  __cil_tmp35 = 328 + 16;
35763#line 70
35764  __cil_tmp36 = (unsigned long )lport;
35765#line 70
35766  __cil_tmp37 = __cil_tmp36 + __cil_tmp35;
35767#line 70
35768  __cil_tmp38 = *((struct fc_seq *(**)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
35769                                                                                            struct fc_frame * ,
35770                                                                                            void * ) ,
35771                                       void (*destructor)(struct fc_seq * , void * ) ,
35772                                       void * , unsigned int timer_msec ))__cil_tmp37);
35773#line 70
35774  __cil_tmp39 = (void *)0;
35775#line 70
35776  __cil_tmp40 = (void (*)(struct fc_seq * , void * ))__cil_tmp39;
35777#line 70
35778  tmp___7 = (*__cil_tmp38)(lport, fp, resp, __cil_tmp40, arg, timer_msec);
35779  }
35780#line 70
35781  return (tmp___7);
35782}
35783}
35784#line 72
35785extern void *__crc_fc_elsct_send  __attribute__((__weak__)) ;
35786#line 72 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_elsct.c"
35787static unsigned long    __kcrctab_fc_elsct_send  __attribute__((__used__, __unused__,
35788__section__("___kcrctab+fc_elsct_send")))  =    (unsigned long    )((unsigned long )(& __crc_fc_elsct_send));
35789#line 72 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_elsct.c"
35790static char    __kstrtab_fc_elsct_send[14]  __attribute__((__section__("__ksymtab_strings"),
35791__aligned__(1)))  = 
35792#line 72
35793  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'e', 
35794        (char    )'l',      (char    )'s',      (char const   )'c',      (char const   )'t', 
35795        (char    )'_',      (char    )'s',      (char const   )'e',      (char const   )'n', 
35796        (char    )'d',      (char    )'\000'};
35797#line 72 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_elsct.c"
35798static struct kernel_symbol    __ksymtab_fc_elsct_send  __attribute__((__used__,
35799__unused__, __section__("___ksymtab+fc_elsct_send")))  =    {(unsigned long )(& fc_elsct_send), __kstrtab_fc_elsct_send};
35800#line 78 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_elsct.c"
35801int fc_elsct_init(struct fc_lport *lport ) 
35802{ unsigned long __cil_tmp2 ;
35803  unsigned long __cil_tmp3 ;
35804  unsigned long __cil_tmp4 ;
35805  struct fc_seq *(*__cil_tmp5)(struct fc_lport * , u32 did , struct fc_frame * , unsigned int op ,
35806                               void (*resp)(struct fc_seq * , struct fc_frame * ,
35807                                            void *arg ) , void *arg , u32 timer_msec ) ;
35808  unsigned long __cil_tmp6 ;
35809  unsigned long __cil_tmp7 ;
35810  unsigned long __cil_tmp8 ;
35811
35812  {
35813  {
35814#line 80
35815  __cil_tmp2 = 328 + 8;
35816#line 80
35817  __cil_tmp3 = (unsigned long )lport;
35818#line 80
35819  __cil_tmp4 = __cil_tmp3 + __cil_tmp2;
35820#line 80
35821  __cil_tmp5 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
35822                                      unsigned int op , void (*resp)(struct fc_seq * ,
35823                                                                     struct fc_frame * ,
35824                                                                     void *arg ) ,
35825                                      void *arg , u32 timer_msec ))__cil_tmp4);
35826#line 80
35827  if (! __cil_tmp5) {
35828#line 81
35829    __cil_tmp6 = 328 + 8;
35830#line 81
35831    __cil_tmp7 = (unsigned long )lport;
35832#line 81
35833    __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
35834#line 81
35835    *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * , unsigned int op ,
35836                           void (*resp)(struct fc_seq * , struct fc_frame * , void *arg ) ,
35837                           void *arg , u32 timer_msec ))__cil_tmp8) = & fc_elsct_send;
35838  } else {
35839
35840  }
35841  }
35842#line 83
35843  return (0);
35844}
35845}
35846#line 85
35847extern void *__crc_fc_elsct_init  __attribute__((__weak__)) ;
35848#line 85 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_elsct.c"
35849static unsigned long    __kcrctab_fc_elsct_init  __attribute__((__used__, __unused__,
35850__section__("___kcrctab+fc_elsct_init")))  =    (unsigned long    )((unsigned long )(& __crc_fc_elsct_init));
35851#line 85 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_elsct.c"
35852static char    __kstrtab_fc_elsct_init[14]  __attribute__((__section__("__ksymtab_strings"),
35853__aligned__(1)))  = 
35854#line 85
35855  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'e', 
35856        (char    )'l',      (char    )'s',      (char const   )'c',      (char const   )'t', 
35857        (char    )'_',      (char    )'i',      (char const   )'n',      (char const   )'i', 
35858        (char    )'t',      (char    )'\000'};
35859#line 85 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_elsct.c"
35860static struct kernel_symbol    __ksymtab_fc_elsct_init  __attribute__((__used__,
35861__unused__, __section__("___ksymtab+fc_elsct_init")))  =    {(unsigned long )(& fc_elsct_init), __kstrtab_fc_elsct_init};
35862#line 91 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_elsct.c"
35863char    *fc_els_resp_type(struct fc_frame *fp ) 
35864{ char    *msg ;
35865  struct fc_frame_header *fh ;
35866  struct fc_ct_hdr *ct ;
35867  long tmp___7 ;
35868  u8 tmp___8 ;
35869  void *tmp___9 ;
35870  __u16 tmp___10 ;
35871  long tmp___11 ;
35872  void    *__cil_tmp10 ;
35873  void    *__cil_tmp11 ;
35874  long __cil_tmp12 ;
35875  struct fc_frame    *__cil_tmp13 ;
35876  unsigned long __cil_tmp14 ;
35877  unsigned long __cil_tmp15 ;
35878  __u8 __cil_tmp16 ;
35879  struct fc_frame    *__cil_tmp17 ;
35880  struct fc_frame    *__cil_tmp18 ;
35881  unsigned long __cil_tmp19 ;
35882  unsigned long __cil_tmp20 ;
35883  __be16 __cil_tmp21 ;
35884
35885  {
35886  {
35887#line 97
35888  __cil_tmp10 = (void    *)fp;
35889#line 97
35890  tmp___11 = (long )IS_ERR(__cil_tmp10);
35891  }
35892#line 97
35893  if (tmp___11) {
35894    {
35895#line 98
35896    __cil_tmp11 = (void    *)fp;
35897#line 98
35898    tmp___7 = (long )PTR_ERR(__cil_tmp11);
35899    }
35900    {
35901#line 98
35902    __cil_tmp12 = - tmp___7;
35903#line 99
35904    if ((int )__cil_tmp12 == 0) {
35905#line 99
35906      goto case_0;
35907    } else
35908#line 102
35909    if ((int )__cil_tmp12 == 1) {
35910#line 102
35911      goto case_1;
35912    } else
35913#line 105
35914    if ((int )__cil_tmp12 == 2) {
35915#line 105
35916      goto case_2;
35917    } else {
35918      {
35919#line 108
35920      goto switch_default;
35921#line 98
35922      if (0) {
35923        case_0: /* CIL Label */ 
35924#line 100
35925        msg = "response no error";
35926#line 101
35927        goto switch_break;
35928        case_1: /* CIL Label */ 
35929#line 103
35930        msg = "response timeout";
35931#line 104
35932        goto switch_break;
35933        case_2: /* CIL Label */ 
35934#line 106
35935        msg = "response closed";
35936#line 107
35937        goto switch_break;
35938        switch_default: /* CIL Label */ 
35939#line 109
35940        msg = "response unknown error";
35941#line 110
35942        goto switch_break;
35943      } else {
35944        switch_break: /* CIL Label */ ;
35945      }
35946      }
35947    }
35948    }
35949  } else {
35950    {
35951#line 113
35952    __cil_tmp13 = (struct fc_frame    *)fp;
35953#line 113
35954    fh = fc_frame_header_get(__cil_tmp13);
35955    }
35956    {
35957#line 114
35958    __cil_tmp14 = (unsigned long )fh;
35959#line 114
35960    __cil_tmp15 = __cil_tmp14 + 8;
35961#line 114
35962    __cil_tmp16 = *((__u8 *)__cil_tmp15);
35963#line 115
35964    if ((int )__cil_tmp16 == 1) {
35965#line 115
35966      goto case_1___0;
35967    } else
35968#line 128
35969    if ((int )__cil_tmp16 == 32) {
35970#line 128
35971      goto case_32;
35972    } else {
35973      {
35974#line 146
35975      goto switch_default___2;
35976#line 114
35977      if (0) {
35978        case_1___0: /* CIL Label */ 
35979        {
35980#line 116
35981        __cil_tmp17 = (struct fc_frame    *)fp;
35982#line 116
35983        tmp___8 = fc_frame_payload_op(__cil_tmp17);
35984        }
35985#line 117
35986        if ((int )tmp___8 == 2) {
35987#line 117
35988          goto case_2___0;
35989        } else
35990#line 120
35991        if ((int )tmp___8 == 1) {
35992#line 120
35993          goto case_1___1;
35994        } else {
35995          {
35996#line 123
35997          goto switch_default___0;
35998#line 116
35999          if (0) {
36000            case_2___0: /* CIL Label */ 
36001#line 118
36002            msg = "accept";
36003#line 119
36004            goto switch_break___1;
36005            case_1___1: /* CIL Label */ 
36006#line 121
36007            msg = "reject";
36008#line 122
36009            goto switch_break___1;
36010            switch_default___0: /* CIL Label */ 
36011#line 124
36012            msg = "response unknown ELS";
36013#line 125
36014            goto switch_break___1;
36015          } else {
36016            switch_break___1: /* CIL Label */ ;
36017          }
36018          }
36019        }
36020#line 127
36021        goto switch_break___0;
36022        case_32: /* CIL Label */ 
36023        {
36024#line 129
36025        __cil_tmp18 = (struct fc_frame    *)fp;
36026#line 129
36027        tmp___9 = fc_frame_payload_get(__cil_tmp18, 16UL);
36028#line 129
36029        ct = (struct fc_ct_hdr *)tmp___9;
36030        }
36031#line 130
36032        if (ct) {
36033          {
36034#line 131
36035          __cil_tmp19 = (unsigned long )ct;
36036#line 131
36037          __cil_tmp20 = __cil_tmp19 + 8;
36038#line 131
36039          __cil_tmp21 = *((__be16 *)__cil_tmp20);
36040#line 131
36041          tmp___10 = __fswab16(__cil_tmp21);
36042          }
36043#line 132
36044          if ((int )tmp___10 == 32770) {
36045#line 132
36046            goto case_32770;
36047          } else
36048#line 135
36049          if ((int )tmp___10 == 32769) {
36050#line 135
36051            goto case_32769;
36052          } else {
36053            {
36054#line 138
36055            goto switch_default___1;
36056#line 131
36057            if (0) {
36058              case_32770: /* CIL Label */ 
36059#line 133
36060              msg = "CT accept";
36061#line 134
36062              goto switch_break___2;
36063              case_32769: /* CIL Label */ 
36064#line 136
36065              msg = "CT reject";
36066#line 137
36067              goto switch_break___2;
36068              switch_default___1: /* CIL Label */ 
36069#line 139
36070              msg = "response unknown CT";
36071#line 140
36072              goto switch_break___2;
36073            } else {
36074              switch_break___2: /* CIL Label */ ;
36075            }
36076            }
36077          }
36078        } else {
36079#line 143
36080          msg = "short CT response";
36081        }
36082#line 145
36083        goto switch_break___0;
36084        switch_default___2: /* CIL Label */ 
36085#line 147
36086        msg = "response not ELS or CT";
36087#line 148
36088        goto switch_break___0;
36089      } else {
36090        switch_break___0: /* CIL Label */ ;
36091      }
36092      }
36093    }
36094    }
36095  }
36096#line 151
36097  return (msg);
36098}
36099}
36100#line 563 "include/linux/skbuff.h"
36101extern struct sk_buff *__alloc_skb(unsigned int size , gfp_t priority , int fclone ,
36102                                   int node ) ;
36103#line 572
36104__inline static struct sk_buff *alloc_skb_fclone(unsigned int size , gfp_t priority )  __attribute__((__no_instrument_function__)) ;
36105#line 572 "include/linux/skbuff.h"
36106__inline static struct sk_buff *alloc_skb_fclone(unsigned int size , gfp_t priority ) 
36107{ struct sk_buff *tmp ;
36108
36109  {
36110  {
36111#line 575
36112  tmp = __alloc_skb(size, priority, 1, -1);
36113  }
36114#line 575
36115  return (tmp);
36116}
36117}
36118#line 1390
36119__inline static void skb_reserve(struct sk_buff *skb , int len )  __attribute__((__no_instrument_function__)) ;
36120#line 1390 "include/linux/skbuff.h"
36121__inline static void skb_reserve(struct sk_buff *skb , int len ) 
36122{ unsigned long __cil_tmp3 ;
36123  unsigned long __cil_tmp4 ;
36124  unsigned long __cil_tmp5 ;
36125  unsigned long __cil_tmp6 ;
36126  unsigned char *__cil_tmp7 ;
36127  unsigned long __cil_tmp8 ;
36128  unsigned long __cil_tmp9 ;
36129  sk_buff_data_t __cil_tmp10 ;
36130  unsigned long __cil_tmp11 ;
36131  unsigned long __cil_tmp12 ;
36132  sk_buff_data_t __cil_tmp13 ;
36133
36134  {
36135#line 1392
36136  __cil_tmp3 = (unsigned long )skb;
36137#line 1392
36138  __cil_tmp4 = __cil_tmp3 + 224;
36139#line 1392
36140  __cil_tmp5 = (unsigned long )skb;
36141#line 1392
36142  __cil_tmp6 = __cil_tmp5 + 224;
36143#line 1392
36144  __cil_tmp7 = *((unsigned char **)__cil_tmp6);
36145#line 1392
36146  *((unsigned char **)__cil_tmp4) = __cil_tmp7 + len;
36147#line 1393
36148  __cil_tmp8 = (unsigned long )skb;
36149#line 1393
36150  __cil_tmp9 = __cil_tmp8 + 204;
36151#line 1393
36152  __cil_tmp10 = (sk_buff_data_t )len;
36153#line 1393
36154  __cil_tmp11 = (unsigned long )skb;
36155#line 1393
36156  __cil_tmp12 = __cil_tmp11 + 204;
36157#line 1393
36158  __cil_tmp13 = *((sk_buff_data_t *)__cil_tmp12);
36159#line 1393
36160  *((sk_buff_data_t *)__cil_tmp9) = __cil_tmp13 + __cil_tmp10;
36161#line 1394
36162  return;
36163}
36164}
36165#line 113 "include/scsi/fc_frame.h"
36166__inline static void fc_frame_init(struct fc_frame *fp )  __attribute__((__no_instrument_function__)) ;
36167#line 113 "include/scsi/fc_frame.h"
36168__inline static void fc_frame_init(struct fc_frame *fp ) 
36169{ unsigned long __cil_tmp2 ;
36170  unsigned long __cil_tmp3 ;
36171  unsigned long __cil_tmp4 ;
36172  unsigned long __cil_tmp5 ;
36173  unsigned long __cil_tmp6 ;
36174  char *__cil_tmp7 ;
36175  struct fcoe_rcv_info *__cil_tmp8 ;
36176  void *__cil_tmp9 ;
36177  unsigned long __cil_tmp10 ;
36178  unsigned long __cil_tmp11 ;
36179  unsigned long __cil_tmp12 ;
36180  unsigned long __cil_tmp13 ;
36181  unsigned long __cil_tmp14 ;
36182  char *__cil_tmp15 ;
36183  struct fcoe_rcv_info *__cil_tmp16 ;
36184  unsigned long __cil_tmp17 ;
36185  unsigned long __cil_tmp18 ;
36186  void *__cil_tmp19 ;
36187  unsigned long __cil_tmp20 ;
36188  unsigned long __cil_tmp21 ;
36189  unsigned long __cil_tmp22 ;
36190  unsigned long __cil_tmp23 ;
36191  unsigned long __cil_tmp24 ;
36192  char *__cil_tmp25 ;
36193  struct fcoe_rcv_info *__cil_tmp26 ;
36194  unsigned long __cil_tmp27 ;
36195  unsigned long __cil_tmp28 ;
36196  unsigned long __cil_tmp29 ;
36197  unsigned long __cil_tmp30 ;
36198  unsigned long __cil_tmp31 ;
36199  unsigned long __cil_tmp32 ;
36200  unsigned long __cil_tmp33 ;
36201  char *__cil_tmp34 ;
36202  struct fcoe_rcv_info *__cil_tmp35 ;
36203  unsigned long __cil_tmp36 ;
36204  unsigned long __cil_tmp37 ;
36205
36206  {
36207#line 115
36208  __cil_tmp2 = 0 * 1UL;
36209#line 115
36210  __cil_tmp3 = 40 + __cil_tmp2;
36211#line 115
36212  __cil_tmp4 = 0 + __cil_tmp3;
36213#line 115
36214  __cil_tmp5 = (unsigned long )fp;
36215#line 115
36216  __cil_tmp6 = __cil_tmp5 + __cil_tmp4;
36217#line 115
36218  __cil_tmp7 = (char *)__cil_tmp6;
36219#line 115
36220  __cil_tmp8 = (struct fcoe_rcv_info *)__cil_tmp7;
36221#line 115
36222  __cil_tmp9 = (void *)0;
36223#line 115
36224  *((struct fc_lport **)__cil_tmp8) = (struct fc_lport *)__cil_tmp9;
36225#line 116
36226  __cil_tmp10 = 0 * 1UL;
36227#line 116
36228  __cil_tmp11 = 40 + __cil_tmp10;
36229#line 116
36230  __cil_tmp12 = 0 + __cil_tmp11;
36231#line 116
36232  __cil_tmp13 = (unsigned long )fp;
36233#line 116
36234  __cil_tmp14 = __cil_tmp13 + __cil_tmp12;
36235#line 116
36236  __cil_tmp15 = (char *)__cil_tmp14;
36237#line 116
36238  __cil_tmp16 = (struct fcoe_rcv_info *)__cil_tmp15;
36239#line 116
36240  __cil_tmp17 = (unsigned long )__cil_tmp16;
36241#line 116
36242  __cil_tmp18 = __cil_tmp17 + 8;
36243#line 116
36244  __cil_tmp19 = (void *)0;
36245#line 116
36246  *((struct fc_seq **)__cil_tmp18) = (struct fc_seq *)__cil_tmp19;
36247#line 117
36248  __cil_tmp20 = 0 * 1UL;
36249#line 117
36250  __cil_tmp21 = 40 + __cil_tmp20;
36251#line 117
36252  __cil_tmp22 = 0 + __cil_tmp21;
36253#line 117
36254  __cil_tmp23 = (unsigned long )fp;
36255#line 117
36256  __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
36257#line 117
36258  __cil_tmp25 = (char *)__cil_tmp24;
36259#line 117
36260  __cil_tmp26 = (struct fcoe_rcv_info *)__cil_tmp25;
36261#line 117
36262  __cil_tmp27 = (unsigned long )__cil_tmp26;
36263#line 117
36264  __cil_tmp28 = __cil_tmp27 + 32;
36265#line 117
36266  *((u8 *)__cil_tmp28) = (u8 )0;
36267#line 118
36268  __cil_tmp29 = 0 * 1UL;
36269#line 118
36270  __cil_tmp30 = 40 + __cil_tmp29;
36271#line 118
36272  __cil_tmp31 = 0 + __cil_tmp30;
36273#line 118
36274  __cil_tmp32 = (unsigned long )fp;
36275#line 118
36276  __cil_tmp33 = __cil_tmp32 + __cil_tmp31;
36277#line 118
36278  __cil_tmp34 = (char *)__cil_tmp33;
36279#line 118
36280  __cil_tmp35 = (struct fcoe_rcv_info *)__cil_tmp34;
36281#line 118
36282  __cil_tmp36 = (unsigned long )__cil_tmp35;
36283#line 118
36284  __cil_tmp37 = __cil_tmp36 + 33;
36285#line 118
36286  *((u8 *)__cil_tmp37) = (u8 )0;
36287#line 119
36288  return;
36289}
36290}
36291#line 242
36292u32 fc_frame_crc_check(struct fc_frame *fp ) ;
36293#line 34 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c"
36294u32 fc_frame_crc_check(struct fc_frame *fp ) 
36295{ u32 crc ;
36296  u32 error ;
36297  u8    *bp ;
36298  unsigned int len ;
36299  int __ret_warn_on ;
36300  int tmp___7 ;
36301  int tmp___8 ;
36302  long tmp___9 ;
36303  u32 tmp___10 ;
36304  int __cil_tmp11 ;
36305  int __cil_tmp12 ;
36306  long __cil_tmp13 ;
36307  int    __cil_tmp14 ;
36308  int __cil_tmp15 ;
36309  int __cil_tmp16 ;
36310  long __cil_tmp17 ;
36311  unsigned long __cil_tmp18 ;
36312  unsigned long __cil_tmp19 ;
36313  unsigned long __cil_tmp20 ;
36314  unsigned long __cil_tmp21 ;
36315  unsigned long __cil_tmp22 ;
36316  char *__cil_tmp23 ;
36317  struct fcoe_rcv_info *__cil_tmp24 ;
36318  unsigned long __cil_tmp25 ;
36319  unsigned long __cil_tmp26 ;
36320  unsigned long __cil_tmp27 ;
36321  unsigned long __cil_tmp28 ;
36322  unsigned long __cil_tmp29 ;
36323  unsigned long __cil_tmp30 ;
36324  unsigned long __cil_tmp31 ;
36325  char *__cil_tmp32 ;
36326  struct fcoe_rcv_info *__cil_tmp33 ;
36327  unsigned long __cil_tmp34 ;
36328  unsigned long __cil_tmp35 ;
36329  u8 __cil_tmp36 ;
36330  int __cil_tmp37 ;
36331  int __cil_tmp38 ;
36332  unsigned long __cil_tmp39 ;
36333  unsigned long __cil_tmp40 ;
36334  unsigned long __cil_tmp41 ;
36335  unsigned int __cil_tmp42 ;
36336  unsigned int __cil_tmp43 ;
36337  unsigned long __cil_tmp44 ;
36338  unsigned long __cil_tmp45 ;
36339  unsigned long __cil_tmp46 ;
36340  unsigned char *__cil_tmp47 ;
36341  int __cil_tmp48 ;
36342  u32 __cil_tmp49 ;
36343  size_t __cil_tmp50 ;
36344  unsigned long __cil_tmp51 ;
36345  unsigned long __cil_tmp52 ;
36346  unsigned long __cil_tmp53 ;
36347  unsigned long __cil_tmp54 ;
36348  unsigned long __cil_tmp55 ;
36349  char *__cil_tmp56 ;
36350  struct fcoe_rcv_info *__cil_tmp57 ;
36351  unsigned long __cil_tmp58 ;
36352  unsigned long __cil_tmp59 ;
36353  u32 __cil_tmp60 ;
36354
36355  {
36356  {
36357#line 41
36358  tmp___7 = fc_frame_is_linear(fp);
36359  }
36360#line 41
36361  if (tmp___7) {
36362#line 41
36363    tmp___8 = 0;
36364  } else {
36365#line 41
36366    tmp___8 = 1;
36367  }
36368  {
36369#line 41
36370  __ret_warn_on = tmp___8;
36371#line 41
36372  __cil_tmp11 = ! __ret_warn_on;
36373#line 41
36374  __cil_tmp12 = ! __cil_tmp11;
36375#line 41
36376  __cil_tmp13 = (long )__cil_tmp12;
36377#line 41
36378  tmp___9 = __builtin_expect(__cil_tmp13, 0L);
36379  }
36380#line 41
36381  if (tmp___9) {
36382    {
36383#line 41
36384    __cil_tmp14 = (int    )41;
36385#line 41
36386    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c",
36387                       __cil_tmp14);
36388    }
36389  } else {
36390
36391  }
36392  {
36393#line 41
36394  __cil_tmp15 = ! __ret_warn_on;
36395#line 41
36396  __cil_tmp16 = ! __cil_tmp15;
36397#line 41
36398  __cil_tmp17 = (long )__cil_tmp16;
36399#line 41
36400  __builtin_expect(__cil_tmp17, 0L);
36401#line 42
36402  __cil_tmp18 = 0 * 1UL;
36403#line 42
36404  __cil_tmp19 = 40 + __cil_tmp18;
36405#line 42
36406  __cil_tmp20 = 0 + __cil_tmp19;
36407#line 42
36408  __cil_tmp21 = (unsigned long )fp;
36409#line 42
36410  __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
36411#line 42
36412  __cil_tmp23 = (char *)__cil_tmp22;
36413#line 42
36414  __cil_tmp24 = (struct fcoe_rcv_info *)__cil_tmp23;
36415#line 42
36416  __cil_tmp25 = (unsigned long )__cil_tmp24;
36417#line 42
36418  __cil_tmp26 = __cil_tmp25 + 32;
36419#line 42
36420  __cil_tmp27 = 0 * 1UL;
36421#line 42
36422  __cil_tmp28 = 40 + __cil_tmp27;
36423#line 42
36424  __cil_tmp29 = 0 + __cil_tmp28;
36425#line 42
36426  __cil_tmp30 = (unsigned long )fp;
36427#line 42
36428  __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
36429#line 42
36430  __cil_tmp32 = (char *)__cil_tmp31;
36431#line 42
36432  __cil_tmp33 = (struct fcoe_rcv_info *)__cil_tmp32;
36433#line 42
36434  __cil_tmp34 = (unsigned long )__cil_tmp33;
36435#line 42
36436  __cil_tmp35 = __cil_tmp34 + 32;
36437#line 42
36438  __cil_tmp36 = *((u8 *)__cil_tmp35);
36439#line 42
36440  __cil_tmp37 = (int )__cil_tmp36;
36441#line 42
36442  __cil_tmp38 = __cil_tmp37 & -2;
36443#line 42
36444  *((u8 *)__cil_tmp26) = (u8 )__cil_tmp38;
36445#line 43
36446  __cil_tmp39 = 0 + 104;
36447#line 43
36448  __cil_tmp40 = (unsigned long )fp;
36449#line 43
36450  __cil_tmp41 = __cil_tmp40 + __cil_tmp39;
36451#line 43
36452  __cil_tmp42 = *((unsigned int *)__cil_tmp41);
36453#line 43
36454  __cil_tmp43 = __cil_tmp42 + 3U;
36455#line 43
36456  len = __cil_tmp43 & 4294967292U;
36457#line 44
36458  __cil_tmp44 = 0 + 224;
36459#line 44
36460  __cil_tmp45 = (unsigned long )fp;
36461#line 44
36462  __cil_tmp46 = __cil_tmp45 + __cil_tmp44;
36463#line 44
36464  __cil_tmp47 = *((unsigned char **)__cil_tmp46);
36465#line 44
36466  bp = (u8    *)__cil_tmp47;
36467#line 45
36468  __cil_tmp48 = ~ 0;
36469#line 45
36470  __cil_tmp49 = (u32 )__cil_tmp48;
36471#line 45
36472  __cil_tmp50 = (size_t )len;
36473#line 45
36474  tmp___10 = crc32_le(__cil_tmp49, bp, __cil_tmp50);
36475#line 45
36476  crc = ~ tmp___10;
36477#line 46
36478  __cil_tmp51 = 0 * 1UL;
36479#line 46
36480  __cil_tmp52 = 40 + __cil_tmp51;
36481#line 46
36482  __cil_tmp53 = 0 + __cil_tmp52;
36483#line 46
36484  __cil_tmp54 = (unsigned long )fp;
36485#line 46
36486  __cil_tmp55 = __cil_tmp54 + __cil_tmp53;
36487#line 46
36488  __cil_tmp56 = (char *)__cil_tmp55;
36489#line 46
36490  __cil_tmp57 = (struct fcoe_rcv_info *)__cil_tmp56;
36491#line 46
36492  __cil_tmp58 = (unsigned long )__cil_tmp57;
36493#line 46
36494  __cil_tmp59 = __cil_tmp58 + 24;
36495#line 46
36496  __cil_tmp60 = *((u32 *)__cil_tmp59);
36497#line 46
36498  error = crc ^ __cil_tmp60;
36499  }
36500#line 47
36501  return (error);
36502}
36503}
36504#line 49
36505extern void *__crc_fc_frame_crc_check  __attribute__((__weak__)) ;
36506#line 49 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c"
36507static unsigned long    __kcrctab_fc_frame_crc_check  __attribute__((__used__,
36508__unused__, __section__("___kcrctab+fc_frame_crc_check")))  =    (unsigned long    )((unsigned long )(& __crc_fc_frame_crc_check));
36509#line 49 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c"
36510static char    __kstrtab_fc_frame_crc_check[19]  __attribute__((__section__("__ksymtab_strings"),
36511__aligned__(1)))  = 
36512#line 49
36513  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'f', 
36514        (char    )'r',      (char    )'a',      (char const   )'m',      (char const   )'e', 
36515        (char    )'_',      (char    )'c',      (char const   )'r',      (char const   )'c', 
36516        (char    )'_',      (char    )'c',      (char const   )'h',      (char const   )'e', 
36517        (char    )'c',      (char    )'k',      (char const   )'\000'};
36518#line 49 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c"
36519static struct kernel_symbol    __ksymtab_fc_frame_crc_check  __attribute__((__used__,
36520__unused__, __section__("___ksymtab+fc_frame_crc_check")))  =    {(unsigned long )(& fc_frame_crc_check), __kstrtab_fc_frame_crc_check};
36521#line 55 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c"
36522struct fc_frame *_fc_frame_alloc(size_t len ) 
36523{ struct fc_frame *fp ;
36524  struct sk_buff *skb ;
36525  int __ret_warn_on ;
36526  long tmp___7 ;
36527  int _max1 ;
36528  int _max2 ;
36529  int tmp___8 ;
36530  int _max1___0 ;
36531  int _max2___0 ;
36532  int tmp___9 ;
36533  unsigned long __cil_tmp12 ;
36534  int __cil_tmp13 ;
36535  int __cil_tmp14 ;
36536  int __cil_tmp15 ;
36537  int __cil_tmp16 ;
36538  long __cil_tmp17 ;
36539  int    __cil_tmp18 ;
36540  int __cil_tmp19 ;
36541  int __cil_tmp20 ;
36542  long __cil_tmp21 ;
36543  int *__cil_tmp22 ;
36544  int *__cil_tmp23 ;
36545  int *__cil_tmp24 ;
36546  int __cil_tmp25 ;
36547  int *__cil_tmp26 ;
36548  int __cil_tmp27 ;
36549  int *__cil_tmp28 ;
36550  int *__cil_tmp29 ;
36551  size_t __cil_tmp30 ;
36552  size_t __cil_tmp31 ;
36553  size_t __cil_tmp32 ;
36554  size_t __cil_tmp33 ;
36555  unsigned int __cil_tmp34 ;
36556  void *__cil_tmp35 ;
36557  int *__cil_tmp36 ;
36558  int *__cil_tmp37 ;
36559  int *__cil_tmp38 ;
36560  int __cil_tmp39 ;
36561  int *__cil_tmp40 ;
36562  int __cil_tmp41 ;
36563  int *__cil_tmp42 ;
36564  int *__cil_tmp43 ;
36565  int __cil_tmp44 ;
36566  unsigned int __cil_tmp45 ;
36567
36568  {
36569  {
36570#line 60
36571  __cil_tmp12 = len % 4UL;
36572#line 60
36573  __cil_tmp13 = __cil_tmp12 != 0UL;
36574#line 60
36575  __cil_tmp14 = ! __cil_tmp13;
36576#line 60
36577  __ret_warn_on = ! __cil_tmp14;
36578#line 60
36579  __cil_tmp15 = ! __ret_warn_on;
36580#line 60
36581  __cil_tmp16 = ! __cil_tmp15;
36582#line 60
36583  __cil_tmp17 = (long )__cil_tmp16;
36584#line 60
36585  tmp___7 = __builtin_expect(__cil_tmp17, 0L);
36586  }
36587#line 60
36588  if (tmp___7) {
36589    {
36590#line 60
36591    __cil_tmp18 = (int    )60;
36592#line 60
36593    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c",
36594                       __cil_tmp18);
36595    }
36596  } else {
36597
36598  }
36599  {
36600#line 60
36601  __cil_tmp19 = ! __ret_warn_on;
36602#line 60
36603  __cil_tmp20 = ! __cil_tmp19;
36604#line 60
36605  __cil_tmp21 = (long )__cil_tmp20;
36606#line 60
36607  __builtin_expect(__cil_tmp21, 0L);
36608#line 61
36609  len = len + 24UL;
36610#line 63
36611  __cil_tmp22 = & _max1;
36612#line 63
36613  *__cil_tmp22 = 32;
36614#line 63
36615  __cil_tmp23 = & _max2;
36616#line 63
36617  *__cil_tmp23 = 1 << 6;
36618  }
36619  {
36620#line 63
36621  __cil_tmp24 = & _max2;
36622#line 63
36623  __cil_tmp25 = *__cil_tmp24;
36624#line 63
36625  __cil_tmp26 = & _max1;
36626#line 63
36627  __cil_tmp27 = *__cil_tmp26;
36628#line 63
36629  if (__cil_tmp27 > __cil_tmp25) {
36630#line 63
36631    __cil_tmp28 = & _max1;
36632#line 63
36633    tmp___8 = *__cil_tmp28;
36634  } else {
36635#line 63
36636    __cil_tmp29 = & _max2;
36637#line 63
36638    tmp___8 = *__cil_tmp29;
36639  }
36640  }
36641  {
36642#line 63
36643  __cil_tmp30 = (size_t )tmp___8;
36644#line 63
36645  __cil_tmp31 = len + 32UL;
36646#line 63
36647  __cil_tmp32 = __cil_tmp31 + 8UL;
36648#line 63
36649  __cil_tmp33 = __cil_tmp32 + __cil_tmp30;
36650#line 63
36651  __cil_tmp34 = (unsigned int )__cil_tmp33;
36652#line 63
36653  skb = alloc_skb_fclone(__cil_tmp34, 32U);
36654  }
36655#line 64
36656  if (! skb) {
36657    {
36658#line 65
36659    __cil_tmp35 = (void *)0;
36660#line 65
36661    return ((struct fc_frame *)__cil_tmp35);
36662    }
36663  } else {
36664
36665  }
36666#line 66
36667  __cil_tmp36 = & _max1___0;
36668#line 66
36669  *__cil_tmp36 = 32;
36670#line 66
36671  __cil_tmp37 = & _max2___0;
36672#line 66
36673  *__cil_tmp37 = 1 << 6;
36674  {
36675#line 66
36676  __cil_tmp38 = & _max2___0;
36677#line 66
36678  __cil_tmp39 = *__cil_tmp38;
36679#line 66
36680  __cil_tmp40 = & _max1___0;
36681#line 66
36682  __cil_tmp41 = *__cil_tmp40;
36683#line 66
36684  if (__cil_tmp41 > __cil_tmp39) {
36685#line 66
36686    __cil_tmp42 = & _max1___0;
36687#line 66
36688    tmp___9 = *__cil_tmp42;
36689  } else {
36690#line 66
36691    __cil_tmp43 = & _max2___0;
36692#line 66
36693    tmp___9 = *__cil_tmp43;
36694  }
36695  }
36696  {
36697#line 66
36698  __cil_tmp44 = tmp___9 + 32;
36699#line 66
36700  skb_reserve(skb, __cil_tmp44);
36701#line 67
36702  fp = (struct fc_frame *)skb;
36703#line 68
36704  fc_frame_init(fp);
36705#line 69
36706  __cil_tmp45 = (unsigned int )len;
36707#line 69
36708  skb_put(skb, __cil_tmp45);
36709  }
36710#line 70
36711  return (fp);
36712}
36713}
36714#line 72
36715extern void *__crc__fc_frame_alloc  __attribute__((__weak__)) ;
36716#line 72 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c"
36717static unsigned long    __kcrctab__fc_frame_alloc  __attribute__((__used__, __unused__,
36718__section__("___kcrctab+_fc_frame_alloc")))  =    (unsigned long    )((unsigned long )(& __crc__fc_frame_alloc));
36719#line 72 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c"
36720static char    __kstrtab__fc_frame_alloc[16]  __attribute__((__section__("__ksymtab_strings"),
36721__aligned__(1)))  = 
36722#line 72
36723  {      (char    )'_',      (char    )'f',      (char const   )'c',      (char const   )'_', 
36724        (char    )'f',      (char    )'r',      (char const   )'a',      (char const   )'m', 
36725        (char    )'e',      (char    )'_',      (char const   )'a',      (char const   )'l', 
36726        (char    )'l',      (char    )'o',      (char const   )'c',      (char const   )'\000'};
36727#line 72 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c"
36728static struct kernel_symbol    __ksymtab__fc_frame_alloc  __attribute__((__used__,
36729__unused__, __section__("___ksymtab+_fc_frame_alloc")))  =    {(unsigned long )(& _fc_frame_alloc), __kstrtab__fc_frame_alloc};
36730#line 74 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c"
36731struct fc_frame *fc_frame_alloc_fill(struct fc_lport *lp , size_t payload_len ) 
36732{ struct fc_frame *fp ;
36733  size_t fill ;
36734  size_t __cil_tmp5 ;
36735  unsigned long __cil_tmp6 ;
36736  unsigned long __cil_tmp7 ;
36737  unsigned long __cil_tmp8 ;
36738  unsigned char *__cil_tmp9 ;
36739  char *__cil_tmp10 ;
36740  char *__cil_tmp11 ;
36741  void *__cil_tmp12 ;
36742  struct sk_buff *__cil_tmp13 ;
36743  size_t __cil_tmp14 ;
36744  unsigned int __cil_tmp15 ;
36745
36746  {
36747#line 79
36748  fill = payload_len % 4UL;
36749#line 80
36750  if (fill != 0UL) {
36751#line 81
36752    fill = 4UL - fill;
36753  } else {
36754
36755  }
36756  {
36757#line 82
36758  __cil_tmp5 = payload_len + fill;
36759#line 82
36760  fp = _fc_frame_alloc(__cil_tmp5);
36761  }
36762#line 83
36763  if (fp) {
36764    {
36765#line 84
36766    __cil_tmp6 = 0 + 224;
36767#line 84
36768    __cil_tmp7 = (unsigned long )fp;
36769#line 84
36770    __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
36771#line 84
36772    __cil_tmp9 = *((unsigned char **)__cil_tmp8);
36773#line 84
36774    __cil_tmp10 = (char *)__cil_tmp9;
36775#line 84
36776    __cil_tmp11 = __cil_tmp10 + payload_len;
36777#line 84
36778    __cil_tmp12 = (void *)__cil_tmp11;
36779#line 84
36780    memset(__cil_tmp12, 0, fill);
36781#line 86
36782    __cil_tmp13 = (struct sk_buff *)fp;
36783#line 86
36784    __cil_tmp14 = payload_len + 24UL;
36785#line 86
36786    __cil_tmp15 = (unsigned int )__cil_tmp14;
36787#line 86
36788    skb_trim(__cil_tmp13, __cil_tmp15);
36789    }
36790  } else {
36791
36792  }
36793#line 89
36794  return (fp);
36795}
36796}
36797#line 91
36798extern void *__crc_fc_frame_alloc_fill  __attribute__((__weak__)) ;
36799#line 91 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c"
36800static unsigned long    __kcrctab_fc_frame_alloc_fill  __attribute__((__used__,
36801__unused__, __section__("___kcrctab+fc_frame_alloc_fill")))  =    (unsigned long    )((unsigned long )(& __crc_fc_frame_alloc_fill));
36802#line 91 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c"
36803static char    __kstrtab_fc_frame_alloc_fill[20]  __attribute__((__section__("__ksymtab_strings"),
36804__aligned__(1)))  = 
36805#line 91
36806  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'f', 
36807        (char    )'r',      (char    )'a',      (char const   )'m',      (char const   )'e', 
36808        (char    )'_',      (char    )'a',      (char const   )'l',      (char const   )'l', 
36809        (char    )'o',      (char    )'c',      (char const   )'_',      (char const   )'f', 
36810        (char    )'i',      (char    )'l',      (char const   )'l',      (char const   )'\000'};
36811#line 91 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_frame.c"
36812static struct kernel_symbol    __ksymtab_fc_frame_alloc_fill  __attribute__((__used__,
36813__unused__, __section__("___ksymtab+fc_frame_alloc_fill")))  =    {(unsigned long )(& fc_frame_alloc_fill), __kstrtab_fc_frame_alloc_fill};
36814#line 108 "include/linux/cpumask.h"
36815static bool __warned___0  __attribute__((__section__(".data.unlikely")))  ;
36816#line 105
36817__inline static unsigned int cpumask_check___0(unsigned int cpu )  __attribute__((__no_instrument_function__)) ;
36818#line 105 "include/linux/cpumask.h"
36819__inline static unsigned int cpumask_check___0(unsigned int cpu ) 
36820{ int __ret_warn_once ;
36821  int __ret_warn_on ;
36822  long tmp ;
36823  long tmp___0 ;
36824  long tmp___1 ;
36825  unsigned int __cil_tmp7 ;
36826  int __cil_tmp8 ;
36827  int __cil_tmp9 ;
36828  int __cil_tmp10 ;
36829  int __cil_tmp11 ;
36830  long __cil_tmp12 ;
36831  int __cil_tmp13 ;
36832  int __cil_tmp14 ;
36833  int __cil_tmp15 ;
36834  int __cil_tmp16 ;
36835  long __cil_tmp17 ;
36836  int    __cil_tmp18 ;
36837  int __cil_tmp19 ;
36838  int __cil_tmp20 ;
36839  long __cil_tmp21 ;
36840  int __cil_tmp22 ;
36841  int __cil_tmp23 ;
36842  long __cil_tmp24 ;
36843
36844  {
36845  {
36846#line 108
36847  __cil_tmp7 = (unsigned int )nr_cpu_ids;
36848#line 108
36849  __cil_tmp8 = cpu >= __cil_tmp7;
36850#line 108
36851  __cil_tmp9 = ! __cil_tmp8;
36852#line 108
36853  __ret_warn_once = ! __cil_tmp9;
36854#line 108
36855  __cil_tmp10 = ! __ret_warn_once;
36856#line 108
36857  __cil_tmp11 = ! __cil_tmp10;
36858#line 108
36859  __cil_tmp12 = (long )__cil_tmp11;
36860#line 108
36861  tmp___1 = __builtin_expect(__cil_tmp12, 0L);
36862  }
36863#line 108
36864  if (tmp___1) {
36865    {
36866#line 108
36867    __cil_tmp13 = ! __warned___0;
36868#line 108
36869    __cil_tmp14 = ! __cil_tmp13;
36870#line 108
36871    __ret_warn_on = ! __cil_tmp14;
36872#line 108
36873    __cil_tmp15 = ! __ret_warn_on;
36874#line 108
36875    __cil_tmp16 = ! __cil_tmp15;
36876#line 108
36877    __cil_tmp17 = (long )__cil_tmp16;
36878#line 108
36879    tmp = __builtin_expect(__cil_tmp17, 0L);
36880    }
36881#line 108
36882    if (tmp) {
36883      {
36884#line 108
36885      __cil_tmp18 = (int    )108;
36886#line 108
36887      warn_slowpath_null("include/linux/cpumask.h", __cil_tmp18);
36888      }
36889    } else {
36890
36891    }
36892    {
36893#line 108
36894    __cil_tmp19 = ! __ret_warn_on;
36895#line 108
36896    __cil_tmp20 = ! __cil_tmp19;
36897#line 108
36898    __cil_tmp21 = (long )__cil_tmp20;
36899#line 108
36900    tmp___0 = __builtin_expect(__cil_tmp21, 0L);
36901    }
36902#line 108
36903    if (tmp___0) {
36904#line 108
36905      __warned___0 = (bool )1;
36906    } else {
36907
36908    }
36909  } else {
36910
36911  }
36912  {
36913#line 108
36914  __cil_tmp22 = ! __ret_warn_once;
36915#line 108
36916  __cil_tmp23 = ! __cil_tmp22;
36917#line 108
36918  __cil_tmp24 = (long )__cil_tmp23;
36919#line 108
36920  __builtin_expect(__cil_tmp24, 0L);
36921  }
36922#line 110
36923  return (cpu);
36924}
36925}
36926#line 170
36927__inline static unsigned int cpumask_next___0(int n , struct cpumask    *srcp )  __attribute__((__no_instrument_function__)) ;
36928#line 170 "include/linux/cpumask.h"
36929__inline static unsigned int cpumask_next___0(int n , struct cpumask    *srcp ) 
36930{ unsigned long tmp ;
36931  unsigned int __cil_tmp4 ;
36932  unsigned long __cil_tmp5 ;
36933  unsigned long __cil_tmp6 ;
36934  unsigned long __cil_tmp7 ;
36935  unsigned long __cil_tmp8 ;
36936  unsigned long    *__cil_tmp9 ;
36937  unsigned long    *__cil_tmp10 ;
36938  unsigned long __cil_tmp11 ;
36939  int __cil_tmp12 ;
36940  unsigned long __cil_tmp13 ;
36941
36942  {
36943#line 173
36944  if (n != -1) {
36945    {
36946#line 174
36947    __cil_tmp4 = (unsigned int )n;
36948#line 174
36949    cpumask_check___0(__cil_tmp4);
36950    }
36951  } else {
36952
36953  }
36954  {
36955#line 175
36956  __cil_tmp5 = 0 * 8UL;
36957#line 175
36958  __cil_tmp6 = 0 + __cil_tmp5;
36959#line 175
36960  __cil_tmp7 = (unsigned long )srcp;
36961#line 175
36962  __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
36963#line 175
36964  __cil_tmp9 = (unsigned long    *)__cil_tmp8;
36965#line 175
36966  __cil_tmp10 = (unsigned long    *)__cil_tmp9;
36967#line 175
36968  __cil_tmp11 = (unsigned long )nr_cpu_ids;
36969#line 175
36970  __cil_tmp12 = n + 1;
36971#line 175
36972  __cil_tmp13 = (unsigned long )__cil_tmp12;
36973#line 175
36974  tmp = find_next_bit(__cil_tmp10, __cil_tmp11, __cil_tmp13);
36975  }
36976#line 175
36977  return ((unsigned int )tmp);
36978}
36979}
36980#line 17 "include/linux/math64.h"
36981__inline static u64 div_u64_rem(u64 dividend , u32 divisor , u32 *remainder )  __attribute__((__no_instrument_function__)) ;
36982#line 17 "include/linux/math64.h"
36983__inline static u64 div_u64_rem(u64 dividend , u32 divisor , u32 *remainder ) 
36984{ unsigned long long __cil_tmp4 ;
36985  unsigned long long __cil_tmp5 ;
36986  u64 __cil_tmp6 ;
36987
36988  {
36989#line 19
36990  __cil_tmp4 = (unsigned long long )divisor;
36991#line 19
36992  __cil_tmp5 = dividend % __cil_tmp4;
36993#line 19
36994  *remainder = (u32 )__cil_tmp5;
36995  {
36996#line 20
36997  __cil_tmp6 = (u64 )divisor;
36998#line 20
36999  return (dividend / __cil_tmp6);
37000  }
37001}
37002}
37003#line 82
37004__inline static u64 div_u64(u64 dividend , u32 divisor )  __attribute__((__no_instrument_function__)) ;
37005#line 82 "include/linux/math64.h"
37006__inline static u64 div_u64(u64 dividend , u32 divisor ) 
37007{ u32 remainder ;
37008  u64 tmp ;
37009
37010  {
37011  {
37012#line 85
37013  tmp = div_u64_rem(dividend, divisor, & remainder);
37014  }
37015#line 85
37016  return (tmp);
37017}
37018}
37019#line 82 "include/linux/jiffies.h"
37020extern unsigned long volatile   jiffies  __attribute__((__section__(".data"))) ;
37021#line 301
37022extern void jiffies_to_timespec(unsigned long    jiffies , struct timespec *value ) ;
37023#line 162 "include/linux/rcupdate.h"
37024__inline static void __rcu_read_lock(void)  __attribute__((__no_instrument_function__)) ;
37025#line 162 "include/linux/rcupdate.h"
37026__inline static void __rcu_read_lock(void) 
37027{ struct thread_info *tmp ;
37028  unsigned long __cil_tmp2 ;
37029  unsigned long __cil_tmp3 ;
37030  unsigned long __cil_tmp4 ;
37031  unsigned long __cil_tmp5 ;
37032  int __cil_tmp6 ;
37033
37034  {
37035  {
37036#line 164
37037  while (1) {
37038    while_continue: /* CIL Label */ ;
37039    {
37040#line 164
37041    while (1) {
37042      while_continue___0: /* CIL Label */ ;
37043      {
37044#line 164
37045      tmp = current_thread_info();
37046#line 164
37047      __cil_tmp2 = (unsigned long )tmp;
37048#line 164
37049      __cil_tmp3 = __cil_tmp2 + 28;
37050#line 164
37051      __cil_tmp4 = (unsigned long )tmp;
37052#line 164
37053      __cil_tmp5 = __cil_tmp4 + 28;
37054#line 164
37055      __cil_tmp6 = *((int *)__cil_tmp5);
37056#line 164
37057      *((int *)__cil_tmp3) = __cil_tmp6 + 1;
37058      }
37059#line 164
37060      goto while_break___0;
37061    }
37062    while_break___0: /* CIL Label */ ;
37063    }
37064#line 164
37065    __asm__  volatile   ("": : : "memory");
37066#line 164
37067    goto while_break;
37068  }
37069  while_break: /* CIL Label */ ;
37070  }
37071#line 165
37072  return;
37073}
37074}
37075#line 167
37076__inline static void __rcu_read_unlock(void)  __attribute__((__no_instrument_function__)) ;
37077#line 167 "include/linux/rcupdate.h"
37078__inline static void __rcu_read_unlock(void) 
37079{ struct thread_info *tmp ;
37080  unsigned long __cil_tmp2 ;
37081  unsigned long __cil_tmp3 ;
37082  unsigned long __cil_tmp4 ;
37083  unsigned long __cil_tmp5 ;
37084  int __cil_tmp6 ;
37085
37086  {
37087  {
37088#line 169
37089  while (1) {
37090    while_continue: /* CIL Label */ ;
37091    {
37092#line 169
37093    while (1) {
37094      while_continue___0: /* CIL Label */ ;
37095#line 169
37096      __asm__  volatile   ("": : : "memory");
37097      {
37098#line 169
37099      while (1) {
37100        while_continue___1: /* CIL Label */ ;
37101        {
37102#line 169
37103        tmp = current_thread_info();
37104#line 169
37105        __cil_tmp2 = (unsigned long )tmp;
37106#line 169
37107        __cil_tmp3 = __cil_tmp2 + 28;
37108#line 169
37109        __cil_tmp4 = (unsigned long )tmp;
37110#line 169
37111        __cil_tmp5 = __cil_tmp4 + 28;
37112#line 169
37113        __cil_tmp6 = *((int *)__cil_tmp5);
37114#line 169
37115        *((int *)__cil_tmp3) = __cil_tmp6 - 1;
37116        }
37117#line 169
37118        goto while_break___1;
37119      }
37120      while_break___1: /* CIL Label */ ;
37121      }
37122#line 169
37123      goto while_break___0;
37124    }
37125    while_break___0: /* CIL Label */ ;
37126    }
37127#line 169
37128    __asm__  volatile   ("": : : "memory");
37129    {
37130#line 169
37131    while (1) {
37132      while_continue___2: /* CIL Label */ ;
37133#line 169
37134      goto while_break___2;
37135    }
37136    while_break___2: /* CIL Label */ ;
37137    }
37138#line 169
37139    goto while_break;
37140  }
37141  while_break: /* CIL Label */ ;
37142  }
37143#line 170
37144  return;
37145}
37146}
37147#line 723
37148__inline static void rcu_read_lock(void)  __attribute__((__no_instrument_function__)) ;
37149#line 723 "include/linux/rcupdate.h"
37150__inline static void rcu_read_lock(void) 
37151{ 
37152
37153  {
37154  {
37155#line 725
37156  __rcu_read_lock();
37157  }
37158  {
37159#line 727
37160  while (1) {
37161    while_continue: /* CIL Label */ ;
37162#line 727
37163    goto while_break;
37164  }
37165  while_break: /* CIL Label */ ;
37166  }
37167  {
37168#line 728
37169  while (1) {
37170    while_continue___0: /* CIL Label */ ;
37171#line 728
37172    goto while_break___0;
37173  }
37174  while_break___0: /* CIL Label */ ;
37175  }
37176#line 730
37177  return;
37178}
37179}
37180#line 747
37181__inline static void rcu_read_unlock(void)  __attribute__((__no_instrument_function__)) ;
37182#line 747 "include/linux/rcupdate.h"
37183__inline static void rcu_read_unlock(void) 
37184{ 
37185
37186  {
37187  {
37188#line 749
37189  while (1) {
37190    while_continue: /* CIL Label */ ;
37191#line 749
37192    goto while_break;
37193  }
37194  while_break: /* CIL Label */ ;
37195  }
37196  {
37197#line 751
37198  while (1) {
37199    while_continue___0: /* CIL Label */ ;
37200#line 751
37201    goto while_break___0;
37202  }
37203  while_break___0: /* CIL Label */ ;
37204  }
37205  {
37206#line 753
37207  __rcu_read_unlock();
37208  }
37209#line 754
37210  return;
37211}
37212}
37213#line 457 "include/linux/module.h"
37214extern bool try_module_get(struct module *module ) ;
37215#line 459
37216extern void module_put(struct module *module ) ;
37217#line 220 "include/linux/scatterlist.h"
37218extern size_t sg_copy_to_buffer(struct scatterlist *sgl , unsigned int nents , void *buf ,
37219                                size_t buflen ) ;
37220#line 750 "include/scsi/scsi_host.h"
37221__inline static void *shost_priv(struct Scsi_Host *shost )  __attribute__((__no_instrument_function__)) ;
37222#line 750 "include/scsi/scsi_host.h"
37223__inline static void *shost_priv(struct Scsi_Host *shost ) 
37224{ unsigned long __cil_tmp2 ;
37225  unsigned long __cil_tmp3 ;
37226  unsigned long __cil_tmp4 ;
37227  unsigned long __cil_tmp5 ;
37228  unsigned long *__cil_tmp6 ;
37229
37230  {
37231  {
37232#line 752
37233  __cil_tmp2 = 0 * 8UL;
37234#line 752
37235  __cil_tmp3 = 2040 + __cil_tmp2;
37236#line 752
37237  __cil_tmp4 = (unsigned long )shost;
37238#line 752
37239  __cil_tmp5 = __cil_tmp4 + __cil_tmp3;
37240#line 752
37241  __cil_tmp6 = (unsigned long *)__cil_tmp5;
37242#line 752
37243  return ((void *)__cil_tmp6);
37244  }
37245}
37246}
37247#line 811 "include/scsi/scsi_transport_fc.h"
37248__inline static void fc_vport_set_state(struct fc_vport *vport , enum fc_vport_state new_state )  __attribute__((__no_instrument_function__)) ;
37249#line 811 "include/scsi/scsi_transport_fc.h"
37250__inline static void fc_vport_set_state(struct fc_vport *vport , enum fc_vport_state new_state ) 
37251{ unsigned int __cil_tmp3 ;
37252  unsigned int __cil_tmp4 ;
37253  unsigned long __cil_tmp5 ;
37254  unsigned long __cil_tmp6 ;
37255
37256  {
37257  {
37258#line 814
37259  __cil_tmp3 = (unsigned int )new_state;
37260#line 814
37261  if (__cil_tmp3 != 0U) {
37262    {
37263#line 814
37264    __cil_tmp4 = (unsigned int )new_state;
37265#line 814
37266    if (__cil_tmp4 != 4U) {
37267#line 816
37268      __cil_tmp5 = (unsigned long )vport;
37269#line 816
37270      __cil_tmp6 = __cil_tmp5 + 4;
37271#line 816
37272      *((enum fc_vport_state *)__cil_tmp6) = *((enum fc_vport_state *)vport);
37273    } else {
37274
37275    }
37276    }
37277  } else {
37278
37279  }
37280  }
37281#line 817
37282  *((enum fc_vport_state *)vport) = new_state;
37283#line 818
37284  return;
37285}
37286}
37287#line 829
37288extern u32 fc_get_event_number(void) ;
37289#line 830
37290extern void fc_host_post_event(struct Scsi_Host *shost , u32 event_number , enum fc_host_event_code event_code ,
37291                               u32 event_data ) ;
37292#line 180 "include/scsi/fc_frame.h"
37293__inline static u32 fc_frame_sid(struct fc_frame    *fp )  __attribute__((__no_instrument_function__)) ;
37294#line 180 "include/scsi/fc_frame.h"
37295__inline static u32 fc_frame_sid(struct fc_frame    *fp ) 
37296{ struct fc_frame_header *tmp___7 ;
37297  u32 tmp___8 ;
37298  unsigned long __cil_tmp4 ;
37299  unsigned long __cil_tmp5 ;
37300  unsigned long __cil_tmp6 ;
37301  unsigned long __cil_tmp7 ;
37302  __u8 *__cil_tmp8 ;
37303  u8    *__cil_tmp9 ;
37304
37305  {
37306  {
37307#line 182
37308  tmp___7 = __fc_frame_header_get(fp);
37309#line 182
37310  __cil_tmp4 = 0 * 1UL;
37311#line 182
37312  __cil_tmp5 = 5 + __cil_tmp4;
37313#line 182
37314  __cil_tmp6 = (unsigned long )tmp___7;
37315#line 182
37316  __cil_tmp7 = __cil_tmp6 + __cil_tmp5;
37317#line 182
37318  __cil_tmp8 = (__u8 *)__cil_tmp7;
37319#line 182
37320  __cil_tmp9 = (u8    *)__cil_tmp8;
37321#line 182
37322  tmp___8 = ntoh24(__cil_tmp9);
37323  }
37324#line 182
37325  return (tmp___8);
37326}
37327}
37328#line 188
37329__inline static u32 fc_frame_did(struct fc_frame    *fp )  __attribute__((__no_instrument_function__)) ;
37330#line 188 "include/scsi/fc_frame.h"
37331__inline static u32 fc_frame_did(struct fc_frame    *fp ) 
37332{ struct fc_frame_header *tmp___7 ;
37333  u32 tmp___8 ;
37334  unsigned long __cil_tmp4 ;
37335  unsigned long __cil_tmp5 ;
37336  unsigned long __cil_tmp6 ;
37337  unsigned long __cil_tmp7 ;
37338  __u8 *__cil_tmp8 ;
37339  u8    *__cil_tmp9 ;
37340
37341  {
37342  {
37343#line 190
37344  tmp___7 = __fc_frame_header_get(fp);
37345#line 190
37346  __cil_tmp4 = 0 * 1UL;
37347#line 190
37348  __cil_tmp5 = 1 + __cil_tmp4;
37349#line 190
37350  __cil_tmp6 = (unsigned long )tmp___7;
37351#line 190
37352  __cil_tmp7 = __cil_tmp6 + __cil_tmp5;
37353#line 190
37354  __cil_tmp8 = (__u8 *)__cil_tmp7;
37355#line 190
37356  __cil_tmp9 = (u8    *)__cil_tmp8;
37357#line 190
37358  tmp___8 = ntoh24(__cil_tmp9);
37359  }
37360#line 190
37361  return (tmp___8);
37362}
37363}
37364#line 969 "include/scsi/libfc.h"
37365__inline static void fc_lport_state_enter(struct fc_lport *lport , enum fc_lport_state state )  __attribute__((__no_instrument_function__)) ;
37366#line 969 "include/scsi/libfc.h"
37367__inline static void fc_lport_state_enter(struct fc_lport *lport , enum fc_lport_state state ) 
37368{ unsigned long __cil_tmp3 ;
37369  unsigned long __cil_tmp4 ;
37370  enum fc_lport_state __cil_tmp5 ;
37371  unsigned int __cil_tmp6 ;
37372  unsigned int __cil_tmp7 ;
37373  unsigned long __cil_tmp8 ;
37374  unsigned long __cil_tmp9 ;
37375  unsigned long __cil_tmp10 ;
37376  unsigned long __cil_tmp11 ;
37377
37378  {
37379  {
37380#line 972
37381  __cil_tmp3 = (unsigned long )lport;
37382#line 972
37383  __cil_tmp4 = __cil_tmp3 + 604;
37384#line 972
37385  __cil_tmp5 = *((enum fc_lport_state *)__cil_tmp4);
37386#line 972
37387  __cil_tmp6 = (unsigned int )__cil_tmp5;
37388#line 972
37389  __cil_tmp7 = (unsigned int )state;
37390#line 972
37391  if (__cil_tmp7 != __cil_tmp6) {
37392#line 973
37393    __cil_tmp8 = (unsigned long )lport;
37394#line 973
37395    __cil_tmp9 = __cil_tmp8 + 784;
37396#line 973
37397    *((u8 *)__cil_tmp9) = (u8 )0;
37398  } else {
37399
37400  }
37401  }
37402#line 974
37403  __cil_tmp10 = (unsigned long )lport;
37404#line 974
37405  __cil_tmp11 = __cil_tmp10 + 604;
37406#line 974
37407  *((enum fc_lport_state *)__cil_tmp11) = state;
37408#line 975
37409  return;
37410}
37411}
37412#line 1044
37413int fc_lport_init(struct fc_lport *lport ) ;
37414#line 1045
37415int fc_lport_destroy(struct fc_lport *lport ) ;
37416#line 1046
37417int fc_fabric_logoff(struct fc_lport *lport ) ;
37418#line 1047
37419int fc_fabric_login(struct fc_lport *lport ) ;
37420#line 1048
37421void __fc_linkup(struct fc_lport *lport ) ;
37422#line 1049
37423void fc_linkup(struct fc_lport *lport ) ;
37424#line 1050
37425void __fc_linkdown(struct fc_lport *lport ) ;
37426#line 1051
37427void fc_linkdown(struct fc_lport *lport ) ;
37428#line 1053
37429void fc_vports_linkchange(struct fc_lport *n_port ) ;
37430#line 1054
37431int fc_lport_config(struct fc_lport *lport ) ;
37432#line 1055
37433int fc_lport_reset(struct fc_lport *lport ) ;
37434#line 1056
37435int fc_set_mfs(struct fc_lport *lport , u32 mfs ) ;
37436#line 1059
37437int fc_lport_bsg_request(struct fc_bsg_job *job ) ;
37438#line 1060
37439void fc_lport_set_local_id(struct fc_lport *lport , u32 port_id ) ;
37440#line 1107
37441void fc_lport_flogi_resp(struct fc_seq *sp , struct fc_frame *fp , void *lp_arg ) ;
37442#line 1108
37443void fc_lport_logo_resp(struct fc_seq *sp , struct fc_frame *fp , void *lp_arg ) ;
37444#line 1134
37445void fc_get_host_speed(struct Scsi_Host *shost ) ;
37446#line 1135
37447void fc_get_host_port_state(struct Scsi_Host *shost ) ;
37448#line 1137
37449struct fc_host_statistics *fc_get_host_stats(struct Scsi_Host *shost ) ;
37450#line 111 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
37451static void fc_lport_error(struct fc_lport *lport , struct fc_frame *fp ) ;
37452#line 113
37453static void fc_lport_enter_reset(struct fc_lport *lport ) ;
37454#line 114
37455static void fc_lport_enter_flogi(struct fc_lport *lport ) ;
37456#line 115
37457static void fc_lport_enter_dns(struct fc_lport *lport ) ;
37458#line 116
37459static void fc_lport_enter_ns(struct fc_lport *lport , enum fc_lport_state state ) ;
37460#line 117
37461static void fc_lport_enter_scr(struct fc_lport *lport ) ;
37462#line 118
37463static void fc_lport_enter_ready(struct fc_lport *lport ) ;
37464#line 119
37465static void fc_lport_enter_logo(struct fc_lport *lport ) ;
37466#line 120
37467static void fc_lport_enter_fdmi(struct fc_lport *lport ) ;
37468#line 121
37469static void fc_lport_enter_ms(struct fc_lport *lport , enum fc_lport_state state ) ;
37470#line 123 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
37471static char    *fc_lport_state_names[17]  = 
37472#line 123
37473  {      "disabled",      "FLOGI",      "dNS",      "RNN_ID", 
37474        "RSNN_NN",      "RSPN_ID",      "RFT_ID",      "RFF_ID", 
37475        "FDMI",      "RHBA",      "RPA",      "DHBA", 
37476        "DPRT",      "SCR",      "Ready",      "LOGO", 
37477        "reset"};
37478#line 166 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
37479static int fc_frame_drop(struct fc_lport *lport , struct fc_frame *fp ) 
37480{ 
37481
37482  {
37483  {
37484#line 168
37485  fc_frame_free(fp);
37486  }
37487#line 169
37488  return (0);
37489}
37490}
37491#line 181 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
37492static void fc_lport_rport_callback(struct fc_lport *lport , struct fc_rport_priv *rdata ,
37493                                    enum fc_rport_event event ) 
37494{ long tmp___7 ;
37495  long tmp___8 ;
37496  unsigned int *__cil_tmp6 ;
37497  unsigned int __cil_tmp7 ;
37498  unsigned int __cil_tmp8 ;
37499  int __cil_tmp9 ;
37500  int __cil_tmp10 ;
37501  long __cil_tmp11 ;
37502  struct Scsi_Host *__cil_tmp12 ;
37503  unsigned long __cil_tmp13 ;
37504  unsigned long __cil_tmp14 ;
37505  unsigned int __cil_tmp15 ;
37506  unsigned long __cil_tmp16 ;
37507  unsigned long __cil_tmp17 ;
37508  u32 __cil_tmp18 ;
37509  unsigned int __cil_tmp19 ;
37510  unsigned long __cil_tmp20 ;
37511  unsigned long __cil_tmp21 ;
37512  unsigned long __cil_tmp22 ;
37513  u32 __cil_tmp23 ;
37514  unsigned long __cil_tmp24 ;
37515  unsigned long __cil_tmp25 ;
37516  struct mutex *__cil_tmp26 ;
37517  unsigned long __cil_tmp27 ;
37518  unsigned long __cil_tmp28 ;
37519  enum fc_lport_state __cil_tmp29 ;
37520  unsigned int __cil_tmp30 ;
37521  unsigned long __cil_tmp31 ;
37522  unsigned long __cil_tmp32 ;
37523  enum fc_lport_state __cil_tmp33 ;
37524  unsigned long __cil_tmp34 ;
37525  unsigned long __cil_tmp35 ;
37526  enum fc_lport_state __cil_tmp36 ;
37527  unsigned int __cil_tmp37 ;
37528  unsigned long __cil_tmp38 ;
37529  unsigned long __cil_tmp39 ;
37530  enum fc_lport_state __cil_tmp40 ;
37531  unsigned int *__cil_tmp41 ;
37532  unsigned int __cil_tmp42 ;
37533  unsigned int __cil_tmp43 ;
37534  int __cil_tmp44 ;
37535  int __cil_tmp45 ;
37536  long __cil_tmp46 ;
37537  struct Scsi_Host *__cil_tmp47 ;
37538  unsigned long __cil_tmp48 ;
37539  unsigned long __cil_tmp49 ;
37540  unsigned int __cil_tmp50 ;
37541  unsigned long __cil_tmp51 ;
37542  unsigned long __cil_tmp52 ;
37543  u32 __cil_tmp53 ;
37544  unsigned long __cil_tmp54 ;
37545  unsigned long __cil_tmp55 ;
37546  unsigned long __cil_tmp56 ;
37547  u32 __cil_tmp57 ;
37548  unsigned long __cil_tmp58 ;
37549  unsigned long __cil_tmp59 ;
37550  enum fc_lport_state __cil_tmp60 ;
37551  unsigned int __cil_tmp61 ;
37552  unsigned long __cil_tmp62 ;
37553  unsigned long __cil_tmp63 ;
37554  unsigned long __cil_tmp64 ;
37555  int (*__cil_tmp65)(struct fc_rport_priv * ) ;
37556  unsigned long __cil_tmp66 ;
37557  unsigned long __cil_tmp67 ;
37558  unsigned long __cil_tmp68 ;
37559  u32 __cil_tmp69 ;
37560  unsigned long __cil_tmp70 ;
37561  unsigned long __cil_tmp71 ;
37562  void *__cil_tmp72 ;
37563  unsigned long __cil_tmp73 ;
37564  unsigned long __cil_tmp74 ;
37565  unsigned long __cil_tmp75 ;
37566  u32 __cil_tmp76 ;
37567  unsigned long __cil_tmp77 ;
37568  unsigned long __cil_tmp78 ;
37569  void *__cil_tmp79 ;
37570  unsigned long __cil_tmp80 ;
37571  unsigned long __cil_tmp81 ;
37572  struct mutex *__cil_tmp82 ;
37573
37574  {
37575  {
37576#line 185
37577  while (1) {
37578    while_continue: /* CIL Label */ ;
37579    {
37580#line 185
37581    __cil_tmp6 = & fc_debug_logging;
37582#line 185
37583    __cil_tmp7 = *__cil_tmp6;
37584#line 185
37585    __cil_tmp8 = __cil_tmp7 & 2U;
37586#line 185
37587    __cil_tmp9 = ! __cil_tmp8;
37588#line 185
37589    __cil_tmp10 = ! __cil_tmp9;
37590#line 185
37591    __cil_tmp11 = (long )__cil_tmp10;
37592#line 185
37593    tmp___7 = __builtin_expect(__cil_tmp11, 0L);
37594    }
37595#line 185
37596    if (tmp___7) {
37597      {
37598#line 185
37599      while (1) {
37600        while_continue___0: /* CIL Label */ ;
37601        {
37602#line 185
37603        __cil_tmp12 = *((struct Scsi_Host **)lport);
37604#line 185
37605        __cil_tmp13 = (unsigned long )__cil_tmp12;
37606#line 185
37607        __cil_tmp14 = __cil_tmp13 + 308;
37608#line 185
37609        __cil_tmp15 = *((unsigned int *)__cil_tmp14);
37610#line 185
37611        __cil_tmp16 = (unsigned long )lport;
37612#line 185
37613        __cil_tmp17 = __cil_tmp16 + 788;
37614#line 185
37615        __cil_tmp18 = *((u32 *)__cil_tmp17);
37616#line 185
37617        __cil_tmp19 = (unsigned int )event;
37618#line 185
37619        __cil_tmp20 = 24 + 16;
37620#line 185
37621        __cil_tmp21 = (unsigned long )rdata;
37622#line 185
37623        __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
37624#line 185
37625        __cil_tmp23 = *((u32 *)__cil_tmp22);
37626#line 185
37627        printk("<6>host%u: lport %6.6x: Received a %d event for port (%6.6x)\n", __cil_tmp15,
37628               __cil_tmp18, __cil_tmp19, __cil_tmp23);
37629        }
37630#line 185
37631        goto while_break___0;
37632      }
37633      while_break___0: /* CIL Label */ ;
37634      }
37635    } else {
37636
37637    }
37638#line 185
37639    goto while_break;
37640  }
37641  while_break: /* CIL Label */ ;
37642  }
37643  {
37644#line 188
37645  __cil_tmp24 = (unsigned long )lport;
37646#line 188
37647  __cil_tmp25 = __cil_tmp24 + 928;
37648#line 188
37649  __cil_tmp26 = (struct mutex *)__cil_tmp25;
37650#line 188
37651  mutex_lock(__cil_tmp26);
37652  }
37653#line 190
37654  if ((int )event == 1) {
37655#line 190
37656    goto case_1;
37657  } else
37658#line 207
37659  if ((int )event == 4) {
37660#line 207
37661    goto case_4;
37662  } else
37663#line 208
37664  if ((int )event == 2) {
37665#line 208
37666    goto case_4;
37667  } else
37668#line 209
37669  if ((int )event == 3) {
37670#line 209
37671    goto case_4;
37672  } else
37673#line 215
37674  if ((int )event == 0) {
37675#line 215
37676    goto case_0;
37677  } else
37678#line 189
37679  if (0) {
37680    case_1: /* CIL Label */ 
37681    {
37682#line 191
37683    __cil_tmp27 = (unsigned long )lport;
37684#line 191
37685    __cil_tmp28 = __cil_tmp27 + 604;
37686#line 191
37687    __cil_tmp29 = *((enum fc_lport_state *)__cil_tmp28);
37688#line 191
37689    __cil_tmp30 = (unsigned int )__cil_tmp29;
37690#line 191
37691    if (__cil_tmp30 == 2U) {
37692      {
37693#line 192
37694      __cil_tmp31 = (unsigned long )lport;
37695#line 192
37696      __cil_tmp32 = __cil_tmp31 + 24;
37697#line 192
37698      *((struct fc_rport_priv **)__cil_tmp32) = rdata;
37699#line 193
37700      __cil_tmp33 = (enum fc_lport_state )3;
37701#line 193
37702      fc_lport_enter_ns(lport, __cil_tmp33);
37703      }
37704    } else {
37705      {
37706#line 194
37707      __cil_tmp34 = (unsigned long )lport;
37708#line 194
37709      __cil_tmp35 = __cil_tmp34 + 604;
37710#line 194
37711      __cil_tmp36 = *((enum fc_lport_state *)__cil_tmp35);
37712#line 194
37713      __cil_tmp37 = (unsigned int )__cil_tmp36;
37714#line 194
37715      if (__cil_tmp37 == 8U) {
37716        {
37717#line 195
37718        __cil_tmp38 = (unsigned long )lport;
37719#line 195
37720        __cil_tmp39 = __cil_tmp38 + 32;
37721#line 195
37722        *((struct fc_rport_priv **)__cil_tmp39) = rdata;
37723#line 196
37724        __cil_tmp40 = (enum fc_lport_state )11;
37725#line 196
37726        fc_lport_enter_ms(lport, __cil_tmp40);
37727        }
37728      } else {
37729        {
37730#line 198
37731        while (1) {
37732          while_continue___1: /* CIL Label */ ;
37733          {
37734#line 198
37735          __cil_tmp41 = & fc_debug_logging;
37736#line 198
37737          __cil_tmp42 = *__cil_tmp41;
37738#line 198
37739          __cil_tmp43 = __cil_tmp42 & 2U;
37740#line 198
37741          __cil_tmp44 = ! __cil_tmp43;
37742#line 198
37743          __cil_tmp45 = ! __cil_tmp44;
37744#line 198
37745          __cil_tmp46 = (long )__cil_tmp45;
37746#line 198
37747          tmp___8 = __builtin_expect(__cil_tmp46, 0L);
37748          }
37749#line 198
37750          if (tmp___8) {
37751            {
37752#line 198
37753            while (1) {
37754              while_continue___2: /* CIL Label */ ;
37755              {
37756#line 198
37757              __cil_tmp47 = *((struct Scsi_Host **)lport);
37758#line 198
37759              __cil_tmp48 = (unsigned long )__cil_tmp47;
37760#line 198
37761              __cil_tmp49 = __cil_tmp48 + 308;
37762#line 198
37763              __cil_tmp50 = *((unsigned int *)__cil_tmp49);
37764#line 198
37765              __cil_tmp51 = (unsigned long )lport;
37766#line 198
37767              __cil_tmp52 = __cil_tmp51 + 788;
37768#line 198
37769              __cil_tmp53 = *((u32 *)__cil_tmp52);
37770#line 198
37771              __cil_tmp54 = 24 + 16;
37772#line 198
37773              __cil_tmp55 = (unsigned long )rdata;
37774#line 198
37775              __cil_tmp56 = __cil_tmp55 + __cil_tmp54;
37776#line 198
37777              __cil_tmp57 = *((u32 *)__cil_tmp56);
37778#line 198
37779              __cil_tmp58 = (unsigned long )lport;
37780#line 198
37781              __cil_tmp59 = __cil_tmp58 + 604;
37782#line 198
37783              __cil_tmp60 = *((enum fc_lport_state *)__cil_tmp59);
37784#line 198
37785              __cil_tmp61 = (unsigned int )__cil_tmp60;
37786#line 198
37787              printk("<6>host%u: lport %6.6x: Received an READY event on port (%6.6x) for the directory server, but the lport is not in the DNS or FDMI state, it\'s in the %d state",
37788                     __cil_tmp50, __cil_tmp53, __cil_tmp57, __cil_tmp61);
37789              }
37790#line 198
37791              goto while_break___2;
37792            }
37793            while_break___2: /* CIL Label */ ;
37794            }
37795          } else {
37796
37797          }
37798#line 198
37799          goto while_break___1;
37800        }
37801        while_break___1: /* CIL Label */ ;
37802        }
37803        {
37804#line 204
37805        __cil_tmp62 = 328 + 176;
37806#line 204
37807        __cil_tmp63 = (unsigned long )lport;
37808#line 204
37809        __cil_tmp64 = __cil_tmp63 + __cil_tmp62;
37810#line 204
37811        __cil_tmp65 = *((int (**)(struct fc_rport_priv * ))__cil_tmp64);
37812#line 204
37813        (*__cil_tmp65)(rdata);
37814        }
37815      }
37816      }
37817    }
37818    }
37819#line 206
37820    goto switch_break;
37821    case_4: /* CIL Label */ 
37822    case_2: /* CIL Label */ 
37823    case_3: /* CIL Label */ 
37824    {
37825#line 210
37826    __cil_tmp66 = 24 + 16;
37827#line 210
37828    __cil_tmp67 = (unsigned long )rdata;
37829#line 210
37830    __cil_tmp68 = __cil_tmp67 + __cil_tmp66;
37831#line 210
37832    __cil_tmp69 = *((u32 *)__cil_tmp68);
37833#line 210
37834    if (__cil_tmp69 == 16777212U) {
37835#line 211
37836      __cil_tmp70 = (unsigned long )lport;
37837#line 211
37838      __cil_tmp71 = __cil_tmp70 + 24;
37839#line 211
37840      __cil_tmp72 = (void *)0;
37841#line 211
37842      *((struct fc_rport_priv **)__cil_tmp71) = (struct fc_rport_priv *)__cil_tmp72;
37843    } else {
37844      {
37845#line 212
37846      __cil_tmp73 = 24 + 16;
37847#line 212
37848      __cil_tmp74 = (unsigned long )rdata;
37849#line 212
37850      __cil_tmp75 = __cil_tmp74 + __cil_tmp73;
37851#line 212
37852      __cil_tmp76 = *((u32 *)__cil_tmp75);
37853#line 212
37854      if (__cil_tmp76 == 16777210U) {
37855#line 213
37856        __cil_tmp77 = (unsigned long )lport;
37857#line 213
37858        __cil_tmp78 = __cil_tmp77 + 32;
37859#line 213
37860        __cil_tmp79 = (void *)0;
37861#line 213
37862        *((struct fc_rport_priv **)__cil_tmp78) = (struct fc_rport_priv *)__cil_tmp79;
37863      } else {
37864
37865      }
37866      }
37867    }
37868    }
37869#line 214
37870    goto switch_break;
37871    case_0: /* CIL Label */ 
37872#line 216
37873    goto switch_break;
37874  } else {
37875    switch_break: /* CIL Label */ ;
37876  }
37877  {
37878#line 218
37879  __cil_tmp80 = (unsigned long )lport;
37880#line 218
37881  __cil_tmp81 = __cil_tmp80 + 928;
37882#line 218
37883  __cil_tmp82 = (struct mutex *)__cil_tmp81;
37884#line 218
37885  mutex_unlock(__cil_tmp82);
37886  }
37887#line 219
37888  return;
37889}
37890}
37891#line 225 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
37892static char    *fc_lport_state(struct fc_lport *lport ) 
37893{ char    *cp ;
37894  unsigned long __cil_tmp3 ;
37895  unsigned long __cil_tmp4 ;
37896  enum fc_lport_state __cil_tmp5 ;
37897  unsigned long __cil_tmp6 ;
37898  unsigned long __cil_tmp7 ;
37899
37900  {
37901#line 229
37902  __cil_tmp3 = (unsigned long )lport;
37903#line 229
37904  __cil_tmp4 = __cil_tmp3 + 604;
37905#line 229
37906  __cil_tmp5 = *((enum fc_lport_state *)__cil_tmp4);
37907#line 229
37908  __cil_tmp6 = __cil_tmp5 * 8UL;
37909#line 229
37910  __cil_tmp7 = (unsigned long )(fc_lport_state_names) + __cil_tmp6;
37911#line 229
37912  cp = *((char    **)__cil_tmp7);
37913#line 230
37914  if (! cp) {
37915#line 231
37916    cp = "unknown";
37917  } else {
37918
37919  }
37920#line 232
37921  return (cp);
37922}
37923}
37924#line 242 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
37925static void fc_lport_ptp_setup(struct fc_lport *lport , u32 remote_fid , u64 remote_wwpn ,
37926                               u64 remote_wwnn ) 
37927{ unsigned long __cil_tmp5 ;
37928  unsigned long __cil_tmp6 ;
37929  unsigned long __cil_tmp7 ;
37930  struct mutex *__cil_tmp8 ;
37931  unsigned long __cil_tmp9 ;
37932  unsigned long __cil_tmp10 ;
37933  unsigned long __cil_tmp11 ;
37934  unsigned long __cil_tmp12 ;
37935  unsigned long __cil_tmp13 ;
37936  int (*__cil_tmp14)(struct fc_rport_priv * ) ;
37937  unsigned long __cil_tmp15 ;
37938  unsigned long __cil_tmp16 ;
37939  struct fc_rport_priv *__cil_tmp17 ;
37940  unsigned long __cil_tmp18 ;
37941  unsigned long __cil_tmp19 ;
37942  struct fc_rport_priv *__cil_tmp20 ;
37943  unsigned long __cil_tmp21 ;
37944  unsigned long __cil_tmp22 ;
37945  struct kref *__cil_tmp23 ;
37946  unsigned long __cil_tmp24 ;
37947  unsigned long __cil_tmp25 ;
37948  unsigned long __cil_tmp26 ;
37949  void (*__cil_tmp27)(struct kref * ) ;
37950  unsigned long __cil_tmp28 ;
37951  unsigned long __cil_tmp29 ;
37952  unsigned long __cil_tmp30 ;
37953  unsigned long __cil_tmp31 ;
37954  unsigned long __cil_tmp32 ;
37955  struct fc_rport_priv *(*__cil_tmp33)(struct fc_lport * , u32  ) ;
37956  unsigned long __cil_tmp34 ;
37957  unsigned long __cil_tmp35 ;
37958  struct fc_rport_priv *__cil_tmp36 ;
37959  unsigned long __cil_tmp37 ;
37960  unsigned long __cil_tmp38 ;
37961  struct kref *__cil_tmp39 ;
37962  unsigned long __cil_tmp40 ;
37963  unsigned long __cil_tmp41 ;
37964  unsigned long __cil_tmp42 ;
37965  struct fc_rport_priv *__cil_tmp43 ;
37966  unsigned long __cil_tmp44 ;
37967  unsigned long __cil_tmp45 ;
37968  unsigned long __cil_tmp46 ;
37969  unsigned long __cil_tmp47 ;
37970  struct fc_rport_priv *__cil_tmp48 ;
37971  unsigned long __cil_tmp49 ;
37972  unsigned long __cil_tmp50 ;
37973  unsigned long __cil_tmp51 ;
37974  unsigned long __cil_tmp52 ;
37975  unsigned long __cil_tmp53 ;
37976  struct mutex *__cil_tmp54 ;
37977  unsigned long __cil_tmp55 ;
37978  unsigned long __cil_tmp56 ;
37979  unsigned long __cil_tmp57 ;
37980  int (*__cil_tmp58)(struct fc_rport_priv * ) ;
37981  unsigned long __cil_tmp59 ;
37982  unsigned long __cil_tmp60 ;
37983  struct fc_rport_priv *__cil_tmp61 ;
37984
37985  {
37986  {
37987#line 246
37988  __cil_tmp5 = 56 + 40;
37989#line 246
37990  __cil_tmp6 = (unsigned long )lport;
37991#line 246
37992  __cil_tmp7 = __cil_tmp6 + __cil_tmp5;
37993#line 246
37994  __cil_tmp8 = (struct mutex *)__cil_tmp7;
37995#line 246
37996  mutex_lock(__cil_tmp8);
37997  }
37998  {
37999#line 247
38000  __cil_tmp9 = (unsigned long )lport;
38001#line 247
38002  __cil_tmp10 = __cil_tmp9 + 40;
38003#line 247
38004  if (*((struct fc_rport_priv **)__cil_tmp10)) {
38005    {
38006#line 248
38007    __cil_tmp11 = 328 + 176;
38008#line 248
38009    __cil_tmp12 = (unsigned long )lport;
38010#line 248
38011    __cil_tmp13 = __cil_tmp12 + __cil_tmp11;
38012#line 248
38013    __cil_tmp14 = *((int (**)(struct fc_rport_priv * ))__cil_tmp13);
38014#line 248
38015    __cil_tmp15 = (unsigned long )lport;
38016#line 248
38017    __cil_tmp16 = __cil_tmp15 + 40;
38018#line 248
38019    __cil_tmp17 = *((struct fc_rport_priv **)__cil_tmp16);
38020#line 248
38021    (*__cil_tmp14)(__cil_tmp17);
38022#line 249
38023    __cil_tmp18 = (unsigned long )lport;
38024#line 249
38025    __cil_tmp19 = __cil_tmp18 + 40;
38026#line 249
38027    __cil_tmp20 = *((struct fc_rport_priv **)__cil_tmp19);
38028#line 249
38029    __cil_tmp21 = (unsigned long )__cil_tmp20;
38030#line 249
38031    __cil_tmp22 = __cil_tmp21 + 16;
38032#line 249
38033    __cil_tmp23 = (struct kref *)__cil_tmp22;
38034#line 249
38035    __cil_tmp24 = 328 + 200;
38036#line 249
38037    __cil_tmp25 = (unsigned long )lport;
38038#line 249
38039    __cil_tmp26 = __cil_tmp25 + __cil_tmp24;
38040#line 249
38041    __cil_tmp27 = *((void (**)(struct kref * ))__cil_tmp26);
38042#line 249
38043    kref_put(__cil_tmp23, __cil_tmp27);
38044    }
38045  } else {
38046
38047  }
38048  }
38049  {
38050#line 251
38051  __cil_tmp28 = (unsigned long )lport;
38052#line 251
38053  __cil_tmp29 = __cil_tmp28 + 40;
38054#line 251
38055  __cil_tmp30 = 328 + 160;
38056#line 251
38057  __cil_tmp31 = (unsigned long )lport;
38058#line 251
38059  __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
38060#line 251
38061  __cil_tmp33 = *((struct fc_rport_priv *(**)(struct fc_lport * , u32  ))__cil_tmp32);
38062#line 251
38063  *((struct fc_rport_priv **)__cil_tmp29) = (*__cil_tmp33)(lport, remote_fid);
38064#line 252
38065  __cil_tmp34 = (unsigned long )lport;
38066#line 252
38067  __cil_tmp35 = __cil_tmp34 + 40;
38068#line 252
38069  __cil_tmp36 = *((struct fc_rport_priv **)__cil_tmp35);
38070#line 252
38071  __cil_tmp37 = (unsigned long )__cil_tmp36;
38072#line 252
38073  __cil_tmp38 = __cil_tmp37 + 16;
38074#line 252
38075  __cil_tmp39 = (struct kref *)__cil_tmp38;
38076#line 252
38077  kref_get(__cil_tmp39);
38078#line 253
38079  __cil_tmp40 = 24 + 8;
38080#line 253
38081  __cil_tmp41 = (unsigned long )lport;
38082#line 253
38083  __cil_tmp42 = __cil_tmp41 + 40;
38084#line 253
38085  __cil_tmp43 = *((struct fc_rport_priv **)__cil_tmp42);
38086#line 253
38087  __cil_tmp44 = (unsigned long )__cil_tmp43;
38088#line 253
38089  __cil_tmp45 = __cil_tmp44 + __cil_tmp40;
38090#line 253
38091  *((u64 *)__cil_tmp45) = remote_wwpn;
38092#line 254
38093  __cil_tmp46 = (unsigned long )lport;
38094#line 254
38095  __cil_tmp47 = __cil_tmp46 + 40;
38096#line 254
38097  __cil_tmp48 = *((struct fc_rport_priv **)__cil_tmp47);
38098#line 254
38099  __cil_tmp49 = (unsigned long )__cil_tmp48;
38100#line 254
38101  __cil_tmp50 = __cil_tmp49 + 24;
38102#line 254
38103  *((u64 *)__cil_tmp50) = remote_wwnn;
38104#line 255
38105  __cil_tmp51 = 56 + 40;
38106#line 255
38107  __cil_tmp52 = (unsigned long )lport;
38108#line 255
38109  __cil_tmp53 = __cil_tmp52 + __cil_tmp51;
38110#line 255
38111  __cil_tmp54 = (struct mutex *)__cil_tmp53;
38112#line 255
38113  mutex_unlock(__cil_tmp54);
38114#line 257
38115  __cil_tmp55 = 328 + 168;
38116#line 257
38117  __cil_tmp56 = (unsigned long )lport;
38118#line 257
38119  __cil_tmp57 = __cil_tmp56 + __cil_tmp55;
38120#line 257
38121  __cil_tmp58 = *((int (**)(struct fc_rport_priv * ))__cil_tmp57);
38122#line 257
38123  __cil_tmp59 = (unsigned long )lport;
38124#line 257
38125  __cil_tmp60 = __cil_tmp59 + 40;
38126#line 257
38127  __cil_tmp61 = *((struct fc_rport_priv **)__cil_tmp60);
38128#line 257
38129  (*__cil_tmp58)(__cil_tmp61);
38130#line 259
38131  fc_lport_enter_ready(lport);
38132  }
38133#line 260
38134  return;
38135}
38136}
38137#line 266 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
38138void fc_get_host_port_state(struct Scsi_Host *shost ) 
38139{ struct fc_lport *lport ;
38140  void *tmp___7 ;
38141  unsigned long __cil_tmp4 ;
38142  unsigned long __cil_tmp5 ;
38143  struct mutex *__cil_tmp6 ;
38144  unsigned long __cil_tmp7 ;
38145  unsigned long __cil_tmp8 ;
38146  u8 __cil_tmp9 ;
38147  unsigned long __cil_tmp10 ;
38148  unsigned long __cil_tmp11 ;
38149  void *__cil_tmp12 ;
38150  struct fc_host_attrs *__cil_tmp13 ;
38151  unsigned long __cil_tmp14 ;
38152  unsigned long __cil_tmp15 ;
38153  unsigned long __cil_tmp16 ;
38154  unsigned long __cil_tmp17 ;
38155  enum fc_lport_state __cil_tmp18 ;
38156  unsigned long __cil_tmp19 ;
38157  unsigned long __cil_tmp20 ;
38158  void *__cil_tmp21 ;
38159  struct fc_host_attrs *__cil_tmp22 ;
38160  unsigned long __cil_tmp23 ;
38161  unsigned long __cil_tmp24 ;
38162  unsigned long __cil_tmp25 ;
38163  unsigned long __cil_tmp26 ;
38164  void *__cil_tmp27 ;
38165  struct fc_host_attrs *__cil_tmp28 ;
38166  unsigned long __cil_tmp29 ;
38167  unsigned long __cil_tmp30 ;
38168  unsigned long __cil_tmp31 ;
38169  unsigned long __cil_tmp32 ;
38170  struct mutex *__cil_tmp33 ;
38171
38172  {
38173  {
38174#line 268
38175  tmp___7 = shost_priv(shost);
38176#line 268
38177  lport = (struct fc_lport *)tmp___7;
38178#line 270
38179  __cil_tmp4 = (unsigned long )lport;
38180#line 270
38181  __cil_tmp5 = __cil_tmp4 + 928;
38182#line 270
38183  __cil_tmp6 = (struct mutex *)__cil_tmp5;
38184#line 270
38185  mutex_lock(__cil_tmp6);
38186  }
38187  {
38188#line 271
38189  __cil_tmp7 = (unsigned long )lport;
38190#line 271
38191  __cil_tmp8 = __cil_tmp7 + 600;
38192#line 271
38193  __cil_tmp9 = *((u8 *)__cil_tmp8);
38194#line 271
38195  if (! __cil_tmp9) {
38196#line 272
38197    __cil_tmp10 = (unsigned long )shost;
38198#line 272
38199    __cil_tmp11 = __cil_tmp10 + 2024;
38200#line 272
38201    __cil_tmp12 = *((void **)__cil_tmp11);
38202#line 272
38203    __cil_tmp13 = (struct fc_host_attrs *)__cil_tmp12;
38204#line 272
38205    __cil_tmp14 = (unsigned long )__cil_tmp13;
38206#line 272
38207    __cil_tmp15 = __cil_tmp14 + 1008;
38208#line 272
38209    *((enum fc_port_state *)__cil_tmp15) = (enum fc_port_state )7;
38210  } else {
38211    {
38212#line 274
38213    __cil_tmp16 = (unsigned long )lport;
38214#line 274
38215    __cil_tmp17 = __cil_tmp16 + 604;
38216#line 274
38217    __cil_tmp18 = *((enum fc_lport_state *)__cil_tmp17);
38218#line 275
38219    if ((int )__cil_tmp18 == 14) {
38220#line 275
38221      goto case_14;
38222    } else {
38223      {
38224#line 278
38225      goto switch_default;
38226#line 274
38227      if (0) {
38228        case_14: /* CIL Label */ 
38229#line 276
38230        __cil_tmp19 = (unsigned long )shost;
38231#line 276
38232        __cil_tmp20 = __cil_tmp19 + 2024;
38233#line 276
38234        __cil_tmp21 = *((void **)__cil_tmp20);
38235#line 276
38236        __cil_tmp22 = (struct fc_host_attrs *)__cil_tmp21;
38237#line 276
38238        __cil_tmp23 = (unsigned long )__cil_tmp22;
38239#line 276
38240        __cil_tmp24 = __cil_tmp23 + 1008;
38241#line 276
38242        *((enum fc_port_state *)__cil_tmp24) = (enum fc_port_state )2;
38243#line 277
38244        goto switch_break;
38245        switch_default: /* CIL Label */ 
38246#line 279
38247        __cil_tmp25 = (unsigned long )shost;
38248#line 279
38249        __cil_tmp26 = __cil_tmp25 + 2024;
38250#line 279
38251        __cil_tmp27 = *((void **)__cil_tmp26);
38252#line 279
38253        __cil_tmp28 = (struct fc_host_attrs *)__cil_tmp27;
38254#line 279
38255        __cil_tmp29 = (unsigned long )__cil_tmp28;
38256#line 279
38257        __cil_tmp30 = __cil_tmp29 + 1008;
38258#line 279
38259        *((enum fc_port_state *)__cil_tmp30) = (enum fc_port_state )3;
38260      } else {
38261        switch_break: /* CIL Label */ ;
38262      }
38263      }
38264    }
38265    }
38266  }
38267  }
38268  {
38269#line 281
38270  __cil_tmp31 = (unsigned long )lport;
38271#line 281
38272  __cil_tmp32 = __cil_tmp31 + 928;
38273#line 281
38274  __cil_tmp33 = (struct mutex *)__cil_tmp32;
38275#line 281
38276  mutex_unlock(__cil_tmp33);
38277  }
38278#line 282
38279  return;
38280}
38281}
38282#line 283
38283extern void *__crc_fc_get_host_port_state  __attribute__((__weak__)) ;
38284#line 283 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
38285static unsigned long    __kcrctab_fc_get_host_port_state  __attribute__((__used__,
38286__unused__, __section__("___kcrctab+fc_get_host_port_state")))  =    (unsigned long    )((unsigned long )(& __crc_fc_get_host_port_state));
38287#line 283 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
38288static char    __kstrtab_fc_get_host_port_state[23]  __attribute__((__section__("__ksymtab_strings"),
38289__aligned__(1)))  = 
38290#line 283
38291  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'g', 
38292        (char    )'e',      (char    )'t',      (char const   )'_',      (char const   )'h', 
38293        (char    )'o',      (char    )'s',      (char const   )'t',      (char const   )'_', 
38294        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
38295        (char    )'_',      (char    )'s',      (char const   )'t',      (char const   )'a', 
38296        (char    )'t',      (char    )'e',      (char const   )'\000'};
38297#line 283 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
38298static struct kernel_symbol    __ksymtab_fc_get_host_port_state  __attribute__((__used__,
38299__unused__, __section__("___ksymtab+fc_get_host_port_state")))  =    {(unsigned long )(& fc_get_host_port_state), __kstrtab_fc_get_host_port_state};
38300#line 289 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
38301void fc_get_host_speed(struct Scsi_Host *shost ) 
38302{ struct fc_lport *lport ;
38303  void *tmp___7 ;
38304  unsigned long __cil_tmp4 ;
38305  unsigned long __cil_tmp5 ;
38306  void *__cil_tmp6 ;
38307  struct fc_host_attrs *__cil_tmp7 ;
38308  unsigned long __cil_tmp8 ;
38309  unsigned long __cil_tmp9 ;
38310  unsigned long __cil_tmp10 ;
38311  unsigned long __cil_tmp11 ;
38312  u16 __cil_tmp12 ;
38313
38314  {
38315  {
38316#line 291
38317  tmp___7 = shost_priv(shost);
38318#line 291
38319  lport = (struct fc_lport *)tmp___7;
38320#line 293
38321  __cil_tmp4 = (unsigned long )shost;
38322#line 293
38323  __cil_tmp5 = __cil_tmp4 + 2024;
38324#line 293
38325  __cil_tmp6 = *((void **)__cil_tmp5);
38326#line 293
38327  __cil_tmp7 = (struct fc_host_attrs *)__cil_tmp6;
38328#line 293
38329  __cil_tmp8 = (unsigned long )__cil_tmp7;
38330#line 293
38331  __cil_tmp9 = __cil_tmp8 + 1044;
38332#line 293
38333  __cil_tmp10 = (unsigned long )lport;
38334#line 293
38335  __cil_tmp11 = __cil_tmp10 + 884;
38336#line 293
38337  __cil_tmp12 = *((u16 *)__cil_tmp11);
38338#line 293
38339  *((u32 *)__cil_tmp9) = (u32 )__cil_tmp12;
38340  }
38341#line 294
38342  return;
38343}
38344}
38345#line 295
38346extern void *__crc_fc_get_host_speed  __attribute__((__weak__)) ;
38347#line 295 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
38348static unsigned long    __kcrctab_fc_get_host_speed  __attribute__((__used__,
38349__unused__, __section__("___kcrctab+fc_get_host_speed")))  =    (unsigned long    )((unsigned long )(& __crc_fc_get_host_speed));
38350#line 295 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
38351static char    __kstrtab_fc_get_host_speed[18]  __attribute__((__section__("__ksymtab_strings"),
38352__aligned__(1)))  = 
38353#line 295
38354  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'g', 
38355        (char    )'e',      (char    )'t',      (char const   )'_',      (char const   )'h', 
38356        (char    )'o',      (char    )'s',      (char const   )'t',      (char const   )'_', 
38357        (char    )'s',      (char    )'p',      (char const   )'e',      (char const   )'e', 
38358        (char    )'d',      (char    )'\000'};
38359#line 295 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
38360static struct kernel_symbol    __ksymtab_fc_get_host_speed  __attribute__((__used__,
38361__unused__, __section__("___ksymtab+fc_get_host_speed")))  =    {(unsigned long )(& fc_get_host_speed), __kstrtab_fc_get_host_speed};
38362#line 301 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
38363struct fc_host_statistics *fc_get_host_stats(struct Scsi_Host *shost ) 
38364{ struct fc_host_statistics *fcoe_stats ;
38365  struct fc_lport *lport ;
38366  void *tmp___7 ;
38367  struct timespec v0 ;
38368  struct timespec v1 ;
38369  unsigned int cpu ;
38370  u64 fcp_in_bytes ;
38371  u64 fcp_out_bytes ;
38372  struct fcoe_dev_stats *stats ;
38373  void    *__vpp_verify ;
38374  unsigned long __ptr ;
38375  unsigned long __cil_tmp13 ;
38376  unsigned long __cil_tmp14 ;
38377  void *__cil_tmp15 ;
38378  unsigned long    __cil_tmp16 ;
38379  unsigned long __cil_tmp17 ;
38380  unsigned long __cil_tmp18 ;
38381  unsigned long __cil_tmp19 ;
38382  unsigned long    __cil_tmp20 ;
38383  struct timespec *__cil_tmp21 ;
38384  __kernel_time_t __cil_tmp22 ;
38385  struct timespec *__cil_tmp23 ;
38386  __kernel_time_t __cil_tmp24 ;
38387  __kernel_time_t __cil_tmp25 ;
38388  int __cil_tmp26 ;
38389  struct cpumask    *__cil_tmp27 ;
38390  unsigned int __cil_tmp28 ;
38391  void *__cil_tmp29 ;
38392  struct fcoe_dev_stats *__cil_tmp30 ;
38393  unsigned long __cil_tmp31 ;
38394  unsigned long __cil_tmp32 ;
38395  unsigned long __cil_tmp33 ;
38396  unsigned long __cil_tmp34 ;
38397  unsigned long __cil_tmp35 ;
38398  unsigned long __cil_tmp36 ;
38399  unsigned long __cil_tmp37 ;
38400  unsigned long __cil_tmp38 ;
38401  unsigned long __cil_tmp39 ;
38402  unsigned long __cil_tmp40 ;
38403  u64 __cil_tmp41 ;
38404  unsigned long __cil_tmp42 ;
38405  unsigned long __cil_tmp43 ;
38406  u64 __cil_tmp44 ;
38407  unsigned long __cil_tmp45 ;
38408  unsigned long __cil_tmp46 ;
38409  unsigned long __cil_tmp47 ;
38410  unsigned long __cil_tmp48 ;
38411  u64 __cil_tmp49 ;
38412  unsigned long __cil_tmp50 ;
38413  unsigned long __cil_tmp51 ;
38414  u64 __cil_tmp52 ;
38415  unsigned long __cil_tmp53 ;
38416  unsigned long __cil_tmp54 ;
38417  unsigned long __cil_tmp55 ;
38418  unsigned long __cil_tmp56 ;
38419  u64 __cil_tmp57 ;
38420  unsigned long __cil_tmp58 ;
38421  unsigned long __cil_tmp59 ;
38422  u64 __cil_tmp60 ;
38423  unsigned long __cil_tmp61 ;
38424  unsigned long __cil_tmp62 ;
38425  unsigned long __cil_tmp63 ;
38426  unsigned long __cil_tmp64 ;
38427  u64 __cil_tmp65 ;
38428  unsigned long __cil_tmp66 ;
38429  unsigned long __cil_tmp67 ;
38430  u64 __cil_tmp68 ;
38431  unsigned long __cil_tmp69 ;
38432  unsigned long __cil_tmp70 ;
38433  unsigned long __cil_tmp71 ;
38434  unsigned long __cil_tmp72 ;
38435  u64 __cil_tmp73 ;
38436  unsigned long __cil_tmp74 ;
38437  unsigned long __cil_tmp75 ;
38438  u64 __cil_tmp76 ;
38439  unsigned long __cil_tmp77 ;
38440  unsigned long __cil_tmp78 ;
38441  unsigned long __cil_tmp79 ;
38442  unsigned long __cil_tmp80 ;
38443  u64 __cil_tmp81 ;
38444  unsigned long __cil_tmp82 ;
38445  unsigned long __cil_tmp83 ;
38446  u64 __cil_tmp84 ;
38447  unsigned long __cil_tmp85 ;
38448  unsigned long __cil_tmp86 ;
38449  unsigned long __cil_tmp87 ;
38450  unsigned long __cil_tmp88 ;
38451  u64 __cil_tmp89 ;
38452  unsigned long __cil_tmp90 ;
38453  unsigned long __cil_tmp91 ;
38454  u64 __cil_tmp92 ;
38455  unsigned long __cil_tmp93 ;
38456  unsigned long __cil_tmp94 ;
38457  unsigned long __cil_tmp95 ;
38458  unsigned long __cil_tmp96 ;
38459  u64 __cil_tmp97 ;
38460  unsigned long __cil_tmp98 ;
38461  unsigned long __cil_tmp99 ;
38462  u64 __cil_tmp100 ;
38463  unsigned long __cil_tmp101 ;
38464  unsigned long __cil_tmp102 ;
38465  unsigned long __cil_tmp103 ;
38466  unsigned long __cil_tmp104 ;
38467  u64 __cil_tmp105 ;
38468  unsigned long __cil_tmp106 ;
38469  unsigned long __cil_tmp107 ;
38470  u64 __cil_tmp108 ;
38471  unsigned long __cil_tmp109 ;
38472  unsigned long __cil_tmp110 ;
38473  u64 __cil_tmp111 ;
38474  unsigned long __cil_tmp112 ;
38475  unsigned long __cil_tmp113 ;
38476  u64 __cil_tmp114 ;
38477  unsigned long __cil_tmp115 ;
38478  unsigned long __cil_tmp116 ;
38479  unsigned long __cil_tmp117 ;
38480  unsigned long __cil_tmp118 ;
38481  u64 __cil_tmp119 ;
38482  unsigned long __cil_tmp120 ;
38483  unsigned long __cil_tmp121 ;
38484  u64 __cil_tmp122 ;
38485  unsigned long __cil_tmp123 ;
38486  unsigned long __cil_tmp124 ;
38487  u32 __cil_tmp125 ;
38488  unsigned long __cil_tmp126 ;
38489  unsigned long __cil_tmp127 ;
38490  u32 __cil_tmp128 ;
38491  unsigned long __cil_tmp129 ;
38492  unsigned long __cil_tmp130 ;
38493  unsigned long __cil_tmp131 ;
38494  unsigned long __cil_tmp132 ;
38495  unsigned long __cil_tmp133 ;
38496  unsigned long __cil_tmp134 ;
38497  unsigned long __cil_tmp135 ;
38498  unsigned long __cil_tmp136 ;
38499  unsigned long __cil_tmp137 ;
38500  unsigned long __cil_tmp138 ;
38501  unsigned long __cil_tmp139 ;
38502  unsigned long __cil_tmp140 ;
38503
38504  {
38505  {
38506#line 304
38507  tmp___7 = shost_priv(shost);
38508#line 304
38509  lport = (struct fc_lport *)tmp___7;
38510#line 307
38511  fcp_in_bytes = (u64 )0;
38512#line 308
38513  fcp_out_bytes = (u64 )0;
38514#line 310
38515  __cil_tmp13 = (unsigned long )lport;
38516#line 310
38517  __cil_tmp14 = __cil_tmp13 + 616;
38518#line 310
38519  fcoe_stats = (struct fc_host_statistics *)__cil_tmp14;
38520#line 311
38521  __cil_tmp15 = (void *)fcoe_stats;
38522#line 311
38523  memset(__cil_tmp15, 0, 160UL);
38524#line 313
38525  __cil_tmp16 = (unsigned long    )jiffies;
38526#line 313
38527  jiffies_to_timespec(__cil_tmp16, & v0);
38528#line 314
38529  __cil_tmp17 = (unsigned long )lport;
38530#line 314
38531  __cil_tmp18 = __cil_tmp17 + 608;
38532#line 314
38533  __cil_tmp19 = *((unsigned long *)__cil_tmp18);
38534#line 314
38535  __cil_tmp20 = (unsigned long    )__cil_tmp19;
38536#line 314
38537  jiffies_to_timespec(__cil_tmp20, & v1);
38538#line 315
38539  __cil_tmp21 = & v1;
38540#line 315
38541  __cil_tmp22 = *((__kernel_time_t *)__cil_tmp21);
38542#line 315
38543  __cil_tmp23 = & v0;
38544#line 315
38545  __cil_tmp24 = *((__kernel_time_t *)__cil_tmp23);
38546#line 315
38547  __cil_tmp25 = __cil_tmp24 - __cil_tmp22;
38548#line 315
38549  *((u64 *)fcoe_stats) = (u64 )__cil_tmp25;
38550#line 317
38551  cpu = 4294967295U;
38552  }
38553  {
38554#line 317
38555  while (1) {
38556    while_continue: /* CIL Label */ ;
38557    {
38558#line 317
38559    __cil_tmp26 = (int )cpu;
38560#line 317
38561    __cil_tmp27 = (struct cpumask    *)cpu_possible_mask;
38562#line 317
38563    cpu = cpumask_next___0(__cil_tmp26, __cil_tmp27);
38564    }
38565    {
38566#line 317
38567    __cil_tmp28 = (unsigned int )nr_cpu_ids;
38568#line 317
38569    if (cpu < __cil_tmp28) {
38570
38571    } else {
38572#line 317
38573      goto while_break;
38574    }
38575    }
38576    {
38577#line 320
38578    while (1) {
38579      while_continue___0: /* CIL Label */ ;
38580#line 320
38581      __cil_tmp29 = (void *)0;
38582#line 320
38583      __cil_tmp30 = (struct fcoe_dev_stats *)__cil_tmp29;
38584#line 320
38585      __vpp_verify = (void    *)__cil_tmp30;
38586#line 320
38587      goto while_break___0;
38588    }
38589    while_break___0: /* CIL Label */ ;
38590    }
38591#line 320
38592    __cil_tmp31 = (unsigned long )lport;
38593#line 320
38594    __cil_tmp32 = __cil_tmp31 + 776;
38595#line 320
38596    __asm__  ("": "=r" (__ptr): "0" (*((struct fcoe_dev_stats **)__cil_tmp32)));
38597#line 320
38598    __cil_tmp33 = cpu * 8UL;
38599#line 320
38600    __cil_tmp34 = (unsigned long )(__per_cpu_offset) + __cil_tmp33;
38601#line 320
38602    __cil_tmp35 = *((unsigned long *)__cil_tmp34);
38603#line 320
38604    __cil_tmp36 = __ptr + __cil_tmp35;
38605#line 320
38606    stats = (struct fcoe_dev_stats *)__cil_tmp36;
38607#line 322
38608    __cil_tmp37 = (unsigned long )fcoe_stats;
38609#line 322
38610    __cil_tmp38 = __cil_tmp37 + 8;
38611#line 322
38612    __cil_tmp39 = (unsigned long )stats;
38613#line 322
38614    __cil_tmp40 = __cil_tmp39 + 8;
38615#line 322
38616    __cil_tmp41 = *((u64 *)__cil_tmp40);
38617#line 322
38618    __cil_tmp42 = (unsigned long )fcoe_stats;
38619#line 322
38620    __cil_tmp43 = __cil_tmp42 + 8;
38621#line 322
38622    __cil_tmp44 = *((u64 *)__cil_tmp43);
38623#line 322
38624    *((u64 *)__cil_tmp38) = __cil_tmp44 + __cil_tmp41;
38625#line 323
38626    __cil_tmp45 = (unsigned long )fcoe_stats;
38627#line 323
38628    __cil_tmp46 = __cil_tmp45 + 16;
38629#line 323
38630    __cil_tmp47 = (unsigned long )stats;
38631#line 323
38632    __cil_tmp48 = __cil_tmp47 + 16;
38633#line 323
38634    __cil_tmp49 = *((u64 *)__cil_tmp48);
38635#line 323
38636    __cil_tmp50 = (unsigned long )fcoe_stats;
38637#line 323
38638    __cil_tmp51 = __cil_tmp50 + 16;
38639#line 323
38640    __cil_tmp52 = *((u64 *)__cil_tmp51);
38641#line 323
38642    *((u64 *)__cil_tmp46) = __cil_tmp52 + __cil_tmp49;
38643#line 324
38644    __cil_tmp53 = (unsigned long )fcoe_stats;
38645#line 324
38646    __cil_tmp54 = __cil_tmp53 + 24;
38647#line 324
38648    __cil_tmp55 = (unsigned long )stats;
38649#line 324
38650    __cil_tmp56 = __cil_tmp55 + 24;
38651#line 324
38652    __cil_tmp57 = *((u64 *)__cil_tmp56);
38653#line 324
38654    __cil_tmp58 = (unsigned long )fcoe_stats;
38655#line 324
38656    __cil_tmp59 = __cil_tmp58 + 24;
38657#line 324
38658    __cil_tmp60 = *((u64 *)__cil_tmp59);
38659#line 324
38660    *((u64 *)__cil_tmp54) = __cil_tmp60 + __cil_tmp57;
38661#line 325
38662    __cil_tmp61 = (unsigned long )fcoe_stats;
38663#line 325
38664    __cil_tmp62 = __cil_tmp61 + 32;
38665#line 325
38666    __cil_tmp63 = (unsigned long )stats;
38667#line 325
38668    __cil_tmp64 = __cil_tmp63 + 32;
38669#line 325
38670    __cil_tmp65 = *((u64 *)__cil_tmp64);
38671#line 325
38672    __cil_tmp66 = (unsigned long )fcoe_stats;
38673#line 325
38674    __cil_tmp67 = __cil_tmp66 + 32;
38675#line 325
38676    __cil_tmp68 = *((u64 *)__cil_tmp67);
38677#line 325
38678    *((u64 *)__cil_tmp62) = __cil_tmp68 + __cil_tmp65;
38679#line 326
38680    __cil_tmp69 = (unsigned long )fcoe_stats;
38681#line 326
38682    __cil_tmp70 = __cil_tmp69 + 56;
38683#line 326
38684    __cil_tmp71 = (unsigned long )stats;
38685#line 326
38686    __cil_tmp72 = __cil_tmp71 + 40;
38687#line 326
38688    __cil_tmp73 = *((u64 *)__cil_tmp72);
38689#line 326
38690    __cil_tmp74 = (unsigned long )fcoe_stats;
38691#line 326
38692    __cil_tmp75 = __cil_tmp74 + 56;
38693#line 326
38694    __cil_tmp76 = *((u64 *)__cil_tmp75);
38695#line 326
38696    *((u64 *)__cil_tmp70) = __cil_tmp76 + __cil_tmp73;
38697#line 327
38698    __cil_tmp77 = (unsigned long )fcoe_stats;
38699#line 327
38700    __cil_tmp78 = __cil_tmp77 + 112;
38701#line 327
38702    __cil_tmp79 = (unsigned long )stats;
38703#line 327
38704    __cil_tmp80 = __cil_tmp79 + 80;
38705#line 327
38706    __cil_tmp81 = *((u64 *)__cil_tmp80);
38707#line 327
38708    __cil_tmp82 = (unsigned long )fcoe_stats;
38709#line 327
38710    __cil_tmp83 = __cil_tmp82 + 112;
38711#line 327
38712    __cil_tmp84 = *((u64 *)__cil_tmp83);
38713#line 327
38714    *((u64 *)__cil_tmp78) = __cil_tmp84 + __cil_tmp81;
38715#line 328
38716    __cil_tmp85 = (unsigned long )fcoe_stats;
38717#line 328
38718    __cil_tmp86 = __cil_tmp85 + 120;
38719#line 328
38720    __cil_tmp87 = (unsigned long )stats;
38721#line 328
38722    __cil_tmp88 = __cil_tmp87 + 88;
38723#line 328
38724    __cil_tmp89 = *((u64 *)__cil_tmp88);
38725#line 328
38726    __cil_tmp90 = (unsigned long )fcoe_stats;
38727#line 328
38728    __cil_tmp91 = __cil_tmp90 + 120;
38729#line 328
38730    __cil_tmp92 = *((u64 *)__cil_tmp91);
38731#line 328
38732    *((u64 *)__cil_tmp86) = __cil_tmp92 + __cil_tmp89;
38733#line 329
38734    __cil_tmp93 = (unsigned long )fcoe_stats;
38735#line 329
38736    __cil_tmp94 = __cil_tmp93 + 128;
38737#line 329
38738    __cil_tmp95 = (unsigned long )stats;
38739#line 329
38740    __cil_tmp96 = __cil_tmp95 + 96;
38741#line 329
38742    __cil_tmp97 = *((u64 *)__cil_tmp96);
38743#line 329
38744    __cil_tmp98 = (unsigned long )fcoe_stats;
38745#line 329
38746    __cil_tmp99 = __cil_tmp98 + 128;
38747#line 329
38748    __cil_tmp100 = *((u64 *)__cil_tmp99);
38749#line 329
38750    *((u64 *)__cil_tmp94) = __cil_tmp100 + __cil_tmp97;
38751#line 330
38752    __cil_tmp101 = (unsigned long )fcoe_stats;
38753#line 330
38754    __cil_tmp102 = __cil_tmp101 + 136;
38755#line 330
38756    __cil_tmp103 = (unsigned long )stats;
38757#line 330
38758    __cil_tmp104 = __cil_tmp103 + 104;
38759#line 330
38760    __cil_tmp105 = *((u64 *)__cil_tmp104);
38761#line 330
38762    __cil_tmp106 = (unsigned long )fcoe_stats;
38763#line 330
38764    __cil_tmp107 = __cil_tmp106 + 136;
38765#line 330
38766    __cil_tmp108 = *((u64 *)__cil_tmp107);
38767#line 330
38768    *((u64 *)__cil_tmp102) = __cil_tmp108 + __cil_tmp105;
38769#line 331
38770    __cil_tmp109 = (unsigned long )stats;
38771#line 331
38772    __cil_tmp110 = __cil_tmp109 + 112;
38773#line 331
38774    __cil_tmp111 = *((u64 *)__cil_tmp110);
38775#line 331
38776    fcp_in_bytes = fcp_in_bytes + __cil_tmp111;
38777#line 332
38778    __cil_tmp112 = (unsigned long )stats;
38779#line 332
38780    __cil_tmp113 = __cil_tmp112 + 120;
38781#line 332
38782    __cil_tmp114 = *((u64 *)__cil_tmp113);
38783#line 332
38784    fcp_out_bytes = fcp_out_bytes + __cil_tmp114;
38785#line 333
38786    __cil_tmp115 = (unsigned long )fcoe_stats;
38787#line 333
38788    __cil_tmp116 = __cil_tmp115 + 72;
38789#line 333
38790    __cil_tmp117 = (unsigned long )stats;
38791#line 333
38792    __cil_tmp118 = __cil_tmp117 + 56;
38793#line 333
38794    __cil_tmp119 = *((u64 *)__cil_tmp118);
38795#line 333
38796    __cil_tmp120 = (unsigned long )fcoe_stats;
38797#line 333
38798    __cil_tmp121 = __cil_tmp120 + 72;
38799#line 333
38800    __cil_tmp122 = *((u64 *)__cil_tmp121);
38801#line 333
38802    *((u64 *)__cil_tmp116) = __cil_tmp122 + __cil_tmp119;
38803  }
38804  while_break: /* CIL Label */ ;
38805  }
38806  {
38807#line 335
38808  __cil_tmp123 = (unsigned long )fcoe_stats;
38809#line 335
38810  __cil_tmp124 = __cil_tmp123 + 144;
38811#line 335
38812  __cil_tmp125 = (u32 )1000000;
38813#line 335
38814  *((u64 *)__cil_tmp124) = div_u64(fcp_in_bytes, __cil_tmp125);
38815#line 336
38816  __cil_tmp126 = (unsigned long )fcoe_stats;
38817#line 336
38818  __cil_tmp127 = __cil_tmp126 + 152;
38819#line 336
38820  __cil_tmp128 = (u32 )1000000;
38821#line 336
38822  *((u64 *)__cil_tmp127) = div_u64(fcp_out_bytes, __cil_tmp128);
38823#line 337
38824  __cil_tmp129 = (unsigned long )fcoe_stats;
38825#line 337
38826  __cil_tmp130 = __cil_tmp129 + 40;
38827#line 337
38828  *((u64 *)__cil_tmp130) = (u64 )-1;
38829#line 338
38830  __cil_tmp131 = (unsigned long )fcoe_stats;
38831#line 338
38832  __cil_tmp132 = __cil_tmp131 + 48;
38833#line 338
38834  *((u64 *)__cil_tmp132) = (u64 )-1;
38835#line 339
38836  __cil_tmp133 = (unsigned long )fcoe_stats;
38837#line 339
38838  __cil_tmp134 = __cil_tmp133 + 80;
38839#line 339
38840  *((u64 *)__cil_tmp134) = (u64 )-1;
38841#line 340
38842  __cil_tmp135 = (unsigned long )fcoe_stats;
38843#line 340
38844  __cil_tmp136 = __cil_tmp135 + 88;
38845#line 340
38846  *((u64 *)__cil_tmp136) = (u64 )-1;
38847#line 341
38848  __cil_tmp137 = (unsigned long )fcoe_stats;
38849#line 341
38850  __cil_tmp138 = __cil_tmp137 + 96;
38851#line 341
38852  *((u64 *)__cil_tmp138) = (u64 )-1;
38853#line 342
38854  __cil_tmp139 = (unsigned long )fcoe_stats;
38855#line 342
38856  __cil_tmp140 = __cil_tmp139 + 64;
38857#line 342
38858  *((u64 *)__cil_tmp140) = (u64 )-1;
38859  }
38860#line 343
38861  return (fcoe_stats);
38862}
38863}
38864#line 345
38865extern void *__crc_fc_get_host_stats  __attribute__((__weak__)) ;
38866#line 345 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
38867static unsigned long    __kcrctab_fc_get_host_stats  __attribute__((__used__,
38868__unused__, __section__("___kcrctab+fc_get_host_stats")))  =    (unsigned long    )((unsigned long )(& __crc_fc_get_host_stats));
38869#line 345 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
38870static char    __kstrtab_fc_get_host_stats[18]  __attribute__((__section__("__ksymtab_strings"),
38871__aligned__(1)))  = 
38872#line 345
38873  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'g', 
38874        (char    )'e',      (char    )'t',      (char const   )'_',      (char const   )'h', 
38875        (char    )'o',      (char    )'s',      (char const   )'t',      (char const   )'_', 
38876        (char    )'s',      (char    )'t',      (char const   )'a',      (char const   )'t', 
38877        (char    )'s',      (char    )'\000'};
38878#line 345 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
38879static struct kernel_symbol    __ksymtab_fc_get_host_stats  __attribute__((__used__,
38880__unused__, __section__("___ksymtab+fc_get_host_stats")))  =    {(unsigned long )(& fc_get_host_stats), __kstrtab_fc_get_host_stats};
38881#line 353 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
38882static void fc_lport_flogi_fill(struct fc_lport *lport , struct fc_els_flogi *flogi ,
38883                                unsigned int op ) 
38884{ struct fc_els_csp *sp ;
38885  struct fc_els_cssp *cp ;
38886  __u16 tmp___8 ;
38887  __u32 tmp___13 ;
38888  __u16 tmp___14 ;
38889  void *__cil_tmp15 ;
38890  unsigned long __cil_tmp16 ;
38891  unsigned long __cil_tmp17 ;
38892  u64 __cil_tmp18 ;
38893  unsigned long __cil_tmp19 ;
38894  unsigned long __cil_tmp20 ;
38895  __be64 *__cil_tmp21 ;
38896  void *__cil_tmp22 ;
38897  unsigned long __cil_tmp23 ;
38898  unsigned long __cil_tmp24 ;
38899  u64 __cil_tmp25 ;
38900  unsigned long __cil_tmp26 ;
38901  unsigned long __cil_tmp27 ;
38902  __be64 *__cil_tmp28 ;
38903  void *__cil_tmp29 ;
38904  unsigned long __cil_tmp30 ;
38905  unsigned long __cil_tmp31 ;
38906  unsigned long __cil_tmp32 ;
38907  unsigned long __cil_tmp33 ;
38908  unsigned long __cil_tmp34 ;
38909  unsigned long __cil_tmp35 ;
38910  int __cil_tmp36 ;
38911  __u16 __cil_tmp37 ;
38912  int __cil_tmp38 ;
38913  unsigned long __cil_tmp39 ;
38914  unsigned long __cil_tmp40 ;
38915  u32 __cil_tmp41 ;
38916  u16 __cil_tmp42 ;
38917  unsigned long __cil_tmp43 ;
38918  unsigned long __cil_tmp44 ;
38919  int __cil_tmp45 ;
38920  unsigned long __cil_tmp46 ;
38921  unsigned long __cil_tmp47 ;
38922  unsigned long __cil_tmp48 ;
38923  unsigned long __cil_tmp49 ;
38924  int __cil_tmp50 ;
38925  __u16 __cil_tmp51 ;
38926  int __cil_tmp52 ;
38927  unsigned long __cil_tmp53 ;
38928  unsigned long __cil_tmp54 ;
38929  int __cil_tmp55 ;
38930  __u16 __cil_tmp56 ;
38931  int __cil_tmp57 ;
38932  unsigned long __cil_tmp58 ;
38933  unsigned long __cil_tmp59 ;
38934  int __cil_tmp60 ;
38935  __u16 __cil_tmp61 ;
38936  int __cil_tmp62 ;
38937  unsigned long __cil_tmp63 ;
38938  unsigned long __cil_tmp64 ;
38939  unsigned long __cil_tmp65 ;
38940  unsigned long __cil_tmp66 ;
38941  int __cil_tmp67 ;
38942  __u16 __cil_tmp68 ;
38943  int __cil_tmp69 ;
38944  unsigned long __cil_tmp70 ;
38945  unsigned long __cil_tmp71 ;
38946  unsigned int __cil_tmp72 ;
38947  unsigned long __cil_tmp73 ;
38948  unsigned long __cil_tmp74 ;
38949  unsigned long __cil_tmp75 ;
38950  unsigned long __cil_tmp76 ;
38951  u32 __cil_tmp77 ;
38952  u16 __cil_tmp78 ;
38953  unsigned long __cil_tmp79 ;
38954  unsigned long __cil_tmp80 ;
38955  int __cil_tmp81 ;
38956  unsigned long __cil_tmp82 ;
38957  unsigned long __cil_tmp83 ;
38958  int __cil_tmp84 ;
38959  __u16 __cil_tmp85 ;
38960  int __cil_tmp86 ;
38961  unsigned long __cil_tmp87 ;
38962  unsigned long __cil_tmp88 ;
38963
38964  {
38965  {
38966#line 360
38967  __cil_tmp15 = (void *)flogi;
38968#line 360
38969  memset(__cil_tmp15, 0, 116UL);
38970#line 361
38971  *((__u8 *)flogi) = (u8 )op;
38972#line 362
38973  __cil_tmp16 = (unsigned long )lport;
38974#line 362
38975  __cil_tmp17 = __cil_tmp16 + 792;
38976#line 362
38977  __cil_tmp18 = *((u64 *)__cil_tmp17);
38978#line 362
38979  __cil_tmp19 = (unsigned long )flogi;
38980#line 362
38981  __cil_tmp20 = __cil_tmp19 + 20;
38982#line 362
38983  __cil_tmp21 = (__be64 *)__cil_tmp20;
38984#line 362
38985  __cil_tmp22 = (void *)__cil_tmp21;
38986#line 362
38987  put_unaligned_be64(__cil_tmp18, __cil_tmp22);
38988#line 363
38989  __cil_tmp23 = (unsigned long )lport;
38990#line 363
38991  __cil_tmp24 = __cil_tmp23 + 800;
38992#line 363
38993  __cil_tmp25 = *((u64 *)__cil_tmp24);
38994#line 363
38995  __cil_tmp26 = (unsigned long )flogi;
38996#line 363
38997  __cil_tmp27 = __cil_tmp26 + 28;
38998#line 363
38999  __cil_tmp28 = (__be64 *)__cil_tmp27;
39000#line 363
39001  __cil_tmp29 = (void *)__cil_tmp28;
39002#line 363
39003  put_unaligned_be64(__cil_tmp25, __cil_tmp29);
39004#line 364
39005  __cil_tmp30 = (unsigned long )flogi;
39006#line 364
39007  __cil_tmp31 = __cil_tmp30 + 4;
39008#line 364
39009  sp = (struct fc_els_csp *)__cil_tmp31;
39010#line 365
39011  *((__u8 *)sp) = (__u8 )32;
39012#line 366
39013  __cil_tmp32 = (unsigned long )sp;
39014#line 366
39015  __cil_tmp33 = __cil_tmp32 + 1;
39016#line 366
39017  *((__u8 *)__cil_tmp33) = (__u8 )32;
39018#line 367
39019  __cil_tmp34 = (unsigned long )sp;
39020#line 367
39021  __cil_tmp35 = __cil_tmp34 + 2;
39022#line 367
39023  __cil_tmp36 = 10 << 8;
39024#line 367
39025  __cil_tmp37 = (__u16 )__cil_tmp36;
39026#line 367
39027  __cil_tmp38 = (int )__cil_tmp37;
39028#line 367
39029  *((__be16 *)__cil_tmp35) = (__be16 )__cil_tmp38;
39030#line 368
39031  __cil_tmp39 = (unsigned long )lport;
39032#line 368
39033  __cil_tmp40 = __cil_tmp39 + 876;
39034#line 368
39035  __cil_tmp41 = *((u32 *)__cil_tmp40);
39036#line 368
39037  __cil_tmp42 = (u16 )__cil_tmp41;
39038#line 368
39039  tmp___8 = __fswab16(__cil_tmp42);
39040#line 368
39041  __cil_tmp43 = (unsigned long )sp;
39042#line 368
39043  __cil_tmp44 = __cil_tmp43 + 6;
39044#line 368
39045  __cil_tmp45 = (int )tmp___8;
39046#line 368
39047  *((__be16 *)__cil_tmp44) = (__be16 )__cil_tmp45;
39048#line 369
39049  __cil_tmp46 = 2 * 16UL;
39050#line 369
39051  __cil_tmp47 = 36 + __cil_tmp46;
39052#line 369
39053  __cil_tmp48 = (unsigned long )flogi;
39054#line 369
39055  __cil_tmp49 = __cil_tmp48 + __cil_tmp47;
39056#line 369
39057  cp = (struct fc_els_cssp *)__cil_tmp49;
39058#line 370
39059  __cil_tmp50 = 34816 >> 8;
39060#line 370
39061  __cil_tmp51 = (__u16 )__cil_tmp50;
39062#line 370
39063  __cil_tmp52 = (int )__cil_tmp51;
39064#line 370
39065  *((__be16 *)cp) = (__be16 )__cil_tmp52;
39066  }
39067#line 371
39068  if (op != 4U) {
39069    {
39070#line 372
39071    __cil_tmp53 = (unsigned long )sp;
39072#line 372
39073    __cil_tmp54 = __cil_tmp53 + 4;
39074#line 372
39075    __cil_tmp55 = 32768 >> 8;
39076#line 372
39077    __cil_tmp56 = (__u16 )__cil_tmp55;
39078#line 372
39079    __cil_tmp57 = (int )__cil_tmp56;
39080#line 372
39081    *((__be16 *)__cil_tmp54) = (__be16 )__cil_tmp57;
39082#line 373
39083    __cil_tmp58 = (unsigned long )sp;
39084#line 373
39085    __cil_tmp59 = __cil_tmp58 + 8;
39086#line 373
39087    __cil_tmp60 = 255 << 8;
39088#line 373
39089    __cil_tmp61 = (__u16 )__cil_tmp60;
39090#line 373
39091    __cil_tmp62 = (int )__cil_tmp61;
39092#line 373
39093    *((__be16 *)__cil_tmp59) = (__be16 )__cil_tmp62;
39094#line 374
39095    __cil_tmp63 = 0 + 2;
39096#line 374
39097    __cil_tmp64 = 8 + __cil_tmp63;
39098#line 374
39099    __cil_tmp65 = (unsigned long )sp;
39100#line 374
39101    __cil_tmp66 = __cil_tmp65 + __cil_tmp64;
39102#line 374
39103    __cil_tmp67 = 31 << 8;
39104#line 374
39105    __cil_tmp68 = (__u16 )__cil_tmp67;
39106#line 374
39107    __cil_tmp69 = (int )__cil_tmp68;
39108#line 374
39109    *((__be16 *)__cil_tmp66) = (__be16 )__cil_tmp69;
39110#line 375
39111    __cil_tmp70 = (unsigned long )lport;
39112#line 375
39113    __cil_tmp71 = __cil_tmp70 + 812;
39114#line 375
39115    __cil_tmp72 = *((unsigned int *)__cil_tmp71);
39116#line 375
39117    tmp___13 = __fswab32(__cil_tmp72);
39118#line 375
39119    __cil_tmp73 = (unsigned long )sp;
39120#line 375
39121    __cil_tmp74 = __cil_tmp73 + 12;
39122#line 375
39123    *((__be32 *)__cil_tmp74) = tmp___13;
39124#line 377
39125    __cil_tmp75 = (unsigned long )lport;
39126#line 377
39127    __cil_tmp76 = __cil_tmp75 + 876;
39128#line 377
39129    __cil_tmp77 = *((u32 *)__cil_tmp76);
39130#line 377
39131    __cil_tmp78 = (u16 )__cil_tmp77;
39132#line 377
39133    tmp___14 = __fswab16(__cil_tmp78);
39134#line 377
39135    __cil_tmp79 = (unsigned long )cp;
39136#line 377
39137    __cil_tmp80 = __cil_tmp79 + 6;
39138#line 377
39139    __cil_tmp81 = (int )tmp___14;
39140#line 377
39141    *((__be16 *)__cil_tmp80) = (__be16 )__cil_tmp81;
39142#line 378
39143    __cil_tmp82 = (unsigned long )cp;
39144#line 378
39145    __cil_tmp83 = __cil_tmp82 + 8;
39146#line 378
39147    __cil_tmp84 = 255 << 8;
39148#line 378
39149    __cil_tmp85 = (__u16 )__cil_tmp84;
39150#line 378
39151    __cil_tmp86 = (int )__cil_tmp85;
39152#line 378
39153    *((__be16 *)__cil_tmp83) = (__be16 )__cil_tmp86;
39154#line 379
39155    __cil_tmp87 = (unsigned long )cp;
39156#line 379
39157    __cil_tmp88 = __cil_tmp87 + 13;
39158#line 379
39159    *((__u8 *)__cil_tmp88) = (__u8 )1;
39160    }
39161  } else {
39162
39163  }
39164#line 381
39165  return;
39166}
39167}
39168#line 388 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
39169static void fc_lport_add_fc4_type(struct fc_lport *lport , enum fc_fh_type type ) 
39170{ __be32 *mp ;
39171  __u32 tmp___12 ;
39172  __u32 tmp___13 ;
39173  unsigned int __cil_tmp11 ;
39174  unsigned int __cil_tmp12 ;
39175  unsigned long __cil_tmp13 ;
39176  unsigned long __cil_tmp14 ;
39177  unsigned long __cil_tmp15 ;
39178  unsigned long __cil_tmp16 ;
39179  unsigned long __cil_tmp17 ;
39180  __be32 __cil_tmp18 ;
39181  unsigned int __cil_tmp19 ;
39182  unsigned int __cil_tmp20 ;
39183  unsigned long __cil_tmp21 ;
39184  unsigned long __cil_tmp22 ;
39185  unsigned long __cil_tmp23 ;
39186  __u32 __cil_tmp24 ;
39187
39188  {
39189  {
39190#line 392
39191  __cil_tmp11 = (unsigned int )type;
39192#line 392
39193  __cil_tmp12 = __cil_tmp11 / 32U;
39194#line 392
39195  __cil_tmp13 = __cil_tmp12 * 4UL;
39196#line 392
39197  __cil_tmp14 = 0 + __cil_tmp13;
39198#line 392
39199  __cil_tmp15 = 896 + __cil_tmp14;
39200#line 392
39201  __cil_tmp16 = (unsigned long )lport;
39202#line 392
39203  __cil_tmp17 = __cil_tmp16 + __cil_tmp15;
39204#line 392
39205  mp = (__be32 *)__cil_tmp17;
39206#line 393
39207  __cil_tmp18 = *mp;
39208#line 393
39209  tmp___12 = __fswab32(__cil_tmp18);
39210#line 393
39211  __cil_tmp19 = (unsigned int )type;
39212#line 393
39213  __cil_tmp20 = __cil_tmp19 % 32U;
39214#line 393
39215  __cil_tmp21 = 1UL << __cil_tmp20;
39216#line 393
39217  __cil_tmp22 = (unsigned long )tmp___12;
39218#line 393
39219  __cil_tmp23 = __cil_tmp22 | __cil_tmp21;
39220#line 393
39221  __cil_tmp24 = (__u32 )__cil_tmp23;
39222#line 393
39223  tmp___13 = __fswab32(__cil_tmp24);
39224#line 393
39225  *mp = tmp___13;
39226  }
39227#line 394
39228  return;
39229}
39230}
39231#line 404 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
39232static void fc_lport_recv_rlir_req(struct fc_lport *lport , struct fc_frame *fp ) 
39233{ char    *tmp___7 ;
39234  long tmp___8 ;
39235  unsigned int *__cil_tmp5 ;
39236  unsigned int __cil_tmp6 ;
39237  unsigned int __cil_tmp7 ;
39238  int __cil_tmp8 ;
39239  int __cil_tmp9 ;
39240  long __cil_tmp10 ;
39241  struct Scsi_Host *__cil_tmp11 ;
39242  unsigned long __cil_tmp12 ;
39243  unsigned long __cil_tmp13 ;
39244  unsigned int __cil_tmp14 ;
39245  unsigned long __cil_tmp15 ;
39246  unsigned long __cil_tmp16 ;
39247  u32 __cil_tmp17 ;
39248  unsigned long __cil_tmp18 ;
39249  unsigned long __cil_tmp19 ;
39250  unsigned long __cil_tmp20 ;
39251  void (*__cil_tmp21)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
39252  enum fc_els_cmd __cil_tmp22 ;
39253  void *__cil_tmp23 ;
39254  struct fc_seq_els_data *__cil_tmp24 ;
39255
39256  {
39257  {
39258#line 406
39259  while (1) {
39260    while_continue: /* CIL Label */ ;
39261    {
39262#line 406
39263    __cil_tmp5 = & fc_debug_logging;
39264#line 406
39265    __cil_tmp6 = *__cil_tmp5;
39266#line 406
39267    __cil_tmp7 = __cil_tmp6 & 2U;
39268#line 406
39269    __cil_tmp8 = ! __cil_tmp7;
39270#line 406
39271    __cil_tmp9 = ! __cil_tmp8;
39272#line 406
39273    __cil_tmp10 = (long )__cil_tmp9;
39274#line 406
39275    tmp___8 = __builtin_expect(__cil_tmp10, 0L);
39276    }
39277#line 406
39278    if (tmp___8) {
39279      {
39280#line 406
39281      while (1) {
39282        while_continue___0: /* CIL Label */ ;
39283        {
39284#line 406
39285        tmp___7 = fc_lport_state(lport);
39286#line 406
39287        __cil_tmp11 = *((struct Scsi_Host **)lport);
39288#line 406
39289        __cil_tmp12 = (unsigned long )__cil_tmp11;
39290#line 406
39291        __cil_tmp13 = __cil_tmp12 + 308;
39292#line 406
39293        __cil_tmp14 = *((unsigned int *)__cil_tmp13);
39294#line 406
39295        __cil_tmp15 = (unsigned long )lport;
39296#line 406
39297        __cil_tmp16 = __cil_tmp15 + 788;
39298#line 406
39299        __cil_tmp17 = *((u32 *)__cil_tmp16);
39300#line 406
39301        printk("<6>host%u: lport %6.6x: Received RLIR request while in state %s\n",
39302               __cil_tmp14, __cil_tmp17, tmp___7);
39303        }
39304#line 406
39305        goto while_break___0;
39306      }
39307      while_break___0: /* CIL Label */ ;
39308      }
39309    } else {
39310
39311    }
39312#line 406
39313    goto while_break;
39314  }
39315  while_break: /* CIL Label */ ;
39316  }
39317  {
39318#line 409
39319  __cil_tmp18 = 328 + 64;
39320#line 409
39321  __cil_tmp19 = (unsigned long )lport;
39322#line 409
39323  __cil_tmp20 = __cil_tmp19 + __cil_tmp18;
39324#line 409
39325  __cil_tmp21 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp20);
39326#line 409
39327  __cil_tmp22 = (enum fc_els_cmd )2;
39328#line 409
39329  __cil_tmp23 = (void *)0;
39330#line 409
39331  __cil_tmp24 = (struct fc_seq_els_data *)__cil_tmp23;
39332#line 409
39333  (*__cil_tmp21)(fp, __cil_tmp22, __cil_tmp24);
39334#line 410
39335  fc_frame_free(fp);
39336  }
39337#line 411
39338  return;
39339}
39340}
39341#line 421 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
39342static void fc_lport_recv_echo_req(struct fc_lport *lport , struct fc_frame *in_fp ) 
39343{ struct fc_frame *fp ;
39344  unsigned int len ;
39345  void *pp ;
39346  void *dp ;
39347  char    *tmp___7 ;
39348  long tmp___8 ;
39349  size_t __len ;
39350  void *__ret ;
39351  unsigned int *__cil_tmp12 ;
39352  unsigned int __cil_tmp13 ;
39353  unsigned int __cil_tmp14 ;
39354  int __cil_tmp15 ;
39355  int __cil_tmp16 ;
39356  long __cil_tmp17 ;
39357  struct Scsi_Host *__cil_tmp18 ;
39358  unsigned long __cil_tmp19 ;
39359  unsigned long __cil_tmp20 ;
39360  unsigned int __cil_tmp21 ;
39361  unsigned long __cil_tmp22 ;
39362  unsigned long __cil_tmp23 ;
39363  u32 __cil_tmp24 ;
39364  unsigned long __cil_tmp25 ;
39365  unsigned long __cil_tmp26 ;
39366  unsigned long __cil_tmp27 ;
39367  unsigned int __cil_tmp28 ;
39368  unsigned long __cil_tmp29 ;
39369  unsigned long __cil_tmp30 ;
39370  struct fc_frame    *__cil_tmp31 ;
39371  size_t __cil_tmp32 ;
39372  unsigned long __cil_tmp33 ;
39373  size_t __cil_tmp34 ;
39374  struct fc_frame    *__cil_tmp35 ;
39375  size_t __cil_tmp36 ;
39376  void    *__cil_tmp37 ;
39377  __be32 *__cil_tmp38 ;
39378  int __cil_tmp39 ;
39379  __u32 __cil_tmp40 ;
39380  unsigned int __cil_tmp41 ;
39381  unsigned int __cil_tmp42 ;
39382  int __cil_tmp43 ;
39383  __u32 __cil_tmp44 ;
39384  unsigned int __cil_tmp45 ;
39385  unsigned int __cil_tmp46 ;
39386  int __cil_tmp47 ;
39387  __u32 __cil_tmp48 ;
39388  unsigned int __cil_tmp49 ;
39389  unsigned int __cil_tmp50 ;
39390  int __cil_tmp51 ;
39391  __u32 __cil_tmp52 ;
39392  unsigned int __cil_tmp53 ;
39393  unsigned int __cil_tmp54 ;
39394  unsigned int __cil_tmp55 ;
39395  unsigned int __cil_tmp56 ;
39396  struct fc_frame    *__cil_tmp57 ;
39397  enum fc_rctl __cil_tmp58 ;
39398  u32 __cil_tmp59 ;
39399  unsigned long __cil_tmp60 ;
39400  unsigned long __cil_tmp61 ;
39401  int (*__cil_tmp62)(struct fc_lport * , struct fc_frame * ) ;
39402
39403  {
39404  {
39405#line 429
39406  while (1) {
39407    while_continue: /* CIL Label */ ;
39408    {
39409#line 429
39410    __cil_tmp12 = & fc_debug_logging;
39411#line 429
39412    __cil_tmp13 = *__cil_tmp12;
39413#line 429
39414    __cil_tmp14 = __cil_tmp13 & 2U;
39415#line 429
39416    __cil_tmp15 = ! __cil_tmp14;
39417#line 429
39418    __cil_tmp16 = ! __cil_tmp15;
39419#line 429
39420    __cil_tmp17 = (long )__cil_tmp16;
39421#line 429
39422    tmp___8 = __builtin_expect(__cil_tmp17, 0L);
39423    }
39424#line 429
39425    if (tmp___8) {
39426      {
39427#line 429
39428      while (1) {
39429        while_continue___0: /* CIL Label */ ;
39430        {
39431#line 429
39432        tmp___7 = fc_lport_state(lport);
39433#line 429
39434        __cil_tmp18 = *((struct Scsi_Host **)lport);
39435#line 429
39436        __cil_tmp19 = (unsigned long )__cil_tmp18;
39437#line 429
39438        __cil_tmp20 = __cil_tmp19 + 308;
39439#line 429
39440        __cil_tmp21 = *((unsigned int *)__cil_tmp20);
39441#line 429
39442        __cil_tmp22 = (unsigned long )lport;
39443#line 429
39444        __cil_tmp23 = __cil_tmp22 + 788;
39445#line 429
39446        __cil_tmp24 = *((u32 *)__cil_tmp23);
39447#line 429
39448        printk("<6>host%u: lport %6.6x: Received ECHO request while in state %s\n",
39449               __cil_tmp21, __cil_tmp24, tmp___7);
39450        }
39451#line 429
39452        goto while_break___0;
39453      }
39454      while_break___0: /* CIL Label */ ;
39455      }
39456    } else {
39457
39458    }
39459#line 429
39460    goto while_break;
39461  }
39462  while_break: /* CIL Label */ ;
39463  }
39464  {
39465#line 432
39466  __cil_tmp25 = 0 + 104;
39467#line 432
39468  __cil_tmp26 = (unsigned long )in_fp;
39469#line 432
39470  __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
39471#line 432
39472  __cil_tmp28 = *((unsigned int *)__cil_tmp27);
39473#line 432
39474  __cil_tmp29 = (unsigned long )__cil_tmp28;
39475#line 432
39476  __cil_tmp30 = __cil_tmp29 - 24UL;
39477#line 432
39478  len = (unsigned int )__cil_tmp30;
39479#line 433
39480  __cil_tmp31 = (struct fc_frame    *)in_fp;
39481#line 433
39482  __cil_tmp32 = (size_t )len;
39483#line 433
39484  pp = fc_frame_payload_get(__cil_tmp31, __cil_tmp32);
39485  }
39486  {
39487#line 435
39488  __cil_tmp33 = (unsigned long )len;
39489#line 435
39490  if (__cil_tmp33 < 4UL) {
39491#line 436
39492    len = (unsigned int )4UL;
39493  } else {
39494
39495  }
39496  }
39497  {
39498#line 438
39499  __cil_tmp34 = (size_t )len;
39500#line 438
39501  fp = fc_frame_alloc(lport, __cil_tmp34);
39502  }
39503#line 439
39504  if (fp) {
39505    {
39506#line 440
39507    __cil_tmp35 = (struct fc_frame    *)fp;
39508#line 440
39509    __cil_tmp36 = (size_t )len;
39510#line 440
39511    dp = fc_frame_payload_get(__cil_tmp35, __cil_tmp36);
39512#line 441
39513    __len = (size_t )len;
39514#line 441
39515    __cil_tmp37 = (void    *)pp;
39516#line 441
39517    __ret = __builtin_memcpy(dp, __cil_tmp37, __len);
39518#line 442
39519    __cil_tmp38 = (__be32 *)dp;
39520#line 442
39521    __cil_tmp39 = 2 << 24;
39522#line 442
39523    __cil_tmp40 = (__u32 )__cil_tmp39;
39524#line 442
39525    __cil_tmp41 = __cil_tmp40 & 4278190080U;
39526#line 442
39527    __cil_tmp42 = __cil_tmp41 >> 24;
39528#line 442
39529    __cil_tmp43 = 2 << 24;
39530#line 442
39531    __cil_tmp44 = (__u32 )__cil_tmp43;
39532#line 442
39533    __cil_tmp45 = __cil_tmp44 & 16711680U;
39534#line 442
39535    __cil_tmp46 = __cil_tmp45 >> 8;
39536#line 442
39537    __cil_tmp47 = 2 << 24;
39538#line 442
39539    __cil_tmp48 = (__u32 )__cil_tmp47;
39540#line 442
39541    __cil_tmp49 = __cil_tmp48 & 65280U;
39542#line 442
39543    __cil_tmp50 = __cil_tmp49 << 8;
39544#line 442
39545    __cil_tmp51 = 2 << 24;
39546#line 442
39547    __cil_tmp52 = (__u32 )__cil_tmp51;
39548#line 442
39549    __cil_tmp53 = __cil_tmp52 & 255U;
39550#line 442
39551    __cil_tmp54 = __cil_tmp53 << 24;
39552#line 442
39553    __cil_tmp55 = __cil_tmp54 | __cil_tmp50;
39554#line 442
39555    __cil_tmp56 = __cil_tmp55 | __cil_tmp46;
39556#line 442
39557    *__cil_tmp38 = __cil_tmp56 | __cil_tmp42;
39558#line 443
39559    __cil_tmp57 = (struct fc_frame    *)in_fp;
39560#line 443
39561    __cil_tmp58 = (enum fc_rctl )35;
39562#line 443
39563    __cil_tmp59 = (u32 )0;
39564#line 443
39565    fc_fill_reply_hdr(fp, __cil_tmp57, __cil_tmp58, __cil_tmp59);
39566#line 444
39567    __cil_tmp60 = (unsigned long )lport;
39568#line 444
39569    __cil_tmp61 = __cil_tmp60 + 328;
39570#line 444
39571    __cil_tmp62 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp61);
39572#line 444
39573    (*__cil_tmp62)(lport, fp);
39574    }
39575  } else {
39576
39577  }
39578  {
39579#line 446
39580  fc_frame_free(in_fp);
39581  }
39582#line 447
39583  return;
39584}
39585}
39586#line 457 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
39587static void fc_lport_recv_rnid_req(struct fc_lport *lport , struct fc_frame *in_fp ) 
39588{ struct fc_frame *fp ;
39589  struct fc_els_rnid *req ;
39590  struct __anonstruct_rp_300 *rp ;
39591  struct fc_seq_els_data rjt_data ;
39592  u8 fmt ;
39593  size_t len ;
39594  char    *tmp___7 ;
39595  long tmp___8 ;
39596  void *tmp___9 ;
39597  __u32 tmp___10 ;
39598  void *tmp___11 ;
39599  __u64 tmp___12 ;
39600  __u64 tmp___13 ;
39601  size_t __len ;
39602  void *__ret ;
39603  unsigned int *__cil_tmp18 ;
39604  unsigned int __cil_tmp19 ;
39605  unsigned int __cil_tmp20 ;
39606  int __cil_tmp21 ;
39607  int __cil_tmp22 ;
39608  long __cil_tmp23 ;
39609  struct Scsi_Host *__cil_tmp24 ;
39610  unsigned long __cil_tmp25 ;
39611  unsigned long __cil_tmp26 ;
39612  unsigned int __cil_tmp27 ;
39613  unsigned long __cil_tmp28 ;
39614  unsigned long __cil_tmp29 ;
39615  u32 __cil_tmp30 ;
39616  struct fc_frame    *__cil_tmp31 ;
39617  struct fc_seq_els_data *__cil_tmp32 ;
39618  unsigned long __cil_tmp33 ;
39619  unsigned long __cil_tmp34 ;
39620  unsigned long __cil_tmp35 ;
39621  unsigned long __cil_tmp36 ;
39622  void (*__cil_tmp37)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
39623  enum fc_els_cmd __cil_tmp38 ;
39624  unsigned long __cil_tmp39 ;
39625  unsigned long __cil_tmp40 ;
39626  int __cil_tmp41 ;
39627  unsigned long __cil_tmp42 ;
39628  unsigned long __cil_tmp43 ;
39629  unsigned long __cil_tmp44 ;
39630  __be32 __cil_tmp45 ;
39631  struct fc_frame    *__cil_tmp46 ;
39632  void *__cil_tmp47 ;
39633  unsigned long __cil_tmp48 ;
39634  unsigned long __cil_tmp49 ;
39635  unsigned long __cil_tmp50 ;
39636  unsigned long __cil_tmp51 ;
39637  unsigned long __cil_tmp52 ;
39638  unsigned long __cil_tmp53 ;
39639  unsigned long __cil_tmp54 ;
39640  unsigned long __cil_tmp55 ;
39641  u64 __cil_tmp56 ;
39642  unsigned long __cil_tmp57 ;
39643  unsigned long __cil_tmp58 ;
39644  unsigned long __cil_tmp59 ;
39645  unsigned long __cil_tmp60 ;
39646  u64 __cil_tmp61 ;
39647  unsigned long __cil_tmp62 ;
39648  unsigned long __cil_tmp63 ;
39649  unsigned long __cil_tmp64 ;
39650  int __cil_tmp65 ;
39651  unsigned long __cil_tmp66 ;
39652  unsigned long __cil_tmp67 ;
39653  unsigned long __cil_tmp68 ;
39654  unsigned long __cil_tmp69 ;
39655  unsigned long __cil_tmp70 ;
39656  struct fc_els_rnid_gen *__cil_tmp71 ;
39657  void *__cil_tmp72 ;
39658  unsigned long __cil_tmp73 ;
39659  unsigned long __cil_tmp74 ;
39660  struct fc_els_rnid_gen *__cil_tmp75 ;
39661  void    *__cil_tmp76 ;
39662  unsigned long __cil_tmp77 ;
39663  unsigned long __cil_tmp78 ;
39664  struct fc_els_rnid_gen *__cil_tmp79 ;
39665  void *__cil_tmp80 ;
39666  unsigned long __cil_tmp81 ;
39667  unsigned long __cil_tmp82 ;
39668  struct fc_els_rnid_gen *__cil_tmp83 ;
39669  void    *__cil_tmp84 ;
39670  struct fc_frame    *__cil_tmp85 ;
39671  enum fc_rctl __cil_tmp86 ;
39672  u32 __cil_tmp87 ;
39673  unsigned long __cil_tmp88 ;
39674  unsigned long __cil_tmp89 ;
39675  int (*__cil_tmp90)(struct fc_lport * , struct fc_frame * ) ;
39676
39677  {
39678  {
39679#line 471
39680  while (1) {
39681    while_continue: /* CIL Label */ ;
39682    {
39683#line 471
39684    __cil_tmp18 = & fc_debug_logging;
39685#line 471
39686    __cil_tmp19 = *__cil_tmp18;
39687#line 471
39688    __cil_tmp20 = __cil_tmp19 & 2U;
39689#line 471
39690    __cil_tmp21 = ! __cil_tmp20;
39691#line 471
39692    __cil_tmp22 = ! __cil_tmp21;
39693#line 471
39694    __cil_tmp23 = (long )__cil_tmp22;
39695#line 471
39696    tmp___8 = __builtin_expect(__cil_tmp23, 0L);
39697    }
39698#line 471
39699    if (tmp___8) {
39700      {
39701#line 471
39702      while (1) {
39703        while_continue___0: /* CIL Label */ ;
39704        {
39705#line 471
39706        tmp___7 = fc_lport_state(lport);
39707#line 471
39708        __cil_tmp24 = *((struct Scsi_Host **)lport);
39709#line 471
39710        __cil_tmp25 = (unsigned long )__cil_tmp24;
39711#line 471
39712        __cil_tmp26 = __cil_tmp25 + 308;
39713#line 471
39714        __cil_tmp27 = *((unsigned int *)__cil_tmp26);
39715#line 471
39716        __cil_tmp28 = (unsigned long )lport;
39717#line 471
39718        __cil_tmp29 = __cil_tmp28 + 788;
39719#line 471
39720        __cil_tmp30 = *((u32 *)__cil_tmp29);
39721#line 471
39722        printk("<6>host%u: lport %6.6x: Received RNID request while in state %s\n",
39723               __cil_tmp27, __cil_tmp30, tmp___7);
39724        }
39725#line 471
39726        goto while_break___0;
39727      }
39728      while_break___0: /* CIL Label */ ;
39729      }
39730    } else {
39731
39732    }
39733#line 471
39734    goto while_break;
39735  }
39736  while_break: /* CIL Label */ ;
39737  }
39738  {
39739#line 474
39740  __cil_tmp31 = (struct fc_frame    *)in_fp;
39741#line 474
39742  tmp___9 = fc_frame_payload_get(__cil_tmp31, 8UL);
39743#line 474
39744  req = (struct fc_els_rnid *)tmp___9;
39745  }
39746#line 475
39747  if (! req) {
39748    {
39749#line 476
39750    __cil_tmp32 = & rjt_data;
39751#line 476
39752    *((enum fc_els_rjt_reason *)__cil_tmp32) = (enum fc_els_rjt_reason )3;
39753#line 477
39754    __cil_tmp33 = (unsigned long )(& rjt_data) + 4;
39755#line 477
39756    *((enum fc_els_rjt_explan *)__cil_tmp33) = (enum fc_els_rjt_explan )0;
39757#line 478
39758    __cil_tmp34 = 328 + 64;
39759#line 478
39760    __cil_tmp35 = (unsigned long )lport;
39761#line 478
39762    __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
39763#line 478
39764    __cil_tmp37 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp36);
39765#line 478
39766    __cil_tmp38 = (enum fc_els_cmd )1;
39767#line 478
39768    (*__cil_tmp37)(in_fp, __cil_tmp38, & rjt_data);
39769    }
39770  } else {
39771#line 480
39772    __cil_tmp39 = (unsigned long )req;
39773#line 480
39774    __cil_tmp40 = __cil_tmp39 + 4;
39775#line 480
39776    fmt = *((__u8 *)__cil_tmp40);
39777#line 481
39778    len = 80UL;
39779    {
39780#line 482
39781    __cil_tmp41 = (int )fmt;
39782#line 482
39783    if (__cil_tmp41 != 223) {
39784#line 484
39785      fmt = (u8 )0;
39786#line 485
39787      len = len - 52UL;
39788    } else {
39789      {
39790#line 482
39791      __cil_tmp42 = 820 + 16;
39792#line 482
39793      __cil_tmp43 = (unsigned long )lport;
39794#line 482
39795      __cil_tmp44 = __cil_tmp43 + __cil_tmp42;
39796#line 482
39797      __cil_tmp45 = *((__be32 *)__cil_tmp44);
39798#line 482
39799      tmp___10 = __fswab32(__cil_tmp45);
39800      }
39801#line 482
39802      if (tmp___10 == 0U) {
39803#line 484
39804        fmt = (u8 )0;
39805#line 485
39806        len = len - 52UL;
39807      } else {
39808
39809      }
39810    }
39811    }
39812    {
39813#line 487
39814    fp = fc_frame_alloc(lport, len);
39815    }
39816#line 488
39817    if (fp) {
39818      {
39819#line 489
39820      __cil_tmp46 = (struct fc_frame    *)fp;
39821#line 489
39822      tmp___11 = fc_frame_payload_get(__cil_tmp46, len);
39823#line 489
39824      rp = (struct __anonstruct_rp_300 *)tmp___11;
39825#line 490
39826      __cil_tmp47 = (void *)rp;
39827#line 490
39828      memset(__cil_tmp47, 0, len);
39829#line 491
39830      *((__u8 *)rp) = (__u8 )2;
39831#line 492
39832      __cil_tmp48 = 0 + 4;
39833#line 492
39834      __cil_tmp49 = (unsigned long )rp;
39835#line 492
39836      __cil_tmp50 = __cil_tmp49 + __cil_tmp48;
39837#line 492
39838      *((__u8 *)__cil_tmp50) = fmt;
39839#line 493
39840      __cil_tmp51 = 0 + 5;
39841#line 493
39842      __cil_tmp52 = (unsigned long )rp;
39843#line 493
39844      __cil_tmp53 = __cil_tmp52 + __cil_tmp51;
39845#line 493
39846      *((__u8 *)__cil_tmp53) = (__u8 )16UL;
39847#line 494
39848      __cil_tmp54 = (unsigned long )lport;
39849#line 494
39850      __cil_tmp55 = __cil_tmp54 + 792;
39851#line 494
39852      __cil_tmp56 = *((u64 *)__cil_tmp55);
39853#line 494
39854      tmp___12 = __fswab64(__cil_tmp56);
39855#line 494
39856      __cil_tmp57 = (unsigned long )rp;
39857#line 494
39858      __cil_tmp58 = __cil_tmp57 + 8;
39859#line 494
39860      *((__be64 *)__cil_tmp58) = tmp___12;
39861#line 495
39862      __cil_tmp59 = (unsigned long )lport;
39863#line 495
39864      __cil_tmp60 = __cil_tmp59 + 800;
39865#line 495
39866      __cil_tmp61 = *((u64 *)__cil_tmp60);
39867#line 495
39868      tmp___13 = __fswab64(__cil_tmp61);
39869#line 495
39870      __cil_tmp62 = 8 + 8;
39871#line 495
39872      __cil_tmp63 = (unsigned long )rp;
39873#line 495
39874      __cil_tmp64 = __cil_tmp63 + __cil_tmp62;
39875#line 495
39876      *((__be64 *)__cil_tmp64) = tmp___13;
39877      }
39878      {
39879#line 496
39880      __cil_tmp65 = (int )fmt;
39881#line 496
39882      if (__cil_tmp65 == 223) {
39883#line 497
39884        __cil_tmp66 = 0 + 7;
39885#line 497
39886        __cil_tmp67 = (unsigned long )rp;
39887#line 497
39888        __cil_tmp68 = __cil_tmp67 + __cil_tmp66;
39889#line 497
39890        *((__u8 *)__cil_tmp68) = (__u8 )52UL;
39891#line 498
39892        __len = 52UL;
39893#line 498
39894        if (__len >= 64UL) {
39895          {
39896#line 498
39897          __cil_tmp69 = (unsigned long )rp;
39898#line 498
39899          __cil_tmp70 = __cil_tmp69 + 24;
39900#line 498
39901          __cil_tmp71 = (struct fc_els_rnid_gen *)__cil_tmp70;
39902#line 498
39903          __cil_tmp72 = (void *)__cil_tmp71;
39904#line 498
39905          __cil_tmp73 = (unsigned long )lport;
39906#line 498
39907          __cil_tmp74 = __cil_tmp73 + 820;
39908#line 498
39909          __cil_tmp75 = (struct fc_els_rnid_gen *)__cil_tmp74;
39910#line 498
39911          __cil_tmp76 = (void    *)__cil_tmp75;
39912#line 498
39913          __ret = __memcpy(__cil_tmp72, __cil_tmp76, __len);
39914          }
39915        } else {
39916          {
39917#line 498
39918          __cil_tmp77 = (unsigned long )rp;
39919#line 498
39920          __cil_tmp78 = __cil_tmp77 + 24;
39921#line 498
39922          __cil_tmp79 = (struct fc_els_rnid_gen *)__cil_tmp78;
39923#line 498
39924          __cil_tmp80 = (void *)__cil_tmp79;
39925#line 498
39926          __cil_tmp81 = (unsigned long )lport;
39927#line 498
39928          __cil_tmp82 = __cil_tmp81 + 820;
39929#line 498
39930          __cil_tmp83 = (struct fc_els_rnid_gen *)__cil_tmp82;
39931#line 498
39932          __cil_tmp84 = (void    *)__cil_tmp83;
39933#line 498
39934          __ret = __builtin_memcpy(__cil_tmp80, __cil_tmp84, __len);
39935          }
39936        }
39937      } else {
39938
39939      }
39940      }
39941      {
39942#line 501
39943      __cil_tmp85 = (struct fc_frame    *)in_fp;
39944#line 501
39945      __cil_tmp86 = (enum fc_rctl )35;
39946#line 501
39947      __cil_tmp87 = (u32 )0;
39948#line 501
39949      fc_fill_reply_hdr(fp, __cil_tmp85, __cil_tmp86, __cil_tmp87);
39950#line 502
39951      __cil_tmp88 = (unsigned long )lport;
39952#line 502
39953      __cil_tmp89 = __cil_tmp88 + 328;
39954#line 502
39955      __cil_tmp90 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp89);
39956#line 502
39957      (*__cil_tmp90)(lport, fp);
39958      }
39959    } else {
39960
39961    }
39962  }
39963  {
39964#line 505
39965  fc_frame_free(in_fp);
39966  }
39967#line 506
39968  return;
39969}
39970}
39971#line 516 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
39972static void fc_lport_recv_logo_req(struct fc_lport *lport , struct fc_frame *fp ) 
39973{ unsigned long __cil_tmp3 ;
39974  unsigned long __cil_tmp4 ;
39975  unsigned long __cil_tmp5 ;
39976  void (*__cil_tmp6)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
39977  enum fc_els_cmd __cil_tmp7 ;
39978  void *__cil_tmp8 ;
39979  struct fc_seq_els_data *__cil_tmp9 ;
39980
39981  {
39982  {
39983#line 518
39984  __cil_tmp3 = 328 + 64;
39985#line 518
39986  __cil_tmp4 = (unsigned long )lport;
39987#line 518
39988  __cil_tmp5 = __cil_tmp4 + __cil_tmp3;
39989#line 518
39990  __cil_tmp6 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp5);
39991#line 518
39992  __cil_tmp7 = (enum fc_els_cmd )2;
39993#line 518
39994  __cil_tmp8 = (void *)0;
39995#line 518
39996  __cil_tmp9 = (struct fc_seq_els_data *)__cil_tmp8;
39997#line 518
39998  (*__cil_tmp6)(fp, __cil_tmp7, __cil_tmp9);
39999#line 519
40000  fc_lport_enter_reset(lport);
40001#line 520
40002  fc_frame_free(fp);
40003  }
40004#line 521
40005  return;
40006}
40007}
40008#line 530 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40009int fc_fabric_login(struct fc_lport *lport ) 
40010{ int rc ;
40011  unsigned long __cil_tmp3 ;
40012  unsigned long __cil_tmp4 ;
40013  struct mutex *__cil_tmp5 ;
40014  unsigned long __cil_tmp6 ;
40015  unsigned long __cil_tmp7 ;
40016  enum fc_lport_state __cil_tmp8 ;
40017  unsigned int __cil_tmp9 ;
40018  enum fc_lport_state __cil_tmp10 ;
40019  unsigned long __cil_tmp11 ;
40020  unsigned long __cil_tmp12 ;
40021  enum fc_lport_state __cil_tmp13 ;
40022  unsigned int __cil_tmp14 ;
40023  enum fc_lport_state __cil_tmp15 ;
40024  unsigned long __cil_tmp16 ;
40025  unsigned long __cil_tmp17 ;
40026  struct mutex *__cil_tmp18 ;
40027
40028  {
40029  {
40030#line 532
40031  rc = -1;
40032#line 534
40033  __cil_tmp3 = (unsigned long )lport;
40034#line 534
40035  __cil_tmp4 = __cil_tmp3 + 928;
40036#line 534
40037  __cil_tmp5 = (struct mutex *)__cil_tmp4;
40038#line 534
40039  mutex_lock(__cil_tmp5);
40040  }
40041  {
40042#line 535
40043  __cil_tmp6 = (unsigned long )lport;
40044#line 535
40045  __cil_tmp7 = __cil_tmp6 + 604;
40046#line 535
40047  __cil_tmp8 = *((enum fc_lport_state *)__cil_tmp7);
40048#line 535
40049  __cil_tmp9 = (unsigned int )__cil_tmp8;
40050#line 535
40051  if (__cil_tmp9 == 0U) {
40052    {
40053#line 537
40054    __cil_tmp10 = (enum fc_lport_state )16;
40055#line 537
40056    fc_lport_state_enter(lport, __cil_tmp10);
40057#line 538
40058    fc_lport_enter_reset(lport);
40059#line 539
40060    rc = 0;
40061    }
40062  } else {
40063    {
40064#line 535
40065    __cil_tmp11 = (unsigned long )lport;
40066#line 535
40067    __cil_tmp12 = __cil_tmp11 + 604;
40068#line 535
40069    __cil_tmp13 = *((enum fc_lport_state *)__cil_tmp12);
40070#line 535
40071    __cil_tmp14 = (unsigned int )__cil_tmp13;
40072#line 535
40073    if (__cil_tmp14 == 15U) {
40074      {
40075#line 537
40076      __cil_tmp15 = (enum fc_lport_state )16;
40077#line 537
40078      fc_lport_state_enter(lport, __cil_tmp15);
40079#line 538
40080      fc_lport_enter_reset(lport);
40081#line 539
40082      rc = 0;
40083      }
40084    } else {
40085
40086    }
40087    }
40088  }
40089  }
40090  {
40091#line 541
40092  __cil_tmp16 = (unsigned long )lport;
40093#line 541
40094  __cil_tmp17 = __cil_tmp16 + 928;
40095#line 541
40096  __cil_tmp18 = (struct mutex *)__cil_tmp17;
40097#line 541
40098  mutex_unlock(__cil_tmp18);
40099  }
40100#line 543
40101  return (rc);
40102}
40103}
40104#line 545
40105extern void *__crc_fc_fabric_login  __attribute__((__weak__)) ;
40106#line 545 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40107static unsigned long    __kcrctab_fc_fabric_login  __attribute__((__used__, __unused__,
40108__section__("___kcrctab+fc_fabric_login")))  =    (unsigned long    )((unsigned long )(& __crc_fc_fabric_login));
40109#line 545 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40110static char    __kstrtab_fc_fabric_login[16]  __attribute__((__section__("__ksymtab_strings"),
40111__aligned__(1)))  = 
40112#line 545
40113  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'f', 
40114        (char    )'a',      (char    )'b',      (char const   )'r',      (char const   )'i', 
40115        (char    )'c',      (char    )'_',      (char const   )'l',      (char const   )'o', 
40116        (char    )'g',      (char    )'i',      (char const   )'n',      (char const   )'\000'};
40117#line 545 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40118static struct kernel_symbol    __ksymtab_fc_fabric_login  __attribute__((__used__,
40119__unused__, __section__("___ksymtab+fc_fabric_login")))  =    {(unsigned long )(& fc_fabric_login), __kstrtab_fc_fabric_login};
40120#line 553 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40121void __fc_linkup(struct fc_lport *lport ) 
40122{ unsigned long __cil_tmp2 ;
40123  unsigned long __cil_tmp3 ;
40124  u8 __cil_tmp4 ;
40125  unsigned long __cil_tmp5 ;
40126  unsigned long __cil_tmp6 ;
40127  unsigned long __cil_tmp7 ;
40128  unsigned long __cil_tmp8 ;
40129  enum fc_lport_state __cil_tmp9 ;
40130  unsigned int __cil_tmp10 ;
40131
40132  {
40133  {
40134#line 555
40135  __cil_tmp2 = (unsigned long )lport;
40136#line 555
40137  __cil_tmp3 = __cil_tmp2 + 600;
40138#line 555
40139  __cil_tmp4 = *((u8 *)__cil_tmp3);
40140#line 555
40141  if (! __cil_tmp4) {
40142#line 556
40143    __cil_tmp5 = (unsigned long )lport;
40144#line 556
40145    __cil_tmp6 = __cil_tmp5 + 600;
40146#line 556
40147    *((u8 *)__cil_tmp6) = (u8 )1;
40148    {
40149#line 558
40150    __cil_tmp7 = (unsigned long )lport;
40151#line 558
40152    __cil_tmp8 = __cil_tmp7 + 604;
40153#line 558
40154    __cil_tmp9 = *((enum fc_lport_state *)__cil_tmp8);
40155#line 558
40156    __cil_tmp10 = (unsigned int )__cil_tmp9;
40157#line 558
40158    if (__cil_tmp10 == 16U) {
40159      {
40160#line 559
40161      fc_lport_enter_flogi(lport);
40162      }
40163    } else {
40164
40165    }
40166    }
40167  } else {
40168
40169  }
40170  }
40171#line 561
40172  return;
40173}
40174}
40175#line 567 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40176void fc_linkup(struct fc_lport *lport ) 
40177{ struct Scsi_Host *__cil_tmp2 ;
40178  unsigned long __cil_tmp3 ;
40179  unsigned long __cil_tmp4 ;
40180  unsigned int __cil_tmp5 ;
40181  unsigned long __cil_tmp6 ;
40182  unsigned long __cil_tmp7 ;
40183  u32 __cil_tmp8 ;
40184  unsigned long __cil_tmp9 ;
40185  unsigned long __cil_tmp10 ;
40186  struct mutex *__cil_tmp11 ;
40187  unsigned long __cil_tmp12 ;
40188  unsigned long __cil_tmp13 ;
40189  struct mutex *__cil_tmp14 ;
40190
40191  {
40192  {
40193#line 569
40194  __cil_tmp2 = *((struct Scsi_Host **)lport);
40195#line 569
40196  __cil_tmp3 = (unsigned long )__cil_tmp2;
40197#line 569
40198  __cil_tmp4 = __cil_tmp3 + 308;
40199#line 569
40200  __cil_tmp5 = *((unsigned int *)__cil_tmp4);
40201#line 569
40202  __cil_tmp6 = (unsigned long )lport;
40203#line 569
40204  __cil_tmp7 = __cil_tmp6 + 788;
40205#line 569
40206  __cil_tmp8 = *((u32 *)__cil_tmp7);
40207#line 569
40208  printk("<6>host%d: libfc: Link up on port (%6.6x)\n", __cil_tmp5, __cil_tmp8);
40209#line 572
40210  __cil_tmp9 = (unsigned long )lport;
40211#line 572
40212  __cil_tmp10 = __cil_tmp9 + 928;
40213#line 572
40214  __cil_tmp11 = (struct mutex *)__cil_tmp10;
40215#line 572
40216  mutex_lock(__cil_tmp11);
40217#line 573
40218  __fc_linkup(lport);
40219#line 574
40220  __cil_tmp12 = (unsigned long )lport;
40221#line 574
40222  __cil_tmp13 = __cil_tmp12 + 928;
40223#line 574
40224  __cil_tmp14 = (struct mutex *)__cil_tmp13;
40225#line 574
40226  mutex_unlock(__cil_tmp14);
40227  }
40228#line 575
40229  return;
40230}
40231}
40232#line 576
40233extern void *__crc_fc_linkup  __attribute__((__weak__)) ;
40234#line 576 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40235static unsigned long    __kcrctab_fc_linkup  __attribute__((__used__, __unused__,
40236__section__("___kcrctab+fc_linkup")))  =    (unsigned long    )((unsigned long )(& __crc_fc_linkup));
40237#line 576 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40238static char    __kstrtab_fc_linkup[10]  __attribute__((__section__("__ksymtab_strings"),
40239__aligned__(1)))  = 
40240#line 576
40241  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'l', 
40242        (char    )'i',      (char    )'n',      (char const   )'k',      (char const   )'u', 
40243        (char    )'p',      (char    )'\000'};
40244#line 576 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40245static struct kernel_symbol    __ksymtab_fc_linkup  __attribute__((__used__,
40246__unused__, __section__("___ksymtab+fc_linkup")))  =    {(unsigned long )(& fc_linkup), __kstrtab_fc_linkup};
40247#line 584 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40248void __fc_linkdown(struct fc_lport *lport ) 
40249{ unsigned long __cil_tmp2 ;
40250  unsigned long __cil_tmp3 ;
40251  unsigned long __cil_tmp4 ;
40252  unsigned long __cil_tmp5 ;
40253  unsigned long __cil_tmp6 ;
40254  unsigned long __cil_tmp7 ;
40255  unsigned long __cil_tmp8 ;
40256  void (*__cil_tmp9)(struct fc_lport * ) ;
40257
40258  {
40259  {
40260#line 586
40261  __cil_tmp2 = (unsigned long )lport;
40262#line 586
40263  __cil_tmp3 = __cil_tmp2 + 600;
40264#line 586
40265  if (*((u8 *)__cil_tmp3)) {
40266    {
40267#line 587
40268    __cil_tmp4 = (unsigned long )lport;
40269#line 587
40270    __cil_tmp5 = __cil_tmp4 + 600;
40271#line 587
40272    *((u8 *)__cil_tmp5) = (u8 )0;
40273#line 588
40274    fc_lport_enter_reset(lport);
40275#line 589
40276    __cil_tmp6 = 328 + 224;
40277#line 589
40278    __cil_tmp7 = (unsigned long )lport;
40279#line 589
40280    __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
40281#line 589
40282    __cil_tmp9 = *((void (**)(struct fc_lport * ))__cil_tmp8);
40283#line 589
40284    (*__cil_tmp9)(lport);
40285    }
40286  } else {
40287
40288  }
40289  }
40290#line 591
40291  return;
40292}
40293}
40294#line 597 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40295void fc_linkdown(struct fc_lport *lport ) 
40296{ struct Scsi_Host *__cil_tmp2 ;
40297  unsigned long __cil_tmp3 ;
40298  unsigned long __cil_tmp4 ;
40299  unsigned int __cil_tmp5 ;
40300  unsigned long __cil_tmp6 ;
40301  unsigned long __cil_tmp7 ;
40302  u32 __cil_tmp8 ;
40303  unsigned long __cil_tmp9 ;
40304  unsigned long __cil_tmp10 ;
40305  struct mutex *__cil_tmp11 ;
40306  unsigned long __cil_tmp12 ;
40307  unsigned long __cil_tmp13 ;
40308  struct mutex *__cil_tmp14 ;
40309
40310  {
40311  {
40312#line 599
40313  __cil_tmp2 = *((struct Scsi_Host **)lport);
40314#line 599
40315  __cil_tmp3 = (unsigned long )__cil_tmp2;
40316#line 599
40317  __cil_tmp4 = __cil_tmp3 + 308;
40318#line 599
40319  __cil_tmp5 = *((unsigned int *)__cil_tmp4);
40320#line 599
40321  __cil_tmp6 = (unsigned long )lport;
40322#line 599
40323  __cil_tmp7 = __cil_tmp6 + 788;
40324#line 599
40325  __cil_tmp8 = *((u32 *)__cil_tmp7);
40326#line 599
40327  printk("<6>host%d: libfc: Link down on port (%6.6x)\n", __cil_tmp5, __cil_tmp8);
40328#line 602
40329  __cil_tmp9 = (unsigned long )lport;
40330#line 602
40331  __cil_tmp10 = __cil_tmp9 + 928;
40332#line 602
40333  __cil_tmp11 = (struct mutex *)__cil_tmp10;
40334#line 602
40335  mutex_lock(__cil_tmp11);
40336#line 603
40337  __fc_linkdown(lport);
40338#line 604
40339  __cil_tmp12 = (unsigned long )lport;
40340#line 604
40341  __cil_tmp13 = __cil_tmp12 + 928;
40342#line 604
40343  __cil_tmp14 = (struct mutex *)__cil_tmp13;
40344#line 604
40345  mutex_unlock(__cil_tmp14);
40346  }
40347#line 605
40348  return;
40349}
40350}
40351#line 606
40352extern void *__crc_fc_linkdown  __attribute__((__weak__)) ;
40353#line 606 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40354static unsigned long    __kcrctab_fc_linkdown  __attribute__((__used__, __unused__,
40355__section__("___kcrctab+fc_linkdown")))  =    (unsigned long    )((unsigned long )(& __crc_fc_linkdown));
40356#line 606 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40357static char    __kstrtab_fc_linkdown[12]  __attribute__((__section__("__ksymtab_strings"),
40358__aligned__(1)))  = 
40359#line 606
40360  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'l', 
40361        (char    )'i',      (char    )'n',      (char const   )'k',      (char const   )'d', 
40362        (char    )'o',      (char    )'w',      (char const   )'n',      (char const   )'\000'};
40363#line 606 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40364static struct kernel_symbol    __ksymtab_fc_linkdown  __attribute__((__used__,
40365__unused__, __section__("___ksymtab+fc_linkdown")))  =    {(unsigned long )(& fc_linkdown), __kstrtab_fc_linkdown};
40366#line 615 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40367int fc_fabric_logoff(struct fc_lport *lport ) 
40368{ unsigned long __cil_tmp2 ;
40369  unsigned long __cil_tmp3 ;
40370  unsigned long __cil_tmp4 ;
40371  void (*__cil_tmp5)(struct fc_lport * ) ;
40372  unsigned long __cil_tmp6 ;
40373  unsigned long __cil_tmp7 ;
40374  struct mutex *__cil_tmp8 ;
40375  unsigned long __cil_tmp9 ;
40376  unsigned long __cil_tmp10 ;
40377  unsigned long __cil_tmp11 ;
40378  unsigned long __cil_tmp12 ;
40379  unsigned long __cil_tmp13 ;
40380  int (*__cil_tmp14)(struct fc_rport_priv * ) ;
40381  unsigned long __cil_tmp15 ;
40382  unsigned long __cil_tmp16 ;
40383  struct fc_rport_priv *__cil_tmp17 ;
40384  unsigned long __cil_tmp18 ;
40385  unsigned long __cil_tmp19 ;
40386  struct mutex *__cil_tmp20 ;
40387  unsigned long __cil_tmp21 ;
40388  unsigned long __cil_tmp22 ;
40389  unsigned long __cil_tmp23 ;
40390  void (*__cil_tmp24)(void) ;
40391  unsigned long __cil_tmp25 ;
40392  unsigned long __cil_tmp26 ;
40393  struct mutex *__cil_tmp27 ;
40394  unsigned long __cil_tmp28 ;
40395  unsigned long __cil_tmp29 ;
40396  struct mutex *__cil_tmp30 ;
40397  unsigned long __cil_tmp31 ;
40398  unsigned long __cil_tmp32 ;
40399  struct delayed_work *__cil_tmp33 ;
40400
40401  {
40402  {
40403#line 617
40404  __cil_tmp2 = 328 + 264;
40405#line 617
40406  __cil_tmp3 = (unsigned long )lport;
40407#line 617
40408  __cil_tmp4 = __cil_tmp3 + __cil_tmp2;
40409#line 617
40410  __cil_tmp5 = *((void (**)(struct fc_lport * ))__cil_tmp4);
40411#line 617
40412  (*__cil_tmp5)(lport);
40413#line 618
40414  __cil_tmp6 = (unsigned long )lport;
40415#line 618
40416  __cil_tmp7 = __cil_tmp6 + 928;
40417#line 618
40418  __cil_tmp8 = (struct mutex *)__cil_tmp7;
40419#line 618
40420  mutex_lock(__cil_tmp8);
40421  }
40422  {
40423#line 619
40424  __cil_tmp9 = (unsigned long )lport;
40425#line 619
40426  __cil_tmp10 = __cil_tmp9 + 24;
40427#line 619
40428  if (*((struct fc_rport_priv **)__cil_tmp10)) {
40429    {
40430#line 620
40431    __cil_tmp11 = 328 + 176;
40432#line 620
40433    __cil_tmp12 = (unsigned long )lport;
40434#line 620
40435    __cil_tmp13 = __cil_tmp12 + __cil_tmp11;
40436#line 620
40437    __cil_tmp14 = *((int (**)(struct fc_rport_priv * ))__cil_tmp13);
40438#line 620
40439    __cil_tmp15 = (unsigned long )lport;
40440#line 620
40441    __cil_tmp16 = __cil_tmp15 + 24;
40442#line 620
40443    __cil_tmp17 = *((struct fc_rport_priv **)__cil_tmp16);
40444#line 620
40445    (*__cil_tmp14)(__cil_tmp17);
40446    }
40447  } else {
40448
40449  }
40450  }
40451  {
40452#line 621
40453  __cil_tmp18 = (unsigned long )lport;
40454#line 621
40455  __cil_tmp19 = __cil_tmp18 + 928;
40456#line 621
40457  __cil_tmp20 = (struct mutex *)__cil_tmp19;
40458#line 621
40459  mutex_unlock(__cil_tmp20);
40460#line 622
40461  __cil_tmp21 = 328 + 128;
40462#line 622
40463  __cil_tmp22 = (unsigned long )lport;
40464#line 622
40465  __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
40466#line 622
40467  __cil_tmp24 = *((void (**)(void))__cil_tmp23);
40468#line 622
40469  (*__cil_tmp24)();
40470#line 623
40471  __cil_tmp25 = (unsigned long )lport;
40472#line 623
40473  __cil_tmp26 = __cil_tmp25 + 928;
40474#line 623
40475  __cil_tmp27 = (struct mutex *)__cil_tmp26;
40476#line 623
40477  mutex_lock(__cil_tmp27);
40478#line 624
40479  fc_lport_enter_logo(lport);
40480#line 625
40481  __cil_tmp28 = (unsigned long )lport;
40482#line 625
40483  __cil_tmp29 = __cil_tmp28 + 928;
40484#line 625
40485  __cil_tmp30 = (struct mutex *)__cil_tmp29;
40486#line 625
40487  mutex_unlock(__cil_tmp30);
40488#line 626
40489  __cil_tmp31 = (unsigned long )lport;
40490#line 626
40491  __cil_tmp32 = __cil_tmp31 + 1016;
40492#line 626
40493  __cil_tmp33 = (struct delayed_work *)__cil_tmp32;
40494#line 626
40495  cancel_delayed_work_sync(__cil_tmp33);
40496  }
40497#line 627
40498  return (0);
40499}
40500}
40501#line 629
40502extern void *__crc_fc_fabric_logoff  __attribute__((__weak__)) ;
40503#line 629 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40504static unsigned long    __kcrctab_fc_fabric_logoff  __attribute__((__used__,
40505__unused__, __section__("___kcrctab+fc_fabric_logoff")))  =    (unsigned long    )((unsigned long )(& __crc_fc_fabric_logoff));
40506#line 629 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40507static char    __kstrtab_fc_fabric_logoff[17]  __attribute__((__section__("__ksymtab_strings"),
40508__aligned__(1)))  = 
40509#line 629
40510  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'f', 
40511        (char    )'a',      (char    )'b',      (char const   )'r',      (char const   )'i', 
40512        (char    )'c',      (char    )'_',      (char const   )'l',      (char const   )'o', 
40513        (char    )'g',      (char    )'o',      (char const   )'f',      (char const   )'f', 
40514        (char    )'\000'};
40515#line 629 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40516static struct kernel_symbol    __ksymtab_fc_fabric_logoff  __attribute__((__used__,
40517__unused__, __section__("___ksymtab+fc_fabric_logoff")))  =    {(unsigned long )(& fc_fabric_logoff), __kstrtab_fc_fabric_logoff};
40518#line 641 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40519int fc_lport_destroy(struct fc_lport *lport ) 
40520{ unsigned long __cil_tmp2 ;
40521  unsigned long __cil_tmp3 ;
40522  struct mutex *__cil_tmp4 ;
40523  unsigned long __cil_tmp5 ;
40524  unsigned long __cil_tmp6 ;
40525  unsigned long __cil_tmp7 ;
40526  unsigned long __cil_tmp8 ;
40527  unsigned long __cil_tmp9 ;
40528  unsigned long __cil_tmp10 ;
40529  unsigned long __cil_tmp11 ;
40530  unsigned long __cil_tmp12 ;
40531  struct mutex *__cil_tmp13 ;
40532  unsigned long __cil_tmp14 ;
40533  unsigned long __cil_tmp15 ;
40534  unsigned long __cil_tmp16 ;
40535  void (*__cil_tmp17)(struct fc_lport * ) ;
40536  unsigned long __cil_tmp18 ;
40537  unsigned long __cil_tmp19 ;
40538  unsigned long __cil_tmp20 ;
40539  void (*__cil_tmp21)(struct fc_lport * ) ;
40540  unsigned long __cil_tmp22 ;
40541  unsigned long __cil_tmp23 ;
40542  unsigned long __cil_tmp24 ;
40543  void (*__cil_tmp25)(struct fc_lport * , u32 s_id , u32 d_id ) ;
40544  u32 __cil_tmp26 ;
40545  u32 __cil_tmp27 ;
40546
40547  {
40548  {
40549#line 643
40550  __cil_tmp2 = (unsigned long )lport;
40551#line 643
40552  __cil_tmp3 = __cil_tmp2 + 928;
40553#line 643
40554  __cil_tmp4 = (struct mutex *)__cil_tmp3;
40555#line 643
40556  mutex_lock(__cil_tmp4);
40557#line 644
40558  __cil_tmp5 = (unsigned long )lport;
40559#line 644
40560  __cil_tmp6 = __cil_tmp5 + 604;
40561#line 644
40562  *((enum fc_lport_state *)__cil_tmp6) = (enum fc_lport_state )0;
40563#line 645
40564  __cil_tmp7 = (unsigned long )lport;
40565#line 645
40566  __cil_tmp8 = __cil_tmp7 + 600;
40567#line 645
40568  *((u8 *)__cil_tmp8) = (u8 )0;
40569#line 646
40570  __cil_tmp9 = (unsigned long )lport;
40571#line 646
40572  __cil_tmp10 = __cil_tmp9 + 328;
40573#line 646
40574  *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp10) = & fc_frame_drop;
40575#line 647
40576  __cil_tmp11 = (unsigned long )lport;
40577#line 647
40578  __cil_tmp12 = __cil_tmp11 + 928;
40579#line 647
40580  __cil_tmp13 = (struct mutex *)__cil_tmp12;
40581#line 647
40582  mutex_unlock(__cil_tmp13);
40583#line 649
40584  __cil_tmp14 = 328 + 232;
40585#line 649
40586  __cil_tmp15 = (unsigned long )lport;
40587#line 649
40588  __cil_tmp16 = __cil_tmp15 + __cil_tmp14;
40589#line 649
40590  __cil_tmp17 = *((void (**)(struct fc_lport * ))__cil_tmp16);
40591#line 649
40592  (*__cil_tmp17)(lport);
40593#line 650
40594  __cil_tmp18 = 328 + 264;
40595#line 650
40596  __cil_tmp19 = (unsigned long )lport;
40597#line 650
40598  __cil_tmp20 = __cil_tmp19 + __cil_tmp18;
40599#line 650
40600  __cil_tmp21 = *((void (**)(struct fc_lport * ))__cil_tmp20);
40601#line 650
40602  (*__cil_tmp21)(lport);
40603#line 651
40604  __cil_tmp22 = 328 + 120;
40605#line 651
40606  __cil_tmp23 = (unsigned long )lport;
40607#line 651
40608  __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
40609#line 651
40610  __cil_tmp25 = *((void (**)(struct fc_lport * , u32 s_id , u32 d_id ))__cil_tmp24);
40611#line 651
40612  __cil_tmp26 = (u32 )0;
40613#line 651
40614  __cil_tmp27 = (u32 )0;
40615#line 651
40616  (*__cil_tmp25)(lport, __cil_tmp26, __cil_tmp27);
40617#line 652
40618  fc_fc4_del_lport(lport);
40619  }
40620#line 653
40621  return (0);
40622}
40623}
40624#line 655
40625extern void *__crc_fc_lport_destroy  __attribute__((__weak__)) ;
40626#line 655 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40627static unsigned long    __kcrctab_fc_lport_destroy  __attribute__((__used__,
40628__unused__, __section__("___kcrctab+fc_lport_destroy")))  =    (unsigned long    )((unsigned long )(& __crc_fc_lport_destroy));
40629#line 655 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40630static char    __kstrtab_fc_lport_destroy[17]  __attribute__((__section__("__ksymtab_strings"),
40631__aligned__(1)))  = 
40632#line 655
40633  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'l', 
40634        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
40635        (char    )'_',      (char    )'d',      (char const   )'e',      (char const   )'s', 
40636        (char    )'t',      (char    )'r',      (char const   )'o',      (char const   )'y', 
40637        (char    )'\000'};
40638#line 655 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40639static struct kernel_symbol    __ksymtab_fc_lport_destroy  __attribute__((__used__,
40640__unused__, __section__("___ksymtab+fc_lport_destroy")))  =    {(unsigned long )(& fc_lport_destroy), __kstrtab_fc_lport_destroy};
40641#line 662 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40642int fc_set_mfs(struct fc_lport *lport , u32 mfs ) 
40643{ unsigned int old_mfs ;
40644  int rc ;
40645  unsigned long __cil_tmp5 ;
40646  unsigned long __cil_tmp6 ;
40647  struct mutex *__cil_tmp7 ;
40648  unsigned long __cil_tmp8 ;
40649  unsigned long __cil_tmp9 ;
40650  unsigned long __cil_tmp10 ;
40651  unsigned long __cil_tmp11 ;
40652  unsigned long __cil_tmp12 ;
40653  unsigned long __cil_tmp13 ;
40654  unsigned long __cil_tmp14 ;
40655  unsigned long __cil_tmp15 ;
40656  struct mutex *__cil_tmp16 ;
40657
40658  {
40659  {
40660#line 665
40661  rc = -22;
40662#line 667
40663  __cil_tmp5 = (unsigned long )lport;
40664#line 667
40665  __cil_tmp6 = __cil_tmp5 + 928;
40666#line 667
40667  __cil_tmp7 = (struct mutex *)__cil_tmp6;
40668#line 667
40669  mutex_lock(__cil_tmp7);
40670#line 669
40671  __cil_tmp8 = (unsigned long )lport;
40672#line 669
40673  __cil_tmp9 = __cil_tmp8 + 876;
40674#line 669
40675  old_mfs = *((u32 *)__cil_tmp9);
40676  }
40677#line 671
40678  if (mfs >= 280U) {
40679#line 672
40680    mfs = mfs & 4294967292U;
40681#line 673
40682    if (mfs > 2136U) {
40683#line 674
40684      mfs = 2136U;
40685    } else {
40686
40687    }
40688#line 675
40689    __cil_tmp10 = (unsigned long )mfs;
40690#line 675
40691    __cil_tmp11 = __cil_tmp10 - 24UL;
40692#line 675
40693    mfs = (u32 )__cil_tmp11;
40694#line 676
40695    __cil_tmp12 = (unsigned long )lport;
40696#line 676
40697    __cil_tmp13 = __cil_tmp12 + 876;
40698#line 676
40699    *((u32 *)__cil_tmp13) = mfs;
40700#line 677
40701    rc = 0;
40702  } else {
40703
40704  }
40705#line 680
40706  if (! rc) {
40707#line 680
40708    if (mfs < old_mfs) {
40709      {
40710#line 681
40711      fc_lport_enter_reset(lport);
40712      }
40713    } else {
40714
40715    }
40716  } else {
40717
40718  }
40719  {
40720#line 683
40721  __cil_tmp14 = (unsigned long )lport;
40722#line 683
40723  __cil_tmp15 = __cil_tmp14 + 928;
40724#line 683
40725  __cil_tmp16 = (struct mutex *)__cil_tmp15;
40726#line 683
40727  mutex_unlock(__cil_tmp16);
40728  }
40729#line 685
40730  return (rc);
40731}
40732}
40733#line 687
40734extern void *__crc_fc_set_mfs  __attribute__((__weak__)) ;
40735#line 687 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40736static unsigned long    __kcrctab_fc_set_mfs  __attribute__((__used__, __unused__,
40737__section__("___kcrctab+fc_set_mfs")))  =    (unsigned long    )((unsigned long )(& __crc_fc_set_mfs));
40738#line 687 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40739static char    __kstrtab_fc_set_mfs[11]  __attribute__((__section__("__ksymtab_strings"),
40740__aligned__(1)))  = 
40741#line 687
40742  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'s', 
40743        (char    )'e',      (char    )'t',      (char const   )'_',      (char const   )'m', 
40744        (char    )'f',      (char    )'s',      (char const   )'\000'};
40745#line 687 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40746static struct kernel_symbol    __ksymtab_fc_set_mfs  __attribute__((__used__,
40747__unused__, __section__("___ksymtab+fc_set_mfs")))  =    {(unsigned long )(& fc_set_mfs), __kstrtab_fc_set_mfs};
40748#line 694 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40749static void fc_lport_disc_callback(struct fc_lport *lport , enum fc_disc_event event ) 
40750{ long tmp___7 ;
40751  int __ret_warn_on ;
40752  long tmp___8 ;
40753  unsigned int *__cil_tmp6 ;
40754  unsigned int __cil_tmp7 ;
40755  unsigned int __cil_tmp8 ;
40756  int __cil_tmp9 ;
40757  int __cil_tmp10 ;
40758  long __cil_tmp11 ;
40759  struct Scsi_Host *__cil_tmp12 ;
40760  unsigned long __cil_tmp13 ;
40761  unsigned long __cil_tmp14 ;
40762  unsigned int __cil_tmp15 ;
40763  unsigned long __cil_tmp16 ;
40764  unsigned long __cil_tmp17 ;
40765  u32 __cil_tmp18 ;
40766  struct Scsi_Host *__cil_tmp19 ;
40767  unsigned long __cil_tmp20 ;
40768  unsigned long __cil_tmp21 ;
40769  unsigned int __cil_tmp22 ;
40770  unsigned long __cil_tmp23 ;
40771  unsigned long __cil_tmp24 ;
40772  u32 __cil_tmp25 ;
40773  unsigned long __cil_tmp26 ;
40774  unsigned long __cil_tmp27 ;
40775  struct mutex *__cil_tmp28 ;
40776  unsigned long __cil_tmp29 ;
40777  unsigned long __cil_tmp30 ;
40778  struct mutex *__cil_tmp31 ;
40779  int __cil_tmp32 ;
40780  int __cil_tmp33 ;
40781  long __cil_tmp34 ;
40782  int    __cil_tmp35 ;
40783  int __cil_tmp36 ;
40784  int __cil_tmp37 ;
40785  long __cil_tmp38 ;
40786
40787  {
40788#line 698
40789  if ((int )event == 1) {
40790#line 698
40791    goto case_1;
40792  } else
40793#line 701
40794  if ((int )event == 2) {
40795#line 701
40796    goto case_2;
40797  } else
40798#line 709
40799  if ((int )event == 0) {
40800#line 709
40801    goto case_0;
40802  } else
40803#line 697
40804  if (0) {
40805    case_1: /* CIL Label */ 
40806    {
40807#line 699
40808    while (1) {
40809      while_continue: /* CIL Label */ ;
40810      {
40811#line 699
40812      __cil_tmp6 = & fc_debug_logging;
40813#line 699
40814      __cil_tmp7 = *__cil_tmp6;
40815#line 699
40816      __cil_tmp8 = __cil_tmp7 & 2U;
40817#line 699
40818      __cil_tmp9 = ! __cil_tmp8;
40819#line 699
40820      __cil_tmp10 = ! __cil_tmp9;
40821#line 699
40822      __cil_tmp11 = (long )__cil_tmp10;
40823#line 699
40824      tmp___7 = __builtin_expect(__cil_tmp11, 0L);
40825      }
40826#line 699
40827      if (tmp___7) {
40828        {
40829#line 699
40830        while (1) {
40831          while_continue___0: /* CIL Label */ ;
40832          {
40833#line 699
40834          __cil_tmp12 = *((struct Scsi_Host **)lport);
40835#line 699
40836          __cil_tmp13 = (unsigned long )__cil_tmp12;
40837#line 699
40838          __cil_tmp14 = __cil_tmp13 + 308;
40839#line 699
40840          __cil_tmp15 = *((unsigned int *)__cil_tmp14);
40841#line 699
40842          __cil_tmp16 = (unsigned long )lport;
40843#line 699
40844          __cil_tmp17 = __cil_tmp16 + 788;
40845#line 699
40846          __cil_tmp18 = *((u32 *)__cil_tmp17);
40847#line 699
40848          printk("<6>host%u: lport %6.6x: Discovery succeeded\n", __cil_tmp15, __cil_tmp18);
40849          }
40850#line 699
40851          goto while_break___0;
40852        }
40853        while_break___0: /* CIL Label */ ;
40854        }
40855      } else {
40856
40857      }
40858#line 699
40859      goto while_break;
40860    }
40861    while_break: /* CIL Label */ ;
40862    }
40863#line 700
40864    goto switch_break;
40865    case_2: /* CIL Label */ 
40866    {
40867#line 702
40868    __cil_tmp19 = *((struct Scsi_Host **)lport);
40869#line 702
40870    __cil_tmp20 = (unsigned long )__cil_tmp19;
40871#line 702
40872    __cil_tmp21 = __cil_tmp20 + 308;
40873#line 702
40874    __cil_tmp22 = *((unsigned int *)__cil_tmp21);
40875#line 702
40876    __cil_tmp23 = (unsigned long )lport;
40877#line 702
40878    __cil_tmp24 = __cil_tmp23 + 788;
40879#line 702
40880    __cil_tmp25 = *((u32 *)__cil_tmp24);
40881#line 702
40882    printk("<3>host%d: libfc: Discovery failed for port (%6.6x)\n", __cil_tmp22, __cil_tmp25);
40883#line 705
40884    __cil_tmp26 = (unsigned long )lport;
40885#line 705
40886    __cil_tmp27 = __cil_tmp26 + 928;
40887#line 705
40888    __cil_tmp28 = (struct mutex *)__cil_tmp27;
40889#line 705
40890    mutex_lock(__cil_tmp28);
40891#line 706
40892    fc_lport_enter_reset(lport);
40893#line 707
40894    __cil_tmp29 = (unsigned long )lport;
40895#line 707
40896    __cil_tmp30 = __cil_tmp29 + 928;
40897#line 707
40898    __cil_tmp31 = (struct mutex *)__cil_tmp30;
40899#line 707
40900    mutex_unlock(__cil_tmp31);
40901    }
40902#line 708
40903    goto switch_break;
40904    case_0: /* CIL Label */ 
40905    {
40906#line 710
40907    __ret_warn_on = 1;
40908#line 710
40909    __cil_tmp32 = ! __ret_warn_on;
40910#line 710
40911    __cil_tmp33 = ! __cil_tmp32;
40912#line 710
40913    __cil_tmp34 = (long )__cil_tmp33;
40914#line 710
40915    tmp___8 = __builtin_expect(__cil_tmp34, 0L);
40916    }
40917#line 710
40918    if (tmp___8) {
40919      {
40920#line 710
40921      __cil_tmp35 = (int    )710;
40922#line 710
40923      warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c",
40924                         __cil_tmp35);
40925      }
40926    } else {
40927
40928    }
40929    {
40930#line 710
40931    __cil_tmp36 = ! __ret_warn_on;
40932#line 710
40933    __cil_tmp37 = ! __cil_tmp36;
40934#line 710
40935    __cil_tmp38 = (long )__cil_tmp37;
40936#line 710
40937    __builtin_expect(__cil_tmp38, 0L);
40938    }
40939#line 711
40940    goto switch_break;
40941  } else {
40942    switch_break: /* CIL Label */ ;
40943  }
40944#line 713
40945  return;
40946}
40947}
40948#line 722 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
40949static void fc_lport_enter_ready(struct fc_lport *lport ) 
40950{ char    *tmp___7 ;
40951  long tmp___8 ;
40952  unsigned int *__cil_tmp4 ;
40953  unsigned int __cil_tmp5 ;
40954  unsigned int __cil_tmp6 ;
40955  int __cil_tmp7 ;
40956  int __cil_tmp8 ;
40957  long __cil_tmp9 ;
40958  struct Scsi_Host *__cil_tmp10 ;
40959  unsigned long __cil_tmp11 ;
40960  unsigned long __cil_tmp12 ;
40961  unsigned int __cil_tmp13 ;
40962  unsigned long __cil_tmp14 ;
40963  unsigned long __cil_tmp15 ;
40964  u32 __cil_tmp16 ;
40965  enum fc_lport_state __cil_tmp17 ;
40966  unsigned long __cil_tmp18 ;
40967  unsigned long __cil_tmp19 ;
40968  unsigned long __cil_tmp20 ;
40969  unsigned long __cil_tmp21 ;
40970  struct fc_vport *__cil_tmp22 ;
40971  enum fc_vport_state __cil_tmp23 ;
40972  unsigned long __cil_tmp24 ;
40973  unsigned long __cil_tmp25 ;
40974  struct fc_rport_priv *__cil_tmp26 ;
40975  unsigned long __cil_tmp27 ;
40976  unsigned long __cil_tmp28 ;
40977  unsigned long __cil_tmp29 ;
40978  void (*__cil_tmp30)(void (*disc_callback)(struct fc_lport * , enum fc_disc_event  ) ,
40979                      struct fc_lport * ) ;
40980
40981  {
40982  {
40983#line 724
40984  while (1) {
40985    while_continue: /* CIL Label */ ;
40986    {
40987#line 724
40988    __cil_tmp4 = & fc_debug_logging;
40989#line 724
40990    __cil_tmp5 = *__cil_tmp4;
40991#line 724
40992    __cil_tmp6 = __cil_tmp5 & 2U;
40993#line 724
40994    __cil_tmp7 = ! __cil_tmp6;
40995#line 724
40996    __cil_tmp8 = ! __cil_tmp7;
40997#line 724
40998    __cil_tmp9 = (long )__cil_tmp8;
40999#line 724
41000    tmp___8 = __builtin_expect(__cil_tmp9, 0L);
41001    }
41002#line 724
41003    if (tmp___8) {
41004      {
41005#line 724
41006      while (1) {
41007        while_continue___0: /* CIL Label */ ;
41008        {
41009#line 724
41010        tmp___7 = fc_lport_state(lport);
41011#line 724
41012        __cil_tmp10 = *((struct Scsi_Host **)lport);
41013#line 724
41014        __cil_tmp11 = (unsigned long )__cil_tmp10;
41015#line 724
41016        __cil_tmp12 = __cil_tmp11 + 308;
41017#line 724
41018        __cil_tmp13 = *((unsigned int *)__cil_tmp12);
41019#line 724
41020        __cil_tmp14 = (unsigned long )lport;
41021#line 724
41022        __cil_tmp15 = __cil_tmp14 + 788;
41023#line 724
41024        __cil_tmp16 = *((u32 *)__cil_tmp15);
41025#line 724
41026        printk("<6>host%u: lport %6.6x: Entered READY from state %s\n", __cil_tmp13,
41027               __cil_tmp16, tmp___7);
41028        }
41029#line 724
41030        goto while_break___0;
41031      }
41032      while_break___0: /* CIL Label */ ;
41033      }
41034    } else {
41035
41036    }
41037#line 724
41038    goto while_break;
41039  }
41040  while_break: /* CIL Label */ ;
41041  }
41042  {
41043#line 727
41044  __cil_tmp17 = (enum fc_lport_state )14;
41045#line 727
41046  fc_lport_state_enter(lport, __cil_tmp17);
41047  }
41048  {
41049#line 728
41050  __cil_tmp18 = (unsigned long )lport;
41051#line 728
41052  __cil_tmp19 = __cil_tmp18 + 320;
41053#line 728
41054  if (*((struct fc_vport **)__cil_tmp19)) {
41055    {
41056#line 729
41057    __cil_tmp20 = (unsigned long )lport;
41058#line 729
41059    __cil_tmp21 = __cil_tmp20 + 320;
41060#line 729
41061    __cil_tmp22 = *((struct fc_vport **)__cil_tmp21);
41062#line 729
41063    __cil_tmp23 = (enum fc_vport_state )1;
41064#line 729
41065    fc_vport_set_state(__cil_tmp22, __cil_tmp23);
41066    }
41067  } else {
41068
41069  }
41070  }
41071  {
41072#line 730
41073  fc_vports_linkchange(lport);
41074  }
41075  {
41076#line 732
41077  __cil_tmp24 = (unsigned long )lport;
41078#line 732
41079  __cil_tmp25 = __cil_tmp24 + 40;
41080#line 732
41081  __cil_tmp26 = *((struct fc_rport_priv **)__cil_tmp25);
41082#line 732
41083  if (! __cil_tmp26) {
41084    {
41085#line 733
41086    __cil_tmp27 = 328 + 248;
41087#line 733
41088    __cil_tmp28 = (unsigned long )lport;
41089#line 733
41090    __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
41091#line 733
41092    __cil_tmp30 = *((void (**)(void (*disc_callback)(struct fc_lport * , enum fc_disc_event  ) ,
41093                               struct fc_lport * ))__cil_tmp29);
41094#line 733
41095    (*__cil_tmp30)(& fc_lport_disc_callback, lport);
41096    }
41097  } else {
41098
41099  }
41100  }
41101#line 734
41102  return;
41103}
41104}
41105#line 745 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
41106static void fc_lport_set_port_id(struct fc_lport *lport , u32 port_id , struct fc_frame *fp ) 
41107{ struct Scsi_Host *__cil_tmp4 ;
41108  unsigned long __cil_tmp5 ;
41109  unsigned long __cil_tmp6 ;
41110  unsigned int __cil_tmp7 ;
41111  unsigned long __cil_tmp8 ;
41112  unsigned long __cil_tmp9 ;
41113  struct Scsi_Host *__cil_tmp10 ;
41114  unsigned long __cil_tmp11 ;
41115  unsigned long __cil_tmp12 ;
41116  void *__cil_tmp13 ;
41117  struct fc_host_attrs *__cil_tmp14 ;
41118  unsigned long __cil_tmp15 ;
41119  unsigned long __cil_tmp16 ;
41120  unsigned long __cil_tmp17 ;
41121  unsigned long __cil_tmp18 ;
41122  unsigned long __cil_tmp19 ;
41123  unsigned long __cil_tmp20 ;
41124  unsigned long __cil_tmp21 ;
41125  unsigned long __cil_tmp22 ;
41126  void (*__cil_tmp23)(struct fc_lport * , u32 port_id , struct fc_frame * ) ;
41127
41128  {
41129#line 748
41130  if (port_id) {
41131    {
41132#line 749
41133    __cil_tmp4 = *((struct Scsi_Host **)lport);
41134#line 749
41135    __cil_tmp5 = (unsigned long )__cil_tmp4;
41136#line 749
41137    __cil_tmp6 = __cil_tmp5 + 308;
41138#line 749
41139    __cil_tmp7 = *((unsigned int *)__cil_tmp6);
41140#line 749
41141    printk("<6>host%d: Assigned Port ID %6.6x\n", __cil_tmp7, port_id);
41142    }
41143  } else {
41144
41145  }
41146#line 752
41147  __cil_tmp8 = (unsigned long )lport;
41148#line 752
41149  __cil_tmp9 = __cil_tmp8 + 788;
41150#line 752
41151  *((u32 *)__cil_tmp9) = port_id;
41152#line 755
41153  __cil_tmp10 = *((struct Scsi_Host **)lport);
41154#line 755
41155  __cil_tmp11 = (unsigned long )__cil_tmp10;
41156#line 755
41157  __cil_tmp12 = __cil_tmp11 + 2024;
41158#line 755
41159  __cil_tmp13 = *((void **)__cil_tmp12);
41160#line 755
41161  __cil_tmp14 = (struct fc_host_attrs *)__cil_tmp13;
41162#line 755
41163  __cil_tmp15 = (unsigned long )__cil_tmp14;
41164#line 755
41165  __cil_tmp16 = __cil_tmp15 + 1000;
41166#line 755
41167  *((u32 *)__cil_tmp16) = port_id;
41168  {
41169#line 757
41170  __cil_tmp17 = 328 + 152;
41171#line 757
41172  __cil_tmp18 = (unsigned long )lport;
41173#line 757
41174  __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
41175#line 757
41176  if (*((void (**)(struct fc_lport * , u32 port_id , struct fc_frame * ))__cil_tmp19)) {
41177    {
41178#line 758
41179    __cil_tmp20 = 328 + 152;
41180#line 758
41181    __cil_tmp21 = (unsigned long )lport;
41182#line 758
41183    __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
41184#line 758
41185    __cil_tmp23 = *((void (**)(struct fc_lport * , u32 port_id , struct fc_frame * ))__cil_tmp22);
41186#line 758
41187    (*__cil_tmp23)(lport, port_id, fp);
41188    }
41189  } else {
41190
41191  }
41192  }
41193#line 759
41194  return;
41195}
41196}
41197#line 770 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
41198void fc_lport_set_local_id(struct fc_lport *lport , u32 port_id ) 
41199{ unsigned long __cil_tmp3 ;
41200  unsigned long __cil_tmp4 ;
41201  struct mutex *__cil_tmp5 ;
41202  void *__cil_tmp6 ;
41203  struct fc_frame *__cil_tmp7 ;
41204  unsigned long __cil_tmp8 ;
41205  unsigned long __cil_tmp9 ;
41206  enum fc_lport_state __cil_tmp10 ;
41207  unsigned long __cil_tmp11 ;
41208  unsigned long __cil_tmp12 ;
41209  struct mutex *__cil_tmp13 ;
41210
41211  {
41212  {
41213#line 772
41214  __cil_tmp3 = (unsigned long )lport;
41215#line 772
41216  __cil_tmp4 = __cil_tmp3 + 928;
41217#line 772
41218  __cil_tmp5 = (struct mutex *)__cil_tmp4;
41219#line 772
41220  mutex_lock(__cil_tmp5);
41221#line 774
41222  __cil_tmp6 = (void *)0;
41223#line 774
41224  __cil_tmp7 = (struct fc_frame *)__cil_tmp6;
41225#line 774
41226  fc_lport_set_port_id(lport, port_id, __cil_tmp7);
41227  }
41228  {
41229#line 776
41230  __cil_tmp8 = (unsigned long )lport;
41231#line 776
41232  __cil_tmp9 = __cil_tmp8 + 604;
41233#line 776
41234  __cil_tmp10 = *((enum fc_lport_state *)__cil_tmp9);
41235#line 777
41236  if ((int )__cil_tmp10 == 16) {
41237#line 777
41238    goto case_16;
41239  } else
41240#line 778
41241  if ((int )__cil_tmp10 == 1) {
41242#line 778
41243    goto case_16;
41244  } else {
41245    {
41246#line 782
41247    goto switch_default;
41248#line 776
41249    if (0) {
41250      case_16: /* CIL Label */ 
41251      case_1: /* CIL Label */ 
41252#line 779
41253      if (port_id) {
41254        {
41255#line 780
41256        fc_lport_enter_ready(lport);
41257        }
41258      } else {
41259
41260      }
41261#line 781
41262      goto switch_break;
41263      switch_default: /* CIL Label */ 
41264#line 783
41265      goto switch_break;
41266    } else {
41267      switch_break: /* CIL Label */ ;
41268    }
41269    }
41270  }
41271  }
41272  {
41273#line 785
41274  __cil_tmp11 = (unsigned long )lport;
41275#line 785
41276  __cil_tmp12 = __cil_tmp11 + 928;
41277#line 785
41278  __cil_tmp13 = (struct mutex *)__cil_tmp12;
41279#line 785
41280  mutex_unlock(__cil_tmp13);
41281  }
41282#line 786
41283  return;
41284}
41285}
41286#line 787
41287extern void *__crc_fc_lport_set_local_id  __attribute__((__weak__)) ;
41288#line 787 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
41289static unsigned long    __kcrctab_fc_lport_set_local_id  __attribute__((__used__,
41290__unused__, __section__("___kcrctab+fc_lport_set_local_id")))  =    (unsigned long    )((unsigned long )(& __crc_fc_lport_set_local_id));
41291#line 787 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
41292static char    __kstrtab_fc_lport_set_local_id[22]  __attribute__((__section__("__ksymtab_strings"),
41293__aligned__(1)))  = 
41294#line 787
41295  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'l', 
41296        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
41297        (char    )'_',      (char    )'s',      (char const   )'e',      (char const   )'t', 
41298        (char    )'_',      (char    )'l',      (char const   )'o',      (char const   )'c', 
41299        (char    )'a',      (char    )'l',      (char const   )'_',      (char const   )'i', 
41300        (char    )'d',      (char    )'\000'};
41301#line 787 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
41302static struct kernel_symbol    __ksymtab_fc_lport_set_local_id  __attribute__((__used__,
41303__unused__, __section__("___ksymtab+fc_lport_set_local_id")))  =    {(unsigned long )(& fc_lport_set_local_id), __kstrtab_fc_lport_set_local_id};
41304#line 801 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
41305static void fc_lport_recv_flogi_req(struct fc_lport *lport , struct fc_frame *rx_fp ) 
41306{ struct fc_frame *fp ;
41307  struct fc_frame_header *fh ;
41308  struct fc_els_flogi *flp ;
41309  struct fc_els_flogi *new_flp ;
41310  u64 remote_wwpn ;
41311  u32 remote_fid ;
41312  u32 local_fid ;
41313  char    *tmp___7 ;
41314  long tmp___8 ;
41315  void *tmp___9 ;
41316  long tmp___10 ;
41317  void *tmp___11 ;
41318  u64 tmp___12 ;
41319  unsigned int *__cil_tmp16 ;
41320  unsigned int __cil_tmp17 ;
41321  unsigned int __cil_tmp18 ;
41322  int __cil_tmp19 ;
41323  int __cil_tmp20 ;
41324  long __cil_tmp21 ;
41325  struct Scsi_Host *__cil_tmp22 ;
41326  unsigned long __cil_tmp23 ;
41327  unsigned long __cil_tmp24 ;
41328  unsigned int __cil_tmp25 ;
41329  unsigned long __cil_tmp26 ;
41330  unsigned long __cil_tmp27 ;
41331  u32 __cil_tmp28 ;
41332  struct fc_frame    *__cil_tmp29 ;
41333  struct fc_frame    *__cil_tmp30 ;
41334  unsigned long __cil_tmp31 ;
41335  unsigned long __cil_tmp32 ;
41336  __be64 *__cil_tmp33 ;
41337  void    *__cil_tmp34 ;
41338  unsigned long __cil_tmp35 ;
41339  unsigned long __cil_tmp36 ;
41340  u64 __cil_tmp37 ;
41341  struct Scsi_Host *__cil_tmp38 ;
41342  unsigned long __cil_tmp39 ;
41343  unsigned long __cil_tmp40 ;
41344  unsigned int __cil_tmp41 ;
41345  unsigned int *__cil_tmp42 ;
41346  unsigned int __cil_tmp43 ;
41347  unsigned int __cil_tmp44 ;
41348  int __cil_tmp45 ;
41349  int __cil_tmp46 ;
41350  long __cil_tmp47 ;
41351  struct Scsi_Host *__cil_tmp48 ;
41352  unsigned long __cil_tmp49 ;
41353  unsigned long __cil_tmp50 ;
41354  unsigned int __cil_tmp51 ;
41355  unsigned long __cil_tmp52 ;
41356  unsigned long __cil_tmp53 ;
41357  u32 __cil_tmp54 ;
41358  unsigned long __cil_tmp55 ;
41359  unsigned long __cil_tmp56 ;
41360  u64 __cil_tmp57 ;
41361  struct fc_frame    *__cil_tmp58 ;
41362  struct fc_frame    *__cil_tmp59 ;
41363  enum fc_rctl __cil_tmp60 ;
41364  u32 __cil_tmp61 ;
41365  struct fc_frame    *__cil_tmp62 ;
41366  unsigned long __cil_tmp63 ;
41367  unsigned long __cil_tmp64 ;
41368  unsigned long __cil_tmp65 ;
41369  unsigned long __cil_tmp66 ;
41370  __u8 *__cil_tmp67 ;
41371  unsigned long __cil_tmp68 ;
41372  unsigned long __cil_tmp69 ;
41373  unsigned long __cil_tmp70 ;
41374  unsigned long __cil_tmp71 ;
41375  __u8 *__cil_tmp72 ;
41376  unsigned long __cil_tmp73 ;
41377  unsigned long __cil_tmp74 ;
41378  int (*__cil_tmp75)(struct fc_lport * , struct fc_frame * ) ;
41379  unsigned long __cil_tmp76 ;
41380  unsigned long __cil_tmp77 ;
41381  __be64 *__cil_tmp78 ;
41382  void    *__cil_tmp79 ;
41383
41384  {
41385  {
41386#line 812
41387  while (1) {
41388    while_continue: /* CIL Label */ ;
41389    {
41390#line 812
41391    __cil_tmp16 = & fc_debug_logging;
41392#line 812
41393    __cil_tmp17 = *__cil_tmp16;
41394#line 812
41395    __cil_tmp18 = __cil_tmp17 & 2U;
41396#line 812
41397    __cil_tmp19 = ! __cil_tmp18;
41398#line 812
41399    __cil_tmp20 = ! __cil_tmp19;
41400#line 812
41401    __cil_tmp21 = (long )__cil_tmp20;
41402#line 812
41403    tmp___8 = __builtin_expect(__cil_tmp21, 0L);
41404    }
41405#line 812
41406    if (tmp___8) {
41407      {
41408#line 812
41409      while (1) {
41410        while_continue___0: /* CIL Label */ ;
41411        {
41412#line 812
41413        tmp___7 = fc_lport_state(lport);
41414#line 812
41415        __cil_tmp22 = *((struct Scsi_Host **)lport);
41416#line 812
41417        __cil_tmp23 = (unsigned long )__cil_tmp22;
41418#line 812
41419        __cil_tmp24 = __cil_tmp23 + 308;
41420#line 812
41421        __cil_tmp25 = *((unsigned int *)__cil_tmp24);
41422#line 812
41423        __cil_tmp26 = (unsigned long )lport;
41424#line 812
41425        __cil_tmp27 = __cil_tmp26 + 788;
41426#line 812
41427        __cil_tmp28 = *((u32 *)__cil_tmp27);
41428#line 812
41429        printk("<6>host%u: lport %6.6x: Received FLOGI request while in state %s\n",
41430               __cil_tmp25, __cil_tmp28, tmp___7);
41431        }
41432#line 812
41433        goto while_break___0;
41434      }
41435      while_break___0: /* CIL Label */ ;
41436      }
41437    } else {
41438
41439    }
41440#line 812
41441    goto while_break;
41442  }
41443  while_break: /* CIL Label */ ;
41444  }
41445  {
41446#line 815
41447  __cil_tmp29 = (struct fc_frame    *)rx_fp;
41448#line 815
41449  remote_fid = fc_frame_sid(__cil_tmp29);
41450#line 816
41451  __cil_tmp30 = (struct fc_frame    *)rx_fp;
41452#line 816
41453  tmp___9 = fc_frame_payload_get(__cil_tmp30, 116UL);
41454#line 816
41455  flp = (struct fc_els_flogi *)tmp___9;
41456  }
41457#line 817
41458  if (! flp) {
41459#line 818
41460    goto out;
41461  } else {
41462
41463  }
41464  {
41465#line 819
41466  __cil_tmp31 = (unsigned long )flp;
41467#line 819
41468  __cil_tmp32 = __cil_tmp31 + 20;
41469#line 819
41470  __cil_tmp33 = (__be64 *)__cil_tmp32;
41471#line 819
41472  __cil_tmp34 = (void    *)__cil_tmp33;
41473#line 819
41474  remote_wwpn = get_unaligned_be64(__cil_tmp34);
41475  }
41476  {
41477#line 820
41478  __cil_tmp35 = (unsigned long )lport;
41479#line 820
41480  __cil_tmp36 = __cil_tmp35 + 792;
41481#line 820
41482  __cil_tmp37 = *((u64 *)__cil_tmp36);
41483#line 820
41484  if (remote_wwpn == __cil_tmp37) {
41485    {
41486#line 821
41487    __cil_tmp38 = *((struct Scsi_Host **)lport);
41488#line 821
41489    __cil_tmp39 = (unsigned long )__cil_tmp38;
41490#line 821
41491    __cil_tmp40 = __cil_tmp39 + 308;
41492#line 821
41493    __cil_tmp41 = *((unsigned int *)__cil_tmp40);
41494#line 821
41495    printk("<4>host%d: libfc: Received FLOGI from port with same WWPN %16.16llx\n",
41496           __cil_tmp41, remote_wwpn);
41497    }
41498#line 824
41499    goto out;
41500  } else {
41501
41502  }
41503  }
41504  {
41505#line 826
41506  while (1) {
41507    while_continue___1: /* CIL Label */ ;
41508    {
41509#line 826
41510    __cil_tmp42 = & fc_debug_logging;
41511#line 826
41512    __cil_tmp43 = *__cil_tmp42;
41513#line 826
41514    __cil_tmp44 = __cil_tmp43 & 2U;
41515#line 826
41516    __cil_tmp45 = ! __cil_tmp44;
41517#line 826
41518    __cil_tmp46 = ! __cil_tmp45;
41519#line 826
41520    __cil_tmp47 = (long )__cil_tmp46;
41521#line 826
41522    tmp___10 = __builtin_expect(__cil_tmp47, 0L);
41523    }
41524#line 826
41525    if (tmp___10) {
41526      {
41527#line 826
41528      while (1) {
41529        while_continue___2: /* CIL Label */ ;
41530        {
41531#line 826
41532        __cil_tmp48 = *((struct Scsi_Host **)lport);
41533#line 826
41534        __cil_tmp49 = (unsigned long )__cil_tmp48;
41535#line 826
41536        __cil_tmp50 = __cil_tmp49 + 308;
41537#line 826
41538        __cil_tmp51 = *((unsigned int *)__cil_tmp50);
41539#line 826
41540        __cil_tmp52 = (unsigned long )lport;
41541#line 826
41542        __cil_tmp53 = __cil_tmp52 + 788;
41543#line 826
41544        __cil_tmp54 = *((u32 *)__cil_tmp53);
41545#line 826
41546        printk("<6>host%u: lport %6.6x: FLOGI from port WWPN %16.16llx\n", __cil_tmp51,
41547               __cil_tmp54, remote_wwpn);
41548        }
41549#line 826
41550        goto while_break___2;
41551      }
41552      while_break___2: /* CIL Label */ ;
41553      }
41554    } else {
41555
41556    }
41557#line 826
41558    goto while_break___1;
41559  }
41560  while_break___1: /* CIL Label */ ;
41561  }
41562#line 833
41563  local_fid = (u32 )65793;
41564  {
41565#line 834
41566  __cil_tmp55 = (unsigned long )lport;
41567#line 834
41568  __cil_tmp56 = __cil_tmp55 + 792;
41569#line 834
41570  __cil_tmp57 = *((u64 *)__cil_tmp56);
41571#line 834
41572  if (remote_wwpn < __cil_tmp57) {
41573#line 835
41574    local_fid = (u32 )65794;
41575#line 836
41576    if (! remote_fid) {
41577#line 837
41578      remote_fid = (u32 )65793;
41579    } else
41580#line 836
41581    if (remote_fid == local_fid) {
41582#line 837
41583      remote_fid = (u32 )65793;
41584    } else {
41585
41586    }
41587  } else
41588#line 838
41589  if (! remote_fid) {
41590#line 839
41591    remote_fid = (u32 )65794;
41592  } else {
41593
41594  }
41595  }
41596  {
41597#line 842
41598  fc_lport_set_port_id(lport, local_fid, rx_fp);
41599#line 844
41600  fp = fc_frame_alloc(lport, 116UL);
41601  }
41602#line 845
41603  if (fp) {
41604    {
41605#line 846
41606    __cil_tmp58 = (struct fc_frame    *)fp;
41607#line 846
41608    tmp___11 = fc_frame_payload_get(__cil_tmp58, 116UL);
41609#line 846
41610    new_flp = (struct fc_els_flogi *)tmp___11;
41611#line 847
41612    fc_lport_flogi_fill(lport, new_flp, 4U);
41613#line 848
41614    *((__u8 *)new_flp) = (u8 )2;
41615#line 854
41616    __cil_tmp59 = (struct fc_frame    *)rx_fp;
41617#line 854
41618    __cil_tmp60 = (enum fc_rctl )35;
41619#line 854
41620    __cil_tmp61 = (u32 )0;
41621#line 854
41622    fc_fill_reply_hdr(fp, __cil_tmp59, __cil_tmp60, __cil_tmp61);
41623#line 855
41624    __cil_tmp62 = (struct fc_frame    *)fp;
41625#line 855
41626    fh = fc_frame_header_get(__cil_tmp62);
41627#line 856
41628    __cil_tmp63 = 0 * 1UL;
41629#line 856
41630    __cil_tmp64 = 5 + __cil_tmp63;
41631#line 856
41632    __cil_tmp65 = (unsigned long )fh;
41633#line 856
41634    __cil_tmp66 = __cil_tmp65 + __cil_tmp64;
41635#line 856
41636    __cil_tmp67 = (__u8 *)__cil_tmp66;
41637#line 856
41638    hton24(__cil_tmp67, local_fid);
41639#line 857
41640    __cil_tmp68 = 0 * 1UL;
41641#line 857
41642    __cil_tmp69 = 1 + __cil_tmp68;
41643#line 857
41644    __cil_tmp70 = (unsigned long )fh;
41645#line 857
41646    __cil_tmp71 = __cil_tmp70 + __cil_tmp69;
41647#line 857
41648    __cil_tmp72 = (__u8 *)__cil_tmp71;
41649#line 857
41650    hton24(__cil_tmp72, remote_fid);
41651#line 858
41652    __cil_tmp73 = (unsigned long )lport;
41653#line 858
41654    __cil_tmp74 = __cil_tmp73 + 328;
41655#line 858
41656    __cil_tmp75 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp74);
41657#line 858
41658    (*__cil_tmp75)(lport, fp);
41659    }
41660  } else {
41661    {
41662#line 861
41663    fc_lport_error(lport, fp);
41664    }
41665  }
41666  {
41667#line 863
41668  __cil_tmp76 = (unsigned long )flp;
41669#line 863
41670  __cil_tmp77 = __cil_tmp76 + 28;
41671#line 863
41672  __cil_tmp78 = (__be64 *)__cil_tmp77;
41673#line 863
41674  __cil_tmp79 = (void    *)__cil_tmp78;
41675#line 863
41676  tmp___12 = get_unaligned_be64(__cil_tmp79);
41677#line 863
41678  fc_lport_ptp_setup(lport, remote_fid, remote_wwpn, tmp___12);
41679  }
41680  out: 
41681  {
41682#line 866
41683  fc_frame_free(rx_fp);
41684  }
41685#line 867
41686  return;
41687}
41688}
41689#line 880 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
41690static void fc_lport_recv_els_req(struct fc_lport *lport , struct fc_frame *fp ) 
41691{ void (*recv)(struct fc_lport * , struct fc_frame * ) ;
41692  u8 tmp___7 ;
41693  u32 tmp___8 ;
41694  unsigned long __cil_tmp6 ;
41695  unsigned long __cil_tmp7 ;
41696  struct mutex *__cil_tmp8 ;
41697  unsigned long __cil_tmp9 ;
41698  unsigned long __cil_tmp10 ;
41699  u8 __cil_tmp11 ;
41700  unsigned long __cil_tmp12 ;
41701  unsigned long __cil_tmp13 ;
41702  unsigned long __cil_tmp14 ;
41703  struct fc_frame    *__cil_tmp15 ;
41704  u32 __cil_tmp16 ;
41705  struct fc_frame    *__cil_tmp17 ;
41706  unsigned long __cil_tmp18 ;
41707  unsigned long __cil_tmp19 ;
41708  unsigned long __cil_tmp20 ;
41709  unsigned long __cil_tmp21 ;
41710  unsigned long __cil_tmp22 ;
41711  struct mutex *__cil_tmp23 ;
41712
41713  {
41714  {
41715#line 885
41716  __cil_tmp6 = (unsigned long )lport;
41717#line 885
41718  __cil_tmp7 = __cil_tmp6 + 928;
41719#line 885
41720  __cil_tmp8 = (struct mutex *)__cil_tmp7;
41721#line 885
41722  mutex_lock(__cil_tmp8);
41723  }
41724  {
41725#line 892
41726  __cil_tmp9 = (unsigned long )lport;
41727#line 892
41728  __cil_tmp10 = __cil_tmp9 + 600;
41729#line 892
41730  __cil_tmp11 = *((u8 *)__cil_tmp10);
41731#line 892
41732  if (! __cil_tmp11) {
41733    {
41734#line 893
41735    fc_frame_free(fp);
41736    }
41737  } else {
41738    {
41739#line 898
41740    __cil_tmp12 = 328 + 184;
41741#line 898
41742    __cil_tmp13 = (unsigned long )lport;
41743#line 898
41744    __cil_tmp14 = __cil_tmp13 + __cil_tmp12;
41745#line 898
41746    recv = *((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp14);
41747#line 899
41748    __cil_tmp15 = (struct fc_frame    *)fp;
41749#line 899
41750    tmp___7 = fc_frame_payload_op(__cil_tmp15);
41751    }
41752#line 900
41753    if ((int )tmp___7 == 4) {
41754#line 900
41755      goto case_4;
41756    } else
41757#line 904
41758    if ((int )tmp___7 == 5) {
41759#line 904
41760      goto case_5;
41761    } else
41762#line 908
41763    if ((int )tmp___7 == 97) {
41764#line 908
41765      goto case_97;
41766    } else
41767#line 911
41768    if ((int )tmp___7 == 16) {
41769#line 911
41770      goto case_16;
41771    } else
41772#line 914
41773    if ((int )tmp___7 == 121) {
41774#line 914
41775      goto case_121;
41776    } else
41777#line 917
41778    if ((int )tmp___7 == 120) {
41779#line 917
41780      goto case_120;
41781    } else
41782#line 899
41783    if (0) {
41784      case_4: /* CIL Label */ 
41785      {
41786#line 901
41787      __cil_tmp16 = lport->point_to_multipoint;
41788#line 901
41789      if (! __cil_tmp16) {
41790#line 902
41791        recv = & fc_lport_recv_flogi_req;
41792      } else {
41793
41794      }
41795      }
41796#line 903
41797      goto switch_break;
41798      case_5: /* CIL Label */ 
41799      {
41800#line 905
41801      __cil_tmp17 = (struct fc_frame    *)fp;
41802#line 905
41803      tmp___8 = fc_frame_sid(__cil_tmp17);
41804      }
41805#line 905
41806      if (tmp___8 == 16777214U) {
41807#line 906
41808        recv = & fc_lport_recv_logo_req;
41809      } else {
41810
41811      }
41812#line 907
41813      goto switch_break;
41814      case_97: /* CIL Label */ 
41815#line 909
41816      __cil_tmp18 = 328 + 240;
41817#line 909
41818      __cil_tmp19 = (unsigned long )lport;
41819#line 909
41820      __cil_tmp20 = __cil_tmp19 + __cil_tmp18;
41821#line 909
41822      recv = *((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp20);
41823#line 910
41824      goto switch_break;
41825      case_16: /* CIL Label */ 
41826#line 912
41827      recv = & fc_lport_recv_echo_req;
41828#line 913
41829      goto switch_break;
41830      case_121: /* CIL Label */ 
41831#line 915
41832      recv = & fc_lport_recv_rlir_req;
41833#line 916
41834      goto switch_break;
41835      case_120: /* CIL Label */ 
41836#line 918
41837      recv = & fc_lport_recv_rnid_req;
41838#line 919
41839      goto switch_break;
41840    } else {
41841      switch_break: /* CIL Label */ ;
41842    }
41843    {
41844#line 922
41845    (*recv)(lport, fp);
41846    }
41847  }
41848  }
41849  {
41850#line 924
41851  __cil_tmp21 = (unsigned long )lport;
41852#line 924
41853  __cil_tmp22 = __cil_tmp21 + 928;
41854#line 924
41855  __cil_tmp23 = (struct mutex *)__cil_tmp22;
41856#line 924
41857  mutex_unlock(__cil_tmp23);
41858  }
41859#line 925
41860  return;
41861}
41862}
41863#line 927 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
41864static int fc_lport_els_prli(struct fc_rport_priv *rdata , u32 spp_len , struct fc_els_spp    *spp_in ,
41865                             struct fc_els_spp *spp_out ) 
41866{ 
41867
41868  {
41869#line 931
41870  return (8);
41871}
41872}
41873#line 934 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
41874struct fc4_prov fc_lport_els_prov  =    {& fc_lport_els_prli, (void (*)(struct fc_rport_priv * ))0, & fc_lport_recv_els_req,
41875    (struct module *)0};
41876#line 947 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
41877static void fc_lport_recv_req(struct fc_lport *lport , struct fc_frame *fp ) 
41878{ struct fc_frame_header *fh ;
41879  struct fc_frame_header *tmp___7 ;
41880  struct fc_seq *sp ;
41881  struct fc4_prov *prov ;
41882  struct fc4_prov *_________p1 ;
41883  bool tmp___8 ;
41884  long tmp___9 ;
41885  struct fc_frame    *__cil_tmp10 ;
41886  unsigned long __cil_tmp11 ;
41887  unsigned long __cil_tmp12 ;
41888  unsigned long __cil_tmp13 ;
41889  unsigned long __cil_tmp14 ;
41890  unsigned long __cil_tmp15 ;
41891  char *__cil_tmp16 ;
41892  struct fcoe_rcv_info *__cil_tmp17 ;
41893  unsigned long __cil_tmp18 ;
41894  unsigned long __cil_tmp19 ;
41895  unsigned long __cil_tmp20 ;
41896  unsigned long __cil_tmp21 ;
41897  __u8 __cil_tmp22 ;
41898  int __cil_tmp23 ;
41899  unsigned long __cil_tmp24 ;
41900  unsigned long __cil_tmp25 ;
41901  __u8 __cil_tmp26 ;
41902  unsigned long __cil_tmp27 ;
41903  unsigned long __cil_tmp28 ;
41904  struct fc4_prov **__cil_tmp29 ;
41905  struct fc4_prov * volatile  *__cil_tmp30 ;
41906  struct fc4_prov * volatile  __cil_tmp31 ;
41907  unsigned long __cil_tmp32 ;
41908  unsigned long __cil_tmp33 ;
41909  struct module *__cil_tmp34 ;
41910  unsigned long __cil_tmp35 ;
41911  unsigned long __cil_tmp36 ;
41912  void (*__cil_tmp37)(struct fc_lport * , struct fc_frame * ) ;
41913  unsigned long __cil_tmp38 ;
41914  unsigned long __cil_tmp39 ;
41915  struct module *__cil_tmp40 ;
41916  unsigned int *__cil_tmp41 ;
41917  unsigned int __cil_tmp42 ;
41918  unsigned int __cil_tmp43 ;
41919  int __cil_tmp44 ;
41920  int __cil_tmp45 ;
41921  long __cil_tmp46 ;
41922  struct Scsi_Host *__cil_tmp47 ;
41923  unsigned long __cil_tmp48 ;
41924  unsigned long __cil_tmp49 ;
41925  unsigned int __cil_tmp50 ;
41926  unsigned long __cil_tmp51 ;
41927  unsigned long __cil_tmp52 ;
41928  u32 __cil_tmp53 ;
41929  unsigned long __cil_tmp54 ;
41930  unsigned long __cil_tmp55 ;
41931  __u8 __cil_tmp56 ;
41932  int __cil_tmp57 ;
41933  unsigned long __cil_tmp58 ;
41934  unsigned long __cil_tmp59 ;
41935  unsigned long __cil_tmp60 ;
41936  void (*__cil_tmp61)(struct fc_seq * ) ;
41937
41938  {
41939  {
41940#line 950
41941  __cil_tmp10 = (struct fc_frame    *)fp;
41942#line 950
41943  tmp___7 = fc_frame_header_get(__cil_tmp10);
41944#line 950
41945  fh = tmp___7;
41946#line 951
41947  __cil_tmp11 = 0 * 1UL;
41948#line 951
41949  __cil_tmp12 = 40 + __cil_tmp11;
41950#line 951
41951  __cil_tmp13 = 0 + __cil_tmp12;
41952#line 951
41953  __cil_tmp14 = (unsigned long )fp;
41954#line 951
41955  __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
41956#line 951
41957  __cil_tmp16 = (char *)__cil_tmp15;
41958#line 951
41959  __cil_tmp17 = (struct fcoe_rcv_info *)__cil_tmp16;
41960#line 951
41961  __cil_tmp18 = (unsigned long )__cil_tmp17;
41962#line 951
41963  __cil_tmp19 = __cil_tmp18 + 8;
41964#line 951
41965  sp = *((struct fc_seq **)__cil_tmp19);
41966#line 962
41967  rcu_read_lock();
41968  }
41969  {
41970#line 963
41971  __cil_tmp20 = (unsigned long )fh;
41972#line 963
41973  __cil_tmp21 = __cil_tmp20 + 8;
41974#line 963
41975  __cil_tmp22 = *((__u8 *)__cil_tmp21);
41976#line 963
41977  __cil_tmp23 = (int )__cil_tmp22;
41978#line 963
41979  if (__cil_tmp23 >= 9) {
41980#line 964
41981    goto drop;
41982  } else {
41983
41984  }
41985  }
41986#line 965
41987  __cil_tmp24 = (unsigned long )fh;
41988#line 965
41989  __cil_tmp25 = __cil_tmp24 + 8;
41990#line 965
41991  __cil_tmp26 = *((__u8 *)__cil_tmp25);
41992#line 965
41993  __cil_tmp27 = __cil_tmp26 * 8UL;
41994#line 965
41995  __cil_tmp28 = (unsigned long )(fc_passive_prov) + __cil_tmp27;
41996#line 965
41997  __cil_tmp29 = (struct fc4_prov **)__cil_tmp28;
41998#line 965
41999  __cil_tmp30 = (struct fc4_prov * volatile  *)__cil_tmp29;
42000#line 965
42001  __cil_tmp31 = *__cil_tmp30;
42002#line 965
42003  _________p1 = (struct fc4_prov *)__cil_tmp31;
42004  {
42005#line 965
42006  while (1) {
42007    while_continue: /* CIL Label */ ;
42008#line 965
42009    goto while_break;
42010  }
42011  while_break: /* CIL Label */ ;
42012  }
42013  {
42014#line 965
42015  while (1) {
42016    while_continue___0: /* CIL Label */ ;
42017#line 965
42018    goto while_break___0;
42019  }
42020  while_break___0: /* CIL Label */ ;
42021  }
42022#line 965
42023  prov = _________p1;
42024#line 966
42025  if (! prov) {
42026#line 967
42027    goto drop;
42028  } else {
42029    {
42030#line 966
42031    __cil_tmp32 = (unsigned long )prov;
42032#line 966
42033    __cil_tmp33 = __cil_tmp32 + 24;
42034#line 966
42035    __cil_tmp34 = *((struct module **)__cil_tmp33);
42036#line 966
42037    tmp___8 = try_module_get(__cil_tmp34);
42038    }
42039#line 966
42040    if (tmp___8) {
42041
42042    } else {
42043#line 967
42044      goto drop;
42045    }
42046  }
42047  {
42048#line 968
42049  rcu_read_unlock();
42050#line 969
42051  __cil_tmp35 = (unsigned long )prov;
42052#line 969
42053  __cil_tmp36 = __cil_tmp35 + 16;
42054#line 969
42055  __cil_tmp37 = *((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp36);
42056#line 969
42057  (*__cil_tmp37)(lport, fp);
42058#line 970
42059  __cil_tmp38 = (unsigned long )prov;
42060#line 970
42061  __cil_tmp39 = __cil_tmp38 + 24;
42062#line 970
42063  __cil_tmp40 = *((struct module **)__cil_tmp39);
42064#line 970
42065  module_put(__cil_tmp40);
42066  }
42067#line 971
42068  return;
42069  drop: 
42070  {
42071#line 973
42072  rcu_read_unlock();
42073  }
42074  {
42075#line 974
42076  while (1) {
42077    while_continue___1: /* CIL Label */ ;
42078    {
42079#line 974
42080    __cil_tmp41 = & fc_debug_logging;
42081#line 974
42082    __cil_tmp42 = *__cil_tmp41;
42083#line 974
42084    __cil_tmp43 = __cil_tmp42 & 2U;
42085#line 974
42086    __cil_tmp44 = ! __cil_tmp43;
42087#line 974
42088    __cil_tmp45 = ! __cil_tmp44;
42089#line 974
42090    __cil_tmp46 = (long )__cil_tmp45;
42091#line 974
42092    tmp___9 = __builtin_expect(__cil_tmp46, 0L);
42093    }
42094#line 974
42095    if (tmp___9) {
42096      {
42097#line 974
42098      while (1) {
42099        while_continue___2: /* CIL Label */ ;
42100        {
42101#line 974
42102        __cil_tmp47 = *((struct Scsi_Host **)lport);
42103#line 974
42104        __cil_tmp48 = (unsigned long )__cil_tmp47;
42105#line 974
42106        __cil_tmp49 = __cil_tmp48 + 308;
42107#line 974
42108        __cil_tmp50 = *((unsigned int *)__cil_tmp49);
42109#line 974
42110        __cil_tmp51 = (unsigned long )lport;
42111#line 974
42112        __cil_tmp52 = __cil_tmp51 + 788;
42113#line 974
42114        __cil_tmp53 = *((u32 *)__cil_tmp52);
42115#line 974
42116        __cil_tmp54 = (unsigned long )fh;
42117#line 974
42118        __cil_tmp55 = __cil_tmp54 + 8;
42119#line 974
42120        __cil_tmp56 = *((__u8 *)__cil_tmp55);
42121#line 974
42122        __cil_tmp57 = (int )__cil_tmp56;
42123#line 974
42124        printk("<6>host%u: lport %6.6x: dropping unexpected frame type %x\n", __cil_tmp50,
42125               __cil_tmp53, __cil_tmp57);
42126        }
42127#line 974
42128        goto while_break___2;
42129      }
42130      while_break___2: /* CIL Label */ ;
42131      }
42132    } else {
42133
42134    }
42135#line 974
42136    goto while_break___1;
42137  }
42138  while_break___1: /* CIL Label */ ;
42139  }
42140  {
42141#line 975
42142  fc_frame_free(fp);
42143#line 976
42144  __cil_tmp58 = 328 + 80;
42145#line 976
42146  __cil_tmp59 = (unsigned long )lport;
42147#line 976
42148  __cil_tmp60 = __cil_tmp59 + __cil_tmp58;
42149#line 976
42150  __cil_tmp61 = *((void (**)(struct fc_seq * ))__cil_tmp60);
42151#line 976
42152  (*__cil_tmp61)(sp);
42153  }
42154#line 977
42155  return;
42156}
42157}
42158#line 986 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
42159int fc_lport_reset(struct fc_lport *lport ) 
42160{ unsigned long __cil_tmp2 ;
42161  unsigned long __cil_tmp3 ;
42162  struct delayed_work *__cil_tmp4 ;
42163  unsigned long __cil_tmp5 ;
42164  unsigned long __cil_tmp6 ;
42165  struct mutex *__cil_tmp7 ;
42166  unsigned long __cil_tmp8 ;
42167  unsigned long __cil_tmp9 ;
42168  struct mutex *__cil_tmp10 ;
42169
42170  {
42171  {
42172#line 988
42173  __cil_tmp2 = (unsigned long )lport;
42174#line 988
42175  __cil_tmp3 = __cil_tmp2 + 1016;
42176#line 988
42177  __cil_tmp4 = (struct delayed_work *)__cil_tmp3;
42178#line 988
42179  cancel_delayed_work_sync(__cil_tmp4);
42180#line 989
42181  __cil_tmp5 = (unsigned long )lport;
42182#line 989
42183  __cil_tmp6 = __cil_tmp5 + 928;
42184#line 989
42185  __cil_tmp7 = (struct mutex *)__cil_tmp6;
42186#line 989
42187  mutex_lock(__cil_tmp7);
42188#line 990
42189  fc_lport_enter_reset(lport);
42190#line 991
42191  __cil_tmp8 = (unsigned long )lport;
42192#line 991
42193  __cil_tmp9 = __cil_tmp8 + 928;
42194#line 991
42195  __cil_tmp10 = (struct mutex *)__cil_tmp9;
42196#line 991
42197  mutex_unlock(__cil_tmp10);
42198  }
42199#line 992
42200  return (0);
42201}
42202}
42203#line 994
42204extern void *__crc_fc_lport_reset  __attribute__((__weak__)) ;
42205#line 994 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
42206static unsigned long    __kcrctab_fc_lport_reset  __attribute__((__used__, __unused__,
42207__section__("___kcrctab+fc_lport_reset")))  =    (unsigned long    )((unsigned long )(& __crc_fc_lport_reset));
42208#line 994 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
42209static char    __kstrtab_fc_lport_reset[15]  __attribute__((__section__("__ksymtab_strings"),
42210__aligned__(1)))  = 
42211#line 994
42212  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'l', 
42213        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
42214        (char    )'_',      (char    )'r',      (char const   )'e',      (char const   )'s', 
42215        (char    )'e',      (char    )'t',      (char const   )'\000'};
42216#line 994 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
42217static struct kernel_symbol    __ksymtab_fc_lport_reset  __attribute__((__used__,
42218__unused__, __section__("___ksymtab+fc_lport_reset")))  =    {(unsigned long )(& fc_lport_reset), __kstrtab_fc_lport_reset};
42219#line 1003 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
42220static void fc_lport_reset_locked(struct fc_lport *lport ) 
42221{ unsigned long __cil_tmp2 ;
42222  unsigned long __cil_tmp3 ;
42223  unsigned long __cil_tmp4 ;
42224  unsigned long __cil_tmp5 ;
42225  unsigned long __cil_tmp6 ;
42226  int (*__cil_tmp7)(struct fc_rport_priv * ) ;
42227  unsigned long __cil_tmp8 ;
42228  unsigned long __cil_tmp9 ;
42229  struct fc_rport_priv *__cil_tmp10 ;
42230  unsigned long __cil_tmp11 ;
42231  unsigned long __cil_tmp12 ;
42232  unsigned long __cil_tmp13 ;
42233  unsigned long __cil_tmp14 ;
42234  unsigned long __cil_tmp15 ;
42235  int (*__cil_tmp16)(struct fc_rport_priv * ) ;
42236  unsigned long __cil_tmp17 ;
42237  unsigned long __cil_tmp18 ;
42238  struct fc_rport_priv *__cil_tmp19 ;
42239  unsigned long __cil_tmp20 ;
42240  unsigned long __cil_tmp21 ;
42241  struct fc_rport_priv *__cil_tmp22 ;
42242  unsigned long __cil_tmp23 ;
42243  unsigned long __cil_tmp24 ;
42244  struct kref *__cil_tmp25 ;
42245  unsigned long __cil_tmp26 ;
42246  unsigned long __cil_tmp27 ;
42247  unsigned long __cil_tmp28 ;
42248  void (*__cil_tmp29)(struct kref * ) ;
42249  unsigned long __cil_tmp30 ;
42250  unsigned long __cil_tmp31 ;
42251  void *__cil_tmp32 ;
42252  unsigned long __cil_tmp33 ;
42253  unsigned long __cil_tmp34 ;
42254  unsigned long __cil_tmp35 ;
42255  void (*__cil_tmp36)(struct fc_lport * ) ;
42256  unsigned long __cil_tmp37 ;
42257  unsigned long __cil_tmp38 ;
42258  unsigned long __cil_tmp39 ;
42259  void (*__cil_tmp40)(struct fc_lport * , u32 s_id , u32 d_id ) ;
42260  u32 __cil_tmp41 ;
42261  u32 __cil_tmp42 ;
42262  struct Scsi_Host *__cil_tmp43 ;
42263  unsigned long __cil_tmp44 ;
42264  unsigned long __cil_tmp45 ;
42265  void *__cil_tmp46 ;
42266  struct fc_host_attrs *__cil_tmp47 ;
42267  unsigned long __cil_tmp48 ;
42268  unsigned long __cil_tmp49 ;
42269  unsigned long __cil_tmp50 ;
42270  unsigned long __cil_tmp51 ;
42271  u32 __cil_tmp52 ;
42272  u32 __cil_tmp53 ;
42273  void *__cil_tmp54 ;
42274  struct fc_frame *__cil_tmp55 ;
42275  unsigned long __cil_tmp56 ;
42276  unsigned long __cil_tmp57 ;
42277  u8 __cil_tmp58 ;
42278  u32 __cil_tmp59 ;
42279  void *__cil_tmp60 ;
42280  struct fc_frame *__cil_tmp61 ;
42281
42282  {
42283  {
42284#line 1005
42285  __cil_tmp2 = (unsigned long )lport;
42286#line 1005
42287  __cil_tmp3 = __cil_tmp2 + 24;
42288#line 1005
42289  if (*((struct fc_rport_priv **)__cil_tmp3)) {
42290    {
42291#line 1006
42292    __cil_tmp4 = 328 + 176;
42293#line 1006
42294    __cil_tmp5 = (unsigned long )lport;
42295#line 1006
42296    __cil_tmp6 = __cil_tmp5 + __cil_tmp4;
42297#line 1006
42298    __cil_tmp7 = *((int (**)(struct fc_rport_priv * ))__cil_tmp6);
42299#line 1006
42300    __cil_tmp8 = (unsigned long )lport;
42301#line 1006
42302    __cil_tmp9 = __cil_tmp8 + 24;
42303#line 1006
42304    __cil_tmp10 = *((struct fc_rport_priv **)__cil_tmp9);
42305#line 1006
42306    (*__cil_tmp7)(__cil_tmp10);
42307    }
42308  } else {
42309
42310  }
42311  }
42312  {
42313#line 1008
42314  __cil_tmp11 = (unsigned long )lport;
42315#line 1008
42316  __cil_tmp12 = __cil_tmp11 + 40;
42317#line 1008
42318  if (*((struct fc_rport_priv **)__cil_tmp12)) {
42319    {
42320#line 1009
42321    __cil_tmp13 = 328 + 176;
42322#line 1009
42323    __cil_tmp14 = (unsigned long )lport;
42324#line 1009
42325    __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
42326#line 1009
42327    __cil_tmp16 = *((int (**)(struct fc_rport_priv * ))__cil_tmp15);
42328#line 1009
42329    __cil_tmp17 = (unsigned long )lport;
42330#line 1009
42331    __cil_tmp18 = __cil_tmp17 + 40;
42332#line 1009
42333    __cil_tmp19 = *((struct fc_rport_priv **)__cil_tmp18);
42334#line 1009
42335    (*__cil_tmp16)(__cil_tmp19);
42336#line 1010
42337    __cil_tmp20 = (unsigned long )lport;
42338#line 1010
42339    __cil_tmp21 = __cil_tmp20 + 40;
42340#line 1010
42341    __cil_tmp22 = *((struct fc_rport_priv **)__cil_tmp21);
42342#line 1010
42343    __cil_tmp23 = (unsigned long )__cil_tmp22;
42344#line 1010
42345    __cil_tmp24 = __cil_tmp23 + 16;
42346#line 1010
42347    __cil_tmp25 = (struct kref *)__cil_tmp24;
42348#line 1010
42349    __cil_tmp26 = 328 + 200;
42350#line 1010
42351    __cil_tmp27 = (unsigned long )lport;
42352#line 1010
42353    __cil_tmp28 = __cil_tmp27 + __cil_tmp26;
42354#line 1010
42355    __cil_tmp29 = *((void (**)(struct kref * ))__cil_tmp28);
42356#line 1010
42357    kref_put(__cil_tmp25, __cil_tmp29);
42358#line 1011
42359    __cil_tmp30 = (unsigned long )lport;
42360#line 1011
42361    __cil_tmp31 = __cil_tmp30 + 40;
42362#line 1011
42363    __cil_tmp32 = (void *)0;
42364#line 1011
42365    *((struct fc_rport_priv **)__cil_tmp31) = (struct fc_rport_priv *)__cil_tmp32;
42366    }
42367  } else {
42368
42369  }
42370  }
42371  {
42372#line 1014
42373  __cil_tmp33 = 328 + 256;
42374#line 1014
42375  __cil_tmp34 = (unsigned long )lport;
42376#line 1014
42377  __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
42378#line 1014
42379  __cil_tmp36 = *((void (**)(struct fc_lport * ))__cil_tmp35);
42380#line 1014
42381  (*__cil_tmp36)(lport);
42382#line 1016
42383  __cil_tmp37 = 328 + 120;
42384#line 1016
42385  __cil_tmp38 = (unsigned long )lport;
42386#line 1016
42387  __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
42388#line 1016
42389  __cil_tmp40 = *((void (**)(struct fc_lport * , u32 s_id , u32 d_id ))__cil_tmp39);
42390#line 1016
42391  __cil_tmp41 = (u32 )0;
42392#line 1016
42393  __cil_tmp42 = (u32 )0;
42394#line 1016
42395  (*__cil_tmp40)(lport, __cil_tmp41, __cil_tmp42);
42396#line 1017
42397  __cil_tmp43 = *((struct Scsi_Host **)lport);
42398#line 1017
42399  __cil_tmp44 = (unsigned long )__cil_tmp43;
42400#line 1017
42401  __cil_tmp45 = __cil_tmp44 + 2024;
42402#line 1017
42403  __cil_tmp46 = *((void **)__cil_tmp45);
42404#line 1017
42405  __cil_tmp47 = (struct fc_host_attrs *)__cil_tmp46;
42406#line 1017
42407  __cil_tmp48 = (unsigned long )__cil_tmp47;
42408#line 1017
42409  __cil_tmp49 = __cil_tmp48 + 1048;
42410#line 1017
42411  *((u64 *)__cil_tmp49) = (u64 )0;
42412  }
42413  {
42414#line 1019
42415  __cil_tmp50 = (unsigned long )lport;
42416#line 1019
42417  __cil_tmp51 = __cil_tmp50 + 788;
42418#line 1019
42419  if (*((u32 *)__cil_tmp51)) {
42420    {
42421#line 1019
42422    __cil_tmp52 = lport->point_to_multipoint;
42423#line 1019
42424    if (! __cil_tmp52) {
42425      {
42426#line 1020
42427      __cil_tmp53 = (u32 )0;
42428#line 1020
42429      __cil_tmp54 = (void *)0;
42430#line 1020
42431      __cil_tmp55 = (struct fc_frame *)__cil_tmp54;
42432#line 1020
42433      fc_lport_set_port_id(lport, __cil_tmp53, __cil_tmp55);
42434      }
42435    } else {
42436      {
42437#line 1019
42438      __cil_tmp56 = (unsigned long )lport;
42439#line 1019
42440      __cil_tmp57 = __cil_tmp56 + 600;
42441#line 1019
42442      __cil_tmp58 = *((u8 *)__cil_tmp57);
42443#line 1019
42444      if (! __cil_tmp58) {
42445        {
42446#line 1020
42447        __cil_tmp59 = (u32 )0;
42448#line 1020
42449        __cil_tmp60 = (void *)0;
42450#line 1020
42451        __cil_tmp61 = (struct fc_frame *)__cil_tmp60;
42452#line 1020
42453        fc_lport_set_port_id(lport, __cil_tmp59, __cil_tmp61);
42454        }
42455      } else {
42456
42457      }
42458      }
42459    }
42460    }
42461  } else {
42462
42463  }
42464  }
42465#line 1021
42466  return;
42467}
42468}
42469#line 1030 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
42470static void fc_lport_enter_reset(struct fc_lport *lport ) 
42471{ char    *tmp___7 ;
42472  long tmp___8 ;
42473  u32 tmp___9 ;
42474  unsigned int *__cil_tmp5 ;
42475  unsigned int __cil_tmp6 ;
42476  unsigned int __cil_tmp7 ;
42477  int __cil_tmp8 ;
42478  int __cil_tmp9 ;
42479  long __cil_tmp10 ;
42480  struct Scsi_Host *__cil_tmp11 ;
42481  unsigned long __cil_tmp12 ;
42482  unsigned long __cil_tmp13 ;
42483  unsigned int __cil_tmp14 ;
42484  unsigned long __cil_tmp15 ;
42485  unsigned long __cil_tmp16 ;
42486  u32 __cil_tmp17 ;
42487  unsigned long __cil_tmp18 ;
42488  unsigned long __cil_tmp19 ;
42489  enum fc_lport_state __cil_tmp20 ;
42490  unsigned int __cil_tmp21 ;
42491  unsigned long __cil_tmp22 ;
42492  unsigned long __cil_tmp23 ;
42493  enum fc_lport_state __cil_tmp24 ;
42494  unsigned int __cil_tmp25 ;
42495  unsigned long __cil_tmp26 ;
42496  unsigned long __cil_tmp27 ;
42497  unsigned long __cil_tmp28 ;
42498  unsigned long __cil_tmp29 ;
42499  unsigned long __cil_tmp30 ;
42500  unsigned long __cil_tmp31 ;
42501  struct fc_vport *__cil_tmp32 ;
42502  enum fc_vport_state __cil_tmp33 ;
42503  unsigned long __cil_tmp34 ;
42504  unsigned long __cil_tmp35 ;
42505  struct fc_vport *__cil_tmp36 ;
42506  enum fc_vport_state __cil_tmp37 ;
42507  enum fc_lport_state __cil_tmp38 ;
42508  struct Scsi_Host *__cil_tmp39 ;
42509  enum fc_host_event_code __cil_tmp40 ;
42510  u32 __cil_tmp41 ;
42511  unsigned long __cil_tmp42 ;
42512  unsigned long __cil_tmp43 ;
42513
42514  {
42515  {
42516#line 1032
42517  while (1) {
42518    while_continue: /* CIL Label */ ;
42519    {
42520#line 1032
42521    __cil_tmp5 = & fc_debug_logging;
42522#line 1032
42523    __cil_tmp6 = *__cil_tmp5;
42524#line 1032
42525    __cil_tmp7 = __cil_tmp6 & 2U;
42526#line 1032
42527    __cil_tmp8 = ! __cil_tmp7;
42528#line 1032
42529    __cil_tmp9 = ! __cil_tmp8;
42530#line 1032
42531    __cil_tmp10 = (long )__cil_tmp9;
42532#line 1032
42533    tmp___8 = __builtin_expect(__cil_tmp10, 0L);
42534    }
42535#line 1032
42536    if (tmp___8) {
42537      {
42538#line 1032
42539      while (1) {
42540        while_continue___0: /* CIL Label */ ;
42541        {
42542#line 1032
42543        tmp___7 = fc_lport_state(lport);
42544#line 1032
42545        __cil_tmp11 = *((struct Scsi_Host **)lport);
42546#line 1032
42547        __cil_tmp12 = (unsigned long )__cil_tmp11;
42548#line 1032
42549        __cil_tmp13 = __cil_tmp12 + 308;
42550#line 1032
42551        __cil_tmp14 = *((unsigned int *)__cil_tmp13);
42552#line 1032
42553        __cil_tmp15 = (unsigned long )lport;
42554#line 1032
42555        __cil_tmp16 = __cil_tmp15 + 788;
42556#line 1032
42557        __cil_tmp17 = *((u32 *)__cil_tmp16);
42558#line 1032
42559        printk("<6>host%u: lport %6.6x: Entered RESET state from %s state\n", __cil_tmp14,
42560               __cil_tmp17, tmp___7);
42561        }
42562#line 1032
42563        goto while_break___0;
42564      }
42565      while_break___0: /* CIL Label */ ;
42566      }
42567    } else {
42568
42569    }
42570#line 1032
42571    goto while_break;
42572  }
42573  while_break: /* CIL Label */ ;
42574  }
42575  {
42576#line 1035
42577  __cil_tmp18 = (unsigned long )lport;
42578#line 1035
42579  __cil_tmp19 = __cil_tmp18 + 604;
42580#line 1035
42581  __cil_tmp20 = *((enum fc_lport_state *)__cil_tmp19);
42582#line 1035
42583  __cil_tmp21 = (unsigned int )__cil_tmp20;
42584#line 1035
42585  if (__cil_tmp21 == 0U) {
42586#line 1036
42587    return;
42588  } else {
42589    {
42590#line 1035
42591    __cil_tmp22 = (unsigned long )lport;
42592#line 1035
42593    __cil_tmp23 = __cil_tmp22 + 604;
42594#line 1035
42595    __cil_tmp24 = *((enum fc_lport_state *)__cil_tmp23);
42596#line 1035
42597    __cil_tmp25 = (unsigned int )__cil_tmp24;
42598#line 1035
42599    if (__cil_tmp25 == 15U) {
42600#line 1036
42601      return;
42602    } else {
42603
42604    }
42605    }
42606  }
42607  }
42608  {
42609#line 1038
42610  __cil_tmp26 = (unsigned long )lport;
42611#line 1038
42612  __cil_tmp27 = __cil_tmp26 + 320;
42613#line 1038
42614  if (*((struct fc_vport **)__cil_tmp27)) {
42615    {
42616#line 1039
42617    __cil_tmp28 = (unsigned long )lport;
42618#line 1039
42619    __cil_tmp29 = __cil_tmp28 + 600;
42620#line 1039
42621    if (*((u8 *)__cil_tmp29)) {
42622      {
42623#line 1040
42624      __cil_tmp30 = (unsigned long )lport;
42625#line 1040
42626      __cil_tmp31 = __cil_tmp30 + 320;
42627#line 1040
42628      __cil_tmp32 = *((struct fc_vport **)__cil_tmp31);
42629#line 1040
42630      __cil_tmp33 = (enum fc_vport_state )4;
42631#line 1040
42632      fc_vport_set_state(__cil_tmp32, __cil_tmp33);
42633      }
42634    } else {
42635      {
42636#line 1042
42637      __cil_tmp34 = (unsigned long )lport;
42638#line 1042
42639      __cil_tmp35 = __cil_tmp34 + 320;
42640#line 1042
42641      __cil_tmp36 = *((struct fc_vport **)__cil_tmp35);
42642#line 1042
42643      __cil_tmp37 = (enum fc_vport_state )3;
42644#line 1042
42645      fc_vport_set_state(__cil_tmp36, __cil_tmp37);
42646      }
42647    }
42648    }
42649  } else {
42650
42651  }
42652  }
42653  {
42654#line 1044
42655  __cil_tmp38 = (enum fc_lport_state )16;
42656#line 1044
42657  fc_lport_state_enter(lport, __cil_tmp38);
42658#line 1045
42659  tmp___9 = fc_get_event_number();
42660#line 1045
42661  __cil_tmp39 = *((struct Scsi_Host **)lport);
42662#line 1045
42663  __cil_tmp40 = (enum fc_host_event_code )4;
42664#line 1045
42665  __cil_tmp41 = (u32 )0;
42666#line 1045
42667  fc_host_post_event(__cil_tmp39, tmp___9, __cil_tmp40, __cil_tmp41);
42668#line 1047
42669  fc_vports_linkchange(lport);
42670#line 1048
42671  fc_lport_reset_locked(lport);
42672  }
42673  {
42674#line 1049
42675  __cil_tmp42 = (unsigned long )lport;
42676#line 1049
42677  __cil_tmp43 = __cil_tmp42 + 600;
42678#line 1049
42679  if (*((u8 *)__cil_tmp43)) {
42680    {
42681#line 1050
42682    fc_lport_enter_flogi(lport);
42683    }
42684  } else {
42685
42686  }
42687  }
42688#line 1051
42689  return;
42690}
42691}
42692#line 1060 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
42693static void fc_lport_enter_disabled(struct fc_lport *lport ) 
42694{ char    *tmp___7 ;
42695  long tmp___8 ;
42696  unsigned int *__cil_tmp4 ;
42697  unsigned int __cil_tmp5 ;
42698  unsigned int __cil_tmp6 ;
42699  int __cil_tmp7 ;
42700  int __cil_tmp8 ;
42701  long __cil_tmp9 ;
42702  struct Scsi_Host *__cil_tmp10 ;
42703  unsigned long __cil_tmp11 ;
42704  unsigned long __cil_tmp12 ;
42705  unsigned int __cil_tmp13 ;
42706  unsigned long __cil_tmp14 ;
42707  unsigned long __cil_tmp15 ;
42708  u32 __cil_tmp16 ;
42709  enum fc_lport_state __cil_tmp17 ;
42710
42711  {
42712  {
42713#line 1062
42714  while (1) {
42715    while_continue: /* CIL Label */ ;
42716    {
42717#line 1062
42718    __cil_tmp4 = & fc_debug_logging;
42719#line 1062
42720    __cil_tmp5 = *__cil_tmp4;
42721#line 1062
42722    __cil_tmp6 = __cil_tmp5 & 2U;
42723#line 1062
42724    __cil_tmp7 = ! __cil_tmp6;
42725#line 1062
42726    __cil_tmp8 = ! __cil_tmp7;
42727#line 1062
42728    __cil_tmp9 = (long )__cil_tmp8;
42729#line 1062
42730    tmp___8 = __builtin_expect(__cil_tmp9, 0L);
42731    }
42732#line 1062
42733    if (tmp___8) {
42734      {
42735#line 1062
42736      while (1) {
42737        while_continue___0: /* CIL Label */ ;
42738        {
42739#line 1062
42740        tmp___7 = fc_lport_state(lport);
42741#line 1062
42742        __cil_tmp10 = *((struct Scsi_Host **)lport);
42743#line 1062
42744        __cil_tmp11 = (unsigned long )__cil_tmp10;
42745#line 1062
42746        __cil_tmp12 = __cil_tmp11 + 308;
42747#line 1062
42748        __cil_tmp13 = *((unsigned int *)__cil_tmp12);
42749#line 1062
42750        __cil_tmp14 = (unsigned long )lport;
42751#line 1062
42752        __cil_tmp15 = __cil_tmp14 + 788;
42753#line 1062
42754        __cil_tmp16 = *((u32 *)__cil_tmp15);
42755#line 1062
42756        printk("<6>host%u: lport %6.6x: Entered disabled state from %s state\n", __cil_tmp13,
42757               __cil_tmp16, tmp___7);
42758        }
42759#line 1062
42760        goto while_break___0;
42761      }
42762      while_break___0: /* CIL Label */ ;
42763      }
42764    } else {
42765
42766    }
42767#line 1062
42768    goto while_break;
42769  }
42770  while_break: /* CIL Label */ ;
42771  }
42772  {
42773#line 1065
42774  __cil_tmp17 = (enum fc_lport_state )0;
42775#line 1065
42776  fc_lport_state_enter(lport, __cil_tmp17);
42777#line 1066
42778  fc_vports_linkchange(lport);
42779#line 1067
42780  fc_lport_reset_locked(lport);
42781  }
42782#line 1068
42783  return;
42784}
42785}
42786#line 1079 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
42787static void fc_lport_error(struct fc_lport *lport , struct fc_frame *fp ) 
42788{ unsigned long delay ;
42789  char    *tmp___7 ;
42790  long tmp___8 ;
42791  long tmp___9 ;
42792  long tmp___10 ;
42793  unsigned int *__cil_tmp8 ;
42794  unsigned int __cil_tmp9 ;
42795  unsigned int __cil_tmp10 ;
42796  int __cil_tmp11 ;
42797  int __cil_tmp12 ;
42798  long __cil_tmp13 ;
42799  void    *__cil_tmp14 ;
42800  struct Scsi_Host *__cil_tmp15 ;
42801  unsigned long __cil_tmp16 ;
42802  unsigned long __cil_tmp17 ;
42803  unsigned int __cil_tmp18 ;
42804  unsigned long __cil_tmp19 ;
42805  unsigned long __cil_tmp20 ;
42806  u32 __cil_tmp21 ;
42807  unsigned long __cil_tmp22 ;
42808  unsigned long __cil_tmp23 ;
42809  u8 __cil_tmp24 ;
42810  int __cil_tmp25 ;
42811  void    *__cil_tmp26 ;
42812  unsigned long __cil_tmp27 ;
42813  unsigned long __cil_tmp28 ;
42814  u8 __cil_tmp29 ;
42815  int __cil_tmp30 ;
42816  unsigned long __cil_tmp31 ;
42817  unsigned long __cil_tmp32 ;
42818  u8 __cil_tmp33 ;
42819  int __cil_tmp34 ;
42820  unsigned long __cil_tmp35 ;
42821  unsigned long __cil_tmp36 ;
42822  unsigned long __cil_tmp37 ;
42823  unsigned long __cil_tmp38 ;
42824  u8 __cil_tmp39 ;
42825  int __cil_tmp40 ;
42826  int __cil_tmp41 ;
42827  unsigned int    __cil_tmp42 ;
42828  unsigned long __cil_tmp43 ;
42829  unsigned long __cil_tmp44 ;
42830  unsigned int __cil_tmp45 ;
42831  unsigned int    __cil_tmp46 ;
42832  unsigned long __cil_tmp47 ;
42833  unsigned long __cil_tmp48 ;
42834  struct delayed_work *__cil_tmp49 ;
42835
42836  {
42837#line 1081
42838  delay = 0UL;
42839  {
42840#line 1082
42841  while (1) {
42842    while_continue: /* CIL Label */ ;
42843    {
42844#line 1082
42845    __cil_tmp8 = & fc_debug_logging;
42846#line 1082
42847    __cil_tmp9 = *__cil_tmp8;
42848#line 1082
42849    __cil_tmp10 = __cil_tmp9 & 2U;
42850#line 1082
42851    __cil_tmp11 = ! __cil_tmp10;
42852#line 1082
42853    __cil_tmp12 = ! __cil_tmp11;
42854#line 1082
42855    __cil_tmp13 = (long )__cil_tmp12;
42856#line 1082
42857    tmp___9 = __builtin_expect(__cil_tmp13, 0L);
42858    }
42859#line 1082
42860    if (tmp___9) {
42861      {
42862#line 1082
42863      while (1) {
42864        while_continue___0: /* CIL Label */ ;
42865        {
42866#line 1082
42867        tmp___7 = fc_lport_state(lport);
42868#line 1082
42869        __cil_tmp14 = (void    *)fp;
42870#line 1082
42871        tmp___8 = (long )PTR_ERR(__cil_tmp14);
42872#line 1082
42873        __cil_tmp15 = *((struct Scsi_Host **)lport);
42874#line 1082
42875        __cil_tmp16 = (unsigned long )__cil_tmp15;
42876#line 1082
42877        __cil_tmp17 = __cil_tmp16 + 308;
42878#line 1082
42879        __cil_tmp18 = *((unsigned int *)__cil_tmp17);
42880#line 1082
42881        __cil_tmp19 = (unsigned long )lport;
42882#line 1082
42883        __cil_tmp20 = __cil_tmp19 + 788;
42884#line 1082
42885        __cil_tmp21 = *((u32 *)__cil_tmp20);
42886#line 1082
42887        __cil_tmp22 = (unsigned long )lport;
42888#line 1082
42889        __cil_tmp23 = __cil_tmp22 + 784;
42890#line 1082
42891        __cil_tmp24 = *((u8 *)__cil_tmp23);
42892#line 1082
42893        __cil_tmp25 = (int )__cil_tmp24;
42894#line 1082
42895        printk("<6>host%u: lport %6.6x: Error %ld in state %s, retries %d\n", __cil_tmp18,
42896               __cil_tmp21, tmp___8, tmp___7, __cil_tmp25);
42897        }
42898#line 1082
42899        goto while_break___0;
42900      }
42901      while_break___0: /* CIL Label */ ;
42902      }
42903    } else {
42904
42905    }
42906#line 1082
42907    goto while_break;
42908  }
42909  while_break: /* CIL Label */ ;
42910  }
42911  {
42912#line 1086
42913  __cil_tmp26 = (void    *)fp;
42914#line 1086
42915  tmp___10 = (long )PTR_ERR(__cil_tmp26);
42916  }
42917#line 1086
42918  if (tmp___10 == -2L) {
42919#line 1087
42920    return;
42921  } else {
42922
42923  }
42924  {
42925#line 1094
42926  __cil_tmp27 = (unsigned long )lport;
42927#line 1094
42928  __cil_tmp28 = __cil_tmp27 + 880;
42929#line 1094
42930  __cil_tmp29 = *((u8 *)__cil_tmp28);
42931#line 1094
42932  __cil_tmp30 = (int )__cil_tmp29;
42933#line 1094
42934  __cil_tmp31 = (unsigned long )lport;
42935#line 1094
42936  __cil_tmp32 = __cil_tmp31 + 784;
42937#line 1094
42938  __cil_tmp33 = *((u8 *)__cil_tmp32);
42939#line 1094
42940  __cil_tmp34 = (int )__cil_tmp33;
42941#line 1094
42942  if (__cil_tmp34 < __cil_tmp30) {
42943#line 1095
42944    __cil_tmp35 = (unsigned long )lport;
42945#line 1095
42946    __cil_tmp36 = __cil_tmp35 + 784;
42947#line 1095
42948    __cil_tmp37 = (unsigned long )lport;
42949#line 1095
42950    __cil_tmp38 = __cil_tmp37 + 784;
42951#line 1095
42952    __cil_tmp39 = *((u8 *)__cil_tmp38);
42953#line 1095
42954    __cil_tmp40 = (int )__cil_tmp39;
42955#line 1095
42956    __cil_tmp41 = __cil_tmp40 + 1;
42957#line 1095
42958    *((u8 *)__cil_tmp36) = (u8 )__cil_tmp41;
42959#line 1096
42960    if (! fp) {
42961      {
42962#line 1097
42963      __cil_tmp42 = (unsigned int    )500;
42964#line 1097
42965      delay = msecs_to_jiffies(__cil_tmp42);
42966      }
42967    } else {
42968      {
42969#line 1099
42970      __cil_tmp43 = (unsigned long )lport;
42971#line 1099
42972      __cil_tmp44 = __cil_tmp43 + 812;
42973#line 1099
42974      __cil_tmp45 = *((unsigned int *)__cil_tmp44);
42975#line 1099
42976      __cil_tmp46 = (unsigned int    )__cil_tmp45;
42977#line 1099
42978      delay = msecs_to_jiffies(__cil_tmp46);
42979      }
42980    }
42981    {
42982#line 1101
42983    __cil_tmp47 = (unsigned long )lport;
42984#line 1101
42985    __cil_tmp48 = __cil_tmp47 + 1016;
42986#line 1101
42987    __cil_tmp49 = (struct delayed_work *)__cil_tmp48;
42988#line 1101
42989    schedule_delayed_work(__cil_tmp49, delay);
42990    }
42991  } else {
42992    {
42993#line 1103
42994    fc_lport_enter_reset(lport);
42995    }
42996  }
42997  }
42998#line 1104
42999  return;
43000}
43001}
43002#line 1117 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
43003static void fc_lport_ns_resp(struct fc_seq *sp , struct fc_frame *fp , void *lp_arg ) 
43004{ struct fc_lport *lport ;
43005  struct fc_frame_header *fh ;
43006  struct fc_ct_hdr *ct ;
43007  char    *tmp___7 ;
43008  long tmp___8 ;
43009  void *tmp___9 ;
43010  char    *tmp___10 ;
43011  long tmp___11 ;
43012  long tmp___12 ;
43013  long tmp___13 ;
43014  void *tmp___14 ;
43015  __u16 tmp___15 ;
43016  unsigned int *__cil_tmp16 ;
43017  unsigned int __cil_tmp17 ;
43018  unsigned int __cil_tmp18 ;
43019  int __cil_tmp19 ;
43020  int __cil_tmp20 ;
43021  long __cil_tmp21 ;
43022  struct Scsi_Host *__cil_tmp22 ;
43023  unsigned long __cil_tmp23 ;
43024  unsigned long __cil_tmp24 ;
43025  unsigned int __cil_tmp25 ;
43026  unsigned long __cil_tmp26 ;
43027  unsigned long __cil_tmp27 ;
43028  u32 __cil_tmp28 ;
43029  unsigned long __cil_tmp29 ;
43030  unsigned long __cil_tmp30 ;
43031  unsigned long __cil_tmp31 ;
43032  unsigned long __cil_tmp32 ;
43033  struct mutex *__cil_tmp33 ;
43034  unsigned long __cil_tmp34 ;
43035  unsigned long __cil_tmp35 ;
43036  enum fc_lport_state __cil_tmp36 ;
43037  unsigned int __cil_tmp37 ;
43038  unsigned long __cil_tmp38 ;
43039  unsigned long __cil_tmp39 ;
43040  enum fc_lport_state __cil_tmp40 ;
43041  unsigned int __cil_tmp41 ;
43042  unsigned int *__cil_tmp42 ;
43043  unsigned int __cil_tmp43 ;
43044  unsigned int __cil_tmp44 ;
43045  int __cil_tmp45 ;
43046  int __cil_tmp46 ;
43047  long __cil_tmp47 ;
43048  struct Scsi_Host *__cil_tmp48 ;
43049  unsigned long __cil_tmp49 ;
43050  unsigned long __cil_tmp50 ;
43051  unsigned int __cil_tmp51 ;
43052  unsigned long __cil_tmp52 ;
43053  unsigned long __cil_tmp53 ;
43054  u32 __cil_tmp54 ;
43055  void    *__cil_tmp55 ;
43056  void    *__cil_tmp56 ;
43057  struct fc_frame    *__cil_tmp57 ;
43058  struct fc_frame    *__cil_tmp58 ;
43059  unsigned long __cil_tmp59 ;
43060  unsigned long __cil_tmp60 ;
43061  __u8 __cil_tmp61 ;
43062  int __cil_tmp62 ;
43063  unsigned long __cil_tmp63 ;
43064  unsigned long __cil_tmp64 ;
43065  __u8 __cil_tmp65 ;
43066  int __cil_tmp66 ;
43067  unsigned long __cil_tmp67 ;
43068  unsigned long __cil_tmp68 ;
43069  __u8 __cil_tmp69 ;
43070  int __cil_tmp70 ;
43071  unsigned long __cil_tmp71 ;
43072  unsigned long __cil_tmp72 ;
43073  __be16 __cil_tmp73 ;
43074  int __cil_tmp74 ;
43075  unsigned long __cil_tmp75 ;
43076  unsigned long __cil_tmp76 ;
43077  enum fc_lport_state __cil_tmp77 ;
43078  enum fc_lport_state __cil_tmp78 ;
43079  enum fc_lport_state __cil_tmp79 ;
43080  enum fc_lport_state __cil_tmp80 ;
43081  enum fc_lport_state __cil_tmp81 ;
43082  unsigned long __cil_tmp82 ;
43083  unsigned long __cil_tmp83 ;
43084  struct mutex *__cil_tmp84 ;
43085
43086  {
43087#line 1120
43088  lport = (struct fc_lport *)lp_arg;
43089  {
43090#line 1124
43091  while (1) {
43092    while_continue: /* CIL Label */ ;
43093    {
43094#line 1124
43095    __cil_tmp16 = & fc_debug_logging;
43096#line 1124
43097    __cil_tmp17 = *__cil_tmp16;
43098#line 1124
43099    __cil_tmp18 = __cil_tmp17 & 2U;
43100#line 1124
43101    __cil_tmp19 = ! __cil_tmp18;
43102#line 1124
43103    __cil_tmp20 = ! __cil_tmp19;
43104#line 1124
43105    __cil_tmp21 = (long )__cil_tmp20;
43106#line 1124
43107    tmp___8 = __builtin_expect(__cil_tmp21, 0L);
43108    }
43109#line 1124
43110    if (tmp___8) {
43111      {
43112#line 1124
43113      while (1) {
43114        while_continue___0: /* CIL Label */ ;
43115        {
43116#line 1124
43117        tmp___7 = fc_els_resp_type(fp);
43118#line 1124
43119        __cil_tmp22 = *((struct Scsi_Host **)lport);
43120#line 1124
43121        __cil_tmp23 = (unsigned long )__cil_tmp22;
43122#line 1124
43123        __cil_tmp24 = __cil_tmp23 + 308;
43124#line 1124
43125        __cil_tmp25 = *((unsigned int *)__cil_tmp24);
43126#line 1124
43127        __cil_tmp26 = (unsigned long )lport;
43128#line 1124
43129        __cil_tmp27 = __cil_tmp26 + 788;
43130#line 1124
43131        __cil_tmp28 = *((u32 *)__cil_tmp27);
43132#line 1124
43133        printk("<6>host%u: lport %6.6x: Received a ns %s\n", __cil_tmp25, __cil_tmp28,
43134               tmp___7);
43135        }
43136#line 1124
43137        goto while_break___0;
43138      }
43139      while_break___0: /* CIL Label */ ;
43140      }
43141    } else {
43142
43143    }
43144#line 1124
43145    goto while_break;
43146  }
43147  while_break: /* CIL Label */ ;
43148  }
43149  {
43150#line 1126
43151  tmp___9 = (void *)ERR_PTR(-2L);
43152  }
43153  {
43154#line 1126
43155  __cil_tmp29 = (unsigned long )tmp___9;
43156#line 1126
43157  __cil_tmp30 = (unsigned long )fp;
43158#line 1126
43159  if (__cil_tmp30 == __cil_tmp29) {
43160#line 1127
43161    return;
43162  } else {
43163
43164  }
43165  }
43166  {
43167#line 1129
43168  __cil_tmp31 = (unsigned long )lport;
43169#line 1129
43170  __cil_tmp32 = __cil_tmp31 + 928;
43171#line 1129
43172  __cil_tmp33 = (struct mutex *)__cil_tmp32;
43173#line 1129
43174  mutex_lock(__cil_tmp33);
43175  }
43176  {
43177#line 1131
43178  __cil_tmp34 = (unsigned long )lport;
43179#line 1131
43180  __cil_tmp35 = __cil_tmp34 + 604;
43181#line 1131
43182  __cil_tmp36 = *((enum fc_lport_state *)__cil_tmp35);
43183#line 1131
43184  __cil_tmp37 = (unsigned int )__cil_tmp36;
43185#line 1131
43186  if (__cil_tmp37 < 3U) {
43187#line 1131
43188    goto _L;
43189  } else {
43190    {
43191#line 1131
43192    __cil_tmp38 = (unsigned long )lport;
43193#line 1131
43194    __cil_tmp39 = __cil_tmp38 + 604;
43195#line 1131
43196    __cil_tmp40 = *((enum fc_lport_state *)__cil_tmp39);
43197#line 1131
43198    __cil_tmp41 = (unsigned int )__cil_tmp40;
43199#line 1131
43200    if (__cil_tmp41 > 7U) {
43201      _L: /* CIL Label */ 
43202      {
43203#line 1132
43204      while (1) {
43205        while_continue___1: /* CIL Label */ ;
43206        {
43207#line 1132
43208        __cil_tmp42 = & fc_debug_logging;
43209#line 1132
43210        __cil_tmp43 = *__cil_tmp42;
43211#line 1132
43212        __cil_tmp44 = __cil_tmp43 & 2U;
43213#line 1132
43214        __cil_tmp45 = ! __cil_tmp44;
43215#line 1132
43216        __cil_tmp46 = ! __cil_tmp45;
43217#line 1132
43218        __cil_tmp47 = (long )__cil_tmp46;
43219#line 1132
43220        tmp___11 = __builtin_expect(__cil_tmp47, 0L);
43221        }
43222#line 1132
43223        if (tmp___11) {
43224          {
43225#line 1132
43226          while (1) {
43227            while_continue___2: /* CIL Label */ ;
43228            {
43229#line 1132
43230            tmp___10 = fc_lport_state(lport);
43231#line 1132
43232            __cil_tmp48 = *((struct Scsi_Host **)lport);
43233#line 1132
43234            __cil_tmp49 = (unsigned long )__cil_tmp48;
43235#line 1132
43236            __cil_tmp50 = __cil_tmp49 + 308;
43237#line 1132
43238            __cil_tmp51 = *((unsigned int *)__cil_tmp50);
43239#line 1132
43240            __cil_tmp52 = (unsigned long )lport;
43241#line 1132
43242            __cil_tmp53 = __cil_tmp52 + 788;
43243#line 1132
43244            __cil_tmp54 = *((u32 *)__cil_tmp53);
43245#line 1132
43246            printk("<6>host%u: lport %6.6x: Received a name server response, but in state %s\n",
43247                   __cil_tmp51, __cil_tmp54, tmp___10);
43248            }
43249#line 1132
43250            goto while_break___2;
43251          }
43252          while_break___2: /* CIL Label */ ;
43253          }
43254        } else {
43255
43256        }
43257#line 1132
43258        goto while_break___1;
43259      }
43260      while_break___1: /* CIL Label */ ;
43261      }
43262      {
43263#line 1134
43264      __cil_tmp55 = (void    *)fp;
43265#line 1134
43266      tmp___12 = (long )IS_ERR(__cil_tmp55);
43267      }
43268#line 1134
43269      if (tmp___12) {
43270#line 1135
43271        goto err;
43272      } else {
43273
43274      }
43275#line 1136
43276      goto out;
43277    } else {
43278
43279    }
43280    }
43281  }
43282  }
43283  {
43284#line 1139
43285  __cil_tmp56 = (void    *)fp;
43286#line 1139
43287  tmp___13 = (long )IS_ERR(__cil_tmp56);
43288  }
43289#line 1139
43290  if (tmp___13) {
43291    {
43292#line 1140
43293    fc_lport_error(lport, fp);
43294    }
43295#line 1141
43296    goto err;
43297  } else {
43298
43299  }
43300  {
43301#line 1144
43302  __cil_tmp57 = (struct fc_frame    *)fp;
43303#line 1144
43304  fh = fc_frame_header_get(__cil_tmp57);
43305#line 1145
43306  __cil_tmp58 = (struct fc_frame    *)fp;
43307#line 1145
43308  tmp___14 = fc_frame_payload_get(__cil_tmp58, 16UL);
43309#line 1145
43310  ct = (struct fc_ct_hdr *)tmp___14;
43311  }
43312#line 1147
43313  if (fh) {
43314#line 1147
43315    if (ct) {
43316      {
43317#line 1147
43318      __cil_tmp59 = (unsigned long )fh;
43319#line 1147
43320      __cil_tmp60 = __cil_tmp59 + 8;
43321#line 1147
43322      __cil_tmp61 = *((__u8 *)__cil_tmp60);
43323#line 1147
43324      __cil_tmp62 = (int )__cil_tmp61;
43325#line 1147
43326      if (__cil_tmp62 == 32) {
43327        {
43328#line 1147
43329        __cil_tmp63 = (unsigned long )ct;
43330#line 1147
43331        __cil_tmp64 = __cil_tmp63 + 4;
43332#line 1147
43333        __cil_tmp65 = *((__u8 *)__cil_tmp64);
43334#line 1147
43335        __cil_tmp66 = (int )__cil_tmp65;
43336#line 1147
43337        if (__cil_tmp66 == 252) {
43338          {
43339#line 1147
43340          __cil_tmp67 = (unsigned long )ct;
43341#line 1147
43342          __cil_tmp68 = __cil_tmp67 + 5;
43343#line 1147
43344          __cil_tmp69 = *((__u8 *)__cil_tmp68);
43345#line 1147
43346          __cil_tmp70 = (int )__cil_tmp69;
43347#line 1147
43348          if (__cil_tmp70 == 2) {
43349            {
43350#line 1147
43351            __cil_tmp71 = (unsigned long )ct;
43352#line 1147
43353            __cil_tmp72 = __cil_tmp71 + 8;
43354#line 1147
43355            __cil_tmp73 = *((__be16 *)__cil_tmp72);
43356#line 1147
43357            tmp___15 = __fswab16(__cil_tmp73);
43358            }
43359            {
43360#line 1147
43361            __cil_tmp74 = (int )tmp___15;
43362#line 1147
43363            if (__cil_tmp74 == 32770) {
43364              {
43365#line 1151
43366              __cil_tmp75 = (unsigned long )lport;
43367#line 1151
43368              __cil_tmp76 = __cil_tmp75 + 604;
43369#line 1151
43370              __cil_tmp77 = *((enum fc_lport_state *)__cil_tmp76);
43371#line 1152
43372              if ((int )__cil_tmp77 == 3) {
43373#line 1152
43374                goto case_3;
43375              } else
43376#line 1155
43377              if ((int )__cil_tmp77 == 4) {
43378#line 1155
43379                goto case_4;
43380              } else
43381#line 1158
43382              if ((int )__cil_tmp77 == 5) {
43383#line 1158
43384                goto case_5;
43385              } else
43386#line 1161
43387              if ((int )__cil_tmp77 == 6) {
43388#line 1161
43389                goto case_6;
43390              } else
43391#line 1164
43392              if ((int )__cil_tmp77 == 7) {
43393#line 1164
43394                goto case_7;
43395              } else {
43396                {
43397#line 1170
43398                goto switch_default;
43399#line 1151
43400                if (0) {
43401                  case_3: /* CIL Label */ 
43402                  {
43403#line 1153
43404                  __cil_tmp78 = (enum fc_lport_state )4;
43405#line 1153
43406                  fc_lport_enter_ns(lport, __cil_tmp78);
43407                  }
43408#line 1154
43409                  goto switch_break;
43410                  case_4: /* CIL Label */ 
43411                  {
43412#line 1156
43413                  __cil_tmp79 = (enum fc_lport_state )5;
43414#line 1156
43415                  fc_lport_enter_ns(lport, __cil_tmp79);
43416                  }
43417#line 1157
43418                  goto switch_break;
43419                  case_5: /* CIL Label */ 
43420                  {
43421#line 1159
43422                  __cil_tmp80 = (enum fc_lport_state )6;
43423#line 1159
43424                  fc_lport_enter_ns(lport, __cil_tmp80);
43425                  }
43426#line 1160
43427                  goto switch_break;
43428                  case_6: /* CIL Label */ 
43429                  {
43430#line 1162
43431                  __cil_tmp81 = (enum fc_lport_state )7;
43432#line 1162
43433                  fc_lport_enter_ns(lport, __cil_tmp81);
43434                  }
43435#line 1163
43436                  goto switch_break;
43437                  case_7: /* CIL Label */ 
43438#line 1165
43439                  if (lport->fdmi_enabled) {
43440                    {
43441#line 1166
43442                    fc_lport_enter_fdmi(lport);
43443                    }
43444                  } else {
43445                    {
43446#line 1168
43447                    fc_lport_enter_scr(lport);
43448                    }
43449                  }
43450#line 1169
43451                  goto switch_break;
43452                  switch_default: /* CIL Label */ 
43453#line 1172
43454                  goto switch_break;
43455                } else {
43456                  switch_break: /* CIL Label */ ;
43457                }
43458                }
43459              }
43460              }
43461            } else {
43462              {
43463#line 1175
43464              fc_lport_error(lport, fp);
43465              }
43466            }
43467            }
43468          } else {
43469            {
43470#line 1175
43471            fc_lport_error(lport, fp);
43472            }
43473          }
43474          }
43475        } else {
43476          {
43477#line 1175
43478          fc_lport_error(lport, fp);
43479          }
43480        }
43481        }
43482      } else {
43483        {
43484#line 1175
43485        fc_lport_error(lport, fp);
43486        }
43487      }
43488      }
43489    } else {
43490      {
43491#line 1175
43492      fc_lport_error(lport, fp);
43493      }
43494    }
43495  } else {
43496    {
43497#line 1175
43498    fc_lport_error(lport, fp);
43499    }
43500  }
43501  out: 
43502  {
43503#line 1177
43504  fc_frame_free(fp);
43505  }
43506  err: 
43507  {
43508#line 1179
43509  __cil_tmp82 = (unsigned long )lport;
43510#line 1179
43511  __cil_tmp83 = __cil_tmp82 + 928;
43512#line 1179
43513  __cil_tmp84 = (struct mutex *)__cil_tmp83;
43514#line 1179
43515  mutex_unlock(__cil_tmp84);
43516  }
43517#line 1180
43518  return;
43519}
43520}
43521#line 1193 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
43522static void fc_lport_ms_resp(struct fc_seq *sp , struct fc_frame *fp , void *lp_arg ) 
43523{ struct fc_lport *lport ;
43524  struct fc_frame_header *fh ;
43525  struct fc_ct_hdr *ct ;
43526  char    *tmp___7 ;
43527  long tmp___8 ;
43528  void *tmp___9 ;
43529  char    *tmp___10 ;
43530  long tmp___11 ;
43531  long tmp___12 ;
43532  long tmp___13 ;
43533  void *tmp___14 ;
43534  long tmp___15 ;
43535  __u16 tmp___16 ;
43536  unsigned int *__cil_tmp17 ;
43537  unsigned int __cil_tmp18 ;
43538  unsigned int __cil_tmp19 ;
43539  int __cil_tmp20 ;
43540  int __cil_tmp21 ;
43541  long __cil_tmp22 ;
43542  struct Scsi_Host *__cil_tmp23 ;
43543  unsigned long __cil_tmp24 ;
43544  unsigned long __cil_tmp25 ;
43545  unsigned int __cil_tmp26 ;
43546  unsigned long __cil_tmp27 ;
43547  unsigned long __cil_tmp28 ;
43548  u32 __cil_tmp29 ;
43549  unsigned long __cil_tmp30 ;
43550  unsigned long __cil_tmp31 ;
43551  unsigned long __cil_tmp32 ;
43552  unsigned long __cil_tmp33 ;
43553  struct mutex *__cil_tmp34 ;
43554  unsigned long __cil_tmp35 ;
43555  unsigned long __cil_tmp36 ;
43556  enum fc_lport_state __cil_tmp37 ;
43557  unsigned int __cil_tmp38 ;
43558  unsigned long __cil_tmp39 ;
43559  unsigned long __cil_tmp40 ;
43560  enum fc_lport_state __cil_tmp41 ;
43561  unsigned int __cil_tmp42 ;
43562  unsigned int *__cil_tmp43 ;
43563  unsigned int __cil_tmp44 ;
43564  unsigned int __cil_tmp45 ;
43565  int __cil_tmp46 ;
43566  int __cil_tmp47 ;
43567  long __cil_tmp48 ;
43568  struct Scsi_Host *__cil_tmp49 ;
43569  unsigned long __cil_tmp50 ;
43570  unsigned long __cil_tmp51 ;
43571  unsigned int __cil_tmp52 ;
43572  unsigned long __cil_tmp53 ;
43573  unsigned long __cil_tmp54 ;
43574  u32 __cil_tmp55 ;
43575  void    *__cil_tmp56 ;
43576  void    *__cil_tmp57 ;
43577  struct fc_frame    *__cil_tmp58 ;
43578  struct fc_frame    *__cil_tmp59 ;
43579  unsigned long __cil_tmp60 ;
43580  unsigned long __cil_tmp61 ;
43581  __u8 __cil_tmp62 ;
43582  int __cil_tmp63 ;
43583  unsigned long __cil_tmp64 ;
43584  unsigned long __cil_tmp65 ;
43585  __u8 __cil_tmp66 ;
43586  int __cil_tmp67 ;
43587  unsigned long __cil_tmp68 ;
43588  unsigned long __cil_tmp69 ;
43589  __u8 __cil_tmp70 ;
43590  int __cil_tmp71 ;
43591  unsigned int *__cil_tmp72 ;
43592  unsigned int __cil_tmp73 ;
43593  unsigned int __cil_tmp74 ;
43594  int __cil_tmp75 ;
43595  int __cil_tmp76 ;
43596  long __cil_tmp77 ;
43597  struct Scsi_Host *__cil_tmp78 ;
43598  unsigned long __cil_tmp79 ;
43599  unsigned long __cil_tmp80 ;
43600  unsigned int __cil_tmp81 ;
43601  unsigned long __cil_tmp82 ;
43602  unsigned long __cil_tmp83 ;
43603  u32 __cil_tmp84 ;
43604  unsigned long __cil_tmp85 ;
43605  unsigned long __cil_tmp86 ;
43606  __u8 __cil_tmp87 ;
43607  int __cil_tmp88 ;
43608  unsigned long __cil_tmp89 ;
43609  unsigned long __cil_tmp90 ;
43610  __u8 __cil_tmp91 ;
43611  int __cil_tmp92 ;
43612  unsigned long __cil_tmp93 ;
43613  unsigned long __cil_tmp94 ;
43614  enum fc_lport_state __cil_tmp95 ;
43615  unsigned long __cil_tmp96 ;
43616  unsigned long __cil_tmp97 ;
43617  __be16 __cil_tmp98 ;
43618  int __cil_tmp99 ;
43619  enum fc_lport_state __cil_tmp100 ;
43620  enum fc_lport_state __cil_tmp101 ;
43621  enum fc_lport_state __cil_tmp102 ;
43622  unsigned long __cil_tmp103 ;
43623  unsigned long __cil_tmp104 ;
43624  struct mutex *__cil_tmp105 ;
43625
43626  {
43627#line 1196
43628  lport = (struct fc_lport *)lp_arg;
43629  {
43630#line 1200
43631  while (1) {
43632    while_continue: /* CIL Label */ ;
43633    {
43634#line 1200
43635    __cil_tmp17 = & fc_debug_logging;
43636#line 1200
43637    __cil_tmp18 = *__cil_tmp17;
43638#line 1200
43639    __cil_tmp19 = __cil_tmp18 & 2U;
43640#line 1200
43641    __cil_tmp20 = ! __cil_tmp19;
43642#line 1200
43643    __cil_tmp21 = ! __cil_tmp20;
43644#line 1200
43645    __cil_tmp22 = (long )__cil_tmp21;
43646#line 1200
43647    tmp___8 = __builtin_expect(__cil_tmp22, 0L);
43648    }
43649#line 1200
43650    if (tmp___8) {
43651      {
43652#line 1200
43653      while (1) {
43654        while_continue___0: /* CIL Label */ ;
43655        {
43656#line 1200
43657        tmp___7 = fc_els_resp_type(fp);
43658#line 1200
43659        __cil_tmp23 = *((struct Scsi_Host **)lport);
43660#line 1200
43661        __cil_tmp24 = (unsigned long )__cil_tmp23;
43662#line 1200
43663        __cil_tmp25 = __cil_tmp24 + 308;
43664#line 1200
43665        __cil_tmp26 = *((unsigned int *)__cil_tmp25);
43666#line 1200
43667        __cil_tmp27 = (unsigned long )lport;
43668#line 1200
43669        __cil_tmp28 = __cil_tmp27 + 788;
43670#line 1200
43671        __cil_tmp29 = *((u32 *)__cil_tmp28);
43672#line 1200
43673        printk("<6>host%u: lport %6.6x: Received a ms %s\n", __cil_tmp26, __cil_tmp29,
43674               tmp___7);
43675        }
43676#line 1200
43677        goto while_break___0;
43678      }
43679      while_break___0: /* CIL Label */ ;
43680      }
43681    } else {
43682
43683    }
43684#line 1200
43685    goto while_break;
43686  }
43687  while_break: /* CIL Label */ ;
43688  }
43689  {
43690#line 1202
43691  tmp___9 = (void *)ERR_PTR(-2L);
43692  }
43693  {
43694#line 1202
43695  __cil_tmp30 = (unsigned long )tmp___9;
43696#line 1202
43697  __cil_tmp31 = (unsigned long )fp;
43698#line 1202
43699  if (__cil_tmp31 == __cil_tmp30) {
43700#line 1203
43701    return;
43702  } else {
43703
43704  }
43705  }
43706  {
43707#line 1205
43708  __cil_tmp32 = (unsigned long )lport;
43709#line 1205
43710  __cil_tmp33 = __cil_tmp32 + 928;
43711#line 1205
43712  __cil_tmp34 = (struct mutex *)__cil_tmp33;
43713#line 1205
43714  mutex_lock(__cil_tmp34);
43715  }
43716  {
43717#line 1207
43718  __cil_tmp35 = (unsigned long )lport;
43719#line 1207
43720  __cil_tmp36 = __cil_tmp35 + 604;
43721#line 1207
43722  __cil_tmp37 = *((enum fc_lport_state *)__cil_tmp36);
43723#line 1207
43724  __cil_tmp38 = (unsigned int )__cil_tmp37;
43725#line 1207
43726  if (__cil_tmp38 < 9U) {
43727#line 1207
43728    goto _L;
43729  } else {
43730    {
43731#line 1207
43732    __cil_tmp39 = (unsigned long )lport;
43733#line 1207
43734    __cil_tmp40 = __cil_tmp39 + 604;
43735#line 1207
43736    __cil_tmp41 = *((enum fc_lport_state *)__cil_tmp40);
43737#line 1207
43738    __cil_tmp42 = (unsigned int )__cil_tmp41;
43739#line 1207
43740    if (__cil_tmp42 > 12U) {
43741      _L: /* CIL Label */ 
43742      {
43743#line 1208
43744      while (1) {
43745        while_continue___1: /* CIL Label */ ;
43746        {
43747#line 1208
43748        __cil_tmp43 = & fc_debug_logging;
43749#line 1208
43750        __cil_tmp44 = *__cil_tmp43;
43751#line 1208
43752        __cil_tmp45 = __cil_tmp44 & 2U;
43753#line 1208
43754        __cil_tmp46 = ! __cil_tmp45;
43755#line 1208
43756        __cil_tmp47 = ! __cil_tmp46;
43757#line 1208
43758        __cil_tmp48 = (long )__cil_tmp47;
43759#line 1208
43760        tmp___11 = __builtin_expect(__cil_tmp48, 0L);
43761        }
43762#line 1208
43763        if (tmp___11) {
43764          {
43765#line 1208
43766          while (1) {
43767            while_continue___2: /* CIL Label */ ;
43768            {
43769#line 1208
43770            tmp___10 = fc_lport_state(lport);
43771#line 1208
43772            __cil_tmp49 = *((struct Scsi_Host **)lport);
43773#line 1208
43774            __cil_tmp50 = (unsigned long )__cil_tmp49;
43775#line 1208
43776            __cil_tmp51 = __cil_tmp50 + 308;
43777#line 1208
43778            __cil_tmp52 = *((unsigned int *)__cil_tmp51);
43779#line 1208
43780            __cil_tmp53 = (unsigned long )lport;
43781#line 1208
43782            __cil_tmp54 = __cil_tmp53 + 788;
43783#line 1208
43784            __cil_tmp55 = *((u32 *)__cil_tmp54);
43785#line 1208
43786            printk("<6>host%u: lport %6.6x: Received a management server response, but in state %s\n",
43787                   __cil_tmp52, __cil_tmp55, tmp___10);
43788            }
43789#line 1208
43790            goto while_break___2;
43791          }
43792          while_break___2: /* CIL Label */ ;
43793          }
43794        } else {
43795
43796        }
43797#line 1208
43798        goto while_break___1;
43799      }
43800      while_break___1: /* CIL Label */ ;
43801      }
43802      {
43803#line 1210
43804      __cil_tmp56 = (void    *)fp;
43805#line 1210
43806      tmp___12 = (long )IS_ERR(__cil_tmp56);
43807      }
43808#line 1210
43809      if (tmp___12) {
43810#line 1211
43811        goto err;
43812      } else {
43813
43814      }
43815#line 1212
43816      goto out;
43817    } else {
43818
43819    }
43820    }
43821  }
43822  }
43823  {
43824#line 1215
43825  __cil_tmp57 = (void    *)fp;
43826#line 1215
43827  tmp___13 = (long )IS_ERR(__cil_tmp57);
43828  }
43829#line 1215
43830  if (tmp___13) {
43831    {
43832#line 1216
43833    fc_lport_error(lport, fp);
43834    }
43835#line 1217
43836    goto err;
43837  } else {
43838
43839  }
43840  {
43841#line 1220
43842  __cil_tmp58 = (struct fc_frame    *)fp;
43843#line 1220
43844  fh = fc_frame_header_get(__cil_tmp58);
43845#line 1221
43846  __cil_tmp59 = (struct fc_frame    *)fp;
43847#line 1221
43848  tmp___14 = fc_frame_payload_get(__cil_tmp59, 16UL);
43849#line 1221
43850  ct = (struct fc_ct_hdr *)tmp___14;
43851  }
43852#line 1223
43853  if (fh) {
43854#line 1223
43855    if (ct) {
43856      {
43857#line 1223
43858      __cil_tmp60 = (unsigned long )fh;
43859#line 1223
43860      __cil_tmp61 = __cil_tmp60 + 8;
43861#line 1223
43862      __cil_tmp62 = *((__u8 *)__cil_tmp61);
43863#line 1223
43864      __cil_tmp63 = (int )__cil_tmp62;
43865#line 1223
43866      if (__cil_tmp63 == 32) {
43867        {
43868#line 1223
43869        __cil_tmp64 = (unsigned long )ct;
43870#line 1223
43871        __cil_tmp65 = __cil_tmp64 + 4;
43872#line 1223
43873        __cil_tmp66 = *((__u8 *)__cil_tmp65);
43874#line 1223
43875        __cil_tmp67 = (int )__cil_tmp66;
43876#line 1223
43877        if (__cil_tmp67 == 250) {
43878          {
43879#line 1223
43880          __cil_tmp68 = (unsigned long )ct;
43881#line 1223
43882          __cil_tmp69 = __cil_tmp68 + 5;
43883#line 1223
43884          __cil_tmp70 = *((__u8 *)__cil_tmp69);
43885#line 1223
43886          __cil_tmp71 = (int )__cil_tmp70;
43887#line 1223
43888          if (__cil_tmp71 == 16) {
43889            {
43890#line 1226
43891            while (1) {
43892              while_continue___3: /* CIL Label */ ;
43893              {
43894#line 1226
43895              __cil_tmp72 = & fc_debug_logging;
43896#line 1226
43897              __cil_tmp73 = *__cil_tmp72;
43898#line 1226
43899              __cil_tmp74 = __cil_tmp73 & 2U;
43900#line 1226
43901              __cil_tmp75 = ! __cil_tmp74;
43902#line 1226
43903              __cil_tmp76 = ! __cil_tmp75;
43904#line 1226
43905              __cil_tmp77 = (long )__cil_tmp76;
43906#line 1226
43907              tmp___15 = __builtin_expect(__cil_tmp77, 0L);
43908              }
43909#line 1226
43910              if (tmp___15) {
43911                {
43912#line 1226
43913                while (1) {
43914                  while_continue___4: /* CIL Label */ ;
43915                  {
43916#line 1226
43917                  __cil_tmp78 = *((struct Scsi_Host **)lport);
43918#line 1226
43919                  __cil_tmp79 = (unsigned long )__cil_tmp78;
43920#line 1226
43921                  __cil_tmp80 = __cil_tmp79 + 308;
43922#line 1226
43923                  __cil_tmp81 = *((unsigned int *)__cil_tmp80);
43924#line 1226
43925                  __cil_tmp82 = (unsigned long )lport;
43926#line 1226
43927                  __cil_tmp83 = __cil_tmp82 + 788;
43928#line 1226
43929                  __cil_tmp84 = *((u32 *)__cil_tmp83);
43930#line 1226
43931                  __cil_tmp85 = (unsigned long )ct;
43932#line 1226
43933                  __cil_tmp86 = __cil_tmp85 + 13;
43934#line 1226
43935                  __cil_tmp87 = *((__u8 *)__cil_tmp86);
43936#line 1226
43937                  __cil_tmp88 = (int )__cil_tmp87;
43938#line 1226
43939                  __cil_tmp89 = (unsigned long )ct;
43940#line 1226
43941                  __cil_tmp90 = __cil_tmp89 + 14;
43942#line 1226
43943                  __cil_tmp91 = *((__u8 *)__cil_tmp90);
43944#line 1226
43945                  __cil_tmp92 = (int )__cil_tmp91;
43946#line 1226
43947                  printk("<6>host%u: lport %6.6x: Received a management server response, reason=%d explain=%d\n",
43948                         __cil_tmp81, __cil_tmp84, __cil_tmp88, __cil_tmp92);
43949                  }
43950#line 1226
43951                  goto while_break___4;
43952                }
43953                while_break___4: /* CIL Label */ ;
43954                }
43955              } else {
43956
43957              }
43958#line 1226
43959              goto while_break___3;
43960            }
43961            while_break___3: /* CIL Label */ ;
43962            }
43963            {
43964#line 1231
43965            __cil_tmp93 = (unsigned long )lport;
43966#line 1231
43967            __cil_tmp94 = __cil_tmp93 + 604;
43968#line 1231
43969            __cil_tmp95 = *((enum fc_lport_state *)__cil_tmp94);
43970#line 1232
43971            if ((int )__cil_tmp95 == 9) {
43972#line 1232
43973              goto case_9;
43974            } else
43975#line 1238
43976            if ((int )__cil_tmp95 == 10) {
43977#line 1238
43978              goto case_10;
43979            } else
43980#line 1241
43981            if ((int )__cil_tmp95 == 12) {
43982#line 1241
43983              goto case_12;
43984            } else
43985#line 1244
43986            if ((int )__cil_tmp95 == 11) {
43987#line 1244
43988              goto case_11;
43989            } else {
43990              {
43991#line 1247
43992              goto switch_default;
43993#line 1231
43994              if (0) {
43995                case_9: /* CIL Label */ 
43996                {
43997#line 1233
43998                __cil_tmp96 = (unsigned long )ct;
43999#line 1233
44000                __cil_tmp97 = __cil_tmp96 + 8;
44001#line 1233
44002                __cil_tmp98 = *((__be16 *)__cil_tmp97);
44003#line 1233
44004                tmp___16 = __fswab16(__cil_tmp98);
44005                }
44006                {
44007#line 1233
44008                __cil_tmp99 = (int )tmp___16;
44009#line 1233
44010                if (__cil_tmp99 == 32770) {
44011                  {
44012#line 1234
44013                  __cil_tmp100 = (enum fc_lport_state )10;
44014#line 1234
44015                  fc_lport_enter_ms(lport, __cil_tmp100);
44016                  }
44017                } else {
44018                  {
44019#line 1236
44020                  fc_lport_enter_scr(lport);
44021                  }
44022                }
44023                }
44024#line 1237
44025                goto switch_break;
44026                case_10: /* CIL Label */ 
44027                {
44028#line 1239
44029                fc_lport_enter_scr(lport);
44030                }
44031#line 1240
44032                goto switch_break;
44033                case_12: /* CIL Label */ 
44034                {
44035#line 1242
44036                __cil_tmp101 = (enum fc_lport_state )9;
44037#line 1242
44038                fc_lport_enter_ms(lport, __cil_tmp101);
44039                }
44040#line 1243
44041                goto switch_break;
44042                case_11: /* CIL Label */ 
44043                {
44044#line 1245
44045                __cil_tmp102 = (enum fc_lport_state )12;
44046#line 1245
44047                fc_lport_enter_ms(lport, __cil_tmp102);
44048                }
44049#line 1246
44050                goto switch_break;
44051                switch_default: /* CIL Label */ 
44052#line 1249
44053                goto switch_break;
44054              } else {
44055                switch_break: /* CIL Label */ ;
44056              }
44057              }
44058            }
44059            }
44060          } else {
44061            {
44062#line 1253
44063            fc_lport_error(lport, fp);
44064            }
44065          }
44066          }
44067        } else {
44068          {
44069#line 1253
44070          fc_lport_error(lport, fp);
44071          }
44072        }
44073        }
44074      } else {
44075        {
44076#line 1253
44077        fc_lport_error(lport, fp);
44078        }
44079      }
44080      }
44081    } else {
44082      {
44083#line 1253
44084      fc_lport_error(lport, fp);
44085      }
44086    }
44087  } else {
44088    {
44089#line 1253
44090    fc_lport_error(lport, fp);
44091    }
44092  }
44093  out: 
44094  {
44095#line 1256
44096  fc_frame_free(fp);
44097  }
44098  err: 
44099  {
44100#line 1258
44101  __cil_tmp103 = (unsigned long )lport;
44102#line 1258
44103  __cil_tmp104 = __cil_tmp103 + 928;
44104#line 1258
44105  __cil_tmp105 = (struct mutex *)__cil_tmp104;
44106#line 1258
44107  mutex_unlock(__cil_tmp105);
44108  }
44109#line 1259
44110  return;
44111}
44112}
44113#line 1271 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
44114static void fc_lport_scr_resp(struct fc_seq *sp , struct fc_frame *fp , void *lp_arg ) 
44115{ struct fc_lport *lport ;
44116  u8 op ;
44117  char    *tmp___7 ;
44118  long tmp___8 ;
44119  void *tmp___9 ;
44120  char    *tmp___10 ;
44121  long tmp___11 ;
44122  long tmp___12 ;
44123  long tmp___13 ;
44124  unsigned int *__cil_tmp13 ;
44125  unsigned int __cil_tmp14 ;
44126  unsigned int __cil_tmp15 ;
44127  int __cil_tmp16 ;
44128  int __cil_tmp17 ;
44129  long __cil_tmp18 ;
44130  struct Scsi_Host *__cil_tmp19 ;
44131  unsigned long __cil_tmp20 ;
44132  unsigned long __cil_tmp21 ;
44133  unsigned int __cil_tmp22 ;
44134  unsigned long __cil_tmp23 ;
44135  unsigned long __cil_tmp24 ;
44136  u32 __cil_tmp25 ;
44137  unsigned long __cil_tmp26 ;
44138  unsigned long __cil_tmp27 ;
44139  unsigned long __cil_tmp28 ;
44140  unsigned long __cil_tmp29 ;
44141  struct mutex *__cil_tmp30 ;
44142  unsigned long __cil_tmp31 ;
44143  unsigned long __cil_tmp32 ;
44144  enum fc_lport_state __cil_tmp33 ;
44145  unsigned int __cil_tmp34 ;
44146  unsigned int *__cil_tmp35 ;
44147  unsigned int __cil_tmp36 ;
44148  unsigned int __cil_tmp37 ;
44149  int __cil_tmp38 ;
44150  int __cil_tmp39 ;
44151  long __cil_tmp40 ;
44152  struct Scsi_Host *__cil_tmp41 ;
44153  unsigned long __cil_tmp42 ;
44154  unsigned long __cil_tmp43 ;
44155  unsigned int __cil_tmp44 ;
44156  unsigned long __cil_tmp45 ;
44157  unsigned long __cil_tmp46 ;
44158  u32 __cil_tmp47 ;
44159  void    *__cil_tmp48 ;
44160  void    *__cil_tmp49 ;
44161  struct fc_frame    *__cil_tmp50 ;
44162  int __cil_tmp51 ;
44163  unsigned long __cil_tmp52 ;
44164  unsigned long __cil_tmp53 ;
44165  struct mutex *__cil_tmp54 ;
44166
44167  {
44168#line 1274
44169  lport = (struct fc_lport *)lp_arg;
44170  {
44171#line 1277
44172  while (1) {
44173    while_continue: /* CIL Label */ ;
44174    {
44175#line 1277
44176    __cil_tmp13 = & fc_debug_logging;
44177#line 1277
44178    __cil_tmp14 = *__cil_tmp13;
44179#line 1277
44180    __cil_tmp15 = __cil_tmp14 & 2U;
44181#line 1277
44182    __cil_tmp16 = ! __cil_tmp15;
44183#line 1277
44184    __cil_tmp17 = ! __cil_tmp16;
44185#line 1277
44186    __cil_tmp18 = (long )__cil_tmp17;
44187#line 1277
44188    tmp___8 = __builtin_expect(__cil_tmp18, 0L);
44189    }
44190#line 1277
44191    if (tmp___8) {
44192      {
44193#line 1277
44194      while (1) {
44195        while_continue___0: /* CIL Label */ ;
44196        {
44197#line 1277
44198        tmp___7 = fc_els_resp_type(fp);
44199#line 1277
44200        __cil_tmp19 = *((struct Scsi_Host **)lport);
44201#line 1277
44202        __cil_tmp20 = (unsigned long )__cil_tmp19;
44203#line 1277
44204        __cil_tmp21 = __cil_tmp20 + 308;
44205#line 1277
44206        __cil_tmp22 = *((unsigned int *)__cil_tmp21);
44207#line 1277
44208        __cil_tmp23 = (unsigned long )lport;
44209#line 1277
44210        __cil_tmp24 = __cil_tmp23 + 788;
44211#line 1277
44212        __cil_tmp25 = *((u32 *)__cil_tmp24);
44213#line 1277
44214        printk("<6>host%u: lport %6.6x: Received a SCR %s\n", __cil_tmp22, __cil_tmp25,
44215               tmp___7);
44216        }
44217#line 1277
44218        goto while_break___0;
44219      }
44220      while_break___0: /* CIL Label */ ;
44221      }
44222    } else {
44223
44224    }
44225#line 1277
44226    goto while_break;
44227  }
44228  while_break: /* CIL Label */ ;
44229  }
44230  {
44231#line 1279
44232  tmp___9 = (void *)ERR_PTR(-2L);
44233  }
44234  {
44235#line 1279
44236  __cil_tmp26 = (unsigned long )tmp___9;
44237#line 1279
44238  __cil_tmp27 = (unsigned long )fp;
44239#line 1279
44240  if (__cil_tmp27 == __cil_tmp26) {
44241#line 1280
44242    return;
44243  } else {
44244
44245  }
44246  }
44247  {
44248#line 1282
44249  __cil_tmp28 = (unsigned long )lport;
44250#line 1282
44251  __cil_tmp29 = __cil_tmp28 + 928;
44252#line 1282
44253  __cil_tmp30 = (struct mutex *)__cil_tmp29;
44254#line 1282
44255  mutex_lock(__cil_tmp30);
44256  }
44257  {
44258#line 1284
44259  __cil_tmp31 = (unsigned long )lport;
44260#line 1284
44261  __cil_tmp32 = __cil_tmp31 + 604;
44262#line 1284
44263  __cil_tmp33 = *((enum fc_lport_state *)__cil_tmp32);
44264#line 1284
44265  __cil_tmp34 = (unsigned int )__cil_tmp33;
44266#line 1284
44267  if (__cil_tmp34 != 13U) {
44268    {
44269#line 1285
44270    while (1) {
44271      while_continue___1: /* CIL Label */ ;
44272      {
44273#line 1285
44274      __cil_tmp35 = & fc_debug_logging;
44275#line 1285
44276      __cil_tmp36 = *__cil_tmp35;
44277#line 1285
44278      __cil_tmp37 = __cil_tmp36 & 2U;
44279#line 1285
44280      __cil_tmp38 = ! __cil_tmp37;
44281#line 1285
44282      __cil_tmp39 = ! __cil_tmp38;
44283#line 1285
44284      __cil_tmp40 = (long )__cil_tmp39;
44285#line 1285
44286      tmp___11 = __builtin_expect(__cil_tmp40, 0L);
44287      }
44288#line 1285
44289      if (tmp___11) {
44290        {
44291#line 1285
44292        while (1) {
44293          while_continue___2: /* CIL Label */ ;
44294          {
44295#line 1285
44296          tmp___10 = fc_lport_state(lport);
44297#line 1285
44298          __cil_tmp41 = *((struct Scsi_Host **)lport);
44299#line 1285
44300          __cil_tmp42 = (unsigned long )__cil_tmp41;
44301#line 1285
44302          __cil_tmp43 = __cil_tmp42 + 308;
44303#line 1285
44304          __cil_tmp44 = *((unsigned int *)__cil_tmp43);
44305#line 1285
44306          __cil_tmp45 = (unsigned long )lport;
44307#line 1285
44308          __cil_tmp46 = __cil_tmp45 + 788;
44309#line 1285
44310          __cil_tmp47 = *((u32 *)__cil_tmp46);
44311#line 1285
44312          printk("<6>host%u: lport %6.6x: Received a SCR response, but in state %s\n",
44313                 __cil_tmp44, __cil_tmp47, tmp___10);
44314          }
44315#line 1285
44316          goto while_break___2;
44317        }
44318        while_break___2: /* CIL Label */ ;
44319        }
44320      } else {
44321
44322      }
44323#line 1285
44324      goto while_break___1;
44325    }
44326    while_break___1: /* CIL Label */ ;
44327    }
44328    {
44329#line 1287
44330    __cil_tmp48 = (void    *)fp;
44331#line 1287
44332    tmp___12 = (long )IS_ERR(__cil_tmp48);
44333    }
44334#line 1287
44335    if (tmp___12) {
44336#line 1288
44337      goto err;
44338    } else {
44339
44340    }
44341#line 1289
44342    goto out;
44343  } else {
44344
44345  }
44346  }
44347  {
44348#line 1292
44349  __cil_tmp49 = (void    *)fp;
44350#line 1292
44351  tmp___13 = (long )IS_ERR(__cil_tmp49);
44352  }
44353#line 1292
44354  if (tmp___13) {
44355    {
44356#line 1293
44357    fc_lport_error(lport, fp);
44358    }
44359#line 1294
44360    goto err;
44361  } else {
44362
44363  }
44364  {
44365#line 1297
44366  __cil_tmp50 = (struct fc_frame    *)fp;
44367#line 1297
44368  op = fc_frame_payload_op(__cil_tmp50);
44369  }
44370  {
44371#line 1298
44372  __cil_tmp51 = (int )op;
44373#line 1298
44374  if (__cil_tmp51 == 2) {
44375    {
44376#line 1299
44377    fc_lport_enter_ready(lport);
44378    }
44379  } else {
44380    {
44381#line 1301
44382    fc_lport_error(lport, fp);
44383    }
44384  }
44385  }
44386  out: 
44387  {
44388#line 1304
44389  fc_frame_free(fp);
44390  }
44391  err: 
44392  {
44393#line 1306
44394  __cil_tmp52 = (unsigned long )lport;
44395#line 1306
44396  __cil_tmp53 = __cil_tmp52 + 928;
44397#line 1306
44398  __cil_tmp54 = (struct mutex *)__cil_tmp53;
44399#line 1306
44400  mutex_unlock(__cil_tmp54);
44401  }
44402#line 1307
44403  return;
44404}
44405}
44406#line 1316 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
44407static void fc_lport_enter_scr(struct fc_lport *lport ) 
44408{ struct fc_frame *fp ;
44409  char    *tmp___7 ;
44410  long tmp___8 ;
44411  struct fc_seq *tmp___9 ;
44412  unsigned int *__cil_tmp6 ;
44413  unsigned int __cil_tmp7 ;
44414  unsigned int __cil_tmp8 ;
44415  int __cil_tmp9 ;
44416  int __cil_tmp10 ;
44417  long __cil_tmp11 ;
44418  struct Scsi_Host *__cil_tmp12 ;
44419  unsigned long __cil_tmp13 ;
44420  unsigned long __cil_tmp14 ;
44421  unsigned int __cil_tmp15 ;
44422  unsigned long __cil_tmp16 ;
44423  unsigned long __cil_tmp17 ;
44424  u32 __cil_tmp18 ;
44425  enum fc_lport_state __cil_tmp19 ;
44426  unsigned long __cil_tmp20 ;
44427  unsigned long __cil_tmp21 ;
44428  unsigned long __cil_tmp22 ;
44429  struct fc_seq *(*__cil_tmp23)(struct fc_lport * , u32 did , struct fc_frame * ,
44430                                unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
44431                                                               void *arg ) , void *arg ,
44432                                u32 timer_msec ) ;
44433  u32 __cil_tmp24 ;
44434  void *__cil_tmp25 ;
44435  unsigned long __cil_tmp26 ;
44436  unsigned long __cil_tmp27 ;
44437  unsigned int __cil_tmp28 ;
44438  unsigned int __cil_tmp29 ;
44439  void *__cil_tmp30 ;
44440  struct fc_frame *__cil_tmp31 ;
44441
44442  {
44443  {
44444#line 1320
44445  while (1) {
44446    while_continue: /* CIL Label */ ;
44447    {
44448#line 1320
44449    __cil_tmp6 = & fc_debug_logging;
44450#line 1320
44451    __cil_tmp7 = *__cil_tmp6;
44452#line 1320
44453    __cil_tmp8 = __cil_tmp7 & 2U;
44454#line 1320
44455    __cil_tmp9 = ! __cil_tmp8;
44456#line 1320
44457    __cil_tmp10 = ! __cil_tmp9;
44458#line 1320
44459    __cil_tmp11 = (long )__cil_tmp10;
44460#line 1320
44461    tmp___8 = __builtin_expect(__cil_tmp11, 0L);
44462    }
44463#line 1320
44464    if (tmp___8) {
44465      {
44466#line 1320
44467      while (1) {
44468        while_continue___0: /* CIL Label */ ;
44469        {
44470#line 1320
44471        tmp___7 = fc_lport_state(lport);
44472#line 1320
44473        __cil_tmp12 = *((struct Scsi_Host **)lport);
44474#line 1320
44475        __cil_tmp13 = (unsigned long )__cil_tmp12;
44476#line 1320
44477        __cil_tmp14 = __cil_tmp13 + 308;
44478#line 1320
44479        __cil_tmp15 = *((unsigned int *)__cil_tmp14);
44480#line 1320
44481        __cil_tmp16 = (unsigned long )lport;
44482#line 1320
44483        __cil_tmp17 = __cil_tmp16 + 788;
44484#line 1320
44485        __cil_tmp18 = *((u32 *)__cil_tmp17);
44486#line 1320
44487        printk("<6>host%u: lport %6.6x: Entered SCR state from %s state\n", __cil_tmp15,
44488               __cil_tmp18, tmp___7);
44489        }
44490#line 1320
44491        goto while_break___0;
44492      }
44493      while_break___0: /* CIL Label */ ;
44494      }
44495    } else {
44496
44497    }
44498#line 1320
44499    goto while_break;
44500  }
44501  while_break: /* CIL Label */ ;
44502  }
44503  {
44504#line 1323
44505  __cil_tmp19 = (enum fc_lport_state )13;
44506#line 1323
44507  fc_lport_state_enter(lport, __cil_tmp19);
44508#line 1325
44509  fp = fc_frame_alloc(lport, 8UL);
44510  }
44511#line 1326
44512  if (! fp) {
44513    {
44514#line 1327
44515    fc_lport_error(lport, fp);
44516    }
44517#line 1328
44518    return;
44519  } else {
44520
44521  }
44522  {
44523#line 1331
44524  __cil_tmp20 = 328 + 8;
44525#line 1331
44526  __cil_tmp21 = (unsigned long )lport;
44527#line 1331
44528  __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
44529#line 1331
44530  __cil_tmp23 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
44531                                       unsigned int op , void (*resp)(struct fc_seq * ,
44532                                                                      struct fc_frame * ,
44533                                                                      void *arg ) ,
44534                                       void *arg , u32 timer_msec ))__cil_tmp22);
44535#line 1331
44536  __cil_tmp24 = (u32 )16777213;
44537#line 1331
44538  __cil_tmp25 = (void *)lport;
44539#line 1331
44540  __cil_tmp26 = (unsigned long )lport;
44541#line 1331
44542  __cil_tmp27 = __cil_tmp26 + 816;
44543#line 1331
44544  __cil_tmp28 = *((unsigned int *)__cil_tmp27);
44545#line 1331
44546  __cil_tmp29 = 2U * __cil_tmp28;
44547#line 1331
44548  tmp___9 = (*__cil_tmp23)(lport, __cil_tmp24, fp, 98U, & fc_lport_scr_resp, __cil_tmp25,
44549                           __cil_tmp29);
44550  }
44551#line 1331
44552  if (tmp___9) {
44553
44554  } else {
44555    {
44556#line 1334
44557    __cil_tmp30 = (void *)0;
44558#line 1334
44559    __cil_tmp31 = (struct fc_frame *)__cil_tmp30;
44560#line 1334
44561    fc_lport_error(lport, __cil_tmp31);
44562    }
44563  }
44564#line 1335
44565  return;
44566}
44567}
44568#line 1344 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
44569static void fc_lport_enter_ns(struct fc_lport *lport , enum fc_lport_state state ) 
44570{ struct fc_frame *fp ;
44571  enum fc_ns_req cmd ;
44572  int size ;
44573  size_t len ;
44574  char    *tmp___7 ;
44575  long tmp___8 ;
44576  struct fc_seq *tmp___9 ;
44577  unsigned int *__cil_tmp10 ;
44578  unsigned int __cil_tmp11 ;
44579  unsigned int __cil_tmp12 ;
44580  int __cil_tmp13 ;
44581  int __cil_tmp14 ;
44582  long __cil_tmp15 ;
44583  struct Scsi_Host *__cil_tmp16 ;
44584  unsigned long __cil_tmp17 ;
44585  unsigned long __cil_tmp18 ;
44586  unsigned int __cil_tmp19 ;
44587  unsigned long __cil_tmp20 ;
44588  unsigned long __cil_tmp21 ;
44589  u32 __cil_tmp22 ;
44590  unsigned long __cil_tmp23 ;
44591  unsigned long __cil_tmp24 ;
44592  char    *__cil_tmp25 ;
44593  unsigned long __cil_tmp26 ;
44594  unsigned long __cil_tmp27 ;
44595  unsigned long __cil_tmp28 ;
44596  unsigned long __cil_tmp29 ;
44597  struct Scsi_Host *__cil_tmp30 ;
44598  unsigned long __cil_tmp31 ;
44599  unsigned long __cil_tmp32 ;
44600  void *__cil_tmp33 ;
44601  struct fc_host_attrs *__cil_tmp34 ;
44602  unsigned long __cil_tmp35 ;
44603  unsigned long __cil_tmp36 ;
44604  char *__cil_tmp37 ;
44605  char    *__cil_tmp38 ;
44606  __kernel_size_t __cil_tmp39 ;
44607  enum fc_lport_state __cil_tmp40 ;
44608  unsigned long __cil_tmp41 ;
44609  unsigned long __cil_tmp42 ;
44610  unsigned long __cil_tmp43 ;
44611  unsigned long __cil_tmp44 ;
44612  unsigned long __cil_tmp45 ;
44613  struct Scsi_Host *__cil_tmp46 ;
44614  unsigned long __cil_tmp47 ;
44615  unsigned long __cil_tmp48 ;
44616  void *__cil_tmp49 ;
44617  struct fc_host_attrs *__cil_tmp50 ;
44618  unsigned long __cil_tmp51 ;
44619  unsigned long __cil_tmp52 ;
44620  char *__cil_tmp53 ;
44621  char    *__cil_tmp54 ;
44622  __kernel_size_t __cil_tmp55 ;
44623  enum fc_lport_state __cil_tmp56 ;
44624  unsigned long __cil_tmp57 ;
44625  unsigned long __cil_tmp58 ;
44626  unsigned long __cil_tmp59 ;
44627  unsigned long __cil_tmp60 ;
44628  unsigned long __cil_tmp61 ;
44629  unsigned long __cil_tmp62 ;
44630  unsigned long __cil_tmp63 ;
44631  void *__cil_tmp64 ;
44632  struct fc_frame *__cil_tmp65 ;
44633  size_t __cil_tmp66 ;
44634  unsigned long __cil_tmp67 ;
44635  unsigned long __cil_tmp68 ;
44636  unsigned long __cil_tmp69 ;
44637  struct fc_seq *(*__cil_tmp70)(struct fc_lport * , u32 did , struct fc_frame * ,
44638                                unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
44639                                                               void *arg ) , void *arg ,
44640                                u32 timer_msec ) ;
44641  u32 __cil_tmp71 ;
44642  unsigned int __cil_tmp72 ;
44643  void *__cil_tmp73 ;
44644  unsigned long __cil_tmp74 ;
44645  unsigned long __cil_tmp75 ;
44646  unsigned int __cil_tmp76 ;
44647  unsigned int __cil_tmp77 ;
44648
44649  {
44650#line 1348
44651  size = (int )16UL;
44652  {
44653#line 1351
44654  while (1) {
44655    while_continue: /* CIL Label */ ;
44656    {
44657#line 1351
44658    __cil_tmp10 = & fc_debug_logging;
44659#line 1351
44660    __cil_tmp11 = *__cil_tmp10;
44661#line 1351
44662    __cil_tmp12 = __cil_tmp11 & 2U;
44663#line 1351
44664    __cil_tmp13 = ! __cil_tmp12;
44665#line 1351
44666    __cil_tmp14 = ! __cil_tmp13;
44667#line 1351
44668    __cil_tmp15 = (long )__cil_tmp14;
44669#line 1351
44670    tmp___8 = __builtin_expect(__cil_tmp15, 0L);
44671    }
44672#line 1351
44673    if (tmp___8) {
44674      {
44675#line 1351
44676      while (1) {
44677        while_continue___0: /* CIL Label */ ;
44678        {
44679#line 1351
44680        tmp___7 = fc_lport_state(lport);
44681#line 1351
44682        __cil_tmp16 = *((struct Scsi_Host **)lport);
44683#line 1351
44684        __cil_tmp17 = (unsigned long )__cil_tmp16;
44685#line 1351
44686        __cil_tmp18 = __cil_tmp17 + 308;
44687#line 1351
44688        __cil_tmp19 = *((unsigned int *)__cil_tmp18);
44689#line 1351
44690        __cil_tmp20 = (unsigned long )lport;
44691#line 1351
44692        __cil_tmp21 = __cil_tmp20 + 788;
44693#line 1351
44694        __cil_tmp22 = *((u32 *)__cil_tmp21);
44695#line 1351
44696        __cil_tmp23 = state * 8UL;
44697#line 1351
44698        __cil_tmp24 = (unsigned long )(fc_lport_state_names) + __cil_tmp23;
44699#line 1351
44700        __cil_tmp25 = *((char    **)__cil_tmp24);
44701#line 1351
44702        printk("<6>host%u: lport %6.6x: Entered %s state from %s state\n", __cil_tmp19,
44703               __cil_tmp22, __cil_tmp25, tmp___7);
44704        }
44705#line 1351
44706        goto while_break___0;
44707      }
44708      while_break___0: /* CIL Label */ ;
44709      }
44710    } else {
44711
44712    }
44713#line 1351
44714    goto while_break;
44715  }
44716  while_break: /* CIL Label */ ;
44717  }
44718  {
44719#line 1355
44720  fc_lport_state_enter(lport, state);
44721  }
44722#line 1358
44723  if ((int )state == 3) {
44724#line 1358
44725    goto case_3;
44726  } else
44727#line 1362
44728  if ((int )state == 4) {
44729#line 1362
44730    goto case_4;
44731  } else
44732#line 1370
44733  if ((int )state == 5) {
44734#line 1370
44735    goto case_5;
44736  } else
44737#line 1378
44738  if ((int )state == 6) {
44739#line 1378
44740    goto case_6;
44741  } else
44742#line 1382
44743  if ((int )state == 7) {
44744#line 1382
44745    goto case_7;
44746  } else {
44747    {
44748#line 1386
44749    goto switch_default;
44750#line 1357
44751    if (0) {
44752      case_3: /* CIL Label */ 
44753#line 1359
44754      cmd = (enum fc_ns_req )531;
44755#line 1360
44756      __cil_tmp26 = (unsigned long )size;
44757#line 1360
44758      __cil_tmp27 = __cil_tmp26 + 12UL;
44759#line 1360
44760      size = (int )__cil_tmp27;
44761#line 1361
44762      goto switch_break;
44763      case_4: /* CIL Label */ 
44764      {
44765#line 1363
44766      __cil_tmp28 = 0 * 1UL;
44767#line 1363
44768      __cil_tmp29 = 1056 + __cil_tmp28;
44769#line 1363
44770      __cil_tmp30 = *((struct Scsi_Host **)lport);
44771#line 1363
44772      __cil_tmp31 = (unsigned long )__cil_tmp30;
44773#line 1363
44774      __cil_tmp32 = __cil_tmp31 + 2024;
44775#line 1363
44776      __cil_tmp33 = *((void **)__cil_tmp32);
44777#line 1363
44778      __cil_tmp34 = (struct fc_host_attrs *)__cil_tmp33;
44779#line 1363
44780      __cil_tmp35 = (unsigned long )__cil_tmp34;
44781#line 1363
44782      __cil_tmp36 = __cil_tmp35 + __cil_tmp29;
44783#line 1363
44784      __cil_tmp37 = (char *)__cil_tmp36;
44785#line 1363
44786      __cil_tmp38 = (char    *)__cil_tmp37;
44787#line 1363
44788      __cil_tmp39 = (__kernel_size_t )255;
44789#line 1363
44790      len = strnlen(__cil_tmp38, __cil_tmp39);
44791      }
44792#line 1365
44793      if (! len) {
44794        {
44795#line 1366
44796        __cil_tmp40 = (enum fc_lport_state )6;
44797#line 1366
44798        fc_lport_enter_ns(lport, __cil_tmp40);
44799        }
44800#line 1366
44801        return;
44802      } else {
44803
44804      }
44805#line 1367
44806      cmd = (enum fc_ns_req )569;
44807#line 1368
44808      __cil_tmp41 = 9UL + len;
44809#line 1368
44810      __cil_tmp42 = (unsigned long )size;
44811#line 1368
44812      __cil_tmp43 = __cil_tmp42 + __cil_tmp41;
44813#line 1368
44814      size = (int )__cil_tmp43;
44815#line 1369
44816      goto switch_break;
44817      case_5: /* CIL Label */ 
44818      {
44819#line 1371
44820      __cil_tmp44 = 0 * 1UL;
44821#line 1371
44822      __cil_tmp45 = 1056 + __cil_tmp44;
44823#line 1371
44824      __cil_tmp46 = *((struct Scsi_Host **)lport);
44825#line 1371
44826      __cil_tmp47 = (unsigned long )__cil_tmp46;
44827#line 1371
44828      __cil_tmp48 = __cil_tmp47 + 2024;
44829#line 1371
44830      __cil_tmp49 = *((void **)__cil_tmp48);
44831#line 1371
44832      __cil_tmp50 = (struct fc_host_attrs *)__cil_tmp49;
44833#line 1371
44834      __cil_tmp51 = (unsigned long )__cil_tmp50;
44835#line 1371
44836      __cil_tmp52 = __cil_tmp51 + __cil_tmp45;
44837#line 1371
44838      __cil_tmp53 = (char *)__cil_tmp52;
44839#line 1371
44840      __cil_tmp54 = (char    *)__cil_tmp53;
44841#line 1371
44842      __cil_tmp55 = (__kernel_size_t )255;
44843#line 1371
44844      len = strnlen(__cil_tmp54, __cil_tmp55);
44845      }
44846#line 1373
44847      if (! len) {
44848        {
44849#line 1374
44850        __cil_tmp56 = (enum fc_lport_state )6;
44851#line 1374
44852        fc_lport_enter_ns(lport, __cil_tmp56);
44853        }
44854#line 1374
44855        return;
44856      } else {
44857
44858      }
44859#line 1375
44860      cmd = (enum fc_ns_req )536;
44861#line 1376
44862      __cil_tmp57 = 5UL + len;
44863#line 1376
44864      __cil_tmp58 = (unsigned long )size;
44865#line 1376
44866      __cil_tmp59 = __cil_tmp58 + __cil_tmp57;
44867#line 1376
44868      size = (int )__cil_tmp59;
44869#line 1377
44870      goto switch_break;
44871      case_6: /* CIL Label */ 
44872#line 1379
44873      cmd = (enum fc_ns_req )535;
44874#line 1380
44875      __cil_tmp60 = (unsigned long )size;
44876#line 1380
44877      __cil_tmp61 = __cil_tmp60 + 36UL;
44878#line 1380
44879      size = (int )__cil_tmp61;
44880#line 1381
44881      goto switch_break;
44882      case_7: /* CIL Label */ 
44883#line 1383
44884      cmd = (enum fc_ns_req )543;
44885#line 1384
44886      __cil_tmp62 = (unsigned long )size;
44887#line 1384
44888      __cil_tmp63 = __cil_tmp62 + 8UL;
44889#line 1384
44890      size = (int )__cil_tmp63;
44891#line 1385
44892      goto switch_break;
44893      switch_default: /* CIL Label */ 
44894      {
44895#line 1387
44896      __cil_tmp64 = (void *)0;
44897#line 1387
44898      __cil_tmp65 = (struct fc_frame *)__cil_tmp64;
44899#line 1387
44900      fc_lport_error(lport, __cil_tmp65);
44901      }
44902#line 1388
44903      return;
44904    } else {
44905      switch_break: /* CIL Label */ ;
44906    }
44907    }
44908  }
44909  {
44910#line 1391
44911  __cil_tmp66 = (size_t )size;
44912#line 1391
44913  fp = fc_frame_alloc(lport, __cil_tmp66);
44914  }
44915#line 1392
44916  if (! fp) {
44917    {
44918#line 1393
44919    fc_lport_error(lport, fp);
44920    }
44921#line 1394
44922    return;
44923  } else {
44924
44925  }
44926  {
44927#line 1397
44928  __cil_tmp67 = 328 + 8;
44929#line 1397
44930  __cil_tmp68 = (unsigned long )lport;
44931#line 1397
44932  __cil_tmp69 = __cil_tmp68 + __cil_tmp67;
44933#line 1397
44934  __cil_tmp70 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
44935                                       unsigned int op , void (*resp)(struct fc_seq * ,
44936                                                                      struct fc_frame * ,
44937                                                                      void *arg ) ,
44938                                       void *arg , u32 timer_msec ))__cil_tmp69);
44939#line 1397
44940  __cil_tmp71 = (u32 )16777212;
44941#line 1397
44942  __cil_tmp72 = (unsigned int )cmd;
44943#line 1397
44944  __cil_tmp73 = (void *)lport;
44945#line 1397
44946  __cil_tmp74 = (unsigned long )lport;
44947#line 1397
44948  __cil_tmp75 = __cil_tmp74 + 816;
44949#line 1397
44950  __cil_tmp76 = *((unsigned int *)__cil_tmp75);
44951#line 1397
44952  __cil_tmp77 = 3U * __cil_tmp76;
44953#line 1397
44954  tmp___9 = (*__cil_tmp70)(lport, __cil_tmp71, fp, __cil_tmp72, & fc_lport_ns_resp,
44955                           __cil_tmp73, __cil_tmp77);
44956  }
44957#line 1397
44958  if (tmp___9) {
44959
44960  } else {
44961    {
44962#line 1400
44963    fc_lport_error(lport, fp);
44964    }
44965  }
44966#line 1401
44967  return;
44968}
44969}
44970#line 1403 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
44971static struct fc_rport_operations fc_lport_rport_ops  =    {& fc_lport_rport_callback};
44972#line 1414 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
44973static void fc_lport_enter_dns(struct fc_lport *lport ) 
44974{ struct fc_rport_priv *rdata ;
44975  char    *tmp___7 ;
44976  long tmp___8 ;
44977  unsigned int *__cil_tmp5 ;
44978  unsigned int __cil_tmp6 ;
44979  unsigned int __cil_tmp7 ;
44980  int __cil_tmp8 ;
44981  int __cil_tmp9 ;
44982  long __cil_tmp10 ;
44983  struct Scsi_Host *__cil_tmp11 ;
44984  unsigned long __cil_tmp12 ;
44985  unsigned long __cil_tmp13 ;
44986  unsigned int __cil_tmp14 ;
44987  unsigned long __cil_tmp15 ;
44988  unsigned long __cil_tmp16 ;
44989  u32 __cil_tmp17 ;
44990  enum fc_lport_state __cil_tmp18 ;
44991  unsigned long __cil_tmp19 ;
44992  unsigned long __cil_tmp20 ;
44993  unsigned long __cil_tmp21 ;
44994  struct mutex *__cil_tmp22 ;
44995  unsigned long __cil_tmp23 ;
44996  unsigned long __cil_tmp24 ;
44997  unsigned long __cil_tmp25 ;
44998  struct fc_rport_priv *(*__cil_tmp26)(struct fc_lport * , u32  ) ;
44999  u32 __cil_tmp27 ;
45000  unsigned long __cil_tmp28 ;
45001  unsigned long __cil_tmp29 ;
45002  unsigned long __cil_tmp30 ;
45003  struct mutex *__cil_tmp31 ;
45004  unsigned long __cil_tmp32 ;
45005  unsigned long __cil_tmp33 ;
45006  unsigned long __cil_tmp34 ;
45007  unsigned long __cil_tmp35 ;
45008  unsigned long __cil_tmp36 ;
45009  int (*__cil_tmp37)(struct fc_rport_priv * ) ;
45010  void *__cil_tmp38 ;
45011  struct fc_frame *__cil_tmp39 ;
45012
45013  {
45014  {
45015#line 1418
45016  while (1) {
45017    while_continue: /* CIL Label */ ;
45018    {
45019#line 1418
45020    __cil_tmp5 = & fc_debug_logging;
45021#line 1418
45022    __cil_tmp6 = *__cil_tmp5;
45023#line 1418
45024    __cil_tmp7 = __cil_tmp6 & 2U;
45025#line 1418
45026    __cil_tmp8 = ! __cil_tmp7;
45027#line 1418
45028    __cil_tmp9 = ! __cil_tmp8;
45029#line 1418
45030    __cil_tmp10 = (long )__cil_tmp9;
45031#line 1418
45032    tmp___8 = __builtin_expect(__cil_tmp10, 0L);
45033    }
45034#line 1418
45035    if (tmp___8) {
45036      {
45037#line 1418
45038      while (1) {
45039        while_continue___0: /* CIL Label */ ;
45040        {
45041#line 1418
45042        tmp___7 = fc_lport_state(lport);
45043#line 1418
45044        __cil_tmp11 = *((struct Scsi_Host **)lport);
45045#line 1418
45046        __cil_tmp12 = (unsigned long )__cil_tmp11;
45047#line 1418
45048        __cil_tmp13 = __cil_tmp12 + 308;
45049#line 1418
45050        __cil_tmp14 = *((unsigned int *)__cil_tmp13);
45051#line 1418
45052        __cil_tmp15 = (unsigned long )lport;
45053#line 1418
45054        __cil_tmp16 = __cil_tmp15 + 788;
45055#line 1418
45056        __cil_tmp17 = *((u32 *)__cil_tmp16);
45057#line 1418
45058        printk("<6>host%u: lport %6.6x: Entered DNS state from %s state\n", __cil_tmp14,
45059               __cil_tmp17, tmp___7);
45060        }
45061#line 1418
45062        goto while_break___0;
45063      }
45064      while_break___0: /* CIL Label */ ;
45065      }
45066    } else {
45067
45068    }
45069#line 1418
45070    goto while_break;
45071  }
45072  while_break: /* CIL Label */ ;
45073  }
45074  {
45075#line 1421
45076  __cil_tmp18 = (enum fc_lport_state )2;
45077#line 1421
45078  fc_lport_state_enter(lport, __cil_tmp18);
45079#line 1423
45080  __cil_tmp19 = 56 + 40;
45081#line 1423
45082  __cil_tmp20 = (unsigned long )lport;
45083#line 1423
45084  __cil_tmp21 = __cil_tmp20 + __cil_tmp19;
45085#line 1423
45086  __cil_tmp22 = (struct mutex *)__cil_tmp21;
45087#line 1423
45088  mutex_lock(__cil_tmp22);
45089#line 1424
45090  __cil_tmp23 = 328 + 160;
45091#line 1424
45092  __cil_tmp24 = (unsigned long )lport;
45093#line 1424
45094  __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
45095#line 1424
45096  __cil_tmp26 = *((struct fc_rport_priv *(**)(struct fc_lport * , u32  ))__cil_tmp25);
45097#line 1424
45098  __cil_tmp27 = (u32 )16777212;
45099#line 1424
45100  rdata = (*__cil_tmp26)(lport, __cil_tmp27);
45101#line 1425
45102  __cil_tmp28 = 56 + 40;
45103#line 1425
45104  __cil_tmp29 = (unsigned long )lport;
45105#line 1425
45106  __cil_tmp30 = __cil_tmp29 + __cil_tmp28;
45107#line 1425
45108  __cil_tmp31 = (struct mutex *)__cil_tmp30;
45109#line 1425
45110  mutex_unlock(__cil_tmp31);
45111  }
45112#line 1426
45113  if (! rdata) {
45114#line 1427
45115    goto err;
45116  } else {
45117
45118  }
45119  {
45120#line 1429
45121  __cil_tmp32 = (unsigned long )rdata;
45122#line 1429
45123  __cil_tmp33 = __cil_tmp32 + 264;
45124#line 1429
45125  *((struct fc_rport_operations **)__cil_tmp33) = & fc_lport_rport_ops;
45126#line 1430
45127  __cil_tmp34 = 328 + 168;
45128#line 1430
45129  __cil_tmp35 = (unsigned long )lport;
45130#line 1430
45131  __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
45132#line 1430
45133  __cil_tmp37 = *((int (**)(struct fc_rport_priv * ))__cil_tmp36);
45134#line 1430
45135  (*__cil_tmp37)(rdata);
45136  }
45137#line 1431
45138  return;
45139  err: 
45140  {
45141#line 1434
45142  __cil_tmp38 = (void *)0;
45143#line 1434
45144  __cil_tmp39 = (struct fc_frame *)__cil_tmp38;
45145#line 1434
45146  fc_lport_error(lport, __cil_tmp39);
45147  }
45148#line 1435
45149  return;
45150}
45151}
45152#line 1444 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
45153static void fc_lport_enter_ms(struct fc_lport *lport , enum fc_lport_state state ) 
45154{ struct fc_frame *fp ;
45155  enum fc_fdmi_req cmd ;
45156  int size ;
45157  size_t len ;
45158  int numattrs ;
45159  char    *tmp___7 ;
45160  long tmp___8 ;
45161  long tmp___9 ;
45162  struct fc_seq *tmp___10 ;
45163  unsigned int *__cil_tmp12 ;
45164  unsigned int __cil_tmp13 ;
45165  unsigned int __cil_tmp14 ;
45166  int __cil_tmp15 ;
45167  int __cil_tmp16 ;
45168  long __cil_tmp17 ;
45169  struct Scsi_Host *__cil_tmp18 ;
45170  unsigned long __cil_tmp19 ;
45171  unsigned long __cil_tmp20 ;
45172  unsigned int __cil_tmp21 ;
45173  unsigned long __cil_tmp22 ;
45174  unsigned long __cil_tmp23 ;
45175  u32 __cil_tmp24 ;
45176  unsigned long __cil_tmp25 ;
45177  unsigned long __cil_tmp26 ;
45178  char    *__cil_tmp27 ;
45179  int __cil_tmp28 ;
45180  size_t __cil_tmp29 ;
45181  size_t __cil_tmp30 ;
45182  size_t __cil_tmp31 ;
45183  int __cil_tmp32 ;
45184  size_t __cil_tmp33 ;
45185  size_t __cil_tmp34 ;
45186  size_t __cil_tmp35 ;
45187  size_t __cil_tmp36 ;
45188  size_t __cil_tmp37 ;
45189  size_t __cil_tmp38 ;
45190  size_t __cil_tmp39 ;
45191  void *__cil_tmp40 ;
45192  struct fc_frame *__cil_tmp41 ;
45193  unsigned int *__cil_tmp42 ;
45194  unsigned int __cil_tmp43 ;
45195  unsigned int __cil_tmp44 ;
45196  int __cil_tmp45 ;
45197  int __cil_tmp46 ;
45198  long __cil_tmp47 ;
45199  struct Scsi_Host *__cil_tmp48 ;
45200  unsigned long __cil_tmp49 ;
45201  unsigned long __cil_tmp50 ;
45202  unsigned int __cil_tmp51 ;
45203  unsigned long __cil_tmp52 ;
45204  unsigned long __cil_tmp53 ;
45205  u32 __cil_tmp54 ;
45206  unsigned int __cil_tmp55 ;
45207  int __cil_tmp56 ;
45208  size_t __cil_tmp57 ;
45209  unsigned long __cil_tmp58 ;
45210  unsigned long __cil_tmp59 ;
45211  unsigned long __cil_tmp60 ;
45212  struct fc_seq *(*__cil_tmp61)(struct fc_lport * , u32 did , struct fc_frame * ,
45213                                unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
45214                                                               void *arg ) , void *arg ,
45215                                u32 timer_msec ) ;
45216  u32 __cil_tmp62 ;
45217  unsigned int __cil_tmp63 ;
45218  void *__cil_tmp64 ;
45219  unsigned long __cil_tmp65 ;
45220  unsigned long __cil_tmp66 ;
45221  unsigned int __cil_tmp67 ;
45222  unsigned int __cil_tmp68 ;
45223
45224  {
45225#line 1448
45226  size = (int )16UL;
45227  {
45228#line 1452
45229  while (1) {
45230    while_continue: /* CIL Label */ ;
45231    {
45232#line 1452
45233    __cil_tmp12 = & fc_debug_logging;
45234#line 1452
45235    __cil_tmp13 = *__cil_tmp12;
45236#line 1452
45237    __cil_tmp14 = __cil_tmp13 & 2U;
45238#line 1452
45239    __cil_tmp15 = ! __cil_tmp14;
45240#line 1452
45241    __cil_tmp16 = ! __cil_tmp15;
45242#line 1452
45243    __cil_tmp17 = (long )__cil_tmp16;
45244#line 1452
45245    tmp___8 = __builtin_expect(__cil_tmp17, 0L);
45246    }
45247#line 1452
45248    if (tmp___8) {
45249      {
45250#line 1452
45251      while (1) {
45252        while_continue___0: /* CIL Label */ ;
45253        {
45254#line 1452
45255        tmp___7 = fc_lport_state(lport);
45256#line 1452
45257        __cil_tmp18 = *((struct Scsi_Host **)lport);
45258#line 1452
45259        __cil_tmp19 = (unsigned long )__cil_tmp18;
45260#line 1452
45261        __cil_tmp20 = __cil_tmp19 + 308;
45262#line 1452
45263        __cil_tmp21 = *((unsigned int *)__cil_tmp20);
45264#line 1452
45265        __cil_tmp22 = (unsigned long )lport;
45266#line 1452
45267        __cil_tmp23 = __cil_tmp22 + 788;
45268#line 1452
45269        __cil_tmp24 = *((u32 *)__cil_tmp23);
45270#line 1452
45271        __cil_tmp25 = state * 8UL;
45272#line 1452
45273        __cil_tmp26 = (unsigned long )(fc_lport_state_names) + __cil_tmp25;
45274#line 1452
45275        __cil_tmp27 = *((char    **)__cil_tmp26);
45276#line 1452
45277        printk("<6>host%u: lport %6.6x: Entered %s state from %s state\n", __cil_tmp21,
45278               __cil_tmp24, __cil_tmp27, tmp___7);
45279        }
45280#line 1452
45281        goto while_break___0;
45282      }
45283      while_break___0: /* CIL Label */ ;
45284      }
45285    } else {
45286
45287    }
45288#line 1452
45289    goto while_break;
45290  }
45291  while_break: /* CIL Label */ ;
45292  }
45293  {
45294#line 1456
45295  fc_lport_state_enter(lport, state);
45296  }
45297#line 1459
45298  if ((int )state == 9) {
45299#line 1459
45300    goto case_9;
45301  } else
45302#line 1479
45303  if ((int )state == 10) {
45304#line 1479
45305    goto case_10;
45306  } else
45307#line 1495
45308  if ((int )state == 12) {
45309#line 1495
45310    goto case_12;
45311  } else
45312#line 1500
45313  if ((int )state == 11) {
45314#line 1500
45315    goto case_11;
45316  } else {
45317    {
45318#line 1505
45319    goto switch_default;
45320#line 1458
45321    if (0) {
45322      case_9: /* CIL Label */ 
45323#line 1460
45324      cmd = (enum fc_fdmi_req )512;
45325#line 1462
45326      numattrs = 10;
45327#line 1463
45328      len = 29UL;
45329#line 1464
45330      len = len - 5UL;
45331#line 1465
45332      __cil_tmp28 = numattrs * 4;
45333#line 1465
45334      __cil_tmp29 = (size_t )__cil_tmp28;
45335#line 1465
45336      len = len + __cil_tmp29;
45337#line 1466
45338      len = len + 8UL;
45339#line 1467
45340      len = len + 64UL;
45341#line 1468
45342      len = len + 64UL;
45343#line 1469
45344      len = len + 256UL;
45345#line 1470
45346      len = len + 256UL;
45347#line 1471
45348      len = len + 256UL;
45349#line 1472
45350      len = len + 256UL;
45351#line 1473
45352      len = len + 256UL;
45353#line 1474
45354      len = len + 256UL;
45355#line 1475
45356      len = len + 256UL;
45357#line 1477
45358      __cil_tmp30 = (size_t )size;
45359#line 1477
45360      __cil_tmp31 = __cil_tmp30 + len;
45361#line 1477
45362      size = (int )__cil_tmp31;
45363#line 1478
45364      goto switch_break;
45365      case_10: /* CIL Label */ 
45366#line 1480
45367      cmd = (enum fc_fdmi_req )529;
45368#line 1482
45369      numattrs = 6;
45370#line 1483
45371      len = 17UL;
45372#line 1484
45373      len = len - 5UL;
45374#line 1485
45375      __cil_tmp32 = numattrs * 4;
45376#line 1485
45377      __cil_tmp33 = (size_t )__cil_tmp32;
45378#line 1485
45379      len = len + __cil_tmp33;
45380#line 1486
45381      len = len + 32UL;
45382#line 1487
45383      len = len + 4UL;
45384#line 1488
45385      len = len + 4UL;
45386#line 1489
45387      len = len + 4UL;
45388#line 1490
45389      len = len + 256UL;
45390#line 1491
45391      len = len + 256UL;
45392#line 1493
45393      __cil_tmp34 = (size_t )size;
45394#line 1493
45395      __cil_tmp35 = __cil_tmp34 + len;
45396#line 1493
45397      size = (int )__cil_tmp35;
45398#line 1494
45399      goto switch_break;
45400      case_12: /* CIL Label */ 
45401#line 1496
45402      cmd = (enum fc_fdmi_req )784;
45403#line 1497
45404      len = 8UL;
45405#line 1498
45406      __cil_tmp36 = (size_t )size;
45407#line 1498
45408      __cil_tmp37 = __cil_tmp36 + len;
45409#line 1498
45410      size = (int )__cil_tmp37;
45411#line 1499
45412      goto switch_break;
45413      case_11: /* CIL Label */ 
45414#line 1501
45415      cmd = (enum fc_fdmi_req )768;
45416#line 1502
45417      len = 8UL;
45418#line 1503
45419      __cil_tmp38 = (size_t )size;
45420#line 1503
45421      __cil_tmp39 = __cil_tmp38 + len;
45422#line 1503
45423      size = (int )__cil_tmp39;
45424#line 1504
45425      goto switch_break;
45426      switch_default: /* CIL Label */ 
45427      {
45428#line 1506
45429      __cil_tmp40 = (void *)0;
45430#line 1506
45431      __cil_tmp41 = (struct fc_frame *)__cil_tmp40;
45432#line 1506
45433      fc_lport_error(lport, __cil_tmp41);
45434      }
45435#line 1507
45436      return;
45437    } else {
45438      switch_break: /* CIL Label */ ;
45439    }
45440    }
45441  }
45442  {
45443#line 1510
45444  while (1) {
45445    while_continue___1: /* CIL Label */ ;
45446    {
45447#line 1510
45448    __cil_tmp42 = & fc_debug_logging;
45449#line 1510
45450    __cil_tmp43 = *__cil_tmp42;
45451#line 1510
45452    __cil_tmp44 = __cil_tmp43 & 2U;
45453#line 1510
45454    __cil_tmp45 = ! __cil_tmp44;
45455#line 1510
45456    __cil_tmp46 = ! __cil_tmp45;
45457#line 1510
45458    __cil_tmp47 = (long )__cil_tmp46;
45459#line 1510
45460    tmp___9 = __builtin_expect(__cil_tmp47, 0L);
45461    }
45462#line 1510
45463    if (tmp___9) {
45464      {
45465#line 1510
45466      while (1) {
45467        while_continue___2: /* CIL Label */ ;
45468        {
45469#line 1510
45470        __cil_tmp48 = *((struct Scsi_Host **)lport);
45471#line 1510
45472        __cil_tmp49 = (unsigned long )__cil_tmp48;
45473#line 1510
45474        __cil_tmp50 = __cil_tmp49 + 308;
45475#line 1510
45476        __cil_tmp51 = *((unsigned int *)__cil_tmp50);
45477#line 1510
45478        __cil_tmp52 = (unsigned long )lport;
45479#line 1510
45480        __cil_tmp53 = __cil_tmp52 + 788;
45481#line 1510
45482        __cil_tmp54 = *((u32 *)__cil_tmp53);
45483#line 1510
45484        __cil_tmp55 = (unsigned int )cmd;
45485#line 1510
45486        __cil_tmp56 = (int )len;
45487#line 1510
45488        printk("<6>host%u: lport %6.6x: Cmd=0x%x Len %d size %d\n", __cil_tmp51, __cil_tmp54,
45489               __cil_tmp55, __cil_tmp56, size);
45490        }
45491#line 1510
45492        goto while_break___2;
45493      }
45494      while_break___2: /* CIL Label */ ;
45495      }
45496    } else {
45497
45498    }
45499#line 1510
45500    goto while_break___1;
45501  }
45502  while_break___1: /* CIL Label */ ;
45503  }
45504  {
45505#line 1512
45506  __cil_tmp57 = (size_t )size;
45507#line 1512
45508  fp = fc_frame_alloc(lport, __cil_tmp57);
45509  }
45510#line 1513
45511  if (! fp) {
45512    {
45513#line 1514
45514    fc_lport_error(lport, fp);
45515    }
45516#line 1515
45517    return;
45518  } else {
45519
45520  }
45521  {
45522#line 1518
45523  __cil_tmp58 = 328 + 8;
45524#line 1518
45525  __cil_tmp59 = (unsigned long )lport;
45526#line 1518
45527  __cil_tmp60 = __cil_tmp59 + __cil_tmp58;
45528#line 1518
45529  __cil_tmp61 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
45530                                       unsigned int op , void (*resp)(struct fc_seq * ,
45531                                                                      struct fc_frame * ,
45532                                                                      void *arg ) ,
45533                                       void *arg , u32 timer_msec ))__cil_tmp60);
45534#line 1518
45535  __cil_tmp62 = (u32 )16777210;
45536#line 1518
45537  __cil_tmp63 = (unsigned int )cmd;
45538#line 1518
45539  __cil_tmp64 = (void *)lport;
45540#line 1518
45541  __cil_tmp65 = (unsigned long )lport;
45542#line 1518
45543  __cil_tmp66 = __cil_tmp65 + 816;
45544#line 1518
45545  __cil_tmp67 = *((unsigned int *)__cil_tmp66);
45546#line 1518
45547  __cil_tmp68 = 3U * __cil_tmp67;
45548#line 1518
45549  tmp___10 = (*__cil_tmp61)(lport, __cil_tmp62, fp, __cil_tmp63, & fc_lport_ms_resp,
45550                            __cil_tmp64, __cil_tmp68);
45551  }
45552#line 1518
45553  if (tmp___10) {
45554
45555  } else {
45556    {
45557#line 1521
45558    fc_lport_error(lport, fp);
45559    }
45560  }
45561#line 1522
45562  return;
45563}
45564}
45565#line 1531 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
45566static void fc_lport_enter_fdmi(struct fc_lport *lport ) 
45567{ struct fc_rport_priv *rdata ;
45568  char    *tmp___7 ;
45569  long tmp___8 ;
45570  unsigned int *__cil_tmp5 ;
45571  unsigned int __cil_tmp6 ;
45572  unsigned int __cil_tmp7 ;
45573  int __cil_tmp8 ;
45574  int __cil_tmp9 ;
45575  long __cil_tmp10 ;
45576  struct Scsi_Host *__cil_tmp11 ;
45577  unsigned long __cil_tmp12 ;
45578  unsigned long __cil_tmp13 ;
45579  unsigned int __cil_tmp14 ;
45580  unsigned long __cil_tmp15 ;
45581  unsigned long __cil_tmp16 ;
45582  u32 __cil_tmp17 ;
45583  enum fc_lport_state __cil_tmp18 ;
45584  unsigned long __cil_tmp19 ;
45585  unsigned long __cil_tmp20 ;
45586  unsigned long __cil_tmp21 ;
45587  struct mutex *__cil_tmp22 ;
45588  unsigned long __cil_tmp23 ;
45589  unsigned long __cil_tmp24 ;
45590  unsigned long __cil_tmp25 ;
45591  struct fc_rport_priv *(*__cil_tmp26)(struct fc_lport * , u32  ) ;
45592  u32 __cil_tmp27 ;
45593  unsigned long __cil_tmp28 ;
45594  unsigned long __cil_tmp29 ;
45595  unsigned long __cil_tmp30 ;
45596  struct mutex *__cil_tmp31 ;
45597  unsigned long __cil_tmp32 ;
45598  unsigned long __cil_tmp33 ;
45599  unsigned long __cil_tmp34 ;
45600  unsigned long __cil_tmp35 ;
45601  unsigned long __cil_tmp36 ;
45602  int (*__cil_tmp37)(struct fc_rport_priv * ) ;
45603  void *__cil_tmp38 ;
45604  struct fc_frame *__cil_tmp39 ;
45605
45606  {
45607  {
45608#line 1535
45609  while (1) {
45610    while_continue: /* CIL Label */ ;
45611    {
45612#line 1535
45613    __cil_tmp5 = & fc_debug_logging;
45614#line 1535
45615    __cil_tmp6 = *__cil_tmp5;
45616#line 1535
45617    __cil_tmp7 = __cil_tmp6 & 2U;
45618#line 1535
45619    __cil_tmp8 = ! __cil_tmp7;
45620#line 1535
45621    __cil_tmp9 = ! __cil_tmp8;
45622#line 1535
45623    __cil_tmp10 = (long )__cil_tmp9;
45624#line 1535
45625    tmp___8 = __builtin_expect(__cil_tmp10, 0L);
45626    }
45627#line 1535
45628    if (tmp___8) {
45629      {
45630#line 1535
45631      while (1) {
45632        while_continue___0: /* CIL Label */ ;
45633        {
45634#line 1535
45635        tmp___7 = fc_lport_state(lport);
45636#line 1535
45637        __cil_tmp11 = *((struct Scsi_Host **)lport);
45638#line 1535
45639        __cil_tmp12 = (unsigned long )__cil_tmp11;
45640#line 1535
45641        __cil_tmp13 = __cil_tmp12 + 308;
45642#line 1535
45643        __cil_tmp14 = *((unsigned int *)__cil_tmp13);
45644#line 1535
45645        __cil_tmp15 = (unsigned long )lport;
45646#line 1535
45647        __cil_tmp16 = __cil_tmp15 + 788;
45648#line 1535
45649        __cil_tmp17 = *((u32 *)__cil_tmp16);
45650#line 1535
45651        printk("<6>host%u: lport %6.6x: Entered FDMI state from %s state\n", __cil_tmp14,
45652               __cil_tmp17, tmp___7);
45653        }
45654#line 1535
45655        goto while_break___0;
45656      }
45657      while_break___0: /* CIL Label */ ;
45658      }
45659    } else {
45660
45661    }
45662#line 1535
45663    goto while_break;
45664  }
45665  while_break: /* CIL Label */ ;
45666  }
45667  {
45668#line 1538
45669  __cil_tmp18 = (enum fc_lport_state )8;
45670#line 1538
45671  fc_lport_state_enter(lport, __cil_tmp18);
45672#line 1540
45673  __cil_tmp19 = 56 + 40;
45674#line 1540
45675  __cil_tmp20 = (unsigned long )lport;
45676#line 1540
45677  __cil_tmp21 = __cil_tmp20 + __cil_tmp19;
45678#line 1540
45679  __cil_tmp22 = (struct mutex *)__cil_tmp21;
45680#line 1540
45681  mutex_lock(__cil_tmp22);
45682#line 1541
45683  __cil_tmp23 = 328 + 160;
45684#line 1541
45685  __cil_tmp24 = (unsigned long )lport;
45686#line 1541
45687  __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
45688#line 1541
45689  __cil_tmp26 = *((struct fc_rport_priv *(**)(struct fc_lport * , u32  ))__cil_tmp25);
45690#line 1541
45691  __cil_tmp27 = (u32 )16777210;
45692#line 1541
45693  rdata = (*__cil_tmp26)(lport, __cil_tmp27);
45694#line 1542
45695  __cil_tmp28 = 56 + 40;
45696#line 1542
45697  __cil_tmp29 = (unsigned long )lport;
45698#line 1542
45699  __cil_tmp30 = __cil_tmp29 + __cil_tmp28;
45700#line 1542
45701  __cil_tmp31 = (struct mutex *)__cil_tmp30;
45702#line 1542
45703  mutex_unlock(__cil_tmp31);
45704  }
45705#line 1543
45706  if (! rdata) {
45707#line 1544
45708    goto err;
45709  } else {
45710
45711  }
45712  {
45713#line 1546
45714  __cil_tmp32 = (unsigned long )rdata;
45715#line 1546
45716  __cil_tmp33 = __cil_tmp32 + 264;
45717#line 1546
45718  *((struct fc_rport_operations **)__cil_tmp33) = & fc_lport_rport_ops;
45719#line 1547
45720  __cil_tmp34 = 328 + 168;
45721#line 1547
45722  __cil_tmp35 = (unsigned long )lport;
45723#line 1547
45724  __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
45725#line 1547
45726  __cil_tmp37 = *((int (**)(struct fc_rport_priv * ))__cil_tmp36);
45727#line 1547
45728  (*__cil_tmp37)(rdata);
45729  }
45730#line 1548
45731  return;
45732  err: 
45733  {
45734#line 1551
45735  __cil_tmp38 = (void *)0;
45736#line 1551
45737  __cil_tmp39 = (struct fc_frame *)__cil_tmp38;
45738#line 1551
45739  fc_lport_error(lport, __cil_tmp39);
45740  }
45741#line 1552
45742  return;
45743}
45744}
45745#line 1558 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
45746static void fc_lport_timeout(struct work_struct *work ) 
45747{ struct fc_lport *lport ;
45748  struct work_struct    *__mptr ;
45749  int __ret_warn_on ;
45750  long tmp___7 ;
45751  struct fc_lport *__cil_tmp6 ;
45752  unsigned long __cil_tmp7 ;
45753  unsigned long __cil_tmp8 ;
45754  struct work_struct *__cil_tmp9 ;
45755  unsigned int __cil_tmp10 ;
45756  char *__cil_tmp11 ;
45757  char *__cil_tmp12 ;
45758  unsigned long __cil_tmp13 ;
45759  unsigned long __cil_tmp14 ;
45760  struct mutex *__cil_tmp15 ;
45761  unsigned long __cil_tmp16 ;
45762  unsigned long __cil_tmp17 ;
45763  enum fc_lport_state __cil_tmp18 ;
45764  int __cil_tmp19 ;
45765  int __cil_tmp20 ;
45766  long __cil_tmp21 ;
45767  int    __cil_tmp22 ;
45768  int __cil_tmp23 ;
45769  int __cil_tmp24 ;
45770  long __cil_tmp25 ;
45771  unsigned long __cil_tmp26 ;
45772  unsigned long __cil_tmp27 ;
45773  enum fc_lport_state __cil_tmp28 ;
45774  unsigned long __cil_tmp29 ;
45775  unsigned long __cil_tmp30 ;
45776  enum fc_lport_state __cil_tmp31 ;
45777  unsigned long __cil_tmp32 ;
45778  unsigned long __cil_tmp33 ;
45779  struct mutex *__cil_tmp34 ;
45780
45781  {
45782  {
45783#line 1561
45784  __mptr = (struct work_struct    *)work;
45785#line 1561
45786  __cil_tmp6 = (struct fc_lport *)0;
45787#line 1561
45788  __cil_tmp7 = (unsigned long )__cil_tmp6;
45789#line 1561
45790  __cil_tmp8 = __cil_tmp7 + 1016;
45791#line 1561
45792  __cil_tmp9 = (struct work_struct *)__cil_tmp8;
45793#line 1561
45794  __cil_tmp10 = (unsigned int )__cil_tmp9;
45795#line 1561
45796  __cil_tmp11 = (char *)__mptr;
45797#line 1561
45798  __cil_tmp12 = __cil_tmp11 - __cil_tmp10;
45799#line 1561
45800  lport = (struct fc_lport *)__cil_tmp12;
45801#line 1564
45802  __cil_tmp13 = (unsigned long )lport;
45803#line 1564
45804  __cil_tmp14 = __cil_tmp13 + 928;
45805#line 1564
45806  __cil_tmp15 = (struct mutex *)__cil_tmp14;
45807#line 1564
45808  mutex_lock(__cil_tmp15);
45809  }
45810  {
45811#line 1566
45812  __cil_tmp16 = (unsigned long )lport;
45813#line 1566
45814  __cil_tmp17 = __cil_tmp16 + 604;
45815#line 1566
45816  __cil_tmp18 = *((enum fc_lport_state *)__cil_tmp17);
45817#line 1567
45818  if ((int )__cil_tmp18 == 0) {
45819#line 1567
45820    goto case_0;
45821  } else
45822#line 1570
45823  if ((int )__cil_tmp18 == 14) {
45824#line 1570
45825    goto case_14;
45826  } else
45827#line 1572
45828  if ((int )__cil_tmp18 == 16) {
45829#line 1572
45830    goto case_16;
45831  } else
45832#line 1574
45833  if ((int )__cil_tmp18 == 1) {
45834#line 1574
45835    goto case_1;
45836  } else
45837#line 1577
45838  if ((int )__cil_tmp18 == 2) {
45839#line 1577
45840    goto case_2;
45841  } else
45842#line 1580
45843  if ((int )__cil_tmp18 == 3) {
45844#line 1580
45845    goto case_3;
45846  } else
45847#line 1581
45848  if ((int )__cil_tmp18 == 4) {
45849#line 1581
45850    goto case_3;
45851  } else
45852#line 1582
45853  if ((int )__cil_tmp18 == 5) {
45854#line 1582
45855    goto case_3;
45856  } else
45857#line 1583
45858  if ((int )__cil_tmp18 == 6) {
45859#line 1583
45860    goto case_3;
45861  } else
45862#line 1584
45863  if ((int )__cil_tmp18 == 7) {
45864#line 1584
45865    goto case_3;
45866  } else
45867#line 1587
45868  if ((int )__cil_tmp18 == 8) {
45869#line 1587
45870    goto case_8;
45871  } else
45872#line 1590
45873  if ((int )__cil_tmp18 == 9) {
45874#line 1590
45875    goto case_9;
45876  } else
45877#line 1591
45878  if ((int )__cil_tmp18 == 10) {
45879#line 1591
45880    goto case_9;
45881  } else
45882#line 1592
45883  if ((int )__cil_tmp18 == 11) {
45884#line 1592
45885    goto case_9;
45886  } else
45887#line 1593
45888  if ((int )__cil_tmp18 == 12) {
45889#line 1593
45890    goto case_9;
45891  } else
45892#line 1596
45893  if ((int )__cil_tmp18 == 13) {
45894#line 1596
45895    goto case_13;
45896  } else
45897#line 1599
45898  if ((int )__cil_tmp18 == 15) {
45899#line 1599
45900    goto case_15;
45901  } else
45902#line 1566
45903  if (0) {
45904    case_0: /* CIL Label */ 
45905    {
45906#line 1568
45907    __ret_warn_on = 1;
45908#line 1568
45909    __cil_tmp19 = ! __ret_warn_on;
45910#line 1568
45911    __cil_tmp20 = ! __cil_tmp19;
45912#line 1568
45913    __cil_tmp21 = (long )__cil_tmp20;
45914#line 1568
45915    tmp___7 = __builtin_expect(__cil_tmp21, 0L);
45916    }
45917#line 1568
45918    if (tmp___7) {
45919      {
45920#line 1568
45921      __cil_tmp22 = (int    )1568;
45922#line 1568
45923      warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c",
45924                         __cil_tmp22);
45925      }
45926    } else {
45927
45928    }
45929    {
45930#line 1568
45931    __cil_tmp23 = ! __ret_warn_on;
45932#line 1568
45933    __cil_tmp24 = ! __cil_tmp23;
45934#line 1568
45935    __cil_tmp25 = (long )__cil_tmp24;
45936#line 1568
45937    __builtin_expect(__cil_tmp25, 0L);
45938    }
45939#line 1569
45940    goto switch_break;
45941    case_14: /* CIL Label */ 
45942#line 1571
45943    goto switch_break;
45944    case_16: /* CIL Label */ 
45945#line 1573
45946    goto switch_break;
45947    case_1: /* CIL Label */ 
45948    {
45949#line 1575
45950    fc_lport_enter_flogi(lport);
45951    }
45952#line 1576
45953    goto switch_break;
45954    case_2: /* CIL Label */ 
45955    {
45956#line 1578
45957    fc_lport_enter_dns(lport);
45958    }
45959#line 1579
45960    goto switch_break;
45961    case_3: /* CIL Label */ 
45962    case_4: /* CIL Label */ 
45963    case_5: /* CIL Label */ 
45964    case_6: /* CIL Label */ 
45965    case_7: /* CIL Label */ 
45966    {
45967#line 1585
45968    __cil_tmp26 = (unsigned long )lport;
45969#line 1585
45970    __cil_tmp27 = __cil_tmp26 + 604;
45971#line 1585
45972    __cil_tmp28 = *((enum fc_lport_state *)__cil_tmp27);
45973#line 1585
45974    fc_lport_enter_ns(lport, __cil_tmp28);
45975    }
45976#line 1586
45977    goto switch_break;
45978    case_8: /* CIL Label */ 
45979    {
45980#line 1588
45981    fc_lport_enter_fdmi(lport);
45982    }
45983#line 1589
45984    goto switch_break;
45985    case_9: /* CIL Label */ 
45986    case_10: /* CIL Label */ 
45987    case_11: /* CIL Label */ 
45988    case_12: /* CIL Label */ 
45989    {
45990#line 1594
45991    __cil_tmp29 = (unsigned long )lport;
45992#line 1594
45993    __cil_tmp30 = __cil_tmp29 + 604;
45994#line 1594
45995    __cil_tmp31 = *((enum fc_lport_state *)__cil_tmp30);
45996#line 1594
45997    fc_lport_enter_ms(lport, __cil_tmp31);
45998    }
45999#line 1595
46000    goto switch_break;
46001    case_13: /* CIL Label */ 
46002    {
46003#line 1597
46004    fc_lport_enter_scr(lport);
46005    }
46006#line 1598
46007    goto switch_break;
46008    case_15: /* CIL Label */ 
46009    {
46010#line 1600
46011    fc_lport_enter_logo(lport);
46012    }
46013#line 1601
46014    goto switch_break;
46015  } else {
46016    switch_break: /* CIL Label */ ;
46017  }
46018  }
46019  {
46020#line 1604
46021  __cil_tmp32 = (unsigned long )lport;
46022#line 1604
46023  __cil_tmp33 = __cil_tmp32 + 928;
46024#line 1604
46025  __cil_tmp34 = (struct mutex *)__cil_tmp33;
46026#line 1604
46027  mutex_unlock(__cil_tmp34);
46028  }
46029#line 1605
46030  return;
46031}
46032}
46033#line 1617 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
46034void fc_lport_logo_resp(struct fc_seq *sp , struct fc_frame *fp , void *lp_arg ) 
46035{ struct fc_lport *lport ;
46036  u8 op ;
46037  char    *tmp___7 ;
46038  long tmp___8 ;
46039  void *tmp___9 ;
46040  char    *tmp___10 ;
46041  long tmp___11 ;
46042  long tmp___12 ;
46043  long tmp___13 ;
46044  unsigned int *__cil_tmp13 ;
46045  unsigned int __cil_tmp14 ;
46046  unsigned int __cil_tmp15 ;
46047  int __cil_tmp16 ;
46048  int __cil_tmp17 ;
46049  long __cil_tmp18 ;
46050  struct Scsi_Host *__cil_tmp19 ;
46051  unsigned long __cil_tmp20 ;
46052  unsigned long __cil_tmp21 ;
46053  unsigned int __cil_tmp22 ;
46054  unsigned long __cil_tmp23 ;
46055  unsigned long __cil_tmp24 ;
46056  u32 __cil_tmp25 ;
46057  unsigned long __cil_tmp26 ;
46058  unsigned long __cil_tmp27 ;
46059  unsigned long __cil_tmp28 ;
46060  unsigned long __cil_tmp29 ;
46061  struct mutex *__cil_tmp30 ;
46062  unsigned long __cil_tmp31 ;
46063  unsigned long __cil_tmp32 ;
46064  enum fc_lport_state __cil_tmp33 ;
46065  unsigned int __cil_tmp34 ;
46066  unsigned int *__cil_tmp35 ;
46067  unsigned int __cil_tmp36 ;
46068  unsigned int __cil_tmp37 ;
46069  int __cil_tmp38 ;
46070  int __cil_tmp39 ;
46071  long __cil_tmp40 ;
46072  struct Scsi_Host *__cil_tmp41 ;
46073  unsigned long __cil_tmp42 ;
46074  unsigned long __cil_tmp43 ;
46075  unsigned int __cil_tmp44 ;
46076  unsigned long __cil_tmp45 ;
46077  unsigned long __cil_tmp46 ;
46078  u32 __cil_tmp47 ;
46079  void    *__cil_tmp48 ;
46080  void    *__cil_tmp49 ;
46081  struct fc_frame    *__cil_tmp50 ;
46082  int __cil_tmp51 ;
46083  unsigned long __cil_tmp52 ;
46084  unsigned long __cil_tmp53 ;
46085  struct mutex *__cil_tmp54 ;
46086
46087  {
46088#line 1620
46089  lport = (struct fc_lport *)lp_arg;
46090  {
46091#line 1623
46092  while (1) {
46093    while_continue: /* CIL Label */ ;
46094    {
46095#line 1623
46096    __cil_tmp13 = & fc_debug_logging;
46097#line 1623
46098    __cil_tmp14 = *__cil_tmp13;
46099#line 1623
46100    __cil_tmp15 = __cil_tmp14 & 2U;
46101#line 1623
46102    __cil_tmp16 = ! __cil_tmp15;
46103#line 1623
46104    __cil_tmp17 = ! __cil_tmp16;
46105#line 1623
46106    __cil_tmp18 = (long )__cil_tmp17;
46107#line 1623
46108    tmp___8 = __builtin_expect(__cil_tmp18, 0L);
46109    }
46110#line 1623
46111    if (tmp___8) {
46112      {
46113#line 1623
46114      while (1) {
46115        while_continue___0: /* CIL Label */ ;
46116        {
46117#line 1623
46118        tmp___7 = fc_els_resp_type(fp);
46119#line 1623
46120        __cil_tmp19 = *((struct Scsi_Host **)lport);
46121#line 1623
46122        __cil_tmp20 = (unsigned long )__cil_tmp19;
46123#line 1623
46124        __cil_tmp21 = __cil_tmp20 + 308;
46125#line 1623
46126        __cil_tmp22 = *((unsigned int *)__cil_tmp21);
46127#line 1623
46128        __cil_tmp23 = (unsigned long )lport;
46129#line 1623
46130        __cil_tmp24 = __cil_tmp23 + 788;
46131#line 1623
46132        __cil_tmp25 = *((u32 *)__cil_tmp24);
46133#line 1623
46134        printk("<6>host%u: lport %6.6x: Received a LOGO %s\n", __cil_tmp22, __cil_tmp25,
46135               tmp___7);
46136        }
46137#line 1623
46138        goto while_break___0;
46139      }
46140      while_break___0: /* CIL Label */ ;
46141      }
46142    } else {
46143
46144    }
46145#line 1623
46146    goto while_break;
46147  }
46148  while_break: /* CIL Label */ ;
46149  }
46150  {
46151#line 1625
46152  tmp___9 = (void *)ERR_PTR(-2L);
46153  }
46154  {
46155#line 1625
46156  __cil_tmp26 = (unsigned long )tmp___9;
46157#line 1625
46158  __cil_tmp27 = (unsigned long )fp;
46159#line 1625
46160  if (__cil_tmp27 == __cil_tmp26) {
46161#line 1626
46162    return;
46163  } else {
46164
46165  }
46166  }
46167  {
46168#line 1628
46169  __cil_tmp28 = (unsigned long )lport;
46170#line 1628
46171  __cil_tmp29 = __cil_tmp28 + 928;
46172#line 1628
46173  __cil_tmp30 = (struct mutex *)__cil_tmp29;
46174#line 1628
46175  mutex_lock(__cil_tmp30);
46176  }
46177  {
46178#line 1630
46179  __cil_tmp31 = (unsigned long )lport;
46180#line 1630
46181  __cil_tmp32 = __cil_tmp31 + 604;
46182#line 1630
46183  __cil_tmp33 = *((enum fc_lport_state *)__cil_tmp32);
46184#line 1630
46185  __cil_tmp34 = (unsigned int )__cil_tmp33;
46186#line 1630
46187  if (__cil_tmp34 != 15U) {
46188    {
46189#line 1631
46190    while (1) {
46191      while_continue___1: /* CIL Label */ ;
46192      {
46193#line 1631
46194      __cil_tmp35 = & fc_debug_logging;
46195#line 1631
46196      __cil_tmp36 = *__cil_tmp35;
46197#line 1631
46198      __cil_tmp37 = __cil_tmp36 & 2U;
46199#line 1631
46200      __cil_tmp38 = ! __cil_tmp37;
46201#line 1631
46202      __cil_tmp39 = ! __cil_tmp38;
46203#line 1631
46204      __cil_tmp40 = (long )__cil_tmp39;
46205#line 1631
46206      tmp___11 = __builtin_expect(__cil_tmp40, 0L);
46207      }
46208#line 1631
46209      if (tmp___11) {
46210        {
46211#line 1631
46212        while (1) {
46213          while_continue___2: /* CIL Label */ ;
46214          {
46215#line 1631
46216          tmp___10 = fc_lport_state(lport);
46217#line 1631
46218          __cil_tmp41 = *((struct Scsi_Host **)lport);
46219#line 1631
46220          __cil_tmp42 = (unsigned long )__cil_tmp41;
46221#line 1631
46222          __cil_tmp43 = __cil_tmp42 + 308;
46223#line 1631
46224          __cil_tmp44 = *((unsigned int *)__cil_tmp43);
46225#line 1631
46226          __cil_tmp45 = (unsigned long )lport;
46227#line 1631
46228          __cil_tmp46 = __cil_tmp45 + 788;
46229#line 1631
46230          __cil_tmp47 = *((u32 *)__cil_tmp46);
46231#line 1631
46232          printk("<6>host%u: lport %6.6x: Received a LOGO response, but in state %s\n",
46233                 __cil_tmp44, __cil_tmp47, tmp___10);
46234          }
46235#line 1631
46236          goto while_break___2;
46237        }
46238        while_break___2: /* CIL Label */ ;
46239        }
46240      } else {
46241
46242      }
46243#line 1631
46244      goto while_break___1;
46245    }
46246    while_break___1: /* CIL Label */ ;
46247    }
46248    {
46249#line 1633
46250    __cil_tmp48 = (void    *)fp;
46251#line 1633
46252    tmp___12 = (long )IS_ERR(__cil_tmp48);
46253    }
46254#line 1633
46255    if (tmp___12) {
46256#line 1634
46257      goto err;
46258    } else {
46259
46260    }
46261#line 1635
46262    goto out;
46263  } else {
46264
46265  }
46266  }
46267  {
46268#line 1638
46269  __cil_tmp49 = (void    *)fp;
46270#line 1638
46271  tmp___13 = (long )IS_ERR(__cil_tmp49);
46272  }
46273#line 1638
46274  if (tmp___13) {
46275    {
46276#line 1639
46277    fc_lport_error(lport, fp);
46278    }
46279#line 1640
46280    goto err;
46281  } else {
46282
46283  }
46284  {
46285#line 1643
46286  __cil_tmp50 = (struct fc_frame    *)fp;
46287#line 1643
46288  op = fc_frame_payload_op(__cil_tmp50);
46289  }
46290  {
46291#line 1644
46292  __cil_tmp51 = (int )op;
46293#line 1644
46294  if (__cil_tmp51 == 2) {
46295    {
46296#line 1645
46297    fc_lport_enter_disabled(lport);
46298    }
46299  } else {
46300    {
46301#line 1647
46302    fc_lport_error(lport, fp);
46303    }
46304  }
46305  }
46306  out: 
46307  {
46308#line 1650
46309  fc_frame_free(fp);
46310  }
46311  err: 
46312  {
46313#line 1652
46314  __cil_tmp52 = (unsigned long )lport;
46315#line 1652
46316  __cil_tmp53 = __cil_tmp52 + 928;
46317#line 1652
46318  __cil_tmp54 = (struct mutex *)__cil_tmp53;
46319#line 1652
46320  mutex_unlock(__cil_tmp54);
46321  }
46322#line 1653
46323  return;
46324}
46325}
46326#line 1654
46327extern void *__crc_fc_lport_logo_resp  __attribute__((__weak__)) ;
46328#line 1654 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
46329static unsigned long    __kcrctab_fc_lport_logo_resp  __attribute__((__used__,
46330__unused__, __section__("___kcrctab+fc_lport_logo_resp")))  =    (unsigned long    )((unsigned long )(& __crc_fc_lport_logo_resp));
46331#line 1654 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
46332static char    __kstrtab_fc_lport_logo_resp[19]  __attribute__((__section__("__ksymtab_strings"),
46333__aligned__(1)))  = 
46334#line 1654
46335  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'l', 
46336        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
46337        (char    )'_',      (char    )'l',      (char const   )'o',      (char const   )'g', 
46338        (char    )'o',      (char    )'_',      (char const   )'r',      (char const   )'e', 
46339        (char    )'s',      (char    )'p',      (char const   )'\000'};
46340#line 1654 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
46341static struct kernel_symbol    __ksymtab_fc_lport_logo_resp  __attribute__((__used__,
46342__unused__, __section__("___ksymtab+fc_lport_logo_resp")))  =    {(unsigned long )(& fc_lport_logo_resp), __kstrtab_fc_lport_logo_resp};
46343#line 1663 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
46344static void fc_lport_enter_logo(struct fc_lport *lport ) 
46345{ struct fc_frame *fp ;
46346  struct fc_els_logo *logo ;
46347  char    *tmp___7 ;
46348  long tmp___8 ;
46349  struct fc_seq *tmp___9 ;
46350  unsigned int *__cil_tmp7 ;
46351  unsigned int __cil_tmp8 ;
46352  unsigned int __cil_tmp9 ;
46353  int __cil_tmp10 ;
46354  int __cil_tmp11 ;
46355  long __cil_tmp12 ;
46356  struct Scsi_Host *__cil_tmp13 ;
46357  unsigned long __cil_tmp14 ;
46358  unsigned long __cil_tmp15 ;
46359  unsigned int __cil_tmp16 ;
46360  unsigned long __cil_tmp17 ;
46361  unsigned long __cil_tmp18 ;
46362  u32 __cil_tmp19 ;
46363  enum fc_lport_state __cil_tmp20 ;
46364  unsigned long __cil_tmp21 ;
46365  unsigned long __cil_tmp22 ;
46366  unsigned long __cil_tmp23 ;
46367  struct fc_seq *(*__cil_tmp24)(struct fc_lport * , u32 did , struct fc_frame * ,
46368                                unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
46369                                                               void *arg ) , void *arg ,
46370                                u32 timer_msec ) ;
46371  u32 __cil_tmp25 ;
46372  void *__cil_tmp26 ;
46373  unsigned long __cil_tmp27 ;
46374  unsigned long __cil_tmp28 ;
46375  unsigned int __cil_tmp29 ;
46376  unsigned int __cil_tmp30 ;
46377  void *__cil_tmp31 ;
46378  struct fc_frame *__cil_tmp32 ;
46379
46380  {
46381  {
46382#line 1668
46383  while (1) {
46384    while_continue: /* CIL Label */ ;
46385    {
46386#line 1668
46387    __cil_tmp7 = & fc_debug_logging;
46388#line 1668
46389    __cil_tmp8 = *__cil_tmp7;
46390#line 1668
46391    __cil_tmp9 = __cil_tmp8 & 2U;
46392#line 1668
46393    __cil_tmp10 = ! __cil_tmp9;
46394#line 1668
46395    __cil_tmp11 = ! __cil_tmp10;
46396#line 1668
46397    __cil_tmp12 = (long )__cil_tmp11;
46398#line 1668
46399    tmp___8 = __builtin_expect(__cil_tmp12, 0L);
46400    }
46401#line 1668
46402    if (tmp___8) {
46403      {
46404#line 1668
46405      while (1) {
46406        while_continue___0: /* CIL Label */ ;
46407        {
46408#line 1668
46409        tmp___7 = fc_lport_state(lport);
46410#line 1668
46411        __cil_tmp13 = *((struct Scsi_Host **)lport);
46412#line 1668
46413        __cil_tmp14 = (unsigned long )__cil_tmp13;
46414#line 1668
46415        __cil_tmp15 = __cil_tmp14 + 308;
46416#line 1668
46417        __cil_tmp16 = *((unsigned int *)__cil_tmp15);
46418#line 1668
46419        __cil_tmp17 = (unsigned long )lport;
46420#line 1668
46421        __cil_tmp18 = __cil_tmp17 + 788;
46422#line 1668
46423        __cil_tmp19 = *((u32 *)__cil_tmp18);
46424#line 1668
46425        printk("<6>host%u: lport %6.6x: Entered LOGO state from %s state\n", __cil_tmp16,
46426               __cil_tmp19, tmp___7);
46427        }
46428#line 1668
46429        goto while_break___0;
46430      }
46431      while_break___0: /* CIL Label */ ;
46432      }
46433    } else {
46434
46435    }
46436#line 1668
46437    goto while_break;
46438  }
46439  while_break: /* CIL Label */ ;
46440  }
46441  {
46442#line 1671
46443  __cil_tmp20 = (enum fc_lport_state )15;
46444#line 1671
46445  fc_lport_state_enter(lport, __cil_tmp20);
46446#line 1672
46447  fc_vports_linkchange(lport);
46448#line 1674
46449  fp = fc_frame_alloc(lport, 16UL);
46450  }
46451#line 1675
46452  if (! fp) {
46453    {
46454#line 1676
46455    fc_lport_error(lport, fp);
46456    }
46457#line 1677
46458    return;
46459  } else {
46460
46461  }
46462  {
46463#line 1680
46464  __cil_tmp21 = 328 + 8;
46465#line 1680
46466  __cil_tmp22 = (unsigned long )lport;
46467#line 1680
46468  __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
46469#line 1680
46470  __cil_tmp24 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
46471                                       unsigned int op , void (*resp)(struct fc_seq * ,
46472                                                                      struct fc_frame * ,
46473                                                                      void *arg ) ,
46474                                       void *arg , u32 timer_msec ))__cil_tmp23);
46475#line 1680
46476  __cil_tmp25 = (u32 )16777214;
46477#line 1680
46478  __cil_tmp26 = (void *)lport;
46479#line 1680
46480  __cil_tmp27 = (unsigned long )lport;
46481#line 1680
46482  __cil_tmp28 = __cil_tmp27 + 816;
46483#line 1680
46484  __cil_tmp29 = *((unsigned int *)__cil_tmp28);
46485#line 1680
46486  __cil_tmp30 = 2U * __cil_tmp29;
46487#line 1680
46488  tmp___9 = (*__cil_tmp24)(lport, __cil_tmp25, fp, 5U, & fc_lport_logo_resp, __cil_tmp26,
46489                           __cil_tmp30);
46490  }
46491#line 1680
46492  if (tmp___9) {
46493
46494  } else {
46495    {
46496#line 1683
46497    __cil_tmp31 = (void *)0;
46498#line 1683
46499    __cil_tmp32 = (struct fc_frame *)__cil_tmp31;
46500#line 1683
46501    fc_lport_error(lport, __cil_tmp32);
46502    }
46503  }
46504#line 1684
46505  return;
46506}
46507}
46508#line 1696 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
46509void fc_lport_flogi_resp(struct fc_seq *sp , struct fc_frame *fp , void *lp_arg ) 
46510{ struct fc_lport *lport ;
46511  struct fc_frame_header *fh ;
46512  struct fc_els_flogi *flp ;
46513  u32 did ;
46514  u16 csp_flags ;
46515  unsigned int r_a_tov ;
46516  unsigned int e_d_tov ;
46517  u16 mfs ;
46518  char    *tmp___7 ;
46519  long tmp___8 ;
46520  void *tmp___9 ;
46521  char    *tmp___10 ;
46522  long tmp___11 ;
46523  long tmp___12 ;
46524  long tmp___13 ;
46525  long tmp___14 ;
46526  u8 tmp___15 ;
46527  void *tmp___16 ;
46528  long tmp___17 ;
46529  __u16 tmp___18 ;
46530  long tmp___19 ;
46531  __u16 tmp___20 ;
46532  __u32 tmp___21 ;
46533  __u32 tmp___22 ;
46534  u64 tmp___23 ;
46535  u64 tmp___24 ;
46536  u32 tmp___25 ;
46537  unsigned int *__cil_tmp31 ;
46538  unsigned int __cil_tmp32 ;
46539  unsigned int __cil_tmp33 ;
46540  int __cil_tmp34 ;
46541  int __cil_tmp35 ;
46542  long __cil_tmp36 ;
46543  struct Scsi_Host *__cil_tmp37 ;
46544  unsigned long __cil_tmp38 ;
46545  unsigned long __cil_tmp39 ;
46546  unsigned int __cil_tmp40 ;
46547  unsigned long __cil_tmp41 ;
46548  unsigned long __cil_tmp42 ;
46549  u32 __cil_tmp43 ;
46550  unsigned long __cil_tmp44 ;
46551  unsigned long __cil_tmp45 ;
46552  unsigned long __cil_tmp46 ;
46553  unsigned long __cil_tmp47 ;
46554  struct mutex *__cil_tmp48 ;
46555  unsigned long __cil_tmp49 ;
46556  unsigned long __cil_tmp50 ;
46557  enum fc_lport_state __cil_tmp51 ;
46558  unsigned int __cil_tmp52 ;
46559  unsigned int *__cil_tmp53 ;
46560  unsigned int __cil_tmp54 ;
46561  unsigned int __cil_tmp55 ;
46562  int __cil_tmp56 ;
46563  int __cil_tmp57 ;
46564  long __cil_tmp58 ;
46565  struct Scsi_Host *__cil_tmp59 ;
46566  unsigned long __cil_tmp60 ;
46567  unsigned long __cil_tmp61 ;
46568  unsigned int __cil_tmp62 ;
46569  unsigned long __cil_tmp63 ;
46570  unsigned long __cil_tmp64 ;
46571  u32 __cil_tmp65 ;
46572  void    *__cil_tmp66 ;
46573  void    *__cil_tmp67 ;
46574  struct fc_frame    *__cil_tmp68 ;
46575  struct fc_frame    *__cil_tmp69 ;
46576  __u8 __cil_tmp70 ;
46577  int __cil_tmp71 ;
46578  struct fc_frame    *__cil_tmp72 ;
46579  int __cil_tmp73 ;
46580  unsigned int *__cil_tmp74 ;
46581  unsigned int __cil_tmp75 ;
46582  unsigned int __cil_tmp76 ;
46583  int __cil_tmp77 ;
46584  int __cil_tmp78 ;
46585  long __cil_tmp79 ;
46586  struct Scsi_Host *__cil_tmp80 ;
46587  unsigned long __cil_tmp81 ;
46588  unsigned long __cil_tmp82 ;
46589  unsigned int __cil_tmp83 ;
46590  unsigned long __cil_tmp84 ;
46591  unsigned long __cil_tmp85 ;
46592  u32 __cil_tmp86 ;
46593  struct fc_frame    *__cil_tmp87 ;
46594  unsigned int *__cil_tmp88 ;
46595  unsigned int __cil_tmp89 ;
46596  unsigned int __cil_tmp90 ;
46597  int __cil_tmp91 ;
46598  int __cil_tmp92 ;
46599  long __cil_tmp93 ;
46600  struct Scsi_Host *__cil_tmp94 ;
46601  unsigned long __cil_tmp95 ;
46602  unsigned long __cil_tmp96 ;
46603  unsigned int __cil_tmp97 ;
46604  unsigned long __cil_tmp98 ;
46605  unsigned long __cil_tmp99 ;
46606  u32 __cil_tmp100 ;
46607  unsigned long __cil_tmp101 ;
46608  unsigned long __cil_tmp102 ;
46609  unsigned long __cil_tmp103 ;
46610  __be16 __cil_tmp104 ;
46611  int __cil_tmp105 ;
46612  int __cil_tmp106 ;
46613  unsigned int __cil_tmp107 ;
46614  unsigned int __cil_tmp108 ;
46615  unsigned int *__cil_tmp109 ;
46616  unsigned int __cil_tmp110 ;
46617  unsigned int __cil_tmp111 ;
46618  int __cil_tmp112 ;
46619  int __cil_tmp113 ;
46620  long __cil_tmp114 ;
46621  struct Scsi_Host *__cil_tmp115 ;
46622  unsigned long __cil_tmp116 ;
46623  unsigned long __cil_tmp117 ;
46624  unsigned int __cil_tmp118 ;
46625  unsigned long __cil_tmp119 ;
46626  unsigned long __cil_tmp120 ;
46627  u32 __cil_tmp121 ;
46628  int __cil_tmp122 ;
46629  unsigned long __cil_tmp123 ;
46630  unsigned long __cil_tmp124 ;
46631  u32 __cil_tmp125 ;
46632  unsigned long __cil_tmp126 ;
46633  unsigned long __cil_tmp127 ;
46634  u32 __cil_tmp128 ;
46635  u32 __cil_tmp129 ;
46636  unsigned long __cil_tmp130 ;
46637  unsigned long __cil_tmp131 ;
46638  struct Scsi_Host *__cil_tmp132 ;
46639  unsigned long __cil_tmp133 ;
46640  unsigned long __cil_tmp134 ;
46641  void *__cil_tmp135 ;
46642  struct fc_host_attrs *__cil_tmp136 ;
46643  unsigned long __cil_tmp137 ;
46644  unsigned long __cil_tmp138 ;
46645  unsigned long __cil_tmp139 ;
46646  unsigned long __cil_tmp140 ;
46647  unsigned long __cil_tmp141 ;
46648  __be16 __cil_tmp142 ;
46649  int __cil_tmp143 ;
46650  unsigned long __cil_tmp144 ;
46651  unsigned long __cil_tmp145 ;
46652  unsigned long __cil_tmp146 ;
46653  __be32 __cil_tmp147 ;
46654  unsigned long __cil_tmp148 ;
46655  unsigned long __cil_tmp149 ;
46656  unsigned long __cil_tmp150 ;
46657  __be32 __cil_tmp151 ;
46658  int __cil_tmp152 ;
46659  int __cil_tmp153 ;
46660  int __cil_tmp154 ;
46661  int __cil_tmp155 ;
46662  int __cil_tmp156 ;
46663  int __cil_tmp157 ;
46664  int __cil_tmp158 ;
46665  unsigned long __cil_tmp159 ;
46666  unsigned long __cil_tmp160 ;
46667  unsigned int __cil_tmp161 ;
46668  unsigned long __cil_tmp162 ;
46669  unsigned long __cil_tmp163 ;
46670  unsigned long __cil_tmp164 ;
46671  unsigned long __cil_tmp165 ;
46672  struct Scsi_Host *__cil_tmp166 ;
46673  unsigned long __cil_tmp167 ;
46674  unsigned long __cil_tmp168 ;
46675  unsigned int __cil_tmp169 ;
46676  unsigned long __cil_tmp170 ;
46677  unsigned long __cil_tmp171 ;
46678  __be64 *__cil_tmp172 ;
46679  void    *__cil_tmp173 ;
46680  unsigned long __cil_tmp174 ;
46681  unsigned long __cil_tmp175 ;
46682  __be64 *__cil_tmp176 ;
46683  void    *__cil_tmp177 ;
46684  struct fc_frame    *__cil_tmp178 ;
46685  unsigned long __cil_tmp179 ;
46686  unsigned long __cil_tmp180 ;
46687  unsigned long __cil_tmp181 ;
46688  unsigned long __cil_tmp182 ;
46689  struct Scsi_Host *__cil_tmp183 ;
46690  unsigned long __cil_tmp184 ;
46691  unsigned long __cil_tmp185 ;
46692  void *__cil_tmp186 ;
46693  struct fc_host_attrs *__cil_tmp187 ;
46694  unsigned long __cil_tmp188 ;
46695  unsigned long __cil_tmp189 ;
46696  unsigned long __cil_tmp190 ;
46697  unsigned long __cil_tmp191 ;
46698  __be64 *__cil_tmp192 ;
46699  void    *__cil_tmp193 ;
46700  unsigned long __cil_tmp194 ;
46701  unsigned long __cil_tmp195 ;
46702  struct mutex *__cil_tmp196 ;
46703
46704  {
46705#line 1699
46706  lport = (struct fc_lport *)lp_arg;
46707  {
46708#line 1708
46709  while (1) {
46710    while_continue: /* CIL Label */ ;
46711    {
46712#line 1708
46713    __cil_tmp31 = & fc_debug_logging;
46714#line 1708
46715    __cil_tmp32 = *__cil_tmp31;
46716#line 1708
46717    __cil_tmp33 = __cil_tmp32 & 2U;
46718#line 1708
46719    __cil_tmp34 = ! __cil_tmp33;
46720#line 1708
46721    __cil_tmp35 = ! __cil_tmp34;
46722#line 1708
46723    __cil_tmp36 = (long )__cil_tmp35;
46724#line 1708
46725    tmp___8 = __builtin_expect(__cil_tmp36, 0L);
46726    }
46727#line 1708
46728    if (tmp___8) {
46729      {
46730#line 1708
46731      while (1) {
46732        while_continue___0: /* CIL Label */ ;
46733        {
46734#line 1708
46735        tmp___7 = fc_els_resp_type(fp);
46736#line 1708
46737        __cil_tmp37 = *((struct Scsi_Host **)lport);
46738#line 1708
46739        __cil_tmp38 = (unsigned long )__cil_tmp37;
46740#line 1708
46741        __cil_tmp39 = __cil_tmp38 + 308;
46742#line 1708
46743        __cil_tmp40 = *((unsigned int *)__cil_tmp39);
46744#line 1708
46745        __cil_tmp41 = (unsigned long )lport;
46746#line 1708
46747        __cil_tmp42 = __cil_tmp41 + 788;
46748#line 1708
46749        __cil_tmp43 = *((u32 *)__cil_tmp42);
46750#line 1708
46751        printk("<6>host%u: lport %6.6x: Received a FLOGI %s\n", __cil_tmp40, __cil_tmp43,
46752               tmp___7);
46753        }
46754#line 1708
46755        goto while_break___0;
46756      }
46757      while_break___0: /* CIL Label */ ;
46758      }
46759    } else {
46760
46761    }
46762#line 1708
46763    goto while_break;
46764  }
46765  while_break: /* CIL Label */ ;
46766  }
46767  {
46768#line 1710
46769  tmp___9 = (void *)ERR_PTR(-2L);
46770  }
46771  {
46772#line 1710
46773  __cil_tmp44 = (unsigned long )tmp___9;
46774#line 1710
46775  __cil_tmp45 = (unsigned long )fp;
46776#line 1710
46777  if (__cil_tmp45 == __cil_tmp44) {
46778#line 1711
46779    return;
46780  } else {
46781
46782  }
46783  }
46784  {
46785#line 1713
46786  __cil_tmp46 = (unsigned long )lport;
46787#line 1713
46788  __cil_tmp47 = __cil_tmp46 + 928;
46789#line 1713
46790  __cil_tmp48 = (struct mutex *)__cil_tmp47;
46791#line 1713
46792  mutex_lock(__cil_tmp48);
46793  }
46794  {
46795#line 1715
46796  __cil_tmp49 = (unsigned long )lport;
46797#line 1715
46798  __cil_tmp50 = __cil_tmp49 + 604;
46799#line 1715
46800  __cil_tmp51 = *((enum fc_lport_state *)__cil_tmp50);
46801#line 1715
46802  __cil_tmp52 = (unsigned int )__cil_tmp51;
46803#line 1715
46804  if (__cil_tmp52 != 1U) {
46805    {
46806#line 1716
46807    while (1) {
46808      while_continue___1: /* CIL Label */ ;
46809      {
46810#line 1716
46811      __cil_tmp53 = & fc_debug_logging;
46812#line 1716
46813      __cil_tmp54 = *__cil_tmp53;
46814#line 1716
46815      __cil_tmp55 = __cil_tmp54 & 2U;
46816#line 1716
46817      __cil_tmp56 = ! __cil_tmp55;
46818#line 1716
46819      __cil_tmp57 = ! __cil_tmp56;
46820#line 1716
46821      __cil_tmp58 = (long )__cil_tmp57;
46822#line 1716
46823      tmp___11 = __builtin_expect(__cil_tmp58, 0L);
46824      }
46825#line 1716
46826      if (tmp___11) {
46827        {
46828#line 1716
46829        while (1) {
46830          while_continue___2: /* CIL Label */ ;
46831          {
46832#line 1716
46833          tmp___10 = fc_lport_state(lport);
46834#line 1716
46835          __cil_tmp59 = *((struct Scsi_Host **)lport);
46836#line 1716
46837          __cil_tmp60 = (unsigned long )__cil_tmp59;
46838#line 1716
46839          __cil_tmp61 = __cil_tmp60 + 308;
46840#line 1716
46841          __cil_tmp62 = *((unsigned int *)__cil_tmp61);
46842#line 1716
46843          __cil_tmp63 = (unsigned long )lport;
46844#line 1716
46845          __cil_tmp64 = __cil_tmp63 + 788;
46846#line 1716
46847          __cil_tmp65 = *((u32 *)__cil_tmp64);
46848#line 1716
46849          printk("<6>host%u: lport %6.6x: Received a FLOGI response, but in state %s\n",
46850                 __cil_tmp62, __cil_tmp65, tmp___10);
46851          }
46852#line 1716
46853          goto while_break___2;
46854        }
46855        while_break___2: /* CIL Label */ ;
46856        }
46857      } else {
46858
46859      }
46860#line 1716
46861      goto while_break___1;
46862    }
46863    while_break___1: /* CIL Label */ ;
46864    }
46865    {
46866#line 1718
46867    __cil_tmp66 = (void    *)fp;
46868#line 1718
46869    tmp___12 = (long )IS_ERR(__cil_tmp66);
46870    }
46871#line 1718
46872    if (tmp___12) {
46873#line 1719
46874      goto err;
46875    } else {
46876
46877    }
46878#line 1720
46879    goto out;
46880  } else {
46881
46882  }
46883  }
46884  {
46885#line 1723
46886  __cil_tmp67 = (void    *)fp;
46887#line 1723
46888  tmp___13 = (long )IS_ERR(__cil_tmp67);
46889  }
46890#line 1723
46891  if (tmp___13) {
46892    {
46893#line 1724
46894    fc_lport_error(lport, fp);
46895    }
46896#line 1725
46897    goto err;
46898  } else {
46899
46900  }
46901  {
46902#line 1728
46903  __cil_tmp68 = (struct fc_frame    *)fp;
46904#line 1728
46905  fh = fc_frame_header_get(__cil_tmp68);
46906#line 1729
46907  __cil_tmp69 = (struct fc_frame    *)fp;
46908#line 1729
46909  did = fc_frame_did(__cil_tmp69);
46910  }
46911  {
46912#line 1730
46913  __cil_tmp70 = *((__u8 *)fh);
46914#line 1730
46915  __cil_tmp71 = (int )__cil_tmp70;
46916#line 1730
46917  if (__cil_tmp71 != 35) {
46918#line 1730
46919    goto _L;
46920  } else
46921#line 1730
46922  if (did == 0U) {
46923#line 1730
46924    goto _L;
46925  } else {
46926    {
46927#line 1730
46928    __cil_tmp72 = (struct fc_frame    *)fp;
46929#line 1730
46930    tmp___15 = fc_frame_payload_op(__cil_tmp72);
46931    }
46932    {
46933#line 1730
46934    __cil_tmp73 = (int )tmp___15;
46935#line 1730
46936    if (__cil_tmp73 != 2) {
46937      _L: /* CIL Label */ 
46938      {
46939#line 1732
46940      while (1) {
46941        while_continue___3: /* CIL Label */ ;
46942        {
46943#line 1732
46944        __cil_tmp74 = & fc_debug_logging;
46945#line 1732
46946        __cil_tmp75 = *__cil_tmp74;
46947#line 1732
46948        __cil_tmp76 = __cil_tmp75 & 2U;
46949#line 1732
46950        __cil_tmp77 = ! __cil_tmp76;
46951#line 1732
46952        __cil_tmp78 = ! __cil_tmp77;
46953#line 1732
46954        __cil_tmp79 = (long )__cil_tmp78;
46955#line 1732
46956        tmp___14 = __builtin_expect(__cil_tmp79, 0L);
46957        }
46958#line 1732
46959        if (tmp___14) {
46960          {
46961#line 1732
46962          while (1) {
46963            while_continue___4: /* CIL Label */ ;
46964            {
46965#line 1732
46966            __cil_tmp80 = *((struct Scsi_Host **)lport);
46967#line 1732
46968            __cil_tmp81 = (unsigned long )__cil_tmp80;
46969#line 1732
46970            __cil_tmp82 = __cil_tmp81 + 308;
46971#line 1732
46972            __cil_tmp83 = *((unsigned int *)__cil_tmp82);
46973#line 1732
46974            __cil_tmp84 = (unsigned long )lport;
46975#line 1732
46976            __cil_tmp85 = __cil_tmp84 + 788;
46977#line 1732
46978            __cil_tmp86 = *((u32 *)__cil_tmp85);
46979#line 1732
46980            printk("<6>host%u: lport %6.6x: FLOGI not accepted or bad response\n",
46981                   __cil_tmp83, __cil_tmp86);
46982            }
46983#line 1732
46984            goto while_break___4;
46985          }
46986          while_break___4: /* CIL Label */ ;
46987          }
46988        } else {
46989
46990        }
46991#line 1732
46992        goto while_break___3;
46993      }
46994      while_break___3: /* CIL Label */ ;
46995      }
46996      {
46997#line 1733
46998      fc_lport_error(lport, fp);
46999      }
47000#line 1734
47001      goto err;
47002    } else {
47003
47004    }
47005    }
47006  }
47007  }
47008  {
47009#line 1737
47010  __cil_tmp87 = (struct fc_frame    *)fp;
47011#line 1737
47012  tmp___16 = fc_frame_payload_get(__cil_tmp87, 116UL);
47013#line 1737
47014  flp = (struct fc_els_flogi *)tmp___16;
47015  }
47016#line 1738
47017  if (! flp) {
47018    {
47019#line 1739
47020    while (1) {
47021      while_continue___5: /* CIL Label */ ;
47022      {
47023#line 1739
47024      __cil_tmp88 = & fc_debug_logging;
47025#line 1739
47026      __cil_tmp89 = *__cil_tmp88;
47027#line 1739
47028      __cil_tmp90 = __cil_tmp89 & 2U;
47029#line 1739
47030      __cil_tmp91 = ! __cil_tmp90;
47031#line 1739
47032      __cil_tmp92 = ! __cil_tmp91;
47033#line 1739
47034      __cil_tmp93 = (long )__cil_tmp92;
47035#line 1739
47036      tmp___17 = __builtin_expect(__cil_tmp93, 0L);
47037      }
47038#line 1739
47039      if (tmp___17) {
47040        {
47041#line 1739
47042        while (1) {
47043          while_continue___6: /* CIL Label */ ;
47044          {
47045#line 1739
47046          __cil_tmp94 = *((struct Scsi_Host **)lport);
47047#line 1739
47048          __cil_tmp95 = (unsigned long )__cil_tmp94;
47049#line 1739
47050          __cil_tmp96 = __cil_tmp95 + 308;
47051#line 1739
47052          __cil_tmp97 = *((unsigned int *)__cil_tmp96);
47053#line 1739
47054          __cil_tmp98 = (unsigned long )lport;
47055#line 1739
47056          __cil_tmp99 = __cil_tmp98 + 788;
47057#line 1739
47058          __cil_tmp100 = *((u32 *)__cil_tmp99);
47059#line 1739
47060          printk("<6>host%u: lport %6.6x: FLOGI bad response\n", __cil_tmp97, __cil_tmp100);
47061          }
47062#line 1739
47063          goto while_break___6;
47064        }
47065        while_break___6: /* CIL Label */ ;
47066        }
47067      } else {
47068
47069      }
47070#line 1739
47071      goto while_break___5;
47072    }
47073    while_break___5: /* CIL Label */ ;
47074    }
47075    {
47076#line 1740
47077    fc_lport_error(lport, fp);
47078    }
47079#line 1741
47080    goto err;
47081  } else {
47082
47083  }
47084  {
47085#line 1744
47086  __cil_tmp101 = 4 + 6;
47087#line 1744
47088  __cil_tmp102 = (unsigned long )flp;
47089#line 1744
47090  __cil_tmp103 = __cil_tmp102 + __cil_tmp101;
47091#line 1744
47092  __cil_tmp104 = *((__be16 *)__cil_tmp103);
47093#line 1744
47094  tmp___18 = __fswab16(__cil_tmp104);
47095#line 1744
47096  __cil_tmp105 = (int )tmp___18;
47097#line 1744
47098  __cil_tmp106 = __cil_tmp105 & 4095;
47099#line 1744
47100  mfs = (u16 )__cil_tmp106;
47101  }
47102  {
47103#line 1747
47104  __cil_tmp107 = (unsigned int )mfs;
47105#line 1747
47106  if (__cil_tmp107 < 256U) {
47107#line 1747
47108    goto _L___0;
47109  } else {
47110    {
47111#line 1747
47112    __cil_tmp108 = (unsigned int )mfs;
47113#line 1747
47114    if (__cil_tmp108 > 2112U) {
47115      _L___0: /* CIL Label */ 
47116      {
47117#line 1748
47118      while (1) {
47119        while_continue___7: /* CIL Label */ ;
47120        {
47121#line 1748
47122        __cil_tmp109 = & fc_debug_logging;
47123#line 1748
47124        __cil_tmp110 = *__cil_tmp109;
47125#line 1748
47126        __cil_tmp111 = __cil_tmp110 & 2U;
47127#line 1748
47128        __cil_tmp112 = ! __cil_tmp111;
47129#line 1748
47130        __cil_tmp113 = ! __cil_tmp112;
47131#line 1748
47132        __cil_tmp114 = (long )__cil_tmp113;
47133#line 1748
47134        tmp___19 = __builtin_expect(__cil_tmp114, 0L);
47135        }
47136#line 1748
47137        if (tmp___19) {
47138          {
47139#line 1748
47140          while (1) {
47141            while_continue___8: /* CIL Label */ ;
47142            {
47143#line 1748
47144            __cil_tmp115 = *((struct Scsi_Host **)lport);
47145#line 1748
47146            __cil_tmp116 = (unsigned long )__cil_tmp115;
47147#line 1748
47148            __cil_tmp117 = __cil_tmp116 + 308;
47149#line 1748
47150            __cil_tmp118 = *((unsigned int *)__cil_tmp117);
47151#line 1748
47152            __cil_tmp119 = (unsigned long )lport;
47153#line 1748
47154            __cil_tmp120 = __cil_tmp119 + 788;
47155#line 1748
47156            __cil_tmp121 = *((u32 *)__cil_tmp120);
47157#line 1748
47158            __cil_tmp122 = (int )mfs;
47159#line 1748
47160            __cil_tmp123 = (unsigned long )lport;
47161#line 1748
47162            __cil_tmp124 = __cil_tmp123 + 876;
47163#line 1748
47164            __cil_tmp125 = *((u32 *)__cil_tmp124);
47165#line 1748
47166            printk("<6>host%u: lport %6.6x: FLOGI bad mfs:%hu response, lport->mfs:%hu\n",
47167                   __cil_tmp118, __cil_tmp121, __cil_tmp122, __cil_tmp125);
47168            }
47169#line 1748
47170            goto while_break___8;
47171          }
47172          while_break___8: /* CIL Label */ ;
47173          }
47174        } else {
47175
47176        }
47177#line 1748
47178        goto while_break___7;
47179      }
47180      while_break___7: /* CIL Label */ ;
47181      }
47182      {
47183#line 1750
47184      fc_lport_error(lport, fp);
47185      }
47186#line 1751
47187      goto err;
47188    } else {
47189
47190    }
47191    }
47192  }
47193  }
47194  {
47195#line 1754
47196  __cil_tmp126 = (unsigned long )lport;
47197#line 1754
47198  __cil_tmp127 = __cil_tmp126 + 876;
47199#line 1754
47200  __cil_tmp128 = *((u32 *)__cil_tmp127);
47201#line 1754
47202  __cil_tmp129 = (u32 )mfs;
47203#line 1754
47204  if (__cil_tmp129 <= __cil_tmp128) {
47205#line 1755
47206    __cil_tmp130 = (unsigned long )lport;
47207#line 1755
47208    __cil_tmp131 = __cil_tmp130 + 876;
47209#line 1755
47210    *((u32 *)__cil_tmp131) = (u32 )mfs;
47211#line 1756
47212    __cil_tmp132 = *((struct Scsi_Host **)lport);
47213#line 1756
47214    __cil_tmp133 = (unsigned long )__cil_tmp132;
47215#line 1756
47216    __cil_tmp134 = __cil_tmp133 + 2024;
47217#line 1756
47218    __cil_tmp135 = *((void **)__cil_tmp134);
47219#line 1756
47220    __cil_tmp136 = (struct fc_host_attrs *)__cil_tmp135;
47221#line 1756
47222    __cil_tmp137 = (unsigned long )__cil_tmp136;
47223#line 1756
47224    __cil_tmp138 = __cil_tmp137 + 64;
47225#line 1756
47226    *((u32 *)__cil_tmp138) = (u32 )mfs;
47227  } else {
47228
47229  }
47230  }
47231  {
47232#line 1759
47233  __cil_tmp139 = 4 + 4;
47234#line 1759
47235  __cil_tmp140 = (unsigned long )flp;
47236#line 1759
47237  __cil_tmp141 = __cil_tmp140 + __cil_tmp139;
47238#line 1759
47239  __cil_tmp142 = *((__be16 *)__cil_tmp141);
47240#line 1759
47241  tmp___20 = __fswab16(__cil_tmp142);
47242#line 1759
47243  __cil_tmp143 = (int )tmp___20;
47244#line 1759
47245  csp_flags = (u16 )__cil_tmp143;
47246#line 1760
47247  __cil_tmp144 = 4 + 8;
47248#line 1760
47249  __cil_tmp145 = (unsigned long )flp;
47250#line 1760
47251  __cil_tmp146 = __cil_tmp145 + __cil_tmp144;
47252#line 1760
47253  __cil_tmp147 = *((__be32 *)__cil_tmp146);
47254#line 1760
47255  tmp___21 = __fswab32(__cil_tmp147);
47256#line 1760
47257  r_a_tov = tmp___21;
47258#line 1761
47259  __cil_tmp148 = 4 + 12;
47260#line 1761
47261  __cil_tmp149 = (unsigned long )flp;
47262#line 1761
47263  __cil_tmp150 = __cil_tmp149 + __cil_tmp148;
47264#line 1761
47265  __cil_tmp151 = *((__be32 *)__cil_tmp150);
47266#line 1761
47267  tmp___22 = __fswab32(__cil_tmp151);
47268#line 1761
47269  e_d_tov = tmp___22;
47270  }
47271  {
47272#line 1762
47273  __cil_tmp152 = (int )csp_flags;
47274#line 1762
47275  if (__cil_tmp152 & 1024) {
47276#line 1763
47277    e_d_tov = e_d_tov / 1000000U;
47278  } else {
47279
47280  }
47281  }
47282#line 1765
47283  __cil_tmp153 = (int )csp_flags;
47284#line 1765
47285  __cil_tmp154 = __cil_tmp153 & 8192;
47286#line 1765
47287  __cil_tmp155 = ! __cil_tmp154;
47288#line 1765
47289  __cil_tmp156 = ! __cil_tmp155;
47290#line 1765
47291  lport->npiv_enabled = (u32 )__cil_tmp156;
47292  {
47293#line 1767
47294  __cil_tmp157 = (int )csp_flags;
47295#line 1767
47296  __cil_tmp158 = __cil_tmp157 & 4096;
47297#line 1767
47298  if (__cil_tmp158 == 0) {
47299    {
47300#line 1768
47301    __cil_tmp159 = (unsigned long )lport;
47302#line 1768
47303    __cil_tmp160 = __cil_tmp159 + 812;
47304#line 1768
47305    __cil_tmp161 = *((unsigned int *)__cil_tmp160);
47306#line 1768
47307    if (e_d_tov > __cil_tmp161) {
47308#line 1769
47309      __cil_tmp162 = (unsigned long )lport;
47310#line 1769
47311      __cil_tmp163 = __cil_tmp162 + 812;
47312#line 1769
47313      *((unsigned int *)__cil_tmp163) = e_d_tov;
47314    } else {
47315
47316    }
47317    }
47318    {
47319#line 1770
47320    __cil_tmp164 = (unsigned long )lport;
47321#line 1770
47322    __cil_tmp165 = __cil_tmp164 + 816;
47323#line 1770
47324    *((unsigned int *)__cil_tmp165) = 2U * e_d_tov;
47325#line 1771
47326    fc_lport_set_port_id(lport, did, fp);
47327#line 1772
47328    __cil_tmp166 = *((struct Scsi_Host **)lport);
47329#line 1772
47330    __cil_tmp167 = (unsigned long )__cil_tmp166;
47331#line 1772
47332    __cil_tmp168 = __cil_tmp167 + 308;
47333#line 1772
47334    __cil_tmp169 = *((unsigned int *)__cil_tmp168);
47335#line 1772
47336    printk("<6>host%d: libfc: Port (%6.6x) entered point-to-point mode\n", __cil_tmp169,
47337           did);
47338#line 1776
47339    __cil_tmp170 = (unsigned long )flp;
47340#line 1776
47341    __cil_tmp171 = __cil_tmp170 + 28;
47342#line 1776
47343    __cil_tmp172 = (__be64 *)__cil_tmp171;
47344#line 1776
47345    __cil_tmp173 = (void    *)__cil_tmp172;
47346#line 1776
47347    tmp___23 = get_unaligned_be64(__cil_tmp173);
47348#line 1776
47349    __cil_tmp174 = (unsigned long )flp;
47350#line 1776
47351    __cil_tmp175 = __cil_tmp174 + 20;
47352#line 1776
47353    __cil_tmp176 = (__be64 *)__cil_tmp175;
47354#line 1776
47355    __cil_tmp177 = (void    *)__cil_tmp176;
47356#line 1776
47357    tmp___24 = get_unaligned_be64(__cil_tmp177);
47358#line 1776
47359    __cil_tmp178 = (struct fc_frame    *)fp;
47360#line 1776
47361    tmp___25 = fc_frame_sid(__cil_tmp178);
47362#line 1776
47363    fc_lport_ptp_setup(lport, tmp___25, tmp___24, tmp___23);
47364    }
47365  } else {
47366    {
47367#line 1782
47368    __cil_tmp179 = (unsigned long )lport;
47369#line 1782
47370    __cil_tmp180 = __cil_tmp179 + 812;
47371#line 1782
47372    *((unsigned int *)__cil_tmp180) = e_d_tov;
47373#line 1783
47374    __cil_tmp181 = (unsigned long )lport;
47375#line 1783
47376    __cil_tmp182 = __cil_tmp181 + 816;
47377#line 1783
47378    *((unsigned int *)__cil_tmp182) = r_a_tov;
47379#line 1784
47380    __cil_tmp183 = *((struct Scsi_Host **)lport);
47381#line 1784
47382    __cil_tmp184 = (unsigned long )__cil_tmp183;
47383#line 1784
47384    __cil_tmp185 = __cil_tmp184 + 2024;
47385#line 1784
47386    __cil_tmp186 = *((void **)__cil_tmp185);
47387#line 1784
47388    __cil_tmp187 = (struct fc_host_attrs *)__cil_tmp186;
47389#line 1784
47390    __cil_tmp188 = (unsigned long )__cil_tmp187;
47391#line 1784
47392    __cil_tmp189 = __cil_tmp188 + 1048;
47393#line 1784
47394    __cil_tmp190 = (unsigned long )flp;
47395#line 1784
47396    __cil_tmp191 = __cil_tmp190 + 28;
47397#line 1784
47398    __cil_tmp192 = (__be64 *)__cil_tmp191;
47399#line 1784
47400    __cil_tmp193 = (void    *)__cil_tmp192;
47401#line 1784
47402    *((u64 *)__cil_tmp189) = get_unaligned_be64(__cil_tmp193);
47403#line 1786
47404    fc_lport_set_port_id(lport, did, fp);
47405#line 1787
47406    fc_lport_enter_dns(lport);
47407    }
47408  }
47409  }
47410  out: 
47411  {
47412#line 1791
47413  fc_frame_free(fp);
47414  }
47415  err: 
47416  {
47417#line 1793
47418  __cil_tmp194 = (unsigned long )lport;
47419#line 1793
47420  __cil_tmp195 = __cil_tmp194 + 928;
47421#line 1793
47422  __cil_tmp196 = (struct mutex *)__cil_tmp195;
47423#line 1793
47424  mutex_unlock(__cil_tmp196);
47425  }
47426#line 1794
47427  return;
47428}
47429}
47430#line 1795
47431extern void *__crc_fc_lport_flogi_resp  __attribute__((__weak__)) ;
47432#line 1795 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
47433static unsigned long    __kcrctab_fc_lport_flogi_resp  __attribute__((__used__,
47434__unused__, __section__("___kcrctab+fc_lport_flogi_resp")))  =    (unsigned long    )((unsigned long )(& __crc_fc_lport_flogi_resp));
47435#line 1795 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
47436static char    __kstrtab_fc_lport_flogi_resp[20]  __attribute__((__section__("__ksymtab_strings"),
47437__aligned__(1)))  = 
47438#line 1795
47439  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'l', 
47440        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
47441        (char    )'_',      (char    )'f',      (char const   )'l',      (char const   )'o', 
47442        (char    )'g',      (char    )'i',      (char const   )'_',      (char const   )'r', 
47443        (char    )'e',      (char    )'s',      (char const   )'p',      (char const   )'\000'};
47444#line 1795 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
47445static struct kernel_symbol    __ksymtab_fc_lport_flogi_resp  __attribute__((__used__,
47446__unused__, __section__("___ksymtab+fc_lport_flogi_resp")))  =    {(unsigned long )(& fc_lport_flogi_resp), __kstrtab_fc_lport_flogi_resp};
47447#line 1804 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
47448static void fc_lport_enter_flogi(struct fc_lport *lport ) 
47449{ struct fc_frame *fp ;
47450  char    *tmp___7 ;
47451  long tmp___8 ;
47452  unsigned int tmp___9 ;
47453  int tmp___10 ;
47454  struct fc_seq *tmp___11 ;
47455  unsigned int *__cil_tmp8 ;
47456  unsigned int __cil_tmp9 ;
47457  unsigned int __cil_tmp10 ;
47458  int __cil_tmp11 ;
47459  int __cil_tmp12 ;
47460  long __cil_tmp13 ;
47461  struct Scsi_Host *__cil_tmp14 ;
47462  unsigned long __cil_tmp15 ;
47463  unsigned long __cil_tmp16 ;
47464  unsigned int __cil_tmp17 ;
47465  unsigned long __cil_tmp18 ;
47466  unsigned long __cil_tmp19 ;
47467  u32 __cil_tmp20 ;
47468  enum fc_lport_state __cil_tmp21 ;
47469  unsigned long __cil_tmp22 ;
47470  unsigned long __cil_tmp23 ;
47471  unsigned long __cil_tmp24 ;
47472  unsigned long __cil_tmp25 ;
47473  unsigned long __cil_tmp26 ;
47474  unsigned long __cil_tmp27 ;
47475  unsigned int __cil_tmp28 ;
47476  unsigned long __cil_tmp29 ;
47477  unsigned long __cil_tmp30 ;
47478  unsigned long __cil_tmp31 ;
47479  unsigned long __cil_tmp32 ;
47480  unsigned long __cil_tmp33 ;
47481  unsigned long __cil_tmp34 ;
47482  unsigned long __cil_tmp35 ;
47483  struct fc_seq *(*__cil_tmp36)(struct fc_lport * , u32 did , struct fc_frame * ,
47484                                unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
47485                                                               void *arg ) , void *arg ,
47486                                u32 timer_msec ) ;
47487  u32 __cil_tmp37 ;
47488  unsigned int __cil_tmp38 ;
47489  void *__cil_tmp39 ;
47490  void *__cil_tmp40 ;
47491  struct fc_frame *__cil_tmp41 ;
47492
47493  {
47494  {
47495#line 1808
47496  while (1) {
47497    while_continue: /* CIL Label */ ;
47498    {
47499#line 1808
47500    __cil_tmp8 = & fc_debug_logging;
47501#line 1808
47502    __cil_tmp9 = *__cil_tmp8;
47503#line 1808
47504    __cil_tmp10 = __cil_tmp9 & 2U;
47505#line 1808
47506    __cil_tmp11 = ! __cil_tmp10;
47507#line 1808
47508    __cil_tmp12 = ! __cil_tmp11;
47509#line 1808
47510    __cil_tmp13 = (long )__cil_tmp12;
47511#line 1808
47512    tmp___8 = __builtin_expect(__cil_tmp13, 0L);
47513    }
47514#line 1808
47515    if (tmp___8) {
47516      {
47517#line 1808
47518      while (1) {
47519        while_continue___0: /* CIL Label */ ;
47520        {
47521#line 1808
47522        tmp___7 = fc_lport_state(lport);
47523#line 1808
47524        __cil_tmp14 = *((struct Scsi_Host **)lport);
47525#line 1808
47526        __cil_tmp15 = (unsigned long )__cil_tmp14;
47527#line 1808
47528        __cil_tmp16 = __cil_tmp15 + 308;
47529#line 1808
47530        __cil_tmp17 = *((unsigned int *)__cil_tmp16);
47531#line 1808
47532        __cil_tmp18 = (unsigned long )lport;
47533#line 1808
47534        __cil_tmp19 = __cil_tmp18 + 788;
47535#line 1808
47536        __cil_tmp20 = *((u32 *)__cil_tmp19);
47537#line 1808
47538        printk("<6>host%u: lport %6.6x: Entered FLOGI state from %s state\n", __cil_tmp17,
47539               __cil_tmp20, tmp___7);
47540        }
47541#line 1808
47542        goto while_break___0;
47543      }
47544      while_break___0: /* CIL Label */ ;
47545      }
47546    } else {
47547
47548    }
47549#line 1808
47550    goto while_break;
47551  }
47552  while_break: /* CIL Label */ ;
47553  }
47554  {
47555#line 1811
47556  __cil_tmp21 = (enum fc_lport_state )1;
47557#line 1811
47558  fc_lport_state_enter(lport, __cil_tmp21);
47559  }
47560#line 1813
47561  if (lport->point_to_multipoint) {
47562    {
47563#line 1814
47564    __cil_tmp22 = (unsigned long )lport;
47565#line 1814
47566    __cil_tmp23 = __cil_tmp22 + 788;
47567#line 1814
47568    if (*((u32 *)__cil_tmp23)) {
47569      {
47570#line 1815
47571      fc_lport_enter_ready(lport);
47572      }
47573    } else {
47574
47575    }
47576    }
47577#line 1816
47578    return;
47579  } else {
47580
47581  }
47582  {
47583#line 1819
47584  fp = fc_frame_alloc(lport, 116UL);
47585  }
47586#line 1820
47587  if (! fp) {
47588    {
47589#line 1821
47590    fc_lport_error(lport, fp);
47591    }
47592#line 1821
47593    return;
47594  } else {
47595
47596  }
47597  {
47598#line 1823
47599  __cil_tmp24 = (unsigned long )lport;
47600#line 1823
47601  __cil_tmp25 = __cil_tmp24 + 320;
47602#line 1823
47603  if (*((struct fc_vport **)__cil_tmp25)) {
47604#line 1823
47605    __cil_tmp26 = (unsigned long )lport;
47606#line 1823
47607    __cil_tmp27 = __cil_tmp26 + 816;
47608#line 1823
47609    __cil_tmp28 = *((unsigned int *)__cil_tmp27);
47610#line 1823
47611    tmp___9 = 2U * __cil_tmp28;
47612  } else {
47613#line 1823
47614    __cil_tmp29 = (unsigned long )lport;
47615#line 1823
47616    __cil_tmp30 = __cil_tmp29 + 812;
47617#line 1823
47618    tmp___9 = *((unsigned int *)__cil_tmp30);
47619  }
47620  }
47621  {
47622#line 1823
47623  __cil_tmp31 = (unsigned long )lport;
47624#line 1823
47625  __cil_tmp32 = __cil_tmp31 + 320;
47626#line 1823
47627  if (*((struct fc_vport **)__cil_tmp32)) {
47628#line 1823
47629    tmp___10 = 81;
47630  } else {
47631#line 1823
47632    tmp___10 = 4;
47633  }
47634  }
47635  {
47636#line 1823
47637  __cil_tmp33 = 328 + 8;
47638#line 1823
47639  __cil_tmp34 = (unsigned long )lport;
47640#line 1823
47641  __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
47642#line 1823
47643  __cil_tmp36 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
47644                                       unsigned int op , void (*resp)(struct fc_seq * ,
47645                                                                      struct fc_frame * ,
47646                                                                      void *arg ) ,
47647                                       void *arg , u32 timer_msec ))__cil_tmp35);
47648#line 1823
47649  __cil_tmp37 = (u32 )16777214;
47650#line 1823
47651  __cil_tmp38 = (unsigned int )tmp___10;
47652#line 1823
47653  __cil_tmp39 = (void *)lport;
47654#line 1823
47655  tmp___11 = (*__cil_tmp36)(lport, __cil_tmp37, fp, __cil_tmp38, & fc_lport_flogi_resp,
47656                            __cil_tmp39, tmp___9);
47657  }
47658#line 1823
47659  if (tmp___11) {
47660
47661  } else {
47662    {
47663#line 1828
47664    __cil_tmp40 = (void *)0;
47665#line 1828
47666    __cil_tmp41 = (struct fc_frame *)__cil_tmp40;
47667#line 1828
47668    fc_lport_error(lport, __cil_tmp41);
47669    }
47670  }
47671#line 1829
47672  return;
47673}
47674}
47675#line 1838 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
47676static struct lock_class_key __key___8  ;
47677#line 1835 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
47678int fc_lport_config(struct fc_lport *lport ) 
47679{ atomic_long_t __r_expr_0 ;
47680  unsigned long __cil_tmp3 ;
47681  unsigned long __cil_tmp4 ;
47682  struct work_struct *__cil_tmp5 ;
47683  unsigned long __cil_tmp6 ;
47684  unsigned long __cil_tmp7 ;
47685  unsigned long __cil_tmp8 ;
47686  unsigned long __cil_tmp9 ;
47687  unsigned long __cil_tmp10 ;
47688  unsigned long __cil_tmp11 ;
47689  struct list_head *__cil_tmp12 ;
47690  unsigned long __cil_tmp13 ;
47691  unsigned long __cil_tmp14 ;
47692  unsigned long __cil_tmp15 ;
47693  unsigned long __cil_tmp16 ;
47694  unsigned long __cil_tmp17 ;
47695  unsigned long __cil_tmp18 ;
47696  unsigned long __cil_tmp19 ;
47697  struct timer_list *__cil_tmp20 ;
47698  void *__cil_tmp21 ;
47699  char    *__cil_tmp22 ;
47700  void *__cil_tmp23 ;
47701  struct lock_class_key *__cil_tmp24 ;
47702  unsigned long __cil_tmp25 ;
47703  unsigned long __cil_tmp26 ;
47704  struct mutex *__cil_tmp27 ;
47705  enum fc_lport_state __cil_tmp28 ;
47706  enum fc_fh_type __cil_tmp29 ;
47707  enum fc_fh_type __cil_tmp30 ;
47708  enum fc_fh_type __cil_tmp31 ;
47709  long __r_expr_0_counter32 ;
47710
47711  {
47712  {
47713#line 1837
47714  while (1) {
47715    while_continue: /* CIL Label */ ;
47716    {
47717#line 1837
47718    while (1) {
47719      while_continue___0: /* CIL Label */ ;
47720      {
47721#line 1837
47722      while (1) {
47723        while_continue___1: /* CIL Label */ ;
47724        {
47725#line 1837
47726        __cil_tmp3 = (unsigned long )lport;
47727#line 1837
47728        __cil_tmp4 = __cil_tmp3 + 1016;
47729#line 1837
47730        __cil_tmp5 = (struct work_struct *)__cil_tmp4;
47731#line 1837
47732        __init_work(__cil_tmp5, 0);
47733#line 1837
47734        __r_expr_0_counter32 = 2097664L;
47735#line 1837
47736        __cil_tmp6 = (unsigned long )lport;
47737#line 1837
47738        __cil_tmp7 = __cil_tmp6 + 1016;
47739#line 1837
47740        ((atomic_long_t *)__cil_tmp7)->counter = __r_expr_0_counter32;
47741#line 1837
47742        __cil_tmp8 = 0 + 8;
47743#line 1837
47744        __cil_tmp9 = 1016 + __cil_tmp8;
47745#line 1837
47746        __cil_tmp10 = (unsigned long )lport;
47747#line 1837
47748        __cil_tmp11 = __cil_tmp10 + __cil_tmp9;
47749#line 1837
47750        __cil_tmp12 = (struct list_head *)__cil_tmp11;
47751#line 1837
47752        INIT_LIST_HEAD(__cil_tmp12);
47753        }
47754        {
47755#line 1837
47756        while (1) {
47757          while_continue___2: /* CIL Label */ ;
47758#line 1837
47759          __cil_tmp13 = 0 + 24;
47760#line 1837
47761          __cil_tmp14 = 1016 + __cil_tmp13;
47762#line 1837
47763          __cil_tmp15 = (unsigned long )lport;
47764#line 1837
47765          __cil_tmp16 = __cil_tmp15 + __cil_tmp14;
47766#line 1837
47767          *((void (**)(struct work_struct *work ))__cil_tmp16) = & fc_lport_timeout;
47768#line 1837
47769          goto while_break___2;
47770        }
47771        while_break___2: /* CIL Label */ ;
47772        }
47773#line 1837
47774        goto while_break___1;
47775      }
47776      while_break___1: /* CIL Label */ ;
47777      }
47778#line 1837
47779      goto while_break___0;
47780    }
47781    while_break___0: /* CIL Label */ ;
47782    }
47783    {
47784#line 1837
47785    __cil_tmp17 = 1016 + 32;
47786#line 1837
47787    __cil_tmp18 = (unsigned long )lport;
47788#line 1837
47789    __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
47790#line 1837
47791    __cil_tmp20 = (struct timer_list *)__cil_tmp19;
47792#line 1837
47793    __cil_tmp21 = (void *)0;
47794#line 1837
47795    __cil_tmp22 = (char    *)__cil_tmp21;
47796#line 1837
47797    __cil_tmp23 = (void *)0;
47798#line 1837
47799    __cil_tmp24 = (struct lock_class_key *)__cil_tmp23;
47800#line 1837
47801    init_timer_key(__cil_tmp20, __cil_tmp22, __cil_tmp24);
47802    }
47803#line 1837
47804    goto while_break;
47805  }
47806  while_break: /* CIL Label */ ;
47807  }
47808  {
47809#line 1838
47810  while (1) {
47811    while_continue___3: /* CIL Label */ ;
47812    {
47813#line 1838
47814    __cil_tmp25 = (unsigned long )lport;
47815#line 1838
47816    __cil_tmp26 = __cil_tmp25 + 928;
47817#line 1838
47818    __cil_tmp27 = (struct mutex *)__cil_tmp26;
47819#line 1838
47820    __mutex_init(__cil_tmp27, "&lport->lp_mutex", & __key___8);
47821    }
47822#line 1838
47823    goto while_break___3;
47824  }
47825  while_break___3: /* CIL Label */ ;
47826  }
47827  {
47828#line 1840
47829  __cil_tmp28 = (enum fc_lport_state )0;
47830#line 1840
47831  fc_lport_state_enter(lport, __cil_tmp28);
47832#line 1842
47833  __cil_tmp29 = (enum fc_fh_type )8;
47834#line 1842
47835  fc_lport_add_fc4_type(lport, __cil_tmp29);
47836#line 1843
47837  __cil_tmp30 = (enum fc_fh_type )32;
47838#line 1843
47839  fc_lport_add_fc4_type(lport, __cil_tmp30);
47840#line 1844
47841  __cil_tmp31 = (enum fc_fh_type )8;
47842#line 1844
47843  fc_fc4_conf_lport_params(lport, __cil_tmp31);
47844  }
47845#line 1846
47846  return (0);
47847}
47848}
47849#line 1848
47850extern void *__crc_fc_lport_config  __attribute__((__weak__)) ;
47851#line 1848 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
47852static unsigned long    __kcrctab_fc_lport_config  __attribute__((__used__, __unused__,
47853__section__("___kcrctab+fc_lport_config")))  =    (unsigned long    )((unsigned long )(& __crc_fc_lport_config));
47854#line 1848 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
47855static char    __kstrtab_fc_lport_config[16]  __attribute__((__section__("__ksymtab_strings"),
47856__aligned__(1)))  = 
47857#line 1848
47858  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'l', 
47859        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
47860        (char    )'_',      (char    )'c',      (char const   )'o',      (char const   )'n', 
47861        (char    )'f',      (char    )'i',      (char const   )'g',      (char const   )'\000'};
47862#line 1848 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
47863static struct kernel_symbol    __ksymtab_fc_lport_config  __attribute__((__used__,
47864__unused__, __section__("___ksymtab+fc_lport_config")))  =    {(unsigned long )(& fc_lport_config), __kstrtab_fc_lport_config};
47865#line 1854 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
47866int fc_lport_init(struct fc_lport *lport ) 
47867{ unsigned long __cil_tmp2 ;
47868  unsigned long __cil_tmp3 ;
47869  unsigned long __cil_tmp4 ;
47870  void (*__cil_tmp5)(struct fc_lport * , struct fc_frame * ) ;
47871  unsigned long __cil_tmp6 ;
47872  unsigned long __cil_tmp7 ;
47873  unsigned long __cil_tmp8 ;
47874  unsigned long __cil_tmp9 ;
47875  unsigned long __cil_tmp10 ;
47876  unsigned long __cil_tmp11 ;
47877  int (*__cil_tmp12)(struct fc_lport * ) ;
47878  unsigned long __cil_tmp13 ;
47879  unsigned long __cil_tmp14 ;
47880  unsigned long __cil_tmp15 ;
47881  struct Scsi_Host *__cil_tmp16 ;
47882  unsigned long __cil_tmp17 ;
47883  unsigned long __cil_tmp18 ;
47884  void *__cil_tmp19 ;
47885  struct fc_host_attrs *__cil_tmp20 ;
47886  unsigned long __cil_tmp21 ;
47887  unsigned long __cil_tmp22 ;
47888  struct Scsi_Host *__cil_tmp23 ;
47889  unsigned long __cil_tmp24 ;
47890  unsigned long __cil_tmp25 ;
47891  void *__cil_tmp26 ;
47892  struct fc_host_attrs *__cil_tmp27 ;
47893  unsigned long __cil_tmp28 ;
47894  unsigned long __cil_tmp29 ;
47895  struct Scsi_Host *__cil_tmp30 ;
47896  unsigned long __cil_tmp31 ;
47897  unsigned long __cil_tmp32 ;
47898  void *__cil_tmp33 ;
47899  struct fc_host_attrs *__cil_tmp34 ;
47900  unsigned long __cil_tmp35 ;
47901  unsigned long __cil_tmp36 ;
47902  unsigned long __cil_tmp37 ;
47903  unsigned long __cil_tmp38 ;
47904  struct Scsi_Host *__cil_tmp39 ;
47905  unsigned long __cil_tmp40 ;
47906  unsigned long __cil_tmp41 ;
47907  void *__cil_tmp42 ;
47908  struct fc_host_attrs *__cil_tmp43 ;
47909  unsigned long __cil_tmp44 ;
47910  unsigned long __cil_tmp45 ;
47911  unsigned long __cil_tmp46 ;
47912  unsigned long __cil_tmp47 ;
47913  struct Scsi_Host *__cil_tmp48 ;
47914  unsigned long __cil_tmp49 ;
47915  unsigned long __cil_tmp50 ;
47916  void *__cil_tmp51 ;
47917  struct fc_host_attrs *__cil_tmp52 ;
47918  unsigned long __cil_tmp53 ;
47919  unsigned long __cil_tmp54 ;
47920  u8 *__cil_tmp55 ;
47921  void *__cil_tmp56 ;
47922  unsigned long __cil_tmp57 ;
47923  unsigned long __cil_tmp58 ;
47924  struct Scsi_Host *__cil_tmp59 ;
47925  unsigned long __cil_tmp60 ;
47926  unsigned long __cil_tmp61 ;
47927  void *__cil_tmp62 ;
47928  struct fc_host_attrs *__cil_tmp63 ;
47929  unsigned long __cil_tmp64 ;
47930  unsigned long __cil_tmp65 ;
47931  unsigned long __cil_tmp66 ;
47932  unsigned long __cil_tmp67 ;
47933  struct Scsi_Host *__cil_tmp68 ;
47934  unsigned long __cil_tmp69 ;
47935  unsigned long __cil_tmp70 ;
47936  void *__cil_tmp71 ;
47937  struct fc_host_attrs *__cil_tmp72 ;
47938  unsigned long __cil_tmp73 ;
47939  unsigned long __cil_tmp74 ;
47940  unsigned long __cil_tmp75 ;
47941  unsigned long __cil_tmp76 ;
47942  struct Scsi_Host *__cil_tmp77 ;
47943  unsigned long __cil_tmp78 ;
47944  unsigned long __cil_tmp79 ;
47945  void *__cil_tmp80 ;
47946  struct fc_host_attrs *__cil_tmp81 ;
47947  unsigned long __cil_tmp82 ;
47948  unsigned long __cil_tmp83 ;
47949  u8 *__cil_tmp84 ;
47950  void *__cil_tmp85 ;
47951  unsigned long __cil_tmp86 ;
47952  unsigned long __cil_tmp87 ;
47953  struct Scsi_Host *__cil_tmp88 ;
47954  unsigned long __cil_tmp89 ;
47955  unsigned long __cil_tmp90 ;
47956  void *__cil_tmp91 ;
47957  struct fc_host_attrs *__cil_tmp92 ;
47958  unsigned long __cil_tmp93 ;
47959  unsigned long __cil_tmp94 ;
47960  unsigned long __cil_tmp95 ;
47961  unsigned long __cil_tmp96 ;
47962  struct Scsi_Host *__cil_tmp97 ;
47963  unsigned long __cil_tmp98 ;
47964  unsigned long __cil_tmp99 ;
47965  void *__cil_tmp100 ;
47966  struct fc_host_attrs *__cil_tmp101 ;
47967  unsigned long __cil_tmp102 ;
47968  unsigned long __cil_tmp103 ;
47969  struct Scsi_Host *__cil_tmp104 ;
47970  unsigned long __cil_tmp105 ;
47971  unsigned long __cil_tmp106 ;
47972  void *__cil_tmp107 ;
47973  struct fc_host_attrs *__cil_tmp108 ;
47974  unsigned long __cil_tmp109 ;
47975  unsigned long __cil_tmp110 ;
47976  unsigned long __cil_tmp111 ;
47977  unsigned long __cil_tmp112 ;
47978  struct Scsi_Host *__cil_tmp113 ;
47979  unsigned long __cil_tmp114 ;
47980  unsigned long __cil_tmp115 ;
47981  void *__cil_tmp116 ;
47982  struct fc_host_attrs *__cil_tmp117 ;
47983  unsigned long __cil_tmp118 ;
47984  unsigned long __cil_tmp119 ;
47985  unsigned long __cil_tmp120 ;
47986  unsigned long __cil_tmp121 ;
47987  u16 __cil_tmp122 ;
47988  int __cil_tmp123 ;
47989  struct Scsi_Host *__cil_tmp124 ;
47990  unsigned long __cil_tmp125 ;
47991  unsigned long __cil_tmp126 ;
47992  void *__cil_tmp127 ;
47993  struct fc_host_attrs *__cil_tmp128 ;
47994  unsigned long __cil_tmp129 ;
47995  unsigned long __cil_tmp130 ;
47996  struct Scsi_Host *__cil_tmp131 ;
47997  unsigned long __cil_tmp132 ;
47998  unsigned long __cil_tmp133 ;
47999  void *__cil_tmp134 ;
48000  struct fc_host_attrs *__cil_tmp135 ;
48001  unsigned long __cil_tmp136 ;
48002  unsigned long __cil_tmp137 ;
48003  u32 __cil_tmp138 ;
48004  unsigned long __cil_tmp139 ;
48005  unsigned long __cil_tmp140 ;
48006  u16 __cil_tmp141 ;
48007  int __cil_tmp142 ;
48008  struct Scsi_Host *__cil_tmp143 ;
48009  unsigned long __cil_tmp144 ;
48010  unsigned long __cil_tmp145 ;
48011  void *__cil_tmp146 ;
48012  struct fc_host_attrs *__cil_tmp147 ;
48013  unsigned long __cil_tmp148 ;
48014  unsigned long __cil_tmp149 ;
48015  struct Scsi_Host *__cil_tmp150 ;
48016  unsigned long __cil_tmp151 ;
48017  unsigned long __cil_tmp152 ;
48018  void *__cil_tmp153 ;
48019  struct fc_host_attrs *__cil_tmp154 ;
48020  unsigned long __cil_tmp155 ;
48021  unsigned long __cil_tmp156 ;
48022  u32 __cil_tmp157 ;
48023
48024  {
48025  {
48026#line 1856
48027  __cil_tmp2 = 328 + 136;
48028#line 1856
48029  __cil_tmp3 = (unsigned long )lport;
48030#line 1856
48031  __cil_tmp4 = __cil_tmp3 + __cil_tmp2;
48032#line 1856
48033  __cil_tmp5 = *((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp4);
48034#line 1856
48035  if (! __cil_tmp5) {
48036#line 1857
48037    __cil_tmp6 = 328 + 136;
48038#line 1857
48039    __cil_tmp7 = (unsigned long )lport;
48040#line 1857
48041    __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
48042#line 1857
48043    *((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp8) = & fc_lport_recv_req;
48044  } else {
48045
48046  }
48047  }
48048  {
48049#line 1859
48050  __cil_tmp9 = 328 + 144;
48051#line 1859
48052  __cil_tmp10 = (unsigned long )lport;
48053#line 1859
48054  __cil_tmp11 = __cil_tmp10 + __cil_tmp9;
48055#line 1859
48056  __cil_tmp12 = *((int (**)(struct fc_lport * ))__cil_tmp11);
48057#line 1859
48058  if (! __cil_tmp12) {
48059#line 1860
48060    __cil_tmp13 = 328 + 144;
48061#line 1860
48062    __cil_tmp14 = (unsigned long )lport;
48063#line 1860
48064    __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
48065#line 1860
48066    *((int (**)(struct fc_lport * ))__cil_tmp15) = & fc_lport_reset;
48067  } else {
48068
48069  }
48070  }
48071  {
48072#line 1862
48073  __cil_tmp16 = *((struct Scsi_Host **)lport);
48074#line 1862
48075  __cil_tmp17 = (unsigned long )__cil_tmp16;
48076#line 1862
48077  __cil_tmp18 = __cil_tmp17 + 2024;
48078#line 1862
48079  __cil_tmp19 = *((void **)__cil_tmp18);
48080#line 1862
48081  __cil_tmp20 = (struct fc_host_attrs *)__cil_tmp19;
48082#line 1862
48083  __cil_tmp21 = (unsigned long )__cil_tmp20;
48084#line 1862
48085  __cil_tmp22 = __cil_tmp21 + 1004;
48086#line 1862
48087  *((enum fc_port_type *)__cil_tmp22) = (enum fc_port_type )3;
48088#line 1863
48089  __cil_tmp23 = *((struct Scsi_Host **)lport);
48090#line 1863
48091  __cil_tmp24 = (unsigned long )__cil_tmp23;
48092#line 1863
48093  __cil_tmp25 = __cil_tmp24 + 2024;
48094#line 1863
48095  __cil_tmp26 = *((void **)__cil_tmp25);
48096#line 1863
48097  __cil_tmp27 = (struct fc_host_attrs *)__cil_tmp26;
48098#line 1863
48099  __cil_tmp28 = (unsigned long )lport;
48100#line 1863
48101  __cil_tmp29 = __cil_tmp28 + 800;
48102#line 1863
48103  *((u64 *)__cil_tmp27) = *((u64 *)__cil_tmp29);
48104#line 1864
48105  __cil_tmp30 = *((struct Scsi_Host **)lport);
48106#line 1864
48107  __cil_tmp31 = (unsigned long )__cil_tmp30;
48108#line 1864
48109  __cil_tmp32 = __cil_tmp31 + 2024;
48110#line 1864
48111  __cil_tmp33 = *((void **)__cil_tmp32);
48112#line 1864
48113  __cil_tmp34 = (struct fc_host_attrs *)__cil_tmp33;
48114#line 1864
48115  __cil_tmp35 = (unsigned long )__cil_tmp34;
48116#line 1864
48117  __cil_tmp36 = __cil_tmp35 + 8;
48118#line 1864
48119  __cil_tmp37 = (unsigned long )lport;
48120#line 1864
48121  __cil_tmp38 = __cil_tmp37 + 792;
48122#line 1864
48123  *((u64 *)__cil_tmp36) = *((u64 *)__cil_tmp38);
48124#line 1865
48125  __cil_tmp39 = *((struct Scsi_Host **)lport);
48126#line 1865
48127  __cil_tmp40 = (unsigned long )__cil_tmp39;
48128#line 1865
48129  __cil_tmp41 = __cil_tmp40 + 2024;
48130#line 1865
48131  __cil_tmp42 = *((void **)__cil_tmp41);
48132#line 1865
48133  __cil_tmp43 = (struct fc_host_attrs *)__cil_tmp42;
48134#line 1865
48135  __cil_tmp44 = (unsigned long )__cil_tmp43;
48136#line 1865
48137  __cil_tmp45 = __cil_tmp44 + 24;
48138#line 1865
48139  *((u32 *)__cil_tmp45) = (u32 )8;
48140#line 1866
48141  __cil_tmp46 = 0 * 1UL;
48142#line 1866
48143  __cil_tmp47 = 28 + __cil_tmp46;
48144#line 1866
48145  __cil_tmp48 = *((struct Scsi_Host **)lport);
48146#line 1866
48147  __cil_tmp49 = (unsigned long )__cil_tmp48;
48148#line 1866
48149  __cil_tmp50 = __cil_tmp49 + 2024;
48150#line 1866
48151  __cil_tmp51 = *((void **)__cil_tmp50);
48152#line 1866
48153  __cil_tmp52 = (struct fc_host_attrs *)__cil_tmp51;
48154#line 1866
48155  __cil_tmp53 = (unsigned long )__cil_tmp52;
48156#line 1866
48157  __cil_tmp54 = __cil_tmp53 + __cil_tmp47;
48158#line 1866
48159  __cil_tmp55 = (u8 *)__cil_tmp54;
48160#line 1866
48161  __cil_tmp56 = (void *)__cil_tmp55;
48162#line 1866
48163  memset(__cil_tmp56, 0, 32UL);
48164#line 1868
48165  __cil_tmp57 = 2 * 1UL;
48166#line 1868
48167  __cil_tmp58 = 28 + __cil_tmp57;
48168#line 1868
48169  __cil_tmp59 = *((struct Scsi_Host **)lport);
48170#line 1868
48171  __cil_tmp60 = (unsigned long )__cil_tmp59;
48172#line 1868
48173  __cil_tmp61 = __cil_tmp60 + 2024;
48174#line 1868
48175  __cil_tmp62 = *((void **)__cil_tmp61);
48176#line 1868
48177  __cil_tmp63 = (struct fc_host_attrs *)__cil_tmp62;
48178#line 1868
48179  __cil_tmp64 = (unsigned long )__cil_tmp63;
48180#line 1868
48181  __cil_tmp65 = __cil_tmp64 + __cil_tmp58;
48182#line 1868
48183  *((u8 *)__cil_tmp65) = (u8 )1;
48184#line 1869
48185  __cil_tmp66 = 7 * 1UL;
48186#line 1869
48187  __cil_tmp67 = 28 + __cil_tmp66;
48188#line 1869
48189  __cil_tmp68 = *((struct Scsi_Host **)lport);
48190#line 1869
48191  __cil_tmp69 = (unsigned long )__cil_tmp68;
48192#line 1869
48193  __cil_tmp70 = __cil_tmp69 + 2024;
48194#line 1869
48195  __cil_tmp71 = *((void **)__cil_tmp70);
48196#line 1869
48197  __cil_tmp72 = (struct fc_host_attrs *)__cil_tmp71;
48198#line 1869
48199  __cil_tmp73 = (unsigned long )__cil_tmp72;
48200#line 1869
48201  __cil_tmp74 = __cil_tmp73 + __cil_tmp67;
48202#line 1869
48203  *((u8 *)__cil_tmp74) = (u8 )1;
48204#line 1872
48205  __cil_tmp75 = 0 * 1UL;
48206#line 1872
48207  __cil_tmp76 = 1012 + __cil_tmp75;
48208#line 1872
48209  __cil_tmp77 = *((struct Scsi_Host **)lport);
48210#line 1872
48211  __cil_tmp78 = (unsigned long )__cil_tmp77;
48212#line 1872
48213  __cil_tmp79 = __cil_tmp78 + 2024;
48214#line 1872
48215  __cil_tmp80 = *((void **)__cil_tmp79);
48216#line 1872
48217  __cil_tmp81 = (struct fc_host_attrs *)__cil_tmp80;
48218#line 1872
48219  __cil_tmp82 = (unsigned long )__cil_tmp81;
48220#line 1872
48221  __cil_tmp83 = __cil_tmp82 + __cil_tmp76;
48222#line 1872
48223  __cil_tmp84 = (u8 *)__cil_tmp83;
48224#line 1872
48225  __cil_tmp85 = (void *)__cil_tmp84;
48226#line 1872
48227  memset(__cil_tmp85, 0, 32UL);
48228#line 1874
48229  __cil_tmp86 = 2 * 1UL;
48230#line 1874
48231  __cil_tmp87 = 1012 + __cil_tmp86;
48232#line 1874
48233  __cil_tmp88 = *((struct Scsi_Host **)lport);
48234#line 1874
48235  __cil_tmp89 = (unsigned long )__cil_tmp88;
48236#line 1874
48237  __cil_tmp90 = __cil_tmp89 + 2024;
48238#line 1874
48239  __cil_tmp91 = *((void **)__cil_tmp90);
48240#line 1874
48241  __cil_tmp92 = (struct fc_host_attrs *)__cil_tmp91;
48242#line 1874
48243  __cil_tmp93 = (unsigned long )__cil_tmp92;
48244#line 1874
48245  __cil_tmp94 = __cil_tmp93 + __cil_tmp87;
48246#line 1874
48247  *((u8 *)__cil_tmp94) = (u8 )1;
48248#line 1875
48249  __cil_tmp95 = 7 * 1UL;
48250#line 1875
48251  __cil_tmp96 = 1012 + __cil_tmp95;
48252#line 1875
48253  __cil_tmp97 = *((struct Scsi_Host **)lport);
48254#line 1875
48255  __cil_tmp98 = (unsigned long )__cil_tmp97;
48256#line 1875
48257  __cil_tmp99 = __cil_tmp98 + 2024;
48258#line 1875
48259  __cil_tmp100 = *((void **)__cil_tmp99);
48260#line 1875
48261  __cil_tmp101 = (struct fc_host_attrs *)__cil_tmp100;
48262#line 1875
48263  __cil_tmp102 = (unsigned long )__cil_tmp101;
48264#line 1875
48265  __cil_tmp103 = __cil_tmp102 + __cil_tmp96;
48266#line 1875
48267  *((u8 *)__cil_tmp103) = (u8 )1;
48268#line 1876
48269  __cil_tmp104 = *((struct Scsi_Host **)lport);
48270#line 1876
48271  __cil_tmp105 = (unsigned long )__cil_tmp104;
48272#line 1876
48273  __cil_tmp106 = __cil_tmp105 + 2024;
48274#line 1876
48275  __cil_tmp107 = *((void **)__cil_tmp106);
48276#line 1876
48277  __cil_tmp108 = (struct fc_host_attrs *)__cil_tmp107;
48278#line 1876
48279  __cil_tmp109 = (unsigned long )__cil_tmp108;
48280#line 1876
48281  __cil_tmp110 = __cil_tmp109 + 64;
48282#line 1876
48283  __cil_tmp111 = (unsigned long )lport;
48284#line 1876
48285  __cil_tmp112 = __cil_tmp111 + 876;
48286#line 1876
48287  *((u32 *)__cil_tmp110) = *((u32 *)__cil_tmp112);
48288#line 1877
48289  __cil_tmp113 = *((struct Scsi_Host **)lport);
48290#line 1877
48291  __cil_tmp114 = (unsigned long )__cil_tmp113;
48292#line 1877
48293  __cil_tmp115 = __cil_tmp114 + 2024;
48294#line 1877
48295  __cil_tmp116 = *((void **)__cil_tmp115);
48296#line 1877
48297  __cil_tmp117 = (struct fc_host_attrs *)__cil_tmp116;
48298#line 1877
48299  __cil_tmp118 = (unsigned long )__cil_tmp117;
48300#line 1877
48301  __cil_tmp119 = __cil_tmp118 + 60;
48302#line 1877
48303  *((u32 *)__cil_tmp119) = (u32 )0;
48304  }
48305  {
48306#line 1878
48307  __cil_tmp120 = (unsigned long )lport;
48308#line 1878
48309  __cil_tmp121 = __cil_tmp120 + 886;
48310#line 1878
48311  __cil_tmp122 = *((u16 *)__cil_tmp121);
48312#line 1878
48313  __cil_tmp123 = (int )__cil_tmp122;
48314#line 1878
48315  if (__cil_tmp123 & 1) {
48316#line 1879
48317    __cil_tmp124 = *((struct Scsi_Host **)lport);
48318#line 1879
48319    __cil_tmp125 = (unsigned long )__cil_tmp124;
48320#line 1879
48321    __cil_tmp126 = __cil_tmp125 + 2024;
48322#line 1879
48323    __cil_tmp127 = *((void **)__cil_tmp126);
48324#line 1879
48325    __cil_tmp128 = (struct fc_host_attrs *)__cil_tmp127;
48326#line 1879
48327    __cil_tmp129 = (unsigned long )__cil_tmp128;
48328#line 1879
48329    __cil_tmp130 = __cil_tmp129 + 60;
48330#line 1879
48331    __cil_tmp131 = *((struct Scsi_Host **)lport);
48332#line 1879
48333    __cil_tmp132 = (unsigned long )__cil_tmp131;
48334#line 1879
48335    __cil_tmp133 = __cil_tmp132 + 2024;
48336#line 1879
48337    __cil_tmp134 = *((void **)__cil_tmp133);
48338#line 1879
48339    __cil_tmp135 = (struct fc_host_attrs *)__cil_tmp134;
48340#line 1879
48341    __cil_tmp136 = (unsigned long )__cil_tmp135;
48342#line 1879
48343    __cil_tmp137 = __cil_tmp136 + 60;
48344#line 1879
48345    __cil_tmp138 = *((u32 *)__cil_tmp137);
48346#line 1879
48347    *((u32 *)__cil_tmp130) = __cil_tmp138 | 1U;
48348  } else {
48349
48350  }
48351  }
48352  {
48353#line 1880
48354  __cil_tmp139 = (unsigned long )lport;
48355#line 1880
48356  __cil_tmp140 = __cil_tmp139 + 886;
48357#line 1880
48358  __cil_tmp141 = *((u16 *)__cil_tmp140);
48359#line 1880
48360  __cil_tmp142 = (int )__cil_tmp141;
48361#line 1880
48362  if (__cil_tmp142 & 4) {
48363#line 1881
48364    __cil_tmp143 = *((struct Scsi_Host **)lport);
48365#line 1881
48366    __cil_tmp144 = (unsigned long )__cil_tmp143;
48367#line 1881
48368    __cil_tmp145 = __cil_tmp144 + 2024;
48369#line 1881
48370    __cil_tmp146 = *((void **)__cil_tmp145);
48371#line 1881
48372    __cil_tmp147 = (struct fc_host_attrs *)__cil_tmp146;
48373#line 1881
48374    __cil_tmp148 = (unsigned long )__cil_tmp147;
48375#line 1881
48376    __cil_tmp149 = __cil_tmp148 + 60;
48377#line 1881
48378    __cil_tmp150 = *((struct Scsi_Host **)lport);
48379#line 1881
48380    __cil_tmp151 = (unsigned long )__cil_tmp150;
48381#line 1881
48382    __cil_tmp152 = __cil_tmp151 + 2024;
48383#line 1881
48384    __cil_tmp153 = *((void **)__cil_tmp152);
48385#line 1881
48386    __cil_tmp154 = (struct fc_host_attrs *)__cil_tmp153;
48387#line 1881
48388    __cil_tmp155 = (unsigned long )__cil_tmp154;
48389#line 1881
48390    __cil_tmp156 = __cil_tmp155 + 60;
48391#line 1881
48392    __cil_tmp157 = *((u32 *)__cil_tmp156);
48393#line 1881
48394    *((u32 *)__cil_tmp149) = __cil_tmp157 | 4U;
48395  } else {
48396
48397  }
48398  }
48399  {
48400#line 1882
48401  fc_fc4_add_lport(lport);
48402  }
48403#line 1884
48404  return (0);
48405}
48406}
48407#line 1886
48408extern void *__crc_fc_lport_init  __attribute__((__weak__)) ;
48409#line 1886 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
48410static unsigned long    __kcrctab_fc_lport_init  __attribute__((__used__, __unused__,
48411__section__("___kcrctab+fc_lport_init")))  =    (unsigned long    )((unsigned long )(& __crc_fc_lport_init));
48412#line 1886 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
48413static char    __kstrtab_fc_lport_init[14]  __attribute__((__section__("__ksymtab_strings"),
48414__aligned__(1)))  = 
48415#line 1886
48416  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'l', 
48417        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
48418        (char    )'_',      (char    )'i',      (char const   )'n',      (char const   )'i', 
48419        (char    )'t',      (char    )'\000'};
48420#line 1886 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
48421static struct kernel_symbol    __ksymtab_fc_lport_init  __attribute__((__used__,
48422__unused__, __section__("___ksymtab+fc_lport_init")))  =    {(unsigned long )(& fc_lport_init), __kstrtab_fc_lport_init};
48423#line 1894 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
48424static void fc_lport_bsg_resp(struct fc_seq *sp , struct fc_frame *fp , void *info_arg ) 
48425{ struct fc_bsg_info *info ;
48426  struct fc_bsg_job *job ;
48427  struct fc_lport *lport ;
48428  struct fc_frame_header *fh ;
48429  size_t len ;
48430  void *buf ;
48431  long tmp___8 ;
48432  long tmp___9 ;
48433  unsigned short cmd ;
48434  __u16 tmp___10 ;
48435  u8 tmp___11 ;
48436  int tmp___12 ;
48437  __u16 tmp___13 ;
48438  u32 tmp___14 ;
48439  u32 tmp___15 ;
48440  unsigned long __cil_tmp20 ;
48441  unsigned long __cil_tmp21 ;
48442  void    *__cil_tmp22 ;
48443  void    *__cil_tmp23 ;
48444  unsigned long __cil_tmp24 ;
48445  unsigned long __cil_tmp25 ;
48446  struct fc_bsg_reply *__cil_tmp26 ;
48447  unsigned long __cil_tmp27 ;
48448  unsigned long __cil_tmp28 ;
48449  struct fc_bsg_reply *__cil_tmp29 ;
48450  unsigned long __cil_tmp30 ;
48451  unsigned long __cil_tmp31 ;
48452  unsigned long __cil_tmp32 ;
48453  unsigned long __cil_tmp33 ;
48454  unsigned long __cil_tmp34 ;
48455  unsigned long __cil_tmp35 ;
48456  unsigned int __cil_tmp36 ;
48457  unsigned long __cil_tmp37 ;
48458  unsigned long __cil_tmp38 ;
48459  void (*__cil_tmp39)(struct fc_bsg_job * ) ;
48460  void    *__cil_tmp40 ;
48461  unsigned long __cil_tmp41 ;
48462  unsigned long __cil_tmp42 ;
48463  struct mutex *__cil_tmp43 ;
48464  struct fc_frame    *__cil_tmp44 ;
48465  unsigned long __cil_tmp45 ;
48466  unsigned long __cil_tmp46 ;
48467  unsigned long __cil_tmp47 ;
48468  unsigned int __cil_tmp48 ;
48469  unsigned long __cil_tmp49 ;
48470  struct fc_frame    *__cil_tmp50 ;
48471  size_t __cil_tmp51 ;
48472  unsigned long __cil_tmp52 ;
48473  unsigned long __cil_tmp53 ;
48474  unsigned long __cil_tmp54 ;
48475  unsigned long __cil_tmp55 ;
48476  unsigned long __cil_tmp56 ;
48477  char *__cil_tmp57 ;
48478  struct fcoe_rcv_info *__cil_tmp58 ;
48479  unsigned long __cil_tmp59 ;
48480  unsigned long __cil_tmp60 ;
48481  u8 __cil_tmp61 ;
48482  int __cil_tmp62 ;
48483  unsigned long __cil_tmp63 ;
48484  unsigned long __cil_tmp64 ;
48485  __be16 __cil_tmp65 ;
48486  unsigned long __cil_tmp66 ;
48487  unsigned long __cil_tmp67 ;
48488  u16 __cil_tmp68 ;
48489  int __cil_tmp69 ;
48490  struct fc_ct_hdr *__cil_tmp70 ;
48491  unsigned long __cil_tmp71 ;
48492  unsigned long __cil_tmp72 ;
48493  __be16 __cil_tmp73 ;
48494  struct fc_frame    *__cil_tmp74 ;
48495  unsigned short __cil_tmp75 ;
48496  unsigned long __cil_tmp76 ;
48497  unsigned long __cil_tmp77 ;
48498  u16 __cil_tmp78 ;
48499  int __cil_tmp79 ;
48500  int __cil_tmp80 ;
48501  unsigned long __cil_tmp81 ;
48502  unsigned long __cil_tmp82 ;
48503  struct fc_bsg_reply *__cil_tmp83 ;
48504  unsigned long __cil_tmp84 ;
48505  unsigned long __cil_tmp85 ;
48506  unsigned long __cil_tmp86 ;
48507  unsigned long __cil_tmp87 ;
48508  struct fc_bsg_reply *__cil_tmp88 ;
48509  unsigned long __cil_tmp89 ;
48510  unsigned long __cil_tmp90 ;
48511  unsigned long __cil_tmp91 ;
48512  unsigned long __cil_tmp92 ;
48513  struct scatterlist *__cil_tmp93 ;
48514  unsigned long __cil_tmp94 ;
48515  unsigned long __cil_tmp95 ;
48516  u32 *__cil_tmp96 ;
48517  unsigned long __cil_tmp97 ;
48518  unsigned long __cil_tmp98 ;
48519  size_t *__cil_tmp99 ;
48520  void *__cil_tmp100 ;
48521  u32 *__cil_tmp101 ;
48522  unsigned long __cil_tmp102 ;
48523  unsigned long __cil_tmp103 ;
48524  struct fc_bsg_reply *__cil_tmp104 ;
48525  unsigned long __cil_tmp105 ;
48526  unsigned long __cil_tmp106 ;
48527  unsigned long __cil_tmp107 ;
48528  unsigned long __cil_tmp108 ;
48529  struct fc_bsg_reply *__cil_tmp109 ;
48530  unsigned long __cil_tmp110 ;
48531  unsigned long __cil_tmp111 ;
48532  uint32_t __cil_tmp112 ;
48533  unsigned long __cil_tmp113 ;
48534  unsigned long __cil_tmp114 ;
48535  unsigned long __cil_tmp115 ;
48536  unsigned long __cil_tmp116 ;
48537  unsigned long __cil_tmp117 ;
48538  char *__cil_tmp118 ;
48539  struct fcoe_rcv_info *__cil_tmp119 ;
48540  unsigned long __cil_tmp120 ;
48541  unsigned long __cil_tmp121 ;
48542  u8 __cil_tmp122 ;
48543  int __cil_tmp123 ;
48544  unsigned long __cil_tmp124 ;
48545  unsigned long __cil_tmp125 ;
48546  unsigned long __cil_tmp126 ;
48547  unsigned long __cil_tmp127 ;
48548  __u8 *__cil_tmp128 ;
48549  u8    *__cil_tmp129 ;
48550  int __cil_tmp130 ;
48551  int __cil_tmp131 ;
48552  int __cil_tmp132 ;
48553  unsigned int __cil_tmp133 ;
48554  int __cil_tmp134 ;
48555  int __cil_tmp135 ;
48556  int __cil_tmp136 ;
48557  unsigned int __cil_tmp137 ;
48558  unsigned int __cil_tmp138 ;
48559  unsigned long __cil_tmp139 ;
48560  unsigned long __cil_tmp140 ;
48561  unsigned int __cil_tmp141 ;
48562  unsigned long __cil_tmp142 ;
48563  unsigned long __cil_tmp143 ;
48564  struct fc_bsg_reply *__cil_tmp144 ;
48565  unsigned long __cil_tmp145 ;
48566  unsigned long __cil_tmp146 ;
48567  uint32_t __cil_tmp147 ;
48568  unsigned long __cil_tmp148 ;
48569  unsigned long __cil_tmp149 ;
48570  struct fc_bsg_reply *__cil_tmp150 ;
48571  unsigned long __cil_tmp151 ;
48572  unsigned long __cil_tmp152 ;
48573  unsigned long __cil_tmp153 ;
48574  unsigned long __cil_tmp154 ;
48575  unsigned long __cil_tmp155 ;
48576  unsigned long __cil_tmp156 ;
48577  struct fc_bsg_reply *__cil_tmp157 ;
48578  unsigned long __cil_tmp158 ;
48579  unsigned long __cil_tmp159 ;
48580  unsigned long __cil_tmp160 ;
48581  unsigned long __cil_tmp161 ;
48582  unsigned int __cil_tmp162 ;
48583  unsigned long __cil_tmp163 ;
48584  unsigned long __cil_tmp164 ;
48585  void (*__cil_tmp165)(struct fc_bsg_job * ) ;
48586  void    *__cil_tmp166 ;
48587  unsigned long __cil_tmp167 ;
48588  unsigned long __cil_tmp168 ;
48589  struct mutex *__cil_tmp169 ;
48590
48591  {
48592  {
48593#line 1897
48594  info = (struct fc_bsg_info *)info_arg;
48595#line 1898
48596  job = *((struct fc_bsg_job **)info);
48597#line 1899
48598  __cil_tmp20 = (unsigned long )info;
48599#line 1899
48600  __cil_tmp21 = __cil_tmp20 + 8;
48601#line 1899
48602  lport = *((struct fc_lport **)__cil_tmp21);
48603#line 1904
48604  __cil_tmp22 = (void    *)fp;
48605#line 1904
48606  tmp___9 = (long )IS_ERR(__cil_tmp22);
48607  }
48608#line 1904
48609  if (tmp___9) {
48610    {
48611#line 1905
48612    __cil_tmp23 = (void    *)fp;
48613#line 1905
48614    tmp___8 = (long )PTR_ERR(__cil_tmp23);
48615    }
48616#line 1905
48617    if (tmp___8 == -2L) {
48618#line 1905
48619      __cil_tmp24 = (unsigned long )job;
48620#line 1905
48621      __cil_tmp25 = __cil_tmp24 + 80;
48622#line 1905
48623      __cil_tmp26 = *((struct fc_bsg_reply **)__cil_tmp25);
48624#line 1905
48625      *((uint32_t *)__cil_tmp26) = (uint32_t )-103;
48626    } else {
48627#line 1905
48628      __cil_tmp27 = (unsigned long )job;
48629#line 1905
48630      __cil_tmp28 = __cil_tmp27 + 80;
48631#line 1905
48632      __cil_tmp29 = *((struct fc_bsg_reply **)__cil_tmp28);
48633#line 1905
48634      *((uint32_t *)__cil_tmp29) = (uint32_t )-110;
48635    }
48636    {
48637#line 1907
48638    __cil_tmp30 = (unsigned long )job;
48639#line 1907
48640    __cil_tmp31 = __cil_tmp30 + 92;
48641#line 1907
48642    *((unsigned int *)__cil_tmp31) = (unsigned int )4UL;
48643#line 1908
48644    __cil_tmp32 = (unsigned long )job;
48645#line 1908
48646    __cil_tmp33 = __cil_tmp32 + 56;
48647#line 1908
48648    __cil_tmp34 = (unsigned long )job;
48649#line 1908
48650    __cil_tmp35 = __cil_tmp34 + 56;
48651#line 1908
48652    __cil_tmp36 = *((unsigned int *)__cil_tmp35);
48653#line 1908
48654    *((unsigned int *)__cil_tmp33) = __cil_tmp36 | 1U;
48655#line 1909
48656    __cil_tmp37 = (unsigned long )job;
48657#line 1909
48658    __cil_tmp38 = __cil_tmp37 + 64;
48659#line 1909
48660    __cil_tmp39 = *((void (**)(struct fc_bsg_job * ))__cil_tmp38);
48661#line 1909
48662    (*__cil_tmp39)(job);
48663#line 1910
48664    __cil_tmp40 = (void    *)info;
48665#line 1910
48666    kfree(__cil_tmp40);
48667    }
48668#line 1911
48669    return;
48670  } else {
48671
48672  }
48673  {
48674#line 1914
48675  __cil_tmp41 = (unsigned long )lport;
48676#line 1914
48677  __cil_tmp42 = __cil_tmp41 + 928;
48678#line 1914
48679  __cil_tmp43 = (struct mutex *)__cil_tmp42;
48680#line 1914
48681  mutex_lock(__cil_tmp43);
48682#line 1915
48683  __cil_tmp44 = (struct fc_frame    *)fp;
48684#line 1915
48685  fh = fc_frame_header_get(__cil_tmp44);
48686#line 1916
48687  __cil_tmp45 = 0 + 104;
48688#line 1916
48689  __cil_tmp46 = (unsigned long )fp;
48690#line 1916
48691  __cil_tmp47 = __cil_tmp46 + __cil_tmp45;
48692#line 1916
48693  __cil_tmp48 = *((unsigned int *)__cil_tmp47);
48694#line 1916
48695  __cil_tmp49 = (unsigned long )__cil_tmp48;
48696#line 1916
48697  len = __cil_tmp49 - 24UL;
48698#line 1917
48699  __cil_tmp50 = (struct fc_frame    *)fp;
48700#line 1917
48701  __cil_tmp51 = (size_t )0;
48702#line 1917
48703  buf = fc_frame_payload_get(__cil_tmp50, __cil_tmp51);
48704  }
48705  {
48706#line 1919
48707  __cil_tmp52 = 0 * 1UL;
48708#line 1919
48709  __cil_tmp53 = 40 + __cil_tmp52;
48710#line 1919
48711  __cil_tmp54 = 0 + __cil_tmp53;
48712#line 1919
48713  __cil_tmp55 = (unsigned long )fp;
48714#line 1919
48715  __cil_tmp56 = __cil_tmp55 + __cil_tmp54;
48716#line 1919
48717  __cil_tmp57 = (char *)__cil_tmp56;
48718#line 1919
48719  __cil_tmp58 = (struct fcoe_rcv_info *)__cil_tmp57;
48720#line 1919
48721  __cil_tmp59 = (unsigned long )__cil_tmp58;
48722#line 1919
48723  __cil_tmp60 = __cil_tmp59 + 30;
48724#line 1919
48725  __cil_tmp61 = *((u8 *)__cil_tmp60);
48726#line 1919
48727  __cil_tmp62 = (int )__cil_tmp61;
48728#line 1919
48729  if (__cil_tmp62 == 46) {
48730    {
48731#line 1919
48732    __cil_tmp63 = (unsigned long )fh;
48733#line 1919
48734    __cil_tmp64 = __cil_tmp63 + 14;
48735#line 1919
48736    __cil_tmp65 = *((__be16 *)__cil_tmp64);
48737#line 1919
48738    tmp___13 = __fswab16(__cil_tmp65);
48739    }
48740#line 1919
48741    if ((int )tmp___13) {
48742
48743    } else {
48744      {
48745#line 1921
48746      __cil_tmp66 = (unsigned long )info;
48747#line 1921
48748      __cil_tmp67 = __cil_tmp66 + 16;
48749#line 1921
48750      __cil_tmp68 = *((u16 *)__cil_tmp67);
48751#line 1921
48752      __cil_tmp69 = (int )__cil_tmp68;
48753#line 1921
48754      if (__cil_tmp69 == 32770) {
48755        {
48756#line 1921
48757        __cil_tmp70 = (struct fc_ct_hdr *)buf;
48758#line 1921
48759        __cil_tmp71 = (unsigned long )__cil_tmp70;
48760#line 1921
48761        __cil_tmp72 = __cil_tmp71 + 8;
48762#line 1921
48763        __cil_tmp73 = *((__be16 *)__cil_tmp72);
48764#line 1921
48765        tmp___10 = __fswab16(__cil_tmp73);
48766#line 1921
48767        tmp___12 = (int )tmp___10;
48768        }
48769      } else {
48770        {
48771#line 1921
48772        __cil_tmp74 = (struct fc_frame    *)fp;
48773#line 1921
48774        tmp___11 = fc_frame_payload_op(__cil_tmp74);
48775#line 1921
48776        __cil_tmp75 = (unsigned short )tmp___11;
48777#line 1921
48778        tmp___12 = (int )__cil_tmp75;
48779        }
48780      }
48781      }
48782#line 1921
48783      cmd = (unsigned short )tmp___12;
48784      {
48785#line 1926
48786      __cil_tmp76 = (unsigned long )info;
48787#line 1926
48788      __cil_tmp77 = __cil_tmp76 + 16;
48789#line 1926
48790      __cil_tmp78 = *((u16 *)__cil_tmp77);
48791#line 1926
48792      __cil_tmp79 = (int )__cil_tmp78;
48793#line 1926
48794      __cil_tmp80 = (int )cmd;
48795#line 1926
48796      if (__cil_tmp80 == __cil_tmp79) {
48797#line 1926
48798        __cil_tmp81 = (unsigned long )job;
48799#line 1926
48800        __cil_tmp82 = __cil_tmp81 + 80;
48801#line 1926
48802        __cil_tmp83 = *((struct fc_bsg_reply **)__cil_tmp82);
48803#line 1926
48804        __cil_tmp84 = (unsigned long )__cil_tmp83;
48805#line 1926
48806        __cil_tmp85 = __cil_tmp84 + 8;
48807#line 1926
48808        *((uint32_t *)__cil_tmp85) = (uint32_t )0;
48809      } else {
48810#line 1926
48811        __cil_tmp86 = (unsigned long )job;
48812#line 1926
48813        __cil_tmp87 = __cil_tmp86 + 80;
48814#line 1926
48815        __cil_tmp88 = *((struct fc_bsg_reply **)__cil_tmp87);
48816#line 1926
48817        __cil_tmp89 = (unsigned long )__cil_tmp88;
48818#line 1926
48819        __cil_tmp90 = __cil_tmp89 + 8;
48820#line 1926
48821        *((uint32_t *)__cil_tmp90) = (uint32_t )1;
48822      }
48823      }
48824    }
48825  } else {
48826
48827  }
48828  }
48829  {
48830#line 1931
48831  __cil_tmp91 = (unsigned long )info;
48832#line 1931
48833  __cil_tmp92 = __cil_tmp91 + 24;
48834#line 1931
48835  __cil_tmp93 = *((struct scatterlist **)__cil_tmp92);
48836#line 1931
48837  __cil_tmp94 = (unsigned long )info;
48838#line 1931
48839  __cil_tmp95 = __cil_tmp94 + 32;
48840#line 1931
48841  __cil_tmp96 = (u32 *)__cil_tmp95;
48842#line 1931
48843  __cil_tmp97 = (unsigned long )info;
48844#line 1931
48845  __cil_tmp98 = __cil_tmp97 + 40;
48846#line 1931
48847  __cil_tmp99 = (size_t *)__cil_tmp98;
48848#line 1931
48849  __cil_tmp100 = (void *)0;
48850#line 1931
48851  __cil_tmp101 = (u32 *)__cil_tmp100;
48852#line 1931
48853  tmp___14 = fc_copy_buffer_to_sglist(buf, len, __cil_tmp93, __cil_tmp96, __cil_tmp99,
48854                                      __cil_tmp101);
48855#line 1931
48856  __cil_tmp102 = (unsigned long )job;
48857#line 1931
48858  __cil_tmp103 = __cil_tmp102 + 80;
48859#line 1931
48860  __cil_tmp104 = *((struct fc_bsg_reply **)__cil_tmp103);
48861#line 1931
48862  __cil_tmp105 = (unsigned long )__cil_tmp104;
48863#line 1931
48864  __cil_tmp106 = __cil_tmp105 + 4;
48865#line 1931
48866  __cil_tmp107 = (unsigned long )job;
48867#line 1931
48868  __cil_tmp108 = __cil_tmp107 + 80;
48869#line 1931
48870  __cil_tmp109 = *((struct fc_bsg_reply **)__cil_tmp108);
48871#line 1931
48872  __cil_tmp110 = (unsigned long )__cil_tmp109;
48873#line 1931
48874  __cil_tmp111 = __cil_tmp110 + 4;
48875#line 1931
48876  __cil_tmp112 = *((uint32_t *)__cil_tmp111);
48877#line 1931
48878  *((uint32_t *)__cil_tmp106) = __cil_tmp112 + tmp___14;
48879  }
48880  {
48881#line 1935
48882  __cil_tmp113 = 0 * 1UL;
48883#line 1935
48884  __cil_tmp114 = 40 + __cil_tmp113;
48885#line 1935
48886  __cil_tmp115 = 0 + __cil_tmp114;
48887#line 1935
48888  __cil_tmp116 = (unsigned long )fp;
48889#line 1935
48890  __cil_tmp117 = __cil_tmp116 + __cil_tmp115;
48891#line 1935
48892  __cil_tmp118 = (char *)__cil_tmp117;
48893#line 1935
48894  __cil_tmp119 = (struct fcoe_rcv_info *)__cil_tmp118;
48895#line 1935
48896  __cil_tmp120 = (unsigned long )__cil_tmp119;
48897#line 1935
48898  __cil_tmp121 = __cil_tmp120 + 31;
48899#line 1935
48900  __cil_tmp122 = *((u8 *)__cil_tmp121);
48901#line 1935
48902  __cil_tmp123 = (int )__cil_tmp122;
48903#line 1935
48904  if (__cil_tmp123 == 66) {
48905    {
48906#line 1935
48907    __cil_tmp124 = 0 * 1UL;
48908#line 1935
48909    __cil_tmp125 = 9 + __cil_tmp124;
48910#line 1935
48911    __cil_tmp126 = (unsigned long )fh;
48912#line 1935
48913    __cil_tmp127 = __cil_tmp126 + __cil_tmp125;
48914#line 1935
48915    __cil_tmp128 = (__u8 *)__cil_tmp127;
48916#line 1935
48917    __cil_tmp129 = (u8    *)__cil_tmp128;
48918#line 1935
48919    tmp___15 = ntoh24(__cil_tmp129);
48920    }
48921    {
48922#line 1935
48923    __cil_tmp130 = 1 << 19;
48924#line 1935
48925    __cil_tmp131 = 1 << 20;
48926#line 1935
48927    __cil_tmp132 = __cil_tmp131 | __cil_tmp130;
48928#line 1935
48929    __cil_tmp133 = (unsigned int )__cil_tmp132;
48930#line 1935
48931    __cil_tmp134 = 1 << 19;
48932#line 1935
48933    __cil_tmp135 = 1 << 20;
48934#line 1935
48935    __cil_tmp136 = __cil_tmp135 | __cil_tmp134;
48936#line 1935
48937    __cil_tmp137 = (unsigned int )__cil_tmp136;
48938#line 1935
48939    __cil_tmp138 = tmp___15 & __cil_tmp137;
48940#line 1935
48941    if (__cil_tmp138 == __cil_tmp133) {
48942      {
48943#line 1938
48944      __cil_tmp139 = (unsigned long )job;
48945#line 1938
48946      __cil_tmp140 = __cil_tmp139 + 112;
48947#line 1938
48948      __cil_tmp141 = *((unsigned int *)__cil_tmp140);
48949#line 1938
48950      __cil_tmp142 = (unsigned long )job;
48951#line 1938
48952      __cil_tmp143 = __cil_tmp142 + 80;
48953#line 1938
48954      __cil_tmp144 = *((struct fc_bsg_reply **)__cil_tmp143);
48955#line 1938
48956      __cil_tmp145 = (unsigned long )__cil_tmp144;
48957#line 1938
48958      __cil_tmp146 = __cil_tmp145 + 4;
48959#line 1938
48960      __cil_tmp147 = *((uint32_t *)__cil_tmp146);
48961#line 1938
48962      if (__cil_tmp147 > __cil_tmp141) {
48963#line 1940
48964        __cil_tmp148 = (unsigned long )job;
48965#line 1940
48966        __cil_tmp149 = __cil_tmp148 + 80;
48967#line 1940
48968        __cil_tmp150 = *((struct fc_bsg_reply **)__cil_tmp149);
48969#line 1940
48970        __cil_tmp151 = (unsigned long )__cil_tmp150;
48971#line 1940
48972        __cil_tmp152 = __cil_tmp151 + 4;
48973#line 1940
48974        __cil_tmp153 = (unsigned long )job;
48975#line 1940
48976        __cil_tmp154 = __cil_tmp153 + 112;
48977#line 1940
48978        *((uint32_t *)__cil_tmp152) = *((unsigned int *)__cil_tmp154);
48979      } else {
48980
48981      }
48982      }
48983      {
48984#line 1942
48985      __cil_tmp155 = (unsigned long )job;
48986#line 1942
48987      __cil_tmp156 = __cil_tmp155 + 80;
48988#line 1942
48989      __cil_tmp157 = *((struct fc_bsg_reply **)__cil_tmp156);
48990#line 1942
48991      *((uint32_t *)__cil_tmp157) = (uint32_t )0;
48992#line 1943
48993      __cil_tmp158 = (unsigned long )job;
48994#line 1943
48995      __cil_tmp159 = __cil_tmp158 + 56;
48996#line 1943
48997      __cil_tmp160 = (unsigned long )job;
48998#line 1943
48999      __cil_tmp161 = __cil_tmp160 + 56;
49000#line 1943
49001      __cil_tmp162 = *((unsigned int *)__cil_tmp161);
49002#line 1943
49003      *((unsigned int *)__cil_tmp159) = __cil_tmp162 | 1U;
49004#line 1944
49005      __cil_tmp163 = (unsigned long )job;
49006#line 1944
49007      __cil_tmp164 = __cil_tmp163 + 64;
49008#line 1944
49009      __cil_tmp165 = *((void (**)(struct fc_bsg_job * ))__cil_tmp164);
49010#line 1944
49011      (*__cil_tmp165)(job);
49012#line 1945
49013      __cil_tmp166 = (void    *)info;
49014#line 1945
49015      kfree(__cil_tmp166);
49016      }
49017    } else {
49018
49019    }
49020    }
49021  } else {
49022
49023  }
49024  }
49025  {
49026#line 1947
49027  fc_frame_free(fp);
49028#line 1948
49029  __cil_tmp167 = (unsigned long )lport;
49030#line 1948
49031  __cil_tmp168 = __cil_tmp167 + 928;
49032#line 1948
49033  __cil_tmp169 = (struct mutex *)__cil_tmp168;
49034#line 1948
49035  mutex_unlock(__cil_tmp169);
49036  }
49037#line 1949
49038  return;
49039}
49040}
49041#line 1960 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
49042static int fc_lport_els_request(struct fc_bsg_job *job , struct fc_lport *lport ,
49043                                u32 did , u32 tov ) 
49044{ struct fc_bsg_info *info ;
49045  struct fc_frame *fp ;
49046  struct fc_frame_header *fh ;
49047  char *pp ;
49048  int len ;
49049  void *tmp___7 ;
49050  void *tmp___8 ;
49051  struct fc_seq *tmp___9 ;
49052  unsigned long __cil_tmp13 ;
49053  unsigned long __cil_tmp14 ;
49054  unsigned int __cil_tmp15 ;
49055  size_t __cil_tmp16 ;
49056  unsigned long __cil_tmp17 ;
49057  unsigned long __cil_tmp18 ;
49058  unsigned int __cil_tmp19 ;
49059  struct fc_frame    *__cil_tmp20 ;
49060  size_t __cil_tmp21 ;
49061  unsigned long __cil_tmp22 ;
49062  unsigned long __cil_tmp23 ;
49063  unsigned long __cil_tmp24 ;
49064  struct scatterlist *__cil_tmp25 ;
49065  unsigned long __cil_tmp26 ;
49066  unsigned long __cil_tmp27 ;
49067  unsigned long __cil_tmp28 ;
49068  int __cil_tmp29 ;
49069  unsigned int __cil_tmp30 ;
49070  void *__cil_tmp31 ;
49071  size_t __cil_tmp32 ;
49072  struct fc_frame    *__cil_tmp33 ;
49073  unsigned long __cil_tmp34 ;
49074  unsigned long __cil_tmp35 ;
49075  unsigned long __cil_tmp36 ;
49076  unsigned long __cil_tmp37 ;
49077  __u8 *__cil_tmp38 ;
49078  unsigned long __cil_tmp39 ;
49079  unsigned long __cil_tmp40 ;
49080  unsigned long __cil_tmp41 ;
49081  unsigned long __cil_tmp42 ;
49082  __u8 *__cil_tmp43 ;
49083  unsigned long __cil_tmp44 ;
49084  unsigned long __cil_tmp45 ;
49085  u32 __cil_tmp46 ;
49086  unsigned long __cil_tmp47 ;
49087  unsigned long __cil_tmp48 ;
49088  unsigned long __cil_tmp49 ;
49089  unsigned long __cil_tmp50 ;
49090  unsigned long __cil_tmp51 ;
49091  unsigned long __cil_tmp52 ;
49092  __u8 *__cil_tmp53 ;
49093  int __cil_tmp54 ;
49094  int __cil_tmp55 ;
49095  int __cil_tmp56 ;
49096  int __cil_tmp57 ;
49097  int __cil_tmp58 ;
49098  u32 __cil_tmp59 ;
49099  unsigned long __cil_tmp60 ;
49100  unsigned long __cil_tmp61 ;
49101  unsigned long __cil_tmp62 ;
49102  unsigned long __cil_tmp63 ;
49103  unsigned long __cil_tmp64 ;
49104  unsigned long __cil_tmp65 ;
49105  unsigned long __cil_tmp66 ;
49106  unsigned long __cil_tmp67 ;
49107  unsigned long __cil_tmp68 ;
49108  unsigned long __cil_tmp69 ;
49109  unsigned long __cil_tmp70 ;
49110  unsigned long __cil_tmp71 ;
49111  unsigned long __cil_tmp72 ;
49112  unsigned long __cil_tmp73 ;
49113  unsigned long __cil_tmp74 ;
49114  int __cil_tmp75 ;
49115  unsigned long __cil_tmp76 ;
49116  unsigned long __cil_tmp77 ;
49117  unsigned long __cil_tmp78 ;
49118  unsigned long __cil_tmp79 ;
49119  unsigned long __cil_tmp80 ;
49120  unsigned long __cil_tmp81 ;
49121  unsigned long __cil_tmp82 ;
49122  unsigned long __cil_tmp83 ;
49123  struct fc_seq *(*__cil_tmp84)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
49124                                                                                     struct fc_frame * ,
49125                                                                                     void * ) ,
49126                                void (*destructor)(struct fc_seq * , void * ) , void * ,
49127                                unsigned int timer_msec ) ;
49128  void *__cil_tmp85 ;
49129  void (*__cil_tmp86)(struct fc_seq * , void * ) ;
49130  void *__cil_tmp87 ;
49131  void    *__cil_tmp88 ;
49132
49133  {
49134  {
49135#line 1970
49136  __cil_tmp13 = (unsigned long )job;
49137#line 1970
49138  __cil_tmp14 = __cil_tmp13 + 96;
49139#line 1970
49140  __cil_tmp15 = *((unsigned int *)__cil_tmp14);
49141#line 1970
49142  __cil_tmp16 = (size_t )__cil_tmp15;
49143#line 1970
49144  fp = fc_frame_alloc(lport, __cil_tmp16);
49145  }
49146#line 1971
49147  if (! fp) {
49148#line 1972
49149    return (-12);
49150  } else {
49151
49152  }
49153  {
49154#line 1974
49155  __cil_tmp17 = (unsigned long )job;
49156#line 1974
49157  __cil_tmp18 = __cil_tmp17 + 96;
49158#line 1974
49159  __cil_tmp19 = *((unsigned int *)__cil_tmp18);
49160#line 1974
49161  len = (int )__cil_tmp19;
49162#line 1975
49163  __cil_tmp20 = (struct fc_frame    *)fp;
49164#line 1975
49165  __cil_tmp21 = (size_t )len;
49166#line 1975
49167  tmp___7 = fc_frame_payload_get(__cil_tmp20, __cil_tmp21);
49168#line 1975
49169  pp = (char *)tmp___7;
49170#line 1977
49171  __cil_tmp22 = 96 + 8;
49172#line 1977
49173  __cil_tmp23 = (unsigned long )job;
49174#line 1977
49175  __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
49176#line 1977
49177  __cil_tmp25 = *((struct scatterlist **)__cil_tmp24);
49178#line 1977
49179  __cil_tmp26 = 96 + 4;
49180#line 1977
49181  __cil_tmp27 = (unsigned long )job;
49182#line 1977
49183  __cil_tmp28 = __cil_tmp27 + __cil_tmp26;
49184#line 1977
49185  __cil_tmp29 = *((int *)__cil_tmp28);
49186#line 1977
49187  __cil_tmp30 = (unsigned int )__cil_tmp29;
49188#line 1977
49189  __cil_tmp31 = (void *)pp;
49190#line 1977
49191  __cil_tmp32 = (size_t )len;
49192#line 1977
49193  sg_copy_to_buffer(__cil_tmp25, __cil_tmp30, __cil_tmp31, __cil_tmp32);
49194#line 1981
49195  __cil_tmp33 = (struct fc_frame    *)fp;
49196#line 1981
49197  fh = fc_frame_header_get(__cil_tmp33);
49198#line 1982
49199  *((__u8 *)fh) = (__u8 )34;
49200#line 1983
49201  __cil_tmp34 = 0 * 1UL;
49202#line 1983
49203  __cil_tmp35 = 1 + __cil_tmp34;
49204#line 1983
49205  __cil_tmp36 = (unsigned long )fh;
49206#line 1983
49207  __cil_tmp37 = __cil_tmp36 + __cil_tmp35;
49208#line 1983
49209  __cil_tmp38 = (__u8 *)__cil_tmp37;
49210#line 1983
49211  hton24(__cil_tmp38, did);
49212#line 1984
49213  __cil_tmp39 = 0 * 1UL;
49214#line 1984
49215  __cil_tmp40 = 5 + __cil_tmp39;
49216#line 1984
49217  __cil_tmp41 = (unsigned long )fh;
49218#line 1984
49219  __cil_tmp42 = __cil_tmp41 + __cil_tmp40;
49220#line 1984
49221  __cil_tmp43 = (__u8 *)__cil_tmp42;
49222#line 1984
49223  __cil_tmp44 = (unsigned long )lport;
49224#line 1984
49225  __cil_tmp45 = __cil_tmp44 + 788;
49226#line 1984
49227  __cil_tmp46 = *((u32 *)__cil_tmp45);
49228#line 1984
49229  hton24(__cil_tmp43, __cil_tmp46);
49230#line 1985
49231  __cil_tmp47 = (unsigned long )fh;
49232#line 1985
49233  __cil_tmp48 = __cil_tmp47 + 8;
49234#line 1985
49235  *((__u8 *)__cil_tmp48) = (__u8 )1;
49236#line 1986
49237  __cil_tmp49 = 0 * 1UL;
49238#line 1986
49239  __cil_tmp50 = 9 + __cil_tmp49;
49240#line 1986
49241  __cil_tmp51 = (unsigned long )fh;
49242#line 1986
49243  __cil_tmp52 = __cil_tmp51 + __cil_tmp50;
49244#line 1986
49245  __cil_tmp53 = (__u8 *)__cil_tmp52;
49246#line 1986
49247  __cil_tmp54 = 1 << 16;
49248#line 1986
49249  __cil_tmp55 = 1 << 19;
49250#line 1986
49251  __cil_tmp56 = 1 << 21;
49252#line 1986
49253  __cil_tmp57 = __cil_tmp56 | __cil_tmp55;
49254#line 1986
49255  __cil_tmp58 = __cil_tmp57 | __cil_tmp54;
49256#line 1986
49257  __cil_tmp59 = (u32 )__cil_tmp58;
49258#line 1986
49259  hton24(__cil_tmp53, __cil_tmp59);
49260#line 1987
49261  __cil_tmp60 = (unsigned long )fh;
49262#line 1987
49263  __cil_tmp61 = __cil_tmp60 + 4;
49264#line 1987
49265  *((__u8 *)__cil_tmp61) = (__u8 )0;
49266#line 1988
49267  __cil_tmp62 = (unsigned long )fh;
49268#line 1988
49269  __cil_tmp63 = __cil_tmp62 + 13;
49270#line 1988
49271  *((__u8 *)__cil_tmp63) = (__u8 )0;
49272#line 1989
49273  __cil_tmp64 = (unsigned long )fh;
49274#line 1989
49275  __cil_tmp65 = __cil_tmp64 + 20;
49276#line 1989
49277  *((__be32 *)__cil_tmp65) = (__be32 )0;
49278#line 1991
49279  tmp___8 = kzalloc(48UL, 208U);
49280#line 1991
49281  info = (struct fc_bsg_info *)tmp___8;
49282  }
49283#line 1992
49284  if (! info) {
49285    {
49286#line 1993
49287    fc_frame_free(fp);
49288    }
49289#line 1994
49290    return (-12);
49291  } else {
49292
49293  }
49294  {
49295#line 1997
49296  *((struct fc_bsg_job **)info) = job;
49297#line 1998
49298  __cil_tmp66 = (unsigned long )info;
49299#line 1998
49300  __cil_tmp67 = __cil_tmp66 + 8;
49301#line 1998
49302  *((struct fc_lport **)__cil_tmp67) = lport;
49303#line 1999
49304  __cil_tmp68 = (unsigned long )info;
49305#line 1999
49306  __cil_tmp69 = __cil_tmp68 + 16;
49307#line 1999
49308  *((u16 *)__cil_tmp69) = (u16 )2;
49309#line 2000
49310  __cil_tmp70 = (unsigned long )info;
49311#line 2000
49312  __cil_tmp71 = __cil_tmp70 + 32;
49313#line 2000
49314  __cil_tmp72 = 112 + 4;
49315#line 2000
49316  __cil_tmp73 = (unsigned long )job;
49317#line 2000
49318  __cil_tmp74 = __cil_tmp73 + __cil_tmp72;
49319#line 2000
49320  __cil_tmp75 = *((int *)__cil_tmp74);
49321#line 2000
49322  *((u32 *)__cil_tmp71) = (u32 )__cil_tmp75;
49323#line 2001
49324  __cil_tmp76 = (unsigned long )info;
49325#line 2001
49326  __cil_tmp77 = __cil_tmp76 + 24;
49327#line 2001
49328  __cil_tmp78 = 112 + 8;
49329#line 2001
49330  __cil_tmp79 = (unsigned long )job;
49331#line 2001
49332  __cil_tmp80 = __cil_tmp79 + __cil_tmp78;
49333#line 2001
49334  *((struct scatterlist **)__cil_tmp77) = *((struct scatterlist **)__cil_tmp80);
49335#line 2003
49336  __cil_tmp81 = 328 + 16;
49337#line 2003
49338  __cil_tmp82 = (unsigned long )lport;
49339#line 2003
49340  __cil_tmp83 = __cil_tmp82 + __cil_tmp81;
49341#line 2003
49342  __cil_tmp84 = *((struct fc_seq *(**)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
49343                                                                                            struct fc_frame * ,
49344                                                                                            void * ) ,
49345                                       void (*destructor)(struct fc_seq * , void * ) ,
49346                                       void * , unsigned int timer_msec ))__cil_tmp83);
49347#line 2003
49348  __cil_tmp85 = (void *)0;
49349#line 2003
49350  __cil_tmp86 = (void (*)(struct fc_seq * , void * ))__cil_tmp85;
49351#line 2003
49352  __cil_tmp87 = (void *)info;
49353#line 2003
49354  tmp___9 = (*__cil_tmp84)(lport, fp, & fc_lport_bsg_resp, __cil_tmp86, __cil_tmp87,
49355                           tov);
49356  }
49357#line 2003
49358  if (tmp___9) {
49359
49360  } else {
49361    {
49362#line 2005
49363    __cil_tmp88 = (void    *)info;
49364#line 2005
49365    kfree(__cil_tmp88);
49366    }
49367#line 2006
49368    return (-70);
49369  }
49370#line 2008
49371  return (0);
49372}
49373}
49374#line 2021 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
49375static int fc_lport_ct_request(struct fc_bsg_job *job , struct fc_lport *lport , u32 did ,
49376                               u32 tov ) 
49377{ struct fc_bsg_info *info ;
49378  struct fc_frame *fp ;
49379  struct fc_frame_header *fh ;
49380  struct fc_ct_req *ct ;
49381  size_t len ;
49382  void *tmp___7 ;
49383  void *tmp___8 ;
49384  struct fc_seq *tmp___9 ;
49385  unsigned long __cil_tmp13 ;
49386  unsigned long __cil_tmp14 ;
49387  unsigned int __cil_tmp15 ;
49388  unsigned long __cil_tmp16 ;
49389  unsigned long __cil_tmp17 ;
49390  unsigned long __cil_tmp18 ;
49391  unsigned long __cil_tmp19 ;
49392  unsigned int __cil_tmp20 ;
49393  struct fc_frame    *__cil_tmp21 ;
49394  unsigned long __cil_tmp22 ;
49395  unsigned long __cil_tmp23 ;
49396  unsigned long __cil_tmp24 ;
49397  struct scatterlist *__cil_tmp25 ;
49398  unsigned long __cil_tmp26 ;
49399  unsigned long __cil_tmp27 ;
49400  unsigned long __cil_tmp28 ;
49401  int __cil_tmp29 ;
49402  unsigned int __cil_tmp30 ;
49403  void *__cil_tmp31 ;
49404  struct fc_frame    *__cil_tmp32 ;
49405  unsigned long __cil_tmp33 ;
49406  unsigned long __cil_tmp34 ;
49407  unsigned long __cil_tmp35 ;
49408  unsigned long __cil_tmp36 ;
49409  __u8 *__cil_tmp37 ;
49410  unsigned long __cil_tmp38 ;
49411  unsigned long __cil_tmp39 ;
49412  unsigned long __cil_tmp40 ;
49413  unsigned long __cil_tmp41 ;
49414  __u8 *__cil_tmp42 ;
49415  unsigned long __cil_tmp43 ;
49416  unsigned long __cil_tmp44 ;
49417  u32 __cil_tmp45 ;
49418  unsigned long __cil_tmp46 ;
49419  unsigned long __cil_tmp47 ;
49420  unsigned long __cil_tmp48 ;
49421  unsigned long __cil_tmp49 ;
49422  unsigned long __cil_tmp50 ;
49423  unsigned long __cil_tmp51 ;
49424  __u8 *__cil_tmp52 ;
49425  int __cil_tmp53 ;
49426  int __cil_tmp54 ;
49427  int __cil_tmp55 ;
49428  int __cil_tmp56 ;
49429  int __cil_tmp57 ;
49430  u32 __cil_tmp58 ;
49431  unsigned long __cil_tmp59 ;
49432  unsigned long __cil_tmp60 ;
49433  unsigned long __cil_tmp61 ;
49434  unsigned long __cil_tmp62 ;
49435  unsigned long __cil_tmp63 ;
49436  unsigned long __cil_tmp64 ;
49437  unsigned long __cil_tmp65 ;
49438  unsigned long __cil_tmp66 ;
49439  unsigned long __cil_tmp67 ;
49440  unsigned long __cil_tmp68 ;
49441  unsigned long __cil_tmp69 ;
49442  unsigned long __cil_tmp70 ;
49443  unsigned long __cil_tmp71 ;
49444  unsigned long __cil_tmp72 ;
49445  unsigned long __cil_tmp73 ;
49446  int __cil_tmp74 ;
49447  unsigned long __cil_tmp75 ;
49448  unsigned long __cil_tmp76 ;
49449  unsigned long __cil_tmp77 ;
49450  unsigned long __cil_tmp78 ;
49451  unsigned long __cil_tmp79 ;
49452  unsigned long __cil_tmp80 ;
49453  unsigned long __cil_tmp81 ;
49454  unsigned long __cil_tmp82 ;
49455  struct fc_seq *(*__cil_tmp83)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
49456                                                                                     struct fc_frame * ,
49457                                                                                     void * ) ,
49458                                void (*destructor)(struct fc_seq * , void * ) , void * ,
49459                                unsigned int timer_msec ) ;
49460  void *__cil_tmp84 ;
49461  void (*__cil_tmp85)(struct fc_seq * , void * ) ;
49462  void *__cil_tmp86 ;
49463  void    *__cil_tmp87 ;
49464
49465  {
49466  {
49467#line 2030
49468  __cil_tmp13 = (unsigned long )job;
49469#line 2030
49470  __cil_tmp14 = __cil_tmp13 + 96;
49471#line 2030
49472  __cil_tmp15 = *((unsigned int *)__cil_tmp14);
49473#line 2030
49474  __cil_tmp16 = (unsigned long )__cil_tmp15;
49475#line 2030
49476  __cil_tmp17 = 16UL + __cil_tmp16;
49477#line 2030
49478  fp = fc_frame_alloc(lport, __cil_tmp17);
49479  }
49480#line 2032
49481  if (! fp) {
49482#line 2033
49483    return (-12);
49484  } else {
49485
49486  }
49487  {
49488#line 2035
49489  __cil_tmp18 = (unsigned long )job;
49490#line 2035
49491  __cil_tmp19 = __cil_tmp18 + 96;
49492#line 2035
49493  __cil_tmp20 = *((unsigned int *)__cil_tmp19);
49494#line 2035
49495  len = (size_t )__cil_tmp20;
49496#line 2036
49497  __cil_tmp21 = (struct fc_frame    *)fp;
49498#line 2036
49499  tmp___7 = fc_frame_payload_get(__cil_tmp21, len);
49500#line 2036
49501  ct = (struct fc_ct_req *)tmp___7;
49502#line 2038
49503  __cil_tmp22 = 96 + 8;
49504#line 2038
49505  __cil_tmp23 = (unsigned long )job;
49506#line 2038
49507  __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
49508#line 2038
49509  __cil_tmp25 = *((struct scatterlist **)__cil_tmp24);
49510#line 2038
49511  __cil_tmp26 = 96 + 4;
49512#line 2038
49513  __cil_tmp27 = (unsigned long )job;
49514#line 2038
49515  __cil_tmp28 = __cil_tmp27 + __cil_tmp26;
49516#line 2038
49517  __cil_tmp29 = *((int *)__cil_tmp28);
49518#line 2038
49519  __cil_tmp30 = (unsigned int )__cil_tmp29;
49520#line 2038
49521  __cil_tmp31 = (void *)ct;
49522#line 2038
49523  sg_copy_to_buffer(__cil_tmp25, __cil_tmp30, __cil_tmp31, len);
49524#line 2042
49525  __cil_tmp32 = (struct fc_frame    *)fp;
49526#line 2042
49527  fh = fc_frame_header_get(__cil_tmp32);
49528#line 2043
49529  *((__u8 *)fh) = (__u8 )2;
49530#line 2044
49531  __cil_tmp33 = 0 * 1UL;
49532#line 2044
49533  __cil_tmp34 = 1 + __cil_tmp33;
49534#line 2044
49535  __cil_tmp35 = (unsigned long )fh;
49536#line 2044
49537  __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
49538#line 2044
49539  __cil_tmp37 = (__u8 *)__cil_tmp36;
49540#line 2044
49541  hton24(__cil_tmp37, did);
49542#line 2045
49543  __cil_tmp38 = 0 * 1UL;
49544#line 2045
49545  __cil_tmp39 = 5 + __cil_tmp38;
49546#line 2045
49547  __cil_tmp40 = (unsigned long )fh;
49548#line 2045
49549  __cil_tmp41 = __cil_tmp40 + __cil_tmp39;
49550#line 2045
49551  __cil_tmp42 = (__u8 *)__cil_tmp41;
49552#line 2045
49553  __cil_tmp43 = (unsigned long )lport;
49554#line 2045
49555  __cil_tmp44 = __cil_tmp43 + 788;
49556#line 2045
49557  __cil_tmp45 = *((u32 *)__cil_tmp44);
49558#line 2045
49559  hton24(__cil_tmp42, __cil_tmp45);
49560#line 2046
49561  __cil_tmp46 = (unsigned long )fh;
49562#line 2046
49563  __cil_tmp47 = __cil_tmp46 + 8;
49564#line 2046
49565  *((__u8 *)__cil_tmp47) = (__u8 )32;
49566#line 2047
49567  __cil_tmp48 = 0 * 1UL;
49568#line 2047
49569  __cil_tmp49 = 9 + __cil_tmp48;
49570#line 2047
49571  __cil_tmp50 = (unsigned long )fh;
49572#line 2047
49573  __cil_tmp51 = __cil_tmp50 + __cil_tmp49;
49574#line 2047
49575  __cil_tmp52 = (__u8 *)__cil_tmp51;
49576#line 2047
49577  __cil_tmp53 = 1 << 16;
49578#line 2047
49579  __cil_tmp54 = 1 << 19;
49580#line 2047
49581  __cil_tmp55 = 1 << 21;
49582#line 2047
49583  __cil_tmp56 = __cil_tmp55 | __cil_tmp54;
49584#line 2047
49585  __cil_tmp57 = __cil_tmp56 | __cil_tmp53;
49586#line 2047
49587  __cil_tmp58 = (u32 )__cil_tmp57;
49588#line 2047
49589  hton24(__cil_tmp52, __cil_tmp58);
49590#line 2048
49591  __cil_tmp59 = (unsigned long )fh;
49592#line 2048
49593  __cil_tmp60 = __cil_tmp59 + 4;
49594#line 2048
49595  *((__u8 *)__cil_tmp60) = (__u8 )0;
49596#line 2049
49597  __cil_tmp61 = (unsigned long )fh;
49598#line 2049
49599  __cil_tmp62 = __cil_tmp61 + 13;
49600#line 2049
49601  *((__u8 *)__cil_tmp62) = (__u8 )0;
49602#line 2050
49603  __cil_tmp63 = (unsigned long )fh;
49604#line 2050
49605  __cil_tmp64 = __cil_tmp63 + 20;
49606#line 2050
49607  *((__be32 *)__cil_tmp64) = (__be32 )0;
49608#line 2052
49609  tmp___8 = kzalloc(48UL, 208U);
49610#line 2052
49611  info = (struct fc_bsg_info *)tmp___8;
49612  }
49613#line 2053
49614  if (! info) {
49615    {
49616#line 2054
49617    fc_frame_free(fp);
49618    }
49619#line 2055
49620    return (-12);
49621  } else {
49622
49623  }
49624  {
49625#line 2058
49626  *((struct fc_bsg_job **)info) = job;
49627#line 2059
49628  __cil_tmp65 = (unsigned long )info;
49629#line 2059
49630  __cil_tmp66 = __cil_tmp65 + 8;
49631#line 2059
49632  *((struct fc_lport **)__cil_tmp66) = lport;
49633#line 2060
49634  __cil_tmp67 = (unsigned long )info;
49635#line 2060
49636  __cil_tmp68 = __cil_tmp67 + 16;
49637#line 2060
49638  *((u16 *)__cil_tmp68) = (u16 )32770;
49639#line 2061
49640  __cil_tmp69 = (unsigned long )info;
49641#line 2061
49642  __cil_tmp70 = __cil_tmp69 + 32;
49643#line 2061
49644  __cil_tmp71 = 112 + 4;
49645#line 2061
49646  __cil_tmp72 = (unsigned long )job;
49647#line 2061
49648  __cil_tmp73 = __cil_tmp72 + __cil_tmp71;
49649#line 2061
49650  __cil_tmp74 = *((int *)__cil_tmp73);
49651#line 2061
49652  *((u32 *)__cil_tmp70) = (u32 )__cil_tmp74;
49653#line 2062
49654  __cil_tmp75 = (unsigned long )info;
49655#line 2062
49656  __cil_tmp76 = __cil_tmp75 + 24;
49657#line 2062
49658  __cil_tmp77 = 112 + 8;
49659#line 2062
49660  __cil_tmp78 = (unsigned long )job;
49661#line 2062
49662  __cil_tmp79 = __cil_tmp78 + __cil_tmp77;
49663#line 2062
49664  *((struct scatterlist **)__cil_tmp76) = *((struct scatterlist **)__cil_tmp79);
49665#line 2064
49666  __cil_tmp80 = 328 + 16;
49667#line 2064
49668  __cil_tmp81 = (unsigned long )lport;
49669#line 2064
49670  __cil_tmp82 = __cil_tmp81 + __cil_tmp80;
49671#line 2064
49672  __cil_tmp83 = *((struct fc_seq *(**)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
49673                                                                                            struct fc_frame * ,
49674                                                                                            void * ) ,
49675                                       void (*destructor)(struct fc_seq * , void * ) ,
49676                                       void * , unsigned int timer_msec ))__cil_tmp82);
49677#line 2064
49678  __cil_tmp84 = (void *)0;
49679#line 2064
49680  __cil_tmp85 = (void (*)(struct fc_seq * , void * ))__cil_tmp84;
49681#line 2064
49682  __cil_tmp86 = (void *)info;
49683#line 2064
49684  tmp___9 = (*__cil_tmp83)(lport, fp, & fc_lport_bsg_resp, __cil_tmp85, __cil_tmp86,
49685                           tov);
49686  }
49687#line 2064
49688  if (tmp___9) {
49689
49690  } else {
49691    {
49692#line 2066
49693    __cil_tmp87 = (void    *)info;
49694#line 2066
49695    kfree(__cil_tmp87);
49696    }
49697#line 2067
49698    return (-70);
49699  }
49700#line 2069
49701  return (0);
49702}
49703}
49704#line 2077 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
49705int fc_lport_bsg_request(struct fc_bsg_job *job ) 
49706{ struct request *rsp ;
49707  struct Scsi_Host *shost ;
49708  struct fc_lport *lport ;
49709  void *tmp___7 ;
49710  struct fc_rport *rport ;
49711  struct fc_rport_priv *rdata ;
49712  int rc ;
49713  u32 did ;
49714  unsigned long __cil_tmp10 ;
49715  unsigned long __cil_tmp11 ;
49716  struct request *__cil_tmp12 ;
49717  unsigned long __cil_tmp13 ;
49718  unsigned long __cil_tmp14 ;
49719  unsigned long __cil_tmp15 ;
49720  unsigned long __cil_tmp16 ;
49721  struct fc_bsg_reply *__cil_tmp17 ;
49722  unsigned long __cil_tmp18 ;
49723  unsigned long __cil_tmp19 ;
49724  unsigned long __cil_tmp20 ;
49725  unsigned long __cil_tmp21 ;
49726  unsigned long __cil_tmp22 ;
49727  unsigned long __cil_tmp23 ;
49728  unsigned long __cil_tmp24 ;
49729  unsigned long __cil_tmp25 ;
49730  struct mutex *__cil_tmp26 ;
49731  unsigned long __cil_tmp27 ;
49732  unsigned long __cil_tmp28 ;
49733  struct fc_bsg_request *__cil_tmp29 ;
49734  uint32_t __cil_tmp30 ;
49735  unsigned long __cil_tmp31 ;
49736  unsigned long __cil_tmp32 ;
49737  unsigned long __cil_tmp33 ;
49738  unsigned long __cil_tmp34 ;
49739  void *__cil_tmp35 ;
49740  unsigned long __cil_tmp36 ;
49741  unsigned long __cil_tmp37 ;
49742  u32 __cil_tmp38 ;
49743  unsigned long __cil_tmp39 ;
49744  unsigned long __cil_tmp40 ;
49745  unsigned int __cil_tmp41 ;
49746  unsigned long __cil_tmp42 ;
49747  unsigned long __cil_tmp43 ;
49748  unsigned long __cil_tmp44 ;
49749  unsigned long __cil_tmp45 ;
49750  void *__cil_tmp46 ;
49751  unsigned long __cil_tmp47 ;
49752  unsigned long __cil_tmp48 ;
49753  u32 __cil_tmp49 ;
49754  unsigned long __cil_tmp50 ;
49755  unsigned long __cil_tmp51 ;
49756  unsigned int __cil_tmp52 ;
49757  unsigned long __cil_tmp53 ;
49758  unsigned long __cil_tmp54 ;
49759  unsigned long __cil_tmp55 ;
49760  unsigned long __cil_tmp56 ;
49761  unsigned long __cil_tmp57 ;
49762  unsigned long __cil_tmp58 ;
49763  struct fc_bsg_request *__cil_tmp59 ;
49764  unsigned long __cil_tmp60 ;
49765  unsigned long __cil_tmp61 ;
49766  uint8_t *__cil_tmp62 ;
49767  u8    *__cil_tmp63 ;
49768  unsigned long __cil_tmp64 ;
49769  unsigned long __cil_tmp65 ;
49770  unsigned long __cil_tmp66 ;
49771  unsigned long __cil_tmp67 ;
49772  unsigned long __cil_tmp68 ;
49773  struct fc_rport_priv *(*__cil_tmp69)(struct fc_lport    * , u32  ) ;
49774  struct fc_lport    *__cil_tmp70 ;
49775  unsigned long __cil_tmp71 ;
49776  unsigned long __cil_tmp72 ;
49777  unsigned int __cil_tmp73 ;
49778  unsigned long __cil_tmp74 ;
49779  unsigned long __cil_tmp75 ;
49780  unsigned long __cil_tmp76 ;
49781  unsigned long __cil_tmp77 ;
49782  unsigned long __cil_tmp78 ;
49783  unsigned long __cil_tmp79 ;
49784  struct fc_bsg_request *__cil_tmp80 ;
49785  unsigned long __cil_tmp81 ;
49786  unsigned long __cil_tmp82 ;
49787  uint8_t *__cil_tmp83 ;
49788  u8    *__cil_tmp84 ;
49789  unsigned long __cil_tmp85 ;
49790  unsigned long __cil_tmp86 ;
49791  unsigned int __cil_tmp87 ;
49792  unsigned long __cil_tmp88 ;
49793  unsigned long __cil_tmp89 ;
49794  struct mutex *__cil_tmp90 ;
49795
49796  {
49797  {
49798#line 2079
49799  __cil_tmp10 = (unsigned long )job;
49800#line 2079
49801  __cil_tmp11 = __cil_tmp10 + 24;
49802#line 2079
49803  __cil_tmp12 = *((struct request **)__cil_tmp11);
49804#line 2079
49805  __cil_tmp13 = (unsigned long )__cil_tmp12;
49806#line 2079
49807  __cil_tmp14 = __cil_tmp13 + 344;
49808#line 2079
49809  rsp = *((struct request **)__cil_tmp14);
49810#line 2080
49811  shost = *((struct Scsi_Host **)job);
49812#line 2081
49813  tmp___7 = shost_priv(shost);
49814#line 2081
49815  lport = (struct fc_lport *)tmp___7;
49816#line 2084
49817  rc = -22;
49818#line 2087
49819  __cil_tmp15 = (unsigned long )job;
49820#line 2087
49821  __cil_tmp16 = __cil_tmp15 + 80;
49822#line 2087
49823  __cil_tmp17 = *((struct fc_bsg_reply **)__cil_tmp16);
49824#line 2087
49825  __cil_tmp18 = (unsigned long )__cil_tmp17;
49826#line 2087
49827  __cil_tmp19 = __cil_tmp18 + 4;
49828#line 2087
49829  *((uint32_t *)__cil_tmp19) = (uint32_t )0;
49830  }
49831#line 2088
49832  if (rsp) {
49833#line 2089
49834    __cil_tmp20 = (unsigned long )rsp;
49835#line 2089
49836    __cil_tmp21 = __cil_tmp20 + 284;
49837#line 2089
49838    __cil_tmp22 = (unsigned long )job;
49839#line 2089
49840    __cil_tmp23 = __cil_tmp22 + 112;
49841#line 2089
49842    *((unsigned int *)__cil_tmp21) = *((unsigned int *)__cil_tmp23);
49843  } else {
49844
49845  }
49846  {
49847#line 2091
49848  __cil_tmp24 = (unsigned long )lport;
49849#line 2091
49850  __cil_tmp25 = __cil_tmp24 + 928;
49851#line 2091
49852  __cil_tmp26 = (struct mutex *)__cil_tmp25;
49853#line 2091
49854  mutex_lock(__cil_tmp26);
49855  }
49856  {
49857#line 2093
49858  __cil_tmp27 = (unsigned long )job;
49859#line 2093
49860  __cil_tmp28 = __cil_tmp27 + 72;
49861#line 2093
49862  __cil_tmp29 = *((struct fc_bsg_request **)__cil_tmp28);
49863#line 2093
49864  __cil_tmp30 = *((uint32_t *)__cil_tmp29);
49865#line 2094
49866  if ((int )__cil_tmp30 == 1073741825) {
49867#line 2094
49868    goto case_1073741825;
49869  } else
49870#line 2104
49871  if ((int )__cil_tmp30 == 1073741826) {
49872#line 2104
49873    goto case_1073741826;
49874  } else
49875#line 2114
49876  if ((int )__cil_tmp30 == -2147483644) {
49877#line 2114
49878    goto case_neg_2147483644;
49879  } else
49880#line 2127
49881  if ((int )__cil_tmp30 == -2147483645) {
49882#line 2127
49883    goto case_neg_2147483645;
49884  } else
49885#line 2093
49886  if (0) {
49887    case_1073741825: /* CIL Label */ 
49888#line 2095
49889    __cil_tmp31 = (unsigned long )job;
49890#line 2095
49891    __cil_tmp32 = __cil_tmp31 + 8;
49892#line 2095
49893    rport = *((struct fc_rport **)__cil_tmp32);
49894#line 2096
49895    if (! rport) {
49896#line 2097
49897      goto switch_break;
49898    } else {
49899
49900    }
49901    {
49902#line 2099
49903    __cil_tmp33 = (unsigned long )rport;
49904#line 2099
49905    __cil_tmp34 = __cil_tmp33 + 56;
49906#line 2099
49907    __cil_tmp35 = *((void **)__cil_tmp34);
49908#line 2099
49909    rdata = (struct fc_rport_priv *)__cil_tmp35;
49910#line 2100
49911    __cil_tmp36 = (unsigned long )rport;
49912#line 2100
49913    __cil_tmp37 = __cil_tmp36 + 32;
49914#line 2100
49915    __cil_tmp38 = *((u32 *)__cil_tmp37);
49916#line 2100
49917    __cil_tmp39 = (unsigned long )rdata;
49918#line 2100
49919    __cil_tmp40 = __cil_tmp39 + 64;
49920#line 2100
49921    __cil_tmp41 = *((unsigned int *)__cil_tmp40);
49922#line 2100
49923    rc = fc_lport_els_request(job, lport, __cil_tmp38, __cil_tmp41);
49924    }
49925#line 2102
49926    goto switch_break;
49927    case_1073741826: /* CIL Label */ 
49928#line 2105
49929    __cil_tmp42 = (unsigned long )job;
49930#line 2105
49931    __cil_tmp43 = __cil_tmp42 + 8;
49932#line 2105
49933    rport = *((struct fc_rport **)__cil_tmp43);
49934#line 2106
49935    if (! rport) {
49936#line 2107
49937      goto switch_break;
49938    } else {
49939
49940    }
49941    {
49942#line 2109
49943    __cil_tmp44 = (unsigned long )rport;
49944#line 2109
49945    __cil_tmp45 = __cil_tmp44 + 56;
49946#line 2109
49947    __cil_tmp46 = *((void **)__cil_tmp45);
49948#line 2109
49949    rdata = (struct fc_rport_priv *)__cil_tmp46;
49950#line 2110
49951    __cil_tmp47 = (unsigned long )rport;
49952#line 2110
49953    __cil_tmp48 = __cil_tmp47 + 32;
49954#line 2110
49955    __cil_tmp49 = *((u32 *)__cil_tmp48);
49956#line 2110
49957    __cil_tmp50 = (unsigned long )rdata;
49958#line 2110
49959    __cil_tmp51 = __cil_tmp50 + 64;
49960#line 2110
49961    __cil_tmp52 = *((unsigned int *)__cil_tmp51);
49962#line 2110
49963    rc = fc_lport_ct_request(job, lport, __cil_tmp49, __cil_tmp52);
49964    }
49965#line 2112
49966    goto switch_break;
49967    case_neg_2147483644: /* CIL Label */ 
49968    {
49969#line 2115
49970    __cil_tmp53 = 0 * 1UL;
49971#line 2115
49972    __cil_tmp54 = 1 + __cil_tmp53;
49973#line 2115
49974    __cil_tmp55 = 0 + __cil_tmp54;
49975#line 2115
49976    __cil_tmp56 = 4 + __cil_tmp55;
49977#line 2115
49978    __cil_tmp57 = (unsigned long )job;
49979#line 2115
49980    __cil_tmp58 = __cil_tmp57 + 72;
49981#line 2115
49982    __cil_tmp59 = *((struct fc_bsg_request **)__cil_tmp58);
49983#line 2115
49984    __cil_tmp60 = (unsigned long )__cil_tmp59;
49985#line 2115
49986    __cil_tmp61 = __cil_tmp60 + __cil_tmp56;
49987#line 2115
49988    __cil_tmp62 = (uint8_t *)__cil_tmp61;
49989#line 2115
49990    __cil_tmp63 = (u8    *)__cil_tmp62;
49991#line 2115
49992    did = ntoh24(__cil_tmp63);
49993    }
49994#line 2116
49995    if (did == 16777212U) {
49996#line 2117
49997      __cil_tmp64 = (unsigned long )lport;
49998#line 2117
49999      __cil_tmp65 = __cil_tmp64 + 24;
50000#line 2117
50001      rdata = *((struct fc_rport_priv **)__cil_tmp65);
50002    } else {
50003      {
50004#line 2119
50005      __cil_tmp66 = 328 + 192;
50006#line 2119
50007      __cil_tmp67 = (unsigned long )lport;
50008#line 2119
50009      __cil_tmp68 = __cil_tmp67 + __cil_tmp66;
50010#line 2119
50011      __cil_tmp69 = *((struct fc_rport_priv *(**)(struct fc_lport    * , u32  ))__cil_tmp68);
50012#line 2119
50013      __cil_tmp70 = (struct fc_lport    *)lport;
50014#line 2119
50015      rdata = (*__cil_tmp69)(__cil_tmp70, did);
50016      }
50017    }
50018#line 2121
50019    if (! rdata) {
50020#line 2122
50021      goto switch_break;
50022    } else {
50023
50024    }
50025    {
50026#line 2124
50027    __cil_tmp71 = (unsigned long )rdata;
50028#line 2124
50029    __cil_tmp72 = __cil_tmp71 + 64;
50030#line 2124
50031    __cil_tmp73 = *((unsigned int *)__cil_tmp72);
50032#line 2124
50033    rc = fc_lport_ct_request(job, lport, did, __cil_tmp73);
50034    }
50035#line 2125
50036    goto switch_break;
50037    case_neg_2147483645: /* CIL Label */ 
50038    {
50039#line 2128
50040    __cil_tmp74 = 0 * 1UL;
50041#line 2128
50042    __cil_tmp75 = 1 + __cil_tmp74;
50043#line 2128
50044    __cil_tmp76 = 0 + __cil_tmp75;
50045#line 2128
50046    __cil_tmp77 = 4 + __cil_tmp76;
50047#line 2128
50048    __cil_tmp78 = (unsigned long )job;
50049#line 2128
50050    __cil_tmp79 = __cil_tmp78 + 72;
50051#line 2128
50052    __cil_tmp80 = *((struct fc_bsg_request **)__cil_tmp79);
50053#line 2128
50054    __cil_tmp81 = (unsigned long )__cil_tmp80;
50055#line 2128
50056    __cil_tmp82 = __cil_tmp81 + __cil_tmp77;
50057#line 2128
50058    __cil_tmp83 = (uint8_t *)__cil_tmp82;
50059#line 2128
50060    __cil_tmp84 = (u8    *)__cil_tmp83;
50061#line 2128
50062    did = ntoh24(__cil_tmp84);
50063#line 2129
50064    __cil_tmp85 = (unsigned long )lport;
50065#line 2129
50066    __cil_tmp86 = __cil_tmp85 + 812;
50067#line 2129
50068    __cil_tmp87 = *((unsigned int *)__cil_tmp86);
50069#line 2129
50070    rc = fc_lport_els_request(job, lport, did, __cil_tmp87);
50071    }
50072#line 2130
50073    goto switch_break;
50074  } else {
50075    switch_break: /* CIL Label */ ;
50076  }
50077  }
50078  {
50079#line 2133
50080  __cil_tmp88 = (unsigned long )lport;
50081#line 2133
50082  __cil_tmp89 = __cil_tmp88 + 928;
50083#line 2133
50084  __cil_tmp90 = (struct mutex *)__cil_tmp89;
50085#line 2133
50086  mutex_unlock(__cil_tmp90);
50087  }
50088#line 2134
50089  return (rc);
50090}
50091}
50092#line 2136
50093extern void *__crc_fc_lport_bsg_request  __attribute__((__weak__)) ;
50094#line 2136 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
50095static unsigned long    __kcrctab_fc_lport_bsg_request  __attribute__((__used__,
50096__unused__, __section__("___kcrctab+fc_lport_bsg_request")))  =    (unsigned long    )((unsigned long )(& __crc_fc_lport_bsg_request));
50097#line 2136 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
50098static char    __kstrtab_fc_lport_bsg_request[21]  __attribute__((__section__("__ksymtab_strings"),
50099__aligned__(1)))  = 
50100#line 2136
50101  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'l', 
50102        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
50103        (char    )'_',      (char    )'b',      (char const   )'s',      (char const   )'g', 
50104        (char    )'_',      (char    )'r',      (char const   )'e',      (char const   )'q', 
50105        (char    )'u',      (char    )'e',      (char const   )'s',      (char const   )'t', 
50106        (char    )'\000'};
50107#line 2136 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
50108static struct kernel_symbol    __ksymtab_fc_lport_bsg_request  __attribute__((__used__,
50109__unused__, __section__("___ksymtab+fc_lport_bsg_request")))  =    {(unsigned long )(& fc_lport_bsg_request), __kstrtab_fc_lport_bsg_request};
50110#line 2169 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_lport.c"
50111void main(void) 
50112{ struct fc_rport_priv *var_group1 ;
50113  u32 var_fc_lport_els_prli_27_p1 ;
50114  struct fc_els_spp    *var_fc_lport_els_prli_27_p2 ;
50115  struct fc_els_spp *var_fc_lport_els_prli_27_p3 ;
50116  struct fc_lport *var_group2 ;
50117  struct fc_frame *var_group3 ;
50118  enum fc_rport_event var_fc_lport_rport_callback_1_p2 ;
50119  int tmp___7 ;
50120  int tmp___8 ;
50121
50122  {
50123  {
50124#line 2217
50125  LDV_IN_INTERRUPT = 1;
50126#line 2226
50127  ldv_initialize();
50128  }
50129  {
50130#line 2232
50131  while (1) {
50132    while_continue: /* CIL Label */ ;
50133    {
50134#line 2232
50135    tmp___8 = __VERIFIER_nondet_int();
50136    }
50137#line 2232
50138    if (tmp___8) {
50139
50140    } else {
50141#line 2232
50142      goto while_break;
50143    }
50144    {
50145#line 2235
50146    tmp___7 = __VERIFIER_nondet_int();
50147    }
50148#line 2237
50149    if (tmp___7 == 0) {
50150#line 2237
50151      goto case_0;
50152    } else
50153#line 2257
50154    if (tmp___7 == 1) {
50155#line 2257
50156      goto case_1;
50157    } else
50158#line 2277
50159    if (tmp___7 == 2) {
50160#line 2277
50161      goto case_2;
50162    } else {
50163      {
50164#line 2297
50165      goto switch_default;
50166#line 2235
50167      if (0) {
50168        case_0: /* CIL Label */ 
50169        {
50170#line 2249
50171        fc_lport_els_prli(var_group1, var_fc_lport_els_prli_27_p1, var_fc_lport_els_prli_27_p2,
50172                          var_fc_lport_els_prli_27_p3);
50173        }
50174#line 2256
50175        goto switch_break;
50176        case_1: /* CIL Label */ 
50177        {
50178#line 2269
50179        fc_lport_recv_els_req(var_group2, var_group3);
50180        }
50181#line 2276
50182        goto switch_break;
50183        case_2: /* CIL Label */ 
50184        {
50185#line 2289
50186        fc_lport_rport_callback(var_group2, var_group1, var_fc_lport_rport_callback_1_p2);
50187        }
50188#line 2296
50189        goto switch_break;
50190        switch_default: /* CIL Label */ 
50191#line 2297
50192        goto switch_break;
50193      } else {
50194        switch_break: /* CIL Label */ ;
50195      }
50196      }
50197    }
50198  }
50199  while_break: /* CIL Label */ ;
50200  }
50201  {
50202#line 2306
50203  ldv_check_final_state();
50204  }
50205#line 2309
50206  return;
50207}
50208}
50209#line 86 "include/linux/list.h"
50210__inline static void __list_del(struct list_head *prev , struct list_head *next )  __attribute__((__no_instrument_function__)) ;
50211#line 86 "include/linux/list.h"
50212__inline static void __list_del(struct list_head *prev , struct list_head *next ) 
50213{ unsigned long __cil_tmp3 ;
50214  unsigned long __cil_tmp4 ;
50215
50216  {
50217#line 88
50218  __cil_tmp3 = (unsigned long )next;
50219#line 88
50220  __cil_tmp4 = __cil_tmp3 + 8;
50221#line 88
50222  *((struct list_head **)__cil_tmp4) = prev;
50223#line 89
50224  *((struct list_head **)prev) = next;
50225#line 90
50226  return;
50227}
50228}
50229#line 368 "include/linux/workqueue.h"
50230extern int queue_work(struct workqueue_struct *wq , struct work_struct *work ) ;
50231#line 64 "include/linux/rcutree.h"
50232extern void kfree_call_rcu(struct rcu_head *head , void (*func)(struct rcu_head *rcu ) ) ;
50233#line 912 "include/linux/rcupdate.h"
50234__inline static void ( __attribute__((__always_inline__)) __kfree_rcu)(struct rcu_head *head ,
50235                                                                       unsigned long offset )  __attribute__((__no_instrument_function__)) ;
50236#line 912 "include/linux/rcupdate.h"
50237__inline static void ( __attribute__((__always_inline__)) __kfree_rcu)(struct rcu_head *head ,
50238                                                                       unsigned long offset ) 
50239{ void (*__cil_tmp3)(struct rcu_head * ) ;
50240
50241  {
50242  {
50243#line 922
50244  __cil_tmp3 = (void (*)(struct rcu_head * ))offset;
50245#line 922
50246  kfree_call_rcu(head, __cil_tmp3);
50247  }
50248#line 923
50249  return;
50250}
50251}
50252#line 33 "include/linux/rculist.h"
50253__inline static void __list_add_rcu(struct list_head *new , struct list_head *prev ,
50254                                    struct list_head *next )  __attribute__((__no_instrument_function__)) ;
50255#line 33 "include/linux/rculist.h"
50256__inline static void __list_add_rcu(struct list_head *new , struct list_head *prev ,
50257                                    struct list_head *next ) 
50258{ unsigned long __cil_tmp4 ;
50259  unsigned long __cil_tmp5 ;
50260  unsigned long __cil_tmp6 ;
50261  unsigned long __cil_tmp7 ;
50262
50263  {
50264#line 36
50265  *((struct list_head **)new) = next;
50266#line 37
50267  __cil_tmp4 = (unsigned long )new;
50268#line 37
50269  __cil_tmp5 = __cil_tmp4 + 8;
50270#line 37
50271  *((struct list_head **)__cil_tmp5) = prev;
50272#line 38
50273  __asm__  volatile   ("": : : "memory");
50274#line 38
50275  *((struct list_head **)prev) = new;
50276#line 39
50277  __cil_tmp6 = (unsigned long )next;
50278#line 39
50279  __cil_tmp7 = __cil_tmp6 + 8;
50280#line 39
50281  *((struct list_head **)__cil_tmp7) = new;
50282#line 40
50283  return;
50284}
50285}
50286#line 58
50287__inline static void list_add_rcu(struct list_head *new , struct list_head *head )  __attribute__((__no_instrument_function__)) ;
50288#line 58 "include/linux/rculist.h"
50289__inline static void list_add_rcu(struct list_head *new , struct list_head *head ) 
50290{ struct list_head *__cil_tmp3 ;
50291
50292  {
50293  {
50294#line 60
50295  __cil_tmp3 = *((struct list_head **)head);
50296#line 60
50297  __list_add_rcu(new, head, __cil_tmp3);
50298  }
50299#line 61
50300  return;
50301}
50302}
50303#line 109
50304__inline static void list_del_rcu(struct list_head *entry )  __attribute__((__no_instrument_function__)) ;
50305#line 109 "include/linux/rculist.h"
50306__inline static void list_del_rcu(struct list_head *entry ) 
50307{ unsigned long __cil_tmp2 ;
50308  unsigned long __cil_tmp3 ;
50309  struct list_head *__cil_tmp4 ;
50310  struct list_head *__cil_tmp5 ;
50311  unsigned long __cil_tmp6 ;
50312  unsigned long __cil_tmp7 ;
50313  void *__cil_tmp8 ;
50314  void *__cil_tmp9 ;
50315
50316  {
50317  {
50318#line 111
50319  __cil_tmp2 = (unsigned long )entry;
50320#line 111
50321  __cil_tmp3 = __cil_tmp2 + 8;
50322#line 111
50323  __cil_tmp4 = *((struct list_head **)__cil_tmp3);
50324#line 111
50325  __cil_tmp5 = *((struct list_head **)entry);
50326#line 111
50327  __list_del(__cil_tmp4, __cil_tmp5);
50328#line 112
50329  __cil_tmp6 = (unsigned long )entry;
50330#line 112
50331  __cil_tmp7 = __cil_tmp6 + 8;
50332#line 112
50333  __cil_tmp8 = (void *)2097664;
50334#line 112
50335  __cil_tmp9 = __cil_tmp8 + 0xdead000000000000UL;
50336#line 112
50337  *((struct list_head **)__cil_tmp7) = (struct list_head *)__cil_tmp9;
50338  }
50339#line 113
50340  return;
50341}
50342}
50343#line 824 "include/scsi/scsi_transport_fc.h"
50344extern struct fc_rport *fc_remote_port_add(struct Scsi_Host *shost , int channel ,
50345                                           struct fc_rport_identifiers *ids ) ;
50346#line 826
50347extern void fc_remote_port_delete(struct fc_rport *rport ) ;
50348#line 1066 "include/scsi/libfc.h"
50349int fc_rport_init(struct fc_lport *lport ) ;
50350#line 1067
50351void fc_rport_terminate_io(struct fc_rport *rport ) ;
50352#line 1136
50353void fc_set_rport_loss_tmo(struct fc_rport *rport , u32 timeout ) ;
50354#line 656 "include/scsi/fc_encode.h"
50355__inline static void fc_prli_fill___0(struct fc_lport *lport , struct fc_frame *fp )  __attribute__((__no_instrument_function__)) ;
50356#line 656 "include/scsi/fc_encode.h"
50357__inline static void fc_prli_fill___0(struct fc_lport *lport , struct fc_frame *fp ) 
50358{ struct __anonstruct_pp_296 *pp ;
50359  void *tmp___7 ;
50360  __u32 tmp___9 ;
50361  struct fc_frame    *__cil_tmp7 ;
50362  void *__cil_tmp8 ;
50363  unsigned long __cil_tmp9 ;
50364  unsigned long __cil_tmp10 ;
50365  unsigned long __cil_tmp11 ;
50366  unsigned long __cil_tmp12 ;
50367  unsigned long __cil_tmp13 ;
50368  unsigned long __cil_tmp14 ;
50369  __u16 __cil_tmp15 ;
50370  int __cil_tmp16 ;
50371  int __cil_tmp17 ;
50372  int __cil_tmp18 ;
50373  __u16 __cil_tmp19 ;
50374  int __cil_tmp20 ;
50375  int __cil_tmp21 ;
50376  int __cil_tmp22 ;
50377  int __cil_tmp23 ;
50378  __u16 __cil_tmp24 ;
50379  int __cil_tmp25 ;
50380  unsigned long __cil_tmp26 ;
50381  unsigned long __cil_tmp27 ;
50382  unsigned long __cil_tmp28 ;
50383  unsigned long __cil_tmp29 ;
50384  unsigned long __cil_tmp30 ;
50385  unsigned long __cil_tmp31 ;
50386  unsigned long __cil_tmp32 ;
50387  unsigned int __cil_tmp33 ;
50388  unsigned long __cil_tmp34 ;
50389  unsigned long __cil_tmp35 ;
50390  unsigned long __cil_tmp36 ;
50391
50392  {
50393  {
50394#line 663
50395  __cil_tmp7 = (struct fc_frame    *)fp;
50396#line 663
50397  tmp___7 = fc_frame_payload_get(__cil_tmp7, 20UL);
50398#line 663
50399  pp = (struct __anonstruct_pp_296 *)tmp___7;
50400#line 664
50401  __cil_tmp8 = (void *)pp;
50402#line 664
50403  memset(__cil_tmp8, 0, 20UL);
50404#line 665
50405  *((__u8 *)pp) = (__u8 )32;
50406#line 666
50407  __cil_tmp9 = 0 + 1;
50408#line 666
50409  __cil_tmp10 = (unsigned long )pp;
50410#line 666
50411  __cil_tmp11 = __cil_tmp10 + __cil_tmp9;
50412#line 666
50413  *((__u8 *)__cil_tmp11) = (__u8 )16UL;
50414#line 667
50415  __cil_tmp12 = 0 + 2;
50416#line 667
50417  __cil_tmp13 = (unsigned long )pp;
50418#line 667
50419  __cil_tmp14 = __cil_tmp13 + __cil_tmp12;
50420#line 667
50421  __cil_tmp15 = (__u16 )20UL;
50422#line 667
50423  __cil_tmp16 = (int )__cil_tmp15;
50424#line 667
50425  __cil_tmp17 = __cil_tmp16 & 65280;
50426#line 667
50427  __cil_tmp18 = __cil_tmp17 >> 8;
50428#line 667
50429  __cil_tmp19 = (__u16 )20UL;
50430#line 667
50431  __cil_tmp20 = (int )__cil_tmp19;
50432#line 667
50433  __cil_tmp21 = __cil_tmp20 & 255;
50434#line 667
50435  __cil_tmp22 = __cil_tmp21 << 8;
50436#line 667
50437  __cil_tmp23 = __cil_tmp22 | __cil_tmp18;
50438#line 667
50439  __cil_tmp24 = (__u16 )__cil_tmp23;
50440#line 667
50441  __cil_tmp25 = (int )__cil_tmp24;
50442#line 667
50443  *((__be16 *)__cil_tmp14) = (__be16 )__cil_tmp25;
50444#line 668
50445  __cil_tmp26 = (unsigned long )pp;
50446#line 668
50447  __cil_tmp27 = __cil_tmp26 + 4;
50448#line 668
50449  *((__u8 *)__cil_tmp27) = (__u8 )8;
50450#line 669
50451  __cil_tmp28 = 4 + 2;
50452#line 669
50453  __cil_tmp29 = (unsigned long )pp;
50454#line 669
50455  __cil_tmp30 = __cil_tmp29 + __cil_tmp28;
50456#line 669
50457  *((__u8 *)__cil_tmp30) = (__u8 )32;
50458#line 670
50459  __cil_tmp31 = (unsigned long )lport;
50460#line 670
50461  __cil_tmp32 = __cil_tmp31 + 808;
50462#line 670
50463  __cil_tmp33 = *((unsigned int *)__cil_tmp32);
50464#line 670
50465  tmp___9 = __fswab32(__cil_tmp33);
50466#line 670
50467  __cil_tmp34 = 4 + 12;
50468#line 670
50469  __cil_tmp35 = (unsigned long )pp;
50470#line 670
50471  __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
50472#line 670
50473  *((__be32 *)__cil_tmp36) = tmp___9;
50474  }
50475#line 671
50476  return;
50477}
50478}
50479#line 63 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
50480static struct workqueue_struct *rport_event_queue  ;
50481#line 65
50482static void fc_rport_enter_flogi(struct fc_rport_priv *rdata ) ;
50483#line 66
50484static void fc_rport_enter_plogi(struct fc_rport_priv *rdata ) ;
50485#line 67
50486static void fc_rport_enter_prli(struct fc_rport_priv *rdata ) ;
50487#line 68
50488static void fc_rport_enter_rtv(struct fc_rport_priv *rdata ) ;
50489#line 69
50490static void fc_rport_enter_ready(struct fc_rport_priv *rdata ) ;
50491#line 70
50492static void fc_rport_enter_logo(struct fc_rport_priv *rdata ) ;
50493#line 71
50494static void fc_rport_enter_adisc(struct fc_rport_priv *rdata ) ;
50495#line 73
50496static void fc_rport_recv_plogi_req(struct fc_lport *lport , struct fc_frame *rx_fp ) ;
50497#line 74
50498static void fc_rport_recv_prli_req(struct fc_rport_priv *rdata , struct fc_frame *rx_fp ) ;
50499#line 75
50500static void fc_rport_recv_prlo_req(struct fc_rport_priv *rdata , struct fc_frame *rx_fp ) ;
50501#line 76
50502static void fc_rport_recv_logo_req(struct fc_lport *lport , struct fc_frame *fp ) ;
50503#line 77
50504static void fc_rport_timeout(struct work_struct *work ) ;
50505#line 78
50506static void fc_rport_error(struct fc_rport_priv *rdata , struct fc_frame *fp ) ;
50507#line 79
50508static void fc_rport_error_retry(struct fc_rport_priv *rdata , struct fc_frame *fp ) ;
50509#line 80
50510static void fc_rport_work(struct work_struct *work ) ;
50511#line 82 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
50512static char    *fc_rport_state_names[9]  = 
50513#line 82
50514  {      "Init",      "FLOGI",      "PLOGI_WAIT",      "PLOGI", 
50515        "PRLI",      "RTV",      "Ready",      "ADISC", 
50516        "Delete"};
50517#line 101 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
50518static struct fc_rport_priv *fc_rport_lookup(struct fc_lport    *lport , u32 port_id ) 
50519{ struct fc_rport_priv *rdata ;
50520  struct list_head *__ptr ;
50521  struct list_head    *__mptr ;
50522  struct list_head *_________p1 ;
50523  struct list_head *__ptr___0 ;
50524  struct list_head    *__mptr___0 ;
50525  struct list_head *_________p1___0 ;
50526  struct list_head **__cil_tmp10 ;
50527  unsigned long __cil_tmp11 ;
50528  unsigned long __cil_tmp12 ;
50529  unsigned long __cil_tmp13 ;
50530  struct list_head *   __cil_tmp14 ;
50531  struct list_head * volatile  *__cil_tmp15 ;
50532  struct list_head * volatile  __cil_tmp16 ;
50533  struct list_head *   __cil_tmp17 ;
50534  struct fc_rport_priv *__cil_tmp18 ;
50535  unsigned long __cil_tmp19 ;
50536  unsigned long __cil_tmp20 ;
50537  struct list_head *__cil_tmp21 ;
50538  unsigned int __cil_tmp22 ;
50539  char *__cil_tmp23 ;
50540  char *__cil_tmp24 ;
50541  unsigned long __cil_tmp25 ;
50542  unsigned long __cil_tmp26 ;
50543  unsigned long __cil_tmp27 ;
50544  struct list_head    *__cil_tmp28 ;
50545  unsigned long __cil_tmp29 ;
50546  unsigned long __cil_tmp30 ;
50547  unsigned long __cil_tmp31 ;
50548  struct list_head *__cil_tmp32 ;
50549  unsigned long __cil_tmp33 ;
50550  unsigned long __cil_tmp34 ;
50551  unsigned long __cil_tmp35 ;
50552  unsigned long __cil_tmp36 ;
50553  u32 __cil_tmp37 ;
50554  struct list_head **__cil_tmp38 ;
50555  unsigned long __cil_tmp39 ;
50556  unsigned long __cil_tmp40 ;
50557  struct list_head * volatile  *__cil_tmp41 ;
50558  struct list_head * volatile  __cil_tmp42 ;
50559  struct fc_rport_priv *__cil_tmp43 ;
50560  unsigned long __cil_tmp44 ;
50561  unsigned long __cil_tmp45 ;
50562  struct list_head *__cil_tmp46 ;
50563  unsigned int __cil_tmp47 ;
50564  char *__cil_tmp48 ;
50565  char *__cil_tmp49 ;
50566  void *__cil_tmp50 ;
50567
50568  {
50569#line 106
50570  __cil_tmp10 = & __ptr;
50571#line 106
50572  __cil_tmp11 = 56 + 16;
50573#line 106
50574  __cil_tmp12 = (unsigned long )lport;
50575#line 106
50576  __cil_tmp13 = __cil_tmp12 + __cil_tmp11;
50577#line 106
50578  __cil_tmp14 = *((struct list_head *   *)__cil_tmp13);
50579#line 106
50580  *__cil_tmp10 = (struct list_head *)__cil_tmp14;
50581#line 106
50582  __cil_tmp15 = (struct list_head * volatile  *)(& __ptr);
50583#line 106
50584  __cil_tmp16 = *__cil_tmp15;
50585#line 106
50586  _________p1 = (struct list_head *)__cil_tmp16;
50587  {
50588#line 106
50589  while (1) {
50590    while_continue: /* CIL Label */ ;
50591#line 106
50592    goto while_break;
50593  }
50594  while_break: /* CIL Label */ ;
50595  }
50596  {
50597#line 106
50598  while (1) {
50599    while_continue___0: /* CIL Label */ ;
50600#line 106
50601    goto while_break___0;
50602  }
50603  while_break___0: /* CIL Label */ ;
50604  }
50605#line 106
50606  __cil_tmp17 = (struct list_head *   )_________p1;
50607#line 106
50608  __mptr = (struct list_head    *)__cil_tmp17;
50609#line 106
50610  __cil_tmp18 = (struct fc_rport_priv *)0;
50611#line 106
50612  __cil_tmp19 = (unsigned long )__cil_tmp18;
50613#line 106
50614  __cil_tmp20 = __cil_tmp19 + 272;
50615#line 106
50616  __cil_tmp21 = (struct list_head *)__cil_tmp20;
50617#line 106
50618  __cil_tmp22 = (unsigned int )__cil_tmp21;
50619#line 106
50620  __cil_tmp23 = (char *)__mptr;
50621#line 106
50622  __cil_tmp24 = __cil_tmp23 - __cil_tmp22;
50623#line 106
50624  rdata = (struct fc_rport_priv *)__cil_tmp24;
50625  {
50626#line 106
50627  while (1) {
50628    while_continue___1: /* CIL Label */ ;
50629    {
50630#line 106
50631    __cil_tmp25 = 56 + 16;
50632#line 106
50633    __cil_tmp26 = (unsigned long )lport;
50634#line 106
50635    __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
50636#line 106
50637    __cil_tmp28 = (struct list_head    *)__cil_tmp27;
50638#line 106
50639    __cil_tmp29 = (unsigned long )__cil_tmp28;
50640#line 106
50641    __cil_tmp30 = (unsigned long )rdata;
50642#line 106
50643    __cil_tmp31 = __cil_tmp30 + 272;
50644#line 106
50645    __cil_tmp32 = (struct list_head *)__cil_tmp31;
50646#line 106
50647    __cil_tmp33 = (unsigned long )__cil_tmp32;
50648#line 106
50649    if (__cil_tmp33 != __cil_tmp29) {
50650
50651    } else {
50652#line 106
50653      goto while_break___1;
50654    }
50655    }
50656    {
50657#line 107
50658    __cil_tmp34 = 24 + 16;
50659#line 107
50660    __cil_tmp35 = (unsigned long )rdata;
50661#line 107
50662    __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
50663#line 107
50664    __cil_tmp37 = *((u32 *)__cil_tmp36);
50665#line 107
50666    if (__cil_tmp37 == port_id) {
50667#line 108
50668      return (rdata);
50669    } else {
50670
50671    }
50672    }
50673#line 106
50674    __cil_tmp38 = & __ptr___0;
50675#line 106
50676    __cil_tmp39 = (unsigned long )rdata;
50677#line 106
50678    __cil_tmp40 = __cil_tmp39 + 272;
50679#line 106
50680    *__cil_tmp38 = *((struct list_head **)__cil_tmp40);
50681#line 106
50682    __cil_tmp41 = (struct list_head * volatile  *)(& __ptr___0);
50683#line 106
50684    __cil_tmp42 = *__cil_tmp41;
50685#line 106
50686    _________p1___0 = (struct list_head *)__cil_tmp42;
50687    {
50688#line 106
50689    while (1) {
50690      while_continue___2: /* CIL Label */ ;
50691#line 106
50692      goto while_break___2;
50693    }
50694    while_break___2: /* CIL Label */ ;
50695    }
50696    {
50697#line 106
50698    while (1) {
50699      while_continue___3: /* CIL Label */ ;
50700#line 106
50701      goto while_break___3;
50702    }
50703    while_break___3: /* CIL Label */ ;
50704    }
50705#line 106
50706    __mptr___0 = (struct list_head    *)_________p1___0;
50707#line 106
50708    __cil_tmp43 = (struct fc_rport_priv *)0;
50709#line 106
50710    __cil_tmp44 = (unsigned long )__cil_tmp43;
50711#line 106
50712    __cil_tmp45 = __cil_tmp44 + 272;
50713#line 106
50714    __cil_tmp46 = (struct list_head *)__cil_tmp45;
50715#line 106
50716    __cil_tmp47 = (unsigned int )__cil_tmp46;
50717#line 106
50718    __cil_tmp48 = (char *)__mptr___0;
50719#line 106
50720    __cil_tmp49 = __cil_tmp48 - __cil_tmp47;
50721#line 106
50722    rdata = (struct fc_rport_priv *)__cil_tmp49;
50723  }
50724  while_break___1: /* CIL Label */ ;
50725  }
50726  {
50727#line 109
50728  __cil_tmp50 = (void *)0;
50729#line 109
50730  return ((struct fc_rport_priv *)__cil_tmp50);
50731  }
50732}
50733}
50734#line 140 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
50735static struct lock_class_key __key___9  ;
50736#line 121 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
50737static struct fc_rport_priv *fc_rport_create(struct fc_lport *lport , u32 port_id ) 
50738{ struct fc_rport_priv *rdata ;
50739  void *tmp___7 ;
50740  atomic_long_t __r_expr_0 ;
50741  atomic_long_t __r_expr_1 ;
50742  unsigned long __cil_tmp7 ;
50743  unsigned long __cil_tmp8 ;
50744  unsigned long __cil_tmp9 ;
50745  struct fc_rport_priv *(*__cil_tmp10)(struct fc_lport    * , u32  ) ;
50746  struct fc_lport    *__cil_tmp11 ;
50747  unsigned long __cil_tmp12 ;
50748  unsigned long __cil_tmp13 ;
50749  u16 __cil_tmp14 ;
50750  unsigned long __cil_tmp15 ;
50751  unsigned long __cil_tmp16 ;
50752  void *__cil_tmp17 ;
50753  unsigned long __cil_tmp18 ;
50754  unsigned long __cil_tmp19 ;
50755  unsigned long __cil_tmp20 ;
50756  unsigned long __cil_tmp21 ;
50757  unsigned long __cil_tmp22 ;
50758  unsigned long __cil_tmp23 ;
50759  unsigned long __cil_tmp24 ;
50760  unsigned long __cil_tmp25 ;
50761  unsigned long __cil_tmp26 ;
50762  unsigned long __cil_tmp27 ;
50763  unsigned long __cil_tmp28 ;
50764  unsigned long __cil_tmp29 ;
50765  unsigned long __cil_tmp30 ;
50766  struct kref *__cil_tmp31 ;
50767  unsigned long __cil_tmp32 ;
50768  unsigned long __cil_tmp33 ;
50769  struct mutex *__cil_tmp34 ;
50770  unsigned long __cil_tmp35 ;
50771  unsigned long __cil_tmp36 ;
50772  unsigned long __cil_tmp37 ;
50773  unsigned long __cil_tmp38 ;
50774  unsigned long __cil_tmp39 ;
50775  unsigned long __cil_tmp40 ;
50776  unsigned long __cil_tmp41 ;
50777  unsigned long __cil_tmp42 ;
50778  unsigned long __cil_tmp43 ;
50779  unsigned long __cil_tmp44 ;
50780  unsigned long __cil_tmp45 ;
50781  unsigned long __cil_tmp46 ;
50782  unsigned long __cil_tmp47 ;
50783  unsigned long __cil_tmp48 ;
50784  unsigned long __cil_tmp49 ;
50785  unsigned long __cil_tmp50 ;
50786  unsigned long __cil_tmp51 ;
50787  unsigned long __cil_tmp52 ;
50788  struct work_struct *__cil_tmp53 ;
50789  unsigned long __cil_tmp54 ;
50790  unsigned long __cil_tmp55 ;
50791  unsigned long __cil_tmp56 ;
50792  unsigned long __cil_tmp57 ;
50793  unsigned long __cil_tmp58 ;
50794  unsigned long __cil_tmp59 ;
50795  struct list_head *__cil_tmp60 ;
50796  unsigned long __cil_tmp61 ;
50797  unsigned long __cil_tmp62 ;
50798  unsigned long __cil_tmp63 ;
50799  unsigned long __cil_tmp64 ;
50800  unsigned long __cil_tmp65 ;
50801  unsigned long __cil_tmp66 ;
50802  unsigned long __cil_tmp67 ;
50803  struct timer_list *__cil_tmp68 ;
50804  void *__cil_tmp69 ;
50805  char    *__cil_tmp70 ;
50806  void *__cil_tmp71 ;
50807  struct lock_class_key *__cil_tmp72 ;
50808  unsigned long __cil_tmp73 ;
50809  unsigned long __cil_tmp74 ;
50810  struct work_struct *__cil_tmp75 ;
50811  unsigned long __cil_tmp76 ;
50812  unsigned long __cil_tmp77 ;
50813  unsigned long __cil_tmp78 ;
50814  unsigned long __cil_tmp79 ;
50815  unsigned long __cil_tmp80 ;
50816  struct list_head *__cil_tmp81 ;
50817  unsigned long __cil_tmp82 ;
50818  unsigned long __cil_tmp83 ;
50819  unsigned long __cil_tmp84 ;
50820  unsigned long __cil_tmp85 ;
50821  unsigned long __cil_tmp86 ;
50822  unsigned long __cil_tmp87 ;
50823  unsigned long __cil_tmp88 ;
50824  unsigned long __cil_tmp89 ;
50825  unsigned long __cil_tmp90 ;
50826  unsigned long __cil_tmp91 ;
50827  struct list_head *__cil_tmp92 ;
50828  unsigned long __cil_tmp93 ;
50829  unsigned long __cil_tmp94 ;
50830  unsigned long __cil_tmp95 ;
50831  struct list_head *__cil_tmp96 ;
50832  long __r_expr_0_counter97 ;
50833  long __r_expr_1_counter98 ;
50834
50835  {
50836  {
50837#line 126
50838  __cil_tmp7 = 328 + 192;
50839#line 126
50840  __cil_tmp8 = (unsigned long )lport;
50841#line 126
50842  __cil_tmp9 = __cil_tmp8 + __cil_tmp7;
50843#line 126
50844  __cil_tmp10 = *((struct fc_rport_priv *(**)(struct fc_lport    * , u32  ))__cil_tmp9);
50845#line 126
50846  __cil_tmp11 = (struct fc_lport    *)lport;
50847#line 126
50848  rdata = (*__cil_tmp10)(__cil_tmp11, port_id);
50849  }
50850#line 127
50851  if (rdata) {
50852#line 128
50853    return (rdata);
50854  } else {
50855
50856  }
50857  {
50858#line 130
50859  __cil_tmp12 = (unsigned long )lport;
50860#line 130
50861  __cil_tmp13 = __cil_tmp12 + 882;
50862#line 130
50863  __cil_tmp14 = *((u16 *)__cil_tmp13);
50864#line 130
50865  __cil_tmp15 = (unsigned long )__cil_tmp14;
50866#line 130
50867  __cil_tmp16 = 360UL + __cil_tmp15;
50868#line 130
50869  tmp___7 = kzalloc(__cil_tmp16, 208U);
50870#line 130
50871  rdata = (struct fc_rport_priv *)tmp___7;
50872  }
50873#line 131
50874  if (! rdata) {
50875    {
50876#line 132
50877    __cil_tmp17 = (void *)0;
50878#line 132
50879    return ((struct fc_rport_priv *)__cil_tmp17);
50880    }
50881  } else {
50882
50883  }
50884  {
50885#line 134
50886  __cil_tmp18 = (unsigned long )rdata;
50887#line 134
50888  __cil_tmp19 = __cil_tmp18 + 24;
50889#line 134
50890  *((u64 *)__cil_tmp19) = (u64 )-1;
50891#line 135
50892  __cil_tmp20 = 24 + 8;
50893#line 135
50894  __cil_tmp21 = (unsigned long )rdata;
50895#line 135
50896  __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
50897#line 135
50898  *((u64 *)__cil_tmp22) = (u64 )-1;
50899#line 136
50900  __cil_tmp23 = 24 + 16;
50901#line 136
50902  __cil_tmp24 = (unsigned long )rdata;
50903#line 136
50904  __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
50905#line 136
50906  *((u32 *)__cil_tmp25) = port_id;
50907#line 137
50908  __cil_tmp26 = 24 + 20;
50909#line 137
50910  __cil_tmp27 = (unsigned long )rdata;
50911#line 137
50912  __cil_tmp28 = __cil_tmp27 + __cil_tmp26;
50913#line 137
50914  *((u32 *)__cil_tmp28) = (u32 )0;
50915#line 139
50916  __cil_tmp29 = (unsigned long )rdata;
50917#line 139
50918  __cil_tmp30 = __cil_tmp29 + 16;
50919#line 139
50920  __cil_tmp31 = (struct kref *)__cil_tmp30;
50921#line 139
50922  kref_init(__cil_tmp31);
50923  }
50924  {
50925#line 140
50926  while (1) {
50927    while_continue: /* CIL Label */ ;
50928    {
50929#line 140
50930    __cil_tmp32 = (unsigned long )rdata;
50931#line 140
50932    __cil_tmp33 = __cil_tmp32 + 72;
50933#line 140
50934    __cil_tmp34 = (struct mutex *)__cil_tmp33;
50935#line 140
50936    __mutex_init(__cil_tmp34, "&rdata->rp_mutex", & __key___9);
50937    }
50938#line 140
50939    goto while_break;
50940  }
50941  while_break: /* CIL Label */ ;
50942  }
50943#line 141
50944  *((struct fc_lport **)rdata) = lport;
50945#line 142
50946  __cil_tmp35 = (unsigned long )rdata;
50947#line 142
50948  __cil_tmp36 = __cil_tmp35 + 20;
50949#line 142
50950  *((enum fc_rport_state *)__cil_tmp36) = (enum fc_rport_state )0;
50951#line 143
50952  __cil_tmp37 = (unsigned long )rdata;
50953#line 143
50954  __cil_tmp38 = __cil_tmp37 + 256;
50955#line 143
50956  *((enum fc_rport_event *)__cil_tmp38) = (enum fc_rport_event )0;
50957#line 144
50958  __cil_tmp39 = (unsigned long )rdata;
50959#line 144
50960  __cil_tmp40 = __cil_tmp39 + 48;
50961#line 144
50962  *((u16 *)__cil_tmp40) = (u16 )1;
50963#line 145
50964  __cil_tmp41 = (unsigned long )rdata;
50965#line 145
50966  __cil_tmp42 = __cil_tmp41 + 64;
50967#line 145
50968  __cil_tmp43 = (unsigned long )lport;
50969#line 145
50970  __cil_tmp44 = __cil_tmp43 + 812;
50971#line 145
50972  *((unsigned int *)__cil_tmp42) = *((unsigned int *)__cil_tmp44);
50973#line 146
50974  __cil_tmp45 = (unsigned long )rdata;
50975#line 146
50976  __cil_tmp46 = __cil_tmp45 + 68;
50977#line 146
50978  __cil_tmp47 = (unsigned long )lport;
50979#line 146
50980  __cil_tmp48 = __cil_tmp47 + 816;
50981#line 146
50982  *((unsigned int *)__cil_tmp46) = *((unsigned int *)__cil_tmp48);
50983#line 147
50984  __cil_tmp49 = (unsigned long )rdata;
50985#line 147
50986  __cil_tmp50 = __cil_tmp49 + 54;
50987#line 147
50988  *((u16 *)__cil_tmp50) = (u16 )256U;
50989  {
50990#line 148
50991  while (1) {
50992    while_continue___0: /* CIL Label */ ;
50993    {
50994#line 148
50995    while (1) {
50996      while_continue___1: /* CIL Label */ ;
50997      {
50998#line 148
50999      while (1) {
51000        while_continue___2: /* CIL Label */ ;
51001        {
51002#line 148
51003        __cil_tmp51 = (unsigned long )rdata;
51004#line 148
51005        __cil_tmp52 = __cil_tmp51 + 144;
51006#line 148
51007        __cil_tmp53 = (struct work_struct *)__cil_tmp52;
51008#line 148
51009        __init_work(__cil_tmp53, 0);
51010#line 148
51011        __r_expr_0_counter97 = 2097664L;
51012#line 148
51013        __cil_tmp54 = (unsigned long )rdata;
51014#line 148
51015        __cil_tmp55 = __cil_tmp54 + 144;
51016#line 148
51017        ((atomic_long_t *)__cil_tmp55)->counter = __r_expr_0_counter97;
51018#line 148
51019        __cil_tmp56 = 0 + 8;
51020#line 148
51021        __cil_tmp57 = 144 + __cil_tmp56;
51022#line 148
51023        __cil_tmp58 = (unsigned long )rdata;
51024#line 148
51025        __cil_tmp59 = __cil_tmp58 + __cil_tmp57;
51026#line 148
51027        __cil_tmp60 = (struct list_head *)__cil_tmp59;
51028#line 148
51029        INIT_LIST_HEAD(__cil_tmp60);
51030        }
51031        {
51032#line 148
51033        while (1) {
51034          while_continue___3: /* CIL Label */ ;
51035#line 148
51036          __cil_tmp61 = 0 + 24;
51037#line 148
51038          __cil_tmp62 = 144 + __cil_tmp61;
51039#line 148
51040          __cil_tmp63 = (unsigned long )rdata;
51041#line 148
51042          __cil_tmp64 = __cil_tmp63 + __cil_tmp62;
51043#line 148
51044          *((void (**)(struct work_struct *work ))__cil_tmp64) = & fc_rport_timeout;
51045#line 148
51046          goto while_break___3;
51047        }
51048        while_break___3: /* CIL Label */ ;
51049        }
51050#line 148
51051        goto while_break___2;
51052      }
51053      while_break___2: /* CIL Label */ ;
51054      }
51055#line 148
51056      goto while_break___1;
51057    }
51058    while_break___1: /* CIL Label */ ;
51059    }
51060    {
51061#line 148
51062    __cil_tmp65 = 144 + 32;
51063#line 148
51064    __cil_tmp66 = (unsigned long )rdata;
51065#line 148
51066    __cil_tmp67 = __cil_tmp66 + __cil_tmp65;
51067#line 148
51068    __cil_tmp68 = (struct timer_list *)__cil_tmp67;
51069#line 148
51070    __cil_tmp69 = (void *)0;
51071#line 148
51072    __cil_tmp70 = (char    *)__cil_tmp69;
51073#line 148
51074    __cil_tmp71 = (void *)0;
51075#line 148
51076    __cil_tmp72 = (struct lock_class_key *)__cil_tmp71;
51077#line 148
51078    init_timer_key(__cil_tmp68, __cil_tmp70, __cil_tmp72);
51079    }
51080#line 148
51081    goto while_break___0;
51082  }
51083  while_break___0: /* CIL Label */ ;
51084  }
51085  {
51086#line 149
51087  while (1) {
51088    while_continue___4: /* CIL Label */ ;
51089    {
51090#line 149
51091    while (1) {
51092      while_continue___5: /* CIL Label */ ;
51093      {
51094#line 149
51095      __cil_tmp73 = (unsigned long )rdata;
51096#line 149
51097      __cil_tmp74 = __cil_tmp73 + 288;
51098#line 149
51099      __cil_tmp75 = (struct work_struct *)__cil_tmp74;
51100#line 149
51101      __init_work(__cil_tmp75, 0);
51102#line 149
51103      __r_expr_1_counter98 = 2097664L;
51104#line 149
51105      __cil_tmp76 = (unsigned long )rdata;
51106#line 149
51107      __cil_tmp77 = __cil_tmp76 + 288;
51108#line 149
51109      ((atomic_long_t *)__cil_tmp77)->counter = __r_expr_1_counter98;
51110#line 149
51111      __cil_tmp78 = 288 + 8;
51112#line 149
51113      __cil_tmp79 = (unsigned long )rdata;
51114#line 149
51115      __cil_tmp80 = __cil_tmp79 + __cil_tmp78;
51116#line 149
51117      __cil_tmp81 = (struct list_head *)__cil_tmp80;
51118#line 149
51119      INIT_LIST_HEAD(__cil_tmp81);
51120      }
51121      {
51122#line 149
51123      while (1) {
51124        while_continue___6: /* CIL Label */ ;
51125#line 149
51126        __cil_tmp82 = 288 + 24;
51127#line 149
51128        __cil_tmp83 = (unsigned long )rdata;
51129#line 149
51130        __cil_tmp84 = __cil_tmp83 + __cil_tmp82;
51131#line 149
51132        *((void (**)(struct work_struct *work ))__cil_tmp84) = & fc_rport_work;
51133#line 149
51134        goto while_break___6;
51135      }
51136      while_break___6: /* CIL Label */ ;
51137      }
51138#line 149
51139      goto while_break___5;
51140    }
51141    while_break___5: /* CIL Label */ ;
51142    }
51143#line 149
51144    goto while_break___4;
51145  }
51146  while_break___4: /* CIL Label */ ;
51147  }
51148#line 150
51149  if (port_id != 16777212U) {
51150    {
51151#line 151
51152    __cil_tmp85 = (unsigned long )rdata;
51153#line 151
51154    __cil_tmp86 = __cil_tmp85 + 352;
51155#line 151
51156    __cil_tmp87 = 328 + 208;
51157#line 151
51158    __cil_tmp88 = (unsigned long )lport;
51159#line 151
51160    __cil_tmp89 = __cil_tmp88 + __cil_tmp87;
51161#line 151
51162    *((void (**)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ))__cil_tmp86) = *((void (**)(struct fc_lport * ,
51163                                                                                                                 struct fc_rport_priv * ,
51164                                                                                                                 enum fc_rport_event  ))__cil_tmp89);
51165#line 152
51166    __cil_tmp90 = (unsigned long )rdata;
51167#line 152
51168    __cil_tmp91 = __cil_tmp90 + 272;
51169#line 152
51170    __cil_tmp92 = (struct list_head *)__cil_tmp91;
51171#line 152
51172    __cil_tmp93 = 56 + 16;
51173#line 152
51174    __cil_tmp94 = (unsigned long )lport;
51175#line 152
51176    __cil_tmp95 = __cil_tmp94 + __cil_tmp93;
51177#line 152
51178    __cil_tmp96 = (struct list_head *)__cil_tmp95;
51179#line 152
51180    list_add_rcu(__cil_tmp92, __cil_tmp96);
51181    }
51182  } else {
51183
51184  }
51185#line 154
51186  return (rdata);
51187}
51188}
51189#line 161 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
51190static void fc_rport_destroy(struct kref *kref ) 
51191{ struct fc_rport_priv *rdata ;
51192  struct kref    *__mptr ;
51193  struct fc_rport_priv *__cil_tmp4 ;
51194  unsigned long __cil_tmp5 ;
51195  unsigned long __cil_tmp6 ;
51196  struct kref *__cil_tmp7 ;
51197  unsigned int __cil_tmp8 ;
51198  char *__cil_tmp9 ;
51199  char *__cil_tmp10 ;
51200  unsigned long __cil_tmp11 ;
51201  unsigned long __cil_tmp12 ;
51202  struct rcu_head *__cil_tmp13 ;
51203  struct fc_rport_priv *__cil_tmp14 ;
51204  unsigned long __cil_tmp15 ;
51205  unsigned long __cil_tmp16 ;
51206  struct rcu_head *__cil_tmp17 ;
51207  unsigned int __cil_tmp18 ;
51208  unsigned long __cil_tmp19 ;
51209
51210  {
51211  {
51212#line 165
51213  __mptr = (struct kref    *)kref;
51214#line 165
51215  __cil_tmp4 = (struct fc_rport_priv *)0;
51216#line 165
51217  __cil_tmp5 = (unsigned long )__cil_tmp4;
51218#line 165
51219  __cil_tmp6 = __cil_tmp5 + 16;
51220#line 165
51221  __cil_tmp7 = (struct kref *)__cil_tmp6;
51222#line 165
51223  __cil_tmp8 = (unsigned int )__cil_tmp7;
51224#line 165
51225  __cil_tmp9 = (char *)__mptr;
51226#line 165
51227  __cil_tmp10 = __cil_tmp9 - __cil_tmp8;
51228#line 165
51229  rdata = (struct fc_rport_priv *)__cil_tmp10;
51230#line 166
51231  __cil_tmp11 = (unsigned long )rdata;
51232#line 166
51233  __cil_tmp12 = __cil_tmp11 + 328;
51234#line 166
51235  __cil_tmp13 = (struct rcu_head *)__cil_tmp12;
51236#line 166
51237  __cil_tmp14 = (struct fc_rport_priv *)0;
51238#line 166
51239  __cil_tmp15 = (unsigned long )__cil_tmp14;
51240#line 166
51241  __cil_tmp16 = __cil_tmp15 + 328;
51242#line 166
51243  __cil_tmp17 = (struct rcu_head *)__cil_tmp16;
51244#line 166
51245  __cil_tmp18 = (unsigned int )__cil_tmp17;
51246#line 166
51247  __cil_tmp19 = (unsigned long )__cil_tmp18;
51248#line 166
51249  __kfree_rcu(__cil_tmp13, __cil_tmp19);
51250  }
51251#line 167
51252  return;
51253}
51254}
51255#line 173 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
51256static char    *fc_rport_state(struct fc_rport_priv *rdata ) 
51257{ char    *cp ;
51258  unsigned long __cil_tmp3 ;
51259  unsigned long __cil_tmp4 ;
51260  enum fc_rport_state __cil_tmp5 ;
51261  unsigned long __cil_tmp6 ;
51262  unsigned long __cil_tmp7 ;
51263
51264  {
51265#line 177
51266  __cil_tmp3 = (unsigned long )rdata;
51267#line 177
51268  __cil_tmp4 = __cil_tmp3 + 20;
51269#line 177
51270  __cil_tmp5 = *((enum fc_rport_state *)__cil_tmp4);
51271#line 177
51272  __cil_tmp6 = __cil_tmp5 * 8UL;
51273#line 177
51274  __cil_tmp7 = (unsigned long )(fc_rport_state_names) + __cil_tmp6;
51275#line 177
51276  cp = *((char    **)__cil_tmp7);
51277#line 178
51278  if (! cp) {
51279#line 179
51280    cp = "Unknown";
51281  } else {
51282
51283  }
51284#line 180
51285  return (cp);
51286}
51287}
51288#line 188 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
51289void fc_set_rport_loss_tmo(struct fc_rport *rport , u32 timeout ) 
51290{ unsigned long __cil_tmp3 ;
51291  unsigned long __cil_tmp4 ;
51292  unsigned long __cil_tmp5 ;
51293  unsigned long __cil_tmp6 ;
51294
51295  {
51296#line 190
51297  if (timeout) {
51298#line 191
51299    __cil_tmp3 = (unsigned long )rport;
51300#line 191
51301    __cil_tmp4 = __cil_tmp3 + 8;
51302#line 191
51303    *((u32 *)__cil_tmp4) = timeout;
51304  } else {
51305#line 193
51306    __cil_tmp5 = (unsigned long )rport;
51307#line 193
51308    __cil_tmp6 = __cil_tmp5 + 8;
51309#line 193
51310    *((u32 *)__cil_tmp6) = (u32 )1;
51311  }
51312#line 194
51313  return;
51314}
51315}
51316#line 195
51317extern void *__crc_fc_set_rport_loss_tmo  __attribute__((__weak__)) ;
51318#line 195 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
51319static unsigned long    __kcrctab_fc_set_rport_loss_tmo  __attribute__((__used__,
51320__unused__, __section__("___kcrctab+fc_set_rport_loss_tmo")))  =    (unsigned long    )((unsigned long )(& __crc_fc_set_rport_loss_tmo));
51321#line 195 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
51322static char    __kstrtab_fc_set_rport_loss_tmo[22]  __attribute__((__section__("__ksymtab_strings"),
51323__aligned__(1)))  = 
51324#line 195
51325  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'s', 
51326        (char    )'e',      (char    )'t',      (char const   )'_',      (char const   )'r', 
51327        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
51328        (char    )'_',      (char    )'l',      (char const   )'o',      (char const   )'s', 
51329        (char    )'s',      (char    )'_',      (char const   )'t',      (char const   )'m', 
51330        (char    )'o',      (char    )'\000'};
51331#line 195 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
51332static struct kernel_symbol    __ksymtab_fc_set_rport_loss_tmo  __attribute__((__used__,
51333__unused__, __section__("___ksymtab+fc_set_rport_loss_tmo")))  =    {(unsigned long )(& fc_set_rport_loss_tmo), __kstrtab_fc_set_rport_loss_tmo};
51334#line 204 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
51335static unsigned int fc_plogi_get_maxframe(struct fc_els_flogi *flp , unsigned int maxval ) 
51336{ unsigned int mfs ;
51337  __u16 tmp___7 ;
51338  __u16 tmp___8 ;
51339  unsigned long __cil_tmp6 ;
51340  unsigned long __cil_tmp7 ;
51341  unsigned long __cil_tmp8 ;
51342  __be16 __cil_tmp9 ;
51343  int __cil_tmp10 ;
51344  int __cil_tmp11 ;
51345  unsigned long __cil_tmp12 ;
51346  unsigned long __cil_tmp13 ;
51347  unsigned long __cil_tmp14 ;
51348  unsigned long __cil_tmp15 ;
51349  unsigned long __cil_tmp16 ;
51350  __be16 __cil_tmp17 ;
51351  int __cil_tmp18 ;
51352
51353  {
51354  {
51355#line 213
51356  __cil_tmp6 = 4 + 6;
51357#line 213
51358  __cil_tmp7 = (unsigned long )flp;
51359#line 213
51360  __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
51361#line 213
51362  __cil_tmp9 = *((__be16 *)__cil_tmp8);
51363#line 213
51364  tmp___7 = __fswab16(__cil_tmp9);
51365#line 213
51366  __cil_tmp10 = (int )tmp___7;
51367#line 213
51368  __cil_tmp11 = __cil_tmp10 & 4095;
51369#line 213
51370  mfs = (unsigned int )__cil_tmp11;
51371  }
51372#line 214
51373  if (mfs >= 256U) {
51374#line 214
51375    if (mfs < maxval) {
51376#line 215
51377      maxval = mfs;
51378    } else {
51379
51380    }
51381  } else {
51382
51383  }
51384  {
51385#line 216
51386  __cil_tmp12 = 2 * 16UL;
51387#line 216
51388  __cil_tmp13 = __cil_tmp12 + 6;
51389#line 216
51390  __cil_tmp14 = 36 + __cil_tmp13;
51391#line 216
51392  __cil_tmp15 = (unsigned long )flp;
51393#line 216
51394  __cil_tmp16 = __cil_tmp15 + __cil_tmp14;
51395#line 216
51396  __cil_tmp17 = *((__be16 *)__cil_tmp16);
51397#line 216
51398  tmp___8 = __fswab16(__cil_tmp17);
51399#line 216
51400  __cil_tmp18 = (int )tmp___8;
51401#line 216
51402  mfs = (unsigned int )__cil_tmp18;
51403  }
51404#line 217
51405  if (mfs >= 256U) {
51406#line 217
51407    if (mfs < maxval) {
51408#line 218
51409      maxval = mfs;
51410    } else {
51411
51412    }
51413  } else {
51414
51415  }
51416#line 219
51417  return (maxval);
51418}
51419}
51420#line 229 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
51421static void fc_rport_state_enter(struct fc_rport_priv *rdata , enum fc_rport_state new ) 
51422{ unsigned int __cil_tmp3 ;
51423  unsigned long __cil_tmp4 ;
51424  unsigned long __cil_tmp5 ;
51425  enum fc_rport_state __cil_tmp6 ;
51426  unsigned int __cil_tmp7 ;
51427  unsigned long __cil_tmp8 ;
51428  unsigned long __cil_tmp9 ;
51429  unsigned long __cil_tmp10 ;
51430  unsigned long __cil_tmp11 ;
51431
51432  {
51433  {
51434#line 232
51435  __cil_tmp3 = (unsigned int )new;
51436#line 232
51437  __cil_tmp4 = (unsigned long )rdata;
51438#line 232
51439  __cil_tmp5 = __cil_tmp4 + 20;
51440#line 232
51441  __cil_tmp6 = *((enum fc_rport_state *)__cil_tmp5);
51442#line 232
51443  __cil_tmp7 = (unsigned int )__cil_tmp6;
51444#line 232
51445  if (__cil_tmp7 != __cil_tmp3) {
51446#line 233
51447    __cil_tmp8 = (unsigned long )rdata;
51448#line 233
51449    __cil_tmp9 = __cil_tmp8 + 56;
51450#line 233
51451    *((unsigned int *)__cil_tmp9) = 0U;
51452  } else {
51453
51454  }
51455  }
51456#line 234
51457  __cil_tmp10 = (unsigned long )rdata;
51458#line 234
51459  __cil_tmp11 = __cil_tmp10 + 20;
51460#line 234
51461  *((enum fc_rport_state *)__cil_tmp11) = new;
51462#line 235
51463  return;
51464}
51465}
51466#line 241 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
51467static void fc_rport_work(struct work_struct *work ) 
51468{ u32 port_id ;
51469  struct fc_rport_priv *rdata ;
51470  struct work_struct    *__mptr ;
51471  struct fc_rport_libfc_priv *rpriv ;
51472  enum fc_rport_event event ;
51473  struct fc_lport *lport ;
51474  struct fc_rport_operations *rport_ops ;
51475  struct fc_rport_identifiers ids ;
51476  struct fc_rport *rport ;
51477  struct fc4_prov *prov ;
51478  u8 type ;
51479  long tmp___7 ;
51480  long tmp___8 ;
51481  long tmp___9 ;
51482  long tmp___10 ;
51483  long tmp___11 ;
51484  long tmp___12 ;
51485  long tmp___13 ;
51486  long tmp___14 ;
51487  long tmp___15 ;
51488  struct fc_rport_priv *__cil_tmp22 ;
51489  unsigned long __cil_tmp23 ;
51490  unsigned long __cil_tmp24 ;
51491  struct work_struct *__cil_tmp25 ;
51492  unsigned int __cil_tmp26 ;
51493  char *__cil_tmp27 ;
51494  char *__cil_tmp28 ;
51495  unsigned long __cil_tmp29 ;
51496  unsigned long __cil_tmp30 ;
51497  struct mutex *__cil_tmp31 ;
51498  unsigned long __cil_tmp32 ;
51499  unsigned long __cil_tmp33 ;
51500  unsigned long __cil_tmp34 ;
51501  unsigned long __cil_tmp35 ;
51502  unsigned long __cil_tmp36 ;
51503  unsigned long __cil_tmp37 ;
51504  unsigned int *__cil_tmp38 ;
51505  unsigned int __cil_tmp39 ;
51506  unsigned int __cil_tmp40 ;
51507  int __cil_tmp41 ;
51508  int __cil_tmp42 ;
51509  long __cil_tmp43 ;
51510  struct fc_lport *__cil_tmp44 ;
51511  struct Scsi_Host *__cil_tmp45 ;
51512  unsigned long __cil_tmp46 ;
51513  unsigned long __cil_tmp47 ;
51514  unsigned int __cil_tmp48 ;
51515  unsigned long __cil_tmp49 ;
51516  unsigned long __cil_tmp50 ;
51517  unsigned long __cil_tmp51 ;
51518  u32 __cil_tmp52 ;
51519  unsigned int __cil_tmp53 ;
51520  struct fc_rport_identifiers *__cil_tmp54 ;
51521  unsigned long __cil_tmp55 ;
51522  unsigned long __cil_tmp56 ;
51523  unsigned long __cil_tmp57 ;
51524  unsigned long __cil_tmp58 ;
51525  unsigned long __cil_tmp59 ;
51526  unsigned long __cil_tmp60 ;
51527  unsigned long __cil_tmp61 ;
51528  unsigned long __cil_tmp62 ;
51529  struct kref *__cil_tmp63 ;
51530  unsigned long __cil_tmp64 ;
51531  unsigned long __cil_tmp65 ;
51532  struct mutex *__cil_tmp66 ;
51533  struct Scsi_Host *__cil_tmp67 ;
51534  unsigned int *__cil_tmp68 ;
51535  unsigned int __cil_tmp69 ;
51536  unsigned int __cil_tmp70 ;
51537  int __cil_tmp71 ;
51538  int __cil_tmp72 ;
51539  long __cil_tmp73 ;
51540  struct fc_lport *__cil_tmp74 ;
51541  struct Scsi_Host *__cil_tmp75 ;
51542  unsigned long __cil_tmp76 ;
51543  unsigned long __cil_tmp77 ;
51544  unsigned int __cil_tmp78 ;
51545  unsigned long __cil_tmp79 ;
51546  unsigned long __cil_tmp80 ;
51547  unsigned long __cil_tmp81 ;
51548  u32 __cil_tmp82 ;
51549  unsigned long __cil_tmp83 ;
51550  unsigned long __cil_tmp84 ;
51551  unsigned long __cil_tmp85 ;
51552  int (*__cil_tmp86)(struct fc_rport_priv * ) ;
51553  unsigned long __cil_tmp87 ;
51554  unsigned long __cil_tmp88 ;
51555  struct kref *__cil_tmp89 ;
51556  unsigned long __cil_tmp90 ;
51557  unsigned long __cil_tmp91 ;
51558  unsigned long __cil_tmp92 ;
51559  void (*__cil_tmp93)(struct kref * ) ;
51560  unsigned long __cil_tmp94 ;
51561  unsigned long __cil_tmp95 ;
51562  struct mutex *__cil_tmp96 ;
51563  unsigned long __cil_tmp97 ;
51564  unsigned long __cil_tmp98 ;
51565  unsigned int *__cil_tmp99 ;
51566  unsigned int __cil_tmp100 ;
51567  unsigned int __cil_tmp101 ;
51568  int __cil_tmp102 ;
51569  int __cil_tmp103 ;
51570  long __cil_tmp104 ;
51571  struct fc_lport *__cil_tmp105 ;
51572  struct Scsi_Host *__cil_tmp106 ;
51573  unsigned long __cil_tmp107 ;
51574  unsigned long __cil_tmp108 ;
51575  unsigned int __cil_tmp109 ;
51576  unsigned long __cil_tmp110 ;
51577  unsigned long __cil_tmp111 ;
51578  unsigned long __cil_tmp112 ;
51579  u32 __cil_tmp113 ;
51580  unsigned long __cil_tmp114 ;
51581  unsigned long __cil_tmp115 ;
51582  unsigned long __cil_tmp116 ;
51583  unsigned long __cil_tmp117 ;
51584  u16 __cil_tmp118 ;
51585  unsigned long __cil_tmp119 ;
51586  unsigned long __cil_tmp120 ;
51587  unsigned long __cil_tmp121 ;
51588  unsigned long __cil_tmp122 ;
51589  unsigned long __cil_tmp123 ;
51590  unsigned long __cil_tmp124 ;
51591  void *__cil_tmp125 ;
51592  unsigned long __cil_tmp126 ;
51593  unsigned long __cil_tmp127 ;
51594  unsigned long __cil_tmp128 ;
51595  unsigned long __cil_tmp129 ;
51596  unsigned long __cil_tmp130 ;
51597  unsigned long __cil_tmp131 ;
51598  unsigned long __cil_tmp132 ;
51599  unsigned long __cil_tmp133 ;
51600  unsigned long __cil_tmp134 ;
51601  unsigned long __cil_tmp135 ;
51602  unsigned long __cil_tmp136 ;
51603  unsigned long __cil_tmp137 ;
51604  unsigned long __cil_tmp138 ;
51605  unsigned long __cil_tmp139 ;
51606  unsigned long __cil_tmp140 ;
51607  unsigned long __cil_tmp141 ;
51608  unsigned long __cil_tmp142 ;
51609  unsigned long __cil_tmp143 ;
51610  struct mutex *__cil_tmp144 ;
51611  unsigned int *__cil_tmp145 ;
51612  unsigned int __cil_tmp146 ;
51613  unsigned int __cil_tmp147 ;
51614  int __cil_tmp148 ;
51615  int __cil_tmp149 ;
51616  long __cil_tmp150 ;
51617  struct fc_lport *__cil_tmp151 ;
51618  struct Scsi_Host *__cil_tmp152 ;
51619  unsigned long __cil_tmp153 ;
51620  unsigned long __cil_tmp154 ;
51621  unsigned int __cil_tmp155 ;
51622  unsigned long __cil_tmp156 ;
51623  unsigned long __cil_tmp157 ;
51624  unsigned long __cil_tmp158 ;
51625  u32 __cil_tmp159 ;
51626  unsigned int __cil_tmp160 ;
51627  void (*__cil_tmp161)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ) ;
51628  unsigned long __cil_tmp162 ;
51629  unsigned long __cil_tmp163 ;
51630  unsigned int *__cil_tmp164 ;
51631  unsigned int __cil_tmp165 ;
51632  unsigned int __cil_tmp166 ;
51633  int __cil_tmp167 ;
51634  int __cil_tmp168 ;
51635  long __cil_tmp169 ;
51636  struct fc_lport *__cil_tmp170 ;
51637  struct Scsi_Host *__cil_tmp171 ;
51638  unsigned long __cil_tmp172 ;
51639  unsigned long __cil_tmp173 ;
51640  unsigned int __cil_tmp174 ;
51641  unsigned long __cil_tmp175 ;
51642  unsigned long __cil_tmp176 ;
51643  unsigned long __cil_tmp177 ;
51644  u32 __cil_tmp178 ;
51645  unsigned int __cil_tmp179 ;
51646  unsigned long __cil_tmp180 ;
51647  unsigned long __cil_tmp181 ;
51648  void (*__cil_tmp182)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ) ;
51649  unsigned long __cil_tmp183 ;
51650  unsigned long __cil_tmp184 ;
51651  struct kref *__cil_tmp185 ;
51652  unsigned long __cil_tmp186 ;
51653  unsigned long __cil_tmp187 ;
51654  unsigned long __cil_tmp188 ;
51655  void (*__cil_tmp189)(struct kref * ) ;
51656  unsigned long __cil_tmp190 ;
51657  unsigned long __cil_tmp191 ;
51658  int __cil_tmp192 ;
51659  unsigned long __cil_tmp193 ;
51660  unsigned long __cil_tmp194 ;
51661  unsigned long __cil_tmp195 ;
51662  unsigned long __cil_tmp196 ;
51663  unsigned long __cil_tmp197 ;
51664  unsigned long __cil_tmp198 ;
51665  void (*__cil_tmp199)(struct fc_rport_priv * ) ;
51666  int __cil_tmp200 ;
51667  int __cil_tmp201 ;
51668  unsigned long __cil_tmp202 ;
51669  unsigned long __cil_tmp203 ;
51670  unsigned long __cil_tmp204 ;
51671  unsigned long __cil_tmp205 ;
51672  unsigned long __cil_tmp206 ;
51673  struct mutex *__cil_tmp207 ;
51674  unsigned int *__cil_tmp208 ;
51675  unsigned int __cil_tmp209 ;
51676  unsigned int __cil_tmp210 ;
51677  int __cil_tmp211 ;
51678  int __cil_tmp212 ;
51679  long __cil_tmp213 ;
51680  struct fc_lport *__cil_tmp214 ;
51681  struct Scsi_Host *__cil_tmp215 ;
51682  unsigned long __cil_tmp216 ;
51683  unsigned long __cil_tmp217 ;
51684  unsigned int __cil_tmp218 ;
51685  unsigned long __cil_tmp219 ;
51686  unsigned long __cil_tmp220 ;
51687  unsigned long __cil_tmp221 ;
51688  u32 __cil_tmp222 ;
51689  unsigned int __cil_tmp223 ;
51690  void (*__cil_tmp224)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ) ;
51691  unsigned long __cil_tmp225 ;
51692  unsigned long __cil_tmp226 ;
51693  unsigned int *__cil_tmp227 ;
51694  unsigned int __cil_tmp228 ;
51695  unsigned int __cil_tmp229 ;
51696  int __cil_tmp230 ;
51697  int __cil_tmp231 ;
51698  long __cil_tmp232 ;
51699  struct fc_lport *__cil_tmp233 ;
51700  struct Scsi_Host *__cil_tmp234 ;
51701  unsigned long __cil_tmp235 ;
51702  unsigned long __cil_tmp236 ;
51703  unsigned int __cil_tmp237 ;
51704  unsigned long __cil_tmp238 ;
51705  unsigned long __cil_tmp239 ;
51706  unsigned long __cil_tmp240 ;
51707  u32 __cil_tmp241 ;
51708  unsigned int __cil_tmp242 ;
51709  unsigned long __cil_tmp243 ;
51710  unsigned long __cil_tmp244 ;
51711  void (*__cil_tmp245)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ) ;
51712  unsigned long __cil_tmp246 ;
51713  unsigned long __cil_tmp247 ;
51714  struct delayed_work *__cil_tmp248 ;
51715  unsigned long __cil_tmp249 ;
51716  unsigned long __cil_tmp250 ;
51717  unsigned long __cil_tmp251 ;
51718  void (*__cil_tmp252)(struct fc_lport * , u32 s_id , u32 d_id ) ;
51719  u32 __cil_tmp253 ;
51720  unsigned long __cil_tmp254 ;
51721  unsigned long __cil_tmp255 ;
51722  unsigned long __cil_tmp256 ;
51723  void (*__cil_tmp257)(struct fc_lport * , u32 s_id , u32 d_id ) ;
51724  u32 __cil_tmp258 ;
51725  unsigned long __cil_tmp259 ;
51726  unsigned long __cil_tmp260 ;
51727  void *__cil_tmp261 ;
51728  unsigned long __cil_tmp262 ;
51729  unsigned long __cil_tmp263 ;
51730  unsigned long __cil_tmp264 ;
51731  unsigned long __cil_tmp265 ;
51732  struct mutex *__cil_tmp266 ;
51733  unsigned long __cil_tmp267 ;
51734  unsigned long __cil_tmp268 ;
51735  void *__cil_tmp269 ;
51736  unsigned long __cil_tmp270 ;
51737  unsigned long __cil_tmp271 ;
51738  struct mutex *__cil_tmp272 ;
51739  unsigned long __cil_tmp273 ;
51740  unsigned long __cil_tmp274 ;
51741  unsigned long __cil_tmp275 ;
51742  struct mutex *__cil_tmp276 ;
51743  unsigned long __cil_tmp277 ;
51744  unsigned long __cil_tmp278 ;
51745  struct mutex *__cil_tmp279 ;
51746  unsigned long __cil_tmp280 ;
51747  unsigned long __cil_tmp281 ;
51748  enum fc_rport_state __cil_tmp282 ;
51749  unsigned int __cil_tmp283 ;
51750  unsigned long __cil_tmp284 ;
51751  unsigned long __cil_tmp285 ;
51752  unsigned long __cil_tmp286 ;
51753  unsigned long __cil_tmp287 ;
51754  struct mutex *__cil_tmp288 ;
51755  unsigned long __cil_tmp289 ;
51756  unsigned long __cil_tmp290 ;
51757  struct kref *__cil_tmp291 ;
51758  unsigned long __cil_tmp292 ;
51759  unsigned long __cil_tmp293 ;
51760  unsigned long __cil_tmp294 ;
51761  void (*__cil_tmp295)(struct kref * ) ;
51762  int __cil_tmp296 ;
51763  unsigned long __cil_tmp297 ;
51764  unsigned long __cil_tmp298 ;
51765  u16 __cil_tmp299 ;
51766  int __cil_tmp300 ;
51767  unsigned long __cil_tmp301 ;
51768  unsigned long __cil_tmp302 ;
51769  u8 __cil_tmp303 ;
51770  unsigned int __cil_tmp304 ;
51771  unsigned long __cil_tmp305 ;
51772  unsigned long __cil_tmp306 ;
51773  unsigned int __cil_tmp307 ;
51774  unsigned long __cil_tmp308 ;
51775  unsigned long __cil_tmp309 ;
51776  unsigned long __cil_tmp310 ;
51777  unsigned long __cil_tmp311 ;
51778  unsigned int __cil_tmp312 ;
51779  unsigned long __cil_tmp313 ;
51780  unsigned long __cil_tmp314 ;
51781  unsigned int *__cil_tmp315 ;
51782  unsigned int __cil_tmp316 ;
51783  unsigned int __cil_tmp317 ;
51784  int __cil_tmp318 ;
51785  int __cil_tmp319 ;
51786  long __cil_tmp320 ;
51787  struct fc_lport *__cil_tmp321 ;
51788  struct Scsi_Host *__cil_tmp322 ;
51789  unsigned long __cil_tmp323 ;
51790  unsigned long __cil_tmp324 ;
51791  unsigned int __cil_tmp325 ;
51792  unsigned long __cil_tmp326 ;
51793  unsigned long __cil_tmp327 ;
51794  unsigned long __cil_tmp328 ;
51795  u32 __cil_tmp329 ;
51796  unsigned long __cil_tmp330 ;
51797  unsigned long __cil_tmp331 ;
51798  struct mutex *__cil_tmp332 ;
51799  unsigned int *__cil_tmp333 ;
51800  unsigned int __cil_tmp334 ;
51801  unsigned int __cil_tmp335 ;
51802  int __cil_tmp336 ;
51803  int __cil_tmp337 ;
51804  long __cil_tmp338 ;
51805  struct fc_lport *__cil_tmp339 ;
51806  struct Scsi_Host *__cil_tmp340 ;
51807  unsigned long __cil_tmp341 ;
51808  unsigned long __cil_tmp342 ;
51809  unsigned int __cil_tmp343 ;
51810  unsigned long __cil_tmp344 ;
51811  unsigned long __cil_tmp345 ;
51812  unsigned long __cil_tmp346 ;
51813  u32 __cil_tmp347 ;
51814  unsigned long __cil_tmp348 ;
51815  unsigned long __cil_tmp349 ;
51816  struct list_head *__cil_tmp350 ;
51817  unsigned long __cil_tmp351 ;
51818  unsigned long __cil_tmp352 ;
51819  struct mutex *__cil_tmp353 ;
51820  unsigned long __cil_tmp354 ;
51821  unsigned long __cil_tmp355 ;
51822  struct kref *__cil_tmp356 ;
51823  unsigned long __cil_tmp357 ;
51824  unsigned long __cil_tmp358 ;
51825  unsigned long __cil_tmp359 ;
51826  void (*__cil_tmp360)(struct kref * ) ;
51827  unsigned long __cil_tmp361 ;
51828  unsigned long __cil_tmp362 ;
51829  unsigned long __cil_tmp363 ;
51830  unsigned long __cil_tmp364 ;
51831  enum fc_rport_state __cil_tmp365 ;
51832  unsigned int __cil_tmp366 ;
51833  unsigned long __cil_tmp367 ;
51834  unsigned long __cil_tmp368 ;
51835  struct mutex *__cil_tmp369 ;
51836  unsigned long __cil_tmp370 ;
51837  unsigned long __cil_tmp371 ;
51838  unsigned long __cil_tmp372 ;
51839  struct mutex *__cil_tmp373 ;
51840  unsigned long __cil_tmp374 ;
51841  unsigned long __cil_tmp375 ;
51842  struct mutex *__cil_tmp376 ;
51843
51844  {
51845  {
51846#line 245
51847  __mptr = (struct work_struct    *)work;
51848#line 245
51849  __cil_tmp22 = (struct fc_rport_priv *)0;
51850#line 245
51851  __cil_tmp23 = (unsigned long )__cil_tmp22;
51852#line 245
51853  __cil_tmp24 = __cil_tmp23 + 288;
51854#line 245
51855  __cil_tmp25 = (struct work_struct *)__cil_tmp24;
51856#line 245
51857  __cil_tmp26 = (unsigned int )__cil_tmp25;
51858#line 245
51859  __cil_tmp27 = (char *)__mptr;
51860#line 245
51861  __cil_tmp28 = __cil_tmp27 - __cil_tmp26;
51862#line 245
51863  rdata = (struct fc_rport_priv *)__cil_tmp28;
51864#line 248
51865  lport = *((struct fc_lport **)rdata);
51866#line 255
51867  __cil_tmp29 = (unsigned long )rdata;
51868#line 255
51869  __cil_tmp30 = __cil_tmp29 + 72;
51870#line 255
51871  __cil_tmp31 = (struct mutex *)__cil_tmp30;
51872#line 255
51873  mutex_lock(__cil_tmp31);
51874#line 256
51875  __cil_tmp32 = (unsigned long )rdata;
51876#line 256
51877  __cil_tmp33 = __cil_tmp32 + 256;
51878#line 256
51879  event = *((enum fc_rport_event *)__cil_tmp33);
51880#line 257
51881  __cil_tmp34 = (unsigned long )rdata;
51882#line 257
51883  __cil_tmp35 = __cil_tmp34 + 264;
51884#line 257
51885  rport_ops = *((struct fc_rport_operations **)__cil_tmp35);
51886#line 258
51887  __cil_tmp36 = (unsigned long )rdata;
51888#line 258
51889  __cil_tmp37 = __cil_tmp36 + 8;
51890#line 258
51891  rport = *((struct fc_rport **)__cil_tmp37);
51892  }
51893  {
51894#line 260
51895  while (1) {
51896    while_continue: /* CIL Label */ ;
51897    {
51898#line 260
51899    __cil_tmp38 = & fc_debug_logging;
51900#line 260
51901    __cil_tmp39 = *__cil_tmp38;
51902#line 260
51903    __cil_tmp40 = __cil_tmp39 & 8U;
51904#line 260
51905    __cil_tmp41 = ! __cil_tmp40;
51906#line 260
51907    __cil_tmp42 = ! __cil_tmp41;
51908#line 260
51909    __cil_tmp43 = (long )__cil_tmp42;
51910#line 260
51911    tmp___7 = __builtin_expect(__cil_tmp43, 0L);
51912    }
51913#line 260
51914    if (tmp___7) {
51915      {
51916#line 260
51917      while (1) {
51918        while_continue___0: /* CIL Label */ ;
51919        {
51920#line 260
51921        __cil_tmp44 = *((struct fc_lport **)rdata);
51922#line 260
51923        __cil_tmp45 = *((struct Scsi_Host **)__cil_tmp44);
51924#line 260
51925        __cil_tmp46 = (unsigned long )__cil_tmp45;
51926#line 260
51927        __cil_tmp47 = __cil_tmp46 + 308;
51928#line 260
51929        __cil_tmp48 = *((unsigned int *)__cil_tmp47);
51930#line 260
51931        __cil_tmp49 = 24 + 16;
51932#line 260
51933        __cil_tmp50 = (unsigned long )rdata;
51934#line 260
51935        __cil_tmp51 = __cil_tmp50 + __cil_tmp49;
51936#line 260
51937        __cil_tmp52 = *((u32 *)__cil_tmp51);
51938#line 260
51939        __cil_tmp53 = (unsigned int )event;
51940#line 260
51941        printk("<6>host%u: rport %6.6x: work event %u\n", __cil_tmp48, __cil_tmp52,
51942               __cil_tmp53);
51943        }
51944#line 260
51945        goto while_break___0;
51946      }
51947      while_break___0: /* CIL Label */ ;
51948      }
51949    } else {
51950
51951    }
51952#line 260
51953    goto while_break;
51954  }
51955  while_break: /* CIL Label */ ;
51956  }
51957#line 263
51958  if ((int )event == 1) {
51959#line 263
51960    goto case_1;
51961  } else
51962#line 304
51963  if ((int )event == 2) {
51964#line 304
51965    goto case_2;
51966  } else
51967#line 305
51968  if ((int )event == 4) {
51969#line 305
51970    goto case_2;
51971  } else
51972#line 306
51973  if ((int )event == 3) {
51974#line 306
51975    goto case_2;
51976  } else {
51977    {
51978#line 377
51979    goto switch_default;
51980#line 262
51981    if (0) {
51982      case_1: /* CIL Label */ 
51983      {
51984#line 264
51985      __cil_tmp54 = & ids;
51986#line 264
51987      __cil_tmp55 = (unsigned long )rdata;
51988#line 264
51989      __cil_tmp56 = __cil_tmp55 + 24;
51990#line 264
51991      *__cil_tmp54 = *((struct fc_rport_identifiers *)__cil_tmp56);
51992#line 265
51993      __cil_tmp57 = (unsigned long )rdata;
51994#line 265
51995      __cil_tmp58 = __cil_tmp57 + 256;
51996#line 265
51997      *((enum fc_rport_event *)__cil_tmp58) = (enum fc_rport_event )0;
51998#line 266
51999      __cil_tmp59 = (unsigned long )rdata;
52000#line 266
52001      __cil_tmp60 = __cil_tmp59 + 60;
52002#line 266
52003      *((unsigned int *)__cil_tmp60) = 0U;
52004#line 267
52005      __cil_tmp61 = (unsigned long )rdata;
52006#line 267
52007      __cil_tmp62 = __cil_tmp61 + 16;
52008#line 267
52009      __cil_tmp63 = (struct kref *)__cil_tmp62;
52010#line 267
52011      kref_get(__cil_tmp63);
52012#line 268
52013      __cil_tmp64 = (unsigned long )rdata;
52014#line 268
52015      __cil_tmp65 = __cil_tmp64 + 72;
52016#line 268
52017      __cil_tmp66 = (struct mutex *)__cil_tmp65;
52018#line 268
52019      mutex_unlock(__cil_tmp66);
52020      }
52021#line 270
52022      if (! rport) {
52023        {
52024#line 271
52025        __cil_tmp67 = *((struct Scsi_Host **)lport);
52026#line 271
52027        rport = fc_remote_port_add(__cil_tmp67, 0, & ids);
52028        }
52029      } else {
52030
52031      }
52032#line 272
52033      if (! rport) {
52034        {
52035#line 273
52036        while (1) {
52037          while_continue___1: /* CIL Label */ ;
52038          {
52039#line 273
52040          __cil_tmp68 = & fc_debug_logging;
52041#line 273
52042          __cil_tmp69 = *__cil_tmp68;
52043#line 273
52044          __cil_tmp70 = __cil_tmp69 & 8U;
52045#line 273
52046          __cil_tmp71 = ! __cil_tmp70;
52047#line 273
52048          __cil_tmp72 = ! __cil_tmp71;
52049#line 273
52050          __cil_tmp73 = (long )__cil_tmp72;
52051#line 273
52052          tmp___8 = __builtin_expect(__cil_tmp73, 0L);
52053          }
52054#line 273
52055          if (tmp___8) {
52056            {
52057#line 273
52058            while (1) {
52059              while_continue___2: /* CIL Label */ ;
52060              {
52061#line 273
52062              __cil_tmp74 = *((struct fc_lport **)rdata);
52063#line 273
52064              __cil_tmp75 = *((struct Scsi_Host **)__cil_tmp74);
52065#line 273
52066              __cil_tmp76 = (unsigned long )__cil_tmp75;
52067#line 273
52068              __cil_tmp77 = __cil_tmp76 + 308;
52069#line 273
52070              __cil_tmp78 = *((unsigned int *)__cil_tmp77);
52071#line 273
52072              __cil_tmp79 = 24 + 16;
52073#line 273
52074              __cil_tmp80 = (unsigned long )rdata;
52075#line 273
52076              __cil_tmp81 = __cil_tmp80 + __cil_tmp79;
52077#line 273
52078              __cil_tmp82 = *((u32 *)__cil_tmp81);
52079#line 273
52080              printk("<6>host%u: rport %6.6x: Failed to add the rport\n", __cil_tmp78,
52081                     __cil_tmp82);
52082              }
52083#line 273
52084              goto while_break___2;
52085            }
52086            while_break___2: /* CIL Label */ ;
52087            }
52088          } else {
52089
52090          }
52091#line 273
52092          goto while_break___1;
52093        }
52094        while_break___1: /* CIL Label */ ;
52095        }
52096        {
52097#line 274
52098        __cil_tmp83 = 328 + 176;
52099#line 274
52100        __cil_tmp84 = (unsigned long )lport;
52101#line 274
52102        __cil_tmp85 = __cil_tmp84 + __cil_tmp83;
52103#line 274
52104        __cil_tmp86 = *((int (**)(struct fc_rport_priv * ))__cil_tmp85);
52105#line 274
52106        (*__cil_tmp86)(rdata);
52107#line 275
52108        __cil_tmp87 = (unsigned long )rdata;
52109#line 275
52110        __cil_tmp88 = __cil_tmp87 + 16;
52111#line 275
52112        __cil_tmp89 = (struct kref *)__cil_tmp88;
52113#line 275
52114        __cil_tmp90 = 328 + 200;
52115#line 275
52116        __cil_tmp91 = (unsigned long )lport;
52117#line 275
52118        __cil_tmp92 = __cil_tmp91 + __cil_tmp90;
52119#line 275
52120        __cil_tmp93 = *((void (**)(struct kref * ))__cil_tmp92);
52121#line 275
52122        kref_put(__cil_tmp89, __cil_tmp93);
52123        }
52124#line 276
52125        return;
52126      } else {
52127
52128      }
52129      {
52130#line 278
52131      __cil_tmp94 = (unsigned long )rdata;
52132#line 278
52133      __cil_tmp95 = __cil_tmp94 + 72;
52134#line 278
52135      __cil_tmp96 = (struct mutex *)__cil_tmp95;
52136#line 278
52137      mutex_lock(__cil_tmp96);
52138      }
52139      {
52140#line 279
52141      __cil_tmp97 = (unsigned long )rdata;
52142#line 279
52143      __cil_tmp98 = __cil_tmp97 + 8;
52144#line 279
52145      if (*((struct fc_rport **)__cil_tmp98)) {
52146        {
52147#line 280
52148        while (1) {
52149          while_continue___3: /* CIL Label */ ;
52150          {
52151#line 280
52152          __cil_tmp99 = & fc_debug_logging;
52153#line 280
52154          __cil_tmp100 = *__cil_tmp99;
52155#line 280
52156          __cil_tmp101 = __cil_tmp100 & 8U;
52157#line 280
52158          __cil_tmp102 = ! __cil_tmp101;
52159#line 280
52160          __cil_tmp103 = ! __cil_tmp102;
52161#line 280
52162          __cil_tmp104 = (long )__cil_tmp103;
52163#line 280
52164          tmp___9 = __builtin_expect(__cil_tmp104, 0L);
52165          }
52166#line 280
52167          if (tmp___9) {
52168            {
52169#line 280
52170            while (1) {
52171              while_continue___4: /* CIL Label */ ;
52172              {
52173#line 280
52174              __cil_tmp105 = *((struct fc_lport **)rdata);
52175#line 280
52176              __cil_tmp106 = *((struct Scsi_Host **)__cil_tmp105);
52177#line 280
52178              __cil_tmp107 = (unsigned long )__cil_tmp106;
52179#line 280
52180              __cil_tmp108 = __cil_tmp107 + 308;
52181#line 280
52182              __cil_tmp109 = *((unsigned int *)__cil_tmp108);
52183#line 280
52184              __cil_tmp110 = 24 + 16;
52185#line 280
52186              __cil_tmp111 = (unsigned long )rdata;
52187#line 280
52188              __cil_tmp112 = __cil_tmp111 + __cil_tmp110;
52189#line 280
52190              __cil_tmp113 = *((u32 *)__cil_tmp112);
52191#line 280
52192              printk("<6>host%u: rport %6.6x: rport already allocated\n", __cil_tmp109,
52193                     __cil_tmp113);
52194              }
52195#line 280
52196              goto while_break___4;
52197            }
52198            while_break___4: /* CIL Label */ ;
52199            }
52200          } else {
52201
52202          }
52203#line 280
52204          goto while_break___3;
52205        }
52206        while_break___3: /* CIL Label */ ;
52207        }
52208      } else {
52209
52210      }
52211      }
52212      {
52213#line 281
52214      __cil_tmp114 = (unsigned long )rdata;
52215#line 281
52216      __cil_tmp115 = __cil_tmp114 + 8;
52217#line 281
52218      *((struct fc_rport **)__cil_tmp115) = rport;
52219#line 282
52220      __cil_tmp116 = (unsigned long )rdata;
52221#line 282
52222      __cil_tmp117 = __cil_tmp116 + 54;
52223#line 282
52224      __cil_tmp118 = *((u16 *)__cil_tmp117);
52225#line 282
52226      *((u32 *)rport) = (u32 )__cil_tmp118;
52227#line 283
52228      __cil_tmp119 = (unsigned long )rport;
52229#line 283
52230      __cil_tmp120 = __cil_tmp119 + 4;
52231#line 283
52232      __cil_tmp121 = (unsigned long )rdata;
52233#line 283
52234      __cil_tmp122 = __cil_tmp121 + 320;
52235#line 283
52236      *((u32 *)__cil_tmp120) = *((u32 *)__cil_tmp122);
52237#line 285
52238      __cil_tmp123 = (unsigned long )rport;
52239#line 285
52240      __cil_tmp124 = __cil_tmp123 + 56;
52241#line 285
52242      __cil_tmp125 = *((void **)__cil_tmp124);
52243#line 285
52244      rpriv = (struct fc_rport_libfc_priv *)__cil_tmp125;
52245#line 286
52246      *((struct fc_lport **)rpriv) = lport;
52247#line 287
52248      __cil_tmp126 = (unsigned long )rpriv;
52249#line 287
52250      __cil_tmp127 = __cil_tmp126 + 8;
52251#line 287
52252      __cil_tmp128 = (unsigned long )rdata;
52253#line 287
52254      __cil_tmp129 = __cil_tmp128 + 20;
52255#line 287
52256      *((enum fc_rport_state *)__cil_tmp127) = *((enum fc_rport_state *)__cil_tmp129);
52257#line 288
52258      __cil_tmp130 = (unsigned long )rpriv;
52259#line 288
52260      __cil_tmp131 = __cil_tmp130 + 12;
52261#line 288
52262      __cil_tmp132 = (unsigned long )rdata;
52263#line 288
52264      __cil_tmp133 = __cil_tmp132 + 48;
52265#line 288
52266      *((u16 *)__cil_tmp131) = *((u16 *)__cil_tmp133);
52267#line 289
52268      __cil_tmp134 = (unsigned long )rpriv;
52269#line 289
52270      __cil_tmp135 = __cil_tmp134 + 16;
52271#line 289
52272      __cil_tmp136 = (unsigned long )rdata;
52273#line 289
52274      __cil_tmp137 = __cil_tmp136 + 64;
52275#line 289
52276      *((unsigned int *)__cil_tmp135) = *((unsigned int *)__cil_tmp137);
52277#line 290
52278      __cil_tmp138 = (unsigned long )rpriv;
52279#line 290
52280      __cil_tmp139 = __cil_tmp138 + 20;
52281#line 290
52282      __cil_tmp140 = (unsigned long )rdata;
52283#line 290
52284      __cil_tmp141 = __cil_tmp140 + 68;
52285#line 290
52286      *((unsigned int *)__cil_tmp139) = *((unsigned int *)__cil_tmp141);
52287#line 291
52288      __cil_tmp142 = (unsigned long )rdata;
52289#line 291
52290      __cil_tmp143 = __cil_tmp142 + 72;
52291#line 291
52292      __cil_tmp144 = (struct mutex *)__cil_tmp143;
52293#line 291
52294      mutex_unlock(__cil_tmp144);
52295      }
52296#line 293
52297      if (rport_ops) {
52298#line 293
52299        if (*((void (**)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ))rport_ops)) {
52300          {
52301#line 294
52302          while (1) {
52303            while_continue___5: /* CIL Label */ ;
52304            {
52305#line 294
52306            __cil_tmp145 = & fc_debug_logging;
52307#line 294
52308            __cil_tmp146 = *__cil_tmp145;
52309#line 294
52310            __cil_tmp147 = __cil_tmp146 & 8U;
52311#line 294
52312            __cil_tmp148 = ! __cil_tmp147;
52313#line 294
52314            __cil_tmp149 = ! __cil_tmp148;
52315#line 294
52316            __cil_tmp150 = (long )__cil_tmp149;
52317#line 294
52318            tmp___10 = __builtin_expect(__cil_tmp150, 0L);
52319            }
52320#line 294
52321            if (tmp___10) {
52322              {
52323#line 294
52324              while (1) {
52325                while_continue___6: /* CIL Label */ ;
52326                {
52327#line 294
52328                __cil_tmp151 = *((struct fc_lport **)rdata);
52329#line 294
52330                __cil_tmp152 = *((struct Scsi_Host **)__cil_tmp151);
52331#line 294
52332                __cil_tmp153 = (unsigned long )__cil_tmp152;
52333#line 294
52334                __cil_tmp154 = __cil_tmp153 + 308;
52335#line 294
52336                __cil_tmp155 = *((unsigned int *)__cil_tmp154);
52337#line 294
52338                __cil_tmp156 = 24 + 16;
52339#line 294
52340                __cil_tmp157 = (unsigned long )rdata;
52341#line 294
52342                __cil_tmp158 = __cil_tmp157 + __cil_tmp156;
52343#line 294
52344                __cil_tmp159 = *((u32 *)__cil_tmp158);
52345#line 294
52346                __cil_tmp160 = (unsigned int )event;
52347#line 294
52348                printk("<6>host%u: rport %6.6x: callback ev %d\n", __cil_tmp155, __cil_tmp159,
52349                       __cil_tmp160);
52350                }
52351#line 294
52352                goto while_break___6;
52353              }
52354              while_break___6: /* CIL Label */ ;
52355              }
52356            } else {
52357
52358            }
52359#line 294
52360            goto while_break___5;
52361          }
52362          while_break___5: /* CIL Label */ ;
52363          }
52364          {
52365#line 295
52366          __cil_tmp161 = *((void (**)(struct fc_lport * , struct fc_rport_priv * ,
52367                                      enum fc_rport_event  ))rport_ops);
52368#line 295
52369          (*__cil_tmp161)(lport, rdata, event);
52370          }
52371        } else {
52372
52373        }
52374      } else {
52375
52376      }
52377      {
52378#line 297
52379      __cil_tmp162 = (unsigned long )rdata;
52380#line 297
52381      __cil_tmp163 = __cil_tmp162 + 352;
52382#line 297
52383      if (*((void (**)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ))__cil_tmp163)) {
52384        {
52385#line 298
52386        while (1) {
52387          while_continue___7: /* CIL Label */ ;
52388          {
52389#line 298
52390          __cil_tmp164 = & fc_debug_logging;
52391#line 298
52392          __cil_tmp165 = *__cil_tmp164;
52393#line 298
52394          __cil_tmp166 = __cil_tmp165 & 8U;
52395#line 298
52396          __cil_tmp167 = ! __cil_tmp166;
52397#line 298
52398          __cil_tmp168 = ! __cil_tmp167;
52399#line 298
52400          __cil_tmp169 = (long )__cil_tmp168;
52401#line 298
52402          tmp___11 = __builtin_expect(__cil_tmp169, 0L);
52403          }
52404#line 298
52405          if (tmp___11) {
52406            {
52407#line 298
52408            while (1) {
52409              while_continue___8: /* CIL Label */ ;
52410              {
52411#line 298
52412              __cil_tmp170 = *((struct fc_lport **)rdata);
52413#line 298
52414              __cil_tmp171 = *((struct Scsi_Host **)__cil_tmp170);
52415#line 298
52416              __cil_tmp172 = (unsigned long )__cil_tmp171;
52417#line 298
52418              __cil_tmp173 = __cil_tmp172 + 308;
52419#line 298
52420              __cil_tmp174 = *((unsigned int *)__cil_tmp173);
52421#line 298
52422              __cil_tmp175 = 24 + 16;
52423#line 298
52424              __cil_tmp176 = (unsigned long )rdata;
52425#line 298
52426              __cil_tmp177 = __cil_tmp176 + __cil_tmp175;
52427#line 298
52428              __cil_tmp178 = *((u32 *)__cil_tmp177);
52429#line 298
52430              __cil_tmp179 = (unsigned int )event;
52431#line 298
52432              printk("<6>host%u: rport %6.6x: lld callback ev %d\n", __cil_tmp174,
52433                     __cil_tmp178, __cil_tmp179);
52434              }
52435#line 298
52436              goto while_break___8;
52437            }
52438            while_break___8: /* CIL Label */ ;
52439            }
52440          } else {
52441
52442          }
52443#line 298
52444          goto while_break___7;
52445        }
52446        while_break___7: /* CIL Label */ ;
52447        }
52448        {
52449#line 299
52450        __cil_tmp180 = (unsigned long )rdata;
52451#line 299
52452        __cil_tmp181 = __cil_tmp180 + 352;
52453#line 299
52454        __cil_tmp182 = *((void (**)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ))__cil_tmp181);
52455#line 299
52456        (*__cil_tmp182)(lport, rdata, event);
52457        }
52458      } else {
52459
52460      }
52461      }
52462      {
52463#line 301
52464      __cil_tmp183 = (unsigned long )rdata;
52465#line 301
52466      __cil_tmp184 = __cil_tmp183 + 16;
52467#line 301
52468      __cil_tmp185 = (struct kref *)__cil_tmp184;
52469#line 301
52470      __cil_tmp186 = 328 + 200;
52471#line 301
52472      __cil_tmp187 = (unsigned long )lport;
52473#line 301
52474      __cil_tmp188 = __cil_tmp187 + __cil_tmp186;
52475#line 301
52476      __cil_tmp189 = *((void (**)(struct kref * ))__cil_tmp188);
52477#line 301
52478      kref_put(__cil_tmp185, __cil_tmp189);
52479      }
52480#line 302
52481      goto switch_break;
52482      case_2: /* CIL Label */ 
52483      case_4: /* CIL Label */ 
52484      case_3: /* CIL Label */ 
52485      {
52486#line 307
52487      __cil_tmp190 = (unsigned long )rdata;
52488#line 307
52489      __cil_tmp191 = __cil_tmp190 + 324;
52490#line 307
52491      if (*((u16 *)__cil_tmp191)) {
52492        {
52493#line 308
52494        mutex_lock(& fc_prov_mutex);
52495#line 309
52496        type = (u8 )1;
52497        }
52498        {
52499#line 309
52500        while (1) {
52501          while_continue___9: /* CIL Label */ ;
52502          {
52503#line 309
52504          __cil_tmp192 = (int )type;
52505#line 309
52506          if (__cil_tmp192 < 9) {
52507
52508          } else {
52509#line 309
52510            goto while_break___9;
52511          }
52512          }
52513#line 310
52514          __cil_tmp193 = type * 8UL;
52515#line 310
52516          __cil_tmp194 = (unsigned long )(fc_passive_prov) + __cil_tmp193;
52517#line 310
52518          prov = *((struct fc4_prov **)__cil_tmp194);
52519#line 311
52520          if (prov) {
52521            {
52522#line 311
52523            __cil_tmp195 = (unsigned long )prov;
52524#line 311
52525            __cil_tmp196 = __cil_tmp195 + 8;
52526#line 311
52527            if (*((void (**)(struct fc_rport_priv * ))__cil_tmp196)) {
52528              {
52529#line 312
52530              __cil_tmp197 = (unsigned long )prov;
52531#line 312
52532              __cil_tmp198 = __cil_tmp197 + 8;
52533#line 312
52534              __cil_tmp199 = *((void (**)(struct fc_rport_priv * ))__cil_tmp198);
52535#line 312
52536              (*__cil_tmp199)(rdata);
52537              }
52538            } else {
52539
52540            }
52541            }
52542          } else {
52543
52544          }
52545#line 309
52546          __cil_tmp200 = (int )type;
52547#line 309
52548          __cil_tmp201 = __cil_tmp200 + 1;
52549#line 309
52550          type = (u8 )__cil_tmp201;
52551        }
52552        while_break___9: /* CIL Label */ ;
52553        }
52554        {
52555#line 314
52556        mutex_unlock(& fc_prov_mutex);
52557        }
52558      } else {
52559
52560      }
52561      }
52562      {
52563#line 316
52564      __cil_tmp202 = 24 + 16;
52565#line 316
52566      __cil_tmp203 = (unsigned long )rdata;
52567#line 316
52568      __cil_tmp204 = __cil_tmp203 + __cil_tmp202;
52569#line 316
52570      port_id = *((u32 *)__cil_tmp204);
52571#line 317
52572      __cil_tmp205 = (unsigned long )rdata;
52573#line 317
52574      __cil_tmp206 = __cil_tmp205 + 72;
52575#line 317
52576      __cil_tmp207 = (struct mutex *)__cil_tmp206;
52577#line 317
52578      mutex_unlock(__cil_tmp207);
52579      }
52580#line 319
52581      if (rport_ops) {
52582#line 319
52583        if (*((void (**)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ))rport_ops)) {
52584          {
52585#line 320
52586          while (1) {
52587            while_continue___10: /* CIL Label */ ;
52588            {
52589#line 320
52590            __cil_tmp208 = & fc_debug_logging;
52591#line 320
52592            __cil_tmp209 = *__cil_tmp208;
52593#line 320
52594            __cil_tmp210 = __cil_tmp209 & 8U;
52595#line 320
52596            __cil_tmp211 = ! __cil_tmp210;
52597#line 320
52598            __cil_tmp212 = ! __cil_tmp211;
52599#line 320
52600            __cil_tmp213 = (long )__cil_tmp212;
52601#line 320
52602            tmp___12 = __builtin_expect(__cil_tmp213, 0L);
52603            }
52604#line 320
52605            if (tmp___12) {
52606              {
52607#line 320
52608              while (1) {
52609                while_continue___11: /* CIL Label */ ;
52610                {
52611#line 320
52612                __cil_tmp214 = *((struct fc_lport **)rdata);
52613#line 320
52614                __cil_tmp215 = *((struct Scsi_Host **)__cil_tmp214);
52615#line 320
52616                __cil_tmp216 = (unsigned long )__cil_tmp215;
52617#line 320
52618                __cil_tmp217 = __cil_tmp216 + 308;
52619#line 320
52620                __cil_tmp218 = *((unsigned int *)__cil_tmp217);
52621#line 320
52622                __cil_tmp219 = 24 + 16;
52623#line 320
52624                __cil_tmp220 = (unsigned long )rdata;
52625#line 320
52626                __cil_tmp221 = __cil_tmp220 + __cil_tmp219;
52627#line 320
52628                __cil_tmp222 = *((u32 *)__cil_tmp221);
52629#line 320
52630                __cil_tmp223 = (unsigned int )event;
52631#line 320
52632                printk("<6>host%u: rport %6.6x: callback ev %d\n", __cil_tmp218, __cil_tmp222,
52633                       __cil_tmp223);
52634                }
52635#line 320
52636                goto while_break___11;
52637              }
52638              while_break___11: /* CIL Label */ ;
52639              }
52640            } else {
52641
52642            }
52643#line 320
52644            goto while_break___10;
52645          }
52646          while_break___10: /* CIL Label */ ;
52647          }
52648          {
52649#line 321
52650          __cil_tmp224 = *((void (**)(struct fc_lport * , struct fc_rport_priv * ,
52651                                      enum fc_rport_event  ))rport_ops);
52652#line 321
52653          (*__cil_tmp224)(lport, rdata, event);
52654          }
52655        } else {
52656
52657        }
52658      } else {
52659
52660      }
52661      {
52662#line 323
52663      __cil_tmp225 = (unsigned long )rdata;
52664#line 323
52665      __cil_tmp226 = __cil_tmp225 + 352;
52666#line 323
52667      if (*((void (**)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ))__cil_tmp226)) {
52668        {
52669#line 324
52670        while (1) {
52671          while_continue___12: /* CIL Label */ ;
52672          {
52673#line 324
52674          __cil_tmp227 = & fc_debug_logging;
52675#line 324
52676          __cil_tmp228 = *__cil_tmp227;
52677#line 324
52678          __cil_tmp229 = __cil_tmp228 & 8U;
52679#line 324
52680          __cil_tmp230 = ! __cil_tmp229;
52681#line 324
52682          __cil_tmp231 = ! __cil_tmp230;
52683#line 324
52684          __cil_tmp232 = (long )__cil_tmp231;
52685#line 324
52686          tmp___13 = __builtin_expect(__cil_tmp232, 0L);
52687          }
52688#line 324
52689          if (tmp___13) {
52690            {
52691#line 324
52692            while (1) {
52693              while_continue___13: /* CIL Label */ ;
52694              {
52695#line 324
52696              __cil_tmp233 = *((struct fc_lport **)rdata);
52697#line 324
52698              __cil_tmp234 = *((struct Scsi_Host **)__cil_tmp233);
52699#line 324
52700              __cil_tmp235 = (unsigned long )__cil_tmp234;
52701#line 324
52702              __cil_tmp236 = __cil_tmp235 + 308;
52703#line 324
52704              __cil_tmp237 = *((unsigned int *)__cil_tmp236);
52705#line 324
52706              __cil_tmp238 = 24 + 16;
52707#line 324
52708              __cil_tmp239 = (unsigned long )rdata;
52709#line 324
52710              __cil_tmp240 = __cil_tmp239 + __cil_tmp238;
52711#line 324
52712              __cil_tmp241 = *((u32 *)__cil_tmp240);
52713#line 324
52714              __cil_tmp242 = (unsigned int )event;
52715#line 324
52716              printk("<6>host%u: rport %6.6x: lld callback ev %d\n", __cil_tmp237,
52717                     __cil_tmp241, __cil_tmp242);
52718              }
52719#line 324
52720              goto while_break___13;
52721            }
52722            while_break___13: /* CIL Label */ ;
52723            }
52724          } else {
52725
52726          }
52727#line 324
52728          goto while_break___12;
52729        }
52730        while_break___12: /* CIL Label */ ;
52731        }
52732        {
52733#line 325
52734        __cil_tmp243 = (unsigned long )rdata;
52735#line 325
52736        __cil_tmp244 = __cil_tmp243 + 352;
52737#line 325
52738        __cil_tmp245 = *((void (**)(struct fc_lport * , struct fc_rport_priv * , enum fc_rport_event  ))__cil_tmp244);
52739#line 325
52740        (*__cil_tmp245)(lport, rdata, event);
52741        }
52742      } else {
52743
52744      }
52745      }
52746      {
52747#line 327
52748      __cil_tmp246 = (unsigned long )rdata;
52749#line 327
52750      __cil_tmp247 = __cil_tmp246 + 144;
52751#line 327
52752      __cil_tmp248 = (struct delayed_work *)__cil_tmp247;
52753#line 327
52754      cancel_delayed_work_sync(__cil_tmp248);
52755#line 332
52756      __cil_tmp249 = 328 + 120;
52757#line 332
52758      __cil_tmp250 = (unsigned long )lport;
52759#line 332
52760      __cil_tmp251 = __cil_tmp250 + __cil_tmp249;
52761#line 332
52762      __cil_tmp252 = *((void (**)(struct fc_lport * , u32 s_id , u32 d_id ))__cil_tmp251);
52763#line 332
52764      __cil_tmp253 = (u32 )0;
52765#line 332
52766      (*__cil_tmp252)(lport, __cil_tmp253, port_id);
52767#line 333
52768      __cil_tmp254 = 328 + 120;
52769#line 333
52770      __cil_tmp255 = (unsigned long )lport;
52771#line 333
52772      __cil_tmp256 = __cil_tmp255 + __cil_tmp254;
52773#line 333
52774      __cil_tmp257 = *((void (**)(struct fc_lport * , u32 s_id , u32 d_id ))__cil_tmp256);
52775#line 333
52776      __cil_tmp258 = (u32 )0;
52777#line 333
52778      (*__cil_tmp257)(lport, port_id, __cil_tmp258);
52779      }
52780#line 335
52781      if (rport) {
52782        {
52783#line 336
52784        __cil_tmp259 = (unsigned long )rport;
52785#line 336
52786        __cil_tmp260 = __cil_tmp259 + 56;
52787#line 336
52788        __cil_tmp261 = *((void **)__cil_tmp260);
52789#line 336
52790        rpriv = (struct fc_rport_libfc_priv *)__cil_tmp261;
52791#line 337
52792        __cil_tmp262 = (unsigned long )rpriv;
52793#line 337
52794        __cil_tmp263 = __cil_tmp262 + 8;
52795#line 337
52796        *((enum fc_rport_state *)__cil_tmp263) = (enum fc_rport_state )8;
52797#line 338
52798        __cil_tmp264 = (unsigned long )rdata;
52799#line 338
52800        __cil_tmp265 = __cil_tmp264 + 72;
52801#line 338
52802        __cil_tmp266 = (struct mutex *)__cil_tmp265;
52803#line 338
52804        mutex_lock(__cil_tmp266);
52805#line 339
52806        __cil_tmp267 = (unsigned long )rdata;
52807#line 339
52808        __cil_tmp268 = __cil_tmp267 + 8;
52809#line 339
52810        __cil_tmp269 = (void *)0;
52811#line 339
52812        *((struct fc_rport **)__cil_tmp268) = (struct fc_rport *)__cil_tmp269;
52813#line 340
52814        __cil_tmp270 = (unsigned long )rdata;
52815#line 340
52816        __cil_tmp271 = __cil_tmp270 + 72;
52817#line 340
52818        __cil_tmp272 = (struct mutex *)__cil_tmp271;
52819#line 340
52820        mutex_unlock(__cil_tmp272);
52821#line 341
52822        fc_remote_port_delete(rport);
52823        }
52824      } else {
52825
52826      }
52827      {
52828#line 344
52829      __cil_tmp273 = 56 + 40;
52830#line 344
52831      __cil_tmp274 = (unsigned long )lport;
52832#line 344
52833      __cil_tmp275 = __cil_tmp274 + __cil_tmp273;
52834#line 344
52835      __cil_tmp276 = (struct mutex *)__cil_tmp275;
52836#line 344
52837      mutex_lock(__cil_tmp276);
52838#line 345
52839      __cil_tmp277 = (unsigned long )rdata;
52840#line 345
52841      __cil_tmp278 = __cil_tmp277 + 72;
52842#line 345
52843      __cil_tmp279 = (struct mutex *)__cil_tmp278;
52844#line 345
52845      mutex_lock(__cil_tmp279);
52846      }
52847      {
52848#line 346
52849      __cil_tmp280 = (unsigned long )rdata;
52850#line 346
52851      __cil_tmp281 = __cil_tmp280 + 20;
52852#line 346
52853      __cil_tmp282 = *((enum fc_rport_state *)__cil_tmp281);
52854#line 346
52855      __cil_tmp283 = (unsigned int )__cil_tmp282;
52856#line 346
52857      if (__cil_tmp283 == 8U) {
52858#line 347
52859        if (port_id == 16777212U) {
52860          {
52861#line 348
52862          __cil_tmp284 = (unsigned long )rdata;
52863#line 348
52864          __cil_tmp285 = __cil_tmp284 + 256;
52865#line 348
52866          *((enum fc_rport_event *)__cil_tmp285) = (enum fc_rport_event )0;
52867#line 349
52868          __cil_tmp286 = (unsigned long )rdata;
52869#line 349
52870          __cil_tmp287 = __cil_tmp286 + 72;
52871#line 349
52872          __cil_tmp288 = (struct mutex *)__cil_tmp287;
52873#line 349
52874          mutex_unlock(__cil_tmp288);
52875#line 350
52876          __cil_tmp289 = (unsigned long )rdata;
52877#line 350
52878          __cil_tmp290 = __cil_tmp289 + 16;
52879#line 350
52880          __cil_tmp291 = (struct kref *)__cil_tmp290;
52881#line 350
52882          __cil_tmp292 = 328 + 200;
52883#line 350
52884          __cil_tmp293 = (unsigned long )lport;
52885#line 350
52886          __cil_tmp294 = __cil_tmp293 + __cil_tmp292;
52887#line 350
52888          __cil_tmp295 = *((void (**)(struct kref * ))__cil_tmp294);
52889#line 350
52890          kref_put(__cil_tmp291, __cil_tmp295);
52891          }
52892        } else {
52893          {
52894#line 351
52895          __cil_tmp296 = 1 << 2;
52896#line 351
52897          __cil_tmp297 = (unsigned long )rdata;
52898#line 351
52899          __cil_tmp298 = __cil_tmp297 + 48;
52900#line 351
52901          __cil_tmp299 = *((u16 *)__cil_tmp298);
52902#line 351
52903          __cil_tmp300 = (int )__cil_tmp299;
52904#line 351
52905          if (__cil_tmp300 & __cil_tmp296) {
52906            {
52907#line 351
52908            __cil_tmp301 = (unsigned long )lport;
52909#line 351
52910            __cil_tmp302 = __cil_tmp301 + 881;
52911#line 351
52912            __cil_tmp303 = *((u8 *)__cil_tmp302);
52913#line 351
52914            __cil_tmp304 = (unsigned int )__cil_tmp303;
52915#line 351
52916            __cil_tmp305 = (unsigned long )rdata;
52917#line 351
52918            __cil_tmp306 = __cil_tmp305 + 60;
52919#line 351
52920            __cil_tmp307 = *((unsigned int *)__cil_tmp306);
52921#line 351
52922            if (__cil_tmp307 < __cil_tmp304) {
52923#line 354
52924              __cil_tmp308 = (unsigned long )rdata;
52925#line 354
52926              __cil_tmp309 = __cil_tmp308 + 60;
52927#line 354
52928              __cil_tmp310 = (unsigned long )rdata;
52929#line 354
52930              __cil_tmp311 = __cil_tmp310 + 60;
52931#line 354
52932              __cil_tmp312 = *((unsigned int *)__cil_tmp311);
52933#line 354
52934              *((unsigned int *)__cil_tmp309) = __cil_tmp312 + 1U;
52935#line 355
52936              __cil_tmp313 = (unsigned long )rdata;
52937#line 355
52938              __cil_tmp314 = __cil_tmp313 + 256;
52939#line 355
52940              *((enum fc_rport_event *)__cil_tmp314) = (enum fc_rport_event )0;
52941              {
52942#line 356
52943              while (1) {
52944                while_continue___14: /* CIL Label */ ;
52945                {
52946#line 356
52947                __cil_tmp315 = & fc_debug_logging;
52948#line 356
52949                __cil_tmp316 = *__cil_tmp315;
52950#line 356
52951                __cil_tmp317 = __cil_tmp316 & 8U;
52952#line 356
52953                __cil_tmp318 = ! __cil_tmp317;
52954#line 356
52955                __cil_tmp319 = ! __cil_tmp318;
52956#line 356
52957                __cil_tmp320 = (long )__cil_tmp319;
52958#line 356
52959                tmp___14 = __builtin_expect(__cil_tmp320, 0L);
52960                }
52961#line 356
52962                if (tmp___14) {
52963                  {
52964#line 356
52965                  while (1) {
52966                    while_continue___15: /* CIL Label */ ;
52967                    {
52968#line 356
52969                    __cil_tmp321 = *((struct fc_lport **)rdata);
52970#line 356
52971                    __cil_tmp322 = *((struct Scsi_Host **)__cil_tmp321);
52972#line 356
52973                    __cil_tmp323 = (unsigned long )__cil_tmp322;
52974#line 356
52975                    __cil_tmp324 = __cil_tmp323 + 308;
52976#line 356
52977                    __cil_tmp325 = *((unsigned int *)__cil_tmp324);
52978#line 356
52979                    __cil_tmp326 = 24 + 16;
52980#line 356
52981                    __cil_tmp327 = (unsigned long )rdata;
52982#line 356
52983                    __cil_tmp328 = __cil_tmp327 + __cil_tmp326;
52984#line 356
52985                    __cil_tmp329 = *((u32 *)__cil_tmp328);
52986#line 356
52987                    printk("<6>host%u: rport %6.6x: work restart\n", __cil_tmp325,
52988                           __cil_tmp329);
52989                    }
52990#line 356
52991                    goto while_break___15;
52992                  }
52993                  while_break___15: /* CIL Label */ ;
52994                  }
52995                } else {
52996
52997                }
52998#line 356
52999                goto while_break___14;
53000              }
53001              while_break___14: /* CIL Label */ ;
53002              }
53003              {
53004#line 357
53005              fc_rport_enter_flogi(rdata);
53006#line 358
53007              __cil_tmp330 = (unsigned long )rdata;
53008#line 358
53009              __cil_tmp331 = __cil_tmp330 + 72;
53010#line 358
53011              __cil_tmp332 = (struct mutex *)__cil_tmp331;
53012#line 358
53013              mutex_unlock(__cil_tmp332);
53014              }
53015            } else {
53016#line 351
53017              goto _L;
53018            }
53019            }
53020          } else {
53021            _L: /* CIL Label */ 
53022            {
53023#line 360
53024            while (1) {
53025              while_continue___16: /* CIL Label */ ;
53026              {
53027#line 360
53028              __cil_tmp333 = & fc_debug_logging;
53029#line 360
53030              __cil_tmp334 = *__cil_tmp333;
53031#line 360
53032              __cil_tmp335 = __cil_tmp334 & 8U;
53033#line 360
53034              __cil_tmp336 = ! __cil_tmp335;
53035#line 360
53036              __cil_tmp337 = ! __cil_tmp336;
53037#line 360
53038              __cil_tmp338 = (long )__cil_tmp337;
53039#line 360
53040              tmp___15 = __builtin_expect(__cil_tmp338, 0L);
53041              }
53042#line 360
53043              if (tmp___15) {
53044                {
53045#line 360
53046                while (1) {
53047                  while_continue___17: /* CIL Label */ ;
53048                  {
53049#line 360
53050                  __cil_tmp339 = *((struct fc_lport **)rdata);
53051#line 360
53052                  __cil_tmp340 = *((struct Scsi_Host **)__cil_tmp339);
53053#line 360
53054                  __cil_tmp341 = (unsigned long )__cil_tmp340;
53055#line 360
53056                  __cil_tmp342 = __cil_tmp341 + 308;
53057#line 360
53058                  __cil_tmp343 = *((unsigned int *)__cil_tmp342);
53059#line 360
53060                  __cil_tmp344 = 24 + 16;
53061#line 360
53062                  __cil_tmp345 = (unsigned long )rdata;
53063#line 360
53064                  __cil_tmp346 = __cil_tmp345 + __cil_tmp344;
53065#line 360
53066                  __cil_tmp347 = *((u32 *)__cil_tmp346);
53067#line 360
53068                  printk("<6>host%u: rport %6.6x: work delete\n", __cil_tmp343, __cil_tmp347);
53069                  }
53070#line 360
53071                  goto while_break___17;
53072                }
53073                while_break___17: /* CIL Label */ ;
53074                }
53075              } else {
53076
53077              }
53078#line 360
53079              goto while_break___16;
53080            }
53081            while_break___16: /* CIL Label */ ;
53082            }
53083            {
53084#line 361
53085            __cil_tmp348 = (unsigned long )rdata;
53086#line 361
53087            __cil_tmp349 = __cil_tmp348 + 272;
53088#line 361
53089            __cil_tmp350 = (struct list_head *)__cil_tmp349;
53090#line 361
53091            list_del_rcu(__cil_tmp350);
53092#line 362
53093            __cil_tmp351 = (unsigned long )rdata;
53094#line 362
53095            __cil_tmp352 = __cil_tmp351 + 72;
53096#line 362
53097            __cil_tmp353 = (struct mutex *)__cil_tmp352;
53098#line 362
53099            mutex_unlock(__cil_tmp353);
53100#line 363
53101            __cil_tmp354 = (unsigned long )rdata;
53102#line 363
53103            __cil_tmp355 = __cil_tmp354 + 16;
53104#line 363
53105            __cil_tmp356 = (struct kref *)__cil_tmp355;
53106#line 363
53107            __cil_tmp357 = 328 + 200;
53108#line 363
53109            __cil_tmp358 = (unsigned long )lport;
53110#line 363
53111            __cil_tmp359 = __cil_tmp358 + __cil_tmp357;
53112#line 363
53113            __cil_tmp360 = *((void (**)(struct kref * ))__cil_tmp359);
53114#line 363
53115            kref_put(__cil_tmp356, __cil_tmp360);
53116            }
53117          }
53118          }
53119        }
53120      } else {
53121#line 369
53122        __cil_tmp361 = (unsigned long )rdata;
53123#line 369
53124        __cil_tmp362 = __cil_tmp361 + 256;
53125#line 369
53126        *((enum fc_rport_event *)__cil_tmp362) = (enum fc_rport_event )0;
53127        {
53128#line 370
53129        __cil_tmp363 = (unsigned long )rdata;
53130#line 370
53131        __cil_tmp364 = __cil_tmp363 + 20;
53132#line 370
53133        __cil_tmp365 = *((enum fc_rport_state *)__cil_tmp364);
53134#line 370
53135        __cil_tmp366 = (unsigned int )__cil_tmp365;
53136#line 370
53137        if (__cil_tmp366 == 6U) {
53138          {
53139#line 371
53140          fc_rport_enter_ready(rdata);
53141          }
53142        } else {
53143
53144        }
53145        }
53146        {
53147#line 372
53148        __cil_tmp367 = (unsigned long )rdata;
53149#line 372
53150        __cil_tmp368 = __cil_tmp367 + 72;
53151#line 372
53152        __cil_tmp369 = (struct mutex *)__cil_tmp368;
53153#line 372
53154        mutex_unlock(__cil_tmp369);
53155        }
53156      }
53157      }
53158      {
53159#line 374
53160      __cil_tmp370 = 56 + 40;
53161#line 374
53162      __cil_tmp371 = (unsigned long )lport;
53163#line 374
53164      __cil_tmp372 = __cil_tmp371 + __cil_tmp370;
53165#line 374
53166      __cil_tmp373 = (struct mutex *)__cil_tmp372;
53167#line 374
53168      mutex_unlock(__cil_tmp373);
53169      }
53170#line 375
53171      goto switch_break;
53172      switch_default: /* CIL Label */ 
53173      {
53174#line 378
53175      __cil_tmp374 = (unsigned long )rdata;
53176#line 378
53177      __cil_tmp375 = __cil_tmp374 + 72;
53178#line 378
53179      __cil_tmp376 = (struct mutex *)__cil_tmp375;
53180#line 378
53181      mutex_unlock(__cil_tmp376);
53182      }
53183#line 379
53184      goto switch_break;
53185    } else {
53186      switch_break: /* CIL Label */ ;
53187    }
53188    }
53189  }
53190#line 381
53191  return;
53192}
53193}
53194#line 395 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
53195static int fc_rport_login(struct fc_rport_priv *rdata ) 
53196{ long tmp___7 ;
53197  long tmp___8 ;
53198  long tmp___9 ;
53199  unsigned long __cil_tmp5 ;
53200  unsigned long __cil_tmp6 ;
53201  struct mutex *__cil_tmp7 ;
53202  unsigned long __cil_tmp8 ;
53203  unsigned long __cil_tmp9 ;
53204  int __cil_tmp10 ;
53205  unsigned long __cil_tmp11 ;
53206  unsigned long __cil_tmp12 ;
53207  u16 __cil_tmp13 ;
53208  int __cil_tmp14 ;
53209  int __cil_tmp15 ;
53210  unsigned long __cil_tmp16 ;
53211  unsigned long __cil_tmp17 ;
53212  enum fc_rport_state __cil_tmp18 ;
53213  unsigned int *__cil_tmp19 ;
53214  unsigned int __cil_tmp20 ;
53215  unsigned int __cil_tmp21 ;
53216  int __cil_tmp22 ;
53217  int __cil_tmp23 ;
53218  long __cil_tmp24 ;
53219  struct fc_lport *__cil_tmp25 ;
53220  struct Scsi_Host *__cil_tmp26 ;
53221  unsigned long __cil_tmp27 ;
53222  unsigned long __cil_tmp28 ;
53223  unsigned int __cil_tmp29 ;
53224  unsigned long __cil_tmp30 ;
53225  unsigned long __cil_tmp31 ;
53226  unsigned long __cil_tmp32 ;
53227  u32 __cil_tmp33 ;
53228  unsigned int *__cil_tmp34 ;
53229  unsigned int __cil_tmp35 ;
53230  unsigned int __cil_tmp36 ;
53231  int __cil_tmp37 ;
53232  int __cil_tmp38 ;
53233  long __cil_tmp39 ;
53234  struct fc_lport *__cil_tmp40 ;
53235  struct Scsi_Host *__cil_tmp41 ;
53236  unsigned long __cil_tmp42 ;
53237  unsigned long __cil_tmp43 ;
53238  unsigned int __cil_tmp44 ;
53239  unsigned long __cil_tmp45 ;
53240  unsigned long __cil_tmp46 ;
53241  unsigned long __cil_tmp47 ;
53242  u32 __cil_tmp48 ;
53243  unsigned int *__cil_tmp49 ;
53244  unsigned int __cil_tmp50 ;
53245  unsigned int __cil_tmp51 ;
53246  int __cil_tmp52 ;
53247  int __cil_tmp53 ;
53248  long __cil_tmp54 ;
53249  struct fc_lport *__cil_tmp55 ;
53250  struct Scsi_Host *__cil_tmp56 ;
53251  unsigned long __cil_tmp57 ;
53252  unsigned long __cil_tmp58 ;
53253  unsigned int __cil_tmp59 ;
53254  unsigned long __cil_tmp60 ;
53255  unsigned long __cil_tmp61 ;
53256  unsigned long __cil_tmp62 ;
53257  u32 __cil_tmp63 ;
53258  unsigned long __cil_tmp64 ;
53259  unsigned long __cil_tmp65 ;
53260  struct mutex *__cil_tmp66 ;
53261
53262  {
53263  {
53264#line 397
53265  __cil_tmp5 = (unsigned long )rdata;
53266#line 397
53267  __cil_tmp6 = __cil_tmp5 + 72;
53268#line 397
53269  __cil_tmp7 = (struct mutex *)__cil_tmp6;
53270#line 397
53271  mutex_lock(__cil_tmp7);
53272#line 399
53273  __cil_tmp8 = (unsigned long )rdata;
53274#line 399
53275  __cil_tmp9 = __cil_tmp8 + 48;
53276#line 399
53277  __cil_tmp10 = 1 << 2;
53278#line 399
53279  __cil_tmp11 = (unsigned long )rdata;
53280#line 399
53281  __cil_tmp12 = __cil_tmp11 + 48;
53282#line 399
53283  __cil_tmp13 = *((u16 *)__cil_tmp12);
53284#line 399
53285  __cil_tmp14 = (int )__cil_tmp13;
53286#line 399
53287  __cil_tmp15 = __cil_tmp14 | __cil_tmp10;
53288#line 399
53289  *((u16 *)__cil_tmp9) = (u16 )__cil_tmp15;
53290  }
53291  {
53292#line 400
53293  __cil_tmp16 = (unsigned long )rdata;
53294#line 400
53295  __cil_tmp17 = __cil_tmp16 + 20;
53296#line 400
53297  __cil_tmp18 = *((enum fc_rport_state *)__cil_tmp17);
53298#line 401
53299  if ((int )__cil_tmp18 == 6) {
53300#line 401
53301    goto case_6;
53302  } else
53303#line 405
53304  if ((int )__cil_tmp18 == 8) {
53305#line 405
53306    goto case_8;
53307  } else {
53308    {
53309#line 408
53310    goto switch_default;
53311#line 400
53312    if (0) {
53313      case_6: /* CIL Label */ 
53314      {
53315#line 402
53316      while (1) {
53317        while_continue: /* CIL Label */ ;
53318        {
53319#line 402
53320        __cil_tmp19 = & fc_debug_logging;
53321#line 402
53322        __cil_tmp20 = *__cil_tmp19;
53323#line 402
53324        __cil_tmp21 = __cil_tmp20 & 8U;
53325#line 402
53326        __cil_tmp22 = ! __cil_tmp21;
53327#line 402
53328        __cil_tmp23 = ! __cil_tmp22;
53329#line 402
53330        __cil_tmp24 = (long )__cil_tmp23;
53331#line 402
53332        tmp___7 = __builtin_expect(__cil_tmp24, 0L);
53333        }
53334#line 402
53335        if (tmp___7) {
53336          {
53337#line 402
53338          while (1) {
53339            while_continue___0: /* CIL Label */ ;
53340            {
53341#line 402
53342            __cil_tmp25 = *((struct fc_lport **)rdata);
53343#line 402
53344            __cil_tmp26 = *((struct Scsi_Host **)__cil_tmp25);
53345#line 402
53346            __cil_tmp27 = (unsigned long )__cil_tmp26;
53347#line 402
53348            __cil_tmp28 = __cil_tmp27 + 308;
53349#line 402
53350            __cil_tmp29 = *((unsigned int *)__cil_tmp28);
53351#line 402
53352            __cil_tmp30 = 24 + 16;
53353#line 402
53354            __cil_tmp31 = (unsigned long )rdata;
53355#line 402
53356            __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
53357#line 402
53358            __cil_tmp33 = *((u32 *)__cil_tmp32);
53359#line 402
53360            printk("<6>host%u: rport %6.6x: ADISC port\n", __cil_tmp29, __cil_tmp33);
53361            }
53362#line 402
53363            goto while_break___0;
53364          }
53365          while_break___0: /* CIL Label */ ;
53366          }
53367        } else {
53368
53369        }
53370#line 402
53371        goto while_break;
53372      }
53373      while_break: /* CIL Label */ ;
53374      }
53375      {
53376#line 403
53377      fc_rport_enter_adisc(rdata);
53378      }
53379#line 404
53380      goto switch_break;
53381      case_8: /* CIL Label */ 
53382      {
53383#line 406
53384      while (1) {
53385        while_continue___1: /* CIL Label */ ;
53386        {
53387#line 406
53388        __cil_tmp34 = & fc_debug_logging;
53389#line 406
53390        __cil_tmp35 = *__cil_tmp34;
53391#line 406
53392        __cil_tmp36 = __cil_tmp35 & 8U;
53393#line 406
53394        __cil_tmp37 = ! __cil_tmp36;
53395#line 406
53396        __cil_tmp38 = ! __cil_tmp37;
53397#line 406
53398        __cil_tmp39 = (long )__cil_tmp38;
53399#line 406
53400        tmp___8 = __builtin_expect(__cil_tmp39, 0L);
53401        }
53402#line 406
53403        if (tmp___8) {
53404          {
53405#line 406
53406          while (1) {
53407            while_continue___2: /* CIL Label */ ;
53408            {
53409#line 406
53410            __cil_tmp40 = *((struct fc_lport **)rdata);
53411#line 406
53412            __cil_tmp41 = *((struct Scsi_Host **)__cil_tmp40);
53413#line 406
53414            __cil_tmp42 = (unsigned long )__cil_tmp41;
53415#line 406
53416            __cil_tmp43 = __cil_tmp42 + 308;
53417#line 406
53418            __cil_tmp44 = *((unsigned int *)__cil_tmp43);
53419#line 406
53420            __cil_tmp45 = 24 + 16;
53421#line 406
53422            __cil_tmp46 = (unsigned long )rdata;
53423#line 406
53424            __cil_tmp47 = __cil_tmp46 + __cil_tmp45;
53425#line 406
53426            __cil_tmp48 = *((u32 *)__cil_tmp47);
53427#line 406
53428            printk("<6>host%u: rport %6.6x: Restart deleted port\n", __cil_tmp44,
53429                   __cil_tmp48);
53430            }
53431#line 406
53432            goto while_break___2;
53433          }
53434          while_break___2: /* CIL Label */ ;
53435          }
53436        } else {
53437
53438        }
53439#line 406
53440        goto while_break___1;
53441      }
53442      while_break___1: /* CIL Label */ ;
53443      }
53444#line 407
53445      goto switch_break;
53446      switch_default: /* CIL Label */ 
53447      {
53448#line 409
53449      while (1) {
53450        while_continue___3: /* CIL Label */ ;
53451        {
53452#line 409
53453        __cil_tmp49 = & fc_debug_logging;
53454#line 409
53455        __cil_tmp50 = *__cil_tmp49;
53456#line 409
53457        __cil_tmp51 = __cil_tmp50 & 8U;
53458#line 409
53459        __cil_tmp52 = ! __cil_tmp51;
53460#line 409
53461        __cil_tmp53 = ! __cil_tmp52;
53462#line 409
53463        __cil_tmp54 = (long )__cil_tmp53;
53464#line 409
53465        tmp___9 = __builtin_expect(__cil_tmp54, 0L);
53466        }
53467#line 409
53468        if (tmp___9) {
53469          {
53470#line 409
53471          while (1) {
53472            while_continue___4: /* CIL Label */ ;
53473            {
53474#line 409
53475            __cil_tmp55 = *((struct fc_lport **)rdata);
53476#line 409
53477            __cil_tmp56 = *((struct Scsi_Host **)__cil_tmp55);
53478#line 409
53479            __cil_tmp57 = (unsigned long )__cil_tmp56;
53480#line 409
53481            __cil_tmp58 = __cil_tmp57 + 308;
53482#line 409
53483            __cil_tmp59 = *((unsigned int *)__cil_tmp58);
53484#line 409
53485            __cil_tmp60 = 24 + 16;
53486#line 409
53487            __cil_tmp61 = (unsigned long )rdata;
53488#line 409
53489            __cil_tmp62 = __cil_tmp61 + __cil_tmp60;
53490#line 409
53491            __cil_tmp63 = *((u32 *)__cil_tmp62);
53492#line 409
53493            printk("<6>host%u: rport %6.6x: Login to port\n", __cil_tmp59, __cil_tmp63);
53494            }
53495#line 409
53496            goto while_break___4;
53497          }
53498          while_break___4: /* CIL Label */ ;
53499          }
53500        } else {
53501
53502        }
53503#line 409
53504        goto while_break___3;
53505      }
53506      while_break___3: /* CIL Label */ ;
53507      }
53508      {
53509#line 410
53510      fc_rport_enter_flogi(rdata);
53511      }
53512#line 411
53513      goto switch_break;
53514    } else {
53515      switch_break: /* CIL Label */ ;
53516    }
53517    }
53518  }
53519  }
53520  {
53521#line 413
53522  __cil_tmp64 = (unsigned long )rdata;
53523#line 413
53524  __cil_tmp65 = __cil_tmp64 + 72;
53525#line 413
53526  __cil_tmp66 = (struct mutex *)__cil_tmp65;
53527#line 413
53528  mutex_unlock(__cil_tmp66);
53529  }
53530#line 415
53531  return (0);
53532}
53533}
53534#line 432 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
53535static void fc_rport_enter_delete(struct fc_rport_priv *rdata , enum fc_rport_event event ) 
53536{ long tmp___7 ;
53537  unsigned long __cil_tmp4 ;
53538  unsigned long __cil_tmp5 ;
53539  enum fc_rport_state __cil_tmp6 ;
53540  unsigned int __cil_tmp7 ;
53541  unsigned int *__cil_tmp8 ;
53542  unsigned int __cil_tmp9 ;
53543  unsigned int __cil_tmp10 ;
53544  int __cil_tmp11 ;
53545  int __cil_tmp12 ;
53546  long __cil_tmp13 ;
53547  struct fc_lport *__cil_tmp14 ;
53548  struct Scsi_Host *__cil_tmp15 ;
53549  unsigned long __cil_tmp16 ;
53550  unsigned long __cil_tmp17 ;
53551  unsigned int __cil_tmp18 ;
53552  unsigned long __cil_tmp19 ;
53553  unsigned long __cil_tmp20 ;
53554  unsigned long __cil_tmp21 ;
53555  u32 __cil_tmp22 ;
53556  enum fc_rport_state __cil_tmp23 ;
53557  unsigned long __cil_tmp24 ;
53558  unsigned long __cil_tmp25 ;
53559  enum fc_rport_event __cil_tmp26 ;
53560  unsigned int __cil_tmp27 ;
53561  unsigned long __cil_tmp28 ;
53562  unsigned long __cil_tmp29 ;
53563  struct work_struct *__cil_tmp30 ;
53564  unsigned long __cil_tmp31 ;
53565  unsigned long __cil_tmp32 ;
53566
53567  {
53568  {
53569#line 435
53570  __cil_tmp4 = (unsigned long )rdata;
53571#line 435
53572  __cil_tmp5 = __cil_tmp4 + 20;
53573#line 435
53574  __cil_tmp6 = *((enum fc_rport_state *)__cil_tmp5);
53575#line 435
53576  __cil_tmp7 = (unsigned int )__cil_tmp6;
53577#line 435
53578  if (__cil_tmp7 == 8U) {
53579#line 436
53580    return;
53581  } else {
53582
53583  }
53584  }
53585  {
53586#line 438
53587  while (1) {
53588    while_continue: /* CIL Label */ ;
53589    {
53590#line 438
53591    __cil_tmp8 = & fc_debug_logging;
53592#line 438
53593    __cil_tmp9 = *__cil_tmp8;
53594#line 438
53595    __cil_tmp10 = __cil_tmp9 & 8U;
53596#line 438
53597    __cil_tmp11 = ! __cil_tmp10;
53598#line 438
53599    __cil_tmp12 = ! __cil_tmp11;
53600#line 438
53601    __cil_tmp13 = (long )__cil_tmp12;
53602#line 438
53603    tmp___7 = __builtin_expect(__cil_tmp13, 0L);
53604    }
53605#line 438
53606    if (tmp___7) {
53607      {
53608#line 438
53609      while (1) {
53610        while_continue___0: /* CIL Label */ ;
53611        {
53612#line 438
53613        __cil_tmp14 = *((struct fc_lport **)rdata);
53614#line 438
53615        __cil_tmp15 = *((struct Scsi_Host **)__cil_tmp14);
53616#line 438
53617        __cil_tmp16 = (unsigned long )__cil_tmp15;
53618#line 438
53619        __cil_tmp17 = __cil_tmp16 + 308;
53620#line 438
53621        __cil_tmp18 = *((unsigned int *)__cil_tmp17);
53622#line 438
53623        __cil_tmp19 = 24 + 16;
53624#line 438
53625        __cil_tmp20 = (unsigned long )rdata;
53626#line 438
53627        __cil_tmp21 = __cil_tmp20 + __cil_tmp19;
53628#line 438
53629        __cil_tmp22 = *((u32 *)__cil_tmp21);
53630#line 438
53631        printk("<6>host%u: rport %6.6x: Delete port\n", __cil_tmp18, __cil_tmp22);
53632        }
53633#line 438
53634        goto while_break___0;
53635      }
53636      while_break___0: /* CIL Label */ ;
53637      }
53638    } else {
53639
53640    }
53641#line 438
53642    goto while_break;
53643  }
53644  while_break: /* CIL Label */ ;
53645  }
53646  {
53647#line 440
53648  __cil_tmp23 = (enum fc_rport_state )8;
53649#line 440
53650  fc_rport_state_enter(rdata, __cil_tmp23);
53651  }
53652  {
53653#line 442
53654  __cil_tmp24 = (unsigned long )rdata;
53655#line 442
53656  __cil_tmp25 = __cil_tmp24 + 256;
53657#line 442
53658  __cil_tmp26 = *((enum fc_rport_event *)__cil_tmp25);
53659#line 442
53660  __cil_tmp27 = (unsigned int )__cil_tmp26;
53661#line 442
53662  if (__cil_tmp27 == 0U) {
53663    {
53664#line 443
53665    __cil_tmp28 = (unsigned long )rdata;
53666#line 443
53667    __cil_tmp29 = __cil_tmp28 + 288;
53668#line 443
53669    __cil_tmp30 = (struct work_struct *)__cil_tmp29;
53670#line 443
53671    queue_work(rport_event_queue, __cil_tmp30);
53672    }
53673  } else {
53674
53675  }
53676  }
53677#line 444
53678  __cil_tmp31 = (unsigned long )rdata;
53679#line 444
53680  __cil_tmp32 = __cil_tmp31 + 256;
53681#line 444
53682  *((enum fc_rport_event *)__cil_tmp32) = event;
53683#line 445
53684  return;
53685}
53686}
53687#line 455 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
53688static int fc_rport_logoff(struct fc_rport_priv *rdata ) 
53689{ long tmp___7 ;
53690  long tmp___8 ;
53691  unsigned long __cil_tmp4 ;
53692  unsigned long __cil_tmp5 ;
53693  struct mutex *__cil_tmp6 ;
53694  unsigned int *__cil_tmp7 ;
53695  unsigned int __cil_tmp8 ;
53696  unsigned int __cil_tmp9 ;
53697  int __cil_tmp10 ;
53698  int __cil_tmp11 ;
53699  long __cil_tmp12 ;
53700  struct fc_lport *__cil_tmp13 ;
53701  struct Scsi_Host *__cil_tmp14 ;
53702  unsigned long __cil_tmp15 ;
53703  unsigned long __cil_tmp16 ;
53704  unsigned int __cil_tmp17 ;
53705  unsigned long __cil_tmp18 ;
53706  unsigned long __cil_tmp19 ;
53707  unsigned long __cil_tmp20 ;
53708  u32 __cil_tmp21 ;
53709  unsigned long __cil_tmp22 ;
53710  unsigned long __cil_tmp23 ;
53711  int __cil_tmp24 ;
53712  int __cil_tmp25 ;
53713  unsigned long __cil_tmp26 ;
53714  unsigned long __cil_tmp27 ;
53715  u16 __cil_tmp28 ;
53716  int __cil_tmp29 ;
53717  int __cil_tmp30 ;
53718  unsigned long __cil_tmp31 ;
53719  unsigned long __cil_tmp32 ;
53720  enum fc_rport_state __cil_tmp33 ;
53721  unsigned int __cil_tmp34 ;
53722  unsigned int *__cil_tmp35 ;
53723  unsigned int __cil_tmp36 ;
53724  unsigned int __cil_tmp37 ;
53725  int __cil_tmp38 ;
53726  int __cil_tmp39 ;
53727  long __cil_tmp40 ;
53728  struct fc_lport *__cil_tmp41 ;
53729  struct Scsi_Host *__cil_tmp42 ;
53730  unsigned long __cil_tmp43 ;
53731  unsigned long __cil_tmp44 ;
53732  unsigned int __cil_tmp45 ;
53733  unsigned long __cil_tmp46 ;
53734  unsigned long __cil_tmp47 ;
53735  unsigned long __cil_tmp48 ;
53736  u32 __cil_tmp49 ;
53737  enum fc_rport_event __cil_tmp50 ;
53738  unsigned long __cil_tmp51 ;
53739  unsigned long __cil_tmp52 ;
53740  struct mutex *__cil_tmp53 ;
53741
53742  {
53743  {
53744#line 457
53745  __cil_tmp4 = (unsigned long )rdata;
53746#line 457
53747  __cil_tmp5 = __cil_tmp4 + 72;
53748#line 457
53749  __cil_tmp6 = (struct mutex *)__cil_tmp5;
53750#line 457
53751  mutex_lock(__cil_tmp6);
53752  }
53753  {
53754#line 459
53755  while (1) {
53756    while_continue: /* CIL Label */ ;
53757    {
53758#line 459
53759    __cil_tmp7 = & fc_debug_logging;
53760#line 459
53761    __cil_tmp8 = *__cil_tmp7;
53762#line 459
53763    __cil_tmp9 = __cil_tmp8 & 8U;
53764#line 459
53765    __cil_tmp10 = ! __cil_tmp9;
53766#line 459
53767    __cil_tmp11 = ! __cil_tmp10;
53768#line 459
53769    __cil_tmp12 = (long )__cil_tmp11;
53770#line 459
53771    tmp___7 = __builtin_expect(__cil_tmp12, 0L);
53772    }
53773#line 459
53774    if (tmp___7) {
53775      {
53776#line 459
53777      while (1) {
53778        while_continue___0: /* CIL Label */ ;
53779        {
53780#line 459
53781        __cil_tmp13 = *((struct fc_lport **)rdata);
53782#line 459
53783        __cil_tmp14 = *((struct Scsi_Host **)__cil_tmp13);
53784#line 459
53785        __cil_tmp15 = (unsigned long )__cil_tmp14;
53786#line 459
53787        __cil_tmp16 = __cil_tmp15 + 308;
53788#line 459
53789        __cil_tmp17 = *((unsigned int *)__cil_tmp16);
53790#line 459
53791        __cil_tmp18 = 24 + 16;
53792#line 459
53793        __cil_tmp19 = (unsigned long )rdata;
53794#line 459
53795        __cil_tmp20 = __cil_tmp19 + __cil_tmp18;
53796#line 459
53797        __cil_tmp21 = *((u32 *)__cil_tmp20);
53798#line 459
53799        printk("<6>host%u: rport %6.6x: Remove port\n", __cil_tmp17, __cil_tmp21);
53800        }
53801#line 459
53802        goto while_break___0;
53803      }
53804      while_break___0: /* CIL Label */ ;
53805      }
53806    } else {
53807
53808    }
53809#line 459
53810    goto while_break;
53811  }
53812  while_break: /* CIL Label */ ;
53813  }
53814#line 461
53815  __cil_tmp22 = (unsigned long )rdata;
53816#line 461
53817  __cil_tmp23 = __cil_tmp22 + 48;
53818#line 461
53819  __cil_tmp24 = 1 << 2;
53820#line 461
53821  __cil_tmp25 = ~ __cil_tmp24;
53822#line 461
53823  __cil_tmp26 = (unsigned long )rdata;
53824#line 461
53825  __cil_tmp27 = __cil_tmp26 + 48;
53826#line 461
53827  __cil_tmp28 = *((u16 *)__cil_tmp27);
53828#line 461
53829  __cil_tmp29 = (int )__cil_tmp28;
53830#line 461
53831  __cil_tmp30 = __cil_tmp29 & __cil_tmp25;
53832#line 461
53833  *((u16 *)__cil_tmp23) = (u16 )__cil_tmp30;
53834  {
53835#line 462
53836  __cil_tmp31 = (unsigned long )rdata;
53837#line 462
53838  __cil_tmp32 = __cil_tmp31 + 20;
53839#line 462
53840  __cil_tmp33 = *((enum fc_rport_state *)__cil_tmp32);
53841#line 462
53842  __cil_tmp34 = (unsigned int )__cil_tmp33;
53843#line 462
53844  if (__cil_tmp34 == 8U) {
53845    {
53846#line 463
53847    while (1) {
53848      while_continue___1: /* CIL Label */ ;
53849      {
53850#line 463
53851      __cil_tmp35 = & fc_debug_logging;
53852#line 463
53853      __cil_tmp36 = *__cil_tmp35;
53854#line 463
53855      __cil_tmp37 = __cil_tmp36 & 8U;
53856#line 463
53857      __cil_tmp38 = ! __cil_tmp37;
53858#line 463
53859      __cil_tmp39 = ! __cil_tmp38;
53860#line 463
53861      __cil_tmp40 = (long )__cil_tmp39;
53862#line 463
53863      tmp___8 = __builtin_expect(__cil_tmp40, 0L);
53864      }
53865#line 463
53866      if (tmp___8) {
53867        {
53868#line 463
53869        while (1) {
53870          while_continue___2: /* CIL Label */ ;
53871          {
53872#line 463
53873          __cil_tmp41 = *((struct fc_lport **)rdata);
53874#line 463
53875          __cil_tmp42 = *((struct Scsi_Host **)__cil_tmp41);
53876#line 463
53877          __cil_tmp43 = (unsigned long )__cil_tmp42;
53878#line 463
53879          __cil_tmp44 = __cil_tmp43 + 308;
53880#line 463
53881          __cil_tmp45 = *((unsigned int *)__cil_tmp44);
53882#line 463
53883          __cil_tmp46 = 24 + 16;
53884#line 463
53885          __cil_tmp47 = (unsigned long )rdata;
53886#line 463
53887          __cil_tmp48 = __cil_tmp47 + __cil_tmp46;
53888#line 463
53889          __cil_tmp49 = *((u32 *)__cil_tmp48);
53890#line 463
53891          printk("<6>host%u: rport %6.6x: Port in Delete state, not removing\n", __cil_tmp45,
53892                 __cil_tmp49);
53893          }
53894#line 463
53895          goto while_break___2;
53896        }
53897        while_break___2: /* CIL Label */ ;
53898        }
53899      } else {
53900
53901      }
53902#line 463
53903      goto while_break___1;
53904    }
53905    while_break___1: /* CIL Label */ ;
53906    }
53907#line 464
53908    goto out;
53909  } else {
53910
53911  }
53912  }
53913  {
53914#line 466
53915  fc_rport_enter_logo(rdata);
53916#line 472
53917  __cil_tmp50 = (enum fc_rport_event )3;
53918#line 472
53919  fc_rport_enter_delete(rdata, __cil_tmp50);
53920  }
53921  out: 
53922  {
53923#line 474
53924  __cil_tmp51 = (unsigned long )rdata;
53925#line 474
53926  __cil_tmp52 = __cil_tmp51 + 72;
53927#line 474
53928  __cil_tmp53 = (struct mutex *)__cil_tmp52;
53929#line 474
53930  mutex_unlock(__cil_tmp53);
53931  }
53932#line 475
53933  return (0);
53934}
53935}
53936#line 485 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
53937static void fc_rport_enter_ready(struct fc_rport_priv *rdata ) 
53938{ long tmp___7 ;
53939  enum fc_rport_state __cil_tmp3 ;
53940  unsigned int *__cil_tmp4 ;
53941  unsigned int __cil_tmp5 ;
53942  unsigned int __cil_tmp6 ;
53943  int __cil_tmp7 ;
53944  int __cil_tmp8 ;
53945  long __cil_tmp9 ;
53946  struct fc_lport *__cil_tmp10 ;
53947  struct Scsi_Host *__cil_tmp11 ;
53948  unsigned long __cil_tmp12 ;
53949  unsigned long __cil_tmp13 ;
53950  unsigned int __cil_tmp14 ;
53951  unsigned long __cil_tmp15 ;
53952  unsigned long __cil_tmp16 ;
53953  unsigned long __cil_tmp17 ;
53954  u32 __cil_tmp18 ;
53955  unsigned long __cil_tmp19 ;
53956  unsigned long __cil_tmp20 ;
53957  enum fc_rport_event __cil_tmp21 ;
53958  unsigned int __cil_tmp22 ;
53959  unsigned long __cil_tmp23 ;
53960  unsigned long __cil_tmp24 ;
53961  struct work_struct *__cil_tmp25 ;
53962  unsigned long __cil_tmp26 ;
53963  unsigned long __cil_tmp27 ;
53964
53965  {
53966  {
53967#line 487
53968  __cil_tmp3 = (enum fc_rport_state )6;
53969#line 487
53970  fc_rport_state_enter(rdata, __cil_tmp3);
53971  }
53972  {
53973#line 489
53974  while (1) {
53975    while_continue: /* CIL Label */ ;
53976    {
53977#line 489
53978    __cil_tmp4 = & fc_debug_logging;
53979#line 489
53980    __cil_tmp5 = *__cil_tmp4;
53981#line 489
53982    __cil_tmp6 = __cil_tmp5 & 8U;
53983#line 489
53984    __cil_tmp7 = ! __cil_tmp6;
53985#line 489
53986    __cil_tmp8 = ! __cil_tmp7;
53987#line 489
53988    __cil_tmp9 = (long )__cil_tmp8;
53989#line 489
53990    tmp___7 = __builtin_expect(__cil_tmp9, 0L);
53991    }
53992#line 489
53993    if (tmp___7) {
53994      {
53995#line 489
53996      while (1) {
53997        while_continue___0: /* CIL Label */ ;
53998        {
53999#line 489
54000        __cil_tmp10 = *((struct fc_lport **)rdata);
54001#line 489
54002        __cil_tmp11 = *((struct Scsi_Host **)__cil_tmp10);
54003#line 489
54004        __cil_tmp12 = (unsigned long )__cil_tmp11;
54005#line 489
54006        __cil_tmp13 = __cil_tmp12 + 308;
54007#line 489
54008        __cil_tmp14 = *((unsigned int *)__cil_tmp13);
54009#line 489
54010        __cil_tmp15 = 24 + 16;
54011#line 489
54012        __cil_tmp16 = (unsigned long )rdata;
54013#line 489
54014        __cil_tmp17 = __cil_tmp16 + __cil_tmp15;
54015#line 489
54016        __cil_tmp18 = *((u32 *)__cil_tmp17);
54017#line 489
54018        printk("<6>host%u: rport %6.6x: Port is Ready\n", __cil_tmp14, __cil_tmp18);
54019        }
54020#line 489
54021        goto while_break___0;
54022      }
54023      while_break___0: /* CIL Label */ ;
54024      }
54025    } else {
54026
54027    }
54028#line 489
54029    goto while_break;
54030  }
54031  while_break: /* CIL Label */ ;
54032  }
54033  {
54034#line 491
54035  __cil_tmp19 = (unsigned long )rdata;
54036#line 491
54037  __cil_tmp20 = __cil_tmp19 + 256;
54038#line 491
54039  __cil_tmp21 = *((enum fc_rport_event *)__cil_tmp20);
54040#line 491
54041  __cil_tmp22 = (unsigned int )__cil_tmp21;
54042#line 491
54043  if (__cil_tmp22 == 0U) {
54044    {
54045#line 492
54046    __cil_tmp23 = (unsigned long )rdata;
54047#line 492
54048    __cil_tmp24 = __cil_tmp23 + 288;
54049#line 492
54050    __cil_tmp25 = (struct work_struct *)__cil_tmp24;
54051#line 492
54052    queue_work(rport_event_queue, __cil_tmp25);
54053    }
54054  } else {
54055
54056  }
54057  }
54058#line 493
54059  __cil_tmp26 = (unsigned long )rdata;
54060#line 493
54061  __cil_tmp27 = __cil_tmp26 + 256;
54062#line 493
54063  *((enum fc_rport_event *)__cil_tmp27) = (enum fc_rport_event )1;
54064#line 494
54065  return;
54066}
54067}
54068#line 504 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
54069static void fc_rport_timeout(struct work_struct *work ) 
54070{ struct fc_rport_priv *rdata ;
54071  struct work_struct    *__mptr ;
54072  struct fc_rport_priv *__cil_tmp4 ;
54073  unsigned long __cil_tmp5 ;
54074  unsigned long __cil_tmp6 ;
54075  struct work_struct *__cil_tmp7 ;
54076  unsigned int __cil_tmp8 ;
54077  char *__cil_tmp9 ;
54078  char *__cil_tmp10 ;
54079  unsigned long __cil_tmp11 ;
54080  unsigned long __cil_tmp12 ;
54081  struct mutex *__cil_tmp13 ;
54082  unsigned long __cil_tmp14 ;
54083  unsigned long __cil_tmp15 ;
54084  enum fc_rport_state __cil_tmp16 ;
54085  unsigned long __cil_tmp17 ;
54086  unsigned long __cil_tmp18 ;
54087  struct mutex *__cil_tmp19 ;
54088
54089  {
54090  {
54091#line 507
54092  __mptr = (struct work_struct    *)work;
54093#line 507
54094  __cil_tmp4 = (struct fc_rport_priv *)0;
54095#line 507
54096  __cil_tmp5 = (unsigned long )__cil_tmp4;
54097#line 507
54098  __cil_tmp6 = __cil_tmp5 + 144;
54099#line 507
54100  __cil_tmp7 = (struct work_struct *)__cil_tmp6;
54101#line 507
54102  __cil_tmp8 = (unsigned int )__cil_tmp7;
54103#line 507
54104  __cil_tmp9 = (char *)__mptr;
54105#line 507
54106  __cil_tmp10 = __cil_tmp9 - __cil_tmp8;
54107#line 507
54108  rdata = (struct fc_rport_priv *)__cil_tmp10;
54109#line 509
54110  __cil_tmp11 = (unsigned long )rdata;
54111#line 509
54112  __cil_tmp12 = __cil_tmp11 + 72;
54113#line 509
54114  __cil_tmp13 = (struct mutex *)__cil_tmp12;
54115#line 509
54116  mutex_lock(__cil_tmp13);
54117  }
54118  {
54119#line 511
54120  __cil_tmp14 = (unsigned long )rdata;
54121#line 511
54122  __cil_tmp15 = __cil_tmp14 + 20;
54123#line 511
54124  __cil_tmp16 = *((enum fc_rport_state *)__cil_tmp15);
54125#line 512
54126  if ((int )__cil_tmp16 == 1) {
54127#line 512
54128    goto case_1;
54129  } else
54130#line 515
54131  if ((int )__cil_tmp16 == 3) {
54132#line 515
54133    goto case_3;
54134  } else
54135#line 518
54136  if ((int )__cil_tmp16 == 4) {
54137#line 518
54138    goto case_4;
54139  } else
54140#line 521
54141  if ((int )__cil_tmp16 == 5) {
54142#line 521
54143    goto case_5;
54144  } else
54145#line 524
54146  if ((int )__cil_tmp16 == 7) {
54147#line 524
54148    goto case_7;
54149  } else
54150#line 527
54151  if ((int )__cil_tmp16 == 2) {
54152#line 527
54153    goto case_2;
54154  } else
54155#line 528
54156  if ((int )__cil_tmp16 == 6) {
54157#line 528
54158    goto case_2;
54159  } else
54160#line 529
54161  if ((int )__cil_tmp16 == 0) {
54162#line 529
54163    goto case_2;
54164  } else
54165#line 530
54166  if ((int )__cil_tmp16 == 8) {
54167#line 530
54168    goto case_2;
54169  } else
54170#line 511
54171  if (0) {
54172    case_1: /* CIL Label */ 
54173    {
54174#line 513
54175    fc_rport_enter_flogi(rdata);
54176    }
54177#line 514
54178    goto switch_break;
54179    case_3: /* CIL Label */ 
54180    {
54181#line 516
54182    fc_rport_enter_plogi(rdata);
54183    }
54184#line 517
54185    goto switch_break;
54186    case_4: /* CIL Label */ 
54187    {
54188#line 519
54189    fc_rport_enter_prli(rdata);
54190    }
54191#line 520
54192    goto switch_break;
54193    case_5: /* CIL Label */ 
54194    {
54195#line 522
54196    fc_rport_enter_rtv(rdata);
54197    }
54198#line 523
54199    goto switch_break;
54200    case_7: /* CIL Label */ 
54201    {
54202#line 525
54203    fc_rport_enter_adisc(rdata);
54204    }
54205#line 526
54206    goto switch_break;
54207    case_2: /* CIL Label */ 
54208    case_6: /* CIL Label */ 
54209    case_0: /* CIL Label */ 
54210    case_8: /* CIL Label */ 
54211#line 531
54212    goto switch_break;
54213  } else {
54214    switch_break: /* CIL Label */ ;
54215  }
54216  }
54217  {
54218#line 534
54219  __cil_tmp17 = (unsigned long )rdata;
54220#line 534
54221  __cil_tmp18 = __cil_tmp17 + 72;
54222#line 534
54223  __cil_tmp19 = (struct mutex *)__cil_tmp18;
54224#line 534
54225  mutex_unlock(__cil_tmp19);
54226  }
54227#line 535
54228  return;
54229}
54230}
54231#line 545 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
54232static void fc_rport_error(struct fc_rport_priv *rdata , struct fc_frame *fp ) 
54233{ char    *tmp___7 ;
54234  long tmp___9 ;
54235  long tmp___10 ;
54236  long tmp___11 ;
54237  long tmp___12 ;
54238  unsigned int *__cil_tmp9 ;
54239  unsigned int __cil_tmp10 ;
54240  unsigned int __cil_tmp11 ;
54241  int __cil_tmp12 ;
54242  int __cil_tmp13 ;
54243  long __cil_tmp14 ;
54244  void    *__cil_tmp15 ;
54245  void    *__cil_tmp16 ;
54246  struct fc_lport *__cil_tmp17 ;
54247  struct Scsi_Host *__cil_tmp18 ;
54248  unsigned long __cil_tmp19 ;
54249  unsigned long __cil_tmp20 ;
54250  unsigned int __cil_tmp21 ;
54251  unsigned long __cil_tmp22 ;
54252  unsigned long __cil_tmp23 ;
54253  unsigned long __cil_tmp24 ;
54254  u32 __cil_tmp25 ;
54255  unsigned long __cil_tmp26 ;
54256  unsigned long __cil_tmp27 ;
54257  unsigned int __cil_tmp28 ;
54258  unsigned long __cil_tmp29 ;
54259  unsigned long __cil_tmp30 ;
54260  enum fc_rport_state __cil_tmp31 ;
54261  unsigned long __cil_tmp32 ;
54262  unsigned long __cil_tmp33 ;
54263  int __cil_tmp34 ;
54264  int __cil_tmp35 ;
54265  unsigned long __cil_tmp36 ;
54266  unsigned long __cil_tmp37 ;
54267  u16 __cil_tmp38 ;
54268  int __cil_tmp39 ;
54269  int __cil_tmp40 ;
54270  enum fc_rport_event __cil_tmp41 ;
54271
54272  {
54273  {
54274#line 547
54275  while (1) {
54276    while_continue: /* CIL Label */ ;
54277    {
54278#line 547
54279    __cil_tmp9 = & fc_debug_logging;
54280#line 547
54281    __cil_tmp10 = *__cil_tmp9;
54282#line 547
54283    __cil_tmp11 = __cil_tmp10 & 8U;
54284#line 547
54285    __cil_tmp12 = ! __cil_tmp11;
54286#line 547
54287    __cil_tmp13 = ! __cil_tmp12;
54288#line 547
54289    __cil_tmp14 = (long )__cil_tmp13;
54290#line 547
54291    tmp___12 = __builtin_expect(__cil_tmp14, 0L);
54292    }
54293#line 547
54294    if (tmp___12) {
54295      {
54296#line 547
54297      while (1) {
54298        while_continue___0: /* CIL Label */ ;
54299        {
54300#line 547
54301        tmp___7 = fc_rport_state(rdata);
54302#line 547
54303        __cil_tmp15 = (void    *)fp;
54304#line 547
54305        tmp___11 = (long )IS_ERR(__cil_tmp15);
54306        }
54307#line 547
54308        if (tmp___11) {
54309          {
54310#line 547
54311          __cil_tmp16 = (void    *)fp;
54312#line 547
54313          tmp___9 = (long )PTR_ERR(__cil_tmp16);
54314#line 547
54315          tmp___10 = - tmp___9;
54316          }
54317        } else {
54318#line 547
54319          tmp___10 = 0L;
54320        }
54321        {
54322#line 547
54323        __cil_tmp17 = *((struct fc_lport **)rdata);
54324#line 547
54325        __cil_tmp18 = *((struct Scsi_Host **)__cil_tmp17);
54326#line 547
54327        __cil_tmp19 = (unsigned long )__cil_tmp18;
54328#line 547
54329        __cil_tmp20 = __cil_tmp19 + 308;
54330#line 547
54331        __cil_tmp21 = *((unsigned int *)__cil_tmp20);
54332#line 547
54333        __cil_tmp22 = 24 + 16;
54334#line 547
54335        __cil_tmp23 = (unsigned long )rdata;
54336#line 547
54337        __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
54338#line 547
54339        __cil_tmp25 = *((u32 *)__cil_tmp24);
54340#line 547
54341        __cil_tmp26 = (unsigned long )rdata;
54342#line 547
54343        __cil_tmp27 = __cil_tmp26 + 56;
54344#line 547
54345        __cil_tmp28 = *((unsigned int *)__cil_tmp27);
54346#line 547
54347        printk("<6>host%u: rport %6.6x: Error %ld in state %s, retries %d\n", __cil_tmp21,
54348               __cil_tmp25, tmp___10, tmp___7, __cil_tmp28);
54349        }
54350#line 547
54351        goto while_break___0;
54352      }
54353      while_break___0: /* CIL Label */ ;
54354      }
54355    } else {
54356
54357    }
54358#line 547
54359    goto while_break;
54360  }
54361  while_break: /* CIL Label */ ;
54362  }
54363  {
54364#line 551
54365  __cil_tmp29 = (unsigned long )rdata;
54366#line 551
54367  __cil_tmp30 = __cil_tmp29 + 20;
54368#line 551
54369  __cil_tmp31 = *((enum fc_rport_state *)__cil_tmp30);
54370#line 552
54371  if ((int )__cil_tmp31 == 1) {
54372#line 552
54373    goto case_1;
54374  } else
54375#line 553
54376  if ((int )__cil_tmp31 == 3) {
54377#line 553
54378    goto case_1;
54379  } else
54380#line 557
54381  if ((int )__cil_tmp31 == 5) {
54382#line 557
54383    goto case_5;
54384  } else
54385#line 560
54386  if ((int )__cil_tmp31 == 4) {
54387#line 560
54388    goto case_4;
54389  } else
54390#line 561
54391  if ((int )__cil_tmp31 == 7) {
54392#line 561
54393    goto case_4;
54394  } else
54395#line 564
54396  if ((int )__cil_tmp31 == 2) {
54397#line 564
54398    goto case_2;
54399  } else
54400#line 565
54401  if ((int )__cil_tmp31 == 8) {
54402#line 565
54403    goto case_2;
54404  } else
54405#line 566
54406  if ((int )__cil_tmp31 == 6) {
54407#line 566
54408    goto case_2;
54409  } else
54410#line 567
54411  if ((int )__cil_tmp31 == 0) {
54412#line 567
54413    goto case_2;
54414  } else
54415#line 551
54416  if (0) {
54417    case_1: /* CIL Label */ 
54418    case_3: /* CIL Label */ 
54419    {
54420#line 554
54421    __cil_tmp32 = (unsigned long )rdata;
54422#line 554
54423    __cil_tmp33 = __cil_tmp32 + 48;
54424#line 554
54425    __cil_tmp34 = 1 << 2;
54426#line 554
54427    __cil_tmp35 = ~ __cil_tmp34;
54428#line 554
54429    __cil_tmp36 = (unsigned long )rdata;
54430#line 554
54431    __cil_tmp37 = __cil_tmp36 + 48;
54432#line 554
54433    __cil_tmp38 = *((u16 *)__cil_tmp37);
54434#line 554
54435    __cil_tmp39 = (int )__cil_tmp38;
54436#line 554
54437    __cil_tmp40 = __cil_tmp39 & __cil_tmp35;
54438#line 554
54439    *((u16 *)__cil_tmp33) = (u16 )__cil_tmp40;
54440#line 555
54441    __cil_tmp41 = (enum fc_rport_event )2;
54442#line 555
54443    fc_rport_enter_delete(rdata, __cil_tmp41);
54444    }
54445#line 556
54446    goto switch_break;
54447    case_5: /* CIL Label */ 
54448    {
54449#line 558
54450    fc_rport_enter_ready(rdata);
54451    }
54452#line 559
54453    goto switch_break;
54454    case_4: /* CIL Label */ 
54455    case_7: /* CIL Label */ 
54456    {
54457#line 562
54458    fc_rport_enter_logo(rdata);
54459    }
54460#line 563
54461    goto switch_break;
54462    case_2: /* CIL Label */ 
54463    case_8: /* CIL Label */ 
54464    case_6: /* CIL Label */ 
54465    case_0: /* CIL Label */ 
54466#line 568
54467    goto switch_break;
54468  } else {
54469    switch_break: /* CIL Label */ ;
54470  }
54471  }
54472#line 570
54473  return;
54474}
54475}
54476#line 583 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
54477static void fc_rport_error_retry(struct fc_rport_priv *rdata , struct fc_frame *fp ) 
54478{ unsigned long delay ;
54479  long tmp___7 ;
54480  char    *tmp___8 ;
54481  long tmp___9 ;
54482  long tmp___10 ;
54483  long tmp___11 ;
54484  void    *__cil_tmp9 ;
54485  struct fc_lport *__cil_tmp10 ;
54486  unsigned long __cil_tmp11 ;
54487  unsigned long __cil_tmp12 ;
54488  u8 __cil_tmp13 ;
54489  unsigned int __cil_tmp14 ;
54490  unsigned long __cil_tmp15 ;
54491  unsigned long __cil_tmp16 ;
54492  unsigned int __cil_tmp17 ;
54493  unsigned int *__cil_tmp18 ;
54494  unsigned int __cil_tmp19 ;
54495  unsigned int __cil_tmp20 ;
54496  int __cil_tmp21 ;
54497  int __cil_tmp22 ;
54498  long __cil_tmp23 ;
54499  void    *__cil_tmp24 ;
54500  struct fc_lport *__cil_tmp25 ;
54501  struct Scsi_Host *__cil_tmp26 ;
54502  unsigned long __cil_tmp27 ;
54503  unsigned long __cil_tmp28 ;
54504  unsigned int __cil_tmp29 ;
54505  unsigned long __cil_tmp30 ;
54506  unsigned long __cil_tmp31 ;
54507  unsigned long __cil_tmp32 ;
54508  u32 __cil_tmp33 ;
54509  unsigned long __cil_tmp34 ;
54510  unsigned long __cil_tmp35 ;
54511  unsigned long __cil_tmp36 ;
54512  unsigned long __cil_tmp37 ;
54513  unsigned int __cil_tmp38 ;
54514  void    *__cil_tmp39 ;
54515  unsigned long __cil_tmp40 ;
54516  unsigned long __cil_tmp41 ;
54517  struct delayed_work *__cil_tmp42 ;
54518
54519  {
54520  {
54521#line 586
54522  delay = 2000UL;
54523#line 589
54524  __cil_tmp9 = (void    *)fp;
54525#line 589
54526  tmp___7 = (long )PTR_ERR(__cil_tmp9);
54527  }
54528#line 589
54529  if (tmp___7 == -2L) {
54530#line 590
54531    goto out;
54532  } else {
54533
54534  }
54535  {
54536#line 592
54537  __cil_tmp10 = *((struct fc_lport **)rdata);
54538#line 592
54539  __cil_tmp11 = (unsigned long )__cil_tmp10;
54540#line 592
54541  __cil_tmp12 = __cil_tmp11 + 881;
54542#line 592
54543  __cil_tmp13 = *((u8 *)__cil_tmp12);
54544#line 592
54545  __cil_tmp14 = (unsigned int )__cil_tmp13;
54546#line 592
54547  __cil_tmp15 = (unsigned long )rdata;
54548#line 592
54549  __cil_tmp16 = __cil_tmp15 + 56;
54550#line 592
54551  __cil_tmp17 = *((unsigned int *)__cil_tmp16);
54552#line 592
54553  if (__cil_tmp17 < __cil_tmp14) {
54554    {
54555#line 593
54556    while (1) {
54557      while_continue: /* CIL Label */ ;
54558      {
54559#line 593
54560      __cil_tmp18 = & fc_debug_logging;
54561#line 593
54562      __cil_tmp19 = *__cil_tmp18;
54563#line 593
54564      __cil_tmp20 = __cil_tmp19 & 8U;
54565#line 593
54566      __cil_tmp21 = ! __cil_tmp20;
54567#line 593
54568      __cil_tmp22 = ! __cil_tmp21;
54569#line 593
54570      __cil_tmp23 = (long )__cil_tmp22;
54571#line 593
54572      tmp___10 = __builtin_expect(__cil_tmp23, 0L);
54573      }
54574#line 593
54575      if (tmp___10) {
54576        {
54577#line 593
54578        while (1) {
54579          while_continue___0: /* CIL Label */ ;
54580          {
54581#line 593
54582          tmp___8 = fc_rport_state(rdata);
54583#line 593
54584          __cil_tmp24 = (void    *)fp;
54585#line 593
54586          tmp___9 = (long )PTR_ERR(__cil_tmp24);
54587#line 593
54588          __cil_tmp25 = *((struct fc_lport **)rdata);
54589#line 593
54590          __cil_tmp26 = *((struct Scsi_Host **)__cil_tmp25);
54591#line 593
54592          __cil_tmp27 = (unsigned long )__cil_tmp26;
54593#line 593
54594          __cil_tmp28 = __cil_tmp27 + 308;
54595#line 593
54596          __cil_tmp29 = *((unsigned int *)__cil_tmp28);
54597#line 593
54598          __cil_tmp30 = 24 + 16;
54599#line 593
54600          __cil_tmp31 = (unsigned long )rdata;
54601#line 593
54602          __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
54603#line 593
54604          __cil_tmp33 = *((u32 *)__cil_tmp32);
54605#line 593
54606          printk("<6>host%u: rport %6.6x: Error %ld in state %s, retrying\n", __cil_tmp29,
54607                 __cil_tmp33, tmp___9, tmp___8);
54608          }
54609#line 593
54610          goto while_break___0;
54611        }
54612        while_break___0: /* CIL Label */ ;
54613        }
54614      } else {
54615
54616      }
54617#line 593
54618      goto while_break;
54619    }
54620    while_break: /* CIL Label */ ;
54621    }
54622    {
54623#line 595
54624    __cil_tmp34 = (unsigned long )rdata;
54625#line 595
54626    __cil_tmp35 = __cil_tmp34 + 56;
54627#line 595
54628    __cil_tmp36 = (unsigned long )rdata;
54629#line 595
54630    __cil_tmp37 = __cil_tmp36 + 56;
54631#line 595
54632    __cil_tmp38 = *((unsigned int *)__cil_tmp37);
54633#line 595
54634    *((unsigned int *)__cil_tmp35) = __cil_tmp38 + 1U;
54635#line 597
54636    __cil_tmp39 = (void    *)fp;
54637#line 597
54638    tmp___11 = (long )PTR_ERR(__cil_tmp39);
54639    }
54640#line 597
54641    if (tmp___11 == -1L) {
54642#line 598
54643      delay = 0UL;
54644    } else {
54645
54646    }
54647    {
54648#line 599
54649    __cil_tmp40 = (unsigned long )rdata;
54650#line 599
54651    __cil_tmp41 = __cil_tmp40 + 144;
54652#line 599
54653    __cil_tmp42 = (struct delayed_work *)__cil_tmp41;
54654#line 599
54655    schedule_delayed_work(__cil_tmp42, delay);
54656    }
54657#line 600
54658    return;
54659  } else {
54660
54661  }
54662  }
54663  out: 
54664  {
54665#line 604
54666  fc_rport_error(rdata, fp);
54667  }
54668#line 605
54669  return;
54670}
54671}
54672#line 617 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
54673static int fc_rport_login_complete(struct fc_rport_priv *rdata , struct fc_frame *fp ) 
54674{ struct fc_lport *lport ;
54675  struct fc_els_flogi *flogi ;
54676  unsigned int e_d_tov ;
54677  u16 csp_flags ;
54678  void *tmp___7 ;
54679  __u16 tmp___8 ;
54680  long tmp___9 ;
54681  __u32 tmp___10 ;
54682  u8 tmp___11 ;
54683  unsigned int tmp___12 ;
54684  struct fc_frame    *__cil_tmp13 ;
54685  unsigned long __cil_tmp14 ;
54686  unsigned long __cil_tmp15 ;
54687  unsigned long __cil_tmp16 ;
54688  __be16 __cil_tmp17 ;
54689  int __cil_tmp18 ;
54690  struct fc_frame    *__cil_tmp19 ;
54691  int __cil_tmp20 ;
54692  int __cil_tmp21 ;
54693  unsigned int *__cil_tmp22 ;
54694  unsigned int __cil_tmp23 ;
54695  unsigned int __cil_tmp24 ;
54696  int __cil_tmp25 ;
54697  int __cil_tmp26 ;
54698  long __cil_tmp27 ;
54699  struct fc_lport *__cil_tmp28 ;
54700  struct Scsi_Host *__cil_tmp29 ;
54701  unsigned long __cil_tmp30 ;
54702  unsigned long __cil_tmp31 ;
54703  unsigned int __cil_tmp32 ;
54704  unsigned long __cil_tmp33 ;
54705  unsigned long __cil_tmp34 ;
54706  unsigned long __cil_tmp35 ;
54707  u32 __cil_tmp36 ;
54708  unsigned long __cil_tmp37 ;
54709  unsigned long __cil_tmp38 ;
54710  unsigned long __cil_tmp39 ;
54711  __be32 __cil_tmp40 ;
54712  int __cil_tmp41 ;
54713  unsigned long __cil_tmp42 ;
54714  unsigned long __cil_tmp43 ;
54715  unsigned int __cil_tmp44 ;
54716  unsigned long __cil_tmp45 ;
54717  unsigned long __cil_tmp46 ;
54718  unsigned long __cil_tmp47 ;
54719  unsigned long __cil_tmp48 ;
54720  u32 __cil_tmp49 ;
54721  unsigned long __cil_tmp50 ;
54722  unsigned long __cil_tmp51 ;
54723
54724  {
54725  {
54726#line 620
54727  lport = *((struct fc_lport **)rdata);
54728#line 625
54729  __cil_tmp13 = (struct fc_frame    *)fp;
54730#line 625
54731  tmp___7 = fc_frame_payload_get(__cil_tmp13, 116UL);
54732#line 625
54733  flogi = (struct fc_els_flogi *)tmp___7;
54734  }
54735#line 626
54736  if (! flogi) {
54737#line 627
54738    return (-22);
54739  } else {
54740
54741  }
54742  {
54743#line 629
54744  __cil_tmp14 = 4 + 4;
54745#line 629
54746  __cil_tmp15 = (unsigned long )flogi;
54747#line 629
54748  __cil_tmp16 = __cil_tmp15 + __cil_tmp14;
54749#line 629
54750  __cil_tmp17 = *((__be16 *)__cil_tmp16);
54751#line 629
54752  tmp___8 = __fswab16(__cil_tmp17);
54753#line 629
54754  __cil_tmp18 = (int )tmp___8;
54755#line 629
54756  csp_flags = (u16 )__cil_tmp18;
54757#line 631
54758  __cil_tmp19 = (struct fc_frame    *)fp;
54759#line 631
54760  tmp___11 = fc_frame_payload_op(__cil_tmp19);
54761  }
54762  {
54763#line 631
54764  __cil_tmp20 = (int )tmp___11;
54765#line 631
54766  if (__cil_tmp20 == 4) {
54767    {
54768#line 632
54769    __cil_tmp21 = (int )csp_flags;
54770#line 632
54771    if (__cil_tmp21 & 4096) {
54772      {
54773#line 633
54774      while (1) {
54775        while_continue: /* CIL Label */ ;
54776        {
54777#line 633
54778        __cil_tmp22 = & fc_debug_logging;
54779#line 633
54780        __cil_tmp23 = *__cil_tmp22;
54781#line 633
54782        __cil_tmp24 = __cil_tmp23 & 8U;
54783#line 633
54784        __cil_tmp25 = ! __cil_tmp24;
54785#line 633
54786        __cil_tmp26 = ! __cil_tmp25;
54787#line 633
54788        __cil_tmp27 = (long )__cil_tmp26;
54789#line 633
54790        tmp___9 = __builtin_expect(__cil_tmp27, 0L);
54791        }
54792#line 633
54793        if (tmp___9) {
54794          {
54795#line 633
54796          while (1) {
54797            while_continue___0: /* CIL Label */ ;
54798            {
54799#line 633
54800            __cil_tmp28 = *((struct fc_lport **)rdata);
54801#line 633
54802            __cil_tmp29 = *((struct Scsi_Host **)__cil_tmp28);
54803#line 633
54804            __cil_tmp30 = (unsigned long )__cil_tmp29;
54805#line 633
54806            __cil_tmp31 = __cil_tmp30 + 308;
54807#line 633
54808            __cil_tmp32 = *((unsigned int *)__cil_tmp31);
54809#line 633
54810            __cil_tmp33 = 24 + 16;
54811#line 633
54812            __cil_tmp34 = (unsigned long )rdata;
54813#line 633
54814            __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
54815#line 633
54816            __cil_tmp36 = *((u32 *)__cil_tmp35);
54817#line 633
54818            printk("<6>host%u: rport %6.6x: Fabric bit set in FLOGI\n", __cil_tmp32,
54819                   __cil_tmp36);
54820            }
54821#line 633
54822            goto while_break___0;
54823          }
54824          while_break___0: /* CIL Label */ ;
54825          }
54826        } else {
54827
54828        }
54829#line 633
54830        goto while_break;
54831      }
54832      while_break: /* CIL Label */ ;
54833      }
54834#line 634
54835      return (-22);
54836    } else {
54837
54838    }
54839    }
54840  } else {
54841    {
54842#line 641
54843    __cil_tmp37 = 4 + 12;
54844#line 641
54845    __cil_tmp38 = (unsigned long )flogi;
54846#line 641
54847    __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
54848#line 641
54849    __cil_tmp40 = *((__be32 *)__cil_tmp39);
54850#line 641
54851    tmp___10 = __fswab32(__cil_tmp40);
54852#line 641
54853    e_d_tov = tmp___10;
54854    }
54855    {
54856#line 642
54857    __cil_tmp41 = (int )csp_flags;
54858#line 642
54859    if (__cil_tmp41 & 1024) {
54860#line 643
54861      e_d_tov = e_d_tov / 1000000U;
54862    } else {
54863
54864    }
54865    }
54866    {
54867#line 644
54868    __cil_tmp42 = (unsigned long )rdata;
54869#line 644
54870    __cil_tmp43 = __cil_tmp42 + 64;
54871#line 644
54872    __cil_tmp44 = *((unsigned int *)__cil_tmp43);
54873#line 644
54874    if (e_d_tov > __cil_tmp44) {
54875#line 645
54876      __cil_tmp45 = (unsigned long )rdata;
54877#line 645
54878      __cil_tmp46 = __cil_tmp45 + 64;
54879#line 645
54880      *((unsigned int *)__cil_tmp46) = e_d_tov;
54881    } else {
54882
54883    }
54884    }
54885  }
54886  }
54887  {
54888#line 647
54889  __cil_tmp47 = (unsigned long )lport;
54890#line 647
54891  __cil_tmp48 = __cil_tmp47 + 876;
54892#line 647
54893  __cil_tmp49 = *((u32 *)__cil_tmp48);
54894#line 647
54895  tmp___12 = fc_plogi_get_maxframe(flogi, __cil_tmp49);
54896#line 647
54897  __cil_tmp50 = (unsigned long )rdata;
54898#line 647
54899  __cil_tmp51 = __cil_tmp50 + 54;
54900#line 647
54901  *((u16 *)__cil_tmp51) = (u16 )tmp___12;
54902  }
54903#line 648
54904  return (0);
54905}
54906}
54907#line 657 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
54908static void fc_rport_flogi_resp(struct fc_seq *sp , struct fc_frame *fp , void *rp_arg ) 
54909{ struct fc_rport_priv *rdata ;
54910  struct fc_lport *lport ;
54911  struct fc_els_flogi *flogi ;
54912  unsigned int r_a_tov ;
54913  char    *tmp___7 ;
54914  long tmp___8 ;
54915  void *tmp___9 ;
54916  char    *tmp___10 ;
54917  long tmp___11 ;
54918  long tmp___12 ;
54919  long tmp___13 ;
54920  u8 tmp___14 ;
54921  int tmp___15 ;
54922  void *tmp___16 ;
54923  __u32 tmp___17 ;
54924  long tmp___18 ;
54925  unsigned int *__cil_tmp20 ;
54926  unsigned int __cil_tmp21 ;
54927  unsigned int __cil_tmp22 ;
54928  int __cil_tmp23 ;
54929  int __cil_tmp24 ;
54930  long __cil_tmp25 ;
54931  struct fc_lport *__cil_tmp26 ;
54932  struct Scsi_Host *__cil_tmp27 ;
54933  unsigned long __cil_tmp28 ;
54934  unsigned long __cil_tmp29 ;
54935  unsigned int __cil_tmp30 ;
54936  unsigned long __cil_tmp31 ;
54937  unsigned long __cil_tmp32 ;
54938  unsigned long __cil_tmp33 ;
54939  u32 __cil_tmp34 ;
54940  unsigned long __cil_tmp35 ;
54941  unsigned long __cil_tmp36 ;
54942  unsigned long __cil_tmp37 ;
54943  unsigned long __cil_tmp38 ;
54944  struct mutex *__cil_tmp39 ;
54945  unsigned long __cil_tmp40 ;
54946  unsigned long __cil_tmp41 ;
54947  enum fc_rport_state __cil_tmp42 ;
54948  unsigned int __cil_tmp43 ;
54949  unsigned int *__cil_tmp44 ;
54950  unsigned int __cil_tmp45 ;
54951  unsigned int __cil_tmp46 ;
54952  int __cil_tmp47 ;
54953  int __cil_tmp48 ;
54954  long __cil_tmp49 ;
54955  struct fc_lport *__cil_tmp50 ;
54956  struct Scsi_Host *__cil_tmp51 ;
54957  unsigned long __cil_tmp52 ;
54958  unsigned long __cil_tmp53 ;
54959  unsigned int __cil_tmp54 ;
54960  unsigned long __cil_tmp55 ;
54961  unsigned long __cil_tmp56 ;
54962  unsigned long __cil_tmp57 ;
54963  u32 __cil_tmp58 ;
54964  void    *__cil_tmp59 ;
54965  void    *__cil_tmp60 ;
54966  struct fc_frame    *__cil_tmp61 ;
54967  int __cil_tmp62 ;
54968  struct fc_frame    *__cil_tmp63 ;
54969  unsigned long __cil_tmp64 ;
54970  unsigned long __cil_tmp65 ;
54971  unsigned long __cil_tmp66 ;
54972  __be32 __cil_tmp67 ;
54973  unsigned long __cil_tmp68 ;
54974  unsigned long __cil_tmp69 ;
54975  unsigned int __cil_tmp70 ;
54976  unsigned long __cil_tmp71 ;
54977  unsigned long __cil_tmp72 ;
54978  unsigned long __cil_tmp73 ;
54979  unsigned long __cil_tmp74 ;
54980  u64 __cil_tmp75 ;
54981  unsigned long __cil_tmp76 ;
54982  unsigned long __cil_tmp77 ;
54983  unsigned long __cil_tmp78 ;
54984  u64 __cil_tmp79 ;
54985  enum fc_rport_state __cil_tmp80 ;
54986  unsigned long __cil_tmp81 ;
54987  unsigned long __cil_tmp82 ;
54988  struct mutex *__cil_tmp83 ;
54989  unsigned long __cil_tmp84 ;
54990  unsigned long __cil_tmp85 ;
54991  struct kref *__cil_tmp86 ;
54992  unsigned long __cil_tmp87 ;
54993  struct fc_lport *__cil_tmp88 ;
54994  unsigned long __cil_tmp89 ;
54995  unsigned long __cil_tmp90 ;
54996  void (*__cil_tmp91)(struct kref * ) ;
54997  unsigned int *__cil_tmp92 ;
54998  unsigned int __cil_tmp93 ;
54999  unsigned int __cil_tmp94 ;
55000  int __cil_tmp95 ;
55001  int __cil_tmp96 ;
55002  long __cil_tmp97 ;
55003  struct fc_lport *__cil_tmp98 ;
55004  struct Scsi_Host *__cil_tmp99 ;
55005  unsigned long __cil_tmp100 ;
55006  unsigned long __cil_tmp101 ;
55007  unsigned int __cil_tmp102 ;
55008  unsigned long __cil_tmp103 ;
55009  unsigned long __cil_tmp104 ;
55010  unsigned long __cil_tmp105 ;
55011  u32 __cil_tmp106 ;
55012
55013  {
55014#line 660
55015  rdata = (struct fc_rport_priv *)rp_arg;
55016#line 661
55017  lport = *((struct fc_lport **)rdata);
55018  {
55019#line 665
55020  while (1) {
55021    while_continue: /* CIL Label */ ;
55022    {
55023#line 665
55024    __cil_tmp20 = & fc_debug_logging;
55025#line 665
55026    __cil_tmp21 = *__cil_tmp20;
55027#line 665
55028    __cil_tmp22 = __cil_tmp21 & 8U;
55029#line 665
55030    __cil_tmp23 = ! __cil_tmp22;
55031#line 665
55032    __cil_tmp24 = ! __cil_tmp23;
55033#line 665
55034    __cil_tmp25 = (long )__cil_tmp24;
55035#line 665
55036    tmp___8 = __builtin_expect(__cil_tmp25, 0L);
55037    }
55038#line 665
55039    if (tmp___8) {
55040      {
55041#line 665
55042      while (1) {
55043        while_continue___0: /* CIL Label */ ;
55044        {
55045#line 665
55046        tmp___7 = fc_els_resp_type(fp);
55047#line 665
55048        __cil_tmp26 = *((struct fc_lport **)rdata);
55049#line 665
55050        __cil_tmp27 = *((struct Scsi_Host **)__cil_tmp26);
55051#line 665
55052        __cil_tmp28 = (unsigned long )__cil_tmp27;
55053#line 665
55054        __cil_tmp29 = __cil_tmp28 + 308;
55055#line 665
55056        __cil_tmp30 = *((unsigned int *)__cil_tmp29);
55057#line 665
55058        __cil_tmp31 = 24 + 16;
55059#line 665
55060        __cil_tmp32 = (unsigned long )rdata;
55061#line 665
55062        __cil_tmp33 = __cil_tmp32 + __cil_tmp31;
55063#line 665
55064        __cil_tmp34 = *((u32 *)__cil_tmp33);
55065#line 665
55066        printk("<6>host%u: rport %6.6x: Received a FLOGI %s\n", __cil_tmp30, __cil_tmp34,
55067               tmp___7);
55068        }
55069#line 665
55070        goto while_break___0;
55071      }
55072      while_break___0: /* CIL Label */ ;
55073      }
55074    } else {
55075
55076    }
55077#line 665
55078    goto while_break;
55079  }
55080  while_break: /* CIL Label */ ;
55081  }
55082  {
55083#line 667
55084  tmp___9 = (void *)ERR_PTR(-2L);
55085  }
55086  {
55087#line 667
55088  __cil_tmp35 = (unsigned long )tmp___9;
55089#line 667
55090  __cil_tmp36 = (unsigned long )fp;
55091#line 667
55092  if (__cil_tmp36 == __cil_tmp35) {
55093#line 668
55094    goto put;
55095  } else {
55096
55097  }
55098  }
55099  {
55100#line 670
55101  __cil_tmp37 = (unsigned long )rdata;
55102#line 670
55103  __cil_tmp38 = __cil_tmp37 + 72;
55104#line 670
55105  __cil_tmp39 = (struct mutex *)__cil_tmp38;
55106#line 670
55107  mutex_lock(__cil_tmp39);
55108  }
55109  {
55110#line 672
55111  __cil_tmp40 = (unsigned long )rdata;
55112#line 672
55113  __cil_tmp41 = __cil_tmp40 + 20;
55114#line 672
55115  __cil_tmp42 = *((enum fc_rport_state *)__cil_tmp41);
55116#line 672
55117  __cil_tmp43 = (unsigned int )__cil_tmp42;
55118#line 672
55119  if (__cil_tmp43 != 1U) {
55120    {
55121#line 673
55122    while (1) {
55123      while_continue___1: /* CIL Label */ ;
55124      {
55125#line 673
55126      __cil_tmp44 = & fc_debug_logging;
55127#line 673
55128      __cil_tmp45 = *__cil_tmp44;
55129#line 673
55130      __cil_tmp46 = __cil_tmp45 & 8U;
55131#line 673
55132      __cil_tmp47 = ! __cil_tmp46;
55133#line 673
55134      __cil_tmp48 = ! __cil_tmp47;
55135#line 673
55136      __cil_tmp49 = (long )__cil_tmp48;
55137#line 673
55138      tmp___11 = __builtin_expect(__cil_tmp49, 0L);
55139      }
55140#line 673
55141      if (tmp___11) {
55142        {
55143#line 673
55144        while (1) {
55145          while_continue___2: /* CIL Label */ ;
55146          {
55147#line 673
55148          tmp___10 = fc_rport_state(rdata);
55149#line 673
55150          __cil_tmp50 = *((struct fc_lport **)rdata);
55151#line 673
55152          __cil_tmp51 = *((struct Scsi_Host **)__cil_tmp50);
55153#line 673
55154          __cil_tmp52 = (unsigned long )__cil_tmp51;
55155#line 673
55156          __cil_tmp53 = __cil_tmp52 + 308;
55157#line 673
55158          __cil_tmp54 = *((unsigned int *)__cil_tmp53);
55159#line 673
55160          __cil_tmp55 = 24 + 16;
55161#line 673
55162          __cil_tmp56 = (unsigned long )rdata;
55163#line 673
55164          __cil_tmp57 = __cil_tmp56 + __cil_tmp55;
55165#line 673
55166          __cil_tmp58 = *((u32 *)__cil_tmp57);
55167#line 673
55168          printk("<6>host%u: rport %6.6x: Received a FLOGI response, but in state %s\n",
55169                 __cil_tmp54, __cil_tmp58, tmp___10);
55170          }
55171#line 673
55172          goto while_break___2;
55173        }
55174        while_break___2: /* CIL Label */ ;
55175        }
55176      } else {
55177
55178      }
55179#line 673
55180      goto while_break___1;
55181    }
55182    while_break___1: /* CIL Label */ ;
55183    }
55184    {
55185#line 675
55186    __cil_tmp59 = (void    *)fp;
55187#line 675
55188    tmp___12 = (long )IS_ERR(__cil_tmp59);
55189    }
55190#line 675
55191    if (tmp___12) {
55192#line 676
55193      goto err;
55194    } else {
55195
55196    }
55197#line 677
55198    goto out;
55199  } else {
55200
55201  }
55202  }
55203  {
55204#line 680
55205  __cil_tmp60 = (void    *)fp;
55206#line 680
55207  tmp___13 = (long )IS_ERR(__cil_tmp60);
55208  }
55209#line 680
55210  if (tmp___13) {
55211    {
55212#line 681
55213    fc_rport_error(rdata, fp);
55214    }
55215#line 682
55216    goto err;
55217  } else {
55218
55219  }
55220  {
55221#line 685
55222  __cil_tmp61 = (struct fc_frame    *)fp;
55223#line 685
55224  tmp___14 = fc_frame_payload_op(__cil_tmp61);
55225  }
55226  {
55227#line 685
55228  __cil_tmp62 = (int )tmp___14;
55229#line 685
55230  if (__cil_tmp62 != 2) {
55231#line 686
55232    goto bad;
55233  } else {
55234
55235  }
55236  }
55237  {
55238#line 687
55239  tmp___15 = fc_rport_login_complete(rdata, fp);
55240  }
55241#line 687
55242  if (tmp___15) {
55243#line 688
55244    goto bad;
55245  } else {
55246
55247  }
55248  {
55249#line 690
55250  __cil_tmp63 = (struct fc_frame    *)fp;
55251#line 690
55252  tmp___16 = fc_frame_payload_get(__cil_tmp63, 116UL);
55253#line 690
55254  flogi = (struct fc_els_flogi *)tmp___16;
55255  }
55256#line 691
55257  if (! flogi) {
55258#line 692
55259    goto bad;
55260  } else {
55261
55262  }
55263  {
55264#line 693
55265  __cil_tmp64 = 4 + 8;
55266#line 693
55267  __cil_tmp65 = (unsigned long )flogi;
55268#line 693
55269  __cil_tmp66 = __cil_tmp65 + __cil_tmp64;
55270#line 693
55271  __cil_tmp67 = *((__be32 *)__cil_tmp66);
55272#line 693
55273  tmp___17 = __fswab32(__cil_tmp67);
55274#line 693
55275  r_a_tov = tmp___17;
55276  }
55277  {
55278#line 694
55279  __cil_tmp68 = (unsigned long )rdata;
55280#line 694
55281  __cil_tmp69 = __cil_tmp68 + 68;
55282#line 694
55283  __cil_tmp70 = *((unsigned int *)__cil_tmp69);
55284#line 694
55285  if (r_a_tov > __cil_tmp70) {
55286#line 695
55287    __cil_tmp71 = (unsigned long )rdata;
55288#line 695
55289    __cil_tmp72 = __cil_tmp71 + 68;
55290#line 695
55291    *((unsigned int *)__cil_tmp72) = r_a_tov;
55292  } else {
55293
55294  }
55295  }
55296  {
55297#line 697
55298  __cil_tmp73 = (unsigned long )lport;
55299#line 697
55300  __cil_tmp74 = __cil_tmp73 + 792;
55301#line 697
55302  __cil_tmp75 = *((u64 *)__cil_tmp74);
55303#line 697
55304  __cil_tmp76 = 24 + 8;
55305#line 697
55306  __cil_tmp77 = (unsigned long )rdata;
55307#line 697
55308  __cil_tmp78 = __cil_tmp77 + __cil_tmp76;
55309#line 697
55310  __cil_tmp79 = *((u64 *)__cil_tmp78);
55311#line 697
55312  if (__cil_tmp79 < __cil_tmp75) {
55313    {
55314#line 698
55315    fc_rport_enter_plogi(rdata);
55316    }
55317  } else {
55318    {
55319#line 700
55320    __cil_tmp80 = (enum fc_rport_state )2;
55321#line 700
55322    fc_rport_state_enter(rdata, __cil_tmp80);
55323    }
55324  }
55325  }
55326  out: 
55327  {
55328#line 702
55329  fc_frame_free(fp);
55330  }
55331  err: 
55332  {
55333#line 704
55334  __cil_tmp81 = (unsigned long )rdata;
55335#line 704
55336  __cil_tmp82 = __cil_tmp81 + 72;
55337#line 704
55338  __cil_tmp83 = (struct mutex *)__cil_tmp82;
55339#line 704
55340  mutex_unlock(__cil_tmp83);
55341  }
55342  put: 
55343  {
55344#line 706
55345  __cil_tmp84 = (unsigned long )rdata;
55346#line 706
55347  __cil_tmp85 = __cil_tmp84 + 16;
55348#line 706
55349  __cil_tmp86 = (struct kref *)__cil_tmp85;
55350#line 706
55351  __cil_tmp87 = 328 + 200;
55352#line 706
55353  __cil_tmp88 = *((struct fc_lport **)rdata);
55354#line 706
55355  __cil_tmp89 = (unsigned long )__cil_tmp88;
55356#line 706
55357  __cil_tmp90 = __cil_tmp89 + __cil_tmp87;
55358#line 706
55359  __cil_tmp91 = *((void (**)(struct kref * ))__cil_tmp90);
55360#line 706
55361  kref_put(__cil_tmp86, __cil_tmp91);
55362  }
55363#line 707
55364  return;
55365  bad: 
55366  {
55367#line 709
55368  while (1) {
55369    while_continue___3: /* CIL Label */ ;
55370    {
55371#line 709
55372    __cil_tmp92 = & fc_debug_logging;
55373#line 709
55374    __cil_tmp93 = *__cil_tmp92;
55375#line 709
55376    __cil_tmp94 = __cil_tmp93 & 8U;
55377#line 709
55378    __cil_tmp95 = ! __cil_tmp94;
55379#line 709
55380    __cil_tmp96 = ! __cil_tmp95;
55381#line 709
55382    __cil_tmp97 = (long )__cil_tmp96;
55383#line 709
55384    tmp___18 = __builtin_expect(__cil_tmp97, 0L);
55385    }
55386#line 709
55387    if (tmp___18) {
55388      {
55389#line 709
55390      while (1) {
55391        while_continue___4: /* CIL Label */ ;
55392        {
55393#line 709
55394        __cil_tmp98 = *((struct fc_lport **)rdata);
55395#line 709
55396        __cil_tmp99 = *((struct Scsi_Host **)__cil_tmp98);
55397#line 709
55398        __cil_tmp100 = (unsigned long )__cil_tmp99;
55399#line 709
55400        __cil_tmp101 = __cil_tmp100 + 308;
55401#line 709
55402        __cil_tmp102 = *((unsigned int *)__cil_tmp101);
55403#line 709
55404        __cil_tmp103 = 24 + 16;
55405#line 709
55406        __cil_tmp104 = (unsigned long )rdata;
55407#line 709
55408        __cil_tmp105 = __cil_tmp104 + __cil_tmp103;
55409#line 709
55410        __cil_tmp106 = *((u32 *)__cil_tmp105);
55411#line 709
55412        printk("<6>host%u: rport %6.6x: Bad FLOGI response\n", __cil_tmp102, __cil_tmp106);
55413        }
55414#line 709
55415        goto while_break___4;
55416      }
55417      while_break___4: /* CIL Label */ ;
55418      }
55419    } else {
55420
55421    }
55422#line 709
55423    goto while_break___3;
55424  }
55425  while_break___3: /* CIL Label */ ;
55426  }
55427  {
55428#line 710
55429  fc_rport_error_retry(rdata, fp);
55430  }
55431#line 711
55432  goto out;
55433}
55434}
55435#line 721 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
55436static void fc_rport_enter_flogi(struct fc_rport_priv *rdata ) 
55437{ struct fc_lport *lport ;
55438  struct fc_frame *fp ;
55439  char    *tmp___7 ;
55440  long tmp___8 ;
55441  struct fc_seq *tmp___9 ;
55442  u32 __cil_tmp7 ;
55443  unsigned int *__cil_tmp8 ;
55444  unsigned int __cil_tmp9 ;
55445  unsigned int __cil_tmp10 ;
55446  int __cil_tmp11 ;
55447  int __cil_tmp12 ;
55448  long __cil_tmp13 ;
55449  struct fc_lport *__cil_tmp14 ;
55450  struct Scsi_Host *__cil_tmp15 ;
55451  unsigned long __cil_tmp16 ;
55452  unsigned long __cil_tmp17 ;
55453  unsigned int __cil_tmp18 ;
55454  unsigned long __cil_tmp19 ;
55455  unsigned long __cil_tmp20 ;
55456  unsigned long __cil_tmp21 ;
55457  u32 __cil_tmp22 ;
55458  enum fc_rport_state __cil_tmp23 ;
55459  unsigned long __cil_tmp24 ;
55460  unsigned long __cil_tmp25 ;
55461  unsigned long __cil_tmp26 ;
55462  struct fc_seq *(*__cil_tmp27)(struct fc_lport * , u32 did , struct fc_frame * ,
55463                                unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
55464                                                               void *arg ) , void *arg ,
55465                                u32 timer_msec ) ;
55466  unsigned long __cil_tmp28 ;
55467  unsigned long __cil_tmp29 ;
55468  unsigned long __cil_tmp30 ;
55469  u32 __cil_tmp31 ;
55470  void *__cil_tmp32 ;
55471  unsigned long __cil_tmp33 ;
55472  unsigned long __cil_tmp34 ;
55473  unsigned int __cil_tmp35 ;
55474  unsigned int __cil_tmp36 ;
55475  unsigned long __cil_tmp37 ;
55476  unsigned long __cil_tmp38 ;
55477  struct kref *__cil_tmp39 ;
55478  void *__cil_tmp40 ;
55479  struct fc_frame *__cil_tmp41 ;
55480
55481  {
55482#line 723
55483  lport = *((struct fc_lport **)rdata);
55484  {
55485#line 726
55486  __cil_tmp7 = lport->point_to_multipoint;
55487#line 726
55488  if (! __cil_tmp7) {
55489    {
55490#line 727
55491    fc_rport_enter_plogi(rdata);
55492    }
55493#line 727
55494    return;
55495  } else {
55496
55497  }
55498  }
55499  {
55500#line 729
55501  while (1) {
55502    while_continue: /* CIL Label */ ;
55503    {
55504#line 729
55505    __cil_tmp8 = & fc_debug_logging;
55506#line 729
55507    __cil_tmp9 = *__cil_tmp8;
55508#line 729
55509    __cil_tmp10 = __cil_tmp9 & 8U;
55510#line 729
55511    __cil_tmp11 = ! __cil_tmp10;
55512#line 729
55513    __cil_tmp12 = ! __cil_tmp11;
55514#line 729
55515    __cil_tmp13 = (long )__cil_tmp12;
55516#line 729
55517    tmp___8 = __builtin_expect(__cil_tmp13, 0L);
55518    }
55519#line 729
55520    if (tmp___8) {
55521      {
55522#line 729
55523      while (1) {
55524        while_continue___0: /* CIL Label */ ;
55525        {
55526#line 729
55527        tmp___7 = fc_rport_state(rdata);
55528#line 729
55529        __cil_tmp14 = *((struct fc_lport **)rdata);
55530#line 729
55531        __cil_tmp15 = *((struct Scsi_Host **)__cil_tmp14);
55532#line 729
55533        __cil_tmp16 = (unsigned long )__cil_tmp15;
55534#line 729
55535        __cil_tmp17 = __cil_tmp16 + 308;
55536#line 729
55537        __cil_tmp18 = *((unsigned int *)__cil_tmp17);
55538#line 729
55539        __cil_tmp19 = 24 + 16;
55540#line 729
55541        __cil_tmp20 = (unsigned long )rdata;
55542#line 729
55543        __cil_tmp21 = __cil_tmp20 + __cil_tmp19;
55544#line 729
55545        __cil_tmp22 = *((u32 *)__cil_tmp21);
55546#line 729
55547        printk("<6>host%u: rport %6.6x: Entered FLOGI state from %s state\n", __cil_tmp18,
55548               __cil_tmp22, tmp___7);
55549        }
55550#line 729
55551        goto while_break___0;
55552      }
55553      while_break___0: /* CIL Label */ ;
55554      }
55555    } else {
55556
55557    }
55558#line 729
55559    goto while_break;
55560  }
55561  while_break: /* CIL Label */ ;
55562  }
55563  {
55564#line 732
55565  __cil_tmp23 = (enum fc_rport_state )1;
55566#line 732
55567  fc_rport_state_enter(rdata, __cil_tmp23);
55568#line 734
55569  fp = fc_frame_alloc(lport, 116UL);
55570  }
55571#line 735
55572  if (! fp) {
55573    {
55574#line 736
55575    fc_rport_error_retry(rdata, fp);
55576    }
55577#line 736
55578    return;
55579  } else {
55580
55581  }
55582  {
55583#line 738
55584  __cil_tmp24 = 328 + 8;
55585#line 738
55586  __cil_tmp25 = (unsigned long )lport;
55587#line 738
55588  __cil_tmp26 = __cil_tmp25 + __cil_tmp24;
55589#line 738
55590  __cil_tmp27 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
55591                                       unsigned int op , void (*resp)(struct fc_seq * ,
55592                                                                      struct fc_frame * ,
55593                                                                      void *arg ) ,
55594                                       void *arg , u32 timer_msec ))__cil_tmp26);
55595#line 738
55596  __cil_tmp28 = 24 + 16;
55597#line 738
55598  __cil_tmp29 = (unsigned long )rdata;
55599#line 738
55600  __cil_tmp30 = __cil_tmp29 + __cil_tmp28;
55601#line 738
55602  __cil_tmp31 = *((u32 *)__cil_tmp30);
55603#line 738
55604  __cil_tmp32 = (void *)rdata;
55605#line 738
55606  __cil_tmp33 = (unsigned long )lport;
55607#line 738
55608  __cil_tmp34 = __cil_tmp33 + 816;
55609#line 738
55610  __cil_tmp35 = *((unsigned int *)__cil_tmp34);
55611#line 738
55612  __cil_tmp36 = 2U * __cil_tmp35;
55613#line 738
55614  tmp___9 = (*__cil_tmp27)(lport, __cil_tmp31, fp, 4U, & fc_rport_flogi_resp, __cil_tmp32,
55615                           __cil_tmp36);
55616  }
55617#line 738
55618  if (tmp___9) {
55619    {
55620#line 743
55621    __cil_tmp37 = (unsigned long )rdata;
55622#line 743
55623    __cil_tmp38 = __cil_tmp37 + 16;
55624#line 743
55625    __cil_tmp39 = (struct kref *)__cil_tmp38;
55626#line 743
55627    kref_get(__cil_tmp39);
55628    }
55629  } else {
55630    {
55631#line 741
55632    __cil_tmp40 = (void *)0;
55633#line 741
55634    __cil_tmp41 = (struct fc_frame *)__cil_tmp40;
55635#line 741
55636    fc_rport_error_retry(rdata, __cil_tmp41);
55637    }
55638  }
55639#line 744
55640  return;
55641}
55642}
55643#line 751 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
55644static void fc_rport_recv_flogi_req(struct fc_lport *lport , struct fc_frame *rx_fp ) 
55645{ struct fc_disc *disc ;
55646  struct fc_els_flogi *flp ;
55647  struct fc_rport_priv *rdata ;
55648  struct fc_frame *fp ;
55649  struct fc_seq_els_data rjt_data ;
55650  u32 sid ;
55651  long tmp___7 ;
55652  void *tmp___8 ;
55653  char    *tmp___9 ;
55654  long tmp___10 ;
55655  int tmp___11 ;
55656  void *tmp___12 ;
55657  struct fc_frame    *__cil_tmp15 ;
55658  unsigned int *__cil_tmp16 ;
55659  unsigned int __cil_tmp17 ;
55660  unsigned int __cil_tmp18 ;
55661  int __cil_tmp19 ;
55662  int __cil_tmp20 ;
55663  long __cil_tmp21 ;
55664  struct Scsi_Host *__cil_tmp22 ;
55665  unsigned long __cil_tmp23 ;
55666  unsigned long __cil_tmp24 ;
55667  unsigned int __cil_tmp25 ;
55668  unsigned long __cil_tmp26 ;
55669  unsigned long __cil_tmp27 ;
55670  unsigned long __cil_tmp28 ;
55671  unsigned long __cil_tmp29 ;
55672  struct mutex *__cil_tmp30 ;
55673  u32 __cil_tmp31 ;
55674  struct fc_seq_els_data *__cil_tmp32 ;
55675  unsigned long __cil_tmp33 ;
55676  struct fc_frame    *__cil_tmp34 ;
55677  struct fc_seq_els_data *__cil_tmp35 ;
55678  unsigned long __cil_tmp36 ;
55679  unsigned long __cil_tmp37 ;
55680  unsigned long __cil_tmp38 ;
55681  unsigned long __cil_tmp39 ;
55682  struct fc_rport_priv *(*__cil_tmp40)(struct fc_lport    * , u32  ) ;
55683  struct fc_lport    *__cil_tmp41 ;
55684  struct fc_seq_els_data *__cil_tmp42 ;
55685  unsigned long __cil_tmp43 ;
55686  unsigned long __cil_tmp44 ;
55687  unsigned long __cil_tmp45 ;
55688  struct mutex *__cil_tmp46 ;
55689  unsigned int *__cil_tmp47 ;
55690  unsigned int __cil_tmp48 ;
55691  unsigned int __cil_tmp49 ;
55692  int __cil_tmp50 ;
55693  int __cil_tmp51 ;
55694  long __cil_tmp52 ;
55695  struct fc_lport *__cil_tmp53 ;
55696  struct Scsi_Host *__cil_tmp54 ;
55697  unsigned long __cil_tmp55 ;
55698  unsigned long __cil_tmp56 ;
55699  unsigned int __cil_tmp57 ;
55700  unsigned long __cil_tmp58 ;
55701  unsigned long __cil_tmp59 ;
55702  unsigned long __cil_tmp60 ;
55703  u32 __cil_tmp61 ;
55704  unsigned long __cil_tmp62 ;
55705  unsigned long __cil_tmp63 ;
55706  enum fc_rport_state __cil_tmp64 ;
55707  unsigned long __cil_tmp65 ;
55708  unsigned long __cil_tmp66 ;
55709  struct mutex *__cil_tmp67 ;
55710  struct fc_seq_els_data *__cil_tmp68 ;
55711  unsigned long __cil_tmp69 ;
55712  enum fc_rport_event __cil_tmp70 ;
55713  unsigned long __cil_tmp71 ;
55714  unsigned long __cil_tmp72 ;
55715  struct mutex *__cil_tmp73 ;
55716  struct fc_seq_els_data *__cil_tmp74 ;
55717  unsigned long __cil_tmp75 ;
55718  unsigned long __cil_tmp76 ;
55719  unsigned long __cil_tmp77 ;
55720  struct mutex *__cil_tmp78 ;
55721  struct fc_seq_els_data *__cil_tmp79 ;
55722  unsigned long __cil_tmp80 ;
55723  struct fc_frame    *__cil_tmp81 ;
55724  struct fc_frame    *__cil_tmp82 ;
55725  enum fc_rctl __cil_tmp83 ;
55726  u32 __cil_tmp84 ;
55727  unsigned long __cil_tmp85 ;
55728  unsigned long __cil_tmp86 ;
55729  int (*__cil_tmp87)(struct fc_lport * , struct fc_frame * ) ;
55730  unsigned long __cil_tmp88 ;
55731  unsigned long __cil_tmp89 ;
55732  u64 __cil_tmp90 ;
55733  unsigned long __cil_tmp91 ;
55734  unsigned long __cil_tmp92 ;
55735  unsigned long __cil_tmp93 ;
55736  u64 __cil_tmp94 ;
55737  enum fc_rport_state __cil_tmp95 ;
55738  unsigned long __cil_tmp96 ;
55739  unsigned long __cil_tmp97 ;
55740  struct mutex *__cil_tmp98 ;
55741  unsigned long __cil_tmp99 ;
55742  unsigned long __cil_tmp100 ;
55743  struct mutex *__cil_tmp101 ;
55744  unsigned long __cil_tmp102 ;
55745  unsigned long __cil_tmp103 ;
55746  struct mutex *__cil_tmp104 ;
55747  unsigned long __cil_tmp105 ;
55748  unsigned long __cil_tmp106 ;
55749  unsigned long __cil_tmp107 ;
55750  void (*__cil_tmp108)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
55751  enum fc_els_cmd __cil_tmp109 ;
55752
55753  {
55754  {
55755#line 757
55756  fp = rx_fp;
55757#line 761
55758  __cil_tmp15 = (struct fc_frame    *)fp;
55759#line 761
55760  sid = fc_frame_sid(__cil_tmp15);
55761  }
55762  {
55763#line 763
55764  while (1) {
55765    while_continue: /* CIL Label */ ;
55766    {
55767#line 763
55768    __cil_tmp16 = & fc_debug_logging;
55769#line 763
55770    __cil_tmp17 = *__cil_tmp16;
55771#line 763
55772    __cil_tmp18 = __cil_tmp17 & 8U;
55773#line 763
55774    __cil_tmp19 = ! __cil_tmp18;
55775#line 763
55776    __cil_tmp20 = ! __cil_tmp19;
55777#line 763
55778    __cil_tmp21 = (long )__cil_tmp20;
55779#line 763
55780    tmp___7 = __builtin_expect(__cil_tmp21, 0L);
55781    }
55782#line 763
55783    if (tmp___7) {
55784      {
55785#line 763
55786      while (1) {
55787        while_continue___0: /* CIL Label */ ;
55788        {
55789#line 763
55790        __cil_tmp22 = *((struct Scsi_Host **)lport);
55791#line 763
55792        __cil_tmp23 = (unsigned long )__cil_tmp22;
55793#line 763
55794        __cil_tmp24 = __cil_tmp23 + 308;
55795#line 763
55796        __cil_tmp25 = *((unsigned int *)__cil_tmp24);
55797#line 763
55798        printk("<6>host%u: rport %6.6x: Received FLOGI request\n", __cil_tmp25, sid);
55799        }
55800#line 763
55801        goto while_break___0;
55802      }
55803      while_break___0: /* CIL Label */ ;
55804      }
55805    } else {
55806
55807    }
55808#line 763
55809    goto while_break;
55810  }
55811  while_break: /* CIL Label */ ;
55812  }
55813  {
55814#line 765
55815  __cil_tmp26 = (unsigned long )lport;
55816#line 765
55817  __cil_tmp27 = __cil_tmp26 + 56;
55818#line 765
55819  disc = (struct fc_disc *)__cil_tmp27;
55820#line 766
55821  __cil_tmp28 = (unsigned long )disc;
55822#line 766
55823  __cil_tmp29 = __cil_tmp28 + 40;
55824#line 766
55825  __cil_tmp30 = (struct mutex *)__cil_tmp29;
55826#line 766
55827  mutex_lock(__cil_tmp30);
55828  }
55829  {
55830#line 768
55831  __cil_tmp31 = lport->point_to_multipoint;
55832#line 768
55833  if (! __cil_tmp31) {
55834#line 769
55835    __cil_tmp32 = & rjt_data;
55836#line 769
55837    *((enum fc_els_rjt_reason *)__cil_tmp32) = (enum fc_els_rjt_reason )11;
55838#line 770
55839    __cil_tmp33 = (unsigned long )(& rjt_data) + 4;
55840#line 770
55841    *((enum fc_els_rjt_explan *)__cil_tmp33) = (enum fc_els_rjt_explan )0;
55842#line 771
55843    goto reject;
55844  } else {
55845
55846  }
55847  }
55848  {
55849#line 774
55850  __cil_tmp34 = (struct fc_frame    *)fp;
55851#line 774
55852  tmp___8 = fc_frame_payload_get(__cil_tmp34, 116UL);
55853#line 774
55854  flp = (struct fc_els_flogi *)tmp___8;
55855  }
55856#line 775
55857  if (! flp) {
55858#line 776
55859    __cil_tmp35 = & rjt_data;
55860#line 776
55861    *((enum fc_els_rjt_reason *)__cil_tmp35) = (enum fc_els_rjt_reason )3;
55862#line 777
55863    __cil_tmp36 = (unsigned long )(& rjt_data) + 4;
55864#line 777
55865    *((enum fc_els_rjt_explan *)__cil_tmp36) = (enum fc_els_rjt_explan )45;
55866#line 778
55867    goto reject;
55868  } else {
55869
55870  }
55871  {
55872#line 781
55873  __cil_tmp37 = 328 + 192;
55874#line 781
55875  __cil_tmp38 = (unsigned long )lport;
55876#line 781
55877  __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
55878#line 781
55879  __cil_tmp40 = *((struct fc_rport_priv *(**)(struct fc_lport    * , u32  ))__cil_tmp39);
55880#line 781
55881  __cil_tmp41 = (struct fc_lport    *)lport;
55882#line 781
55883  rdata = (*__cil_tmp40)(__cil_tmp41, sid);
55884  }
55885#line 782
55886  if (! rdata) {
55887#line 783
55888    __cil_tmp42 = & rjt_data;
55889#line 783
55890    *((enum fc_els_rjt_reason *)__cil_tmp42) = (enum fc_els_rjt_reason )32;
55891#line 784
55892    __cil_tmp43 = (unsigned long )(& rjt_data) + 4;
55893#line 784
55894    *((enum fc_els_rjt_explan *)__cil_tmp43) = (enum fc_els_rjt_explan )98;
55895#line 785
55896    goto reject;
55897  } else {
55898
55899  }
55900  {
55901#line 787
55902  __cil_tmp44 = (unsigned long )rdata;
55903#line 787
55904  __cil_tmp45 = __cil_tmp44 + 72;
55905#line 787
55906  __cil_tmp46 = (struct mutex *)__cil_tmp45;
55907#line 787
55908  mutex_lock(__cil_tmp46);
55909  }
55910  {
55911#line 789
55912  while (1) {
55913    while_continue___1: /* CIL Label */ ;
55914    {
55915#line 789
55916    __cil_tmp47 = & fc_debug_logging;
55917#line 789
55918    __cil_tmp48 = *__cil_tmp47;
55919#line 789
55920    __cil_tmp49 = __cil_tmp48 & 8U;
55921#line 789
55922    __cil_tmp50 = ! __cil_tmp49;
55923#line 789
55924    __cil_tmp51 = ! __cil_tmp50;
55925#line 789
55926    __cil_tmp52 = (long )__cil_tmp51;
55927#line 789
55928    tmp___10 = __builtin_expect(__cil_tmp52, 0L);
55929    }
55930#line 789
55931    if (tmp___10) {
55932      {
55933#line 789
55934      while (1) {
55935        while_continue___2: /* CIL Label */ ;
55936        {
55937#line 789
55938        tmp___9 = fc_rport_state(rdata);
55939#line 789
55940        __cil_tmp53 = *((struct fc_lport **)rdata);
55941#line 789
55942        __cil_tmp54 = *((struct Scsi_Host **)__cil_tmp53);
55943#line 789
55944        __cil_tmp55 = (unsigned long )__cil_tmp54;
55945#line 789
55946        __cil_tmp56 = __cil_tmp55 + 308;
55947#line 789
55948        __cil_tmp57 = *((unsigned int *)__cil_tmp56);
55949#line 789
55950        __cil_tmp58 = 24 + 16;
55951#line 789
55952        __cil_tmp59 = (unsigned long )rdata;
55953#line 789
55954        __cil_tmp60 = __cil_tmp59 + __cil_tmp58;
55955#line 789
55956        __cil_tmp61 = *((u32 *)__cil_tmp60);
55957#line 789
55958        printk("<6>host%u: rport %6.6x: Received FLOGI in %s state\n", __cil_tmp57,
55959               __cil_tmp61, tmp___9);
55960        }
55961#line 789
55962        goto while_break___2;
55963      }
55964      while_break___2: /* CIL Label */ ;
55965      }
55966    } else {
55967
55968    }
55969#line 789
55970    goto while_break___1;
55971  }
55972  while_break___1: /* CIL Label */ ;
55973  }
55974  {
55975#line 792
55976  __cil_tmp62 = (unsigned long )rdata;
55977#line 792
55978  __cil_tmp63 = __cil_tmp62 + 20;
55979#line 792
55980  __cil_tmp64 = *((enum fc_rport_state *)__cil_tmp63);
55981#line 793
55982  if ((int )__cil_tmp64 == 0) {
55983#line 793
55984    goto case_0;
55985  } else
55986#line 808
55987  if ((int )__cil_tmp64 == 8) {
55988#line 808
55989    goto case_8;
55990  } else
55991#line 813
55992  if ((int )__cil_tmp64 == 1) {
55993#line 813
55994    goto case_1;
55995  } else
55996#line 814
55997  if ((int )__cil_tmp64 == 2) {
55998#line 814
55999    goto case_1;
56000  } else
56001#line 815
56002  if ((int )__cil_tmp64 == 3) {
56003#line 815
56004    goto case_1;
56005  } else
56006#line 817
56007  if ((int )__cil_tmp64 == 4) {
56008#line 817
56009    goto case_4;
56010  } else
56011#line 818
56012  if ((int )__cil_tmp64 == 5) {
56013#line 818
56014    goto case_4;
56015  } else
56016#line 819
56017  if ((int )__cil_tmp64 == 6) {
56018#line 819
56019    goto case_4;
56020  } else
56021#line 820
56022  if ((int )__cil_tmp64 == 7) {
56023#line 820
56024    goto case_4;
56025  } else
56026#line 792
56027  if (0) {
56028    case_0: /* CIL Label */ 
56029#line 806
56030    if (lport->point_to_multipoint) {
56031#line 807
56032      goto switch_break;
56033    } else {
56034
56035    }
56036    case_8: /* CIL Label */ 
56037    {
56038#line 809
56039    __cil_tmp65 = (unsigned long )rdata;
56040#line 809
56041    __cil_tmp66 = __cil_tmp65 + 72;
56042#line 809
56043    __cil_tmp67 = (struct mutex *)__cil_tmp66;
56044#line 809
56045    mutex_unlock(__cil_tmp67);
56046#line 810
56047    __cil_tmp68 = & rjt_data;
56048#line 810
56049    *((enum fc_els_rjt_reason *)__cil_tmp68) = (enum fc_els_rjt_reason )32;
56050#line 811
56051    __cil_tmp69 = (unsigned long )(& rjt_data) + 4;
56052#line 811
56053    *((enum fc_els_rjt_explan *)__cil_tmp69) = (enum fc_els_rjt_explan )98;
56054    }
56055#line 812
56056    goto reject;
56057    case_1: /* CIL Label */ 
56058    case_2: /* CIL Label */ 
56059    case_3: /* CIL Label */ 
56060#line 816
56061    goto switch_break;
56062    case_4: /* CIL Label */ 
56063    case_5: /* CIL Label */ 
56064    case_6: /* CIL Label */ 
56065    case_7: /* CIL Label */ 
56066    {
56067#line 825
56068    __cil_tmp70 = (enum fc_rport_event )4;
56069#line 825
56070    fc_rport_enter_delete(rdata, __cil_tmp70);
56071#line 826
56072    __cil_tmp71 = (unsigned long )rdata;
56073#line 826
56074    __cil_tmp72 = __cil_tmp71 + 72;
56075#line 826
56076    __cil_tmp73 = (struct mutex *)__cil_tmp72;
56077#line 826
56078    mutex_unlock(__cil_tmp73);
56079#line 827
56080    __cil_tmp74 = & rjt_data;
56081#line 827
56082    *((enum fc_els_rjt_reason *)__cil_tmp74) = (enum fc_els_rjt_reason )5;
56083#line 828
56084    __cil_tmp75 = (unsigned long )(& rjt_data) + 4;
56085#line 828
56086    *((enum fc_els_rjt_explan *)__cil_tmp75) = (enum fc_els_rjt_explan )0;
56087    }
56088#line 829
56089    goto reject;
56090  } else {
56091    switch_break: /* CIL Label */ ;
56092  }
56093  }
56094  {
56095#line 831
56096  tmp___11 = fc_rport_login_complete(rdata, fp);
56097  }
56098#line 831
56099  if (tmp___11) {
56100    {
56101#line 832
56102    __cil_tmp76 = (unsigned long )rdata;
56103#line 832
56104    __cil_tmp77 = __cil_tmp76 + 72;
56105#line 832
56106    __cil_tmp78 = (struct mutex *)__cil_tmp77;
56107#line 832
56108    mutex_unlock(__cil_tmp78);
56109#line 833
56110    __cil_tmp79 = & rjt_data;
56111#line 833
56112    *((enum fc_els_rjt_reason *)__cil_tmp79) = (enum fc_els_rjt_reason )3;
56113#line 834
56114    __cil_tmp80 = (unsigned long )(& rjt_data) + 4;
56115#line 834
56116    *((enum fc_els_rjt_explan *)__cil_tmp80) = (enum fc_els_rjt_explan )0;
56117    }
56118#line 835
56119    goto reject;
56120  } else {
56121
56122  }
56123  {
56124#line 838
56125  fp = fc_frame_alloc(lport, 116UL);
56126  }
56127#line 839
56128  if (! fp) {
56129#line 840
56130    goto out;
56131  } else {
56132
56133  }
56134  {
56135#line 842
56136  fc_flogi_fill(lport, fp);
56137#line 843
56138  __cil_tmp81 = (struct fc_frame    *)fp;
56139#line 843
56140  tmp___12 = fc_frame_payload_get(__cil_tmp81, 116UL);
56141#line 843
56142  flp = (struct fc_els_flogi *)tmp___12;
56143#line 844
56144  *((__u8 *)flp) = (__u8 )2;
56145#line 846
56146  __cil_tmp82 = (struct fc_frame    *)rx_fp;
56147#line 846
56148  __cil_tmp83 = (enum fc_rctl )35;
56149#line 846
56150  __cil_tmp84 = (u32 )0;
56151#line 846
56152  fc_fill_reply_hdr(fp, __cil_tmp82, __cil_tmp83, __cil_tmp84);
56153#line 847
56154  __cil_tmp85 = (unsigned long )lport;
56155#line 847
56156  __cil_tmp86 = __cil_tmp85 + 328;
56157#line 847
56158  __cil_tmp87 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp86);
56159#line 847
56160  (*__cil_tmp87)(lport, fp);
56161  }
56162  {
56163#line 849
56164  __cil_tmp88 = (unsigned long )lport;
56165#line 849
56166  __cil_tmp89 = __cil_tmp88 + 792;
56167#line 849
56168  __cil_tmp90 = *((u64 *)__cil_tmp89);
56169#line 849
56170  __cil_tmp91 = 24 + 8;
56171#line 849
56172  __cil_tmp92 = (unsigned long )rdata;
56173#line 849
56174  __cil_tmp93 = __cil_tmp92 + __cil_tmp91;
56175#line 849
56176  __cil_tmp94 = *((u64 *)__cil_tmp93);
56177#line 849
56178  if (__cil_tmp94 < __cil_tmp90) {
56179    {
56180#line 850
56181    fc_rport_enter_plogi(rdata);
56182    }
56183  } else {
56184    {
56185#line 852
56186    __cil_tmp95 = (enum fc_rport_state )2;
56187#line 852
56188    fc_rport_state_enter(rdata, __cil_tmp95);
56189    }
56190  }
56191  }
56192  out: 
56193  {
56194#line 854
56195  __cil_tmp96 = (unsigned long )rdata;
56196#line 854
56197  __cil_tmp97 = __cil_tmp96 + 72;
56198#line 854
56199  __cil_tmp98 = (struct mutex *)__cil_tmp97;
56200#line 854
56201  mutex_unlock(__cil_tmp98);
56202#line 855
56203  __cil_tmp99 = (unsigned long )disc;
56204#line 855
56205  __cil_tmp100 = __cil_tmp99 + 40;
56206#line 855
56207  __cil_tmp101 = (struct mutex *)__cil_tmp100;
56208#line 855
56209  mutex_unlock(__cil_tmp101);
56210#line 856
56211  fc_frame_free(rx_fp);
56212  }
56213#line 857
56214  return;
56215  reject: 
56216  {
56217#line 860
56218  __cil_tmp102 = (unsigned long )disc;
56219#line 860
56220  __cil_tmp103 = __cil_tmp102 + 40;
56221#line 860
56222  __cil_tmp104 = (struct mutex *)__cil_tmp103;
56223#line 860
56224  mutex_unlock(__cil_tmp104);
56225#line 861
56226  __cil_tmp105 = 328 + 64;
56227#line 861
56228  __cil_tmp106 = (unsigned long )lport;
56229#line 861
56230  __cil_tmp107 = __cil_tmp106 + __cil_tmp105;
56231#line 861
56232  __cil_tmp108 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp107);
56233#line 861
56234  __cil_tmp109 = (enum fc_els_cmd )1;
56235#line 861
56236  (*__cil_tmp108)(rx_fp, __cil_tmp109, & rjt_data);
56237#line 862
56238  fc_frame_free(rx_fp);
56239  }
56240#line 863
56241  return;
56242}
56243}
56244#line 875 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
56245static void fc_rport_plogi_resp(struct fc_seq *sp , struct fc_frame *fp , void *rdata_arg ) 
56246{ struct fc_rport_priv *rdata ;
56247  struct fc_lport *lport ;
56248  struct fc_els_flogi *plp ;
56249  u16 csp_seq ;
56250  u16 cssp_seq ;
56251  u8 op ;
56252  char    *tmp___7 ;
56253  long tmp___8 ;
56254  char    *tmp___9 ;
56255  long tmp___10 ;
56256  long tmp___11 ;
56257  long tmp___12 ;
56258  __u16 tmp___13 ;
56259  __u16 tmp___14 ;
56260  __u16 tmp___15 ;
56261  unsigned int tmp___16 ;
56262  void *tmp___17 ;
56263  void *__cil_tmp21 ;
56264  unsigned long __cil_tmp22 ;
56265  unsigned long __cil_tmp23 ;
56266  struct mutex *__cil_tmp24 ;
56267  unsigned int *__cil_tmp25 ;
56268  unsigned int __cil_tmp26 ;
56269  unsigned int __cil_tmp27 ;
56270  int __cil_tmp28 ;
56271  int __cil_tmp29 ;
56272  long __cil_tmp30 ;
56273  struct fc_lport *__cil_tmp31 ;
56274  struct Scsi_Host *__cil_tmp32 ;
56275  unsigned long __cil_tmp33 ;
56276  unsigned long __cil_tmp34 ;
56277  unsigned int __cil_tmp35 ;
56278  unsigned long __cil_tmp36 ;
56279  unsigned long __cil_tmp37 ;
56280  unsigned long __cil_tmp38 ;
56281  u32 __cil_tmp39 ;
56282  unsigned long __cil_tmp40 ;
56283  unsigned long __cil_tmp41 ;
56284  enum fc_rport_state __cil_tmp42 ;
56285  unsigned int __cil_tmp43 ;
56286  unsigned int *__cil_tmp44 ;
56287  unsigned int __cil_tmp45 ;
56288  unsigned int __cil_tmp46 ;
56289  int __cil_tmp47 ;
56290  int __cil_tmp48 ;
56291  long __cil_tmp49 ;
56292  struct fc_lport *__cil_tmp50 ;
56293  struct Scsi_Host *__cil_tmp51 ;
56294  unsigned long __cil_tmp52 ;
56295  unsigned long __cil_tmp53 ;
56296  unsigned int __cil_tmp54 ;
56297  unsigned long __cil_tmp55 ;
56298  unsigned long __cil_tmp56 ;
56299  unsigned long __cil_tmp57 ;
56300  u32 __cil_tmp58 ;
56301  void    *__cil_tmp59 ;
56302  void    *__cil_tmp60 ;
56303  struct fc_frame    *__cil_tmp61 ;
56304  int __cil_tmp62 ;
56305  struct fc_frame    *__cil_tmp63 ;
56306  void *__cil_tmp64 ;
56307  unsigned long __cil_tmp65 ;
56308  unsigned long __cil_tmp66 ;
56309  unsigned long __cil_tmp67 ;
56310  unsigned long __cil_tmp68 ;
56311  unsigned long __cil_tmp69 ;
56312  unsigned long __cil_tmp70 ;
56313  unsigned long __cil_tmp71 ;
56314  __be64 *__cil_tmp72 ;
56315  void    *__cil_tmp73 ;
56316  unsigned long __cil_tmp74 ;
56317  unsigned long __cil_tmp75 ;
56318  unsigned long __cil_tmp76 ;
56319  unsigned long __cil_tmp77 ;
56320  __be64 *__cil_tmp78 ;
56321  void    *__cil_tmp79 ;
56322  unsigned long __cil_tmp80 ;
56323  unsigned long __cil_tmp81 ;
56324  unsigned long __cil_tmp82 ;
56325  __be16 __cil_tmp83 ;
56326  unsigned long __cil_tmp84 ;
56327  unsigned long __cil_tmp85 ;
56328  int __cil_tmp86 ;
56329  unsigned long __cil_tmp87 ;
56330  unsigned long __cil_tmp88 ;
56331  unsigned long __cil_tmp89 ;
56332  __be16 __cil_tmp90 ;
56333  int __cil_tmp91 ;
56334  unsigned long __cil_tmp92 ;
56335  unsigned long __cil_tmp93 ;
56336  unsigned long __cil_tmp94 ;
56337  unsigned long __cil_tmp95 ;
56338  unsigned long __cil_tmp96 ;
56339  __be16 __cil_tmp97 ;
56340  int __cil_tmp98 ;
56341  int __cil_tmp99 ;
56342  int __cil_tmp100 ;
56343  unsigned long __cil_tmp101 ;
56344  unsigned long __cil_tmp102 ;
56345  unsigned long __cil_tmp103 ;
56346  unsigned long __cil_tmp104 ;
56347  u32 __cil_tmp105 ;
56348  unsigned long __cil_tmp106 ;
56349  unsigned long __cil_tmp107 ;
56350  unsigned long __cil_tmp108 ;
56351  unsigned long __cil_tmp109 ;
56352  struct mutex *__cil_tmp110 ;
56353  unsigned long __cil_tmp111 ;
56354  unsigned long __cil_tmp112 ;
56355  struct kref *__cil_tmp113 ;
56356  unsigned long __cil_tmp114 ;
56357  struct fc_lport *__cil_tmp115 ;
56358  unsigned long __cil_tmp116 ;
56359  unsigned long __cil_tmp117 ;
56360  void (*__cil_tmp118)(struct kref * ) ;
56361
56362  {
56363  {
56364#line 878
56365  rdata = (struct fc_rport_priv *)rdata_arg;
56366#line 879
56367  lport = *((struct fc_lport **)rdata);
56368#line 880
56369  __cil_tmp21 = (void *)0;
56370#line 880
56371  plp = (struct fc_els_flogi *)__cil_tmp21;
56372#line 885
56373  __cil_tmp22 = (unsigned long )rdata;
56374#line 885
56375  __cil_tmp23 = __cil_tmp22 + 72;
56376#line 885
56377  __cil_tmp24 = (struct mutex *)__cil_tmp23;
56378#line 885
56379  mutex_lock(__cil_tmp24);
56380  }
56381  {
56382#line 887
56383  while (1) {
56384    while_continue: /* CIL Label */ ;
56385    {
56386#line 887
56387    __cil_tmp25 = & fc_debug_logging;
56388#line 887
56389    __cil_tmp26 = *__cil_tmp25;
56390#line 887
56391    __cil_tmp27 = __cil_tmp26 & 8U;
56392#line 887
56393    __cil_tmp28 = ! __cil_tmp27;
56394#line 887
56395    __cil_tmp29 = ! __cil_tmp28;
56396#line 887
56397    __cil_tmp30 = (long )__cil_tmp29;
56398#line 887
56399    tmp___8 = __builtin_expect(__cil_tmp30, 0L);
56400    }
56401#line 887
56402    if (tmp___8) {
56403      {
56404#line 887
56405      while (1) {
56406        while_continue___0: /* CIL Label */ ;
56407        {
56408#line 887
56409        tmp___7 = fc_els_resp_type(fp);
56410#line 887
56411        __cil_tmp31 = *((struct fc_lport **)rdata);
56412#line 887
56413        __cil_tmp32 = *((struct Scsi_Host **)__cil_tmp31);
56414#line 887
56415        __cil_tmp33 = (unsigned long )__cil_tmp32;
56416#line 887
56417        __cil_tmp34 = __cil_tmp33 + 308;
56418#line 887
56419        __cil_tmp35 = *((unsigned int *)__cil_tmp34);
56420#line 887
56421        __cil_tmp36 = 24 + 16;
56422#line 887
56423        __cil_tmp37 = (unsigned long )rdata;
56424#line 887
56425        __cil_tmp38 = __cil_tmp37 + __cil_tmp36;
56426#line 887
56427        __cil_tmp39 = *((u32 *)__cil_tmp38);
56428#line 887
56429        printk("<6>host%u: rport %6.6x: Received a PLOGI %s\n", __cil_tmp35, __cil_tmp39,
56430               tmp___7);
56431        }
56432#line 887
56433        goto while_break___0;
56434      }
56435      while_break___0: /* CIL Label */ ;
56436      }
56437    } else {
56438
56439    }
56440#line 887
56441    goto while_break;
56442  }
56443  while_break: /* CIL Label */ ;
56444  }
56445  {
56446#line 889
56447  __cil_tmp40 = (unsigned long )rdata;
56448#line 889
56449  __cil_tmp41 = __cil_tmp40 + 20;
56450#line 889
56451  __cil_tmp42 = *((enum fc_rport_state *)__cil_tmp41);
56452#line 889
56453  __cil_tmp43 = (unsigned int )__cil_tmp42;
56454#line 889
56455  if (__cil_tmp43 != 3U) {
56456    {
56457#line 890
56458    while (1) {
56459      while_continue___1: /* CIL Label */ ;
56460      {
56461#line 890
56462      __cil_tmp44 = & fc_debug_logging;
56463#line 890
56464      __cil_tmp45 = *__cil_tmp44;
56465#line 890
56466      __cil_tmp46 = __cil_tmp45 & 8U;
56467#line 890
56468      __cil_tmp47 = ! __cil_tmp46;
56469#line 890
56470      __cil_tmp48 = ! __cil_tmp47;
56471#line 890
56472      __cil_tmp49 = (long )__cil_tmp48;
56473#line 890
56474      tmp___10 = __builtin_expect(__cil_tmp49, 0L);
56475      }
56476#line 890
56477      if (tmp___10) {
56478        {
56479#line 890
56480        while (1) {
56481          while_continue___2: /* CIL Label */ ;
56482          {
56483#line 890
56484          tmp___9 = fc_rport_state(rdata);
56485#line 890
56486          __cil_tmp50 = *((struct fc_lport **)rdata);
56487#line 890
56488          __cil_tmp51 = *((struct Scsi_Host **)__cil_tmp50);
56489#line 890
56490          __cil_tmp52 = (unsigned long )__cil_tmp51;
56491#line 890
56492          __cil_tmp53 = __cil_tmp52 + 308;
56493#line 890
56494          __cil_tmp54 = *((unsigned int *)__cil_tmp53);
56495#line 890
56496          __cil_tmp55 = 24 + 16;
56497#line 890
56498          __cil_tmp56 = (unsigned long )rdata;
56499#line 890
56500          __cil_tmp57 = __cil_tmp56 + __cil_tmp55;
56501#line 890
56502          __cil_tmp58 = *((u32 *)__cil_tmp57);
56503#line 890
56504          printk("<6>host%u: rport %6.6x: Received a PLOGI response, but in state %s\n",
56505                 __cil_tmp54, __cil_tmp58, tmp___9);
56506          }
56507#line 890
56508          goto while_break___2;
56509        }
56510        while_break___2: /* CIL Label */ ;
56511        }
56512      } else {
56513
56514      }
56515#line 890
56516      goto while_break___1;
56517    }
56518    while_break___1: /* CIL Label */ ;
56519    }
56520    {
56521#line 892
56522    __cil_tmp59 = (void    *)fp;
56523#line 892
56524    tmp___11 = (long )IS_ERR(__cil_tmp59);
56525    }
56526#line 892
56527    if (tmp___11) {
56528#line 893
56529      goto err;
56530    } else {
56531
56532    }
56533#line 894
56534    goto out;
56535  } else {
56536
56537  }
56538  }
56539  {
56540#line 897
56541  __cil_tmp60 = (void    *)fp;
56542#line 897
56543  tmp___12 = (long )IS_ERR(__cil_tmp60);
56544  }
56545#line 897
56546  if (tmp___12) {
56547    {
56548#line 898
56549    fc_rport_error_retry(rdata, fp);
56550    }
56551#line 899
56552    goto err;
56553  } else {
56554
56555  }
56556  {
56557#line 902
56558  __cil_tmp61 = (struct fc_frame    *)fp;
56559#line 902
56560  op = fc_frame_payload_op(__cil_tmp61);
56561  }
56562  {
56563#line 903
56564  __cil_tmp62 = (int )op;
56565#line 903
56566  if (__cil_tmp62 == 2) {
56567    {
56568#line 903
56569    __cil_tmp63 = (struct fc_frame    *)fp;
56570#line 903
56571    tmp___17 = fc_frame_payload_get(__cil_tmp63, 116UL);
56572#line 903
56573    plp = (struct fc_els_flogi *)tmp___17;
56574    }
56575    {
56576#line 903
56577    __cil_tmp64 = (void *)0;
56578#line 903
56579    __cil_tmp65 = (unsigned long )__cil_tmp64;
56580#line 903
56581    __cil_tmp66 = (unsigned long )plp;
56582#line 903
56583    if (__cil_tmp66 != __cil_tmp65) {
56584      {
56585#line 905
56586      __cil_tmp67 = 24 + 8;
56587#line 905
56588      __cil_tmp68 = (unsigned long )rdata;
56589#line 905
56590      __cil_tmp69 = __cil_tmp68 + __cil_tmp67;
56591#line 905
56592      __cil_tmp70 = (unsigned long )plp;
56593#line 905
56594      __cil_tmp71 = __cil_tmp70 + 20;
56595#line 905
56596      __cil_tmp72 = (__be64 *)__cil_tmp71;
56597#line 905
56598      __cil_tmp73 = (void    *)__cil_tmp72;
56599#line 905
56600      *((u64 *)__cil_tmp69) = get_unaligned_be64(__cil_tmp73);
56601#line 906
56602      __cil_tmp74 = (unsigned long )rdata;
56603#line 906
56604      __cil_tmp75 = __cil_tmp74 + 24;
56605#line 906
56606      __cil_tmp76 = (unsigned long )plp;
56607#line 906
56608      __cil_tmp77 = __cil_tmp76 + 28;
56609#line 906
56610      __cil_tmp78 = (__be64 *)__cil_tmp77;
56611#line 906
56612      __cil_tmp79 = (void    *)__cil_tmp78;
56613#line 906
56614      *((u64 *)__cil_tmp75) = get_unaligned_be64(__cil_tmp79);
56615#line 909
56616      __cil_tmp80 = 4 + 4;
56617#line 909
56618      __cil_tmp81 = (unsigned long )plp;
56619#line 909
56620      __cil_tmp82 = __cil_tmp81 + __cil_tmp80;
56621#line 909
56622      __cil_tmp83 = *((__be16 *)__cil_tmp82);
56623#line 909
56624      tmp___13 = __fswab16(__cil_tmp83);
56625#line 909
56626      __cil_tmp84 = (unsigned long )rdata;
56627#line 909
56628      __cil_tmp85 = __cil_tmp84 + 344;
56629#line 909
56630      __cil_tmp86 = (int )tmp___13;
56631#line 909
56632      *((u16 *)__cil_tmp85) = (u16 )__cil_tmp86;
56633      }
56634#line 911
56635      if (lport->point_to_multipoint) {
56636        {
56637#line 912
56638        fc_rport_login_complete(rdata, fp);
56639        }
56640      } else {
56641
56642      }
56643      {
56644#line 913
56645      __cil_tmp87 = 4 + 8;
56646#line 913
56647      __cil_tmp88 = (unsigned long )plp;
56648#line 913
56649      __cil_tmp89 = __cil_tmp88 + __cil_tmp87;
56650#line 913
56651      __cil_tmp90 = *((__be16 *)__cil_tmp89);
56652#line 913
56653      tmp___14 = __fswab16(__cil_tmp90);
56654#line 913
56655      __cil_tmp91 = (int )tmp___14;
56656#line 913
56657      csp_seq = (u16 )__cil_tmp91;
56658#line 914
56659      __cil_tmp92 = 2 * 16UL;
56660#line 914
56661      __cil_tmp93 = __cil_tmp92 + 8;
56662#line 914
56663      __cil_tmp94 = 36 + __cil_tmp93;
56664#line 914
56665      __cil_tmp95 = (unsigned long )plp;
56666#line 914
56667      __cil_tmp96 = __cil_tmp95 + __cil_tmp94;
56668#line 914
56669      __cil_tmp97 = *((__be16 *)__cil_tmp96);
56670#line 914
56671      tmp___15 = __fswab16(__cil_tmp97);
56672#line 914
56673      __cil_tmp98 = (int )tmp___15;
56674#line 914
56675      cssp_seq = (u16 )__cil_tmp98;
56676      }
56677      {
56678#line 915
56679      __cil_tmp99 = (int )csp_seq;
56680#line 915
56681      __cil_tmp100 = (int )cssp_seq;
56682#line 915
56683      if (__cil_tmp100 < __cil_tmp99) {
56684#line 916
56685        csp_seq = cssp_seq;
56686      } else {
56687
56688      }
56689      }
56690      {
56691#line 917
56692      __cil_tmp101 = (unsigned long )rdata;
56693#line 917
56694      __cil_tmp102 = __cil_tmp101 + 50;
56695#line 917
56696      *((u16 *)__cil_tmp102) = csp_seq;
56697#line 918
56698      __cil_tmp103 = (unsigned long )lport;
56699#line 918
56700      __cil_tmp104 = __cil_tmp103 + 876;
56701#line 918
56702      __cil_tmp105 = *((u32 *)__cil_tmp104);
56703#line 918
56704      tmp___16 = fc_plogi_get_maxframe(plp, __cil_tmp105);
56705#line 918
56706      __cil_tmp106 = (unsigned long )rdata;
56707#line 918
56708      __cil_tmp107 = __cil_tmp106 + 54;
56709#line 918
56710      *((u16 *)__cil_tmp107) = (u16 )tmp___16;
56711#line 919
56712      fc_rport_enter_prli(rdata);
56713      }
56714    } else {
56715      {
56716#line 921
56717      fc_rport_error_retry(rdata, fp);
56718      }
56719    }
56720    }
56721  } else {
56722    {
56723#line 921
56724    fc_rport_error_retry(rdata, fp);
56725    }
56726  }
56727  }
56728  out: 
56729  {
56730#line 924
56731  fc_frame_free(fp);
56732  }
56733  err: 
56734  {
56735#line 926
56736  __cil_tmp108 = (unsigned long )rdata;
56737#line 926
56738  __cil_tmp109 = __cil_tmp108 + 72;
56739#line 926
56740  __cil_tmp110 = (struct mutex *)__cil_tmp109;
56741#line 926
56742  mutex_unlock(__cil_tmp110);
56743#line 927
56744  __cil_tmp111 = (unsigned long )rdata;
56745#line 927
56746  __cil_tmp112 = __cil_tmp111 + 16;
56747#line 927
56748  __cil_tmp113 = (struct kref *)__cil_tmp112;
56749#line 927
56750  __cil_tmp114 = 328 + 200;
56751#line 927
56752  __cil_tmp115 = *((struct fc_lport **)rdata);
56753#line 927
56754  __cil_tmp116 = (unsigned long )__cil_tmp115;
56755#line 927
56756  __cil_tmp117 = __cil_tmp116 + __cil_tmp114;
56757#line 927
56758  __cil_tmp118 = *((void (**)(struct kref * ))__cil_tmp117);
56759#line 927
56760  kref_put(__cil_tmp113, __cil_tmp118);
56761  }
56762#line 928
56763  return;
56764}
56765}
56766#line 937 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
56767static void fc_rport_enter_plogi(struct fc_rport_priv *rdata ) 
56768{ struct fc_lport *lport ;
56769  struct fc_frame *fp ;
56770  char    *tmp___7 ;
56771  long tmp___8 ;
56772  long tmp___9 ;
56773  struct fc_seq *tmp___10 ;
56774  unsigned int *__cil_tmp8 ;
56775  unsigned int __cil_tmp9 ;
56776  unsigned int __cil_tmp10 ;
56777  int __cil_tmp11 ;
56778  int __cil_tmp12 ;
56779  long __cil_tmp13 ;
56780  struct fc_lport *__cil_tmp14 ;
56781  struct Scsi_Host *__cil_tmp15 ;
56782  unsigned long __cil_tmp16 ;
56783  unsigned long __cil_tmp17 ;
56784  unsigned int __cil_tmp18 ;
56785  unsigned long __cil_tmp19 ;
56786  unsigned long __cil_tmp20 ;
56787  unsigned long __cil_tmp21 ;
56788  u32 __cil_tmp22 ;
56789  enum fc_rport_state __cil_tmp23 ;
56790  unsigned long __cil_tmp24 ;
56791  unsigned long __cil_tmp25 ;
56792  unsigned int *__cil_tmp26 ;
56793  unsigned int __cil_tmp27 ;
56794  unsigned int __cil_tmp28 ;
56795  int __cil_tmp29 ;
56796  int __cil_tmp30 ;
56797  long __cil_tmp31 ;
56798  struct fc_lport *__cil_tmp32 ;
56799  struct Scsi_Host *__cil_tmp33 ;
56800  unsigned long __cil_tmp34 ;
56801  unsigned long __cil_tmp35 ;
56802  unsigned int __cil_tmp36 ;
56803  unsigned long __cil_tmp37 ;
56804  unsigned long __cil_tmp38 ;
56805  unsigned long __cil_tmp39 ;
56806  u32 __cil_tmp40 ;
56807  unsigned long __cil_tmp41 ;
56808  unsigned long __cil_tmp42 ;
56809  unsigned long __cil_tmp43 ;
56810  unsigned long __cil_tmp44 ;
56811  unsigned long __cil_tmp45 ;
56812  unsigned long __cil_tmp46 ;
56813  unsigned long __cil_tmp47 ;
56814  struct fc_seq *(*__cil_tmp48)(struct fc_lport * , u32 did , struct fc_frame * ,
56815                                unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
56816                                                               void *arg ) , void *arg ,
56817                                u32 timer_msec ) ;
56818  unsigned long __cil_tmp49 ;
56819  unsigned long __cil_tmp50 ;
56820  unsigned long __cil_tmp51 ;
56821  u32 __cil_tmp52 ;
56822  void *__cil_tmp53 ;
56823  unsigned long __cil_tmp54 ;
56824  unsigned long __cil_tmp55 ;
56825  unsigned int __cil_tmp56 ;
56826  unsigned int __cil_tmp57 ;
56827  unsigned long __cil_tmp58 ;
56828  unsigned long __cil_tmp59 ;
56829  struct kref *__cil_tmp60 ;
56830  void *__cil_tmp61 ;
56831  struct fc_frame *__cil_tmp62 ;
56832
56833  {
56834#line 939
56835  lport = *((struct fc_lport **)rdata);
56836  {
56837#line 942
56838  while (1) {
56839    while_continue: /* CIL Label */ ;
56840    {
56841#line 942
56842    __cil_tmp8 = & fc_debug_logging;
56843#line 942
56844    __cil_tmp9 = *__cil_tmp8;
56845#line 942
56846    __cil_tmp10 = __cil_tmp9 & 8U;
56847#line 942
56848    __cil_tmp11 = ! __cil_tmp10;
56849#line 942
56850    __cil_tmp12 = ! __cil_tmp11;
56851#line 942
56852    __cil_tmp13 = (long )__cil_tmp12;
56853#line 942
56854    tmp___8 = __builtin_expect(__cil_tmp13, 0L);
56855    }
56856#line 942
56857    if (tmp___8) {
56858      {
56859#line 942
56860      while (1) {
56861        while_continue___0: /* CIL Label */ ;
56862        {
56863#line 942
56864        tmp___7 = fc_rport_state(rdata);
56865#line 942
56866        __cil_tmp14 = *((struct fc_lport **)rdata);
56867#line 942
56868        __cil_tmp15 = *((struct Scsi_Host **)__cil_tmp14);
56869#line 942
56870        __cil_tmp16 = (unsigned long )__cil_tmp15;
56871#line 942
56872        __cil_tmp17 = __cil_tmp16 + 308;
56873#line 942
56874        __cil_tmp18 = *((unsigned int *)__cil_tmp17);
56875#line 942
56876        __cil_tmp19 = 24 + 16;
56877#line 942
56878        __cil_tmp20 = (unsigned long )rdata;
56879#line 942
56880        __cil_tmp21 = __cil_tmp20 + __cil_tmp19;
56881#line 942
56882        __cil_tmp22 = *((u32 *)__cil_tmp21);
56883#line 942
56884        printk("<6>host%u: rport %6.6x: Port entered PLOGI state from %s state\n",
56885               __cil_tmp18, __cil_tmp22, tmp___7);
56886        }
56887#line 942
56888        goto while_break___0;
56889      }
56890      while_break___0: /* CIL Label */ ;
56891      }
56892    } else {
56893
56894    }
56895#line 942
56896    goto while_break;
56897  }
56898  while_break: /* CIL Label */ ;
56899  }
56900  {
56901#line 945
56902  __cil_tmp23 = (enum fc_rport_state )3;
56903#line 945
56904  fc_rport_state_enter(rdata, __cil_tmp23);
56905#line 947
56906  __cil_tmp24 = (unsigned long )rdata;
56907#line 947
56908  __cil_tmp25 = __cil_tmp24 + 54;
56909#line 947
56910  *((u16 *)__cil_tmp25) = (u16 )256U;
56911#line 948
56912  fp = fc_frame_alloc(lport, 116UL);
56913  }
56914#line 949
56915  if (! fp) {
56916    {
56917#line 950
56918    while (1) {
56919      while_continue___1: /* CIL Label */ ;
56920      {
56921#line 950
56922      __cil_tmp26 = & fc_debug_logging;
56923#line 950
56924      __cil_tmp27 = *__cil_tmp26;
56925#line 950
56926      __cil_tmp28 = __cil_tmp27 & 8U;
56927#line 950
56928      __cil_tmp29 = ! __cil_tmp28;
56929#line 950
56930      __cil_tmp30 = ! __cil_tmp29;
56931#line 950
56932      __cil_tmp31 = (long )__cil_tmp30;
56933#line 950
56934      tmp___9 = __builtin_expect(__cil_tmp31, 0L);
56935      }
56936#line 950
56937      if (tmp___9) {
56938        {
56939#line 950
56940        while (1) {
56941          while_continue___2: /* CIL Label */ ;
56942          {
56943#line 950
56944          __cil_tmp32 = *((struct fc_lport **)rdata);
56945#line 950
56946          __cil_tmp33 = *((struct Scsi_Host **)__cil_tmp32);
56947#line 950
56948          __cil_tmp34 = (unsigned long )__cil_tmp33;
56949#line 950
56950          __cil_tmp35 = __cil_tmp34 + 308;
56951#line 950
56952          __cil_tmp36 = *((unsigned int *)__cil_tmp35);
56953#line 950
56954          __cil_tmp37 = 24 + 16;
56955#line 950
56956          __cil_tmp38 = (unsigned long )rdata;
56957#line 950
56958          __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
56959#line 950
56960          __cil_tmp40 = *((u32 *)__cil_tmp39);
56961#line 950
56962          printk("<6>host%u: rport %6.6x: %s frame alloc failed\n", __cil_tmp36, __cil_tmp40,
56963                 "fc_rport_enter_plogi");
56964          }
56965#line 950
56966          goto while_break___2;
56967        }
56968        while_break___2: /* CIL Label */ ;
56969        }
56970      } else {
56971
56972      }
56973#line 950
56974      goto while_break___1;
56975    }
56976    while_break___1: /* CIL Label */ ;
56977    }
56978    {
56979#line 951
56980    fc_rport_error_retry(rdata, fp);
56981    }
56982#line 952
56983    return;
56984  } else {
56985
56986  }
56987  {
56988#line 954
56989  __cil_tmp41 = (unsigned long )rdata;
56990#line 954
56991  __cil_tmp42 = __cil_tmp41 + 64;
56992#line 954
56993  __cil_tmp43 = (unsigned long )lport;
56994#line 954
56995  __cil_tmp44 = __cil_tmp43 + 812;
56996#line 954
56997  *((unsigned int *)__cil_tmp42) = *((unsigned int *)__cil_tmp44);
56998#line 956
56999  __cil_tmp45 = 328 + 8;
57000#line 956
57001  __cil_tmp46 = (unsigned long )lport;
57002#line 956
57003  __cil_tmp47 = __cil_tmp46 + __cil_tmp45;
57004#line 956
57005  __cil_tmp48 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
57006                                       unsigned int op , void (*resp)(struct fc_seq * ,
57007                                                                      struct fc_frame * ,
57008                                                                      void *arg ) ,
57009                                       void *arg , u32 timer_msec ))__cil_tmp47);
57010#line 956
57011  __cil_tmp49 = 24 + 16;
57012#line 956
57013  __cil_tmp50 = (unsigned long )rdata;
57014#line 956
57015  __cil_tmp51 = __cil_tmp50 + __cil_tmp49;
57016#line 956
57017  __cil_tmp52 = *((u32 *)__cil_tmp51);
57018#line 956
57019  __cil_tmp53 = (void *)rdata;
57020#line 956
57021  __cil_tmp54 = (unsigned long )lport;
57022#line 956
57023  __cil_tmp55 = __cil_tmp54 + 816;
57024#line 956
57025  __cil_tmp56 = *((unsigned int *)__cil_tmp55);
57026#line 956
57027  __cil_tmp57 = 2U * __cil_tmp56;
57028#line 956
57029  tmp___10 = (*__cil_tmp48)(lport, __cil_tmp52, fp, 3U, & fc_rport_plogi_resp, __cil_tmp53,
57030                            __cil_tmp57);
57031  }
57032#line 956
57033  if (tmp___10) {
57034    {
57035#line 961
57036    __cil_tmp58 = (unsigned long )rdata;
57037#line 961
57038    __cil_tmp59 = __cil_tmp58 + 16;
57039#line 961
57040    __cil_tmp60 = (struct kref *)__cil_tmp59;
57041#line 961
57042    kref_get(__cil_tmp60);
57043    }
57044  } else {
57045    {
57046#line 959
57047    __cil_tmp61 = (void *)0;
57048#line 959
57049    __cil_tmp62 = (struct fc_frame *)__cil_tmp61;
57050#line 959
57051    fc_rport_error_retry(rdata, __cil_tmp62);
57052    }
57053  }
57054#line 962
57055  return;
57056}
57057}
57058#line 974 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
57059static void fc_rport_prli_resp(struct fc_seq *sp , struct fc_frame *fp , void *rdata_arg ) 
57060{ struct fc_rport_priv *rdata ;
57061  struct __anonstruct_pp_297 *pp ;
57062  struct fc_els_spp temp_spp ;
57063  struct fc4_prov *prov ;
57064  u32 roles ;
57065  u32 fcp_parm ;
57066  u8 op ;
57067  u8 resp_code ;
57068  char    *tmp___7 ;
57069  long tmp___8 ;
57070  char    *tmp___9 ;
57071  long tmp___10 ;
57072  long tmp___11 ;
57073  long tmp___12 ;
57074  void *tmp___13 ;
57075  long tmp___14 ;
57076  __u32 tmp___15 ;
57077  long tmp___16 ;
57078  unsigned long __cil_tmp22 ;
57079  unsigned long __cil_tmp23 ;
57080  struct mutex *__cil_tmp24 ;
57081  unsigned int *__cil_tmp25 ;
57082  unsigned int __cil_tmp26 ;
57083  unsigned int __cil_tmp27 ;
57084  int __cil_tmp28 ;
57085  int __cil_tmp29 ;
57086  long __cil_tmp30 ;
57087  struct fc_lport *__cil_tmp31 ;
57088  struct Scsi_Host *__cil_tmp32 ;
57089  unsigned long __cil_tmp33 ;
57090  unsigned long __cil_tmp34 ;
57091  unsigned int __cil_tmp35 ;
57092  unsigned long __cil_tmp36 ;
57093  unsigned long __cil_tmp37 ;
57094  unsigned long __cil_tmp38 ;
57095  u32 __cil_tmp39 ;
57096  unsigned long __cil_tmp40 ;
57097  unsigned long __cil_tmp41 ;
57098  enum fc_rport_state __cil_tmp42 ;
57099  unsigned int __cil_tmp43 ;
57100  unsigned int *__cil_tmp44 ;
57101  unsigned int __cil_tmp45 ;
57102  unsigned int __cil_tmp46 ;
57103  int __cil_tmp47 ;
57104  int __cil_tmp48 ;
57105  long __cil_tmp49 ;
57106  struct fc_lport *__cil_tmp50 ;
57107  struct Scsi_Host *__cil_tmp51 ;
57108  unsigned long __cil_tmp52 ;
57109  unsigned long __cil_tmp53 ;
57110  unsigned int __cil_tmp54 ;
57111  unsigned long __cil_tmp55 ;
57112  unsigned long __cil_tmp56 ;
57113  unsigned long __cil_tmp57 ;
57114  u32 __cil_tmp58 ;
57115  void    *__cil_tmp59 ;
57116  void    *__cil_tmp60 ;
57117  unsigned long __cil_tmp61 ;
57118  unsigned long __cil_tmp62 ;
57119  unsigned long __cil_tmp63 ;
57120  struct fc_frame    *__cil_tmp64 ;
57121  int __cil_tmp65 ;
57122  struct fc_frame    *__cil_tmp66 ;
57123  unsigned long __cil_tmp67 ;
57124  unsigned long __cil_tmp68 ;
57125  unsigned long __cil_tmp69 ;
57126  __u8 __cil_tmp70 ;
57127  int __cil_tmp71 ;
57128  int __cil_tmp72 ;
57129  unsigned int *__cil_tmp73 ;
57130  unsigned int __cil_tmp74 ;
57131  unsigned int __cil_tmp75 ;
57132  int __cil_tmp76 ;
57133  int __cil_tmp77 ;
57134  long __cil_tmp78 ;
57135  struct fc_lport *__cil_tmp79 ;
57136  struct Scsi_Host *__cil_tmp80 ;
57137  unsigned long __cil_tmp81 ;
57138  unsigned long __cil_tmp82 ;
57139  unsigned int __cil_tmp83 ;
57140  unsigned long __cil_tmp84 ;
57141  unsigned long __cil_tmp85 ;
57142  unsigned long __cil_tmp86 ;
57143  u32 __cil_tmp87 ;
57144  unsigned long __cil_tmp88 ;
57145  unsigned long __cil_tmp89 ;
57146  unsigned long __cil_tmp90 ;
57147  __u8 __cil_tmp91 ;
57148  int __cil_tmp92 ;
57149  unsigned long __cil_tmp93 ;
57150  unsigned long __cil_tmp94 ;
57151  unsigned long __cil_tmp95 ;
57152  unsigned long __cil_tmp96 ;
57153  int __cil_tmp97 ;
57154  int __cil_tmp98 ;
57155  unsigned long __cil_tmp99 ;
57156  unsigned long __cil_tmp100 ;
57157  unsigned long __cil_tmp101 ;
57158  __u8 __cil_tmp102 ;
57159  unsigned long __cil_tmp103 ;
57160  unsigned long __cil_tmp104 ;
57161  unsigned long __cil_tmp105 ;
57162  unsigned long __cil_tmp106 ;
57163  __be32 __cil_tmp107 ;
57164  unsigned long __cil_tmp108 ;
57165  unsigned long __cil_tmp109 ;
57166  int __cil_tmp110 ;
57167  unsigned long __cil_tmp111 ;
57168  unsigned long __cil_tmp112 ;
57169  u16 __cil_tmp113 ;
57170  int __cil_tmp114 ;
57171  int __cil_tmp115 ;
57172  unsigned long __cil_tmp116 ;
57173  unsigned long __cil_tmp117 ;
57174  int __cil_tmp118 ;
57175  unsigned long __cil_tmp119 ;
57176  unsigned long __cil_tmp120 ;
57177  u16 __cil_tmp121 ;
57178  int __cil_tmp122 ;
57179  int __cil_tmp123 ;
57180  unsigned long __cil_tmp124 ;
57181  unsigned long __cil_tmp125 ;
57182  void *__cil_tmp126 ;
57183  int (*__cil_tmp127)(struct fc_rport_priv * , u32 spp_len , struct fc_els_spp    *spp_in ,
57184                      struct fc_els_spp *spp_out ) ;
57185  unsigned long __cil_tmp128 ;
57186  unsigned long __cil_tmp129 ;
57187  unsigned long __cil_tmp130 ;
57188  __u8 __cil_tmp131 ;
57189  u32 __cil_tmp132 ;
57190  unsigned long __cil_tmp133 ;
57191  unsigned long __cil_tmp134 ;
57192  struct fc_els_spp *__cil_tmp135 ;
57193  struct fc_els_spp    *__cil_tmp136 ;
57194  unsigned long __cil_tmp137 ;
57195  unsigned long __cil_tmp138 ;
57196  unsigned long __cil_tmp139 ;
57197  unsigned long __cil_tmp140 ;
57198  unsigned long __cil_tmp141 ;
57199  unsigned int *__cil_tmp142 ;
57200  unsigned int __cil_tmp143 ;
57201  unsigned int __cil_tmp144 ;
57202  int __cil_tmp145 ;
57203  int __cil_tmp146 ;
57204  long __cil_tmp147 ;
57205  struct fc_lport *__cil_tmp148 ;
57206  struct Scsi_Host *__cil_tmp149 ;
57207  unsigned long __cil_tmp150 ;
57208  unsigned long __cil_tmp151 ;
57209  unsigned int __cil_tmp152 ;
57210  unsigned long __cil_tmp153 ;
57211  unsigned long __cil_tmp154 ;
57212  unsigned long __cil_tmp155 ;
57213  u32 __cil_tmp156 ;
57214  unsigned long __cil_tmp157 ;
57215  unsigned long __cil_tmp158 ;
57216  struct mutex *__cil_tmp159 ;
57217  unsigned long __cil_tmp160 ;
57218  unsigned long __cil_tmp161 ;
57219  struct kref *__cil_tmp162 ;
57220  unsigned long __cil_tmp163 ;
57221  struct fc_lport *__cil_tmp164 ;
57222  unsigned long __cil_tmp165 ;
57223  unsigned long __cil_tmp166 ;
57224  void (*__cil_tmp167)(struct kref * ) ;
57225
57226  {
57227  {
57228#line 977
57229  rdata = (struct fc_rport_priv *)rdata_arg;
57230#line 984
57231  roles = (u32 )0;
57232#line 985
57233  fcp_parm = (u32 )0;
57234#line 987
57235  resp_code = (u8 )0;
57236#line 989
57237  __cil_tmp22 = (unsigned long )rdata;
57238#line 989
57239  __cil_tmp23 = __cil_tmp22 + 72;
57240#line 989
57241  __cil_tmp24 = (struct mutex *)__cil_tmp23;
57242#line 989
57243  mutex_lock(__cil_tmp24);
57244  }
57245  {
57246#line 991
57247  while (1) {
57248    while_continue: /* CIL Label */ ;
57249    {
57250#line 991
57251    __cil_tmp25 = & fc_debug_logging;
57252#line 991
57253    __cil_tmp26 = *__cil_tmp25;
57254#line 991
57255    __cil_tmp27 = __cil_tmp26 & 8U;
57256#line 991
57257    __cil_tmp28 = ! __cil_tmp27;
57258#line 991
57259    __cil_tmp29 = ! __cil_tmp28;
57260#line 991
57261    __cil_tmp30 = (long )__cil_tmp29;
57262#line 991
57263    tmp___8 = __builtin_expect(__cil_tmp30, 0L);
57264    }
57265#line 991
57266    if (tmp___8) {
57267      {
57268#line 991
57269      while (1) {
57270        while_continue___0: /* CIL Label */ ;
57271        {
57272#line 991
57273        tmp___7 = fc_els_resp_type(fp);
57274#line 991
57275        __cil_tmp31 = *((struct fc_lport **)rdata);
57276#line 991
57277        __cil_tmp32 = *((struct Scsi_Host **)__cil_tmp31);
57278#line 991
57279        __cil_tmp33 = (unsigned long )__cil_tmp32;
57280#line 991
57281        __cil_tmp34 = __cil_tmp33 + 308;
57282#line 991
57283        __cil_tmp35 = *((unsigned int *)__cil_tmp34);
57284#line 991
57285        __cil_tmp36 = 24 + 16;
57286#line 991
57287        __cil_tmp37 = (unsigned long )rdata;
57288#line 991
57289        __cil_tmp38 = __cil_tmp37 + __cil_tmp36;
57290#line 991
57291        __cil_tmp39 = *((u32 *)__cil_tmp38);
57292#line 991
57293        printk("<6>host%u: rport %6.6x: Received a PRLI %s\n", __cil_tmp35, __cil_tmp39,
57294               tmp___7);
57295        }
57296#line 991
57297        goto while_break___0;
57298      }
57299      while_break___0: /* CIL Label */ ;
57300      }
57301    } else {
57302
57303    }
57304#line 991
57305    goto while_break;
57306  }
57307  while_break: /* CIL Label */ ;
57308  }
57309  {
57310#line 993
57311  __cil_tmp40 = (unsigned long )rdata;
57312#line 993
57313  __cil_tmp41 = __cil_tmp40 + 20;
57314#line 993
57315  __cil_tmp42 = *((enum fc_rport_state *)__cil_tmp41);
57316#line 993
57317  __cil_tmp43 = (unsigned int )__cil_tmp42;
57318#line 993
57319  if (__cil_tmp43 != 4U) {
57320    {
57321#line 994
57322    while (1) {
57323      while_continue___1: /* CIL Label */ ;
57324      {
57325#line 994
57326      __cil_tmp44 = & fc_debug_logging;
57327#line 994
57328      __cil_tmp45 = *__cil_tmp44;
57329#line 994
57330      __cil_tmp46 = __cil_tmp45 & 8U;
57331#line 994
57332      __cil_tmp47 = ! __cil_tmp46;
57333#line 994
57334      __cil_tmp48 = ! __cil_tmp47;
57335#line 994
57336      __cil_tmp49 = (long )__cil_tmp48;
57337#line 994
57338      tmp___10 = __builtin_expect(__cil_tmp49, 0L);
57339      }
57340#line 994
57341      if (tmp___10) {
57342        {
57343#line 994
57344        while (1) {
57345          while_continue___2: /* CIL Label */ ;
57346          {
57347#line 994
57348          tmp___9 = fc_rport_state(rdata);
57349#line 994
57350          __cil_tmp50 = *((struct fc_lport **)rdata);
57351#line 994
57352          __cil_tmp51 = *((struct Scsi_Host **)__cil_tmp50);
57353#line 994
57354          __cil_tmp52 = (unsigned long )__cil_tmp51;
57355#line 994
57356          __cil_tmp53 = __cil_tmp52 + 308;
57357#line 994
57358          __cil_tmp54 = *((unsigned int *)__cil_tmp53);
57359#line 994
57360          __cil_tmp55 = 24 + 16;
57361#line 994
57362          __cil_tmp56 = (unsigned long )rdata;
57363#line 994
57364          __cil_tmp57 = __cil_tmp56 + __cil_tmp55;
57365#line 994
57366          __cil_tmp58 = *((u32 *)__cil_tmp57);
57367#line 994
57368          printk("<6>host%u: rport %6.6x: Received a PRLI response, but in state %s\n",
57369                 __cil_tmp54, __cil_tmp58, tmp___9);
57370          }
57371#line 994
57372          goto while_break___2;
57373        }
57374        while_break___2: /* CIL Label */ ;
57375        }
57376      } else {
57377
57378      }
57379#line 994
57380      goto while_break___1;
57381    }
57382    while_break___1: /* CIL Label */ ;
57383    }
57384    {
57385#line 996
57386    __cil_tmp59 = (void    *)fp;
57387#line 996
57388    tmp___11 = (long )IS_ERR(__cil_tmp59);
57389    }
57390#line 996
57391    if (tmp___11) {
57392#line 997
57393      goto err;
57394    } else {
57395
57396    }
57397#line 998
57398    goto out;
57399  } else {
57400
57401  }
57402  }
57403  {
57404#line 1001
57405  __cil_tmp60 = (void    *)fp;
57406#line 1001
57407  tmp___12 = (long )IS_ERR(__cil_tmp60);
57408  }
57409#line 1001
57410  if (tmp___12) {
57411    {
57412#line 1002
57413    fc_rport_error_retry(rdata, fp);
57414    }
57415#line 1003
57416    goto err;
57417  } else {
57418
57419  }
57420  {
57421#line 1007
57422  __cil_tmp61 = 24 + 20;
57423#line 1007
57424  __cil_tmp62 = (unsigned long )rdata;
57425#line 1007
57426  __cil_tmp63 = __cil_tmp62 + __cil_tmp61;
57427#line 1007
57428  *((u32 *)__cil_tmp63) = (u32 )0;
57429#line 1009
57430  __cil_tmp64 = (struct fc_frame    *)fp;
57431#line 1009
57432  op = fc_frame_payload_op(__cil_tmp64);
57433  }
57434  {
57435#line 1010
57436  __cil_tmp65 = (int )op;
57437#line 1010
57438  if (__cil_tmp65 == 2) {
57439    {
57440#line 1011
57441    __cil_tmp66 = (struct fc_frame    *)fp;
57442#line 1011
57443    tmp___13 = fc_frame_payload_get(__cil_tmp66, 20UL);
57444#line 1011
57445    pp = (struct __anonstruct_pp_297 *)tmp___13;
57446    }
57447#line 1012
57448    if (! pp) {
57449#line 1013
57450      goto out;
57451    } else {
57452
57453    }
57454#line 1015
57455    __cil_tmp67 = 4 + 2;
57456#line 1015
57457    __cil_tmp68 = (unsigned long )pp;
57458#line 1015
57459    __cil_tmp69 = __cil_tmp68 + __cil_tmp67;
57460#line 1015
57461    __cil_tmp70 = *((__u8 *)__cil_tmp69);
57462#line 1015
57463    __cil_tmp71 = (int )__cil_tmp70;
57464#line 1015
57465    __cil_tmp72 = __cil_tmp71 & 15;
57466#line 1015
57467    resp_code = (u8 )__cil_tmp72;
57468    {
57469#line 1016
57470    while (1) {
57471      while_continue___3: /* CIL Label */ ;
57472      {
57473#line 1016
57474      __cil_tmp73 = & fc_debug_logging;
57475#line 1016
57476      __cil_tmp74 = *__cil_tmp73;
57477#line 1016
57478      __cil_tmp75 = __cil_tmp74 & 8U;
57479#line 1016
57480      __cil_tmp76 = ! __cil_tmp75;
57481#line 1016
57482      __cil_tmp77 = ! __cil_tmp76;
57483#line 1016
57484      __cil_tmp78 = (long )__cil_tmp77;
57485#line 1016
57486      tmp___14 = __builtin_expect(__cil_tmp78, 0L);
57487      }
57488#line 1016
57489      if (tmp___14) {
57490        {
57491#line 1016
57492        while (1) {
57493          while_continue___4: /* CIL Label */ ;
57494          {
57495#line 1016
57496          __cil_tmp79 = *((struct fc_lport **)rdata);
57497#line 1016
57498          __cil_tmp80 = *((struct Scsi_Host **)__cil_tmp79);
57499#line 1016
57500          __cil_tmp81 = (unsigned long )__cil_tmp80;
57501#line 1016
57502          __cil_tmp82 = __cil_tmp81 + 308;
57503#line 1016
57504          __cil_tmp83 = *((unsigned int *)__cil_tmp82);
57505#line 1016
57506          __cil_tmp84 = 24 + 16;
57507#line 1016
57508          __cil_tmp85 = (unsigned long )rdata;
57509#line 1016
57510          __cil_tmp86 = __cil_tmp85 + __cil_tmp84;
57511#line 1016
57512          __cil_tmp87 = *((u32 *)__cil_tmp86);
57513#line 1016
57514          __cil_tmp88 = 4 + 2;
57515#line 1016
57516          __cil_tmp89 = (unsigned long )pp;
57517#line 1016
57518          __cil_tmp90 = __cil_tmp89 + __cil_tmp88;
57519#line 1016
57520          __cil_tmp91 = *((__u8 *)__cil_tmp90);
57521#line 1016
57522          __cil_tmp92 = (int )__cil_tmp91;
57523#line 1016
57524          printk("<6>host%u: rport %6.6x: PRLI spp_flags = 0x%x\n", __cil_tmp83, __cil_tmp87,
57525                 __cil_tmp92);
57526          }
57527#line 1016
57528          goto while_break___4;
57529        }
57530        while_break___4: /* CIL Label */ ;
57531        }
57532      } else {
57533
57534      }
57535#line 1016
57536      goto while_break___3;
57537    }
57538    while_break___3: /* CIL Label */ ;
57539    }
57540#line 1018
57541    __cil_tmp93 = (unsigned long )rdata;
57542#line 1018
57543    __cil_tmp94 = __cil_tmp93 + 346;
57544#line 1018
57545    __cil_tmp95 = (unsigned long )pp;
57546#line 1018
57547    __cil_tmp96 = __cil_tmp95 + 4;
57548#line 1018
57549    *((u8 *)__cil_tmp94) = *((__u8 *)__cil_tmp96);
57550    {
57551#line 1019
57552    __cil_tmp97 = (int )resp_code;
57553#line 1019
57554    if (__cil_tmp97 != 1) {
57555      {
57556#line 1020
57557      __cil_tmp98 = (int )resp_code;
57558#line 1020
57559      if (__cil_tmp98 == 5) {
57560        {
57561#line 1021
57562        fc_rport_error(rdata, fp);
57563        }
57564      } else {
57565        {
57566#line 1023
57567        fc_rport_error_retry(rdata, fp);
57568        }
57569      }
57570      }
57571#line 1024
57572      goto out;
57573    } else {
57574
57575    }
57576    }
57577    {
57578#line 1026
57579    __cil_tmp99 = 0 + 1;
57580#line 1026
57581    __cil_tmp100 = (unsigned long )pp;
57582#line 1026
57583    __cil_tmp101 = __cil_tmp100 + __cil_tmp99;
57584#line 1026
57585    __cil_tmp102 = *((__u8 *)__cil_tmp101);
57586#line 1026
57587    __cil_tmp103 = (unsigned long )__cil_tmp102;
57588#line 1026
57589    if (__cil_tmp103 < 16UL) {
57590#line 1027
57591      goto out;
57592    } else {
57593
57594    }
57595    }
57596    {
57597#line 1029
57598    __cil_tmp104 = 4 + 12;
57599#line 1029
57600    __cil_tmp105 = (unsigned long )pp;
57601#line 1029
57602    __cil_tmp106 = __cil_tmp105 + __cil_tmp104;
57603#line 1029
57604    __cil_tmp107 = *((__be32 *)__cil_tmp106);
57605#line 1029
57606    tmp___15 = __fswab32(__cil_tmp107);
57607#line 1029
57608    fcp_parm = tmp___15;
57609    }
57610#line 1030
57611    if (fcp_parm & 256U) {
57612#line 1031
57613      __cil_tmp108 = (unsigned long )rdata;
57614#line 1031
57615      __cil_tmp109 = __cil_tmp108 + 48;
57616#line 1031
57617      __cil_tmp110 = 1 << 1;
57618#line 1031
57619      __cil_tmp111 = (unsigned long )rdata;
57620#line 1031
57621      __cil_tmp112 = __cil_tmp111 + 48;
57622#line 1031
57623      __cil_tmp113 = *((u16 *)__cil_tmp112);
57624#line 1031
57625      __cil_tmp114 = (int )__cil_tmp113;
57626#line 1031
57627      __cil_tmp115 = __cil_tmp114 | __cil_tmp110;
57628#line 1031
57629      *((u16 *)__cil_tmp109) = (u16 )__cil_tmp115;
57630    } else {
57631
57632    }
57633#line 1032
57634    if (fcp_parm & 128U) {
57635#line 1033
57636      __cil_tmp116 = (unsigned long )rdata;
57637#line 1033
57638      __cil_tmp117 = __cil_tmp116 + 48;
57639#line 1033
57640      __cil_tmp118 = 1 << 3;
57641#line 1033
57642      __cil_tmp119 = (unsigned long )rdata;
57643#line 1033
57644      __cil_tmp120 = __cil_tmp119 + 48;
57645#line 1033
57646      __cil_tmp121 = *((u16 *)__cil_tmp120);
57647#line 1033
57648      __cil_tmp122 = (int )__cil_tmp121;
57649#line 1033
57650      __cil_tmp123 = __cil_tmp122 | __cil_tmp118;
57651#line 1033
57652      *((u16 *)__cil_tmp117) = (u16 )__cil_tmp123;
57653    } else {
57654
57655    }
57656#line 1035
57657    __cil_tmp124 = 8 * 8UL;
57658#line 1035
57659    __cil_tmp125 = (unsigned long )(fc_passive_prov) + __cil_tmp124;
57660#line 1035
57661    prov = *((struct fc4_prov **)__cil_tmp125);
57662#line 1036
57663    if (prov) {
57664      {
57665#line 1037
57666      __cil_tmp126 = (void *)(& temp_spp);
57667#line 1037
57668      memset(__cil_tmp126, 0, 16UL);
57669#line 1038
57670      __cil_tmp127 = *((int (**)(struct fc_rport_priv * , u32 spp_len , struct fc_els_spp    *spp_in ,
57671                                 struct fc_els_spp *spp_out ))prov);
57672#line 1038
57673      __cil_tmp128 = 0 + 1;
57674#line 1038
57675      __cil_tmp129 = (unsigned long )pp;
57676#line 1038
57677      __cil_tmp130 = __cil_tmp129 + __cil_tmp128;
57678#line 1038
57679      __cil_tmp131 = *((__u8 *)__cil_tmp130);
57680#line 1038
57681      __cil_tmp132 = (u32 )__cil_tmp131;
57682#line 1038
57683      __cil_tmp133 = (unsigned long )pp;
57684#line 1038
57685      __cil_tmp134 = __cil_tmp133 + 4;
57686#line 1038
57687      __cil_tmp135 = (struct fc_els_spp *)__cil_tmp134;
57688#line 1038
57689      __cil_tmp136 = (struct fc_els_spp    *)__cil_tmp135;
57690#line 1038
57691      (*__cil_tmp127)(rdata, __cil_tmp132, __cil_tmp136, & temp_spp);
57692      }
57693    } else {
57694
57695    }
57696#line 1042
57697    __cil_tmp137 = (unsigned long )rdata;
57698#line 1042
57699    __cil_tmp138 = __cil_tmp137 + 320;
57700#line 1042
57701    *((u32 *)__cil_tmp138) = (u32 )8;
57702#line 1043
57703    if (fcp_parm & 32U) {
57704#line 1044
57705      roles = roles | 2U;
57706    } else {
57707
57708    }
57709#line 1045
57710    if (fcp_parm & 16U) {
57711#line 1046
57712      roles = roles | 1U;
57713    } else {
57714
57715    }
57716    {
57717#line 1048
57718    __cil_tmp139 = 24 + 20;
57719#line 1048
57720    __cil_tmp140 = (unsigned long )rdata;
57721#line 1048
57722    __cil_tmp141 = __cil_tmp140 + __cil_tmp139;
57723#line 1048
57724    *((u32 *)__cil_tmp141) = roles;
57725#line 1049
57726    fc_rport_enter_rtv(rdata);
57727    }
57728  } else {
57729    {
57730#line 1052
57731    while (1) {
57732      while_continue___5: /* CIL Label */ ;
57733      {
57734#line 1052
57735      __cil_tmp142 = & fc_debug_logging;
57736#line 1052
57737      __cil_tmp143 = *__cil_tmp142;
57738#line 1052
57739      __cil_tmp144 = __cil_tmp143 & 8U;
57740#line 1052
57741      __cil_tmp145 = ! __cil_tmp144;
57742#line 1052
57743      __cil_tmp146 = ! __cil_tmp145;
57744#line 1052
57745      __cil_tmp147 = (long )__cil_tmp146;
57746#line 1052
57747      tmp___16 = __builtin_expect(__cil_tmp147, 0L);
57748      }
57749#line 1052
57750      if (tmp___16) {
57751        {
57752#line 1052
57753        while (1) {
57754          while_continue___6: /* CIL Label */ ;
57755          {
57756#line 1052
57757          __cil_tmp148 = *((struct fc_lport **)rdata);
57758#line 1052
57759          __cil_tmp149 = *((struct Scsi_Host **)__cil_tmp148);
57760#line 1052
57761          __cil_tmp150 = (unsigned long )__cil_tmp149;
57762#line 1052
57763          __cil_tmp151 = __cil_tmp150 + 308;
57764#line 1052
57765          __cil_tmp152 = *((unsigned int *)__cil_tmp151);
57766#line 1052
57767          __cil_tmp153 = 24 + 16;
57768#line 1052
57769          __cil_tmp154 = (unsigned long )rdata;
57770#line 1052
57771          __cil_tmp155 = __cil_tmp154 + __cil_tmp153;
57772#line 1052
57773          __cil_tmp156 = *((u32 *)__cil_tmp155);
57774#line 1052
57775          printk("<6>host%u: rport %6.6x: Bad ELS response for PRLI command\n", __cil_tmp152,
57776                 __cil_tmp156);
57777          }
57778#line 1052
57779          goto while_break___6;
57780        }
57781        while_break___6: /* CIL Label */ ;
57782        }
57783      } else {
57784
57785      }
57786#line 1052
57787      goto while_break___5;
57788    }
57789    while_break___5: /* CIL Label */ ;
57790    }
57791    {
57792#line 1053
57793    fc_rport_error_retry(rdata, fp);
57794    }
57795  }
57796  }
57797  out: 
57798  {
57799#line 1057
57800  fc_frame_free(fp);
57801  }
57802  err: 
57803  {
57804#line 1059
57805  __cil_tmp157 = (unsigned long )rdata;
57806#line 1059
57807  __cil_tmp158 = __cil_tmp157 + 72;
57808#line 1059
57809  __cil_tmp159 = (struct mutex *)__cil_tmp158;
57810#line 1059
57811  mutex_unlock(__cil_tmp159);
57812#line 1060
57813  __cil_tmp160 = (unsigned long )rdata;
57814#line 1060
57815  __cil_tmp161 = __cil_tmp160 + 16;
57816#line 1060
57817  __cil_tmp162 = (struct kref *)__cil_tmp161;
57818#line 1060
57819  __cil_tmp163 = 328 + 200;
57820#line 1060
57821  __cil_tmp164 = *((struct fc_lport **)rdata);
57822#line 1060
57823  __cil_tmp165 = (unsigned long )__cil_tmp164;
57824#line 1060
57825  __cil_tmp166 = __cil_tmp165 + __cil_tmp163;
57826#line 1060
57827  __cil_tmp167 = *((void (**)(struct kref * ))__cil_tmp166);
57828#line 1060
57829  kref_put(__cil_tmp162, __cil_tmp167);
57830  }
57831#line 1061
57832  return;
57833}
57834}
57835#line 1070 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
57836static void fc_rport_enter_prli(struct fc_rport_priv *rdata ) 
57837{ struct fc_lport *lport ;
57838  struct __anonstruct_pp_298 *pp ;
57839  struct fc_frame *fp ;
57840  struct fc4_prov *prov ;
57841  char    *tmp___7 ;
57842  long tmp___8 ;
57843  void *tmp___9 ;
57844  struct fc_seq *tmp___10 ;
57845  unsigned long __cil_tmp10 ;
57846  unsigned long __cil_tmp11 ;
57847  unsigned long __cil_tmp12 ;
57848  u32 __cil_tmp13 ;
57849  unsigned int *__cil_tmp14 ;
57850  unsigned int __cil_tmp15 ;
57851  unsigned int __cil_tmp16 ;
57852  int __cil_tmp17 ;
57853  int __cil_tmp18 ;
57854  long __cil_tmp19 ;
57855  struct fc_lport *__cil_tmp20 ;
57856  struct Scsi_Host *__cil_tmp21 ;
57857  unsigned long __cil_tmp22 ;
57858  unsigned long __cil_tmp23 ;
57859  unsigned int __cil_tmp24 ;
57860  unsigned long __cil_tmp25 ;
57861  unsigned long __cil_tmp26 ;
57862  unsigned long __cil_tmp27 ;
57863  u32 __cil_tmp28 ;
57864  enum fc_rport_state __cil_tmp29 ;
57865  unsigned long __cil_tmp30 ;
57866  unsigned long __cil_tmp31 ;
57867  struct fc_frame    *__cil_tmp32 ;
57868  int (*__cil_tmp33)(struct fc_rport_priv * , u32 spp_len , struct fc_els_spp    *spp_in ,
57869                     struct fc_els_spp *spp_out ) ;
57870  u32 __cil_tmp34 ;
57871  void *__cil_tmp35 ;
57872  struct fc_els_spp    *__cil_tmp36 ;
57873  unsigned long __cil_tmp37 ;
57874  unsigned long __cil_tmp38 ;
57875  struct fc_els_spp *__cil_tmp39 ;
57876  enum fc_rctl __cil_tmp40 ;
57877  unsigned long __cil_tmp41 ;
57878  unsigned long __cil_tmp42 ;
57879  unsigned long __cil_tmp43 ;
57880  u32 __cil_tmp44 ;
57881  struct Scsi_Host *__cil_tmp45 ;
57882  unsigned long __cil_tmp46 ;
57883  unsigned long __cil_tmp47 ;
57884  void *__cil_tmp48 ;
57885  struct fc_host_attrs *__cil_tmp49 ;
57886  unsigned long __cil_tmp50 ;
57887  unsigned long __cil_tmp51 ;
57888  u32 __cil_tmp52 ;
57889  enum fc_fh_type __cil_tmp53 ;
57890  int __cil_tmp54 ;
57891  int __cil_tmp55 ;
57892  int __cil_tmp56 ;
57893  int __cil_tmp57 ;
57894  int __cil_tmp58 ;
57895  u32 __cil_tmp59 ;
57896  u32 __cil_tmp60 ;
57897  unsigned long __cil_tmp61 ;
57898  unsigned long __cil_tmp62 ;
57899  unsigned long __cil_tmp63 ;
57900  struct fc_seq *(*__cil_tmp64)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
57901                                                                                     struct fc_frame * ,
57902                                                                                     void * ) ,
57903                                void (*destructor)(struct fc_seq * , void * ) , void * ,
57904                                unsigned int timer_msec ) ;
57905  void *__cil_tmp65 ;
57906  void (*__cil_tmp66)(struct fc_seq * , void * ) ;
57907  void *__cil_tmp67 ;
57908  unsigned long __cil_tmp68 ;
57909  unsigned long __cil_tmp69 ;
57910  unsigned int __cil_tmp70 ;
57911  unsigned int __cil_tmp71 ;
57912  unsigned long __cil_tmp72 ;
57913  unsigned long __cil_tmp73 ;
57914  struct kref *__cil_tmp74 ;
57915  void *__cil_tmp75 ;
57916  struct fc_frame *__cil_tmp76 ;
57917
57918  {
57919#line 1072
57920  lport = *((struct fc_lport **)rdata);
57921  {
57922#line 1084
57923  __cil_tmp10 = 24 + 16;
57924#line 1084
57925  __cil_tmp11 = (unsigned long )rdata;
57926#line 1084
57927  __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
57928#line 1084
57929  __cil_tmp13 = *((u32 *)__cil_tmp12);
57930#line 1084
57931  if (__cil_tmp13 >= 16776192U) {
57932    {
57933#line 1085
57934    fc_rport_enter_ready(rdata);
57935    }
57936#line 1086
57937    return;
57938  } else {
57939
57940  }
57941  }
57942  {
57943#line 1089
57944  while (1) {
57945    while_continue: /* CIL Label */ ;
57946    {
57947#line 1089
57948    __cil_tmp14 = & fc_debug_logging;
57949#line 1089
57950    __cil_tmp15 = *__cil_tmp14;
57951#line 1089
57952    __cil_tmp16 = __cil_tmp15 & 8U;
57953#line 1089
57954    __cil_tmp17 = ! __cil_tmp16;
57955#line 1089
57956    __cil_tmp18 = ! __cil_tmp17;
57957#line 1089
57958    __cil_tmp19 = (long )__cil_tmp18;
57959#line 1089
57960    tmp___8 = __builtin_expect(__cil_tmp19, 0L);
57961    }
57962#line 1089
57963    if (tmp___8) {
57964      {
57965#line 1089
57966      while (1) {
57967        while_continue___0: /* CIL Label */ ;
57968        {
57969#line 1089
57970        tmp___7 = fc_rport_state(rdata);
57971#line 1089
57972        __cil_tmp20 = *((struct fc_lport **)rdata);
57973#line 1089
57974        __cil_tmp21 = *((struct Scsi_Host **)__cil_tmp20);
57975#line 1089
57976        __cil_tmp22 = (unsigned long )__cil_tmp21;
57977#line 1089
57978        __cil_tmp23 = __cil_tmp22 + 308;
57979#line 1089
57980        __cil_tmp24 = *((unsigned int *)__cil_tmp23);
57981#line 1089
57982        __cil_tmp25 = 24 + 16;
57983#line 1089
57984        __cil_tmp26 = (unsigned long )rdata;
57985#line 1089
57986        __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
57987#line 1089
57988        __cil_tmp28 = *((u32 *)__cil_tmp27);
57989#line 1089
57990        printk("<6>host%u: rport %6.6x: Port entered PRLI state from %s state\n",
57991               __cil_tmp24, __cil_tmp28, tmp___7);
57992        }
57993#line 1089
57994        goto while_break___0;
57995      }
57996      while_break___0: /* CIL Label */ ;
57997      }
57998    } else {
57999
58000    }
58001#line 1089
58002    goto while_break;
58003  }
58004  while_break: /* CIL Label */ ;
58005  }
58006  {
58007#line 1092
58008  __cil_tmp29 = (enum fc_rport_state )4;
58009#line 1092
58010  fc_rport_state_enter(rdata, __cil_tmp29);
58011#line 1094
58012  fp = fc_frame_alloc(lport, 20UL);
58013  }
58014#line 1095
58015  if (! fp) {
58016    {
58017#line 1096
58018    fc_rport_error_retry(rdata, fp);
58019    }
58020#line 1097
58021    return;
58022  } else {
58023
58024  }
58025  {
58026#line 1100
58027  fc_prli_fill___0(lport, fp);
58028#line 1102
58029  __cil_tmp30 = 8 * 8UL;
58030#line 1102
58031  __cil_tmp31 = (unsigned long )(fc_passive_prov) + __cil_tmp30;
58032#line 1102
58033  prov = *((struct fc4_prov **)__cil_tmp31);
58034  }
58035#line 1103
58036  if (prov) {
58037    {
58038#line 1104
58039    __cil_tmp32 = (struct fc_frame    *)fp;
58040#line 1104
58041    tmp___9 = fc_frame_payload_get(__cil_tmp32, 20UL);
58042#line 1104
58043    pp = (struct __anonstruct_pp_298 *)tmp___9;
58044#line 1105
58045    __cil_tmp33 = *((int (**)(struct fc_rport_priv * , u32 spp_len , struct fc_els_spp    *spp_in ,
58046                              struct fc_els_spp *spp_out ))prov);
58047#line 1105
58048    __cil_tmp34 = (u32 )16UL;
58049#line 1105
58050    __cil_tmp35 = (void *)0;
58051#line 1105
58052    __cil_tmp36 = (struct fc_els_spp    *)__cil_tmp35;
58053#line 1105
58054    __cil_tmp37 = (unsigned long )pp;
58055#line 1105
58056    __cil_tmp38 = __cil_tmp37 + 4;
58057#line 1105
58058    __cil_tmp39 = (struct fc_els_spp *)__cil_tmp38;
58059#line 1105
58060    (*__cil_tmp33)(rdata, __cil_tmp34, __cil_tmp36, __cil_tmp39);
58061    }
58062  } else {
58063
58064  }
58065  {
58066#line 1108
58067  __cil_tmp40 = (enum fc_rctl )34;
58068#line 1108
58069  __cil_tmp41 = 24 + 16;
58070#line 1108
58071  __cil_tmp42 = (unsigned long )rdata;
58072#line 1108
58073  __cil_tmp43 = __cil_tmp42 + __cil_tmp41;
58074#line 1108
58075  __cil_tmp44 = *((u32 *)__cil_tmp43);
58076#line 1108
58077  __cil_tmp45 = *((struct Scsi_Host **)lport);
58078#line 1108
58079  __cil_tmp46 = (unsigned long )__cil_tmp45;
58080#line 1108
58081  __cil_tmp47 = __cil_tmp46 + 2024;
58082#line 1108
58083  __cil_tmp48 = *((void **)__cil_tmp47);
58084#line 1108
58085  __cil_tmp49 = (struct fc_host_attrs *)__cil_tmp48;
58086#line 1108
58087  __cil_tmp50 = (unsigned long )__cil_tmp49;
58088#line 1108
58089  __cil_tmp51 = __cil_tmp50 + 1000;
58090#line 1108
58091  __cil_tmp52 = *((u32 *)__cil_tmp51);
58092#line 1108
58093  __cil_tmp53 = (enum fc_fh_type )1;
58094#line 1108
58095  __cil_tmp54 = 1 << 16;
58096#line 1108
58097  __cil_tmp55 = 1 << 19;
58098#line 1108
58099  __cil_tmp56 = 1 << 21;
58100#line 1108
58101  __cil_tmp57 = __cil_tmp56 | __cil_tmp55;
58102#line 1108
58103  __cil_tmp58 = __cil_tmp57 | __cil_tmp54;
58104#line 1108
58105  __cil_tmp59 = (u32 )__cil_tmp58;
58106#line 1108
58107  __cil_tmp60 = (u32 )0;
58108#line 1108
58109  fc_fill_fc_hdr(fp, __cil_tmp40, __cil_tmp44, __cil_tmp52, __cil_tmp53, __cil_tmp59,
58110                 __cil_tmp60);
58111#line 1112
58112  __cil_tmp61 = 328 + 16;
58113#line 1112
58114  __cil_tmp62 = (unsigned long )lport;
58115#line 1112
58116  __cil_tmp63 = __cil_tmp62 + __cil_tmp61;
58117#line 1112
58118  __cil_tmp64 = *((struct fc_seq *(**)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
58119                                                                                            struct fc_frame * ,
58120                                                                                            void * ) ,
58121                                       void (*destructor)(struct fc_seq * , void * ) ,
58122                                       void * , unsigned int timer_msec ))__cil_tmp63);
58123#line 1112
58124  __cil_tmp65 = (void *)0;
58125#line 1112
58126  __cil_tmp66 = (void (*)(struct fc_seq * , void * ))__cil_tmp65;
58127#line 1112
58128  __cil_tmp67 = (void *)rdata;
58129#line 1112
58130  __cil_tmp68 = (unsigned long )lport;
58131#line 1112
58132  __cil_tmp69 = __cil_tmp68 + 816;
58133#line 1112
58134  __cil_tmp70 = *((unsigned int *)__cil_tmp69);
58135#line 1112
58136  __cil_tmp71 = 2U * __cil_tmp70;
58137#line 1112
58138  tmp___10 = (*__cil_tmp64)(lport, fp, & fc_rport_prli_resp, __cil_tmp66, __cil_tmp67,
58139                            __cil_tmp71);
58140  }
58141#line 1112
58142  if (tmp___10) {
58143    {
58144#line 1116
58145    __cil_tmp72 = (unsigned long )rdata;
58146#line 1116
58147    __cil_tmp73 = __cil_tmp72 + 16;
58148#line 1116
58149    __cil_tmp74 = (struct kref *)__cil_tmp73;
58150#line 1116
58151    kref_get(__cil_tmp74);
58152    }
58153  } else {
58154    {
58155#line 1114
58156    __cil_tmp75 = (void *)0;
58157#line 1114
58158    __cil_tmp76 = (struct fc_frame *)__cil_tmp75;
58159#line 1114
58160    fc_rport_error_retry(rdata, __cil_tmp76);
58161    }
58162  }
58163#line 1117
58164  return;
58165}
58166}
58167#line 1131 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
58168static void fc_rport_rtv_resp(struct fc_seq *sp , struct fc_frame *fp , void *rdata_arg ) 
58169{ struct fc_rport_priv *rdata ;
58170  u8 op ;
58171  char    *tmp___7 ;
58172  long tmp___8 ;
58173  char    *tmp___9 ;
58174  long tmp___10 ;
58175  long tmp___11 ;
58176  long tmp___12 ;
58177  struct fc_els_rtv_acc *rtv ;
58178  u32 toq ;
58179  u32 tov ;
58180  void *tmp___13 ;
58181  __u32 tmp___14 ;
58182  __u32 tmp___15 ;
58183  __u32 tmp___16 ;
58184  unsigned long __cil_tmp19 ;
58185  unsigned long __cil_tmp20 ;
58186  struct mutex *__cil_tmp21 ;
58187  unsigned int *__cil_tmp22 ;
58188  unsigned int __cil_tmp23 ;
58189  unsigned int __cil_tmp24 ;
58190  int __cil_tmp25 ;
58191  int __cil_tmp26 ;
58192  long __cil_tmp27 ;
58193  struct fc_lport *__cil_tmp28 ;
58194  struct Scsi_Host *__cil_tmp29 ;
58195  unsigned long __cil_tmp30 ;
58196  unsigned long __cil_tmp31 ;
58197  unsigned int __cil_tmp32 ;
58198  unsigned long __cil_tmp33 ;
58199  unsigned long __cil_tmp34 ;
58200  unsigned long __cil_tmp35 ;
58201  u32 __cil_tmp36 ;
58202  unsigned long __cil_tmp37 ;
58203  unsigned long __cil_tmp38 ;
58204  enum fc_rport_state __cil_tmp39 ;
58205  unsigned int __cil_tmp40 ;
58206  unsigned int *__cil_tmp41 ;
58207  unsigned int __cil_tmp42 ;
58208  unsigned int __cil_tmp43 ;
58209  int __cil_tmp44 ;
58210  int __cil_tmp45 ;
58211  long __cil_tmp46 ;
58212  struct fc_lport *__cil_tmp47 ;
58213  struct Scsi_Host *__cil_tmp48 ;
58214  unsigned long __cil_tmp49 ;
58215  unsigned long __cil_tmp50 ;
58216  unsigned int __cil_tmp51 ;
58217  unsigned long __cil_tmp52 ;
58218  unsigned long __cil_tmp53 ;
58219  unsigned long __cil_tmp54 ;
58220  u32 __cil_tmp55 ;
58221  void    *__cil_tmp56 ;
58222  void    *__cil_tmp57 ;
58223  struct fc_frame    *__cil_tmp58 ;
58224  int __cil_tmp59 ;
58225  struct fc_frame    *__cil_tmp60 ;
58226  unsigned long __cil_tmp61 ;
58227  unsigned long __cil_tmp62 ;
58228  __be32 __cil_tmp63 ;
58229  unsigned long __cil_tmp64 ;
58230  unsigned long __cil_tmp65 ;
58231  __be32 __cil_tmp66 ;
58232  unsigned long __cil_tmp67 ;
58233  unsigned long __cil_tmp68 ;
58234  unsigned long __cil_tmp69 ;
58235  unsigned long __cil_tmp70 ;
58236  __be32 __cil_tmp71 ;
58237  int __cil_tmp72 ;
58238  unsigned int __cil_tmp73 ;
58239  unsigned long __cil_tmp74 ;
58240  unsigned long __cil_tmp75 ;
58241  unsigned long __cil_tmp76 ;
58242  unsigned long __cil_tmp77 ;
58243  struct mutex *__cil_tmp78 ;
58244  unsigned long __cil_tmp79 ;
58245  unsigned long __cil_tmp80 ;
58246  struct kref *__cil_tmp81 ;
58247  unsigned long __cil_tmp82 ;
58248  struct fc_lport *__cil_tmp83 ;
58249  unsigned long __cil_tmp84 ;
58250  unsigned long __cil_tmp85 ;
58251  void (*__cil_tmp86)(struct kref * ) ;
58252
58253  {
58254  {
58255#line 1134
58256  rdata = (struct fc_rport_priv *)rdata_arg;
58257#line 1137
58258  __cil_tmp19 = (unsigned long )rdata;
58259#line 1137
58260  __cil_tmp20 = __cil_tmp19 + 72;
58261#line 1137
58262  __cil_tmp21 = (struct mutex *)__cil_tmp20;
58263#line 1137
58264  mutex_lock(__cil_tmp21);
58265  }
58266  {
58267#line 1139
58268  while (1) {
58269    while_continue: /* CIL Label */ ;
58270    {
58271#line 1139
58272    __cil_tmp22 = & fc_debug_logging;
58273#line 1139
58274    __cil_tmp23 = *__cil_tmp22;
58275#line 1139
58276    __cil_tmp24 = __cil_tmp23 & 8U;
58277#line 1139
58278    __cil_tmp25 = ! __cil_tmp24;
58279#line 1139
58280    __cil_tmp26 = ! __cil_tmp25;
58281#line 1139
58282    __cil_tmp27 = (long )__cil_tmp26;
58283#line 1139
58284    tmp___8 = __builtin_expect(__cil_tmp27, 0L);
58285    }
58286#line 1139
58287    if (tmp___8) {
58288      {
58289#line 1139
58290      while (1) {
58291        while_continue___0: /* CIL Label */ ;
58292        {
58293#line 1139
58294        tmp___7 = fc_els_resp_type(fp);
58295#line 1139
58296        __cil_tmp28 = *((struct fc_lport **)rdata);
58297#line 1139
58298        __cil_tmp29 = *((struct Scsi_Host **)__cil_tmp28);
58299#line 1139
58300        __cil_tmp30 = (unsigned long )__cil_tmp29;
58301#line 1139
58302        __cil_tmp31 = __cil_tmp30 + 308;
58303#line 1139
58304        __cil_tmp32 = *((unsigned int *)__cil_tmp31);
58305#line 1139
58306        __cil_tmp33 = 24 + 16;
58307#line 1139
58308        __cil_tmp34 = (unsigned long )rdata;
58309#line 1139
58310        __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
58311#line 1139
58312        __cil_tmp36 = *((u32 *)__cil_tmp35);
58313#line 1139
58314        printk("<6>host%u: rport %6.6x: Received a RTV %s\n", __cil_tmp32, __cil_tmp36,
58315               tmp___7);
58316        }
58317#line 1139
58318        goto while_break___0;
58319      }
58320      while_break___0: /* CIL Label */ ;
58321      }
58322    } else {
58323
58324    }
58325#line 1139
58326    goto while_break;
58327  }
58328  while_break: /* CIL Label */ ;
58329  }
58330  {
58331#line 1141
58332  __cil_tmp37 = (unsigned long )rdata;
58333#line 1141
58334  __cil_tmp38 = __cil_tmp37 + 20;
58335#line 1141
58336  __cil_tmp39 = *((enum fc_rport_state *)__cil_tmp38);
58337#line 1141
58338  __cil_tmp40 = (unsigned int )__cil_tmp39;
58339#line 1141
58340  if (__cil_tmp40 != 5U) {
58341    {
58342#line 1142
58343    while (1) {
58344      while_continue___1: /* CIL Label */ ;
58345      {
58346#line 1142
58347      __cil_tmp41 = & fc_debug_logging;
58348#line 1142
58349      __cil_tmp42 = *__cil_tmp41;
58350#line 1142
58351      __cil_tmp43 = __cil_tmp42 & 8U;
58352#line 1142
58353      __cil_tmp44 = ! __cil_tmp43;
58354#line 1142
58355      __cil_tmp45 = ! __cil_tmp44;
58356#line 1142
58357      __cil_tmp46 = (long )__cil_tmp45;
58358#line 1142
58359      tmp___10 = __builtin_expect(__cil_tmp46, 0L);
58360      }
58361#line 1142
58362      if (tmp___10) {
58363        {
58364#line 1142
58365        while (1) {
58366          while_continue___2: /* CIL Label */ ;
58367          {
58368#line 1142
58369          tmp___9 = fc_rport_state(rdata);
58370#line 1142
58371          __cil_tmp47 = *((struct fc_lport **)rdata);
58372#line 1142
58373          __cil_tmp48 = *((struct Scsi_Host **)__cil_tmp47);
58374#line 1142
58375          __cil_tmp49 = (unsigned long )__cil_tmp48;
58376#line 1142
58377          __cil_tmp50 = __cil_tmp49 + 308;
58378#line 1142
58379          __cil_tmp51 = *((unsigned int *)__cil_tmp50);
58380#line 1142
58381          __cil_tmp52 = 24 + 16;
58382#line 1142
58383          __cil_tmp53 = (unsigned long )rdata;
58384#line 1142
58385          __cil_tmp54 = __cil_tmp53 + __cil_tmp52;
58386#line 1142
58387          __cil_tmp55 = *((u32 *)__cil_tmp54);
58388#line 1142
58389          printk("<6>host%u: rport %6.6x: Received a RTV response, but in state %s\n",
58390                 __cil_tmp51, __cil_tmp55, tmp___9);
58391          }
58392#line 1142
58393          goto while_break___2;
58394        }
58395        while_break___2: /* CIL Label */ ;
58396        }
58397      } else {
58398
58399      }
58400#line 1142
58401      goto while_break___1;
58402    }
58403    while_break___1: /* CIL Label */ ;
58404    }
58405    {
58406#line 1144
58407    __cil_tmp56 = (void    *)fp;
58408#line 1144
58409    tmp___11 = (long )IS_ERR(__cil_tmp56);
58410    }
58411#line 1144
58412    if (tmp___11) {
58413#line 1145
58414      goto err;
58415    } else {
58416
58417    }
58418#line 1146
58419    goto out;
58420  } else {
58421
58422  }
58423  }
58424  {
58425#line 1149
58426  __cil_tmp57 = (void    *)fp;
58427#line 1149
58428  tmp___12 = (long )IS_ERR(__cil_tmp57);
58429  }
58430#line 1149
58431  if (tmp___12) {
58432    {
58433#line 1150
58434    fc_rport_error(rdata, fp);
58435    }
58436#line 1151
58437    goto err;
58438  } else {
58439
58440  }
58441  {
58442#line 1154
58443  __cil_tmp58 = (struct fc_frame    *)fp;
58444#line 1154
58445  op = fc_frame_payload_op(__cil_tmp58);
58446  }
58447  {
58448#line 1155
58449  __cil_tmp59 = (int )op;
58450#line 1155
58451  if (__cil_tmp59 == 2) {
58452    {
58453#line 1160
58454    __cil_tmp60 = (struct fc_frame    *)fp;
58455#line 1160
58456    tmp___13 = fc_frame_payload_get(__cil_tmp60, 16UL);
58457#line 1160
58458    rtv = (struct fc_els_rtv_acc *)tmp___13;
58459    }
58460#line 1161
58461    if (rtv) {
58462      {
58463#line 1162
58464      __cil_tmp61 = (unsigned long )rtv;
58465#line 1162
58466      __cil_tmp62 = __cil_tmp61 + 12;
58467#line 1162
58468      __cil_tmp63 = *((__be32 *)__cil_tmp62);
58469#line 1162
58470      tmp___14 = __fswab32(__cil_tmp63);
58471#line 1162
58472      toq = tmp___14;
58473#line 1163
58474      __cil_tmp64 = (unsigned long )rtv;
58475#line 1163
58476      __cil_tmp65 = __cil_tmp64 + 4;
58477#line 1163
58478      __cil_tmp66 = *((__be32 *)__cil_tmp65);
58479#line 1163
58480      tmp___15 = __fswab32(__cil_tmp66);
58481#line 1163
58482      tov = tmp___15;
58483      }
58484#line 1164
58485      if (tov == 0U) {
58486#line 1165
58487        tov = (u32 )1;
58488      } else {
58489
58490      }
58491      {
58492#line 1166
58493      __cil_tmp67 = (unsigned long )rdata;
58494#line 1166
58495      __cil_tmp68 = __cil_tmp67 + 68;
58496#line 1166
58497      *((unsigned int *)__cil_tmp68) = tov;
58498#line 1167
58499      __cil_tmp69 = (unsigned long )rtv;
58500#line 1167
58501      __cil_tmp70 = __cil_tmp69 + 8;
58502#line 1167
58503      __cil_tmp71 = *((__be32 *)__cil_tmp70);
58504#line 1167
58505      tmp___16 = __fswab32(__cil_tmp71);
58506#line 1167
58507      tov = tmp___16;
58508      }
58509      {
58510#line 1168
58511      __cil_tmp72 = 1 << 26;
58512#line 1168
58513      __cil_tmp73 = (unsigned int )__cil_tmp72;
58514#line 1168
58515      if (toq & __cil_tmp73) {
58516#line 1169
58517        tov = tov / 1000000U;
58518      } else {
58519
58520      }
58521      }
58522#line 1170
58523      if (tov == 0U) {
58524#line 1171
58525        tov = (u32 )1;
58526      } else {
58527
58528      }
58529#line 1172
58530      __cil_tmp74 = (unsigned long )rdata;
58531#line 1172
58532      __cil_tmp75 = __cil_tmp74 + 64;
58533#line 1172
58534      *((unsigned int *)__cil_tmp75) = tov;
58535    } else {
58536
58537    }
58538  } else {
58539
58540  }
58541  }
58542  {
58543#line 1176
58544  fc_rport_enter_ready(rdata);
58545  }
58546  out: 
58547  {
58548#line 1179
58549  fc_frame_free(fp);
58550  }
58551  err: 
58552  {
58553#line 1181
58554  __cil_tmp76 = (unsigned long )rdata;
58555#line 1181
58556  __cil_tmp77 = __cil_tmp76 + 72;
58557#line 1181
58558  __cil_tmp78 = (struct mutex *)__cil_tmp77;
58559#line 1181
58560  mutex_unlock(__cil_tmp78);
58561#line 1182
58562  __cil_tmp79 = (unsigned long )rdata;
58563#line 1182
58564  __cil_tmp80 = __cil_tmp79 + 16;
58565#line 1182
58566  __cil_tmp81 = (struct kref *)__cil_tmp80;
58567#line 1182
58568  __cil_tmp82 = 328 + 200;
58569#line 1182
58570  __cil_tmp83 = *((struct fc_lport **)rdata);
58571#line 1182
58572  __cil_tmp84 = (unsigned long )__cil_tmp83;
58573#line 1182
58574  __cil_tmp85 = __cil_tmp84 + __cil_tmp82;
58575#line 1182
58576  __cil_tmp86 = *((void (**)(struct kref * ))__cil_tmp85);
58577#line 1182
58578  kref_put(__cil_tmp81, __cil_tmp86);
58579  }
58580#line 1183
58581  return;
58582}
58583}
58584#line 1192 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
58585static void fc_rport_enter_rtv(struct fc_rport_priv *rdata ) 
58586{ struct fc_frame *fp ;
58587  struct fc_lport *lport ;
58588  char    *tmp___7 ;
58589  long tmp___8 ;
58590  struct fc_seq *tmp___9 ;
58591  unsigned int *__cil_tmp7 ;
58592  unsigned int __cil_tmp8 ;
58593  unsigned int __cil_tmp9 ;
58594  int __cil_tmp10 ;
58595  int __cil_tmp11 ;
58596  long __cil_tmp12 ;
58597  struct fc_lport *__cil_tmp13 ;
58598  struct Scsi_Host *__cil_tmp14 ;
58599  unsigned long __cil_tmp15 ;
58600  unsigned long __cil_tmp16 ;
58601  unsigned int __cil_tmp17 ;
58602  unsigned long __cil_tmp18 ;
58603  unsigned long __cil_tmp19 ;
58604  unsigned long __cil_tmp20 ;
58605  u32 __cil_tmp21 ;
58606  enum fc_rport_state __cil_tmp22 ;
58607  unsigned long __cil_tmp23 ;
58608  unsigned long __cil_tmp24 ;
58609  unsigned long __cil_tmp25 ;
58610  struct fc_seq *(*__cil_tmp26)(struct fc_lport * , u32 did , struct fc_frame * ,
58611                                unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
58612                                                               void *arg ) , void *arg ,
58613                                u32 timer_msec ) ;
58614  unsigned long __cil_tmp27 ;
58615  unsigned long __cil_tmp28 ;
58616  unsigned long __cil_tmp29 ;
58617  u32 __cil_tmp30 ;
58618  void *__cil_tmp31 ;
58619  unsigned long __cil_tmp32 ;
58620  unsigned long __cil_tmp33 ;
58621  unsigned int __cil_tmp34 ;
58622  unsigned int __cil_tmp35 ;
58623  unsigned long __cil_tmp36 ;
58624  unsigned long __cil_tmp37 ;
58625  struct kref *__cil_tmp38 ;
58626  void *__cil_tmp39 ;
58627  struct fc_frame *__cil_tmp40 ;
58628
58629  {
58630#line 1195
58631  lport = *((struct fc_lport **)rdata);
58632  {
58633#line 1197
58634  while (1) {
58635    while_continue: /* CIL Label */ ;
58636    {
58637#line 1197
58638    __cil_tmp7 = & fc_debug_logging;
58639#line 1197
58640    __cil_tmp8 = *__cil_tmp7;
58641#line 1197
58642    __cil_tmp9 = __cil_tmp8 & 8U;
58643#line 1197
58644    __cil_tmp10 = ! __cil_tmp9;
58645#line 1197
58646    __cil_tmp11 = ! __cil_tmp10;
58647#line 1197
58648    __cil_tmp12 = (long )__cil_tmp11;
58649#line 1197
58650    tmp___8 = __builtin_expect(__cil_tmp12, 0L);
58651    }
58652#line 1197
58653    if (tmp___8) {
58654      {
58655#line 1197
58656      while (1) {
58657        while_continue___0: /* CIL Label */ ;
58658        {
58659#line 1197
58660        tmp___7 = fc_rport_state(rdata);
58661#line 1197
58662        __cil_tmp13 = *((struct fc_lport **)rdata);
58663#line 1197
58664        __cil_tmp14 = *((struct Scsi_Host **)__cil_tmp13);
58665#line 1197
58666        __cil_tmp15 = (unsigned long )__cil_tmp14;
58667#line 1197
58668        __cil_tmp16 = __cil_tmp15 + 308;
58669#line 1197
58670        __cil_tmp17 = *((unsigned int *)__cil_tmp16);
58671#line 1197
58672        __cil_tmp18 = 24 + 16;
58673#line 1197
58674        __cil_tmp19 = (unsigned long )rdata;
58675#line 1197
58676        __cil_tmp20 = __cil_tmp19 + __cil_tmp18;
58677#line 1197
58678        __cil_tmp21 = *((u32 *)__cil_tmp20);
58679#line 1197
58680        printk("<6>host%u: rport %6.6x: Port entered RTV state from %s state\n", __cil_tmp17,
58681               __cil_tmp21, tmp___7);
58682        }
58683#line 1197
58684        goto while_break___0;
58685      }
58686      while_break___0: /* CIL Label */ ;
58687      }
58688    } else {
58689
58690    }
58691#line 1197
58692    goto while_break;
58693  }
58694  while_break: /* CIL Label */ ;
58695  }
58696  {
58697#line 1200
58698  __cil_tmp22 = (enum fc_rport_state )5;
58699#line 1200
58700  fc_rport_state_enter(rdata, __cil_tmp22);
58701#line 1202
58702  fp = fc_frame_alloc(lport, 4UL);
58703  }
58704#line 1203
58705  if (! fp) {
58706    {
58707#line 1204
58708    fc_rport_error_retry(rdata, fp);
58709    }
58710#line 1205
58711    return;
58712  } else {
58713
58714  }
58715  {
58716#line 1208
58717  __cil_tmp23 = 328 + 8;
58718#line 1208
58719  __cil_tmp24 = (unsigned long )lport;
58720#line 1208
58721  __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
58722#line 1208
58723  __cil_tmp26 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
58724                                       unsigned int op , void (*resp)(struct fc_seq * ,
58725                                                                      struct fc_frame * ,
58726                                                                      void *arg ) ,
58727                                       void *arg , u32 timer_msec ))__cil_tmp25);
58728#line 1208
58729  __cil_tmp27 = 24 + 16;
58730#line 1208
58731  __cil_tmp28 = (unsigned long )rdata;
58732#line 1208
58733  __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
58734#line 1208
58735  __cil_tmp30 = *((u32 *)__cil_tmp29);
58736#line 1208
58737  __cil_tmp31 = (void *)rdata;
58738#line 1208
58739  __cil_tmp32 = (unsigned long )lport;
58740#line 1208
58741  __cil_tmp33 = __cil_tmp32 + 816;
58742#line 1208
58743  __cil_tmp34 = *((unsigned int *)__cil_tmp33);
58744#line 1208
58745  __cil_tmp35 = 2U * __cil_tmp34;
58746#line 1208
58747  tmp___9 = (*__cil_tmp26)(lport, __cil_tmp30, fp, 14U, & fc_rport_rtv_resp, __cil_tmp31,
58748                           __cil_tmp35);
58749  }
58750#line 1208
58751  if (tmp___9) {
58752    {
58753#line 1213
58754    __cil_tmp36 = (unsigned long )rdata;
58755#line 1213
58756    __cil_tmp37 = __cil_tmp36 + 16;
58757#line 1213
58758    __cil_tmp38 = (struct kref *)__cil_tmp37;
58759#line 1213
58760    kref_get(__cil_tmp38);
58761    }
58762  } else {
58763    {
58764#line 1211
58765    __cil_tmp39 = (void *)0;
58766#line 1211
58767    __cil_tmp40 = (struct fc_frame *)__cil_tmp39;
58768#line 1211
58769    fc_rport_error_retry(rdata, __cil_tmp40);
58770    }
58771  }
58772#line 1214
58773  return;
58774}
58775}
58776#line 1222 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
58777static void fc_rport_logo_resp(struct fc_seq *sp , struct fc_frame *fp , void *lport_arg ) 
58778{ struct fc_lport *lport ;
58779  char    *tmp___7 ;
58780  struct fc_seq    *__mptr ;
58781  long tmp___8 ;
58782  long tmp___9 ;
58783  unsigned int *__cil_tmp9 ;
58784  unsigned int __cil_tmp10 ;
58785  unsigned int __cil_tmp11 ;
58786  int __cil_tmp12 ;
58787  int __cil_tmp13 ;
58788  long __cil_tmp14 ;
58789  struct Scsi_Host *__cil_tmp15 ;
58790  unsigned long __cil_tmp16 ;
58791  unsigned long __cil_tmp17 ;
58792  unsigned int __cil_tmp18 ;
58793  struct fc_exch *__cil_tmp19 ;
58794  unsigned long __cil_tmp20 ;
58795  unsigned long __cil_tmp21 ;
58796  struct fc_seq *__cil_tmp22 ;
58797  unsigned int __cil_tmp23 ;
58798  char *__cil_tmp24 ;
58799  char *__cil_tmp25 ;
58800  struct fc_exch *__cil_tmp26 ;
58801  unsigned long __cil_tmp27 ;
58802  unsigned long __cil_tmp28 ;
58803  u32 __cil_tmp29 ;
58804  void    *__cil_tmp30 ;
58805
58806  {
58807#line 1225
58808  lport = (struct fc_lport *)lport_arg;
58809  {
58810#line 1227
58811  while (1) {
58812    while_continue: /* CIL Label */ ;
58813    {
58814#line 1227
58815    __cil_tmp9 = & fc_debug_logging;
58816#line 1227
58817    __cil_tmp10 = *__cil_tmp9;
58818#line 1227
58819    __cil_tmp11 = __cil_tmp10 & 8U;
58820#line 1227
58821    __cil_tmp12 = ! __cil_tmp11;
58822#line 1227
58823    __cil_tmp13 = ! __cil_tmp12;
58824#line 1227
58825    __cil_tmp14 = (long )__cil_tmp13;
58826#line 1227
58827    tmp___8 = __builtin_expect(__cil_tmp14, 0L);
58828    }
58829#line 1227
58830    if (tmp___8) {
58831      {
58832#line 1227
58833      while (1) {
58834        while_continue___0: /* CIL Label */ ;
58835        {
58836#line 1227
58837        tmp___7 = fc_els_resp_type(fp);
58838#line 1227
58839        __mptr = (struct fc_seq    *)sp;
58840#line 1227
58841        __cil_tmp15 = *((struct Scsi_Host **)lport);
58842#line 1227
58843        __cil_tmp16 = (unsigned long )__cil_tmp15;
58844#line 1227
58845        __cil_tmp17 = __cil_tmp16 + 308;
58846#line 1227
58847        __cil_tmp18 = *((unsigned int *)__cil_tmp17);
58848#line 1227
58849        __cil_tmp19 = (struct fc_exch *)0;
58850#line 1227
58851        __cil_tmp20 = (unsigned long )__cil_tmp19;
58852#line 1227
58853        __cil_tmp21 = __cil_tmp20 + 108;
58854#line 1227
58855        __cil_tmp22 = (struct fc_seq *)__cil_tmp21;
58856#line 1227
58857        __cil_tmp23 = (unsigned int )__cil_tmp22;
58858#line 1227
58859        __cil_tmp24 = (char *)__mptr;
58860#line 1227
58861        __cil_tmp25 = __cil_tmp24 - __cil_tmp23;
58862#line 1227
58863        __cil_tmp26 = (struct fc_exch *)__cil_tmp25;
58864#line 1227
58865        __cil_tmp27 = (unsigned long )__cil_tmp26;
58866#line 1227
58867        __cil_tmp28 = __cil_tmp27 + 96;
58868#line 1227
58869        __cil_tmp29 = *((u32 *)__cil_tmp28);
58870#line 1227
58871        printk("<6>host%u: rport %6.6x: Received a LOGO %s\n", __cil_tmp18, __cil_tmp29,
58872               tmp___7);
58873        }
58874#line 1227
58875        goto while_break___0;
58876      }
58877      while_break___0: /* CIL Label */ ;
58878      }
58879    } else {
58880
58881    }
58882#line 1227
58883    goto while_break;
58884  }
58885  while_break: /* CIL Label */ ;
58886  }
58887  {
58888#line 1229
58889  __cil_tmp30 = (void    *)fp;
58890#line 1229
58891  tmp___9 = (long )IS_ERR(__cil_tmp30);
58892  }
58893#line 1229
58894  if (tmp___9) {
58895#line 1230
58896    return;
58897  } else {
58898
58899  }
58900  {
58901#line 1231
58902  fc_frame_free(fp);
58903  }
58904#line 1232
58905  return;
58906}
58907}
58908#line 1241 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
58909static void fc_rport_enter_logo(struct fc_rport_priv *rdata ) 
58910{ struct fc_lport *lport ;
58911  struct fc_frame *fp ;
58912  char    *tmp___7 ;
58913  long tmp___8 ;
58914  unsigned int *__cil_tmp6 ;
58915  unsigned int __cil_tmp7 ;
58916  unsigned int __cil_tmp8 ;
58917  int __cil_tmp9 ;
58918  int __cil_tmp10 ;
58919  long __cil_tmp11 ;
58920  struct fc_lport *__cil_tmp12 ;
58921  struct Scsi_Host *__cil_tmp13 ;
58922  unsigned long __cil_tmp14 ;
58923  unsigned long __cil_tmp15 ;
58924  unsigned int __cil_tmp16 ;
58925  unsigned long __cil_tmp17 ;
58926  unsigned long __cil_tmp18 ;
58927  unsigned long __cil_tmp19 ;
58928  u32 __cil_tmp20 ;
58929  unsigned long __cil_tmp21 ;
58930  unsigned long __cil_tmp22 ;
58931  unsigned long __cil_tmp23 ;
58932  struct fc_seq *(*__cil_tmp24)(struct fc_lport * , u32 did , struct fc_frame * ,
58933                                unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
58934                                                               void *arg ) , void *arg ,
58935                                u32 timer_msec ) ;
58936  unsigned long __cil_tmp25 ;
58937  unsigned long __cil_tmp26 ;
58938  unsigned long __cil_tmp27 ;
58939  u32 __cil_tmp28 ;
58940  void *__cil_tmp29 ;
58941  u32 __cil_tmp30 ;
58942
58943  {
58944#line 1243
58945  lport = *((struct fc_lport **)rdata);
58946  {
58947#line 1246
58948  while (1) {
58949    while_continue: /* CIL Label */ ;
58950    {
58951#line 1246
58952    __cil_tmp6 = & fc_debug_logging;
58953#line 1246
58954    __cil_tmp7 = *__cil_tmp6;
58955#line 1246
58956    __cil_tmp8 = __cil_tmp7 & 8U;
58957#line 1246
58958    __cil_tmp9 = ! __cil_tmp8;
58959#line 1246
58960    __cil_tmp10 = ! __cil_tmp9;
58961#line 1246
58962    __cil_tmp11 = (long )__cil_tmp10;
58963#line 1246
58964    tmp___8 = __builtin_expect(__cil_tmp11, 0L);
58965    }
58966#line 1246
58967    if (tmp___8) {
58968      {
58969#line 1246
58970      while (1) {
58971        while_continue___0: /* CIL Label */ ;
58972        {
58973#line 1246
58974        tmp___7 = fc_rport_state(rdata);
58975#line 1246
58976        __cil_tmp12 = *((struct fc_lport **)rdata);
58977#line 1246
58978        __cil_tmp13 = *((struct Scsi_Host **)__cil_tmp12);
58979#line 1246
58980        __cil_tmp14 = (unsigned long )__cil_tmp13;
58981#line 1246
58982        __cil_tmp15 = __cil_tmp14 + 308;
58983#line 1246
58984        __cil_tmp16 = *((unsigned int *)__cil_tmp15);
58985#line 1246
58986        __cil_tmp17 = 24 + 16;
58987#line 1246
58988        __cil_tmp18 = (unsigned long )rdata;
58989#line 1246
58990        __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
58991#line 1246
58992        __cil_tmp20 = *((u32 *)__cil_tmp19);
58993#line 1246
58994        printk("<6>host%u: rport %6.6x: Port sending LOGO from %s state\n", __cil_tmp16,
58995               __cil_tmp20, tmp___7);
58996        }
58997#line 1246
58998        goto while_break___0;
58999      }
59000      while_break___0: /* CIL Label */ ;
59001      }
59002    } else {
59003
59004    }
59005#line 1246
59006    goto while_break;
59007  }
59008  while_break: /* CIL Label */ ;
59009  }
59010  {
59011#line 1249
59012  fp = fc_frame_alloc(lport, 16UL);
59013  }
59014#line 1250
59015  if (! fp) {
59016#line 1251
59017    return;
59018  } else {
59019
59020  }
59021  {
59022#line 1252
59023  __cil_tmp21 = 328 + 8;
59024#line 1252
59025  __cil_tmp22 = (unsigned long )lport;
59026#line 1252
59027  __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
59028#line 1252
59029  __cil_tmp24 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
59030                                       unsigned int op , void (*resp)(struct fc_seq * ,
59031                                                                      struct fc_frame * ,
59032                                                                      void *arg ) ,
59033                                       void *arg , u32 timer_msec ))__cil_tmp23);
59034#line 1252
59035  __cil_tmp25 = 24 + 16;
59036#line 1252
59037  __cil_tmp26 = (unsigned long )rdata;
59038#line 1252
59039  __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
59040#line 1252
59041  __cil_tmp28 = *((u32 *)__cil_tmp27);
59042#line 1252
59043  __cil_tmp29 = (void *)lport;
59044#line 1252
59045  __cil_tmp30 = (u32 )0;
59046#line 1252
59047  (*__cil_tmp24)(lport, __cil_tmp28, fp, 5U, & fc_rport_logo_resp, __cil_tmp29, __cil_tmp30);
59048  }
59049#line 1254
59050  return;
59051}
59052}
59053#line 1266 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
59054static void fc_rport_adisc_resp(struct fc_seq *sp , struct fc_frame *fp , void *rdata_arg ) 
59055{ struct fc_rport_priv *rdata ;
59056  struct fc_els_adisc *adisc ;
59057  u8 op ;
59058  long tmp___7 ;
59059  char    *tmp___8 ;
59060  long tmp___9 ;
59061  long tmp___10 ;
59062  long tmp___11 ;
59063  void *tmp___12 ;
59064  long tmp___13 ;
59065  long tmp___14 ;
59066  u32 tmp___15 ;
59067  u64 tmp___16 ;
59068  u64 tmp___17 ;
59069  unsigned long __cil_tmp18 ;
59070  unsigned long __cil_tmp19 ;
59071  struct mutex *__cil_tmp20 ;
59072  unsigned int *__cil_tmp21 ;
59073  unsigned int __cil_tmp22 ;
59074  unsigned int __cil_tmp23 ;
59075  int __cil_tmp24 ;
59076  int __cil_tmp25 ;
59077  long __cil_tmp26 ;
59078  struct fc_lport *__cil_tmp27 ;
59079  struct Scsi_Host *__cil_tmp28 ;
59080  unsigned long __cil_tmp29 ;
59081  unsigned long __cil_tmp30 ;
59082  unsigned int __cil_tmp31 ;
59083  unsigned long __cil_tmp32 ;
59084  unsigned long __cil_tmp33 ;
59085  unsigned long __cil_tmp34 ;
59086  u32 __cil_tmp35 ;
59087  unsigned long __cil_tmp36 ;
59088  unsigned long __cil_tmp37 ;
59089  enum fc_rport_state __cil_tmp38 ;
59090  unsigned int __cil_tmp39 ;
59091  unsigned int *__cil_tmp40 ;
59092  unsigned int __cil_tmp41 ;
59093  unsigned int __cil_tmp42 ;
59094  int __cil_tmp43 ;
59095  int __cil_tmp44 ;
59096  long __cil_tmp45 ;
59097  struct fc_lport *__cil_tmp46 ;
59098  struct Scsi_Host *__cil_tmp47 ;
59099  unsigned long __cil_tmp48 ;
59100  unsigned long __cil_tmp49 ;
59101  unsigned int __cil_tmp50 ;
59102  unsigned long __cil_tmp51 ;
59103  unsigned long __cil_tmp52 ;
59104  unsigned long __cil_tmp53 ;
59105  u32 __cil_tmp54 ;
59106  void    *__cil_tmp55 ;
59107  void    *__cil_tmp56 ;
59108  struct fc_frame    *__cil_tmp57 ;
59109  struct fc_frame    *__cil_tmp58 ;
59110  int __cil_tmp59 ;
59111  unsigned long __cil_tmp60 ;
59112  unsigned long __cil_tmp61 ;
59113  unsigned long __cil_tmp62 ;
59114  unsigned long __cil_tmp63 ;
59115  __u8 *__cil_tmp64 ;
59116  u8    *__cil_tmp65 ;
59117  unsigned long __cil_tmp66 ;
59118  unsigned long __cil_tmp67 ;
59119  unsigned long __cil_tmp68 ;
59120  u32 __cil_tmp69 ;
59121  unsigned long __cil_tmp70 ;
59122  unsigned long __cil_tmp71 ;
59123  __be64 *__cil_tmp72 ;
59124  void    *__cil_tmp73 ;
59125  unsigned long __cil_tmp74 ;
59126  unsigned long __cil_tmp75 ;
59127  unsigned long __cil_tmp76 ;
59128  u64 __cil_tmp77 ;
59129  unsigned long __cil_tmp78 ;
59130  unsigned long __cil_tmp79 ;
59131  __be64 *__cil_tmp80 ;
59132  void    *__cil_tmp81 ;
59133  unsigned long __cil_tmp82 ;
59134  unsigned long __cil_tmp83 ;
59135  u64 __cil_tmp84 ;
59136  unsigned int *__cil_tmp85 ;
59137  unsigned int __cil_tmp86 ;
59138  unsigned int __cil_tmp87 ;
59139  int __cil_tmp88 ;
59140  int __cil_tmp89 ;
59141  long __cil_tmp90 ;
59142  struct fc_lport *__cil_tmp91 ;
59143  struct Scsi_Host *__cil_tmp92 ;
59144  unsigned long __cil_tmp93 ;
59145  unsigned long __cil_tmp94 ;
59146  unsigned int __cil_tmp95 ;
59147  unsigned long __cil_tmp96 ;
59148  unsigned long __cil_tmp97 ;
59149  unsigned long __cil_tmp98 ;
59150  u32 __cil_tmp99 ;
59151  unsigned int *__cil_tmp100 ;
59152  unsigned int __cil_tmp101 ;
59153  unsigned int __cil_tmp102 ;
59154  int __cil_tmp103 ;
59155  int __cil_tmp104 ;
59156  long __cil_tmp105 ;
59157  struct fc_lport *__cil_tmp106 ;
59158  struct Scsi_Host *__cil_tmp107 ;
59159  unsigned long __cil_tmp108 ;
59160  unsigned long __cil_tmp109 ;
59161  unsigned int __cil_tmp110 ;
59162  unsigned long __cil_tmp111 ;
59163  unsigned long __cil_tmp112 ;
59164  unsigned long __cil_tmp113 ;
59165  u32 __cil_tmp114 ;
59166  unsigned long __cil_tmp115 ;
59167  unsigned long __cil_tmp116 ;
59168  struct mutex *__cil_tmp117 ;
59169  unsigned long __cil_tmp118 ;
59170  unsigned long __cil_tmp119 ;
59171  struct kref *__cil_tmp120 ;
59172  unsigned long __cil_tmp121 ;
59173  struct fc_lport *__cil_tmp122 ;
59174  unsigned long __cil_tmp123 ;
59175  unsigned long __cil_tmp124 ;
59176  void (*__cil_tmp125)(struct kref * ) ;
59177
59178  {
59179  {
59180#line 1269
59181  rdata = (struct fc_rport_priv *)rdata_arg;
59182#line 1273
59183  __cil_tmp18 = (unsigned long )rdata;
59184#line 1273
59185  __cil_tmp19 = __cil_tmp18 + 72;
59186#line 1273
59187  __cil_tmp20 = (struct mutex *)__cil_tmp19;
59188#line 1273
59189  mutex_lock(__cil_tmp20);
59190  }
59191  {
59192#line 1275
59193  while (1) {
59194    while_continue: /* CIL Label */ ;
59195    {
59196#line 1275
59197    __cil_tmp21 = & fc_debug_logging;
59198#line 1275
59199    __cil_tmp22 = *__cil_tmp21;
59200#line 1275
59201    __cil_tmp23 = __cil_tmp22 & 8U;
59202#line 1275
59203    __cil_tmp24 = ! __cil_tmp23;
59204#line 1275
59205    __cil_tmp25 = ! __cil_tmp24;
59206#line 1275
59207    __cil_tmp26 = (long )__cil_tmp25;
59208#line 1275
59209    tmp___7 = __builtin_expect(__cil_tmp26, 0L);
59210    }
59211#line 1275
59212    if (tmp___7) {
59213      {
59214#line 1275
59215      while (1) {
59216        while_continue___0: /* CIL Label */ ;
59217        {
59218#line 1275
59219        __cil_tmp27 = *((struct fc_lport **)rdata);
59220#line 1275
59221        __cil_tmp28 = *((struct Scsi_Host **)__cil_tmp27);
59222#line 1275
59223        __cil_tmp29 = (unsigned long )__cil_tmp28;
59224#line 1275
59225        __cil_tmp30 = __cil_tmp29 + 308;
59226#line 1275
59227        __cil_tmp31 = *((unsigned int *)__cil_tmp30);
59228#line 1275
59229        __cil_tmp32 = 24 + 16;
59230#line 1275
59231        __cil_tmp33 = (unsigned long )rdata;
59232#line 1275
59233        __cil_tmp34 = __cil_tmp33 + __cil_tmp32;
59234#line 1275
59235        __cil_tmp35 = *((u32 *)__cil_tmp34);
59236#line 1275
59237        printk("<6>host%u: rport %6.6x: Received a ADISC response\n", __cil_tmp31,
59238               __cil_tmp35);
59239        }
59240#line 1275
59241        goto while_break___0;
59242      }
59243      while_break___0: /* CIL Label */ ;
59244      }
59245    } else {
59246
59247    }
59248#line 1275
59249    goto while_break;
59250  }
59251  while_break: /* CIL Label */ ;
59252  }
59253  {
59254#line 1277
59255  __cil_tmp36 = (unsigned long )rdata;
59256#line 1277
59257  __cil_tmp37 = __cil_tmp36 + 20;
59258#line 1277
59259  __cil_tmp38 = *((enum fc_rport_state *)__cil_tmp37);
59260#line 1277
59261  __cil_tmp39 = (unsigned int )__cil_tmp38;
59262#line 1277
59263  if (__cil_tmp39 != 7U) {
59264    {
59265#line 1278
59266    while (1) {
59267      while_continue___1: /* CIL Label */ ;
59268      {
59269#line 1278
59270      __cil_tmp40 = & fc_debug_logging;
59271#line 1278
59272      __cil_tmp41 = *__cil_tmp40;
59273#line 1278
59274      __cil_tmp42 = __cil_tmp41 & 8U;
59275#line 1278
59276      __cil_tmp43 = ! __cil_tmp42;
59277#line 1278
59278      __cil_tmp44 = ! __cil_tmp43;
59279#line 1278
59280      __cil_tmp45 = (long )__cil_tmp44;
59281#line 1278
59282      tmp___9 = __builtin_expect(__cil_tmp45, 0L);
59283      }
59284#line 1278
59285      if (tmp___9) {
59286        {
59287#line 1278
59288        while (1) {
59289          while_continue___2: /* CIL Label */ ;
59290          {
59291#line 1278
59292          tmp___8 = fc_rport_state(rdata);
59293#line 1278
59294          __cil_tmp46 = *((struct fc_lport **)rdata);
59295#line 1278
59296          __cil_tmp47 = *((struct Scsi_Host **)__cil_tmp46);
59297#line 1278
59298          __cil_tmp48 = (unsigned long )__cil_tmp47;
59299#line 1278
59300          __cil_tmp49 = __cil_tmp48 + 308;
59301#line 1278
59302          __cil_tmp50 = *((unsigned int *)__cil_tmp49);
59303#line 1278
59304          __cil_tmp51 = 24 + 16;
59305#line 1278
59306          __cil_tmp52 = (unsigned long )rdata;
59307#line 1278
59308          __cil_tmp53 = __cil_tmp52 + __cil_tmp51;
59309#line 1278
59310          __cil_tmp54 = *((u32 *)__cil_tmp53);
59311#line 1278
59312          printk("<6>host%u: rport %6.6x: Received a ADISC resp but in state %s\n",
59313                 __cil_tmp50, __cil_tmp54, tmp___8);
59314          }
59315#line 1278
59316          goto while_break___2;
59317        }
59318        while_break___2: /* CIL Label */ ;
59319        }
59320      } else {
59321
59322      }
59323#line 1278
59324      goto while_break___1;
59325    }
59326    while_break___1: /* CIL Label */ ;
59327    }
59328    {
59329#line 1280
59330    __cil_tmp55 = (void    *)fp;
59331#line 1280
59332    tmp___10 = (long )IS_ERR(__cil_tmp55);
59333    }
59334#line 1280
59335    if (tmp___10) {
59336#line 1281
59337      goto err;
59338    } else {
59339
59340    }
59341#line 1282
59342    goto out;
59343  } else {
59344
59345  }
59346  }
59347  {
59348#line 1285
59349  __cil_tmp56 = (void    *)fp;
59350#line 1285
59351  tmp___11 = (long )IS_ERR(__cil_tmp56);
59352  }
59353#line 1285
59354  if (tmp___11) {
59355    {
59356#line 1286
59357    fc_rport_error(rdata, fp);
59358    }
59359#line 1287
59360    goto err;
59361  } else {
59362
59363  }
59364  {
59365#line 1295
59366  __cil_tmp57 = (struct fc_frame    *)fp;
59367#line 1295
59368  op = fc_frame_payload_op(__cil_tmp57);
59369#line 1296
59370  __cil_tmp58 = (struct fc_frame    *)fp;
59371#line 1296
59372  tmp___12 = fc_frame_payload_get(__cil_tmp58, 28UL);
59373#line 1296
59374  adisc = (struct fc_els_adisc *)tmp___12;
59375  }
59376  {
59377#line 1297
59378  __cil_tmp59 = (int )op;
59379#line 1297
59380  if (__cil_tmp59 != 2) {
59381#line 1297
59382    goto _L;
59383  } else
59384#line 1297
59385  if (! adisc) {
59386#line 1297
59387    goto _L;
59388  } else {
59389    {
59390#line 1297
59391    __cil_tmp60 = 0 * 1UL;
59392#line 1297
59393    __cil_tmp61 = 25 + __cil_tmp60;
59394#line 1297
59395    __cil_tmp62 = (unsigned long )adisc;
59396#line 1297
59397    __cil_tmp63 = __cil_tmp62 + __cil_tmp61;
59398#line 1297
59399    __cil_tmp64 = (__u8 *)__cil_tmp63;
59400#line 1297
59401    __cil_tmp65 = (u8    *)__cil_tmp64;
59402#line 1297
59403    tmp___15 = ntoh24(__cil_tmp65);
59404    }
59405    {
59406#line 1297
59407    __cil_tmp66 = 24 + 16;
59408#line 1297
59409    __cil_tmp67 = (unsigned long )rdata;
59410#line 1297
59411    __cil_tmp68 = __cil_tmp67 + __cil_tmp66;
59412#line 1297
59413    __cil_tmp69 = *((u32 *)__cil_tmp68);
59414#line 1297
59415    if (tmp___15 != __cil_tmp69) {
59416#line 1297
59417      goto _L;
59418    } else {
59419      {
59420#line 1297
59421      __cil_tmp70 = (unsigned long )adisc;
59422#line 1297
59423      __cil_tmp71 = __cil_tmp70 + 8;
59424#line 1297
59425      __cil_tmp72 = (__be64 *)__cil_tmp71;
59426#line 1297
59427      __cil_tmp73 = (void    *)__cil_tmp72;
59428#line 1297
59429      tmp___16 = get_unaligned_be64(__cil_tmp73);
59430      }
59431      {
59432#line 1297
59433      __cil_tmp74 = 24 + 8;
59434#line 1297
59435      __cil_tmp75 = (unsigned long )rdata;
59436#line 1297
59437      __cil_tmp76 = __cil_tmp75 + __cil_tmp74;
59438#line 1297
59439      __cil_tmp77 = *((u64 *)__cil_tmp76);
59440#line 1297
59441      if (tmp___16 != __cil_tmp77) {
59442#line 1297
59443        goto _L;
59444      } else {
59445        {
59446#line 1297
59447        __cil_tmp78 = (unsigned long )adisc;
59448#line 1297
59449        __cil_tmp79 = __cil_tmp78 + 16;
59450#line 1297
59451        __cil_tmp80 = (__be64 *)__cil_tmp79;
59452#line 1297
59453        __cil_tmp81 = (void    *)__cil_tmp80;
59454#line 1297
59455        tmp___17 = get_unaligned_be64(__cil_tmp81);
59456        }
59457        {
59458#line 1297
59459        __cil_tmp82 = (unsigned long )rdata;
59460#line 1297
59461        __cil_tmp83 = __cil_tmp82 + 24;
59462#line 1297
59463        __cil_tmp84 = *((u64 *)__cil_tmp83);
59464#line 1297
59465        if (tmp___17 != __cil_tmp84) {
59466          _L: /* CIL Label */ 
59467          {
59468#line 1301
59469          while (1) {
59470            while_continue___3: /* CIL Label */ ;
59471            {
59472#line 1301
59473            __cil_tmp85 = & fc_debug_logging;
59474#line 1301
59475            __cil_tmp86 = *__cil_tmp85;
59476#line 1301
59477            __cil_tmp87 = __cil_tmp86 & 8U;
59478#line 1301
59479            __cil_tmp88 = ! __cil_tmp87;
59480#line 1301
59481            __cil_tmp89 = ! __cil_tmp88;
59482#line 1301
59483            __cil_tmp90 = (long )__cil_tmp89;
59484#line 1301
59485            tmp___13 = __builtin_expect(__cil_tmp90, 0L);
59486            }
59487#line 1301
59488            if (tmp___13) {
59489              {
59490#line 1301
59491              while (1) {
59492                while_continue___4: /* CIL Label */ ;
59493                {
59494#line 1301
59495                __cil_tmp91 = *((struct fc_lport **)rdata);
59496#line 1301
59497                __cil_tmp92 = *((struct Scsi_Host **)__cil_tmp91);
59498#line 1301
59499                __cil_tmp93 = (unsigned long )__cil_tmp92;
59500#line 1301
59501                __cil_tmp94 = __cil_tmp93 + 308;
59502#line 1301
59503                __cil_tmp95 = *((unsigned int *)__cil_tmp94);
59504#line 1301
59505                __cil_tmp96 = 24 + 16;
59506#line 1301
59507                __cil_tmp97 = (unsigned long )rdata;
59508#line 1301
59509                __cil_tmp98 = __cil_tmp97 + __cil_tmp96;
59510#line 1301
59511                __cil_tmp99 = *((u32 *)__cil_tmp98);
59512#line 1301
59513                printk("<6>host%u: rport %6.6x: ADISC error or mismatch\n", __cil_tmp95,
59514                       __cil_tmp99);
59515                }
59516#line 1301
59517                goto while_break___4;
59518              }
59519              while_break___4: /* CIL Label */ ;
59520              }
59521            } else {
59522
59523            }
59524#line 1301
59525            goto while_break___3;
59526          }
59527          while_break___3: /* CIL Label */ ;
59528          }
59529          {
59530#line 1302
59531          fc_rport_enter_flogi(rdata);
59532          }
59533        } else {
59534          {
59535#line 1304
59536          while (1) {
59537            while_continue___5: /* CIL Label */ ;
59538            {
59539#line 1304
59540            __cil_tmp100 = & fc_debug_logging;
59541#line 1304
59542            __cil_tmp101 = *__cil_tmp100;
59543#line 1304
59544            __cil_tmp102 = __cil_tmp101 & 8U;
59545#line 1304
59546            __cil_tmp103 = ! __cil_tmp102;
59547#line 1304
59548            __cil_tmp104 = ! __cil_tmp103;
59549#line 1304
59550            __cil_tmp105 = (long )__cil_tmp104;
59551#line 1304
59552            tmp___14 = __builtin_expect(__cil_tmp105, 0L);
59553            }
59554#line 1304
59555            if (tmp___14) {
59556              {
59557#line 1304
59558              while (1) {
59559                while_continue___6: /* CIL Label */ ;
59560                {
59561#line 1304
59562                __cil_tmp106 = *((struct fc_lport **)rdata);
59563#line 1304
59564                __cil_tmp107 = *((struct Scsi_Host **)__cil_tmp106);
59565#line 1304
59566                __cil_tmp108 = (unsigned long )__cil_tmp107;
59567#line 1304
59568                __cil_tmp109 = __cil_tmp108 + 308;
59569#line 1304
59570                __cil_tmp110 = *((unsigned int *)__cil_tmp109);
59571#line 1304
59572                __cil_tmp111 = 24 + 16;
59573#line 1304
59574                __cil_tmp112 = (unsigned long )rdata;
59575#line 1304
59576                __cil_tmp113 = __cil_tmp112 + __cil_tmp111;
59577#line 1304
59578                __cil_tmp114 = *((u32 *)__cil_tmp113);
59579#line 1304
59580                printk("<6>host%u: rport %6.6x: ADISC OK\n", __cil_tmp110, __cil_tmp114);
59581                }
59582#line 1304
59583                goto while_break___6;
59584              }
59585              while_break___6: /* CIL Label */ ;
59586              }
59587            } else {
59588
59589            }
59590#line 1304
59591            goto while_break___5;
59592          }
59593          while_break___5: /* CIL Label */ ;
59594          }
59595          {
59596#line 1305
59597          fc_rport_enter_ready(rdata);
59598          }
59599        }
59600        }
59601      }
59602      }
59603    }
59604    }
59605  }
59606  }
59607  out: 
59608  {
59609#line 1308
59610  fc_frame_free(fp);
59611  }
59612  err: 
59613  {
59614#line 1310
59615  __cil_tmp115 = (unsigned long )rdata;
59616#line 1310
59617  __cil_tmp116 = __cil_tmp115 + 72;
59618#line 1310
59619  __cil_tmp117 = (struct mutex *)__cil_tmp116;
59620#line 1310
59621  mutex_unlock(__cil_tmp117);
59622#line 1311
59623  __cil_tmp118 = (unsigned long )rdata;
59624#line 1311
59625  __cil_tmp119 = __cil_tmp118 + 16;
59626#line 1311
59627  __cil_tmp120 = (struct kref *)__cil_tmp119;
59628#line 1311
59629  __cil_tmp121 = 328 + 200;
59630#line 1311
59631  __cil_tmp122 = *((struct fc_lport **)rdata);
59632#line 1311
59633  __cil_tmp123 = (unsigned long )__cil_tmp122;
59634#line 1311
59635  __cil_tmp124 = __cil_tmp123 + __cil_tmp121;
59636#line 1311
59637  __cil_tmp125 = *((void (**)(struct kref * ))__cil_tmp124);
59638#line 1311
59639  kref_put(__cil_tmp120, __cil_tmp125);
59640  }
59641#line 1312
59642  return;
59643}
59644}
59645#line 1321 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
59646static void fc_rport_enter_adisc(struct fc_rport_priv *rdata ) 
59647{ struct fc_lport *lport ;
59648  struct fc_frame *fp ;
59649  char    *tmp___7 ;
59650  long tmp___8 ;
59651  struct fc_seq *tmp___9 ;
59652  unsigned int *__cil_tmp7 ;
59653  unsigned int __cil_tmp8 ;
59654  unsigned int __cil_tmp9 ;
59655  int __cil_tmp10 ;
59656  int __cil_tmp11 ;
59657  long __cil_tmp12 ;
59658  struct fc_lport *__cil_tmp13 ;
59659  struct Scsi_Host *__cil_tmp14 ;
59660  unsigned long __cil_tmp15 ;
59661  unsigned long __cil_tmp16 ;
59662  unsigned int __cil_tmp17 ;
59663  unsigned long __cil_tmp18 ;
59664  unsigned long __cil_tmp19 ;
59665  unsigned long __cil_tmp20 ;
59666  u32 __cil_tmp21 ;
59667  enum fc_rport_state __cil_tmp22 ;
59668  unsigned long __cil_tmp23 ;
59669  unsigned long __cil_tmp24 ;
59670  unsigned long __cil_tmp25 ;
59671  struct fc_seq *(*__cil_tmp26)(struct fc_lport * , u32 did , struct fc_frame * ,
59672                                unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
59673                                                               void *arg ) , void *arg ,
59674                                u32 timer_msec ) ;
59675  unsigned long __cil_tmp27 ;
59676  unsigned long __cil_tmp28 ;
59677  unsigned long __cil_tmp29 ;
59678  u32 __cil_tmp30 ;
59679  void *__cil_tmp31 ;
59680  unsigned long __cil_tmp32 ;
59681  unsigned long __cil_tmp33 ;
59682  unsigned int __cil_tmp34 ;
59683  unsigned int __cil_tmp35 ;
59684  unsigned long __cil_tmp36 ;
59685  unsigned long __cil_tmp37 ;
59686  struct kref *__cil_tmp38 ;
59687  void *__cil_tmp39 ;
59688  struct fc_frame *__cil_tmp40 ;
59689
59690  {
59691#line 1323
59692  lport = *((struct fc_lport **)rdata);
59693  {
59694#line 1326
59695  while (1) {
59696    while_continue: /* CIL Label */ ;
59697    {
59698#line 1326
59699    __cil_tmp7 = & fc_debug_logging;
59700#line 1326
59701    __cil_tmp8 = *__cil_tmp7;
59702#line 1326
59703    __cil_tmp9 = __cil_tmp8 & 8U;
59704#line 1326
59705    __cil_tmp10 = ! __cil_tmp9;
59706#line 1326
59707    __cil_tmp11 = ! __cil_tmp10;
59708#line 1326
59709    __cil_tmp12 = (long )__cil_tmp11;
59710#line 1326
59711    tmp___8 = __builtin_expect(__cil_tmp12, 0L);
59712    }
59713#line 1326
59714    if (tmp___8) {
59715      {
59716#line 1326
59717      while (1) {
59718        while_continue___0: /* CIL Label */ ;
59719        {
59720#line 1326
59721        tmp___7 = fc_rport_state(rdata);
59722#line 1326
59723        __cil_tmp13 = *((struct fc_lport **)rdata);
59724#line 1326
59725        __cil_tmp14 = *((struct Scsi_Host **)__cil_tmp13);
59726#line 1326
59727        __cil_tmp15 = (unsigned long )__cil_tmp14;
59728#line 1326
59729        __cil_tmp16 = __cil_tmp15 + 308;
59730#line 1326
59731        __cil_tmp17 = *((unsigned int *)__cil_tmp16);
59732#line 1326
59733        __cil_tmp18 = 24 + 16;
59734#line 1326
59735        __cil_tmp19 = (unsigned long )rdata;
59736#line 1326
59737        __cil_tmp20 = __cil_tmp19 + __cil_tmp18;
59738#line 1326
59739        __cil_tmp21 = *((u32 *)__cil_tmp20);
59740#line 1326
59741        printk("<6>host%u: rport %6.6x: sending ADISC from %s state\n", __cil_tmp17,
59742               __cil_tmp21, tmp___7);
59743        }
59744#line 1326
59745        goto while_break___0;
59746      }
59747      while_break___0: /* CIL Label */ ;
59748      }
59749    } else {
59750
59751    }
59752#line 1326
59753    goto while_break;
59754  }
59755  while_break: /* CIL Label */ ;
59756  }
59757  {
59758#line 1329
59759  __cil_tmp22 = (enum fc_rport_state )7;
59760#line 1329
59761  fc_rport_state_enter(rdata, __cil_tmp22);
59762#line 1331
59763  fp = fc_frame_alloc(lport, 28UL);
59764  }
59765#line 1332
59766  if (! fp) {
59767    {
59768#line 1333
59769    fc_rport_error_retry(rdata, fp);
59770    }
59771#line 1334
59772    return;
59773  } else {
59774
59775  }
59776  {
59777#line 1336
59778  __cil_tmp23 = 328 + 8;
59779#line 1336
59780  __cil_tmp24 = (unsigned long )lport;
59781#line 1336
59782  __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
59783#line 1336
59784  __cil_tmp26 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
59785                                       unsigned int op , void (*resp)(struct fc_seq * ,
59786                                                                      struct fc_frame * ,
59787                                                                      void *arg ) ,
59788                                       void *arg , u32 timer_msec ))__cil_tmp25);
59789#line 1336
59790  __cil_tmp27 = 24 + 16;
59791#line 1336
59792  __cil_tmp28 = (unsigned long )rdata;
59793#line 1336
59794  __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
59795#line 1336
59796  __cil_tmp30 = *((u32 *)__cil_tmp29);
59797#line 1336
59798  __cil_tmp31 = (void *)rdata;
59799#line 1336
59800  __cil_tmp32 = (unsigned long )lport;
59801#line 1336
59802  __cil_tmp33 = __cil_tmp32 + 816;
59803#line 1336
59804  __cil_tmp34 = *((unsigned int *)__cil_tmp33);
59805#line 1336
59806  __cil_tmp35 = 2U * __cil_tmp34;
59807#line 1336
59808  tmp___9 = (*__cil_tmp26)(lport, __cil_tmp30, fp, 82U, & fc_rport_adisc_resp, __cil_tmp31,
59809                           __cil_tmp35);
59810  }
59811#line 1336
59812  if (tmp___9) {
59813    {
59814#line 1341
59815    __cil_tmp36 = (unsigned long )rdata;
59816#line 1341
59817    __cil_tmp37 = __cil_tmp36 + 16;
59818#line 1341
59819    __cil_tmp38 = (struct kref *)__cil_tmp37;
59820#line 1341
59821    kref_get(__cil_tmp38);
59822    }
59823  } else {
59824    {
59825#line 1339
59826    __cil_tmp39 = (void *)0;
59827#line 1339
59828    __cil_tmp40 = (struct fc_frame *)__cil_tmp39;
59829#line 1339
59830    fc_rport_error_retry(rdata, __cil_tmp40);
59831    }
59832  }
59833#line 1342
59834  return;
59835}
59836}
59837#line 1351 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
59838static void fc_rport_recv_adisc_req(struct fc_rport_priv *rdata , struct fc_frame *in_fp ) 
59839{ struct fc_lport *lport ;
59840  struct fc_frame *fp ;
59841  struct fc_els_adisc *adisc ;
59842  struct fc_seq_els_data rjt_data ;
59843  long tmp___7 ;
59844  void *tmp___8 ;
59845  void *tmp___9 ;
59846  unsigned int *__cil_tmp10 ;
59847  unsigned int __cil_tmp11 ;
59848  unsigned int __cil_tmp12 ;
59849  int __cil_tmp13 ;
59850  int __cil_tmp14 ;
59851  long __cil_tmp15 ;
59852  struct fc_lport *__cil_tmp16 ;
59853  struct Scsi_Host *__cil_tmp17 ;
59854  unsigned long __cil_tmp18 ;
59855  unsigned long __cil_tmp19 ;
59856  unsigned int __cil_tmp20 ;
59857  unsigned long __cil_tmp21 ;
59858  unsigned long __cil_tmp22 ;
59859  unsigned long __cil_tmp23 ;
59860  u32 __cil_tmp24 ;
59861  struct fc_frame    *__cil_tmp25 ;
59862  struct fc_seq_els_data *__cil_tmp26 ;
59863  unsigned long __cil_tmp27 ;
59864  unsigned long __cil_tmp28 ;
59865  unsigned long __cil_tmp29 ;
59866  unsigned long __cil_tmp30 ;
59867  void (*__cil_tmp31)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
59868  enum fc_els_cmd __cil_tmp32 ;
59869  struct fc_frame    *__cil_tmp33 ;
59870  struct fc_frame    *__cil_tmp34 ;
59871  enum fc_rctl __cil_tmp35 ;
59872  u32 __cil_tmp36 ;
59873  unsigned long __cil_tmp37 ;
59874  unsigned long __cil_tmp38 ;
59875  int (*__cil_tmp39)(struct fc_lport * , struct fc_frame * ) ;
59876
59877  {
59878#line 1354
59879  lport = *((struct fc_lport **)rdata);
59880  {
59881#line 1359
59882  while (1) {
59883    while_continue: /* CIL Label */ ;
59884    {
59885#line 1359
59886    __cil_tmp10 = & fc_debug_logging;
59887#line 1359
59888    __cil_tmp11 = *__cil_tmp10;
59889#line 1359
59890    __cil_tmp12 = __cil_tmp11 & 8U;
59891#line 1359
59892    __cil_tmp13 = ! __cil_tmp12;
59893#line 1359
59894    __cil_tmp14 = ! __cil_tmp13;
59895#line 1359
59896    __cil_tmp15 = (long )__cil_tmp14;
59897#line 1359
59898    tmp___7 = __builtin_expect(__cil_tmp15, 0L);
59899    }
59900#line 1359
59901    if (tmp___7) {
59902      {
59903#line 1359
59904      while (1) {
59905        while_continue___0: /* CIL Label */ ;
59906        {
59907#line 1359
59908        __cil_tmp16 = *((struct fc_lport **)rdata);
59909#line 1359
59910        __cil_tmp17 = *((struct Scsi_Host **)__cil_tmp16);
59911#line 1359
59912        __cil_tmp18 = (unsigned long )__cil_tmp17;
59913#line 1359
59914        __cil_tmp19 = __cil_tmp18 + 308;
59915#line 1359
59916        __cil_tmp20 = *((unsigned int *)__cil_tmp19);
59917#line 1359
59918        __cil_tmp21 = 24 + 16;
59919#line 1359
59920        __cil_tmp22 = (unsigned long )rdata;
59921#line 1359
59922        __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
59923#line 1359
59924        __cil_tmp24 = *((u32 *)__cil_tmp23);
59925#line 1359
59926        printk("<6>host%u: rport %6.6x: Received ADISC request\n", __cil_tmp20, __cil_tmp24);
59927        }
59928#line 1359
59929        goto while_break___0;
59930      }
59931      while_break___0: /* CIL Label */ ;
59932      }
59933    } else {
59934
59935    }
59936#line 1359
59937    goto while_break;
59938  }
59939  while_break: /* CIL Label */ ;
59940  }
59941  {
59942#line 1361
59943  __cil_tmp25 = (struct fc_frame    *)in_fp;
59944#line 1361
59945  tmp___8 = fc_frame_payload_get(__cil_tmp25, 28UL);
59946#line 1361
59947  adisc = (struct fc_els_adisc *)tmp___8;
59948  }
59949#line 1362
59950  if (! adisc) {
59951    {
59952#line 1363
59953    __cil_tmp26 = & rjt_data;
59954#line 1363
59955    *((enum fc_els_rjt_reason *)__cil_tmp26) = (enum fc_els_rjt_reason )7;
59956#line 1364
59957    __cil_tmp27 = (unsigned long )(& rjt_data) + 4;
59958#line 1364
59959    *((enum fc_els_rjt_explan *)__cil_tmp27) = (enum fc_els_rjt_explan )45;
59960#line 1365
59961    __cil_tmp28 = 328 + 64;
59962#line 1365
59963    __cil_tmp29 = (unsigned long )lport;
59964#line 1365
59965    __cil_tmp30 = __cil_tmp29 + __cil_tmp28;
59966#line 1365
59967    __cil_tmp31 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp30);
59968#line 1365
59969    __cil_tmp32 = (enum fc_els_cmd )1;
59970#line 1365
59971    (*__cil_tmp31)(in_fp, __cil_tmp32, & rjt_data);
59972    }
59973#line 1366
59974    goto drop;
59975  } else {
59976
59977  }
59978  {
59979#line 1369
59980  fp = fc_frame_alloc(lport, 28UL);
59981  }
59982#line 1370
59983  if (! fp) {
59984#line 1371
59985    goto drop;
59986  } else {
59987
59988  }
59989  {
59990#line 1372
59991  fc_adisc_fill(lport, fp);
59992#line 1373
59993  __cil_tmp33 = (struct fc_frame    *)fp;
59994#line 1373
59995  tmp___9 = fc_frame_payload_get(__cil_tmp33, 28UL);
59996#line 1373
59997  adisc = (struct fc_els_adisc *)tmp___9;
59998#line 1374
59999  *((__u8 *)adisc) = (__u8 )2;
60000#line 1375
60001  __cil_tmp34 = (struct fc_frame    *)in_fp;
60002#line 1375
60003  __cil_tmp35 = (enum fc_rctl )35;
60004#line 1375
60005  __cil_tmp36 = (u32 )0;
60006#line 1375
60007  fc_fill_reply_hdr(fp, __cil_tmp34, __cil_tmp35, __cil_tmp36);
60008#line 1376
60009  __cil_tmp37 = (unsigned long )lport;
60010#line 1376
60011  __cil_tmp38 = __cil_tmp37 + 328;
60012#line 1376
60013  __cil_tmp39 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp38);
60014#line 1376
60015  (*__cil_tmp39)(lport, fp);
60016  }
60017  drop: 
60018  {
60019#line 1378
60020  fc_frame_free(in_fp);
60021  }
60022#line 1379
60023  return;
60024}
60025}
60026#line 1389 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
60027static void fc_rport_recv_rls_req(struct fc_rport_priv *rdata , struct fc_frame *rx_fp ) 
60028{ struct fc_lport *lport ;
60029  struct fc_frame *fp ;
60030  struct fc_els_rls *rls ;
60031  struct fc_els_rls_resp *rsp ;
60032  struct fc_els_lesb *lesb ;
60033  struct fc_seq_els_data rjt_data ;
60034  struct fc_host_statistics *hst ;
60035  char    *tmp___7 ;
60036  long tmp___8 ;
60037  void *tmp___9 ;
60038  void *tmp___10 ;
60039  __u32 tmp___11 ;
60040  __u32 tmp___12 ;
60041  __u32 tmp___13 ;
60042  __u32 tmp___14 ;
60043  __u32 tmp___15 ;
60044  __u32 tmp___16 ;
60045  unsigned int *__cil_tmp20 ;
60046  unsigned int __cil_tmp21 ;
60047  unsigned int __cil_tmp22 ;
60048  int __cil_tmp23 ;
60049  int __cil_tmp24 ;
60050  long __cil_tmp25 ;
60051  struct fc_lport *__cil_tmp26 ;
60052  struct Scsi_Host *__cil_tmp27 ;
60053  unsigned long __cil_tmp28 ;
60054  unsigned long __cil_tmp29 ;
60055  unsigned int __cil_tmp30 ;
60056  unsigned long __cil_tmp31 ;
60057  unsigned long __cil_tmp32 ;
60058  unsigned long __cil_tmp33 ;
60059  u32 __cil_tmp34 ;
60060  struct fc_frame    *__cil_tmp35 ;
60061  struct fc_seq_els_data *__cil_tmp36 ;
60062  unsigned long __cil_tmp37 ;
60063  struct fc_seq_els_data *__cil_tmp38 ;
60064  unsigned long __cil_tmp39 ;
60065  struct fc_frame    *__cil_tmp40 ;
60066  void *__cil_tmp41 ;
60067  unsigned long __cil_tmp42 ;
60068  unsigned long __cil_tmp43 ;
60069  unsigned long __cil_tmp44 ;
60070  unsigned long __cil_tmp45 ;
60071  unsigned long __cil_tmp46 ;
60072  unsigned long __cil_tmp47 ;
60073  unsigned long __cil_tmp48 ;
60074  unsigned long __cil_tmp49 ;
60075  void (*__cil_tmp50)(struct fc_lport * , struct fc_els_lesb *lesb ) ;
60076  struct Scsi_Host *__cil_tmp51 ;
60077  unsigned long __cil_tmp52 ;
60078  unsigned long __cil_tmp53 ;
60079  unsigned long __cil_tmp54 ;
60080  unsigned long __cil_tmp55 ;
60081  u64 __cil_tmp56 ;
60082  __u32 __cil_tmp57 ;
60083  unsigned long __cil_tmp58 ;
60084  unsigned long __cil_tmp59 ;
60085  u64 __cil_tmp60 ;
60086  __u32 __cil_tmp61 ;
60087  unsigned long __cil_tmp62 ;
60088  unsigned long __cil_tmp63 ;
60089  unsigned long __cil_tmp64 ;
60090  unsigned long __cil_tmp65 ;
60091  u64 __cil_tmp66 ;
60092  __u32 __cil_tmp67 ;
60093  unsigned long __cil_tmp68 ;
60094  unsigned long __cil_tmp69 ;
60095  unsigned long __cil_tmp70 ;
60096  unsigned long __cil_tmp71 ;
60097  u64 __cil_tmp72 ;
60098  __u32 __cil_tmp73 ;
60099  unsigned long __cil_tmp74 ;
60100  unsigned long __cil_tmp75 ;
60101  unsigned long __cil_tmp76 ;
60102  unsigned long __cil_tmp77 ;
60103  u64 __cil_tmp78 ;
60104  __u32 __cil_tmp79 ;
60105  unsigned long __cil_tmp80 ;
60106  unsigned long __cil_tmp81 ;
60107  unsigned long __cil_tmp82 ;
60108  unsigned long __cil_tmp83 ;
60109  u64 __cil_tmp84 ;
60110  __u32 __cil_tmp85 ;
60111  unsigned long __cil_tmp86 ;
60112  unsigned long __cil_tmp87 ;
60113  struct fc_frame    *__cil_tmp88 ;
60114  enum fc_rctl __cil_tmp89 ;
60115  u32 __cil_tmp90 ;
60116  unsigned long __cil_tmp91 ;
60117  unsigned long __cil_tmp92 ;
60118  int (*__cil_tmp93)(struct fc_lport * , struct fc_frame * ) ;
60119  unsigned long __cil_tmp94 ;
60120  unsigned long __cil_tmp95 ;
60121  unsigned long __cil_tmp96 ;
60122  void (*__cil_tmp97)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
60123  enum fc_els_cmd __cil_tmp98 ;
60124
60125  {
60126#line 1393
60127  lport = *((struct fc_lport **)rdata);
60128  {
60129#line 1401
60130  while (1) {
60131    while_continue: /* CIL Label */ ;
60132    {
60133#line 1401
60134    __cil_tmp20 = & fc_debug_logging;
60135#line 1401
60136    __cil_tmp21 = *__cil_tmp20;
60137#line 1401
60138    __cil_tmp22 = __cil_tmp21 & 8U;
60139#line 1401
60140    __cil_tmp23 = ! __cil_tmp22;
60141#line 1401
60142    __cil_tmp24 = ! __cil_tmp23;
60143#line 1401
60144    __cil_tmp25 = (long )__cil_tmp24;
60145#line 1401
60146    tmp___8 = __builtin_expect(__cil_tmp25, 0L);
60147    }
60148#line 1401
60149    if (tmp___8) {
60150      {
60151#line 1401
60152      while (1) {
60153        while_continue___0: /* CIL Label */ ;
60154        {
60155#line 1401
60156        tmp___7 = fc_rport_state(rdata);
60157#line 1401
60158        __cil_tmp26 = *((struct fc_lport **)rdata);
60159#line 1401
60160        __cil_tmp27 = *((struct Scsi_Host **)__cil_tmp26);
60161#line 1401
60162        __cil_tmp28 = (unsigned long )__cil_tmp27;
60163#line 1401
60164        __cil_tmp29 = __cil_tmp28 + 308;
60165#line 1401
60166        __cil_tmp30 = *((unsigned int *)__cil_tmp29);
60167#line 1401
60168        __cil_tmp31 = 24 + 16;
60169#line 1401
60170        __cil_tmp32 = (unsigned long )rdata;
60171#line 1401
60172        __cil_tmp33 = __cil_tmp32 + __cil_tmp31;
60173#line 1401
60174        __cil_tmp34 = *((u32 *)__cil_tmp33);
60175#line 1401
60176        printk("<6>host%u: rport %6.6x: Received RLS request while in state %s\n",
60177               __cil_tmp30, __cil_tmp34, tmp___7);
60178        }
60179#line 1401
60180        goto while_break___0;
60181      }
60182      while_break___0: /* CIL Label */ ;
60183      }
60184    } else {
60185
60186    }
60187#line 1401
60188    goto while_break;
60189  }
60190  while_break: /* CIL Label */ ;
60191  }
60192  {
60193#line 1404
60194  __cil_tmp35 = (struct fc_frame    *)rx_fp;
60195#line 1404
60196  tmp___9 = fc_frame_payload_get(__cil_tmp35, 8UL);
60197#line 1404
60198  rls = (struct fc_els_rls *)tmp___9;
60199  }
60200#line 1405
60201  if (! rls) {
60202#line 1406
60203    __cil_tmp36 = & rjt_data;
60204#line 1406
60205    *((enum fc_els_rjt_reason *)__cil_tmp36) = (enum fc_els_rjt_reason )7;
60206#line 1407
60207    __cil_tmp37 = (unsigned long )(& rjt_data) + 4;
60208#line 1407
60209    *((enum fc_els_rjt_explan *)__cil_tmp37) = (enum fc_els_rjt_explan )45;
60210#line 1408
60211    goto out_rjt;
60212  } else {
60213
60214  }
60215  {
60216#line 1411
60217  fp = fc_frame_alloc(lport, 28UL);
60218  }
60219#line 1412
60220  if (! fp) {
60221#line 1413
60222    __cil_tmp38 = & rjt_data;
60223#line 1413
60224    *((enum fc_els_rjt_reason *)__cil_tmp38) = (enum fc_els_rjt_reason )9;
60225#line 1414
60226    __cil_tmp39 = (unsigned long )(& rjt_data) + 4;
60227#line 1414
60228    *((enum fc_els_rjt_explan *)__cil_tmp39) = (enum fc_els_rjt_explan )41;
60229#line 1415
60230    goto out_rjt;
60231  } else {
60232
60233  }
60234  {
60235#line 1418
60236  __cil_tmp40 = (struct fc_frame    *)fp;
60237#line 1418
60238  tmp___10 = fc_frame_payload_get(__cil_tmp40, 28UL);
60239#line 1418
60240  rsp = (struct fc_els_rls_resp *)tmp___10;
60241#line 1419
60242  __cil_tmp41 = (void *)rsp;
60243#line 1419
60244  memset(__cil_tmp41, 0, 28UL);
60245#line 1420
60246  *((__u8 *)rsp) = (__u8 )2;
60247#line 1421
60248  __cil_tmp42 = (unsigned long )rsp;
60249#line 1421
60250  __cil_tmp43 = __cil_tmp42 + 4;
60251#line 1421
60252  lesb = (struct fc_els_lesb *)__cil_tmp43;
60253  }
60254  {
60255#line 1422
60256  __cil_tmp44 = 328 + 48;
60257#line 1422
60258  __cil_tmp45 = (unsigned long )lport;
60259#line 1422
60260  __cil_tmp46 = __cil_tmp45 + __cil_tmp44;
60261#line 1422
60262  if (*((void (**)(struct fc_lport * , struct fc_els_lesb *lesb ))__cil_tmp46)) {
60263    {
60264#line 1424
60265    __cil_tmp47 = 328 + 48;
60266#line 1424
60267    __cil_tmp48 = (unsigned long )lport;
60268#line 1424
60269    __cil_tmp49 = __cil_tmp48 + __cil_tmp47;
60270#line 1424
60271    __cil_tmp50 = *((void (**)(struct fc_lport * , struct fc_els_lesb *lesb ))__cil_tmp49);
60272#line 1424
60273    (*__cil_tmp50)(lport, lesb);
60274    }
60275  } else {
60276    {
60277#line 1426
60278    __cil_tmp51 = *((struct Scsi_Host **)lport);
60279#line 1426
60280    fc_get_host_stats(__cil_tmp51);
60281#line 1427
60282    __cil_tmp52 = (unsigned long )lport;
60283#line 1427
60284    __cil_tmp53 = __cil_tmp52 + 616;
60285#line 1427
60286    hst = (struct fc_host_statistics *)__cil_tmp53;
60287#line 1428
60288    __cil_tmp54 = (unsigned long )hst;
60289#line 1428
60290    __cil_tmp55 = __cil_tmp54 + 72;
60291#line 1428
60292    __cil_tmp56 = *((u64 *)__cil_tmp55);
60293#line 1428
60294    __cil_tmp57 = (__u32 )__cil_tmp56;
60295#line 1428
60296    tmp___11 = __fswab32(__cil_tmp57);
60297#line 1428
60298    *((__be32 *)lesb) = tmp___11;
60299#line 1429
60300    __cil_tmp58 = (unsigned long )hst;
60301#line 1429
60302    __cil_tmp59 = __cil_tmp58 + 80;
60303#line 1429
60304    __cil_tmp60 = *((u64 *)__cil_tmp59);
60305#line 1429
60306    __cil_tmp61 = (__u32 )__cil_tmp60;
60307#line 1429
60308    tmp___12 = __fswab32(__cil_tmp61);
60309#line 1429
60310    __cil_tmp62 = (unsigned long )lesb;
60311#line 1429
60312    __cil_tmp63 = __cil_tmp62 + 4;
60313#line 1429
60314    *((__be32 *)__cil_tmp63) = tmp___12;
60315#line 1430
60316    __cil_tmp64 = (unsigned long )hst;
60317#line 1430
60318    __cil_tmp65 = __cil_tmp64 + 88;
60319#line 1430
60320    __cil_tmp66 = *((u64 *)__cil_tmp65);
60321#line 1430
60322    __cil_tmp67 = (__u32 )__cil_tmp66;
60323#line 1430
60324    tmp___13 = __fswab32(__cil_tmp67);
60325#line 1430
60326    __cil_tmp68 = (unsigned long )lesb;
60327#line 1430
60328    __cil_tmp69 = __cil_tmp68 + 8;
60329#line 1430
60330    *((__be32 *)__cil_tmp69) = tmp___13;
60331#line 1431
60332    __cil_tmp70 = (unsigned long )hst;
60333#line 1431
60334    __cil_tmp71 = __cil_tmp70 + 96;
60335#line 1431
60336    __cil_tmp72 = *((u64 *)__cil_tmp71);
60337#line 1431
60338    __cil_tmp73 = (__u32 )__cil_tmp72;
60339#line 1431
60340    tmp___14 = __fswab32(__cil_tmp73);
60341#line 1431
60342    __cil_tmp74 = (unsigned long )lesb;
60343#line 1431
60344    __cil_tmp75 = __cil_tmp74 + 12;
60345#line 1431
60346    *((__be32 *)__cil_tmp75) = tmp___14;
60347#line 1432
60348    __cil_tmp76 = (unsigned long )hst;
60349#line 1432
60350    __cil_tmp77 = __cil_tmp76 + 104;
60351#line 1432
60352    __cil_tmp78 = *((u64 *)__cil_tmp77);
60353#line 1432
60354    __cil_tmp79 = (__u32 )__cil_tmp78;
60355#line 1432
60356    tmp___15 = __fswab32(__cil_tmp79);
60357#line 1432
60358    __cil_tmp80 = (unsigned long )lesb;
60359#line 1432
60360    __cil_tmp81 = __cil_tmp80 + 16;
60361#line 1432
60362    *((__be32 *)__cil_tmp81) = tmp___15;
60363#line 1433
60364    __cil_tmp82 = (unsigned long )hst;
60365#line 1433
60366    __cil_tmp83 = __cil_tmp82 + 112;
60367#line 1433
60368    __cil_tmp84 = *((u64 *)__cil_tmp83);
60369#line 1433
60370    __cil_tmp85 = (__u32 )__cil_tmp84;
60371#line 1433
60372    tmp___16 = __fswab32(__cil_tmp85);
60373#line 1433
60374    __cil_tmp86 = (unsigned long )lesb;
60375#line 1433
60376    __cil_tmp87 = __cil_tmp86 + 20;
60377#line 1433
60378    *((__be32 *)__cil_tmp87) = tmp___16;
60379    }
60380  }
60381  }
60382  {
60383#line 1436
60384  __cil_tmp88 = (struct fc_frame    *)rx_fp;
60385#line 1436
60386  __cil_tmp89 = (enum fc_rctl )35;
60387#line 1436
60388  __cil_tmp90 = (u32 )0;
60389#line 1436
60390  fc_fill_reply_hdr(fp, __cil_tmp88, __cil_tmp89, __cil_tmp90);
60391#line 1437
60392  __cil_tmp91 = (unsigned long )lport;
60393#line 1437
60394  __cil_tmp92 = __cil_tmp91 + 328;
60395#line 1437
60396  __cil_tmp93 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp92);
60397#line 1437
60398  (*__cil_tmp93)(lport, fp);
60399  }
60400#line 1438
60401  goto out;
60402  out_rjt: 
60403  {
60404#line 1441
60405  __cil_tmp94 = 328 + 64;
60406#line 1441
60407  __cil_tmp95 = (unsigned long )lport;
60408#line 1441
60409  __cil_tmp96 = __cil_tmp95 + __cil_tmp94;
60410#line 1441
60411  __cil_tmp97 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp96);
60412#line 1441
60413  __cil_tmp98 = (enum fc_els_cmd )1;
60414#line 1441
60415  (*__cil_tmp97)(rx_fp, __cil_tmp98, & rjt_data);
60416  }
60417  out: 
60418  {
60419#line 1443
60420  fc_frame_free(rx_fp);
60421  }
60422#line 1444
60423  return;
60424}
60425}
60426#line 1456 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
60427static void fc_rport_recv_els_req(struct fc_lport *lport , struct fc_frame *fp ) 
60428{ struct fc_rport_priv *rdata ;
60429  struct fc_seq_els_data els_data ;
60430  u32 tmp___7 ;
60431  u8 tmp___8 ;
60432  unsigned long __cil_tmp7 ;
60433  unsigned long __cil_tmp8 ;
60434  unsigned long __cil_tmp9 ;
60435  struct mutex *__cil_tmp10 ;
60436  struct fc_frame    *__cil_tmp11 ;
60437  unsigned long __cil_tmp12 ;
60438  unsigned long __cil_tmp13 ;
60439  unsigned long __cil_tmp14 ;
60440  struct fc_rport_priv *(*__cil_tmp15)(struct fc_lport    * , u32  ) ;
60441  struct fc_lport    *__cil_tmp16 ;
60442  unsigned long __cil_tmp17 ;
60443  unsigned long __cil_tmp18 ;
60444  unsigned long __cil_tmp19 ;
60445  struct mutex *__cil_tmp20 ;
60446  unsigned long __cil_tmp21 ;
60447  unsigned long __cil_tmp22 ;
60448  struct mutex *__cil_tmp23 ;
60449  unsigned long __cil_tmp24 ;
60450  unsigned long __cil_tmp25 ;
60451  unsigned long __cil_tmp26 ;
60452  struct mutex *__cil_tmp27 ;
60453  unsigned long __cil_tmp28 ;
60454  unsigned long __cil_tmp29 ;
60455  enum fc_rport_state __cil_tmp30 ;
60456  unsigned long __cil_tmp31 ;
60457  unsigned long __cil_tmp32 ;
60458  struct mutex *__cil_tmp33 ;
60459  struct fc_frame    *__cil_tmp34 ;
60460  unsigned long __cil_tmp35 ;
60461  unsigned long __cil_tmp36 ;
60462  unsigned long __cil_tmp37 ;
60463  void (*__cil_tmp38)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
60464  enum fc_els_cmd __cil_tmp39 ;
60465  void *__cil_tmp40 ;
60466  struct fc_seq_els_data *__cil_tmp41 ;
60467  unsigned long __cil_tmp42 ;
60468  unsigned long __cil_tmp43 ;
60469  unsigned long __cil_tmp44 ;
60470  void (*__cil_tmp45)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
60471  enum fc_els_cmd __cil_tmp46 ;
60472  void *__cil_tmp47 ;
60473  struct fc_seq_els_data *__cil_tmp48 ;
60474  unsigned long __cil_tmp49 ;
60475  unsigned long __cil_tmp50 ;
60476  struct mutex *__cil_tmp51 ;
60477  struct fc_seq_els_data *__cil_tmp52 ;
60478  unsigned long __cil_tmp53 ;
60479  unsigned long __cil_tmp54 ;
60480  unsigned long __cil_tmp55 ;
60481  unsigned long __cil_tmp56 ;
60482  void (*__cil_tmp57)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
60483  enum fc_els_cmd __cil_tmp58 ;
60484
60485  {
60486  {
60487#line 1461
60488  __cil_tmp7 = 56 + 40;
60489#line 1461
60490  __cil_tmp8 = (unsigned long )lport;
60491#line 1461
60492  __cil_tmp9 = __cil_tmp8 + __cil_tmp7;
60493#line 1461
60494  __cil_tmp10 = (struct mutex *)__cil_tmp9;
60495#line 1461
60496  mutex_lock(__cil_tmp10);
60497#line 1462
60498  __cil_tmp11 = (struct fc_frame    *)fp;
60499#line 1462
60500  tmp___7 = fc_frame_sid(__cil_tmp11);
60501#line 1462
60502  __cil_tmp12 = 328 + 192;
60503#line 1462
60504  __cil_tmp13 = (unsigned long )lport;
60505#line 1462
60506  __cil_tmp14 = __cil_tmp13 + __cil_tmp12;
60507#line 1462
60508  __cil_tmp15 = *((struct fc_rport_priv *(**)(struct fc_lport    * , u32  ))__cil_tmp14);
60509#line 1462
60510  __cil_tmp16 = (struct fc_lport    *)lport;
60511#line 1462
60512  rdata = (*__cil_tmp15)(__cil_tmp16, tmp___7);
60513  }
60514#line 1463
60515  if (! rdata) {
60516    {
60517#line 1464
60518    __cil_tmp17 = 56 + 40;
60519#line 1464
60520    __cil_tmp18 = (unsigned long )lport;
60521#line 1464
60522    __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
60523#line 1464
60524    __cil_tmp20 = (struct mutex *)__cil_tmp19;
60525#line 1464
60526    mutex_unlock(__cil_tmp20);
60527    }
60528#line 1465
60529    goto reject;
60530  } else {
60531
60532  }
60533  {
60534#line 1467
60535  __cil_tmp21 = (unsigned long )rdata;
60536#line 1467
60537  __cil_tmp22 = __cil_tmp21 + 72;
60538#line 1467
60539  __cil_tmp23 = (struct mutex *)__cil_tmp22;
60540#line 1467
60541  mutex_lock(__cil_tmp23);
60542#line 1468
60543  __cil_tmp24 = 56 + 40;
60544#line 1468
60545  __cil_tmp25 = (unsigned long )lport;
60546#line 1468
60547  __cil_tmp26 = __cil_tmp25 + __cil_tmp24;
60548#line 1468
60549  __cil_tmp27 = (struct mutex *)__cil_tmp26;
60550#line 1468
60551  mutex_unlock(__cil_tmp27);
60552  }
60553  {
60554#line 1470
60555  __cil_tmp28 = (unsigned long )rdata;
60556#line 1470
60557  __cil_tmp29 = __cil_tmp28 + 20;
60558#line 1470
60559  __cil_tmp30 = *((enum fc_rport_state *)__cil_tmp29);
60560#line 1471
60561  if ((int )__cil_tmp30 == 4) {
60562#line 1471
60563    goto case_4;
60564  } else
60565#line 1472
60566  if ((int )__cil_tmp30 == 5) {
60567#line 1472
60568    goto case_4;
60569  } else
60570#line 1473
60571  if ((int )__cil_tmp30 == 6) {
60572#line 1473
60573    goto case_4;
60574  } else
60575#line 1474
60576  if ((int )__cil_tmp30 == 7) {
60577#line 1474
60578    goto case_4;
60579  } else {
60580    {
60581#line 1476
60582    goto switch_default;
60583#line 1470
60584    if (0) {
60585      case_4: /* CIL Label */ 
60586      case_5: /* CIL Label */ 
60587      case_6: /* CIL Label */ 
60588      case_7: /* CIL Label */ 
60589#line 1475
60590      goto switch_break;
60591      switch_default: /* CIL Label */ 
60592      {
60593#line 1477
60594      __cil_tmp31 = (unsigned long )rdata;
60595#line 1477
60596      __cil_tmp32 = __cil_tmp31 + 72;
60597#line 1477
60598      __cil_tmp33 = (struct mutex *)__cil_tmp32;
60599#line 1477
60600      mutex_unlock(__cil_tmp33);
60601      }
60602#line 1478
60603      goto reject;
60604    } else {
60605      switch_break: /* CIL Label */ ;
60606    }
60607    }
60608  }
60609  }
60610  {
60611#line 1481
60612  __cil_tmp34 = (struct fc_frame    *)fp;
60613#line 1481
60614  tmp___8 = fc_frame_payload_op(__cil_tmp34);
60615  }
60616#line 1482
60617  if ((int )tmp___8 == 32) {
60618#line 1482
60619    goto case_32;
60620  } else
60621#line 1485
60622  if ((int )tmp___8 == 33) {
60623#line 1485
60624    goto case_33;
60625  } else
60626#line 1488
60627  if ((int )tmp___8 == 82) {
60628#line 1488
60629    goto case_82;
60630  } else
60631#line 1491
60632  if ((int )tmp___8 == 18) {
60633#line 1491
60634    goto case_18;
60635  } else
60636#line 1495
60637  if ((int )tmp___8 == 19) {
60638#line 1495
60639    goto case_19;
60640  } else
60641#line 1499
60642  if ((int )tmp___8 == 15) {
60643#line 1499
60644    goto case_15;
60645  } else {
60646    {
60647#line 1502
60648    goto switch_default___0;
60649#line 1481
60650    if (0) {
60651      case_32: /* CIL Label */ 
60652      {
60653#line 1483
60654      fc_rport_recv_prli_req(rdata, fp);
60655      }
60656#line 1484
60657      goto switch_break___0;
60658      case_33: /* CIL Label */ 
60659      {
60660#line 1486
60661      fc_rport_recv_prlo_req(rdata, fp);
60662      }
60663#line 1487
60664      goto switch_break___0;
60665      case_82: /* CIL Label */ 
60666      {
60667#line 1489
60668      fc_rport_recv_adisc_req(rdata, fp);
60669      }
60670#line 1490
60671      goto switch_break___0;
60672      case_18: /* CIL Label */ 
60673      {
60674#line 1492
60675      __cil_tmp35 = 328 + 64;
60676#line 1492
60677      __cil_tmp36 = (unsigned long )lport;
60678#line 1492
60679      __cil_tmp37 = __cil_tmp36 + __cil_tmp35;
60680#line 1492
60681      __cil_tmp38 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp37);
60682#line 1492
60683      __cil_tmp39 = (enum fc_els_cmd )18;
60684#line 1492
60685      __cil_tmp40 = (void *)0;
60686#line 1492
60687      __cil_tmp41 = (struct fc_seq_els_data *)__cil_tmp40;
60688#line 1492
60689      (*__cil_tmp38)(fp, __cil_tmp39, __cil_tmp41);
60690#line 1493
60691      fc_frame_free(fp);
60692      }
60693#line 1494
60694      goto switch_break___0;
60695      case_19: /* CIL Label */ 
60696      {
60697#line 1496
60698      __cil_tmp42 = 328 + 64;
60699#line 1496
60700      __cil_tmp43 = (unsigned long )lport;
60701#line 1496
60702      __cil_tmp44 = __cil_tmp43 + __cil_tmp42;
60703#line 1496
60704      __cil_tmp45 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp44);
60705#line 1496
60706      __cil_tmp46 = (enum fc_els_cmd )19;
60707#line 1496
60708      __cil_tmp47 = (void *)0;
60709#line 1496
60710      __cil_tmp48 = (struct fc_seq_els_data *)__cil_tmp47;
60711#line 1496
60712      (*__cil_tmp45)(fp, __cil_tmp46, __cil_tmp48);
60713#line 1497
60714      fc_frame_free(fp);
60715      }
60716#line 1498
60717      goto switch_break___0;
60718      case_15: /* CIL Label */ 
60719      {
60720#line 1500
60721      fc_rport_recv_rls_req(rdata, fp);
60722      }
60723#line 1501
60724      goto switch_break___0;
60725      switch_default___0: /* CIL Label */ 
60726      {
60727#line 1503
60728      fc_frame_free(fp);
60729      }
60730#line 1504
60731      goto switch_break___0;
60732    } else {
60733      switch_break___0: /* CIL Label */ ;
60734    }
60735    }
60736  }
60737  {
60738#line 1507
60739  __cil_tmp49 = (unsigned long )rdata;
60740#line 1507
60741  __cil_tmp50 = __cil_tmp49 + 72;
60742#line 1507
60743  __cil_tmp51 = (struct mutex *)__cil_tmp50;
60744#line 1507
60745  mutex_unlock(__cil_tmp51);
60746  }
60747#line 1508
60748  return;
60749  reject: 
60750  {
60751#line 1511
60752  __cil_tmp52 = & els_data;
60753#line 1511
60754  *((enum fc_els_rjt_reason *)__cil_tmp52) = (enum fc_els_rjt_reason )9;
60755#line 1512
60756  __cil_tmp53 = (unsigned long )(& els_data) + 4;
60757#line 1512
60758  *((enum fc_els_rjt_explan *)__cil_tmp53) = (enum fc_els_rjt_explan )30;
60759#line 1513
60760  __cil_tmp54 = 328 + 64;
60761#line 1513
60762  __cil_tmp55 = (unsigned long )lport;
60763#line 1513
60764  __cil_tmp56 = __cil_tmp55 + __cil_tmp54;
60765#line 1513
60766  __cil_tmp57 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp56);
60767#line 1513
60768  __cil_tmp58 = (enum fc_els_cmd )1;
60769#line 1513
60770  (*__cil_tmp57)(fp, __cil_tmp58, & els_data);
60771#line 1514
60772  fc_frame_free(fp);
60773  }
60774#line 1515
60775  return;
60776}
60777}
60778#line 1524 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
60779static void fc_rport_recv_req(struct fc_lport *lport , struct fc_frame *fp ) 
60780{ struct fc_seq_els_data els_data ;
60781  u8 tmp___7 ;
60782  struct fc_frame    *__cil_tmp5 ;
60783  struct fc_seq_els_data *__cil_tmp6 ;
60784  unsigned long __cil_tmp7 ;
60785  unsigned long __cil_tmp8 ;
60786  unsigned long __cil_tmp9 ;
60787  unsigned long __cil_tmp10 ;
60788  void (*__cil_tmp11)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
60789  enum fc_els_cmd __cil_tmp12 ;
60790
60791  {
60792  {
60793#line 1534
60794  __cil_tmp5 = (struct fc_frame    *)fp;
60795#line 1534
60796  tmp___7 = fc_frame_payload_op(__cil_tmp5);
60797  }
60798#line 1535
60799  if ((int )tmp___7 == 4) {
60800#line 1535
60801    goto case_4;
60802  } else
60803#line 1538
60804  if ((int )tmp___7 == 3) {
60805#line 1538
60806    goto case_3;
60807  } else
60808#line 1541
60809  if ((int )tmp___7 == 5) {
60810#line 1541
60811    goto case_5;
60812  } else
60813#line 1544
60814  if ((int )tmp___7 == 32) {
60815#line 1544
60816    goto case_32;
60817  } else
60818#line 1545
60819  if ((int )tmp___7 == 33) {
60820#line 1545
60821    goto case_32;
60822  } else
60823#line 1546
60824  if ((int )tmp___7 == 82) {
60825#line 1546
60826    goto case_32;
60827  } else
60828#line 1547
60829  if ((int )tmp___7 == 18) {
60830#line 1547
60831    goto case_32;
60832  } else
60833#line 1548
60834  if ((int )tmp___7 == 19) {
60835#line 1548
60836    goto case_32;
60837  } else
60838#line 1549
60839  if ((int )tmp___7 == 15) {
60840#line 1549
60841    goto case_32;
60842  } else {
60843    {
60844#line 1552
60845    goto switch_default;
60846#line 1534
60847    if (0) {
60848      case_4: /* CIL Label */ 
60849      {
60850#line 1536
60851      fc_rport_recv_flogi_req(lport, fp);
60852      }
60853#line 1537
60854      goto switch_break;
60855      case_3: /* CIL Label */ 
60856      {
60857#line 1539
60858      fc_rport_recv_plogi_req(lport, fp);
60859      }
60860#line 1540
60861      goto switch_break;
60862      case_5: /* CIL Label */ 
60863      {
60864#line 1542
60865      fc_rport_recv_logo_req(lport, fp);
60866      }
60867#line 1543
60868      goto switch_break;
60869      case_32: /* CIL Label */ 
60870      case_33: /* CIL Label */ 
60871      case_82: /* CIL Label */ 
60872      case_18: /* CIL Label */ 
60873      case_19: /* CIL Label */ 
60874      case_15: /* CIL Label */ 
60875      {
60876#line 1550
60877      fc_rport_recv_els_req(lport, fp);
60878      }
60879#line 1551
60880      goto switch_break;
60881      switch_default: /* CIL Label */ 
60882      {
60883#line 1553
60884      __cil_tmp6 = & els_data;
60885#line 1553
60886      *((enum fc_els_rjt_reason *)__cil_tmp6) = (enum fc_els_rjt_reason )11;
60887#line 1554
60888      __cil_tmp7 = (unsigned long )(& els_data) + 4;
60889#line 1554
60890      *((enum fc_els_rjt_explan *)__cil_tmp7) = (enum fc_els_rjt_explan )0;
60891#line 1555
60892      __cil_tmp8 = 328 + 64;
60893#line 1555
60894      __cil_tmp9 = (unsigned long )lport;
60895#line 1555
60896      __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
60897#line 1555
60898      __cil_tmp11 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp10);
60899#line 1555
60900      __cil_tmp12 = (enum fc_els_cmd )1;
60901#line 1555
60902      (*__cil_tmp11)(fp, __cil_tmp12, & els_data);
60903#line 1556
60904      fc_frame_free(fp);
60905      }
60906#line 1557
60907      goto switch_break;
60908    } else {
60909      switch_break: /* CIL Label */ ;
60910    }
60911    }
60912  }
60913#line 1559
60914  return;
60915}
60916}
60917#line 1568 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
60918static void fc_rport_recv_plogi_req(struct fc_lport *lport , struct fc_frame *rx_fp ) 
60919{ struct fc_disc *disc ;
60920  struct fc_rport_priv *rdata ;
60921  struct fc_frame *fp ;
60922  struct fc_els_flogi *pl ;
60923  struct fc_seq_els_data rjt_data ;
60924  u32 sid ;
60925  long tmp___7 ;
60926  void *tmp___8 ;
60927  long tmp___9 ;
60928  long tmp___10 ;
60929  long tmp___11 ;
60930  long tmp___12 ;
60931  long tmp___13 ;
60932  char    *tmp___14 ;
60933  long tmp___15 ;
60934  unsigned int tmp___16 ;
60935  struct fc_frame    *__cil_tmp19 ;
60936  unsigned int *__cil_tmp20 ;
60937  unsigned int __cil_tmp21 ;
60938  unsigned int __cil_tmp22 ;
60939  int __cil_tmp23 ;
60940  int __cil_tmp24 ;
60941  long __cil_tmp25 ;
60942  struct Scsi_Host *__cil_tmp26 ;
60943  unsigned long __cil_tmp27 ;
60944  unsigned long __cil_tmp28 ;
60945  unsigned int __cil_tmp29 ;
60946  struct fc_frame    *__cil_tmp30 ;
60947  unsigned int *__cil_tmp31 ;
60948  unsigned int __cil_tmp32 ;
60949  unsigned int __cil_tmp33 ;
60950  int __cil_tmp34 ;
60951  int __cil_tmp35 ;
60952  long __cil_tmp36 ;
60953  struct Scsi_Host *__cil_tmp37 ;
60954  unsigned long __cil_tmp38 ;
60955  unsigned long __cil_tmp39 ;
60956  unsigned int __cil_tmp40 ;
60957  struct fc_seq_els_data *__cil_tmp41 ;
60958  unsigned long __cil_tmp42 ;
60959  unsigned long __cil_tmp43 ;
60960  unsigned long __cil_tmp44 ;
60961  unsigned long __cil_tmp45 ;
60962  unsigned long __cil_tmp46 ;
60963  struct mutex *__cil_tmp47 ;
60964  unsigned long __cil_tmp48 ;
60965  unsigned long __cil_tmp49 ;
60966  unsigned long __cil_tmp50 ;
60967  struct fc_rport_priv *(*__cil_tmp51)(struct fc_lport * , u32  ) ;
60968  unsigned long __cil_tmp52 ;
60969  unsigned long __cil_tmp53 ;
60970  struct mutex *__cil_tmp54 ;
60971  struct fc_seq_els_data *__cil_tmp55 ;
60972  unsigned long __cil_tmp56 ;
60973  unsigned long __cil_tmp57 ;
60974  unsigned long __cil_tmp58 ;
60975  struct mutex *__cil_tmp59 ;
60976  unsigned long __cil_tmp60 ;
60977  unsigned long __cil_tmp61 ;
60978  struct mutex *__cil_tmp62 ;
60979  unsigned long __cil_tmp63 ;
60980  unsigned long __cil_tmp64 ;
60981  unsigned long __cil_tmp65 ;
60982  unsigned long __cil_tmp66 ;
60983  unsigned long __cil_tmp67 ;
60984  __be64 *__cil_tmp68 ;
60985  void    *__cil_tmp69 ;
60986  unsigned long __cil_tmp70 ;
60987  unsigned long __cil_tmp71 ;
60988  unsigned long __cil_tmp72 ;
60989  unsigned long __cil_tmp73 ;
60990  __be64 *__cil_tmp74 ;
60991  void    *__cil_tmp75 ;
60992  unsigned long __cil_tmp76 ;
60993  unsigned long __cil_tmp77 ;
60994  enum fc_rport_state __cil_tmp78 ;
60995  unsigned int *__cil_tmp79 ;
60996  unsigned int __cil_tmp80 ;
60997  unsigned int __cil_tmp81 ;
60998  int __cil_tmp82 ;
60999  int __cil_tmp83 ;
61000  long __cil_tmp84 ;
61001  struct fc_lport *__cil_tmp85 ;
61002  struct Scsi_Host *__cil_tmp86 ;
61003  unsigned long __cil_tmp87 ;
61004  unsigned long __cil_tmp88 ;
61005  unsigned int __cil_tmp89 ;
61006  unsigned long __cil_tmp90 ;
61007  unsigned long __cil_tmp91 ;
61008  unsigned long __cil_tmp92 ;
61009  u32 __cil_tmp93 ;
61010  unsigned int *__cil_tmp94 ;
61011  unsigned int __cil_tmp95 ;
61012  unsigned int __cil_tmp96 ;
61013  int __cil_tmp97 ;
61014  int __cil_tmp98 ;
61015  long __cil_tmp99 ;
61016  struct fc_lport *__cil_tmp100 ;
61017  struct Scsi_Host *__cil_tmp101 ;
61018  unsigned long __cil_tmp102 ;
61019  unsigned long __cil_tmp103 ;
61020  unsigned int __cil_tmp104 ;
61021  unsigned long __cil_tmp105 ;
61022  unsigned long __cil_tmp106 ;
61023  unsigned long __cil_tmp107 ;
61024  u32 __cil_tmp108 ;
61025  unsigned int *__cil_tmp109 ;
61026  unsigned int __cil_tmp110 ;
61027  unsigned int __cil_tmp111 ;
61028  int __cil_tmp112 ;
61029  int __cil_tmp113 ;
61030  long __cil_tmp114 ;
61031  struct fc_lport *__cil_tmp115 ;
61032  struct Scsi_Host *__cil_tmp116 ;
61033  unsigned long __cil_tmp117 ;
61034  unsigned long __cil_tmp118 ;
61035  unsigned int __cil_tmp119 ;
61036  unsigned long __cil_tmp120 ;
61037  unsigned long __cil_tmp121 ;
61038  unsigned long __cil_tmp122 ;
61039  u32 __cil_tmp123 ;
61040  unsigned long __cil_tmp124 ;
61041  unsigned long __cil_tmp125 ;
61042  u64 __cil_tmp126 ;
61043  unsigned long __cil_tmp127 ;
61044  unsigned long __cil_tmp128 ;
61045  unsigned long __cil_tmp129 ;
61046  u64 __cil_tmp130 ;
61047  unsigned long __cil_tmp131 ;
61048  unsigned long __cil_tmp132 ;
61049  struct mutex *__cil_tmp133 ;
61050  struct fc_seq_els_data *__cil_tmp134 ;
61051  unsigned long __cil_tmp135 ;
61052  unsigned int *__cil_tmp136 ;
61053  unsigned int __cil_tmp137 ;
61054  unsigned int __cil_tmp138 ;
61055  int __cil_tmp139 ;
61056  int __cil_tmp140 ;
61057  long __cil_tmp141 ;
61058  struct fc_lport *__cil_tmp142 ;
61059  struct Scsi_Host *__cil_tmp143 ;
61060  unsigned long __cil_tmp144 ;
61061  unsigned long __cil_tmp145 ;
61062  unsigned int __cil_tmp146 ;
61063  unsigned long __cil_tmp147 ;
61064  unsigned long __cil_tmp148 ;
61065  unsigned long __cil_tmp149 ;
61066  u32 __cil_tmp150 ;
61067  unsigned long __cil_tmp151 ;
61068  unsigned long __cil_tmp152 ;
61069  enum fc_rport_state __cil_tmp153 ;
61070  unsigned int __cil_tmp154 ;
61071  unsigned int *__cil_tmp155 ;
61072  unsigned int __cil_tmp156 ;
61073  unsigned int __cil_tmp157 ;
61074  int __cil_tmp158 ;
61075  int __cil_tmp159 ;
61076  long __cil_tmp160 ;
61077  struct fc_lport *__cil_tmp161 ;
61078  struct Scsi_Host *__cil_tmp162 ;
61079  unsigned long __cil_tmp163 ;
61080  unsigned long __cil_tmp164 ;
61081  unsigned int __cil_tmp165 ;
61082  unsigned long __cil_tmp166 ;
61083  unsigned long __cil_tmp167 ;
61084  unsigned long __cil_tmp168 ;
61085  u32 __cil_tmp169 ;
61086  unsigned long __cil_tmp170 ;
61087  unsigned long __cil_tmp171 ;
61088  struct mutex *__cil_tmp172 ;
61089  struct fc_seq_els_data *__cil_tmp173 ;
61090  unsigned long __cil_tmp174 ;
61091  unsigned long __cil_tmp175 ;
61092  unsigned long __cil_tmp176 ;
61093  u32 __cil_tmp177 ;
61094  unsigned long __cil_tmp178 ;
61095  unsigned long __cil_tmp179 ;
61096  struct fc_frame    *__cil_tmp180 ;
61097  enum fc_rctl __cil_tmp181 ;
61098  u32 __cil_tmp182 ;
61099  unsigned long __cil_tmp183 ;
61100  unsigned long __cil_tmp184 ;
61101  int (*__cil_tmp185)(struct fc_lport * , struct fc_frame * ) ;
61102  unsigned long __cil_tmp186 ;
61103  unsigned long __cil_tmp187 ;
61104  struct mutex *__cil_tmp188 ;
61105  unsigned long __cil_tmp189 ;
61106  unsigned long __cil_tmp190 ;
61107  unsigned long __cil_tmp191 ;
61108  void (*__cil_tmp192)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
61109  enum fc_els_cmd __cil_tmp193 ;
61110
61111  {
61112  {
61113#line 1573
61114  fp = rx_fp;
61115#line 1578
61116  __cil_tmp19 = (struct fc_frame    *)fp;
61117#line 1578
61118  sid = fc_frame_sid(__cil_tmp19);
61119  }
61120  {
61121#line 1580
61122  while (1) {
61123    while_continue: /* CIL Label */ ;
61124    {
61125#line 1580
61126    __cil_tmp20 = & fc_debug_logging;
61127#line 1580
61128    __cil_tmp21 = *__cil_tmp20;
61129#line 1580
61130    __cil_tmp22 = __cil_tmp21 & 8U;
61131#line 1580
61132    __cil_tmp23 = ! __cil_tmp22;
61133#line 1580
61134    __cil_tmp24 = ! __cil_tmp23;
61135#line 1580
61136    __cil_tmp25 = (long )__cil_tmp24;
61137#line 1580
61138    tmp___7 = __builtin_expect(__cil_tmp25, 0L);
61139    }
61140#line 1580
61141    if (tmp___7) {
61142      {
61143#line 1580
61144      while (1) {
61145        while_continue___0: /* CIL Label */ ;
61146        {
61147#line 1580
61148        __cil_tmp26 = *((struct Scsi_Host **)lport);
61149#line 1580
61150        __cil_tmp27 = (unsigned long )__cil_tmp26;
61151#line 1580
61152        __cil_tmp28 = __cil_tmp27 + 308;
61153#line 1580
61154        __cil_tmp29 = *((unsigned int *)__cil_tmp28);
61155#line 1580
61156        printk("<6>host%u: rport %6.6x: Received PLOGI request\n", __cil_tmp29, sid);
61157        }
61158#line 1580
61159        goto while_break___0;
61160      }
61161      while_break___0: /* CIL Label */ ;
61162      }
61163    } else {
61164
61165    }
61166#line 1580
61167    goto while_break;
61168  }
61169  while_break: /* CIL Label */ ;
61170  }
61171  {
61172#line 1582
61173  __cil_tmp30 = (struct fc_frame    *)fp;
61174#line 1582
61175  tmp___8 = fc_frame_payload_get(__cil_tmp30, 116UL);
61176#line 1582
61177  pl = (struct fc_els_flogi *)tmp___8;
61178  }
61179#line 1583
61180  if (! pl) {
61181    {
61182#line 1584
61183    while (1) {
61184      while_continue___1: /* CIL Label */ ;
61185      {
61186#line 1584
61187      __cil_tmp31 = & fc_debug_logging;
61188#line 1584
61189      __cil_tmp32 = *__cil_tmp31;
61190#line 1584
61191      __cil_tmp33 = __cil_tmp32 & 8U;
61192#line 1584
61193      __cil_tmp34 = ! __cil_tmp33;
61194#line 1584
61195      __cil_tmp35 = ! __cil_tmp34;
61196#line 1584
61197      __cil_tmp36 = (long )__cil_tmp35;
61198#line 1584
61199      tmp___9 = __builtin_expect(__cil_tmp36, 0L);
61200      }
61201#line 1584
61202      if (tmp___9) {
61203        {
61204#line 1584
61205        while (1) {
61206          while_continue___2: /* CIL Label */ ;
61207          {
61208#line 1584
61209          __cil_tmp37 = *((struct Scsi_Host **)lport);
61210#line 1584
61211          __cil_tmp38 = (unsigned long )__cil_tmp37;
61212#line 1584
61213          __cil_tmp39 = __cil_tmp38 + 308;
61214#line 1584
61215          __cil_tmp40 = *((unsigned int *)__cil_tmp39);
61216#line 1584
61217          printk("<6>host%u: rport %6.6x: Received PLOGI too short\n", __cil_tmp40,
61218                 sid);
61219          }
61220#line 1584
61221          goto while_break___2;
61222        }
61223        while_break___2: /* CIL Label */ ;
61224        }
61225      } else {
61226
61227      }
61228#line 1584
61229      goto while_break___1;
61230    }
61231    while_break___1: /* CIL Label */ ;
61232    }
61233#line 1585
61234    __cil_tmp41 = & rjt_data;
61235#line 1585
61236    *((enum fc_els_rjt_reason *)__cil_tmp41) = (enum fc_els_rjt_reason )7;
61237#line 1586
61238    __cil_tmp42 = (unsigned long )(& rjt_data) + 4;
61239#line 1586
61240    *((enum fc_els_rjt_explan *)__cil_tmp42) = (enum fc_els_rjt_explan )45;
61241#line 1587
61242    goto reject;
61243  } else {
61244
61245  }
61246  {
61247#line 1590
61248  __cil_tmp43 = (unsigned long )lport;
61249#line 1590
61250  __cil_tmp44 = __cil_tmp43 + 56;
61251#line 1590
61252  disc = (struct fc_disc *)__cil_tmp44;
61253#line 1591
61254  __cil_tmp45 = (unsigned long )disc;
61255#line 1591
61256  __cil_tmp46 = __cil_tmp45 + 40;
61257#line 1591
61258  __cil_tmp47 = (struct mutex *)__cil_tmp46;
61259#line 1591
61260  mutex_lock(__cil_tmp47);
61261#line 1592
61262  __cil_tmp48 = 328 + 160;
61263#line 1592
61264  __cil_tmp49 = (unsigned long )lport;
61265#line 1592
61266  __cil_tmp50 = __cil_tmp49 + __cil_tmp48;
61267#line 1592
61268  __cil_tmp51 = *((struct fc_rport_priv *(**)(struct fc_lport * , u32  ))__cil_tmp50);
61269#line 1592
61270  rdata = (*__cil_tmp51)(lport, sid);
61271  }
61272#line 1593
61273  if (! rdata) {
61274    {
61275#line 1594
61276    __cil_tmp52 = (unsigned long )disc;
61277#line 1594
61278    __cil_tmp53 = __cil_tmp52 + 40;
61279#line 1594
61280    __cil_tmp54 = (struct mutex *)__cil_tmp53;
61281#line 1594
61282    mutex_unlock(__cil_tmp54);
61283#line 1595
61284    __cil_tmp55 = & rjt_data;
61285#line 1595
61286    *((enum fc_els_rjt_reason *)__cil_tmp55) = (enum fc_els_rjt_reason )9;
61287#line 1596
61288    __cil_tmp56 = (unsigned long )(& rjt_data) + 4;
61289#line 1596
61290    *((enum fc_els_rjt_explan *)__cil_tmp56) = (enum fc_els_rjt_explan )41;
61291    }
61292#line 1597
61293    goto reject;
61294  } else {
61295
61296  }
61297  {
61298#line 1600
61299  __cil_tmp57 = (unsigned long )rdata;
61300#line 1600
61301  __cil_tmp58 = __cil_tmp57 + 72;
61302#line 1600
61303  __cil_tmp59 = (struct mutex *)__cil_tmp58;
61304#line 1600
61305  mutex_lock(__cil_tmp59);
61306#line 1601
61307  __cil_tmp60 = (unsigned long )disc;
61308#line 1601
61309  __cil_tmp61 = __cil_tmp60 + 40;
61310#line 1601
61311  __cil_tmp62 = (struct mutex *)__cil_tmp61;
61312#line 1601
61313  mutex_unlock(__cil_tmp62);
61314#line 1603
61315  __cil_tmp63 = 24 + 8;
61316#line 1603
61317  __cil_tmp64 = (unsigned long )rdata;
61318#line 1603
61319  __cil_tmp65 = __cil_tmp64 + __cil_tmp63;
61320#line 1603
61321  __cil_tmp66 = (unsigned long )pl;
61322#line 1603
61323  __cil_tmp67 = __cil_tmp66 + 20;
61324#line 1603
61325  __cil_tmp68 = (__be64 *)__cil_tmp67;
61326#line 1603
61327  __cil_tmp69 = (void    *)__cil_tmp68;
61328#line 1603
61329  *((u64 *)__cil_tmp65) = get_unaligned_be64(__cil_tmp69);
61330#line 1604
61331  __cil_tmp70 = (unsigned long )rdata;
61332#line 1604
61333  __cil_tmp71 = __cil_tmp70 + 24;
61334#line 1604
61335  __cil_tmp72 = (unsigned long )pl;
61336#line 1604
61337  __cil_tmp73 = __cil_tmp72 + 28;
61338#line 1604
61339  __cil_tmp74 = (__be64 *)__cil_tmp73;
61340#line 1604
61341  __cil_tmp75 = (void    *)__cil_tmp74;
61342#line 1604
61343  *((u64 *)__cil_tmp71) = get_unaligned_be64(__cil_tmp75);
61344  }
61345  {
61346#line 1617
61347  __cil_tmp76 = (unsigned long )rdata;
61348#line 1617
61349  __cil_tmp77 = __cil_tmp76 + 20;
61350#line 1617
61351  __cil_tmp78 = *((enum fc_rport_state *)__cil_tmp77);
61352#line 1618
61353  if ((int )__cil_tmp78 == 0) {
61354#line 1618
61355    goto case_0;
61356  } else
61357#line 1621
61358  if ((int )__cil_tmp78 == 2) {
61359#line 1621
61360    goto case_2;
61361  } else
61362#line 1624
61363  if ((int )__cil_tmp78 == 3) {
61364#line 1624
61365    goto case_3;
61366  } else
61367#line 1633
61368  if ((int )__cil_tmp78 == 4) {
61369#line 1633
61370    goto case_4;
61371  } else
61372#line 1634
61373  if ((int )__cil_tmp78 == 5) {
61374#line 1634
61375    goto case_4;
61376  } else
61377#line 1635
61378  if ((int )__cil_tmp78 == 6) {
61379#line 1635
61380    goto case_4;
61381  } else
61382#line 1636
61383  if ((int )__cil_tmp78 == 7) {
61384#line 1636
61385    goto case_4;
61386  } else
61387#line 1641
61388  if ((int )__cil_tmp78 == 1) {
61389#line 1641
61390    goto case_1;
61391  } else
61392#line 1642
61393  if ((int )__cil_tmp78 == 8) {
61394#line 1642
61395    goto case_1;
61396  } else
61397#line 1617
61398  if (0) {
61399    case_0: /* CIL Label */ 
61400    {
61401#line 1619
61402    while (1) {
61403      while_continue___3: /* CIL Label */ ;
61404      {
61405#line 1619
61406      __cil_tmp79 = & fc_debug_logging;
61407#line 1619
61408      __cil_tmp80 = *__cil_tmp79;
61409#line 1619
61410      __cil_tmp81 = __cil_tmp80 & 8U;
61411#line 1619
61412      __cil_tmp82 = ! __cil_tmp81;
61413#line 1619
61414      __cil_tmp83 = ! __cil_tmp82;
61415#line 1619
61416      __cil_tmp84 = (long )__cil_tmp83;
61417#line 1619
61418      tmp___10 = __builtin_expect(__cil_tmp84, 0L);
61419      }
61420#line 1619
61421      if (tmp___10) {
61422        {
61423#line 1619
61424        while (1) {
61425          while_continue___4: /* CIL Label */ ;
61426          {
61427#line 1619
61428          __cil_tmp85 = *((struct fc_lport **)rdata);
61429#line 1619
61430          __cil_tmp86 = *((struct Scsi_Host **)__cil_tmp85);
61431#line 1619
61432          __cil_tmp87 = (unsigned long )__cil_tmp86;
61433#line 1619
61434          __cil_tmp88 = __cil_tmp87 + 308;
61435#line 1619
61436          __cil_tmp89 = *((unsigned int *)__cil_tmp88);
61437#line 1619
61438          __cil_tmp90 = 24 + 16;
61439#line 1619
61440          __cil_tmp91 = (unsigned long )rdata;
61441#line 1619
61442          __cil_tmp92 = __cil_tmp91 + __cil_tmp90;
61443#line 1619
61444          __cil_tmp93 = *((u32 *)__cil_tmp92);
61445#line 1619
61446          printk("<6>host%u: rport %6.6x: Received PLOGI in INIT state\n", __cil_tmp89,
61447                 __cil_tmp93);
61448          }
61449#line 1619
61450          goto while_break___4;
61451        }
61452        while_break___4: /* CIL Label */ ;
61453        }
61454      } else {
61455
61456      }
61457#line 1619
61458      goto while_break___3;
61459    }
61460    while_break___3: /* CIL Label */ ;
61461    }
61462#line 1620
61463    goto switch_break;
61464    case_2: /* CIL Label */ 
61465    {
61466#line 1622
61467    while (1) {
61468      while_continue___5: /* CIL Label */ ;
61469      {
61470#line 1622
61471      __cil_tmp94 = & fc_debug_logging;
61472#line 1622
61473      __cil_tmp95 = *__cil_tmp94;
61474#line 1622
61475      __cil_tmp96 = __cil_tmp95 & 8U;
61476#line 1622
61477      __cil_tmp97 = ! __cil_tmp96;
61478#line 1622
61479      __cil_tmp98 = ! __cil_tmp97;
61480#line 1622
61481      __cil_tmp99 = (long )__cil_tmp98;
61482#line 1622
61483      tmp___11 = __builtin_expect(__cil_tmp99, 0L);
61484      }
61485#line 1622
61486      if (tmp___11) {
61487        {
61488#line 1622
61489        while (1) {
61490          while_continue___6: /* CIL Label */ ;
61491          {
61492#line 1622
61493          __cil_tmp100 = *((struct fc_lport **)rdata);
61494#line 1622
61495          __cil_tmp101 = *((struct Scsi_Host **)__cil_tmp100);
61496#line 1622
61497          __cil_tmp102 = (unsigned long )__cil_tmp101;
61498#line 1622
61499          __cil_tmp103 = __cil_tmp102 + 308;
61500#line 1622
61501          __cil_tmp104 = *((unsigned int *)__cil_tmp103);
61502#line 1622
61503          __cil_tmp105 = 24 + 16;
61504#line 1622
61505          __cil_tmp106 = (unsigned long )rdata;
61506#line 1622
61507          __cil_tmp107 = __cil_tmp106 + __cil_tmp105;
61508#line 1622
61509          __cil_tmp108 = *((u32 *)__cil_tmp107);
61510#line 1622
61511          printk("<6>host%u: rport %6.6x: Received PLOGI in PLOGI_WAIT state\n", __cil_tmp104,
61512                 __cil_tmp108);
61513          }
61514#line 1622
61515          goto while_break___6;
61516        }
61517        while_break___6: /* CIL Label */ ;
61518        }
61519      } else {
61520
61521      }
61522#line 1622
61523      goto while_break___5;
61524    }
61525    while_break___5: /* CIL Label */ ;
61526    }
61527#line 1623
61528    goto switch_break;
61529    case_3: /* CIL Label */ 
61530    {
61531#line 1625
61532    while (1) {
61533      while_continue___7: /* CIL Label */ ;
61534      {
61535#line 1625
61536      __cil_tmp109 = & fc_debug_logging;
61537#line 1625
61538      __cil_tmp110 = *__cil_tmp109;
61539#line 1625
61540      __cil_tmp111 = __cil_tmp110 & 8U;
61541#line 1625
61542      __cil_tmp112 = ! __cil_tmp111;
61543#line 1625
61544      __cil_tmp113 = ! __cil_tmp112;
61545#line 1625
61546      __cil_tmp114 = (long )__cil_tmp113;
61547#line 1625
61548      tmp___12 = __builtin_expect(__cil_tmp114, 0L);
61549      }
61550#line 1625
61551      if (tmp___12) {
61552        {
61553#line 1625
61554        while (1) {
61555          while_continue___8: /* CIL Label */ ;
61556          {
61557#line 1625
61558          __cil_tmp115 = *((struct fc_lport **)rdata);
61559#line 1625
61560          __cil_tmp116 = *((struct Scsi_Host **)__cil_tmp115);
61561#line 1625
61562          __cil_tmp117 = (unsigned long )__cil_tmp116;
61563#line 1625
61564          __cil_tmp118 = __cil_tmp117 + 308;
61565#line 1625
61566          __cil_tmp119 = *((unsigned int *)__cil_tmp118);
61567#line 1625
61568          __cil_tmp120 = 24 + 16;
61569#line 1625
61570          __cil_tmp121 = (unsigned long )rdata;
61571#line 1625
61572          __cil_tmp122 = __cil_tmp121 + __cil_tmp120;
61573#line 1625
61574          __cil_tmp123 = *((u32 *)__cil_tmp122);
61575#line 1625
61576          printk("<6>host%u: rport %6.6x: Received PLOGI in PLOGI state\n", __cil_tmp119,
61577                 __cil_tmp123);
61578          }
61579#line 1625
61580          goto while_break___8;
61581        }
61582        while_break___8: /* CIL Label */ ;
61583        }
61584      } else {
61585
61586      }
61587#line 1625
61588      goto while_break___7;
61589    }
61590    while_break___7: /* CIL Label */ ;
61591    }
61592    {
61593#line 1626
61594    __cil_tmp124 = (unsigned long )lport;
61595#line 1626
61596    __cil_tmp125 = __cil_tmp124 + 792;
61597#line 1626
61598    __cil_tmp126 = *((u64 *)__cil_tmp125);
61599#line 1626
61600    __cil_tmp127 = 24 + 8;
61601#line 1626
61602    __cil_tmp128 = (unsigned long )rdata;
61603#line 1626
61604    __cil_tmp129 = __cil_tmp128 + __cil_tmp127;
61605#line 1626
61606    __cil_tmp130 = *((u64 *)__cil_tmp129);
61607#line 1626
61608    if (__cil_tmp130 < __cil_tmp126) {
61609      {
61610#line 1627
61611      __cil_tmp131 = (unsigned long )rdata;
61612#line 1627
61613      __cil_tmp132 = __cil_tmp131 + 72;
61614#line 1627
61615      __cil_tmp133 = (struct mutex *)__cil_tmp132;
61616#line 1627
61617      mutex_unlock(__cil_tmp133);
61618#line 1628
61619      __cil_tmp134 = & rjt_data;
61620#line 1628
61621      *((enum fc_els_rjt_reason *)__cil_tmp134) = (enum fc_els_rjt_reason )14;
61622#line 1629
61623      __cil_tmp135 = (unsigned long )(& rjt_data) + 4;
61624#line 1629
61625      *((enum fc_els_rjt_explan *)__cil_tmp135) = (enum fc_els_rjt_explan )0;
61626      }
61627#line 1630
61628      goto reject;
61629    } else {
61630
61631    }
61632    }
61633#line 1632
61634    goto switch_break;
61635    case_4: /* CIL Label */ 
61636    case_5: /* CIL Label */ 
61637    case_6: /* CIL Label */ 
61638    case_7: /* CIL Label */ 
61639    {
61640#line 1637
61641    while (1) {
61642      while_continue___9: /* CIL Label */ ;
61643      {
61644#line 1637
61645      __cil_tmp136 = & fc_debug_logging;
61646#line 1637
61647      __cil_tmp137 = *__cil_tmp136;
61648#line 1637
61649      __cil_tmp138 = __cil_tmp137 & 8U;
61650#line 1637
61651      __cil_tmp139 = ! __cil_tmp138;
61652#line 1637
61653      __cil_tmp140 = ! __cil_tmp139;
61654#line 1637
61655      __cil_tmp141 = (long )__cil_tmp140;
61656#line 1637
61657      tmp___13 = __builtin_expect(__cil_tmp141, 0L);
61658      }
61659#line 1637
61660      if (tmp___13) {
61661        {
61662#line 1637
61663        while (1) {
61664          while_continue___10: /* CIL Label */ ;
61665          {
61666#line 1637
61667          __cil_tmp142 = *((struct fc_lport **)rdata);
61668#line 1637
61669          __cil_tmp143 = *((struct Scsi_Host **)__cil_tmp142);
61670#line 1637
61671          __cil_tmp144 = (unsigned long )__cil_tmp143;
61672#line 1637
61673          __cil_tmp145 = __cil_tmp144 + 308;
61674#line 1637
61675          __cil_tmp146 = *((unsigned int *)__cil_tmp145);
61676#line 1637
61677          __cil_tmp147 = 24 + 16;
61678#line 1637
61679          __cil_tmp148 = (unsigned long )rdata;
61680#line 1637
61681          __cil_tmp149 = __cil_tmp148 + __cil_tmp147;
61682#line 1637
61683          __cil_tmp150 = *((u32 *)__cil_tmp149);
61684#line 1637
61685          __cil_tmp151 = (unsigned long )rdata;
61686#line 1637
61687          __cil_tmp152 = __cil_tmp151 + 20;
61688#line 1637
61689          __cil_tmp153 = *((enum fc_rport_state *)__cil_tmp152);
61690#line 1637
61691          __cil_tmp154 = (unsigned int )__cil_tmp153;
61692#line 1637
61693          printk("<6>host%u: rport %6.6x: Received PLOGI in logged-in state %d - ignored for now\n",
61694                 __cil_tmp146, __cil_tmp150, __cil_tmp154);
61695          }
61696#line 1637
61697          goto while_break___10;
61698        }
61699        while_break___10: /* CIL Label */ ;
61700        }
61701      } else {
61702
61703      }
61704#line 1637
61705      goto while_break___9;
61706    }
61707    while_break___9: /* CIL Label */ ;
61708    }
61709#line 1640
61710    goto switch_break;
61711    case_1: /* CIL Label */ 
61712    case_8: /* CIL Label */ 
61713    {
61714#line 1643
61715    while (1) {
61716      while_continue___11: /* CIL Label */ ;
61717      {
61718#line 1643
61719      __cil_tmp155 = & fc_debug_logging;
61720#line 1643
61721      __cil_tmp156 = *__cil_tmp155;
61722#line 1643
61723      __cil_tmp157 = __cil_tmp156 & 8U;
61724#line 1643
61725      __cil_tmp158 = ! __cil_tmp157;
61726#line 1643
61727      __cil_tmp159 = ! __cil_tmp158;
61728#line 1643
61729      __cil_tmp160 = (long )__cil_tmp159;
61730#line 1643
61731      tmp___15 = __builtin_expect(__cil_tmp160, 0L);
61732      }
61733#line 1643
61734      if (tmp___15) {
61735        {
61736#line 1643
61737        while (1) {
61738          while_continue___12: /* CIL Label */ ;
61739          {
61740#line 1643
61741          tmp___14 = fc_rport_state(rdata);
61742#line 1643
61743          __cil_tmp161 = *((struct fc_lport **)rdata);
61744#line 1643
61745          __cil_tmp162 = *((struct Scsi_Host **)__cil_tmp161);
61746#line 1643
61747          __cil_tmp163 = (unsigned long )__cil_tmp162;
61748#line 1643
61749          __cil_tmp164 = __cil_tmp163 + 308;
61750#line 1643
61751          __cil_tmp165 = *((unsigned int *)__cil_tmp164);
61752#line 1643
61753          __cil_tmp166 = 24 + 16;
61754#line 1643
61755          __cil_tmp167 = (unsigned long )rdata;
61756#line 1643
61757          __cil_tmp168 = __cil_tmp167 + __cil_tmp166;
61758#line 1643
61759          __cil_tmp169 = *((u32 *)__cil_tmp168);
61760#line 1643
61761          printk("<6>host%u: rport %6.6x: Received PLOGI in state %s - send busy\n",
61762                 __cil_tmp165, __cil_tmp169, tmp___14);
61763          }
61764#line 1643
61765          goto while_break___12;
61766        }
61767        while_break___12: /* CIL Label */ ;
61768        }
61769      } else {
61770
61771      }
61772#line 1643
61773      goto while_break___11;
61774    }
61775    while_break___11: /* CIL Label */ ;
61776    }
61777    {
61778#line 1645
61779    __cil_tmp170 = (unsigned long )rdata;
61780#line 1645
61781    __cil_tmp171 = __cil_tmp170 + 72;
61782#line 1645
61783    __cil_tmp172 = (struct mutex *)__cil_tmp171;
61784#line 1645
61785    mutex_unlock(__cil_tmp172);
61786#line 1646
61787    __cil_tmp173 = & rjt_data;
61788#line 1646
61789    *((enum fc_els_rjt_reason *)__cil_tmp173) = (enum fc_els_rjt_reason )5;
61790#line 1647
61791    __cil_tmp174 = (unsigned long )(& rjt_data) + 4;
61792#line 1647
61793    *((enum fc_els_rjt_explan *)__cil_tmp174) = (enum fc_els_rjt_explan )0;
61794    }
61795#line 1648
61796    goto reject;
61797  } else {
61798    switch_break: /* CIL Label */ ;
61799  }
61800  }
61801  {
61802#line 1654
61803  __cil_tmp175 = (unsigned long )lport;
61804#line 1654
61805  __cil_tmp176 = __cil_tmp175 + 876;
61806#line 1654
61807  __cil_tmp177 = *((u32 *)__cil_tmp176);
61808#line 1654
61809  tmp___16 = fc_plogi_get_maxframe(pl, __cil_tmp177);
61810#line 1654
61811  __cil_tmp178 = (unsigned long )rdata;
61812#line 1654
61813  __cil_tmp179 = __cil_tmp178 + 54;
61814#line 1654
61815  *((u16 *)__cil_tmp179) = (u16 )tmp___16;
61816#line 1659
61817  fp = fc_frame_alloc(lport, 116UL);
61818  }
61819#line 1660
61820  if (! fp) {
61821#line 1661
61822    goto out;
61823  } else {
61824
61825  }
61826  {
61827#line 1663
61828  fc_plogi_fill(lport, fp, 2U);
61829#line 1664
61830  __cil_tmp180 = (struct fc_frame    *)rx_fp;
61831#line 1664
61832  __cil_tmp181 = (enum fc_rctl )35;
61833#line 1664
61834  __cil_tmp182 = (u32 )0;
61835#line 1664
61836  fc_fill_reply_hdr(fp, __cil_tmp180, __cil_tmp181, __cil_tmp182);
61837#line 1665
61838  __cil_tmp183 = (unsigned long )lport;
61839#line 1665
61840  __cil_tmp184 = __cil_tmp183 + 328;
61841#line 1665
61842  __cil_tmp185 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp184);
61843#line 1665
61844  (*__cil_tmp185)(lport, fp);
61845#line 1666
61846  fc_rport_enter_prli(rdata);
61847  }
61848  out: 
61849  {
61850#line 1668
61851  __cil_tmp186 = (unsigned long )rdata;
61852#line 1668
61853  __cil_tmp187 = __cil_tmp186 + 72;
61854#line 1668
61855  __cil_tmp188 = (struct mutex *)__cil_tmp187;
61856#line 1668
61857  mutex_unlock(__cil_tmp188);
61858#line 1669
61859  fc_frame_free(rx_fp);
61860  }
61861#line 1670
61862  return;
61863  reject: 
61864  {
61865#line 1673
61866  __cil_tmp189 = 328 + 64;
61867#line 1673
61868  __cil_tmp190 = (unsigned long )lport;
61869#line 1673
61870  __cil_tmp191 = __cil_tmp190 + __cil_tmp189;
61871#line 1673
61872  __cil_tmp192 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp191);
61873#line 1673
61874  __cil_tmp193 = (enum fc_els_cmd )1;
61875#line 1673
61876  (*__cil_tmp192)(fp, __cil_tmp193, & rjt_data);
61877#line 1674
61878  fc_frame_free(fp);
61879  }
61880#line 1675
61881  return;
61882}
61883}
61884#line 1685 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
61885static void fc_rport_recv_prli_req(struct fc_rport_priv *rdata , struct fc_frame *rx_fp ) 
61886{ struct fc_lport *lport ;
61887  struct fc_frame *fp ;
61888  struct __anonstruct_pp_299 *pp ;
61889  struct fc_els_spp *rspp ;
61890  struct fc_els_spp *spp ;
61891  unsigned int len ;
61892  unsigned int plen ;
61893  enum fc_els_spp_resp resp ;
61894  enum fc_els_spp_resp passive ;
61895  struct fc_seq_els_data rjt_data ;
61896  struct fc4_prov *prov ;
61897  char    *tmp___7 ;
61898  long tmp___8 ;
61899  void *tmp___9 ;
61900  __u16 tmp___10 ;
61901  void *tmp___11 ;
61902  int __ret_warn_on ;
61903  long tmp___12 ;
61904  __u16 tmp___13 ;
61905  int tmp___14 ;
61906  int tmp___15 ;
61907  unsigned int *__cil_tmp24 ;
61908  unsigned int __cil_tmp25 ;
61909  unsigned int __cil_tmp26 ;
61910  int __cil_tmp27 ;
61911  int __cil_tmp28 ;
61912  long __cil_tmp29 ;
61913  struct fc_lport *__cil_tmp30 ;
61914  struct Scsi_Host *__cil_tmp31 ;
61915  unsigned long __cil_tmp32 ;
61916  unsigned long __cil_tmp33 ;
61917  unsigned int __cil_tmp34 ;
61918  unsigned long __cil_tmp35 ;
61919  unsigned long __cil_tmp36 ;
61920  unsigned long __cil_tmp37 ;
61921  u32 __cil_tmp38 ;
61922  unsigned long __cil_tmp39 ;
61923  unsigned long __cil_tmp40 ;
61924  unsigned long __cil_tmp41 ;
61925  unsigned int __cil_tmp42 ;
61926  unsigned long __cil_tmp43 ;
61927  unsigned long __cil_tmp44 ;
61928  struct fc_frame    *__cil_tmp45 ;
61929  unsigned long __cil_tmp46 ;
61930  unsigned long __cil_tmp47 ;
61931  unsigned long __cil_tmp48 ;
61932  __be16 __cil_tmp49 ;
61933  int __cil_tmp50 ;
61934  unsigned int __cil_tmp51 ;
61935  unsigned long __cil_tmp52 ;
61936  unsigned long __cil_tmp53 ;
61937  unsigned long __cil_tmp54 ;
61938  __u8 __cil_tmp55 ;
61939  unsigned int __cil_tmp56 ;
61940  unsigned long __cil_tmp57 ;
61941  unsigned long __cil_tmp58 ;
61942  unsigned long __cil_tmp59 ;
61943  unsigned long __cil_tmp60 ;
61944  size_t __cil_tmp61 ;
61945  struct fc_seq_els_data *__cil_tmp62 ;
61946  unsigned long __cil_tmp63 ;
61947  struct fc_frame    *__cil_tmp64 ;
61948  size_t __cil_tmp65 ;
61949  int __cil_tmp66 ;
61950  int __cil_tmp67 ;
61951  int __cil_tmp68 ;
61952  int __cil_tmp69 ;
61953  long __cil_tmp70 ;
61954  int    __cil_tmp71 ;
61955  int __cil_tmp72 ;
61956  int __cil_tmp73 ;
61957  long __cil_tmp74 ;
61958  void *__cil_tmp75 ;
61959  size_t __cil_tmp76 ;
61960  unsigned long __cil_tmp77 ;
61961  unsigned long __cil_tmp78 ;
61962  unsigned long __cil_tmp79 ;
61963  __u16 __cil_tmp80 ;
61964  unsigned long __cil_tmp81 ;
61965  unsigned long __cil_tmp82 ;
61966  unsigned long __cil_tmp83 ;
61967  int __cil_tmp84 ;
61968  unsigned long __cil_tmp85 ;
61969  unsigned long __cil_tmp86 ;
61970  unsigned long __cil_tmp87 ;
61971  unsigned long __cil_tmp88 ;
61972  unsigned long __cil_tmp89 ;
61973  unsigned long __cil_tmp90 ;
61974  unsigned long __cil_tmp91 ;
61975  unsigned long __cil_tmp92 ;
61976  unsigned long __cil_tmp93 ;
61977  unsigned long __cil_tmp94 ;
61978  __u8 __cil_tmp95 ;
61979  int __cil_tmp96 ;
61980  __u8 __cil_tmp97 ;
61981  unsigned long __cil_tmp98 ;
61982  unsigned long __cil_tmp99 ;
61983  int (*__cil_tmp100)(struct fc_rport_priv * , u32 spp_len , struct fc_els_spp    *spp_in ,
61984                      struct fc_els_spp *spp_out ) ;
61985  struct fc_els_spp    *__cil_tmp101 ;
61986  __u8 __cil_tmp102 ;
61987  unsigned long __cil_tmp103 ;
61988  unsigned long __cil_tmp104 ;
61989  int (*__cil_tmp105)(struct fc_rport_priv * , u32 spp_len , struct fc_els_spp    *spp_in ,
61990                      struct fc_els_spp *spp_out ) ;
61991  struct fc_els_spp    *__cil_tmp106 ;
61992  unsigned int __cil_tmp107 ;
61993  unsigned long __cil_tmp108 ;
61994  unsigned long __cil_tmp109 ;
61995  __u8 __cil_tmp110 ;
61996  int __cil_tmp111 ;
61997  unsigned int __cil_tmp112 ;
61998  unsigned int __cil_tmp113 ;
61999  unsigned int __cil_tmp114 ;
62000  unsigned int __cil_tmp115 ;
62001  unsigned long __cil_tmp116 ;
62002  unsigned long __cil_tmp117 ;
62003  unsigned int __cil_tmp118 ;
62004  unsigned long __cil_tmp119 ;
62005  unsigned long __cil_tmp120 ;
62006  __u8 __cil_tmp121 ;
62007  unsigned int __cil_tmp122 ;
62008  unsigned int __cil_tmp123 ;
62009  char *__cil_tmp124 ;
62010  char *__cil_tmp125 ;
62011  char *__cil_tmp126 ;
62012  char *__cil_tmp127 ;
62013  struct fc_frame    *__cil_tmp128 ;
62014  enum fc_rctl __cil_tmp129 ;
62015  u32 __cil_tmp130 ;
62016  unsigned long __cil_tmp131 ;
62017  unsigned long __cil_tmp132 ;
62018  int (*__cil_tmp133)(struct fc_lport * , struct fc_frame * ) ;
62019  unsigned long __cil_tmp134 ;
62020  unsigned long __cil_tmp135 ;
62021  enum fc_rport_state __cil_tmp136 ;
62022  struct fc_seq_els_data *__cil_tmp137 ;
62023  unsigned long __cil_tmp138 ;
62024  unsigned long __cil_tmp139 ;
62025  unsigned long __cil_tmp140 ;
62026  unsigned long __cil_tmp141 ;
62027  void (*__cil_tmp142)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
62028  enum fc_els_cmd __cil_tmp143 ;
62029
62030  {
62031#line 1688
62032  lport = *((struct fc_lport **)rdata);
62033  {
62034#line 1703
62035  while (1) {
62036    while_continue: /* CIL Label */ ;
62037    {
62038#line 1703
62039    __cil_tmp24 = & fc_debug_logging;
62040#line 1703
62041    __cil_tmp25 = *__cil_tmp24;
62042#line 1703
62043    __cil_tmp26 = __cil_tmp25 & 8U;
62044#line 1703
62045    __cil_tmp27 = ! __cil_tmp26;
62046#line 1703
62047    __cil_tmp28 = ! __cil_tmp27;
62048#line 1703
62049    __cil_tmp29 = (long )__cil_tmp28;
62050#line 1703
62051    tmp___8 = __builtin_expect(__cil_tmp29, 0L);
62052    }
62053#line 1703
62054    if (tmp___8) {
62055      {
62056#line 1703
62057      while (1) {
62058        while_continue___0: /* CIL Label */ ;
62059        {
62060#line 1703
62061        tmp___7 = fc_rport_state(rdata);
62062#line 1703
62063        __cil_tmp30 = *((struct fc_lport **)rdata);
62064#line 1703
62065        __cil_tmp31 = *((struct Scsi_Host **)__cil_tmp30);
62066#line 1703
62067        __cil_tmp32 = (unsigned long )__cil_tmp31;
62068#line 1703
62069        __cil_tmp33 = __cil_tmp32 + 308;
62070#line 1703
62071        __cil_tmp34 = *((unsigned int *)__cil_tmp33);
62072#line 1703
62073        __cil_tmp35 = 24 + 16;
62074#line 1703
62075        __cil_tmp36 = (unsigned long )rdata;
62076#line 1703
62077        __cil_tmp37 = __cil_tmp36 + __cil_tmp35;
62078#line 1703
62079        __cil_tmp38 = *((u32 *)__cil_tmp37);
62080#line 1703
62081        printk("<6>host%u: rport %6.6x: Received PRLI request while in state %s\n",
62082               __cil_tmp34, __cil_tmp38, tmp___7);
62083        }
62084#line 1703
62085        goto while_break___0;
62086      }
62087      while_break___0: /* CIL Label */ ;
62088      }
62089    } else {
62090
62091    }
62092#line 1703
62093    goto while_break;
62094  }
62095  while_break: /* CIL Label */ ;
62096  }
62097  {
62098#line 1706
62099  __cil_tmp39 = 0 + 104;
62100#line 1706
62101  __cil_tmp40 = (unsigned long )rx_fp;
62102#line 1706
62103  __cil_tmp41 = __cil_tmp40 + __cil_tmp39;
62104#line 1706
62105  __cil_tmp42 = *((unsigned int *)__cil_tmp41);
62106#line 1706
62107  __cil_tmp43 = (unsigned long )__cil_tmp42;
62108#line 1706
62109  __cil_tmp44 = __cil_tmp43 - 24UL;
62110#line 1706
62111  len = (unsigned int )__cil_tmp44;
62112#line 1707
62113  __cil_tmp45 = (struct fc_frame    *)rx_fp;
62114#line 1707
62115  tmp___9 = fc_frame_payload_get(__cil_tmp45, 20UL);
62116#line 1707
62117  pp = (struct __anonstruct_pp_299 *)tmp___9;
62118  }
62119#line 1708
62120  if (! pp) {
62121#line 1709
62122    goto reject_len;
62123  } else {
62124
62125  }
62126  {
62127#line 1710
62128  __cil_tmp46 = 0 + 2;
62129#line 1710
62130  __cil_tmp47 = (unsigned long )pp;
62131#line 1710
62132  __cil_tmp48 = __cil_tmp47 + __cil_tmp46;
62133#line 1710
62134  __cil_tmp49 = *((__be16 *)__cil_tmp48);
62135#line 1710
62136  tmp___10 = __fswab16(__cil_tmp49);
62137#line 1710
62138  __cil_tmp50 = (int )tmp___10;
62139#line 1710
62140  plen = (unsigned int )__cil_tmp50;
62141  }
62142  {
62143#line 1711
62144  __cil_tmp51 = plen % 4U;
62145#line 1711
62146  if (__cil_tmp51 != 0U) {
62147#line 1712
62148    goto reject_len;
62149  } else
62150#line 1711
62151  if (plen > len) {
62152#line 1712
62153    goto reject_len;
62154  } else
62155#line 1711
62156  if (plen < 16U) {
62157#line 1712
62158    goto reject_len;
62159  } else {
62160
62161  }
62162  }
62163#line 1713
62164  if (plen < len) {
62165#line 1714
62166    len = plen;
62167  } else {
62168
62169  }
62170#line 1715
62171  __cil_tmp52 = 0 + 1;
62172#line 1715
62173  __cil_tmp53 = (unsigned long )pp;
62174#line 1715
62175  __cil_tmp54 = __cil_tmp53 + __cil_tmp52;
62176#line 1715
62177  __cil_tmp55 = *((__u8 *)__cil_tmp54);
62178#line 1715
62179  plen = (unsigned int )__cil_tmp55;
62180  {
62181#line 1716
62182  __cil_tmp56 = plen % 4U;
62183#line 1716
62184  if (__cil_tmp56 != 0U) {
62185#line 1718
62186    goto reject_len;
62187  } else {
62188    {
62189#line 1716
62190    __cil_tmp57 = (unsigned long )plen;
62191#line 1716
62192    if (__cil_tmp57 < 16UL) {
62193#line 1718
62194      goto reject_len;
62195    } else
62196#line 1716
62197    if (plen > len) {
62198#line 1718
62199      goto reject_len;
62200    } else {
62201      {
62202#line 1716
62203      __cil_tmp58 = (unsigned long )len;
62204#line 1716
62205      if (__cil_tmp58 < 20UL) {
62206#line 1718
62207        goto reject_len;
62208      } else
62209#line 1716
62210      if (plen < 12U) {
62211#line 1718
62212        goto reject_len;
62213      } else {
62214
62215      }
62216      }
62217    }
62218    }
62219  }
62220  }
62221  {
62222#line 1719
62223  __cil_tmp59 = (unsigned long )pp;
62224#line 1719
62225  __cil_tmp60 = __cil_tmp59 + 4;
62226#line 1719
62227  rspp = (struct fc_els_spp *)__cil_tmp60;
62228#line 1721
62229  __cil_tmp61 = (size_t )len;
62230#line 1721
62231  fp = fc_frame_alloc(lport, __cil_tmp61);
62232  }
62233#line 1722
62234  if (! fp) {
62235#line 1723
62236    __cil_tmp62 = & rjt_data;
62237#line 1723
62238    *((enum fc_els_rjt_reason *)__cil_tmp62) = (enum fc_els_rjt_reason )9;
62239#line 1724
62240    __cil_tmp63 = (unsigned long )(& rjt_data) + 4;
62241#line 1724
62242    *((enum fc_els_rjt_explan *)__cil_tmp63) = (enum fc_els_rjt_explan )41;
62243#line 1725
62244    goto reject;
62245  } else {
62246
62247  }
62248  {
62249#line 1727
62250  __cil_tmp64 = (struct fc_frame    *)fp;
62251#line 1727
62252  __cil_tmp65 = (size_t )len;
62253#line 1727
62254  tmp___11 = fc_frame_payload_get(__cil_tmp64, __cil_tmp65);
62255#line 1727
62256  pp = (struct __anonstruct_pp_299 *)tmp___11;
62257#line 1728
62258  __cil_tmp66 = ! pp;
62259#line 1728
62260  __cil_tmp67 = ! __cil_tmp66;
62261#line 1728
62262  __ret_warn_on = ! __cil_tmp67;
62263#line 1728
62264  __cil_tmp68 = ! __ret_warn_on;
62265#line 1728
62266  __cil_tmp69 = ! __cil_tmp68;
62267#line 1728
62268  __cil_tmp70 = (long )__cil_tmp69;
62269#line 1728
62270  tmp___12 = __builtin_expect(__cil_tmp70, 0L);
62271  }
62272#line 1728
62273  if (tmp___12) {
62274    {
62275#line 1728
62276    __cil_tmp71 = (int    )1728;
62277#line 1728
62278    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c",
62279                       __cil_tmp71);
62280    }
62281  } else {
62282
62283  }
62284  {
62285#line 1728
62286  __cil_tmp72 = ! __ret_warn_on;
62287#line 1728
62288  __cil_tmp73 = ! __cil_tmp72;
62289#line 1728
62290  __cil_tmp74 = (long )__cil_tmp73;
62291#line 1728
62292  __builtin_expect(__cil_tmp74, 0L);
62293#line 1729
62294  __cil_tmp75 = (void *)pp;
62295#line 1729
62296  __cil_tmp76 = (size_t )len;
62297#line 1729
62298  memset(__cil_tmp75, 0, __cil_tmp76);
62299#line 1730
62300  *((__u8 *)pp) = (__u8 )2;
62301#line 1731
62302  __cil_tmp77 = 0 + 1;
62303#line 1731
62304  __cil_tmp78 = (unsigned long )pp;
62305#line 1731
62306  __cil_tmp79 = __cil_tmp78 + __cil_tmp77;
62307#line 1731
62308  *((__u8 *)__cil_tmp79) = (__u8 )plen;
62309#line 1732
62310  __cil_tmp80 = (__u16 )len;
62311#line 1732
62312  tmp___13 = __fswab16(__cil_tmp80);
62313#line 1732
62314  __cil_tmp81 = 0 + 2;
62315#line 1732
62316  __cil_tmp82 = (unsigned long )pp;
62317#line 1732
62318  __cil_tmp83 = __cil_tmp82 + __cil_tmp81;
62319#line 1732
62320  __cil_tmp84 = (int )tmp___13;
62321#line 1732
62322  *((__be16 *)__cil_tmp83) = (__be16 )__cil_tmp84;
62323#line 1733
62324  __cil_tmp85 = (unsigned long )len;
62325#line 1733
62326  __cil_tmp86 = __cil_tmp85 - 4UL;
62327#line 1733
62328  len = (unsigned int )__cil_tmp86;
62329#line 1740
62330  __cil_tmp87 = (unsigned long )pp;
62331#line 1740
62332  __cil_tmp88 = __cil_tmp87 + 4;
62333#line 1740
62334  spp = (struct fc_els_spp *)__cil_tmp88;
62335#line 1741
62336  mutex_lock(& fc_prov_mutex);
62337  }
62338  {
62339#line 1742
62340  while (1) {
62341    while_continue___1: /* CIL Label */ ;
62342#line 1742
62343    if (len >= plen) {
62344
62345    } else {
62346#line 1742
62347      goto while_break___1;
62348    }
62349#line 1743
62350    __cil_tmp89 = (unsigned long )rdata;
62351#line 1743
62352    __cil_tmp90 = __cil_tmp89 + 346;
62353#line 1743
62354    *((u8 *)__cil_tmp90) = *((__u8 *)rspp);
62355#line 1744
62356    *((__u8 *)spp) = *((__u8 *)rspp);
62357#line 1745
62358    __cil_tmp91 = (unsigned long )spp;
62359#line 1745
62360    __cil_tmp92 = __cil_tmp91 + 1;
62361#line 1745
62362    __cil_tmp93 = (unsigned long )rspp;
62363#line 1745
62364    __cil_tmp94 = __cil_tmp93 + 1;
62365#line 1745
62366    *((__u8 *)__cil_tmp92) = *((__u8 *)__cil_tmp94);
62367#line 1746
62368    resp = (enum fc_els_spp_resp )0;
62369    {
62370#line 1748
62371    __cil_tmp95 = *((__u8 *)rspp);
62372#line 1748
62373    __cil_tmp96 = (int )__cil_tmp95;
62374#line 1748
62375    if (__cil_tmp96 < 9) {
62376#line 1749
62377      __cil_tmp97 = *((__u8 *)rspp);
62378#line 1749
62379      __cil_tmp98 = __cil_tmp97 * 8UL;
62380#line 1749
62381      __cil_tmp99 = (unsigned long )(fc_active_prov) + __cil_tmp98;
62382#line 1749
62383      prov = *((struct fc4_prov **)__cil_tmp99);
62384#line 1750
62385      if (prov) {
62386        {
62387#line 1751
62388        __cil_tmp100 = *((int (**)(struct fc_rport_priv * , u32 spp_len , struct fc_els_spp    *spp_in ,
62389                                   struct fc_els_spp *spp_out ))prov);
62390#line 1751
62391        __cil_tmp101 = (struct fc_els_spp    *)rspp;
62392#line 1751
62393        tmp___14 = (*__cil_tmp100)(rdata, plen, __cil_tmp101, spp);
62394#line 1751
62395        resp = (enum fc_els_spp_resp )tmp___14;
62396        }
62397      } else {
62398
62399      }
62400#line 1752
62401      __cil_tmp102 = *((__u8 *)rspp);
62402#line 1752
62403      __cil_tmp103 = __cil_tmp102 * 8UL;
62404#line 1752
62405      __cil_tmp104 = (unsigned long )(fc_passive_prov) + __cil_tmp103;
62406#line 1752
62407      prov = *((struct fc4_prov **)__cil_tmp104);
62408#line 1753
62409      if (prov) {
62410        {
62411#line 1754
62412        __cil_tmp105 = *((int (**)(struct fc_rport_priv * , u32 spp_len , struct fc_els_spp    *spp_in ,
62413                                   struct fc_els_spp *spp_out ))prov);
62414#line 1754
62415        __cil_tmp106 = (struct fc_els_spp    *)rspp;
62416#line 1754
62417        tmp___15 = (*__cil_tmp105)(rdata, plen, __cil_tmp106, spp);
62418#line 1754
62419        passive = (enum fc_els_spp_resp )tmp___15;
62420        }
62421#line 1755
62422        if (! resp) {
62423#line 1756
62424          resp = passive;
62425        } else {
62426          {
62427#line 1755
62428          __cil_tmp107 = (unsigned int )passive;
62429#line 1755
62430          if (__cil_tmp107 == 1U) {
62431#line 1756
62432            resp = passive;
62433          } else {
62434
62435          }
62436          }
62437        }
62438      } else {
62439
62440      }
62441    } else {
62442
62443    }
62444    }
62445#line 1759
62446    if (! resp) {
62447      {
62448#line 1760
62449      __cil_tmp108 = (unsigned long )spp;
62450#line 1760
62451      __cil_tmp109 = __cil_tmp108 + 2;
62452#line 1760
62453      __cil_tmp110 = *((__u8 *)__cil_tmp109);
62454#line 1760
62455      __cil_tmp111 = (int )__cil_tmp110;
62456#line 1760
62457      if (__cil_tmp111 & 32) {
62458#line 1761
62459        __cil_tmp112 = (unsigned int )resp;
62460#line 1761
62461        __cil_tmp113 = __cil_tmp112 | 5U;
62462#line 1761
62463        resp = (enum fc_els_spp_resp )__cil_tmp113;
62464      } else {
62465#line 1763
62466        __cil_tmp114 = (unsigned int )resp;
62467#line 1763
62468        __cil_tmp115 = __cil_tmp114 | 8U;
62469#line 1763
62470        resp = (enum fc_els_spp_resp )__cil_tmp115;
62471      }
62472      }
62473    } else {
62474
62475    }
62476#line 1765
62477    __cil_tmp116 = (unsigned long )spp;
62478#line 1765
62479    __cil_tmp117 = __cil_tmp116 + 2;
62480#line 1765
62481    __cil_tmp118 = (unsigned int )resp;
62482#line 1765
62483    __cil_tmp119 = (unsigned long )spp;
62484#line 1765
62485    __cil_tmp120 = __cil_tmp119 + 2;
62486#line 1765
62487    __cil_tmp121 = *((__u8 *)__cil_tmp120);
62488#line 1765
62489    __cil_tmp122 = (unsigned int )__cil_tmp121;
62490#line 1765
62491    __cil_tmp123 = __cil_tmp122 | __cil_tmp118;
62492#line 1765
62493    *((__u8 *)__cil_tmp117) = (__u8 )__cil_tmp123;
62494#line 1766
62495    len = len - plen;
62496#line 1767
62497    __cil_tmp124 = (char *)rspp;
62498#line 1767
62499    __cil_tmp125 = __cil_tmp124 + plen;
62500#line 1767
62501    rspp = (struct fc_els_spp *)__cil_tmp125;
62502#line 1768
62503    __cil_tmp126 = (char *)spp;
62504#line 1768
62505    __cil_tmp127 = __cil_tmp126 + plen;
62506#line 1768
62507    spp = (struct fc_els_spp *)__cil_tmp127;
62508  }
62509  while_break___1: /* CIL Label */ ;
62510  }
62511  {
62512#line 1770
62513  mutex_unlock(& fc_prov_mutex);
62514#line 1775
62515  __cil_tmp128 = (struct fc_frame    *)rx_fp;
62516#line 1775
62517  __cil_tmp129 = (enum fc_rctl )35;
62518#line 1775
62519  __cil_tmp130 = (u32 )0;
62520#line 1775
62521  fc_fill_reply_hdr(fp, __cil_tmp128, __cil_tmp129, __cil_tmp130);
62522#line 1776
62523  __cil_tmp131 = (unsigned long )lport;
62524#line 1776
62525  __cil_tmp132 = __cil_tmp131 + 328;
62526#line 1776
62527  __cil_tmp133 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp132);
62528#line 1776
62529  (*__cil_tmp133)(lport, fp);
62530  }
62531  {
62532#line 1778
62533  __cil_tmp134 = (unsigned long )rdata;
62534#line 1778
62535  __cil_tmp135 = __cil_tmp134 + 20;
62536#line 1778
62537  __cil_tmp136 = *((enum fc_rport_state *)__cil_tmp135);
62538#line 1779
62539  if ((int )__cil_tmp136 == 4) {
62540#line 1779
62541    goto case_4;
62542  } else {
62543    {
62544#line 1782
62545    goto switch_default;
62546#line 1778
62547    if (0) {
62548      case_4: /* CIL Label */ 
62549      {
62550#line 1780
62551      fc_rport_enter_ready(rdata);
62552      }
62553#line 1781
62554      goto switch_break;
62555      switch_default: /* CIL Label */ 
62556#line 1783
62557      goto switch_break;
62558    } else {
62559      switch_break: /* CIL Label */ ;
62560    }
62561    }
62562  }
62563  }
62564#line 1785
62565  goto drop;
62566  reject_len: 
62567#line 1788
62568  __cil_tmp137 = & rjt_data;
62569#line 1788
62570  *((enum fc_els_rjt_reason *)__cil_tmp137) = (enum fc_els_rjt_reason )7;
62571#line 1789
62572  __cil_tmp138 = (unsigned long )(& rjt_data) + 4;
62573#line 1789
62574  *((enum fc_els_rjt_explan *)__cil_tmp138) = (enum fc_els_rjt_explan )45;
62575  reject: 
62576  {
62577#line 1791
62578  __cil_tmp139 = 328 + 64;
62579#line 1791
62580  __cil_tmp140 = (unsigned long )lport;
62581#line 1791
62582  __cil_tmp141 = __cil_tmp140 + __cil_tmp139;
62583#line 1791
62584  __cil_tmp142 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp141);
62585#line 1791
62586  __cil_tmp143 = (enum fc_els_cmd )1;
62587#line 1791
62588  (*__cil_tmp142)(rx_fp, __cil_tmp143, & rjt_data);
62589  }
62590  drop: 
62591  {
62592#line 1793
62593  fc_frame_free(rx_fp);
62594  }
62595#line 1794
62596  return;
62597}
62598}
62599#line 1804 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
62600static void fc_rport_recv_prlo_req(struct fc_rport_priv *rdata , struct fc_frame *rx_fp ) 
62601{ struct fc_lport *lport ;
62602  struct fc_frame *fp ;
62603  struct __anonstruct_pp_300 *pp ;
62604  struct fc_els_spp *rspp ;
62605  struct fc_els_spp *spp ;
62606  unsigned int len ;
62607  unsigned int plen ;
62608  struct fc_seq_els_data rjt_data ;
62609  char    *tmp___7 ;
62610  long tmp___8 ;
62611  void *tmp___9 ;
62612  __u16 tmp___10 ;
62613  void *tmp___11 ;
62614  int __ret_warn_on ;
62615  long tmp___12 ;
62616  __u16 tmp___13 ;
62617  unsigned int *__cil_tmp19 ;
62618  unsigned int __cil_tmp20 ;
62619  unsigned int __cil_tmp21 ;
62620  int __cil_tmp22 ;
62621  int __cil_tmp23 ;
62622  long __cil_tmp24 ;
62623  struct fc_lport *__cil_tmp25 ;
62624  struct Scsi_Host *__cil_tmp26 ;
62625  unsigned long __cil_tmp27 ;
62626  unsigned long __cil_tmp28 ;
62627  unsigned int __cil_tmp29 ;
62628  unsigned long __cil_tmp30 ;
62629  unsigned long __cil_tmp31 ;
62630  unsigned long __cil_tmp32 ;
62631  u32 __cil_tmp33 ;
62632  unsigned long __cil_tmp34 ;
62633  unsigned long __cil_tmp35 ;
62634  unsigned long __cil_tmp36 ;
62635  unsigned int __cil_tmp37 ;
62636  unsigned long __cil_tmp38 ;
62637  unsigned long __cil_tmp39 ;
62638  struct fc_frame    *__cil_tmp40 ;
62639  unsigned long __cil_tmp41 ;
62640  unsigned long __cil_tmp42 ;
62641  unsigned long __cil_tmp43 ;
62642  __be16 __cil_tmp44 ;
62643  int __cil_tmp45 ;
62644  unsigned long __cil_tmp46 ;
62645  unsigned long __cil_tmp47 ;
62646  size_t __cil_tmp48 ;
62647  struct fc_seq_els_data *__cil_tmp49 ;
62648  unsigned long __cil_tmp50 ;
62649  struct fc_frame    *__cil_tmp51 ;
62650  size_t __cil_tmp52 ;
62651  int __cil_tmp53 ;
62652  int __cil_tmp54 ;
62653  int __cil_tmp55 ;
62654  int __cil_tmp56 ;
62655  long __cil_tmp57 ;
62656  int    __cil_tmp58 ;
62657  int __cil_tmp59 ;
62658  int __cil_tmp60 ;
62659  long __cil_tmp61 ;
62660  void *__cil_tmp62 ;
62661  size_t __cil_tmp63 ;
62662  unsigned long __cil_tmp64 ;
62663  unsigned long __cil_tmp65 ;
62664  unsigned long __cil_tmp66 ;
62665  __u16 __cil_tmp67 ;
62666  unsigned long __cil_tmp68 ;
62667  unsigned long __cil_tmp69 ;
62668  unsigned long __cil_tmp70 ;
62669  int __cil_tmp71 ;
62670  unsigned long __cil_tmp72 ;
62671  unsigned long __cil_tmp73 ;
62672  unsigned long __cil_tmp74 ;
62673  unsigned long __cil_tmp75 ;
62674  unsigned long __cil_tmp76 ;
62675  unsigned long __cil_tmp77 ;
62676  unsigned long __cil_tmp78 ;
62677  unsigned long __cil_tmp79 ;
62678  enum fc_rport_event __cil_tmp80 ;
62679  struct fc_frame    *__cil_tmp81 ;
62680  enum fc_rctl __cil_tmp82 ;
62681  u32 __cil_tmp83 ;
62682  unsigned long __cil_tmp84 ;
62683  unsigned long __cil_tmp85 ;
62684  int (*__cil_tmp86)(struct fc_lport * , struct fc_frame * ) ;
62685  struct fc_seq_els_data *__cil_tmp87 ;
62686  unsigned long __cil_tmp88 ;
62687  unsigned long __cil_tmp89 ;
62688  unsigned long __cil_tmp90 ;
62689  unsigned long __cil_tmp91 ;
62690  void (*__cil_tmp92)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
62691  enum fc_els_cmd __cil_tmp93 ;
62692
62693  {
62694#line 1807
62695  lport = *((struct fc_lport **)rdata);
62696  {
62697#line 1819
62698  while (1) {
62699    while_continue: /* CIL Label */ ;
62700    {
62701#line 1819
62702    __cil_tmp19 = & fc_debug_logging;
62703#line 1819
62704    __cil_tmp20 = *__cil_tmp19;
62705#line 1819
62706    __cil_tmp21 = __cil_tmp20 & 8U;
62707#line 1819
62708    __cil_tmp22 = ! __cil_tmp21;
62709#line 1819
62710    __cil_tmp23 = ! __cil_tmp22;
62711#line 1819
62712    __cil_tmp24 = (long )__cil_tmp23;
62713#line 1819
62714    tmp___8 = __builtin_expect(__cil_tmp24, 0L);
62715    }
62716#line 1819
62717    if (tmp___8) {
62718      {
62719#line 1819
62720      while (1) {
62721        while_continue___0: /* CIL Label */ ;
62722        {
62723#line 1819
62724        tmp___7 = fc_rport_state(rdata);
62725#line 1819
62726        __cil_tmp25 = *((struct fc_lport **)rdata);
62727#line 1819
62728        __cil_tmp26 = *((struct Scsi_Host **)__cil_tmp25);
62729#line 1819
62730        __cil_tmp27 = (unsigned long )__cil_tmp26;
62731#line 1819
62732        __cil_tmp28 = __cil_tmp27 + 308;
62733#line 1819
62734        __cil_tmp29 = *((unsigned int *)__cil_tmp28);
62735#line 1819
62736        __cil_tmp30 = 24 + 16;
62737#line 1819
62738        __cil_tmp31 = (unsigned long )rdata;
62739#line 1819
62740        __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
62741#line 1819
62742        __cil_tmp33 = *((u32 *)__cil_tmp32);
62743#line 1819
62744        printk("<6>host%u: rport %6.6x: Received PRLO request while in state %s\n",
62745               __cil_tmp29, __cil_tmp33, tmp___7);
62746        }
62747#line 1819
62748        goto while_break___0;
62749      }
62750      while_break___0: /* CIL Label */ ;
62751      }
62752    } else {
62753
62754    }
62755#line 1819
62756    goto while_break;
62757  }
62758  while_break: /* CIL Label */ ;
62759  }
62760  {
62761#line 1822
62762  __cil_tmp34 = 0 + 104;
62763#line 1822
62764  __cil_tmp35 = (unsigned long )rx_fp;
62765#line 1822
62766  __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
62767#line 1822
62768  __cil_tmp37 = *((unsigned int *)__cil_tmp36);
62769#line 1822
62770  __cil_tmp38 = (unsigned long )__cil_tmp37;
62771#line 1822
62772  __cil_tmp39 = __cil_tmp38 - 24UL;
62773#line 1822
62774  len = (unsigned int )__cil_tmp39;
62775#line 1823
62776  __cil_tmp40 = (struct fc_frame    *)rx_fp;
62777#line 1823
62778  tmp___9 = fc_frame_payload_get(__cil_tmp40, 20UL);
62779#line 1823
62780  pp = (struct __anonstruct_pp_300 *)tmp___9;
62781  }
62782#line 1824
62783  if (! pp) {
62784#line 1825
62785    goto reject_len;
62786  } else {
62787
62788  }
62789  {
62790#line 1826
62791  __cil_tmp41 = 0 + 2;
62792#line 1826
62793  __cil_tmp42 = (unsigned long )pp;
62794#line 1826
62795  __cil_tmp43 = __cil_tmp42 + __cil_tmp41;
62796#line 1826
62797  __cil_tmp44 = *((__be16 *)__cil_tmp43);
62798#line 1826
62799  tmp___10 = __fswab16(__cil_tmp44);
62800#line 1826
62801  __cil_tmp45 = (int )tmp___10;
62802#line 1826
62803  plen = (unsigned int )__cil_tmp45;
62804  }
62805#line 1827
62806  if (plen != 20U) {
62807#line 1828
62808    goto reject_len;
62809  } else {
62810
62811  }
62812#line 1829
62813  if (plen < len) {
62814#line 1830
62815    len = plen;
62816  } else {
62817
62818  }
62819  {
62820#line 1832
62821  __cil_tmp46 = (unsigned long )pp;
62822#line 1832
62823  __cil_tmp47 = __cil_tmp46 + 4;
62824#line 1832
62825  rspp = (struct fc_els_spp *)__cil_tmp47;
62826#line 1834
62827  __cil_tmp48 = (size_t )len;
62828#line 1834
62829  fp = fc_frame_alloc(lport, __cil_tmp48);
62830  }
62831#line 1835
62832  if (! fp) {
62833#line 1836
62834    __cil_tmp49 = & rjt_data;
62835#line 1836
62836    *((enum fc_els_rjt_reason *)__cil_tmp49) = (enum fc_els_rjt_reason )9;
62837#line 1837
62838    __cil_tmp50 = (unsigned long )(& rjt_data) + 4;
62839#line 1837
62840    *((enum fc_els_rjt_explan *)__cil_tmp50) = (enum fc_els_rjt_explan )41;
62841#line 1838
62842    goto reject;
62843  } else {
62844
62845  }
62846  {
62847#line 1841
62848  __cil_tmp51 = (struct fc_frame    *)fp;
62849#line 1841
62850  __cil_tmp52 = (size_t )len;
62851#line 1841
62852  tmp___11 = fc_frame_payload_get(__cil_tmp51, __cil_tmp52);
62853#line 1841
62854  pp = (struct __anonstruct_pp_300 *)tmp___11;
62855#line 1842
62856  __cil_tmp53 = ! pp;
62857#line 1842
62858  __cil_tmp54 = ! __cil_tmp53;
62859#line 1842
62860  __ret_warn_on = ! __cil_tmp54;
62861#line 1842
62862  __cil_tmp55 = ! __ret_warn_on;
62863#line 1842
62864  __cil_tmp56 = ! __cil_tmp55;
62865#line 1842
62866  __cil_tmp57 = (long )__cil_tmp56;
62867#line 1842
62868  tmp___12 = __builtin_expect(__cil_tmp57, 0L);
62869  }
62870#line 1842
62871  if (tmp___12) {
62872    {
62873#line 1842
62874    __cil_tmp58 = (int    )1842;
62875#line 1842
62876    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c",
62877                       __cil_tmp58);
62878    }
62879  } else {
62880
62881  }
62882  {
62883#line 1842
62884  __cil_tmp59 = ! __ret_warn_on;
62885#line 1842
62886  __cil_tmp60 = ! __cil_tmp59;
62887#line 1842
62888  __cil_tmp61 = (long )__cil_tmp60;
62889#line 1842
62890  __builtin_expect(__cil_tmp61, 0L);
62891#line 1843
62892  __cil_tmp62 = (void *)pp;
62893#line 1843
62894  __cil_tmp63 = (size_t )len;
62895#line 1843
62896  memset(__cil_tmp62, 0, __cil_tmp63);
62897#line 1844
62898  *((__u8 *)pp) = (__u8 )2;
62899#line 1845
62900  __cil_tmp64 = 0 + 1;
62901#line 1845
62902  __cil_tmp65 = (unsigned long )pp;
62903#line 1845
62904  __cil_tmp66 = __cil_tmp65 + __cil_tmp64;
62905#line 1845
62906  *((__u8 *)__cil_tmp66) = (__u8 )16;
62907#line 1846
62908  __cil_tmp67 = (__u16 )len;
62909#line 1846
62910  tmp___13 = __fswab16(__cil_tmp67);
62911#line 1846
62912  __cil_tmp68 = 0 + 2;
62913#line 1846
62914  __cil_tmp69 = (unsigned long )pp;
62915#line 1846
62916  __cil_tmp70 = __cil_tmp69 + __cil_tmp68;
62917#line 1846
62918  __cil_tmp71 = (int )tmp___13;
62919#line 1846
62920  *((__be16 *)__cil_tmp70) = (__be16 )__cil_tmp71;
62921#line 1847
62922  __cil_tmp72 = (unsigned long )pp;
62923#line 1847
62924  __cil_tmp73 = __cil_tmp72 + 4;
62925#line 1847
62926  spp = (struct fc_els_spp *)__cil_tmp73;
62927#line 1848
62928  *((__u8 *)spp) = *((__u8 *)rspp);
62929#line 1849
62930  __cil_tmp74 = (unsigned long )spp;
62931#line 1849
62932  __cil_tmp75 = __cil_tmp74 + 1;
62933#line 1849
62934  __cil_tmp76 = (unsigned long )rspp;
62935#line 1849
62936  __cil_tmp77 = __cil_tmp76 + 1;
62937#line 1849
62938  *((__u8 *)__cil_tmp75) = *((__u8 *)__cil_tmp77);
62939#line 1850
62940  __cil_tmp78 = (unsigned long )spp;
62941#line 1850
62942  __cil_tmp79 = __cil_tmp78 + 2;
62943#line 1850
62944  *((__u8 *)__cil_tmp79) = (__u8 )1;
62945#line 1852
62946  __cil_tmp80 = (enum fc_rport_event )4;
62947#line 1852
62948  fc_rport_enter_delete(rdata, __cil_tmp80);
62949#line 1854
62950  __cil_tmp81 = (struct fc_frame    *)rx_fp;
62951#line 1854
62952  __cil_tmp82 = (enum fc_rctl )35;
62953#line 1854
62954  __cil_tmp83 = (u32 )0;
62955#line 1854
62956  fc_fill_reply_hdr(fp, __cil_tmp81, __cil_tmp82, __cil_tmp83);
62957#line 1855
62958  __cil_tmp84 = (unsigned long )lport;
62959#line 1855
62960  __cil_tmp85 = __cil_tmp84 + 328;
62961#line 1855
62962  __cil_tmp86 = *((int (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp85);
62963#line 1855
62964  (*__cil_tmp86)(lport, fp);
62965  }
62966#line 1856
62967  goto drop;
62968  reject_len: 
62969#line 1859
62970  __cil_tmp87 = & rjt_data;
62971#line 1859
62972  *((enum fc_els_rjt_reason *)__cil_tmp87) = (enum fc_els_rjt_reason )7;
62973#line 1860
62974  __cil_tmp88 = (unsigned long )(& rjt_data) + 4;
62975#line 1860
62976  *((enum fc_els_rjt_explan *)__cil_tmp88) = (enum fc_els_rjt_explan )45;
62977  reject: 
62978  {
62979#line 1862
62980  __cil_tmp89 = 328 + 64;
62981#line 1862
62982  __cil_tmp90 = (unsigned long )lport;
62983#line 1862
62984  __cil_tmp91 = __cil_tmp90 + __cil_tmp89;
62985#line 1862
62986  __cil_tmp92 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp91);
62987#line 1862
62988  __cil_tmp93 = (enum fc_els_cmd )1;
62989#line 1862
62990  (*__cil_tmp92)(rx_fp, __cil_tmp93, & rjt_data);
62991  }
62992  drop: 
62993  {
62994#line 1864
62995  fc_frame_free(rx_fp);
62996  }
62997#line 1865
62998  return;
62999}
63000}
63001#line 1875 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63002static void fc_rport_recv_logo_req(struct fc_lport *lport , struct fc_frame *fp ) 
63003{ struct fc_rport_priv *rdata ;
63004  u32 sid ;
63005  char    *tmp___7 ;
63006  long tmp___8 ;
63007  long tmp___9 ;
63008  unsigned long __cil_tmp8 ;
63009  unsigned long __cil_tmp9 ;
63010  unsigned long __cil_tmp10 ;
63011  void (*__cil_tmp11)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ) ;
63012  enum fc_els_cmd __cil_tmp12 ;
63013  void *__cil_tmp13 ;
63014  struct fc_seq_els_data *__cil_tmp14 ;
63015  struct fc_frame    *__cil_tmp15 ;
63016  unsigned long __cil_tmp16 ;
63017  unsigned long __cil_tmp17 ;
63018  unsigned long __cil_tmp18 ;
63019  struct mutex *__cil_tmp19 ;
63020  unsigned long __cil_tmp20 ;
63021  unsigned long __cil_tmp21 ;
63022  unsigned long __cil_tmp22 ;
63023  struct fc_rport_priv *(*__cil_tmp23)(struct fc_lport    * , u32  ) ;
63024  struct fc_lport    *__cil_tmp24 ;
63025  unsigned long __cil_tmp25 ;
63026  unsigned long __cil_tmp26 ;
63027  struct mutex *__cil_tmp27 ;
63028  unsigned int *__cil_tmp28 ;
63029  unsigned int __cil_tmp29 ;
63030  unsigned int __cil_tmp30 ;
63031  int __cil_tmp31 ;
63032  int __cil_tmp32 ;
63033  long __cil_tmp33 ;
63034  struct fc_lport *__cil_tmp34 ;
63035  struct Scsi_Host *__cil_tmp35 ;
63036  unsigned long __cil_tmp36 ;
63037  unsigned long __cil_tmp37 ;
63038  unsigned int __cil_tmp38 ;
63039  unsigned long __cil_tmp39 ;
63040  unsigned long __cil_tmp40 ;
63041  unsigned long __cil_tmp41 ;
63042  u32 __cil_tmp42 ;
63043  enum fc_rport_event __cil_tmp43 ;
63044  unsigned long __cil_tmp44 ;
63045  unsigned long __cil_tmp45 ;
63046  struct mutex *__cil_tmp46 ;
63047  unsigned int *__cil_tmp47 ;
63048  unsigned int __cil_tmp48 ;
63049  unsigned int __cil_tmp49 ;
63050  int __cil_tmp50 ;
63051  int __cil_tmp51 ;
63052  long __cil_tmp52 ;
63053  struct Scsi_Host *__cil_tmp53 ;
63054  unsigned long __cil_tmp54 ;
63055  unsigned long __cil_tmp55 ;
63056  unsigned int __cil_tmp56 ;
63057  unsigned long __cil_tmp57 ;
63058  unsigned long __cil_tmp58 ;
63059  unsigned long __cil_tmp59 ;
63060  struct mutex *__cil_tmp60 ;
63061
63062  {
63063  {
63064#line 1880
63065  __cil_tmp8 = 328 + 64;
63066#line 1880
63067  __cil_tmp9 = (unsigned long )lport;
63068#line 1880
63069  __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
63070#line 1880
63071  __cil_tmp11 = *((void (**)(struct fc_frame * , enum fc_els_cmd  , struct fc_seq_els_data * ))__cil_tmp10);
63072#line 1880
63073  __cil_tmp12 = (enum fc_els_cmd )2;
63074#line 1880
63075  __cil_tmp13 = (void *)0;
63076#line 1880
63077  __cil_tmp14 = (struct fc_seq_els_data *)__cil_tmp13;
63078#line 1880
63079  (*__cil_tmp11)(fp, __cil_tmp12, __cil_tmp14);
63080#line 1882
63081  __cil_tmp15 = (struct fc_frame    *)fp;
63082#line 1882
63083  sid = fc_frame_sid(__cil_tmp15);
63084#line 1884
63085  __cil_tmp16 = 56 + 40;
63086#line 1884
63087  __cil_tmp17 = (unsigned long )lport;
63088#line 1884
63089  __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
63090#line 1884
63091  __cil_tmp19 = (struct mutex *)__cil_tmp18;
63092#line 1884
63093  mutex_lock(__cil_tmp19);
63094#line 1885
63095  __cil_tmp20 = 328 + 192;
63096#line 1885
63097  __cil_tmp21 = (unsigned long )lport;
63098#line 1885
63099  __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
63100#line 1885
63101  __cil_tmp23 = *((struct fc_rport_priv *(**)(struct fc_lport    * , u32  ))__cil_tmp22);
63102#line 1885
63103  __cil_tmp24 = (struct fc_lport    *)lport;
63104#line 1885
63105  rdata = (*__cil_tmp23)(__cil_tmp24, sid);
63106  }
63107#line 1886
63108  if (rdata) {
63109    {
63110#line 1887
63111    __cil_tmp25 = (unsigned long )rdata;
63112#line 1887
63113    __cil_tmp26 = __cil_tmp25 + 72;
63114#line 1887
63115    __cil_tmp27 = (struct mutex *)__cil_tmp26;
63116#line 1887
63117    mutex_lock(__cil_tmp27);
63118    }
63119    {
63120#line 1888
63121    while (1) {
63122      while_continue: /* CIL Label */ ;
63123      {
63124#line 1888
63125      __cil_tmp28 = & fc_debug_logging;
63126#line 1888
63127      __cil_tmp29 = *__cil_tmp28;
63128#line 1888
63129      __cil_tmp30 = __cil_tmp29 & 8U;
63130#line 1888
63131      __cil_tmp31 = ! __cil_tmp30;
63132#line 1888
63133      __cil_tmp32 = ! __cil_tmp31;
63134#line 1888
63135      __cil_tmp33 = (long )__cil_tmp32;
63136#line 1888
63137      tmp___8 = __builtin_expect(__cil_tmp33, 0L);
63138      }
63139#line 1888
63140      if (tmp___8) {
63141        {
63142#line 1888
63143        while (1) {
63144          while_continue___0: /* CIL Label */ ;
63145          {
63146#line 1888
63147          tmp___7 = fc_rport_state(rdata);
63148#line 1888
63149          __cil_tmp34 = *((struct fc_lport **)rdata);
63150#line 1888
63151          __cil_tmp35 = *((struct Scsi_Host **)__cil_tmp34);
63152#line 1888
63153          __cil_tmp36 = (unsigned long )__cil_tmp35;
63154#line 1888
63155          __cil_tmp37 = __cil_tmp36 + 308;
63156#line 1888
63157          __cil_tmp38 = *((unsigned int *)__cil_tmp37);
63158#line 1888
63159          __cil_tmp39 = 24 + 16;
63160#line 1888
63161          __cil_tmp40 = (unsigned long )rdata;
63162#line 1888
63163          __cil_tmp41 = __cil_tmp40 + __cil_tmp39;
63164#line 1888
63165          __cil_tmp42 = *((u32 *)__cil_tmp41);
63166#line 1888
63167          printk("<6>host%u: rport %6.6x: Received LOGO request while in state %s\n",
63168                 __cil_tmp38, __cil_tmp42, tmp___7);
63169          }
63170#line 1888
63171          goto while_break___0;
63172        }
63173        while_break___0: /* CIL Label */ ;
63174        }
63175      } else {
63176
63177      }
63178#line 1888
63179      goto while_break;
63180    }
63181    while_break: /* CIL Label */ ;
63182    }
63183    {
63184#line 1891
63185    __cil_tmp43 = (enum fc_rport_event )4;
63186#line 1891
63187    fc_rport_enter_delete(rdata, __cil_tmp43);
63188#line 1892
63189    __cil_tmp44 = (unsigned long )rdata;
63190#line 1892
63191    __cil_tmp45 = __cil_tmp44 + 72;
63192#line 1892
63193    __cil_tmp46 = (struct mutex *)__cil_tmp45;
63194#line 1892
63195    mutex_unlock(__cil_tmp46);
63196    }
63197  } else {
63198    {
63199#line 1894
63200    while (1) {
63201      while_continue___1: /* CIL Label */ ;
63202      {
63203#line 1894
63204      __cil_tmp47 = & fc_debug_logging;
63205#line 1894
63206      __cil_tmp48 = *__cil_tmp47;
63207#line 1894
63208      __cil_tmp49 = __cil_tmp48 & 8U;
63209#line 1894
63210      __cil_tmp50 = ! __cil_tmp49;
63211#line 1894
63212      __cil_tmp51 = ! __cil_tmp50;
63213#line 1894
63214      __cil_tmp52 = (long )__cil_tmp51;
63215#line 1894
63216      tmp___9 = __builtin_expect(__cil_tmp52, 0L);
63217      }
63218#line 1894
63219      if (tmp___9) {
63220        {
63221#line 1894
63222        while (1) {
63223          while_continue___2: /* CIL Label */ ;
63224          {
63225#line 1894
63226          __cil_tmp53 = *((struct Scsi_Host **)lport);
63227#line 1894
63228          __cil_tmp54 = (unsigned long )__cil_tmp53;
63229#line 1894
63230          __cil_tmp55 = __cil_tmp54 + 308;
63231#line 1894
63232          __cil_tmp56 = *((unsigned int *)__cil_tmp55);
63233#line 1894
63234          printk("<6>host%u: rport %6.6x: Received LOGO from non-logged-in port\n",
63235                 __cil_tmp56, sid);
63236          }
63237#line 1894
63238          goto while_break___2;
63239        }
63240        while_break___2: /* CIL Label */ ;
63241        }
63242      } else {
63243
63244      }
63245#line 1894
63246      goto while_break___1;
63247    }
63248    while_break___1: /* CIL Label */ ;
63249    }
63250  }
63251  {
63252#line 1896
63253  __cil_tmp57 = 56 + 40;
63254#line 1896
63255  __cil_tmp58 = (unsigned long )lport;
63256#line 1896
63257  __cil_tmp59 = __cil_tmp58 + __cil_tmp57;
63258#line 1896
63259  __cil_tmp60 = (struct mutex *)__cil_tmp59;
63260#line 1896
63261  mutex_unlock(__cil_tmp60);
63262#line 1897
63263  fc_frame_free(fp);
63264  }
63265#line 1898
63266  return;
63267}
63268}
63269#line 1903 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63270static void fc_rport_flush_queue(void) 
63271{ 
63272
63273  {
63274  {
63275#line 1905
63276  flush_workqueue(rport_event_queue);
63277  }
63278#line 1906
63279  return;
63280}
63281}
63282#line 1912 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63283int fc_rport_init(struct fc_lport *lport ) 
63284{ unsigned long __cil_tmp2 ;
63285  unsigned long __cil_tmp3 ;
63286  unsigned long __cil_tmp4 ;
63287  struct fc_rport_priv *(*__cil_tmp5)(struct fc_lport    * , u32  ) ;
63288  unsigned long __cil_tmp6 ;
63289  unsigned long __cil_tmp7 ;
63290  unsigned long __cil_tmp8 ;
63291  unsigned long __cil_tmp9 ;
63292  unsigned long __cil_tmp10 ;
63293  unsigned long __cil_tmp11 ;
63294  struct fc_rport_priv *(*__cil_tmp12)(struct fc_lport * , u32  ) ;
63295  unsigned long __cil_tmp13 ;
63296  unsigned long __cil_tmp14 ;
63297  unsigned long __cil_tmp15 ;
63298  unsigned long __cil_tmp16 ;
63299  unsigned long __cil_tmp17 ;
63300  unsigned long __cil_tmp18 ;
63301  int (*__cil_tmp19)(struct fc_rport_priv * ) ;
63302  unsigned long __cil_tmp20 ;
63303  unsigned long __cil_tmp21 ;
63304  unsigned long __cil_tmp22 ;
63305  unsigned long __cil_tmp23 ;
63306  unsigned long __cil_tmp24 ;
63307  unsigned long __cil_tmp25 ;
63308  int (*__cil_tmp26)(struct fc_rport_priv * ) ;
63309  unsigned long __cil_tmp27 ;
63310  unsigned long __cil_tmp28 ;
63311  unsigned long __cil_tmp29 ;
63312  unsigned long __cil_tmp30 ;
63313  unsigned long __cil_tmp31 ;
63314  unsigned long __cil_tmp32 ;
63315  void (*__cil_tmp33)(struct fc_lport * , struct fc_frame * ) ;
63316  unsigned long __cil_tmp34 ;
63317  unsigned long __cil_tmp35 ;
63318  unsigned long __cil_tmp36 ;
63319  unsigned long __cil_tmp37 ;
63320  unsigned long __cil_tmp38 ;
63321  unsigned long __cil_tmp39 ;
63322  void (*__cil_tmp40)(void) ;
63323  unsigned long __cil_tmp41 ;
63324  unsigned long __cil_tmp42 ;
63325  unsigned long __cil_tmp43 ;
63326  unsigned long __cil_tmp44 ;
63327  unsigned long __cil_tmp45 ;
63328  unsigned long __cil_tmp46 ;
63329  void (*__cil_tmp47)(struct kref * ) ;
63330  unsigned long __cil_tmp48 ;
63331  unsigned long __cil_tmp49 ;
63332  unsigned long __cil_tmp50 ;
63333
63334  {
63335  {
63336#line 1914
63337  __cil_tmp2 = 328 + 192;
63338#line 1914
63339  __cil_tmp3 = (unsigned long )lport;
63340#line 1914
63341  __cil_tmp4 = __cil_tmp3 + __cil_tmp2;
63342#line 1914
63343  __cil_tmp5 = *((struct fc_rport_priv *(**)(struct fc_lport    * , u32  ))__cil_tmp4);
63344#line 1914
63345  if (! __cil_tmp5) {
63346#line 1915
63347    __cil_tmp6 = 328 + 192;
63348#line 1915
63349    __cil_tmp7 = (unsigned long )lport;
63350#line 1915
63351    __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
63352#line 1915
63353    *((struct fc_rport_priv *(**)(struct fc_lport    * , u32  ))__cil_tmp8) = & fc_rport_lookup;
63354  } else {
63355
63356  }
63357  }
63358  {
63359#line 1917
63360  __cil_tmp9 = 328 + 160;
63361#line 1917
63362  __cil_tmp10 = (unsigned long )lport;
63363#line 1917
63364  __cil_tmp11 = __cil_tmp10 + __cil_tmp9;
63365#line 1917
63366  __cil_tmp12 = *((struct fc_rport_priv *(**)(struct fc_lport * , u32  ))__cil_tmp11);
63367#line 1917
63368  if (! __cil_tmp12) {
63369#line 1918
63370    __cil_tmp13 = 328 + 160;
63371#line 1918
63372    __cil_tmp14 = (unsigned long )lport;
63373#line 1918
63374    __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
63375#line 1918
63376    *((struct fc_rport_priv *(**)(struct fc_lport * , u32  ))__cil_tmp15) = & fc_rport_create;
63377  } else {
63378
63379  }
63380  }
63381  {
63382#line 1920
63383  __cil_tmp16 = 328 + 168;
63384#line 1920
63385  __cil_tmp17 = (unsigned long )lport;
63386#line 1920
63387  __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
63388#line 1920
63389  __cil_tmp19 = *((int (**)(struct fc_rport_priv * ))__cil_tmp18);
63390#line 1920
63391  if (! __cil_tmp19) {
63392#line 1921
63393    __cil_tmp20 = 328 + 168;
63394#line 1921
63395    __cil_tmp21 = (unsigned long )lport;
63396#line 1921
63397    __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
63398#line 1921
63399    *((int (**)(struct fc_rport_priv * ))__cil_tmp22) = & fc_rport_login;
63400  } else {
63401
63402  }
63403  }
63404  {
63405#line 1923
63406  __cil_tmp23 = 328 + 176;
63407#line 1923
63408  __cil_tmp24 = (unsigned long )lport;
63409#line 1923
63410  __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
63411#line 1923
63412  __cil_tmp26 = *((int (**)(struct fc_rport_priv * ))__cil_tmp25);
63413#line 1923
63414  if (! __cil_tmp26) {
63415#line 1924
63416    __cil_tmp27 = 328 + 176;
63417#line 1924
63418    __cil_tmp28 = (unsigned long )lport;
63419#line 1924
63420    __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
63421#line 1924
63422    *((int (**)(struct fc_rport_priv * ))__cil_tmp29) = & fc_rport_logoff;
63423  } else {
63424
63425  }
63426  }
63427  {
63428#line 1926
63429  __cil_tmp30 = 328 + 184;
63430#line 1926
63431  __cil_tmp31 = (unsigned long )lport;
63432#line 1926
63433  __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
63434#line 1926
63435  __cil_tmp33 = *((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp32);
63436#line 1926
63437  if (! __cil_tmp33) {
63438#line 1927
63439    __cil_tmp34 = 328 + 184;
63440#line 1927
63441    __cil_tmp35 = (unsigned long )lport;
63442#line 1927
63443    __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
63444#line 1927
63445    *((void (**)(struct fc_lport * , struct fc_frame * ))__cil_tmp36) = & fc_rport_recv_req;
63446  } else {
63447
63448  }
63449  }
63450  {
63451#line 1929
63452  __cil_tmp37 = 328 + 128;
63453#line 1929
63454  __cil_tmp38 = (unsigned long )lport;
63455#line 1929
63456  __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
63457#line 1929
63458  __cil_tmp40 = *((void (**)(void))__cil_tmp39);
63459#line 1929
63460  if (! __cil_tmp40) {
63461#line 1930
63462    __cil_tmp41 = 328 + 128;
63463#line 1930
63464    __cil_tmp42 = (unsigned long )lport;
63465#line 1930
63466    __cil_tmp43 = __cil_tmp42 + __cil_tmp41;
63467#line 1930
63468    *((void (**)(void))__cil_tmp43) = & fc_rport_flush_queue;
63469  } else {
63470
63471  }
63472  }
63473  {
63474#line 1932
63475  __cil_tmp44 = 328 + 200;
63476#line 1932
63477  __cil_tmp45 = (unsigned long )lport;
63478#line 1932
63479  __cil_tmp46 = __cil_tmp45 + __cil_tmp44;
63480#line 1932
63481  __cil_tmp47 = *((void (**)(struct kref * ))__cil_tmp46);
63482#line 1932
63483  if (! __cil_tmp47) {
63484#line 1933
63485    __cil_tmp48 = 328 + 200;
63486#line 1933
63487    __cil_tmp49 = (unsigned long )lport;
63488#line 1933
63489    __cil_tmp50 = __cil_tmp49 + __cil_tmp48;
63490#line 1933
63491    *((void (**)(struct kref * ))__cil_tmp50) = & fc_rport_destroy;
63492  } else {
63493
63494  }
63495  }
63496#line 1935
63497  return (0);
63498}
63499}
63500#line 1937
63501extern void *__crc_fc_rport_init  __attribute__((__weak__)) ;
63502#line 1937 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63503static unsigned long    __kcrctab_fc_rport_init  __attribute__((__used__, __unused__,
63504__section__("___kcrctab+fc_rport_init")))  =    (unsigned long    )((unsigned long )(& __crc_fc_rport_init));
63505#line 1937 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63506static char    __kstrtab_fc_rport_init[14]  __attribute__((__section__("__ksymtab_strings"),
63507__aligned__(1)))  = 
63508#line 1937
63509  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'r', 
63510        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
63511        (char    )'_',      (char    )'i',      (char const   )'n',      (char const   )'i', 
63512        (char    )'t',      (char    )'\000'};
63513#line 1937 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63514static struct kernel_symbol    __ksymtab_fc_rport_init  __attribute__((__used__,
63515__unused__, __section__("___ksymtab+fc_rport_init")))  =    {(unsigned long )(& fc_rport_init), __kstrtab_fc_rport_init};
63516#line 1949 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63517static int fc_rport_fcp_prli(struct fc_rport_priv *rdata , u32 spp_len , struct fc_els_spp    *rspp ,
63518                             struct fc_els_spp *spp ) 
63519{ struct fc_lport *lport ;
63520  u32 fcp_parm ;
63521  __u32 tmp___7 ;
63522  __u32 tmp___8 ;
63523  __u32 tmp___9 ;
63524  unsigned long __cil_tmp10 ;
63525  unsigned long __cil_tmp11 ;
63526  __be32    __cil_tmp12 ;
63527  __be32 __cil_tmp13 ;
63528  unsigned long __cil_tmp14 ;
63529  unsigned long __cil_tmp15 ;
63530  unsigned long __cil_tmp16 ;
63531  unsigned long __cil_tmp17 ;
63532  unsigned long __cil_tmp18 ;
63533  unsigned long __cil_tmp19 ;
63534  unsigned long __cil_tmp20 ;
63535  unsigned long __cil_tmp21 ;
63536  unsigned long __cil_tmp22 ;
63537  u32 __cil_tmp23 ;
63538  unsigned long __cil_tmp24 ;
63539  unsigned long __cil_tmp25 ;
63540  unsigned long __cil_tmp26 ;
63541  unsigned long __cil_tmp27 ;
63542  unsigned long __cil_tmp28 ;
63543  unsigned long __cil_tmp29 ;
63544  u32 __cil_tmp30 ;
63545  unsigned long __cil_tmp31 ;
63546  unsigned long __cil_tmp32 ;
63547  int __cil_tmp33 ;
63548  unsigned long __cil_tmp34 ;
63549  unsigned long __cil_tmp35 ;
63550  u16 __cil_tmp36 ;
63551  int __cil_tmp37 ;
63552  int __cil_tmp38 ;
63553  unsigned long __cil_tmp39 ;
63554  unsigned long __cil_tmp40 ;
63555  unsigned long __cil_tmp41 ;
63556  unsigned long __cil_tmp42 ;
63557  unsigned int __cil_tmp43 ;
63558  unsigned int __cil_tmp44 ;
63559  unsigned long __cil_tmp45 ;
63560  unsigned long __cil_tmp46 ;
63561  unsigned long __cil_tmp47 ;
63562  unsigned long __cil_tmp48 ;
63563  __u8    __cil_tmp49 ;
63564  int    __cil_tmp50 ;
63565  int    __cil_tmp51 ;
63566  int __cil_tmp52 ;
63567  unsigned long __cil_tmp53 ;
63568  unsigned long __cil_tmp54 ;
63569  __u8 __cil_tmp55 ;
63570  int __cil_tmp56 ;
63571  int __cil_tmp57 ;
63572  unsigned long __cil_tmp58 ;
63573  unsigned long __cil_tmp59 ;
63574  __be32 __cil_tmp60 ;
63575  unsigned long __cil_tmp61 ;
63576  unsigned long __cil_tmp62 ;
63577  unsigned int __cil_tmp63 ;
63578  unsigned int __cil_tmp64 ;
63579  unsigned long __cil_tmp65 ;
63580  unsigned long __cil_tmp66 ;
63581
63582  {
63583  {
63584#line 1953
63585  lport = *((struct fc_lport **)rdata);
63586#line 1956
63587  __cil_tmp10 = (unsigned long )rspp;
63588#line 1956
63589  __cil_tmp11 = __cil_tmp10 + 12;
63590#line 1956
63591  __cil_tmp12 = *((__be32    *)__cil_tmp11);
63592#line 1956
63593  __cil_tmp13 = (__be32 )__cil_tmp12;
63594#line 1956
63595  tmp___7 = __fswab32(__cil_tmp13);
63596#line 1956
63597  fcp_parm = tmp___7;
63598#line 1957
63599  __cil_tmp14 = 24 + 20;
63600#line 1957
63601  __cil_tmp15 = (unsigned long )rdata;
63602#line 1957
63603  __cil_tmp16 = __cil_tmp15 + __cil_tmp14;
63604#line 1957
63605  *((u32 *)__cil_tmp16) = (u32 )0;
63606  }
63607#line 1958
63608  if (fcp_parm & 32U) {
63609#line 1959
63610    __cil_tmp17 = 24 + 20;
63611#line 1959
63612    __cil_tmp18 = (unsigned long )rdata;
63613#line 1959
63614    __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
63615#line 1959
63616    __cil_tmp20 = 24 + 20;
63617#line 1959
63618    __cil_tmp21 = (unsigned long )rdata;
63619#line 1959
63620    __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
63621#line 1959
63622    __cil_tmp23 = *((u32 *)__cil_tmp22);
63623#line 1959
63624    *((u32 *)__cil_tmp19) = __cil_tmp23 | 2U;
63625  } else {
63626
63627  }
63628#line 1960
63629  if (fcp_parm & 16U) {
63630#line 1961
63631    __cil_tmp24 = 24 + 20;
63632#line 1961
63633    __cil_tmp25 = (unsigned long )rdata;
63634#line 1961
63635    __cil_tmp26 = __cil_tmp25 + __cil_tmp24;
63636#line 1961
63637    __cil_tmp27 = 24 + 20;
63638#line 1961
63639    __cil_tmp28 = (unsigned long )rdata;
63640#line 1961
63641    __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
63642#line 1961
63643    __cil_tmp30 = *((u32 *)__cil_tmp29);
63644#line 1961
63645    *((u32 *)__cil_tmp26) = __cil_tmp30 | 1U;
63646  } else {
63647
63648  }
63649#line 1962
63650  if (fcp_parm & 256U) {
63651#line 1963
63652    __cil_tmp31 = (unsigned long )rdata;
63653#line 1963
63654    __cil_tmp32 = __cil_tmp31 + 48;
63655#line 1963
63656    __cil_tmp33 = 1 << 1;
63657#line 1963
63658    __cil_tmp34 = (unsigned long )rdata;
63659#line 1963
63660    __cil_tmp35 = __cil_tmp34 + 48;
63661#line 1963
63662    __cil_tmp36 = *((u16 *)__cil_tmp35);
63663#line 1963
63664    __cil_tmp37 = (int )__cil_tmp36;
63665#line 1963
63666    __cil_tmp38 = __cil_tmp37 | __cil_tmp33;
63667#line 1963
63668    *((u16 *)__cil_tmp32) = (u16 )__cil_tmp38;
63669  } else {
63670
63671  }
63672#line 1964
63673  __cil_tmp39 = (unsigned long )rdata;
63674#line 1964
63675  __cil_tmp40 = __cil_tmp39 + 320;
63676#line 1964
63677  *((u32 *)__cil_tmp40) = (u32 )8;
63678  {
63679#line 1966
63680  __cil_tmp41 = (unsigned long )lport;
63681#line 1966
63682  __cil_tmp42 = __cil_tmp41 + 808;
63683#line 1966
63684  __cil_tmp43 = *((unsigned int *)__cil_tmp42);
63685#line 1966
63686  __cil_tmp44 = __cil_tmp43 & 2U;
63687#line 1966
63688  if (! __cil_tmp44) {
63689#line 1967
63690    return (0);
63691  } else {
63692
63693  }
63694  }
63695  {
63696#line 1969
63697  __cil_tmp45 = (unsigned long )spp;
63698#line 1969
63699  __cil_tmp46 = __cil_tmp45 + 2;
63700#line 1969
63701  __cil_tmp47 = (unsigned long )rspp;
63702#line 1969
63703  __cil_tmp48 = __cil_tmp47 + 2;
63704#line 1969
63705  __cil_tmp49 = *((__u8    *)__cil_tmp48);
63706#line 1969
63707  __cil_tmp50 = (int    )__cil_tmp49;
63708#line 1969
63709  __cil_tmp51 = __cil_tmp50 & 32;
63710#line 1969
63711  __cil_tmp52 = (int )__cil_tmp51;
63712#line 1969
63713  __cil_tmp53 = (unsigned long )spp;
63714#line 1969
63715  __cil_tmp54 = __cil_tmp53 + 2;
63716#line 1969
63717  __cil_tmp55 = *((__u8 *)__cil_tmp54);
63718#line 1969
63719  __cil_tmp56 = (int )__cil_tmp55;
63720#line 1969
63721  __cil_tmp57 = __cil_tmp56 | __cil_tmp52;
63722#line 1969
63723  *((__u8 *)__cil_tmp46) = (__u8 )__cil_tmp57;
63724#line 1974
63725  __cil_tmp58 = (unsigned long )spp;
63726#line 1974
63727  __cil_tmp59 = __cil_tmp58 + 12;
63728#line 1974
63729  __cil_tmp60 = *((__be32 *)__cil_tmp59);
63730#line 1974
63731  tmp___8 = __fswab32(__cil_tmp60);
63732#line 1974
63733  fcp_parm = tmp___8;
63734#line 1975
63735  __cil_tmp61 = (unsigned long )lport;
63736#line 1975
63737  __cil_tmp62 = __cil_tmp61 + 808;
63738#line 1975
63739  __cil_tmp63 = *((unsigned int *)__cil_tmp62);
63740#line 1975
63741  __cil_tmp64 = fcp_parm | __cil_tmp63;
63742#line 1975
63743  tmp___9 = __fswab32(__cil_tmp64);
63744#line 1975
63745  __cil_tmp65 = (unsigned long )spp;
63746#line 1975
63747  __cil_tmp66 = __cil_tmp65 + 12;
63748#line 1975
63749  *((__be32 *)__cil_tmp66) = tmp___9;
63750  }
63751#line 1976
63752  return (1);
63753}
63754}
63755#line 1982 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63756struct fc4_prov fc_rport_fcp_init  =    {& fc_rport_fcp_prli, (void (*)(struct fc_rport_priv * ))0, (void (*)(struct fc_lport * ,
63757                                                                         struct fc_frame * ))0,
63758    (struct module *)0};
63759#line 1993 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63760static int fc_rport_t0_prli(struct fc_rport_priv *rdata , u32 spp_len , struct fc_els_spp    *rspp ,
63761                            struct fc_els_spp *spp ) 
63762{ unsigned long __cil_tmp5 ;
63763  unsigned long __cil_tmp6 ;
63764  __u8    __cil_tmp7 ;
63765  int    __cil_tmp8 ;
63766
63767  {
63768  {
63769#line 1997
63770  __cil_tmp5 = (unsigned long )rspp;
63771#line 1997
63772  __cil_tmp6 = __cil_tmp5 + 2;
63773#line 1997
63774  __cil_tmp7 = *((__u8    *)__cil_tmp6);
63775#line 1997
63776  __cil_tmp8 = (int    )__cil_tmp7;
63777#line 1997
63778  if (__cil_tmp8 & 32) {
63779#line 1998
63780    return (8);
63781  } else {
63782
63783  }
63784  }
63785#line 1999
63786  return (1);
63787}
63788}
63789#line 2008 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63790struct fc4_prov fc_rport_t0_prov  =    {& fc_rport_t0_prli, (void (*)(struct fc_rport_priv * ))0, (void (*)(struct fc_lport * ,
63791                                                                        struct fc_frame * ))0,
63792    (struct module *)0};
63793#line 2015 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63794int fc_setup_rport(void) 
63795{ void *__cil_tmp1 ;
63796  struct lock_class_key *__cil_tmp2 ;
63797  void *__cil_tmp3 ;
63798  char    *__cil_tmp4 ;
63799
63800  {
63801  {
63802#line 2017
63803  __cil_tmp1 = (void *)0;
63804#line 2017
63805  __cil_tmp2 = (struct lock_class_key *)__cil_tmp1;
63806#line 2017
63807  __cil_tmp3 = (void *)0;
63808#line 2017
63809  __cil_tmp4 = (char    *)__cil_tmp3;
63810#line 2017
63811  rport_event_queue = __alloc_workqueue_key("fc_rport_eq", 10U, 1, __cil_tmp2, __cil_tmp4);
63812  }
63813#line 2018
63814  if (! rport_event_queue) {
63815#line 2019
63816    return (-12);
63817  } else {
63818
63819  }
63820#line 2020
63821  return (0);
63822}
63823}
63824#line 2026 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63825void fc_destroy_rport(void) 
63826{ 
63827
63828  {
63829  {
63830#line 2028
63831  destroy_workqueue(rport_event_queue);
63832  }
63833#line 2029
63834  return;
63835}
63836}
63837#line 2035 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63838void fc_rport_terminate_io(struct fc_rport *rport ) 
63839{ struct fc_rport_libfc_priv *rpriv ;
63840  struct fc_lport *lport ;
63841  unsigned long __cil_tmp4 ;
63842  unsigned long __cil_tmp5 ;
63843  void *__cil_tmp6 ;
63844  unsigned long __cil_tmp7 ;
63845  unsigned long __cil_tmp8 ;
63846  unsigned long __cil_tmp9 ;
63847  void (*__cil_tmp10)(struct fc_lport * , u32 s_id , u32 d_id ) ;
63848  u32 __cil_tmp11 ;
63849  unsigned long __cil_tmp12 ;
63850  unsigned long __cil_tmp13 ;
63851  u32 __cil_tmp14 ;
63852  unsigned long __cil_tmp15 ;
63853  unsigned long __cil_tmp16 ;
63854  unsigned long __cil_tmp17 ;
63855  void (*__cil_tmp18)(struct fc_lport * , u32 s_id , u32 d_id ) ;
63856  unsigned long __cil_tmp19 ;
63857  unsigned long __cil_tmp20 ;
63858  u32 __cil_tmp21 ;
63859  u32 __cil_tmp22 ;
63860
63861  {
63862  {
63863#line 2037
63864  __cil_tmp4 = (unsigned long )rport;
63865#line 2037
63866  __cil_tmp5 = __cil_tmp4 + 56;
63867#line 2037
63868  __cil_tmp6 = *((void **)__cil_tmp5);
63869#line 2037
63870  rpriv = (struct fc_rport_libfc_priv *)__cil_tmp6;
63871#line 2038
63872  lport = *((struct fc_lport **)rpriv);
63873#line 2040
63874  __cil_tmp7 = 328 + 120;
63875#line 2040
63876  __cil_tmp8 = (unsigned long )lport;
63877#line 2040
63878  __cil_tmp9 = __cil_tmp8 + __cil_tmp7;
63879#line 2040
63880  __cil_tmp10 = *((void (**)(struct fc_lport * , u32 s_id , u32 d_id ))__cil_tmp9);
63881#line 2040
63882  __cil_tmp11 = (u32 )0;
63883#line 2040
63884  __cil_tmp12 = (unsigned long )rport;
63885#line 2040
63886  __cil_tmp13 = __cil_tmp12 + 32;
63887#line 2040
63888  __cil_tmp14 = *((u32 *)__cil_tmp13);
63889#line 2040
63890  (*__cil_tmp10)(lport, __cil_tmp11, __cil_tmp14);
63891#line 2041
63892  __cil_tmp15 = 328 + 120;
63893#line 2041
63894  __cil_tmp16 = (unsigned long )lport;
63895#line 2041
63896  __cil_tmp17 = __cil_tmp16 + __cil_tmp15;
63897#line 2041
63898  __cil_tmp18 = *((void (**)(struct fc_lport * , u32 s_id , u32 d_id ))__cil_tmp17);
63899#line 2041
63900  __cil_tmp19 = (unsigned long )rport;
63901#line 2041
63902  __cil_tmp20 = __cil_tmp19 + 32;
63903#line 2041
63904  __cil_tmp21 = *((u32 *)__cil_tmp20);
63905#line 2041
63906  __cil_tmp22 = (u32 )0;
63907#line 2041
63908  (*__cil_tmp18)(lport, __cil_tmp21, __cil_tmp22);
63909  }
63910#line 2042
63911  return;
63912}
63913}
63914#line 2043
63915extern void *__crc_fc_rport_terminate_io  __attribute__((__weak__)) ;
63916#line 2043 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63917static unsigned long    __kcrctab_fc_rport_terminate_io  __attribute__((__used__,
63918__unused__, __section__("___kcrctab+fc_rport_terminate_io")))  =    (unsigned long    )((unsigned long )(& __crc_fc_rport_terminate_io));
63919#line 2043 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63920static char    __kstrtab_fc_rport_terminate_io[22]  __attribute__((__section__("__ksymtab_strings"),
63921__aligned__(1)))  = 
63922#line 2043
63923  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'r', 
63924        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
63925        (char    )'_',      (char    )'t',      (char const   )'e',      (char const   )'r', 
63926        (char    )'m',      (char    )'i',      (char const   )'n',      (char const   )'a', 
63927        (char    )'t',      (char    )'e',      (char const   )'_',      (char const   )'i', 
63928        (char    )'o',      (char    )'\000'};
63929#line 2043 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63930static struct kernel_symbol    __ksymtab_fc_rport_terminate_io  __attribute__((__used__,
63931__unused__, __section__("___ksymtab+fc_rport_terminate_io")))  =    {(unsigned long )(& fc_rport_terminate_io), __kstrtab_fc_rport_terminate_io};
63932#line 2076 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_rport.c"
63933void ldv_main6_sequence_infinite_withcheck_stateful(void) 
63934{ struct fc_rport_priv *var_group1 ;
63935  u32 var_fc_rport_fcp_prli_39_p1 ;
63936  struct fc_els_spp    *var_fc_rport_fcp_prli_39_p2 ;
63937  struct fc_els_spp *var_fc_rport_fcp_prli_39_p3 ;
63938  u32 var_fc_rport_t0_prli_40_p1 ;
63939  struct fc_els_spp    *var_fc_rport_t0_prli_40_p2 ;
63940  struct fc_els_spp *var_fc_rport_t0_prli_40_p3 ;
63941  int tmp___7 ;
63942  int tmp___8 ;
63943
63944  {
63945  {
63946#line 2110
63947  LDV_IN_INTERRUPT = 1;
63948#line 2119
63949  ldv_initialize();
63950  }
63951  {
63952#line 2125
63953  while (1) {
63954    while_continue: /* CIL Label */ ;
63955    {
63956#line 2125
63957    tmp___8 = __VERIFIER_nondet_int();
63958    }
63959#line 2125
63960    if (tmp___8) {
63961
63962    } else {
63963#line 2125
63964      goto while_break;
63965    }
63966    {
63967#line 2128
63968    tmp___7 = __VERIFIER_nondet_int();
63969    }
63970#line 2130
63971    if (tmp___7 == 0) {
63972#line 2130
63973      goto case_0;
63974    } else
63975#line 2146
63976    if (tmp___7 == 1) {
63977#line 2146
63978      goto case_1;
63979    } else {
63980      {
63981#line 2162
63982      goto switch_default;
63983#line 2128
63984      if (0) {
63985        case_0: /* CIL Label */ 
63986        {
63987#line 2138
63988        fc_rport_fcp_prli(var_group1, var_fc_rport_fcp_prli_39_p1, var_fc_rport_fcp_prli_39_p2,
63989                          var_fc_rport_fcp_prli_39_p3);
63990        }
63991#line 2145
63992        goto switch_break;
63993        case_1: /* CIL Label */ 
63994        {
63995#line 2154
63996        fc_rport_t0_prli(var_group1, var_fc_rport_t0_prli_40_p1, var_fc_rport_t0_prli_40_p2,
63997                         var_fc_rport_t0_prli_40_p3);
63998        }
63999#line 2161
64000        goto switch_break;
64001        switch_default: /* CIL Label */ 
64002#line 2162
64003        goto switch_break;
64004      } else {
64005        switch_break: /* CIL Label */ ;
64006      }
64007      }
64008    }
64009  }
64010  while_break: /* CIL Label */ ;
64011  }
64012  {
64013#line 2171
64014  ldv_check_final_state();
64015  }
64016#line 2174
64017  return;
64018}
64019}
64020#line 186 "include/linux/list.h"
64021__inline static int list_empty(struct list_head    *head )  __attribute__((__no_instrument_function__)) ;
64022#line 186 "include/linux/list.h"
64023__inline static int list_empty(struct list_head    *head ) 
64024{ unsigned long __cil_tmp2 ;
64025  struct list_head *   __cil_tmp3 ;
64026  unsigned long __cil_tmp4 ;
64027
64028  {
64029  {
64030#line 188
64031  __cil_tmp2 = (unsigned long )head;
64032#line 188
64033  __cil_tmp3 = *((struct list_head *   *)head);
64034#line 188
64035  __cil_tmp4 = (unsigned long )__cil_tmp3;
64036#line 188
64037  return (__cil_tmp4 == __cil_tmp2);
64038  }
64039}
64040}
64041#line 309 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/bitops.h"
64042__inline static int ( __attribute__((__always_inline__)) ant_test_bit)(unsigned int nr ,
64043                                                                            unsigned long  volatile   *addr )  __attribute__((__no_instrument_function__)) ;
64044#line 309 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/bitops.h"
64045__inline static int ( __attribute__((__always_inline__)) ant_test_bit)(unsigned int nr ,
64046                                                                            unsigned long  volatile   *addr ) 
64047{ unsigned int __cil_tmp3 ;
64048  unsigned long  volatile   *__cil_tmp4 ;
64049  unsigned long  volatile   __cil_tmp5 ;
64050  unsigned long __cil_tmp6 ;
64051  unsigned int __cil_tmp7 ;
64052  unsigned long __cil_tmp8 ;
64053  unsigned long __cil_tmp9 ;
64054
64055  {
64056  {
64057#line 311
64058  __cil_tmp3 = nr / 64U;
64059#line 311
64060  __cil_tmp4 = addr + __cil_tmp3;
64061#line 311
64062  __cil_tmp5 = *__cil_tmp4;
64063#line 311
64064  __cil_tmp6 = (unsigned long )__cil_tmp5;
64065#line 311
64066  __cil_tmp7 = nr % 64U;
64067#line 311
64068  __cil_tmp8 = 1UL << __cil_tmp7;
64069#line 311
64070  __cil_tmp9 = __cil_tmp8 & __cil_tmp6;
64071#line 311
64072  return (__cil_tmp9 != 0UL);
64073  }
64074}
64075}
64076#line 32 "include/linux/spinlock_api_smp.h"
64077extern unsigned long _raw_spin_lock_irqsave(raw_spinlock_t *lock )  __attribute__((__section__(".spinlock.text"))) ;
64078#line 42
64079extern void _raw_spin_unlock_irqrestore(raw_spinlock_t *lock , unsigned long flags )  __attribute__((__section__(".spinlock.text"))) ;
64080#line 338 "include/linux/spinlock.h"
64081__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags )  __attribute__((__no_instrument_function__)) ;
64082#line 338 "include/linux/spinlock.h"
64083__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags ) 
64084{ struct raw_spinlock *__cil_tmp5 ;
64085
64086  {
64087  {
64088#line 340
64089  while (1) {
64090    while_continue: /* CIL Label */ ;
64091    {
64092#line 340
64093    __cil_tmp5 = (struct raw_spinlock *)lock;
64094#line 340
64095    _raw_spin_unlock_irqrestore(__cil_tmp5, flags);
64096    }
64097#line 340
64098    goto while_break;
64099  }
64100  while_break: /* CIL Label */ ;
64101  }
64102#line 341
64103  return;
64104}
64105}
64106#line 79 "include/linux/wait.h"
64107extern void __init_waitqueue_head(wait_queue_head_t *q , char    *name , struct lock_class_key * ) ;
64108#line 76 "include/linux/completion.h"
64109static struct lock_class_key __key  ;
64110#line 73
64111__inline static void init_completion(struct completion *x )  __attribute__((__no_instrument_function__)) ;
64112#line 73 "include/linux/completion.h"
64113__inline static void init_completion(struct completion *x ) 
64114{ unsigned long __cil_tmp2 ;
64115  unsigned long __cil_tmp3 ;
64116  wait_queue_head_t *__cil_tmp4 ;
64117
64118  {
64119#line 75
64120  *((unsigned int *)x) = 0U;
64121  {
64122#line 76
64123  while (1) {
64124    while_continue: /* CIL Label */ ;
64125    {
64126#line 76
64127    __cil_tmp2 = (unsigned long )x;
64128#line 76
64129    __cil_tmp3 = __cil_tmp2 + 8;
64130#line 76
64131    __cil_tmp4 = (wait_queue_head_t *)__cil_tmp3;
64132#line 76
64133    __init_waitqueue_head(__cil_tmp4, "&x->wait", & __key);
64134    }
64135#line 76
64136    goto while_break;
64137  }
64138  while_break: /* CIL Label */ ;
64139  }
64140#line 77
64141  return;
64142}
64143}
64144#line 82
64145extern unsigned long wait_for_completion_timeout(struct completion *x , unsigned long timeout ) ;
64146#line 91
64147extern void complete(struct completion * ) ;
64148#line 296 "include/linux/jiffies.h"
64149extern unsigned int jiffies_to_msecs(unsigned long    j ) ;
64150#line 166 "include/linux/timer.h"
64151__inline static void setup_timer_key(struct timer_list *timer , char    *name ,
64152                                     struct lock_class_key *key , void (*function)(unsigned long  ) ,
64153                                     unsigned long data )  __attribute__((__no_instrument_function__)) ;
64154#line 166 "include/linux/timer.h"
64155__inline static void setup_timer_key(struct timer_list *timer , char    *name ,
64156                                     struct lock_class_key *key , void (*function)(unsigned long  ) ,
64157                                     unsigned long data ) 
64158{ unsigned long __cil_tmp6 ;
64159  unsigned long __cil_tmp7 ;
64160  unsigned long __cil_tmp8 ;
64161  unsigned long __cil_tmp9 ;
64162
64163  {
64164  {
64165#line 172
64166  __cil_tmp6 = (unsigned long )timer;
64167#line 172
64168  __cil_tmp7 = __cil_tmp6 + 32;
64169#line 172
64170  *((void (**)(unsigned long  ))__cil_tmp7) = function;
64171#line 173
64172  __cil_tmp8 = (unsigned long )timer;
64173#line 173
64174  __cil_tmp9 = __cil_tmp8 + 40;
64175#line 173
64176  *((unsigned long *)__cil_tmp9) = data;
64177#line 174
64178  init_timer_key(timer, name, key);
64179  }
64180#line 175
64181  return;
64182}
64183}
64184#line 211
64185extern int mod_timer(struct timer_list *timer , unsigned long expires ) ;
64186#line 46 "include/linux/delay.h"
64187extern void msleep(unsigned int msecs ) ;
64188#line 342 "include/linux/page-flags.h"
64189__inline static int PageTail(struct page    *page )  __attribute__((__no_instrument_function__)) ;
64190#line 342 "include/linux/page-flags.h"
64191__inline static int PageTail(struct page    *page ) 
64192{ int tmp ;
64193  unsigned long    *__cil_tmp4 ;
64194  unsigned long  volatile   *__cil_tmp5 ;
64195
64196  {
64197  {
64198#line 342
64199  __cil_tmp4 = (unsigned long    *)page;
64200#line 342
64201  __cil_tmp5 = (unsigned long  volatile   *)__cil_tmp4;
64202#line 342
64203  tmp = ant_test_bit(15U, __cil_tmp5);
64204  }
64205#line 342
64206  return (tmp);
64207}
64208}
64209#line 392 "include/linux/mm.h"
64210extern bool __get_page_tail(struct page *page ) ;
64211#line 394
64212__inline static void get_page(struct page *page )  __attribute__((__no_instrument_function__)) ;
64213#line 394 "include/linux/mm.h"
64214__inline static void get_page(struct page *page ) 
64215{ bool tmp ;
64216  int tmp___0 ;
64217  long tmp___1 ;
64218  int tmp___2 ;
64219  int tmp___3 ;
64220  long tmp___4 ;
64221  int tmp___5 ;
64222  int tmp___6 ;
64223  long tmp___7 ;
64224  struct page    *__cil_tmp11 ;
64225  long __cil_tmp12 ;
64226  long __cil_tmp13 ;
64227  unsigned long __cil_tmp14 ;
64228  unsigned long __cil_tmp15 ;
64229  unsigned long __cil_tmp16 ;
64230  unsigned long __cil_tmp17 ;
64231  unsigned long __cil_tmp18 ;
64232  atomic_t *__cil_tmp19 ;
64233  atomic_t    *__cil_tmp20 ;
64234  long __cil_tmp21 ;
64235  unsigned long __cil_tmp22 ;
64236  unsigned long __cil_tmp23 ;
64237  unsigned long __cil_tmp24 ;
64238  unsigned long __cil_tmp25 ;
64239  unsigned long __cil_tmp26 ;
64240  atomic_t *__cil_tmp27 ;
64241
64242  {
64243  {
64244#line 396
64245  __cil_tmp11 = (struct page    *)page;
64246#line 396
64247  tmp___2 = PageTail(__cil_tmp11);
64248  }
64249#line 396
64250  if (tmp___2) {
64251#line 396
64252    tmp___3 = 1;
64253  } else {
64254#line 396
64255    tmp___3 = 0;
64256  }
64257  {
64258#line 396
64259  __cil_tmp12 = (long )tmp___3;
64260#line 396
64261  tmp___4 = __builtin_expect(__cil_tmp12, 0L);
64262  }
64263#line 396
64264  if (tmp___4) {
64265    {
64266#line 397
64267    tmp = __get_page_tail(page);
64268    }
64269#line 397
64270    if (tmp) {
64271#line 397
64272      tmp___0 = 1;
64273    } else {
64274#line 397
64275      tmp___0 = 0;
64276    }
64277    {
64278#line 397
64279    __cil_tmp13 = (long )tmp___0;
64280#line 397
64281    tmp___1 = __builtin_expect(__cil_tmp13, 1L);
64282    }
64283#line 397
64284    if (tmp___1) {
64285#line 398
64286      return;
64287    } else {
64288
64289    }
64290  } else {
64291
64292  }
64293  {
64294#line 403
64295  while (1) {
64296    while_continue: /* CIL Label */ ;
64297    {
64298#line 403
64299    __cil_tmp14 = 0 + 4;
64300#line 403
64301    __cil_tmp15 = 8 + __cil_tmp14;
64302#line 403
64303    __cil_tmp16 = 16 + __cil_tmp15;
64304#line 403
64305    __cil_tmp17 = (unsigned long )page;
64306#line 403
64307    __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
64308#line 403
64309    __cil_tmp19 = (atomic_t *)__cil_tmp18;
64310#line 403
64311    __cil_tmp20 = (atomic_t    *)__cil_tmp19;
64312#line 403
64313    tmp___5 = atomic_read(__cil_tmp20);
64314    }
64315#line 403
64316    if (tmp___5 <= 0) {
64317#line 403
64318      tmp___6 = 1;
64319    } else {
64320#line 403
64321      tmp___6 = 0;
64322    }
64323    {
64324#line 403
64325    __cil_tmp21 = (long )tmp___6;
64326#line 403
64327    tmp___7 = __builtin_expect(__cil_tmp21, 0L);
64328    }
64329#line 403
64330    if (tmp___7) {
64331      {
64332#line 403
64333      while (1) {
64334        while_continue___0: /* CIL Label */ ;
64335#line 403
64336        __asm__  volatile   ("1:\tud2\n"
64337                             ".pushsection __bug_table,\"a\"\n"
64338                             "2:\t.long 1b - 2b, %c0 - 2b\n"
64339                             "\t.word %c1, 0\n"
64340                             "\t.org 2b+%c2\n"
64341                             ".popsection": : "i" ("include/linux/mm.h"), "i" (403),
64342                             "i" (12UL));
64343        {
64344#line 403
64345        while (1) {
64346          while_continue___1: /* CIL Label */ ;
64347        }
64348        while_break___1: /* CIL Label */ ;
64349        }
64350#line 403
64351        goto while_break___0;
64352      }
64353      while_break___0: /* CIL Label */ ;
64354      }
64355    } else {
64356
64357    }
64358#line 403
64359    goto while_break;
64360  }
64361  while_break: /* CIL Label */ ;
64362  }
64363  {
64364#line 404
64365  __cil_tmp22 = 0 + 4;
64366#line 404
64367  __cil_tmp23 = 8 + __cil_tmp22;
64368#line 404
64369  __cil_tmp24 = 16 + __cil_tmp23;
64370#line 404
64371  __cil_tmp25 = (unsigned long )page;
64372#line 404
64373  __cil_tmp26 = __cil_tmp25 + __cil_tmp24;
64374#line 404
64375  __cil_tmp27 = (atomic_t *)__cil_tmp26;
64376#line 404
64377  atomic_inc(__cil_tmp27);
64378  }
64379#line 405
64380  return;
64381}
64382}
64383#line 881 "include/linux/device.h"
64384extern int ( /* format attribute */  dev_printk)(char    *level , struct device    *dev ,
64385                                                 char    *fmt  , ...) ;
64386#line 936 "include/linux/blkdev.h"
64387extern int blk_queue_init_tags(struct request_queue * , int  , struct blk_queue_tag * ) ;
64388#line 937
64389extern void blk_queue_free_tags(struct request_queue * ) ;
64390#line 163 "include/scsi/scsi_cmnd.h"
64391__inline static unsigned int scsi_sg_count(struct scsi_cmnd *cmd )  __attribute__((__no_instrument_function__)) ;
64392#line 163 "include/scsi/scsi_cmnd.h"
64393__inline static unsigned int scsi_sg_count(struct scsi_cmnd *cmd ) 
64394{ unsigned long __cil_tmp2 ;
64395  unsigned long __cil_tmp3 ;
64396  unsigned long __cil_tmp4 ;
64397  unsigned long __cil_tmp5 ;
64398
64399  {
64400  {
64401#line 165
64402  __cil_tmp2 = 0 + 8;
64403#line 165
64404  __cil_tmp3 = 88 + __cil_tmp2;
64405#line 165
64406  __cil_tmp4 = (unsigned long )cmd;
64407#line 165
64408  __cil_tmp5 = __cil_tmp4 + __cil_tmp3;
64409#line 165
64410  return (*((unsigned int *)__cil_tmp5));
64411  }
64412}
64413}
64414#line 168
64415__inline static struct scatterlist *scsi_sglist(struct scsi_cmnd *cmd )  __attribute__((__no_instrument_function__)) ;
64416#line 168 "include/scsi/scsi_cmnd.h"
64417__inline static struct scatterlist *scsi_sglist(struct scsi_cmnd *cmd ) 
64418{ unsigned long __cil_tmp2 ;
64419  unsigned long __cil_tmp3 ;
64420
64421  {
64422  {
64423#line 170
64424  __cil_tmp2 = (unsigned long )cmd;
64425#line 170
64426  __cil_tmp3 = __cil_tmp2 + 88;
64427#line 170
64428  return (*((struct scatterlist **)__cil_tmp3));
64429  }
64430}
64431}
64432#line 173
64433__inline static unsigned int scsi_bufflen(struct scsi_cmnd *cmd )  __attribute__((__no_instrument_function__)) ;
64434#line 173 "include/scsi/scsi_cmnd.h"
64435__inline static unsigned int scsi_bufflen(struct scsi_cmnd *cmd ) 
64436{ unsigned long __cil_tmp2 ;
64437  unsigned long __cil_tmp3 ;
64438  unsigned long __cil_tmp4 ;
64439
64440  {
64441  {
64442#line 175
64443  __cil_tmp2 = 88 + 16;
64444#line 175
64445  __cil_tmp3 = (unsigned long )cmd;
64446#line 175
64447  __cil_tmp4 = __cil_tmp3 + __cil_tmp2;
64448#line 175
64449  return (*((unsigned int *)__cil_tmp4));
64450  }
64451}
64452}
64453#line 274 "include/scsi/scsi_device.h"
64454__inline static struct scsi_target *scsi_target(struct scsi_device *sdev )  __attribute__((__no_instrument_function__)) ;
64455#line 274 "include/scsi/scsi_device.h"
64456__inline static struct scsi_target *scsi_target(struct scsi_device *sdev ) 
64457{ struct device    *__mptr ;
64458  unsigned long __cil_tmp3 ;
64459  unsigned long __cil_tmp4 ;
64460  struct device *__cil_tmp5 ;
64461  struct scsi_target *__cil_tmp6 ;
64462  unsigned long __cil_tmp7 ;
64463  unsigned long __cil_tmp8 ;
64464  struct device *__cil_tmp9 ;
64465  unsigned int __cil_tmp10 ;
64466  char *__cil_tmp11 ;
64467  char *__cil_tmp12 ;
64468
64469  {
64470#line 276
64471  __cil_tmp3 = (unsigned long )sdev;
64472#line 276
64473  __cil_tmp4 = __cil_tmp3 + 336;
64474#line 276
64475  __cil_tmp5 = *((struct device **)__cil_tmp4);
64476#line 276
64477  __mptr = (struct device    *)__cil_tmp5;
64478  {
64479#line 276
64480  __cil_tmp6 = (struct scsi_target *)0;
64481#line 276
64482  __cil_tmp7 = (unsigned long )__cil_tmp6;
64483#line 276
64484  __cil_tmp8 = __cil_tmp7 + 40;
64485#line 276
64486  __cil_tmp9 = (struct device *)__cil_tmp8;
64487#line 276
64488  __cil_tmp10 = (unsigned int )__cil_tmp9;
64489#line 276
64490  __cil_tmp11 = (char *)__mptr;
64491#line 276
64492  __cil_tmp12 = __cil_tmp11 - __cil_tmp10;
64493#line 276
64494  return ((struct scsi_target *)__cil_tmp12);
64495  }
64496}
64497}
64498#line 342
64499extern void scsi_adjust_queue_depth(struct scsi_device * , int  , int  ) ;
64500#line 343
64501extern int scsi_track_queue_full(struct scsi_device * , int  ) ;
64502#line 377
64503extern void int_to_scsilun(unsigned int  , struct scsi_lun * ) ;
64504#line 409
64505__inline static unsigned int sdev_id(struct scsi_device *sdev )  __attribute__((__no_instrument_function__)) ;
64506#line 409 "include/scsi/scsi_device.h"
64507__inline static unsigned int sdev_id(struct scsi_device *sdev ) 
64508{ unsigned long __cil_tmp2 ;
64509  unsigned long __cil_tmp3 ;
64510
64511  {
64512  {
64513#line 411
64514  __cil_tmp2 = (unsigned long )sdev;
64515#line 411
64516  __cil_tmp3 = __cil_tmp2 + 152;
64517#line 411
64518  return (*((unsigned int *)__cil_tmp3));
64519  }
64520}
64521}
64522#line 27 "include/scsi/scsi_tcq.h"
64523__inline static int scsi_get_tag_type(struct scsi_device *sdev )  __attribute__((__no_instrument_function__)) ;
64524#line 27 "include/scsi/scsi_tcq.h"
64525__inline static int scsi_get_tag_type(struct scsi_device *sdev ) 
64526{ unsigned int __cil_tmp2 ;
64527
64528  {
64529  {
64530#line 29
64531  __cil_tmp2 = sdev->tagged_supported;
64532#line 29
64533  if (! __cil_tmp2) {
64534#line 30
64535    return (0);
64536  } else {
64537
64538  }
64539  }
64540#line 31
64541  if (sdev->ordered_tags) {
64542#line 32
64543    return (34);
64544  } else {
64545
64546  }
64547#line 33
64548  if (sdev->simple_tags) {
64549#line 34
64550    return (32);
64551  } else {
64552
64553  }
64554#line 35
64555  return (0);
64556}
64557}
64558#line 38
64559__inline static void scsi_set_tag_type(struct scsi_device *sdev , int tag )  __attribute__((__no_instrument_function__)) ;
64560#line 38 "include/scsi/scsi_tcq.h"
64561__inline static void scsi_set_tag_type(struct scsi_device *sdev , int tag ) 
64562{ 
64563
64564  {
64565#line 41
64566  if (tag == 34) {
64567#line 41
64568    goto case_34;
64569  } else
64570#line 44
64571  if (tag == 32) {
64572#line 44
64573    goto case_32;
64574  } else {
64575    {
64576#line 49
64577    goto switch_default;
64578#line 40
64579    if (0) {
64580      case_34: /* CIL Label */ 
64581#line 42
64582      sdev->ordered_tags = 1U;
64583      case_32: /* CIL Label */ 
64584#line 45
64585      sdev->simple_tags = 1U;
64586#line 46
64587      goto switch_break;
64588      switch_default: /* CIL Label */ 
64589#line 50
64590      sdev->ordered_tags = 0U;
64591#line 51
64592      sdev->simple_tags = 0U;
64593#line 52
64594      goto switch_break;
64595    } else {
64596      switch_break: /* CIL Label */ ;
64597    }
64598    }
64599  }
64600#line 54
64601  return;
64602}
64603}
64604#line 65
64605__inline static void scsi_activate_tcq(struct scsi_device *sdev , int depth )  __attribute__((__no_instrument_function__)) ;
64606#line 65 "include/scsi/scsi_tcq.h"
64607__inline static void scsi_activate_tcq(struct scsi_device *sdev , int depth ) 
64608{ int tmp___7 ;
64609  int tmp___9 ;
64610  unsigned int __cil_tmp6 ;
64611  unsigned long __cil_tmp7 ;
64612  unsigned long __cil_tmp8 ;
64613  struct request_queue *__cil_tmp9 ;
64614  unsigned long __cil_tmp10 ;
64615  unsigned long __cil_tmp11 ;
64616  unsigned long *__cil_tmp12 ;
64617  unsigned long  volatile   *__cil_tmp13 ;
64618  unsigned long __cil_tmp14 ;
64619  unsigned long __cil_tmp15 ;
64620  struct request_queue *__cil_tmp16 ;
64621  struct Scsi_Host *__cil_tmp17 ;
64622  unsigned long __cil_tmp18 ;
64623  unsigned long __cil_tmp19 ;
64624  struct blk_queue_tag *__cil_tmp20 ;
64625
64626  {
64627  {
64628#line 67
64629  __cil_tmp6 = sdev->tagged_supported;
64630#line 67
64631  if (! __cil_tmp6) {
64632#line 68
64633    return;
64634  } else {
64635
64636  }
64637  }
64638  {
64639#line 70
64640  __cil_tmp7 = (unsigned long )sdev;
64641#line 70
64642  __cil_tmp8 = __cil_tmp7 + 8;
64643#line 70
64644  __cil_tmp9 = *((struct request_queue **)__cil_tmp8);
64645#line 70
64646  __cil_tmp10 = (unsigned long )__cil_tmp9;
64647#line 70
64648  __cil_tmp11 = __cil_tmp10 + 1144;
64649#line 70
64650  __cil_tmp12 = (unsigned long *)__cil_tmp11;
64651#line 70
64652  __cil_tmp13 = (unsigned long  volatile   *)__cil_tmp12;
64653#line 70
64654  tmp___7 = ant_test_bit(1U, __cil_tmp13);
64655  }
64656#line 70
64657  if (tmp___7) {
64658
64659  } else {
64660    {
64661#line 71
64662    __cil_tmp14 = (unsigned long )sdev;
64663#line 71
64664    __cil_tmp15 = __cil_tmp14 + 8;
64665#line 71
64666    __cil_tmp16 = *((struct request_queue **)__cil_tmp15);
64667#line 71
64668    __cil_tmp17 = *((struct Scsi_Host **)sdev);
64669#line 71
64670    __cil_tmp18 = (unsigned long )__cil_tmp17;
64671#line 71
64672    __cil_tmp19 = __cil_tmp18 + 288;
64673#line 71
64674    __cil_tmp20 = *((struct blk_queue_tag **)__cil_tmp19);
64675#line 71
64676    blk_queue_init_tags(__cil_tmp16, depth, __cil_tmp20);
64677    }
64678  }
64679  {
64680#line 74
64681  tmp___9 = scsi_get_tag_type(sdev);
64682#line 74
64683  scsi_adjust_queue_depth(sdev, tmp___9, depth);
64684  }
64685#line 75
64686  return;
64687}
64688}
64689#line 81
64690__inline static void scsi_deactivate_tcq(struct scsi_device *sdev , int depth )  __attribute__((__no_instrument_function__)) ;
64691#line 81 "include/scsi/scsi_tcq.h"
64692__inline static void scsi_deactivate_tcq(struct scsi_device *sdev , int depth ) 
64693{ int tmp___7 ;
64694  unsigned long __cil_tmp5 ;
64695  unsigned long __cil_tmp6 ;
64696  struct request_queue *__cil_tmp7 ;
64697  unsigned long __cil_tmp8 ;
64698  unsigned long __cil_tmp9 ;
64699  unsigned long *__cil_tmp10 ;
64700  unsigned long  volatile   *__cil_tmp11 ;
64701  unsigned long __cil_tmp12 ;
64702  unsigned long __cil_tmp13 ;
64703  struct request_queue *__cil_tmp14 ;
64704
64705  {
64706  {
64707#line 83
64708  __cil_tmp5 = (unsigned long )sdev;
64709#line 83
64710  __cil_tmp6 = __cil_tmp5 + 8;
64711#line 83
64712  __cil_tmp7 = *((struct request_queue **)__cil_tmp6);
64713#line 83
64714  __cil_tmp8 = (unsigned long )__cil_tmp7;
64715#line 83
64716  __cil_tmp9 = __cil_tmp8 + 1144;
64717#line 83
64718  __cil_tmp10 = (unsigned long *)__cil_tmp9;
64719#line 83
64720  __cil_tmp11 = (unsigned long  volatile   *)__cil_tmp10;
64721#line 83
64722  tmp___7 = ant_test_bit(1U, __cil_tmp11);
64723  }
64724#line 83
64725  if (tmp___7) {
64726    {
64727#line 84
64728    __cil_tmp12 = (unsigned long )sdev;
64729#line 84
64730    __cil_tmp13 = __cil_tmp12 + 8;
64731#line 84
64732    __cil_tmp14 = *((struct request_queue **)__cil_tmp13);
64733#line 84
64734    blk_queue_free_tags(__cil_tmp14);
64735    }
64736  } else {
64737
64738  }
64739  {
64740#line 85
64741  scsi_adjust_queue_depth(sdev, 0, depth);
64742  }
64743#line 86
64744  return;
64745}
64746}
64747#line 172 "include/linux/skbuff.h"
64748__inline static void skb_frag_size_set(skb_frag_t *frag , unsigned int size )  __attribute__((__no_instrument_function__)) ;
64749#line 172 "include/linux/skbuff.h"
64750__inline static void skb_frag_size_set(skb_frag_t *frag , unsigned int size ) 
64751{ unsigned long __cil_tmp3 ;
64752  unsigned long __cil_tmp4 ;
64753
64754  {
64755#line 174
64756  __cil_tmp3 = (unsigned long )frag;
64757#line 174
64758  __cil_tmp4 = __cil_tmp3 + 12;
64759#line 174
64760  *((__u32 *)__cil_tmp4) = size;
64761#line 175
64762  return;
64763}
64764}
64765#line 642
64766__inline static unsigned char *skb_end_pointer(struct sk_buff    *skb )  __attribute__((__no_instrument_function__)) ;
64767#line 642 "include/linux/skbuff.h"
64768__inline static unsigned char *skb_end_pointer(struct sk_buff    *skb ) 
64769{ unsigned long __cil_tmp2 ;
64770  unsigned long __cil_tmp3 ;
64771  sk_buff_data_t    __cil_tmp4 ;
64772  unsigned long __cil_tmp5 ;
64773  unsigned long __cil_tmp6 ;
64774  unsigned char *   __cil_tmp7 ;
64775  unsigned char *   __cil_tmp8 ;
64776
64777  {
64778  {
64779#line 644
64780  __cil_tmp2 = (unsigned long )skb;
64781#line 644
64782  __cil_tmp3 = __cil_tmp2 + 208;
64783#line 644
64784  __cil_tmp4 = *((sk_buff_data_t    *)__cil_tmp3);
64785#line 644
64786  __cil_tmp5 = (unsigned long )skb;
64787#line 644
64788  __cil_tmp6 = __cil_tmp5 + 216;
64789#line 644
64790  __cil_tmp7 = *((unsigned char *   *)__cil_tmp6);
64791#line 644
64792  __cil_tmp8 = __cil_tmp7 + __cil_tmp4;
64793#line 644
64794  return ((unsigned char *)__cil_tmp8);
64795  }
64796}
64797}
64798#line 1217
64799__inline static void __skb_fill_page_desc(struct sk_buff *skb , int i , struct page *page ,
64800                                          int off , int size )  __attribute__((__no_instrument_function__)) ;
64801#line 1217 "include/linux/skbuff.h"
64802__inline static void __skb_fill_page_desc(struct sk_buff *skb , int i , struct page *page ,
64803                                          int off , int size ) 
64804{ skb_frag_t *frag ;
64805  unsigned char *tmp___7 ;
64806  struct sk_buff    *__cil_tmp8 ;
64807  unsigned long __cil_tmp9 ;
64808  unsigned long __cil_tmp10 ;
64809  struct skb_shared_info *__cil_tmp11 ;
64810  unsigned long __cil_tmp12 ;
64811  unsigned long __cil_tmp13 ;
64812  unsigned long __cil_tmp14 ;
64813  unsigned long __cil_tmp15 ;
64814  unsigned int __cil_tmp16 ;
64815
64816  {
64817  {
64818#line 1220
64819  __cil_tmp8 = (struct sk_buff    *)skb;
64820#line 1220
64821  tmp___7 = skb_end_pointer(__cil_tmp8);
64822#line 1220
64823  __cil_tmp9 = i * 16UL;
64824#line 1220
64825  __cil_tmp10 = 48 + __cil_tmp9;
64826#line 1220
64827  __cil_tmp11 = (struct skb_shared_info *)tmp___7;
64828#line 1220
64829  __cil_tmp12 = (unsigned long )__cil_tmp11;
64830#line 1220
64831  __cil_tmp13 = __cil_tmp12 + __cil_tmp10;
64832#line 1220
64833  frag = (skb_frag_t *)__cil_tmp13;
64834#line 1222
64835  *((struct page **)frag) = page;
64836#line 1223
64837  __cil_tmp14 = (unsigned long )frag;
64838#line 1223
64839  __cil_tmp15 = __cil_tmp14 + 8;
64840#line 1223
64841  *((__u32 *)__cil_tmp15) = (__u32 )off;
64842#line 1224
64843  __cil_tmp16 = (unsigned int )size;
64844#line 1224
64845  skb_frag_size_set(frag, __cil_tmp16);
64846  }
64847#line 1225
64848  return;
64849}
64850}
64851#line 1241
64852__inline static void skb_fill_page_desc(struct sk_buff *skb , int i , struct page *page ,
64853                                        int off , int size )  __attribute__((__no_instrument_function__)) ;
64854#line 1241 "include/linux/skbuff.h"
64855__inline static void skb_fill_page_desc(struct sk_buff *skb , int i , struct page *page ,
64856                                        int off , int size ) 
64857{ unsigned char *tmp___7 ;
64858  struct sk_buff    *__cil_tmp7 ;
64859  struct skb_shared_info *__cil_tmp8 ;
64860  int __cil_tmp9 ;
64861
64862  {
64863  {
64864#line 1244
64865  __skb_fill_page_desc(skb, i, page, off, size);
64866#line 1245
64867  __cil_tmp7 = (struct sk_buff    *)skb;
64868#line 1245
64869  tmp___7 = skb_end_pointer(__cil_tmp7);
64870#line 1245
64871  __cil_tmp8 = (struct skb_shared_info *)tmp___7;
64872#line 1245
64873  __cil_tmp9 = i + 1;
64874#line 1245
64875  *((unsigned char *)__cil_tmp8) = (unsigned char )__cil_tmp9;
64876  }
64877#line 1246
64878  return;
64879}
64880}
64881#line 753 "include/scsi/scsi_transport_fc.h"
64882__inline static int fc_remote_port_chkready(struct fc_rport *rport )  __attribute__((__no_instrument_function__)) ;
64883#line 753 "include/scsi/scsi_transport_fc.h"
64884__inline static int fc_remote_port_chkready(struct fc_rport *rport ) 
64885{ int result ;
64886  unsigned long __cil_tmp3 ;
64887  unsigned long __cil_tmp4 ;
64888  enum fc_port_state __cil_tmp5 ;
64889  unsigned long __cil_tmp6 ;
64890  unsigned long __cil_tmp7 ;
64891  u32 __cil_tmp8 ;
64892  unsigned long __cil_tmp9 ;
64893  unsigned long __cil_tmp10 ;
64894  u8 __cil_tmp11 ;
64895  int __cil_tmp12 ;
64896  unsigned long __cil_tmp13 ;
64897  unsigned long __cil_tmp14 ;
64898  u8 __cil_tmp15 ;
64899  int __cil_tmp16 ;
64900
64901  {
64902  {
64903#line 758
64904  __cil_tmp3 = (unsigned long )rport;
64905#line 758
64906  __cil_tmp4 = __cil_tmp3 + 40;
64907#line 758
64908  __cil_tmp5 = *((enum fc_port_state *)__cil_tmp4);
64909#line 759
64910  if ((int )__cil_tmp5 == 2) {
64911#line 759
64912    goto case_2;
64913  } else
64914#line 767
64915  if ((int )__cil_tmp5 == 4) {
64916#line 767
64917    goto case_4;
64918  } else {
64919    {
64920#line 773
64921    goto switch_default;
64922#line 758
64923    if (0) {
64924      case_2: /* CIL Label */ 
64925      {
64926#line 760
64927      __cil_tmp6 = (unsigned long )rport;
64928#line 760
64929      __cil_tmp7 = __cil_tmp6 + 36;
64930#line 760
64931      __cil_tmp8 = *((u32 *)__cil_tmp7);
64932#line 760
64933      if (__cil_tmp8 & 1U) {
64934#line 761
64935        result = 0;
64936      } else {
64937        {
64938#line 762
64939        __cil_tmp9 = (unsigned long )rport;
64940#line 762
64941        __cil_tmp10 = __cil_tmp9 + 72;
64942#line 762
64943        __cil_tmp11 = *((u8 *)__cil_tmp10);
64944#line 762
64945        __cil_tmp12 = (int )__cil_tmp11;
64946#line 762
64947        if (__cil_tmp12 & 1) {
64948#line 763
64949          result = 12 << 16;
64950        } else {
64951#line 765
64952          result = 1 << 16;
64953        }
64954        }
64955      }
64956      }
64957#line 766
64958      goto switch_break;
64959      case_4: /* CIL Label */ 
64960      {
64961#line 768
64962      __cil_tmp13 = (unsigned long )rport;
64963#line 768
64964      __cil_tmp14 = __cil_tmp13 + 72;
64965#line 768
64966      __cil_tmp15 = *((u8 *)__cil_tmp14);
64967#line 768
64968      __cil_tmp16 = (int )__cil_tmp15;
64969#line 768
64970      if (__cil_tmp16 & 4) {
64971#line 769
64972        result = 15 << 16;
64973      } else {
64974#line 771
64975        result = 12 << 16;
64976      }
64977      }
64978#line 772
64979      goto switch_break;
64980      switch_default: /* CIL Label */ 
64981#line 774
64982      result = 1 << 16;
64983#line 775
64984      goto switch_break;
64985    } else {
64986      switch_break: /* CIL Label */ ;
64987    }
64988    }
64989  }
64990  }
64991#line 777
64992  return (result);
64993}
64994}
64995#line 828
64996extern int scsi_is_fc_rport(struct device    * ) ;
64997#line 841
64998extern int fc_block_scsi_eh(struct scsi_cmnd *cmnd ) ;
64999#line 1082 "include/scsi/libfc.h"
65000int fc_fcp_init(struct fc_lport *lport ) ;
65001#line 1083
65002void fc_fcp_destroy(struct fc_lport *lport ) ;
65003#line 1088
65004int fc_queuecommand(struct Scsi_Host *shost , struct scsi_cmnd *sc_cmd ) ;
65005#line 1089
65006int fc_eh_abort(struct scsi_cmnd *sc_cmd ) ;
65007#line 1090
65008int fc_eh_device_reset(struct scsi_cmnd *sc_cmd ) ;
65009#line 1091
65010int fc_eh_host_reset(struct scsi_cmnd *sc_cmd ) ;
65011#line 1092
65012int fc_slave_alloc(struct scsi_device *sdev ) ;
65013#line 1093
65014int fc_change_queue_depth(struct scsi_device *sdev , int qdepth , int reason ) ;
65015#line 1094
65016int fc_change_queue_type(struct scsi_device *sdev , int tag_type ) ;
65017#line 45 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65018static struct kmem_cache *scsi_pkt_cachep  ;
65019#line 93
65020static void fc_fcp_recv_data(struct fc_fcp_pkt *fsp , struct fc_frame *fp ) ;
65021#line 94
65022static void fc_fcp_recv(struct fc_seq *seq , struct fc_frame *fp , void *arg ) ;
65023#line 95
65024static void fc_fcp_resp(struct fc_fcp_pkt *fsp , struct fc_frame *fp ) ;
65025#line 96
65026static void fc_fcp_complete_locked(struct fc_fcp_pkt *fsp ) ;
65027#line 97
65028static void fc_tm_done(struct fc_seq *seq , struct fc_frame *fp , void *arg ) ;
65029#line 98
65030static void fc_fcp_error(struct fc_fcp_pkt *fsp , struct fc_frame *fp ) ;
65031#line 99
65032static void fc_fcp_recovery(struct fc_fcp_pkt *fsp , u8 code ) ;
65033#line 100
65034static void fc_fcp_timeout(unsigned long data ) ;
65035#line 101
65036static void fc_fcp_rec(struct fc_fcp_pkt *fsp ) ;
65037#line 102
65038static void fc_fcp_rec_error(struct fc_fcp_pkt *fsp , struct fc_frame *fp ) ;
65039#line 103
65040static void fc_fcp_rec_resp(struct fc_seq *seq , struct fc_frame *fp , void *arg ) ;
65041#line 104
65042static void fc_io_compl(struct fc_fcp_pkt *fsp ) ;
65043#line 106
65044static void fc_fcp_srr(struct fc_fcp_pkt *fsp , enum fc_rctl r_ctl , u32 offset ) ;
65045#line 107
65046static void fc_fcp_srr_resp(struct fc_seq *seq , struct fc_frame *fp , void *arg ) ;
65047#line 108
65048static void fc_fcp_srr_error(struct fc_fcp_pkt *fsp , struct fc_frame *fp ) ;
65049#line 160 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65050static struct lock_class_key __key___10  ;
65051#line 146 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65052static struct fc_fcp_pkt *fc_fcp_pkt_alloc(struct fc_lport *lport , gfp_t gfp ) 
65053{ struct fc_fcp_internal *si ;
65054  struct fc_fcp_pkt *fsp ;
65055  void *tmp___7 ;
65056  unsigned long __cil_tmp6 ;
65057  unsigned long __cil_tmp7 ;
65058  void *__cil_tmp8 ;
65059  mempool_t *__cil_tmp9 ;
65060  void *__cil_tmp10 ;
65061  unsigned long __cil_tmp11 ;
65062  unsigned long __cil_tmp12 ;
65063  unsigned long __cil_tmp13 ;
65064  unsigned long __cil_tmp14 ;
65065  unsigned long __cil_tmp15 ;
65066  unsigned long __cil_tmp16 ;
65067  atomic_t *__cil_tmp17 ;
65068  unsigned long __cil_tmp18 ;
65069  unsigned long __cil_tmp19 ;
65070  struct timer_list *__cil_tmp20 ;
65071  void *__cil_tmp21 ;
65072  char    *__cil_tmp22 ;
65073  void *__cil_tmp23 ;
65074  struct lock_class_key *__cil_tmp24 ;
65075  unsigned long __cil_tmp25 ;
65076  unsigned long __cil_tmp26 ;
65077  unsigned long __cil_tmp27 ;
65078  unsigned long __cil_tmp28 ;
65079  unsigned long __cil_tmp29 ;
65080  struct list_head *__cil_tmp30 ;
65081  spinlock_t *__cil_tmp31 ;
65082  struct raw_spinlock *__cil_tmp32 ;
65083
65084  {
65085  {
65086#line 148
65087  __cil_tmp6 = (unsigned long )lport;
65088#line 148
65089  __cil_tmp7 = __cil_tmp6 + 48;
65090#line 148
65091  __cil_tmp8 = *((void **)__cil_tmp7);
65092#line 148
65093  si = (struct fc_fcp_internal *)__cil_tmp8;
65094#line 151
65095  __cil_tmp9 = *((mempool_t **)si);
65096#line 151
65097  tmp___7 = mempool_alloc(__cil_tmp9, gfp);
65098#line 151
65099  fsp = (struct fc_fcp_pkt *)tmp___7;
65100  }
65101#line 152
65102  if (fsp) {
65103    {
65104#line 153
65105    __cil_tmp10 = (void *)fsp;
65106#line 153
65107    memset(__cil_tmp10, 0, 320UL);
65108#line 154
65109    __cil_tmp11 = (unsigned long )fsp;
65110#line 154
65111    __cil_tmp12 = __cil_tmp11 + 56;
65112#line 154
65113    *((struct fc_lport **)__cil_tmp12) = lport;
65114#line 155
65115    __cil_tmp13 = (unsigned long )fsp;
65116#line 155
65117    __cil_tmp14 = __cil_tmp13 + 126;
65118#line 155
65119    *((u16 *)__cil_tmp14) = (u16 )65535;
65120#line 156
65121    __cil_tmp15 = (unsigned long )fsp;
65122#line 156
65123    __cil_tmp16 = __cil_tmp15 + 24;
65124#line 156
65125    __cil_tmp17 = (atomic_t *)__cil_tmp16;
65126#line 156
65127    atomic_set(__cil_tmp17, 1);
65128#line 157
65129    __cil_tmp18 = (unsigned long )fsp;
65130#line 157
65131    __cil_tmp19 = __cil_tmp18 + 144;
65132#line 157
65133    __cil_tmp20 = (struct timer_list *)__cil_tmp19;
65134#line 157
65135    __cil_tmp21 = (void *)0;
65136#line 157
65137    __cil_tmp22 = (char    *)__cil_tmp21;
65138#line 157
65139    __cil_tmp23 = (void *)0;
65140#line 157
65141    __cil_tmp24 = (struct lock_class_key *)__cil_tmp23;
65142#line 157
65143    init_timer_key(__cil_tmp20, __cil_tmp22, __cil_tmp24);
65144#line 158
65145    __cil_tmp25 = 144 + 40;
65146#line 158
65147    __cil_tmp26 = (unsigned long )fsp;
65148#line 158
65149    __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
65150#line 158
65151    *((unsigned long *)__cil_tmp27) = (unsigned long )fsp;
65152#line 159
65153    __cil_tmp28 = (unsigned long )fsp;
65154#line 159
65155    __cil_tmp29 = __cil_tmp28 + 40;
65156#line 159
65157    __cil_tmp30 = (struct list_head *)__cil_tmp29;
65158#line 159
65159    INIT_LIST_HEAD(__cil_tmp30);
65160    }
65161    {
65162#line 160
65163    while (1) {
65164      while_continue: /* CIL Label */ ;
65165      {
65166#line 160
65167      __cil_tmp31 = (spinlock_t *)fsp;
65168#line 160
65169      spinlock_check(__cil_tmp31);
65170      }
65171      {
65172#line 160
65173      while (1) {
65174        while_continue___0: /* CIL Label */ ;
65175        {
65176#line 160
65177        __cil_tmp32 = (struct raw_spinlock *)fsp;
65178#line 160
65179        __raw_spin_lock_init(__cil_tmp32, "&(&fsp->scsi_pkt_lock)->rlock", & __key___10);
65180        }
65181#line 160
65182        goto while_break___0;
65183      }
65184      while_break___0: /* CIL Label */ ;
65185      }
65186#line 160
65187      goto while_break;
65188    }
65189    while_break: /* CIL Label */ ;
65190    }
65191  } else {
65192
65193  }
65194#line 162
65195  return (fsp);
65196}
65197}
65198#line 172 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65199static void fc_fcp_pkt_release(struct fc_fcp_pkt *fsp ) 
65200{ struct fc_fcp_internal *si ;
65201  int tmp___7 ;
65202  unsigned long __cil_tmp4 ;
65203  unsigned long __cil_tmp5 ;
65204  atomic_t *__cil_tmp6 ;
65205  unsigned long __cil_tmp7 ;
65206  unsigned long __cil_tmp8 ;
65207  struct fc_lport *__cil_tmp9 ;
65208  unsigned long __cil_tmp10 ;
65209  unsigned long __cil_tmp11 ;
65210  void *__cil_tmp12 ;
65211  void *__cil_tmp13 ;
65212  mempool_t *__cil_tmp14 ;
65213
65214  {
65215  {
65216#line 174
65217  __cil_tmp4 = (unsigned long )fsp;
65218#line 174
65219  __cil_tmp5 = __cil_tmp4 + 24;
65220#line 174
65221  __cil_tmp6 = (atomic_t *)__cil_tmp5;
65222#line 174
65223  tmp___7 = atomic_dec_and_test(__cil_tmp6);
65224  }
65225#line 174
65226  if (tmp___7) {
65227    {
65228#line 175
65229    __cil_tmp7 = (unsigned long )fsp;
65230#line 175
65231    __cil_tmp8 = __cil_tmp7 + 56;
65232#line 175
65233    __cil_tmp9 = *((struct fc_lport **)__cil_tmp8);
65234#line 175
65235    __cil_tmp10 = (unsigned long )__cil_tmp9;
65236#line 175
65237    __cil_tmp11 = __cil_tmp10 + 48;
65238#line 175
65239    __cil_tmp12 = *((void **)__cil_tmp11);
65240#line 175
65241    si = (struct fc_fcp_internal *)__cil_tmp12;
65242#line 177
65243    __cil_tmp13 = (void *)fsp;
65244#line 177
65245    __cil_tmp14 = *((mempool_t **)si);
65246#line 177
65247    mempool_free(__cil_tmp13, __cil_tmp14);
65248    }
65249  } else {
65250
65251  }
65252#line 179
65253  return;
65254}
65255}
65256#line 185 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65257static void fc_fcp_pkt_hold(struct fc_fcp_pkt *fsp ) 
65258{ unsigned long __cil_tmp2 ;
65259  unsigned long __cil_tmp3 ;
65260  atomic_t *__cil_tmp4 ;
65261
65262  {
65263  {
65264#line 187
65265  __cil_tmp2 = (unsigned long )fsp;
65266#line 187
65267  __cil_tmp3 = __cil_tmp2 + 24;
65268#line 187
65269  __cil_tmp4 = (atomic_t *)__cil_tmp3;
65270#line 187
65271  atomic_inc(__cil_tmp4);
65272  }
65273#line 188
65274  return;
65275}
65276}
65277#line 201 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65278static void fc_fcp_pkt_destroy(struct fc_seq *seq , void *fsp ) 
65279{ struct fc_fcp_pkt *__cil_tmp3 ;
65280
65281  {
65282  {
65283#line 203
65284  __cil_tmp3 = (struct fc_fcp_pkt *)fsp;
65285#line 203
65286  fc_fcp_pkt_release(__cil_tmp3);
65287  }
65288#line 204
65289  return;
65290}
65291}
65292#line 223
65293__inline static int fc_fcp_lock_pkt(struct fc_fcp_pkt *fsp )  __attribute__((__no_instrument_function__)) ;
65294#line 223 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65295__inline static int fc_fcp_lock_pkt(struct fc_fcp_pkt *fsp ) 
65296{ spinlock_t *__cil_tmp2 ;
65297  int __cil_tmp3 ;
65298  unsigned long __cil_tmp4 ;
65299  unsigned long __cil_tmp5 ;
65300  u8 __cil_tmp6 ;
65301  int __cil_tmp7 ;
65302  spinlock_t *__cil_tmp8 ;
65303
65304  {
65305  {
65306#line 225
65307  __cil_tmp2 = (spinlock_t *)fsp;
65308#line 225
65309  spin_lock_bh(__cil_tmp2);
65310  }
65311  {
65312#line 226
65313  __cil_tmp3 = 1 << 5;
65314#line 226
65315  __cil_tmp4 = (unsigned long )fsp;
65316#line 226
65317  __cil_tmp5 = __cil_tmp4 + 64;
65318#line 226
65319  __cil_tmp6 = *((u8 *)__cil_tmp5);
65320#line 226
65321  __cil_tmp7 = (int )__cil_tmp6;
65322#line 226
65323  if (__cil_tmp7 & __cil_tmp3) {
65324    {
65325#line 227
65326    __cil_tmp8 = (spinlock_t *)fsp;
65327#line 227
65328    spin_unlock_bh(__cil_tmp8);
65329    }
65330#line 228
65331    return (-1);
65332  } else {
65333
65334  }
65335  }
65336  {
65337#line 231
65338  fc_fcp_pkt_hold(fsp);
65339  }
65340#line 232
65341  return (0);
65342}
65343}
65344#line 240
65345__inline static void fc_fcp_unlock_pkt(struct fc_fcp_pkt *fsp )  __attribute__((__no_instrument_function__)) ;
65346#line 240 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65347__inline static void fc_fcp_unlock_pkt(struct fc_fcp_pkt *fsp ) 
65348{ spinlock_t *__cil_tmp2 ;
65349
65350  {
65351  {
65352#line 242
65353  __cil_tmp2 = (spinlock_t *)fsp;
65354#line 242
65355  spin_unlock_bh(__cil_tmp2);
65356#line 243
65357  fc_fcp_pkt_release(fsp);
65358  }
65359#line 244
65360  return;
65361}
65362}
65363#line 251 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65364static void fc_fcp_timer_set(struct fc_fcp_pkt *fsp , unsigned long delay ) 
65365{ int __cil_tmp3 ;
65366  unsigned long __cil_tmp4 ;
65367  unsigned long __cil_tmp5 ;
65368  u8 __cil_tmp6 ;
65369  int __cil_tmp7 ;
65370  int __cil_tmp8 ;
65371  unsigned long __cil_tmp9 ;
65372  unsigned long __cil_tmp10 ;
65373  struct timer_list *__cil_tmp11 ;
65374  unsigned long volatile   __cil_tmp12 ;
65375  unsigned long volatile   __cil_tmp13 ;
65376  unsigned long __cil_tmp14 ;
65377
65378  {
65379  {
65380#line 253
65381  __cil_tmp3 = 1 << 5;
65382#line 253
65383  __cil_tmp4 = (unsigned long )fsp;
65384#line 253
65385  __cil_tmp5 = __cil_tmp4 + 64;
65386#line 253
65387  __cil_tmp6 = *((u8 *)__cil_tmp5);
65388#line 253
65389  __cil_tmp7 = (int )__cil_tmp6;
65390#line 253
65391  __cil_tmp8 = __cil_tmp7 & __cil_tmp3;
65392#line 253
65393  if (! __cil_tmp8) {
65394    {
65395#line 254
65396    __cil_tmp9 = (unsigned long )fsp;
65397#line 254
65398    __cil_tmp10 = __cil_tmp9 + 144;
65399#line 254
65400    __cil_tmp11 = (struct timer_list *)__cil_tmp10;
65401#line 254
65402    __cil_tmp12 = (unsigned long volatile   )delay;
65403#line 254
65404    __cil_tmp13 = jiffies + __cil_tmp12;
65405#line 254
65406    __cil_tmp14 = (unsigned long )__cil_tmp13;
65407#line 254
65408    mod_timer(__cil_tmp11, __cil_tmp14);
65409    }
65410  } else {
65411
65412  }
65413  }
65414#line 255
65415  return;
65416}
65417}
65418#line 262 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65419static int fc_fcp_send_abort(struct fc_fcp_pkt *fsp ) 
65420{ int tmp___7 ;
65421  unsigned long __cil_tmp3 ;
65422  unsigned long __cil_tmp4 ;
65423  struct fc_seq *__cil_tmp5 ;
65424  unsigned long __cil_tmp6 ;
65425  unsigned long __cil_tmp7 ;
65426  int __cil_tmp8 ;
65427  unsigned long __cil_tmp9 ;
65428  unsigned long __cil_tmp10 ;
65429  u8 __cil_tmp11 ;
65430  int __cil_tmp12 ;
65431  int __cil_tmp13 ;
65432  unsigned long __cil_tmp14 ;
65433  unsigned long __cil_tmp15 ;
65434  unsigned long __cil_tmp16 ;
65435  struct fc_lport *__cil_tmp17 ;
65436  unsigned long __cil_tmp18 ;
65437  unsigned long __cil_tmp19 ;
65438  int (*__cil_tmp20)(struct fc_seq    * , unsigned int timer_msec ) ;
65439  unsigned long __cil_tmp21 ;
65440  unsigned long __cil_tmp22 ;
65441  struct fc_seq *__cil_tmp23 ;
65442  struct fc_seq    *__cil_tmp24 ;
65443
65444  {
65445  {
65446#line 264
65447  __cil_tmp3 = (unsigned long )fsp;
65448#line 264
65449  __cil_tmp4 = __cil_tmp3 + 136;
65450#line 264
65451  __cil_tmp5 = *((struct fc_seq **)__cil_tmp4);
65452#line 264
65453  if (! __cil_tmp5) {
65454#line 265
65455    return (-22);
65456  } else {
65457
65458  }
65459  }
65460  {
65461#line 267
65462  __cil_tmp6 = (unsigned long )fsp;
65463#line 267
65464  __cil_tmp7 = __cil_tmp6 + 64;
65465#line 267
65466  __cil_tmp8 = 1 << 2;
65467#line 267
65468  __cil_tmp9 = (unsigned long )fsp;
65469#line 267
65470  __cil_tmp10 = __cil_tmp9 + 64;
65471#line 267
65472  __cil_tmp11 = *((u8 *)__cil_tmp10);
65473#line 267
65474  __cil_tmp12 = (int )__cil_tmp11;
65475#line 267
65476  __cil_tmp13 = __cil_tmp12 | __cil_tmp8;
65477#line 267
65478  *((u8 *)__cil_tmp7) = (u8 )__cil_tmp13;
65479#line 268
65480  __cil_tmp14 = 328 + 72;
65481#line 268
65482  __cil_tmp15 = (unsigned long )fsp;
65483#line 268
65484  __cil_tmp16 = __cil_tmp15 + 56;
65485#line 268
65486  __cil_tmp17 = *((struct fc_lport **)__cil_tmp16);
65487#line 268
65488  __cil_tmp18 = (unsigned long )__cil_tmp17;
65489#line 268
65490  __cil_tmp19 = __cil_tmp18 + __cil_tmp14;
65491#line 268
65492  __cil_tmp20 = *((int (**)(struct fc_seq    * , unsigned int timer_msec ))__cil_tmp19);
65493#line 268
65494  __cil_tmp21 = (unsigned long )fsp;
65495#line 268
65496  __cil_tmp22 = __cil_tmp21 + 136;
65497#line 268
65498  __cil_tmp23 = *((struct fc_seq **)__cil_tmp22);
65499#line 268
65500  __cil_tmp24 = (struct fc_seq    *)__cil_tmp23;
65501#line 268
65502  tmp___7 = (*__cil_tmp20)(__cil_tmp24, 0U);
65503  }
65504#line 268
65505  return (tmp___7);
65506}
65507}
65508#line 280 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65509static void fc_fcp_retry_cmd(struct fc_fcp_pkt *fsp ) 
65510{ unsigned long __cil_tmp2 ;
65511  unsigned long __cil_tmp3 ;
65512  unsigned long __cil_tmp4 ;
65513  unsigned long __cil_tmp5 ;
65514  unsigned long __cil_tmp6 ;
65515  struct fc_lport *__cil_tmp7 ;
65516  unsigned long __cil_tmp8 ;
65517  unsigned long __cil_tmp9 ;
65518  void (*__cil_tmp10)(struct fc_seq * ) ;
65519  unsigned long __cil_tmp11 ;
65520  unsigned long __cil_tmp12 ;
65521  struct fc_seq *__cil_tmp13 ;
65522  unsigned long __cil_tmp14 ;
65523  unsigned long __cil_tmp15 ;
65524  void *__cil_tmp16 ;
65525  unsigned long __cil_tmp17 ;
65526  unsigned long __cil_tmp18 ;
65527  int __cil_tmp19 ;
65528  int __cil_tmp20 ;
65529  unsigned long __cil_tmp21 ;
65530  unsigned long __cil_tmp22 ;
65531  u8 __cil_tmp23 ;
65532  int __cil_tmp24 ;
65533  int __cil_tmp25 ;
65534  unsigned long __cil_tmp26 ;
65535  unsigned long __cil_tmp27 ;
65536  unsigned long __cil_tmp28 ;
65537  unsigned long __cil_tmp29 ;
65538
65539  {
65540  {
65541#line 282
65542  __cil_tmp2 = (unsigned long )fsp;
65543#line 282
65544  __cil_tmp3 = __cil_tmp2 + 136;
65545#line 282
65546  if (*((struct fc_seq **)__cil_tmp3)) {
65547    {
65548#line 283
65549    __cil_tmp4 = 328 + 80;
65550#line 283
65551    __cil_tmp5 = (unsigned long )fsp;
65552#line 283
65553    __cil_tmp6 = __cil_tmp5 + 56;
65554#line 283
65555    __cil_tmp7 = *((struct fc_lport **)__cil_tmp6);
65556#line 283
65557    __cil_tmp8 = (unsigned long )__cil_tmp7;
65558#line 283
65559    __cil_tmp9 = __cil_tmp8 + __cil_tmp4;
65560#line 283
65561    __cil_tmp10 = *((void (**)(struct fc_seq * ))__cil_tmp9);
65562#line 283
65563    __cil_tmp11 = (unsigned long )fsp;
65564#line 283
65565    __cil_tmp12 = __cil_tmp11 + 136;
65566#line 283
65567    __cil_tmp13 = *((struct fc_seq **)__cil_tmp12);
65568#line 283
65569    (*__cil_tmp10)(__cil_tmp13);
65570#line 284
65571    __cil_tmp14 = (unsigned long )fsp;
65572#line 284
65573    __cil_tmp15 = __cil_tmp14 + 136;
65574#line 284
65575    __cil_tmp16 = (void *)0;
65576#line 284
65577    *((struct fc_seq **)__cil_tmp15) = (struct fc_seq *)__cil_tmp16;
65578    }
65579  } else {
65580
65581  }
65582  }
65583  {
65584#line 287
65585  __cil_tmp17 = (unsigned long )fsp;
65586#line 287
65587  __cil_tmp18 = __cil_tmp17 + 64;
65588#line 287
65589  __cil_tmp19 = 1 << 2;
65590#line 287
65591  __cil_tmp20 = ~ __cil_tmp19;
65592#line 287
65593  __cil_tmp21 = (unsigned long )fsp;
65594#line 287
65595  __cil_tmp22 = __cil_tmp21 + 64;
65596#line 287
65597  __cil_tmp23 = *((u8 *)__cil_tmp22);
65598#line 287
65599  __cil_tmp24 = (int )__cil_tmp23;
65600#line 287
65601  __cil_tmp25 = __cil_tmp24 & __cil_tmp20;
65602#line 287
65603  *((u8 *)__cil_tmp18) = (u8 )__cil_tmp25;
65604#line 288
65605  __cil_tmp26 = (unsigned long )fsp;
65606#line 288
65607  __cil_tmp27 = __cil_tmp26 + 68;
65608#line 288
65609  *((u32 *)__cil_tmp27) = (u32 )0;
65610#line 289
65611  __cil_tmp28 = (unsigned long )fsp;
65612#line 289
65613  __cil_tmp29 = __cil_tmp28 + 66;
65614#line 289
65615  *((u8 *)__cil_tmp29) = (u8 )8;
65616#line 290
65617  fc_fcp_complete_locked(fsp);
65618  }
65619#line 291
65620  return;
65621}
65622}
65623#line 298 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65624void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp , u16 xid ) 
65625{ struct fc_lport *lport ;
65626  unsigned int tmp___7 ;
65627  struct scatterlist *tmp___8 ;
65628  int tmp___9 ;
65629  unsigned long __cil_tmp7 ;
65630  unsigned long __cil_tmp8 ;
65631  int __cil_tmp9 ;
65632  unsigned int __cil_tmp10 ;
65633  unsigned long __cil_tmp11 ;
65634  unsigned long __cil_tmp12 ;
65635  u32 __cil_tmp13 ;
65636  unsigned long __cil_tmp14 ;
65637  unsigned long __cil_tmp15 ;
65638  unsigned long __cil_tmp16 ;
65639  unsigned long __cil_tmp17 ;
65640  unsigned long __cil_tmp18 ;
65641  struct scsi_cmnd *__cil_tmp19 ;
65642  unsigned long __cil_tmp20 ;
65643  unsigned long __cil_tmp21 ;
65644  struct scsi_cmnd *__cil_tmp22 ;
65645  unsigned long __cil_tmp23 ;
65646  unsigned long __cil_tmp24 ;
65647  unsigned long __cil_tmp25 ;
65648  int (*__cil_tmp26)(struct fc_lport * , u16  , struct scatterlist * , unsigned int  ) ;
65649  unsigned long __cil_tmp27 ;
65650  unsigned long __cil_tmp28 ;
65651
65652  {
65653#line 302
65654  __cil_tmp7 = (unsigned long )fsp;
65655#line 302
65656  __cil_tmp8 = __cil_tmp7 + 56;
65657#line 302
65658  lport = *((struct fc_lport **)__cil_tmp8);
65659  {
65660#line 303
65661  __cil_tmp9 = 1 << 1;
65662#line 303
65663  __cil_tmp10 = (unsigned int )__cil_tmp9;
65664#line 303
65665  __cil_tmp11 = (unsigned long )fsp;
65666#line 303
65667  __cil_tmp12 = __cil_tmp11 + 72;
65668#line 303
65669  __cil_tmp13 = *((u32 *)__cil_tmp12);
65670#line 303
65671  if (__cil_tmp13 & __cil_tmp10) {
65672#line 303
65673    if (lport->lro_enabled) {
65674      {
65675#line 303
65676      __cil_tmp14 = 328 + 24;
65677#line 303
65678      __cil_tmp15 = (unsigned long )lport;
65679#line 303
65680      __cil_tmp16 = __cil_tmp15 + __cil_tmp14;
65681#line 303
65682      if (*((int (**)(struct fc_lport * , u16  , struct scatterlist * , unsigned int  ))__cil_tmp16)) {
65683        {
65684#line 305
65685        __cil_tmp17 = (unsigned long )fsp;
65686#line 305
65687        __cil_tmp18 = __cil_tmp17 + 32;
65688#line 305
65689        __cil_tmp19 = *((struct scsi_cmnd **)__cil_tmp18);
65690#line 305
65691        tmp___7 = scsi_sg_count(__cil_tmp19);
65692#line 305
65693        __cil_tmp20 = (unsigned long )fsp;
65694#line 305
65695        __cil_tmp21 = __cil_tmp20 + 32;
65696#line 305
65697        __cil_tmp22 = *((struct scsi_cmnd **)__cil_tmp21);
65698#line 305
65699        tmp___8 = scsi_sglist(__cil_tmp22);
65700#line 305
65701        __cil_tmp23 = 328 + 24;
65702#line 305
65703        __cil_tmp24 = (unsigned long )lport;
65704#line 305
65705        __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
65706#line 305
65707        __cil_tmp26 = *((int (**)(struct fc_lport * , u16  , struct scatterlist * ,
65708                                  unsigned int  ))__cil_tmp25);
65709#line 305
65710        tmp___9 = (*__cil_tmp26)(lport, xid, tmp___8, tmp___7);
65711        }
65712#line 305
65713        if (tmp___9) {
65714#line 307
65715          __cil_tmp27 = (unsigned long )fsp;
65716#line 307
65717          __cil_tmp28 = __cil_tmp27 + 126;
65718#line 307
65719          *((u16 *)__cil_tmp28) = xid;
65720        } else {
65721
65722        }
65723      } else {
65724
65725      }
65726      }
65727    } else {
65728
65729    }
65730  } else {
65731
65732  }
65733  }
65734#line 309
65735  return;
65736}
65737}
65738#line 316 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65739void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp ) 
65740{ struct fc_lport *lport ;
65741  int tmp___7 ;
65742  unsigned long __cil_tmp4 ;
65743  unsigned long __cil_tmp5 ;
65744  u16 __cil_tmp6 ;
65745  int __cil_tmp7 ;
65746  unsigned long __cil_tmp8 ;
65747  unsigned long __cil_tmp9 ;
65748  unsigned long __cil_tmp10 ;
65749  unsigned long __cil_tmp11 ;
65750  unsigned long __cil_tmp12 ;
65751  unsigned long __cil_tmp13 ;
65752  unsigned long __cil_tmp14 ;
65753  unsigned long __cil_tmp15 ;
65754  int (*__cil_tmp16)(struct fc_lport * , u16  ) ;
65755  unsigned long __cil_tmp17 ;
65756  unsigned long __cil_tmp18 ;
65757  u16 __cil_tmp19 ;
65758  unsigned long __cil_tmp20 ;
65759  unsigned long __cil_tmp21 ;
65760  unsigned long __cil_tmp22 ;
65761  unsigned long __cil_tmp23 ;
65762
65763  {
65764#line 320
65765  if (! fsp) {
65766#line 321
65767    return;
65768  } else {
65769
65770  }
65771  {
65772#line 323
65773  __cil_tmp4 = (unsigned long )fsp;
65774#line 323
65775  __cil_tmp5 = __cil_tmp4 + 126;
65776#line 323
65777  __cil_tmp6 = *((u16 *)__cil_tmp5);
65778#line 323
65779  __cil_tmp7 = (int )__cil_tmp6;
65780#line 323
65781  if (__cil_tmp7 == 65535) {
65782#line 324
65783    return;
65784  } else {
65785
65786  }
65787  }
65788#line 326
65789  __cil_tmp8 = (unsigned long )fsp;
65790#line 326
65791  __cil_tmp9 = __cil_tmp8 + 56;
65792#line 326
65793  lport = *((struct fc_lport **)__cil_tmp9);
65794  {
65795#line 327
65796  __cil_tmp10 = 328 + 32;
65797#line 327
65798  __cil_tmp11 = (unsigned long )lport;
65799#line 327
65800  __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
65801#line 327
65802  if (*((int (**)(struct fc_lport * , u16  ))__cil_tmp12)) {
65803    {
65804#line 328
65805    __cil_tmp13 = 328 + 32;
65806#line 328
65807    __cil_tmp14 = (unsigned long )lport;
65808#line 328
65809    __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
65810#line 328
65811    __cil_tmp16 = *((int (**)(struct fc_lport * , u16  ))__cil_tmp15);
65812#line 328
65813    __cil_tmp17 = (unsigned long )fsp;
65814#line 328
65815    __cil_tmp18 = __cil_tmp17 + 126;
65816#line 328
65817    __cil_tmp19 = *((u16 *)__cil_tmp18);
65818#line 328
65819    tmp___7 = (*__cil_tmp16)(lport, __cil_tmp19);
65820#line 328
65821    __cil_tmp20 = (unsigned long )fsp;
65822#line 328
65823    __cil_tmp21 = __cil_tmp20 + 80;
65824#line 328
65825    *((size_t *)__cil_tmp21) = (size_t )tmp___7;
65826#line 329
65827    __cil_tmp22 = (unsigned long )fsp;
65828#line 329
65829    __cil_tmp23 = __cil_tmp22 + 126;
65830#line 329
65831    *((u16 *)__cil_tmp23) = (u16 )65535;
65832    }
65833  } else {
65834
65835  }
65836  }
65837#line 331
65838  return;
65839}
65840}
65841#line 337 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
65842static void fc_fcp_can_queue_ramp_up(struct fc_lport *lport ) 
65843{ struct fc_fcp_internal *si ;
65844  unsigned long flags ;
65845  int can_queue ;
65846  raw_spinlock_t *tmp___7 ;
65847  unsigned long __cil_tmp16 ;
65848  unsigned long __cil_tmp17 ;
65849  void *__cil_tmp18 ;
65850  struct Scsi_Host *__cil_tmp19 ;
65851  unsigned long __cil_tmp20 ;
65852  unsigned long __cil_tmp21 ;
65853  spinlock_t *__cil_tmp22 ;
65854  unsigned long __cil_tmp23 ;
65855  unsigned long __cil_tmp24 ;
65856  unsigned long __cil_tmp25 ;
65857  unsigned long __cil_tmp26 ;
65858  unsigned long __cil_tmp27 ;
65859  unsigned long __cil_tmp28 ;
65860  long __cil_tmp29 ;
65861  long __cil_tmp30 ;
65862  long __cil_tmp31 ;
65863  unsigned long __cil_tmp32 ;
65864  unsigned long __cil_tmp33 ;
65865  unsigned long __cil_tmp34 ;
65866  unsigned long __cil_tmp35 ;
65867  long __cil_tmp36 ;
65868  long __cil_tmp37 ;
65869  long __cil_tmp38 ;
65870  unsigned long __cil_tmp39 ;
65871  unsigned long __cil_tmp40 ;
65872  struct Scsi_Host *__cil_tmp41 ;
65873  unsigned long __cil_tmp42 ;
65874  unsigned long __cil_tmp43 ;
65875  int __cil_tmp44 ;
65876  unsigned long __cil_tmp45 ;
65877  unsigned long __cil_tmp46 ;
65878  int __cil_tmp47 ;
65879  unsigned long __cil_tmp48 ;
65880  unsigned long __cil_tmp49 ;
65881  unsigned long __cil_tmp50 ;
65882  unsigned long __cil_tmp51 ;
65883  struct Scsi_Host *__cil_tmp52 ;
65884  unsigned long __cil_tmp53 ;
65885  unsigned long __cil_tmp54 ;
65886  struct Scsi_Host *__cil_tmp55 ;
65887  unsigned long __cil_tmp56 ;
65888  unsigned long __cil_tmp57 ;
65889  struct device *__cil_tmp58 ;
65890  struct device    *__cil_tmp59 ;
65891  struct Scsi_Host *__cil_tmp60 ;
65892  unsigned long __cil_tmp61 ;
65893  unsigned long __cil_tmp62 ;
65894  spinlock_t *__cil_tmp63 ;
65895
65896  {
65897#line 339
65898  __cil_tmp16 = (unsigned long )lport;
65899#line 339
65900  __cil_tmp17 = __cil_tmp16 + 48;
65901#line 339
65902  __cil_tmp18 = *((void **)__cil_tmp17);
65903#line 339
65904  si = (struct fc_fcp_internal *)__cil_tmp18;
65905  {
65906#line 343
65907  while (1) {
65908    while_continue: /* CIL Label */ ;
65909    {
65910#line 343
65911    while (1) {
65912      while_continue___0: /* CIL Label */ ;
65913      {
65914#line 343
65915      __cil_tmp19 = *((struct Scsi_Host **)lport);
65916#line 343
65917      __cil_tmp20 = (unsigned long )__cil_tmp19;
65918#line 343
65919      __cil_tmp21 = __cil_tmp20 + 120;
65920#line 343
65921      __cil_tmp22 = *((spinlock_t **)__cil_tmp21);
65922#line 343
65923      tmp___7 = spinlock_check(__cil_tmp22);
65924#line 343
65925      flags = _raw_spin_lock_irqsave(tmp___7);
65926      }
65927#line 343
65928      goto while_break___0;
65929    }
65930    while_break___0: /* CIL Label */ ;
65931    }
65932#line 343
65933    goto while_break;
65934  }
65935  while_break: /* CIL Label */ ;
65936  }
65937  {
65938#line 346
65939  __cil_tmp23 = (unsigned long )si;
65940#line 346
65941  __cil_tmp24 = __cil_tmp23 + 56;
65942#line 346
65943  if (*((unsigned long *)__cil_tmp24)) {
65944    {
65945#line 346
65946    __cil_tmp25 = (unsigned long )si;
65947#line 346
65948    __cil_tmp26 = __cil_tmp25 + 56;
65949#line 346
65950    __cil_tmp27 = *((unsigned long *)__cil_tmp26);
65951#line 346
65952    __cil_tmp28 = __cil_tmp27 + 15000UL;
65953#line 346
65954    __cil_tmp29 = (long )__cil_tmp28;
65955#line 346
65956    __cil_tmp30 = (long )jiffies;
65957#line 346
65958    __cil_tmp31 = __cil_tmp30 - __cil_tmp29;
65959#line 346
65960    if (__cil_tmp31 < 0L) {
65961#line 348
65962      goto unlock;
65963    } else {
65964
65965    }
65966    }
65967  } else {
65968
65969  }
65970  }
65971  {
65972#line 350
65973  __cil_tmp32 = (unsigned long )si;
65974#line 350
65975  __cil_tmp33 = __cil_tmp32 + 48;
65976#line 350
65977  __cil_tmp34 = *((unsigned long *)__cil_tmp33);
65978#line 350
65979  __cil_tmp35 = __cil_tmp34 + 15000UL;
65980#line 350
65981  __cil_tmp36 = (long )__cil_tmp35;
65982#line 350
65983  __cil_tmp37 = (long )jiffies;
65984#line 350
65985  __cil_tmp38 = __cil_tmp37 - __cil_tmp36;
65986#line 350
65987  if (__cil_tmp38 < 0L) {
65988#line 352
65989    goto unlock;
65990  } else {
65991
65992  }
65993  }
65994#line 354
65995  __cil_tmp39 = (unsigned long )si;
65996#line 354
65997  __cil_tmp40 = __cil_tmp39 + 56;
65998#line 354
65999  *((unsigned long *)__cil_tmp40) = (unsigned long )jiffies;
66000#line 356
66001  __cil_tmp41 = *((struct Scsi_Host **)lport);
66002#line 356
66003  __cil_tmp42 = (unsigned long )__cil_tmp41;
66004#line 356
66005  __cil_tmp43 = __cil_tmp42 + 352;
66006#line 356
66007  __cil_tmp44 = *((int *)__cil_tmp43);
66008#line 356
66009  can_queue = __cil_tmp44 << 1;
66010  {
66011#line 357
66012  __cil_tmp45 = (unsigned long )si;
66013#line 357
66014  __cil_tmp46 = __cil_tmp45 + 64;
66015#line 357
66016  __cil_tmp47 = *((int *)__cil_tmp46);
66017#line 357
66018  if (can_queue >= __cil_tmp47) {
66019#line 358
66020    __cil_tmp48 = (unsigned long )si;
66021#line 358
66022    __cil_tmp49 = __cil_tmp48 + 64;
66023#line 358
66024    can_queue = *((int *)__cil_tmp49);
66025#line 359
66026    __cil_tmp50 = (unsigned long )si;
66027#line 359
66028    __cil_tmp51 = __cil_tmp50 + 48;
66029#line 359
66030    *((unsigned long *)__cil_tmp51) = 0UL;
66031  } else {
66032
66033  }
66034  }
66035  {
66036#line 361
66037  __cil_tmp52 = *((struct Scsi_Host **)lport);
66038#line 361
66039  __cil_tmp53 = (unsigned long )__cil_tmp52;
66040#line 361
66041  __cil_tmp54 = __cil_tmp53 + 352;
66042#line 361
66043  *((int *)__cil_tmp54) = can_queue;
66044#line 362
66045  __cil_tmp55 = *((struct Scsi_Host **)lport);
66046#line 362
66047  __cil_tmp56 = (unsigned long )__cil_tmp55;
66048#line 362
66049  __cil_tmp57 = __cil_tmp56 + 472;
66050#line 362
66051  __cil_tmp58 = (struct device *)__cil_tmp57;
66052#line 362
66053  __cil_tmp59 = (struct device    *)__cil_tmp58;
66054#line 362
66055  dev_printk("<3>", __cil_tmp59, "libfc: increased can_queue to %d.\n", can_queue);
66056  }
66057  unlock: 
66058  {
66059#line 366
66060  __cil_tmp60 = *((struct Scsi_Host **)lport);
66061#line 366
66062  __cil_tmp61 = (unsigned long )__cil_tmp60;
66063#line 366
66064  __cil_tmp62 = __cil_tmp61 + 120;
66065#line 366
66066  __cil_tmp63 = *((spinlock_t **)__cil_tmp62);
66067#line 366
66068  spin_unlock_irqrestore(__cil_tmp63, flags);
66069  }
66070#line 367
66071  return;
66072}
66073}
66074#line 379 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
66075static void fc_fcp_can_queue_ramp_down(struct fc_lport *lport ) 
66076{ struct fc_fcp_internal *si ;
66077  unsigned long flags ;
66078  int can_queue ;
66079  raw_spinlock_t *tmp___7 ;
66080  unsigned long __cil_tmp12 ;
66081  unsigned long __cil_tmp13 ;
66082  void *__cil_tmp14 ;
66083  struct Scsi_Host *__cil_tmp15 ;
66084  unsigned long __cil_tmp16 ;
66085  unsigned long __cil_tmp17 ;
66086  spinlock_t *__cil_tmp18 ;
66087  unsigned long __cil_tmp19 ;
66088  unsigned long __cil_tmp20 ;
66089  unsigned long __cil_tmp21 ;
66090  unsigned long __cil_tmp22 ;
66091  unsigned long __cil_tmp23 ;
66092  unsigned long __cil_tmp24 ;
66093  long __cil_tmp25 ;
66094  long __cil_tmp26 ;
66095  long __cil_tmp27 ;
66096  unsigned long __cil_tmp28 ;
66097  unsigned long __cil_tmp29 ;
66098  struct Scsi_Host *__cil_tmp30 ;
66099  unsigned long __cil_tmp31 ;
66100  unsigned long __cil_tmp32 ;
66101  struct Scsi_Host *__cil_tmp33 ;
66102  unsigned long __cil_tmp34 ;
66103  unsigned long __cil_tmp35 ;
66104  struct Scsi_Host *__cil_tmp36 ;
66105  unsigned long __cil_tmp37 ;
66106  unsigned long __cil_tmp38 ;
66107  struct device *__cil_tmp39 ;
66108  struct device    *__cil_tmp40 ;
66109  struct Scsi_Host *__cil_tmp41 ;
66110  unsigned long __cil_tmp42 ;
66111  unsigned long __cil_tmp43 ;
66112  spinlock_t *__cil_tmp44 ;
66113
66114  {
66115#line 381
66116  __cil_tmp12 = (unsigned long )lport;
66117#line 381
66118  __cil_tmp13 = __cil_tmp12 + 48;
66119#line 381
66120  __cil_tmp14 = *((void **)__cil_tmp13);
66121#line 381
66122  si = (struct fc_fcp_internal *)__cil_tmp14;
66123  {
66124#line 385
66125  while (1) {
66126    while_continue: /* CIL Label */ ;
66127    {
66128#line 385
66129    while (1) {
66130      while_continue___0: /* CIL Label */ ;
66131      {
66132#line 385
66133      __cil_tmp15 = *((struct Scsi_Host **)lport);
66134#line 385
66135      __cil_tmp16 = (unsigned long )__cil_tmp15;
66136#line 385
66137      __cil_tmp17 = __cil_tmp16 + 120;
66138#line 385
66139      __cil_tmp18 = *((spinlock_t **)__cil_tmp17);
66140#line 385
66141      tmp___7 = spinlock_check(__cil_tmp18);
66142#line 385
66143      flags = _raw_spin_lock_irqsave(tmp___7);
66144      }
66145#line 385
66146      goto while_break___0;
66147    }
66148    while_break___0: /* CIL Label */ ;
66149    }
66150#line 385
66151    goto while_break;
66152  }
66153  while_break: /* CIL Label */ ;
66154  }
66155  {
66156#line 388
66157  __cil_tmp19 = (unsigned long )si;
66158#line 388
66159  __cil_tmp20 = __cil_tmp19 + 48;
66160#line 388
66161  if (*((unsigned long *)__cil_tmp20)) {
66162    {
66163#line 388
66164    __cil_tmp21 = (unsigned long )si;
66165#line 388
66166    __cil_tmp22 = __cil_tmp21 + 48;
66167#line 388
66168    __cil_tmp23 = *((unsigned long *)__cil_tmp22);
66169#line 388
66170    __cil_tmp24 = __cil_tmp23 + 15000UL;
66171#line 388
66172    __cil_tmp25 = (long )__cil_tmp24;
66173#line 388
66174    __cil_tmp26 = (long )jiffies;
66175#line 388
66176    __cil_tmp27 = __cil_tmp26 - __cil_tmp25;
66177#line 388
66178    if (__cil_tmp27 < 0L) {
66179#line 390
66180      goto unlock;
66181    } else {
66182
66183    }
66184    }
66185  } else {
66186
66187  }
66188  }
66189#line 392
66190  __cil_tmp28 = (unsigned long )si;
66191#line 392
66192  __cil_tmp29 = __cil_tmp28 + 48;
66193#line 392
66194  *((unsigned long *)__cil_tmp29) = (unsigned long )jiffies;
66195#line 394
66196  __cil_tmp30 = *((struct Scsi_Host **)lport);
66197#line 394
66198  __cil_tmp31 = (unsigned long )__cil_tmp30;
66199#line 394
66200  __cil_tmp32 = __cil_tmp31 + 352;
66201#line 394
66202  can_queue = *((int *)__cil_tmp32);
66203#line 395
66204  can_queue = can_queue >> 1;
66205#line 396
66206  if (! can_queue) {
66207#line 397
66208    can_queue = 1;
66209  } else {
66210
66211  }
66212  {
66213#line 398
66214  __cil_tmp33 = *((struct Scsi_Host **)lport);
66215#line 398
66216  __cil_tmp34 = (unsigned long )__cil_tmp33;
66217#line 398
66218  __cil_tmp35 = __cil_tmp34 + 352;
66219#line 398
66220  *((int *)__cil_tmp35) = can_queue;
66221#line 399
66222  __cil_tmp36 = *((struct Scsi_Host **)lport);
66223#line 399
66224  __cil_tmp37 = (unsigned long )__cil_tmp36;
66225#line 399
66226  __cil_tmp38 = __cil_tmp37 + 472;
66227#line 399
66228  __cil_tmp39 = (struct device *)__cil_tmp38;
66229#line 399
66230  __cil_tmp40 = (struct device    *)__cil_tmp39;
66231#line 399
66232  dev_printk("<3>", __cil_tmp40, "libfc: Could not allocate frame.\nReducing can_queue to %d.\n",
66233             can_queue);
66234  }
66235  unlock: 
66236  {
66237#line 403
66238  __cil_tmp41 = *((struct Scsi_Host **)lport);
66239#line 403
66240  __cil_tmp42 = (unsigned long )__cil_tmp41;
66241#line 403
66242  __cil_tmp43 = __cil_tmp42 + 120;
66243#line 403
66244  __cil_tmp44 = *((spinlock_t **)__cil_tmp43);
66245#line 403
66246  spin_unlock_irqrestore(__cil_tmp44, flags);
66247  }
66248#line 404
66249  return;
66250}
66251}
66252#line 414
66253__inline static struct fc_frame *fc_fcp_frame_alloc(struct fc_lport *lport , size_t len )  __attribute__((__no_instrument_function__)) ;
66254#line 414 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
66255__inline static struct fc_frame *fc_fcp_frame_alloc(struct fc_lport *lport , size_t len ) 
66256{ struct fc_frame *fp ;
66257  long tmp___7 ;
66258  int __cil_tmp5 ;
66259  int __cil_tmp6 ;
66260  long __cil_tmp7 ;
66261  void *__cil_tmp8 ;
66262
66263  {
66264  {
66265#line 419
66266  fp = fc_frame_alloc(lport, len);
66267#line 420
66268  __cil_tmp5 = ! fp;
66269#line 420
66270  __cil_tmp6 = ! __cil_tmp5;
66271#line 420
66272  __cil_tmp7 = (long )__cil_tmp6;
66273#line 420
66274  tmp___7 = __builtin_expect(__cil_tmp7, 1L);
66275  }
66276#line 420
66277  if (tmp___7) {
66278#line 421
66279    return (fp);
66280  } else {
66281
66282  }
66283  {
66284#line 424
66285  fc_fcp_can_queue_ramp_down(lport);
66286  }
66287  {
66288#line 425
66289  __cil_tmp8 = (void *)0;
66290#line 425
66291  return ((struct fc_frame *)__cil_tmp8);
66292  }
66293}
66294}
66295#line 433 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
66296static void fc_fcp_recv_data(struct fc_fcp_pkt *fsp , struct fc_frame *fp ) 
66297{ struct scsi_cmnd *sc ;
66298  struct fc_lport *lport ;
66299  struct fcoe_dev_stats *stats ;
66300  struct fc_frame_header *fh ;
66301  size_t start_offset ;
66302  size_t offset ;
66303  u32 crc ;
66304  u32 copy_len ;
66305  size_t len ;
66306  void *buf ;
66307  struct scatterlist *sg ;
66308  u32 nents ;
66309  u8 host_bcode ;
66310  __u32 tmp___7 ;
66311  struct fc_exch *_ep ;
66312  struct fc_seq    *__mptr ;
66313  long tmp___8 ;
66314  u32 tmp___9 ;
66315  struct fc_exch *_ep___0 ;
66316  struct fc_seq    *__mptr___0 ;
66317  long tmp___10 ;
66318  void    *__vpp_verify ;
66319  unsigned long __ptr ;
66320  struct thread_info *tmp___11 ;
66321  int pfo_ret__ ;
66322  u64 tmp___12 ;
66323  struct thread_info *tmp___13 ;
66324  long tmp___14 ;
66325  unsigned long __cil_tmp31 ;
66326  unsigned long __cil_tmp32 ;
66327  unsigned long __cil_tmp33 ;
66328  unsigned long __cil_tmp34 ;
66329  struct fc_frame    *__cil_tmp35 ;
66330  unsigned long __cil_tmp36 ;
66331  unsigned long __cil_tmp37 ;
66332  __be32 __cil_tmp38 ;
66333  size_t *__cil_tmp39 ;
66334  size_t *__cil_tmp40 ;
66335  unsigned long __cil_tmp41 ;
66336  unsigned long __cil_tmp42 ;
66337  unsigned long __cil_tmp43 ;
66338  unsigned int __cil_tmp44 ;
66339  unsigned long __cil_tmp45 ;
66340  struct fc_frame    *__cil_tmp46 ;
66341  size_t __cil_tmp47 ;
66342  unsigned long __cil_tmp48 ;
66343  unsigned long __cil_tmp49 ;
66344  u16 __cil_tmp50 ;
66345  int __cil_tmp51 ;
66346  unsigned int *__cil_tmp52 ;
66347  unsigned int __cil_tmp53 ;
66348  unsigned int __cil_tmp54 ;
66349  int __cil_tmp55 ;
66350  int __cil_tmp56 ;
66351  long __cil_tmp57 ;
66352  unsigned long __cil_tmp58 ;
66353  unsigned long __cil_tmp59 ;
66354  void *__cil_tmp60 ;
66355  unsigned long __cil_tmp61 ;
66356  unsigned long __cil_tmp62 ;
66357  struct fc_seq *__cil_tmp63 ;
66358  struct fc_exch *__cil_tmp64 ;
66359  unsigned long __cil_tmp65 ;
66360  unsigned long __cil_tmp66 ;
66361  struct fc_seq *__cil_tmp67 ;
66362  unsigned int __cil_tmp68 ;
66363  char *__cil_tmp69 ;
66364  char *__cil_tmp70 ;
66365  unsigned long __cil_tmp71 ;
66366  unsigned long __cil_tmp72 ;
66367  struct fc_lport *__cil_tmp73 ;
66368  struct Scsi_Host *__cil_tmp74 ;
66369  unsigned long __cil_tmp75 ;
66370  unsigned long __cil_tmp76 ;
66371  unsigned int __cil_tmp77 ;
66372  unsigned long __cil_tmp78 ;
66373  unsigned long __cil_tmp79 ;
66374  struct fc_rport *__cil_tmp80 ;
66375  unsigned long __cil_tmp81 ;
66376  unsigned long __cil_tmp82 ;
66377  u32 __cil_tmp83 ;
66378  unsigned long __cil_tmp84 ;
66379  unsigned long __cil_tmp85 ;
66380  u16 __cil_tmp86 ;
66381  int __cil_tmp87 ;
66382  unsigned long __cil_tmp88 ;
66383  unsigned long __cil_tmp89 ;
66384  u16 __cil_tmp90 ;
66385  int __cil_tmp91 ;
66386  unsigned long __cil_tmp92 ;
66387  unsigned long __cil_tmp93 ;
66388  struct fc_lport *__cil_tmp94 ;
66389  struct Scsi_Host *__cil_tmp95 ;
66390  unsigned long __cil_tmp96 ;
66391  unsigned long __cil_tmp97 ;
66392  unsigned int __cil_tmp98 ;
66393  unsigned long __cil_tmp99 ;
66394  unsigned long __cil_tmp100 ;
66395  struct fc_rport *__cil_tmp101 ;
66396  unsigned long __cil_tmp102 ;
66397  unsigned long __cil_tmp103 ;
66398  u32 __cil_tmp104 ;
66399  unsigned long __cil_tmp105 ;
66400  unsigned long __cil_tmp106 ;
66401  u32 __cil_tmp107 ;
66402  size_t __cil_tmp108 ;
66403  size_t *__cil_tmp109 ;
66404  size_t __cil_tmp110 ;
66405  size_t __cil_tmp111 ;
66406  unsigned long __cil_tmp112 ;
66407  unsigned long __cil_tmp113 ;
66408  unsigned long __cil_tmp114 ;
66409  unsigned long __cil_tmp115 ;
66410  unsigned long __cil_tmp116 ;
66411  char *__cil_tmp117 ;
66412  struct fcoe_rcv_info *__cil_tmp118 ;
66413  unsigned long __cil_tmp119 ;
66414  unsigned long __cil_tmp120 ;
66415  u8 __cil_tmp121 ;
66416  int __cil_tmp122 ;
66417  unsigned int *__cil_tmp123 ;
66418  unsigned int __cil_tmp124 ;
66419  unsigned int __cil_tmp125 ;
66420  int __cil_tmp126 ;
66421  int __cil_tmp127 ;
66422  long __cil_tmp128 ;
66423  unsigned long __cil_tmp129 ;
66424  unsigned long __cil_tmp130 ;
66425  void *__cil_tmp131 ;
66426  unsigned long __cil_tmp132 ;
66427  unsigned long __cil_tmp133 ;
66428  struct fc_seq *__cil_tmp134 ;
66429  struct fc_exch *__cil_tmp135 ;
66430  unsigned long __cil_tmp136 ;
66431  unsigned long __cil_tmp137 ;
66432  struct fc_seq *__cil_tmp138 ;
66433  unsigned int __cil_tmp139 ;
66434  char *__cil_tmp140 ;
66435  char *__cil_tmp141 ;
66436  unsigned long __cil_tmp142 ;
66437  unsigned long __cil_tmp143 ;
66438  struct fc_lport *__cil_tmp144 ;
66439  struct Scsi_Host *__cil_tmp145 ;
66440  unsigned long __cil_tmp146 ;
66441  unsigned long __cil_tmp147 ;
66442  unsigned int __cil_tmp148 ;
66443  unsigned long __cil_tmp149 ;
66444  unsigned long __cil_tmp150 ;
66445  struct fc_rport *__cil_tmp151 ;
66446  unsigned long __cil_tmp152 ;
66447  unsigned long __cil_tmp153 ;
66448  u32 __cil_tmp154 ;
66449  unsigned long __cil_tmp155 ;
66450  unsigned long __cil_tmp156 ;
66451  u16 __cil_tmp157 ;
66452  int __cil_tmp158 ;
66453  unsigned long __cil_tmp159 ;
66454  unsigned long __cil_tmp160 ;
66455  u16 __cil_tmp161 ;
66456  int __cil_tmp162 ;
66457  size_t *__cil_tmp163 ;
66458  size_t __cil_tmp164 ;
66459  unsigned long __cil_tmp165 ;
66460  unsigned long __cil_tmp166 ;
66461  u32 __cil_tmp167 ;
66462  unsigned long __cil_tmp168 ;
66463  unsigned long __cil_tmp169 ;
66464  struct fc_lport *__cil_tmp170 ;
66465  struct Scsi_Host *__cil_tmp171 ;
66466  unsigned long __cil_tmp172 ;
66467  unsigned long __cil_tmp173 ;
66468  unsigned int __cil_tmp174 ;
66469  unsigned long __cil_tmp175 ;
66470  unsigned long __cil_tmp176 ;
66471  struct fc_rport *__cil_tmp177 ;
66472  unsigned long __cil_tmp178 ;
66473  unsigned long __cil_tmp179 ;
66474  u32 __cil_tmp180 ;
66475  size_t *__cil_tmp181 ;
66476  size_t __cil_tmp182 ;
66477  unsigned long __cil_tmp183 ;
66478  unsigned long __cil_tmp184 ;
66479  u32 __cil_tmp185 ;
66480  unsigned long __cil_tmp186 ;
66481  unsigned long __cil_tmp187 ;
66482  size_t __cil_tmp188 ;
66483  size_t *__cil_tmp189 ;
66484  size_t __cil_tmp190 ;
66485  unsigned long __cil_tmp191 ;
66486  unsigned long __cil_tmp192 ;
66487  int __cil_tmp193 ;
66488  unsigned long __cil_tmp194 ;
66489  unsigned long __cil_tmp195 ;
66490  u8 __cil_tmp196 ;
66491  int __cil_tmp197 ;
66492  int __cil_tmp198 ;
66493  u32 *__cil_tmp199 ;
66494  unsigned long __cil_tmp200 ;
66495  unsigned long __cil_tmp201 ;
66496  unsigned long __cil_tmp202 ;
66497  unsigned long __cil_tmp203 ;
66498  unsigned long __cil_tmp204 ;
66499  char *__cil_tmp205 ;
66500  struct fcoe_rcv_info *__cil_tmp206 ;
66501  unsigned long __cil_tmp207 ;
66502  unsigned long __cil_tmp208 ;
66503  u8 __cil_tmp209 ;
66504  int __cil_tmp210 ;
66505  int __cil_tmp211 ;
66506  void *__cil_tmp212 ;
66507  u32 *__cil_tmp213 ;
66508  u32 *__cil_tmp214 ;
66509  int __cil_tmp215 ;
66510  u32 __cil_tmp216 ;
66511  u8 *__cil_tmp217 ;
66512  unsigned char    *__cil_tmp218 ;
66513  struct fc_frame    *__cil_tmp219 ;
66514  size_t __cil_tmp220 ;
66515  u32 *__cil_tmp221 ;
66516  u32 *__cil_tmp222 ;
66517  u32 __cil_tmp223 ;
66518  void *__cil_tmp224 ;
66519  unsigned char    *__cil_tmp225 ;
66520  unsigned long __cil_tmp226 ;
66521  unsigned long __cil_tmp227 ;
66522  unsigned long __cil_tmp228 ;
66523  unsigned long __cil_tmp229 ;
66524  unsigned long __cil_tmp230 ;
66525  unsigned long __cil_tmp231 ;
66526  unsigned long __cil_tmp232 ;
66527  char *__cil_tmp233 ;
66528  struct fcoe_rcv_info *__cil_tmp234 ;
66529  unsigned long __cil_tmp235 ;
66530  unsigned long __cil_tmp236 ;
66531  u32 __cil_tmp237 ;
66532  u32 *__cil_tmp238 ;
66533  u32 __cil_tmp239 ;
66534  u32 __cil_tmp240 ;
66535  void *__cil_tmp241 ;
66536  struct fcoe_dev_stats *__cil_tmp242 ;
66537  unsigned long __cil_tmp243 ;
66538  unsigned long __cil_tmp244 ;
66539  unsigned long __cil_tmp245 ;
66540  unsigned long __cil_tmp246 ;
66541  unsigned long __cil_tmp247 ;
66542  unsigned long __cil_tmp248 ;
66543  int __cil_tmp249 ;
66544  unsigned long __cil_tmp250 ;
66545  unsigned long __cil_tmp251 ;
66546  unsigned long __cil_tmp252 ;
66547  unsigned long __cil_tmp253 ;
66548  unsigned long __cil_tmp254 ;
66549  unsigned long __cil_tmp255 ;
66550  unsigned long __cil_tmp256 ;
66551  unsigned long __cil_tmp257 ;
66552  u64 __cil_tmp258 ;
66553  unsigned long __cil_tmp259 ;
66554  unsigned long __cil_tmp260 ;
66555  unsigned long __cil_tmp261 ;
66556  unsigned long __cil_tmp262 ;
66557  unsigned long __cil_tmp263 ;
66558  unsigned long __cil_tmp264 ;
66559  u64 __cil_tmp265 ;
66560  unsigned long __cil_tmp266 ;
66561  unsigned long __cil_tmp267 ;
66562  u32 __cil_tmp268 ;
66563  unsigned long __cil_tmp269 ;
66564  unsigned long __cil_tmp270 ;
66565  unsigned long __cil_tmp271 ;
66566  unsigned long __cil_tmp272 ;
66567  int __cil_tmp273 ;
66568  int __cil_tmp274 ;
66569  unsigned long __cil_tmp275 ;
66570  unsigned long __cil_tmp276 ;
66571  u8 __cil_tmp277 ;
66572  int __cil_tmp278 ;
66573  unsigned long __cil_tmp279 ;
66574  unsigned long __cil_tmp280 ;
66575  u32 __cil_tmp281 ;
66576  size_t __cil_tmp282 ;
66577  unsigned long __cil_tmp283 ;
66578  unsigned long __cil_tmp284 ;
66579  unsigned long __cil_tmp285 ;
66580  unsigned long __cil_tmp286 ;
66581  u32 __cil_tmp287 ;
66582  unsigned long __cil_tmp288 ;
66583  unsigned long __cil_tmp289 ;
66584  size_t __cil_tmp290 ;
66585  unsigned long __cil_tmp291 ;
66586  unsigned long __cil_tmp292 ;
66587  size_t __cil_tmp293 ;
66588  int __cil_tmp294 ;
66589  unsigned long __cil_tmp295 ;
66590  unsigned long __cil_tmp296 ;
66591  u8 __cil_tmp297 ;
66592  int __cil_tmp298 ;
66593  int __cil_tmp299 ;
66594  int __cil_tmp300 ;
66595  int __cil_tmp301 ;
66596  long __cil_tmp302 ;
66597  unsigned long __cil_tmp303 ;
66598  unsigned long __cil_tmp304 ;
66599  u32 __cil_tmp305 ;
66600  unsigned long __cil_tmp306 ;
66601  unsigned long __cil_tmp307 ;
66602  u32 __cil_tmp308 ;
66603  u32 __cil_tmp309 ;
66604  size_t __cil_tmp310 ;
66605  unsigned long __cil_tmp311 ;
66606  unsigned long __cil_tmp312 ;
66607  size_t __cil_tmp313 ;
66608
66609  {
66610  {
66611#line 435
66612  __cil_tmp31 = (unsigned long )fsp;
66613#line 435
66614  __cil_tmp32 = __cil_tmp31 + 32;
66615#line 435
66616  sc = *((struct scsi_cmnd **)__cil_tmp32);
66617#line 436
66618  __cil_tmp33 = (unsigned long )fsp;
66619#line 436
66620  __cil_tmp34 = __cil_tmp33 + 56;
66621#line 436
66622  lport = *((struct fc_lport **)__cil_tmp34);
66623#line 442
66624  copy_len = (u32 )0;
66625#line 447
66626  host_bcode = (u8 )0;
66627#line 449
66628  __cil_tmp35 = (struct fc_frame    *)fp;
66629#line 449
66630  fh = fc_frame_header_get(__cil_tmp35);
66631#line 450
66632  __cil_tmp36 = (unsigned long )fh;
66633#line 450
66634  __cil_tmp37 = __cil_tmp36 + 20;
66635#line 450
66636  __cil_tmp38 = *((__be32 *)__cil_tmp37);
66637#line 450
66638  tmp___7 = __fswab32(__cil_tmp38);
66639#line 450
66640  __cil_tmp39 = & offset;
66641#line 450
66642  *__cil_tmp39 = (size_t )tmp___7;
66643#line 451
66644  __cil_tmp40 = & offset;
66645#line 451
66646  start_offset = *__cil_tmp40;
66647#line 452
66648  __cil_tmp41 = 0 + 104;
66649#line 452
66650  __cil_tmp42 = (unsigned long )fp;
66651#line 452
66652  __cil_tmp43 = __cil_tmp42 + __cil_tmp41;
66653#line 452
66654  __cil_tmp44 = *((unsigned int *)__cil_tmp43);
66655#line 452
66656  __cil_tmp45 = (unsigned long )__cil_tmp44;
66657#line 452
66658  len = __cil_tmp45 - 24UL;
66659#line 453
66660  __cil_tmp46 = (struct fc_frame    *)fp;
66661#line 453
66662  __cil_tmp47 = (size_t )0;
66663#line 453
66664  buf = fc_frame_payload_get(__cil_tmp46, __cil_tmp47);
66665  }
66666  {
66667#line 462
66668  __cil_tmp48 = (unsigned long )fsp;
66669#line 462
66670  __cil_tmp49 = __cil_tmp48 + 126;
66671#line 462
66672  __cil_tmp50 = *((u16 *)__cil_tmp49);
66673#line 462
66674  __cil_tmp51 = (int )__cil_tmp50;
66675#line 462
66676  if (__cil_tmp51 != 65535) {
66677    {
66678#line 463
66679    fc_fcp_ddp_done(fsp);
66680    }
66681    {
66682#line 464
66683    while (1) {
66684      while_continue: /* CIL Label */ ;
66685      {
66686#line 464
66687      __cil_tmp52 = & fc_debug_logging;
66688#line 464
66689      __cil_tmp53 = *__cil_tmp52;
66690#line 464
66691      __cil_tmp54 = __cil_tmp53 & 16U;
66692#line 464
66693      __cil_tmp55 = ! __cil_tmp54;
66694#line 464
66695      __cil_tmp56 = ! __cil_tmp55;
66696#line 464
66697      __cil_tmp57 = (long )__cil_tmp56;
66698#line 464
66699      tmp___8 = __builtin_expect(__cil_tmp57, 0L);
66700      }
66701#line 464
66702      if (tmp___8) {
66703        {
66704#line 464
66705        while (1) {
66706          while_continue___0: /* CIL Label */ ;
66707          {
66708#line 464
66709          __cil_tmp58 = (unsigned long )fsp;
66710#line 464
66711          __cil_tmp59 = __cil_tmp58 + 136;
66712#line 464
66713          if (*((struct fc_seq **)__cil_tmp59)) {
66714            {
66715#line 464
66716            __cil_tmp60 = (void *)0;
66717#line 464
66718            _ep = (struct fc_exch *)__cil_tmp60;
66719#line 464
66720            __cil_tmp61 = (unsigned long )fsp;
66721#line 464
66722            __cil_tmp62 = __cil_tmp61 + 136;
66723#line 464
66724            __cil_tmp63 = *((struct fc_seq **)__cil_tmp62);
66725#line 464
66726            __mptr = (struct fc_seq    *)__cil_tmp63;
66727#line 464
66728            __cil_tmp64 = (struct fc_exch *)0;
66729#line 464
66730            __cil_tmp65 = (unsigned long )__cil_tmp64;
66731#line 464
66732            __cil_tmp66 = __cil_tmp65 + 108;
66733#line 464
66734            __cil_tmp67 = (struct fc_seq *)__cil_tmp66;
66735#line 464
66736            __cil_tmp68 = (unsigned int )__cil_tmp67;
66737#line 464
66738            __cil_tmp69 = (char *)__mptr;
66739#line 464
66740            __cil_tmp70 = __cil_tmp69 - __cil_tmp68;
66741#line 464
66742            _ep = (struct fc_exch *)__cil_tmp70;
66743#line 464
66744            __cil_tmp71 = (unsigned long )fsp;
66745#line 464
66746            __cil_tmp72 = __cil_tmp71 + 56;
66747#line 464
66748            __cil_tmp73 = *((struct fc_lport **)__cil_tmp72);
66749#line 464
66750            __cil_tmp74 = *((struct Scsi_Host **)__cil_tmp73);
66751#line 464
66752            __cil_tmp75 = (unsigned long )__cil_tmp74;
66753#line 464
66754            __cil_tmp76 = __cil_tmp75 + 308;
66755#line 464
66756            __cil_tmp77 = *((unsigned int *)__cil_tmp76);
66757#line 464
66758            __cil_tmp78 = (unsigned long )fsp;
66759#line 464
66760            __cil_tmp79 = __cil_tmp78 + 128;
66761#line 464
66762            __cil_tmp80 = *((struct fc_rport **)__cil_tmp79);
66763#line 464
66764            __cil_tmp81 = (unsigned long )__cil_tmp80;
66765#line 464
66766            __cil_tmp82 = __cil_tmp81 + 32;
66767#line 464
66768            __cil_tmp83 = *((u32 *)__cil_tmp82);
66769#line 464
66770            __cil_tmp84 = (unsigned long )_ep;
66771#line 464
66772            __cil_tmp85 = __cil_tmp84 + 82;
66773#line 464
66774            __cil_tmp86 = *((u16 *)__cil_tmp85);
66775#line 464
66776            __cil_tmp87 = (int )__cil_tmp86;
66777#line 464
66778            __cil_tmp88 = (unsigned long )_ep;
66779#line 464
66780            __cil_tmp89 = __cil_tmp88 + 84;
66781#line 464
66782            __cil_tmp90 = *((u16 *)__cil_tmp89);
66783#line 464
66784            __cil_tmp91 = (int )__cil_tmp90;
66785#line 464
66786            printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: DDP I/O in fc_fcp_recv_data set ERROR\n",
66787                   __cil_tmp77, __cil_tmp83, __cil_tmp87, __cil_tmp91);
66788            }
66789          } else {
66790            {
66791#line 464
66792            __cil_tmp92 = (unsigned long )fsp;
66793#line 464
66794            __cil_tmp93 = __cil_tmp92 + 56;
66795#line 464
66796            __cil_tmp94 = *((struct fc_lport **)__cil_tmp93);
66797#line 464
66798            __cil_tmp95 = *((struct Scsi_Host **)__cil_tmp94);
66799#line 464
66800            __cil_tmp96 = (unsigned long )__cil_tmp95;
66801#line 464
66802            __cil_tmp97 = __cil_tmp96 + 308;
66803#line 464
66804            __cil_tmp98 = *((unsigned int *)__cil_tmp97);
66805#line 464
66806            __cil_tmp99 = (unsigned long )fsp;
66807#line 464
66808            __cil_tmp100 = __cil_tmp99 + 128;
66809#line 464
66810            __cil_tmp101 = *((struct fc_rport **)__cil_tmp100);
66811#line 464
66812            __cil_tmp102 = (unsigned long )__cil_tmp101;
66813#line 464
66814            __cil_tmp103 = __cil_tmp102 + 32;
66815#line 464
66816            __cil_tmp104 = *((u32 *)__cil_tmp103);
66817#line 464
66818            printk("<6>host%u: fcp: %6.6x: DDP I/O in fc_fcp_recv_data set ERROR\n",
66819                   __cil_tmp98, __cil_tmp104);
66820            }
66821          }
66822          }
66823#line 464
66824          goto while_break___0;
66825        }
66826        while_break___0: /* CIL Label */ ;
66827        }
66828      } else {
66829
66830      }
66831#line 464
66832      goto while_break;
66833    }
66834    while_break: /* CIL Label */ ;
66835    }
66836#line 465
66837    host_bcode = (u8 )8;
66838#line 466
66839    goto err;
66840  } else {
66841
66842  }
66843  }
66844  {
66845#line 468
66846  __cil_tmp105 = (unsigned long )fsp;
66847#line 468
66848  __cil_tmp106 = __cil_tmp105 + 28;
66849#line 468
66850  __cil_tmp107 = *((u32 *)__cil_tmp106);
66851#line 468
66852  __cil_tmp108 = (size_t )__cil_tmp107;
66853#line 468
66854  __cil_tmp109 = & offset;
66855#line 468
66856  __cil_tmp110 = *__cil_tmp109;
66857#line 468
66858  __cil_tmp111 = __cil_tmp110 + len;
66859#line 468
66860  if (__cil_tmp111 > __cil_tmp108) {
66861    {
66862#line 470
66863    __cil_tmp112 = 0 * 1UL;
66864#line 470
66865    __cil_tmp113 = 40 + __cil_tmp112;
66866#line 470
66867    __cil_tmp114 = 0 + __cil_tmp113;
66868#line 470
66869    __cil_tmp115 = (unsigned long )fp;
66870#line 470
66871    __cil_tmp116 = __cil_tmp115 + __cil_tmp114;
66872#line 470
66873    __cil_tmp117 = (char *)__cil_tmp116;
66874#line 470
66875    __cil_tmp118 = (struct fcoe_rcv_info *)__cil_tmp117;
66876#line 470
66877    __cil_tmp119 = (unsigned long )__cil_tmp118;
66878#line 470
66879    __cil_tmp120 = __cil_tmp119 + 32;
66880#line 470
66881    __cil_tmp121 = *((u8 *)__cil_tmp120);
66882#line 470
66883    __cil_tmp122 = (int )__cil_tmp121;
66884#line 470
66885    if (__cil_tmp122 & 1) {
66886      {
66887#line 470
66888      tmp___9 = fc_frame_crc_check(fp);
66889      }
66890#line 470
66891      if (tmp___9) {
66892#line 472
66893        goto crc_err;
66894      } else {
66895
66896      }
66897    } else {
66898
66899    }
66900    }
66901    {
66902#line 473
66903    while (1) {
66904      while_continue___1: /* CIL Label */ ;
66905      {
66906#line 473
66907      __cil_tmp123 = & fc_debug_logging;
66908#line 473
66909      __cil_tmp124 = *__cil_tmp123;
66910#line 473
66911      __cil_tmp125 = __cil_tmp124 & 16U;
66912#line 473
66913      __cil_tmp126 = ! __cil_tmp125;
66914#line 473
66915      __cil_tmp127 = ! __cil_tmp126;
66916#line 473
66917      __cil_tmp128 = (long )__cil_tmp127;
66918#line 473
66919      tmp___10 = __builtin_expect(__cil_tmp128, 0L);
66920      }
66921#line 473
66922      if (tmp___10) {
66923        {
66924#line 473
66925        while (1) {
66926          while_continue___2: /* CIL Label */ ;
66927          {
66928#line 473
66929          __cil_tmp129 = (unsigned long )fsp;
66930#line 473
66931          __cil_tmp130 = __cil_tmp129 + 136;
66932#line 473
66933          if (*((struct fc_seq **)__cil_tmp130)) {
66934            {
66935#line 473
66936            __cil_tmp131 = (void *)0;
66937#line 473
66938            _ep___0 = (struct fc_exch *)__cil_tmp131;
66939#line 473
66940            __cil_tmp132 = (unsigned long )fsp;
66941#line 473
66942            __cil_tmp133 = __cil_tmp132 + 136;
66943#line 473
66944            __cil_tmp134 = *((struct fc_seq **)__cil_tmp133);
66945#line 473
66946            __mptr___0 = (struct fc_seq    *)__cil_tmp134;
66947#line 473
66948            __cil_tmp135 = (struct fc_exch *)0;
66949#line 473
66950            __cil_tmp136 = (unsigned long )__cil_tmp135;
66951#line 473
66952            __cil_tmp137 = __cil_tmp136 + 108;
66953#line 473
66954            __cil_tmp138 = (struct fc_seq *)__cil_tmp137;
66955#line 473
66956            __cil_tmp139 = (unsigned int )__cil_tmp138;
66957#line 473
66958            __cil_tmp140 = (char *)__mptr___0;
66959#line 473
66960            __cil_tmp141 = __cil_tmp140 - __cil_tmp139;
66961#line 473
66962            _ep___0 = (struct fc_exch *)__cil_tmp141;
66963#line 473
66964            __cil_tmp142 = (unsigned long )fsp;
66965#line 473
66966            __cil_tmp143 = __cil_tmp142 + 56;
66967#line 473
66968            __cil_tmp144 = *((struct fc_lport **)__cil_tmp143);
66969#line 473
66970            __cil_tmp145 = *((struct Scsi_Host **)__cil_tmp144);
66971#line 473
66972            __cil_tmp146 = (unsigned long )__cil_tmp145;
66973#line 473
66974            __cil_tmp147 = __cil_tmp146 + 308;
66975#line 473
66976            __cil_tmp148 = *((unsigned int *)__cil_tmp147);
66977#line 473
66978            __cil_tmp149 = (unsigned long )fsp;
66979#line 473
66980            __cil_tmp150 = __cil_tmp149 + 128;
66981#line 473
66982            __cil_tmp151 = *((struct fc_rport **)__cil_tmp150);
66983#line 473
66984            __cil_tmp152 = (unsigned long )__cil_tmp151;
66985#line 473
66986            __cil_tmp153 = __cil_tmp152 + 32;
66987#line 473
66988            __cil_tmp154 = *((u32 *)__cil_tmp153);
66989#line 473
66990            __cil_tmp155 = (unsigned long )_ep___0;
66991#line 473
66992            __cil_tmp156 = __cil_tmp155 + 82;
66993#line 473
66994            __cil_tmp157 = *((u16 *)__cil_tmp156);
66995#line 473
66996            __cil_tmp158 = (int )__cil_tmp157;
66997#line 473
66998            __cil_tmp159 = (unsigned long )_ep___0;
66999#line 473
67000            __cil_tmp160 = __cil_tmp159 + 84;
67001#line 473
67002            __cil_tmp161 = *((u16 *)__cil_tmp160);
67003#line 473
67004            __cil_tmp162 = (int )__cil_tmp161;
67005#line 473
67006            __cil_tmp163 = & offset;
67007#line 473
67008            __cil_tmp164 = *__cil_tmp163;
67009#line 473
67010            __cil_tmp165 = (unsigned long )fsp;
67011#line 473
67012            __cil_tmp166 = __cil_tmp165 + 28;
67013#line 473
67014            __cil_tmp167 = *((u32 *)__cil_tmp166);
67015#line 473
67016            printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: data received past end. len %zx offset %zx data_len %x\n",
67017                   __cil_tmp148, __cil_tmp154, __cil_tmp158, __cil_tmp162, len, __cil_tmp164,
67018                   __cil_tmp167);
67019            }
67020          } else {
67021            {
67022#line 473
67023            __cil_tmp168 = (unsigned long )fsp;
67024#line 473
67025            __cil_tmp169 = __cil_tmp168 + 56;
67026#line 473
67027            __cil_tmp170 = *((struct fc_lport **)__cil_tmp169);
67028#line 473
67029            __cil_tmp171 = *((struct Scsi_Host **)__cil_tmp170);
67030#line 473
67031            __cil_tmp172 = (unsigned long )__cil_tmp171;
67032#line 473
67033            __cil_tmp173 = __cil_tmp172 + 308;
67034#line 473
67035            __cil_tmp174 = *((unsigned int *)__cil_tmp173);
67036#line 473
67037            __cil_tmp175 = (unsigned long )fsp;
67038#line 473
67039            __cil_tmp176 = __cil_tmp175 + 128;
67040#line 473
67041            __cil_tmp177 = *((struct fc_rport **)__cil_tmp176);
67042#line 473
67043            __cil_tmp178 = (unsigned long )__cil_tmp177;
67044#line 473
67045            __cil_tmp179 = __cil_tmp178 + 32;
67046#line 473
67047            __cil_tmp180 = *((u32 *)__cil_tmp179);
67048#line 473
67049            __cil_tmp181 = & offset;
67050#line 473
67051            __cil_tmp182 = *__cil_tmp181;
67052#line 473
67053            __cil_tmp183 = (unsigned long )fsp;
67054#line 473
67055            __cil_tmp184 = __cil_tmp183 + 28;
67056#line 473
67057            __cil_tmp185 = *((u32 *)__cil_tmp184);
67058#line 473
67059            printk("<6>host%u: fcp: %6.6x: data received past end. len %zx offset %zx data_len %x\n",
67060                   __cil_tmp174, __cil_tmp180, len, __cil_tmp182, __cil_tmp185);
67061            }
67062          }
67063          }
67064#line 473
67065          goto while_break___2;
67066        }
67067        while_break___2: /* CIL Label */ ;
67068        }
67069      } else {
67070
67071      }
67072#line 473
67073      goto while_break___1;
67074    }
67075    while_break___1: /* CIL Label */ ;
67076    }
67077#line 477
67078    host_bcode = (u8 )6;
67079#line 478
67080    goto err;
67081  } else {
67082
67083  }
67084  }
67085  {
67086#line 480
67087  __cil_tmp186 = (unsigned long )fsp;
67088#line 480
67089  __cil_tmp187 = __cil_tmp186 + 80;
67090#line 480
67091  __cil_tmp188 = *((size_t *)__cil_tmp187);
67092#line 480
67093  __cil_tmp189 = & offset;
67094#line 480
67095  __cil_tmp190 = *__cil_tmp189;
67096#line 480
67097  if (__cil_tmp190 != __cil_tmp188) {
67098#line 481
67099    __cil_tmp191 = (unsigned long )fsp;
67100#line 481
67101    __cil_tmp192 = __cil_tmp191 + 64;
67102#line 481
67103    __cil_tmp193 = 1 << 4;
67104#line 481
67105    __cil_tmp194 = (unsigned long )fsp;
67106#line 481
67107    __cil_tmp195 = __cil_tmp194 + 64;
67108#line 481
67109    __cil_tmp196 = *((u8 *)__cil_tmp195);
67110#line 481
67111    __cil_tmp197 = (int )__cil_tmp196;
67112#line 481
67113    __cil_tmp198 = __cil_tmp197 | __cil_tmp193;
67114#line 481
67115    *((u8 *)__cil_tmp192) = (u8 )__cil_tmp198;
67116  } else {
67117
67118  }
67119  }
67120  {
67121#line 483
67122  sg = scsi_sglist(sc);
67123#line 484
67124  __cil_tmp199 = & nents;
67125#line 484
67126  *__cil_tmp199 = scsi_sg_count(sc);
67127  }
67128  {
67129#line 486
67130  __cil_tmp200 = 0 * 1UL;
67131#line 486
67132  __cil_tmp201 = 40 + __cil_tmp200;
67133#line 486
67134  __cil_tmp202 = 0 + __cil_tmp201;
67135#line 486
67136  __cil_tmp203 = (unsigned long )fp;
67137#line 486
67138  __cil_tmp204 = __cil_tmp203 + __cil_tmp202;
67139#line 486
67140  __cil_tmp205 = (char *)__cil_tmp204;
67141#line 486
67142  __cil_tmp206 = (struct fcoe_rcv_info *)__cil_tmp205;
67143#line 486
67144  __cil_tmp207 = (unsigned long )__cil_tmp206;
67145#line 486
67146  __cil_tmp208 = __cil_tmp207 + 32;
67147#line 486
67148  __cil_tmp209 = *((u8 *)__cil_tmp208);
67149#line 486
67150  __cil_tmp210 = (int )__cil_tmp209;
67151#line 486
67152  __cil_tmp211 = __cil_tmp210 & 1;
67153#line 486
67154  if (! __cil_tmp211) {
67155    {
67156#line 487
67157    __cil_tmp212 = (void *)0;
67158#line 487
67159    __cil_tmp213 = (u32 *)__cil_tmp212;
67160#line 487
67161    copy_len = fc_copy_buffer_to_sglist(buf, len, sg, & nents, & offset, __cil_tmp213);
67162    }
67163  } else {
67164    {
67165#line 490
67166    __cil_tmp214 = & crc;
67167#line 490
67168    __cil_tmp215 = ~ 0;
67169#line 490
67170    __cil_tmp216 = (u32 )__cil_tmp215;
67171#line 490
67172    __cil_tmp217 = (u8 *)fh;
67173#line 490
67174    __cil_tmp218 = (unsigned char    *)__cil_tmp217;
67175#line 490
67176    *__cil_tmp214 = crc32_le(__cil_tmp216, __cil_tmp218, 24UL);
67177#line 491
67178    copy_len = fc_copy_buffer_to_sglist(buf, len, sg, & nents, & offset, & crc);
67179#line 493
67180    __cil_tmp219 = (struct fc_frame    *)fp;
67181#line 493
67182    __cil_tmp220 = (size_t )0;
67183#line 493
67184    buf = fc_frame_payload_get(__cil_tmp219, __cil_tmp220);
67185    }
67186#line 494
67187    if (len % 4UL) {
67188      {
67189#line 495
67190      __cil_tmp221 = & crc;
67191#line 495
67192      __cil_tmp222 = & crc;
67193#line 495
67194      __cil_tmp223 = *__cil_tmp222;
67195#line 495
67196      __cil_tmp224 = buf + len;
67197#line 495
67198      __cil_tmp225 = (unsigned char    *)__cil_tmp224;
67199#line 495
67200      __cil_tmp226 = len % 4UL;
67201#line 495
67202      __cil_tmp227 = 4UL - __cil_tmp226;
67203#line 495
67204      *__cil_tmp221 = crc32_le(__cil_tmp223, __cil_tmp225, __cil_tmp227);
67205      }
67206    } else {
67207
67208    }
67209    {
67210#line 497
67211    __cil_tmp228 = 0 * 1UL;
67212#line 497
67213    __cil_tmp229 = 40 + __cil_tmp228;
67214#line 497
67215    __cil_tmp230 = 0 + __cil_tmp229;
67216#line 497
67217    __cil_tmp231 = (unsigned long )fp;
67218#line 497
67219    __cil_tmp232 = __cil_tmp231 + __cil_tmp230;
67220#line 497
67221    __cil_tmp233 = (char *)__cil_tmp232;
67222#line 497
67223    __cil_tmp234 = (struct fcoe_rcv_info *)__cil_tmp233;
67224#line 497
67225    __cil_tmp235 = (unsigned long )__cil_tmp234;
67226#line 497
67227    __cil_tmp236 = __cil_tmp235 + 24;
67228#line 497
67229    __cil_tmp237 = *((u32 *)__cil_tmp236);
67230#line 497
67231    __cil_tmp238 = & crc;
67232#line 497
67233    __cil_tmp239 = *__cil_tmp238;
67234#line 497
67235    __cil_tmp240 = ~ __cil_tmp239;
67236#line 497
67237    if (__cil_tmp240 != __cil_tmp237) {
67238      crc_err: 
67239      {
67240#line 499
67241      while (1) {
67242        while_continue___3: /* CIL Label */ ;
67243#line 499
67244        __cil_tmp241 = (void *)0;
67245#line 499
67246        __cil_tmp242 = (struct fcoe_dev_stats *)__cil_tmp241;
67247#line 499
67248        __vpp_verify = (void    *)__cil_tmp242;
67249#line 499
67250        goto while_break___3;
67251      }
67252      while_break___3: /* CIL Label */ ;
67253      }
67254#line 499
67255      __cil_tmp243 = (unsigned long )lport;
67256#line 499
67257      __cil_tmp244 = __cil_tmp243 + 776;
67258#line 499
67259      __asm__  ("": "=r" (__ptr): "0" (*((struct fcoe_dev_stats **)__cil_tmp244)));
67260      {
67261#line 499
67262      while (1) {
67263        while_continue___4: /* CIL Label */ ;
67264        {
67265#line 499
67266        while (1) {
67267          while_continue___5: /* CIL Label */ ;
67268          {
67269#line 499
67270          tmp___11 = current_thread_info();
67271#line 499
67272          __cil_tmp245 = (unsigned long )tmp___11;
67273#line 499
67274          __cil_tmp246 = __cil_tmp245 + 28;
67275#line 499
67276          __cil_tmp247 = (unsigned long )tmp___11;
67277#line 499
67278          __cil_tmp248 = __cil_tmp247 + 28;
67279#line 499
67280          __cil_tmp249 = *((int *)__cil_tmp248);
67281#line 499
67282          *((int *)__cil_tmp246) = __cil_tmp249 + 1;
67283          }
67284#line 499
67285          goto while_break___5;
67286        }
67287        while_break___5: /* CIL Label */ ;
67288        }
67289#line 499
67290        __asm__  volatile   ("": : : "memory");
67291#line 499
67292        goto while_break___4;
67293      }
67294      while_break___4: /* CIL Label */ ;
67295      }
67296#line 499
67297      if ((int )4UL == 1) {
67298#line 499
67299        goto case_1;
67300      } else
67301#line 499
67302      if ((int )4UL == 2) {
67303#line 499
67304        goto case_2;
67305      } else
67306#line 499
67307      if ((int )4UL == 4) {
67308#line 499
67309        goto case_4;
67310      } else
67311#line 499
67312      if ((int )4UL == 8) {
67313#line 499
67314        goto case_8;
67315      } else {
67316        {
67317#line 499
67318        goto switch_default;
67319#line 499
67320        if (0) {
67321          case_1: /* CIL Label */ 
67322#line 499
67323          __asm__  ("mov"
67324                    "b "
67325                    "%%"
67326                    "gs"
67327                    ":"
67328                    "%P"
67329                    "1"
67330                    ",%0": "=q" (pfo_ret__): "m" (cpu_number));
67331#line 499
67332          goto switch_break;
67333          case_2: /* CIL Label */ 
67334#line 499
67335          __asm__  ("mov"
67336                    "w "
67337                    "%%"
67338                    "gs"
67339                    ":"
67340                    "%P"
67341                    "1"
67342                    ",%0": "=r" (pfo_ret__): "m" (cpu_number));
67343#line 499
67344          goto switch_break;
67345          case_4: /* CIL Label */ 
67346#line 499
67347          __asm__  ("mov"
67348                    "l "
67349                    "%%"
67350                    "gs"
67351                    ":"
67352                    "%P"
67353                    "1"
67354                    ",%0": "=r" (pfo_ret__): "m" (cpu_number));
67355#line 499
67356          goto switch_break;
67357          case_8: /* CIL Label */ 
67358#line 499
67359          __asm__  ("mov"
67360                    "q "
67361                    "%%"
67362                    "gs"
67363                    ":"
67364                    "%P"
67365                    "1"
67366                    ",%0": "=r" (pfo_ret__): "m" (cpu_number));
67367#line 499
67368          goto switch_break;
67369          switch_default: /* CIL Label */ 
67370          {
67371#line 499
67372          __bad_percpu_size();
67373          }
67374        } else {
67375          switch_break: /* CIL Label */ ;
67376        }
67377        }
67378      }
67379#line 499
67380      __cil_tmp250 = pfo_ret__ * 8UL;
67381#line 499
67382      __cil_tmp251 = (unsigned long )(__per_cpu_offset) + __cil_tmp250;
67383#line 499
67384      __cil_tmp252 = *((unsigned long *)__cil_tmp251);
67385#line 499
67386      __cil_tmp253 = __ptr + __cil_tmp252;
67387#line 499
67388      stats = (struct fcoe_dev_stats *)__cil_tmp253;
67389#line 500
67390      __cil_tmp254 = (unsigned long )stats;
67391#line 500
67392      __cil_tmp255 = __cil_tmp254 + 40;
67393#line 500
67394      __cil_tmp256 = (unsigned long )stats;
67395#line 500
67396      __cil_tmp257 = __cil_tmp256 + 40;
67397#line 500
67398      __cil_tmp258 = *((u64 *)__cil_tmp257);
67399#line 500
67400      *((u64 *)__cil_tmp255) = __cil_tmp258 + 1ULL;
67401#line 502
67402      __cil_tmp259 = (unsigned long )stats;
67403#line 502
67404      __cil_tmp260 = __cil_tmp259 + 80;
67405#line 502
67406      tmp___12 = *((u64 *)__cil_tmp260);
67407#line 502
67408      __cil_tmp261 = (unsigned long )stats;
67409#line 502
67410      __cil_tmp262 = __cil_tmp261 + 80;
67411#line 502
67412      __cil_tmp263 = (unsigned long )stats;
67413#line 502
67414      __cil_tmp264 = __cil_tmp263 + 80;
67415#line 502
67416      __cil_tmp265 = *((u64 *)__cil_tmp264);
67417#line 502
67418      *((u64 *)__cil_tmp262) = __cil_tmp265 + 1ULL;
67419#line 502
67420      if (tmp___12 < 5ULL) {
67421        {
67422#line 503
67423        __cil_tmp266 = (unsigned long )lport;
67424#line 503
67425        __cil_tmp267 = __cil_tmp266 + 788;
67426#line 503
67427        __cil_tmp268 = *((u32 *)__cil_tmp267);
67428#line 503
67429        printk("<4>libfc: CRC error on data frame for port (%6.6x)\n", __cil_tmp268);
67430        }
67431      } else {
67432
67433      }
67434      {
67435#line 506
67436      while (1) {
67437        while_continue___6: /* CIL Label */ ;
67438        {
67439#line 506
67440        while (1) {
67441          while_continue___7: /* CIL Label */ ;
67442#line 506
67443          __asm__  volatile   ("": : : "memory");
67444          {
67445#line 506
67446          while (1) {
67447            while_continue___8: /* CIL Label */ ;
67448            {
67449#line 506
67450            tmp___13 = current_thread_info();
67451#line 506
67452            __cil_tmp269 = (unsigned long )tmp___13;
67453#line 506
67454            __cil_tmp270 = __cil_tmp269 + 28;
67455#line 506
67456            __cil_tmp271 = (unsigned long )tmp___13;
67457#line 506
67458            __cil_tmp272 = __cil_tmp271 + 28;
67459#line 506
67460            __cil_tmp273 = *((int *)__cil_tmp272);
67461#line 506
67462            *((int *)__cil_tmp270) = __cil_tmp273 - 1;
67463            }
67464#line 506
67465            goto while_break___8;
67466          }
67467          while_break___8: /* CIL Label */ ;
67468          }
67469#line 506
67470          goto while_break___7;
67471        }
67472        while_break___7: /* CIL Label */ ;
67473        }
67474#line 506
67475        __asm__  volatile   ("": : : "memory");
67476        {
67477#line 506
67478        while (1) {
67479          while_continue___9: /* CIL Label */ ;
67480#line 506
67481          goto while_break___9;
67482        }
67483        while_break___9: /* CIL Label */ ;
67484        }
67485#line 506
67486        goto while_break___6;
67487      }
67488      while_break___6: /* CIL Label */ ;
67489      }
67490      {
67491#line 514
67492      __cil_tmp274 = 1 << 4;
67493#line 514
67494      __cil_tmp275 = (unsigned long )fsp;
67495#line 514
67496      __cil_tmp276 = __cil_tmp275 + 64;
67497#line 514
67498      __cil_tmp277 = *((u8 *)__cil_tmp276);
67499#line 514
67500      __cil_tmp278 = (int )__cil_tmp277;
67501#line 514
67502      if (__cil_tmp278 & __cil_tmp274) {
67503#line 515
67504        host_bcode = (u8 )10;
67505#line 516
67506        goto err;
67507      } else {
67508
67509      }
67510      }
67511#line 518
67512      return;
67513    } else {
67514
67515    }
67516    }
67517  }
67518  }
67519  {
67520#line 522
67521  __cil_tmp279 = (unsigned long )fsp;
67522#line 522
67523  __cil_tmp280 = __cil_tmp279 + 120;
67524#line 522
67525  __cil_tmp281 = *((u32 *)__cil_tmp280);
67526#line 522
67527  __cil_tmp282 = (size_t )__cil_tmp281;
67528#line 522
67529  if (__cil_tmp282 == start_offset) {
67530#line 523
67531    __cil_tmp283 = (unsigned long )fsp;
67532#line 523
67533    __cil_tmp284 = __cil_tmp283 + 120;
67534#line 523
67535    __cil_tmp285 = (unsigned long )fsp;
67536#line 523
67537    __cil_tmp286 = __cil_tmp285 + 120;
67538#line 523
67539    __cil_tmp287 = *((u32 *)__cil_tmp286);
67540#line 523
67541    *((u32 *)__cil_tmp284) = __cil_tmp287 + copy_len;
67542  } else {
67543
67544  }
67545  }
67546  {
67547#line 524
67548  __cil_tmp288 = (unsigned long )fsp;
67549#line 524
67550  __cil_tmp289 = __cil_tmp288 + 80;
67551#line 524
67552  __cil_tmp290 = (size_t )copy_len;
67553#line 524
67554  __cil_tmp291 = (unsigned long )fsp;
67555#line 524
67556  __cil_tmp292 = __cil_tmp291 + 80;
67557#line 524
67558  __cil_tmp293 = *((size_t *)__cil_tmp292);
67559#line 524
67560  *((size_t *)__cil_tmp289) = __cil_tmp293 + __cil_tmp290;
67561#line 530
67562  __cil_tmp294 = 1 << 1;
67563#line 530
67564  __cil_tmp295 = (unsigned long )fsp;
67565#line 530
67566  __cil_tmp296 = __cil_tmp295 + 64;
67567#line 530
67568  __cil_tmp297 = *((u8 *)__cil_tmp296);
67569#line 530
67570  __cil_tmp298 = (int )__cil_tmp297;
67571#line 530
67572  __cil_tmp299 = __cil_tmp298 & __cil_tmp294;
67573#line 530
67574  __cil_tmp300 = ! __cil_tmp299;
67575#line 530
67576  __cil_tmp301 = ! __cil_tmp300;
67577#line 530
67578  __cil_tmp302 = (long )__cil_tmp301;
67579#line 530
67580  tmp___14 = __builtin_expect(__cil_tmp302, 0L);
67581  }
67582#line 530
67583  if (tmp___14) {
67584    {
67585#line 530
67586    __cil_tmp303 = (unsigned long )fsp;
67587#line 530
67588    __cil_tmp304 = __cil_tmp303 + 76;
67589#line 530
67590    __cil_tmp305 = *((u32 *)__cil_tmp304);
67591#line 530
67592    __cil_tmp306 = (unsigned long )fsp;
67593#line 530
67594    __cil_tmp307 = __cil_tmp306 + 28;
67595#line 530
67596    __cil_tmp308 = *((u32 *)__cil_tmp307);
67597#line 530
67598    __cil_tmp309 = __cil_tmp308 - __cil_tmp305;
67599#line 530
67600    __cil_tmp310 = (size_t )__cil_tmp309;
67601#line 530
67602    __cil_tmp311 = (unsigned long )fsp;
67603#line 530
67604    __cil_tmp312 = __cil_tmp311 + 80;
67605#line 530
67606    __cil_tmp313 = *((size_t *)__cil_tmp312);
67607#line 530
67608    if (__cil_tmp313 == __cil_tmp310) {
67609      {
67610#line 532
67611      fc_fcp_complete_locked(fsp);
67612      }
67613    } else {
67614
67615    }
67616    }
67617  } else {
67618
67619  }
67620#line 533
67621  return;
67622  err: 
67623  {
67624#line 535
67625  fc_fcp_recovery(fsp, host_bcode);
67626  }
67627#line 536
67628  return;
67629}
67630}
67631#line 551 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
67632static int fc_fcp_send_data(struct fc_fcp_pkt *fsp , struct fc_seq *seq , size_t offset ,
67633                            size_t seq_blen ) 
67634{ struct fc_exch *ep ;
67635  struct scsi_cmnd *sc ;
67636  struct scatterlist *sg ;
67637  struct fc_frame *fp ;
67638  struct fc_lport *lport ;
67639  struct page *page ;
67640  size_t remaining ;
67641  size_t t_blen ;
67642  size_t tlen ;
67643  size_t sg_bytes ;
67644  size_t frame_offset ;
67645  size_t fh_parm_offset ;
67646  size_t off ;
67647  int error ;
67648  void *data ;
67649  void *page_addr ;
67650  int using_sg ;
67651  u32 f_ctl ;
67652  int __ret_warn_on ;
67653  long tmp___7 ;
67654  struct fc_exch *_ep ;
67655  struct fc_seq    *__mptr ;
67656  long tmp___8 ;
67657  struct fc_exch *_ep___0 ;
67658  struct fc_seq    *__mptr___0 ;
67659  long tmp___9 ;
67660  long tmp___10 ;
67661  size_t _min1 ;
67662  size_t _min2 ;
67663  size_t tmp___11 ;
67664  struct fc_exch *_ep___1 ;
67665  struct fc_seq    *__mptr___1 ;
67666  long tmp___12 ;
67667  int __ret_warn_on___0 ;
67668  long tmp___13 ;
67669  size_t _min1___0 ;
67670  size_t _min2___0 ;
67671  size_t tmp___14 ;
67672  size_t tmp___15 ;
67673  struct fc_frame_header *tmp___16 ;
67674  size_t _min1___1 ;
67675  size_t _min2___1 ;
67676  size_t tmp___17 ;
67677  size_t _min1___2 ;
67678  size_t _min2___2 ;
67679  size_t tmp___18 ;
67680  struct page *tmp___19 ;
67681  unsigned char *tmp___20 ;
67682  size_t __len ;
67683  void *__ret ;
67684  unsigned char *tmp___21 ;
67685  struct fc_seq    *__mptr___2 ;
67686  int __ret_warn_on___1 ;
67687  long tmp___22 ;
67688  void *__cil_tmp59 ;
67689  unsigned long __cil_tmp60 ;
67690  unsigned long __cil_tmp61 ;
67691  unsigned long __cil_tmp62 ;
67692  unsigned long __cil_tmp63 ;
67693  u32 __cil_tmp64 ;
67694  int __cil_tmp65 ;
67695  int __cil_tmp66 ;
67696  int __cil_tmp67 ;
67697  int __cil_tmp68 ;
67698  long __cil_tmp69 ;
67699  int    __cil_tmp70 ;
67700  int __cil_tmp71 ;
67701  int __cil_tmp72 ;
67702  long __cil_tmp73 ;
67703  unsigned long __cil_tmp74 ;
67704  unsigned long __cil_tmp75 ;
67705  u32 __cil_tmp76 ;
67706  size_t __cil_tmp77 ;
67707  size_t __cil_tmp78 ;
67708  int __cil_tmp79 ;
67709  int __cil_tmp80 ;
67710  int __cil_tmp81 ;
67711  long __cil_tmp82 ;
67712  unsigned int *__cil_tmp83 ;
67713  unsigned int __cil_tmp84 ;
67714  unsigned int __cil_tmp85 ;
67715  int __cil_tmp86 ;
67716  int __cil_tmp87 ;
67717  long __cil_tmp88 ;
67718  unsigned long __cil_tmp89 ;
67719  unsigned long __cil_tmp90 ;
67720  void *__cil_tmp91 ;
67721  unsigned long __cil_tmp92 ;
67722  unsigned long __cil_tmp93 ;
67723  struct fc_seq *__cil_tmp94 ;
67724  struct fc_exch *__cil_tmp95 ;
67725  unsigned long __cil_tmp96 ;
67726  unsigned long __cil_tmp97 ;
67727  struct fc_seq *__cil_tmp98 ;
67728  unsigned int __cil_tmp99 ;
67729  char *__cil_tmp100 ;
67730  char *__cil_tmp101 ;
67731  unsigned long __cil_tmp102 ;
67732  unsigned long __cil_tmp103 ;
67733  struct fc_lport *__cil_tmp104 ;
67734  struct Scsi_Host *__cil_tmp105 ;
67735  unsigned long __cil_tmp106 ;
67736  unsigned long __cil_tmp107 ;
67737  unsigned int __cil_tmp108 ;
67738  unsigned long __cil_tmp109 ;
67739  unsigned long __cil_tmp110 ;
67740  struct fc_rport *__cil_tmp111 ;
67741  unsigned long __cil_tmp112 ;
67742  unsigned long __cil_tmp113 ;
67743  u32 __cil_tmp114 ;
67744  unsigned long __cil_tmp115 ;
67745  unsigned long __cil_tmp116 ;
67746  u16 __cil_tmp117 ;
67747  int __cil_tmp118 ;
67748  unsigned long __cil_tmp119 ;
67749  unsigned long __cil_tmp120 ;
67750  u16 __cil_tmp121 ;
67751  int __cil_tmp122 ;
67752  unsigned long __cil_tmp123 ;
67753  unsigned long __cil_tmp124 ;
67754  struct fc_lport *__cil_tmp125 ;
67755  struct Scsi_Host *__cil_tmp126 ;
67756  unsigned long __cil_tmp127 ;
67757  unsigned long __cil_tmp128 ;
67758  unsigned int __cil_tmp129 ;
67759  unsigned long __cil_tmp130 ;
67760  unsigned long __cil_tmp131 ;
67761  struct fc_rport *__cil_tmp132 ;
67762  unsigned long __cil_tmp133 ;
67763  unsigned long __cil_tmp134 ;
67764  u32 __cil_tmp135 ;
67765  unsigned long __cil_tmp136 ;
67766  unsigned long __cil_tmp137 ;
67767  size_t __cil_tmp138 ;
67768  unsigned int *__cil_tmp139 ;
67769  unsigned int __cil_tmp140 ;
67770  unsigned int __cil_tmp141 ;
67771  int __cil_tmp142 ;
67772  int __cil_tmp143 ;
67773  long __cil_tmp144 ;
67774  unsigned long __cil_tmp145 ;
67775  unsigned long __cil_tmp146 ;
67776  void *__cil_tmp147 ;
67777  unsigned long __cil_tmp148 ;
67778  unsigned long __cil_tmp149 ;
67779  struct fc_seq *__cil_tmp150 ;
67780  struct fc_exch *__cil_tmp151 ;
67781  unsigned long __cil_tmp152 ;
67782  unsigned long __cil_tmp153 ;
67783  struct fc_seq *__cil_tmp154 ;
67784  unsigned int __cil_tmp155 ;
67785  char *__cil_tmp156 ;
67786  char *__cil_tmp157 ;
67787  unsigned long __cil_tmp158 ;
67788  unsigned long __cil_tmp159 ;
67789  struct fc_lport *__cil_tmp160 ;
67790  struct Scsi_Host *__cil_tmp161 ;
67791  unsigned long __cil_tmp162 ;
67792  unsigned long __cil_tmp163 ;
67793  unsigned int __cil_tmp164 ;
67794  unsigned long __cil_tmp165 ;
67795  unsigned long __cil_tmp166 ;
67796  struct fc_rport *__cil_tmp167 ;
67797  unsigned long __cil_tmp168 ;
67798  unsigned long __cil_tmp169 ;
67799  u32 __cil_tmp170 ;
67800  unsigned long __cil_tmp171 ;
67801  unsigned long __cil_tmp172 ;
67802  u16 __cil_tmp173 ;
67803  int __cil_tmp174 ;
67804  unsigned long __cil_tmp175 ;
67805  unsigned long __cil_tmp176 ;
67806  u16 __cil_tmp177 ;
67807  int __cil_tmp178 ;
67808  unsigned long __cil_tmp179 ;
67809  unsigned long __cil_tmp180 ;
67810  struct fc_lport *__cil_tmp181 ;
67811  struct Scsi_Host *__cil_tmp182 ;
67812  unsigned long __cil_tmp183 ;
67813  unsigned long __cil_tmp184 ;
67814  unsigned int __cil_tmp185 ;
67815  unsigned long __cil_tmp186 ;
67816  unsigned long __cil_tmp187 ;
67817  struct fc_rport *__cil_tmp188 ;
67818  unsigned long __cil_tmp189 ;
67819  unsigned long __cil_tmp190 ;
67820  u32 __cil_tmp191 ;
67821  unsigned long __cil_tmp192 ;
67822  unsigned long __cil_tmp193 ;
67823  u16 __cil_tmp194 ;
67824  size_t *__cil_tmp195 ;
67825  size_t *__cil_tmp196 ;
67826  unsigned long __cil_tmp197 ;
67827  unsigned long __cil_tmp198 ;
67828  unsigned int __cil_tmp199 ;
67829  size_t *__cil_tmp200 ;
67830  size_t __cil_tmp201 ;
67831  size_t *__cil_tmp202 ;
67832  size_t __cil_tmp203 ;
67833  size_t *__cil_tmp204 ;
67834  size_t *__cil_tmp205 ;
67835  unsigned int *__cil_tmp206 ;
67836  unsigned int __cil_tmp207 ;
67837  unsigned int __cil_tmp208 ;
67838  int __cil_tmp209 ;
67839  int __cil_tmp210 ;
67840  long __cil_tmp211 ;
67841  unsigned long __cil_tmp212 ;
67842  unsigned long __cil_tmp213 ;
67843  void *__cil_tmp214 ;
67844  unsigned long __cil_tmp215 ;
67845  unsigned long __cil_tmp216 ;
67846  struct fc_seq *__cil_tmp217 ;
67847  struct fc_exch *__cil_tmp218 ;
67848  unsigned long __cil_tmp219 ;
67849  unsigned long __cil_tmp220 ;
67850  struct fc_seq *__cil_tmp221 ;
67851  unsigned int __cil_tmp222 ;
67852  char *__cil_tmp223 ;
67853  char *__cil_tmp224 ;
67854  unsigned long __cil_tmp225 ;
67855  unsigned long __cil_tmp226 ;
67856  struct fc_lport *__cil_tmp227 ;
67857  struct Scsi_Host *__cil_tmp228 ;
67858  unsigned long __cil_tmp229 ;
67859  unsigned long __cil_tmp230 ;
67860  unsigned int __cil_tmp231 ;
67861  unsigned long __cil_tmp232 ;
67862  unsigned long __cil_tmp233 ;
67863  struct fc_rport *__cil_tmp234 ;
67864  unsigned long __cil_tmp235 ;
67865  unsigned long __cil_tmp236 ;
67866  u32 __cil_tmp237 ;
67867  unsigned long __cil_tmp238 ;
67868  unsigned long __cil_tmp239 ;
67869  u16 __cil_tmp240 ;
67870  int __cil_tmp241 ;
67871  unsigned long __cil_tmp242 ;
67872  unsigned long __cil_tmp243 ;
67873  u16 __cil_tmp244 ;
67874  int __cil_tmp245 ;
67875  unsigned long __cil_tmp246 ;
67876  unsigned long __cil_tmp247 ;
67877  unsigned int __cil_tmp248 ;
67878  unsigned long __cil_tmp249 ;
67879  unsigned long __cil_tmp250 ;
67880  struct fc_lport *__cil_tmp251 ;
67881  struct Scsi_Host *__cil_tmp252 ;
67882  unsigned long __cil_tmp253 ;
67883  unsigned long __cil_tmp254 ;
67884  unsigned int __cil_tmp255 ;
67885  unsigned long __cil_tmp256 ;
67886  unsigned long __cil_tmp257 ;
67887  struct fc_rport *__cil_tmp258 ;
67888  unsigned long __cil_tmp259 ;
67889  unsigned long __cil_tmp260 ;
67890  u32 __cil_tmp261 ;
67891  unsigned long __cil_tmp262 ;
67892  unsigned long __cil_tmp263 ;
67893  unsigned int __cil_tmp264 ;
67894  unsigned long __cil_tmp265 ;
67895  unsigned long __cil_tmp266 ;
67896  unsigned long __cil_tmp267 ;
67897  unsigned long __cil_tmp268 ;
67898  unsigned long __cil_tmp269 ;
67899  struct fc_seq *(*__cil_tmp270)(struct fc_seq * ) ;
67900  int __cil_tmp271 ;
67901  int __cil_tmp272 ;
67902  int __cil_tmp273 ;
67903  int __cil_tmp274 ;
67904  int __cil_tmp275 ;
67905  long __cil_tmp276 ;
67906  int    __cil_tmp277 ;
67907  int __cil_tmp278 ;
67908  int __cil_tmp279 ;
67909  long __cil_tmp280 ;
67910  unsigned long __cil_tmp281 ;
67911  unsigned long __cil_tmp282 ;
67912  unsigned int __cil_tmp283 ;
67913  size_t __cil_tmp284 ;
67914  unsigned long __cil_tmp285 ;
67915  unsigned long __cil_tmp286 ;
67916  unsigned int __cil_tmp287 ;
67917  size_t __cil_tmp288 ;
67918  size_t *__cil_tmp289 ;
67919  size_t *__cil_tmp290 ;
67920  size_t *__cil_tmp291 ;
67921  size_t __cil_tmp292 ;
67922  size_t *__cil_tmp293 ;
67923  size_t __cil_tmp294 ;
67924  size_t *__cil_tmp295 ;
67925  size_t *__cil_tmp296 ;
67926  struct fc_frame    *__cil_tmp297 ;
67927  struct fc_frame_header *__cil_tmp298 ;
67928  unsigned long __cil_tmp299 ;
67929  unsigned long __cil_tmp300 ;
67930  unsigned long __cil_tmp301 ;
67931  unsigned long __cil_tmp302 ;
67932  unsigned long __cil_tmp303 ;
67933  char *__cil_tmp304 ;
67934  struct fcoe_rcv_info *__cil_tmp305 ;
67935  unsigned long __cil_tmp306 ;
67936  unsigned long __cil_tmp307 ;
67937  unsigned long __cil_tmp308 ;
67938  unsigned long __cil_tmp309 ;
67939  unsigned long __cil_tmp310 ;
67940  unsigned long __cil_tmp311 ;
67941  unsigned int __cil_tmp312 ;
67942  size_t __cil_tmp313 ;
67943  size_t *__cil_tmp314 ;
67944  size_t *__cil_tmp315 ;
67945  unsigned long __cil_tmp316 ;
67946  unsigned long __cil_tmp317 ;
67947  unsigned int __cil_tmp318 ;
67948  size_t __cil_tmp319 ;
67949  size_t *__cil_tmp320 ;
67950  size_t __cil_tmp321 ;
67951  size_t *__cil_tmp322 ;
67952  size_t __cil_tmp323 ;
67953  size_t *__cil_tmp324 ;
67954  size_t *__cil_tmp325 ;
67955  size_t *__cil_tmp326 ;
67956  size_t *__cil_tmp327 ;
67957  unsigned long __cil_tmp328 ;
67958  unsigned long __cil_tmp329 ;
67959  unsigned long __cil_tmp330 ;
67960  unsigned long __cil_tmp331 ;
67961  unsigned long __cil_tmp332 ;
67962  unsigned long __cil_tmp333 ;
67963  size_t *__cil_tmp334 ;
67964  size_t __cil_tmp335 ;
67965  size_t *__cil_tmp336 ;
67966  size_t __cil_tmp337 ;
67967  size_t *__cil_tmp338 ;
67968  size_t *__cil_tmp339 ;
67969  size_t __cil_tmp340 ;
67970  struct sk_buff *__cil_tmp341 ;
67971  struct sk_buff    *__cil_tmp342 ;
67972  struct sk_buff *__cil_tmp343 ;
67973  struct skb_shared_info *__cil_tmp344 ;
67974  unsigned char __cil_tmp345 ;
67975  int __cil_tmp346 ;
67976  unsigned long __cil_tmp347 ;
67977  unsigned long __cil_tmp348 ;
67978  unsigned long __cil_tmp349 ;
67979  unsigned long __cil_tmp350 ;
67980  unsigned long __cil_tmp351 ;
67981  int __cil_tmp352 ;
67982  int __cil_tmp353 ;
67983  unsigned long __cil_tmp354 ;
67984  unsigned long __cil_tmp355 ;
67985  unsigned long __cil_tmp356 ;
67986  unsigned long __cil_tmp357 ;
67987  unsigned long __cil_tmp358 ;
67988  unsigned long __cil_tmp359 ;
67989  unsigned int __cil_tmp360 ;
67990  size_t __cil_tmp361 ;
67991  size_t __cil_tmp362 ;
67992  unsigned long __cil_tmp363 ;
67993  unsigned long __cil_tmp364 ;
67994  unsigned long __cil_tmp365 ;
67995  unsigned long __cil_tmp366 ;
67996  unsigned long __cil_tmp367 ;
67997  unsigned long __cil_tmp368 ;
67998  unsigned int __cil_tmp369 ;
67999  size_t __cil_tmp370 ;
68000  size_t __cil_tmp371 ;
68001  unsigned long __cil_tmp372 ;
68002  unsigned long __cil_tmp373 ;
68003  unsigned long __cil_tmp374 ;
68004  unsigned long __cil_tmp375 ;
68005  unsigned long __cil_tmp376 ;
68006  unsigned long __cil_tmp377 ;
68007  unsigned long __cil_tmp378 ;
68008  unsigned int __cil_tmp379 ;
68009  unsigned long __cil_tmp380 ;
68010  unsigned long __cil_tmp381 ;
68011  unsigned long __cil_tmp382 ;
68012  unsigned long __cil_tmp383 ;
68013  unsigned long __cil_tmp384 ;
68014  unsigned long __cil_tmp385 ;
68015  unsigned long __cil_tmp386 ;
68016  char *__cil_tmp387 ;
68017  char *__cil_tmp388 ;
68018  void    *__cil_tmp389 ;
68019  struct sk_buff *__cil_tmp390 ;
68020  struct sk_buff    *__cil_tmp391 ;
68021  unsigned long __cil_tmp392 ;
68022  unsigned long __cil_tmp393 ;
68023  unsigned long __cil_tmp394 ;
68024  unsigned long __cil_tmp395 ;
68025  struct skb_shared_info *__cil_tmp396 ;
68026  unsigned char __cil_tmp397 ;
68027  unsigned long __cil_tmp398 ;
68028  int __cil_tmp399 ;
68029  int __cil_tmp400 ;
68030  int __cil_tmp401 ;
68031  unsigned int __cil_tmp402 ;
68032  struct fc_exch *__cil_tmp403 ;
68033  unsigned long __cil_tmp404 ;
68034  unsigned long __cil_tmp405 ;
68035  struct fc_seq *__cil_tmp406 ;
68036  unsigned int __cil_tmp407 ;
68037  char *__cil_tmp408 ;
68038  char *__cil_tmp409 ;
68039  enum fc_rctl __cil_tmp410 ;
68040  unsigned long __cil_tmp411 ;
68041  unsigned long __cil_tmp412 ;
68042  u32 __cil_tmp413 ;
68043  unsigned long __cil_tmp414 ;
68044  unsigned long __cil_tmp415 ;
68045  u32 __cil_tmp416 ;
68046  enum fc_fh_type __cil_tmp417 ;
68047  u32 __cil_tmp418 ;
68048  unsigned long __cil_tmp419 ;
68049  unsigned long __cil_tmp420 ;
68050  unsigned long __cil_tmp421 ;
68051  int (*__cil_tmp422)(struct fc_lport * , struct fc_seq * , struct fc_frame * ) ;
68052  int __cil_tmp423 ;
68053  int __cil_tmp424 ;
68054  long __cil_tmp425 ;
68055  int    __cil_tmp426 ;
68056  int __cil_tmp427 ;
68057  int __cil_tmp428 ;
68058  long __cil_tmp429 ;
68059  void *__cil_tmp430 ;
68060  unsigned long __cil_tmp431 ;
68061  unsigned long __cil_tmp432 ;
68062  unsigned long __cil_tmp433 ;
68063  unsigned long __cil_tmp434 ;
68064  size_t __cil_tmp435 ;
68065
68066  {
68067  {
68068#line 557
68069  __cil_tmp59 = (void *)0;
68070#line 557
68071  fp = (struct fc_frame *)__cil_tmp59;
68072#line 558
68073  __cil_tmp60 = (unsigned long )fsp;
68074#line 558
68075  __cil_tmp61 = __cil_tmp60 + 56;
68076#line 558
68077  lport = *((struct fc_lport **)__cil_tmp61);
68078#line 567
68079  data = (void *)0;
68080#line 569
68081  __cil_tmp62 = (unsigned long )lport;
68082#line 569
68083  __cil_tmp63 = __cil_tmp62 + 872;
68084#line 569
68085  __cil_tmp64 = *((u32 *)__cil_tmp63);
68086#line 569
68087  using_sg = (int )__cil_tmp64;
68088#line 572
68089  __cil_tmp65 = seq_blen <= 0UL;
68090#line 572
68091  __cil_tmp66 = ! __cil_tmp65;
68092#line 572
68093  __ret_warn_on = ! __cil_tmp66;
68094#line 572
68095  __cil_tmp67 = ! __ret_warn_on;
68096#line 572
68097  __cil_tmp68 = ! __cil_tmp67;
68098#line 572
68099  __cil_tmp69 = (long )__cil_tmp68;
68100#line 572
68101  tmp___7 = __builtin_expect(__cil_tmp69, 0L);
68102  }
68103#line 572
68104  if (tmp___7) {
68105    {
68106#line 572
68107    __cil_tmp70 = (int    )572;
68108#line 572
68109    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c",
68110                       __cil_tmp70);
68111    }
68112  } else {
68113
68114  }
68115  {
68116#line 572
68117  __cil_tmp71 = ! __ret_warn_on;
68118#line 572
68119  __cil_tmp72 = ! __cil_tmp71;
68120#line 572
68121  __cil_tmp73 = (long )__cil_tmp72;
68122#line 572
68123  __builtin_expect(__cil_tmp73, 0L);
68124#line 573
68125  __cil_tmp74 = (unsigned long )fsp;
68126#line 573
68127  __cil_tmp75 = __cil_tmp74 + 28;
68128#line 573
68129  __cil_tmp76 = *((u32 *)__cil_tmp75);
68130#line 573
68131  __cil_tmp77 = (size_t )__cil_tmp76;
68132#line 573
68133  __cil_tmp78 = offset + seq_blen;
68134#line 573
68135  __cil_tmp79 = __cil_tmp78 > __cil_tmp77;
68136#line 573
68137  __cil_tmp80 = ! __cil_tmp79;
68138#line 573
68139  __cil_tmp81 = ! __cil_tmp80;
68140#line 573
68141  __cil_tmp82 = (long )__cil_tmp81;
68142#line 573
68143  tmp___10 = __builtin_expect(__cil_tmp82, 0L);
68144  }
68145#line 573
68146  if (tmp___10) {
68147    {
68148#line 575
68149    while (1) {
68150      while_continue: /* CIL Label */ ;
68151      {
68152#line 575
68153      __cil_tmp83 = & fc_debug_logging;
68154#line 575
68155      __cil_tmp84 = *__cil_tmp83;
68156#line 575
68157      __cil_tmp85 = __cil_tmp84 & 16U;
68158#line 575
68159      __cil_tmp86 = ! __cil_tmp85;
68160#line 575
68161      __cil_tmp87 = ! __cil_tmp86;
68162#line 575
68163      __cil_tmp88 = (long )__cil_tmp87;
68164#line 575
68165      tmp___8 = __builtin_expect(__cil_tmp88, 0L);
68166      }
68167#line 575
68168      if (tmp___8) {
68169        {
68170#line 575
68171        while (1) {
68172          while_continue___0: /* CIL Label */ ;
68173          {
68174#line 575
68175          __cil_tmp89 = (unsigned long )fsp;
68176#line 575
68177          __cil_tmp90 = __cil_tmp89 + 136;
68178#line 575
68179          if (*((struct fc_seq **)__cil_tmp90)) {
68180            {
68181#line 575
68182            __cil_tmp91 = (void *)0;
68183#line 575
68184            _ep = (struct fc_exch *)__cil_tmp91;
68185#line 575
68186            __cil_tmp92 = (unsigned long )fsp;
68187#line 575
68188            __cil_tmp93 = __cil_tmp92 + 136;
68189#line 575
68190            __cil_tmp94 = *((struct fc_seq **)__cil_tmp93);
68191#line 575
68192            __mptr = (struct fc_seq    *)__cil_tmp94;
68193#line 575
68194            __cil_tmp95 = (struct fc_exch *)0;
68195#line 575
68196            __cil_tmp96 = (unsigned long )__cil_tmp95;
68197#line 575
68198            __cil_tmp97 = __cil_tmp96 + 108;
68199#line 575
68200            __cil_tmp98 = (struct fc_seq *)__cil_tmp97;
68201#line 575
68202            __cil_tmp99 = (unsigned int )__cil_tmp98;
68203#line 575
68204            __cil_tmp100 = (char *)__mptr;
68205#line 575
68206            __cil_tmp101 = __cil_tmp100 - __cil_tmp99;
68207#line 575
68208            _ep = (struct fc_exch *)__cil_tmp101;
68209#line 575
68210            __cil_tmp102 = (unsigned long )fsp;
68211#line 575
68212            __cil_tmp103 = __cil_tmp102 + 56;
68213#line 575
68214            __cil_tmp104 = *((struct fc_lport **)__cil_tmp103);
68215#line 575
68216            __cil_tmp105 = *((struct Scsi_Host **)__cil_tmp104);
68217#line 575
68218            __cil_tmp106 = (unsigned long )__cil_tmp105;
68219#line 575
68220            __cil_tmp107 = __cil_tmp106 + 308;
68221#line 575
68222            __cil_tmp108 = *((unsigned int *)__cil_tmp107);
68223#line 575
68224            __cil_tmp109 = (unsigned long )fsp;
68225#line 575
68226            __cil_tmp110 = __cil_tmp109 + 128;
68227#line 575
68228            __cil_tmp111 = *((struct fc_rport **)__cil_tmp110);
68229#line 575
68230            __cil_tmp112 = (unsigned long )__cil_tmp111;
68231#line 575
68232            __cil_tmp113 = __cil_tmp112 + 32;
68233#line 575
68234            __cil_tmp114 = *((u32 *)__cil_tmp113);
68235#line 575
68236            __cil_tmp115 = (unsigned long )_ep;
68237#line 575
68238            __cil_tmp116 = __cil_tmp115 + 82;
68239#line 575
68240            __cil_tmp117 = *((u16 *)__cil_tmp116);
68241#line 575
68242            __cil_tmp118 = (int )__cil_tmp117;
68243#line 575
68244            __cil_tmp119 = (unsigned long )_ep;
68245#line 575
68246            __cil_tmp120 = __cil_tmp119 + 84;
68247#line 575
68248            __cil_tmp121 = *((u16 *)__cil_tmp120);
68249#line 575
68250            __cil_tmp122 = (int )__cil_tmp121;
68251#line 575
68252            printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: xfer-ready past end. seq_blen %zx offset %zx\n",
68253                   __cil_tmp108, __cil_tmp114, __cil_tmp118, __cil_tmp122, seq_blen,
68254                   offset);
68255            }
68256          } else {
68257            {
68258#line 575
68259            __cil_tmp123 = (unsigned long )fsp;
68260#line 575
68261            __cil_tmp124 = __cil_tmp123 + 56;
68262#line 575
68263            __cil_tmp125 = *((struct fc_lport **)__cil_tmp124);
68264#line 575
68265            __cil_tmp126 = *((struct Scsi_Host **)__cil_tmp125);
68266#line 575
68267            __cil_tmp127 = (unsigned long )__cil_tmp126;
68268#line 575
68269            __cil_tmp128 = __cil_tmp127 + 308;
68270#line 575
68271            __cil_tmp129 = *((unsigned int *)__cil_tmp128);
68272#line 575
68273            __cil_tmp130 = (unsigned long )fsp;
68274#line 575
68275            __cil_tmp131 = __cil_tmp130 + 128;
68276#line 575
68277            __cil_tmp132 = *((struct fc_rport **)__cil_tmp131);
68278#line 575
68279            __cil_tmp133 = (unsigned long )__cil_tmp132;
68280#line 575
68281            __cil_tmp134 = __cil_tmp133 + 32;
68282#line 575
68283            __cil_tmp135 = *((u32 *)__cil_tmp134);
68284#line 575
68285            printk("<6>host%u: fcp: %6.6x: xfer-ready past end. seq_blen %zx offset %zx\n",
68286                   __cil_tmp129, __cil_tmp135, seq_blen, offset);
68287            }
68288          }
68289          }
68290#line 575
68291          goto while_break___0;
68292        }
68293        while_break___0: /* CIL Label */ ;
68294        }
68295      } else {
68296
68297      }
68298#line 575
68299      goto while_break;
68300    }
68301    while_break: /* CIL Label */ ;
68302    }
68303    {
68304#line 577
68305    fc_fcp_send_abort(fsp);
68306    }
68307#line 578
68308    return (0);
68309  } else {
68310    {
68311#line 579
68312    __cil_tmp136 = (unsigned long )fsp;
68313#line 579
68314    __cil_tmp137 = __cil_tmp136 + 80;
68315#line 579
68316    __cil_tmp138 = *((size_t *)__cil_tmp137);
68317#line 579
68318    if (offset != __cil_tmp138) {
68319      {
68320#line 581
68321      while (1) {
68322        while_continue___1: /* CIL Label */ ;
68323        {
68324#line 581
68325        __cil_tmp139 = & fc_debug_logging;
68326#line 581
68327        __cil_tmp140 = *__cil_tmp139;
68328#line 581
68329        __cil_tmp141 = __cil_tmp140 & 16U;
68330#line 581
68331        __cil_tmp142 = ! __cil_tmp141;
68332#line 581
68333        __cil_tmp143 = ! __cil_tmp142;
68334#line 581
68335        __cil_tmp144 = (long )__cil_tmp143;
68336#line 581
68337        tmp___9 = __builtin_expect(__cil_tmp144, 0L);
68338        }
68339#line 581
68340        if (tmp___9) {
68341          {
68342#line 581
68343          while (1) {
68344            while_continue___2: /* CIL Label */ ;
68345            {
68346#line 581
68347            __cil_tmp145 = (unsigned long )fsp;
68348#line 581
68349            __cil_tmp146 = __cil_tmp145 + 136;
68350#line 581
68351            if (*((struct fc_seq **)__cil_tmp146)) {
68352              {
68353#line 581
68354              __cil_tmp147 = (void *)0;
68355#line 581
68356              _ep___0 = (struct fc_exch *)__cil_tmp147;
68357#line 581
68358              __cil_tmp148 = (unsigned long )fsp;
68359#line 581
68360              __cil_tmp149 = __cil_tmp148 + 136;
68361#line 581
68362              __cil_tmp150 = *((struct fc_seq **)__cil_tmp149);
68363#line 581
68364              __mptr___0 = (struct fc_seq    *)__cil_tmp150;
68365#line 581
68366              __cil_tmp151 = (struct fc_exch *)0;
68367#line 581
68368              __cil_tmp152 = (unsigned long )__cil_tmp151;
68369#line 581
68370              __cil_tmp153 = __cil_tmp152 + 108;
68371#line 581
68372              __cil_tmp154 = (struct fc_seq *)__cil_tmp153;
68373#line 581
68374              __cil_tmp155 = (unsigned int )__cil_tmp154;
68375#line 581
68376              __cil_tmp156 = (char *)__mptr___0;
68377#line 581
68378              __cil_tmp157 = __cil_tmp156 - __cil_tmp155;
68379#line 581
68380              _ep___0 = (struct fc_exch *)__cil_tmp157;
68381#line 581
68382              __cil_tmp158 = (unsigned long )fsp;
68383#line 581
68384              __cil_tmp159 = __cil_tmp158 + 56;
68385#line 581
68386              __cil_tmp160 = *((struct fc_lport **)__cil_tmp159);
68387#line 581
68388              __cil_tmp161 = *((struct Scsi_Host **)__cil_tmp160);
68389#line 581
68390              __cil_tmp162 = (unsigned long )__cil_tmp161;
68391#line 581
68392              __cil_tmp163 = __cil_tmp162 + 308;
68393#line 581
68394              __cil_tmp164 = *((unsigned int *)__cil_tmp163);
68395#line 581
68396              __cil_tmp165 = (unsigned long )fsp;
68397#line 581
68398              __cil_tmp166 = __cil_tmp165 + 128;
68399#line 581
68400              __cil_tmp167 = *((struct fc_rport **)__cil_tmp166);
68401#line 581
68402              __cil_tmp168 = (unsigned long )__cil_tmp167;
68403#line 581
68404              __cil_tmp169 = __cil_tmp168 + 32;
68405#line 581
68406              __cil_tmp170 = *((u32 *)__cil_tmp169);
68407#line 581
68408              __cil_tmp171 = (unsigned long )_ep___0;
68409#line 581
68410              __cil_tmp172 = __cil_tmp171 + 82;
68411#line 581
68412              __cil_tmp173 = *((u16 *)__cil_tmp172);
68413#line 581
68414              __cil_tmp174 = (int )__cil_tmp173;
68415#line 581
68416              __cil_tmp175 = (unsigned long )_ep___0;
68417#line 581
68418              __cil_tmp176 = __cil_tmp175 + 84;
68419#line 581
68420              __cil_tmp177 = *((u16 *)__cil_tmp176);
68421#line 581
68422              __cil_tmp178 = (int )__cil_tmp177;
68423#line 581
68424              printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: xfer-ready non-contiguous. seq_blen %zx offset %zx\n",
68425                     __cil_tmp164, __cil_tmp170, __cil_tmp174, __cil_tmp178, seq_blen,
68426                     offset);
68427              }
68428            } else {
68429              {
68430#line 581
68431              __cil_tmp179 = (unsigned long )fsp;
68432#line 581
68433              __cil_tmp180 = __cil_tmp179 + 56;
68434#line 581
68435              __cil_tmp181 = *((struct fc_lport **)__cil_tmp180);
68436#line 581
68437              __cil_tmp182 = *((struct Scsi_Host **)__cil_tmp181);
68438#line 581
68439              __cil_tmp183 = (unsigned long )__cil_tmp182;
68440#line 581
68441              __cil_tmp184 = __cil_tmp183 + 308;
68442#line 581
68443              __cil_tmp185 = *((unsigned int *)__cil_tmp184);
68444#line 581
68445              __cil_tmp186 = (unsigned long )fsp;
68446#line 581
68447              __cil_tmp187 = __cil_tmp186 + 128;
68448#line 581
68449              __cil_tmp188 = *((struct fc_rport **)__cil_tmp187);
68450#line 581
68451              __cil_tmp189 = (unsigned long )__cil_tmp188;
68452#line 581
68453              __cil_tmp190 = __cil_tmp189 + 32;
68454#line 581
68455              __cil_tmp191 = *((u32 *)__cil_tmp190);
68456#line 581
68457              printk("<6>host%u: fcp: %6.6x: xfer-ready non-contiguous. seq_blen %zx offset %zx\n",
68458                     __cil_tmp185, __cil_tmp191, seq_blen, offset);
68459              }
68460            }
68461            }
68462#line 581
68463            goto while_break___2;
68464          }
68465          while_break___2: /* CIL Label */ ;
68466          }
68467        } else {
68468
68469        }
68470#line 581
68471        goto while_break___1;
68472      }
68473      while_break___1: /* CIL Label */ ;
68474      }
68475    } else {
68476
68477    }
68478    }
68479  }
68480#line 590
68481  __cil_tmp192 = (unsigned long )fsp;
68482#line 590
68483  __cil_tmp193 = __cil_tmp192 + 124;
68484#line 590
68485  __cil_tmp194 = *((u16 *)__cil_tmp193);
68486#line 590
68487  t_blen = (size_t )__cil_tmp194;
68488#line 591
68489  if (lport->seq_offload) {
68490#line 592
68491    __cil_tmp195 = & _min1;
68492#line 592
68493    *__cil_tmp195 = seq_blen;
68494#line 592
68495    __cil_tmp196 = & _min2;
68496#line 592
68497    __cil_tmp197 = (unsigned long )lport;
68498#line 592
68499    __cil_tmp198 = __cil_tmp197 + 892;
68500#line 592
68501    __cil_tmp199 = *((unsigned int *)__cil_tmp198);
68502#line 592
68503    *__cil_tmp196 = (size_t )__cil_tmp199;
68504    {
68505#line 592
68506    __cil_tmp200 = & _min2;
68507#line 592
68508    __cil_tmp201 = *__cil_tmp200;
68509#line 592
68510    __cil_tmp202 = & _min1;
68511#line 592
68512    __cil_tmp203 = *__cil_tmp202;
68513#line 592
68514    if (__cil_tmp203 < __cil_tmp201) {
68515#line 592
68516      __cil_tmp204 = & _min1;
68517#line 592
68518      tmp___11 = *__cil_tmp204;
68519    } else {
68520#line 592
68521      __cil_tmp205 = & _min2;
68522#line 592
68523      tmp___11 = *__cil_tmp205;
68524    }
68525    }
68526#line 592
68527    t_blen = tmp___11;
68528    {
68529#line 593
68530    while (1) {
68531      while_continue___3: /* CIL Label */ ;
68532      {
68533#line 593
68534      __cil_tmp206 = & fc_debug_logging;
68535#line 593
68536      __cil_tmp207 = *__cil_tmp206;
68537#line 593
68538      __cil_tmp208 = __cil_tmp207 & 16U;
68539#line 593
68540      __cil_tmp209 = ! __cil_tmp208;
68541#line 593
68542      __cil_tmp210 = ! __cil_tmp209;
68543#line 593
68544      __cil_tmp211 = (long )__cil_tmp210;
68545#line 593
68546      tmp___12 = __builtin_expect(__cil_tmp211, 0L);
68547      }
68548#line 593
68549      if (tmp___12) {
68550        {
68551#line 593
68552        while (1) {
68553          while_continue___4: /* CIL Label */ ;
68554          {
68555#line 593
68556          __cil_tmp212 = (unsigned long )fsp;
68557#line 593
68558          __cil_tmp213 = __cil_tmp212 + 136;
68559#line 593
68560          if (*((struct fc_seq **)__cil_tmp213)) {
68561            {
68562#line 593
68563            __cil_tmp214 = (void *)0;
68564#line 593
68565            _ep___1 = (struct fc_exch *)__cil_tmp214;
68566#line 593
68567            __cil_tmp215 = (unsigned long )fsp;
68568#line 593
68569            __cil_tmp216 = __cil_tmp215 + 136;
68570#line 593
68571            __cil_tmp217 = *((struct fc_seq **)__cil_tmp216);
68572#line 593
68573            __mptr___1 = (struct fc_seq    *)__cil_tmp217;
68574#line 593
68575            __cil_tmp218 = (struct fc_exch *)0;
68576#line 593
68577            __cil_tmp219 = (unsigned long )__cil_tmp218;
68578#line 593
68579            __cil_tmp220 = __cil_tmp219 + 108;
68580#line 593
68581            __cil_tmp221 = (struct fc_seq *)__cil_tmp220;
68582#line 593
68583            __cil_tmp222 = (unsigned int )__cil_tmp221;
68584#line 593
68585            __cil_tmp223 = (char *)__mptr___1;
68586#line 593
68587            __cil_tmp224 = __cil_tmp223 - __cil_tmp222;
68588#line 593
68589            _ep___1 = (struct fc_exch *)__cil_tmp224;
68590#line 593
68591            __cil_tmp225 = (unsigned long )fsp;
68592#line 593
68593            __cil_tmp226 = __cil_tmp225 + 56;
68594#line 593
68595            __cil_tmp227 = *((struct fc_lport **)__cil_tmp226);
68596#line 593
68597            __cil_tmp228 = *((struct Scsi_Host **)__cil_tmp227);
68598#line 593
68599            __cil_tmp229 = (unsigned long )__cil_tmp228;
68600#line 593
68601            __cil_tmp230 = __cil_tmp229 + 308;
68602#line 593
68603            __cil_tmp231 = *((unsigned int *)__cil_tmp230);
68604#line 593
68605            __cil_tmp232 = (unsigned long )fsp;
68606#line 593
68607            __cil_tmp233 = __cil_tmp232 + 128;
68608#line 593
68609            __cil_tmp234 = *((struct fc_rport **)__cil_tmp233);
68610#line 593
68611            __cil_tmp235 = (unsigned long )__cil_tmp234;
68612#line 593
68613            __cil_tmp236 = __cil_tmp235 + 32;
68614#line 593
68615            __cil_tmp237 = *((u32 *)__cil_tmp236);
68616#line 593
68617            __cil_tmp238 = (unsigned long )_ep___1;
68618#line 593
68619            __cil_tmp239 = __cil_tmp238 + 82;
68620#line 593
68621            __cil_tmp240 = *((u16 *)__cil_tmp239);
68622#line 593
68623            __cil_tmp241 = (int )__cil_tmp240;
68624#line 593
68625            __cil_tmp242 = (unsigned long )_ep___1;
68626#line 593
68627            __cil_tmp243 = __cil_tmp242 + 84;
68628#line 593
68629            __cil_tmp244 = *((u16 *)__cil_tmp243);
68630#line 593
68631            __cil_tmp245 = (int )__cil_tmp244;
68632#line 593
68633            __cil_tmp246 = (unsigned long )lport;
68634#line 593
68635            __cil_tmp247 = __cil_tmp246 + 892;
68636#line 593
68637            __cil_tmp248 = *((unsigned int *)__cil_tmp247);
68638#line 593
68639            printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: fsp=%p:lso:blen=%zx lso_max=0x%x t_blen=%zx\n",
68640                   __cil_tmp231, __cil_tmp237, __cil_tmp241, __cil_tmp245, fsp, seq_blen,
68641                   __cil_tmp248, t_blen);
68642            }
68643          } else {
68644            {
68645#line 593
68646            __cil_tmp249 = (unsigned long )fsp;
68647#line 593
68648            __cil_tmp250 = __cil_tmp249 + 56;
68649#line 593
68650            __cil_tmp251 = *((struct fc_lport **)__cil_tmp250);
68651#line 593
68652            __cil_tmp252 = *((struct Scsi_Host **)__cil_tmp251);
68653#line 593
68654            __cil_tmp253 = (unsigned long )__cil_tmp252;
68655#line 593
68656            __cil_tmp254 = __cil_tmp253 + 308;
68657#line 593
68658            __cil_tmp255 = *((unsigned int *)__cil_tmp254);
68659#line 593
68660            __cil_tmp256 = (unsigned long )fsp;
68661#line 593
68662            __cil_tmp257 = __cil_tmp256 + 128;
68663#line 593
68664            __cil_tmp258 = *((struct fc_rport **)__cil_tmp257);
68665#line 593
68666            __cil_tmp259 = (unsigned long )__cil_tmp258;
68667#line 593
68668            __cil_tmp260 = __cil_tmp259 + 32;
68669#line 593
68670            __cil_tmp261 = *((u32 *)__cil_tmp260);
68671#line 593
68672            __cil_tmp262 = (unsigned long )lport;
68673#line 593
68674            __cil_tmp263 = __cil_tmp262 + 892;
68675#line 593
68676            __cil_tmp264 = *((unsigned int *)__cil_tmp263);
68677#line 593
68678            printk("<6>host%u: fcp: %6.6x: fsp=%p:lso:blen=%zx lso_max=0x%x t_blen=%zx\n",
68679                   __cil_tmp255, __cil_tmp261, fsp, seq_blen, __cil_tmp264, t_blen);
68680            }
68681          }
68682          }
68683#line 593
68684          goto while_break___4;
68685        }
68686        while_break___4: /* CIL Label */ ;
68687        }
68688      } else {
68689
68690      }
68691#line 593
68692      goto while_break___3;
68693    }
68694    while_break___3: /* CIL Label */ ;
68695    }
68696  } else {
68697
68698  }
68699#line 597
68700  if (t_blen > 512UL) {
68701#line 598
68702    t_blen = t_blen & 0xfffffffffffffe00UL;
68703  } else {
68704
68705  }
68706  {
68707#line 599
68708  __cil_tmp265 = (unsigned long )fsp;
68709#line 599
68710  __cil_tmp266 = __cil_tmp265 + 32;
68711#line 599
68712  sc = *((struct scsi_cmnd **)__cil_tmp266);
68713#line 601
68714  remaining = seq_blen;
68715#line 602
68716  frame_offset = offset;
68717#line 602
68718  fh_parm_offset = frame_offset;
68719#line 603
68720  tlen = (size_t )0;
68721#line 604
68722  __cil_tmp267 = 328 + 88;
68723#line 604
68724  __cil_tmp268 = (unsigned long )lport;
68725#line 604
68726  __cil_tmp269 = __cil_tmp268 + __cil_tmp267;
68727#line 604
68728  __cil_tmp270 = *((struct fc_seq *(**)(struct fc_seq * ))__cil_tmp269);
68729#line 604
68730  seq = (*__cil_tmp270)(seq);
68731#line 605
68732  __cil_tmp271 = 1 << 3;
68733#line 605
68734  f_ctl = (u32 )__cil_tmp271;
68735#line 606
68736  __cil_tmp272 = ! seq;
68737#line 606
68738  __cil_tmp273 = ! __cil_tmp272;
68739#line 606
68740  __ret_warn_on___0 = ! __cil_tmp273;
68741#line 606
68742  __cil_tmp274 = ! __ret_warn_on___0;
68743#line 606
68744  __cil_tmp275 = ! __cil_tmp274;
68745#line 606
68746  __cil_tmp276 = (long )__cil_tmp275;
68747#line 606
68748  tmp___13 = __builtin_expect(__cil_tmp276, 0L);
68749  }
68750#line 606
68751  if (tmp___13) {
68752    {
68753#line 606
68754    __cil_tmp277 = (int    )606;
68755#line 606
68756    warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c",
68757                       __cil_tmp277);
68758    }
68759  } else {
68760
68761  }
68762  {
68763#line 606
68764  __cil_tmp278 = ! __ret_warn_on___0;
68765#line 606
68766  __cil_tmp279 = ! __cil_tmp278;
68767#line 606
68768  __cil_tmp280 = (long )__cil_tmp279;
68769#line 606
68770  __builtin_expect(__cil_tmp280, 0L);
68771#line 608
68772  sg = scsi_sglist(sc);
68773  }
68774  {
68775#line 610
68776  while (1) {
68777    while_continue___5: /* CIL Label */ ;
68778#line 610
68779    if (remaining > 0UL) {
68780#line 610
68781      if (sg) {
68782
68783      } else {
68784#line 610
68785        goto while_break___5;
68786      }
68787    } else {
68788#line 610
68789      goto while_break___5;
68790    }
68791    {
68792#line 611
68793    __cil_tmp281 = (unsigned long )sg;
68794#line 611
68795    __cil_tmp282 = __cil_tmp281 + 20;
68796#line 611
68797    __cil_tmp283 = *((unsigned int *)__cil_tmp282);
68798#line 611
68799    __cil_tmp284 = (size_t )__cil_tmp283;
68800#line 611
68801    if (offset >= __cil_tmp284) {
68802      {
68803#line 612
68804      __cil_tmp285 = (unsigned long )sg;
68805#line 612
68806      __cil_tmp286 = __cil_tmp285 + 20;
68807#line 612
68808      __cil_tmp287 = *((unsigned int *)__cil_tmp286);
68809#line 612
68810      __cil_tmp288 = (size_t )__cil_tmp287;
68811#line 612
68812      offset = offset - __cil_tmp288;
68813#line 613
68814      sg = sg_next(sg);
68815      }
68816#line 614
68817      goto while_continue___5;
68818    } else {
68819
68820    }
68821    }
68822#line 616
68823    if (! fp) {
68824#line 617
68825      __cil_tmp289 = & _min1___0;
68826#line 617
68827      *__cil_tmp289 = t_blen;
68828#line 617
68829      __cil_tmp290 = & _min2___0;
68830#line 617
68831      *__cil_tmp290 = remaining;
68832      {
68833#line 617
68834      __cil_tmp291 = & _min2___0;
68835#line 617
68836      __cil_tmp292 = *__cil_tmp291;
68837#line 617
68838      __cil_tmp293 = & _min1___0;
68839#line 617
68840      __cil_tmp294 = *__cil_tmp293;
68841#line 617
68842      if (__cil_tmp294 < __cil_tmp292) {
68843#line 617
68844        __cil_tmp295 = & _min1___0;
68845#line 617
68846        tmp___14 = *__cil_tmp295;
68847      } else {
68848#line 617
68849        __cil_tmp296 = & _min2___0;
68850#line 617
68851        tmp___14 = *__cil_tmp296;
68852      }
68853      }
68854#line 617
68855      tlen = tmp___14;
68856#line 624
68857      if (tlen % 4UL) {
68858#line 625
68859        using_sg = 0;
68860      } else {
68861
68862      }
68863#line 626
68864      if (using_sg) {
68865#line 626
68866        tmp___15 = (size_t )0;
68867      } else {
68868#line 626
68869        tmp___15 = tlen;
68870      }
68871      {
68872#line 626
68873      fp = fc_frame_alloc(lport, tmp___15);
68874      }
68875#line 627
68876      if (! fp) {
68877#line 628
68878        return (-12);
68879      } else {
68880
68881      }
68882      {
68883#line 630
68884      __cil_tmp297 = (struct fc_frame    *)fp;
68885#line 630
68886      tmp___16 = fc_frame_header_get(__cil_tmp297);
68887#line 630
68888      __cil_tmp298 = tmp___16 + 1;
68889#line 630
68890      data = (void *)__cil_tmp298;
68891#line 631
68892      fh_parm_offset = frame_offset;
68893#line 632
68894      __cil_tmp299 = 0 * 1UL;
68895#line 632
68896      __cil_tmp300 = 40 + __cil_tmp299;
68897#line 632
68898      __cil_tmp301 = 0 + __cil_tmp300;
68899#line 632
68900      __cil_tmp302 = (unsigned long )fp;
68901#line 632
68902      __cil_tmp303 = __cil_tmp302 + __cil_tmp301;
68903#line 632
68904      __cil_tmp304 = (char *)__cil_tmp303;
68905#line 632
68906      __cil_tmp305 = (struct fcoe_rcv_info *)__cil_tmp304;
68907#line 632
68908      __cil_tmp306 = (unsigned long )__cil_tmp305;
68909#line 632
68910      __cil_tmp307 = __cil_tmp306 + 28;
68911#line 632
68912      __cil_tmp308 = (unsigned long )fsp;
68913#line 632
68914      __cil_tmp309 = __cil_tmp308 + 124;
68915#line 632
68916      *((u16 *)__cil_tmp307) = *((u16 *)__cil_tmp309);
68917      }
68918    } else {
68919
68920    }
68921#line 635
68922    __cil_tmp310 = (unsigned long )sg;
68923#line 635
68924    __cil_tmp311 = __cil_tmp310 + 16;
68925#line 635
68926    __cil_tmp312 = *((unsigned int *)__cil_tmp311);
68927#line 635
68928    __cil_tmp313 = (size_t )__cil_tmp312;
68929#line 635
68930    off = offset + __cil_tmp313;
68931#line 636
68932    __cil_tmp314 = & _min1___1;
68933#line 636
68934    *__cil_tmp314 = tlen;
68935#line 636
68936    __cil_tmp315 = & _min2___1;
68937#line 636
68938    __cil_tmp316 = (unsigned long )sg;
68939#line 636
68940    __cil_tmp317 = __cil_tmp316 + 20;
68941#line 636
68942    __cil_tmp318 = *((unsigned int *)__cil_tmp317);
68943#line 636
68944    __cil_tmp319 = (size_t )__cil_tmp318;
68945#line 636
68946    *__cil_tmp315 = __cil_tmp319 - offset;
68947    {
68948#line 636
68949    __cil_tmp320 = & _min2___1;
68950#line 636
68951    __cil_tmp321 = *__cil_tmp320;
68952#line 636
68953    __cil_tmp322 = & _min1___1;
68954#line 636
68955    __cil_tmp323 = *__cil_tmp322;
68956#line 636
68957    if (__cil_tmp323 < __cil_tmp321) {
68958#line 636
68959      __cil_tmp324 = & _min1___1;
68960#line 636
68961      tmp___17 = *__cil_tmp324;
68962    } else {
68963#line 636
68964      __cil_tmp325 = & _min2___1;
68965#line 636
68966      tmp___17 = *__cil_tmp325;
68967    }
68968    }
68969#line 636
68970    sg_bytes = tmp___17;
68971#line 637
68972    __cil_tmp326 = & _min1___2;
68973#line 637
68974    *__cil_tmp326 = sg_bytes;
68975#line 637
68976    __cil_tmp327 = & _min2___2;
68977#line 637
68978    __cil_tmp328 = 1UL << 12;
68979#line 637
68980    __cil_tmp329 = __cil_tmp328 - 1UL;
68981#line 637
68982    __cil_tmp330 = ~ __cil_tmp329;
68983#line 637
68984    __cil_tmp331 = ~ __cil_tmp330;
68985#line 637
68986    __cil_tmp332 = off & __cil_tmp331;
68987#line 637
68988    __cil_tmp333 = 1UL << 12;
68989#line 637
68990    *__cil_tmp327 = __cil_tmp333 - __cil_tmp332;
68991    {
68992#line 637
68993    __cil_tmp334 = & _min2___2;
68994#line 637
68995    __cil_tmp335 = *__cil_tmp334;
68996#line 637
68997    __cil_tmp336 = & _min1___2;
68998#line 637
68999    __cil_tmp337 = *__cil_tmp336;
69000#line 637
69001    if (__cil_tmp337 < __cil_tmp335) {
69002#line 637
69003      __cil_tmp338 = & _min1___2;
69004#line 637
69005      tmp___18 = *__cil_tmp338;
69006    } else {
69007#line 637
69008      __cil_tmp339 = & _min2___2;
69009#line 637
69010      tmp___18 = *__cil_tmp339;
69011    }
69012    }
69013    {
69014#line 637
69015    sg_bytes = tmp___18;
69016#line 639
69017    tmp___19 = sg_page(sg);
69018#line 639
69019    __cil_tmp340 = off >> 12;
69020#line 639
69021    page = tmp___19 + __cil_tmp340;
69022    }
69023#line 640
69024    if (using_sg) {
69025      {
69026#line 641
69027      get_page(page);
69028#line 642
69029      __cil_tmp341 = (struct sk_buff *)fp;
69030#line 642
69031      __cil_tmp342 = (struct sk_buff    *)__cil_tmp341;
69032#line 642
69033      tmp___20 = skb_end_pointer(__cil_tmp342);
69034#line 642
69035      __cil_tmp343 = (struct sk_buff *)fp;
69036#line 642
69037      __cil_tmp344 = (struct skb_shared_info *)tmp___20;
69038#line 642
69039      __cil_tmp345 = *((unsigned char *)__cil_tmp344);
69040#line 642
69041      __cil_tmp346 = (int )__cil_tmp345;
69042#line 642
69043      __cil_tmp347 = 1UL << 12;
69044#line 642
69045      __cil_tmp348 = __cil_tmp347 - 1UL;
69046#line 642
69047      __cil_tmp349 = ~ __cil_tmp348;
69048#line 642
69049      __cil_tmp350 = ~ __cil_tmp349;
69050#line 642
69051      __cil_tmp351 = off & __cil_tmp350;
69052#line 642
69053      __cil_tmp352 = (int )__cil_tmp351;
69054#line 642
69055      __cil_tmp353 = (int )sg_bytes;
69056#line 642
69057      skb_fill_page_desc(__cil_tmp343, __cil_tmp346, page, __cil_tmp352, __cil_tmp353);
69058#line 645
69059      __cil_tmp354 = 0 + 108;
69060#line 645
69061      __cil_tmp355 = (unsigned long )fp;
69062#line 645
69063      __cil_tmp356 = __cil_tmp355 + __cil_tmp354;
69064#line 645
69065      __cil_tmp357 = 0 + 108;
69066#line 645
69067      __cil_tmp358 = (unsigned long )fp;
69068#line 645
69069      __cil_tmp359 = __cil_tmp358 + __cil_tmp357;
69070#line 645
69071      __cil_tmp360 = *((unsigned int *)__cil_tmp359);
69072#line 645
69073      __cil_tmp361 = (size_t )__cil_tmp360;
69074#line 645
69075      __cil_tmp362 = __cil_tmp361 + sg_bytes;
69076#line 645
69077      *((unsigned int *)__cil_tmp356) = (unsigned int )__cil_tmp362;
69078#line 646
69079      __cil_tmp363 = 0 + 104;
69080#line 646
69081      __cil_tmp364 = (unsigned long )fp;
69082#line 646
69083      __cil_tmp365 = __cil_tmp364 + __cil_tmp363;
69084#line 646
69085      __cil_tmp366 = 0 + 104;
69086#line 646
69087      __cil_tmp367 = (unsigned long )fp;
69088#line 646
69089      __cil_tmp368 = __cil_tmp367 + __cil_tmp366;
69090#line 646
69091      __cil_tmp369 = *((unsigned int *)__cil_tmp368);
69092#line 646
69093      __cil_tmp370 = (size_t )__cil_tmp369;
69094#line 646
69095      __cil_tmp371 = __cil_tmp370 + sg_bytes;
69096#line 646
69097      *((unsigned int *)__cil_tmp365) = (unsigned int )__cil_tmp371;
69098#line 647
69099      __cil_tmp372 = 0 + 232;
69100#line 647
69101      __cil_tmp373 = (unsigned long )fp;
69102#line 647
69103      __cil_tmp374 = __cil_tmp373 + __cil_tmp372;
69104#line 647
69105      __cil_tmp375 = 1UL << 12;
69106#line 647
69107      __cil_tmp376 = 0 + 232;
69108#line 647
69109      __cil_tmp377 = (unsigned long )fp;
69110#line 647
69111      __cil_tmp378 = __cil_tmp377 + __cil_tmp376;
69112#line 647
69113      __cil_tmp379 = *((unsigned int *)__cil_tmp378);
69114#line 647
69115      __cil_tmp380 = (unsigned long )__cil_tmp379;
69116#line 647
69117      __cil_tmp381 = __cil_tmp380 + __cil_tmp375;
69118#line 647
69119      *((unsigned int *)__cil_tmp374) = (unsigned int )__cil_tmp381;
69120      }
69121    } else {
69122      {
69123#line 653
69124      page_addr = kmap_atomic(page);
69125#line 654
69126      __len = sg_bytes;
69127#line 654
69128      __cil_tmp382 = 1UL << 12;
69129#line 654
69130      __cil_tmp383 = __cil_tmp382 - 1UL;
69131#line 654
69132      __cil_tmp384 = ~ __cil_tmp383;
69133#line 654
69134      __cil_tmp385 = ~ __cil_tmp384;
69135#line 654
69136      __cil_tmp386 = off & __cil_tmp385;
69137#line 654
69138      __cil_tmp387 = (char *)page_addr;
69139#line 654
69140      __cil_tmp388 = __cil_tmp387 + __cil_tmp386;
69141#line 654
69142      __cil_tmp389 = (void    *)__cil_tmp388;
69143#line 654
69144      __ret = __builtin_memcpy(data, __cil_tmp389, __len);
69145      }
69146      {
69147#line 656
69148      while (1) {
69149        while_continue___6: /* CIL Label */ ;
69150        {
69151#line 656
69152        __kunmap_atomic(page_addr);
69153        }
69154#line 656
69155        goto while_break___6;
69156      }
69157      while_break___6: /* CIL Label */ ;
69158      }
69159#line 657
69160      data = data + sg_bytes;
69161    }
69162    {
69163#line 659
69164    offset = offset + sg_bytes;
69165#line 660
69166    frame_offset = frame_offset + sg_bytes;
69167#line 661
69168    tlen = tlen - sg_bytes;
69169#line 662
69170    remaining = remaining - sg_bytes;
69171#line 664
69172    __cil_tmp390 = (struct sk_buff *)fp;
69173#line 664
69174    __cil_tmp391 = (struct sk_buff    *)__cil_tmp390;
69175#line 664
69176    tmp___21 = skb_end_pointer(__cil_tmp391);
69177    }
69178    {
69179#line 664
69180    __cil_tmp392 = 1UL << 12;
69181#line 664
69182    __cil_tmp393 = 65536UL / __cil_tmp392;
69183#line 664
69184    __cil_tmp394 = __cil_tmp393 + 1UL;
69185#line 664
69186    __cil_tmp395 = __cil_tmp394 - 1UL;
69187#line 664
69188    __cil_tmp396 = (struct skb_shared_info *)tmp___21;
69189#line 664
69190    __cil_tmp397 = *((unsigned char *)__cil_tmp396);
69191#line 664
69192    __cil_tmp398 = (unsigned long )__cil_tmp397;
69193#line 664
69194    if (__cil_tmp398 < __cil_tmp395) {
69195#line 664
69196      if (tlen) {
69197#line 666
69198        goto while_continue___5;
69199      } else {
69200
69201      }
69202    } else {
69203
69204    }
69205    }
69206#line 672
69207    if (remaining == 0UL) {
69208#line 673
69209      __cil_tmp399 = 1 << 19;
69210#line 673
69211      __cil_tmp400 = 1 << 16;
69212#line 673
69213      __cil_tmp401 = __cil_tmp400 | __cil_tmp399;
69214#line 673
69215      __cil_tmp402 = (unsigned int )__cil_tmp401;
69216#line 673
69217      f_ctl = f_ctl | __cil_tmp402;
69218    } else {
69219
69220    }
69221    {
69222#line 675
69223    __mptr___2 = (struct fc_seq    *)seq;
69224#line 675
69225    __cil_tmp403 = (struct fc_exch *)0;
69226#line 675
69227    __cil_tmp404 = (unsigned long )__cil_tmp403;
69228#line 675
69229    __cil_tmp405 = __cil_tmp404 + 108;
69230#line 675
69231    __cil_tmp406 = (struct fc_seq *)__cil_tmp405;
69232#line 675
69233    __cil_tmp407 = (unsigned int )__cil_tmp406;
69234#line 675
69235    __cil_tmp408 = (char *)__mptr___2;
69236#line 675
69237    __cil_tmp409 = __cil_tmp408 - __cil_tmp407;
69238#line 675
69239    ep = (struct fc_exch *)__cil_tmp409;
69240#line 676
69241    __cil_tmp410 = (enum fc_rctl )1;
69242#line 676
69243    __cil_tmp411 = (unsigned long )ep;
69244#line 676
69245    __cil_tmp412 = __cil_tmp411 + 96;
69246#line 676
69247    __cil_tmp413 = *((u32 *)__cil_tmp412);
69248#line 676
69249    __cil_tmp414 = (unsigned long )ep;
69250#line 676
69251    __cil_tmp415 = __cil_tmp414 + 92;
69252#line 676
69253    __cil_tmp416 = *((u32 *)__cil_tmp415);
69254#line 676
69255    __cil_tmp417 = (enum fc_fh_type )8;
69256#line 676
69257    __cil_tmp418 = (u32 )fh_parm_offset;
69258#line 676
69259    fc_fill_fc_hdr(fp, __cil_tmp410, __cil_tmp413, __cil_tmp416, __cil_tmp417, f_ctl,
69260                   __cil_tmp418);
69261#line 682
69262    __cil_tmp419 = 328 + 56;
69263#line 682
69264    __cil_tmp420 = (unsigned long )lport;
69265#line 682
69266    __cil_tmp421 = __cil_tmp420 + __cil_tmp419;
69267#line 682
69268    __cil_tmp422 = *((int (**)(struct fc_lport * , struct fc_seq * , struct fc_frame * ))__cil_tmp421);
69269#line 682
69270    error = (*__cil_tmp422)(lport, seq, fp);
69271    }
69272#line 683
69273    if (error) {
69274      {
69275#line 684
69276      __ret_warn_on___1 = 1;
69277#line 684
69278      __cil_tmp423 = ! __ret_warn_on___1;
69279#line 684
69280      __cil_tmp424 = ! __cil_tmp423;
69281#line 684
69282      __cil_tmp425 = (long )__cil_tmp424;
69283#line 684
69284      tmp___22 = __builtin_expect(__cil_tmp425, 0L);
69285      }
69286#line 684
69287      if (tmp___22) {
69288        {
69289#line 684
69290        __cil_tmp426 = (int    )684;
69291#line 684
69292        warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c",
69293                           __cil_tmp426);
69294        }
69295      } else {
69296
69297      }
69298      {
69299#line 684
69300      __cil_tmp427 = ! __ret_warn_on___1;
69301#line 684
69302      __cil_tmp428 = ! __cil_tmp427;
69303#line 684
69304      __cil_tmp429 = (long )__cil_tmp428;
69305#line 684
69306      __builtin_expect(__cil_tmp429, 0L);
69307      }
69308#line 685
69309      return (error);
69310    } else {
69311
69312    }
69313#line 687
69314    __cil_tmp430 = (void *)0;
69315#line 687
69316    fp = (struct fc_frame *)__cil_tmp430;
69317  }
69318  while_break___5: /* CIL Label */ ;
69319  }
69320#line 689
69321  __cil_tmp431 = (unsigned long )fsp;
69322#line 689
69323  __cil_tmp432 = __cil_tmp431 + 80;
69324#line 689
69325  __cil_tmp433 = (unsigned long )fsp;
69326#line 689
69327  __cil_tmp434 = __cil_tmp433 + 80;
69328#line 689
69329  __cil_tmp435 = *((size_t *)__cil_tmp434);
69330#line 689
69331  *((size_t *)__cil_tmp432) = __cil_tmp435 + seq_blen;
69332#line 690
69333  return (0);
69334}
69335}
69336#line 698 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
69337static void fc_fcp_abts_resp(struct fc_fcp_pkt *fsp , struct fc_frame *fp ) 
69338{ int ba_done ;
69339  struct fc_ba_rjt *brp ;
69340  struct fc_frame_header *fh ;
69341  void *tmp___7 ;
69342  struct fc_frame    *__cil_tmp7 ;
69343  __u8 __cil_tmp8 ;
69344  struct fc_frame    *__cil_tmp9 ;
69345  unsigned long __cil_tmp10 ;
69346  unsigned long __cil_tmp11 ;
69347  __u8 __cil_tmp12 ;
69348  int __cil_tmp13 ;
69349  unsigned long __cil_tmp14 ;
69350  unsigned long __cil_tmp15 ;
69351  int __cil_tmp16 ;
69352  unsigned long __cil_tmp17 ;
69353  unsigned long __cil_tmp18 ;
69354  u8 __cil_tmp19 ;
69355  int __cil_tmp20 ;
69356  int __cil_tmp21 ;
69357  unsigned long __cil_tmp22 ;
69358  unsigned long __cil_tmp23 ;
69359  int __cil_tmp24 ;
69360  int __cil_tmp25 ;
69361  unsigned long __cil_tmp26 ;
69362  unsigned long __cil_tmp27 ;
69363  u8 __cil_tmp28 ;
69364  int __cil_tmp29 ;
69365  int __cil_tmp30 ;
69366  unsigned long __cil_tmp31 ;
69367  unsigned long __cil_tmp32 ;
69368  unsigned long __cil_tmp33 ;
69369  unsigned long __cil_tmp34 ;
69370  struct completion *__cil_tmp35 ;
69371
69372  {
69373  {
69374#line 700
69375  ba_done = 1;
69376#line 704
69377  __cil_tmp7 = (struct fc_frame    *)fp;
69378#line 704
69379  fh = fc_frame_header_get(__cil_tmp7);
69380  }
69381  {
69382#line 705
69383  __cil_tmp8 = *((__u8 *)fh);
69384#line 706
69385  if ((int )__cil_tmp8 == 132) {
69386#line 706
69387    goto case_132;
69388  } else
69389#line 708
69390  if ((int )__cil_tmp8 == 133) {
69391#line 708
69392    goto case_133;
69393  } else {
69394    {
69395#line 713
69396    goto switch_default;
69397#line 705
69398    if (0) {
69399      case_132: /* CIL Label */ 
69400#line 707
69401      goto switch_break;
69402      case_133: /* CIL Label */ 
69403      {
69404#line 709
69405      __cil_tmp9 = (struct fc_frame    *)fp;
69406#line 709
69407      tmp___7 = fc_frame_payload_get(__cil_tmp9, 4UL);
69408#line 709
69409      brp = (struct fc_ba_rjt *)tmp___7;
69410      }
69411#line 710
69412      if (brp) {
69413        {
69414#line 710
69415        __cil_tmp10 = (unsigned long )brp;
69416#line 710
69417        __cil_tmp11 = __cil_tmp10 + 1;
69418#line 710
69419        __cil_tmp12 = *((__u8 *)__cil_tmp11);
69420#line 710
69421        __cil_tmp13 = (int )__cil_tmp12;
69422#line 710
69423        if (__cil_tmp13 == 3) {
69424#line 711
69425          goto switch_break;
69426        } else {
69427
69428        }
69429        }
69430      } else {
69431
69432      }
69433      switch_default: /* CIL Label */ 
69434#line 719
69435      ba_done = 0;
69436    } else {
69437      switch_break: /* CIL Label */ ;
69438    }
69439    }
69440  }
69441  }
69442#line 722
69443  if (ba_done) {
69444#line 723
69445    __cil_tmp14 = (unsigned long )fsp;
69446#line 723
69447    __cil_tmp15 = __cil_tmp14 + 64;
69448#line 723
69449    __cil_tmp16 = 1 << 3;
69450#line 723
69451    __cil_tmp17 = (unsigned long )fsp;
69452#line 723
69453    __cil_tmp18 = __cil_tmp17 + 64;
69454#line 723
69455    __cil_tmp19 = *((u8 *)__cil_tmp18);
69456#line 723
69457    __cil_tmp20 = (int )__cil_tmp19;
69458#line 723
69459    __cil_tmp21 = __cil_tmp20 | __cil_tmp16;
69460#line 723
69461    *((u8 *)__cil_tmp15) = (u8 )__cil_tmp21;
69462#line 724
69463    __cil_tmp22 = (unsigned long )fsp;
69464#line 724
69465    __cil_tmp23 = __cil_tmp22 + 64;
69466#line 724
69467    __cil_tmp24 = 1 << 2;
69468#line 724
69469    __cil_tmp25 = ~ __cil_tmp24;
69470#line 724
69471    __cil_tmp26 = (unsigned long )fsp;
69472#line 724
69473    __cil_tmp27 = __cil_tmp26 + 64;
69474#line 724
69475    __cil_tmp28 = *((u8 *)__cil_tmp27);
69476#line 724
69477    __cil_tmp29 = (int )__cil_tmp28;
69478#line 724
69479    __cil_tmp30 = __cil_tmp29 & __cil_tmp25;
69480#line 724
69481    *((u8 *)__cil_tmp23) = (u8 )__cil_tmp30;
69482    {
69483#line 726
69484    __cil_tmp31 = (unsigned long )fsp;
69485#line 726
69486    __cil_tmp32 = __cil_tmp31 + 224;
69487#line 726
69488    if (*((int *)__cil_tmp32)) {
69489      {
69490#line 727
69491      __cil_tmp33 = (unsigned long )fsp;
69492#line 727
69493      __cil_tmp34 = __cil_tmp33 + 240;
69494#line 727
69495      __cil_tmp35 = (struct completion *)__cil_tmp34;
69496#line 727
69497      complete(__cil_tmp35);
69498      }
69499    } else {
69500      {
69501#line 729
69502      fc_fcp_complete_locked(fsp);
69503      }
69504    }
69505    }
69506  } else {
69507
69508  }
69509#line 731
69510  return;
69511}
69512}
69513#line 742 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
69514static void fc_fcp_recv(struct fc_seq *seq , struct fc_frame *fp , void *arg ) 
69515{ struct fc_fcp_pkt *fsp ;
69516  struct fc_lport *lport ;
69517  struct fc_frame_header *fh ;
69518  struct fcp_txrdy *dd ;
69519  u8 r_ctl ;
69520  int rc ;
69521  long tmp___7 ;
69522  int tmp___8 ;
69523  int __ret_warn_on ;
69524  long tmp___9 ;
69525  void *tmp___10 ;
69526  int __ret_warn_on___0 ;
69527  long tmp___11 ;
69528  __u32 tmp___12 ;
69529  __u32 tmp___13 ;
69530  int __ret_warn_on___1 ;
69531  long tmp___14 ;
69532  int __ret_warn_on___2 ;
69533  long tmp___15 ;
69534  struct fc_exch *_ep ;
69535  struct fc_seq    *__mptr ;
69536  long tmp___16 ;
69537  unsigned long __cil_tmp26 ;
69538  unsigned long __cil_tmp27 ;
69539  void    *__cil_tmp28 ;
69540  struct fc_frame    *__cil_tmp29 ;
69541  unsigned long __cil_tmp30 ;
69542  unsigned long __cil_tmp31 ;
69543  enum fc_lport_state __cil_tmp32 ;
69544  unsigned int __cil_tmp33 ;
69545  unsigned long __cil_tmp34 ;
69546  unsigned long __cil_tmp35 ;
69547  __u8 __cil_tmp36 ;
69548  int __cil_tmp37 ;
69549  int __cil_tmp38 ;
69550  int __cil_tmp39 ;
69551  int __cil_tmp40 ;
69552  unsigned long __cil_tmp41 ;
69553  unsigned long __cil_tmp42 ;
69554  u8 __cil_tmp43 ;
69555  int __cil_tmp44 ;
69556  int __cil_tmp45 ;
69557  unsigned long __cil_tmp46 ;
69558  unsigned long __cil_tmp47 ;
69559  unsigned long __cil_tmp48 ;
69560  unsigned long __cil_tmp49 ;
69561  unsigned long __cil_tmp50 ;
69562  char *__cil_tmp51 ;
69563  struct fcoe_rcv_info *__cil_tmp52 ;
69564  unsigned long __cil_tmp53 ;
69565  unsigned long __cil_tmp54 ;
69566  u8 __cil_tmp55 ;
69567  int __cil_tmp56 ;
69568  int __cil_tmp57 ;
69569  int __cil_tmp58 ;
69570  int __cil_tmp59 ;
69571  int __cil_tmp60 ;
69572  long __cil_tmp61 ;
69573  int    __cil_tmp62 ;
69574  int __cil_tmp63 ;
69575  int __cil_tmp64 ;
69576  long __cil_tmp65 ;
69577  struct fc_frame    *__cil_tmp66 ;
69578  int __cil_tmp67 ;
69579  int __cil_tmp68 ;
69580  int __cil_tmp69 ;
69581  int __cil_tmp70 ;
69582  long __cil_tmp71 ;
69583  int    __cil_tmp72 ;
69584  int __cil_tmp73 ;
69585  int __cil_tmp74 ;
69586  long __cil_tmp75 ;
69587  unsigned long __cil_tmp76 ;
69588  unsigned long __cil_tmp77 ;
69589  __be32 __cil_tmp78 ;
69590  __be32 __cil_tmp79 ;
69591  size_t __cil_tmp80 ;
69592  size_t __cil_tmp81 ;
69593  unsigned long __cil_tmp82 ;
69594  unsigned long __cil_tmp83 ;
69595  unsigned long __cil_tmp84 ;
69596  unsigned long __cil_tmp85 ;
69597  size_t __cil_tmp86 ;
69598  int __cil_tmp87 ;
69599  unsigned long __cil_tmp88 ;
69600  unsigned long __cil_tmp89 ;
69601  unsigned long __cil_tmp90 ;
69602  unsigned int __cil_tmp91 ;
69603  unsigned long __cil_tmp92 ;
69604  int __cil_tmp93 ;
69605  int __cil_tmp94 ;
69606  int __cil_tmp95 ;
69607  int __cil_tmp96 ;
69608  long __cil_tmp97 ;
69609  int    __cil_tmp98 ;
69610  int __cil_tmp99 ;
69611  int __cil_tmp100 ;
69612  long __cil_tmp101 ;
69613  unsigned long __cil_tmp102 ;
69614  unsigned long __cil_tmp103 ;
69615  unsigned long __cil_tmp104 ;
69616  unsigned long __cil_tmp105 ;
69617  int __cil_tmp106 ;
69618  unsigned long __cil_tmp107 ;
69619  unsigned long __cil_tmp108 ;
69620  unsigned long __cil_tmp109 ;
69621  unsigned long __cil_tmp110 ;
69622  unsigned long __cil_tmp111 ;
69623  char *__cil_tmp112 ;
69624  struct fcoe_rcv_info *__cil_tmp113 ;
69625  unsigned long __cil_tmp114 ;
69626  unsigned long __cil_tmp115 ;
69627  u8 __cil_tmp116 ;
69628  int __cil_tmp117 ;
69629  int __cil_tmp118 ;
69630  int __cil_tmp119 ;
69631  int __cil_tmp120 ;
69632  int __cil_tmp121 ;
69633  long __cil_tmp122 ;
69634  int    __cil_tmp123 ;
69635  int __cil_tmp124 ;
69636  int __cil_tmp125 ;
69637  long __cil_tmp126 ;
69638  unsigned int *__cil_tmp127 ;
69639  unsigned int __cil_tmp128 ;
69640  unsigned int __cil_tmp129 ;
69641  int __cil_tmp130 ;
69642  int __cil_tmp131 ;
69643  long __cil_tmp132 ;
69644  unsigned long __cil_tmp133 ;
69645  unsigned long __cil_tmp134 ;
69646  void *__cil_tmp135 ;
69647  unsigned long __cil_tmp136 ;
69648  unsigned long __cil_tmp137 ;
69649  struct fc_seq *__cil_tmp138 ;
69650  struct fc_exch *__cil_tmp139 ;
69651  unsigned long __cil_tmp140 ;
69652  unsigned long __cil_tmp141 ;
69653  struct fc_seq *__cil_tmp142 ;
69654  unsigned int __cil_tmp143 ;
69655  char *__cil_tmp144 ;
69656  char *__cil_tmp145 ;
69657  unsigned long __cil_tmp146 ;
69658  unsigned long __cil_tmp147 ;
69659  struct fc_lport *__cil_tmp148 ;
69660  struct Scsi_Host *__cil_tmp149 ;
69661  unsigned long __cil_tmp150 ;
69662  unsigned long __cil_tmp151 ;
69663  unsigned int __cil_tmp152 ;
69664  unsigned long __cil_tmp153 ;
69665  unsigned long __cil_tmp154 ;
69666  struct fc_rport *__cil_tmp155 ;
69667  unsigned long __cil_tmp156 ;
69668  unsigned long __cil_tmp157 ;
69669  u32 __cil_tmp158 ;
69670  unsigned long __cil_tmp159 ;
69671  unsigned long __cil_tmp160 ;
69672  u16 __cil_tmp161 ;
69673  int __cil_tmp162 ;
69674  unsigned long __cil_tmp163 ;
69675  unsigned long __cil_tmp164 ;
69676  u16 __cil_tmp165 ;
69677  int __cil_tmp166 ;
69678  int __cil_tmp167 ;
69679  unsigned long __cil_tmp168 ;
69680  unsigned long __cil_tmp169 ;
69681  struct fc_lport *__cil_tmp170 ;
69682  struct Scsi_Host *__cil_tmp171 ;
69683  unsigned long __cil_tmp172 ;
69684  unsigned long __cil_tmp173 ;
69685  unsigned int __cil_tmp174 ;
69686  unsigned long __cil_tmp175 ;
69687  unsigned long __cil_tmp176 ;
69688  struct fc_rport *__cil_tmp177 ;
69689  unsigned long __cil_tmp178 ;
69690  unsigned long __cil_tmp179 ;
69691  u32 __cil_tmp180 ;
69692  int __cil_tmp181 ;
69693
69694  {
69695  {
69696#line 744
69697  fsp = (struct fc_fcp_pkt *)arg;
69698#line 745
69699  __cil_tmp26 = (unsigned long )fsp;
69700#line 745
69701  __cil_tmp27 = __cil_tmp26 + 56;
69702#line 745
69703  lport = *((struct fc_lport **)__cil_tmp27);
69704#line 749
69705  rc = 0;
69706#line 751
69707  __cil_tmp28 = (void    *)fp;
69708#line 751
69709  tmp___7 = (long )IS_ERR(__cil_tmp28);
69710  }
69711#line 751
69712  if (tmp___7) {
69713    {
69714#line 752
69715    fc_fcp_error(fsp, fp);
69716    }
69717#line 753
69718    return;
69719  } else {
69720
69721  }
69722  {
69723#line 756
69724  __cil_tmp29 = (struct fc_frame    *)fp;
69725#line 756
69726  fh = fc_frame_header_get(__cil_tmp29);
69727#line 757
69728  r_ctl = *((__u8 *)fh);
69729  }
69730  {
69731#line 759
69732  __cil_tmp30 = (unsigned long )lport;
69733#line 759
69734  __cil_tmp31 = __cil_tmp30 + 604;
69735#line 759
69736  __cil_tmp32 = *((enum fc_lport_state *)__cil_tmp31);
69737#line 759
69738  __cil_tmp33 = (unsigned int )__cil_tmp32;
69739#line 759
69740  if (__cil_tmp33 != 14U) {
69741#line 760
69742    goto out;
69743  } else {
69744
69745  }
69746  }
69747  {
69748#line 761
69749  tmp___8 = fc_fcp_lock_pkt(fsp);
69750  }
69751#line 761
69752  if (tmp___8) {
69753#line 762
69754    goto out;
69755  } else {
69756
69757  }
69758  {
69759#line 764
69760  __cil_tmp34 = (unsigned long )fh;
69761#line 764
69762  __cil_tmp35 = __cil_tmp34 + 8;
69763#line 764
69764  __cil_tmp36 = *((__u8 *)__cil_tmp35);
69765#line 764
69766  __cil_tmp37 = (int )__cil_tmp36;
69767#line 764
69768  if (__cil_tmp37 == 0) {
69769    {
69770#line 765
69771    fc_fcp_abts_resp(fsp, fp);
69772    }
69773#line 766
69774    goto unlock;
69775  } else {
69776
69777  }
69778  }
69779  {
69780#line 769
69781  __cil_tmp38 = 1 << 2;
69782#line 769
69783  __cil_tmp39 = 1 << 3;
69784#line 769
69785  __cil_tmp40 = __cil_tmp39 | __cil_tmp38;
69786#line 769
69787  __cil_tmp41 = (unsigned long )fsp;
69788#line 769
69789  __cil_tmp42 = __cil_tmp41 + 64;
69790#line 769
69791  __cil_tmp43 = *((u8 *)__cil_tmp42);
69792#line 769
69793  __cil_tmp44 = (int )__cil_tmp43;
69794#line 769
69795  if (__cil_tmp44 & __cil_tmp40) {
69796#line 770
69797    goto unlock;
69798  } else {
69799
69800  }
69801  }
69802  {
69803#line 772
69804  __cil_tmp45 = (int )r_ctl;
69805#line 772
69806  if (__cil_tmp45 == 5) {
69807    {
69808#line 777
69809    __cil_tmp46 = 0 * 1UL;
69810#line 777
69811    __cil_tmp47 = 40 + __cil_tmp46;
69812#line 777
69813    __cil_tmp48 = 0 + __cil_tmp47;
69814#line 777
69815    __cil_tmp49 = (unsigned long )fp;
69816#line 777
69817    __cil_tmp50 = __cil_tmp49 + __cil_tmp48;
69818#line 777
69819    __cil_tmp51 = (char *)__cil_tmp50;
69820#line 777
69821    __cil_tmp52 = (struct fcoe_rcv_info *)__cil_tmp51;
69822#line 777
69823    __cil_tmp53 = (unsigned long )__cil_tmp52;
69824#line 777
69825    __cil_tmp54 = __cil_tmp53 + 32;
69826#line 777
69827    __cil_tmp55 = *((u8 *)__cil_tmp54);
69828#line 777
69829    __cil_tmp56 = (int )__cil_tmp55;
69830#line 777
69831    __cil_tmp57 = __cil_tmp56 & 1;
69832#line 777
69833    __cil_tmp58 = ! __cil_tmp57;
69834#line 777
69835    __ret_warn_on = ! __cil_tmp58;
69836#line 777
69837    __cil_tmp59 = ! __ret_warn_on;
69838#line 777
69839    __cil_tmp60 = ! __cil_tmp59;
69840#line 777
69841    __cil_tmp61 = (long )__cil_tmp60;
69842#line 777
69843    tmp___9 = __builtin_expect(__cil_tmp61, 0L);
69844    }
69845#line 777
69846    if (tmp___9) {
69847      {
69848#line 777
69849      __cil_tmp62 = (int    )777;
69850#line 777
69851      warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c",
69852                         __cil_tmp62);
69853      }
69854    } else {
69855
69856    }
69857    {
69858#line 777
69859    __cil_tmp63 = ! __ret_warn_on;
69860#line 777
69861    __cil_tmp64 = ! __cil_tmp63;
69862#line 777
69863    __cil_tmp65 = (long )__cil_tmp64;
69864#line 777
69865    __builtin_expect(__cil_tmp65, 0L);
69866#line 778
69867    __cil_tmp66 = (struct fc_frame    *)fp;
69868#line 778
69869    tmp___10 = fc_frame_payload_get(__cil_tmp66, 12UL);
69870#line 778
69871    dd = (struct fcp_txrdy *)tmp___10;
69872#line 779
69873    __cil_tmp67 = ! dd;
69874#line 779
69875    __cil_tmp68 = ! __cil_tmp67;
69876#line 779
69877    __ret_warn_on___0 = ! __cil_tmp68;
69878#line 779
69879    __cil_tmp69 = ! __ret_warn_on___0;
69880#line 779
69881    __cil_tmp70 = ! __cil_tmp69;
69882#line 779
69883    __cil_tmp71 = (long )__cil_tmp70;
69884#line 779
69885    tmp___11 = __builtin_expect(__cil_tmp71, 0L);
69886    }
69887#line 779
69888    if (tmp___11) {
69889      {
69890#line 779
69891      __cil_tmp72 = (int    )779;
69892#line 779
69893      warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c",
69894                         __cil_tmp72);
69895      }
69896    } else {
69897
69898    }
69899    {
69900#line 779
69901    __cil_tmp73 = ! __ret_warn_on___0;
69902#line 779
69903    __cil_tmp74 = ! __cil_tmp73;
69904#line 779
69905    __cil_tmp75 = (long )__cil_tmp74;
69906#line 779
69907    __builtin_expect(__cil_tmp75, 0L);
69908#line 781
69909    __cil_tmp76 = (unsigned long )dd;
69910#line 781
69911    __cil_tmp77 = __cil_tmp76 + 4;
69912#line 781
69913    __cil_tmp78 = *((__be32 *)__cil_tmp77);
69914#line 781
69915    tmp___12 = __fswab32(__cil_tmp78);
69916#line 781
69917    __cil_tmp79 = *((__be32 *)dd);
69918#line 781
69919    tmp___13 = __fswab32(__cil_tmp79);
69920#line 781
69921    __cil_tmp80 = (size_t )tmp___13;
69922#line 781
69923    __cil_tmp81 = (size_t )tmp___12;
69924#line 781
69925    rc = fc_fcp_send_data(fsp, seq, __cil_tmp80, __cil_tmp81);
69926    }
69927#line 784
69928    if (! rc) {
69929#line 785
69930      __cil_tmp82 = (unsigned long )seq;
69931#line 785
69932      __cil_tmp83 = __cil_tmp82 + 8;
69933#line 785
69934      __cil_tmp84 = (unsigned long )fsp;
69935#line 785
69936      __cil_tmp85 = __cil_tmp84 + 80;
69937#line 785
69938      __cil_tmp86 = *((size_t *)__cil_tmp85);
69939#line 785
69940      *((u32 *)__cil_tmp83) = (u32 )__cil_tmp86;
69941    } else {
69942
69943    }
69944  } else {
69945    {
69946#line 786
69947    __cil_tmp87 = (int )r_ctl;
69948#line 786
69949    if (__cil_tmp87 == 1) {
69950      {
69951#line 791
69952      __cil_tmp88 = 0 + 104;
69953#line 791
69954      __cil_tmp89 = (unsigned long )fp;
69955#line 791
69956      __cil_tmp90 = __cil_tmp89 + __cil_tmp88;
69957#line 791
69958      __cil_tmp91 = *((unsigned int *)__cil_tmp90);
69959#line 791
69960      __cil_tmp92 = (unsigned long )__cil_tmp91;
69961#line 791
69962      __cil_tmp93 = __cil_tmp92 < 24UL;
69963#line 791
69964      __cil_tmp94 = ! __cil_tmp93;
69965#line 791
69966      __ret_warn_on___1 = ! __cil_tmp94;
69967#line 791
69968      __cil_tmp95 = ! __ret_warn_on___1;
69969#line 791
69970      __cil_tmp96 = ! __cil_tmp95;
69971#line 791
69972      __cil_tmp97 = (long )__cil_tmp96;
69973#line 791
69974      tmp___14 = __builtin_expect(__cil_tmp97, 0L);
69975      }
69976#line 791
69977      if (tmp___14) {
69978        {
69979#line 791
69980        __cil_tmp98 = (int    )791;
69981#line 791
69982        warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c",
69983                           __cil_tmp98);
69984        }
69985      } else {
69986
69987      }
69988      {
69989#line 791
69990      __cil_tmp99 = ! __ret_warn_on___1;
69991#line 791
69992      __cil_tmp100 = ! __cil_tmp99;
69993#line 791
69994      __cil_tmp101 = (long )__cil_tmp100;
69995#line 791
69996      __builtin_expect(__cil_tmp101, 0L);
69997#line 792
69998      fc_fcp_recv_data(fsp, fp);
69999#line 793
70000      __cil_tmp102 = (unsigned long )seq;
70001#line 793
70002      __cil_tmp103 = __cil_tmp102 + 8;
70003#line 793
70004      __cil_tmp104 = (unsigned long )fsp;
70005#line 793
70006      __cil_tmp105 = __cil_tmp104 + 120;
70007#line 793
70008      *((u32 *)__cil_tmp103) = *((u32 *)__cil_tmp105);
70009      }
70010    } else {
70011      {
70012#line 794
70013      __cil_tmp106 = (int )r_ctl;
70014#line 794
70015      if (__cil_tmp106 == 7) {
70016        {
70017#line 795
70018        __cil_tmp107 = 0 * 1UL;
70019#line 795
70020        __cil_tmp108 = 40 + __cil_tmp107;
70021#line 795
70022        __cil_tmp109 = 0 + __cil_tmp108;
70023#line 795
70024        __cil_tmp110 = (unsigned long )fp;
70025#line 795
70026        __cil_tmp111 = __cil_tmp110 + __cil_tmp109;
70027#line 795
70028        __cil_tmp112 = (char *)__cil_tmp111;
70029#line 795
70030        __cil_tmp113 = (struct fcoe_rcv_info *)__cil_tmp112;
70031#line 795
70032        __cil_tmp114 = (unsigned long )__cil_tmp113;
70033#line 795
70034        __cil_tmp115 = __cil_tmp114 + 32;
70035#line 795
70036        __cil_tmp116 = *((u8 *)__cil_tmp115);
70037#line 795
70038        __cil_tmp117 = (int )__cil_tmp116;
70039#line 795
70040        __cil_tmp118 = __cil_tmp117 & 1;
70041#line 795
70042        __cil_tmp119 = ! __cil_tmp118;
70043#line 795
70044        __ret_warn_on___2 = ! __cil_tmp119;
70045#line 795
70046        __cil_tmp120 = ! __ret_warn_on___2;
70047#line 795
70048        __cil_tmp121 = ! __cil_tmp120;
70049#line 795
70050        __cil_tmp122 = (long )__cil_tmp121;
70051#line 795
70052        tmp___15 = __builtin_expect(__cil_tmp122, 0L);
70053        }
70054#line 795
70055        if (tmp___15) {
70056          {
70057#line 795
70058          __cil_tmp123 = (int    )795;
70059#line 795
70060          warn_slowpath_null("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c",
70061                             __cil_tmp123);
70062          }
70063        } else {
70064
70065        }
70066        {
70067#line 795
70068        __cil_tmp124 = ! __ret_warn_on___2;
70069#line 795
70070        __cil_tmp125 = ! __cil_tmp124;
70071#line 795
70072        __cil_tmp126 = (long )__cil_tmp125;
70073#line 795
70074        __builtin_expect(__cil_tmp126, 0L);
70075#line 797
70076        fc_fcp_resp(fsp, fp);
70077        }
70078      } else {
70079        {
70080#line 799
70081        while (1) {
70082          while_continue: /* CIL Label */ ;
70083          {
70084#line 799
70085          __cil_tmp127 = & fc_debug_logging;
70086#line 799
70087          __cil_tmp128 = *__cil_tmp127;
70088#line 799
70089          __cil_tmp129 = __cil_tmp128 & 16U;
70090#line 799
70091          __cil_tmp130 = ! __cil_tmp129;
70092#line 799
70093          __cil_tmp131 = ! __cil_tmp130;
70094#line 799
70095          __cil_tmp132 = (long )__cil_tmp131;
70096#line 799
70097          tmp___16 = __builtin_expect(__cil_tmp132, 0L);
70098          }
70099#line 799
70100          if (tmp___16) {
70101            {
70102#line 799
70103            while (1) {
70104              while_continue___0: /* CIL Label */ ;
70105              {
70106#line 799
70107              __cil_tmp133 = (unsigned long )fsp;
70108#line 799
70109              __cil_tmp134 = __cil_tmp133 + 136;
70110#line 799
70111              if (*((struct fc_seq **)__cil_tmp134)) {
70112                {
70113#line 799
70114                __cil_tmp135 = (void *)0;
70115#line 799
70116                _ep = (struct fc_exch *)__cil_tmp135;
70117#line 799
70118                __cil_tmp136 = (unsigned long )fsp;
70119#line 799
70120                __cil_tmp137 = __cil_tmp136 + 136;
70121#line 799
70122                __cil_tmp138 = *((struct fc_seq **)__cil_tmp137);
70123#line 799
70124                __mptr = (struct fc_seq    *)__cil_tmp138;
70125#line 799
70126                __cil_tmp139 = (struct fc_exch *)0;
70127#line 799
70128                __cil_tmp140 = (unsigned long )__cil_tmp139;
70129#line 799
70130                __cil_tmp141 = __cil_tmp140 + 108;
70131#line 799
70132                __cil_tmp142 = (struct fc_seq *)__cil_tmp141;
70133#line 799
70134                __cil_tmp143 = (unsigned int )__cil_tmp142;
70135#line 799
70136                __cil_tmp144 = (char *)__mptr;
70137#line 799
70138                __cil_tmp145 = __cil_tmp144 - __cil_tmp143;
70139#line 799
70140                _ep = (struct fc_exch *)__cil_tmp145;
70141#line 799
70142                __cil_tmp146 = (unsigned long )fsp;
70143#line 799
70144                __cil_tmp147 = __cil_tmp146 + 56;
70145#line 799
70146                __cil_tmp148 = *((struct fc_lport **)__cil_tmp147);
70147#line 799
70148                __cil_tmp149 = *((struct Scsi_Host **)__cil_tmp148);
70149#line 799
70150                __cil_tmp150 = (unsigned long )__cil_tmp149;
70151#line 799
70152                __cil_tmp151 = __cil_tmp150 + 308;
70153#line 799
70154                __cil_tmp152 = *((unsigned int *)__cil_tmp151);
70155#line 799
70156                __cil_tmp153 = (unsigned long )fsp;
70157#line 799
70158                __cil_tmp154 = __cil_tmp153 + 128;
70159#line 799
70160                __cil_tmp155 = *((struct fc_rport **)__cil_tmp154);
70161#line 799
70162                __cil_tmp156 = (unsigned long )__cil_tmp155;
70163#line 799
70164                __cil_tmp157 = __cil_tmp156 + 32;
70165#line 799
70166                __cil_tmp158 = *((u32 *)__cil_tmp157);
70167#line 799
70168                __cil_tmp159 = (unsigned long )_ep;
70169#line 799
70170                __cil_tmp160 = __cil_tmp159 + 82;
70171#line 799
70172                __cil_tmp161 = *((u16 *)__cil_tmp160);
70173#line 799
70174                __cil_tmp162 = (int )__cil_tmp161;
70175#line 799
70176                __cil_tmp163 = (unsigned long )_ep;
70177#line 799
70178                __cil_tmp164 = __cil_tmp163 + 84;
70179#line 799
70180                __cil_tmp165 = *((u16 *)__cil_tmp164);
70181#line 799
70182                __cil_tmp166 = (int )__cil_tmp165;
70183#line 799
70184                __cil_tmp167 = (int )r_ctl;
70185#line 799
70186                printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: unexpected frame.  r_ctl %x\n",
70187                       __cil_tmp152, __cil_tmp158, __cil_tmp162, __cil_tmp166, __cil_tmp167);
70188                }
70189              } else {
70190                {
70191#line 799
70192                __cil_tmp168 = (unsigned long )fsp;
70193#line 799
70194                __cil_tmp169 = __cil_tmp168 + 56;
70195#line 799
70196                __cil_tmp170 = *((struct fc_lport **)__cil_tmp169);
70197#line 799
70198                __cil_tmp171 = *((struct Scsi_Host **)__cil_tmp170);
70199#line 799
70200                __cil_tmp172 = (unsigned long )__cil_tmp171;
70201#line 799
70202                __cil_tmp173 = __cil_tmp172 + 308;
70203#line 799
70204                __cil_tmp174 = *((unsigned int *)__cil_tmp173);
70205#line 799
70206                __cil_tmp175 = (unsigned long )fsp;
70207#line 799
70208                __cil_tmp176 = __cil_tmp175 + 128;
70209#line 799
70210                __cil_tmp177 = *((struct fc_rport **)__cil_tmp176);
70211#line 799
70212                __cil_tmp178 = (unsigned long )__cil_tmp177;
70213#line 799
70214                __cil_tmp179 = __cil_tmp178 + 32;
70215#line 799
70216                __cil_tmp180 = *((u32 *)__cil_tmp179);
70217#line 799
70218                __cil_tmp181 = (int )r_ctl;
70219#line 799
70220                printk("<6>host%u: fcp: %6.6x: unexpected frame.  r_ctl %x\n", __cil_tmp174,
70221                       __cil_tmp180, __cil_tmp181);
70222                }
70223              }
70224              }
70225#line 799
70226              goto while_break___0;
70227            }
70228            while_break___0: /* CIL Label */ ;
70229            }
70230          } else {
70231
70232          }
70233#line 799
70234          goto while_break;
70235        }
70236        while_break: /* CIL Label */ ;
70237        }
70238      }
70239      }
70240    }
70241    }
70242  }
70243  }
70244  unlock: 
70245  {
70246#line 802
70247  fc_fcp_unlock_pkt(fsp);
70248  }
70249  out: 
70250  {
70251#line 804
70252  fc_frame_free(fp);
70253  }
70254#line 805
70255  return;
70256}
70257}
70258#line 812 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
70259static void fc_fcp_resp(struct fc_fcp_pkt *fsp , struct fc_frame *fp ) 
70260{ struct fc_frame_header *fh ;
70261  struct fcp_resp *fc_rp ;
70262  struct fcp_resp_ext *rp_ex ;
70263  struct fcp_resp_rsp_info *fc_rp_info ;
70264  u32 plen ;
70265  u32 expected_len ;
70266  u32 respl ;
70267  u32 snsl ;
70268  u8 flags ;
70269  long tmp___7 ;
70270  __u32 tmp___8 ;
70271  __u32 tmp___9 ;
70272  size_t __len ;
70273  void *__ret ;
70274  __u32 tmp___10 ;
70275  unsigned int tmp___11 ;
70276  int tmp___12 ;
70277  long tmp___13 ;
70278  struct fc_exch *_ep ;
70279  struct fc_seq    *__mptr ;
70280  long tmp___14 ;
70281  long tmp___15 ;
70282  struct fc_exch *_ep___0 ;
70283  struct fc_seq    *__mptr___0 ;
70284  long tmp___16 ;
70285  unsigned long __cil_tmp28 ;
70286  unsigned long __cil_tmp29 ;
70287  unsigned long __cil_tmp30 ;
70288  unsigned long __cil_tmp31 ;
70289  unsigned long __cil_tmp32 ;
70290  unsigned long __cil_tmp33 ;
70291  unsigned char *__cil_tmp34 ;
70292  unsigned long __cil_tmp35 ;
70293  unsigned long __cil_tmp36 ;
70294  int __cil_tmp37 ;
70295  int __cil_tmp38 ;
70296  int __cil_tmp39 ;
70297  long __cil_tmp40 ;
70298  unsigned long __cil_tmp41 ;
70299  unsigned long __cil_tmp42 ;
70300  struct fc_frame_header *__cil_tmp43 ;
70301  unsigned long __cil_tmp44 ;
70302  unsigned long __cil_tmp45 ;
70303  unsigned long __cil_tmp46 ;
70304  unsigned long __cil_tmp47 ;
70305  unsigned long __cil_tmp48 ;
70306  unsigned long __cil_tmp49 ;
70307  unsigned long __cil_tmp50 ;
70308  unsigned long __cil_tmp51 ;
70309  unsigned long __cil_tmp52 ;
70310  unsigned long __cil_tmp53 ;
70311  int __cil_tmp54 ;
70312  unsigned long __cil_tmp55 ;
70313  unsigned long __cil_tmp56 ;
70314  long __cil_tmp57 ;
70315  struct fcp_resp *__cil_tmp58 ;
70316  void *__cil_tmp59 ;
70317  int __cil_tmp60 ;
70318  unsigned long __cil_tmp61 ;
70319  unsigned long __cil_tmp62 ;
70320  struct fcp_resp_ext *__cil_tmp63 ;
70321  int __cil_tmp64 ;
70322  unsigned long __cil_tmp65 ;
70323  unsigned long __cil_tmp66 ;
70324  __be32 __cil_tmp67 ;
70325  unsigned long __cil_tmp68 ;
70326  unsigned long __cil_tmp69 ;
70327  unsigned long __cil_tmp70 ;
70328  unsigned long __cil_tmp71 ;
70329  unsigned long __cil_tmp72 ;
70330  unsigned long __cil_tmp73 ;
70331  unsigned long __cil_tmp74 ;
70332  unsigned long __cil_tmp75 ;
70333  unsigned long __cil_tmp76 ;
70334  struct completion *__cil_tmp77 ;
70335  int __cil_tmp78 ;
70336  unsigned long __cil_tmp79 ;
70337  unsigned long __cil_tmp80 ;
70338  __be32 __cil_tmp81 ;
70339  unsigned long __cil_tmp82 ;
70340  unsigned long __cil_tmp83 ;
70341  struct scsi_cmnd *__cil_tmp84 ;
70342  unsigned long __cil_tmp85 ;
70343  unsigned long __cil_tmp86 ;
70344  unsigned char *__cil_tmp87 ;
70345  void *__cil_tmp88 ;
70346  char *__cil_tmp89 ;
70347  char *__cil_tmp90 ;
70348  void    *__cil_tmp91 ;
70349  int __cil_tmp92 ;
70350  unsigned long __cil_tmp93 ;
70351  unsigned long __cil_tmp94 ;
70352  int __cil_tmp95 ;
70353  __be32 __cil_tmp96 ;
70354  unsigned long __cil_tmp97 ;
70355  unsigned long __cil_tmp98 ;
70356  int __cil_tmp99 ;
70357  int __cil_tmp100 ;
70358  unsigned long __cil_tmp101 ;
70359  unsigned long __cil_tmp102 ;
70360  __u8 __cil_tmp103 ;
70361  int __cil_tmp104 ;
70362  unsigned long __cil_tmp105 ;
70363  unsigned long __cil_tmp106 ;
70364  struct scsi_cmnd *__cil_tmp107 ;
70365  unsigned long __cil_tmp108 ;
70366  unsigned long __cil_tmp109 ;
70367  struct scsi_cmnd *__cil_tmp110 ;
70368  unsigned long __cil_tmp111 ;
70369  unsigned long __cil_tmp112 ;
70370  unsigned int __cil_tmp113 ;
70371  unsigned long __cil_tmp114 ;
70372  unsigned long __cil_tmp115 ;
70373  u32 __cil_tmp116 ;
70374  unsigned int __cil_tmp117 ;
70375  unsigned long __cil_tmp118 ;
70376  unsigned long __cil_tmp119 ;
70377  u32 __cil_tmp120 ;
70378  unsigned long __cil_tmp121 ;
70379  unsigned long __cil_tmp122 ;
70380  unsigned long __cil_tmp123 ;
70381  unsigned long __cil_tmp124 ;
70382  int __cil_tmp125 ;
70383  unsigned long __cil_tmp126 ;
70384  unsigned long __cil_tmp127 ;
70385  u8 __cil_tmp128 ;
70386  int __cil_tmp129 ;
70387  int __cil_tmp130 ;
70388  size_t __cil_tmp131 ;
70389  unsigned long __cil_tmp132 ;
70390  unsigned long __cil_tmp133 ;
70391  size_t __cil_tmp134 ;
70392  int __cil_tmp135 ;
70393  int __cil_tmp136 ;
70394  int __cil_tmp137 ;
70395  long __cil_tmp138 ;
70396  size_t __cil_tmp139 ;
70397  unsigned long __cil_tmp140 ;
70398  unsigned long __cil_tmp141 ;
70399  size_t __cil_tmp142 ;
70400  unsigned long __cil_tmp143 ;
70401  unsigned long __cil_tmp144 ;
70402  unsigned int *__cil_tmp145 ;
70403  unsigned int __cil_tmp146 ;
70404  unsigned int __cil_tmp147 ;
70405  int __cil_tmp148 ;
70406  int __cil_tmp149 ;
70407  long __cil_tmp150 ;
70408  unsigned long __cil_tmp151 ;
70409  unsigned long __cil_tmp152 ;
70410  void *__cil_tmp153 ;
70411  unsigned long __cil_tmp154 ;
70412  unsigned long __cil_tmp155 ;
70413  struct fc_seq *__cil_tmp156 ;
70414  struct fc_exch *__cil_tmp157 ;
70415  unsigned long __cil_tmp158 ;
70416  unsigned long __cil_tmp159 ;
70417  struct fc_seq *__cil_tmp160 ;
70418  unsigned int __cil_tmp161 ;
70419  char *__cil_tmp162 ;
70420  char *__cil_tmp163 ;
70421  unsigned long __cil_tmp164 ;
70422  unsigned long __cil_tmp165 ;
70423  struct fc_lport *__cil_tmp166 ;
70424  struct Scsi_Host *__cil_tmp167 ;
70425  unsigned long __cil_tmp168 ;
70426  unsigned long __cil_tmp169 ;
70427  unsigned int __cil_tmp170 ;
70428  unsigned long __cil_tmp171 ;
70429  unsigned long __cil_tmp172 ;
70430  struct fc_rport *__cil_tmp173 ;
70431  unsigned long __cil_tmp174 ;
70432  unsigned long __cil_tmp175 ;
70433  u32 __cil_tmp176 ;
70434  unsigned long __cil_tmp177 ;
70435  unsigned long __cil_tmp178 ;
70436  u16 __cil_tmp179 ;
70437  int __cil_tmp180 ;
70438  unsigned long __cil_tmp181 ;
70439  unsigned long __cil_tmp182 ;
70440  u16 __cil_tmp183 ;
70441  int __cil_tmp184 ;
70442  unsigned long __cil_tmp185 ;
70443  unsigned long __cil_tmp186 ;
70444  struct fc_rport *__cil_tmp187 ;
70445  unsigned long __cil_tmp188 ;
70446  unsigned long __cil_tmp189 ;
70447  u32 __cil_tmp190 ;
70448  unsigned long __cil_tmp191 ;
70449  unsigned long __cil_tmp192 ;
70450  size_t __cil_tmp193 ;
70451  unsigned long __cil_tmp194 ;
70452  unsigned long __cil_tmp195 ;
70453  u32 __cil_tmp196 ;
70454  unsigned long __cil_tmp197 ;
70455  unsigned long __cil_tmp198 ;
70456  struct fc_lport *__cil_tmp199 ;
70457  struct Scsi_Host *__cil_tmp200 ;
70458  unsigned long __cil_tmp201 ;
70459  unsigned long __cil_tmp202 ;
70460  unsigned int __cil_tmp203 ;
70461  unsigned long __cil_tmp204 ;
70462  unsigned long __cil_tmp205 ;
70463  struct fc_rport *__cil_tmp206 ;
70464  unsigned long __cil_tmp207 ;
70465  unsigned long __cil_tmp208 ;
70466  u32 __cil_tmp209 ;
70467  unsigned long __cil_tmp210 ;
70468  unsigned long __cil_tmp211 ;
70469  struct fc_rport *__cil_tmp212 ;
70470  unsigned long __cil_tmp213 ;
70471  unsigned long __cil_tmp214 ;
70472  u32 __cil_tmp215 ;
70473  unsigned long __cil_tmp216 ;
70474  unsigned long __cil_tmp217 ;
70475  size_t __cil_tmp218 ;
70476  unsigned long __cil_tmp219 ;
70477  unsigned long __cil_tmp220 ;
70478  u32 __cil_tmp221 ;
70479  unsigned int *__cil_tmp222 ;
70480  unsigned int __cil_tmp223 ;
70481  unsigned int __cil_tmp224 ;
70482  int __cil_tmp225 ;
70483  int __cil_tmp226 ;
70484  long __cil_tmp227 ;
70485  unsigned long __cil_tmp228 ;
70486  unsigned long __cil_tmp229 ;
70487  void *__cil_tmp230 ;
70488  unsigned long __cil_tmp231 ;
70489  unsigned long __cil_tmp232 ;
70490  struct fc_seq *__cil_tmp233 ;
70491  struct fc_exch *__cil_tmp234 ;
70492  unsigned long __cil_tmp235 ;
70493  unsigned long __cil_tmp236 ;
70494  struct fc_seq *__cil_tmp237 ;
70495  unsigned int __cil_tmp238 ;
70496  char *__cil_tmp239 ;
70497  char *__cil_tmp240 ;
70498  unsigned long __cil_tmp241 ;
70499  unsigned long __cil_tmp242 ;
70500  struct fc_lport *__cil_tmp243 ;
70501  struct Scsi_Host *__cil_tmp244 ;
70502  unsigned long __cil_tmp245 ;
70503  unsigned long __cil_tmp246 ;
70504  unsigned int __cil_tmp247 ;
70505  unsigned long __cil_tmp248 ;
70506  unsigned long __cil_tmp249 ;
70507  struct fc_rport *__cil_tmp250 ;
70508  unsigned long __cil_tmp251 ;
70509  unsigned long __cil_tmp252 ;
70510  u32 __cil_tmp253 ;
70511  unsigned long __cil_tmp254 ;
70512  unsigned long __cil_tmp255 ;
70513  u16 __cil_tmp256 ;
70514  int __cil_tmp257 ;
70515  unsigned long __cil_tmp258 ;
70516  unsigned long __cil_tmp259 ;
70517  u16 __cil_tmp260 ;
70518  int __cil_tmp261 ;
70519  int __cil_tmp262 ;
70520  unsigned long __cil_tmp263 ;
70521  unsigned long __cil_tmp264 ;
70522  unsigned long __cil_tmp265 ;
70523  unsigned int __cil_tmp266 ;
70524  unsigned long __cil_tmp267 ;
70525  unsigned long __cil_tmp268 ;
70526  struct fc_lport *__cil_tmp269 ;
70527  struct Scsi_Host *__cil_tmp270 ;
70528  unsigned long __cil_tmp271 ;
70529  unsigned long __cil_tmp272 ;
70530  unsigned int __cil_tmp273 ;
70531  unsigned long __cil_tmp274 ;
70532  unsigned long __cil_tmp275 ;
70533  struct fc_rport *__cil_tmp276 ;
70534  unsigned long __cil_tmp277 ;
70535  unsigned long __cil_tmp278 ;
70536  u32 __cil_tmp279 ;
70537  int __cil_tmp280 ;
70538  unsigned long __cil_tmp281 ;
70539  unsigned long __cil_tmp282 ;
70540  unsigned long __cil_tmp283 ;
70541  unsigned int __cil_tmp284 ;
70542  unsigned long __cil_tmp285 ;
70543  unsigned long __cil_tmp286 ;
70544
70545  {
70546  {
70547#line 820
70548  respl = (u32 )0;
70549#line 821
70550  snsl = (u32 )0;
70551#line 822
70552  flags = (u8 )0;
70553#line 824
70554  __cil_tmp28 = 0 + 104;
70555#line 824
70556  __cil_tmp29 = (unsigned long )fp;
70557#line 824
70558  __cil_tmp30 = __cil_tmp29 + __cil_tmp28;
70559#line 824
70560  plen = *((unsigned int *)__cil_tmp30);
70561#line 825
70562  __cil_tmp31 = 0 + 224;
70563#line 825
70564  __cil_tmp32 = (unsigned long )fp;
70565#line 825
70566  __cil_tmp33 = __cil_tmp32 + __cil_tmp31;
70567#line 825
70568  __cil_tmp34 = *((unsigned char **)__cil_tmp33);
70569#line 825
70570  fh = (struct fc_frame_header *)__cil_tmp34;
70571#line 826
70572  __cil_tmp35 = 24UL + 12UL;
70573#line 826
70574  __cil_tmp36 = (unsigned long )plen;
70575#line 826
70576  __cil_tmp37 = __cil_tmp36 < __cil_tmp35;
70577#line 826
70578  __cil_tmp38 = ! __cil_tmp37;
70579#line 826
70580  __cil_tmp39 = ! __cil_tmp38;
70581#line 826
70582  __cil_tmp40 = (long )__cil_tmp39;
70583#line 826
70584  tmp___7 = __builtin_expect(__cil_tmp40, 0L);
70585  }
70586#line 826
70587  if (tmp___7) {
70588#line 827
70589    goto len_err;
70590  } else {
70591
70592  }
70593  {
70594#line 828
70595  __cil_tmp41 = (unsigned long )plen;
70596#line 828
70597  __cil_tmp42 = __cil_tmp41 - 24UL;
70598#line 828
70599  plen = (u32 )__cil_tmp42;
70600#line 829
70601  __cil_tmp43 = fh + 1;
70602#line 829
70603  fc_rp = (struct fcp_resp *)__cil_tmp43;
70604#line 830
70605  __cil_tmp44 = (unsigned long )fsp;
70606#line 830
70607  __cil_tmp45 = __cil_tmp44 + 65;
70608#line 830
70609  __cil_tmp46 = (unsigned long )fc_rp;
70610#line 830
70611  __cil_tmp47 = __cil_tmp46 + 11;
70612#line 830
70613  *((u8 *)__cil_tmp45) = *((__u8 *)__cil_tmp47);
70614#line 831
70615  __cil_tmp48 = (unsigned long )fc_rp;
70616#line 831
70617  __cil_tmp49 = __cil_tmp48 + 10;
70618#line 831
70619  flags = *((__u8 *)__cil_tmp49);
70620#line 832
70621  __cil_tmp50 = (unsigned long )fsp;
70622#line 832
70623  __cil_tmp51 = __cil_tmp50 + 67;
70624#line 832
70625  *((u8 *)__cil_tmp51) = flags;
70626#line 833
70627  __cil_tmp52 = (unsigned long )fsp;
70628#line 833
70629  __cil_tmp53 = __cil_tmp52 + 28;
70630#line 833
70631  expected_len = *((u32 *)__cil_tmp53);
70632#line 836
70633  fc_fcp_ddp_done(fsp);
70634  }
70635  {
70636#line 838
70637  __cil_tmp54 = (int )flags;
70638#line 838
70639  if (__cil_tmp54 & -17) {
70640#line 838
70641    tmp___12 = 1;
70642  } else {
70643    {
70644#line 838
70645    __cil_tmp55 = (unsigned long )fc_rp;
70646#line 838
70647    __cil_tmp56 = __cil_tmp55 + 11;
70648#line 838
70649    if (*((__u8 *)__cil_tmp56)) {
70650#line 838
70651      tmp___12 = 1;
70652    } else {
70653#line 838
70654      tmp___12 = 0;
70655    }
70656    }
70657  }
70658  }
70659  {
70660#line 838
70661  __cil_tmp57 = (long )tmp___12;
70662#line 838
70663  tmp___13 = __builtin_expect(__cil_tmp57, 0L);
70664  }
70665#line 838
70666  if (tmp___13) {
70667#line 839
70668    __cil_tmp58 = fc_rp + 1;
70669#line 839
70670    __cil_tmp59 = (void *)__cil_tmp58;
70671#line 839
70672    rp_ex = (struct fcp_resp_ext *)__cil_tmp59;
70673    {
70674#line 840
70675    __cil_tmp60 = (int )flags;
70676#line 840
70677    if (__cil_tmp60 & 3) {
70678      {
70679#line 841
70680      __cil_tmp61 = 12UL + 12UL;
70681#line 841
70682      __cil_tmp62 = (unsigned long )plen;
70683#line 841
70684      if (__cil_tmp62 < __cil_tmp61) {
70685#line 842
70686        goto len_err;
70687      } else {
70688
70689      }
70690      }
70691#line 843
70692      __cil_tmp63 = rp_ex + 1;
70693#line 843
70694      fc_rp_info = (struct fcp_resp_rsp_info *)__cil_tmp63;
70695      {
70696#line 844
70697      __cil_tmp64 = (int )flags;
70698#line 844
70699      if (__cil_tmp64 & 1) {
70700        {
70701#line 845
70702        __cil_tmp65 = (unsigned long )rp_ex;
70703#line 845
70704        __cil_tmp66 = __cil_tmp65 + 8;
70705#line 845
70706        __cil_tmp67 = *((__be32 *)__cil_tmp66);
70707#line 845
70708        tmp___8 = __fswab32(__cil_tmp67);
70709#line 845
70710        respl = tmp___8;
70711        }
70712        {
70713#line 846
70714        __cil_tmp68 = (unsigned long )respl;
70715#line 846
70716        if (__cil_tmp68 != 8UL) {
70717#line 847
70718          goto len_err;
70719        } else {
70720
70721        }
70722        }
70723        {
70724#line 848
70725        __cil_tmp69 = (unsigned long )fsp;
70726#line 848
70727        __cil_tmp70 = __cil_tmp69 + 224;
70728#line 848
70729        if (*((int *)__cil_tmp70)) {
70730          {
70731#line 850
70732          __cil_tmp71 = (unsigned long )fsp;
70733#line 850
70734          __cil_tmp72 = __cil_tmp71 + 65;
70735#line 850
70736          __cil_tmp73 = (unsigned long )fc_rp_info;
70737#line 850
70738          __cil_tmp74 = __cil_tmp73 + 3;
70739#line 850
70740          *((u8 *)__cil_tmp72) = *((__u8 *)__cil_tmp74);
70741#line 851
70742          __cil_tmp75 = (unsigned long )fsp;
70743#line 851
70744          __cil_tmp76 = __cil_tmp75 + 240;
70745#line 851
70746          __cil_tmp77 = (struct completion *)__cil_tmp76;
70747#line 851
70748          complete(__cil_tmp77);
70749          }
70750#line 856
70751          return;
70752        } else {
70753
70754        }
70755        }
70756      } else {
70757
70758      }
70759      }
70760      {
70761#line 859
70762      __cil_tmp78 = (int )flags;
70763#line 859
70764      if (__cil_tmp78 & 2) {
70765        {
70766#line 860
70767        __cil_tmp79 = (unsigned long )rp_ex;
70768#line 860
70769        __cil_tmp80 = __cil_tmp79 + 4;
70770#line 860
70771        __cil_tmp81 = *((__be32 *)__cil_tmp80);
70772#line 860
70773        tmp___9 = __fswab32(__cil_tmp81);
70774#line 860
70775        snsl = tmp___9;
70776        }
70777#line 861
70778        if (snsl > 96U) {
70779#line 862
70780          snsl = (u32 )96;
70781        } else {
70782
70783        }
70784        {
70785#line 863
70786        __len = (size_t )snsl;
70787#line 863
70788        __cil_tmp82 = (unsigned long )fsp;
70789#line 863
70790        __cil_tmp83 = __cil_tmp82 + 32;
70791#line 863
70792        __cil_tmp84 = *((struct scsi_cmnd **)__cil_tmp83);
70793#line 863
70794        __cil_tmp85 = (unsigned long )__cil_tmp84;
70795#line 863
70796        __cil_tmp86 = __cil_tmp85 + 136;
70797#line 863
70798        __cil_tmp87 = *((unsigned char **)__cil_tmp86);
70799#line 863
70800        __cil_tmp88 = (void *)__cil_tmp87;
70801#line 863
70802        __cil_tmp89 = (char *)fc_rp_info;
70803#line 863
70804        __cil_tmp90 = __cil_tmp89 + respl;
70805#line 863
70806        __cil_tmp91 = (void    *)__cil_tmp90;
70807#line 863
70808        __ret = __builtin_memcpy(__cil_tmp88, __cil_tmp91, __len);
70809        }
70810      } else {
70811
70812      }
70813      }
70814    } else {
70815
70816    }
70817    }
70818    {
70819#line 867
70820    __cil_tmp92 = (int )flags;
70821#line 867
70822    if (__cil_tmp92 & 12) {
70823      {
70824#line 868
70825      __cil_tmp93 = 12UL + 4UL;
70826#line 868
70827      __cil_tmp94 = (unsigned long )plen;
70828#line 868
70829      if (__cil_tmp94 < __cil_tmp93) {
70830#line 869
70831        goto len_err;
70832      } else {
70833
70834      }
70835      }
70836      {
70837#line 870
70838      __cil_tmp95 = (int )flags;
70839#line 870
70840      if (__cil_tmp95 & 8) {
70841        {
70842#line 871
70843        __cil_tmp96 = *((__be32 *)rp_ex);
70844#line 871
70845        tmp___10 = __fswab32(__cil_tmp96);
70846#line 871
70847        __cil_tmp97 = (unsigned long )fsp;
70848#line 871
70849        __cil_tmp98 = __cil_tmp97 + 76;
70850#line 871
70851        *((u32 *)__cil_tmp98) = tmp___10;
70852        }
70853        {
70854#line 880
70855        __cil_tmp99 = (int )flags;
70856#line 880
70857        __cil_tmp100 = __cil_tmp99 & 2;
70858#line 880
70859        if (! __cil_tmp100) {
70860          {
70861#line 880
70862          __cil_tmp101 = (unsigned long )fc_rp;
70863#line 880
70864          __cil_tmp102 = __cil_tmp101 + 11;
70865#line 880
70866          __cil_tmp103 = *((__u8 *)__cil_tmp102);
70867#line 880
70868          __cil_tmp104 = (int )__cil_tmp103;
70869#line 880
70870          if (__cil_tmp104 == 0) {
70871            {
70872#line 880
70873            __cil_tmp105 = (unsigned long )fsp;
70874#line 880
70875            __cil_tmp106 = __cil_tmp105 + 32;
70876#line 880
70877            __cil_tmp107 = *((struct scsi_cmnd **)__cil_tmp106);
70878#line 880
70879            tmp___11 = scsi_bufflen(__cil_tmp107);
70880            }
70881            {
70882#line 880
70883            __cil_tmp108 = (unsigned long )fsp;
70884#line 880
70885            __cil_tmp109 = __cil_tmp108 + 32;
70886#line 880
70887            __cil_tmp110 = *((struct scsi_cmnd **)__cil_tmp109);
70888#line 880
70889            __cil_tmp111 = (unsigned long )__cil_tmp110;
70890#line 880
70891            __cil_tmp112 = __cil_tmp111 + 120;
70892#line 880
70893            __cil_tmp113 = *((unsigned int *)__cil_tmp112);
70894#line 880
70895            __cil_tmp114 = (unsigned long )fsp;
70896#line 880
70897            __cil_tmp115 = __cil_tmp114 + 76;
70898#line 880
70899            __cil_tmp116 = *((u32 *)__cil_tmp115);
70900#line 880
70901            __cil_tmp117 = tmp___11 - __cil_tmp116;
70902#line 880
70903            if (__cil_tmp117 < __cil_tmp113) {
70904#line 884
70905              goto err;
70906            } else {
70907
70908            }
70909            }
70910          } else {
70911
70912          }
70913          }
70914        } else {
70915
70916        }
70917        }
70918#line 885
70919        __cil_tmp118 = (unsigned long )fsp;
70920#line 885
70921        __cil_tmp119 = __cil_tmp118 + 76;
70922#line 885
70923        __cil_tmp120 = *((u32 *)__cil_tmp119);
70924#line 885
70925        expected_len = expected_len - __cil_tmp120;
70926      } else {
70927#line 887
70928        __cil_tmp121 = (unsigned long )fsp;
70929#line 887
70930        __cil_tmp122 = __cil_tmp121 + 66;
70931#line 887
70932        *((u8 *)__cil_tmp122) = (u8 )8;
70933      }
70934      }
70935    } else {
70936
70937    }
70938    }
70939  } else {
70940
70941  }
70942  {
70943#line 891
70944  __cil_tmp123 = (unsigned long )fsp;
70945#line 891
70946  __cil_tmp124 = __cil_tmp123 + 64;
70947#line 891
70948  __cil_tmp125 = 1 << 1;
70949#line 891
70950  __cil_tmp126 = (unsigned long )fsp;
70951#line 891
70952  __cil_tmp127 = __cil_tmp126 + 64;
70953#line 891
70954  __cil_tmp128 = *((u8 *)__cil_tmp127);
70955#line 891
70956  __cil_tmp129 = (int )__cil_tmp128;
70957#line 891
70958  __cil_tmp130 = __cil_tmp129 | __cil_tmp125;
70959#line 891
70960  *((u8 *)__cil_tmp124) = (u8 )__cil_tmp130;
70961#line 896
70962  __cil_tmp131 = (size_t )expected_len;
70963#line 896
70964  __cil_tmp132 = (unsigned long )fsp;
70965#line 896
70966  __cil_tmp133 = __cil_tmp132 + 80;
70967#line 896
70968  __cil_tmp134 = *((size_t *)__cil_tmp133);
70969#line 896
70970  __cil_tmp135 = __cil_tmp134 != __cil_tmp131;
70971#line 896
70972  __cil_tmp136 = ! __cil_tmp135;
70973#line 896
70974  __cil_tmp137 = ! __cil_tmp136;
70975#line 896
70976  __cil_tmp138 = (long )__cil_tmp137;
70977#line 896
70978  tmp___15 = __builtin_expect(__cil_tmp138, 0L);
70979  }
70980#line 896
70981  if (tmp___15) {
70982    {
70983#line 897
70984    __cil_tmp139 = (size_t )expected_len;
70985#line 897
70986    __cil_tmp140 = (unsigned long )fsp;
70987#line 897
70988    __cil_tmp141 = __cil_tmp140 + 80;
70989#line 897
70990    __cil_tmp142 = *((size_t *)__cil_tmp141);
70991#line 897
70992    if (__cil_tmp142 < __cil_tmp139) {
70993      {
70994#line 903
70995      fc_fcp_timer_set(fsp, 2UL);
70996      }
70997#line 904
70998      return;
70999    } else {
71000
71001    }
71002    }
71003#line 906
71004    __cil_tmp143 = (unsigned long )fsp;
71005#line 906
71006    __cil_tmp144 = __cil_tmp143 + 66;
71007#line 906
71008    *((u8 *)__cil_tmp144) = (u8 )6;
71009    {
71010#line 907
71011    while (1) {
71012      while_continue: /* CIL Label */ ;
71013      {
71014#line 907
71015      __cil_tmp145 = & fc_debug_logging;
71016#line 907
71017      __cil_tmp146 = *__cil_tmp145;
71018#line 907
71019      __cil_tmp147 = __cil_tmp146 & 16U;
71020#line 907
71021      __cil_tmp148 = ! __cil_tmp147;
71022#line 907
71023      __cil_tmp149 = ! __cil_tmp148;
71024#line 907
71025      __cil_tmp150 = (long )__cil_tmp149;
71026#line 907
71027      tmp___14 = __builtin_expect(__cil_tmp150, 0L);
71028      }
71029#line 907
71030      if (tmp___14) {
71031        {
71032#line 907
71033        while (1) {
71034          while_continue___0: /* CIL Label */ ;
71035          {
71036#line 907
71037          __cil_tmp151 = (unsigned long )fsp;
71038#line 907
71039          __cil_tmp152 = __cil_tmp151 + 136;
71040#line 907
71041          if (*((struct fc_seq **)__cil_tmp152)) {
71042            {
71043#line 907
71044            __cil_tmp153 = (void *)0;
71045#line 907
71046            _ep = (struct fc_exch *)__cil_tmp153;
71047#line 907
71048            __cil_tmp154 = (unsigned long )fsp;
71049#line 907
71050            __cil_tmp155 = __cil_tmp154 + 136;
71051#line 907
71052            __cil_tmp156 = *((struct fc_seq **)__cil_tmp155);
71053#line 907
71054            __mptr = (struct fc_seq    *)__cil_tmp156;
71055#line 907
71056            __cil_tmp157 = (struct fc_exch *)0;
71057#line 907
71058            __cil_tmp158 = (unsigned long )__cil_tmp157;
71059#line 907
71060            __cil_tmp159 = __cil_tmp158 + 108;
71061#line 907
71062            __cil_tmp160 = (struct fc_seq *)__cil_tmp159;
71063#line 907
71064            __cil_tmp161 = (unsigned int )__cil_tmp160;
71065#line 907
71066            __cil_tmp162 = (char *)__mptr;
71067#line 907
71068            __cil_tmp163 = __cil_tmp162 - __cil_tmp161;
71069#line 907
71070            _ep = (struct fc_exch *)__cil_tmp163;
71071#line 907
71072            __cil_tmp164 = (unsigned long )fsp;
71073#line 907
71074            __cil_tmp165 = __cil_tmp164 + 56;
71075#line 907
71076            __cil_tmp166 = *((struct fc_lport **)__cil_tmp165);
71077#line 907
71078            __cil_tmp167 = *((struct Scsi_Host **)__cil_tmp166);
71079#line 907
71080            __cil_tmp168 = (unsigned long )__cil_tmp167;
71081#line 907
71082            __cil_tmp169 = __cil_tmp168 + 308;
71083#line 907
71084            __cil_tmp170 = *((unsigned int *)__cil_tmp169);
71085#line 907
71086            __cil_tmp171 = (unsigned long )fsp;
71087#line 907
71088            __cil_tmp172 = __cil_tmp171 + 128;
71089#line 907
71090            __cil_tmp173 = *((struct fc_rport **)__cil_tmp172);
71091#line 907
71092            __cil_tmp174 = (unsigned long )__cil_tmp173;
71093#line 907
71094            __cil_tmp175 = __cil_tmp174 + 32;
71095#line 907
71096            __cil_tmp176 = *((u32 *)__cil_tmp175);
71097#line 907
71098            __cil_tmp177 = (unsigned long )_ep;
71099#line 907
71100            __cil_tmp178 = __cil_tmp177 + 82;
71101#line 907
71102            __cil_tmp179 = *((u16 *)__cil_tmp178);
71103#line 907
71104            __cil_tmp180 = (int )__cil_tmp179;
71105#line 907
71106            __cil_tmp181 = (unsigned long )_ep;
71107#line 907
71108            __cil_tmp182 = __cil_tmp181 + 84;
71109#line 907
71110            __cil_tmp183 = *((u16 *)__cil_tmp182);
71111#line 907
71112            __cil_tmp184 = (int )__cil_tmp183;
71113#line 907
71114            __cil_tmp185 = (unsigned long )fsp;
71115#line 907
71116            __cil_tmp186 = __cil_tmp185 + 128;
71117#line 907
71118            __cil_tmp187 = *((struct fc_rport **)__cil_tmp186);
71119#line 907
71120            __cil_tmp188 = (unsigned long )__cil_tmp187;
71121#line 907
71122            __cil_tmp189 = __cil_tmp188 + 32;
71123#line 907
71124            __cil_tmp190 = *((u32 *)__cil_tmp189);
71125#line 907
71126            __cil_tmp191 = (unsigned long )fsp;
71127#line 907
71128            __cil_tmp192 = __cil_tmp191 + 80;
71129#line 907
71130            __cil_tmp193 = *((size_t *)__cil_tmp192);
71131#line 907
71132            __cil_tmp194 = (unsigned long )fsp;
71133#line 907
71134            __cil_tmp195 = __cil_tmp194 + 28;
71135#line 907
71136            __cil_tmp196 = *((u32 *)__cil_tmp195);
71137#line 907
71138            printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: tgt %6.6x xfer len %zx greater than expected, len %x, data len %x\n",
71139                   __cil_tmp170, __cil_tmp176, __cil_tmp180, __cil_tmp184, __cil_tmp190,
71140                   __cil_tmp193, expected_len, __cil_tmp196);
71141            }
71142          } else {
71143            {
71144#line 907
71145            __cil_tmp197 = (unsigned long )fsp;
71146#line 907
71147            __cil_tmp198 = __cil_tmp197 + 56;
71148#line 907
71149            __cil_tmp199 = *((struct fc_lport **)__cil_tmp198);
71150#line 907
71151            __cil_tmp200 = *((struct Scsi_Host **)__cil_tmp199);
71152#line 907
71153            __cil_tmp201 = (unsigned long )__cil_tmp200;
71154#line 907
71155            __cil_tmp202 = __cil_tmp201 + 308;
71156#line 907
71157            __cil_tmp203 = *((unsigned int *)__cil_tmp202);
71158#line 907
71159            __cil_tmp204 = (unsigned long )fsp;
71160#line 907
71161            __cil_tmp205 = __cil_tmp204 + 128;
71162#line 907
71163            __cil_tmp206 = *((struct fc_rport **)__cil_tmp205);
71164#line 907
71165            __cil_tmp207 = (unsigned long )__cil_tmp206;
71166#line 907
71167            __cil_tmp208 = __cil_tmp207 + 32;
71168#line 907
71169            __cil_tmp209 = *((u32 *)__cil_tmp208);
71170#line 907
71171            __cil_tmp210 = (unsigned long )fsp;
71172#line 907
71173            __cil_tmp211 = __cil_tmp210 + 128;
71174#line 907
71175            __cil_tmp212 = *((struct fc_rport **)__cil_tmp211);
71176#line 907
71177            __cil_tmp213 = (unsigned long )__cil_tmp212;
71178#line 907
71179            __cil_tmp214 = __cil_tmp213 + 32;
71180#line 907
71181            __cil_tmp215 = *((u32 *)__cil_tmp214);
71182#line 907
71183            __cil_tmp216 = (unsigned long )fsp;
71184#line 907
71185            __cil_tmp217 = __cil_tmp216 + 80;
71186#line 907
71187            __cil_tmp218 = *((size_t *)__cil_tmp217);
71188#line 907
71189            __cil_tmp219 = (unsigned long )fsp;
71190#line 907
71191            __cil_tmp220 = __cil_tmp219 + 28;
71192#line 907
71193            __cil_tmp221 = *((u32 *)__cil_tmp220);
71194#line 907
71195            printk("<6>host%u: fcp: %6.6x: tgt %6.6x xfer len %zx greater than expected, len %x, data len %x\n",
71196                   __cil_tmp203, __cil_tmp209, __cil_tmp215, __cil_tmp218, expected_len,
71197                   __cil_tmp221);
71198            }
71199          }
71200          }
71201#line 907
71202          goto while_break___0;
71203        }
71204        while_break___0: /* CIL Label */ ;
71205        }
71206      } else {
71207
71208      }
71209#line 907
71210      goto while_break;
71211    }
71212    while_break: /* CIL Label */ ;
71213    }
71214  } else {
71215
71216  }
71217  {
71218#line 912
71219  fc_fcp_complete_locked(fsp);
71220  }
71221#line 913
71222  return;
71223  len_err: 
71224  {
71225#line 916
71226  while (1) {
71227    while_continue___1: /* CIL Label */ ;
71228    {
71229#line 916
71230    __cil_tmp222 = & fc_debug_logging;
71231#line 916
71232    __cil_tmp223 = *__cil_tmp222;
71233#line 916
71234    __cil_tmp224 = __cil_tmp223 & 16U;
71235#line 916
71236    __cil_tmp225 = ! __cil_tmp224;
71237#line 916
71238    __cil_tmp226 = ! __cil_tmp225;
71239#line 916
71240    __cil_tmp227 = (long )__cil_tmp226;
71241#line 916
71242    tmp___16 = __builtin_expect(__cil_tmp227, 0L);
71243    }
71244#line 916
71245    if (tmp___16) {
71246      {
71247#line 916
71248      while (1) {
71249        while_continue___2: /* CIL Label */ ;
71250        {
71251#line 916
71252        __cil_tmp228 = (unsigned long )fsp;
71253#line 916
71254        __cil_tmp229 = __cil_tmp228 + 136;
71255#line 916
71256        if (*((struct fc_seq **)__cil_tmp229)) {
71257          {
71258#line 916
71259          __cil_tmp230 = (void *)0;
71260#line 916
71261          _ep___0 = (struct fc_exch *)__cil_tmp230;
71262#line 916
71263          __cil_tmp231 = (unsigned long )fsp;
71264#line 916
71265          __cil_tmp232 = __cil_tmp231 + 136;
71266#line 916
71267          __cil_tmp233 = *((struct fc_seq **)__cil_tmp232);
71268#line 916
71269          __mptr___0 = (struct fc_seq    *)__cil_tmp233;
71270#line 916
71271          __cil_tmp234 = (struct fc_exch *)0;
71272#line 916
71273          __cil_tmp235 = (unsigned long )__cil_tmp234;
71274#line 916
71275          __cil_tmp236 = __cil_tmp235 + 108;
71276#line 916
71277          __cil_tmp237 = (struct fc_seq *)__cil_tmp236;
71278#line 916
71279          __cil_tmp238 = (unsigned int )__cil_tmp237;
71280#line 916
71281          __cil_tmp239 = (char *)__mptr___0;
71282#line 916
71283          __cil_tmp240 = __cil_tmp239 - __cil_tmp238;
71284#line 916
71285          _ep___0 = (struct fc_exch *)__cil_tmp240;
71286#line 916
71287          __cil_tmp241 = (unsigned long )fsp;
71288#line 916
71289          __cil_tmp242 = __cil_tmp241 + 56;
71290#line 916
71291          __cil_tmp243 = *((struct fc_lport **)__cil_tmp242);
71292#line 916
71293          __cil_tmp244 = *((struct Scsi_Host **)__cil_tmp243);
71294#line 916
71295          __cil_tmp245 = (unsigned long )__cil_tmp244;
71296#line 916
71297          __cil_tmp246 = __cil_tmp245 + 308;
71298#line 916
71299          __cil_tmp247 = *((unsigned int *)__cil_tmp246);
71300#line 916
71301          __cil_tmp248 = (unsigned long )fsp;
71302#line 916
71303          __cil_tmp249 = __cil_tmp248 + 128;
71304#line 916
71305          __cil_tmp250 = *((struct fc_rport **)__cil_tmp249);
71306#line 916
71307          __cil_tmp251 = (unsigned long )__cil_tmp250;
71308#line 916
71309          __cil_tmp252 = __cil_tmp251 + 32;
71310#line 916
71311          __cil_tmp253 = *((u32 *)__cil_tmp252);
71312#line 916
71313          __cil_tmp254 = (unsigned long )_ep___0;
71314#line 916
71315          __cil_tmp255 = __cil_tmp254 + 82;
71316#line 916
71317          __cil_tmp256 = *((u16 *)__cil_tmp255);
71318#line 916
71319          __cil_tmp257 = (int )__cil_tmp256;
71320#line 916
71321          __cil_tmp258 = (unsigned long )_ep___0;
71322#line 916
71323          __cil_tmp259 = __cil_tmp258 + 84;
71324#line 916
71325          __cil_tmp260 = *((u16 *)__cil_tmp259);
71326#line 916
71327          __cil_tmp261 = (int )__cil_tmp260;
71328#line 916
71329          __cil_tmp262 = (int )flags;
71330#line 916
71331          __cil_tmp263 = 0 + 104;
71332#line 916
71333          __cil_tmp264 = (unsigned long )fp;
71334#line 916
71335          __cil_tmp265 = __cil_tmp264 + __cil_tmp263;
71336#line 916
71337          __cil_tmp266 = *((unsigned int *)__cil_tmp265);
71338#line 916
71339          printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: short FCP response. flags 0x%x len %u respl %u snsl %u\n",
71340                 __cil_tmp247, __cil_tmp253, __cil_tmp257, __cil_tmp261, __cil_tmp262,
71341                 __cil_tmp266, respl, snsl);
71342          }
71343        } else {
71344          {
71345#line 916
71346          __cil_tmp267 = (unsigned long )fsp;
71347#line 916
71348          __cil_tmp268 = __cil_tmp267 + 56;
71349#line 916
71350          __cil_tmp269 = *((struct fc_lport **)__cil_tmp268);
71351#line 916
71352          __cil_tmp270 = *((struct Scsi_Host **)__cil_tmp269);
71353#line 916
71354          __cil_tmp271 = (unsigned long )__cil_tmp270;
71355#line 916
71356          __cil_tmp272 = __cil_tmp271 + 308;
71357#line 916
71358          __cil_tmp273 = *((unsigned int *)__cil_tmp272);
71359#line 916
71360          __cil_tmp274 = (unsigned long )fsp;
71361#line 916
71362          __cil_tmp275 = __cil_tmp274 + 128;
71363#line 916
71364          __cil_tmp276 = *((struct fc_rport **)__cil_tmp275);
71365#line 916
71366          __cil_tmp277 = (unsigned long )__cil_tmp276;
71367#line 916
71368          __cil_tmp278 = __cil_tmp277 + 32;
71369#line 916
71370          __cil_tmp279 = *((u32 *)__cil_tmp278);
71371#line 916
71372          __cil_tmp280 = (int )flags;
71373#line 916
71374          __cil_tmp281 = 0 + 104;
71375#line 916
71376          __cil_tmp282 = (unsigned long )fp;
71377#line 916
71378          __cil_tmp283 = __cil_tmp282 + __cil_tmp281;
71379#line 916
71380          __cil_tmp284 = *((unsigned int *)__cil_tmp283);
71381#line 916
71382          printk("<6>host%u: fcp: %6.6x: short FCP response. flags 0x%x len %u respl %u snsl %u\n",
71383                 __cil_tmp273, __cil_tmp279, __cil_tmp280, __cil_tmp284, respl, snsl);
71384          }
71385        }
71386        }
71387#line 916
71388        goto while_break___2;
71389      }
71390      while_break___2: /* CIL Label */ ;
71391      }
71392    } else {
71393
71394    }
71395#line 916
71396    goto while_break___1;
71397  }
71398  while_break___1: /* CIL Label */ ;
71399  }
71400  err: 
71401  {
71402#line 919
71403  __cil_tmp285 = (unsigned long )fsp;
71404#line 919
71405  __cil_tmp286 = __cil_tmp285 + 66;
71406#line 919
71407  *((u8 *)__cil_tmp286) = (u8 )8;
71408#line 920
71409  fc_fcp_complete_locked(fsp);
71410  }
71411#line 921
71412  return;
71413}
71414}
71415#line 931 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
71416static void fc_fcp_complete_locked(struct fc_fcp_pkt *fsp ) 
71417{ struct fc_lport *lport ;
71418  struct fc_seq *seq ;
71419  struct fc_exch *ep ;
71420  u32 f_ctl ;
71421  struct fc_frame *conf_frame ;
71422  struct fc_seq *csp ;
71423  struct fc_seq    *__mptr ;
71424  long tmp___7 ;
71425  unsigned long __cil_tmp10 ;
71426  unsigned long __cil_tmp11 ;
71427  int __cil_tmp12 ;
71428  unsigned long __cil_tmp13 ;
71429  unsigned long __cil_tmp14 ;
71430  u8 __cil_tmp15 ;
71431  int __cil_tmp16 ;
71432  int __cil_tmp17 ;
71433  unsigned long __cil_tmp18 ;
71434  unsigned long __cil_tmp19 ;
71435  u8 __cil_tmp20 ;
71436  int __cil_tmp21 ;
71437  unsigned long __cil_tmp22 ;
71438  unsigned long __cil_tmp23 ;
71439  u8 __cil_tmp24 ;
71440  unsigned long __cil_tmp25 ;
71441  unsigned long __cil_tmp26 ;
71442  unsigned long __cil_tmp27 ;
71443  unsigned long __cil_tmp28 ;
71444  u32 __cil_tmp29 ;
71445  size_t __cil_tmp30 ;
71446  unsigned long __cil_tmp31 ;
71447  unsigned long __cil_tmp32 ;
71448  size_t __cil_tmp33 ;
71449  unsigned long __cil_tmp34 ;
71450  unsigned long __cil_tmp35 ;
71451  u32 __cil_tmp36 ;
71452  unsigned long __cil_tmp37 ;
71453  unsigned long __cil_tmp38 ;
71454  u8 __cil_tmp39 ;
71455  int __cil_tmp40 ;
71456  int __cil_tmp41 ;
71457  unsigned long __cil_tmp42 ;
71458  unsigned long __cil_tmp43 ;
71459  unsigned long __cil_tmp44 ;
71460  unsigned long __cil_tmp45 ;
71461  unsigned long __cil_tmp46 ;
71462  unsigned long __cil_tmp47 ;
71463  u32 __cil_tmp48 ;
71464  unsigned long __cil_tmp49 ;
71465  unsigned long __cil_tmp50 ;
71466  u32 __cil_tmp51 ;
71467  u32 __cil_tmp52 ;
71468  size_t __cil_tmp53 ;
71469  unsigned long __cil_tmp54 ;
71470  unsigned long __cil_tmp55 ;
71471  size_t __cil_tmp56 ;
71472  unsigned long __cil_tmp57 ;
71473  unsigned long __cil_tmp58 ;
71474  unsigned long __cil_tmp59 ;
71475  unsigned long __cil_tmp60 ;
71476  unsigned long __cil_tmp61 ;
71477  unsigned long __cil_tmp62 ;
71478  unsigned long __cil_tmp63 ;
71479  unsigned long __cil_tmp64 ;
71480  void *__cil_tmp65 ;
71481  unsigned long __cil_tmp66 ;
71482  unsigned long __cil_tmp67 ;
71483  u8 __cil_tmp68 ;
71484  int __cil_tmp69 ;
71485  int __cil_tmp70 ;
71486  int __cil_tmp71 ;
71487  int __cil_tmp72 ;
71488  long __cil_tmp73 ;
71489  unsigned long __cil_tmp74 ;
71490  unsigned long __cil_tmp75 ;
71491  unsigned long __cil_tmp76 ;
71492  struct fc_seq *(*__cil_tmp77)(struct fc_seq * ) ;
71493  unsigned long __cil_tmp78 ;
71494  unsigned long __cil_tmp79 ;
71495  struct fc_lport *__cil_tmp80 ;
71496  size_t __cil_tmp81 ;
71497  int __cil_tmp82 ;
71498  int __cil_tmp83 ;
71499  int __cil_tmp84 ;
71500  int __cil_tmp85 ;
71501  unsigned int __cil_tmp86 ;
71502  struct fc_exch *__cil_tmp87 ;
71503  unsigned long __cil_tmp88 ;
71504  unsigned long __cil_tmp89 ;
71505  struct fc_seq *__cil_tmp90 ;
71506  unsigned int __cil_tmp91 ;
71507  char *__cil_tmp92 ;
71508  char *__cil_tmp93 ;
71509  enum fc_rctl __cil_tmp94 ;
71510  unsigned long __cil_tmp95 ;
71511  unsigned long __cil_tmp96 ;
71512  u32 __cil_tmp97 ;
71513  unsigned long __cil_tmp98 ;
71514  unsigned long __cil_tmp99 ;
71515  u32 __cil_tmp100 ;
71516  enum fc_fh_type __cil_tmp101 ;
71517  u32 __cil_tmp102 ;
71518  unsigned long __cil_tmp103 ;
71519  unsigned long __cil_tmp104 ;
71520  unsigned long __cil_tmp105 ;
71521  int (*__cil_tmp106)(struct fc_lport * , struct fc_seq * , struct fc_frame * ) ;
71522  unsigned long __cil_tmp107 ;
71523  unsigned long __cil_tmp108 ;
71524  unsigned long __cil_tmp109 ;
71525  void (*__cil_tmp110)(struct fc_seq * ) ;
71526  unsigned long __cil_tmp111 ;
71527  unsigned long __cil_tmp112 ;
71528
71529  {
71530#line 933
71531  __cil_tmp10 = (unsigned long )fsp;
71532#line 933
71533  __cil_tmp11 = __cil_tmp10 + 56;
71534#line 933
71535  lport = *((struct fc_lport **)__cil_tmp11);
71536  {
71537#line 938
71538  __cil_tmp12 = 1 << 2;
71539#line 938
71540  __cil_tmp13 = (unsigned long )fsp;
71541#line 938
71542  __cil_tmp14 = __cil_tmp13 + 64;
71543#line 938
71544  __cil_tmp15 = *((u8 *)__cil_tmp14);
71545#line 938
71546  __cil_tmp16 = (int )__cil_tmp15;
71547#line 938
71548  if (__cil_tmp16 & __cil_tmp12) {
71549#line 939
71550    return;
71551  } else {
71552
71553  }
71554  }
71555  {
71556#line 941
71557  __cil_tmp17 = 1 << 3;
71558#line 941
71559  __cil_tmp18 = (unsigned long )fsp;
71560#line 941
71561  __cil_tmp19 = __cil_tmp18 + 64;
71562#line 941
71563  __cil_tmp20 = *((u8 *)__cil_tmp19);
71564#line 941
71565  __cil_tmp21 = (int )__cil_tmp20;
71566#line 941
71567  if (__cil_tmp21 & __cil_tmp17) {
71568    {
71569#line 942
71570    __cil_tmp22 = (unsigned long )fsp;
71571#line 942
71572    __cil_tmp23 = __cil_tmp22 + 66;
71573#line 942
71574    __cil_tmp24 = *((u8 *)__cil_tmp23);
71575#line 942
71576    if (! __cil_tmp24) {
71577#line 943
71578      __cil_tmp25 = (unsigned long )fsp;
71579#line 943
71580      __cil_tmp26 = __cil_tmp25 + 66;
71581#line 943
71582      *((u8 *)__cil_tmp26) = (u8 )1;
71583    } else {
71584
71585    }
71586    }
71587  } else {
71588    {
71589#line 949
71590    __cil_tmp27 = (unsigned long )fsp;
71591#line 949
71592    __cil_tmp28 = __cil_tmp27 + 28;
71593#line 949
71594    __cil_tmp29 = *((u32 *)__cil_tmp28);
71595#line 949
71596    __cil_tmp30 = (size_t )__cil_tmp29;
71597#line 949
71598    __cil_tmp31 = (unsigned long )fsp;
71599#line 949
71600    __cil_tmp32 = __cil_tmp31 + 80;
71601#line 949
71602    __cil_tmp33 = *((size_t *)__cil_tmp32);
71603#line 949
71604    if (__cil_tmp33 < __cil_tmp30) {
71605      {
71606#line 949
71607      __cil_tmp34 = (unsigned long )fsp;
71608#line 949
71609      __cil_tmp35 = __cil_tmp34 + 68;
71610#line 949
71611      __cil_tmp36 = *((u32 *)__cil_tmp35);
71612#line 949
71613      if (! __cil_tmp36) {
71614        {
71615#line 949
71616        __cil_tmp37 = (unsigned long )fsp;
71617#line 949
71618        __cil_tmp38 = __cil_tmp37 + 67;
71619#line 949
71620        __cil_tmp39 = *((u8 *)__cil_tmp38);
71621#line 949
71622        __cil_tmp40 = (int )__cil_tmp39;
71623#line 949
71624        __cil_tmp41 = __cil_tmp40 & 8;
71625#line 949
71626        if (! __cil_tmp41) {
71627#line 952
71628          __cil_tmp42 = (unsigned long )fsp;
71629#line 952
71630          __cil_tmp43 = __cil_tmp42 + 66;
71631#line 952
71632          *((u8 *)__cil_tmp43) = (u8 )7;
71633#line 953
71634          __cil_tmp44 = (unsigned long )fsp;
71635#line 953
71636          __cil_tmp45 = __cil_tmp44 + 68;
71637#line 953
71638          *((u32 *)__cil_tmp45) = (u32 )0;
71639        } else {
71640          {
71641#line 949
71642          __cil_tmp46 = (unsigned long )fsp;
71643#line 949
71644          __cil_tmp47 = __cil_tmp46 + 76;
71645#line 949
71646          __cil_tmp48 = *((u32 *)__cil_tmp47);
71647#line 949
71648          __cil_tmp49 = (unsigned long )fsp;
71649#line 949
71650          __cil_tmp50 = __cil_tmp49 + 28;
71651#line 949
71652          __cil_tmp51 = *((u32 *)__cil_tmp50);
71653#line 949
71654          __cil_tmp52 = __cil_tmp51 - __cil_tmp48;
71655#line 949
71656          __cil_tmp53 = (size_t )__cil_tmp52;
71657#line 949
71658          __cil_tmp54 = (unsigned long )fsp;
71659#line 949
71660          __cil_tmp55 = __cil_tmp54 + 80;
71661#line 949
71662          __cil_tmp56 = *((size_t *)__cil_tmp55);
71663#line 949
71664          if (__cil_tmp56 < __cil_tmp53) {
71665#line 952
71666            __cil_tmp57 = (unsigned long )fsp;
71667#line 952
71668            __cil_tmp58 = __cil_tmp57 + 66;
71669#line 952
71670            *((u8 *)__cil_tmp58) = (u8 )7;
71671#line 953
71672            __cil_tmp59 = (unsigned long )fsp;
71673#line 953
71674            __cil_tmp60 = __cil_tmp59 + 68;
71675#line 953
71676            *((u32 *)__cil_tmp60) = (u32 )0;
71677          } else {
71678
71679          }
71680          }
71681        }
71682        }
71683      } else {
71684
71685      }
71686      }
71687    } else {
71688
71689    }
71690    }
71691  }
71692  }
71693#line 957
71694  __cil_tmp61 = (unsigned long )fsp;
71695#line 957
71696  __cil_tmp62 = __cil_tmp61 + 136;
71697#line 957
71698  seq = *((struct fc_seq **)__cil_tmp62);
71699#line 958
71700  if (seq) {
71701    {
71702#line 959
71703    __cil_tmp63 = (unsigned long )fsp;
71704#line 959
71705    __cil_tmp64 = __cil_tmp63 + 136;
71706#line 959
71707    __cil_tmp65 = (void *)0;
71708#line 959
71709    *((struct fc_seq **)__cil_tmp64) = (struct fc_seq *)__cil_tmp65;
71710#line 960
71711    __cil_tmp66 = (unsigned long )fsp;
71712#line 960
71713    __cil_tmp67 = __cil_tmp66 + 67;
71714#line 960
71715    __cil_tmp68 = *((u8 *)__cil_tmp67);
71716#line 960
71717    __cil_tmp69 = (int )__cil_tmp68;
71718#line 960
71719    __cil_tmp70 = __cil_tmp69 & 16;
71720#line 960
71721    __cil_tmp71 = ! __cil_tmp70;
71722#line 960
71723    __cil_tmp72 = ! __cil_tmp71;
71724#line 960
71725    __cil_tmp73 = (long )__cil_tmp72;
71726#line 960
71727    tmp___7 = __builtin_expect(__cil_tmp73, 0L);
71728    }
71729#line 960
71730    if (tmp___7) {
71731      {
71732#line 964
71733      __cil_tmp74 = 328 + 88;
71734#line 964
71735      __cil_tmp75 = (unsigned long )lport;
71736#line 964
71737      __cil_tmp76 = __cil_tmp75 + __cil_tmp74;
71738#line 964
71739      __cil_tmp77 = *((struct fc_seq *(**)(struct fc_seq * ))__cil_tmp76);
71740#line 964
71741      csp = (*__cil_tmp77)(seq);
71742#line 965
71743      __cil_tmp78 = (unsigned long )fsp;
71744#line 965
71745      __cil_tmp79 = __cil_tmp78 + 56;
71746#line 965
71747      __cil_tmp80 = *((struct fc_lport **)__cil_tmp79);
71748#line 965
71749      __cil_tmp81 = (size_t )0;
71750#line 965
71751      conf_frame = fc_fcp_frame_alloc(__cil_tmp80, __cil_tmp81);
71752      }
71753#line 966
71754      if (conf_frame) {
71755        {
71756#line 967
71757        __cil_tmp82 = 1 << 16;
71758#line 967
71759        f_ctl = (u32 )__cil_tmp82;
71760#line 968
71761        __cil_tmp83 = 1 << 19;
71762#line 968
71763        __cil_tmp84 = 1 << 20;
71764#line 968
71765        __cil_tmp85 = __cil_tmp84 | __cil_tmp83;
71766#line 968
71767        __cil_tmp86 = (unsigned int )__cil_tmp85;
71768#line 968
71769        f_ctl = f_ctl | __cil_tmp86;
71770#line 969
71771        __mptr = (struct fc_seq    *)seq;
71772#line 969
71773        __cil_tmp87 = (struct fc_exch *)0;
71774#line 969
71775        __cil_tmp88 = (unsigned long )__cil_tmp87;
71776#line 969
71777        __cil_tmp89 = __cil_tmp88 + 108;
71778#line 969
71779        __cil_tmp90 = (struct fc_seq *)__cil_tmp89;
71780#line 969
71781        __cil_tmp91 = (unsigned int )__cil_tmp90;
71782#line 969
71783        __cil_tmp92 = (char *)__mptr;
71784#line 969
71785        __cil_tmp93 = __cil_tmp92 - __cil_tmp91;
71786#line 969
71787        ep = (struct fc_exch *)__cil_tmp93;
71788#line 970
71789        __cil_tmp94 = (enum fc_rctl )3;
71790#line 970
71791        __cil_tmp95 = (unsigned long )ep;
71792#line 970
71793        __cil_tmp96 = __cil_tmp95 + 96;
71794#line 970
71795        __cil_tmp97 = *((u32 *)__cil_tmp96);
71796#line 970
71797        __cil_tmp98 = (unsigned long )ep;
71798#line 970
71799        __cil_tmp99 = __cil_tmp98 + 92;
71800#line 970
71801        __cil_tmp100 = *((u32 *)__cil_tmp99);
71802#line 970
71803        __cil_tmp101 = (enum fc_fh_type )8;
71804#line 970
71805        __cil_tmp102 = (u32 )0;
71806#line 970
71807        fc_fill_fc_hdr(conf_frame, __cil_tmp94, __cil_tmp97, __cil_tmp100, __cil_tmp101,
71808                       f_ctl, __cil_tmp102);
71809#line 973
71810        __cil_tmp103 = 328 + 56;
71811#line 973
71812        __cil_tmp104 = (unsigned long )lport;
71813#line 973
71814        __cil_tmp105 = __cil_tmp104 + __cil_tmp103;
71815#line 973
71816        __cil_tmp106 = *((int (**)(struct fc_lport * , struct fc_seq * , struct fc_frame * ))__cil_tmp105);
71817#line 973
71818        (*__cil_tmp106)(lport, csp, conf_frame);
71819        }
71820      } else {
71821
71822      }
71823    } else {
71824
71825    }
71826    {
71827#line 976
71828    __cil_tmp107 = 328 + 80;
71829#line 976
71830    __cil_tmp108 = (unsigned long )lport;
71831#line 976
71832    __cil_tmp109 = __cil_tmp108 + __cil_tmp107;
71833#line 976
71834    __cil_tmp110 = *((void (**)(struct fc_seq * ))__cil_tmp109);
71835#line 976
71836    (*__cil_tmp110)(seq);
71837    }
71838  } else {
71839
71840  }
71841  {
71842#line 983
71843  __cil_tmp111 = (unsigned long )fsp;
71844#line 983
71845  __cil_tmp112 = __cil_tmp111 + 32;
71846#line 983
71847  if (*((struct scsi_cmnd **)__cil_tmp112)) {
71848    {
71849#line 984
71850    fc_io_compl(fsp);
71851    }
71852  } else {
71853
71854  }
71855  }
71856#line 985
71857  return;
71858}
71859}
71860#line 992 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
71861static void fc_fcp_cleanup_cmd(struct fc_fcp_pkt *fsp , int error ) 
71862{ struct fc_lport *lport ;
71863  unsigned long __cil_tmp4 ;
71864  unsigned long __cil_tmp5 ;
71865  unsigned long __cil_tmp6 ;
71866  unsigned long __cil_tmp7 ;
71867  unsigned long __cil_tmp8 ;
71868  unsigned long __cil_tmp9 ;
71869  unsigned long __cil_tmp10 ;
71870  void (*__cil_tmp11)(struct fc_seq * ) ;
71871  unsigned long __cil_tmp12 ;
71872  unsigned long __cil_tmp13 ;
71873  struct fc_seq *__cil_tmp14 ;
71874  unsigned long __cil_tmp15 ;
71875  unsigned long __cil_tmp16 ;
71876  void *__cil_tmp17 ;
71877  unsigned long __cil_tmp18 ;
71878  unsigned long __cil_tmp19 ;
71879
71880  {
71881#line 994
71882  __cil_tmp4 = (unsigned long )fsp;
71883#line 994
71884  __cil_tmp5 = __cil_tmp4 + 56;
71885#line 994
71886  lport = *((struct fc_lport **)__cil_tmp5);
71887  {
71888#line 996
71889  __cil_tmp6 = (unsigned long )fsp;
71890#line 996
71891  __cil_tmp7 = __cil_tmp6 + 136;
71892#line 996
71893  if (*((struct fc_seq **)__cil_tmp7)) {
71894    {
71895#line 997
71896    __cil_tmp8 = 328 + 80;
71897#line 997
71898    __cil_tmp9 = (unsigned long )lport;
71899#line 997
71900    __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
71901#line 997
71902    __cil_tmp11 = *((void (**)(struct fc_seq * ))__cil_tmp10);
71903#line 997
71904    __cil_tmp12 = (unsigned long )fsp;
71905#line 997
71906    __cil_tmp13 = __cil_tmp12 + 136;
71907#line 997
71908    __cil_tmp14 = *((struct fc_seq **)__cil_tmp13);
71909#line 997
71910    (*__cil_tmp11)(__cil_tmp14);
71911#line 998
71912    __cil_tmp15 = (unsigned long )fsp;
71913#line 998
71914    __cil_tmp16 = __cil_tmp15 + 136;
71915#line 998
71916    __cil_tmp17 = (void *)0;
71917#line 998
71918    *((struct fc_seq **)__cil_tmp16) = (struct fc_seq *)__cil_tmp17;
71919    }
71920  } else {
71921
71922  }
71923  }
71924#line 1000
71925  __cil_tmp18 = (unsigned long )fsp;
71926#line 1000
71927  __cil_tmp19 = __cil_tmp18 + 66;
71928#line 1000
71929  *((u8 *)__cil_tmp19) = (u8 )error;
71930#line 1001
71931  return;
71932}
71933}
71934#line 1012 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
71935static void fc_fcp_cleanup_each_cmd(struct fc_lport *lport , unsigned int id , unsigned int lun ,
71936                                    int error ) 
71937{ struct fc_fcp_internal *si ;
71938  struct fc_fcp_pkt *fsp ;
71939  struct scsi_cmnd *sc_cmd ;
71940  unsigned long flags ;
71941  raw_spinlock_t *tmp___7 ;
71942  struct list_head    *__mptr ;
71943  struct list_head    *__mptr___0 ;
71944  unsigned int tmp___8 ;
71945  int tmp___9 ;
71946  raw_spinlock_t *tmp___10 ;
71947  unsigned long __cil_tmp19 ;
71948  unsigned long __cil_tmp20 ;
71949  void *__cil_tmp21 ;
71950  unsigned long __cil_tmp22 ;
71951  unsigned long __cil_tmp23 ;
71952  spinlock_t *__cil_tmp24 ;
71953  unsigned long __cil_tmp25 ;
71954  unsigned long __cil_tmp26 ;
71955  struct list_head *__cil_tmp27 ;
71956  struct fc_fcp_pkt *__cil_tmp28 ;
71957  unsigned long __cil_tmp29 ;
71958  unsigned long __cil_tmp30 ;
71959  struct list_head *__cil_tmp31 ;
71960  unsigned int __cil_tmp32 ;
71961  char *__cil_tmp33 ;
71962  char *__cil_tmp34 ;
71963  unsigned long __cil_tmp35 ;
71964  unsigned long __cil_tmp36 ;
71965  struct list_head *__cil_tmp37 ;
71966  unsigned long __cil_tmp38 ;
71967  unsigned long __cil_tmp39 ;
71968  unsigned long __cil_tmp40 ;
71969  struct list_head *__cil_tmp41 ;
71970  unsigned long __cil_tmp42 ;
71971  unsigned long __cil_tmp43 ;
71972  unsigned long __cil_tmp44 ;
71973  struct scsi_device *__cil_tmp45 ;
71974  struct scsi_device *__cil_tmp46 ;
71975  unsigned long __cil_tmp47 ;
71976  unsigned long __cil_tmp48 ;
71977  unsigned int __cil_tmp49 ;
71978  unsigned long __cil_tmp50 ;
71979  unsigned long __cil_tmp51 ;
71980  spinlock_t *__cil_tmp52 ;
71981  unsigned long __cil_tmp53 ;
71982  unsigned long __cil_tmp54 ;
71983  spinlock_t *__cil_tmp55 ;
71984  unsigned long __cil_tmp56 ;
71985  unsigned long __cil_tmp57 ;
71986  struct list_head *__cil_tmp58 ;
71987  struct fc_fcp_pkt *__cil_tmp59 ;
71988  unsigned long __cil_tmp60 ;
71989  unsigned long __cil_tmp61 ;
71990  struct list_head *__cil_tmp62 ;
71991  unsigned int __cil_tmp63 ;
71992  char *__cil_tmp64 ;
71993  char *__cil_tmp65 ;
71994  unsigned long __cil_tmp66 ;
71995  unsigned long __cil_tmp67 ;
71996  spinlock_t *__cil_tmp68 ;
71997
71998  {
71999#line 1015
72000  __cil_tmp19 = (unsigned long )lport;
72001#line 1015
72002  __cil_tmp20 = __cil_tmp19 + 48;
72003#line 1015
72004  __cil_tmp21 = *((void **)__cil_tmp20);
72005#line 1015
72006  si = (struct fc_fcp_internal *)__cil_tmp21;
72007  {
72008#line 1020
72009  while (1) {
72010    while_continue: /* CIL Label */ ;
72011    {
72012#line 1020
72013    while (1) {
72014      while_continue___0: /* CIL Label */ ;
72015      {
72016#line 1020
72017      __cil_tmp22 = (unsigned long )si;
72018#line 1020
72019      __cil_tmp23 = __cil_tmp22 + 8;
72020#line 1020
72021      __cil_tmp24 = (spinlock_t *)__cil_tmp23;
72022#line 1020
72023      tmp___7 = spinlock_check(__cil_tmp24);
72024#line 1020
72025      flags = _raw_spin_lock_irqsave(tmp___7);
72026      }
72027#line 1020
72028      goto while_break___0;
72029    }
72030    while_break___0: /* CIL Label */ ;
72031    }
72032#line 1020
72033    goto while_break;
72034  }
72035  while_break: /* CIL Label */ ;
72036  }
72037  restart: 
72038#line 1022
72039  __cil_tmp25 = (unsigned long )si;
72040#line 1022
72041  __cil_tmp26 = __cil_tmp25 + 32;
72042#line 1022
72043  __cil_tmp27 = *((struct list_head **)__cil_tmp26);
72044#line 1022
72045  __mptr = (struct list_head    *)__cil_tmp27;
72046#line 1022
72047  __cil_tmp28 = (struct fc_fcp_pkt *)0;
72048#line 1022
72049  __cil_tmp29 = (unsigned long )__cil_tmp28;
72050#line 1022
72051  __cil_tmp30 = __cil_tmp29 + 40;
72052#line 1022
72053  __cil_tmp31 = (struct list_head *)__cil_tmp30;
72054#line 1022
72055  __cil_tmp32 = (unsigned int )__cil_tmp31;
72056#line 1022
72057  __cil_tmp33 = (char *)__mptr;
72058#line 1022
72059  __cil_tmp34 = __cil_tmp33 - __cil_tmp32;
72060#line 1022
72061  fsp = (struct fc_fcp_pkt *)__cil_tmp34;
72062  {
72063#line 1022
72064  while (1) {
72065    while_continue___1: /* CIL Label */ ;
72066    {
72067#line 1022
72068    __cil_tmp35 = (unsigned long )si;
72069#line 1022
72070    __cil_tmp36 = __cil_tmp35 + 32;
72071#line 1022
72072    __cil_tmp37 = (struct list_head *)__cil_tmp36;
72073#line 1022
72074    __cil_tmp38 = (unsigned long )__cil_tmp37;
72075#line 1022
72076    __cil_tmp39 = (unsigned long )fsp;
72077#line 1022
72078    __cil_tmp40 = __cil_tmp39 + 40;
72079#line 1022
72080    __cil_tmp41 = (struct list_head *)__cil_tmp40;
72081#line 1022
72082    __cil_tmp42 = (unsigned long )__cil_tmp41;
72083#line 1022
72084    if (__cil_tmp42 != __cil_tmp38) {
72085
72086    } else {
72087#line 1022
72088      goto while_break___1;
72089    }
72090    }
72091#line 1023
72092    __cil_tmp43 = (unsigned long )fsp;
72093#line 1023
72094    __cil_tmp44 = __cil_tmp43 + 32;
72095#line 1023
72096    sc_cmd = *((struct scsi_cmnd **)__cil_tmp44);
72097#line 1024
72098    if (id != 4294967295U) {
72099      {
72100#line 1024
72101      __cil_tmp45 = *((struct scsi_device **)sc_cmd);
72102#line 1024
72103      tmp___8 = sdev_id(__cil_tmp45);
72104      }
72105#line 1024
72106      if (tmp___8 != id) {
72107#line 1025
72108        goto __Cont;
72109      } else {
72110
72111      }
72112    } else {
72113
72114    }
72115#line 1027
72116    if (lun != 4294967295U) {
72117      {
72118#line 1027
72119      __cil_tmp46 = *((struct scsi_device **)sc_cmd);
72120#line 1027
72121      __cil_tmp47 = (unsigned long )__cil_tmp46;
72122#line 1027
72123      __cil_tmp48 = __cil_tmp47 + 156;
72124#line 1027
72125      __cil_tmp49 = *((unsigned int *)__cil_tmp48);
72126#line 1027
72127      if (__cil_tmp49 != lun) {
72128#line 1028
72129        goto __Cont;
72130      } else {
72131
72132      }
72133      }
72134    } else {
72135
72136    }
72137    {
72138#line 1030
72139    fc_fcp_pkt_hold(fsp);
72140#line 1031
72141    __cil_tmp50 = (unsigned long )si;
72142#line 1031
72143    __cil_tmp51 = __cil_tmp50 + 8;
72144#line 1031
72145    __cil_tmp52 = (spinlock_t *)__cil_tmp51;
72146#line 1031
72147    spin_unlock_irqrestore(__cil_tmp52, flags);
72148#line 1033
72149    tmp___9 = fc_fcp_lock_pkt(fsp);
72150    }
72151#line 1033
72152    if (tmp___9) {
72153
72154    } else {
72155      {
72156#line 1034
72157      fc_fcp_cleanup_cmd(fsp, error);
72158#line 1035
72159      fc_io_compl(fsp);
72160#line 1036
72161      fc_fcp_unlock_pkt(fsp);
72162      }
72163    }
72164    {
72165#line 1039
72166    fc_fcp_pkt_release(fsp);
72167    }
72168    {
72169#line 1040
72170    while (1) {
72171      while_continue___2: /* CIL Label */ ;
72172      {
72173#line 1040
72174      while (1) {
72175        while_continue___3: /* CIL Label */ ;
72176        {
72177#line 1040
72178        __cil_tmp53 = (unsigned long )si;
72179#line 1040
72180        __cil_tmp54 = __cil_tmp53 + 8;
72181#line 1040
72182        __cil_tmp55 = (spinlock_t *)__cil_tmp54;
72183#line 1040
72184        tmp___10 = spinlock_check(__cil_tmp55);
72185#line 1040
72186        flags = _raw_spin_lock_irqsave(tmp___10);
72187        }
72188#line 1040
72189        goto while_break___3;
72190      }
72191      while_break___3: /* CIL Label */ ;
72192      }
72193#line 1040
72194      goto while_break___2;
72195    }
72196    while_break___2: /* CIL Label */ ;
72197    }
72198#line 1045
72199    goto restart;
72200    __Cont: /* CIL Label */ 
72201#line 1022
72202    __cil_tmp56 = (unsigned long )fsp;
72203#line 1022
72204    __cil_tmp57 = __cil_tmp56 + 40;
72205#line 1022
72206    __cil_tmp58 = *((struct list_head **)__cil_tmp57);
72207#line 1022
72208    __mptr___0 = (struct list_head    *)__cil_tmp58;
72209#line 1022
72210    __cil_tmp59 = (struct fc_fcp_pkt *)0;
72211#line 1022
72212    __cil_tmp60 = (unsigned long )__cil_tmp59;
72213#line 1022
72214    __cil_tmp61 = __cil_tmp60 + 40;
72215#line 1022
72216    __cil_tmp62 = (struct list_head *)__cil_tmp61;
72217#line 1022
72218    __cil_tmp63 = (unsigned int )__cil_tmp62;
72219#line 1022
72220    __cil_tmp64 = (char *)__mptr___0;
72221#line 1022
72222    __cil_tmp65 = __cil_tmp64 - __cil_tmp63;
72223#line 1022
72224    fsp = (struct fc_fcp_pkt *)__cil_tmp65;
72225  }
72226  while_break___1: /* CIL Label */ ;
72227  }
72228  {
72229#line 1047
72230  __cil_tmp66 = (unsigned long )si;
72231#line 1047
72232  __cil_tmp67 = __cil_tmp66 + 8;
72233#line 1047
72234  __cil_tmp68 = (spinlock_t *)__cil_tmp67;
72235#line 1047
72236  spin_unlock_irqrestore(__cil_tmp68, flags);
72237  }
72238#line 1048
72239  return;
72240}
72241}
72242#line 1054 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
72243static void fc_fcp_abort_io(struct fc_lport *lport ) 
72244{ 
72245
72246  {
72247  {
72248#line 1056
72249  fc_fcp_cleanup_each_cmd(lport, 4294967295U, 4294967295U, 9);
72250  }
72251#line 1057
72252  return;
72253}
72254}
72255#line 1067 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
72256static int fc_fcp_pkt_send(struct fc_lport *lport , struct fc_fcp_pkt *fsp ) 
72257{ struct fc_fcp_internal *si ;
72258  unsigned long flags ;
72259  int rc ;
72260  __u32 tmp___7 ;
72261  size_t __len ;
72262  void *__ret ;
72263  raw_spinlock_t *tmp___8 ;
72264  raw_spinlock_t *tmp___9 ;
72265  long tmp___10 ;
72266  unsigned long __cil_tmp16 ;
72267  unsigned long __cil_tmp17 ;
72268  void *__cil_tmp18 ;
72269  unsigned long __cil_tmp19 ;
72270  unsigned long __cil_tmp20 ;
72271  struct scsi_cmnd *__cil_tmp21 ;
72272  unsigned long __cil_tmp22 ;
72273  unsigned long __cil_tmp23 ;
72274  unsigned long __cil_tmp24 ;
72275  unsigned long __cil_tmp25 ;
72276  u32 __cil_tmp26 ;
72277  unsigned long __cil_tmp27 ;
72278  unsigned long __cil_tmp28 ;
72279  unsigned long __cil_tmp29 ;
72280  unsigned long __cil_tmp30 ;
72281  unsigned long __cil_tmp31 ;
72282  unsigned long __cil_tmp32 ;
72283  unsigned long __cil_tmp33 ;
72284  unsigned long __cil_tmp34 ;
72285  u32 __cil_tmp35 ;
72286  unsigned int __cil_tmp36 ;
72287  unsigned long __cil_tmp37 ;
72288  unsigned long __cil_tmp38 ;
72289  struct scsi_cmnd *__cil_tmp39 ;
72290  struct scsi_device *__cil_tmp40 ;
72291  unsigned long __cil_tmp41 ;
72292  unsigned long __cil_tmp42 ;
72293  unsigned int __cil_tmp43 ;
72294  unsigned long __cil_tmp44 ;
72295  unsigned long __cil_tmp45 ;
72296  struct scsi_lun *__cil_tmp46 ;
72297  unsigned long __cil_tmp47 ;
72298  unsigned long __cil_tmp48 ;
72299  struct scsi_cmnd *__cil_tmp49 ;
72300  unsigned long __cil_tmp50 ;
72301  unsigned long __cil_tmp51 ;
72302  unsigned short __cil_tmp52 ;
72303  unsigned long __cil_tmp53 ;
72304  unsigned long __cil_tmp54 ;
72305  unsigned long __cil_tmp55 ;
72306  unsigned long __cil_tmp56 ;
72307  unsigned long __cil_tmp57 ;
72308  __u8 *__cil_tmp58 ;
72309  void *__cil_tmp59 ;
72310  unsigned long __cil_tmp60 ;
72311  unsigned long __cil_tmp61 ;
72312  struct scsi_cmnd *__cil_tmp62 ;
72313  unsigned long __cil_tmp63 ;
72314  unsigned long __cil_tmp64 ;
72315  unsigned char *__cil_tmp65 ;
72316  void    *__cil_tmp66 ;
72317  unsigned long __cil_tmp67 ;
72318  unsigned long __cil_tmp68 ;
72319  spinlock_t *__cil_tmp69 ;
72320  unsigned long __cil_tmp70 ;
72321  unsigned long __cil_tmp71 ;
72322  struct list_head *__cil_tmp72 ;
72323  unsigned long __cil_tmp73 ;
72324  unsigned long __cil_tmp74 ;
72325  struct list_head *__cil_tmp75 ;
72326  unsigned long __cil_tmp76 ;
72327  unsigned long __cil_tmp77 ;
72328  spinlock_t *__cil_tmp78 ;
72329  unsigned long __cil_tmp79 ;
72330  unsigned long __cil_tmp80 ;
72331  unsigned long __cil_tmp81 ;
72332  int (*__cil_tmp82)(struct fc_lport * , struct fc_fcp_pkt * , void (*resp)(struct fc_seq * ,
72333                                                                            struct fc_frame * ,
72334                                                                            void * ) ) ;
72335  int __cil_tmp83 ;
72336  int __cil_tmp84 ;
72337  long __cil_tmp85 ;
72338  unsigned long __cil_tmp86 ;
72339  unsigned long __cil_tmp87 ;
72340  spinlock_t *__cil_tmp88 ;
72341  unsigned long __cil_tmp89 ;
72342  unsigned long __cil_tmp90 ;
72343  struct scsi_cmnd *__cil_tmp91 ;
72344  unsigned long __cil_tmp92 ;
72345  unsigned long __cil_tmp93 ;
72346  void *__cil_tmp94 ;
72347  unsigned long __cil_tmp95 ;
72348  unsigned long __cil_tmp96 ;
72349  struct list_head *__cil_tmp97 ;
72350  unsigned long __cil_tmp98 ;
72351  unsigned long __cil_tmp99 ;
72352  spinlock_t *__cil_tmp100 ;
72353
72354  {
72355  {
72356#line 1069
72357  __cil_tmp16 = (unsigned long )lport;
72358#line 1069
72359  __cil_tmp17 = __cil_tmp16 + 48;
72360#line 1069
72361  __cil_tmp18 = *((void **)__cil_tmp17);
72362#line 1069
72363  si = (struct fc_fcp_internal *)__cil_tmp18;
72364#line 1073
72365  __cil_tmp19 = (unsigned long )fsp;
72366#line 1073
72367  __cil_tmp20 = __cil_tmp19 + 32;
72368#line 1073
72369  __cil_tmp21 = *((struct scsi_cmnd **)__cil_tmp20);
72370#line 1073
72371  __cil_tmp22 = (unsigned long )__cil_tmp21;
72372#line 1073
72373  __cil_tmp23 = __cil_tmp22 + 152;
72374#line 1073
72375  *((char **)__cil_tmp23) = (char *)fsp;
72376#line 1074
72377  __cil_tmp24 = (unsigned long )fsp;
72378#line 1074
72379  __cil_tmp25 = __cil_tmp24 + 28;
72380#line 1074
72381  __cil_tmp26 = *((u32 *)__cil_tmp25);
72382#line 1074
72383  tmp___7 = __fswab32(__cil_tmp26);
72384#line 1074
72385  __cil_tmp27 = 88 + 28;
72386#line 1074
72387  __cil_tmp28 = (unsigned long )fsp;
72388#line 1074
72389  __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
72390#line 1074
72391  *((__be32 *)__cil_tmp29) = tmp___7;
72392#line 1075
72393  __cil_tmp30 = 88 + 11;
72394#line 1075
72395  __cil_tmp31 = (unsigned long )fsp;
72396#line 1075
72397  __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
72398#line 1075
72399  __cil_tmp33 = (unsigned long )fsp;
72400#line 1075
72401  __cil_tmp34 = __cil_tmp33 + 72;
72402#line 1075
72403  __cil_tmp35 = *((u32 *)__cil_tmp34);
72404#line 1075
72405  __cil_tmp36 = __cil_tmp35 & 4294967043U;
72406#line 1075
72407  *((__u8 *)__cil_tmp32) = (__u8 )__cil_tmp36;
72408#line 1077
72409  __cil_tmp37 = (unsigned long )fsp;
72410#line 1077
72411  __cil_tmp38 = __cil_tmp37 + 32;
72412#line 1077
72413  __cil_tmp39 = *((struct scsi_cmnd **)__cil_tmp38);
72414#line 1077
72415  __cil_tmp40 = *((struct scsi_device **)__cil_tmp39);
72416#line 1077
72417  __cil_tmp41 = (unsigned long )__cil_tmp40;
72418#line 1077
72419  __cil_tmp42 = __cil_tmp41 + 156;
72420#line 1077
72421  __cil_tmp43 = *((unsigned int *)__cil_tmp42);
72422#line 1077
72423  __cil_tmp44 = (unsigned long )fsp;
72424#line 1077
72425  __cil_tmp45 = __cil_tmp44 + 88;
72426#line 1077
72427  __cil_tmp46 = (struct scsi_lun *)__cil_tmp45;
72428#line 1077
72429  int_to_scsilun(__cil_tmp43, __cil_tmp46);
72430#line 1078
72431  __cil_tmp47 = (unsigned long )fsp;
72432#line 1078
72433  __cil_tmp48 = __cil_tmp47 + 32;
72434#line 1078
72435  __cil_tmp49 = *((struct scsi_cmnd **)__cil_tmp48);
72436#line 1078
72437  __cil_tmp50 = (unsigned long )__cil_tmp49;
72438#line 1078
72439  __cil_tmp51 = __cil_tmp50 + 74;
72440#line 1078
72441  __cil_tmp52 = *((unsigned short *)__cil_tmp51);
72442#line 1078
72443  __len = (size_t )__cil_tmp52;
72444#line 1078
72445  __cil_tmp53 = 0 * 1UL;
72446#line 1078
72447  __cil_tmp54 = 12 + __cil_tmp53;
72448#line 1078
72449  __cil_tmp55 = 88 + __cil_tmp54;
72450#line 1078
72451  __cil_tmp56 = (unsigned long )fsp;
72452#line 1078
72453  __cil_tmp57 = __cil_tmp56 + __cil_tmp55;
72454#line 1078
72455  __cil_tmp58 = (__u8 *)__cil_tmp57;
72456#line 1078
72457  __cil_tmp59 = (void *)__cil_tmp58;
72458#line 1078
72459  __cil_tmp60 = (unsigned long )fsp;
72460#line 1078
72461  __cil_tmp61 = __cil_tmp60 + 32;
72462#line 1078
72463  __cil_tmp62 = *((struct scsi_cmnd **)__cil_tmp61);
72464#line 1078
72465  __cil_tmp63 = (unsigned long )__cil_tmp62;
72466#line 1078
72467  __cil_tmp64 = __cil_tmp63 + 80;
72468#line 1078
72469  __cil_tmp65 = *((unsigned char **)__cil_tmp64);
72470#line 1078
72471  __cil_tmp66 = (void    *)__cil_tmp65;
72472#line 1078
72473  __ret = __builtin_memcpy(__cil_tmp59, __cil_tmp66, __len);
72474  }
72475  {
72476#line 1080
72477  while (1) {
72478    while_continue: /* CIL Label */ ;
72479    {
72480#line 1080
72481    while (1) {
72482      while_continue___0: /* CIL Label */ ;
72483      {
72484#line 1080
72485      __cil_tmp67 = (unsigned long )si;
72486#line 1080
72487      __cil_tmp68 = __cil_tmp67 + 8;
72488#line 1080
72489      __cil_tmp69 = (spinlock_t *)__cil_tmp68;
72490#line 1080
72491      tmp___8 = spinlock_check(__cil_tmp69);
72492#line 1080
72493      flags = _raw_spin_lock_irqsave(tmp___8);
72494      }
72495#line 1080
72496      goto while_break___0;
72497    }
72498    while_break___0: /* CIL Label */ ;
72499    }
72500#line 1080
72501    goto while_break;
72502  }
72503  while_break: /* CIL Label */ ;
72504  }
72505  {
72506#line 1081
72507  __cil_tmp70 = (unsigned long )fsp;
72508#line 1081
72509  __cil_tmp71 = __cil_tmp70 + 40;
72510#line 1081
72511  __cil_tmp72 = (struct list_head *)__cil_tmp71;
72512#line 1081
72513  __cil_tmp73 = (unsigned long )si;
72514#line 1081
72515  __cil_tmp74 = __cil_tmp73 + 32;
72516#line 1081
72517  __cil_tmp75 = (struct list_head *)__cil_tmp74;
72518#line 1081
72519  list_add_tail(__cil_tmp72, __cil_tmp75);
72520#line 1082
72521  __cil_tmp76 = (unsigned long )si;
72522#line 1082
72523  __cil_tmp77 = __cil_tmp76 + 8;
72524#line 1082
72525  __cil_tmp78 = (spinlock_t *)__cil_tmp77;
72526#line 1082
72527  spin_unlock_irqrestore(__cil_tmp78, flags);
72528#line 1083
72529  __cil_tmp79 = 328 + 216;
72530#line 1083
72531  __cil_tmp80 = (unsigned long )lport;
72532#line 1083
72533  __cil_tmp81 = __cil_tmp80 + __cil_tmp79;
72534#line 1083
72535  __cil_tmp82 = *((int (**)(struct fc_lport * , struct fc_fcp_pkt * , void (*resp)(struct fc_seq * ,
72536                                                                                   struct fc_frame * ,
72537                                                                                   void * ) ))__cil_tmp81);
72538#line 1083
72539  rc = (*__cil_tmp82)(lport, fsp, & fc_fcp_recv);
72540#line 1084
72541  __cil_tmp83 = ! rc;
72542#line 1084
72543  __cil_tmp84 = ! __cil_tmp83;
72544#line 1084
72545  __cil_tmp85 = (long )__cil_tmp84;
72546#line 1084
72547  tmp___10 = __builtin_expect(__cil_tmp85, 0L);
72548  }
72549#line 1084
72550  if (tmp___10) {
72551    {
72552#line 1085
72553    while (1) {
72554      while_continue___1: /* CIL Label */ ;
72555      {
72556#line 1085
72557      while (1) {
72558        while_continue___2: /* CIL Label */ ;
72559        {
72560#line 1085
72561        __cil_tmp86 = (unsigned long )si;
72562#line 1085
72563        __cil_tmp87 = __cil_tmp86 + 8;
72564#line 1085
72565        __cil_tmp88 = (spinlock_t *)__cil_tmp87;
72566#line 1085
72567        tmp___9 = spinlock_check(__cil_tmp88);
72568#line 1085
72569        flags = _raw_spin_lock_irqsave(tmp___9);
72570        }
72571#line 1085
72572        goto while_break___2;
72573      }
72574      while_break___2: /* CIL Label */ ;
72575      }
72576#line 1085
72577      goto while_break___1;
72578    }
72579    while_break___1: /* CIL Label */ ;
72580    }
72581    {
72582#line 1086
72583    __cil_tmp89 = (unsigned long )fsp;
72584#line 1086
72585    __cil_tmp90 = __cil_tmp89 + 32;
72586#line 1086
72587    __cil_tmp91 = *((struct scsi_cmnd **)__cil_tmp90);
72588#line 1086
72589    __cil_tmp92 = (unsigned long )__cil_tmp91;
72590#line 1086
72591    __cil_tmp93 = __cil_tmp92 + 152;
72592#line 1086
72593    __cil_tmp94 = (void *)0;
72594#line 1086
72595    *((char **)__cil_tmp93) = (char *)__cil_tmp94;
72596#line 1087
72597    __cil_tmp95 = (unsigned long )fsp;
72598#line 1087
72599    __cil_tmp96 = __cil_tmp95 + 40;
72600#line 1087
72601    __cil_tmp97 = (struct list_head *)__cil_tmp96;
72602#line 1087
72603    list_del(__cil_tmp97);
72604#line 1088
72605    __cil_tmp98 = (unsigned long )si;
72606#line 1088
72607    __cil_tmp99 = __cil_tmp98 + 8;
72608#line 1088
72609    __cil_tmp100 = (spinlock_t *)__cil_tmp99;
72610#line 1088
72611    spin_unlock_irqrestore(__cil_tmp100, flags);
72612    }
72613  } else {
72614
72615  }
72616#line 1091
72617  return (rc);
72618}
72619}
72620#line 1100
72621__inline static unsigned int get_fsp_rec_tov(struct fc_fcp_pkt *fsp )  __attribute__((__no_instrument_function__)) ;
72622#line 1100 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
72623__inline static unsigned int get_fsp_rec_tov(struct fc_fcp_pkt *fsp ) 
72624{ struct fc_rport_libfc_priv *rpriv ;
72625  unsigned long tmp___7 ;
72626  unsigned long __cil_tmp4 ;
72627  unsigned long __cil_tmp5 ;
72628  struct fc_rport *__cil_tmp6 ;
72629  unsigned long __cil_tmp7 ;
72630  unsigned long __cil_tmp8 ;
72631  void *__cil_tmp9 ;
72632  unsigned long __cil_tmp10 ;
72633  unsigned long __cil_tmp11 ;
72634  unsigned int __cil_tmp12 ;
72635  unsigned int    __cil_tmp13 ;
72636  unsigned long __cil_tmp14 ;
72637
72638  {
72639  {
72640#line 1102
72641  __cil_tmp4 = (unsigned long )fsp;
72642#line 1102
72643  __cil_tmp5 = __cil_tmp4 + 128;
72644#line 1102
72645  __cil_tmp6 = *((struct fc_rport **)__cil_tmp5);
72646#line 1102
72647  __cil_tmp7 = (unsigned long )__cil_tmp6;
72648#line 1102
72649  __cil_tmp8 = __cil_tmp7 + 56;
72650#line 1102
72651  __cil_tmp9 = *((void **)__cil_tmp8);
72652#line 1102
72653  rpriv = (struct fc_rport_libfc_priv *)__cil_tmp9;
72654#line 1104
72655  __cil_tmp10 = (unsigned long )rpriv;
72656#line 1104
72657  __cil_tmp11 = __cil_tmp10 + 16;
72658#line 1104
72659  __cil_tmp12 = *((unsigned int *)__cil_tmp11);
72660#line 1104
72661  __cil_tmp13 = (unsigned int    )__cil_tmp12;
72662#line 1104
72663  tmp___7 = msecs_to_jiffies(__cil_tmp13);
72664  }
72665  {
72666#line 1104
72667  __cil_tmp14 = tmp___7 + 250UL;
72668#line 1104
72669  return ((unsigned int )__cil_tmp14);
72670  }
72671}
72672}
72673#line 1113 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
72674static int fc_fcp_cmd_send(struct fc_lport *lport , struct fc_fcp_pkt *fsp , void (*resp)(struct fc_seq * ,
72675                                                                                          struct fc_frame *fp ,
72676                                                                                          void *arg ) ) 
72677{ struct fc_frame *fp ;
72678  struct fc_seq *seq ;
72679  struct fc_rport *rport ;
72680  struct fc_rport_libfc_priv *rpriv ;
72681  size_t len ;
72682  int rc ;
72683  int tmp___7 ;
72684  size_t __len ;
72685  void *__ret ;
72686  void *tmp___9 ;
72687  unsigned int tmp___10 ;
72688  struct fc_frame    *__cil_tmp16 ;
72689  unsigned long __cil_tmp17 ;
72690  unsigned long __cil_tmp18 ;
72691  struct fcp_cmnd *__cil_tmp19 ;
72692  void    *__cil_tmp20 ;
72693  unsigned long __cil_tmp21 ;
72694  unsigned long __cil_tmp22 ;
72695  unsigned long __cil_tmp23 ;
72696  unsigned long __cil_tmp24 ;
72697  unsigned long __cil_tmp25 ;
72698  char *__cil_tmp26 ;
72699  struct fcoe_rcv_info *__cil_tmp27 ;
72700  unsigned long __cil_tmp28 ;
72701  unsigned long __cil_tmp29 ;
72702  unsigned long __cil_tmp30 ;
72703  unsigned long __cil_tmp31 ;
72704  unsigned long __cil_tmp32 ;
72705  unsigned long __cil_tmp33 ;
72706  u32 __cil_tmp34 ;
72707  unsigned long __cil_tmp35 ;
72708  unsigned long __cil_tmp36 ;
72709  void *__cil_tmp37 ;
72710  enum fc_rctl __cil_tmp38 ;
72711  unsigned long __cil_tmp39 ;
72712  unsigned long __cil_tmp40 ;
72713  u32 __cil_tmp41 ;
72714  struct fc_lport *__cil_tmp42 ;
72715  unsigned long __cil_tmp43 ;
72716  unsigned long __cil_tmp44 ;
72717  u32 __cil_tmp45 ;
72718  enum fc_fh_type __cil_tmp46 ;
72719  int __cil_tmp47 ;
72720  int __cil_tmp48 ;
72721  int __cil_tmp49 ;
72722  int __cil_tmp50 ;
72723  int __cil_tmp51 ;
72724  u32 __cil_tmp52 ;
72725  u32 __cil_tmp53 ;
72726  unsigned long __cil_tmp54 ;
72727  unsigned long __cil_tmp55 ;
72728  unsigned long __cil_tmp56 ;
72729  struct fc_seq *(*__cil_tmp57)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
72730                                                                                     struct fc_frame * ,
72731                                                                                     void * ) ,
72732                                void (*destructor)(struct fc_seq * , void * ) , void * ,
72733                                unsigned int timer_msec ) ;
72734  void *__cil_tmp58 ;
72735  unsigned long __cil_tmp59 ;
72736  unsigned long __cil_tmp60 ;
72737  unsigned long __cil_tmp61 ;
72738  unsigned long __cil_tmp62 ;
72739  struct timer_list *__cil_tmp63 ;
72740  void *__cil_tmp64 ;
72741  char    *__cil_tmp65 ;
72742  void *__cil_tmp66 ;
72743  struct lock_class_key *__cil_tmp67 ;
72744  unsigned long __cil_tmp68 ;
72745  unsigned long __cil_tmp69 ;
72746  unsigned long __cil_tmp70 ;
72747  u16 __cil_tmp71 ;
72748  int __cil_tmp72 ;
72749  unsigned long __cil_tmp73 ;
72750
72751  {
72752  {
72753#line 1122
72754  len = 32UL;
72755#line 1123
72756  rc = 0;
72757#line 1125
72758  tmp___7 = fc_fcp_lock_pkt(fsp);
72759  }
72760#line 1125
72761  if (tmp___7) {
72762#line 1126
72763    return (0);
72764  } else {
72765
72766  }
72767  {
72768#line 1128
72769  fp = fc_fcp_frame_alloc(lport, 32UL);
72770  }
72771#line 1129
72772  if (! fp) {
72773#line 1130
72774    rc = -1;
72775#line 1131
72776    goto unlock;
72777  } else {
72778
72779  }
72780  {
72781#line 1134
72782  __len = len;
72783#line 1134
72784  __cil_tmp16 = (struct fc_frame    *)fp;
72785#line 1134
72786  tmp___9 = fc_frame_payload_get(__cil_tmp16, len);
72787#line 1134
72788  __cil_tmp17 = (unsigned long )fsp;
72789#line 1134
72790  __cil_tmp18 = __cil_tmp17 + 88;
72791#line 1134
72792  __cil_tmp19 = (struct fcp_cmnd *)__cil_tmp18;
72793#line 1134
72794  __cil_tmp20 = (void    *)__cil_tmp19;
72795#line 1134
72796  __ret = __builtin_memcpy(tmp___9, __cil_tmp20, __len);
72797#line 1135
72798  __cil_tmp21 = 0 * 1UL;
72799#line 1135
72800  __cil_tmp22 = 40 + __cil_tmp21;
72801#line 1135
72802  __cil_tmp23 = 0 + __cil_tmp22;
72803#line 1135
72804  __cil_tmp24 = (unsigned long )fp;
72805#line 1135
72806  __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
72807#line 1135
72808  __cil_tmp26 = (char *)__cil_tmp25;
72809#line 1135
72810  __cil_tmp27 = (struct fcoe_rcv_info *)__cil_tmp26;
72811#line 1135
72812  __cil_tmp28 = (unsigned long )__cil_tmp27;
72813#line 1135
72814  __cil_tmp29 = __cil_tmp28 + 16;
72815#line 1135
72816  *((struct fc_fcp_pkt **)__cil_tmp29) = fsp;
72817#line 1136
72818  __cil_tmp30 = (unsigned long )fsp;
72819#line 1136
72820  __cil_tmp31 = __cil_tmp30 + 128;
72821#line 1136
72822  rport = *((struct fc_rport **)__cil_tmp31);
72823#line 1137
72824  __cil_tmp32 = (unsigned long )fsp;
72825#line 1137
72826  __cil_tmp33 = __cil_tmp32 + 124;
72827#line 1137
72828  __cil_tmp34 = *((u32 *)rport);
72829#line 1137
72830  *((u16 *)__cil_tmp33) = (u16 )__cil_tmp34;
72831#line 1138
72832  __cil_tmp35 = (unsigned long )rport;
72833#line 1138
72834  __cil_tmp36 = __cil_tmp35 + 56;
72835#line 1138
72836  __cil_tmp37 = *((void **)__cil_tmp36);
72837#line 1138
72838  rpriv = (struct fc_rport_libfc_priv *)__cil_tmp37;
72839#line 1140
72840  __cil_tmp38 = (enum fc_rctl )6;
72841#line 1140
72842  __cil_tmp39 = (unsigned long )rport;
72843#line 1140
72844  __cil_tmp40 = __cil_tmp39 + 32;
72845#line 1140
72846  __cil_tmp41 = *((u32 *)__cil_tmp40);
72847#line 1140
72848  __cil_tmp42 = *((struct fc_lport **)rpriv);
72849#line 1140
72850  __cil_tmp43 = (unsigned long )__cil_tmp42;
72851#line 1140
72852  __cil_tmp44 = __cil_tmp43 + 788;
72853#line 1140
72854  __cil_tmp45 = *((u32 *)__cil_tmp44);
72855#line 1140
72856  __cil_tmp46 = (enum fc_fh_type )8;
72857#line 1140
72858  __cil_tmp47 = 1 << 16;
72859#line 1140
72860  __cil_tmp48 = 1 << 19;
72861#line 1140
72862  __cil_tmp49 = 1 << 21;
72863#line 1140
72864  __cil_tmp50 = __cil_tmp49 | __cil_tmp48;
72865#line 1140
72866  __cil_tmp51 = __cil_tmp50 | __cil_tmp47;
72867#line 1140
72868  __cil_tmp52 = (u32 )__cil_tmp51;
72869#line 1140
72870  __cil_tmp53 = (u32 )0;
72871#line 1140
72872  fc_fill_fc_hdr(fp, __cil_tmp38, __cil_tmp41, __cil_tmp45, __cil_tmp46, __cil_tmp52,
72873                 __cil_tmp53);
72874#line 1144
72875  __cil_tmp54 = 328 + 16;
72876#line 1144
72877  __cil_tmp55 = (unsigned long )lport;
72878#line 1144
72879  __cil_tmp56 = __cil_tmp55 + __cil_tmp54;
72880#line 1144
72881  __cil_tmp57 = *((struct fc_seq *(**)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
72882                                                                                            struct fc_frame * ,
72883                                                                                            void * ) ,
72884                                       void (*destructor)(struct fc_seq * , void * ) ,
72885                                       void * , unsigned int timer_msec ))__cil_tmp56);
72886#line 1144
72887  __cil_tmp58 = (void *)fsp;
72888#line 1144
72889  seq = (*__cil_tmp57)(lport, fp, resp, & fc_fcp_pkt_destroy, __cil_tmp58, 0U);
72890  }
72891#line 1146
72892  if (! seq) {
72893#line 1147
72894    rc = -1;
72895#line 1148
72896    goto unlock;
72897  } else {
72898
72899  }
72900  {
72901#line 1150
72902  __cil_tmp59 = (unsigned long )fsp;
72903#line 1150
72904  __cil_tmp60 = __cil_tmp59 + 136;
72905#line 1150
72906  *((struct fc_seq **)__cil_tmp60) = seq;
72907#line 1151
72908  fc_fcp_pkt_hold(fsp);
72909#line 1153
72910  __cil_tmp61 = (unsigned long )fsp;
72911#line 1153
72912  __cil_tmp62 = __cil_tmp61 + 144;
72913#line 1153
72914  __cil_tmp63 = (struct timer_list *)__cil_tmp62;
72915#line 1153
72916  __cil_tmp64 = (void *)0;
72917#line 1153
72918  __cil_tmp65 = (char    *)__cil_tmp64;
72919#line 1153
72920  __cil_tmp66 = (void *)0;
72921#line 1153
72922  __cil_tmp67 = (struct lock_class_key *)__cil_tmp66;
72923#line 1153
72924  __cil_tmp68 = (unsigned long )fsp;
72925#line 1153
72926  setup_timer_key(__cil_tmp63, __cil_tmp65, __cil_tmp67, & fc_fcp_timeout, __cil_tmp68);
72927  }
72928  {
72929#line 1154
72930  __cil_tmp69 = (unsigned long )rpriv;
72931#line 1154
72932  __cil_tmp70 = __cil_tmp69 + 12;
72933#line 1154
72934  __cil_tmp71 = *((u16 *)__cil_tmp70);
72935#line 1154
72936  __cil_tmp72 = (int )__cil_tmp71;
72937#line 1154
72938  if (__cil_tmp72 & 1) {
72939    {
72940#line 1155
72941    tmp___10 = get_fsp_rec_tov(fsp);
72942#line 1155
72943    __cil_tmp73 = (unsigned long )tmp___10;
72944#line 1155
72945    fc_fcp_timer_set(fsp, __cil_tmp73);
72946    }
72947  } else {
72948
72949  }
72950  }
72951  unlock: 
72952  {
72953#line 1158
72954  fc_fcp_unlock_pkt(fsp);
72955  }
72956#line 1159
72957  return (rc);
72958}
72959}
72960#line 1167 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
72961static void fc_fcp_error(struct fc_fcp_pkt *fsp , struct fc_frame *fp ) 
72962{ int error ;
72963  long tmp___7 ;
72964  int tmp___8 ;
72965  void    *__cil_tmp6 ;
72966  unsigned long __cil_tmp7 ;
72967  unsigned long __cil_tmp8 ;
72968  int __cil_tmp9 ;
72969  int __cil_tmp10 ;
72970  unsigned long __cil_tmp11 ;
72971  unsigned long __cil_tmp12 ;
72972  u8 __cil_tmp13 ;
72973  int __cil_tmp14 ;
72974  int __cil_tmp15 ;
72975  unsigned long __cil_tmp16 ;
72976  unsigned long __cil_tmp17 ;
72977
72978  {
72979  {
72980#line 1169
72981  __cil_tmp6 = (void    *)fp;
72982#line 1169
72983  tmp___7 = (long )PTR_ERR(__cil_tmp6);
72984#line 1169
72985  error = (int )tmp___7;
72986#line 1171
72987  tmp___8 = fc_fcp_lock_pkt(fsp);
72988  }
72989#line 1171
72990  if (tmp___8) {
72991#line 1172
72992    return;
72993  } else {
72994
72995  }
72996#line 1174
72997  if (error == -2) {
72998    {
72999#line 1175
73000    fc_fcp_retry_cmd(fsp);
73001    }
73002#line 1176
73003    goto unlock;
73004  } else {
73005
73006  }
73007  {
73008#line 1183
73009  __cil_tmp7 = (unsigned long )fsp;
73010#line 1183
73011  __cil_tmp8 = __cil_tmp7 + 64;
73012#line 1183
73013  __cil_tmp9 = 1 << 2;
73014#line 1183
73015  __cil_tmp10 = ~ __cil_tmp9;
73016#line 1183
73017  __cil_tmp11 = (unsigned long )fsp;
73018#line 1183
73019  __cil_tmp12 = __cil_tmp11 + 64;
73020#line 1183
73021  __cil_tmp13 = *((u8 *)__cil_tmp12);
73022#line 1183
73023  __cil_tmp14 = (int )__cil_tmp13;
73024#line 1183
73025  __cil_tmp15 = __cil_tmp14 & __cil_tmp10;
73026#line 1183
73027  *((u8 *)__cil_tmp8) = (u8 )__cil_tmp15;
73028#line 1184
73029  __cil_tmp16 = (unsigned long )fsp;
73030#line 1184
73031  __cil_tmp17 = __cil_tmp16 + 66;
73032#line 1184
73033  *((u8 *)__cil_tmp17) = (u8 )3;
73034#line 1185
73035  fc_fcp_complete_locked(fsp);
73036  }
73037  unlock: 
73038  {
73039#line 1187
73040  fc_fcp_unlock_pkt(fsp);
73041  }
73042#line 1188
73043  return;
73044}
73045}
73046#line 1196 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
73047static int fc_fcp_pkt_abort(struct fc_fcp_pkt *fsp ) 
73048{ int rc ;
73049  unsigned long ticks_left ;
73050  int tmp___7 ;
73051  struct fc_exch *_ep ;
73052  struct fc_seq    *__mptr ;
73053  long tmp___8 ;
73054  struct fc_exch *_ep___0 ;
73055  struct fc_seq    *__mptr___0 ;
73056  long tmp___9 ;
73057  unsigned long __cil_tmp11 ;
73058  unsigned long __cil_tmp12 ;
73059  struct completion *__cil_tmp13 ;
73060  unsigned long __cil_tmp14 ;
73061  unsigned long __cil_tmp15 ;
73062  spinlock_t *__cil_tmp16 ;
73063  unsigned long __cil_tmp17 ;
73064  unsigned long __cil_tmp18 ;
73065  struct completion *__cil_tmp19 ;
73066  spinlock_t *__cil_tmp20 ;
73067  unsigned long __cil_tmp21 ;
73068  unsigned long __cil_tmp22 ;
73069  unsigned int *__cil_tmp23 ;
73070  unsigned int __cil_tmp24 ;
73071  unsigned int __cil_tmp25 ;
73072  int __cil_tmp26 ;
73073  int __cil_tmp27 ;
73074  long __cil_tmp28 ;
73075  unsigned long __cil_tmp29 ;
73076  unsigned long __cil_tmp30 ;
73077  void *__cil_tmp31 ;
73078  unsigned long __cil_tmp32 ;
73079  unsigned long __cil_tmp33 ;
73080  struct fc_seq *__cil_tmp34 ;
73081  struct fc_exch *__cil_tmp35 ;
73082  unsigned long __cil_tmp36 ;
73083  unsigned long __cil_tmp37 ;
73084  struct fc_seq *__cil_tmp38 ;
73085  unsigned int __cil_tmp39 ;
73086  char *__cil_tmp40 ;
73087  char *__cil_tmp41 ;
73088  unsigned long __cil_tmp42 ;
73089  unsigned long __cil_tmp43 ;
73090  struct fc_lport *__cil_tmp44 ;
73091  struct Scsi_Host *__cil_tmp45 ;
73092  unsigned long __cil_tmp46 ;
73093  unsigned long __cil_tmp47 ;
73094  unsigned int __cil_tmp48 ;
73095  unsigned long __cil_tmp49 ;
73096  unsigned long __cil_tmp50 ;
73097  struct fc_rport *__cil_tmp51 ;
73098  unsigned long __cil_tmp52 ;
73099  unsigned long __cil_tmp53 ;
73100  u32 __cil_tmp54 ;
73101  unsigned long __cil_tmp55 ;
73102  unsigned long __cil_tmp56 ;
73103  u16 __cil_tmp57 ;
73104  int __cil_tmp58 ;
73105  unsigned long __cil_tmp59 ;
73106  unsigned long __cil_tmp60 ;
73107  u16 __cil_tmp61 ;
73108  int __cil_tmp62 ;
73109  unsigned long __cil_tmp63 ;
73110  unsigned long __cil_tmp64 ;
73111  struct fc_lport *__cil_tmp65 ;
73112  struct Scsi_Host *__cil_tmp66 ;
73113  unsigned long __cil_tmp67 ;
73114  unsigned long __cil_tmp68 ;
73115  unsigned int __cil_tmp69 ;
73116  unsigned long __cil_tmp70 ;
73117  unsigned long __cil_tmp71 ;
73118  struct fc_rport *__cil_tmp72 ;
73119  unsigned long __cil_tmp73 ;
73120  unsigned long __cil_tmp74 ;
73121  u32 __cil_tmp75 ;
73122  int __cil_tmp76 ;
73123  unsigned long __cil_tmp77 ;
73124  unsigned long __cil_tmp78 ;
73125  u8 __cil_tmp79 ;
73126  int __cil_tmp80 ;
73127  unsigned int *__cil_tmp81 ;
73128  unsigned int __cil_tmp82 ;
73129  unsigned int __cil_tmp83 ;
73130  int __cil_tmp84 ;
73131  int __cil_tmp85 ;
73132  long __cil_tmp86 ;
73133  unsigned long __cil_tmp87 ;
73134  unsigned long __cil_tmp88 ;
73135  void *__cil_tmp89 ;
73136  unsigned long __cil_tmp90 ;
73137  unsigned long __cil_tmp91 ;
73138  struct fc_seq *__cil_tmp92 ;
73139  struct fc_exch *__cil_tmp93 ;
73140  unsigned long __cil_tmp94 ;
73141  unsigned long __cil_tmp95 ;
73142  struct fc_seq *__cil_tmp96 ;
73143  unsigned int __cil_tmp97 ;
73144  char *__cil_tmp98 ;
73145  char *__cil_tmp99 ;
73146  unsigned long __cil_tmp100 ;
73147  unsigned long __cil_tmp101 ;
73148  struct fc_lport *__cil_tmp102 ;
73149  struct Scsi_Host *__cil_tmp103 ;
73150  unsigned long __cil_tmp104 ;
73151  unsigned long __cil_tmp105 ;
73152  unsigned int __cil_tmp106 ;
73153  unsigned long __cil_tmp107 ;
73154  unsigned long __cil_tmp108 ;
73155  struct fc_rport *__cil_tmp109 ;
73156  unsigned long __cil_tmp110 ;
73157  unsigned long __cil_tmp111 ;
73158  u32 __cil_tmp112 ;
73159  unsigned long __cil_tmp113 ;
73160  unsigned long __cil_tmp114 ;
73161  u16 __cil_tmp115 ;
73162  int __cil_tmp116 ;
73163  unsigned long __cil_tmp117 ;
73164  unsigned long __cil_tmp118 ;
73165  u16 __cil_tmp119 ;
73166  int __cil_tmp120 ;
73167  unsigned long __cil_tmp121 ;
73168  unsigned long __cil_tmp122 ;
73169  struct fc_lport *__cil_tmp123 ;
73170  struct Scsi_Host *__cil_tmp124 ;
73171  unsigned long __cil_tmp125 ;
73172  unsigned long __cil_tmp126 ;
73173  unsigned int __cil_tmp127 ;
73174  unsigned long __cil_tmp128 ;
73175  unsigned long __cil_tmp129 ;
73176  struct fc_rport *__cil_tmp130 ;
73177  unsigned long __cil_tmp131 ;
73178  unsigned long __cil_tmp132 ;
73179  u32 __cil_tmp133 ;
73180
73181  {
73182  {
73183#line 1198
73184  rc = 8195;
73185#line 1201
73186  tmp___7 = fc_fcp_send_abort(fsp);
73187  }
73188#line 1201
73189  if (tmp___7) {
73190#line 1202
73191    return (8195);
73192  } else {
73193
73194  }
73195  {
73196#line 1204
73197  __cil_tmp11 = (unsigned long )fsp;
73198#line 1204
73199  __cil_tmp12 = __cil_tmp11 + 240;
73200#line 1204
73201  __cil_tmp13 = (struct completion *)__cil_tmp12;
73202#line 1204
73203  init_completion(__cil_tmp13);
73204#line 1205
73205  __cil_tmp14 = (unsigned long )fsp;
73206#line 1205
73207  __cil_tmp15 = __cil_tmp14 + 224;
73208#line 1205
73209  *((int *)__cil_tmp15) = 1;
73210#line 1207
73211  __cil_tmp16 = (spinlock_t *)fsp;
73212#line 1207
73213  spin_unlock_bh(__cil_tmp16);
73214#line 1208
73215  __cil_tmp17 = (unsigned long )fsp;
73216#line 1208
73217  __cil_tmp18 = __cil_tmp17 + 240;
73218#line 1208
73219  __cil_tmp19 = (struct completion *)__cil_tmp18;
73220#line 1208
73221  ticks_left = wait_for_completion_timeout(__cil_tmp19, 2500UL);
73222#line 1210
73223  __cil_tmp20 = (spinlock_t *)fsp;
73224#line 1210
73225  spin_lock_bh(__cil_tmp20);
73226#line 1211
73227  __cil_tmp21 = (unsigned long )fsp;
73228#line 1211
73229  __cil_tmp22 = __cil_tmp21 + 224;
73230#line 1211
73231  *((int *)__cil_tmp22) = 0;
73232  }
73233#line 1213
73234  if (! ticks_left) {
73235    {
73236#line 1214
73237    while (1) {
73238      while_continue: /* CIL Label */ ;
73239      {
73240#line 1214
73241      __cil_tmp23 = & fc_debug_logging;
73242#line 1214
73243      __cil_tmp24 = *__cil_tmp23;
73244#line 1214
73245      __cil_tmp25 = __cil_tmp24 & 16U;
73246#line 1214
73247      __cil_tmp26 = ! __cil_tmp25;
73248#line 1214
73249      __cil_tmp27 = ! __cil_tmp26;
73250#line 1214
73251      __cil_tmp28 = (long )__cil_tmp27;
73252#line 1214
73253      tmp___8 = __builtin_expect(__cil_tmp28, 0L);
73254      }
73255#line 1214
73256      if (tmp___8) {
73257        {
73258#line 1214
73259        while (1) {
73260          while_continue___0: /* CIL Label */ ;
73261          {
73262#line 1214
73263          __cil_tmp29 = (unsigned long )fsp;
73264#line 1214
73265          __cil_tmp30 = __cil_tmp29 + 136;
73266#line 1214
73267          if (*((struct fc_seq **)__cil_tmp30)) {
73268            {
73269#line 1214
73270            __cil_tmp31 = (void *)0;
73271#line 1214
73272            _ep = (struct fc_exch *)__cil_tmp31;
73273#line 1214
73274            __cil_tmp32 = (unsigned long )fsp;
73275#line 1214
73276            __cil_tmp33 = __cil_tmp32 + 136;
73277#line 1214
73278            __cil_tmp34 = *((struct fc_seq **)__cil_tmp33);
73279#line 1214
73280            __mptr = (struct fc_seq    *)__cil_tmp34;
73281#line 1214
73282            __cil_tmp35 = (struct fc_exch *)0;
73283#line 1214
73284            __cil_tmp36 = (unsigned long )__cil_tmp35;
73285#line 1214
73286            __cil_tmp37 = __cil_tmp36 + 108;
73287#line 1214
73288            __cil_tmp38 = (struct fc_seq *)__cil_tmp37;
73289#line 1214
73290            __cil_tmp39 = (unsigned int )__cil_tmp38;
73291#line 1214
73292            __cil_tmp40 = (char *)__mptr;
73293#line 1214
73294            __cil_tmp41 = __cil_tmp40 - __cil_tmp39;
73295#line 1214
73296            _ep = (struct fc_exch *)__cil_tmp41;
73297#line 1214
73298            __cil_tmp42 = (unsigned long )fsp;
73299#line 1214
73300            __cil_tmp43 = __cil_tmp42 + 56;
73301#line 1214
73302            __cil_tmp44 = *((struct fc_lport **)__cil_tmp43);
73303#line 1214
73304            __cil_tmp45 = *((struct Scsi_Host **)__cil_tmp44);
73305#line 1214
73306            __cil_tmp46 = (unsigned long )__cil_tmp45;
73307#line 1214
73308            __cil_tmp47 = __cil_tmp46 + 308;
73309#line 1214
73310            __cil_tmp48 = *((unsigned int *)__cil_tmp47);
73311#line 1214
73312            __cil_tmp49 = (unsigned long )fsp;
73313#line 1214
73314            __cil_tmp50 = __cil_tmp49 + 128;
73315#line 1214
73316            __cil_tmp51 = *((struct fc_rport **)__cil_tmp50);
73317#line 1214
73318            __cil_tmp52 = (unsigned long )__cil_tmp51;
73319#line 1214
73320            __cil_tmp53 = __cil_tmp52 + 32;
73321#line 1214
73322            __cil_tmp54 = *((u32 *)__cil_tmp53);
73323#line 1214
73324            __cil_tmp55 = (unsigned long )_ep;
73325#line 1214
73326            __cil_tmp56 = __cil_tmp55 + 82;
73327#line 1214
73328            __cil_tmp57 = *((u16 *)__cil_tmp56);
73329#line 1214
73330            __cil_tmp58 = (int )__cil_tmp57;
73331#line 1214
73332            __cil_tmp59 = (unsigned long )_ep;
73333#line 1214
73334            __cil_tmp60 = __cil_tmp59 + 84;
73335#line 1214
73336            __cil_tmp61 = *((u16 *)__cil_tmp60);
73337#line 1214
73338            __cil_tmp62 = (int )__cil_tmp61;
73339#line 1214
73340            printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: target abort cmd  failed\n",
73341                   __cil_tmp48, __cil_tmp54, __cil_tmp58, __cil_tmp62);
73342            }
73343          } else {
73344            {
73345#line 1214
73346            __cil_tmp63 = (unsigned long )fsp;
73347#line 1214
73348            __cil_tmp64 = __cil_tmp63 + 56;
73349#line 1214
73350            __cil_tmp65 = *((struct fc_lport **)__cil_tmp64);
73351#line 1214
73352            __cil_tmp66 = *((struct Scsi_Host **)__cil_tmp65);
73353#line 1214
73354            __cil_tmp67 = (unsigned long )__cil_tmp66;
73355#line 1214
73356            __cil_tmp68 = __cil_tmp67 + 308;
73357#line 1214
73358            __cil_tmp69 = *((unsigned int *)__cil_tmp68);
73359#line 1214
73360            __cil_tmp70 = (unsigned long )fsp;
73361#line 1214
73362            __cil_tmp71 = __cil_tmp70 + 128;
73363#line 1214
73364            __cil_tmp72 = *((struct fc_rport **)__cil_tmp71);
73365#line 1214
73366            __cil_tmp73 = (unsigned long )__cil_tmp72;
73367#line 1214
73368            __cil_tmp74 = __cil_tmp73 + 32;
73369#line 1214
73370            __cil_tmp75 = *((u32 *)__cil_tmp74);
73371#line 1214
73372            printk("<6>host%u: fcp: %6.6x: target abort cmd  failed\n", __cil_tmp69,
73373                   __cil_tmp75);
73374            }
73375          }
73376          }
73377#line 1214
73378          goto while_break___0;
73379        }
73380        while_break___0: /* CIL Label */ ;
73381        }
73382      } else {
73383
73384      }
73385#line 1214
73386      goto while_break;
73387    }
73388    while_break: /* CIL Label */ ;
73389    }
73390  } else {
73391    {
73392#line 1215
73393    __cil_tmp76 = 1 << 3;
73394#line 1215
73395    __cil_tmp77 = (unsigned long )fsp;
73396#line 1215
73397    __cil_tmp78 = __cil_tmp77 + 64;
73398#line 1215
73399    __cil_tmp79 = *((u8 *)__cil_tmp78);
73400#line 1215
73401    __cil_tmp80 = (int )__cil_tmp79;
73402#line 1215
73403    if (__cil_tmp80 & __cil_tmp76) {
73404      {
73405#line 1216
73406      while (1) {
73407        while_continue___1: /* CIL Label */ ;
73408        {
73409#line 1216
73410        __cil_tmp81 = & fc_debug_logging;
73411#line 1216
73412        __cil_tmp82 = *__cil_tmp81;
73413#line 1216
73414        __cil_tmp83 = __cil_tmp82 & 16U;
73415#line 1216
73416        __cil_tmp84 = ! __cil_tmp83;
73417#line 1216
73418        __cil_tmp85 = ! __cil_tmp84;
73419#line 1216
73420        __cil_tmp86 = (long )__cil_tmp85;
73421#line 1216
73422        tmp___9 = __builtin_expect(__cil_tmp86, 0L);
73423        }
73424#line 1216
73425        if (tmp___9) {
73426          {
73427#line 1216
73428          while (1) {
73429            while_continue___2: /* CIL Label */ ;
73430            {
73431#line 1216
73432            __cil_tmp87 = (unsigned long )fsp;
73433#line 1216
73434            __cil_tmp88 = __cil_tmp87 + 136;
73435#line 1216
73436            if (*((struct fc_seq **)__cil_tmp88)) {
73437              {
73438#line 1216
73439              __cil_tmp89 = (void *)0;
73440#line 1216
73441              _ep___0 = (struct fc_exch *)__cil_tmp89;
73442#line 1216
73443              __cil_tmp90 = (unsigned long )fsp;
73444#line 1216
73445              __cil_tmp91 = __cil_tmp90 + 136;
73446#line 1216
73447              __cil_tmp92 = *((struct fc_seq **)__cil_tmp91);
73448#line 1216
73449              __mptr___0 = (struct fc_seq    *)__cil_tmp92;
73450#line 1216
73451              __cil_tmp93 = (struct fc_exch *)0;
73452#line 1216
73453              __cil_tmp94 = (unsigned long )__cil_tmp93;
73454#line 1216
73455              __cil_tmp95 = __cil_tmp94 + 108;
73456#line 1216
73457              __cil_tmp96 = (struct fc_seq *)__cil_tmp95;
73458#line 1216
73459              __cil_tmp97 = (unsigned int )__cil_tmp96;
73460#line 1216
73461              __cil_tmp98 = (char *)__mptr___0;
73462#line 1216
73463              __cil_tmp99 = __cil_tmp98 - __cil_tmp97;
73464#line 1216
73465              _ep___0 = (struct fc_exch *)__cil_tmp99;
73466#line 1216
73467              __cil_tmp100 = (unsigned long )fsp;
73468#line 1216
73469              __cil_tmp101 = __cil_tmp100 + 56;
73470#line 1216
73471              __cil_tmp102 = *((struct fc_lport **)__cil_tmp101);
73472#line 1216
73473              __cil_tmp103 = *((struct Scsi_Host **)__cil_tmp102);
73474#line 1216
73475              __cil_tmp104 = (unsigned long )__cil_tmp103;
73476#line 1216
73477              __cil_tmp105 = __cil_tmp104 + 308;
73478#line 1216
73479              __cil_tmp106 = *((unsigned int *)__cil_tmp105);
73480#line 1216
73481              __cil_tmp107 = (unsigned long )fsp;
73482#line 1216
73483              __cil_tmp108 = __cil_tmp107 + 128;
73484#line 1216
73485              __cil_tmp109 = *((struct fc_rport **)__cil_tmp108);
73486#line 1216
73487              __cil_tmp110 = (unsigned long )__cil_tmp109;
73488#line 1216
73489              __cil_tmp111 = __cil_tmp110 + 32;
73490#line 1216
73491              __cil_tmp112 = *((u32 *)__cil_tmp111);
73492#line 1216
73493              __cil_tmp113 = (unsigned long )_ep___0;
73494#line 1216
73495              __cil_tmp114 = __cil_tmp113 + 82;
73496#line 1216
73497              __cil_tmp115 = *((u16 *)__cil_tmp114);
73498#line 1216
73499              __cil_tmp116 = (int )__cil_tmp115;
73500#line 1216
73501              __cil_tmp117 = (unsigned long )_ep___0;
73502#line 1216
73503              __cil_tmp118 = __cil_tmp117 + 84;
73504#line 1216
73505              __cil_tmp119 = *((u16 *)__cil_tmp118);
73506#line 1216
73507              __cil_tmp120 = (int )__cil_tmp119;
73508#line 1216
73509              printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: target abort cmd  passed\n",
73510                     __cil_tmp106, __cil_tmp112, __cil_tmp116, __cil_tmp120);
73511              }
73512            } else {
73513              {
73514#line 1216
73515              __cil_tmp121 = (unsigned long )fsp;
73516#line 1216
73517              __cil_tmp122 = __cil_tmp121 + 56;
73518#line 1216
73519              __cil_tmp123 = *((struct fc_lport **)__cil_tmp122);
73520#line 1216
73521              __cil_tmp124 = *((struct Scsi_Host **)__cil_tmp123);
73522#line 1216
73523              __cil_tmp125 = (unsigned long )__cil_tmp124;
73524#line 1216
73525              __cil_tmp126 = __cil_tmp125 + 308;
73526#line 1216
73527              __cil_tmp127 = *((unsigned int *)__cil_tmp126);
73528#line 1216
73529              __cil_tmp128 = (unsigned long )fsp;
73530#line 1216
73531              __cil_tmp129 = __cil_tmp128 + 128;
73532#line 1216
73533              __cil_tmp130 = *((struct fc_rport **)__cil_tmp129);
73534#line 1216
73535              __cil_tmp131 = (unsigned long )__cil_tmp130;
73536#line 1216
73537              __cil_tmp132 = __cil_tmp131 + 32;
73538#line 1216
73539              __cil_tmp133 = *((u32 *)__cil_tmp132);
73540#line 1216
73541              printk("<6>host%u: fcp: %6.6x: target abort cmd  passed\n", __cil_tmp127,
73542                     __cil_tmp133);
73543              }
73544            }
73545            }
73546#line 1216
73547            goto while_break___2;
73548          }
73549          while_break___2: /* CIL Label */ ;
73550          }
73551        } else {
73552
73553        }
73554#line 1216
73555        goto while_break___1;
73556      }
73557      while_break___1: /* CIL Label */ ;
73558      }
73559      {
73560#line 1217
73561      rc = 8194;
73562#line 1218
73563      fc_fcp_complete_locked(fsp);
73564      }
73565    } else {
73566
73567    }
73568    }
73569  }
73570#line 1221
73571  return (rc);
73572}
73573}
73574#line 1228 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
73575static void fc_lun_reset_send(unsigned long data ) 
73576{ struct fc_fcp_pkt *fsp ;
73577  struct fc_lport *lport ;
73578  u32 tmp___7 ;
73579  int tmp___8 ;
73580  unsigned int tmp___9 ;
73581  int tmp___10 ;
73582  unsigned long __cil_tmp8 ;
73583  unsigned long __cil_tmp9 ;
73584  unsigned long __cil_tmp10 ;
73585  unsigned long __cil_tmp11 ;
73586  unsigned long __cil_tmp12 ;
73587  int (*__cil_tmp13)(struct fc_lport * , struct fc_fcp_pkt * , void (*resp)(struct fc_seq * ,
73588                                                                            struct fc_frame * ,
73589                                                                            void * ) ) ;
73590  unsigned long __cil_tmp14 ;
73591  unsigned long __cil_tmp15 ;
73592  unsigned long __cil_tmp16 ;
73593  unsigned long __cil_tmp17 ;
73594  unsigned long __cil_tmp18 ;
73595  unsigned long __cil_tmp19 ;
73596  u32 __cil_tmp20 ;
73597  unsigned long __cil_tmp21 ;
73598  unsigned long __cil_tmp22 ;
73599  struct timer_list *__cil_tmp23 ;
73600  void *__cil_tmp24 ;
73601  char    *__cil_tmp25 ;
73602  void *__cil_tmp26 ;
73603  struct lock_class_key *__cil_tmp27 ;
73604  unsigned long __cil_tmp28 ;
73605  unsigned long __cil_tmp29 ;
73606
73607  {
73608  {
73609#line 1230
73610  fsp = (struct fc_fcp_pkt *)data;
73611#line 1231
73612  __cil_tmp8 = (unsigned long )fsp;
73613#line 1231
73614  __cil_tmp9 = __cil_tmp8 + 56;
73615#line 1231
73616  lport = *((struct fc_lport **)__cil_tmp9);
73617#line 1233
73618  __cil_tmp10 = 328 + 216;
73619#line 1233
73620  __cil_tmp11 = (unsigned long )lport;
73621#line 1233
73622  __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
73623#line 1233
73624  __cil_tmp13 = *((int (**)(struct fc_lport * , struct fc_fcp_pkt * , void (*resp)(struct fc_seq * ,
73625                                                                                   struct fc_frame * ,
73626                                                                                   void * ) ))__cil_tmp12);
73627#line 1233
73628  tmp___10 = (*__cil_tmp13)(lport, fsp, & fc_tm_done);
73629  }
73630#line 1233
73631  if (tmp___10) {
73632#line 1234
73633    __cil_tmp14 = (unsigned long )fsp;
73634#line 1234
73635    __cil_tmp15 = __cil_tmp14 + 228;
73636#line 1234
73637    tmp___7 = *((u32 *)__cil_tmp15);
73638#line 1234
73639    __cil_tmp16 = (unsigned long )fsp;
73640#line 1234
73641    __cil_tmp17 = __cil_tmp16 + 228;
73642#line 1234
73643    __cil_tmp18 = (unsigned long )fsp;
73644#line 1234
73645    __cil_tmp19 = __cil_tmp18 + 228;
73646#line 1234
73647    __cil_tmp20 = *((u32 *)__cil_tmp19);
73648#line 1234
73649    *((u32 *)__cil_tmp17) = __cil_tmp20 + 1U;
73650#line 1234
73651    if (tmp___7 >= 3U) {
73652#line 1235
73653      return;
73654    } else {
73655
73656    }
73657    {
73658#line 1236
73659    tmp___8 = fc_fcp_lock_pkt(fsp);
73660    }
73661#line 1236
73662    if (tmp___8) {
73663#line 1237
73664      return;
73665    } else {
73666
73667    }
73668    {
73669#line 1238
73670    __cil_tmp21 = (unsigned long )fsp;
73671#line 1238
73672    __cil_tmp22 = __cil_tmp21 + 144;
73673#line 1238
73674    __cil_tmp23 = (struct timer_list *)__cil_tmp22;
73675#line 1238
73676    __cil_tmp24 = (void *)0;
73677#line 1238
73678    __cil_tmp25 = (char    *)__cil_tmp24;
73679#line 1238
73680    __cil_tmp26 = (void *)0;
73681#line 1238
73682    __cil_tmp27 = (struct lock_class_key *)__cil_tmp26;
73683#line 1238
73684    __cil_tmp28 = (unsigned long )fsp;
73685#line 1238
73686    setup_timer_key(__cil_tmp23, __cil_tmp25, __cil_tmp27, & fc_lun_reset_send, __cil_tmp28);
73687#line 1239
73688    tmp___9 = get_fsp_rec_tov(fsp);
73689#line 1239
73690    __cil_tmp29 = (unsigned long )tmp___9;
73691#line 1239
73692    fc_fcp_timer_set(fsp, __cil_tmp29);
73693#line 1240
73694    fc_fcp_unlock_pkt(fsp);
73695    }
73696  } else {
73697
73698  }
73699#line 1242
73700  return;
73701}
73702}
73703#line 1252 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
73704static int fc_lun_reset(struct fc_lport *lport , struct fc_fcp_pkt *fsp , unsigned int id ,
73705                        unsigned int lun ) 
73706{ int rc ;
73707  __u32 tmp___7 ;
73708  unsigned long tmp___8 ;
73709  long tmp___9 ;
73710  long tmp___10 ;
73711  unsigned long __cil_tmp10 ;
73712  unsigned long __cil_tmp11 ;
73713  u32 __cil_tmp12 ;
73714  unsigned long __cil_tmp13 ;
73715  unsigned long __cil_tmp14 ;
73716  unsigned long __cil_tmp15 ;
73717  unsigned long __cil_tmp16 ;
73718  unsigned long __cil_tmp17 ;
73719  unsigned long __cil_tmp18 ;
73720  unsigned long __cil_tmp19 ;
73721  unsigned long __cil_tmp20 ;
73722  struct scsi_lun *__cil_tmp21 ;
73723  unsigned long __cil_tmp22 ;
73724  unsigned long __cil_tmp23 ;
73725  unsigned long __cil_tmp24 ;
73726  unsigned long __cil_tmp25 ;
73727  struct completion *__cil_tmp26 ;
73728  unsigned long __cil_tmp27 ;
73729  unsigned long __cil_tmp28 ;
73730  unsigned long __cil_tmp29 ;
73731  struct completion *__cil_tmp30 ;
73732  spinlock_t *__cil_tmp31 ;
73733  unsigned long __cil_tmp32 ;
73734  unsigned long __cil_tmp33 ;
73735  int __cil_tmp34 ;
73736  unsigned long __cil_tmp35 ;
73737  unsigned long __cil_tmp36 ;
73738  u8 __cil_tmp37 ;
73739  int __cil_tmp38 ;
73740  int __cil_tmp39 ;
73741  spinlock_t *__cil_tmp40 ;
73742  unsigned long __cil_tmp41 ;
73743  unsigned long __cil_tmp42 ;
73744  struct timer_list *__cil_tmp43 ;
73745  spinlock_t *__cil_tmp44 ;
73746  unsigned long __cil_tmp45 ;
73747  unsigned long __cil_tmp46 ;
73748  unsigned long __cil_tmp47 ;
73749  unsigned long __cil_tmp48 ;
73750  unsigned long __cil_tmp49 ;
73751  void (*__cil_tmp50)(struct fc_seq * ) ;
73752  unsigned long __cil_tmp51 ;
73753  unsigned long __cil_tmp52 ;
73754  struct fc_seq *__cil_tmp53 ;
73755  unsigned long __cil_tmp54 ;
73756  unsigned long __cil_tmp55 ;
73757  void *__cil_tmp56 ;
73758  unsigned long __cil_tmp57 ;
73759  unsigned long __cil_tmp58 ;
73760  spinlock_t *__cil_tmp59 ;
73761  unsigned int *__cil_tmp60 ;
73762  unsigned int __cil_tmp61 ;
73763  unsigned int __cil_tmp62 ;
73764  int __cil_tmp63 ;
73765  int __cil_tmp64 ;
73766  long __cil_tmp65 ;
73767  struct Scsi_Host *__cil_tmp66 ;
73768  unsigned long __cil_tmp67 ;
73769  unsigned long __cil_tmp68 ;
73770  unsigned int __cil_tmp69 ;
73771  unsigned long __cil_tmp70 ;
73772  unsigned long __cil_tmp71 ;
73773  u8 __cil_tmp72 ;
73774  int __cil_tmp73 ;
73775  unsigned int *__cil_tmp74 ;
73776  unsigned int __cil_tmp75 ;
73777  unsigned int __cil_tmp76 ;
73778  int __cil_tmp77 ;
73779  int __cil_tmp78 ;
73780  long __cil_tmp79 ;
73781  struct Scsi_Host *__cil_tmp80 ;
73782  unsigned long __cil_tmp81 ;
73783  unsigned long __cil_tmp82 ;
73784  unsigned int __cil_tmp83 ;
73785
73786  {
73787  {
73788#line 1257
73789  __cil_tmp10 = (unsigned long )fsp;
73790#line 1257
73791  __cil_tmp11 = __cil_tmp10 + 28;
73792#line 1257
73793  __cil_tmp12 = *((u32 *)__cil_tmp11);
73794#line 1257
73795  tmp___7 = __fswab32(__cil_tmp12);
73796#line 1257
73797  __cil_tmp13 = 88 + 28;
73798#line 1257
73799  __cil_tmp14 = (unsigned long )fsp;
73800#line 1257
73801  __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
73802#line 1257
73803  *((__be32 *)__cil_tmp15) = tmp___7;
73804#line 1258
73805  __cil_tmp16 = 88 + 10;
73806#line 1258
73807  __cil_tmp17 = (unsigned long )fsp;
73808#line 1258
73809  __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
73810#line 1258
73811  *((__u8 *)__cil_tmp18) = (__u8 )16;
73812#line 1259
73813  __cil_tmp19 = (unsigned long )fsp;
73814#line 1259
73815  __cil_tmp20 = __cil_tmp19 + 88;
73816#line 1259
73817  __cil_tmp21 = (struct scsi_lun *)__cil_tmp20;
73818#line 1259
73819  int_to_scsilun(lun, __cil_tmp21);
73820#line 1261
73821  __cil_tmp22 = (unsigned long )fsp;
73822#line 1261
73823  __cil_tmp23 = __cil_tmp22 + 224;
73824#line 1261
73825  *((int *)__cil_tmp23) = 1;
73826#line 1262
73827  __cil_tmp24 = (unsigned long )fsp;
73828#line 1262
73829  __cil_tmp25 = __cil_tmp24 + 240;
73830#line 1262
73831  __cil_tmp26 = (struct completion *)__cil_tmp25;
73832#line 1262
73833  init_completion(__cil_tmp26);
73834#line 1264
73835  __cil_tmp27 = (unsigned long )fsp;
73836#line 1264
73837  fc_lun_reset_send(__cil_tmp27);
73838#line 1270
73839  __cil_tmp28 = (unsigned long )fsp;
73840#line 1270
73841  __cil_tmp29 = __cil_tmp28 + 240;
73842#line 1270
73843  __cil_tmp30 = (struct completion *)__cil_tmp29;
73844#line 1270
73845  tmp___8 = wait_for_completion_timeout(__cil_tmp30, 2500UL);
73846#line 1270
73847  rc = (int )tmp___8;
73848#line 1272
73849  __cil_tmp31 = (spinlock_t *)fsp;
73850#line 1272
73851  spin_lock_bh(__cil_tmp31);
73852#line 1273
73853  __cil_tmp32 = (unsigned long )fsp;
73854#line 1273
73855  __cil_tmp33 = __cil_tmp32 + 64;
73856#line 1273
73857  __cil_tmp34 = 1 << 5;
73858#line 1273
73859  __cil_tmp35 = (unsigned long )fsp;
73860#line 1273
73861  __cil_tmp36 = __cil_tmp35 + 64;
73862#line 1273
73863  __cil_tmp37 = *((u8 *)__cil_tmp36);
73864#line 1273
73865  __cil_tmp38 = (int )__cil_tmp37;
73866#line 1273
73867  __cil_tmp39 = __cil_tmp38 | __cil_tmp34;
73868#line 1273
73869  *((u8 *)__cil_tmp33) = (u8 )__cil_tmp39;
73870#line 1274
73871  __cil_tmp40 = (spinlock_t *)fsp;
73872#line 1274
73873  spin_unlock_bh(__cil_tmp40);
73874#line 1276
73875  __cil_tmp41 = (unsigned long )fsp;
73876#line 1276
73877  __cil_tmp42 = __cil_tmp41 + 144;
73878#line 1276
73879  __cil_tmp43 = (struct timer_list *)__cil_tmp42;
73880#line 1276
73881  del_timer_sync(__cil_tmp43);
73882#line 1278
73883  __cil_tmp44 = (spinlock_t *)fsp;
73884#line 1278
73885  spin_lock_bh(__cil_tmp44);
73886  }
73887  {
73888#line 1279
73889  __cil_tmp45 = (unsigned long )fsp;
73890#line 1279
73891  __cil_tmp46 = __cil_tmp45 + 136;
73892#line 1279
73893  if (*((struct fc_seq **)__cil_tmp46)) {
73894    {
73895#line 1280
73896    __cil_tmp47 = 328 + 80;
73897#line 1280
73898    __cil_tmp48 = (unsigned long )lport;
73899#line 1280
73900    __cil_tmp49 = __cil_tmp48 + __cil_tmp47;
73901#line 1280
73902    __cil_tmp50 = *((void (**)(struct fc_seq * ))__cil_tmp49);
73903#line 1280
73904    __cil_tmp51 = (unsigned long )fsp;
73905#line 1280
73906    __cil_tmp52 = __cil_tmp51 + 136;
73907#line 1280
73908    __cil_tmp53 = *((struct fc_seq **)__cil_tmp52);
73909#line 1280
73910    (*__cil_tmp50)(__cil_tmp53);
73911#line 1281
73912    __cil_tmp54 = (unsigned long )fsp;
73913#line 1281
73914    __cil_tmp55 = __cil_tmp54 + 136;
73915#line 1281
73916    __cil_tmp56 = (void *)0;
73917#line 1281
73918    *((struct fc_seq **)__cil_tmp55) = (struct fc_seq *)__cil_tmp56;
73919    }
73920  } else {
73921
73922  }
73923  }
73924  {
73925#line 1283
73926  __cil_tmp57 = (unsigned long )fsp;
73927#line 1283
73928  __cil_tmp58 = __cil_tmp57 + 224;
73929#line 1283
73930  *((int *)__cil_tmp58) = 0;
73931#line 1284
73932  __cil_tmp59 = (spinlock_t *)fsp;
73933#line 1284
73934  spin_unlock_bh(__cil_tmp59);
73935  }
73936#line 1286
73937  if (! rc) {
73938    {
73939#line 1287
73940    while (1) {
73941      while_continue: /* CIL Label */ ;
73942      {
73943#line 1287
73944      __cil_tmp60 = & fc_debug_logging;
73945#line 1287
73946      __cil_tmp61 = *__cil_tmp60;
73947#line 1287
73948      __cil_tmp62 = __cil_tmp61 & 128U;
73949#line 1287
73950      __cil_tmp63 = ! __cil_tmp62;
73951#line 1287
73952      __cil_tmp64 = ! __cil_tmp63;
73953#line 1287
73954      __cil_tmp65 = (long )__cil_tmp64;
73955#line 1287
73956      tmp___9 = __builtin_expect(__cil_tmp65, 0L);
73957      }
73958#line 1287
73959      if (tmp___9) {
73960        {
73961#line 1287
73962        while (1) {
73963          while_continue___0: /* CIL Label */ ;
73964          {
73965#line 1287
73966          __cil_tmp66 = *((struct Scsi_Host **)lport);
73967#line 1287
73968          __cil_tmp67 = (unsigned long )__cil_tmp66;
73969#line 1287
73970          __cil_tmp68 = __cil_tmp67 + 308;
73971#line 1287
73972          __cil_tmp69 = *((unsigned int *)__cil_tmp68);
73973#line 1287
73974          printk("<6>host%u: scsi: lun reset failed\n", __cil_tmp69);
73975          }
73976#line 1287
73977          goto while_break___0;
73978        }
73979        while_break___0: /* CIL Label */ ;
73980        }
73981      } else {
73982
73983      }
73984#line 1287
73985      goto while_break;
73986    }
73987    while_break: /* CIL Label */ ;
73988    }
73989#line 1288
73990    return (8195);
73991  } else {
73992
73993  }
73994  {
73995#line 1292
73996  __cil_tmp70 = (unsigned long )fsp;
73997#line 1292
73998  __cil_tmp71 = __cil_tmp70 + 65;
73999#line 1292
74000  __cil_tmp72 = *((u8 *)__cil_tmp71);
74001#line 1292
74002  __cil_tmp73 = (int )__cil_tmp72;
74003#line 1292
74004  if (__cil_tmp73 != 0) {
74005#line 1293
74006    return (8195);
74007  } else {
74008
74009  }
74010  }
74011  {
74012#line 1295
74013  while (1) {
74014    while_continue___1: /* CIL Label */ ;
74015    {
74016#line 1295
74017    __cil_tmp74 = & fc_debug_logging;
74018#line 1295
74019    __cil_tmp75 = *__cil_tmp74;
74020#line 1295
74021    __cil_tmp76 = __cil_tmp75 & 128U;
74022#line 1295
74023    __cil_tmp77 = ! __cil_tmp76;
74024#line 1295
74025    __cil_tmp78 = ! __cil_tmp77;
74026#line 1295
74027    __cil_tmp79 = (long )__cil_tmp78;
74028#line 1295
74029    tmp___10 = __builtin_expect(__cil_tmp79, 0L);
74030    }
74031#line 1295
74032    if (tmp___10) {
74033      {
74034#line 1295
74035      while (1) {
74036        while_continue___2: /* CIL Label */ ;
74037        {
74038#line 1295
74039        __cil_tmp80 = *((struct Scsi_Host **)lport);
74040#line 1295
74041        __cil_tmp81 = (unsigned long )__cil_tmp80;
74042#line 1295
74043        __cil_tmp82 = __cil_tmp81 + 308;
74044#line 1295
74045        __cil_tmp83 = *((unsigned int *)__cil_tmp82);
74046#line 1295
74047        printk("<6>host%u: scsi: lun reset to lun %u completed\n", __cil_tmp83, lun);
74048        }
74049#line 1295
74050        goto while_break___2;
74051      }
74052      while_break___2: /* CIL Label */ ;
74053      }
74054    } else {
74055
74056    }
74057#line 1295
74058    goto while_break___1;
74059  }
74060  while_break___1: /* CIL Label */ ;
74061  }
74062  {
74063#line 1296
74064  fc_fcp_cleanup_each_cmd(lport, id, lun, 1);
74065  }
74066#line 1297
74067  return (8194);
74068}
74069}
74070#line 1306 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
74071static void fc_tm_done(struct fc_seq *seq , struct fc_frame *fp , void *arg ) 
74072{ struct fc_fcp_pkt *fsp ;
74073  struct fc_frame_header *fh ;
74074  long tmp___7 ;
74075  int tmp___8 ;
74076  void    *__cil_tmp8 ;
74077  unsigned long __cil_tmp9 ;
74078  unsigned long __cil_tmp10 ;
74079  struct fc_seq *__cil_tmp11 ;
74080  unsigned long __cil_tmp12 ;
74081  unsigned long __cil_tmp13 ;
74082  int __cil_tmp14 ;
74083  struct fc_frame    *__cil_tmp15 ;
74084  unsigned long __cil_tmp16 ;
74085  unsigned long __cil_tmp17 ;
74086  __u8 __cil_tmp18 ;
74087  int __cil_tmp19 ;
74088  unsigned long __cil_tmp20 ;
74089  unsigned long __cil_tmp21 ;
74090  void *__cil_tmp22 ;
74091  unsigned long __cil_tmp23 ;
74092  unsigned long __cil_tmp24 ;
74093  unsigned long __cil_tmp25 ;
74094  struct fc_lport *__cil_tmp26 ;
74095  unsigned long __cil_tmp27 ;
74096  unsigned long __cil_tmp28 ;
74097  void (*__cil_tmp29)(struct fc_seq * ) ;
74098
74099  {
74100  {
74101#line 1308
74102  fsp = (struct fc_fcp_pkt *)arg;
74103#line 1311
74104  __cil_tmp8 = (void    *)fp;
74105#line 1311
74106  tmp___7 = (long )IS_ERR(__cil_tmp8);
74107  }
74108#line 1311
74109  if (tmp___7) {
74110#line 1318
74111    return;
74112  } else {
74113
74114  }
74115  {
74116#line 1321
74117  tmp___8 = fc_fcp_lock_pkt(fsp);
74118  }
74119#line 1321
74120  if (tmp___8) {
74121#line 1322
74122    goto out;
74123  } else {
74124
74125  }
74126  {
74127#line 1327
74128  __cil_tmp9 = (unsigned long )fsp;
74129#line 1327
74130  __cil_tmp10 = __cil_tmp9 + 136;
74131#line 1327
74132  __cil_tmp11 = *((struct fc_seq **)__cil_tmp10);
74133#line 1327
74134  if (! __cil_tmp11) {
74135#line 1328
74136    goto out_unlock;
74137  } else {
74138    {
74139#line 1327
74140    __cil_tmp12 = (unsigned long )fsp;
74141#line 1327
74142    __cil_tmp13 = __cil_tmp12 + 224;
74143#line 1327
74144    __cil_tmp14 = *((int *)__cil_tmp13);
74145#line 1327
74146    if (! __cil_tmp14) {
74147#line 1328
74148      goto out_unlock;
74149    } else {
74150
74151    }
74152    }
74153  }
74154  }
74155  {
74156#line 1330
74157  __cil_tmp15 = (struct fc_frame    *)fp;
74158#line 1330
74159  fh = fc_frame_header_get(__cil_tmp15);
74160  }
74161  {
74162#line 1331
74163  __cil_tmp16 = (unsigned long )fh;
74164#line 1331
74165  __cil_tmp17 = __cil_tmp16 + 8;
74166#line 1331
74167  __cil_tmp18 = *((__u8 *)__cil_tmp17);
74168#line 1331
74169  __cil_tmp19 = (int )__cil_tmp18;
74170#line 1331
74171  if (__cil_tmp19 != 0) {
74172    {
74173#line 1332
74174    fc_fcp_resp(fsp, fp);
74175    }
74176  } else {
74177
74178  }
74179  }
74180  {
74181#line 1333
74182  __cil_tmp20 = (unsigned long )fsp;
74183#line 1333
74184  __cil_tmp21 = __cil_tmp20 + 136;
74185#line 1333
74186  __cil_tmp22 = (void *)0;
74187#line 1333
74188  *((struct fc_seq **)__cil_tmp21) = (struct fc_seq *)__cil_tmp22;
74189#line 1334
74190  __cil_tmp23 = 328 + 80;
74191#line 1334
74192  __cil_tmp24 = (unsigned long )fsp;
74193#line 1334
74194  __cil_tmp25 = __cil_tmp24 + 56;
74195#line 1334
74196  __cil_tmp26 = *((struct fc_lport **)__cil_tmp25);
74197#line 1334
74198  __cil_tmp27 = (unsigned long )__cil_tmp26;
74199#line 1334
74200  __cil_tmp28 = __cil_tmp27 + __cil_tmp23;
74201#line 1334
74202  __cil_tmp29 = *((void (**)(struct fc_seq * ))__cil_tmp28);
74203#line 1334
74204  (*__cil_tmp29)(seq);
74205  }
74206  out_unlock: 
74207  {
74208#line 1336
74209  fc_fcp_unlock_pkt(fsp);
74210  }
74211  out: 
74212  {
74213#line 1338
74214  fc_frame_free(fp);
74215  }
74216#line 1339
74217  return;
74218}
74219}
74220#line 1345 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
74221static void fc_fcp_cleanup(struct fc_lport *lport ) 
74222{ 
74223
74224  {
74225  {
74226#line 1347
74227  fc_fcp_cleanup_each_cmd(lport, 4294967295U, 4294967295U, 8);
74228  }
74229#line 1348
74230  return;
74231}
74232}
74233#line 1361 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
74234static void fc_fcp_timeout(unsigned long data ) 
74235{ struct fc_fcp_pkt *fsp ;
74236  struct fc_rport *rport ;
74237  struct fc_rport_libfc_priv *rpriv ;
74238  int tmp___7 ;
74239  unsigned long __cil_tmp6 ;
74240  unsigned long __cil_tmp7 ;
74241  unsigned long __cil_tmp8 ;
74242  unsigned long __cil_tmp9 ;
74243  void *__cil_tmp10 ;
74244  unsigned long __cil_tmp11 ;
74245  unsigned long __cil_tmp12 ;
74246  unsigned long __cil_tmp13 ;
74247  unsigned long __cil_tmp14 ;
74248  unsigned long __cil_tmp15 ;
74249  int __cil_tmp16 ;
74250  unsigned long __cil_tmp17 ;
74251  unsigned long __cil_tmp18 ;
74252  u8 __cil_tmp19 ;
74253  int __cil_tmp20 ;
74254  int __cil_tmp21 ;
74255  unsigned long __cil_tmp22 ;
74256  unsigned long __cil_tmp23 ;
74257  u16 __cil_tmp24 ;
74258  int __cil_tmp25 ;
74259  int __cil_tmp26 ;
74260  unsigned long __cil_tmp27 ;
74261  unsigned long __cil_tmp28 ;
74262  u8 __cil_tmp29 ;
74263  int __cil_tmp30 ;
74264  u8 __cil_tmp31 ;
74265  unsigned long __cil_tmp32 ;
74266  unsigned long __cil_tmp33 ;
74267  int __cil_tmp34 ;
74268  int __cil_tmp35 ;
74269  unsigned long __cil_tmp36 ;
74270  unsigned long __cil_tmp37 ;
74271  u8 __cil_tmp38 ;
74272  int __cil_tmp39 ;
74273  int __cil_tmp40 ;
74274
74275  {
74276  {
74277#line 1363
74278  fsp = (struct fc_fcp_pkt *)data;
74279#line 1364
74280  __cil_tmp6 = (unsigned long )fsp;
74281#line 1364
74282  __cil_tmp7 = __cil_tmp6 + 128;
74283#line 1364
74284  rport = *((struct fc_rport **)__cil_tmp7);
74285#line 1365
74286  __cil_tmp8 = (unsigned long )rport;
74287#line 1365
74288  __cil_tmp9 = __cil_tmp8 + 56;
74289#line 1365
74290  __cil_tmp10 = *((void **)__cil_tmp9);
74291#line 1365
74292  rpriv = (struct fc_rport_libfc_priv *)__cil_tmp10;
74293#line 1367
74294  tmp___7 = fc_fcp_lock_pkt(fsp);
74295  }
74296#line 1367
74297  if (tmp___7) {
74298#line 1368
74299    return;
74300  } else {
74301
74302  }
74303  {
74304#line 1370
74305  __cil_tmp11 = 88 + 10;
74306#line 1370
74307  __cil_tmp12 = (unsigned long )fsp;
74308#line 1370
74309  __cil_tmp13 = __cil_tmp12 + __cil_tmp11;
74310#line 1370
74311  if (*((__u8 *)__cil_tmp13)) {
74312#line 1371
74313    goto unlock;
74314  } else {
74315
74316  }
74317  }
74318#line 1373
74319  __cil_tmp14 = (unsigned long )fsp;
74320#line 1373
74321  __cil_tmp15 = __cil_tmp14 + 64;
74322#line 1373
74323  __cil_tmp16 = 1 << 6;
74324#line 1373
74325  __cil_tmp17 = (unsigned long )fsp;
74326#line 1373
74327  __cil_tmp18 = __cil_tmp17 + 64;
74328#line 1373
74329  __cil_tmp19 = *((u8 *)__cil_tmp18);
74330#line 1373
74331  __cil_tmp20 = (int )__cil_tmp19;
74332#line 1373
74333  __cil_tmp21 = __cil_tmp20 | __cil_tmp16;
74334#line 1373
74335  *((u8 *)__cil_tmp15) = (u8 )__cil_tmp21;
74336  {
74337#line 1375
74338  __cil_tmp22 = (unsigned long )rpriv;
74339#line 1375
74340  __cil_tmp23 = __cil_tmp22 + 12;
74341#line 1375
74342  __cil_tmp24 = *((u16 *)__cil_tmp23);
74343#line 1375
74344  __cil_tmp25 = (int )__cil_tmp24;
74345#line 1375
74346  if (__cil_tmp25 & 1) {
74347    {
74348#line 1376
74349    fc_fcp_rec(fsp);
74350    }
74351  } else {
74352    {
74353#line 1377
74354    __cil_tmp26 = 1 << 1;
74355#line 1377
74356    __cil_tmp27 = (unsigned long )fsp;
74357#line 1377
74358    __cil_tmp28 = __cil_tmp27 + 64;
74359#line 1377
74360    __cil_tmp29 = *((u8 *)__cil_tmp28);
74361#line 1377
74362    __cil_tmp30 = (int )__cil_tmp29;
74363#line 1377
74364    if (__cil_tmp30 & __cil_tmp26) {
74365      {
74366#line 1378
74367      fc_fcp_complete_locked(fsp);
74368      }
74369    } else {
74370      {
74371#line 1380
74372      __cil_tmp31 = (u8 )11;
74373#line 1380
74374      fc_fcp_recovery(fsp, __cil_tmp31);
74375      }
74376    }
74377    }
74378  }
74379  }
74380#line 1381
74381  __cil_tmp32 = (unsigned long )fsp;
74382#line 1381
74383  __cil_tmp33 = __cil_tmp32 + 64;
74384#line 1381
74385  __cil_tmp34 = 1 << 6;
74386#line 1381
74387  __cil_tmp35 = ~ __cil_tmp34;
74388#line 1381
74389  __cil_tmp36 = (unsigned long )fsp;
74390#line 1381
74391  __cil_tmp37 = __cil_tmp36 + 64;
74392#line 1381
74393  __cil_tmp38 = *((u8 *)__cil_tmp37);
74394#line 1381
74395  __cil_tmp39 = (int )__cil_tmp38;
74396#line 1381
74397  __cil_tmp40 = __cil_tmp39 & __cil_tmp35;
74398#line 1381
74399  *((u8 *)__cil_tmp33) = (u8 )__cil_tmp40;
74400  unlock: 
74401  {
74402#line 1383
74403  fc_fcp_unlock_pkt(fsp);
74404  }
74405#line 1384
74406  return;
74407}
74408}
74409#line 1390 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
74410static void fc_fcp_rec(struct fc_fcp_pkt *fsp ) 
74411{ struct fc_lport *lport ;
74412  struct fc_frame *fp ;
74413  struct fc_rport *rport ;
74414  struct fc_rport_libfc_priv *rpriv ;
74415  struct fc_seq *tmp___7 ;
74416  unsigned int tmp___8 ;
74417  u32 tmp___9 ;
74418  unsigned long __cil_tmp9 ;
74419  unsigned long __cil_tmp10 ;
74420  unsigned long __cil_tmp11 ;
74421  unsigned long __cil_tmp12 ;
74422  unsigned long __cil_tmp13 ;
74423  unsigned long __cil_tmp14 ;
74424  void *__cil_tmp15 ;
74425  unsigned long __cil_tmp16 ;
74426  unsigned long __cil_tmp17 ;
74427  struct fc_seq *__cil_tmp18 ;
74428  unsigned long __cil_tmp19 ;
74429  unsigned long __cil_tmp20 ;
74430  unsigned long __cil_tmp21 ;
74431  unsigned long __cil_tmp22 ;
74432  unsigned long __cil_tmp23 ;
74433  unsigned long __cil_tmp24 ;
74434  enum fc_rport_state __cil_tmp25 ;
74435  unsigned int __cil_tmp26 ;
74436  unsigned long __cil_tmp27 ;
74437  unsigned long __cil_tmp28 ;
74438  unsigned long __cil_tmp29 ;
74439  unsigned long __cil_tmp30 ;
74440  unsigned long __cil_tmp31 ;
74441  unsigned long __cil_tmp32 ;
74442  unsigned long __cil_tmp33 ;
74443  unsigned long __cil_tmp34 ;
74444  unsigned long __cil_tmp35 ;
74445  char *__cil_tmp36 ;
74446  struct fcoe_rcv_info *__cil_tmp37 ;
74447  unsigned long __cil_tmp38 ;
74448  unsigned long __cil_tmp39 ;
74449  unsigned long __cil_tmp40 ;
74450  unsigned long __cil_tmp41 ;
74451  enum fc_rctl __cil_tmp42 ;
74452  unsigned long __cil_tmp43 ;
74453  unsigned long __cil_tmp44 ;
74454  u32 __cil_tmp45 ;
74455  struct fc_lport *__cil_tmp46 ;
74456  unsigned long __cil_tmp47 ;
74457  unsigned long __cil_tmp48 ;
74458  u32 __cil_tmp49 ;
74459  enum fc_fh_type __cil_tmp50 ;
74460  int __cil_tmp51 ;
74461  int __cil_tmp52 ;
74462  int __cil_tmp53 ;
74463  int __cil_tmp54 ;
74464  int __cil_tmp55 ;
74465  u32 __cil_tmp56 ;
74466  u32 __cil_tmp57 ;
74467  unsigned long __cil_tmp58 ;
74468  unsigned long __cil_tmp59 ;
74469  unsigned long __cil_tmp60 ;
74470  struct fc_seq *(*__cil_tmp61)(struct fc_lport * , u32 did , struct fc_frame * ,
74471                                unsigned int op , void (*resp)(struct fc_seq * , struct fc_frame * ,
74472                                                               void *arg ) , void *arg ,
74473                                u32 timer_msec ) ;
74474  unsigned long __cil_tmp62 ;
74475  unsigned long __cil_tmp63 ;
74476  u32 __cil_tmp64 ;
74477  void *__cil_tmp65 ;
74478  unsigned long __cil_tmp66 ;
74479  unsigned long __cil_tmp67 ;
74480  unsigned int __cil_tmp68 ;
74481  unsigned int __cil_tmp69 ;
74482  unsigned long __cil_tmp70 ;
74483  unsigned long __cil_tmp71 ;
74484  unsigned long __cil_tmp72 ;
74485  unsigned long __cil_tmp73 ;
74486  unsigned long __cil_tmp74 ;
74487  unsigned long __cil_tmp75 ;
74488  u32 __cil_tmp76 ;
74489  unsigned long __cil_tmp77 ;
74490  u8 __cil_tmp78 ;
74491
74492  {
74493#line 1397
74494  __cil_tmp9 = (unsigned long )fsp;
74495#line 1397
74496  __cil_tmp10 = __cil_tmp9 + 56;
74497#line 1397
74498  lport = *((struct fc_lport **)__cil_tmp10);
74499#line 1398
74500  __cil_tmp11 = (unsigned long )fsp;
74501#line 1398
74502  __cil_tmp12 = __cil_tmp11 + 128;
74503#line 1398
74504  rport = *((struct fc_rport **)__cil_tmp12);
74505#line 1399
74506  __cil_tmp13 = (unsigned long )rport;
74507#line 1399
74508  __cil_tmp14 = __cil_tmp13 + 56;
74509#line 1399
74510  __cil_tmp15 = *((void **)__cil_tmp14);
74511#line 1399
74512  rpriv = (struct fc_rport_libfc_priv *)__cil_tmp15;
74513  {
74514#line 1400
74515  __cil_tmp16 = (unsigned long )fsp;
74516#line 1400
74517  __cil_tmp17 = __cil_tmp16 + 136;
74518#line 1400
74519  __cil_tmp18 = *((struct fc_seq **)__cil_tmp17);
74520#line 1400
74521  if (! __cil_tmp18) {
74522    {
74523#line 1401
74524    __cil_tmp19 = (unsigned long )fsp;
74525#line 1401
74526    __cil_tmp20 = __cil_tmp19 + 66;
74527#line 1401
74528    *((u8 *)__cil_tmp20) = (u8 )9;
74529#line 1402
74530    __cil_tmp21 = (unsigned long )fsp;
74531#line 1402
74532    __cil_tmp22 = __cil_tmp21 + 68;
74533#line 1402
74534    *((u32 *)__cil_tmp22) = (u32 )0;
74535#line 1403
74536    fc_fcp_complete_locked(fsp);
74537    }
74538#line 1404
74539    return;
74540  } else {
74541    {
74542#line 1400
74543    __cil_tmp23 = (unsigned long )rpriv;
74544#line 1400
74545    __cil_tmp24 = __cil_tmp23 + 8;
74546#line 1400
74547    __cil_tmp25 = *((enum fc_rport_state *)__cil_tmp24);
74548#line 1400
74549    __cil_tmp26 = (unsigned int )__cil_tmp25;
74550#line 1400
74551    if (__cil_tmp26 != 6U) {
74552      {
74553#line 1401
74554      __cil_tmp27 = (unsigned long )fsp;
74555#line 1401
74556      __cil_tmp28 = __cil_tmp27 + 66;
74557#line 1401
74558      *((u8 *)__cil_tmp28) = (u8 )9;
74559#line 1402
74560      __cil_tmp29 = (unsigned long )fsp;
74561#line 1402
74562      __cil_tmp30 = __cil_tmp29 + 68;
74563#line 1402
74564      *((u32 *)__cil_tmp30) = (u32 )0;
74565#line 1403
74566      fc_fcp_complete_locked(fsp);
74567      }
74568#line 1404
74569      return;
74570    } else {
74571
74572    }
74573    }
74574  }
74575  }
74576  {
74577#line 1407
74578  fp = fc_fcp_frame_alloc(lport, 12UL);
74579  }
74580#line 1408
74581  if (! fp) {
74582#line 1409
74583    goto retry;
74584  } else {
74585
74586  }
74587  {
74588#line 1411
74589  __cil_tmp31 = 0 * 1UL;
74590#line 1411
74591  __cil_tmp32 = 40 + __cil_tmp31;
74592#line 1411
74593  __cil_tmp33 = 0 + __cil_tmp32;
74594#line 1411
74595  __cil_tmp34 = (unsigned long )fp;
74596#line 1411
74597  __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
74598#line 1411
74599  __cil_tmp36 = (char *)__cil_tmp35;
74600#line 1411
74601  __cil_tmp37 = (struct fcoe_rcv_info *)__cil_tmp36;
74602#line 1411
74603  __cil_tmp38 = (unsigned long )__cil_tmp37;
74604#line 1411
74605  __cil_tmp39 = __cil_tmp38 + 8;
74606#line 1411
74607  __cil_tmp40 = (unsigned long )fsp;
74608#line 1411
74609  __cil_tmp41 = __cil_tmp40 + 136;
74610#line 1411
74611  *((struct fc_seq **)__cil_tmp39) = *((struct fc_seq **)__cil_tmp41);
74612#line 1412
74613  __cil_tmp42 = (enum fc_rctl )34;
74614#line 1412
74615  __cil_tmp43 = (unsigned long )rport;
74616#line 1412
74617  __cil_tmp44 = __cil_tmp43 + 32;
74618#line 1412
74619  __cil_tmp45 = *((u32 *)__cil_tmp44);
74620#line 1412
74621  __cil_tmp46 = *((struct fc_lport **)rpriv);
74622#line 1412
74623  __cil_tmp47 = (unsigned long )__cil_tmp46;
74624#line 1412
74625  __cil_tmp48 = __cil_tmp47 + 788;
74626#line 1412
74627  __cil_tmp49 = *((u32 *)__cil_tmp48);
74628#line 1412
74629  __cil_tmp50 = (enum fc_fh_type )1;
74630#line 1412
74631  __cil_tmp51 = 1 << 16;
74632#line 1412
74633  __cil_tmp52 = 1 << 19;
74634#line 1412
74635  __cil_tmp53 = 1 << 21;
74636#line 1412
74637  __cil_tmp54 = __cil_tmp53 | __cil_tmp52;
74638#line 1412
74639  __cil_tmp55 = __cil_tmp54 | __cil_tmp51;
74640#line 1412
74641  __cil_tmp56 = (u32 )__cil_tmp55;
74642#line 1412
74643  __cil_tmp57 = (u32 )0;
74644#line 1412
74645  fc_fill_fc_hdr(fp, __cil_tmp42, __cil_tmp45, __cil_tmp49, __cil_tmp50, __cil_tmp56,
74646                 __cil_tmp57);
74647#line 1415
74648  __cil_tmp58 = 328 + 8;
74649#line 1415
74650  __cil_tmp59 = (unsigned long )lport;
74651#line 1415
74652  __cil_tmp60 = __cil_tmp59 + __cil_tmp58;
74653#line 1415
74654  __cil_tmp61 = *((struct fc_seq *(**)(struct fc_lport * , u32 did , struct fc_frame * ,
74655                                       unsigned int op , void (*resp)(struct fc_seq * ,
74656                                                                      struct fc_frame * ,
74657                                                                      void *arg ) ,
74658                                       void *arg , u32 timer_msec ))__cil_tmp60);
74659#line 1415
74660  __cil_tmp62 = (unsigned long )rport;
74661#line 1415
74662  __cil_tmp63 = __cil_tmp62 + 32;
74663#line 1415
74664  __cil_tmp64 = *((u32 *)__cil_tmp63);
74665#line 1415
74666  __cil_tmp65 = (void *)fsp;
74667#line 1415
74668  __cil_tmp66 = (unsigned long )lport;
74669#line 1415
74670  __cil_tmp67 = __cil_tmp66 + 816;
74671#line 1415
74672  __cil_tmp68 = *((unsigned int *)__cil_tmp67);
74673#line 1415
74674  __cil_tmp69 = 2U * __cil_tmp68;
74675#line 1415
74676  tmp___7 = (*__cil_tmp61)(lport, __cil_tmp64, fp, 19U, & fc_fcp_rec_resp, __cil_tmp65,
74677                           __cil_tmp69);
74678  }
74679#line 1415
74680  if (tmp___7) {
74681    {
74682#line 1418
74683    fc_fcp_pkt_hold(fsp);
74684    }
74685#line 1419
74686    return;
74687  } else {
74688
74689  }
74690  retry: 
74691#line 1422
74692  __cil_tmp70 = (unsigned long )fsp;
74693#line 1422
74694  __cil_tmp71 = __cil_tmp70 + 228;
74695#line 1422
74696  tmp___9 = *((u32 *)__cil_tmp71);
74697#line 1422
74698  __cil_tmp72 = (unsigned long )fsp;
74699#line 1422
74700  __cil_tmp73 = __cil_tmp72 + 228;
74701#line 1422
74702  __cil_tmp74 = (unsigned long )fsp;
74703#line 1422
74704  __cil_tmp75 = __cil_tmp74 + 228;
74705#line 1422
74706  __cil_tmp76 = *((u32 *)__cil_tmp75);
74707#line 1422
74708  *((u32 *)__cil_tmp73) = __cil_tmp76 + 1U;
74709#line 1422
74710  if (tmp___9 < 3U) {
74711    {
74712#line 1423
74713    tmp___8 = get_fsp_rec_tov(fsp);
74714#line 1423
74715    __cil_tmp77 = (unsigned long )tmp___8;
74716#line 1423
74717    fc_fcp_timer_set(fsp, __cil_tmp77);
74718    }
74719  } else {
74720    {
74721#line 1425
74722    __cil_tmp78 = (u8 )11;
74723#line 1425
74724    fc_fcp_recovery(fsp, __cil_tmp78);
74725    }
74726  }
74727#line 1426
74728  return;
74729}
74730}
74731#line 1439 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
74732static void fc_fcp_rec_resp(struct fc_seq *seq , struct fc_frame *fp , void *arg ) 
74733{ struct fc_fcp_pkt *fsp ;
74734  struct fc_els_rec_acc *recp ;
74735  struct fc_els_ls_rjt *rjt ;
74736  u32 e_stat ;
74737  u8 opcode ;
74738  u32 offset ;
74739  enum dma_data_direction data_dir ;
74740  enum fc_rctl r_ctl ;
74741  struct fc_rport_libfc_priv *rpriv ;
74742  long tmp___7 ;
74743  int tmp___8 ;
74744  void *tmp___9 ;
74745  struct fc_exch *_ep ;
74746  struct fc_seq    *__mptr ;
74747  long tmp___10 ;
74748  struct fc_exch *_ep___0 ;
74749  struct fc_seq    *__mptr___0 ;
74750  long tmp___11 ;
74751  void *tmp___12 ;
74752  __u32 tmp___13 ;
74753  __u32 tmp___14 ;
74754  unsigned int tmp___15 ;
74755  void    *__cil_tmp26 ;
74756  unsigned long __cil_tmp27 ;
74757  unsigned long __cil_tmp28 ;
74758  struct fc_frame    *__cil_tmp29 ;
74759  int __cil_tmp30 ;
74760  struct fc_frame    *__cil_tmp31 ;
74761  unsigned long __cil_tmp32 ;
74762  unsigned long __cil_tmp33 ;
74763  __u8 __cil_tmp34 ;
74764  unsigned int *__cil_tmp35 ;
74765  unsigned int __cil_tmp36 ;
74766  unsigned int __cil_tmp37 ;
74767  int __cil_tmp38 ;
74768  int __cil_tmp39 ;
74769  long __cil_tmp40 ;
74770  unsigned long __cil_tmp41 ;
74771  unsigned long __cil_tmp42 ;
74772  void *__cil_tmp43 ;
74773  unsigned long __cil_tmp44 ;
74774  unsigned long __cil_tmp45 ;
74775  struct fc_seq *__cil_tmp46 ;
74776  struct fc_exch *__cil_tmp47 ;
74777  unsigned long __cil_tmp48 ;
74778  unsigned long __cil_tmp49 ;
74779  struct fc_seq *__cil_tmp50 ;
74780  unsigned int __cil_tmp51 ;
74781  char *__cil_tmp52 ;
74782  char *__cil_tmp53 ;
74783  unsigned long __cil_tmp54 ;
74784  unsigned long __cil_tmp55 ;
74785  struct fc_lport *__cil_tmp56 ;
74786  struct Scsi_Host *__cil_tmp57 ;
74787  unsigned long __cil_tmp58 ;
74788  unsigned long __cil_tmp59 ;
74789  unsigned int __cil_tmp60 ;
74790  unsigned long __cil_tmp61 ;
74791  unsigned long __cil_tmp62 ;
74792  struct fc_rport *__cil_tmp63 ;
74793  unsigned long __cil_tmp64 ;
74794  unsigned long __cil_tmp65 ;
74795  u32 __cil_tmp66 ;
74796  unsigned long __cil_tmp67 ;
74797  unsigned long __cil_tmp68 ;
74798  u16 __cil_tmp69 ;
74799  int __cil_tmp70 ;
74800  unsigned long __cil_tmp71 ;
74801  unsigned long __cil_tmp72 ;
74802  u16 __cil_tmp73 ;
74803  int __cil_tmp74 ;
74804  unsigned long __cil_tmp75 ;
74805  unsigned long __cil_tmp76 ;
74806  struct fc_rport *__cil_tmp77 ;
74807  unsigned long __cil_tmp78 ;
74808  unsigned long __cil_tmp79 ;
74809  u32 __cil_tmp80 ;
74810  unsigned long __cil_tmp81 ;
74811  unsigned long __cil_tmp82 ;
74812  __u8 __cil_tmp83 ;
74813  int __cil_tmp84 ;
74814  unsigned long __cil_tmp85 ;
74815  unsigned long __cil_tmp86 ;
74816  __u8 __cil_tmp87 ;
74817  int __cil_tmp88 ;
74818  unsigned long __cil_tmp89 ;
74819  unsigned long __cil_tmp90 ;
74820  struct fc_lport *__cil_tmp91 ;
74821  struct Scsi_Host *__cil_tmp92 ;
74822  unsigned long __cil_tmp93 ;
74823  unsigned long __cil_tmp94 ;
74824  unsigned int __cil_tmp95 ;
74825  unsigned long __cil_tmp96 ;
74826  unsigned long __cil_tmp97 ;
74827  struct fc_rport *__cil_tmp98 ;
74828  unsigned long __cil_tmp99 ;
74829  unsigned long __cil_tmp100 ;
74830  u32 __cil_tmp101 ;
74831  unsigned long __cil_tmp102 ;
74832  unsigned long __cil_tmp103 ;
74833  struct fc_rport *__cil_tmp104 ;
74834  unsigned long __cil_tmp105 ;
74835  unsigned long __cil_tmp106 ;
74836  u32 __cil_tmp107 ;
74837  unsigned long __cil_tmp108 ;
74838  unsigned long __cil_tmp109 ;
74839  __u8 __cil_tmp110 ;
74840  int __cil_tmp111 ;
74841  unsigned long __cil_tmp112 ;
74842  unsigned long __cil_tmp113 ;
74843  __u8 __cil_tmp114 ;
74844  int __cil_tmp115 ;
74845  unsigned int *__cil_tmp116 ;
74846  unsigned int __cil_tmp117 ;
74847  unsigned int __cil_tmp118 ;
74848  int __cil_tmp119 ;
74849  int __cil_tmp120 ;
74850  long __cil_tmp121 ;
74851  unsigned long __cil_tmp122 ;
74852  unsigned long __cil_tmp123 ;
74853  void *__cil_tmp124 ;
74854  unsigned long __cil_tmp125 ;
74855  unsigned long __cil_tmp126 ;
74856  struct fc_seq *__cil_tmp127 ;
74857  struct fc_exch *__cil_tmp128 ;
74858  unsigned long __cil_tmp129 ;
74859  unsigned long __cil_tmp130 ;
74860  struct fc_seq *__cil_tmp131 ;
74861  unsigned int __cil_tmp132 ;
74862  char *__cil_tmp133 ;
74863  char *__cil_tmp134 ;
74864  unsigned long __cil_tmp135 ;
74865  unsigned long __cil_tmp136 ;
74866  struct fc_lport *__cil_tmp137 ;
74867  struct Scsi_Host *__cil_tmp138 ;
74868  unsigned long __cil_tmp139 ;
74869  unsigned long __cil_tmp140 ;
74870  unsigned int __cil_tmp141 ;
74871  unsigned long __cil_tmp142 ;
74872  unsigned long __cil_tmp143 ;
74873  struct fc_rport *__cil_tmp144 ;
74874  unsigned long __cil_tmp145 ;
74875  unsigned long __cil_tmp146 ;
74876  u32 __cil_tmp147 ;
74877  unsigned long __cil_tmp148 ;
74878  unsigned long __cil_tmp149 ;
74879  u16 __cil_tmp150 ;
74880  int __cil_tmp151 ;
74881  unsigned long __cil_tmp152 ;
74882  unsigned long __cil_tmp153 ;
74883  u16 __cil_tmp154 ;
74884  int __cil_tmp155 ;
74885  unsigned long __cil_tmp156 ;
74886  unsigned long __cil_tmp157 ;
74887  struct fc_lport *__cil_tmp158 ;
74888  struct Scsi_Host *__cil_tmp159 ;
74889  unsigned long __cil_tmp160 ;
74890  unsigned long __cil_tmp161 ;
74891  unsigned int __cil_tmp162 ;
74892  unsigned long __cil_tmp163 ;
74893  unsigned long __cil_tmp164 ;
74894  struct fc_rport *__cil_tmp165 ;
74895  unsigned long __cil_tmp166 ;
74896  unsigned long __cil_tmp167 ;
74897  u32 __cil_tmp168 ;
74898  unsigned long __cil_tmp169 ;
74899  unsigned long __cil_tmp170 ;
74900  struct fc_rport *__cil_tmp171 ;
74901  unsigned long __cil_tmp172 ;
74902  unsigned long __cil_tmp173 ;
74903  void *__cil_tmp174 ;
74904  unsigned long __cil_tmp175 ;
74905  unsigned long __cil_tmp176 ;
74906  unsigned long __cil_tmp177 ;
74907  unsigned long __cil_tmp178 ;
74908  u16 __cil_tmp179 ;
74909  int __cil_tmp180 ;
74910  int __cil_tmp181 ;
74911  unsigned long __cil_tmp182 ;
74912  unsigned long __cil_tmp183 ;
74913  __u8 __cil_tmp184 ;
74914  int __cil_tmp185 ;
74915  unsigned long __cil_tmp186 ;
74916  unsigned long __cil_tmp187 ;
74917  size_t __cil_tmp188 ;
74918  u8 __cil_tmp189 ;
74919  int __cil_tmp190 ;
74920  int __cil_tmp191 ;
74921  unsigned long __cil_tmp192 ;
74922  unsigned long __cil_tmp193 ;
74923  u8 __cil_tmp194 ;
74924  int __cil_tmp195 ;
74925  unsigned long __cil_tmp196 ;
74926  unsigned long __cil_tmp197 ;
74927  struct scsi_cmnd *__cil_tmp198 ;
74928  unsigned long __cil_tmp199 ;
74929  unsigned long __cil_tmp200 ;
74930  struct fc_frame    *__cil_tmp201 ;
74931  unsigned long __cil_tmp202 ;
74932  unsigned long __cil_tmp203 ;
74933  __be32 __cil_tmp204 ;
74934  unsigned long __cil_tmp205 ;
74935  unsigned long __cil_tmp206 ;
74936  __be32 __cil_tmp207 ;
74937  int __cil_tmp208 ;
74938  unsigned int __cil_tmp209 ;
74939  unsigned int __cil_tmp210 ;
74940  unsigned long __cil_tmp211 ;
74941  unsigned long __cil_tmp212 ;
74942  u32 __cil_tmp213 ;
74943  unsigned long __cil_tmp214 ;
74944  unsigned long __cil_tmp215 ;
74945  int __cil_tmp216 ;
74946  unsigned int __cil_tmp217 ;
74947  unsigned long __cil_tmp218 ;
74948  unsigned int __cil_tmp219 ;
74949  unsigned long __cil_tmp220 ;
74950  unsigned long __cil_tmp221 ;
74951  u32 __cil_tmp222 ;
74952  unsigned long __cil_tmp223 ;
74953  unsigned long __cil_tmp224 ;
74954  u32 __cil_tmp225 ;
74955  unsigned long __cil_tmp226 ;
74956  unsigned long __cil_tmp227 ;
74957  u32 __cil_tmp228 ;
74958  unsigned long __cil_tmp229 ;
74959  unsigned long __cil_tmp230 ;
74960
74961  {
74962  {
74963#line 1441
74964  fsp = (struct fc_fcp_pkt *)arg;
74965#line 1451
74966  __cil_tmp26 = (void    *)fp;
74967#line 1451
74968  tmp___7 = (long )IS_ERR(__cil_tmp26);
74969  }
74970#line 1451
74971  if (tmp___7) {
74972    {
74973#line 1452
74974    fc_fcp_rec_error(fsp, fp);
74975    }
74976#line 1453
74977    return;
74978  } else {
74979
74980  }
74981  {
74982#line 1456
74983  tmp___8 = fc_fcp_lock_pkt(fsp);
74984  }
74985#line 1456
74986  if (tmp___8) {
74987#line 1457
74988    goto out;
74989  } else {
74990
74991  }
74992  {
74993#line 1459
74994  __cil_tmp27 = (unsigned long )fsp;
74995#line 1459
74996  __cil_tmp28 = __cil_tmp27 + 228;
74997#line 1459
74998  *((u32 *)__cil_tmp28) = (u32 )0;
74999#line 1460
75000  __cil_tmp29 = (struct fc_frame    *)fp;
75001#line 1460
75002  opcode = fc_frame_payload_op(__cil_tmp29);
75003  }
75004  {
75005#line 1461
75006  __cil_tmp30 = (int )opcode;
75007#line 1461
75008  if (__cil_tmp30 == 1) {
75009    {
75010#line 1462
75011    __cil_tmp31 = (struct fc_frame    *)fp;
75012#line 1462
75013    tmp___9 = fc_frame_payload_get(__cil_tmp31, 8UL);
75014#line 1462
75015    rjt = (struct fc_els_ls_rjt *)tmp___9;
75016    }
75017    {
75018#line 1463
75019    __cil_tmp32 = (unsigned long )rjt;
75020#line 1463
75021    __cil_tmp33 = __cil_tmp32 + 5;
75022#line 1463
75023    __cil_tmp34 = *((__u8 *)__cil_tmp33);
75024#line 1470
75025    if ((int )__cil_tmp34 == 11) {
75026#line 1470
75027      goto case_11;
75028    } else
75029#line 1480
75030    if ((int )__cil_tmp34 == 3) {
75031#line 1480
75032      goto case_3;
75033    } else
75034#line 1481
75035    if ((int )__cil_tmp34 == 9) {
75036#line 1481
75037      goto case_3;
75038    } else {
75039      {
75040#line 1464
75041      goto switch_default;
75042#line 1463
75043      if (0) {
75044        switch_default: /* CIL Label */ 
75045        {
75046#line 1465
75047        while (1) {
75048          while_continue: /* CIL Label */ ;
75049          {
75050#line 1465
75051          __cil_tmp35 = & fc_debug_logging;
75052#line 1465
75053          __cil_tmp36 = *__cil_tmp35;
75054#line 1465
75055          __cil_tmp37 = __cil_tmp36 & 16U;
75056#line 1465
75057          __cil_tmp38 = ! __cil_tmp37;
75058#line 1465
75059          __cil_tmp39 = ! __cil_tmp38;
75060#line 1465
75061          __cil_tmp40 = (long )__cil_tmp39;
75062#line 1465
75063          tmp___10 = __builtin_expect(__cil_tmp40, 0L);
75064          }
75065#line 1465
75066          if (tmp___10) {
75067            {
75068#line 1465
75069            while (1) {
75070              while_continue___0: /* CIL Label */ ;
75071              {
75072#line 1465
75073              __cil_tmp41 = (unsigned long )fsp;
75074#line 1465
75075              __cil_tmp42 = __cil_tmp41 + 136;
75076#line 1465
75077              if (*((struct fc_seq **)__cil_tmp42)) {
75078                {
75079#line 1465
75080                __cil_tmp43 = (void *)0;
75081#line 1465
75082                _ep = (struct fc_exch *)__cil_tmp43;
75083#line 1465
75084                __cil_tmp44 = (unsigned long )fsp;
75085#line 1465
75086                __cil_tmp45 = __cil_tmp44 + 136;
75087#line 1465
75088                __cil_tmp46 = *((struct fc_seq **)__cil_tmp45);
75089#line 1465
75090                __mptr = (struct fc_seq    *)__cil_tmp46;
75091#line 1465
75092                __cil_tmp47 = (struct fc_exch *)0;
75093#line 1465
75094                __cil_tmp48 = (unsigned long )__cil_tmp47;
75095#line 1465
75096                __cil_tmp49 = __cil_tmp48 + 108;
75097#line 1465
75098                __cil_tmp50 = (struct fc_seq *)__cil_tmp49;
75099#line 1465
75100                __cil_tmp51 = (unsigned int )__cil_tmp50;
75101#line 1465
75102                __cil_tmp52 = (char *)__mptr;
75103#line 1465
75104                __cil_tmp53 = __cil_tmp52 - __cil_tmp51;
75105#line 1465
75106                _ep = (struct fc_exch *)__cil_tmp53;
75107#line 1465
75108                __cil_tmp54 = (unsigned long )fsp;
75109#line 1465
75110                __cil_tmp55 = __cil_tmp54 + 56;
75111#line 1465
75112                __cil_tmp56 = *((struct fc_lport **)__cil_tmp55);
75113#line 1465
75114                __cil_tmp57 = *((struct Scsi_Host **)__cil_tmp56);
75115#line 1465
75116                __cil_tmp58 = (unsigned long )__cil_tmp57;
75117#line 1465
75118                __cil_tmp59 = __cil_tmp58 + 308;
75119#line 1465
75120                __cil_tmp60 = *((unsigned int *)__cil_tmp59);
75121#line 1465
75122                __cil_tmp61 = (unsigned long )fsp;
75123#line 1465
75124                __cil_tmp62 = __cil_tmp61 + 128;
75125#line 1465
75126                __cil_tmp63 = *((struct fc_rport **)__cil_tmp62);
75127#line 1465
75128                __cil_tmp64 = (unsigned long )__cil_tmp63;
75129#line 1465
75130                __cil_tmp65 = __cil_tmp64 + 32;
75131#line 1465
75132                __cil_tmp66 = *((u32 *)__cil_tmp65);
75133#line 1465
75134                __cil_tmp67 = (unsigned long )_ep;
75135#line 1465
75136                __cil_tmp68 = __cil_tmp67 + 82;
75137#line 1465
75138                __cil_tmp69 = *((u16 *)__cil_tmp68);
75139#line 1465
75140                __cil_tmp70 = (int )__cil_tmp69;
75141#line 1465
75142                __cil_tmp71 = (unsigned long )_ep;
75143#line 1465
75144                __cil_tmp72 = __cil_tmp71 + 84;
75145#line 1465
75146                __cil_tmp73 = *((u16 *)__cil_tmp72);
75147#line 1465
75148                __cil_tmp74 = (int )__cil_tmp73;
75149#line 1465
75150                __cil_tmp75 = (unsigned long )fsp;
75151#line 1465
75152                __cil_tmp76 = __cil_tmp75 + 128;
75153#line 1465
75154                __cil_tmp77 = *((struct fc_rport **)__cil_tmp76);
75155#line 1465
75156                __cil_tmp78 = (unsigned long )__cil_tmp77;
75157#line 1465
75158                __cil_tmp79 = __cil_tmp78 + 32;
75159#line 1465
75160                __cil_tmp80 = *((u32 *)__cil_tmp79);
75161#line 1465
75162                __cil_tmp81 = (unsigned long )rjt;
75163#line 1465
75164                __cil_tmp82 = __cil_tmp81 + 5;
75165#line 1465
75166                __cil_tmp83 = *((__u8 *)__cil_tmp82);
75167#line 1465
75168                __cil_tmp84 = (int )__cil_tmp83;
75169#line 1465
75170                __cil_tmp85 = (unsigned long )rjt;
75171#line 1465
75172                __cil_tmp86 = __cil_tmp85 + 6;
75173#line 1465
75174                __cil_tmp87 = *((__u8 *)__cil_tmp86);
75175#line 1465
75176                __cil_tmp88 = (int )__cil_tmp87;
75177#line 1465
75178                printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: device %x unexpected REC reject reason %d expl %d\n",
75179                       __cil_tmp60, __cil_tmp66, __cil_tmp70, __cil_tmp74, __cil_tmp80,
75180                       __cil_tmp84, __cil_tmp88);
75181                }
75182              } else {
75183                {
75184#line 1465
75185                __cil_tmp89 = (unsigned long )fsp;
75186#line 1465
75187                __cil_tmp90 = __cil_tmp89 + 56;
75188#line 1465
75189                __cil_tmp91 = *((struct fc_lport **)__cil_tmp90);
75190#line 1465
75191                __cil_tmp92 = *((struct Scsi_Host **)__cil_tmp91);
75192#line 1465
75193                __cil_tmp93 = (unsigned long )__cil_tmp92;
75194#line 1465
75195                __cil_tmp94 = __cil_tmp93 + 308;
75196#line 1465
75197                __cil_tmp95 = *((unsigned int *)__cil_tmp94);
75198#line 1465
75199                __cil_tmp96 = (unsigned long )fsp;
75200#line 1465
75201                __cil_tmp97 = __cil_tmp96 + 128;
75202#line 1465
75203                __cil_tmp98 = *((struct fc_rport **)__cil_tmp97);
75204#line 1465
75205                __cil_tmp99 = (unsigned long )__cil_tmp98;
75206#line 1465
75207                __cil_tmp100 = __cil_tmp99 + 32;
75208#line 1465
75209                __cil_tmp101 = *((u32 *)__cil_tmp100);
75210#line 1465
75211                __cil_tmp102 = (unsigned long )fsp;
75212#line 1465
75213                __cil_tmp103 = __cil_tmp102 + 128;
75214#line 1465
75215                __cil_tmp104 = *((struct fc_rport **)__cil_tmp103);
75216#line 1465
75217                __cil_tmp105 = (unsigned long )__cil_tmp104;
75218#line 1465
75219                __cil_tmp106 = __cil_tmp105 + 32;
75220#line 1465
75221                __cil_tmp107 = *((u32 *)__cil_tmp106);
75222#line 1465
75223                __cil_tmp108 = (unsigned long )rjt;
75224#line 1465
75225                __cil_tmp109 = __cil_tmp108 + 5;
75226#line 1465
75227                __cil_tmp110 = *((__u8 *)__cil_tmp109);
75228#line 1465
75229                __cil_tmp111 = (int )__cil_tmp110;
75230#line 1465
75231                __cil_tmp112 = (unsigned long )rjt;
75232#line 1465
75233                __cil_tmp113 = __cil_tmp112 + 6;
75234#line 1465
75235                __cil_tmp114 = *((__u8 *)__cil_tmp113);
75236#line 1465
75237                __cil_tmp115 = (int )__cil_tmp114;
75238#line 1465
75239                printk("<6>host%u: fcp: %6.6x: device %x unexpected REC reject reason %d expl %d\n",
75240                       __cil_tmp95, __cil_tmp101, __cil_tmp107, __cil_tmp111, __cil_tmp115);
75241                }
75242              }
75243              }
75244#line 1465
75245              goto while_break___0;
75246            }
75247            while_break___0: /* CIL Label */ ;
75248            }
75249          } else {
75250
75251          }
75252#line 1465
75253          goto while_break;
75254        }
75255        while_break: /* CIL Label */ ;
75256        }
75257        case_11: /* CIL Label */ 
75258        {
75259#line 1471
75260        while (1) {
75261          while_continue___1: /* CIL Label */ ;
75262          {
75263#line 1471
75264          __cil_tmp116 = & fc_debug_logging;
75265#line 1471
75266          __cil_tmp117 = *__cil_tmp116;
75267#line 1471
75268          __cil_tmp118 = __cil_tmp117 & 16U;
75269#line 1471
75270          __cil_tmp119 = ! __cil_tmp118;
75271#line 1471
75272          __cil_tmp120 = ! __cil_tmp119;
75273#line 1471
75274          __cil_tmp121 = (long )__cil_tmp120;
75275#line 1471
75276          tmp___11 = __builtin_expect(__cil_tmp121, 0L);
75277          }
75278#line 1471
75279          if (tmp___11) {
75280            {
75281#line 1471
75282            while (1) {
75283              while_continue___2: /* CIL Label */ ;
75284              {
75285#line 1471
75286              __cil_tmp122 = (unsigned long )fsp;
75287#line 1471
75288              __cil_tmp123 = __cil_tmp122 + 136;
75289#line 1471
75290              if (*((struct fc_seq **)__cil_tmp123)) {
75291                {
75292#line 1471
75293                __cil_tmp124 = (void *)0;
75294#line 1471
75295                _ep___0 = (struct fc_exch *)__cil_tmp124;
75296#line 1471
75297                __cil_tmp125 = (unsigned long )fsp;
75298#line 1471
75299                __cil_tmp126 = __cil_tmp125 + 136;
75300#line 1471
75301                __cil_tmp127 = *((struct fc_seq **)__cil_tmp126);
75302#line 1471
75303                __mptr___0 = (struct fc_seq    *)__cil_tmp127;
75304#line 1471
75305                __cil_tmp128 = (struct fc_exch *)0;
75306#line 1471
75307                __cil_tmp129 = (unsigned long )__cil_tmp128;
75308#line 1471
75309                __cil_tmp130 = __cil_tmp129 + 108;
75310#line 1471
75311                __cil_tmp131 = (struct fc_seq *)__cil_tmp130;
75312#line 1471
75313                __cil_tmp132 = (unsigned int )__cil_tmp131;
75314#line 1471
75315                __cil_tmp133 = (char *)__mptr___0;
75316#line 1471
75317                __cil_tmp134 = __cil_tmp133 - __cil_tmp132;
75318#line 1471
75319                _ep___0 = (struct fc_exch *)__cil_tmp134;
75320#line 1471
75321                __cil_tmp135 = (unsigned long )fsp;
75322#line 1471
75323                __cil_tmp136 = __cil_tmp135 + 56;
75324#line 1471
75325                __cil_tmp137 = *((struct fc_lport **)__cil_tmp136);
75326#line 1471
75327                __cil_tmp138 = *((struct Scsi_Host **)__cil_tmp137);
75328#line 1471
75329                __cil_tmp139 = (unsigned long )__cil_tmp138;
75330#line 1471
75331                __cil_tmp140 = __cil_tmp139 + 308;
75332#line 1471
75333                __cil_tmp141 = *((unsigned int *)__cil_tmp140);
75334#line 1471
75335                __cil_tmp142 = (unsigned long )fsp;
75336#line 1471
75337                __cil_tmp143 = __cil_tmp142 + 128;
75338#line 1471
75339                __cil_tmp144 = *((struct fc_rport **)__cil_tmp143);
75340#line 1471
75341                __cil_tmp145 = (unsigned long )__cil_tmp144;
75342#line 1471
75343                __cil_tmp146 = __cil_tmp145 + 32;
75344#line 1471
75345                __cil_tmp147 = *((u32 *)__cil_tmp146);
75346#line 1471
75347                __cil_tmp148 = (unsigned long )_ep___0;
75348#line 1471
75349                __cil_tmp149 = __cil_tmp148 + 82;
75350#line 1471
75351                __cil_tmp150 = *((u16 *)__cil_tmp149);
75352#line 1471
75353                __cil_tmp151 = (int )__cil_tmp150;
75354#line 1471
75355                __cil_tmp152 = (unsigned long )_ep___0;
75356#line 1471
75357                __cil_tmp153 = __cil_tmp152 + 84;
75358#line 1471
75359                __cil_tmp154 = *((u16 *)__cil_tmp153);
75360#line 1471
75361                __cil_tmp155 = (int )__cil_tmp154;
75362#line 1471
75363                printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: device does not support REC\n",
75364                       __cil_tmp141, __cil_tmp147, __cil_tmp151, __cil_tmp155);
75365                }
75366              } else {
75367                {
75368#line 1471
75369                __cil_tmp156 = (unsigned long )fsp;
75370#line 1471
75371                __cil_tmp157 = __cil_tmp156 + 56;
75372#line 1471
75373                __cil_tmp158 = *((struct fc_lport **)__cil_tmp157);
75374#line 1471
75375                __cil_tmp159 = *((struct Scsi_Host **)__cil_tmp158);
75376#line 1471
75377                __cil_tmp160 = (unsigned long )__cil_tmp159;
75378#line 1471
75379                __cil_tmp161 = __cil_tmp160 + 308;
75380#line 1471
75381                __cil_tmp162 = *((unsigned int *)__cil_tmp161);
75382#line 1471
75383                __cil_tmp163 = (unsigned long )fsp;
75384#line 1471
75385                __cil_tmp164 = __cil_tmp163 + 128;
75386#line 1471
75387                __cil_tmp165 = *((struct fc_rport **)__cil_tmp164);
75388#line 1471
75389                __cil_tmp166 = (unsigned long )__cil_tmp165;
75390#line 1471
75391                __cil_tmp167 = __cil_tmp166 + 32;
75392#line 1471
75393                __cil_tmp168 = *((u32 *)__cil_tmp167);
75394#line 1471
75395                printk("<6>host%u: fcp: %6.6x: device does not support REC\n", __cil_tmp162,
75396                       __cil_tmp168);
75397                }
75398              }
75399              }
75400#line 1471
75401              goto while_break___2;
75402            }
75403            while_break___2: /* CIL Label */ ;
75404            }
75405          } else {
75406
75407          }
75408#line 1471
75409          goto while_break___1;
75410        }
75411        while_break___1: /* CIL Label */ ;
75412        }
75413#line 1472
75414        __cil_tmp169 = (unsigned long )fsp;
75415#line 1472
75416        __cil_tmp170 = __cil_tmp169 + 128;
75417#line 1472
75418        __cil_tmp171 = *((struct fc_rport **)__cil_tmp170);
75419#line 1472
75420        __cil_tmp172 = (unsigned long )__cil_tmp171;
75421#line 1472
75422        __cil_tmp173 = __cil_tmp172 + 56;
75423#line 1472
75424        __cil_tmp174 = *((void **)__cil_tmp173);
75425#line 1472
75426        rpriv = (struct fc_rport_libfc_priv *)__cil_tmp174;
75427#line 1478
75428        __cil_tmp175 = (unsigned long )rpriv;
75429#line 1478
75430        __cil_tmp176 = __cil_tmp175 + 12;
75431#line 1478
75432        __cil_tmp177 = (unsigned long )rpriv;
75433#line 1478
75434        __cil_tmp178 = __cil_tmp177 + 12;
75435#line 1478
75436        __cil_tmp179 = *((u16 *)__cil_tmp178);
75437#line 1478
75438        __cil_tmp180 = (int )__cil_tmp179;
75439#line 1478
75440        __cil_tmp181 = __cil_tmp180 & -2;
75441#line 1478
75442        *((u16 *)__cil_tmp176) = (u16 )__cil_tmp181;
75443#line 1479
75444        goto switch_break;
75445        case_3: /* CIL Label */ 
75446        case_9: /* CIL Label */ 
75447        {
75448#line 1488
75449        __cil_tmp182 = (unsigned long )rjt;
75450#line 1488
75451        __cil_tmp183 = __cil_tmp182 + 6;
75452#line 1488
75453        __cil_tmp184 = *((__u8 *)__cil_tmp183);
75454#line 1488
75455        __cil_tmp185 = (int )__cil_tmp184;
75456#line 1488
75457        if (__cil_tmp185 == 23) {
75458          {
75459#line 1488
75460          __cil_tmp186 = (unsigned long )fsp;
75461#line 1488
75462          __cil_tmp187 = __cil_tmp186 + 80;
75463#line 1488
75464          __cil_tmp188 = *((size_t *)__cil_tmp187);
75465#line 1488
75466          if (__cil_tmp188 == 0UL) {
75467            {
75468#line 1490
75469            fc_fcp_retry_cmd(fsp);
75470            }
75471#line 1491
75472            goto switch_break;
75473          } else {
75474
75475          }
75476          }
75477        } else {
75478
75479        }
75480        }
75481        {
75482#line 1493
75483        __cil_tmp189 = (u8 )8;
75484#line 1493
75485        fc_fcp_recovery(fsp, __cil_tmp189);
75486        }
75487#line 1494
75488        goto switch_break;
75489      } else {
75490        switch_break: /* CIL Label */ ;
75491      }
75492      }
75493    }
75494    }
75495  } else {
75496    {
75497#line 1496
75498    __cil_tmp190 = (int )opcode;
75499#line 1496
75500    if (__cil_tmp190 == 2) {
75501      {
75502#line 1497
75503      __cil_tmp191 = 1 << 3;
75504#line 1497
75505      __cil_tmp192 = (unsigned long )fsp;
75506#line 1497
75507      __cil_tmp193 = __cil_tmp192 + 64;
75508#line 1497
75509      __cil_tmp194 = *((u8 *)__cil_tmp193);
75510#line 1497
75511      __cil_tmp195 = (int )__cil_tmp194;
75512#line 1497
75513      if (__cil_tmp195 & __cil_tmp191) {
75514#line 1498
75515        goto unlock_out;
75516      } else {
75517
75518      }
75519      }
75520      {
75521#line 1500
75522      __cil_tmp196 = (unsigned long )fsp;
75523#line 1500
75524      __cil_tmp197 = __cil_tmp196 + 32;
75525#line 1500
75526      __cil_tmp198 = *((struct scsi_cmnd **)__cil_tmp197);
75527#line 1500
75528      __cil_tmp199 = (unsigned long )__cil_tmp198;
75529#line 1500
75530      __cil_tmp200 = __cil_tmp199 + 76;
75531#line 1500
75532      data_dir = *((enum dma_data_direction *)__cil_tmp200);
75533#line 1501
75534      __cil_tmp201 = (struct fc_frame    *)fp;
75535#line 1501
75536      tmp___12 = fc_frame_payload_get(__cil_tmp201, 24UL);
75537#line 1501
75538      recp = (struct fc_els_rec_acc *)tmp___12;
75539#line 1502
75540      __cil_tmp202 = (unsigned long )recp;
75541#line 1502
75542      __cil_tmp203 = __cil_tmp202 + 16;
75543#line 1502
75544      __cil_tmp204 = *((__be32 *)__cil_tmp203);
75545#line 1502
75546      tmp___13 = __fswab32(__cil_tmp204);
75547#line 1502
75548      offset = tmp___13;
75549#line 1503
75550      __cil_tmp205 = (unsigned long )recp;
75551#line 1503
75552      __cil_tmp206 = __cil_tmp205 + 20;
75553#line 1503
75554      __cil_tmp207 = *((__be32 *)__cil_tmp206);
75555#line 1503
75556      tmp___14 = __fswab32(__cil_tmp207);
75557#line 1503
75558      e_stat = tmp___14;
75559      }
75560      {
75561#line 1505
75562      __cil_tmp208 = 1 << 29;
75563#line 1505
75564      __cil_tmp209 = (unsigned int )__cil_tmp208;
75565#line 1505
75566      if (e_stat & __cil_tmp209) {
75567        {
75568#line 1521
75569        __cil_tmp210 = (unsigned int )data_dir;
75570#line 1521
75571        if (__cil_tmp210 == 1U) {
75572#line 1522
75573          r_ctl = (enum fc_rctl )7;
75574        } else {
75575          {
75576#line 1523
75577          __cil_tmp211 = (unsigned long )fsp;
75578#line 1523
75579          __cil_tmp212 = __cil_tmp211 + 120;
75580#line 1523
75581          __cil_tmp213 = *((u32 *)__cil_tmp212);
75582#line 1523
75583          if (__cil_tmp213 == offset) {
75584#line 1524
75585            r_ctl = (enum fc_rctl )7;
75586          } else {
75587#line 1526
75588            __cil_tmp214 = (unsigned long )fsp;
75589#line 1526
75590            __cil_tmp215 = __cil_tmp214 + 120;
75591#line 1526
75592            offset = *((u32 *)__cil_tmp215);
75593#line 1527
75594            r_ctl = (enum fc_rctl )1;
75595          }
75596          }
75597        }
75598        }
75599        {
75600#line 1529
75601        fc_fcp_srr(fsp, r_ctl, offset);
75602        }
75603      } else {
75604        {
75605#line 1530
75606        __cil_tmp216 = 1 << 30;
75607#line 1530
75608        __cil_tmp217 = (unsigned int )__cil_tmp216;
75609#line 1530
75610        if (e_stat & __cil_tmp217) {
75611          {
75612#line 1535
75613          tmp___15 = get_fsp_rec_tov(fsp);
75614#line 1535
75615          __cil_tmp218 = (unsigned long )tmp___15;
75616#line 1535
75617          fc_fcp_timer_set(fsp, __cil_tmp218);
75618          }
75619        } else {
75620#line 1553
75621          r_ctl = (enum fc_rctl )1;
75622          {
75623#line 1554
75624          __cil_tmp219 = (unsigned int )data_dir;
75625#line 1554
75626          if (__cil_tmp219 == 1U) {
75627#line 1555
75628            r_ctl = (enum fc_rctl )7;
75629            {
75630#line 1556
75631            __cil_tmp220 = (unsigned long )fsp;
75632#line 1556
75633            __cil_tmp221 = __cil_tmp220 + 28;
75634#line 1556
75635            __cil_tmp222 = *((u32 *)__cil_tmp221);
75636#line 1556
75637            if (offset < __cil_tmp222) {
75638#line 1557
75639              r_ctl = (enum fc_rctl )5;
75640            } else {
75641
75642            }
75643            }
75644          } else {
75645            {
75646#line 1558
75647            __cil_tmp223 = (unsigned long )fsp;
75648#line 1558
75649            __cil_tmp224 = __cil_tmp223 + 120;
75650#line 1558
75651            __cil_tmp225 = *((u32 *)__cil_tmp224);
75652#line 1558
75653            if (offset == __cil_tmp225) {
75654#line 1559
75655              r_ctl = (enum fc_rctl )7;
75656            } else {
75657              {
75658#line 1560
75659              __cil_tmp226 = (unsigned long )fsp;
75660#line 1560
75661              __cil_tmp227 = __cil_tmp226 + 120;
75662#line 1560
75663              __cil_tmp228 = *((u32 *)__cil_tmp227);
75664#line 1560
75665              if (__cil_tmp228 < offset) {
75666#line 1561
75667                __cil_tmp229 = (unsigned long )fsp;
75668#line 1561
75669                __cil_tmp230 = __cil_tmp229 + 120;
75670#line 1561
75671                offset = *((u32 *)__cil_tmp230);
75672              } else {
75673
75674              }
75675              }
75676            }
75677            }
75678          }
75679          }
75680          {
75681#line 1563
75682          fc_fcp_srr(fsp, r_ctl, offset);
75683          }
75684        }
75685        }
75686      }
75687      }
75688    } else {
75689
75690    }
75691    }
75692  }
75693  }
75694  unlock_out: 
75695  {
75696#line 1567
75697  fc_fcp_unlock_pkt(fsp);
75698  }
75699  out: 
75700  {
75701#line 1569
75702  fc_fcp_pkt_release(fsp);
75703#line 1570
75704  fc_frame_free(fp);
75705  }
75706#line 1571
75707  return;
75708}
75709}
75710#line 1578 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
75711static void fc_fcp_rec_error(struct fc_fcp_pkt *fsp , struct fc_frame *fp ) 
75712{ int error ;
75713  long tmp___7 ;
75714  int tmp___8 ;
75715  struct fc_exch *_ep ;
75716  struct fc_seq    *__mptr ;
75717  long tmp___9 ;
75718  struct fc_exch *_ep___0 ;
75719  struct fc_seq    *__mptr___0 ;
75720  long tmp___10 ;
75721  u32 tmp___11 ;
75722  void    *__cil_tmp13 ;
75723  unsigned int *__cil_tmp14 ;
75724  unsigned int __cil_tmp15 ;
75725  unsigned int __cil_tmp16 ;
75726  int __cil_tmp17 ;
75727  int __cil_tmp18 ;
75728  long __cil_tmp19 ;
75729  unsigned long __cil_tmp20 ;
75730  unsigned long __cil_tmp21 ;
75731  void *__cil_tmp22 ;
75732  unsigned long __cil_tmp23 ;
75733  unsigned long __cil_tmp24 ;
75734  struct fc_seq *__cil_tmp25 ;
75735  struct fc_exch *__cil_tmp26 ;
75736  unsigned long __cil_tmp27 ;
75737  unsigned long __cil_tmp28 ;
75738  struct fc_seq *__cil_tmp29 ;
75739  unsigned int __cil_tmp30 ;
75740  char *__cil_tmp31 ;
75741  char *__cil_tmp32 ;
75742  unsigned long __cil_tmp33 ;
75743  unsigned long __cil_tmp34 ;
75744  struct fc_lport *__cil_tmp35 ;
75745  struct Scsi_Host *__cil_tmp36 ;
75746  unsigned long __cil_tmp37 ;
75747  unsigned long __cil_tmp38 ;
75748  unsigned int __cil_tmp39 ;
75749  unsigned long __cil_tmp40 ;
75750  unsigned long __cil_tmp41 ;
75751  struct fc_rport *__cil_tmp42 ;
75752  unsigned long __cil_tmp43 ;
75753  unsigned long __cil_tmp44 ;
75754  u32 __cil_tmp45 ;
75755  unsigned long __cil_tmp46 ;
75756  unsigned long __cil_tmp47 ;
75757  u16 __cil_tmp48 ;
75758  int __cil_tmp49 ;
75759  unsigned long __cil_tmp50 ;
75760  unsigned long __cil_tmp51 ;
75761  u16 __cil_tmp52 ;
75762  int __cil_tmp53 ;
75763  unsigned long __cil_tmp54 ;
75764  unsigned long __cil_tmp55 ;
75765  struct fc_rport *__cil_tmp56 ;
75766  unsigned long __cil_tmp57 ;
75767  unsigned long __cil_tmp58 ;
75768  u32 __cil_tmp59 ;
75769  unsigned long __cil_tmp60 ;
75770  unsigned long __cil_tmp61 ;
75771  struct fc_lport *__cil_tmp62 ;
75772  struct Scsi_Host *__cil_tmp63 ;
75773  unsigned long __cil_tmp64 ;
75774  unsigned long __cil_tmp65 ;
75775  unsigned int __cil_tmp66 ;
75776  unsigned long __cil_tmp67 ;
75777  unsigned long __cil_tmp68 ;
75778  struct fc_rport *__cil_tmp69 ;
75779  unsigned long __cil_tmp70 ;
75780  unsigned long __cil_tmp71 ;
75781  u32 __cil_tmp72 ;
75782  unsigned long __cil_tmp73 ;
75783  unsigned long __cil_tmp74 ;
75784  struct fc_rport *__cil_tmp75 ;
75785  unsigned long __cil_tmp76 ;
75786  unsigned long __cil_tmp77 ;
75787  u32 __cil_tmp78 ;
75788  unsigned long __cil_tmp79 ;
75789  unsigned long __cil_tmp80 ;
75790  unsigned int *__cil_tmp81 ;
75791  unsigned int __cil_tmp82 ;
75792  unsigned int __cil_tmp83 ;
75793  int __cil_tmp84 ;
75794  int __cil_tmp85 ;
75795  long __cil_tmp86 ;
75796  unsigned long __cil_tmp87 ;
75797  unsigned long __cil_tmp88 ;
75798  void *__cil_tmp89 ;
75799  unsigned long __cil_tmp90 ;
75800  unsigned long __cil_tmp91 ;
75801  struct fc_seq *__cil_tmp92 ;
75802  struct fc_exch *__cil_tmp93 ;
75803  unsigned long __cil_tmp94 ;
75804  unsigned long __cil_tmp95 ;
75805  struct fc_seq *__cil_tmp96 ;
75806  unsigned int __cil_tmp97 ;
75807  char *__cil_tmp98 ;
75808  char *__cil_tmp99 ;
75809  unsigned long __cil_tmp100 ;
75810  unsigned long __cil_tmp101 ;
75811  struct fc_lport *__cil_tmp102 ;
75812  struct Scsi_Host *__cil_tmp103 ;
75813  unsigned long __cil_tmp104 ;
75814  unsigned long __cil_tmp105 ;
75815  unsigned int __cil_tmp106 ;
75816  unsigned long __cil_tmp107 ;
75817  unsigned long __cil_tmp108 ;
75818  struct fc_rport *__cil_tmp109 ;
75819  unsigned long __cil_tmp110 ;
75820  unsigned long __cil_tmp111 ;
75821  u32 __cil_tmp112 ;
75822  unsigned long __cil_tmp113 ;
75823  unsigned long __cil_tmp114 ;
75824  u16 __cil_tmp115 ;
75825  int __cil_tmp116 ;
75826  unsigned long __cil_tmp117 ;
75827  unsigned long __cil_tmp118 ;
75828  u16 __cil_tmp119 ;
75829  int __cil_tmp120 ;
75830  unsigned long __cil_tmp121 ;
75831  unsigned long __cil_tmp122 ;
75832  struct fc_rport *__cil_tmp123 ;
75833  unsigned long __cil_tmp124 ;
75834  unsigned long __cil_tmp125 ;
75835  u32 __cil_tmp126 ;
75836  unsigned long __cil_tmp127 ;
75837  unsigned long __cil_tmp128 ;
75838  u32 __cil_tmp129 ;
75839  unsigned long __cil_tmp130 ;
75840  unsigned long __cil_tmp131 ;
75841  struct fc_lport *__cil_tmp132 ;
75842  struct Scsi_Host *__cil_tmp133 ;
75843  unsigned long __cil_tmp134 ;
75844  unsigned long __cil_tmp135 ;
75845  unsigned int __cil_tmp136 ;
75846  unsigned long __cil_tmp137 ;
75847  unsigned long __cil_tmp138 ;
75848  struct fc_rport *__cil_tmp139 ;
75849  unsigned long __cil_tmp140 ;
75850  unsigned long __cil_tmp141 ;
75851  u32 __cil_tmp142 ;
75852  unsigned long __cil_tmp143 ;
75853  unsigned long __cil_tmp144 ;
75854  struct fc_rport *__cil_tmp145 ;
75855  unsigned long __cil_tmp146 ;
75856  unsigned long __cil_tmp147 ;
75857  u32 __cil_tmp148 ;
75858  unsigned long __cil_tmp149 ;
75859  unsigned long __cil_tmp150 ;
75860  u32 __cil_tmp151 ;
75861  unsigned long __cil_tmp152 ;
75862  unsigned long __cil_tmp153 ;
75863  unsigned long __cil_tmp154 ;
75864  unsigned long __cil_tmp155 ;
75865  unsigned long __cil_tmp156 ;
75866  unsigned long __cil_tmp157 ;
75867  u32 __cil_tmp158 ;
75868  u8 __cil_tmp159 ;
75869
75870  {
75871  {
75872#line 1580
75873  __cil_tmp13 = (void    *)fp;
75874#line 1580
75875  tmp___7 = (long )PTR_ERR(__cil_tmp13);
75876#line 1580
75877  error = (int )tmp___7;
75878#line 1582
75879  tmp___8 = fc_fcp_lock_pkt(fsp);
75880  }
75881#line 1582
75882  if (tmp___8) {
75883#line 1583
75884    goto out;
75885  } else {
75886
75887  }
75888#line 1586
75889  if (error == -2) {
75890#line 1586
75891    goto case_neg_2;
75892  } else
75893#line 1596
75894  if (error == -1) {
75895#line 1596
75896    goto case_neg_1;
75897  } else {
75898    {
75899#line 1590
75900    goto switch_default;
75901#line 1585
75902    if (0) {
75903      case_neg_2: /* CIL Label */ 
75904      {
75905#line 1587
75906      fc_fcp_retry_cmd(fsp);
75907      }
75908#line 1588
75909      goto switch_break;
75910      switch_default: /* CIL Label */ 
75911      {
75912#line 1591
75913      while (1) {
75914        while_continue: /* CIL Label */ ;
75915        {
75916#line 1591
75917        __cil_tmp14 = & fc_debug_logging;
75918#line 1591
75919        __cil_tmp15 = *__cil_tmp14;
75920#line 1591
75921        __cil_tmp16 = __cil_tmp15 & 16U;
75922#line 1591
75923        __cil_tmp17 = ! __cil_tmp16;
75924#line 1591
75925        __cil_tmp18 = ! __cil_tmp17;
75926#line 1591
75927        __cil_tmp19 = (long )__cil_tmp18;
75928#line 1591
75929        tmp___9 = __builtin_expect(__cil_tmp19, 0L);
75930        }
75931#line 1591
75932        if (tmp___9) {
75933          {
75934#line 1591
75935          while (1) {
75936            while_continue___0: /* CIL Label */ ;
75937            {
75938#line 1591
75939            __cil_tmp20 = (unsigned long )fsp;
75940#line 1591
75941            __cil_tmp21 = __cil_tmp20 + 136;
75942#line 1591
75943            if (*((struct fc_seq **)__cil_tmp21)) {
75944              {
75945#line 1591
75946              __cil_tmp22 = (void *)0;
75947#line 1591
75948              _ep = (struct fc_exch *)__cil_tmp22;
75949#line 1591
75950              __cil_tmp23 = (unsigned long )fsp;
75951#line 1591
75952              __cil_tmp24 = __cil_tmp23 + 136;
75953#line 1591
75954              __cil_tmp25 = *((struct fc_seq **)__cil_tmp24);
75955#line 1591
75956              __mptr = (struct fc_seq    *)__cil_tmp25;
75957#line 1591
75958              __cil_tmp26 = (struct fc_exch *)0;
75959#line 1591
75960              __cil_tmp27 = (unsigned long )__cil_tmp26;
75961#line 1591
75962              __cil_tmp28 = __cil_tmp27 + 108;
75963#line 1591
75964              __cil_tmp29 = (struct fc_seq *)__cil_tmp28;
75965#line 1591
75966              __cil_tmp30 = (unsigned int )__cil_tmp29;
75967#line 1591
75968              __cil_tmp31 = (char *)__mptr;
75969#line 1591
75970              __cil_tmp32 = __cil_tmp31 - __cil_tmp30;
75971#line 1591
75972              _ep = (struct fc_exch *)__cil_tmp32;
75973#line 1591
75974              __cil_tmp33 = (unsigned long )fsp;
75975#line 1591
75976              __cil_tmp34 = __cil_tmp33 + 56;
75977#line 1591
75978              __cil_tmp35 = *((struct fc_lport **)__cil_tmp34);
75979#line 1591
75980              __cil_tmp36 = *((struct Scsi_Host **)__cil_tmp35);
75981#line 1591
75982              __cil_tmp37 = (unsigned long )__cil_tmp36;
75983#line 1591
75984              __cil_tmp38 = __cil_tmp37 + 308;
75985#line 1591
75986              __cil_tmp39 = *((unsigned int *)__cil_tmp38);
75987#line 1591
75988              __cil_tmp40 = (unsigned long )fsp;
75989#line 1591
75990              __cil_tmp41 = __cil_tmp40 + 128;
75991#line 1591
75992              __cil_tmp42 = *((struct fc_rport **)__cil_tmp41);
75993#line 1591
75994              __cil_tmp43 = (unsigned long )__cil_tmp42;
75995#line 1591
75996              __cil_tmp44 = __cil_tmp43 + 32;
75997#line 1591
75998              __cil_tmp45 = *((u32 *)__cil_tmp44);
75999#line 1591
76000              __cil_tmp46 = (unsigned long )_ep;
76001#line 1591
76002              __cil_tmp47 = __cil_tmp46 + 82;
76003#line 1591
76004              __cil_tmp48 = *((u16 *)__cil_tmp47);
76005#line 1591
76006              __cil_tmp49 = (int )__cil_tmp48;
76007#line 1591
76008              __cil_tmp50 = (unsigned long )_ep;
76009#line 1591
76010              __cil_tmp51 = __cil_tmp50 + 84;
76011#line 1591
76012              __cil_tmp52 = *((u16 *)__cil_tmp51);
76013#line 1591
76014              __cil_tmp53 = (int )__cil_tmp52;
76015#line 1591
76016              __cil_tmp54 = (unsigned long )fsp;
76017#line 1591
76018              __cil_tmp55 = __cil_tmp54 + 128;
76019#line 1591
76020              __cil_tmp56 = *((struct fc_rport **)__cil_tmp55);
76021#line 1591
76022              __cil_tmp57 = (unsigned long )__cil_tmp56;
76023#line 1591
76024              __cil_tmp58 = __cil_tmp57 + 32;
76025#line 1591
76026              __cil_tmp59 = *((u32 *)__cil_tmp58);
76027#line 1591
76028              printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: REC %p fid %6.6x error unexpected error %d\n",
76029                     __cil_tmp39, __cil_tmp45, __cil_tmp49, __cil_tmp53, fsp, __cil_tmp59,
76030                     error);
76031              }
76032            } else {
76033              {
76034#line 1591
76035              __cil_tmp60 = (unsigned long )fsp;
76036#line 1591
76037              __cil_tmp61 = __cil_tmp60 + 56;
76038#line 1591
76039              __cil_tmp62 = *((struct fc_lport **)__cil_tmp61);
76040#line 1591
76041              __cil_tmp63 = *((struct Scsi_Host **)__cil_tmp62);
76042#line 1591
76043              __cil_tmp64 = (unsigned long )__cil_tmp63;
76044#line 1591
76045              __cil_tmp65 = __cil_tmp64 + 308;
76046#line 1591
76047              __cil_tmp66 = *((unsigned int *)__cil_tmp65);
76048#line 1591
76049              __cil_tmp67 = (unsigned long )fsp;
76050#line 1591
76051              __cil_tmp68 = __cil_tmp67 + 128;
76052#line 1591
76053              __cil_tmp69 = *((struct fc_rport **)__cil_tmp68);
76054#line 1591
76055              __cil_tmp70 = (unsigned long )__cil_tmp69;
76056#line 1591
76057              __cil_tmp71 = __cil_tmp70 + 32;
76058#line 1591
76059              __cil_tmp72 = *((u32 *)__cil_tmp71);
76060#line 1591
76061              __cil_tmp73 = (unsigned long )fsp;
76062#line 1591
76063              __cil_tmp74 = __cil_tmp73 + 128;
76064#line 1591
76065              __cil_tmp75 = *((struct fc_rport **)__cil_tmp74);
76066#line 1591
76067              __cil_tmp76 = (unsigned long )__cil_tmp75;
76068#line 1591
76069              __cil_tmp77 = __cil_tmp76 + 32;
76070#line 1591
76071              __cil_tmp78 = *((u32 *)__cil_tmp77);
76072#line 1591
76073              printk("<6>host%u: fcp: %6.6x: REC %p fid %6.6x error unexpected error %d\n",
76074                     __cil_tmp66, __cil_tmp72, fsp, __cil_tmp78, error);
76075              }
76076            }
76077            }
76078#line 1591
76079            goto while_break___0;
76080          }
76081          while_break___0: /* CIL Label */ ;
76082          }
76083        } else {
76084
76085        }
76086#line 1591
76087        goto while_break;
76088      }
76089      while_break: /* CIL Label */ ;
76090      }
76091#line 1593
76092      __cil_tmp79 = (unsigned long )fsp;
76093#line 1593
76094      __cil_tmp80 = __cil_tmp79 + 66;
76095#line 1593
76096      *((u8 *)__cil_tmp80) = (u8 )3;
76097      case_neg_1: /* CIL Label */ 
76098      {
76099#line 1601
76100      while (1) {
76101        while_continue___1: /* CIL Label */ ;
76102        {
76103#line 1601
76104        __cil_tmp81 = & fc_debug_logging;
76105#line 1601
76106        __cil_tmp82 = *__cil_tmp81;
76107#line 1601
76108        __cil_tmp83 = __cil_tmp82 & 16U;
76109#line 1601
76110        __cil_tmp84 = ! __cil_tmp83;
76111#line 1601
76112        __cil_tmp85 = ! __cil_tmp84;
76113#line 1601
76114        __cil_tmp86 = (long )__cil_tmp85;
76115#line 1601
76116        tmp___10 = __builtin_expect(__cil_tmp86, 0L);
76117        }
76118#line 1601
76119        if (tmp___10) {
76120          {
76121#line 1601
76122          while (1) {
76123            while_continue___2: /* CIL Label */ ;
76124            {
76125#line 1601
76126            __cil_tmp87 = (unsigned long )fsp;
76127#line 1601
76128            __cil_tmp88 = __cil_tmp87 + 136;
76129#line 1601
76130            if (*((struct fc_seq **)__cil_tmp88)) {
76131              {
76132#line 1601
76133              __cil_tmp89 = (void *)0;
76134#line 1601
76135              _ep___0 = (struct fc_exch *)__cil_tmp89;
76136#line 1601
76137              __cil_tmp90 = (unsigned long )fsp;
76138#line 1601
76139              __cil_tmp91 = __cil_tmp90 + 136;
76140#line 1601
76141              __cil_tmp92 = *((struct fc_seq **)__cil_tmp91);
76142#line 1601
76143              __mptr___0 = (struct fc_seq    *)__cil_tmp92;
76144#line 1601
76145              __cil_tmp93 = (struct fc_exch *)0;
76146#line 1601
76147              __cil_tmp94 = (unsigned long )__cil_tmp93;
76148#line 1601
76149              __cil_tmp95 = __cil_tmp94 + 108;
76150#line 1601
76151              __cil_tmp96 = (struct fc_seq *)__cil_tmp95;
76152#line 1601
76153              __cil_tmp97 = (unsigned int )__cil_tmp96;
76154#line 1601
76155              __cil_tmp98 = (char *)__mptr___0;
76156#line 1601
76157              __cil_tmp99 = __cil_tmp98 - __cil_tmp97;
76158#line 1601
76159              _ep___0 = (struct fc_exch *)__cil_tmp99;
76160#line 1601
76161              __cil_tmp100 = (unsigned long )fsp;
76162#line 1601
76163              __cil_tmp101 = __cil_tmp100 + 56;
76164#line 1601
76165              __cil_tmp102 = *((struct fc_lport **)__cil_tmp101);
76166#line 1601
76167              __cil_tmp103 = *((struct Scsi_Host **)__cil_tmp102);
76168#line 1601
76169              __cil_tmp104 = (unsigned long )__cil_tmp103;
76170#line 1601
76171              __cil_tmp105 = __cil_tmp104 + 308;
76172#line 1601
76173              __cil_tmp106 = *((unsigned int *)__cil_tmp105);
76174#line 1601
76175              __cil_tmp107 = (unsigned long )fsp;
76176#line 1601
76177              __cil_tmp108 = __cil_tmp107 + 128;
76178#line 1601
76179              __cil_tmp109 = *((struct fc_rport **)__cil_tmp108);
76180#line 1601
76181              __cil_tmp110 = (unsigned long )__cil_tmp109;
76182#line 1601
76183              __cil_tmp111 = __cil_tmp110 + 32;
76184#line 1601
76185              __cil_tmp112 = *((u32 *)__cil_tmp111);
76186#line 1601
76187              __cil_tmp113 = (unsigned long )_ep___0;
76188#line 1601
76189              __cil_tmp114 = __cil_tmp113 + 82;
76190#line 1601
76191              __cil_tmp115 = *((u16 *)__cil_tmp114);
76192#line 1601
76193              __cil_tmp116 = (int )__cil_tmp115;
76194#line 1601
76195              __cil_tmp117 = (unsigned long )_ep___0;
76196#line 1601
76197              __cil_tmp118 = __cil_tmp117 + 84;
76198#line 1601
76199              __cil_tmp119 = *((u16 *)__cil_tmp118);
76200#line 1601
76201              __cil_tmp120 = (int )__cil_tmp119;
76202#line 1601
76203              __cil_tmp121 = (unsigned long )fsp;
76204#line 1601
76205              __cil_tmp122 = __cil_tmp121 + 128;
76206#line 1601
76207              __cil_tmp123 = *((struct fc_rport **)__cil_tmp122);
76208#line 1601
76209              __cil_tmp124 = (unsigned long )__cil_tmp123;
76210#line 1601
76211              __cil_tmp125 = __cil_tmp124 + 32;
76212#line 1601
76213              __cil_tmp126 = *((u32 *)__cil_tmp125);
76214#line 1601
76215              __cil_tmp127 = (unsigned long )fsp;
76216#line 1601
76217              __cil_tmp128 = __cil_tmp127 + 228;
76218#line 1601
76219              __cil_tmp129 = *((u32 *)__cil_tmp128);
76220#line 1601
76221              printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: REC fid %6.6x error error %d retry %d/%d\n",
76222                     __cil_tmp106, __cil_tmp112, __cil_tmp116, __cil_tmp120, __cil_tmp126,
76223                     error, __cil_tmp129, 3);
76224              }
76225            } else {
76226              {
76227#line 1601
76228              __cil_tmp130 = (unsigned long )fsp;
76229#line 1601
76230              __cil_tmp131 = __cil_tmp130 + 56;
76231#line 1601
76232              __cil_tmp132 = *((struct fc_lport **)__cil_tmp131);
76233#line 1601
76234              __cil_tmp133 = *((struct Scsi_Host **)__cil_tmp132);
76235#line 1601
76236              __cil_tmp134 = (unsigned long )__cil_tmp133;
76237#line 1601
76238              __cil_tmp135 = __cil_tmp134 + 308;
76239#line 1601
76240              __cil_tmp136 = *((unsigned int *)__cil_tmp135);
76241#line 1601
76242              __cil_tmp137 = (unsigned long )fsp;
76243#line 1601
76244              __cil_tmp138 = __cil_tmp137 + 128;
76245#line 1601
76246              __cil_tmp139 = *((struct fc_rport **)__cil_tmp138);
76247#line 1601
76248              __cil_tmp140 = (unsigned long )__cil_tmp139;
76249#line 1601
76250              __cil_tmp141 = __cil_tmp140 + 32;
76251#line 1601
76252              __cil_tmp142 = *((u32 *)__cil_tmp141);
76253#line 1601
76254              __cil_tmp143 = (unsigned long )fsp;
76255#line 1601
76256              __cil_tmp144 = __cil_tmp143 + 128;
76257#line 1601
76258              __cil_tmp145 = *((struct fc_rport **)__cil_tmp144);
76259#line 1601
76260              __cil_tmp146 = (unsigned long )__cil_tmp145;
76261#line 1601
76262              __cil_tmp147 = __cil_tmp146 + 32;
76263#line 1601
76264              __cil_tmp148 = *((u32 *)__cil_tmp147);
76265#line 1601
76266              __cil_tmp149 = (unsigned long )fsp;
76267#line 1601
76268              __cil_tmp150 = __cil_tmp149 + 228;
76269#line 1601
76270              __cil_tmp151 = *((u32 *)__cil_tmp150);
76271#line 1601
76272              printk("<6>host%u: fcp: %6.6x: REC fid %6.6x error error %d retry %d/%d\n",
76273                     __cil_tmp136, __cil_tmp142, __cil_tmp148, error, __cil_tmp151,
76274                     3);
76275              }
76276            }
76277            }
76278#line 1601
76279            goto while_break___2;
76280          }
76281          while_break___2: /* CIL Label */ ;
76282          }
76283        } else {
76284
76285        }
76286#line 1601
76287        goto while_break___1;
76288      }
76289      while_break___1: /* CIL Label */ ;
76290      }
76291#line 1604
76292      __cil_tmp152 = (unsigned long )fsp;
76293#line 1604
76294      __cil_tmp153 = __cil_tmp152 + 228;
76295#line 1604
76296      tmp___11 = *((u32 *)__cil_tmp153);
76297#line 1604
76298      __cil_tmp154 = (unsigned long )fsp;
76299#line 1604
76300      __cil_tmp155 = __cil_tmp154 + 228;
76301#line 1604
76302      __cil_tmp156 = (unsigned long )fsp;
76303#line 1604
76304      __cil_tmp157 = __cil_tmp156 + 228;
76305#line 1604
76306      __cil_tmp158 = *((u32 *)__cil_tmp157);
76307#line 1604
76308      *((u32 *)__cil_tmp155) = __cil_tmp158 + 1U;
76309#line 1604
76310      if (tmp___11 < 3U) {
76311        {
76312#line 1605
76313        fc_fcp_rec(fsp);
76314        }
76315      } else {
76316        {
76317#line 1607
76318        __cil_tmp159 = (u8 )8;
76319#line 1607
76320        fc_fcp_recovery(fsp, __cil_tmp159);
76321        }
76322      }
76323#line 1608
76324      goto switch_break;
76325    } else {
76326      switch_break: /* CIL Label */ ;
76327    }
76328    }
76329  }
76330  {
76331#line 1610
76332  fc_fcp_unlock_pkt(fsp);
76333  }
76334  out: 
76335  {
76336#line 1612
76337  fc_fcp_pkt_release(fsp);
76338  }
76339#line 1613
76340  return;
76341}
76342}
76343#line 1619 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
76344static void fc_fcp_recovery(struct fc_fcp_pkt *fsp , u8 code ) 
76345{ unsigned long __cil_tmp3 ;
76346  unsigned long __cil_tmp4 ;
76347  unsigned long __cil_tmp5 ;
76348  unsigned long __cil_tmp6 ;
76349  unsigned long __cil_tmp7 ;
76350  unsigned long __cil_tmp8 ;
76351
76352  {
76353  {
76354#line 1621
76355  __cil_tmp3 = (unsigned long )fsp;
76356#line 1621
76357  __cil_tmp4 = __cil_tmp3 + 66;
76358#line 1621
76359  *((u8 *)__cil_tmp4) = code;
76360#line 1622
76361  __cil_tmp5 = (unsigned long )fsp;
76362#line 1622
76363  __cil_tmp6 = __cil_tmp5 + 65;
76364#line 1622
76365  *((u8 *)__cil_tmp6) = (u8 )0;
76366#line 1623
76367  __cil_tmp7 = (unsigned long )fsp;
76368#line 1623
76369  __cil_tmp8 = __cil_tmp7 + 68;
76370#line 1623
76371  *((u32 *)__cil_tmp8) = (u32 )0;
76372#line 1628
76373  fc_fcp_send_abort(fsp);
76374  }
76375#line 1629
76376  return;
76377}
76378}
76379#line 1638 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
76380static void fc_fcp_srr(struct fc_fcp_pkt *fsp , enum fc_rctl r_ctl , u32 offset ) 
76381{ struct fc_lport *lport ;
76382  struct fc_rport *rport ;
76383  struct fc_rport_libfc_priv *rpriv ;
76384  struct fc_exch *ep ;
76385  struct fc_seq    *__mptr ;
76386  struct fc_seq *seq ;
76387  struct fcp_srr *srr ;
76388  struct fc_frame *fp ;
76389  unsigned int rec_tov ;
76390  void *tmp___7 ;
76391  __u16 tmp___8 ;
76392  __u16 tmp___9 ;
76393  __u32 tmp___10 ;
76394  unsigned int tmp___11 ;
76395  unsigned long __cil_tmp18 ;
76396  unsigned long __cil_tmp19 ;
76397  unsigned long __cil_tmp20 ;
76398  unsigned long __cil_tmp21 ;
76399  struct fc_seq *__cil_tmp22 ;
76400  struct fc_exch *__cil_tmp23 ;
76401  unsigned long __cil_tmp24 ;
76402  unsigned long __cil_tmp25 ;
76403  struct fc_seq *__cil_tmp26 ;
76404  unsigned int __cil_tmp27 ;
76405  char *__cil_tmp28 ;
76406  char *__cil_tmp29 ;
76407  unsigned long __cil_tmp30 ;
76408  unsigned long __cil_tmp31 ;
76409  unsigned long __cil_tmp32 ;
76410  unsigned long __cil_tmp33 ;
76411  void *__cil_tmp34 ;
76412  int __cil_tmp35 ;
76413  unsigned long __cil_tmp36 ;
76414  unsigned long __cil_tmp37 ;
76415  u16 __cil_tmp38 ;
76416  int __cil_tmp39 ;
76417  int __cil_tmp40 ;
76418  unsigned long __cil_tmp41 ;
76419  unsigned long __cil_tmp42 ;
76420  enum fc_rport_state __cil_tmp43 ;
76421  unsigned int __cil_tmp44 ;
76422  struct fc_frame    *__cil_tmp45 ;
76423  void *__cil_tmp46 ;
76424  unsigned long __cil_tmp47 ;
76425  unsigned long __cil_tmp48 ;
76426  u16 __cil_tmp49 ;
76427  unsigned long __cil_tmp50 ;
76428  unsigned long __cil_tmp51 ;
76429  int __cil_tmp52 ;
76430  unsigned long __cil_tmp53 ;
76431  unsigned long __cil_tmp54 ;
76432  u16 __cil_tmp55 ;
76433  unsigned long __cil_tmp56 ;
76434  unsigned long __cil_tmp57 ;
76435  int __cil_tmp58 ;
76436  unsigned long __cil_tmp59 ;
76437  unsigned long __cil_tmp60 ;
76438  unsigned long __cil_tmp61 ;
76439  unsigned long __cil_tmp62 ;
76440  enum fc_rctl __cil_tmp63 ;
76441  unsigned long __cil_tmp64 ;
76442  unsigned long __cil_tmp65 ;
76443  u32 __cil_tmp66 ;
76444  struct fc_lport *__cil_tmp67 ;
76445  unsigned long __cil_tmp68 ;
76446  unsigned long __cil_tmp69 ;
76447  u32 __cil_tmp70 ;
76448  enum fc_fh_type __cil_tmp71 ;
76449  int __cil_tmp72 ;
76450  int __cil_tmp73 ;
76451  int __cil_tmp74 ;
76452  int __cil_tmp75 ;
76453  int __cil_tmp76 ;
76454  u32 __cil_tmp77 ;
76455  u32 __cil_tmp78 ;
76456  unsigned long    __cil_tmp79 ;
76457  unsigned long __cil_tmp80 ;
76458  unsigned long __cil_tmp81 ;
76459  unsigned long __cil_tmp82 ;
76460  struct fc_seq *(*__cil_tmp83)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
76461                                                                                     struct fc_frame * ,
76462                                                                                     void * ) ,
76463                                void (*destructor)(struct fc_seq * , void * ) , void * ,
76464                                unsigned int timer_msec ) ;
76465  void *__cil_tmp84 ;
76466  unsigned long __cil_tmp85 ;
76467  unsigned long __cil_tmp86 ;
76468  unsigned long __cil_tmp87 ;
76469  unsigned long __cil_tmp88 ;
76470  unsigned long __cil_tmp89 ;
76471  unsigned long __cil_tmp90 ;
76472  unsigned long __cil_tmp91 ;
76473  unsigned long __cil_tmp92 ;
76474  int __cil_tmp93 ;
76475  int __cil_tmp94 ;
76476  unsigned long __cil_tmp95 ;
76477  unsigned long __cil_tmp96 ;
76478  u8 __cil_tmp97 ;
76479  int __cil_tmp98 ;
76480  int __cil_tmp99 ;
76481
76482  {
76483#line 1640
76484  __cil_tmp18 = (unsigned long )fsp;
76485#line 1640
76486  __cil_tmp19 = __cil_tmp18 + 56;
76487#line 1640
76488  lport = *((struct fc_lport **)__cil_tmp19);
76489#line 1643
76490  __cil_tmp20 = (unsigned long )fsp;
76491#line 1643
76492  __cil_tmp21 = __cil_tmp20 + 136;
76493#line 1643
76494  __cil_tmp22 = *((struct fc_seq **)__cil_tmp21);
76495#line 1643
76496  __mptr = (struct fc_seq    *)__cil_tmp22;
76497#line 1643
76498  __cil_tmp23 = (struct fc_exch *)0;
76499#line 1643
76500  __cil_tmp24 = (unsigned long )__cil_tmp23;
76501#line 1643
76502  __cil_tmp25 = __cil_tmp24 + 108;
76503#line 1643
76504  __cil_tmp26 = (struct fc_seq *)__cil_tmp25;
76505#line 1643
76506  __cil_tmp27 = (unsigned int )__cil_tmp26;
76507#line 1643
76508  __cil_tmp28 = (char *)__mptr;
76509#line 1643
76510  __cil_tmp29 = __cil_tmp28 - __cil_tmp27;
76511#line 1643
76512  ep = (struct fc_exch *)__cil_tmp29;
76513#line 1649
76514  __cil_tmp30 = (unsigned long )fsp;
76515#line 1649
76516  __cil_tmp31 = __cil_tmp30 + 128;
76517#line 1649
76518  rport = *((struct fc_rport **)__cil_tmp31);
76519#line 1650
76520  __cil_tmp32 = (unsigned long )rport;
76521#line 1650
76522  __cil_tmp33 = __cil_tmp32 + 56;
76523#line 1650
76524  __cil_tmp34 = *((void **)__cil_tmp33);
76525#line 1650
76526  rpriv = (struct fc_rport_libfc_priv *)__cil_tmp34;
76527  {
76528#line 1652
76529  __cil_tmp35 = 1 << 1;
76530#line 1652
76531  __cil_tmp36 = (unsigned long )rpriv;
76532#line 1652
76533  __cil_tmp37 = __cil_tmp36 + 12;
76534#line 1652
76535  __cil_tmp38 = *((u16 *)__cil_tmp37);
76536#line 1652
76537  __cil_tmp39 = (int )__cil_tmp38;
76538#line 1652
76539  __cil_tmp40 = __cil_tmp39 & __cil_tmp35;
76540#line 1652
76541  if (! __cil_tmp40) {
76542#line 1654
76543    goto retry;
76544  } else {
76545    {
76546#line 1652
76547    __cil_tmp41 = (unsigned long )rpriv;
76548#line 1652
76549    __cil_tmp42 = __cil_tmp41 + 8;
76550#line 1652
76551    __cil_tmp43 = *((enum fc_rport_state *)__cil_tmp42);
76552#line 1652
76553    __cil_tmp44 = (unsigned int )__cil_tmp43;
76554#line 1652
76555    if (__cil_tmp44 != 6U) {
76556#line 1654
76557      goto retry;
76558    } else {
76559
76560    }
76561    }
76562  }
76563  }
76564  {
76565#line 1655
76566  fp = fc_fcp_frame_alloc(lport, 16UL);
76567  }
76568#line 1656
76569  if (! fp) {
76570#line 1657
76571    goto retry;
76572  } else {
76573
76574  }
76575  {
76576#line 1659
76577  __cil_tmp45 = (struct fc_frame    *)fp;
76578#line 1659
76579  tmp___7 = fc_frame_payload_get(__cil_tmp45, 16UL);
76580#line 1659
76581  srr = (struct fcp_srr *)tmp___7;
76582#line 1660
76583  __cil_tmp46 = (void *)srr;
76584#line 1660
76585  memset(__cil_tmp46, 0, 16UL);
76586#line 1661
76587  *((__u8 *)srr) = (__u8 )20;
76588#line 1662
76589  __cil_tmp47 = (unsigned long )ep;
76590#line 1662
76591  __cil_tmp48 = __cil_tmp47 + 82;
76592#line 1662
76593  __cil_tmp49 = *((u16 *)__cil_tmp48);
76594#line 1662
76595  tmp___8 = __fswab16(__cil_tmp49);
76596#line 1662
76597  __cil_tmp50 = (unsigned long )srr;
76598#line 1662
76599  __cil_tmp51 = __cil_tmp50 + 4;
76600#line 1662
76601  __cil_tmp52 = (int )tmp___8;
76602#line 1662
76603  *((__be16 *)__cil_tmp51) = (__be16 )__cil_tmp52;
76604#line 1663
76605  __cil_tmp53 = (unsigned long )ep;
76606#line 1663
76607  __cil_tmp54 = __cil_tmp53 + 84;
76608#line 1663
76609  __cil_tmp55 = *((u16 *)__cil_tmp54);
76610#line 1663
76611  tmp___9 = __fswab16(__cil_tmp55);
76612#line 1663
76613  __cil_tmp56 = (unsigned long )srr;
76614#line 1663
76615  __cil_tmp57 = __cil_tmp56 + 6;
76616#line 1663
76617  __cil_tmp58 = (int )tmp___9;
76618#line 1663
76619  *((__be16 *)__cil_tmp57) = (__be16 )__cil_tmp58;
76620#line 1664
76621  __cil_tmp59 = (unsigned long )srr;
76622#line 1664
76623  __cil_tmp60 = __cil_tmp59 + 12;
76624#line 1664
76625  *((__u8 *)__cil_tmp60) = (__u8 )r_ctl;
76626#line 1665
76627  tmp___10 = __fswab32(offset);
76628#line 1665
76629  __cil_tmp61 = (unsigned long )srr;
76630#line 1665
76631  __cil_tmp62 = __cil_tmp61 + 8;
76632#line 1665
76633  *((__be32 *)__cil_tmp62) = tmp___10;
76634#line 1667
76635  __cil_tmp63 = (enum fc_rctl )50;
76636#line 1667
76637  __cil_tmp64 = (unsigned long )rport;
76638#line 1667
76639  __cil_tmp65 = __cil_tmp64 + 32;
76640#line 1667
76641  __cil_tmp66 = *((u32 *)__cil_tmp65);
76642#line 1667
76643  __cil_tmp67 = *((struct fc_lport **)rpriv);
76644#line 1667
76645  __cil_tmp68 = (unsigned long )__cil_tmp67;
76646#line 1667
76647  __cil_tmp69 = __cil_tmp68 + 788;
76648#line 1667
76649  __cil_tmp70 = *((u32 *)__cil_tmp69);
76650#line 1667
76651  __cil_tmp71 = (enum fc_fh_type )8;
76652#line 1667
76653  __cil_tmp72 = 1 << 16;
76654#line 1667
76655  __cil_tmp73 = 1 << 19;
76656#line 1667
76657  __cil_tmp74 = 1 << 21;
76658#line 1667
76659  __cil_tmp75 = __cil_tmp74 | __cil_tmp73;
76660#line 1667
76661  __cil_tmp76 = __cil_tmp75 | __cil_tmp72;
76662#line 1667
76663  __cil_tmp77 = (u32 )__cil_tmp76;
76664#line 1667
76665  __cil_tmp78 = (u32 )0;
76666#line 1667
76667  fc_fill_fc_hdr(fp, __cil_tmp63, __cil_tmp66, __cil_tmp70, __cil_tmp71, __cil_tmp77,
76668                 __cil_tmp78);
76669#line 1671
76670  rec_tov = get_fsp_rec_tov(fsp);
76671#line 1672
76672  __cil_tmp79 = (unsigned long    )rec_tov;
76673#line 1672
76674  tmp___11 = jiffies_to_msecs(__cil_tmp79);
76675#line 1672
76676  __cil_tmp80 = 328 + 16;
76677#line 1672
76678  __cil_tmp81 = (unsigned long )lport;
76679#line 1672
76680  __cil_tmp82 = __cil_tmp81 + __cil_tmp80;
76681#line 1672
76682  __cil_tmp83 = *((struct fc_seq *(**)(struct fc_lport * , struct fc_frame * , void (*resp)(struct fc_seq * ,
76683                                                                                            struct fc_frame * ,
76684                                                                                            void * ) ,
76685                                       void (*destructor)(struct fc_seq * , void * ) ,
76686                                       void * , unsigned int timer_msec ))__cil_tmp82);
76687#line 1672
76688  __cil_tmp84 = (void *)fsp;
76689#line 1672
76690  seq = (*__cil_tmp83)(lport, fp, & fc_fcp_srr_resp, & fc_fcp_pkt_destroy, __cil_tmp84,
76691                       tmp___11);
76692  }
76693#line 1675
76694  if (! seq) {
76695#line 1676
76696    goto retry;
76697  } else {
76698
76699  }
76700  {
76701#line 1678
76702  __cil_tmp85 = (unsigned long )fsp;
76703#line 1678
76704  __cil_tmp86 = __cil_tmp85 + 232;
76705#line 1678
76706  *((struct fc_seq **)__cil_tmp86) = seq;
76707#line 1679
76708  __cil_tmp87 = (unsigned long )fsp;
76709#line 1679
76710  __cil_tmp88 = __cil_tmp87 + 80;
76711#line 1679
76712  *((size_t *)__cil_tmp88) = (size_t )offset;
76713#line 1680
76714  __cil_tmp89 = (unsigned long )fsp;
76715#line 1680
76716  __cil_tmp90 = __cil_tmp89 + 120;
76717#line 1680
76718  *((u32 *)__cil_tmp90) = offset;
76719#line 1681
76720  __cil_tmp91 = (unsigned long )fsp;
76721#line 1681
76722  __cil_tmp92 = __cil_tmp91 + 64;
76723#line 1681
76724  __cil_tmp93 = 1 << 1;
76725#line 1681
76726  __cil_tmp94 = ~ __cil_tmp93;
76727#line 1681
76728  __cil_tmp95 = (unsigned long )fsp;
76729#line 1681
76730  __cil_tmp96 = __cil_tmp95 + 64;
76731#line 1681
76732  __cil_tmp97 = *((u8 *)__cil_tmp96);
76733#line 1681
76734  __cil_tmp98 = (int )__cil_tmp97;
76735#line 1681
76736  __cil_tmp99 = __cil_tmp98 & __cil_tmp94;
76737#line 1681
76738  *((u8 *)__cil_tmp92) = (u8 )__cil_tmp99;
76739#line 1682
76740  fc_fcp_pkt_hold(fsp);
76741  }
76742#line 1683
76743  return;
76744  retry: 
76745  {
76746#line 1685
76747  fc_fcp_retry_cmd(fsp);
76748  }
76749#line 1686
76750  return;
76751}
76752}
76753#line 1694 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
76754static void fc_fcp_srr_resp(struct fc_seq *seq , struct fc_frame *fp , void *arg ) 
76755{ struct fc_fcp_pkt *fsp ;
76756  struct fc_frame_header *fh ;
76757  long tmp___7 ;
76758  int tmp___8 ;
76759  u8 tmp___9 ;
76760  unsigned int tmp___10 ;
76761  void    *__cil_tmp10 ;
76762  struct fc_frame    *__cil_tmp11 ;
76763  unsigned long __cil_tmp12 ;
76764  unsigned long __cil_tmp13 ;
76765  __u8 __cil_tmp14 ;
76766  int __cil_tmp15 ;
76767  struct fc_frame    *__cil_tmp16 ;
76768  unsigned long __cil_tmp17 ;
76769  unsigned long __cil_tmp18 ;
76770  unsigned long __cil_tmp19 ;
76771  u8 __cil_tmp20 ;
76772  unsigned long __cil_tmp21 ;
76773  unsigned long __cil_tmp22 ;
76774  unsigned long __cil_tmp23 ;
76775  struct fc_lport *__cil_tmp24 ;
76776  unsigned long __cil_tmp25 ;
76777  unsigned long __cil_tmp26 ;
76778  void (*__cil_tmp27)(struct fc_seq * ) ;
76779
76780  {
76781  {
76782#line 1696
76783  fsp = (struct fc_fcp_pkt *)arg;
76784#line 1699
76785  __cil_tmp10 = (void    *)fp;
76786#line 1699
76787  tmp___7 = (long )IS_ERR(__cil_tmp10);
76788  }
76789#line 1699
76790  if (tmp___7) {
76791    {
76792#line 1700
76793    fc_fcp_srr_error(fsp, fp);
76794    }
76795#line 1701
76796    return;
76797  } else {
76798
76799  }
76800  {
76801#line 1704
76802  tmp___8 = fc_fcp_lock_pkt(fsp);
76803  }
76804#line 1704
76805  if (tmp___8) {
76806#line 1705
76807    goto out;
76808  } else {
76809
76810  }
76811  {
76812#line 1707
76813  __cil_tmp11 = (struct fc_frame    *)fp;
76814#line 1707
76815  fh = fc_frame_header_get(__cil_tmp11);
76816  }
76817  {
76818#line 1715
76819  __cil_tmp12 = (unsigned long )fh;
76820#line 1715
76821  __cil_tmp13 = __cil_tmp12 + 8;
76822#line 1715
76823  __cil_tmp14 = *((__u8 *)__cil_tmp13);
76824#line 1715
76825  __cil_tmp15 = (int )__cil_tmp14;
76826#line 1715
76827  if (__cil_tmp15 == 0) {
76828    {
76829#line 1716
76830    fc_fcp_unlock_pkt(fsp);
76831    }
76832#line 1717
76833    return;
76834  } else {
76835
76836  }
76837  }
76838  {
76839#line 1720
76840  __cil_tmp16 = (struct fc_frame    *)fp;
76841#line 1720
76842  tmp___9 = fc_frame_payload_op(__cil_tmp16);
76843  }
76844#line 1721
76845  if ((int )tmp___9 == 2) {
76846#line 1721
76847    goto case_2;
76848  } else {
76849    {
76850#line 1726
76851    goto switch_default;
76852#line 1720
76853    if (0) {
76854      case_2: /* CIL Label */ 
76855      {
76856#line 1722
76857      __cil_tmp17 = (unsigned long )fsp;
76858#line 1722
76859      __cil_tmp18 = __cil_tmp17 + 228;
76860#line 1722
76861      *((u32 *)__cil_tmp18) = (u32 )0;
76862#line 1723
76863      tmp___10 = get_fsp_rec_tov(fsp);
76864#line 1723
76865      __cil_tmp19 = (unsigned long )tmp___10;
76866#line 1723
76867      fc_fcp_timer_set(fsp, __cil_tmp19);
76868      }
76869#line 1724
76870      goto switch_break;
76871      switch_default: /* CIL Label */ 
76872      {
76873#line 1727
76874      __cil_tmp20 = (u8 )8;
76875#line 1727
76876      fc_fcp_recovery(fsp, __cil_tmp20);
76877      }
76878#line 1728
76879      goto switch_break;
76880    } else {
76881      switch_break: /* CIL Label */ ;
76882    }
76883    }
76884  }
76885  {
76886#line 1730
76887  fc_fcp_unlock_pkt(fsp);
76888  }
76889  out: 
76890  {
76891#line 1732
76892  __cil_tmp21 = 328 + 80;
76893#line 1732
76894  __cil_tmp22 = (unsigned long )fsp;
76895#line 1732
76896  __cil_tmp23 = __cil_tmp22 + 56;
76897#line 1732
76898  __cil_tmp24 = *((struct fc_lport **)__cil_tmp23);
76899#line 1732
76900  __cil_tmp25 = (unsigned long )__cil_tmp24;
76901#line 1732
76902  __cil_tmp26 = __cil_tmp25 + __cil_tmp21;
76903#line 1732
76904  __cil_tmp27 = *((void (**)(struct fc_seq * ))__cil_tmp26);
76905#line 1732
76906  (*__cil_tmp27)(seq);
76907#line 1733
76908  fc_frame_free(fp);
76909  }
76910#line 1734
76911  return;
76912}
76913}
76914#line 1741 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
76915static void fc_fcp_srr_error(struct fc_fcp_pkt *fsp , struct fc_frame *fp ) 
76916{ int tmp___7 ;
76917  long tmp___8 ;
76918  u32 tmp___9 ;
76919  void    *__cil_tmp6 ;
76920  unsigned long __cil_tmp7 ;
76921  unsigned long __cil_tmp8 ;
76922  unsigned long __cil_tmp9 ;
76923  unsigned long __cil_tmp10 ;
76924  unsigned long __cil_tmp11 ;
76925  unsigned long __cil_tmp12 ;
76926  u32 __cil_tmp13 ;
76927  u8 __cil_tmp14 ;
76928  unsigned long __cil_tmp15 ;
76929  unsigned long __cil_tmp16 ;
76930  unsigned long __cil_tmp17 ;
76931  struct fc_lport *__cil_tmp18 ;
76932  unsigned long __cil_tmp19 ;
76933  unsigned long __cil_tmp20 ;
76934  void (*__cil_tmp21)(struct fc_seq * ) ;
76935  unsigned long __cil_tmp22 ;
76936  unsigned long __cil_tmp23 ;
76937  struct fc_seq *__cil_tmp24 ;
76938
76939  {
76940  {
76941#line 1743
76942  tmp___7 = fc_fcp_lock_pkt(fsp);
76943  }
76944#line 1743
76945  if (tmp___7) {
76946#line 1744
76947    goto out;
76948  } else {
76949
76950  }
76951  {
76952#line 1745
76953  __cil_tmp6 = (void    *)fp;
76954#line 1745
76955  tmp___8 = (long )PTR_ERR(__cil_tmp6);
76956  }
76957#line 1746
76958  if ((int )tmp___8 == -1) {
76959#line 1746
76960    goto case_neg_1;
76961  } else {
76962    {
76963#line 1754
76964    goto switch_default;
76965#line 1745
76966    if (0) {
76967      case_neg_1: /* CIL Label */ 
76968#line 1747
76969      __cil_tmp7 = (unsigned long )fsp;
76970#line 1747
76971      __cil_tmp8 = __cil_tmp7 + 228;
76972#line 1747
76973      tmp___9 = *((u32 *)__cil_tmp8);
76974#line 1747
76975      __cil_tmp9 = (unsigned long )fsp;
76976#line 1747
76977      __cil_tmp10 = __cil_tmp9 + 228;
76978#line 1747
76979      __cil_tmp11 = (unsigned long )fsp;
76980#line 1747
76981      __cil_tmp12 = __cil_tmp11 + 228;
76982#line 1747
76983      __cil_tmp13 = *((u32 *)__cil_tmp12);
76984#line 1747
76985      *((u32 *)__cil_tmp10) = __cil_tmp13 + 1U;
76986#line 1747
76987      if (tmp___9 < 3U) {
76988        {
76989#line 1748
76990        fc_fcp_rec(fsp);
76991        }
76992      } else {
76993        {
76994#line 1750
76995        __cil_tmp14 = (u8 )11;
76996#line 1750
76997        fc_fcp_recovery(fsp, __cil_tmp14);
76998        }
76999      }
77000#line 1751
77001      goto switch_break;
77002      switch_default: /* CIL Label */ 
77003      {
77004#line 1755
77005      fc_fcp_retry_cmd(fsp);
77006      }
77007#line 1756
77008      goto switch_break;
77009    } else {
77010      switch_break: /* CIL Label */ ;
77011    }
77012    }
77013  }
77014  {
77015#line 1758
77016  fc_fcp_unlock_pkt(fsp);
77017  }
77018  out: 
77019  {
77020#line 1760
77021  __cil_tmp15 = 328 + 80;
77022#line 1760
77023  __cil_tmp16 = (unsigned long )fsp;
77024#line 1760
77025  __cil_tmp17 = __cil_tmp16 + 56;
77026#line 1760
77027  __cil_tmp18 = *((struct fc_lport **)__cil_tmp17);
77028#line 1760
77029  __cil_tmp19 = (unsigned long )__cil_tmp18;
77030#line 1760
77031  __cil_tmp20 = __cil_tmp19 + __cil_tmp15;
77032#line 1760
77033  __cil_tmp21 = *((void (**)(struct fc_seq * ))__cil_tmp20);
77034#line 1760
77035  __cil_tmp22 = (unsigned long )fsp;
77036#line 1760
77037  __cil_tmp23 = __cil_tmp22 + 232;
77038#line 1760
77039  __cil_tmp24 = *((struct fc_seq **)__cil_tmp23);
77040#line 1760
77041  (*__cil_tmp21)(__cil_tmp24);
77042  }
77043#line 1761
77044  return;
77045}
77046}
77047#line 1767
77048__inline static int fc_fcp_lport_queue_ready(struct fc_lport *lport )  __attribute__((__no_instrument_function__)) ;
77049#line 1767 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
77050__inline static int fc_fcp_lport_queue_ready(struct fc_lport *lport ) 
77051{ int tmp___7 ;
77052  unsigned long __cil_tmp3 ;
77053  unsigned long __cil_tmp4 ;
77054  enum fc_lport_state __cil_tmp5 ;
77055  unsigned int __cil_tmp6 ;
77056  unsigned long __cil_tmp7 ;
77057  unsigned long __cil_tmp8 ;
77058  unsigned long __cil_tmp9 ;
77059  unsigned long __cil_tmp10 ;
77060  u8 __cil_tmp11 ;
77061
77062  {
77063  {
77064#line 1770
77065  __cil_tmp3 = (unsigned long )lport;
77066#line 1770
77067  __cil_tmp4 = __cil_tmp3 + 604;
77068#line 1770
77069  __cil_tmp5 = *((enum fc_lport_state *)__cil_tmp4);
77070#line 1770
77071  __cil_tmp6 = (unsigned int )__cil_tmp5;
77072#line 1770
77073  if (__cil_tmp6 == 14U) {
77074    {
77075#line 1770
77076    __cil_tmp7 = (unsigned long )lport;
77077#line 1770
77078    __cil_tmp8 = __cil_tmp7 + 600;
77079#line 1770
77080    if (*((u8 *)__cil_tmp8)) {
77081      {
77082#line 1770
77083      __cil_tmp9 = (unsigned long )lport;
77084#line 1770
77085      __cil_tmp10 = __cil_tmp9 + 601;
77086#line 1770
77087      __cil_tmp11 = *((u8 *)__cil_tmp10);
77088#line 1770
77089      if (! __cil_tmp11) {
77090#line 1770
77091        tmp___7 = 1;
77092      } else {
77093#line 1770
77094        tmp___7 = 0;
77095      }
77096      }
77097    } else {
77098#line 1770
77099      tmp___7 = 0;
77100    }
77101    }
77102  } else {
77103#line 1770
77104    tmp___7 = 0;
77105  }
77106  }
77107#line 1770
77108  return (tmp___7);
77109}
77110}
77111#line 1781 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
77112int fc_queuecommand(struct Scsi_Host *shost , struct scsi_cmnd *sc_cmd ) 
77113{ struct fc_lport *lport ;
77114  void *tmp___7 ;
77115  struct fc_rport *rport ;
77116  struct device    *__mptr ;
77117  struct scsi_target *tmp___10 ;
77118  struct fc_rport *tmp___11 ;
77119  struct scsi_target *tmp___12 ;
77120  int tmp___13 ;
77121  struct fc_fcp_pkt *fsp ;
77122  struct fc_rport_libfc_priv *rpriv ;
77123  int rval ;
77124  int rc ;
77125  struct fcoe_dev_stats *stats ;
77126  int tmp___14 ;
77127  void    *__vpp_verify ;
77128  unsigned long __ptr ;
77129  struct thread_info *tmp___15 ;
77130  int pfo_ret__ ;
77131  struct thread_info *tmp___16 ;
77132  struct scsi_device *__cil_tmp24 ;
77133  unsigned long __cil_tmp25 ;
77134  unsigned long __cil_tmp26 ;
77135  struct device *__cil_tmp27 ;
77136  struct device    *__cil_tmp28 ;
77137  struct scsi_device *__cil_tmp29 ;
77138  unsigned long __cil_tmp30 ;
77139  unsigned long __cil_tmp31 ;
77140  struct device *__cil_tmp32 ;
77141  struct fc_rport *__cil_tmp33 ;
77142  unsigned long __cil_tmp34 ;
77143  unsigned long __cil_tmp35 ;
77144  struct device *__cil_tmp36 ;
77145  unsigned int __cil_tmp37 ;
77146  char *__cil_tmp38 ;
77147  char *__cil_tmp39 ;
77148  void *__cil_tmp40 ;
77149  unsigned long __cil_tmp41 ;
77150  unsigned long __cil_tmp42 ;
77151  unsigned long __cil_tmp43 ;
77152  unsigned long __cil_tmp44 ;
77153  void (*__cil_tmp45)(struct scsi_cmnd * ) ;
77154  unsigned long __cil_tmp46 ;
77155  unsigned long __cil_tmp47 ;
77156  void *__cil_tmp48 ;
77157  struct fc_remote_port **__cil_tmp49 ;
77158  struct fc_remote_port *__cil_tmp50 ;
77159  unsigned long __cil_tmp51 ;
77160  unsigned long __cil_tmp52 ;
77161  unsigned long __cil_tmp53 ;
77162  unsigned long __cil_tmp54 ;
77163  void (*__cil_tmp55)(struct scsi_cmnd * ) ;
77164  unsigned long __cil_tmp56 ;
77165  unsigned long __cil_tmp57 ;
77166  void *__cil_tmp58 ;
77167  unsigned long __cil_tmp59 ;
77168  unsigned long __cil_tmp60 ;
77169  void *__cil_tmp61 ;
77170  unsigned long __cil_tmp62 ;
77171  unsigned long __cil_tmp63 ;
77172  unsigned long __cil_tmp64 ;
77173  unsigned long __cil_tmp65 ;
77174  unsigned long __cil_tmp66 ;
77175  unsigned long __cil_tmp67 ;
77176  unsigned long __cil_tmp68 ;
77177  unsigned long __cil_tmp69 ;
77178  unsigned long __cil_tmp70 ;
77179  unsigned long __cil_tmp71 ;
77180  void *__cil_tmp72 ;
77181  struct fcoe_dev_stats *__cil_tmp73 ;
77182  unsigned long __cil_tmp74 ;
77183  unsigned long __cil_tmp75 ;
77184  unsigned long __cil_tmp76 ;
77185  unsigned long __cil_tmp77 ;
77186  unsigned long __cil_tmp78 ;
77187  unsigned long __cil_tmp79 ;
77188  int __cil_tmp80 ;
77189  unsigned long __cil_tmp81 ;
77190  unsigned long __cil_tmp82 ;
77191  unsigned long __cil_tmp83 ;
77192  unsigned long __cil_tmp84 ;
77193  unsigned long __cil_tmp85 ;
77194  unsigned long __cil_tmp86 ;
77195  enum dma_data_direction __cil_tmp87 ;
77196  unsigned int __cil_tmp88 ;
77197  unsigned long __cil_tmp89 ;
77198  unsigned long __cil_tmp90 ;
77199  int __cil_tmp91 ;
77200  unsigned long __cil_tmp92 ;
77201  unsigned long __cil_tmp93 ;
77202  unsigned long __cil_tmp94 ;
77203  unsigned long __cil_tmp95 ;
77204  u64 __cil_tmp96 ;
77205  unsigned long __cil_tmp97 ;
77206  unsigned long __cil_tmp98 ;
77207  unsigned long __cil_tmp99 ;
77208  unsigned long __cil_tmp100 ;
77209  u32 __cil_tmp101 ;
77210  u64 __cil_tmp102 ;
77211  unsigned long __cil_tmp103 ;
77212  unsigned long __cil_tmp104 ;
77213  u64 __cil_tmp105 ;
77214  unsigned long __cil_tmp106 ;
77215  unsigned long __cil_tmp107 ;
77216  enum dma_data_direction __cil_tmp108 ;
77217  unsigned int __cil_tmp109 ;
77218  unsigned long __cil_tmp110 ;
77219  unsigned long __cil_tmp111 ;
77220  unsigned long __cil_tmp112 ;
77221  unsigned long __cil_tmp113 ;
77222  unsigned long __cil_tmp114 ;
77223  unsigned long __cil_tmp115 ;
77224  u64 __cil_tmp116 ;
77225  unsigned long __cil_tmp117 ;
77226  unsigned long __cil_tmp118 ;
77227  unsigned long __cil_tmp119 ;
77228  unsigned long __cil_tmp120 ;
77229  u32 __cil_tmp121 ;
77230  u64 __cil_tmp122 ;
77231  unsigned long __cil_tmp123 ;
77232  unsigned long __cil_tmp124 ;
77233  u64 __cil_tmp125 ;
77234  unsigned long __cil_tmp126 ;
77235  unsigned long __cil_tmp127 ;
77236  unsigned long __cil_tmp128 ;
77237  unsigned long __cil_tmp129 ;
77238  unsigned long __cil_tmp130 ;
77239  unsigned long __cil_tmp131 ;
77240  u64 __cil_tmp132 ;
77241  unsigned long __cil_tmp133 ;
77242  unsigned long __cil_tmp134 ;
77243  unsigned long __cil_tmp135 ;
77244  unsigned long __cil_tmp136 ;
77245  int __cil_tmp137 ;
77246  unsigned long __cil_tmp138 ;
77247  unsigned long __cil_tmp139 ;
77248
77249  {
77250  {
77251#line 1783
77252  tmp___7 = shost_priv(shost);
77253#line 1783
77254  lport = (struct fc_lport *)tmp___7;
77255#line 1784
77256  __cil_tmp24 = *((struct scsi_device **)sc_cmd);
77257#line 1784
77258  tmp___12 = scsi_target(__cil_tmp24);
77259#line 1784
77260  __cil_tmp25 = (unsigned long )tmp___12;
77261#line 1784
77262  __cil_tmp26 = __cil_tmp25 + 40;
77263#line 1784
77264  __cil_tmp27 = *((struct device **)__cil_tmp26);
77265#line 1784
77266  __cil_tmp28 = (struct device    *)__cil_tmp27;
77267#line 1784
77268  tmp___13 = scsi_is_fc_rport(__cil_tmp28);
77269  }
77270#line 1784
77271  if (tmp___13) {
77272    {
77273#line 1784
77274    __cil_tmp29 = *((struct scsi_device **)sc_cmd);
77275#line 1784
77276    tmp___10 = scsi_target(__cil_tmp29);
77277#line 1784
77278    __cil_tmp30 = (unsigned long )tmp___10;
77279#line 1784
77280    __cil_tmp31 = __cil_tmp30 + 40;
77281#line 1784
77282    __cil_tmp32 = *((struct device **)__cil_tmp31);
77283#line 1784
77284    __mptr = (struct device    *)__cil_tmp32;
77285#line 1784
77286    __cil_tmp33 = (struct fc_rport *)0;
77287#line 1784
77288    __cil_tmp34 = (unsigned long )__cil_tmp33;
77289#line 1784
77290    __cil_tmp35 = __cil_tmp34 + 96;
77291#line 1784
77292    __cil_tmp36 = (struct device *)__cil_tmp35;
77293#line 1784
77294    __cil_tmp37 = (unsigned int )__cil_tmp36;
77295#line 1784
77296    __cil_tmp38 = (char *)__mptr;
77297#line 1784
77298    __cil_tmp39 = __cil_tmp38 - __cil_tmp37;
77299#line 1784
77300    tmp___11 = (struct fc_rport *)__cil_tmp39;
77301    }
77302  } else {
77303#line 1784
77304    __cil_tmp40 = (void *)0;
77305#line 1784
77306    tmp___11 = (struct fc_rport *)__cil_tmp40;
77307  }
77308  {
77309#line 1784
77310  rport = tmp___11;
77311#line 1788
77312  rc = 0;
77313#line 1791
77314  rval = fc_remote_port_chkready(rport);
77315  }
77316#line 1792
77317  if (rval) {
77318    {
77319#line 1793
77320    __cil_tmp41 = (unsigned long )sc_cmd;
77321#line 1793
77322    __cil_tmp42 = __cil_tmp41 + 224;
77323#line 1793
77324    *((int *)__cil_tmp42) = rval;
77325#line 1794
77326    __cil_tmp43 = (unsigned long )sc_cmd;
77327#line 1794
77328    __cil_tmp44 = __cil_tmp43 + 144;
77329#line 1794
77330    __cil_tmp45 = *((void (**)(struct scsi_cmnd * ))__cil_tmp44);
77331#line 1794
77332    (*__cil_tmp45)(sc_cmd);
77333    }
77334#line 1795
77335    return (0);
77336  } else {
77337
77338  }
77339  {
77340#line 1798
77341  __cil_tmp46 = (unsigned long )rport;
77342#line 1798
77343  __cil_tmp47 = __cil_tmp46 + 56;
77344#line 1798
77345  __cil_tmp48 = *((void **)__cil_tmp47);
77346#line 1798
77347  __cil_tmp49 = (struct fc_remote_port **)__cil_tmp48;
77348#line 1798
77349  __cil_tmp50 = *__cil_tmp49;
77350#line 1798
77351  if (! __cil_tmp50) {
77352    {
77353#line 1803
77354    __cil_tmp51 = (unsigned long )sc_cmd;
77355#line 1803
77356    __cil_tmp52 = __cil_tmp51 + 224;
77357#line 1803
77358    *((int *)__cil_tmp52) = 12 << 16;
77359#line 1804
77360    __cil_tmp53 = (unsigned long )sc_cmd;
77361#line 1804
77362    __cil_tmp54 = __cil_tmp53 + 144;
77363#line 1804
77364    __cil_tmp55 = *((void (**)(struct scsi_cmnd * ))__cil_tmp54);
77365#line 1804
77366    (*__cil_tmp55)(sc_cmd);
77367    }
77368#line 1805
77369    goto out;
77370  } else {
77371
77372  }
77373  }
77374  {
77375#line 1808
77376  __cil_tmp56 = (unsigned long )rport;
77377#line 1808
77378  __cil_tmp57 = __cil_tmp56 + 56;
77379#line 1808
77380  __cil_tmp58 = *((void **)__cil_tmp57);
77381#line 1808
77382  rpriv = (struct fc_rport_libfc_priv *)__cil_tmp58;
77383#line 1810
77384  tmp___14 = fc_fcp_lport_queue_ready(lport);
77385  }
77386#line 1810
77387  if (tmp___14) {
77388
77389  } else {
77390    {
77391#line 1811
77392    __cil_tmp59 = (unsigned long )lport;
77393#line 1811
77394    __cil_tmp60 = __cil_tmp59 + 601;
77395#line 1811
77396    if (*((u8 *)__cil_tmp60)) {
77397      {
77398#line 1812
77399      fc_fcp_can_queue_ramp_down(lport);
77400      }
77401    } else {
77402
77403    }
77404    }
77405#line 1813
77406    rc = 4181;
77407#line 1814
77408    goto out;
77409  }
77410  {
77411#line 1817
77412  fsp = fc_fcp_pkt_alloc(lport, 32U);
77413  }
77414  {
77415#line 1818
77416  __cil_tmp61 = (void *)0;
77417#line 1818
77418  __cil_tmp62 = (unsigned long )__cil_tmp61;
77419#line 1818
77420  __cil_tmp63 = (unsigned long )fsp;
77421#line 1818
77422  if (__cil_tmp63 == __cil_tmp62) {
77423#line 1819
77424    rc = 4181;
77425#line 1820
77426    goto out;
77427  } else {
77428
77429  }
77430  }
77431  {
77432#line 1826
77433  __cil_tmp64 = (unsigned long )fsp;
77434#line 1826
77435  __cil_tmp65 = __cil_tmp64 + 32;
77436#line 1826
77437  *((struct scsi_cmnd **)__cil_tmp65) = sc_cmd;
77438#line 1827
77439  __cil_tmp66 = (unsigned long )fsp;
77440#line 1827
77441  __cil_tmp67 = __cil_tmp66 + 128;
77442#line 1827
77443  *((struct fc_rport **)__cil_tmp67) = rport;
77444#line 1832
77445  __cil_tmp68 = (unsigned long )fsp;
77446#line 1832
77447  __cil_tmp69 = __cil_tmp68 + 28;
77448#line 1832
77449  *((u32 *)__cil_tmp69) = scsi_bufflen(sc_cmd);
77450#line 1833
77451  __cil_tmp70 = (unsigned long )fsp;
77452#line 1833
77453  __cil_tmp71 = __cil_tmp70 + 80;
77454#line 1833
77455  *((size_t *)__cil_tmp71) = (size_t )0;
77456  }
77457  {
77458#line 1838
77459  while (1) {
77460    while_continue: /* CIL Label */ ;
77461#line 1838
77462    __cil_tmp72 = (void *)0;
77463#line 1838
77464    __cil_tmp73 = (struct fcoe_dev_stats *)__cil_tmp72;
77465#line 1838
77466    __vpp_verify = (void    *)__cil_tmp73;
77467#line 1838
77468    goto while_break;
77469  }
77470  while_break: /* CIL Label */ ;
77471  }
77472#line 1838
77473  __cil_tmp74 = (unsigned long )lport;
77474#line 1838
77475  __cil_tmp75 = __cil_tmp74 + 776;
77476#line 1838
77477  __asm__  ("": "=r" (__ptr): "0" (*((struct fcoe_dev_stats **)__cil_tmp75)));
77478  {
77479#line 1838
77480  while (1) {
77481    while_continue___0: /* CIL Label */ ;
77482    {
77483#line 1838
77484    while (1) {
77485      while_continue___1: /* CIL Label */ ;
77486      {
77487#line 1838
77488      tmp___15 = current_thread_info();
77489#line 1838
77490      __cil_tmp76 = (unsigned long )tmp___15;
77491#line 1838
77492      __cil_tmp77 = __cil_tmp76 + 28;
77493#line 1838
77494      __cil_tmp78 = (unsigned long )tmp___15;
77495#line 1838
77496      __cil_tmp79 = __cil_tmp78 + 28;
77497#line 1838
77498      __cil_tmp80 = *((int *)__cil_tmp79);
77499#line 1838
77500      *((int *)__cil_tmp77) = __cil_tmp80 + 1;
77501      }
77502#line 1838
77503      goto while_break___1;
77504    }
77505    while_break___1: /* CIL Label */ ;
77506    }
77507#line 1838
77508    __asm__  volatile   ("": : : "memory");
77509#line 1838
77510    goto while_break___0;
77511  }
77512  while_break___0: /* CIL Label */ ;
77513  }
77514#line 1838
77515  if ((int )4UL == 1) {
77516#line 1838
77517    goto case_1;
77518  } else
77519#line 1838
77520  if ((int )4UL == 2) {
77521#line 1838
77522    goto case_2;
77523  } else
77524#line 1838
77525  if ((int )4UL == 4) {
77526#line 1838
77527    goto case_4;
77528  } else
77529#line 1838
77530  if ((int )4UL == 8) {
77531#line 1838
77532    goto case_8;
77533  } else {
77534    {
77535#line 1838
77536    goto switch_default;
77537#line 1838
77538    if (0) {
77539      case_1: /* CIL Label */ 
77540#line 1838
77541      __asm__  ("mov"
77542                "b "
77543                "%%"
77544                "gs"
77545                ":"
77546                "%P"
77547                "1"
77548                ",%0": "=q" (pfo_ret__): "m" (cpu_number));
77549#line 1838
77550      goto switch_break;
77551      case_2: /* CIL Label */ 
77552#line 1838
77553      __asm__  ("mov"
77554                "w "
77555                "%%"
77556                "gs"
77557                ":"
77558                "%P"
77559                "1"
77560                ",%0": "=r" (pfo_ret__): "m" (cpu_number));
77561#line 1838
77562      goto switch_break;
77563      case_4: /* CIL Label */ 
77564#line 1838
77565      __asm__  ("mov"
77566                "l "
77567                "%%"
77568                "gs"
77569                ":"
77570                "%P"
77571                "1"
77572                ",%0": "=r" (pfo_ret__): "m" (cpu_number));
77573#line 1838
77574      goto switch_break;
77575      case_8: /* CIL Label */ 
77576#line 1838
77577      __asm__  ("mov"
77578                "q "
77579                "%%"
77580                "gs"
77581                ":"
77582                "%P"
77583                "1"
77584                ",%0": "=r" (pfo_ret__): "m" (cpu_number));
77585#line 1838
77586      goto switch_break;
77587      switch_default: /* CIL Label */ 
77588      {
77589#line 1838
77590      __bad_percpu_size();
77591      }
77592    } else {
77593      switch_break: /* CIL Label */ ;
77594    }
77595    }
77596  }
77597#line 1838
77598  __cil_tmp81 = pfo_ret__ * 8UL;
77599#line 1838
77600  __cil_tmp82 = (unsigned long )(__per_cpu_offset) + __cil_tmp81;
77601#line 1838
77602  __cil_tmp83 = *((unsigned long *)__cil_tmp82);
77603#line 1838
77604  __cil_tmp84 = __ptr + __cil_tmp83;
77605#line 1838
77606  stats = (struct fcoe_dev_stats *)__cil_tmp84;
77607  {
77608#line 1839
77609  __cil_tmp85 = (unsigned long )sc_cmd;
77610#line 1839
77611  __cil_tmp86 = __cil_tmp85 + 76;
77612#line 1839
77613  __cil_tmp87 = *((enum dma_data_direction *)__cil_tmp86);
77614#line 1839
77615  __cil_tmp88 = (unsigned int )__cil_tmp87;
77616#line 1839
77617  if (__cil_tmp88 == 2U) {
77618#line 1840
77619    __cil_tmp89 = (unsigned long )fsp;
77620#line 1840
77621    __cil_tmp90 = __cil_tmp89 + 72;
77622#line 1840
77623    __cil_tmp91 = 1 << 1;
77624#line 1840
77625    *((u32 *)__cil_tmp90) = (u32 )__cil_tmp91;
77626#line 1841
77627    __cil_tmp92 = (unsigned long )stats;
77628#line 1841
77629    __cil_tmp93 = __cil_tmp92 + 88;
77630#line 1841
77631    __cil_tmp94 = (unsigned long )stats;
77632#line 1841
77633    __cil_tmp95 = __cil_tmp94 + 88;
77634#line 1841
77635    __cil_tmp96 = *((u64 *)__cil_tmp95);
77636#line 1841
77637    *((u64 *)__cil_tmp93) = __cil_tmp96 + 1ULL;
77638#line 1842
77639    __cil_tmp97 = (unsigned long )stats;
77640#line 1842
77641    __cil_tmp98 = __cil_tmp97 + 112;
77642#line 1842
77643    __cil_tmp99 = (unsigned long )fsp;
77644#line 1842
77645    __cil_tmp100 = __cil_tmp99 + 28;
77646#line 1842
77647    __cil_tmp101 = *((u32 *)__cil_tmp100);
77648#line 1842
77649    __cil_tmp102 = (u64 )__cil_tmp101;
77650#line 1842
77651    __cil_tmp103 = (unsigned long )stats;
77652#line 1842
77653    __cil_tmp104 = __cil_tmp103 + 112;
77654#line 1842
77655    __cil_tmp105 = *((u64 *)__cil_tmp104);
77656#line 1842
77657    *((u64 *)__cil_tmp98) = __cil_tmp105 + __cil_tmp102;
77658  } else {
77659    {
77660#line 1843
77661    __cil_tmp106 = (unsigned long )sc_cmd;
77662#line 1843
77663    __cil_tmp107 = __cil_tmp106 + 76;
77664#line 1843
77665    __cil_tmp108 = *((enum dma_data_direction *)__cil_tmp107);
77666#line 1843
77667    __cil_tmp109 = (unsigned int )__cil_tmp108;
77668#line 1843
77669    if (__cil_tmp109 == 1U) {
77670#line 1844
77671      __cil_tmp110 = (unsigned long )fsp;
77672#line 1844
77673      __cil_tmp111 = __cil_tmp110 + 72;
77674#line 1844
77675      *((u32 *)__cil_tmp111) = (u32 )1;
77676#line 1845
77677      __cil_tmp112 = (unsigned long )stats;
77678#line 1845
77679      __cil_tmp113 = __cil_tmp112 + 96;
77680#line 1845
77681      __cil_tmp114 = (unsigned long )stats;
77682#line 1845
77683      __cil_tmp115 = __cil_tmp114 + 96;
77684#line 1845
77685      __cil_tmp116 = *((u64 *)__cil_tmp115);
77686#line 1845
77687      *((u64 *)__cil_tmp113) = __cil_tmp116 + 1ULL;
77688#line 1846
77689      __cil_tmp117 = (unsigned long )stats;
77690#line 1846
77691      __cil_tmp118 = __cil_tmp117 + 120;
77692#line 1846
77693      __cil_tmp119 = (unsigned long )fsp;
77694#line 1846
77695      __cil_tmp120 = __cil_tmp119 + 28;
77696#line 1846
77697      __cil_tmp121 = *((u32 *)__cil_tmp120);
77698#line 1846
77699      __cil_tmp122 = (u64 )__cil_tmp121;
77700#line 1846
77701      __cil_tmp123 = (unsigned long )stats;
77702#line 1846
77703      __cil_tmp124 = __cil_tmp123 + 120;
77704#line 1846
77705      __cil_tmp125 = *((u64 *)__cil_tmp124);
77706#line 1846
77707      *((u64 *)__cil_tmp118) = __cil_tmp125 + __cil_tmp122;
77708    } else {
77709#line 1848
77710      __cil_tmp126 = (unsigned long )fsp;
77711#line 1848
77712      __cil_tmp127 = __cil_tmp126 + 72;
77713#line 1848
77714      *((u32 *)__cil_tmp127) = (u32 )0;
77715#line 1849
77716      __cil_tmp128 = (unsigned long )stats;
77717#line 1849
77718      __cil_tmp129 = __cil_tmp128 + 104;
77719#line 1849
77720      __cil_tmp130 = (unsigned long )stats;
77721#line 1849
77722      __cil_tmp131 = __cil_tmp130 + 104;
77723#line 1849
77724      __cil_tmp132 = *((u64 *)__cil_tmp131);
77725#line 1849
77726      *((u64 *)__cil_tmp129) = __cil_tmp132 + 1ULL;
77727    }
77728    }
77729  }
77730  }
77731  {
77732#line 1851
77733  while (1) {
77734    while_continue___2: /* CIL Label */ ;
77735    {
77736#line 1851
77737    while (1) {
77738      while_continue___3: /* CIL Label */ ;
77739#line 1851
77740      __asm__  volatile   ("": : : "memory");
77741      {
77742#line 1851
77743      while (1) {
77744        while_continue___4: /* CIL Label */ ;
77745        {
77746#line 1851
77747        tmp___16 = current_thread_info();
77748#line 1851
77749        __cil_tmp133 = (unsigned long )tmp___16;
77750#line 1851
77751        __cil_tmp134 = __cil_tmp133 + 28;
77752#line 1851
77753        __cil_tmp135 = (unsigned long )tmp___16;
77754#line 1851
77755        __cil_tmp136 = __cil_tmp135 + 28;
77756#line 1851
77757        __cil_tmp137 = *((int *)__cil_tmp136);
77758#line 1851
77759        *((int *)__cil_tmp134) = __cil_tmp137 - 1;
77760        }
77761#line 1851
77762        goto while_break___4;
77763      }
77764      while_break___4: /* CIL Label */ ;
77765      }
77766#line 1851
77767      goto while_break___3;
77768    }
77769    while_break___3: /* CIL Label */ ;
77770    }
77771#line 1851
77772    __asm__  volatile   ("": : : "memory");
77773    {
77774#line 1851
77775    while (1) {
77776      while_continue___5: /* CIL Label */ ;
77777#line 1851
77778      goto while_break___5;
77779    }
77780    while_break___5: /* CIL Label */ ;
77781    }
77782#line 1851
77783    goto while_break___2;
77784  }
77785  while_break___2: /* CIL Label */ ;
77786  }
77787  {
77788#line 1858
77789  rval = fc_fcp_pkt_send(lport, fsp);
77790  }
77791#line 1859
77792  if (rval != 0) {
77793    {
77794#line 1860
77795    __cil_tmp138 = (unsigned long )fsp;
77796#line 1860
77797    __cil_tmp139 = __cil_tmp138 + 64;
77798#line 1860
77799    *((u8 *)__cil_tmp139) = (u8 )0;
77800#line 1861
77801    fc_fcp_pkt_release(fsp);
77802#line 1862
77803    rc = 4181;
77804    }
77805  } else {
77806
77807  }
77808  out: 
77809#line 1865
77810  return (rc);
77811}
77812}
77813#line 1867
77814extern void *__crc_fc_queuecommand  __attribute__((__weak__)) ;
77815#line 1867 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
77816static unsigned long    __kcrctab_fc_queuecommand  __attribute__((__used__, __unused__,
77817__section__("___kcrctab+fc_queuecommand")))  =    (unsigned long    )((unsigned long )(& __crc_fc_queuecommand));
77818#line 1867 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
77819static char    __kstrtab_fc_queuecommand[16]  __attribute__((__section__("__ksymtab_strings"),
77820__aligned__(1)))  = 
77821#line 1867
77822  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'q', 
77823        (char    )'u',      (char    )'e',      (char const   )'u',      (char const   )'e', 
77824        (char    )'c',      (char    )'o',      (char const   )'m',      (char const   )'m', 
77825        (char    )'a',      (char    )'n',      (char const   )'d',      (char const   )'\000'};
77826#line 1867 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
77827static struct kernel_symbol    __ksymtab_fc_queuecommand  __attribute__((__used__,
77828__unused__, __section__("___ksymtab+fc_queuecommand")))  =    {(unsigned long )(& fc_queuecommand), __kstrtab_fc_queuecommand};
77829#line 1876 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
77830static void fc_io_compl(struct fc_fcp_pkt *fsp ) 
77831{ struct fc_fcp_internal *si ;
77832  struct scsi_cmnd *sc_cmd ;
77833  struct fc_lport *lport ;
77834  unsigned long flags ;
77835  struct fc_exch *_ep ;
77836  struct fc_seq    *__mptr ;
77837  long tmp___7 ;
77838  struct fc_exch *_ep___0 ;
77839  struct fc_seq    *__mptr___0 ;
77840  long tmp___8 ;
77841  struct fc_exch *_ep___1 ;
77842  struct fc_seq    *__mptr___1 ;
77843  long tmp___9 ;
77844  struct fc_exch *_ep___2 ;
77845  struct fc_seq    *__mptr___2 ;
77846  long tmp___10 ;
77847  struct fc_exch *_ep___3 ;
77848  struct fc_seq    *__mptr___3 ;
77849  long tmp___11 ;
77850  struct fc_exch *_ep___4 ;
77851  struct fc_seq    *__mptr___4 ;
77852  long tmp___12 ;
77853  struct fc_exch *_ep___5 ;
77854  struct fc_seq    *__mptr___5 ;
77855  long tmp___13 ;
77856  struct fc_exch *_ep___6 ;
77857  struct fc_seq    *__mptr___6 ;
77858  long tmp___14 ;
77859  struct fc_exch *_ep___7 ;
77860  struct fc_seq    *__mptr___7 ;
77861  long tmp___15 ;
77862  struct fc_exch *_ep___8 ;
77863  struct fc_seq    *__mptr___8 ;
77864  long tmp___16 ;
77865  raw_spinlock_t *tmp___17 ;
77866  unsigned long __cil_tmp39 ;
77867  unsigned long __cil_tmp40 ;
77868  int __cil_tmp41 ;
77869  unsigned long __cil_tmp42 ;
77870  unsigned long __cil_tmp43 ;
77871  u8 __cil_tmp44 ;
77872  int __cil_tmp45 ;
77873  int __cil_tmp46 ;
77874  int __cil_tmp47 ;
77875  unsigned long __cil_tmp48 ;
77876  unsigned long __cil_tmp49 ;
77877  u8 __cil_tmp50 ;
77878  int __cil_tmp51 ;
77879  int __cil_tmp52 ;
77880  spinlock_t *__cil_tmp53 ;
77881  unsigned long __cil_tmp54 ;
77882  unsigned long __cil_tmp55 ;
77883  struct timer_list *__cil_tmp56 ;
77884  spinlock_t *__cil_tmp57 ;
77885  unsigned long __cil_tmp58 ;
77886  unsigned long __cil_tmp59 ;
77887  unsigned long __cil_tmp60 ;
77888  unsigned long __cil_tmp61 ;
77889  void *__cil_tmp62 ;
77890  unsigned long __cil_tmp63 ;
77891  unsigned long __cil_tmp64 ;
77892  unsigned long __cil_tmp65 ;
77893  unsigned long __cil_tmp66 ;
77894  unsigned long __cil_tmp67 ;
77895  unsigned long __cil_tmp68 ;
77896  unsigned long __cil_tmp69 ;
77897  unsigned long __cil_tmp70 ;
77898  unsigned long __cil_tmp71 ;
77899  u8 __cil_tmp72 ;
77900  unsigned long __cil_tmp73 ;
77901  unsigned long __cil_tmp74 ;
77902  u8 __cil_tmp75 ;
77903  unsigned long __cil_tmp76 ;
77904  unsigned long __cil_tmp77 ;
77905  u8 __cil_tmp78 ;
77906  int __cil_tmp79 ;
77907  unsigned long __cil_tmp80 ;
77908  unsigned long __cil_tmp81 ;
77909  unsigned long __cil_tmp82 ;
77910  unsigned long __cil_tmp83 ;
77911  unsigned long __cil_tmp84 ;
77912  unsigned long __cil_tmp85 ;
77913  unsigned long __cil_tmp86 ;
77914  unsigned long __cil_tmp87 ;
77915  unsigned long __cil_tmp88 ;
77916  u32 __cil_tmp89 ;
77917  unsigned long __cil_tmp90 ;
77918  unsigned long __cil_tmp91 ;
77919  unsigned long __cil_tmp92 ;
77920  unsigned long __cil_tmp93 ;
77921  u8 __cil_tmp94 ;
77922  unsigned int *__cil_tmp95 ;
77923  unsigned int __cil_tmp96 ;
77924  unsigned int __cil_tmp97 ;
77925  int __cil_tmp98 ;
77926  int __cil_tmp99 ;
77927  long __cil_tmp100 ;
77928  unsigned long __cil_tmp101 ;
77929  unsigned long __cil_tmp102 ;
77930  void *__cil_tmp103 ;
77931  unsigned long __cil_tmp104 ;
77932  unsigned long __cil_tmp105 ;
77933  struct fc_seq *__cil_tmp106 ;
77934  struct fc_exch *__cil_tmp107 ;
77935  unsigned long __cil_tmp108 ;
77936  unsigned long __cil_tmp109 ;
77937  struct fc_seq *__cil_tmp110 ;
77938  unsigned int __cil_tmp111 ;
77939  char *__cil_tmp112 ;
77940  char *__cil_tmp113 ;
77941  unsigned long __cil_tmp114 ;
77942  unsigned long __cil_tmp115 ;
77943  struct fc_lport *__cil_tmp116 ;
77944  struct Scsi_Host *__cil_tmp117 ;
77945  unsigned long __cil_tmp118 ;
77946  unsigned long __cil_tmp119 ;
77947  unsigned int __cil_tmp120 ;
77948  unsigned long __cil_tmp121 ;
77949  unsigned long __cil_tmp122 ;
77950  struct fc_rport *__cil_tmp123 ;
77951  unsigned long __cil_tmp124 ;
77952  unsigned long __cil_tmp125 ;
77953  u32 __cil_tmp126 ;
77954  unsigned long __cil_tmp127 ;
77955  unsigned long __cil_tmp128 ;
77956  u16 __cil_tmp129 ;
77957  int __cil_tmp130 ;
77958  unsigned long __cil_tmp131 ;
77959  unsigned long __cil_tmp132 ;
77960  u16 __cil_tmp133 ;
77961  int __cil_tmp134 ;
77962  unsigned long __cil_tmp135 ;
77963  unsigned long __cil_tmp136 ;
77964  struct fc_lport *__cil_tmp137 ;
77965  struct Scsi_Host *__cil_tmp138 ;
77966  unsigned long __cil_tmp139 ;
77967  unsigned long __cil_tmp140 ;
77968  unsigned int __cil_tmp141 ;
77969  unsigned long __cil_tmp142 ;
77970  unsigned long __cil_tmp143 ;
77971  struct fc_rport *__cil_tmp144 ;
77972  unsigned long __cil_tmp145 ;
77973  unsigned long __cil_tmp146 ;
77974  u32 __cil_tmp147 ;
77975  unsigned long __cil_tmp148 ;
77976  unsigned long __cil_tmp149 ;
77977  unsigned long __cil_tmp150 ;
77978  unsigned long __cil_tmp151 ;
77979  u8 __cil_tmp152 ;
77980  int __cil_tmp153 ;
77981  int __cil_tmp154 ;
77982  unsigned int __cil_tmp155 ;
77983  unsigned long __cil_tmp156 ;
77984  unsigned long __cil_tmp157 ;
77985  u32 __cil_tmp158 ;
77986  unsigned int __cil_tmp159 ;
77987  int __cil_tmp160 ;
77988  unsigned long __cil_tmp161 ;
77989  unsigned long __cil_tmp162 ;
77990  u8 __cil_tmp163 ;
77991  int __cil_tmp164 ;
77992  unsigned long __cil_tmp165 ;
77993  unsigned long __cil_tmp166 ;
77994  unsigned int *__cil_tmp167 ;
77995  unsigned int __cil_tmp168 ;
77996  unsigned int __cil_tmp169 ;
77997  int __cil_tmp170 ;
77998  int __cil_tmp171 ;
77999  long __cil_tmp172 ;
78000  unsigned long __cil_tmp173 ;
78001  unsigned long __cil_tmp174 ;
78002  void *__cil_tmp175 ;
78003  unsigned long __cil_tmp176 ;
78004  unsigned long __cil_tmp177 ;
78005  struct fc_seq *__cil_tmp178 ;
78006  struct fc_exch *__cil_tmp179 ;
78007  unsigned long __cil_tmp180 ;
78008  unsigned long __cil_tmp181 ;
78009  struct fc_seq *__cil_tmp182 ;
78010  unsigned int __cil_tmp183 ;
78011  char *__cil_tmp184 ;
78012  char *__cil_tmp185 ;
78013  unsigned long __cil_tmp186 ;
78014  unsigned long __cil_tmp187 ;
78015  struct fc_lport *__cil_tmp188 ;
78016  struct Scsi_Host *__cil_tmp189 ;
78017  unsigned long __cil_tmp190 ;
78018  unsigned long __cil_tmp191 ;
78019  unsigned int __cil_tmp192 ;
78020  unsigned long __cil_tmp193 ;
78021  unsigned long __cil_tmp194 ;
78022  struct fc_rport *__cil_tmp195 ;
78023  unsigned long __cil_tmp196 ;
78024  unsigned long __cil_tmp197 ;
78025  u32 __cil_tmp198 ;
78026  unsigned long __cil_tmp199 ;
78027  unsigned long __cil_tmp200 ;
78028  u16 __cil_tmp201 ;
78029  int __cil_tmp202 ;
78030  unsigned long __cil_tmp203 ;
78031  unsigned long __cil_tmp204 ;
78032  u16 __cil_tmp205 ;
78033  int __cil_tmp206 ;
78034  unsigned long __cil_tmp207 ;
78035  unsigned long __cil_tmp208 ;
78036  struct fc_lport *__cil_tmp209 ;
78037  struct Scsi_Host *__cil_tmp210 ;
78038  unsigned long __cil_tmp211 ;
78039  unsigned long __cil_tmp212 ;
78040  unsigned int __cil_tmp213 ;
78041  unsigned long __cil_tmp214 ;
78042  unsigned long __cil_tmp215 ;
78043  struct fc_rport *__cil_tmp216 ;
78044  unsigned long __cil_tmp217 ;
78045  unsigned long __cil_tmp218 ;
78046  u32 __cil_tmp219 ;
78047  unsigned long __cil_tmp220 ;
78048  unsigned long __cil_tmp221 ;
78049  unsigned int *__cil_tmp222 ;
78050  unsigned int __cil_tmp223 ;
78051  unsigned int __cil_tmp224 ;
78052  int __cil_tmp225 ;
78053  int __cil_tmp226 ;
78054  long __cil_tmp227 ;
78055  unsigned long __cil_tmp228 ;
78056  unsigned long __cil_tmp229 ;
78057  void *__cil_tmp230 ;
78058  unsigned long __cil_tmp231 ;
78059  unsigned long __cil_tmp232 ;
78060  struct fc_seq *__cil_tmp233 ;
78061  struct fc_exch *__cil_tmp234 ;
78062  unsigned long __cil_tmp235 ;
78063  unsigned long __cil_tmp236 ;
78064  struct fc_seq *__cil_tmp237 ;
78065  unsigned int __cil_tmp238 ;
78066  char *__cil_tmp239 ;
78067  char *__cil_tmp240 ;
78068  unsigned long __cil_tmp241 ;
78069  unsigned long __cil_tmp242 ;
78070  struct fc_lport *__cil_tmp243 ;
78071  struct Scsi_Host *__cil_tmp244 ;
78072  unsigned long __cil_tmp245 ;
78073  unsigned long __cil_tmp246 ;
78074  unsigned int __cil_tmp247 ;
78075  unsigned long __cil_tmp248 ;
78076  unsigned long __cil_tmp249 ;
78077  struct fc_rport *__cil_tmp250 ;
78078  unsigned long __cil_tmp251 ;
78079  unsigned long __cil_tmp252 ;
78080  u32 __cil_tmp253 ;
78081  unsigned long __cil_tmp254 ;
78082  unsigned long __cil_tmp255 ;
78083  u16 __cil_tmp256 ;
78084  int __cil_tmp257 ;
78085  unsigned long __cil_tmp258 ;
78086  unsigned long __cil_tmp259 ;
78087  u16 __cil_tmp260 ;
78088  int __cil_tmp261 ;
78089  unsigned long __cil_tmp262 ;
78090  unsigned long __cil_tmp263 ;
78091  struct fc_lport *__cil_tmp264 ;
78092  struct Scsi_Host *__cil_tmp265 ;
78093  unsigned long __cil_tmp266 ;
78094  unsigned long __cil_tmp267 ;
78095  unsigned int __cil_tmp268 ;
78096  unsigned long __cil_tmp269 ;
78097  unsigned long __cil_tmp270 ;
78098  struct fc_rport *__cil_tmp271 ;
78099  unsigned long __cil_tmp272 ;
78100  unsigned long __cil_tmp273 ;
78101  u32 __cil_tmp274 ;
78102  unsigned long __cil_tmp275 ;
78103  unsigned long __cil_tmp276 ;
78104  unsigned long __cil_tmp277 ;
78105  unsigned long __cil_tmp278 ;
78106  unsigned long __cil_tmp279 ;
78107  u32 __cil_tmp280 ;
78108  unsigned long __cil_tmp281 ;
78109  unsigned long __cil_tmp282 ;
78110  unsigned long __cil_tmp283 ;
78111  unsigned long __cil_tmp284 ;
78112  u8 __cil_tmp285 ;
78113  int __cil_tmp286 ;
78114  int __cil_tmp287 ;
78115  unsigned int *__cil_tmp288 ;
78116  unsigned int __cil_tmp289 ;
78117  unsigned int __cil_tmp290 ;
78118  int __cil_tmp291 ;
78119  int __cil_tmp292 ;
78120  long __cil_tmp293 ;
78121  unsigned long __cil_tmp294 ;
78122  unsigned long __cil_tmp295 ;
78123  void *__cil_tmp296 ;
78124  unsigned long __cil_tmp297 ;
78125  unsigned long __cil_tmp298 ;
78126  struct fc_seq *__cil_tmp299 ;
78127  struct fc_exch *__cil_tmp300 ;
78128  unsigned long __cil_tmp301 ;
78129  unsigned long __cil_tmp302 ;
78130  struct fc_seq *__cil_tmp303 ;
78131  unsigned int __cil_tmp304 ;
78132  char *__cil_tmp305 ;
78133  char *__cil_tmp306 ;
78134  unsigned long __cil_tmp307 ;
78135  unsigned long __cil_tmp308 ;
78136  struct fc_lport *__cil_tmp309 ;
78137  struct Scsi_Host *__cil_tmp310 ;
78138  unsigned long __cil_tmp311 ;
78139  unsigned long __cil_tmp312 ;
78140  unsigned int __cil_tmp313 ;
78141  unsigned long __cil_tmp314 ;
78142  unsigned long __cil_tmp315 ;
78143  struct fc_rport *__cil_tmp316 ;
78144  unsigned long __cil_tmp317 ;
78145  unsigned long __cil_tmp318 ;
78146  u32 __cil_tmp319 ;
78147  unsigned long __cil_tmp320 ;
78148  unsigned long __cil_tmp321 ;
78149  u16 __cil_tmp322 ;
78150  int __cil_tmp323 ;
78151  unsigned long __cil_tmp324 ;
78152  unsigned long __cil_tmp325 ;
78153  u16 __cil_tmp326 ;
78154  int __cil_tmp327 ;
78155  unsigned long __cil_tmp328 ;
78156  unsigned long __cil_tmp329 ;
78157  struct fc_lport *__cil_tmp330 ;
78158  struct Scsi_Host *__cil_tmp331 ;
78159  unsigned long __cil_tmp332 ;
78160  unsigned long __cil_tmp333 ;
78161  unsigned int __cil_tmp334 ;
78162  unsigned long __cil_tmp335 ;
78163  unsigned long __cil_tmp336 ;
78164  struct fc_rport *__cil_tmp337 ;
78165  unsigned long __cil_tmp338 ;
78166  unsigned long __cil_tmp339 ;
78167  u32 __cil_tmp340 ;
78168  unsigned long __cil_tmp341 ;
78169  unsigned long __cil_tmp342 ;
78170  unsigned long __cil_tmp343 ;
78171  unsigned long __cil_tmp344 ;
78172  u8 __cil_tmp345 ;
78173  int __cil_tmp346 ;
78174  int __cil_tmp347 ;
78175  unsigned int *__cil_tmp348 ;
78176  unsigned int __cil_tmp349 ;
78177  unsigned int __cil_tmp350 ;
78178  int __cil_tmp351 ;
78179  int __cil_tmp352 ;
78180  long __cil_tmp353 ;
78181  unsigned long __cil_tmp354 ;
78182  unsigned long __cil_tmp355 ;
78183  void *__cil_tmp356 ;
78184  unsigned long __cil_tmp357 ;
78185  unsigned long __cil_tmp358 ;
78186  struct fc_seq *__cil_tmp359 ;
78187  struct fc_exch *__cil_tmp360 ;
78188  unsigned long __cil_tmp361 ;
78189  unsigned long __cil_tmp362 ;
78190  struct fc_seq *__cil_tmp363 ;
78191  unsigned int __cil_tmp364 ;
78192  char *__cil_tmp365 ;
78193  char *__cil_tmp366 ;
78194  unsigned long __cil_tmp367 ;
78195  unsigned long __cil_tmp368 ;
78196  struct fc_lport *__cil_tmp369 ;
78197  struct Scsi_Host *__cil_tmp370 ;
78198  unsigned long __cil_tmp371 ;
78199  unsigned long __cil_tmp372 ;
78200  unsigned int __cil_tmp373 ;
78201  unsigned long __cil_tmp374 ;
78202  unsigned long __cil_tmp375 ;
78203  struct fc_rport *__cil_tmp376 ;
78204  unsigned long __cil_tmp377 ;
78205  unsigned long __cil_tmp378 ;
78206  u32 __cil_tmp379 ;
78207  unsigned long __cil_tmp380 ;
78208  unsigned long __cil_tmp381 ;
78209  u16 __cil_tmp382 ;
78210  int __cil_tmp383 ;
78211  unsigned long __cil_tmp384 ;
78212  unsigned long __cil_tmp385 ;
78213  u16 __cil_tmp386 ;
78214  int __cil_tmp387 ;
78215  unsigned long __cil_tmp388 ;
78216  unsigned long __cil_tmp389 ;
78217  struct fc_lport *__cil_tmp390 ;
78218  struct Scsi_Host *__cil_tmp391 ;
78219  unsigned long __cil_tmp392 ;
78220  unsigned long __cil_tmp393 ;
78221  unsigned int __cil_tmp394 ;
78222  unsigned long __cil_tmp395 ;
78223  unsigned long __cil_tmp396 ;
78224  struct fc_rport *__cil_tmp397 ;
78225  unsigned long __cil_tmp398 ;
78226  unsigned long __cil_tmp399 ;
78227  u32 __cil_tmp400 ;
78228  unsigned long __cil_tmp401 ;
78229  unsigned long __cil_tmp402 ;
78230  unsigned long __cil_tmp403 ;
78231  unsigned long __cil_tmp404 ;
78232  u32 __cil_tmp405 ;
78233  int __cil_tmp406 ;
78234  unsigned int __cil_tmp407 ;
78235  unsigned int __cil_tmp408 ;
78236  unsigned int *__cil_tmp409 ;
78237  unsigned int __cil_tmp410 ;
78238  unsigned int __cil_tmp411 ;
78239  int __cil_tmp412 ;
78240  int __cil_tmp413 ;
78241  long __cil_tmp414 ;
78242  unsigned long __cil_tmp415 ;
78243  unsigned long __cil_tmp416 ;
78244  void *__cil_tmp417 ;
78245  unsigned long __cil_tmp418 ;
78246  unsigned long __cil_tmp419 ;
78247  struct fc_seq *__cil_tmp420 ;
78248  struct fc_exch *__cil_tmp421 ;
78249  unsigned long __cil_tmp422 ;
78250  unsigned long __cil_tmp423 ;
78251  struct fc_seq *__cil_tmp424 ;
78252  unsigned int __cil_tmp425 ;
78253  char *__cil_tmp426 ;
78254  char *__cil_tmp427 ;
78255  unsigned long __cil_tmp428 ;
78256  unsigned long __cil_tmp429 ;
78257  struct fc_lport *__cil_tmp430 ;
78258  struct Scsi_Host *__cil_tmp431 ;
78259  unsigned long __cil_tmp432 ;
78260  unsigned long __cil_tmp433 ;
78261  unsigned int __cil_tmp434 ;
78262  unsigned long __cil_tmp435 ;
78263  unsigned long __cil_tmp436 ;
78264  struct fc_rport *__cil_tmp437 ;
78265  unsigned long __cil_tmp438 ;
78266  unsigned long __cil_tmp439 ;
78267  u32 __cil_tmp440 ;
78268  unsigned long __cil_tmp441 ;
78269  unsigned long __cil_tmp442 ;
78270  u16 __cil_tmp443 ;
78271  int __cil_tmp444 ;
78272  unsigned long __cil_tmp445 ;
78273  unsigned long __cil_tmp446 ;
78274  u16 __cil_tmp447 ;
78275  int __cil_tmp448 ;
78276  unsigned long __cil_tmp449 ;
78277  unsigned long __cil_tmp450 ;
78278  struct fc_lport *__cil_tmp451 ;
78279  struct Scsi_Host *__cil_tmp452 ;
78280  unsigned long __cil_tmp453 ;
78281  unsigned long __cil_tmp454 ;
78282  unsigned int __cil_tmp455 ;
78283  unsigned long __cil_tmp456 ;
78284  unsigned long __cil_tmp457 ;
78285  struct fc_rport *__cil_tmp458 ;
78286  unsigned long __cil_tmp459 ;
78287  unsigned long __cil_tmp460 ;
78288  u32 __cil_tmp461 ;
78289  unsigned long __cil_tmp462 ;
78290  unsigned long __cil_tmp463 ;
78291  unsigned int *__cil_tmp464 ;
78292  unsigned int __cil_tmp465 ;
78293  unsigned int __cil_tmp466 ;
78294  int __cil_tmp467 ;
78295  int __cil_tmp468 ;
78296  long __cil_tmp469 ;
78297  unsigned long __cil_tmp470 ;
78298  unsigned long __cil_tmp471 ;
78299  void *__cil_tmp472 ;
78300  unsigned long __cil_tmp473 ;
78301  unsigned long __cil_tmp474 ;
78302  struct fc_seq *__cil_tmp475 ;
78303  struct fc_exch *__cil_tmp476 ;
78304  unsigned long __cil_tmp477 ;
78305  unsigned long __cil_tmp478 ;
78306  struct fc_seq *__cil_tmp479 ;
78307  unsigned int __cil_tmp480 ;
78308  char *__cil_tmp481 ;
78309  char *__cil_tmp482 ;
78310  unsigned long __cil_tmp483 ;
78311  unsigned long __cil_tmp484 ;
78312  struct fc_lport *__cil_tmp485 ;
78313  struct Scsi_Host *__cil_tmp486 ;
78314  unsigned long __cil_tmp487 ;
78315  unsigned long __cil_tmp488 ;
78316  unsigned int __cil_tmp489 ;
78317  unsigned long __cil_tmp490 ;
78318  unsigned long __cil_tmp491 ;
78319  struct fc_rport *__cil_tmp492 ;
78320  unsigned long __cil_tmp493 ;
78321  unsigned long __cil_tmp494 ;
78322  u32 __cil_tmp495 ;
78323  unsigned long __cil_tmp496 ;
78324  unsigned long __cil_tmp497 ;
78325  u16 __cil_tmp498 ;
78326  int __cil_tmp499 ;
78327  unsigned long __cil_tmp500 ;
78328  unsigned long __cil_tmp501 ;
78329  u16 __cil_tmp502 ;
78330  int __cil_tmp503 ;
78331  unsigned long __cil_tmp504 ;
78332  unsigned long __cil_tmp505 ;
78333  struct fc_lport *__cil_tmp506 ;
78334  struct Scsi_Host *__cil_tmp507 ;
78335  unsigned long __cil_tmp508 ;
78336  unsigned long __cil_tmp509 ;
78337  unsigned int __cil_tmp510 ;
78338  unsigned long __cil_tmp511 ;
78339  unsigned long __cil_tmp512 ;
78340  struct fc_rport *__cil_tmp513 ;
78341  unsigned long __cil_tmp514 ;
78342  unsigned long __cil_tmp515 ;
78343  u32 __cil_tmp516 ;
78344  unsigned long __cil_tmp517 ;
78345  unsigned long __cil_tmp518 ;
78346  unsigned int *__cil_tmp519 ;
78347  unsigned int __cil_tmp520 ;
78348  unsigned int __cil_tmp521 ;
78349  int __cil_tmp522 ;
78350  int __cil_tmp523 ;
78351  long __cil_tmp524 ;
78352  unsigned long __cil_tmp525 ;
78353  unsigned long __cil_tmp526 ;
78354  void *__cil_tmp527 ;
78355  unsigned long __cil_tmp528 ;
78356  unsigned long __cil_tmp529 ;
78357  struct fc_seq *__cil_tmp530 ;
78358  struct fc_exch *__cil_tmp531 ;
78359  unsigned long __cil_tmp532 ;
78360  unsigned long __cil_tmp533 ;
78361  struct fc_seq *__cil_tmp534 ;
78362  unsigned int __cil_tmp535 ;
78363  char *__cil_tmp536 ;
78364  char *__cil_tmp537 ;
78365  unsigned long __cil_tmp538 ;
78366  unsigned long __cil_tmp539 ;
78367  struct fc_lport *__cil_tmp540 ;
78368  struct Scsi_Host *__cil_tmp541 ;
78369  unsigned long __cil_tmp542 ;
78370  unsigned long __cil_tmp543 ;
78371  unsigned int __cil_tmp544 ;
78372  unsigned long __cil_tmp545 ;
78373  unsigned long __cil_tmp546 ;
78374  struct fc_rport *__cil_tmp547 ;
78375  unsigned long __cil_tmp548 ;
78376  unsigned long __cil_tmp549 ;
78377  u32 __cil_tmp550 ;
78378  unsigned long __cil_tmp551 ;
78379  unsigned long __cil_tmp552 ;
78380  u16 __cil_tmp553 ;
78381  int __cil_tmp554 ;
78382  unsigned long __cil_tmp555 ;
78383  unsigned long __cil_tmp556 ;
78384  u16 __cil_tmp557 ;
78385  int __cil_tmp558 ;
78386  unsigned long __cil_tmp559 ;
78387  unsigned long __cil_tmp560 ;
78388  struct fc_lport *__cil_tmp561 ;
78389  struct Scsi_Host *__cil_tmp562 ;
78390  unsigned long __cil_tmp563 ;
78391  unsigned long __cil_tmp564 ;
78392  unsigned int __cil_tmp565 ;
78393  unsigned long __cil_tmp566 ;
78394  unsigned long __cil_tmp567 ;
78395  struct fc_rport *__cil_tmp568 ;
78396  unsigned long __cil_tmp569 ;
78397  unsigned long __cil_tmp570 ;
78398  u32 __cil_tmp571 ;
78399  unsigned long __cil_tmp572 ;
78400  unsigned long __cil_tmp573 ;
78401  unsigned int *__cil_tmp574 ;
78402  unsigned int __cil_tmp575 ;
78403  unsigned int __cil_tmp576 ;
78404  int __cil_tmp577 ;
78405  int __cil_tmp578 ;
78406  long __cil_tmp579 ;
78407  unsigned long __cil_tmp580 ;
78408  unsigned long __cil_tmp581 ;
78409  void *__cil_tmp582 ;
78410  unsigned long __cil_tmp583 ;
78411  unsigned long __cil_tmp584 ;
78412  struct fc_seq *__cil_tmp585 ;
78413  struct fc_exch *__cil_tmp586 ;
78414  unsigned long __cil_tmp587 ;
78415  unsigned long __cil_tmp588 ;
78416  struct fc_seq *__cil_tmp589 ;
78417  unsigned int __cil_tmp590 ;
78418  char *__cil_tmp591 ;
78419  char *__cil_tmp592 ;
78420  unsigned long __cil_tmp593 ;
78421  unsigned long __cil_tmp594 ;
78422  struct fc_lport *__cil_tmp595 ;
78423  struct Scsi_Host *__cil_tmp596 ;
78424  unsigned long __cil_tmp597 ;
78425  unsigned long __cil_tmp598 ;
78426  unsigned int __cil_tmp599 ;
78427  unsigned long __cil_tmp600 ;
78428  unsigned long __cil_tmp601 ;
78429  struct fc_rport *__cil_tmp602 ;
78430  unsigned long __cil_tmp603 ;
78431  unsigned long __cil_tmp604 ;
78432  u32 __cil_tmp605 ;
78433  unsigned long __cil_tmp606 ;
78434  unsigned long __cil_tmp607 ;
78435  u16 __cil_tmp608 ;
78436  int __cil_tmp609 ;
78437  unsigned long __cil_tmp610 ;
78438  unsigned long __cil_tmp611 ;
78439  u16 __cil_tmp612 ;
78440  int __cil_tmp613 ;
78441  unsigned long __cil_tmp614 ;
78442  unsigned long __cil_tmp615 ;
78443  struct fc_lport *__cil_tmp616 ;
78444  struct Scsi_Host *__cil_tmp617 ;
78445  unsigned long __cil_tmp618 ;
78446  unsigned long __cil_tmp619 ;
78447  unsigned int __cil_tmp620 ;
78448  unsigned long __cil_tmp621 ;
78449  unsigned long __cil_tmp622 ;
78450  struct fc_rport *__cil_tmp623 ;
78451  unsigned long __cil_tmp624 ;
78452  unsigned long __cil_tmp625 ;
78453  u32 __cil_tmp626 ;
78454  unsigned long __cil_tmp627 ;
78455  unsigned long __cil_tmp628 ;
78456  unsigned long __cil_tmp629 ;
78457  unsigned long __cil_tmp630 ;
78458  u32 __cil_tmp631 ;
78459  int __cil_tmp632 ;
78460  unsigned int __cil_tmp633 ;
78461  unsigned int __cil_tmp634 ;
78462  unsigned int *__cil_tmp635 ;
78463  unsigned int __cil_tmp636 ;
78464  unsigned int __cil_tmp637 ;
78465  int __cil_tmp638 ;
78466  int __cil_tmp639 ;
78467  long __cil_tmp640 ;
78468  unsigned long __cil_tmp641 ;
78469  unsigned long __cil_tmp642 ;
78470  void *__cil_tmp643 ;
78471  unsigned long __cil_tmp644 ;
78472  unsigned long __cil_tmp645 ;
78473  struct fc_seq *__cil_tmp646 ;
78474  struct fc_exch *__cil_tmp647 ;
78475  unsigned long __cil_tmp648 ;
78476  unsigned long __cil_tmp649 ;
78477  struct fc_seq *__cil_tmp650 ;
78478  unsigned int __cil_tmp651 ;
78479  char *__cil_tmp652 ;
78480  char *__cil_tmp653 ;
78481  unsigned long __cil_tmp654 ;
78482  unsigned long __cil_tmp655 ;
78483  struct fc_lport *__cil_tmp656 ;
78484  struct Scsi_Host *__cil_tmp657 ;
78485  unsigned long __cil_tmp658 ;
78486  unsigned long __cil_tmp659 ;
78487  unsigned int __cil_tmp660 ;
78488  unsigned long __cil_tmp661 ;
78489  unsigned long __cil_tmp662 ;
78490  struct fc_rport *__cil_tmp663 ;
78491  unsigned long __cil_tmp664 ;
78492  unsigned long __cil_tmp665 ;
78493  u32 __cil_tmp666 ;
78494  unsigned long __cil_tmp667 ;
78495  unsigned long __cil_tmp668 ;
78496  u16 __cil_tmp669 ;
78497  int __cil_tmp670 ;
78498  unsigned long __cil_tmp671 ;
78499  unsigned long __cil_tmp672 ;
78500  u16 __cil_tmp673 ;
78501  int __cil_tmp674 ;
78502  unsigned long __cil_tmp675 ;
78503  unsigned long __cil_tmp676 ;
78504  struct fc_lport *__cil_tmp677 ;
78505  struct Scsi_Host *__cil_tmp678 ;
78506  unsigned long __cil_tmp679 ;
78507  unsigned long __cil_tmp680 ;
78508  unsigned int __cil_tmp681 ;
78509  unsigned long __cil_tmp682 ;
78510  unsigned long __cil_tmp683 ;
78511  struct fc_rport *__cil_tmp684 ;
78512  unsigned long __cil_tmp685 ;
78513  unsigned long __cil_tmp686 ;
78514  u32 __cil_tmp687 ;
78515  unsigned long __cil_tmp688 ;
78516  unsigned long __cil_tmp689 ;
78517  unsigned long __cil_tmp690 ;
78518  unsigned long __cil_tmp691 ;
78519  enum fc_lport_state __cil_tmp692 ;
78520  unsigned int __cil_tmp693 ;
78521  unsigned long __cil_tmp694 ;
78522  unsigned long __cil_tmp695 ;
78523  u8 __cil_tmp696 ;
78524  int __cil_tmp697 ;
78525  unsigned long __cil_tmp698 ;
78526  unsigned long __cil_tmp699 ;
78527  unsigned long __cil_tmp700 ;
78528  unsigned long __cil_tmp701 ;
78529  spinlock_t *__cil_tmp702 ;
78530  unsigned long __cil_tmp703 ;
78531  unsigned long __cil_tmp704 ;
78532  struct list_head *__cil_tmp705 ;
78533  unsigned long __cil_tmp706 ;
78534  unsigned long __cil_tmp707 ;
78535  void *__cil_tmp708 ;
78536  unsigned long __cil_tmp709 ;
78537  unsigned long __cil_tmp710 ;
78538  spinlock_t *__cil_tmp711 ;
78539  unsigned long __cil_tmp712 ;
78540  unsigned long __cil_tmp713 ;
78541  void (*__cil_tmp714)(struct scsi_cmnd * ) ;
78542
78543  {
78544  {
78545#line 1884
78546  fc_fcp_ddp_done(fsp);
78547#line 1886
78548  __cil_tmp39 = (unsigned long )fsp;
78549#line 1886
78550  __cil_tmp40 = __cil_tmp39 + 64;
78551#line 1886
78552  __cil_tmp41 = 1 << 5;
78553#line 1886
78554  __cil_tmp42 = (unsigned long )fsp;
78555#line 1886
78556  __cil_tmp43 = __cil_tmp42 + 64;
78557#line 1886
78558  __cil_tmp44 = *((u8 *)__cil_tmp43);
78559#line 1886
78560  __cil_tmp45 = (int )__cil_tmp44;
78561#line 1886
78562  __cil_tmp46 = __cil_tmp45 | __cil_tmp41;
78563#line 1886
78564  *((u8 *)__cil_tmp40) = (u8 )__cil_tmp46;
78565  }
78566  {
78567#line 1887
78568  __cil_tmp47 = 1 << 6;
78569#line 1887
78570  __cil_tmp48 = (unsigned long )fsp;
78571#line 1887
78572  __cil_tmp49 = __cil_tmp48 + 64;
78573#line 1887
78574  __cil_tmp50 = *((u8 *)__cil_tmp49);
78575#line 1887
78576  __cil_tmp51 = (int )__cil_tmp50;
78577#line 1887
78578  __cil_tmp52 = __cil_tmp51 & __cil_tmp47;
78579#line 1887
78580  if (! __cil_tmp52) {
78581    {
78582#line 1888
78583    __cil_tmp53 = (spinlock_t *)fsp;
78584#line 1888
78585    spin_unlock_bh(__cil_tmp53);
78586#line 1889
78587    __cil_tmp54 = (unsigned long )fsp;
78588#line 1889
78589    __cil_tmp55 = __cil_tmp54 + 144;
78590#line 1889
78591    __cil_tmp56 = (struct timer_list *)__cil_tmp55;
78592#line 1889
78593    del_timer_sync(__cil_tmp56);
78594#line 1890
78595    __cil_tmp57 = (spinlock_t *)fsp;
78596#line 1890
78597    spin_lock_bh(__cil_tmp57);
78598    }
78599  } else {
78600
78601  }
78602  }
78603#line 1893
78604  __cil_tmp58 = (unsigned long )fsp;
78605#line 1893
78606  __cil_tmp59 = __cil_tmp58 + 56;
78607#line 1893
78608  lport = *((struct fc_lport **)__cil_tmp59);
78609#line 1894
78610  __cil_tmp60 = (unsigned long )lport;
78611#line 1894
78612  __cil_tmp61 = __cil_tmp60 + 48;
78613#line 1894
78614  __cil_tmp62 = *((void **)__cil_tmp61);
78615#line 1894
78616  si = (struct fc_fcp_internal *)__cil_tmp62;
78617  {
78618#line 1900
78619  __cil_tmp63 = (unsigned long )si;
78620#line 1900
78621  __cil_tmp64 = __cil_tmp63 + 48;
78622#line 1900
78623  if (*((unsigned long *)__cil_tmp64)) {
78624    {
78625#line 1901
78626    fc_fcp_can_queue_ramp_up(lport);
78627    }
78628  } else {
78629
78630  }
78631  }
78632#line 1903
78633  __cil_tmp65 = (unsigned long )fsp;
78634#line 1903
78635  __cil_tmp66 = __cil_tmp65 + 32;
78636#line 1903
78637  sc_cmd = *((struct scsi_cmnd **)__cil_tmp66);
78638#line 1904
78639  __cil_tmp67 = 152 + 40;
78640#line 1904
78641  __cil_tmp68 = (unsigned long )sc_cmd;
78642#line 1904
78643  __cil_tmp69 = __cil_tmp68 + __cil_tmp67;
78644#line 1904
78645  __cil_tmp70 = (unsigned long )fsp;
78646#line 1904
78647  __cil_tmp71 = __cil_tmp70 + 65;
78648#line 1904
78649  __cil_tmp72 = *((u8 *)__cil_tmp71);
78650#line 1904
78651  *((int volatile   *)__cil_tmp69) = (int volatile   )__cil_tmp72;
78652  {
78653#line 1905
78654  __cil_tmp73 = (unsigned long )fsp;
78655#line 1905
78656  __cil_tmp74 = __cil_tmp73 + 66;
78657#line 1905
78658  __cil_tmp75 = *((u8 *)__cil_tmp74);
78659#line 1906
78660  if ((int )__cil_tmp75 == 0) {
78661#line 1906
78662    goto case_0;
78663  } else
78664#line 1922
78665  if ((int )__cil_tmp75 == 8) {
78666#line 1922
78667    goto case_8;
78668  } else
78669#line 1927
78670  if ((int )__cil_tmp75 == 7) {
78671#line 1927
78672    goto case_7;
78673  } else
78674#line 1950
78675  if ((int )__cil_tmp75 == 6) {
78676#line 1950
78677    goto case_6;
78678  } else
78679#line 1958
78680  if ((int )__cil_tmp75 == 1) {
78681#line 1958
78682    goto case_1;
78683  } else
78684#line 1963
78685  if ((int )__cil_tmp75 == 2) {
78686#line 1963
78687    goto case_2;
78688  } else
78689#line 1968
78690  if ((int )__cil_tmp75 == 9) {
78691#line 1968
78692    goto case_9;
78693  } else
78694#line 1973
78695  if ((int )__cil_tmp75 == 10) {
78696#line 1973
78697    goto case_10;
78698  } else
78699#line 1978
78700  if ((int )__cil_tmp75 == 11) {
78701#line 1978
78702    goto case_11;
78703  } else {
78704    {
78705#line 1983
78706    goto switch_default;
78707#line 1905
78708    if (0) {
78709      case_0: /* CIL Label */ 
78710      {
78711#line 1907
78712      __cil_tmp76 = (unsigned long )fsp;
78713#line 1907
78714      __cil_tmp77 = __cil_tmp76 + 65;
78715#line 1907
78716      __cil_tmp78 = *((u8 *)__cil_tmp77);
78717#line 1907
78718      __cil_tmp79 = (int )__cil_tmp78;
78719#line 1907
78720      if (__cil_tmp79 == 0) {
78721#line 1911
78722        __cil_tmp80 = (unsigned long )sc_cmd;
78723#line 1911
78724        __cil_tmp81 = __cil_tmp80 + 224;
78725#line 1911
78726        *((int *)__cil_tmp81) = 0;
78727        {
78728#line 1912
78729        __cil_tmp82 = (unsigned long )fsp;
78730#line 1912
78731        __cil_tmp83 = __cil_tmp82 + 76;
78732#line 1912
78733        if (*((u32 *)__cil_tmp83)) {
78734#line 1913
78735          __cil_tmp84 = 152 + 24;
78736#line 1913
78737          __cil_tmp85 = (unsigned long )sc_cmd;
78738#line 1913
78739          __cil_tmp86 = __cil_tmp85 + __cil_tmp84;
78740#line 1913
78741          __cil_tmp87 = (unsigned long )fsp;
78742#line 1913
78743          __cil_tmp88 = __cil_tmp87 + 76;
78744#line 1913
78745          __cil_tmp89 = *((u32 *)__cil_tmp88);
78746#line 1913
78747          *((int *)__cil_tmp86) = (int )__cil_tmp89;
78748        } else {
78749
78750        }
78751        }
78752      } else {
78753#line 1919
78754        __cil_tmp90 = (unsigned long )sc_cmd;
78755#line 1919
78756        __cil_tmp91 = __cil_tmp90 + 224;
78757#line 1919
78758        __cil_tmp92 = (unsigned long )fsp;
78759#line 1919
78760        __cil_tmp93 = __cil_tmp92 + 65;
78761#line 1919
78762        __cil_tmp94 = *((u8 *)__cil_tmp93);
78763#line 1919
78764        *((int *)__cil_tmp91) = (int )__cil_tmp94;
78765      }
78766      }
78767#line 1921
78768      goto switch_break;
78769      case_8: /* CIL Label */ 
78770      {
78771#line 1923
78772      while (1) {
78773        while_continue: /* CIL Label */ ;
78774        {
78775#line 1923
78776        __cil_tmp95 = & fc_debug_logging;
78777#line 1923
78778        __cil_tmp96 = *__cil_tmp95;
78779#line 1923
78780        __cil_tmp97 = __cil_tmp96 & 16U;
78781#line 1923
78782        __cil_tmp98 = ! __cil_tmp97;
78783#line 1923
78784        __cil_tmp99 = ! __cil_tmp98;
78785#line 1923
78786        __cil_tmp100 = (long )__cil_tmp99;
78787#line 1923
78788        tmp___7 = __builtin_expect(__cil_tmp100, 0L);
78789        }
78790#line 1923
78791        if (tmp___7) {
78792          {
78793#line 1923
78794          while (1) {
78795            while_continue___0: /* CIL Label */ ;
78796            {
78797#line 1923
78798            __cil_tmp101 = (unsigned long )fsp;
78799#line 1923
78800            __cil_tmp102 = __cil_tmp101 + 136;
78801#line 1923
78802            if (*((struct fc_seq **)__cil_tmp102)) {
78803              {
78804#line 1923
78805              __cil_tmp103 = (void *)0;
78806#line 1923
78807              _ep = (struct fc_exch *)__cil_tmp103;
78808#line 1923
78809              __cil_tmp104 = (unsigned long )fsp;
78810#line 1923
78811              __cil_tmp105 = __cil_tmp104 + 136;
78812#line 1923
78813              __cil_tmp106 = *((struct fc_seq **)__cil_tmp105);
78814#line 1923
78815              __mptr = (struct fc_seq    *)__cil_tmp106;
78816#line 1923
78817              __cil_tmp107 = (struct fc_exch *)0;
78818#line 1923
78819              __cil_tmp108 = (unsigned long )__cil_tmp107;
78820#line 1923
78821              __cil_tmp109 = __cil_tmp108 + 108;
78822#line 1923
78823              __cil_tmp110 = (struct fc_seq *)__cil_tmp109;
78824#line 1923
78825              __cil_tmp111 = (unsigned int )__cil_tmp110;
78826#line 1923
78827              __cil_tmp112 = (char *)__mptr;
78828#line 1923
78829              __cil_tmp113 = __cil_tmp112 - __cil_tmp111;
78830#line 1923
78831              _ep = (struct fc_exch *)__cil_tmp113;
78832#line 1923
78833              __cil_tmp114 = (unsigned long )fsp;
78834#line 1923
78835              __cil_tmp115 = __cil_tmp114 + 56;
78836#line 1923
78837              __cil_tmp116 = *((struct fc_lport **)__cil_tmp115);
78838#line 1923
78839              __cil_tmp117 = *((struct Scsi_Host **)__cil_tmp116);
78840#line 1923
78841              __cil_tmp118 = (unsigned long )__cil_tmp117;
78842#line 1923
78843              __cil_tmp119 = __cil_tmp118 + 308;
78844#line 1923
78845              __cil_tmp120 = *((unsigned int *)__cil_tmp119);
78846#line 1923
78847              __cil_tmp121 = (unsigned long )fsp;
78848#line 1923
78849              __cil_tmp122 = __cil_tmp121 + 128;
78850#line 1923
78851              __cil_tmp123 = *((struct fc_rport **)__cil_tmp122);
78852#line 1923
78853              __cil_tmp124 = (unsigned long )__cil_tmp123;
78854#line 1923
78855              __cil_tmp125 = __cil_tmp124 + 32;
78856#line 1923
78857              __cil_tmp126 = *((u32 *)__cil_tmp125);
78858#line 1923
78859              __cil_tmp127 = (unsigned long )_ep;
78860#line 1923
78861              __cil_tmp128 = __cil_tmp127 + 82;
78862#line 1923
78863              __cil_tmp129 = *((u16 *)__cil_tmp128);
78864#line 1923
78865              __cil_tmp130 = (int )__cil_tmp129;
78866#line 1923
78867              __cil_tmp131 = (unsigned long )_ep;
78868#line 1923
78869              __cil_tmp132 = __cil_tmp131 + 84;
78870#line 1923
78871              __cil_tmp133 = *((u16 *)__cil_tmp132);
78872#line 1923
78873              __cil_tmp134 = (int )__cil_tmp133;
78874#line 1923
78875              printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: Returning DID_ERROR to scsi-ml due to FC_ERROR\n",
78876                     __cil_tmp120, __cil_tmp126, __cil_tmp130, __cil_tmp134);
78877              }
78878            } else {
78879              {
78880#line 1923
78881              __cil_tmp135 = (unsigned long )fsp;
78882#line 1923
78883              __cil_tmp136 = __cil_tmp135 + 56;
78884#line 1923
78885              __cil_tmp137 = *((struct fc_lport **)__cil_tmp136);
78886#line 1923
78887              __cil_tmp138 = *((struct Scsi_Host **)__cil_tmp137);
78888#line 1923
78889              __cil_tmp139 = (unsigned long )__cil_tmp138;
78890#line 1923
78891              __cil_tmp140 = __cil_tmp139 + 308;
78892#line 1923
78893              __cil_tmp141 = *((unsigned int *)__cil_tmp140);
78894#line 1923
78895              __cil_tmp142 = (unsigned long )fsp;
78896#line 1923
78897              __cil_tmp143 = __cil_tmp142 + 128;
78898#line 1923
78899              __cil_tmp144 = *((struct fc_rport **)__cil_tmp143);
78900#line 1923
78901              __cil_tmp145 = (unsigned long )__cil_tmp144;
78902#line 1923
78903              __cil_tmp146 = __cil_tmp145 + 32;
78904#line 1923
78905              __cil_tmp147 = *((u32 *)__cil_tmp146);
78906#line 1923
78907              printk("<6>host%u: fcp: %6.6x: Returning DID_ERROR to scsi-ml due to FC_ERROR\n",
78908                     __cil_tmp141, __cil_tmp147);
78909              }
78910            }
78911            }
78912#line 1923
78913            goto while_break___0;
78914          }
78915          while_break___0: /* CIL Label */ ;
78916          }
78917        } else {
78918
78919        }
78920#line 1923
78921        goto while_break;
78922      }
78923      while_break: /* CIL Label */ ;
78924      }
78925#line 1925
78926      __cil_tmp148 = (unsigned long )sc_cmd;
78927#line 1925
78928      __cil_tmp149 = __cil_tmp148 + 224;
78929#line 1925
78930      *((int *)__cil_tmp149) = 7 << 16;
78931#line 1926
78932      goto switch_break;
78933      case_7: /* CIL Label */ 
78934      {
78935#line 1928
78936      __cil_tmp150 = (unsigned long )fsp;
78937#line 1928
78938      __cil_tmp151 = __cil_tmp150 + 65;
78939#line 1928
78940      __cil_tmp152 = *((u8 *)__cil_tmp151);
78941#line 1928
78942      __cil_tmp153 = (int )__cil_tmp152;
78943#line 1928
78944      if (__cil_tmp153 == 0) {
78945        {
78946#line 1928
78947        __cil_tmp154 = 1 << 1;
78948#line 1928
78949        __cil_tmp155 = (unsigned int )__cil_tmp154;
78950#line 1928
78951        __cil_tmp156 = (unsigned long )fsp;
78952#line 1928
78953        __cil_tmp157 = __cil_tmp156 + 72;
78954#line 1928
78955        __cil_tmp158 = *((u32 *)__cil_tmp157);
78956#line 1928
78957        __cil_tmp159 = __cil_tmp158 & __cil_tmp155;
78958#line 1928
78959        if (! __cil_tmp159) {
78960          {
78961#line 1933
78962          __cil_tmp160 = 1 << 1;
78963#line 1933
78964          __cil_tmp161 = (unsigned long )fsp;
78965#line 1933
78966          __cil_tmp162 = __cil_tmp161 + 64;
78967#line 1933
78968          __cil_tmp163 = *((u8 *)__cil_tmp162);
78969#line 1933
78970          __cil_tmp164 = (int )__cil_tmp163;
78971#line 1933
78972          if (__cil_tmp164 & __cil_tmp160) {
78973#line 1934
78974            __cil_tmp165 = (unsigned long )sc_cmd;
78975#line 1934
78976            __cil_tmp166 = __cil_tmp165 + 224;
78977#line 1934
78978            *((int *)__cil_tmp166) = 0;
78979          } else {
78980            {
78981#line 1936
78982            while (1) {
78983              while_continue___1: /* CIL Label */ ;
78984              {
78985#line 1936
78986              __cil_tmp167 = & fc_debug_logging;
78987#line 1936
78988              __cil_tmp168 = *__cil_tmp167;
78989#line 1936
78990              __cil_tmp169 = __cil_tmp168 & 16U;
78991#line 1936
78992              __cil_tmp170 = ! __cil_tmp169;
78993#line 1936
78994              __cil_tmp171 = ! __cil_tmp170;
78995#line 1936
78996              __cil_tmp172 = (long )__cil_tmp171;
78997#line 1936
78998              tmp___8 = __builtin_expect(__cil_tmp172, 0L);
78999              }
79000#line 1936
79001              if (tmp___8) {
79002                {
79003#line 1936
79004                while (1) {
79005                  while_continue___2: /* CIL Label */ ;
79006                  {
79007#line 1936
79008                  __cil_tmp173 = (unsigned long )fsp;
79009#line 1936
79010                  __cil_tmp174 = __cil_tmp173 + 136;
79011#line 1936
79012                  if (*((struct fc_seq **)__cil_tmp174)) {
79013                    {
79014#line 1936
79015                    __cil_tmp175 = (void *)0;
79016#line 1936
79017                    _ep___0 = (struct fc_exch *)__cil_tmp175;
79018#line 1936
79019                    __cil_tmp176 = (unsigned long )fsp;
79020#line 1936
79021                    __cil_tmp177 = __cil_tmp176 + 136;
79022#line 1936
79023                    __cil_tmp178 = *((struct fc_seq **)__cil_tmp177);
79024#line 1936
79025                    __mptr___0 = (struct fc_seq    *)__cil_tmp178;
79026#line 1936
79027                    __cil_tmp179 = (struct fc_exch *)0;
79028#line 1936
79029                    __cil_tmp180 = (unsigned long )__cil_tmp179;
79030#line 1936
79031                    __cil_tmp181 = __cil_tmp180 + 108;
79032#line 1936
79033                    __cil_tmp182 = (struct fc_seq *)__cil_tmp181;
79034#line 1936
79035                    __cil_tmp183 = (unsigned int )__cil_tmp182;
79036#line 1936
79037                    __cil_tmp184 = (char *)__mptr___0;
79038#line 1936
79039                    __cil_tmp185 = __cil_tmp184 - __cil_tmp183;
79040#line 1936
79041                    _ep___0 = (struct fc_exch *)__cil_tmp185;
79042#line 1936
79043                    __cil_tmp186 = (unsigned long )fsp;
79044#line 1936
79045                    __cil_tmp187 = __cil_tmp186 + 56;
79046#line 1936
79047                    __cil_tmp188 = *((struct fc_lport **)__cil_tmp187);
79048#line 1936
79049                    __cil_tmp189 = *((struct Scsi_Host **)__cil_tmp188);
79050#line 1936
79051                    __cil_tmp190 = (unsigned long )__cil_tmp189;
79052#line 1936
79053                    __cil_tmp191 = __cil_tmp190 + 308;
79054#line 1936
79055                    __cil_tmp192 = *((unsigned int *)__cil_tmp191);
79056#line 1936
79057                    __cil_tmp193 = (unsigned long )fsp;
79058#line 1936
79059                    __cil_tmp194 = __cil_tmp193 + 128;
79060#line 1936
79061                    __cil_tmp195 = *((struct fc_rport **)__cil_tmp194);
79062#line 1936
79063                    __cil_tmp196 = (unsigned long )__cil_tmp195;
79064#line 1936
79065                    __cil_tmp197 = __cil_tmp196 + 32;
79066#line 1936
79067                    __cil_tmp198 = *((u32 *)__cil_tmp197);
79068#line 1936
79069                    __cil_tmp199 = (unsigned long )_ep___0;
79070#line 1936
79071                    __cil_tmp200 = __cil_tmp199 + 82;
79072#line 1936
79073                    __cil_tmp201 = *((u16 *)__cil_tmp200);
79074#line 1936
79075                    __cil_tmp202 = (int )__cil_tmp201;
79076#line 1936
79077                    __cil_tmp203 = (unsigned long )_ep___0;
79078#line 1936
79079                    __cil_tmp204 = __cil_tmp203 + 84;
79080#line 1936
79081                    __cil_tmp205 = *((u16 *)__cil_tmp204);
79082#line 1936
79083                    __cil_tmp206 = (int )__cil_tmp205;
79084#line 1936
79085                    printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: Returning DID_ERROR to scsi-ml due to FC_DATA_UNDRUN (trans)\n",
79086                           __cil_tmp192, __cil_tmp198, __cil_tmp202, __cil_tmp206);
79087                    }
79088                  } else {
79089                    {
79090#line 1936
79091                    __cil_tmp207 = (unsigned long )fsp;
79092#line 1936
79093                    __cil_tmp208 = __cil_tmp207 + 56;
79094#line 1936
79095                    __cil_tmp209 = *((struct fc_lport **)__cil_tmp208);
79096#line 1936
79097                    __cil_tmp210 = *((struct Scsi_Host **)__cil_tmp209);
79098#line 1936
79099                    __cil_tmp211 = (unsigned long )__cil_tmp210;
79100#line 1936
79101                    __cil_tmp212 = __cil_tmp211 + 308;
79102#line 1936
79103                    __cil_tmp213 = *((unsigned int *)__cil_tmp212);
79104#line 1936
79105                    __cil_tmp214 = (unsigned long )fsp;
79106#line 1936
79107                    __cil_tmp215 = __cil_tmp214 + 128;
79108#line 1936
79109                    __cil_tmp216 = *((struct fc_rport **)__cil_tmp215);
79110#line 1936
79111                    __cil_tmp217 = (unsigned long )__cil_tmp216;
79112#line 1936
79113                    __cil_tmp218 = __cil_tmp217 + 32;
79114#line 1936
79115                    __cil_tmp219 = *((u32 *)__cil_tmp218);
79116#line 1936
79117                    printk("<6>host%u: fcp: %6.6x: Returning DID_ERROR to scsi-ml due to FC_DATA_UNDRUN (trans)\n",
79118                           __cil_tmp213, __cil_tmp219);
79119                    }
79120                  }
79121                  }
79122#line 1936
79123                  goto while_break___2;
79124                }
79125                while_break___2: /* CIL Label */ ;
79126                }
79127              } else {
79128
79129              }
79130#line 1936
79131              goto while_break___1;
79132            }
79133            while_break___1: /* CIL Label */ ;
79134            }
79135#line 1938
79136            __cil_tmp220 = (unsigned long )sc_cmd;
79137#line 1938
79138            __cil_tmp221 = __cil_tmp220 + 224;
79139#line 1938
79140            *((int *)__cil_tmp221) = 7 << 16;
79141          }
79142          }
79143        } else {
79144#line 1928
79145          goto _L;
79146        }
79147        }
79148      } else {
79149        _L: /* CIL Label */ 
79150        {
79151#line 1944
79152        while (1) {
79153          while_continue___3: /* CIL Label */ ;
79154          {
79155#line 1944
79156          __cil_tmp222 = & fc_debug_logging;
79157#line 1944
79158          __cil_tmp223 = *__cil_tmp222;
79159#line 1944
79160          __cil_tmp224 = __cil_tmp223 & 16U;
79161#line 1944
79162          __cil_tmp225 = ! __cil_tmp224;
79163#line 1944
79164          __cil_tmp226 = ! __cil_tmp225;
79165#line 1944
79166          __cil_tmp227 = (long )__cil_tmp226;
79167#line 1944
79168          tmp___9 = __builtin_expect(__cil_tmp227, 0L);
79169          }
79170#line 1944
79171          if (tmp___9) {
79172            {
79173#line 1944
79174            while (1) {
79175              while_continue___4: /* CIL Label */ ;
79176              {
79177#line 1944
79178              __cil_tmp228 = (unsigned long )fsp;
79179#line 1944
79180              __cil_tmp229 = __cil_tmp228 + 136;
79181#line 1944
79182              if (*((struct fc_seq **)__cil_tmp229)) {
79183                {
79184#line 1944
79185                __cil_tmp230 = (void *)0;
79186#line 1944
79187                _ep___1 = (struct fc_exch *)__cil_tmp230;
79188#line 1944
79189                __cil_tmp231 = (unsigned long )fsp;
79190#line 1944
79191                __cil_tmp232 = __cil_tmp231 + 136;
79192#line 1944
79193                __cil_tmp233 = *((struct fc_seq **)__cil_tmp232);
79194#line 1944
79195                __mptr___1 = (struct fc_seq    *)__cil_tmp233;
79196#line 1944
79197                __cil_tmp234 = (struct fc_exch *)0;
79198#line 1944
79199                __cil_tmp235 = (unsigned long )__cil_tmp234;
79200#line 1944
79201                __cil_tmp236 = __cil_tmp235 + 108;
79202#line 1944
79203                __cil_tmp237 = (struct fc_seq *)__cil_tmp236;
79204#line 1944
79205                __cil_tmp238 = (unsigned int )__cil_tmp237;
79206#line 1944
79207                __cil_tmp239 = (char *)__mptr___1;
79208#line 1944
79209                __cil_tmp240 = __cil_tmp239 - __cil_tmp238;
79210#line 1944
79211                _ep___1 = (struct fc_exch *)__cil_tmp240;
79212#line 1944
79213                __cil_tmp241 = (unsigned long )fsp;
79214#line 1944
79215                __cil_tmp242 = __cil_tmp241 + 56;
79216#line 1944
79217                __cil_tmp243 = *((struct fc_lport **)__cil_tmp242);
79218#line 1944
79219                __cil_tmp244 = *((struct Scsi_Host **)__cil_tmp243);
79220#line 1944
79221                __cil_tmp245 = (unsigned long )__cil_tmp244;
79222#line 1944
79223                __cil_tmp246 = __cil_tmp245 + 308;
79224#line 1944
79225                __cil_tmp247 = *((unsigned int *)__cil_tmp246);
79226#line 1944
79227                __cil_tmp248 = (unsigned long )fsp;
79228#line 1944
79229                __cil_tmp249 = __cil_tmp248 + 128;
79230#line 1944
79231                __cil_tmp250 = *((struct fc_rport **)__cil_tmp249);
79232#line 1944
79233                __cil_tmp251 = (unsigned long )__cil_tmp250;
79234#line 1944
79235                __cil_tmp252 = __cil_tmp251 + 32;
79236#line 1944
79237                __cil_tmp253 = *((u32 *)__cil_tmp252);
79238#line 1944
79239                __cil_tmp254 = (unsigned long )_ep___1;
79240#line 1944
79241                __cil_tmp255 = __cil_tmp254 + 82;
79242#line 1944
79243                __cil_tmp256 = *((u16 *)__cil_tmp255);
79244#line 1944
79245                __cil_tmp257 = (int )__cil_tmp256;
79246#line 1944
79247                __cil_tmp258 = (unsigned long )_ep___1;
79248#line 1944
79249                __cil_tmp259 = __cil_tmp258 + 84;
79250#line 1944
79251                __cil_tmp260 = *((u16 *)__cil_tmp259);
79252#line 1944
79253                __cil_tmp261 = (int )__cil_tmp260;
79254#line 1944
79255                printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: Returning DID_ERROR to scsi-ml due to FC_DATA_UNDRUN (scsi)\n",
79256                       __cil_tmp247, __cil_tmp253, __cil_tmp257, __cil_tmp261);
79257                }
79258              } else {
79259                {
79260#line 1944
79261                __cil_tmp262 = (unsigned long )fsp;
79262#line 1944
79263                __cil_tmp263 = __cil_tmp262 + 56;
79264#line 1944
79265                __cil_tmp264 = *((struct fc_lport **)__cil_tmp263);
79266#line 1944
79267                __cil_tmp265 = *((struct Scsi_Host **)__cil_tmp264);
79268#line 1944
79269                __cil_tmp266 = (unsigned long )__cil_tmp265;
79270#line 1944
79271                __cil_tmp267 = __cil_tmp266 + 308;
79272#line 1944
79273                __cil_tmp268 = *((unsigned int *)__cil_tmp267);
79274#line 1944
79275                __cil_tmp269 = (unsigned long )fsp;
79276#line 1944
79277                __cil_tmp270 = __cil_tmp269 + 128;
79278#line 1944
79279                __cil_tmp271 = *((struct fc_rport **)__cil_tmp270);
79280#line 1944
79281                __cil_tmp272 = (unsigned long )__cil_tmp271;
79282#line 1944
79283                __cil_tmp273 = __cil_tmp272 + 32;
79284#line 1944
79285                __cil_tmp274 = *((u32 *)__cil_tmp273);
79286#line 1944
79287                printk("<6>host%u: fcp: %6.6x: Returning DID_ERROR to scsi-ml due to FC_DATA_UNDRUN (scsi)\n",
79288                       __cil_tmp268, __cil_tmp274);
79289                }
79290              }
79291              }
79292#line 1944
79293              goto while_break___4;
79294            }
79295            while_break___4: /* CIL Label */ ;
79296            }
79297          } else {
79298
79299          }
79300#line 1944
79301          goto while_break___3;
79302        }
79303        while_break___3: /* CIL Label */ ;
79304        }
79305#line 1946
79306        __cil_tmp275 = 152 + 24;
79307#line 1946
79308        __cil_tmp276 = (unsigned long )sc_cmd;
79309#line 1946
79310        __cil_tmp277 = __cil_tmp276 + __cil_tmp275;
79311#line 1946
79312        __cil_tmp278 = (unsigned long )fsp;
79313#line 1946
79314        __cil_tmp279 = __cil_tmp278 + 76;
79315#line 1946
79316        __cil_tmp280 = *((u32 *)__cil_tmp279);
79317#line 1946
79318        *((int *)__cil_tmp277) = (int )__cil_tmp280;
79319#line 1947
79320        __cil_tmp281 = (unsigned long )sc_cmd;
79321#line 1947
79322        __cil_tmp282 = __cil_tmp281 + 224;
79323#line 1947
79324        __cil_tmp283 = (unsigned long )fsp;
79325#line 1947
79326        __cil_tmp284 = __cil_tmp283 + 65;
79327#line 1947
79328        __cil_tmp285 = *((u8 *)__cil_tmp284);
79329#line 1947
79330        __cil_tmp286 = (int )__cil_tmp285;
79331#line 1947
79332        __cil_tmp287 = 7 << 16;
79333#line 1947
79334        *((int *)__cil_tmp282) = __cil_tmp287 | __cil_tmp286;
79335      }
79336      }
79337#line 1949
79338      goto switch_break;
79339      case_6: /* CIL Label */ 
79340      {
79341#line 1954
79342      while (1) {
79343        while_continue___5: /* CIL Label */ ;
79344        {
79345#line 1954
79346        __cil_tmp288 = & fc_debug_logging;
79347#line 1954
79348        __cil_tmp289 = *__cil_tmp288;
79349#line 1954
79350        __cil_tmp290 = __cil_tmp289 & 16U;
79351#line 1954
79352        __cil_tmp291 = ! __cil_tmp290;
79353#line 1954
79354        __cil_tmp292 = ! __cil_tmp291;
79355#line 1954
79356        __cil_tmp293 = (long )__cil_tmp292;
79357#line 1954
79358        tmp___10 = __builtin_expect(__cil_tmp293, 0L);
79359        }
79360#line 1954
79361        if (tmp___10) {
79362          {
79363#line 1954
79364          while (1) {
79365            while_continue___6: /* CIL Label */ ;
79366            {
79367#line 1954
79368            __cil_tmp294 = (unsigned long )fsp;
79369#line 1954
79370            __cil_tmp295 = __cil_tmp294 + 136;
79371#line 1954
79372            if (*((struct fc_seq **)__cil_tmp295)) {
79373              {
79374#line 1954
79375              __cil_tmp296 = (void *)0;
79376#line 1954
79377              _ep___2 = (struct fc_exch *)__cil_tmp296;
79378#line 1954
79379              __cil_tmp297 = (unsigned long )fsp;
79380#line 1954
79381              __cil_tmp298 = __cil_tmp297 + 136;
79382#line 1954
79383              __cil_tmp299 = *((struct fc_seq **)__cil_tmp298);
79384#line 1954
79385              __mptr___2 = (struct fc_seq    *)__cil_tmp299;
79386#line 1954
79387              __cil_tmp300 = (struct fc_exch *)0;
79388#line 1954
79389              __cil_tmp301 = (unsigned long )__cil_tmp300;
79390#line 1954
79391              __cil_tmp302 = __cil_tmp301 + 108;
79392#line 1954
79393              __cil_tmp303 = (struct fc_seq *)__cil_tmp302;
79394#line 1954
79395              __cil_tmp304 = (unsigned int )__cil_tmp303;
79396#line 1954
79397              __cil_tmp305 = (char *)__mptr___2;
79398#line 1954
79399              __cil_tmp306 = __cil_tmp305 - __cil_tmp304;
79400#line 1954
79401              _ep___2 = (struct fc_exch *)__cil_tmp306;
79402#line 1954
79403              __cil_tmp307 = (unsigned long )fsp;
79404#line 1954
79405              __cil_tmp308 = __cil_tmp307 + 56;
79406#line 1954
79407              __cil_tmp309 = *((struct fc_lport **)__cil_tmp308);
79408#line 1954
79409              __cil_tmp310 = *((struct Scsi_Host **)__cil_tmp309);
79410#line 1954
79411              __cil_tmp311 = (unsigned long )__cil_tmp310;
79412#line 1954
79413              __cil_tmp312 = __cil_tmp311 + 308;
79414#line 1954
79415              __cil_tmp313 = *((unsigned int *)__cil_tmp312);
79416#line 1954
79417              __cil_tmp314 = (unsigned long )fsp;
79418#line 1954
79419              __cil_tmp315 = __cil_tmp314 + 128;
79420#line 1954
79421              __cil_tmp316 = *((struct fc_rport **)__cil_tmp315);
79422#line 1954
79423              __cil_tmp317 = (unsigned long )__cil_tmp316;
79424#line 1954
79425              __cil_tmp318 = __cil_tmp317 + 32;
79426#line 1954
79427              __cil_tmp319 = *((u32 *)__cil_tmp318);
79428#line 1954
79429              __cil_tmp320 = (unsigned long )_ep___2;
79430#line 1954
79431              __cil_tmp321 = __cil_tmp320 + 82;
79432#line 1954
79433              __cil_tmp322 = *((u16 *)__cil_tmp321);
79434#line 1954
79435              __cil_tmp323 = (int )__cil_tmp322;
79436#line 1954
79437              __cil_tmp324 = (unsigned long )_ep___2;
79438#line 1954
79439              __cil_tmp325 = __cil_tmp324 + 84;
79440#line 1954
79441              __cil_tmp326 = *((u16 *)__cil_tmp325);
79442#line 1954
79443              __cil_tmp327 = (int )__cil_tmp326;
79444#line 1954
79445              printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: Returning DID_ERROR to scsi-ml due to FC_DATA_OVRRUN\n",
79446                     __cil_tmp313, __cil_tmp319, __cil_tmp323, __cil_tmp327);
79447              }
79448            } else {
79449              {
79450#line 1954
79451              __cil_tmp328 = (unsigned long )fsp;
79452#line 1954
79453              __cil_tmp329 = __cil_tmp328 + 56;
79454#line 1954
79455              __cil_tmp330 = *((struct fc_lport **)__cil_tmp329);
79456#line 1954
79457              __cil_tmp331 = *((struct Scsi_Host **)__cil_tmp330);
79458#line 1954
79459              __cil_tmp332 = (unsigned long )__cil_tmp331;
79460#line 1954
79461              __cil_tmp333 = __cil_tmp332 + 308;
79462#line 1954
79463              __cil_tmp334 = *((unsigned int *)__cil_tmp333);
79464#line 1954
79465              __cil_tmp335 = (unsigned long )fsp;
79466#line 1954
79467              __cil_tmp336 = __cil_tmp335 + 128;
79468#line 1954
79469              __cil_tmp337 = *((struct fc_rport **)__cil_tmp336);
79470#line 1954
79471              __cil_tmp338 = (unsigned long )__cil_tmp337;
79472#line 1954
79473              __cil_tmp339 = __cil_tmp338 + 32;
79474#line 1954
79475              __cil_tmp340 = *((u32 *)__cil_tmp339);
79476#line 1954
79477              printk("<6>host%u: fcp: %6.6x: Returning DID_ERROR to scsi-ml due to FC_DATA_OVRRUN\n",
79478                     __cil_tmp334, __cil_tmp340);
79479              }
79480            }
79481            }
79482#line 1954
79483            goto while_break___6;
79484          }
79485          while_break___6: /* CIL Label */ ;
79486          }
79487        } else {
79488
79489        }
79490#line 1954
79491        goto while_break___5;
79492      }
79493      while_break___5: /* CIL Label */ ;
79494      }
79495#line 1956
79496      __cil_tmp341 = (unsigned long )sc_cmd;
79497#line 1956
79498      __cil_tmp342 = __cil_tmp341 + 224;
79499#line 1956
79500      __cil_tmp343 = (unsigned long )fsp;
79501#line 1956
79502      __cil_tmp344 = __cil_tmp343 + 65;
79503#line 1956
79504      __cil_tmp345 = *((u8 *)__cil_tmp344);
79505#line 1956
79506      __cil_tmp346 = (int )__cil_tmp345;
79507#line 1956
79508      __cil_tmp347 = 7 << 16;
79509#line 1956
79510      *((int *)__cil_tmp342) = __cil_tmp347 | __cil_tmp346;
79511#line 1957
79512      goto switch_break;
79513      case_1: /* CIL Label */ 
79514      {
79515#line 1959
79516      while (1) {
79517        while_continue___7: /* CIL Label */ ;
79518        {
79519#line 1959
79520        __cil_tmp348 = & fc_debug_logging;
79521#line 1959
79522        __cil_tmp349 = *__cil_tmp348;
79523#line 1959
79524        __cil_tmp350 = __cil_tmp349 & 16U;
79525#line 1959
79526        __cil_tmp351 = ! __cil_tmp350;
79527#line 1959
79528        __cil_tmp352 = ! __cil_tmp351;
79529#line 1959
79530        __cil_tmp353 = (long )__cil_tmp352;
79531#line 1959
79532        tmp___11 = __builtin_expect(__cil_tmp353, 0L);
79533        }
79534#line 1959
79535        if (tmp___11) {
79536          {
79537#line 1959
79538          while (1) {
79539            while_continue___8: /* CIL Label */ ;
79540            {
79541#line 1959
79542            __cil_tmp354 = (unsigned long )fsp;
79543#line 1959
79544            __cil_tmp355 = __cil_tmp354 + 136;
79545#line 1959
79546            if (*((struct fc_seq **)__cil_tmp355)) {
79547              {
79548#line 1959
79549              __cil_tmp356 = (void *)0;
79550#line 1959
79551              _ep___3 = (struct fc_exch *)__cil_tmp356;
79552#line 1959
79553              __cil_tmp357 = (unsigned long )fsp;
79554#line 1959
79555              __cil_tmp358 = __cil_tmp357 + 136;
79556#line 1959
79557              __cil_tmp359 = *((struct fc_seq **)__cil_tmp358);
79558#line 1959
79559              __mptr___3 = (struct fc_seq    *)__cil_tmp359;
79560#line 1959
79561              __cil_tmp360 = (struct fc_exch *)0;
79562#line 1959
79563              __cil_tmp361 = (unsigned long )__cil_tmp360;
79564#line 1959
79565              __cil_tmp362 = __cil_tmp361 + 108;
79566#line 1959
79567              __cil_tmp363 = (struct fc_seq *)__cil_tmp362;
79568#line 1959
79569              __cil_tmp364 = (unsigned int )__cil_tmp363;
79570#line 1959
79571              __cil_tmp365 = (char *)__mptr___3;
79572#line 1959
79573              __cil_tmp366 = __cil_tmp365 - __cil_tmp364;
79574#line 1959
79575              _ep___3 = (struct fc_exch *)__cil_tmp366;
79576#line 1959
79577              __cil_tmp367 = (unsigned long )fsp;
79578#line 1959
79579              __cil_tmp368 = __cil_tmp367 + 56;
79580#line 1959
79581              __cil_tmp369 = *((struct fc_lport **)__cil_tmp368);
79582#line 1959
79583              __cil_tmp370 = *((struct Scsi_Host **)__cil_tmp369);
79584#line 1959
79585              __cil_tmp371 = (unsigned long )__cil_tmp370;
79586#line 1959
79587              __cil_tmp372 = __cil_tmp371 + 308;
79588#line 1959
79589              __cil_tmp373 = *((unsigned int *)__cil_tmp372);
79590#line 1959
79591              __cil_tmp374 = (unsigned long )fsp;
79592#line 1959
79593              __cil_tmp375 = __cil_tmp374 + 128;
79594#line 1959
79595              __cil_tmp376 = *((struct fc_rport **)__cil_tmp375);
79596#line 1959
79597              __cil_tmp377 = (unsigned long )__cil_tmp376;
79598#line 1959
79599              __cil_tmp378 = __cil_tmp377 + 32;
79600#line 1959
79601              __cil_tmp379 = *((u32 *)__cil_tmp378);
79602#line 1959
79603              __cil_tmp380 = (unsigned long )_ep___3;
79604#line 1959
79605              __cil_tmp381 = __cil_tmp380 + 82;
79606#line 1959
79607              __cil_tmp382 = *((u16 *)__cil_tmp381);
79608#line 1959
79609              __cil_tmp383 = (int )__cil_tmp382;
79610#line 1959
79611              __cil_tmp384 = (unsigned long )_ep___3;
79612#line 1959
79613              __cil_tmp385 = __cil_tmp384 + 84;
79614#line 1959
79615              __cil_tmp386 = *((u16 *)__cil_tmp385);
79616#line 1959
79617              __cil_tmp387 = (int )__cil_tmp386;
79618#line 1959
79619              printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: Returning DID_ERROR to scsi-ml due to FC_CMD_ABORTED\n",
79620                     __cil_tmp373, __cil_tmp379, __cil_tmp383, __cil_tmp387);
79621              }
79622            } else {
79623              {
79624#line 1959
79625              __cil_tmp388 = (unsigned long )fsp;
79626#line 1959
79627              __cil_tmp389 = __cil_tmp388 + 56;
79628#line 1959
79629              __cil_tmp390 = *((struct fc_lport **)__cil_tmp389);
79630#line 1959
79631              __cil_tmp391 = *((struct Scsi_Host **)__cil_tmp390);
79632#line 1959
79633              __cil_tmp392 = (unsigned long )__cil_tmp391;
79634#line 1959
79635              __cil_tmp393 = __cil_tmp392 + 308;
79636#line 1959
79637              __cil_tmp394 = *((unsigned int *)__cil_tmp393);
79638#line 1959
79639              __cil_tmp395 = (unsigned long )fsp;
79640#line 1959
79641              __cil_tmp396 = __cil_tmp395 + 128;
79642#line 1959
79643              __cil_tmp397 = *((struct fc_rport **)__cil_tmp396);
79644#line 1959
79645              __cil_tmp398 = (unsigned long )__cil_tmp397;
79646#line 1959
79647              __cil_tmp399 = __cil_tmp398 + 32;
79648#line 1959
79649              __cil_tmp400 = *((u32 *)__cil_tmp399);
79650#line 1959
79651              printk("<6>host%u: fcp: %6.6x: Returning DID_ERROR to scsi-ml due to FC_CMD_ABORTED\n",
79652                     __cil_tmp394, __cil_tmp400);
79653              }
79654            }
79655            }
79656#line 1959
79657            goto while_break___8;
79658          }
79659          while_break___8: /* CIL Label */ ;
79660          }
79661        } else {
79662
79663        }
79664#line 1959
79665        goto while_break___7;
79666      }
79667      while_break___7: /* CIL Label */ ;
79668      }
79669#line 1961
79670      __cil_tmp401 = (unsigned long )sc_cmd;
79671#line 1961
79672      __cil_tmp402 = __cil_tmp401 + 224;
79673#line 1961
79674      __cil_tmp403 = (unsigned long )fsp;
79675#line 1961
79676      __cil_tmp404 = __cil_tmp403 + 68;
79677#line 1961
79678      __cil_tmp405 = *((u32 *)__cil_tmp404);
79679#line 1961
79680      __cil_tmp406 = 7 << 16;
79681#line 1961
79682      __cil_tmp407 = (unsigned int )__cil_tmp406;
79683#line 1961
79684      __cil_tmp408 = __cil_tmp407 | __cil_tmp405;
79685#line 1961
79686      *((int *)__cil_tmp402) = (int )__cil_tmp408;
79687#line 1962
79688      goto switch_break;
79689      case_2: /* CIL Label */ 
79690      {
79691#line 1964
79692      while (1) {
79693        while_continue___9: /* CIL Label */ ;
79694        {
79695#line 1964
79696        __cil_tmp409 = & fc_debug_logging;
79697#line 1964
79698        __cil_tmp410 = *__cil_tmp409;
79699#line 1964
79700        __cil_tmp411 = __cil_tmp410 & 16U;
79701#line 1964
79702        __cil_tmp412 = ! __cil_tmp411;
79703#line 1964
79704        __cil_tmp413 = ! __cil_tmp412;
79705#line 1964
79706        __cil_tmp414 = (long )__cil_tmp413;
79707#line 1964
79708        tmp___12 = __builtin_expect(__cil_tmp414, 0L);
79709        }
79710#line 1964
79711        if (tmp___12) {
79712          {
79713#line 1964
79714          while (1) {
79715            while_continue___10: /* CIL Label */ ;
79716            {
79717#line 1964
79718            __cil_tmp415 = (unsigned long )fsp;
79719#line 1964
79720            __cil_tmp416 = __cil_tmp415 + 136;
79721#line 1964
79722            if (*((struct fc_seq **)__cil_tmp416)) {
79723              {
79724#line 1964
79725              __cil_tmp417 = (void *)0;
79726#line 1964
79727              _ep___4 = (struct fc_exch *)__cil_tmp417;
79728#line 1964
79729              __cil_tmp418 = (unsigned long )fsp;
79730#line 1964
79731              __cil_tmp419 = __cil_tmp418 + 136;
79732#line 1964
79733              __cil_tmp420 = *((struct fc_seq **)__cil_tmp419);
79734#line 1964
79735              __mptr___4 = (struct fc_seq    *)__cil_tmp420;
79736#line 1964
79737              __cil_tmp421 = (struct fc_exch *)0;
79738#line 1964
79739              __cil_tmp422 = (unsigned long )__cil_tmp421;
79740#line 1964
79741              __cil_tmp423 = __cil_tmp422 + 108;
79742#line 1964
79743              __cil_tmp424 = (struct fc_seq *)__cil_tmp423;
79744#line 1964
79745              __cil_tmp425 = (unsigned int )__cil_tmp424;
79746#line 1964
79747              __cil_tmp426 = (char *)__mptr___4;
79748#line 1964
79749              __cil_tmp427 = __cil_tmp426 - __cil_tmp425;
79750#line 1964
79751              _ep___4 = (struct fc_exch *)__cil_tmp427;
79752#line 1964
79753              __cil_tmp428 = (unsigned long )fsp;
79754#line 1964
79755              __cil_tmp429 = __cil_tmp428 + 56;
79756#line 1964
79757              __cil_tmp430 = *((struct fc_lport **)__cil_tmp429);
79758#line 1964
79759              __cil_tmp431 = *((struct Scsi_Host **)__cil_tmp430);
79760#line 1964
79761              __cil_tmp432 = (unsigned long )__cil_tmp431;
79762#line 1964
79763              __cil_tmp433 = __cil_tmp432 + 308;
79764#line 1964
79765              __cil_tmp434 = *((unsigned int *)__cil_tmp433);
79766#line 1964
79767              __cil_tmp435 = (unsigned long )fsp;
79768#line 1964
79769              __cil_tmp436 = __cil_tmp435 + 128;
79770#line 1964
79771              __cil_tmp437 = *((struct fc_rport **)__cil_tmp436);
79772#line 1964
79773              __cil_tmp438 = (unsigned long )__cil_tmp437;
79774#line 1964
79775              __cil_tmp439 = __cil_tmp438 + 32;
79776#line 1964
79777              __cil_tmp440 = *((u32 *)__cil_tmp439);
79778#line 1964
79779              __cil_tmp441 = (unsigned long )_ep___4;
79780#line 1964
79781              __cil_tmp442 = __cil_tmp441 + 82;
79782#line 1964
79783              __cil_tmp443 = *((u16 *)__cil_tmp442);
79784#line 1964
79785              __cil_tmp444 = (int )__cil_tmp443;
79786#line 1964
79787              __cil_tmp445 = (unsigned long )_ep___4;
79788#line 1964
79789              __cil_tmp446 = __cil_tmp445 + 84;
79790#line 1964
79791              __cil_tmp447 = *((u16 *)__cil_tmp446);
79792#line 1964
79793              __cil_tmp448 = (int )__cil_tmp447;
79794#line 1964
79795              printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: Returning DID_RESET to scsi-ml due to FC_CMD_RESET\n",
79796                     __cil_tmp434, __cil_tmp440, __cil_tmp444, __cil_tmp448);
79797              }
79798            } else {
79799              {
79800#line 1964
79801              __cil_tmp449 = (unsigned long )fsp;
79802#line 1964
79803              __cil_tmp450 = __cil_tmp449 + 56;
79804#line 1964
79805              __cil_tmp451 = *((struct fc_lport **)__cil_tmp450);
79806#line 1964
79807              __cil_tmp452 = *((struct Scsi_Host **)__cil_tmp451);
79808#line 1964
79809              __cil_tmp453 = (unsigned long )__cil_tmp452;
79810#line 1964
79811              __cil_tmp454 = __cil_tmp453 + 308;
79812#line 1964
79813              __cil_tmp455 = *((unsigned int *)__cil_tmp454);
79814#line 1964
79815              __cil_tmp456 = (unsigned long )fsp;
79816#line 1964
79817              __cil_tmp457 = __cil_tmp456 + 128;
79818#line 1964
79819              __cil_tmp458 = *((struct fc_rport **)__cil_tmp457);
79820#line 1964
79821              __cil_tmp459 = (unsigned long )__cil_tmp458;
79822#line 1964
79823              __cil_tmp460 = __cil_tmp459 + 32;
79824#line 1964
79825              __cil_tmp461 = *((u32 *)__cil_tmp460);
79826#line 1964
79827              printk("<6>host%u: fcp: %6.6x: Returning DID_RESET to scsi-ml due to FC_CMD_RESET\n",
79828                     __cil_tmp455, __cil_tmp461);
79829              }
79830            }
79831            }
79832#line 1964
79833            goto while_break___10;
79834          }
79835          while_break___10: /* CIL Label */ ;
79836          }
79837        } else {
79838
79839        }
79840#line 1964
79841        goto while_break___9;
79842      }
79843      while_break___9: /* CIL Label */ ;
79844      }
79845#line 1966
79846      __cil_tmp462 = (unsigned long )sc_cmd;
79847#line 1966
79848      __cil_tmp463 = __cil_tmp462 + 224;
79849#line 1966
79850      *((int *)__cil_tmp463) = 8 << 16;
79851#line 1967
79852      goto switch_break;
79853      case_9: /* CIL Label */ 
79854      {
79855#line 1969
79856      while (1) {
79857        while_continue___11: /* CIL Label */ ;
79858        {
79859#line 1969
79860        __cil_tmp464 = & fc_debug_logging;
79861#line 1969
79862        __cil_tmp465 = *__cil_tmp464;
79863#line 1969
79864        __cil_tmp466 = __cil_tmp465 & 16U;
79865#line 1969
79866        __cil_tmp467 = ! __cil_tmp466;
79867#line 1969
79868        __cil_tmp468 = ! __cil_tmp467;
79869#line 1969
79870        __cil_tmp469 = (long )__cil_tmp468;
79871#line 1969
79872        tmp___13 = __builtin_expect(__cil_tmp469, 0L);
79873        }
79874#line 1969
79875        if (tmp___13) {
79876          {
79877#line 1969
79878          while (1) {
79879            while_continue___12: /* CIL Label */ ;
79880            {
79881#line 1969
79882            __cil_tmp470 = (unsigned long )fsp;
79883#line 1969
79884            __cil_tmp471 = __cil_tmp470 + 136;
79885#line 1969
79886            if (*((struct fc_seq **)__cil_tmp471)) {
79887              {
79888#line 1969
79889              __cil_tmp472 = (void *)0;
79890#line 1969
79891              _ep___5 = (struct fc_exch *)__cil_tmp472;
79892#line 1969
79893              __cil_tmp473 = (unsigned long )fsp;
79894#line 1969
79895              __cil_tmp474 = __cil_tmp473 + 136;
79896#line 1969
79897              __cil_tmp475 = *((struct fc_seq **)__cil_tmp474);
79898#line 1969
79899              __mptr___5 = (struct fc_seq    *)__cil_tmp475;
79900#line 1969
79901              __cil_tmp476 = (struct fc_exch *)0;
79902#line 1969
79903              __cil_tmp477 = (unsigned long )__cil_tmp476;
79904#line 1969
79905              __cil_tmp478 = __cil_tmp477 + 108;
79906#line 1969
79907              __cil_tmp479 = (struct fc_seq *)__cil_tmp478;
79908#line 1969
79909              __cil_tmp480 = (unsigned int )__cil_tmp479;
79910#line 1969
79911              __cil_tmp481 = (char *)__mptr___5;
79912#line 1969
79913              __cil_tmp482 = __cil_tmp481 - __cil_tmp480;
79914#line 1969
79915              _ep___5 = (struct fc_exch *)__cil_tmp482;
79916#line 1969
79917              __cil_tmp483 = (unsigned long )fsp;
79918#line 1969
79919              __cil_tmp484 = __cil_tmp483 + 56;
79920#line 1969
79921              __cil_tmp485 = *((struct fc_lport **)__cil_tmp484);
79922#line 1969
79923              __cil_tmp486 = *((struct Scsi_Host **)__cil_tmp485);
79924#line 1969
79925              __cil_tmp487 = (unsigned long )__cil_tmp486;
79926#line 1969
79927              __cil_tmp488 = __cil_tmp487 + 308;
79928#line 1969
79929              __cil_tmp489 = *((unsigned int *)__cil_tmp488);
79930#line 1969
79931              __cil_tmp490 = (unsigned long )fsp;
79932#line 1969
79933              __cil_tmp491 = __cil_tmp490 + 128;
79934#line 1969
79935              __cil_tmp492 = *((struct fc_rport **)__cil_tmp491);
79936#line 1969
79937              __cil_tmp493 = (unsigned long )__cil_tmp492;
79938#line 1969
79939              __cil_tmp494 = __cil_tmp493 + 32;
79940#line 1969
79941              __cil_tmp495 = *((u32 *)__cil_tmp494);
79942#line 1969
79943              __cil_tmp496 = (unsigned long )_ep___5;
79944#line 1969
79945              __cil_tmp497 = __cil_tmp496 + 82;
79946#line 1969
79947              __cil_tmp498 = *((u16 *)__cil_tmp497);
79948#line 1969
79949              __cil_tmp499 = (int )__cil_tmp498;
79950#line 1969
79951              __cil_tmp500 = (unsigned long )_ep___5;
79952#line 1969
79953              __cil_tmp501 = __cil_tmp500 + 84;
79954#line 1969
79955              __cil_tmp502 = *((u16 *)__cil_tmp501);
79956#line 1969
79957              __cil_tmp503 = (int )__cil_tmp502;
79958#line 1969
79959              printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: Returning DID_NO_CONNECT to scsi-ml due to FC_HRD_ERROR\n",
79960                     __cil_tmp489, __cil_tmp495, __cil_tmp499, __cil_tmp503);
79961              }
79962            } else {
79963              {
79964#line 1969
79965              __cil_tmp504 = (unsigned long )fsp;
79966#line 1969
79967              __cil_tmp505 = __cil_tmp504 + 56;
79968#line 1969
79969              __cil_tmp506 = *((struct fc_lport **)__cil_tmp505);
79970#line 1969
79971              __cil_tmp507 = *((struct Scsi_Host **)__cil_tmp506);
79972#line 1969
79973              __cil_tmp508 = (unsigned long )__cil_tmp507;
79974#line 1969
79975              __cil_tmp509 = __cil_tmp508 + 308;
79976#line 1969
79977              __cil_tmp510 = *((unsigned int *)__cil_tmp509);
79978#line 1969
79979              __cil_tmp511 = (unsigned long )fsp;
79980#line 1969
79981              __cil_tmp512 = __cil_tmp511 + 128;
79982#line 1969
79983              __cil_tmp513 = *((struct fc_rport **)__cil_tmp512);
79984#line 1969
79985              __cil_tmp514 = (unsigned long )__cil_tmp513;
79986#line 1969
79987              __cil_tmp515 = __cil_tmp514 + 32;
79988#line 1969
79989              __cil_tmp516 = *((u32 *)__cil_tmp515);
79990#line 1969
79991              printk("<6>host%u: fcp: %6.6x: Returning DID_NO_CONNECT to scsi-ml due to FC_HRD_ERROR\n",
79992                     __cil_tmp510, __cil_tmp516);
79993              }
79994            }
79995            }
79996#line 1969
79997            goto while_break___12;
79998          }
79999          while_break___12: /* CIL Label */ ;
80000          }
80001        } else {
80002
80003        }
80004#line 1969
80005        goto while_break___11;
80006      }
80007      while_break___11: /* CIL Label */ ;
80008      }
80009#line 1971
80010      __cil_tmp517 = (unsigned long )sc_cmd;
80011#line 1971
80012      __cil_tmp518 = __cil_tmp517 + 224;
80013#line 1971
80014      *((int *)__cil_tmp518) = 1 << 16;
80015#line 1972
80016      goto switch_break;
80017      case_10: /* CIL Label */ 
80018      {
80019#line 1974
80020      while (1) {
80021        while_continue___13: /* CIL Label */ ;
80022        {
80023#line 1974
80024        __cil_tmp519 = & fc_debug_logging;
80025#line 1974
80026        __cil_tmp520 = *__cil_tmp519;
80027#line 1974
80028        __cil_tmp521 = __cil_tmp520 & 16U;
80029#line 1974
80030        __cil_tmp522 = ! __cil_tmp521;
80031#line 1974
80032        __cil_tmp523 = ! __cil_tmp522;
80033#line 1974
80034        __cil_tmp524 = (long )__cil_tmp523;
80035#line 1974
80036        tmp___14 = __builtin_expect(__cil_tmp524, 0L);
80037        }
80038#line 1974
80039        if (tmp___14) {
80040          {
80041#line 1974
80042          while (1) {
80043            while_continue___14: /* CIL Label */ ;
80044            {
80045#line 1974
80046            __cil_tmp525 = (unsigned long )fsp;
80047#line 1974
80048            __cil_tmp526 = __cil_tmp525 + 136;
80049#line 1974
80050            if (*((struct fc_seq **)__cil_tmp526)) {
80051              {
80052#line 1974
80053              __cil_tmp527 = (void *)0;
80054#line 1974
80055              _ep___6 = (struct fc_exch *)__cil_tmp527;
80056#line 1974
80057              __cil_tmp528 = (unsigned long )fsp;
80058#line 1974
80059              __cil_tmp529 = __cil_tmp528 + 136;
80060#line 1974
80061              __cil_tmp530 = *((struct fc_seq **)__cil_tmp529);
80062#line 1974
80063              __mptr___6 = (struct fc_seq    *)__cil_tmp530;
80064#line 1974
80065              __cil_tmp531 = (struct fc_exch *)0;
80066#line 1974
80067              __cil_tmp532 = (unsigned long )__cil_tmp531;
80068#line 1974
80069              __cil_tmp533 = __cil_tmp532 + 108;
80070#line 1974
80071              __cil_tmp534 = (struct fc_seq *)__cil_tmp533;
80072#line 1974
80073              __cil_tmp535 = (unsigned int )__cil_tmp534;
80074#line 1974
80075              __cil_tmp536 = (char *)__mptr___6;
80076#line 1974
80077              __cil_tmp537 = __cil_tmp536 - __cil_tmp535;
80078#line 1974
80079              _ep___6 = (struct fc_exch *)__cil_tmp537;
80080#line 1974
80081              __cil_tmp538 = (unsigned long )fsp;
80082#line 1974
80083              __cil_tmp539 = __cil_tmp538 + 56;
80084#line 1974
80085              __cil_tmp540 = *((struct fc_lport **)__cil_tmp539);
80086#line 1974
80087              __cil_tmp541 = *((struct Scsi_Host **)__cil_tmp540);
80088#line 1974
80089              __cil_tmp542 = (unsigned long )__cil_tmp541;
80090#line 1974
80091              __cil_tmp543 = __cil_tmp542 + 308;
80092#line 1974
80093              __cil_tmp544 = *((unsigned int *)__cil_tmp543);
80094#line 1974
80095              __cil_tmp545 = (unsigned long )fsp;
80096#line 1974
80097              __cil_tmp546 = __cil_tmp545 + 128;
80098#line 1974
80099              __cil_tmp547 = *((struct fc_rport **)__cil_tmp546);
80100#line 1974
80101              __cil_tmp548 = (unsigned long )__cil_tmp547;
80102#line 1974
80103              __cil_tmp549 = __cil_tmp548 + 32;
80104#line 1974
80105              __cil_tmp550 = *((u32 *)__cil_tmp549);
80106#line 1974
80107              __cil_tmp551 = (unsigned long )_ep___6;
80108#line 1974
80109              __cil_tmp552 = __cil_tmp551 + 82;
80110#line 1974
80111              __cil_tmp553 = *((u16 *)__cil_tmp552);
80112#line 1974
80113              __cil_tmp554 = (int )__cil_tmp553;
80114#line 1974
80115              __cil_tmp555 = (unsigned long )_ep___6;
80116#line 1974
80117              __cil_tmp556 = __cil_tmp555 + 84;
80118#line 1974
80119              __cil_tmp557 = *((u16 *)__cil_tmp556);
80120#line 1974
80121              __cil_tmp558 = (int )__cil_tmp557;
80122#line 1974
80123              printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: Returning DID_PARITY to scsi-ml due to FC_CRC_ERROR\n",
80124                     __cil_tmp544, __cil_tmp550, __cil_tmp554, __cil_tmp558);
80125              }
80126            } else {
80127              {
80128#line 1974
80129              __cil_tmp559 = (unsigned long )fsp;
80130#line 1974
80131              __cil_tmp560 = __cil_tmp559 + 56;
80132#line 1974
80133              __cil_tmp561 = *((struct fc_lport **)__cil_tmp560);
80134#line 1974
80135              __cil_tmp562 = *((struct Scsi_Host **)__cil_tmp561);
80136#line 1974
80137              __cil_tmp563 = (unsigned long )__cil_tmp562;
80138#line 1974
80139              __cil_tmp564 = __cil_tmp563 + 308;
80140#line 1974
80141              __cil_tmp565 = *((unsigned int *)__cil_tmp564);
80142#line 1974
80143              __cil_tmp566 = (unsigned long )fsp;
80144#line 1974
80145              __cil_tmp567 = __cil_tmp566 + 128;
80146#line 1974
80147              __cil_tmp568 = *((struct fc_rport **)__cil_tmp567);
80148#line 1974
80149              __cil_tmp569 = (unsigned long )__cil_tmp568;
80150#line 1974
80151              __cil_tmp570 = __cil_tmp569 + 32;
80152#line 1974
80153              __cil_tmp571 = *((u32 *)__cil_tmp570);
80154#line 1974
80155              printk("<6>host%u: fcp: %6.6x: Returning DID_PARITY to scsi-ml due to FC_CRC_ERROR\n",
80156                     __cil_tmp565, __cil_tmp571);
80157              }
80158            }
80159            }
80160#line 1974
80161            goto while_break___14;
80162          }
80163          while_break___14: /* CIL Label */ ;
80164          }
80165        } else {
80166
80167        }
80168#line 1974
80169        goto while_break___13;
80170      }
80171      while_break___13: /* CIL Label */ ;
80172      }
80173#line 1976
80174      __cil_tmp572 = (unsigned long )sc_cmd;
80175#line 1976
80176      __cil_tmp573 = __cil_tmp572 + 224;
80177#line 1976
80178      *((int *)__cil_tmp573) = 6 << 16;
80179#line 1977
80180      goto switch_break;
80181      case_11: /* CIL Label */ 
80182      {
80183#line 1979
80184      while (1) {
80185        while_continue___15: /* CIL Label */ ;
80186        {
80187#line 1979
80188        __cil_tmp574 = & fc_debug_logging;
80189#line 1979
80190        __cil_tmp575 = *__cil_tmp574;
80191#line 1979
80192        __cil_tmp576 = __cil_tmp575 & 16U;
80193#line 1979
80194        __cil_tmp577 = ! __cil_tmp576;
80195#line 1979
80196        __cil_tmp578 = ! __cil_tmp577;
80197#line 1979
80198        __cil_tmp579 = (long )__cil_tmp578;
80199#line 1979
80200        tmp___15 = __builtin_expect(__cil_tmp579, 0L);
80201        }
80202#line 1979
80203        if (tmp___15) {
80204          {
80205#line 1979
80206          while (1) {
80207            while_continue___16: /* CIL Label */ ;
80208            {
80209#line 1979
80210            __cil_tmp580 = (unsigned long )fsp;
80211#line 1979
80212            __cil_tmp581 = __cil_tmp580 + 136;
80213#line 1979
80214            if (*((struct fc_seq **)__cil_tmp581)) {
80215              {
80216#line 1979
80217              __cil_tmp582 = (void *)0;
80218#line 1979
80219              _ep___7 = (struct fc_exch *)__cil_tmp582;
80220#line 1979
80221              __cil_tmp583 = (unsigned long )fsp;
80222#line 1979
80223              __cil_tmp584 = __cil_tmp583 + 136;
80224#line 1979
80225              __cil_tmp585 = *((struct fc_seq **)__cil_tmp584);
80226#line 1979
80227              __mptr___7 = (struct fc_seq    *)__cil_tmp585;
80228#line 1979
80229              __cil_tmp586 = (struct fc_exch *)0;
80230#line 1979
80231              __cil_tmp587 = (unsigned long )__cil_tmp586;
80232#line 1979
80233              __cil_tmp588 = __cil_tmp587 + 108;
80234#line 1979
80235              __cil_tmp589 = (struct fc_seq *)__cil_tmp588;
80236#line 1979
80237              __cil_tmp590 = (unsigned int )__cil_tmp589;
80238#line 1979
80239              __cil_tmp591 = (char *)__mptr___7;
80240#line 1979
80241              __cil_tmp592 = __cil_tmp591 - __cil_tmp590;
80242#line 1979
80243              _ep___7 = (struct fc_exch *)__cil_tmp592;
80244#line 1979
80245              __cil_tmp593 = (unsigned long )fsp;
80246#line 1979
80247              __cil_tmp594 = __cil_tmp593 + 56;
80248#line 1979
80249              __cil_tmp595 = *((struct fc_lport **)__cil_tmp594);
80250#line 1979
80251              __cil_tmp596 = *((struct Scsi_Host **)__cil_tmp595);
80252#line 1979
80253              __cil_tmp597 = (unsigned long )__cil_tmp596;
80254#line 1979
80255              __cil_tmp598 = __cil_tmp597 + 308;
80256#line 1979
80257              __cil_tmp599 = *((unsigned int *)__cil_tmp598);
80258#line 1979
80259              __cil_tmp600 = (unsigned long )fsp;
80260#line 1979
80261              __cil_tmp601 = __cil_tmp600 + 128;
80262#line 1979
80263              __cil_tmp602 = *((struct fc_rport **)__cil_tmp601);
80264#line 1979
80265              __cil_tmp603 = (unsigned long )__cil_tmp602;
80266#line 1979
80267              __cil_tmp604 = __cil_tmp603 + 32;
80268#line 1979
80269              __cil_tmp605 = *((u32 *)__cil_tmp604);
80270#line 1979
80271              __cil_tmp606 = (unsigned long )_ep___7;
80272#line 1979
80273              __cil_tmp607 = __cil_tmp606 + 82;
80274#line 1979
80275              __cil_tmp608 = *((u16 *)__cil_tmp607);
80276#line 1979
80277              __cil_tmp609 = (int )__cil_tmp608;
80278#line 1979
80279              __cil_tmp610 = (unsigned long )_ep___7;
80280#line 1979
80281              __cil_tmp611 = __cil_tmp610 + 84;
80282#line 1979
80283              __cil_tmp612 = *((u16 *)__cil_tmp611);
80284#line 1979
80285              __cil_tmp613 = (int )__cil_tmp612;
80286#line 1979
80287              printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: Returning DID_BUS_BUSY to scsi-ml due to FC_TIMED_OUT\n",
80288                     __cil_tmp599, __cil_tmp605, __cil_tmp609, __cil_tmp613);
80289              }
80290            } else {
80291              {
80292#line 1979
80293              __cil_tmp614 = (unsigned long )fsp;
80294#line 1979
80295              __cil_tmp615 = __cil_tmp614 + 56;
80296#line 1979
80297              __cil_tmp616 = *((struct fc_lport **)__cil_tmp615);
80298#line 1979
80299              __cil_tmp617 = *((struct Scsi_Host **)__cil_tmp616);
80300#line 1979
80301              __cil_tmp618 = (unsigned long )__cil_tmp617;
80302#line 1979
80303              __cil_tmp619 = __cil_tmp618 + 308;
80304#line 1979
80305              __cil_tmp620 = *((unsigned int *)__cil_tmp619);
80306#line 1979
80307              __cil_tmp621 = (unsigned long )fsp;
80308#line 1979
80309              __cil_tmp622 = __cil_tmp621 + 128;
80310#line 1979
80311              __cil_tmp623 = *((struct fc_rport **)__cil_tmp622);
80312#line 1979
80313              __cil_tmp624 = (unsigned long )__cil_tmp623;
80314#line 1979
80315              __cil_tmp625 = __cil_tmp624 + 32;
80316#line 1979
80317              __cil_tmp626 = *((u32 *)__cil_tmp625);
80318#line 1979
80319              printk("<6>host%u: fcp: %6.6x: Returning DID_BUS_BUSY to scsi-ml due to FC_TIMED_OUT\n",
80320                     __cil_tmp620, __cil_tmp626);
80321              }
80322            }
80323            }
80324#line 1979
80325            goto while_break___16;
80326          }
80327          while_break___16: /* CIL Label */ ;
80328          }
80329        } else {
80330
80331        }
80332#line 1979
80333        goto while_break___15;
80334      }
80335      while_break___15: /* CIL Label */ ;
80336      }
80337#line 1981
80338      __cil_tmp627 = (unsigned long )sc_cmd;
80339#line 1981
80340      __cil_tmp628 = __cil_tmp627 + 224;
80341#line 1981
80342      __cil_tmp629 = (unsigned long )fsp;
80343#line 1981
80344      __cil_tmp630 = __cil_tmp629 + 68;
80345#line 1981
80346      __cil_tmp631 = *((u32 *)__cil_tmp630);
80347#line 1981
80348      __cil_tmp632 = 2 << 16;
80349#line 1981
80350      __cil_tmp633 = (unsigned int )__cil_tmp632;
80351#line 1981
80352      __cil_tmp634 = __cil_tmp633 | __cil_tmp631;
80353#line 1981
80354      *((int *)__cil_tmp628) = (int )__cil_tmp634;
80355#line 1982
80356      goto switch_break;
80357      switch_default: /* CIL Label */ 
80358      {
80359#line 1984
80360      while (1) {
80361        while_continue___17: /* CIL Label */ ;
80362        {
80363#line 1984
80364        __cil_tmp635 = & fc_debug_logging;
80365#line 1984
80366        __cil_tmp636 = *__cil_tmp635;
80367#line 1984
80368        __cil_tmp637 = __cil_tmp636 & 16U;
80369#line 1984
80370        __cil_tmp638 = ! __cil_tmp637;
80371#line 1984
80372        __cil_tmp639 = ! __cil_tmp638;
80373#line 1984
80374        __cil_tmp640 = (long )__cil_tmp639;
80375#line 1984
80376        tmp___16 = __builtin_expect(__cil_tmp640, 0L);
80377        }
80378#line 1984
80379        if (tmp___16) {
80380          {
80381#line 1984
80382          while (1) {
80383            while_continue___18: /* CIL Label */ ;
80384            {
80385#line 1984
80386            __cil_tmp641 = (unsigned long )fsp;
80387#line 1984
80388            __cil_tmp642 = __cil_tmp641 + 136;
80389#line 1984
80390            if (*((struct fc_seq **)__cil_tmp642)) {
80391              {
80392#line 1984
80393              __cil_tmp643 = (void *)0;
80394#line 1984
80395              _ep___8 = (struct fc_exch *)__cil_tmp643;
80396#line 1984
80397              __cil_tmp644 = (unsigned long )fsp;
80398#line 1984
80399              __cil_tmp645 = __cil_tmp644 + 136;
80400#line 1984
80401              __cil_tmp646 = *((struct fc_seq **)__cil_tmp645);
80402#line 1984
80403              __mptr___8 = (struct fc_seq    *)__cil_tmp646;
80404#line 1984
80405              __cil_tmp647 = (struct fc_exch *)0;
80406#line 1984
80407              __cil_tmp648 = (unsigned long )__cil_tmp647;
80408#line 1984
80409              __cil_tmp649 = __cil_tmp648 + 108;
80410#line 1984
80411              __cil_tmp650 = (struct fc_seq *)__cil_tmp649;
80412#line 1984
80413              __cil_tmp651 = (unsigned int )__cil_tmp650;
80414#line 1984
80415              __cil_tmp652 = (char *)__mptr___8;
80416#line 1984
80417              __cil_tmp653 = __cil_tmp652 - __cil_tmp651;
80418#line 1984
80419              _ep___8 = (struct fc_exch *)__cil_tmp653;
80420#line 1984
80421              __cil_tmp654 = (unsigned long )fsp;
80422#line 1984
80423              __cil_tmp655 = __cil_tmp654 + 56;
80424#line 1984
80425              __cil_tmp656 = *((struct fc_lport **)__cil_tmp655);
80426#line 1984
80427              __cil_tmp657 = *((struct Scsi_Host **)__cil_tmp656);
80428#line 1984
80429              __cil_tmp658 = (unsigned long )__cil_tmp657;
80430#line 1984
80431              __cil_tmp659 = __cil_tmp658 + 308;
80432#line 1984
80433              __cil_tmp660 = *((unsigned int *)__cil_tmp659);
80434#line 1984
80435              __cil_tmp661 = (unsigned long )fsp;
80436#line 1984
80437              __cil_tmp662 = __cil_tmp661 + 128;
80438#line 1984
80439              __cil_tmp663 = *((struct fc_rport **)__cil_tmp662);
80440#line 1984
80441              __cil_tmp664 = (unsigned long )__cil_tmp663;
80442#line 1984
80443              __cil_tmp665 = __cil_tmp664 + 32;
80444#line 1984
80445              __cil_tmp666 = *((u32 *)__cil_tmp665);
80446#line 1984
80447              __cil_tmp667 = (unsigned long )_ep___8;
80448#line 1984
80449              __cil_tmp668 = __cil_tmp667 + 82;
80450#line 1984
80451              __cil_tmp669 = *((u16 *)__cil_tmp668);
80452#line 1984
80453              __cil_tmp670 = (int )__cil_tmp669;
80454#line 1984
80455              __cil_tmp671 = (unsigned long )_ep___8;
80456#line 1984
80457              __cil_tmp672 = __cil_tmp671 + 84;
80458#line 1984
80459              __cil_tmp673 = *((u16 *)__cil_tmp672);
80460#line 1984
80461              __cil_tmp674 = (int )__cil_tmp673;
80462#line 1984
80463              printk("<6>host%u: fcp: %6.6x: xid %04x-%04x: Returning DID_ERROR to scsi-ml due to unknown error\n",
80464                     __cil_tmp660, __cil_tmp666, __cil_tmp670, __cil_tmp674);
80465              }
80466            } else {
80467              {
80468#line 1984
80469              __cil_tmp675 = (unsigned long )fsp;
80470#line 1984
80471              __cil_tmp676 = __cil_tmp675 + 56;
80472#line 1984
80473              __cil_tmp677 = *((struct fc_lport **)__cil_tmp676);
80474#line 1984
80475              __cil_tmp678 = *((struct Scsi_Host **)__cil_tmp677);
80476#line 1984
80477              __cil_tmp679 = (unsigned long )__cil_tmp678;
80478#line 1984
80479              __cil_tmp680 = __cil_tmp679 + 308;
80480#line 1984
80481              __cil_tmp681 = *((unsigned int *)__cil_tmp680);
80482#line 1984
80483              __cil_tmp682 = (unsigned long )fsp;
80484#line 1984
80485              __cil_tmp683 = __cil_tmp682 + 128;
80486#line 1984
80487              __cil_tmp684 = *((struct fc_rport **)__cil_tmp683);
80488#line 1984
80489              __cil_tmp685 = (unsigned long )__cil_tmp684;
80490#line 1984
80491              __cil_tmp686 = __cil_tmp685 + 32;
80492#line 1984
80493              __cil_tmp687 = *((u32 *)__cil_tmp686);
80494#line 1984
80495              printk("<6>host%u: fcp: %6.6x: Returning DID_ERROR to scsi-ml due to unknown error\n",
80496                     __cil_tmp681, __cil_tmp687);
80497              }
80498            }
80499            }
80500#line 1984
80501            goto while_break___18;
80502          }
80503          while_break___18: /* CIL Label */ ;
80504          }
80505        } else {
80506
80507        }
80508#line 1984
80509        goto while_break___17;
80510      }
80511      while_break___17: /* CIL Label */ ;
80512      }
80513#line 1986
80514      __cil_tmp688 = (unsigned long )sc_cmd;
80515#line 1986
80516      __cil_tmp689 = __cil_tmp688 + 224;
80517#line 1986
80518      *((int *)__cil_tmp689) = 7 << 16;
80519#line 1987
80520      goto switch_break;
80521    } else {
80522      switch_break: /* CIL Label */ ;
80523    }
80524    }
80525  }
80526  }
80527  {
80528#line 1990
80529  __cil_tmp690 = (unsigned long )lport;
80530#line 1990
80531  __cil_tmp691 = __cil_tmp690 + 604;
80532#line 1990
80533  __cil_tmp692 = *((enum fc_lport_state *)__cil_tmp691);
80534#line 1990
80535  __cil_tmp693 = (unsigned int )__cil_tmp692;
80536#line 1990
80537  if (__cil_tmp693 != 14U) {
80538    {
80539#line 1990
80540    __cil_tmp694 = (unsigned long )fsp;
80541#line 1990
80542    __cil_tmp695 = __cil_tmp694 + 66;
80543#line 1990
80544    __cil_tmp696 = *((u8 *)__cil_tmp695);
80545#line 1990
80546    __cil_tmp697 = (int )__cil_tmp696;
80547#line 1990
80548    if (__cil_tmp697 != 0) {
80549#line 1991
80550      __cil_tmp698 = (unsigned long )sc_cmd;
80551#line 1991
80552      __cil_tmp699 = __cil_tmp698 + 224;
80553#line 1991
80554      *((int *)__cil_tmp699) = 14 << 16;
80555    } else {
80556
80557    }
80558    }
80559  } else {
80560
80561  }
80562  }
80563  {
80564#line 1993
80565  while (1) {
80566    while_continue___19: /* CIL Label */ ;
80567    {
80568#line 1993
80569    while (1) {
80570      while_continue___20: /* CIL Label */ ;
80571      {
80572#line 1993
80573      __cil_tmp700 = (unsigned long )si;
80574#line 1993
80575      __cil_tmp701 = __cil_tmp700 + 8;
80576#line 1993
80577      __cil_tmp702 = (spinlock_t *)__cil_tmp701;
80578#line 1993
80579      tmp___17 = spinlock_check(__cil_tmp702);
80580#line 1993
80581      flags = _raw_spin_lock_irqsave(tmp___17);
80582      }
80583#line 1993
80584      goto while_break___20;
80585    }
80586    while_break___20: /* CIL Label */ ;
80587    }
80588#line 1993
80589    goto while_break___19;
80590  }
80591  while_break___19: /* CIL Label */ ;
80592  }
80593  {
80594#line 1994
80595  __cil_tmp703 = (unsigned long )fsp;
80596#line 1994
80597  __cil_tmp704 = __cil_tmp703 + 40;
80598#line 1994
80599  __cil_tmp705 = (struct list_head *)__cil_tmp704;
80600#line 1994
80601  list_del(__cil_tmp705);
80602#line 1995
80603  __cil_tmp706 = (unsigned long )sc_cmd;
80604#line 1995
80605  __cil_tmp707 = __cil_tmp706 + 152;
80606#line 1995
80607  __cil_tmp708 = (void *)0;
80608#line 1995
80609  *((char **)__cil_tmp707) = (char *)__cil_tmp708;
80610#line 1996
80611  __cil_tmp709 = (unsigned long )si;
80612#line 1996
80613  __cil_tmp710 = __cil_tmp709 + 8;
80614#line 1996
80615  __cil_tmp711 = (spinlock_t *)__cil_tmp710;
80616#line 1996
80617  spin_unlock_irqrestore(__cil_tmp711, flags);
80618#line 1997
80619  __cil_tmp712 = (unsigned long )sc_cmd;
80620#line 1997
80621  __cil_tmp713 = __cil_tmp712 + 144;
80622#line 1997
80623  __cil_tmp714 = *((void (**)(struct scsi_cmnd * ))__cil_tmp713);
80624#line 1997
80625  (*__cil_tmp714)(sc_cmd);
80626#line 2000
80627  fc_fcp_pkt_release(fsp);
80628  }
80629#line 2001
80630  return;
80631}
80632}
80633#line 2010 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
80634int fc_eh_abort(struct scsi_cmnd *sc_cmd ) 
80635{ struct fc_fcp_pkt *fsp ;
80636  struct fc_lport *lport ;
80637  struct fc_fcp_internal *si ;
80638  int rc ;
80639  unsigned long flags ;
80640  int rval ;
80641  void *tmp___7 ;
80642  raw_spinlock_t *tmp___8 ;
80643  int tmp___9 ;
80644  struct scsi_device *__cil_tmp13 ;
80645  struct Scsi_Host *__cil_tmp14 ;
80646  unsigned long __cil_tmp15 ;
80647  unsigned long __cil_tmp16 ;
80648  enum fc_lport_state __cil_tmp17 ;
80649  unsigned int __cil_tmp18 ;
80650  unsigned long __cil_tmp19 ;
80651  unsigned long __cil_tmp20 ;
80652  u8 __cil_tmp21 ;
80653  unsigned long __cil_tmp22 ;
80654  unsigned long __cil_tmp23 ;
80655  void *__cil_tmp24 ;
80656  unsigned long __cil_tmp25 ;
80657  unsigned long __cil_tmp26 ;
80658  spinlock_t *__cil_tmp27 ;
80659  unsigned long __cil_tmp28 ;
80660  unsigned long __cil_tmp29 ;
80661  char *__cil_tmp30 ;
80662  unsigned long __cil_tmp31 ;
80663  unsigned long __cil_tmp32 ;
80664  spinlock_t *__cil_tmp33 ;
80665  unsigned long __cil_tmp34 ;
80666  unsigned long __cil_tmp35 ;
80667  spinlock_t *__cil_tmp36 ;
80668
80669  {
80670  {
80671#line 2015
80672  rc = 8195;
80673#line 2019
80674  rval = fc_block_scsi_eh(sc_cmd);
80675  }
80676#line 2020
80677  if (rval) {
80678#line 2021
80679    return (rval);
80680  } else {
80681
80682  }
80683  {
80684#line 2023
80685  __cil_tmp13 = *((struct scsi_device **)sc_cmd);
80686#line 2023
80687  __cil_tmp14 = *((struct Scsi_Host **)__cil_tmp13);
80688#line 2023
80689  tmp___7 = shost_priv(__cil_tmp14);
80690#line 2023
80691  lport = (struct fc_lport *)tmp___7;
80692  }
80693  {
80694#line 2024
80695  __cil_tmp15 = (unsigned long )lport;
80696#line 2024
80697  __cil_tmp16 = __cil_tmp15 + 604;
80698#line 2024
80699  __cil_tmp17 = *((enum fc_lport_state *)__cil_tmp16);
80700#line 2024
80701  __cil_tmp18 = (unsigned int )__cil_tmp17;
80702#line 2024
80703  if (__cil_tmp18 != 14U) {
80704#line 2025
80705    return (rc);
80706  } else {
80707    {
80708#line 2026
80709    __cil_tmp19 = (unsigned long )lport;
80710#line 2026
80711    __cil_tmp20 = __cil_tmp19 + 600;
80712#line 2026
80713    __cil_tmp21 = *((u8 *)__cil_tmp20);
80714#line 2026
80715    if (! __cil_tmp21) {
80716#line 2027
80717      return (rc);
80718    } else {
80719
80720    }
80721    }
80722  }
80723  }
80724#line 2029
80725  __cil_tmp22 = (unsigned long )lport;
80726#line 2029
80727  __cil_tmp23 = __cil_tmp22 + 48;
80728#line 2029
80729  __cil_tmp24 = *((void **)__cil_tmp23);
80730#line 2029
80731  si = (struct fc_fcp_internal *)__cil_tmp24;
80732  {
80733#line 2030
80734  while (1) {
80735    while_continue: /* CIL Label */ ;
80736    {
80737#line 2030
80738    while (1) {
80739      while_continue___0: /* CIL Label */ ;
80740      {
80741#line 2030
80742      __cil_tmp25 = (unsigned long )si;
80743#line 2030
80744      __cil_tmp26 = __cil_tmp25 + 8;
80745#line 2030
80746      __cil_tmp27 = (spinlock_t *)__cil_tmp26;
80747#line 2030
80748      tmp___8 = spinlock_check(__cil_tmp27);
80749#line 2030
80750      flags = _raw_spin_lock_irqsave(tmp___8);
80751      }
80752#line 2030
80753      goto while_break___0;
80754    }
80755    while_break___0: /* CIL Label */ ;
80756    }
80757#line 2030
80758    goto while_break;
80759  }
80760  while_break: /* CIL Label */ ;
80761  }
80762#line 2031
80763  __cil_tmp28 = (unsigned long )sc_cmd;
80764#line 2031
80765  __cil_tmp29 = __cil_tmp28 + 152;
80766#line 2031
80767  __cil_tmp30 = *((char **)__cil_tmp29);
80768#line 2031
80769  fsp = (struct fc_fcp_pkt *)__cil_tmp30;
80770#line 2032
80771  if (! fsp) {
80772    {
80773#line 2034
80774    __cil_tmp31 = (unsigned long )si;
80775#line 2034
80776    __cil_tmp32 = __cil_tmp31 + 8;
80777#line 2034
80778    __cil_tmp33 = (spinlock_t *)__cil_tmp32;
80779#line 2034
80780    spin_unlock_irqrestore(__cil_tmp33, flags);
80781    }
80782#line 2035
80783    return (8194);
80784  } else {
80785
80786  }
80787  {
80788#line 2038
80789  fc_fcp_pkt_hold(fsp);
80790#line 2039
80791  __cil_tmp34 = (unsigned long )si;
80792#line 2039
80793  __cil_tmp35 = __cil_tmp34 + 8;
80794#line 2039
80795  __cil_tmp36 = (spinlock_t *)__cil_tmp35;
80796#line 2039
80797  spin_unlock_irqrestore(__cil_tmp36, flags);
80798#line 2041
80799  tmp___9 = fc_fcp_lock_pkt(fsp);
80800  }
80801#line 2041
80802  if (tmp___9) {
80803#line 2043
80804    rc = 8194;
80805#line 2044
80806    goto release_pkt;
80807  } else {
80808
80809  }
80810  {
80811#line 2047
80812  rc = fc_fcp_pkt_abort(fsp);
80813#line 2048
80814  fc_fcp_unlock_pkt(fsp);
80815  }
80816  release_pkt: 
80817  {
80818#line 2051
80819  fc_fcp_pkt_release(fsp);
80820  }
80821#line 2052
80822  return (rc);
80823}
80824}
80825#line 2054
80826extern void *__crc_fc_eh_abort  __attribute__((__weak__)) ;
80827#line 2054 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
80828static unsigned long    __kcrctab_fc_eh_abort  __attribute__((__used__, __unused__,
80829__section__("___kcrctab+fc_eh_abort")))  =    (unsigned long    )((unsigned long )(& __crc_fc_eh_abort));
80830#line 2054 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
80831static char    __kstrtab_fc_eh_abort[12]  __attribute__((__section__("__ksymtab_strings"),
80832__aligned__(1)))  = 
80833#line 2054
80834  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'e', 
80835        (char    )'h',      (char    )'_',      (char const   )'a',      (char const   )'b', 
80836        (char    )'o',      (char    )'r',      (char const   )'t',      (char const   )'\000'};
80837#line 2054 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
80838static struct kernel_symbol    __ksymtab_fc_eh_abort  __attribute__((__used__,
80839__unused__, __section__("___ksymtab+fc_eh_abort")))  =    {(unsigned long )(& fc_eh_abort), __kstrtab_fc_eh_abort};
80840#line 2063 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
80841int fc_eh_device_reset(struct scsi_cmnd *sc_cmd ) 
80842{ struct fc_lport *lport ;
80843  struct fc_fcp_pkt *fsp ;
80844  struct fc_rport *rport ;
80845  struct device    *__mptr ;
80846  struct scsi_target *tmp___9 ;
80847  struct fc_rport *tmp___10 ;
80848  struct scsi_target *tmp___11 ;
80849  int tmp___12 ;
80850  int rc ;
80851  int rval ;
80852  void *tmp___13 ;
80853  long tmp___14 ;
80854  unsigned int tmp___15 ;
80855  struct scsi_device *__cil_tmp17 ;
80856  unsigned long __cil_tmp18 ;
80857  unsigned long __cil_tmp19 ;
80858  struct device *__cil_tmp20 ;
80859  struct device    *__cil_tmp21 ;
80860  struct scsi_device *__cil_tmp22 ;
80861  unsigned long __cil_tmp23 ;
80862  unsigned long __cil_tmp24 ;
80863  struct device *__cil_tmp25 ;
80864  struct fc_rport *__cil_tmp26 ;
80865  unsigned long __cil_tmp27 ;
80866  unsigned long __cil_tmp28 ;
80867  struct device *__cil_tmp29 ;
80868  unsigned int __cil_tmp30 ;
80869  char *__cil_tmp31 ;
80870  char *__cil_tmp32 ;
80871  void *__cil_tmp33 ;
80872  struct scsi_device *__cil_tmp34 ;
80873  struct Scsi_Host *__cil_tmp35 ;
80874  unsigned long __cil_tmp36 ;
80875  unsigned long __cil_tmp37 ;
80876  enum fc_lport_state __cil_tmp38 ;
80877  unsigned int __cil_tmp39 ;
80878  unsigned int *__cil_tmp40 ;
80879  unsigned int __cil_tmp41 ;
80880  unsigned int __cil_tmp42 ;
80881  int __cil_tmp43 ;
80882  int __cil_tmp44 ;
80883  long __cil_tmp45 ;
80884  struct Scsi_Host *__cil_tmp46 ;
80885  unsigned long __cil_tmp47 ;
80886  unsigned long __cil_tmp48 ;
80887  unsigned int __cil_tmp49 ;
80888  unsigned long __cil_tmp50 ;
80889  unsigned long __cil_tmp51 ;
80890  u32 __cil_tmp52 ;
80891  void *__cil_tmp53 ;
80892  unsigned long __cil_tmp54 ;
80893  unsigned long __cil_tmp55 ;
80894  unsigned long __cil_tmp56 ;
80895  unsigned long __cil_tmp57 ;
80896  struct scsi_device *__cil_tmp58 ;
80897  struct scsi_device *__cil_tmp59 ;
80898  unsigned long __cil_tmp60 ;
80899  unsigned long __cil_tmp61 ;
80900  unsigned int __cil_tmp62 ;
80901  unsigned long __cil_tmp63 ;
80902  unsigned long __cil_tmp64 ;
80903
80904  {
80905  {
80906#line 2067
80907  __cil_tmp17 = *((struct scsi_device **)sc_cmd);
80908#line 2067
80909  tmp___11 = scsi_target(__cil_tmp17);
80910#line 2067
80911  __cil_tmp18 = (unsigned long )tmp___11;
80912#line 2067
80913  __cil_tmp19 = __cil_tmp18 + 40;
80914#line 2067
80915  __cil_tmp20 = *((struct device **)__cil_tmp19);
80916#line 2067
80917  __cil_tmp21 = (struct device    *)__cil_tmp20;
80918#line 2067
80919  tmp___12 = scsi_is_fc_rport(__cil_tmp21);
80920  }
80921#line 2067
80922  if (tmp___12) {
80923    {
80924#line 2067
80925    __cil_tmp22 = *((struct scsi_device **)sc_cmd);
80926#line 2067
80927    tmp___9 = scsi_target(__cil_tmp22);
80928#line 2067
80929    __cil_tmp23 = (unsigned long )tmp___9;
80930#line 2067
80931    __cil_tmp24 = __cil_tmp23 + 40;
80932#line 2067
80933    __cil_tmp25 = *((struct device **)__cil_tmp24);
80934#line 2067
80935    __mptr = (struct device    *)__cil_tmp25;
80936#line 2067
80937    __cil_tmp26 = (struct fc_rport *)0;
80938#line 2067
80939    __cil_tmp27 = (unsigned long )__cil_tmp26;
80940#line 2067
80941    __cil_tmp28 = __cil_tmp27 + 96;
80942#line 2067
80943    __cil_tmp29 = (struct device *)__cil_tmp28;
80944#line 2067
80945    __cil_tmp30 = (unsigned int )__cil_tmp29;
80946#line 2067
80947    __cil_tmp31 = (char *)__mptr;
80948#line 2067
80949    __cil_tmp32 = __cil_tmp31 - __cil_tmp30;
80950#line 2067
80951    tmp___10 = (struct fc_rport *)__cil_tmp32;
80952    }
80953  } else {
80954#line 2067
80955    __cil_tmp33 = (void *)0;
80956#line 2067
80957    tmp___10 = (struct fc_rport *)__cil_tmp33;
80958  }
80959  {
80960#line 2067
80961  rport = tmp___10;
80962#line 2068
80963  rc = 8195;
80964#line 2071
80965  rval = fc_block_scsi_eh(sc_cmd);
80966  }
80967#line 2072
80968  if (rval) {
80969#line 2073
80970    return (rval);
80971  } else {
80972
80973  }
80974  {
80975#line 2075
80976  __cil_tmp34 = *((struct scsi_device **)sc_cmd);
80977#line 2075
80978  __cil_tmp35 = *((struct Scsi_Host **)__cil_tmp34);
80979#line 2075
80980  tmp___13 = shost_priv(__cil_tmp35);
80981#line 2075
80982  lport = (struct fc_lport *)tmp___13;
80983  }
80984  {
80985#line 2077
80986  __cil_tmp36 = (unsigned long )lport;
80987#line 2077
80988  __cil_tmp37 = __cil_tmp36 + 604;
80989#line 2077
80990  __cil_tmp38 = *((enum fc_lport_state *)__cil_tmp37);
80991#line 2077
80992  __cil_tmp39 = (unsigned int )__cil_tmp38;
80993#line 2077
80994  if (__cil_tmp39 != 14U) {
80995#line 2078
80996    return (rc);
80997  } else {
80998
80999  }
81000  }
81001  {
81002#line 2080
81003  while (1) {
81004    while_continue: /* CIL Label */ ;
81005    {
81006#line 2080
81007    __cil_tmp40 = & fc_debug_logging;
81008#line 2080
81009    __cil_tmp41 = *__cil_tmp40;
81010#line 2080
81011    __cil_tmp42 = __cil_tmp41 & 128U;
81012#line 2080
81013    __cil_tmp43 = ! __cil_tmp42;
81014#line 2080
81015    __cil_tmp44 = ! __cil_tmp43;
81016#line 2080
81017    __cil_tmp45 = (long )__cil_tmp44;
81018#line 2080
81019    tmp___14 = __builtin_expect(__cil_tmp45, 0L);
81020    }
81021#line 2080
81022    if (tmp___14) {
81023      {
81024#line 2080
81025      while (1) {
81026        while_continue___0: /* CIL Label */ ;
81027        {
81028#line 2080
81029        __cil_tmp46 = *((struct Scsi_Host **)lport);
81030#line 2080
81031        __cil_tmp47 = (unsigned long )__cil_tmp46;
81032#line 2080
81033        __cil_tmp48 = __cil_tmp47 + 308;
81034#line 2080
81035        __cil_tmp49 = *((unsigned int *)__cil_tmp48);
81036#line 2080
81037        __cil_tmp50 = (unsigned long )rport;
81038#line 2080
81039        __cil_tmp51 = __cil_tmp50 + 32;
81040#line 2080
81041        __cil_tmp52 = *((u32 *)__cil_tmp51);
81042#line 2080
81043        printk("<6>host%u: scsi: Resetting rport (%6.6x)\n", __cil_tmp49, __cil_tmp52);
81044        }
81045#line 2080
81046        goto while_break___0;
81047      }
81048      while_break___0: /* CIL Label */ ;
81049      }
81050    } else {
81051
81052    }
81053#line 2080
81054    goto while_break;
81055  }
81056  while_break: /* CIL Label */ ;
81057  }
81058  {
81059#line 2082
81060  fsp = fc_fcp_pkt_alloc(lport, 16U);
81061  }
81062  {
81063#line 2083
81064  __cil_tmp53 = (void *)0;
81065#line 2083
81066  __cil_tmp54 = (unsigned long )__cil_tmp53;
81067#line 2083
81068  __cil_tmp55 = (unsigned long )fsp;
81069#line 2083
81070  if (__cil_tmp55 == __cil_tmp54) {
81071    {
81072#line 2084
81073    printk("<4>libfc: could not allocate scsi_pkt\n");
81074    }
81075#line 2085
81076    goto out;
81077  } else {
81078
81079  }
81080  }
81081  {
81082#line 2093
81083  __cil_tmp56 = (unsigned long )fsp;
81084#line 2093
81085  __cil_tmp57 = __cil_tmp56 + 128;
81086#line 2093
81087  *((struct fc_rport **)__cil_tmp57) = rport;
81088#line 2098
81089  __cil_tmp58 = *((struct scsi_device **)sc_cmd);
81090#line 2098
81091  tmp___15 = sdev_id(__cil_tmp58);
81092#line 2098
81093  __cil_tmp59 = *((struct scsi_device **)sc_cmd);
81094#line 2098
81095  __cil_tmp60 = (unsigned long )__cil_tmp59;
81096#line 2098
81097  __cil_tmp61 = __cil_tmp60 + 156;
81098#line 2098
81099  __cil_tmp62 = *((unsigned int *)__cil_tmp61);
81100#line 2098
81101  rc = fc_lun_reset(lport, fsp, tmp___15, __cil_tmp62);
81102#line 2099
81103  __cil_tmp63 = (unsigned long )fsp;
81104#line 2099
81105  __cil_tmp64 = __cil_tmp63 + 64;
81106#line 2099
81107  *((u8 *)__cil_tmp64) = (u8 )0;
81108#line 2100
81109  fc_fcp_pkt_release(fsp);
81110  }
81111  out: 
81112#line 2103
81113  return (rc);
81114}
81115}
81116#line 2105
81117extern void *__crc_fc_eh_device_reset  __attribute__((__weak__)) ;
81118#line 2105 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81119static unsigned long    __kcrctab_fc_eh_device_reset  __attribute__((__used__,
81120__unused__, __section__("___kcrctab+fc_eh_device_reset")))  =    (unsigned long    )((unsigned long )(& __crc_fc_eh_device_reset));
81121#line 2105 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81122static char    __kstrtab_fc_eh_device_reset[19]  __attribute__((__section__("__ksymtab_strings"),
81123__aligned__(1)))  = 
81124#line 2105
81125  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'e', 
81126        (char    )'h',      (char    )'_',      (char const   )'d',      (char const   )'e', 
81127        (char    )'v',      (char    )'i',      (char const   )'c',      (char const   )'e', 
81128        (char    )'_',      (char    )'r',      (char const   )'e',      (char const   )'s', 
81129        (char    )'e',      (char    )'t',      (char const   )'\000'};
81130#line 2105 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81131static struct kernel_symbol    __ksymtab_fc_eh_device_reset  __attribute__((__used__,
81132__unused__, __section__("___ksymtab+fc_eh_device_reset")))  =    {(unsigned long )(& fc_eh_device_reset), __kstrtab_fc_eh_device_reset};
81133#line 2111 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81134int fc_eh_host_reset(struct scsi_cmnd *sc_cmd ) 
81135{ struct Scsi_Host *shost ;
81136  struct fc_lport *lport ;
81137  void *tmp___7 ;
81138  unsigned long wait_tmo ;
81139  long tmp___8 ;
81140  int tmp___9 ;
81141  int tmp___10 ;
81142  struct scsi_device *__cil_tmp13 ;
81143  unsigned int *__cil_tmp14 ;
81144  unsigned int __cil_tmp15 ;
81145  unsigned int __cil_tmp16 ;
81146  int __cil_tmp17 ;
81147  int __cil_tmp18 ;
81148  long __cil_tmp19 ;
81149  struct Scsi_Host *__cil_tmp20 ;
81150  unsigned long __cil_tmp21 ;
81151  unsigned long __cil_tmp22 ;
81152  unsigned int __cil_tmp23 ;
81153  unsigned long __cil_tmp24 ;
81154  unsigned long __cil_tmp25 ;
81155  unsigned long __cil_tmp26 ;
81156  int (*__cil_tmp27)(struct fc_lport * ) ;
81157  unsigned long volatile   __cil_tmp28 ;
81158  unsigned long volatile   __cil_tmp29 ;
81159  long __cil_tmp30 ;
81160  long __cil_tmp31 ;
81161  long __cil_tmp32 ;
81162  unsigned long __cil_tmp33 ;
81163  unsigned long __cil_tmp34 ;
81164  struct device *__cil_tmp35 ;
81165  struct device    *__cil_tmp36 ;
81166  unsigned long __cil_tmp37 ;
81167  unsigned long __cil_tmp38 ;
81168  u32 __cil_tmp39 ;
81169  unsigned long __cil_tmp40 ;
81170  unsigned long __cil_tmp41 ;
81171  struct device *__cil_tmp42 ;
81172  struct device    *__cil_tmp43 ;
81173  unsigned long __cil_tmp44 ;
81174  unsigned long __cil_tmp45 ;
81175  u32 __cil_tmp46 ;
81176
81177  {
81178  {
81179#line 2113
81180  __cil_tmp13 = *((struct scsi_device **)sc_cmd);
81181#line 2113
81182  shost = *((struct Scsi_Host **)__cil_tmp13);
81183#line 2114
81184  tmp___7 = shost_priv(shost);
81185#line 2114
81186  lport = (struct fc_lport *)tmp___7;
81187  }
81188  {
81189#line 2117
81190  while (1) {
81191    while_continue: /* CIL Label */ ;
81192    {
81193#line 2117
81194    __cil_tmp14 = & fc_debug_logging;
81195#line 2117
81196    __cil_tmp15 = *__cil_tmp14;
81197#line 2117
81198    __cil_tmp16 = __cil_tmp15 & 128U;
81199#line 2117
81200    __cil_tmp17 = ! __cil_tmp16;
81201#line 2117
81202    __cil_tmp18 = ! __cil_tmp17;
81203#line 2117
81204    __cil_tmp19 = (long )__cil_tmp18;
81205#line 2117
81206    tmp___8 = __builtin_expect(__cil_tmp19, 0L);
81207    }
81208#line 2117
81209    if (tmp___8) {
81210      {
81211#line 2117
81212      while (1) {
81213        while_continue___0: /* CIL Label */ ;
81214        {
81215#line 2117
81216        __cil_tmp20 = *((struct Scsi_Host **)lport);
81217#line 2117
81218        __cil_tmp21 = (unsigned long )__cil_tmp20;
81219#line 2117
81220        __cil_tmp22 = __cil_tmp21 + 308;
81221#line 2117
81222        __cil_tmp23 = *((unsigned int *)__cil_tmp22);
81223#line 2117
81224        printk("<6>host%u: scsi: Resetting host\n", __cil_tmp23);
81225        }
81226#line 2117
81227        goto while_break___0;
81228      }
81229      while_break___0: /* CIL Label */ ;
81230      }
81231    } else {
81232
81233    }
81234#line 2117
81235    goto while_break;
81236  }
81237  while_break: /* CIL Label */ ;
81238  }
81239  {
81240#line 2119
81241  fc_block_scsi_eh(sc_cmd);
81242#line 2121
81243  __cil_tmp24 = 328 + 144;
81244#line 2121
81245  __cil_tmp25 = (unsigned long )lport;
81246#line 2121
81247  __cil_tmp26 = __cil_tmp25 + __cil_tmp24;
81248#line 2121
81249  __cil_tmp27 = *((int (**)(struct fc_lport * ))__cil_tmp26);
81250#line 2121
81251  (*__cil_tmp27)(lport);
81252#line 2122
81253  __cil_tmp28 = (unsigned long volatile   )7500;
81254#line 2122
81255  __cil_tmp29 = jiffies + __cil_tmp28;
81256#line 2122
81257  wait_tmo = (unsigned long )__cil_tmp29;
81258  }
81259  {
81260#line 2123
81261  while (1) {
81262    while_continue___1: /* CIL Label */ ;
81263    {
81264#line 2123
81265    tmp___9 = fc_fcp_lport_queue_ready(lport);
81266    }
81267#line 2123
81268    if (tmp___9) {
81269#line 2123
81270      goto while_break___1;
81271    } else {
81272      {
81273#line 2123
81274      __cil_tmp30 = (long )wait_tmo;
81275#line 2123
81276      __cil_tmp31 = (long )jiffies;
81277#line 2123
81278      __cil_tmp32 = __cil_tmp31 - __cil_tmp30;
81279#line 2123
81280      if (__cil_tmp32 < 0L) {
81281
81282      } else {
81283#line 2123
81284        goto while_break___1;
81285      }
81286      }
81287    }
81288    {
81289#line 2125
81290    msleep(1000U);
81291    }
81292  }
81293  while_break___1: /* CIL Label */ ;
81294  }
81295  {
81296#line 2127
81297  tmp___10 = fc_fcp_lport_queue_ready(lport);
81298  }
81299#line 2127
81300  if (tmp___10) {
81301    {
81302#line 2128
81303    __cil_tmp33 = (unsigned long )shost;
81304#line 2128
81305    __cil_tmp34 = __cil_tmp33 + 472;
81306#line 2128
81307    __cil_tmp35 = (struct device *)__cil_tmp34;
81308#line 2128
81309    __cil_tmp36 = (struct device    *)__cil_tmp35;
81310#line 2128
81311    __cil_tmp37 = (unsigned long )lport;
81312#line 2128
81313    __cil_tmp38 = __cil_tmp37 + 788;
81314#line 2128
81315    __cil_tmp39 = *((u32 *)__cil_tmp38);
81316#line 2128
81317    dev_printk("<6>", __cil_tmp36, "libfc: Host reset succeeded on port (%6.6x)\n",
81318               __cil_tmp39);
81319    }
81320#line 2130
81321    return (8194);
81322  } else {
81323    {
81324#line 2132
81325    __cil_tmp40 = (unsigned long )shost;
81326#line 2132
81327    __cil_tmp41 = __cil_tmp40 + 472;
81328#line 2132
81329    __cil_tmp42 = (struct device *)__cil_tmp41;
81330#line 2132
81331    __cil_tmp43 = (struct device    *)__cil_tmp42;
81332#line 2132
81333    __cil_tmp44 = (unsigned long )lport;
81334#line 2132
81335    __cil_tmp45 = __cil_tmp44 + 788;
81336#line 2132
81337    __cil_tmp46 = *((u32 *)__cil_tmp45);
81338#line 2132
81339    dev_printk("<6>", __cil_tmp43, "libfc: Host reset failed, port (%6.6x) is not ready.\n",
81340               __cil_tmp46);
81341    }
81342#line 2135
81343    return (8195);
81344  }
81345}
81346}
81347#line 2138
81348extern void *__crc_fc_eh_host_reset  __attribute__((__weak__)) ;
81349#line 2138 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81350static unsigned long    __kcrctab_fc_eh_host_reset  __attribute__((__used__,
81351__unused__, __section__("___kcrctab+fc_eh_host_reset")))  =    (unsigned long    )((unsigned long )(& __crc_fc_eh_host_reset));
81352#line 2138 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81353static char    __kstrtab_fc_eh_host_reset[17]  __attribute__((__section__("__ksymtab_strings"),
81354__aligned__(1)))  = 
81355#line 2138
81356  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'e', 
81357        (char    )'h',      (char    )'_',      (char const   )'h',      (char const   )'o', 
81358        (char    )'s',      (char    )'t',      (char const   )'_',      (char const   )'r', 
81359        (char    )'e',      (char    )'s',      (char const   )'e',      (char const   )'t', 
81360        (char    )'\000'};
81361#line 2138 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81362static struct kernel_symbol    __ksymtab_fc_eh_host_reset  __attribute__((__used__,
81363__unused__, __section__("___ksymtab+fc_eh_host_reset")))  =    {(unsigned long )(& fc_eh_host_reset), __kstrtab_fc_eh_host_reset};
81364#line 2147 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81365int fc_slave_alloc(struct scsi_device *sdev ) 
81366{ struct fc_rport *rport ;
81367  struct device    *__mptr ;
81368  struct scsi_target *tmp___9 ;
81369  struct fc_rport *tmp___10 ;
81370  struct scsi_target *tmp___11 ;
81371  int tmp___12 ;
81372  int tmp___13 ;
81373  int tmp___14 ;
81374  unsigned long __cil_tmp12 ;
81375  unsigned long __cil_tmp13 ;
81376  struct device *__cil_tmp14 ;
81377  struct device    *__cil_tmp15 ;
81378  unsigned long __cil_tmp16 ;
81379  unsigned long __cil_tmp17 ;
81380  struct device *__cil_tmp18 ;
81381  struct fc_rport *__cil_tmp19 ;
81382  unsigned long __cil_tmp20 ;
81383  unsigned long __cil_tmp21 ;
81384  struct device *__cil_tmp22 ;
81385  unsigned int __cil_tmp23 ;
81386  char *__cil_tmp24 ;
81387  char *__cil_tmp25 ;
81388  void *__cil_tmp26 ;
81389
81390  {
81391  {
81392#line 2149
81393  tmp___11 = scsi_target(sdev);
81394#line 2149
81395  __cil_tmp12 = (unsigned long )tmp___11;
81396#line 2149
81397  __cil_tmp13 = __cil_tmp12 + 40;
81398#line 2149
81399  __cil_tmp14 = *((struct device **)__cil_tmp13);
81400#line 2149
81401  __cil_tmp15 = (struct device    *)__cil_tmp14;
81402#line 2149
81403  tmp___12 = scsi_is_fc_rport(__cil_tmp15);
81404  }
81405#line 2149
81406  if (tmp___12) {
81407    {
81408#line 2149
81409    tmp___9 = scsi_target(sdev);
81410#line 2149
81411    __cil_tmp16 = (unsigned long )tmp___9;
81412#line 2149
81413    __cil_tmp17 = __cil_tmp16 + 40;
81414#line 2149
81415    __cil_tmp18 = *((struct device **)__cil_tmp17);
81416#line 2149
81417    __mptr = (struct device    *)__cil_tmp18;
81418#line 2149
81419    __cil_tmp19 = (struct fc_rport *)0;
81420#line 2149
81421    __cil_tmp20 = (unsigned long )__cil_tmp19;
81422#line 2149
81423    __cil_tmp21 = __cil_tmp20 + 96;
81424#line 2149
81425    __cil_tmp22 = (struct device *)__cil_tmp21;
81426#line 2149
81427    __cil_tmp23 = (unsigned int )__cil_tmp22;
81428#line 2149
81429    __cil_tmp24 = (char *)__mptr;
81430#line 2149
81431    __cil_tmp25 = __cil_tmp24 - __cil_tmp23;
81432#line 2149
81433    tmp___10 = (struct fc_rport *)__cil_tmp25;
81434    }
81435  } else {
81436#line 2149
81437    __cil_tmp26 = (void *)0;
81438#line 2149
81439    tmp___10 = (struct fc_rport *)__cil_tmp26;
81440  }
81441#line 2149
81442  rport = tmp___10;
81443#line 2151
81444  if (! rport) {
81445#line 2152
81446    return (-6);
81447  } else {
81448    {
81449#line 2151
81450    tmp___13 = fc_remote_port_chkready(rport);
81451    }
81452#line 2151
81453    if (tmp___13) {
81454#line 2152
81455      return (-6);
81456    } else {
81457
81458    }
81459  }
81460#line 2154
81461  if (sdev->tagged_supported) {
81462    {
81463#line 2155
81464    scsi_activate_tcq(sdev, 32);
81465    }
81466  } else {
81467    {
81468#line 2157
81469    tmp___14 = scsi_get_tag_type(sdev);
81470#line 2157
81471    scsi_adjust_queue_depth(sdev, tmp___14, 32);
81472    }
81473  }
81474#line 2160
81475  return (0);
81476}
81477}
81478#line 2162
81479extern void *__crc_fc_slave_alloc  __attribute__((__weak__)) ;
81480#line 2162 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81481static unsigned long    __kcrctab_fc_slave_alloc  __attribute__((__used__, __unused__,
81482__section__("___kcrctab+fc_slave_alloc")))  =    (unsigned long    )((unsigned long )(& __crc_fc_slave_alloc));
81483#line 2162 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81484static char    __kstrtab_fc_slave_alloc[15]  __attribute__((__section__("__ksymtab_strings"),
81485__aligned__(1)))  = 
81486#line 2162
81487  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'s', 
81488        (char    )'l',      (char    )'a',      (char const   )'v',      (char const   )'e', 
81489        (char    )'_',      (char    )'a',      (char const   )'l',      (char const   )'l', 
81490        (char    )'o',      (char    )'c',      (char const   )'\000'};
81491#line 2162 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81492static struct kernel_symbol    __ksymtab_fc_slave_alloc  __attribute__((__used__,
81493__unused__, __section__("___ksymtab+fc_slave_alloc")))  =    {(unsigned long )(& fc_slave_alloc), __kstrtab_fc_slave_alloc};
81494#line 2170 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81495int fc_change_queue_depth(struct scsi_device *sdev , int qdepth , int reason ) 
81496{ int tmp___7 ;
81497  int tmp___8 ;
81498  unsigned long __cil_tmp6 ;
81499  unsigned long __cil_tmp7 ;
81500  unsigned short __cil_tmp8 ;
81501
81502  {
81503#line 2173
81504  if (reason == 0) {
81505#line 2173
81506    goto case_0;
81507  } else
81508#line 2176
81509  if (reason == 1) {
81510#line 2176
81511    goto case_1;
81512  } else
81513#line 2179
81514  if (reason == 2) {
81515#line 2179
81516    goto case_2;
81517  } else {
81518    {
81519#line 2182
81520    goto switch_default;
81521#line 2172
81522    if (0) {
81523      case_0: /* CIL Label */ 
81524      {
81525#line 2174
81526      tmp___7 = scsi_get_tag_type(sdev);
81527#line 2174
81528      scsi_adjust_queue_depth(sdev, tmp___7, qdepth);
81529      }
81530#line 2175
81531      goto switch_break;
81532      case_1: /* CIL Label */ 
81533      {
81534#line 2177
81535      scsi_track_queue_full(sdev, qdepth);
81536      }
81537#line 2178
81538      goto switch_break;
81539      case_2: /* CIL Label */ 
81540      {
81541#line 2180
81542      tmp___8 = scsi_get_tag_type(sdev);
81543#line 2180
81544      scsi_adjust_queue_depth(sdev, tmp___8, qdepth);
81545      }
81546#line 2181
81547      goto switch_break;
81548      switch_default: /* CIL Label */ 
81549#line 2183
81550      return (-95);
81551    } else {
81552      switch_break: /* CIL Label */ ;
81553    }
81554    }
81555  }
81556  {
81557#line 2185
81558  __cil_tmp6 = (unsigned long )sdev;
81559#line 2185
81560  __cil_tmp7 = __cil_tmp6 + 120;
81561#line 2185
81562  __cil_tmp8 = *((unsigned short *)__cil_tmp7);
81563#line 2185
81564  return ((int )__cil_tmp8);
81565  }
81566}
81567}
81568#line 2187
81569extern void *__crc_fc_change_queue_depth  __attribute__((__weak__)) ;
81570#line 2187 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81571static unsigned long    __kcrctab_fc_change_queue_depth  __attribute__((__used__,
81572__unused__, __section__("___kcrctab+fc_change_queue_depth")))  =    (unsigned long    )((unsigned long )(& __crc_fc_change_queue_depth));
81573#line 2187 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81574static char    __kstrtab_fc_change_queue_depth[22]  __attribute__((__section__("__ksymtab_strings"),
81575__aligned__(1)))  = 
81576#line 2187
81577  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'c', 
81578        (char    )'h',      (char    )'a',      (char const   )'n',      (char const   )'g', 
81579        (char    )'e',      (char    )'_',      (char const   )'q',      (char const   )'u', 
81580        (char    )'e',      (char    )'u',      (char const   )'e',      (char const   )'_', 
81581        (char    )'d',      (char    )'e',      (char const   )'p',      (char const   )'t', 
81582        (char    )'h',      (char    )'\000'};
81583#line 2187 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81584static struct kernel_symbol    __ksymtab_fc_change_queue_depth  __attribute__((__used__,
81585__unused__, __section__("___ksymtab+fc_change_queue_depth")))  =    {(unsigned long )(& fc_change_queue_depth), __kstrtab_fc_change_queue_depth};
81586#line 2194 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81587int fc_change_queue_type(struct scsi_device *sdev , int tag_type ) 
81588{ unsigned long __cil_tmp3 ;
81589  unsigned long __cil_tmp4 ;
81590  unsigned short __cil_tmp5 ;
81591  int __cil_tmp6 ;
81592  unsigned long __cil_tmp7 ;
81593  unsigned long __cil_tmp8 ;
81594  unsigned short __cil_tmp9 ;
81595  int __cil_tmp10 ;
81596
81597  {
81598#line 2196
81599  if (sdev->tagged_supported) {
81600    {
81601#line 2197
81602    scsi_set_tag_type(sdev, tag_type);
81603    }
81604#line 2198
81605    if (tag_type) {
81606      {
81607#line 2199
81608      __cil_tmp3 = (unsigned long )sdev;
81609#line 2199
81610      __cil_tmp4 = __cil_tmp3 + 120;
81611#line 2199
81612      __cil_tmp5 = *((unsigned short *)__cil_tmp4);
81613#line 2199
81614      __cil_tmp6 = (int )__cil_tmp5;
81615#line 2199
81616      scsi_activate_tcq(sdev, __cil_tmp6);
81617      }
81618    } else {
81619      {
81620#line 2201
81621      __cil_tmp7 = (unsigned long )sdev;
81622#line 2201
81623      __cil_tmp8 = __cil_tmp7 + 120;
81624#line 2201
81625      __cil_tmp9 = *((unsigned short *)__cil_tmp8);
81626#line 2201
81627      __cil_tmp10 = (int )__cil_tmp9;
81628#line 2201
81629      scsi_deactivate_tcq(sdev, __cil_tmp10);
81630      }
81631    }
81632  } else {
81633#line 2203
81634    tag_type = 0;
81635  }
81636#line 2205
81637  return (tag_type);
81638}
81639}
81640#line 2207
81641extern void *__crc_fc_change_queue_type  __attribute__((__weak__)) ;
81642#line 2207 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81643static unsigned long    __kcrctab_fc_change_queue_type  __attribute__((__used__,
81644__unused__, __section__("___kcrctab+fc_change_queue_type")))  =    (unsigned long    )((unsigned long )(& __crc_fc_change_queue_type));
81645#line 2207 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81646static char    __kstrtab_fc_change_queue_type[21]  __attribute__((__section__("__ksymtab_strings"),
81647__aligned__(1)))  = 
81648#line 2207
81649  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'c', 
81650        (char    )'h',      (char    )'a',      (char const   )'n',      (char const   )'g', 
81651        (char    )'e',      (char    )'_',      (char const   )'q',      (char const   )'u', 
81652        (char    )'e',      (char    )'u',      (char const   )'e',      (char const   )'_', 
81653        (char    )'t',      (char    )'y',      (char const   )'p',      (char const   )'e', 
81654        (char    )'\000'};
81655#line 2207 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81656static struct kernel_symbol    __ksymtab_fc_change_queue_type  __attribute__((__used__,
81657__unused__, __section__("___ksymtab+fc_change_queue_type")))  =    {(unsigned long )(& fc_change_queue_type), __kstrtab_fc_change_queue_type};
81658#line 2213 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81659void fc_fcp_destroy(struct fc_lport *lport ) 
81660{ struct fc_fcp_internal *si ;
81661  int tmp___7 ;
81662  unsigned long __cil_tmp4 ;
81663  unsigned long __cil_tmp5 ;
81664  void *__cil_tmp6 ;
81665  unsigned long __cil_tmp7 ;
81666  unsigned long __cil_tmp8 ;
81667  struct list_head *__cil_tmp9 ;
81668  struct list_head    *__cil_tmp10 ;
81669  unsigned long __cil_tmp11 ;
81670  unsigned long __cil_tmp12 ;
81671  u32 __cil_tmp13 ;
81672  mempool_t *__cil_tmp14 ;
81673  void    *__cil_tmp15 ;
81674  unsigned long __cil_tmp16 ;
81675  unsigned long __cil_tmp17 ;
81676
81677  {
81678  {
81679#line 2215
81680  __cil_tmp4 = (unsigned long )lport;
81681#line 2215
81682  __cil_tmp5 = __cil_tmp4 + 48;
81683#line 2215
81684  __cil_tmp6 = *((void **)__cil_tmp5);
81685#line 2215
81686  si = (struct fc_fcp_internal *)__cil_tmp6;
81687#line 2217
81688  __cil_tmp7 = (unsigned long )si;
81689#line 2217
81690  __cil_tmp8 = __cil_tmp7 + 32;
81691#line 2217
81692  __cil_tmp9 = (struct list_head *)__cil_tmp8;
81693#line 2217
81694  __cil_tmp10 = (struct list_head    *)__cil_tmp9;
81695#line 2217
81696  tmp___7 = list_empty(__cil_tmp10);
81697  }
81698#line 2217
81699  if (tmp___7) {
81700
81701  } else {
81702    {
81703#line 2218
81704    __cil_tmp11 = (unsigned long )lport;
81705#line 2218
81706    __cil_tmp12 = __cil_tmp11 + 788;
81707#line 2218
81708    __cil_tmp13 = *((u32 *)__cil_tmp12);
81709#line 2218
81710    printk("<3>libfc: Leaked SCSI packets when destroying port (%6.6x)\n", __cil_tmp13);
81711    }
81712  }
81713  {
81714#line 2221
81715  __cil_tmp14 = *((mempool_t **)si);
81716#line 2221
81717  mempool_destroy(__cil_tmp14);
81718#line 2222
81719  __cil_tmp15 = (void    *)si;
81720#line 2222
81721  kfree(__cil_tmp15);
81722#line 2223
81723  __cil_tmp16 = (unsigned long )lport;
81724#line 2223
81725  __cil_tmp17 = __cil_tmp16 + 48;
81726#line 2223
81727  *((void **)__cil_tmp17) = (void *)0;
81728  }
81729#line 2224
81730  return;
81731}
81732}
81733#line 2225
81734extern void *__crc_fc_fcp_destroy  __attribute__((__weak__)) ;
81735#line 2225 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81736static unsigned long    __kcrctab_fc_fcp_destroy  __attribute__((__used__, __unused__,
81737__section__("___kcrctab+fc_fcp_destroy")))  =    (unsigned long    )((unsigned long )(& __crc_fc_fcp_destroy));
81738#line 2225 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81739static char    __kstrtab_fc_fcp_destroy[15]  __attribute__((__section__("__ksymtab_strings"),
81740__aligned__(1)))  = 
81741#line 2225
81742  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'f', 
81743        (char    )'c',      (char    )'p',      (char const   )'_',      (char const   )'d', 
81744        (char    )'e',      (char    )'s',      (char const   )'t',      (char const   )'r', 
81745        (char    )'o',      (char    )'y',      (char const   )'\000'};
81746#line 2225 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81747static struct kernel_symbol    __ksymtab_fc_fcp_destroy  __attribute__((__used__,
81748__unused__, __section__("___ksymtab+fc_fcp_destroy")))  =    {(unsigned long )(& fc_fcp_destroy), __kstrtab_fc_fcp_destroy};
81749#line 2227 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81750int fc_setup_fcp(void) 
81751{ int rc ;
81752  size_t __cil_tmp2 ;
81753  void *__cil_tmp3 ;
81754  void (*__cil_tmp4)(void * ) ;
81755
81756  {
81757  {
81758#line 2229
81759  rc = 0;
81760#line 2231
81761  __cil_tmp2 = (size_t )0;
81762#line 2231
81763  __cil_tmp3 = (void *)0;
81764#line 2231
81765  __cil_tmp4 = (void (*)(void * ))__cil_tmp3;
81766#line 2231
81767  scsi_pkt_cachep = kmem_cache_create("libfc_fcp_pkt", 320UL, __cil_tmp2, 8192UL,
81768                                      __cil_tmp4);
81769  }
81770#line 2234
81771  if (! scsi_pkt_cachep) {
81772    {
81773#line 2235
81774    printk("<3>libfc: Unable to allocate SRB cache, module load failed!");
81775#line 2237
81776    rc = -12;
81777    }
81778  } else {
81779
81780  }
81781#line 2240
81782  return (rc);
81783}
81784}
81785#line 2243 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81786void fc_destroy_fcp(void) 
81787{ 
81788
81789  {
81790#line 2245
81791  if (scsi_pkt_cachep) {
81792    {
81793#line 2246
81794    kmem_cache_destroy(scsi_pkt_cachep);
81795    }
81796  } else {
81797
81798  }
81799#line 2247
81800  return;
81801}
81802}
81803#line 2273 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81804static struct lock_class_key __key___11  ;
81805#line 2253 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
81806int fc_fcp_init(struct fc_lport *lport ) 
81807{ int rc ;
81808  struct fc_fcp_internal *si ;
81809  void *tmp___7 ;
81810  unsigned long __cil_tmp5 ;
81811  unsigned long __cil_tmp6 ;
81812  unsigned long __cil_tmp7 ;
81813  int (*__cil_tmp8)(struct fc_lport * , struct fc_fcp_pkt * , void (*resp)(struct fc_seq * ,
81814                                                                           struct fc_frame * ,
81815                                                                           void * ) ) ;
81816  unsigned long __cil_tmp9 ;
81817  unsigned long __cil_tmp10 ;
81818  unsigned long __cil_tmp11 ;
81819  unsigned long __cil_tmp12 ;
81820  unsigned long __cil_tmp13 ;
81821  unsigned long __cil_tmp14 ;
81822  void (*__cil_tmp15)(struct fc_lport * ) ;
81823  unsigned long __cil_tmp16 ;
81824  unsigned long __cil_tmp17 ;
81825  unsigned long __cil_tmp18 ;
81826  unsigned long __cil_tmp19 ;
81827  unsigned long __cil_tmp20 ;
81828  unsigned long __cil_tmp21 ;
81829  void (*__cil_tmp22)(struct fc_lport * ) ;
81830  unsigned long __cil_tmp23 ;
81831  unsigned long __cil_tmp24 ;
81832  unsigned long __cil_tmp25 ;
81833  unsigned long __cil_tmp26 ;
81834  unsigned long __cil_tmp27 ;
81835  unsigned long __cil_tmp28 ;
81836  unsigned long __cil_tmp29 ;
81837  struct Scsi_Host *__cil_tmp30 ;
81838  unsigned long __cil_tmp31 ;
81839  unsigned long __cil_tmp32 ;
81840  unsigned long __cil_tmp33 ;
81841  unsigned long __cil_tmp34 ;
81842  struct list_head *__cil_tmp35 ;
81843  unsigned long __cil_tmp36 ;
81844  unsigned long __cil_tmp37 ;
81845  spinlock_t *__cil_tmp38 ;
81846  unsigned long __cil_tmp39 ;
81847  unsigned long __cil_tmp40 ;
81848  struct raw_spinlock *__cil_tmp41 ;
81849  mempool_t *__cil_tmp42 ;
81850  void    *__cil_tmp43 ;
81851
81852  {
81853  {
81854#line 2258
81855  __cil_tmp5 = 328 + 216;
81856#line 2258
81857  __cil_tmp6 = (unsigned long )lport;
81858#line 2258
81859  __cil_tmp7 = __cil_tmp6 + __cil_tmp5;
81860#line 2258
81861  __cil_tmp8 = *((int (**)(struct fc_lport * , struct fc_fcp_pkt * , void (*resp)(struct fc_seq * ,
81862                                                                                  struct fc_frame * ,
81863                                                                                  void * ) ))__cil_tmp7);
81864#line 2258
81865  if (! __cil_tmp8) {
81866#line 2259
81867    __cil_tmp9 = 328 + 216;
81868#line 2259
81869    __cil_tmp10 = (unsigned long )lport;
81870#line 2259
81871    __cil_tmp11 = __cil_tmp10 + __cil_tmp9;
81872#line 2259
81873    *((int (**)(struct fc_lport * , struct fc_fcp_pkt * , void (*resp)(struct fc_seq * ,
81874                                                                       struct fc_frame * ,
81875                                                                       void * ) ))__cil_tmp11) = & fc_fcp_cmd_send;
81876  } else {
81877
81878  }
81879  }
81880  {
81881#line 2261
81882  __cil_tmp12 = 328 + 224;
81883#line 2261
81884  __cil_tmp13 = (unsigned long )lport;
81885#line 2261
81886  __cil_tmp14 = __cil_tmp13 + __cil_tmp12;
81887#line 2261
81888  __cil_tmp15 = *((void (**)(struct fc_lport * ))__cil_tmp14);
81889#line 2261
81890  if (! __cil_tmp15) {
81891#line 2262
81892    __cil_tmp16 = 328 + 224;
81893#line 2262
81894    __cil_tmp17 = (unsigned long )lport;
81895#line 2262
81896    __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
81897#line 2262
81898    *((void (**)(struct fc_lport * ))__cil_tmp18) = & fc_fcp_cleanup;
81899  } else {
81900
81901  }
81902  }
81903  {
81904#line 2264
81905  __cil_tmp19 = 328 + 232;
81906#line 2264
81907  __cil_tmp20 = (unsigned long )lport;
81908#line 2264
81909  __cil_tmp21 = __cil_tmp20 + __cil_tmp19;
81910#line 2264
81911  __cil_tmp22 = *((void (**)(struct fc_lport * ))__cil_tmp21);
81912#line 2264
81913  if (! __cil_tmp22) {
81914#line 2265
81915    __cil_tmp23 = 328 + 232;
81916#line 2265
81917    __cil_tmp24 = (unsigned long )lport;
81918#line 2265
81919    __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
81920#line 2265
81921    *((void (**)(struct fc_lport * ))__cil_tmp25) = & fc_fcp_abort_io;
81922  } else {
81923
81924  }
81925  }
81926  {
81927#line 2267
81928  tmp___7 = kzalloc(72UL, 208U);
81929#line 2267
81930  si = (struct fc_fcp_internal *)tmp___7;
81931  }
81932#line 2268
81933  if (! si) {
81934#line 2269
81935    return (-12);
81936  } else {
81937
81938  }
81939  {
81940#line 2270
81941  __cil_tmp26 = (unsigned long )lport;
81942#line 2270
81943  __cil_tmp27 = __cil_tmp26 + 48;
81944#line 2270
81945  *((void **)__cil_tmp27) = (void *)si;
81946#line 2271
81947  __cil_tmp28 = (unsigned long )si;
81948#line 2271
81949  __cil_tmp29 = __cil_tmp28 + 64;
81950#line 2271
81951  __cil_tmp30 = *((struct Scsi_Host **)lport);
81952#line 2271
81953  __cil_tmp31 = (unsigned long )__cil_tmp30;
81954#line 2271
81955  __cil_tmp32 = __cil_tmp31 + 352;
81956#line 2271
81957  *((int *)__cil_tmp29) = *((int *)__cil_tmp32);
81958#line 2272
81959  __cil_tmp33 = (unsigned long )si;
81960#line 2272
81961  __cil_tmp34 = __cil_tmp33 + 32;
81962#line 2272
81963  __cil_tmp35 = (struct list_head *)__cil_tmp34;
81964#line 2272
81965  INIT_LIST_HEAD(__cil_tmp35);
81966  }
81967  {
81968#line 2273
81969  while (1) {
81970    while_continue: /* CIL Label */ ;
81971    {
81972#line 2273
81973    __cil_tmp36 = (unsigned long )si;
81974#line 2273
81975    __cil_tmp37 = __cil_tmp36 + 8;
81976#line 2273
81977    __cil_tmp38 = (spinlock_t *)__cil_tmp37;
81978#line 2273
81979    spinlock_check(__cil_tmp38);
81980    }
81981    {
81982#line 2273
81983    while (1) {
81984      while_continue___0: /* CIL Label */ ;
81985      {
81986#line 2273
81987      __cil_tmp39 = (unsigned long )si;
81988#line 2273
81989      __cil_tmp40 = __cil_tmp39 + 8;
81990#line 2273
81991      __cil_tmp41 = (struct raw_spinlock *)__cil_tmp40;
81992#line 2273
81993      __raw_spin_lock_init(__cil_tmp41, "&(&si->scsi_queue_lock)->rlock", & __key___11);
81994      }
81995#line 2273
81996      goto while_break___0;
81997    }
81998    while_break___0: /* CIL Label */ ;
81999    }
82000#line 2273
82001    goto while_break;
82002  }
82003  while_break: /* CIL Label */ ;
82004  }
82005  {
82006#line 2275
82007  *((mempool_t **)si) = mempool_create_slab_pool(2, scsi_pkt_cachep);
82008  }
82009  {
82010#line 2276
82011  __cil_tmp42 = *((mempool_t **)si);
82012#line 2276
82013  if (! __cil_tmp42) {
82014#line 2277
82015    rc = -12;
82016#line 2278
82017    goto free_internal;
82018  } else {
82019
82020  }
82021  }
82022#line 2280
82023  return (0);
82024  free_internal: 
82025  {
82026#line 2283
82027  __cil_tmp43 = (void    *)si;
82028#line 2283
82029  kfree(__cil_tmp43);
82030  }
82031#line 2284
82032  return (rc);
82033}
82034}
82035#line 2286
82036extern void *__crc_fc_fcp_init  __attribute__((__weak__)) ;
82037#line 2286 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
82038static unsigned long    __kcrctab_fc_fcp_init  __attribute__((__used__, __unused__,
82039__section__("___kcrctab+fc_fcp_init")))  =    (unsigned long    )((unsigned long )(& __crc_fc_fcp_init));
82040#line 2286 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
82041static char    __kstrtab_fc_fcp_init[12]  __attribute__((__section__("__ksymtab_strings"),
82042__aligned__(1)))  = 
82043#line 2286
82044  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'f', 
82045        (char    )'c',      (char    )'p',      (char const   )'_',      (char const   )'i', 
82046        (char    )'n',      (char    )'i',      (char const   )'t',      (char const   )'\000'};
82047#line 2286 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_fcp.c"
82048static struct kernel_symbol    __ksymtab_fc_fcp_init  __attribute__((__used__,
82049__unused__, __section__("___ksymtab+fc_fcp_init")))  =    {(unsigned long )(& fc_fcp_init), __kstrtab_fc_fcp_init};
82050#line 778 "include/scsi/scsi_host.h"
82051extern struct Scsi_Host *scsi_host_alloc(struct scsi_host_template * , int  ) ;
82052#line 1015 "include/scsi/libfc.h"
82053__inline static struct fc_lport *libfc_host_alloc(struct scsi_host_template *sht ,
82054                                                  int priv_size )  __attribute__((__no_instrument_function__)) ;
82055#line 1015 "include/scsi/libfc.h"
82056__inline static struct fc_lport *libfc_host_alloc(struct scsi_host_template *sht ,
82057                                                  int priv_size ) 
82058{ struct fc_lport *lport ;
82059  struct Scsi_Host *shost ;
82060  void *tmp___7 ;
82061  unsigned long __cil_tmp6 ;
82062  unsigned long __cil_tmp7 ;
82063  int __cil_tmp8 ;
82064  void *__cil_tmp9 ;
82065  unsigned long __cil_tmp10 ;
82066  unsigned long __cil_tmp11 ;
82067  struct list_head *__cil_tmp12 ;
82068  unsigned long __cil_tmp13 ;
82069  unsigned long __cil_tmp14 ;
82070  struct list_head *__cil_tmp15 ;
82071
82072  {
82073  {
82074#line 1021
82075  __cil_tmp6 = (unsigned long )priv_size;
82076#line 1021
82077  __cil_tmp7 = 1216UL + __cil_tmp6;
82078#line 1021
82079  __cil_tmp8 = (int )__cil_tmp7;
82080#line 1021
82081  shost = scsi_host_alloc(sht, __cil_tmp8);
82082  }
82083#line 1022
82084  if (! shost) {
82085    {
82086#line 1023
82087    __cil_tmp9 = (void *)0;
82088#line 1023
82089    return ((struct fc_lport *)__cil_tmp9);
82090    }
82091  } else {
82092
82093  }
82094  {
82095#line 1024
82096  tmp___7 = shost_priv(shost);
82097#line 1024
82098  lport = (struct fc_lport *)tmp___7;
82099#line 1025
82100  *((struct Scsi_Host **)lport) = shost;
82101#line 1026
82102  __cil_tmp10 = (unsigned long )lport;
82103#line 1026
82104  __cil_tmp11 = __cil_tmp10 + 8;
82105#line 1026
82106  __cil_tmp12 = (struct list_head *)__cil_tmp11;
82107#line 1026
82108  INIT_LIST_HEAD(__cil_tmp12);
82109#line 1027
82110  __cil_tmp13 = (unsigned long )lport;
82111#line 1027
82112  __cil_tmp14 = __cil_tmp13 + 304;
82113#line 1027
82114  __cil_tmp15 = (struct list_head *)__cil_tmp14;
82115#line 1027
82116  INIT_LIST_HEAD(__cil_tmp15);
82117  }
82118#line 1028
82119  return (lport);
82120}
82121}
82122#line 1052
82123void fc_vport_setlink(struct fc_lport *vn_port ) ;
82124#line 1057
82125struct fc_lport *libfc_vport_create(struct fc_vport *vport , int privsize ) ;
82126#line 33 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82127struct fc_lport *libfc_vport_create(struct fc_vport *vport , int privsize ) 
82128{ struct Scsi_Host *shost ;
82129  struct fc_lport *n_port ;
82130  void *tmp___7 ;
82131  struct fc_lport *vn_port ;
82132  unsigned long __cil_tmp7 ;
82133  unsigned long __cil_tmp8 ;
82134  unsigned long __cil_tmp9 ;
82135  unsigned long __cil_tmp10 ;
82136  struct scsi_host_template *__cil_tmp11 ;
82137  unsigned long __cil_tmp12 ;
82138  unsigned long __cil_tmp13 ;
82139  unsigned long __cil_tmp14 ;
82140  unsigned long __cil_tmp15 ;
82141  unsigned long __cil_tmp16 ;
82142  unsigned long __cil_tmp17 ;
82143  struct mutex *__cil_tmp18 ;
82144  unsigned long __cil_tmp19 ;
82145  unsigned long __cil_tmp20 ;
82146  struct list_head *__cil_tmp21 ;
82147  unsigned long __cil_tmp22 ;
82148  unsigned long __cil_tmp23 ;
82149  struct list_head *__cil_tmp24 ;
82150  unsigned long __cil_tmp25 ;
82151  unsigned long __cil_tmp26 ;
82152  struct mutex *__cil_tmp27 ;
82153
82154  {
82155  {
82156#line 35
82157  __cil_tmp7 = (unsigned long )vport;
82158#line 35
82159  __cil_tmp8 = __cil_tmp7 + 112;
82160#line 35
82161  shost = *((struct Scsi_Host **)__cil_tmp8);
82162#line 36
82163  tmp___7 = shost_priv(shost);
82164#line 36
82165  n_port = (struct fc_lport *)tmp___7;
82166#line 39
82167  __cil_tmp9 = (unsigned long )shost;
82168#line 39
82169  __cil_tmp10 = __cil_tmp9 + 272;
82170#line 39
82171  __cil_tmp11 = *((struct scsi_host_template **)__cil_tmp10);
82172#line 39
82173  vn_port = libfc_host_alloc(__cil_tmp11, privsize);
82174  }
82175#line 40
82176  if (! vn_port) {
82177#line 41
82178    return (vn_port);
82179  } else {
82180
82181  }
82182  {
82183#line 43
82184  __cil_tmp12 = (unsigned long )vn_port;
82185#line 43
82186  __cil_tmp13 = __cil_tmp12 + 320;
82187#line 43
82188  *((struct fc_vport **)__cil_tmp13) = vport;
82189#line 44
82190  __cil_tmp14 = (unsigned long )vport;
82191#line 44
82192  __cil_tmp15 = __cil_tmp14 + 104;
82193#line 44
82194  *((void **)__cil_tmp15) = (void *)vn_port;
82195#line 46
82196  __cil_tmp16 = (unsigned long )n_port;
82197#line 46
82198  __cil_tmp17 = __cil_tmp16 + 928;
82199#line 46
82200  __cil_tmp18 = (struct mutex *)__cil_tmp17;
82201#line 46
82202  mutex_lock(__cil_tmp18);
82203#line 47
82204  __cil_tmp19 = (unsigned long )vn_port;
82205#line 47
82206  __cil_tmp20 = __cil_tmp19 + 1000;
82207#line 47
82208  __cil_tmp21 = (struct list_head *)__cil_tmp20;
82209#line 47
82210  __cil_tmp22 = (unsigned long )n_port;
82211#line 47
82212  __cil_tmp23 = __cil_tmp22 + 304;
82213#line 47
82214  __cil_tmp24 = (struct list_head *)__cil_tmp23;
82215#line 47
82216  list_add_tail(__cil_tmp21, __cil_tmp24);
82217#line 48
82218  __cil_tmp25 = (unsigned long )n_port;
82219#line 48
82220  __cil_tmp26 = __cil_tmp25 + 928;
82221#line 48
82222  __cil_tmp27 = (struct mutex *)__cil_tmp26;
82223#line 48
82224  mutex_unlock(__cil_tmp27);
82225  }
82226#line 50
82227  return (vn_port);
82228}
82229}
82230#line 52
82231extern void *__crc_libfc_vport_create  __attribute__((__weak__)) ;
82232#line 52 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82233static unsigned long    __kcrctab_libfc_vport_create  __attribute__((__used__,
82234__unused__, __section__("___kcrctab+libfc_vport_create")))  =    (unsigned long    )((unsigned long )(& __crc_libfc_vport_create));
82235#line 52 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82236static char    __kstrtab_libfc_vport_create[19]  __attribute__((__section__("__ksymtab_strings"),
82237__aligned__(1)))  = 
82238#line 52
82239  {      (char    )'l',      (char    )'i',      (char const   )'b',      (char const   )'f', 
82240        (char    )'c',      (char    )'_',      (char const   )'v',      (char const   )'p', 
82241        (char    )'o',      (char    )'r',      (char const   )'t',      (char const   )'_', 
82242        (char    )'c',      (char    )'r',      (char const   )'e',      (char const   )'a', 
82243        (char    )'t',      (char    )'e',      (char const   )'\000'};
82244#line 52 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82245static struct kernel_symbol    __ksymtab_libfc_vport_create  __attribute__((__used__,
82246__unused__, __section__("___ksymtab+libfc_vport_create")))  =    {(unsigned long )(& libfc_vport_create), __kstrtab_libfc_vport_create};
82247#line 61 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82248struct fc_lport *fc_vport_id_lookup(struct fc_lport *n_port , u32 port_id ) 
82249{ struct fc_lport *lport ;
82250  struct fc_lport *vn_port ;
82251  struct list_head    *__mptr ;
82252  struct list_head    *__mptr___0 ;
82253  void *__cil_tmp7 ;
82254  unsigned long __cil_tmp8 ;
82255  unsigned long __cil_tmp9 ;
82256  u32 __cil_tmp10 ;
82257  unsigned long __cil_tmp11 ;
82258  unsigned long __cil_tmp12 ;
82259  struct mutex *__cil_tmp13 ;
82260  unsigned long __cil_tmp14 ;
82261  unsigned long __cil_tmp15 ;
82262  struct list_head *__cil_tmp16 ;
82263  struct fc_lport *__cil_tmp17 ;
82264  unsigned long __cil_tmp18 ;
82265  unsigned long __cil_tmp19 ;
82266  struct list_head *__cil_tmp20 ;
82267  unsigned int __cil_tmp21 ;
82268  char *__cil_tmp22 ;
82269  char *__cil_tmp23 ;
82270  unsigned long __cil_tmp24 ;
82271  unsigned long __cil_tmp25 ;
82272  struct list_head *__cil_tmp26 ;
82273  unsigned long __cil_tmp27 ;
82274  unsigned long __cil_tmp28 ;
82275  unsigned long __cil_tmp29 ;
82276  struct list_head *__cil_tmp30 ;
82277  unsigned long __cil_tmp31 ;
82278  unsigned long __cil_tmp32 ;
82279  unsigned long __cil_tmp33 ;
82280  u32 __cil_tmp34 ;
82281  unsigned long __cil_tmp35 ;
82282  unsigned long __cil_tmp36 ;
82283  struct list_head *__cil_tmp37 ;
82284  struct fc_lport *__cil_tmp38 ;
82285  unsigned long __cil_tmp39 ;
82286  unsigned long __cil_tmp40 ;
82287  struct list_head *__cil_tmp41 ;
82288  unsigned int __cil_tmp42 ;
82289  char *__cil_tmp43 ;
82290  char *__cil_tmp44 ;
82291  unsigned long __cil_tmp45 ;
82292  unsigned long __cil_tmp46 ;
82293  struct mutex *__cil_tmp47 ;
82294
82295  {
82296#line 63
82297  __cil_tmp7 = (void *)0;
82298#line 63
82299  lport = (struct fc_lport *)__cil_tmp7;
82300  {
82301#line 66
82302  __cil_tmp8 = (unsigned long )n_port;
82303#line 66
82304  __cil_tmp9 = __cil_tmp8 + 788;
82305#line 66
82306  __cil_tmp10 = *((u32 *)__cil_tmp9);
82307#line 66
82308  if (__cil_tmp10 == port_id) {
82309#line 67
82310    return (n_port);
82311  } else {
82312
82313  }
82314  }
82315#line 69
82316  if (port_id == 16777214U) {
82317#line 70
82318    return (n_port);
82319  } else {
82320
82321  }
82322  {
82323#line 72
82324  __cil_tmp11 = (unsigned long )n_port;
82325#line 72
82326  __cil_tmp12 = __cil_tmp11 + 928;
82327#line 72
82328  __cil_tmp13 = (struct mutex *)__cil_tmp12;
82329#line 72
82330  mutex_lock(__cil_tmp13);
82331#line 73
82332  __cil_tmp14 = (unsigned long )n_port;
82333#line 73
82334  __cil_tmp15 = __cil_tmp14 + 304;
82335#line 73
82336  __cil_tmp16 = *((struct list_head **)__cil_tmp15);
82337#line 73
82338  __mptr = (struct list_head    *)__cil_tmp16;
82339#line 73
82340  __cil_tmp17 = (struct fc_lport *)0;
82341#line 73
82342  __cil_tmp18 = (unsigned long )__cil_tmp17;
82343#line 73
82344  __cil_tmp19 = __cil_tmp18 + 1000;
82345#line 73
82346  __cil_tmp20 = (struct list_head *)__cil_tmp19;
82347#line 73
82348  __cil_tmp21 = (unsigned int )__cil_tmp20;
82349#line 73
82350  __cil_tmp22 = (char *)__mptr;
82351#line 73
82352  __cil_tmp23 = __cil_tmp22 - __cil_tmp21;
82353#line 73
82354  vn_port = (struct fc_lport *)__cil_tmp23;
82355  }
82356  {
82357#line 73
82358  while (1) {
82359    while_continue: /* CIL Label */ ;
82360    {
82361#line 73
82362    __cil_tmp24 = (unsigned long )n_port;
82363#line 73
82364    __cil_tmp25 = __cil_tmp24 + 304;
82365#line 73
82366    __cil_tmp26 = (struct list_head *)__cil_tmp25;
82367#line 73
82368    __cil_tmp27 = (unsigned long )__cil_tmp26;
82369#line 73
82370    __cil_tmp28 = (unsigned long )vn_port;
82371#line 73
82372    __cil_tmp29 = __cil_tmp28 + 1000;
82373#line 73
82374    __cil_tmp30 = (struct list_head *)__cil_tmp29;
82375#line 73
82376    __cil_tmp31 = (unsigned long )__cil_tmp30;
82377#line 73
82378    if (__cil_tmp31 != __cil_tmp27) {
82379
82380    } else {
82381#line 73
82382      goto while_break;
82383    }
82384    }
82385    {
82386#line 74
82387    __cil_tmp32 = (unsigned long )vn_port;
82388#line 74
82389    __cil_tmp33 = __cil_tmp32 + 788;
82390#line 74
82391    __cil_tmp34 = *((u32 *)__cil_tmp33);
82392#line 74
82393    if (__cil_tmp34 == port_id) {
82394#line 75
82395      lport = vn_port;
82396#line 76
82397      goto while_break;
82398    } else {
82399
82400    }
82401    }
82402#line 73
82403    __cil_tmp35 = (unsigned long )vn_port;
82404#line 73
82405    __cil_tmp36 = __cil_tmp35 + 1000;
82406#line 73
82407    __cil_tmp37 = *((struct list_head **)__cil_tmp36);
82408#line 73
82409    __mptr___0 = (struct list_head    *)__cil_tmp37;
82410#line 73
82411    __cil_tmp38 = (struct fc_lport *)0;
82412#line 73
82413    __cil_tmp39 = (unsigned long )__cil_tmp38;
82414#line 73
82415    __cil_tmp40 = __cil_tmp39 + 1000;
82416#line 73
82417    __cil_tmp41 = (struct list_head *)__cil_tmp40;
82418#line 73
82419    __cil_tmp42 = (unsigned int )__cil_tmp41;
82420#line 73
82421    __cil_tmp43 = (char *)__mptr___0;
82422#line 73
82423    __cil_tmp44 = __cil_tmp43 - __cil_tmp42;
82424#line 73
82425    vn_port = (struct fc_lport *)__cil_tmp44;
82426  }
82427  while_break: /* CIL Label */ ;
82428  }
82429  {
82430#line 79
82431  __cil_tmp45 = (unsigned long )n_port;
82432#line 79
82433  __cil_tmp46 = __cil_tmp45 + 928;
82434#line 79
82435  __cil_tmp47 = (struct mutex *)__cil_tmp46;
82436#line 79
82437  mutex_unlock(__cil_tmp47);
82438  }
82439#line 81
82440  return (lport);
82441}
82442}
82443#line 83
82444extern void *__crc_fc_vport_id_lookup  __attribute__((__weak__)) ;
82445#line 83 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82446static unsigned long    __kcrctab_fc_vport_id_lookup  __attribute__((__used__,
82447__unused__, __section__("___kcrctab+fc_vport_id_lookup")))  =    (unsigned long    )((unsigned long )(& __crc_fc_vport_id_lookup));
82448#line 83 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82449static char    __kstrtab_fc_vport_id_lookup[19]  __attribute__((__section__("__ksymtab_strings"),
82450__aligned__(1)))  = 
82451#line 83
82452  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'v', 
82453        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
82454        (char    )'_',      (char    )'i',      (char const   )'d',      (char const   )'_', 
82455        (char    )'l',      (char    )'o',      (char const   )'o',      (char const   )'k', 
82456        (char    )'u',      (char    )'p',      (char const   )'\000'};
82457#line 83 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82458static struct kernel_symbol    __ksymtab_fc_vport_id_lookup  __attribute__((__used__,
82459__unused__, __section__("___ksymtab+fc_vport_id_lookup")))  =    {(unsigned long )(& fc_vport_id_lookup), __kstrtab_fc_vport_id_lookup};
82460#line 103 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82461static void __fc_vport_setlink(struct fc_lport *n_port , struct fc_lport *vn_port ) 
82462{ struct fc_vport *vport ;
82463  unsigned long __cil_tmp4 ;
82464  unsigned long __cil_tmp5 ;
82465  unsigned long __cil_tmp6 ;
82466  unsigned long __cil_tmp7 ;
82467  enum fc_lport_state __cil_tmp8 ;
82468  unsigned int __cil_tmp9 ;
82469  unsigned long __cil_tmp10 ;
82470  unsigned long __cil_tmp11 ;
82471  enum fc_lport_state __cil_tmp12 ;
82472  unsigned int __cil_tmp13 ;
82473  enum fc_vport_state __cil_tmp14 ;
82474  enum fc_vport_state __cil_tmp15 ;
82475  enum fc_vport_state __cil_tmp16 ;
82476
82477  {
82478#line 106
82479  __cil_tmp4 = (unsigned long )vn_port;
82480#line 106
82481  __cil_tmp5 = __cil_tmp4 + 320;
82482#line 106
82483  vport = *((struct fc_vport **)__cil_tmp5);
82484  {
82485#line 108
82486  __cil_tmp6 = (unsigned long )vn_port;
82487#line 108
82488  __cil_tmp7 = __cil_tmp6 + 604;
82489#line 108
82490  __cil_tmp8 = *((enum fc_lport_state *)__cil_tmp7);
82491#line 108
82492  __cil_tmp9 = (unsigned int )__cil_tmp8;
82493#line 108
82494  if (__cil_tmp9 == 0U) {
82495#line 109
82496    return;
82497  } else {
82498
82499  }
82500  }
82501  {
82502#line 111
82503  __cil_tmp10 = (unsigned long )n_port;
82504#line 111
82505  __cil_tmp11 = __cil_tmp10 + 604;
82506#line 111
82507  __cil_tmp12 = *((enum fc_lport_state *)__cil_tmp11);
82508#line 111
82509  __cil_tmp13 = (unsigned int )__cil_tmp12;
82510#line 111
82511  if (__cil_tmp13 == 14U) {
82512#line 112
82513    if (n_port->npiv_enabled) {
82514      {
82515#line 113
82516      __cil_tmp14 = (enum fc_vport_state )4;
82517#line 113
82518      fc_vport_set_state(vport, __cil_tmp14);
82519#line 114
82520      __fc_linkup(vn_port);
82521      }
82522    } else {
82523      {
82524#line 116
82525      __cil_tmp15 = (enum fc_vport_state )5;
82526#line 116
82527      fc_vport_set_state(vport, __cil_tmp15);
82528#line 117
82529      __fc_linkdown(vn_port);
82530      }
82531    }
82532  } else {
82533    {
82534#line 120
82535    __cil_tmp16 = (enum fc_vport_state )3;
82536#line 120
82537    fc_vport_set_state(vport, __cil_tmp16);
82538#line 121
82539    __fc_linkdown(vn_port);
82540    }
82541  }
82542  }
82543#line 123
82544  return;
82545}
82546}
82547#line 129 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82548void fc_vport_setlink(struct fc_lport *vn_port ) 
82549{ struct fc_vport *vport ;
82550  struct Scsi_Host *shost ;
82551  struct fc_lport *n_port ;
82552  void *tmp___7 ;
82553  unsigned long __cil_tmp6 ;
82554  unsigned long __cil_tmp7 ;
82555  unsigned long __cil_tmp8 ;
82556  unsigned long __cil_tmp9 ;
82557  unsigned long __cil_tmp10 ;
82558  unsigned long __cil_tmp11 ;
82559  struct mutex *__cil_tmp12 ;
82560  unsigned long __cil_tmp13 ;
82561  unsigned long __cil_tmp14 ;
82562  struct mutex *__cil_tmp15 ;
82563  unsigned long __cil_tmp16 ;
82564  unsigned long __cil_tmp17 ;
82565  struct mutex *__cil_tmp18 ;
82566  unsigned long __cil_tmp19 ;
82567  unsigned long __cil_tmp20 ;
82568  struct mutex *__cil_tmp21 ;
82569
82570  {
82571  {
82572#line 131
82573  __cil_tmp6 = (unsigned long )vn_port;
82574#line 131
82575  __cil_tmp7 = __cil_tmp6 + 320;
82576#line 131
82577  vport = *((struct fc_vport **)__cil_tmp7);
82578#line 132
82579  __cil_tmp8 = (unsigned long )vport;
82580#line 132
82581  __cil_tmp9 = __cil_tmp8 + 112;
82582#line 132
82583  shost = *((struct Scsi_Host **)__cil_tmp9);
82584#line 133
82585  tmp___7 = shost_priv(shost);
82586#line 133
82587  n_port = (struct fc_lport *)tmp___7;
82588#line 135
82589  __cil_tmp10 = (unsigned long )n_port;
82590#line 135
82591  __cil_tmp11 = __cil_tmp10 + 928;
82592#line 135
82593  __cil_tmp12 = (struct mutex *)__cil_tmp11;
82594#line 135
82595  mutex_lock(__cil_tmp12);
82596#line 136
82597  __cil_tmp13 = (unsigned long )vn_port;
82598#line 136
82599  __cil_tmp14 = __cil_tmp13 + 928;
82600#line 136
82601  __cil_tmp15 = (struct mutex *)__cil_tmp14;
82602#line 136
82603  mutex_lock(__cil_tmp15);
82604#line 137
82605  __fc_vport_setlink(n_port, vn_port);
82606#line 138
82607  __cil_tmp16 = (unsigned long )vn_port;
82608#line 138
82609  __cil_tmp17 = __cil_tmp16 + 928;
82610#line 138
82611  __cil_tmp18 = (struct mutex *)__cil_tmp17;
82612#line 138
82613  mutex_unlock(__cil_tmp18);
82614#line 139
82615  __cil_tmp19 = (unsigned long )n_port;
82616#line 139
82617  __cil_tmp20 = __cil_tmp19 + 928;
82618#line 139
82619  __cil_tmp21 = (struct mutex *)__cil_tmp20;
82620#line 139
82621  mutex_unlock(__cil_tmp21);
82622  }
82623#line 140
82624  return;
82625}
82626}
82627#line 141
82628extern void *__crc_fc_vport_setlink  __attribute__((__weak__)) ;
82629#line 141 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82630static unsigned long    __kcrctab_fc_vport_setlink  __attribute__((__used__,
82631__unused__, __section__("___kcrctab+fc_vport_setlink")))  =    (unsigned long    )((unsigned long )(& __crc_fc_vport_setlink));
82632#line 141 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82633static char    __kstrtab_fc_vport_setlink[17]  __attribute__((__section__("__ksymtab_strings"),
82634__aligned__(1)))  = 
82635#line 141
82636  {      (char    )'f',      (char    )'c',      (char const   )'_',      (char const   )'v', 
82637        (char    )'p',      (char    )'o',      (char const   )'r',      (char const   )'t', 
82638        (char    )'_',      (char    )'s',      (char const   )'e',      (char const   )'t', 
82639        (char    )'l',      (char    )'i',      (char const   )'n',      (char const   )'k', 
82640        (char    )'\000'};
82641#line 141 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82642static struct kernel_symbol    __ksymtab_fc_vport_setlink  __attribute__((__used__,
82643__unused__, __section__("___ksymtab+fc_vport_setlink")))  =    {(unsigned long )(& fc_vport_setlink), __kstrtab_fc_vport_setlink};
82644#line 149 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/508/dscv_tempdir/dscv/ri/32_1/drivers/scsi/libfc/fc_npiv.c"
82645void fc_vports_linkchange(struct fc_lport *n_port ) 
82646{ struct fc_lport *vn_port ;
82647  struct list_head    *__mptr ;
82648  struct list_head    *__mptr___0 ;
82649  unsigned long __cil_tmp5 ;
82650  unsigned long __cil_tmp6 ;
82651  struct list_head *__cil_tmp7 ;
82652  struct fc_lport *__cil_tmp8 ;
82653  unsigned long __cil_tmp9 ;
82654  unsigned long __cil_tmp10 ;
82655  struct list_head *__cil_tmp11 ;
82656  unsigned int __cil_tmp12 ;
82657  char *__cil_tmp13 ;
82658  char *__cil_tmp14 ;
82659  unsigned long __cil_tmp15 ;
82660  unsigned long __cil_tmp16 ;
82661  struct list_head *__cil_tmp17 ;
82662  unsigned long __cil_tmp18 ;
82663  unsigned long __cil_tmp19 ;
82664  unsigned long __cil_tmp20 ;
82665  struct list_head *__cil_tmp21 ;
82666  unsigned long __cil_tmp22 ;
82667  unsigned long __cil_tmp23 ;
82668  unsigned long __cil_tmp24 ;
82669  struct mutex *__cil_tmp25 ;
82670  unsigned long __cil_tmp26 ;
82671  unsigned long __cil_tmp27 ;
82672  struct mutex *__cil_tmp28 ;
82673  unsigned long __cil_tmp29 ;
82674  unsigned long __cil_tmp30 ;
82675  struct list_head *__cil_tmp31 ;
82676  struct fc_lport *__cil_tmp32 ;
82677  unsigned long __cil_tmp33 ;
82678  unsigned long __cil_tmp34 ;
82679  struct list_head *__cil_tmp35 ;
82680  unsigned int __cil_tmp36 ;
82681  char *__cil_tmp37 ;
82682  char *__cil_tmp38 ;
82683
82684  {
82685#line 153
82686  __cil_tmp5 = (unsigned long )n_port;
82687#line 153
82688  __cil_tmp6 = __cil_tmp5 + 304;
82689#line 153
82690  __cil_tmp7 = *((struct list_head **)__cil_tmp6);
82691#line 153
82692  __mptr = (struct list_head    *)__cil_tmp7;
82693#line 153
82694  __cil_tmp8 = (struct fc_lport *)0;
82695#line 153
82696  __cil_tmp9 = (unsigned long )__cil_tmp8;
82697#line 153
82698  __cil_tmp10 = __cil_tmp9 + 1000;
82699#line 153
82700  __cil_tmp11 = (struct list_head *)__cil_tmp10;
82701#line 153
82702  __cil_tmp12 = (unsigned int )__cil_tmp11;
82703#line 153
82704  __cil_tmp13 = (char *)__mptr;
82705#line 153
82706  __cil_tmp14 = __cil_tmp13 - __cil_tmp12;
82707#line 153
82708  vn_port = (struct fc_lport *)__cil_tmp14;
82709  {
82710#line 153
82711  while (1) {
82712    while_continue: /* CIL Label */ ;
82713    {
82714#line 153
82715    __cil_tmp15 = (unsigned long )n_port;
82716#line 153
82717    __cil_tmp16 = __cil_tmp15 + 304;
82718#line 153
82719    __cil_tmp17 = (struct list_head *)__cil_tmp16;
82720#line 153
82721    __cil_tmp18 = (unsigned long )__cil_tmp17;
82722#line 153
82723    __cil_tmp19 = (unsigned long )vn_port;
82724#line 153
82725    __cil_tmp20 = __cil_tmp19 + 1000;
82726#line 153
82727    __cil_tmp21 = (struct list_head *)__cil_tmp20;
82728#line 153
82729    __cil_tmp22 = (unsigned long )__cil_tmp21;
82730#line 153
82731    if (__cil_tmp22 != __cil_tmp18) {
82732
82733    } else {
82734#line 153
82735      goto while_break;
82736    }
82737    }
82738    {
82739#line 154
82740    __cil_tmp23 = (unsigned long )vn_port;
82741#line 154
82742    __cil_tmp24 = __cil_tmp23 + 928;
82743#line 154
82744    __cil_tmp25 = (struct mutex *)__cil_tmp24;
82745#line 154
82746    mutex_lock(__cil_tmp25);
82747#line 155
82748    __fc_vport_setlink(n_port, vn_port);
82749#line 156
82750    __cil_tmp26 = (unsigned long )vn_port;
82751#line 156
82752    __cil_tmp27 = __cil_tmp26 + 928;
82753#line 156
82754    __cil_tmp28 = (struct mutex *)__cil_tmp27;
82755#line 156
82756    mutex_unlock(__cil_tmp28);
82757#line 153
82758    __cil_tmp29 = (unsigned long )vn_port;
82759#line 153
82760    __cil_tmp30 = __cil_tmp29 + 1000;
82761#line 153
82762    __cil_tmp31 = *((struct list_head **)__cil_tmp30);
82763#line 153
82764    __mptr___0 = (struct list_head    *)__cil_tmp31;
82765#line 153
82766    __cil_tmp32 = (struct fc_lport *)0;
82767#line 153
82768    __cil_tmp33 = (unsigned long )__cil_tmp32;
82769#line 153
82770    __cil_tmp34 = __cil_tmp33 + 1000;
82771#line 153
82772    __cil_tmp35 = (struct list_head *)__cil_tmp34;
82773#line 153
82774    __cil_tmp36 = (unsigned int )__cil_tmp35;
82775#line 153
82776    __cil_tmp37 = (char *)__mptr___0;
82777#line 153
82778    __cil_tmp38 = __cil_tmp37 - __cil_tmp36;
82779#line 153
82780    vn_port = (struct fc_lport *)__cil_tmp38;
82781    }
82782  }
82783  while_break: /* CIL Label */ ;
82784  }
82785#line 158
82786  return;
82787}
82788}