Showing error 165

User: Jiri Slaby
Error type: Reachable Error Location
Error type description: A specified error location is reachable in some program path
File location: ldv-drivers/module_get_put-drivers-atm-eni.ko-safe.cil.out.i.pp.cil.c
Line in file: 21665
Project: SV-COMP 2012
Tools: Manual Work
Entered: 2012-11-19 13:47:39 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 46 "include/asm-generic/int-ll64.h"
   23typedef unsigned short u16;
   24#line 48 "include/asm-generic/int-ll64.h"
   25typedef int s32;
   26#line 49 "include/asm-generic/int-ll64.h"
   27typedef unsigned int u32;
   28#line 51 "include/asm-generic/int-ll64.h"
   29typedef long long s64;
   30#line 52 "include/asm-generic/int-ll64.h"
   31typedef unsigned long long u64;
   32#line 11 "include/asm-generic/types.h"
   33typedef unsigned short umode_t;
   34#line 11 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   35typedef unsigned int __kernel_mode_t;
   36#line 12 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   37typedef unsigned long __kernel_nlink_t;
   38#line 13 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   39typedef long __kernel_off_t;
   40#line 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   41typedef int __kernel_pid_t;
   42#line 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   43typedef unsigned int __kernel_uid_t;
   44#line 17 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   45typedef unsigned int __kernel_gid_t;
   46#line 18 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   47typedef unsigned long __kernel_size_t;
   48#line 19 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   49typedef long __kernel_ssize_t;
   50#line 21 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   51typedef long __kernel_time_t;
   52#line 23 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   53typedef long __kernel_clock_t;
   54#line 24 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   55typedef int __kernel_timer_t;
   56#line 25 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   57typedef int __kernel_clockid_t;
   58#line 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   59typedef long long __kernel_loff_t;
   60#line 41 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   61typedef __kernel_uid_t __kernel_uid32_t;
   62#line 42 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
   63typedef __kernel_gid_t __kernel_gid32_t;
   64#line 21 "include/linux/types.h"
   65typedef __u32 __kernel_dev_t;
   66#line 24 "include/linux/types.h"
   67typedef __kernel_dev_t dev_t;
   68#line 26 "include/linux/types.h"
   69typedef __kernel_mode_t mode_t;
   70#line 27 "include/linux/types.h"
   71typedef __kernel_nlink_t nlink_t;
   72#line 28 "include/linux/types.h"
   73typedef __kernel_off_t off_t;
   74#line 29 "include/linux/types.h"
   75typedef __kernel_pid_t pid_t;
   76#line 34 "include/linux/types.h"
   77typedef __kernel_clockid_t clockid_t;
   78#line 37 "include/linux/types.h"
   79typedef _Bool bool;
   80#line 39 "include/linux/types.h"
   81typedef __kernel_uid32_t uid_t;
   82#line 40 "include/linux/types.h"
   83typedef __kernel_gid32_t gid_t;
   84#line 53 "include/linux/types.h"
   85typedef __kernel_loff_t loff_t;
   86#line 62 "include/linux/types.h"
   87typedef __kernel_size_t size_t;
   88#line 67 "include/linux/types.h"
   89typedef __kernel_ssize_t ssize_t;
   90#line 77 "include/linux/types.h"
   91typedef __kernel_time_t time_t;
   92#line 110 "include/linux/types.h"
   93typedef __s32 int32_t;
   94#line 116 "include/linux/types.h"
   95typedef __u32 uint32_t;
   96#line 141 "include/linux/types.h"
   97typedef unsigned long sector_t;
   98#line 142 "include/linux/types.h"
   99typedef unsigned long blkcnt_t;
  100#line 154 "include/linux/types.h"
  101typedef u64 dma_addr_t;
  102#line 178 "include/linux/types.h"
  103typedef __u16 __be16;
  104#line 180 "include/linux/types.h"
  105typedef __u32 __be32;
  106#line 185 "include/linux/types.h"
  107typedef __u32 __wsum;
  108#line 201 "include/linux/types.h"
  109typedef unsigned int gfp_t;
  110#line 202 "include/linux/types.h"
  111typedef unsigned int fmode_t;
  112#line 205 "include/linux/types.h"
  113typedef u64 phys_addr_t;
  114#line 210 "include/linux/types.h"
  115typedef phys_addr_t resource_size_t;
  116#line 214 "include/linux/types.h"
  117struct __anonstruct_atomic_t_6 {
  118   int counter ;
  119};
  120#line 214 "include/linux/types.h"
  121typedef struct __anonstruct_atomic_t_6 atomic_t;
  122#line 219 "include/linux/types.h"
  123struct __anonstruct_atomic64_t_7 {
  124   long counter ;
  125};
  126#line 219 "include/linux/types.h"
  127typedef struct __anonstruct_atomic64_t_7 atomic64_t;
  128#line 220 "include/linux/types.h"
  129struct list_head {
  130   struct list_head *next ;
  131   struct list_head *prev ;
  132};
  133#line 225
  134struct hlist_node;
  135#line 225
  136struct hlist_node;
  137#line 225
  138struct hlist_node;
  139#line 225 "include/linux/types.h"
  140struct hlist_head {
  141   struct hlist_node *first ;
  142};
  143#line 229 "include/linux/types.h"
  144struct hlist_node {
  145   struct hlist_node *next ;
  146   struct hlist_node **pprev ;
  147};
  148#line 58 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/alternative.h"
  149struct module;
  150#line 58
  151struct module;
  152#line 58
  153struct module;
  154#line 58
  155struct module;
  156#line 145 "include/linux/init.h"
  157typedef void (*ctor_fn_t)(void);
  158#line 48 "include/linux/dynamic_debug.h"
  159struct bug_entry {
  160   int bug_addr_disp ;
  161   int file_disp ;
  162   unsigned short line ;
  163   unsigned short flags ;
  164};
  165#line 70 "include/asm-generic/bug.h"
  166struct completion;
  167#line 70
  168struct completion;
  169#line 70
  170struct completion;
  171#line 70
  172struct completion;
  173#line 71
  174struct pt_regs;
  175#line 71
  176struct pt_regs;
  177#line 71
  178struct pt_regs;
  179#line 71
  180struct pt_regs;
  181#line 321 "include/linux/kernel.h"
  182struct pid;
  183#line 321
  184struct pid;
  185#line 321
  186struct pid;
  187#line 321
  188struct pid;
  189#line 671
  190struct timespec;
  191#line 671
  192struct timespec;
  193#line 671
  194struct timespec;
  195#line 671
  196struct timespec;
  197#line 59 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/page_types.h"
  198struct page;
  199#line 59
  200struct page;
  201#line 59
  202struct page;
  203#line 59
  204struct page;
  205#line 21 "include/asm-generic/getorder.h"
  206struct task_struct;
  207#line 21
  208struct task_struct;
  209#line 21
  210struct task_struct;
  211#line 21
  212struct task_struct;
  213#line 23
  214struct mm_struct;
  215#line 23
  216struct mm_struct;
  217#line 23
  218struct mm_struct;
  219#line 23
  220struct mm_struct;
  221#line 215 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/segment.h"
  222struct pt_regs {
  223   unsigned long r15 ;
  224   unsigned long r14 ;
  225   unsigned long r13 ;
  226   unsigned long r12 ;
  227   unsigned long bp ;
  228   unsigned long bx ;
  229   unsigned long r11 ;
  230   unsigned long r10 ;
  231   unsigned long r9 ;
  232   unsigned long r8 ;
  233   unsigned long ax ;
  234   unsigned long cx ;
  235   unsigned long dx ;
  236   unsigned long si ;
  237   unsigned long di ;
  238   unsigned long orig_ax ;
  239   unsigned long ip ;
  240   unsigned long cs ;
  241   unsigned long flags ;
  242   unsigned long sp ;
  243   unsigned long ss ;
  244};
  245#line 282 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/ptrace.h"
  246struct kernel_vm86_regs {
  247   struct pt_regs pt ;
  248   unsigned short es ;
  249   unsigned short __esh ;
  250   unsigned short ds ;
  251   unsigned short __dsh ;
  252   unsigned short fs ;
  253   unsigned short __fsh ;
  254   unsigned short gs ;
  255   unsigned short __gsh ;
  256};
  257#line 203 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/vm86.h"
  258union __anonunion_ldv_2292_12 {
  259   struct pt_regs *regs ;
  260   struct kernel_vm86_regs *vm86 ;
  261};
  262#line 203 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/vm86.h"
  263struct math_emu_info {
  264   long ___orig_eip ;
  265   union __anonunion_ldv_2292_12 ldv_2292 ;
  266};
  267#line 13 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_64_types.h"
  268typedef unsigned long pgdval_t;
  269#line 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_64_types.h"
  270typedef unsigned long pgprotval_t;
  271#line 18 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_64_types.h"
  272struct pgprot {
  273   pgprotval_t pgprot ;
  274};
  275#line 190 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
  276typedef struct pgprot pgprot_t;
  277#line 192 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
  278struct __anonstruct_pgd_t_15 {
  279   pgdval_t pgd ;
  280};
  281#line 192 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
  282typedef struct __anonstruct_pgd_t_15 pgd_t;
  283#line 280 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
  284typedef struct page *pgtable_t;
  285#line 288
  286struct file;
  287#line 288
  288struct file;
  289#line 288
  290struct file;
  291#line 288
  292struct file;
  293#line 303
  294struct seq_file;
  295#line 303
  296struct seq_file;
  297#line 303
  298struct seq_file;
  299#line 303
  300struct seq_file;
  301#line 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
  302struct __anonstruct_ldv_2526_19 {
  303   unsigned int a ;
  304   unsigned int b ;
  305};
  306#line 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
  307struct __anonstruct_ldv_2541_20 {
  308   u16 limit0 ;
  309   u16 base0 ;
  310   unsigned char base1 ;
  311   unsigned char type : 4 ;
  312   unsigned char s : 1 ;
  313   unsigned char dpl : 2 ;
  314   unsigned char p : 1 ;
  315   unsigned char limit : 4 ;
  316   unsigned char avl : 1 ;
  317   unsigned char l : 1 ;
  318   unsigned char d : 1 ;
  319   unsigned char g : 1 ;
  320   unsigned char base2 ;
  321};
  322#line 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
  323union __anonunion_ldv_2542_18 {
  324   struct __anonstruct_ldv_2526_19 ldv_2526 ;
  325   struct __anonstruct_ldv_2541_20 ldv_2541 ;
  326};
  327#line 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
  328struct desc_struct {
  329   union __anonunion_ldv_2542_18 ldv_2542 ;
  330};
  331#line 122 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
  332struct thread_struct;
  333#line 122
  334struct thread_struct;
  335#line 122
  336struct thread_struct;
  337#line 122
  338struct thread_struct;
  339#line 124
  340struct cpumask;
  341#line 124
  342struct cpumask;
  343#line 124
  344struct cpumask;
  345#line 124
  346struct cpumask;
  347#line 125 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
  348struct paravirt_callee_save {
  349   void *func ;
  350};
  351#line 190 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt_types.h"
  352struct pv_irq_ops {
  353   struct paravirt_callee_save save_fl ;
  354   struct paravirt_callee_save restore_fl ;
  355   struct paravirt_callee_save irq_disable ;
  356   struct paravirt_callee_save irq_enable ;
  357   void (*safe_halt)(void) ;
  358   void (*halt)(void) ;
  359   void (*adjust_exception_frame)(void) ;
  360};
  361#line 320
  362struct arch_spinlock;
  363#line 320
  364struct arch_spinlock;
  365#line 320
  366struct arch_spinlock;
  367#line 320
  368struct arch_spinlock;
  369#line 304 "include/linux/bitmap.h"
  370struct cpumask {
  371   unsigned long bits[64U] ;
  372};
  373#line 13 "include/linux/cpumask.h"
  374typedef struct cpumask cpumask_t;
  375#line 622 "include/linux/cpumask.h"
  376typedef struct cpumask *cpumask_var_t;
  377#line 145 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  378struct seq_operations;
  379#line 145
  380struct seq_operations;
  381#line 145
  382struct seq_operations;
  383#line 277 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  384struct i387_fsave_struct {
  385   u32 cwd ;
  386   u32 swd ;
  387   u32 twd ;
  388   u32 fip ;
  389   u32 fcs ;
  390   u32 foo ;
  391   u32 fos ;
  392   u32 st_space[20U] ;
  393   u32 status ;
  394};
  395#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  396struct __anonstruct_ldv_5171_24 {
  397   u64 rip ;
  398   u64 rdp ;
  399};
  400#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  401struct __anonstruct_ldv_5177_25 {
  402   u32 fip ;
  403   u32 fcs ;
  404   u32 foo ;
  405   u32 fos ;
  406};
  407#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  408union __anonunion_ldv_5178_23 {
  409   struct __anonstruct_ldv_5171_24 ldv_5171 ;
  410   struct __anonstruct_ldv_5177_25 ldv_5177 ;
  411};
  412#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  413union __anonunion_ldv_5187_26 {
  414   u32 padding1[12U] ;
  415   u32 sw_reserved[12U] ;
  416};
  417#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  418struct i387_fxsave_struct {
  419   u16 cwd ;
  420   u16 swd ;
  421   u16 twd ;
  422   u16 fop ;
  423   union __anonunion_ldv_5178_23 ldv_5178 ;
  424   u32 mxcsr ;
  425   u32 mxcsr_mask ;
  426   u32 st_space[32U] ;
  427   u32 xmm_space[64U] ;
  428   u32 padding[12U] ;
  429   union __anonunion_ldv_5187_26 ldv_5187 ;
  430};
  431#line 329 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  432struct i387_soft_struct {
  433   u32 cwd ;
  434   u32 swd ;
  435   u32 twd ;
  436   u32 fip ;
  437   u32 fcs ;
  438   u32 foo ;
  439   u32 fos ;
  440   u32 st_space[20U] ;
  441   u8 ftop ;
  442   u8 changed ;
  443   u8 lookahead ;
  444   u8 no_update ;
  445   u8 rm ;
  446   u8 alimit ;
  447   struct math_emu_info *info ;
  448   u32 entry_eip ;
  449};
  450#line 350 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  451struct ymmh_struct {
  452   u32 ymmh_space[64U] ;
  453};
  454#line 355 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  455struct xsave_hdr_struct {
  456   u64 xstate_bv ;
  457   u64 reserved1[2U] ;
  458   u64 reserved2[5U] ;
  459};
  460#line 361 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  461struct xsave_struct {
  462   struct i387_fxsave_struct i387 ;
  463   struct xsave_hdr_struct xsave_hdr ;
  464   struct ymmh_struct ymmh ;
  465};
  466#line 367 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  467union thread_xstate {
  468   struct i387_fsave_struct fsave ;
  469   struct i387_fxsave_struct fxsave ;
  470   struct i387_soft_struct soft ;
  471   struct xsave_struct xsave ;
  472};
  473#line 375 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  474struct fpu {
  475   union thread_xstate *state ;
  476};
  477#line 421
  478struct kmem_cache;
  479#line 421
  480struct kmem_cache;
  481#line 421
  482struct kmem_cache;
  483#line 422
  484struct perf_event;
  485#line 422
  486struct perf_event;
  487#line 422
  488struct perf_event;
  489#line 422
  490struct perf_event;
  491#line 423 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
  492struct thread_struct {
  493   struct desc_struct tls_array[3U] ;
  494   unsigned long sp0 ;
  495   unsigned long sp ;
  496   unsigned long usersp ;
  497   unsigned short es ;
  498   unsigned short ds ;
  499   unsigned short fsindex ;
  500   unsigned short gsindex ;
  501   unsigned long fs ;
  502   unsigned long gs ;
  503   struct perf_event *ptrace_bps[4U] ;
  504   unsigned long debugreg6 ;
  505   unsigned long ptrace_dr7 ;
  506   unsigned long cr2 ;
  507   unsigned long trap_no ;
  508   unsigned long error_code ;
  509   struct fpu fpu ;
  510   unsigned long *io_bitmap_ptr ;
  511   unsigned long iopl ;
  512   unsigned int io_bitmap_max ;
  513};
  514#line 23 "include/asm-generic/atomic-long.h"
  515typedef atomic64_t atomic_long_t;
  516#line 8 "include/linux/bottom_half.h"
  517struct arch_spinlock {
  518   unsigned int slock ;
  519};
  520#line 10 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
  521typedef struct arch_spinlock arch_spinlock_t;
  522#line 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
  523struct __anonstruct_arch_rwlock_t_29 {
  524   unsigned int lock ;
  525};
  526#line 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
  527typedef struct __anonstruct_arch_rwlock_t_29 arch_rwlock_t;
  528#line 17
  529struct lockdep_map;
  530#line 17
  531struct lockdep_map;
  532#line 17
  533struct lockdep_map;
  534#line 17
  535struct lockdep_map;
  536#line 55 "include/linux/debug_locks.h"
  537struct stack_trace {
  538   unsigned int nr_entries ;
  539   unsigned int max_entries ;
  540   unsigned long *entries ;
  541   int skip ;
  542};
  543#line 26 "include/linux/stacktrace.h"
  544struct lockdep_subclass_key {
  545   char __one_byte ;
  546};
  547#line 53 "include/linux/lockdep.h"
  548struct lock_class_key {
  549   struct lockdep_subclass_key subkeys[8U] ;
  550};
  551#line 59 "include/linux/lockdep.h"
  552struct lock_class {
  553   struct list_head hash_entry ;
  554   struct list_head lock_entry ;
  555   struct lockdep_subclass_key *key ;
  556   unsigned int subclass ;
  557   unsigned int dep_gen_id ;
  558   unsigned long usage_mask ;
  559   struct stack_trace usage_traces[13U] ;
  560   struct list_head locks_after ;
  561   struct list_head locks_before ;
  562   unsigned int version ;
  563   unsigned long ops ;
  564   char const   *name ;
  565   int name_version ;
  566   unsigned long contention_point[4U] ;
  567   unsigned long contending_point[4U] ;
  568};
  569#line 144 "include/linux/lockdep.h"
  570struct lockdep_map {
  571   struct lock_class_key *key ;
  572   struct lock_class *class_cache[2U] ;
  573   char const   *name ;
  574   int cpu ;
  575   unsigned long ip ;
  576};
  577#line 187 "include/linux/lockdep.h"
  578struct held_lock {
  579   u64 prev_chain_key ;
  580   unsigned long acquire_ip ;
  581   struct lockdep_map *instance ;
  582   struct lockdep_map *nest_lock ;
  583   u64 waittime_stamp ;
  584   u64 holdtime_stamp ;
  585   unsigned short class_idx : 13 ;
  586   unsigned char irq_context : 2 ;
  587   unsigned char trylock : 1 ;
  588   unsigned char read : 2 ;
  589   unsigned char check : 2 ;
  590   unsigned char hardirqs_off : 1 ;
  591   unsigned short references : 11 ;
  592};
  593#line 552 "include/linux/lockdep.h"
  594struct raw_spinlock {
  595   arch_spinlock_t raw_lock ;
  596   unsigned int magic ;
  597   unsigned int owner_cpu ;
  598   void *owner ;
  599   struct lockdep_map dep_map ;
  600};
  601#line 32 "include/linux/spinlock_types.h"
  602typedef struct raw_spinlock raw_spinlock_t;
  603#line 33 "include/linux/spinlock_types.h"
  604struct __anonstruct_ldv_6059_31 {
  605   u8 __padding[24U] ;
  606   struct lockdep_map dep_map ;
  607};
  608#line 33 "include/linux/spinlock_types.h"
  609union __anonunion_ldv_6060_30 {
  610   struct raw_spinlock rlock ;
  611   struct __anonstruct_ldv_6059_31 ldv_6059 ;
  612};
  613#line 33 "include/linux/spinlock_types.h"
  614struct spinlock {
  615   union __anonunion_ldv_6060_30 ldv_6060 ;
  616};
  617#line 76 "include/linux/spinlock_types.h"
  618typedef struct spinlock spinlock_t;
  619#line 23 "include/linux/rwlock_types.h"
  620struct __anonstruct_rwlock_t_32 {
  621   arch_rwlock_t raw_lock ;
  622   unsigned int magic ;
  623   unsigned int owner_cpu ;
  624   void *owner ;
  625   struct lockdep_map dep_map ;
  626};
  627#line 23 "include/linux/rwlock_types.h"
  628typedef struct __anonstruct_rwlock_t_32 rwlock_t;
  629#line 36 "include/linux/seqlock.h"
  630struct __anonstruct_seqlock_t_33 {
  631   unsigned int sequence ;
  632   spinlock_t lock ;
  633};
  634#line 36 "include/linux/seqlock.h"
  635typedef struct __anonstruct_seqlock_t_33 seqlock_t;
  636#line 110 "include/linux/seqlock.h"
  637struct seqcount {
  638   unsigned int sequence ;
  639};
  640#line 121 "include/linux/seqlock.h"
  641typedef struct seqcount seqcount_t;
  642#line 233 "include/linux/seqlock.h"
  643struct timespec {
  644   __kernel_time_t tv_sec ;
  645   long tv_nsec ;
  646};
  647#line 286 "include/linux/time.h"
  648struct kstat {
  649   u64 ino ;
  650   dev_t dev ;
  651   umode_t mode ;
  652   unsigned int nlink ;
  653   uid_t uid ;
  654   gid_t gid ;
  655   dev_t rdev ;
  656   loff_t size ;
  657   struct timespec atime ;
  658   struct timespec mtime ;
  659   struct timespec ctime ;
  660   unsigned long blksize ;
  661   unsigned long long blocks ;
  662};
  663#line 28 "include/linux/wait.h"
  664struct __wait_queue;
  665#line 28
  666struct __wait_queue;
  667#line 28
  668struct __wait_queue;
  669#line 28 "include/linux/wait.h"
  670typedef struct __wait_queue wait_queue_t;
  671#line 31 "include/linux/wait.h"
  672struct __wait_queue {
  673   unsigned int flags ;
  674   void *private ;
  675   int (*func)(wait_queue_t * , unsigned int  , int  , void * ) ;
  676   struct list_head task_list ;
  677};
  678#line 49 "include/linux/wait.h"
  679struct __wait_queue_head {
  680   spinlock_t lock ;
  681   struct list_head task_list ;
  682};
  683#line 54 "include/linux/wait.h"
  684typedef struct __wait_queue_head wait_queue_head_t;
  685#line 96 "include/linux/nodemask.h"
  686struct __anonstruct_nodemask_t_34 {
  687   unsigned long bits[16U] ;
  688};
  689#line 96 "include/linux/nodemask.h"
  690typedef struct __anonstruct_nodemask_t_34 nodemask_t;
  691#line 640 "include/linux/mmzone.h"
  692struct mutex {
  693   atomic_t count ;
  694   spinlock_t wait_lock ;
  695   struct list_head wait_list ;
  696   struct task_struct *owner ;
  697   char const   *name ;
  698   void *magic ;
  699   struct lockdep_map dep_map ;
  700};
  701#line 63 "include/linux/mutex.h"
  702struct mutex_waiter {
  703   struct list_head list ;
  704   struct task_struct *task ;
  705   void *magic ;
  706};
  707#line 171
  708struct rw_semaphore;
  709#line 171
  710struct rw_semaphore;
  711#line 171
  712struct rw_semaphore;
  713#line 171
  714struct rw_semaphore;
  715#line 172 "include/linux/mutex.h"
  716struct rw_semaphore {
  717   long count ;
  718   spinlock_t wait_lock ;
  719   struct list_head wait_list ;
  720   struct lockdep_map dep_map ;
  721};
  722#line 763 "include/linux/mmzone.h"
  723struct ctl_table;
  724#line 763
  725struct ctl_table;
  726#line 763
  727struct ctl_table;
  728#line 763
  729struct ctl_table;
  730#line 139 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/e820.h"
  731struct resource {
  732   resource_size_t start ;
  733   resource_size_t end ;
  734   char const   *name ;
  735   unsigned long flags ;
  736   struct resource *parent ;
  737   struct resource *sibling ;
  738   struct resource *child ;
  739};
  740#line 25 "include/linux/ioport.h"
  741struct pci_dev;
  742#line 25
  743struct pci_dev;
  744#line 25
  745struct pci_dev;
  746#line 175
  747struct device;
  748#line 175
  749struct device;
  750#line 175
  751struct device;
  752#line 175
  753struct device;
  754#line 312 "include/linux/jiffies.h"
  755union ktime {
  756   s64 tv64 ;
  757};
  758#line 59 "include/linux/ktime.h"
  759typedef union ktime ktime_t;
  760#line 99 "include/linux/debugobjects.h"
  761struct tvec_base;
  762#line 99
  763struct tvec_base;
  764#line 99
  765struct tvec_base;
  766#line 99
  767struct tvec_base;
  768#line 100 "include/linux/debugobjects.h"
  769struct timer_list {
  770   struct list_head entry ;
  771   unsigned long expires ;
  772   struct tvec_base *base ;
  773   void (*function)(unsigned long  ) ;
  774   unsigned long data ;
  775   int slack ;
  776   int start_pid ;
  777   void *start_site ;
  778   char start_comm[16U] ;
  779   struct lockdep_map lockdep_map ;
  780};
  781#line 289 "include/linux/timer.h"
  782struct hrtimer;
  783#line 289
  784struct hrtimer;
  785#line 289
  786struct hrtimer;
  787#line 289
  788struct hrtimer;
  789#line 290
  790enum hrtimer_restart;
  791#line 290
  792enum hrtimer_restart;
  793#line 290
  794enum hrtimer_restart;
  795#line 302
  796struct work_struct;
  797#line 302
  798struct work_struct;
  799#line 302
  800struct work_struct;
  801#line 302
  802struct work_struct;
  803#line 45 "include/linux/workqueue.h"
  804struct work_struct {
  805   atomic_long_t data ;
  806   struct list_head entry ;
  807   void (*func)(struct work_struct * ) ;
  808   struct lockdep_map lockdep_map ;
  809};
  810#line 86 "include/linux/workqueue.h"
  811struct delayed_work {
  812   struct work_struct work ;
  813   struct timer_list timer ;
  814};
  815#line 443 "include/linux/workqueue.h"
  816struct completion {
  817   unsigned int done ;
  818   wait_queue_head_t wait ;
  819};
  820#line 46 "include/linux/pm.h"
  821struct pm_message {
  822   int event ;
  823};
  824#line 52 "include/linux/pm.h"
  825typedef struct pm_message pm_message_t;
  826#line 53 "include/linux/pm.h"
  827struct dev_pm_ops {
  828   int (*prepare)(struct device * ) ;
  829   void (*complete)(struct device * ) ;
  830   int (*suspend)(struct device * ) ;
  831   int (*resume)(struct device * ) ;
  832   int (*freeze)(struct device * ) ;
  833   int (*thaw)(struct device * ) ;
  834   int (*poweroff)(struct device * ) ;
  835   int (*restore)(struct device * ) ;
  836   int (*suspend_noirq)(struct device * ) ;
  837   int (*resume_noirq)(struct device * ) ;
  838   int (*freeze_noirq)(struct device * ) ;
  839   int (*thaw_noirq)(struct device * ) ;
  840   int (*poweroff_noirq)(struct device * ) ;
  841   int (*restore_noirq)(struct device * ) ;
  842   int (*runtime_suspend)(struct device * ) ;
  843   int (*runtime_resume)(struct device * ) ;
  844   int (*runtime_idle)(struct device * ) ;
  845};
  846#line 272
  847enum rpm_status {
  848    RPM_ACTIVE = 0,
  849    RPM_RESUMING = 1,
  850    RPM_SUSPENDED = 2,
  851    RPM_SUSPENDING = 3
  852} ;
  853#line 279
  854enum rpm_request {
  855    RPM_REQ_NONE = 0,
  856    RPM_REQ_IDLE = 1,
  857    RPM_REQ_SUSPEND = 2,
  858    RPM_REQ_AUTOSUSPEND = 3,
  859    RPM_REQ_RESUME = 4
  860} ;
  861#line 287
  862struct wakeup_source;
  863#line 287
  864struct wakeup_source;
  865#line 287
  866struct wakeup_source;
  867#line 287
  868struct wakeup_source;
  869#line 288 "include/linux/pm.h"
  870struct dev_pm_info {
  871   pm_message_t power_state ;
  872   unsigned char can_wakeup : 1 ;
  873   unsigned char async_suspend : 1 ;
  874   bool is_prepared ;
  875   bool is_suspended ;
  876   spinlock_t lock ;
  877   struct list_head entry ;
  878   struct completion completion ;
  879   struct wakeup_source *wakeup ;
  880   struct timer_list suspend_timer ;
  881   unsigned long timer_expires ;
  882   struct work_struct work ;
  883   wait_queue_head_t wait_queue ;
  884   atomic_t usage_count ;
  885   atomic_t child_count ;
  886   unsigned char disable_depth : 3 ;
  887   unsigned char ignore_children : 1 ;
  888   unsigned char idle_notification : 1 ;
  889   unsigned char request_pending : 1 ;
  890   unsigned char deferred_resume : 1 ;
  891   unsigned char run_wake : 1 ;
  892   unsigned char runtime_auto : 1 ;
  893   unsigned char no_callbacks : 1 ;
  894   unsigned char irq_safe : 1 ;
  895   unsigned char use_autosuspend : 1 ;
  896   unsigned char timer_autosuspends : 1 ;
  897   enum rpm_request request ;
  898   enum rpm_status runtime_status ;
  899   int runtime_error ;
  900   int autosuspend_delay ;
  901   unsigned long last_busy ;
  902   unsigned long active_jiffies ;
  903   unsigned long suspended_jiffies ;
  904   unsigned long accounting_timestamp ;
  905   void *subsys_data ;
  906};
  907#line 469 "include/linux/pm.h"
  908struct dev_power_domain {
  909   struct dev_pm_ops ops ;
  910};
  911#line 175 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/topology.h"
  912struct pci_bus;
  913#line 175
  914struct pci_bus;
  915#line 175
  916struct pci_bus;
  917#line 175
  918struct pci_bus;
  919#line 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/mmu.h"
  920struct __anonstruct_mm_context_t_99 {
  921   void *ldt ;
  922   int size ;
  923   unsigned short ia32_compat ;
  924   struct mutex lock ;
  925   void *vdso ;
  926};
  927#line 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/mmu.h"
  928typedef struct __anonstruct_mm_context_t_99 mm_context_t;
  929#line 71 "include/asm-generic/iomap.h"
  930struct vm_area_struct;
  931#line 71
  932struct vm_area_struct;
  933#line 71
  934struct vm_area_struct;
  935#line 71
  936struct vm_area_struct;
  937#line 53 "include/linux/rcupdate.h"
  938struct rcu_head {
  939   struct rcu_head *next ;
  940   void (*func)(struct rcu_head * ) ;
  941};
  942#line 841
  943struct nsproxy;
  944#line 841
  945struct nsproxy;
  946#line 841
  947struct nsproxy;
  948#line 841
  949struct nsproxy;
  950#line 842
  951struct ctl_table_root;
  952#line 842
  953struct ctl_table_root;
  954#line 842
  955struct ctl_table_root;
  956#line 842
  957struct ctl_table_root;
  958#line 843 "include/linux/rcupdate.h"
  959struct ctl_table_set {
  960   struct list_head list ;
  961   struct ctl_table_set *parent ;
  962   int (*is_seen)(struct ctl_table_set * ) ;
  963};
  964#line 947 "include/linux/sysctl.h"
  965struct ctl_table_header;
  966#line 947
  967struct ctl_table_header;
  968#line 947
  969struct ctl_table_header;
  970#line 947
  971struct ctl_table_header;
  972#line 965 "include/linux/sysctl.h"
  973typedef int proc_handler(struct ctl_table * , int  , void * , size_t * , loff_t * );
  974#line 985 "include/linux/sysctl.h"
  975struct ctl_table {
  976   char const   *procname ;
  977   void *data ;
  978   int maxlen ;
  979   mode_t mode ;
  980   struct ctl_table *child ;
  981   struct ctl_table *parent ;
  982   proc_handler *proc_handler ;
  983   void *extra1 ;
  984   void *extra2 ;
  985};
  986#line 1027 "include/linux/sysctl.h"
  987struct ctl_table_root {
  988   struct list_head root_list ;
  989   struct ctl_table_set default_set ;
  990   struct ctl_table_set *(*lookup)(struct ctl_table_root * , struct nsproxy * ) ;
  991   int (*permissions)(struct ctl_table_root * , struct nsproxy * , struct ctl_table * ) ;
  992};
  993#line 1035 "include/linux/sysctl.h"
  994struct __anonstruct_ldv_12193_124 {
  995   struct ctl_table *ctl_table ;
  996   struct list_head ctl_entry ;
  997   int used ;
  998   int count ;
  999};
 1000#line 1035 "include/linux/sysctl.h"
 1001union __anonunion_ldv_12195_123 {
 1002   struct __anonstruct_ldv_12193_124 ldv_12193 ;
 1003   struct rcu_head rcu ;
 1004};
 1005#line 1035 "include/linux/sysctl.h"
 1006struct ctl_table_header {
 1007   union __anonunion_ldv_12195_123 ldv_12195 ;
 1008   struct completion *unregistering ;
 1009   struct ctl_table *ctl_table_arg ;
 1010   struct ctl_table_root *root ;
 1011   struct ctl_table_set *set ;
 1012   struct ctl_table *attached_by ;
 1013   struct ctl_table *attached_to ;
 1014   struct ctl_table_header *parent ;
 1015};
 1016#line 36 "include/linux/kmod.h"
 1017struct cred;
 1018#line 36
 1019struct cred;
 1020#line 36
 1021struct cred;
 1022#line 36
 1023struct cred;
 1024#line 229 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/elf.h"
 1025struct linux_binprm;
 1026#line 229
 1027struct linux_binprm;
 1028#line 229
 1029struct linux_binprm;
 1030#line 229
 1031struct linux_binprm;
 1032#line 27 "include/linux/elf.h"
 1033typedef __u64 Elf64_Addr;
 1034#line 28 "include/linux/elf.h"
 1035typedef __u16 Elf64_Half;
 1036#line 32 "include/linux/elf.h"
 1037typedef __u32 Elf64_Word;
 1038#line 33 "include/linux/elf.h"
 1039typedef __u64 Elf64_Xword;
 1040#line 202 "include/linux/elf.h"
 1041struct elf64_sym {
 1042   Elf64_Word st_name ;
 1043   unsigned char st_info ;
 1044   unsigned char st_other ;
 1045   Elf64_Half st_shndx ;
 1046   Elf64_Addr st_value ;
 1047   Elf64_Xword st_size ;
 1048};
 1049#line 210 "include/linux/elf.h"
 1050typedef struct elf64_sym Elf64_Sym;
 1051#line 444
 1052struct sock;
 1053#line 444
 1054struct sock;
 1055#line 444
 1056struct sock;
 1057#line 444
 1058struct sock;
 1059#line 445
 1060struct kobject;
 1061#line 445
 1062struct kobject;
 1063#line 445
 1064struct kobject;
 1065#line 445
 1066struct kobject;
 1067#line 446
 1068enum kobj_ns_type {
 1069    KOBJ_NS_TYPE_NONE = 0,
 1070    KOBJ_NS_TYPE_NET = 1,
 1071    KOBJ_NS_TYPES = 2
 1072} ;
 1073#line 452 "include/linux/elf.h"
 1074struct kobj_ns_type_operations {
 1075   enum kobj_ns_type type ;
 1076   void *(*grab_current_ns)(void) ;
 1077   void const   *(*netlink_ns)(struct sock * ) ;
 1078   void const   *(*initial_ns)(void) ;
 1079   void (*drop_ns)(void * ) ;
 1080};
 1081#line 57 "include/linux/kobject_ns.h"
 1082struct attribute {
 1083   char const   *name ;
 1084   mode_t mode ;
 1085   struct lock_class_key *key ;
 1086   struct lock_class_key skey ;
 1087};
 1088#line 33 "include/linux/sysfs.h"
 1089struct attribute_group {
 1090   char const   *name ;
 1091   mode_t (*is_visible)(struct kobject * , struct attribute * , int  ) ;
 1092   struct attribute **attrs ;
 1093};
 1094#line 62 "include/linux/sysfs.h"
 1095struct bin_attribute {
 1096   struct attribute attr ;
 1097   size_t size ;
 1098   void *private ;
 1099   ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
 1100                   loff_t  , size_t  ) ;
 1101   ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
 1102                    loff_t  , size_t  ) ;
 1103   int (*mmap)(struct file * , struct kobject * , struct bin_attribute * , struct vm_area_struct * ) ;
 1104};
 1105#line 98 "include/linux/sysfs.h"
 1106struct sysfs_ops {
 1107   ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
 1108   ssize_t (*store)(struct kobject * , struct attribute * , char const   * , size_t  ) ;
 1109};
 1110#line 116
 1111struct sysfs_dirent;
 1112#line 116
 1113struct sysfs_dirent;
 1114#line 116
 1115struct sysfs_dirent;
 1116#line 116
 1117struct sysfs_dirent;
 1118#line 181 "include/linux/sysfs.h"
 1119struct kref {
 1120   atomic_t refcount ;
 1121};
 1122#line 49 "include/linux/kobject.h"
 1123struct kset;
 1124#line 49
 1125struct kset;
 1126#line 49
 1127struct kset;
 1128#line 49
 1129struct kobj_type;
 1130#line 49
 1131struct kobj_type;
 1132#line 49
 1133struct kobj_type;
 1134#line 49 "include/linux/kobject.h"
 1135struct kobject {
 1136   char const   *name ;
 1137   struct list_head entry ;
 1138   struct kobject *parent ;
 1139   struct kset *kset ;
 1140   struct kobj_type *ktype ;
 1141   struct sysfs_dirent *sd ;
 1142   struct kref kref ;
 1143   unsigned char state_initialized : 1 ;
 1144   unsigned char state_in_sysfs : 1 ;
 1145   unsigned char state_add_uevent_sent : 1 ;
 1146   unsigned char state_remove_uevent_sent : 1 ;
 1147   unsigned char uevent_suppress : 1 ;
 1148};
 1149#line 109 "include/linux/kobject.h"
 1150struct kobj_type {
 1151   void (*release)(struct kobject * ) ;
 1152   struct sysfs_ops  const  *sysfs_ops ;
 1153   struct attribute **default_attrs ;
 1154   struct kobj_ns_type_operations  const  *(*child_ns_type)(struct kobject * ) ;
 1155   void const   *(*namespace)(struct kobject * ) ;
 1156};
 1157#line 117 "include/linux/kobject.h"
 1158struct kobj_uevent_env {
 1159   char *envp[32U] ;
 1160   int envp_idx ;
 1161   char buf[2048U] ;
 1162   int buflen ;
 1163};
 1164#line 124 "include/linux/kobject.h"
 1165struct kset_uevent_ops {
 1166   int (* const  filter)(struct kset * , struct kobject * ) ;
 1167   char const   *(* const  name)(struct kset * , struct kobject * ) ;
 1168   int (* const  uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
 1169};
 1170#line 141 "include/linux/kobject.h"
 1171struct kset {
 1172   struct list_head list ;
 1173   spinlock_t list_lock ;
 1174   struct kobject kobj ;
 1175   struct kset_uevent_ops  const  *uevent_ops ;
 1176};
 1177#line 219
 1178struct kernel_param;
 1179#line 219
 1180struct kernel_param;
 1181#line 219
 1182struct kernel_param;
 1183#line 219
 1184struct kernel_param;
 1185#line 220 "include/linux/kobject.h"
 1186struct kernel_param_ops {
 1187   int (*set)(char const   * , struct kernel_param  const  * ) ;
 1188   int (*get)(char * , struct kernel_param  const  * ) ;
 1189   void (*free)(void * ) ;
 1190};
 1191#line 44 "include/linux/moduleparam.h"
 1192struct kparam_string;
 1193#line 44
 1194struct kparam_string;
 1195#line 44
 1196struct kparam_string;
 1197#line 44
 1198struct kparam_array;
 1199#line 44
 1200struct kparam_array;
 1201#line 44
 1202struct kparam_array;
 1203#line 44 "include/linux/moduleparam.h"
 1204union __anonunion_ldv_12924_129 {
 1205   void *arg ;
 1206   struct kparam_string  const  *str ;
 1207   struct kparam_array  const  *arr ;
 1208};
 1209#line 44 "include/linux/moduleparam.h"
 1210struct kernel_param {
 1211   char const   *name ;
 1212   struct kernel_param_ops  const  *ops ;
 1213   u16 perm ;
 1214   u16 flags ;
 1215   union __anonunion_ldv_12924_129 ldv_12924 ;
 1216};
 1217#line 59 "include/linux/moduleparam.h"
 1218struct kparam_string {
 1219   unsigned int maxlen ;
 1220   char *string ;
 1221};
 1222#line 65 "include/linux/moduleparam.h"
 1223struct kparam_array {
 1224   unsigned int max ;
 1225   unsigned int elemsize ;
 1226   unsigned int *num ;
 1227   struct kernel_param_ops  const  *ops ;
 1228   void *elem ;
 1229};
 1230#line 404 "include/linux/moduleparam.h"
 1231struct jump_label_key {
 1232   atomic_t enabled ;
 1233};
 1234#line 99 "include/linux/jump_label.h"
 1235struct tracepoint;
 1236#line 99
 1237struct tracepoint;
 1238#line 99
 1239struct tracepoint;
 1240#line 99
 1241struct tracepoint;
 1242#line 100 "include/linux/jump_label.h"
 1243struct tracepoint_func {
 1244   void *func ;
 1245   void *data ;
 1246};
 1247#line 29 "include/linux/tracepoint.h"
 1248struct tracepoint {
 1249   char const   *name ;
 1250   struct jump_label_key key ;
 1251   void (*regfunc)(void) ;
 1252   void (*unregfunc)(void) ;
 1253   struct tracepoint_func *funcs ;
 1254};
 1255#line 84 "include/linux/tracepoint.h"
 1256struct mod_arch_specific {
 1257
 1258};
 1259#line 127 "include/trace/events/module.h"
 1260struct kernel_symbol {
 1261   unsigned long value ;
 1262   char const   *name ;
 1263};
 1264#line 48 "include/linux/module.h"
 1265struct module_attribute {
 1266   struct attribute attr ;
 1267   ssize_t (*show)(struct module_attribute * , struct module * , char * ) ;
 1268   ssize_t (*store)(struct module_attribute * , struct module * , char const   * ,
 1269                    size_t  ) ;
 1270   void (*setup)(struct module * , char const   * ) ;
 1271   int (*test)(struct module * ) ;
 1272   void (*free)(struct module * ) ;
 1273};
 1274#line 68
 1275struct module_param_attrs;
 1276#line 68
 1277struct module_param_attrs;
 1278#line 68
 1279struct module_param_attrs;
 1280#line 68 "include/linux/module.h"
 1281struct module_kobject {
 1282   struct kobject kobj ;
 1283   struct module *mod ;
 1284   struct kobject *drivers_dir ;
 1285   struct module_param_attrs *mp ;
 1286};
 1287#line 81
 1288struct exception_table_entry;
 1289#line 81
 1290struct exception_table_entry;
 1291#line 81
 1292struct exception_table_entry;
 1293#line 81
 1294struct exception_table_entry;
 1295#line 218
 1296enum module_state {
 1297    MODULE_STATE_LIVE = 0,
 1298    MODULE_STATE_COMING = 1,
 1299    MODULE_STATE_GOING = 2
 1300} ;
 1301#line 224 "include/linux/module.h"
 1302struct module_ref {
 1303   unsigned int incs ;
 1304   unsigned int decs ;
 1305};
 1306#line 418
 1307struct module_sect_attrs;
 1308#line 418
 1309struct module_sect_attrs;
 1310#line 418
 1311struct module_sect_attrs;
 1312#line 418
 1313struct module_notes_attrs;
 1314#line 418
 1315struct module_notes_attrs;
 1316#line 418
 1317struct module_notes_attrs;
 1318#line 418
 1319struct ftrace_event_call;
 1320#line 418
 1321struct ftrace_event_call;
 1322#line 418
 1323struct ftrace_event_call;
 1324#line 418 "include/linux/module.h"
 1325struct module {
 1326   enum module_state state ;
 1327   struct list_head list ;
 1328   char name[56U] ;
 1329   struct module_kobject mkobj ;
 1330   struct module_attribute *modinfo_attrs ;
 1331   char const   *version ;
 1332   char const   *srcversion ;
 1333   struct kobject *holders_dir ;
 1334   struct kernel_symbol  const  *syms ;
 1335   unsigned long const   *crcs ;
 1336   unsigned int num_syms ;
 1337   struct kernel_param *kp ;
 1338   unsigned int num_kp ;
 1339   unsigned int num_gpl_syms ;
 1340   struct kernel_symbol  const  *gpl_syms ;
 1341   unsigned long const   *gpl_crcs ;
 1342   struct kernel_symbol  const  *unused_syms ;
 1343   unsigned long const   *unused_crcs ;
 1344   unsigned int num_unused_syms ;
 1345   unsigned int num_unused_gpl_syms ;
 1346   struct kernel_symbol  const  *unused_gpl_syms ;
 1347   unsigned long const   *unused_gpl_crcs ;
 1348   struct kernel_symbol  const  *gpl_future_syms ;
 1349   unsigned long const   *gpl_future_crcs ;
 1350   unsigned int num_gpl_future_syms ;
 1351   unsigned int num_exentries ;
 1352   struct exception_table_entry *extable ;
 1353   int (*init)(void) ;
 1354   void *module_init ;
 1355   void *module_core ;
 1356   unsigned int init_size ;
 1357   unsigned int core_size ;
 1358   unsigned int init_text_size ;
 1359   unsigned int core_text_size ;
 1360   unsigned int init_ro_size ;
 1361   unsigned int core_ro_size ;
 1362   struct mod_arch_specific arch ;
 1363   unsigned int taints ;
 1364   unsigned int num_bugs ;
 1365   struct list_head bug_list ;
 1366   struct bug_entry *bug_table ;
 1367   Elf64_Sym *symtab ;
 1368   Elf64_Sym *core_symtab ;
 1369   unsigned int num_symtab ;
 1370   unsigned int core_num_syms ;
 1371   char *strtab ;
 1372   char *core_strtab ;
 1373   struct module_sect_attrs *sect_attrs ;
 1374   struct module_notes_attrs *notes_attrs ;
 1375   char *args ;
 1376   void *percpu ;
 1377   unsigned int percpu_size ;
 1378   unsigned int num_tracepoints ;
 1379   struct tracepoint * const  *tracepoints_ptrs ;
 1380   unsigned int num_trace_bprintk_fmt ;
 1381   char const   **trace_bprintk_fmt_start ;
 1382   struct ftrace_event_call **trace_events ;
 1383   unsigned int num_trace_events ;
 1384   unsigned int num_ftrace_callsites ;
 1385   unsigned long *ftrace_callsites ;
 1386   struct list_head source_list ;
 1387   struct list_head target_list ;
 1388   struct task_struct *waiter ;
 1389   void (*exit)(void) ;
 1390   struct module_ref *refptr ;
 1391   ctor_fn_t (**ctors)(void) ;
 1392   unsigned int num_ctors ;
 1393};
 1394#line 8 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 1395struct rb_node {
 1396   unsigned long rb_parent_color ;
 1397   struct rb_node *rb_right ;
 1398   struct rb_node *rb_left ;
 1399};
 1400#line 108 "include/linux/rbtree.h"
 1401struct rb_root {
 1402   struct rb_node *rb_node ;
 1403};
 1404#line 176
 1405struct prio_tree_node;
 1406#line 176
 1407struct prio_tree_node;
 1408#line 176
 1409struct prio_tree_node;
 1410#line 176 "include/linux/rbtree.h"
 1411struct raw_prio_tree_node {
 1412   struct prio_tree_node *left ;
 1413   struct prio_tree_node *right ;
 1414   struct prio_tree_node *parent ;
 1415};
 1416#line 19 "include/linux/prio_tree.h"
 1417struct prio_tree_node {
 1418   struct prio_tree_node *left ;
 1419   struct prio_tree_node *right ;
 1420   struct prio_tree_node *parent ;
 1421   unsigned long start ;
 1422   unsigned long last ;
 1423};
 1424#line 27 "include/linux/prio_tree.h"
 1425struct prio_tree_root {
 1426   struct prio_tree_node *prio_tree_node ;
 1427   unsigned short index_bits ;
 1428   unsigned short raw ;
 1429};
 1430#line 115
 1431struct address_space;
 1432#line 115
 1433struct address_space;
 1434#line 115
 1435struct address_space;
 1436#line 115
 1437struct address_space;
 1438#line 116 "include/linux/prio_tree.h"
 1439struct __anonstruct_ldv_13775_131 {
 1440   u16 inuse ;
 1441   u16 objects ;
 1442};
 1443#line 116 "include/linux/prio_tree.h"
 1444union __anonunion_ldv_13776_130 {
 1445   atomic_t _mapcount ;
 1446   struct __anonstruct_ldv_13775_131 ldv_13775 ;
 1447};
 1448#line 116 "include/linux/prio_tree.h"
 1449struct __anonstruct_ldv_13781_133 {
 1450   unsigned long private ;
 1451   struct address_space *mapping ;
 1452};
 1453#line 116 "include/linux/prio_tree.h"
 1454union __anonunion_ldv_13784_132 {
 1455   struct __anonstruct_ldv_13781_133 ldv_13781 ;
 1456   struct kmem_cache *slab ;
 1457   struct page *first_page ;
 1458};
 1459#line 116 "include/linux/prio_tree.h"
 1460union __anonunion_ldv_13788_134 {
 1461   unsigned long index ;
 1462   void *freelist ;
 1463};
 1464#line 116 "include/linux/prio_tree.h"
 1465struct page {
 1466   unsigned long flags ;
 1467   atomic_t _count ;
 1468   union __anonunion_ldv_13776_130 ldv_13776 ;
 1469   union __anonunion_ldv_13784_132 ldv_13784 ;
 1470   union __anonunion_ldv_13788_134 ldv_13788 ;
 1471   struct list_head lru ;
 1472};
 1473#line 124 "include/linux/mm_types.h"
 1474struct __anonstruct_vm_set_136 {
 1475   struct list_head list ;
 1476   void *parent ;
 1477   struct vm_area_struct *head ;
 1478};
 1479#line 124 "include/linux/mm_types.h"
 1480union __anonunion_shared_135 {
 1481   struct __anonstruct_vm_set_136 vm_set ;
 1482   struct raw_prio_tree_node prio_tree_node ;
 1483};
 1484#line 124
 1485struct anon_vma;
 1486#line 124
 1487struct anon_vma;
 1488#line 124
 1489struct anon_vma;
 1490#line 124
 1491struct vm_operations_struct;
 1492#line 124
 1493struct vm_operations_struct;
 1494#line 124
 1495struct vm_operations_struct;
 1496#line 124
 1497struct mempolicy;
 1498#line 124
 1499struct mempolicy;
 1500#line 124
 1501struct mempolicy;
 1502#line 124 "include/linux/mm_types.h"
 1503struct vm_area_struct {
 1504   struct mm_struct *vm_mm ;
 1505   unsigned long vm_start ;
 1506   unsigned long vm_end ;
 1507   struct vm_area_struct *vm_next ;
 1508   struct vm_area_struct *vm_prev ;
 1509   pgprot_t vm_page_prot ;
 1510   unsigned long vm_flags ;
 1511   struct rb_node vm_rb ;
 1512   union __anonunion_shared_135 shared ;
 1513   struct list_head anon_vma_chain ;
 1514   struct anon_vma *anon_vma ;
 1515   struct vm_operations_struct  const  *vm_ops ;
 1516   unsigned long vm_pgoff ;
 1517   struct file *vm_file ;
 1518   void *vm_private_data ;
 1519   struct mempolicy *vm_policy ;
 1520};
 1521#line 187 "include/linux/mm_types.h"
 1522struct core_thread {
 1523   struct task_struct *task ;
 1524   struct core_thread *next ;
 1525};
 1526#line 193 "include/linux/mm_types.h"
 1527struct core_state {
 1528   atomic_t nr_threads ;
 1529   struct core_thread dumper ;
 1530   struct completion startup ;
 1531};
 1532#line 206 "include/linux/mm_types.h"
 1533struct mm_rss_stat {
 1534   atomic_long_t count[3U] ;
 1535};
 1536#line 219
 1537struct linux_binfmt;
 1538#line 219
 1539struct linux_binfmt;
 1540#line 219
 1541struct linux_binfmt;
 1542#line 219
 1543struct mmu_notifier_mm;
 1544#line 219
 1545struct mmu_notifier_mm;
 1546#line 219
 1547struct mmu_notifier_mm;
 1548#line 219 "include/linux/mm_types.h"
 1549struct mm_struct {
 1550   struct vm_area_struct *mmap ;
 1551   struct rb_root mm_rb ;
 1552   struct vm_area_struct *mmap_cache ;
 1553   unsigned long (*get_unmapped_area)(struct file * , unsigned long  , unsigned long  ,
 1554                                      unsigned long  , unsigned long  ) ;
 1555   void (*unmap_area)(struct mm_struct * , unsigned long  ) ;
 1556   unsigned long mmap_base ;
 1557   unsigned long task_size ;
 1558   unsigned long cached_hole_size ;
 1559   unsigned long free_area_cache ;
 1560   pgd_t *pgd ;
 1561   atomic_t mm_users ;
 1562   atomic_t mm_count ;
 1563   int map_count ;
 1564   spinlock_t page_table_lock ;
 1565   struct rw_semaphore mmap_sem ;
 1566   struct list_head mmlist ;
 1567   unsigned long hiwater_rss ;
 1568   unsigned long hiwater_vm ;
 1569   unsigned long total_vm ;
 1570   unsigned long locked_vm ;
 1571   unsigned long shared_vm ;
 1572   unsigned long exec_vm ;
 1573   unsigned long stack_vm ;
 1574   unsigned long reserved_vm ;
 1575   unsigned long def_flags ;
 1576   unsigned long nr_ptes ;
 1577   unsigned long start_code ;
 1578   unsigned long end_code ;
 1579   unsigned long start_data ;
 1580   unsigned long end_data ;
 1581   unsigned long start_brk ;
 1582   unsigned long brk ;
 1583   unsigned long start_stack ;
 1584   unsigned long arg_start ;
 1585   unsigned long arg_end ;
 1586   unsigned long env_start ;
 1587   unsigned long env_end ;
 1588   unsigned long saved_auxv[44U] ;
 1589   struct mm_rss_stat rss_stat ;
 1590   struct linux_binfmt *binfmt ;
 1591   cpumask_var_t cpu_vm_mask_var ;
 1592   mm_context_t context ;
 1593   unsigned int faultstamp ;
 1594   unsigned int token_priority ;
 1595   unsigned int last_interval ;
 1596   atomic_t oom_disable_count ;
 1597   unsigned long flags ;
 1598   struct core_state *core_state ;
 1599   spinlock_t ioctx_lock ;
 1600   struct hlist_head ioctx_list ;
 1601   struct task_struct *owner ;
 1602   struct file *exe_file ;
 1603   unsigned long num_exe_file_vmas ;
 1604   struct mmu_notifier_mm *mmu_notifier_mm ;
 1605   pgtable_t pmd_huge_pte ;
 1606   struct cpumask cpumask_allocation ;
 1607};
 1608#line 92 "include/linux/bit_spinlock.h"
 1609struct file_ra_state;
 1610#line 92
 1611struct file_ra_state;
 1612#line 92
 1613struct file_ra_state;
 1614#line 92
 1615struct file_ra_state;
 1616#line 93
 1617struct user_struct;
 1618#line 93
 1619struct user_struct;
 1620#line 93
 1621struct user_struct;
 1622#line 93
 1623struct user_struct;
 1624#line 94
 1625struct writeback_control;
 1626#line 94
 1627struct writeback_control;
 1628#line 94
 1629struct writeback_control;
 1630#line 94
 1631struct writeback_control;
 1632#line 175 "include/linux/mm.h"
 1633struct vm_fault {
 1634   unsigned int flags ;
 1635   unsigned long pgoff ;
 1636   void *virtual_address ;
 1637   struct page *page ;
 1638};
 1639#line 192 "include/linux/mm.h"
 1640struct vm_operations_struct {
 1641   void (*open)(struct vm_area_struct * ) ;
 1642   void (*close)(struct vm_area_struct * ) ;
 1643   int (*fault)(struct vm_area_struct * , struct vm_fault * ) ;
 1644   int (*page_mkwrite)(struct vm_area_struct * , struct vm_fault * ) ;
 1645   int (*access)(struct vm_area_struct * , unsigned long  , void * , int  , int  ) ;
 1646   int (*set_policy)(struct vm_area_struct * , struct mempolicy * ) ;
 1647   struct mempolicy *(*get_policy)(struct vm_area_struct * , unsigned long  ) ;
 1648   int (*migrate)(struct vm_area_struct * , nodemask_t const   * , nodemask_t const   * ,
 1649                  unsigned long  ) ;
 1650};
 1651#line 241
 1652struct inode;
 1653#line 241
 1654struct inode;
 1655#line 241
 1656struct inode;
 1657#line 241
 1658struct inode;
 1659#line 12 "include/linux/mod_devicetable.h"
 1660typedef unsigned long kernel_ulong_t;
 1661#line 13 "include/linux/mod_devicetable.h"
 1662struct pci_device_id {
 1663   __u32 vendor ;
 1664   __u32 device ;
 1665   __u32 subvendor ;
 1666   __u32 subdevice ;
 1667   __u32 class ;
 1668   __u32 class_mask ;
 1669   kernel_ulong_t driver_data ;
 1670};
 1671#line 215 "include/linux/mod_devicetable.h"
 1672struct of_device_id {
 1673   char name[32U] ;
 1674   char type[32U] ;
 1675   char compatible[128U] ;
 1676   void *data ;
 1677};
 1678#line 535
 1679struct klist_node;
 1680#line 535
 1681struct klist_node;
 1682#line 535
 1683struct klist_node;
 1684#line 535
 1685struct klist_node;
 1686#line 37 "include/linux/klist.h"
 1687struct klist_node {
 1688   void *n_klist ;
 1689   struct list_head n_node ;
 1690   struct kref n_ref ;
 1691};
 1692#line 67
 1693struct dma_map_ops;
 1694#line 67
 1695struct dma_map_ops;
 1696#line 67
 1697struct dma_map_ops;
 1698#line 67 "include/linux/klist.h"
 1699struct dev_archdata {
 1700   void *acpi_handle ;
 1701   struct dma_map_ops *dma_ops ;
 1702   void *iommu ;
 1703};
 1704#line 17 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
 1705struct device_private;
 1706#line 17
 1707struct device_private;
 1708#line 17
 1709struct device_private;
 1710#line 17
 1711struct device_private;
 1712#line 18
 1713struct device_driver;
 1714#line 18
 1715struct device_driver;
 1716#line 18
 1717struct device_driver;
 1718#line 18
 1719struct device_driver;
 1720#line 19
 1721struct driver_private;
 1722#line 19
 1723struct driver_private;
 1724#line 19
 1725struct driver_private;
 1726#line 19
 1727struct driver_private;
 1728#line 20
 1729struct class;
 1730#line 20
 1731struct class;
 1732#line 20
 1733struct class;
 1734#line 20
 1735struct class;
 1736#line 21
 1737struct subsys_private;
 1738#line 21
 1739struct subsys_private;
 1740#line 21
 1741struct subsys_private;
 1742#line 21
 1743struct subsys_private;
 1744#line 22
 1745struct bus_type;
 1746#line 22
 1747struct bus_type;
 1748#line 22
 1749struct bus_type;
 1750#line 22
 1751struct bus_type;
 1752#line 23
 1753struct device_node;
 1754#line 23
 1755struct device_node;
 1756#line 23
 1757struct device_node;
 1758#line 23
 1759struct device_node;
 1760#line 24 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
 1761struct bus_attribute {
 1762   struct attribute attr ;
 1763   ssize_t (*show)(struct bus_type * , char * ) ;
 1764   ssize_t (*store)(struct bus_type * , char const   * , size_t  ) ;
 1765};
 1766#line 49 "include/linux/device.h"
 1767struct device_attribute;
 1768#line 49
 1769struct device_attribute;
 1770#line 49
 1771struct device_attribute;
 1772#line 49
 1773struct driver_attribute;
 1774#line 49
 1775struct driver_attribute;
 1776#line 49
 1777struct driver_attribute;
 1778#line 49 "include/linux/device.h"
 1779struct bus_type {
 1780   char const   *name ;
 1781   struct bus_attribute *bus_attrs ;
 1782   struct device_attribute *dev_attrs ;
 1783   struct driver_attribute *drv_attrs ;
 1784   int (*match)(struct device * , struct device_driver * ) ;
 1785   int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
 1786   int (*probe)(struct device * ) ;
 1787   int (*remove)(struct device * ) ;
 1788   void (*shutdown)(struct device * ) ;
 1789   int (*suspend)(struct device * , pm_message_t  ) ;
 1790   int (*resume)(struct device * ) ;
 1791   struct dev_pm_ops  const  *pm ;
 1792   struct subsys_private *p ;
 1793};
 1794#line 153 "include/linux/device.h"
 1795struct device_driver {
 1796   char const   *name ;
 1797   struct bus_type *bus ;
 1798   struct module *owner ;
 1799   char const   *mod_name ;
 1800   bool suppress_bind_attrs ;
 1801   struct of_device_id  const  *of_match_table ;
 1802   int (*probe)(struct device * ) ;
 1803   int (*remove)(struct device * ) ;
 1804   void (*shutdown)(struct device * ) ;
 1805   int (*suspend)(struct device * , pm_message_t  ) ;
 1806   int (*resume)(struct device * ) ;
 1807   struct attribute_group  const  **groups ;
 1808   struct dev_pm_ops  const  *pm ;
 1809   struct driver_private *p ;
 1810};
 1811#line 218 "include/linux/device.h"
 1812struct driver_attribute {
 1813   struct attribute attr ;
 1814   ssize_t (*show)(struct device_driver * , char * ) ;
 1815   ssize_t (*store)(struct device_driver * , char const   * , size_t  ) ;
 1816};
 1817#line 248
 1818struct class_attribute;
 1819#line 248
 1820struct class_attribute;
 1821#line 248
 1822struct class_attribute;
 1823#line 248 "include/linux/device.h"
 1824struct class {
 1825   char const   *name ;
 1826   struct module *owner ;
 1827   struct class_attribute *class_attrs ;
 1828   struct device_attribute *dev_attrs ;
 1829   struct bin_attribute *dev_bin_attrs ;
 1830   struct kobject *dev_kobj ;
 1831   int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ;
 1832   char *(*devnode)(struct device * , mode_t * ) ;
 1833   void (*class_release)(struct class * ) ;
 1834   void (*dev_release)(struct device * ) ;
 1835   int (*suspend)(struct device * , pm_message_t  ) ;
 1836   int (*resume)(struct device * ) ;
 1837   struct kobj_ns_type_operations  const  *ns_type ;
 1838   void const   *(*namespace)(struct device * ) ;
 1839   struct dev_pm_ops  const  *pm ;
 1840   struct subsys_private *p ;
 1841};
 1842#line 305
 1843struct device_type;
 1844#line 305
 1845struct device_type;
 1846#line 305
 1847struct device_type;
 1848#line 344 "include/linux/device.h"
 1849struct class_attribute {
 1850   struct attribute attr ;
 1851   ssize_t (*show)(struct class * , struct class_attribute * , char * ) ;
 1852   ssize_t (*store)(struct class * , struct class_attribute * , char const   * , size_t  ) ;
 1853};
 1854#line 395 "include/linux/device.h"
 1855struct device_type {
 1856   char const   *name ;
 1857   struct attribute_group  const  **groups ;
 1858   int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
 1859   char *(*devnode)(struct device * , mode_t * ) ;
 1860   void (*release)(struct device * ) ;
 1861   struct dev_pm_ops  const  *pm ;
 1862};
 1863#line 422 "include/linux/device.h"
 1864struct device_attribute {
 1865   struct attribute attr ;
 1866   ssize_t (*show)(struct device * , struct device_attribute * , char * ) ;
 1867   ssize_t (*store)(struct device * , struct device_attribute * , char const   * ,
 1868                    size_t  ) ;
 1869};
 1870#line 483 "include/linux/device.h"
 1871struct device_dma_parameters {
 1872   unsigned int max_segment_size ;
 1873   unsigned long segment_boundary_mask ;
 1874};
 1875#line 492
 1876struct dma_coherent_mem;
 1877#line 492
 1878struct dma_coherent_mem;
 1879#line 492
 1880struct dma_coherent_mem;
 1881#line 492 "include/linux/device.h"
 1882struct device {
 1883   struct device *parent ;
 1884   struct device_private *p ;
 1885   struct kobject kobj ;
 1886   char const   *init_name ;
 1887   struct device_type  const  *type ;
 1888   struct mutex mutex ;
 1889   struct bus_type *bus ;
 1890   struct device_driver *driver ;
 1891   void *platform_data ;
 1892   struct dev_pm_info power ;
 1893   struct dev_power_domain *pwr_domain ;
 1894   int numa_node ;
 1895   u64 *dma_mask ;
 1896   u64 coherent_dma_mask ;
 1897   struct device_dma_parameters *dma_parms ;
 1898   struct list_head dma_pools ;
 1899   struct dma_coherent_mem *dma_mem ;
 1900   struct dev_archdata archdata ;
 1901   struct device_node *of_node ;
 1902   dev_t devt ;
 1903   spinlock_t devres_lock ;
 1904   struct list_head devres_head ;
 1905   struct klist_node knode_class ;
 1906   struct class *class ;
 1907   struct attribute_group  const  **groups ;
 1908   void (*release)(struct device * ) ;
 1909};
 1910#line 604 "include/linux/device.h"
 1911struct wakeup_source {
 1912   char *name ;
 1913   struct list_head entry ;
 1914   spinlock_t lock ;
 1915   struct timer_list timer ;
 1916   unsigned long timer_expires ;
 1917   ktime_t total_time ;
 1918   ktime_t max_time ;
 1919   ktime_t last_time ;
 1920   unsigned long event_count ;
 1921   unsigned long active_count ;
 1922   unsigned long relax_count ;
 1923   unsigned long hit_count ;
 1924   unsigned char active : 1 ;
 1925};
 1926#line 69 "include/linux/io.h"
 1927enum irqreturn {
 1928    IRQ_NONE = 0,
 1929    IRQ_HANDLED = 1,
 1930    IRQ_WAKE_THREAD = 2
 1931} ;
 1932#line 16 "include/linux/irqreturn.h"
 1933typedef enum irqreturn irqreturn_t;
 1934#line 17
 1935struct hotplug_slot;
 1936#line 17
 1937struct hotplug_slot;
 1938#line 17
 1939struct hotplug_slot;
 1940#line 17 "include/linux/irqreturn.h"
 1941struct pci_slot {
 1942   struct pci_bus *bus ;
 1943   struct list_head list ;
 1944   struct hotplug_slot *hotplug ;
 1945   unsigned char number ;
 1946   struct kobject kobj ;
 1947};
 1948#line 117 "include/linux/pci.h"
 1949typedef int pci_power_t;
 1950#line 143 "include/linux/pci.h"
 1951typedef unsigned int pci_channel_state_t;
 1952#line 144
 1953enum pci_channel_state {
 1954    pci_channel_io_normal = 1,
 1955    pci_channel_io_frozen = 2,
 1956    pci_channel_io_perm_failure = 3
 1957} ;
 1958#line 169 "include/linux/pci.h"
 1959typedef unsigned short pci_dev_flags_t;
 1960#line 184 "include/linux/pci.h"
 1961typedef unsigned short pci_bus_flags_t;
 1962#line 227
 1963struct pcie_link_state;
 1964#line 227
 1965struct pcie_link_state;
 1966#line 227
 1967struct pcie_link_state;
 1968#line 227
 1969struct pcie_link_state;
 1970#line 228
 1971struct pci_vpd;
 1972#line 228
 1973struct pci_vpd;
 1974#line 228
 1975struct pci_vpd;
 1976#line 228
 1977struct pci_vpd;
 1978#line 229
 1979struct pci_sriov;
 1980#line 229
 1981struct pci_sriov;
 1982#line 229
 1983struct pci_sriov;
 1984#line 229
 1985struct pci_sriov;
 1986#line 230
 1987struct pci_ats;
 1988#line 230
 1989struct pci_ats;
 1990#line 230
 1991struct pci_ats;
 1992#line 230
 1993struct pci_ats;
 1994#line 231
 1995struct proc_dir_entry;
 1996#line 231
 1997struct proc_dir_entry;
 1998#line 231
 1999struct proc_dir_entry;
 2000#line 231
 2001struct pci_driver;
 2002#line 231
 2003struct pci_driver;
 2004#line 231
 2005struct pci_driver;
 2006#line 231 "include/linux/pci.h"
 2007union __anonunion_ldv_17378_138 {
 2008   struct pci_sriov *sriov ;
 2009   struct pci_dev *physfn ;
 2010};
 2011#line 231 "include/linux/pci.h"
 2012struct pci_dev {
 2013   struct list_head bus_list ;
 2014   struct pci_bus *bus ;
 2015   struct pci_bus *subordinate ;
 2016   void *sysdata ;
 2017   struct proc_dir_entry *procent ;
 2018   struct pci_slot *slot ;
 2019   unsigned int devfn ;
 2020   unsigned short vendor ;
 2021   unsigned short device ;
 2022   unsigned short subsystem_vendor ;
 2023   unsigned short subsystem_device ;
 2024   unsigned int class ;
 2025   u8 revision ;
 2026   u8 hdr_type ;
 2027   u8 pcie_cap ;
 2028   u8 pcie_type ;
 2029   u8 rom_base_reg ;
 2030   u8 pin ;
 2031   struct pci_driver *driver ;
 2032   u64 dma_mask ;
 2033   struct device_dma_parameters dma_parms ;
 2034   pci_power_t current_state ;
 2035   int pm_cap ;
 2036   unsigned char pme_support : 5 ;
 2037   unsigned char pme_interrupt : 1 ;
 2038   unsigned char d1_support : 1 ;
 2039   unsigned char d2_support : 1 ;
 2040   unsigned char no_d1d2 : 1 ;
 2041   unsigned char mmio_always_on : 1 ;
 2042   unsigned char wakeup_prepared : 1 ;
 2043   unsigned int d3_delay ;
 2044   struct pcie_link_state *link_state ;
 2045   pci_channel_state_t error_state ;
 2046   struct device dev ;
 2047   int cfg_size ;
 2048   unsigned int irq ;
 2049   struct resource resource[18U] ;
 2050   resource_size_t fw_addr[18U] ;
 2051   unsigned char transparent : 1 ;
 2052   unsigned char multifunction : 1 ;
 2053   unsigned char is_added : 1 ;
 2054   unsigned char is_busmaster : 1 ;
 2055   unsigned char no_msi : 1 ;
 2056   unsigned char block_ucfg_access : 1 ;
 2057   unsigned char broken_parity_status : 1 ;
 2058   unsigned char irq_reroute_variant : 2 ;
 2059   unsigned char msi_enabled : 1 ;
 2060   unsigned char msix_enabled : 1 ;
 2061   unsigned char ari_enabled : 1 ;
 2062   unsigned char is_managed : 1 ;
 2063   unsigned char is_pcie : 1 ;
 2064   unsigned char needs_freset : 1 ;
 2065   unsigned char state_saved : 1 ;
 2066   unsigned char is_physfn : 1 ;
 2067   unsigned char is_virtfn : 1 ;
 2068   unsigned char reset_fn : 1 ;
 2069   unsigned char is_hotplug_bridge : 1 ;
 2070   unsigned char __aer_firmware_first_valid : 1 ;
 2071   unsigned char __aer_firmware_first : 1 ;
 2072   pci_dev_flags_t dev_flags ;
 2073   atomic_t enable_cnt ;
 2074   u32 saved_config_space[16U] ;
 2075   struct hlist_head saved_cap_space ;
 2076   struct bin_attribute *rom_attr ;
 2077   int rom_attr_enabled ;
 2078   struct bin_attribute *res_attr[18U] ;
 2079   struct bin_attribute *res_attr_wc[18U] ;
 2080   struct list_head msi_list ;
 2081   struct pci_vpd *vpd ;
 2082   union __anonunion_ldv_17378_138 ldv_17378 ;
 2083   struct pci_ats *ats ;
 2084};
 2085#line 406
 2086struct pci_ops;
 2087#line 406
 2088struct pci_ops;
 2089#line 406
 2090struct pci_ops;
 2091#line 406 "include/linux/pci.h"
 2092struct pci_bus {
 2093   struct list_head node ;
 2094   struct pci_bus *parent ;
 2095   struct list_head children ;
 2096   struct list_head devices ;
 2097   struct pci_dev *self ;
 2098   struct list_head slots ;
 2099   struct resource *resource[4U] ;
 2100   struct list_head resources ;
 2101   struct pci_ops *ops ;
 2102   void *sysdata ;
 2103   struct proc_dir_entry *procdir ;
 2104   unsigned char number ;
 2105   unsigned char primary ;
 2106   unsigned char secondary ;
 2107   unsigned char subordinate ;
 2108   unsigned char max_bus_speed ;
 2109   unsigned char cur_bus_speed ;
 2110   char name[48U] ;
 2111   unsigned short bridge_ctl ;
 2112   pci_bus_flags_t bus_flags ;
 2113   struct device *bridge ;
 2114   struct device dev ;
 2115   struct bin_attribute *legacy_io ;
 2116   struct bin_attribute *legacy_mem ;
 2117   unsigned char is_added : 1 ;
 2118};
 2119#line 458 "include/linux/pci.h"
 2120struct pci_ops {
 2121   int (*read)(struct pci_bus * , unsigned int  , int  , int  , u32 * ) ;
 2122   int (*write)(struct pci_bus * , unsigned int  , int  , int  , u32  ) ;
 2123};
 2124#line 493 "include/linux/pci.h"
 2125struct pci_dynids {
 2126   spinlock_t lock ;
 2127   struct list_head list ;
 2128};
 2129#line 506 "include/linux/pci.h"
 2130typedef unsigned int pci_ers_result_t;
 2131#line 515 "include/linux/pci.h"
 2132struct pci_error_handlers {
 2133   pci_ers_result_t (*error_detected)(struct pci_dev * , enum pci_channel_state  ) ;
 2134   pci_ers_result_t (*mmio_enabled)(struct pci_dev * ) ;
 2135   pci_ers_result_t (*link_reset)(struct pci_dev * ) ;
 2136   pci_ers_result_t (*slot_reset)(struct pci_dev * ) ;
 2137   void (*resume)(struct pci_dev * ) ;
 2138};
 2139#line 543 "include/linux/pci.h"
 2140struct pci_driver {
 2141   struct list_head node ;
 2142   char const   *name ;
 2143   struct pci_device_id  const  *id_table ;
 2144   int (*probe)(struct pci_dev * , struct pci_device_id  const  * ) ;
 2145   void (*remove)(struct pci_dev * ) ;
 2146   int (*suspend)(struct pci_dev * , pm_message_t  ) ;
 2147   int (*suspend_late)(struct pci_dev * , pm_message_t  ) ;
 2148   int (*resume_early)(struct pci_dev * ) ;
 2149   int (*resume)(struct pci_dev * ) ;
 2150   void (*shutdown)(struct pci_dev * ) ;
 2151   struct pci_error_handlers *err_handler ;
 2152   struct device_driver driver ;
 2153   struct pci_dynids dynids ;
 2154};
 2155#line 948 "include/linux/pci.h"
 2156struct scatterlist {
 2157   unsigned long sg_magic ;
 2158   unsigned long page_link ;
 2159   unsigned int offset ;
 2160   unsigned int length ;
 2161   dma_addr_t dma_address ;
 2162   unsigned int dma_length ;
 2163};
 2164#line 118 "include/linux/kmemleak.h"
 2165struct kmem_cache_cpu {
 2166   void **freelist ;
 2167   unsigned long tid ;
 2168   struct page *page ;
 2169   int node ;
 2170   unsigned int stat[19U] ;
 2171};
 2172#line 46 "include/linux/slub_def.h"
 2173struct kmem_cache_node {
 2174   spinlock_t list_lock ;
 2175   unsigned long nr_partial ;
 2176   struct list_head partial ;
 2177   atomic_long_t nr_slabs ;
 2178   atomic_long_t total_objects ;
 2179   struct list_head full ;
 2180};
 2181#line 57 "include/linux/slub_def.h"
 2182struct kmem_cache_order_objects {
 2183   unsigned long x ;
 2184};
 2185#line 67 "include/linux/slub_def.h"
 2186struct kmem_cache {
 2187   struct kmem_cache_cpu *cpu_slab ;
 2188   unsigned long flags ;
 2189   unsigned long min_partial ;
 2190   int size ;
 2191   int objsize ;
 2192   int offset ;
 2193   struct kmem_cache_order_objects oo ;
 2194   struct kmem_cache_order_objects max ;
 2195   struct kmem_cache_order_objects min ;
 2196   gfp_t allocflags ;
 2197   int refcount ;
 2198   void (*ctor)(void * ) ;
 2199   int inuse ;
 2200   int align ;
 2201   int reserved ;
 2202   char const   *name ;
 2203   struct list_head list ;
 2204   struct kobject kobj ;
 2205   int remote_node_defrag_ratio ;
 2206   struct kmem_cache_node *node[1024U] ;
 2207};
 2208#line 34 "include/linux/bug.h"
 2209struct dma_attrs {
 2210   unsigned long flags[1U] ;
 2211};
 2212#line 266 "include/linux/scatterlist.h"
 2213enum dma_data_direction {
 2214    DMA_BIDIRECTIONAL = 0,
 2215    DMA_TO_DEVICE = 1,
 2216    DMA_FROM_DEVICE = 2,
 2217    DMA_NONE = 3
 2218} ;
 2219#line 273 "include/linux/scatterlist.h"
 2220struct dma_map_ops {
 2221   void *(*alloc_coherent)(struct device * , size_t  , dma_addr_t * , gfp_t  ) ;
 2222   void (*free_coherent)(struct device * , size_t  , void * , dma_addr_t  ) ;
 2223   dma_addr_t (*map_page)(struct device * , struct page * , unsigned long  , size_t  ,
 2224                          enum dma_data_direction  , struct dma_attrs * ) ;
 2225   void (*unmap_page)(struct device * , dma_addr_t  , size_t  , enum dma_data_direction  ,
 2226                      struct dma_attrs * ) ;
 2227   int (*map_sg)(struct device * , struct scatterlist * , int  , enum dma_data_direction  ,
 2228                 struct dma_attrs * ) ;
 2229   void (*unmap_sg)(struct device * , struct scatterlist * , int  , enum dma_data_direction  ,
 2230                    struct dma_attrs * ) ;
 2231   void (*sync_single_for_cpu)(struct device * , dma_addr_t  , size_t  , enum dma_data_direction  ) ;
 2232   void (*sync_single_for_device)(struct device * , dma_addr_t  , size_t  , enum dma_data_direction  ) ;
 2233   void (*sync_sg_for_cpu)(struct device * , struct scatterlist * , int  , enum dma_data_direction  ) ;
 2234   void (*sync_sg_for_device)(struct device * , struct scatterlist * , int  , enum dma_data_direction  ) ;
 2235   int (*mapping_error)(struct device * , dma_addr_t  ) ;
 2236   int (*dma_supported)(struct device * , u64  ) ;
 2237   int (*set_dma_mask)(struct device * , u64  ) ;
 2238   int is_phys ;
 2239};
 2240#line 29 "include/linux/atmapi.h"
 2241struct __anonstruct_itu_141 {
 2242   unsigned char mode ;
 2243   unsigned char window ;
 2244};
 2245#line 29 "include/linux/atmapi.h"
 2246union __anonunion_l2_140 {
 2247   struct __anonstruct_itu_141 itu ;
 2248   unsigned char user ;
 2249};
 2250#line 29 "include/linux/atmapi.h"
 2251struct __anonstruct_itu_143 {
 2252   unsigned char mode ;
 2253   unsigned char def_size ;
 2254   unsigned char window ;
 2255};
 2256#line 29 "include/linux/atmapi.h"
 2257struct __anonstruct_h310_144 {
 2258   unsigned char term_type ;
 2259   unsigned char fw_mpx_cap ;
 2260   unsigned char bw_mpx_cap ;
 2261};
 2262#line 29 "include/linux/atmapi.h"
 2263struct __anonstruct_tr9577_145 {
 2264   unsigned char ipi ;
 2265   unsigned char snap[5U] ;
 2266};
 2267#line 29 "include/linux/atmapi.h"
 2268union __anonunion_l3_142 {
 2269   struct __anonstruct_itu_143 itu ;
 2270   unsigned char user ;
 2271   struct __anonstruct_h310_144 h310 ;
 2272   struct __anonstruct_tr9577_145 tr9577 ;
 2273};
 2274#line 29 "include/linux/atmapi.h"
 2275struct atm_blli {
 2276   unsigned char l2_proto ;
 2277   union __anonunion_l2_140 l2 ;
 2278   unsigned char l3_proto ;
 2279   union __anonunion_l3_142 l3 ;
 2280};
 2281#line 136 "include/linux/atmsap.h"
 2282struct atm_bhli {
 2283   unsigned char hl_type ;
 2284   unsigned char hl_length ;
 2285   unsigned char hl_info[8U] ;
 2286};
 2287#line 145 "include/linux/atmsap.h"
 2288struct atm_sap {
 2289   struct atm_bhli bhli ;
 2290   struct atm_blli blli[3U] ;
 2291};
 2292#line 161 "include/linux/atmsap.h"
 2293struct atm_trafprm {
 2294   unsigned char traffic_class ;
 2295   int max_pcr ;
 2296   int pcr ;
 2297   int min_pcr ;
 2298   int max_cdv ;
 2299   int max_sdu ;
 2300   unsigned int icr ;
 2301   unsigned int tbe ;
 2302   unsigned int frtt : 24 ;
 2303   unsigned char rif : 4 ;
 2304   unsigned char rdf : 4 ;
 2305   unsigned char nrm_pres : 1 ;
 2306   unsigned char trm_pres : 1 ;
 2307   unsigned char adtf_pres : 1 ;
 2308   unsigned char cdf_pres : 1 ;
 2309   unsigned char nrm : 3 ;
 2310   unsigned char trm : 3 ;
 2311   unsigned short adtf : 10 ;
 2312   unsigned char cdf : 3 ;
 2313   unsigned short spare : 9 ;
 2314};
 2315#line 158 "include/linux/atm.h"
 2316struct atm_qos {
 2317   struct atm_trafprm txtp ;
 2318   struct atm_trafprm rxtp ;
 2319   unsigned char aal ;
 2320};
 2321#line 183 "include/linux/atm.h"
 2322struct __anonstruct_sas_addr_147 {
 2323   unsigned char prv[20U] ;
 2324   char pub[13U] ;
 2325   char lij_type ;
 2326   __u32 lij_id ;
 2327};
 2328#line 183 "include/linux/atm.h"
 2329struct sockaddr_atmsvc {
 2330   unsigned short sas_family ;
 2331   struct __anonstruct_sas_addr_147 sas_addr ;
 2332};
 2333#line 118 "include/linux/sem.h"
 2334struct sem_undo_list;
 2335#line 118
 2336struct sem_undo_list;
 2337#line 118
 2338struct sem_undo_list;
 2339#line 131 "include/linux/sem.h"
 2340struct sem_undo_list {
 2341   atomic_t refcnt ;
 2342   spinlock_t lock ;
 2343   struct list_head list_proc ;
 2344};
 2345#line 140 "include/linux/sem.h"
 2346struct sysv_sem {
 2347   struct sem_undo_list *undo_list ;
 2348};
 2349#line 16 "include/linux/socket.h"
 2350struct iovec {
 2351   void *iov_base ;
 2352   __kernel_size_t iov_len ;
 2353};
 2354#line 38 "include/linux/socket.h"
 2355typedef unsigned short sa_family_t;
 2356#line 39 "include/linux/socket.h"
 2357struct sockaddr {
 2358   sa_family_t sa_family ;
 2359   char sa_data[14U] ;
 2360};
 2361#line 53 "include/linux/socket.h"
 2362struct msghdr {
 2363   void *msg_name ;
 2364   int msg_namelen ;
 2365   struct iovec *msg_iov ;
 2366   __kernel_size_t msg_iovlen ;
 2367   void *msg_control ;
 2368   __kernel_size_t msg_controllen ;
 2369   unsigned int msg_flags ;
 2370};
 2371#line 41 "include/linux/hdlc/ioctl.h"
 2372struct __anonstruct_sync_serial_settings_148 {
 2373   unsigned int clock_rate ;
 2374   unsigned int clock_type ;
 2375   unsigned short loopback ;
 2376};
 2377#line 41 "include/linux/hdlc/ioctl.h"
 2378typedef struct __anonstruct_sync_serial_settings_148 sync_serial_settings;
 2379#line 48 "include/linux/hdlc/ioctl.h"
 2380struct __anonstruct_te1_settings_149 {
 2381   unsigned int clock_rate ;
 2382   unsigned int clock_type ;
 2383   unsigned short loopback ;
 2384   unsigned int slot_map ;
 2385};
 2386#line 48 "include/linux/hdlc/ioctl.h"
 2387typedef struct __anonstruct_te1_settings_149 te1_settings;
 2388#line 53 "include/linux/hdlc/ioctl.h"
 2389struct __anonstruct_raw_hdlc_proto_150 {
 2390   unsigned short encoding ;
 2391   unsigned short parity ;
 2392};
 2393#line 53 "include/linux/hdlc/ioctl.h"
 2394typedef struct __anonstruct_raw_hdlc_proto_150 raw_hdlc_proto;
 2395#line 63 "include/linux/hdlc/ioctl.h"
 2396struct __anonstruct_fr_proto_151 {
 2397   unsigned int t391 ;
 2398   unsigned int t392 ;
 2399   unsigned int n391 ;
 2400   unsigned int n392 ;
 2401   unsigned int n393 ;
 2402   unsigned short lmi ;
 2403   unsigned short dce ;
 2404};
 2405#line 63 "include/linux/hdlc/ioctl.h"
 2406typedef struct __anonstruct_fr_proto_151 fr_proto;
 2407#line 67 "include/linux/hdlc/ioctl.h"
 2408struct __anonstruct_fr_proto_pvc_152 {
 2409   unsigned int dlci ;
 2410};
 2411#line 67 "include/linux/hdlc/ioctl.h"
 2412typedef struct __anonstruct_fr_proto_pvc_152 fr_proto_pvc;
 2413#line 72 "include/linux/hdlc/ioctl.h"
 2414struct __anonstruct_fr_proto_pvc_info_153 {
 2415   unsigned int dlci ;
 2416   char master[16U] ;
 2417};
 2418#line 72 "include/linux/hdlc/ioctl.h"
 2419typedef struct __anonstruct_fr_proto_pvc_info_153 fr_proto_pvc_info;
 2420#line 77 "include/linux/hdlc/ioctl.h"
 2421struct __anonstruct_cisco_proto_154 {
 2422   unsigned int interval ;
 2423   unsigned int timeout ;
 2424};
 2425#line 77 "include/linux/hdlc/ioctl.h"
 2426typedef struct __anonstruct_cisco_proto_154 cisco_proto;
 2427#line 93 "include/linux/hdlc/ioctl.h"
 2428struct ifmap {
 2429   unsigned long mem_start ;
 2430   unsigned long mem_end ;
 2431   unsigned short base_addr ;
 2432   unsigned char irq ;
 2433   unsigned char dma ;
 2434   unsigned char port ;
 2435};
 2436#line 142 "include/linux/if.h"
 2437union __anonunion_ifs_ifsu_155 {
 2438   raw_hdlc_proto *raw_hdlc ;
 2439   cisco_proto *cisco ;
 2440   fr_proto *fr ;
 2441   fr_proto_pvc *fr_pvc ;
 2442   fr_proto_pvc_info *fr_pvc_info ;
 2443   sync_serial_settings *sync ;
 2444   te1_settings *te1 ;
 2445};
 2446#line 142 "include/linux/if.h"
 2447struct if_settings {
 2448   unsigned int type ;
 2449   unsigned int size ;
 2450   union __anonunion_ifs_ifsu_155 ifs_ifsu ;
 2451};
 2452#line 160 "include/linux/if.h"
 2453union __anonunion_ifr_ifrn_156 {
 2454   char ifrn_name[16U] ;
 2455};
 2456#line 160 "include/linux/if.h"
 2457union __anonunion_ifr_ifru_157 {
 2458   struct sockaddr ifru_addr ;
 2459   struct sockaddr ifru_dstaddr ;
 2460   struct sockaddr ifru_broadaddr ;
 2461   struct sockaddr ifru_netmask ;
 2462   struct sockaddr ifru_hwaddr ;
 2463   short ifru_flags ;
 2464   int ifru_ivalue ;
 2465   int ifru_mtu ;
 2466   struct ifmap ifru_map ;
 2467   char ifru_slave[16U] ;
 2468   char ifru_newname[16U] ;
 2469   void *ifru_data ;
 2470   struct if_settings ifru_settings ;
 2471};
 2472#line 160 "include/linux/if.h"
 2473struct ifreq {
 2474   union __anonunion_ifr_ifrn_156 ifr_ifrn ;
 2475   union __anonunion_ifr_ifru_157 ifr_ifru ;
 2476};
 2477#line 227
 2478struct block_device;
 2479#line 227
 2480struct block_device;
 2481#line 227
 2482struct block_device;
 2483#line 227
 2484struct block_device;
 2485#line 427 "include/linux/rculist.h"
 2486struct hlist_bl_node;
 2487#line 427
 2488struct hlist_bl_node;
 2489#line 427
 2490struct hlist_bl_node;
 2491#line 427 "include/linux/rculist.h"
 2492struct hlist_bl_head {
 2493   struct hlist_bl_node *first ;
 2494};
 2495#line 36 "include/linux/list_bl.h"
 2496struct hlist_bl_node {
 2497   struct hlist_bl_node *next ;
 2498   struct hlist_bl_node **pprev ;
 2499};
 2500#line 114 "include/linux/rculist_bl.h"
 2501struct nameidata;
 2502#line 114
 2503struct nameidata;
 2504#line 114
 2505struct nameidata;
 2506#line 114
 2507struct nameidata;
 2508#line 115
 2509struct path;
 2510#line 115
 2511struct path;
 2512#line 115
 2513struct path;
 2514#line 115
 2515struct path;
 2516#line 116
 2517struct vfsmount;
 2518#line 116
 2519struct vfsmount;
 2520#line 116
 2521struct vfsmount;
 2522#line 116
 2523struct vfsmount;
 2524#line 117 "include/linux/rculist_bl.h"
 2525struct qstr {
 2526   unsigned int hash ;
 2527   unsigned int len ;
 2528   unsigned char const   *name ;
 2529};
 2530#line 100 "include/linux/dcache.h"
 2531struct dentry_operations;
 2532#line 100
 2533struct dentry_operations;
 2534#line 100
 2535struct dentry_operations;
 2536#line 100
 2537struct super_block;
 2538#line 100
 2539struct super_block;
 2540#line 100
 2541struct super_block;
 2542#line 100 "include/linux/dcache.h"
 2543union __anonunion_d_u_159 {
 2544   struct list_head d_child ;
 2545   struct rcu_head d_rcu ;
 2546};
 2547#line 100 "include/linux/dcache.h"
 2548struct dentry {
 2549   unsigned int d_flags ;
 2550   seqcount_t d_seq ;
 2551   struct hlist_bl_node d_hash ;
 2552   struct dentry *d_parent ;
 2553   struct qstr d_name ;
 2554   struct inode *d_inode ;
 2555   unsigned char d_iname[32U] ;
 2556   unsigned int d_count ;
 2557   spinlock_t d_lock ;
 2558   struct dentry_operations  const  *d_op ;
 2559   struct super_block *d_sb ;
 2560   unsigned long d_time ;
 2561   void *d_fsdata ;
 2562   struct list_head d_lru ;
 2563   union __anonunion_d_u_159 d_u ;
 2564   struct list_head d_subdirs ;
 2565   struct list_head d_alias ;
 2566};
 2567#line 151 "include/linux/dcache.h"
 2568struct dentry_operations {
 2569   int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
 2570   int (*d_hash)(struct dentry  const  * , struct inode  const  * , struct qstr * ) ;
 2571   int (*d_compare)(struct dentry  const  * , struct inode  const  * , struct dentry  const  * ,
 2572                    struct inode  const  * , unsigned int  , char const   * , struct qstr  const  * ) ;
 2573   int (*d_delete)(struct dentry  const  * ) ;
 2574   void (*d_release)(struct dentry * ) ;
 2575   void (*d_iput)(struct dentry * , struct inode * ) ;
 2576   char *(*d_dname)(struct dentry * , char * , int  ) ;
 2577   struct vfsmount *(*d_automount)(struct path * ) ;
 2578   int (*d_manage)(struct dentry * , bool  ) ;
 2579};
 2580#line 422 "include/linux/dcache.h"
 2581struct path {
 2582   struct vfsmount *mnt ;
 2583   struct dentry *dentry ;
 2584};
 2585#line 51 "include/linux/radix-tree.h"
 2586struct radix_tree_node;
 2587#line 51
 2588struct radix_tree_node;
 2589#line 51
 2590struct radix_tree_node;
 2591#line 51 "include/linux/radix-tree.h"
 2592struct radix_tree_root {
 2593   unsigned int height ;
 2594   gfp_t gfp_mask ;
 2595   struct radix_tree_node *rnode ;
 2596};
 2597#line 229
 2598enum pid_type {
 2599    PIDTYPE_PID = 0,
 2600    PIDTYPE_PGID = 1,
 2601    PIDTYPE_SID = 2,
 2602    PIDTYPE_MAX = 3
 2603} ;
 2604#line 236
 2605struct pid_namespace;
 2606#line 236
 2607struct pid_namespace;
 2608#line 236
 2609struct pid_namespace;
 2610#line 236 "include/linux/radix-tree.h"
 2611struct upid {
 2612   int nr ;
 2613   struct pid_namespace *ns ;
 2614   struct hlist_node pid_chain ;
 2615};
 2616#line 56 "include/linux/pid.h"
 2617struct pid {
 2618   atomic_t count ;
 2619   unsigned int level ;
 2620   struct hlist_head tasks[3U] ;
 2621   struct rcu_head rcu ;
 2622   struct upid numbers[1U] ;
 2623};
 2624#line 68 "include/linux/pid.h"
 2625struct pid_link {
 2626   struct hlist_node node ;
 2627   struct pid *pid ;
 2628};
 2629#line 93 "include/linux/capability.h"
 2630struct kernel_cap_struct {
 2631   __u32 cap[2U] ;
 2632};
 2633#line 96 "include/linux/capability.h"
 2634typedef struct kernel_cap_struct kernel_cap_t;
 2635#line 104
 2636struct user_namespace;
 2637#line 104
 2638struct user_namespace;
 2639#line 104
 2640struct user_namespace;
 2641#line 104
 2642struct user_namespace;
 2643#line 45 "include/linux/semaphore.h"
 2644struct fiemap_extent {
 2645   __u64 fe_logical ;
 2646   __u64 fe_physical ;
 2647   __u64 fe_length ;
 2648   __u64 fe_reserved64[2U] ;
 2649   __u32 fe_flags ;
 2650   __u32 fe_reserved[3U] ;
 2651};
 2652#line 38 "include/linux/fiemap.h"
 2653struct export_operations;
 2654#line 38
 2655struct export_operations;
 2656#line 38
 2657struct export_operations;
 2658#line 38
 2659struct export_operations;
 2660#line 40
 2661struct kiocb;
 2662#line 40
 2663struct kiocb;
 2664#line 40
 2665struct kiocb;
 2666#line 40
 2667struct kiocb;
 2668#line 41
 2669struct pipe_inode_info;
 2670#line 41
 2671struct pipe_inode_info;
 2672#line 41
 2673struct pipe_inode_info;
 2674#line 41
 2675struct pipe_inode_info;
 2676#line 42
 2677struct poll_table_struct;
 2678#line 42
 2679struct poll_table_struct;
 2680#line 42
 2681struct poll_table_struct;
 2682#line 42
 2683struct poll_table_struct;
 2684#line 43
 2685struct kstatfs;
 2686#line 43
 2687struct kstatfs;
 2688#line 43
 2689struct kstatfs;
 2690#line 43
 2691struct kstatfs;
 2692#line 426 "include/linux/fs.h"
 2693struct iattr {
 2694   unsigned int ia_valid ;
 2695   umode_t ia_mode ;
 2696   uid_t ia_uid ;
 2697   gid_t ia_gid ;
 2698   loff_t ia_size ;
 2699   struct timespec ia_atime ;
 2700   struct timespec ia_mtime ;
 2701   struct timespec ia_ctime ;
 2702   struct file *ia_file ;
 2703};
 2704#line 119 "include/linux/quota.h"
 2705struct if_dqinfo {
 2706   __u64 dqi_bgrace ;
 2707   __u64 dqi_igrace ;
 2708   __u32 dqi_flags ;
 2709   __u32 dqi_valid ;
 2710};
 2711#line 152 "include/linux/quota.h"
 2712struct percpu_counter {
 2713   spinlock_t lock ;
 2714   s64 count ;
 2715   struct list_head list ;
 2716   s32 *counters ;
 2717};
 2718#line 176 "include/linux/percpu_counter.h"
 2719struct fs_disk_quota {
 2720   __s8 d_version ;
 2721   __s8 d_flags ;
 2722   __u16 d_fieldmask ;
 2723   __u32 d_id ;
 2724   __u64 d_blk_hardlimit ;
 2725   __u64 d_blk_softlimit ;
 2726   __u64 d_ino_hardlimit ;
 2727   __u64 d_ino_softlimit ;
 2728   __u64 d_bcount ;
 2729   __u64 d_icount ;
 2730   __s32 d_itimer ;
 2731   __s32 d_btimer ;
 2732   __u16 d_iwarns ;
 2733   __u16 d_bwarns ;
 2734   __s32 d_padding2 ;
 2735   __u64 d_rtb_hardlimit ;
 2736   __u64 d_rtb_softlimit ;
 2737   __u64 d_rtbcount ;
 2738   __s32 d_rtbtimer ;
 2739   __u16 d_rtbwarns ;
 2740   __s16 d_padding3 ;
 2741   char d_padding4[8U] ;
 2742};
 2743#line 75 "include/linux/dqblk_xfs.h"
 2744struct fs_qfilestat {
 2745   __u64 qfs_ino ;
 2746   __u64 qfs_nblks ;
 2747   __u32 qfs_nextents ;
 2748};
 2749#line 150 "include/linux/dqblk_xfs.h"
 2750typedef struct fs_qfilestat fs_qfilestat_t;
 2751#line 151 "include/linux/dqblk_xfs.h"
 2752struct fs_quota_stat {
 2753   __s8 qs_version ;
 2754   __u16 qs_flags ;
 2755   __s8 qs_pad ;
 2756   fs_qfilestat_t qs_uquota ;
 2757   fs_qfilestat_t qs_gquota ;
 2758   __u32 qs_incoredqs ;
 2759   __s32 qs_btimelimit ;
 2760   __s32 qs_itimelimit ;
 2761   __s32 qs_rtbtimelimit ;
 2762   __u16 qs_bwarnlimit ;
 2763   __u16 qs_iwarnlimit ;
 2764};
 2765#line 165
 2766struct dquot;
 2767#line 165
 2768struct dquot;
 2769#line 165
 2770struct dquot;
 2771#line 165
 2772struct dquot;
 2773#line 185 "include/linux/quota.h"
 2774typedef __kernel_uid32_t qid_t;
 2775#line 186 "include/linux/quota.h"
 2776typedef long long qsize_t;
 2777#line 189 "include/linux/quota.h"
 2778struct mem_dqblk {
 2779   qsize_t dqb_bhardlimit ;
 2780   qsize_t dqb_bsoftlimit ;
 2781   qsize_t dqb_curspace ;
 2782   qsize_t dqb_rsvspace ;
 2783   qsize_t dqb_ihardlimit ;
 2784   qsize_t dqb_isoftlimit ;
 2785   qsize_t dqb_curinodes ;
 2786   time_t dqb_btime ;
 2787   time_t dqb_itime ;
 2788};
 2789#line 211
 2790struct quota_format_type;
 2791#line 211
 2792struct quota_format_type;
 2793#line 211
 2794struct quota_format_type;
 2795#line 211
 2796struct quota_format_type;
 2797#line 212 "include/linux/quota.h"
 2798struct mem_dqinfo {
 2799   struct quota_format_type *dqi_format ;
 2800   int dqi_fmt_id ;
 2801   struct list_head dqi_dirty_list ;
 2802   unsigned long dqi_flags ;
 2803   unsigned int dqi_bgrace ;
 2804   unsigned int dqi_igrace ;
 2805   qsize_t dqi_maxblimit ;
 2806   qsize_t dqi_maxilimit ;
 2807   void *dqi_priv ;
 2808};
 2809#line 271 "include/linux/quota.h"
 2810struct dquot {
 2811   struct hlist_node dq_hash ;
 2812   struct list_head dq_inuse ;
 2813   struct list_head dq_free ;
 2814   struct list_head dq_dirty ;
 2815   struct mutex dq_lock ;
 2816   atomic_t dq_count ;
 2817   wait_queue_head_t dq_wait_unused ;
 2818   struct super_block *dq_sb ;
 2819   unsigned int dq_id ;
 2820   loff_t dq_off ;
 2821   unsigned long dq_flags ;
 2822   short dq_type ;
 2823   struct mem_dqblk dq_dqb ;
 2824};
 2825#line 299 "include/linux/quota.h"
 2826struct quota_format_ops {
 2827   int (*check_quota_file)(struct super_block * , int  ) ;
 2828   int (*read_file_info)(struct super_block * , int  ) ;
 2829   int (*write_file_info)(struct super_block * , int  ) ;
 2830   int (*free_file_info)(struct super_block * , int  ) ;
 2831   int (*read_dqblk)(struct dquot * ) ;
 2832   int (*commit_dqblk)(struct dquot * ) ;
 2833   int (*release_dqblk)(struct dquot * ) ;
 2834};
 2835#line 310 "include/linux/quota.h"
 2836struct dquot_operations {
 2837   int (*write_dquot)(struct dquot * ) ;
 2838   struct dquot *(*alloc_dquot)(struct super_block * , int  ) ;
 2839   void (*destroy_dquot)(struct dquot * ) ;
 2840   int (*acquire_dquot)(struct dquot * ) ;
 2841   int (*release_dquot)(struct dquot * ) ;
 2842   int (*mark_dirty)(struct dquot * ) ;
 2843   int (*write_info)(struct super_block * , int  ) ;
 2844   qsize_t *(*get_reserved_space)(struct inode * ) ;
 2845};
 2846#line 324 "include/linux/quota.h"
 2847struct quotactl_ops {
 2848   int (*quota_on)(struct super_block * , int  , int  , struct path * ) ;
 2849   int (*quota_on_meta)(struct super_block * , int  , int  ) ;
 2850   int (*quota_off)(struct super_block * , int  ) ;
 2851   int (*quota_sync)(struct super_block * , int  , int  ) ;
 2852   int (*get_info)(struct super_block * , int  , struct if_dqinfo * ) ;
 2853   int (*set_info)(struct super_block * , int  , struct if_dqinfo * ) ;
 2854   int (*get_dqblk)(struct super_block * , int  , qid_t  , struct fs_disk_quota * ) ;
 2855   int (*set_dqblk)(struct super_block * , int  , qid_t  , struct fs_disk_quota * ) ;
 2856   int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
 2857   int (*set_xstate)(struct super_block * , unsigned int  , int  ) ;
 2858};
 2859#line 340 "include/linux/quota.h"
 2860struct quota_format_type {
 2861   int qf_fmt_id ;
 2862   struct quota_format_ops  const  *qf_ops ;
 2863   struct module *qf_owner ;
 2864   struct quota_format_type *qf_next ;
 2865};
 2866#line 386 "include/linux/quota.h"
 2867struct quota_info {
 2868   unsigned int flags ;
 2869   struct mutex dqio_mutex ;
 2870   struct mutex dqonoff_mutex ;
 2871   struct rw_semaphore dqptr_sem ;
 2872   struct inode *files[2U] ;
 2873   struct mem_dqinfo info[2U] ;
 2874   struct quota_format_ops  const  *ops[2U] ;
 2875};
 2876#line 576 "include/linux/fs.h"
 2877union __anonunion_arg_162 {
 2878   char *buf ;
 2879   void *data ;
 2880};
 2881#line 576 "include/linux/fs.h"
 2882struct __anonstruct_read_descriptor_t_161 {
 2883   size_t written ;
 2884   size_t count ;
 2885   union __anonunion_arg_162 arg ;
 2886   int error ;
 2887};
 2888#line 576 "include/linux/fs.h"
 2889typedef struct __anonstruct_read_descriptor_t_161 read_descriptor_t;
 2890#line 579 "include/linux/fs.h"
 2891struct address_space_operations {
 2892   int (*writepage)(struct page * , struct writeback_control * ) ;
 2893   int (*readpage)(struct file * , struct page * ) ;
 2894   int (*writepages)(struct address_space * , struct writeback_control * ) ;
 2895   int (*set_page_dirty)(struct page * ) ;
 2896   int (*readpages)(struct file * , struct address_space * , struct list_head * ,
 2897                    unsigned int  ) ;
 2898   int (*write_begin)(struct file * , struct address_space * , loff_t  , unsigned int  ,
 2899                      unsigned int  , struct page ** , void ** ) ;
 2900   int (*write_end)(struct file * , struct address_space * , loff_t  , unsigned int  ,
 2901                    unsigned int  , struct page * , void * ) ;
 2902   sector_t (*bmap)(struct address_space * , sector_t  ) ;
 2903   void (*invalidatepage)(struct page * , unsigned long  ) ;
 2904   int (*releasepage)(struct page * , gfp_t  ) ;
 2905   void (*freepage)(struct page * ) ;
 2906   ssize_t (*direct_IO)(int  , struct kiocb * , struct iovec  const  * , loff_t  ,
 2907                        unsigned long  ) ;
 2908   int (*get_xip_mem)(struct address_space * , unsigned long  , int  , void ** , unsigned long * ) ;
 2909   int (*migratepage)(struct address_space * , struct page * , struct page * ) ;
 2910   int (*launder_page)(struct page * ) ;
 2911   int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long  ) ;
 2912   int (*error_remove_page)(struct address_space * , struct page * ) ;
 2913};
 2914#line 630
 2915struct backing_dev_info;
 2916#line 630
 2917struct backing_dev_info;
 2918#line 630
 2919struct backing_dev_info;
 2920#line 630
 2921struct backing_dev_info;
 2922#line 631 "include/linux/fs.h"
 2923struct address_space {
 2924   struct inode *host ;
 2925   struct radix_tree_root page_tree ;
 2926   spinlock_t tree_lock ;
 2927   unsigned int i_mmap_writable ;
 2928   struct prio_tree_root i_mmap ;
 2929   struct list_head i_mmap_nonlinear ;
 2930   struct mutex i_mmap_mutex ;
 2931   unsigned long nrpages ;
 2932   unsigned long writeback_index ;
 2933   struct address_space_operations  const  *a_ops ;
 2934   unsigned long flags ;
 2935   struct backing_dev_info *backing_dev_info ;
 2936   spinlock_t private_lock ;
 2937   struct list_head private_list ;
 2938   struct address_space *assoc_mapping ;
 2939};
 2940#line 652
 2941struct hd_struct;
 2942#line 652
 2943struct hd_struct;
 2944#line 652
 2945struct hd_struct;
 2946#line 652
 2947struct gendisk;
 2948#line 652
 2949struct gendisk;
 2950#line 652
 2951struct gendisk;
 2952#line 652 "include/linux/fs.h"
 2953struct block_device {
 2954   dev_t bd_dev ;
 2955   int bd_openers ;
 2956   struct inode *bd_inode ;
 2957   struct super_block *bd_super ;
 2958   struct mutex bd_mutex ;
 2959   struct list_head bd_inodes ;
 2960   void *bd_claiming ;
 2961   void *bd_holder ;
 2962   int bd_holders ;
 2963   bool bd_write_holder ;
 2964   struct list_head bd_holder_disks ;
 2965   struct block_device *bd_contains ;
 2966   unsigned int bd_block_size ;
 2967   struct hd_struct *bd_part ;
 2968   unsigned int bd_part_count ;
 2969   int bd_invalidated ;
 2970   struct gendisk *bd_disk ;
 2971   struct list_head bd_list ;
 2972   unsigned long bd_private ;
 2973   int bd_fsfreeze_count ;
 2974   struct mutex bd_fsfreeze_mutex ;
 2975};
 2976#line 723
 2977struct posix_acl;
 2978#line 723
 2979struct posix_acl;
 2980#line 723
 2981struct posix_acl;
 2982#line 723
 2983struct posix_acl;
 2984#line 724
 2985struct inode_operations;
 2986#line 724
 2987struct inode_operations;
 2988#line 724
 2989struct inode_operations;
 2990#line 724 "include/linux/fs.h"
 2991union __anonunion_ldv_21290_163 {
 2992   struct list_head i_dentry ;
 2993   struct rcu_head i_rcu ;
 2994};
 2995#line 724
 2996struct file_operations;
 2997#line 724
 2998struct file_operations;
 2999#line 724
 3000struct file_operations;
 3001#line 724
 3002struct file_lock;
 3003#line 724
 3004struct file_lock;
 3005#line 724
 3006struct file_lock;
 3007#line 724
 3008struct cdev;
 3009#line 724
 3010struct cdev;
 3011#line 724
 3012struct cdev;
 3013#line 724 "include/linux/fs.h"
 3014union __anonunion_ldv_21317_164 {
 3015   struct pipe_inode_info *i_pipe ;
 3016   struct block_device *i_bdev ;
 3017   struct cdev *i_cdev ;
 3018};
 3019#line 724 "include/linux/fs.h"
 3020struct inode {
 3021   umode_t i_mode ;
 3022   uid_t i_uid ;
 3023   gid_t i_gid ;
 3024   struct inode_operations  const  *i_op ;
 3025   struct super_block *i_sb ;
 3026   spinlock_t i_lock ;
 3027   unsigned int i_flags ;
 3028   unsigned long i_state ;
 3029   void *i_security ;
 3030   struct mutex i_mutex ;
 3031   unsigned long dirtied_when ;
 3032   struct hlist_node i_hash ;
 3033   struct list_head i_wb_list ;
 3034   struct list_head i_lru ;
 3035   struct list_head i_sb_list ;
 3036   union __anonunion_ldv_21290_163 ldv_21290 ;
 3037   unsigned long i_ino ;
 3038   atomic_t i_count ;
 3039   unsigned int i_nlink ;
 3040   dev_t i_rdev ;
 3041   unsigned int i_blkbits ;
 3042   u64 i_version ;
 3043   loff_t i_size ;
 3044   struct timespec i_atime ;
 3045   struct timespec i_mtime ;
 3046   struct timespec i_ctime ;
 3047   blkcnt_t i_blocks ;
 3048   unsigned short i_bytes ;
 3049   struct rw_semaphore i_alloc_sem ;
 3050   struct file_operations  const  *i_fop ;
 3051   struct file_lock *i_flock ;
 3052   struct address_space *i_mapping ;
 3053   struct address_space i_data ;
 3054   struct dquot *i_dquot[2U] ;
 3055   struct list_head i_devices ;
 3056   union __anonunion_ldv_21317_164 ldv_21317 ;
 3057   __u32 i_generation ;
 3058   __u32 i_fsnotify_mask ;
 3059   struct hlist_head i_fsnotify_marks ;
 3060   atomic_t i_readcount ;
 3061   atomic_t i_writecount ;
 3062   struct posix_acl *i_acl ;
 3063   struct posix_acl *i_default_acl ;
 3064   void *i_private ;
 3065};
 3066#line 902 "include/linux/fs.h"
 3067struct fown_struct {
 3068   rwlock_t lock ;
 3069   struct pid *pid ;
 3070   enum pid_type pid_type ;
 3071   uid_t uid ;
 3072   uid_t euid ;
 3073   int signum ;
 3074};
 3075#line 910 "include/linux/fs.h"
 3076struct file_ra_state {
 3077   unsigned long start ;
 3078   unsigned int size ;
 3079   unsigned int async_size ;
 3080   unsigned int ra_pages ;
 3081   unsigned int mmap_miss ;
 3082   loff_t prev_pos ;
 3083};
 3084#line 933 "include/linux/fs.h"
 3085union __anonunion_f_u_165 {
 3086   struct list_head fu_list ;
 3087   struct rcu_head fu_rcuhead ;
 3088};
 3089#line 933 "include/linux/fs.h"
 3090struct file {
 3091   union __anonunion_f_u_165 f_u ;
 3092   struct path f_path ;
 3093   struct file_operations  const  *f_op ;
 3094   spinlock_t f_lock ;
 3095   int f_sb_list_cpu ;
 3096   atomic_long_t f_count ;
 3097   unsigned int f_flags ;
 3098   fmode_t f_mode ;
 3099   loff_t f_pos ;
 3100   struct fown_struct f_owner ;
 3101   struct cred  const  *f_cred ;
 3102   struct file_ra_state f_ra ;
 3103   u64 f_version ;
 3104   void *f_security ;
 3105   void *private_data ;
 3106   struct list_head f_ep_links ;
 3107   struct address_space *f_mapping ;
 3108   unsigned long f_mnt_write_state ;
 3109};
 3110#line 1064
 3111struct files_struct;
 3112#line 1064
 3113struct files_struct;
 3114#line 1064
 3115struct files_struct;
 3116#line 1064 "include/linux/fs.h"
 3117typedef struct files_struct *fl_owner_t;
 3118#line 1065 "include/linux/fs.h"
 3119struct file_lock_operations {
 3120   void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
 3121   void (*fl_release_private)(struct file_lock * ) ;
 3122};
 3123#line 1070 "include/linux/fs.h"
 3124struct lock_manager_operations {
 3125   int (*fl_compare_owner)(struct file_lock * , struct file_lock * ) ;
 3126   void (*fl_notify)(struct file_lock * ) ;
 3127   int (*fl_grant)(struct file_lock * , struct file_lock * , int  ) ;
 3128   void (*fl_release_private)(struct file_lock * ) ;
 3129   void (*fl_break)(struct file_lock * ) ;
 3130   int (*fl_change)(struct file_lock ** , int  ) ;
 3131};
 3132#line 163 "include/linux/nfs.h"
 3133struct nlm_lockowner;
 3134#line 163
 3135struct nlm_lockowner;
 3136#line 163
 3137struct nlm_lockowner;
 3138#line 163
 3139struct nlm_lockowner;
 3140#line 164 "include/linux/nfs.h"
 3141struct nfs_lock_info {
 3142   u32 state ;
 3143   struct nlm_lockowner *owner ;
 3144   struct list_head list ;
 3145};
 3146#line 18 "include/linux/nfs_fs_i.h"
 3147struct nfs4_lock_state;
 3148#line 18
 3149struct nfs4_lock_state;
 3150#line 18
 3151struct nfs4_lock_state;
 3152#line 18
 3153struct nfs4_lock_state;
 3154#line 19 "include/linux/nfs_fs_i.h"
 3155struct nfs4_lock_info {
 3156   struct nfs4_lock_state *owner ;
 3157};
 3158#line 23
 3159struct fasync_struct;
 3160#line 23
 3161struct fasync_struct;
 3162#line 23
 3163struct fasync_struct;
 3164#line 23 "include/linux/nfs_fs_i.h"
 3165struct __anonstruct_afs_167 {
 3166   struct list_head link ;
 3167   int state ;
 3168};
 3169#line 23 "include/linux/nfs_fs_i.h"
 3170union __anonunion_fl_u_166 {
 3171   struct nfs_lock_info nfs_fl ;
 3172   struct nfs4_lock_info nfs4_fl ;
 3173   struct __anonstruct_afs_167 afs ;
 3174};
 3175#line 23 "include/linux/nfs_fs_i.h"
 3176struct file_lock {
 3177   struct file_lock *fl_next ;
 3178   struct list_head fl_link ;
 3179   struct list_head fl_block ;
 3180   fl_owner_t fl_owner ;
 3181   unsigned char fl_flags ;
 3182   unsigned char fl_type ;
 3183   unsigned int fl_pid ;
 3184   struct pid *fl_nspid ;
 3185   wait_queue_head_t fl_wait ;
 3186   struct file *fl_file ;
 3187   loff_t fl_start ;
 3188   loff_t fl_end ;
 3189   struct fasync_struct *fl_fasync ;
 3190   unsigned long fl_break_time ;
 3191   struct file_lock_operations  const  *fl_ops ;
 3192   struct lock_manager_operations  const  *fl_lmops ;
 3193   union __anonunion_fl_u_166 fl_u ;
 3194};
 3195#line 1171 "include/linux/fs.h"
 3196struct fasync_struct {
 3197   spinlock_t fa_lock ;
 3198   int magic ;
 3199   int fa_fd ;
 3200   struct fasync_struct *fa_next ;
 3201   struct file *fa_file ;
 3202   struct rcu_head fa_rcu ;
 3203};
 3204#line 1363
 3205struct file_system_type;
 3206#line 1363
 3207struct file_system_type;
 3208#line 1363
 3209struct file_system_type;
 3210#line 1363
 3211struct super_operations;
 3212#line 1363
 3213struct super_operations;
 3214#line 1363
 3215struct super_operations;
 3216#line 1363
 3217struct xattr_handler;
 3218#line 1363
 3219struct xattr_handler;
 3220#line 1363
 3221struct xattr_handler;
 3222#line 1363
 3223struct mtd_info;
 3224#line 1363
 3225struct mtd_info;
 3226#line 1363
 3227struct mtd_info;
 3228#line 1363 "include/linux/fs.h"
 3229struct super_block {
 3230   struct list_head s_list ;
 3231   dev_t s_dev ;
 3232   unsigned char s_dirt ;
 3233   unsigned char s_blocksize_bits ;
 3234   unsigned long s_blocksize ;
 3235   loff_t s_maxbytes ;
 3236   struct file_system_type *s_type ;
 3237   struct super_operations  const  *s_op ;
 3238   struct dquot_operations  const  *dq_op ;
 3239   struct quotactl_ops  const  *s_qcop ;
 3240   struct export_operations  const  *s_export_op ;
 3241   unsigned long s_flags ;
 3242   unsigned long s_magic ;
 3243   struct dentry *s_root ;
 3244   struct rw_semaphore s_umount ;
 3245   struct mutex s_lock ;
 3246   int s_count ;
 3247   atomic_t s_active ;
 3248   void *s_security ;
 3249   struct xattr_handler  const  **s_xattr ;
 3250   struct list_head s_inodes ;
 3251   struct hlist_bl_head s_anon ;
 3252   struct list_head *s_files ;
 3253   struct list_head s_dentry_lru ;
 3254   int s_nr_dentry_unused ;
 3255   struct block_device *s_bdev ;
 3256   struct backing_dev_info *s_bdi ;
 3257   struct mtd_info *s_mtd ;
 3258   struct list_head s_instances ;
 3259   struct quota_info s_dquot ;
 3260   int s_frozen ;
 3261   wait_queue_head_t s_wait_unfrozen ;
 3262   char s_id[32U] ;
 3263   u8 s_uuid[16U] ;
 3264   void *s_fs_info ;
 3265   fmode_t s_mode ;
 3266   u32 s_time_gran ;
 3267   struct mutex s_vfs_rename_mutex ;
 3268   char *s_subtype ;
 3269   char *s_options ;
 3270   struct dentry_operations  const  *s_d_op ;
 3271   int cleancache_poolid ;
 3272};
 3273#line 1495 "include/linux/fs.h"
 3274struct fiemap_extent_info {
 3275   unsigned int fi_flags ;
 3276   unsigned int fi_extents_mapped ;
 3277   unsigned int fi_extents_max ;
 3278   struct fiemap_extent *fi_extents_start ;
 3279};
 3280#line 1534 "include/linux/fs.h"
 3281struct file_operations {
 3282   struct module *owner ;
 3283   loff_t (*llseek)(struct file * , loff_t  , int  ) ;
 3284   ssize_t (*read)(struct file * , char * , size_t  , loff_t * ) ;
 3285   ssize_t (*write)(struct file * , char const   * , size_t  , loff_t * ) ;
 3286   ssize_t (*aio_read)(struct kiocb * , struct iovec  const  * , unsigned long  ,
 3287                       loff_t  ) ;
 3288   ssize_t (*aio_write)(struct kiocb * , struct iovec  const  * , unsigned long  ,
 3289                        loff_t  ) ;
 3290   int (*readdir)(struct file * , void * , int (*)(void * , char const   * , int  ,
 3291                                                   loff_t  , u64  , unsigned int  ) ) ;
 3292   unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
 3293   long (*unlocked_ioctl)(struct file * , unsigned int  , unsigned long  ) ;
 3294   long (*compat_ioctl)(struct file * , unsigned int  , unsigned long  ) ;
 3295   int (*mmap)(struct file * , struct vm_area_struct * ) ;
 3296   int (*open)(struct inode * , struct file * ) ;
 3297   int (*flush)(struct file * , fl_owner_t  ) ;
 3298   int (*release)(struct inode * , struct file * ) ;
 3299   int (*fsync)(struct file * , int  ) ;
 3300   int (*aio_fsync)(struct kiocb * , int  ) ;
 3301   int (*fasync)(int  , struct file * , int  ) ;
 3302   int (*lock)(struct file * , int  , struct file_lock * ) ;
 3303   ssize_t (*sendpage)(struct file * , struct page * , int  , size_t  , loff_t * ,
 3304                       int  ) ;
 3305   unsigned long (*get_unmapped_area)(struct file * , unsigned long  , unsigned long  ,
 3306                                      unsigned long  , unsigned long  ) ;
 3307   int (*check_flags)(int  ) ;
 3308   int (*flock)(struct file * , int  , struct file_lock * ) ;
 3309   ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t  ,
 3310                           unsigned int  ) ;
 3311   ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t  ,
 3312                          unsigned int  ) ;
 3313   int (*setlease)(struct file * , long  , struct file_lock ** ) ;
 3314   long (*fallocate)(struct file * , int  , loff_t  , loff_t  ) ;
 3315};
 3316#line 1574 "include/linux/fs.h"
 3317struct inode_operations {
 3318   struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
 3319   void *(*follow_link)(struct dentry * , struct nameidata * ) ;
 3320   int (*permission)(struct inode * , int  , unsigned int  ) ;
 3321   int (*check_acl)(struct inode * , int  , unsigned int  ) ;
 3322   int (*readlink)(struct dentry * , char * , int  ) ;
 3323   void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
 3324   int (*create)(struct inode * , struct dentry * , int  , struct nameidata * ) ;
 3325   int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
 3326   int (*unlink)(struct inode * , struct dentry * ) ;
 3327   int (*symlink)(struct inode * , struct dentry * , char const   * ) ;
 3328   int (*mkdir)(struct inode * , struct dentry * , int  ) ;
 3329   int (*rmdir)(struct inode * , struct dentry * ) ;
 3330   int (*mknod)(struct inode * , struct dentry * , int  , dev_t  ) ;
 3331   int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
 3332   void (*truncate)(struct inode * ) ;
 3333   int (*setattr)(struct dentry * , struct iattr * ) ;
 3334   int (*getattr)(struct vfsmount * , struct dentry * , struct kstat * ) ;
 3335   int (*setxattr)(struct dentry * , char const   * , void const   * , size_t  , int  ) ;
 3336   ssize_t (*getxattr)(struct dentry * , char const   * , void * , size_t  ) ;
 3337   ssize_t (*listxattr)(struct dentry * , char * , size_t  ) ;
 3338   int (*removexattr)(struct dentry * , char const   * ) ;
 3339   void (*truncate_range)(struct inode * , loff_t  , loff_t  ) ;
 3340   int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64  , u64  ) ;
 3341};
 3342#line 1620 "include/linux/fs.h"
 3343struct super_operations {
 3344   struct inode *(*alloc_inode)(struct super_block * ) ;
 3345   void (*destroy_inode)(struct inode * ) ;
 3346   void (*dirty_inode)(struct inode * , int  ) ;
 3347   int (*write_inode)(struct inode * , struct writeback_control * ) ;
 3348   int (*drop_inode)(struct inode * ) ;
 3349   void (*evict_inode)(struct inode * ) ;
 3350   void (*put_super)(struct super_block * ) ;
 3351   void (*write_super)(struct super_block * ) ;
 3352   int (*sync_fs)(struct super_block * , int  ) ;
 3353   int (*freeze_fs)(struct super_block * ) ;
 3354   int (*unfreeze_fs)(struct super_block * ) ;
 3355   int (*statfs)(struct dentry * , struct kstatfs * ) ;
 3356   int (*remount_fs)(struct super_block * , int * , char * ) ;
 3357   void (*umount_begin)(struct super_block * ) ;
 3358   int (*show_options)(struct seq_file * , struct vfsmount * ) ;
 3359   int (*show_devname)(struct seq_file * , struct vfsmount * ) ;
 3360   int (*show_path)(struct seq_file * , struct vfsmount * ) ;
 3361   int (*show_stats)(struct seq_file * , struct vfsmount * ) ;
 3362   ssize_t (*quota_read)(struct super_block * , int  , char * , size_t  , loff_t  ) ;
 3363   ssize_t (*quota_write)(struct super_block * , int  , char const   * , size_t  ,
 3364                          loff_t  ) ;
 3365   int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t  ) ;
 3366};
 3367#line 1801 "include/linux/fs.h"
 3368struct file_system_type {
 3369   char const   *name ;
 3370   int fs_flags ;
 3371   struct dentry *(*mount)(struct file_system_type * , int  , char const   * , void * ) ;
 3372   void (*kill_sb)(struct super_block * ) ;
 3373   struct module *owner ;
 3374   struct file_system_type *next ;
 3375   struct list_head fs_supers ;
 3376   struct lock_class_key s_lock_key ;
 3377   struct lock_class_key s_umount_key ;
 3378   struct lock_class_key s_vfs_rename_key ;
 3379   struct lock_class_key i_lock_key ;
 3380   struct lock_class_key i_mutex_key ;
 3381   struct lock_class_key i_mutex_dir_key ;
 3382   struct lock_class_key i_alloc_sem_key ;
 3383};
 3384#line 44 "include/linux/aio_abi.h"
 3385struct io_event {
 3386   __u64 data ;
 3387   __u64 obj ;
 3388   __s64 res ;
 3389   __s64 res2 ;
 3390};
 3391#line 7 "include/asm-generic/cputime.h"
 3392typedef unsigned long cputime_t;
 3393#line 26
 3394struct siginfo;
 3395#line 26
 3396struct siginfo;
 3397#line 26
 3398struct siginfo;
 3399#line 26
 3400struct siginfo;
 3401#line 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
 3402struct __anonstruct_sigset_t_168 {
 3403   unsigned long sig[1U] ;
 3404};
 3405#line 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
 3406typedef struct __anonstruct_sigset_t_168 sigset_t;
 3407#line 17 "include/asm-generic/signal-defs.h"
 3408typedef void __signalfn_t(int  );
 3409#line 18 "include/asm-generic/signal-defs.h"
 3410typedef __signalfn_t *__sighandler_t;
 3411#line 20 "include/asm-generic/signal-defs.h"
 3412typedef void __restorefn_t(void);
 3413#line 21 "include/asm-generic/signal-defs.h"
 3414typedef __restorefn_t *__sigrestore_t;
 3415#line 126 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
 3416struct sigaction {
 3417   __sighandler_t sa_handler ;
 3418   unsigned long sa_flags ;
 3419   __sigrestore_t sa_restorer ;
 3420   sigset_t sa_mask ;
 3421};
 3422#line 173 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
 3423struct k_sigaction {
 3424   struct sigaction sa ;
 3425};
 3426#line 185 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
 3427union sigval {
 3428   int sival_int ;
 3429   void *sival_ptr ;
 3430};
 3431#line 10 "include/asm-generic/siginfo.h"
 3432typedef union sigval sigval_t;
 3433#line 11 "include/asm-generic/siginfo.h"
 3434struct __anonstruct__kill_170 {
 3435   __kernel_pid_t _pid ;
 3436   __kernel_uid32_t _uid ;
 3437};
 3438#line 11 "include/asm-generic/siginfo.h"
 3439struct __anonstruct__timer_171 {
 3440   __kernel_timer_t _tid ;
 3441   int _overrun ;
 3442   char _pad[0U] ;
 3443   sigval_t _sigval ;
 3444   int _sys_private ;
 3445};
 3446#line 11 "include/asm-generic/siginfo.h"
 3447struct __anonstruct__rt_172 {
 3448   __kernel_pid_t _pid ;
 3449   __kernel_uid32_t _uid ;
 3450   sigval_t _sigval ;
 3451};
 3452#line 11 "include/asm-generic/siginfo.h"
 3453struct __anonstruct__sigchld_173 {
 3454   __kernel_pid_t _pid ;
 3455   __kernel_uid32_t _uid ;
 3456   int _status ;
 3457   __kernel_clock_t _utime ;
 3458   __kernel_clock_t _stime ;
 3459};
 3460#line 11 "include/asm-generic/siginfo.h"
 3461struct __anonstruct__sigfault_174 {
 3462   void *_addr ;
 3463   short _addr_lsb ;
 3464};
 3465#line 11 "include/asm-generic/siginfo.h"
 3466struct __anonstruct__sigpoll_175 {
 3467   long _band ;
 3468   int _fd ;
 3469};
 3470#line 11 "include/asm-generic/siginfo.h"
 3471union __anonunion__sifields_169 {
 3472   int _pad[28U] ;
 3473   struct __anonstruct__kill_170 _kill ;
 3474   struct __anonstruct__timer_171 _timer ;
 3475   struct __anonstruct__rt_172 _rt ;
 3476   struct __anonstruct__sigchld_173 _sigchld ;
 3477   struct __anonstruct__sigfault_174 _sigfault ;
 3478   struct __anonstruct__sigpoll_175 _sigpoll ;
 3479};
 3480#line 11 "include/asm-generic/siginfo.h"
 3481struct siginfo {
 3482   int si_signo ;
 3483   int si_errno ;
 3484   int si_code ;
 3485   union __anonunion__sifields_169 _sifields ;
 3486};
 3487#line 94 "include/asm-generic/siginfo.h"
 3488typedef struct siginfo siginfo_t;
 3489#line 24 "include/linux/signal.h"
 3490struct sigpending {
 3491   struct list_head list ;
 3492   sigset_t signal ;
 3493};
 3494#line 90 "include/linux/proportions.h"
 3495struct prop_local_single {
 3496   unsigned long events ;
 3497   unsigned long period ;
 3498   int shift ;
 3499   spinlock_t lock ;
 3500};
 3501#line 10 "include/linux/seccomp.h"
 3502struct __anonstruct_seccomp_t_178 {
 3503   int mode ;
 3504};
 3505#line 10 "include/linux/seccomp.h"
 3506typedef struct __anonstruct_seccomp_t_178 seccomp_t;
 3507#line 21 "include/linux/seccomp.h"
 3508struct plist_head {
 3509   struct list_head node_list ;
 3510   raw_spinlock_t *rawlock ;
 3511   spinlock_t *spinlock ;
 3512};
 3513#line 88 "include/linux/plist.h"
 3514struct plist_node {
 3515   int prio ;
 3516   struct list_head prio_list ;
 3517   struct list_head node_list ;
 3518};
 3519#line 38 "include/linux/rtmutex.h"
 3520struct rt_mutex_waiter;
 3521#line 38
 3522struct rt_mutex_waiter;
 3523#line 38
 3524struct rt_mutex_waiter;
 3525#line 38
 3526struct rt_mutex_waiter;
 3527#line 41 "include/linux/resource.h"
 3528struct rlimit {
 3529   unsigned long rlim_cur ;
 3530   unsigned long rlim_max ;
 3531};
 3532#line 85 "include/linux/resource.h"
 3533struct timerqueue_node {
 3534   struct rb_node node ;
 3535   ktime_t expires ;
 3536};
 3537#line 12 "include/linux/timerqueue.h"
 3538struct timerqueue_head {
 3539   struct rb_root head ;
 3540   struct timerqueue_node *next ;
 3541};
 3542#line 50
 3543struct hrtimer_clock_base;
 3544#line 50
 3545struct hrtimer_clock_base;
 3546#line 50
 3547struct hrtimer_clock_base;
 3548#line 50
 3549struct hrtimer_clock_base;
 3550#line 51
 3551struct hrtimer_cpu_base;
 3552#line 51
 3553struct hrtimer_cpu_base;
 3554#line 51
 3555struct hrtimer_cpu_base;
 3556#line 51
 3557struct hrtimer_cpu_base;
 3558#line 60
 3559enum hrtimer_restart {
 3560    HRTIMER_NORESTART = 0,
 3561    HRTIMER_RESTART = 1
 3562} ;
 3563#line 65 "include/linux/timerqueue.h"
 3564struct hrtimer {
 3565   struct timerqueue_node node ;
 3566   ktime_t _softexpires ;
 3567   enum hrtimer_restart (*function)(struct hrtimer * ) ;
 3568   struct hrtimer_clock_base *base ;
 3569   unsigned long state ;
 3570   int start_pid ;
 3571   void *start_site ;
 3572   char start_comm[16U] ;
 3573};
 3574#line 132 "include/linux/hrtimer.h"
 3575struct hrtimer_clock_base {
 3576   struct hrtimer_cpu_base *cpu_base ;
 3577   int index ;
 3578   clockid_t clockid ;
 3579   struct timerqueue_head active ;
 3580   ktime_t resolution ;
 3581   ktime_t (*get_time)(void) ;
 3582   ktime_t softirq_time ;
 3583   ktime_t offset ;
 3584};
 3585#line 162 "include/linux/hrtimer.h"
 3586struct hrtimer_cpu_base {
 3587   raw_spinlock_t lock ;
 3588   unsigned long active_bases ;
 3589   ktime_t expires_next ;
 3590   int hres_active ;
 3591   int hang_detected ;
 3592   unsigned long nr_events ;
 3593   unsigned long nr_retries ;
 3594   unsigned long nr_hangs ;
 3595   ktime_t max_hang_time ;
 3596   struct hrtimer_clock_base clock_base[3U] ;
 3597};
 3598#line 452 "include/linux/hrtimer.h"
 3599struct task_io_accounting {
 3600   u64 rchar ;
 3601   u64 wchar ;
 3602   u64 syscr ;
 3603   u64 syscw ;
 3604   u64 read_bytes ;
 3605   u64 write_bytes ;
 3606   u64 cancelled_write_bytes ;
 3607};
 3608#line 45 "include/linux/task_io_accounting.h"
 3609struct latency_record {
 3610   unsigned long backtrace[12U] ;
 3611   unsigned int count ;
 3612   unsigned long time ;
 3613   unsigned long max ;
 3614};
 3615#line 29 "include/linux/key.h"
 3616typedef int32_t key_serial_t;
 3617#line 32 "include/linux/key.h"
 3618typedef uint32_t key_perm_t;
 3619#line 33
 3620struct key;
 3621#line 33
 3622struct key;
 3623#line 33
 3624struct key;
 3625#line 33
 3626struct key;
 3627#line 34
 3628struct signal_struct;
 3629#line 34
 3630struct signal_struct;
 3631#line 34
 3632struct signal_struct;
 3633#line 34
 3634struct signal_struct;
 3635#line 35
 3636struct key_type;
 3637#line 35
 3638struct key_type;
 3639#line 35
 3640struct key_type;
 3641#line 35
 3642struct key_type;
 3643#line 37
 3644struct keyring_list;
 3645#line 37
 3646struct keyring_list;
 3647#line 37
 3648struct keyring_list;
 3649#line 37
 3650struct keyring_list;
 3651#line 115
 3652struct key_user;
 3653#line 115
 3654struct key_user;
 3655#line 115
 3656struct key_user;
 3657#line 115 "include/linux/key.h"
 3658union __anonunion_ldv_24162_179 {
 3659   time_t expiry ;
 3660   time_t revoked_at ;
 3661};
 3662#line 115 "include/linux/key.h"
 3663union __anonunion_type_data_180 {
 3664   struct list_head link ;
 3665   unsigned long x[2U] ;
 3666   void *p[2U] ;
 3667   int reject_error ;
 3668};
 3669#line 115 "include/linux/key.h"
 3670union __anonunion_payload_181 {
 3671   unsigned long value ;
 3672   void *rcudata ;
 3673   void *data ;
 3674   struct keyring_list *subscriptions ;
 3675};
 3676#line 115 "include/linux/key.h"
 3677struct key {
 3678   atomic_t usage ;
 3679   key_serial_t serial ;
 3680   struct rb_node serial_node ;
 3681   struct key_type *type ;
 3682   struct rw_semaphore sem ;
 3683   struct key_user *user ;
 3684   void *security ;
 3685   union __anonunion_ldv_24162_179 ldv_24162 ;
 3686   uid_t uid ;
 3687   gid_t gid ;
 3688   key_perm_t perm ;
 3689   unsigned short quotalen ;
 3690   unsigned short datalen ;
 3691   unsigned long flags ;
 3692   char *description ;
 3693   union __anonunion_type_data_180 type_data ;
 3694   union __anonunion_payload_181 payload ;
 3695};
 3696#line 310
 3697struct audit_context;
 3698#line 310
 3699struct audit_context;
 3700#line 310
 3701struct audit_context;
 3702#line 310
 3703struct audit_context;
 3704#line 27 "include/linux/selinux.h"
 3705struct group_info {
 3706   atomic_t usage ;
 3707   int ngroups ;
 3708   int nblocks ;
 3709   gid_t small_block[32U] ;
 3710   gid_t *blocks[0U] ;
 3711};
 3712#line 77 "include/linux/cred.h"
 3713struct thread_group_cred {
 3714   atomic_t usage ;
 3715   pid_t tgid ;
 3716   spinlock_t lock ;
 3717   struct key *session_keyring ;
 3718   struct key *process_keyring ;
 3719   struct rcu_head rcu ;
 3720};
 3721#line 91 "include/linux/cred.h"
 3722struct cred {
 3723   atomic_t usage ;
 3724   atomic_t subscribers ;
 3725   void *put_addr ;
 3726   unsigned int magic ;
 3727   uid_t uid ;
 3728   gid_t gid ;
 3729   uid_t suid ;
 3730   gid_t sgid ;
 3731   uid_t euid ;
 3732   gid_t egid ;
 3733   uid_t fsuid ;
 3734   gid_t fsgid ;
 3735   unsigned int securebits ;
 3736   kernel_cap_t cap_inheritable ;
 3737   kernel_cap_t cap_permitted ;
 3738   kernel_cap_t cap_effective ;
 3739   kernel_cap_t cap_bset ;
 3740   unsigned char jit_keyring ;
 3741   struct key *thread_keyring ;
 3742   struct key *request_key_auth ;
 3743   struct thread_group_cred *tgcred ;
 3744   void *security ;
 3745   struct user_struct *user ;
 3746   struct user_namespace *user_ns ;
 3747   struct group_info *group_info ;
 3748   struct rcu_head rcu ;
 3749};
 3750#line 264
 3751struct futex_pi_state;
 3752#line 264
 3753struct futex_pi_state;
 3754#line 264
 3755struct futex_pi_state;
 3756#line 264
 3757struct futex_pi_state;
 3758#line 265
 3759struct robust_list_head;
 3760#line 265
 3761struct robust_list_head;
 3762#line 265
 3763struct robust_list_head;
 3764#line 265
 3765struct robust_list_head;
 3766#line 266
 3767struct bio_list;
 3768#line 266
 3769struct bio_list;
 3770#line 266
 3771struct bio_list;
 3772#line 266
 3773struct bio_list;
 3774#line 267
 3775struct fs_struct;
 3776#line 267
 3777struct fs_struct;
 3778#line 267
 3779struct fs_struct;
 3780#line 267
 3781struct fs_struct;
 3782#line 268
 3783struct perf_event_context;
 3784#line 268
 3785struct perf_event_context;
 3786#line 268
 3787struct perf_event_context;
 3788#line 268
 3789struct perf_event_context;
 3790#line 269
 3791struct blk_plug;
 3792#line 269
 3793struct blk_plug;
 3794#line 269
 3795struct blk_plug;
 3796#line 269
 3797struct blk_plug;
 3798#line 149 "include/linux/sched.h"
 3799struct cfs_rq;
 3800#line 149
 3801struct cfs_rq;
 3802#line 149
 3803struct cfs_rq;
 3804#line 149
 3805struct cfs_rq;
 3806#line 383
 3807struct kioctx;
 3808#line 383
 3809struct kioctx;
 3810#line 383
 3811struct kioctx;
 3812#line 383
 3813struct kioctx;
 3814#line 384 "include/linux/sched.h"
 3815union __anonunion_ki_obj_182 {
 3816   void *user ;
 3817   struct task_struct *tsk ;
 3818};
 3819#line 384
 3820struct eventfd_ctx;
 3821#line 384
 3822struct eventfd_ctx;
 3823#line 384
 3824struct eventfd_ctx;
 3825#line 384 "include/linux/sched.h"
 3826struct kiocb {
 3827   struct list_head ki_run_list ;
 3828   unsigned long ki_flags ;
 3829   int ki_users ;
 3830   unsigned int ki_key ;
 3831   struct file *ki_filp ;
 3832   struct kioctx *ki_ctx ;
 3833   int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
 3834   ssize_t (*ki_retry)(struct kiocb * ) ;
 3835   void (*ki_dtor)(struct kiocb * ) ;
 3836   union __anonunion_ki_obj_182 ki_obj ;
 3837   __u64 ki_user_data ;
 3838   loff_t ki_pos ;
 3839   void *private ;
 3840   unsigned short ki_opcode ;
 3841   size_t ki_nbytes ;
 3842   char *ki_buf ;
 3843   size_t ki_left ;
 3844   struct iovec ki_inline_vec ;
 3845   struct iovec *ki_iovec ;
 3846   unsigned long ki_nr_segs ;
 3847   unsigned long ki_cur_seg ;
 3848   struct list_head ki_list ;
 3849   struct eventfd_ctx *ki_eventfd ;
 3850};
 3851#line 161 "include/linux/aio.h"
 3852struct aio_ring_info {
 3853   unsigned long mmap_base ;
 3854   unsigned long mmap_size ;
 3855   struct page **ring_pages ;
 3856   spinlock_t ring_lock ;
 3857   long nr_pages ;
 3858   unsigned int nr ;
 3859   unsigned int tail ;
 3860   struct page *internal_pages[8U] ;
 3861};
 3862#line 177 "include/linux/aio.h"
 3863struct kioctx {
 3864   atomic_t users ;
 3865   int dead ;
 3866   struct mm_struct *mm ;
 3867   unsigned long user_id ;
 3868   struct hlist_node list ;
 3869   wait_queue_head_t wait ;
 3870   spinlock_t ctx_lock ;
 3871   int reqs_active ;
 3872   struct list_head active_reqs ;
 3873   struct list_head run_list ;
 3874   unsigned int max_reqs ;
 3875   struct aio_ring_info ring_info ;
 3876   struct delayed_work wq ;
 3877   struct rcu_head rcu_head ;
 3878};
 3879#line 404 "include/linux/sched.h"
 3880struct sighand_struct {
 3881   atomic_t count ;
 3882   struct k_sigaction action[64U] ;
 3883   spinlock_t siglock ;
 3884   wait_queue_head_t signalfd_wqh ;
 3885};
 3886#line 447 "include/linux/sched.h"
 3887struct pacct_struct {
 3888   int ac_flag ;
 3889   long ac_exitcode ;
 3890   unsigned long ac_mem ;
 3891   cputime_t ac_utime ;
 3892   cputime_t ac_stime ;
 3893   unsigned long ac_minflt ;
 3894   unsigned long ac_majflt ;
 3895};
 3896#line 455 "include/linux/sched.h"
 3897struct cpu_itimer {
 3898   cputime_t expires ;
 3899   cputime_t incr ;
 3900   u32 error ;
 3901   u32 incr_error ;
 3902};
 3903#line 462 "include/linux/sched.h"
 3904struct task_cputime {
 3905   cputime_t utime ;
 3906   cputime_t stime ;
 3907   unsigned long long sum_exec_runtime ;
 3908};
 3909#line 479 "include/linux/sched.h"
 3910struct thread_group_cputimer {
 3911   struct task_cputime cputime ;
 3912   int running ;
 3913   spinlock_t lock ;
 3914};
 3915#line 515
 3916struct autogroup;
 3917#line 515
 3918struct autogroup;
 3919#line 515
 3920struct autogroup;
 3921#line 515
 3922struct autogroup;
 3923#line 516
 3924struct tty_struct;
 3925#line 516
 3926struct tty_struct;
 3927#line 516
 3928struct tty_struct;
 3929#line 516
 3930struct taskstats;
 3931#line 516
 3932struct taskstats;
 3933#line 516
 3934struct taskstats;
 3935#line 516
 3936struct tty_audit_buf;
 3937#line 516
 3938struct tty_audit_buf;
 3939#line 516
 3940struct tty_audit_buf;
 3941#line 516 "include/linux/sched.h"
 3942struct signal_struct {
 3943   atomic_t sigcnt ;
 3944   atomic_t live ;
 3945   int nr_threads ;
 3946   wait_queue_head_t wait_chldexit ;
 3947   struct task_struct *curr_target ;
 3948   struct sigpending shared_pending ;
 3949   int group_exit_code ;
 3950   int notify_count ;
 3951   struct task_struct *group_exit_task ;
 3952   int group_stop_count ;
 3953   unsigned int flags ;
 3954   struct list_head posix_timers ;
 3955   struct hrtimer real_timer ;
 3956   struct pid *leader_pid ;
 3957   ktime_t it_real_incr ;
 3958   struct cpu_itimer it[2U] ;
 3959   struct thread_group_cputimer cputimer ;
 3960   struct task_cputime cputime_expires ;
 3961   struct list_head cpu_timers[3U] ;
 3962   struct pid *tty_old_pgrp ;
 3963   int leader ;
 3964   struct tty_struct *tty ;
 3965   struct autogroup *autogroup ;
 3966   cputime_t utime ;
 3967   cputime_t stime ;
 3968   cputime_t cutime ;
 3969   cputime_t cstime ;
 3970   cputime_t gtime ;
 3971   cputime_t cgtime ;
 3972   cputime_t prev_utime ;
 3973   cputime_t prev_stime ;
 3974   unsigned long nvcsw ;
 3975   unsigned long nivcsw ;
 3976   unsigned long cnvcsw ;
 3977   unsigned long cnivcsw ;
 3978   unsigned long min_flt ;
 3979   unsigned long maj_flt ;
 3980   unsigned long cmin_flt ;
 3981   unsigned long cmaj_flt ;
 3982   unsigned long inblock ;
 3983   unsigned long oublock ;
 3984   unsigned long cinblock ;
 3985   unsigned long coublock ;
 3986   unsigned long maxrss ;
 3987   unsigned long cmaxrss ;
 3988   struct task_io_accounting ioac ;
 3989   unsigned long long sum_sched_runtime ;
 3990   struct rlimit rlim[16U] ;
 3991   struct pacct_struct pacct ;
 3992   struct taskstats *stats ;
 3993   unsigned int audit_tty ;
 3994   struct tty_audit_buf *tty_audit_buf ;
 3995   struct rw_semaphore threadgroup_fork_lock ;
 3996   int oom_adj ;
 3997   int oom_score_adj ;
 3998   int oom_score_adj_min ;
 3999   struct mutex cred_guard_mutex ;
 4000};
 4001#line 683 "include/linux/sched.h"
 4002struct user_struct {
 4003   atomic_t __count ;
 4004   atomic_t processes ;
 4005   atomic_t files ;
 4006   atomic_t sigpending ;
 4007   atomic_t inotify_watches ;
 4008   atomic_t inotify_devs ;
 4009   atomic_t fanotify_listeners ;
 4010   atomic_long_t epoll_watches ;
 4011   unsigned long mq_bytes ;
 4012   unsigned long locked_shm ;
 4013   struct key *uid_keyring ;
 4014   struct key *session_keyring ;
 4015   struct hlist_node uidhash_node ;
 4016   uid_t uid ;
 4017   struct user_namespace *user_ns ;
 4018   atomic_long_t locked_vm ;
 4019};
 4020#line 728
 4021struct reclaim_state;
 4022#line 728
 4023struct reclaim_state;
 4024#line 728
 4025struct reclaim_state;
 4026#line 728
 4027struct reclaim_state;
 4028#line 729 "include/linux/sched.h"
 4029struct sched_info {
 4030   unsigned long pcount ;
 4031   unsigned long long run_delay ;
 4032   unsigned long long last_arrival ;
 4033   unsigned long long last_queued ;
 4034};
 4035#line 744 "include/linux/sched.h"
 4036struct task_delay_info {
 4037   spinlock_t lock ;
 4038   unsigned int flags ;
 4039   struct timespec blkio_start ;
 4040   struct timespec blkio_end ;
 4041   u64 blkio_delay ;
 4042   u64 swapin_delay ;
 4043   u32 blkio_count ;
 4044   u32 swapin_count ;
 4045   struct timespec freepages_start ;
 4046   struct timespec freepages_end ;
 4047   u64 freepages_delay ;
 4048   u32 freepages_count ;
 4049};
 4050#line 1037
 4051struct io_context;
 4052#line 1037
 4053struct io_context;
 4054#line 1037
 4055struct io_context;
 4056#line 1037
 4057struct io_context;
 4058#line 1060
 4059struct rq;
 4060#line 1060
 4061struct rq;
 4062#line 1060
 4063struct rq;
 4064#line 1060
 4065struct rq;
 4066#line 1061 "include/linux/sched.h"
 4067struct sched_class {
 4068   struct sched_class  const  *next ;
 4069   void (*enqueue_task)(struct rq * , struct task_struct * , int  ) ;
 4070   void (*dequeue_task)(struct rq * , struct task_struct * , int  ) ;
 4071   void (*yield_task)(struct rq * ) ;
 4072   bool (*yield_to_task)(struct rq * , struct task_struct * , bool  ) ;
 4073   void (*check_preempt_curr)(struct rq * , struct task_struct * , int  ) ;
 4074   struct task_struct *(*pick_next_task)(struct rq * ) ;
 4075   void (*put_prev_task)(struct rq * , struct task_struct * ) ;
 4076   int (*select_task_rq)(struct task_struct * , int  , int  ) ;
 4077   void (*pre_schedule)(struct rq * , struct task_struct * ) ;
 4078   void (*post_schedule)(struct rq * ) ;
 4079   void (*task_waking)(struct task_struct * ) ;
 4080   void (*task_woken)(struct rq * , struct task_struct * ) ;
 4081   void (*set_cpus_allowed)(struct task_struct * , struct cpumask  const  * ) ;
 4082   void (*rq_online)(struct rq * ) ;
 4083   void (*rq_offline)(struct rq * ) ;
 4084   void (*set_curr_task)(struct rq * ) ;
 4085   void (*task_tick)(struct rq * , struct task_struct * , int  ) ;
 4086   void (*task_fork)(struct task_struct * ) ;
 4087   void (*switched_from)(struct rq * , struct task_struct * ) ;
 4088   void (*switched_to)(struct rq * , struct task_struct * ) ;
 4089   void (*prio_changed)(struct rq * , struct task_struct * , int  ) ;
 4090   unsigned int (*get_rr_interval)(struct rq * , struct task_struct * ) ;
 4091   void (*task_move_group)(struct task_struct * , int  ) ;
 4092};
 4093#line 1127 "include/linux/sched.h"
 4094struct load_weight {
 4095   unsigned long weight ;
 4096   unsigned long inv_weight ;
 4097};
 4098#line 1132 "include/linux/sched.h"
 4099struct sched_statistics {
 4100   u64 wait_start ;
 4101   u64 wait_max ;
 4102   u64 wait_count ;
 4103   u64 wait_sum ;
 4104   u64 iowait_count ;
 4105   u64 iowait_sum ;
 4106   u64 sleep_start ;
 4107   u64 sleep_max ;
 4108   s64 sum_sleep_runtime ;
 4109   u64 block_start ;
 4110   u64 block_max ;
 4111   u64 exec_max ;
 4112   u64 slice_max ;
 4113   u64 nr_migrations_cold ;
 4114   u64 nr_failed_migrations_affine ;
 4115   u64 nr_failed_migrations_running ;
 4116   u64 nr_failed_migrations_hot ;
 4117   u64 nr_forced_migrations ;
 4118   u64 nr_wakeups ;
 4119   u64 nr_wakeups_sync ;
 4120   u64 nr_wakeups_migrate ;
 4121   u64 nr_wakeups_local ;
 4122   u64 nr_wakeups_remote ;
 4123   u64 nr_wakeups_affine ;
 4124   u64 nr_wakeups_affine_attempts ;
 4125   u64 nr_wakeups_passive ;
 4126   u64 nr_wakeups_idle ;
 4127};
 4128#line 1167 "include/linux/sched.h"
 4129struct sched_entity {
 4130   struct load_weight load ;
 4131   struct rb_node run_node ;
 4132   struct list_head group_node ;
 4133   unsigned int on_rq ;
 4134   u64 exec_start ;
 4135   u64 sum_exec_runtime ;
 4136   u64 vruntime ;
 4137   u64 prev_sum_exec_runtime ;
 4138   u64 nr_migrations ;
 4139   struct sched_statistics statistics ;
 4140   struct sched_entity *parent ;
 4141   struct cfs_rq *cfs_rq ;
 4142   struct cfs_rq *my_q ;
 4143};
 4144#line 1193
 4145struct rt_rq;
 4146#line 1193
 4147struct rt_rq;
 4148#line 1193
 4149struct rt_rq;
 4150#line 1193 "include/linux/sched.h"
 4151struct sched_rt_entity {
 4152   struct list_head run_list ;
 4153   unsigned long timeout ;
 4154   unsigned int time_slice ;
 4155   int nr_cpus_allowed ;
 4156   struct sched_rt_entity *back ;
 4157   struct sched_rt_entity *parent ;
 4158   struct rt_rq *rt_rq ;
 4159   struct rt_rq *my_q ;
 4160};
 4161#line 1217
 4162struct mem_cgroup;
 4163#line 1217
 4164struct mem_cgroup;
 4165#line 1217
 4166struct mem_cgroup;
 4167#line 1217 "include/linux/sched.h"
 4168struct memcg_batch_info {
 4169   int do_batch ;
 4170   struct mem_cgroup *memcg ;
 4171   unsigned long nr_pages ;
 4172   unsigned long memsw_nr_pages ;
 4173};
 4174#line 1569
 4175struct irqaction;
 4176#line 1569
 4177struct irqaction;
 4178#line 1569
 4179struct irqaction;
 4180#line 1569
 4181struct css_set;
 4182#line 1569
 4183struct css_set;
 4184#line 1569
 4185struct css_set;
 4186#line 1569
 4187struct compat_robust_list_head;
 4188#line 1569
 4189struct compat_robust_list_head;
 4190#line 1569
 4191struct compat_robust_list_head;
 4192#line 1569
 4193struct ftrace_ret_stack;
 4194#line 1569
 4195struct ftrace_ret_stack;
 4196#line 1569
 4197struct ftrace_ret_stack;
 4198#line 1569 "include/linux/sched.h"
 4199struct task_struct {
 4200   long volatile   state ;
 4201   void *stack ;
 4202   atomic_t usage ;
 4203   unsigned int flags ;
 4204   unsigned int ptrace ;
 4205   struct task_struct *wake_entry ;
 4206   int on_cpu ;
 4207   int on_rq ;
 4208   int prio ;
 4209   int static_prio ;
 4210   int normal_prio ;
 4211   unsigned int rt_priority ;
 4212   struct sched_class  const  *sched_class ;
 4213   struct sched_entity se ;
 4214   struct sched_rt_entity rt ;
 4215   struct hlist_head preempt_notifiers ;
 4216   unsigned char fpu_counter ;
 4217   unsigned int btrace_seq ;
 4218   unsigned int policy ;
 4219   cpumask_t cpus_allowed ;
 4220   struct sched_info sched_info ;
 4221   struct list_head tasks ;
 4222   struct plist_node pushable_tasks ;
 4223   struct mm_struct *mm ;
 4224   struct mm_struct *active_mm ;
 4225   unsigned char brk_randomized : 1 ;
 4226   int exit_state ;
 4227   int exit_code ;
 4228   int exit_signal ;
 4229   int pdeath_signal ;
 4230   unsigned int group_stop ;
 4231   unsigned int personality ;
 4232   unsigned char did_exec : 1 ;
 4233   unsigned char in_execve : 1 ;
 4234   unsigned char in_iowait : 1 ;
 4235   unsigned char sched_reset_on_fork : 1 ;
 4236   unsigned char sched_contributes_to_load : 1 ;
 4237   pid_t pid ;
 4238   pid_t tgid ;
 4239   unsigned long stack_canary ;
 4240   struct task_struct *real_parent ;
 4241   struct task_struct *parent ;
 4242   struct list_head children ;
 4243   struct list_head sibling ;
 4244   struct task_struct *group_leader ;
 4245   struct list_head ptraced ;
 4246   struct list_head ptrace_entry ;
 4247   struct pid_link pids[3U] ;
 4248   struct list_head thread_group ;
 4249   struct completion *vfork_done ;
 4250   int *set_child_tid ;
 4251   int *clear_child_tid ;
 4252   cputime_t utime ;
 4253   cputime_t stime ;
 4254   cputime_t utimescaled ;
 4255   cputime_t stimescaled ;
 4256   cputime_t gtime ;
 4257   cputime_t prev_utime ;
 4258   cputime_t prev_stime ;
 4259   unsigned long nvcsw ;
 4260   unsigned long nivcsw ;
 4261   struct timespec start_time ;
 4262   struct timespec real_start_time ;
 4263   unsigned long min_flt ;
 4264   unsigned long maj_flt ;
 4265   struct task_cputime cputime_expires ;
 4266   struct list_head cpu_timers[3U] ;
 4267   struct cred  const  *real_cred ;
 4268   struct cred  const  *cred ;
 4269   struct cred *replacement_session_keyring ;
 4270   char comm[16U] ;
 4271   int link_count ;
 4272   int total_link_count ;
 4273   struct sysv_sem sysvsem ;
 4274   unsigned long last_switch_count ;
 4275   struct thread_struct thread ;
 4276   struct fs_struct *fs ;
 4277   struct files_struct *files ;
 4278   struct nsproxy *nsproxy ;
 4279   struct signal_struct *signal ;
 4280   struct sighand_struct *sighand ;
 4281   sigset_t blocked ;
 4282   sigset_t real_blocked ;
 4283   sigset_t saved_sigmask ;
 4284   struct sigpending pending ;
 4285   unsigned long sas_ss_sp ;
 4286   size_t sas_ss_size ;
 4287   int (*notifier)(void * ) ;
 4288   void *notifier_data ;
 4289   sigset_t *notifier_mask ;
 4290   struct audit_context *audit_context ;
 4291   uid_t loginuid ;
 4292   unsigned int sessionid ;
 4293   seccomp_t seccomp ;
 4294   u32 parent_exec_id ;
 4295   u32 self_exec_id ;
 4296   spinlock_t alloc_lock ;
 4297   struct irqaction *irqaction ;
 4298   raw_spinlock_t pi_lock ;
 4299   struct plist_head pi_waiters ;
 4300   struct rt_mutex_waiter *pi_blocked_on ;
 4301   struct mutex_waiter *blocked_on ;
 4302   unsigned int irq_events ;
 4303   unsigned long hardirq_enable_ip ;
 4304   unsigned long hardirq_disable_ip ;
 4305   unsigned int hardirq_enable_event ;
 4306   unsigned int hardirq_disable_event ;
 4307   int hardirqs_enabled ;
 4308   int hardirq_context ;
 4309   unsigned long softirq_disable_ip ;
 4310   unsigned long softirq_enable_ip ;
 4311   unsigned int softirq_disable_event ;
 4312   unsigned int softirq_enable_event ;
 4313   int softirqs_enabled ;
 4314   int softirq_context ;
 4315   u64 curr_chain_key ;
 4316   int lockdep_depth ;
 4317   unsigned int lockdep_recursion ;
 4318   struct held_lock held_locks[48U] ;
 4319   gfp_t lockdep_reclaim_gfp ;
 4320   void *journal_info ;
 4321   struct bio_list *bio_list ;
 4322   struct blk_plug *plug ;
 4323   struct reclaim_state *reclaim_state ;
 4324   struct backing_dev_info *backing_dev_info ;
 4325   struct io_context *io_context ;
 4326   unsigned long ptrace_message ;
 4327   siginfo_t *last_siginfo ;
 4328   struct task_io_accounting ioac ;
 4329   u64 acct_rss_mem1 ;
 4330   u64 acct_vm_mem1 ;
 4331   cputime_t acct_timexpd ;
 4332   nodemask_t mems_allowed ;
 4333   int mems_allowed_change_disable ;
 4334   int cpuset_mem_spread_rotor ;
 4335   int cpuset_slab_spread_rotor ;
 4336   struct css_set *cgroups ;
 4337   struct list_head cg_list ;
 4338   struct robust_list_head *robust_list ;
 4339   struct compat_robust_list_head *compat_robust_list ;
 4340   struct list_head pi_state_list ;
 4341   struct futex_pi_state *pi_state_cache ;
 4342   struct perf_event_context *perf_event_ctxp[2U] ;
 4343   struct mutex perf_event_mutex ;
 4344   struct list_head perf_event_list ;
 4345   struct mempolicy *mempolicy ;
 4346   short il_next ;
 4347   short pref_node_fork ;
 4348   atomic_t fs_excl ;
 4349   struct rcu_head rcu ;
 4350   struct pipe_inode_info *splice_pipe ;
 4351   struct task_delay_info *delays ;
 4352   int make_it_fail ;
 4353   struct prop_local_single dirties ;
 4354   int latency_record_count ;
 4355   struct latency_record latency_record[32U] ;
 4356   unsigned long timer_slack_ns ;
 4357   unsigned long default_timer_slack_ns ;
 4358   struct list_head *scm_work_list ;
 4359   int curr_ret_stack ;
 4360   struct ftrace_ret_stack *ret_stack ;
 4361   unsigned long long ftrace_timestamp ;
 4362   atomic_t trace_overrun ;
 4363   atomic_t tracing_graph_pause ;
 4364   unsigned long trace ;
 4365   unsigned long trace_recursion ;
 4366   struct memcg_batch_info memcg_batch ;
 4367   atomic_t ptrace_bp_refcnt ;
 4368};
 4369#line 37 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
 4370typedef s32 compat_long_t;
 4371#line 196 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
 4372typedef u32 compat_uptr_t;
 4373#line 205 "include/linux/compat.h"
 4374struct compat_robust_list {
 4375   compat_uptr_t next ;
 4376};
 4377#line 209 "include/linux/compat.h"
 4378struct compat_robust_list_head {
 4379   struct compat_robust_list list ;
 4380   compat_long_t futex_offset ;
 4381   compat_uptr_t list_op_pending ;
 4382};
 4383#line 163 "include/linux/atmdev.h"
 4384struct atm_cirange {
 4385   signed char vpi_bits ;
 4386   signed char vci_bits ;
 4387};
 4388#line 172
 4389enum ldv_20488 {
 4390    SS_FREE = 0,
 4391    SS_UNCONNECTED = 1,
 4392    SS_CONNECTING = 2,
 4393    SS_CONNECTED = 3,
 4394    SS_DISCONNECTING = 4
 4395} ;
 4396#line 53 "include/linux/net.h"
 4397typedef enum ldv_20488 socket_state;
 4398#line 104 "include/linux/random.h"
 4399struct net;
 4400#line 104
 4401struct net;
 4402#line 104
 4403struct net;
 4404#line 104
 4405struct net;
 4406#line 121 "include/linux/random.h"
 4407struct socket_wq {
 4408   wait_queue_head_t wait ;
 4409   struct fasync_struct *fasync_list ;
 4410   struct rcu_head rcu ;
 4411};
 4412#line 127
 4413struct proto_ops;
 4414#line 127
 4415struct proto_ops;
 4416#line 127
 4417struct proto_ops;
 4418#line 127 "include/linux/random.h"
 4419struct socket {
 4420   socket_state state ;
 4421   short type ;
 4422   unsigned long flags ;
 4423   struct socket_wq *wq ;
 4424   struct file *file ;
 4425   struct sock *sk ;
 4426   struct proto_ops  const  *ops ;
 4427};
 4428#line 153 "include/linux/net.h"
 4429struct proto_ops {
 4430   int family ;
 4431   struct module *owner ;
 4432   int (*release)(struct socket * ) ;
 4433   int (*bind)(struct socket * , struct sockaddr * , int  ) ;
 4434   int (*connect)(struct socket * , struct sockaddr * , int  , int  ) ;
 4435   int (*socketpair)(struct socket * , struct socket * ) ;
 4436   int (*accept)(struct socket * , struct socket * , int  ) ;
 4437   int (*getname)(struct socket * , struct sockaddr * , int * , int  ) ;
 4438   unsigned int (*poll)(struct file * , struct socket * , struct poll_table_struct * ) ;
 4439   int (*ioctl)(struct socket * , unsigned int  , unsigned long  ) ;
 4440   int (*compat_ioctl)(struct socket * , unsigned int  , unsigned long  ) ;
 4441   int (*listen)(struct socket * , int  ) ;
 4442   int (*shutdown)(struct socket * , int  ) ;
 4443   int (*setsockopt)(struct socket * , int  , int  , char * , unsigned int  ) ;
 4444   int (*getsockopt)(struct socket * , int  , int  , char * , int * ) ;
 4445   int (*compat_setsockopt)(struct socket * , int  , int  , char * , unsigned int  ) ;
 4446   int (*compat_getsockopt)(struct socket * , int  , int  , char * , int * ) ;
 4447   int (*sendmsg)(struct kiocb * , struct socket * , struct msghdr * , size_t  ) ;
 4448   int (*recvmsg)(struct kiocb * , struct socket * , struct msghdr * , size_t  , int  ) ;
 4449   int (*mmap)(struct file * , struct socket * , struct vm_area_struct * ) ;
 4450   ssize_t (*sendpage)(struct socket * , struct page * , int  , size_t  , int  ) ;
 4451   ssize_t (*splice_read)(struct socket * , loff_t * , struct pipe_inode_info * ,
 4452                          size_t  , unsigned int  ) ;
 4453};
 4454#line 176 "include/linux/textsearch.h"
 4455struct exception_table_entry {
 4456   unsigned long insn ;
 4457   unsigned long fixup ;
 4458};
 4459#line 108 "include/net/checksum.h"
 4460struct sk_buff;
 4461#line 108
 4462struct sk_buff;
 4463#line 108
 4464struct sk_buff;
 4465#line 108
 4466struct sk_buff;
 4467#line 33 "include/linux/dmaengine.h"
 4468typedef s32 dma_cookie_t;
 4469#line 874
 4470struct net_device;
 4471#line 874
 4472struct net_device;
 4473#line 874
 4474struct net_device;
 4475#line 874
 4476struct net_device;
 4477#line 875 "include/linux/dmaengine.h"
 4478struct nf_conntrack {
 4479   atomic_t use ;
 4480};
 4481#line 102 "include/linux/skbuff.h"
 4482struct nf_bridge_info {
 4483   atomic_t use ;
 4484   struct net_device *physindev ;
 4485   struct net_device *physoutdev ;
 4486   unsigned int mask ;
 4487   unsigned long data[4U] ;
 4488};
 4489#line 112 "include/linux/skbuff.h"
 4490struct sk_buff_head {
 4491   struct sk_buff *next ;
 4492   struct sk_buff *prev ;
 4493   __u32 qlen ;
 4494   spinlock_t lock ;
 4495};
 4496#line 134
 4497struct skb_frag_struct;
 4498#line 134
 4499struct skb_frag_struct;
 4500#line 134
 4501struct skb_frag_struct;
 4502#line 134 "include/linux/skbuff.h"
 4503typedef struct skb_frag_struct skb_frag_t;
 4504#line 135 "include/linux/skbuff.h"
 4505struct skb_frag_struct {
 4506   struct page *page ;
 4507   __u32 page_offset ;
 4508   __u32 size ;
 4509};
 4510#line 142 "include/linux/skbuff.h"
 4511struct skb_shared_hwtstamps {
 4512   ktime_t hwtstamp ;
 4513   ktime_t syststamp ;
 4514};
 4515#line 183 "include/linux/skbuff.h"
 4516struct skb_shared_info {
 4517   unsigned short nr_frags ;
 4518   unsigned short gso_size ;
 4519   unsigned short gso_segs ;
 4520   unsigned short gso_type ;
 4521   __be32 ip6_frag_id ;
 4522   __u8 tx_flags ;
 4523   struct sk_buff *frag_list ;
 4524   struct skb_shared_hwtstamps hwtstamps ;
 4525   atomic_t dataref ;
 4526   void *destructor_arg ;
 4527   skb_frag_t frags[18U] ;
 4528};
 4529#line 259 "include/linux/skbuff.h"
 4530typedef unsigned int sk_buff_data_t;
 4531#line 260
 4532struct sec_path;
 4533#line 260
 4534struct sec_path;
 4535#line 260
 4536struct sec_path;
 4537#line 260 "include/linux/skbuff.h"
 4538struct __anonstruct_ldv_27921_191 {
 4539   __u16 csum_start ;
 4540   __u16 csum_offset ;
 4541};
 4542#line 260 "include/linux/skbuff.h"
 4543union __anonunion_ldv_27922_190 {
 4544   __wsum csum ;
 4545   struct __anonstruct_ldv_27921_191 ldv_27921 ;
 4546};
 4547#line 260 "include/linux/skbuff.h"
 4548union __anonunion_ldv_27952_192 {
 4549   __u32 mark ;
 4550   __u32 dropcount ;
 4551};
 4552#line 260 "include/linux/skbuff.h"
 4553struct sk_buff {
 4554   struct sk_buff *next ;
 4555   struct sk_buff *prev ;
 4556   ktime_t tstamp ;
 4557   struct sock *sk ;
 4558   struct net_device *dev ;
 4559   char cb[48U] ;
 4560   unsigned long _skb_refdst ;
 4561   struct sec_path *sp ;
 4562   unsigned int len ;
 4563   unsigned int data_len ;
 4564   __u16 mac_len ;
 4565   __u16 hdr_len ;
 4566   union __anonunion_ldv_27922_190 ldv_27922 ;
 4567   __u32 priority ;
 4568   unsigned char local_df : 1 ;
 4569   unsigned char cloned : 1 ;
 4570   unsigned char ip_summed : 2 ;
 4571   unsigned char nohdr : 1 ;
 4572   unsigned char nfctinfo : 3 ;
 4573   unsigned char pkt_type : 3 ;
 4574   unsigned char fclone : 2 ;
 4575   unsigned char ipvs_property : 1 ;
 4576   unsigned char peeked : 1 ;
 4577   unsigned char nf_trace : 1 ;
 4578   __be16 protocol ;
 4579   void (*destructor)(struct sk_buff * ) ;
 4580   struct nf_conntrack *nfct ;
 4581   struct sk_buff *nfct_reasm ;
 4582   struct nf_bridge_info *nf_bridge ;
 4583   int skb_iif ;
 4584   __u16 tc_index ;
 4585   __u16 tc_verd ;
 4586   __u32 rxhash ;
 4587   __u16 queue_mapping ;
 4588   unsigned char ndisc_nodetype : 2 ;
 4589   unsigned char ooo_okay : 1 ;
 4590   dma_cookie_t dma_cookie ;
 4591   __u32 secmark ;
 4592   union __anonunion_ldv_27952_192 ldv_27952 ;
 4593   __u16 vlan_tci ;
 4594   sk_buff_data_t transport_header ;
 4595   sk_buff_data_t network_header ;
 4596   sk_buff_data_t mac_header ;
 4597   sk_buff_data_t tail ;
 4598   sk_buff_data_t end ;
 4599   unsigned char *head ;
 4600   unsigned char *data ;
 4601   unsigned int truesize ;
 4602   atomic_t users ;
 4603};
 4604#line 450
 4605struct dst_entry;
 4606#line 450
 4607struct dst_entry;
 4608#line 450
 4609struct dst_entry;
 4610#line 485
 4611struct rtable;
 4612#line 485
 4613struct rtable;
 4614#line 485
 4615struct rtable;
 4616#line 2269
 4617struct hlist_nulls_node;
 4618#line 2269
 4619struct hlist_nulls_node;
 4620#line 2269
 4621struct hlist_nulls_node;
 4622#line 2269 "include/linux/skbuff.h"
 4623struct hlist_nulls_head {
 4624   struct hlist_nulls_node *first ;
 4625};
 4626#line 20 "include/linux/list_nulls.h"
 4627struct hlist_nulls_node {
 4628   struct hlist_nulls_node *next ;
 4629   struct hlist_nulls_node **pprev ;
 4630};
 4631#line 85 "include/linux/list_nulls.h"
 4632struct ethhdr {
 4633   unsigned char h_dest[6U] ;
 4634   unsigned char h_source[6U] ;
 4635   __be16 h_proto ;
 4636};
 4637#line 113 "include/linux/netlink.h"
 4638struct nlattr {
 4639   __u16 nla_len ;
 4640   __u16 nla_type ;
 4641};
 4642#line 39 "include/linux/if_link.h"
 4643struct rtnl_link_stats64 {
 4644   __u64 rx_packets ;
 4645   __u64 tx_packets ;
 4646   __u64 rx_bytes ;
 4647   __u64 tx_bytes ;
 4648   __u64 rx_errors ;
 4649   __u64 tx_errors ;
 4650   __u64 rx_dropped ;
 4651   __u64 tx_dropped ;
 4652   __u64 multicast ;
 4653   __u64 collisions ;
 4654   __u64 rx_length_errors ;
 4655   __u64 rx_over_errors ;
 4656   __u64 rx_crc_errors ;
 4657   __u64 rx_frame_errors ;
 4658   __u64 rx_fifo_errors ;
 4659   __u64 rx_missed_errors ;
 4660   __u64 tx_aborted_errors ;
 4661   __u64 tx_carrier_errors ;
 4662   __u64 tx_fifo_errors ;
 4663   __u64 tx_heartbeat_errors ;
 4664   __u64 tx_window_errors ;
 4665   __u64 rx_compressed ;
 4666   __u64 tx_compressed ;
 4667};
 4668#line 302 "include/linux/if_link.h"
 4669struct ifla_vf_info {
 4670   __u32 vf ;
 4671   __u8 mac[32U] ;
 4672   __u32 vlan ;
 4673   __u32 qos ;
 4674   __u32 tx_rate ;
 4675};
 4676#line 60 "include/linux/miscdevice.h"
 4677struct pm_qos_request_list {
 4678   struct plist_node list ;
 4679   int pm_qos_class ;
 4680};
 4681#line 54 "include/linux/delay.h"
 4682struct ethtool_cmd {
 4683   __u32 cmd ;
 4684   __u32 supported ;
 4685   __u32 advertising ;
 4686   __u16 speed ;
 4687   __u8 duplex ;
 4688   __u8 port ;
 4689   __u8 phy_address ;
 4690   __u8 transceiver ;
 4691   __u8 autoneg ;
 4692   __u8 mdio_support ;
 4693   __u32 maxtxpkt ;
 4694   __u32 maxrxpkt ;
 4695   __u16 speed_hi ;
 4696   __u8 eth_tp_mdix ;
 4697   __u8 reserved2 ;
 4698   __u32 lp_advertising ;
 4699   __u32 reserved[2U] ;
 4700};
 4701#line 61 "include/linux/ethtool.h"
 4702struct ethtool_drvinfo {
 4703   __u32 cmd ;
 4704   char driver[32U] ;
 4705   char version[32U] ;
 4706   char fw_version[32U] ;
 4707   char bus_info[32U] ;
 4708   char reserved1[32U] ;
 4709   char reserved2[12U] ;
 4710   __u32 n_priv_flags ;
 4711   __u32 n_stats ;
 4712   __u32 testinfo_len ;
 4713   __u32 eedump_len ;
 4714   __u32 regdump_len ;
 4715};
 4716#line 87 "include/linux/ethtool.h"
 4717struct ethtool_wolinfo {
 4718   __u32 cmd ;
 4719   __u32 supported ;
 4720   __u32 wolopts ;
 4721   __u8 sopass[6U] ;
 4722};
 4723#line 102 "include/linux/ethtool.h"
 4724struct ethtool_regs {
 4725   __u32 cmd ;
 4726   __u32 version ;
 4727   __u32 len ;
 4728   __u8 data[0U] ;
 4729};
 4730#line 110 "include/linux/ethtool.h"
 4731struct ethtool_eeprom {
 4732   __u32 cmd ;
 4733   __u32 magic ;
 4734   __u32 offset ;
 4735   __u32 len ;
 4736   __u8 data[0U] ;
 4737};
 4738#line 119 "include/linux/ethtool.h"
 4739struct ethtool_coalesce {
 4740   __u32 cmd ;
 4741   __u32 rx_coalesce_usecs ;
 4742   __u32 rx_max_coalesced_frames ;
 4743   __u32 rx_coalesce_usecs_irq ;
 4744   __u32 rx_max_coalesced_frames_irq ;
 4745   __u32 tx_coalesce_usecs ;
 4746   __u32 tx_max_coalesced_frames ;
 4747   __u32 tx_coalesce_usecs_irq ;
 4748   __u32 tx_max_coalesced_frames_irq ;
 4749   __u32 stats_block_coalesce_usecs ;
 4750   __u32 use_adaptive_rx_coalesce ;
 4751   __u32 use_adaptive_tx_coalesce ;
 4752   __u32 pkt_rate_low ;
 4753   __u32 rx_coalesce_usecs_low ;
 4754   __u32 rx_max_coalesced_frames_low ;
 4755   __u32 tx_coalesce_usecs_low ;
 4756   __u32 tx_max_coalesced_frames_low ;
 4757   __u32 pkt_rate_high ;
 4758   __u32 rx_coalesce_usecs_high ;
 4759   __u32 rx_max_coalesced_frames_high ;
 4760   __u32 tx_coalesce_usecs_high ;
 4761   __u32 tx_max_coalesced_frames_high ;
 4762   __u32 rate_sample_interval ;
 4763};
 4764#line 215 "include/linux/ethtool.h"
 4765struct ethtool_ringparam {
 4766   __u32 cmd ;
 4767   __u32 rx_max_pending ;
 4768   __u32 rx_mini_max_pending ;
 4769   __u32 rx_jumbo_max_pending ;
 4770   __u32 tx_max_pending ;
 4771   __u32 rx_pending ;
 4772   __u32 rx_mini_pending ;
 4773   __u32 rx_jumbo_pending ;
 4774   __u32 tx_pending ;
 4775};
 4776#line 237 "include/linux/ethtool.h"
 4777struct ethtool_channels {
 4778   __u32 cmd ;
 4779   __u32 max_rx ;
 4780   __u32 max_tx ;
 4781   __u32 max_other ;
 4782   __u32 max_combined ;
 4783   __u32 rx_count ;
 4784   __u32 tx_count ;
 4785   __u32 other_count ;
 4786   __u32 combined_count ;
 4787};
 4788#line 265 "include/linux/ethtool.h"
 4789struct ethtool_pauseparam {
 4790   __u32 cmd ;
 4791   __u32 autoneg ;
 4792   __u32 rx_pause ;
 4793   __u32 tx_pause ;
 4794};
 4795#line 314 "include/linux/ethtool.h"
 4796struct ethtool_test {
 4797   __u32 cmd ;
 4798   __u32 flags ;
 4799   __u32 reserved ;
 4800   __u32 len ;
 4801   __u64 data[0U] ;
 4802};
 4803#line 326 "include/linux/ethtool.h"
 4804struct ethtool_stats {
 4805   __u32 cmd ;
 4806   __u32 n_stats ;
 4807   __u64 data[0U] ;
 4808};
 4809#line 347 "include/linux/ethtool.h"
 4810struct ethtool_tcpip4_spec {
 4811   __be32 ip4src ;
 4812   __be32 ip4dst ;
 4813   __be16 psrc ;
 4814   __be16 pdst ;
 4815   __u8 tos ;
 4816};
 4817#line 380 "include/linux/ethtool.h"
 4818struct ethtool_ah_espip4_spec {
 4819   __be32 ip4src ;
 4820   __be32 ip4dst ;
 4821   __be32 spi ;
 4822   __u8 tos ;
 4823};
 4824#line 396 "include/linux/ethtool.h"
 4825struct ethtool_usrip4_spec {
 4826   __be32 ip4src ;
 4827   __be32 ip4dst ;
 4828   __be32 l4_4_bytes ;
 4829   __u8 tos ;
 4830   __u8 ip_ver ;
 4831   __u8 proto ;
 4832};
 4833#line 416 "include/linux/ethtool.h"
 4834union ethtool_flow_union {
 4835   struct ethtool_tcpip4_spec tcp_ip4_spec ;
 4836   struct ethtool_tcpip4_spec udp_ip4_spec ;
 4837   struct ethtool_tcpip4_spec sctp_ip4_spec ;
 4838   struct ethtool_ah_espip4_spec ah_ip4_spec ;
 4839   struct ethtool_ah_espip4_spec esp_ip4_spec ;
 4840   struct ethtool_usrip4_spec usr_ip4_spec ;
 4841   struct ethhdr ether_spec ;
 4842   __u8 hdata[60U] ;
 4843};
 4844#line 427 "include/linux/ethtool.h"
 4845struct ethtool_flow_ext {
 4846   __be16 vlan_etype ;
 4847   __be16 vlan_tci ;
 4848   __be32 data[2U] ;
 4849};
 4850#line 433 "include/linux/ethtool.h"
 4851struct ethtool_rx_flow_spec {
 4852   __u32 flow_type ;
 4853   union ethtool_flow_union h_u ;
 4854   struct ethtool_flow_ext h_ext ;
 4855   union ethtool_flow_union m_u ;
 4856   struct ethtool_flow_ext m_ext ;
 4857   __u64 ring_cookie ;
 4858   __u32 location ;
 4859};
 4860#line 456 "include/linux/ethtool.h"
 4861struct ethtool_rxnfc {
 4862   __u32 cmd ;
 4863   __u32 flow_type ;
 4864   __u64 data ;
 4865   struct ethtool_rx_flow_spec fs ;
 4866   __u32 rule_cnt ;
 4867   __u32 rule_locs[0U] ;
 4868};
 4869#line 526 "include/linux/ethtool.h"
 4870struct ethtool_rxfh_indir {
 4871   __u32 cmd ;
 4872   __u32 size ;
 4873   __u32 ring_index[0U] ;
 4874};
 4875#line 542 "include/linux/ethtool.h"
 4876union __anonunion_h_u_193 {
 4877   struct ethtool_tcpip4_spec tcp_ip4_spec ;
 4878   struct ethtool_tcpip4_spec udp_ip4_spec ;
 4879   struct ethtool_tcpip4_spec sctp_ip4_spec ;
 4880   struct ethtool_ah_espip4_spec ah_ip4_spec ;
 4881   struct ethtool_ah_espip4_spec esp_ip4_spec ;
 4882   struct ethtool_usrip4_spec usr_ip4_spec ;
 4883   struct ethhdr ether_spec ;
 4884   __u8 hdata[72U] ;
 4885};
 4886#line 542 "include/linux/ethtool.h"
 4887union __anonunion_m_u_194 {
 4888   struct ethtool_tcpip4_spec tcp_ip4_spec ;
 4889   struct ethtool_tcpip4_spec udp_ip4_spec ;
 4890   struct ethtool_tcpip4_spec sctp_ip4_spec ;
 4891   struct ethtool_ah_espip4_spec ah_ip4_spec ;
 4892   struct ethtool_ah_espip4_spec esp_ip4_spec ;
 4893   struct ethtool_usrip4_spec usr_ip4_spec ;
 4894   struct ethhdr ether_spec ;
 4895   __u8 hdata[72U] ;
 4896};
 4897#line 542 "include/linux/ethtool.h"
 4898struct ethtool_rx_ntuple_flow_spec {
 4899   __u32 flow_type ;
 4900   union __anonunion_h_u_193 h_u ;
 4901   union __anonunion_m_u_194 m_u ;
 4902   __u16 vlan_tag ;
 4903   __u16 vlan_tag_mask ;
 4904   __u64 data ;
 4905   __u64 data_mask ;
 4906   __s32 action ;
 4907};
 4908#line 579 "include/linux/ethtool.h"
 4909struct ethtool_rx_ntuple {
 4910   __u32 cmd ;
 4911   struct ethtool_rx_ntuple_flow_spec fs ;
 4912};
 4913#line 595 "include/linux/ethtool.h"
 4914struct ethtool_flash {
 4915   __u32 cmd ;
 4916   __u32 region ;
 4917   char data[128U] ;
 4918};
 4919#line 603 "include/linux/ethtool.h"
 4920struct ethtool_dump {
 4921   __u32 cmd ;
 4922   __u32 version ;
 4923   __u32 flag ;
 4924   __u32 len ;
 4925   __u8 data[0U] ;
 4926};
 4927#line 721 "include/linux/ethtool.h"
 4928struct ethtool_rx_ntuple_list {
 4929   struct list_head list ;
 4930   unsigned int count ;
 4931};
 4932#line 728
 4933enum ethtool_phys_id_state {
 4934    ETHTOOL_ID_INACTIVE = 0,
 4935    ETHTOOL_ID_ACTIVE = 1,
 4936    ETHTOOL_ID_ON = 2,
 4937    ETHTOOL_ID_OFF = 3
 4938} ;
 4939#line 763 "include/linux/ethtool.h"
 4940struct ethtool_ops {
 4941   int (*get_settings)(struct net_device * , struct ethtool_cmd * ) ;
 4942   int (*set_settings)(struct net_device * , struct ethtool_cmd * ) ;
 4943   void (*get_drvinfo)(struct net_device * , struct ethtool_drvinfo * ) ;
 4944   int (*get_regs_len)(struct net_device * ) ;
 4945   void (*get_regs)(struct net_device * , struct ethtool_regs * , void * ) ;
 4946   void (*get_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
 4947   int (*set_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
 4948   u32 (*get_msglevel)(struct net_device * ) ;
 4949   void (*set_msglevel)(struct net_device * , u32  ) ;
 4950   int (*nway_reset)(struct net_device * ) ;
 4951   u32 (*get_link)(struct net_device * ) ;
 4952   int (*get_eeprom_len)(struct net_device * ) ;
 4953   int (*get_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
 4954   int (*set_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
 4955   int (*get_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
 4956   int (*set_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
 4957   void (*get_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
 4958   int (*set_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
 4959   void (*get_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
 4960   int (*set_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
 4961   u32 (*get_rx_csum)(struct net_device * ) ;
 4962   int (*set_rx_csum)(struct net_device * , u32  ) ;
 4963   u32 (*get_tx_csum)(struct net_device * ) ;
 4964   int (*set_tx_csum)(struct net_device * , u32  ) ;
 4965   u32 (*get_sg)(struct net_device * ) ;
 4966   int (*set_sg)(struct net_device * , u32  ) ;
 4967   u32 (*get_tso)(struct net_device * ) ;
 4968   int (*set_tso)(struct net_device * , u32  ) ;
 4969   void (*self_test)(struct net_device * , struct ethtool_test * , u64 * ) ;
 4970   void (*get_strings)(struct net_device * , u32  , u8 * ) ;
 4971   int (*set_phys_id)(struct net_device * , enum ethtool_phys_id_state  ) ;
 4972   void (*get_ethtool_stats)(struct net_device * , struct ethtool_stats * , u64 * ) ;
 4973   int (*begin)(struct net_device * ) ;
 4974   void (*complete)(struct net_device * ) ;
 4975   u32 (*get_ufo)(struct net_device * ) ;
 4976   int (*set_ufo)(struct net_device * , u32  ) ;
 4977   u32 (*get_flags)(struct net_device * ) ;
 4978   int (*set_flags)(struct net_device * , u32  ) ;
 4979   u32 (*get_priv_flags)(struct net_device * ) ;
 4980   int (*set_priv_flags)(struct net_device * , u32  ) ;
 4981   int (*get_sset_count)(struct net_device * , int  ) ;
 4982   int (*get_rxnfc)(struct net_device * , struct ethtool_rxnfc * , void * ) ;
 4983   int (*set_rxnfc)(struct net_device * , struct ethtool_rxnfc * ) ;
 4984   int (*flash_device)(struct net_device * , struct ethtool_flash * ) ;
 4985   int (*reset)(struct net_device * , u32 * ) ;
 4986   int (*set_rx_ntuple)(struct net_device * , struct ethtool_rx_ntuple * ) ;
 4987   int (*get_rx_ntuple)(struct net_device * , u32  , void * ) ;
 4988   int (*get_rxfh_indir)(struct net_device * , struct ethtool_rxfh_indir * ) ;
 4989   int (*set_rxfh_indir)(struct net_device * , struct ethtool_rxfh_indir  const  * ) ;
 4990   void (*get_channels)(struct net_device * , struct ethtool_channels * ) ;
 4991   int (*set_channels)(struct net_device * , struct ethtool_channels * ) ;
 4992   int (*get_dump_flag)(struct net_device * , struct ethtool_dump * ) ;
 4993   int (*get_dump_data)(struct net_device * , struct ethtool_dump * , void * ) ;
 4994   int (*set_dump)(struct net_device * , struct ethtool_dump * ) ;
 4995};
 4996#line 972
 4997struct prot_inuse;
 4998#line 972
 4999struct prot_inuse;
 5000#line 972
 5001struct prot_inuse;
 5002#line 972
 5003struct prot_inuse;
 5004#line 973 "include/linux/ethtool.h"
 5005struct netns_core {
 5006   struct ctl_table_header *sysctl_hdr ;
 5007   int sysctl_somaxconn ;
 5008   struct prot_inuse *inuse ;
 5009};
 5010#line 38 "include/net/snmp.h"
 5011struct u64_stats_sync {
 5012
 5013};
 5014#line 138 "include/linux/u64_stats_sync.h"
 5015struct ipstats_mib {
 5016   u64 mibs[31U] ;
 5017   struct u64_stats_sync syncp ;
 5018};
 5019#line 61 "include/net/snmp.h"
 5020struct icmp_mib {
 5021   unsigned long mibs[27U] ;
 5022};
 5023#line 67 "include/net/snmp.h"
 5024struct icmpmsg_mib {
 5025   unsigned long mibs[512U] ;
 5026};
 5027#line 72 "include/net/snmp.h"
 5028struct icmpv6_mib {
 5029   unsigned long mibs[5U] ;
 5030};
 5031#line 83 "include/net/snmp.h"
 5032struct icmpv6msg_mib {
 5033   unsigned long mibs[512U] ;
 5034};
 5035#line 93 "include/net/snmp.h"
 5036struct tcp_mib {
 5037   unsigned long mibs[15U] ;
 5038};
 5039#line 100 "include/net/snmp.h"
 5040struct udp_mib {
 5041   unsigned long mibs[7U] ;
 5042};
 5043#line 106 "include/net/snmp.h"
 5044struct linux_mib {
 5045   unsigned long mibs[80U] ;
 5046};
 5047#line 112 "include/net/snmp.h"
 5048struct linux_xfrm_mib {
 5049   unsigned long mibs[27U] ;
 5050};
 5051#line 118 "include/net/snmp.h"
 5052struct netns_mib {
 5053   struct tcp_mib *tcp_statistics[2U] ;
 5054   struct ipstats_mib *ip_statistics[2U] ;
 5055   struct linux_mib *net_statistics[2U] ;
 5056   struct udp_mib *udp_statistics[2U] ;
 5057   struct udp_mib *udplite_statistics[2U] ;
 5058   struct icmp_mib *icmp_statistics[2U] ;
 5059   struct icmpmsg_mib *icmpmsg_statistics[2U] ;
 5060   struct proc_dir_entry *proc_net_devsnmp6 ;
 5061   struct udp_mib *udp_stats_in6[2U] ;
 5062   struct udp_mib *udplite_stats_in6[2U] ;
 5063   struct ipstats_mib *ipv6_statistics[2U] ;
 5064   struct icmpv6_mib *icmpv6_statistics[2U] ;
 5065   struct icmpv6msg_mib *icmpv6msg_statistics[2U] ;
 5066   struct linux_xfrm_mib *xfrm_statistics[2U] ;
 5067};
 5068#line 26 "include/net/netns/mib.h"
 5069struct netns_unix {
 5070   int sysctl_max_dgram_qlen ;
 5071   struct ctl_table_header *ctl ;
 5072};
 5073#line 12 "include/net/netns/unix.h"
 5074struct netns_packet {
 5075   spinlock_t sklist_lock ;
 5076   struct hlist_head sklist ;
 5077};
 5078#line 14 "include/net/netns/packet.h"
 5079struct netns_frags {
 5080   int nqueues ;
 5081   atomic_t mem ;
 5082   struct list_head lru_list ;
 5083   int timeout ;
 5084   int high_thresh ;
 5085   int low_thresh ;
 5086};
 5087#line 73 "include/net/inet_frag.h"
 5088struct ipv4_devconf;
 5089#line 73
 5090struct ipv4_devconf;
 5091#line 73
 5092struct ipv4_devconf;
 5093#line 73
 5094struct ipv4_devconf;
 5095#line 74
 5096struct fib_rules_ops;
 5097#line 74
 5098struct fib_rules_ops;
 5099#line 74
 5100struct fib_rules_ops;
 5101#line 74
 5102struct fib_rules_ops;
 5103#line 75
 5104struct xt_table;
 5105#line 75
 5106struct xt_table;
 5107#line 75
 5108struct xt_table;
 5109#line 75 "include/net/inet_frag.h"
 5110struct netns_ipv4 {
 5111   struct ctl_table_header *forw_hdr ;
 5112   struct ctl_table_header *frags_hdr ;
 5113   struct ctl_table_header *ipv4_hdr ;
 5114   struct ctl_table_header *route_hdr ;
 5115   struct ipv4_devconf *devconf_all ;
 5116   struct ipv4_devconf *devconf_dflt ;
 5117   struct fib_rules_ops *rules_ops ;
 5118   struct hlist_head *fib_table_hash ;
 5119   struct sock *fibnl ;
 5120   struct sock **icmp_sk ;
 5121   struct sock *tcp_sock ;
 5122   struct netns_frags frags ;
 5123   struct xt_table *iptable_filter ;
 5124   struct xt_table *iptable_mangle ;
 5125   struct xt_table *iptable_raw ;
 5126   struct xt_table *arptable_filter ;
 5127   struct xt_table *iptable_security ;
 5128   struct xt_table *nat_table ;
 5129   struct hlist_head *nat_bysource ;
 5130   unsigned int nat_htable_size ;
 5131   int sysctl_icmp_echo_ignore_all ;
 5132   int sysctl_icmp_echo_ignore_broadcasts ;
 5133   int sysctl_icmp_ignore_bogus_error_responses ;
 5134   int sysctl_icmp_ratelimit ;
 5135   int sysctl_icmp_ratemask ;
 5136   int sysctl_icmp_errors_use_inbound_ifaddr ;
 5137   int sysctl_rt_cache_rebuild_count ;
 5138   int current_rt_cache_rebuild_count ;
 5139   unsigned int sysctl_ping_group_range[2U] ;
 5140   atomic_t rt_genid ;
 5141   atomic_t dev_addr_genid ;
 5142   struct list_head mr_tables ;
 5143   struct fib_rules_ops *mr_rules_ops ;
 5144};
 5145#line 70 "include/net/netns/ipv4.h"
 5146struct dst_ops {
 5147   unsigned short family ;
 5148   __be16 protocol ;
 5149   unsigned int gc_thresh ;
 5150   int (*gc)(struct dst_ops * ) ;
 5151   struct dst_entry *(*check)(struct dst_entry * , __u32  ) ;
 5152   unsigned int (*default_advmss)(struct dst_entry  const  * ) ;
 5153   unsigned int (*default_mtu)(struct dst_entry  const  * ) ;
 5154   u32 *(*cow_metrics)(struct dst_entry * , unsigned long  ) ;
 5155   void (*destroy)(struct dst_entry * ) ;
 5156   void (*ifdown)(struct dst_entry * , struct net_device * , int  ) ;
 5157   struct dst_entry *(*negative_advice)(struct dst_entry * ) ;
 5158   void (*link_failure)(struct sk_buff * ) ;
 5159   void (*update_pmtu)(struct dst_entry * , u32  ) ;
 5160   int (*local_out)(struct sk_buff * ) ;
 5161   struct kmem_cache *kmem_cachep ;
 5162   struct percpu_counter pcpuc_entries ;
 5163};
 5164#line 66 "include/net/dst_ops.h"
 5165struct netns_sysctl_ipv6 {
 5166   struct ctl_table_header *table ;
 5167   struct ctl_table_header *frags_hdr ;
 5168   int bindv6only ;
 5169   int flush_delay ;
 5170   int ip6_rt_max_size ;
 5171   int ip6_rt_gc_min_interval ;
 5172   int ip6_rt_gc_timeout ;
 5173   int ip6_rt_gc_interval ;
 5174   int ip6_rt_gc_elasticity ;
 5175   int ip6_rt_mtu_expires ;
 5176   int ip6_rt_min_advmss ;
 5177   int icmpv6_time ;
 5178};
 5179#line 29 "include/net/netns/ipv6.h"
 5180struct ipv6_devconf;
 5181#line 29
 5182struct ipv6_devconf;
 5183#line 29
 5184struct ipv6_devconf;
 5185#line 29
 5186struct rt6_info;
 5187#line 29
 5188struct rt6_info;
 5189#line 29
 5190struct rt6_info;
 5191#line 29
 5192struct rt6_statistics;
 5193#line 29
 5194struct rt6_statistics;
 5195#line 29
 5196struct rt6_statistics;
 5197#line 29
 5198struct fib6_table;
 5199#line 29
 5200struct fib6_table;
 5201#line 29
 5202struct fib6_table;
 5203#line 29 "include/net/netns/ipv6.h"
 5204struct netns_ipv6 {
 5205   struct netns_sysctl_ipv6 sysctl ;
 5206   struct ipv6_devconf *devconf_all ;
 5207   struct ipv6_devconf *devconf_dflt ;
 5208   struct netns_frags frags ;
 5209   struct xt_table *ip6table_filter ;
 5210   struct xt_table *ip6table_mangle ;
 5211   struct xt_table *ip6table_raw ;
 5212   struct xt_table *ip6table_security ;
 5213   struct rt6_info *ip6_null_entry ;
 5214   struct rt6_statistics *rt6_stats ;
 5215   struct timer_list ip6_fib_timer ;
 5216   struct hlist_head *fib_table_hash ;
 5217   struct fib6_table *fib6_main_tbl ;
 5218   struct dst_ops ip6_dst_ops ;
 5219   unsigned int ip6_rt_gc_expire ;
 5220   unsigned long ip6_rt_last_gc ;
 5221   struct rt6_info *ip6_prohibit_entry ;
 5222   struct rt6_info *ip6_blk_hole_entry ;
 5223   struct fib6_table *fib6_local_tbl ;
 5224   struct fib_rules_ops *fib6_rules_ops ;
 5225   struct sock **icmp_sk ;
 5226   struct sock *ndisc_sk ;
 5227   struct sock *tcp_sk ;
 5228   struct sock *igmp_sk ;
 5229   struct list_head mr6_tables ;
 5230   struct fib_rules_ops *mr6_rules_ops ;
 5231};
 5232#line 68 "include/net/netns/ipv6.h"
 5233struct netns_dccp {
 5234   struct sock *v4_ctl_sk ;
 5235   struct sock *v6_ctl_sk ;
 5236};
 5237#line 46 "include/linux/proc_fs.h"
 5238typedef int read_proc_t(char * , char ** , off_t  , int  , int * , void * );
 5239#line 48 "include/linux/proc_fs.h"
 5240typedef int write_proc_t(struct file * , char const   * , unsigned long  , void * );
 5241#line 49 "include/linux/proc_fs.h"
 5242struct proc_dir_entry {
 5243   unsigned int low_ino ;
 5244   unsigned int namelen ;
 5245   char const   *name ;
 5246   mode_t mode ;
 5247   nlink_t nlink ;
 5248   uid_t uid ;
 5249   gid_t gid ;
 5250   loff_t size ;
 5251   struct inode_operations  const  *proc_iops ;
 5252   struct file_operations  const  *proc_fops ;
 5253   struct proc_dir_entry *next ;
 5254   struct proc_dir_entry *parent ;
 5255   struct proc_dir_entry *subdir ;
 5256   void *data ;
 5257   read_proc_t *read_proc ;
 5258   write_proc_t *write_proc ;
 5259   atomic_t count ;
 5260   int pde_users ;
 5261   spinlock_t pde_unload_lock ;
 5262   struct completion *pde_unload_completion ;
 5263   struct list_head pde_openers ;
 5264};
 5265#line 376 "include/linux/netfilter.h"
 5266struct ebt_table;
 5267#line 376
 5268struct ebt_table;
 5269#line 376
 5270struct ebt_table;
 5271#line 376
 5272struct ebt_table;
 5273#line 377 "include/linux/netfilter.h"
 5274struct netns_xt {
 5275   struct list_head tables[13U] ;
 5276   struct ebt_table *broute_table ;
 5277   struct ebt_table *frame_filter ;
 5278   struct ebt_table *frame_nat ;
 5279};
 5280#line 18 "include/net/netns/x_tables.h"
 5281struct ip_conntrack_stat;
 5282#line 18
 5283struct ip_conntrack_stat;
 5284#line 18
 5285struct ip_conntrack_stat;
 5286#line 18 "include/net/netns/x_tables.h"
 5287struct netns_ct {
 5288   atomic_t count ;
 5289   unsigned int expect_count ;
 5290   unsigned int htable_size ;
 5291   struct kmem_cache *nf_conntrack_cachep ;
 5292   struct hlist_nulls_head *hash ;
 5293   struct hlist_head *expect_hash ;
 5294   struct hlist_nulls_head unconfirmed ;
 5295   struct hlist_nulls_head dying ;
 5296   struct ip_conntrack_stat *stat ;
 5297   int sysctl_events ;
 5298   unsigned int sysctl_events_retry_timeout ;
 5299   int sysctl_acct ;
 5300   int sysctl_tstamp ;
 5301   int sysctl_checksum ;
 5302   unsigned int sysctl_log_invalid ;
 5303   struct ctl_table_header *sysctl_header ;
 5304   struct ctl_table_header *acct_sysctl_header ;
 5305   struct ctl_table_header *tstamp_sysctl_header ;
 5306   struct ctl_table_header *event_sysctl_header ;
 5307   char *slabname ;
 5308};
 5309#line 484 "include/linux/xfrm.h"
 5310struct xfrm_policy_hash {
 5311   struct hlist_head *table ;
 5312   unsigned int hmask ;
 5313};
 5314#line 16 "include/net/netns/xfrm.h"
 5315struct netns_xfrm {
 5316   struct list_head state_all ;
 5317   struct hlist_head *state_bydst ;
 5318   struct hlist_head *state_bysrc ;
 5319   struct hlist_head *state_byspi ;
 5320   unsigned int state_hmask ;
 5321   unsigned int state_num ;
 5322   struct work_struct state_hash_work ;
 5323   struct hlist_head state_gc_list ;
 5324   struct work_struct state_gc_work ;
 5325   wait_queue_head_t km_waitq ;
 5326   struct list_head policy_all ;
 5327   struct hlist_head *policy_byidx ;
 5328   unsigned int policy_idx_hmask ;
 5329   struct hlist_head policy_inexact[6U] ;
 5330   struct xfrm_policy_hash policy_bydst[6U] ;
 5331   unsigned int policy_count[6U] ;
 5332   struct work_struct policy_hash_work ;
 5333   struct sock *nlsk ;
 5334   struct sock *nlsk_stash ;
 5335   u32 sysctl_aevent_etime ;
 5336   u32 sysctl_aevent_rseqth ;
 5337   int sysctl_larval_drop ;
 5338   u32 sysctl_acq_expires ;
 5339   struct ctl_table_header *sysctl_hdr ;
 5340   struct dst_ops xfrm4_dst_ops ;
 5341   struct dst_ops xfrm6_dst_ops ;
 5342};
 5343#line 62
 5344struct net_generic;
 5345#line 62
 5346struct net_generic;
 5347#line 62
 5348struct net_generic;
 5349#line 62
 5350struct net_generic;
 5351#line 63
 5352struct netns_ipvs;
 5353#line 63
 5354struct netns_ipvs;
 5355#line 63
 5356struct netns_ipvs;
 5357#line 63
 5358struct netns_ipvs;
 5359#line 64 "include/net/netns/xfrm.h"
 5360struct net {
 5361   atomic_t passive ;
 5362   atomic_t count ;
 5363   spinlock_t rules_mod_lock ;
 5364   struct list_head list ;
 5365   struct list_head cleanup_list ;
 5366   struct list_head exit_list ;
 5367   struct proc_dir_entry *proc_net ;
 5368   struct proc_dir_entry *proc_net_stat ;
 5369   struct ctl_table_set sysctls ;
 5370   struct sock *rtnl ;
 5371   struct sock *genl_sock ;
 5372   struct list_head dev_base_head ;
 5373   struct hlist_head *dev_name_head ;
 5374   struct hlist_head *dev_index_head ;
 5375   struct list_head rules_ops ;
 5376   struct net_device *loopback_dev ;
 5377   struct netns_core core ;
 5378   struct netns_mib mib ;
 5379   struct netns_packet packet ;
 5380   struct netns_unix unx ;
 5381   struct netns_ipv4 ipv4 ;
 5382   struct netns_ipv6 ipv6 ;
 5383   struct netns_dccp dccp ;
 5384   struct netns_xt xt ;
 5385   struct netns_ct ct ;
 5386   struct sock *nfnl ;
 5387   struct sock *nfnl_stash ;
 5388   struct sk_buff_head wext_nlevents ;
 5389   struct net_generic *gen ;
 5390   struct netns_xfrm xfrm ;
 5391   struct netns_ipvs *ipvs ;
 5392};
 5393#line 104 "include/net/net_namespace.h"
 5394struct seq_file {
 5395   char *buf ;
 5396   size_t size ;
 5397   size_t from ;
 5398   size_t count ;
 5399   loff_t index ;
 5400   loff_t read_pos ;
 5401   u64 version ;
 5402   struct mutex lock ;
 5403   struct seq_operations  const  *op ;
 5404   void *private ;
 5405};
 5406#line 28 "include/linux/seq_file.h"
 5407struct seq_operations {
 5408   void *(*start)(struct seq_file * , loff_t * ) ;
 5409   void (*stop)(struct seq_file * , void * ) ;
 5410   void *(*next)(struct seq_file * , void * , loff_t * ) ;
 5411   int (*show)(struct seq_file * , void * ) ;
 5412};
 5413#line 59 "include/net/dsa.h"
 5414struct ieee_ets {
 5415   __u8 willing ;
 5416   __u8 ets_cap ;
 5417   __u8 cbs ;
 5418   __u8 tc_tx_bw[8U] ;
 5419   __u8 tc_rx_bw[8U] ;
 5420   __u8 tc_tsa[8U] ;
 5421   __u8 prio_tc[8U] ;
 5422   __u8 tc_reco_bw[8U] ;
 5423   __u8 tc_reco_tsa[8U] ;
 5424   __u8 reco_prio_tc[8U] ;
 5425};
 5426#line 69 "include/linux/dcbnl.h"
 5427struct ieee_pfc {
 5428   __u8 pfc_cap ;
 5429   __u8 pfc_en ;
 5430   __u8 mbc ;
 5431   __u16 delay ;
 5432   __u64 requests[8U] ;
 5433   __u64 indications[8U] ;
 5434};
 5435#line 89 "include/linux/dcbnl.h"
 5436struct cee_pg {
 5437   __u8 willing ;
 5438   __u8 error ;
 5439   __u8 pg_en ;
 5440   __u8 tcs_supported ;
 5441   __u8 pg_bw[8U] ;
 5442   __u8 prio_pg[8U] ;
 5443};
 5444#line 112 "include/linux/dcbnl.h"
 5445struct cee_pfc {
 5446   __u8 willing ;
 5447   __u8 error ;
 5448   __u8 pfc_en ;
 5449   __u8 tcs_supported ;
 5450};
 5451#line 127 "include/linux/dcbnl.h"
 5452struct dcb_app {
 5453   __u8 selector ;
 5454   __u8 priority ;
 5455   __u16 protocol ;
 5456};
 5457#line 156 "include/linux/dcbnl.h"
 5458struct dcb_peer_app_info {
 5459   __u8 willing ;
 5460   __u8 error ;
 5461};
 5462#line 33 "include/net/dcbnl.h"
 5463struct dcbnl_rtnl_ops {
 5464   int (*ieee_getets)(struct net_device * , struct ieee_ets * ) ;
 5465   int (*ieee_setets)(struct net_device * , struct ieee_ets * ) ;
 5466   int (*ieee_getpfc)(struct net_device * , struct ieee_pfc * ) ;
 5467   int (*ieee_setpfc)(struct net_device * , struct ieee_pfc * ) ;
 5468   int (*ieee_getapp)(struct net_device * , struct dcb_app * ) ;
 5469   int (*ieee_setapp)(struct net_device * , struct dcb_app * ) ;
 5470   int (*ieee_peer_getets)(struct net_device * , struct ieee_ets * ) ;
 5471   int (*ieee_peer_getpfc)(struct net_device * , struct ieee_pfc * ) ;
 5472   u8 (*getstate)(struct net_device * ) ;
 5473   u8 (*setstate)(struct net_device * , u8  ) ;
 5474   void (*getpermhwaddr)(struct net_device * , u8 * ) ;
 5475   void (*setpgtccfgtx)(struct net_device * , int  , u8  , u8  , u8  , u8  ) ;
 5476   void (*setpgbwgcfgtx)(struct net_device * , int  , u8  ) ;
 5477   void (*setpgtccfgrx)(struct net_device * , int  , u8  , u8  , u8  , u8  ) ;
 5478   void (*setpgbwgcfgrx)(struct net_device * , int  , u8  ) ;
 5479   void (*getpgtccfgtx)(struct net_device * , int  , u8 * , u8 * , u8 * , u8 * ) ;
 5480   void (*getpgbwgcfgtx)(struct net_device * , int  , u8 * ) ;
 5481   void (*getpgtccfgrx)(struct net_device * , int  , u8 * , u8 * , u8 * , u8 * ) ;
 5482   void (*getpgbwgcfgrx)(struct net_device * , int  , u8 * ) ;
 5483   void (*setpfccfg)(struct net_device * , int  , u8  ) ;
 5484   void (*getpfccfg)(struct net_device * , int  , u8 * ) ;
 5485   u8 (*setall)(struct net_device * ) ;
 5486   u8 (*getcap)(struct net_device * , int  , u8 * ) ;
 5487   u8 (*getnumtcs)(struct net_device * , int  , u8 * ) ;
 5488   u8 (*setnumtcs)(struct net_device * , int  , u8  ) ;
 5489   u8 (*getpfcstate)(struct net_device * ) ;
 5490   void (*setpfcstate)(struct net_device * , u8  ) ;
 5491   void (*getbcncfg)(struct net_device * , int  , u32 * ) ;
 5492   void (*setbcncfg)(struct net_device * , int  , u32  ) ;
 5493   void (*getbcnrp)(struct net_device * , int  , u8 * ) ;
 5494   void (*setbcnrp)(struct net_device * , int  , u8  ) ;
 5495   u8 (*setapp)(struct net_device * , u8  , u16  , u8  ) ;
 5496   u8 (*getapp)(struct net_device * , u8  , u16  ) ;
 5497   u8 (*getfeatcfg)(struct net_device * , int  , u8 * ) ;
 5498   u8 (*setfeatcfg)(struct net_device * , int  , u8  ) ;
 5499   u8 (*getdcbx)(struct net_device * ) ;
 5500   u8 (*setdcbx)(struct net_device * , u8  ) ;
 5501   int (*peer_getappinfo)(struct net_device * , struct dcb_peer_app_info * , u16 * ) ;
 5502   int (*peer_getapptable)(struct net_device * , struct dcb_app * ) ;
 5503   int (*cee_peer_getpg)(struct net_device * , struct cee_pg * ) ;
 5504   int (*cee_peer_getpfc)(struct net_device * , struct cee_pfc * ) ;
 5505};
 5506#line 91
 5507struct vlan_group;
 5508#line 91
 5509struct vlan_group;
 5510#line 91
 5511struct vlan_group;
 5512#line 91
 5513struct vlan_group;
 5514#line 92
 5515struct netpoll_info;
 5516#line 92
 5517struct netpoll_info;
 5518#line 92
 5519struct netpoll_info;
 5520#line 92
 5521struct netpoll_info;
 5522#line 93
 5523struct phy_device;
 5524#line 93
 5525struct phy_device;
 5526#line 93
 5527struct phy_device;
 5528#line 93
 5529struct phy_device;
 5530#line 94
 5531struct wireless_dev;
 5532#line 94
 5533struct wireless_dev;
 5534#line 94
 5535struct wireless_dev;
 5536#line 94
 5537struct wireless_dev;
 5538#line 95
 5539enum netdev_tx {
 5540    __NETDEV_TX_MIN = (-0x7FFFFFFF-1),
 5541    NETDEV_TX_OK = 0,
 5542    NETDEV_TX_BUSY = 16,
 5543    NETDEV_TX_LOCKED = 32
 5544} ;
 5545#line 117 "include/linux/netdevice.h"
 5546typedef enum netdev_tx netdev_tx_t;
 5547#line 136 "include/linux/netdevice.h"
 5548struct net_device_stats {
 5549   unsigned long rx_packets ;
 5550   unsigned long tx_packets ;
 5551   unsigned long rx_bytes ;
 5552   unsigned long tx_bytes ;
 5553   unsigned long rx_errors ;
 5554   unsigned long tx_errors ;
 5555   unsigned long rx_dropped ;
 5556   unsigned long tx_dropped ;
 5557   unsigned long multicast ;
 5558   unsigned long collisions ;
 5559   unsigned long rx_length_errors ;
 5560   unsigned long rx_over_errors ;
 5561   unsigned long rx_crc_errors ;
 5562   unsigned long rx_frame_errors ;
 5563   unsigned long rx_fifo_errors ;
 5564   unsigned long rx_missed_errors ;
 5565   unsigned long tx_aborted_errors ;
 5566   unsigned long tx_carrier_errors ;
 5567   unsigned long tx_fifo_errors ;
 5568   unsigned long tx_heartbeat_errors ;
 5569   unsigned long tx_window_errors ;
 5570   unsigned long rx_compressed ;
 5571   unsigned long tx_compressed ;
 5572};
 5573#line 211
 5574struct neighbour;
 5575#line 211
 5576struct neighbour;
 5577#line 211
 5578struct neighbour;
 5579#line 211
 5580struct neighbour;
 5581#line 212
 5582struct neigh_parms;
 5583#line 212
 5584struct neigh_parms;
 5585#line 212
 5586struct neigh_parms;
 5587#line 212
 5588struct neigh_parms;
 5589#line 239 "include/linux/netdevice.h"
 5590struct netdev_hw_addr_list {
 5591   struct list_head list ;
 5592   int count ;
 5593};
 5594#line 244 "include/linux/netdevice.h"
 5595struct hh_cache {
 5596   struct hh_cache *hh_next ;
 5597   atomic_t hh_refcnt ;
 5598   __be16 hh_type ;
 5599   u16 hh_len ;
 5600   int (*hh_output)(struct sk_buff * ) ;
 5601   seqlock_t hh_lock ;
 5602   unsigned long hh_data[16U] ;
 5603};
 5604#line 292 "include/linux/netdevice.h"
 5605struct header_ops {
 5606   int (*create)(struct sk_buff * , struct net_device * , unsigned short  , void const   * ,
 5607                 void const   * , unsigned int  ) ;
 5608   int (*parse)(struct sk_buff  const  * , unsigned char * ) ;
 5609   int (*rebuild)(struct sk_buff * ) ;
 5610   int (*cache)(struct neighbour  const  * , struct hh_cache * ) ;
 5611   void (*cache_update)(struct hh_cache * , struct net_device  const  * , unsigned char const   * ) ;
 5612};
 5613#line 392
 5614enum rx_handler_result {
 5615    RX_HANDLER_CONSUMED = 0,
 5616    RX_HANDLER_ANOTHER = 1,
 5617    RX_HANDLER_EXACT = 2,
 5618    RX_HANDLER_PASS = 3
 5619} ;
 5620#line 440 "include/linux/netdevice.h"
 5621typedef enum rx_handler_result rx_handler_result_t;
 5622#line 441 "include/linux/netdevice.h"
 5623typedef rx_handler_result_t rx_handler_func_t(struct sk_buff ** );
 5624#line 548
 5625struct Qdisc;
 5626#line 548
 5627struct Qdisc;
 5628#line 548
 5629struct Qdisc;
 5630#line 548 "include/linux/netdevice.h"
 5631struct netdev_queue {
 5632   struct net_device *dev ;
 5633   struct Qdisc *qdisc ;
 5634   unsigned long state ;
 5635   struct Qdisc *qdisc_sleeping ;
 5636   struct kobject kobj ;
 5637   int numa_node ;
 5638   spinlock_t _xmit_lock ;
 5639   int xmit_lock_owner ;
 5640   unsigned long trans_start ;
 5641};
 5642#line 590 "include/linux/netdevice.h"
 5643struct rps_map {
 5644   unsigned int len ;
 5645   struct rcu_head rcu ;
 5646   u16 cpus[0U] ;
 5647};
 5648#line 602 "include/linux/netdevice.h"
 5649struct rps_dev_flow {
 5650   u16 cpu ;
 5651   u16 filter ;
 5652   unsigned int last_qtail ;
 5653};
 5654#line 614 "include/linux/netdevice.h"
 5655struct rps_dev_flow_table {
 5656   unsigned int mask ;
 5657   struct rcu_head rcu ;
 5658   struct work_struct free_work ;
 5659   struct rps_dev_flow flows[0U] ;
 5660};
 5661#line 666 "include/linux/netdevice.h"
 5662struct netdev_rx_queue {
 5663   struct rps_map *rps_map ;
 5664   struct rps_dev_flow_table *rps_flow_table ;
 5665   struct kobject kobj ;
 5666   struct net_device *dev ;
 5667};
 5668#line 676 "include/linux/netdevice.h"
 5669struct xps_map {
 5670   unsigned int len ;
 5671   unsigned int alloc_len ;
 5672   struct rcu_head rcu ;
 5673   u16 queues[0U] ;
 5674};
 5675#line 689 "include/linux/netdevice.h"
 5676struct xps_dev_maps {
 5677   struct rcu_head rcu ;
 5678   struct xps_map *cpu_map[0U] ;
 5679};
 5680#line 700 "include/linux/netdevice.h"
 5681struct netdev_tc_txq {
 5682   u16 count ;
 5683   u16 offset ;
 5684};
 5685#line 711 "include/linux/netdevice.h"
 5686struct net_device_ops {
 5687   int (*ndo_init)(struct net_device * ) ;
 5688   void (*ndo_uninit)(struct net_device * ) ;
 5689   int (*ndo_open)(struct net_device * ) ;
 5690   int (*ndo_stop)(struct net_device * ) ;
 5691   netdev_tx_t (*ndo_start_xmit)(struct sk_buff * , struct net_device * ) ;
 5692   u16 (*ndo_select_queue)(struct net_device * , struct sk_buff * ) ;
 5693   void (*ndo_change_rx_flags)(struct net_device * , int  ) ;
 5694   void (*ndo_set_rx_mode)(struct net_device * ) ;
 5695   void (*ndo_set_multicast_list)(struct net_device * ) ;
 5696   int (*ndo_set_mac_address)(struct net_device * , void * ) ;
 5697   int (*ndo_validate_addr)(struct net_device * ) ;
 5698   int (*ndo_do_ioctl)(struct net_device * , struct ifreq * , int  ) ;
 5699   int (*ndo_set_config)(struct net_device * , struct ifmap * ) ;
 5700   int (*ndo_change_mtu)(struct net_device * , int  ) ;
 5701   int (*ndo_neigh_setup)(struct net_device * , struct neigh_parms * ) ;
 5702   void (*ndo_tx_timeout)(struct net_device * ) ;
 5703   struct rtnl_link_stats64 *(*ndo_get_stats64)(struct net_device * , struct rtnl_link_stats64 * ) ;
 5704   struct net_device_stats *(*ndo_get_stats)(struct net_device * ) ;
 5705   void (*ndo_vlan_rx_register)(struct net_device * , struct vlan_group * ) ;
 5706   void (*ndo_vlan_rx_add_vid)(struct net_device * , unsigned short  ) ;
 5707   void (*ndo_vlan_rx_kill_vid)(struct net_device * , unsigned short  ) ;
 5708   void (*ndo_poll_controller)(struct net_device * ) ;
 5709   int (*ndo_netpoll_setup)(struct net_device * , struct netpoll_info * ) ;
 5710   void (*ndo_netpoll_cleanup)(struct net_device * ) ;
 5711   int (*ndo_set_vf_mac)(struct net_device * , int  , u8 * ) ;
 5712   int (*ndo_set_vf_vlan)(struct net_device * , int  , u16  , u8  ) ;
 5713   int (*ndo_set_vf_tx_rate)(struct net_device * , int  , int  ) ;
 5714   int (*ndo_get_vf_config)(struct net_device * , int  , struct ifla_vf_info * ) ;
 5715   int (*ndo_set_vf_port)(struct net_device * , int  , struct nlattr ** ) ;
 5716   int (*ndo_get_vf_port)(struct net_device * , int  , struct sk_buff * ) ;
 5717   int (*ndo_setup_tc)(struct net_device * , u8  ) ;
 5718   int (*ndo_fcoe_enable)(struct net_device * ) ;
 5719   int (*ndo_fcoe_disable)(struct net_device * ) ;
 5720   int (*ndo_fcoe_ddp_setup)(struct net_device * , u16  , struct scatterlist * , unsigned int  ) ;
 5721   int (*ndo_fcoe_ddp_done)(struct net_device * , u16  ) ;
 5722   int (*ndo_fcoe_ddp_target)(struct net_device * , u16  , struct scatterlist * ,
 5723                              unsigned int  ) ;
 5724   int (*ndo_fcoe_get_wwn)(struct net_device * , u64 * , int  ) ;
 5725   int (*ndo_rx_flow_steer)(struct net_device * , struct sk_buff  const  * , u16  ,
 5726                            u32  ) ;
 5727   int (*ndo_add_slave)(struct net_device * , struct net_device * ) ;
 5728   int (*ndo_del_slave)(struct net_device * , struct net_device * ) ;
 5729   u32 (*ndo_fix_features)(struct net_device * , u32  ) ;
 5730   int (*ndo_set_features)(struct net_device * , u32  ) ;
 5731};
 5732#line 995
 5733struct iw_handler_def;
 5734#line 995
 5735struct iw_handler_def;
 5736#line 995
 5737struct iw_handler_def;
 5738#line 995
 5739struct iw_public_data;
 5740#line 995
 5741struct iw_public_data;
 5742#line 995
 5743struct iw_public_data;
 5744#line 995
 5745struct in_device;
 5746#line 995
 5747struct in_device;
 5748#line 995
 5749struct in_device;
 5750#line 995
 5751struct dn_dev;
 5752#line 995
 5753struct dn_dev;
 5754#line 995
 5755struct dn_dev;
 5756#line 995
 5757struct inet6_dev;
 5758#line 995
 5759struct inet6_dev;
 5760#line 995
 5761struct inet6_dev;
 5762#line 995
 5763struct cpu_rmap;
 5764#line 995
 5765struct cpu_rmap;
 5766#line 995
 5767struct cpu_rmap;
 5768#line 995
 5769struct pcpu_lstats;
 5770#line 995
 5771struct pcpu_lstats;
 5772#line 995
 5773struct pcpu_lstats;
 5774#line 995
 5775struct pcpu_tstats;
 5776#line 995
 5777struct pcpu_tstats;
 5778#line 995
 5779struct pcpu_tstats;
 5780#line 995
 5781struct pcpu_dstats;
 5782#line 995
 5783struct pcpu_dstats;
 5784#line 995
 5785struct pcpu_dstats;
 5786#line 995 "include/linux/netdevice.h"
 5787union __anonunion_ldv_32477_202 {
 5788   void *ml_priv ;
 5789   struct pcpu_lstats *lstats ;
 5790   struct pcpu_tstats *tstats ;
 5791   struct pcpu_dstats *dstats ;
 5792};
 5793#line 995
 5794struct garp_port;
 5795#line 995
 5796struct garp_port;
 5797#line 995
 5798struct garp_port;
 5799#line 995
 5800struct rtnl_link_ops;
 5801#line 995
 5802struct rtnl_link_ops;
 5803#line 995
 5804struct rtnl_link_ops;
 5805#line 995 "include/linux/netdevice.h"
 5806struct net_device {
 5807   char name[16U] ;
 5808   struct pm_qos_request_list pm_qos_req ;
 5809   struct hlist_node name_hlist ;
 5810   char *ifalias ;
 5811   unsigned long mem_end ;
 5812   unsigned long mem_start ;
 5813   unsigned long base_addr ;
 5814   unsigned int irq ;
 5815   unsigned long state ;
 5816   struct list_head dev_list ;
 5817   struct list_head napi_list ;
 5818   struct list_head unreg_list ;
 5819   u32 features ;
 5820   u32 hw_features ;
 5821   u32 wanted_features ;
 5822   u32 vlan_features ;
 5823   int ifindex ;
 5824   int iflink ;
 5825   struct net_device_stats stats ;
 5826   atomic_long_t rx_dropped ;
 5827   struct iw_handler_def  const  *wireless_handlers ;
 5828   struct iw_public_data *wireless_data ;
 5829   struct net_device_ops  const  *netdev_ops ;
 5830   struct ethtool_ops  const  *ethtool_ops ;
 5831   struct header_ops  const  *header_ops ;
 5832   unsigned int flags ;
 5833   unsigned int priv_flags ;
 5834   unsigned short gflags ;
 5835   unsigned short padded ;
 5836   unsigned char operstate ;
 5837   unsigned char link_mode ;
 5838   unsigned char if_port ;
 5839   unsigned char dma ;
 5840   unsigned int mtu ;
 5841   unsigned short type ;
 5842   unsigned short hard_header_len ;
 5843   unsigned short needed_headroom ;
 5844   unsigned short needed_tailroom ;
 5845   unsigned char perm_addr[32U] ;
 5846   unsigned char addr_assign_type ;
 5847   unsigned char addr_len ;
 5848   unsigned short dev_id ;
 5849   spinlock_t addr_list_lock ;
 5850   struct netdev_hw_addr_list uc ;
 5851   struct netdev_hw_addr_list mc ;
 5852   int uc_promisc ;
 5853   unsigned int promiscuity ;
 5854   unsigned int allmulti ;
 5855   struct vlan_group *vlgrp ;
 5856   void *dsa_ptr ;
 5857   void *atalk_ptr ;
 5858   struct in_device *ip_ptr ;
 5859   struct dn_dev *dn_ptr ;
 5860   struct inet6_dev *ip6_ptr ;
 5861   void *ec_ptr ;
 5862   void *ax25_ptr ;
 5863   struct wireless_dev *ieee80211_ptr ;
 5864   unsigned long last_rx ;
 5865   struct net_device *master ;
 5866   unsigned char *dev_addr ;
 5867   struct netdev_hw_addr_list dev_addrs ;
 5868   unsigned char broadcast[32U] ;
 5869   struct kset *queues_kset ;
 5870   struct netdev_rx_queue *_rx ;
 5871   unsigned int num_rx_queues ;
 5872   unsigned int real_num_rx_queues ;
 5873   struct cpu_rmap *rx_cpu_rmap ;
 5874   rx_handler_func_t *rx_handler ;
 5875   void *rx_handler_data ;
 5876   struct netdev_queue *ingress_queue ;
 5877   struct netdev_queue *_tx ;
 5878   unsigned int num_tx_queues ;
 5879   unsigned int real_num_tx_queues ;
 5880   struct Qdisc *qdisc ;
 5881   unsigned long tx_queue_len ;
 5882   spinlock_t tx_global_lock ;
 5883   struct xps_dev_maps *xps_maps ;
 5884   unsigned long trans_start ;
 5885   int watchdog_timeo ;
 5886   struct timer_list watchdog_timer ;
 5887   int *pcpu_refcnt ;
 5888   struct list_head todo_list ;
 5889   struct hlist_node index_hlist ;
 5890   struct list_head link_watch_list ;
 5891   unsigned char reg_state ;
 5892   bool dismantle ;
 5893   unsigned short rtnl_link_state ;
 5894   void (*destructor)(struct net_device * ) ;
 5895   struct netpoll_info *npinfo ;
 5896   struct net *nd_net ;
 5897   union __anonunion_ldv_32477_202 ldv_32477 ;
 5898   struct garp_port *garp_port ;
 5899   struct device dev ;
 5900   struct attribute_group  const  *sysfs_groups[4U] ;
 5901   struct rtnl_link_ops  const  *rtnl_link_ops ;
 5902   unsigned int gso_max_size ;
 5903   struct dcbnl_rtnl_ops  const  *dcbnl_ops ;
 5904   u8 num_tc ;
 5905   struct netdev_tc_txq tc_to_txq[16U] ;
 5906   u8 prio_tc_map[16U] ;
 5907   unsigned int fcoe_ddp_xid ;
 5908   struct ethtool_rx_ntuple_list ethtool_ntuple_list ;
 5909   struct phy_device *phydev ;
 5910   int group ;
 5911};
 5912#line 91 "include/linux/interrupt.h"
 5913struct irqaction {
 5914   irqreturn_t (*handler)(int  , void * ) ;
 5915   unsigned long flags ;
 5916   void *dev_id ;
 5917   struct irqaction *next ;
 5918   int irq ;
 5919   irqreturn_t (*thread_fn)(int  , void * ) ;
 5920   struct task_struct *thread ;
 5921   unsigned long thread_flags ;
 5922   unsigned long thread_mask ;
 5923   char const   *name ;
 5924   struct proc_dir_entry *dir ;
 5925};
 5926#line 474 "include/linux/interrupt.h"
 5927struct tasklet_struct {
 5928   struct tasklet_struct *next ;
 5929   unsigned long state ;
 5930   atomic_t count ;
 5931   void (*func)(unsigned long  ) ;
 5932   unsigned long data ;
 5933};
 5934#line 327 "include/linux/fsnotify.h"
 5935struct linux_binprm {
 5936   char buf[128U] ;
 5937   struct vm_area_struct *vma ;
 5938   unsigned long vma_pages ;
 5939   struct mm_struct *mm ;
 5940   unsigned long p ;
 5941   unsigned char cred_prepared : 1 ;
 5942   unsigned char cap_effective : 1 ;
 5943   unsigned int recursion_depth ;
 5944   struct file *file ;
 5945   struct cred *cred ;
 5946   int unsafe ;
 5947   unsigned int per_clear ;
 5948   int argc ;
 5949   int envc ;
 5950   char const   *filename ;
 5951   char const   *interp ;
 5952   unsigned int interp_flags ;
 5953   unsigned int interp_data ;
 5954   unsigned long loader ;
 5955   unsigned long exec ;
 5956};
 5957#line 62 "include/linux/binfmts.h"
 5958struct coredump_params {
 5959   long signr ;
 5960   struct pt_regs *regs ;
 5961   struct file *file ;
 5962   unsigned long limit ;
 5963   unsigned long mm_flags ;
 5964};
 5965#line 80 "include/linux/binfmts.h"
 5966struct linux_binfmt {
 5967   struct list_head lh ;
 5968   struct module *module ;
 5969   int (*load_binary)(struct linux_binprm * , struct pt_regs * ) ;
 5970   int (*load_shlib)(struct file * ) ;
 5971   int (*core_dump)(struct coredump_params * ) ;
 5972   unsigned long min_coredump ;
 5973};
 5974#line 83 "include/linux/security.h"
 5975struct xfrm_policy;
 5976#line 83
 5977struct xfrm_policy;
 5978#line 83
 5979struct xfrm_policy;
 5980#line 83
 5981struct xfrm_policy;
 5982#line 84
 5983struct xfrm_state;
 5984#line 84
 5985struct xfrm_state;
 5986#line 84
 5987struct xfrm_state;
 5988#line 84
 5989struct xfrm_state;
 5990#line 110 "include/linux/uaccess.h"
 5991struct sock_filter {
 5992   __u16 code ;
 5993   __u8 jt ;
 5994   __u8 jf ;
 5995   __u32 k ;
 5996};
 5997#line 37 "include/linux/filter.h"
 5998struct sk_filter {
 5999   atomic_t refcnt ;
 6000   unsigned int len ;
 6001   unsigned int (*bpf_func)(struct sk_buff  const  * , struct sock_filter  const  * ) ;
 6002   struct rcu_head rcu ;
 6003   struct sock_filter insns[0U] ;
 6004};
 6005#line 34 "include/linux/poll.h"
 6006struct poll_table_struct {
 6007   void (*qproc)(struct file * , wait_queue_head_t * , struct poll_table_struct * ) ;
 6008   unsigned long key ;
 6009};
 6010#line 815 "include/linux/rtnetlink.h"
 6011struct nla_policy {
 6012   u16 type ;
 6013   u16 len ;
 6014};
 6015#line 24 "include/net/rtnetlink.h"
 6016struct rtnl_link_ops {
 6017   struct list_head list ;
 6018   char const   *kind ;
 6019   size_t priv_size ;
 6020   void (*setup)(struct net_device * ) ;
 6021   int maxtype ;
 6022   struct nla_policy  const  *policy ;
 6023   int (*validate)(struct nlattr ** , struct nlattr ** ) ;
 6024   int (*newlink)(struct net * , struct net_device * , struct nlattr ** , struct nlattr ** ) ;
 6025   int (*changelink)(struct net_device * , struct nlattr ** , struct nlattr ** ) ;
 6026   void (*dellink)(struct net_device * , struct list_head * ) ;
 6027   size_t (*get_size)(struct net_device  const  * ) ;
 6028   int (*fill_info)(struct sk_buff * , struct net_device  const  * ) ;
 6029   size_t (*get_xstats_size)(struct net_device  const  * ) ;
 6030   int (*fill_xstats)(struct sk_buff * , struct net_device  const  * ) ;
 6031   int (*get_tx_queues)(struct net * , struct nlattr ** , unsigned int * , unsigned int * ) ;
 6032};
 6033#line 127
 6034struct neigh_table;
 6035#line 127
 6036struct neigh_table;
 6037#line 127
 6038struct neigh_table;
 6039#line 127 "include/net/rtnetlink.h"
 6040struct neigh_parms {
 6041   struct net *net ;
 6042   struct net_device *dev ;
 6043   struct neigh_parms *next ;
 6044   int (*neigh_setup)(struct neighbour * ) ;
 6045   void (*neigh_cleanup)(struct neighbour * ) ;
 6046   struct neigh_table *tbl ;
 6047   void *sysctl_table ;
 6048   int dead ;
 6049   atomic_t refcnt ;
 6050   struct rcu_head rcu_head ;
 6051   int base_reachable_time ;
 6052   int retrans_time ;
 6053   int gc_staletime ;
 6054   int reachable_time ;
 6055   int delay_probe_time ;
 6056   int queue_len ;
 6057   int ucast_probes ;
 6058   int app_probes ;
 6059   int mcast_probes ;
 6060   int anycast_delay ;
 6061   int proxy_delay ;
 6062   int proxy_qlen ;
 6063   int locktime ;
 6064};
 6065#line 71 "include/net/neighbour.h"
 6066struct neigh_statistics {
 6067   unsigned long allocs ;
 6068   unsigned long destroys ;
 6069   unsigned long hash_grows ;
 6070   unsigned long res_failed ;
 6071   unsigned long lookups ;
 6072   unsigned long hits ;
 6073   unsigned long rcv_probes_mcast ;
 6074   unsigned long rcv_probes_ucast ;
 6075   unsigned long periodic_gc_runs ;
 6076   unsigned long forced_gc_runs ;
 6077   unsigned long unres_discards ;
 6078};
 6079#line 90
 6080struct neigh_ops;
 6081#line 90
 6082struct neigh_ops;
 6083#line 90
 6084struct neigh_ops;
 6085#line 90 "include/net/neighbour.h"
 6086struct neighbour {
 6087   struct neighbour *next ;
 6088   struct neigh_table *tbl ;
 6089   struct neigh_parms *parms ;
 6090   unsigned long confirmed ;
 6091   unsigned long updated ;
 6092   rwlock_t lock ;
 6093   atomic_t refcnt ;
 6094   struct sk_buff_head arp_queue ;
 6095   struct timer_list timer ;
 6096   unsigned long used ;
 6097   atomic_t probes ;
 6098   __u8 flags ;
 6099   __u8 nud_state ;
 6100   __u8 type ;
 6101   __u8 dead ;
 6102   seqlock_t ha_lock ;
 6103   unsigned char ha[32U] ;
 6104   struct hh_cache *hh ;
 6105   int (*output)(struct sk_buff * ) ;
 6106   struct neigh_ops  const  *ops ;
 6107   struct rcu_head rcu ;
 6108   struct net_device *dev ;
 6109   u8 primary_key[0U] ;
 6110};
 6111#line 118 "include/net/neighbour.h"
 6112struct neigh_ops {
 6113   int family ;
 6114   void (*solicit)(struct neighbour * , struct sk_buff * ) ;
 6115   void (*error_report)(struct neighbour * , struct sk_buff * ) ;
 6116   int (*output)(struct sk_buff * ) ;
 6117   int (*connected_output)(struct sk_buff * ) ;
 6118   int (*hh_output)(struct sk_buff * ) ;
 6119   int (*queue_xmit)(struct sk_buff * ) ;
 6120};
 6121#line 128 "include/net/neighbour.h"
 6122struct pneigh_entry {
 6123   struct pneigh_entry *next ;
 6124   struct net *net ;
 6125   struct net_device *dev ;
 6126   u8 flags ;
 6127   u8 key[0U] ;
 6128};
 6129#line 138 "include/net/neighbour.h"
 6130struct neigh_hash_table {
 6131   struct neighbour **hash_buckets ;
 6132   unsigned int hash_mask ;
 6133   __u32 hash_rnd ;
 6134   struct rcu_head rcu ;
 6135};
 6136#line 149 "include/net/neighbour.h"
 6137struct neigh_table {
 6138   struct neigh_table *next ;
 6139   int family ;
 6140   int entry_size ;
 6141   int key_len ;
 6142   __u32 (*hash)(void const   * , struct net_device  const  * , __u32  ) ;
 6143   int (*constructor)(struct neighbour * ) ;
 6144   int (*pconstructor)(struct pneigh_entry * ) ;
 6145   void (*pdestructor)(struct pneigh_entry * ) ;
 6146   void (*proxy_redo)(struct sk_buff * ) ;
 6147   char *id ;
 6148   struct neigh_parms parms ;
 6149   int gc_interval ;
 6150   int gc_thresh1 ;
 6151   int gc_thresh2 ;
 6152   int gc_thresh3 ;
 6153   unsigned long last_flush ;
 6154   struct delayed_work gc_work ;
 6155   struct timer_list proxy_timer ;
 6156   struct sk_buff_head proxy_queue ;
 6157   atomic_t entries ;
 6158   rwlock_t lock ;
 6159   unsigned long last_rand ;
 6160   struct kmem_cache *kmem_cachep ;
 6161   struct neigh_statistics *stats ;
 6162   struct neigh_hash_table *nht ;
 6163   struct pneigh_entry **phash_buckets ;
 6164};
 6165#line 394
 6166struct dn_route;
 6167#line 394
 6168struct dn_route;
 6169#line 394
 6170struct dn_route;
 6171#line 394 "include/net/neighbour.h"
 6172union __anonunion_ldv_38495_211 {
 6173   struct dst_entry *next ;
 6174   struct rtable *rt_next ;
 6175   struct rt6_info *rt6_next ;
 6176   struct dn_route *dn_next ;
 6177};
 6178#line 394 "include/net/neighbour.h"
 6179struct dst_entry {
 6180   struct rcu_head rcu_head ;
 6181   struct dst_entry *child ;
 6182   struct net_device *dev ;
 6183   struct dst_ops *ops ;
 6184   unsigned long _metrics ;
 6185   unsigned long expires ;
 6186   struct dst_entry *path ;
 6187   struct neighbour *neighbour ;
 6188   struct hh_cache *hh ;
 6189   struct xfrm_state *xfrm ;
 6190   int (*input)(struct sk_buff * ) ;
 6191   int (*output)(struct sk_buff * ) ;
 6192   short error ;
 6193   short obsolete ;
 6194   unsigned short header_len ;
 6195   unsigned short trailer_len ;
 6196   __u32 tclassid ;
 6197   long __pad_to_align_refcnt[1U] ;
 6198   atomic_t __refcnt ;
 6199   int __use ;
 6200   unsigned long lastuse ;
 6201   int flags ;
 6202   union __anonunion_ldv_38495_211 ldv_38495 ;
 6203};
 6204#line 101 "include/net/sock.h"
 6205struct __anonstruct_socket_lock_t_212 {
 6206   spinlock_t slock ;
 6207   int owned ;
 6208   wait_queue_head_t wq ;
 6209   struct lockdep_map dep_map ;
 6210};
 6211#line 101 "include/net/sock.h"
 6212typedef struct __anonstruct_socket_lock_t_212 socket_lock_t;
 6213#line 101
 6214struct proto;
 6215#line 101
 6216struct proto;
 6217#line 101
 6218struct proto;
 6219#line 101
 6220struct proto;
 6221#line 102 "include/net/sock.h"
 6222union __anonunion_ldv_38696_213 {
 6223   unsigned int skc_hash ;
 6224   __u16 skc_u16hashes[2U] ;
 6225};
 6226#line 102 "include/net/sock.h"
 6227union __anonunion_ldv_38704_214 {
 6228   struct hlist_node skc_bind_node ;
 6229   struct hlist_nulls_node skc_portaddr_node ;
 6230};
 6231#line 102 "include/net/sock.h"
 6232union __anonunion_ldv_38711_215 {
 6233   struct hlist_node skc_node ;
 6234   struct hlist_nulls_node skc_nulls_node ;
 6235};
 6236#line 102 "include/net/sock.h"
 6237struct sock_common {
 6238   __be32 skc_daddr ;
 6239   __be32 skc_rcv_saddr ;
 6240   union __anonunion_ldv_38696_213 ldv_38696 ;
 6241   unsigned short skc_family ;
 6242   unsigned char volatile   skc_state ;
 6243   unsigned char skc_reuse ;
 6244   int skc_bound_dev_if ;
 6245   union __anonunion_ldv_38704_214 ldv_38704 ;
 6246   struct proto *skc_prot ;
 6247   struct net *skc_net ;
 6248   int skc_dontcopy_begin[0U] ;
 6249   union __anonunion_ldv_38711_215 ldv_38711 ;
 6250   int skc_tx_queue_mapping ;
 6251   atomic_t skc_refcnt ;
 6252   int skc_dontcopy_end[0U] ;
 6253};
 6254#line 168 "include/net/sock.h"
 6255struct __anonstruct_sk_backlog_216 {
 6256   atomic_t rmem_alloc ;
 6257   int len ;
 6258   struct sk_buff *head ;
 6259   struct sk_buff *tail ;
 6260};
 6261#line 168 "include/net/sock.h"
 6262struct sock {
 6263   struct sock_common __sk_common ;
 6264   socket_lock_t sk_lock ;
 6265   struct sk_buff_head sk_receive_queue ;
 6266   struct __anonstruct_sk_backlog_216 sk_backlog ;
 6267   int sk_forward_alloc ;
 6268   __u32 sk_rxhash ;
 6269   atomic_t sk_drops ;
 6270   int sk_rcvbuf ;
 6271   struct sk_filter *sk_filter ;
 6272   struct socket_wq *sk_wq ;
 6273   struct sk_buff_head sk_async_wait_queue ;
 6274   struct xfrm_policy *sk_policy[2U] ;
 6275   unsigned long sk_flags ;
 6276   struct dst_entry *sk_dst_cache ;
 6277   spinlock_t sk_dst_lock ;
 6278   atomic_t sk_wmem_alloc ;
 6279   atomic_t sk_omem_alloc ;
 6280   int sk_sndbuf ;
 6281   struct sk_buff_head sk_write_queue ;
 6282   unsigned char sk_shutdown : 2 ;
 6283   unsigned char sk_no_check : 2 ;
 6284   unsigned char sk_userlocks : 4 ;
 6285   unsigned char sk_protocol ;
 6286   unsigned short sk_type ;
 6287   int sk_wmem_queued ;
 6288   gfp_t sk_allocation ;
 6289   int sk_route_caps ;
 6290   int sk_route_nocaps ;
 6291   int sk_gso_type ;
 6292   unsigned int sk_gso_max_size ;
 6293   int sk_rcvlowat ;
 6294   unsigned long sk_lingertime ;
 6295   struct sk_buff_head sk_error_queue ;
 6296   struct proto *sk_prot_creator ;
 6297   rwlock_t sk_callback_lock ;
 6298   int sk_err ;
 6299   int sk_err_soft ;
 6300   unsigned short sk_ack_backlog ;
 6301   unsigned short sk_max_ack_backlog ;
 6302   __u32 sk_priority ;
 6303   struct pid *sk_peer_pid ;
 6304   struct cred  const  *sk_peer_cred ;
 6305   long sk_rcvtimeo ;
 6306   long sk_sndtimeo ;
 6307   void *sk_protinfo ;
 6308   struct timer_list sk_timer ;
 6309   ktime_t sk_stamp ;
 6310   struct socket *sk_socket ;
 6311   void *sk_user_data ;
 6312   struct page *sk_sndmsg_page ;
 6313   struct sk_buff *sk_send_head ;
 6314   __u32 sk_sndmsg_off ;
 6315   int sk_write_pending ;
 6316   void *sk_security ;
 6317   __u32 sk_mark ;
 6318   u32 sk_classid ;
 6319   void (*sk_state_change)(struct sock * ) ;
 6320   void (*sk_data_ready)(struct sock * , int  ) ;
 6321   void (*sk_write_space)(struct sock * ) ;
 6322   void (*sk_error_report)(struct sock * ) ;
 6323   int (*sk_backlog_rcv)(struct sock * , struct sk_buff * ) ;
 6324   void (*sk_destruct)(struct sock * ) ;
 6325};
 6326#line 716
 6327struct request_sock_ops;
 6328#line 716
 6329struct request_sock_ops;
 6330#line 716
 6331struct request_sock_ops;
 6332#line 716
 6333struct request_sock_ops;
 6334#line 717
 6335struct timewait_sock_ops;
 6336#line 717
 6337struct timewait_sock_ops;
 6338#line 717
 6339struct timewait_sock_ops;
 6340#line 717
 6341struct timewait_sock_ops;
 6342#line 718
 6343struct inet_hashinfo;
 6344#line 718
 6345struct inet_hashinfo;
 6346#line 718
 6347struct inet_hashinfo;
 6348#line 718
 6349struct inet_hashinfo;
 6350#line 719
 6351struct raw_hashinfo;
 6352#line 719
 6353struct raw_hashinfo;
 6354#line 719
 6355struct raw_hashinfo;
 6356#line 719
 6357struct raw_hashinfo;
 6358#line 720
 6359struct udp_table;
 6360#line 720
 6361struct udp_table;
 6362#line 720
 6363struct udp_table;
 6364#line 720 "include/net/sock.h"
 6365union __anonunion_h_217 {
 6366   struct inet_hashinfo *hashinfo ;
 6367   struct udp_table *udp_table ;
 6368   struct raw_hashinfo *raw_hash ;
 6369};
 6370#line 720 "include/net/sock.h"
 6371struct proto {
 6372   void (*close)(struct sock * , long  ) ;
 6373   int (*connect)(struct sock * , struct sockaddr * , int  ) ;
 6374   int (*disconnect)(struct sock * , int  ) ;
 6375   struct sock *(*accept)(struct sock * , int  , int * ) ;
 6376   int (*ioctl)(struct sock * , int  , unsigned long  ) ;
 6377   int (*init)(struct sock * ) ;
 6378   void (*destroy)(struct sock * ) ;
 6379   void (*shutdown)(struct sock * , int  ) ;
 6380   int (*setsockopt)(struct sock * , int  , int  , char * , unsigned int  ) ;
 6381   int (*getsockopt)(struct sock * , int  , int  , char * , int * ) ;
 6382   int (*compat_setsockopt)(struct sock * , int  , int  , char * , unsigned int  ) ;
 6383   int (*compat_getsockopt)(struct sock * , int  , int  , char * , int * ) ;
 6384   int (*compat_ioctl)(struct sock * , unsigned int  , unsigned long  ) ;
 6385   int (*sendmsg)(struct kiocb * , struct sock * , struct msghdr * , size_t  ) ;
 6386   int (*recvmsg)(struct kiocb * , struct sock * , struct msghdr * , size_t  , int  ,
 6387                  int  , int * ) ;
 6388   int (*sendpage)(struct sock * , struct page * , int  , size_t  , int  ) ;
 6389   int (*bind)(struct sock * , struct sockaddr * , int  ) ;
 6390   int (*backlog_rcv)(struct sock * , struct sk_buff * ) ;
 6391   void (*hash)(struct sock * ) ;
 6392   void (*unhash)(struct sock * ) ;
 6393   void (*rehash)(struct sock * ) ;
 6394   int (*get_port)(struct sock * , unsigned short  ) ;
 6395   void (*clear_sk)(struct sock * , int  ) ;
 6396   unsigned int inuse_idx ;
 6397   void (*enter_memory_pressure)(struct sock * ) ;
 6398   atomic_long_t *memory_allocated ;
 6399   struct percpu_counter *sockets_allocated ;
 6400   int *memory_pressure ;
 6401   long *sysctl_mem ;
 6402   int *sysctl_wmem ;
 6403   int *sysctl_rmem ;
 6404   int max_header ;
 6405   bool no_autobind ;
 6406   struct kmem_cache *slab ;
 6407   unsigned int obj_size ;
 6408   int slab_flags ;
 6409   struct percpu_counter *orphan_count ;
 6410   struct request_sock_ops *rsk_prot ;
 6411   struct timewait_sock_ops *twsk_prot ;
 6412   union __anonunion_h_217 h ;
 6413   struct module *owner ;
 6414   char name[32U] ;
 6415   struct list_head node ;
 6416};
 6417#line 237 "include/linux/atmdev.h"
 6418struct k_atm_aal_stats {
 6419   atomic_t tx ;
 6420   atomic_t tx_err ;
 6421   atomic_t rx ;
 6422   atomic_t rx_err ;
 6423   atomic_t rx_drop ;
 6424};
 6425#line 243 "include/linux/atmdev.h"
 6426struct k_atm_dev_stats {
 6427   struct k_atm_aal_stats aal0 ;
 6428   struct k_atm_aal_stats aal34 ;
 6429   struct k_atm_aal_stats aal5 ;
 6430};
 6431#line 272
 6432struct atm_dev;
 6433#line 272
 6434struct atm_dev;
 6435#line 272
 6436struct atm_dev;
 6437#line 272 "include/linux/atmdev.h"
 6438struct atm_vcc {
 6439   struct sock sk ;
 6440   unsigned long flags ;
 6441   short vpi ;
 6442   int vci ;
 6443   unsigned long aal_options ;
 6444   unsigned long atm_options ;
 6445   struct atm_dev *dev ;
 6446   struct atm_qos qos ;
 6447   struct atm_sap sap ;
 6448   void (*push)(struct atm_vcc * , struct sk_buff * ) ;
 6449   void (*pop)(struct atm_vcc * , struct sk_buff * ) ;
 6450   int (*push_oam)(struct atm_vcc * , void * ) ;
 6451   int (*send)(struct atm_vcc * , struct sk_buff * ) ;
 6452   void *dev_data ;
 6453   void *proto_data ;
 6454   struct k_atm_aal_stats *stats ;
 6455   short itf ;
 6456   struct sockaddr_atmsvc local ;
 6457   struct sockaddr_atmsvc remote ;
 6458   struct atm_vcc *session ;
 6459   void *user_back ;
 6460};
 6461#line 353
 6462struct atmdev_ops;
 6463#line 353
 6464struct atmdev_ops;
 6465#line 353
 6466struct atmdev_ops;
 6467#line 353
 6468struct atmphy_ops;
 6469#line 353
 6470struct atmphy_ops;
 6471#line 353
 6472struct atmphy_ops;
 6473#line 353 "include/linux/atmdev.h"
 6474struct atm_dev {
 6475   struct atmdev_ops  const  *ops ;
 6476   struct atmphy_ops  const  *phy ;
 6477   char const   *type ;
 6478   int number ;
 6479   void *dev_data ;
 6480   void *phy_data ;
 6481   unsigned long flags ;
 6482   struct list_head local ;
 6483   struct list_head lecs ;
 6484   unsigned char esi[6U] ;
 6485   struct atm_cirange ci_range ;
 6486   struct k_atm_dev_stats stats ;
 6487   char signal ;
 6488   int link_rate ;
 6489   atomic_t refcnt ;
 6490   spinlock_t lock ;
 6491   struct proc_dir_entry *proc_entry ;
 6492   char *proc_name ;
 6493   struct device class_dev ;
 6494   struct list_head dev_list ;
 6495};
 6496#line 376 "include/linux/atmdev.h"
 6497struct atmdev_ops {
 6498   void (*dev_close)(struct atm_dev * ) ;
 6499   int (*open)(struct atm_vcc * ) ;
 6500   void (*close)(struct atm_vcc * ) ;
 6501   int (*ioctl)(struct atm_dev * , unsigned int  , void * ) ;
 6502   int (*compat_ioctl)(struct atm_dev * , unsigned int  , void * ) ;
 6503   int (*getsockopt)(struct atm_vcc * , int  , int  , void * , int  ) ;
 6504   int (*setsockopt)(struct atm_vcc * , int  , int  , void * , unsigned int  ) ;
 6505   int (*send)(struct atm_vcc * , struct sk_buff * ) ;
 6506   int (*send_oam)(struct atm_vcc * , void * , int  ) ;
 6507   void (*phy_put)(struct atm_dev * , unsigned char  , unsigned long  ) ;
 6508   unsigned char (*phy_get)(struct atm_dev * , unsigned long  ) ;
 6509   int (*change_qos)(struct atm_vcc * , struct atm_qos * , int  ) ;
 6510   int (*proc_read)(struct atm_dev * , loff_t * , char * ) ;
 6511   struct module *owner ;
 6512};
 6513#line 410 "include/linux/atmdev.h"
 6514struct atmphy_ops {
 6515   int (*start)(struct atm_dev * ) ;
 6516   int (*ioctl)(struct atm_dev * , unsigned int  , void * ) ;
 6517   void (*interrupt)(struct atm_dev * ) ;
 6518   int (*stop)(struct atm_dev * ) ;
 6519};
 6520#line 417 "include/linux/atmdev.h"
 6521struct atm_skb_data {
 6522   struct atm_vcc *vcc ;
 6523   unsigned long atm_options ;
 6524};
 6525#line 71 "include/linux/sonet.h"
 6526struct eni_multipliers {
 6527   int tx ;
 6528   int rx ;
 6529};
 6530#line 16 "include/linux/atm_eni.h"
 6531struct midway_eprom {
 6532   unsigned char mac[6U] ;
 6533   unsigned char inv_mac[6U] ;
 6534   unsigned char pad[36U] ;
 6535   u32 serial ;
 6536   u32 inv_serial ;
 6537   u32 magic ;
 6538   u32 inv_magic ;
 6539};
 6540#line 239 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/atm/suni.h"
 6541struct eni_free {
 6542   void *start ;
 6543   int order ;
 6544};
 6545#line 38 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/atm/eni.h"
 6546struct eni_tx {
 6547   void *send ;
 6548   int prescaler ;
 6549   int resolution ;
 6550   unsigned long tx_pos ;
 6551   unsigned long words ;
 6552   int index ;
 6553   int reserved ;
 6554   int shaping ;
 6555   struct sk_buff_head backlog ;
 6556};
 6557#line 50 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/atm/eni.h"
 6558struct eni_vcc {
 6559   int (*rx)(struct atm_vcc * ) ;
 6560   void *recv ;
 6561   unsigned long words ;
 6562   unsigned long descr ;
 6563   unsigned long rx_pos ;
 6564   struct eni_tx *tx ;
 6565   int rxing ;
 6566   int servicing ;
 6567   int txing ;
 6568   ktime_t timestamp ;
 6569   struct atm_vcc *next ;
 6570   struct sk_buff *last ;
 6571};
 6572#line 65 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/atm/eni.h"
 6573struct eni_dev {
 6574   spinlock_t lock ;
 6575   struct tasklet_struct task ;
 6576   u32 events ;
 6577   void *phy ;
 6578   void *reg ;
 6579   void *ram ;
 6580   void *vci ;
 6581   void *rx_dma ;
 6582   void *tx_dma ;
 6583   void *service ;
 6584   struct eni_tx tx[8U] ;
 6585   struct eni_tx *ubr ;
 6586   struct sk_buff_head tx_queue ;
 6587   wait_queue_head_t tx_wait ;
 6588   int tx_bw ;
 6589   u32 dma[200U] ;
 6590   int tx_mult ;
 6591   u32 serv_read ;
 6592   struct atm_vcc *fast ;
 6593   struct atm_vcc *last_fast ;
 6594   struct atm_vcc *slow ;
 6595   struct atm_vcc *last_slow ;
 6596   struct atm_vcc **rx_map ;
 6597   struct sk_buff_head rx_queue ;
 6598   wait_queue_head_t rx_wait ;
 6599   int rx_mult ;
 6600   unsigned long lost ;
 6601   unsigned long base_diff ;
 6602   int free_len ;
 6603   struct eni_free *free_list ;
 6604   int free_list_size ;
 6605   struct atm_dev *more ;
 6606   int mem ;
 6607   int asic ;
 6608   unsigned int irq ;
 6609   struct pci_dev *pci_dev ;
 6610};
 6611#line 112 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/atm/eni.h"
 6612struct eni_skb_prv {
 6613   struct atm_skb_data _ ;
 6614   unsigned long pos ;
 6615   int size ;
 6616   dma_addr_t paddr ;
 6617};
 6618#line 933 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 6619enum enq_res {
 6620    enq_ok = 0,
 6621    enq_next = 1,
 6622    enq_jam = 2
 6623} ;
 6624#line 1 "<compiler builtins>"
 6625unsigned long __builtin_object_size(void * , int  ) ;
 6626#line 1
 6627long __builtin_expect(long  , long  ) ;
 6628#line 60 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
 6629__inline static void set_bit(unsigned int nr , unsigned long volatile   *addr ) 
 6630{ long volatile   *__cil_tmp3 ;
 6631
 6632  {
 6633#line 68
 6634  __cil_tmp3 = (long volatile   *)addr;
 6635#line 68
 6636  __asm__  volatile   (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; bts %1,%0": "+m" (*__cil_tmp3): "Ir" (nr): "memory");
 6637#line 70
 6638  return;
 6639}
 6640}
 6641#line 98 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
 6642__inline static void clear_bit(int nr , unsigned long volatile   *addr ) 
 6643{ long volatile   *__cil_tmp3 ;
 6644
 6645  {
 6646#line 105
 6647  __cil_tmp3 = (long volatile   *)addr;
 6648#line 105
 6649  __asm__  volatile   (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; btr %1,%0": "+m" (*__cil_tmp3): "Ir" (nr));
 6650#line 107
 6651  return;
 6652}
 6653}
 6654#line 195 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
 6655__inline static int test_and_set_bit(int nr , unsigned long volatile   *addr ) 
 6656{ int oldbit ;
 6657  long volatile   *__cil_tmp4 ;
 6658
 6659  {
 6660#line 199
 6661  __cil_tmp4 = (long volatile   *)addr;
 6662#line 199
 6663  __asm__  volatile   (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; bts %2,%1\n\tsbb %0,%0": "=r" (oldbit),
 6664                       "+m" (*__cil_tmp4): "Ir" (nr): "memory");
 6665#line 202
 6666  return (oldbit);
 6667}
 6668}
 6669#line 309 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
 6670__inline static int constant_test_bit(unsigned int nr , unsigned long const volatile   *addr ) 
 6671{ int __cil_tmp3 ;
 6672  int __cil_tmp4 ;
 6673  unsigned int __cil_tmp5 ;
 6674  unsigned long __cil_tmp6 ;
 6675  unsigned long const volatile   *__cil_tmp7 ;
 6676  unsigned long volatile   __cil_tmp8 ;
 6677  unsigned long __cil_tmp9 ;
 6678  unsigned long __cil_tmp10 ;
 6679  int __cil_tmp11 ;
 6680
 6681  {
 6682  {
 6683#line 311
 6684  __cil_tmp3 = (int )nr;
 6685#line 311
 6686  __cil_tmp4 = __cil_tmp3 & 63;
 6687#line 311
 6688  __cil_tmp5 = nr / 64U;
 6689#line 311
 6690  __cil_tmp6 = (unsigned long )__cil_tmp5;
 6691#line 311
 6692  __cil_tmp7 = addr + __cil_tmp6;
 6693#line 311
 6694  __cil_tmp8 = *__cil_tmp7;
 6695#line 311
 6696  __cil_tmp9 = (unsigned long )__cil_tmp8;
 6697#line 311
 6698  __cil_tmp10 = __cil_tmp9 >> __cil_tmp4;
 6699#line 311
 6700  __cil_tmp11 = (int )__cil_tmp10;
 6701#line 311
 6702  return (__cil_tmp11 & 1);
 6703  }
 6704}
 6705}
 6706#line 7 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/swab.h"
 6707__inline static __u32 __arch_swab32(__u32 val ) 
 6708{ 
 6709
 6710  {
 6711#line 21
 6712  __asm__  ("bswapl %0": "=r" (val): "0" (val));
 6713#line 25
 6714  return (val);
 6715}
 6716}
 6717#line 55 "include/linux/swab.h"
 6718__inline static __u32 __fswab32(__u32 val ) 
 6719{ __u32 tmp ;
 6720
 6721  {
 6722  {
 6723#line 58
 6724  tmp = __arch_swab32(val);
 6725  }
 6726#line 58
 6727  return (tmp);
 6728}
 6729}
 6730#line 101 "include/linux/printk.h"
 6731extern int printk(char const   *  , ...) ;
 6732#line 64 "include/asm-generic/bug.h"
 6733extern void warn_slowpath_fmt(char const   * , int  , char const   *  , ...) ;
 6734#line 69
 6735extern void warn_slowpath_null(char const   * , int  ) ;
 6736#line 170 "include/linux/kernel.h"
 6737extern void might_fault(void) ;
 6738#line 291
 6739extern int sprintf(char * , char const   *  , ...) ;
 6740#line 61 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/page_64_types.h"
 6741extern unsigned long __phys_addr(unsigned long  ) ;
 6742#line 88 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/percpu.h"
 6743extern void __bad_percpu_size(void) ;
 6744#line 10 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
 6745extern struct task_struct *current_task ;
 6746#line 12 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
 6747__inline static struct task_struct *get_current(void) 
 6748{ struct task_struct *pfo_ret__ ;
 6749
 6750  {
 6751#line 14
 6752  if (1) {
 6753#line 14
 6754    goto case_8;
 6755  } else {
 6756#line 14
 6757    goto switch_default;
 6758#line 14
 6759    if (0) {
 6760#line 14
 6761      __asm__  ("movb %%gs:%P1,%0": "=q" (pfo_ret__): "p" (& current_task));
 6762#line 14
 6763      goto ldv_2386;
 6764#line 14
 6765      __asm__  ("movw %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& current_task));
 6766#line 14
 6767      goto ldv_2386;
 6768#line 14
 6769      __asm__  ("movl %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& current_task));
 6770#line 14
 6771      goto ldv_2386;
 6772      case_8: 
 6773#line 14
 6774      __asm__  ("movq %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& current_task));
 6775#line 14
 6776      goto ldv_2386;
 6777      switch_default: 
 6778      {
 6779#line 14
 6780      __bad_percpu_size();
 6781      }
 6782    } else {
 6783
 6784    }
 6785  }
 6786  ldv_2386: ;
 6787#line 14
 6788  return (pfo_ret__);
 6789}
 6790}
 6791#line 11 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/cmpxchg_64.h"
 6792extern void __xchg_wrong_size(void) ;
 6793#line 349 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt_types.h"
 6794extern struct pv_irq_ops pv_irq_ops ;
 6795#line 55 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/string_64.h"
 6796extern void *memset(void * , int  , size_t  ) ;
 6797#line 851 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
 6798__inline static unsigned long arch_local_save_flags(void) 
 6799{ unsigned long __ret ;
 6800  unsigned long __edi ;
 6801  unsigned long __esi ;
 6802  unsigned long __edx ;
 6803  unsigned long __ecx ;
 6804  unsigned long __eax ;
 6805  long tmp ;
 6806  void *__cil_tmp8 ;
 6807  unsigned long __cil_tmp9 ;
 6808  unsigned long __cil_tmp10 ;
 6809  int __cil_tmp11 ;
 6810  long __cil_tmp12 ;
 6811
 6812  {
 6813  {
 6814#line 853
 6815  __edi = __edi;
 6816#line 853
 6817  __esi = __esi;
 6818#line 853
 6819  __edx = __edx;
 6820#line 853
 6821  __ecx = __ecx;
 6822#line 853
 6823  __eax = __eax;
 6824#line 853
 6825  __cil_tmp8 = (void *)0;
 6826#line 853
 6827  __cil_tmp9 = (unsigned long )__cil_tmp8;
 6828#line 853
 6829  __cil_tmp10 = (unsigned long )pv_irq_ops.save_fl.func;
 6830#line 853
 6831  __cil_tmp11 = __cil_tmp10 == __cil_tmp9;
 6832#line 853
 6833  __cil_tmp12 = (long )__cil_tmp11;
 6834#line 853
 6835  tmp = __builtin_expect(__cil_tmp12, 0L);
 6836  }
 6837#line 853
 6838  if (tmp != 0L) {
 6839#line 853
 6840    __asm__  volatile   ("1:\tud2\n.pushsection __bug_table,\"a\"\n2:\t.long 1b - 2b, %c0 - 2b\n\t.word %c1, 0\n\t.org 2b+%c2\n.popsection": : "i" ((char *)"/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"),
 6841                         "i" (853), "i" (12UL));
 6842    ldv_4705: ;
 6843#line 853
 6844    goto ldv_4705;
 6845  } else {
 6846
 6847  }
 6848#line 853
 6849  __asm__  volatile   ("771:\n\tcall *%c2;\n772:\n.pushsection .parainstructions,\"a\"\n .balign 8 \n .quad  771b\n  .byte %c1\n  .byte 772b-771b\n  .short %c3\n.popsection\n": "=a" (__eax): [paravirt_typenum] "i" (46UL),
 6850                       [paravirt_opptr] "i" (& pv_irq_ops.save_fl.func), [paravirt_clobber] "i" (1): "memory",
 6851                       "cc");
 6852#line 853
 6853  __ret = __eax;
 6854#line 853
 6855  return (__ret);
 6856}
 6857}
 6858#line 154 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/irqflags.h"
 6859__inline static int arch_irqs_disabled_flags(unsigned long flags ) 
 6860{ unsigned long __cil_tmp2 ;
 6861
 6862  {
 6863  {
 6864#line 156
 6865  __cil_tmp2 = flags & 512UL;
 6866#line 156
 6867  return (__cil_tmp2 == 0UL);
 6868  }
 6869}
 6870}
 6871#line 93 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic.h"
 6872__inline static void atomic_inc(atomic_t *v ) 
 6873{ 
 6874
 6875  {
 6876#line 95
 6877  __asm__  volatile   (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; incl %0": "+m" (v->counter));
 6878#line 97
 6879  return;
 6880}
 6881}
 6882#line 105 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic.h"
 6883__inline static void atomic_dec(atomic_t *v ) 
 6884{ 
 6885
 6886  {
 6887#line 107
 6888  __asm__  volatile   (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; decl %0": "+m" (v->counter));
 6889#line 109
 6890  return;
 6891}
 6892}
 6893#line 93 "include/linux/spinlock.h"
 6894extern void __raw_spin_lock_init(raw_spinlock_t * , char const   * , struct lock_class_key * ) ;
 6895#line 22 "include/linux/spinlock_api_smp.h"
 6896extern void _raw_spin_lock(raw_spinlock_t * ) ;
 6897#line 32
 6898extern unsigned long _raw_spin_lock_irqsave(raw_spinlock_t * ) ;
 6899#line 39
 6900extern void _raw_spin_unlock(raw_spinlock_t * ) ;
 6901#line 43
 6902extern void _raw_spin_unlock_irqrestore(raw_spinlock_t * , unsigned long  ) ;
 6903#line 18 "include/linux/rwlock_api_smp.h"
 6904extern void _raw_read_lock(rwlock_t * ) ;
 6905#line 30
 6906extern void _raw_read_unlock(rwlock_t * ) ;
 6907#line 272 "include/linux/spinlock.h"
 6908__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock ) 
 6909{ 
 6910
 6911  {
 6912#line 274
 6913  return (& lock->ldv_6060.rlock);
 6914}
 6915}
 6916#line 283 "include/linux/spinlock.h"
 6917__inline static void spin_lock(spinlock_t *lock ) 
 6918{ struct raw_spinlock *__cil_tmp2 ;
 6919
 6920  {
 6921  {
 6922#line 285
 6923  __cil_tmp2 = & lock->ldv_6060.rlock;
 6924#line 285
 6925  _raw_spin_lock(__cil_tmp2);
 6926  }
 6927#line 286
 6928  return;
 6929}
 6930}
 6931#line 323 "include/linux/spinlock.h"
 6932__inline static void spin_unlock(spinlock_t *lock ) 
 6933{ struct raw_spinlock *__cil_tmp2 ;
 6934
 6935  {
 6936  {
 6937#line 325
 6938  __cil_tmp2 = & lock->ldv_6060.rlock;
 6939#line 325
 6940  _raw_spin_unlock(__cil_tmp2);
 6941  }
 6942#line 326
 6943  return;
 6944}
 6945}
 6946#line 338 "include/linux/spinlock.h"
 6947__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags ) 
 6948{ struct raw_spinlock *__cil_tmp3 ;
 6949
 6950  {
 6951  {
 6952#line 340
 6953  __cil_tmp3 = & lock->ldv_6060.rlock;
 6954#line 340
 6955  _raw_spin_unlock_irqrestore(__cil_tmp3, flags);
 6956  }
 6957#line 341
 6958  return;
 6959}
 6960}
 6961#line 30 "include/linux/wait.h"
 6962extern int default_wake_function(wait_queue_t * , unsigned int  , int  , void * ) ;
 6963#line 80
 6964extern void __init_waitqueue_head(wait_queue_head_t * , struct lock_class_key * ) ;
 6965#line 118
 6966extern void add_wait_queue(wait_queue_head_t * , wait_queue_t * ) ;
 6967#line 120
 6968extern void remove_wait_queue(wait_queue_head_t * , wait_queue_t * ) ;
 6969#line 156
 6970extern void __wake_up(wait_queue_head_t * , unsigned int  , int  , void * ) ;
 6971#line 82 "include/linux/jiffies.h"
 6972extern unsigned long volatile   jiffies ;
 6973#line 55 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
 6974__inline static unsigned char readb(void const volatile   *addr ) 
 6975{ unsigned char ret ;
 6976  unsigned char volatile   *__cil_tmp3 ;
 6977
 6978  {
 6979#line 55
 6980  __cil_tmp3 = (unsigned char volatile   *)addr;
 6981#line 55
 6982  __asm__  volatile   ("movb %1,%0": "=q" (ret): "m" (*__cil_tmp3): "memory");
 6983#line 55
 6984  return (ret);
 6985}
 6986}
 6987#line 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
 6988__inline static unsigned int readl(void const volatile   *addr ) 
 6989{ unsigned int ret ;
 6990  unsigned int volatile   *__cil_tmp3 ;
 6991
 6992  {
 6993#line 57
 6994  __cil_tmp3 = (unsigned int volatile   *)addr;
 6995#line 57
 6996  __asm__  volatile   ("movl %1,%0": "=r" (ret): "m" (*__cil_tmp3): "memory");
 6997#line 57
 6998  return (ret);
 6999}
 7000}
 7001#line 65 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
 7002__inline static void writel(unsigned int val , void volatile   *addr ) 
 7003{ unsigned int volatile   *__cil_tmp3 ;
 7004
 7005  {
 7006#line 65
 7007  __cil_tmp3 = (unsigned int volatile   *)addr;
 7008#line 65
 7009  __asm__  volatile   ("movl %0,%1": : "r" (val), "m" (*__cil_tmp3): "memory");
 7010#line 66
 7011  return;
 7012}
 7013}
 7014#line 176
 7015extern void *ioremap_nocache(resource_size_t  , unsigned long  ) ;
 7016#line 189
 7017extern void iounmap(void volatile   * ) ;
 7018#line 205 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
 7019__inline static void memset_io(void volatile   *addr , unsigned char val , size_t count ) 
 7020{ void *__cil_tmp4 ;
 7021  int __cil_tmp5 ;
 7022
 7023  {
 7024  {
 7025#line 207
 7026  __cil_tmp4 = (void *)addr;
 7027#line 207
 7028  __cil_tmp5 = (int )val;
 7029#line 207
 7030  memset(__cil_tmp4, __cil_tmp5, count);
 7031  }
 7032#line 208
 7033  return;
 7034}
 7035}
 7036#line 345 "include/linux/gfp.h"
 7037extern unsigned long get_zeroed_page(gfp_t  ) ;
 7038#line 359
 7039extern void free_pages(unsigned long  , unsigned int  ) ;
 7040#line 830 "include/linux/rcupdate.h"
 7041extern void kfree(void const   * ) ;
 7042#line 99 "include/linux/module.h"
 7043extern struct module __this_module ;
 7044#line 3 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 7045int ldv_try_module_get(struct module *module ) ;
 7046#line 4
 7047void ldv_module_get(struct module *module ) ;
 7048#line 5
 7049void ldv_module_put(struct module *module ) ;
 7050#line 6
 7051unsigned int ldv_module_refcount(void) ;
 7052#line 7
 7053void ldv_module_put_and_exit(void) ;
 7054#line 706 "include/linux/device.h"
 7055extern int dev_set_drvdata(struct device * , void * ) ;
 7056#line 723 "include/linux/pci.h"
 7057extern int pci_bus_read_config_byte(struct pci_bus * , unsigned int  , int  , u8 * ) ;
 7058#line 729
 7059extern int pci_bus_write_config_byte(struct pci_bus * , unsigned int  , int  , u8  ) ;
 7060#line 731
 7061extern int pci_bus_write_config_word(struct pci_bus * , unsigned int  , int  , u16  ) ;
 7062#line 737 "include/linux/pci.h"
 7063__inline static int pci_read_config_byte(struct pci_dev *dev , int where , u8 *val ) 
 7064{ int tmp ;
 7065  struct pci_bus *__cil_tmp5 ;
 7066  unsigned int __cil_tmp6 ;
 7067
 7068  {
 7069  {
 7070#line 739
 7071  __cil_tmp5 = dev->bus;
 7072#line 739
 7073  __cil_tmp6 = dev->devfn;
 7074#line 739
 7075  tmp = pci_bus_read_config_byte(__cil_tmp5, __cil_tmp6, where, val);
 7076  }
 7077#line 739
 7078  return (tmp);
 7079}
 7080}
 7081#line 750 "include/linux/pci.h"
 7082__inline static int pci_write_config_byte(struct pci_dev *dev , int where , u8 val ) 
 7083{ int tmp ;
 7084  struct pci_bus *__cil_tmp5 ;
 7085  unsigned int __cil_tmp6 ;
 7086  int __cil_tmp7 ;
 7087  u8 __cil_tmp8 ;
 7088
 7089  {
 7090  {
 7091#line 752
 7092  __cil_tmp5 = dev->bus;
 7093#line 752
 7094  __cil_tmp6 = dev->devfn;
 7095#line 752
 7096  __cil_tmp7 = (int )val;
 7097#line 752
 7098  __cil_tmp8 = (u8 )__cil_tmp7;
 7099#line 752
 7100  tmp = pci_bus_write_config_byte(__cil_tmp5, __cil_tmp6, where, __cil_tmp8);
 7101  }
 7102#line 752
 7103  return (tmp);
 7104}
 7105}
 7106#line 754 "include/linux/pci.h"
 7107__inline static int pci_write_config_word(struct pci_dev *dev , int where , u16 val ) 
 7108{ int tmp ;
 7109  struct pci_bus *__cil_tmp5 ;
 7110  unsigned int __cil_tmp6 ;
 7111  int __cil_tmp7 ;
 7112  u16 __cil_tmp8 ;
 7113
 7114  {
 7115  {
 7116#line 756
 7117  __cil_tmp5 = dev->bus;
 7118#line 756
 7119  __cil_tmp6 = dev->devfn;
 7120#line 756
 7121  __cil_tmp7 = (int )val;
 7122#line 756
 7123  __cil_tmp8 = (u16 )__cil_tmp7;
 7124#line 756
 7125  tmp = pci_bus_write_config_word(__cil_tmp5, __cil_tmp6, where, __cil_tmp8);
 7126  }
 7127#line 756
 7128  return (tmp);
 7129}
 7130}
 7131#line 764
 7132extern int pci_enable_device(struct pci_dev * ) ;
 7133#line 782
 7134extern void pci_set_master(struct pci_dev * ) ;
 7135#line 916
 7136extern int __pci_register_driver(struct pci_driver * , struct module * , char const   * ) ;
 7137#line 221 "include/linux/slub_def.h"
 7138extern void *__kmalloc(size_t  , gfp_t  ) ;
 7139#line 255 "include/linux/slub_def.h"
 7140__inline static void *kmalloc(size_t size , gfp_t flags ) 
 7141{ void *tmp___2 ;
 7142
 7143  {
 7144  {
 7145#line 270
 7146  tmp___2 = __kmalloc(size, flags);
 7147  }
 7148#line 270
 7149  return (tmp___2);
 7150}
 7151}
 7152#line 80 "include/linux/dma-mapping.h"
 7153__inline static int valid_dma_direction(int dma_direction ) 
 7154{ int tmp ;
 7155
 7156  {
 7157#line 82
 7158  if (dma_direction == 0) {
 7159#line 82
 7160    tmp = 1;
 7161  } else
 7162#line 82
 7163  if (dma_direction == 1) {
 7164#line 82
 7165    tmp = 1;
 7166  } else
 7167#line 82
 7168  if (dma_direction == 2) {
 7169#line 82
 7170    tmp = 1;
 7171  } else {
 7172#line 82
 7173    tmp = 0;
 7174  }
 7175#line 82
 7176  return (tmp);
 7177}
 7178}
 7179#line 87 "include/linux/dma-mapping.h"
 7180__inline static int is_device_dma_capable(struct device *dev ) 
 7181{ int tmp ;
 7182  u64 *__cil_tmp3 ;
 7183  unsigned long __cil_tmp4 ;
 7184  u64 *__cil_tmp5 ;
 7185  unsigned long __cil_tmp6 ;
 7186  u64 *__cil_tmp7 ;
 7187  u64 __cil_tmp8 ;
 7188
 7189  {
 7190  {
 7191#line 89
 7192  __cil_tmp3 = (u64 *)0;
 7193#line 89
 7194  __cil_tmp4 = (unsigned long )__cil_tmp3;
 7195#line 89
 7196  __cil_tmp5 = dev->dma_mask;
 7197#line 89
 7198  __cil_tmp6 = (unsigned long )__cil_tmp5;
 7199#line 89
 7200  if (__cil_tmp6 != __cil_tmp4) {
 7201    {
 7202#line 89
 7203    __cil_tmp7 = dev->dma_mask;
 7204#line 89
 7205    __cil_tmp8 = *__cil_tmp7;
 7206#line 89
 7207    if (__cil_tmp8 != 0ULL) {
 7208#line 89
 7209      tmp = 1;
 7210    } else {
 7211#line 89
 7212      tmp = 0;
 7213    }
 7214    }
 7215  } else {
 7216#line 89
 7217    tmp = 0;
 7218  }
 7219  }
 7220#line 89
 7221  return (tmp);
 7222}
 7223}
 7224#line 131 "include/linux/kmemcheck.h"
 7225__inline static void kmemcheck_mark_initialized(void *address , unsigned int n ) 
 7226{ 
 7227
 7228  {
 7229#line 133
 7230  return;
 7231}
 7232}
 7233#line 37 "include/linux/dma-debug.h"
 7234extern void debug_dma_map_page(struct device * , struct page * , size_t  , size_t  ,
 7235                               int  , dma_addr_t  , bool  ) ;
 7236#line 42
 7237extern void debug_dma_unmap_page(struct device * , dma_addr_t  , size_t  , int  ,
 7238                                 bool  ) ;
 7239#line 51
 7240extern void debug_dma_alloc_coherent(struct device * , size_t  , dma_addr_t  , void * ) ;
 7241#line 54
 7242extern void debug_dma_free_coherent(struct device * , size_t  , void * , dma_addr_t  ) ;
 7243#line 26 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
 7244extern struct device x86_dma_fallback_dev ;
 7245#line 29
 7246extern struct dma_map_ops *dma_ops ;
 7247#line 31 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
 7248__inline static struct dma_map_ops *get_dma_ops(struct device *dev ) 
 7249{ long tmp ;
 7250  struct device *__cil_tmp3 ;
 7251  unsigned long __cil_tmp4 ;
 7252  unsigned long __cil_tmp5 ;
 7253  int __cil_tmp6 ;
 7254  long __cil_tmp7 ;
 7255  struct dma_map_ops *__cil_tmp8 ;
 7256  unsigned long __cil_tmp9 ;
 7257  struct dma_map_ops *__cil_tmp10 ;
 7258  unsigned long __cil_tmp11 ;
 7259
 7260  {
 7261  {
 7262#line 36
 7263  __cil_tmp3 = (struct device *)0;
 7264#line 36
 7265  __cil_tmp4 = (unsigned long )__cil_tmp3;
 7266#line 36
 7267  __cil_tmp5 = (unsigned long )dev;
 7268#line 36
 7269  __cil_tmp6 = __cil_tmp5 == __cil_tmp4;
 7270#line 36
 7271  __cil_tmp7 = (long )__cil_tmp6;
 7272#line 36
 7273  tmp = __builtin_expect(__cil_tmp7, 0L);
 7274  }
 7275#line 36
 7276  if (tmp != 0L) {
 7277#line 37
 7278    return (dma_ops);
 7279  } else {
 7280    {
 7281#line 36
 7282    __cil_tmp8 = (struct dma_map_ops *)0;
 7283#line 36
 7284    __cil_tmp9 = (unsigned long )__cil_tmp8;
 7285#line 36
 7286    __cil_tmp10 = dev->archdata.dma_ops;
 7287#line 36
 7288    __cil_tmp11 = (unsigned long )__cil_tmp10;
 7289#line 36
 7290    if (__cil_tmp11 == __cil_tmp9) {
 7291#line 37
 7292      return (dma_ops);
 7293    } else {
 7294#line 39
 7295      return (dev->archdata.dma_ops);
 7296    }
 7297    }
 7298  }
 7299}
 7300}
 7301#line 9 "include/asm-generic/dma-mapping-common.h"
 7302__inline static dma_addr_t dma_map_single_attrs(struct device *dev , void *ptr , size_t size ,
 7303                                                enum dma_data_direction dir , struct dma_attrs *attrs ) 
 7304{ struct dma_map_ops *ops ;
 7305  struct dma_map_ops *tmp ;
 7306  dma_addr_t addr ;
 7307  int tmp___0 ;
 7308  long tmp___1 ;
 7309  unsigned long tmp___2 ;
 7310  unsigned long tmp___3 ;
 7311  unsigned int __cil_tmp13 ;
 7312  int __cil_tmp14 ;
 7313  int __cil_tmp15 ;
 7314  long __cil_tmp16 ;
 7315  unsigned long __cil_tmp17 ;
 7316  dma_addr_t (*__cil_tmp18)(struct device * , struct page * , unsigned long  , size_t  ,
 7317                            enum dma_data_direction  , struct dma_attrs * ) ;
 7318  unsigned long __cil_tmp19 ;
 7319  unsigned long __cil_tmp20 ;
 7320  struct page *__cil_tmp21 ;
 7321  unsigned long __cil_tmp22 ;
 7322  unsigned long __cil_tmp23 ;
 7323  unsigned long __cil_tmp24 ;
 7324  unsigned long __cil_tmp25 ;
 7325  unsigned long __cil_tmp26 ;
 7326  struct page *__cil_tmp27 ;
 7327  unsigned long __cil_tmp28 ;
 7328  unsigned long __cil_tmp29 ;
 7329  int __cil_tmp30 ;
 7330  bool __cil_tmp31 ;
 7331
 7332  {
 7333  {
 7334#line 14
 7335  tmp = get_dma_ops(dev);
 7336#line 14
 7337  ops = tmp;
 7338#line 17
 7339  __cil_tmp13 = (unsigned int )size;
 7340#line 17
 7341  kmemcheck_mark_initialized(ptr, __cil_tmp13);
 7342#line 18
 7343  __cil_tmp14 = (int )dir;
 7344#line 18
 7345  tmp___0 = valid_dma_direction(__cil_tmp14);
 7346#line 18
 7347  __cil_tmp15 = tmp___0 == 0;
 7348#line 18
 7349  __cil_tmp16 = (long )__cil_tmp15;
 7350#line 18
 7351  tmp___1 = __builtin_expect(__cil_tmp16, 0L);
 7352  }
 7353#line 18
 7354  if (tmp___1 != 0L) {
 7355#line 18
 7356    __asm__  volatile   ("1:\tud2\n.pushsection __bug_table,\"a\"\n2:\t.long 1b - 2b, %c0 - 2b\n\t.word %c1, 0\n\t.org 2b+%c2\n.popsection": : "i" ((char *)"include/asm-generic/dma-mapping-common.h"),
 7357                         "i" (18), "i" (12UL));
 7358    ldv_18949: ;
 7359#line 18
 7360    goto ldv_18949;
 7361  } else {
 7362
 7363  }
 7364  {
 7365#line 19
 7366  __cil_tmp17 = (unsigned long )ptr;
 7367#line 19
 7368  tmp___2 = __phys_addr(__cil_tmp17);
 7369#line 19
 7370  __cil_tmp18 = ops->map_page;
 7371#line 19
 7372  __cil_tmp19 = tmp___2 >> 12;
 7373#line 19
 7374  __cil_tmp20 = 1152897315351035904UL + __cil_tmp19;
 7375#line 19
 7376  __cil_tmp21 = (struct page *)__cil_tmp20;
 7377#line 19
 7378  __cil_tmp22 = (unsigned long )ptr;
 7379#line 19
 7380  __cil_tmp23 = __cil_tmp22 & 4095UL;
 7381#line 19
 7382  addr = (*__cil_tmp18)(dev, __cil_tmp21, __cil_tmp23, size, dir, attrs);
 7383#line 22
 7384  __cil_tmp24 = (unsigned long )ptr;
 7385#line 22
 7386  tmp___3 = __phys_addr(__cil_tmp24);
 7387#line 22
 7388  __cil_tmp25 = tmp___3 >> 12;
 7389#line 22
 7390  __cil_tmp26 = 1152897315351035904UL + __cil_tmp25;
 7391#line 22
 7392  __cil_tmp27 = (struct page *)__cil_tmp26;
 7393#line 22
 7394  __cil_tmp28 = (unsigned long )ptr;
 7395#line 22
 7396  __cil_tmp29 = __cil_tmp28 & 4095UL;
 7397#line 22
 7398  __cil_tmp30 = (int )dir;
 7399#line 22
 7400  __cil_tmp31 = (bool )1;
 7401#line 22
 7402  debug_dma_map_page(dev, __cil_tmp27, __cil_tmp29, size, __cil_tmp30, addr, __cil_tmp31);
 7403  }
 7404#line 25
 7405  return (addr);
 7406}
 7407}
 7408#line 28 "include/asm-generic/dma-mapping-common.h"
 7409__inline static void dma_unmap_single_attrs(struct device *dev , dma_addr_t addr ,
 7410                                            size_t size , enum dma_data_direction dir ,
 7411                                            struct dma_attrs *attrs ) 
 7412{ struct dma_map_ops *ops ;
 7413  struct dma_map_ops *tmp ;
 7414  int tmp___0 ;
 7415  long tmp___1 ;
 7416  int __cil_tmp10 ;
 7417  int __cil_tmp11 ;
 7418  long __cil_tmp12 ;
 7419  void (*__cil_tmp13)(struct device * , dma_addr_t  , size_t  , enum dma_data_direction  ,
 7420                      struct dma_attrs * ) ;
 7421  unsigned long __cil_tmp14 ;
 7422  void (*__cil_tmp15)(struct device * , dma_addr_t  , size_t  , enum dma_data_direction  ,
 7423                      struct dma_attrs * ) ;
 7424  unsigned long __cil_tmp16 ;
 7425  void (*__cil_tmp17)(struct device * , dma_addr_t  , size_t  , enum dma_data_direction  ,
 7426                      struct dma_attrs * ) ;
 7427  int __cil_tmp18 ;
 7428  bool __cil_tmp19 ;
 7429
 7430  {
 7431  {
 7432#line 33
 7433  tmp = get_dma_ops(dev);
 7434#line 33
 7435  ops = tmp;
 7436#line 35
 7437  __cil_tmp10 = (int )dir;
 7438#line 35
 7439  tmp___0 = valid_dma_direction(__cil_tmp10);
 7440#line 35
 7441  __cil_tmp11 = tmp___0 == 0;
 7442#line 35
 7443  __cil_tmp12 = (long )__cil_tmp11;
 7444#line 35
 7445  tmp___1 = __builtin_expect(__cil_tmp12, 0L);
 7446  }
 7447#line 35
 7448  if (tmp___1 != 0L) {
 7449#line 35
 7450    __asm__  volatile   ("1:\tud2\n.pushsection __bug_table,\"a\"\n2:\t.long 1b - 2b, %c0 - 2b\n\t.word %c1, 0\n\t.org 2b+%c2\n.popsection": : "i" ((char *)"include/asm-generic/dma-mapping-common.h"),
 7451                         "i" (35), "i" (12UL));
 7452    ldv_18958: ;
 7453#line 35
 7454    goto ldv_18958;
 7455  } else {
 7456
 7457  }
 7458  {
 7459#line 36
 7460  __cil_tmp13 = (void (*)(struct device * , dma_addr_t  , size_t  , enum dma_data_direction  ,
 7461                          struct dma_attrs * ))0;
 7462#line 36
 7463  __cil_tmp14 = (unsigned long )__cil_tmp13;
 7464#line 36
 7465  __cil_tmp15 = ops->unmap_page;
 7466#line 36
 7467  __cil_tmp16 = (unsigned long )__cil_tmp15;
 7468#line 36
 7469  if (__cil_tmp16 != __cil_tmp14) {
 7470    {
 7471#line 37
 7472    __cil_tmp17 = ops->unmap_page;
 7473#line 37
 7474    (*__cil_tmp17)(dev, addr, size, dir, attrs);
 7475    }
 7476  } else {
 7477
 7478  }
 7479  }
 7480  {
 7481#line 38
 7482  __cil_tmp18 = (int )dir;
 7483#line 38
 7484  __cil_tmp19 = (bool )1;
 7485#line 38
 7486  debug_dma_unmap_page(dev, addr, size, __cil_tmp18, __cil_tmp19);
 7487  }
 7488#line 39
 7489  return;
 7490}
 7491}
 7492#line 89 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
 7493__inline static unsigned long dma_alloc_coherent_mask(struct device *dev , gfp_t gfp ) 
 7494{ unsigned long dma_mask ;
 7495  u64 __cil_tmp4 ;
 7496  int __cil_tmp5 ;
 7497
 7498  {
 7499#line 92
 7500  dma_mask = 0UL;
 7501#line 94
 7502  __cil_tmp4 = dev->coherent_dma_mask;
 7503#line 94
 7504  dma_mask = (unsigned long )__cil_tmp4;
 7505#line 95
 7506  if (dma_mask == 0UL) {
 7507    {
 7508#line 96
 7509    __cil_tmp5 = (int )gfp;
 7510#line 96
 7511    if (__cil_tmp5 & 1) {
 7512#line 96
 7513      dma_mask = 16777215UL;
 7514    } else {
 7515#line 96
 7516      dma_mask = 4294967295UL;
 7517    }
 7518    }
 7519  } else {
 7520
 7521  }
 7522#line 98
 7523  return (dma_mask);
 7524}
 7525}
 7526#line 101 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
 7527__inline static gfp_t dma_alloc_coherent_gfp_flags(struct device *dev , gfp_t gfp ) 
 7528{ unsigned long dma_mask ;
 7529  unsigned long tmp ;
 7530  unsigned long long __cil_tmp5 ;
 7531  unsigned long long __cil_tmp6 ;
 7532  unsigned int __cil_tmp7 ;
 7533
 7534  {
 7535  {
 7536#line 103
 7537  tmp = dma_alloc_coherent_mask(dev, gfp);
 7538#line 103
 7539  dma_mask = tmp;
 7540  }
 7541  {
 7542#line 105
 7543  __cil_tmp5 = (unsigned long long )dma_mask;
 7544#line 105
 7545  if (__cil_tmp5 <= 16777215ULL) {
 7546#line 106
 7547    gfp = gfp | 1U;
 7548  } else {
 7549
 7550  }
 7551  }
 7552  {
 7553#line 108
 7554  __cil_tmp6 = (unsigned long long )dma_mask;
 7555#line 108
 7556  if (__cil_tmp6 <= 4294967295ULL) {
 7557    {
 7558#line 108
 7559    __cil_tmp7 = gfp & 1U;
 7560#line 108
 7561    if (__cil_tmp7 == 0U) {
 7562#line 109
 7563      gfp = gfp | 4U;
 7564    } else {
 7565
 7566    }
 7567    }
 7568  } else {
 7569
 7570  }
 7571  }
 7572#line 111
 7573  return (gfp);
 7574}
 7575}
 7576#line 115 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
 7577__inline static void *dma_alloc_coherent(struct device *dev , size_t size , dma_addr_t *dma_handle ,
 7578                                         gfp_t gfp ) 
 7579{ struct dma_map_ops *ops ;
 7580  struct dma_map_ops *tmp ;
 7581  void *memory ;
 7582  int tmp___0 ;
 7583  gfp_t tmp___1 ;
 7584  struct device *__cil_tmp10 ;
 7585  unsigned long __cil_tmp11 ;
 7586  unsigned long __cil_tmp12 ;
 7587  void *(*__cil_tmp13)(struct device * , size_t  , dma_addr_t * , gfp_t  ) ;
 7588  unsigned long __cil_tmp14 ;
 7589  void *(*__cil_tmp15)(struct device * , size_t  , dma_addr_t * , gfp_t  ) ;
 7590  unsigned long __cil_tmp16 ;
 7591  void *(*__cil_tmp17)(struct device * , size_t  , dma_addr_t * , gfp_t  ) ;
 7592  dma_addr_t __cil_tmp18 ;
 7593
 7594  {
 7595  {
 7596#line 118
 7597  tmp = get_dma_ops(dev);
 7598#line 118
 7599  ops = tmp;
 7600#line 121
 7601  gfp = gfp & 4294967288U;
 7602  }
 7603  {
 7604#line 126
 7605  __cil_tmp10 = (struct device *)0;
 7606#line 126
 7607  __cil_tmp11 = (unsigned long )__cil_tmp10;
 7608#line 126
 7609  __cil_tmp12 = (unsigned long )dev;
 7610#line 126
 7611  if (__cil_tmp12 == __cil_tmp11) {
 7612#line 127
 7613    dev = & x86_dma_fallback_dev;
 7614  } else {
 7615
 7616  }
 7617  }
 7618  {
 7619#line 129
 7620  tmp___0 = is_device_dma_capable(dev);
 7621  }
 7622#line 129
 7623  if (tmp___0 == 0) {
 7624#line 130
 7625    return ((void *)0);
 7626  } else {
 7627
 7628  }
 7629  {
 7630#line 132
 7631  __cil_tmp13 = (void *(*)(struct device * , size_t  , dma_addr_t * , gfp_t  ))0;
 7632#line 132
 7633  __cil_tmp14 = (unsigned long )__cil_tmp13;
 7634#line 132
 7635  __cil_tmp15 = ops->alloc_coherent;
 7636#line 132
 7637  __cil_tmp16 = (unsigned long )__cil_tmp15;
 7638#line 132
 7639  if (__cil_tmp16 == __cil_tmp14) {
 7640#line 133
 7641    return ((void *)0);
 7642  } else {
 7643
 7644  }
 7645  }
 7646  {
 7647#line 135
 7648  tmp___1 = dma_alloc_coherent_gfp_flags(dev, gfp);
 7649#line 135
 7650  __cil_tmp17 = ops->alloc_coherent;
 7651#line 135
 7652  memory = (*__cil_tmp17)(dev, size, dma_handle, tmp___1);
 7653#line 137
 7654  __cil_tmp18 = *dma_handle;
 7655#line 137
 7656  debug_dma_alloc_coherent(dev, size, __cil_tmp18, memory);
 7657  }
 7658#line 139
 7659  return (memory);
 7660}
 7661}
 7662#line 142 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
 7663__inline static void dma_free_coherent(struct device *dev , size_t size , void *vaddr ,
 7664                                       dma_addr_t bus ) 
 7665{ struct dma_map_ops *ops ;
 7666  struct dma_map_ops *tmp ;
 7667  int __ret_warn_on ;
 7668  unsigned long _flags ;
 7669  int tmp___0 ;
 7670  long tmp___1 ;
 7671  int __cil_tmp11 ;
 7672  long __cil_tmp12 ;
 7673  int __cil_tmp13 ;
 7674  int __cil_tmp14 ;
 7675  int __cil_tmp15 ;
 7676  long __cil_tmp16 ;
 7677  void (*__cil_tmp17)(struct device * , size_t  , void * , dma_addr_t  ) ;
 7678  unsigned long __cil_tmp18 ;
 7679  void (*__cil_tmp19)(struct device * , size_t  , void * , dma_addr_t  ) ;
 7680  unsigned long __cil_tmp20 ;
 7681  void (*__cil_tmp21)(struct device * , size_t  , void * , dma_addr_t  ) ;
 7682
 7683  {
 7684  {
 7685#line 145
 7686  tmp = get_dma_ops(dev);
 7687#line 145
 7688  ops = tmp;
 7689#line 147
 7690  _flags = arch_local_save_flags();
 7691#line 147
 7692  tmp___0 = arch_irqs_disabled_flags(_flags);
 7693#line 147
 7694  __ret_warn_on = tmp___0 != 0;
 7695#line 147
 7696  __cil_tmp11 = __ret_warn_on != 0;
 7697#line 147
 7698  __cil_tmp12 = (long )__cil_tmp11;
 7699#line 147
 7700  tmp___1 = __builtin_expect(__cil_tmp12, 0L);
 7701  }
 7702#line 147
 7703  if (tmp___1 != 0L) {
 7704    {
 7705#line 147
 7706    __cil_tmp13 = (int const   )147;
 7707#line 147
 7708    __cil_tmp14 = (int )__cil_tmp13;
 7709#line 147
 7710    warn_slowpath_null("/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h",
 7711                       __cil_tmp14);
 7712    }
 7713  } else {
 7714
 7715  }
 7716  {
 7717#line 147
 7718  __cil_tmp15 = __ret_warn_on != 0;
 7719#line 147
 7720  __cil_tmp16 = (long )__cil_tmp15;
 7721#line 147
 7722  __builtin_expect(__cil_tmp16, 0L);
 7723#line 152
 7724  debug_dma_free_coherent(dev, size, vaddr, bus);
 7725  }
 7726  {
 7727#line 153
 7728  __cil_tmp17 = (void (*)(struct device * , size_t  , void * , dma_addr_t  ))0;
 7729#line 153
 7730  __cil_tmp18 = (unsigned long )__cil_tmp17;
 7731#line 153
 7732  __cil_tmp19 = ops->free_coherent;
 7733#line 153
 7734  __cil_tmp20 = (unsigned long )__cil_tmp19;
 7735#line 153
 7736  if (__cil_tmp20 != __cil_tmp18) {
 7737    {
 7738#line 154
 7739    __cil_tmp21 = ops->free_coherent;
 7740#line 154
 7741    (*__cil_tmp21)(dev, size, vaddr, bus);
 7742    }
 7743  } else {
 7744
 7745  }
 7746  }
 7747#line 155
 7748  return;
 7749}
 7750}
 7751#line 16 "include/asm-generic/pci-dma-compat.h"
 7752__inline static void *pci_alloc_consistent(struct pci_dev *hwdev , size_t size , dma_addr_t *dma_handle ) 
 7753{ struct device *tmp ;
 7754  void *tmp___0 ;
 7755  struct pci_dev *__cil_tmp6 ;
 7756  unsigned long __cil_tmp7 ;
 7757  unsigned long __cil_tmp8 ;
 7758
 7759  {
 7760  {
 7761#line 19
 7762  __cil_tmp6 = (struct pci_dev *)0;
 7763#line 19
 7764  __cil_tmp7 = (unsigned long )__cil_tmp6;
 7765#line 19
 7766  __cil_tmp8 = (unsigned long )hwdev;
 7767#line 19
 7768  if (__cil_tmp8 != __cil_tmp7) {
 7769#line 19
 7770    tmp = & hwdev->dev;
 7771  } else {
 7772#line 19
 7773    tmp = (struct device *)0;
 7774  }
 7775  }
 7776  {
 7777#line 19
 7778  tmp___0 = dma_alloc_coherent(tmp, size, dma_handle, 32U);
 7779  }
 7780#line 19
 7781  return (tmp___0);
 7782}
 7783}
 7784#line 23 "include/asm-generic/pci-dma-compat.h"
 7785__inline static void pci_free_consistent(struct pci_dev *hwdev , size_t size , void *vaddr ,
 7786                                         dma_addr_t dma_handle ) 
 7787{ struct device *tmp ;
 7788  struct pci_dev *__cil_tmp6 ;
 7789  unsigned long __cil_tmp7 ;
 7790  unsigned long __cil_tmp8 ;
 7791
 7792  {
 7793  {
 7794#line 26
 7795  __cil_tmp6 = (struct pci_dev *)0;
 7796#line 26
 7797  __cil_tmp7 = (unsigned long )__cil_tmp6;
 7798#line 26
 7799  __cil_tmp8 = (unsigned long )hwdev;
 7800#line 26
 7801  if (__cil_tmp8 != __cil_tmp7) {
 7802#line 26
 7803    tmp = & hwdev->dev;
 7804  } else {
 7805#line 26
 7806    tmp = (struct device *)0;
 7807  }
 7808  }
 7809  {
 7810#line 26
 7811  dma_free_coherent(tmp, size, vaddr, dma_handle);
 7812  }
 7813#line 27
 7814  return;
 7815}
 7816}
 7817#line 30 "include/asm-generic/pci-dma-compat.h"
 7818__inline static dma_addr_t pci_map_single(struct pci_dev *hwdev , void *ptr , size_t size ,
 7819                                          int direction ) 
 7820{ struct device *tmp ;
 7821  dma_addr_t tmp___0 ;
 7822  struct pci_dev *__cil_tmp7 ;
 7823  unsigned long __cil_tmp8 ;
 7824  unsigned long __cil_tmp9 ;
 7825  enum dma_data_direction __cil_tmp10 ;
 7826  struct dma_attrs *__cil_tmp11 ;
 7827
 7828  {
 7829  {
 7830#line 32
 7831  __cil_tmp7 = (struct pci_dev *)0;
 7832#line 32
 7833  __cil_tmp8 = (unsigned long )__cil_tmp7;
 7834#line 32
 7835  __cil_tmp9 = (unsigned long )hwdev;
 7836#line 32
 7837  if (__cil_tmp9 != __cil_tmp8) {
 7838#line 32
 7839    tmp = & hwdev->dev;
 7840  } else {
 7841#line 32
 7842    tmp = (struct device *)0;
 7843  }
 7844  }
 7845  {
 7846#line 32
 7847  __cil_tmp10 = (enum dma_data_direction )direction;
 7848#line 32
 7849  __cil_tmp11 = (struct dma_attrs *)0;
 7850#line 32
 7851  tmp___0 = dma_map_single_attrs(tmp, ptr, size, __cil_tmp10, __cil_tmp11);
 7852  }
 7853#line 32
 7854  return (tmp___0);
 7855}
 7856}
 7857#line 36 "include/asm-generic/pci-dma-compat.h"
 7858__inline static void pci_unmap_single(struct pci_dev *hwdev , dma_addr_t dma_addr ,
 7859                                      size_t size , int direction ) 
 7860{ struct device *tmp ;
 7861  struct pci_dev *__cil_tmp6 ;
 7862  unsigned long __cil_tmp7 ;
 7863  unsigned long __cil_tmp8 ;
 7864  enum dma_data_direction __cil_tmp9 ;
 7865  struct dma_attrs *__cil_tmp10 ;
 7866
 7867  {
 7868  {
 7869#line 39
 7870  __cil_tmp6 = (struct pci_dev *)0;
 7871#line 39
 7872  __cil_tmp7 = (unsigned long )__cil_tmp6;
 7873#line 39
 7874  __cil_tmp8 = (unsigned long )hwdev;
 7875#line 39
 7876  if (__cil_tmp8 != __cil_tmp7) {
 7877#line 39
 7878    tmp = & hwdev->dev;
 7879  } else {
 7880#line 39
 7881    tmp = (struct device *)0;
 7882  }
 7883  }
 7884  {
 7885#line 39
 7886  __cil_tmp9 = (enum dma_data_direction )direction;
 7887#line 39
 7888  __cil_tmp10 = (struct dma_attrs *)0;
 7889#line 39
 7890  dma_unmap_single_attrs(tmp, dma_addr, size, __cil_tmp9, __cil_tmp10);
 7891  }
 7892#line 40
 7893  return;
 7894}
 7895}
 7896#line 1321 "include/linux/pci.h"
 7897__inline static void pci_set_drvdata(struct pci_dev *pdev , void *data ) 
 7898{ struct device *__cil_tmp3 ;
 7899
 7900  {
 7901  {
 7902#line 1323
 7903  __cil_tmp3 = & pdev->dev;
 7904#line 1323
 7905  dev_set_drvdata(__cil_tmp3, data);
 7906  }
 7907#line 1324
 7908  return;
 7909}
 7910}
 7911#line 546 "include/linux/capability.h"
 7912extern bool capable(int  ) ;
 7913#line 320 "include/linux/hrtimer.h"
 7914extern ktime_t ktime_get_real(void) ;
 7915#line 361 "include/linux/sched.h"
 7916extern void schedule(void) ;
 7917#line 42 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
 7918extern unsigned long _copy_from_user(void * , void const   * , unsigned int  ) ;
 7919#line 46 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
 7920__inline static unsigned long copy_from_user(void *to , void const   *from , unsigned long n ) 
 7921{ int sz ;
 7922  unsigned long tmp ;
 7923  int __ret_warn_on ;
 7924  long tmp___0 ;
 7925  long tmp___1 ;
 7926  long tmp___2 ;
 7927  void const   *__cil_tmp10 ;
 7928  void *__cil_tmp11 ;
 7929  int __cil_tmp12 ;
 7930  long __cil_tmp13 ;
 7931  unsigned int __cil_tmp14 ;
 7932  unsigned long __cil_tmp15 ;
 7933  int __cil_tmp16 ;
 7934  long __cil_tmp17 ;
 7935  unsigned int __cil_tmp18 ;
 7936  int __cil_tmp19 ;
 7937  long __cil_tmp20 ;
 7938  int __cil_tmp21 ;
 7939  int __cil_tmp22 ;
 7940  int __cil_tmp23 ;
 7941  long __cil_tmp24 ;
 7942
 7943  {
 7944  {
 7945#line 50
 7946  __cil_tmp10 = (void const   *)to;
 7947#line 50
 7948  __cil_tmp11 = (void *)__cil_tmp10;
 7949#line 50
 7950  tmp = __builtin_object_size(__cil_tmp11, 0);
 7951#line 50
 7952  sz = (int )tmp;
 7953#line 52
 7954  might_fault();
 7955#line 53
 7956  __cil_tmp12 = sz == -1;
 7957#line 53
 7958  __cil_tmp13 = (long )__cil_tmp12;
 7959#line 53
 7960  tmp___1 = __builtin_expect(__cil_tmp13, 1L);
 7961  }
 7962#line 53
 7963  if (tmp___1 != 0L) {
 7964    {
 7965#line 54
 7966    __cil_tmp14 = (unsigned int )n;
 7967#line 54
 7968    n = _copy_from_user(to, from, __cil_tmp14);
 7969    }
 7970  } else {
 7971    {
 7972#line 53
 7973    __cil_tmp15 = (unsigned long )sz;
 7974#line 53
 7975    __cil_tmp16 = __cil_tmp15 >= n;
 7976#line 53
 7977    __cil_tmp17 = (long )__cil_tmp16;
 7978#line 53
 7979    tmp___2 = __builtin_expect(__cil_tmp17, 1L);
 7980    }
 7981#line 53
 7982    if (tmp___2 != 0L) {
 7983      {
 7984#line 54
 7985      __cil_tmp18 = (unsigned int )n;
 7986#line 54
 7987      n = _copy_from_user(to, from, __cil_tmp18);
 7988      }
 7989    } else {
 7990      {
 7991#line 57
 7992      __ret_warn_on = 1;
 7993#line 57
 7994      __cil_tmp19 = __ret_warn_on != 0;
 7995#line 57
 7996      __cil_tmp20 = (long )__cil_tmp19;
 7997#line 57
 7998      tmp___0 = __builtin_expect(__cil_tmp20, 0L);
 7999      }
 8000#line 57
 8001      if (tmp___0 != 0L) {
 8002        {
 8003#line 57
 8004        __cil_tmp21 = (int const   )57;
 8005#line 57
 8006        __cil_tmp22 = (int )__cil_tmp21;
 8007#line 57
 8008        warn_slowpath_fmt("/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h",
 8009                          __cil_tmp22, "Buffer overflow detected!\n");
 8010        }
 8011      } else {
 8012
 8013      }
 8014      {
 8015#line 57
 8016      __cil_tmp23 = __ret_warn_on != 0;
 8017#line 57
 8018      __cil_tmp24 = (long )__cil_tmp23;
 8019#line 57
 8020      __builtin_expect(__cil_tmp24, 0L);
 8021      }
 8022    }
 8023  }
 8024#line 59
 8025  return (n);
 8026}
 8027}
 8028#line 491 "include/linux/skbuff.h"
 8029extern void consume_skb(struct sk_buff * ) ;
 8030#line 568 "include/linux/skbuff.h"
 8031__inline static unsigned char *skb_end_pointer(struct sk_buff  const  *skb ) 
 8032{ sk_buff_data_t __cil_tmp2 ;
 8033  unsigned long __cil_tmp3 ;
 8034  unsigned char *__cil_tmp4 ;
 8035  unsigned char *__cil_tmp5 ;
 8036
 8037  {
 8038  {
 8039#line 570
 8040  __cil_tmp2 = skb->end;
 8041#line 570
 8042  __cil_tmp3 = (unsigned long )__cil_tmp2;
 8043#line 570
 8044  __cil_tmp4 = skb->head;
 8045#line 570
 8046  __cil_tmp5 = (unsigned char *)__cil_tmp4;
 8047#line 570
 8048  return (__cil_tmp5 + __cil_tmp3);
 8049  }
 8050}
 8051}
 8052#line 808 "include/linux/skbuff.h"
 8053__inline static struct sk_buff *skb_peek(struct sk_buff_head *list_ ) 
 8054{ struct sk_buff *list ;
 8055  struct sk_buff *__cil_tmp3 ;
 8056  struct sk_buff *__cil_tmp4 ;
 8057  unsigned long __cil_tmp5 ;
 8058  unsigned long __cil_tmp6 ;
 8059
 8060  {
 8061#line 810
 8062  __cil_tmp3 = (struct sk_buff *)list_;
 8063#line 810
 8064  list = __cil_tmp3->next;
 8065  {
 8066#line 811
 8067  __cil_tmp4 = (struct sk_buff *)list_;
 8068#line 811
 8069  __cil_tmp5 = (unsigned long )__cil_tmp4;
 8070#line 811
 8071  __cil_tmp6 = (unsigned long )list;
 8072#line 811
 8073  if (__cil_tmp6 == __cil_tmp5) {
 8074#line 812
 8075    list = (struct sk_buff *)0;
 8076  } else {
 8077
 8078  }
 8079  }
 8080#line 813
 8081  return (list);
 8082}
 8083}
 8084#line 843 "include/linux/skbuff.h"
 8085__inline static __u32 skb_queue_len(struct sk_buff_head  const  *list_ ) 
 8086{ __u32 __cil_tmp2 ;
 8087
 8088  {
 8089  {
 8090#line 845
 8091  __cil_tmp2 = list_->qlen;
 8092#line 845
 8093  return ((__u32 )__cil_tmp2);
 8094  }
 8095}
 8096}
 8097#line 858 "include/linux/skbuff.h"
 8098__inline static void __skb_queue_head_init(struct sk_buff_head *list ) 
 8099{ struct sk_buff *tmp ;
 8100
 8101  {
 8102#line 860
 8103  tmp = (struct sk_buff *)list;
 8104#line 860
 8105  list->next = tmp;
 8106#line 860
 8107  list->prev = tmp;
 8108#line 861
 8109  list->qlen = 0U;
 8110#line 862
 8111  return;
 8112}
 8113}
 8114#line 872 "include/linux/skbuff.h"
 8115__inline static void skb_queue_head_init(struct sk_buff_head *list ) 
 8116{ struct lock_class_key __key ;
 8117  spinlock_t *__cil_tmp3 ;
 8118  struct raw_spinlock *__cil_tmp4 ;
 8119
 8120  {
 8121  {
 8122#line 874
 8123  __cil_tmp3 = & list->lock;
 8124#line 874
 8125  spinlock_check(__cil_tmp3);
 8126#line 874
 8127  __cil_tmp4 = & list->lock.ldv_6060.rlock;
 8128#line 874
 8129  __raw_spin_lock_init(__cil_tmp4, "&(&list->lock)->rlock", & __key);
 8130#line 875
 8131  __skb_queue_head_init(list);
 8132  }
 8133#line 876
 8134  return;
 8135}
 8136}
 8137#line 1017
 8138extern void skb_queue_head(struct sk_buff_head * , struct sk_buff * ) ;
 8139#line 1034
 8140extern void skb_queue_tail(struct sk_buff_head * , struct sk_buff * ) ;
 8141#line 1066
 8142extern struct sk_buff *skb_dequeue(struct sk_buff_head * ) ;
 8143#line 1098 "include/linux/skbuff.h"
 8144__inline static unsigned int skb_headlen(struct sk_buff  const  *skb ) 
 8145{ unsigned int __cil_tmp2 ;
 8146  unsigned int __cil_tmp3 ;
 8147  unsigned int __cil_tmp4 ;
 8148  unsigned int __cil_tmp5 ;
 8149
 8150  {
 8151  {
 8152#line 1100
 8153  __cil_tmp2 = skb->data_len;
 8154#line 1100
 8155  __cil_tmp3 = (unsigned int )__cil_tmp2;
 8156#line 1100
 8157  __cil_tmp4 = skb->len;
 8158#line 1100
 8159  __cil_tmp5 = (unsigned int )__cil_tmp4;
 8160#line 1100
 8161  return (__cil_tmp5 - __cil_tmp3);
 8162  }
 8163}
 8164}
 8165#line 1167
 8166extern unsigned char *skb_put(struct sk_buff * , unsigned int  ) ;
 8167#line 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/delay.h"
 8168extern void __const_udelay(unsigned long  ) ;
 8169#line 124 "include/linux/interrupt.h"
 8170extern int request_threaded_irq(unsigned int  , irqreturn_t (*)(int  , void * ) ,
 8171                                irqreturn_t (*)(int  , void * ) , unsigned long  ,
 8172                                char const   * , void * ) ;
 8173#line 129 "include/linux/interrupt.h"
 8174__inline static int request_irq(unsigned int irq , irqreturn_t (*handler)(int  , void * ) ,
 8175                                unsigned long flags , char const   *name , void *dev ) 
 8176{ int tmp ;
 8177  irqreturn_t (*__cil_tmp7)(int  , void * ) ;
 8178
 8179  {
 8180  {
 8181#line 132
 8182  __cil_tmp7 = (irqreturn_t (*)(int  , void * ))0;
 8183#line 132
 8184  tmp = request_threaded_irq(irq, handler, __cil_tmp7, flags, name, dev);
 8185  }
 8186#line 132
 8187  return (tmp);
 8188}
 8189}
 8190#line 170
 8191extern void free_irq(unsigned int  , void * ) ;
 8192#line 530 "include/linux/interrupt.h"
 8193__inline static void tasklet_unlock_wait(struct tasklet_struct *t ) 
 8194{ int tmp ;
 8195  unsigned long *__cil_tmp3 ;
 8196  unsigned long const volatile   *__cil_tmp4 ;
 8197
 8198  {
 8199#line 532
 8200  goto ldv_33859;
 8201  ldv_33858: 
 8202#line 532
 8203  __asm__  volatile   ("": : : "memory");
 8204  ldv_33859: 
 8205  {
 8206#line 532
 8207  __cil_tmp3 = & t->state;
 8208#line 532
 8209  __cil_tmp4 = (unsigned long const volatile   *)__cil_tmp3;
 8210#line 532
 8211  tmp = constant_test_bit(1U, __cil_tmp4);
 8212  }
 8213#line 532
 8214  if (tmp != 0) {
 8215#line 533
 8216    goto ldv_33858;
 8217  } else {
 8218#line 535
 8219    goto ldv_33860;
 8220  }
 8221  ldv_33860: ;
 8222#line 537
 8223  return;
 8224}
 8225}
 8226#line 540
 8227extern void __tasklet_schedule(struct tasklet_struct * ) ;
 8228#line 542 "include/linux/interrupt.h"
 8229__inline static void tasklet_schedule(struct tasklet_struct *t ) 
 8230{ int tmp ;
 8231  unsigned long *__cil_tmp3 ;
 8232  unsigned long volatile   *__cil_tmp4 ;
 8233
 8234  {
 8235  {
 8236#line 544
 8237  __cil_tmp3 = & t->state;
 8238#line 544
 8239  __cil_tmp4 = (unsigned long volatile   *)__cil_tmp3;
 8240#line 544
 8241  tmp = test_and_set_bit(0, __cil_tmp4);
 8242  }
 8243#line 544
 8244  if (tmp == 0) {
 8245    {
 8246#line 545
 8247    __tasklet_schedule(t);
 8248    }
 8249  } else {
 8250
 8251  }
 8252#line 546
 8253  return;
 8254}
 8255}
 8256#line 571 "include/linux/interrupt.h"
 8257__inline static void tasklet_disable_nosync(struct tasklet_struct *t ) 
 8258{ atomic_t *__cil_tmp2 ;
 8259
 8260  {
 8261  {
 8262#line 573
 8263  __cil_tmp2 = & t->count;
 8264#line 573
 8265  atomic_inc(__cil_tmp2);
 8266#line 574
 8267  __asm__  volatile   ("": : : "memory");
 8268  }
 8269#line 575
 8270  return;
 8271}
 8272}
 8273#line 577 "include/linux/interrupt.h"
 8274__inline static void tasklet_disable(struct tasklet_struct *t ) 
 8275{ 
 8276
 8277  {
 8278  {
 8279#line 579
 8280  tasklet_disable_nosync(t);
 8281#line 580
 8282  tasklet_unlock_wait(t);
 8283#line 581
 8284  __asm__  volatile   ("mfence": : : "memory");
 8285  }
 8286#line 582
 8287  return;
 8288}
 8289}
 8290#line 584 "include/linux/interrupt.h"
 8291__inline static void tasklet_enable(struct tasklet_struct *t ) 
 8292{ atomic_t *__cil_tmp2 ;
 8293
 8294  {
 8295  {
 8296#line 586
 8297  __asm__  volatile   ("": : : "memory");
 8298#line 587
 8299  __cil_tmp2 = & t->count;
 8300#line 587
 8301  atomic_dec(__cil_tmp2);
 8302  }
 8303#line 588
 8304  return;
 8305}
 8306}
 8307#line 598
 8308extern void tasklet_init(struct tasklet_struct * , void (*)(unsigned long  ) , unsigned long  ) ;
 8309#line 2055 "include/linux/netdevice.h"
 8310extern void dev_kfree_skb_irq(struct sk_buff * ) ;
 8311#line 329 "include/linux/atmdev.h"
 8312__inline static struct atm_vcc *atm_sk(struct sock *sk ) 
 8313{ 
 8314
 8315  {
 8316#line 331
 8317  return ((struct atm_vcc *)sk);
 8318}
 8319}
 8320#line 425
 8321extern struct hlist_head vcc_hash[32U] ;
 8322#line 426
 8323extern rwlock_t vcc_sklist_lock ;
 8324#line 430
 8325extern struct atm_dev *atm_dev_register(char const   * , struct device * , struct atmdev_ops  const  * ,
 8326                                        int  , unsigned long * ) ;
 8327#line 435
 8328extern void atm_dev_deregister(struct atm_dev * ) ;
 8329#line 496
 8330extern struct sk_buff *atm_alloc_charge(struct atm_vcc * , int  , gfp_t  ) ;
 8331#line 498
 8332extern int atm_pcr_goal(struct atm_trafprm  const  * ) ;
 8333#line 238 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/atm/suni.h"
 8334extern int suni_init(struct atm_dev * ) ;
 8335#line 117 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8336static char const   *ev[64U]  ;
 8337#line 118 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8338static unsigned long ev_a[64U]  ;
 8339#line 118 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8340static unsigned long ev_b[64U]  ;
 8341#line 119 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8342static int ec  =    0;
 8343#line 122 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8344static void EVENT(char const   *s , unsigned long a , unsigned long b ) 
 8345{ int __cil_tmp4 ;
 8346
 8347  {
 8348#line 124
 8349  ev[ec] = s;
 8350#line 125
 8351  ev_a[ec] = a;
 8352#line 126
 8353  ev_b[ec] = b;
 8354#line 127
 8355  __cil_tmp4 = ec + 1;
 8356#line 127
 8357  ec = __cil_tmp4 % 64;
 8358#line 128
 8359  return;
 8360}
 8361}
 8362#line 131 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8363static void event_dump(void) 
 8364{ int n ;
 8365  int i ;
 8366  char const   *tmp ;
 8367  int __cil_tmp4 ;
 8368  char const   *__cil_tmp5 ;
 8369  unsigned long __cil_tmp6 ;
 8370  unsigned long __cil_tmp7 ;
 8371
 8372  {
 8373#line 135
 8374  n = 0;
 8375#line 135
 8376  goto ldv_40057;
 8377  ldv_40056: 
 8378  {
 8379#line 136
 8380  __cil_tmp4 = ec + n;
 8381#line 136
 8382  i = __cil_tmp4 % 64;
 8383#line 137
 8384  printk("<5>");
 8385  }
 8386  {
 8387#line 138
 8388  __cil_tmp5 = (char const   *)0;
 8389#line 138
 8390  __cil_tmp6 = (unsigned long )__cil_tmp5;
 8391#line 138
 8392  __cil_tmp7 = (unsigned long )ev[i];
 8393#line 138
 8394  if (__cil_tmp7 != __cil_tmp6) {
 8395#line 138
 8396    tmp = ev[i];
 8397  } else {
 8398#line 138
 8399    tmp = "(null)";
 8400  }
 8401  }
 8402  {
 8403#line 138
 8404  printk(tmp, ev_a[i], ev_b[i]);
 8405#line 135
 8406  n = n + 1;
 8407  }
 8408  ldv_40057: ;
 8409#line 135
 8410  if (n <= 63) {
 8411#line 136
 8412    goto ldv_40056;
 8413  } else {
 8414#line 138
 8415    goto ldv_40058;
 8416  }
 8417  ldv_40058: ;
 8418#line 140
 8419  return;
 8420}
 8421}
 8422#line 161 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8423static int tx_complete  =    0;
 8424#line 161 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8425static int dma_complete  =    0;
 8426#line 161 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8427static int queued  =    0;
 8428#line 161 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8429static int requeued  =    0;
 8430#line 162 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8431static int backlogged  =    0;
 8432#line 162 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8433static int rx_enqueued  =    0;
 8434#line 162 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8435static int rx_dequeued  =    0;
 8436#line 162 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8437static int pushed  =    0;
 8438#line 162 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8439static int submitted  =    0;
 8440#line 163 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8441static int putting  =    0;
 8442#line 165 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8443static struct atm_dev *eni_boards  =    (struct atm_dev *)0;
 8444#line 167 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8445static u32 *cpu_zeroes  =    (u32 *)0;
 8446#line 168 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8447static dma_addr_t zeroes  ;
 8448#line 178 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8449static void dump_mem(struct eni_dev *eni_dev ) 
 8450{ int i ;
 8451  unsigned long __cil_tmp3 ;
 8452  struct eni_free *__cil_tmp4 ;
 8453  struct eni_free *__cil_tmp5 ;
 8454  void *__cil_tmp6 ;
 8455  unsigned long __cil_tmp7 ;
 8456  struct eni_free *__cil_tmp8 ;
 8457  struct eni_free *__cil_tmp9 ;
 8458  int __cil_tmp10 ;
 8459  int __cil_tmp11 ;
 8460  int __cil_tmp12 ;
 8461
 8462  {
 8463#line 182
 8464  i = 0;
 8465#line 182
 8466  goto ldv_40077;
 8467  ldv_40076: 
 8468  {
 8469#line 183
 8470  __cil_tmp3 = (unsigned long )i;
 8471#line 183
 8472  __cil_tmp4 = eni_dev->free_list;
 8473#line 183
 8474  __cil_tmp5 = __cil_tmp4 + __cil_tmp3;
 8475#line 183
 8476  __cil_tmp6 = __cil_tmp5->start;
 8477#line 183
 8478  __cil_tmp7 = (unsigned long )i;
 8479#line 183
 8480  __cil_tmp8 = eni_dev->free_list;
 8481#line 183
 8482  __cil_tmp9 = __cil_tmp8 + __cil_tmp7;
 8483#line 183
 8484  __cil_tmp10 = __cil_tmp9->order;
 8485#line 183
 8486  __cil_tmp11 = 1 << __cil_tmp10;
 8487#line 183
 8488  printk("<7>  %d: %p %d\n", i, __cil_tmp6, __cil_tmp11);
 8489#line 182
 8490  i = i + 1;
 8491  }
 8492  ldv_40077: ;
 8493  {
 8494#line 182
 8495  __cil_tmp12 = eni_dev->free_len;
 8496#line 182
 8497  if (__cil_tmp12 > i) {
 8498#line 183
 8499    goto ldv_40076;
 8500  } else {
 8501#line 185
 8502    goto ldv_40078;
 8503  }
 8504  }
 8505  ldv_40078: ;
 8506#line 187
 8507  return;
 8508}
 8509}
 8510#line 189 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8511static void dump(struct atm_dev *dev ) 
 8512{ struct eni_dev *eni_dev ;
 8513  int i ;
 8514  void *__cil_tmp4 ;
 8515  void *__cil_tmp5 ;
 8516  unsigned long __cil_tmp6 ;
 8517  void *__cil_tmp7 ;
 8518  unsigned long __cil_tmp8 ;
 8519  void *__cil_tmp9 ;
 8520  unsigned long __cil_tmp10 ;
 8521  unsigned long __cil_tmp11 ;
 8522  struct atm_vcc *__cil_tmp12 ;
 8523  unsigned long __cil_tmp13 ;
 8524  unsigned long __cil_tmp14 ;
 8525  struct atm_vcc **__cil_tmp15 ;
 8526  struct atm_vcc **__cil_tmp16 ;
 8527  struct atm_vcc *__cil_tmp17 ;
 8528  unsigned long __cil_tmp18 ;
 8529  int (*__cil_tmp19)(struct atm_vcc * ) ;
 8530  unsigned long __cil_tmp20 ;
 8531  unsigned long __cil_tmp21 ;
 8532  struct atm_vcc **__cil_tmp22 ;
 8533  struct atm_vcc **__cil_tmp23 ;
 8534  struct atm_vcc *__cil_tmp24 ;
 8535  void *__cil_tmp25 ;
 8536  struct eni_vcc *__cil_tmp26 ;
 8537  int (*__cil_tmp27)(struct atm_vcc * ) ;
 8538  unsigned long __cil_tmp28 ;
 8539  unsigned long __cil_tmp29 ;
 8540  struct atm_vcc **__cil_tmp30 ;
 8541  struct atm_vcc **__cil_tmp31 ;
 8542  struct atm_vcc *__cil_tmp32 ;
 8543  void *__cil_tmp33 ;
 8544  struct eni_vcc *__cil_tmp34 ;
 8545  void *__cil_tmp35 ;
 8546  unsigned long __cil_tmp36 ;
 8547  struct atm_vcc **__cil_tmp37 ;
 8548  struct atm_vcc **__cil_tmp38 ;
 8549  struct atm_vcc *__cil_tmp39 ;
 8550  void *__cil_tmp40 ;
 8551  struct eni_vcc *__cil_tmp41 ;
 8552  unsigned long __cil_tmp42 ;
 8553  unsigned long __cil_tmp43 ;
 8554
 8555  {
 8556  {
 8557#line 195
 8558  __cil_tmp4 = dev->dev_data;
 8559#line 195
 8560  eni_dev = (struct eni_dev *)__cil_tmp4;
 8561#line 196
 8562  printk("<5>Free memory\n");
 8563#line 197
 8564  dump_mem(eni_dev);
 8565#line 198
 8566  printk("<5>TX buffers\n");
 8567#line 199
 8568  i = 0;
 8569  }
 8570#line 199
 8571  goto ldv_40085;
 8572  ldv_40084: ;
 8573  {
 8574#line 200
 8575  __cil_tmp5 = (void *)0;
 8576#line 200
 8577  __cil_tmp6 = (unsigned long )__cil_tmp5;
 8578#line 200
 8579  __cil_tmp7 = eni_dev->tx[i].send;
 8580#line 200
 8581  __cil_tmp8 = (unsigned long )__cil_tmp7;
 8582#line 200
 8583  if (__cil_tmp8 != __cil_tmp6) {
 8584    {
 8585#line 201
 8586    __cil_tmp9 = eni_dev->tx[i].send;
 8587#line 201
 8588    __cil_tmp10 = eni_dev->tx[i].words;
 8589#line 201
 8590    __cil_tmp11 = __cil_tmp10 * 4UL;
 8591#line 201
 8592    printk("<5>  TX %d @ %p: %ld\n", i, __cil_tmp9, __cil_tmp11);
 8593    }
 8594  } else {
 8595
 8596  }
 8597  }
 8598#line 199
 8599  i = i + 1;
 8600  ldv_40085: ;
 8601#line 199
 8602  if (i <= 7) {
 8603#line 200
 8604    goto ldv_40084;
 8605  } else {
 8606#line 202
 8607    goto ldv_40086;
 8608  }
 8609  ldv_40086: 
 8610  {
 8611#line 203
 8612  printk("<5>RX buffers\n");
 8613#line 204
 8614  i = 0;
 8615  }
 8616#line 204
 8617  goto ldv_40088;
 8618  ldv_40087: ;
 8619  {
 8620#line 205
 8621  __cil_tmp12 = (struct atm_vcc *)0;
 8622#line 205
 8623  __cil_tmp13 = (unsigned long )__cil_tmp12;
 8624#line 205
 8625  __cil_tmp14 = (unsigned long )i;
 8626#line 205
 8627  __cil_tmp15 = eni_dev->rx_map;
 8628#line 205
 8629  __cil_tmp16 = __cil_tmp15 + __cil_tmp14;
 8630#line 205
 8631  __cil_tmp17 = *__cil_tmp16;
 8632#line 205
 8633  __cil_tmp18 = (unsigned long )__cil_tmp17;
 8634#line 205
 8635  if (__cil_tmp18 != __cil_tmp13) {
 8636    {
 8637#line 205
 8638    __cil_tmp19 = (int (*)(struct atm_vcc * ))0;
 8639#line 205
 8640    __cil_tmp20 = (unsigned long )__cil_tmp19;
 8641#line 205
 8642    __cil_tmp21 = (unsigned long )i;
 8643#line 205
 8644    __cil_tmp22 = eni_dev->rx_map;
 8645#line 205
 8646    __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
 8647#line 205
 8648    __cil_tmp24 = *__cil_tmp23;
 8649#line 205
 8650    __cil_tmp25 = __cil_tmp24->dev_data;
 8651#line 205
 8652    __cil_tmp26 = (struct eni_vcc *)__cil_tmp25;
 8653#line 205
 8654    __cil_tmp27 = __cil_tmp26->rx;
 8655#line 205
 8656    __cil_tmp28 = (unsigned long )__cil_tmp27;
 8657#line 205
 8658    if (__cil_tmp28 != __cil_tmp20) {
 8659      {
 8660#line 206
 8661      __cil_tmp29 = (unsigned long )i;
 8662#line 206
 8663      __cil_tmp30 = eni_dev->rx_map;
 8664#line 206
 8665      __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
 8666#line 206
 8667      __cil_tmp32 = *__cil_tmp31;
 8668#line 206
 8669      __cil_tmp33 = __cil_tmp32->dev_data;
 8670#line 206
 8671      __cil_tmp34 = (struct eni_vcc *)__cil_tmp33;
 8672#line 206
 8673      __cil_tmp35 = __cil_tmp34->recv;
 8674#line 206
 8675      __cil_tmp36 = (unsigned long )i;
 8676#line 206
 8677      __cil_tmp37 = eni_dev->rx_map;
 8678#line 206
 8679      __cil_tmp38 = __cil_tmp37 + __cil_tmp36;
 8680#line 206
 8681      __cil_tmp39 = *__cil_tmp38;
 8682#line 206
 8683      __cil_tmp40 = __cil_tmp39->dev_data;
 8684#line 206
 8685      __cil_tmp41 = (struct eni_vcc *)__cil_tmp40;
 8686#line 206
 8687      __cil_tmp42 = __cil_tmp41->words;
 8688#line 206
 8689      __cil_tmp43 = __cil_tmp42 * 4UL;
 8690#line 206
 8691      printk("<5>  RX %d @ %p: %ld\n", i, __cil_tmp35, __cil_tmp43);
 8692      }
 8693    } else {
 8694
 8695    }
 8696    }
 8697  } else {
 8698
 8699  }
 8700  }
 8701#line 204
 8702  i = i + 1;
 8703  ldv_40088: ;
 8704#line 204
 8705  if (i <= 1023) {
 8706#line 205
 8707    goto ldv_40087;
 8708  } else {
 8709#line 207
 8710    goto ldv_40089;
 8711  }
 8712  ldv_40089: 
 8713  {
 8714#line 209
 8715  printk("<5>----\n");
 8716  }
 8717#line 210
 8718  return;
 8719}
 8720}
 8721#line 213 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8722static void eni_put_free(struct eni_dev *eni_dev , void *start , unsigned long size ) 
 8723{ struct eni_free *list ;
 8724  int len ;
 8725  int order ;
 8726  unsigned long __cil_tmp7 ;
 8727  int __cil_tmp8 ;
 8728  int __cil_tmp9 ;
 8729  unsigned long __cil_tmp10 ;
 8730  unsigned long __cil_tmp11 ;
 8731  unsigned long __cil_tmp12 ;
 8732  unsigned long __cil_tmp13 ;
 8733  int __cil_tmp14 ;
 8734  unsigned long __cil_tmp15 ;
 8735  struct eni_free *__cil_tmp16 ;
 8736  unsigned long __cil_tmp17 ;
 8737  struct eni_free *__cil_tmp18 ;
 8738  int __cil_tmp19 ;
 8739  unsigned long __cil_tmp20 ;
 8740  int __cil_tmp21 ;
 8741  unsigned long __cil_tmp22 ;
 8742
 8743  {
 8744#line 220
 8745  __cil_tmp7 = eni_dev->base_diff;
 8746#line 220
 8747  start = start + __cil_tmp7;
 8748#line 221
 8749  list = eni_dev->free_list;
 8750#line 222
 8751  len = eni_dev->free_len;
 8752#line 223
 8753  goto ldv_40103;
 8754  ldv_40102: ;
 8755  {
 8756#line 224
 8757  __cil_tmp8 = eni_dev->free_list_size;
 8758#line 224
 8759  if (__cil_tmp8 <= len) {
 8760    {
 8761#line 225
 8762    printk("<2>eni_put_free overflow (%p,%ld)\n", start, size);
 8763    }
 8764#line 227
 8765    goto ldv_40098;
 8766  } else {
 8767
 8768  }
 8769  }
 8770#line 229
 8771  order = 0;
 8772#line 229
 8773  goto ldv_40100;
 8774  ldv_40099: 
 8775#line 229
 8776  order = order + 1;
 8777  ldv_40100: ;
 8778  {
 8779#line 229
 8780  __cil_tmp9 = 1 << order;
 8781#line 229
 8782  __cil_tmp10 = (unsigned long )__cil_tmp9;
 8783#line 229
 8784  __cil_tmp11 = (unsigned long )start;
 8785#line 229
 8786  __cil_tmp12 = __cil_tmp11 | size;
 8787#line 229
 8788  __cil_tmp13 = __cil_tmp12 & __cil_tmp10;
 8789#line 229
 8790  if (__cil_tmp13 == 0UL) {
 8791#line 230
 8792    goto ldv_40099;
 8793  } else {
 8794#line 232
 8795    goto ldv_40101;
 8796  }
 8797  }
 8798  ldv_40101: ;
 8799  {
 8800#line 230
 8801  __cil_tmp14 = 1 << order;
 8802#line 230
 8803  if (__cil_tmp14 <= 1023) {
 8804    {
 8805#line 231
 8806    printk("<2>eni_put_free: order %d too small\n", order);
 8807    }
 8808#line 233
 8809    goto ldv_40098;
 8810  } else {
 8811
 8812  }
 8813  }
 8814#line 235
 8815  __cil_tmp15 = (unsigned long )len;
 8816#line 235
 8817  __cil_tmp16 = list + __cil_tmp15;
 8818#line 235
 8819  __cil_tmp16->start = start;
 8820#line 236
 8821  __cil_tmp17 = (unsigned long )len;
 8822#line 236
 8823  __cil_tmp18 = list + __cil_tmp17;
 8824#line 236
 8825  __cil_tmp18->order = order;
 8826#line 237
 8827  len = len + 1;
 8828#line 238
 8829  __cil_tmp19 = 1 << order;
 8830#line 238
 8831  __cil_tmp20 = (unsigned long )__cil_tmp19;
 8832#line 238
 8833  start = start + __cil_tmp20;
 8834#line 239
 8835  __cil_tmp21 = 1 << order;
 8836#line 239
 8837  __cil_tmp22 = (unsigned long )__cil_tmp21;
 8838#line 239
 8839  size = size - __cil_tmp22;
 8840  ldv_40103: ;
 8841#line 223
 8842  if (size != 0UL) {
 8843#line 224
 8844    goto ldv_40102;
 8845  } else {
 8846#line 226
 8847    goto ldv_40098;
 8848  }
 8849  ldv_40098: 
 8850#line 241
 8851  eni_dev->free_len = len;
 8852#line 242
 8853  return;
 8854}
 8855}
 8856#line 246 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 8857static void *eni_alloc_mem(struct eni_dev *eni_dev , unsigned long *size ) 
 8858{ struct eni_free *list ;
 8859  void *start ;
 8860  int len ;
 8861  int i ;
 8862  int order ;
 8863  int best_order ;
 8864  int index ;
 8865  unsigned long __cil_tmp10 ;
 8866  unsigned long __cil_tmp11 ;
 8867  unsigned long __cil_tmp12 ;
 8868  int __cil_tmp13 ;
 8869  unsigned long __cil_tmp14 ;
 8870  unsigned long __cil_tmp15 ;
 8871  struct eni_free *__cil_tmp16 ;
 8872  int __cil_tmp17 ;
 8873  unsigned long __cil_tmp18 ;
 8874  struct eni_free *__cil_tmp19 ;
 8875  int __cil_tmp20 ;
 8876  unsigned long __cil_tmp21 ;
 8877  struct eni_free *__cil_tmp22 ;
 8878  int __cil_tmp23 ;
 8879  unsigned long __cil_tmp24 ;
 8880  struct eni_free *__cil_tmp25 ;
 8881  unsigned long __cil_tmp26 ;
 8882  unsigned long __cil_tmp27 ;
 8883  unsigned long __cil_tmp28 ;
 8884  struct eni_free *__cil_tmp29 ;
 8885  void *__cil_tmp30 ;
 8886  unsigned long __cil_tmp31 ;
 8887  struct eni_free *__cil_tmp32 ;
 8888  unsigned long __cil_tmp33 ;
 8889  struct eni_free *__cil_tmp34 ;
 8890  int __cil_tmp35 ;
 8891  unsigned long __cil_tmp36 ;
 8892  void *__cil_tmp37 ;
 8893  unsigned long __cil_tmp38 ;
 8894  int __cil_tmp39 ;
 8895  unsigned long __cil_tmp40 ;
 8896  unsigned long __cil_tmp41 ;
 8897  void volatile   *__cil_tmp42 ;
 8898  unsigned long __cil_tmp43 ;
 8899
 8900  {
 8901#line 252
 8902  list = eni_dev->free_list;
 8903#line 253
 8904  len = eni_dev->free_len;
 8905  {
 8906#line 254
 8907  __cil_tmp10 = *size;
 8908#line 254
 8909  if (__cil_tmp10 <= 1023UL) {
 8910#line 254
 8911    *size = 1024UL;
 8912  } else {
 8913
 8914  }
 8915  }
 8916  {
 8917#line 255
 8918  __cil_tmp11 = *size;
 8919#line 255
 8920  if (__cil_tmp11 > 131072UL) {
 8921#line 255
 8922    return ((void *)0);
 8923  } else {
 8924
 8925  }
 8926  }
 8927#line 256
 8928  order = 0;
 8929#line 256
 8930  goto ldv_40116;
 8931  ldv_40115: 
 8932#line 256
 8933  order = order + 1;
 8934  ldv_40116: ;
 8935  {
 8936#line 256
 8937  __cil_tmp12 = *size;
 8938#line 256
 8939  __cil_tmp13 = 1 << order;
 8940#line 256
 8941  __cil_tmp14 = (unsigned long )__cil_tmp13;
 8942#line 256
 8943  if (__cil_tmp14 < __cil_tmp12) {
 8944#line 257
 8945    goto ldv_40115;
 8946  } else {
 8947#line 259
 8948    goto ldv_40117;
 8949  }
 8950  }
 8951  ldv_40117: 
 8952#line 258
 8953  best_order = 65;
 8954#line 259
 8955  index = 0;
 8956#line 260
 8957  i = 0;
 8958#line 260
 8959  goto ldv_40120;
 8960  ldv_40119: ;
 8961  {
 8962#line 261
 8963  __cil_tmp15 = (unsigned long )i;
 8964#line 261
 8965  __cil_tmp16 = list + __cil_tmp15;
 8966#line 261
 8967  __cil_tmp17 = __cil_tmp16->order;
 8968#line 261
 8969  if (__cil_tmp17 == order) {
 8970#line 262
 8971    best_order = order;
 8972#line 263
 8973    index = i;
 8974#line 264
 8975    goto ldv_40118;
 8976  } else {
 8977    {
 8978#line 266
 8979    __cil_tmp18 = (unsigned long )i;
 8980#line 266
 8981    __cil_tmp19 = list + __cil_tmp18;
 8982#line 266
 8983    __cil_tmp20 = __cil_tmp19->order;
 8984#line 266
 8985    if (__cil_tmp20 < best_order) {
 8986      {
 8987#line 266
 8988      __cil_tmp21 = (unsigned long )i;
 8989#line 266
 8990      __cil_tmp22 = list + __cil_tmp21;
 8991#line 266
 8992      __cil_tmp23 = __cil_tmp22->order;
 8993#line 266
 8994      if (__cil_tmp23 > order) {
 8995#line 267
 8996        __cil_tmp24 = (unsigned long )i;
 8997#line 267
 8998        __cil_tmp25 = list + __cil_tmp24;
 8999#line 267
 9000        best_order = __cil_tmp25->order;
 9001#line 268
 9002        index = i;
 9003      } else {
 9004
 9005      }
 9006      }
 9007    } else {
 9008
 9009    }
 9010    }
 9011  }
 9012  }
 9013#line 260
 9014  i = i + 1;
 9015  ldv_40120: ;
 9016#line 260
 9017  if (i < len) {
 9018#line 261
 9019    goto ldv_40119;
 9020  } else {
 9021#line 263
 9022    goto ldv_40118;
 9023  }
 9024  ldv_40118: ;
 9025#line 270
 9026  if (best_order == 65) {
 9027#line 270
 9028    return ((void *)0);
 9029  } else {
 9030
 9031  }
 9032  {
 9033#line 271
 9034  __cil_tmp26 = eni_dev->base_diff;
 9035#line 271
 9036  __cil_tmp27 = - __cil_tmp26;
 9037#line 271
 9038  __cil_tmp28 = (unsigned long )index;
 9039#line 271
 9040  __cil_tmp29 = list + __cil_tmp28;
 9041#line 271
 9042  __cil_tmp30 = __cil_tmp29->start;
 9043#line 271
 9044  start = __cil_tmp30 + __cil_tmp27;
 9045#line 272
 9046  len = len - 1;
 9047#line 272
 9048  __cil_tmp31 = (unsigned long )index;
 9049#line 272
 9050  __cil_tmp32 = list + __cil_tmp31;
 9051#line 272
 9052  __cil_tmp33 = (unsigned long )len;
 9053#line 272
 9054  __cil_tmp34 = list + __cil_tmp33;
 9055#line 272
 9056  *__cil_tmp32 = *__cil_tmp34;
 9057#line 273
 9058  eni_dev->free_len = len;
 9059#line 274
 9060  __cil_tmp35 = 1 << order;
 9061#line 274
 9062  *size = (unsigned long )__cil_tmp35;
 9063#line 275
 9064  __cil_tmp36 = *size;
 9065#line 275
 9066  __cil_tmp37 = start + __cil_tmp36;
 9067#line 275
 9068  __cil_tmp38 = *size;
 9069#line 275
 9070  __cil_tmp39 = 1 << best_order;
 9071#line 275
 9072  __cil_tmp40 = (unsigned long )__cil_tmp39;
 9073#line 275
 9074  __cil_tmp41 = __cil_tmp40 - __cil_tmp38;
 9075#line 275
 9076  eni_put_free(eni_dev, __cil_tmp37, __cil_tmp41);
 9077#line 277
 9078  __cil_tmp42 = (void volatile   *)start;
 9079#line 277
 9080  __cil_tmp43 = *size;
 9081#line 277
 9082  memset_io(__cil_tmp42, (unsigned char)0, __cil_tmp43);
 9083  }
 9084#line 279
 9085  return (start);
 9086}
 9087}
 9088#line 283 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 9089static void eni_free_mem(struct eni_dev *eni_dev , void *start , unsigned long size ) 
 9090{ struct eni_free *list ;
 9091  int len ;
 9092  int i ;
 9093  int order ;
 9094  unsigned long __cil_tmp8 ;
 9095  unsigned long __cil_tmp9 ;
 9096  int __cil_tmp10 ;
 9097  unsigned long __cil_tmp11 ;
 9098  unsigned long __cil_tmp12 ;
 9099  unsigned long __cil_tmp13 ;
 9100  struct eni_free *__cil_tmp14 ;
 9101  void *__cil_tmp15 ;
 9102  unsigned long __cil_tmp16 ;
 9103  unsigned long __cil_tmp17 ;
 9104  struct eni_free *__cil_tmp18 ;
 9105  int __cil_tmp19 ;
 9106  unsigned long __cil_tmp20 ;
 9107  struct eni_free *__cil_tmp21 ;
 9108  unsigned long __cil_tmp22 ;
 9109  struct eni_free *__cil_tmp23 ;
 9110  unsigned long __cil_tmp24 ;
 9111  int __cil_tmp25 ;
 9112  unsigned long __cil_tmp26 ;
 9113  unsigned long __cil_tmp27 ;
 9114  unsigned long __cil_tmp28 ;
 9115  int __cil_tmp29 ;
 9116  unsigned long __cil_tmp30 ;
 9117  struct eni_free *__cil_tmp31 ;
 9118  unsigned long __cil_tmp32 ;
 9119  struct eni_free *__cil_tmp33 ;
 9120
 9121  {
 9122#line 289
 9123  __cil_tmp8 = eni_dev->base_diff;
 9124#line 289
 9125  start = start + __cil_tmp8;
 9126#line 290
 9127  list = eni_dev->free_list;
 9128#line 291
 9129  len = eni_dev->free_len;
 9130#line 292
 9131  order = -1;
 9132#line 292
 9133  goto ldv_40131;
 9134  ldv_40130: 
 9135#line 292
 9136  size = size >> 1;
 9137#line 292
 9138  order = order + 1;
 9139  ldv_40131: ;
 9140#line 292
 9141  if (size != 0UL) {
 9142#line 293
 9143    goto ldv_40130;
 9144  } else {
 9145#line 295
 9146    goto ldv_40132;
 9147  }
 9148  ldv_40132: 
 9149#line 294
 9150  i = 0;
 9151#line 294
 9152  goto ldv_40135;
 9153  ldv_40134: ;
 9154  {
 9155#line 295
 9156  __cil_tmp9 = (unsigned long )start;
 9157#line 295
 9158  __cil_tmp10 = 1 << order;
 9159#line 295
 9160  __cil_tmp11 = (unsigned long )__cil_tmp10;
 9161#line 295
 9162  __cil_tmp12 = __cil_tmp11 ^ __cil_tmp9;
 9163#line 295
 9164  __cil_tmp13 = (unsigned long )i;
 9165#line 295
 9166  __cil_tmp14 = list + __cil_tmp13;
 9167#line 295
 9168  __cil_tmp15 = __cil_tmp14->start;
 9169#line 295
 9170  __cil_tmp16 = (unsigned long )__cil_tmp15;
 9171#line 295
 9172  if (__cil_tmp16 == __cil_tmp12) {
 9173    {
 9174#line 295
 9175    __cil_tmp17 = (unsigned long )i;
 9176#line 295
 9177    __cil_tmp18 = list + __cil_tmp17;
 9178#line 295
 9179    __cil_tmp19 = __cil_tmp18->order;
 9180#line 295
 9181    if (__cil_tmp19 == order) {
 9182#line 299
 9183      len = len - 1;
 9184#line 299
 9185      __cil_tmp20 = (unsigned long )i;
 9186#line 299
 9187      __cil_tmp21 = list + __cil_tmp20;
 9188#line 299
 9189      __cil_tmp22 = (unsigned long )len;
 9190#line 299
 9191      __cil_tmp23 = list + __cil_tmp22;
 9192#line 299
 9193      *__cil_tmp21 = *__cil_tmp23;
 9194#line 300
 9195      __cil_tmp24 = (unsigned long )start;
 9196#line 300
 9197      __cil_tmp25 = 1 << order;
 9198#line 300
 9199      __cil_tmp26 = (unsigned long )__cil_tmp25;
 9200#line 300
 9201      __cil_tmp27 = ~ __cil_tmp26;
 9202#line 300
 9203      __cil_tmp28 = __cil_tmp27 & __cil_tmp24;
 9204#line 300
 9205      start = (void *)__cil_tmp28;
 9206#line 301
 9207      order = order + 1;
 9208#line 302
 9209      i = -1;
 9210#line 303
 9211      goto ldv_40133;
 9212    } else {
 9213
 9214    }
 9215    }
 9216  } else {
 9217
 9218  }
 9219  }
 9220  ldv_40133: 
 9221#line 294
 9222  i = i + 1;
 9223  ldv_40135: ;
 9224#line 294
 9225  if (i < len) {
 9226#line 295
 9227    goto ldv_40134;
 9228  } else {
 9229#line 297
 9230    goto ldv_40136;
 9231  }
 9232  ldv_40136: ;
 9233  {
 9234#line 305
 9235  __cil_tmp29 = eni_dev->free_list_size;
 9236#line 305
 9237  if (__cil_tmp29 <= len) {
 9238    {
 9239#line 306
 9240    printk("<1>eni_free_mem overflow (%p,%d)\n", start, order);
 9241    }
 9242#line 308
 9243    return;
 9244  } else {
 9245
 9246  }
 9247  }
 9248#line 310
 9249  __cil_tmp30 = (unsigned long )len;
 9250#line 310
 9251  __cil_tmp31 = list + __cil_tmp30;
 9252#line 310
 9253  __cil_tmp31->start = start;
 9254#line 311
 9255  __cil_tmp32 = (unsigned long )len;
 9256#line 311
 9257  __cil_tmp33 = list + __cil_tmp32;
 9258#line 311
 9259  __cil_tmp33->order = order;
 9260#line 312
 9261  eni_dev->free_len = len + 1;
 9262#line 313
 9263  return;
 9264}
 9265}
 9266#line 323 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 9267static void rx_ident_err(struct atm_vcc *vcc ) 
 9268{ struct atm_dev *dev ;
 9269  struct eni_dev *eni_dev ;
 9270  struct eni_vcc *eni_vcc ;
 9271  unsigned int tmp ;
 9272  unsigned int tmp___0 ;
 9273  void *__cil_tmp7 ;
 9274  void *__cil_tmp8 ;
 9275  void const volatile   *__cil_tmp9 ;
 9276  void const volatile   *__cil_tmp10 ;
 9277  unsigned int __cil_tmp11 ;
 9278  void *__cil_tmp12 ;
 9279  void volatile   *__cil_tmp13 ;
 9280  void volatile   *__cil_tmp14 ;
 9281  void *__cil_tmp15 ;
 9282  int __cil_tmp16 ;
 9283  int __cil_tmp17 ;
 9284  int __cil_tmp18 ;
 9285  unsigned long __cil_tmp19 ;
 9286  unsigned long __cil_tmp20 ;
 9287  unsigned long __cil_tmp21 ;
 9288  void *__cil_tmp22 ;
 9289  void *__cil_tmp23 ;
 9290  void const volatile   *__cil_tmp24 ;
 9291  unsigned long __cil_tmp25 ;
 9292  unsigned long __cil_tmp26 ;
 9293  struct sk_buff *__cil_tmp27 ;
 9294  int __cil_tmp28 ;
 9295  void *__cil_tmp29 ;
 9296  struct eni_dev *__cil_tmp30 ;
 9297  void *__cil_tmp31 ;
 9298  struct eni_dev *__cil_tmp32 ;
 9299  void *__cil_tmp33 ;
 9300  struct eni_dev *__cil_tmp34 ;
 9301  struct sk_buff_head *__cil_tmp35 ;
 9302
 9303  {
 9304  {
 9305#line 329
 9306  dev = vcc->dev;
 9307#line 330
 9308  __cil_tmp7 = dev->dev_data;
 9309#line 330
 9310  eni_dev = (struct eni_dev *)__cil_tmp7;
 9311#line 332
 9312  __cil_tmp8 = eni_dev->reg;
 9313#line 332
 9314  __cil_tmp9 = (void const volatile   *)__cil_tmp8;
 9315#line 332
 9316  __cil_tmp10 = __cil_tmp9 + 16U;
 9317#line 332
 9318  tmp = readl(__cil_tmp10);
 9319#line 332
 9320  __cil_tmp11 = tmp & 4294967267U;
 9321#line 332
 9322  __cil_tmp12 = eni_dev->reg;
 9323#line 332
 9324  __cil_tmp13 = (void volatile   *)__cil_tmp12;
 9325#line 332
 9326  __cil_tmp14 = __cil_tmp13 + 16U;
 9327#line 332
 9328  writel(__cil_tmp11, __cil_tmp14);
 9329#line 335
 9330  __cil_tmp15 = vcc->dev_data;
 9331#line 335
 9332  eni_vcc = (struct eni_vcc *)__cil_tmp15;
 9333#line 336
 9334  __cil_tmp16 = dev->number;
 9335#line 336
 9336  printk("<1>eni(itf %d): driver error - RX ident mismatch\n", __cil_tmp16);
 9337#line 338
 9338  __cil_tmp17 = vcc->vci;
 9339#line 338
 9340  __cil_tmp18 = eni_vcc->rxing;
 9341#line 338
 9342  __cil_tmp19 = eni_vcc->words;
 9343#line 338
 9344  printk("<1>  VCI %d, rxing %d, words %ld\n", __cil_tmp17, __cil_tmp18, __cil_tmp19);
 9345#line 340
 9346  __cil_tmp20 = eni_vcc->descr;
 9347#line 340
 9348  __cil_tmp21 = __cil_tmp20 * 4UL;
 9349#line 340
 9350  __cil_tmp22 = eni_vcc->recv;
 9351#line 340
 9352  __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
 9353#line 340
 9354  __cil_tmp24 = (void const volatile   *)__cil_tmp23;
 9355#line 340
 9356  tmp___0 = readl(__cil_tmp24);
 9357#line 340
 9358  __cil_tmp25 = eni_vcc->descr;
 9359#line 340
 9360  __cil_tmp26 = eni_vcc->rx_pos;
 9361#line 340
 9362  printk("<1>  host descr 0x%lx, rx pos 0x%lx, descr value 0x%x\n", __cil_tmp25, __cil_tmp26,
 9363         tmp___0);
 9364#line 343
 9365  __cil_tmp27 = eni_vcc->last;
 9366#line 343
 9367  __cil_tmp28 = eni_vcc->servicing;
 9368#line 343
 9369  printk("<1>  last %p, servicing %d\n", __cil_tmp27, __cil_tmp28);
 9370#line 345
 9371  EVENT("---dump ends here---\n", 0UL, 0UL);
 9372#line 346
 9373  printk("<5>---recent events---\n");
 9374#line 347
 9375  event_dump();
 9376#line 348
 9377  __cil_tmp29 = dev->dev_data;
 9378#line 348
 9379  __cil_tmp30 = (struct eni_dev *)__cil_tmp29;
 9380#line 348
 9381  __cil_tmp30->fast = (struct atm_vcc *)0;
 9382#line 349
 9383  __cil_tmp31 = dev->dev_data;
 9384#line 349
 9385  __cil_tmp32 = (struct eni_dev *)__cil_tmp31;
 9386#line 349
 9387  __cil_tmp32->slow = (struct atm_vcc *)0;
 9388#line 350
 9389  __cil_tmp33 = dev->dev_data;
 9390#line 350
 9391  __cil_tmp34 = (struct eni_dev *)__cil_tmp33;
 9392#line 350
 9393  __cil_tmp35 = & __cil_tmp34->rx_queue;
 9394#line 350
 9395  skb_queue_head_init(__cil_tmp35);
 9396  }
 9397#line 351
 9398  return;
 9399}
 9400}
 9401#line 354 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
 9402static int do_rx_dma(struct atm_vcc *vcc , struct sk_buff *skb , unsigned long skip ,
 9403                     unsigned long size , unsigned long eff ) 
 9404{ struct eni_dev *eni_dev ;
 9405  struct eni_vcc *eni_vcc ;
 9406  u32 dma_rd ;
 9407  u32 dma_wr ;
 9408  u32 dma[16U] ;
 9409  dma_addr_t paddr ;
 9410  unsigned long here ;
 9411  int i ;
 9412  int j ;
 9413  int tmp ;
 9414  unsigned long words ;
 9415  unsigned long init ;
 9416  int tmp___0 ;
 9417  int tmp___1 ;
 9418  int tmp___2 ;
 9419  int tmp___3 ;
 9420  int tmp___4 ;
 9421  int tmp___5 ;
 9422  int tmp___6 ;
 9423  int tmp___7 ;
 9424  int tmp___8 ;
 9425  int tmp___9 ;
 9426  int tmp___10 ;
 9427  int tmp___11 ;
 9428  int tmp___12 ;
 9429  int tmp___13 ;
 9430  int tmp___14 ;
 9431  int tmp___15 ;
 9432  struct atm_dev *__cil_tmp34 ;
 9433  void *__cil_tmp35 ;
 9434  void *__cil_tmp36 ;
 9435  struct sk_buff *__cil_tmp37 ;
 9436  unsigned long __cil_tmp38 ;
 9437  unsigned long __cil_tmp39 ;
 9438  struct pci_dev *__cil_tmp40 ;
 9439  unsigned char *__cil_tmp41 ;
 9440  void *__cil_tmp42 ;
 9441  unsigned int __cil_tmp43 ;
 9442  size_t __cil_tmp44 ;
 9443  char (*__cil_tmp45)[48U] ;
 9444  struct eni_skb_prv *__cil_tmp46 ;
 9445  unsigned long long __cil_tmp47 ;
 9446  struct atm_dev *__cil_tmp48 ;
 9447  int __cil_tmp49 ;
 9448  int __cil_tmp50 ;
 9449  unsigned long __cil_tmp51 ;
 9450  char (*__cil_tmp52)[48U] ;
 9451  struct eni_skb_prv *__cil_tmp53 ;
 9452  unsigned int __cil_tmp54 ;
 9453  unsigned int __cil_tmp55 ;
 9454  unsigned int __cil_tmp56 ;
 9455  char (*__cil_tmp57)[48U] ;
 9456  struct atm_skb_data *__cil_tmp58 ;
 9457  unsigned long __cil_tmp59 ;
 9458  unsigned long __cil_tmp60 ;
 9459  unsigned long __cil_tmp61 ;
 9460  unsigned long __cil_tmp62 ;
 9461  int __cil_tmp63 ;
 9462  int __cil_tmp64 ;
 9463  u32 __cil_tmp65 ;
 9464  u32 __cil_tmp66 ;
 9465  u32 __cil_tmp67 ;
 9466  unsigned int __cil_tmp68 ;
 9467  unsigned long __cil_tmp69 ;
 9468  unsigned long __cil_tmp70 ;
 9469  unsigned long __cil_tmp71 ;
 9470  unsigned long __cil_tmp72 ;
 9471  unsigned long __cil_tmp73 ;
 9472  unsigned long long __cil_tmp74 ;
 9473  unsigned long long __cil_tmp75 ;
 9474  unsigned long long __cil_tmp76 ;
 9475  unsigned long long __cil_tmp77 ;
 9476  int __cil_tmp78 ;
 9477  int __cil_tmp79 ;
 9478  u32 __cil_tmp80 ;
 9479  u32 __cil_tmp81 ;
 9480  u32 __cil_tmp82 ;
 9481  unsigned long __cil_tmp83 ;
 9482  unsigned long long __cil_tmp84 ;
 9483  unsigned long __cil_tmp85 ;
 9484  int __cil_tmp86 ;
 9485  int __cil_tmp87 ;
 9486  u32 __cil_tmp88 ;
 9487  unsigned long __cil_tmp89 ;
 9488  u32 __cil_tmp90 ;
 9489  u32 __cil_tmp91 ;
 9490  unsigned int __cil_tmp92 ;
 9491  unsigned long __cil_tmp93 ;
 9492  unsigned long __cil_tmp94 ;
 9493  unsigned long long __cil_tmp95 ;
 9494  unsigned long __cil_tmp96 ;
 9495  int __cil_tmp97 ;
 9496  int __cil_tmp98 ;
 9497  u32 __cil_tmp99 ;
 9498  unsigned long __cil_tmp100 ;
 9499  u32 __cil_tmp101 ;
 9500  u32 __cil_tmp102 ;
 9501  unsigned int __cil_tmp103 ;
 9502  unsigned long __cil_tmp104 ;
 9503  unsigned long __cil_tmp105 ;
 9504  unsigned long long __cil_tmp106 ;
 9505  unsigned long __cil_tmp107 ;
 9506  int __cil_tmp108 ;
 9507  int __cil_tmp109 ;
 9508  u32 __cil_tmp110 ;
 9509  unsigned long __cil_tmp111 ;
 9510  u32 __cil_tmp112 ;
 9511  u32 __cil_tmp113 ;
 9512  unsigned int __cil_tmp114 ;
 9513  unsigned long __cil_tmp115 ;
 9514  unsigned long __cil_tmp116 ;
 9515  unsigned long long __cil_tmp117 ;
 9516  unsigned long __cil_tmp118 ;
 9517  int __cil_tmp119 ;
 9518  int __cil_tmp120 ;
 9519  u32 __cil_tmp121 ;
 9520  unsigned long __cil_tmp122 ;
 9521  u32 __cil_tmp123 ;
 9522  u32 __cil_tmp124 ;
 9523  unsigned int __cil_tmp125 ;
 9524  unsigned long __cil_tmp126 ;
 9525  unsigned long __cil_tmp127 ;
 9526  unsigned long long __cil_tmp128 ;
 9527  int __cil_tmp129 ;
 9528  int __cil_tmp130 ;
 9529  u32 __cil_tmp131 ;
 9530  u32 __cil_tmp132 ;
 9531  u32 __cil_tmp133 ;
 9532  int __cil_tmp134 ;
 9533  int __cil_tmp135 ;
 9534  u32 __cil_tmp136 ;
 9535  u32 __cil_tmp137 ;
 9536  u32 __cil_tmp138 ;
 9537  unsigned int __cil_tmp139 ;
 9538  void *__cil_tmp140 ;
 9539  void const volatile   *__cil_tmp141 ;
 9540  void const volatile   *__cil_tmp142 ;
 9541  void *__cil_tmp143 ;
 9542  void const volatile   *__cil_tmp144 ;
 9543  void const volatile   *__cil_tmp145 ;
 9544  u32 __cil_tmp146 ;
 9545  u32 __cil_tmp147 ;
 9546  u32 __cil_tmp148 ;
 9547  u32 __cil_tmp149 ;
 9548  u32 __cil_tmp150 ;
 9549  unsigned int __cil_tmp151 ;
 9550  u32 __cil_tmp152 ;
 9551  u32 __cil_tmp153 ;
 9552  u32 __cil_tmp154 ;
 9553  u32 __cil_tmp155 ;
 9554  u32 __cil_tmp156 ;
 9555  unsigned int __cil_tmp157 ;
 9556  u32 __cil_tmp158 ;
 9557  u32 __cil_tmp159 ;
 9558  u32 __cil_tmp160 ;
 9559  u32 __cil_tmp161 ;
 9560  u32 __cil_tmp162 ;
 9561  unsigned int __cil_tmp163 ;
 9562  struct atm_dev *__cil_tmp164 ;
 9563  int __cil_tmp165 ;
 9564  u32 __cil_tmp166 ;
 9565  unsigned long __cil_tmp167 ;
 9566  void *__cil_tmp168 ;
 9567  void volatile   *__cil_tmp169 ;
 9568  void volatile   *__cil_tmp170 ;
 9569  u32 __cil_tmp171 ;
 9570  unsigned long __cil_tmp172 ;
 9571  unsigned long __cil_tmp173 ;
 9572  void *__cil_tmp174 ;
 9573  void *__cil_tmp175 ;
 9574  void volatile   *__cil_tmp176 ;
 9575  u32 __cil_tmp177 ;
 9576  struct sk_buff *__cil_tmp178 ;
 9577  unsigned long __cil_tmp179 ;
 9578  unsigned long __cil_tmp180 ;
 9579  char (*__cil_tmp181)[48U] ;
 9580  struct eni_skb_prv *__cil_tmp182 ;
 9581  unsigned long __cil_tmp183 ;
 9582  unsigned long __cil_tmp184 ;
 9583  struct sk_buff_head *__cil_tmp185 ;
 9584  void *__cil_tmp186 ;
 9585  void volatile   *__cil_tmp187 ;
 9586  void volatile   *__cil_tmp188 ;
 9587  struct pci_dev *__cil_tmp189 ;
 9588  unsigned int __cil_tmp190 ;
 9589  size_t __cil_tmp191 ;
 9590  struct sk_buff *__cil_tmp192 ;
 9591  unsigned long __cil_tmp193 ;
 9592  unsigned long __cil_tmp194 ;
 9593
 9594  {
 9595#line 365
 9596  __cil_tmp34 = vcc->dev;
 9597#line 365
 9598  __cil_tmp35 = __cil_tmp34->dev_data;
 9599#line 365
 9600  eni_dev = (struct eni_dev *)__cil_tmp35;
 9601#line 366
 9602  __cil_tmp36 = vcc->dev_data;
 9603#line 366
 9604  eni_vcc = (struct eni_vcc *)__cil_tmp36;
 9605#line 367
 9606  paddr = 0ULL;
 9607  {
 9608#line 368
 9609  __cil_tmp37 = (struct sk_buff *)0;
 9610#line 368
 9611  __cil_tmp38 = (unsigned long )__cil_tmp37;
 9612#line 368
 9613  __cil_tmp39 = (unsigned long )skb;
 9614#line 368
 9615  if (__cil_tmp39 != __cil_tmp38) {
 9616    {
 9617#line 369
 9618    __cil_tmp40 = eni_dev->pci_dev;
 9619#line 369
 9620    __cil_tmp41 = skb->data;
 9621#line 369
 9622    __cil_tmp42 = (void *)__cil_tmp41;
 9623#line 369
 9624    __cil_tmp43 = skb->len;
 9625#line 369
 9626    __cil_tmp44 = (size_t )__cil_tmp43;
 9627#line 369
 9628    paddr = pci_map_single(__cil_tmp40, __cil_tmp42, __cil_tmp44, 2);
 9629#line 371
 9630    __cil_tmp45 = & skb->cb;
 9631#line 371
 9632    __cil_tmp46 = (struct eni_skb_prv *)__cil_tmp45;
 9633#line 371
 9634    __cil_tmp46->paddr = paddr;
 9635    }
 9636    {
 9637#line 372
 9638    __cil_tmp47 = paddr & 3ULL;
 9639#line 372
 9640    if (__cil_tmp47 != 0ULL) {
 9641      {
 9642#line 373
 9643      __cil_tmp48 = vcc->dev;
 9644#line 373
 9645      __cil_tmp49 = __cil_tmp48->number;
 9646#line 373
 9647      __cil_tmp50 = vcc->vci;
 9648#line 373
 9649      __cil_tmp51 = (unsigned long )paddr;
 9650#line 373
 9651      printk("<2>eni(itf %d): VCI %d has mis-aligned RX data (0x%lx)\n", __cil_tmp49,
 9652             __cil_tmp50, __cil_tmp51);
 9653      }
 9654    } else {
 9655
 9656    }
 9657    }
 9658#line 376
 9659    __cil_tmp52 = & skb->cb;
 9660#line 376
 9661    __cil_tmp53 = (struct eni_skb_prv *)__cil_tmp52;
 9662#line 376
 9663    __cil_tmp54 = (unsigned int )skip;
 9664#line 376
 9665    __cil_tmp55 = (unsigned int )size;
 9666#line 376
 9667    __cil_tmp56 = __cil_tmp55 + __cil_tmp54;
 9668#line 376
 9669    __cil_tmp53->size = (int )__cil_tmp56;
 9670#line 378
 9671    __cil_tmp57 = & skb->cb;
 9672#line 378
 9673    __cil_tmp58 = (struct atm_skb_data *)__cil_tmp57;
 9674#line 378
 9675    __cil_tmp58->vcc = vcc;
 9676  } else {
 9677
 9678  }
 9679  }
 9680#line 380
 9681  j = 0;
 9682#line 382
 9683  __cil_tmp59 = eni_vcc->words;
 9684#line 382
 9685  __cil_tmp60 = __cil_tmp59 - 1UL;
 9686#line 382
 9687  __cil_tmp61 = eni_vcc->descr;
 9688#line 382
 9689  __cil_tmp62 = __cil_tmp61 + skip;
 9690#line 382
 9691  here = __cil_tmp62 & __cil_tmp60;
 9692#line 383
 9693  tmp = j;
 9694#line 383
 9695  j = j + 1;
 9696#line 383
 9697  __cil_tmp63 = vcc->vci;
 9698#line 383
 9699  __cil_tmp64 = __cil_tmp63 << 6;
 9700#line 383
 9701  __cil_tmp65 = (u32 )__cil_tmp64;
 9702#line 383
 9703  __cil_tmp66 = (u32 )here;
 9704#line 383
 9705  __cil_tmp67 = __cil_tmp66 << 16U;
 9706#line 383
 9707  __cil_tmp68 = __cil_tmp67 | __cil_tmp65;
 9708#line 383
 9709  dma[tmp] = __cil_tmp68 | 3U;
 9710#line 385
 9711  j = j + 1;
 9712#line 387
 9713  __cil_tmp69 = eni_vcc->words;
 9714#line 387
 9715  __cil_tmp70 = __cil_tmp69 - 1UL;
 9716#line 387
 9717  __cil_tmp71 = eni_vcc->descr;
 9718#line 387
 9719  __cil_tmp72 = __cil_tmp71 + size;
 9720#line 387
 9721  __cil_tmp73 = __cil_tmp72 + skip;
 9722#line 387
 9723  here = __cil_tmp73 & __cil_tmp70;
 9724#line 388
 9725  if (eff == 0UL) {
 9726#line 388
 9727    size = size + skip;
 9728  } else {
 9729#line 392
 9730    if (size == 0UL) {
 9731      {
 9732#line 394
 9733      EVENT("strange things happen ... (skip=%ld,eff=%ld)\n", size, eff);
 9734      }
 9735    } else {
 9736
 9737    }
 9738#line 397
 9739    words = eff;
 9740    {
 9741#line 398
 9742    __cil_tmp74 = paddr & 15ULL;
 9743#line 398
 9744    if (__cil_tmp74 != 0ULL) {
 9745#line 401
 9746      __cil_tmp75 = paddr & 15ULL;
 9747#line 401
 9748      __cil_tmp76 = __cil_tmp75 >> 2;
 9749#line 401
 9750      __cil_tmp77 = 4ULL - __cil_tmp76;
 9751#line 401
 9752      init = (unsigned long )__cil_tmp77;
 9753#line 402
 9754      if (init > words) {
 9755#line 402
 9756        init = words;
 9757      } else {
 9758
 9759      }
 9760#line 403
 9761      tmp___0 = j;
 9762#line 403
 9763      j = j + 1;
 9764#line 403
 9765      __cil_tmp78 = vcc->vci;
 9766#line 403
 9767      __cil_tmp79 = __cil_tmp78 << 6;
 9768#line 403
 9769      __cil_tmp80 = (u32 )__cil_tmp79;
 9770#line 403
 9771      __cil_tmp81 = (u32 )init;
 9772#line 403
 9773      __cil_tmp82 = __cil_tmp81 << 16U;
 9774#line 403
 9775      dma[tmp___0] = __cil_tmp82 | __cil_tmp80;
 9776#line 405
 9777      tmp___1 = j;
 9778#line 405
 9779      j = j + 1;
 9780#line 405
 9781      dma[tmp___1] = (u32 )paddr;
 9782#line 406
 9783      __cil_tmp83 = init << 2;
 9784#line 406
 9785      __cil_tmp84 = (unsigned long long )__cil_tmp83;
 9786#line 406
 9787      paddr = __cil_tmp84 + paddr;
 9788#line 407
 9789      words = words - init;
 9790    } else {
 9791
 9792    }
 9793    }
 9794    {
 9795#line 410
 9796    __cil_tmp85 = words & 1152921504606846960UL;
 9797#line 410
 9798    if (__cil_tmp85 != 0UL) {
 9799#line 411
 9800      tmp___2 = j;
 9801#line 411
 9802      j = j + 1;
 9803#line 411
 9804      __cil_tmp86 = vcc->vci;
 9805#line 411
 9806      __cil_tmp87 = __cil_tmp86 << 6;
 9807#line 411
 9808      __cil_tmp88 = (u32 )__cil_tmp87;
 9809#line 411
 9810      __cil_tmp89 = words >> 4;
 9811#line 411
 9812      __cil_tmp90 = (u32 )__cil_tmp89;
 9813#line 411
 9814      __cil_tmp91 = __cil_tmp90 << 16U;
 9815#line 411
 9816      __cil_tmp92 = __cil_tmp91 | __cil_tmp88;
 9817#line 411
 9818      dma[tmp___2] = __cil_tmp92 | 6U;
 9819#line 414
 9820      tmp___3 = j;
 9821#line 414
 9822      j = j + 1;
 9823#line 414
 9824      dma[tmp___3] = (u32 )paddr;
 9825#line 415
 9826      __cil_tmp93 = words & 1152921504606846960UL;
 9827#line 415
 9828      __cil_tmp94 = __cil_tmp93 << 2;
 9829#line 415
 9830      __cil_tmp95 = (unsigned long long )__cil_tmp94;
 9831#line 415
 9832      paddr = __cil_tmp95 + paddr;
 9833#line 416
 9834      words = words & 15UL;
 9835    } else {
 9836
 9837    }
 9838    }
 9839    {
 9840#line 420
 9841    __cil_tmp96 = words & 1152921504606846968UL;
 9842#line 420
 9843    if (__cil_tmp96 != 0UL) {
 9844#line 421
 9845      tmp___4 = j;
 9846#line 421
 9847      j = j + 1;
 9848#line 421
 9849      __cil_tmp97 = vcc->vci;
 9850#line 421
 9851      __cil_tmp98 = __cil_tmp97 << 6;
 9852#line 421
 9853      __cil_tmp99 = (u32 )__cil_tmp98;
 9854#line 421
 9855      __cil_tmp100 = words >> 3;
 9856#line 421
 9857      __cil_tmp101 = (u32 )__cil_tmp100;
 9858#line 421
 9859      __cil_tmp102 = __cil_tmp101 << 16U;
 9860#line 421
 9861      __cil_tmp103 = __cil_tmp102 | __cil_tmp99;
 9862#line 421
 9863      dma[tmp___4] = __cil_tmp103 | 5U;
 9864#line 424
 9865      tmp___5 = j;
 9866#line 424
 9867      j = j + 1;
 9868#line 424
 9869      dma[tmp___5] = (u32 )paddr;
 9870#line 425
 9871      __cil_tmp104 = words & 1152921504606846968UL;
 9872#line 425
 9873      __cil_tmp105 = __cil_tmp104 << 2;
 9874#line 425
 9875      __cil_tmp106 = (unsigned long long )__cil_tmp105;
 9876#line 425
 9877      paddr = __cil_tmp106 + paddr;
 9878#line 426
 9879      words = words & 7UL;
 9880    } else {
 9881
 9882    }
 9883    }
 9884    {
 9885#line 430
 9886    __cil_tmp107 = words & 1152921504606846972UL;
 9887#line 430
 9888    if (__cil_tmp107 != 0UL) {
 9889#line 431
 9890      tmp___6 = j;
 9891#line 431
 9892      j = j + 1;
 9893#line 431
 9894      __cil_tmp108 = vcc->vci;
 9895#line 431
 9896      __cil_tmp109 = __cil_tmp108 << 6;
 9897#line 431
 9898      __cil_tmp110 = (u32 )__cil_tmp109;
 9899#line 431
 9900      __cil_tmp111 = words >> 2;
 9901#line 431
 9902      __cil_tmp112 = (u32 )__cil_tmp111;
 9903#line 431
 9904      __cil_tmp113 = __cil_tmp112 << 16U;
 9905#line 431
 9906      __cil_tmp114 = __cil_tmp113 | __cil_tmp110;
 9907#line 431
 9908      dma[tmp___6] = __cil_tmp114 | 4U;
 9909#line 434
 9910      tmp___7 = j;
 9911#line 434
 9912      j = j + 1;
 9913#line 434
 9914      dma[tmp___7] = (u32 )paddr;
 9915#line 435
 9916      __cil_tmp115 = words & 1152921504606846972UL;
 9917#line 435
 9918      __cil_tmp116 = __cil_tmp115 << 2;
 9919#line 435
 9920      __cil_tmp117 = (unsigned long long )__cil_tmp116;
 9921#line 435
 9922      paddr = __cil_tmp117 + paddr;
 9923#line 436
 9924      words = words & 3UL;
 9925    } else {
 9926
 9927    }
 9928    }
 9929    {
 9930#line 440
 9931    __cil_tmp118 = words & 1152921504606846974UL;
 9932#line 440
 9933    if (__cil_tmp118 != 0UL) {
 9934#line 441
 9935      tmp___8 = j;
 9936#line 441
 9937      j = j + 1;
 9938#line 441
 9939      __cil_tmp119 = vcc->vci;
 9940#line 441
 9941      __cil_tmp120 = __cil_tmp119 << 6;
 9942#line 441
 9943      __cil_tmp121 = (u32 )__cil_tmp120;
 9944#line 441
 9945      __cil_tmp122 = words >> 1;
 9946#line 441
 9947      __cil_tmp123 = (u32 )__cil_tmp122;
 9948#line 441
 9949      __cil_tmp124 = __cil_tmp123 << 16U;
 9950#line 441
 9951      __cil_tmp125 = __cil_tmp124 | __cil_tmp121;
 9952#line 441
 9953      dma[tmp___8] = __cil_tmp125 | 7U;
 9954#line 444
 9955      tmp___9 = j;
 9956#line 444
 9957      j = j + 1;
 9958#line 444
 9959      dma[tmp___9] = (u32 )paddr;
 9960#line 445
 9961      __cil_tmp126 = words & 1152921504606846974UL;
 9962#line 445
 9963      __cil_tmp127 = __cil_tmp126 << 2;
 9964#line 445
 9965      __cil_tmp128 = (unsigned long long )__cil_tmp127;
 9966#line 445
 9967      paddr = __cil_tmp128 + paddr;
 9968#line 446
 9969      words = words & 1UL;
 9970    } else {
 9971
 9972    }
 9973    }
 9974#line 449
 9975    if (words != 0UL) {
 9976#line 450
 9977      tmp___10 = j;
 9978#line 450
 9979      j = j + 1;
 9980#line 450
 9981      __cil_tmp129 = vcc->vci;
 9982#line 450
 9983      __cil_tmp130 = __cil_tmp129 << 6;
 9984#line 450
 9985      __cil_tmp131 = (u32 )__cil_tmp130;
 9986#line 450
 9987      __cil_tmp132 = (u32 )words;
 9988#line 450
 9989      __cil_tmp133 = __cil_tmp132 << 16U;
 9990#line 450
 9991      dma[tmp___10] = __cil_tmp133 | __cil_tmp131;
 9992#line 452
 9993      tmp___11 = j;
 9994#line 452
 9995      j = j + 1;
 9996#line 452
 9997      dma[tmp___11] = (u32 )paddr;
 9998    } else {
 9999
10000    }
10001  }
10002#line 455
10003  if (size != eff) {
10004#line 456
10005    tmp___12 = j;
10006#line 456
10007    j = j + 1;
10008#line 456
10009    __cil_tmp134 = vcc->vci;
10010#line 456
10011    __cil_tmp135 = __cil_tmp134 << 6;
10012#line 456
10013    __cil_tmp136 = (u32 )__cil_tmp135;
10014#line 456
10015    __cil_tmp137 = (u32 )here;
10016#line 456
10017    __cil_tmp138 = __cil_tmp137 << 16U;
10018#line 456
10019    __cil_tmp139 = __cil_tmp138 | __cil_tmp136;
10020#line 456
10021    dma[tmp___12] = __cil_tmp139 | 3U;
10022#line 458
10023    j = j + 1;
10024  } else {
10025
10026  }
10027#line 460
10028  if (j == 0) {
10029    {
10030#line 461
10031    printk("<2>eni!j or j too big!!!\n");
10032    }
10033#line 462
10034    goto trouble;
10035  } else
10036#line 460
10037  if (j > 16) {
10038    {
10039#line 461
10040    printk("<2>eni!j or j too big!!!\n");
10041    }
10042#line 462
10043    goto trouble;
10044  } else {
10045
10046  }
10047  {
10048#line 464
10049  dma[j + -2] = dma[j + -2] | 32U;
10050#line 465
10051  j = j >> 1;
10052#line 466
10053  __cil_tmp140 = eni_dev->reg;
10054#line 466
10055  __cil_tmp141 = (void const volatile   *)__cil_tmp140;
10056#line 466
10057  __cil_tmp142 = __cil_tmp141 + 32U;
10058#line 466
10059  dma_wr = readl(__cil_tmp142);
10060#line 467
10061  __cil_tmp143 = eni_dev->reg;
10062#line 467
10063  __cil_tmp144 = (void const volatile   *)__cil_tmp143;
10064#line 467
10065  __cil_tmp145 = __cil_tmp144 + 36U;
10066#line 467
10067  dma_rd = readl(__cil_tmp145);
10068  }
10069  {
10070#line 472
10071  __cil_tmp146 = (u32 )j;
10072#line 472
10073  __cil_tmp147 = (u32 )j;
10074#line 472
10075  __cil_tmp148 = dma_wr + __cil_tmp147;
10076#line 472
10077  __cil_tmp149 = __cil_tmp148 + __cil_tmp146;
10078#line 472
10079  __cil_tmp150 = __cil_tmp149 + 1U;
10080#line 472
10081  __cil_tmp151 = __cil_tmp150 & 511U;
10082#line 472
10083  if (__cil_tmp151 > dma_wr) {
10084#line 472
10085    if (dma_rd > dma_wr) {
10086      {
10087#line 472
10088      __cil_tmp152 = (u32 )j;
10089#line 472
10090      __cil_tmp153 = (u32 )j;
10091#line 472
10092      __cil_tmp154 = dma_wr + __cil_tmp153;
10093#line 472
10094      __cil_tmp155 = __cil_tmp154 + __cil_tmp152;
10095#line 472
10096      __cil_tmp156 = __cil_tmp155 + 1U;
10097#line 472
10098      __cil_tmp157 = __cil_tmp156 & 511U;
10099#line 472
10100      if (__cil_tmp157 >= dma_rd) {
10101#line 472
10102        tmp___13 = 1;
10103      } else {
10104#line 472
10105        tmp___13 = 0;
10106      }
10107      }
10108    } else {
10109#line 472
10110      tmp___13 = 0;
10111    }
10112#line 472
10113    tmp___15 = tmp___13;
10114  } else {
10115#line 472
10116    if (dma_rd > dma_wr) {
10117#line 472
10118      tmp___14 = 1;
10119    } else {
10120      {
10121#line 472
10122      __cil_tmp158 = (u32 )j;
10123#line 472
10124      __cil_tmp159 = (u32 )j;
10125#line 472
10126      __cil_tmp160 = dma_wr + __cil_tmp159;
10127#line 472
10128      __cil_tmp161 = __cil_tmp160 + __cil_tmp158;
10129#line 472
10130      __cil_tmp162 = __cil_tmp161 + 1U;
10131#line 472
10132      __cil_tmp163 = __cil_tmp162 & 511U;
10133#line 472
10134      if (__cil_tmp163 >= dma_rd) {
10135#line 472
10136        tmp___14 = 1;
10137      } else {
10138#line 472
10139        tmp___14 = 0;
10140      }
10141      }
10142    }
10143#line 472
10144    tmp___15 = tmp___14;
10145  }
10146  }
10147#line 472
10148  if (tmp___15) {
10149    {
10150#line 473
10151    __cil_tmp164 = vcc->dev;
10152#line 473
10153    __cil_tmp165 = __cil_tmp164->number;
10154#line 473
10155    printk("<4>eni(itf %d): RX DMA full\n", __cil_tmp165);
10156    }
10157#line 475
10158    goto trouble;
10159  } else {
10160
10161  }
10162#line 477
10163  i = 0;
10164#line 477
10165  goto ldv_40163;
10166  ldv_40162: 
10167  {
10168#line 478
10169  __cil_tmp166 = dma_wr * 8U;
10170#line 478
10171  __cil_tmp167 = (unsigned long )__cil_tmp166;
10172#line 478
10173  __cil_tmp168 = eni_dev->rx_dma;
10174#line 478
10175  __cil_tmp169 = (void volatile   *)__cil_tmp168;
10176#line 478
10177  __cil_tmp170 = __cil_tmp169 + __cil_tmp167;
10178#line 478
10179  writel(dma[i * 2], __cil_tmp170);
10180#line 479
10181  __cil_tmp171 = dma_wr * 8U;
10182#line 479
10183  __cil_tmp172 = (unsigned long )__cil_tmp171;
10184#line 479
10185  __cil_tmp173 = __cil_tmp172 + 4UL;
10186#line 479
10187  __cil_tmp174 = eni_dev->rx_dma;
10188#line 479
10189  __cil_tmp175 = __cil_tmp174 + __cil_tmp173;
10190#line 479
10191  __cil_tmp176 = (void volatile   *)__cil_tmp175;
10192#line 479
10193  writel(dma[i * 2 + 1], __cil_tmp176);
10194#line 480
10195  __cil_tmp177 = dma_wr + 1U;
10196#line 480
10197  dma_wr = __cil_tmp177 & 511U;
10198#line 477
10199  i = i + 1;
10200  }
10201  ldv_40163: ;
10202#line 477
10203  if (i < j) {
10204#line 478
10205    goto ldv_40162;
10206  } else {
10207#line 480
10208    goto ldv_40164;
10209  }
10210  ldv_40164: ;
10211  {
10212#line 482
10213  __cil_tmp178 = (struct sk_buff *)0;
10214#line 482
10215  __cil_tmp179 = (unsigned long )__cil_tmp178;
10216#line 482
10217  __cil_tmp180 = (unsigned long )skb;
10218#line 482
10219  if (__cil_tmp180 != __cil_tmp179) {
10220    {
10221#line 483
10222    __cil_tmp181 = & skb->cb;
10223#line 483
10224    __cil_tmp182 = (struct eni_skb_prv *)__cil_tmp181;
10225#line 483
10226    __cil_tmp183 = eni_vcc->descr;
10227#line 483
10228    __cil_tmp184 = __cil_tmp183 + size;
10229#line 483
10230    __cil_tmp182->pos = __cil_tmp184 + 1UL;
10231#line 484
10232    __cil_tmp185 = & eni_dev->rx_queue;
10233#line 484
10234    skb_queue_tail(__cil_tmp185, skb);
10235#line 485
10236    eni_vcc->last = skb;
10237#line 486
10238    rx_enqueued = rx_enqueued + 1;
10239    }
10240  } else {
10241
10242  }
10243  }
10244  {
10245#line 488
10246  eni_vcc->descr = here;
10247#line 489
10248  __cil_tmp186 = eni_dev->reg;
10249#line 489
10250  __cil_tmp187 = (void volatile   *)__cil_tmp186;
10251#line 489
10252  __cil_tmp188 = __cil_tmp187 + 32U;
10253#line 489
10254  writel(dma_wr, __cil_tmp188);
10255  }
10256#line 490
10257  return (0);
10258  trouble: ;
10259#line 493
10260  if (paddr != 0ULL) {
10261    {
10262#line 494
10263    __cil_tmp189 = eni_dev->pci_dev;
10264#line 494
10265    __cil_tmp190 = skb->len;
10266#line 494
10267    __cil_tmp191 = (size_t )__cil_tmp190;
10268#line 494
10269    pci_unmap_single(__cil_tmp189, paddr, __cil_tmp191, 2);
10270    }
10271  } else {
10272
10273  }
10274  {
10275#line 496
10276  __cil_tmp192 = (struct sk_buff *)0;
10277#line 496
10278  __cil_tmp193 = (unsigned long )__cil_tmp192;
10279#line 496
10280  __cil_tmp194 = (unsigned long )skb;
10281#line 496
10282  if (__cil_tmp194 != __cil_tmp193) {
10283    {
10284#line 496
10285    dev_kfree_skb_irq(skb);
10286    }
10287  } else {
10288
10289  }
10290  }
10291#line 497
10292  return (-1);
10293}
10294}
10295#line 501 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
10296static void discard(struct atm_vcc *vcc , unsigned long size ) 
10297{ struct eni_vcc *eni_vcc ;
10298  int tmp ;
10299  void *__cil_tmp5 ;
10300  struct sk_buff *__cil_tmp6 ;
10301  int __cil_tmp7 ;
10302  struct sk_buff *__cil_tmp8 ;
10303  char (*__cil_tmp9)[48U] ;
10304  struct eni_skb_prv *__cil_tmp10 ;
10305  struct sk_buff *__cil_tmp11 ;
10306  char (*__cil_tmp12)[48U] ;
10307  struct eni_skb_prv *__cil_tmp13 ;
10308  unsigned long __cil_tmp14 ;
10309  unsigned long __cil_tmp15 ;
10310  unsigned long __cil_tmp16 ;
10311  unsigned long __cil_tmp17 ;
10312  unsigned long __cil_tmp18 ;
10313  unsigned long __cil_tmp19 ;
10314  unsigned long __cil_tmp20 ;
10315
10316  {
10317  {
10318#line 505
10319  __cil_tmp5 = vcc->dev_data;
10320#line 505
10321  eni_vcc = (struct eni_vcc *)__cil_tmp5;
10322#line 506
10323  EVENT("discard (size=%ld)\n", size, 0UL);
10324  }
10325#line 507
10326  goto ldv_40171;
10327  ldv_40170: 
10328  {
10329#line 507
10330  EVENT("BUSY LOOP", 0UL, 0UL);
10331  }
10332  ldv_40171: 
10333  {
10334#line 507
10335  __cil_tmp6 = (struct sk_buff *)0;
10336#line 507
10337  tmp = do_rx_dma(vcc, __cil_tmp6, 1UL, size, 0UL);
10338  }
10339#line 507
10340  if (tmp != 0) {
10341#line 508
10342    goto ldv_40170;
10343  } else {
10344#line 510
10345    goto ldv_40172;
10346  }
10347  ldv_40172: ;
10348  {
10349#line 509
10350  __cil_tmp7 = eni_vcc->rxing;
10351#line 509
10352  if (__cil_tmp7 != 0) {
10353#line 509
10354    __cil_tmp8 = eni_vcc->last;
10355#line 509
10356    __cil_tmp9 = & __cil_tmp8->cb;
10357#line 509
10358    __cil_tmp10 = (struct eni_skb_prv *)__cil_tmp9;
10359#line 509
10360    __cil_tmp11 = eni_vcc->last;
10361#line 509
10362    __cil_tmp12 = & __cil_tmp11->cb;
10363#line 509
10364    __cil_tmp13 = (struct eni_skb_prv *)__cil_tmp12;
10365#line 509
10366    __cil_tmp14 = __cil_tmp13->pos;
10367#line 509
10368    __cil_tmp15 = __cil_tmp14 + size;
10369#line 509
10370    __cil_tmp10->pos = __cil_tmp15 + 1UL;
10371  } else {
10372#line 510
10373    __cil_tmp16 = eni_vcc->words;
10374#line 510
10375    __cil_tmp17 = __cil_tmp16 - 1UL;
10376#line 510
10377    __cil_tmp18 = eni_vcc->rx_pos;
10378#line 510
10379    __cil_tmp19 = __cil_tmp18 + size;
10380#line 510
10381    __cil_tmp20 = __cil_tmp19 + 1UL;
10382#line 510
10383    eni_vcc->rx_pos = __cil_tmp20 & __cil_tmp17;
10384  }
10385  }
10386#line 511
10387  return;
10388}
10389}
10390#line 519 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
10391static int rx_aal0(struct atm_vcc *vcc ) 
10392{ struct eni_vcc *eni_vcc ;
10393  unsigned long descr ;
10394  unsigned long length ;
10395  struct sk_buff *skb ;
10396  unsigned int tmp ;
10397  struct sk_buff *tmp___0 ;
10398  int tmp___1 ;
10399  void *__cil_tmp9 ;
10400  unsigned long __cil_tmp10 ;
10401  unsigned long __cil_tmp11 ;
10402  void *__cil_tmp12 ;
10403  void *__cil_tmp13 ;
10404  void const volatile   *__cil_tmp14 ;
10405  unsigned long __cil_tmp15 ;
10406  unsigned long __cil_tmp16 ;
10407  struct k_atm_aal_stats *__cil_tmp17 ;
10408  atomic_t *__cil_tmp18 ;
10409  int __cil_tmp19 ;
10410  struct sk_buff *__cil_tmp20 ;
10411  unsigned long __cil_tmp21 ;
10412  unsigned long __cil_tmp22 ;
10413  unsigned long __cil_tmp23 ;
10414  unsigned int __cil_tmp24 ;
10415  unsigned long __cil_tmp25 ;
10416  unsigned long __cil_tmp26 ;
10417  int __cil_tmp27 ;
10418
10419  {
10420  {
10421#line 527
10422  __cil_tmp9 = vcc->dev_data;
10423#line 527
10424  eni_vcc = (struct eni_vcc *)__cil_tmp9;
10425#line 528
10426  __cil_tmp10 = eni_vcc->descr;
10427#line 528
10428  __cil_tmp11 = __cil_tmp10 * 4UL;
10429#line 528
10430  __cil_tmp12 = eni_vcc->recv;
10431#line 528
10432  __cil_tmp13 = __cil_tmp12 + __cil_tmp11;
10433#line 528
10434  __cil_tmp14 = (void const volatile   *)__cil_tmp13;
10435#line 528
10436  tmp = readl(__cil_tmp14);
10437#line 528
10438  descr = (unsigned long )tmp;
10439  }
10440  {
10441#line 529
10442  __cil_tmp15 = descr & 4261412864UL;
10443#line 529
10444  if (__cil_tmp15 != 905969664UL) {
10445    {
10446#line 530
10447    rx_ident_err(vcc);
10448    }
10449#line 531
10450    return (1);
10451  } else {
10452
10453  }
10454  }
10455  {
10456#line 533
10457  __cil_tmp16 = descr & 4096UL;
10458#line 533
10459  if (__cil_tmp16 != 0UL) {
10460    {
10461#line 536
10462    length = 0UL;
10463#line 537
10464    __cil_tmp17 = vcc->stats;
10465#line 537
10466    __cil_tmp18 = & __cil_tmp17->rx_err;
10467#line 537
10468    atomic_inc(__cil_tmp18);
10469    }
10470  } else {
10471#line 540
10472    length = 52UL;
10473  }
10474  }
10475#line 542
10476  if (length != 0UL) {
10477    {
10478#line 542
10479    __cil_tmp19 = (int )length;
10480#line 542
10481    tmp___0 = atm_alloc_charge(vcc, __cil_tmp19, 32U);
10482#line 542
10483    skb = tmp___0;
10484    }
10485  } else {
10486#line 542
10487    skb = (struct sk_buff *)0;
10488  }
10489  {
10490#line 543
10491  __cil_tmp20 = (struct sk_buff *)0;
10492#line 543
10493  __cil_tmp21 = (unsigned long )__cil_tmp20;
10494#line 543
10495  __cil_tmp22 = (unsigned long )skb;
10496#line 543
10497  if (__cil_tmp22 == __cil_tmp21) {
10498    {
10499#line 544
10500    __cil_tmp23 = length >> 2;
10501#line 544
10502    discard(vcc, __cil_tmp23);
10503    }
10504#line 545
10505    return (0);
10506  } else {
10507
10508  }
10509  }
10510  {
10511#line 547
10512  __cil_tmp24 = (unsigned int )length;
10513#line 547
10514  skb_put(skb, __cil_tmp24);
10515#line 548
10516  skb->tstamp = eni_vcc->timestamp;
10517#line 550
10518  __cil_tmp25 = length >> 2;
10519#line 550
10520  __cil_tmp26 = length >> 2;
10521#line 550
10522  tmp___1 = do_rx_dma(vcc, skb, 1UL, __cil_tmp25, __cil_tmp26);
10523  }
10524#line 550
10525  if (tmp___1 != 0) {
10526#line 550
10527    return (1);
10528  } else {
10529
10530  }
10531#line 551
10532  __cil_tmp27 = eni_vcc->rxing;
10533#line 551
10534  eni_vcc->rxing = __cil_tmp27 + 1;
10535#line 552
10536  return (0);
10537}
10538}
10539#line 556 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
10540static int rx_aal5(struct atm_vcc *vcc ) 
10541{ struct eni_vcc *eni_vcc ;
10542  unsigned long descr ;
10543  unsigned long size ;
10544  unsigned long eff ;
10545  unsigned long length ;
10546  struct sk_buff *skb ;
10547  unsigned int tmp ;
10548  unsigned long silence ;
10549  unsigned int tmp___0 ;
10550  struct sk_buff *tmp___1 ;
10551  int tmp___2 ;
10552  void *__cil_tmp13 ;
10553  unsigned long __cil_tmp14 ;
10554  unsigned long __cil_tmp15 ;
10555  void *__cil_tmp16 ;
10556  void *__cil_tmp17 ;
10557  void const volatile   *__cil_tmp18 ;
10558  unsigned long __cil_tmp19 ;
10559  unsigned long __cil_tmp20 ;
10560  unsigned long __cil_tmp21 ;
10561  long __cil_tmp22 ;
10562  long __cil_tmp23 ;
10563  long __cil_tmp24 ;
10564  struct atm_dev *__cil_tmp25 ;
10565  int __cil_tmp26 ;
10566  unsigned long __cil_tmp27 ;
10567  unsigned long __cil_tmp28 ;
10568  struct atm_dev *__cil_tmp29 ;
10569  int __cil_tmp30 ;
10570  unsigned long __cil_tmp31 ;
10571  unsigned long __cil_tmp32 ;
10572  unsigned long __cil_tmp33 ;
10573  struct k_atm_aal_stats *__cil_tmp34 ;
10574  atomic_t *__cil_tmp35 ;
10575  unsigned long __cil_tmp36 ;
10576  unsigned long __cil_tmp37 ;
10577  unsigned long __cil_tmp38 ;
10578  unsigned long __cil_tmp39 ;
10579  unsigned long __cil_tmp40 ;
10580  unsigned long __cil_tmp41 ;
10581  unsigned long __cil_tmp42 ;
10582  unsigned long __cil_tmp43 ;
10583  void *__cil_tmp44 ;
10584  void *__cil_tmp45 ;
10585  void const volatile   *__cil_tmp46 ;
10586  unsigned long __cil_tmp47 ;
10587  unsigned long __cil_tmp48 ;
10588  unsigned long __cil_tmp49 ;
10589  unsigned long __cil_tmp50 ;
10590  struct atm_dev *__cil_tmp51 ;
10591  int __cil_tmp52 ;
10592  int __cil_tmp53 ;
10593  unsigned long __cil_tmp54 ;
10594  struct k_atm_aal_stats *__cil_tmp55 ;
10595  atomic_t *__cil_tmp56 ;
10596  struct atm_dev *__cil_tmp57 ;
10597  int __cil_tmp58 ;
10598  int __cil_tmp59 ;
10599  unsigned long __cil_tmp60 ;
10600  struct k_atm_aal_stats *__cil_tmp61 ;
10601  atomic_t *__cil_tmp62 ;
10602  struct atm_dev *__cil_tmp63 ;
10603  int __cil_tmp64 ;
10604  int __cil_tmp65 ;
10605  unsigned long __cil_tmp66 ;
10606  struct k_atm_aal_stats *__cil_tmp67 ;
10607  atomic_t *__cil_tmp68 ;
10608  unsigned long __cil_tmp69 ;
10609  int __cil_tmp70 ;
10610  struct sk_buff *__cil_tmp71 ;
10611  unsigned long __cil_tmp72 ;
10612  unsigned long __cil_tmp73 ;
10613  unsigned int __cil_tmp74 ;
10614  int __cil_tmp75 ;
10615
10616  {
10617  {
10618#line 563
10619  EVENT("rx_aal5\n", 0UL, 0UL);
10620#line 565
10621  __cil_tmp13 = vcc->dev_data;
10622#line 565
10623  eni_vcc = (struct eni_vcc *)__cil_tmp13;
10624#line 566
10625  __cil_tmp14 = eni_vcc->descr;
10626#line 566
10627  __cil_tmp15 = __cil_tmp14 * 4UL;
10628#line 566
10629  __cil_tmp16 = eni_vcc->recv;
10630#line 566
10631  __cil_tmp17 = __cil_tmp16 + __cil_tmp15;
10632#line 566
10633  __cil_tmp18 = (void const volatile   *)__cil_tmp17;
10634#line 566
10635  tmp = readl(__cil_tmp18);
10636#line 566
10637  descr = (unsigned long )tmp;
10638  }
10639  {
10640#line 567
10641  __cil_tmp19 = descr & 4261412864UL;
10642#line 567
10643  if (__cil_tmp19 != 905969664UL) {
10644    {
10645#line 568
10646    rx_ident_err(vcc);
10647    }
10648#line 569
10649    return (1);
10650  } else {
10651
10652  }
10653  }
10654  {
10655#line 571
10656  __cil_tmp20 = descr & 6144UL;
10657#line 571
10658  if (__cil_tmp20 != 0UL) {
10659    {
10660#line 572
10661    __cil_tmp21 = descr & 4096UL;
10662#line 572
10663    if (__cil_tmp21 != 0UL) {
10664      {
10665#line 573
10666      EVENT("empty cell (descr=0x%lx)\n", descr, 0UL);
10667#line 576
10668      size = 0UL;
10669      }
10670    } else {
10671#line 579
10672      silence = 0UL;
10673      {
10674#line 581
10675      __cil_tmp22 = (long )jiffies;
10676#line 581
10677      __cil_tmp23 = (long )silence;
10678#line 581
10679      __cil_tmp24 = __cil_tmp23 - __cil_tmp22;
10680#line 581
10681      if (__cil_tmp24 < 0L) {
10682        {
10683#line 582
10684        __cil_tmp25 = vcc->dev;
10685#line 582
10686        __cil_tmp26 = __cil_tmp25->number;
10687#line 582
10688        printk("<4>eni(itf %d): discarding PDU(s) with CRC error\n", __cil_tmp26);
10689#line 585
10690        __cil_tmp27 = (unsigned long )jiffies;
10691#line 585
10692        __cil_tmp28 = __cil_tmp27 + 500UL;
10693#line 585
10694        silence = __cil_tmp28 | 1UL;
10695        }
10696      } else
10697#line 581
10698      if (silence == 0UL) {
10699        {
10700#line 582
10701        __cil_tmp29 = vcc->dev;
10702#line 582
10703        __cil_tmp30 = __cil_tmp29->number;
10704#line 582
10705        printk("<4>eni(itf %d): discarding PDU(s) with CRC error\n", __cil_tmp30);
10706#line 585
10707        __cil_tmp31 = (unsigned long )jiffies;
10708#line 585
10709        __cil_tmp32 = __cil_tmp31 + 500UL;
10710#line 585
10711        silence = __cil_tmp32 | 1UL;
10712        }
10713      } else {
10714
10715      }
10716      }
10717      {
10718#line 587
10719      __cil_tmp33 = descr & 2047UL;
10720#line 587
10721      size = __cil_tmp33 * 12UL;
10722#line 588
10723      EVENT("CRC error (descr=0x%lx,size=%ld)\n", descr, size);
10724      }
10725    }
10726    }
10727    {
10728#line 591
10729    length = 0UL;
10730#line 591
10731    eff = length;
10732#line 592
10733    __cil_tmp34 = vcc->stats;
10734#line 592
10735    __cil_tmp35 = & __cil_tmp34->rx_err;
10736#line 592
10737    atomic_inc(__cil_tmp35);
10738    }
10739  } else {
10740    {
10741#line 595
10742    __cil_tmp36 = descr & 2047UL;
10743#line 595
10744    size = __cil_tmp36 * 12UL;
10745#line 597
10746    __cil_tmp37 = eni_vcc->words;
10747#line 597
10748    __cil_tmp38 = __cil_tmp37 - 1UL;
10749#line 597
10750    __cil_tmp39 = eni_vcc->descr;
10751#line 597
10752    __cil_tmp40 = __cil_tmp39 + size;
10753#line 597
10754    __cil_tmp41 = __cil_tmp40 - 1UL;
10755#line 597
10756    __cil_tmp42 = __cil_tmp41 & __cil_tmp38;
10757#line 597
10758    __cil_tmp43 = __cil_tmp42 * 4UL;
10759#line 597
10760    __cil_tmp44 = eni_vcc->recv;
10761#line 597
10762    __cil_tmp45 = __cil_tmp44 + __cil_tmp43;
10763#line 597
10764    __cil_tmp46 = (void const volatile   *)__cil_tmp45;
10765#line 597
10766    tmp___0 = readl(__cil_tmp46);
10767#line 597
10768    __cil_tmp47 = (unsigned long )tmp___0;
10769#line 597
10770    length = __cil_tmp47 & 65535UL;
10771    }
10772#line 600
10773    if (length != 0UL) {
10774      {
10775#line 600
10776      __cil_tmp48 = size << 2;
10777#line 600
10778      __cil_tmp49 = __cil_tmp48 - 8UL;
10779#line 600
10780      if (__cil_tmp49 >= length) {
10781#line 600
10782        if (length <= 65535UL) {
10783#line 601
10784          __cil_tmp50 = length + 3UL;
10785#line 601
10786          eff = __cil_tmp50 >> 2;
10787        } else {
10788          {
10789#line 603
10790          EVENT("bad PDU (descr=0x08%lx,length=%ld)\n", descr, length);
10791#line 605
10792          __cil_tmp51 = vcc->dev;
10793#line 605
10794          __cil_tmp52 = __cil_tmp51->number;
10795#line 605
10796          __cil_tmp53 = vcc->vci;
10797#line 605
10798          __cil_tmp54 = size << 2;
10799#line 605
10800          printk("<3>eni(itf %d): bad AAL5 PDU (VCI=%d,length=%ld,size=%ld (descr 0x%lx))\n",
10801                 __cil_tmp52, __cil_tmp53, length, __cil_tmp54, descr);
10802#line 608
10803          eff = 0UL;
10804#line 608
10805          length = eff;
10806#line 609
10807          __cil_tmp55 = vcc->stats;
10808#line 609
10809          __cil_tmp56 = & __cil_tmp55->rx_err;
10810#line 609
10811          atomic_inc(__cil_tmp56);
10812          }
10813        }
10814      } else {
10815        {
10816#line 603
10817        EVENT("bad PDU (descr=0x08%lx,length=%ld)\n", descr, length);
10818#line 605
10819        __cil_tmp57 = vcc->dev;
10820#line 605
10821        __cil_tmp58 = __cil_tmp57->number;
10822#line 605
10823        __cil_tmp59 = vcc->vci;
10824#line 605
10825        __cil_tmp60 = size << 2;
10826#line 605
10827        printk("<3>eni(itf %d): bad AAL5 PDU (VCI=%d,length=%ld,size=%ld (descr 0x%lx))\n",
10828               __cil_tmp58, __cil_tmp59, length, __cil_tmp60, descr);
10829#line 608
10830        eff = 0UL;
10831#line 608
10832        length = eff;
10833#line 609
10834        __cil_tmp61 = vcc->stats;
10835#line 609
10836        __cil_tmp62 = & __cil_tmp61->rx_err;
10837#line 609
10838        atomic_inc(__cil_tmp62);
10839        }
10840      }
10841      }
10842    } else {
10843      {
10844#line 603
10845      EVENT("bad PDU (descr=0x08%lx,length=%ld)\n", descr, length);
10846#line 605
10847      __cil_tmp63 = vcc->dev;
10848#line 605
10849      __cil_tmp64 = __cil_tmp63->number;
10850#line 605
10851      __cil_tmp65 = vcc->vci;
10852#line 605
10853      __cil_tmp66 = size << 2;
10854#line 605
10855      printk("<3>eni(itf %d): bad AAL5 PDU (VCI=%d,length=%ld,size=%ld (descr 0x%lx))\n",
10856             __cil_tmp64, __cil_tmp65, length, __cil_tmp66, descr);
10857#line 608
10858      eff = 0UL;
10859#line 608
10860      length = eff;
10861#line 609
10862      __cil_tmp67 = vcc->stats;
10863#line 609
10864      __cil_tmp68 = & __cil_tmp67->rx_err;
10865#line 609
10866      atomic_inc(__cil_tmp68);
10867      }
10868    }
10869  }
10870  }
10871#line 612
10872  if (eff != 0UL) {
10873    {
10874#line 612
10875    __cil_tmp69 = eff << 2;
10876#line 612
10877    __cil_tmp70 = (int )__cil_tmp69;
10878#line 612
10879    tmp___1 = atm_alloc_charge(vcc, __cil_tmp70, 32U);
10880#line 612
10881    skb = tmp___1;
10882    }
10883  } else {
10884#line 612
10885    skb = (struct sk_buff *)0;
10886  }
10887  {
10888#line 613
10889  __cil_tmp71 = (struct sk_buff *)0;
10890#line 613
10891  __cil_tmp72 = (unsigned long )__cil_tmp71;
10892#line 613
10893  __cil_tmp73 = (unsigned long )skb;
10894#line 613
10895  if (__cil_tmp73 == __cil_tmp72) {
10896    {
10897#line 614
10898    discard(vcc, size);
10899    }
10900#line 615
10901    return (0);
10902  } else {
10903
10904  }
10905  }
10906  {
10907#line 617
10908  __cil_tmp74 = (unsigned int )length;
10909#line 617
10910  skb_put(skb, __cil_tmp74);
10911#line 619
10912  tmp___2 = do_rx_dma(vcc, skb, 1UL, size, eff);
10913  }
10914#line 619
10915  if (tmp___2 != 0) {
10916#line 619
10917    return (1);
10918  } else {
10919
10920  }
10921#line 620
10922  __cil_tmp75 = eni_vcc->rxing;
10923#line 620
10924  eni_vcc->rxing = __cil_tmp75 + 1;
10925#line 621
10926  return (0);
10927}
10928}
10929#line 625 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
10930__inline static int rx_vcc(struct atm_vcc *vcc ) 
10931{ void *vci_dsc ;
10932  unsigned long tmp ;
10933  struct eni_vcc *eni_vcc ;
10934  int tmp___0 ;
10935  unsigned int tmp___1 ;
10936  unsigned int tmp___2 ;
10937  int tmp___3 ;
10938  unsigned int tmp___4 ;
10939  void *__cil_tmp10 ;
10940  int __cil_tmp11 ;
10941  int __cil_tmp12 ;
10942  unsigned long __cil_tmp13 ;
10943  struct atm_dev *__cil_tmp14 ;
10944  void *__cil_tmp15 ;
10945  struct eni_dev *__cil_tmp16 ;
10946  void *__cil_tmp17 ;
10947  unsigned long __cil_tmp18 ;
10948  void *__cil_tmp19 ;
10949  struct eni_vcc *__cil_tmp20 ;
10950  int (*__cil_tmp21)(struct atm_vcc * ) ;
10951  void const volatile   *__cil_tmp22 ;
10952  void const volatile   *__cil_tmp23 ;
10953  unsigned int __cil_tmp24 ;
10954  unsigned int __cil_tmp25 ;
10955  unsigned long __cil_tmp26 ;
10956  void const volatile   *__cil_tmp27 ;
10957  unsigned int __cil_tmp28 ;
10958  void volatile   *__cil_tmp29 ;
10959  unsigned long __cil_tmp30 ;
10960  void *__cil_tmp31 ;
10961  struct eni_vcc *__cil_tmp32 ;
10962  int (*__cil_tmp33)(struct atm_vcc * ) ;
10963  void const volatile   *__cil_tmp34 ;
10964  void const volatile   *__cil_tmp35 ;
10965  unsigned int __cil_tmp36 ;
10966  unsigned int __cil_tmp37 ;
10967  void *__cil_tmp38 ;
10968  struct eni_vcc *__cil_tmp39 ;
10969  unsigned long __cil_tmp40 ;
10970
10971  {
10972  {
10973#line 631
10974  __cil_tmp10 = vcc->dev_data;
10975#line 631
10976  eni_vcc = (struct eni_vcc *)__cil_tmp10;
10977#line 632
10978  __cil_tmp11 = vcc->vci;
10979#line 632
10980  __cil_tmp12 = __cil_tmp11 * 16;
10981#line 632
10982  __cil_tmp13 = (unsigned long )__cil_tmp12;
10983#line 632
10984  __cil_tmp14 = vcc->dev;
10985#line 632
10986  __cil_tmp15 = __cil_tmp14->dev_data;
10987#line 632
10988  __cil_tmp16 = (struct eni_dev *)__cil_tmp15;
10989#line 632
10990  __cil_tmp17 = __cil_tmp16->vci;
10991#line 632
10992  vci_dsc = __cil_tmp17 + __cil_tmp13;
10993#line 633
10994  EVENT("rx_vcc(1)\n", 0UL, 0UL);
10995  }
10996#line 634
10997  goto ldv_40203;
10998  ldv_40202: 
10999  {
11000#line 636
11001  __cil_tmp18 = eni_vcc->descr;
11002#line 636
11003  EVENT("rx_vcc(2: host dsc=0x%lx, nic dsc=0x%lx)\n", __cil_tmp18, tmp);
11004#line 641
11005  __cil_tmp19 = vcc->dev_data;
11006#line 641
11007  __cil_tmp20 = (struct eni_vcc *)__cil_tmp19;
11008#line 641
11009  __cil_tmp21 = __cil_tmp20->rx;
11010#line 641
11011  tmp___0 = (*__cil_tmp21)(vcc);
11012  }
11013#line 641
11014  if (tmp___0 != 0) {
11015#line 641
11016    return (1);
11017  } else {
11018
11019  }
11020  ldv_40203: 
11021  {
11022#line 634
11023  __cil_tmp22 = (void const volatile   *)vci_dsc;
11024#line 634
11025  __cil_tmp23 = __cil_tmp22 + 4U;
11026#line 634
11027  tmp___1 = readl(__cil_tmp23);
11028#line 634
11029  __cil_tmp24 = tmp___1 & 2147418112U;
11030#line 634
11031  __cil_tmp25 = __cil_tmp24 >> 16;
11032#line 634
11033  tmp = (unsigned long )__cil_tmp25;
11034  }
11035  {
11036#line 634
11037  __cil_tmp26 = eni_vcc->descr;
11038#line 634
11039  if (__cil_tmp26 != tmp) {
11040#line 635
11041    goto ldv_40202;
11042  } else {
11043#line 637
11044    goto ldv_40204;
11045  }
11046  }
11047  ldv_40204: 
11048  {
11049#line 644
11050  __cil_tmp27 = (void const volatile   *)vci_dsc;
11051#line 644
11052  tmp___2 = readl(__cil_tmp27);
11053#line 644
11054  __cil_tmp28 = tmp___2 & 4294967294U;
11055#line 644
11056  __cil_tmp29 = (void volatile   *)vci_dsc;
11057#line 644
11058  writel(__cil_tmp28, __cil_tmp29);
11059#line 650
11060  EVENT("rx_vcc(3)\n", 0UL, 0UL);
11061  }
11062#line 651
11063  goto ldv_40206;
11064  ldv_40205: 
11065  {
11066#line 653
11067  __cil_tmp30 = eni_vcc->descr;
11068#line 653
11069  EVENT("rx_vcc(4: host dsc=0x%lx, nic dsc=0x%lx)\n", __cil_tmp30, tmp);
11070#line 658
11071  __cil_tmp31 = vcc->dev_data;
11072#line 658
11073  __cil_tmp32 = (struct eni_vcc *)__cil_tmp31;
11074#line 658
11075  __cil_tmp33 = __cil_tmp32->rx;
11076#line 658
11077  tmp___3 = (*__cil_tmp33)(vcc);
11078  }
11079#line 658
11080  if (tmp___3 != 0) {
11081#line 658
11082    return (1);
11083  } else {
11084
11085  }
11086  ldv_40206: 
11087  {
11088#line 651
11089  __cil_tmp34 = (void const volatile   *)vci_dsc;
11090#line 651
11091  __cil_tmp35 = __cil_tmp34 + 4U;
11092#line 651
11093  tmp___4 = readl(__cil_tmp35);
11094#line 651
11095  __cil_tmp36 = tmp___4 & 2147418112U;
11096#line 651
11097  __cil_tmp37 = __cil_tmp36 >> 16;
11098#line 651
11099  tmp = (unsigned long )__cil_tmp37;
11100  }
11101  {
11102#line 651
11103  __cil_tmp38 = vcc->dev_data;
11104#line 651
11105  __cil_tmp39 = (struct eni_vcc *)__cil_tmp38;
11106#line 651
11107  __cil_tmp40 = __cil_tmp39->descr;
11108#line 651
11109  if (__cil_tmp40 != tmp) {
11110#line 653
11111    goto ldv_40205;
11112  } else {
11113#line 655
11114    goto ldv_40207;
11115  }
11116  }
11117  ldv_40207: ;
11118#line 660
11119  return (0);
11120}
11121}
11122#line 664 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
11123static void poll_rx(struct atm_dev *dev ) 
11124{ struct eni_dev *eni_dev ;
11125  struct atm_vcc *curr ;
11126  int tmp ;
11127  int tmp___0 ;
11128  void *__cil_tmp6 ;
11129  void *__cil_tmp7 ;
11130  struct eni_vcc *__cil_tmp8 ;
11131  void *__cil_tmp9 ;
11132  struct eni_vcc *__cil_tmp10 ;
11133  void *__cil_tmp11 ;
11134  struct eni_vcc *__cil_tmp12 ;
11135  void *__cil_tmp13 ;
11136  struct eni_vcc *__cil_tmp14 ;
11137  int __cil_tmp15 ;
11138  struct atm_vcc *__cil_tmp16 ;
11139  unsigned long __cil_tmp17 ;
11140  unsigned long __cil_tmp18 ;
11141  void *__cil_tmp19 ;
11142  struct eni_vcc *__cil_tmp20 ;
11143  void *__cil_tmp21 ;
11144  struct eni_vcc *__cil_tmp22 ;
11145  void *__cil_tmp23 ;
11146  struct eni_vcc *__cil_tmp24 ;
11147  void *__cil_tmp25 ;
11148  struct eni_vcc *__cil_tmp26 ;
11149  int __cil_tmp27 ;
11150  struct atm_vcc *__cil_tmp28 ;
11151  unsigned long __cil_tmp29 ;
11152  unsigned long __cil_tmp30 ;
11153
11154  {
11155#line 669
11156  __cil_tmp6 = dev->dev_data;
11157#line 669
11158  eni_dev = (struct eni_dev *)__cil_tmp6;
11159#line 670
11160  goto ldv_40214;
11161  ldv_40213: 
11162  {
11163#line 671
11164  EVENT("poll_rx.fast\n", 0UL, 0UL);
11165#line 672
11166  tmp = rx_vcc(curr);
11167  }
11168#line 672
11169  if (tmp != 0) {
11170#line 672
11171    return;
11172  } else {
11173
11174  }
11175#line 673
11176  __cil_tmp7 = curr->dev_data;
11177#line 673
11178  __cil_tmp8 = (struct eni_vcc *)__cil_tmp7;
11179#line 673
11180  eni_dev->fast = __cil_tmp8->next;
11181#line 674
11182  __cil_tmp9 = curr->dev_data;
11183#line 674
11184  __cil_tmp10 = (struct eni_vcc *)__cil_tmp9;
11185#line 674
11186  __cil_tmp10->next = (struct atm_vcc *)1;
11187#line 675
11188  __asm__  volatile   ("": : : "memory");
11189#line 676
11190  __cil_tmp11 = curr->dev_data;
11191#line 676
11192  __cil_tmp12 = (struct eni_vcc *)__cil_tmp11;
11193#line 676
11194  __cil_tmp13 = curr->dev_data;
11195#line 676
11196  __cil_tmp14 = (struct eni_vcc *)__cil_tmp13;
11197#line 676
11198  __cil_tmp15 = __cil_tmp14->servicing;
11199#line 676
11200  __cil_tmp12->servicing = __cil_tmp15 - 1;
11201  ldv_40214: 
11202#line 670
11203  curr = eni_dev->fast;
11204  {
11205#line 670
11206  __cil_tmp16 = (struct atm_vcc *)0;
11207#line 670
11208  __cil_tmp17 = (unsigned long )__cil_tmp16;
11209#line 670
11210  __cil_tmp18 = (unsigned long )curr;
11211#line 670
11212  if (__cil_tmp18 != __cil_tmp17) {
11213#line 671
11214    goto ldv_40213;
11215  } else {
11216#line 673
11217    goto ldv_40215;
11218  }
11219  }
11220  ldv_40215: ;
11221#line 678
11222  goto ldv_40217;
11223  ldv_40216: 
11224  {
11225#line 679
11226  EVENT("poll_rx.slow\n", 0UL, 0UL);
11227#line 680
11228  tmp___0 = rx_vcc(curr);
11229  }
11230#line 680
11231  if (tmp___0 != 0) {
11232#line 680
11233    return;
11234  } else {
11235
11236  }
11237#line 681
11238  __cil_tmp19 = curr->dev_data;
11239#line 681
11240  __cil_tmp20 = (struct eni_vcc *)__cil_tmp19;
11241#line 681
11242  eni_dev->slow = __cil_tmp20->next;
11243#line 682
11244  __cil_tmp21 = curr->dev_data;
11245#line 682
11246  __cil_tmp22 = (struct eni_vcc *)__cil_tmp21;
11247#line 682
11248  __cil_tmp22->next = (struct atm_vcc *)1;
11249#line 683
11250  __asm__  volatile   ("": : : "memory");
11251#line 684
11252  __cil_tmp23 = curr->dev_data;
11253#line 684
11254  __cil_tmp24 = (struct eni_vcc *)__cil_tmp23;
11255#line 684
11256  __cil_tmp25 = curr->dev_data;
11257#line 684
11258  __cil_tmp26 = (struct eni_vcc *)__cil_tmp25;
11259#line 684
11260  __cil_tmp27 = __cil_tmp26->servicing;
11261#line 684
11262  __cil_tmp24->servicing = __cil_tmp27 - 1;
11263  ldv_40217: 
11264#line 678
11265  curr = eni_dev->slow;
11266  {
11267#line 678
11268  __cil_tmp28 = (struct atm_vcc *)0;
11269#line 678
11270  __cil_tmp29 = (unsigned long )__cil_tmp28;
11271#line 678
11272  __cil_tmp30 = (unsigned long )curr;
11273#line 678
11274  if (__cil_tmp30 != __cil_tmp29) {
11275#line 679
11276    goto ldv_40216;
11277  } else {
11278#line 681
11279    goto ldv_40218;
11280  }
11281  }
11282  ldv_40218: ;
11283#line 683
11284  return;
11285}
11286}
11287#line 689 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
11288static void get_service(struct atm_dev *dev ) 
11289{ struct eni_dev *eni_dev ;
11290  struct atm_vcc *vcc ;
11291  unsigned long vci ;
11292  unsigned int tmp ;
11293  unsigned int tmp___0 ;
11294  void *__cil_tmp7 ;
11295  u32 __cil_tmp8 ;
11296  u32 __cil_tmp9 ;
11297  unsigned long __cil_tmp10 ;
11298  void *__cil_tmp11 ;
11299  void const volatile   *__cil_tmp12 ;
11300  void const volatile   *__cil_tmp13 ;
11301  u32 __cil_tmp14 ;
11302  u32 __cil_tmp15 ;
11303  unsigned long __cil_tmp16 ;
11304  struct atm_vcc **__cil_tmp17 ;
11305  struct atm_vcc **__cil_tmp18 ;
11306  struct atm_vcc *__cil_tmp19 ;
11307  unsigned long __cil_tmp20 ;
11308  unsigned long __cil_tmp21 ;
11309  int __cil_tmp22 ;
11310  void *__cil_tmp23 ;
11311  struct eni_vcc *__cil_tmp24 ;
11312  struct atm_vcc *__cil_tmp25 ;
11313  unsigned long __cil_tmp26 ;
11314  void *__cil_tmp27 ;
11315  struct eni_vcc *__cil_tmp28 ;
11316  void *__cil_tmp29 ;
11317  struct eni_vcc *__cil_tmp30 ;
11318  unsigned char __cil_tmp31 ;
11319  unsigned int __cil_tmp32 ;
11320  struct atm_vcc *__cil_tmp33 ;
11321  unsigned long __cil_tmp34 ;
11322  struct atm_vcc *__cil_tmp35 ;
11323  unsigned long __cil_tmp36 ;
11324  struct atm_vcc *__cil_tmp37 ;
11325  void *__cil_tmp38 ;
11326  struct eni_vcc *__cil_tmp39 ;
11327  struct atm_vcc *__cil_tmp40 ;
11328  unsigned long __cil_tmp41 ;
11329  struct atm_vcc *__cil_tmp42 ;
11330  unsigned long __cil_tmp43 ;
11331  struct atm_vcc *__cil_tmp44 ;
11332  void *__cil_tmp45 ;
11333  struct eni_vcc *__cil_tmp46 ;
11334  void *__cil_tmp47 ;
11335  struct eni_vcc *__cil_tmp48 ;
11336  void *__cil_tmp49 ;
11337  struct eni_vcc *__cil_tmp50 ;
11338  int __cil_tmp51 ;
11339  void *__cil_tmp52 ;
11340  void const volatile   *__cil_tmp53 ;
11341  void const volatile   *__cil_tmp54 ;
11342  u32 __cil_tmp55 ;
11343
11344  {
11345#line 696
11346  __cil_tmp7 = dev->dev_data;
11347#line 696
11348  eni_dev = (struct eni_dev *)__cil_tmp7;
11349#line 697
11350  goto ldv_40225;
11351  ldv_40226: 
11352  {
11353#line 698
11354  __cil_tmp8 = eni_dev->serv_read;
11355#line 698
11356  __cil_tmp9 = __cil_tmp8 * 4U;
11357#line 698
11358  __cil_tmp10 = (unsigned long )__cil_tmp9;
11359#line 698
11360  __cil_tmp11 = eni_dev->service;
11361#line 698
11362  __cil_tmp12 = (void const volatile   *)__cil_tmp11;
11363#line 698
11364  __cil_tmp13 = __cil_tmp12 + __cil_tmp10;
11365#line 698
11366  tmp = readl(__cil_tmp13);
11367#line 698
11368  vci = (unsigned long )tmp;
11369#line 699
11370  __cil_tmp14 = eni_dev->serv_read;
11371#line 699
11372  __cil_tmp15 = __cil_tmp14 + 1U;
11373#line 699
11374  eni_dev->serv_read = __cil_tmp15 & 1023U;
11375#line 700
11376  __cil_tmp16 = vci & 1023UL;
11377#line 700
11378  __cil_tmp17 = eni_dev->rx_map;
11379#line 700
11380  __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
11381#line 700
11382  vcc = *__cil_tmp18;
11383  }
11384  {
11385#line 701
11386  __cil_tmp19 = (struct atm_vcc *)0;
11387#line 701
11388  __cil_tmp20 = (unsigned long )__cil_tmp19;
11389#line 701
11390  __cil_tmp21 = (unsigned long )vcc;
11391#line 701
11392  if (__cil_tmp21 == __cil_tmp20) {
11393    {
11394#line 702
11395    __cil_tmp22 = dev->number;
11396#line 702
11397    printk("<2>eni(itf %d): VCI %ld not found\n", __cil_tmp22, vci);
11398    }
11399#line 704
11400    goto ldv_40225;
11401  } else {
11402
11403  }
11404  }
11405  {
11406#line 707
11407  EVENT("getting from service\n", 0UL, 0UL);
11408  }
11409  {
11410#line 708
11411  __cil_tmp23 = vcc->dev_data;
11412#line 708
11413  __cil_tmp24 = (struct eni_vcc *)__cil_tmp23;
11414#line 708
11415  __cil_tmp25 = __cil_tmp24->next;
11416#line 708
11417  __cil_tmp26 = (unsigned long )__cil_tmp25;
11418#line 708
11419  if (__cil_tmp26 != 1UL) {
11420    {
11421#line 709
11422    EVENT("double service\n", 0UL, 0UL);
11423    }
11424#line 711
11425    goto ldv_40225;
11426  } else {
11427
11428  }
11429  }
11430  {
11431#line 713
11432  __cil_tmp27 = vcc->dev_data;
11433#line 713
11434  __cil_tmp28 = (struct eni_vcc *)__cil_tmp27;
11435#line 713
11436  __cil_tmp28->timestamp = ktime_get_real();
11437#line 714
11438  __cil_tmp29 = vcc->dev_data;
11439#line 714
11440  __cil_tmp30 = (struct eni_vcc *)__cil_tmp29;
11441#line 714
11442  __cil_tmp30->next = (struct atm_vcc *)0;
11443  }
11444  {
11445#line 715
11446  __cil_tmp31 = vcc->qos.rxtp.traffic_class;
11447#line 715
11448  __cil_tmp32 = (unsigned int )__cil_tmp31;
11449#line 715
11450  if (__cil_tmp32 == 2U) {
11451    {
11452#line 716
11453    __cil_tmp33 = (struct atm_vcc *)0;
11454#line 716
11455    __cil_tmp34 = (unsigned long )__cil_tmp33;
11456#line 716
11457    __cil_tmp35 = eni_dev->fast;
11458#line 716
11459    __cil_tmp36 = (unsigned long )__cil_tmp35;
11460#line 716
11461    if (__cil_tmp36 != __cil_tmp34) {
11462#line 717
11463      __cil_tmp37 = eni_dev->last_fast;
11464#line 717
11465      __cil_tmp38 = __cil_tmp37->dev_data;
11466#line 717
11467      __cil_tmp39 = (struct eni_vcc *)__cil_tmp38;
11468#line 717
11469      __cil_tmp39->next = vcc;
11470    } else {
11471#line 718
11472      eni_dev->fast = vcc;
11473    }
11474    }
11475#line 719
11476    eni_dev->last_fast = vcc;
11477  } else {
11478    {
11479#line 722
11480    __cil_tmp40 = (struct atm_vcc *)0;
11481#line 722
11482    __cil_tmp41 = (unsigned long )__cil_tmp40;
11483#line 722
11484    __cil_tmp42 = eni_dev->slow;
11485#line 722
11486    __cil_tmp43 = (unsigned long )__cil_tmp42;
11487#line 722
11488    if (__cil_tmp43 != __cil_tmp41) {
11489#line 723
11490      __cil_tmp44 = eni_dev->last_slow;
11491#line 723
11492      __cil_tmp45 = __cil_tmp44->dev_data;
11493#line 723
11494      __cil_tmp46 = (struct eni_vcc *)__cil_tmp45;
11495#line 723
11496      __cil_tmp46->next = vcc;
11497    } else {
11498#line 724
11499      eni_dev->slow = vcc;
11500    }
11501    }
11502#line 725
11503    eni_dev->last_slow = vcc;
11504  }
11505  }
11506#line 727
11507  putting = putting + 1;
11508#line 728
11509  __cil_tmp47 = vcc->dev_data;
11510#line 728
11511  __cil_tmp48 = (struct eni_vcc *)__cil_tmp47;
11512#line 728
11513  __cil_tmp49 = vcc->dev_data;
11514#line 728
11515  __cil_tmp50 = (struct eni_vcc *)__cil_tmp49;
11516#line 728
11517  __cil_tmp51 = __cil_tmp50->servicing;
11518#line 728
11519  __cil_tmp48->servicing = __cil_tmp51 + 1;
11520  ldv_40225: 
11521  {
11522#line 697
11523  __cil_tmp52 = eni_dev->reg;
11524#line 697
11525  __cil_tmp53 = (void const volatile   *)__cil_tmp52;
11526#line 697
11527  __cil_tmp54 = __cil_tmp53 + 24U;
11528#line 697
11529  tmp___0 = readl(__cil_tmp54);
11530  }
11531  {
11532#line 697
11533  __cil_tmp55 = eni_dev->serv_read;
11534#line 697
11535  if (tmp___0 != __cil_tmp55) {
11536#line 698
11537    goto ldv_40226;
11538  } else {
11539#line 700
11540    goto ldv_40227;
11541  }
11542  }
11543  ldv_40227: ;
11544#line 702
11545  return;
11546}
11547}
11548#line 733 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
11549static void dequeue_rx(struct atm_dev *dev ) 
11550{ struct eni_dev *eni_dev ;
11551  struct eni_vcc *eni_vcc ;
11552  struct atm_vcc *vcc ;
11553  struct sk_buff *skb ;
11554  void *vci_dsc ;
11555  int first ;
11556  unsigned int tmp ;
11557  unsigned int tmp___0 ;
11558  int tmp___1 ;
11559  unsigned int tmp___2 ;
11560  unsigned int tmp___3 ;
11561  int tmp___4 ;
11562  int tmp___5 ;
11563  __u32 tmp___6 ;
11564  void *__cil_tmp16 ;
11565  struct sk_buff_head *__cil_tmp17 ;
11566  struct sk_buff *__cil_tmp18 ;
11567  unsigned long __cil_tmp19 ;
11568  unsigned long __cil_tmp20 ;
11569  char (*__cil_tmp21)[48U] ;
11570  struct eni_skb_prv *__cil_tmp22 ;
11571  int __cil_tmp23 ;
11572  unsigned long __cil_tmp24 ;
11573  char (*__cil_tmp25)[48U] ;
11574  struct eni_skb_prv *__cil_tmp26 ;
11575  unsigned long __cil_tmp27 ;
11576  char (*__cil_tmp28)[48U] ;
11577  struct atm_skb_data *__cil_tmp29 ;
11578  void *__cil_tmp30 ;
11579  int __cil_tmp31 ;
11580  int __cil_tmp32 ;
11581  unsigned long __cil_tmp33 ;
11582  void *__cil_tmp34 ;
11583  unsigned long __cil_tmp35 ;
11584  unsigned long __cil_tmp36 ;
11585  char (*__cil_tmp37)[48U] ;
11586  struct eni_skb_prv *__cil_tmp38 ;
11587  int __cil_tmp39 ;
11588  unsigned long __cil_tmp40 ;
11589  unsigned long __cil_tmp41 ;
11590  unsigned long __cil_tmp42 ;
11591  unsigned long __cil_tmp43 ;
11592  unsigned long __cil_tmp44 ;
11593  void const volatile   *__cil_tmp45 ;
11594  void const volatile   *__cil_tmp46 ;
11595  unsigned long __cil_tmp47 ;
11596  unsigned long __cil_tmp48 ;
11597  unsigned long __cil_tmp49 ;
11598  void const volatile   *__cil_tmp50 ;
11599  void const volatile   *__cil_tmp51 ;
11600  unsigned long __cil_tmp52 ;
11601  unsigned long __cil_tmp53 ;
11602  char (*__cil_tmp54)[48U] ;
11603  struct eni_skb_prv *__cil_tmp55 ;
11604  int __cil_tmp56 ;
11605  unsigned long __cil_tmp57 ;
11606  unsigned long __cil_tmp58 ;
11607  unsigned long __cil_tmp59 ;
11608  unsigned long __cil_tmp60 ;
11609  unsigned long __cil_tmp61 ;
11610  unsigned long __cil_tmp62 ;
11611  void const volatile   *__cil_tmp63 ;
11612  void const volatile   *__cil_tmp64 ;
11613  unsigned long __cil_tmp65 ;
11614  unsigned long __cil_tmp66 ;
11615  unsigned long __cil_tmp67 ;
11616  void const volatile   *__cil_tmp68 ;
11617  void const volatile   *__cil_tmp69 ;
11618  unsigned long __cil_tmp70 ;
11619  unsigned long __cil_tmp71 ;
11620  char (*__cil_tmp72)[48U] ;
11621  struct eni_skb_prv *__cil_tmp73 ;
11622  int __cil_tmp74 ;
11623  unsigned long __cil_tmp75 ;
11624  unsigned long __cil_tmp76 ;
11625  unsigned long __cil_tmp77 ;
11626  unsigned long __cil_tmp78 ;
11627  unsigned long __cil_tmp79 ;
11628  unsigned long __cil_tmp80 ;
11629  struct sk_buff_head *__cil_tmp81 ;
11630  int __cil_tmp82 ;
11631  unsigned long __cil_tmp83 ;
11632  unsigned long __cil_tmp84 ;
11633  char (*__cil_tmp85)[48U] ;
11634  struct eni_skb_prv *__cil_tmp86 ;
11635  unsigned long __cil_tmp87 ;
11636  struct pci_dev *__cil_tmp88 ;
11637  char (*__cil_tmp89)[48U] ;
11638  struct eni_skb_prv *__cil_tmp90 ;
11639  dma_addr_t __cil_tmp91 ;
11640  unsigned int __cil_tmp92 ;
11641  size_t __cil_tmp93 ;
11642  unsigned int __cil_tmp94 ;
11643  unsigned int __cil_tmp95 ;
11644  unsigned long __cil_tmp96 ;
11645  unsigned char __cil_tmp97 ;
11646  unsigned int __cil_tmp98 ;
11647  unsigned char *__cil_tmp99 ;
11648  unsigned long *__cil_tmp100 ;
11649  unsigned long __cil_tmp101 ;
11650  unsigned int __cil_tmp102 ;
11651  unsigned char *__cil_tmp103 ;
11652  unsigned long *__cil_tmp104 ;
11653  char (*__cil_tmp105)[48U] ;
11654  void *__cil_tmp106 ;
11655  void (*__cil_tmp107)(struct atm_vcc * , struct sk_buff * ) ;
11656  struct k_atm_aal_stats *__cil_tmp108 ;
11657  atomic_t *__cil_tmp109 ;
11658  wait_queue_head_t *__cil_tmp110 ;
11659  void *__cil_tmp111 ;
11660
11661  {
11662#line 742
11663  __cil_tmp16 = dev->dev_data;
11664#line 742
11665  eni_dev = (struct eni_dev *)__cil_tmp16;
11666#line 743
11667  first = 1;
11668  ldv_40238: 
11669  {
11670#line 745
11671  __cil_tmp17 = & eni_dev->rx_queue;
11672#line 745
11673  skb = skb_dequeue(__cil_tmp17);
11674  }
11675  {
11676#line 746
11677  __cil_tmp18 = (struct sk_buff *)0;
11678#line 746
11679  __cil_tmp19 = (unsigned long )__cil_tmp18;
11680#line 746
11681  __cil_tmp20 = (unsigned long )skb;
11682#line 746
11683  if (__cil_tmp20 == __cil_tmp19) {
11684#line 747
11685    if (first != 0) {
11686      {
11687#line 750
11688      EVENT("nothing to dequeue\n", 0UL, 0UL);
11689      }
11690    } else {
11691
11692    }
11693#line 752
11694    goto ldv_40237;
11695  } else {
11696
11697  }
11698  }
11699  {
11700#line 754
11701  __cil_tmp21 = & skb->cb;
11702#line 754
11703  __cil_tmp22 = (struct eni_skb_prv *)__cil_tmp21;
11704#line 754
11705  __cil_tmp23 = __cil_tmp22->size;
11706#line 754
11707  __cil_tmp24 = (unsigned long )__cil_tmp23;
11708#line 754
11709  __cil_tmp25 = & skb->cb;
11710#line 754
11711  __cil_tmp26 = (struct eni_skb_prv *)__cil_tmp25;
11712#line 754
11713  __cil_tmp27 = __cil_tmp26->pos;
11714#line 754
11715  EVENT("dequeued (size=%ld,pos=0x%lx)\n", __cil_tmp24, __cil_tmp27);
11716#line 756
11717  rx_dequeued = rx_dequeued + 1;
11718#line 757
11719  __cil_tmp28 = & skb->cb;
11720#line 757
11721  __cil_tmp29 = (struct atm_skb_data *)__cil_tmp28;
11722#line 757
11723  vcc = __cil_tmp29->vcc;
11724#line 758
11725  __cil_tmp30 = vcc->dev_data;
11726#line 758
11727  eni_vcc = (struct eni_vcc *)__cil_tmp30;
11728#line 759
11729  first = 0;
11730#line 760
11731  __cil_tmp31 = vcc->vci;
11732#line 760
11733  __cil_tmp32 = __cil_tmp31 * 16;
11734#line 760
11735  __cil_tmp33 = (unsigned long )__cil_tmp32;
11736#line 760
11737  __cil_tmp34 = eni_dev->vci;
11738#line 760
11739  vci_dsc = __cil_tmp34 + __cil_tmp33;
11740  }
11741  {
11742#line 761
11743  __cil_tmp35 = eni_vcc->words;
11744#line 761
11745  __cil_tmp36 = __cil_tmp35 - 1UL;
11746#line 761
11747  __cil_tmp37 = & skb->cb;
11748#line 761
11749  __cil_tmp38 = (struct eni_skb_prv *)__cil_tmp37;
11750#line 761
11751  __cil_tmp39 = __cil_tmp38->size;
11752#line 761
11753  __cil_tmp40 = (unsigned long )__cil_tmp39;
11754#line 761
11755  __cil_tmp41 = eni_vcc->rx_pos;
11756#line 761
11757  __cil_tmp42 = __cil_tmp41 + __cil_tmp40;
11758#line 761
11759  __cil_tmp43 = __cil_tmp42 & __cil_tmp36;
11760#line 761
11761  __cil_tmp44 = eni_vcc->rx_pos;
11762#line 761
11763  if (__cil_tmp44 < __cil_tmp43) {
11764    {
11765#line 761
11766    __cil_tmp45 = (void const volatile   *)vci_dsc;
11767#line 761
11768    __cil_tmp46 = __cil_tmp45 + 4U;
11769#line 761
11770    tmp = readl(__cil_tmp46);
11771    }
11772    {
11773#line 761
11774    __cil_tmp47 = eni_vcc->rx_pos;
11775#line 761
11776    __cil_tmp48 = (unsigned long )tmp;
11777#line 761
11778    __cil_tmp49 = __cil_tmp48 & 32767UL;
11779#line 761
11780    if (__cil_tmp49 >= __cil_tmp47) {
11781      {
11782#line 761
11783      __cil_tmp50 = (void const volatile   *)vci_dsc;
11784#line 761
11785      __cil_tmp51 = __cil_tmp50 + 4U;
11786#line 761
11787      tmp___0 = readl(__cil_tmp51);
11788      }
11789      {
11790#line 761
11791      __cil_tmp52 = eni_vcc->words;
11792#line 761
11793      __cil_tmp53 = __cil_tmp52 - 1UL;
11794#line 761
11795      __cil_tmp54 = & skb->cb;
11796#line 761
11797      __cil_tmp55 = (struct eni_skb_prv *)__cil_tmp54;
11798#line 761
11799      __cil_tmp56 = __cil_tmp55->size;
11800#line 761
11801      __cil_tmp57 = (unsigned long )__cil_tmp56;
11802#line 761
11803      __cil_tmp58 = eni_vcc->rx_pos;
11804#line 761
11805      __cil_tmp59 = __cil_tmp58 + __cil_tmp57;
11806#line 761
11807      __cil_tmp60 = __cil_tmp59 & __cil_tmp53;
11808#line 761
11809      __cil_tmp61 = (unsigned long )tmp___0;
11810#line 761
11811      __cil_tmp62 = __cil_tmp61 & 32767UL;
11812#line 761
11813      if (__cil_tmp62 < __cil_tmp60) {
11814#line 761
11815        tmp___1 = 1;
11816      } else {
11817#line 761
11818        tmp___1 = 0;
11819      }
11820      }
11821    } else {
11822#line 761
11823      tmp___1 = 0;
11824    }
11825    }
11826#line 761
11827    tmp___5 = tmp___1;
11828  } else {
11829    {
11830#line 761
11831    __cil_tmp63 = (void const volatile   *)vci_dsc;
11832#line 761
11833    __cil_tmp64 = __cil_tmp63 + 4U;
11834#line 761
11835    tmp___2 = readl(__cil_tmp64);
11836    }
11837    {
11838#line 761
11839    __cil_tmp65 = eni_vcc->rx_pos;
11840#line 761
11841    __cil_tmp66 = (unsigned long )tmp___2;
11842#line 761
11843    __cil_tmp67 = __cil_tmp66 & 32767UL;
11844#line 761
11845    if (__cil_tmp67 >= __cil_tmp65) {
11846#line 761
11847      tmp___4 = 1;
11848    } else {
11849      {
11850#line 761
11851      __cil_tmp68 = (void const volatile   *)vci_dsc;
11852#line 761
11853      __cil_tmp69 = __cil_tmp68 + 4U;
11854#line 761
11855      tmp___3 = readl(__cil_tmp69);
11856      }
11857      {
11858#line 761
11859      __cil_tmp70 = eni_vcc->words;
11860#line 761
11861      __cil_tmp71 = __cil_tmp70 - 1UL;
11862#line 761
11863      __cil_tmp72 = & skb->cb;
11864#line 761
11865      __cil_tmp73 = (struct eni_skb_prv *)__cil_tmp72;
11866#line 761
11867      __cil_tmp74 = __cil_tmp73->size;
11868#line 761
11869      __cil_tmp75 = (unsigned long )__cil_tmp74;
11870#line 761
11871      __cil_tmp76 = eni_vcc->rx_pos;
11872#line 761
11873      __cil_tmp77 = __cil_tmp76 + __cil_tmp75;
11874#line 761
11875      __cil_tmp78 = __cil_tmp77 & __cil_tmp71;
11876#line 761
11877      __cil_tmp79 = (unsigned long )tmp___3;
11878#line 761
11879      __cil_tmp80 = __cil_tmp79 & 32767UL;
11880#line 761
11881      if (__cil_tmp80 < __cil_tmp78) {
11882#line 761
11883        tmp___4 = 1;
11884      } else {
11885#line 761
11886        tmp___4 = 0;
11887      }
11888      }
11889    }
11890    }
11891#line 761
11892    tmp___5 = tmp___4;
11893  }
11894  }
11895#line 761
11896  if (tmp___5) {
11897    {
11898#line 764
11899    EVENT("requeuing\n", 0UL, 0UL);
11900#line 765
11901    __cil_tmp81 = & eni_dev->rx_queue;
11902#line 765
11903    skb_queue_head(__cil_tmp81, skb);
11904    }
11905#line 766
11906    goto ldv_40237;
11907  } else {
11908
11909  }
11910  {
11911#line 768
11912  __cil_tmp82 = eni_vcc->rxing;
11913#line 768
11914  eni_vcc->rxing = __cil_tmp82 - 1;
11915#line 769
11916  __cil_tmp83 = eni_vcc->words;
11917#line 769
11918  __cil_tmp84 = __cil_tmp83 - 1UL;
11919#line 769
11920  __cil_tmp85 = & skb->cb;
11921#line 769
11922  __cil_tmp86 = (struct eni_skb_prv *)__cil_tmp85;
11923#line 769
11924  __cil_tmp87 = __cil_tmp86->pos;
11925#line 769
11926  eni_vcc->rx_pos = __cil_tmp87 & __cil_tmp84;
11927#line 770
11928  __cil_tmp88 = eni_dev->pci_dev;
11929#line 770
11930  __cil_tmp89 = & skb->cb;
11931#line 770
11932  __cil_tmp90 = (struct eni_skb_prv *)__cil_tmp89;
11933#line 770
11934  __cil_tmp91 = __cil_tmp90->paddr;
11935#line 770
11936  __cil_tmp92 = skb->len;
11937#line 770
11938  __cil_tmp93 = (size_t )__cil_tmp92;
11939#line 770
11940  pci_unmap_single(__cil_tmp88, __cil_tmp91, __cil_tmp93, 1);
11941  }
11942  {
11943#line 772
11944  __cil_tmp94 = skb->len;
11945#line 772
11946  if (__cil_tmp94 == 0U) {
11947    {
11948#line 772
11949    dev_kfree_skb_irq(skb);
11950    }
11951  } else {
11952    {
11953#line 774
11954    __cil_tmp95 = skb->len;
11955#line 774
11956    __cil_tmp96 = (unsigned long )__cil_tmp95;
11957#line 774
11958    EVENT("pushing (len=%ld)\n", __cil_tmp96, 0UL);
11959    }
11960    {
11961#line 775
11962    __cil_tmp97 = vcc->qos.aal;
11963#line 775
11964    __cil_tmp98 = (unsigned int )__cil_tmp97;
11965#line 775
11966    if (__cil_tmp98 == 13U) {
11967      {
11968#line 776
11969      __cil_tmp99 = skb->data;
11970#line 776
11971      __cil_tmp100 = (unsigned long *)__cil_tmp99;
11972#line 776
11973      __cil_tmp101 = *__cil_tmp100;
11974#line 776
11975      __cil_tmp102 = (unsigned int )__cil_tmp101;
11976#line 776
11977      tmp___6 = __fswab32(__cil_tmp102);
11978#line 776
11979      __cil_tmp103 = skb->data;
11980#line 776
11981      __cil_tmp104 = (unsigned long *)__cil_tmp103;
11982#line 776
11983      *__cil_tmp104 = (unsigned long )tmp___6;
11984      }
11985    } else {
11986
11987    }
11988    }
11989    {
11990#line 778
11991    __cil_tmp105 = & skb->cb;
11992#line 778
11993    __cil_tmp106 = (void *)__cil_tmp105;
11994#line 778
11995    memset(__cil_tmp106, 0, 40UL);
11996#line 779
11997    __cil_tmp107 = vcc->push;
11998#line 779
11999    (*__cil_tmp107)(vcc, skb);
12000#line 780
12001    pushed = pushed + 1;
12002    }
12003  }
12004  }
12005  {
12006#line 782
12007  __cil_tmp108 = vcc->stats;
12008#line 782
12009  __cil_tmp109 = & __cil_tmp108->rx;
12010#line 782
12011  atomic_inc(__cil_tmp109);
12012  }
12013#line 783
12014  goto ldv_40238;
12015  ldv_40237: 
12016  {
12017#line 784
12018  __cil_tmp110 = & eni_dev->rx_wait;
12019#line 784
12020  __cil_tmp111 = (void *)0;
12021#line 784
12022  __wake_up(__cil_tmp110, 3U, 1, __cil_tmp111);
12023  }
12024#line 785
12025  return;
12026}
12027}
12028#line 788 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
12029static int open_rx_first(struct atm_vcc *vcc ) 
12030{ struct eni_dev *eni_dev ;
12031  struct eni_vcc *eni_vcc ;
12032  unsigned long size ;
12033  struct atm_dev *__cil_tmp5 ;
12034  void *__cil_tmp6 ;
12035  void *__cil_tmp7 ;
12036  unsigned char __cil_tmp8 ;
12037  unsigned int __cil_tmp9 ;
12038  int __cil_tmp10 ;
12039  int __cil_tmp11 ;
12040  int __cil_tmp12 ;
12041  int __cil_tmp13 ;
12042  int __cil_tmp14 ;
12043  void *__cil_tmp15 ;
12044  unsigned long __cil_tmp16 ;
12045  void *__cil_tmp17 ;
12046  unsigned long __cil_tmp18 ;
12047  unsigned char __cil_tmp19 ;
12048  unsigned int __cil_tmp20 ;
12049
12050  {
12051#line 795
12052  __cil_tmp5 = vcc->dev;
12053#line 795
12054  __cil_tmp6 = __cil_tmp5->dev_data;
12055#line 795
12056  eni_dev = (struct eni_dev *)__cil_tmp6;
12057#line 796
12058  __cil_tmp7 = vcc->dev_data;
12059#line 796
12060  eni_vcc = (struct eni_vcc *)__cil_tmp7;
12061#line 797
12062  eni_vcc->rx = (int (*)(struct atm_vcc * ))0;
12063  {
12064#line 798
12065  __cil_tmp8 = vcc->qos.rxtp.traffic_class;
12066#line 798
12067  __cil_tmp9 = (unsigned int )__cil_tmp8;
12068#line 798
12069  if (__cil_tmp9 == 0U) {
12070#line 798
12071    return (0);
12072  } else {
12073
12074  }
12075  }
12076#line 799
12077  __cil_tmp10 = eni_dev->rx_mult;
12078#line 799
12079  __cil_tmp11 = vcc->qos.rxtp.max_sdu;
12080#line 799
12081  __cil_tmp12 = __cil_tmp11 * __cil_tmp10;
12082#line 799
12083  __cil_tmp13 = __cil_tmp12 / 100;
12084#line 799
12085  size = (unsigned long )__cil_tmp13;
12086#line 800
12087  if (size > 131072UL) {
12088    {
12089#line 800
12090    __cil_tmp14 = vcc->qos.rxtp.max_sdu;
12091#line 800
12092    if (__cil_tmp14 <= 131072) {
12093#line 802
12094      size = 131072UL;
12095    } else {
12096
12097    }
12098    }
12099  } else {
12100
12101  }
12102  {
12103#line 803
12104  eni_vcc->recv = eni_alloc_mem(eni_dev, & size);
12105#line 805
12106  eni_vcc->words = size >> 2;
12107  }
12108  {
12109#line 806
12110  __cil_tmp15 = (void *)0;
12111#line 806
12112  __cil_tmp16 = (unsigned long )__cil_tmp15;
12113#line 806
12114  __cil_tmp17 = eni_vcc->recv;
12115#line 806
12116  __cil_tmp18 = (unsigned long )__cil_tmp17;
12117#line 806
12118  if (__cil_tmp18 == __cil_tmp16) {
12119#line 806
12120    return (-105);
12121  } else {
12122
12123  }
12124  }
12125  {
12126#line 807
12127  __cil_tmp19 = vcc->qos.aal;
12128#line 807
12129  __cil_tmp20 = (unsigned int )__cil_tmp19;
12130#line 807
12131  if (__cil_tmp20 == 5U) {
12132#line 807
12133    eni_vcc->rx = & rx_aal5;
12134  } else {
12135#line 807
12136    eni_vcc->rx = & rx_aal0;
12137  }
12138  }
12139#line 808
12140  eni_vcc->descr = 0UL;
12141#line 809
12142  eni_vcc->rx_pos = 0UL;
12143#line 810
12144  eni_vcc->rxing = 0;
12145#line 811
12146  eni_vcc->servicing = 0;
12147#line 812
12148  eni_vcc->next = (struct atm_vcc *)1;
12149#line 813
12150  return (0);
12151}
12152}
12153#line 817 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
12154static int open_rx_second(struct atm_vcc *vcc ) 
12155{ void *here ;
12156  struct eni_dev *eni_dev ;
12157  struct eni_vcc *eni_vcc ;
12158  unsigned long size ;
12159  int order ;
12160  int tmp ;
12161  struct atm_dev *__cil_tmp8 ;
12162  void *__cil_tmp9 ;
12163  void *__cil_tmp10 ;
12164  int (*__cil_tmp11)(struct atm_vcc * ) ;
12165  unsigned long __cil_tmp12 ;
12166  int (*__cil_tmp13)(struct atm_vcc * ) ;
12167  unsigned long __cil_tmp14 ;
12168  int __cil_tmp15 ;
12169  int __cil_tmp16 ;
12170  unsigned long __cil_tmp17 ;
12171  void *__cil_tmp18 ;
12172  unsigned long __cil_tmp19 ;
12173  void volatile   *__cil_tmp20 ;
12174  void volatile   *__cil_tmp21 ;
12175  void volatile   *__cil_tmp22 ;
12176  void volatile   *__cil_tmp23 ;
12177  struct atm_vcc *__cil_tmp24 ;
12178  unsigned long __cil_tmp25 ;
12179  int __cil_tmp26 ;
12180  unsigned long __cil_tmp27 ;
12181  struct atm_vcc **__cil_tmp28 ;
12182  struct atm_vcc **__cil_tmp29 ;
12183  struct atm_vcc *__cil_tmp30 ;
12184  unsigned long __cil_tmp31 ;
12185  struct atm_dev *__cil_tmp32 ;
12186  int __cil_tmp33 ;
12187  int __cil_tmp34 ;
12188  int __cil_tmp35 ;
12189  unsigned long __cil_tmp36 ;
12190  struct atm_vcc **__cil_tmp37 ;
12191  struct atm_vcc **__cil_tmp38 ;
12192  unsigned char __cil_tmp39 ;
12193  unsigned int __cil_tmp40 ;
12194  int __cil_tmp41 ;
12195  void *__cil_tmp42 ;
12196  long __cil_tmp43 ;
12197  void *__cil_tmp44 ;
12198  long __cil_tmp45 ;
12199  long __cil_tmp46 ;
12200  long __cil_tmp47 ;
12201  long __cil_tmp48 ;
12202  int __cil_tmp49 ;
12203  int __cil_tmp50 ;
12204  int __cil_tmp51 ;
12205  unsigned int __cil_tmp52 ;
12206  void volatile   *__cil_tmp53 ;
12207
12208  {
12209#line 826
12210  __cil_tmp8 = vcc->dev;
12211#line 826
12212  __cil_tmp9 = __cil_tmp8->dev_data;
12213#line 826
12214  eni_dev = (struct eni_dev *)__cil_tmp9;
12215#line 827
12216  __cil_tmp10 = vcc->dev_data;
12217#line 827
12218  eni_vcc = (struct eni_vcc *)__cil_tmp10;
12219  {
12220#line 828
12221  __cil_tmp11 = (int (*)(struct atm_vcc * ))0;
12222#line 828
12223  __cil_tmp12 = (unsigned long )__cil_tmp11;
12224#line 828
12225  __cil_tmp13 = eni_vcc->rx;
12226#line 828
12227  __cil_tmp14 = (unsigned long )__cil_tmp13;
12228#line 828
12229  if (__cil_tmp14 == __cil_tmp12) {
12230#line 828
12231    return (0);
12232  } else {
12233
12234  }
12235  }
12236#line 830
12237  __cil_tmp15 = vcc->vci;
12238#line 830
12239  __cil_tmp16 = __cil_tmp15 * 16;
12240#line 830
12241  __cil_tmp17 = (unsigned long )__cil_tmp16;
12242#line 830
12243  __cil_tmp18 = eni_dev->vci;
12244#line 830
12245  here = __cil_tmp18 + __cil_tmp17;
12246#line 832
12247  __cil_tmp19 = eni_vcc->words;
12248#line 832
12249  size = __cil_tmp19 >> 8;
12250#line 833
12251  order = -1;
12252#line 833
12253  goto ldv_40254;
12254  ldv_40253: 
12255#line 833
12256  size = size >> 1;
12257#line 833
12258  order = order + 1;
12259  ldv_40254: ;
12260#line 833
12261  if (size != 0UL) {
12262#line 834
12263    goto ldv_40253;
12264  } else {
12265#line 836
12266    goto ldv_40255;
12267  }
12268  ldv_40255: 
12269  {
12270#line 834
12271  __cil_tmp20 = (void volatile   *)here;
12272#line 834
12273  __cil_tmp21 = __cil_tmp20 + 4U;
12274#line 834
12275  writel(0U, __cil_tmp21);
12276#line 835
12277  __cil_tmp22 = (void volatile   *)here;
12278#line 835
12279  __cil_tmp23 = __cil_tmp22 + 8U;
12280#line 835
12281  writel(0U, __cil_tmp23);
12282  }
12283  {
12284#line 836
12285  __cil_tmp24 = (struct atm_vcc *)0;
12286#line 836
12287  __cil_tmp25 = (unsigned long )__cil_tmp24;
12288#line 836
12289  __cil_tmp26 = vcc->vci;
12290#line 836
12291  __cil_tmp27 = (unsigned long )__cil_tmp26;
12292#line 836
12293  __cil_tmp28 = eni_dev->rx_map;
12294#line 836
12295  __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
12296#line 836
12297  __cil_tmp30 = *__cil_tmp29;
12298#line 836
12299  __cil_tmp31 = (unsigned long )__cil_tmp30;
12300#line 836
12301  if (__cil_tmp31 != __cil_tmp25) {
12302    {
12303#line 837
12304    __cil_tmp32 = vcc->dev;
12305#line 837
12306    __cil_tmp33 = __cil_tmp32->number;
12307#line 837
12308    __cil_tmp34 = vcc->vci;
12309#line 837
12310    printk("<2>eni(itf %d): BUG - VCI %d already in use\n", __cil_tmp33, __cil_tmp34);
12311    }
12312  } else {
12313
12314  }
12315  }
12316#line 839
12317  __cil_tmp35 = vcc->vci;
12318#line 839
12319  __cil_tmp36 = (unsigned long )__cil_tmp35;
12320#line 839
12321  __cil_tmp37 = eni_dev->rx_map;
12322#line 839
12323  __cil_tmp38 = __cil_tmp37 + __cil_tmp36;
12324#line 839
12325  *__cil_tmp38 = vcc;
12326  {
12327#line 840
12328  __cil_tmp39 = vcc->qos.aal;
12329#line 840
12330  __cil_tmp40 = (unsigned int )__cil_tmp39;
12331#line 840
12332  if (__cil_tmp40 != 5U) {
12333#line 840
12334    tmp = 1610612736;
12335  } else {
12336#line 840
12337    tmp = -1610612736;
12338  }
12339  }
12340  {
12341#line 840
12342  __cil_tmp41 = order << 15;
12343#line 840
12344  __cil_tmp42 = eni_dev->ram;
12345#line 840
12346  __cil_tmp43 = (long )__cil_tmp42;
12347#line 840
12348  __cil_tmp44 = eni_vcc->recv;
12349#line 840
12350  __cil_tmp45 = (long )__cil_tmp44;
12351#line 840
12352  __cil_tmp46 = __cil_tmp45 - __cil_tmp43;
12353#line 840
12354  __cil_tmp47 = __cil_tmp46 >> 10;
12355#line 840
12356  __cil_tmp48 = __cil_tmp47 << 18;
12357#line 840
12358  __cil_tmp49 = (int )__cil_tmp48;
12359#line 840
12360  __cil_tmp50 = tmp | __cil_tmp49;
12361#line 840
12362  __cil_tmp51 = __cil_tmp50 | __cil_tmp41;
12363#line 840
12364  __cil_tmp52 = (unsigned int )__cil_tmp51;
12365#line 840
12366  __cil_tmp53 = (void volatile   *)here;
12367#line 840
12368  writel(__cil_tmp52, __cil_tmp53);
12369  }
12370#line 844
12371  return (0);
12372}
12373}
12374#line 848 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
12375static void close_rx(struct atm_vcc *vcc ) 
12376{ wait_queue_t wait ;
12377  struct task_struct *tmp ;
12378  void *here ;
12379  struct eni_dev *eni_dev ;
12380  struct eni_vcc *eni_vcc ;
12381  unsigned int tmp___0 ;
12382  unsigned int tmp___1 ;
12383  long volatile   __x ;
12384  u8 volatile   *__ptr ;
12385  struct task_struct *tmp___2 ;
12386  u16 volatile   *__ptr___0 ;
12387  struct task_struct *tmp___3 ;
12388  u32 volatile   *__ptr___1 ;
12389  struct task_struct *tmp___4 ;
12390  u64 volatile   *__ptr___2 ;
12391  struct task_struct *tmp___5 ;
12392  long volatile   __x___0 ;
12393  u8 volatile   *__ptr___3 ;
12394  struct task_struct *tmp___6 ;
12395  u16 volatile   *__ptr___4 ;
12396  struct task_struct *tmp___7 ;
12397  u32 volatile   *__ptr___5 ;
12398  struct task_struct *tmp___8 ;
12399  u64 volatile   *__ptr___6 ;
12400  struct task_struct *tmp___9 ;
12401  int at_end ;
12402  u32 tmp___10 ;
12403  unsigned int tmp___11 ;
12404  long volatile   __x___1 ;
12405  u8 volatile   *__ptr___7 ;
12406  struct task_struct *tmp___12 ;
12407  u16 volatile   *__ptr___8 ;
12408  struct task_struct *tmp___13 ;
12409  u32 volatile   *__ptr___9 ;
12410  struct task_struct *tmp___14 ;
12411  u64 volatile   *__ptr___10 ;
12412  struct task_struct *tmp___15 ;
12413  long volatile   __x___2 ;
12414  u8 volatile   *__ptr___11 ;
12415  struct task_struct *tmp___16 ;
12416  u16 volatile   *__ptr___12 ;
12417  struct task_struct *tmp___17 ;
12418  u32 volatile   *__ptr___13 ;
12419  struct task_struct *tmp___18 ;
12420  u64 volatile   *__ptr___14 ;
12421  struct task_struct *tmp___19 ;
12422  void *__cil_tmp48 ;
12423  int (*__cil_tmp49)(struct atm_vcc * ) ;
12424  unsigned long __cil_tmp50 ;
12425  int (*__cil_tmp51)(struct atm_vcc * ) ;
12426  unsigned long __cil_tmp52 ;
12427  struct atm_dev *__cil_tmp53 ;
12428  void *__cil_tmp54 ;
12429  short __cil_tmp55 ;
12430  int __cil_tmp56 ;
12431  int __cil_tmp57 ;
12432  int __cil_tmp58 ;
12433  int __cil_tmp59 ;
12434  unsigned long __cil_tmp60 ;
12435  void *__cil_tmp61 ;
12436  void const volatile   *__cil_tmp62 ;
12437  unsigned int __cil_tmp63 ;
12438  void volatile   *__cil_tmp64 ;
12439  void const volatile   *__cil_tmp65 ;
12440  unsigned int __cil_tmp66 ;
12441  void volatile   *__cil_tmp67 ;
12442  int __cil_tmp68 ;
12443  unsigned long __cil_tmp69 ;
12444  struct atm_vcc **__cil_tmp70 ;
12445  struct atm_vcc **__cil_tmp71 ;
12446  wait_queue_head_t *__cil_tmp72 ;
12447  long volatile   *__cil_tmp73 ;
12448  long volatile   *__cil_tmp74 ;
12449  long volatile   *__cil_tmp75 ;
12450  long volatile   *__cil_tmp76 ;
12451  int __cil_tmp77 ;
12452  int __cil_tmp78 ;
12453  int __cil_tmp79 ;
12454  unsigned long __cil_tmp80 ;
12455  int __cil_tmp81 ;
12456  unsigned long __cil_tmp82 ;
12457  int __cil_tmp83 ;
12458  int __cil_tmp84 ;
12459  long volatile   *__cil_tmp85 ;
12460  long volatile   *__cil_tmp86 ;
12461  long volatile   *__cil_tmp87 ;
12462  long volatile   *__cil_tmp88 ;
12463  struct tasklet_struct *__cil_tmp89 ;
12464  int __cil_tmp90 ;
12465  int __cil_tmp91 ;
12466  unsigned long __cil_tmp92 ;
12467  unsigned long __cil_tmp93 ;
12468  void *__cil_tmp94 ;
12469  void *__cil_tmp95 ;
12470  void const volatile   *__cil_tmp96 ;
12471  unsigned long __cil_tmp97 ;
12472  unsigned long __cil_tmp98 ;
12473  struct tasklet_struct *__cil_tmp99 ;
12474  unsigned long __cil_tmp100 ;
12475  unsigned long __cil_tmp101 ;
12476  unsigned long __cil_tmp102 ;
12477  long volatile   *__cil_tmp103 ;
12478  long volatile   *__cil_tmp104 ;
12479  long volatile   *__cil_tmp105 ;
12480  long volatile   *__cil_tmp106 ;
12481  long volatile   *__cil_tmp107 ;
12482  long volatile   *__cil_tmp108 ;
12483  long volatile   *__cil_tmp109 ;
12484  long volatile   *__cil_tmp110 ;
12485  wait_queue_head_t *__cil_tmp111 ;
12486  void *__cil_tmp112 ;
12487  unsigned long __cil_tmp113 ;
12488  unsigned long __cil_tmp114 ;
12489
12490  {
12491  {
12492#line 850
12493  tmp = get_current();
12494#line 850
12495  wait.flags = 0U;
12496#line 850
12497  wait.private = (void *)tmp;
12498#line 850
12499  wait.func = & default_wake_function;
12500#line 850
12501  wait.task_list.next = (struct list_head *)0;
12502#line 850
12503  wait.task_list.prev = (struct list_head *)0;
12504#line 855
12505  __cil_tmp48 = vcc->dev_data;
12506#line 855
12507  eni_vcc = (struct eni_vcc *)__cil_tmp48;
12508  }
12509  {
12510#line 856
12511  __cil_tmp49 = (int (*)(struct atm_vcc * ))0;
12512#line 856
12513  __cil_tmp50 = (unsigned long )__cil_tmp49;
12514#line 856
12515  __cil_tmp51 = eni_vcc->rx;
12516#line 856
12517  __cil_tmp52 = (unsigned long )__cil_tmp51;
12518#line 856
12519  if (__cil_tmp52 == __cil_tmp50) {
12520#line 856
12521    return;
12522  } else {
12523
12524  }
12525  }
12526#line 857
12527  __cil_tmp53 = vcc->dev;
12528#line 857
12529  __cil_tmp54 = __cil_tmp53->dev_data;
12530#line 857
12531  eni_dev = (struct eni_dev *)__cil_tmp54;
12532  {
12533#line 858
12534  __cil_tmp55 = vcc->vpi;
12535#line 858
12536  __cil_tmp56 = (int )__cil_tmp55;
12537#line 858
12538  if (__cil_tmp56 != -2) {
12539    {
12540#line 858
12541    __cil_tmp57 = vcc->vci;
12542#line 858
12543    if (__cil_tmp57 != -2) {
12544      {
12545#line 859
12546      __cil_tmp58 = vcc->vci;
12547#line 859
12548      __cil_tmp59 = __cil_tmp58 * 16;
12549#line 859
12550      __cil_tmp60 = (unsigned long )__cil_tmp59;
12551#line 859
12552      __cil_tmp61 = eni_dev->vci;
12553#line 859
12554      here = __cil_tmp61 + __cil_tmp60;
12555#line 861
12556      __cil_tmp62 = (void const volatile   *)here;
12557#line 861
12558      tmp___0 = readl(__cil_tmp62);
12559#line 861
12560      __cil_tmp63 = tmp___0 & 1073741823U;
12561#line 861
12562      __cil_tmp64 = (void volatile   *)here;
12563#line 861
12564      writel(__cil_tmp63, __cil_tmp64);
12565#line 864
12566      __const_udelay(115965UL);
12567#line 866
12568      __cil_tmp65 = (void const volatile   *)here;
12569#line 866
12570      tmp___1 = readl(__cil_tmp65);
12571#line 866
12572      __cil_tmp66 = tmp___1 & 4294967294U;
12573#line 866
12574      __cil_tmp67 = (void volatile   *)here;
12575#line 866
12576      writel(__cil_tmp66, __cil_tmp67);
12577#line 868
12578      __cil_tmp68 = vcc->vci;
12579#line 868
12580      __cil_tmp69 = (unsigned long )__cil_tmp68;
12581#line 868
12582      __cil_tmp70 = eni_dev->rx_map;
12583#line 868
12584      __cil_tmp71 = __cil_tmp70 + __cil_tmp69;
12585#line 868
12586      *__cil_tmp71 = (struct atm_vcc *)0;
12587#line 871
12588      EVENT("RX closing\n", 0UL, 0UL);
12589#line 872
12590      __cil_tmp72 = & eni_dev->rx_wait;
12591#line 872
12592      add_wait_queue(__cil_tmp72, & wait);
12593#line 873
12594      __x = (long volatile   )2L;
12595      }
12596#line 873
12597      if (1) {
12598#line 873
12599        goto case_8;
12600      } else {
12601#line 873
12602        goto switch_default;
12603#line 873
12604        if (0) {
12605          {
12606#line 873
12607          tmp___2 = get_current();
12608#line 873
12609          __cil_tmp73 = & tmp___2->state;
12610#line 873
12611          __ptr = (u8 volatile   *)__cil_tmp73;
12612#line 873
12613          __asm__  volatile   ("xchgb %0,%1": "=q" (__x), "+m" (*__ptr): "0" (__x): "memory");
12614          }
12615#line 873
12616          goto ldv_40266;
12617          {
12618#line 873
12619          tmp___3 = get_current();
12620#line 873
12621          __cil_tmp74 = & tmp___3->state;
12622#line 873
12623          __ptr___0 = (u16 volatile   *)__cil_tmp74;
12624#line 873
12625          __asm__  volatile   ("xchgw %0,%1": "=r" (__x), "+m" (*__ptr___0): "0" (__x): "memory");
12626          }
12627#line 873
12628          goto ldv_40266;
12629          {
12630#line 873
12631          tmp___4 = get_current();
12632#line 873
12633          __cil_tmp75 = & tmp___4->state;
12634#line 873
12635          __ptr___1 = (u32 volatile   *)__cil_tmp75;
12636#line 873
12637          __asm__  volatile   ("xchgl %0,%1": "=r" (__x), "+m" (*__ptr___1): "0" (__x): "memory");
12638          }
12639#line 873
12640          goto ldv_40266;
12641          case_8: 
12642          {
12643#line 873
12644          tmp___5 = get_current();
12645#line 873
12646          __cil_tmp76 = & tmp___5->state;
12647#line 873
12648          __ptr___2 = (u64 volatile   *)__cil_tmp76;
12649#line 873
12650          __asm__  volatile   ("xchgq %0,%1": "=r" (__x), "+m" (*__ptr___2): "0" (__x): "memory");
12651          }
12652#line 873
12653          goto ldv_40266;
12654          switch_default: 
12655          {
12656#line 873
12657          __xchg_wrong_size();
12658          }
12659        } else {
12660
12661        }
12662      }
12663      ldv_40266: 
12664#line 874
12665      __asm__  volatile   ("": : : "memory");
12666      ldv_40288: ;
12667      {
12668#line 877
12669      __cil_tmp77 = eni_vcc->servicing;
12670#line 877
12671      if (__cil_tmp77 == 0) {
12672#line 878
12673        __asm__  volatile   ("": : : "memory");
12674        {
12675#line 879
12676        __cil_tmp78 = eni_vcc->rxing;
12677#line 879
12678        if (__cil_tmp78 == 0) {
12679#line 879
12680          goto ldv_40275;
12681        } else {
12682
12683        }
12684        }
12685      } else {
12686
12687      }
12688      }
12689      {
12690#line 881
12691      __cil_tmp79 = eni_vcc->rxing;
12692#line 881
12693      __cil_tmp80 = (unsigned long )__cil_tmp79;
12694#line 881
12695      __cil_tmp81 = eni_vcc->servicing;
12696#line 881
12697      __cil_tmp82 = (unsigned long )__cil_tmp81;
12698#line 881
12699      EVENT("drain PDUs (rx %ld, serv %ld)\n", __cil_tmp80, __cil_tmp82);
12700#line 883
12701      __cil_tmp83 = eni_vcc->servicing;
12702#line 883
12703      __cil_tmp84 = eni_vcc->rxing;
12704#line 883
12705      printk("<6>%d+%d RX left\n", __cil_tmp83, __cil_tmp84);
12706#line 885
12707      schedule();
12708#line 886
12709      __x___0 = (long volatile   )2L;
12710      }
12711#line 886
12712      if (1) {
12713#line 886
12714        goto case_8___0;
12715      } else {
12716#line 886
12717        goto switch_default___0;
12718#line 886
12719        if (0) {
12720          {
12721#line 886
12722          tmp___6 = get_current();
12723#line 886
12724          __cil_tmp85 = & tmp___6->state;
12725#line 886
12726          __ptr___3 = (u8 volatile   *)__cil_tmp85;
12727#line 886
12728          __asm__  volatile   ("xchgb %0,%1": "=q" (__x___0), "+m" (*__ptr___3): "0" (__x___0): "memory");
12729          }
12730#line 886
12731          goto ldv_40279;
12732          {
12733#line 886
12734          tmp___7 = get_current();
12735#line 886
12736          __cil_tmp86 = & tmp___7->state;
12737#line 886
12738          __ptr___4 = (u16 volatile   *)__cil_tmp86;
12739#line 886
12740          __asm__  volatile   ("xchgw %0,%1": "=r" (__x___0), "+m" (*__ptr___4): "0" (__x___0): "memory");
12741          }
12742#line 886
12743          goto ldv_40279;
12744          {
12745#line 886
12746          tmp___8 = get_current();
12747#line 886
12748          __cil_tmp87 = & tmp___8->state;
12749#line 886
12750          __ptr___5 = (u32 volatile   *)__cil_tmp87;
12751#line 886
12752          __asm__  volatile   ("xchgl %0,%1": "=r" (__x___0), "+m" (*__ptr___5): "0" (__x___0): "memory");
12753          }
12754#line 886
12755          goto ldv_40279;
12756          case_8___0: 
12757          {
12758#line 886
12759          tmp___9 = get_current();
12760#line 886
12761          __cil_tmp88 = & tmp___9->state;
12762#line 886
12763          __ptr___6 = (u64 volatile   *)__cil_tmp88;
12764#line 886
12765          __asm__  volatile   ("xchgq %0,%1": "=r" (__x___0), "+m" (*__ptr___6): "0" (__x___0): "memory");
12766          }
12767#line 886
12768          goto ldv_40279;
12769          switch_default___0: 
12770          {
12771#line 886
12772          __xchg_wrong_size();
12773          }
12774        } else {
12775
12776        }
12777      }
12778      ldv_40279: ;
12779#line 887
12780      goto ldv_40288;
12781      ldv_40275: ;
12782      ldv_40304: 
12783      {
12784#line 892
12785      __cil_tmp89 = & eni_dev->task;
12786#line 892
12787      tasklet_disable(__cil_tmp89);
12788#line 893
12789      __cil_tmp90 = vcc->vci;
12790#line 893
12791      __cil_tmp91 = __cil_tmp90 * 16;
12792#line 893
12793      __cil_tmp92 = (unsigned long )__cil_tmp91;
12794#line 893
12795      __cil_tmp93 = __cil_tmp92 + 4UL;
12796#line 893
12797      __cil_tmp94 = eni_dev->vci;
12798#line 893
12799      __cil_tmp95 = __cil_tmp94 + __cil_tmp93;
12800#line 893
12801      __cil_tmp96 = (void const volatile   *)__cil_tmp95;
12802#line 893
12803      tmp___11 = readl(__cil_tmp96);
12804#line 893
12805      tmp___10 = tmp___11 & 32767U;
12806#line 894
12807      __cil_tmp97 = (unsigned long )tmp___10;
12808#line 894
12809      __cil_tmp98 = eni_vcc->rx_pos;
12810#line 894
12811      at_end = __cil_tmp98 == __cil_tmp97;
12812#line 895
12813      __cil_tmp99 = & eni_dev->task;
12814#line 895
12815      tasklet_enable(__cil_tmp99);
12816      }
12817#line 896
12818      if (at_end != 0) {
12819#line 896
12820        goto ldv_40291;
12821      } else {
12822
12823      }
12824      {
12825#line 897
12826      __cil_tmp100 = eni_vcc->rx_pos;
12827#line 897
12828      __cil_tmp101 = (unsigned long )tmp___10;
12829#line 897
12830      EVENT("drain discard (host 0x%lx, nic 0x%lx)\n", __cil_tmp100, __cil_tmp101);
12831#line 899
12832      __cil_tmp102 = eni_vcc->rx_pos;
12833#line 899
12834      printk("<6>draining RX: host 0x%lx, nic 0x%x\n", __cil_tmp102, tmp___10);
12835#line 901
12836      schedule();
12837#line 902
12838      __x___1 = (long volatile   )2L;
12839      }
12840#line 902
12841      if (1) {
12842#line 902
12843        goto case_8___1;
12844      } else {
12845#line 902
12846        goto switch_default___1;
12847#line 902
12848        if (0) {
12849          {
12850#line 902
12851          tmp___12 = get_current();
12852#line 902
12853          __cil_tmp103 = & tmp___12->state;
12854#line 902
12855          __ptr___7 = (u8 volatile   *)__cil_tmp103;
12856#line 902
12857          __asm__  volatile   ("xchgb %0,%1": "=q" (__x___1), "+m" (*__ptr___7): "0" (__x___1): "memory");
12858          }
12859#line 902
12860          goto ldv_40295;
12861          {
12862#line 902
12863          tmp___13 = get_current();
12864#line 902
12865          __cil_tmp104 = & tmp___13->state;
12866#line 902
12867          __ptr___8 = (u16 volatile   *)__cil_tmp104;
12868#line 902
12869          __asm__  volatile   ("xchgw %0,%1": "=r" (__x___1), "+m" (*__ptr___8): "0" (__x___1): "memory");
12870          }
12871#line 902
12872          goto ldv_40295;
12873          {
12874#line 902
12875          tmp___14 = get_current();
12876#line 902
12877          __cil_tmp105 = & tmp___14->state;
12878#line 902
12879          __ptr___9 = (u32 volatile   *)__cil_tmp105;
12880#line 902
12881          __asm__  volatile   ("xchgl %0,%1": "=r" (__x___1), "+m" (*__ptr___9): "0" (__x___1): "memory");
12882          }
12883#line 902
12884          goto ldv_40295;
12885          case_8___1: 
12886          {
12887#line 902
12888          tmp___15 = get_current();
12889#line 902
12890          __cil_tmp106 = & tmp___15->state;
12891#line 902
12892          __ptr___10 = (u64 volatile   *)__cil_tmp106;
12893#line 902
12894          __asm__  volatile   ("xchgq %0,%1": "=r" (__x___1), "+m" (*__ptr___10): "0" (__x___1): "memory");
12895          }
12896#line 902
12897          goto ldv_40295;
12898          switch_default___1: 
12899          {
12900#line 902
12901          __xchg_wrong_size();
12902          }
12903        } else {
12904
12905        }
12906      }
12907      ldv_40295: ;
12908#line 903
12909      goto ldv_40304;
12910      ldv_40291: 
12911#line 904
12912      __x___2 = (long volatile   )0L;
12913#line 904
12914      if (1) {
12915#line 904
12916        goto case_8___2;
12917      } else {
12918#line 904
12919        goto switch_default___2;
12920#line 904
12921        if (0) {
12922          {
12923#line 904
12924          tmp___16 = get_current();
12925#line 904
12926          __cil_tmp107 = & tmp___16->state;
12927#line 904
12928          __ptr___11 = (u8 volatile   *)__cil_tmp107;
12929#line 904
12930          __asm__  volatile   ("xchgb %0,%1": "=q" (__x___2), "+m" (*__ptr___11): "0" (__x___2): "memory");
12931          }
12932#line 904
12933          goto ldv_40308;
12934          {
12935#line 904
12936          tmp___17 = get_current();
12937#line 904
12938          __cil_tmp108 = & tmp___17->state;
12939#line 904
12940          __ptr___12 = (u16 volatile   *)__cil_tmp108;
12941#line 904
12942          __asm__  volatile   ("xchgw %0,%1": "=r" (__x___2), "+m" (*__ptr___12): "0" (__x___2): "memory");
12943          }
12944#line 904
12945          goto ldv_40308;
12946          {
12947#line 904
12948          tmp___18 = get_current();
12949#line 904
12950          __cil_tmp109 = & tmp___18->state;
12951#line 904
12952          __ptr___13 = (u32 volatile   *)__cil_tmp109;
12953#line 904
12954          __asm__  volatile   ("xchgl %0,%1": "=r" (__x___2), "+m" (*__ptr___13): "0" (__x___2): "memory");
12955          }
12956#line 904
12957          goto ldv_40308;
12958          case_8___2: 
12959          {
12960#line 904
12961          tmp___19 = get_current();
12962#line 904
12963          __cil_tmp110 = & tmp___19->state;
12964#line 904
12965          __ptr___14 = (u64 volatile   *)__cil_tmp110;
12966#line 904
12967          __asm__  volatile   ("xchgq %0,%1": "=r" (__x___2), "+m" (*__ptr___14): "0" (__x___2): "memory");
12968          }
12969#line 904
12970          goto ldv_40308;
12971          switch_default___2: 
12972          {
12973#line 904
12974          __xchg_wrong_size();
12975          }
12976        } else {
12977
12978        }
12979      }
12980      ldv_40308: 
12981      {
12982#line 905
12983      __cil_tmp111 = & eni_dev->rx_wait;
12984#line 905
12985      remove_wait_queue(__cil_tmp111, & wait);
12986      }
12987    } else {
12988
12989    }
12990    }
12991  } else {
12992
12993  }
12994  }
12995  {
12996#line 907
12997  __cil_tmp112 = eni_vcc->recv;
12998#line 907
12999  __cil_tmp113 = eni_vcc->words;
13000#line 907
13001  __cil_tmp114 = __cil_tmp113 << 2;
13002#line 907
13003  eni_free_mem(eni_dev, __cil_tmp112, __cil_tmp114);
13004#line 908
13005  eni_vcc->rx = (int (*)(struct atm_vcc * ))0;
13006  }
13007#line 909
13008  return;
13009}
13010}
13011#line 912 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
13012static int start_rx(struct atm_dev *dev ) 
13013{ struct eni_dev *eni_dev ;
13014  unsigned long tmp ;
13015  struct atm_vcc *tmp___0 ;
13016  struct atm_vcc *tmp___1 ;
13017  struct lock_class_key __key ;
13018  void *__cil_tmp7 ;
13019  struct atm_vcc **__cil_tmp8 ;
13020  unsigned long __cil_tmp9 ;
13021  struct atm_vcc **__cil_tmp10 ;
13022  unsigned long __cil_tmp11 ;
13023  int __cil_tmp12 ;
13024  struct eni_free *__cil_tmp13 ;
13025  unsigned long __cil_tmp14 ;
13026  wait_queue_head_t *__cil_tmp15 ;
13027  struct sk_buff_head *__cil_tmp16 ;
13028  void *__cil_tmp17 ;
13029  void const volatile   *__cil_tmp18 ;
13030  void const volatile   *__cil_tmp19 ;
13031  void *__cil_tmp20 ;
13032  void volatile   *__cil_tmp21 ;
13033  void volatile   *__cil_tmp22 ;
13034
13035  {
13036  {
13037#line 916
13038  __cil_tmp7 = dev->dev_data;
13039#line 916
13040  eni_dev = (struct eni_dev *)__cil_tmp7;
13041#line 917
13042  tmp = get_zeroed_page(208U);
13043#line 917
13044  eni_dev->rx_map = (struct atm_vcc **)tmp;
13045  }
13046  {
13047#line 918
13048  __cil_tmp8 = (struct atm_vcc **)0;
13049#line 918
13050  __cil_tmp9 = (unsigned long )__cil_tmp8;
13051#line 918
13052  __cil_tmp10 = eni_dev->rx_map;
13053#line 918
13054  __cil_tmp11 = (unsigned long )__cil_tmp10;
13055#line 918
13056  if (__cil_tmp11 == __cil_tmp9) {
13057    {
13058#line 919
13059    __cil_tmp12 = dev->number;
13060#line 919
13061    printk("<3>eni(itf %d): couldn\'t get free page\n", __cil_tmp12);
13062#line 921
13063    __cil_tmp13 = eni_dev->free_list;
13064#line 921
13065    __cil_tmp14 = (unsigned long )__cil_tmp13;
13066#line 921
13067    free_pages(__cil_tmp14, 0U);
13068    }
13069#line 922
13070    return (-12);
13071  } else {
13072
13073  }
13074  }
13075  {
13076#line 924
13077  eni_dev->rx_mult = 300;
13078#line 925
13079  tmp___0 = (struct atm_vcc *)0;
13080#line 925
13081  eni_dev->last_fast = tmp___0;
13082#line 925
13083  eni_dev->fast = tmp___0;
13084#line 926
13085  tmp___1 = (struct atm_vcc *)0;
13086#line 926
13087  eni_dev->last_slow = tmp___1;
13088#line 926
13089  eni_dev->slow = tmp___1;
13090#line 927
13091  __cil_tmp15 = & eni_dev->rx_wait;
13092#line 927
13093  __init_waitqueue_head(__cil_tmp15, & __key);
13094#line 928
13095  __cil_tmp16 = & eni_dev->rx_queue;
13096#line 928
13097  skb_queue_head_init(__cil_tmp16);
13098#line 929
13099  __cil_tmp17 = eni_dev->reg;
13100#line 929
13101  __cil_tmp18 = (void const volatile   *)__cil_tmp17;
13102#line 929
13103  __cil_tmp19 = __cil_tmp18 + 24U;
13104#line 929
13105  eni_dev->serv_read = readl(__cil_tmp19);
13106#line 930
13107  __cil_tmp20 = eni_dev->reg;
13108#line 930
13109  __cil_tmp21 = (void volatile   *)__cil_tmp20;
13110#line 930
13111  __cil_tmp22 = __cil_tmp21 + 32U;
13112#line 930
13113  writel(0U, __cil_tmp22);
13114  }
13115#line 931
13116  return (0);
13117}
13118}
13119#line 941 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
13120__inline static void put_dma(int chan , u32 *dma , int *j , dma_addr_t paddr , u32 size ) 
13121{ u32 init ;
13122  u32 words ;
13123  int tmp ;
13124  int tmp___0 ;
13125  int tmp___1 ;
13126  int tmp___2 ;
13127  int tmp___3 ;
13128  int tmp___4 ;
13129  int tmp___5 ;
13130  int tmp___6 ;
13131  int tmp___7 ;
13132  int tmp___8 ;
13133  int tmp___9 ;
13134  int tmp___10 ;
13135  int tmp___11 ;
13136  int tmp___12 ;
13137  int tmp___13 ;
13138  int tmp___14 ;
13139  unsigned long __cil_tmp24 ;
13140  unsigned long __cil_tmp25 ;
13141  unsigned long long __cil_tmp26 ;
13142  u32 __cil_tmp27 ;
13143  unsigned int __cil_tmp28 ;
13144  int __cil_tmp29 ;
13145  unsigned long __cil_tmp30 ;
13146  u32 *__cil_tmp31 ;
13147  int __cil_tmp32 ;
13148  u32 __cil_tmp33 ;
13149  u32 __cil_tmp34 ;
13150  unsigned int __cil_tmp35 ;
13151  int __cil_tmp36 ;
13152  unsigned long __cil_tmp37 ;
13153  u32 *__cil_tmp38 ;
13154  dma_addr_t __cil_tmp39 ;
13155  unsigned long long __cil_tmp40 ;
13156  unsigned long long __cil_tmp41 ;
13157  unsigned long long __cil_tmp42 ;
13158  u32 __cil_tmp43 ;
13159  int __cil_tmp44 ;
13160  unsigned long __cil_tmp45 ;
13161  u32 *__cil_tmp46 ;
13162  int __cil_tmp47 ;
13163  u32 __cil_tmp48 ;
13164  u32 __cil_tmp49 ;
13165  int __cil_tmp50 ;
13166  unsigned long __cil_tmp51 ;
13167  u32 *__cil_tmp52 ;
13168  u32 __cil_tmp53 ;
13169  dma_addr_t __cil_tmp54 ;
13170  unsigned int __cil_tmp55 ;
13171  int __cil_tmp56 ;
13172  unsigned long __cil_tmp57 ;
13173  u32 *__cil_tmp58 ;
13174  int __cil_tmp59 ;
13175  u32 __cil_tmp60 ;
13176  u32 __cil_tmp61 ;
13177  u32 __cil_tmp62 ;
13178  unsigned int __cil_tmp63 ;
13179  int __cil_tmp64 ;
13180  unsigned long __cil_tmp65 ;
13181  u32 *__cil_tmp66 ;
13182  unsigned int __cil_tmp67 ;
13183  unsigned int __cil_tmp68 ;
13184  dma_addr_t __cil_tmp69 ;
13185  unsigned int __cil_tmp70 ;
13186  int __cil_tmp71 ;
13187  unsigned long __cil_tmp72 ;
13188  u32 *__cil_tmp73 ;
13189  int __cil_tmp74 ;
13190  u32 __cil_tmp75 ;
13191  u32 __cil_tmp76 ;
13192  u32 __cil_tmp77 ;
13193  unsigned int __cil_tmp78 ;
13194  int __cil_tmp79 ;
13195  unsigned long __cil_tmp80 ;
13196  u32 *__cil_tmp81 ;
13197  unsigned int __cil_tmp82 ;
13198  unsigned int __cil_tmp83 ;
13199  dma_addr_t __cil_tmp84 ;
13200  unsigned int __cil_tmp85 ;
13201  int __cil_tmp86 ;
13202  unsigned long __cil_tmp87 ;
13203  u32 *__cil_tmp88 ;
13204  int __cil_tmp89 ;
13205  u32 __cil_tmp90 ;
13206  u32 __cil_tmp91 ;
13207  u32 __cil_tmp92 ;
13208  unsigned int __cil_tmp93 ;
13209  int __cil_tmp94 ;
13210  unsigned long __cil_tmp95 ;
13211  u32 *__cil_tmp96 ;
13212  unsigned int __cil_tmp97 ;
13213  unsigned int __cil_tmp98 ;
13214  dma_addr_t __cil_tmp99 ;
13215  unsigned int __cil_tmp100 ;
13216  int __cil_tmp101 ;
13217  unsigned long __cil_tmp102 ;
13218  u32 *__cil_tmp103 ;
13219  int __cil_tmp104 ;
13220  u32 __cil_tmp105 ;
13221  u32 __cil_tmp106 ;
13222  u32 __cil_tmp107 ;
13223  unsigned int __cil_tmp108 ;
13224  int __cil_tmp109 ;
13225  unsigned long __cil_tmp110 ;
13226  u32 *__cil_tmp111 ;
13227  unsigned int __cil_tmp112 ;
13228  unsigned int __cil_tmp113 ;
13229  dma_addr_t __cil_tmp114 ;
13230  int __cil_tmp115 ;
13231  unsigned long __cil_tmp116 ;
13232  u32 *__cil_tmp117 ;
13233  int __cil_tmp118 ;
13234  u32 __cil_tmp119 ;
13235  u32 __cil_tmp120 ;
13236  int __cil_tmp121 ;
13237  unsigned long __cil_tmp122 ;
13238  u32 *__cil_tmp123 ;
13239  u32 __cil_tmp124 ;
13240  dma_addr_t __cil_tmp125 ;
13241  int __cil_tmp126 ;
13242  unsigned long __cil_tmp127 ;
13243  u32 *__cil_tmp128 ;
13244  int __cil_tmp129 ;
13245  u32 __cil_tmp130 ;
13246  u32 __cil_tmp131 ;
13247  unsigned int __cil_tmp132 ;
13248  int __cil_tmp133 ;
13249  unsigned long __cil_tmp134 ;
13250  u32 *__cil_tmp135 ;
13251
13252  {
13253  {
13254#line 947
13255  __cil_tmp24 = (unsigned long )paddr;
13256#line 947
13257  __cil_tmp25 = (unsigned long )size;
13258#line 947
13259  EVENT("put_dma: 0x%lx+0x%lx\n", __cil_tmp24, __cil_tmp25);
13260  }
13261  {
13262#line 954
13263  __cil_tmp26 = paddr & 3ULL;
13264#line 954
13265  if (__cil_tmp26 != 0ULL) {
13266#line 955
13267    __cil_tmp27 = (u32 )paddr;
13268#line 955
13269    __cil_tmp28 = __cil_tmp27 & 3U;
13270#line 955
13271    init = 4U - __cil_tmp28;
13272#line 956
13273    if (init > size) {
13274#line 956
13275      init = size;
13276    } else
13277#line 956
13278    if (size <= 6U) {
13279#line 956
13280      init = size;
13281    } else {
13282
13283    }
13284#line 959
13285    tmp = *j;
13286#line 959
13287    __cil_tmp29 = *j;
13288#line 959
13289    *j = __cil_tmp29 + 1;
13290#line 959
13291    __cil_tmp30 = (unsigned long )tmp;
13292#line 959
13293    __cil_tmp31 = dma + __cil_tmp30;
13294#line 959
13295    __cil_tmp32 = chan << 6;
13296#line 959
13297    __cil_tmp33 = (u32 )__cil_tmp32;
13298#line 959
13299    __cil_tmp34 = init << 16;
13300#line 959
13301    __cil_tmp35 = __cil_tmp34 | __cil_tmp33;
13302#line 959
13303    *__cil_tmp31 = __cil_tmp35 | 1U;
13304#line 961
13305    tmp___0 = *j;
13306#line 961
13307    __cil_tmp36 = *j;
13308#line 961
13309    *j = __cil_tmp36 + 1;
13310#line 961
13311    __cil_tmp37 = (unsigned long )tmp___0;
13312#line 961
13313    __cil_tmp38 = dma + __cil_tmp37;
13314#line 961
13315    *__cil_tmp38 = (u32 )paddr;
13316#line 962
13317    __cil_tmp39 = (dma_addr_t )init;
13318#line 962
13319    paddr = __cil_tmp39 + paddr;
13320#line 963
13321    size = size - init;
13322  } else {
13323
13324  }
13325  }
13326#line 965
13327  words = size >> 2;
13328#line 966
13329  size = size & 3U;
13330#line 967
13331  if (words != 0U) {
13332    {
13333#line 967
13334    __cil_tmp40 = paddr & 31ULL;
13335#line 967
13336    if (__cil_tmp40 != 0ULL) {
13337#line 968
13338      __cil_tmp41 = paddr & 31ULL;
13339#line 968
13340      __cil_tmp42 = __cil_tmp41 >> 2;
13341#line 968
13342      __cil_tmp43 = (u32 )__cil_tmp42;
13343#line 968
13344      init = 8U - __cil_tmp43;
13345#line 969
13346      if (init > words) {
13347#line 969
13348        init = words;
13349      } else {
13350
13351      }
13352#line 972
13353      tmp___1 = *j;
13354#line 972
13355      __cil_tmp44 = *j;
13356#line 972
13357      *j = __cil_tmp44 + 1;
13358#line 972
13359      __cil_tmp45 = (unsigned long )tmp___1;
13360#line 972
13361      __cil_tmp46 = dma + __cil_tmp45;
13362#line 972
13363      __cil_tmp47 = chan << 6;
13364#line 972
13365      __cil_tmp48 = (u32 )__cil_tmp47;
13366#line 972
13367      __cil_tmp49 = init << 16;
13368#line 972
13369      *__cil_tmp46 = __cil_tmp49 | __cil_tmp48;
13370#line 974
13371      tmp___2 = *j;
13372#line 974
13373      __cil_tmp50 = *j;
13374#line 974
13375      *j = __cil_tmp50 + 1;
13376#line 974
13377      __cil_tmp51 = (unsigned long )tmp___2;
13378#line 974
13379      __cil_tmp52 = dma + __cil_tmp51;
13380#line 974
13381      *__cil_tmp52 = (u32 )paddr;
13382#line 975
13383      __cil_tmp53 = init << 2;
13384#line 975
13385      __cil_tmp54 = (dma_addr_t )__cil_tmp53;
13386#line 975
13387      paddr = __cil_tmp54 + paddr;
13388#line 976
13389      words = words - init;
13390    } else {
13391
13392    }
13393    }
13394  } else {
13395
13396  }
13397  {
13398#line 979
13399  __cil_tmp55 = words & 4294967280U;
13400#line 979
13401  if (__cil_tmp55 != 0U) {
13402#line 982
13403    tmp___3 = *j;
13404#line 982
13405    __cil_tmp56 = *j;
13406#line 982
13407    *j = __cil_tmp56 + 1;
13408#line 982
13409    __cil_tmp57 = (unsigned long )tmp___3;
13410#line 982
13411    __cil_tmp58 = dma + __cil_tmp57;
13412#line 982
13413    __cil_tmp59 = chan << 6;
13414#line 982
13415    __cil_tmp60 = (u32 )__cil_tmp59;
13416#line 982
13417    __cil_tmp61 = words >> 4;
13418#line 982
13419    __cil_tmp62 = __cil_tmp61 << 16;
13420#line 982
13421    __cil_tmp63 = __cil_tmp62 | __cil_tmp60;
13422#line 982
13423    *__cil_tmp58 = __cil_tmp63 | 6U;
13424#line 984
13425    tmp___4 = *j;
13426#line 984
13427    __cil_tmp64 = *j;
13428#line 984
13429    *j = __cil_tmp64 + 1;
13430#line 984
13431    __cil_tmp65 = (unsigned long )tmp___4;
13432#line 984
13433    __cil_tmp66 = dma + __cil_tmp65;
13434#line 984
13435    *__cil_tmp66 = (u32 )paddr;
13436#line 985
13437    __cil_tmp67 = words & 4294967280U;
13438#line 985
13439    __cil_tmp68 = __cil_tmp67 << 2;
13440#line 985
13441    __cil_tmp69 = (dma_addr_t )__cil_tmp68;
13442#line 985
13443    paddr = __cil_tmp69 + paddr;
13444#line 986
13445    words = words & 15U;
13446  } else {
13447
13448  }
13449  }
13450  {
13451#line 990
13452  __cil_tmp70 = words & 4294967288U;
13453#line 990
13454  if (__cil_tmp70 != 0U) {
13455#line 993
13456    tmp___5 = *j;
13457#line 993
13458    __cil_tmp71 = *j;
13459#line 993
13460    *j = __cil_tmp71 + 1;
13461#line 993
13462    __cil_tmp72 = (unsigned long )tmp___5;
13463#line 993
13464    __cil_tmp73 = dma + __cil_tmp72;
13465#line 993
13466    __cil_tmp74 = chan << 6;
13467#line 993
13468    __cil_tmp75 = (u32 )__cil_tmp74;
13469#line 993
13470    __cil_tmp76 = words >> 3;
13471#line 993
13472    __cil_tmp77 = __cil_tmp76 << 16;
13473#line 993
13474    __cil_tmp78 = __cil_tmp77 | __cil_tmp75;
13475#line 993
13476    *__cil_tmp73 = __cil_tmp78 | 5U;
13477#line 995
13478    tmp___6 = *j;
13479#line 995
13480    __cil_tmp79 = *j;
13481#line 995
13482    *j = __cil_tmp79 + 1;
13483#line 995
13484    __cil_tmp80 = (unsigned long )tmp___6;
13485#line 995
13486    __cil_tmp81 = dma + __cil_tmp80;
13487#line 995
13488    *__cil_tmp81 = (u32 )paddr;
13489#line 996
13490    __cil_tmp82 = words & 4294967288U;
13491#line 996
13492    __cil_tmp83 = __cil_tmp82 << 2;
13493#line 996
13494    __cil_tmp84 = (dma_addr_t )__cil_tmp83;
13495#line 996
13496    paddr = __cil_tmp84 + paddr;
13497#line 997
13498    words = words & 7U;
13499  } else {
13500
13501  }
13502  }
13503  {
13504#line 1001
13505  __cil_tmp85 = words & 4294967292U;
13506#line 1001
13507  if (__cil_tmp85 != 0U) {
13508#line 1004
13509    tmp___7 = *j;
13510#line 1004
13511    __cil_tmp86 = *j;
13512#line 1004
13513    *j = __cil_tmp86 + 1;
13514#line 1004
13515    __cil_tmp87 = (unsigned long )tmp___7;
13516#line 1004
13517    __cil_tmp88 = dma + __cil_tmp87;
13518#line 1004
13519    __cil_tmp89 = chan << 6;
13520#line 1004
13521    __cil_tmp90 = (u32 )__cil_tmp89;
13522#line 1004
13523    __cil_tmp91 = words >> 2;
13524#line 1004
13525    __cil_tmp92 = __cil_tmp91 << 16;
13526#line 1004
13527    __cil_tmp93 = __cil_tmp92 | __cil_tmp90;
13528#line 1004
13529    *__cil_tmp88 = __cil_tmp93 | 4U;
13530#line 1006
13531    tmp___8 = *j;
13532#line 1006
13533    __cil_tmp94 = *j;
13534#line 1006
13535    *j = __cil_tmp94 + 1;
13536#line 1006
13537    __cil_tmp95 = (unsigned long )tmp___8;
13538#line 1006
13539    __cil_tmp96 = dma + __cil_tmp95;
13540#line 1006
13541    *__cil_tmp96 = (u32 )paddr;
13542#line 1007
13543    __cil_tmp97 = words & 4294967292U;
13544#line 1007
13545    __cil_tmp98 = __cil_tmp97 << 2;
13546#line 1007
13547    __cil_tmp99 = (dma_addr_t )__cil_tmp98;
13548#line 1007
13549    paddr = __cil_tmp99 + paddr;
13550#line 1008
13551    words = words & 3U;
13552  } else {
13553
13554  }
13555  }
13556  {
13557#line 1012
13558  __cil_tmp100 = words & 4294967294U;
13559#line 1012
13560  if (__cil_tmp100 != 0U) {
13561#line 1015
13562    tmp___9 = *j;
13563#line 1015
13564    __cil_tmp101 = *j;
13565#line 1015
13566    *j = __cil_tmp101 + 1;
13567#line 1015
13568    __cil_tmp102 = (unsigned long )tmp___9;
13569#line 1015
13570    __cil_tmp103 = dma + __cil_tmp102;
13571#line 1015
13572    __cil_tmp104 = chan << 6;
13573#line 1015
13574    __cil_tmp105 = (u32 )__cil_tmp104;
13575#line 1015
13576    __cil_tmp106 = words >> 1;
13577#line 1015
13578    __cil_tmp107 = __cil_tmp106 << 16;
13579#line 1015
13580    __cil_tmp108 = __cil_tmp107 | __cil_tmp105;
13581#line 1015
13582    *__cil_tmp103 = __cil_tmp108 | 7U;
13583#line 1017
13584    tmp___10 = *j;
13585#line 1017
13586    __cil_tmp109 = *j;
13587#line 1017
13588    *j = __cil_tmp109 + 1;
13589#line 1017
13590    __cil_tmp110 = (unsigned long )tmp___10;
13591#line 1017
13592    __cil_tmp111 = dma + __cil_tmp110;
13593#line 1017
13594    *__cil_tmp111 = (u32 )paddr;
13595#line 1018
13596    __cil_tmp112 = words & 4294967294U;
13597#line 1018
13598    __cil_tmp113 = __cil_tmp112 << 2;
13599#line 1018
13600    __cil_tmp114 = (dma_addr_t )__cil_tmp113;
13601#line 1018
13602    paddr = __cil_tmp114 + paddr;
13603#line 1019
13604    words = words & 1U;
13605  } else {
13606
13607  }
13608  }
13609#line 1022
13610  if (words != 0U) {
13611#line 1025
13612    tmp___11 = *j;
13613#line 1025
13614    __cil_tmp115 = *j;
13615#line 1025
13616    *j = __cil_tmp115 + 1;
13617#line 1025
13618    __cil_tmp116 = (unsigned long )tmp___11;
13619#line 1025
13620    __cil_tmp117 = dma + __cil_tmp116;
13621#line 1025
13622    __cil_tmp118 = chan << 6;
13623#line 1025
13624    __cil_tmp119 = (u32 )__cil_tmp118;
13625#line 1025
13626    __cil_tmp120 = words << 16;
13627#line 1025
13628    *__cil_tmp117 = __cil_tmp120 | __cil_tmp119;
13629#line 1027
13630    tmp___12 = *j;
13631#line 1027
13632    __cil_tmp121 = *j;
13633#line 1027
13634    *j = __cil_tmp121 + 1;
13635#line 1027
13636    __cil_tmp122 = (unsigned long )tmp___12;
13637#line 1027
13638    __cil_tmp123 = dma + __cil_tmp122;
13639#line 1027
13640    *__cil_tmp123 = (u32 )paddr;
13641#line 1028
13642    __cil_tmp124 = words << 2;
13643#line 1028
13644    __cil_tmp125 = (dma_addr_t )__cil_tmp124;
13645#line 1028
13646    paddr = __cil_tmp125 + paddr;
13647  } else {
13648
13649  }
13650#line 1030
13651  if (size != 0U) {
13652#line 1033
13653    tmp___13 = *j;
13654#line 1033
13655    __cil_tmp126 = *j;
13656#line 1033
13657    *j = __cil_tmp126 + 1;
13658#line 1033
13659    __cil_tmp127 = (unsigned long )tmp___13;
13660#line 1033
13661    __cil_tmp128 = dma + __cil_tmp127;
13662#line 1033
13663    __cil_tmp129 = chan << 6;
13664#line 1033
13665    __cil_tmp130 = (u32 )__cil_tmp129;
13666#line 1033
13667    __cil_tmp131 = size << 16;
13668#line 1033
13669    __cil_tmp132 = __cil_tmp131 | __cil_tmp130;
13670#line 1033
13671    *__cil_tmp128 = __cil_tmp132 | 1U;
13672#line 1035
13673    tmp___14 = *j;
13674#line 1035
13675    __cil_tmp133 = *j;
13676#line 1035
13677    *j = __cil_tmp133 + 1;
13678#line 1035
13679    __cil_tmp134 = (unsigned long )tmp___14;
13680#line 1035
13681    __cil_tmp135 = dma + __cil_tmp134;
13682#line 1035
13683    *__cil_tmp135 = (u32 )paddr;
13684  } else {
13685
13686  }
13687#line 1037
13688  return;
13689}
13690}
13691#line 1040 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
13692static enum enq_res do_tx(struct sk_buff *skb ) 
13693{ struct atm_vcc *vcc ;
13694  struct eni_dev *eni_dev ;
13695  struct eni_vcc *eni_vcc ;
13696  struct eni_tx *tx ;
13697  dma_addr_t paddr ;
13698  u32 dma_rd ;
13699  u32 dma_wr ;
13700  u32 size ;
13701  int aal5 ;
13702  int dma_size ;
13703  int i ;
13704  int j ;
13705  unsigned int tmp ;
13706  unsigned int tmp___0 ;
13707  int tmp___1 ;
13708  unsigned int tmp___2 ;
13709  unsigned int tmp___3 ;
13710  int tmp___4 ;
13711  int tmp___5 ;
13712  unsigned char *tmp___6 ;
13713  unsigned char *tmp___7 ;
13714  int tmp___8 ;
13715  unsigned int tmp___9 ;
13716  unsigned char *tmp___10 ;
13717  unsigned char *tmp___11 ;
13718  unsigned char *tmp___12 ;
13719  unsigned char *tmp___13 ;
13720  unsigned char *tmp___14 ;
13721  int tmp___15 ;
13722  int tmp___16 ;
13723  int tmp___17 ;
13724  unsigned long __cil_tmp33 ;
13725  unsigned long __cil_tmp34 ;
13726  unsigned long __cil_tmp35 ;
13727  unsigned int __cil_tmp36 ;
13728  unsigned long __cil_tmp37 ;
13729  char (*__cil_tmp38)[48U] ;
13730  struct atm_skb_data *__cil_tmp39 ;
13731  unsigned long __cil_tmp40 ;
13732  unsigned long __cil_tmp41 ;
13733  struct atm_dev *__cil_tmp42 ;
13734  void *__cil_tmp43 ;
13735  unsigned long __cil_tmp44 ;
13736  unsigned long __cil_tmp45 ;
13737  void *__cil_tmp46 ;
13738  unsigned long __cil_tmp47 ;
13739  unsigned long __cil_tmp48 ;
13740  unsigned char __cil_tmp49 ;
13741  unsigned int __cil_tmp50 ;
13742  unsigned int __cil_tmp51 ;
13743  unsigned int __cil_tmp52 ;
13744  u32 __cil_tmp53 ;
13745  u32 __cil_tmp54 ;
13746  unsigned long __cil_tmp55 ;
13747  unsigned long __cil_tmp56 ;
13748  unsigned long __cil_tmp57 ;
13749  unsigned long __cil_tmp58 ;
13750  unsigned long __cil_tmp59 ;
13751  unsigned long __cil_tmp60 ;
13752  unsigned long __cil_tmp61 ;
13753  unsigned long __cil_tmp62 ;
13754  int __cil_tmp63 ;
13755  int __cil_tmp64 ;
13756  int __cil_tmp65 ;
13757  unsigned long __cil_tmp66 ;
13758  void *__cil_tmp67 ;
13759  void const volatile   *__cil_tmp68 ;
13760  void const volatile   *__cil_tmp69 ;
13761  unsigned long __cil_tmp70 ;
13762  unsigned long __cil_tmp71 ;
13763  int __cil_tmp72 ;
13764  int __cil_tmp73 ;
13765  int __cil_tmp74 ;
13766  unsigned long __cil_tmp75 ;
13767  void *__cil_tmp76 ;
13768  void const volatile   *__cil_tmp77 ;
13769  void const volatile   *__cil_tmp78 ;
13770  unsigned long __cil_tmp79 ;
13771  unsigned long __cil_tmp80 ;
13772  unsigned long __cil_tmp81 ;
13773  unsigned long __cil_tmp82 ;
13774  unsigned long __cil_tmp83 ;
13775  unsigned long __cil_tmp84 ;
13776  unsigned long __cil_tmp85 ;
13777  unsigned long __cil_tmp86 ;
13778  int __cil_tmp87 ;
13779  int __cil_tmp88 ;
13780  int __cil_tmp89 ;
13781  unsigned long __cil_tmp90 ;
13782  void *__cil_tmp91 ;
13783  void const volatile   *__cil_tmp92 ;
13784  void const volatile   *__cil_tmp93 ;
13785  unsigned long __cil_tmp94 ;
13786  unsigned long __cil_tmp95 ;
13787  int __cil_tmp96 ;
13788  int __cil_tmp97 ;
13789  int __cil_tmp98 ;
13790  unsigned long __cil_tmp99 ;
13791  void *__cil_tmp100 ;
13792  void const volatile   *__cil_tmp101 ;
13793  void const volatile   *__cil_tmp102 ;
13794  unsigned long __cil_tmp103 ;
13795  unsigned long __cil_tmp104 ;
13796  unsigned long __cil_tmp105 ;
13797  unsigned long __cil_tmp106 ;
13798  unsigned long __cil_tmp107 ;
13799  unsigned long __cil_tmp108 ;
13800  unsigned long __cil_tmp109 ;
13801  unsigned long __cil_tmp110 ;
13802  void *__cil_tmp111 ;
13803  void const volatile   *__cil_tmp112 ;
13804  void const volatile   *__cil_tmp113 ;
13805  void *__cil_tmp114 ;
13806  void const volatile   *__cil_tmp115 ;
13807  void const volatile   *__cil_tmp116 ;
13808  struct sk_buff  const  *__cil_tmp117 ;
13809  struct skb_shared_info *__cil_tmp118 ;
13810  unsigned short __cil_tmp119 ;
13811  unsigned int __cil_tmp120 ;
13812  struct sk_buff  const  *__cil_tmp121 ;
13813  struct skb_shared_info *__cil_tmp122 ;
13814  unsigned short __cil_tmp123 ;
13815  int __cil_tmp124 ;
13816  int __cil_tmp125 ;
13817  int __cil_tmp126 ;
13818  struct atm_dev *__cil_tmp127 ;
13819  int __cil_tmp128 ;
13820  u32 __cil_tmp129 ;
13821  u32 __cil_tmp130 ;
13822  unsigned int __cil_tmp131 ;
13823  struct atm_dev *__cil_tmp132 ;
13824  int __cil_tmp133 ;
13825  struct pci_dev *__cil_tmp134 ;
13826  unsigned char *__cil_tmp135 ;
13827  void *__cil_tmp136 ;
13828  unsigned int __cil_tmp137 ;
13829  size_t __cil_tmp138 ;
13830  char (*__cil_tmp139)[48U] ;
13831  struct eni_skb_prv *__cil_tmp140 ;
13832  int __cil_tmp141 ;
13833  int __cil_tmp142 ;
13834  u32 __cil_tmp143 ;
13835  unsigned long __cil_tmp144 ;
13836  u32 __cil_tmp145 ;
13837  u32 __cil_tmp146 ;
13838  unsigned long __cil_tmp147 ;
13839  u32 __cil_tmp148 ;
13840  u32 __cil_tmp149 ;
13841  unsigned int __cil_tmp150 ;
13842  unsigned int __cil_tmp151 ;
13843  unsigned int __cil_tmp152 ;
13844  struct sk_buff  const  *__cil_tmp153 ;
13845  struct skb_shared_info *__cil_tmp154 ;
13846  unsigned short __cil_tmp155 ;
13847  unsigned int __cil_tmp156 ;
13848  int __cil_tmp157 ;
13849  u32 (*__cil_tmp158)[200U] ;
13850  u32 *__cil_tmp159 ;
13851  unsigned int __cil_tmp160 ;
13852  int __cil_tmp161 ;
13853  u32 (*__cil_tmp162)[200U] ;
13854  u32 *__cil_tmp163 ;
13855  dma_addr_t __cil_tmp164 ;
13856  unsigned int __cil_tmp165 ;
13857  unsigned int __cil_tmp166 ;
13858  struct sk_buff  const  *__cil_tmp167 ;
13859  int __cil_tmp168 ;
13860  u32 (*__cil_tmp169)[200U] ;
13861  u32 *__cil_tmp170 ;
13862  unsigned char *__cil_tmp171 ;
13863  dma_addr_t __cil_tmp172 ;
13864  struct sk_buff  const  *__cil_tmp173 ;
13865  struct sk_buff  const  *__cil_tmp174 ;
13866  struct sk_buff  const  *__cil_tmp175 ;
13867  int __cil_tmp176 ;
13868  u32 (*__cil_tmp177)[200U] ;
13869  u32 *__cil_tmp178 ;
13870  struct skb_shared_info *__cil_tmp179 ;
13871  __u32 __cil_tmp180 ;
13872  unsigned long __cil_tmp181 ;
13873  struct skb_shared_info *__cil_tmp182 ;
13874  struct page *__cil_tmp183 ;
13875  unsigned long __cil_tmp184 ;
13876  unsigned long __cil_tmp185 ;
13877  dma_addr_t __cil_tmp186 ;
13878  struct skb_shared_info *__cil_tmp187 ;
13879  __u32 __cil_tmp188 ;
13880  struct sk_buff  const  *__cil_tmp189 ;
13881  struct skb_shared_info *__cil_tmp190 ;
13882  unsigned short __cil_tmp191 ;
13883  int __cil_tmp192 ;
13884  unsigned int __cil_tmp193 ;
13885  unsigned int __cil_tmp194 ;
13886  int __cil_tmp195 ;
13887  u32 (*__cil_tmp196)[200U] ;
13888  u32 *__cil_tmp197 ;
13889  unsigned int __cil_tmp198 ;
13890  unsigned int __cil_tmp199 ;
13891  unsigned int __cil_tmp200 ;
13892  int __cil_tmp201 ;
13893  int __cil_tmp202 ;
13894  u32 __cil_tmp203 ;
13895  unsigned long __cil_tmp204 ;
13896  u32 __cil_tmp205 ;
13897  u32 __cil_tmp206 ;
13898  unsigned long __cil_tmp207 ;
13899  u32 __cil_tmp208 ;
13900  u32 __cil_tmp209 ;
13901  unsigned int __cil_tmp210 ;
13902  unsigned int __cil_tmp211 ;
13903  unsigned int __cil_tmp212 ;
13904  u32 __cil_tmp213 ;
13905  int __cil_tmp214 ;
13906  int __cil_tmp215 ;
13907  int __cil_tmp216 ;
13908  int __cil_tmp217 ;
13909  int __cil_tmp218 ;
13910  int __cil_tmp219 ;
13911  u32 __cil_tmp220 ;
13912  unsigned int __cil_tmp221 ;
13913  unsigned long __cil_tmp222 ;
13914  unsigned long __cil_tmp223 ;
13915  void *__cil_tmp224 ;
13916  void *__cil_tmp225 ;
13917  void volatile   *__cil_tmp226 ;
13918  unsigned char *__cil_tmp227 ;
13919  unsigned char *__cil_tmp228 ;
13920  unsigned char __cil_tmp229 ;
13921  int __cil_tmp230 ;
13922  char (*__cil_tmp231)[48U] ;
13923  struct atm_skb_data *__cil_tmp232 ;
13924  unsigned long __cil_tmp233 ;
13925  int __cil_tmp234 ;
13926  int __cil_tmp235 ;
13927  int __cil_tmp236 ;
13928  int __cil_tmp237 ;
13929  int __cil_tmp238 ;
13930  int __cil_tmp239 ;
13931  unsigned int __cil_tmp240 ;
13932  unsigned long __cil_tmp241 ;
13933  unsigned long __cil_tmp242 ;
13934  unsigned long __cil_tmp243 ;
13935  unsigned long __cil_tmp244 ;
13936  unsigned long __cil_tmp245 ;
13937  unsigned long __cil_tmp246 ;
13938  void *__cil_tmp247 ;
13939  void *__cil_tmp248 ;
13940  void volatile   *__cil_tmp249 ;
13941  unsigned int __cil_tmp250 ;
13942  unsigned long __cil_tmp251 ;
13943  unsigned long __cil_tmp252 ;
13944  unsigned long __cil_tmp253 ;
13945  unsigned long __cil_tmp254 ;
13946  unsigned long __cil_tmp255 ;
13947  unsigned long __cil_tmp256 ;
13948  unsigned long __cil_tmp257 ;
13949  unsigned long __cil_tmp258 ;
13950  void *__cil_tmp259 ;
13951  void *__cil_tmp260 ;
13952  void volatile   *__cil_tmp261 ;
13953  u32 __cil_tmp262 ;
13954  u32 __cil_tmp263 ;
13955  unsigned long __cil_tmp264 ;
13956  void *__cil_tmp265 ;
13957  void volatile   *__cil_tmp266 ;
13958  void volatile   *__cil_tmp267 ;
13959  u32 __cil_tmp268 ;
13960  u32 __cil_tmp269 ;
13961  unsigned long __cil_tmp270 ;
13962  unsigned long __cil_tmp271 ;
13963  void *__cil_tmp272 ;
13964  void *__cil_tmp273 ;
13965  void volatile   *__cil_tmp274 ;
13966  u32 __cil_tmp275 ;
13967  char (*__cil_tmp276)[48U] ;
13968  struct eni_skb_prv *__cil_tmp277 ;
13969  char (*__cil_tmp278)[48U] ;
13970  struct eni_skb_prv *__cil_tmp279 ;
13971  void *__cil_tmp280 ;
13972  struct eni_vcc *__cil_tmp281 ;
13973  void *__cil_tmp282 ;
13974  struct eni_vcc *__cil_tmp283 ;
13975  int __cil_tmp284 ;
13976  u32 __cil_tmp285 ;
13977  u32 __cil_tmp286 ;
13978  unsigned long __cil_tmp287 ;
13979  unsigned long __cil_tmp288 ;
13980  unsigned long __cil_tmp289 ;
13981  unsigned long __cil_tmp290 ;
13982  unsigned long __cil_tmp291 ;
13983  void *__cil_tmp292 ;
13984  void volatile   *__cil_tmp293 ;
13985  void volatile   *__cil_tmp294 ;
13986  struct sk_buff_head *__cil_tmp295 ;
13987
13988  {
13989  {
13990#line 1052
13991  __cil_tmp33 = (unsigned long )skb;
13992#line 1052
13993  if (__cil_tmp33 <= 47UL) {
13994    {
13995#line 1052
13996    __cil_tmp34 = (unsigned long )skb;
13997#line 1052
13998    printk("<2>skb==0x%lx\n", __cil_tmp34);
13999    }
14000  } else {
14001
14002  }
14003  }
14004  {
14005#line 1053
14006  __cil_tmp35 = (unsigned long )skb;
14007#line 1053
14008  __cil_tmp36 = skb->len;
14009#line 1053
14010  __cil_tmp37 = (unsigned long )__cil_tmp36;
14011#line 1053
14012  EVENT("do_tx: skb=0x%lx, %ld bytes\n", __cil_tmp35, __cil_tmp37);
14013#line 1054
14014  __cil_tmp38 = & skb->cb;
14015#line 1054
14016  __cil_tmp39 = (struct atm_skb_data *)__cil_tmp38;
14017#line 1054
14018  vcc = __cil_tmp39->vcc;
14019  }
14020  {
14021#line 1055
14022  __cil_tmp40 = (unsigned long )vcc;
14023#line 1055
14024  if (__cil_tmp40 <= 47UL) {
14025    {
14026#line 1055
14027    __cil_tmp41 = (unsigned long )vcc;
14028#line 1055
14029    printk("<2>vcc==0x%lx\n", __cil_tmp41);
14030    }
14031  } else {
14032
14033  }
14034  }
14035#line 1056
14036  __cil_tmp42 = vcc->dev;
14037#line 1056
14038  __cil_tmp43 = __cil_tmp42->dev_data;
14039#line 1056
14040  eni_dev = (struct eni_dev *)__cil_tmp43;
14041  {
14042#line 1057
14043  __cil_tmp44 = (unsigned long )eni_dev;
14044#line 1057
14045  if (__cil_tmp44 <= 47UL) {
14046    {
14047#line 1057
14048    __cil_tmp45 = (unsigned long )eni_dev;
14049#line 1057
14050    printk("<2>eni_dev==0x%lx\n", __cil_tmp45);
14051    }
14052  } else {
14053
14054  }
14055  }
14056#line 1058
14057  __cil_tmp46 = vcc->dev_data;
14058#line 1058
14059  eni_vcc = (struct eni_vcc *)__cil_tmp46;
14060#line 1059
14061  tx = eni_vcc->tx;
14062  {
14063#line 1060
14064  __cil_tmp47 = (unsigned long )tx;
14065#line 1060
14066  if (__cil_tmp47 <= 47UL) {
14067    {
14068#line 1060
14069    __cil_tmp48 = (unsigned long )tx;
14070#line 1060
14071    printk("<2>tx==0x%lx\n", __cil_tmp48);
14072    }
14073  } else {
14074
14075  }
14076  }
14077#line 1082
14078  __cil_tmp49 = vcc->qos.aal;
14079#line 1082
14080  __cil_tmp50 = (unsigned int )__cil_tmp49;
14081#line 1082
14082  aal5 = __cil_tmp50 == 5U;
14083#line 1084
14084  if (aal5 == 0) {
14085#line 1085
14086    size = 14U;
14087  } else {
14088#line 1089
14089    __cil_tmp51 = skb->len;
14090#line 1089
14091    size = __cil_tmp51 + 55U;
14092#line 1091
14093    __cil_tmp52 = size % 48U;
14094#line 1091
14095    __cil_tmp53 = size - __cil_tmp52;
14096#line 1091
14097    __cil_tmp54 = __cil_tmp53 >> 2;
14098#line 1091
14099    size = __cil_tmp54 + 2U;
14100  }
14101  {
14102#line 1099
14103  __cil_tmp55 = tx->words;
14104#line 1099
14105  __cil_tmp56 = __cil_tmp55 - 1UL;
14106#line 1099
14107  __cil_tmp57 = (unsigned long )size;
14108#line 1099
14109  __cil_tmp58 = tx->tx_pos;
14110#line 1099
14111  __cil_tmp59 = __cil_tmp58 + __cil_tmp57;
14112#line 1099
14113  __cil_tmp60 = __cil_tmp59 + 8UL;
14114#line 1099
14115  __cil_tmp61 = __cil_tmp60 & __cil_tmp56;
14116#line 1099
14117  __cil_tmp62 = tx->tx_pos;
14118#line 1099
14119  if (__cil_tmp62 < __cil_tmp61) {
14120    {
14121#line 1099
14122    __cil_tmp63 = tx->index;
14123#line 1099
14124    __cil_tmp64 = __cil_tmp63 * 16;
14125#line 1099
14126    __cil_tmp65 = __cil_tmp64 + 68;
14127#line 1099
14128    __cil_tmp66 = (unsigned long )__cil_tmp65;
14129#line 1099
14130    __cil_tmp67 = eni_dev->reg;
14131#line 1099
14132    __cil_tmp68 = (void const volatile   *)__cil_tmp67;
14133#line 1099
14134    __cil_tmp69 = __cil_tmp68 + __cil_tmp66;
14135#line 1099
14136    tmp = readl(__cil_tmp69);
14137    }
14138    {
14139#line 1099
14140    __cil_tmp70 = tx->tx_pos;
14141#line 1099
14142    __cil_tmp71 = (unsigned long )tmp;
14143#line 1099
14144    if (__cil_tmp71 > __cil_tmp70) {
14145      {
14146#line 1099
14147      __cil_tmp72 = tx->index;
14148#line 1099
14149      __cil_tmp73 = __cil_tmp72 * 16;
14150#line 1099
14151      __cil_tmp74 = __cil_tmp73 + 68;
14152#line 1099
14153      __cil_tmp75 = (unsigned long )__cil_tmp74;
14154#line 1099
14155      __cil_tmp76 = eni_dev->reg;
14156#line 1099
14157      __cil_tmp77 = (void const volatile   *)__cil_tmp76;
14158#line 1099
14159      __cil_tmp78 = __cil_tmp77 + __cil_tmp75;
14160#line 1099
14161      tmp___0 = readl(__cil_tmp78);
14162      }
14163      {
14164#line 1099
14165      __cil_tmp79 = tx->words;
14166#line 1099
14167      __cil_tmp80 = __cil_tmp79 - 1UL;
14168#line 1099
14169      __cil_tmp81 = (unsigned long )size;
14170#line 1099
14171      __cil_tmp82 = tx->tx_pos;
14172#line 1099
14173      __cil_tmp83 = __cil_tmp82 + __cil_tmp81;
14174#line 1099
14175      __cil_tmp84 = __cil_tmp83 + 8UL;
14176#line 1099
14177      __cil_tmp85 = __cil_tmp84 & __cil_tmp80;
14178#line 1099
14179      __cil_tmp86 = (unsigned long )tmp___0;
14180#line 1099
14181      if (__cil_tmp86 <= __cil_tmp85) {
14182#line 1099
14183        tmp___1 = 1;
14184      } else {
14185#line 1099
14186        tmp___1 = 0;
14187      }
14188      }
14189    } else {
14190#line 1099
14191      tmp___1 = 0;
14192    }
14193    }
14194#line 1099
14195    tmp___5 = tmp___1;
14196  } else {
14197    {
14198#line 1099
14199    __cil_tmp87 = tx->index;
14200#line 1099
14201    __cil_tmp88 = __cil_tmp87 * 16;
14202#line 1099
14203    __cil_tmp89 = __cil_tmp88 + 68;
14204#line 1099
14205    __cil_tmp90 = (unsigned long )__cil_tmp89;
14206#line 1099
14207    __cil_tmp91 = eni_dev->reg;
14208#line 1099
14209    __cil_tmp92 = (void const volatile   *)__cil_tmp91;
14210#line 1099
14211    __cil_tmp93 = __cil_tmp92 + __cil_tmp90;
14212#line 1099
14213    tmp___2 = readl(__cil_tmp93);
14214    }
14215    {
14216#line 1099
14217    __cil_tmp94 = tx->tx_pos;
14218#line 1099
14219    __cil_tmp95 = (unsigned long )tmp___2;
14220#line 1099
14221    if (__cil_tmp95 > __cil_tmp94) {
14222#line 1099
14223      tmp___4 = 1;
14224    } else {
14225      {
14226#line 1099
14227      __cil_tmp96 = tx->index;
14228#line 1099
14229      __cil_tmp97 = __cil_tmp96 * 16;
14230#line 1099
14231      __cil_tmp98 = __cil_tmp97 + 68;
14232#line 1099
14233      __cil_tmp99 = (unsigned long )__cil_tmp98;
14234#line 1099
14235      __cil_tmp100 = eni_dev->reg;
14236#line 1099
14237      __cil_tmp101 = (void const volatile   *)__cil_tmp100;
14238#line 1099
14239      __cil_tmp102 = __cil_tmp101 + __cil_tmp99;
14240#line 1099
14241      tmp___3 = readl(__cil_tmp102);
14242      }
14243      {
14244#line 1099
14245      __cil_tmp103 = tx->words;
14246#line 1099
14247      __cil_tmp104 = __cil_tmp103 - 1UL;
14248#line 1099
14249      __cil_tmp105 = (unsigned long )size;
14250#line 1099
14251      __cil_tmp106 = tx->tx_pos;
14252#line 1099
14253      __cil_tmp107 = __cil_tmp106 + __cil_tmp105;
14254#line 1099
14255      __cil_tmp108 = __cil_tmp107 + 8UL;
14256#line 1099
14257      __cil_tmp109 = __cil_tmp108 & __cil_tmp104;
14258#line 1099
14259      __cil_tmp110 = (unsigned long )tmp___3;
14260#line 1099
14261      if (__cil_tmp110 <= __cil_tmp109) {
14262#line 1099
14263        tmp___4 = 1;
14264      } else {
14265#line 1099
14266        tmp___4 = 0;
14267      }
14268      }
14269    }
14270    }
14271#line 1099
14272    tmp___5 = tmp___4;
14273  }
14274  }
14275#line 1099
14276  if (tmp___5) {
14277#line 1103
14278    return ((enum enq_res )1);
14279  } else {
14280
14281  }
14282  {
14283#line 1106
14284  __cil_tmp111 = eni_dev->reg;
14285#line 1106
14286  __cil_tmp112 = (void const volatile   *)__cil_tmp111;
14287#line 1106
14288  __cil_tmp113 = __cil_tmp112 + 40U;
14289#line 1106
14290  dma_wr = readl(__cil_tmp113);
14291#line 1107
14292  __cil_tmp114 = eni_dev->reg;
14293#line 1107
14294  __cil_tmp115 = (void const volatile   *)__cil_tmp114;
14295#line 1107
14296  __cil_tmp116 = __cil_tmp115 + 44U;
14297#line 1107
14298  dma_rd = readl(__cil_tmp116);
14299#line 1108
14300  dma_size = 3;
14301#line 1111
14302  __cil_tmp117 = (struct sk_buff  const  *)skb;
14303#line 1111
14304  tmp___7 = skb_end_pointer(__cil_tmp117);
14305  }
14306  {
14307#line 1111
14308  __cil_tmp118 = (struct skb_shared_info *)tmp___7;
14309#line 1111
14310  __cil_tmp119 = __cil_tmp118->nr_frags;
14311#line 1111
14312  __cil_tmp120 = (unsigned int )__cil_tmp119;
14313#line 1111
14314  if (__cil_tmp120 == 0U) {
14315#line 1111
14316    dma_size = dma_size + 5;
14317  } else {
14318    {
14319#line 1112
14320    __cil_tmp121 = (struct sk_buff  const  *)skb;
14321#line 1112
14322    tmp___6 = skb_end_pointer(__cil_tmp121);
14323#line 1112
14324    __cil_tmp122 = (struct skb_shared_info *)tmp___6;
14325#line 1112
14326    __cil_tmp123 = __cil_tmp122->nr_frags;
14327#line 1112
14328    __cil_tmp124 = (int )__cil_tmp123;
14329#line 1112
14330    __cil_tmp125 = __cil_tmp124 + 1;
14331#line 1112
14332    __cil_tmp126 = __cil_tmp125 * 5;
14333#line 1112
14334    dma_size = __cil_tmp126 + dma_size;
14335    }
14336  }
14337  }
14338#line 1113
14339  if (dma_size > 100) {
14340    {
14341#line 1114
14342    __cil_tmp127 = vcc->dev;
14343#line 1114
14344    __cil_tmp128 = __cil_tmp127->number;
14345#line 1114
14346    printk("<2>eni(itf %d): needs %d DMA entries (got only %d)\n", __cil_tmp128, dma_size,
14347           100);
14348    }
14349  } else {
14350
14351  }
14352#line 1118
14353  if (dma_wr != dma_rd) {
14354    {
14355#line 1118
14356    __cil_tmp129 = (u32 )dma_size;
14357#line 1118
14358    __cil_tmp130 = dma_rd - dma_wr;
14359#line 1118
14360    __cil_tmp131 = __cil_tmp130 & 511U;
14361#line 1118
14362    if (__cil_tmp131 < __cil_tmp129) {
14363      {
14364#line 1120
14365      __cil_tmp132 = vcc->dev;
14366#line 1120
14367      __cil_tmp133 = __cil_tmp132->number;
14368#line 1120
14369      printk("<4>eni(itf %d): TX DMA full\n", __cil_tmp133);
14370      }
14371#line 1122
14372      return ((enum enq_res )2);
14373    } else {
14374
14375    }
14376    }
14377  } else {
14378
14379  }
14380  {
14381#line 1124
14382  __cil_tmp134 = eni_dev->pci_dev;
14383#line 1124
14384  __cil_tmp135 = skb->data;
14385#line 1124
14386  __cil_tmp136 = (void *)__cil_tmp135;
14387#line 1124
14388  __cil_tmp137 = skb->len;
14389#line 1124
14390  __cil_tmp138 = (size_t )__cil_tmp137;
14391#line 1124
14392  paddr = pci_map_single(__cil_tmp134, __cil_tmp136, __cil_tmp138, 1);
14393#line 1126
14394  __cil_tmp139 = & skb->cb;
14395#line 1126
14396  __cil_tmp140 = (struct eni_skb_prv *)__cil_tmp139;
14397#line 1126
14398  __cil_tmp140->paddr = paddr;
14399#line 1128
14400  j = 0;
14401#line 1129
14402  tmp___8 = j;
14403#line 1129
14404  j = j + 1;
14405#line 1129
14406  __cil_tmp141 = tx->index;
14407#line 1129
14408  __cil_tmp142 = __cil_tmp141 << 6;
14409#line 1129
14410  __cil_tmp143 = (u32 )__cil_tmp142;
14411#line 1129
14412  __cil_tmp144 = tx->words;
14413#line 1129
14414  __cil_tmp145 = (u32 )__cil_tmp144;
14415#line 1129
14416  __cil_tmp146 = __cil_tmp145 - 1U;
14417#line 1129
14418  __cil_tmp147 = tx->tx_pos;
14419#line 1129
14420  __cil_tmp148 = (u32 )__cil_tmp147;
14421#line 1129
14422  __cil_tmp149 = __cil_tmp148 + 2U;
14423#line 1129
14424  __cil_tmp150 = __cil_tmp149 & __cil_tmp146;
14425#line 1129
14426  __cil_tmp151 = __cil_tmp150 << 16U;
14427#line 1129
14428  __cil_tmp152 = __cil_tmp151 | __cil_tmp143;
14429#line 1129
14430  eni_dev->dma[tmp___8] = __cil_tmp152 | 3U;
14431#line 1132
14432  j = j + 1;
14433#line 1133
14434  __cil_tmp153 = (struct sk_buff  const  *)skb;
14435#line 1133
14436  tmp___14 = skb_end_pointer(__cil_tmp153);
14437  }
14438  {
14439#line 1133
14440  __cil_tmp154 = (struct skb_shared_info *)tmp___14;
14441#line 1133
14442  __cil_tmp155 = __cil_tmp154->nr_frags;
14443#line 1133
14444  __cil_tmp156 = (unsigned int )__cil_tmp155;
14445#line 1133
14446  if (__cil_tmp156 == 0U) {
14447#line 1134
14448    if (aal5 != 0) {
14449      {
14450#line 1134
14451      __cil_tmp157 = tx->index;
14452#line 1134
14453      __cil_tmp158 = & eni_dev->dma;
14454#line 1134
14455      __cil_tmp159 = (u32 *)__cil_tmp158;
14456#line 1134
14457      __cil_tmp160 = skb->len;
14458#line 1134
14459      put_dma(__cil_tmp157, __cil_tmp159, & j, paddr, __cil_tmp160);
14460      }
14461    } else {
14462      {
14463#line 1135
14464      __cil_tmp161 = tx->index;
14465#line 1135
14466      __cil_tmp162 = & eni_dev->dma;
14467#line 1135
14468      __cil_tmp163 = (u32 *)__cil_tmp162;
14469#line 1135
14470      __cil_tmp164 = paddr + 4ULL;
14471#line 1135
14472      __cil_tmp165 = skb->len;
14473#line 1135
14474      __cil_tmp166 = __cil_tmp165 - 4U;
14475#line 1135
14476      put_dma(__cil_tmp161, __cil_tmp163, & j, __cil_tmp164, __cil_tmp166);
14477      }
14478    }
14479  } else {
14480#line 1138
14481    i = -1;
14482#line 1138
14483    goto ldv_40351;
14484    ldv_40350: ;
14485#line 1139
14486    if (i == -1) {
14487      {
14488#line 1140
14489      __cil_tmp167 = (struct sk_buff  const  *)skb;
14490#line 1140
14491      tmp___9 = skb_headlen(__cil_tmp167);
14492#line 1140
14493      __cil_tmp168 = tx->index;
14494#line 1140
14495      __cil_tmp169 = & eni_dev->dma;
14496#line 1140
14497      __cil_tmp170 = (u32 *)__cil_tmp169;
14498#line 1140
14499      __cil_tmp171 = skb->data;
14500#line 1140
14501      __cil_tmp172 = (dma_addr_t )__cil_tmp171;
14502#line 1140
14503      put_dma(__cil_tmp168, __cil_tmp170, & j, __cil_tmp172, tmp___9);
14504      }
14505    } else {
14506      {
14507#line 1144
14508      __cil_tmp173 = (struct sk_buff  const  *)skb;
14509#line 1144
14510      tmp___10 = skb_end_pointer(__cil_tmp173);
14511#line 1144
14512      __cil_tmp174 = (struct sk_buff  const  *)skb;
14513#line 1144
14514      tmp___11 = skb_end_pointer(__cil_tmp174);
14515#line 1144
14516      __cil_tmp175 = (struct sk_buff  const  *)skb;
14517#line 1144
14518      tmp___12 = skb_end_pointer(__cil_tmp175);
14519#line 1144
14520      __cil_tmp176 = tx->index;
14521#line 1144
14522      __cil_tmp177 = & eni_dev->dma;
14523#line 1144
14524      __cil_tmp178 = (u32 *)__cil_tmp177;
14525#line 1144
14526      __cil_tmp179 = (struct skb_shared_info *)tmp___12;
14527#line 1144
14528      __cil_tmp180 = __cil_tmp179->frags[i].page_offset;
14529#line 1144
14530      __cil_tmp181 = (unsigned long )__cil_tmp180;
14531#line 1144
14532      __cil_tmp182 = (struct skb_shared_info *)tmp___11;
14533#line 1144
14534      __cil_tmp183 = __cil_tmp182->frags[i].page;
14535#line 1144
14536      __cil_tmp184 = (unsigned long )__cil_tmp183;
14537#line 1144
14538      __cil_tmp185 = __cil_tmp184 + __cil_tmp181;
14539#line 1144
14540      __cil_tmp186 = (dma_addr_t )__cil_tmp185;
14541#line 1144
14542      __cil_tmp187 = (struct skb_shared_info *)tmp___10;
14543#line 1144
14544      __cil_tmp188 = __cil_tmp187->frags[i].size;
14545#line 1144
14546      put_dma(__cil_tmp176, __cil_tmp178, & j, __cil_tmp186, __cil_tmp188);
14547      }
14548    }
14549#line 1138
14550    i = i + 1;
14551    ldv_40351: 
14552    {
14553#line 1138
14554    __cil_tmp189 = (struct sk_buff  const  *)skb;
14555#line 1138
14556    tmp___13 = skb_end_pointer(__cil_tmp189);
14557    }
14558    {
14559#line 1138
14560    __cil_tmp190 = (struct skb_shared_info *)tmp___13;
14561#line 1138
14562    __cil_tmp191 = __cil_tmp190->nr_frags;
14563#line 1138
14564    __cil_tmp192 = (int )__cil_tmp191;
14565#line 1138
14566    if (__cil_tmp192 > i) {
14567#line 1139
14568      goto ldv_40350;
14569    } else {
14570#line 1141
14571      goto ldv_40352;
14572    }
14573    }
14574    ldv_40352: ;
14575  }
14576  }
14577  {
14578#line 1148
14579  __cil_tmp193 = skb->len;
14580#line 1148
14581  __cil_tmp194 = __cil_tmp193 & 3U;
14582#line 1148
14583  if (__cil_tmp194 != 0U) {
14584    {
14585#line 1149
14586    __cil_tmp195 = tx->index;
14587#line 1149
14588    __cil_tmp196 = & eni_dev->dma;
14589#line 1149
14590    __cil_tmp197 = (u32 *)__cil_tmp196;
14591#line 1149
14592    __cil_tmp198 = skb->len;
14593#line 1149
14594    __cil_tmp199 = __cil_tmp198 & 3U;
14595#line 1149
14596    __cil_tmp200 = 4U - __cil_tmp199;
14597#line 1149
14598    put_dma(__cil_tmp195, __cil_tmp197, & j, zeroes, __cil_tmp200);
14599    }
14600  } else {
14601
14602  }
14603  }
14604#line 1151
14605  tmp___15 = j;
14606#line 1151
14607  j = j + 1;
14608#line 1151
14609  __cil_tmp201 = tx->index;
14610#line 1151
14611  __cil_tmp202 = __cil_tmp201 << 6;
14612#line 1151
14613  __cil_tmp203 = (u32 )__cil_tmp202;
14614#line 1151
14615  __cil_tmp204 = tx->words;
14616#line 1151
14617  __cil_tmp205 = (u32 )__cil_tmp204;
14618#line 1151
14619  __cil_tmp206 = __cil_tmp205 - 1U;
14620#line 1151
14621  __cil_tmp207 = tx->tx_pos;
14622#line 1151
14623  __cil_tmp208 = (u32 )__cil_tmp207;
14624#line 1151
14625  __cil_tmp209 = __cil_tmp208 + size;
14626#line 1151
14627  __cil_tmp210 = __cil_tmp209 & __cil_tmp206;
14628#line 1151
14629  __cil_tmp211 = __cil_tmp210 << 16U;
14630#line 1151
14631  __cil_tmp212 = __cil_tmp211 | __cil_tmp203;
14632#line 1151
14633  eni_dev->dma[tmp___15] = __cil_tmp212 | 35U;
14634#line 1154
14635  j = j + 1;
14636#line 1157
14637  if (aal5 != 0) {
14638#line 1157
14639    tmp___16 = -1207959552;
14640  } else {
14641#line 1157
14642    tmp___16 = -1342177280;
14643  }
14644  {
14645#line 1157
14646  __cil_tmp213 = size / 12U;
14647#line 1157
14648  __cil_tmp214 = tx->resolution;
14649#line 1157
14650  __cil_tmp215 = __cil_tmp214 << 19;
14651#line 1157
14652  __cil_tmp216 = tx->prescaler;
14653#line 1157
14654  __cil_tmp217 = __cil_tmp216 << 25;
14655#line 1157
14656  __cil_tmp218 = tmp___16 | __cil_tmp217;
14657#line 1157
14658  __cil_tmp219 = __cil_tmp218 | __cil_tmp215;
14659#line 1157
14660  __cil_tmp220 = (u32 )__cil_tmp219;
14661#line 1157
14662  __cil_tmp221 = __cil_tmp220 | __cil_tmp213;
14663#line 1157
14664  __cil_tmp222 = tx->tx_pos;
14665#line 1157
14666  __cil_tmp223 = __cil_tmp222 * 4UL;
14667#line 1157
14668  __cil_tmp224 = tx->send;
14669#line 1157
14670  __cil_tmp225 = __cil_tmp224 + __cil_tmp223;
14671#line 1157
14672  __cil_tmp226 = (void volatile   *)__cil_tmp225;
14673#line 1157
14674  writel(__cil_tmp221, __cil_tmp226);
14675  }
14676#line 1162
14677  if (aal5 == 0) {
14678#line 1162
14679    __cil_tmp227 = skb->data;
14680#line 1162
14681    __cil_tmp228 = __cil_tmp227 + 3UL;
14682#line 1162
14683    __cil_tmp229 = *__cil_tmp228;
14684#line 1162
14685    __cil_tmp230 = (int )__cil_tmp229;
14686#line 1162
14687    tmp___17 = __cil_tmp230 & 15;
14688  } else {
14689#line 1162
14690    tmp___17 = 0;
14691  }
14692  {
14693#line 1162
14694  __cil_tmp231 = & skb->cb;
14695#line 1162
14696  __cil_tmp232 = (struct atm_skb_data *)__cil_tmp231;
14697#line 1162
14698  __cil_tmp233 = __cil_tmp232->atm_options;
14699#line 1162
14700  __cil_tmp234 = (int )__cil_tmp233;
14701#line 1162
14702  __cil_tmp235 = __cil_tmp234 & 1;
14703#line 1162
14704  __cil_tmp236 = vcc->vci;
14705#line 1162
14706  __cil_tmp237 = __cil_tmp236 << 4;
14707#line 1162
14708  __cil_tmp238 = __cil_tmp237 | tmp___17;
14709#line 1162
14710  __cil_tmp239 = __cil_tmp238 | __cil_tmp235;
14711#line 1162
14712  __cil_tmp240 = (unsigned int )__cil_tmp239;
14713#line 1162
14714  __cil_tmp241 = tx->words;
14715#line 1162
14716  __cil_tmp242 = __cil_tmp241 - 1UL;
14717#line 1162
14718  __cil_tmp243 = tx->tx_pos;
14719#line 1162
14720  __cil_tmp244 = __cil_tmp243 + 1UL;
14721#line 1162
14722  __cil_tmp245 = __cil_tmp244 & __cil_tmp242;
14723#line 1162
14724  __cil_tmp246 = __cil_tmp245 * 4UL;
14725#line 1162
14726  __cil_tmp247 = tx->send;
14727#line 1162
14728  __cil_tmp248 = __cil_tmp247 + __cil_tmp246;
14729#line 1162
14730  __cil_tmp249 = (void volatile   *)__cil_tmp248;
14731#line 1162
14732  writel(__cil_tmp240, __cil_tmp249);
14733  }
14734#line 1167
14735  if (aal5 != 0) {
14736    {
14737#line 1168
14738    __cil_tmp250 = skb->len;
14739#line 1168
14740    __cil_tmp251 = tx->words;
14741#line 1168
14742    __cil_tmp252 = __cil_tmp251 - 1UL;
14743#line 1168
14744    __cil_tmp253 = (unsigned long )size;
14745#line 1168
14746    __cil_tmp254 = tx->tx_pos;
14747#line 1168
14748    __cil_tmp255 = __cil_tmp254 + __cil_tmp253;
14749#line 1168
14750    __cil_tmp256 = __cil_tmp255 - 2UL;
14751#line 1168
14752    __cil_tmp257 = __cil_tmp256 & __cil_tmp252;
14753#line 1168
14754    __cil_tmp258 = __cil_tmp257 * 4UL;
14755#line 1168
14756    __cil_tmp259 = tx->send;
14757#line 1168
14758    __cil_tmp260 = __cil_tmp259 + __cil_tmp258;
14759#line 1168
14760    __cil_tmp261 = (void volatile   *)__cil_tmp260;
14761#line 1168
14762    writel(__cil_tmp250, __cil_tmp261);
14763    }
14764  } else {
14765
14766  }
14767#line 1170
14768  j = j >> 1;
14769#line 1171
14770  i = 0;
14771#line 1171
14772  goto ldv_40354;
14773  ldv_40353: 
14774  {
14775#line 1172
14776  __cil_tmp262 = eni_dev->dma[i * 2];
14777#line 1172
14778  __cil_tmp263 = dma_wr * 8U;
14779#line 1172
14780  __cil_tmp264 = (unsigned long )__cil_tmp263;
14781#line 1172
14782  __cil_tmp265 = eni_dev->tx_dma;
14783#line 1172
14784  __cil_tmp266 = (void volatile   *)__cil_tmp265;
14785#line 1172
14786  __cil_tmp267 = __cil_tmp266 + __cil_tmp264;
14787#line 1172
14788  writel(__cil_tmp262, __cil_tmp267);
14789#line 1173
14790  __cil_tmp268 = eni_dev->dma[i * 2 + 1];
14791#line 1173
14792  __cil_tmp269 = dma_wr * 8U;
14793#line 1173
14794  __cil_tmp270 = (unsigned long )__cil_tmp269;
14795#line 1173
14796  __cil_tmp271 = __cil_tmp270 + 4UL;
14797#line 1173
14798  __cil_tmp272 = eni_dev->tx_dma;
14799#line 1173
14800  __cil_tmp273 = __cil_tmp272 + __cil_tmp271;
14801#line 1173
14802  __cil_tmp274 = (void volatile   *)__cil_tmp273;
14803#line 1173
14804  writel(__cil_tmp268, __cil_tmp274);
14805#line 1174
14806  __cil_tmp275 = dma_wr + 1U;
14807#line 1174
14808  dma_wr = __cil_tmp275 & 511U;
14809#line 1171
14810  i = i + 1;
14811  }
14812  ldv_40354: ;
14813#line 1171
14814  if (i < j) {
14815#line 1172
14816    goto ldv_40353;
14817  } else {
14818#line 1174
14819    goto ldv_40355;
14820  }
14821  ldv_40355: 
14822  {
14823#line 1176
14824  __cil_tmp276 = & skb->cb;
14825#line 1176
14826  __cil_tmp277 = (struct eni_skb_prv *)__cil_tmp276;
14827#line 1176
14828  __cil_tmp277->pos = tx->tx_pos;
14829#line 1177
14830  __cil_tmp278 = & skb->cb;
14831#line 1177
14832  __cil_tmp279 = (struct eni_skb_prv *)__cil_tmp278;
14833#line 1177
14834  __cil_tmp279->size = (int )size;
14835#line 1178
14836  __cil_tmp280 = vcc->dev_data;
14837#line 1178
14838  __cil_tmp281 = (struct eni_vcc *)__cil_tmp280;
14839#line 1178
14840  __cil_tmp282 = vcc->dev_data;
14841#line 1178
14842  __cil_tmp283 = (struct eni_vcc *)__cil_tmp282;
14843#line 1178
14844  __cil_tmp284 = __cil_tmp283->txing;
14845#line 1178
14846  __cil_tmp285 = (u32 )__cil_tmp284;
14847#line 1178
14848  __cil_tmp286 = __cil_tmp285 + size;
14849#line 1178
14850  __cil_tmp281->txing = (int )__cil_tmp286;
14851#line 1179
14852  __cil_tmp287 = tx->words;
14853#line 1179
14854  __cil_tmp288 = __cil_tmp287 - 1UL;
14855#line 1179
14856  __cil_tmp289 = (unsigned long )size;
14857#line 1179
14858  __cil_tmp290 = tx->tx_pos;
14859#line 1179
14860  __cil_tmp291 = __cil_tmp290 + __cil_tmp289;
14861#line 1179
14862  tx->tx_pos = __cil_tmp291 & __cil_tmp288;
14863#line 1181
14864  __cil_tmp292 = eni_dev->reg;
14865#line 1181
14866  __cil_tmp293 = (void volatile   *)__cil_tmp292;
14867#line 1181
14868  __cil_tmp294 = __cil_tmp293 + 40U;
14869#line 1181
14870  writel(dma_wr, __cil_tmp294);
14871#line 1182
14872  __cil_tmp295 = & eni_dev->tx_queue;
14873#line 1182
14874  skb_queue_tail(__cil_tmp295, skb);
14875#line 1183
14876  queued = queued + 1;
14877  }
14878#line 1184
14879  return ((enum enq_res )0);
14880}
14881}
14882#line 1188 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
14883static void poll_tx(struct atm_dev *dev ) 
14884{ struct eni_tx *tx ;
14885  struct sk_buff *skb ;
14886  enum enq_res res ;
14887  int i ;
14888  unsigned long __cil_tmp6 ;
14889  void *__cil_tmp7 ;
14890  struct eni_dev *__cil_tmp8 ;
14891  struct eni_tx (*__cil_tmp9)[8U] ;
14892  struct eni_tx *__cil_tmp10 ;
14893  void *__cil_tmp11 ;
14894  unsigned long __cil_tmp12 ;
14895  void *__cil_tmp13 ;
14896  unsigned long __cil_tmp14 ;
14897  unsigned int __cil_tmp15 ;
14898  struct sk_buff_head *__cil_tmp16 ;
14899  unsigned int __cil_tmp17 ;
14900  struct sk_buff_head *__cil_tmp18 ;
14901  struct sk_buff *__cil_tmp19 ;
14902  unsigned long __cil_tmp20 ;
14903  unsigned long __cil_tmp21 ;
14904
14905  {
14906#line 1196
14907  i = 7;
14908#line 1196
14909  goto ldv_40367;
14910  ldv_40366: 
14911#line 1197
14912  __cil_tmp6 = (unsigned long )i;
14913#line 1197
14914  __cil_tmp7 = dev->dev_data;
14915#line 1197
14916  __cil_tmp8 = (struct eni_dev *)__cil_tmp7;
14917#line 1197
14918  __cil_tmp9 = & __cil_tmp8->tx;
14919#line 1197
14920  __cil_tmp10 = (struct eni_tx *)__cil_tmp9;
14921#line 1197
14922  tx = __cil_tmp10 + __cil_tmp6;
14923  {
14924#line 1198
14925  __cil_tmp11 = (void *)0;
14926#line 1198
14927  __cil_tmp12 = (unsigned long )__cil_tmp11;
14928#line 1198
14929  __cil_tmp13 = tx->send;
14930#line 1198
14931  __cil_tmp14 = (unsigned long )__cil_tmp13;
14932#line 1198
14933  if (__cil_tmp14 != __cil_tmp12) {
14934#line 1199
14935    goto ldv_40363;
14936    ldv_40365: 
14937    {
14938#line 1200
14939    res = do_tx(skb);
14940    }
14941    {
14942#line 1201
14943    __cil_tmp15 = (unsigned int )res;
14944#line 1201
14945    if (__cil_tmp15 == 0U) {
14946#line 1201
14947      goto ldv_40363;
14948    } else {
14949
14950    }
14951    }
14952    {
14953#line 1203
14954    __cil_tmp16 = & tx->backlog;
14955#line 1203
14956    skb_queue_head(__cil_tmp16, skb);
14957#line 1204
14958    requeued = requeued + 1;
14959    }
14960    {
14961#line 1205
14962    __cil_tmp17 = (unsigned int )res;
14963#line 1205
14964    if (__cil_tmp17 == 2U) {
14965#line 1205
14966      return;
14967    } else {
14968
14969    }
14970    }
14971#line 1206
14972    goto ldv_40364;
14973    ldv_40363: 
14974    {
14975#line 1199
14976    __cil_tmp18 = & tx->backlog;
14977#line 1199
14978    skb = skb_dequeue(__cil_tmp18);
14979    }
14980    {
14981#line 1199
14982    __cil_tmp19 = (struct sk_buff *)0;
14983#line 1199
14984    __cil_tmp20 = (unsigned long )__cil_tmp19;
14985#line 1199
14986    __cil_tmp21 = (unsigned long )skb;
14987#line 1199
14988    if (__cil_tmp21 != __cil_tmp20) {
14989#line 1200
14990      goto ldv_40365;
14991    } else {
14992#line 1202
14993      goto ldv_40364;
14994    }
14995    }
14996    ldv_40364: ;
14997  } else {
14998
14999  }
15000  }
15001#line 1196
15002  i = i - 1;
15003  ldv_40367: ;
15004#line 1196
15005  if (i >= 0) {
15006#line 1197
15007    goto ldv_40366;
15008  } else {
15009#line 1199
15010    goto ldv_40368;
15011  }
15012  ldv_40368: ;
15013#line 1201
15014  return;
15015}
15016}
15017#line 1212 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
15018static void dequeue_tx(struct atm_dev *dev ) 
15019{ struct eni_dev *eni_dev ;
15020  struct atm_vcc *vcc ;
15021  struct sk_buff *skb ;
15022  struct eni_tx *tx ;
15023  unsigned int tmp ;
15024  unsigned long __cil_tmp7 ;
15025  unsigned long __cil_tmp8 ;
15026  void *__cil_tmp9 ;
15027  unsigned long __cil_tmp10 ;
15028  unsigned long __cil_tmp11 ;
15029  char (*__cil_tmp12)[48U] ;
15030  struct atm_skb_data *__cil_tmp13 ;
15031  unsigned long __cil_tmp14 ;
15032  unsigned long __cil_tmp15 ;
15033  void *__cil_tmp16 ;
15034  struct eni_vcc *__cil_tmp17 ;
15035  void *__cil_tmp18 ;
15036  struct eni_vcc *__cil_tmp19 ;
15037  struct eni_tx *__cil_tmp20 ;
15038  unsigned long __cil_tmp21 ;
15039  void *__cil_tmp22 ;
15040  struct eni_vcc *__cil_tmp23 ;
15041  struct eni_tx *__cil_tmp24 ;
15042  unsigned long __cil_tmp25 ;
15043  unsigned long __cil_tmp26 ;
15044  void *__cil_tmp27 ;
15045  struct eni_vcc *__cil_tmp28 ;
15046  int __cil_tmp29 ;
15047  unsigned long __cil_tmp30 ;
15048  int __cil_tmp31 ;
15049  int __cil_tmp32 ;
15050  int __cil_tmp33 ;
15051  unsigned long __cil_tmp34 ;
15052  void *__cil_tmp35 ;
15053  void const volatile   *__cil_tmp36 ;
15054  void const volatile   *__cil_tmp37 ;
15055  unsigned long __cil_tmp38 ;
15056  char (*__cil_tmp39)[48U] ;
15057  struct eni_skb_prv *__cil_tmp40 ;
15058  unsigned long __cil_tmp41 ;
15059  struct sk_buff_head *__cil_tmp42 ;
15060  void *__cil_tmp43 ;
15061  struct eni_vcc *__cil_tmp44 ;
15062  char (*__cil_tmp45)[48U] ;
15063  struct eni_skb_prv *__cil_tmp46 ;
15064  int __cil_tmp47 ;
15065  void *__cil_tmp48 ;
15066  struct eni_vcc *__cil_tmp49 ;
15067  int __cil_tmp50 ;
15068  struct pci_dev *__cil_tmp51 ;
15069  char (*__cil_tmp52)[48U] ;
15070  struct eni_skb_prv *__cil_tmp53 ;
15071  dma_addr_t __cil_tmp54 ;
15072  unsigned int __cil_tmp55 ;
15073  size_t __cil_tmp56 ;
15074  void (*__cil_tmp57)(struct atm_vcc * , struct sk_buff * ) ;
15075  unsigned long __cil_tmp58 ;
15076  void (*__cil_tmp59)(struct atm_vcc * , struct sk_buff * ) ;
15077  unsigned long __cil_tmp60 ;
15078  void (*__cil_tmp61)(struct atm_vcc * , struct sk_buff * ) ;
15079  struct k_atm_aal_stats *__cil_tmp62 ;
15080  atomic_t *__cil_tmp63 ;
15081  wait_queue_head_t *__cil_tmp64 ;
15082  void *__cil_tmp65 ;
15083  struct sk_buff_head *__cil_tmp66 ;
15084  struct sk_buff *__cil_tmp67 ;
15085  unsigned long __cil_tmp68 ;
15086  unsigned long __cil_tmp69 ;
15087
15088  {
15089  {
15090#line 1219
15091  __cil_tmp7 = (unsigned long )dev;
15092#line 1219
15093  if (__cil_tmp7 <= 47UL) {
15094    {
15095#line 1219
15096    __cil_tmp8 = (unsigned long )dev;
15097#line 1219
15098    printk("<2>dev==0x%lx\n", __cil_tmp8);
15099    }
15100  } else {
15101
15102  }
15103  }
15104#line 1220
15105  __cil_tmp9 = dev->dev_data;
15106#line 1220
15107  eni_dev = (struct eni_dev *)__cil_tmp9;
15108  {
15109#line 1221
15110  __cil_tmp10 = (unsigned long )eni_dev;
15111#line 1221
15112  if (__cil_tmp10 <= 47UL) {
15113    {
15114#line 1221
15115    __cil_tmp11 = (unsigned long )eni_dev;
15116#line 1221
15117    printk("<2>eni_dev==0x%lx\n", __cil_tmp11);
15118    }
15119  } else {
15120
15121  }
15122  }
15123#line 1222
15124  goto ldv_40378;
15125  ldv_40377: 
15126#line 1223
15127  __cil_tmp12 = & skb->cb;
15128#line 1223
15129  __cil_tmp13 = (struct atm_skb_data *)__cil_tmp12;
15130#line 1223
15131  vcc = __cil_tmp13->vcc;
15132  {
15133#line 1224
15134  __cil_tmp14 = (unsigned long )vcc;
15135#line 1224
15136  if (__cil_tmp14 <= 47UL) {
15137    {
15138#line 1224
15139    __cil_tmp15 = (unsigned long )vcc;
15140#line 1224
15141    printk("<2>vcc==0x%lx\n", __cil_tmp15);
15142    }
15143  } else {
15144
15145  }
15146  }
15147#line 1225
15148  __cil_tmp16 = vcc->dev_data;
15149#line 1225
15150  __cil_tmp17 = (struct eni_vcc *)__cil_tmp16;
15151#line 1225
15152  tx = __cil_tmp17->tx;
15153  {
15154#line 1226
15155  __cil_tmp18 = vcc->dev_data;
15156#line 1226
15157  __cil_tmp19 = (struct eni_vcc *)__cil_tmp18;
15158#line 1226
15159  __cil_tmp20 = __cil_tmp19->tx;
15160#line 1226
15161  __cil_tmp21 = (unsigned long )__cil_tmp20;
15162#line 1226
15163  if (__cil_tmp21 <= 47UL) {
15164    {
15165#line 1226
15166    __cil_tmp22 = vcc->dev_data;
15167#line 1226
15168    __cil_tmp23 = (struct eni_vcc *)__cil_tmp22;
15169#line 1226
15170    __cil_tmp24 = __cil_tmp23->tx;
15171#line 1226
15172    __cil_tmp25 = (unsigned long )__cil_tmp24;
15173#line 1226
15174    printk("<2>ENI_VCC(vcc)->tx==0x%lx\n", __cil_tmp25);
15175    }
15176  } else {
15177
15178  }
15179  }
15180  {
15181#line 1229
15182  __cil_tmp26 = tx->words;
15183#line 1229
15184  __cil_tmp27 = vcc->dev_data;
15185#line 1229
15186  __cil_tmp28 = (struct eni_vcc *)__cil_tmp27;
15187#line 1229
15188  __cil_tmp29 = __cil_tmp28->txing;
15189#line 1229
15190  __cil_tmp30 = (unsigned long )__cil_tmp29;
15191#line 1229
15192  if (__cil_tmp30 < __cil_tmp26) {
15193    {
15194#line 1229
15195    __cil_tmp31 = tx->index;
15196#line 1229
15197    __cil_tmp32 = __cil_tmp31 * 16;
15198#line 1229
15199    __cil_tmp33 = __cil_tmp32 + 72;
15200#line 1229
15201    __cil_tmp34 = (unsigned long )__cil_tmp33;
15202#line 1229
15203    __cil_tmp35 = eni_dev->reg;
15204#line 1229
15205    __cil_tmp36 = (void const volatile   *)__cil_tmp35;
15206#line 1229
15207    __cil_tmp37 = __cil_tmp36 + __cil_tmp34;
15208#line 1229
15209    tmp = readl(__cil_tmp37);
15210    }
15211    {
15212#line 1229
15213    __cil_tmp38 = (unsigned long )tmp;
15214#line 1229
15215    __cil_tmp39 = & skb->cb;
15216#line 1229
15217    __cil_tmp40 = (struct eni_skb_prv *)__cil_tmp39;
15218#line 1229
15219    __cil_tmp41 = __cil_tmp40->pos;
15220#line 1229
15221    if (__cil_tmp41 == __cil_tmp38) {
15222      {
15223#line 1231
15224      __cil_tmp42 = & eni_dev->tx_queue;
15225#line 1231
15226      skb_queue_head(__cil_tmp42, skb);
15227      }
15228#line 1232
15229      goto ldv_40376;
15230    } else {
15231
15232    }
15233    }
15234  } else {
15235
15236  }
15237  }
15238  {
15239#line 1234
15240  __cil_tmp43 = vcc->dev_data;
15241#line 1234
15242  __cil_tmp44 = (struct eni_vcc *)__cil_tmp43;
15243#line 1234
15244  __cil_tmp45 = & skb->cb;
15245#line 1234
15246  __cil_tmp46 = (struct eni_skb_prv *)__cil_tmp45;
15247#line 1234
15248  __cil_tmp47 = __cil_tmp46->size;
15249#line 1234
15250  __cil_tmp48 = vcc->dev_data;
15251#line 1234
15252  __cil_tmp49 = (struct eni_vcc *)__cil_tmp48;
15253#line 1234
15254  __cil_tmp50 = __cil_tmp49->txing;
15255#line 1234
15256  __cil_tmp44->txing = __cil_tmp50 - __cil_tmp47;
15257#line 1235
15258  __cil_tmp51 = eni_dev->pci_dev;
15259#line 1235
15260  __cil_tmp52 = & skb->cb;
15261#line 1235
15262  __cil_tmp53 = (struct eni_skb_prv *)__cil_tmp52;
15263#line 1235
15264  __cil_tmp54 = __cil_tmp53->paddr;
15265#line 1235
15266  __cil_tmp55 = skb->len;
15267#line 1235
15268  __cil_tmp56 = (size_t )__cil_tmp55;
15269#line 1235
15270  pci_unmap_single(__cil_tmp51, __cil_tmp54, __cil_tmp56, 1);
15271  }
15272  {
15273#line 1237
15274  __cil_tmp57 = (void (*)(struct atm_vcc * , struct sk_buff * ))0;
15275#line 1237
15276  __cil_tmp58 = (unsigned long )__cil_tmp57;
15277#line 1237
15278  __cil_tmp59 = vcc->pop;
15279#line 1237
15280  __cil_tmp60 = (unsigned long )__cil_tmp59;
15281#line 1237
15282  if (__cil_tmp60 != __cil_tmp58) {
15283    {
15284#line 1237
15285    __cil_tmp61 = vcc->pop;
15286#line 1237
15287    (*__cil_tmp61)(vcc, skb);
15288    }
15289  } else {
15290    {
15291#line 1238
15292    dev_kfree_skb_irq(skb);
15293    }
15294  }
15295  }
15296  {
15297#line 1239
15298  __cil_tmp62 = vcc->stats;
15299#line 1239
15300  __cil_tmp63 = & __cil_tmp62->tx;
15301#line 1239
15302  atomic_inc(__cil_tmp63);
15303#line 1240
15304  __cil_tmp64 = & eni_dev->tx_wait;
15305#line 1240
15306  __cil_tmp65 = (void *)0;
15307#line 1240
15308  __wake_up(__cil_tmp64, 3U, 1, __cil_tmp65);
15309#line 1241
15310  dma_complete = dma_complete + 1;
15311  }
15312  ldv_40378: 
15313  {
15314#line 1222
15315  __cil_tmp66 = & eni_dev->tx_queue;
15316#line 1222
15317  skb = skb_dequeue(__cil_tmp66);
15318  }
15319  {
15320#line 1222
15321  __cil_tmp67 = (struct sk_buff *)0;
15322#line 1222
15323  __cil_tmp68 = (unsigned long )__cil_tmp67;
15324#line 1222
15325  __cil_tmp69 = (unsigned long )skb;
15326#line 1222
15327  if (__cil_tmp69 != __cil_tmp68) {
15328#line 1223
15329    goto ldv_40377;
15330  } else {
15331#line 1225
15332    goto ldv_40376;
15333  }
15334  }
15335  ldv_40376: ;
15336#line 1227
15337  return;
15338}
15339}
15340#line 1246 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
15341static struct eni_tx *alloc_tx(struct eni_dev *eni_dev , int ubr ) 
15342{ int i ;
15343  void *__cil_tmp4 ;
15344  unsigned long __cil_tmp5 ;
15345  void *__cil_tmp6 ;
15346  unsigned long __cil_tmp7 ;
15347  unsigned long __cil_tmp8 ;
15348  struct eni_tx (*__cil_tmp9)[8U] ;
15349  struct eni_tx *__cil_tmp10 ;
15350
15351  {
15352#line 1250
15353  i = ubr == 0;
15354#line 1250
15355  goto ldv_40385;
15356  ldv_40384: ;
15357  {
15358#line 1251
15359  __cil_tmp4 = (void *)0;
15360#line 1251
15361  __cil_tmp5 = (unsigned long )__cil_tmp4;
15362#line 1251
15363  __cil_tmp6 = eni_dev->tx[i].send;
15364#line 1251
15365  __cil_tmp7 = (unsigned long )__cil_tmp6;
15366#line 1251
15367  if (__cil_tmp7 == __cil_tmp5) {
15368    {
15369#line 1251
15370    __cil_tmp8 = (unsigned long )i;
15371#line 1251
15372    __cil_tmp9 = & eni_dev->tx;
15373#line 1251
15374    __cil_tmp10 = (struct eni_tx *)__cil_tmp9;
15375#line 1251
15376    return (__cil_tmp10 + __cil_tmp8);
15377    }
15378  } else {
15379
15380  }
15381  }
15382#line 1250
15383  i = i + 1;
15384  ldv_40385: ;
15385#line 1250
15386  if (i <= 7) {
15387#line 1251
15388    goto ldv_40384;
15389  } else {
15390#line 1253
15391    goto ldv_40386;
15392  }
15393  ldv_40386: ;
15394#line 1252
15395  return ((struct eni_tx *)0);
15396}
15397}
15398#line 1256 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
15399static int comp_tx(struct eni_dev *eni_dev , int *pcr , int reserved , int *pre ,
15400                   int *res , int unlimited ) 
15401{ int pre_div[4U] ;
15402  int tmp ;
15403  int div ;
15404  int div___0 ;
15405  int __cil_tmp11 ;
15406  int __cil_tmp12 ;
15407  int __cil_tmp13 ;
15408  int __cil_tmp14 ;
15409  int __cil_tmp15 ;
15410  int __cil_tmp16 ;
15411  int __cil_tmp17 ;
15412  int __cil_tmp18 ;
15413  int __cil_tmp19 ;
15414  int __cil_tmp20 ;
15415  int __cil_tmp21 ;
15416  int __cil_tmp22 ;
15417  int __cil_tmp23 ;
15418  int __cil_tmp24 ;
15419  int __cil_tmp25 ;
15420  int __cil_tmp26 ;
15421  int __cil_tmp27 ;
15422  int __cil_tmp28 ;
15423  int __cil_tmp29 ;
15424  int __cil_tmp30 ;
15425  int __cil_tmp31 ;
15426  int __cil_tmp32 ;
15427  int __cil_tmp33 ;
15428  int __cil_tmp34 ;
15429  int __cil_tmp35 ;
15430
15431  {
15432#line 1259
15433  pre_div[0] = 4;
15434#line 1259
15435  pre_div[1] = 16;
15436#line 1259
15437  pre_div[2] = 128;
15438#line 1259
15439  pre_div[3] = 2048;
15440#line 1262
15441  if (unlimited != 0) {
15442#line 1262
15443    tmp = 0;
15444#line 1262
15445    *res = tmp;
15446#line 1262
15447    *pre = tmp;
15448  } else {
15449    {
15450#line 1264
15451    __cil_tmp11 = *pcr;
15452#line 1264
15453    if (__cil_tmp11 > 0) {
15454#line 1267
15455      *pre = 0;
15456#line 1267
15457      goto ldv_40399;
15458      ldv_40398: ;
15459      {
15460#line 1268
15461      __cil_tmp12 = *pcr;
15462#line 1268
15463      __cil_tmp13 = 390625 / pre_div[*pre];
15464#line 1268
15465      if (__cil_tmp13 <= __cil_tmp12) {
15466#line 1268
15467        goto ldv_40397;
15468      } else {
15469
15470      }
15471      }
15472#line 1267
15473      __cil_tmp14 = *pre;
15474#line 1267
15475      *pre = __cil_tmp14 + 1;
15476      ldv_40399: ;
15477      {
15478#line 1267
15479      __cil_tmp15 = *pre;
15480#line 1267
15481      if (__cil_tmp15 <= 2) {
15482#line 1268
15483        goto ldv_40398;
15484      } else {
15485#line 1270
15486        goto ldv_40397;
15487      }
15488      }
15489      ldv_40397: 
15490#line 1269
15491      __cil_tmp16 = *pcr;
15492#line 1269
15493      div = pre_div[*pre] * __cil_tmp16;
15494#line 1271
15495      __cil_tmp17 = 25000000 / div;
15496#line 1271
15497      *res = __cil_tmp17 + -1;
15498    } else {
15499      {
15500#line 1276
15501      __cil_tmp18 = *pcr;
15502#line 1276
15503      if (__cil_tmp18 == 0) {
15504#line 1276
15505        __cil_tmp19 = eni_dev->tx_bw;
15506#line 1276
15507        *pcr = __cil_tmp19 + reserved;
15508      } else {
15509
15510      }
15511      }
15512#line 1277
15513      *pre = 3;
15514#line 1277
15515      goto ldv_40403;
15516      ldv_40402: ;
15517      {
15518#line 1278
15519      __cil_tmp20 = *pcr;
15520#line 1278
15521      __cil_tmp21 = - __cil_tmp20;
15522#line 1278
15523      __cil_tmp22 = 390625 / pre_div[*pre];
15524#line 1278
15525      if (__cil_tmp22 > __cil_tmp21) {
15526#line 1278
15527        goto ldv_40401;
15528      } else {
15529
15530      }
15531      }
15532#line 1277
15533      __cil_tmp23 = *pre;
15534#line 1277
15535      *pre = __cil_tmp23 - 1;
15536      ldv_40403: ;
15537      {
15538#line 1277
15539      __cil_tmp24 = *pre;
15540#line 1277
15541      if (__cil_tmp24 >= 0) {
15542#line 1278
15543        goto ldv_40402;
15544      } else {
15545#line 1280
15546        goto ldv_40401;
15547      }
15548      }
15549      ldv_40401: ;
15550      {
15551#line 1279
15552      __cil_tmp25 = *pre;
15553#line 1279
15554      if (__cil_tmp25 <= 2) {
15555#line 1279
15556        __cil_tmp26 = *pre;
15557#line 1279
15558        *pre = __cil_tmp26 + 1;
15559      } else {
15560
15561      }
15562      }
15563#line 1280
15564      __cil_tmp27 = *pcr;
15565#line 1280
15566      __cil_tmp28 = - __cil_tmp27;
15567#line 1280
15568      div___0 = pre_div[*pre] * __cil_tmp28;
15569#line 1282
15570      __cil_tmp29 = div___0 + 24999999;
15571#line 1282
15572      __cil_tmp30 = __cil_tmp29 / div___0;
15573#line 1282
15574      *res = __cil_tmp30 + -1;
15575    }
15576    }
15577    {
15578#line 1284
15579    __cil_tmp31 = *res;
15580#line 1284
15581    if (__cil_tmp31 < 0) {
15582#line 1284
15583      *res = 0;
15584    } else {
15585
15586    }
15587    }
15588    {
15589#line 1285
15590    __cil_tmp32 = *res;
15591#line 1285
15592    if (__cil_tmp32 > 63) {
15593#line 1285
15594      *res = 63;
15595    } else {
15596
15597    }
15598    }
15599  }
15600#line 1287
15601  __cil_tmp33 = *res;
15602#line 1287
15603  __cil_tmp34 = __cil_tmp33 + 1;
15604#line 1287
15605  __cil_tmp35 = 25000000 / pre_div[*pre];
15606#line 1287
15607  *pcr = __cil_tmp35 / __cil_tmp34;
15608#line 1289
15609  return (0);
15610}
15611}
15612#line 1293 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
15613static int reserve_or_set_tx(struct atm_vcc *vcc , struct atm_trafprm *txtp , int set_rsv ,
15614                             int set_shp ) 
15615{ struct eni_dev *eni_dev ;
15616  struct eni_vcc *eni_vcc ;
15617  struct eni_tx *tx ;
15618  unsigned long size ;
15619  void *mem ;
15620  int rate ;
15621  int ubr ;
15622  int unlimited ;
15623  int new_tx ;
15624  int pre ;
15625  int res ;
15626  int order ;
15627  int error ;
15628  int tmp ;
15629  int tmp___0 ;
15630  unsigned int tmp___1 ;
15631  struct atm_dev *__cil_tmp21 ;
15632  void *__cil_tmp22 ;
15633  void *__cil_tmp23 ;
15634  struct atm_trafprm  const  *__cil_tmp24 ;
15635  unsigned char __cil_tmp25 ;
15636  unsigned int __cil_tmp26 ;
15637  int __cil_tmp27 ;
15638  int __cil_tmp28 ;
15639  int __cil_tmp29 ;
15640  int __cil_tmp30 ;
15641  int __cil_tmp31 ;
15642  struct eni_tx *__cil_tmp32 ;
15643  unsigned long __cil_tmp33 ;
15644  struct eni_tx *__cil_tmp34 ;
15645  unsigned long __cil_tmp35 ;
15646  struct eni_tx *__cil_tmp36 ;
15647  unsigned long __cil_tmp37 ;
15648  struct eni_tx *__cil_tmp38 ;
15649  unsigned long __cil_tmp39 ;
15650  void *__cil_tmp40 ;
15651  unsigned long __cil_tmp41 ;
15652  unsigned long __cil_tmp42 ;
15653  struct eni_tx *__cil_tmp43 ;
15654  unsigned long __cil_tmp44 ;
15655  unsigned long __cil_tmp45 ;
15656  struct sk_buff_head *__cil_tmp46 ;
15657  int __cil_tmp47 ;
15658  int __cil_tmp48 ;
15659  unsigned long __cil_tmp49 ;
15660  void *__cil_tmp50 ;
15661  long __cil_tmp51 ;
15662  void *__cil_tmp52 ;
15663  long __cil_tmp53 ;
15664  long __cil_tmp54 ;
15665  long __cil_tmp55 ;
15666  int __cil_tmp56 ;
15667  int __cil_tmp57 ;
15668  int __cil_tmp58 ;
15669  unsigned int __cil_tmp59 ;
15670  int __cil_tmp60 ;
15671  int __cil_tmp61 ;
15672  int __cil_tmp62 ;
15673  unsigned long __cil_tmp63 ;
15674  void *__cil_tmp64 ;
15675  void volatile   *__cil_tmp65 ;
15676  void volatile   *__cil_tmp66 ;
15677  int __cil_tmp67 ;
15678  int __cil_tmp68 ;
15679  int __cil_tmp69 ;
15680  unsigned long __cil_tmp70 ;
15681  void *__cil_tmp71 ;
15682  void const volatile   *__cil_tmp72 ;
15683  void const volatile   *__cil_tmp73 ;
15684  unsigned long __cil_tmp74 ;
15685  int __cil_tmp75 ;
15686  int __cil_tmp76 ;
15687  int __cil_tmp77 ;
15688  int __cil_tmp78 ;
15689  int __cil_tmp79 ;
15690  int __cil_tmp80 ;
15691  int __cil_tmp81 ;
15692  int __cil_tmp82 ;
15693  int __cil_tmp83 ;
15694  int __cil_tmp84 ;
15695  int __cil_tmp85 ;
15696  int __cil_tmp86 ;
15697  int __cil_tmp87 ;
15698
15699  {
15700  {
15701#line 1296
15702  __cil_tmp21 = vcc->dev;
15703#line 1296
15704  __cil_tmp22 = __cil_tmp21->dev_data;
15705#line 1296
15706  eni_dev = (struct eni_dev *)__cil_tmp22;
15707#line 1297
15708  __cil_tmp23 = vcc->dev_data;
15709#line 1297
15710  eni_vcc = (struct eni_vcc *)__cil_tmp23;
15711#line 1305
15712  __cil_tmp24 = (struct atm_trafprm  const  *)txtp;
15713#line 1305
15714  rate = atm_pcr_goal(__cil_tmp24);
15715#line 1306
15716  __cil_tmp25 = txtp->traffic_class;
15717#line 1306
15718  __cil_tmp26 = (unsigned int )__cil_tmp25;
15719#line 1306
15720  ubr = __cil_tmp26 == 1U;
15721  }
15722#line 1307
15723  if (ubr != 0) {
15724#line 1307
15725    if (rate == 0) {
15726#line 1307
15727      tmp = 1;
15728    } else
15729#line 1307
15730    if (rate < -353206) {
15731#line 1307
15732      tmp = 1;
15733    } else
15734#line 1307
15735    if (rate > 353206) {
15736#line 1307
15737      tmp = 1;
15738    } else {
15739#line 1307
15740      tmp = 0;
15741    }
15742  } else {
15743#line 1307
15744    tmp = 0;
15745  }
15746#line 1307
15747  unlimited = tmp;
15748#line 1309
15749  if (unlimited == 0) {
15750#line 1310
15751    __cil_tmp27 = eni_dev->tx_mult;
15752#line 1310
15753    __cil_tmp28 = txtp->max_sdu;
15754#line 1310
15755    __cil_tmp29 = __cil_tmp28 * __cil_tmp27;
15756#line 1310
15757    __cil_tmp30 = __cil_tmp29 / 100;
15758#line 1310
15759    size = (unsigned long )__cil_tmp30;
15760#line 1311
15761    if (size > 131072UL) {
15762      {
15763#line 1311
15764      __cil_tmp31 = txtp->max_sdu;
15765#line 1311
15766      if (__cil_tmp31 <= 131072) {
15767#line 1313
15768        size = 131072UL;
15769      } else {
15770
15771      }
15772      }
15773    } else {
15774
15775    }
15776  } else {
15777    {
15778#line 1316
15779    __cil_tmp32 = (struct eni_tx *)0;
15780#line 1316
15781    __cil_tmp33 = (unsigned long )__cil_tmp32;
15782#line 1316
15783    __cil_tmp34 = eni_dev->ubr;
15784#line 1316
15785    __cil_tmp35 = (unsigned long )__cil_tmp34;
15786#line 1316
15787    if (__cil_tmp35 != __cil_tmp33) {
15788#line 1317
15789      eni_vcc->tx = eni_dev->ubr;
15790#line 1318
15791      txtp->pcr = 353207;
15792#line 1319
15793      return (0);
15794    } else {
15795
15796    }
15797    }
15798#line 1321
15799    size = 131072UL;
15800  }
15801#line 1323
15802  __cil_tmp36 = (struct eni_tx *)0;
15803#line 1323
15804  __cil_tmp37 = (unsigned long )__cil_tmp36;
15805#line 1323
15806  __cil_tmp38 = eni_vcc->tx;
15807#line 1323
15808  __cil_tmp39 = (unsigned long )__cil_tmp38;
15809#line 1323
15810  new_tx = __cil_tmp39 == __cil_tmp37;
15811#line 1324
15812  mem = (void *)0;
15813#line 1325
15814  if (new_tx == 0) {
15815#line 1325
15816    tx = eni_vcc->tx;
15817  } else {
15818    {
15819#line 1327
15820    mem = eni_alloc_mem(eni_dev, & size);
15821    }
15822    {
15823#line 1328
15824    __cil_tmp40 = (void *)0;
15825#line 1328
15826    __cil_tmp41 = (unsigned long )__cil_tmp40;
15827#line 1328
15828    __cil_tmp42 = (unsigned long )mem;
15829#line 1328
15830    if (__cil_tmp42 == __cil_tmp41) {
15831#line 1328
15832      return (-105);
15833    } else {
15834
15835    }
15836    }
15837    {
15838#line 1329
15839    tx = alloc_tx(eni_dev, unlimited);
15840    }
15841    {
15842#line 1330
15843    __cil_tmp43 = (struct eni_tx *)0;
15844#line 1330
15845    __cil_tmp44 = (unsigned long )__cil_tmp43;
15846#line 1330
15847    __cil_tmp45 = (unsigned long )tx;
15848#line 1330
15849    if (__cil_tmp45 == __cil_tmp44) {
15850      {
15851#line 1331
15852      eni_free_mem(eni_dev, mem, size);
15853      }
15854#line 1332
15855      return (-16);
15856    } else {
15857
15858    }
15859    }
15860    {
15861#line 1335
15862    tmp___0 = 0;
15863#line 1335
15864    tx->shaping = tmp___0;
15865#line 1335
15866    tx->reserved = tmp___0;
15867#line 1336
15868    tx->send = mem;
15869#line 1337
15870    tx->words = size >> 2;
15871#line 1338
15872    __cil_tmp46 = & tx->backlog;
15873#line 1338
15874    skb_queue_head_init(__cil_tmp46);
15875#line 1339
15876    order = 0;
15877    }
15878#line 1339
15879    goto ldv_40424;
15880    ldv_40423: 
15881#line 1339
15882    order = order + 1;
15883    ldv_40424: ;
15884    {
15885#line 1339
15886    __cil_tmp47 = order + 10;
15887#line 1339
15888    __cil_tmp48 = 1 << __cil_tmp47;
15889#line 1339
15890    __cil_tmp49 = (unsigned long )__cil_tmp48;
15891#line 1339
15892    if (__cil_tmp49 < size) {
15893#line 1340
15894      goto ldv_40423;
15895    } else {
15896#line 1342
15897      goto ldv_40425;
15898    }
15899    }
15900    ldv_40425: 
15901    {
15902#line 1340
15903    __cil_tmp50 = eni_dev->ram;
15904#line 1340
15905    __cil_tmp51 = (long )__cil_tmp50;
15906#line 1340
15907    __cil_tmp52 = tx->send;
15908#line 1340
15909    __cil_tmp53 = (long )__cil_tmp52;
15910#line 1340
15911    __cil_tmp54 = __cil_tmp53 - __cil_tmp51;
15912#line 1340
15913    __cil_tmp55 = __cil_tmp54 >> 10;
15914#line 1340
15915    __cil_tmp56 = (int )__cil_tmp55;
15916#line 1340
15917    __cil_tmp57 = order << 11;
15918#line 1340
15919    __cil_tmp58 = __cil_tmp57 | __cil_tmp56;
15920#line 1340
15921    __cil_tmp59 = (unsigned int )__cil_tmp58;
15922#line 1340
15923    __cil_tmp60 = tx->index;
15924#line 1340
15925    __cil_tmp61 = __cil_tmp60 + 4;
15926#line 1340
15927    __cil_tmp62 = __cil_tmp61 * 16;
15928#line 1340
15929    __cil_tmp63 = (unsigned long )__cil_tmp62;
15930#line 1340
15931    __cil_tmp64 = eni_dev->reg;
15932#line 1340
15933    __cil_tmp65 = (void volatile   *)__cil_tmp64;
15934#line 1340
15935    __cil_tmp66 = __cil_tmp65 + __cil_tmp63;
15936#line 1340
15937    writel(__cil_tmp59, __cil_tmp66);
15938#line 1343
15939    __cil_tmp67 = tx->index;
15940#line 1343
15941    __cil_tmp68 = __cil_tmp67 * 16;
15942#line 1343
15943    __cil_tmp69 = __cil_tmp68 + 72;
15944#line 1343
15945    __cil_tmp70 = (unsigned long )__cil_tmp69;
15946#line 1343
15947    __cil_tmp71 = eni_dev->reg;
15948#line 1343
15949    __cil_tmp72 = (void const volatile   *)__cil_tmp71;
15950#line 1343
15951    __cil_tmp73 = __cil_tmp72 + __cil_tmp70;
15952#line 1343
15953    tmp___1 = readl(__cil_tmp73);
15954#line 1343
15955    __cil_tmp74 = (unsigned long )tmp___1;
15956#line 1343
15957    tx->tx_pos = __cil_tmp74 & 32767UL;
15958    }
15959  }
15960  {
15961#line 1346
15962  __cil_tmp75 = tx->reserved;
15963#line 1346
15964  error = comp_tx(eni_dev, & rate, __cil_tmp75, & pre, & res, unlimited);
15965  }
15966#line 1347
15967  if (error == 0) {
15968    {
15969#line 1347
15970    __cil_tmp76 = txtp->min_pcr;
15971#line 1347
15972    if (__cil_tmp76 > rate) {
15973#line 1347
15974      error = -22;
15975    } else {
15976
15977    }
15978    }
15979  } else {
15980
15981  }
15982#line 1348
15983  if (error == 0) {
15984    {
15985#line 1348
15986    __cil_tmp77 = txtp->max_pcr;
15987#line 1348
15988    if (__cil_tmp77 != 0) {
15989      {
15990#line 1348
15991      __cil_tmp78 = txtp->max_pcr;
15992#line 1348
15993      if (__cil_tmp78 != -1) {
15994        {
15995#line 1348
15996        __cil_tmp79 = txtp->max_pcr;
15997#line 1348
15998        if (__cil_tmp79 < rate) {
15999#line 1349
16000          error = -22;
16001        } else {
16002
16003        }
16004        }
16005      } else {
16006
16007      }
16008      }
16009    } else {
16010
16011    }
16012    }
16013  } else {
16014
16015  }
16016#line 1350
16017  if (error == 0) {
16018#line 1350
16019    if (ubr == 0) {
16020      {
16021#line 1350
16022      __cil_tmp80 = tx->reserved;
16023#line 1350
16024      __cil_tmp81 = eni_dev->tx_bw;
16025#line 1350
16026      __cil_tmp82 = __cil_tmp81 + __cil_tmp80;
16027#line 1350
16028      if (__cil_tmp82 < rate) {
16029#line 1351
16030        error = -22;
16031      } else {
16032
16033      }
16034      }
16035    } else {
16036
16037    }
16038  } else {
16039
16040  }
16041#line 1352
16042  if (error == 0) {
16043#line 1352
16044    if (set_rsv != 0) {
16045#line 1352
16046      if (set_shp == 0) {
16047        {
16048#line 1352
16049        __cil_tmp83 = tx->shaping;
16050#line 1352
16051        if (__cil_tmp83 > rate) {
16052#line 1353
16053          error = -22;
16054        } else {
16055
16056        }
16057        }
16058      } else {
16059
16060      }
16061    } else {
16062
16063    }
16064  } else {
16065
16066  }
16067#line 1354
16068  if (error == 0) {
16069#line 1354
16070    if (set_rsv == 0) {
16071      {
16072#line 1354
16073      __cil_tmp84 = tx->reserved;
16074#line 1354
16075      if (__cil_tmp84 < rate) {
16076#line 1354
16077        if (ubr == 0) {
16078#line 1355
16079          error = -22;
16080        } else {
16081
16082        }
16083      } else {
16084
16085      }
16086      }
16087    } else {
16088
16089    }
16090  } else {
16091
16092  }
16093#line 1356
16094  if (error != 0) {
16095#line 1357
16096    if (new_tx != 0) {
16097      {
16098#line 1358
16099      tx->send = (void *)0;
16100#line 1359
16101      eni_free_mem(eni_dev, mem, size);
16102      }
16103    } else {
16104
16105    }
16106#line 1361
16107    return (error);
16108  } else {
16109
16110  }
16111#line 1363
16112  txtp->pcr = rate;
16113#line 1364
16114  if (set_rsv != 0) {
16115#line 1364
16116    if (ubr == 0) {
16117#line 1365
16118      __cil_tmp85 = tx->reserved;
16119#line 1365
16120      __cil_tmp86 = eni_dev->tx_bw;
16121#line 1365
16122      eni_dev->tx_bw = __cil_tmp86 + __cil_tmp85;
16123#line 1366
16124      tx->reserved = rate;
16125#line 1367
16126      __cil_tmp87 = eni_dev->tx_bw;
16127#line 1367
16128      eni_dev->tx_bw = __cil_tmp87 - rate;
16129    } else {
16130
16131    }
16132  } else {
16133
16134  }
16135#line 1369
16136  if (set_shp != 0) {
16137#line 1369
16138    goto _L;
16139  } else
16140#line 1369
16141  if (unlimited != 0) {
16142#line 1369
16143    if (new_tx != 0) {
16144      _L: 
16145#line 1370
16146      if (unlimited != 0) {
16147#line 1370
16148        if (new_tx != 0) {
16149#line 1370
16150          eni_dev->ubr = tx;
16151        } else {
16152
16153        }
16154      } else {
16155
16156      }
16157#line 1371
16158      tx->prescaler = pre;
16159#line 1372
16160      tx->resolution = res;
16161#line 1373
16162      tx->shaping = rate;
16163    } else {
16164
16165    }
16166  } else {
16167
16168  }
16169#line 1375
16170  if (set_shp != 0) {
16171#line 1375
16172    eni_vcc->tx = tx;
16173  } else {
16174
16175  }
16176#line 1377
16177  return (0);
16178}
16179}
16180#line 1381 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
16181static int open_tx_first(struct atm_vcc *vcc ) 
16182{ int tmp ;
16183  void *__cil_tmp3 ;
16184  struct eni_vcc *__cil_tmp4 ;
16185  unsigned char __cil_tmp5 ;
16186  unsigned int __cil_tmp6 ;
16187  void *__cil_tmp7 ;
16188  struct eni_vcc *__cil_tmp8 ;
16189  struct atm_trafprm *__cil_tmp9 ;
16190
16191  {
16192#line 1383
16193  __cil_tmp3 = vcc->dev_data;
16194#line 1383
16195  __cil_tmp4 = (struct eni_vcc *)__cil_tmp3;
16196#line 1383
16197  __cil_tmp4->tx = (struct eni_tx *)0;
16198  {
16199#line 1384
16200  __cil_tmp5 = vcc->qos.txtp.traffic_class;
16201#line 1384
16202  __cil_tmp6 = (unsigned int )__cil_tmp5;
16203#line 1384
16204  if (__cil_tmp6 == 0U) {
16205#line 1384
16206    return (0);
16207  } else {
16208
16209  }
16210  }
16211  {
16212#line 1385
16213  __cil_tmp7 = vcc->dev_data;
16214#line 1385
16215  __cil_tmp8 = (struct eni_vcc *)__cil_tmp7;
16216#line 1385
16217  __cil_tmp8->txing = 0;
16218#line 1386
16219  __cil_tmp9 = & vcc->qos.txtp;
16220#line 1386
16221  tmp = reserve_or_set_tx(vcc, __cil_tmp9, 1, 1);
16222  }
16223#line 1386
16224  return (tmp);
16225}
16226}
16227#line 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
16228static int open_tx_second(struct atm_vcc *vcc ) 
16229{ 
16230
16231  {
16232#line 1392
16233  return (0);
16234}
16235}
16236#line 1396 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
16237static void close_tx(struct atm_vcc *vcc ) 
16238{ wait_queue_t wait ;
16239  struct task_struct *tmp ;
16240  struct eni_dev *eni_dev ;
16241  struct eni_vcc *eni_vcc ;
16242  long volatile   __x ;
16243  u8 volatile   *__ptr ;
16244  struct task_struct *tmp___0 ;
16245  u16 volatile   *__ptr___0 ;
16246  struct task_struct *tmp___1 ;
16247  u32 volatile   *__ptr___1 ;
16248  struct task_struct *tmp___2 ;
16249  u64 volatile   *__ptr___2 ;
16250  struct task_struct *tmp___3 ;
16251  int txing ;
16252  struct sk_buff *tmp___4 ;
16253  int tmp___5 ;
16254  long volatile   __x___0 ;
16255  u8 volatile   *__ptr___3 ;
16256  struct task_struct *tmp___6 ;
16257  u16 volatile   *__ptr___4 ;
16258  struct task_struct *tmp___7 ;
16259  u32 volatile   *__ptr___5 ;
16260  struct task_struct *tmp___8 ;
16261  u64 volatile   *__ptr___6 ;
16262  struct task_struct *tmp___9 ;
16263  long volatile   __x___1 ;
16264  u8 volatile   *__ptr___7 ;
16265  struct task_struct *tmp___10 ;
16266  u16 volatile   *__ptr___8 ;
16267  struct task_struct *tmp___11 ;
16268  u32 volatile   *__ptr___9 ;
16269  struct task_struct *tmp___12 ;
16270  u64 volatile   *__ptr___10 ;
16271  struct task_struct *tmp___13 ;
16272  unsigned int tmp___14 ;
16273  unsigned int tmp___15 ;
16274  void *__cil_tmp38 ;
16275  struct eni_tx *__cil_tmp39 ;
16276  unsigned long __cil_tmp40 ;
16277  struct eni_tx *__cil_tmp41 ;
16278  unsigned long __cil_tmp42 ;
16279  struct atm_dev *__cil_tmp43 ;
16280  void *__cil_tmp44 ;
16281  wait_queue_head_t *__cil_tmp45 ;
16282  long volatile   *__cil_tmp46 ;
16283  long volatile   *__cil_tmp47 ;
16284  long volatile   *__cil_tmp48 ;
16285  long volatile   *__cil_tmp49 ;
16286  struct tasklet_struct *__cil_tmp50 ;
16287  struct eni_tx *__cil_tmp51 ;
16288  struct sk_buff_head *__cil_tmp52 ;
16289  struct sk_buff *__cil_tmp53 ;
16290  unsigned long __cil_tmp54 ;
16291  unsigned long __cil_tmp55 ;
16292  int __cil_tmp56 ;
16293  struct tasklet_struct *__cil_tmp57 ;
16294  long volatile   *__cil_tmp58 ;
16295  long volatile   *__cil_tmp59 ;
16296  long volatile   *__cil_tmp60 ;
16297  long volatile   *__cil_tmp61 ;
16298  long volatile   *__cil_tmp62 ;
16299  long volatile   *__cil_tmp63 ;
16300  long volatile   *__cil_tmp64 ;
16301  long volatile   *__cil_tmp65 ;
16302  wait_queue_head_t *__cil_tmp66 ;
16303  struct eni_tx *__cil_tmp67 ;
16304  unsigned long __cil_tmp68 ;
16305  struct eni_tx *__cil_tmp69 ;
16306  unsigned long __cil_tmp70 ;
16307  struct eni_tx *__cil_tmp71 ;
16308  int __cil_tmp72 ;
16309  int __cil_tmp73 ;
16310  int __cil_tmp74 ;
16311  unsigned long __cil_tmp75 ;
16312  void *__cil_tmp76 ;
16313  void const volatile   *__cil_tmp77 ;
16314  void const volatile   *__cil_tmp78 ;
16315  struct eni_tx *__cil_tmp79 ;
16316  int __cil_tmp80 ;
16317  int __cil_tmp81 ;
16318  int __cil_tmp82 ;
16319  unsigned long __cil_tmp83 ;
16320  void *__cil_tmp84 ;
16321  void const volatile   *__cil_tmp85 ;
16322  void const volatile   *__cil_tmp86 ;
16323  struct eni_tx *__cil_tmp87 ;
16324  void *__cil_tmp88 ;
16325  struct eni_tx *__cil_tmp89 ;
16326  unsigned long __cil_tmp90 ;
16327  unsigned long __cil_tmp91 ;
16328  struct eni_tx *__cil_tmp92 ;
16329  struct eni_tx *__cil_tmp93 ;
16330  int __cil_tmp94 ;
16331  int __cil_tmp95 ;
16332
16333  {
16334  {
16335#line 1398
16336  tmp = get_current();
16337#line 1398
16338  wait.flags = 0U;
16339#line 1398
16340  wait.private = (void *)tmp;
16341#line 1398
16342  wait.func = & default_wake_function;
16343#line 1398
16344  wait.task_list.next = (struct list_head *)0;
16345#line 1398
16346  wait.task_list.prev = (struct list_head *)0;
16347#line 1402
16348  __cil_tmp38 = vcc->dev_data;
16349#line 1402
16350  eni_vcc = (struct eni_vcc *)__cil_tmp38;
16351  }
16352  {
16353#line 1403
16354  __cil_tmp39 = (struct eni_tx *)0;
16355#line 1403
16356  __cil_tmp40 = (unsigned long )__cil_tmp39;
16357#line 1403
16358  __cil_tmp41 = eni_vcc->tx;
16359#line 1403
16360  __cil_tmp42 = (unsigned long )__cil_tmp41;
16361#line 1403
16362  if (__cil_tmp42 == __cil_tmp40) {
16363#line 1403
16364    return;
16365  } else {
16366
16367  }
16368  }
16369  {
16370#line 1404
16371  __cil_tmp43 = vcc->dev;
16372#line 1404
16373  __cil_tmp44 = __cil_tmp43->dev_data;
16374#line 1404
16375  eni_dev = (struct eni_dev *)__cil_tmp44;
16376#line 1407
16377  __cil_tmp45 = & eni_dev->tx_wait;
16378#line 1407
16379  add_wait_queue(__cil_tmp45, & wait);
16380#line 1408
16381  __x = (long volatile   )2L;
16382  }
16383#line 1408
16384  if (1) {
16385#line 1408
16386    goto case_8;
16387  } else {
16388#line 1408
16389    goto switch_default;
16390#line 1408
16391    if (0) {
16392      {
16393#line 1408
16394      tmp___0 = get_current();
16395#line 1408
16396      __cil_tmp46 = & tmp___0->state;
16397#line 1408
16398      __ptr = (u8 volatile   *)__cil_tmp46;
16399#line 1408
16400      __asm__  volatile   ("xchgb %0,%1": "=q" (__x), "+m" (*__ptr): "0" (__x): "memory");
16401      }
16402#line 1408
16403      goto ldv_40441;
16404      {
16405#line 1408
16406      tmp___1 = get_current();
16407#line 1408
16408      __cil_tmp47 = & tmp___1->state;
16409#line 1408
16410      __ptr___0 = (u16 volatile   *)__cil_tmp47;
16411#line 1408
16412      __asm__  volatile   ("xchgw %0,%1": "=r" (__x), "+m" (*__ptr___0): "0" (__x): "memory");
16413      }
16414#line 1408
16415      goto ldv_40441;
16416      {
16417#line 1408
16418      tmp___2 = get_current();
16419#line 1408
16420      __cil_tmp48 = & tmp___2->state;
16421#line 1408
16422      __ptr___1 = (u32 volatile   *)__cil_tmp48;
16423#line 1408
16424      __asm__  volatile   ("xchgl %0,%1": "=r" (__x), "+m" (*__ptr___1): "0" (__x): "memory");
16425      }
16426#line 1408
16427      goto ldv_40441;
16428      case_8: 
16429      {
16430#line 1408
16431      tmp___3 = get_current();
16432#line 1408
16433      __cil_tmp49 = & tmp___3->state;
16434#line 1408
16435      __ptr___2 = (u64 volatile   *)__cil_tmp49;
16436#line 1408
16437      __asm__  volatile   ("xchgq %0,%1": "=r" (__x), "+m" (*__ptr___2): "0" (__x): "memory");
16438      }
16439#line 1408
16440      goto ldv_40441;
16441      switch_default: 
16442      {
16443#line 1408
16444      __xchg_wrong_size();
16445      }
16446    } else {
16447
16448    }
16449  }
16450  ldv_40441: ;
16451  ldv_40464: 
16452  {
16453#line 1412
16454  __cil_tmp50 = & eni_dev->task;
16455#line 1412
16456  tasklet_disable(__cil_tmp50);
16457#line 1413
16458  __cil_tmp51 = eni_vcc->tx;
16459#line 1413
16460  __cil_tmp52 = & __cil_tmp51->backlog;
16461#line 1413
16462  tmp___4 = skb_peek(__cil_tmp52);
16463  }
16464  {
16465#line 1413
16466  __cil_tmp53 = (struct sk_buff *)0;
16467#line 1413
16468  __cil_tmp54 = (unsigned long )__cil_tmp53;
16469#line 1413
16470  __cil_tmp55 = (unsigned long )tmp___4;
16471#line 1413
16472  if (__cil_tmp55 != __cil_tmp54) {
16473#line 1413
16474    tmp___5 = 1;
16475  } else {
16476    {
16477#line 1413
16478    __cil_tmp56 = eni_vcc->txing;
16479#line 1413
16480    if (__cil_tmp56 != 0) {
16481#line 1413
16482      tmp___5 = 1;
16483    } else {
16484#line 1413
16485      tmp___5 = 0;
16486    }
16487    }
16488  }
16489  }
16490  {
16491#line 1413
16492  txing = tmp___5;
16493#line 1414
16494  __cil_tmp57 = & eni_dev->task;
16495#line 1414
16496  tasklet_enable(__cil_tmp57);
16497  }
16498#line 1415
16499  if (txing == 0) {
16500#line 1415
16501    goto ldv_40451;
16502  } else {
16503
16504  }
16505  {
16506#line 1417
16507  schedule();
16508#line 1418
16509  __x___0 = (long volatile   )2L;
16510  }
16511#line 1418
16512  if (1) {
16513#line 1418
16514    goto case_8___0;
16515  } else {
16516#line 1418
16517    goto switch_default___0;
16518#line 1418
16519    if (0) {
16520      {
16521#line 1418
16522      tmp___6 = get_current();
16523#line 1418
16524      __cil_tmp58 = & tmp___6->state;
16525#line 1418
16526      __ptr___3 = (u8 volatile   *)__cil_tmp58;
16527#line 1418
16528      __asm__  volatile   ("xchgb %0,%1": "=q" (__x___0), "+m" (*__ptr___3): "0" (__x___0): "memory");
16529      }
16530#line 1418
16531      goto ldv_40455;
16532      {
16533#line 1418
16534      tmp___7 = get_current();
16535#line 1418
16536      __cil_tmp59 = & tmp___7->state;
16537#line 1418
16538      __ptr___4 = (u16 volatile   *)__cil_tmp59;
16539#line 1418
16540      __asm__  volatile   ("xchgw %0,%1": "=r" (__x___0), "+m" (*__ptr___4): "0" (__x___0): "memory");
16541      }
16542#line 1418
16543      goto ldv_40455;
16544      {
16545#line 1418
16546      tmp___8 = get_current();
16547#line 1418
16548      __cil_tmp60 = & tmp___8->state;
16549#line 1418
16550      __ptr___5 = (u32 volatile   *)__cil_tmp60;
16551#line 1418
16552      __asm__  volatile   ("xchgl %0,%1": "=r" (__x___0), "+m" (*__ptr___5): "0" (__x___0): "memory");
16553      }
16554#line 1418
16555      goto ldv_40455;
16556      case_8___0: 
16557      {
16558#line 1418
16559      tmp___9 = get_current();
16560#line 1418
16561      __cil_tmp61 = & tmp___9->state;
16562#line 1418
16563      __ptr___6 = (u64 volatile   *)__cil_tmp61;
16564#line 1418
16565      __asm__  volatile   ("xchgq %0,%1": "=r" (__x___0), "+m" (*__ptr___6): "0" (__x___0): "memory");
16566      }
16567#line 1418
16568      goto ldv_40455;
16569      switch_default___0: 
16570      {
16571#line 1418
16572      __xchg_wrong_size();
16573      }
16574    } else {
16575
16576    }
16577  }
16578  ldv_40455: ;
16579#line 1419
16580  goto ldv_40464;
16581  ldv_40451: 
16582#line 1420
16583  __x___1 = (long volatile   )0L;
16584#line 1420
16585  if (1) {
16586#line 1420
16587    goto case_8___1;
16588  } else {
16589#line 1420
16590    goto switch_default___1;
16591#line 1420
16592    if (0) {
16593      {
16594#line 1420
16595      tmp___10 = get_current();
16596#line 1420
16597      __cil_tmp62 = & tmp___10->state;
16598#line 1420
16599      __ptr___7 = (u8 volatile   *)__cil_tmp62;
16600#line 1420
16601      __asm__  volatile   ("xchgb %0,%1": "=q" (__x___1), "+m" (*__ptr___7): "0" (__x___1): "memory");
16602      }
16603#line 1420
16604      goto ldv_40468;
16605      {
16606#line 1420
16607      tmp___11 = get_current();
16608#line 1420
16609      __cil_tmp63 = & tmp___11->state;
16610#line 1420
16611      __ptr___8 = (u16 volatile   *)__cil_tmp63;
16612#line 1420
16613      __asm__  volatile   ("xchgw %0,%1": "=r" (__x___1), "+m" (*__ptr___8): "0" (__x___1): "memory");
16614      }
16615#line 1420
16616      goto ldv_40468;
16617      {
16618#line 1420
16619      tmp___12 = get_current();
16620#line 1420
16621      __cil_tmp64 = & tmp___12->state;
16622#line 1420
16623      __ptr___9 = (u32 volatile   *)__cil_tmp64;
16624#line 1420
16625      __asm__  volatile   ("xchgl %0,%1": "=r" (__x___1), "+m" (*__ptr___9): "0" (__x___1): "memory");
16626      }
16627#line 1420
16628      goto ldv_40468;
16629      case_8___1: 
16630      {
16631#line 1420
16632      tmp___13 = get_current();
16633#line 1420
16634      __cil_tmp65 = & tmp___13->state;
16635#line 1420
16636      __ptr___10 = (u64 volatile   *)__cil_tmp65;
16637#line 1420
16638      __asm__  volatile   ("xchgq %0,%1": "=r" (__x___1), "+m" (*__ptr___10): "0" (__x___1): "memory");
16639      }
16640#line 1420
16641      goto ldv_40468;
16642      switch_default___1: 
16643      {
16644#line 1420
16645      __xchg_wrong_size();
16646      }
16647    } else {
16648
16649    }
16650  }
16651  ldv_40468: 
16652  {
16653#line 1421
16654  __cil_tmp66 = & eni_dev->tx_wait;
16655#line 1421
16656  remove_wait_queue(__cil_tmp66, & wait);
16657  }
16658  {
16659#line 1422
16660  __cil_tmp67 = eni_dev->ubr;
16661#line 1422
16662  __cil_tmp68 = (unsigned long )__cil_tmp67;
16663#line 1422
16664  __cil_tmp69 = eni_vcc->tx;
16665#line 1422
16666  __cil_tmp70 = (unsigned long )__cil_tmp69;
16667#line 1422
16668  if (__cil_tmp70 != __cil_tmp68) {
16669#line 1428
16670    goto ldv_40478;
16671    ldv_40477: 
16672    {
16673#line 1430
16674    schedule();
16675    }
16676    ldv_40478: 
16677    {
16678#line 1428
16679    __cil_tmp71 = eni_vcc->tx;
16680#line 1428
16681    __cil_tmp72 = __cil_tmp71->index;
16682#line 1428
16683    __cil_tmp73 = __cil_tmp72 * 16;
16684#line 1428
16685    __cil_tmp74 = __cil_tmp73 + 68;
16686#line 1428
16687    __cil_tmp75 = (unsigned long )__cil_tmp74;
16688#line 1428
16689    __cil_tmp76 = eni_dev->reg;
16690#line 1428
16691    __cil_tmp77 = (void const volatile   *)__cil_tmp76;
16692#line 1428
16693    __cil_tmp78 = __cil_tmp77 + __cil_tmp75;
16694#line 1428
16695    tmp___14 = readl(__cil_tmp78);
16696#line 1428
16697    __cil_tmp79 = eni_vcc->tx;
16698#line 1428
16699    __cil_tmp80 = __cil_tmp79->index;
16700#line 1428
16701    __cil_tmp81 = __cil_tmp80 * 16;
16702#line 1428
16703    __cil_tmp82 = __cil_tmp81 + 72;
16704#line 1428
16705    __cil_tmp83 = (unsigned long )__cil_tmp82;
16706#line 1428
16707    __cil_tmp84 = eni_dev->reg;
16708#line 1428
16709    __cil_tmp85 = (void const volatile   *)__cil_tmp84;
16710#line 1428
16711    __cil_tmp86 = __cil_tmp85 + __cil_tmp83;
16712#line 1428
16713    tmp___15 = readl(__cil_tmp86);
16714    }
16715#line 1428
16716    if (tmp___14 != tmp___15) {
16717#line 1430
16718      goto ldv_40477;
16719    } else {
16720#line 1432
16721      goto ldv_40479;
16722    }
16723    ldv_40479: 
16724    {
16725#line 1431
16726    __cil_tmp87 = eni_vcc->tx;
16727#line 1431
16728    __cil_tmp88 = __cil_tmp87->send;
16729#line 1431
16730    __cil_tmp89 = eni_vcc->tx;
16731#line 1431
16732    __cil_tmp90 = __cil_tmp89->words;
16733#line 1431
16734    __cil_tmp91 = __cil_tmp90 << 2;
16735#line 1431
16736    eni_free_mem(eni_dev, __cil_tmp88, __cil_tmp91);
16737#line 1432
16738    __cil_tmp92 = eni_vcc->tx;
16739#line 1432
16740    __cil_tmp92->send = (void *)0;
16741#line 1433
16742    __cil_tmp93 = eni_vcc->tx;
16743#line 1433
16744    __cil_tmp94 = __cil_tmp93->reserved;
16745#line 1433
16746    __cil_tmp95 = eni_dev->tx_bw;
16747#line 1433
16748    eni_dev->tx_bw = __cil_tmp95 + __cil_tmp94;
16749    }
16750  } else {
16751
16752  }
16753  }
16754#line 1435
16755  eni_vcc->tx = (struct eni_tx *)0;
16756#line 1436
16757  return;
16758}
16759}
16760#line 1439 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
16761static int start_tx(struct atm_dev *dev ) 
16762{ struct eni_dev *eni_dev ;
16763  int i ;
16764  struct lock_class_key __key ;
16765  void *__cil_tmp5 ;
16766  wait_queue_head_t *__cil_tmp6 ;
16767  struct sk_buff_head *__cil_tmp7 ;
16768  void *__cil_tmp8 ;
16769  void volatile   *__cil_tmp9 ;
16770  void volatile   *__cil_tmp10 ;
16771
16772  {
16773  {
16774#line 1444
16775  __cil_tmp5 = dev->dev_data;
16776#line 1444
16777  eni_dev = (struct eni_dev *)__cil_tmp5;
16778#line 1445
16779  eni_dev->lost = 0UL;
16780#line 1446
16781  eni_dev->tx_bw = 353207;
16782#line 1447
16783  eni_dev->tx_mult = 300;
16784#line 1448
16785  __cil_tmp6 = & eni_dev->tx_wait;
16786#line 1448
16787  __init_waitqueue_head(__cil_tmp6, & __key);
16788#line 1449
16789  eni_dev->ubr = (struct eni_tx *)0;
16790#line 1450
16791  __cil_tmp7 = & eni_dev->tx_queue;
16792#line 1450
16793  skb_queue_head_init(__cil_tmp7);
16794#line 1451
16795  __cil_tmp8 = eni_dev->reg;
16796#line 1451
16797  __cil_tmp9 = (void volatile   *)__cil_tmp8;
16798#line 1451
16799  __cil_tmp10 = __cil_tmp9 + 40U;
16800#line 1451
16801  writel(0U, __cil_tmp10);
16802#line 1452
16803  i = 0;
16804  }
16805#line 1452
16806  goto ldv_40487;
16807  ldv_40486: 
16808#line 1453
16809  eni_dev->tx[i].send = (void *)0;
16810#line 1454
16811  eni_dev->tx[i].index = i;
16812#line 1452
16813  i = i + 1;
16814  ldv_40487: ;
16815#line 1452
16816  if (i <= 7) {
16817#line 1453
16818    goto ldv_40486;
16819  } else {
16820#line 1455
16821    goto ldv_40488;
16822  }
16823  ldv_40488: ;
16824#line 1456
16825  return (0);
16826}
16827}
16828#line 1478 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
16829static void bug_int(struct atm_dev *dev , unsigned long reason ) 
16830{ unsigned long __cil_tmp3 ;
16831  int __cil_tmp4 ;
16832  unsigned long __cil_tmp5 ;
16833  int __cil_tmp6 ;
16834  unsigned long __cil_tmp7 ;
16835  int __cil_tmp8 ;
16836
16837  {
16838  {
16839#line 1481
16840  __cil_tmp3 = reason & 32UL;
16841#line 1481
16842  if (__cil_tmp3 != 0UL) {
16843    {
16844#line 1482
16845    __cil_tmp4 = dev->number;
16846#line 1482
16847    printk("<2>eni(itf %d): driver error - DMA error\n", __cil_tmp4);
16848    }
16849  } else {
16850
16851  }
16852  }
16853  {
16854#line 1484
16855  __cil_tmp5 = reason & 128UL;
16856#line 1484
16857  if (__cil_tmp5 != 0UL) {
16858    {
16859#line 1485
16860    __cil_tmp6 = dev->number;
16861#line 1485
16862    printk("<2>eni(itf %d): driver error - ident mismatch\n", __cil_tmp6);
16863    }
16864  } else {
16865
16866  }
16867  }
16868  {
16869#line 1487
16870  __cil_tmp7 = reason & 256UL;
16871#line 1487
16872  if (__cil_tmp7 != 0UL) {
16873    {
16874#line 1488
16875    __cil_tmp8 = dev->number;
16876#line 1488
16877    printk("<2>eni(itf %d): driver error - DMA overflow\n", __cil_tmp8);
16878    }
16879  } else {
16880
16881  }
16882  }
16883  {
16884#line 1490
16885  EVENT("---dump ends here---\n", 0UL, 0UL);
16886#line 1491
16887  printk("<5>---recent events---\n");
16888#line 1492
16889  event_dump();
16890  }
16891#line 1493
16892  return;
16893}
16894}
16895#line 1496 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
16896static irqreturn_t eni_int(int irq , void *dev_id ) 
16897{ struct atm_dev *dev ;
16898  struct eni_dev *eni_dev ;
16899  u32 reason ;
16900  unsigned int tmp ;
16901  void *__cil_tmp7 ;
16902  void *__cil_tmp8 ;
16903  void const volatile   *__cil_tmp9 ;
16904  void const volatile   *__cil_tmp10 ;
16905  int __cil_tmp11 ;
16906  void *__cil_tmp12 ;
16907  void const volatile   *__cil_tmp13 ;
16908  void const volatile   *__cil_tmp14 ;
16909  unsigned long __cil_tmp15 ;
16910  unsigned long __cil_tmp16 ;
16911  unsigned long __cil_tmp17 ;
16912  unsigned int __cil_tmp18 ;
16913  struct atmphy_ops  const  *__cil_tmp19 ;
16914  void (*__cil_tmp20)(struct atm_dev * ) ;
16915  spinlock_t *__cil_tmp21 ;
16916  u32 __cil_tmp22 ;
16917  spinlock_t *__cil_tmp23 ;
16918  struct tasklet_struct *__cil_tmp24 ;
16919
16920  {
16921  {
16922#line 1503
16923  dev = (struct atm_dev *)dev_id;
16924#line 1504
16925  __cil_tmp7 = dev->dev_data;
16926#line 1504
16927  eni_dev = (struct eni_dev *)__cil_tmp7;
16928#line 1505
16929  __cil_tmp8 = eni_dev->reg;
16930#line 1505
16931  __cil_tmp9 = (void const volatile   *)__cil_tmp8;
16932#line 1505
16933  __cil_tmp10 = __cil_tmp9 + 4U;
16934#line 1505
16935  reason = readl(__cil_tmp10);
16936  }
16937  {
16938#line 1513
16939  __cil_tmp11 = (int )reason;
16940#line 1513
16941  if (__cil_tmp11 & 1) {
16942    {
16943#line 1514
16944    EVENT("stat overflow\n", 0UL, 0UL);
16945#line 1515
16946    __cil_tmp12 = eni_dev->reg;
16947#line 1515
16948    __cil_tmp13 = (void const volatile   *)__cil_tmp12;
16949#line 1515
16950    __cil_tmp14 = __cil_tmp13 + 20U;
16951#line 1515
16952    tmp = readl(__cil_tmp14);
16953#line 1515
16954    __cil_tmp15 = (unsigned long )tmp;
16955#line 1515
16956    __cil_tmp16 = __cil_tmp15 & 65535UL;
16957#line 1515
16958    __cil_tmp17 = eni_dev->lost;
16959#line 1515
16960    eni_dev->lost = __cil_tmp17 + __cil_tmp16;
16961    }
16962  } else {
16963
16964  }
16965  }
16966  {
16967#line 1517
16968  __cil_tmp18 = reason & 2U;
16969#line 1517
16970  if (__cil_tmp18 != 0U) {
16971    {
16972#line 1518
16973    EVENT("SUNI int\n", 0UL, 0UL);
16974#line 1519
16975    __cil_tmp19 = dev->phy;
16976#line 1519
16977    __cil_tmp20 = __cil_tmp19->interrupt;
16978#line 1519
16979    (*__cil_tmp20)(dev);
16980    }
16981  } else {
16982
16983  }
16984  }
16985  {
16986#line 1524
16987  __cil_tmp21 = & eni_dev->lock;
16988#line 1524
16989  spin_lock(__cil_tmp21);
16990#line 1525
16991  __cil_tmp22 = eni_dev->events;
16992#line 1525
16993  eni_dev->events = __cil_tmp22 | reason;
16994#line 1526
16995  __cil_tmp23 = & eni_dev->lock;
16996#line 1526
16997  spin_unlock(__cil_tmp23);
16998#line 1527
16999  __cil_tmp24 = & eni_dev->task;
17000#line 1527
17001  tasklet_schedule(__cil_tmp24);
17002  }
17003#line 1528
17004  return ((irqreturn_t )1);
17005}
17006}
17007#line 1532 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
17008static void eni_tasklet(unsigned long data ) 
17009{ struct atm_dev *dev ;
17010  struct eni_dev *eni_dev ;
17011  unsigned long flags ;
17012  u32 events ;
17013  raw_spinlock_t *tmp ;
17014  u32 __x ;
17015  u8 volatile   *__ptr ;
17016  u16 volatile   *__ptr___0 ;
17017  u32 volatile   *__ptr___1 ;
17018  u64 volatile   *__ptr___2 ;
17019  void *__cil_tmp12 ;
17020  spinlock_t *__cil_tmp13 ;
17021  u32 *__cil_tmp14 ;
17022  u32 *__cil_tmp15 ;
17023  u32 *__cil_tmp16 ;
17024  u32 *__cil_tmp17 ;
17025  spinlock_t *__cil_tmp18 ;
17026  unsigned int __cil_tmp19 ;
17027  unsigned int __cil_tmp20 ;
17028  unsigned int __cil_tmp21 ;
17029  unsigned int __cil_tmp22 ;
17030  wait_queue_head_t *__cil_tmp23 ;
17031  void *__cil_tmp24 ;
17032  unsigned int __cil_tmp25 ;
17033  unsigned long __cil_tmp26 ;
17034
17035  {
17036  {
17037#line 1534
17038  dev = (struct atm_dev *)data;
17039#line 1535
17040  __cil_tmp12 = dev->dev_data;
17041#line 1535
17042  eni_dev = (struct eni_dev *)__cil_tmp12;
17043#line 1540
17044  __cil_tmp13 = & eni_dev->lock;
17045#line 1540
17046  tmp = spinlock_check(__cil_tmp13);
17047#line 1540
17048  flags = _raw_spin_lock_irqsave(tmp);
17049#line 1541
17050  __x = 0U;
17051  }
17052#line 1541
17053  if (1) {
17054#line 1541
17055    goto case_4;
17056  } else {
17057#line 1541
17058    goto switch_default;
17059#line 1541
17060    if (0) {
17061#line 1541
17062      __cil_tmp14 = & eni_dev->events;
17063#line 1541
17064      __ptr = (u8 volatile   *)__cil_tmp14;
17065#line 1541
17066      __asm__  volatile   ("xchgb %0,%1": "=q" (__x), "+m" (*__ptr): "0" (__x): "memory");
17067#line 1541
17068      goto ldv_40513;
17069#line 1541
17070      __cil_tmp15 = & eni_dev->events;
17071#line 1541
17072      __ptr___0 = (u16 volatile   *)__cil_tmp15;
17073#line 1541
17074      __asm__  volatile   ("xchgw %0,%1": "=r" (__x), "+m" (*__ptr___0): "0" (__x): "memory");
17075#line 1541
17076      goto ldv_40513;
17077      case_4: 
17078#line 1541
17079      __cil_tmp16 = & eni_dev->events;
17080#line 1541
17081      __ptr___1 = (u32 volatile   *)__cil_tmp16;
17082#line 1541
17083      __asm__  volatile   ("xchgl %0,%1": "=r" (__x), "+m" (*__ptr___1): "0" (__x): "memory");
17084#line 1541
17085      goto ldv_40513;
17086#line 1541
17087      __cil_tmp17 = & eni_dev->events;
17088#line 1541
17089      __ptr___2 = (u64 volatile   *)__cil_tmp17;
17090#line 1541
17091      __asm__  volatile   ("xchgq %0,%1": "=r" (__x), "+m" (*__ptr___2): "0" (__x): "memory");
17092#line 1541
17093      goto ldv_40513;
17094      switch_default: 
17095      {
17096#line 1541
17097      __xchg_wrong_size();
17098      }
17099    } else {
17100
17101    }
17102  }
17103  ldv_40513: 
17104  {
17105#line 1541
17106  events = __x;
17107#line 1542
17108  __cil_tmp18 = & eni_dev->lock;
17109#line 1542
17110  spin_unlock_irqrestore(__cil_tmp18, flags);
17111  }
17112  {
17113#line 1543
17114  __cil_tmp19 = events & 16U;
17115#line 1543
17116  if (__cil_tmp19 != 0U) {
17117    {
17118#line 1544
17119    EVENT("INT: RX DMA complete, starting dequeue_rx\n", 0UL, 0UL);
17120#line 1545
17121    dequeue_rx(dev);
17122#line 1546
17123    EVENT("dequeue_rx done, starting poll_rx\n", 0UL, 0UL);
17124#line 1547
17125    poll_rx(dev);
17126#line 1548
17127    EVENT("poll_rx done\n", 0UL, 0UL);
17128    }
17129  } else {
17130
17131  }
17132  }
17133  {
17134#line 1551
17135  __cil_tmp20 = events & 4U;
17136#line 1551
17137  if (__cil_tmp20 != 0U) {
17138    {
17139#line 1552
17140    EVENT("INT: service, starting get_service\n", 0UL, 0UL);
17141#line 1553
17142    get_service(dev);
17143#line 1554
17144    EVENT("get_service done, starting poll_rx\n", 0UL, 0UL);
17145#line 1555
17146    poll_rx(dev);
17147#line 1556
17148    EVENT("poll_rx done\n", 0UL, 0UL);
17149    }
17150  } else {
17151
17152  }
17153  }
17154  {
17155#line 1558
17156  __cil_tmp21 = events & 8U;
17157#line 1558
17158  if (__cil_tmp21 != 0U) {
17159    {
17160#line 1559
17161    EVENT("INT: TX DMA COMPLETE\n", 0UL, 0UL);
17162#line 1560
17163    dequeue_tx(dev);
17164    }
17165  } else {
17166
17167  }
17168  }
17169  {
17170#line 1562
17171  __cil_tmp22 = events & 130560U;
17172#line 1562
17173  if (__cil_tmp22 != 0U) {
17174    {
17175#line 1563
17176    EVENT("INT: TX COMPLETE\n", 0UL, 0UL);
17177#line 1564
17178    tx_complete = tx_complete + 1;
17179#line 1565
17180    __cil_tmp23 = & eni_dev->tx_wait;
17181#line 1565
17182    __cil_tmp24 = (void *)0;
17183#line 1565
17184    __wake_up(__cil_tmp23, 3U, 1, __cil_tmp24);
17185    }
17186  } else {
17187
17188  }
17189  }
17190  {
17191#line 1568
17192  __cil_tmp25 = events & 416U;
17193#line 1568
17194  if (__cil_tmp25 != 0U) {
17195    {
17196#line 1569
17197    EVENT("bug interrupt\n", 0UL, 0UL);
17198#line 1570
17199    __cil_tmp26 = (unsigned long )events;
17200#line 1570
17201    bug_int(dev, __cil_tmp26);
17202    }
17203  } else {
17204
17205  }
17206  }
17207  {
17208#line 1572
17209  poll_tx(dev);
17210  }
17211#line 1573
17212  return;
17213}
17214}
17215#line 1579 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
17216static char const   *media_name[32U]  = 
17217#line 1579
17218  {      "MMF",      "SMF",      "MMF",      "03?", 
17219        "UTP",      "05?",      "06?",      "07?", 
17220        "TAXI",      "09?",      "10?",      "11?", 
17221        "12?",      "13?",      "14?",      "15?", 
17222        "MMF",      "SMF",      "18?",      "19?", 
17223        "UTP",      "21?",      "22?",      "23?", 
17224        "24?",      "25?",      "26?",      "27?", 
17225        "28?",      "29?",      "30?",      "31?"};
17226#line 1603 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
17227static int get_esi_asic(struct atm_dev *dev ) 
17228{ struct eni_dev *eni_dev ;
17229  unsigned char tonga ;
17230  int error ;
17231  int failed ;
17232  int pci_error ;
17233  int address ;
17234  int i ;
17235  int j ;
17236  void *__cil_tmp10 ;
17237  struct pci_dev *__cil_tmp11 ;
17238  int __cil_tmp12 ;
17239  u8 __cil_tmp13 ;
17240  unsigned int __cil_tmp14 ;
17241  unsigned int __cil_tmp15 ;
17242  struct pci_dev *__cil_tmp16 ;
17243  int __cil_tmp17 ;
17244  u8 __cil_tmp18 ;
17245  unsigned int __cil_tmp19 ;
17246  unsigned int __cil_tmp20 ;
17247  struct pci_dev *__cil_tmp21 ;
17248  int __cil_tmp22 ;
17249  u8 __cil_tmp23 ;
17250  unsigned int __cil_tmp24 ;
17251  unsigned int __cil_tmp25 ;
17252  struct pci_dev *__cil_tmp26 ;
17253  int __cil_tmp27 ;
17254  u8 __cil_tmp28 ;
17255  unsigned int __cil_tmp29 ;
17256  unsigned int __cil_tmp30 ;
17257  struct pci_dev *__cil_tmp31 ;
17258  int __cil_tmp32 ;
17259  u8 __cil_tmp33 ;
17260  int __cil_tmp34 ;
17261  int __cil_tmp35 ;
17262  int __cil_tmp36 ;
17263  unsigned int __cil_tmp37 ;
17264  unsigned int __cil_tmp38 ;
17265  unsigned int __cil_tmp39 ;
17266  unsigned int __cil_tmp40 ;
17267  struct pci_dev *__cil_tmp41 ;
17268  int __cil_tmp42 ;
17269  u8 __cil_tmp43 ;
17270  unsigned int __cil_tmp44 ;
17271  unsigned int __cil_tmp45 ;
17272  struct pci_dev *__cil_tmp46 ;
17273  int __cil_tmp47 ;
17274  u8 __cil_tmp48 ;
17275  unsigned int __cil_tmp49 ;
17276  unsigned int __cil_tmp50 ;
17277  struct pci_dev *__cil_tmp51 ;
17278  int __cil_tmp52 ;
17279  u8 __cil_tmp53 ;
17280  unsigned int __cil_tmp54 ;
17281  unsigned int __cil_tmp55 ;
17282  struct pci_dev *__cil_tmp56 ;
17283  int __cil_tmp57 ;
17284  u8 __cil_tmp58 ;
17285  unsigned int __cil_tmp59 ;
17286  unsigned int __cil_tmp60 ;
17287  struct pci_dev *__cil_tmp61 ;
17288  int __cil_tmp62 ;
17289  u8 __cil_tmp63 ;
17290  struct pci_dev *__cil_tmp64 ;
17291  int __cil_tmp65 ;
17292  unsigned int __cil_tmp66 ;
17293  unsigned int __cil_tmp67 ;
17294  struct pci_dev *__cil_tmp68 ;
17295  int __cil_tmp69 ;
17296  u8 __cil_tmp70 ;
17297  unsigned int __cil_tmp71 ;
17298  unsigned int __cil_tmp72 ;
17299  struct pci_dev *__cil_tmp73 ;
17300  int __cil_tmp74 ;
17301  u8 __cil_tmp75 ;
17302  unsigned char __cil_tmp76 ;
17303  int __cil_tmp77 ;
17304  int __cil_tmp78 ;
17305  unsigned int __cil_tmp79 ;
17306  unsigned int __cil_tmp80 ;
17307  struct pci_dev *__cil_tmp81 ;
17308  int __cil_tmp82 ;
17309  u8 __cil_tmp83 ;
17310  unsigned int __cil_tmp84 ;
17311  unsigned int __cil_tmp85 ;
17312  struct pci_dev *__cil_tmp86 ;
17313  int __cil_tmp87 ;
17314  u8 __cil_tmp88 ;
17315  struct pci_dev *__cil_tmp89 ;
17316  int __cil_tmp90 ;
17317  int __cil_tmp91 ;
17318  unsigned char __cil_tmp92 ;
17319  unsigned int __cil_tmp93 ;
17320  unsigned int __cil_tmp94 ;
17321  unsigned int __cil_tmp95 ;
17322  unsigned int __cil_tmp96 ;
17323  struct pci_dev *__cil_tmp97 ;
17324  int __cil_tmp98 ;
17325  u8 __cil_tmp99 ;
17326  unsigned int __cil_tmp100 ;
17327  unsigned int __cil_tmp101 ;
17328  struct pci_dev *__cil_tmp102 ;
17329  int __cil_tmp103 ;
17330  u8 __cil_tmp104 ;
17331  unsigned int __cil_tmp105 ;
17332  unsigned int __cil_tmp106 ;
17333  struct pci_dev *__cil_tmp107 ;
17334  int __cil_tmp108 ;
17335  u8 __cil_tmp109 ;
17336  unsigned int __cil_tmp110 ;
17337  unsigned int __cil_tmp111 ;
17338  struct pci_dev *__cil_tmp112 ;
17339  int __cil_tmp113 ;
17340  u8 __cil_tmp114 ;
17341  struct pci_dev *__cil_tmp115 ;
17342  int __cil_tmp116 ;
17343  int __cil_tmp117 ;
17344  unsigned int __cil_tmp118 ;
17345  unsigned int __cil_tmp119 ;
17346  struct pci_dev *__cil_tmp120 ;
17347  int __cil_tmp121 ;
17348  u8 __cil_tmp122 ;
17349  unsigned int __cil_tmp123 ;
17350  unsigned int __cil_tmp124 ;
17351  struct pci_dev *__cil_tmp125 ;
17352  int __cil_tmp126 ;
17353  u8 __cil_tmp127 ;
17354  unsigned int __cil_tmp128 ;
17355  unsigned int __cil_tmp129 ;
17356  struct pci_dev *__cil_tmp130 ;
17357  int __cil_tmp131 ;
17358  u8 __cil_tmp132 ;
17359  unsigned int __cil_tmp133 ;
17360  unsigned int __cil_tmp134 ;
17361  struct pci_dev *__cil_tmp135 ;
17362  int __cil_tmp136 ;
17363  u8 __cil_tmp137 ;
17364  unsigned int __cil_tmp138 ;
17365  unsigned int __cil_tmp139 ;
17366  struct pci_dev *__cil_tmp140 ;
17367  int __cil_tmp141 ;
17368  u8 __cil_tmp142 ;
17369  int __cil_tmp143 ;
17370
17371  {
17372#line 1610
17373  __cil_tmp10 = dev->dev_data;
17374#line 1610
17375  eni_dev = (struct eni_dev *)__cil_tmp10;
17376#line 1611
17377  pci_error = 0;
17378#line 1611
17379  error = pci_error;
17380#line 1612
17381  tonga = (unsigned char)15;
17382#line 1613
17383  if (error == 0) {
17384#line 1613
17385    if (pci_error == 0) {
17386      {
17387#line 1613
17388      __cil_tmp11 = eni_dev->pci_dev;
17389#line 1613
17390      __cil_tmp12 = (int )tonga;
17391#line 1613
17392      __cil_tmp13 = (u8 )__cil_tmp12;
17393#line 1613
17394      pci_error = pci_write_config_byte(__cil_tmp11, 96, __cil_tmp13);
17395#line 1613
17396      __const_udelay(42950UL);
17397      }
17398    } else {
17399
17400    }
17401  } else {
17402
17403  }
17404#line 1614
17405  i = 0;
17406#line 1614
17407  goto ldv_40541;
17408  ldv_40540: 
17409#line 1616
17410  __cil_tmp14 = (unsigned int )tonga;
17411#line 1616
17412  __cil_tmp15 = __cil_tmp14 | 2U;
17413#line 1616
17414  tonga = (unsigned char )__cil_tmp15;
17415#line 1617
17416  if (error == 0) {
17417#line 1617
17418    if (pci_error == 0) {
17419      {
17420#line 1617
17421      __cil_tmp16 = eni_dev->pci_dev;
17422#line 1617
17423      __cil_tmp17 = (int )tonga;
17424#line 1617
17425      __cil_tmp18 = (u8 )__cil_tmp17;
17426#line 1617
17427      pci_error = pci_write_config_byte(__cil_tmp16, 96, __cil_tmp18);
17428#line 1617
17429      __const_udelay(42950UL);
17430      }
17431    } else {
17432
17433    }
17434  } else {
17435
17436  }
17437#line 1618
17438  __cil_tmp19 = (unsigned int )tonga;
17439#line 1618
17440  __cil_tmp20 = __cil_tmp19 | 1U;
17441#line 1618
17442  tonga = (unsigned char )__cil_tmp20;
17443#line 1619
17444  if (error == 0) {
17445#line 1619
17446    if (pci_error == 0) {
17447      {
17448#line 1619
17449      __cil_tmp21 = eni_dev->pci_dev;
17450#line 1619
17451      __cil_tmp22 = (int )tonga;
17452#line 1619
17453      __cil_tmp23 = (u8 )__cil_tmp22;
17454#line 1619
17455      pci_error = pci_write_config_byte(__cil_tmp21, 96, __cil_tmp23);
17456#line 1619
17457      __const_udelay(42950UL);
17458      }
17459    } else {
17460
17461    }
17462  } else {
17463
17464  }
17465#line 1620
17466  __cil_tmp24 = (unsigned int )tonga;
17467#line 1620
17468  __cil_tmp25 = __cil_tmp24 & 253U;
17469#line 1620
17470  tonga = (unsigned char )__cil_tmp25;
17471#line 1621
17472  if (error == 0) {
17473#line 1621
17474    if (pci_error == 0) {
17475      {
17476#line 1621
17477      __cil_tmp26 = eni_dev->pci_dev;
17478#line 1621
17479      __cil_tmp27 = (int )tonga;
17480#line 1621
17481      __cil_tmp28 = (u8 )__cil_tmp27;
17482#line 1621
17483      pci_error = pci_write_config_byte(__cil_tmp26, 96, __cil_tmp28);
17484#line 1621
17485      __const_udelay(42950UL);
17486      }
17487    } else {
17488
17489    }
17490  } else {
17491
17492  }
17493#line 1622
17494  __cil_tmp29 = (unsigned int )tonga;
17495#line 1622
17496  __cil_tmp30 = __cil_tmp29 & 254U;
17497#line 1622
17498  tonga = (unsigned char )__cil_tmp30;
17499#line 1623
17500  if (error == 0) {
17501#line 1623
17502    if (pci_error == 0) {
17503      {
17504#line 1623
17505      __cil_tmp31 = eni_dev->pci_dev;
17506#line 1623
17507      __cil_tmp32 = (int )tonga;
17508#line 1623
17509      __cil_tmp33 = (u8 )__cil_tmp32;
17510#line 1623
17511      pci_error = pci_write_config_byte(__cil_tmp31, 96, __cil_tmp33);
17512#line 1623
17513      __const_udelay(42950UL);
17514      }
17515    } else {
17516
17517    }
17518  } else {
17519
17520  }
17521#line 1625
17522  __cil_tmp34 = i + 64;
17523#line 1625
17524  __cil_tmp35 = __cil_tmp34 << 1;
17525#line 1625
17526  address = __cil_tmp35 + 1;
17527#line 1626
17528  j = 7;
17529#line 1626
17530  goto ldv_40535;
17531  ldv_40534: ;
17532  {
17533#line 1627
17534  __cil_tmp36 = address >> j;
17535#line 1627
17536  if (__cil_tmp36 & 1) {
17537#line 1627
17538    __cil_tmp37 = (unsigned int )tonga;
17539#line 1627
17540    __cil_tmp38 = __cil_tmp37 | 2U;
17541#line 1627
17542    tonga = (unsigned char )__cil_tmp38;
17543  } else {
17544#line 1627
17545    __cil_tmp39 = (unsigned int )tonga;
17546#line 1627
17547    __cil_tmp40 = __cil_tmp39 & 253U;
17548#line 1627
17549    tonga = (unsigned char )__cil_tmp40;
17550  }
17551  }
17552#line 1629
17553  if (error == 0) {
17554#line 1629
17555    if (pci_error == 0) {
17556      {
17557#line 1629
17558      __cil_tmp41 = eni_dev->pci_dev;
17559#line 1629
17560      __cil_tmp42 = (int )tonga;
17561#line 1629
17562      __cil_tmp43 = (u8 )__cil_tmp42;
17563#line 1629
17564      pci_error = pci_write_config_byte(__cil_tmp41, 96, __cil_tmp43);
17565#line 1629
17566      __const_udelay(42950UL);
17567      }
17568    } else {
17569
17570    }
17571  } else {
17572
17573  }
17574#line 1630
17575  __cil_tmp44 = (unsigned int )tonga;
17576#line 1630
17577  __cil_tmp45 = __cil_tmp44 | 1U;
17578#line 1630
17579  tonga = (unsigned char )__cil_tmp45;
17580#line 1631
17581  if (error == 0) {
17582#line 1631
17583    if (pci_error == 0) {
17584      {
17585#line 1631
17586      __cil_tmp46 = eni_dev->pci_dev;
17587#line 1631
17588      __cil_tmp47 = (int )tonga;
17589#line 1631
17590      __cil_tmp48 = (u8 )__cil_tmp47;
17591#line 1631
17592      pci_error = pci_write_config_byte(__cil_tmp46, 96, __cil_tmp48);
17593#line 1631
17594      __const_udelay(42950UL);
17595      }
17596    } else {
17597
17598    }
17599  } else {
17600
17601  }
17602#line 1632
17603  __cil_tmp49 = (unsigned int )tonga;
17604#line 1632
17605  __cil_tmp50 = __cil_tmp49 & 254U;
17606#line 1632
17607  tonga = (unsigned char )__cil_tmp50;
17608#line 1633
17609  if (error == 0) {
17610#line 1633
17611    if (pci_error == 0) {
17612      {
17613#line 1633
17614      __cil_tmp51 = eni_dev->pci_dev;
17615#line 1633
17616      __cil_tmp52 = (int )tonga;
17617#line 1633
17618      __cil_tmp53 = (u8 )__cil_tmp52;
17619#line 1633
17620      pci_error = pci_write_config_byte(__cil_tmp51, 96, __cil_tmp53);
17621#line 1633
17622      __const_udelay(42950UL);
17623      }
17624    } else {
17625
17626    }
17627  } else {
17628
17629  }
17630#line 1626
17631  j = j - 1;
17632  ldv_40535: ;
17633#line 1626
17634  if (j >= 0) {
17635#line 1627
17636    goto ldv_40534;
17637  } else {
17638#line 1629
17639    goto ldv_40536;
17640  }
17641  ldv_40536: 
17642#line 1636
17643  __cil_tmp54 = (unsigned int )tonga;
17644#line 1636
17645  __cil_tmp55 = __cil_tmp54 | 2U;
17646#line 1636
17647  tonga = (unsigned char )__cil_tmp55;
17648#line 1637
17649  if (error == 0) {
17650#line 1637
17651    if (pci_error == 0) {
17652      {
17653#line 1637
17654      __cil_tmp56 = eni_dev->pci_dev;
17655#line 1637
17656      __cil_tmp57 = (int )tonga;
17657#line 1637
17658      __cil_tmp58 = (u8 )__cil_tmp57;
17659#line 1637
17660      pci_error = pci_write_config_byte(__cil_tmp56, 96, __cil_tmp58);
17661#line 1637
17662      __const_udelay(42950UL);
17663      }
17664    } else {
17665
17666    }
17667  } else {
17668
17669  }
17670#line 1638
17671  __cil_tmp59 = (unsigned int )tonga;
17672#line 1638
17673  __cil_tmp60 = __cil_tmp59 | 1U;
17674#line 1638
17675  tonga = (unsigned char )__cil_tmp60;
17676#line 1639
17677  if (error == 0) {
17678#line 1639
17679    if (pci_error == 0) {
17680      {
17681#line 1639
17682      __cil_tmp61 = eni_dev->pci_dev;
17683#line 1639
17684      __cil_tmp62 = (int )tonga;
17685#line 1639
17686      __cil_tmp63 = (u8 )__cil_tmp62;
17687#line 1639
17688      pci_error = pci_write_config_byte(__cil_tmp61, 96, __cil_tmp63);
17689#line 1639
17690      __const_udelay(42950UL);
17691      }
17692    } else {
17693
17694    }
17695  } else {
17696
17697  }
17698#line 1640
17699  if (error == 0) {
17700#line 1640
17701    if (pci_error == 0) {
17702      {
17703#line 1640
17704      __cil_tmp64 = eni_dev->pci_dev;
17705#line 1640
17706      pci_error = pci_read_config_byte(__cil_tmp64, 96, & tonga);
17707#line 1640
17708      __const_udelay(42950UL);
17709      }
17710    } else {
17711
17712    }
17713  } else {
17714
17715  }
17716#line 1641
17717  __cil_tmp65 = (int )tonga;
17718#line 1641
17719  failed = __cil_tmp65 & 2;
17720#line 1642
17721  __cil_tmp66 = (unsigned int )tonga;
17722#line 1642
17723  __cil_tmp67 = __cil_tmp66 & 254U;
17724#line 1642
17725  tonga = (unsigned char )__cil_tmp67;
17726#line 1643
17727  if (error == 0) {
17728#line 1643
17729    if (pci_error == 0) {
17730      {
17731#line 1643
17732      __cil_tmp68 = eni_dev->pci_dev;
17733#line 1643
17734      __cil_tmp69 = (int )tonga;
17735#line 1643
17736      __cil_tmp70 = (u8 )__cil_tmp69;
17737#line 1643
17738      pci_error = pci_write_config_byte(__cil_tmp68, 96, __cil_tmp70);
17739#line 1643
17740      __const_udelay(42950UL);
17741      }
17742    } else {
17743
17744    }
17745  } else {
17746
17747  }
17748#line 1644
17749  __cil_tmp71 = (unsigned int )tonga;
17750#line 1644
17751  __cil_tmp72 = __cil_tmp71 | 2U;
17752#line 1644
17753  tonga = (unsigned char )__cil_tmp72;
17754#line 1645
17755  if (error == 0) {
17756#line 1645
17757    if (pci_error == 0) {
17758      {
17759#line 1645
17760      __cil_tmp73 = eni_dev->pci_dev;
17761#line 1645
17762      __cil_tmp74 = (int )tonga;
17763#line 1645
17764      __cil_tmp75 = (u8 )__cil_tmp74;
17765#line 1645
17766      pci_error = pci_write_config_byte(__cil_tmp73, 96, __cil_tmp75);
17767#line 1645
17768      __const_udelay(42950UL);
17769      }
17770    } else {
17771
17772    }
17773  } else {
17774
17775  }
17776#line 1646
17777  if (failed != 0) {
17778#line 1646
17779    error = -5;
17780  } else {
17781#line 1648
17782    dev->esi[i] = (unsigned char)0;
17783#line 1649
17784    j = 7;
17785#line 1649
17786    goto ldv_40538;
17787    ldv_40537: 
17788#line 1650
17789    __cil_tmp76 = dev->esi[i];
17790#line 1650
17791    __cil_tmp77 = (int )__cil_tmp76;
17792#line 1650
17793    __cil_tmp78 = __cil_tmp77 << 1U;
17794#line 1650
17795    dev->esi[i] = (unsigned char )__cil_tmp78;
17796#line 1651
17797    __cil_tmp79 = (unsigned int )tonga;
17798#line 1651
17799    __cil_tmp80 = __cil_tmp79 | 2U;
17800#line 1651
17801    tonga = (unsigned char )__cil_tmp80;
17802#line 1652
17803    if (error == 0) {
17804#line 1652
17805      if (pci_error == 0) {
17806        {
17807#line 1652
17808        __cil_tmp81 = eni_dev->pci_dev;
17809#line 1652
17810        __cil_tmp82 = (int )tonga;
17811#line 1652
17812        __cil_tmp83 = (u8 )__cil_tmp82;
17813#line 1652
17814        pci_error = pci_write_config_byte(__cil_tmp81, 96, __cil_tmp83);
17815#line 1652
17816        __const_udelay(42950UL);
17817        }
17818      } else {
17819
17820      }
17821    } else {
17822
17823    }
17824#line 1653
17825    __cil_tmp84 = (unsigned int )tonga;
17826#line 1653
17827    __cil_tmp85 = __cil_tmp84 | 1U;
17828#line 1653
17829    tonga = (unsigned char )__cil_tmp85;
17830#line 1654
17831    if (error == 0) {
17832#line 1654
17833      if (pci_error == 0) {
17834        {
17835#line 1654
17836        __cil_tmp86 = eni_dev->pci_dev;
17837#line 1654
17838        __cil_tmp87 = (int )tonga;
17839#line 1654
17840        __cil_tmp88 = (u8 )__cil_tmp87;
17841#line 1654
17842        pci_error = pci_write_config_byte(__cil_tmp86, 96, __cil_tmp88);
17843#line 1654
17844        __const_udelay(42950UL);
17845        }
17846      } else {
17847
17848      }
17849    } else {
17850
17851    }
17852#line 1655
17853    if (error == 0) {
17854#line 1655
17855      if (pci_error == 0) {
17856        {
17857#line 1655
17858        __cil_tmp89 = eni_dev->pci_dev;
17859#line 1655
17860        pci_error = pci_read_config_byte(__cil_tmp89, 96, & tonga);
17861#line 1655
17862        __const_udelay(42950UL);
17863        }
17864      } else {
17865
17866      }
17867    } else {
17868
17869    }
17870    {
17871#line 1656
17872    __cil_tmp90 = (int )tonga;
17873#line 1656
17874    __cil_tmp91 = __cil_tmp90 & 2;
17875#line 1656
17876    if (__cil_tmp91 != 0) {
17877#line 1656
17878      __cil_tmp92 = dev->esi[i];
17879#line 1656
17880      __cil_tmp93 = (unsigned int )__cil_tmp92;
17881#line 1656
17882      __cil_tmp94 = __cil_tmp93 | 1U;
17883#line 1656
17884      dev->esi[i] = (unsigned char )__cil_tmp94;
17885    } else {
17886
17887    }
17888    }
17889#line 1657
17890    __cil_tmp95 = (unsigned int )tonga;
17891#line 1657
17892    __cil_tmp96 = __cil_tmp95 & 254U;
17893#line 1657
17894    tonga = (unsigned char )__cil_tmp96;
17895#line 1658
17896    if (error == 0) {
17897#line 1658
17898      if (pci_error == 0) {
17899        {
17900#line 1658
17901        __cil_tmp97 = eni_dev->pci_dev;
17902#line 1658
17903        __cil_tmp98 = (int )tonga;
17904#line 1658
17905        __cil_tmp99 = (u8 )__cil_tmp98;
17906#line 1658
17907        pci_error = pci_write_config_byte(__cil_tmp97, 96, __cil_tmp99);
17908#line 1658
17909        __const_udelay(42950UL);
17910        }
17911      } else {
17912
17913      }
17914    } else {
17915
17916    }
17917#line 1659
17918    __cil_tmp100 = (unsigned int )tonga;
17919#line 1659
17920    __cil_tmp101 = __cil_tmp100 | 2U;
17921#line 1659
17922    tonga = (unsigned char )__cil_tmp101;
17923#line 1660
17924    if (error == 0) {
17925#line 1660
17926      if (pci_error == 0) {
17927        {
17928#line 1660
17929        __cil_tmp102 = eni_dev->pci_dev;
17930#line 1660
17931        __cil_tmp103 = (int )tonga;
17932#line 1660
17933        __cil_tmp104 = (u8 )__cil_tmp103;
17934#line 1660
17935        pci_error = pci_write_config_byte(__cil_tmp102, 96, __cil_tmp104);
17936#line 1660
17937        __const_udelay(42950UL);
17938        }
17939      } else {
17940
17941      }
17942    } else {
17943
17944    }
17945#line 1649
17946    j = j - 1;
17947    ldv_40538: ;
17948#line 1649
17949    if (j >= 0) {
17950#line 1650
17951      goto ldv_40537;
17952    } else {
17953#line 1652
17954      goto ldv_40539;
17955    }
17956    ldv_40539: 
17957#line 1663
17958    __cil_tmp105 = (unsigned int )tonga;
17959#line 1663
17960    __cil_tmp106 = __cil_tmp105 | 2U;
17961#line 1663
17962    tonga = (unsigned char )__cil_tmp106;
17963#line 1664
17964    if (error == 0) {
17965#line 1664
17966      if (pci_error == 0) {
17967        {
17968#line 1664
17969        __cil_tmp107 = eni_dev->pci_dev;
17970#line 1664
17971        __cil_tmp108 = (int )tonga;
17972#line 1664
17973        __cil_tmp109 = (u8 )__cil_tmp108;
17974#line 1664
17975        pci_error = pci_write_config_byte(__cil_tmp107, 96, __cil_tmp109);
17976#line 1664
17977        __const_udelay(42950UL);
17978        }
17979      } else {
17980
17981      }
17982    } else {
17983
17984    }
17985#line 1665
17986    __cil_tmp110 = (unsigned int )tonga;
17987#line 1665
17988    __cil_tmp111 = __cil_tmp110 | 1U;
17989#line 1665
17990    tonga = (unsigned char )__cil_tmp111;
17991#line 1666
17992    if (error == 0) {
17993#line 1666
17994      if (pci_error == 0) {
17995        {
17996#line 1666
17997        __cil_tmp112 = eni_dev->pci_dev;
17998#line 1666
17999        __cil_tmp113 = (int )tonga;
18000#line 1666
18001        __cil_tmp114 = (u8 )__cil_tmp113;
18002#line 1666
18003        pci_error = pci_write_config_byte(__cil_tmp112, 96, __cil_tmp114);
18004#line 1666
18005        __const_udelay(42950UL);
18006        }
18007      } else {
18008
18009      }
18010    } else {
18011
18012    }
18013#line 1667
18014    if (error == 0) {
18015#line 1667
18016      if (pci_error == 0) {
18017        {
18018#line 1667
18019        __cil_tmp115 = eni_dev->pci_dev;
18020#line 1667
18021        pci_error = pci_read_config_byte(__cil_tmp115, 96, & tonga);
18022#line 1667
18023        __const_udelay(42950UL);
18024        }
18025      } else {
18026
18027      }
18028    } else {
18029
18030    }
18031    {
18032#line 1668
18033    __cil_tmp116 = (int )tonga;
18034#line 1668
18035    __cil_tmp117 = __cil_tmp116 & 2;
18036#line 1668
18037    if (__cil_tmp117 == 0) {
18038#line 1668
18039      error = -5;
18040    } else {
18041
18042    }
18043    }
18044#line 1669
18045    __cil_tmp118 = (unsigned int )tonga;
18046#line 1669
18047    __cil_tmp119 = __cil_tmp118 & 254U;
18048#line 1669
18049    tonga = (unsigned char )__cil_tmp119;
18050#line 1670
18051    if (error == 0) {
18052#line 1670
18053      if (pci_error == 0) {
18054        {
18055#line 1670
18056        __cil_tmp120 = eni_dev->pci_dev;
18057#line 1670
18058        __cil_tmp121 = (int )tonga;
18059#line 1670
18060        __cil_tmp122 = (u8 )__cil_tmp121;
18061#line 1670
18062        pci_error = pci_write_config_byte(__cil_tmp120, 96, __cil_tmp122);
18063#line 1670
18064        __const_udelay(42950UL);
18065        }
18066      } else {
18067
18068      }
18069    } else {
18070
18071    }
18072#line 1671
18073    __cil_tmp123 = (unsigned int )tonga;
18074#line 1671
18075    __cil_tmp124 = __cil_tmp123 | 2U;
18076#line 1671
18077    tonga = (unsigned char )__cil_tmp124;
18078#line 1672
18079    if (error == 0) {
18080#line 1672
18081      if (pci_error == 0) {
18082        {
18083#line 1672
18084        __cil_tmp125 = eni_dev->pci_dev;
18085#line 1672
18086        __cil_tmp126 = (int )tonga;
18087#line 1672
18088        __cil_tmp127 = (u8 )__cil_tmp126;
18089#line 1672
18090        pci_error = pci_write_config_byte(__cil_tmp125, 96, __cil_tmp127);
18091#line 1672
18092        __const_udelay(42950UL);
18093        }
18094      } else {
18095
18096      }
18097    } else {
18098
18099    }
18100  }
18101#line 1675
18102  __cil_tmp128 = (unsigned int )tonga;
18103#line 1675
18104  __cil_tmp129 = __cil_tmp128 & 253U;
18105#line 1675
18106  tonga = (unsigned char )__cil_tmp129;
18107#line 1676
18108  if (error == 0) {
18109#line 1676
18110    if (pci_error == 0) {
18111      {
18112#line 1676
18113      __cil_tmp130 = eni_dev->pci_dev;
18114#line 1676
18115      __cil_tmp131 = (int )tonga;
18116#line 1676
18117      __cil_tmp132 = (u8 )__cil_tmp131;
18118#line 1676
18119      pci_error = pci_write_config_byte(__cil_tmp130, 96, __cil_tmp132);
18120#line 1676
18121      __const_udelay(42950UL);
18122      }
18123    } else {
18124
18125    }
18126  } else {
18127
18128  }
18129#line 1677
18130  __cil_tmp133 = (unsigned int )tonga;
18131#line 1677
18132  __cil_tmp134 = __cil_tmp133 | 1U;
18133#line 1677
18134  tonga = (unsigned char )__cil_tmp134;
18135#line 1678
18136  if (error == 0) {
18137#line 1678
18138    if (pci_error == 0) {
18139      {
18140#line 1678
18141      __cil_tmp135 = eni_dev->pci_dev;
18142#line 1678
18143      __cil_tmp136 = (int )tonga;
18144#line 1678
18145      __cil_tmp137 = (u8 )__cil_tmp136;
18146#line 1678
18147      pci_error = pci_write_config_byte(__cil_tmp135, 96, __cil_tmp137);
18148#line 1678
18149      __const_udelay(42950UL);
18150      }
18151    } else {
18152
18153    }
18154  } else {
18155
18156  }
18157#line 1679
18158  __cil_tmp138 = (unsigned int )tonga;
18159#line 1679
18160  __cil_tmp139 = __cil_tmp138 | 2U;
18161#line 1679
18162  tonga = (unsigned char )__cil_tmp139;
18163#line 1680
18164  if (error == 0) {
18165#line 1680
18166    if (pci_error == 0) {
18167      {
18168#line 1680
18169      __cil_tmp140 = eni_dev->pci_dev;
18170#line 1680
18171      __cil_tmp141 = (int )tonga;
18172#line 1680
18173      __cil_tmp142 = (u8 )__cil_tmp141;
18174#line 1680
18175      pci_error = pci_write_config_byte(__cil_tmp140, 96, __cil_tmp142);
18176#line 1680
18177      __const_udelay(42950UL);
18178      }
18179    } else {
18180
18181    }
18182  } else {
18183
18184  }
18185#line 1614
18186  i = i + 1;
18187  ldv_40541: ;
18188#line 1614
18189  if (i <= 5) {
18190#line 1614
18191    if (error == 0) {
18192#line 1614
18193      if (pci_error == 0) {
18194#line 1615
18195        goto ldv_40540;
18196      } else {
18197#line 1617
18198        goto ldv_40542;
18199      }
18200    } else {
18201#line 1617
18202      goto ldv_40542;
18203    }
18204  } else {
18205#line 1617
18206    goto ldv_40542;
18207  }
18208  ldv_40542: ;
18209#line 1682
18210  if (pci_error != 0) {
18211    {
18212#line 1683
18213    __cil_tmp143 = dev->number;
18214#line 1683
18215    printk("<3>eni(itf %d): error reading ESI (0x%02x)\n", __cil_tmp143, pci_error);
18216#line 1685
18217    error = -5;
18218    }
18219  } else {
18220
18221  }
18222#line 1687
18223  return (error);
18224}
18225}
18226#line 1695 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
18227static int get_esi_fpga(struct atm_dev *dev , void *base ) 
18228{ void *mac_base ;
18229  int i ;
18230  int __cil_tmp5 ;
18231  unsigned long __cil_tmp6 ;
18232  void const volatile   *__cil_tmp7 ;
18233  void const volatile   *__cil_tmp8 ;
18234
18235  {
18236#line 1700
18237  mac_base = base + 65472U;
18238#line 1701
18239  i = 0;
18240#line 1701
18241  goto ldv_40550;
18242  ldv_40549: 
18243  {
18244#line 1701
18245  __cil_tmp5 = i ^ 3;
18246#line 1701
18247  __cil_tmp6 = (unsigned long )__cil_tmp5;
18248#line 1701
18249  __cil_tmp7 = (void const volatile   *)mac_base;
18250#line 1701
18251  __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
18252#line 1701
18253  dev->esi[i] = readb(__cil_tmp8);
18254#line 1701
18255  i = i + 1;
18256  }
18257  ldv_40550: ;
18258#line 1701
18259  if (i <= 5) {
18260#line 1702
18261    goto ldv_40549;
18262  } else {
18263#line 1704
18264    goto ldv_40551;
18265  }
18266  ldv_40551: ;
18267#line 1702
18268  return (0);
18269}
18270}
18271#line 1706 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
18272static int eni_do_init(struct atm_dev *dev ) 
18273{ struct midway_eprom *eprom ;
18274  struct eni_dev *eni_dev ;
18275  struct pci_dev *pci_dev ;
18276  unsigned long real_base ;
18277  void *base ;
18278  int error ;
18279  int i ;
18280  int last ;
18281  int tmp ;
18282  unsigned int tmp___0 ;
18283  unsigned int tmp___1 ;
18284  unsigned int tmp___2 ;
18285  unsigned int tmp___3 ;
18286  unsigned int tmp___4 ;
18287  unsigned int tmp___5 ;
18288  unsigned int tmp___6 ;
18289  int tmp___7 ;
18290  int tmp___8 ;
18291  char *tmp___9 ;
18292  unsigned int tmp___10 ;
18293  char *tmp___12 ;
18294  unsigned int tmp___13 ;
18295  void *__cil_tmp24 ;
18296  resource_size_t __cil_tmp25 ;
18297  int __cil_tmp26 ;
18298  u16 __cil_tmp27 ;
18299  int __cil_tmp28 ;
18300  int __cil_tmp29 ;
18301  u8 __cil_tmp30 ;
18302  int __cil_tmp31 ;
18303  unsigned int __cil_tmp32 ;
18304  resource_size_t __cil_tmp33 ;
18305  void *__cil_tmp34 ;
18306  unsigned long __cil_tmp35 ;
18307  unsigned long __cil_tmp36 ;
18308  int __cil_tmp37 ;
18309  unsigned long __cil_tmp38 ;
18310  int __cil_tmp39 ;
18311  struct midway_eprom *__cil_tmp40 ;
18312  u32 *__cil_tmp41 ;
18313  void const volatile   *__cil_tmp42 ;
18314  u32 *__cil_tmp43 ;
18315  void const volatile   *__cil_tmp44 ;
18316  int __cil_tmp45 ;
18317  unsigned long __cil_tmp46 ;
18318  void *__cil_tmp47 ;
18319  void volatile   *__cil_tmp48 ;
18320  void volatile   *__cil_tmp49 ;
18321  unsigned long __cil_tmp50 ;
18322  void *__cil_tmp51 ;
18323  void const volatile   *__cil_tmp52 ;
18324  void const volatile   *__cil_tmp53 ;
18325  unsigned long __cil_tmp54 ;
18326  void *__cil_tmp55 ;
18327  void volatile   *__cil_tmp56 ;
18328  void volatile   *__cil_tmp57 ;
18329  unsigned long __cil_tmp58 ;
18330  void *__cil_tmp59 ;
18331  void const volatile   *__cil_tmp60 ;
18332  void const volatile   *__cil_tmp61 ;
18333  unsigned int __cil_tmp62 ;
18334  unsigned long __cil_tmp63 ;
18335  void *__cil_tmp64 ;
18336  void volatile   *__cil_tmp65 ;
18337  void volatile   *__cil_tmp66 ;
18338  unsigned long __cil_tmp67 ;
18339  void *__cil_tmp68 ;
18340  void const volatile   *__cil_tmp69 ;
18341  void const volatile   *__cil_tmp70 ;
18342  unsigned int __cil_tmp71 ;
18343  void *__cil_tmp72 ;
18344  void volatile   *__cil_tmp73 ;
18345  int __cil_tmp74 ;
18346  size_t __cil_tmp75 ;
18347  int __cil_tmp76 ;
18348  int __cil_tmp77 ;
18349  void *__cil_tmp78 ;
18350  void const volatile   *__cil_tmp79 ;
18351  int __cil_tmp80 ;
18352  int __cil_tmp81 ;
18353  unsigned int __cil_tmp82 ;
18354  int __cil_tmp83 ;
18355  void *__cil_tmp84 ;
18356  void const volatile   *__cil_tmp85 ;
18357  int __cil_tmp86 ;
18358  int __cil_tmp87 ;
18359  unsigned char __cil_tmp88 ;
18360  int __cil_tmp89 ;
18361  void *__cil_tmp90 ;
18362  void const volatile   *__cil_tmp91 ;
18363  void *__cil_tmp92 ;
18364  void const volatile   *__cil_tmp93 ;
18365  unsigned int __cil_tmp94 ;
18366  int __cil_tmp95 ;
18367  void volatile   *__cil_tmp96 ;
18368
18369  {
18370#line 1716
18371  dev->ci_range.vpi_bits = (signed char)0;
18372#line 1717
18373  dev->ci_range.vci_bits = (signed char)10;
18374#line 1718
18375  dev->link_rate = 353207;
18376#line 1719
18377  __cil_tmp24 = dev->dev_data;
18378#line 1719
18379  eni_dev = (struct eni_dev *)__cil_tmp24;
18380#line 1720
18381  pci_dev = eni_dev->pci_dev;
18382#line 1721
18383  __cil_tmp25 = pci_dev->resource[0].start;
18384#line 1721
18385  real_base = (unsigned long )__cil_tmp25;
18386#line 1722
18387  eni_dev->irq = pci_dev->irq;
18388  {
18389#line 1723
18390  __cil_tmp26 = eni_dev->asic;
18391#line 1723
18392  if (__cil_tmp26 != 0) {
18393#line 1723
18394    tmp = 322;
18395  } else {
18396#line 1723
18397    tmp = 2;
18398  }
18399  }
18400  {
18401#line 1723
18402  __cil_tmp27 = (u16 )tmp;
18403#line 1723
18404  error = pci_write_config_word(pci_dev, 4, __cil_tmp27);
18405  }
18406#line 1723
18407  if (error != 0) {
18408    {
18409#line 1726
18410    __cil_tmp28 = dev->number;
18411#line 1726
18412    printk("<3>eni(itf %d): can\'t enable memory (0x%02x)\n", __cil_tmp28, error);
18413    }
18414#line 1728
18415    return (-5);
18416  } else {
18417
18418  }
18419  {
18420#line 1730
18421  __cil_tmp29 = dev->number;
18422#line 1730
18423  __cil_tmp30 = pci_dev->revision;
18424#line 1730
18425  __cil_tmp31 = (int )__cil_tmp30;
18426#line 1730
18427  __cil_tmp32 = eni_dev->irq;
18428#line 1730
18429  printk("<5>eni(itf %d): rev.%d,base=0x%lx,irq=%d,", __cil_tmp29, __cil_tmp31, real_base,
18430         __cil_tmp32);
18431#line 1732
18432  __cil_tmp33 = (resource_size_t )real_base;
18433#line 1732
18434  base = ioremap_nocache(__cil_tmp33, 4194304UL);
18435  }
18436  {
18437#line 1732
18438  __cil_tmp34 = (void *)0;
18439#line 1732
18440  __cil_tmp35 = (unsigned long )__cil_tmp34;
18441#line 1732
18442  __cil_tmp36 = (unsigned long )base;
18443#line 1732
18444  if (__cil_tmp36 == __cil_tmp35) {
18445    {
18446#line 1733
18447    printk("\n");
18448#line 1734
18449    __cil_tmp37 = dev->number;
18450#line 1734
18451    printk("<3>eni(itf %d): can\'t set up page mapping\n", __cil_tmp37);
18452    }
18453#line 1736
18454    return (error);
18455  } else {
18456
18457  }
18458  }
18459#line 1738
18460  __cil_tmp38 = (unsigned long )base;
18461#line 1738
18462  eni_dev->base_diff = real_base - __cil_tmp38;
18463  {
18464#line 1740
18465  __cil_tmp39 = eni_dev->asic;
18466#line 1740
18467  if (__cil_tmp39 == 0) {
18468    {
18469#line 1741
18470    __cil_tmp40 = (struct midway_eprom *)base;
18471#line 1741
18472    eprom = __cil_tmp40 + 65472U;
18473#line 1742
18474    __cil_tmp41 = & eprom->magic;
18475#line 1742
18476    __cil_tmp42 = (void const volatile   *)__cil_tmp41;
18477#line 1742
18478    tmp___1 = readl(__cil_tmp42);
18479    }
18480#line 1742
18481    if (tmp___1 != 2773190445U) {
18482      {
18483#line 1743
18484      printk("\n");
18485#line 1744
18486      __cil_tmp43 = & eprom->magic;
18487#line 1744
18488      __cil_tmp44 = (void const volatile   *)__cil_tmp43;
18489#line 1744
18490      tmp___0 = readl(__cil_tmp44);
18491#line 1744
18492      __cil_tmp45 = dev->number;
18493#line 1744
18494      printk("<3>eni(itf %d): bad magic - expected 0x%x, got 0x%x\n", __cil_tmp45,
18495             2773190445U, tmp___0);
18496#line 1748
18497      error = -22;
18498      }
18499#line 1749
18500      goto unmap;
18501    } else {
18502
18503    }
18504  } else {
18505
18506  }
18507  }
18508#line 1752
18509  eni_dev->phy = base + 131072UL;
18510#line 1753
18511  eni_dev->reg = base + 262144UL;
18512#line 1754
18513  eni_dev->ram = base + 2097152UL;
18514#line 1755
18515  last = 2097152;
18516#line 1756
18517  i = last + -131072;
18518#line 1756
18519  goto ldv_40565;
18520  ldv_40564: 
18521  {
18522#line 1757
18523  __cil_tmp46 = (unsigned long )i;
18524#line 1757
18525  __cil_tmp47 = eni_dev->ram;
18526#line 1757
18527  __cil_tmp48 = (void volatile   *)__cil_tmp47;
18528#line 1757
18529  __cil_tmp49 = __cil_tmp48 + __cil_tmp46;
18530#line 1757
18531  writel(1431655765U, __cil_tmp49);
18532#line 1758
18533  __cil_tmp50 = (unsigned long )i;
18534#line 1758
18535  __cil_tmp51 = eni_dev->ram;
18536#line 1758
18537  __cil_tmp52 = (void const volatile   *)__cil_tmp51;
18538#line 1758
18539  __cil_tmp53 = __cil_tmp52 + __cil_tmp50;
18540#line 1758
18541  tmp___3 = readl(__cil_tmp53);
18542  }
18543#line 1758
18544  if (tmp___3 != 1431655765U) {
18545#line 1758
18546    last = i;
18547  } else {
18548    {
18549#line 1760
18550    __cil_tmp54 = (unsigned long )i;
18551#line 1760
18552    __cil_tmp55 = eni_dev->ram;
18553#line 1760
18554    __cil_tmp56 = (void volatile   *)__cil_tmp55;
18555#line 1760
18556    __cil_tmp57 = __cil_tmp56 + __cil_tmp54;
18557#line 1760
18558    writel(2863311530U, __cil_tmp57);
18559#line 1761
18560    __cil_tmp58 = (unsigned long )i;
18561#line 1761
18562    __cil_tmp59 = eni_dev->ram;
18563#line 1761
18564    __cil_tmp60 = (void const volatile   *)__cil_tmp59;
18565#line 1761
18566    __cil_tmp61 = __cil_tmp60 + __cil_tmp58;
18567#line 1761
18568    tmp___2 = readl(__cil_tmp61);
18569    }
18570#line 1761
18571    if (tmp___2 != 2863311530U) {
18572#line 1761
18573      last = i;
18574    } else {
18575      {
18576#line 1762
18577      __cil_tmp62 = (unsigned int )i;
18578#line 1762
18579      __cil_tmp63 = (unsigned long )i;
18580#line 1762
18581      __cil_tmp64 = eni_dev->ram;
18582#line 1762
18583      __cil_tmp65 = (void volatile   *)__cil_tmp64;
18584#line 1762
18585      __cil_tmp66 = __cil_tmp65 + __cil_tmp63;
18586#line 1762
18587      writel(__cil_tmp62, __cil_tmp66);
18588      }
18589    }
18590  }
18591#line 1756
18592  i = i + -131072;
18593  ldv_40565: ;
18594#line 1756
18595  if (i >= 0) {
18596#line 1757
18597    goto ldv_40564;
18598  } else {
18599#line 1759
18600    goto ldv_40566;
18601  }
18602  ldv_40566: 
18603#line 1765
18604  i = 0;
18605#line 1765
18606  goto ldv_40569;
18607  ldv_40568: 
18608  {
18609#line 1766
18610  __cil_tmp67 = (unsigned long )i;
18611#line 1766
18612  __cil_tmp68 = eni_dev->ram;
18613#line 1766
18614  __cil_tmp69 = (void const volatile   *)__cil_tmp68;
18615#line 1766
18616  __cil_tmp70 = __cil_tmp69 + __cil_tmp67;
18617#line 1766
18618  tmp___4 = readl(__cil_tmp70);
18619  }
18620  {
18621#line 1766
18622  __cil_tmp71 = (unsigned int )i;
18623#line 1766
18624  if (tmp___4 != __cil_tmp71) {
18625#line 1766
18626    goto ldv_40567;
18627  } else {
18628
18629  }
18630  }
18631#line 1765
18632  i = i + 131072;
18633  ldv_40569: ;
18634#line 1765
18635  if (i < last) {
18636#line 1766
18637    goto ldv_40568;
18638  } else {
18639#line 1768
18640    goto ldv_40567;
18641  }
18642  ldv_40567: 
18643  {
18644#line 1767
18645  eni_dev->mem = i;
18646#line 1768
18647  __cil_tmp72 = eni_dev->ram;
18648#line 1768
18649  __cil_tmp73 = (void volatile   *)__cil_tmp72;
18650#line 1768
18651  __cil_tmp74 = eni_dev->mem;
18652#line 1768
18653  __cil_tmp75 = (size_t )__cil_tmp74;
18654#line 1768
18655  memset_io(__cil_tmp73, (unsigned char)0, __cil_tmp75);
18656#line 1770
18657  __cil_tmp76 = eni_dev->mem;
18658#line 1770
18659  __cil_tmp77 = __cil_tmp76 >> 10;
18660#line 1770
18661  printk("mem=%dkB (", __cil_tmp77);
18662#line 1772
18663  __cil_tmp78 = eni_dev->reg;
18664#line 1772
18665  __cil_tmp79 = (void const volatile   *)__cil_tmp78;
18666#line 1772
18667  tmp___6 = readl(__cil_tmp79);
18668  }
18669  {
18670#line 1772
18671  __cil_tmp80 = eni_dev->asic;
18672#line 1772
18673  __cil_tmp81 = __cil_tmp80 == 0;
18674#line 1772
18675  __cil_tmp82 = tmp___6 & 512U;
18676#line 1772
18677  __cil_tmp83 = __cil_tmp82 == 0U;
18678#line 1772
18679  if (__cil_tmp83 ^ __cil_tmp81) {
18680    {
18681#line 1773
18682    printk(")\n");
18683#line 1774
18684    __cil_tmp84 = eni_dev->reg;
18685#line 1774
18686    __cil_tmp85 = (void const volatile   *)__cil_tmp84;
18687#line 1774
18688    tmp___5 = readl(__cil_tmp85);
18689#line 1774
18690    __cil_tmp86 = dev->number;
18691#line 1774
18692    printk("<3>eni(itf %d): ERROR - wrong id 0x%x\n", __cil_tmp86, tmp___5);
18693#line 1776
18694    error = -22;
18695    }
18696#line 1777
18697    goto unmap;
18698  } else {
18699
18700  }
18701  }
18702  {
18703#line 1779
18704  __cil_tmp87 = eni_dev->asic;
18705#line 1779
18706  if (__cil_tmp87 != 0) {
18707    {
18708#line 1779
18709    tmp___7 = get_esi_asic(dev);
18710#line 1779
18711    error = tmp___7;
18712    }
18713  } else {
18714    {
18715#line 1779
18716    tmp___8 = get_esi_fpga(dev, base);
18717#line 1779
18718    error = tmp___8;
18719    }
18720  }
18721  }
18722#line 1780
18723  if (error != 0) {
18724#line 1781
18725    goto unmap;
18726  } else {
18727
18728  }
18729#line 1782
18730  i = 0;
18731#line 1782
18732  goto ldv_40571;
18733  ldv_40570: ;
18734#line 1783
18735  if (i != 0) {
18736#line 1783
18737    tmp___9 = (char *)"-";
18738  } else {
18739#line 1783
18740    tmp___9 = (char *)"";
18741  }
18742  {
18743#line 1783
18744  __cil_tmp88 = dev->esi[i];
18745#line 1783
18746  __cil_tmp89 = (int )__cil_tmp88;
18747#line 1783
18748  printk("%s%02X", tmp___9, __cil_tmp89);
18749#line 1782
18750  i = i + 1;
18751  }
18752  ldv_40571: ;
18753#line 1782
18754  if (i <= 5) {
18755#line 1783
18756    goto ldv_40570;
18757  } else {
18758#line 1785
18759    goto ldv_40572;
18760  }
18761  ldv_40572: 
18762  {
18763#line 1784
18764  printk(")\n");
18765#line 1785
18766  __cil_tmp90 = eni_dev->reg;
18767#line 1785
18768  __cil_tmp91 = (void const volatile   *)__cil_tmp90;
18769#line 1785
18770  tmp___10 = readl(__cil_tmp91);
18771#line 1785
18772  __cil_tmp92 = eni_dev->reg;
18773#line 1785
18774  __cil_tmp93 = (void const volatile   *)__cil_tmp92;
18775#line 1785
18776  tmp___13 = readl(__cil_tmp93);
18777  }
18778  {
18779#line 1785
18780  __cil_tmp94 = tmp___13 & 512U;
18781#line 1785
18782  if (__cil_tmp94 != 0U) {
18783#line 1785
18784    tmp___12 = (char *)"ASIC";
18785  } else {
18786#line 1785
18787    tmp___12 = (char *)"FPGA";
18788  }
18789  }
18790  {
18791#line 1785
18792  __cil_tmp95 = dev->number;
18793#line 1785
18794  printk("<5>eni(itf %d): %s,%s\n", __cil_tmp95, tmp___12, media_name[tmp___10 & 31U]);
18795#line 1789
18796  error = suni_init(dev);
18797  }
18798#line 1790
18799  if (error != 0) {
18800#line 1791
18801    goto unmap;
18802  } else {
18803
18804  }
18805  out: ;
18806#line 1793
18807  return (error);
18808  unmap: 
18809  {
18810#line 1795
18811  __cil_tmp96 = (void volatile   *)base;
18812#line 1795
18813  iounmap(__cil_tmp96);
18814  }
18815#line 1796
18816  goto out;
18817}
18818}
18819#line 1800 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
18820static int eni_start(struct atm_dev *dev ) 
18821{ struct eni_dev *eni_dev ;
18822  void *buf ;
18823  unsigned long buffer_mem ;
18824  int error ;
18825  int tmp ;
18826  int tmp___0 ;
18827  struct lock_class_key __key ;
18828  void *tmp___1 ;
18829  unsigned int tmp___2 ;
18830  void *__cil_tmp11 ;
18831  unsigned int __cil_tmp12 ;
18832  void *__cil_tmp13 ;
18833  int __cil_tmp14 ;
18834  unsigned int __cil_tmp15 ;
18835  struct pci_dev *__cil_tmp16 ;
18836  int __cil_tmp17 ;
18837  struct pci_dev *__cil_tmp18 ;
18838  u16 __cil_tmp19 ;
18839  int __cil_tmp20 ;
18840  struct pci_dev *__cil_tmp21 ;
18841  u8 __cil_tmp22 ;
18842  int __cil_tmp23 ;
18843  void *__cil_tmp24 ;
18844  void *__cil_tmp25 ;
18845  void *__cil_tmp26 ;
18846  void *__cil_tmp27 ;
18847  spinlock_t *__cil_tmp28 ;
18848  struct raw_spinlock *__cil_tmp29 ;
18849  struct tasklet_struct *__cil_tmp30 ;
18850  unsigned long __cil_tmp31 ;
18851  long __cil_tmp32 ;
18852  void *__cil_tmp33 ;
18853  long __cil_tmp34 ;
18854  long __cil_tmp35 ;
18855  int __cil_tmp36 ;
18856  long __cil_tmp37 ;
18857  long __cil_tmp38 ;
18858  unsigned long __cil_tmp39 ;
18859  int __cil_tmp40 ;
18860  int __cil_tmp41 ;
18861  unsigned long __cil_tmp42 ;
18862  unsigned long __cil_tmp43 ;
18863  struct eni_free *__cil_tmp44 ;
18864  unsigned long __cil_tmp45 ;
18865  struct eni_free *__cil_tmp46 ;
18866  unsigned long __cil_tmp47 ;
18867  int __cil_tmp48 ;
18868  void *__cil_tmp49 ;
18869  void volatile   *__cil_tmp50 ;
18870  void *__cil_tmp51 ;
18871  void volatile   *__cil_tmp52 ;
18872  void volatile   *__cil_tmp53 ;
18873  struct atmphy_ops  const  *__cil_tmp54 ;
18874  int (*__cil_tmp55)(struct atm_dev * ) ;
18875  void *__cil_tmp56 ;
18876  void const volatile   *__cil_tmp57 ;
18877  void const volatile   *__cil_tmp58 ;
18878  unsigned int __cil_tmp59 ;
18879  void *__cil_tmp60 ;
18880  void volatile   *__cil_tmp61 ;
18881  void volatile   *__cil_tmp62 ;
18882  void *__cil_tmp63 ;
18883  void const volatile   *__cil_tmp64 ;
18884  void const volatile   *__cil_tmp65 ;
18885  struct eni_free *__cil_tmp66 ;
18886  void const   *__cil_tmp67 ;
18887  unsigned int __cil_tmp68 ;
18888  void *__cil_tmp69 ;
18889
18890  {
18891  {
18892#line 1809
18893  __cil_tmp11 = dev->dev_data;
18894#line 1809
18895  eni_dev = (struct eni_dev *)__cil_tmp11;
18896#line 1810
18897  __cil_tmp12 = eni_dev->irq;
18898#line 1810
18899  __cil_tmp13 = (void *)dev;
18900#line 1810
18901  tmp = request_irq(__cil_tmp12, & eni_int, 128UL, "eni", __cil_tmp13);
18902  }
18903#line 1810
18904  if (tmp != 0) {
18905    {
18906#line 1811
18907    __cil_tmp14 = dev->number;
18908#line 1811
18909    __cil_tmp15 = eni_dev->irq;
18910#line 1811
18911    printk("<3>eni(itf %d): IRQ%d is already in use\n", __cil_tmp14, __cil_tmp15);
18912#line 1813
18913    error = -11;
18914    }
18915#line 1814
18916    goto out;
18917  } else {
18918
18919  }
18920  {
18921#line 1816
18922  __cil_tmp16 = eni_dev->pci_dev;
18923#line 1816
18924  pci_set_master(__cil_tmp16);
18925  }
18926  {
18927#line 1817
18928  __cil_tmp17 = eni_dev->asic;
18929#line 1817
18930  if (__cil_tmp17 != 0) {
18931#line 1817
18932    tmp___0 = 326;
18933  } else {
18934#line 1817
18935    tmp___0 = 6;
18936  }
18937  }
18938  {
18939#line 1817
18940  __cil_tmp18 = eni_dev->pci_dev;
18941#line 1817
18942  __cil_tmp19 = (u16 )tmp___0;
18943#line 1817
18944  error = pci_write_config_word(__cil_tmp18, 4, __cil_tmp19);
18945  }
18946#line 1817
18947  if (error != 0) {
18948    {
18949#line 1820
18950    __cil_tmp20 = dev->number;
18951#line 1820
18952    printk("<3>eni(itf %d): can\'t enable memory+master (0x%02x)\n", __cil_tmp20,
18953           error);
18954    }
18955#line 1822
18956    goto free_irq;
18957  } else {
18958
18959  }
18960  {
18961#line 1824
18962  __cil_tmp21 = eni_dev->pci_dev;
18963#line 1824
18964  __cil_tmp22 = (u8 )128;
18965#line 1824
18966  error = pci_write_config_byte(__cil_tmp21, 96, __cil_tmp22);
18967  }
18968#line 1824
18969  if (error != 0) {
18970    {
18971#line 1826
18972    __cil_tmp23 = dev->number;
18973#line 1826
18974    printk("<3>eni(itf %d): can\'t set endian swap (0x%02x)\n", __cil_tmp23, error);
18975    }
18976#line 1828
18977    goto free_irq;
18978  } else {
18979
18980  }
18981  {
18982#line 1831
18983  eni_dev->vci = eni_dev->ram;
18984#line 1832
18985  __cil_tmp24 = eni_dev->ram;
18986#line 1832
18987  eni_dev->rx_dma = __cil_tmp24 + 16384UL;
18988#line 1833
18989  __cil_tmp25 = eni_dev->rx_dma;
18990#line 1833
18991  eni_dev->tx_dma = __cil_tmp25 + 4096UL;
18992#line 1834
18993  __cil_tmp26 = eni_dev->tx_dma;
18994#line 1834
18995  eni_dev->service = __cil_tmp26 + 4096UL;
18996#line 1835
18997  __cil_tmp27 = eni_dev->service;
18998#line 1835
18999  buf = __cil_tmp27 + 4096UL;
19000#line 1839
19001  __cil_tmp28 = & eni_dev->lock;
19002#line 1839
19003  spinlock_check(__cil_tmp28);
19004#line 1839
19005  __cil_tmp29 = & eni_dev->lock.ldv_6060.rlock;
19006#line 1839
19007  __raw_spin_lock_init(__cil_tmp29, "&(&eni_dev->lock)->rlock", & __key);
19008#line 1840
19009  __cil_tmp30 = & eni_dev->task;
19010#line 1840
19011  __cil_tmp31 = (unsigned long )dev;
19012#line 1840
19013  tasklet_init(__cil_tmp30, & eni_tasklet, __cil_tmp31);
19014#line 1841
19015  eni_dev->events = 0U;
19016#line 1843
19017  __cil_tmp32 = (long )buf;
19018#line 1843
19019  __cil_tmp33 = eni_dev->ram;
19020#line 1843
19021  __cil_tmp34 = (long )__cil_tmp33;
19022#line 1843
19023  __cil_tmp35 = __cil_tmp34 - __cil_tmp32;
19024#line 1843
19025  __cil_tmp36 = eni_dev->mem;
19026#line 1843
19027  __cil_tmp37 = (long )__cil_tmp36;
19028#line 1843
19029  __cil_tmp38 = __cil_tmp37 + __cil_tmp35;
19030#line 1843
19031  buffer_mem = (unsigned long )__cil_tmp38;
19032#line 1844
19033  __cil_tmp39 = buffer_mem / 2048UL;
19034#line 1844
19035  eni_dev->free_list_size = (int )__cil_tmp39;
19036#line 1845
19037  __cil_tmp40 = eni_dev->free_list_size;
19038#line 1845
19039  __cil_tmp41 = __cil_tmp40 + 1;
19040#line 1845
19041  __cil_tmp42 = (unsigned long )__cil_tmp41;
19042#line 1845
19043  __cil_tmp43 = __cil_tmp42 * 16UL;
19044#line 1845
19045  tmp___1 = kmalloc(__cil_tmp43, 208U);
19046#line 1845
19047  eni_dev->free_list = (struct eni_free *)tmp___1;
19048  }
19049  {
19050#line 1847
19051  __cil_tmp44 = (struct eni_free *)0;
19052#line 1847
19053  __cil_tmp45 = (unsigned long )__cil_tmp44;
19054#line 1847
19055  __cil_tmp46 = eni_dev->free_list;
19056#line 1847
19057  __cil_tmp47 = (unsigned long )__cil_tmp46;
19058#line 1847
19059  if (__cil_tmp47 == __cil_tmp45) {
19060    {
19061#line 1848
19062    __cil_tmp48 = dev->number;
19063#line 1848
19064    printk("<3>eni(itf %d): couldn\'t get free page\n", __cil_tmp48);
19065#line 1850
19066    error = -12;
19067    }
19068#line 1851
19069    goto free_irq;
19070  } else {
19071
19072  }
19073  }
19074  {
19075#line 1853
19076  eni_dev->free_len = 0;
19077#line 1854
19078  eni_put_free(eni_dev, buf, buffer_mem);
19079#line 1855
19080  __cil_tmp49 = eni_dev->vci;
19081#line 1855
19082  __cil_tmp50 = (void volatile   *)__cil_tmp49;
19083#line 1855
19084  memset_io(__cil_tmp50, (unsigned char)0, 16384UL);
19085#line 1865
19086  __cil_tmp51 = eni_dev->reg;
19087#line 1865
19088  __cil_tmp52 = (void volatile   *)__cil_tmp51;
19089#line 1865
19090  __cil_tmp53 = __cil_tmp52 + 12U;
19091#line 1865
19092  writel(4294967295U, __cil_tmp53);
19093#line 1866
19094  error = start_tx(dev);
19095  }
19096#line 1867
19097  if (error != 0) {
19098#line 1867
19099    goto free_list;
19100  } else {
19101
19102  }
19103  {
19104#line 1868
19105  error = start_rx(dev);
19106  }
19107#line 1869
19108  if (error != 0) {
19109#line 1869
19110    goto free_list;
19111  } else {
19112
19113  }
19114  {
19115#line 1870
19116  __cil_tmp54 = dev->phy;
19117#line 1870
19118  __cil_tmp55 = __cil_tmp54->start;
19119#line 1870
19120  error = (*__cil_tmp55)(dev);
19121  }
19122#line 1871
19123  if (error != 0) {
19124#line 1871
19125    goto free_list;
19126  } else {
19127
19128  }
19129  {
19130#line 1872
19131  __cil_tmp56 = eni_dev->reg;
19132#line 1872
19133  __cil_tmp57 = (void const volatile   *)__cil_tmp56;
19134#line 1872
19135  __cil_tmp58 = __cil_tmp57 + 16U;
19136#line 1872
19137  tmp___2 = readl(__cil_tmp58);
19138#line 1872
19139  __cil_tmp59 = tmp___2 | 124U;
19140#line 1872
19141  __cil_tmp60 = eni_dev->reg;
19142#line 1872
19143  __cil_tmp61 = (void volatile   *)__cil_tmp60;
19144#line 1872
19145  __cil_tmp62 = __cil_tmp61 + 16U;
19146#line 1872
19147  writel(__cil_tmp59, __cil_tmp62);
19148#line 1876
19149  __cil_tmp63 = eni_dev->reg;
19150#line 1876
19151  __cil_tmp64 = (void const volatile   *)__cil_tmp63;
19152#line 1876
19153  __cil_tmp65 = __cil_tmp64 + 4U;
19154#line 1876
19155  readl(__cil_tmp65);
19156  }
19157#line 1877
19158  return (0);
19159  free_list: 
19160  {
19161#line 1880
19162  __cil_tmp66 = eni_dev->free_list;
19163#line 1880
19164  __cil_tmp67 = (void const   *)__cil_tmp66;
19165#line 1880
19166  kfree(__cil_tmp67);
19167  }
19168  free_irq: 
19169  {
19170#line 1883
19171  __cil_tmp68 = eni_dev->irq;
19172#line 1883
19173  __cil_tmp69 = (void *)eni_dev;
19174#line 1883
19175  free_irq(__cil_tmp68, __cil_tmp69);
19176  }
19177  out: ;
19178#line 1886
19179  return (error);
19180}
19181}
19182#line 1890 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
19183static void eni_close(struct atm_vcc *vcc ) 
19184{ void *__cil_tmp2 ;
19185  unsigned long __cil_tmp3 ;
19186  void *__cil_tmp4 ;
19187  unsigned long __cil_tmp5 ;
19188  unsigned long *__cil_tmp6 ;
19189  unsigned long volatile   *__cil_tmp7 ;
19190  void *__cil_tmp8 ;
19191  void const   *__cil_tmp9 ;
19192  unsigned long *__cil_tmp10 ;
19193  unsigned long volatile   *__cil_tmp11 ;
19194
19195  {
19196  {
19197#line 1893
19198  __cil_tmp2 = (void *)0;
19199#line 1893
19200  __cil_tmp3 = (unsigned long )__cil_tmp2;
19201#line 1893
19202  __cil_tmp4 = vcc->dev_data;
19203#line 1893
19204  __cil_tmp5 = (unsigned long )__cil_tmp4;
19205#line 1893
19206  if (__cil_tmp5 == __cil_tmp3) {
19207#line 1893
19208    return;
19209  } else {
19210
19211  }
19212  }
19213  {
19214#line 1894
19215  __cil_tmp6 = & vcc->flags;
19216#line 1894
19217  __cil_tmp7 = (unsigned long volatile   *)__cil_tmp6;
19218#line 1894
19219  clear_bit(1, __cil_tmp7);
19220#line 1895
19221  close_rx(vcc);
19222#line 1896
19223  close_tx(vcc);
19224#line 1899
19225  __cil_tmp8 = vcc->dev_data;
19226#line 1899
19227  __cil_tmp9 = (void const   *)__cil_tmp8;
19228#line 1899
19229  kfree(__cil_tmp9);
19230#line 1900
19231  vcc->dev_data = (void *)0;
19232#line 1901
19233  __cil_tmp10 = & vcc->flags;
19234#line 1901
19235  __cil_tmp11 = (unsigned long volatile   *)__cil_tmp10;
19236#line 1901
19237  clear_bit(0, __cil_tmp11);
19238  }
19239#line 1902
19240  return;
19241}
19242}
19243#line 1906 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
19244static int eni_open(struct atm_vcc *vcc ) 
19245{ struct eni_vcc *eni_vcc ;
19246  int error ;
19247  short vpi ;
19248  int vci ;
19249  int tmp ;
19250  void *tmp___0 ;
19251  int tmp___1 ;
19252  unsigned long *__cil_tmp9 ;
19253  unsigned long const volatile   *__cil_tmp10 ;
19254  int __cil_tmp11 ;
19255  unsigned long *__cil_tmp12 ;
19256  unsigned long volatile   *__cil_tmp13 ;
19257  unsigned char __cil_tmp14 ;
19258  unsigned int __cil_tmp15 ;
19259  unsigned char __cil_tmp16 ;
19260  unsigned int __cil_tmp17 ;
19261  unsigned long *__cil_tmp18 ;
19262  unsigned long const volatile   *__cil_tmp19 ;
19263  struct eni_vcc *__cil_tmp20 ;
19264  unsigned long __cil_tmp21 ;
19265  unsigned long __cil_tmp22 ;
19266  int __cil_tmp23 ;
19267  unsigned long *__cil_tmp24 ;
19268  unsigned long volatile   *__cil_tmp25 ;
19269
19270  {
19271  {
19272#line 1910
19273  vpi = vcc->vpi;
19274#line 1911
19275  vci = vcc->vci;
19276#line 1914
19277  EVENT("eni_open\n", 0UL, 0UL);
19278#line 1915
19279  __cil_tmp9 = & vcc->flags;
19280#line 1915
19281  __cil_tmp10 = (unsigned long const volatile   *)__cil_tmp9;
19282#line 1915
19283  tmp = constant_test_bit(2U, __cil_tmp10);
19284  }
19285#line 1915
19286  if (tmp == 0) {
19287#line 1916
19288    vcc->dev_data = (void *)0;
19289  } else {
19290
19291  }
19292#line 1917
19293  if (vci != -2) {
19294    {
19295#line 1917
19296    __cil_tmp11 = (int )vpi;
19297#line 1917
19298    if (__cil_tmp11 != -2) {
19299      {
19300#line 1918
19301      __cil_tmp12 = & vcc->flags;
19302#line 1918
19303      __cil_tmp13 = (unsigned long volatile   *)__cil_tmp12;
19304#line 1918
19305      set_bit(0U, __cil_tmp13);
19306      }
19307    } else {
19308
19309    }
19310    }
19311  } else {
19312
19313  }
19314  {
19315#line 1919
19316  __cil_tmp14 = vcc->qos.aal;
19317#line 1919
19318  __cil_tmp15 = (unsigned int )__cil_tmp14;
19319#line 1919
19320  if (__cil_tmp15 != 13U) {
19321    {
19322#line 1919
19323    __cil_tmp16 = vcc->qos.aal;
19324#line 1919
19325    __cil_tmp17 = (unsigned int )__cil_tmp16;
19326#line 1919
19327    if (__cil_tmp17 != 5U) {
19328#line 1920
19329      return (-22);
19330    } else {
19331
19332    }
19333    }
19334  } else {
19335
19336  }
19337  }
19338  {
19339#line 1923
19340  __cil_tmp18 = & vcc->flags;
19341#line 1923
19342  __cil_tmp19 = (unsigned long const volatile   *)__cil_tmp18;
19343#line 1923
19344  tmp___1 = constant_test_bit(2U, __cil_tmp19);
19345  }
19346#line 1923
19347  if (tmp___1 == 0) {
19348    {
19349#line 1924
19350    tmp___0 = kmalloc(88UL, 208U);
19351#line 1924
19352    eni_vcc = (struct eni_vcc *)tmp___0;
19353    }
19354    {
19355#line 1925
19356    __cil_tmp20 = (struct eni_vcc *)0;
19357#line 1925
19358    __cil_tmp21 = (unsigned long )__cil_tmp20;
19359#line 1925
19360    __cil_tmp22 = (unsigned long )eni_vcc;
19361#line 1925
19362    if (__cil_tmp22 == __cil_tmp21) {
19363#line 1925
19364      return (-12);
19365    } else {
19366
19367    }
19368    }
19369    {
19370#line 1926
19371    vcc->dev_data = (void *)eni_vcc;
19372#line 1927
19373    eni_vcc->tx = (struct eni_tx *)0;
19374#line 1928
19375    error = open_rx_first(vcc);
19376    }
19377#line 1928
19378    if (error != 0) {
19379      {
19380#line 1929
19381      eni_close(vcc);
19382      }
19383#line 1930
19384      return (error);
19385    } else {
19386
19387    }
19388    {
19389#line 1932
19390    error = open_tx_first(vcc);
19391    }
19392#line 1932
19393    if (error != 0) {
19394      {
19395#line 1933
19396      eni_close(vcc);
19397      }
19398#line 1934
19399      return (error);
19400    } else {
19401
19402    }
19403  } else {
19404
19405  }
19406#line 1937
19407  if (vci == -2) {
19408#line 1937
19409    return (0);
19410  } else {
19411    {
19412#line 1937
19413    __cil_tmp23 = (int )vpi;
19414#line 1937
19415    if (__cil_tmp23 == -2) {
19416#line 1937
19417      return (0);
19418    } else {
19419
19420    }
19421    }
19422  }
19423  {
19424#line 1938
19425  error = open_rx_second(vcc);
19426  }
19427#line 1938
19428  if (error != 0) {
19429    {
19430#line 1939
19431    eni_close(vcc);
19432    }
19433#line 1940
19434    return (error);
19435  } else {
19436
19437  }
19438  {
19439#line 1942
19440  error = open_tx_second(vcc);
19441  }
19442#line 1942
19443  if (error != 0) {
19444    {
19445#line 1943
19446    eni_close(vcc);
19447    }
19448#line 1944
19449    return (error);
19450  } else {
19451
19452  }
19453  {
19454#line 1946
19455  __cil_tmp24 = & vcc->flags;
19456#line 1946
19457  __cil_tmp25 = (unsigned long volatile   *)__cil_tmp24;
19458#line 1946
19459  set_bit(1U, __cil_tmp25);
19460  }
19461#line 1948
19462  return (0);
19463}
19464}
19465#line 1952 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
19466static int eni_change_qos(struct atm_vcc *vcc , struct atm_qos *qos , int flgs ) 
19467{ struct eni_dev *eni_dev ;
19468  struct eni_tx *tx ;
19469  struct sk_buff *skb ;
19470  int error ;
19471  int rate ;
19472  int rsv ;
19473  int shp ;
19474  void *dsc ;
19475  unsigned int tmp ;
19476  struct atm_dev *__cil_tmp13 ;
19477  void *__cil_tmp14 ;
19478  void *__cil_tmp15 ;
19479  struct eni_vcc *__cil_tmp16 ;
19480  unsigned char __cil_tmp17 ;
19481  unsigned int __cil_tmp18 ;
19482  unsigned long __cil_tmp19 ;
19483  struct eni_tx *__cil_tmp20 ;
19484  unsigned long __cil_tmp21 ;
19485  struct atm_trafprm *__cil_tmp22 ;
19486  struct atm_trafprm  const  *__cil_tmp23 ;
19487  int __cil_tmp24 ;
19488  int __cil_tmp25 ;
19489  int __cil_tmp26 ;
19490  int __cil_tmp27 ;
19491  int __cil_tmp28 ;
19492  int __cil_tmp29 ;
19493  int __cil_tmp30 ;
19494  int __cil_tmp31 ;
19495  struct atm_trafprm *__cil_tmp32 ;
19496  int __cil_tmp33 ;
19497  struct tasklet_struct *__cil_tmp34 ;
19498  unsigned long __cil_tmp35 ;
19499  char (*__cil_tmp36)[48U] ;
19500  struct atm_skb_data *__cil_tmp37 ;
19501  struct atm_vcc *__cil_tmp38 ;
19502  unsigned long __cil_tmp39 ;
19503  char (*__cil_tmp40)[48U] ;
19504  struct eni_skb_prv *__cil_tmp41 ;
19505  unsigned long __cil_tmp42 ;
19506  unsigned long __cil_tmp43 ;
19507  void *__cil_tmp44 ;
19508  void const volatile   *__cil_tmp45 ;
19509  int __cil_tmp46 ;
19510  int __cil_tmp47 ;
19511  unsigned int __cil_tmp48 ;
19512  int __cil_tmp49 ;
19513  int __cil_tmp50 ;
19514  unsigned int __cil_tmp51 ;
19515  unsigned int __cil_tmp52 ;
19516  unsigned int __cil_tmp53 ;
19517  unsigned int __cil_tmp54 ;
19518  void volatile   *__cil_tmp55 ;
19519  unsigned long __cil_tmp56 ;
19520  struct sk_buff_head *__cil_tmp57 ;
19521  struct sk_buff *__cil_tmp58 ;
19522  unsigned long __cil_tmp59 ;
19523  struct tasklet_struct *__cil_tmp60 ;
19524
19525  {
19526#line 1954
19527  __cil_tmp13 = vcc->dev;
19528#line 1954
19529  __cil_tmp14 = __cil_tmp13->dev_data;
19530#line 1954
19531  eni_dev = (struct eni_dev *)__cil_tmp14;
19532#line 1955
19533  __cil_tmp15 = vcc->dev_data;
19534#line 1955
19535  __cil_tmp16 = (struct eni_vcc *)__cil_tmp15;
19536#line 1955
19537  tx = __cil_tmp16->tx;
19538  {
19539#line 1959
19540  __cil_tmp17 = qos->txtp.traffic_class;
19541#line 1959
19542  __cil_tmp18 = (unsigned int )__cil_tmp17;
19543#line 1959
19544  if (__cil_tmp18 == 0U) {
19545#line 1959
19546    return (0);
19547  } else {
19548
19549  }
19550  }
19551  {
19552#line 1960
19553  __cil_tmp19 = (unsigned long )tx;
19554#line 1960
19555  __cil_tmp20 = eni_dev->ubr;
19556#line 1960
19557  __cil_tmp21 = (unsigned long )__cil_tmp20;
19558#line 1960
19559  if (__cil_tmp21 == __cil_tmp19) {
19560#line 1960
19561    return (-77);
19562  } else {
19563
19564  }
19565  }
19566  {
19567#line 1961
19568  __cil_tmp22 = & qos->txtp;
19569#line 1961
19570  __cil_tmp23 = (struct atm_trafprm  const  *)__cil_tmp22;
19571#line 1961
19572  rate = atm_pcr_goal(__cil_tmp23);
19573  }
19574#line 1962
19575  if (rate < 0) {
19576#line 1962
19577    rate = - rate;
19578  } else {
19579
19580  }
19581#line 1963
19582  shp = 0;
19583#line 1963
19584  rsv = shp;
19585  {
19586#line 1964
19587  __cil_tmp24 = flgs & 8;
19588#line 1964
19589  if (__cil_tmp24 != 0) {
19590#line 1964
19591    if (rate != 0) {
19592      {
19593#line 1964
19594      __cil_tmp25 = tx->reserved;
19595#line 1964
19596      if (__cil_tmp25 > rate) {
19597#line 1964
19598        rsv = 1;
19599      } else {
19600
19601      }
19602      }
19603    } else {
19604
19605    }
19606  } else {
19607
19608  }
19609  }
19610  {
19611#line 1965
19612  __cil_tmp26 = flgs & 2;
19613#line 1965
19614  if (__cil_tmp26 != 0) {
19615#line 1965
19616    if (rate == 0) {
19617#line 1965
19618      rsv = 1;
19619    } else {
19620      {
19621#line 1965
19622      __cil_tmp27 = tx->reserved;
19623#line 1965
19624      if (__cil_tmp27 < rate) {
19625#line 1965
19626        rsv = 1;
19627      } else {
19628
19629      }
19630      }
19631    }
19632  } else {
19633
19634  }
19635  }
19636  {
19637#line 1966
19638  __cil_tmp28 = flgs & 16;
19639#line 1966
19640  if (__cil_tmp28 != 0) {
19641#line 1966
19642    if (rate != 0) {
19643      {
19644#line 1966
19645      __cil_tmp29 = tx->shaping;
19646#line 1966
19647      if (__cil_tmp29 > rate) {
19648#line 1966
19649        shp = 1;
19650      } else {
19651
19652      }
19653      }
19654    } else {
19655
19656    }
19657  } else {
19658
19659  }
19660  }
19661  {
19662#line 1967
19663  __cil_tmp30 = flgs & 4;
19664#line 1967
19665  if (__cil_tmp30 != 0) {
19666#line 1967
19667    if (rate == 0) {
19668#line 1967
19669      shp = 1;
19670    } else {
19671      {
19672#line 1967
19673      __cil_tmp31 = tx->shaping;
19674#line 1967
19675      if (__cil_tmp31 < rate) {
19676#line 1967
19677        shp = 1;
19678      } else {
19679
19680      }
19681      }
19682    }
19683  } else {
19684
19685  }
19686  }
19687#line 1968
19688  if (rsv == 0) {
19689#line 1968
19690    if (shp == 0) {
19691#line 1968
19692      return (0);
19693    } else {
19694
19695    }
19696  } else {
19697
19698  }
19699  {
19700#line 1969
19701  __cil_tmp32 = & qos->txtp;
19702#line 1969
19703  error = reserve_or_set_tx(vcc, __cil_tmp32, rsv, shp);
19704  }
19705#line 1970
19706  if (error != 0) {
19707#line 1970
19708    return (error);
19709  } else {
19710
19711  }
19712#line 1971
19713  if (shp != 0) {
19714    {
19715#line 1971
19716    __cil_tmp33 = flgs & 1;
19717#line 1971
19718    if (__cil_tmp33 == 0) {
19719#line 1971
19720      return (0);
19721    } else {
19722
19723    }
19724    }
19725  } else {
19726
19727  }
19728  {
19729#line 1976
19730  __cil_tmp34 = & eni_dev->task;
19731#line 1976
19732  tasklet_disable(__cil_tmp34);
19733#line 1977
19734  skb = eni_dev->tx_queue.next;
19735  }
19736#line 1977
19737  goto ldv_40610;
19738  ldv_40609: ;
19739  {
19740#line 1980
19741  __cil_tmp35 = (unsigned long )vcc;
19742#line 1980
19743  __cil_tmp36 = & skb->cb;
19744#line 1980
19745  __cil_tmp37 = (struct atm_skb_data *)__cil_tmp36;
19746#line 1980
19747  __cil_tmp38 = __cil_tmp37->vcc;
19748#line 1980
19749  __cil_tmp39 = (unsigned long )__cil_tmp38;
19750#line 1980
19751  if (__cil_tmp39 != __cil_tmp35) {
19752#line 1980
19753    goto ldv_40608;
19754  } else {
19755
19756  }
19757  }
19758  {
19759#line 1981
19760  __cil_tmp40 = & skb->cb;
19761#line 1981
19762  __cil_tmp41 = (struct eni_skb_prv *)__cil_tmp40;
19763#line 1981
19764  __cil_tmp42 = __cil_tmp41->pos;
19765#line 1981
19766  __cil_tmp43 = __cil_tmp42 * 4UL;
19767#line 1981
19768  __cil_tmp44 = tx->send;
19769#line 1981
19770  dsc = __cil_tmp44 + __cil_tmp43;
19771#line 1982
19772  __cil_tmp45 = (void const volatile   *)dsc;
19773#line 1982
19774  tmp = readl(__cil_tmp45);
19775#line 1982
19776  __cil_tmp46 = tx->resolution;
19777#line 1982
19778  __cil_tmp47 = __cil_tmp46 << 19;
19779#line 1982
19780  __cil_tmp48 = (unsigned int )__cil_tmp47;
19781#line 1982
19782  __cil_tmp49 = tx->prescaler;
19783#line 1982
19784  __cil_tmp50 = __cil_tmp49 << 25;
19785#line 1982
19786  __cil_tmp51 = (unsigned int )__cil_tmp50;
19787#line 1982
19788  __cil_tmp52 = tmp & 4161273855U;
19789#line 1982
19790  __cil_tmp53 = __cil_tmp52 | __cil_tmp51;
19791#line 1982
19792  __cil_tmp54 = __cil_tmp53 | __cil_tmp48;
19793#line 1982
19794  __cil_tmp55 = (void volatile   *)dsc;
19795#line 1982
19796  writel(__cil_tmp54, __cil_tmp55);
19797  }
19798  ldv_40608: 
19799#line 1977
19800  skb = skb->next;
19801  ldv_40610: ;
19802  {
19803#line 1977
19804  __cil_tmp56 = (unsigned long )skb;
19805#line 1977
19806  __cil_tmp57 = & eni_dev->tx_queue;
19807#line 1977
19808  __cil_tmp58 = (struct sk_buff *)__cil_tmp57;
19809#line 1977
19810  __cil_tmp59 = (unsigned long )__cil_tmp58;
19811#line 1977
19812  if (__cil_tmp59 != __cil_tmp56) {
19813#line 1978
19814    goto ldv_40609;
19815  } else {
19816#line 1980
19817    goto ldv_40611;
19818  }
19819  }
19820  ldv_40611: 
19821  {
19822#line 1986
19823  __cil_tmp60 = & eni_dev->task;
19824#line 1986
19825  tasklet_enable(__cil_tmp60);
19826  }
19827#line 1987
19828  return (0);
19829}
19830}
19831#line 1991 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
19832static int eni_ioctl(struct atm_dev *dev , unsigned int cmd , void *arg ) 
19833{ struct eni_dev *eni_dev ;
19834  bool tmp ;
19835  int tmp___0 ;
19836  struct eni_multipliers mult ;
19837  bool tmp___1 ;
19838  int tmp___2 ;
19839  unsigned long tmp___3 ;
19840  struct atm_cirange ci ;
19841  unsigned long tmp___4 ;
19842  int tmp___5 ;
19843  void *__cil_tmp14 ;
19844  int __cil_tmp15 ;
19845  void *__cil_tmp16 ;
19846  void const   *__cil_tmp17 ;
19847  void *__cil_tmp18 ;
19848  void const   *__cil_tmp19 ;
19849  int __cil_tmp20 ;
19850  int __cil_tmp21 ;
19851  int __cil_tmp22 ;
19852  int __cil_tmp23 ;
19853  int (*__cil_tmp24)(struct atm_dev * , unsigned int  , void * ) ;
19854  unsigned long __cil_tmp25 ;
19855  struct atmphy_ops  const  *__cil_tmp26 ;
19856  int (*__cil_tmp27)(struct atm_dev * , unsigned int  , void * ) ;
19857  unsigned long __cil_tmp28 ;
19858  struct atmphy_ops  const  *__cil_tmp29 ;
19859  int (*__cil_tmp30)(struct atm_dev * , unsigned int  , void * ) ;
19860
19861  {
19862#line 1993
19863  __cil_tmp14 = dev->dev_data;
19864#line 1993
19865  eni_dev = (struct eni_dev *)__cil_tmp14;
19866#line 1995
19867  if (cmd == 1074815328U) {
19868    {
19869#line 1996
19870    tmp = capable(12);
19871    }
19872#line 1996
19873    if (tmp) {
19874#line 1996
19875      tmp___0 = 0;
19876    } else {
19877#line 1996
19878      tmp___0 = 1;
19879    }
19880#line 1996
19881    if (tmp___0) {
19882#line 1996
19883      return (-1);
19884    } else {
19885
19886    }
19887    {
19888#line 1997
19889    __cil_tmp15 = dev->number;
19890#line 1997
19891    printk("<4>Please use /proc/atm/eni:%d instead of obsolete ioctl ENI_MEMDUMP\n",
19892           __cil_tmp15);
19893#line 1999
19894    dump(dev);
19895    }
19896#line 2000
19897    return (0);
19898  } else {
19899
19900  }
19901#line 2002
19902  if (cmd == 1074815335U) {
19903    {
19904#line 2005
19905    tmp___1 = capable(12);
19906    }
19907#line 2005
19908    if (tmp___1) {
19909#line 2005
19910      tmp___2 = 0;
19911    } else {
19912#line 2005
19913      tmp___2 = 1;
19914    }
19915#line 2005
19916    if (tmp___2) {
19917#line 2005
19918      return (-1);
19919    } else {
19920
19921    }
19922    {
19923#line 2006
19924    __cil_tmp16 = (void *)(& mult);
19925#line 2006
19926    __cil_tmp17 = (void const   *)arg;
19927#line 2006
19928    tmp___3 = copy_from_user(__cil_tmp16, __cil_tmp17, 8UL);
19929    }
19930#line 2006
19931    if (tmp___3 != 0UL) {
19932#line 2008
19933      return (-14);
19934    } else {
19935
19936    }
19937#line 2009
19938    if (mult.tx != 0) {
19939#line 2009
19940      if (mult.tx <= 100) {
19941#line 2011
19942        return (-22);
19943      } else {
19944#line 2009
19945        goto _L___0;
19946      }
19947    } else
19948    _L___0: 
19949#line 2009
19950    if (mult.rx != 0) {
19951#line 2009
19952      if (mult.rx <= 100) {
19953#line 2011
19954        return (-22);
19955      } else {
19956#line 2009
19957        goto _L;
19958      }
19959    } else
19960    _L: 
19961#line 2009
19962    if (mult.tx > 65536) {
19963#line 2011
19964      return (-22);
19965    } else
19966#line 2009
19967    if (mult.rx > 65536) {
19968#line 2011
19969      return (-22);
19970    } else {
19971
19972    }
19973#line 2012
19974    if (mult.tx != 0) {
19975#line 2012
19976      eni_dev->tx_mult = mult.tx;
19977    } else {
19978
19979    }
19980#line 2013
19981    if (mult.rx != 0) {
19982#line 2013
19983      eni_dev->rx_mult = mult.rx;
19984    } else {
19985
19986    }
19987#line 2014
19988    return (0);
19989  } else {
19990
19991  }
19992#line 2016
19993  if (cmd == 1074815371U) {
19994    {
19995#line 2019
19996    __cil_tmp18 = (void *)(& ci);
19997#line 2019
19998    __cil_tmp19 = (void const   *)arg;
19999#line 2019
20000    tmp___4 = copy_from_user(__cil_tmp18, __cil_tmp19, 2UL);
20001    }
20002#line 2019
20003    if (tmp___4 != 0UL) {
20004#line 2020
20005      return (-14);
20006    } else {
20007
20008    }
20009    {
20010#line 2021
20011    __cil_tmp20 = (int )ci.vpi_bits;
20012#line 2021
20013    if (__cil_tmp20 == 0) {
20014#line 2021
20015      goto _L___1;
20016    } else {
20017      {
20018#line 2021
20019      __cil_tmp21 = (int )ci.vpi_bits;
20020#line 2021
20021      if (__cil_tmp21 == -1) {
20022        _L___1: 
20023        {
20024#line 2021
20025        __cil_tmp22 = (int )ci.vci_bits;
20026#line 2021
20027        if (__cil_tmp22 == 10) {
20028#line 2023
20029          return (0);
20030        } else {
20031          {
20032#line 2021
20033          __cil_tmp23 = (int )ci.vpi_bits;
20034#line 2021
20035          if (__cil_tmp23 == -1) {
20036#line 2023
20037            return (0);
20038          } else {
20039
20040          }
20041          }
20042        }
20043        }
20044      } else {
20045
20046      }
20047      }
20048    }
20049    }
20050#line 2024
20051    return (-22);
20052  } else {
20053
20054  }
20055  {
20056#line 2026
20057  __cil_tmp24 = (int (* const  )(struct atm_dev * , unsigned int  , void * ))0;
20058#line 2026
20059  __cil_tmp25 = (unsigned long )__cil_tmp24;
20060#line 2026
20061  __cil_tmp26 = dev->phy;
20062#line 2026
20063  __cil_tmp27 = __cil_tmp26->ioctl;
20064#line 2026
20065  __cil_tmp28 = (unsigned long )__cil_tmp27;
20066#line 2026
20067  if (__cil_tmp28 == __cil_tmp25) {
20068#line 2026
20069    return (-515);
20070  } else {
20071
20072  }
20073  }
20074  {
20075#line 2027
20076  __cil_tmp29 = dev->phy;
20077#line 2027
20078  __cil_tmp30 = __cil_tmp29->ioctl;
20079#line 2027
20080  tmp___5 = (*__cil_tmp30)(dev, cmd, arg);
20081  }
20082#line 2027
20083  return (tmp___5);
20084}
20085}
20086#line 2031 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
20087static int eni_getsockopt(struct atm_vcc *vcc , int level , int optname , void *optval ,
20088                          int optlen ) 
20089{ 
20090
20091  {
20092#line 2034
20093  return (-22);
20094}
20095}
20096#line 2038 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
20097static int eni_setsockopt(struct atm_vcc *vcc , int level , int optname , void *optval ,
20098                          unsigned int optlen ) 
20099{ 
20100
20101  {
20102#line 2041
20103  return (-22);
20104}
20105}
20106#line 2045 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
20107static int eni_send(struct atm_vcc *vcc , struct sk_buff *skb ) 
20108{ enum enq_res res ;
20109  __u32 tmp ;
20110  struct eni_tx *__cil_tmp5 ;
20111  unsigned long __cil_tmp6 ;
20112  void *__cil_tmp7 ;
20113  struct eni_vcc *__cil_tmp8 ;
20114  struct eni_tx *__cil_tmp9 ;
20115  unsigned long __cil_tmp10 ;
20116  void (*__cil_tmp11)(struct atm_vcc * , struct sk_buff * ) ;
20117  unsigned long __cil_tmp12 ;
20118  void (*__cil_tmp13)(struct atm_vcc * , struct sk_buff * ) ;
20119  unsigned long __cil_tmp14 ;
20120  void (*__cil_tmp15)(struct atm_vcc * , struct sk_buff * ) ;
20121  struct sk_buff *__cil_tmp16 ;
20122  unsigned long __cil_tmp17 ;
20123  unsigned long __cil_tmp18 ;
20124  void (*__cil_tmp19)(struct atm_vcc * , struct sk_buff * ) ;
20125  unsigned long __cil_tmp20 ;
20126  void (*__cil_tmp21)(struct atm_vcc * , struct sk_buff * ) ;
20127  unsigned long __cil_tmp22 ;
20128  void (*__cil_tmp23)(struct atm_vcc * , struct sk_buff * ) ;
20129  unsigned char __cil_tmp24 ;
20130  unsigned int __cil_tmp25 ;
20131  unsigned int __cil_tmp26 ;
20132  void (*__cil_tmp27)(struct atm_vcc * , struct sk_buff * ) ;
20133  unsigned long __cil_tmp28 ;
20134  void (*__cil_tmp29)(struct atm_vcc * , struct sk_buff * ) ;
20135  unsigned long __cil_tmp30 ;
20136  void (*__cil_tmp31)(struct atm_vcc * , struct sk_buff * ) ;
20137  unsigned char *__cil_tmp32 ;
20138  u32 *__cil_tmp33 ;
20139  u32 __cil_tmp34 ;
20140  unsigned char *__cil_tmp35 ;
20141  u32 *__cil_tmp36 ;
20142  char (*__cil_tmp37)[48U] ;
20143  struct atm_skb_data *__cil_tmp38 ;
20144  struct atm_dev *__cil_tmp39 ;
20145  void *__cil_tmp40 ;
20146  struct eni_dev *__cil_tmp41 ;
20147  struct tasklet_struct *__cil_tmp42 ;
20148  struct atm_dev *__cil_tmp43 ;
20149  void *__cil_tmp44 ;
20150  struct eni_dev *__cil_tmp45 ;
20151  struct tasklet_struct *__cil_tmp46 ;
20152  unsigned int __cil_tmp47 ;
20153  void *__cil_tmp48 ;
20154  struct eni_vcc *__cil_tmp49 ;
20155  struct eni_tx *__cil_tmp50 ;
20156  struct sk_buff_head *__cil_tmp51 ;
20157  struct atm_dev *__cil_tmp52 ;
20158  void *__cil_tmp53 ;
20159  struct eni_dev *__cil_tmp54 ;
20160  struct tasklet_struct *__cil_tmp55 ;
20161
20162  {
20163  {
20164#line 2050
20165  __cil_tmp5 = (struct eni_tx *)0;
20166#line 2050
20167  __cil_tmp6 = (unsigned long )__cil_tmp5;
20168#line 2050
20169  __cil_tmp7 = vcc->dev_data;
20170#line 2050
20171  __cil_tmp8 = (struct eni_vcc *)__cil_tmp7;
20172#line 2050
20173  __cil_tmp9 = __cil_tmp8->tx;
20174#line 2050
20175  __cil_tmp10 = (unsigned long )__cil_tmp9;
20176#line 2050
20177  if (__cil_tmp10 == __cil_tmp6) {
20178    {
20179#line 2051
20180    __cil_tmp11 = (void (*)(struct atm_vcc * , struct sk_buff * ))0;
20181#line 2051
20182    __cil_tmp12 = (unsigned long )__cil_tmp11;
20183#line 2051
20184    __cil_tmp13 = vcc->pop;
20185#line 2051
20186    __cil_tmp14 = (unsigned long )__cil_tmp13;
20187#line 2051
20188    if (__cil_tmp14 != __cil_tmp12) {
20189      {
20190#line 2051
20191      __cil_tmp15 = vcc->pop;
20192#line 2051
20193      (*__cil_tmp15)(vcc, skb);
20194      }
20195    } else {
20196      {
20197#line 2052
20198      consume_skb(skb);
20199      }
20200    }
20201    }
20202#line 2053
20203    return (-22);
20204  } else {
20205
20206  }
20207  }
20208  {
20209#line 2055
20210  __cil_tmp16 = (struct sk_buff *)0;
20211#line 2055
20212  __cil_tmp17 = (unsigned long )__cil_tmp16;
20213#line 2055
20214  __cil_tmp18 = (unsigned long )skb;
20215#line 2055
20216  if (__cil_tmp18 == __cil_tmp17) {
20217    {
20218#line 2056
20219    printk("<2>!skb in eni_send ?\n");
20220    }
20221    {
20222#line 2057
20223    __cil_tmp19 = (void (*)(struct atm_vcc * , struct sk_buff * ))0;
20224#line 2057
20225    __cil_tmp20 = (unsigned long )__cil_tmp19;
20226#line 2057
20227    __cil_tmp21 = vcc->pop;
20228#line 2057
20229    __cil_tmp22 = (unsigned long )__cil_tmp21;
20230#line 2057
20231    if (__cil_tmp22 != __cil_tmp20) {
20232      {
20233#line 2057
20234      __cil_tmp23 = vcc->pop;
20235#line 2057
20236      (*__cil_tmp23)(vcc, skb);
20237      }
20238    } else {
20239
20240    }
20241    }
20242#line 2058
20243    return (-22);
20244  } else {
20245
20246  }
20247  }
20248  {
20249#line 2060
20250  __cil_tmp24 = vcc->qos.aal;
20251#line 2060
20252  __cil_tmp25 = (unsigned int )__cil_tmp24;
20253#line 2060
20254  if (__cil_tmp25 == 13U) {
20255    {
20256#line 2061
20257    __cil_tmp26 = skb->len;
20258#line 2061
20259    if (__cil_tmp26 != 52U) {
20260      {
20261#line 2062
20262      __cil_tmp27 = (void (*)(struct atm_vcc * , struct sk_buff * ))0;
20263#line 2062
20264      __cil_tmp28 = (unsigned long )__cil_tmp27;
20265#line 2062
20266      __cil_tmp29 = vcc->pop;
20267#line 2062
20268      __cil_tmp30 = (unsigned long )__cil_tmp29;
20269#line 2062
20270      if (__cil_tmp30 != __cil_tmp28) {
20271        {
20272#line 2062
20273        __cil_tmp31 = vcc->pop;
20274#line 2062
20275        (*__cil_tmp31)(vcc, skb);
20276        }
20277      } else {
20278        {
20279#line 2063
20280        consume_skb(skb);
20281        }
20282      }
20283      }
20284#line 2064
20285      return (-22);
20286    } else {
20287
20288    }
20289    }
20290    {
20291#line 2066
20292    __cil_tmp32 = skb->data;
20293#line 2066
20294    __cil_tmp33 = (u32 *)__cil_tmp32;
20295#line 2066
20296    __cil_tmp34 = *__cil_tmp33;
20297#line 2066
20298    tmp = __fswab32(__cil_tmp34);
20299#line 2066
20300    __cil_tmp35 = skb->data;
20301#line 2066
20302    __cil_tmp36 = (u32 *)__cil_tmp35;
20303#line 2066
20304    *__cil_tmp36 = tmp;
20305    }
20306  } else {
20307
20308  }
20309  }
20310  {
20311#line 2068
20312  submitted = submitted + 1;
20313#line 2069
20314  __cil_tmp37 = & skb->cb;
20315#line 2069
20316  __cil_tmp38 = (struct atm_skb_data *)__cil_tmp37;
20317#line 2069
20318  __cil_tmp38->vcc = vcc;
20319#line 2070
20320  __cil_tmp39 = vcc->dev;
20321#line 2070
20322  __cil_tmp40 = __cil_tmp39->dev_data;
20323#line 2070
20324  __cil_tmp41 = (struct eni_dev *)__cil_tmp40;
20325#line 2070
20326  __cil_tmp42 = & __cil_tmp41->task;
20327#line 2070
20328  tasklet_disable(__cil_tmp42);
20329#line 2071
20330  res = do_tx(skb);
20331#line 2072
20332  __cil_tmp43 = vcc->dev;
20333#line 2072
20334  __cil_tmp44 = __cil_tmp43->dev_data;
20335#line 2072
20336  __cil_tmp45 = (struct eni_dev *)__cil_tmp44;
20337#line 2072
20338  __cil_tmp46 = & __cil_tmp45->task;
20339#line 2072
20340  tasklet_enable(__cil_tmp46);
20341  }
20342  {
20343#line 2073
20344  __cil_tmp47 = (unsigned int )res;
20345#line 2073
20346  if (__cil_tmp47 == 0U) {
20347#line 2073
20348    return (0);
20349  } else {
20350
20351  }
20352  }
20353  {
20354#line 2074
20355  __cil_tmp48 = vcc->dev_data;
20356#line 2074
20357  __cil_tmp49 = (struct eni_vcc *)__cil_tmp48;
20358#line 2074
20359  __cil_tmp50 = __cil_tmp49->tx;
20360#line 2074
20361  __cil_tmp51 = & __cil_tmp50->backlog;
20362#line 2074
20363  skb_queue_tail(__cil_tmp51, skb);
20364#line 2075
20365  backlogged = backlogged + 1;
20366#line 2076
20367  __cil_tmp52 = vcc->dev;
20368#line 2076
20369  __cil_tmp53 = __cil_tmp52->dev_data;
20370#line 2076
20371  __cil_tmp54 = (struct eni_dev *)__cil_tmp53;
20372#line 2076
20373  __cil_tmp55 = & __cil_tmp54->task;
20374#line 2076
20375  tasklet_schedule(__cil_tmp55);
20376  }
20377#line 2077
20378  return (0);
20379}
20380}
20381#line 2080 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
20382static void eni_phy_put(struct atm_dev *dev , unsigned char value , unsigned long addr ) 
20383{ unsigned int __cil_tmp4 ;
20384  unsigned long __cil_tmp5 ;
20385  void *__cil_tmp6 ;
20386  struct eni_dev *__cil_tmp7 ;
20387  void *__cil_tmp8 ;
20388  void *__cil_tmp9 ;
20389  void volatile   *__cil_tmp10 ;
20390
20391  {
20392  {
20393#line 2083
20394  __cil_tmp4 = (unsigned int )value;
20395#line 2083
20396  __cil_tmp5 = addr * 4UL;
20397#line 2083
20398  __cil_tmp6 = dev->dev_data;
20399#line 2083
20400  __cil_tmp7 = (struct eni_dev *)__cil_tmp6;
20401#line 2083
20402  __cil_tmp8 = __cil_tmp7->phy;
20403#line 2083
20404  __cil_tmp9 = __cil_tmp8 + __cil_tmp5;
20405#line 2083
20406  __cil_tmp10 = (void volatile   *)__cil_tmp9;
20407#line 2083
20408  writel(__cil_tmp4, __cil_tmp10);
20409  }
20410#line 2084
20411  return;
20412}
20413}
20414#line 2088 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
20415static unsigned char eni_phy_get(struct atm_dev *dev , unsigned long addr ) 
20416{ unsigned int tmp ;
20417  unsigned long __cil_tmp4 ;
20418  void *__cil_tmp5 ;
20419  struct eni_dev *__cil_tmp6 ;
20420  void *__cil_tmp7 ;
20421  void *__cil_tmp8 ;
20422  void const volatile   *__cil_tmp9 ;
20423
20424  {
20425  {
20426#line 2090
20427  __cil_tmp4 = addr * 4UL;
20428#line 2090
20429  __cil_tmp5 = dev->dev_data;
20430#line 2090
20431  __cil_tmp6 = (struct eni_dev *)__cil_tmp5;
20432#line 2090
20433  __cil_tmp7 = __cil_tmp6->phy;
20434#line 2090
20435  __cil_tmp8 = __cil_tmp7 + __cil_tmp4;
20436#line 2090
20437  __cil_tmp9 = (void const volatile   *)__cil_tmp8;
20438#line 2090
20439  tmp = readl(__cil_tmp9);
20440  }
20441#line 2090
20442  return ((unsigned char )tmp);
20443}
20444}
20445#line 2094 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
20446static int eni_proc_read(struct atm_dev *dev , loff_t *pos , char *page ) 
20447{ struct hlist_node *node ;
20448  struct sock *s ;
20449  char const   *signal[3U] ;
20450  struct eni_dev *eni_dev ;
20451  struct atm_vcc *vcc ;
20452  int left ;
20453  int i ;
20454  int tmp ;
20455  int tmp___0 ;
20456  int tmp___1 ;
20457  struct eni_tx *tx ;
20458  char *tmp___2 ;
20459  int tmp___3 ;
20460  __u32 tmp___4 ;
20461  int tmp___5 ;
20462  struct hlist_head *head ;
20463  struct eni_vcc *eni_vcc ;
20464  int length ;
20465  int tmp___6 ;
20466  int tmp___7 ;
20467  int tmp___8 ;
20468  struct hlist_node  const  *__mptr ;
20469  struct eni_free *fe ;
20470  unsigned long offset ;
20471  int tmp___9 ;
20472  void *__cil_tmp29 ;
20473  loff_t __cil_tmp30 ;
20474  int __cil_tmp31 ;
20475  int __cil_tmp32 ;
20476  int __cil_tmp33 ;
20477  int __cil_tmp34 ;
20478  char *__cil_tmp35 ;
20479  char *__cil_tmp36 ;
20480  int __cil_tmp37 ;
20481  int __cil_tmp38 ;
20482  unsigned long __cil_tmp39 ;
20483  struct eni_tx (*__cil_tmp40)[8U] ;
20484  struct eni_tx *__cil_tmp41 ;
20485  void *__cil_tmp42 ;
20486  unsigned long __cil_tmp43 ;
20487  void *__cil_tmp44 ;
20488  unsigned long __cil_tmp45 ;
20489  unsigned long __cil_tmp46 ;
20490  struct eni_tx *__cil_tmp47 ;
20491  unsigned long __cil_tmp48 ;
20492  void *__cil_tmp49 ;
20493  long __cil_tmp50 ;
20494  void *__cil_tmp51 ;
20495  long __cil_tmp52 ;
20496  long __cil_tmp53 ;
20497  unsigned long __cil_tmp54 ;
20498  unsigned long __cil_tmp55 ;
20499  unsigned long __cil_tmp56 ;
20500  void *__cil_tmp57 ;
20501  long __cil_tmp58 ;
20502  void *__cil_tmp59 ;
20503  long __cil_tmp60 ;
20504  long __cil_tmp61 ;
20505  unsigned long __cil_tmp62 ;
20506  unsigned long __cil_tmp63 ;
20507  unsigned long __cil_tmp64 ;
20508  unsigned long __cil_tmp65 ;
20509  unsigned long __cil_tmp66 ;
20510  int __cil_tmp67 ;
20511  int __cil_tmp68 ;
20512  struct sk_buff_head *__cil_tmp69 ;
20513  struct sk_buff_head  const  *__cil_tmp70 ;
20514  char *__cil_tmp71 ;
20515  unsigned long __cil_tmp72 ;
20516  struct hlist_head *__cil_tmp73 ;
20517  unsigned long __cil_tmp74 ;
20518  struct atm_dev *__cil_tmp75 ;
20519  unsigned long __cil_tmp76 ;
20520  void *__cil_tmp77 ;
20521  int __cil_tmp78 ;
20522  int (*__cil_tmp79)(struct atm_vcc * ) ;
20523  unsigned long __cil_tmp80 ;
20524  int (*__cil_tmp81)(struct atm_vcc * ) ;
20525  unsigned long __cil_tmp82 ;
20526  unsigned long __cil_tmp83 ;
20527  char *__cil_tmp84 ;
20528  void *__cil_tmp85 ;
20529  long __cil_tmp86 ;
20530  void *__cil_tmp87 ;
20531  long __cil_tmp88 ;
20532  long __cil_tmp89 ;
20533  unsigned long __cil_tmp90 ;
20534  unsigned long __cil_tmp91 ;
20535  unsigned long __cil_tmp92 ;
20536  void *__cil_tmp93 ;
20537  long __cil_tmp94 ;
20538  void *__cil_tmp95 ;
20539  long __cil_tmp96 ;
20540  long __cil_tmp97 ;
20541  unsigned long __cil_tmp98 ;
20542  unsigned long __cil_tmp99 ;
20543  unsigned long __cil_tmp100 ;
20544  unsigned long __cil_tmp101 ;
20545  unsigned long __cil_tmp102 ;
20546  struct eni_tx *__cil_tmp103 ;
20547  unsigned long __cil_tmp104 ;
20548  struct eni_tx *__cil_tmp105 ;
20549  unsigned long __cil_tmp106 ;
20550  unsigned long __cil_tmp107 ;
20551  char *__cil_tmp108 ;
20552  struct eni_tx *__cil_tmp109 ;
20553  unsigned long __cil_tmp110 ;
20554  struct eni_tx *__cil_tmp111 ;
20555  unsigned long __cil_tmp112 ;
20556  unsigned long __cil_tmp113 ;
20557  char *__cil_tmp114 ;
20558  struct eni_tx *__cil_tmp115 ;
20559  int __cil_tmp116 ;
20560  int __cil_tmp117 ;
20561  unsigned long __cil_tmp118 ;
20562  char *__cil_tmp119 ;
20563  struct hlist_node *__cil_tmp120 ;
20564  unsigned long __cil_tmp121 ;
20565  unsigned long __cil_tmp122 ;
20566  struct sock *__cil_tmp123 ;
20567  unsigned long __cil_tmp124 ;
20568  struct eni_free *__cil_tmp125 ;
20569  unsigned long __cil_tmp126 ;
20570  void *__cil_tmp127 ;
20571  unsigned long __cil_tmp128 ;
20572  unsigned long __cil_tmp129 ;
20573  void *__cil_tmp130 ;
20574  void *__cil_tmp131 ;
20575  int __cil_tmp132 ;
20576  int __cil_tmp133 ;
20577  unsigned long __cil_tmp134 ;
20578  unsigned long __cil_tmp135 ;
20579  unsigned long __cil_tmp136 ;
20580  void *__cil_tmp137 ;
20581  void *__cil_tmp138 ;
20582  int __cil_tmp139 ;
20583  int __cil_tmp140 ;
20584  int __cil_tmp141 ;
20585
20586  {
20587#line 2098
20588  signal[0] = "LOST";
20589#line 2098
20590  signal[1] = "unknown";
20591#line 2098
20592  signal[2] = "okay";
20593#line 2099
20594  __cil_tmp29 = dev->dev_data;
20595#line 2099
20596  eni_dev = (struct eni_dev *)__cil_tmp29;
20597#line 2103
20598  __cil_tmp30 = *pos;
20599#line 2103
20600  left = (int )__cil_tmp30;
20601#line 2104
20602  if (left == 0) {
20603    {
20604#line 2105
20605    __cil_tmp31 = dev->number;
20606#line 2105
20607    __cil_tmp32 = eni_dev->mem;
20608#line 2105
20609    __cil_tmp33 = __cil_tmp32 >> 10;
20610#line 2105
20611    __cil_tmp34 = eni_dev->tx_bw;
20612#line 2105
20613    tmp = sprintf(page, "eni(itf %d) signal %s, %dkB, %d cps remaining\n", __cil_tmp31,
20614                  signal[(int )dev->signal], __cil_tmp33, __cil_tmp34);
20615    }
20616#line 2105
20617    return (tmp);
20618  } else {
20619
20620  }
20621#line 2108
20622  left = left - 1;
20623#line 2108
20624  if (left == 0) {
20625    {
20626#line 2109
20627    __cil_tmp35 = (char *)"";
20628#line 2109
20629    tmp___0 = sprintf(page, "%4sBursts: TX 16W 8W 4W 2W, RX 16W 8W 4W 2W\n", __cil_tmp35);
20630    }
20631#line 2109
20632    return (tmp___0);
20633  } else {
20634
20635  }
20636#line 2151
20637  left = left - 1;
20638#line 2151
20639  if (left == 0) {
20640    {
20641#line 2152
20642    __cil_tmp36 = (char *)"";
20643#line 2152
20644    __cil_tmp37 = eni_dev->tx_mult;
20645#line 2152
20646    __cil_tmp38 = eni_dev->rx_mult;
20647#line 2152
20648    tmp___1 = sprintf(page, "%4sBuffer multipliers: tx %d%%, rx %d%%\n", __cil_tmp36,
20649                      __cil_tmp37, __cil_tmp38);
20650    }
20651#line 2152
20652    return (tmp___1);
20653  } else {
20654
20655  }
20656#line 2154
20657  i = 0;
20658#line 2154
20659  goto ldv_40663;
20660  ldv_40662: 
20661#line 2155
20662  __cil_tmp39 = (unsigned long )i;
20663#line 2155
20664  __cil_tmp40 = & eni_dev->tx;
20665#line 2155
20666  __cil_tmp41 = (struct eni_tx *)__cil_tmp40;
20667#line 2155
20668  tx = __cil_tmp41 + __cil_tmp39;
20669  {
20670#line 2157
20671  __cil_tmp42 = (void *)0;
20672#line 2157
20673  __cil_tmp43 = (unsigned long )__cil_tmp42;
20674#line 2157
20675  __cil_tmp44 = tx->send;
20676#line 2157
20677  __cil_tmp45 = (unsigned long )__cil_tmp44;
20678#line 2157
20679  if (__cil_tmp45 == __cil_tmp43) {
20680#line 2157
20681    goto ldv_40661;
20682  } else {
20683
20684  }
20685  }
20686#line 2158
20687  left = left - 1;
20688#line 2158
20689  if (left == 0) {
20690    {
20691#line 2159
20692    __cil_tmp46 = (unsigned long )tx;
20693#line 2159
20694    __cil_tmp47 = eni_dev->ubr;
20695#line 2159
20696    __cil_tmp48 = (unsigned long )__cil_tmp47;
20697#line 2159
20698    if (__cil_tmp48 == __cil_tmp46) {
20699#line 2159
20700      tmp___2 = (char *)" (UBR)";
20701    } else {
20702#line 2159
20703      tmp___2 = (char *)"";
20704    }
20705    }
20706    {
20707#line 2159
20708    __cil_tmp49 = eni_dev->ram;
20709#line 2159
20710    __cil_tmp50 = (long )__cil_tmp49;
20711#line 2159
20712    __cil_tmp51 = tx->send;
20713#line 2159
20714    __cil_tmp52 = (long )__cil_tmp51;
20715#line 2159
20716    __cil_tmp53 = __cil_tmp52 - __cil_tmp50;
20717#line 2159
20718    __cil_tmp54 = (unsigned long )__cil_tmp53;
20719#line 2159
20720    __cil_tmp55 = tx->words;
20721#line 2159
20722    __cil_tmp56 = __cil_tmp55 * 4UL;
20723#line 2159
20724    __cil_tmp57 = eni_dev->ram;
20725#line 2159
20726    __cil_tmp58 = (long )__cil_tmp57;
20727#line 2159
20728    __cil_tmp59 = tx->send;
20729#line 2159
20730    __cil_tmp60 = (long )__cil_tmp59;
20731#line 2159
20732    __cil_tmp61 = __cil_tmp60 - __cil_tmp58;
20733#line 2159
20734    __cil_tmp62 = (unsigned long )__cil_tmp61;
20735#line 2159
20736    __cil_tmp63 = __cil_tmp62 + __cil_tmp56;
20737#line 2159
20738    __cil_tmp64 = __cil_tmp63 - 1UL;
20739#line 2159
20740    __cil_tmp65 = tx->words;
20741#line 2159
20742    __cil_tmp66 = __cil_tmp65 * 4UL;
20743#line 2159
20744    __cil_tmp67 = tx->reserved;
20745#line 2159
20746    __cil_tmp68 = tx->shaping;
20747#line 2159
20748    tmp___3 = sprintf(page, "tx[%d]:    0x%ld-0x%ld (%6ld bytes), rsv %d cps, shp %d cps%s\n",
20749                      i, __cil_tmp54, __cil_tmp64, __cil_tmp66, __cil_tmp67, __cil_tmp68,
20750                      tmp___2);
20751    }
20752#line 2159
20753    return (tmp___3);
20754  } else {
20755
20756  }
20757#line 2166
20758  left = left - 1;
20759#line 2166
20760  if (left != 0) {
20761#line 2166
20762    goto ldv_40661;
20763  } else {
20764
20765  }
20766  {
20767#line 2167
20768  __cil_tmp69 = & tx->backlog;
20769#line 2167
20770  __cil_tmp70 = (struct sk_buff_head  const  *)__cil_tmp69;
20771#line 2167
20772  tmp___4 = skb_queue_len(__cil_tmp70);
20773#line 2167
20774  __cil_tmp71 = (char *)"";
20775#line 2167
20776  tmp___5 = sprintf(page, "%10sbacklog %u packets\n", __cil_tmp71, tmp___4);
20777  }
20778#line 2167
20779  return (tmp___5);
20780  ldv_40661: 
20781#line 2154
20782  i = i + 1;
20783  ldv_40663: ;
20784#line 2154
20785  if (i <= 7) {
20786#line 2155
20787    goto ldv_40662;
20788  } else {
20789#line 2157
20790    goto ldv_40664;
20791  }
20792  ldv_40664: 
20793  {
20794#line 2170
20795  _raw_read_lock(& vcc_sklist_lock);
20796#line 2171
20797  i = 0;
20798  }
20799#line 2171
20800  goto ldv_40676;
20801  ldv_40675: 
20802#line 2172
20803  __cil_tmp72 = (unsigned long )i;
20804#line 2172
20805  __cil_tmp73 = (struct hlist_head *)(& vcc_hash);
20806#line 2172
20807  head = __cil_tmp73 + __cil_tmp72;
20808#line 2174
20809  node = head->first;
20810#line 2174
20811  goto ldv_40673;
20812  ldv_40672: 
20813  {
20814#line 2178
20815  vcc = atm_sk(s);
20816  }
20817  {
20818#line 2179
20819  __cil_tmp74 = (unsigned long )dev;
20820#line 2179
20821  __cil_tmp75 = vcc->dev;
20822#line 2179
20823  __cil_tmp76 = (unsigned long )__cil_tmp75;
20824#line 2179
20825  if (__cil_tmp76 != __cil_tmp74) {
20826#line 2180
20827    goto ldv_40671;
20828  } else {
20829
20830  }
20831  }
20832#line 2181
20833  __cil_tmp77 = vcc->dev_data;
20834#line 2181
20835  eni_vcc = (struct eni_vcc *)__cil_tmp77;
20836#line 2182
20837  left = left - 1;
20838#line 2182
20839  if (left != 0) {
20840#line 2182
20841    goto ldv_40671;
20842  } else {
20843
20844  }
20845  {
20846#line 2183
20847  __cil_tmp78 = vcc->vci;
20848#line 2183
20849  length = sprintf(page, "vcc %4d: ", __cil_tmp78);
20850  }
20851  {
20852#line 2184
20853  __cil_tmp79 = (int (*)(struct atm_vcc * ))0;
20854#line 2184
20855  __cil_tmp80 = (unsigned long )__cil_tmp79;
20856#line 2184
20857  __cil_tmp81 = eni_vcc->rx;
20858#line 2184
20859  __cil_tmp82 = (unsigned long )__cil_tmp81;
20860#line 2184
20861  if (__cil_tmp82 != __cil_tmp80) {
20862    {
20863#line 2185
20864    __cil_tmp83 = (unsigned long )length;
20865#line 2185
20866    __cil_tmp84 = page + __cil_tmp83;
20867#line 2185
20868    __cil_tmp85 = eni_dev->ram;
20869#line 2185
20870    __cil_tmp86 = (long )__cil_tmp85;
20871#line 2185
20872    __cil_tmp87 = eni_vcc->recv;
20873#line 2185
20874    __cil_tmp88 = (long )__cil_tmp87;
20875#line 2185
20876    __cil_tmp89 = __cil_tmp88 - __cil_tmp86;
20877#line 2185
20878    __cil_tmp90 = (unsigned long )__cil_tmp89;
20879#line 2185
20880    __cil_tmp91 = eni_vcc->words;
20881#line 2185
20882    __cil_tmp92 = __cil_tmp91 * 4UL;
20883#line 2185
20884    __cil_tmp93 = eni_dev->ram;
20885#line 2185
20886    __cil_tmp94 = (long )__cil_tmp93;
20887#line 2185
20888    __cil_tmp95 = eni_vcc->recv;
20889#line 2185
20890    __cil_tmp96 = (long )__cil_tmp95;
20891#line 2185
20892    __cil_tmp97 = __cil_tmp96 - __cil_tmp94;
20893#line 2185
20894    __cil_tmp98 = (unsigned long )__cil_tmp97;
20895#line 2185
20896    __cil_tmp99 = __cil_tmp98 + __cil_tmp92;
20897#line 2185
20898    __cil_tmp100 = __cil_tmp99 - 1UL;
20899#line 2185
20900    __cil_tmp101 = eni_vcc->words;
20901#line 2185
20902    __cil_tmp102 = __cil_tmp101 * 4UL;
20903#line 2185
20904    tmp___6 = sprintf(__cil_tmp84, "0x%ld-0x%ld (%6ld bytes)", __cil_tmp90, __cil_tmp100,
20905                      __cil_tmp102);
20906#line 2185
20907    length = tmp___6 + length;
20908    }
20909    {
20910#line 2190
20911    __cil_tmp103 = (struct eni_tx *)0;
20912#line 2190
20913    __cil_tmp104 = (unsigned long )__cil_tmp103;
20914#line 2190
20915    __cil_tmp105 = eni_vcc->tx;
20916#line 2190
20917    __cil_tmp106 = (unsigned long )__cil_tmp105;
20918#line 2190
20919    if (__cil_tmp106 != __cil_tmp104) {
20920      {
20921#line 2190
20922      __cil_tmp107 = (unsigned long )length;
20923#line 2190
20924      __cil_tmp108 = page + __cil_tmp107;
20925#line 2190
20926      tmp___7 = sprintf(__cil_tmp108, ", ");
20927#line 2190
20928      length = tmp___7 + length;
20929      }
20930    } else {
20931
20932    }
20933    }
20934  } else {
20935
20936  }
20937  }
20938  {
20939#line 2192
20940  __cil_tmp109 = (struct eni_tx *)0;
20941#line 2192
20942  __cil_tmp110 = (unsigned long )__cil_tmp109;
20943#line 2192
20944  __cil_tmp111 = eni_vcc->tx;
20945#line 2192
20946  __cil_tmp112 = (unsigned long )__cil_tmp111;
20947#line 2192
20948  if (__cil_tmp112 != __cil_tmp110) {
20949    {
20950#line 2193
20951    __cil_tmp113 = (unsigned long )length;
20952#line 2193
20953    __cil_tmp114 = page + __cil_tmp113;
20954#line 2193
20955    __cil_tmp115 = eni_vcc->tx;
20956#line 2193
20957    __cil_tmp116 = __cil_tmp115->index;
20958#line 2193
20959    __cil_tmp117 = eni_vcc->txing;
20960#line 2193
20961    tmp___8 = sprintf(__cil_tmp114, "tx[%d], txing %d bytes", __cil_tmp116, __cil_tmp117);
20962#line 2193
20963    length = tmp___8 + length;
20964    }
20965  } else {
20966
20967  }
20968  }
20969  {
20970#line 2195
20971  __cil_tmp118 = (unsigned long )length;
20972#line 2195
20973  __cil_tmp119 = page + __cil_tmp118;
20974#line 2195
20975  *__cil_tmp119 = (char)10;
20976#line 2196
20977  _raw_read_unlock(& vcc_sklist_lock);
20978  }
20979#line 2197
20980  return (length + 1);
20981  ldv_40671: 
20982#line 2174
20983  node = node->next;
20984  ldv_40673: ;
20985  {
20986#line 2174
20987  __cil_tmp120 = (struct hlist_node *)0;
20988#line 2174
20989  __cil_tmp121 = (unsigned long )__cil_tmp120;
20990#line 2174
20991  __cil_tmp122 = (unsigned long )node;
20992#line 2174
20993  if (__cil_tmp122 != __cil_tmp121) {
20994#line 2174
20995    __mptr = (struct hlist_node  const  *)node;
20996#line 2174
20997    __cil_tmp123 = (struct sock *)__mptr;
20998#line 2174
20999    s = __cil_tmp123 + 1152921504606846920UL;
21000#line 2175
21001    goto ldv_40672;
21002  } else {
21003#line 2177
21004    goto ldv_40674;
21005  }
21006  }
21007  ldv_40674: 
21008#line 2171
21009  i = i + 1;
21010  ldv_40676: ;
21011#line 2171
21012  if (i <= 31) {
21013#line 2172
21014    goto ldv_40675;
21015  } else {
21016#line 2174
21017    goto ldv_40677;
21018  }
21019  ldv_40677: 
21020  {
21021#line 2200
21022  _raw_read_unlock(& vcc_sklist_lock);
21023#line 2201
21024  i = 0;
21025  }
21026#line 2201
21027  goto ldv_40682;
21028  ldv_40681: 
21029#line 2202
21030  __cil_tmp124 = (unsigned long )i;
21031#line 2202
21032  __cil_tmp125 = eni_dev->free_list;
21033#line 2202
21034  fe = __cil_tmp125 + __cil_tmp124;
21035#line 2205
21036  left = left - 1;
21037#line 2205
21038  if (left != 0) {
21039#line 2205
21040    goto ldv_40680;
21041  } else {
21042
21043  }
21044  {
21045#line 2206
21046  __cil_tmp126 = eni_dev->base_diff;
21047#line 2206
21048  __cil_tmp127 = eni_dev->ram;
21049#line 2206
21050  __cil_tmp128 = (unsigned long )__cil_tmp127;
21051#line 2206
21052  offset = __cil_tmp128 + __cil_tmp126;
21053#line 2207
21054  __cil_tmp129 = - offset;
21055#line 2207
21056  __cil_tmp130 = fe->start;
21057#line 2207
21058  __cil_tmp131 = __cil_tmp130 + __cil_tmp129;
21059#line 2207
21060  __cil_tmp132 = fe->order;
21061#line 2207
21062  __cil_tmp133 = 1 << __cil_tmp132;
21063#line 2207
21064  __cil_tmp134 = (unsigned long )__cil_tmp133;
21065#line 2207
21066  __cil_tmp135 = __cil_tmp134 - offset;
21067#line 2207
21068  __cil_tmp136 = __cil_tmp135 + 1152921504606846975UL;
21069#line 2207
21070  __cil_tmp137 = fe->start;
21071#line 2207
21072  __cil_tmp138 = __cil_tmp137 + __cil_tmp136;
21073#line 2207
21074  __cil_tmp139 = fe->order;
21075#line 2207
21076  __cil_tmp140 = 1 << __cil_tmp139;
21077#line 2207
21078  tmp___9 = sprintf(page, "free      %p-%p (%6d bytes)\n", __cil_tmp131, __cil_tmp138,
21079                    __cil_tmp140);
21080  }
21081#line 2207
21082  return (tmp___9);
21083  ldv_40680: 
21084#line 2201
21085  i = i + 1;
21086  ldv_40682: ;
21087  {
21088#line 2201
21089  __cil_tmp141 = eni_dev->free_len;
21090#line 2201
21091  if (__cil_tmp141 > i) {
21092#line 2202
21093    goto ldv_40681;
21094  } else {
21095#line 2204
21096    goto ldv_40683;
21097  }
21098  }
21099  ldv_40683: ;
21100#line 2211
21101  return (0);
21102}
21103}
21104#line 2215 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21105static struct atmdev_ops  const  ops  = 
21106#line 2215
21107     {(void (*)(struct atm_dev * ))0, & eni_open, & eni_close, & eni_ioctl, (int (*)(struct atm_dev * ,
21108                                                                                   unsigned int  ,
21109                                                                                   void * ))0,
21110    & eni_getsockopt, & eni_setsockopt, & eni_send, (int (*)(struct atm_vcc * , void * ,
21111                                                             int  ))0, & eni_phy_put,
21112    & eni_phy_get, & eni_change_qos, & eni_proc_read, (struct module *)0};
21113#line 2229 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21114static int eni_init_one(struct pci_dev *pci_dev , struct pci_device_id  const  *ent ) 
21115{ struct atm_dev *dev ;
21116  struct eni_dev *eni_dev ;
21117  int error ;
21118  int tmp ;
21119  void *tmp___0 ;
21120  void *tmp___1 ;
21121  struct eni_dev *__cil_tmp9 ;
21122  unsigned long __cil_tmp10 ;
21123  unsigned long __cil_tmp11 ;
21124  u32 *__cil_tmp12 ;
21125  unsigned long __cil_tmp13 ;
21126  unsigned long __cil_tmp14 ;
21127  u32 *__cil_tmp15 ;
21128  unsigned long __cil_tmp16 ;
21129  unsigned long __cil_tmp17 ;
21130  struct device *__cil_tmp18 ;
21131  unsigned long *__cil_tmp19 ;
21132  struct atm_dev *__cil_tmp20 ;
21133  unsigned long __cil_tmp21 ;
21134  unsigned long __cil_tmp22 ;
21135  void *__cil_tmp23 ;
21136  kernel_ulong_t __cil_tmp24 ;
21137  struct pci_dev *__cil_tmp25 ;
21138  void *__cil_tmp26 ;
21139  void const   *__cil_tmp27 ;
21140
21141  {
21142  {
21143#line 2234
21144  error = -12;
21145#line 2238
21146  tmp = pci_enable_device(pci_dev);
21147  }
21148#line 2238
21149  if (tmp != 0) {
21150#line 2239
21151    error = -5;
21152#line 2240
21153    goto out0;
21154  } else {
21155
21156  }
21157  {
21158#line 2243
21159  tmp___0 = kmalloc(2640UL, 208U);
21160#line 2243
21161  eni_dev = (struct eni_dev *)tmp___0;
21162  }
21163  {
21164#line 2244
21165  __cil_tmp9 = (struct eni_dev *)0;
21166#line 2244
21167  __cil_tmp10 = (unsigned long )__cil_tmp9;
21168#line 2244
21169  __cil_tmp11 = (unsigned long )eni_dev;
21170#line 2244
21171  if (__cil_tmp11 == __cil_tmp10) {
21172#line 2244
21173    goto out0;
21174  } else {
21175
21176  }
21177  }
21178  {
21179#line 2245
21180  __cil_tmp12 = (u32 *)0;
21181#line 2245
21182  __cil_tmp13 = (unsigned long )__cil_tmp12;
21183#line 2245
21184  __cil_tmp14 = (unsigned long )cpu_zeroes;
21185#line 2245
21186  if (__cil_tmp14 == __cil_tmp13) {
21187    {
21188#line 2246
21189    tmp___1 = pci_alloc_consistent(pci_dev, 4UL, & zeroes);
21190#line 2246
21191    cpu_zeroes = (u32 *)tmp___1;
21192    }
21193    {
21194#line 2248
21195    __cil_tmp15 = (u32 *)0;
21196#line 2248
21197    __cil_tmp16 = (unsigned long )__cil_tmp15;
21198#line 2248
21199    __cil_tmp17 = (unsigned long )cpu_zeroes;
21200#line 2248
21201    if (__cil_tmp17 == __cil_tmp16) {
21202#line 2248
21203      goto out1;
21204    } else {
21205
21206    }
21207    }
21208  } else {
21209
21210  }
21211  }
21212  {
21213#line 2250
21214  __cil_tmp18 = & pci_dev->dev;
21215#line 2250
21216  __cil_tmp19 = (unsigned long *)0;
21217#line 2250
21218  dev = atm_dev_register("eni", __cil_tmp18, & ops, -1, __cil_tmp19);
21219  }
21220  {
21221#line 2251
21222  __cil_tmp20 = (struct atm_dev *)0;
21223#line 2251
21224  __cil_tmp21 = (unsigned long )__cil_tmp20;
21225#line 2251
21226  __cil_tmp22 = (unsigned long )dev;
21227#line 2251
21228  if (__cil_tmp22 == __cil_tmp21) {
21229#line 2251
21230    goto out2;
21231  } else {
21232
21233  }
21234  }
21235  {
21236#line 2252
21237  __cil_tmp23 = (void *)dev;
21238#line 2252
21239  pci_set_drvdata(pci_dev, __cil_tmp23);
21240#line 2253
21241  eni_dev->pci_dev = pci_dev;
21242#line 2254
21243  dev->dev_data = (void *)eni_dev;
21244#line 2255
21245  __cil_tmp24 = ent->driver_data;
21246#line 2255
21247  eni_dev->asic = (int )__cil_tmp24;
21248#line 2256
21249  error = eni_do_init(dev);
21250  }
21251#line 2257
21252  if (error != 0) {
21253#line 2257
21254    goto out3;
21255  } else {
21256
21257  }
21258  {
21259#line 2258
21260  error = eni_start(dev);
21261  }
21262#line 2259
21263  if (error != 0) {
21264#line 2259
21265    goto out3;
21266  } else {
21267
21268  }
21269#line 2260
21270  eni_dev->more = eni_boards;
21271#line 2261
21272  eni_boards = dev;
21273#line 2262
21274  return (0);
21275  out3: 
21276  {
21277#line 2264
21278  atm_dev_deregister(dev);
21279  }
21280  out2: 
21281  {
21282#line 2266
21283  __cil_tmp25 = eni_dev->pci_dev;
21284#line 2266
21285  __cil_tmp26 = (void *)cpu_zeroes;
21286#line 2266
21287  pci_free_consistent(__cil_tmp25, 4UL, __cil_tmp26, zeroes);
21288#line 2267
21289  cpu_zeroes = (u32 *)0;
21290  }
21291  out1: 
21292  {
21293#line 2269
21294  __cil_tmp27 = (void const   *)eni_dev;
21295#line 2269
21296  kfree(__cil_tmp27);
21297  }
21298  out0: ;
21299#line 2271
21300  return (error);
21301}
21302}
21303#line 2275 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21304static struct pci_device_id eni_pci_tbl[3U]  = {      {4378U, 0U, 4294967295U, 4294967295U, 0U, 0U, 0UL}, 
21305        {4378U, 2U, 4294967295U, 4294967295U, 0U, 0U, 1UL}, 
21306        {0U, 0U, 0U, 0U, 0U, 0U, 0UL}};
21307#line 2280 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21308struct pci_device_id  const  __mod_pci_device_table  ;
21309#line 2283 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21310static void eni_remove_one(struct pci_dev *pci_dev ) 
21311{ 
21312
21313  {
21314#line 2285
21315  return;
21316}
21317}
21318#line 2289 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21319static struct pci_driver eni_driver  = 
21320#line 2289
21321     {{(struct list_head *)0, (struct list_head *)0}, "eni", (struct pci_device_id  const  *)(& eni_pci_tbl),
21322    & eni_init_one, & eni_remove_one, (int (*)(struct pci_dev * , pm_message_t  ))0,
21323    (int (*)(struct pci_dev * , pm_message_t  ))0, (int (*)(struct pci_dev * ))0,
21324    (int (*)(struct pci_dev * ))0, (void (*)(struct pci_dev * ))0, (struct pci_error_handlers *)0,
21325    {(char const   *)0, (struct bus_type *)0, (struct module *)0, (char const   *)0,
21326     (_Bool)0, (struct of_device_id  const  *)0, (int (*)(struct device * ))0, (int (*)(struct device * ))0,
21327     (void (*)(struct device * ))0, (int (*)(struct device * , pm_message_t  ))0,
21328     (int (*)(struct device * ))0, (struct attribute_group  const  **)0, (struct dev_pm_ops  const  *)0,
21329     (struct driver_private *)0}, {{{{{0U}, 0U, 0U, (void *)0, {(struct lock_class_key *)0,
21330                                                                {(struct lock_class *)0,
21331                                                                 (struct lock_class *)0},
21332                                                                (char const   *)0,
21333                                                                0, 0UL}}}}, {(struct list_head *)0,
21334                                                                             (struct list_head *)0}}};
21335#line 2297 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21336static int eni_init(void) 
21337{ int tmp ;
21338
21339  {
21340  {
21341#line 2306
21342  tmp = __pci_register_driver(& eni_driver, & __this_module, "eni");
21343  }
21344#line 2306
21345  return (tmp);
21346}
21347}
21348#line 2331
21349void ldv_check_final_state(void) ;
21350#line 2334
21351extern void ldv_check_return_value(int  ) ;
21352#line 2337
21353extern void ldv_initialize(void) ;
21354#line 2340
21355extern int nondet_int(void) ;
21356#line 2343 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21357int LDV_IN_INTERRUPT  ;
21358#line 2346 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21359void main(void) 
21360{ struct atm_vcc *var_group1 ;
21361  int res_eni_open_41 ;
21362  struct atm_dev *var_group2 ;
21363  unsigned int var_eni_ioctl_43_p1 ;
21364  void *var_eni_ioctl_43_p2 ;
21365  int var_eni_getsockopt_44_p1 ;
21366  int var_eni_getsockopt_44_p2 ;
21367  void *var_eni_getsockopt_44_p3 ;
21368  int var_eni_getsockopt_44_p4 ;
21369  int var_eni_setsockopt_45_p1 ;
21370  int var_eni_setsockopt_45_p2 ;
21371  void *var_eni_setsockopt_45_p3 ;
21372  unsigned int var_eni_setsockopt_45_p4 ;
21373  struct sk_buff *var_group3 ;
21374  unsigned char var_eni_phy_put_47_p1 ;
21375  unsigned long var_eni_phy_put_47_p2 ;
21376  unsigned long var_eni_phy_get_48_p1 ;
21377  struct atm_qos *var_group4 ;
21378  int var_eni_change_qos_42_p2 ;
21379  loff_t *var_eni_proc_read_49_p1 ;
21380  char *var_eni_proc_read_49_p2 ;
21381  struct pci_dev *var_group5 ;
21382  struct pci_device_id  const  *var_eni_init_one_50_p1 ;
21383  int res_eni_init_one_50 ;
21384  int var_eni_int_34_p0 ;
21385  void *var_eni_int_34_p1 ;
21386  int ldv_s_ops_atmdev_ops ;
21387  int ldv_s_eni_driver_pci_driver ;
21388  int tmp ;
21389  int tmp___0 ;
21390  int tmp___1 ;
21391  int __cil_tmp32 ;
21392  unsigned char __cil_tmp33 ;
21393
21394  {
21395  {
21396#line 3734
21397  ldv_s_ops_atmdev_ops = 0;
21398#line 3737
21399  ldv_s_eni_driver_pci_driver = 0;
21400#line 3618
21401  LDV_IN_INTERRUPT = 1;
21402#line 3627
21403  ldv_initialize();
21404#line 3732
21405  tmp = eni_init();
21406  }
21407#line 3732
21408  if (tmp != 0) {
21409#line 3733
21410    goto ldv_final;
21411  } else {
21412
21413  }
21414#line 3742
21415  goto ldv_40769;
21416  ldv_40768: 
21417  {
21418#line 3747
21419  tmp___0 = nondet_int();
21420  }
21421#line 3749
21422  if (tmp___0 == 0) {
21423#line 3749
21424    goto case_0;
21425  } else
21426#line 3869
21427  if (tmp___0 == 1) {
21428#line 3869
21429    goto case_1;
21430  } else
21431#line 3986
21432  if (tmp___0 == 2) {
21433#line 3986
21434    goto case_2;
21435  } else
21436#line 4103
21437  if (tmp___0 == 3) {
21438#line 4103
21439    goto case_3;
21440  } else
21441#line 4220
21442  if (tmp___0 == 4) {
21443#line 4220
21444    goto case_4;
21445  } else
21446#line 4337
21447  if (tmp___0 == 5) {
21448#line 4337
21449    goto case_5;
21450  } else
21451#line 4454
21452  if (tmp___0 == 6) {
21453#line 4454
21454    goto case_6;
21455  } else
21456#line 4571
21457  if (tmp___0 == 7) {
21458#line 4571
21459    goto case_7;
21460  } else
21461#line 4688
21462  if (tmp___0 == 8) {
21463#line 4688
21464    goto case_8;
21465  } else
21466#line 4805
21467  if (tmp___0 == 9) {
21468#line 4805
21469    goto case_9;
21470  } else
21471#line 4892
21472  if (tmp___0 == 10) {
21473#line 4892
21474    goto case_10;
21475  } else
21476#line 5010
21477  if (tmp___0 == 11) {
21478#line 5010
21479    goto case_11;
21480  } else {
21481#line 5125
21482    goto switch_default;
21483#line 3747
21484    if (0) {
21485      case_0: ;
21486#line 3752
21487      if (ldv_s_ops_atmdev_ops == 0) {
21488        {
21489#line 3828
21490        res_eni_open_41 = eni_open(var_group1);
21491#line 3829
21492        ldv_check_return_value(res_eni_open_41);
21493        }
21494#line 3830
21495        if (res_eni_open_41 != 0) {
21496#line 3831
21497          goto ldv_module_exit;
21498        } else {
21499
21500        }
21501#line 3862
21502        ldv_s_ops_atmdev_ops = ldv_s_ops_atmdev_ops + 1;
21503      } else {
21504
21505      }
21506#line 3868
21507      goto ldv_40755;
21508      case_1: ;
21509#line 3872
21510      if (ldv_s_ops_atmdev_ops == 1) {
21511        {
21512#line 3948
21513        eni_close(var_group1);
21514#line 3979
21515        ldv_s_ops_atmdev_ops = 0;
21516        }
21517      } else {
21518
21519      }
21520#line 3985
21521      goto ldv_40755;
21522      case_2: 
21523      {
21524#line 4065
21525      eni_ioctl(var_group2, var_eni_ioctl_43_p1, var_eni_ioctl_43_p2);
21526      }
21527#line 4102
21528      goto ldv_40755;
21529      case_3: 
21530      {
21531#line 4182
21532      eni_getsockopt(var_group1, var_eni_getsockopt_44_p1, var_eni_getsockopt_44_p2,
21533                     var_eni_getsockopt_44_p3, var_eni_getsockopt_44_p4);
21534      }
21535#line 4219
21536      goto ldv_40755;
21537      case_4: 
21538      {
21539#line 4299
21540      eni_setsockopt(var_group1, var_eni_setsockopt_45_p1, var_eni_setsockopt_45_p2,
21541                     var_eni_setsockopt_45_p3, var_eni_setsockopt_45_p4);
21542      }
21543#line 4336
21544      goto ldv_40755;
21545      case_5: 
21546      {
21547#line 4416
21548      eni_send(var_group1, var_group3);
21549      }
21550#line 4453
21551      goto ldv_40755;
21552      case_6: 
21553      {
21554#line 4533
21555      __cil_tmp32 = (int )var_eni_phy_put_47_p1;
21556#line 4533
21557      __cil_tmp33 = (unsigned char )__cil_tmp32;
21558#line 4533
21559      eni_phy_put(var_group2, __cil_tmp33, var_eni_phy_put_47_p2);
21560      }
21561#line 4570
21562      goto ldv_40755;
21563      case_7: 
21564      {
21565#line 4650
21566      eni_phy_get(var_group2, var_eni_phy_get_48_p1);
21567      }
21568#line 4687
21569      goto ldv_40755;
21570      case_8: 
21571      {
21572#line 4767
21573      eni_change_qos(var_group1, var_group4, var_eni_change_qos_42_p2);
21574      }
21575#line 4804
21576      goto ldv_40755;
21577      case_9: 
21578      {
21579#line 4884
21580      eni_proc_read(var_group2, var_eni_proc_read_49_p1, var_eni_proc_read_49_p2);
21581      }
21582#line 4891
21583      goto ldv_40755;
21584      case_10: ;
21585#line 4895
21586      if (ldv_s_eni_driver_pci_driver == 0) {
21587        {
21588#line 4999
21589        res_eni_init_one_50 = eni_init_one(var_group5, var_eni_init_one_50_p1);
21590#line 5000
21591        ldv_check_return_value(res_eni_init_one_50);
21592        }
21593#line 5001
21594        if (res_eni_init_one_50 != 0) {
21595#line 5002
21596          goto ldv_module_exit;
21597        } else {
21598
21599        }
21600#line 5003
21601        ldv_s_eni_driver_pci_driver = 0;
21602      } else {
21603
21604      }
21605#line 5009
21606      goto ldv_40755;
21607      case_11: 
21608      {
21609#line 5013
21610      LDV_IN_INTERRUPT = 2;
21611#line 5075
21612      eni_int(var_eni_int_34_p0, var_eni_int_34_p1);
21613#line 5118
21614      LDV_IN_INTERRUPT = 1;
21615      }
21616#line 5124
21617      goto ldv_40755;
21618      switch_default: ;
21619#line 5125
21620      goto ldv_40755;
21621    } else {
21622
21623    }
21624  }
21625  ldv_40755: ;
21626  ldv_40769: 
21627  {
21628#line 3742
21629  tmp___1 = nondet_int();
21630  }
21631#line 3742
21632  if (tmp___1 != 0) {
21633#line 3745
21634    goto ldv_40768;
21635  } else
21636#line 3742
21637  if (ldv_s_ops_atmdev_ops != 0) {
21638#line 3745
21639    goto ldv_40768;
21640  } else
21641#line 3742
21642  if (ldv_s_eni_driver_pci_driver != 0) {
21643#line 3745
21644    goto ldv_40768;
21645  } else {
21646#line 3747
21647    goto ldv_40770;
21648  }
21649  ldv_40770: ;
21650  ldv_module_exit: ;
21651  ldv_final: 
21652  {
21653#line 5134
21654  ldv_check_final_state();
21655  }
21656#line 5137
21657  return;
21658}
21659}
21660#line 5 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/kernel-rules/files/engine-blast-assert.h"
21661void ldv_blast_assert(void) 
21662{ 
21663
21664  {
21665  ERROR: ;
21666#line 6
21667  goto ERROR;
21668}
21669}
21670#line 6 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/kernel-rules/files/engine-blast.h"
21671extern int ldv_undefined_int(void) ;
21672#line 5154 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21673int ldv_module_refcounter  =    1;
21674#line 5157 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21675void ldv_module_get(struct module *module ) 
21676{ struct module *__cil_tmp2 ;
21677  unsigned long __cil_tmp3 ;
21678  unsigned long __cil_tmp4 ;
21679
21680  {
21681  {
21682#line 5160
21683  __cil_tmp2 = (struct module *)0;
21684#line 5160
21685  __cil_tmp3 = (unsigned long )__cil_tmp2;
21686#line 5160
21687  __cil_tmp4 = (unsigned long )module;
21688#line 5160
21689  if (__cil_tmp4 != __cil_tmp3) {
21690#line 5162
21691    ldv_module_refcounter = ldv_module_refcounter + 1;
21692  } else {
21693
21694  }
21695  }
21696#line 5163
21697  return;
21698}
21699}
21700#line 5167 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21701int ldv_try_module_get(struct module *module ) 
21702{ int module_get_succeeded ;
21703  struct module *__cil_tmp3 ;
21704  unsigned long __cil_tmp4 ;
21705  unsigned long __cil_tmp5 ;
21706
21707  {
21708  {
21709#line 5172
21710  __cil_tmp3 = (struct module *)0;
21711#line 5172
21712  __cil_tmp4 = (unsigned long )__cil_tmp3;
21713#line 5172
21714  __cil_tmp5 = (unsigned long )module;
21715#line 5172
21716  if (__cil_tmp5 != __cil_tmp4) {
21717    {
21718#line 5175
21719    module_get_succeeded = ldv_undefined_int();
21720    }
21721#line 5177
21722    if (module_get_succeeded == 1) {
21723#line 5179
21724      ldv_module_refcounter = ldv_module_refcounter + 1;
21725#line 5181
21726      return (1);
21727    } else {
21728#line 5186
21729      return (0);
21730    }
21731  } else {
21732
21733  }
21734  }
21735#line 5188
21736  return (0);
21737}
21738}
21739#line 5192 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21740void ldv_module_put(struct module *module ) 
21741{ struct module *__cil_tmp2 ;
21742  unsigned long __cil_tmp3 ;
21743  unsigned long __cil_tmp4 ;
21744
21745  {
21746  {
21747#line 5195
21748  __cil_tmp2 = (struct module *)0;
21749#line 5195
21750  __cil_tmp3 = (unsigned long )__cil_tmp2;
21751#line 5195
21752  __cil_tmp4 = (unsigned long )module;
21753#line 5195
21754  if (__cil_tmp4 != __cil_tmp3) {
21755#line 5197
21756    if (ldv_module_refcounter <= 1) {
21757      {
21758#line 5197
21759      ldv_blast_assert();
21760      }
21761    } else {
21762
21763    }
21764#line 5199
21765    ldv_module_refcounter = ldv_module_refcounter - 1;
21766  } else {
21767
21768  }
21769  }
21770#line 5201
21771  return;
21772}
21773}
21774#line 5204 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21775void ldv_module_put_and_exit(void) 
21776{ struct module *__cil_tmp1 ;
21777
21778  {
21779  {
21780#line 5206
21781  __cil_tmp1 = (struct module *)1;
21782#line 5206
21783  ldv_module_put(__cil_tmp1);
21784  }
21785  LDV_STOP: ;
21786#line 5208
21787  goto LDV_STOP;
21788}
21789}
21790#line 5212 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21791unsigned int ldv_module_refcount(void) 
21792{ int __cil_tmp1 ;
21793
21794  {
21795  {
21796#line 5215
21797  __cil_tmp1 = ldv_module_refcounter + -1;
21798#line 5215
21799  return ((unsigned int )__cil_tmp1);
21800  }
21801}
21802}
21803#line 5219 "/anthill/stuff/tacas-comp/work/current--X--drivers/atm/eni.ko--X--safelinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/atm/eni.c.p"
21804void ldv_check_final_state(void) 
21805{ 
21806
21807  {
21808#line 5222
21809  if (ldv_module_refcounter != 1) {
21810    {
21811#line 5222
21812    ldv_blast_assert();
21813    }
21814  } else {
21815
21816  }
21817#line 5225
21818  return;
21819}
21820}