1
2
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 181 "include/linux/types.h"
107typedef __u64 __le64;
108#line 185 "include/linux/types.h"
109typedef __u32 __wsum;
110#line 201 "include/linux/types.h"
111typedef unsigned int gfp_t;
112#line 202 "include/linux/types.h"
113typedef unsigned int fmode_t;
114#line 205 "include/linux/types.h"
115typedef u64 phys_addr_t;
116#line 210 "include/linux/types.h"
117typedef phys_addr_t resource_size_t;
118#line 214 "include/linux/types.h"
119struct __anonstruct_atomic_t_6 {
120 int counter ;
121};
122#line 214 "include/linux/types.h"
123typedef struct __anonstruct_atomic_t_6 atomic_t;
124#line 219 "include/linux/types.h"
125struct __anonstruct_atomic64_t_7 {
126 long counter ;
127};
128#line 219 "include/linux/types.h"
129typedef struct __anonstruct_atomic64_t_7 atomic64_t;
130#line 220 "include/linux/types.h"
131struct list_head {
132 struct list_head *next ;
133 struct list_head *prev ;
134};
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 145 "include/linux/init.h"
153typedef void (*ctor_fn_t)(void);
154#line 10 "include/linux/dynamic_debug.h"
155struct _ddebug {
156 char const *modname ;
157 char const *function ;
158 char const *filename ;
159 char const *format ;
160 unsigned int lineno : 24 ;
161 unsigned char flags ;
162 char enabled ;
163};
164#line 48 "include/linux/dynamic_debug.h"
165struct bug_entry {
166 int bug_addr_disp ;
167 int file_disp ;
168 unsigned short line ;
169 unsigned short flags ;
170};
171#line 70 "include/asm-generic/bug.h"
172struct completion;
173#line 70
174struct completion;
175#line 71
176struct pt_regs;
177#line 71
178struct pt_regs;
179#line 321 "include/linux/kernel.h"
180struct pid;
181#line 321
182struct pid;
183#line 671
184struct timespec;
185#line 671
186struct timespec;
187#line 672
188struct compat_timespec;
189#line 672
190struct compat_timespec;
191#line 673 "include/linux/kernel.h"
192struct __anonstruct_futex_9 {
193 u32 *uaddr ;
194 u32 val ;
195 u32 flags ;
196 u32 bitset ;
197 u64 time ;
198 u32 *uaddr2 ;
199};
200#line 673 "include/linux/kernel.h"
201struct __anonstruct_nanosleep_10 {
202 clockid_t clockid ;
203 struct timespec *rmtp ;
204 struct compat_timespec *compat_rmtp ;
205 u64 expires ;
206};
207#line 673
208struct pollfd;
209#line 673
210struct pollfd;
211#line 673 "include/linux/kernel.h"
212struct __anonstruct_poll_11 {
213 struct pollfd *ufds ;
214 int nfds ;
215 int has_timeout ;
216 unsigned long tv_sec ;
217 unsigned long tv_nsec ;
218};
219#line 673 "include/linux/kernel.h"
220union __anonunion_ldv_2052_8 {
221 struct __anonstruct_futex_9 futex ;
222 struct __anonstruct_nanosleep_10 nanosleep ;
223 struct __anonstruct_poll_11 poll ;
224};
225#line 673 "include/linux/kernel.h"
226struct restart_block {
227 long (*fn)(struct restart_block * ) ;
228 union __anonunion_ldv_2052_8 ldv_2052 ;
229};
230#line 59 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/page_types.h"
231struct page;
232#line 59
233struct page;
234#line 21 "include/asm-generic/getorder.h"
235struct task_struct;
236#line 21
237struct task_struct;
238#line 22
239struct exec_domain;
240#line 22
241struct exec_domain;
242#line 23
243struct mm_struct;
244#line 23
245struct mm_struct;
246#line 215 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/segment.h"
247struct pt_regs {
248 unsigned long r15 ;
249 unsigned long r14 ;
250 unsigned long r13 ;
251 unsigned long r12 ;
252 unsigned long bp ;
253 unsigned long bx ;
254 unsigned long r11 ;
255 unsigned long r10 ;
256 unsigned long r9 ;
257 unsigned long r8 ;
258 unsigned long ax ;
259 unsigned long cx ;
260 unsigned long dx ;
261 unsigned long si ;
262 unsigned long di ;
263 unsigned long orig_ax ;
264 unsigned long ip ;
265 unsigned long cs ;
266 unsigned long flags ;
267 unsigned long sp ;
268 unsigned long ss ;
269};
270#line 282 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/ptrace.h"
271struct kernel_vm86_regs {
272 struct pt_regs pt ;
273 unsigned short es ;
274 unsigned short __esh ;
275 unsigned short ds ;
276 unsigned short __dsh ;
277 unsigned short fs ;
278 unsigned short __fsh ;
279 unsigned short gs ;
280 unsigned short __gsh ;
281};
282#line 203 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/vm86.h"
283union __anonunion_ldv_2292_12 {
284 struct pt_regs *regs ;
285 struct kernel_vm86_regs *vm86 ;
286};
287#line 203 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/vm86.h"
288struct math_emu_info {
289 long ___orig_eip ;
290 union __anonunion_ldv_2292_12 ldv_2292 ;
291};
292#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"
293typedef unsigned long pgdval_t;
294#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"
295typedef unsigned long pgprotval_t;
296#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"
297struct pgprot {
298 pgprotval_t pgprot ;
299};
300#line 190 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
301typedef struct pgprot pgprot_t;
302#line 192 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
303struct __anonstruct_pgd_t_15 {
304 pgdval_t pgd ;
305};
306#line 192 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
307typedef struct __anonstruct_pgd_t_15 pgd_t;
308#line 280 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
309typedef struct page *pgtable_t;
310#line 288
311struct file;
312#line 288
313struct file;
314#line 303
315struct seq_file;
316#line 303
317struct seq_file;
318#line 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
319struct __anonstruct_ldv_2526_19 {
320 unsigned int a ;
321 unsigned int b ;
322};
323#line 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
324struct __anonstruct_ldv_2541_20 {
325 u16 limit0 ;
326 u16 base0 ;
327 unsigned char base1 ;
328 unsigned char type : 4 ;
329 unsigned char s : 1 ;
330 unsigned char dpl : 2 ;
331 unsigned char p : 1 ;
332 unsigned char limit : 4 ;
333 unsigned char avl : 1 ;
334 unsigned char l : 1 ;
335 unsigned char d : 1 ;
336 unsigned char g : 1 ;
337 unsigned char base2 ;
338};
339#line 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
340union __anonunion_ldv_2542_18 {
341 struct __anonstruct_ldv_2526_19 ldv_2526 ;
342 struct __anonstruct_ldv_2541_20 ldv_2541 ;
343};
344#line 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
345struct desc_struct {
346 union __anonunion_ldv_2542_18 ldv_2542 ;
347};
348#line 122 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
349struct thread_struct;
350#line 122
351struct thread_struct;
352#line 124
353struct cpumask;
354#line 124
355struct cpumask;
356#line 320 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt_types.h"
357struct arch_spinlock;
358#line 320
359struct arch_spinlock;
360#line 304 "include/linux/bitmap.h"
361struct cpumask {
362 unsigned long bits[64U] ;
363};
364#line 13 "include/linux/cpumask.h"
365typedef struct cpumask cpumask_t;
366#line 622 "include/linux/cpumask.h"
367typedef struct cpumask *cpumask_var_t;
368#line 90 "include/linux/personality.h"
369struct map_segment;
370#line 90
371struct map_segment;
372#line 90 "include/linux/personality.h"
373struct exec_domain {
374 char const *name ;
375 void (*handler)(int , struct pt_regs * ) ;
376 unsigned char pers_low ;
377 unsigned char pers_high ;
378 unsigned long *signal_map ;
379 unsigned long *signal_invmap ;
380 struct map_segment *err_map ;
381 struct map_segment *socktype_map ;
382 struct map_segment *sockopt_map ;
383 struct map_segment *af_map ;
384 struct module *module ;
385 struct exec_domain *next ;
386};
387#line 145 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
388struct seq_operations;
389#line 145
390struct seq_operations;
391#line 277 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
392struct i387_fsave_struct {
393 u32 cwd ;
394 u32 swd ;
395 u32 twd ;
396 u32 fip ;
397 u32 fcs ;
398 u32 foo ;
399 u32 fos ;
400 u32 st_space[20U] ;
401 u32 status ;
402};
403#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
404struct __anonstruct_ldv_5171_24 {
405 u64 rip ;
406 u64 rdp ;
407};
408#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
409struct __anonstruct_ldv_5177_25 {
410 u32 fip ;
411 u32 fcs ;
412 u32 foo ;
413 u32 fos ;
414};
415#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
416union __anonunion_ldv_5178_23 {
417 struct __anonstruct_ldv_5171_24 ldv_5171 ;
418 struct __anonstruct_ldv_5177_25 ldv_5177 ;
419};
420#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
421union __anonunion_ldv_5187_26 {
422 u32 padding1[12U] ;
423 u32 sw_reserved[12U] ;
424};
425#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
426struct i387_fxsave_struct {
427 u16 cwd ;
428 u16 swd ;
429 u16 twd ;
430 u16 fop ;
431 union __anonunion_ldv_5178_23 ldv_5178 ;
432 u32 mxcsr ;
433 u32 mxcsr_mask ;
434 u32 st_space[32U] ;
435 u32 xmm_space[64U] ;
436 u32 padding[12U] ;
437 union __anonunion_ldv_5187_26 ldv_5187 ;
438};
439#line 329 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
440struct i387_soft_struct {
441 u32 cwd ;
442 u32 swd ;
443 u32 twd ;
444 u32 fip ;
445 u32 fcs ;
446 u32 foo ;
447 u32 fos ;
448 u32 st_space[20U] ;
449 u8 ftop ;
450 u8 changed ;
451 u8 lookahead ;
452 u8 no_update ;
453 u8 rm ;
454 u8 alimit ;
455 struct math_emu_info *info ;
456 u32 entry_eip ;
457};
458#line 350 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
459struct ymmh_struct {
460 u32 ymmh_space[64U] ;
461};
462#line 355 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
463struct xsave_hdr_struct {
464 u64 xstate_bv ;
465 u64 reserved1[2U] ;
466 u64 reserved2[5U] ;
467};
468#line 361 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
469struct xsave_struct {
470 struct i387_fxsave_struct i387 ;
471 struct xsave_hdr_struct xsave_hdr ;
472 struct ymmh_struct ymmh ;
473};
474#line 367 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
475union thread_xstate {
476 struct i387_fsave_struct fsave ;
477 struct i387_fxsave_struct fxsave ;
478 struct i387_soft_struct soft ;
479 struct xsave_struct xsave ;
480};
481#line 375 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
482struct fpu {
483 union thread_xstate *state ;
484};
485#line 421
486struct kmem_cache;
487#line 421
488struct kmem_cache;
489#line 422
490struct perf_event;
491#line 422
492struct perf_event;
493#line 423 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
494struct thread_struct {
495 struct desc_struct tls_array[3U] ;
496 unsigned long sp0 ;
497 unsigned long sp ;
498 unsigned long usersp ;
499 unsigned short es ;
500 unsigned short ds ;
501 unsigned short fsindex ;
502 unsigned short gsindex ;
503 unsigned long fs ;
504 unsigned long gs ;
505 struct perf_event *ptrace_bps[4U] ;
506 unsigned long debugreg6 ;
507 unsigned long ptrace_dr7 ;
508 unsigned long cr2 ;
509 unsigned long trap_no ;
510 unsigned long error_code ;
511 struct fpu fpu ;
512 unsigned long *io_bitmap_ptr ;
513 unsigned long iopl ;
514 unsigned int io_bitmap_max ;
515};
516#line 622 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
517struct __anonstruct_mm_segment_t_28 {
518 unsigned long seg ;
519};
520#line 622 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
521typedef struct __anonstruct_mm_segment_t_28 mm_segment_t;
522#line 23 "include/asm-generic/atomic-long.h"
523typedef atomic64_t atomic_long_t;
524#line 131 "include/asm-generic/atomic-long.h"
525struct thread_info {
526 struct task_struct *task ;
527 struct exec_domain *exec_domain ;
528 __u32 flags ;
529 __u32 status ;
530 __u32 cpu ;
531 int preempt_count ;
532 mm_segment_t addr_limit ;
533 struct restart_block restart_block ;
534 void *sysenter_return ;
535 int uaccess_err ;
536};
537#line 8 "include/linux/bottom_half.h"
538struct arch_spinlock {
539 unsigned int slock ;
540};
541#line 10 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
542typedef struct arch_spinlock arch_spinlock_t;
543#line 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
544struct __anonstruct_arch_rwlock_t_29 {
545 unsigned int lock ;
546};
547#line 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
548typedef struct __anonstruct_arch_rwlock_t_29 arch_rwlock_t;
549#line 17
550struct lockdep_map;
551#line 17
552struct lockdep_map;
553#line 55 "include/linux/debug_locks.h"
554struct stack_trace {
555 unsigned int nr_entries ;
556 unsigned int max_entries ;
557 unsigned long *entries ;
558 int skip ;
559};
560#line 26 "include/linux/stacktrace.h"
561struct lockdep_subclass_key {
562 char __one_byte ;
563};
564#line 53 "include/linux/lockdep.h"
565struct lock_class_key {
566 struct lockdep_subclass_key subkeys[8U] ;
567};
568#line 59 "include/linux/lockdep.h"
569struct lock_class {
570 struct list_head hash_entry ;
571 struct list_head lock_entry ;
572 struct lockdep_subclass_key *key ;
573 unsigned int subclass ;
574 unsigned int dep_gen_id ;
575 unsigned long usage_mask ;
576 struct stack_trace usage_traces[13U] ;
577 struct list_head locks_after ;
578 struct list_head locks_before ;
579 unsigned int version ;
580 unsigned long ops ;
581 char const *name ;
582 int name_version ;
583 unsigned long contention_point[4U] ;
584 unsigned long contending_point[4U] ;
585};
586#line 144 "include/linux/lockdep.h"
587struct lockdep_map {
588 struct lock_class_key *key ;
589 struct lock_class *class_cache[2U] ;
590 char const *name ;
591 int cpu ;
592 unsigned long ip ;
593};
594#line 187 "include/linux/lockdep.h"
595struct held_lock {
596 u64 prev_chain_key ;
597 unsigned long acquire_ip ;
598 struct lockdep_map *instance ;
599 struct lockdep_map *nest_lock ;
600 u64 waittime_stamp ;
601 u64 holdtime_stamp ;
602 unsigned short class_idx : 13 ;
603 unsigned char irq_context : 2 ;
604 unsigned char trylock : 1 ;
605 unsigned char read : 2 ;
606 unsigned char check : 2 ;
607 unsigned char hardirqs_off : 1 ;
608 unsigned short references : 11 ;
609};
610#line 552 "include/linux/lockdep.h"
611struct raw_spinlock {
612 arch_spinlock_t raw_lock ;
613 unsigned int magic ;
614 unsigned int owner_cpu ;
615 void *owner ;
616 struct lockdep_map dep_map ;
617};
618#line 32 "include/linux/spinlock_types.h"
619typedef struct raw_spinlock raw_spinlock_t;
620#line 33 "include/linux/spinlock_types.h"
621struct __anonstruct_ldv_6059_31 {
622 u8 __padding[24U] ;
623 struct lockdep_map dep_map ;
624};
625#line 33 "include/linux/spinlock_types.h"
626union __anonunion_ldv_6060_30 {
627 struct raw_spinlock rlock ;
628 struct __anonstruct_ldv_6059_31 ldv_6059 ;
629};
630#line 33 "include/linux/spinlock_types.h"
631struct spinlock {
632 union __anonunion_ldv_6060_30 ldv_6060 ;
633};
634#line 76 "include/linux/spinlock_types.h"
635typedef struct spinlock spinlock_t;
636#line 23 "include/linux/rwlock_types.h"
637struct __anonstruct_rwlock_t_32 {
638 arch_rwlock_t raw_lock ;
639 unsigned int magic ;
640 unsigned int owner_cpu ;
641 void *owner ;
642 struct lockdep_map dep_map ;
643};
644#line 23 "include/linux/rwlock_types.h"
645typedef struct __anonstruct_rwlock_t_32 rwlock_t;
646#line 36 "include/linux/seqlock.h"
647struct __anonstruct_seqlock_t_33 {
648 unsigned int sequence ;
649 spinlock_t lock ;
650};
651#line 36 "include/linux/seqlock.h"
652typedef struct __anonstruct_seqlock_t_33 seqlock_t;
653#line 110 "include/linux/seqlock.h"
654struct seqcount {
655 unsigned int sequence ;
656};
657#line 121 "include/linux/seqlock.h"
658typedef struct seqcount seqcount_t;
659#line 233 "include/linux/seqlock.h"
660struct timespec {
661 __kernel_time_t tv_sec ;
662 long tv_nsec ;
663};
664#line 286 "include/linux/time.h"
665struct kstat {
666 u64 ino ;
667 dev_t dev ;
668 umode_t mode ;
669 unsigned int nlink ;
670 uid_t uid ;
671 gid_t gid ;
672 dev_t rdev ;
673 loff_t size ;
674 struct timespec atime ;
675 struct timespec mtime ;
676 struct timespec ctime ;
677 unsigned long blksize ;
678 unsigned long long blocks ;
679};
680#line 49 "include/linux/wait.h"
681struct __wait_queue_head {
682 spinlock_t lock ;
683 struct list_head task_list ;
684};
685#line 54 "include/linux/wait.h"
686typedef struct __wait_queue_head wait_queue_head_t;
687#line 96 "include/linux/nodemask.h"
688struct __anonstruct_nodemask_t_34 {
689 unsigned long bits[16U] ;
690};
691#line 96 "include/linux/nodemask.h"
692typedef struct __anonstruct_nodemask_t_34 nodemask_t;
693#line 640 "include/linux/mmzone.h"
694struct mutex {
695 atomic_t count ;
696 spinlock_t wait_lock ;
697 struct list_head wait_list ;
698 struct task_struct *owner ;
699 char const *name ;
700 void *magic ;
701 struct lockdep_map dep_map ;
702};
703#line 63 "include/linux/mutex.h"
704struct mutex_waiter {
705 struct list_head list ;
706 struct task_struct *task ;
707 void *magic ;
708};
709#line 171
710struct rw_semaphore;
711#line 171
712struct rw_semaphore;
713#line 172 "include/linux/mutex.h"
714struct rw_semaphore {
715 long count ;
716 spinlock_t wait_lock ;
717 struct list_head wait_list ;
718 struct lockdep_map dep_map ;
719};
720#line 763 "include/linux/mmzone.h"
721struct ctl_table;
722#line 763
723struct ctl_table;
724#line 139 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/e820.h"
725struct resource {
726 resource_size_t start ;
727 resource_size_t end ;
728 char const *name ;
729 unsigned long flags ;
730 struct resource *parent ;
731 struct resource *sibling ;
732 struct resource *child ;
733};
734#line 25 "include/linux/ioport.h"
735struct pci_dev;
736#line 25
737struct pci_dev;
738#line 175
739struct device;
740#line 175
741struct device;
742#line 312 "include/linux/jiffies.h"
743union ktime {
744 s64 tv64 ;
745};
746#line 59 "include/linux/ktime.h"
747typedef union ktime ktime_t;
748#line 99 "include/linux/debugobjects.h"
749struct tvec_base;
750#line 99
751struct tvec_base;
752#line 100 "include/linux/debugobjects.h"
753struct timer_list {
754 struct list_head entry ;
755 unsigned long expires ;
756 struct tvec_base *base ;
757 void (*function)(unsigned long ) ;
758 unsigned long data ;
759 int slack ;
760 int start_pid ;
761 void *start_site ;
762 char start_comm[16U] ;
763 struct lockdep_map lockdep_map ;
764};
765#line 289 "include/linux/timer.h"
766struct hrtimer;
767#line 289
768struct hrtimer;
769#line 290
770enum hrtimer_restart;
771#line 290
772enum hrtimer_restart;
773#line 290
774enum hrtimer_restart;
775#line 302
776struct work_struct;
777#line 302
778struct work_struct;
779#line 45 "include/linux/workqueue.h"
780struct work_struct {
781 atomic_long_t data ;
782 struct list_head entry ;
783 void (*func)(struct work_struct * ) ;
784 struct lockdep_map lockdep_map ;
785};
786#line 86 "include/linux/workqueue.h"
787struct delayed_work {
788 struct work_struct work ;
789 struct timer_list timer ;
790};
791#line 443 "include/linux/workqueue.h"
792struct completion {
793 unsigned int done ;
794 wait_queue_head_t wait ;
795};
796#line 46 "include/linux/pm.h"
797struct pm_message {
798 int event ;
799};
800#line 52 "include/linux/pm.h"
801typedef struct pm_message pm_message_t;
802#line 53 "include/linux/pm.h"
803struct dev_pm_ops {
804 int (*prepare)(struct device * ) ;
805 void (*complete)(struct device * ) ;
806 int (*suspend)(struct device * ) ;
807 int (*resume)(struct device * ) ;
808 int (*freeze)(struct device * ) ;
809 int (*thaw)(struct device * ) ;
810 int (*poweroff)(struct device * ) ;
811 int (*restore)(struct device * ) ;
812 int (*suspend_noirq)(struct device * ) ;
813 int (*resume_noirq)(struct device * ) ;
814 int (*freeze_noirq)(struct device * ) ;
815 int (*thaw_noirq)(struct device * ) ;
816 int (*poweroff_noirq)(struct device * ) ;
817 int (*restore_noirq)(struct device * ) ;
818 int (*runtime_suspend)(struct device * ) ;
819 int (*runtime_resume)(struct device * ) ;
820 int (*runtime_idle)(struct device * ) ;
821};
822#line 272
823enum rpm_status {
824 RPM_ACTIVE = 0,
825 RPM_RESUMING = 1,
826 RPM_SUSPENDED = 2,
827 RPM_SUSPENDING = 3
828} ;
829#line 279
830enum rpm_request {
831 RPM_REQ_NONE = 0,
832 RPM_REQ_IDLE = 1,
833 RPM_REQ_SUSPEND = 2,
834 RPM_REQ_AUTOSUSPEND = 3,
835 RPM_REQ_RESUME = 4
836} ;
837#line 287
838struct wakeup_source;
839#line 287
840struct wakeup_source;
841#line 288 "include/linux/pm.h"
842struct dev_pm_info {
843 pm_message_t power_state ;
844 unsigned char can_wakeup : 1 ;
845 unsigned char async_suspend : 1 ;
846 bool is_prepared ;
847 bool is_suspended ;
848 spinlock_t lock ;
849 struct list_head entry ;
850 struct completion completion ;
851 struct wakeup_source *wakeup ;
852 struct timer_list suspend_timer ;
853 unsigned long timer_expires ;
854 struct work_struct work ;
855 wait_queue_head_t wait_queue ;
856 atomic_t usage_count ;
857 atomic_t child_count ;
858 unsigned char disable_depth : 3 ;
859 unsigned char ignore_children : 1 ;
860 unsigned char idle_notification : 1 ;
861 unsigned char request_pending : 1 ;
862 unsigned char deferred_resume : 1 ;
863 unsigned char run_wake : 1 ;
864 unsigned char runtime_auto : 1 ;
865 unsigned char no_callbacks : 1 ;
866 unsigned char irq_safe : 1 ;
867 unsigned char use_autosuspend : 1 ;
868 unsigned char timer_autosuspends : 1 ;
869 enum rpm_request request ;
870 enum rpm_status runtime_status ;
871 int runtime_error ;
872 int autosuspend_delay ;
873 unsigned long last_busy ;
874 unsigned long active_jiffies ;
875 unsigned long suspended_jiffies ;
876 unsigned long accounting_timestamp ;
877 void *subsys_data ;
878};
879#line 469 "include/linux/pm.h"
880struct dev_power_domain {
881 struct dev_pm_ops ops ;
882};
883#line 175 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/topology.h"
884struct pci_bus;
885#line 175
886struct pci_bus;
887#line 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/mmu.h"
888struct __anonstruct_mm_context_t_99 {
889 void *ldt ;
890 int size ;
891 unsigned short ia32_compat ;
892 struct mutex lock ;
893 void *vdso ;
894};
895#line 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/mmu.h"
896typedef struct __anonstruct_mm_context_t_99 mm_context_t;
897#line 71 "include/asm-generic/iomap.h"
898struct vm_area_struct;
899#line 71
900struct vm_area_struct;
901#line 53 "include/linux/rcupdate.h"
902struct rcu_head {
903 struct rcu_head *next ;
904 void (*func)(struct rcu_head * ) ;
905};
906#line 841
907struct nsproxy;
908#line 841
909struct nsproxy;
910#line 842
911struct ctl_table_root;
912#line 842
913struct ctl_table_root;
914#line 843 "include/linux/rcupdate.h"
915struct ctl_table_set {
916 struct list_head list ;
917 struct ctl_table_set *parent ;
918 int (*is_seen)(struct ctl_table_set * ) ;
919};
920#line 947 "include/linux/sysctl.h"
921struct ctl_table_header;
922#line 947
923struct ctl_table_header;
924#line 965 "include/linux/sysctl.h"
925typedef int proc_handler(struct ctl_table * , int , void * , size_t * , loff_t * );
926#line 985 "include/linux/sysctl.h"
927struct ctl_table {
928 char const *procname ;
929 void *data ;
930 int maxlen ;
931 mode_t mode ;
932 struct ctl_table *child ;
933 struct ctl_table *parent ;
934 proc_handler *proc_handler ;
935 void *extra1 ;
936 void *extra2 ;
937};
938#line 1027 "include/linux/sysctl.h"
939struct ctl_table_root {
940 struct list_head root_list ;
941 struct ctl_table_set default_set ;
942 struct ctl_table_set *(*lookup)(struct ctl_table_root * , struct nsproxy * ) ;
943 int (*permissions)(struct ctl_table_root * , struct nsproxy * , struct ctl_table * ) ;
944};
945#line 1035 "include/linux/sysctl.h"
946struct __anonstruct_ldv_12193_124 {
947 struct ctl_table *ctl_table ;
948 struct list_head ctl_entry ;
949 int used ;
950 int count ;
951};
952#line 1035 "include/linux/sysctl.h"
953union __anonunion_ldv_12195_123 {
954 struct __anonstruct_ldv_12193_124 ldv_12193 ;
955 struct rcu_head rcu ;
956};
957#line 1035 "include/linux/sysctl.h"
958struct ctl_table_header {
959 union __anonunion_ldv_12195_123 ldv_12195 ;
960 struct completion *unregistering ;
961 struct ctl_table *ctl_table_arg ;
962 struct ctl_table_root *root ;
963 struct ctl_table_set *set ;
964 struct ctl_table *attached_by ;
965 struct ctl_table *attached_to ;
966 struct ctl_table_header *parent ;
967};
968#line 36 "include/linux/kmod.h"
969struct cred;
970#line 36
971struct cred;
972#line 229 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/elf.h"
973struct linux_binprm;
974#line 229
975struct linux_binprm;
976#line 27 "include/linux/elf.h"
977typedef __u64 Elf64_Addr;
978#line 28 "include/linux/elf.h"
979typedef __u16 Elf64_Half;
980#line 32 "include/linux/elf.h"
981typedef __u32 Elf64_Word;
982#line 33 "include/linux/elf.h"
983typedef __u64 Elf64_Xword;
984#line 202 "include/linux/elf.h"
985struct elf64_sym {
986 Elf64_Word st_name ;
987 unsigned char st_info ;
988 unsigned char st_other ;
989 Elf64_Half st_shndx ;
990 Elf64_Addr st_value ;
991 Elf64_Xword st_size ;
992};
993#line 210 "include/linux/elf.h"
994typedef struct elf64_sym Elf64_Sym;
995#line 444
996struct sock;
997#line 444
998struct sock;
999#line 445
1000struct kobject;
1001#line 445
1002struct kobject;
1003#line 446
1004enum kobj_ns_type {
1005 KOBJ_NS_TYPE_NONE = 0,
1006 KOBJ_NS_TYPE_NET = 1,
1007 KOBJ_NS_TYPES = 2
1008} ;
1009#line 452 "include/linux/elf.h"
1010struct kobj_ns_type_operations {
1011 enum kobj_ns_type type ;
1012 void *(*grab_current_ns)(void) ;
1013 void const *(*netlink_ns)(struct sock * ) ;
1014 void const *(*initial_ns)(void) ;
1015 void (*drop_ns)(void * ) ;
1016};
1017#line 57 "include/linux/kobject_ns.h"
1018struct attribute {
1019 char const *name ;
1020 mode_t mode ;
1021 struct lock_class_key *key ;
1022 struct lock_class_key skey ;
1023};
1024#line 33 "include/linux/sysfs.h"
1025struct attribute_group {
1026 char const *name ;
1027 mode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
1028 struct attribute **attrs ;
1029};
1030#line 62 "include/linux/sysfs.h"
1031struct bin_attribute {
1032 struct attribute attr ;
1033 size_t size ;
1034 void *private ;
1035 ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1036 loff_t , size_t ) ;
1037 ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1038 loff_t , size_t ) ;
1039 int (*mmap)(struct file * , struct kobject * , struct bin_attribute * , struct vm_area_struct * ) ;
1040};
1041#line 98 "include/linux/sysfs.h"
1042struct sysfs_ops {
1043 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
1044 ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ;
1045};
1046#line 116
1047struct sysfs_dirent;
1048#line 116
1049struct sysfs_dirent;
1050#line 181 "include/linux/sysfs.h"
1051struct kref {
1052 atomic_t refcount ;
1053};
1054#line 49 "include/linux/kobject.h"
1055struct kset;
1056#line 49
1057struct kset;
1058#line 49
1059struct kobj_type;
1060#line 49
1061struct kobj_type;
1062#line 49 "include/linux/kobject.h"
1063struct kobject {
1064 char const *name ;
1065 struct list_head entry ;
1066 struct kobject *parent ;
1067 struct kset *kset ;
1068 struct kobj_type *ktype ;
1069 struct sysfs_dirent *sd ;
1070 struct kref kref ;
1071 unsigned char state_initialized : 1 ;
1072 unsigned char state_in_sysfs : 1 ;
1073 unsigned char state_add_uevent_sent : 1 ;
1074 unsigned char state_remove_uevent_sent : 1 ;
1075 unsigned char uevent_suppress : 1 ;
1076};
1077#line 109 "include/linux/kobject.h"
1078struct kobj_type {
1079 void (*release)(struct kobject * ) ;
1080 struct sysfs_ops const *sysfs_ops ;
1081 struct attribute **default_attrs ;
1082 struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject * ) ;
1083 void const *(*namespace)(struct kobject * ) ;
1084};
1085#line 117 "include/linux/kobject.h"
1086struct kobj_uevent_env {
1087 char *envp[32U] ;
1088 int envp_idx ;
1089 char buf[2048U] ;
1090 int buflen ;
1091};
1092#line 124 "include/linux/kobject.h"
1093struct kset_uevent_ops {
1094 int (* const filter)(struct kset * , struct kobject * ) ;
1095 char const *(* const name)(struct kset * , struct kobject * ) ;
1096 int (* const uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
1097};
1098#line 141 "include/linux/kobject.h"
1099struct kset {
1100 struct list_head list ;
1101 spinlock_t list_lock ;
1102 struct kobject kobj ;
1103 struct kset_uevent_ops const *uevent_ops ;
1104};
1105#line 219
1106struct kernel_param;
1107#line 219
1108struct kernel_param;
1109#line 220 "include/linux/kobject.h"
1110struct kernel_param_ops {
1111 int (*set)(char const * , struct kernel_param const * ) ;
1112 int (*get)(char * , struct kernel_param const * ) ;
1113 void (*free)(void * ) ;
1114};
1115#line 44 "include/linux/moduleparam.h"
1116struct kparam_string;
1117#line 44
1118struct kparam_string;
1119#line 44
1120struct kparam_array;
1121#line 44
1122struct kparam_array;
1123#line 44 "include/linux/moduleparam.h"
1124union __anonunion_ldv_12924_129 {
1125 void *arg ;
1126 struct kparam_string const *str ;
1127 struct kparam_array const *arr ;
1128};
1129#line 44 "include/linux/moduleparam.h"
1130struct kernel_param {
1131 char const *name ;
1132 struct kernel_param_ops const *ops ;
1133 u16 perm ;
1134 u16 flags ;
1135 union __anonunion_ldv_12924_129 ldv_12924 ;
1136};
1137#line 59 "include/linux/moduleparam.h"
1138struct kparam_string {
1139 unsigned int maxlen ;
1140 char *string ;
1141};
1142#line 65 "include/linux/moduleparam.h"
1143struct kparam_array {
1144 unsigned int max ;
1145 unsigned int elemsize ;
1146 unsigned int *num ;
1147 struct kernel_param_ops const *ops ;
1148 void *elem ;
1149};
1150#line 404 "include/linux/moduleparam.h"
1151struct jump_label_key {
1152 atomic_t enabled ;
1153};
1154#line 99 "include/linux/jump_label.h"
1155struct tracepoint;
1156#line 99
1157struct tracepoint;
1158#line 100 "include/linux/jump_label.h"
1159struct tracepoint_func {
1160 void *func ;
1161 void *data ;
1162};
1163#line 29 "include/linux/tracepoint.h"
1164struct tracepoint {
1165 char const *name ;
1166 struct jump_label_key key ;
1167 void (*regfunc)(void) ;
1168 void (*unregfunc)(void) ;
1169 struct tracepoint_func *funcs ;
1170};
1171#line 84 "include/linux/tracepoint.h"
1172struct mod_arch_specific {
1173
1174};
1175#line 127 "include/trace/events/module.h"
1176struct kernel_symbol {
1177 unsigned long value ;
1178 char const *name ;
1179};
1180#line 48 "include/linux/module.h"
1181struct module_attribute {
1182 struct attribute attr ;
1183 ssize_t (*show)(struct module_attribute * , struct module * , char * ) ;
1184 ssize_t (*store)(struct module_attribute * , struct module * , char const * ,
1185 size_t ) ;
1186 void (*setup)(struct module * , char const * ) ;
1187 int (*test)(struct module * ) ;
1188 void (*free)(struct module * ) ;
1189};
1190#line 68
1191struct module_param_attrs;
1192#line 68
1193struct module_param_attrs;
1194#line 68 "include/linux/module.h"
1195struct module_kobject {
1196 struct kobject kobj ;
1197 struct module *mod ;
1198 struct kobject *drivers_dir ;
1199 struct module_param_attrs *mp ;
1200};
1201#line 81
1202struct exception_table_entry;
1203#line 81
1204struct exception_table_entry;
1205#line 218
1206enum module_state {
1207 MODULE_STATE_LIVE = 0,
1208 MODULE_STATE_COMING = 1,
1209 MODULE_STATE_GOING = 2
1210} ;
1211#line 224 "include/linux/module.h"
1212struct module_ref {
1213 unsigned int incs ;
1214 unsigned int decs ;
1215};
1216#line 418
1217struct module_sect_attrs;
1218#line 418
1219struct module_sect_attrs;
1220#line 418
1221struct module_notes_attrs;
1222#line 418
1223struct module_notes_attrs;
1224#line 418
1225struct ftrace_event_call;
1226#line 418
1227struct ftrace_event_call;
1228#line 418 "include/linux/module.h"
1229struct module {
1230 enum module_state state ;
1231 struct list_head list ;
1232 char name[56U] ;
1233 struct module_kobject mkobj ;
1234 struct module_attribute *modinfo_attrs ;
1235 char const *version ;
1236 char const *srcversion ;
1237 struct kobject *holders_dir ;
1238 struct kernel_symbol const *syms ;
1239 unsigned long const *crcs ;
1240 unsigned int num_syms ;
1241 struct kernel_param *kp ;
1242 unsigned int num_kp ;
1243 unsigned int num_gpl_syms ;
1244 struct kernel_symbol const *gpl_syms ;
1245 unsigned long const *gpl_crcs ;
1246 struct kernel_symbol const *unused_syms ;
1247 unsigned long const *unused_crcs ;
1248 unsigned int num_unused_syms ;
1249 unsigned int num_unused_gpl_syms ;
1250 struct kernel_symbol const *unused_gpl_syms ;
1251 unsigned long const *unused_gpl_crcs ;
1252 struct kernel_symbol const *gpl_future_syms ;
1253 unsigned long const *gpl_future_crcs ;
1254 unsigned int num_gpl_future_syms ;
1255 unsigned int num_exentries ;
1256 struct exception_table_entry *extable ;
1257 int (*init)(void) ;
1258 void *module_init ;
1259 void *module_core ;
1260 unsigned int init_size ;
1261 unsigned int core_size ;
1262 unsigned int init_text_size ;
1263 unsigned int core_text_size ;
1264 unsigned int init_ro_size ;
1265 unsigned int core_ro_size ;
1266 struct mod_arch_specific arch ;
1267 unsigned int taints ;
1268 unsigned int num_bugs ;
1269 struct list_head bug_list ;
1270 struct bug_entry *bug_table ;
1271 Elf64_Sym *symtab ;
1272 Elf64_Sym *core_symtab ;
1273 unsigned int num_symtab ;
1274 unsigned int core_num_syms ;
1275 char *strtab ;
1276 char *core_strtab ;
1277 struct module_sect_attrs *sect_attrs ;
1278 struct module_notes_attrs *notes_attrs ;
1279 char *args ;
1280 void *percpu ;
1281 unsigned int percpu_size ;
1282 unsigned int num_tracepoints ;
1283 struct tracepoint * const *tracepoints_ptrs ;
1284 unsigned int num_trace_bprintk_fmt ;
1285 char const **trace_bprintk_fmt_start ;
1286 struct ftrace_event_call **trace_events ;
1287 unsigned int num_trace_events ;
1288 unsigned int num_ftrace_callsites ;
1289 unsigned long *ftrace_callsites ;
1290 struct list_head source_list ;
1291 struct list_head target_list ;
1292 struct task_struct *waiter ;
1293 void (*exit)(void) ;
1294 struct module_ref *refptr ;
1295 ctor_fn_t (**ctors)(void) ;
1296 unsigned int num_ctors ;
1297};
1298#line 12 "include/linux/mod_devicetable.h"
1299typedef unsigned long kernel_ulong_t;
1300#line 13 "include/linux/mod_devicetable.h"
1301struct pci_device_id {
1302 __u32 vendor ;
1303 __u32 device ;
1304 __u32 subvendor ;
1305 __u32 subdevice ;
1306 __u32 class ;
1307 __u32 class_mask ;
1308 kernel_ulong_t driver_data ;
1309};
1310#line 215 "include/linux/mod_devicetable.h"
1311struct of_device_id {
1312 char name[32U] ;
1313 char type[32U] ;
1314 char compatible[128U] ;
1315 void *data ;
1316};
1317#line 535
1318struct klist_node;
1319#line 535
1320struct klist_node;
1321#line 37 "include/linux/klist.h"
1322struct klist_node {
1323 void *n_klist ;
1324 struct list_head n_node ;
1325 struct kref n_ref ;
1326};
1327#line 67
1328struct dma_map_ops;
1329#line 67
1330struct dma_map_ops;
1331#line 67 "include/linux/klist.h"
1332struct dev_archdata {
1333 void *acpi_handle ;
1334 struct dma_map_ops *dma_ops ;
1335 void *iommu ;
1336};
1337#line 17 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
1338struct device_private;
1339#line 17
1340struct device_private;
1341#line 18
1342struct device_driver;
1343#line 18
1344struct device_driver;
1345#line 19
1346struct driver_private;
1347#line 19
1348struct driver_private;
1349#line 20
1350struct class;
1351#line 20
1352struct class;
1353#line 21
1354struct subsys_private;
1355#line 21
1356struct subsys_private;
1357#line 22
1358struct bus_type;
1359#line 22
1360struct bus_type;
1361#line 23
1362struct device_node;
1363#line 23
1364struct device_node;
1365#line 24 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
1366struct bus_attribute {
1367 struct attribute attr ;
1368 ssize_t (*show)(struct bus_type * , char * ) ;
1369 ssize_t (*store)(struct bus_type * , char const * , size_t ) ;
1370};
1371#line 49 "include/linux/device.h"
1372struct device_attribute;
1373#line 49
1374struct device_attribute;
1375#line 49
1376struct driver_attribute;
1377#line 49
1378struct driver_attribute;
1379#line 49 "include/linux/device.h"
1380struct bus_type {
1381 char const *name ;
1382 struct bus_attribute *bus_attrs ;
1383 struct device_attribute *dev_attrs ;
1384 struct driver_attribute *drv_attrs ;
1385 int (*match)(struct device * , struct device_driver * ) ;
1386 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1387 int (*probe)(struct device * ) ;
1388 int (*remove)(struct device * ) ;
1389 void (*shutdown)(struct device * ) ;
1390 int (*suspend)(struct device * , pm_message_t ) ;
1391 int (*resume)(struct device * ) ;
1392 struct dev_pm_ops const *pm ;
1393 struct subsys_private *p ;
1394};
1395#line 153 "include/linux/device.h"
1396struct device_driver {
1397 char const *name ;
1398 struct bus_type *bus ;
1399 struct module *owner ;
1400 char const *mod_name ;
1401 bool suppress_bind_attrs ;
1402 struct of_device_id const *of_match_table ;
1403 int (*probe)(struct device * ) ;
1404 int (*remove)(struct device * ) ;
1405 void (*shutdown)(struct device * ) ;
1406 int (*suspend)(struct device * , pm_message_t ) ;
1407 int (*resume)(struct device * ) ;
1408 struct attribute_group const **groups ;
1409 struct dev_pm_ops const *pm ;
1410 struct driver_private *p ;
1411};
1412#line 218 "include/linux/device.h"
1413struct driver_attribute {
1414 struct attribute attr ;
1415 ssize_t (*show)(struct device_driver * , char * ) ;
1416 ssize_t (*store)(struct device_driver * , char const * , size_t ) ;
1417};
1418#line 248
1419struct class_attribute;
1420#line 248
1421struct class_attribute;
1422#line 248 "include/linux/device.h"
1423struct class {
1424 char const *name ;
1425 struct module *owner ;
1426 struct class_attribute *class_attrs ;
1427 struct device_attribute *dev_attrs ;
1428 struct bin_attribute *dev_bin_attrs ;
1429 struct kobject *dev_kobj ;
1430 int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ;
1431 char *(*devnode)(struct device * , mode_t * ) ;
1432 void (*class_release)(struct class * ) ;
1433 void (*dev_release)(struct device * ) ;
1434 int (*suspend)(struct device * , pm_message_t ) ;
1435 int (*resume)(struct device * ) ;
1436 struct kobj_ns_type_operations const *ns_type ;
1437 void const *(*namespace)(struct device * ) ;
1438 struct dev_pm_ops const *pm ;
1439 struct subsys_private *p ;
1440};
1441#line 305
1442struct device_type;
1443#line 305
1444struct device_type;
1445#line 344 "include/linux/device.h"
1446struct class_attribute {
1447 struct attribute attr ;
1448 ssize_t (*show)(struct class * , struct class_attribute * , char * ) ;
1449 ssize_t (*store)(struct class * , struct class_attribute * , char const * , size_t ) ;
1450};
1451#line 395 "include/linux/device.h"
1452struct device_type {
1453 char const *name ;
1454 struct attribute_group const **groups ;
1455 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1456 char *(*devnode)(struct device * , mode_t * ) ;
1457 void (*release)(struct device * ) ;
1458 struct dev_pm_ops const *pm ;
1459};
1460#line 422 "include/linux/device.h"
1461struct device_attribute {
1462 struct attribute attr ;
1463 ssize_t (*show)(struct device * , struct device_attribute * , char * ) ;
1464 ssize_t (*store)(struct device * , struct device_attribute * , char const * ,
1465 size_t ) ;
1466};
1467#line 483 "include/linux/device.h"
1468struct device_dma_parameters {
1469 unsigned int max_segment_size ;
1470 unsigned long segment_boundary_mask ;
1471};
1472#line 492
1473struct dma_coherent_mem;
1474#line 492
1475struct dma_coherent_mem;
1476#line 492 "include/linux/device.h"
1477struct device {
1478 struct device *parent ;
1479 struct device_private *p ;
1480 struct kobject kobj ;
1481 char const *init_name ;
1482 struct device_type const *type ;
1483 struct mutex mutex ;
1484 struct bus_type *bus ;
1485 struct device_driver *driver ;
1486 void *platform_data ;
1487 struct dev_pm_info power ;
1488 struct dev_power_domain *pwr_domain ;
1489 int numa_node ;
1490 u64 *dma_mask ;
1491 u64 coherent_dma_mask ;
1492 struct device_dma_parameters *dma_parms ;
1493 struct list_head dma_pools ;
1494 struct dma_coherent_mem *dma_mem ;
1495 struct dev_archdata archdata ;
1496 struct device_node *of_node ;
1497 dev_t devt ;
1498 spinlock_t devres_lock ;
1499 struct list_head devres_head ;
1500 struct klist_node knode_class ;
1501 struct class *class ;
1502 struct attribute_group const **groups ;
1503 void (*release)(struct device * ) ;
1504};
1505#line 604 "include/linux/device.h"
1506struct wakeup_source {
1507 char *name ;
1508 struct list_head entry ;
1509 spinlock_t lock ;
1510 struct timer_list timer ;
1511 unsigned long timer_expires ;
1512 ktime_t total_time ;
1513 ktime_t max_time ;
1514 ktime_t last_time ;
1515 unsigned long event_count ;
1516 unsigned long active_count ;
1517 unsigned long relax_count ;
1518 unsigned long hit_count ;
1519 unsigned char active : 1 ;
1520};
1521#line 69 "include/linux/io.h"
1522enum irqreturn {
1523 IRQ_NONE = 0,
1524 IRQ_HANDLED = 1,
1525 IRQ_WAKE_THREAD = 2
1526} ;
1527#line 16 "include/linux/irqreturn.h"
1528typedef enum irqreturn irqreturn_t;
1529#line 17
1530struct hotplug_slot;
1531#line 17
1532struct hotplug_slot;
1533#line 17 "include/linux/irqreturn.h"
1534struct pci_slot {
1535 struct pci_bus *bus ;
1536 struct list_head list ;
1537 struct hotplug_slot *hotplug ;
1538 unsigned char number ;
1539 struct kobject kobj ;
1540};
1541#line 117 "include/linux/pci.h"
1542typedef int pci_power_t;
1543#line 143 "include/linux/pci.h"
1544typedef unsigned int pci_channel_state_t;
1545#line 144
1546enum pci_channel_state {
1547 pci_channel_io_normal = 1,
1548 pci_channel_io_frozen = 2,
1549 pci_channel_io_perm_failure = 3
1550} ;
1551#line 169 "include/linux/pci.h"
1552typedef unsigned short pci_dev_flags_t;
1553#line 184 "include/linux/pci.h"
1554typedef unsigned short pci_bus_flags_t;
1555#line 227
1556struct pcie_link_state;
1557#line 227
1558struct pcie_link_state;
1559#line 228
1560struct pci_vpd;
1561#line 228
1562struct pci_vpd;
1563#line 229
1564struct pci_sriov;
1565#line 229
1566struct pci_sriov;
1567#line 230
1568struct pci_ats;
1569#line 230
1570struct pci_ats;
1571#line 231
1572struct proc_dir_entry;
1573#line 231
1574struct proc_dir_entry;
1575#line 231
1576struct pci_driver;
1577#line 231
1578struct pci_driver;
1579#line 231 "include/linux/pci.h"
1580union __anonunion_ldv_14722_131 {
1581 struct pci_sriov *sriov ;
1582 struct pci_dev *physfn ;
1583};
1584#line 231 "include/linux/pci.h"
1585struct pci_dev {
1586 struct list_head bus_list ;
1587 struct pci_bus *bus ;
1588 struct pci_bus *subordinate ;
1589 void *sysdata ;
1590 struct proc_dir_entry *procent ;
1591 struct pci_slot *slot ;
1592 unsigned int devfn ;
1593 unsigned short vendor ;
1594 unsigned short device ;
1595 unsigned short subsystem_vendor ;
1596 unsigned short subsystem_device ;
1597 unsigned int class ;
1598 u8 revision ;
1599 u8 hdr_type ;
1600 u8 pcie_cap ;
1601 u8 pcie_type ;
1602 u8 rom_base_reg ;
1603 u8 pin ;
1604 struct pci_driver *driver ;
1605 u64 dma_mask ;
1606 struct device_dma_parameters dma_parms ;
1607 pci_power_t current_state ;
1608 int pm_cap ;
1609 unsigned char pme_support : 5 ;
1610 unsigned char pme_interrupt : 1 ;
1611 unsigned char d1_support : 1 ;
1612 unsigned char d2_support : 1 ;
1613 unsigned char no_d1d2 : 1 ;
1614 unsigned char mmio_always_on : 1 ;
1615 unsigned char wakeup_prepared : 1 ;
1616 unsigned int d3_delay ;
1617 struct pcie_link_state *link_state ;
1618 pci_channel_state_t error_state ;
1619 struct device dev ;
1620 int cfg_size ;
1621 unsigned int irq ;
1622 struct resource resource[18U] ;
1623 resource_size_t fw_addr[18U] ;
1624 unsigned char transparent : 1 ;
1625 unsigned char multifunction : 1 ;
1626 unsigned char is_added : 1 ;
1627 unsigned char is_busmaster : 1 ;
1628 unsigned char no_msi : 1 ;
1629 unsigned char block_ucfg_access : 1 ;
1630 unsigned char broken_parity_status : 1 ;
1631 unsigned char irq_reroute_variant : 2 ;
1632 unsigned char msi_enabled : 1 ;
1633 unsigned char msix_enabled : 1 ;
1634 unsigned char ari_enabled : 1 ;
1635 unsigned char is_managed : 1 ;
1636 unsigned char is_pcie : 1 ;
1637 unsigned char needs_freset : 1 ;
1638 unsigned char state_saved : 1 ;
1639 unsigned char is_physfn : 1 ;
1640 unsigned char is_virtfn : 1 ;
1641 unsigned char reset_fn : 1 ;
1642 unsigned char is_hotplug_bridge : 1 ;
1643 unsigned char __aer_firmware_first_valid : 1 ;
1644 unsigned char __aer_firmware_first : 1 ;
1645 pci_dev_flags_t dev_flags ;
1646 atomic_t enable_cnt ;
1647 u32 saved_config_space[16U] ;
1648 struct hlist_head saved_cap_space ;
1649 struct bin_attribute *rom_attr ;
1650 int rom_attr_enabled ;
1651 struct bin_attribute *res_attr[18U] ;
1652 struct bin_attribute *res_attr_wc[18U] ;
1653 struct list_head msi_list ;
1654 struct pci_vpd *vpd ;
1655 union __anonunion_ldv_14722_131 ldv_14722 ;
1656 struct pci_ats *ats ;
1657};
1658#line 406
1659struct pci_ops;
1660#line 406
1661struct pci_ops;
1662#line 406 "include/linux/pci.h"
1663struct pci_bus {
1664 struct list_head node ;
1665 struct pci_bus *parent ;
1666 struct list_head children ;
1667 struct list_head devices ;
1668 struct pci_dev *self ;
1669 struct list_head slots ;
1670 struct resource *resource[4U] ;
1671 struct list_head resources ;
1672 struct pci_ops *ops ;
1673 void *sysdata ;
1674 struct proc_dir_entry *procdir ;
1675 unsigned char number ;
1676 unsigned char primary ;
1677 unsigned char secondary ;
1678 unsigned char subordinate ;
1679 unsigned char max_bus_speed ;
1680 unsigned char cur_bus_speed ;
1681 char name[48U] ;
1682 unsigned short bridge_ctl ;
1683 pci_bus_flags_t bus_flags ;
1684 struct device *bridge ;
1685 struct device dev ;
1686 struct bin_attribute *legacy_io ;
1687 struct bin_attribute *legacy_mem ;
1688 unsigned char is_added : 1 ;
1689};
1690#line 458 "include/linux/pci.h"
1691struct pci_ops {
1692 int (*read)(struct pci_bus * , unsigned int , int , int , u32 * ) ;
1693 int (*write)(struct pci_bus * , unsigned int , int , int , u32 ) ;
1694};
1695#line 493 "include/linux/pci.h"
1696struct pci_dynids {
1697 spinlock_t lock ;
1698 struct list_head list ;
1699};
1700#line 506 "include/linux/pci.h"
1701typedef unsigned int pci_ers_result_t;
1702#line 515 "include/linux/pci.h"
1703struct pci_error_handlers {
1704 pci_ers_result_t (*error_detected)(struct pci_dev * , enum pci_channel_state ) ;
1705 pci_ers_result_t (*mmio_enabled)(struct pci_dev * ) ;
1706 pci_ers_result_t (*link_reset)(struct pci_dev * ) ;
1707 pci_ers_result_t (*slot_reset)(struct pci_dev * ) ;
1708 void (*resume)(struct pci_dev * ) ;
1709};
1710#line 543 "include/linux/pci.h"
1711struct pci_driver {
1712 struct list_head node ;
1713 char const *name ;
1714 struct pci_device_id const *id_table ;
1715 int (*probe)(struct pci_dev * , struct pci_device_id const * ) ;
1716 void (*remove)(struct pci_dev * ) ;
1717 int (*suspend)(struct pci_dev * , pm_message_t ) ;
1718 int (*suspend_late)(struct pci_dev * , pm_message_t ) ;
1719 int (*resume_early)(struct pci_dev * ) ;
1720 int (*resume)(struct pci_dev * ) ;
1721 void (*shutdown)(struct pci_dev * ) ;
1722 struct pci_error_handlers *err_handler ;
1723 struct device_driver driver ;
1724 struct pci_dynids dynids ;
1725};
1726#line 948 "include/linux/pci.h"
1727struct scatterlist {
1728 unsigned long sg_magic ;
1729 unsigned long page_link ;
1730 unsigned int offset ;
1731 unsigned int length ;
1732 dma_addr_t dma_address ;
1733 unsigned int dma_length ;
1734};
1735#line 1095 "include/linux/pci.h"
1736struct rb_node {
1737 unsigned long rb_parent_color ;
1738 struct rb_node *rb_right ;
1739 struct rb_node *rb_left ;
1740};
1741#line 108 "include/linux/rbtree.h"
1742struct rb_root {
1743 struct rb_node *rb_node ;
1744};
1745#line 176
1746struct prio_tree_node;
1747#line 176
1748struct prio_tree_node;
1749#line 176 "include/linux/rbtree.h"
1750struct raw_prio_tree_node {
1751 struct prio_tree_node *left ;
1752 struct prio_tree_node *right ;
1753 struct prio_tree_node *parent ;
1754};
1755#line 19 "include/linux/prio_tree.h"
1756struct prio_tree_node {
1757 struct prio_tree_node *left ;
1758 struct prio_tree_node *right ;
1759 struct prio_tree_node *parent ;
1760 unsigned long start ;
1761 unsigned long last ;
1762};
1763#line 27 "include/linux/prio_tree.h"
1764struct prio_tree_root {
1765 struct prio_tree_node *prio_tree_node ;
1766 unsigned short index_bits ;
1767 unsigned short raw ;
1768};
1769#line 115
1770struct address_space;
1771#line 115
1772struct address_space;
1773#line 116 "include/linux/prio_tree.h"
1774struct __anonstruct_ldv_15597_133 {
1775 u16 inuse ;
1776 u16 objects ;
1777};
1778#line 116 "include/linux/prio_tree.h"
1779union __anonunion_ldv_15598_132 {
1780 atomic_t _mapcount ;
1781 struct __anonstruct_ldv_15597_133 ldv_15597 ;
1782};
1783#line 116 "include/linux/prio_tree.h"
1784struct __anonstruct_ldv_15603_135 {
1785 unsigned long private ;
1786 struct address_space *mapping ;
1787};
1788#line 116 "include/linux/prio_tree.h"
1789union __anonunion_ldv_15606_134 {
1790 struct __anonstruct_ldv_15603_135 ldv_15603 ;
1791 struct kmem_cache *slab ;
1792 struct page *first_page ;
1793};
1794#line 116 "include/linux/prio_tree.h"
1795union __anonunion_ldv_15610_136 {
1796 unsigned long index ;
1797 void *freelist ;
1798};
1799#line 116 "include/linux/prio_tree.h"
1800struct page {
1801 unsigned long flags ;
1802 atomic_t _count ;
1803 union __anonunion_ldv_15598_132 ldv_15598 ;
1804 union __anonunion_ldv_15606_134 ldv_15606 ;
1805 union __anonunion_ldv_15610_136 ldv_15610 ;
1806 struct list_head lru ;
1807};
1808#line 124 "include/linux/mm_types.h"
1809struct __anonstruct_vm_set_138 {
1810 struct list_head list ;
1811 void *parent ;
1812 struct vm_area_struct *head ;
1813};
1814#line 124 "include/linux/mm_types.h"
1815union __anonunion_shared_137 {
1816 struct __anonstruct_vm_set_138 vm_set ;
1817 struct raw_prio_tree_node prio_tree_node ;
1818};
1819#line 124
1820struct anon_vma;
1821#line 124
1822struct anon_vma;
1823#line 124
1824struct vm_operations_struct;
1825#line 124
1826struct vm_operations_struct;
1827#line 124
1828struct mempolicy;
1829#line 124
1830struct mempolicy;
1831#line 124 "include/linux/mm_types.h"
1832struct vm_area_struct {
1833 struct mm_struct *vm_mm ;
1834 unsigned long vm_start ;
1835 unsigned long vm_end ;
1836 struct vm_area_struct *vm_next ;
1837 struct vm_area_struct *vm_prev ;
1838 pgprot_t vm_page_prot ;
1839 unsigned long vm_flags ;
1840 struct rb_node vm_rb ;
1841 union __anonunion_shared_137 shared ;
1842 struct list_head anon_vma_chain ;
1843 struct anon_vma *anon_vma ;
1844 struct vm_operations_struct const *vm_ops ;
1845 unsigned long vm_pgoff ;
1846 struct file *vm_file ;
1847 void *vm_private_data ;
1848 struct mempolicy *vm_policy ;
1849};
1850#line 187 "include/linux/mm_types.h"
1851struct core_thread {
1852 struct task_struct *task ;
1853 struct core_thread *next ;
1854};
1855#line 193 "include/linux/mm_types.h"
1856struct core_state {
1857 atomic_t nr_threads ;
1858 struct core_thread dumper ;
1859 struct completion startup ;
1860};
1861#line 206 "include/linux/mm_types.h"
1862struct mm_rss_stat {
1863 atomic_long_t count[3U] ;
1864};
1865#line 219
1866struct linux_binfmt;
1867#line 219
1868struct linux_binfmt;
1869#line 219
1870struct mmu_notifier_mm;
1871#line 219
1872struct mmu_notifier_mm;
1873#line 219 "include/linux/mm_types.h"
1874struct mm_struct {
1875 struct vm_area_struct *mmap ;
1876 struct rb_root mm_rb ;
1877 struct vm_area_struct *mmap_cache ;
1878 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
1879 unsigned long , unsigned long ) ;
1880 void (*unmap_area)(struct mm_struct * , unsigned long ) ;
1881 unsigned long mmap_base ;
1882 unsigned long task_size ;
1883 unsigned long cached_hole_size ;
1884 unsigned long free_area_cache ;
1885 pgd_t *pgd ;
1886 atomic_t mm_users ;
1887 atomic_t mm_count ;
1888 int map_count ;
1889 spinlock_t page_table_lock ;
1890 struct rw_semaphore mmap_sem ;
1891 struct list_head mmlist ;
1892 unsigned long hiwater_rss ;
1893 unsigned long hiwater_vm ;
1894 unsigned long total_vm ;
1895 unsigned long locked_vm ;
1896 unsigned long shared_vm ;
1897 unsigned long exec_vm ;
1898 unsigned long stack_vm ;
1899 unsigned long reserved_vm ;
1900 unsigned long def_flags ;
1901 unsigned long nr_ptes ;
1902 unsigned long start_code ;
1903 unsigned long end_code ;
1904 unsigned long start_data ;
1905 unsigned long end_data ;
1906 unsigned long start_brk ;
1907 unsigned long brk ;
1908 unsigned long start_stack ;
1909 unsigned long arg_start ;
1910 unsigned long arg_end ;
1911 unsigned long env_start ;
1912 unsigned long env_end ;
1913 unsigned long saved_auxv[44U] ;
1914 struct mm_rss_stat rss_stat ;
1915 struct linux_binfmt *binfmt ;
1916 cpumask_var_t cpu_vm_mask_var ;
1917 mm_context_t context ;
1918 unsigned int faultstamp ;
1919 unsigned int token_priority ;
1920 unsigned int last_interval ;
1921 atomic_t oom_disable_count ;
1922 unsigned long flags ;
1923 struct core_state *core_state ;
1924 spinlock_t ioctx_lock ;
1925 struct hlist_head ioctx_list ;
1926 struct task_struct *owner ;
1927 struct file *exe_file ;
1928 unsigned long num_exe_file_vmas ;
1929 struct mmu_notifier_mm *mmu_notifier_mm ;
1930 pgtable_t pmd_huge_pte ;
1931 struct cpumask cpumask_allocation ;
1932};
1933#line 92 "include/linux/bit_spinlock.h"
1934struct file_ra_state;
1935#line 92
1936struct file_ra_state;
1937#line 93
1938struct user_struct;
1939#line 93
1940struct user_struct;
1941#line 94
1942struct writeback_control;
1943#line 94
1944struct writeback_control;
1945#line 175 "include/linux/mm.h"
1946struct vm_fault {
1947 unsigned int flags ;
1948 unsigned long pgoff ;
1949 void *virtual_address ;
1950 struct page *page ;
1951};
1952#line 192 "include/linux/mm.h"
1953struct vm_operations_struct {
1954 void (*open)(struct vm_area_struct * ) ;
1955 void (*close)(struct vm_area_struct * ) ;
1956 int (*fault)(struct vm_area_struct * , struct vm_fault * ) ;
1957 int (*page_mkwrite)(struct vm_area_struct * , struct vm_fault * ) ;
1958 int (*access)(struct vm_area_struct * , unsigned long , void * , int , int ) ;
1959 int (*set_policy)(struct vm_area_struct * , struct mempolicy * ) ;
1960 struct mempolicy *(*get_policy)(struct vm_area_struct * , unsigned long ) ;
1961 int (*migrate)(struct vm_area_struct * , nodemask_t const * , nodemask_t const * ,
1962 unsigned long ) ;
1963};
1964#line 241
1965struct inode;
1966#line 241
1967struct inode;
1968#line 118 "include/linux/kmemleak.h"
1969struct kmem_cache_cpu {
1970 void **freelist ;
1971 unsigned long tid ;
1972 struct page *page ;
1973 int node ;
1974 unsigned int stat[19U] ;
1975};
1976#line 46 "include/linux/slub_def.h"
1977struct kmem_cache_node {
1978 spinlock_t list_lock ;
1979 unsigned long nr_partial ;
1980 struct list_head partial ;
1981 atomic_long_t nr_slabs ;
1982 atomic_long_t total_objects ;
1983 struct list_head full ;
1984};
1985#line 57 "include/linux/slub_def.h"
1986struct kmem_cache_order_objects {
1987 unsigned long x ;
1988};
1989#line 67 "include/linux/slub_def.h"
1990struct kmem_cache {
1991 struct kmem_cache_cpu *cpu_slab ;
1992 unsigned long flags ;
1993 unsigned long min_partial ;
1994 int size ;
1995 int objsize ;
1996 int offset ;
1997 struct kmem_cache_order_objects oo ;
1998 struct kmem_cache_order_objects max ;
1999 struct kmem_cache_order_objects min ;
2000 gfp_t allocflags ;
2001 int refcount ;
2002 void (*ctor)(void * ) ;
2003 int inuse ;
2004 int align ;
2005 int reserved ;
2006 char const *name ;
2007 struct list_head list ;
2008 struct kobject kobj ;
2009 int remote_node_defrag_ratio ;
2010 struct kmem_cache_node *node[1024U] ;
2011};
2012#line 34 "include/linux/bug.h"
2013struct dma_attrs {
2014 unsigned long flags[1U] ;
2015};
2016#line 266 "include/linux/scatterlist.h"
2017enum dma_data_direction {
2018 DMA_BIDIRECTIONAL = 0,
2019 DMA_TO_DEVICE = 1,
2020 DMA_FROM_DEVICE = 2,
2021 DMA_NONE = 3
2022} ;
2023#line 273 "include/linux/scatterlist.h"
2024struct dma_map_ops {
2025 void *(*alloc_coherent)(struct device * , size_t , dma_addr_t * , gfp_t ) ;
2026 void (*free_coherent)(struct device * , size_t , void * , dma_addr_t ) ;
2027 dma_addr_t (*map_page)(struct device * , struct page * , unsigned long , size_t ,
2028 enum dma_data_direction , struct dma_attrs * ) ;
2029 void (*unmap_page)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
2030 struct dma_attrs * ) ;
2031 int (*map_sg)(struct device * , struct scatterlist * , int , enum dma_data_direction ,
2032 struct dma_attrs * ) ;
2033 void (*unmap_sg)(struct device * , struct scatterlist * , int , enum dma_data_direction ,
2034 struct dma_attrs * ) ;
2035 void (*sync_single_for_cpu)(struct device * , dma_addr_t , size_t , enum dma_data_direction ) ;
2036 void (*sync_single_for_device)(struct device * , dma_addr_t , size_t , enum dma_data_direction ) ;
2037 void (*sync_sg_for_cpu)(struct device * , struct scatterlist * , int , enum dma_data_direction ) ;
2038 void (*sync_sg_for_device)(struct device * , struct scatterlist * , int , enum dma_data_direction ) ;
2039 int (*mapping_error)(struct device * , dma_addr_t ) ;
2040 int (*dma_supported)(struct device * , u64 ) ;
2041 int (*set_dma_mask)(struct device * , u64 ) ;
2042 int is_phys ;
2043};
2044#line 16 "include/linux/socket.h"
2045struct iovec {
2046 void *iov_base ;
2047 __kernel_size_t iov_len ;
2048};
2049#line 38 "include/linux/socket.h"
2050typedef unsigned short sa_family_t;
2051#line 39 "include/linux/socket.h"
2052struct sockaddr {
2053 sa_family_t sa_family ;
2054 char sa_data[14U] ;
2055};
2056#line 53 "include/linux/socket.h"
2057struct msghdr {
2058 void *msg_name ;
2059 int msg_namelen ;
2060 struct iovec *msg_iov ;
2061 __kernel_size_t msg_iovlen ;
2062 void *msg_control ;
2063 __kernel_size_t msg_controllen ;
2064 unsigned int msg_flags ;
2065};
2066#line 41 "include/linux/hdlc/ioctl.h"
2067struct __anonstruct_sync_serial_settings_139 {
2068 unsigned int clock_rate ;
2069 unsigned int clock_type ;
2070 unsigned short loopback ;
2071};
2072#line 41 "include/linux/hdlc/ioctl.h"
2073typedef struct __anonstruct_sync_serial_settings_139 sync_serial_settings;
2074#line 48 "include/linux/hdlc/ioctl.h"
2075struct __anonstruct_te1_settings_140 {
2076 unsigned int clock_rate ;
2077 unsigned int clock_type ;
2078 unsigned short loopback ;
2079 unsigned int slot_map ;
2080};
2081#line 48 "include/linux/hdlc/ioctl.h"
2082typedef struct __anonstruct_te1_settings_140 te1_settings;
2083#line 53 "include/linux/hdlc/ioctl.h"
2084struct __anonstruct_raw_hdlc_proto_141 {
2085 unsigned short encoding ;
2086 unsigned short parity ;
2087};
2088#line 53 "include/linux/hdlc/ioctl.h"
2089typedef struct __anonstruct_raw_hdlc_proto_141 raw_hdlc_proto;
2090#line 63 "include/linux/hdlc/ioctl.h"
2091struct __anonstruct_fr_proto_142 {
2092 unsigned int t391 ;
2093 unsigned int t392 ;
2094 unsigned int n391 ;
2095 unsigned int n392 ;
2096 unsigned int n393 ;
2097 unsigned short lmi ;
2098 unsigned short dce ;
2099};
2100#line 63 "include/linux/hdlc/ioctl.h"
2101typedef struct __anonstruct_fr_proto_142 fr_proto;
2102#line 67 "include/linux/hdlc/ioctl.h"
2103struct __anonstruct_fr_proto_pvc_143 {
2104 unsigned int dlci ;
2105};
2106#line 67 "include/linux/hdlc/ioctl.h"
2107typedef struct __anonstruct_fr_proto_pvc_143 fr_proto_pvc;
2108#line 72 "include/linux/hdlc/ioctl.h"
2109struct __anonstruct_fr_proto_pvc_info_144 {
2110 unsigned int dlci ;
2111 char master[16U] ;
2112};
2113#line 72 "include/linux/hdlc/ioctl.h"
2114typedef struct __anonstruct_fr_proto_pvc_info_144 fr_proto_pvc_info;
2115#line 77 "include/linux/hdlc/ioctl.h"
2116struct __anonstruct_cisco_proto_145 {
2117 unsigned int interval ;
2118 unsigned int timeout ;
2119};
2120#line 77 "include/linux/hdlc/ioctl.h"
2121typedef struct __anonstruct_cisco_proto_145 cisco_proto;
2122#line 93 "include/linux/hdlc/ioctl.h"
2123struct ifmap {
2124 unsigned long mem_start ;
2125 unsigned long mem_end ;
2126 unsigned short base_addr ;
2127 unsigned char irq ;
2128 unsigned char dma ;
2129 unsigned char port ;
2130};
2131#line 142 "include/linux/if.h"
2132union __anonunion_ifs_ifsu_146 {
2133 raw_hdlc_proto *raw_hdlc ;
2134 cisco_proto *cisco ;
2135 fr_proto *fr ;
2136 fr_proto_pvc *fr_pvc ;
2137 fr_proto_pvc_info *fr_pvc_info ;
2138 sync_serial_settings *sync ;
2139 te1_settings *te1 ;
2140};
2141#line 142 "include/linux/if.h"
2142struct if_settings {
2143 unsigned int type ;
2144 unsigned int size ;
2145 union __anonunion_ifs_ifsu_146 ifs_ifsu ;
2146};
2147#line 160 "include/linux/if.h"
2148union __anonunion_ifr_ifrn_147 {
2149 char ifrn_name[16U] ;
2150};
2151#line 160 "include/linux/if.h"
2152union __anonunion_ifr_ifru_148 {
2153 struct sockaddr ifru_addr ;
2154 struct sockaddr ifru_dstaddr ;
2155 struct sockaddr ifru_broadaddr ;
2156 struct sockaddr ifru_netmask ;
2157 struct sockaddr ifru_hwaddr ;
2158 short ifru_flags ;
2159 int ifru_ivalue ;
2160 int ifru_mtu ;
2161 struct ifmap ifru_map ;
2162 char ifru_slave[16U] ;
2163 char ifru_newname[16U] ;
2164 void *ifru_data ;
2165 struct if_settings ifru_settings ;
2166};
2167#line 160 "include/linux/if.h"
2168struct ifreq {
2169 union __anonunion_ifr_ifrn_147 ifr_ifrn ;
2170 union __anonunion_ifr_ifru_148 ifr_ifru ;
2171};
2172#line 224 "include/linux/if.h"
2173struct ethhdr {
2174 unsigned char h_dest[6U] ;
2175 unsigned char h_source[6U] ;
2176 __be16 h_proto ;
2177};
2178#line 124 "include/linux/if_ether.h"
2179enum ldv_17356 {
2180 SS_FREE = 0,
2181 SS_UNCONNECTED = 1,
2182 SS_CONNECTING = 2,
2183 SS_CONNECTED = 3,
2184 SS_DISCONNECTING = 4
2185} ;
2186#line 53 "include/linux/net.h"
2187typedef enum ldv_17356 socket_state;
2188#line 179 "include/asm-generic/fcntl.h"
2189struct poll_table_struct;
2190#line 179
2191struct poll_table_struct;
2192#line 180
2193struct pipe_inode_info;
2194#line 180
2195struct pipe_inode_info;
2196#line 181
2197struct net;
2198#line 181
2199struct net;
2200#line 198
2201struct fasync_struct;
2202#line 198
2203struct fasync_struct;
2204#line 198 "include/asm-generic/fcntl.h"
2205struct socket_wq {
2206 wait_queue_head_t wait ;
2207 struct fasync_struct *fasync_list ;
2208 struct rcu_head rcu ;
2209};
2210#line 127 "include/linux/net.h"
2211struct proto_ops;
2212#line 127
2213struct proto_ops;
2214#line 127 "include/linux/net.h"
2215struct socket {
2216 socket_state state ;
2217 short type ;
2218 unsigned long flags ;
2219 struct socket_wq *wq ;
2220 struct file *file ;
2221 struct sock *sk ;
2222 struct proto_ops const *ops ;
2223};
2224#line 153
2225struct kiocb;
2226#line 153
2227struct kiocb;
2228#line 154 "include/linux/net.h"
2229struct proto_ops {
2230 int family ;
2231 struct module *owner ;
2232 int (*release)(struct socket * ) ;
2233 int (*bind)(struct socket * , struct sockaddr * , int ) ;
2234 int (*connect)(struct socket * , struct sockaddr * , int , int ) ;
2235 int (*socketpair)(struct socket * , struct socket * ) ;
2236 int (*accept)(struct socket * , struct socket * , int ) ;
2237 int (*getname)(struct socket * , struct sockaddr * , int * , int ) ;
2238 unsigned int (*poll)(struct file * , struct socket * , struct poll_table_struct * ) ;
2239 int (*ioctl)(struct socket * , unsigned int , unsigned long ) ;
2240 int (*compat_ioctl)(struct socket * , unsigned int , unsigned long ) ;
2241 int (*listen)(struct socket * , int ) ;
2242 int (*shutdown)(struct socket * , int ) ;
2243 int (*setsockopt)(struct socket * , int , int , char * , unsigned int ) ;
2244 int (*getsockopt)(struct socket * , int , int , char * , int * ) ;
2245 int (*compat_setsockopt)(struct socket * , int , int , char * , unsigned int ) ;
2246 int (*compat_getsockopt)(struct socket * , int , int , char * , int * ) ;
2247 int (*sendmsg)(struct kiocb * , struct socket * , struct msghdr * , size_t ) ;
2248 int (*recvmsg)(struct kiocb * , struct socket * , struct msghdr * , size_t , int ) ;
2249 int (*mmap)(struct file * , struct socket * , struct vm_area_struct * ) ;
2250 ssize_t (*sendpage)(struct socket * , struct page * , int , size_t , int ) ;
2251 ssize_t (*splice_read)(struct socket * , loff_t * , struct pipe_inode_info * ,
2252 size_t , unsigned int ) ;
2253};
2254#line 176 "include/linux/textsearch.h"
2255struct exception_table_entry {
2256 unsigned long insn ;
2257 unsigned long fixup ;
2258};
2259#line 108 "include/net/checksum.h"
2260struct sk_buff;
2261#line 108
2262struct sk_buff;
2263#line 33 "include/linux/dmaengine.h"
2264typedef s32 dma_cookie_t;
2265#line 874 "include/linux/dmaengine.h"
2266struct timerqueue_node {
2267 struct rb_node node ;
2268 ktime_t expires ;
2269};
2270#line 12 "include/linux/timerqueue.h"
2271struct timerqueue_head {
2272 struct rb_root head ;
2273 struct timerqueue_node *next ;
2274};
2275#line 50
2276struct hrtimer_clock_base;
2277#line 50
2278struct hrtimer_clock_base;
2279#line 51
2280struct hrtimer_cpu_base;
2281#line 51
2282struct hrtimer_cpu_base;
2283#line 60
2284enum hrtimer_restart {
2285 HRTIMER_NORESTART = 0,
2286 HRTIMER_RESTART = 1
2287} ;
2288#line 65 "include/linux/timerqueue.h"
2289struct hrtimer {
2290 struct timerqueue_node node ;
2291 ktime_t _softexpires ;
2292 enum hrtimer_restart (*function)(struct hrtimer * ) ;
2293 struct hrtimer_clock_base *base ;
2294 unsigned long state ;
2295 int start_pid ;
2296 void *start_site ;
2297 char start_comm[16U] ;
2298};
2299#line 132 "include/linux/hrtimer.h"
2300struct hrtimer_clock_base {
2301 struct hrtimer_cpu_base *cpu_base ;
2302 int index ;
2303 clockid_t clockid ;
2304 struct timerqueue_head active ;
2305 ktime_t resolution ;
2306 ktime_t (*get_time)(void) ;
2307 ktime_t softirq_time ;
2308 ktime_t offset ;
2309};
2310#line 162 "include/linux/hrtimer.h"
2311struct hrtimer_cpu_base {
2312 raw_spinlock_t lock ;
2313 unsigned long active_bases ;
2314 ktime_t expires_next ;
2315 int hres_active ;
2316 int hang_detected ;
2317 unsigned long nr_events ;
2318 unsigned long nr_retries ;
2319 unsigned long nr_hangs ;
2320 ktime_t max_hang_time ;
2321 struct hrtimer_clock_base clock_base[3U] ;
2322};
2323#line 452
2324struct net_device;
2325#line 452
2326struct net_device;
2327#line 453 "include/linux/hrtimer.h"
2328struct nf_conntrack {
2329 atomic_t use ;
2330};
2331#line 102 "include/linux/skbuff.h"
2332struct nf_bridge_info {
2333 atomic_t use ;
2334 struct net_device *physindev ;
2335 struct net_device *physoutdev ;
2336 unsigned int mask ;
2337 unsigned long data[4U] ;
2338};
2339#line 112 "include/linux/skbuff.h"
2340struct sk_buff_head {
2341 struct sk_buff *next ;
2342 struct sk_buff *prev ;
2343 __u32 qlen ;
2344 spinlock_t lock ;
2345};
2346#line 259 "include/linux/skbuff.h"
2347typedef unsigned int sk_buff_data_t;
2348#line 260
2349struct sec_path;
2350#line 260
2351struct sec_path;
2352#line 260 "include/linux/skbuff.h"
2353struct __anonstruct_ldv_21037_152 {
2354 __u16 csum_start ;
2355 __u16 csum_offset ;
2356};
2357#line 260 "include/linux/skbuff.h"
2358union __anonunion_ldv_21038_151 {
2359 __wsum csum ;
2360 struct __anonstruct_ldv_21037_152 ldv_21037 ;
2361};
2362#line 260 "include/linux/skbuff.h"
2363union __anonunion_ldv_21068_153 {
2364 __u32 mark ;
2365 __u32 dropcount ;
2366};
2367#line 260 "include/linux/skbuff.h"
2368struct sk_buff {
2369 struct sk_buff *next ;
2370 struct sk_buff *prev ;
2371 ktime_t tstamp ;
2372 struct sock *sk ;
2373 struct net_device *dev ;
2374 char cb[48U] ;
2375 unsigned long _skb_refdst ;
2376 struct sec_path *sp ;
2377 unsigned int len ;
2378 unsigned int data_len ;
2379 __u16 mac_len ;
2380 __u16 hdr_len ;
2381 union __anonunion_ldv_21038_151 ldv_21038 ;
2382 __u32 priority ;
2383 unsigned char local_df : 1 ;
2384 unsigned char cloned : 1 ;
2385 unsigned char ip_summed : 2 ;
2386 unsigned char nohdr : 1 ;
2387 unsigned char nfctinfo : 3 ;
2388 unsigned char pkt_type : 3 ;
2389 unsigned char fclone : 2 ;
2390 unsigned char ipvs_property : 1 ;
2391 unsigned char peeked : 1 ;
2392 unsigned char nf_trace : 1 ;
2393 __be16 protocol ;
2394 void (*destructor)(struct sk_buff * ) ;
2395 struct nf_conntrack *nfct ;
2396 struct sk_buff *nfct_reasm ;
2397 struct nf_bridge_info *nf_bridge ;
2398 int skb_iif ;
2399 __u16 tc_index ;
2400 __u16 tc_verd ;
2401 __u32 rxhash ;
2402 __u16 queue_mapping ;
2403 unsigned char ndisc_nodetype : 2 ;
2404 unsigned char ooo_okay : 1 ;
2405 dma_cookie_t dma_cookie ;
2406 __u32 secmark ;
2407 union __anonunion_ldv_21068_153 ldv_21068 ;
2408 __u16 vlan_tci ;
2409 sk_buff_data_t transport_header ;
2410 sk_buff_data_t network_header ;
2411 sk_buff_data_t mac_header ;
2412 sk_buff_data_t tail ;
2413 sk_buff_data_t end ;
2414 unsigned char *head ;
2415 unsigned char *data ;
2416 unsigned int truesize ;
2417 atomic_t users ;
2418};
2419#line 450
2420struct dst_entry;
2421#line 450
2422struct dst_entry;
2423#line 485
2424struct rtable;
2425#line 485
2426struct rtable;
2427#line 113 "include/linux/netlink.h"
2428struct nlattr {
2429 __u16 nla_len ;
2430 __u16 nla_type ;
2431};
2432#line 93 "include/linux/capability.h"
2433struct kernel_cap_struct {
2434 __u32 cap[2U] ;
2435};
2436#line 96 "include/linux/capability.h"
2437typedef struct kernel_cap_struct kernel_cap_t;
2438#line 104
2439struct dentry;
2440#line 104
2441struct dentry;
2442#line 105
2443struct user_namespace;
2444#line 105
2445struct user_namespace;
2446#line 39 "include/linux/if_link.h"
2447struct rtnl_link_stats64 {
2448 __u64 rx_packets ;
2449 __u64 tx_packets ;
2450 __u64 rx_bytes ;
2451 __u64 tx_bytes ;
2452 __u64 rx_errors ;
2453 __u64 tx_errors ;
2454 __u64 rx_dropped ;
2455 __u64 tx_dropped ;
2456 __u64 multicast ;
2457 __u64 collisions ;
2458 __u64 rx_length_errors ;
2459 __u64 rx_over_errors ;
2460 __u64 rx_crc_errors ;
2461 __u64 rx_frame_errors ;
2462 __u64 rx_fifo_errors ;
2463 __u64 rx_missed_errors ;
2464 __u64 tx_aborted_errors ;
2465 __u64 tx_carrier_errors ;
2466 __u64 tx_fifo_errors ;
2467 __u64 tx_heartbeat_errors ;
2468 __u64 tx_window_errors ;
2469 __u64 rx_compressed ;
2470 __u64 tx_compressed ;
2471};
2472#line 302 "include/linux/if_link.h"
2473struct ifla_vf_info {
2474 __u32 vf ;
2475 __u8 mac[32U] ;
2476 __u32 vlan ;
2477 __u32 qos ;
2478 __u32 tx_rate ;
2479};
2480#line 382 "include/linux/if_link.h"
2481struct plist_head {
2482 struct list_head node_list ;
2483 raw_spinlock_t *rawlock ;
2484 spinlock_t *spinlock ;
2485};
2486#line 88 "include/linux/plist.h"
2487struct plist_node {
2488 int prio ;
2489 struct list_head prio_list ;
2490 struct list_head node_list ;
2491};
2492#line 303
2493struct file_operations;
2494#line 303
2495struct file_operations;
2496#line 60 "include/linux/miscdevice.h"
2497struct pm_qos_request_list {
2498 struct plist_node list ;
2499 int pm_qos_class ;
2500};
2501#line 118 "include/linux/sem.h"
2502struct sem_undo_list;
2503#line 118
2504struct sem_undo_list;
2505#line 131 "include/linux/sem.h"
2506struct sem_undo_list {
2507 atomic_t refcnt ;
2508 spinlock_t lock ;
2509 struct list_head list_proc ;
2510};
2511#line 140 "include/linux/sem.h"
2512struct sysv_sem {
2513 struct sem_undo_list *undo_list ;
2514};
2515#line 152
2516struct block_device;
2517#line 152
2518struct block_device;
2519#line 89 "include/linux/kdev_t.h"
2520struct hlist_bl_node;
2521#line 89
2522struct hlist_bl_node;
2523#line 89 "include/linux/kdev_t.h"
2524struct hlist_bl_head {
2525 struct hlist_bl_node *first ;
2526};
2527#line 36 "include/linux/list_bl.h"
2528struct hlist_bl_node {
2529 struct hlist_bl_node *next ;
2530 struct hlist_bl_node **pprev ;
2531};
2532#line 114 "include/linux/rculist_bl.h"
2533struct nameidata;
2534#line 114
2535struct nameidata;
2536#line 115
2537struct path;
2538#line 115
2539struct path;
2540#line 116
2541struct vfsmount;
2542#line 116
2543struct vfsmount;
2544#line 117 "include/linux/rculist_bl.h"
2545struct qstr {
2546 unsigned int hash ;
2547 unsigned int len ;
2548 unsigned char const *name ;
2549};
2550#line 100 "include/linux/dcache.h"
2551struct dentry_operations;
2552#line 100
2553struct dentry_operations;
2554#line 100
2555struct super_block;
2556#line 100
2557struct super_block;
2558#line 100 "include/linux/dcache.h"
2559union __anonunion_d_u_155 {
2560 struct list_head d_child ;
2561 struct rcu_head d_rcu ;
2562};
2563#line 100 "include/linux/dcache.h"
2564struct dentry {
2565 unsigned int d_flags ;
2566 seqcount_t d_seq ;
2567 struct hlist_bl_node d_hash ;
2568 struct dentry *d_parent ;
2569 struct qstr d_name ;
2570 struct inode *d_inode ;
2571 unsigned char d_iname[32U] ;
2572 unsigned int d_count ;
2573 spinlock_t d_lock ;
2574 struct dentry_operations const *d_op ;
2575 struct super_block *d_sb ;
2576 unsigned long d_time ;
2577 void *d_fsdata ;
2578 struct list_head d_lru ;
2579 union __anonunion_d_u_155 d_u ;
2580 struct list_head d_subdirs ;
2581 struct list_head d_alias ;
2582};
2583#line 151 "include/linux/dcache.h"
2584struct dentry_operations {
2585 int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
2586 int (*d_hash)(struct dentry const * , struct inode const * , struct qstr * ) ;
2587 int (*d_compare)(struct dentry const * , struct inode const * , struct dentry const * ,
2588 struct inode const * , unsigned int , char const * , struct qstr const * ) ;
2589 int (*d_delete)(struct dentry const * ) ;
2590 void (*d_release)(struct dentry * ) ;
2591 void (*d_iput)(struct dentry * , struct inode * ) ;
2592 char *(*d_dname)(struct dentry * , char * , int ) ;
2593 struct vfsmount *(*d_automount)(struct path * ) ;
2594 int (*d_manage)(struct dentry * , bool ) ;
2595};
2596#line 422 "include/linux/dcache.h"
2597struct path {
2598 struct vfsmount *mnt ;
2599 struct dentry *dentry ;
2600};
2601#line 51 "include/linux/radix-tree.h"
2602struct radix_tree_node;
2603#line 51
2604struct radix_tree_node;
2605#line 51 "include/linux/radix-tree.h"
2606struct radix_tree_root {
2607 unsigned int height ;
2608 gfp_t gfp_mask ;
2609 struct radix_tree_node *rnode ;
2610};
2611#line 229
2612enum pid_type {
2613 PIDTYPE_PID = 0,
2614 PIDTYPE_PGID = 1,
2615 PIDTYPE_SID = 2,
2616 PIDTYPE_MAX = 3
2617} ;
2618#line 236
2619struct pid_namespace;
2620#line 236
2621struct pid_namespace;
2622#line 236 "include/linux/radix-tree.h"
2623struct upid {
2624 int nr ;
2625 struct pid_namespace *ns ;
2626 struct hlist_node pid_chain ;
2627};
2628#line 56 "include/linux/pid.h"
2629struct pid {
2630 atomic_t count ;
2631 unsigned int level ;
2632 struct hlist_head tasks[3U] ;
2633 struct rcu_head rcu ;
2634 struct upid numbers[1U] ;
2635};
2636#line 68 "include/linux/pid.h"
2637struct pid_link {
2638 struct hlist_node node ;
2639 struct pid *pid ;
2640};
2641#line 45 "include/linux/semaphore.h"
2642struct fiemap_extent {
2643 __u64 fe_logical ;
2644 __u64 fe_physical ;
2645 __u64 fe_length ;
2646 __u64 fe_reserved64[2U] ;
2647 __u32 fe_flags ;
2648 __u32 fe_reserved[3U] ;
2649};
2650#line 38 "include/linux/fiemap.h"
2651struct export_operations;
2652#line 38
2653struct export_operations;
2654#line 40
2655struct kstatfs;
2656#line 40
2657struct kstatfs;
2658#line 426 "include/linux/fs.h"
2659struct iattr {
2660 unsigned int ia_valid ;
2661 umode_t ia_mode ;
2662 uid_t ia_uid ;
2663 gid_t ia_gid ;
2664 loff_t ia_size ;
2665 struct timespec ia_atime ;
2666 struct timespec ia_mtime ;
2667 struct timespec ia_ctime ;
2668 struct file *ia_file ;
2669};
2670#line 119 "include/linux/quota.h"
2671struct if_dqinfo {
2672 __u64 dqi_bgrace ;
2673 __u64 dqi_igrace ;
2674 __u32 dqi_flags ;
2675 __u32 dqi_valid ;
2676};
2677#line 152 "include/linux/quota.h"
2678struct percpu_counter {
2679 spinlock_t lock ;
2680 s64 count ;
2681 struct list_head list ;
2682 s32 *counters ;
2683};
2684#line 176 "include/linux/percpu_counter.h"
2685struct fs_disk_quota {
2686 __s8 d_version ;
2687 __s8 d_flags ;
2688 __u16 d_fieldmask ;
2689 __u32 d_id ;
2690 __u64 d_blk_hardlimit ;
2691 __u64 d_blk_softlimit ;
2692 __u64 d_ino_hardlimit ;
2693 __u64 d_ino_softlimit ;
2694 __u64 d_bcount ;
2695 __u64 d_icount ;
2696 __s32 d_itimer ;
2697 __s32 d_btimer ;
2698 __u16 d_iwarns ;
2699 __u16 d_bwarns ;
2700 __s32 d_padding2 ;
2701 __u64 d_rtb_hardlimit ;
2702 __u64 d_rtb_softlimit ;
2703 __u64 d_rtbcount ;
2704 __s32 d_rtbtimer ;
2705 __u16 d_rtbwarns ;
2706 __s16 d_padding3 ;
2707 char d_padding4[8U] ;
2708};
2709#line 75 "include/linux/dqblk_xfs.h"
2710struct fs_qfilestat {
2711 __u64 qfs_ino ;
2712 __u64 qfs_nblks ;
2713 __u32 qfs_nextents ;
2714};
2715#line 150 "include/linux/dqblk_xfs.h"
2716typedef struct fs_qfilestat fs_qfilestat_t;
2717#line 151 "include/linux/dqblk_xfs.h"
2718struct fs_quota_stat {
2719 __s8 qs_version ;
2720 __u16 qs_flags ;
2721 __s8 qs_pad ;
2722 fs_qfilestat_t qs_uquota ;
2723 fs_qfilestat_t qs_gquota ;
2724 __u32 qs_incoredqs ;
2725 __s32 qs_btimelimit ;
2726 __s32 qs_itimelimit ;
2727 __s32 qs_rtbtimelimit ;
2728 __u16 qs_bwarnlimit ;
2729 __u16 qs_iwarnlimit ;
2730};
2731#line 165
2732struct dquot;
2733#line 165
2734struct dquot;
2735#line 185 "include/linux/quota.h"
2736typedef __kernel_uid32_t qid_t;
2737#line 186 "include/linux/quota.h"
2738typedef long long qsize_t;
2739#line 189 "include/linux/quota.h"
2740struct mem_dqblk {
2741 qsize_t dqb_bhardlimit ;
2742 qsize_t dqb_bsoftlimit ;
2743 qsize_t dqb_curspace ;
2744 qsize_t dqb_rsvspace ;
2745 qsize_t dqb_ihardlimit ;
2746 qsize_t dqb_isoftlimit ;
2747 qsize_t dqb_curinodes ;
2748 time_t dqb_btime ;
2749 time_t dqb_itime ;
2750};
2751#line 211
2752struct quota_format_type;
2753#line 211
2754struct quota_format_type;
2755#line 212 "include/linux/quota.h"
2756struct mem_dqinfo {
2757 struct quota_format_type *dqi_format ;
2758 int dqi_fmt_id ;
2759 struct list_head dqi_dirty_list ;
2760 unsigned long dqi_flags ;
2761 unsigned int dqi_bgrace ;
2762 unsigned int dqi_igrace ;
2763 qsize_t dqi_maxblimit ;
2764 qsize_t dqi_maxilimit ;
2765 void *dqi_priv ;
2766};
2767#line 271 "include/linux/quota.h"
2768struct dquot {
2769 struct hlist_node dq_hash ;
2770 struct list_head dq_inuse ;
2771 struct list_head dq_free ;
2772 struct list_head dq_dirty ;
2773 struct mutex dq_lock ;
2774 atomic_t dq_count ;
2775 wait_queue_head_t dq_wait_unused ;
2776 struct super_block *dq_sb ;
2777 unsigned int dq_id ;
2778 loff_t dq_off ;
2779 unsigned long dq_flags ;
2780 short dq_type ;
2781 struct mem_dqblk dq_dqb ;
2782};
2783#line 299 "include/linux/quota.h"
2784struct quota_format_ops {
2785 int (*check_quota_file)(struct super_block * , int ) ;
2786 int (*read_file_info)(struct super_block * , int ) ;
2787 int (*write_file_info)(struct super_block * , int ) ;
2788 int (*free_file_info)(struct super_block * , int ) ;
2789 int (*read_dqblk)(struct dquot * ) ;
2790 int (*commit_dqblk)(struct dquot * ) ;
2791 int (*release_dqblk)(struct dquot * ) ;
2792};
2793#line 310 "include/linux/quota.h"
2794struct dquot_operations {
2795 int (*write_dquot)(struct dquot * ) ;
2796 struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
2797 void (*destroy_dquot)(struct dquot * ) ;
2798 int (*acquire_dquot)(struct dquot * ) ;
2799 int (*release_dquot)(struct dquot * ) ;
2800 int (*mark_dirty)(struct dquot * ) ;
2801 int (*write_info)(struct super_block * , int ) ;
2802 qsize_t *(*get_reserved_space)(struct inode * ) ;
2803};
2804#line 324 "include/linux/quota.h"
2805struct quotactl_ops {
2806 int (*quota_on)(struct super_block * , int , int , struct path * ) ;
2807 int (*quota_on_meta)(struct super_block * , int , int ) ;
2808 int (*quota_off)(struct super_block * , int ) ;
2809 int (*quota_sync)(struct super_block * , int , int ) ;
2810 int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
2811 int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
2812 int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2813 int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2814 int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
2815 int (*set_xstate)(struct super_block * , unsigned int , int ) ;
2816};
2817#line 340 "include/linux/quota.h"
2818struct quota_format_type {
2819 int qf_fmt_id ;
2820 struct quota_format_ops const *qf_ops ;
2821 struct module *qf_owner ;
2822 struct quota_format_type *qf_next ;
2823};
2824#line 386 "include/linux/quota.h"
2825struct quota_info {
2826 unsigned int flags ;
2827 struct mutex dqio_mutex ;
2828 struct mutex dqonoff_mutex ;
2829 struct rw_semaphore dqptr_sem ;
2830 struct inode *files[2U] ;
2831 struct mem_dqinfo info[2U] ;
2832 struct quota_format_ops const *ops[2U] ;
2833};
2834#line 576 "include/linux/fs.h"
2835union __anonunion_arg_157 {
2836 char *buf ;
2837 void *data ;
2838};
2839#line 576 "include/linux/fs.h"
2840struct __anonstruct_read_descriptor_t_156 {
2841 size_t written ;
2842 size_t count ;
2843 union __anonunion_arg_157 arg ;
2844 int error ;
2845};
2846#line 576 "include/linux/fs.h"
2847typedef struct __anonstruct_read_descriptor_t_156 read_descriptor_t;
2848#line 579 "include/linux/fs.h"
2849struct address_space_operations {
2850 int (*writepage)(struct page * , struct writeback_control * ) ;
2851 int (*readpage)(struct file * , struct page * ) ;
2852 int (*writepages)(struct address_space * , struct writeback_control * ) ;
2853 int (*set_page_dirty)(struct page * ) ;
2854 int (*readpages)(struct file * , struct address_space * , struct list_head * ,
2855 unsigned int ) ;
2856 int (*write_begin)(struct file * , struct address_space * , loff_t , unsigned int ,
2857 unsigned int , struct page ** , void ** ) ;
2858 int (*write_end)(struct file * , struct address_space * , loff_t , unsigned int ,
2859 unsigned int , struct page * , void * ) ;
2860 sector_t (*bmap)(struct address_space * , sector_t ) ;
2861 void (*invalidatepage)(struct page * , unsigned long ) ;
2862 int (*releasepage)(struct page * , gfp_t ) ;
2863 void (*freepage)(struct page * ) ;
2864 ssize_t (*direct_IO)(int , struct kiocb * , struct iovec const * , loff_t ,
2865 unsigned long ) ;
2866 int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ;
2867 int (*migratepage)(struct address_space * , struct page * , struct page * ) ;
2868 int (*launder_page)(struct page * ) ;
2869 int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
2870 int (*error_remove_page)(struct address_space * , struct page * ) ;
2871};
2872#line 630
2873struct backing_dev_info;
2874#line 630
2875struct backing_dev_info;
2876#line 631 "include/linux/fs.h"
2877struct address_space {
2878 struct inode *host ;
2879 struct radix_tree_root page_tree ;
2880 spinlock_t tree_lock ;
2881 unsigned int i_mmap_writable ;
2882 struct prio_tree_root i_mmap ;
2883 struct list_head i_mmap_nonlinear ;
2884 struct mutex i_mmap_mutex ;
2885 unsigned long nrpages ;
2886 unsigned long writeback_index ;
2887 struct address_space_operations const *a_ops ;
2888 unsigned long flags ;
2889 struct backing_dev_info *backing_dev_info ;
2890 spinlock_t private_lock ;
2891 struct list_head private_list ;
2892 struct address_space *assoc_mapping ;
2893};
2894#line 652
2895struct hd_struct;
2896#line 652
2897struct hd_struct;
2898#line 652
2899struct gendisk;
2900#line 652
2901struct gendisk;
2902#line 652 "include/linux/fs.h"
2903struct block_device {
2904 dev_t bd_dev ;
2905 int bd_openers ;
2906 struct inode *bd_inode ;
2907 struct super_block *bd_super ;
2908 struct mutex bd_mutex ;
2909 struct list_head bd_inodes ;
2910 void *bd_claiming ;
2911 void *bd_holder ;
2912 int bd_holders ;
2913 bool bd_write_holder ;
2914 struct list_head bd_holder_disks ;
2915 struct block_device *bd_contains ;
2916 unsigned int bd_block_size ;
2917 struct hd_struct *bd_part ;
2918 unsigned int bd_part_count ;
2919 int bd_invalidated ;
2920 struct gendisk *bd_disk ;
2921 struct list_head bd_list ;
2922 unsigned long bd_private ;
2923 int bd_fsfreeze_count ;
2924 struct mutex bd_fsfreeze_mutex ;
2925};
2926#line 723
2927struct posix_acl;
2928#line 723
2929struct posix_acl;
2930#line 724
2931struct inode_operations;
2932#line 724
2933struct inode_operations;
2934#line 724 "include/linux/fs.h"
2935union __anonunion_ldv_24012_158 {
2936 struct list_head i_dentry ;
2937 struct rcu_head i_rcu ;
2938};
2939#line 724
2940struct file_lock;
2941#line 724
2942struct file_lock;
2943#line 724
2944struct cdev;
2945#line 724
2946struct cdev;
2947#line 724 "include/linux/fs.h"
2948union __anonunion_ldv_24038_159 {
2949 struct pipe_inode_info *i_pipe ;
2950 struct block_device *i_bdev ;
2951 struct cdev *i_cdev ;
2952};
2953#line 724 "include/linux/fs.h"
2954struct inode {
2955 umode_t i_mode ;
2956 uid_t i_uid ;
2957 gid_t i_gid ;
2958 struct inode_operations const *i_op ;
2959 struct super_block *i_sb ;
2960 spinlock_t i_lock ;
2961 unsigned int i_flags ;
2962 unsigned long i_state ;
2963 void *i_security ;
2964 struct mutex i_mutex ;
2965 unsigned long dirtied_when ;
2966 struct hlist_node i_hash ;
2967 struct list_head i_wb_list ;
2968 struct list_head i_lru ;
2969 struct list_head i_sb_list ;
2970 union __anonunion_ldv_24012_158 ldv_24012 ;
2971 unsigned long i_ino ;
2972 atomic_t i_count ;
2973 unsigned int i_nlink ;
2974 dev_t i_rdev ;
2975 unsigned int i_blkbits ;
2976 u64 i_version ;
2977 loff_t i_size ;
2978 struct timespec i_atime ;
2979 struct timespec i_mtime ;
2980 struct timespec i_ctime ;
2981 blkcnt_t i_blocks ;
2982 unsigned short i_bytes ;
2983 struct rw_semaphore i_alloc_sem ;
2984 struct file_operations const *i_fop ;
2985 struct file_lock *i_flock ;
2986 struct address_space *i_mapping ;
2987 struct address_space i_data ;
2988 struct dquot *i_dquot[2U] ;
2989 struct list_head i_devices ;
2990 union __anonunion_ldv_24038_159 ldv_24038 ;
2991 __u32 i_generation ;
2992 __u32 i_fsnotify_mask ;
2993 struct hlist_head i_fsnotify_marks ;
2994 atomic_t i_readcount ;
2995 atomic_t i_writecount ;
2996 struct posix_acl *i_acl ;
2997 struct posix_acl *i_default_acl ;
2998 void *i_private ;
2999};
3000#line 902 "include/linux/fs.h"
3001struct fown_struct {
3002 rwlock_t lock ;
3003 struct pid *pid ;
3004 enum pid_type pid_type ;
3005 uid_t uid ;
3006 uid_t euid ;
3007 int signum ;
3008};
3009#line 910 "include/linux/fs.h"
3010struct file_ra_state {
3011 unsigned long start ;
3012 unsigned int size ;
3013 unsigned int async_size ;
3014 unsigned int ra_pages ;
3015 unsigned int mmap_miss ;
3016 loff_t prev_pos ;
3017};
3018#line 933 "include/linux/fs.h"
3019union __anonunion_f_u_160 {
3020 struct list_head fu_list ;
3021 struct rcu_head fu_rcuhead ;
3022};
3023#line 933 "include/linux/fs.h"
3024struct file {
3025 union __anonunion_f_u_160 f_u ;
3026 struct path f_path ;
3027 struct file_operations const *f_op ;
3028 spinlock_t f_lock ;
3029 int f_sb_list_cpu ;
3030 atomic_long_t f_count ;
3031 unsigned int f_flags ;
3032 fmode_t f_mode ;
3033 loff_t f_pos ;
3034 struct fown_struct f_owner ;
3035 struct cred const *f_cred ;
3036 struct file_ra_state f_ra ;
3037 u64 f_version ;
3038 void *f_security ;
3039 void *private_data ;
3040 struct list_head f_ep_links ;
3041 struct address_space *f_mapping ;
3042 unsigned long f_mnt_write_state ;
3043};
3044#line 1064
3045struct files_struct;
3046#line 1064
3047struct files_struct;
3048#line 1064 "include/linux/fs.h"
3049typedef struct files_struct *fl_owner_t;
3050#line 1065 "include/linux/fs.h"
3051struct file_lock_operations {
3052 void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
3053 void (*fl_release_private)(struct file_lock * ) ;
3054};
3055#line 1070 "include/linux/fs.h"
3056struct lock_manager_operations {
3057 int (*fl_compare_owner)(struct file_lock * , struct file_lock * ) ;
3058 void (*fl_notify)(struct file_lock * ) ;
3059 int (*fl_grant)(struct file_lock * , struct file_lock * , int ) ;
3060 void (*fl_release_private)(struct file_lock * ) ;
3061 void (*fl_break)(struct file_lock * ) ;
3062 int (*fl_change)(struct file_lock ** , int ) ;
3063};
3064#line 163 "include/linux/nfs.h"
3065struct nlm_lockowner;
3066#line 163
3067struct nlm_lockowner;
3068#line 164 "include/linux/nfs.h"
3069struct nfs_lock_info {
3070 u32 state ;
3071 struct nlm_lockowner *owner ;
3072 struct list_head list ;
3073};
3074#line 18 "include/linux/nfs_fs_i.h"
3075struct nfs4_lock_state;
3076#line 18
3077struct nfs4_lock_state;
3078#line 19 "include/linux/nfs_fs_i.h"
3079struct nfs4_lock_info {
3080 struct nfs4_lock_state *owner ;
3081};
3082#line 23 "include/linux/nfs_fs_i.h"
3083struct __anonstruct_afs_162 {
3084 struct list_head link ;
3085 int state ;
3086};
3087#line 23 "include/linux/nfs_fs_i.h"
3088union __anonunion_fl_u_161 {
3089 struct nfs_lock_info nfs_fl ;
3090 struct nfs4_lock_info nfs4_fl ;
3091 struct __anonstruct_afs_162 afs ;
3092};
3093#line 23 "include/linux/nfs_fs_i.h"
3094struct file_lock {
3095 struct file_lock *fl_next ;
3096 struct list_head fl_link ;
3097 struct list_head fl_block ;
3098 fl_owner_t fl_owner ;
3099 unsigned char fl_flags ;
3100 unsigned char fl_type ;
3101 unsigned int fl_pid ;
3102 struct pid *fl_nspid ;
3103 wait_queue_head_t fl_wait ;
3104 struct file *fl_file ;
3105 loff_t fl_start ;
3106 loff_t fl_end ;
3107 struct fasync_struct *fl_fasync ;
3108 unsigned long fl_break_time ;
3109 struct file_lock_operations const *fl_ops ;
3110 struct lock_manager_operations const *fl_lmops ;
3111 union __anonunion_fl_u_161 fl_u ;
3112};
3113#line 1171 "include/linux/fs.h"
3114struct fasync_struct {
3115 spinlock_t fa_lock ;
3116 int magic ;
3117 int fa_fd ;
3118 struct fasync_struct *fa_next ;
3119 struct file *fa_file ;
3120 struct rcu_head fa_rcu ;
3121};
3122#line 1363
3123struct file_system_type;
3124#line 1363
3125struct file_system_type;
3126#line 1363
3127struct super_operations;
3128#line 1363
3129struct super_operations;
3130#line 1363
3131struct xattr_handler;
3132#line 1363
3133struct xattr_handler;
3134#line 1363
3135struct mtd_info;
3136#line 1363
3137struct mtd_info;
3138#line 1363 "include/linux/fs.h"
3139struct super_block {
3140 struct list_head s_list ;
3141 dev_t s_dev ;
3142 unsigned char s_dirt ;
3143 unsigned char s_blocksize_bits ;
3144 unsigned long s_blocksize ;
3145 loff_t s_maxbytes ;
3146 struct file_system_type *s_type ;
3147 struct super_operations const *s_op ;
3148 struct dquot_operations const *dq_op ;
3149 struct quotactl_ops const *s_qcop ;
3150 struct export_operations const *s_export_op ;
3151 unsigned long s_flags ;
3152 unsigned long s_magic ;
3153 struct dentry *s_root ;
3154 struct rw_semaphore s_umount ;
3155 struct mutex s_lock ;
3156 int s_count ;
3157 atomic_t s_active ;
3158 void *s_security ;
3159 struct xattr_handler const **s_xattr ;
3160 struct list_head s_inodes ;
3161 struct hlist_bl_head s_anon ;
3162 struct list_head *s_files ;
3163 struct list_head s_dentry_lru ;
3164 int s_nr_dentry_unused ;
3165 struct block_device *s_bdev ;
3166 struct backing_dev_info *s_bdi ;
3167 struct mtd_info *s_mtd ;
3168 struct list_head s_instances ;
3169 struct quota_info s_dquot ;
3170 int s_frozen ;
3171 wait_queue_head_t s_wait_unfrozen ;
3172 char s_id[32U] ;
3173 u8 s_uuid[16U] ;
3174 void *s_fs_info ;
3175 fmode_t s_mode ;
3176 u32 s_time_gran ;
3177 struct mutex s_vfs_rename_mutex ;
3178 char *s_subtype ;
3179 char *s_options ;
3180 struct dentry_operations const *s_d_op ;
3181 int cleancache_poolid ;
3182};
3183#line 1495 "include/linux/fs.h"
3184struct fiemap_extent_info {
3185 unsigned int fi_flags ;
3186 unsigned int fi_extents_mapped ;
3187 unsigned int fi_extents_max ;
3188 struct fiemap_extent *fi_extents_start ;
3189};
3190#line 1534 "include/linux/fs.h"
3191struct file_operations {
3192 struct module *owner ;
3193 loff_t (*llseek)(struct file * , loff_t , int ) ;
3194 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
3195 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
3196 ssize_t (*aio_read)(struct kiocb * , struct iovec const * , unsigned long ,
3197 loff_t ) ;
3198 ssize_t (*aio_write)(struct kiocb * , struct iovec const * , unsigned long ,
3199 loff_t ) ;
3200 int (*readdir)(struct file * , void * , int (*)(void * , char const * , int ,
3201 loff_t , u64 , unsigned int ) ) ;
3202 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
3203 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
3204 long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ;
3205 int (*mmap)(struct file * , struct vm_area_struct * ) ;
3206 int (*open)(struct inode * , struct file * ) ;
3207 int (*flush)(struct file * , fl_owner_t ) ;
3208 int (*release)(struct inode * , struct file * ) ;
3209 int (*fsync)(struct file * , int ) ;
3210 int (*aio_fsync)(struct kiocb * , int ) ;
3211 int (*fasync)(int , struct file * , int ) ;
3212 int (*lock)(struct file * , int , struct file_lock * ) ;
3213 ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * ,
3214 int ) ;
3215 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
3216 unsigned long , unsigned long ) ;
3217 int (*check_flags)(int ) ;
3218 int (*flock)(struct file * , int , struct file_lock * ) ;
3219 ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t ,
3220 unsigned int ) ;
3221 ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t ,
3222 unsigned int ) ;
3223 int (*setlease)(struct file * , long , struct file_lock ** ) ;
3224 long (*fallocate)(struct file * , int , loff_t , loff_t ) ;
3225};
3226#line 1574 "include/linux/fs.h"
3227struct inode_operations {
3228 struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
3229 void *(*follow_link)(struct dentry * , struct nameidata * ) ;
3230 int (*permission)(struct inode * , int , unsigned int ) ;
3231 int (*check_acl)(struct inode * , int , unsigned int ) ;
3232 int (*readlink)(struct dentry * , char * , int ) ;
3233 void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
3234 int (*create)(struct inode * , struct dentry * , int , struct nameidata * ) ;
3235 int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
3236 int (*unlink)(struct inode * , struct dentry * ) ;
3237 int (*symlink)(struct inode * , struct dentry * , char const * ) ;
3238 int (*mkdir)(struct inode * , struct dentry * , int ) ;
3239 int (*rmdir)(struct inode * , struct dentry * ) ;
3240 int (*mknod)(struct inode * , struct dentry * , int , dev_t ) ;
3241 int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
3242 void (*truncate)(struct inode * ) ;
3243 int (*setattr)(struct dentry * , struct iattr * ) ;
3244 int (*getattr)(struct vfsmount * , struct dentry * , struct kstat * ) ;
3245 int (*setxattr)(struct dentry * , char const * , void const * , size_t , int ) ;
3246 ssize_t (*getxattr)(struct dentry * , char const * , void * , size_t ) ;
3247 ssize_t (*listxattr)(struct dentry * , char * , size_t ) ;
3248 int (*removexattr)(struct dentry * , char const * ) ;
3249 void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
3250 int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 , u64 ) ;
3251};
3252#line 1620 "include/linux/fs.h"
3253struct super_operations {
3254 struct inode *(*alloc_inode)(struct super_block * ) ;
3255 void (*destroy_inode)(struct inode * ) ;
3256 void (*dirty_inode)(struct inode * , int ) ;
3257 int (*write_inode)(struct inode * , struct writeback_control * ) ;
3258 int (*drop_inode)(struct inode * ) ;
3259 void (*evict_inode)(struct inode * ) ;
3260 void (*put_super)(struct super_block * ) ;
3261 void (*write_super)(struct super_block * ) ;
3262 int (*sync_fs)(struct super_block * , int ) ;
3263 int (*freeze_fs)(struct super_block * ) ;
3264 int (*unfreeze_fs)(struct super_block * ) ;
3265 int (*statfs)(struct dentry * , struct kstatfs * ) ;
3266 int (*remount_fs)(struct super_block * , int * , char * ) ;
3267 void (*umount_begin)(struct super_block * ) ;
3268 int (*show_options)(struct seq_file * , struct vfsmount * ) ;
3269 int (*show_devname)(struct seq_file * , struct vfsmount * ) ;
3270 int (*show_path)(struct seq_file * , struct vfsmount * ) ;
3271 int (*show_stats)(struct seq_file * , struct vfsmount * ) ;
3272 ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ;
3273 ssize_t (*quota_write)(struct super_block * , int , char const * , size_t ,
3274 loff_t ) ;
3275 int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
3276};
3277#line 1801 "include/linux/fs.h"
3278struct file_system_type {
3279 char const *name ;
3280 int fs_flags ;
3281 struct dentry *(*mount)(struct file_system_type * , int , char const * , void * ) ;
3282 void (*kill_sb)(struct super_block * ) ;
3283 struct module *owner ;
3284 struct file_system_type *next ;
3285 struct list_head fs_supers ;
3286 struct lock_class_key s_lock_key ;
3287 struct lock_class_key s_umount_key ;
3288 struct lock_class_key s_vfs_rename_key ;
3289 struct lock_class_key i_lock_key ;
3290 struct lock_class_key i_mutex_key ;
3291 struct lock_class_key i_mutex_dir_key ;
3292 struct lock_class_key i_alloc_sem_key ;
3293};
3294#line 44 "include/linux/aio_abi.h"
3295struct io_event {
3296 __u64 data ;
3297 __u64 obj ;
3298 __s64 res ;
3299 __s64 res2 ;
3300};
3301#line 7 "include/asm-generic/cputime.h"
3302typedef unsigned long cputime_t;
3303#line 26
3304struct siginfo;
3305#line 26
3306struct siginfo;
3307#line 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
3308struct __anonstruct_sigset_t_163 {
3309 unsigned long sig[1U] ;
3310};
3311#line 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
3312typedef struct __anonstruct_sigset_t_163 sigset_t;
3313#line 17 "include/asm-generic/signal-defs.h"
3314typedef void __signalfn_t(int );
3315#line 18 "include/asm-generic/signal-defs.h"
3316typedef __signalfn_t *__sighandler_t;
3317#line 20 "include/asm-generic/signal-defs.h"
3318typedef void __restorefn_t(void);
3319#line 21 "include/asm-generic/signal-defs.h"
3320typedef __restorefn_t *__sigrestore_t;
3321#line 126 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
3322struct sigaction {
3323 __sighandler_t sa_handler ;
3324 unsigned long sa_flags ;
3325 __sigrestore_t sa_restorer ;
3326 sigset_t sa_mask ;
3327};
3328#line 173 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
3329struct k_sigaction {
3330 struct sigaction sa ;
3331};
3332#line 185 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
3333union sigval {
3334 int sival_int ;
3335 void *sival_ptr ;
3336};
3337#line 10 "include/asm-generic/siginfo.h"
3338typedef union sigval sigval_t;
3339#line 11 "include/asm-generic/siginfo.h"
3340struct __anonstruct__kill_165 {
3341 __kernel_pid_t _pid ;
3342 __kernel_uid32_t _uid ;
3343};
3344#line 11 "include/asm-generic/siginfo.h"
3345struct __anonstruct__timer_166 {
3346 __kernel_timer_t _tid ;
3347 int _overrun ;
3348 char _pad[0U] ;
3349 sigval_t _sigval ;
3350 int _sys_private ;
3351};
3352#line 11 "include/asm-generic/siginfo.h"
3353struct __anonstruct__rt_167 {
3354 __kernel_pid_t _pid ;
3355 __kernel_uid32_t _uid ;
3356 sigval_t _sigval ;
3357};
3358#line 11 "include/asm-generic/siginfo.h"
3359struct __anonstruct__sigchld_168 {
3360 __kernel_pid_t _pid ;
3361 __kernel_uid32_t _uid ;
3362 int _status ;
3363 __kernel_clock_t _utime ;
3364 __kernel_clock_t _stime ;
3365};
3366#line 11 "include/asm-generic/siginfo.h"
3367struct __anonstruct__sigfault_169 {
3368 void *_addr ;
3369 short _addr_lsb ;
3370};
3371#line 11 "include/asm-generic/siginfo.h"
3372struct __anonstruct__sigpoll_170 {
3373 long _band ;
3374 int _fd ;
3375};
3376#line 11 "include/asm-generic/siginfo.h"
3377union __anonunion__sifields_164 {
3378 int _pad[28U] ;
3379 struct __anonstruct__kill_165 _kill ;
3380 struct __anonstruct__timer_166 _timer ;
3381 struct __anonstruct__rt_167 _rt ;
3382 struct __anonstruct__sigchld_168 _sigchld ;
3383 struct __anonstruct__sigfault_169 _sigfault ;
3384 struct __anonstruct__sigpoll_170 _sigpoll ;
3385};
3386#line 11 "include/asm-generic/siginfo.h"
3387struct siginfo {
3388 int si_signo ;
3389 int si_errno ;
3390 int si_code ;
3391 union __anonunion__sifields_164 _sifields ;
3392};
3393#line 94 "include/asm-generic/siginfo.h"
3394typedef struct siginfo siginfo_t;
3395#line 24 "include/linux/signal.h"
3396struct sigpending {
3397 struct list_head list ;
3398 sigset_t signal ;
3399};
3400#line 90 "include/linux/proportions.h"
3401struct prop_local_single {
3402 unsigned long events ;
3403 unsigned long period ;
3404 int shift ;
3405 spinlock_t lock ;
3406};
3407#line 10 "include/linux/seccomp.h"
3408struct __anonstruct_seccomp_t_173 {
3409 int mode ;
3410};
3411#line 10 "include/linux/seccomp.h"
3412typedef struct __anonstruct_seccomp_t_173 seccomp_t;
3413#line 38 "include/linux/rtmutex.h"
3414struct rt_mutex_waiter;
3415#line 38
3416struct rt_mutex_waiter;
3417#line 41 "include/linux/resource.h"
3418struct rlimit {
3419 unsigned long rlim_cur ;
3420 unsigned long rlim_max ;
3421};
3422#line 85 "include/linux/resource.h"
3423struct task_io_accounting {
3424 u64 rchar ;
3425 u64 wchar ;
3426 u64 syscr ;
3427 u64 syscw ;
3428 u64 read_bytes ;
3429 u64 write_bytes ;
3430 u64 cancelled_write_bytes ;
3431};
3432#line 45 "include/linux/task_io_accounting.h"
3433struct latency_record {
3434 unsigned long backtrace[12U] ;
3435 unsigned int count ;
3436 unsigned long time ;
3437 unsigned long max ;
3438};
3439#line 29 "include/linux/key.h"
3440typedef int32_t key_serial_t;
3441#line 32 "include/linux/key.h"
3442typedef uint32_t key_perm_t;
3443#line 33
3444struct key;
3445#line 33
3446struct key;
3447#line 34
3448struct signal_struct;
3449#line 34
3450struct signal_struct;
3451#line 35
3452struct key_type;
3453#line 35
3454struct key_type;
3455#line 37
3456struct keyring_list;
3457#line 37
3458struct keyring_list;
3459#line 115
3460struct key_user;
3461#line 115
3462struct key_user;
3463#line 115 "include/linux/key.h"
3464union __anonunion_ldv_26592_174 {
3465 time_t expiry ;
3466 time_t revoked_at ;
3467};
3468#line 115 "include/linux/key.h"
3469union __anonunion_type_data_175 {
3470 struct list_head link ;
3471 unsigned long x[2U] ;
3472 void *p[2U] ;
3473 int reject_error ;
3474};
3475#line 115 "include/linux/key.h"
3476union __anonunion_payload_176 {
3477 unsigned long value ;
3478 void *rcudata ;
3479 void *data ;
3480 struct keyring_list *subscriptions ;
3481};
3482#line 115 "include/linux/key.h"
3483struct key {
3484 atomic_t usage ;
3485 key_serial_t serial ;
3486 struct rb_node serial_node ;
3487 struct key_type *type ;
3488 struct rw_semaphore sem ;
3489 struct key_user *user ;
3490 void *security ;
3491 union __anonunion_ldv_26592_174 ldv_26592 ;
3492 uid_t uid ;
3493 gid_t gid ;
3494 key_perm_t perm ;
3495 unsigned short quotalen ;
3496 unsigned short datalen ;
3497 unsigned long flags ;
3498 char *description ;
3499 union __anonunion_type_data_175 type_data ;
3500 union __anonunion_payload_176 payload ;
3501};
3502#line 310
3503struct audit_context;
3504#line 310
3505struct audit_context;
3506#line 27 "include/linux/selinux.h"
3507struct group_info {
3508 atomic_t usage ;
3509 int ngroups ;
3510 int nblocks ;
3511 gid_t small_block[32U] ;
3512 gid_t *blocks[0U] ;
3513};
3514#line 77 "include/linux/cred.h"
3515struct thread_group_cred {
3516 atomic_t usage ;
3517 pid_t tgid ;
3518 spinlock_t lock ;
3519 struct key *session_keyring ;
3520 struct key *process_keyring ;
3521 struct rcu_head rcu ;
3522};
3523#line 91 "include/linux/cred.h"
3524struct cred {
3525 atomic_t usage ;
3526 atomic_t subscribers ;
3527 void *put_addr ;
3528 unsigned int magic ;
3529 uid_t uid ;
3530 gid_t gid ;
3531 uid_t suid ;
3532 gid_t sgid ;
3533 uid_t euid ;
3534 gid_t egid ;
3535 uid_t fsuid ;
3536 gid_t fsgid ;
3537 unsigned int securebits ;
3538 kernel_cap_t cap_inheritable ;
3539 kernel_cap_t cap_permitted ;
3540 kernel_cap_t cap_effective ;
3541 kernel_cap_t cap_bset ;
3542 unsigned char jit_keyring ;
3543 struct key *thread_keyring ;
3544 struct key *request_key_auth ;
3545 struct thread_group_cred *tgcred ;
3546 void *security ;
3547 struct user_struct *user ;
3548 struct user_namespace *user_ns ;
3549 struct group_info *group_info ;
3550 struct rcu_head rcu ;
3551};
3552#line 264
3553struct futex_pi_state;
3554#line 264
3555struct futex_pi_state;
3556#line 265
3557struct robust_list_head;
3558#line 265
3559struct robust_list_head;
3560#line 266
3561struct bio_list;
3562#line 266
3563struct bio_list;
3564#line 267
3565struct fs_struct;
3566#line 267
3567struct fs_struct;
3568#line 268
3569struct perf_event_context;
3570#line 268
3571struct perf_event_context;
3572#line 269
3573struct blk_plug;
3574#line 269
3575struct blk_plug;
3576#line 149 "include/linux/sched.h"
3577struct cfs_rq;
3578#line 149
3579struct cfs_rq;
3580#line 383
3581struct kioctx;
3582#line 383
3583struct kioctx;
3584#line 384 "include/linux/sched.h"
3585union __anonunion_ki_obj_177 {
3586 void *user ;
3587 struct task_struct *tsk ;
3588};
3589#line 384
3590struct eventfd_ctx;
3591#line 384
3592struct eventfd_ctx;
3593#line 384 "include/linux/sched.h"
3594struct kiocb {
3595 struct list_head ki_run_list ;
3596 unsigned long ki_flags ;
3597 int ki_users ;
3598 unsigned int ki_key ;
3599 struct file *ki_filp ;
3600 struct kioctx *ki_ctx ;
3601 int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
3602 ssize_t (*ki_retry)(struct kiocb * ) ;
3603 void (*ki_dtor)(struct kiocb * ) ;
3604 union __anonunion_ki_obj_177 ki_obj ;
3605 __u64 ki_user_data ;
3606 loff_t ki_pos ;
3607 void *private ;
3608 unsigned short ki_opcode ;
3609 size_t ki_nbytes ;
3610 char *ki_buf ;
3611 size_t ki_left ;
3612 struct iovec ki_inline_vec ;
3613 struct iovec *ki_iovec ;
3614 unsigned long ki_nr_segs ;
3615 unsigned long ki_cur_seg ;
3616 struct list_head ki_list ;
3617 struct eventfd_ctx *ki_eventfd ;
3618};
3619#line 161 "include/linux/aio.h"
3620struct aio_ring_info {
3621 unsigned long mmap_base ;
3622 unsigned long mmap_size ;
3623 struct page **ring_pages ;
3624 spinlock_t ring_lock ;
3625 long nr_pages ;
3626 unsigned int nr ;
3627 unsigned int tail ;
3628 struct page *internal_pages[8U] ;
3629};
3630#line 177 "include/linux/aio.h"
3631struct kioctx {
3632 atomic_t users ;
3633 int dead ;
3634 struct mm_struct *mm ;
3635 unsigned long user_id ;
3636 struct hlist_node list ;
3637 wait_queue_head_t wait ;
3638 spinlock_t ctx_lock ;
3639 int reqs_active ;
3640 struct list_head active_reqs ;
3641 struct list_head run_list ;
3642 unsigned int max_reqs ;
3643 struct aio_ring_info ring_info ;
3644 struct delayed_work wq ;
3645 struct rcu_head rcu_head ;
3646};
3647#line 404 "include/linux/sched.h"
3648struct sighand_struct {
3649 atomic_t count ;
3650 struct k_sigaction action[64U] ;
3651 spinlock_t siglock ;
3652 wait_queue_head_t signalfd_wqh ;
3653};
3654#line 447 "include/linux/sched.h"
3655struct pacct_struct {
3656 int ac_flag ;
3657 long ac_exitcode ;
3658 unsigned long ac_mem ;
3659 cputime_t ac_utime ;
3660 cputime_t ac_stime ;
3661 unsigned long ac_minflt ;
3662 unsigned long ac_majflt ;
3663};
3664#line 455 "include/linux/sched.h"
3665struct cpu_itimer {
3666 cputime_t expires ;
3667 cputime_t incr ;
3668 u32 error ;
3669 u32 incr_error ;
3670};
3671#line 462 "include/linux/sched.h"
3672struct task_cputime {
3673 cputime_t utime ;
3674 cputime_t stime ;
3675 unsigned long long sum_exec_runtime ;
3676};
3677#line 479 "include/linux/sched.h"
3678struct thread_group_cputimer {
3679 struct task_cputime cputime ;
3680 int running ;
3681 spinlock_t lock ;
3682};
3683#line 515
3684struct autogroup;
3685#line 515
3686struct autogroup;
3687#line 516
3688struct tty_struct;
3689#line 516
3690struct tty_struct;
3691#line 516
3692struct taskstats;
3693#line 516
3694struct taskstats;
3695#line 516
3696struct tty_audit_buf;
3697#line 516
3698struct tty_audit_buf;
3699#line 516 "include/linux/sched.h"
3700struct signal_struct {
3701 atomic_t sigcnt ;
3702 atomic_t live ;
3703 int nr_threads ;
3704 wait_queue_head_t wait_chldexit ;
3705 struct task_struct *curr_target ;
3706 struct sigpending shared_pending ;
3707 int group_exit_code ;
3708 int notify_count ;
3709 struct task_struct *group_exit_task ;
3710 int group_stop_count ;
3711 unsigned int flags ;
3712 struct list_head posix_timers ;
3713 struct hrtimer real_timer ;
3714 struct pid *leader_pid ;
3715 ktime_t it_real_incr ;
3716 struct cpu_itimer it[2U] ;
3717 struct thread_group_cputimer cputimer ;
3718 struct task_cputime cputime_expires ;
3719 struct list_head cpu_timers[3U] ;
3720 struct pid *tty_old_pgrp ;
3721 int leader ;
3722 struct tty_struct *tty ;
3723 struct autogroup *autogroup ;
3724 cputime_t utime ;
3725 cputime_t stime ;
3726 cputime_t cutime ;
3727 cputime_t cstime ;
3728 cputime_t gtime ;
3729 cputime_t cgtime ;
3730 cputime_t prev_utime ;
3731 cputime_t prev_stime ;
3732 unsigned long nvcsw ;
3733 unsigned long nivcsw ;
3734 unsigned long cnvcsw ;
3735 unsigned long cnivcsw ;
3736 unsigned long min_flt ;
3737 unsigned long maj_flt ;
3738 unsigned long cmin_flt ;
3739 unsigned long cmaj_flt ;
3740 unsigned long inblock ;
3741 unsigned long oublock ;
3742 unsigned long cinblock ;
3743 unsigned long coublock ;
3744 unsigned long maxrss ;
3745 unsigned long cmaxrss ;
3746 struct task_io_accounting ioac ;
3747 unsigned long long sum_sched_runtime ;
3748 struct rlimit rlim[16U] ;
3749 struct pacct_struct pacct ;
3750 struct taskstats *stats ;
3751 unsigned int audit_tty ;
3752 struct tty_audit_buf *tty_audit_buf ;
3753 struct rw_semaphore threadgroup_fork_lock ;
3754 int oom_adj ;
3755 int oom_score_adj ;
3756 int oom_score_adj_min ;
3757 struct mutex cred_guard_mutex ;
3758};
3759#line 683 "include/linux/sched.h"
3760struct user_struct {
3761 atomic_t __count ;
3762 atomic_t processes ;
3763 atomic_t files ;
3764 atomic_t sigpending ;
3765 atomic_t inotify_watches ;
3766 atomic_t inotify_devs ;
3767 atomic_t fanotify_listeners ;
3768 atomic_long_t epoll_watches ;
3769 unsigned long mq_bytes ;
3770 unsigned long locked_shm ;
3771 struct key *uid_keyring ;
3772 struct key *session_keyring ;
3773 struct hlist_node uidhash_node ;
3774 uid_t uid ;
3775 struct user_namespace *user_ns ;
3776 atomic_long_t locked_vm ;
3777};
3778#line 728
3779struct reclaim_state;
3780#line 728
3781struct reclaim_state;
3782#line 729 "include/linux/sched.h"
3783struct sched_info {
3784 unsigned long pcount ;
3785 unsigned long long run_delay ;
3786 unsigned long long last_arrival ;
3787 unsigned long long last_queued ;
3788};
3789#line 744 "include/linux/sched.h"
3790struct task_delay_info {
3791 spinlock_t lock ;
3792 unsigned int flags ;
3793 struct timespec blkio_start ;
3794 struct timespec blkio_end ;
3795 u64 blkio_delay ;
3796 u64 swapin_delay ;
3797 u32 blkio_count ;
3798 u32 swapin_count ;
3799 struct timespec freepages_start ;
3800 struct timespec freepages_end ;
3801 u64 freepages_delay ;
3802 u32 freepages_count ;
3803};
3804#line 1037
3805struct io_context;
3806#line 1037
3807struct io_context;
3808#line 1060
3809struct rq;
3810#line 1060
3811struct rq;
3812#line 1061 "include/linux/sched.h"
3813struct sched_class {
3814 struct sched_class const *next ;
3815 void (*enqueue_task)(struct rq * , struct task_struct * , int ) ;
3816 void (*dequeue_task)(struct rq * , struct task_struct * , int ) ;
3817 void (*yield_task)(struct rq * ) ;
3818 bool (*yield_to_task)(struct rq * , struct task_struct * , bool ) ;
3819 void (*check_preempt_curr)(struct rq * , struct task_struct * , int ) ;
3820 struct task_struct *(*pick_next_task)(struct rq * ) ;
3821 void (*put_prev_task)(struct rq * , struct task_struct * ) ;
3822 int (*select_task_rq)(struct task_struct * , int , int ) ;
3823 void (*pre_schedule)(struct rq * , struct task_struct * ) ;
3824 void (*post_schedule)(struct rq * ) ;
3825 void (*task_waking)(struct task_struct * ) ;
3826 void (*task_woken)(struct rq * , struct task_struct * ) ;
3827 void (*set_cpus_allowed)(struct task_struct * , struct cpumask const * ) ;
3828 void (*rq_online)(struct rq * ) ;
3829 void (*rq_offline)(struct rq * ) ;
3830 void (*set_curr_task)(struct rq * ) ;
3831 void (*task_tick)(struct rq * , struct task_struct * , int ) ;
3832 void (*task_fork)(struct task_struct * ) ;
3833 void (*switched_from)(struct rq * , struct task_struct * ) ;
3834 void (*switched_to)(struct rq * , struct task_struct * ) ;
3835 void (*prio_changed)(struct rq * , struct task_struct * , int ) ;
3836 unsigned int (*get_rr_interval)(struct rq * , struct task_struct * ) ;
3837 void (*task_move_group)(struct task_struct * , int ) ;
3838};
3839#line 1127 "include/linux/sched.h"
3840struct load_weight {
3841 unsigned long weight ;
3842 unsigned long inv_weight ;
3843};
3844#line 1132 "include/linux/sched.h"
3845struct sched_statistics {
3846 u64 wait_start ;
3847 u64 wait_max ;
3848 u64 wait_count ;
3849 u64 wait_sum ;
3850 u64 iowait_count ;
3851 u64 iowait_sum ;
3852 u64 sleep_start ;
3853 u64 sleep_max ;
3854 s64 sum_sleep_runtime ;
3855 u64 block_start ;
3856 u64 block_max ;
3857 u64 exec_max ;
3858 u64 slice_max ;
3859 u64 nr_migrations_cold ;
3860 u64 nr_failed_migrations_affine ;
3861 u64 nr_failed_migrations_running ;
3862 u64 nr_failed_migrations_hot ;
3863 u64 nr_forced_migrations ;
3864 u64 nr_wakeups ;
3865 u64 nr_wakeups_sync ;
3866 u64 nr_wakeups_migrate ;
3867 u64 nr_wakeups_local ;
3868 u64 nr_wakeups_remote ;
3869 u64 nr_wakeups_affine ;
3870 u64 nr_wakeups_affine_attempts ;
3871 u64 nr_wakeups_passive ;
3872 u64 nr_wakeups_idle ;
3873};
3874#line 1167 "include/linux/sched.h"
3875struct sched_entity {
3876 struct load_weight load ;
3877 struct rb_node run_node ;
3878 struct list_head group_node ;
3879 unsigned int on_rq ;
3880 u64 exec_start ;
3881 u64 sum_exec_runtime ;
3882 u64 vruntime ;
3883 u64 prev_sum_exec_runtime ;
3884 u64 nr_migrations ;
3885 struct sched_statistics statistics ;
3886 struct sched_entity *parent ;
3887 struct cfs_rq *cfs_rq ;
3888 struct cfs_rq *my_q ;
3889};
3890#line 1193
3891struct rt_rq;
3892#line 1193
3893struct rt_rq;
3894#line 1193 "include/linux/sched.h"
3895struct sched_rt_entity {
3896 struct list_head run_list ;
3897 unsigned long timeout ;
3898 unsigned int time_slice ;
3899 int nr_cpus_allowed ;
3900 struct sched_rt_entity *back ;
3901 struct sched_rt_entity *parent ;
3902 struct rt_rq *rt_rq ;
3903 struct rt_rq *my_q ;
3904};
3905#line 1217
3906struct mem_cgroup;
3907#line 1217
3908struct mem_cgroup;
3909#line 1217 "include/linux/sched.h"
3910struct memcg_batch_info {
3911 int do_batch ;
3912 struct mem_cgroup *memcg ;
3913 unsigned long nr_pages ;
3914 unsigned long memsw_nr_pages ;
3915};
3916#line 1569
3917struct irqaction;
3918#line 1569
3919struct irqaction;
3920#line 1569
3921struct css_set;
3922#line 1569
3923struct css_set;
3924#line 1569
3925struct compat_robust_list_head;
3926#line 1569
3927struct compat_robust_list_head;
3928#line 1569
3929struct ftrace_ret_stack;
3930#line 1569
3931struct ftrace_ret_stack;
3932#line 1569 "include/linux/sched.h"
3933struct task_struct {
3934 long volatile state ;
3935 void *stack ;
3936 atomic_t usage ;
3937 unsigned int flags ;
3938 unsigned int ptrace ;
3939 struct task_struct *wake_entry ;
3940 int on_cpu ;
3941 int on_rq ;
3942 int prio ;
3943 int static_prio ;
3944 int normal_prio ;
3945 unsigned int rt_priority ;
3946 struct sched_class const *sched_class ;
3947 struct sched_entity se ;
3948 struct sched_rt_entity rt ;
3949 struct hlist_head preempt_notifiers ;
3950 unsigned char fpu_counter ;
3951 unsigned int btrace_seq ;
3952 unsigned int policy ;
3953 cpumask_t cpus_allowed ;
3954 struct sched_info sched_info ;
3955 struct list_head tasks ;
3956 struct plist_node pushable_tasks ;
3957 struct mm_struct *mm ;
3958 struct mm_struct *active_mm ;
3959 unsigned char brk_randomized : 1 ;
3960 int exit_state ;
3961 int exit_code ;
3962 int exit_signal ;
3963 int pdeath_signal ;
3964 unsigned int group_stop ;
3965 unsigned int personality ;
3966 unsigned char did_exec : 1 ;
3967 unsigned char in_execve : 1 ;
3968 unsigned char in_iowait : 1 ;
3969 unsigned char sched_reset_on_fork : 1 ;
3970 unsigned char sched_contributes_to_load : 1 ;
3971 pid_t pid ;
3972 pid_t tgid ;
3973 unsigned long stack_canary ;
3974 struct task_struct *real_parent ;
3975 struct task_struct *parent ;
3976 struct list_head children ;
3977 struct list_head sibling ;
3978 struct task_struct *group_leader ;
3979 struct list_head ptraced ;
3980 struct list_head ptrace_entry ;
3981 struct pid_link pids[3U] ;
3982 struct list_head thread_group ;
3983 struct completion *vfork_done ;
3984 int *set_child_tid ;
3985 int *clear_child_tid ;
3986 cputime_t utime ;
3987 cputime_t stime ;
3988 cputime_t utimescaled ;
3989 cputime_t stimescaled ;
3990 cputime_t gtime ;
3991 cputime_t prev_utime ;
3992 cputime_t prev_stime ;
3993 unsigned long nvcsw ;
3994 unsigned long nivcsw ;
3995 struct timespec start_time ;
3996 struct timespec real_start_time ;
3997 unsigned long min_flt ;
3998 unsigned long maj_flt ;
3999 struct task_cputime cputime_expires ;
4000 struct list_head cpu_timers[3U] ;
4001 struct cred const *real_cred ;
4002 struct cred const *cred ;
4003 struct cred *replacement_session_keyring ;
4004 char comm[16U] ;
4005 int link_count ;
4006 int total_link_count ;
4007 struct sysv_sem sysvsem ;
4008 unsigned long last_switch_count ;
4009 struct thread_struct thread ;
4010 struct fs_struct *fs ;
4011 struct files_struct *files ;
4012 struct nsproxy *nsproxy ;
4013 struct signal_struct *signal ;
4014 struct sighand_struct *sighand ;
4015 sigset_t blocked ;
4016 sigset_t real_blocked ;
4017 sigset_t saved_sigmask ;
4018 struct sigpending pending ;
4019 unsigned long sas_ss_sp ;
4020 size_t sas_ss_size ;
4021 int (*notifier)(void * ) ;
4022 void *notifier_data ;
4023 sigset_t *notifier_mask ;
4024 struct audit_context *audit_context ;
4025 uid_t loginuid ;
4026 unsigned int sessionid ;
4027 seccomp_t seccomp ;
4028 u32 parent_exec_id ;
4029 u32 self_exec_id ;
4030 spinlock_t alloc_lock ;
4031 struct irqaction *irqaction ;
4032 raw_spinlock_t pi_lock ;
4033 struct plist_head pi_waiters ;
4034 struct rt_mutex_waiter *pi_blocked_on ;
4035 struct mutex_waiter *blocked_on ;
4036 unsigned int irq_events ;
4037 unsigned long hardirq_enable_ip ;
4038 unsigned long hardirq_disable_ip ;
4039 unsigned int hardirq_enable_event ;
4040 unsigned int hardirq_disable_event ;
4041 int hardirqs_enabled ;
4042 int hardirq_context ;
4043 unsigned long softirq_disable_ip ;
4044 unsigned long softirq_enable_ip ;
4045 unsigned int softirq_disable_event ;
4046 unsigned int softirq_enable_event ;
4047 int softirqs_enabled ;
4048 int softirq_context ;
4049 u64 curr_chain_key ;
4050 int lockdep_depth ;
4051 unsigned int lockdep_recursion ;
4052 struct held_lock held_locks[48U] ;
4053 gfp_t lockdep_reclaim_gfp ;
4054 void *journal_info ;
4055 struct bio_list *bio_list ;
4056 struct blk_plug *plug ;
4057 struct reclaim_state *reclaim_state ;
4058 struct backing_dev_info *backing_dev_info ;
4059 struct io_context *io_context ;
4060 unsigned long ptrace_message ;
4061 siginfo_t *last_siginfo ;
4062 struct task_io_accounting ioac ;
4063 u64 acct_rss_mem1 ;
4064 u64 acct_vm_mem1 ;
4065 cputime_t acct_timexpd ;
4066 nodemask_t mems_allowed ;
4067 int mems_allowed_change_disable ;
4068 int cpuset_mem_spread_rotor ;
4069 int cpuset_slab_spread_rotor ;
4070 struct css_set *cgroups ;
4071 struct list_head cg_list ;
4072 struct robust_list_head *robust_list ;
4073 struct compat_robust_list_head *compat_robust_list ;
4074 struct list_head pi_state_list ;
4075 struct futex_pi_state *pi_state_cache ;
4076 struct perf_event_context *perf_event_ctxp[2U] ;
4077 struct mutex perf_event_mutex ;
4078 struct list_head perf_event_list ;
4079 struct mempolicy *mempolicy ;
4080 short il_next ;
4081 short pref_node_fork ;
4082 atomic_t fs_excl ;
4083 struct rcu_head rcu ;
4084 struct pipe_inode_info *splice_pipe ;
4085 struct task_delay_info *delays ;
4086 int make_it_fail ;
4087 struct prop_local_single dirties ;
4088 int latency_record_count ;
4089 struct latency_record latency_record[32U] ;
4090 unsigned long timer_slack_ns ;
4091 unsigned long default_timer_slack_ns ;
4092 struct list_head *scm_work_list ;
4093 int curr_ret_stack ;
4094 struct ftrace_ret_stack *ret_stack ;
4095 unsigned long long ftrace_timestamp ;
4096 atomic_t trace_overrun ;
4097 atomic_t tracing_graph_pause ;
4098 unsigned long trace ;
4099 unsigned long trace_recursion ;
4100 struct memcg_batch_info memcg_batch ;
4101 atomic_t ptrace_bp_refcnt ;
4102};
4103#line 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
4104typedef s32 compat_time_t;
4105#line 37 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
4106typedef s32 compat_long_t;
4107#line 42 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
4108struct compat_timespec {
4109 compat_time_t tv_sec ;
4110 s32 tv_nsec ;
4111};
4112#line 196 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
4113typedef u32 compat_uptr_t;
4114#line 205 "include/linux/compat.h"
4115struct compat_robust_list {
4116 compat_uptr_t next ;
4117};
4118#line 209 "include/linux/compat.h"
4119struct compat_robust_list_head {
4120 struct compat_robust_list list ;
4121 compat_long_t futex_offset ;
4122 compat_uptr_t list_op_pending ;
4123};
4124#line 563 "include/linux/compat.h"
4125struct ethtool_cmd {
4126 __u32 cmd ;
4127 __u32 supported ;
4128 __u32 advertising ;
4129 __u16 speed ;
4130 __u8 duplex ;
4131 __u8 port ;
4132 __u8 phy_address ;
4133 __u8 transceiver ;
4134 __u8 autoneg ;
4135 __u8 mdio_support ;
4136 __u32 maxtxpkt ;
4137 __u32 maxrxpkt ;
4138 __u16 speed_hi ;
4139 __u8 eth_tp_mdix ;
4140 __u8 reserved2 ;
4141 __u32 lp_advertising ;
4142 __u32 reserved[2U] ;
4143};
4144#line 61 "include/linux/ethtool.h"
4145struct ethtool_drvinfo {
4146 __u32 cmd ;
4147 char driver[32U] ;
4148 char version[32U] ;
4149 char fw_version[32U] ;
4150 char bus_info[32U] ;
4151 char reserved1[32U] ;
4152 char reserved2[12U] ;
4153 __u32 n_priv_flags ;
4154 __u32 n_stats ;
4155 __u32 testinfo_len ;
4156 __u32 eedump_len ;
4157 __u32 regdump_len ;
4158};
4159#line 87 "include/linux/ethtool.h"
4160struct ethtool_wolinfo {
4161 __u32 cmd ;
4162 __u32 supported ;
4163 __u32 wolopts ;
4164 __u8 sopass[6U] ;
4165};
4166#line 102 "include/linux/ethtool.h"
4167struct ethtool_regs {
4168 __u32 cmd ;
4169 __u32 version ;
4170 __u32 len ;
4171 __u8 data[0U] ;
4172};
4173#line 110 "include/linux/ethtool.h"
4174struct ethtool_eeprom {
4175 __u32 cmd ;
4176 __u32 magic ;
4177 __u32 offset ;
4178 __u32 len ;
4179 __u8 data[0U] ;
4180};
4181#line 119 "include/linux/ethtool.h"
4182struct ethtool_coalesce {
4183 __u32 cmd ;
4184 __u32 rx_coalesce_usecs ;
4185 __u32 rx_max_coalesced_frames ;
4186 __u32 rx_coalesce_usecs_irq ;
4187 __u32 rx_max_coalesced_frames_irq ;
4188 __u32 tx_coalesce_usecs ;
4189 __u32 tx_max_coalesced_frames ;
4190 __u32 tx_coalesce_usecs_irq ;
4191 __u32 tx_max_coalesced_frames_irq ;
4192 __u32 stats_block_coalesce_usecs ;
4193 __u32 use_adaptive_rx_coalesce ;
4194 __u32 use_adaptive_tx_coalesce ;
4195 __u32 pkt_rate_low ;
4196 __u32 rx_coalesce_usecs_low ;
4197 __u32 rx_max_coalesced_frames_low ;
4198 __u32 tx_coalesce_usecs_low ;
4199 __u32 tx_max_coalesced_frames_low ;
4200 __u32 pkt_rate_high ;
4201 __u32 rx_coalesce_usecs_high ;
4202 __u32 rx_max_coalesced_frames_high ;
4203 __u32 tx_coalesce_usecs_high ;
4204 __u32 tx_max_coalesced_frames_high ;
4205 __u32 rate_sample_interval ;
4206};
4207#line 215 "include/linux/ethtool.h"
4208struct ethtool_ringparam {
4209 __u32 cmd ;
4210 __u32 rx_max_pending ;
4211 __u32 rx_mini_max_pending ;
4212 __u32 rx_jumbo_max_pending ;
4213 __u32 tx_max_pending ;
4214 __u32 rx_pending ;
4215 __u32 rx_mini_pending ;
4216 __u32 rx_jumbo_pending ;
4217 __u32 tx_pending ;
4218};
4219#line 237 "include/linux/ethtool.h"
4220struct ethtool_channels {
4221 __u32 cmd ;
4222 __u32 max_rx ;
4223 __u32 max_tx ;
4224 __u32 max_other ;
4225 __u32 max_combined ;
4226 __u32 rx_count ;
4227 __u32 tx_count ;
4228 __u32 other_count ;
4229 __u32 combined_count ;
4230};
4231#line 265 "include/linux/ethtool.h"
4232struct ethtool_pauseparam {
4233 __u32 cmd ;
4234 __u32 autoneg ;
4235 __u32 rx_pause ;
4236 __u32 tx_pause ;
4237};
4238#line 314 "include/linux/ethtool.h"
4239struct ethtool_test {
4240 __u32 cmd ;
4241 __u32 flags ;
4242 __u32 reserved ;
4243 __u32 len ;
4244 __u64 data[0U] ;
4245};
4246#line 326 "include/linux/ethtool.h"
4247struct ethtool_stats {
4248 __u32 cmd ;
4249 __u32 n_stats ;
4250 __u64 data[0U] ;
4251};
4252#line 347 "include/linux/ethtool.h"
4253struct ethtool_tcpip4_spec {
4254 __be32 ip4src ;
4255 __be32 ip4dst ;
4256 __be16 psrc ;
4257 __be16 pdst ;
4258 __u8 tos ;
4259};
4260#line 380 "include/linux/ethtool.h"
4261struct ethtool_ah_espip4_spec {
4262 __be32 ip4src ;
4263 __be32 ip4dst ;
4264 __be32 spi ;
4265 __u8 tos ;
4266};
4267#line 396 "include/linux/ethtool.h"
4268struct ethtool_usrip4_spec {
4269 __be32 ip4src ;
4270 __be32 ip4dst ;
4271 __be32 l4_4_bytes ;
4272 __u8 tos ;
4273 __u8 ip_ver ;
4274 __u8 proto ;
4275};
4276#line 416 "include/linux/ethtool.h"
4277union ethtool_flow_union {
4278 struct ethtool_tcpip4_spec tcp_ip4_spec ;
4279 struct ethtool_tcpip4_spec udp_ip4_spec ;
4280 struct ethtool_tcpip4_spec sctp_ip4_spec ;
4281 struct ethtool_ah_espip4_spec ah_ip4_spec ;
4282 struct ethtool_ah_espip4_spec esp_ip4_spec ;
4283 struct ethtool_usrip4_spec usr_ip4_spec ;
4284 struct ethhdr ether_spec ;
4285 __u8 hdata[60U] ;
4286};
4287#line 427 "include/linux/ethtool.h"
4288struct ethtool_flow_ext {
4289 __be16 vlan_etype ;
4290 __be16 vlan_tci ;
4291 __be32 data[2U] ;
4292};
4293#line 433 "include/linux/ethtool.h"
4294struct ethtool_rx_flow_spec {
4295 __u32 flow_type ;
4296 union ethtool_flow_union h_u ;
4297 struct ethtool_flow_ext h_ext ;
4298 union ethtool_flow_union m_u ;
4299 struct ethtool_flow_ext m_ext ;
4300 __u64 ring_cookie ;
4301 __u32 location ;
4302};
4303#line 456 "include/linux/ethtool.h"
4304struct ethtool_rxnfc {
4305 __u32 cmd ;
4306 __u32 flow_type ;
4307 __u64 data ;
4308 struct ethtool_rx_flow_spec fs ;
4309 __u32 rule_cnt ;
4310 __u32 rule_locs[0U] ;
4311};
4312#line 526 "include/linux/ethtool.h"
4313struct ethtool_rxfh_indir {
4314 __u32 cmd ;
4315 __u32 size ;
4316 __u32 ring_index[0U] ;
4317};
4318#line 542 "include/linux/ethtool.h"
4319union __anonunion_h_u_184 {
4320 struct ethtool_tcpip4_spec tcp_ip4_spec ;
4321 struct ethtool_tcpip4_spec udp_ip4_spec ;
4322 struct ethtool_tcpip4_spec sctp_ip4_spec ;
4323 struct ethtool_ah_espip4_spec ah_ip4_spec ;
4324 struct ethtool_ah_espip4_spec esp_ip4_spec ;
4325 struct ethtool_usrip4_spec usr_ip4_spec ;
4326 struct ethhdr ether_spec ;
4327 __u8 hdata[72U] ;
4328};
4329#line 542 "include/linux/ethtool.h"
4330union __anonunion_m_u_185 {
4331 struct ethtool_tcpip4_spec tcp_ip4_spec ;
4332 struct ethtool_tcpip4_spec udp_ip4_spec ;
4333 struct ethtool_tcpip4_spec sctp_ip4_spec ;
4334 struct ethtool_ah_espip4_spec ah_ip4_spec ;
4335 struct ethtool_ah_espip4_spec esp_ip4_spec ;
4336 struct ethtool_usrip4_spec usr_ip4_spec ;
4337 struct ethhdr ether_spec ;
4338 __u8 hdata[72U] ;
4339};
4340#line 542 "include/linux/ethtool.h"
4341struct ethtool_rx_ntuple_flow_spec {
4342 __u32 flow_type ;
4343 union __anonunion_h_u_184 h_u ;
4344 union __anonunion_m_u_185 m_u ;
4345 __u16 vlan_tag ;
4346 __u16 vlan_tag_mask ;
4347 __u64 data ;
4348 __u64 data_mask ;
4349 __s32 action ;
4350};
4351#line 579 "include/linux/ethtool.h"
4352struct ethtool_rx_ntuple {
4353 __u32 cmd ;
4354 struct ethtool_rx_ntuple_flow_spec fs ;
4355};
4356#line 595 "include/linux/ethtool.h"
4357struct ethtool_flash {
4358 __u32 cmd ;
4359 __u32 region ;
4360 char data[128U] ;
4361};
4362#line 603 "include/linux/ethtool.h"
4363struct ethtool_dump {
4364 __u32 cmd ;
4365 __u32 version ;
4366 __u32 flag ;
4367 __u32 len ;
4368 __u8 data[0U] ;
4369};
4370#line 721 "include/linux/ethtool.h"
4371struct ethtool_rx_ntuple_list {
4372 struct list_head list ;
4373 unsigned int count ;
4374};
4375#line 728
4376enum ethtool_phys_id_state {
4377 ETHTOOL_ID_INACTIVE = 0,
4378 ETHTOOL_ID_ACTIVE = 1,
4379 ETHTOOL_ID_ON = 2,
4380 ETHTOOL_ID_OFF = 3
4381} ;
4382#line 763 "include/linux/ethtool.h"
4383struct ethtool_ops {
4384 int (*get_settings)(struct net_device * , struct ethtool_cmd * ) ;
4385 int (*set_settings)(struct net_device * , struct ethtool_cmd * ) ;
4386 void (*get_drvinfo)(struct net_device * , struct ethtool_drvinfo * ) ;
4387 int (*get_regs_len)(struct net_device * ) ;
4388 void (*get_regs)(struct net_device * , struct ethtool_regs * , void * ) ;
4389 void (*get_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4390 int (*set_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4391 u32 (*get_msglevel)(struct net_device * ) ;
4392 void (*set_msglevel)(struct net_device * , u32 ) ;
4393 int (*nway_reset)(struct net_device * ) ;
4394 u32 (*get_link)(struct net_device * ) ;
4395 int (*get_eeprom_len)(struct net_device * ) ;
4396 int (*get_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4397 int (*set_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4398 int (*get_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4399 int (*set_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4400 void (*get_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4401 int (*set_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4402 void (*get_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4403 int (*set_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4404 u32 (*get_rx_csum)(struct net_device * ) ;
4405 int (*set_rx_csum)(struct net_device * , u32 ) ;
4406 u32 (*get_tx_csum)(struct net_device * ) ;
4407 int (*set_tx_csum)(struct net_device * , u32 ) ;
4408 u32 (*get_sg)(struct net_device * ) ;
4409 int (*set_sg)(struct net_device * , u32 ) ;
4410 u32 (*get_tso)(struct net_device * ) ;
4411 int (*set_tso)(struct net_device * , u32 ) ;
4412 void (*self_test)(struct net_device * , struct ethtool_test * , u64 * ) ;
4413 void (*get_strings)(struct net_device * , u32 , u8 * ) ;
4414 int (*set_phys_id)(struct net_device * , enum ethtool_phys_id_state ) ;
4415 void (*get_ethtool_stats)(struct net_device * , struct ethtool_stats * , u64 * ) ;
4416 int (*begin)(struct net_device * ) ;
4417 void (*complete)(struct net_device * ) ;
4418 u32 (*get_ufo)(struct net_device * ) ;
4419 int (*set_ufo)(struct net_device * , u32 ) ;
4420 u32 (*get_flags)(struct net_device * ) ;
4421 int (*set_flags)(struct net_device * , u32 ) ;
4422 u32 (*get_priv_flags)(struct net_device * ) ;
4423 int (*set_priv_flags)(struct net_device * , u32 ) ;
4424 int (*get_sset_count)(struct net_device * , int ) ;
4425 int (*get_rxnfc)(struct net_device * , struct ethtool_rxnfc * , void * ) ;
4426 int (*set_rxnfc)(struct net_device * , struct ethtool_rxnfc * ) ;
4427 int (*flash_device)(struct net_device * , struct ethtool_flash * ) ;
4428 int (*reset)(struct net_device * , u32 * ) ;
4429 int (*set_rx_ntuple)(struct net_device * , struct ethtool_rx_ntuple * ) ;
4430 int (*get_rx_ntuple)(struct net_device * , u32 , void * ) ;
4431 int (*get_rxfh_indir)(struct net_device * , struct ethtool_rxfh_indir * ) ;
4432 int (*set_rxfh_indir)(struct net_device * , struct ethtool_rxfh_indir const * ) ;
4433 void (*get_channels)(struct net_device * , struct ethtool_channels * ) ;
4434 int (*set_channels)(struct net_device * , struct ethtool_channels * ) ;
4435 int (*get_dump_flag)(struct net_device * , struct ethtool_dump * ) ;
4436 int (*get_dump_data)(struct net_device * , struct ethtool_dump * , void * ) ;
4437 int (*set_dump)(struct net_device * , struct ethtool_dump * ) ;
4438};
4439#line 972
4440struct prot_inuse;
4441#line 972
4442struct prot_inuse;
4443#line 973 "include/linux/ethtool.h"
4444struct netns_core {
4445 struct ctl_table_header *sysctl_hdr ;
4446 int sysctl_somaxconn ;
4447 struct prot_inuse *inuse ;
4448};
4449#line 38 "include/net/snmp.h"
4450struct u64_stats_sync {
4451
4452};
4453#line 138 "include/linux/u64_stats_sync.h"
4454struct ipstats_mib {
4455 u64 mibs[31U] ;
4456 struct u64_stats_sync syncp ;
4457};
4458#line 61 "include/net/snmp.h"
4459struct icmp_mib {
4460 unsigned long mibs[27U] ;
4461};
4462#line 67 "include/net/snmp.h"
4463struct icmpmsg_mib {
4464 unsigned long mibs[512U] ;
4465};
4466#line 72 "include/net/snmp.h"
4467struct icmpv6_mib {
4468 unsigned long mibs[5U] ;
4469};
4470#line 83 "include/net/snmp.h"
4471struct icmpv6msg_mib {
4472 unsigned long mibs[512U] ;
4473};
4474#line 93 "include/net/snmp.h"
4475struct tcp_mib {
4476 unsigned long mibs[15U] ;
4477};
4478#line 100 "include/net/snmp.h"
4479struct udp_mib {
4480 unsigned long mibs[7U] ;
4481};
4482#line 106 "include/net/snmp.h"
4483struct linux_mib {
4484 unsigned long mibs[80U] ;
4485};
4486#line 112 "include/net/snmp.h"
4487struct linux_xfrm_mib {
4488 unsigned long mibs[27U] ;
4489};
4490#line 118 "include/net/snmp.h"
4491struct netns_mib {
4492 struct tcp_mib *tcp_statistics[2U] ;
4493 struct ipstats_mib *ip_statistics[2U] ;
4494 struct linux_mib *net_statistics[2U] ;
4495 struct udp_mib *udp_statistics[2U] ;
4496 struct udp_mib *udplite_statistics[2U] ;
4497 struct icmp_mib *icmp_statistics[2U] ;
4498 struct icmpmsg_mib *icmpmsg_statistics[2U] ;
4499 struct proc_dir_entry *proc_net_devsnmp6 ;
4500 struct udp_mib *udp_stats_in6[2U] ;
4501 struct udp_mib *udplite_stats_in6[2U] ;
4502 struct ipstats_mib *ipv6_statistics[2U] ;
4503 struct icmpv6_mib *icmpv6_statistics[2U] ;
4504 struct icmpv6msg_mib *icmpv6msg_statistics[2U] ;
4505 struct linux_xfrm_mib *xfrm_statistics[2U] ;
4506};
4507#line 26 "include/net/netns/mib.h"
4508struct netns_unix {
4509 int sysctl_max_dgram_qlen ;
4510 struct ctl_table_header *ctl ;
4511};
4512#line 12 "include/net/netns/unix.h"
4513struct netns_packet {
4514 spinlock_t sklist_lock ;
4515 struct hlist_head sklist ;
4516};
4517#line 14 "include/net/netns/packet.h"
4518struct netns_frags {
4519 int nqueues ;
4520 atomic_t mem ;
4521 struct list_head lru_list ;
4522 int timeout ;
4523 int high_thresh ;
4524 int low_thresh ;
4525};
4526#line 73 "include/net/inet_frag.h"
4527struct ipv4_devconf;
4528#line 73
4529struct ipv4_devconf;
4530#line 74
4531struct fib_rules_ops;
4532#line 74
4533struct fib_rules_ops;
4534#line 75
4535struct xt_table;
4536#line 75
4537struct xt_table;
4538#line 75 "include/net/inet_frag.h"
4539struct netns_ipv4 {
4540 struct ctl_table_header *forw_hdr ;
4541 struct ctl_table_header *frags_hdr ;
4542 struct ctl_table_header *ipv4_hdr ;
4543 struct ctl_table_header *route_hdr ;
4544 struct ipv4_devconf *devconf_all ;
4545 struct ipv4_devconf *devconf_dflt ;
4546 struct fib_rules_ops *rules_ops ;
4547 struct hlist_head *fib_table_hash ;
4548 struct sock *fibnl ;
4549 struct sock **icmp_sk ;
4550 struct sock *tcp_sock ;
4551 struct netns_frags frags ;
4552 struct xt_table *iptable_filter ;
4553 struct xt_table *iptable_mangle ;
4554 struct xt_table *iptable_raw ;
4555 struct xt_table *arptable_filter ;
4556 struct xt_table *iptable_security ;
4557 struct xt_table *nat_table ;
4558 struct hlist_head *nat_bysource ;
4559 unsigned int nat_htable_size ;
4560 int sysctl_icmp_echo_ignore_all ;
4561 int sysctl_icmp_echo_ignore_broadcasts ;
4562 int sysctl_icmp_ignore_bogus_error_responses ;
4563 int sysctl_icmp_ratelimit ;
4564 int sysctl_icmp_ratemask ;
4565 int sysctl_icmp_errors_use_inbound_ifaddr ;
4566 int sysctl_rt_cache_rebuild_count ;
4567 int current_rt_cache_rebuild_count ;
4568 unsigned int sysctl_ping_group_range[2U] ;
4569 atomic_t rt_genid ;
4570 atomic_t dev_addr_genid ;
4571 struct list_head mr_tables ;
4572 struct fib_rules_ops *mr_rules_ops ;
4573};
4574#line 70 "include/net/netns/ipv4.h"
4575struct dst_ops {
4576 unsigned short family ;
4577 __be16 protocol ;
4578 unsigned int gc_thresh ;
4579 int (*gc)(struct dst_ops * ) ;
4580 struct dst_entry *(*check)(struct dst_entry * , __u32 ) ;
4581 unsigned int (*default_advmss)(struct dst_entry const * ) ;
4582 unsigned int (*default_mtu)(struct dst_entry const * ) ;
4583 u32 *(*cow_metrics)(struct dst_entry * , unsigned long ) ;
4584 void (*destroy)(struct dst_entry * ) ;
4585 void (*ifdown)(struct dst_entry * , struct net_device * , int ) ;
4586 struct dst_entry *(*negative_advice)(struct dst_entry * ) ;
4587 void (*link_failure)(struct sk_buff * ) ;
4588 void (*update_pmtu)(struct dst_entry * , u32 ) ;
4589 int (*local_out)(struct sk_buff * ) ;
4590 struct kmem_cache *kmem_cachep ;
4591 struct percpu_counter pcpuc_entries ;
4592};
4593#line 66 "include/net/dst_ops.h"
4594struct netns_sysctl_ipv6 {
4595 struct ctl_table_header *table ;
4596 struct ctl_table_header *frags_hdr ;
4597 int bindv6only ;
4598 int flush_delay ;
4599 int ip6_rt_max_size ;
4600 int ip6_rt_gc_min_interval ;
4601 int ip6_rt_gc_timeout ;
4602 int ip6_rt_gc_interval ;
4603 int ip6_rt_gc_elasticity ;
4604 int ip6_rt_mtu_expires ;
4605 int ip6_rt_min_advmss ;
4606 int icmpv6_time ;
4607};
4608#line 29 "include/net/netns/ipv6.h"
4609struct ipv6_devconf;
4610#line 29
4611struct ipv6_devconf;
4612#line 29
4613struct rt6_info;
4614#line 29
4615struct rt6_info;
4616#line 29
4617struct rt6_statistics;
4618#line 29
4619struct rt6_statistics;
4620#line 29
4621struct fib6_table;
4622#line 29
4623struct fib6_table;
4624#line 29 "include/net/netns/ipv6.h"
4625struct netns_ipv6 {
4626 struct netns_sysctl_ipv6 sysctl ;
4627 struct ipv6_devconf *devconf_all ;
4628 struct ipv6_devconf *devconf_dflt ;
4629 struct netns_frags frags ;
4630 struct xt_table *ip6table_filter ;
4631 struct xt_table *ip6table_mangle ;
4632 struct xt_table *ip6table_raw ;
4633 struct xt_table *ip6table_security ;
4634 struct rt6_info *ip6_null_entry ;
4635 struct rt6_statistics *rt6_stats ;
4636 struct timer_list ip6_fib_timer ;
4637 struct hlist_head *fib_table_hash ;
4638 struct fib6_table *fib6_main_tbl ;
4639 struct dst_ops ip6_dst_ops ;
4640 unsigned int ip6_rt_gc_expire ;
4641 unsigned long ip6_rt_last_gc ;
4642 struct rt6_info *ip6_prohibit_entry ;
4643 struct rt6_info *ip6_blk_hole_entry ;
4644 struct fib6_table *fib6_local_tbl ;
4645 struct fib_rules_ops *fib6_rules_ops ;
4646 struct sock **icmp_sk ;
4647 struct sock *ndisc_sk ;
4648 struct sock *tcp_sk ;
4649 struct sock *igmp_sk ;
4650 struct list_head mr6_tables ;
4651 struct fib_rules_ops *mr6_rules_ops ;
4652};
4653#line 68 "include/net/netns/ipv6.h"
4654struct netns_dccp {
4655 struct sock *v4_ctl_sk ;
4656 struct sock *v6_ctl_sk ;
4657};
4658#line 46 "include/linux/proc_fs.h"
4659typedef int read_proc_t(char * , char ** , off_t , int , int * , void * );
4660#line 48 "include/linux/proc_fs.h"
4661typedef int write_proc_t(struct file * , char const * , unsigned long , void * );
4662#line 49 "include/linux/proc_fs.h"
4663struct proc_dir_entry {
4664 unsigned int low_ino ;
4665 unsigned int namelen ;
4666 char const *name ;
4667 mode_t mode ;
4668 nlink_t nlink ;
4669 uid_t uid ;
4670 gid_t gid ;
4671 loff_t size ;
4672 struct inode_operations const *proc_iops ;
4673 struct file_operations const *proc_fops ;
4674 struct proc_dir_entry *next ;
4675 struct proc_dir_entry *parent ;
4676 struct proc_dir_entry *subdir ;
4677 void *data ;
4678 read_proc_t *read_proc ;
4679 write_proc_t *write_proc ;
4680 atomic_t count ;
4681 int pde_users ;
4682 spinlock_t pde_unload_lock ;
4683 struct completion *pde_unload_completion ;
4684 struct list_head pde_openers ;
4685};
4686#line 376 "include/linux/netfilter.h"
4687struct ebt_table;
4688#line 376
4689struct ebt_table;
4690#line 377 "include/linux/netfilter.h"
4691struct netns_xt {
4692 struct list_head tables[13U] ;
4693 struct ebt_table *broute_table ;
4694 struct ebt_table *frame_filter ;
4695 struct ebt_table *frame_nat ;
4696};
4697#line 17 "include/net/netns/x_tables.h"
4698struct hlist_nulls_node;
4699#line 17
4700struct hlist_nulls_node;
4701#line 17 "include/net/netns/x_tables.h"
4702struct hlist_nulls_head {
4703 struct hlist_nulls_node *first ;
4704};
4705#line 20 "include/linux/list_nulls.h"
4706struct hlist_nulls_node {
4707 struct hlist_nulls_node *next ;
4708 struct hlist_nulls_node **pprev ;
4709};
4710#line 86
4711struct ip_conntrack_stat;
4712#line 86
4713struct ip_conntrack_stat;
4714#line 86 "include/linux/list_nulls.h"
4715struct netns_ct {
4716 atomic_t count ;
4717 unsigned int expect_count ;
4718 unsigned int htable_size ;
4719 struct kmem_cache *nf_conntrack_cachep ;
4720 struct hlist_nulls_head *hash ;
4721 struct hlist_head *expect_hash ;
4722 struct hlist_nulls_head unconfirmed ;
4723 struct hlist_nulls_head dying ;
4724 struct ip_conntrack_stat *stat ;
4725 int sysctl_events ;
4726 unsigned int sysctl_events_retry_timeout ;
4727 int sysctl_acct ;
4728 int sysctl_tstamp ;
4729 int sysctl_checksum ;
4730 unsigned int sysctl_log_invalid ;
4731 struct ctl_table_header *sysctl_header ;
4732 struct ctl_table_header *acct_sysctl_header ;
4733 struct ctl_table_header *tstamp_sysctl_header ;
4734 struct ctl_table_header *event_sysctl_header ;
4735 char *slabname ;
4736};
4737#line 484 "include/linux/xfrm.h"
4738struct xfrm_policy_hash {
4739 struct hlist_head *table ;
4740 unsigned int hmask ;
4741};
4742#line 16 "include/net/netns/xfrm.h"
4743struct netns_xfrm {
4744 struct list_head state_all ;
4745 struct hlist_head *state_bydst ;
4746 struct hlist_head *state_bysrc ;
4747 struct hlist_head *state_byspi ;
4748 unsigned int state_hmask ;
4749 unsigned int state_num ;
4750 struct work_struct state_hash_work ;
4751 struct hlist_head state_gc_list ;
4752 struct work_struct state_gc_work ;
4753 wait_queue_head_t km_waitq ;
4754 struct list_head policy_all ;
4755 struct hlist_head *policy_byidx ;
4756 unsigned int policy_idx_hmask ;
4757 struct hlist_head policy_inexact[6U] ;
4758 struct xfrm_policy_hash policy_bydst[6U] ;
4759 unsigned int policy_count[6U] ;
4760 struct work_struct policy_hash_work ;
4761 struct sock *nlsk ;
4762 struct sock *nlsk_stash ;
4763 u32 sysctl_aevent_etime ;
4764 u32 sysctl_aevent_rseqth ;
4765 int sysctl_larval_drop ;
4766 u32 sysctl_acq_expires ;
4767 struct ctl_table_header *sysctl_hdr ;
4768 struct dst_ops xfrm4_dst_ops ;
4769 struct dst_ops xfrm6_dst_ops ;
4770};
4771#line 62
4772struct net_generic;
4773#line 62
4774struct net_generic;
4775#line 63
4776struct netns_ipvs;
4777#line 63
4778struct netns_ipvs;
4779#line 64 "include/net/netns/xfrm.h"
4780struct net {
4781 atomic_t passive ;
4782 atomic_t count ;
4783 spinlock_t rules_mod_lock ;
4784 struct list_head list ;
4785 struct list_head cleanup_list ;
4786 struct list_head exit_list ;
4787 struct proc_dir_entry *proc_net ;
4788 struct proc_dir_entry *proc_net_stat ;
4789 struct ctl_table_set sysctls ;
4790 struct sock *rtnl ;
4791 struct sock *genl_sock ;
4792 struct list_head dev_base_head ;
4793 struct hlist_head *dev_name_head ;
4794 struct hlist_head *dev_index_head ;
4795 struct list_head rules_ops ;
4796 struct net_device *loopback_dev ;
4797 struct netns_core core ;
4798 struct netns_mib mib ;
4799 struct netns_packet packet ;
4800 struct netns_unix unx ;
4801 struct netns_ipv4 ipv4 ;
4802 struct netns_ipv6 ipv6 ;
4803 struct netns_dccp dccp ;
4804 struct netns_xt xt ;
4805 struct netns_ct ct ;
4806 struct sock *nfnl ;
4807 struct sock *nfnl_stash ;
4808 struct sk_buff_head wext_nlevents ;
4809 struct net_generic *gen ;
4810 struct netns_xfrm xfrm ;
4811 struct netns_ipvs *ipvs ;
4812};
4813#line 104 "include/net/net_namespace.h"
4814struct seq_file {
4815 char *buf ;
4816 size_t size ;
4817 size_t from ;
4818 size_t count ;
4819 loff_t index ;
4820 loff_t read_pos ;
4821 u64 version ;
4822 struct mutex lock ;
4823 struct seq_operations const *op ;
4824 void *private ;
4825};
4826#line 28 "include/linux/seq_file.h"
4827struct seq_operations {
4828 void *(*start)(struct seq_file * , loff_t * ) ;
4829 void (*stop)(struct seq_file * , void * ) ;
4830 void *(*next)(struct seq_file * , void * , loff_t * ) ;
4831 int (*show)(struct seq_file * , void * ) ;
4832};
4833#line 59 "include/net/dsa.h"
4834struct ieee_ets {
4835 __u8 willing ;
4836 __u8 ets_cap ;
4837 __u8 cbs ;
4838 __u8 tc_tx_bw[8U] ;
4839 __u8 tc_rx_bw[8U] ;
4840 __u8 tc_tsa[8U] ;
4841 __u8 prio_tc[8U] ;
4842 __u8 tc_reco_bw[8U] ;
4843 __u8 tc_reco_tsa[8U] ;
4844 __u8 reco_prio_tc[8U] ;
4845};
4846#line 69 "include/linux/dcbnl.h"
4847struct ieee_pfc {
4848 __u8 pfc_cap ;
4849 __u8 pfc_en ;
4850 __u8 mbc ;
4851 __u16 delay ;
4852 __u64 requests[8U] ;
4853 __u64 indications[8U] ;
4854};
4855#line 89 "include/linux/dcbnl.h"
4856struct cee_pg {
4857 __u8 willing ;
4858 __u8 error ;
4859 __u8 pg_en ;
4860 __u8 tcs_supported ;
4861 __u8 pg_bw[8U] ;
4862 __u8 prio_pg[8U] ;
4863};
4864#line 112 "include/linux/dcbnl.h"
4865struct cee_pfc {
4866 __u8 willing ;
4867 __u8 error ;
4868 __u8 pfc_en ;
4869 __u8 tcs_supported ;
4870};
4871#line 127 "include/linux/dcbnl.h"
4872struct dcb_app {
4873 __u8 selector ;
4874 __u8 priority ;
4875 __u16 protocol ;
4876};
4877#line 156 "include/linux/dcbnl.h"
4878struct dcb_peer_app_info {
4879 __u8 willing ;
4880 __u8 error ;
4881};
4882#line 33 "include/net/dcbnl.h"
4883struct dcbnl_rtnl_ops {
4884 int (*ieee_getets)(struct net_device * , struct ieee_ets * ) ;
4885 int (*ieee_setets)(struct net_device * , struct ieee_ets * ) ;
4886 int (*ieee_getpfc)(struct net_device * , struct ieee_pfc * ) ;
4887 int (*ieee_setpfc)(struct net_device * , struct ieee_pfc * ) ;
4888 int (*ieee_getapp)(struct net_device * , struct dcb_app * ) ;
4889 int (*ieee_setapp)(struct net_device * , struct dcb_app * ) ;
4890 int (*ieee_peer_getets)(struct net_device * , struct ieee_ets * ) ;
4891 int (*ieee_peer_getpfc)(struct net_device * , struct ieee_pfc * ) ;
4892 u8 (*getstate)(struct net_device * ) ;
4893 u8 (*setstate)(struct net_device * , u8 ) ;
4894 void (*getpermhwaddr)(struct net_device * , u8 * ) ;
4895 void (*setpgtccfgtx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
4896 void (*setpgbwgcfgtx)(struct net_device * , int , u8 ) ;
4897 void (*setpgtccfgrx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
4898 void (*setpgbwgcfgrx)(struct net_device * , int , u8 ) ;
4899 void (*getpgtccfgtx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
4900 void (*getpgbwgcfgtx)(struct net_device * , int , u8 * ) ;
4901 void (*getpgtccfgrx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
4902 void (*getpgbwgcfgrx)(struct net_device * , int , u8 * ) ;
4903 void (*setpfccfg)(struct net_device * , int , u8 ) ;
4904 void (*getpfccfg)(struct net_device * , int , u8 * ) ;
4905 u8 (*setall)(struct net_device * ) ;
4906 u8 (*getcap)(struct net_device * , int , u8 * ) ;
4907 u8 (*getnumtcs)(struct net_device * , int , u8 * ) ;
4908 u8 (*setnumtcs)(struct net_device * , int , u8 ) ;
4909 u8 (*getpfcstate)(struct net_device * ) ;
4910 void (*setpfcstate)(struct net_device * , u8 ) ;
4911 void (*getbcncfg)(struct net_device * , int , u32 * ) ;
4912 void (*setbcncfg)(struct net_device * , int , u32 ) ;
4913 void (*getbcnrp)(struct net_device * , int , u8 * ) ;
4914 void (*setbcnrp)(struct net_device * , int , u8 ) ;
4915 u8 (*setapp)(struct net_device * , u8 , u16 , u8 ) ;
4916 u8 (*getapp)(struct net_device * , u8 , u16 ) ;
4917 u8 (*getfeatcfg)(struct net_device * , int , u8 * ) ;
4918 u8 (*setfeatcfg)(struct net_device * , int , u8 ) ;
4919 u8 (*getdcbx)(struct net_device * ) ;
4920 u8 (*setdcbx)(struct net_device * , u8 ) ;
4921 int (*peer_getappinfo)(struct net_device * , struct dcb_peer_app_info * , u16 * ) ;
4922 int (*peer_getapptable)(struct net_device * , struct dcb_app * ) ;
4923 int (*cee_peer_getpg)(struct net_device * , struct cee_pg * ) ;
4924 int (*cee_peer_getpfc)(struct net_device * , struct cee_pfc * ) ;
4925};
4926#line 91
4927struct vlan_group;
4928#line 91
4929struct vlan_group;
4930#line 92
4931struct netpoll_info;
4932#line 92
4933struct netpoll_info;
4934#line 93
4935struct phy_device;
4936#line 93
4937struct phy_device;
4938#line 94
4939struct wireless_dev;
4940#line 94
4941struct wireless_dev;
4942#line 95
4943enum netdev_tx {
4944 __NETDEV_TX_MIN = (-0x7FFFFFFF-1),
4945 NETDEV_TX_OK = 0,
4946 NETDEV_TX_BUSY = 16,
4947 NETDEV_TX_LOCKED = 32
4948} ;
4949#line 117 "include/linux/netdevice.h"
4950typedef enum netdev_tx netdev_tx_t;
4951#line 136 "include/linux/netdevice.h"
4952struct net_device_stats {
4953 unsigned long rx_packets ;
4954 unsigned long tx_packets ;
4955 unsigned long rx_bytes ;
4956 unsigned long tx_bytes ;
4957 unsigned long rx_errors ;
4958 unsigned long tx_errors ;
4959 unsigned long rx_dropped ;
4960 unsigned long tx_dropped ;
4961 unsigned long multicast ;
4962 unsigned long collisions ;
4963 unsigned long rx_length_errors ;
4964 unsigned long rx_over_errors ;
4965 unsigned long rx_crc_errors ;
4966 unsigned long rx_frame_errors ;
4967 unsigned long rx_fifo_errors ;
4968 unsigned long rx_missed_errors ;
4969 unsigned long tx_aborted_errors ;
4970 unsigned long tx_carrier_errors ;
4971 unsigned long tx_fifo_errors ;
4972 unsigned long tx_heartbeat_errors ;
4973 unsigned long tx_window_errors ;
4974 unsigned long rx_compressed ;
4975 unsigned long tx_compressed ;
4976};
4977#line 211
4978struct neighbour;
4979#line 211
4980struct neighbour;
4981#line 212
4982struct neigh_parms;
4983#line 212
4984struct neigh_parms;
4985#line 213 "include/linux/netdevice.h"
4986struct netdev_hw_addr {
4987 struct list_head list ;
4988 unsigned char addr[32U] ;
4989 unsigned char type ;
4990 bool synced ;
4991 bool global_use ;
4992 int refcount ;
4993 struct rcu_head rcu_head ;
4994};
4995#line 239 "include/linux/netdevice.h"
4996struct netdev_hw_addr_list {
4997 struct list_head list ;
4998 int count ;
4999};
5000#line 244 "include/linux/netdevice.h"
5001struct hh_cache {
5002 struct hh_cache *hh_next ;
5003 atomic_t hh_refcnt ;
5004 __be16 hh_type ;
5005 u16 hh_len ;
5006 int (*hh_output)(struct sk_buff * ) ;
5007 seqlock_t hh_lock ;
5008 unsigned long hh_data[16U] ;
5009};
5010#line 292 "include/linux/netdevice.h"
5011struct header_ops {
5012 int (*create)(struct sk_buff * , struct net_device * , unsigned short , void const * ,
5013 void const * , unsigned int ) ;
5014 int (*parse)(struct sk_buff const * , unsigned char * ) ;
5015 int (*rebuild)(struct sk_buff * ) ;
5016 int (*cache)(struct neighbour const * , struct hh_cache * ) ;
5017 void (*cache_update)(struct hh_cache * , struct net_device const * , unsigned char const * ) ;
5018};
5019#line 349 "include/linux/netdevice.h"
5020struct napi_struct {
5021 struct list_head poll_list ;
5022 unsigned long state ;
5023 int weight ;
5024 int (*poll)(struct napi_struct * , int ) ;
5025 spinlock_t poll_lock ;
5026 int poll_owner ;
5027 unsigned int gro_count ;
5028 struct net_device *dev ;
5029 struct list_head dev_list ;
5030 struct sk_buff *gro_list ;
5031 struct sk_buff *skb ;
5032};
5033#line 392
5034enum rx_handler_result {
5035 RX_HANDLER_CONSUMED = 0,
5036 RX_HANDLER_ANOTHER = 1,
5037 RX_HANDLER_EXACT = 2,
5038 RX_HANDLER_PASS = 3
5039} ;
5040#line 440 "include/linux/netdevice.h"
5041typedef enum rx_handler_result rx_handler_result_t;
5042#line 441 "include/linux/netdevice.h"
5043typedef rx_handler_result_t rx_handler_func_t(struct sk_buff ** );
5044#line 548
5045struct Qdisc;
5046#line 548
5047struct Qdisc;
5048#line 548 "include/linux/netdevice.h"
5049struct netdev_queue {
5050 struct net_device *dev ;
5051 struct Qdisc *qdisc ;
5052 unsigned long state ;
5053 struct Qdisc *qdisc_sleeping ;
5054 struct kobject kobj ;
5055 int numa_node ;
5056 spinlock_t _xmit_lock ;
5057 int xmit_lock_owner ;
5058 unsigned long trans_start ;
5059};
5060#line 590 "include/linux/netdevice.h"
5061struct rps_map {
5062 unsigned int len ;
5063 struct rcu_head rcu ;
5064 u16 cpus[0U] ;
5065};
5066#line 602 "include/linux/netdevice.h"
5067struct rps_dev_flow {
5068 u16 cpu ;
5069 u16 filter ;
5070 unsigned int last_qtail ;
5071};
5072#line 614 "include/linux/netdevice.h"
5073struct rps_dev_flow_table {
5074 unsigned int mask ;
5075 struct rcu_head rcu ;
5076 struct work_struct free_work ;
5077 struct rps_dev_flow flows[0U] ;
5078};
5079#line 666 "include/linux/netdevice.h"
5080struct netdev_rx_queue {
5081 struct rps_map *rps_map ;
5082 struct rps_dev_flow_table *rps_flow_table ;
5083 struct kobject kobj ;
5084 struct net_device *dev ;
5085};
5086#line 676 "include/linux/netdevice.h"
5087struct xps_map {
5088 unsigned int len ;
5089 unsigned int alloc_len ;
5090 struct rcu_head rcu ;
5091 u16 queues[0U] ;
5092};
5093#line 689 "include/linux/netdevice.h"
5094struct xps_dev_maps {
5095 struct rcu_head rcu ;
5096 struct xps_map *cpu_map[0U] ;
5097};
5098#line 700 "include/linux/netdevice.h"
5099struct netdev_tc_txq {
5100 u16 count ;
5101 u16 offset ;
5102};
5103#line 711 "include/linux/netdevice.h"
5104struct net_device_ops {
5105 int (*ndo_init)(struct net_device * ) ;
5106 void (*ndo_uninit)(struct net_device * ) ;
5107 int (*ndo_open)(struct net_device * ) ;
5108 int (*ndo_stop)(struct net_device * ) ;
5109 netdev_tx_t (*ndo_start_xmit)(struct sk_buff * , struct net_device * ) ;
5110 u16 (*ndo_select_queue)(struct net_device * , struct sk_buff * ) ;
5111 void (*ndo_change_rx_flags)(struct net_device * , int ) ;
5112 void (*ndo_set_rx_mode)(struct net_device * ) ;
5113 void (*ndo_set_multicast_list)(struct net_device * ) ;
5114 int (*ndo_set_mac_address)(struct net_device * , void * ) ;
5115 int (*ndo_validate_addr)(struct net_device * ) ;
5116 int (*ndo_do_ioctl)(struct net_device * , struct ifreq * , int ) ;
5117 int (*ndo_set_config)(struct net_device * , struct ifmap * ) ;
5118 int (*ndo_change_mtu)(struct net_device * , int ) ;
5119 int (*ndo_neigh_setup)(struct net_device * , struct neigh_parms * ) ;
5120 void (*ndo_tx_timeout)(struct net_device * ) ;
5121 struct rtnl_link_stats64 *(*ndo_get_stats64)(struct net_device * , struct rtnl_link_stats64 * ) ;
5122 struct net_device_stats *(*ndo_get_stats)(struct net_device * ) ;
5123 void (*ndo_vlan_rx_register)(struct net_device * , struct vlan_group * ) ;
5124 void (*ndo_vlan_rx_add_vid)(struct net_device * , unsigned short ) ;
5125 void (*ndo_vlan_rx_kill_vid)(struct net_device * , unsigned short ) ;
5126 void (*ndo_poll_controller)(struct net_device * ) ;
5127 int (*ndo_netpoll_setup)(struct net_device * , struct netpoll_info * ) ;
5128 void (*ndo_netpoll_cleanup)(struct net_device * ) ;
5129 int (*ndo_set_vf_mac)(struct net_device * , int , u8 * ) ;
5130 int (*ndo_set_vf_vlan)(struct net_device * , int , u16 , u8 ) ;
5131 int (*ndo_set_vf_tx_rate)(struct net_device * , int , int ) ;
5132 int (*ndo_get_vf_config)(struct net_device * , int , struct ifla_vf_info * ) ;
5133 int (*ndo_set_vf_port)(struct net_device * , int , struct nlattr ** ) ;
5134 int (*ndo_get_vf_port)(struct net_device * , int , struct sk_buff * ) ;
5135 int (*ndo_setup_tc)(struct net_device * , u8 ) ;
5136 int (*ndo_fcoe_enable)(struct net_device * ) ;
5137 int (*ndo_fcoe_disable)(struct net_device * ) ;
5138 int (*ndo_fcoe_ddp_setup)(struct net_device * , u16 , struct scatterlist * , unsigned int ) ;
5139 int (*ndo_fcoe_ddp_done)(struct net_device * , u16 ) ;
5140 int (*ndo_fcoe_ddp_target)(struct net_device * , u16 , struct scatterlist * ,
5141 unsigned int ) ;
5142 int (*ndo_fcoe_get_wwn)(struct net_device * , u64 * , int ) ;
5143 int (*ndo_rx_flow_steer)(struct net_device * , struct sk_buff const * , u16 ,
5144 u32 ) ;
5145 int (*ndo_add_slave)(struct net_device * , struct net_device * ) ;
5146 int (*ndo_del_slave)(struct net_device * , struct net_device * ) ;
5147 u32 (*ndo_fix_features)(struct net_device * , u32 ) ;
5148 int (*ndo_set_features)(struct net_device * , u32 ) ;
5149};
5150#line 995
5151struct iw_handler_def;
5152#line 995
5153struct iw_handler_def;
5154#line 995
5155struct iw_public_data;
5156#line 995
5157struct iw_public_data;
5158#line 995
5159struct in_device;
5160#line 995
5161struct in_device;
5162#line 995
5163struct dn_dev;
5164#line 995
5165struct dn_dev;
5166#line 995
5167struct inet6_dev;
5168#line 995
5169struct inet6_dev;
5170#line 995
5171struct cpu_rmap;
5172#line 995
5173struct cpu_rmap;
5174#line 995
5175struct pcpu_lstats;
5176#line 995
5177struct pcpu_lstats;
5178#line 995
5179struct pcpu_tstats;
5180#line 995
5181struct pcpu_tstats;
5182#line 995
5183struct pcpu_dstats;
5184#line 995
5185struct pcpu_dstats;
5186#line 995 "include/linux/netdevice.h"
5187union __anonunion_ldv_32366_193 {
5188 void *ml_priv ;
5189 struct pcpu_lstats *lstats ;
5190 struct pcpu_tstats *tstats ;
5191 struct pcpu_dstats *dstats ;
5192};
5193#line 995
5194struct garp_port;
5195#line 995
5196struct garp_port;
5197#line 995
5198struct rtnl_link_ops;
5199#line 995
5200struct rtnl_link_ops;
5201#line 995 "include/linux/netdevice.h"
5202struct net_device {
5203 char name[16U] ;
5204 struct pm_qos_request_list pm_qos_req ;
5205 struct hlist_node name_hlist ;
5206 char *ifalias ;
5207 unsigned long mem_end ;
5208 unsigned long mem_start ;
5209 unsigned long base_addr ;
5210 unsigned int irq ;
5211 unsigned long state ;
5212 struct list_head dev_list ;
5213 struct list_head napi_list ;
5214 struct list_head unreg_list ;
5215 u32 features ;
5216 u32 hw_features ;
5217 u32 wanted_features ;
5218 u32 vlan_features ;
5219 int ifindex ;
5220 int iflink ;
5221 struct net_device_stats stats ;
5222 atomic_long_t rx_dropped ;
5223 struct iw_handler_def const *wireless_handlers ;
5224 struct iw_public_data *wireless_data ;
5225 struct net_device_ops const *netdev_ops ;
5226 struct ethtool_ops const *ethtool_ops ;
5227 struct header_ops const *header_ops ;
5228 unsigned int flags ;
5229 unsigned int priv_flags ;
5230 unsigned short gflags ;
5231 unsigned short padded ;
5232 unsigned char operstate ;
5233 unsigned char link_mode ;
5234 unsigned char if_port ;
5235 unsigned char dma ;
5236 unsigned int mtu ;
5237 unsigned short type ;
5238 unsigned short hard_header_len ;
5239 unsigned short needed_headroom ;
5240 unsigned short needed_tailroom ;
5241 unsigned char perm_addr[32U] ;
5242 unsigned char addr_assign_type ;
5243 unsigned char addr_len ;
5244 unsigned short dev_id ;
5245 spinlock_t addr_list_lock ;
5246 struct netdev_hw_addr_list uc ;
5247 struct netdev_hw_addr_list mc ;
5248 int uc_promisc ;
5249 unsigned int promiscuity ;
5250 unsigned int allmulti ;
5251 struct vlan_group *vlgrp ;
5252 void *dsa_ptr ;
5253 void *atalk_ptr ;
5254 struct in_device *ip_ptr ;
5255 struct dn_dev *dn_ptr ;
5256 struct inet6_dev *ip6_ptr ;
5257 void *ec_ptr ;
5258 void *ax25_ptr ;
5259 struct wireless_dev *ieee80211_ptr ;
5260 unsigned long last_rx ;
5261 struct net_device *master ;
5262 unsigned char *dev_addr ;
5263 struct netdev_hw_addr_list dev_addrs ;
5264 unsigned char broadcast[32U] ;
5265 struct kset *queues_kset ;
5266 struct netdev_rx_queue *_rx ;
5267 unsigned int num_rx_queues ;
5268 unsigned int real_num_rx_queues ;
5269 struct cpu_rmap *rx_cpu_rmap ;
5270 rx_handler_func_t *rx_handler ;
5271 void *rx_handler_data ;
5272 struct netdev_queue *ingress_queue ;
5273 struct netdev_queue *_tx ;
5274 unsigned int num_tx_queues ;
5275 unsigned int real_num_tx_queues ;
5276 struct Qdisc *qdisc ;
5277 unsigned long tx_queue_len ;
5278 spinlock_t tx_global_lock ;
5279 struct xps_dev_maps *xps_maps ;
5280 unsigned long trans_start ;
5281 int watchdog_timeo ;
5282 struct timer_list watchdog_timer ;
5283 int *pcpu_refcnt ;
5284 struct list_head todo_list ;
5285 struct hlist_node index_hlist ;
5286 struct list_head link_watch_list ;
5287 unsigned char reg_state ;
5288 bool dismantle ;
5289 unsigned short rtnl_link_state ;
5290 void (*destructor)(struct net_device * ) ;
5291 struct netpoll_info *npinfo ;
5292 struct net *nd_net ;
5293 union __anonunion_ldv_32366_193 ldv_32366 ;
5294 struct garp_port *garp_port ;
5295 struct device dev ;
5296 struct attribute_group const *sysfs_groups[4U] ;
5297 struct rtnl_link_ops const *rtnl_link_ops ;
5298 unsigned int gso_max_size ;
5299 struct dcbnl_rtnl_ops const *dcbnl_ops ;
5300 u8 num_tc ;
5301 struct netdev_tc_txq tc_to_txq[16U] ;
5302 u8 prio_tc_map[16U] ;
5303 unsigned int fcoe_ddp_xid ;
5304 struct ethtool_rx_ntuple_list ethtool_ntuple_list ;
5305 struct phy_device *phydev ;
5306 int group ;
5307};
5308#line 91 "include/linux/interrupt.h"
5309struct irqaction {
5310 irqreturn_t (*handler)(int , void * ) ;
5311 unsigned long flags ;
5312 void *dev_id ;
5313 struct irqaction *next ;
5314 int irq ;
5315 irqreturn_t (*thread_fn)(int , void * ) ;
5316 struct task_struct *thread ;
5317 unsigned long thread_flags ;
5318 unsigned long thread_mask ;
5319 char const *name ;
5320 struct proc_dir_entry *dir ;
5321};
5322#line 130 "include/linux/ipv6.h"
5323struct ipv6_devconf {
5324 __s32 forwarding ;
5325 __s32 hop_limit ;
5326 __s32 mtu6 ;
5327 __s32 accept_ra ;
5328 __s32 accept_redirects ;
5329 __s32 autoconf ;
5330 __s32 dad_transmits ;
5331 __s32 rtr_solicits ;
5332 __s32 rtr_solicit_interval ;
5333 __s32 rtr_solicit_delay ;
5334 __s32 force_mld_version ;
5335 __s32 use_tempaddr ;
5336 __s32 temp_valid_lft ;
5337 __s32 temp_prefered_lft ;
5338 __s32 regen_max_retry ;
5339 __s32 max_desync_factor ;
5340 __s32 max_addresses ;
5341 __s32 accept_ra_defrtr ;
5342 __s32 accept_ra_pinfo ;
5343 __s32 accept_ra_rtr_pref ;
5344 __s32 rtr_probe_interval ;
5345 __s32 accept_ra_rt_info_max_plen ;
5346 __s32 proxy_ndp ;
5347 __s32 accept_source_route ;
5348 __s32 optimistic_dad ;
5349 __s32 mc_forwarding ;
5350 __s32 disable_ipv6 ;
5351 __s32 accept_dad ;
5352 __s32 force_tllao ;
5353 void *sysctl ;
5354};
5355#line 327 "include/linux/fsnotify.h"
5356struct linux_binprm {
5357 char buf[128U] ;
5358 struct vm_area_struct *vma ;
5359 unsigned long vma_pages ;
5360 struct mm_struct *mm ;
5361 unsigned long p ;
5362 unsigned char cred_prepared : 1 ;
5363 unsigned char cap_effective : 1 ;
5364 unsigned int recursion_depth ;
5365 struct file *file ;
5366 struct cred *cred ;
5367 int unsafe ;
5368 unsigned int per_clear ;
5369 int argc ;
5370 int envc ;
5371 char const *filename ;
5372 char const *interp ;
5373 unsigned int interp_flags ;
5374 unsigned int interp_data ;
5375 unsigned long loader ;
5376 unsigned long exec ;
5377};
5378#line 62 "include/linux/binfmts.h"
5379struct coredump_params {
5380 long signr ;
5381 struct pt_regs *regs ;
5382 struct file *file ;
5383 unsigned long limit ;
5384 unsigned long mm_flags ;
5385};
5386#line 80 "include/linux/binfmts.h"
5387struct linux_binfmt {
5388 struct list_head lh ;
5389 struct module *module ;
5390 int (*load_binary)(struct linux_binprm * , struct pt_regs * ) ;
5391 int (*load_shlib)(struct file * ) ;
5392 int (*core_dump)(struct coredump_params * ) ;
5393 unsigned long min_coredump ;
5394};
5395#line 83 "include/linux/security.h"
5396struct xfrm_policy;
5397#line 83
5398struct xfrm_policy;
5399#line 84
5400struct xfrm_state;
5401#line 84
5402struct xfrm_state;
5403#line 105
5404struct request_sock;
5405#line 105
5406struct request_sock;
5407#line 110 "include/linux/uaccess.h"
5408struct sock_filter {
5409 __u16 code ;
5410 __u8 jt ;
5411 __u8 jf ;
5412 __u32 k ;
5413};
5414#line 37 "include/linux/filter.h"
5415struct sk_filter {
5416 atomic_t refcnt ;
5417 unsigned int len ;
5418 unsigned int (*bpf_func)(struct sk_buff const * , struct sock_filter const * ) ;
5419 struct rcu_head rcu ;
5420 struct sock_filter insns[0U] ;
5421};
5422#line 101 "include/linux/rculist_nulls.h"
5423struct pollfd {
5424 int fd ;
5425 short events ;
5426 short revents ;
5427};
5428#line 34 "include/linux/poll.h"
5429struct poll_table_struct {
5430 void (*qproc)(struct file * , wait_queue_head_t * , struct poll_table_struct * ) ;
5431 unsigned long key ;
5432};
5433#line 815 "include/linux/rtnetlink.h"
5434struct nla_policy {
5435 u16 type ;
5436 u16 len ;
5437};
5438#line 24 "include/net/rtnetlink.h"
5439struct rtnl_link_ops {
5440 struct list_head list ;
5441 char const *kind ;
5442 size_t priv_size ;
5443 void (*setup)(struct net_device * ) ;
5444 int maxtype ;
5445 struct nla_policy const *policy ;
5446 int (*validate)(struct nlattr ** , struct nlattr ** ) ;
5447 int (*newlink)(struct net * , struct net_device * , struct nlattr ** , struct nlattr ** ) ;
5448 int (*changelink)(struct net_device * , struct nlattr ** , struct nlattr ** ) ;
5449 void (*dellink)(struct net_device * , struct list_head * ) ;
5450 size_t (*get_size)(struct net_device const * ) ;
5451 int (*fill_info)(struct sk_buff * , struct net_device const * ) ;
5452 size_t (*get_xstats_size)(struct net_device const * ) ;
5453 int (*fill_xstats)(struct sk_buff * , struct net_device const * ) ;
5454 int (*get_tx_queues)(struct net * , struct nlattr ** , unsigned int * , unsigned int * ) ;
5455};
5456#line 127
5457struct neigh_table;
5458#line 127
5459struct neigh_table;
5460#line 127 "include/net/rtnetlink.h"
5461struct neigh_parms {
5462 struct net *net ;
5463 struct net_device *dev ;
5464 struct neigh_parms *next ;
5465 int (*neigh_setup)(struct neighbour * ) ;
5466 void (*neigh_cleanup)(struct neighbour * ) ;
5467 struct neigh_table *tbl ;
5468 void *sysctl_table ;
5469 int dead ;
5470 atomic_t refcnt ;
5471 struct rcu_head rcu_head ;
5472 int base_reachable_time ;
5473 int retrans_time ;
5474 int gc_staletime ;
5475 int reachable_time ;
5476 int delay_probe_time ;
5477 int queue_len ;
5478 int ucast_probes ;
5479 int app_probes ;
5480 int mcast_probes ;
5481 int anycast_delay ;
5482 int proxy_delay ;
5483 int proxy_qlen ;
5484 int locktime ;
5485};
5486#line 71 "include/net/neighbour.h"
5487struct neigh_statistics {
5488 unsigned long allocs ;
5489 unsigned long destroys ;
5490 unsigned long hash_grows ;
5491 unsigned long res_failed ;
5492 unsigned long lookups ;
5493 unsigned long hits ;
5494 unsigned long rcv_probes_mcast ;
5495 unsigned long rcv_probes_ucast ;
5496 unsigned long periodic_gc_runs ;
5497 unsigned long forced_gc_runs ;
5498 unsigned long unres_discards ;
5499};
5500#line 90
5501struct neigh_ops;
5502#line 90
5503struct neigh_ops;
5504#line 90 "include/net/neighbour.h"
5505struct neighbour {
5506 struct neighbour *next ;
5507 struct neigh_table *tbl ;
5508 struct neigh_parms *parms ;
5509 unsigned long confirmed ;
5510 unsigned long updated ;
5511 rwlock_t lock ;
5512 atomic_t refcnt ;
5513 struct sk_buff_head arp_queue ;
5514 struct timer_list timer ;
5515 unsigned long used ;
5516 atomic_t probes ;
5517 __u8 flags ;
5518 __u8 nud_state ;
5519 __u8 type ;
5520 __u8 dead ;
5521 seqlock_t ha_lock ;
5522 unsigned char ha[32U] ;
5523 struct hh_cache *hh ;
5524 int (*output)(struct sk_buff * ) ;
5525 struct neigh_ops const *ops ;
5526 struct rcu_head rcu ;
5527 struct net_device *dev ;
5528 u8 primary_key[0U] ;
5529};
5530#line 118 "include/net/neighbour.h"
5531struct neigh_ops {
5532 int family ;
5533 void (*solicit)(struct neighbour * , struct sk_buff * ) ;
5534 void (*error_report)(struct neighbour * , struct sk_buff * ) ;
5535 int (*output)(struct sk_buff * ) ;
5536 int (*connected_output)(struct sk_buff * ) ;
5537 int (*hh_output)(struct sk_buff * ) ;
5538 int (*queue_xmit)(struct sk_buff * ) ;
5539};
5540#line 128 "include/net/neighbour.h"
5541struct pneigh_entry {
5542 struct pneigh_entry *next ;
5543 struct net *net ;
5544 struct net_device *dev ;
5545 u8 flags ;
5546 u8 key[0U] ;
5547};
5548#line 138 "include/net/neighbour.h"
5549struct neigh_hash_table {
5550 struct neighbour **hash_buckets ;
5551 unsigned int hash_mask ;
5552 __u32 hash_rnd ;
5553 struct rcu_head rcu ;
5554};
5555#line 149 "include/net/neighbour.h"
5556struct neigh_table {
5557 struct neigh_table *next ;
5558 int family ;
5559 int entry_size ;
5560 int key_len ;
5561 __u32 (*hash)(void const * , struct net_device const * , __u32 ) ;
5562 int (*constructor)(struct neighbour * ) ;
5563 int (*pconstructor)(struct pneigh_entry * ) ;
5564 void (*pdestructor)(struct pneigh_entry * ) ;
5565 void (*proxy_redo)(struct sk_buff * ) ;
5566 char *id ;
5567 struct neigh_parms parms ;
5568 int gc_interval ;
5569 int gc_thresh1 ;
5570 int gc_thresh2 ;
5571 int gc_thresh3 ;
5572 unsigned long last_flush ;
5573 struct delayed_work gc_work ;
5574 struct timer_list proxy_timer ;
5575 struct sk_buff_head proxy_queue ;
5576 atomic_t entries ;
5577 rwlock_t lock ;
5578 unsigned long last_rand ;
5579 struct kmem_cache *kmem_cachep ;
5580 struct neigh_statistics *stats ;
5581 struct neigh_hash_table *nht ;
5582 struct pneigh_entry **phash_buckets ;
5583};
5584#line 394
5585struct dn_route;
5586#line 394
5587struct dn_route;
5588#line 394 "include/net/neighbour.h"
5589union __anonunion_ldv_38814_203 {
5590 struct dst_entry *next ;
5591 struct rtable *rt_next ;
5592 struct rt6_info *rt6_next ;
5593 struct dn_route *dn_next ;
5594};
5595#line 394 "include/net/neighbour.h"
5596struct dst_entry {
5597 struct rcu_head rcu_head ;
5598 struct dst_entry *child ;
5599 struct net_device *dev ;
5600 struct dst_ops *ops ;
5601 unsigned long _metrics ;
5602 unsigned long expires ;
5603 struct dst_entry *path ;
5604 struct neighbour *neighbour ;
5605 struct hh_cache *hh ;
5606 struct xfrm_state *xfrm ;
5607 int (*input)(struct sk_buff * ) ;
5608 int (*output)(struct sk_buff * ) ;
5609 short error ;
5610 short obsolete ;
5611 unsigned short header_len ;
5612 unsigned short trailer_len ;
5613 __u32 tclassid ;
5614 long __pad_to_align_refcnt[1U] ;
5615 atomic_t __refcnt ;
5616 int __use ;
5617 unsigned long lastuse ;
5618 int flags ;
5619 union __anonunion_ldv_38814_203 ldv_38814 ;
5620};
5621#line 101 "include/net/sock.h"
5622struct __anonstruct_socket_lock_t_204 {
5623 spinlock_t slock ;
5624 int owned ;
5625 wait_queue_head_t wq ;
5626 struct lockdep_map dep_map ;
5627};
5628#line 101 "include/net/sock.h"
5629typedef struct __anonstruct_socket_lock_t_204 socket_lock_t;
5630#line 101
5631struct proto;
5632#line 101
5633struct proto;
5634#line 102 "include/net/sock.h"
5635union __anonunion_ldv_39015_205 {
5636 unsigned int skc_hash ;
5637 __u16 skc_u16hashes[2U] ;
5638};
5639#line 102 "include/net/sock.h"
5640union __anonunion_ldv_39023_206 {
5641 struct hlist_node skc_bind_node ;
5642 struct hlist_nulls_node skc_portaddr_node ;
5643};
5644#line 102 "include/net/sock.h"
5645union __anonunion_ldv_39030_207 {
5646 struct hlist_node skc_node ;
5647 struct hlist_nulls_node skc_nulls_node ;
5648};
5649#line 102 "include/net/sock.h"
5650struct sock_common {
5651 __be32 skc_daddr ;
5652 __be32 skc_rcv_saddr ;
5653 union __anonunion_ldv_39015_205 ldv_39015 ;
5654 unsigned short skc_family ;
5655 unsigned char volatile skc_state ;
5656 unsigned char skc_reuse ;
5657 int skc_bound_dev_if ;
5658 union __anonunion_ldv_39023_206 ldv_39023 ;
5659 struct proto *skc_prot ;
5660 struct net *skc_net ;
5661 int skc_dontcopy_begin[0U] ;
5662 union __anonunion_ldv_39030_207 ldv_39030 ;
5663 int skc_tx_queue_mapping ;
5664 atomic_t skc_refcnt ;
5665 int skc_dontcopy_end[0U] ;
5666};
5667#line 168 "include/net/sock.h"
5668struct __anonstruct_sk_backlog_208 {
5669 atomic_t rmem_alloc ;
5670 int len ;
5671 struct sk_buff *head ;
5672 struct sk_buff *tail ;
5673};
5674#line 168 "include/net/sock.h"
5675struct sock {
5676 struct sock_common __sk_common ;
5677 socket_lock_t sk_lock ;
5678 struct sk_buff_head sk_receive_queue ;
5679 struct __anonstruct_sk_backlog_208 sk_backlog ;
5680 int sk_forward_alloc ;
5681 __u32 sk_rxhash ;
5682 atomic_t sk_drops ;
5683 int sk_rcvbuf ;
5684 struct sk_filter *sk_filter ;
5685 struct socket_wq *sk_wq ;
5686 struct sk_buff_head sk_async_wait_queue ;
5687 struct xfrm_policy *sk_policy[2U] ;
5688 unsigned long sk_flags ;
5689 struct dst_entry *sk_dst_cache ;
5690 spinlock_t sk_dst_lock ;
5691 atomic_t sk_wmem_alloc ;
5692 atomic_t sk_omem_alloc ;
5693 int sk_sndbuf ;
5694 struct sk_buff_head sk_write_queue ;
5695 unsigned char sk_shutdown : 2 ;
5696 unsigned char sk_no_check : 2 ;
5697 unsigned char sk_userlocks : 4 ;
5698 unsigned char sk_protocol ;
5699 unsigned short sk_type ;
5700 int sk_wmem_queued ;
5701 gfp_t sk_allocation ;
5702 int sk_route_caps ;
5703 int sk_route_nocaps ;
5704 int sk_gso_type ;
5705 unsigned int sk_gso_max_size ;
5706 int sk_rcvlowat ;
5707 unsigned long sk_lingertime ;
5708 struct sk_buff_head sk_error_queue ;
5709 struct proto *sk_prot_creator ;
5710 rwlock_t sk_callback_lock ;
5711 int sk_err ;
5712 int sk_err_soft ;
5713 unsigned short sk_ack_backlog ;
5714 unsigned short sk_max_ack_backlog ;
5715 __u32 sk_priority ;
5716 struct pid *sk_peer_pid ;
5717 struct cred const *sk_peer_cred ;
5718 long sk_rcvtimeo ;
5719 long sk_sndtimeo ;
5720 void *sk_protinfo ;
5721 struct timer_list sk_timer ;
5722 ktime_t sk_stamp ;
5723 struct socket *sk_socket ;
5724 void *sk_user_data ;
5725 struct page *sk_sndmsg_page ;
5726 struct sk_buff *sk_send_head ;
5727 __u32 sk_sndmsg_off ;
5728 int sk_write_pending ;
5729 void *sk_security ;
5730 __u32 sk_mark ;
5731 u32 sk_classid ;
5732 void (*sk_state_change)(struct sock * ) ;
5733 void (*sk_data_ready)(struct sock * , int ) ;
5734 void (*sk_write_space)(struct sock * ) ;
5735 void (*sk_error_report)(struct sock * ) ;
5736 int (*sk_backlog_rcv)(struct sock * , struct sk_buff * ) ;
5737 void (*sk_destruct)(struct sock * ) ;
5738};
5739#line 716
5740struct request_sock_ops;
5741#line 716
5742struct request_sock_ops;
5743#line 717
5744struct timewait_sock_ops;
5745#line 717
5746struct timewait_sock_ops;
5747#line 718
5748struct inet_hashinfo;
5749#line 718
5750struct inet_hashinfo;
5751#line 719
5752struct raw_hashinfo;
5753#line 719
5754struct raw_hashinfo;
5755#line 720
5756struct udp_table;
5757#line 720
5758struct udp_table;
5759#line 720 "include/net/sock.h"
5760union __anonunion_h_209 {
5761 struct inet_hashinfo *hashinfo ;
5762 struct udp_table *udp_table ;
5763 struct raw_hashinfo *raw_hash ;
5764};
5765#line 720 "include/net/sock.h"
5766struct proto {
5767 void (*close)(struct sock * , long ) ;
5768 int (*connect)(struct sock * , struct sockaddr * , int ) ;
5769 int (*disconnect)(struct sock * , int ) ;
5770 struct sock *(*accept)(struct sock * , int , int * ) ;
5771 int (*ioctl)(struct sock * , int , unsigned long ) ;
5772 int (*init)(struct sock * ) ;
5773 void (*destroy)(struct sock * ) ;
5774 void (*shutdown)(struct sock * , int ) ;
5775 int (*setsockopt)(struct sock * , int , int , char * , unsigned int ) ;
5776 int (*getsockopt)(struct sock * , int , int , char * , int * ) ;
5777 int (*compat_setsockopt)(struct sock * , int , int , char * , unsigned int ) ;
5778 int (*compat_getsockopt)(struct sock * , int , int , char * , int * ) ;
5779 int (*compat_ioctl)(struct sock * , unsigned int , unsigned long ) ;
5780 int (*sendmsg)(struct kiocb * , struct sock * , struct msghdr * , size_t ) ;
5781 int (*recvmsg)(struct kiocb * , struct sock * , struct msghdr * , size_t , int ,
5782 int , int * ) ;
5783 int (*sendpage)(struct sock * , struct page * , int , size_t , int ) ;
5784 int (*bind)(struct sock * , struct sockaddr * , int ) ;
5785 int (*backlog_rcv)(struct sock * , struct sk_buff * ) ;
5786 void (*hash)(struct sock * ) ;
5787 void (*unhash)(struct sock * ) ;
5788 void (*rehash)(struct sock * ) ;
5789 int (*get_port)(struct sock * , unsigned short ) ;
5790 void (*clear_sk)(struct sock * , int ) ;
5791 unsigned int inuse_idx ;
5792 void (*enter_memory_pressure)(struct sock * ) ;
5793 atomic_long_t *memory_allocated ;
5794 struct percpu_counter *sockets_allocated ;
5795 int *memory_pressure ;
5796 long *sysctl_mem ;
5797 int *sysctl_wmem ;
5798 int *sysctl_rmem ;
5799 int max_header ;
5800 bool no_autobind ;
5801 struct kmem_cache *slab ;
5802 unsigned int obj_size ;
5803 int slab_flags ;
5804 struct percpu_counter *orphan_count ;
5805 struct request_sock_ops *rsk_prot ;
5806 struct timewait_sock_ops *twsk_prot ;
5807 union __anonunion_h_209 h ;
5808 struct module *owner ;
5809 char name[32U] ;
5810 struct list_head node ;
5811};
5812#line 169 "include/linux/jhash.h"
5813struct request_values {
5814
5815};
5816#line 172 "include/linux/jhash.h"
5817struct request_sock_ops {
5818 int family ;
5819 int obj_size ;
5820 struct kmem_cache *slab ;
5821 char *slab_name ;
5822 int (*rtx_syn_ack)(struct sock * , struct request_sock * , struct request_values * ) ;
5823 void (*send_ack)(struct sock * , struct sk_buff * , struct request_sock * ) ;
5824 void (*send_reset)(struct sock * , struct sk_buff * ) ;
5825 void (*destructor)(struct request_sock * ) ;
5826 void (*syn_ack_timeout)(struct sock * , struct request_sock * ) ;
5827};
5828#line 50 "include/net/request_sock.h"
5829struct request_sock {
5830 struct request_sock *dl_next ;
5831 u16 mss ;
5832 u8 retrans ;
5833 u8 cookie_ts ;
5834 u32 window_clamp ;
5835 u32 rcv_wnd ;
5836 u32 ts_recent ;
5837 unsigned long expires ;
5838 struct request_sock_ops const *rsk_ops ;
5839 struct sock *sk ;
5840 u32 secid ;
5841 u32 peer_secid ;
5842};
5843#line 367 "include/net/inet_connection_sock.h"
5844struct timewait_sock_ops {
5845 struct kmem_cache *twsk_slab ;
5846 char *twsk_slab_name ;
5847 unsigned int twsk_obj_size ;
5848 int (*twsk_unique)(struct sock * , struct sock * , void * ) ;
5849 void (*twsk_destructor)(struct sock * ) ;
5850 void *(*twsk_getpeer)(struct sock * ) ;
5851};
5852#line 149 "include/linux/mii.h"
5853struct mii_if_info {
5854 int phy_id ;
5855 int advertising ;
5856 int phy_id_mask ;
5857 int reg_num_mask ;
5858 unsigned char full_duplex : 1 ;
5859 unsigned char force_media : 1 ;
5860 unsigned char supports_gmii : 1 ;
5861 struct net_device *dev ;
5862 int (*mdio_read)(struct net_device * , int , int ) ;
5863 void (*mdio_write)(struct net_device * , int , int , int ) ;
5864};
5865#line 76 "include/linux/if_vlan.h"
5866struct vlan_group {
5867 struct net_device *real_dev ;
5868 unsigned int nr_vlans ;
5869 struct hlist_node hlist ;
5870 struct net_device **vlan_devices_arrays[8U] ;
5871 struct rcu_head rcu ;
5872};
5873#line 459 "include/net/ip.h"
5874struct atl1c_adapter;
5875#line 459
5876struct atl1c_adapter;
5877#line 460
5878struct atl1c_hw;
5879#line 460
5880struct atl1c_hw;
5881#line 267 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c.h"
5882struct atl1c_rx_free_desc {
5883 __le64 buffer_addr ;
5884};
5885#line 272
5886enum atl1c_dma_order {
5887 atl1c_dma_ord_in = 1,
5888 atl1c_dma_ord_enh = 2,
5889 atl1c_dma_ord_out = 4
5890} ;
5891#line 278
5892enum atl1c_dma_rcb {
5893 atl1c_rcb_64 = 0,
5894 atl1c_rcb_128 = 1
5895} ;
5896#line 283
5897enum atl1c_mac_speed {
5898 atl1c_mac_speed_0 = 0,
5899 atl1c_mac_speed_10_100 = 1,
5900 atl1c_mac_speed_1000 = 2
5901} ;
5902#line 289
5903enum atl1c_dma_req_block {
5904 atl1c_dma_req_128 = 0,
5905 atl1c_dma_req_256 = 1,
5906 atl1c_dma_req_512 = 2,
5907 atl1c_dma_req_1024 = 3,
5908 atl1c_dma_req_2048 = 4,
5909 atl1c_dma_req_4096 = 5
5910} ;
5911#line 298
5912enum atl1c_rss_mode {
5913 atl1c_rss_mode_disable = 0,
5914 atl1c_rss_sig_que = 1,
5915 atl1c_rss_mul_que_sig_int = 2,
5916 atl1c_rss_mul_que_mul_int = 4
5917} ;
5918#line 305
5919enum atl1c_rss_type {
5920 atl1c_rss_disable = 0,
5921 atl1c_rss_ipv4 = 1,
5922 atl1c_rss_ipv4_tcp = 2,
5923 atl1c_rss_ipv6 = 4,
5924 atl1c_rss_ipv6_tcp = 8
5925} ;
5926#line 313
5927enum atl1c_nic_type {
5928 athr_l1c = 0,
5929 athr_l2c = 1,
5930 athr_l2c_b = 2,
5931 athr_l2c_b2 = 3,
5932 athr_l1d = 4,
5933 athr_l1d_2 = 5
5934} ;
5935#line 322
5936enum atl1c_trans_queue {
5937 atl1c_trans_normal = 0,
5938 atl1c_trans_high = 1
5939} ;
5940#line 327 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c.h"
5941struct atl1c_hw_stats {
5942 unsigned long rx_ok ;
5943 unsigned long rx_bcast ;
5944 unsigned long rx_mcast ;
5945 unsigned long rx_pause ;
5946 unsigned long rx_ctrl ;
5947 unsigned long rx_fcs_err ;
5948 unsigned long rx_len_err ;
5949 unsigned long rx_byte_cnt ;
5950 unsigned long rx_runt ;
5951 unsigned long rx_frag ;
5952 unsigned long rx_sz_64 ;
5953 unsigned long rx_sz_65_127 ;
5954 unsigned long rx_sz_128_255 ;
5955 unsigned long rx_sz_256_511 ;
5956 unsigned long rx_sz_512_1023 ;
5957 unsigned long rx_sz_1024_1518 ;
5958 unsigned long rx_sz_1519_max ;
5959 unsigned long rx_sz_ov ;
5960 unsigned long rx_rxf_ov ;
5961 unsigned long rx_rrd_ov ;
5962 unsigned long rx_align_err ;
5963 unsigned long rx_bcast_byte_cnt ;
5964 unsigned long rx_mcast_byte_cnt ;
5965 unsigned long rx_err_addr ;
5966 unsigned long tx_ok ;
5967 unsigned long tx_bcast ;
5968 unsigned long tx_mcast ;
5969 unsigned long tx_pause ;
5970 unsigned long tx_exc_defer ;
5971 unsigned long tx_ctrl ;
5972 unsigned long tx_defer ;
5973 unsigned long tx_byte_cnt ;
5974 unsigned long tx_sz_64 ;
5975 unsigned long tx_sz_65_127 ;
5976 unsigned long tx_sz_128_255 ;
5977 unsigned long tx_sz_256_511 ;
5978 unsigned long tx_sz_512_1023 ;
5979 unsigned long tx_sz_1024_1518 ;
5980 unsigned long tx_sz_1519_max ;
5981 unsigned long tx_1_col ;
5982 unsigned long tx_2_col ;
5983 unsigned long tx_late_col ;
5984 unsigned long tx_abort_col ;
5985 unsigned long tx_underrun ;
5986 unsigned long tx_rd_eop ;
5987 unsigned long tx_len_err ;
5988 unsigned long tx_trunc ;
5989 unsigned long tx_bcast_byte ;
5990 unsigned long tx_mcast_byte ;
5991};
5992#line 383 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c.h"
5993struct atl1c_hw {
5994 u8 *hw_addr ;
5995 struct atl1c_adapter *adapter ;
5996 enum atl1c_nic_type nic_type ;
5997 enum atl1c_dma_order dma_order ;
5998 enum atl1c_dma_rcb rcb_value ;
5999 enum atl1c_dma_req_block dmar_block ;
6000 enum atl1c_dma_req_block dmaw_block ;
6001 u16 device_id ;
6002 u16 vendor_id ;
6003 u16 subsystem_id ;
6004 u16 subsystem_vendor_id ;
6005 u8 revision_id ;
6006 u16 phy_id1 ;
6007 u16 phy_id2 ;
6008 u32 intr_mask ;
6009 u8 dmaw_dly_cnt ;
6010 u8 dmar_dly_cnt ;
6011 u8 preamble_len ;
6012 u16 max_frame_size ;
6013 u16 min_frame_size ;
6014 enum atl1c_mac_speed mac_speed ;
6015 bool mac_duplex ;
6016 bool hibernate ;
6017 u16 media_type ;
6018 u16 autoneg_advertised ;
6019 u16 mii_autoneg_adv_reg ;
6020 u16 mii_1000t_ctrl_reg ;
6021 u16 tx_imt ;
6022 u16 rx_imt ;
6023 u16 ict ;
6024 u16 ctrl_flags ;
6025 u16 link_cap_flags ;
6026 u16 cmb_tpd ;
6027 u16 cmb_rrd ;
6028 u16 cmb_rx_timer ;
6029 u16 cmb_tx_timer ;
6030 u32 smb_timer ;
6031 u16 rrd_thresh ;
6032 u16 tpd_thresh ;
6033 u8 tpd_burst ;
6034 u8 rfd_burst ;
6035 enum atl1c_rss_type rss_type ;
6036 enum atl1c_rss_mode rss_mode ;
6037 u8 rss_hash_bits ;
6038 u32 base_cpu ;
6039 u32 indirect_tab ;
6040 u8 mac_addr[6U] ;
6041 u8 perm_mac_addr[6U] ;
6042 bool phy_configured ;
6043 bool re_autoneg ;
6044 bool emi_ca ;
6045};
6046#line 466 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c.h"
6047struct atl1c_ring_header {
6048 void *desc ;
6049 dma_addr_t dma ;
6050 unsigned int size ;
6051};
6052#line 477 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c.h"
6053struct atl1c_buffer {
6054 struct sk_buff *skb ;
6055 u16 length ;
6056 u16 flags ;
6057 dma_addr_t dma ;
6058};
6059#line 499 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c.h"
6060struct atl1c_tpd_ring {
6061 void *desc ;
6062 dma_addr_t dma ;
6063 u16 size ;
6064 u16 count ;
6065 u16 next_to_use ;
6066 atomic_t next_to_clean ;
6067 struct atl1c_buffer *buffer_info ;
6068};
6069#line 522 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c.h"
6070struct atl1c_rfd_ring {
6071 void *desc ;
6072 dma_addr_t dma ;
6073 u16 size ;
6074 u16 count ;
6075 u16 next_to_use ;
6076 u16 next_to_clean ;
6077 struct atl1c_buffer *buffer_info ;
6078};
6079#line 533 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c.h"
6080struct atl1c_rrd_ring {
6081 void *desc ;
6082 dma_addr_t dma ;
6083 u16 size ;
6084 u16 count ;
6085 u16 next_to_use ;
6086 u16 next_to_clean ;
6087};
6088#line 543 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c.h"
6089struct atl1c_cmb {
6090 void *cmb ;
6091 dma_addr_t dma ;
6092};
6093#line 548 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c.h"
6094struct atl1c_smb {
6095 void *smb ;
6096 dma_addr_t dma ;
6097};
6098#line 553 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c.h"
6099struct atl1c_adapter {
6100 struct net_device *netdev ;
6101 struct pci_dev *pdev ;
6102 struct vlan_group *vlgrp ;
6103 struct napi_struct napi ;
6104 struct atl1c_hw hw ;
6105 struct atl1c_hw_stats hw_stats ;
6106 struct mii_if_info mii ;
6107 u16 rx_buffer_len ;
6108 unsigned long flags ;
6109 unsigned long work_event ;
6110 u32 msg_enable ;
6111 bool have_msi ;
6112 u32 wol ;
6113 u16 link_speed ;
6114 u16 link_duplex ;
6115 spinlock_t mdio_lock ;
6116 spinlock_t tx_lock ;
6117 atomic_t irq_sem ;
6118 struct work_struct common_task ;
6119 struct timer_list watchdog_timer ;
6120 struct timer_list phy_config_timer ;
6121 struct atl1c_ring_header ring_header ;
6122 struct atl1c_tpd_ring tpd_ring[2U] ;
6123 struct atl1c_rfd_ring rfd_ring[4U] ;
6124 struct atl1c_rrd_ring rrd_ring[4U] ;
6125 struct atl1c_cmb cmb ;
6126 struct atl1c_smb smb ;
6127 int num_rx_queues ;
6128 u32 bd_number ;
6129};
6130#line 290 "include/linux/timer.h"
6131enum hrtimer_restart;
6132#line 290
6133enum hrtimer_restart;
6134#line 290
6135enum hrtimer_restart;
6136#line 290
6137enum hrtimer_restart;
6138#line 1 "<compiler builtins>"
6139void *__builtin_memcpy(void * , void const * , unsigned long ) ;
6140#line 1
6141long __builtin_expect(long , long ) ;
6142#line 60 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6143__inline static void set_bit(unsigned int nr , unsigned long volatile *addr )
6144{ long volatile *__cil_tmp3 ;
6145
6146 {
6147#line 68
6148 __cil_tmp3 = (long volatile *)addr;
6149#line 68
6150 __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");
6151#line 70
6152 return;
6153}
6154}
6155#line 98 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6156__inline static void clear_bit(int nr , unsigned long volatile *addr )
6157{ long volatile *__cil_tmp3 ;
6158
6159 {
6160#line 105
6161 __cil_tmp3 = (long volatile *)addr;
6162#line 105
6163 __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));
6164#line 107
6165 return;
6166}
6167}
6168#line 195 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6169__inline static int test_and_set_bit(int nr , unsigned long volatile *addr )
6170{ int oldbit ;
6171 long volatile *__cil_tmp4 ;
6172
6173 {
6174#line 199
6175 __cil_tmp4 = (long volatile *)addr;
6176#line 199
6177 __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),
6178 "+m" (*__cil_tmp4): "Ir" (nr): "memory");
6179#line 202
6180 return (oldbit);
6181}
6182}
6183#line 246 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6184__inline static int test_and_clear_bit(int nr , unsigned long volatile *addr )
6185{ int oldbit ;
6186 long volatile *__cil_tmp4 ;
6187
6188 {
6189#line 250
6190 __cil_tmp4 = (long volatile *)addr;
6191#line 250
6192 __asm__ volatile (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; btr %2,%1\n\tsbb %0,%0": "=r" (oldbit),
6193 "+m" (*__cil_tmp4): "Ir" (nr): "memory");
6194#line 254
6195 return (oldbit);
6196}
6197}
6198#line 309 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6199__inline static int constant_test_bit(unsigned int nr , unsigned long const volatile *addr )
6200{ int __cil_tmp3 ;
6201 int __cil_tmp4 ;
6202 unsigned int __cil_tmp5 ;
6203 unsigned long __cil_tmp6 ;
6204 unsigned long const volatile *__cil_tmp7 ;
6205 unsigned long volatile __cil_tmp8 ;
6206 unsigned long __cil_tmp9 ;
6207 unsigned long __cil_tmp10 ;
6208 int __cil_tmp11 ;
6209
6210 {
6211 {
6212#line 311
6213 __cil_tmp3 = (int )nr;
6214#line 311
6215 __cil_tmp4 = __cil_tmp3 & 63;
6216#line 311
6217 __cil_tmp5 = nr / 64U;
6218#line 311
6219 __cil_tmp6 = (unsigned long )__cil_tmp5;
6220#line 311
6221 __cil_tmp7 = addr + __cil_tmp6;
6222#line 311
6223 __cil_tmp8 = *__cil_tmp7;
6224#line 311
6225 __cil_tmp9 = (unsigned long )__cil_tmp8;
6226#line 311
6227 __cil_tmp10 = __cil_tmp9 >> __cil_tmp4;
6228#line 311
6229 __cil_tmp11 = (int )__cil_tmp10;
6230#line 311
6231 return (__cil_tmp11 & 1);
6232 }
6233}
6234}
6235#line 46 "include/linux/swab.h"
6236__inline static __u16 __fswab16(__u16 val )
6237{ int __cil_tmp2 ;
6238 int __cil_tmp3 ;
6239 short __cil_tmp4 ;
6240 int __cil_tmp5 ;
6241 int __cil_tmp6 ;
6242 int __cil_tmp7 ;
6243 short __cil_tmp8 ;
6244 int __cil_tmp9 ;
6245 int __cil_tmp10 ;
6246
6247 {
6248 {
6249#line 51
6250 __cil_tmp2 = (int )val;
6251#line 51
6252 __cil_tmp3 = __cil_tmp2 >> 8;
6253#line 51
6254 __cil_tmp4 = (short )__cil_tmp3;
6255#line 51
6256 __cil_tmp5 = (int )__cil_tmp4;
6257#line 51
6258 __cil_tmp6 = (int )val;
6259#line 51
6260 __cil_tmp7 = __cil_tmp6 << 8;
6261#line 51
6262 __cil_tmp8 = (short )__cil_tmp7;
6263#line 51
6264 __cil_tmp9 = (int )__cil_tmp8;
6265#line 51
6266 __cil_tmp10 = __cil_tmp9 | __cil_tmp5;
6267#line 51
6268 return ((__u16 )__cil_tmp10);
6269 }
6270}
6271}
6272#line 101 "include/linux/printk.h"
6273extern int printk(char const * , ...) ;
6274#line 69 "include/asm-generic/bug.h"
6275extern void warn_slowpath_null(char const * , int ) ;
6276#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"
6277extern unsigned long __phys_addr(unsigned long ) ;
6278#line 88 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/percpu.h"
6279extern void __bad_percpu_size(void) ;
6280#line 34 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/string_64.h"
6281extern void *__memcpy(void * , void const * , size_t ) ;
6282#line 55
6283extern void *memset(void * , int , size_t ) ;
6284#line 23 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic.h"
6285__inline static int atomic_read(atomic_t const *v )
6286{ int const *__cil_tmp2 ;
6287 int volatile *__cil_tmp3 ;
6288 int volatile __cil_tmp4 ;
6289
6290 {
6291 {
6292#line 25
6293 __cil_tmp2 = & v->counter;
6294#line 25
6295 __cil_tmp3 = (int volatile *)__cil_tmp2;
6296#line 25
6297 __cil_tmp4 = *__cil_tmp3;
6298#line 25
6299 return ((int )__cil_tmp4);
6300 }
6301}
6302}
6303#line 35 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic.h"
6304__inline static void atomic_set(atomic_t *v , int i )
6305{
6306
6307 {
6308#line 37
6309 v->counter = i;
6310#line 38
6311 return;
6312}
6313}
6314#line 93 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic.h"
6315__inline static void atomic_inc(atomic_t *v )
6316{
6317
6318 {
6319#line 95
6320 __asm__ volatile (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; incl %0": "+m" (v->counter));
6321#line 97
6322 return;
6323}
6324}
6325#line 119 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic.h"
6326__inline static int atomic_dec_and_test(atomic_t *v )
6327{ unsigned char c ;
6328 unsigned int __cil_tmp3 ;
6329
6330 {
6331#line 123
6332 __asm__ volatile (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; decl %0; sete %1": "+m" (v->counter),
6333 "=qm" (c): : "memory");
6334 {
6335#line 126
6336 __cil_tmp3 = (unsigned int )c;
6337#line 126
6338 return (__cil_tmp3 != 0U);
6339 }
6340}
6341}
6342#line 217 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6343extern unsigned long kernel_stack ;
6344#line 219 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/thread_info.h"
6345__inline static struct thread_info *current_thread_info(void)
6346{ struct thread_info *ti ;
6347 unsigned long pfo_ret__ ;
6348 unsigned long __cil_tmp3 ;
6349
6350 {
6351#line 222
6352 if (1) {
6353#line 222
6354 goto case_8;
6355 } else {
6356#line 222
6357 goto switch_default;
6358#line 222
6359 if (0) {
6360#line 222
6361 __asm__ ("movb %%gs:%P1,%0": "=q" (pfo_ret__): "p" (& kernel_stack));
6362#line 222
6363 goto ldv_5782;
6364#line 222
6365 __asm__ ("movw %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& kernel_stack));
6366#line 222
6367 goto ldv_5782;
6368#line 222
6369 __asm__ ("movl %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& kernel_stack));
6370#line 222
6371 goto ldv_5782;
6372 case_8:
6373#line 222
6374 __asm__ ("movq %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& kernel_stack));
6375#line 222
6376 goto ldv_5782;
6377 switch_default:
6378 {
6379#line 222
6380 __bad_percpu_size();
6381 }
6382 } else {
6383
6384 }
6385 }
6386 ldv_5782:
6387#line 222
6388 __cil_tmp3 = pfo_ret__ - 8152UL;
6389#line 222
6390 ti = (struct thread_info *)__cil_tmp3;
6391#line 224
6392 return (ti);
6393}
6394}
6395#line 22 "include/linux/spinlock_api_smp.h"
6396extern void _raw_spin_lock(raw_spinlock_t * ) ;
6397#line 32
6398extern unsigned long _raw_spin_lock_irqsave(raw_spinlock_t * ) ;
6399#line 39
6400extern void _raw_spin_unlock(raw_spinlock_t * ) ;
6401#line 43
6402extern void _raw_spin_unlock_irqrestore(raw_spinlock_t * , unsigned long ) ;
6403#line 272 "include/linux/spinlock.h"
6404__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock )
6405{
6406
6407 {
6408#line 274
6409 return (& lock->ldv_6060.rlock);
6410}
6411}
6412#line 283 "include/linux/spinlock.h"
6413__inline static void spin_lock(spinlock_t *lock )
6414{ struct raw_spinlock *__cil_tmp2 ;
6415
6416 {
6417 {
6418#line 285
6419 __cil_tmp2 = & lock->ldv_6060.rlock;
6420#line 285
6421 _raw_spin_lock(__cil_tmp2);
6422 }
6423#line 286
6424 return;
6425}
6426}
6427#line 323 "include/linux/spinlock.h"
6428__inline static void spin_unlock(spinlock_t *lock )
6429{ struct raw_spinlock *__cil_tmp2 ;
6430
6431 {
6432 {
6433#line 325
6434 __cil_tmp2 = & lock->ldv_6060.rlock;
6435#line 325
6436 _raw_spin_unlock(__cil_tmp2);
6437 }
6438#line 326
6439 return;
6440}
6441}
6442#line 338 "include/linux/spinlock.h"
6443__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags )
6444{ struct raw_spinlock *__cil_tmp3 ;
6445
6446 {
6447 {
6448#line 340
6449 __cil_tmp3 = & lock->ldv_6060.rlock;
6450#line 340
6451 _raw_spin_unlock_irqrestore(__cil_tmp3, flags);
6452 }
6453#line 341
6454 return;
6455}
6456}
6457#line 280 "include/linux/timer.h"
6458extern int del_timer_sync(struct timer_list * ) ;
6459#line 360 "include/linux/workqueue.h"
6460extern int schedule_work(struct work_struct * ) ;
6461#line 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6462__inline static unsigned int readl(void const volatile *addr )
6463{ unsigned int ret ;
6464 unsigned int volatile *__cil_tmp3 ;
6465
6466 {
6467#line 57
6468 __cil_tmp3 = (unsigned int volatile *)addr;
6469#line 57
6470 __asm__ volatile ("movl %1,%0": "=r" (ret): "m" (*__cil_tmp3): "memory");
6471#line 57
6472 return (ret);
6473}
6474}
6475#line 64 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6476__inline static void writew(unsigned short val , void volatile *addr )
6477{ unsigned short volatile *__cil_tmp3 ;
6478
6479 {
6480#line 64
6481 __cil_tmp3 = (unsigned short volatile *)addr;
6482#line 64
6483 __asm__ volatile ("movw %0,%1": : "r" (val), "m" (*__cil_tmp3): "memory");
6484#line 65
6485 return;
6486}
6487}
6488#line 65 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6489__inline static void writel(unsigned int val , void volatile *addr )
6490{ unsigned int volatile *__cil_tmp3 ;
6491
6492 {
6493#line 65
6494 __cil_tmp3 = (unsigned int volatile *)addr;
6495#line 65
6496 __asm__ volatile ("movl %0,%1": : "r" (val), "m" (*__cil_tmp3): "memory");
6497#line 66
6498 return;
6499}
6500}
6501#line 830 "include/linux/rcupdate.h"
6502extern void kfree(void const * ) ;
6503#line 3 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
6504int ldv_try_module_get(struct module *module ) ;
6505#line 4
6506void ldv_module_get(struct module *module ) ;
6507#line 5
6508void ldv_module_put(struct module *module ) ;
6509#line 6
6510unsigned int ldv_module_refcount(void) ;
6511#line 7
6512void ldv_module_put_and_exit(void) ;
6513#line 86 "include/linux/pm_wakeup.h"
6514extern int device_set_wakeup_enable(struct device * , bool ) ;
6515#line 788 "include/linux/device.h"
6516extern int dev_printk(char const * , struct device const * , char const * , ...) ;
6517#line 797
6518extern int dev_err(struct device const * , char const * , ...) ;
6519#line 799
6520extern int dev_warn(struct device const * , char const * , ...) ;
6521#line 803
6522extern int _dev_info(struct device const * , char const * , ...) ;
6523#line 1012 "include/linux/pci.h"
6524extern int pci_enable_msi_block(struct pci_dev * , unsigned int ) ;
6525#line 1014
6526extern void pci_disable_msi(struct pci_dev * ) ;
6527#line 221 "include/linux/slub_def.h"
6528extern void *__kmalloc(size_t , gfp_t ) ;
6529#line 255 "include/linux/slub_def.h"
6530__inline static void *kmalloc(size_t size , gfp_t flags )
6531{ void *tmp___2 ;
6532
6533 {
6534 {
6535#line 270
6536 tmp___2 = __kmalloc(size, flags);
6537 }
6538#line 270
6539 return (tmp___2);
6540}
6541}
6542#line 80 "include/linux/dma-mapping.h"
6543__inline static int valid_dma_direction(int dma_direction )
6544{ int tmp ;
6545
6546 {
6547#line 82
6548 if (dma_direction == 0) {
6549#line 82
6550 tmp = 1;
6551 } else
6552#line 82
6553 if (dma_direction == 1) {
6554#line 82
6555 tmp = 1;
6556 } else
6557#line 82
6558 if (dma_direction == 2) {
6559#line 82
6560 tmp = 1;
6561 } else {
6562#line 82
6563 tmp = 0;
6564 }
6565#line 82
6566 return (tmp);
6567}
6568}
6569#line 131 "include/linux/kmemcheck.h"
6570__inline static void kmemcheck_mark_initialized(void *address , unsigned int n )
6571{
6572
6573 {
6574#line 133
6575 return;
6576}
6577}
6578#line 37 "include/linux/dma-debug.h"
6579extern void debug_dma_map_page(struct device * , struct page * , size_t , size_t ,
6580 int , dma_addr_t , bool ) ;
6581#line 42
6582extern void debug_dma_unmap_page(struct device * , dma_addr_t , size_t , int ,
6583 bool ) ;
6584#line 29 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6585extern struct dma_map_ops *dma_ops ;
6586#line 31 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6587__inline static struct dma_map_ops *get_dma_ops(struct device *dev )
6588{ long tmp ;
6589 struct device *__cil_tmp3 ;
6590 unsigned long __cil_tmp4 ;
6591 unsigned long __cil_tmp5 ;
6592 int __cil_tmp6 ;
6593 long __cil_tmp7 ;
6594 struct dma_map_ops *__cil_tmp8 ;
6595 unsigned long __cil_tmp9 ;
6596 struct dma_map_ops *__cil_tmp10 ;
6597 unsigned long __cil_tmp11 ;
6598
6599 {
6600 {
6601#line 36
6602 __cil_tmp3 = (struct device *)0;
6603#line 36
6604 __cil_tmp4 = (unsigned long )__cil_tmp3;
6605#line 36
6606 __cil_tmp5 = (unsigned long )dev;
6607#line 36
6608 __cil_tmp6 = __cil_tmp5 == __cil_tmp4;
6609#line 36
6610 __cil_tmp7 = (long )__cil_tmp6;
6611#line 36
6612 tmp = __builtin_expect(__cil_tmp7, 0L);
6613 }
6614#line 36
6615 if (tmp != 0L) {
6616#line 37
6617 return (dma_ops);
6618 } else {
6619 {
6620#line 36
6621 __cil_tmp8 = (struct dma_map_ops *)0;
6622#line 36
6623 __cil_tmp9 = (unsigned long )__cil_tmp8;
6624#line 36
6625 __cil_tmp10 = dev->archdata.dma_ops;
6626#line 36
6627 __cil_tmp11 = (unsigned long )__cil_tmp10;
6628#line 36
6629 if (__cil_tmp11 == __cil_tmp9) {
6630#line 37
6631 return (dma_ops);
6632 } else {
6633#line 39
6634 return (dev->archdata.dma_ops);
6635 }
6636 }
6637 }
6638}
6639}
6640#line 9 "include/asm-generic/dma-mapping-common.h"
6641__inline static dma_addr_t dma_map_single_attrs(struct device *dev , void *ptr , size_t size ,
6642 enum dma_data_direction dir , struct dma_attrs *attrs )
6643{ struct dma_map_ops *ops ;
6644 struct dma_map_ops *tmp ;
6645 dma_addr_t addr ;
6646 int tmp___0 ;
6647 long tmp___1 ;
6648 unsigned long tmp___2 ;
6649 unsigned long tmp___3 ;
6650 unsigned int __cil_tmp13 ;
6651 int __cil_tmp14 ;
6652 int __cil_tmp15 ;
6653 long __cil_tmp16 ;
6654 unsigned long __cil_tmp17 ;
6655 dma_addr_t (*__cil_tmp18)(struct device * , struct page * , unsigned long , size_t ,
6656 enum dma_data_direction , struct dma_attrs * ) ;
6657 unsigned long __cil_tmp19 ;
6658 unsigned long __cil_tmp20 ;
6659 struct page *__cil_tmp21 ;
6660 unsigned long __cil_tmp22 ;
6661 unsigned long __cil_tmp23 ;
6662 unsigned long __cil_tmp24 ;
6663 unsigned long __cil_tmp25 ;
6664 unsigned long __cil_tmp26 ;
6665 struct page *__cil_tmp27 ;
6666 unsigned long __cil_tmp28 ;
6667 unsigned long __cil_tmp29 ;
6668 int __cil_tmp30 ;
6669 bool __cil_tmp31 ;
6670
6671 {
6672 {
6673#line 14
6674 tmp = get_dma_ops(dev);
6675#line 14
6676 ops = tmp;
6677#line 17
6678 __cil_tmp13 = (unsigned int )size;
6679#line 17
6680 kmemcheck_mark_initialized(ptr, __cil_tmp13);
6681#line 18
6682 __cil_tmp14 = (int )dir;
6683#line 18
6684 tmp___0 = valid_dma_direction(__cil_tmp14);
6685#line 18
6686 __cil_tmp15 = tmp___0 == 0;
6687#line 18
6688 __cil_tmp16 = (long )__cil_tmp15;
6689#line 18
6690 tmp___1 = __builtin_expect(__cil_tmp16, 0L);
6691 }
6692#line 18
6693 if (tmp___1 != 0L) {
6694#line 18
6695 __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"),
6696 "i" (18), "i" (12UL));
6697 ldv_18949: ;
6698#line 18
6699 goto ldv_18949;
6700 } else {
6701
6702 }
6703 {
6704#line 19
6705 __cil_tmp17 = (unsigned long )ptr;
6706#line 19
6707 tmp___2 = __phys_addr(__cil_tmp17);
6708#line 19
6709 __cil_tmp18 = ops->map_page;
6710#line 19
6711 __cil_tmp19 = tmp___2 >> 12;
6712#line 19
6713 __cil_tmp20 = 1152897315351035904UL + __cil_tmp19;
6714#line 19
6715 __cil_tmp21 = (struct page *)__cil_tmp20;
6716#line 19
6717 __cil_tmp22 = (unsigned long )ptr;
6718#line 19
6719 __cil_tmp23 = __cil_tmp22 & 4095UL;
6720#line 19
6721 addr = (*__cil_tmp18)(dev, __cil_tmp21, __cil_tmp23, size, dir, attrs);
6722#line 22
6723 __cil_tmp24 = (unsigned long )ptr;
6724#line 22
6725 tmp___3 = __phys_addr(__cil_tmp24);
6726#line 22
6727 __cil_tmp25 = tmp___3 >> 12;
6728#line 22
6729 __cil_tmp26 = 1152897315351035904UL + __cil_tmp25;
6730#line 22
6731 __cil_tmp27 = (struct page *)__cil_tmp26;
6732#line 22
6733 __cil_tmp28 = (unsigned long )ptr;
6734#line 22
6735 __cil_tmp29 = __cil_tmp28 & 4095UL;
6736#line 22
6737 __cil_tmp30 = (int )dir;
6738#line 22
6739 __cil_tmp31 = (bool )1;
6740#line 22
6741 debug_dma_map_page(dev, __cil_tmp27, __cil_tmp29, size, __cil_tmp30, addr, __cil_tmp31);
6742 }
6743#line 25
6744 return (addr);
6745}
6746}
6747#line 28 "include/asm-generic/dma-mapping-common.h"
6748__inline static void dma_unmap_single_attrs(struct device *dev , dma_addr_t addr ,
6749 size_t size , enum dma_data_direction dir ,
6750 struct dma_attrs *attrs )
6751{ struct dma_map_ops *ops ;
6752 struct dma_map_ops *tmp ;
6753 int tmp___0 ;
6754 long tmp___1 ;
6755 int __cil_tmp10 ;
6756 int __cil_tmp11 ;
6757 long __cil_tmp12 ;
6758 void (*__cil_tmp13)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
6759 struct dma_attrs * ) ;
6760 unsigned long __cil_tmp14 ;
6761 void (*__cil_tmp15)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
6762 struct dma_attrs * ) ;
6763 unsigned long __cil_tmp16 ;
6764 void (*__cil_tmp17)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
6765 struct dma_attrs * ) ;
6766 int __cil_tmp18 ;
6767 bool __cil_tmp19 ;
6768
6769 {
6770 {
6771#line 33
6772 tmp = get_dma_ops(dev);
6773#line 33
6774 ops = tmp;
6775#line 35
6776 __cil_tmp10 = (int )dir;
6777#line 35
6778 tmp___0 = valid_dma_direction(__cil_tmp10);
6779#line 35
6780 __cil_tmp11 = tmp___0 == 0;
6781#line 35
6782 __cil_tmp12 = (long )__cil_tmp11;
6783#line 35
6784 tmp___1 = __builtin_expect(__cil_tmp12, 0L);
6785 }
6786#line 35
6787 if (tmp___1 != 0L) {
6788#line 35
6789 __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"),
6790 "i" (35), "i" (12UL));
6791 ldv_18958: ;
6792#line 35
6793 goto ldv_18958;
6794 } else {
6795
6796 }
6797 {
6798#line 36
6799 __cil_tmp13 = (void (*)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
6800 struct dma_attrs * ))0;
6801#line 36
6802 __cil_tmp14 = (unsigned long )__cil_tmp13;
6803#line 36
6804 __cil_tmp15 = ops->unmap_page;
6805#line 36
6806 __cil_tmp16 = (unsigned long )__cil_tmp15;
6807#line 36
6808 if (__cil_tmp16 != __cil_tmp14) {
6809 {
6810#line 37
6811 __cil_tmp17 = ops->unmap_page;
6812#line 37
6813 (*__cil_tmp17)(dev, addr, size, dir, attrs);
6814 }
6815 } else {
6816
6817 }
6818 }
6819 {
6820#line 38
6821 __cil_tmp18 = (int )dir;
6822#line 38
6823 __cil_tmp19 = (bool )1;
6824#line 38
6825 debug_dma_unmap_page(dev, addr, size, __cil_tmp18, __cil_tmp19);
6826 }
6827#line 39
6828 return;
6829}
6830}
6831#line 85 "include/asm-generic/dma-mapping-common.h"
6832__inline static void dma_unmap_page(struct device *dev , dma_addr_t addr , size_t size ,
6833 enum dma_data_direction dir )
6834{ struct dma_map_ops *ops ;
6835 struct dma_map_ops *tmp ;
6836 int tmp___0 ;
6837 long tmp___1 ;
6838 int __cil_tmp9 ;
6839 int __cil_tmp10 ;
6840 long __cil_tmp11 ;
6841 void (*__cil_tmp12)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
6842 struct dma_attrs * ) ;
6843 unsigned long __cil_tmp13 ;
6844 void (*__cil_tmp14)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
6845 struct dma_attrs * ) ;
6846 unsigned long __cil_tmp15 ;
6847 void (*__cil_tmp16)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
6848 struct dma_attrs * ) ;
6849 struct dma_attrs *__cil_tmp17 ;
6850 int __cil_tmp18 ;
6851 bool __cil_tmp19 ;
6852
6853 {
6854 {
6855#line 88
6856 tmp = get_dma_ops(dev);
6857#line 88
6858 ops = tmp;
6859#line 90
6860 __cil_tmp9 = (int )dir;
6861#line 90
6862 tmp___0 = valid_dma_direction(__cil_tmp9);
6863#line 90
6864 __cil_tmp10 = tmp___0 == 0;
6865#line 90
6866 __cil_tmp11 = (long )__cil_tmp10;
6867#line 90
6868 tmp___1 = __builtin_expect(__cil_tmp11, 0L);
6869 }
6870#line 90
6871 if (tmp___1 != 0L) {
6872#line 90
6873 __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"),
6874 "i" (90), "i" (12UL));
6875 ldv_19000: ;
6876#line 90
6877 goto ldv_19000;
6878 } else {
6879
6880 }
6881 {
6882#line 91
6883 __cil_tmp12 = (void (*)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
6884 struct dma_attrs * ))0;
6885#line 91
6886 __cil_tmp13 = (unsigned long )__cil_tmp12;
6887#line 91
6888 __cil_tmp14 = ops->unmap_page;
6889#line 91
6890 __cil_tmp15 = (unsigned long )__cil_tmp14;
6891#line 91
6892 if (__cil_tmp15 != __cil_tmp13) {
6893 {
6894#line 92
6895 __cil_tmp16 = ops->unmap_page;
6896#line 92
6897 __cil_tmp17 = (struct dma_attrs *)0;
6898#line 92
6899 (*__cil_tmp16)(dev, addr, size, dir, __cil_tmp17);
6900 }
6901 } else {
6902
6903 }
6904 }
6905 {
6906#line 93
6907 __cil_tmp18 = (int )dir;
6908#line 93
6909 __cil_tmp19 = (bool )0;
6910#line 93
6911 debug_dma_unmap_page(dev, addr, size, __cil_tmp18, __cil_tmp19);
6912 }
6913#line 94
6914 return;
6915}
6916}
6917#line 30 "include/asm-generic/pci-dma-compat.h"
6918__inline static dma_addr_t pci_map_single(struct pci_dev *hwdev , void *ptr , size_t size ,
6919 int direction )
6920{ struct device *tmp ;
6921 dma_addr_t tmp___0 ;
6922 struct pci_dev *__cil_tmp7 ;
6923 unsigned long __cil_tmp8 ;
6924 unsigned long __cil_tmp9 ;
6925 enum dma_data_direction __cil_tmp10 ;
6926 struct dma_attrs *__cil_tmp11 ;
6927
6928 {
6929 {
6930#line 32
6931 __cil_tmp7 = (struct pci_dev *)0;
6932#line 32
6933 __cil_tmp8 = (unsigned long )__cil_tmp7;
6934#line 32
6935 __cil_tmp9 = (unsigned long )hwdev;
6936#line 32
6937 if (__cil_tmp9 != __cil_tmp8) {
6938#line 32
6939 tmp = & hwdev->dev;
6940 } else {
6941#line 32
6942 tmp = (struct device *)0;
6943 }
6944 }
6945 {
6946#line 32
6947 __cil_tmp10 = (enum dma_data_direction )direction;
6948#line 32
6949 __cil_tmp11 = (struct dma_attrs *)0;
6950#line 32
6951 tmp___0 = dma_map_single_attrs(tmp, ptr, size, __cil_tmp10, __cil_tmp11);
6952 }
6953#line 32
6954 return (tmp___0);
6955}
6956}
6957#line 36 "include/asm-generic/pci-dma-compat.h"
6958__inline static void pci_unmap_single(struct pci_dev *hwdev , dma_addr_t dma_addr ,
6959 size_t size , int direction )
6960{ struct device *tmp ;
6961 struct pci_dev *__cil_tmp6 ;
6962 unsigned long __cil_tmp7 ;
6963 unsigned long __cil_tmp8 ;
6964 enum dma_data_direction __cil_tmp9 ;
6965 struct dma_attrs *__cil_tmp10 ;
6966
6967 {
6968 {
6969#line 39
6970 __cil_tmp6 = (struct pci_dev *)0;
6971#line 39
6972 __cil_tmp7 = (unsigned long )__cil_tmp6;
6973#line 39
6974 __cil_tmp8 = (unsigned long )hwdev;
6975#line 39
6976 if (__cil_tmp8 != __cil_tmp7) {
6977#line 39
6978 tmp = & hwdev->dev;
6979 } else {
6980#line 39
6981 tmp = (struct device *)0;
6982 }
6983 }
6984 {
6985#line 39
6986 __cil_tmp9 = (enum dma_data_direction )direction;
6987#line 39
6988 __cil_tmp10 = (struct dma_attrs *)0;
6989#line 39
6990 dma_unmap_single_attrs(tmp, dma_addr, size, __cil_tmp9, __cil_tmp10);
6991 }
6992#line 40
6993 return;
6994}
6995}
6996#line 50 "include/asm-generic/pci-dma-compat.h"
6997__inline static void pci_unmap_page(struct pci_dev *hwdev , dma_addr_t dma_address ,
6998 size_t size , int direction )
6999{ struct device *tmp ;
7000 struct pci_dev *__cil_tmp6 ;
7001 unsigned long __cil_tmp7 ;
7002 unsigned long __cil_tmp8 ;
7003 enum dma_data_direction __cil_tmp9 ;
7004
7005 {
7006 {
7007#line 53
7008 __cil_tmp6 = (struct pci_dev *)0;
7009#line 53
7010 __cil_tmp7 = (unsigned long )__cil_tmp6;
7011#line 53
7012 __cil_tmp8 = (unsigned long )hwdev;
7013#line 53
7014 if (__cil_tmp8 != __cil_tmp7) {
7015#line 53
7016 tmp = & hwdev->dev;
7017 } else {
7018#line 53
7019 tmp = (struct device *)0;
7020 }
7021 }
7022 {
7023#line 53
7024 __cil_tmp9 = (enum dma_data_direction )direction;
7025#line 53
7026 dma_unmap_page(tmp, dma_address, size, __cil_tmp9);
7027 }
7028#line 54
7029 return;
7030}
7031}
7032#line 491 "include/linux/skbuff.h"
7033extern void consume_skb(struct sk_buff * ) ;
7034#line 1541
7035extern struct sk_buff *dev_alloc_skb(unsigned int ) ;
7036#line 46 "include/linux/delay.h"
7037extern void msleep(unsigned int ) ;
7038#line 443 "include/linux/netdevice.h"
7039extern void __napi_schedule(struct napi_struct * ) ;
7040#line 445 "include/linux/netdevice.h"
7041__inline static int napi_disable_pending(struct napi_struct *n )
7042{ int tmp ;
7043 unsigned long *__cil_tmp3 ;
7044 unsigned long const volatile *__cil_tmp4 ;
7045
7046 {
7047 {
7048#line 447
7049 __cil_tmp3 = & n->state;
7050#line 447
7051 __cil_tmp4 = (unsigned long const volatile *)__cil_tmp3;
7052#line 447
7053 tmp = constant_test_bit(1U, __cil_tmp4);
7054 }
7055#line 447
7056 return (tmp);
7057}
7058}
7059#line 459 "include/linux/netdevice.h"
7060__inline static int napi_schedule_prep(struct napi_struct *n )
7061{ int tmp ;
7062 int tmp___0 ;
7063 int tmp___1 ;
7064 unsigned long *__cil_tmp5 ;
7065 unsigned long volatile *__cil_tmp6 ;
7066
7067 {
7068 {
7069#line 461
7070 tmp = napi_disable_pending(n);
7071 }
7072#line 461
7073 if (tmp == 0) {
7074 {
7075#line 461
7076 __cil_tmp5 = & n->state;
7077#line 461
7078 __cil_tmp6 = (unsigned long volatile *)__cil_tmp5;
7079#line 461
7080 tmp___0 = test_and_set_bit(0, __cil_tmp6);
7081 }
7082#line 461
7083 if (tmp___0 == 0) {
7084#line 461
7085 tmp___1 = 1;
7086 } else {
7087#line 461
7088 tmp___1 = 0;
7089 }
7090 } else {
7091#line 461
7092 tmp___1 = 0;
7093 }
7094#line 461
7095 return (tmp___1);
7096}
7097}
7098#line 504 "include/linux/netdevice.h"
7099__inline static void napi_disable(struct napi_struct *n )
7100{ int tmp ;
7101 unsigned long *__cil_tmp3 ;
7102 unsigned long volatile *__cil_tmp4 ;
7103 unsigned long *__cil_tmp5 ;
7104 unsigned long volatile *__cil_tmp6 ;
7105 unsigned long *__cil_tmp7 ;
7106 unsigned long volatile *__cil_tmp8 ;
7107
7108 {
7109 {
7110#line 506
7111 __cil_tmp3 = & n->state;
7112#line 506
7113 __cil_tmp4 = (unsigned long volatile *)__cil_tmp3;
7114#line 506
7115 set_bit(1U, __cil_tmp4);
7116 }
7117#line 507
7118 goto ldv_32033;
7119 ldv_32032:
7120 {
7121#line 508
7122 msleep(1U);
7123 }
7124 ldv_32033:
7125 {
7126#line 507
7127 __cil_tmp5 = & n->state;
7128#line 507
7129 __cil_tmp6 = (unsigned long volatile *)__cil_tmp5;
7130#line 507
7131 tmp = test_and_set_bit(0, __cil_tmp6);
7132 }
7133#line 507
7134 if (tmp != 0) {
7135#line 508
7136 goto ldv_32032;
7137 } else {
7138#line 510
7139 goto ldv_32034;
7140 }
7141 ldv_32034:
7142 {
7143#line 509
7144 __cil_tmp7 = & n->state;
7145#line 509
7146 __cil_tmp8 = (unsigned long volatile *)__cil_tmp7;
7147#line 509
7148 clear_bit(1, __cil_tmp8);
7149 }
7150#line 510
7151 return;
7152}
7153}
7154#line 519 "include/linux/netdevice.h"
7155__inline static void napi_enable(struct napi_struct *n )
7156{ int tmp ;
7157 long tmp___0 ;
7158 unsigned long *__cil_tmp4 ;
7159 unsigned long const volatile *__cil_tmp5 ;
7160 int __cil_tmp6 ;
7161 long __cil_tmp7 ;
7162 unsigned long *__cil_tmp8 ;
7163 unsigned long volatile *__cil_tmp9 ;
7164
7165 {
7166 {
7167#line 521
7168 __cil_tmp4 = & n->state;
7169#line 521
7170 __cil_tmp5 = (unsigned long const volatile *)__cil_tmp4;
7171#line 521
7172 tmp = constant_test_bit(0U, __cil_tmp5);
7173#line 521
7174 __cil_tmp6 = tmp == 0;
7175#line 521
7176 __cil_tmp7 = (long )__cil_tmp6;
7177#line 521
7178 tmp___0 = __builtin_expect(__cil_tmp7, 0L);
7179 }
7180#line 521
7181 if (tmp___0 != 0L) {
7182#line 521
7183 __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/linux/netdevice.h"),
7184 "i" (521), "i" (12UL));
7185 ldv_32038: ;
7186#line 521
7187 goto ldv_32038;
7188 } else {
7189
7190 }
7191 {
7192#line 522
7193 __asm__ volatile ("": : : "memory");
7194#line 523
7195 __cil_tmp8 = & n->state;
7196#line 523
7197 __cil_tmp9 = (unsigned long volatile *)__cil_tmp8;
7198#line 523
7199 clear_bit(0, __cil_tmp9);
7200 }
7201#line 524
7202 return;
7203}
7204}
7205#line 1410 "include/linux/netdevice.h"
7206__inline static struct netdev_queue *netdev_get_tx_queue(struct net_device const *dev ,
7207 unsigned int index )
7208{ unsigned long __cil_tmp3 ;
7209 struct netdev_queue *__cil_tmp4 ;
7210 struct netdev_queue *__cil_tmp5 ;
7211
7212 {
7213 {
7214#line 1413
7215 __cil_tmp3 = (unsigned long )index;
7216#line 1413
7217 __cil_tmp4 = dev->_tx;
7218#line 1413
7219 __cil_tmp5 = (struct netdev_queue *)__cil_tmp4;
7220#line 1413
7221 return (__cil_tmp5 + __cil_tmp3);
7222 }
7223}
7224}
7225#line 1481 "include/linux/netdevice.h"
7226__inline static void *netdev_priv(struct net_device const *dev )
7227{ void *__cil_tmp2 ;
7228
7229 {
7230 {
7231#line 1483
7232 __cil_tmp2 = (void *)dev;
7233#line 1483
7234 return (__cil_tmp2 + 2560U);
7235 }
7236}
7237}
7238#line 127 "include/linux/hardirq.h"
7239extern void synchronize_irq(unsigned int ) ;
7240#line 124 "include/linux/interrupt.h"
7241extern int request_threaded_irq(unsigned int , irqreturn_t (*)(int , void * ) ,
7242 irqreturn_t (*)(int , void * ) , unsigned long ,
7243 char const * , void * ) ;
7244#line 129 "include/linux/interrupt.h"
7245__inline static int request_irq(unsigned int irq , irqreturn_t (*handler)(int , void * ) ,
7246 unsigned long flags , char const *name , void *dev )
7247{ int tmp ;
7248 irqreturn_t (*__cil_tmp7)(int , void * ) ;
7249
7250 {
7251 {
7252#line 132
7253 __cil_tmp7 = (irqreturn_t (*)(int , void * ))0;
7254#line 132
7255 tmp = request_threaded_irq(irq, handler, __cil_tmp7, flags, name, dev);
7256 }
7257#line 132
7258 return (tmp);
7259}
7260}
7261#line 170
7262extern void free_irq(unsigned int , void * ) ;
7263#line 1656 "include/linux/netdevice.h"
7264extern int netpoll_trap(void) ;
7265#line 1788
7266extern void __netif_schedule(struct Qdisc * ) ;
7267#line 1804 "include/linux/netdevice.h"
7268__inline static void netif_tx_start_queue(struct netdev_queue *dev_queue )
7269{ unsigned long *__cil_tmp2 ;
7270 unsigned long volatile *__cil_tmp3 ;
7271
7272 {
7273 {
7274#line 1806
7275 __cil_tmp2 = & dev_queue->state;
7276#line 1806
7277 __cil_tmp3 = (unsigned long volatile *)__cil_tmp2;
7278#line 1806
7279 clear_bit(0, __cil_tmp3);
7280 }
7281#line 1807
7282 return;
7283}
7284}
7285#line 1815 "include/linux/netdevice.h"
7286__inline static void netif_start_queue(struct net_device *dev )
7287{ struct netdev_queue *tmp ;
7288 struct net_device const *__cil_tmp3 ;
7289
7290 {
7291 {
7292#line 1817
7293 __cil_tmp3 = (struct net_device const *)dev;
7294#line 1817
7295 tmp = netdev_get_tx_queue(__cil_tmp3, 0U);
7296#line 1817
7297 netif_tx_start_queue(tmp);
7298 }
7299#line 1818
7300 return;
7301}
7302}
7303#line 1830 "include/linux/netdevice.h"
7304__inline static void netif_tx_wake_queue(struct netdev_queue *dev_queue )
7305{ int tmp ;
7306 int tmp___0 ;
7307 unsigned long *__cil_tmp4 ;
7308 unsigned long volatile *__cil_tmp5 ;
7309 struct Qdisc *__cil_tmp6 ;
7310
7311 {
7312 {
7313#line 1833
7314 tmp = netpoll_trap();
7315 }
7316#line 1833
7317 if (tmp != 0) {
7318 {
7319#line 1834
7320 netif_tx_start_queue(dev_queue);
7321 }
7322#line 1835
7323 return;
7324 } else {
7325
7326 }
7327 {
7328#line 1838
7329 __cil_tmp4 = & dev_queue->state;
7330#line 1838
7331 __cil_tmp5 = (unsigned long volatile *)__cil_tmp4;
7332#line 1838
7333 tmp___0 = test_and_clear_bit(0, __cil_tmp5);
7334 }
7335#line 1838
7336 if (tmp___0 != 0) {
7337 {
7338#line 1839
7339 __cil_tmp6 = dev_queue->qdisc;
7340#line 1839
7341 __netif_schedule(__cil_tmp6);
7342 }
7343 } else {
7344
7345 }
7346#line 1840
7347 return;
7348}
7349}
7350#line 1849 "include/linux/netdevice.h"
7351__inline static void netif_wake_queue(struct net_device *dev )
7352{ struct netdev_queue *tmp ;
7353 struct net_device const *__cil_tmp3 ;
7354
7355 {
7356 {
7357#line 1851
7358 __cil_tmp3 = (struct net_device const *)dev;
7359#line 1851
7360 tmp = netdev_get_tx_queue(__cil_tmp3, 0U);
7361#line 1851
7362 netif_tx_wake_queue(tmp);
7363 }
7364#line 1852
7365 return;
7366}
7367}
7368#line 1864 "include/linux/netdevice.h"
7369__inline static void netif_tx_stop_queue(struct netdev_queue *dev_queue )
7370{ int __ret_warn_on ;
7371 long tmp ;
7372 long tmp___0 ;
7373 struct netdev_queue *__cil_tmp5 ;
7374 unsigned long __cil_tmp6 ;
7375 unsigned long __cil_tmp7 ;
7376 int __cil_tmp8 ;
7377 long __cil_tmp9 ;
7378 int __cil_tmp10 ;
7379 int __cil_tmp11 ;
7380 int __cil_tmp12 ;
7381 long __cil_tmp13 ;
7382 unsigned long *__cil_tmp14 ;
7383 unsigned long volatile *__cil_tmp15 ;
7384
7385 {
7386 {
7387#line 1866
7388 __cil_tmp5 = (struct netdev_queue *)0;
7389#line 1866
7390 __cil_tmp6 = (unsigned long )__cil_tmp5;
7391#line 1866
7392 __cil_tmp7 = (unsigned long )dev_queue;
7393#line 1866
7394 __ret_warn_on = __cil_tmp7 == __cil_tmp6;
7395#line 1866
7396 __cil_tmp8 = __ret_warn_on != 0;
7397#line 1866
7398 __cil_tmp9 = (long )__cil_tmp8;
7399#line 1866
7400 tmp = __builtin_expect(__cil_tmp9, 0L);
7401 }
7402#line 1866
7403 if (tmp != 0L) {
7404 {
7405#line 1866
7406 __cil_tmp10 = (int const )1866;
7407#line 1866
7408 __cil_tmp11 = (int )__cil_tmp10;
7409#line 1866
7410 warn_slowpath_null("include/linux/netdevice.h", __cil_tmp11);
7411 }
7412 } else {
7413
7414 }
7415 {
7416#line 1866
7417 __cil_tmp12 = __ret_warn_on != 0;
7418#line 1866
7419 __cil_tmp13 = (long )__cil_tmp12;
7420#line 1866
7421 tmp___0 = __builtin_expect(__cil_tmp13, 0L);
7422 }
7423#line 1866
7424 if (tmp___0 != 0L) {
7425 {
7426#line 1867
7427 printk("<6>netif_stop_queue() cannot be called before register_netdev()\n");
7428 }
7429#line 1868
7430 return;
7431 } else {
7432
7433 }
7434 {
7435#line 1870
7436 __cil_tmp14 = & dev_queue->state;
7437#line 1870
7438 __cil_tmp15 = (unsigned long volatile *)__cil_tmp14;
7439#line 1870
7440 set_bit(0U, __cil_tmp15);
7441 }
7442#line 1871
7443 return;
7444}
7445}
7446#line 1880 "include/linux/netdevice.h"
7447__inline static void netif_stop_queue(struct net_device *dev )
7448{ struct netdev_queue *tmp ;
7449 struct net_device const *__cil_tmp3 ;
7450
7451 {
7452 {
7453#line 1882
7454 __cil_tmp3 = (struct net_device const *)dev;
7455#line 1882
7456 tmp = netdev_get_tx_queue(__cil_tmp3, 0U);
7457#line 1882
7458 netif_tx_stop_queue(tmp);
7459 }
7460#line 1883
7461 return;
7462}
7463}
7464#line 1895 "include/linux/netdevice.h"
7465__inline static int netif_tx_queue_stopped(struct netdev_queue const *dev_queue )
7466{ int tmp ;
7467 unsigned long const *__cil_tmp3 ;
7468 unsigned long const volatile *__cil_tmp4 ;
7469
7470 {
7471 {
7472#line 1897
7473 __cil_tmp3 = & dev_queue->state;
7474#line 1897
7475 __cil_tmp4 = (unsigned long const volatile *)__cil_tmp3;
7476#line 1897
7477 tmp = constant_test_bit(0U, __cil_tmp4);
7478 }
7479#line 1897
7480 return (tmp);
7481}
7482}
7483#line 1906 "include/linux/netdevice.h"
7484__inline static int netif_queue_stopped(struct net_device const *dev )
7485{ struct netdev_queue *tmp ;
7486 int tmp___0 ;
7487 struct netdev_queue const *__cil_tmp4 ;
7488
7489 {
7490 {
7491#line 1908
7492 tmp = netdev_get_tx_queue(dev, 0U);
7493#line 1908
7494 __cil_tmp4 = (struct netdev_queue const *)tmp;
7495#line 1908
7496 tmp___0 = netif_tx_queue_stopped(__cil_tmp4);
7497 }
7498#line 1908
7499 return (tmp___0);
7500}
7501}
7502#line 1922 "include/linux/netdevice.h"
7503__inline static int netif_running(struct net_device const *dev )
7504{ int tmp ;
7505 unsigned long const *__cil_tmp3 ;
7506 unsigned long const volatile *__cil_tmp4 ;
7507
7508 {
7509 {
7510#line 1924
7511 __cil_tmp3 = & dev->state;
7512#line 1924
7513 __cil_tmp4 = (unsigned long const volatile *)__cil_tmp3;
7514#line 1924
7515 tmp = constant_test_bit(0U, __cil_tmp4);
7516 }
7517#line 1924
7518 return (tmp);
7519}
7520}
7521#line 2055
7522extern void dev_kfree_skb_irq(struct sk_buff * ) ;
7523#line 2158 "include/linux/netdevice.h"
7524__inline static int netif_carrier_ok(struct net_device const *dev )
7525{ int tmp ;
7526 unsigned long const *__cil_tmp3 ;
7527 unsigned long const volatile *__cil_tmp4 ;
7528
7529 {
7530 {
7531#line 2160
7532 __cil_tmp3 = & dev->state;
7533#line 2160
7534 __cil_tmp4 = (unsigned long const volatile *)__cil_tmp3;
7535#line 2160
7536 tmp = constant_test_bit(2U, __cil_tmp4);
7537 }
7538#line 2160
7539 return (tmp == 0);
7540}
7541}
7542#line 2167
7543extern void netif_carrier_on(struct net_device * ) ;
7544#line 2169
7545extern void netif_carrier_off(struct net_device * ) ;
7546#line 62 "include/linux/etherdevice.h"
7547__inline static int is_zero_ether_addr(u8 const *addr )
7548{ u8 const *__cil_tmp2 ;
7549 u8 __cil_tmp3 ;
7550 unsigned char __cil_tmp4 ;
7551 int __cil_tmp5 ;
7552 u8 const *__cil_tmp6 ;
7553 u8 __cil_tmp7 ;
7554 unsigned char __cil_tmp8 ;
7555 int __cil_tmp9 ;
7556 u8 const *__cil_tmp10 ;
7557 u8 __cil_tmp11 ;
7558 unsigned char __cil_tmp12 ;
7559 int __cil_tmp13 ;
7560 u8 const *__cil_tmp14 ;
7561 u8 __cil_tmp15 ;
7562 unsigned char __cil_tmp16 ;
7563 int __cil_tmp17 ;
7564 u8 const *__cil_tmp18 ;
7565 u8 __cil_tmp19 ;
7566 unsigned char __cil_tmp20 ;
7567 int __cil_tmp21 ;
7568 u8 __cil_tmp22 ;
7569 unsigned char __cil_tmp23 ;
7570 int __cil_tmp24 ;
7571 int __cil_tmp25 ;
7572 int __cil_tmp26 ;
7573 int __cil_tmp27 ;
7574 int __cil_tmp28 ;
7575 int __cil_tmp29 ;
7576 unsigned int __cil_tmp30 ;
7577
7578 {
7579 {
7580#line 64
7581 __cil_tmp2 = addr + 5UL;
7582#line 64
7583 __cil_tmp3 = *__cil_tmp2;
7584#line 64
7585 __cil_tmp4 = (unsigned char )__cil_tmp3;
7586#line 64
7587 __cil_tmp5 = (int )__cil_tmp4;
7588#line 64
7589 __cil_tmp6 = addr + 4UL;
7590#line 64
7591 __cil_tmp7 = *__cil_tmp6;
7592#line 64
7593 __cil_tmp8 = (unsigned char )__cil_tmp7;
7594#line 64
7595 __cil_tmp9 = (int )__cil_tmp8;
7596#line 64
7597 __cil_tmp10 = addr + 3UL;
7598#line 64
7599 __cil_tmp11 = *__cil_tmp10;
7600#line 64
7601 __cil_tmp12 = (unsigned char )__cil_tmp11;
7602#line 64
7603 __cil_tmp13 = (int )__cil_tmp12;
7604#line 64
7605 __cil_tmp14 = addr + 2UL;
7606#line 64
7607 __cil_tmp15 = *__cil_tmp14;
7608#line 64
7609 __cil_tmp16 = (unsigned char )__cil_tmp15;
7610#line 64
7611 __cil_tmp17 = (int )__cil_tmp16;
7612#line 64
7613 __cil_tmp18 = addr + 1UL;
7614#line 64
7615 __cil_tmp19 = *__cil_tmp18;
7616#line 64
7617 __cil_tmp20 = (unsigned char )__cil_tmp19;
7618#line 64
7619 __cil_tmp21 = (int )__cil_tmp20;
7620#line 64
7621 __cil_tmp22 = *addr;
7622#line 64
7623 __cil_tmp23 = (unsigned char )__cil_tmp22;
7624#line 64
7625 __cil_tmp24 = (int )__cil_tmp23;
7626#line 64
7627 __cil_tmp25 = __cil_tmp24 | __cil_tmp21;
7628#line 64
7629 __cil_tmp26 = __cil_tmp25 | __cil_tmp17;
7630#line 64
7631 __cil_tmp27 = __cil_tmp26 | __cil_tmp13;
7632#line 64
7633 __cil_tmp28 = __cil_tmp27 | __cil_tmp9;
7634#line 64
7635 __cil_tmp29 = __cil_tmp28 | __cil_tmp5;
7636#line 64
7637 __cil_tmp30 = (unsigned int )__cil_tmp29;
7638#line 64
7639 return (__cil_tmp30 == 0U);
7640 }
7641}
7642}
7643#line 74 "include/linux/etherdevice.h"
7644__inline static int is_multicast_ether_addr(u8 const *addr )
7645{ u8 __cil_tmp2 ;
7646 int __cil_tmp3 ;
7647
7648 {
7649 {
7650#line 76
7651 __cil_tmp2 = *addr;
7652#line 76
7653 __cil_tmp3 = (int )__cil_tmp2;
7654#line 76
7655 return (__cil_tmp3 & 1);
7656 }
7657}
7658}
7659#line 121 "include/linux/etherdevice.h"
7660__inline static int is_valid_ether_addr(u8 const *addr )
7661{ int tmp ;
7662 int tmp___0 ;
7663 int tmp___1 ;
7664
7665 {
7666 {
7667#line 125
7668 tmp = is_multicast_ether_addr(addr);
7669 }
7670#line 125
7671 if (tmp == 0) {
7672 {
7673#line 125
7674 tmp___0 = is_zero_ether_addr(addr);
7675 }
7676#line 125
7677 if (tmp___0 == 0) {
7678#line 125
7679 tmp___1 = 1;
7680 } else {
7681#line 125
7682 tmp___1 = 0;
7683 }
7684 } else {
7685#line 125
7686 tmp___1 = 0;
7687 }
7688#line 125
7689 return (tmp___1);
7690}
7691}
7692#line 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c_hw.h"
7693void atl1c_phy_disable(struct atl1c_hw *hw ) ;
7694#line 33
7695void atl1c_hw_set_mac_addr(struct atl1c_hw *hw ) ;
7696#line 34
7697int atl1c_phy_reset(struct atl1c_hw *hw ) ;
7698#line 35
7699int atl1c_read_mac_addr(struct atl1c_hw *hw ) ;
7700#line 36
7701int atl1c_get_speed_and_duplex(struct atl1c_hw *hw , u16 *speed , u16 *duplex ) ;
7702#line 37
7703u32 atl1c_hash_mc_addr(struct atl1c_hw *hw , u8 *mc_addr ) ;
7704#line 38
7705void atl1c_hash_set(struct atl1c_hw *hw , u32 hash_value ) ;
7706#line 39
7707int atl1c_read_phy_reg(struct atl1c_hw *hw , u16 reg_addr , u16 *phy_data ) ;
7708#line 40
7709int atl1c_write_phy_reg(struct atl1c_hw *hw , u32 reg_addr , u16 phy_data ) ;
7710#line 42
7711int atl1c_phy_init(struct atl1c_hw *hw ) ;
7712#line 44
7713int atl1c_restart_autoneg(struct atl1c_hw *hw ) ;
7714#line 45
7715int atl1c_phy_power_saving(struct atl1c_hw *hw ) ;
7716#line 631 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c.h"
7717char atl1c_driver_name[6U] ;
7718#line 632
7719char atl1c_driver_version[13U] ;
7720#line 634
7721void atl1c_reinit_locked(struct atl1c_adapter *adapter ) ;
7722#line 636
7723void atl1c_set_ethtool_ops(struct net_device *netdev ) ;
7724#line 33 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
7725char atl1c_driver_name[6U] = { (char )'a', (char )'t', (char )'l', (char )'1',
7726 (char )'c', (char )'\000'};
7727#line 34 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
7728char atl1c_driver_version[13U] =
7729#line 34
7730 { (char )'1', (char )'.', (char )'0', (char )'.',
7731 (char )'1', (char )'.', (char )'0', (char )'-',
7732 (char )'N', (char )'A', (char )'P', (char )'I',
7733 (char )'\000'};
7734#line 63 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
7735struct pci_device_id const __mod_pci_device_table ;
7736#line 70
7737static int atl1c_stop_mac(struct atl1c_hw *hw ) ;
7738#line 71
7739static void atl1c_enable_rx_ctrl(struct atl1c_hw *hw ) ;
7740#line 72
7741static void atl1c_enable_tx_ctrl(struct atl1c_hw *hw ) ;
7742#line 74
7743static void atl1c_set_aspm(struct atl1c_hw *hw , bool linkup ) ;
7744#line 75
7745static void atl1c_setup_mac_ctrl(struct atl1c_adapter *adapter ) ;
7746#line 78
7747static int atl1c_up(struct atl1c_adapter *adapter ) ;
7748#line 79
7749static void atl1c_down(struct atl1c_adapter *adapter ) ;
7750#line 81 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
7751static u16 const atl1c_pay_load_size[6U] = { (u16 const )128U, (u16 const )256U, (u16 const )512U, (u16 const )1024U,
7752 (u16 const )2048U, (u16 const )4096U};
7753#line 85 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
7754static u16 const atl1c_rfd_prod_idx_regs[4U] = { (u16 const )5600U, (u16 const )5604U, (u16 const )5608U, (u16 const )5612U};
7755#line 93 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
7756static u16 const atl1c_rfd_addr_lo_regs[4U] = { (u16 const )5456U, (u16 const )5460U, (u16 const )5464U, (u16 const )5468U};
7757#line 101 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
7758static u16 const atl1c_rrd_addr_lo_regs[4U] = { (u16 const )5480U, (u16 const )5484U, (u16 const )5488U, (u16 const )5492U};
7759#line 182 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
7760__inline static void atl1c_irq_enable(struct atl1c_adapter *adapter )
7761{ int tmp ;
7762 long tmp___0 ;
7763 atomic_t *__cil_tmp4 ;
7764 int __cil_tmp5 ;
7765 long __cil_tmp6 ;
7766 u8 *__cil_tmp7 ;
7767 void volatile *__cil_tmp8 ;
7768 void volatile *__cil_tmp9 ;
7769 u32 __cil_tmp10 ;
7770 u8 *__cil_tmp11 ;
7771 void volatile *__cil_tmp12 ;
7772 void volatile *__cil_tmp13 ;
7773 u8 *__cil_tmp14 ;
7774 void const volatile *__cil_tmp15 ;
7775
7776 {
7777 {
7778#line 184
7779 __cil_tmp4 = & adapter->irq_sem;
7780#line 184
7781 tmp = atomic_dec_and_test(__cil_tmp4);
7782#line 184
7783 __cil_tmp5 = tmp != 0;
7784#line 184
7785 __cil_tmp6 = (long )__cil_tmp5;
7786#line 184
7787 tmp___0 = __builtin_expect(__cil_tmp6, 1L);
7788 }
7789#line 184
7790 if (tmp___0 != 0L) {
7791 {
7792#line 185
7793 __cil_tmp7 = adapter->hw.hw_addr;
7794#line 185
7795 __cil_tmp8 = (void volatile *)__cil_tmp7;
7796#line 185
7797 __cil_tmp9 = __cil_tmp8 + 5632U;
7798#line 185
7799 writel(2147483647U, __cil_tmp9);
7800#line 186
7801 __cil_tmp10 = adapter->hw.intr_mask;
7802#line 186
7803 __cil_tmp11 = adapter->hw.hw_addr;
7804#line 186
7805 __cil_tmp12 = (void volatile *)__cil_tmp11;
7806#line 186
7807 __cil_tmp13 = __cil_tmp12 + 5636U;
7808#line 186
7809 writel(__cil_tmp10, __cil_tmp13);
7810#line 187
7811 __cil_tmp14 = adapter->hw.hw_addr;
7812#line 187
7813 __cil_tmp15 = (void const volatile *)__cil_tmp14;
7814#line 187
7815 readl(__cil_tmp15);
7816 }
7817 } else {
7818
7819 }
7820#line 189
7821 return;
7822}
7823}
7824#line 195 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
7825__inline static void atl1c_irq_disable(struct atl1c_adapter *adapter )
7826{ atomic_t *__cil_tmp2 ;
7827 u8 *__cil_tmp3 ;
7828 void volatile *__cil_tmp4 ;
7829 void volatile *__cil_tmp5 ;
7830 u8 *__cil_tmp6 ;
7831 void volatile *__cil_tmp7 ;
7832 void volatile *__cil_tmp8 ;
7833 u8 *__cil_tmp9 ;
7834 void const volatile *__cil_tmp10 ;
7835 struct pci_dev *__cil_tmp11 ;
7836 unsigned int __cil_tmp12 ;
7837
7838 {
7839 {
7840#line 197
7841 __cil_tmp2 = & adapter->irq_sem;
7842#line 197
7843 atomic_inc(__cil_tmp2);
7844#line 198
7845 __cil_tmp3 = adapter->hw.hw_addr;
7846#line 198
7847 __cil_tmp4 = (void volatile *)__cil_tmp3;
7848#line 198
7849 __cil_tmp5 = __cil_tmp4 + 5636U;
7850#line 198
7851 writel(0U, __cil_tmp5);
7852#line 199
7853 __cil_tmp6 = adapter->hw.hw_addr;
7854#line 199
7855 __cil_tmp7 = (void volatile *)__cil_tmp6;
7856#line 199
7857 __cil_tmp8 = __cil_tmp7 + 5632U;
7858#line 199
7859 writel(2147483648U, __cil_tmp8);
7860#line 200
7861 __cil_tmp9 = adapter->hw.hw_addr;
7862#line 200
7863 __cil_tmp10 = (void const volatile *)__cil_tmp9;
7864#line 200
7865 readl(__cil_tmp10);
7866#line 201
7867 __cil_tmp11 = adapter->pdev;
7868#line 201
7869 __cil_tmp12 = __cil_tmp11->irq;
7870#line 201
7871 synchronize_irq(__cil_tmp12);
7872 }
7873#line 202
7874 return;
7875}
7876}
7877#line 218 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
7878static u32 atl1c_wait_until_idle(struct atl1c_hw *hw )
7879{ int timeout ;
7880 u32 data ;
7881 long tmp ;
7882 bool __cil_tmp5 ;
7883 long __cil_tmp6 ;
7884 u8 *__cil_tmp7 ;
7885 void const volatile *__cil_tmp8 ;
7886 void const volatile *__cil_tmp9 ;
7887 u8 *__cil_tmp10 ;
7888 void const volatile *__cil_tmp11 ;
7889 void const volatile *__cil_tmp12 ;
7890 u8 *__cil_tmp13 ;
7891 void const volatile *__cil_tmp14 ;
7892 void const volatile *__cil_tmp15 ;
7893 unsigned int __cil_tmp16 ;
7894
7895 {
7896#line 223
7897 timeout = 0;
7898#line 223
7899 goto ldv_42453;
7900 ldv_42452:
7901 {
7902#line 224
7903 __cil_tmp5 = hw->hibernate;
7904#line 224
7905 __cil_tmp6 = (long )__cil_tmp5;
7906#line 224
7907 tmp = __builtin_expect(__cil_tmp6, 0L);
7908 }
7909#line 224
7910 if (tmp != 0L) {
7911 {
7912#line 224
7913 __cil_tmp7 = hw->hw_addr;
7914#line 224
7915 __cil_tmp8 = (void const volatile *)__cil_tmp7;
7916#line 224
7917 __cil_tmp9 = __cil_tmp8 + 5136U;
7918#line 224
7919 readl(__cil_tmp9);
7920#line 224
7921 __cil_tmp10 = hw->hw_addr;
7922#line 224
7923 __cil_tmp11 = (void const volatile *)__cil_tmp10;
7924#line 224
7925 __cil_tmp12 = __cil_tmp11 + 5136U;
7926#line 224
7927 data = readl(__cil_tmp12);
7928 }
7929 } else {
7930 {
7931#line 224
7932 __cil_tmp13 = hw->hw_addr;
7933#line 224
7934 __cil_tmp14 = (void const volatile *)__cil_tmp13;
7935#line 224
7936 __cil_tmp15 = __cil_tmp14 + 5136U;
7937#line 224
7938 data = readl(__cil_tmp15);
7939 }
7940 }
7941 {
7942#line 225
7943 __cil_tmp16 = data & 255U;
7944#line 225
7945 if (__cil_tmp16 == 0U) {
7946#line 226
7947 return (0U);
7948 } else {
7949
7950 }
7951 }
7952 {
7953#line 227
7954 msleep(1U);
7955#line 223
7956 timeout = timeout + 1;
7957 }
7958 ldv_42453: ;
7959#line 223
7960 if (timeout <= 9) {
7961#line 224
7962 goto ldv_42452;
7963 } else {
7964#line 226
7965 goto ldv_42454;
7966 }
7967 ldv_42454: ;
7968#line 229
7969 return (data);
7970}
7971}
7972#line 247 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
7973void atl1c_reinit_locked(struct atl1c_adapter *adapter )
7974{ int __ret_warn_on ;
7975 struct thread_info *tmp ;
7976 long tmp___0 ;
7977 int __cil_tmp5 ;
7978 unsigned long __cil_tmp6 ;
7979 unsigned long __cil_tmp7 ;
7980 int __cil_tmp8 ;
7981 long __cil_tmp9 ;
7982 int __cil_tmp10 ;
7983 int __cil_tmp11 ;
7984 int __cil_tmp12 ;
7985 long __cil_tmp13 ;
7986 unsigned long *__cil_tmp14 ;
7987 unsigned long volatile *__cil_tmp15 ;
7988
7989 {
7990 {
7991#line 249
7992 tmp = current_thread_info();
7993#line 249
7994 __cil_tmp5 = tmp->preempt_count;
7995#line 249
7996 __cil_tmp6 = (unsigned long )__cil_tmp5;
7997#line 249
7998 __cil_tmp7 = __cil_tmp6 & 134217472UL;
7999#line 249
8000 __ret_warn_on = __cil_tmp7 != 0UL;
8001#line 249
8002 __cil_tmp8 = __ret_warn_on != 0;
8003#line 249
8004 __cil_tmp9 = (long )__cil_tmp8;
8005#line 249
8006 tmp___0 = __builtin_expect(__cil_tmp9, 0L);
8007 }
8008#line 249
8009 if (tmp___0 != 0L) {
8010 {
8011#line 249
8012 __cil_tmp10 = (int const )249;
8013#line 249
8014 __cil_tmp11 = (int )__cil_tmp10;
8015#line 249
8016 warn_slowpath_null("/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p",
8017 __cil_tmp11);
8018 }
8019 } else {
8020
8021 }
8022 {
8023#line 249
8024 __cil_tmp12 = __ret_warn_on != 0;
8025#line 249
8026 __cil_tmp13 = (long )__cil_tmp12;
8027#line 249
8028 __builtin_expect(__cil_tmp13, 0L);
8029#line 250
8030 atl1c_down(adapter);
8031#line 251
8032 atl1c_up(adapter);
8033#line 252
8034 __cil_tmp14 = & adapter->flags;
8035#line 252
8036 __cil_tmp15 = (unsigned long volatile *)__cil_tmp14;
8037#line 252
8038 clear_bit(2, __cil_tmp15);
8039 }
8040#line 253
8041 return;
8042}
8043}
8044#line 255 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
8045static void atl1c_check_link_status(struct atl1c_adapter *adapter )
8046{ struct atl1c_hw *hw ;
8047 struct net_device *netdev ;
8048 struct pci_dev *pdev ;
8049 int err ;
8050 unsigned long flags ;
8051 u16 speed ;
8052 u16 duplex ;
8053 u16 phy_data ;
8054 raw_spinlock_t *tmp ;
8055 int tmp___0 ;
8056 raw_spinlock_t *tmp___1 ;
8057 long tmp___2 ;
8058 char *tmp___3 ;
8059 int tmp___4 ;
8060 spinlock_t *__cil_tmp16 ;
8061 u16 __cil_tmp17 ;
8062 u16 __cil_tmp18 ;
8063 spinlock_t *__cil_tmp19 ;
8064 int __cil_tmp20 ;
8065 int __cil_tmp21 ;
8066 u32 __cil_tmp22 ;
8067 unsigned int __cil_tmp23 ;
8068 struct device *__cil_tmp24 ;
8069 struct device const *__cil_tmp25 ;
8070 bool __cil_tmp26 ;
8071 struct atl1c_hw *__cil_tmp27 ;
8072 spinlock_t *__cil_tmp28 ;
8073 spinlock_t *__cil_tmp29 ;
8074 int __cil_tmp30 ;
8075 long __cil_tmp31 ;
8076 int __cil_tmp32 ;
8077 u16 __cil_tmp33 ;
8078 int __cil_tmp34 ;
8079 int __cil_tmp35 ;
8080 u16 __cil_tmp36 ;
8081 int __cil_tmp37 ;
8082 bool __cil_tmp38 ;
8083 u32 __cil_tmp39 ;
8084 unsigned int __cil_tmp40 ;
8085 u16 __cil_tmp41 ;
8086 unsigned int __cil_tmp42 ;
8087 struct device *__cil_tmp43 ;
8088 struct device const *__cil_tmp44 ;
8089 char *__cil_tmp45 ;
8090 char (*__cil_tmp46)[16U] ;
8091 char *__cil_tmp47 ;
8092 u16 __cil_tmp48 ;
8093 int __cil_tmp49 ;
8094 struct net_device const *__cil_tmp50 ;
8095
8096 {
8097 {
8098#line 257
8099 hw = & adapter->hw;
8100#line 258
8101 netdev = adapter->netdev;
8102#line 259
8103 pdev = adapter->pdev;
8104#line 264
8105 __cil_tmp16 = & adapter->mdio_lock;
8106#line 264
8107 tmp = spinlock_check(__cil_tmp16);
8108#line 264
8109 flags = _raw_spin_lock_irqsave(tmp);
8110#line 266
8111 __cil_tmp17 = (u16 )1;
8112#line 266
8113 atl1c_read_phy_reg(hw, __cil_tmp17, & phy_data);
8114#line 267
8115 __cil_tmp18 = (u16 )1;
8116#line 267
8117 atl1c_read_phy_reg(hw, __cil_tmp18, & phy_data);
8118#line 268
8119 __cil_tmp19 = & adapter->mdio_lock;
8120#line 268
8121 spin_unlock_irqrestore(__cil_tmp19, flags);
8122 }
8123 {
8124#line 270
8125 __cil_tmp20 = (int )phy_data;
8126#line 270
8127 __cil_tmp21 = __cil_tmp20 & 4;
8128#line 270
8129 if (__cil_tmp21 == 0) {
8130 {
8131#line 272
8132 hw->hibernate = (bool )1;
8133#line 273
8134 tmp___0 = atl1c_stop_mac(hw);
8135 }
8136#line 273
8137 if (tmp___0 != 0) {
8138 {
8139#line 274
8140 __cil_tmp22 = adapter->msg_enable;
8141#line 274
8142 __cil_tmp23 = __cil_tmp22 & 8192U;
8143#line 274
8144 if (__cil_tmp23 != 0U) {
8145 {
8146#line 275
8147 __cil_tmp24 = & pdev->dev;
8148#line 275
8149 __cil_tmp25 = (struct device const *)__cil_tmp24;
8150#line 275
8151 dev_warn(__cil_tmp25, "stop mac failed\n");
8152 }
8153 } else {
8154
8155 }
8156 }
8157 } else {
8158
8159 }
8160 {
8161#line 276
8162 __cil_tmp26 = (bool )0;
8163#line 276
8164 atl1c_set_aspm(hw, __cil_tmp26);
8165#line 277
8166 netif_carrier_off(netdev);
8167#line 278
8168 netif_stop_queue(netdev);
8169#line 279
8170 atl1c_phy_reset(hw);
8171#line 280
8172 __cil_tmp27 = & adapter->hw;
8173#line 280
8174 atl1c_phy_init(__cil_tmp27);
8175 }
8176 } else {
8177 {
8178#line 283
8179 hw->hibernate = (bool )0;
8180#line 284
8181 __cil_tmp28 = & adapter->mdio_lock;
8182#line 284
8183 tmp___1 = spinlock_check(__cil_tmp28);
8184#line 284
8185 flags = _raw_spin_lock_irqsave(tmp___1);
8186#line 285
8187 err = atl1c_get_speed_and_duplex(hw, & speed, & duplex);
8188#line 286
8189 __cil_tmp29 = & adapter->mdio_lock;
8190#line 286
8191 spin_unlock_irqrestore(__cil_tmp29, flags);
8192#line 287
8193 __cil_tmp30 = err != 0;
8194#line 287
8195 __cil_tmp31 = (long )__cil_tmp30;
8196#line 287
8197 tmp___2 = __builtin_expect(__cil_tmp31, 0L);
8198 }
8199#line 287
8200 if (tmp___2 != 0L) {
8201#line 288
8202 return;
8203 } else {
8204
8205 }
8206 {
8207#line 290
8208 __cil_tmp32 = (int )speed;
8209#line 290
8210 __cil_tmp33 = adapter->link_speed;
8211#line 290
8212 __cil_tmp34 = (int )__cil_tmp33;
8213#line 290
8214 if (__cil_tmp34 != __cil_tmp32) {
8215#line 290
8216 goto _L;
8217 } else {
8218 {
8219#line 290
8220 __cil_tmp35 = (int )duplex;
8221#line 290
8222 __cil_tmp36 = adapter->link_duplex;
8223#line 290
8224 __cil_tmp37 = (int )__cil_tmp36;
8225#line 290
8226 if (__cil_tmp37 != __cil_tmp35) {
8227 _L:
8228 {
8229#line 292
8230 adapter->link_speed = speed;
8231#line 293
8232 adapter->link_duplex = duplex;
8233#line 294
8234 __cil_tmp38 = (bool )1;
8235#line 294
8236 atl1c_set_aspm(hw, __cil_tmp38);
8237#line 295
8238 atl1c_enable_tx_ctrl(hw);
8239#line 296
8240 atl1c_enable_rx_ctrl(hw);
8241#line 297
8242 atl1c_setup_mac_ctrl(adapter);
8243 }
8244 {
8245#line 298
8246 __cil_tmp39 = adapter->msg_enable;
8247#line 298
8248 __cil_tmp40 = __cil_tmp39 & 4U;
8249#line 298
8250 if (__cil_tmp40 != 0U) {
8251 {
8252#line 299
8253 __cil_tmp41 = adapter->link_duplex;
8254#line 299
8255 __cil_tmp42 = (unsigned int )__cil_tmp41;
8256#line 299
8257 if (__cil_tmp42 == 2U) {
8258#line 299
8259 tmp___3 = (char *)"Full Duplex";
8260 } else {
8261#line 299
8262 tmp___3 = (char *)"Half Duplex";
8263 }
8264 }
8265 {
8266#line 299
8267 __cil_tmp43 = & pdev->dev;
8268#line 299
8269 __cil_tmp44 = (struct device const *)__cil_tmp43;
8270#line 299
8271 __cil_tmp45 = (char *)(& atl1c_driver_name);
8272#line 299
8273 __cil_tmp46 = & netdev->name;
8274#line 299
8275 __cil_tmp47 = (char *)__cil_tmp46;
8276#line 299
8277 __cil_tmp48 = adapter->link_speed;
8278#line 299
8279 __cil_tmp49 = (int )__cil_tmp48;
8280#line 299
8281 _dev_info(__cil_tmp44, "%s: %s NIC Link is Up<%d Mbps %s>\n", __cil_tmp45,
8282 __cil_tmp47, __cil_tmp49, tmp___3);
8283 }
8284 } else {
8285
8286 }
8287 }
8288 } else {
8289
8290 }
8291 }
8292 }
8293 }
8294 {
8295#line 306
8296 __cil_tmp50 = (struct net_device const *)netdev;
8297#line 306
8298 tmp___4 = netif_carrier_ok(__cil_tmp50);
8299 }
8300#line 306
8301 if (tmp___4 == 0) {
8302 {
8303#line 307
8304 netif_carrier_on(netdev);
8305 }
8306 } else {
8307
8308 }
8309 }
8310 }
8311#line 309
8312 return;
8313}
8314}
8315#line 311 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
8316static void atl1c_link_chg_event(struct atl1c_adapter *adapter )
8317{ struct net_device *netdev ;
8318 struct pci_dev *pdev ;
8319 u16 phy_data ;
8320 u16 link_up ;
8321 int tmp ;
8322 spinlock_t *__cil_tmp7 ;
8323 struct atl1c_hw *__cil_tmp8 ;
8324 u16 __cil_tmp9 ;
8325 struct atl1c_hw *__cil_tmp10 ;
8326 u16 __cil_tmp11 ;
8327 spinlock_t *__cil_tmp12 ;
8328 unsigned int __cil_tmp13 ;
8329 unsigned int __cil_tmp14 ;
8330 unsigned int __cil_tmp15 ;
8331 struct net_device const *__cil_tmp16 ;
8332 u32 __cil_tmp17 ;
8333 unsigned int __cil_tmp18 ;
8334 struct device *__cil_tmp19 ;
8335 struct device const *__cil_tmp20 ;
8336 char *__cil_tmp21 ;
8337 char (*__cil_tmp22)[16U] ;
8338 char *__cil_tmp23 ;
8339 unsigned long *__cil_tmp24 ;
8340 unsigned long volatile *__cil_tmp25 ;
8341 struct work_struct *__cil_tmp26 ;
8342
8343 {
8344 {
8345#line 313
8346 netdev = adapter->netdev;
8347#line 314
8348 pdev = adapter->pdev;
8349#line 318
8350 __cil_tmp7 = & adapter->mdio_lock;
8351#line 318
8352 spin_lock(__cil_tmp7);
8353#line 319
8354 __cil_tmp8 = & adapter->hw;
8355#line 319
8356 __cil_tmp9 = (u16 )1;
8357#line 319
8358 atl1c_read_phy_reg(__cil_tmp8, __cil_tmp9, & phy_data);
8359#line 320
8360 __cil_tmp10 = & adapter->hw;
8361#line 320
8362 __cil_tmp11 = (u16 )1;
8363#line 320
8364 atl1c_read_phy_reg(__cil_tmp10, __cil_tmp11, & phy_data);
8365#line 321
8366 __cil_tmp12 = & adapter->mdio_lock;
8367#line 321
8368 spin_unlock(__cil_tmp12);
8369#line 322
8370 __cil_tmp13 = (unsigned int )phy_data;
8371#line 322
8372 __cil_tmp14 = __cil_tmp13 & 4U;
8373#line 322
8374 link_up = (u16 )__cil_tmp14;
8375 }
8376 {
8377#line 324
8378 __cil_tmp15 = (unsigned int )link_up;
8379#line 324
8380 if (__cil_tmp15 == 0U) {
8381 {
8382#line 325
8383 __cil_tmp16 = (struct net_device const *)netdev;
8384#line 325
8385 tmp = netif_carrier_ok(__cil_tmp16);
8386 }
8387#line 325
8388 if (tmp != 0) {
8389 {
8390#line 327
8391 netif_carrier_off(netdev);
8392 }
8393 {
8394#line 328
8395 __cil_tmp17 = adapter->msg_enable;
8396#line 328
8397 __cil_tmp18 = __cil_tmp17 & 4U;
8398#line 328
8399 if (__cil_tmp18 != 0U) {
8400 {
8401#line 329
8402 __cil_tmp19 = & pdev->dev;
8403#line 329
8404 __cil_tmp20 = (struct device const *)__cil_tmp19;
8405#line 329
8406 __cil_tmp21 = (char *)(& atl1c_driver_name);
8407#line 329
8408 __cil_tmp22 = & netdev->name;
8409#line 329
8410 __cil_tmp23 = (char *)__cil_tmp22;
8411#line 329
8412 _dev_info(__cil_tmp20, "%s: %s NIC Link is Down\n", __cil_tmp21, __cil_tmp23);
8413 }
8414 } else {
8415
8416 }
8417 }
8418#line 332
8419 adapter->link_speed = (u16 )65535U;
8420 } else {
8421
8422 }
8423 } else {
8424
8425 }
8426 }
8427 {
8428#line 336
8429 __cil_tmp24 = & adapter->work_event;
8430#line 336
8431 __cil_tmp25 = (unsigned long volatile *)__cil_tmp24;
8432#line 336
8433 set_bit(1U, __cil_tmp25);
8434#line 337
8435 __cil_tmp26 = & adapter->common_task;
8436#line 337
8437 schedule_work(__cil_tmp26);
8438 }
8439#line 338
8440 return;
8441}
8442}
8443#line 361 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
8444static void atl1c_del_timer(struct atl1c_adapter *adapter )
8445{ struct timer_list *__cil_tmp2 ;
8446
8447 {
8448 {
8449#line 363
8450 __cil_tmp2 = & adapter->phy_config_timer;
8451#line 363
8452 del_timer_sync(__cil_tmp2);
8453 }
8454#line 364
8455 return;
8456}
8457}
8458#line 389 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
8459static void atl1c_set_multi(struct net_device *netdev )
8460{ struct atl1c_adapter *adapter ;
8461 void *tmp ;
8462 struct atl1c_hw *hw ;
8463 struct netdev_hw_addr *ha ;
8464 u32 mac_ctrl_data ;
8465 u32 hash_value ;
8466 long tmp___0 ;
8467 struct list_head const *__mptr ;
8468 struct list_head const *__mptr___0 ;
8469 struct net_device const *__cil_tmp11 ;
8470 bool __cil_tmp12 ;
8471 long __cil_tmp13 ;
8472 u8 *__cil_tmp14 ;
8473 void const volatile *__cil_tmp15 ;
8474 void const volatile *__cil_tmp16 ;
8475 u8 *__cil_tmp17 ;
8476 void const volatile *__cil_tmp18 ;
8477 void const volatile *__cil_tmp19 ;
8478 u8 *__cil_tmp20 ;
8479 void const volatile *__cil_tmp21 ;
8480 void const volatile *__cil_tmp22 ;
8481 unsigned int __cil_tmp23 ;
8482 unsigned int __cil_tmp24 ;
8483 unsigned int __cil_tmp25 ;
8484 unsigned int __cil_tmp26 ;
8485 u8 *__cil_tmp27 ;
8486 void volatile *__cil_tmp28 ;
8487 void volatile *__cil_tmp29 ;
8488 u8 *__cil_tmp30 ;
8489 void volatile *__cil_tmp31 ;
8490 void volatile *__cil_tmp32 ;
8491 u8 *__cil_tmp33 ;
8492 void volatile *__cil_tmp34 ;
8493 void volatile *__cil_tmp35 ;
8494 struct list_head *__cil_tmp36 ;
8495 unsigned char (*__cil_tmp37)[32U] ;
8496 u8 *__cil_tmp38 ;
8497 struct list_head *__cil_tmp39 ;
8498 struct list_head *__cil_tmp40 ;
8499 unsigned long __cil_tmp41 ;
8500 struct list_head *__cil_tmp42 ;
8501 unsigned long __cil_tmp43 ;
8502
8503 {
8504 {
8505#line 391
8506 __cil_tmp11 = (struct net_device const *)netdev;
8507#line 391
8508 tmp = netdev_priv(__cil_tmp11);
8509#line 391
8510 adapter = (struct atl1c_adapter *)tmp;
8511#line 392
8512 hw = & adapter->hw;
8513#line 398
8514 __cil_tmp12 = hw->hibernate;
8515#line 398
8516 __cil_tmp13 = (long )__cil_tmp12;
8517#line 398
8518 tmp___0 = __builtin_expect(__cil_tmp13, 0L);
8519 }
8520#line 398
8521 if (tmp___0 != 0L) {
8522 {
8523#line 398
8524 __cil_tmp14 = hw->hw_addr;
8525#line 398
8526 __cil_tmp15 = (void const volatile *)__cil_tmp14;
8527#line 398
8528 __cil_tmp16 = __cil_tmp15 + 5248U;
8529#line 398
8530 readl(__cil_tmp16);
8531#line 398
8532 __cil_tmp17 = hw->hw_addr;
8533#line 398
8534 __cil_tmp18 = (void const volatile *)__cil_tmp17;
8535#line 398
8536 __cil_tmp19 = __cil_tmp18 + 5248U;
8537#line 398
8538 mac_ctrl_data = readl(__cil_tmp19);
8539 }
8540 } else {
8541 {
8542#line 398
8543 __cil_tmp20 = hw->hw_addr;
8544#line 398
8545 __cil_tmp21 = (void const volatile *)__cil_tmp20;
8546#line 398
8547 __cil_tmp22 = __cil_tmp21 + 5248U;
8548#line 398
8549 mac_ctrl_data = readl(__cil_tmp22);
8550 }
8551 }
8552 {
8553#line 400
8554 __cil_tmp23 = netdev->flags;
8555#line 400
8556 __cil_tmp24 = __cil_tmp23 & 256U;
8557#line 400
8558 if (__cil_tmp24 != 0U) {
8559#line 401
8560 mac_ctrl_data = mac_ctrl_data | 32768U;
8561 } else {
8562 {
8563#line 402
8564 __cil_tmp25 = netdev->flags;
8565#line 402
8566 __cil_tmp26 = __cil_tmp25 & 512U;
8567#line 402
8568 if (__cil_tmp26 != 0U) {
8569#line 403
8570 mac_ctrl_data = mac_ctrl_data | 33554432U;
8571#line 404
8572 mac_ctrl_data = mac_ctrl_data & 4294934527U;
8573 } else {
8574#line 406
8575 mac_ctrl_data = mac_ctrl_data & 4261380095U;
8576 }
8577 }
8578 }
8579 }
8580 {
8581#line 409
8582 __cil_tmp27 = hw->hw_addr;
8583#line 409
8584 __cil_tmp28 = (void volatile *)__cil_tmp27;
8585#line 409
8586 __cil_tmp29 = __cil_tmp28 + 5248U;
8587#line 409
8588 writel(mac_ctrl_data, __cil_tmp29);
8589#line 412
8590 __cil_tmp30 = hw->hw_addr;
8591#line 412
8592 __cil_tmp31 = (void volatile *)__cil_tmp30;
8593#line 412
8594 __cil_tmp32 = __cil_tmp31 + 5264U;
8595#line 412
8596 writel(0U, __cil_tmp32);
8597#line 413
8598 __cil_tmp33 = hw->hw_addr;
8599#line 413
8600 __cil_tmp34 = (void volatile *)__cil_tmp33;
8601#line 413
8602 __cil_tmp35 = __cil_tmp34 + 5268U;
8603#line 413
8604 writel(0U, __cil_tmp35);
8605#line 416
8606 __cil_tmp36 = netdev->mc.list.next;
8607#line 416
8608 __mptr = (struct list_head const *)__cil_tmp36;
8609#line 416
8610 ha = (struct netdev_hw_addr *)__mptr;
8611 }
8612#line 416
8613 goto ldv_42520;
8614 ldv_42519:
8615 {
8616#line 417
8617 __cil_tmp37 = & ha->addr;
8618#line 417
8619 __cil_tmp38 = (u8 *)__cil_tmp37;
8620#line 417
8621 hash_value = atl1c_hash_mc_addr(hw, __cil_tmp38);
8622#line 418
8623 atl1c_hash_set(hw, hash_value);
8624#line 416
8625 __cil_tmp39 = ha->list.next;
8626#line 416
8627 __mptr___0 = (struct list_head const *)__cil_tmp39;
8628#line 416
8629 ha = (struct netdev_hw_addr *)__mptr___0;
8630 }
8631 ldv_42520: ;
8632 {
8633#line 416
8634 __cil_tmp40 = & netdev->mc.list;
8635#line 416
8636 __cil_tmp41 = (unsigned long )__cil_tmp40;
8637#line 416
8638 __cil_tmp42 = & ha->list;
8639#line 416
8640 __cil_tmp43 = (unsigned long )__cil_tmp42;
8641#line 416
8642 if (__cil_tmp43 != __cil_tmp41) {
8643#line 417
8644 goto ldv_42519;
8645 } else {
8646#line 419
8647 goto ldv_42521;
8648 }
8649 }
8650 ldv_42521: ;
8651#line 421
8652 return;
8653}
8654}
8655#line 422 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
8656static void atl1c_vlan_rx_register(struct net_device *netdev , struct vlan_group *grp )
8657{ struct atl1c_adapter *adapter ;
8658 void *tmp ;
8659 struct pci_dev *pdev ;
8660 u32 mac_ctrl_data ;
8661 struct _ddebug descriptor ;
8662 long tmp___0 ;
8663 long tmp___1 ;
8664 struct net_device const *__cil_tmp10 ;
8665 u32 __cil_tmp11 ;
8666 unsigned int __cil_tmp12 ;
8667 signed char __cil_tmp13 ;
8668 int __cil_tmp14 ;
8669 int __cil_tmp15 ;
8670 long __cil_tmp16 ;
8671 struct device *__cil_tmp17 ;
8672 struct device const *__cil_tmp18 ;
8673 bool __cil_tmp19 ;
8674 long __cil_tmp20 ;
8675 u8 *__cil_tmp21 ;
8676 void const volatile *__cil_tmp22 ;
8677 void const volatile *__cil_tmp23 ;
8678 u8 *__cil_tmp24 ;
8679 void const volatile *__cil_tmp25 ;
8680 void const volatile *__cil_tmp26 ;
8681 u8 *__cil_tmp27 ;
8682 void const volatile *__cil_tmp28 ;
8683 void const volatile *__cil_tmp29 ;
8684 struct vlan_group *__cil_tmp30 ;
8685 unsigned long __cil_tmp31 ;
8686 unsigned long __cil_tmp32 ;
8687 u8 *__cil_tmp33 ;
8688 void volatile *__cil_tmp34 ;
8689 void volatile *__cil_tmp35 ;
8690
8691 {
8692 {
8693#line 425
8694 __cil_tmp10 = (struct net_device const *)netdev;
8695#line 425
8696 tmp = netdev_priv(__cil_tmp10);
8697#line 425
8698 adapter = (struct atl1c_adapter *)tmp;
8699#line 426
8700 pdev = adapter->pdev;
8701#line 427
8702 mac_ctrl_data = 0U;
8703 }
8704 {
8705#line 429
8706 __cil_tmp11 = adapter->msg_enable;
8707#line 429
8708 __cil_tmp12 = __cil_tmp11 & 4096U;
8709#line 429
8710 if (__cil_tmp12 != 0U) {
8711 {
8712#line 430
8713 descriptor.modname = "atl1c";
8714#line 430
8715 descriptor.function = "atl1c_vlan_rx_register";
8716#line 430
8717 descriptor.filename = "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p";
8718#line 430
8719 descriptor.format = "atl1c_vlan_rx_register\n";
8720#line 430
8721 descriptor.lineno = 430U;
8722#line 430
8723 descriptor.flags = (unsigned char)0;
8724#line 430
8725 descriptor.enabled = (char)0;
8726#line 430
8727 __cil_tmp13 = (signed char )descriptor.enabled;
8728#line 430
8729 __cil_tmp14 = (int )__cil_tmp13;
8730#line 430
8731 __cil_tmp15 = __cil_tmp14 != 0;
8732#line 430
8733 __cil_tmp16 = (long )__cil_tmp15;
8734#line 430
8735 tmp___0 = __builtin_expect(__cil_tmp16, 0L);
8736 }
8737#line 430
8738 if (tmp___0 != 0L) {
8739 {
8740#line 430
8741 __cil_tmp17 = & pdev->dev;
8742#line 430
8743 __cil_tmp18 = (struct device const *)__cil_tmp17;
8744#line 430
8745 dev_printk("<7>", __cil_tmp18, "atl1c_vlan_rx_register\n");
8746 }
8747 } else {
8748
8749 }
8750 } else {
8751
8752 }
8753 }
8754 {
8755#line 432
8756 atl1c_irq_disable(adapter);
8757#line 434
8758 adapter->vlgrp = grp;
8759#line 435
8760 __cil_tmp19 = adapter->hw.hibernate;
8761#line 435
8762 __cil_tmp20 = (long )__cil_tmp19;
8763#line 435
8764 tmp___1 = __builtin_expect(__cil_tmp20, 0L);
8765 }
8766#line 435
8767 if (tmp___1 != 0L) {
8768 {
8769#line 435
8770 __cil_tmp21 = adapter->hw.hw_addr;
8771#line 435
8772 __cil_tmp22 = (void const volatile *)__cil_tmp21;
8773#line 435
8774 __cil_tmp23 = __cil_tmp22 + 5248U;
8775#line 435
8776 readl(__cil_tmp23);
8777#line 435
8778 __cil_tmp24 = adapter->hw.hw_addr;
8779#line 435
8780 __cil_tmp25 = (void const volatile *)__cil_tmp24;
8781#line 435
8782 __cil_tmp26 = __cil_tmp25 + 5248U;
8783#line 435
8784 mac_ctrl_data = readl(__cil_tmp26);
8785 }
8786 } else {
8787 {
8788#line 435
8789 __cil_tmp27 = adapter->hw.hw_addr;
8790#line 435
8791 __cil_tmp28 = (void const volatile *)__cil_tmp27;
8792#line 435
8793 __cil_tmp29 = __cil_tmp28 + 5248U;
8794#line 435
8795 mac_ctrl_data = readl(__cil_tmp29);
8796 }
8797 }
8798 {
8799#line 437
8800 __cil_tmp30 = (struct vlan_group *)0;
8801#line 437
8802 __cil_tmp31 = (unsigned long )__cil_tmp30;
8803#line 437
8804 __cil_tmp32 = (unsigned long )grp;
8805#line 437
8806 if (__cil_tmp32 != __cil_tmp31) {
8807#line 439
8808 mac_ctrl_data = mac_ctrl_data | 16384U;
8809 } else {
8810#line 442
8811 mac_ctrl_data = mac_ctrl_data & 4294950911U;
8812 }
8813 }
8814 {
8815#line 445
8816 __cil_tmp33 = adapter->hw.hw_addr;
8817#line 445
8818 __cil_tmp34 = (void volatile *)__cil_tmp33;
8819#line 445
8820 __cil_tmp35 = __cil_tmp34 + 5248U;
8821#line 445
8822 writel(mac_ctrl_data, __cil_tmp35);
8823#line 446
8824 atl1c_irq_enable(adapter);
8825 }
8826#line 447
8827 return;
8828}
8829}
8830#line 449 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
8831static void atl1c_restore_vlan(struct atl1c_adapter *adapter )
8832{ struct pci_dev *pdev ;
8833 struct _ddebug descriptor ;
8834 long tmp ;
8835 u32 __cil_tmp5 ;
8836 unsigned int __cil_tmp6 ;
8837 signed char __cil_tmp7 ;
8838 int __cil_tmp8 ;
8839 int __cil_tmp9 ;
8840 long __cil_tmp10 ;
8841 struct device *__cil_tmp11 ;
8842 struct device const *__cil_tmp12 ;
8843 struct net_device *__cil_tmp13 ;
8844 struct vlan_group *__cil_tmp14 ;
8845
8846 {
8847#line 451
8848 pdev = adapter->pdev;
8849 {
8850#line 453
8851 __cil_tmp5 = adapter->msg_enable;
8852#line 453
8853 __cil_tmp6 = __cil_tmp5 & 4096U;
8854#line 453
8855 if (__cil_tmp6 != 0U) {
8856 {
8857#line 454
8858 descriptor.modname = "atl1c";
8859#line 454
8860 descriptor.function = "atl1c_restore_vlan";
8861#line 454
8862 descriptor.filename = "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p";
8863#line 454
8864 descriptor.format = "atl1c_restore_vlan !";
8865#line 454
8866 descriptor.lineno = 454U;
8867#line 454
8868 descriptor.flags = (unsigned char)0;
8869#line 454
8870 descriptor.enabled = (char)0;
8871#line 454
8872 __cil_tmp7 = (signed char )descriptor.enabled;
8873#line 454
8874 __cil_tmp8 = (int )__cil_tmp7;
8875#line 454
8876 __cil_tmp9 = __cil_tmp8 != 0;
8877#line 454
8878 __cil_tmp10 = (long )__cil_tmp9;
8879#line 454
8880 tmp = __builtin_expect(__cil_tmp10, 0L);
8881 }
8882#line 454
8883 if (tmp != 0L) {
8884 {
8885#line 454
8886 __cil_tmp11 = & pdev->dev;
8887#line 454
8888 __cil_tmp12 = (struct device const *)__cil_tmp11;
8889#line 454
8890 dev_printk("<7>", __cil_tmp12, "atl1c_restore_vlan !");
8891 }
8892 } else {
8893
8894 }
8895 } else {
8896
8897 }
8898 }
8899 {
8900#line 455
8901 __cil_tmp13 = adapter->netdev;
8902#line 455
8903 __cil_tmp14 = adapter->vlgrp;
8904#line 455
8905 atl1c_vlan_rx_register(__cil_tmp13, __cil_tmp14);
8906 }
8907#line 456
8908 return;
8909}
8910}
8911#line 778 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
8912__inline static void atl1c_clean_buffer(struct pci_dev *pdev , struct atl1c_buffer *buffer_info ,
8913 int in_irq )
8914{ u16 pci_driection ;
8915 u16 __cil_tmp5 ;
8916 int __cil_tmp6 ;
8917 dma_addr_t __cil_tmp7 ;
8918 u16 __cil_tmp8 ;
8919 int __cil_tmp9 ;
8920 int __cil_tmp10 ;
8921 u16 __cil_tmp11 ;
8922 int __cil_tmp12 ;
8923 int __cil_tmp13 ;
8924 dma_addr_t __cil_tmp14 ;
8925 u16 __cil_tmp15 ;
8926 size_t __cil_tmp16 ;
8927 int __cil_tmp17 ;
8928 u16 __cil_tmp18 ;
8929 int __cil_tmp19 ;
8930 int __cil_tmp20 ;
8931 dma_addr_t __cil_tmp21 ;
8932 u16 __cil_tmp22 ;
8933 size_t __cil_tmp23 ;
8934 int __cil_tmp24 ;
8935 struct sk_buff *__cil_tmp25 ;
8936 unsigned long __cil_tmp26 ;
8937 struct sk_buff *__cil_tmp27 ;
8938 unsigned long __cil_tmp28 ;
8939 struct sk_buff *__cil_tmp29 ;
8940 struct sk_buff *__cil_tmp30 ;
8941 u16 __cil_tmp31 ;
8942 unsigned int __cil_tmp32 ;
8943 unsigned int __cil_tmp33 ;
8944 u16 __cil_tmp34 ;
8945 unsigned int __cil_tmp35 ;
8946 unsigned int __cil_tmp36 ;
8947
8948 {
8949 {
8950#line 782
8951 __cil_tmp5 = buffer_info->flags;
8952#line 782
8953 __cil_tmp6 = (int )__cil_tmp5;
8954#line 782
8955 if (__cil_tmp6 & 1) {
8956#line 783
8957 return;
8958 } else {
8959
8960 }
8961 }
8962 {
8963#line 784
8964 __cil_tmp7 = buffer_info->dma;
8965#line 784
8966 if (__cil_tmp7 != 0ULL) {
8967 {
8968#line 785
8969 __cil_tmp8 = buffer_info->flags;
8970#line 785
8971 __cil_tmp9 = (int )__cil_tmp8;
8972#line 785
8973 __cil_tmp10 = __cil_tmp9 & 32;
8974#line 785
8975 if (__cil_tmp10 != 0) {
8976#line 786
8977 pci_driection = (u16 )2U;
8978 } else {
8979#line 788
8980 pci_driection = (u16 )1U;
8981 }
8982 }
8983 {
8984#line 790
8985 __cil_tmp11 = buffer_info->flags;
8986#line 790
8987 __cil_tmp12 = (int )__cil_tmp11;
8988#line 790
8989 __cil_tmp13 = __cil_tmp12 & 4;
8990#line 790
8991 if (__cil_tmp13 != 0) {
8992 {
8993#line 791
8994 __cil_tmp14 = buffer_info->dma;
8995#line 791
8996 __cil_tmp15 = buffer_info->length;
8997#line 791
8998 __cil_tmp16 = (size_t )__cil_tmp15;
8999#line 791
9000 __cil_tmp17 = (int )pci_driection;
9001#line 791
9002 pci_unmap_single(pdev, __cil_tmp14, __cil_tmp16, __cil_tmp17);
9003 }
9004 } else {
9005 {
9006#line 793
9007 __cil_tmp18 = buffer_info->flags;
9008#line 793
9009 __cil_tmp19 = (int )__cil_tmp18;
9010#line 793
9011 __cil_tmp20 = __cil_tmp19 & 8;
9012#line 793
9013 if (__cil_tmp20 != 0) {
9014 {
9015#line 794
9016 __cil_tmp21 = buffer_info->dma;
9017#line 794
9018 __cil_tmp22 = buffer_info->length;
9019#line 794
9020 __cil_tmp23 = (size_t )__cil_tmp22;
9021#line 794
9022 __cil_tmp24 = (int )pci_driection;
9023#line 794
9024 pci_unmap_page(pdev, __cil_tmp21, __cil_tmp23, __cil_tmp24);
9025 }
9026 } else {
9027
9028 }
9029 }
9030 }
9031 }
9032 } else {
9033
9034 }
9035 }
9036 {
9037#line 797
9038 __cil_tmp25 = (struct sk_buff *)0;
9039#line 797
9040 __cil_tmp26 = (unsigned long )__cil_tmp25;
9041#line 797
9042 __cil_tmp27 = buffer_info->skb;
9043#line 797
9044 __cil_tmp28 = (unsigned long )__cil_tmp27;
9045#line 797
9046 if (__cil_tmp28 != __cil_tmp26) {
9047#line 798
9048 if (in_irq != 0) {
9049 {
9050#line 799
9051 __cil_tmp29 = buffer_info->skb;
9052#line 799
9053 dev_kfree_skb_irq(__cil_tmp29);
9054 }
9055 } else {
9056 {
9057#line 801
9058 __cil_tmp30 = buffer_info->skb;
9059#line 801
9060 consume_skb(__cil_tmp30);
9061 }
9062 }
9063 } else {
9064
9065 }
9066 }
9067#line 803
9068 buffer_info->dma = 0ULL;
9069#line 804
9070 buffer_info->skb = (struct sk_buff *)0;
9071#line 805
9072 __cil_tmp31 = buffer_info->flags;
9073#line 805
9074 __cil_tmp32 = (unsigned int )__cil_tmp31;
9075#line 805
9076 __cil_tmp33 = __cil_tmp32 & 65532U;
9077#line 805
9078 buffer_info->flags = (u16 )__cil_tmp33;
9079#line 805
9080 __cil_tmp34 = buffer_info->flags;
9081#line 805
9082 __cil_tmp35 = (unsigned int )__cil_tmp34;
9083#line 805
9084 __cil_tmp36 = __cil_tmp35 | 1U;
9085#line 805
9086 buffer_info->flags = (u16 )__cil_tmp36;
9087#line 806
9088 return;
9089}
9090}
9091#line 811 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
9092static void atl1c_clean_tx_ring(struct atl1c_adapter *adapter , enum atl1c_trans_queue type )
9093{ struct atl1c_tpd_ring *tpd_ring ;
9094 struct atl1c_buffer *buffer_info ;
9095 struct pci_dev *pdev ;
9096 u16 index ;
9097 u16 ring_count ;
9098 unsigned long __cil_tmp8 ;
9099 struct atl1c_tpd_ring (*__cil_tmp9)[2U] ;
9100 struct atl1c_tpd_ring *__cil_tmp10 ;
9101 unsigned long __cil_tmp11 ;
9102 struct atl1c_buffer *__cil_tmp12 ;
9103 int __cil_tmp13 ;
9104 int __cil_tmp14 ;
9105 int __cil_tmp15 ;
9106 int __cil_tmp16 ;
9107 void *__cil_tmp17 ;
9108 unsigned long __cil_tmp18 ;
9109 unsigned long __cil_tmp19 ;
9110 atomic_t *__cil_tmp20 ;
9111
9112 {
9113#line 814
9114 __cil_tmp8 = (unsigned long )type;
9115#line 814
9116 __cil_tmp9 = & adapter->tpd_ring;
9117#line 814
9118 __cil_tmp10 = (struct atl1c_tpd_ring *)__cil_tmp9;
9119#line 814
9120 tpd_ring = __cil_tmp10 + __cil_tmp8;
9121#line 816
9122 pdev = adapter->pdev;
9123#line 819
9124 ring_count = tpd_ring->count;
9125#line 820
9126 index = (u16 )0U;
9127#line 820
9128 goto ldv_42658;
9129 ldv_42657:
9130 {
9131#line 821
9132 __cil_tmp11 = (unsigned long )index;
9133#line 821
9134 __cil_tmp12 = tpd_ring->buffer_info;
9135#line 821
9136 buffer_info = __cil_tmp12 + __cil_tmp11;
9137#line 822
9138 atl1c_clean_buffer(pdev, buffer_info, 0);
9139#line 820
9140 __cil_tmp13 = (int )index;
9141#line 820
9142 __cil_tmp14 = __cil_tmp13 + 1;
9143#line 820
9144 index = (u16 )__cil_tmp14;
9145 }
9146 ldv_42658: ;
9147 {
9148#line 820
9149 __cil_tmp15 = (int )ring_count;
9150#line 820
9151 __cil_tmp16 = (int )index;
9152#line 820
9153 if (__cil_tmp16 < __cil_tmp15) {
9154#line 821
9155 goto ldv_42657;
9156 } else {
9157#line 823
9158 goto ldv_42659;
9159 }
9160 }
9161 ldv_42659:
9162 {
9163#line 826
9164 __cil_tmp17 = tpd_ring->desc;
9165#line 826
9166 __cil_tmp18 = (unsigned long )ring_count;
9167#line 826
9168 __cil_tmp19 = __cil_tmp18 * 16UL;
9169#line 826
9170 memset(__cil_tmp17, 0, __cil_tmp19);
9171#line 828
9172 __cil_tmp20 = & tpd_ring->next_to_clean;
9173#line 828
9174 atomic_set(__cil_tmp20, 0);
9175#line 829
9176 tpd_ring->next_to_use = (u16 )0U;
9177 }
9178#line 830
9179 return;
9180}
9181}
9182#line 836 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
9183static void atl1c_clean_rx_ring(struct atl1c_adapter *adapter )
9184{ struct atl1c_rfd_ring *rfd_ring ;
9185 struct atl1c_rrd_ring *rrd_ring ;
9186 struct atl1c_buffer *buffer_info ;
9187 struct pci_dev *pdev ;
9188 int i ;
9189 int j ;
9190 struct atl1c_rfd_ring (*__cil_tmp8)[4U] ;
9191 struct atl1c_rrd_ring (*__cil_tmp9)[4U] ;
9192 unsigned long __cil_tmp10 ;
9193 unsigned long __cil_tmp11 ;
9194 struct atl1c_rfd_ring *__cil_tmp12 ;
9195 struct atl1c_buffer *__cil_tmp13 ;
9196 unsigned long __cil_tmp14 ;
9197 struct atl1c_rfd_ring *__cil_tmp15 ;
9198 u16 __cil_tmp16 ;
9199 int __cil_tmp17 ;
9200 unsigned long __cil_tmp18 ;
9201 struct atl1c_rfd_ring *__cil_tmp19 ;
9202 void *__cil_tmp20 ;
9203 unsigned long __cil_tmp21 ;
9204 struct atl1c_rfd_ring *__cil_tmp22 ;
9205 u16 __cil_tmp23 ;
9206 size_t __cil_tmp24 ;
9207 unsigned long __cil_tmp25 ;
9208 struct atl1c_rfd_ring *__cil_tmp26 ;
9209 unsigned long __cil_tmp27 ;
9210 struct atl1c_rfd_ring *__cil_tmp28 ;
9211 unsigned long __cil_tmp29 ;
9212 struct atl1c_rrd_ring *__cil_tmp30 ;
9213 unsigned long __cil_tmp31 ;
9214 struct atl1c_rrd_ring *__cil_tmp32 ;
9215 int __cil_tmp33 ;
9216
9217 {
9218#line 838
9219 __cil_tmp8 = & adapter->rfd_ring;
9220#line 838
9221 rfd_ring = (struct atl1c_rfd_ring *)__cil_tmp8;
9222#line 839
9223 __cil_tmp9 = & adapter->rrd_ring;
9224#line 839
9225 rrd_ring = (struct atl1c_rrd_ring *)__cil_tmp9;
9226#line 841
9227 pdev = adapter->pdev;
9228#line 844
9229 i = 0;
9230#line 844
9231 goto ldv_42673;
9232 ldv_42672:
9233#line 845
9234 j = 0;
9235#line 845
9236 goto ldv_42670;
9237 ldv_42669:
9238 {
9239#line 846
9240 __cil_tmp10 = (unsigned long )j;
9241#line 846
9242 __cil_tmp11 = (unsigned long )i;
9243#line 846
9244 __cil_tmp12 = rfd_ring + __cil_tmp11;
9245#line 846
9246 __cil_tmp13 = __cil_tmp12->buffer_info;
9247#line 846
9248 buffer_info = __cil_tmp13 + __cil_tmp10;
9249#line 847
9250 atl1c_clean_buffer(pdev, buffer_info, 0);
9251#line 845
9252 j = j + 1;
9253 }
9254 ldv_42670: ;
9255 {
9256#line 845
9257 __cil_tmp14 = (unsigned long )i;
9258#line 845
9259 __cil_tmp15 = rfd_ring + __cil_tmp14;
9260#line 845
9261 __cil_tmp16 = __cil_tmp15->count;
9262#line 845
9263 __cil_tmp17 = (int )__cil_tmp16;
9264#line 845
9265 if (__cil_tmp17 > j) {
9266#line 846
9267 goto ldv_42669;
9268 } else {
9269#line 848
9270 goto ldv_42671;
9271 }
9272 }
9273 ldv_42671:
9274 {
9275#line 850
9276 __cil_tmp18 = (unsigned long )i;
9277#line 850
9278 __cil_tmp19 = rfd_ring + __cil_tmp18;
9279#line 850
9280 __cil_tmp20 = __cil_tmp19->desc;
9281#line 850
9282 __cil_tmp21 = (unsigned long )i;
9283#line 850
9284 __cil_tmp22 = rfd_ring + __cil_tmp21;
9285#line 850
9286 __cil_tmp23 = __cil_tmp22->size;
9287#line 850
9288 __cil_tmp24 = (size_t )__cil_tmp23;
9289#line 850
9290 memset(__cil_tmp20, 0, __cil_tmp24);
9291#line 851
9292 __cil_tmp25 = (unsigned long )i;
9293#line 851
9294 __cil_tmp26 = rfd_ring + __cil_tmp25;
9295#line 851
9296 __cil_tmp26->next_to_clean = (u16 )0U;
9297#line 852
9298 __cil_tmp27 = (unsigned long )i;
9299#line 852
9300 __cil_tmp28 = rfd_ring + __cil_tmp27;
9301#line 852
9302 __cil_tmp28->next_to_use = (u16 )0U;
9303#line 853
9304 __cil_tmp29 = (unsigned long )i;
9305#line 853
9306 __cil_tmp30 = rrd_ring + __cil_tmp29;
9307#line 853
9308 __cil_tmp30->next_to_use = (u16 )0U;
9309#line 854
9310 __cil_tmp31 = (unsigned long )i;
9311#line 854
9312 __cil_tmp32 = rrd_ring + __cil_tmp31;
9313#line 854
9314 __cil_tmp32->next_to_clean = (u16 )0U;
9315#line 844
9316 i = i + 1;
9317 }
9318 ldv_42673: ;
9319 {
9320#line 844
9321 __cil_tmp33 = adapter->num_rx_queues;
9322#line 844
9323 if (__cil_tmp33 > i) {
9324#line 845
9325 goto ldv_42672;
9326 } else {
9327#line 847
9328 goto ldv_42674;
9329 }
9330 }
9331 ldv_42674: ;
9332#line 849
9333 return;
9334}
9335}
9336#line 861 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
9337static void atl1c_init_ring_ptrs(struct atl1c_adapter *adapter )
9338{ struct atl1c_tpd_ring *tpd_ring ;
9339 struct atl1c_rfd_ring *rfd_ring ;
9340 struct atl1c_rrd_ring *rrd_ring ;
9341 struct atl1c_buffer *buffer_info ;
9342 int i ;
9343 int j ;
9344 struct atl1c_tpd_ring (*__cil_tmp8)[2U] ;
9345 struct atl1c_rfd_ring (*__cil_tmp9)[4U] ;
9346 struct atl1c_rrd_ring (*__cil_tmp10)[4U] ;
9347 unsigned long __cil_tmp11 ;
9348 struct atl1c_tpd_ring *__cil_tmp12 ;
9349 unsigned long __cil_tmp13 ;
9350 struct atl1c_tpd_ring *__cil_tmp14 ;
9351 atomic_t *__cil_tmp15 ;
9352 unsigned long __cil_tmp16 ;
9353 struct atl1c_tpd_ring *__cil_tmp17 ;
9354 unsigned long __cil_tmp18 ;
9355 struct atl1c_buffer *__cil_tmp19 ;
9356 unsigned long __cil_tmp20 ;
9357 struct atl1c_buffer *__cil_tmp21 ;
9358 u16 __cil_tmp22 ;
9359 unsigned int __cil_tmp23 ;
9360 unsigned int __cil_tmp24 ;
9361 unsigned long __cil_tmp25 ;
9362 struct atl1c_buffer *__cil_tmp26 ;
9363 unsigned long __cil_tmp27 ;
9364 struct atl1c_buffer *__cil_tmp28 ;
9365 u16 __cil_tmp29 ;
9366 unsigned int __cil_tmp30 ;
9367 unsigned int __cil_tmp31 ;
9368 u16 __cil_tmp32 ;
9369 int __cil_tmp33 ;
9370 unsigned long __cil_tmp34 ;
9371 struct atl1c_rfd_ring *__cil_tmp35 ;
9372 unsigned long __cil_tmp36 ;
9373 struct atl1c_rfd_ring *__cil_tmp37 ;
9374 unsigned long __cil_tmp38 ;
9375 struct atl1c_rrd_ring *__cil_tmp39 ;
9376 unsigned long __cil_tmp40 ;
9377 struct atl1c_rrd_ring *__cil_tmp41 ;
9378 unsigned long __cil_tmp42 ;
9379 unsigned long __cil_tmp43 ;
9380 struct atl1c_rfd_ring *__cil_tmp44 ;
9381 struct atl1c_buffer *__cil_tmp45 ;
9382 u16 __cil_tmp46 ;
9383 unsigned int __cil_tmp47 ;
9384 unsigned int __cil_tmp48 ;
9385 u16 __cil_tmp49 ;
9386 unsigned int __cil_tmp50 ;
9387 unsigned int __cil_tmp51 ;
9388 unsigned long __cil_tmp52 ;
9389 struct atl1c_rfd_ring *__cil_tmp53 ;
9390 u16 __cil_tmp54 ;
9391 int __cil_tmp55 ;
9392 int __cil_tmp56 ;
9393
9394 {
9395#line 863
9396 __cil_tmp8 = & adapter->tpd_ring;
9397#line 863
9398 tpd_ring = (struct atl1c_tpd_ring *)__cil_tmp8;
9399#line 864
9400 __cil_tmp9 = & adapter->rfd_ring;
9401#line 864
9402 rfd_ring = (struct atl1c_rfd_ring *)__cil_tmp9;
9403#line 865
9404 __cil_tmp10 = & adapter->rrd_ring;
9405#line 865
9406 rrd_ring = (struct atl1c_rrd_ring *)__cil_tmp10;
9407#line 869
9408 i = 0;
9409#line 869
9410 goto ldv_42688;
9411 ldv_42687:
9412 {
9413#line 870
9414 __cil_tmp11 = (unsigned long )i;
9415#line 870
9416 __cil_tmp12 = tpd_ring + __cil_tmp11;
9417#line 870
9418 __cil_tmp12->next_to_use = (u16 )0U;
9419#line 871
9420 __cil_tmp13 = (unsigned long )i;
9421#line 871
9422 __cil_tmp14 = tpd_ring + __cil_tmp13;
9423#line 871
9424 __cil_tmp15 = & __cil_tmp14->next_to_clean;
9425#line 871
9426 atomic_set(__cil_tmp15, 0);
9427#line 872
9428 __cil_tmp16 = (unsigned long )i;
9429#line 872
9430 __cil_tmp17 = tpd_ring + __cil_tmp16;
9431#line 872
9432 buffer_info = __cil_tmp17->buffer_info;
9433#line 873
9434 j = 0;
9435 }
9436#line 873
9437 goto ldv_42685;
9438 ldv_42684:
9439#line 874
9440 __cil_tmp18 = (unsigned long )i;
9441#line 874
9442 __cil_tmp19 = buffer_info + __cil_tmp18;
9443#line 874
9444 __cil_tmp20 = (unsigned long )i;
9445#line 874
9446 __cil_tmp21 = buffer_info + __cil_tmp20;
9447#line 874
9448 __cil_tmp22 = __cil_tmp21->flags;
9449#line 874
9450 __cil_tmp23 = (unsigned int )__cil_tmp22;
9451#line 874
9452 __cil_tmp24 = __cil_tmp23 & 65532U;
9453#line 874
9454 __cil_tmp19->flags = (u16 )__cil_tmp24;
9455#line 874
9456 __cil_tmp25 = (unsigned long )i;
9457#line 874
9458 __cil_tmp26 = buffer_info + __cil_tmp25;
9459#line 874
9460 __cil_tmp27 = (unsigned long )i;
9461#line 874
9462 __cil_tmp28 = buffer_info + __cil_tmp27;
9463#line 874
9464 __cil_tmp29 = __cil_tmp28->flags;
9465#line 874
9466 __cil_tmp30 = (unsigned int )__cil_tmp29;
9467#line 874
9468 __cil_tmp31 = __cil_tmp30 | 1U;
9469#line 874
9470 __cil_tmp26->flags = (u16 )__cil_tmp31;
9471#line 873
9472 j = j + 1;
9473 ldv_42685: ;
9474 {
9475#line 873
9476 __cil_tmp32 = tpd_ring->count;
9477#line 873
9478 __cil_tmp33 = (int )__cil_tmp32;
9479#line 873
9480 if (__cil_tmp33 > j) {
9481#line 874
9482 goto ldv_42684;
9483 } else {
9484#line 876
9485 goto ldv_42686;
9486 }
9487 }
9488 ldv_42686:
9489#line 869
9490 i = i + 1;
9491 ldv_42688: ;
9492#line 869
9493 if (i <= 1) {
9494#line 870
9495 goto ldv_42687;
9496 } else {
9497#line 872
9498 goto ldv_42689;
9499 }
9500 ldv_42689:
9501#line 877
9502 i = 0;
9503#line 877
9504 goto ldv_42694;
9505 ldv_42693:
9506#line 878
9507 __cil_tmp34 = (unsigned long )i;
9508#line 878
9509 __cil_tmp35 = rfd_ring + __cil_tmp34;
9510#line 878
9511 __cil_tmp35->next_to_use = (u16 )0U;
9512#line 879
9513 __cil_tmp36 = (unsigned long )i;
9514#line 879
9515 __cil_tmp37 = rfd_ring + __cil_tmp36;
9516#line 879
9517 __cil_tmp37->next_to_clean = (u16 )0U;
9518#line 880
9519 __cil_tmp38 = (unsigned long )i;
9520#line 880
9521 __cil_tmp39 = rrd_ring + __cil_tmp38;
9522#line 880
9523 __cil_tmp39->next_to_use = (u16 )0U;
9524#line 881
9525 __cil_tmp40 = (unsigned long )i;
9526#line 881
9527 __cil_tmp41 = rrd_ring + __cil_tmp40;
9528#line 881
9529 __cil_tmp41->next_to_clean = (u16 )0U;
9530#line 882
9531 j = 0;
9532#line 882
9533 goto ldv_42691;
9534 ldv_42690:
9535#line 883
9536 __cil_tmp42 = (unsigned long )j;
9537#line 883
9538 __cil_tmp43 = (unsigned long )i;
9539#line 883
9540 __cil_tmp44 = rfd_ring + __cil_tmp43;
9541#line 883
9542 __cil_tmp45 = __cil_tmp44->buffer_info;
9543#line 883
9544 buffer_info = __cil_tmp45 + __cil_tmp42;
9545#line 884
9546 __cil_tmp46 = buffer_info->flags;
9547#line 884
9548 __cil_tmp47 = (unsigned int )__cil_tmp46;
9549#line 884
9550 __cil_tmp48 = __cil_tmp47 & 65532U;
9551#line 884
9552 buffer_info->flags = (u16 )__cil_tmp48;
9553#line 884
9554 __cil_tmp49 = buffer_info->flags;
9555#line 884
9556 __cil_tmp50 = (unsigned int )__cil_tmp49;
9557#line 884
9558 __cil_tmp51 = __cil_tmp50 | 1U;
9559#line 884
9560 buffer_info->flags = (u16 )__cil_tmp51;
9561#line 882
9562 j = j + 1;
9563 ldv_42691: ;
9564 {
9565#line 882
9566 __cil_tmp52 = (unsigned long )i;
9567#line 882
9568 __cil_tmp53 = rfd_ring + __cil_tmp52;
9569#line 882
9570 __cil_tmp54 = __cil_tmp53->count;
9571#line 882
9572 __cil_tmp55 = (int )__cil_tmp54;
9573#line 882
9574 if (__cil_tmp55 > j) {
9575#line 883
9576 goto ldv_42690;
9577 } else {
9578#line 885
9579 goto ldv_42692;
9580 }
9581 }
9582 ldv_42692:
9583#line 877
9584 i = i + 1;
9585 ldv_42694: ;
9586 {
9587#line 877
9588 __cil_tmp56 = adapter->num_rx_queues;
9589#line 877
9590 if (__cil_tmp56 > i) {
9591#line 878
9592 goto ldv_42693;
9593 } else {
9594#line 880
9595 goto ldv_42695;
9596 }
9597 }
9598 ldv_42695: ;
9599#line 882
9600 return;
9601}
9602}
9603#line 1018 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
9604static void atl1c_configure_des_ring(struct atl1c_adapter *adapter )
9605{ struct atl1c_hw *hw ;
9606 struct atl1c_rfd_ring *rfd_ring ;
9607 struct atl1c_rrd_ring *rrd_ring ;
9608 struct atl1c_tpd_ring *tpd_ring ;
9609 struct atl1c_cmb *cmb ;
9610 struct atl1c_smb *smb ;
9611 int i ;
9612 u32 data ;
9613 long tmp ;
9614 struct atl1c_rfd_ring (*__cil_tmp11)[4U] ;
9615 struct atl1c_rrd_ring (*__cil_tmp12)[4U] ;
9616 struct atl1c_tpd_ring (*__cil_tmp13)[2U] ;
9617 dma_addr_t __cil_tmp14 ;
9618 dma_addr_t __cil_tmp15 ;
9619 unsigned int __cil_tmp16 ;
9620 u8 *__cil_tmp17 ;
9621 void volatile *__cil_tmp18 ;
9622 void volatile *__cil_tmp19 ;
9623 dma_addr_t __cil_tmp20 ;
9624 unsigned int __cil_tmp21 ;
9625 u8 *__cil_tmp22 ;
9626 void volatile *__cil_tmp23 ;
9627 void volatile *__cil_tmp24 ;
9628 struct atl1c_tpd_ring *__cil_tmp25 ;
9629 dma_addr_t __cil_tmp26 ;
9630 unsigned int __cil_tmp27 ;
9631 u8 *__cil_tmp28 ;
9632 void volatile *__cil_tmp29 ;
9633 void volatile *__cil_tmp30 ;
9634 u16 __cil_tmp31 ;
9635 unsigned int __cil_tmp32 ;
9636 u8 *__cil_tmp33 ;
9637 void volatile *__cil_tmp34 ;
9638 void volatile *__cil_tmp35 ;
9639 dma_addr_t __cil_tmp36 ;
9640 dma_addr_t __cil_tmp37 ;
9641 unsigned int __cil_tmp38 ;
9642 u8 *__cil_tmp39 ;
9643 void volatile *__cil_tmp40 ;
9644 void volatile *__cil_tmp41 ;
9645 unsigned long __cil_tmp42 ;
9646 struct atl1c_rfd_ring *__cil_tmp43 ;
9647 dma_addr_t __cil_tmp44 ;
9648 unsigned int __cil_tmp45 ;
9649 unsigned long __cil_tmp46 ;
9650 u8 *__cil_tmp47 ;
9651 void volatile *__cil_tmp48 ;
9652 void volatile *__cil_tmp49 ;
9653 int __cil_tmp50 ;
9654 u16 __cil_tmp51 ;
9655 unsigned int __cil_tmp52 ;
9656 unsigned int __cil_tmp53 ;
9657 u8 *__cil_tmp54 ;
9658 void volatile *__cil_tmp55 ;
9659 void volatile *__cil_tmp56 ;
9660 u16 __cil_tmp57 ;
9661 unsigned int __cil_tmp58 ;
9662 u8 *__cil_tmp59 ;
9663 void volatile *__cil_tmp60 ;
9664 void volatile *__cil_tmp61 ;
9665 unsigned long __cil_tmp62 ;
9666 struct atl1c_rrd_ring *__cil_tmp63 ;
9667 dma_addr_t __cil_tmp64 ;
9668 unsigned int __cil_tmp65 ;
9669 unsigned long __cil_tmp66 ;
9670 u8 *__cil_tmp67 ;
9671 void volatile *__cil_tmp68 ;
9672 void volatile *__cil_tmp69 ;
9673 int __cil_tmp70 ;
9674 u16 __cil_tmp71 ;
9675 unsigned int __cil_tmp72 ;
9676 unsigned int __cil_tmp73 ;
9677 u8 *__cil_tmp74 ;
9678 void volatile *__cil_tmp75 ;
9679 void volatile *__cil_tmp76 ;
9680 dma_addr_t __cil_tmp77 ;
9681 unsigned int __cil_tmp78 ;
9682 u8 *__cil_tmp79 ;
9683 void volatile *__cil_tmp80 ;
9684 void volatile *__cil_tmp81 ;
9685 dma_addr_t __cil_tmp82 ;
9686 dma_addr_t __cil_tmp83 ;
9687 unsigned int __cil_tmp84 ;
9688 u8 *__cil_tmp85 ;
9689 void volatile *__cil_tmp86 ;
9690 void volatile *__cil_tmp87 ;
9691 dma_addr_t __cil_tmp88 ;
9692 unsigned int __cil_tmp89 ;
9693 u8 *__cil_tmp90 ;
9694 void volatile *__cil_tmp91 ;
9695 void volatile *__cil_tmp92 ;
9696 enum atl1c_nic_type __cil_tmp93 ;
9697 unsigned int __cil_tmp94 ;
9698 u8 *__cil_tmp95 ;
9699 void volatile *__cil_tmp96 ;
9700 void volatile *__cil_tmp97 ;
9701 u8 *__cil_tmp98 ;
9702 void volatile *__cil_tmp99 ;
9703 void volatile *__cil_tmp100 ;
9704 u8 *__cil_tmp101 ;
9705 void volatile *__cil_tmp102 ;
9706 void volatile *__cil_tmp103 ;
9707 u8 *__cil_tmp104 ;
9708 void volatile *__cil_tmp105 ;
9709 void volatile *__cil_tmp106 ;
9710 u8 *__cil_tmp107 ;
9711 void volatile *__cil_tmp108 ;
9712 void volatile *__cil_tmp109 ;
9713 u8 *__cil_tmp110 ;
9714 void volatile *__cil_tmp111 ;
9715 void volatile *__cil_tmp112 ;
9716 u8 *__cil_tmp113 ;
9717 void volatile *__cil_tmp114 ;
9718 void volatile *__cil_tmp115 ;
9719 u8 *__cil_tmp116 ;
9720 void volatile *__cil_tmp117 ;
9721 void volatile *__cil_tmp118 ;
9722 enum atl1c_nic_type __cil_tmp119 ;
9723 unsigned int __cil_tmp120 ;
9724 enum atl1c_nic_type __cil_tmp121 ;
9725 unsigned int __cil_tmp122 ;
9726 bool __cil_tmp123 ;
9727 long __cil_tmp124 ;
9728 u8 *__cil_tmp125 ;
9729 void const volatile *__cil_tmp126 ;
9730 void const volatile *__cil_tmp127 ;
9731 u8 *__cil_tmp128 ;
9732 void const volatile *__cil_tmp129 ;
9733 void const volatile *__cil_tmp130 ;
9734 u8 *__cil_tmp131 ;
9735 void const volatile *__cil_tmp132 ;
9736 void const volatile *__cil_tmp133 ;
9737 u8 *__cil_tmp134 ;
9738 void volatile *__cil_tmp135 ;
9739 void volatile *__cil_tmp136 ;
9740 u8 *__cil_tmp137 ;
9741 void volatile *__cil_tmp138 ;
9742 void volatile *__cil_tmp139 ;
9743
9744 {
9745 {
9746#line 1020
9747 hw = & adapter->hw;
9748#line 1021
9749 __cil_tmp11 = & adapter->rfd_ring;
9750#line 1021
9751 rfd_ring = (struct atl1c_rfd_ring *)__cil_tmp11;
9752#line 1023
9753 __cil_tmp12 = & adapter->rrd_ring;
9754#line 1023
9755 rrd_ring = (struct atl1c_rrd_ring *)__cil_tmp12;
9756#line 1025
9757 __cil_tmp13 = & adapter->tpd_ring;
9758#line 1025
9759 tpd_ring = (struct atl1c_tpd_ring *)__cil_tmp13;
9760#line 1027
9761 cmb = & adapter->cmb;
9762#line 1028
9763 smb = & adapter->smb;
9764#line 1033
9765 __cil_tmp14 = tpd_ring->dma;
9766#line 1033
9767 __cil_tmp15 = __cil_tmp14 >> 32;
9768#line 1033
9769 __cil_tmp16 = (unsigned int )__cil_tmp15;
9770#line 1033
9771 __cil_tmp17 = hw->hw_addr;
9772#line 1033
9773 __cil_tmp18 = (void volatile *)__cil_tmp17;
9774#line 1033
9775 __cil_tmp19 = __cil_tmp18 + 5444U;
9776#line 1033
9777 writel(__cil_tmp16, __cil_tmp19);
9778#line 1037
9779 __cil_tmp20 = tpd_ring->dma;
9780#line 1037
9781 __cil_tmp21 = (unsigned int )__cil_tmp20;
9782#line 1037
9783 __cil_tmp22 = hw->hw_addr;
9784#line 1037
9785 __cil_tmp23 = (void volatile *)__cil_tmp22;
9786#line 1037
9787 __cil_tmp24 = __cil_tmp23 + 5504U;
9788#line 1037
9789 writel(__cil_tmp21, __cil_tmp24);
9790#line 1040
9791 __cil_tmp25 = tpd_ring + 1UL;
9792#line 1040
9793 __cil_tmp26 = __cil_tmp25->dma;
9794#line 1040
9795 __cil_tmp27 = (unsigned int )__cil_tmp26;
9796#line 1040
9797 __cil_tmp28 = hw->hw_addr;
9798#line 1040
9799 __cil_tmp29 = (void volatile *)__cil_tmp28;
9800#line 1040
9801 __cil_tmp30 = __cil_tmp29 + 5500U;
9802#line 1040
9803 writel(__cil_tmp27, __cil_tmp30);
9804#line 1043
9805 __cil_tmp31 = tpd_ring->count;
9806#line 1043
9807 __cil_tmp32 = (unsigned int )__cil_tmp31;
9808#line 1043
9809 __cil_tmp33 = hw->hw_addr;
9810#line 1043
9811 __cil_tmp34 = (void volatile *)__cil_tmp33;
9812#line 1043
9813 __cil_tmp35 = __cil_tmp34 + 5508U;
9814#line 1043
9815 writel(__cil_tmp32, __cil_tmp35);
9816#line 1048
9817 __cil_tmp36 = rfd_ring->dma;
9818#line 1048
9819 __cil_tmp37 = __cil_tmp36 >> 32;
9820#line 1048
9821 __cil_tmp38 = (unsigned int )__cil_tmp37;
9822#line 1048
9823 __cil_tmp39 = hw->hw_addr;
9824#line 1048
9825 __cil_tmp40 = (void volatile *)__cil_tmp39;
9826#line 1048
9827 __cil_tmp41 = __cil_tmp40 + 5440U;
9828#line 1048
9829 writel(__cil_tmp38, __cil_tmp41);
9830#line 1050
9831 i = 0;
9832 }
9833#line 1050
9834 goto ldv_42756;
9835 ldv_42755:
9836 {
9837#line 1051
9838 __cil_tmp42 = (unsigned long )i;
9839#line 1051
9840 __cil_tmp43 = rfd_ring + __cil_tmp42;
9841#line 1051
9842 __cil_tmp44 = __cil_tmp43->dma;
9843#line 1051
9844 __cil_tmp45 = (unsigned int )__cil_tmp44;
9845#line 1051
9846 __cil_tmp46 = (unsigned long )atl1c_rfd_addr_lo_regs[i];
9847#line 1051
9848 __cil_tmp47 = hw->hw_addr;
9849#line 1051
9850 __cil_tmp48 = (void volatile *)__cil_tmp47;
9851#line 1051
9852 __cil_tmp49 = __cil_tmp48 + __cil_tmp46;
9853#line 1051
9854 writel(__cil_tmp45, __cil_tmp49);
9855#line 1050
9856 i = i + 1;
9857 }
9858 ldv_42756: ;
9859 {
9860#line 1050
9861 __cil_tmp50 = adapter->num_rx_queues;
9862#line 1050
9863 if (__cil_tmp50 > i) {
9864#line 1051
9865 goto ldv_42755;
9866 } else {
9867#line 1053
9868 goto ldv_42757;
9869 }
9870 }
9871 ldv_42757:
9872 {
9873#line 1054
9874 __cil_tmp51 = rfd_ring->count;
9875#line 1054
9876 __cil_tmp52 = (unsigned int )__cil_tmp51;
9877#line 1054
9878 __cil_tmp53 = __cil_tmp52 & 4095U;
9879#line 1054
9880 __cil_tmp54 = hw->hw_addr;
9881#line 1054
9882 __cil_tmp55 = (void volatile *)__cil_tmp54;
9883#line 1054
9884 __cil_tmp56 = __cil_tmp55 + 5472U;
9885#line 1054
9886 writel(__cil_tmp53, __cil_tmp56);
9887#line 1056
9888 __cil_tmp57 = adapter->rx_buffer_len;
9889#line 1056
9890 __cil_tmp58 = (unsigned int )__cil_tmp57;
9891#line 1056
9892 __cil_tmp59 = hw->hw_addr;
9893#line 1056
9894 __cil_tmp60 = (void volatile *)__cil_tmp59;
9895#line 1056
9896 __cil_tmp61 = __cil_tmp60 + 5476U;
9897#line 1056
9898 writel(__cil_tmp58, __cil_tmp61);
9899#line 1060
9900 i = 0;
9901 }
9902#line 1060
9903 goto ldv_42759;
9904 ldv_42758:
9905 {
9906#line 1061
9907 __cil_tmp62 = (unsigned long )i;
9908#line 1061
9909 __cil_tmp63 = rrd_ring + __cil_tmp62;
9910#line 1061
9911 __cil_tmp64 = __cil_tmp63->dma;
9912#line 1061
9913 __cil_tmp65 = (unsigned int )__cil_tmp64;
9914#line 1061
9915 __cil_tmp66 = (unsigned long )atl1c_rrd_addr_lo_regs[i];
9916#line 1061
9917 __cil_tmp67 = hw->hw_addr;
9918#line 1061
9919 __cil_tmp68 = (void volatile *)__cil_tmp67;
9920#line 1061
9921 __cil_tmp69 = __cil_tmp68 + __cil_tmp66;
9922#line 1061
9923 writel(__cil_tmp65, __cil_tmp69);
9924#line 1060
9925 i = i + 1;
9926 }
9927 ldv_42759: ;
9928 {
9929#line 1060
9930 __cil_tmp70 = adapter->num_rx_queues;
9931#line 1060
9932 if (__cil_tmp70 > i) {
9933#line 1061
9934 goto ldv_42758;
9935 } else {
9936#line 1063
9937 goto ldv_42760;
9938 }
9939 }
9940 ldv_42760:
9941 {
9942#line 1063
9943 __cil_tmp71 = rrd_ring->count;
9944#line 1063
9945 __cil_tmp72 = (unsigned int )__cil_tmp71;
9946#line 1063
9947 __cil_tmp73 = __cil_tmp72 & 4095U;
9948#line 1063
9949 __cil_tmp74 = hw->hw_addr;
9950#line 1063
9951 __cil_tmp75 = (void volatile *)__cil_tmp74;
9952#line 1063
9953 __cil_tmp76 = __cil_tmp75 + 5496U;
9954#line 1063
9955 writel(__cil_tmp73, __cil_tmp76);
9956#line 1067
9957 __cil_tmp77 = cmb->dma;
9958#line 1067
9959 __cil_tmp78 = (unsigned int )__cil_tmp77;
9960#line 1067
9961 __cil_tmp79 = hw->hw_addr;
9962#line 1067
9963 __cil_tmp80 = (void volatile *)__cil_tmp79;
9964#line 1067
9965 __cil_tmp81 = __cil_tmp80 + 5512U;
9966#line 1067
9967 writel(__cil_tmp78, __cil_tmp81);
9968#line 1070
9969 __cil_tmp82 = smb->dma;
9970#line 1070
9971 __cil_tmp83 = __cil_tmp82 >> 32;
9972#line 1070
9973 __cil_tmp84 = (unsigned int )__cil_tmp83;
9974#line 1070
9975 __cil_tmp85 = hw->hw_addr;
9976#line 1070
9977 __cil_tmp86 = (void volatile *)__cil_tmp85;
9978#line 1070
9979 __cil_tmp87 = __cil_tmp86 + 5448U;
9980#line 1070
9981 writel(__cil_tmp84, __cil_tmp87);
9982#line 1072
9983 __cil_tmp88 = smb->dma;
9984#line 1072
9985 __cil_tmp89 = (unsigned int )__cil_tmp88;
9986#line 1072
9987 __cil_tmp90 = hw->hw_addr;
9988#line 1072
9989 __cil_tmp91 = (void volatile *)__cil_tmp90;
9990#line 1072
9991 __cil_tmp92 = __cil_tmp91 + 5452U;
9992#line 1072
9993 writel(__cil_tmp89, __cil_tmp92);
9994 }
9995 {
9996#line 1074
9997 __cil_tmp93 = hw->nic_type;
9998#line 1074
9999 __cil_tmp94 = (unsigned int )__cil_tmp93;
10000#line 1074
10001 if (__cil_tmp94 == 2U) {
10002 {
10003#line 1075
10004 __cil_tmp95 = hw->hw_addr;
10005#line 1075
10006 __cil_tmp96 = (void volatile *)__cil_tmp95;
10007#line 1075
10008 __cil_tmp97 = __cil_tmp96 + 5412U;
10009#line 1075
10010 writel(672U, __cil_tmp97);
10011#line 1076
10012 __cil_tmp98 = hw->hw_addr;
10013#line 1076
10014 __cil_tmp99 = (void volatile *)__cil_tmp98;
10015#line 1076
10016 __cil_tmp100 = __cil_tmp99 + 5420U;
10017#line 1076
10018 writel(256U, __cil_tmp100);
10019#line 1077
10020 __cil_tmp101 = hw->hw_addr;
10021#line 1077
10022 __cil_tmp102 = (void volatile *)__cil_tmp101;
10023#line 1077
10024 __cil_tmp103 = __cil_tmp102 + 5408U;
10025#line 1077
10026 writel(43974656U, __cil_tmp103);
10027#line 1078
10028 __cil_tmp104 = hw->hw_addr;
10029#line 1078
10030 __cil_tmp105 = (void volatile *)__cil_tmp104;
10031#line 1078
10032 __cil_tmp106 = __cil_tmp105 + 5376U;
10033#line 1078
10034 writel(46072480U, __cil_tmp106);
10035#line 1079
10036 __cil_tmp107 = hw->hw_addr;
10037#line 1079
10038 __cil_tmp108 = (void volatile *)__cil_tmp107;
10039#line 1079
10040 __cil_tmp109 = __cil_tmp108 + 5416U;
10041#line 1079
10042 writel(62849728U, __cil_tmp109);
10043#line 1080
10044 __cil_tmp110 = hw->hw_addr;
10045#line 1080
10046 __cil_tmp111 = (void volatile *)__cil_tmp110;
10047#line 1080
10048 __cil_tmp112 = __cil_tmp111 + 5400U;
10049#line 1080
10050 writel(64947136U, __cil_tmp112);
10051#line 1081
10052 __cil_tmp113 = hw->hw_addr;
10053#line 1081
10054 __cil_tmp114 = (void volatile *)__cil_tmp113;
10055#line 1081
10056 __cil_tmp115 = __cil_tmp114 + 5528U;
10057#line 1081
10058 writel(0U, __cil_tmp115);
10059#line 1082
10060 __cil_tmp116 = hw->hw_addr;
10061#line 1082
10062 __cil_tmp117 = (void volatile *)__cil_tmp116;
10063#line 1082
10064 __cil_tmp118 = __cil_tmp117 + 5548U;
10065#line 1082
10066 writel(0U, __cil_tmp118);
10067 }
10068 } else {
10069
10070 }
10071 }
10072 {
10073#line 1084
10074 __cil_tmp119 = hw->nic_type;
10075#line 1084
10076 __cil_tmp120 = (unsigned int )__cil_tmp119;
10077#line 1084
10078 if (__cil_tmp120 == 2U) {
10079#line 1084
10080 goto _L;
10081 } else {
10082 {
10083#line 1084
10084 __cil_tmp121 = hw->nic_type;
10085#line 1084
10086 __cil_tmp122 = (unsigned int )__cil_tmp121;
10087#line 1084
10088 if (__cil_tmp122 == 5U) {
10089 _L:
10090 {
10091#line 1086
10092 __cil_tmp123 = hw->hibernate;
10093#line 1086
10094 __cil_tmp124 = (long )__cil_tmp123;
10095#line 1086
10096 tmp = __builtin_expect(__cil_tmp124, 0L);
10097 }
10098#line 1086
10099 if (tmp != 0L) {
10100 {
10101#line 1086
10102 __cil_tmp125 = hw->hw_addr;
10103#line 1086
10104 __cil_tmp126 = (void const volatile *)__cil_tmp125;
10105#line 1086
10106 __cil_tmp127 = __cil_tmp126 + 5156U;
10107#line 1086
10108 readl(__cil_tmp127);
10109#line 1086
10110 __cil_tmp128 = hw->hw_addr;
10111#line 1086
10112 __cil_tmp129 = (void const volatile *)__cil_tmp128;
10113#line 1086
10114 __cil_tmp130 = __cil_tmp129 + 5156U;
10115#line 1086
10116 data = readl(__cil_tmp130);
10117 }
10118 } else {
10119 {
10120#line 1086
10121 __cil_tmp131 = hw->hw_addr;
10122#line 1086
10123 __cil_tmp132 = (void const volatile *)__cil_tmp131;
10124#line 1086
10125 __cil_tmp133 = __cil_tmp132 + 5156U;
10126#line 1086
10127 data = readl(__cil_tmp133);
10128 }
10129 }
10130 {
10131#line 1087
10132 data = data | 131072U;
10133#line 1088
10134 data = data | 262144U;
10135#line 1089
10136 __cil_tmp134 = hw->hw_addr;
10137#line 1089
10138 __cil_tmp135 = (void volatile *)__cil_tmp134;
10139#line 1089
10140 __cil_tmp136 = __cil_tmp135 + 5156U;
10141#line 1089
10142 writel(data, __cil_tmp136);
10143 }
10144 } else {
10145
10146 }
10147 }
10148 }
10149 }
10150 {
10151#line 1092
10152 __cil_tmp137 = hw->hw_addr;
10153#line 1092
10154 __cil_tmp138 = (void volatile *)__cil_tmp137;
10155#line 1092
10156 __cil_tmp139 = __cil_tmp138 + 5428U;
10157#line 1092
10158 writel(1U, __cil_tmp139);
10159 }
10160#line 1093
10161 return;
10162}
10163}
10164#line 1095 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
10165static void atl1c_configure_tx(struct atl1c_adapter *adapter )
10166{ struct atl1c_hw *hw ;
10167 u32 dev_ctrl_data ;
10168 u32 max_pay_load ;
10169 u16 tx_offload_thresh ;
10170 u32 txq_ctrl_data ;
10171 u32 max_pay_load_data ;
10172 long tmp ;
10173 u32 __min1 ;
10174 u32 __min2 ;
10175 u32 tmp___0 ;
10176 u32 __min1___0 ;
10177 u32 __min2___0 ;
10178 u32 tmp___1 ;
10179 int __cil_tmp15 ;
10180 int __cil_tmp16 ;
10181 unsigned int __cil_tmp17 ;
10182 unsigned int __cil_tmp18 ;
10183 u8 *__cil_tmp19 ;
10184 void volatile *__cil_tmp20 ;
10185 void volatile *__cil_tmp21 ;
10186 bool __cil_tmp22 ;
10187 long __cil_tmp23 ;
10188 u8 *__cil_tmp24 ;
10189 void const volatile *__cil_tmp25 ;
10190 void const volatile *__cil_tmp26 ;
10191 u8 *__cil_tmp27 ;
10192 void const volatile *__cil_tmp28 ;
10193 void const volatile *__cil_tmp29 ;
10194 u8 *__cil_tmp30 ;
10195 void const volatile *__cil_tmp31 ;
10196 void const volatile *__cil_tmp32 ;
10197 u32 __cil_tmp33 ;
10198 enum atl1c_dma_req_block __cil_tmp34 ;
10199 u32 __cil_tmp35 ;
10200 enum atl1c_dma_req_block __cil_tmp36 ;
10201 u8 __cil_tmp37 ;
10202 u32 __cil_tmp38 ;
10203 u16 __cil_tmp39 ;
10204 int __cil_tmp40 ;
10205 int __cil_tmp41 ;
10206 int __cil_tmp42 ;
10207 int __cil_tmp43 ;
10208 enum atl1c_nic_type __cil_tmp44 ;
10209 unsigned int __cil_tmp45 ;
10210 enum atl1c_nic_type __cil_tmp46 ;
10211 unsigned int __cil_tmp47 ;
10212 u8 *__cil_tmp48 ;
10213 void volatile *__cil_tmp49 ;
10214 void volatile *__cil_tmp50 ;
10215
10216 {
10217 {
10218#line 1097
10219 hw = & adapter->hw;
10220#line 1104
10221 tx_offload_thresh = (u16 )9216U;
10222#line 1105
10223 __cil_tmp15 = (int )tx_offload_thresh;
10224#line 1105
10225 __cil_tmp16 = __cil_tmp15 >> 3;
10226#line 1105
10227 __cil_tmp17 = (unsigned int )__cil_tmp16;
10228#line 1105
10229 __cil_tmp18 = __cil_tmp17 & 2047U;
10230#line 1105
10231 __cil_tmp19 = hw->hw_addr;
10232#line 1105
10233 __cil_tmp20 = (void volatile *)__cil_tmp19;
10234#line 1105
10235 __cil_tmp21 = __cil_tmp20 + 5524U;
10236#line 1105
10237 writel(__cil_tmp18, __cil_tmp21);
10238#line 1107
10239 __cil_tmp22 = hw->hibernate;
10240#line 1107
10241 __cil_tmp23 = (long )__cil_tmp22;
10242#line 1107
10243 tmp = __builtin_expect(__cil_tmp23, 0L);
10244 }
10245#line 1107
10246 if (tmp != 0L) {
10247 {
10248#line 1107
10249 __cil_tmp24 = hw->hw_addr;
10250#line 1107
10251 __cil_tmp25 = (void const volatile *)__cil_tmp24;
10252#line 1107
10253 __cil_tmp26 = __cil_tmp25 + 96U;
10254#line 1107
10255 readl(__cil_tmp26);
10256#line 1107
10257 __cil_tmp27 = hw->hw_addr;
10258#line 1107
10259 __cil_tmp28 = (void const volatile *)__cil_tmp27;
10260#line 1107
10261 __cil_tmp29 = __cil_tmp28 + 96U;
10262#line 1107
10263 dev_ctrl_data = readl(__cil_tmp29);
10264 }
10265 } else {
10266 {
10267#line 1107
10268 __cil_tmp30 = hw->hw_addr;
10269#line 1107
10270 __cil_tmp31 = (void const volatile *)__cil_tmp30;
10271#line 1107
10272 __cil_tmp32 = __cil_tmp31 + 96U;
10273#line 1107
10274 dev_ctrl_data = readl(__cil_tmp32);
10275 }
10276 }
10277#line 1108
10278 __cil_tmp33 = dev_ctrl_data >> 5;
10279#line 1108
10280 max_pay_load = __cil_tmp33 & 7U;
10281#line 1110
10282 __min1 = max_pay_load;
10283#line 1110
10284 __cil_tmp34 = hw->dmaw_block;
10285#line 1110
10286 __min2 = (u32 )__cil_tmp34;
10287#line 1110
10288 if (__min1 < __min2) {
10289#line 1110
10290 tmp___0 = __min1;
10291 } else {
10292#line 1110
10293 tmp___0 = __min2;
10294 }
10295#line 1110
10296 hw->dmaw_block = (enum atl1c_dma_req_block )tmp___0;
10297#line 1111
10298 __cil_tmp35 = dev_ctrl_data >> 12;
10299#line 1111
10300 max_pay_load = __cil_tmp35 & 7U;
10301#line 1113
10302 __min1___0 = max_pay_load;
10303#line 1113
10304 __cil_tmp36 = hw->dmar_block;
10305#line 1113
10306 __min2___0 = (u32 )__cil_tmp36;
10307#line 1113
10308 if (__min1___0 < __min2___0) {
10309#line 1113
10310 tmp___1 = __min1___0;
10311 } else {
10312#line 1113
10313 tmp___1 = __min2___0;
10314 }
10315#line 1113
10316 hw->dmar_block = (enum atl1c_dma_req_block )tmp___1;
10317#line 1115
10318 __cil_tmp37 = hw->tpd_burst;
10319#line 1115
10320 __cil_tmp38 = (u32 )__cil_tmp37;
10321#line 1115
10322 txq_ctrl_data = __cil_tmp38 & 15U;
10323 {
10324#line 1117
10325 __cil_tmp39 = hw->ctrl_flags;
10326#line 1117
10327 __cil_tmp40 = (int )__cil_tmp39;
10328#line 1117
10329 __cil_tmp41 = __cil_tmp40 & 32;
10330#line 1117
10331 if (__cil_tmp41 != 0) {
10332#line 1118
10333 txq_ctrl_data = txq_ctrl_data | 64U;
10334 } else {
10335
10336 }
10337 }
10338#line 1119
10339 __cil_tmp42 = (int )atl1c_pay_load_size[(unsigned int )hw->dmar_block];
10340#line 1119
10341 __cil_tmp43 = __cil_tmp42 << 16;
10342#line 1119
10343 max_pay_load_data = (u32 )__cil_tmp43;
10344 {
10345#line 1121
10346 __cil_tmp44 = hw->nic_type;
10347#line 1121
10348 __cil_tmp45 = (unsigned int )__cil_tmp44;
10349#line 1121
10350 if (__cil_tmp45 == 2U) {
10351#line 1122
10352 max_pay_load_data = max_pay_load_data >> 1;
10353 } else {
10354 {
10355#line 1121
10356 __cil_tmp46 = hw->nic_type;
10357#line 1121
10358 __cil_tmp47 = (unsigned int )__cil_tmp46;
10359#line 1121
10360 if (__cil_tmp47 == 3U) {
10361#line 1122
10362 max_pay_load_data = max_pay_load_data >> 1;
10363 } else {
10364
10365 }
10366 }
10367 }
10368 }
10369 {
10370#line 1123
10371 txq_ctrl_data = txq_ctrl_data | max_pay_load_data;
10372#line 1125
10373 __cil_tmp48 = hw->hw_addr;
10374#line 1125
10375 __cil_tmp49 = (void volatile *)__cil_tmp48;
10376#line 1125
10377 __cil_tmp50 = __cil_tmp49 + 5520U;
10378#line 1125
10379 writel(txq_ctrl_data, __cil_tmp50);
10380 }
10381#line 1126
10382 return;
10383}
10384}
10385#line 1128 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
10386static void atl1c_configure_rx(struct atl1c_adapter *adapter )
10387{ struct atl1c_hw *hw ;
10388 u32 rxq_ctrl_data ;
10389 u8 __cil_tmp4 ;
10390 int __cil_tmp5 ;
10391 int __cil_tmp6 ;
10392 int __cil_tmp7 ;
10393 u16 __cil_tmp8 ;
10394 int __cil_tmp9 ;
10395 int __cil_tmp10 ;
10396 enum atl1c_rss_type __cil_tmp11 ;
10397 unsigned int __cil_tmp12 ;
10398 enum atl1c_rss_type __cil_tmp13 ;
10399 unsigned int __cil_tmp14 ;
10400 enum atl1c_rss_type __cil_tmp15 ;
10401 unsigned int __cil_tmp16 ;
10402 enum atl1c_rss_type __cil_tmp17 ;
10403 unsigned int __cil_tmp18 ;
10404 enum atl1c_rss_type __cil_tmp19 ;
10405 unsigned int __cil_tmp20 ;
10406 enum atl1c_rss_mode __cil_tmp21 ;
10407 unsigned int __cil_tmp22 ;
10408 unsigned int __cil_tmp23 ;
10409 unsigned int __cil_tmp24 ;
10410 u8 __cil_tmp25 ;
10411 int __cil_tmp26 ;
10412 int __cil_tmp27 ;
10413 u32 __cil_tmp28 ;
10414 u16 __cil_tmp29 ;
10415 int __cil_tmp30 ;
10416 int __cil_tmp31 ;
10417 u8 *__cil_tmp32 ;
10418 void volatile *__cil_tmp33 ;
10419 void volatile *__cil_tmp34 ;
10420
10421 {
10422#line 1130
10423 hw = & adapter->hw;
10424#line 1133
10425 __cil_tmp4 = hw->rfd_burst;
10426#line 1133
10427 __cil_tmp5 = (int )__cil_tmp4;
10428#line 1133
10429 __cil_tmp6 = __cil_tmp5 & 63;
10430#line 1133
10431 __cil_tmp7 = __cil_tmp6 << 20;
10432#line 1133
10433 rxq_ctrl_data = (u32 )__cil_tmp7;
10434 {
10435#line 1136
10436 __cil_tmp8 = hw->ctrl_flags;
10437#line 1136
10438 __cil_tmp9 = (int )__cil_tmp8;
10439#line 1136
10440 __cil_tmp10 = __cil_tmp9 & 64;
10441#line 1136
10442 if (__cil_tmp10 != 0) {
10443#line 1137
10444 rxq_ctrl_data = rxq_ctrl_data | 128U;
10445 } else {
10446
10447 }
10448 }
10449 {
10450#line 1138
10451 __cil_tmp11 = hw->rss_type;
10452#line 1138
10453 __cil_tmp12 = (unsigned int )__cil_tmp11;
10454#line 1138
10455 if (__cil_tmp12 == 1U) {
10456#line 1139
10457 rxq_ctrl_data = rxq_ctrl_data | 65536U;
10458 } else {
10459
10460 }
10461 }
10462 {
10463#line 1140
10464 __cil_tmp13 = hw->rss_type;
10465#line 1140
10466 __cil_tmp14 = (unsigned int )__cil_tmp13;
10467#line 1140
10468 if (__cil_tmp14 == 2U) {
10469#line 1141
10470 rxq_ctrl_data = rxq_ctrl_data | 131072U;
10471 } else {
10472
10473 }
10474 }
10475 {
10476#line 1142
10477 __cil_tmp15 = hw->rss_type;
10478#line 1142
10479 __cil_tmp16 = (unsigned int )__cil_tmp15;
10480#line 1142
10481 if (__cil_tmp16 == 4U) {
10482#line 1143
10483 rxq_ctrl_data = rxq_ctrl_data | 262144U;
10484 } else {
10485
10486 }
10487 }
10488 {
10489#line 1144
10490 __cil_tmp17 = hw->rss_type;
10491#line 1144
10492 __cil_tmp18 = (unsigned int )__cil_tmp17;
10493#line 1144
10494 if (__cil_tmp18 == 8U) {
10495#line 1145
10496 rxq_ctrl_data = rxq_ctrl_data | 524288U;
10497 } else {
10498
10499 }
10500 }
10501 {
10502#line 1146
10503 __cil_tmp19 = hw->rss_type;
10504#line 1146
10505 __cil_tmp20 = (unsigned int )__cil_tmp19;
10506#line 1146
10507 if (__cil_tmp20 != 0U) {
10508#line 1147
10509 rxq_ctrl_data = rxq_ctrl_data | 536870912U;
10510 } else {
10511
10512 }
10513 }
10514#line 1149
10515 __cil_tmp21 = hw->rss_mode;
10516#line 1149
10517 __cil_tmp22 = (unsigned int )__cil_tmp21;
10518#line 1149
10519 __cil_tmp23 = __cil_tmp22 & 3U;
10520#line 1149
10521 __cil_tmp24 = __cil_tmp23 << 26;
10522#line 1149
10523 rxq_ctrl_data = __cil_tmp24 | rxq_ctrl_data;
10524#line 1151
10525 __cil_tmp25 = hw->rss_hash_bits;
10526#line 1151
10527 __cil_tmp26 = (int )__cil_tmp25;
10528#line 1151
10529 __cil_tmp27 = __cil_tmp26 << 8;
10530#line 1151
10531 __cil_tmp28 = (u32 )__cil_tmp27;
10532#line 1151
10533 rxq_ctrl_data = __cil_tmp28 | rxq_ctrl_data;
10534 {
10535#line 1153
10536 __cil_tmp29 = hw->ctrl_flags;
10537#line 1153
10538 __cil_tmp30 = (int )__cil_tmp29;
10539#line 1153
10540 __cil_tmp31 = __cil_tmp30 & 512;
10541#line 1153
10542 if (__cil_tmp31 != 0) {
10543#line 1154
10544 rxq_ctrl_data = rxq_ctrl_data | 1U;
10545 } else {
10546
10547 }
10548 }
10549 {
10550#line 1157
10551 __cil_tmp32 = hw->hw_addr;
10552#line 1157
10553 __cil_tmp33 = (void volatile *)__cil_tmp32;
10554#line 1157
10555 __cil_tmp34 = __cil_tmp33 + 5536U;
10556#line 1157
10557 writel(rxq_ctrl_data, __cil_tmp34);
10558 }
10559#line 1158
10560 return;
10561}
10562}
10563#line 1160 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
10564static void atl1c_configure_rss(struct atl1c_adapter *adapter )
10565{ struct atl1c_hw *hw ;
10566 u32 __cil_tmp3 ;
10567 u8 *__cil_tmp4 ;
10568 void volatile *__cil_tmp5 ;
10569 void volatile *__cil_tmp6 ;
10570 u32 __cil_tmp7 ;
10571 u8 *__cil_tmp8 ;
10572 void volatile *__cil_tmp9 ;
10573 void volatile *__cil_tmp10 ;
10574
10575 {
10576 {
10577#line 1162
10578 hw = & adapter->hw;
10579#line 1164
10580 __cil_tmp3 = hw->indirect_tab;
10581#line 1164
10582 __cil_tmp4 = hw->hw_addr;
10583#line 1164
10584 __cil_tmp5 = (void volatile *)__cil_tmp4;
10585#line 1164
10586 __cil_tmp6 = __cil_tmp5 + 5344U;
10587#line 1164
10588 writel(__cil_tmp3, __cil_tmp6);
10589#line 1165
10590 __cil_tmp7 = hw->base_cpu;
10591#line 1165
10592 __cil_tmp8 = hw->hw_addr;
10593#line 1165
10594 __cil_tmp9 = (void volatile *)__cil_tmp8;
10595#line 1165
10596 __cil_tmp10 = __cil_tmp9 + 5560U;
10597#line 1165
10598 writel(__cil_tmp7, __cil_tmp10);
10599 }
10600#line 1166
10601 return;
10602}
10603}
10604#line 1168 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
10605static void atl1c_configure_dma(struct atl1c_adapter *adapter )
10606{ struct atl1c_hw *hw ;
10607 u32 dma_ctrl_data ;
10608 u16 __cil_tmp4 ;
10609 int __cil_tmp5 ;
10610 int __cil_tmp6 ;
10611 u16 __cil_tmp7 ;
10612 int __cil_tmp8 ;
10613 int __cil_tmp9 ;
10614 enum atl1c_dma_order __cil_tmp10 ;
10615 unsigned int __cil_tmp11 ;
10616 int __cil_tmp12 ;
10617 enum atl1c_dma_order __cil_tmp13 ;
10618 unsigned int __cil_tmp14 ;
10619 int __cil_tmp15 ;
10620 enum atl1c_dma_order __cil_tmp16 ;
10621 unsigned int __cil_tmp17 ;
10622 int __cil_tmp18 ;
10623 enum atl1c_dma_req_block __cil_tmp19 ;
10624 unsigned int __cil_tmp20 ;
10625 unsigned int __cil_tmp21 ;
10626 unsigned int __cil_tmp22 ;
10627 enum atl1c_dma_req_block __cil_tmp23 ;
10628 unsigned int __cil_tmp24 ;
10629 unsigned int __cil_tmp25 ;
10630 unsigned int __cil_tmp26 ;
10631 u8 __cil_tmp27 ;
10632 unsigned int __cil_tmp28 ;
10633 unsigned int __cil_tmp29 ;
10634 unsigned int __cil_tmp30 ;
10635 u8 __cil_tmp31 ;
10636 unsigned int __cil_tmp32 ;
10637 unsigned int __cil_tmp33 ;
10638 unsigned int __cil_tmp34 ;
10639 u8 *__cil_tmp35 ;
10640 void volatile *__cil_tmp36 ;
10641 void volatile *__cil_tmp37 ;
10642
10643 {
10644#line 1170
10645 hw = & adapter->hw;
10646#line 1173
10647 dma_ctrl_data = 1024U;
10648 {
10649#line 1174
10650 __cil_tmp4 = hw->ctrl_flags;
10651#line 1174
10652 __cil_tmp5 = (int )__cil_tmp4;
10653#line 1174
10654 __cil_tmp6 = __cil_tmp5 & 4;
10655#line 1174
10656 if (__cil_tmp6 != 0) {
10657#line 1175
10658 dma_ctrl_data = dma_ctrl_data | 1048576U;
10659 } else {
10660
10661 }
10662 }
10663 {
10664#line 1176
10665 __cil_tmp7 = hw->ctrl_flags;
10666#line 1176
10667 __cil_tmp8 = (int )__cil_tmp7;
10668#line 1176
10669 __cil_tmp9 = __cil_tmp8 & 16;
10670#line 1176
10671 if (__cil_tmp9 != 0) {
10672#line 1177
10673 dma_ctrl_data = dma_ctrl_data | 2097152U;
10674 } else {
10675#line 1179
10676 dma_ctrl_data = dma_ctrl_data | 16777216U;
10677 }
10678 }
10679 {
10680#line 1182
10681 __cil_tmp10 = hw->dma_order;
10682#line 1182
10683 __cil_tmp11 = (unsigned int )__cil_tmp10;
10684#line 1182
10685 __cil_tmp12 = (int )__cil_tmp11;
10686#line 1182
10687 if (__cil_tmp12 == 1) {
10688#line 1182
10689 goto case_1;
10690 } else {
10691 {
10692#line 1185
10693 __cil_tmp13 = hw->dma_order;
10694#line 1185
10695 __cil_tmp14 = (unsigned int )__cil_tmp13;
10696#line 1185
10697 __cil_tmp15 = (int )__cil_tmp14;
10698#line 1185
10699 if (__cil_tmp15 == 2) {
10700#line 1185
10701 goto case_2;
10702 } else {
10703 {
10704#line 1188
10705 __cil_tmp16 = hw->dma_order;
10706#line 1188
10707 __cil_tmp17 = (unsigned int )__cil_tmp16;
10708#line 1188
10709 __cil_tmp18 = (int )__cil_tmp17;
10710#line 1188
10711 if (__cil_tmp18 == 4) {
10712#line 1188
10713 goto case_4;
10714 } else {
10715#line 1191
10716 goto switch_default;
10717#line 1181
10718 if (0) {
10719 case_1:
10720#line 1183
10721 dma_ctrl_data = dma_ctrl_data | 1U;
10722#line 1184
10723 goto ldv_42791;
10724 case_2:
10725#line 1186
10726 dma_ctrl_data = dma_ctrl_data | 2U;
10727#line 1187
10728 goto ldv_42791;
10729 case_4:
10730#line 1189
10731 dma_ctrl_data = dma_ctrl_data | 4U;
10732#line 1190
10733 goto ldv_42791;
10734 switch_default: ;
10735#line 1192
10736 goto ldv_42791;
10737 } else {
10738
10739 }
10740 }
10741 }
10742 }
10743 }
10744 }
10745 }
10746 ldv_42791:
10747 {
10748#line 1195
10749 __cil_tmp19 = hw->dmar_block;
10750#line 1195
10751 __cil_tmp20 = (unsigned int )__cil_tmp19;
10752#line 1195
10753 __cil_tmp21 = __cil_tmp20 & 7U;
10754#line 1195
10755 __cil_tmp22 = __cil_tmp21 << 4;
10756#line 1195
10757 dma_ctrl_data = __cil_tmp22 | dma_ctrl_data;
10758#line 1197
10759 __cil_tmp23 = hw->dmaw_block;
10760#line 1197
10761 __cil_tmp24 = (unsigned int )__cil_tmp23;
10762#line 1197
10763 __cil_tmp25 = __cil_tmp24 & 7U;
10764#line 1197
10765 __cil_tmp26 = __cil_tmp25 << 7;
10766#line 1197
10767 dma_ctrl_data = __cil_tmp26 | dma_ctrl_data;
10768#line 1199
10769 __cil_tmp27 = hw->dmar_dly_cnt;
10770#line 1199
10771 __cil_tmp28 = (unsigned int )__cil_tmp27;
10772#line 1199
10773 __cil_tmp29 = __cil_tmp28 << 11;
10774#line 1199
10775 __cil_tmp30 = __cil_tmp29 & 65535U;
10776#line 1199
10777 dma_ctrl_data = __cil_tmp30 | dma_ctrl_data;
10778#line 1201
10779 __cil_tmp31 = hw->dmaw_dly_cnt;
10780#line 1201
10781 __cil_tmp32 = (unsigned int )__cil_tmp31;
10782#line 1201
10783 __cil_tmp33 = __cil_tmp32 & 15U;
10784#line 1201
10785 __cil_tmp34 = __cil_tmp33 << 16;
10786#line 1201
10787 dma_ctrl_data = __cil_tmp34 | dma_ctrl_data;
10788#line 1204
10789 __cil_tmp35 = hw->hw_addr;
10790#line 1204
10791 __cil_tmp36 = (void volatile *)__cil_tmp35;
10792#line 1204
10793 __cil_tmp37 = __cil_tmp36 + 5568U;
10794#line 1204
10795 writel(dma_ctrl_data, __cil_tmp37);
10796 }
10797#line 1205
10798 return;
10799}
10800}
10801#line 1212 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
10802static int atl1c_stop_mac(struct atl1c_hw *hw )
10803{ u32 data ;
10804 long tmp ;
10805 long tmp___0 ;
10806 long tmp___1 ;
10807 u32 tmp___2 ;
10808 bool __cil_tmp7 ;
10809 long __cil_tmp8 ;
10810 u8 *__cil_tmp9 ;
10811 void const volatile *__cil_tmp10 ;
10812 void const volatile *__cil_tmp11 ;
10813 u8 *__cil_tmp12 ;
10814 void const volatile *__cil_tmp13 ;
10815 void const volatile *__cil_tmp14 ;
10816 u8 *__cil_tmp15 ;
10817 void const volatile *__cil_tmp16 ;
10818 void const volatile *__cil_tmp17 ;
10819 u8 *__cil_tmp18 ;
10820 void volatile *__cil_tmp19 ;
10821 void volatile *__cil_tmp20 ;
10822 bool __cil_tmp21 ;
10823 long __cil_tmp22 ;
10824 u8 *__cil_tmp23 ;
10825 void const volatile *__cil_tmp24 ;
10826 void const volatile *__cil_tmp25 ;
10827 u8 *__cil_tmp26 ;
10828 void const volatile *__cil_tmp27 ;
10829 void const volatile *__cil_tmp28 ;
10830 u8 *__cil_tmp29 ;
10831 void const volatile *__cil_tmp30 ;
10832 void const volatile *__cil_tmp31 ;
10833 u8 *__cil_tmp32 ;
10834 void volatile *__cil_tmp33 ;
10835 void volatile *__cil_tmp34 ;
10836 bool __cil_tmp35 ;
10837 long __cil_tmp36 ;
10838 u8 *__cil_tmp37 ;
10839 void const volatile *__cil_tmp38 ;
10840 void const volatile *__cil_tmp39 ;
10841 u8 *__cil_tmp40 ;
10842 void const volatile *__cil_tmp41 ;
10843 void const volatile *__cil_tmp42 ;
10844 u8 *__cil_tmp43 ;
10845 void const volatile *__cil_tmp44 ;
10846 void const volatile *__cil_tmp45 ;
10847 u8 *__cil_tmp46 ;
10848 void volatile *__cil_tmp47 ;
10849 void volatile *__cil_tmp48 ;
10850
10851 {
10852 {
10853#line 1216
10854 __cil_tmp7 = hw->hibernate;
10855#line 1216
10856 __cil_tmp8 = (long )__cil_tmp7;
10857#line 1216
10858 tmp = __builtin_expect(__cil_tmp8, 0L);
10859 }
10860#line 1216
10861 if (tmp != 0L) {
10862 {
10863#line 1216
10864 __cil_tmp9 = hw->hw_addr;
10865#line 1216
10866 __cil_tmp10 = (void const volatile *)__cil_tmp9;
10867#line 1216
10868 __cil_tmp11 = __cil_tmp10 + 5536U;
10869#line 1216
10870 readl(__cil_tmp11);
10871#line 1216
10872 __cil_tmp12 = hw->hw_addr;
10873#line 1216
10874 __cil_tmp13 = (void const volatile *)__cil_tmp12;
10875#line 1216
10876 __cil_tmp14 = __cil_tmp13 + 5536U;
10877#line 1216
10878 data = readl(__cil_tmp14);
10879 }
10880 } else {
10881 {
10882#line 1216
10883 __cil_tmp15 = hw->hw_addr;
10884#line 1216
10885 __cil_tmp16 = (void const volatile *)__cil_tmp15;
10886#line 1216
10887 __cil_tmp17 = __cil_tmp16 + 5536U;
10888#line 1216
10889 data = readl(__cil_tmp17);
10890 }
10891 }
10892 {
10893#line 1217
10894 data = data & 2147483535U;
10895#line 1219
10896 __cil_tmp18 = hw->hw_addr;
10897#line 1219
10898 __cil_tmp19 = (void volatile *)__cil_tmp18;
10899#line 1219
10900 __cil_tmp20 = __cil_tmp19 + 5536U;
10901#line 1219
10902 writel(data, __cil_tmp20);
10903#line 1221
10904 __cil_tmp21 = hw->hibernate;
10905#line 1221
10906 __cil_tmp22 = (long )__cil_tmp21;
10907#line 1221
10908 tmp___0 = __builtin_expect(__cil_tmp22, 0L);
10909 }
10910#line 1221
10911 if (tmp___0 != 0L) {
10912 {
10913#line 1221
10914 __cil_tmp23 = hw->hw_addr;
10915#line 1221
10916 __cil_tmp24 = (void const volatile *)__cil_tmp23;
10917#line 1221
10918 __cil_tmp25 = __cil_tmp24 + 5520U;
10919#line 1221
10920 readl(__cil_tmp25);
10921#line 1221
10922 __cil_tmp26 = hw->hw_addr;
10923#line 1221
10924 __cil_tmp27 = (void const volatile *)__cil_tmp26;
10925#line 1221
10926 __cil_tmp28 = __cil_tmp27 + 5520U;
10927#line 1221
10928 data = readl(__cil_tmp28);
10929 }
10930 } else {
10931 {
10932#line 1221
10933 __cil_tmp29 = hw->hw_addr;
10934#line 1221
10935 __cil_tmp30 = (void const volatile *)__cil_tmp29;
10936#line 1221
10937 __cil_tmp31 = __cil_tmp30 + 5520U;
10938#line 1221
10939 data = readl(__cil_tmp31);
10940 }
10941 }
10942 {
10943#line 1222
10944 data = data & 4294967263U;
10945#line 1223
10946 __cil_tmp32 = hw->hw_addr;
10947#line 1223
10948 __cil_tmp33 = (void volatile *)__cil_tmp32;
10949#line 1223
10950 __cil_tmp34 = __cil_tmp33 + 536U;
10951#line 1223
10952 writel(data, __cil_tmp34);
10953#line 1225
10954 atl1c_wait_until_idle(hw);
10955#line 1227
10956 __cil_tmp35 = hw->hibernate;
10957#line 1227
10958 __cil_tmp36 = (long )__cil_tmp35;
10959#line 1227
10960 tmp___1 = __builtin_expect(__cil_tmp36, 0L);
10961 }
10962#line 1227
10963 if (tmp___1 != 0L) {
10964 {
10965#line 1227
10966 __cil_tmp37 = hw->hw_addr;
10967#line 1227
10968 __cil_tmp38 = (void const volatile *)__cil_tmp37;
10969#line 1227
10970 __cil_tmp39 = __cil_tmp38 + 5248U;
10971#line 1227
10972 readl(__cil_tmp39);
10973#line 1227
10974 __cil_tmp40 = hw->hw_addr;
10975#line 1227
10976 __cil_tmp41 = (void const volatile *)__cil_tmp40;
10977#line 1227
10978 __cil_tmp42 = __cil_tmp41 + 5248U;
10979#line 1227
10980 data = readl(__cil_tmp42);
10981 }
10982 } else {
10983 {
10984#line 1227
10985 __cil_tmp43 = hw->hw_addr;
10986#line 1227
10987 __cil_tmp44 = (void const volatile *)__cil_tmp43;
10988#line 1227
10989 __cil_tmp45 = __cil_tmp44 + 5248U;
10990#line 1227
10991 data = readl(__cil_tmp45);
10992 }
10993 }
10994 {
10995#line 1228
10996 data = data & 4294967292U;
10997#line 1229
10998 __cil_tmp46 = hw->hw_addr;
10999#line 1229
11000 __cil_tmp47 = (void volatile *)__cil_tmp46;
11001#line 1229
11002 __cil_tmp48 = __cil_tmp47 + 5248U;
11003#line 1229
11004 writel(data, __cil_tmp48);
11005#line 1231
11006 tmp___2 = atl1c_wait_until_idle(hw);
11007 }
11008#line 1231
11009 return ((int )tmp___2);
11010}
11011}
11012#line 1234 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
11013static void atl1c_enable_rx_ctrl(struct atl1c_hw *hw )
11014{ u32 data ;
11015 long tmp ;
11016 bool __cil_tmp4 ;
11017 long __cil_tmp5 ;
11018 u8 *__cil_tmp6 ;
11019 void const volatile *__cil_tmp7 ;
11020 void const volatile *__cil_tmp8 ;
11021 u8 *__cil_tmp9 ;
11022 void const volatile *__cil_tmp10 ;
11023 void const volatile *__cil_tmp11 ;
11024 u8 *__cil_tmp12 ;
11025 void const volatile *__cil_tmp13 ;
11026 void const volatile *__cil_tmp14 ;
11027 struct atl1c_adapter *__cil_tmp15 ;
11028 int __cil_tmp16 ;
11029 struct atl1c_adapter *__cil_tmp17 ;
11030 int __cil_tmp18 ;
11031 struct atl1c_adapter *__cil_tmp19 ;
11032 int __cil_tmp20 ;
11033 u8 *__cil_tmp21 ;
11034 void volatile *__cil_tmp22 ;
11035 void volatile *__cil_tmp23 ;
11036
11037 {
11038 {
11039#line 1238
11040 __cil_tmp4 = hw->hibernate;
11041#line 1238
11042 __cil_tmp5 = (long )__cil_tmp4;
11043#line 1238
11044 tmp = __builtin_expect(__cil_tmp5, 0L);
11045 }
11046#line 1238
11047 if (tmp != 0L) {
11048 {
11049#line 1238
11050 __cil_tmp6 = hw->hw_addr;
11051#line 1238
11052 __cil_tmp7 = (void const volatile *)__cil_tmp6;
11053#line 1238
11054 __cil_tmp8 = __cil_tmp7 + 5536U;
11055#line 1238
11056 readl(__cil_tmp8);
11057#line 1238
11058 __cil_tmp9 = hw->hw_addr;
11059#line 1238
11060 __cil_tmp10 = (void const volatile *)__cil_tmp9;
11061#line 1238
11062 __cil_tmp11 = __cil_tmp10 + 5536U;
11063#line 1238
11064 data = readl(__cil_tmp11);
11065 }
11066 } else {
11067 {
11068#line 1238
11069 __cil_tmp12 = hw->hw_addr;
11070#line 1238
11071 __cil_tmp13 = (void const volatile *)__cil_tmp12;
11072#line 1238
11073 __cil_tmp14 = __cil_tmp13 + 5536U;
11074#line 1238
11075 data = readl(__cil_tmp14);
11076 }
11077 }
11078 {
11079#line 1240
11080 __cil_tmp15 = hw->adapter;
11081#line 1240
11082 __cil_tmp16 = __cil_tmp15->num_rx_queues;
11083#line 1240
11084 if (__cil_tmp16 == 4) {
11085#line 1240
11086 goto case_4;
11087 } else {
11088 {
11089#line 1243
11090 __cil_tmp17 = hw->adapter;
11091#line 1243
11092 __cil_tmp18 = __cil_tmp17->num_rx_queues;
11093#line 1243
11094 if (__cil_tmp18 == 3) {
11095#line 1243
11096 goto case_3;
11097 } else {
11098 {
11099#line 1246
11100 __cil_tmp19 = hw->adapter;
11101#line 1246
11102 __cil_tmp20 = __cil_tmp19->num_rx_queues;
11103#line 1246
11104 if (__cil_tmp20 == 2) {
11105#line 1246
11106 goto case_2;
11107 } else {
11108#line 1249
11109 goto switch_default;
11110#line 1239
11111 if (0) {
11112 case_4:
11113#line 1241
11114 data = data | 112U;
11115#line 1242
11116 goto ldv_42804;
11117 case_3:
11118#line 1244
11119 data = data | 48U;
11120#line 1245
11121 goto ldv_42804;
11122 case_2:
11123#line 1247
11124 data = data | 16U;
11125#line 1248
11126 goto ldv_42804;
11127 switch_default: ;
11128#line 1250
11129 goto ldv_42804;
11130 } else {
11131
11132 }
11133 }
11134 }
11135 }
11136 }
11137 }
11138 }
11139 ldv_42804:
11140 {
11141#line 1252
11142 data = data | 2147483648U;
11143#line 1253
11144 __cil_tmp21 = hw->hw_addr;
11145#line 1253
11146 __cil_tmp22 = (void volatile *)__cil_tmp21;
11147#line 1253
11148 __cil_tmp23 = __cil_tmp22 + 5536U;
11149#line 1253
11150 writel(data, __cil_tmp23);
11151 }
11152#line 1254
11153 return;
11154}
11155}
11156#line 1256 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
11157static void atl1c_enable_tx_ctrl(struct atl1c_hw *hw )
11158{ u32 data ;
11159 long tmp ;
11160 bool __cil_tmp4 ;
11161 long __cil_tmp5 ;
11162 u8 *__cil_tmp6 ;
11163 void const volatile *__cil_tmp7 ;
11164 void const volatile *__cil_tmp8 ;
11165 u8 *__cil_tmp9 ;
11166 void const volatile *__cil_tmp10 ;
11167 void const volatile *__cil_tmp11 ;
11168 u8 *__cil_tmp12 ;
11169 void const volatile *__cil_tmp13 ;
11170 void const volatile *__cil_tmp14 ;
11171 u8 *__cil_tmp15 ;
11172 void volatile *__cil_tmp16 ;
11173 void volatile *__cil_tmp17 ;
11174
11175 {
11176 {
11177#line 1260
11178 __cil_tmp4 = hw->hibernate;
11179#line 1260
11180 __cil_tmp5 = (long )__cil_tmp4;
11181#line 1260
11182 tmp = __builtin_expect(__cil_tmp5, 0L);
11183 }
11184#line 1260
11185 if (tmp != 0L) {
11186 {
11187#line 1260
11188 __cil_tmp6 = hw->hw_addr;
11189#line 1260
11190 __cil_tmp7 = (void const volatile *)__cil_tmp6;
11191#line 1260
11192 __cil_tmp8 = __cil_tmp7 + 5520U;
11193#line 1260
11194 readl(__cil_tmp8);
11195#line 1260
11196 __cil_tmp9 = hw->hw_addr;
11197#line 1260
11198 __cil_tmp10 = (void const volatile *)__cil_tmp9;
11199#line 1260
11200 __cil_tmp11 = __cil_tmp10 + 5520U;
11201#line 1260
11202 data = readl(__cil_tmp11);
11203 }
11204 } else {
11205 {
11206#line 1260
11207 __cil_tmp12 = hw->hw_addr;
11208#line 1260
11209 __cil_tmp13 = (void const volatile *)__cil_tmp12;
11210#line 1260
11211 __cil_tmp14 = __cil_tmp13 + 5520U;
11212#line 1260
11213 data = readl(__cil_tmp14);
11214 }
11215 }
11216 {
11217#line 1261
11218 data = data | 32U;
11219#line 1262
11220 __cil_tmp15 = hw->hw_addr;
11221#line 1262
11222 __cil_tmp16 = (void volatile *)__cil_tmp15;
11223#line 1262
11224 __cil_tmp17 = __cil_tmp16 + 5520U;
11225#line 1262
11226 writel(data, __cil_tmp17);
11227 }
11228#line 1263
11229 return;
11230}
11231}
11232#line 1270 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
11233static int atl1c_reset_mac(struct atl1c_hw *hw )
11234{ struct atl1c_adapter *adapter ;
11235 struct pci_dev *pdev ;
11236 u32 master_ctrl_data ;
11237 long tmp ;
11238 u32 tmp___0 ;
11239 u8 *__cil_tmp7 ;
11240 void volatile *__cil_tmp8 ;
11241 void volatile *__cil_tmp9 ;
11242 u8 *__cil_tmp10 ;
11243 void volatile *__cil_tmp11 ;
11244 void volatile *__cil_tmp12 ;
11245 bool __cil_tmp13 ;
11246 long __cil_tmp14 ;
11247 u8 *__cil_tmp15 ;
11248 void const volatile *__cil_tmp16 ;
11249 void const volatile *__cil_tmp17 ;
11250 u8 *__cil_tmp18 ;
11251 void const volatile *__cil_tmp19 ;
11252 void const volatile *__cil_tmp20 ;
11253 u8 *__cil_tmp21 ;
11254 void const volatile *__cil_tmp22 ;
11255 void const volatile *__cil_tmp23 ;
11256 unsigned short __cil_tmp24 ;
11257 unsigned int __cil_tmp25 ;
11258 unsigned int __cil_tmp26 ;
11259 int __cil_tmp27 ;
11260 unsigned short __cil_tmp28 ;
11261 u8 *__cil_tmp29 ;
11262 void volatile *__cil_tmp30 ;
11263 void volatile *__cil_tmp31 ;
11264 u8 *__cil_tmp32 ;
11265 void const volatile *__cil_tmp33 ;
11266 struct device *__cil_tmp34 ;
11267 struct device const *__cil_tmp35 ;
11268
11269 {
11270 {
11271#line 1272
11272 adapter = hw->adapter;
11273#line 1273
11274 pdev = adapter->pdev;
11275#line 1274
11276 master_ctrl_data = 0U;
11277#line 1276
11278 __cil_tmp7 = hw->hw_addr;
11279#line 1276
11280 __cil_tmp8 = (void volatile *)__cil_tmp7;
11281#line 1276
11282 __cil_tmp9 = __cil_tmp8 + 5636U;
11283#line 1276
11284 writel(0U, __cil_tmp9);
11285#line 1277
11286 __cil_tmp10 = hw->hw_addr;
11287#line 1277
11288 __cil_tmp11 = (void volatile *)__cil_tmp10;
11289#line 1277
11290 __cil_tmp12 = __cil_tmp11 + 5632U;
11291#line 1277
11292 writel(2147483648U, __cil_tmp12);
11293#line 1279
11294 atl1c_stop_mac(hw);
11295#line 1286
11296 __cil_tmp13 = hw->hibernate;
11297#line 1286
11298 __cil_tmp14 = (long )__cil_tmp13;
11299#line 1286
11300 tmp = __builtin_expect(__cil_tmp14, 0L);
11301 }
11302#line 1286
11303 if (tmp != 0L) {
11304 {
11305#line 1286
11306 __cil_tmp15 = hw->hw_addr;
11307#line 1286
11308 __cil_tmp16 = (void const volatile *)__cil_tmp15;
11309#line 1286
11310 __cil_tmp17 = __cil_tmp16 + 5120U;
11311#line 1286
11312 readl(__cil_tmp17);
11313#line 1286
11314 __cil_tmp18 = hw->hw_addr;
11315#line 1286
11316 __cil_tmp19 = (void const volatile *)__cil_tmp18;
11317#line 1286
11318 __cil_tmp20 = __cil_tmp19 + 5120U;
11319#line 1286
11320 master_ctrl_data = readl(__cil_tmp20);
11321 }
11322 } else {
11323 {
11324#line 1286
11325 __cil_tmp21 = hw->hw_addr;
11326#line 1286
11327 __cil_tmp22 = (void const volatile *)__cil_tmp21;
11328#line 1286
11329 __cil_tmp23 = __cil_tmp22 + 5120U;
11330#line 1286
11331 master_ctrl_data = readl(__cil_tmp23);
11332 }
11333 }
11334 {
11335#line 1287
11336 master_ctrl_data = master_ctrl_data | 64U;
11337#line 1288
11338 __cil_tmp24 = (unsigned short )master_ctrl_data;
11339#line 1288
11340 __cil_tmp25 = (unsigned int )__cil_tmp24;
11341#line 1288
11342 __cil_tmp26 = __cil_tmp25 | 1U;
11343#line 1288
11344 __cil_tmp27 = (int )__cil_tmp26;
11345#line 1288
11346 __cil_tmp28 = (unsigned short )__cil_tmp27;
11347#line 1288
11348 __cil_tmp29 = hw->hw_addr;
11349#line 1288
11350 __cil_tmp30 = (void volatile *)__cil_tmp29;
11351#line 1288
11352 __cil_tmp31 = __cil_tmp30 + 5120U;
11353#line 1288
11354 writew(__cil_tmp28, __cil_tmp31);
11355#line 1291
11356 __cil_tmp32 = hw->hw_addr;
11357#line 1291
11358 __cil_tmp33 = (void const volatile *)__cil_tmp32;
11359#line 1291
11360 readl(__cil_tmp33);
11361#line 1292
11362 msleep(10U);
11363#line 1295
11364 tmp___0 = atl1c_wait_until_idle(hw);
11365 }
11366#line 1295
11367 if (tmp___0 != 0U) {
11368 {
11369#line 1296
11370 __cil_tmp34 = & pdev->dev;
11371#line 1296
11372 __cil_tmp35 = (struct device const *)__cil_tmp34;
11373#line 1296
11374 dev_err(__cil_tmp35, "MAC state machine can\'t be idle since disabled for 10ms second\n");
11375 }
11376#line 1299
11377 return (-1);
11378 } else {
11379
11380 }
11381#line 1301
11382 return (0);
11383}
11384}
11385#line 1327 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
11386static void atl1c_set_aspm(struct atl1c_hw *hw , bool linkup )
11387{ u32 pm_ctrl_data ;
11388 u32 link_ctrl_data ;
11389 u32 link_l1_timer ;
11390 long tmp ;
11391 long tmp___0 ;
11392 bool __cil_tmp8 ;
11393 long __cil_tmp9 ;
11394 u8 *__cil_tmp10 ;
11395 void const volatile *__cil_tmp11 ;
11396 void const volatile *__cil_tmp12 ;
11397 u8 *__cil_tmp13 ;
11398 void const volatile *__cil_tmp14 ;
11399 void const volatile *__cil_tmp15 ;
11400 u8 *__cil_tmp16 ;
11401 void const volatile *__cil_tmp17 ;
11402 void const volatile *__cil_tmp18 ;
11403 bool __cil_tmp19 ;
11404 long __cil_tmp20 ;
11405 u8 *__cil_tmp21 ;
11406 void const volatile *__cil_tmp22 ;
11407 void const volatile *__cil_tmp23 ;
11408 u8 *__cil_tmp24 ;
11409 void const volatile *__cil_tmp25 ;
11410 void const volatile *__cil_tmp26 ;
11411 u8 *__cil_tmp27 ;
11412 void const volatile *__cil_tmp28 ;
11413 void const volatile *__cil_tmp29 ;
11414 enum atl1c_nic_type __cil_tmp30 ;
11415 unsigned int __cil_tmp31 ;
11416 enum atl1c_nic_type __cil_tmp32 ;
11417 unsigned int __cil_tmp33 ;
11418 enum atl1c_nic_type __cil_tmp34 ;
11419 unsigned int __cil_tmp35 ;
11420 enum atl1c_nic_type __cil_tmp36 ;
11421 unsigned int __cil_tmp37 ;
11422 u16 __cil_tmp38 ;
11423 int __cil_tmp39 ;
11424 int __cil_tmp40 ;
11425 enum atl1c_nic_type __cil_tmp41 ;
11426 unsigned int __cil_tmp42 ;
11427 u8 __cil_tmp43 ;
11428 unsigned int __cil_tmp44 ;
11429 u8 *__cil_tmp45 ;
11430 void volatile *__cil_tmp46 ;
11431 void volatile *__cil_tmp47 ;
11432 u16 __cil_tmp48 ;
11433 int __cil_tmp49 ;
11434 int __cil_tmp50 ;
11435 u16 __cil_tmp51 ;
11436 int __cil_tmp52 ;
11437 int __cil_tmp53 ;
11438 enum atl1c_nic_type __cil_tmp54 ;
11439 unsigned int __cil_tmp55 ;
11440 enum atl1c_nic_type __cil_tmp56 ;
11441 unsigned int __cil_tmp57 ;
11442 enum atl1c_nic_type __cil_tmp58 ;
11443 unsigned int __cil_tmp59 ;
11444 enum atl1c_nic_type __cil_tmp60 ;
11445 unsigned int __cil_tmp61 ;
11446 enum atl1c_nic_type __cil_tmp62 ;
11447 unsigned int __cil_tmp63 ;
11448 u16 __cil_tmp64 ;
11449 int __cil_tmp65 ;
11450 int __cil_tmp66 ;
11451 struct atl1c_adapter *__cil_tmp67 ;
11452 u16 __cil_tmp68 ;
11453 unsigned int __cil_tmp69 ;
11454 struct atl1c_adapter *__cil_tmp70 ;
11455 u16 __cil_tmp71 ;
11456 unsigned int __cil_tmp72 ;
11457 enum atl1c_nic_type __cil_tmp73 ;
11458 unsigned int __cil_tmp74 ;
11459 enum atl1c_nic_type __cil_tmp75 ;
11460 unsigned int __cil_tmp76 ;
11461 enum atl1c_nic_type __cil_tmp77 ;
11462 unsigned int __cil_tmp78 ;
11463 u32 __cil_tmp79 ;
11464 u16 __cil_tmp80 ;
11465 int __cil_tmp81 ;
11466 int __cil_tmp82 ;
11467 u8 *__cil_tmp83 ;
11468 void volatile *__cil_tmp84 ;
11469 void volatile *__cil_tmp85 ;
11470
11471 {
11472 {
11473#line 1331
11474 link_l1_timer = 15U;
11475#line 1333
11476 __cil_tmp8 = hw->hibernate;
11477#line 1333
11478 __cil_tmp9 = (long )__cil_tmp8;
11479#line 1333
11480 tmp = __builtin_expect(__cil_tmp9, 0L);
11481 }
11482#line 1333
11483 if (tmp != 0L) {
11484 {
11485#line 1333
11486 __cil_tmp10 = hw->hw_addr;
11487#line 1333
11488 __cil_tmp11 = (void const volatile *)__cil_tmp10;
11489#line 1333
11490 __cil_tmp12 = __cil_tmp11 + 4856U;
11491#line 1333
11492 readl(__cil_tmp12);
11493#line 1333
11494 __cil_tmp13 = hw->hw_addr;
11495#line 1333
11496 __cil_tmp14 = (void const volatile *)__cil_tmp13;
11497#line 1333
11498 __cil_tmp15 = __cil_tmp14 + 4856U;
11499#line 1333
11500 pm_ctrl_data = readl(__cil_tmp15);
11501 }
11502 } else {
11503 {
11504#line 1333
11505 __cil_tmp16 = hw->hw_addr;
11506#line 1333
11507 __cil_tmp17 = (void const volatile *)__cil_tmp16;
11508#line 1333
11509 __cil_tmp18 = __cil_tmp17 + 4856U;
11510#line 1333
11511 pm_ctrl_data = readl(__cil_tmp18);
11512 }
11513 }
11514 {
11515#line 1334
11516 __cil_tmp19 = hw->hibernate;
11517#line 1334
11518 __cil_tmp20 = (long )__cil_tmp19;
11519#line 1334
11520 tmp___0 = __builtin_expect(__cil_tmp20, 0L);
11521 }
11522#line 1334
11523 if (tmp___0 != 0L) {
11524 {
11525#line 1334
11526 __cil_tmp21 = hw->hw_addr;
11527#line 1334
11528 __cil_tmp22 = (void const volatile *)__cil_tmp21;
11529#line 1334
11530 __cil_tmp23 = __cil_tmp22 + 104U;
11531#line 1334
11532 readl(__cil_tmp23);
11533#line 1334
11534 __cil_tmp24 = hw->hw_addr;
11535#line 1334
11536 __cil_tmp25 = (void const volatile *)__cil_tmp24;
11537#line 1334
11538 __cil_tmp26 = __cil_tmp25 + 104U;
11539#line 1334
11540 link_ctrl_data = readl(__cil_tmp26);
11541 }
11542 } else {
11543 {
11544#line 1334
11545 __cil_tmp27 = hw->hw_addr;
11546#line 1334
11547 __cil_tmp28 = (void const volatile *)__cil_tmp27;
11548#line 1334
11549 __cil_tmp29 = __cil_tmp28 + 104U;
11550#line 1334
11551 link_ctrl_data = readl(__cil_tmp29);
11552 }
11553 }
11554#line 1336
11555 pm_ctrl_data = pm_ctrl_data & 4294967231U;
11556#line 1337
11557 pm_ctrl_data = pm_ctrl_data & 4293984255U;
11558#line 1339
11559 pm_ctrl_data = pm_ctrl_data & 4043309055U;
11560#line 1341
11561 pm_ctrl_data = pm_ctrl_data | 201326592U;
11562 {
11563#line 1343
11564 __cil_tmp30 = hw->nic_type;
11565#line 1343
11566 __cil_tmp31 = (unsigned int )__cil_tmp30;
11567#line 1343
11568 if (__cil_tmp31 == 2U) {
11569#line 1343
11570 goto _L;
11571 } else {
11572 {
11573#line 1343
11574 __cil_tmp32 = hw->nic_type;
11575#line 1343
11576 __cil_tmp33 = (unsigned int )__cil_tmp32;
11577#line 1343
11578 if (__cil_tmp33 == 4U) {
11579#line 1343
11580 goto _L;
11581 } else {
11582 {
11583#line 1343
11584 __cil_tmp34 = hw->nic_type;
11585#line 1343
11586 __cil_tmp35 = (unsigned int )__cil_tmp34;
11587#line 1343
11588 if (__cil_tmp35 == 3U) {
11589#line 1343
11590 goto _L;
11591 } else {
11592 {
11593#line 1343
11594 __cil_tmp36 = hw->nic_type;
11595#line 1343
11596 __cil_tmp37 = (unsigned int )__cil_tmp36;
11597#line 1343
11598 if (__cil_tmp37 == 5U) {
11599 _L:
11600#line 1345
11601 link_ctrl_data = link_ctrl_data & 4294967167U;
11602 {
11603#line 1346
11604 __cil_tmp38 = hw->ctrl_flags;
11605#line 1346
11606 __cil_tmp39 = (int )__cil_tmp38;
11607#line 1346
11608 __cil_tmp40 = __cil_tmp39 & 2048;
11609#line 1346
11610 if (__cil_tmp40 == 0) {
11611 {
11612#line 1347
11613 __cil_tmp41 = hw->nic_type;
11614#line 1347
11615 __cil_tmp42 = (unsigned int )__cil_tmp41;
11616#line 1347
11617 if (__cil_tmp42 == 2U) {
11618 {
11619#line 1347
11620 __cil_tmp43 = hw->revision_id;
11621#line 1347
11622 __cil_tmp44 = (unsigned int )__cil_tmp43;
11623#line 1347
11624 if (__cil_tmp44 == 192U) {
11625#line 1348
11626 link_ctrl_data = link_ctrl_data | 128U;
11627 } else {
11628
11629 }
11630 }
11631 } else {
11632
11633 }
11634 }
11635 } else {
11636
11637 }
11638 }
11639 {
11640#line 1351
11641 __cil_tmp45 = hw->hw_addr;
11642#line 1351
11643 __cil_tmp46 = (void volatile *)__cil_tmp45;
11644#line 1351
11645 __cil_tmp47 = __cil_tmp46 + 104U;
11646#line 1351
11647 writel(link_ctrl_data, __cil_tmp47);
11648#line 1353
11649 pm_ctrl_data = pm_ctrl_data | 32768U;
11650#line 1354
11651 pm_ctrl_data = pm_ctrl_data & 4279238655U;
11652#line 1356
11653 pm_ctrl_data = pm_ctrl_data | 12582912U;
11654#line 1358
11655 pm_ctrl_data = pm_ctrl_data & 3758096383U;
11656#line 1359
11657 pm_ctrl_data = pm_ctrl_data & 2147483647U;
11658#line 1360
11659 pm_ctrl_data = pm_ctrl_data | 65536U;
11660#line 1361
11661 pm_ctrl_data = pm_ctrl_data | 64U;
11662 }
11663 } else {
11664
11665 }
11666 }
11667 }
11668 }
11669 }
11670 }
11671 }
11672 }
11673#line 1363
11674 pm_ctrl_data = pm_ctrl_data | 1073741824U;
11675#line 1364
11676 if ((int )linkup) {
11677#line 1365
11678 pm_ctrl_data = pm_ctrl_data & 4294967287U;
11679#line 1366
11680 pm_ctrl_data = pm_ctrl_data & 4294963199U;
11681 {
11682#line 1367
11683 __cil_tmp48 = hw->ctrl_flags;
11684#line 1367
11685 __cil_tmp49 = (int )__cil_tmp48;
11686#line 1367
11687 __cil_tmp50 = __cil_tmp49 & 256;
11688#line 1367
11689 if (__cil_tmp50 != 0) {
11690#line 1368
11691 pm_ctrl_data = pm_ctrl_data | 8U;
11692 } else {
11693
11694 }
11695 }
11696 {
11697#line 1369
11698 __cil_tmp51 = hw->ctrl_flags;
11699#line 1369
11700 __cil_tmp52 = (int )__cil_tmp51;
11701#line 1369
11702 __cil_tmp53 = __cil_tmp52 & 128;
11703#line 1369
11704 if (__cil_tmp53 != 0) {
11705#line 1370
11706 pm_ctrl_data = pm_ctrl_data | 4096U;
11707 } else {
11708
11709 }
11710 }
11711 {
11712#line 1372
11713 __cil_tmp54 = hw->nic_type;
11714#line 1372
11715 __cil_tmp55 = (unsigned int )__cil_tmp54;
11716#line 1372
11717 if (__cil_tmp55 == 2U) {
11718#line 1372
11719 goto _L___1;
11720 } else {
11721 {
11722#line 1372
11723 __cil_tmp56 = hw->nic_type;
11724#line 1372
11725 __cil_tmp57 = (unsigned int )__cil_tmp56;
11726#line 1372
11727 if (__cil_tmp57 == 4U) {
11728#line 1372
11729 goto _L___1;
11730 } else {
11731 {
11732#line 1372
11733 __cil_tmp58 = hw->nic_type;
11734#line 1372
11735 __cil_tmp59 = (unsigned int )__cil_tmp58;
11736#line 1372
11737 if (__cil_tmp59 == 3U) {
11738#line 1372
11739 goto _L___1;
11740 } else {
11741 {
11742#line 1372
11743 __cil_tmp60 = hw->nic_type;
11744#line 1372
11745 __cil_tmp61 = (unsigned int )__cil_tmp60;
11746#line 1372
11747 if (__cil_tmp61 == 5U) {
11748 _L___1:
11749 {
11750#line 1374
11751 __cil_tmp62 = hw->nic_type;
11752#line 1374
11753 __cil_tmp63 = (unsigned int )__cil_tmp62;
11754#line 1374
11755 if (__cil_tmp63 == 2U) {
11756 {
11757#line 1375
11758 __cil_tmp64 = hw->ctrl_flags;
11759#line 1375
11760 __cil_tmp65 = (int )__cil_tmp64;
11761#line 1375
11762 __cil_tmp66 = __cil_tmp65 & 2048;
11763#line 1375
11764 if (__cil_tmp66 == 0) {
11765#line 1376
11766 pm_ctrl_data = pm_ctrl_data & 4294963199U;
11767 } else {
11768
11769 }
11770 }
11771 } else {
11772
11773 }
11774 }
11775#line 1377
11776 pm_ctrl_data = pm_ctrl_data & 4294967279U;
11777#line 1378
11778 pm_ctrl_data = pm_ctrl_data & 4294967263U;
11779#line 1379
11780 pm_ctrl_data = pm_ctrl_data & 4294967167U;
11781#line 1380
11782 pm_ctrl_data = pm_ctrl_data | 8192U;
11783 {
11784#line 1381
11785 __cil_tmp67 = hw->adapter;
11786#line 1381
11787 __cil_tmp68 = __cil_tmp67->link_speed;
11788#line 1381
11789 __cil_tmp69 = (unsigned int )__cil_tmp68;
11790#line 1381
11791 if (__cil_tmp69 == 100U) {
11792#line 1381
11793 goto _L___0;
11794 } else {
11795 {
11796#line 1381
11797 __cil_tmp70 = hw->adapter;
11798#line 1381
11799 __cil_tmp71 = __cil_tmp70->link_speed;
11800#line 1381
11801 __cil_tmp72 = (unsigned int )__cil_tmp71;
11802#line 1381
11803 if (__cil_tmp72 == 1000U) {
11804 _L___0:
11805#line 1383
11806 pm_ctrl_data = pm_ctrl_data & 4293984255U;
11807 {
11808#line 1385
11809 __cil_tmp73 = hw->nic_type;
11810#line 1385
11811 __cil_tmp74 = (unsigned int )__cil_tmp73;
11812#line 1385
11813 if (__cil_tmp74 == 2U) {
11814#line 1386
11815 link_l1_timer = 7U;
11816 } else {
11817 {
11818#line 1387
11819 __cil_tmp75 = hw->nic_type;
11820#line 1387
11821 __cil_tmp76 = (unsigned int )__cil_tmp75;
11822#line 1387
11823 if (__cil_tmp76 == 3U) {
11824#line 1389
11825 link_l1_timer = 4U;
11826 } else {
11827 {
11828#line 1387
11829 __cil_tmp77 = hw->nic_type;
11830#line 1387
11831 __cil_tmp78 = (unsigned int )__cil_tmp77;
11832#line 1387
11833 if (__cil_tmp78 == 5U) {
11834#line 1389
11835 link_l1_timer = 4U;
11836 } else {
11837
11838 }
11839 }
11840 }
11841 }
11842 }
11843 }
11844#line 1390
11845 __cil_tmp79 = link_l1_timer << 16;
11846#line 1390
11847 pm_ctrl_data = __cil_tmp79 | pm_ctrl_data;
11848 } else {
11849
11850 }
11851 }
11852 }
11853 }
11854 } else {
11855#line 1394
11856 pm_ctrl_data = pm_ctrl_data | 16U;
11857#line 1395
11858 pm_ctrl_data = pm_ctrl_data | 32U;
11859#line 1396
11860 pm_ctrl_data = pm_ctrl_data | 128U;
11861#line 1397
11862 pm_ctrl_data = pm_ctrl_data & 4294959103U;
11863#line 1398
11864 pm_ctrl_data = pm_ctrl_data & 4294963199U;
11865#line 1399
11866 pm_ctrl_data = pm_ctrl_data & 4294967287U;
11867 }
11868 }
11869 }
11870 }
11871 }
11872 }
11873 }
11874 }
11875 } else {
11876#line 1403
11877 pm_ctrl_data = pm_ctrl_data & 4294967279U;
11878#line 1404
11879 pm_ctrl_data = pm_ctrl_data & 4294963199U;
11880#line 1405
11881 pm_ctrl_data = pm_ctrl_data & 4294967263U;
11882#line 1406
11883 pm_ctrl_data = pm_ctrl_data | 8192U;
11884 {
11885#line 1408
11886 __cil_tmp80 = hw->ctrl_flags;
11887#line 1408
11888 __cil_tmp81 = (int )__cil_tmp80;
11889#line 1408
11890 __cil_tmp82 = __cil_tmp81 & 256;
11891#line 1408
11892 if (__cil_tmp82 != 0) {
11893#line 1409
11894 pm_ctrl_data = pm_ctrl_data | 8U;
11895 } else {
11896#line 1411
11897 pm_ctrl_data = pm_ctrl_data & 4294967287U;
11898 }
11899 }
11900 }
11901 {
11902#line 1413
11903 __cil_tmp83 = hw->hw_addr;
11904#line 1413
11905 __cil_tmp84 = (void volatile *)__cil_tmp83;
11906#line 1413
11907 __cil_tmp85 = __cil_tmp84 + 4856U;
11908#line 1413
11909 writel(pm_ctrl_data, __cil_tmp85);
11910 }
11911#line 1415
11912 return;
11913}
11914}
11915#line 1418 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
11916static void atl1c_setup_mac_ctrl(struct atl1c_adapter *adapter )
11917{ struct atl1c_hw *hw ;
11918 struct net_device *netdev ;
11919 u32 mac_ctrl_data ;
11920 u16 __cil_tmp5 ;
11921 unsigned int __cil_tmp6 ;
11922 u16 __cil_tmp7 ;
11923 unsigned int __cil_tmp8 ;
11924 enum atl1c_mac_speed __cil_tmp9 ;
11925 unsigned int __cil_tmp10 ;
11926 unsigned int __cil_tmp11 ;
11927 unsigned int __cil_tmp12 ;
11928 u8 __cil_tmp13 ;
11929 int __cil_tmp14 ;
11930 int __cil_tmp15 ;
11931 int __cil_tmp16 ;
11932 u32 __cil_tmp17 ;
11933 struct vlan_group *__cil_tmp18 ;
11934 unsigned long __cil_tmp19 ;
11935 struct vlan_group *__cil_tmp20 ;
11936 unsigned long __cil_tmp21 ;
11937 unsigned int __cil_tmp22 ;
11938 unsigned int __cil_tmp23 ;
11939 unsigned int __cil_tmp24 ;
11940 unsigned int __cil_tmp25 ;
11941 enum atl1c_nic_type __cil_tmp26 ;
11942 unsigned int __cil_tmp27 ;
11943 enum atl1c_nic_type __cil_tmp28 ;
11944 unsigned int __cil_tmp29 ;
11945 enum atl1c_nic_type __cil_tmp30 ;
11946 unsigned int __cil_tmp31 ;
11947 u8 *__cil_tmp32 ;
11948 void volatile *__cil_tmp33 ;
11949 void volatile *__cil_tmp34 ;
11950
11951 {
11952#line 1420
11953 hw = & adapter->hw;
11954#line 1421
11955 netdev = adapter->netdev;
11956#line 1424
11957 mac_ctrl_data = 3U;
11958#line 1425
11959 mac_ctrl_data = mac_ctrl_data | 12U;
11960 {
11961#line 1427
11962 __cil_tmp5 = adapter->link_duplex;
11963#line 1427
11964 __cil_tmp6 = (unsigned int )__cil_tmp5;
11965#line 1427
11966 if (__cil_tmp6 == 2U) {
11967#line 1428
11968 hw->mac_duplex = (bool )1;
11969#line 1429
11970 mac_ctrl_data = mac_ctrl_data | 32U;
11971 } else {
11972
11973 }
11974 }
11975 {
11976#line 1432
11977 __cil_tmp7 = adapter->link_speed;
11978#line 1432
11979 __cil_tmp8 = (unsigned int )__cil_tmp7;
11980#line 1432
11981 if (__cil_tmp8 == 1000U) {
11982#line 1433
11983 hw->mac_speed = (enum atl1c_mac_speed )2;
11984 } else {
11985#line 1435
11986 hw->mac_speed = (enum atl1c_mac_speed )1;
11987 }
11988 }
11989#line 1437
11990 __cil_tmp9 = hw->mac_speed;
11991#line 1437
11992 __cil_tmp10 = (unsigned int )__cil_tmp9;
11993#line 1437
11994 __cil_tmp11 = __cil_tmp10 & 3U;
11995#line 1437
11996 __cil_tmp12 = __cil_tmp11 << 20;
11997#line 1437
11998 mac_ctrl_data = __cil_tmp12 | mac_ctrl_data;
11999#line 1440
12000 mac_ctrl_data = mac_ctrl_data | 192U;
12001#line 1441
12002 __cil_tmp13 = hw->preamble_len;
12003#line 1441
12004 __cil_tmp14 = (int )__cil_tmp13;
12005#line 1441
12006 __cil_tmp15 = __cil_tmp14 & 15;
12007#line 1441
12008 __cil_tmp16 = __cil_tmp15 << 10;
12009#line 1441
12010 __cil_tmp17 = (u32 )__cil_tmp16;
12011#line 1441
12012 mac_ctrl_data = __cil_tmp17 | mac_ctrl_data;
12013 {
12014#line 1444
12015 __cil_tmp18 = (struct vlan_group *)0;
12016#line 1444
12017 __cil_tmp19 = (unsigned long )__cil_tmp18;
12018#line 1444
12019 __cil_tmp20 = adapter->vlgrp;
12020#line 1444
12021 __cil_tmp21 = (unsigned long )__cil_tmp20;
12022#line 1444
12023 if (__cil_tmp21 != __cil_tmp19) {
12024#line 1445
12025 mac_ctrl_data = mac_ctrl_data | 16384U;
12026 } else {
12027
12028 }
12029 }
12030#line 1447
12031 mac_ctrl_data = mac_ctrl_data | 67108864U;
12032 {
12033#line 1448
12034 __cil_tmp22 = netdev->flags;
12035#line 1448
12036 __cil_tmp23 = __cil_tmp22 & 256U;
12037#line 1448
12038 if (__cil_tmp23 != 0U) {
12039#line 1449
12040 mac_ctrl_data = mac_ctrl_data | 32768U;
12041 } else {
12042
12043 }
12044 }
12045 {
12046#line 1450
12047 __cil_tmp24 = netdev->flags;
12048#line 1450
12049 __cil_tmp25 = __cil_tmp24 & 512U;
12050#line 1450
12051 if (__cil_tmp25 != 0U) {
12052#line 1451
12053 mac_ctrl_data = mac_ctrl_data | 33554432U;
12054 } else {
12055
12056 }
12057 }
12058#line 1453
12059 mac_ctrl_data = mac_ctrl_data | 268435456U;
12060 {
12061#line 1454
12062 __cil_tmp26 = hw->nic_type;
12063#line 1454
12064 __cil_tmp27 = (unsigned int )__cil_tmp26;
12065#line 1454
12066 if (__cil_tmp27 == 4U) {
12067#line 1456
12068 mac_ctrl_data = mac_ctrl_data | 1073741824U;
12069#line 1457
12070 mac_ctrl_data = mac_ctrl_data | 536870912U;
12071 } else {
12072 {
12073#line 1454
12074 __cil_tmp28 = hw->nic_type;
12075#line 1454
12076 __cil_tmp29 = (unsigned int )__cil_tmp28;
12077#line 1454
12078 if (__cil_tmp29 == 3U) {
12079#line 1456
12080 mac_ctrl_data = mac_ctrl_data | 1073741824U;
12081#line 1457
12082 mac_ctrl_data = mac_ctrl_data | 536870912U;
12083 } else {
12084 {
12085#line 1454
12086 __cil_tmp30 = hw->nic_type;
12087#line 1454
12088 __cil_tmp31 = (unsigned int )__cil_tmp30;
12089#line 1454
12090 if (__cil_tmp31 == 5U) {
12091#line 1456
12092 mac_ctrl_data = mac_ctrl_data | 1073741824U;
12093#line 1457
12094 mac_ctrl_data = mac_ctrl_data | 536870912U;
12095 } else {
12096
12097 }
12098 }
12099 }
12100 }
12101 }
12102 }
12103 {
12104#line 1459
12105 __cil_tmp32 = hw->hw_addr;
12106#line 1459
12107 __cil_tmp33 = (void volatile *)__cil_tmp32;
12108#line 1459
12109 __cil_tmp34 = __cil_tmp33 + 5248U;
12110#line 1459
12111 writel(mac_ctrl_data, __cil_tmp34);
12112 }
12113#line 1460
12114 return;
12115}
12116}
12117#line 1468 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
12118static int atl1c_configure(struct atl1c_adapter *adapter )
12119{ struct atl1c_hw *hw ;
12120 u32 master_ctrl_data ;
12121 u32 intr_modrt_data ;
12122 u32 data ;
12123 u8 *__cil_tmp6 ;
12124 void volatile *__cil_tmp7 ;
12125 void volatile *__cil_tmp8 ;
12126 u8 *__cil_tmp9 ;
12127 void volatile *__cil_tmp10 ;
12128 void volatile *__cil_tmp11 ;
12129 u16 __cil_tmp12 ;
12130 int __cil_tmp13 ;
12131 int __cil_tmp14 ;
12132 enum atl1c_nic_type __cil_tmp15 ;
12133 unsigned int __cil_tmp16 ;
12134 u8 *__cil_tmp17 ;
12135 void volatile *__cil_tmp18 ;
12136 void volatile *__cil_tmp19 ;
12137 u16 __cil_tmp20 ;
12138 unsigned int __cil_tmp21 ;
12139 u8 *__cil_tmp22 ;
12140 void volatile *__cil_tmp23 ;
12141 void volatile *__cil_tmp24 ;
12142 u16 __cil_tmp25 ;
12143 int __cil_tmp26 ;
12144 int __cil_tmp27 ;
12145 u16 __cil_tmp28 ;
12146 u16 __cil_tmp29 ;
12147 int __cil_tmp30 ;
12148 int __cil_tmp31 ;
12149 u32 __cil_tmp32 ;
12150 u8 *__cil_tmp33 ;
12151 void volatile *__cil_tmp34 ;
12152 void volatile *__cil_tmp35 ;
12153 u16 __cil_tmp36 ;
12154 int __cil_tmp37 ;
12155 u8 *__cil_tmp38 ;
12156 void volatile *__cil_tmp39 ;
12157 void volatile *__cil_tmp40 ;
12158 u16 __cil_tmp41 ;
12159 int __cil_tmp42 ;
12160 int __cil_tmp43 ;
12161 u16 __cil_tmp44 ;
12162 unsigned int __cil_tmp45 ;
12163 u8 *__cil_tmp46 ;
12164 void volatile *__cil_tmp47 ;
12165 void volatile *__cil_tmp48 ;
12166 u16 __cil_tmp49 ;
12167 unsigned int __cil_tmp50 ;
12168 u8 *__cil_tmp51 ;
12169 void volatile *__cil_tmp52 ;
12170 void volatile *__cil_tmp53 ;
12171 u16 __cil_tmp54 ;
12172 int __cil_tmp55 ;
12173 int __cil_tmp56 ;
12174 u32 __cil_tmp57 ;
12175 unsigned int __cil_tmp58 ;
12176 u8 *__cil_tmp59 ;
12177 void volatile *__cil_tmp60 ;
12178 void volatile *__cil_tmp61 ;
12179 u16 __cil_tmp62 ;
12180 int __cil_tmp63 ;
12181 int __cil_tmp64 ;
12182 unsigned int __cil_tmp65 ;
12183 u8 *__cil_tmp66 ;
12184 void volatile *__cil_tmp67 ;
12185 void volatile *__cil_tmp68 ;
12186 u8 *__cil_tmp69 ;
12187 void volatile *__cil_tmp70 ;
12188 void volatile *__cil_tmp71 ;
12189
12190 {
12191 {
12192#line 1470
12193 hw = & adapter->hw;
12194#line 1471
12195 master_ctrl_data = 0U;
12196#line 1476
12197 __cil_tmp6 = hw->hw_addr;
12198#line 1476
12199 __cil_tmp7 = (void volatile *)__cil_tmp6;
12200#line 1476
12201 __cil_tmp8 = __cil_tmp7 + 5632U;
12202#line 1476
12203 writel(4294967295U, __cil_tmp8);
12204#line 1478
12205 __cil_tmp9 = hw->hw_addr;
12206#line 1478
12207 __cil_tmp10 = (void volatile *)__cil_tmp9;
12208#line 1478
12209 __cil_tmp11 = __cil_tmp10 + 5280U;
12210#line 1478
12211 writel(0U, __cil_tmp11);
12212#line 1484
12213 data = 63U;
12214 }
12215 {
12216#line 1485
12217 __cil_tmp12 = hw->ctrl_flags;
12218#line 1485
12219 __cil_tmp13 = (int )__cil_tmp12;
12220#line 1485
12221 __cil_tmp14 = __cil_tmp13 & 8192;
12222#line 1485
12223 if (__cil_tmp14 != 0) {
12224 {
12225#line 1486
12226 __cil_tmp15 = hw->nic_type;
12227#line 1486
12228 __cil_tmp16 = (unsigned int )__cil_tmp15;
12229#line 1486
12230 if (__cil_tmp16 == 2U) {
12231#line 1487
12232 data = data & 4294967263U;
12233 } else {
12234#line 1489
12235 data = 0U;
12236 }
12237 }
12238 } else {
12239
12240 }
12241 }
12242 {
12243#line 1490
12244 __cil_tmp17 = hw->hw_addr;
12245#line 1490
12246 __cil_tmp18 = (void volatile *)__cil_tmp17;
12247#line 1490
12248 __cil_tmp19 = __cil_tmp18 + 6164U;
12249#line 1490
12250 writel(data, __cil_tmp19);
12251#line 1492
12252 __cil_tmp20 = hw->ict;
12253#line 1492
12254 __cil_tmp21 = (unsigned int )__cil_tmp20;
12255#line 1492
12256 __cil_tmp22 = hw->hw_addr;
12257#line 1492
12258 __cil_tmp23 = (void volatile *)__cil_tmp22;
12259#line 1492
12260 __cil_tmp24 = __cil_tmp23 + 5640U;
12261#line 1492
12262 writel(__cil_tmp21, __cil_tmp24);
12263#line 1495
12264 atl1c_configure_des_ring(adapter);
12265 }
12266 {
12267#line 1497
12268 __cil_tmp25 = hw->ctrl_flags;
12269#line 1497
12270 __cil_tmp26 = (int )__cil_tmp25;
12271#line 1497
12272 __cil_tmp27 = __cil_tmp26 & 2;
12273#line 1497
12274 if (__cil_tmp27 != 0) {
12275 {
12276#line 1498
12277 __cil_tmp28 = hw->tx_imt;
12278#line 1498
12279 intr_modrt_data = (u32 )__cil_tmp28;
12280#line 1500
12281 __cil_tmp29 = hw->rx_imt;
12282#line 1500
12283 __cil_tmp30 = (int )__cil_tmp29;
12284#line 1500
12285 __cil_tmp31 = __cil_tmp30 << 16;
12286#line 1500
12287 __cil_tmp32 = (u32 )__cil_tmp31;
12288#line 1500
12289 intr_modrt_data = __cil_tmp32 | intr_modrt_data;
12290#line 1502
12291 __cil_tmp33 = hw->hw_addr;
12292#line 1502
12293 __cil_tmp34 = (void volatile *)__cil_tmp33;
12294#line 1502
12295 __cil_tmp35 = __cil_tmp34 + 5128U;
12296#line 1502
12297 writel(intr_modrt_data, __cil_tmp35);
12298#line 1503
12299 master_ctrl_data = master_ctrl_data | 3072U;
12300 }
12301 } else {
12302
12303 }
12304 }
12305 {
12306#line 1507
12307 __cil_tmp36 = hw->ctrl_flags;
12308#line 1507
12309 __cil_tmp37 = (int )__cil_tmp36;
12310#line 1507
12311 if (__cil_tmp37 & 1) {
12312#line 1508
12313 master_ctrl_data = master_ctrl_data | 16384U;
12314 } else {
12315
12316 }
12317 }
12318 {
12319#line 1510
12320 master_ctrl_data = master_ctrl_data | 128U;
12321#line 1511
12322 __cil_tmp38 = hw->hw_addr;
12323#line 1511
12324 __cil_tmp39 = (void volatile *)__cil_tmp38;
12325#line 1511
12326 __cil_tmp40 = __cil_tmp39 + 5120U;
12327#line 1511
12328 writel(master_ctrl_data, __cil_tmp40);
12329 }
12330 {
12331#line 1513
12332 __cil_tmp41 = hw->ctrl_flags;
12333#line 1513
12334 __cil_tmp42 = (int )__cil_tmp41;
12335#line 1513
12336 __cil_tmp43 = __cil_tmp42 & 4;
12337#line 1513
12338 if (__cil_tmp43 != 0) {
12339 {
12340#line 1514
12341 __cil_tmp44 = hw->cmb_tpd;
12342#line 1514
12343 __cil_tmp45 = (unsigned int )__cil_tmp44;
12344#line 1514
12345 __cil_tmp46 = hw->hw_addr;
12346#line 1514
12347 __cil_tmp47 = (void volatile *)__cil_tmp46;
12348#line 1514
12349 __cil_tmp48 = __cil_tmp47 + 5576U;
12350#line 1514
12351 writel(__cil_tmp45, __cil_tmp48);
12352#line 1516
12353 __cil_tmp49 = hw->cmb_tx_timer;
12354#line 1516
12355 __cil_tmp50 = (unsigned int )__cil_tmp49;
12356#line 1516
12357 __cil_tmp51 = hw->hw_addr;
12358#line 1516
12359 __cil_tmp52 = (void volatile *)__cil_tmp51;
12360#line 1516
12361 __cil_tmp53 = __cil_tmp52 + 5580U;
12362#line 1516
12363 writel(__cil_tmp50, __cil_tmp53);
12364 }
12365 } else {
12366
12367 }
12368 }
12369 {
12370#line 1520
12371 __cil_tmp54 = hw->ctrl_flags;
12372#line 1520
12373 __cil_tmp55 = (int )__cil_tmp54;
12374#line 1520
12375 __cil_tmp56 = __cil_tmp55 & 16;
12376#line 1520
12377 if (__cil_tmp56 != 0) {
12378 {
12379#line 1521
12380 __cil_tmp57 = hw->smb_timer;
12381#line 1521
12382 __cil_tmp58 = __cil_tmp57 & 16777215U;
12383#line 1521
12384 __cil_tmp59 = hw->hw_addr;
12385#line 1521
12386 __cil_tmp60 = (void volatile *)__cil_tmp59;
12387#line 1521
12388 __cil_tmp61 = __cil_tmp60 + 5572U;
12389#line 1521
12390 writel(__cil_tmp58, __cil_tmp61);
12391 }
12392 } else {
12393
12394 }
12395 }
12396 {
12397#line 1524
12398 __cil_tmp62 = hw->max_frame_size;
12399#line 1524
12400 __cil_tmp63 = (int )__cil_tmp62;
12401#line 1524
12402 __cil_tmp64 = __cil_tmp63 + 22;
12403#line 1524
12404 __cil_tmp65 = (unsigned int )__cil_tmp64;
12405#line 1524
12406 __cil_tmp66 = hw->hw_addr;
12407#line 1524
12408 __cil_tmp67 = (void volatile *)__cil_tmp66;
12409#line 1524
12410 __cil_tmp68 = __cil_tmp67 + 5276U;
12411#line 1524
12412 writel(__cil_tmp65, __cil_tmp68);
12413#line 1527
12414 __cil_tmp69 = hw->hw_addr;
12415#line 1527
12416 __cil_tmp70 = (void volatile *)__cil_tmp69;
12417#line 1527
12418 __cil_tmp71 = __cil_tmp70 + 5644U;
12419#line 1527
12420 writel(0U, __cil_tmp71);
12421#line 1529
12422 atl1c_configure_tx(adapter);
12423#line 1530
12424 atl1c_configure_rx(adapter);
12425#line 1531
12426 atl1c_configure_rss(adapter);
12427#line 1532
12428 atl1c_configure_dma(adapter);
12429 }
12430#line 1534
12431 return (0);
12432}
12433}
12434#line 1605 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
12435__inline static void atl1c_clear_phy_int(struct atl1c_adapter *adapter )
12436{ u16 phy_data ;
12437 spinlock_t *__cil_tmp3 ;
12438 struct atl1c_hw *__cil_tmp4 ;
12439 u16 __cil_tmp5 ;
12440 spinlock_t *__cil_tmp6 ;
12441
12442 {
12443 {
12444#line 1609
12445 __cil_tmp3 = & adapter->mdio_lock;
12446#line 1609
12447 spin_lock(__cil_tmp3);
12448#line 1610
12449 __cil_tmp4 = & adapter->hw;
12450#line 1610
12451 __cil_tmp5 = (u16 )19;
12452#line 1610
12453 atl1c_read_phy_reg(__cil_tmp4, __cil_tmp5, & phy_data);
12454#line 1611
12455 __cil_tmp6 = & adapter->mdio_lock;
12456#line 1611
12457 spin_unlock(__cil_tmp6);
12458 }
12459#line 1612
12460 return;
12461}
12462}
12463#line 1614 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
12464static bool atl1c_clean_tx_irq(struct atl1c_adapter *adapter , enum atl1c_trans_queue type )
12465{ struct atl1c_tpd_ring *tpd_ring ;
12466 struct atl1c_buffer *buffer_info ;
12467 struct pci_dev *pdev ;
12468 u16 next_to_clean ;
12469 int tmp ;
12470 u16 hw_next_to_clean ;
12471 u16 shift ;
12472 u32 data ;
12473 long tmp___0 ;
12474 int tmp___1 ;
12475 int tmp___2 ;
12476 unsigned long __cil_tmp14 ;
12477 struct atl1c_tpd_ring (*__cil_tmp15)[2U] ;
12478 struct atl1c_tpd_ring *__cil_tmp16 ;
12479 atomic_t *__cil_tmp17 ;
12480 atomic_t const *__cil_tmp18 ;
12481 unsigned int __cil_tmp19 ;
12482 bool __cil_tmp20 ;
12483 long __cil_tmp21 ;
12484 u8 *__cil_tmp22 ;
12485 void const volatile *__cil_tmp23 ;
12486 void const volatile *__cil_tmp24 ;
12487 u8 *__cil_tmp25 ;
12488 void const volatile *__cil_tmp26 ;
12489 void const volatile *__cil_tmp27 ;
12490 u8 *__cil_tmp28 ;
12491 void const volatile *__cil_tmp29 ;
12492 void const volatile *__cil_tmp30 ;
12493 int __cil_tmp31 ;
12494 u32 __cil_tmp32 ;
12495 unsigned long __cil_tmp33 ;
12496 struct atl1c_buffer *__cil_tmp34 ;
12497 int __cil_tmp35 ;
12498 int __cil_tmp36 ;
12499 u16 __cil_tmp37 ;
12500 int __cil_tmp38 ;
12501 int __cil_tmp39 ;
12502 atomic_t *__cil_tmp40 ;
12503 int __cil_tmp41 ;
12504 int __cil_tmp42 ;
12505 int __cil_tmp43 ;
12506 struct net_device *__cil_tmp44 ;
12507 struct net_device const *__cil_tmp45 ;
12508 struct net_device *__cil_tmp46 ;
12509 struct net_device const *__cil_tmp47 ;
12510 struct net_device *__cil_tmp48 ;
12511
12512 {
12513 {
12514#line 1617
12515 __cil_tmp14 = (unsigned long )type;
12516#line 1617
12517 __cil_tmp15 = & adapter->tpd_ring;
12518#line 1617
12519 __cil_tmp16 = (struct atl1c_tpd_ring *)__cil_tmp15;
12520#line 1617
12521 tpd_ring = __cil_tmp16 + __cil_tmp14;
12522#line 1620
12523 pdev = adapter->pdev;
12524#line 1621
12525 __cil_tmp17 = & tpd_ring->next_to_clean;
12526#line 1621
12527 __cil_tmp18 = (atomic_t const *)__cil_tmp17;
12528#line 1621
12529 tmp = atomic_read(__cil_tmp18);
12530#line 1621
12531 next_to_clean = (u16 )tmp;
12532 }
12533 {
12534#line 1626
12535 __cil_tmp19 = (unsigned int )type;
12536#line 1626
12537 if (__cil_tmp19 == 1U) {
12538#line 1627
12539 shift = (u16 )0U;
12540 } else {
12541#line 1629
12542 shift = (u16 )16U;
12543 }
12544 }
12545 {
12546#line 1631
12547 __cil_tmp20 = adapter->hw.hibernate;
12548#line 1631
12549 __cil_tmp21 = (long )__cil_tmp20;
12550#line 1631
12551 tmp___0 = __builtin_expect(__cil_tmp21, 0L);
12552 }
12553#line 1631
12554 if (tmp___0 != 0L) {
12555 {
12556#line 1631
12557 __cil_tmp22 = adapter->hw.hw_addr;
12558#line 1631
12559 __cil_tmp23 = (void const volatile *)__cil_tmp22;
12560#line 1631
12561 __cil_tmp24 = __cil_tmp23 + 5620U;
12562#line 1631
12563 readl(__cil_tmp24);
12564#line 1631
12565 __cil_tmp25 = adapter->hw.hw_addr;
12566#line 1631
12567 __cil_tmp26 = (void const volatile *)__cil_tmp25;
12568#line 1631
12569 __cil_tmp27 = __cil_tmp26 + 5620U;
12570#line 1631
12571 data = readl(__cil_tmp27);
12572 }
12573 } else {
12574 {
12575#line 1631
12576 __cil_tmp28 = adapter->hw.hw_addr;
12577#line 1631
12578 __cil_tmp29 = (void const volatile *)__cil_tmp28;
12579#line 1631
12580 __cil_tmp30 = __cil_tmp29 + 5620U;
12581#line 1631
12582 data = readl(__cil_tmp30);
12583 }
12584 }
12585#line 1632
12586 __cil_tmp31 = (int )shift;
12587#line 1632
12588 __cil_tmp32 = data >> __cil_tmp31;
12589#line 1632
12590 hw_next_to_clean = (u16 )__cil_tmp32;
12591#line 1634
12592 goto ldv_42876;
12593 ldv_42875:
12594 {
12595#line 1635
12596 __cil_tmp33 = (unsigned long )next_to_clean;
12597#line 1635
12598 __cil_tmp34 = tpd_ring->buffer_info;
12599#line 1635
12600 buffer_info = __cil_tmp34 + __cil_tmp33;
12601#line 1636
12602 atl1c_clean_buffer(pdev, buffer_info, 1);
12603#line 1637
12604 __cil_tmp35 = (int )next_to_clean;
12605#line 1637
12606 __cil_tmp36 = __cil_tmp35 + 1;
12607#line 1637
12608 next_to_clean = (u16 )__cil_tmp36;
12609 }
12610 {
12611#line 1637
12612 __cil_tmp37 = tpd_ring->count;
12613#line 1637
12614 __cil_tmp38 = (int )__cil_tmp37;
12615#line 1637
12616 __cil_tmp39 = (int )next_to_clean;
12617#line 1637
12618 if (__cil_tmp39 == __cil_tmp38) {
12619#line 1638
12620 next_to_clean = (u16 )0U;
12621 } else {
12622
12623 }
12624 }
12625 {
12626#line 1639
12627 __cil_tmp40 = & tpd_ring->next_to_clean;
12628#line 1639
12629 __cil_tmp41 = (int )next_to_clean;
12630#line 1639
12631 atomic_set(__cil_tmp40, __cil_tmp41);
12632 }
12633 ldv_42876: ;
12634 {
12635#line 1634
12636 __cil_tmp42 = (int )hw_next_to_clean;
12637#line 1634
12638 __cil_tmp43 = (int )next_to_clean;
12639#line 1634
12640 if (__cil_tmp43 != __cil_tmp42) {
12641#line 1635
12642 goto ldv_42875;
12643 } else {
12644#line 1637
12645 goto ldv_42877;
12646 }
12647 }
12648 ldv_42877:
12649 {
12650#line 1642
12651 __cil_tmp44 = adapter->netdev;
12652#line 1642
12653 __cil_tmp45 = (struct net_device const *)__cil_tmp44;
12654#line 1642
12655 tmp___1 = netif_queue_stopped(__cil_tmp45);
12656 }
12657#line 1642
12658 if (tmp___1 != 0) {
12659 {
12660#line 1642
12661 __cil_tmp46 = adapter->netdev;
12662#line 1642
12663 __cil_tmp47 = (struct net_device const *)__cil_tmp46;
12664#line 1642
12665 tmp___2 = netif_carrier_ok(__cil_tmp47);
12666 }
12667#line 1642
12668 if (tmp___2 != 0) {
12669 {
12670#line 1644
12671 __cil_tmp48 = adapter->netdev;
12672#line 1644
12673 netif_wake_queue(__cil_tmp48);
12674 }
12675 } else {
12676
12677 }
12678 } else {
12679
12680 }
12681#line 1647
12682 return ((bool )1);
12683}
12684}
12685#line 1656 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
12686static irqreturn_t atl1c_intr(int irq , void *data )
12687{ struct net_device *netdev ;
12688 struct atl1c_adapter *adapter ;
12689 void *tmp ;
12690 struct pci_dev *pdev ;
12691 struct atl1c_hw *hw ;
12692 int max_ints ;
12693 int handled ;
12694 u32 status ;
12695 u32 reg_data ;
12696 long tmp___0 ;
12697 int tmp___1 ;
12698 long tmp___2 ;
12699 struct net_device const *__cil_tmp15 ;
12700 bool __cil_tmp16 ;
12701 long __cil_tmp17 ;
12702 u8 *__cil_tmp18 ;
12703 void const volatile *__cil_tmp19 ;
12704 void const volatile *__cil_tmp20 ;
12705 u8 *__cil_tmp21 ;
12706 void const volatile *__cil_tmp22 ;
12707 void const volatile *__cil_tmp23 ;
12708 u8 *__cil_tmp24 ;
12709 void const volatile *__cil_tmp25 ;
12710 void const volatile *__cil_tmp26 ;
12711 u32 __cil_tmp27 ;
12712 int __cil_tmp28 ;
12713 unsigned int __cil_tmp29 ;
12714 unsigned int __cil_tmp30 ;
12715 u8 *__cil_tmp31 ;
12716 void volatile *__cil_tmp32 ;
12717 void volatile *__cil_tmp33 ;
12718 unsigned int __cil_tmp34 ;
12719 struct napi_struct *__cil_tmp35 ;
12720 int __cil_tmp36 ;
12721 long __cil_tmp37 ;
12722 u32 __cil_tmp38 ;
12723 u32 __cil_tmp39 ;
12724 u8 *__cil_tmp40 ;
12725 void volatile *__cil_tmp41 ;
12726 void volatile *__cil_tmp42 ;
12727 struct napi_struct *__cil_tmp43 ;
12728 unsigned int __cil_tmp44 ;
12729 enum atl1c_trans_queue __cil_tmp45 ;
12730 unsigned int __cil_tmp46 ;
12731 u32 __cil_tmp47 ;
12732 unsigned int __cil_tmp48 ;
12733 struct device *__cil_tmp49 ;
12734 struct device const *__cil_tmp50 ;
12735 unsigned int __cil_tmp51 ;
12736 struct work_struct *__cil_tmp52 ;
12737 unsigned int __cil_tmp53 ;
12738 u32 __cil_tmp54 ;
12739 unsigned int __cil_tmp55 ;
12740 struct device *__cil_tmp56 ;
12741 struct device const *__cil_tmp57 ;
12742 unsigned int __cil_tmp58 ;
12743 unsigned int __cil_tmp59 ;
12744 unsigned long __cil_tmp60 ;
12745 u8 *__cil_tmp61 ;
12746 void volatile *__cil_tmp62 ;
12747 void volatile *__cil_tmp63 ;
12748
12749 {
12750 {
12751#line 1658
12752 netdev = (struct net_device *)data;
12753#line 1659
12754 __cil_tmp15 = (struct net_device const *)netdev;
12755#line 1659
12756 tmp = netdev_priv(__cil_tmp15);
12757#line 1659
12758 adapter = (struct atl1c_adapter *)tmp;
12759#line 1660
12760 pdev = adapter->pdev;
12761#line 1661
12762 hw = & adapter->hw;
12763#line 1662
12764 max_ints = 5;
12765#line 1663
12766 handled = 0;
12767 }
12768 ldv_42891:
12769 {
12770#line 1668
12771 __cil_tmp16 = hw->hibernate;
12772#line 1668
12773 __cil_tmp17 = (long )__cil_tmp16;
12774#line 1668
12775 tmp___0 = __builtin_expect(__cil_tmp17, 0L);
12776 }
12777#line 1668
12778 if (tmp___0 != 0L) {
12779 {
12780#line 1668
12781 __cil_tmp18 = hw->hw_addr;
12782#line 1668
12783 __cil_tmp19 = (void const volatile *)__cil_tmp18;
12784#line 1668
12785 __cil_tmp20 = __cil_tmp19 + 5632U;
12786#line 1668
12787 readl(__cil_tmp20);
12788#line 1668
12789 __cil_tmp21 = hw->hw_addr;
12790#line 1668
12791 __cil_tmp22 = (void const volatile *)__cil_tmp21;
12792#line 1668
12793 __cil_tmp23 = __cil_tmp22 + 5632U;
12794#line 1668
12795 reg_data = readl(__cil_tmp23);
12796 }
12797 } else {
12798 {
12799#line 1668
12800 __cil_tmp24 = hw->hw_addr;
12801#line 1668
12802 __cil_tmp25 = (void const volatile *)__cil_tmp24;
12803#line 1668
12804 __cil_tmp26 = __cil_tmp25 + 5632U;
12805#line 1668
12806 reg_data = readl(__cil_tmp26);
12807 }
12808 }
12809#line 1669
12810 __cil_tmp27 = hw->intr_mask;
12811#line 1669
12812 status = __cil_tmp27 & reg_data;
12813#line 1671
12814 if (status == 0U) {
12815#line 1671
12816 goto _L;
12817 } else {
12818 {
12819#line 1671
12820 __cil_tmp28 = (int )status;
12821#line 1671
12822 if (__cil_tmp28 < 0) {
12823 _L:
12824#line 1672
12825 if (max_ints != 5) {
12826#line 1673
12827 handled = 1;
12828 } else {
12829
12830 }
12831#line 1674
12832 goto ldv_42890;
12833 } else {
12834
12835 }
12836 }
12837 }
12838 {
12839#line 1677
12840 __cil_tmp29 = status & 4096U;
12841#line 1677
12842 if (__cil_tmp29 != 0U) {
12843 {
12844#line 1678
12845 atl1c_clear_phy_int(adapter);
12846 }
12847 } else {
12848
12849 }
12850 }
12851 {
12852#line 1680
12853 __cil_tmp30 = status | 2147483648U;
12854#line 1680
12855 __cil_tmp31 = hw->hw_addr;
12856#line 1680
12857 __cil_tmp32 = (void volatile *)__cil_tmp31;
12858#line 1680
12859 __cil_tmp33 = __cil_tmp32 + 5632U;
12860#line 1680
12861 writel(__cil_tmp30, __cil_tmp33);
12862 }
12863 {
12864#line 1681
12865 __cil_tmp34 = status & 983040U;
12866#line 1681
12867 if (__cil_tmp34 != 0U) {
12868 {
12869#line 1682
12870 __cil_tmp35 = & adapter->napi;
12871#line 1682
12872 tmp___1 = napi_schedule_prep(__cil_tmp35);
12873#line 1682
12874 __cil_tmp36 = tmp___1 != 0;
12875#line 1682
12876 __cil_tmp37 = (long )__cil_tmp36;
12877#line 1682
12878 tmp___2 = __builtin_expect(__cil_tmp37, 1L);
12879 }
12880#line 1682
12881 if (tmp___2 != 0L) {
12882 {
12883#line 1683
12884 __cil_tmp38 = hw->intr_mask;
12885#line 1683
12886 hw->intr_mask = __cil_tmp38 & 4293984255U;
12887#line 1684
12888 __cil_tmp39 = hw->intr_mask;
12889#line 1684
12890 __cil_tmp40 = hw->hw_addr;
12891#line 1684
12892 __cil_tmp41 = (void volatile *)__cil_tmp40;
12893#line 1684
12894 __cil_tmp42 = __cil_tmp41 + 5636U;
12895#line 1684
12896 writel(__cil_tmp39, __cil_tmp42);
12897#line 1685
12898 __cil_tmp43 = & adapter->napi;
12899#line 1685
12900 __napi_schedule(__cil_tmp43);
12901 }
12902 } else {
12903
12904 }
12905 } else {
12906
12907 }
12908 }
12909 {
12910#line 1688
12911 __cil_tmp44 = status & 32768U;
12912#line 1688
12913 if (__cil_tmp44 != 0U) {
12914 {
12915#line 1689
12916 __cil_tmp45 = (enum atl1c_trans_queue )0;
12917#line 1689
12918 atl1c_clean_tx_irq(adapter, __cil_tmp45);
12919 }
12920 } else {
12921
12922 }
12923 }
12924#line 1691
12925 handled = 1;
12926 {
12927#line 1693
12928 __cil_tmp46 = status & 67126784U;
12929#line 1693
12930 if (__cil_tmp46 != 0U) {
12931 {
12932#line 1694
12933 __cil_tmp47 = adapter->msg_enable;
12934#line 1694
12935 __cil_tmp48 = __cil_tmp47 & 8192U;
12936#line 1694
12937 if (__cil_tmp48 != 0U) {
12938 {
12939#line 1695
12940 __cil_tmp49 = & pdev->dev;
12941#line 1695
12942 __cil_tmp50 = (struct device const *)__cil_tmp49;
12943#line 1695
12944 __cil_tmp51 = status & 67126784U;
12945#line 1695
12946 dev_err(__cil_tmp50, "atl1c hardware error (status = 0x%x)\n", __cil_tmp51);
12947 }
12948 } else {
12949
12950 }
12951 }
12952 {
12953#line 1699
12954 adapter->work_event = adapter->work_event;
12955#line 1700
12956 __cil_tmp52 = & adapter->common_task;
12957#line 1700
12958 schedule_work(__cil_tmp52);
12959 }
12960#line 1701
12961 return ((irqreturn_t )1);
12962 } else {
12963
12964 }
12965 }
12966 {
12967#line 1704
12968 __cil_tmp53 = status & 504U;
12969#line 1704
12970 if (__cil_tmp53 != 0U) {
12971 {
12972#line 1705
12973 __cil_tmp54 = adapter->msg_enable;
12974#line 1705
12975 __cil_tmp55 = __cil_tmp54 & 512U;
12976#line 1705
12977 if (__cil_tmp55 != 0U) {
12978 {
12979#line 1706
12980 __cil_tmp56 = & pdev->dev;
12981#line 1706
12982 __cil_tmp57 = (struct device const *)__cil_tmp56;
12983#line 1706
12984 __cil_tmp58 = status & 504U;
12985#line 1706
12986 dev_warn(__cil_tmp57, "TX/RX overflow (status = 0x%x)\n", __cil_tmp58);
12987 }
12988 } else {
12989
12990 }
12991 }
12992 } else {
12993
12994 }
12995 }
12996 {
12997#line 1711
12998 __cil_tmp59 = status & 4100U;
12999#line 1711
13000 if (__cil_tmp59 != 0U) {
13001 {
13002#line 1712
13003 __cil_tmp60 = netdev->stats.tx_carrier_errors;
13004#line 1712
13005 netdev->stats.tx_carrier_errors = __cil_tmp60 + 1UL;
13006#line 1713
13007 atl1c_link_chg_event(adapter);
13008 }
13009#line 1714
13010 goto ldv_42890;
13011 } else {
13012
13013 }
13014 }
13015#line 1717
13016 max_ints = max_ints - 1;
13017#line 1717
13018 if (max_ints > 0) {
13019#line 1718
13020 goto ldv_42891;
13021 } else {
13022#line 1720
13023 goto ldv_42890;
13024 }
13025 ldv_42890:
13026 {
13027#line 1719
13028 __cil_tmp61 = adapter->hw.hw_addr;
13029#line 1719
13030 __cil_tmp62 = (void volatile *)__cil_tmp61;
13031#line 1719
13032 __cil_tmp63 = __cil_tmp62 + 5632U;
13033#line 1719
13034 writel(0U, __cil_tmp63);
13035 }
13036#line 1720
13037 return ((irqreturn_t )handled);
13038}
13039}
13040#line 1734 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
13041static int atl1c_alloc_rx_buffer(struct atl1c_adapter *adapter , int ringid )
13042{ struct atl1c_rfd_ring *rfd_ring ;
13043 struct pci_dev *pdev ;
13044 struct atl1c_buffer *buffer_info ;
13045 struct atl1c_buffer *next_info ;
13046 struct sk_buff *skb ;
13047 void *vir_addr ;
13048 u16 num_alloc ;
13049 u16 rfd_next_to_use ;
13050 u16 next_next ;
13051 struct atl1c_rx_free_desc *rfd_desc ;
13052 long tmp ;
13053 unsigned long __cil_tmp14 ;
13054 struct atl1c_rfd_ring (*__cil_tmp15)[4U] ;
13055 struct atl1c_rfd_ring *__cil_tmp16 ;
13056 int __cil_tmp17 ;
13057 int __cil_tmp18 ;
13058 u16 __cil_tmp19 ;
13059 int __cil_tmp20 ;
13060 int __cil_tmp21 ;
13061 unsigned long __cil_tmp22 ;
13062 struct atl1c_buffer *__cil_tmp23 ;
13063 unsigned long __cil_tmp24 ;
13064 struct atl1c_buffer *__cil_tmp25 ;
13065 unsigned long __cil_tmp26 ;
13066 void *__cil_tmp27 ;
13067 struct atl1c_rx_free_desc *__cil_tmp28 ;
13068 u16 __cil_tmp29 ;
13069 unsigned int __cil_tmp30 ;
13070 struct sk_buff *__cil_tmp31 ;
13071 unsigned long __cil_tmp32 ;
13072 unsigned long __cil_tmp33 ;
13073 int __cil_tmp34 ;
13074 long __cil_tmp35 ;
13075 u32 __cil_tmp36 ;
13076 unsigned int __cil_tmp37 ;
13077 struct device *__cil_tmp38 ;
13078 struct device const *__cil_tmp39 ;
13079 unsigned char *__cil_tmp40 ;
13080 u16 __cil_tmp41 ;
13081 unsigned int __cil_tmp42 ;
13082 unsigned int __cil_tmp43 ;
13083 u16 __cil_tmp44 ;
13084 unsigned int __cil_tmp45 ;
13085 unsigned int __cil_tmp46 ;
13086 u16 __cil_tmp47 ;
13087 size_t __cil_tmp48 ;
13088 u16 __cil_tmp49 ;
13089 unsigned int __cil_tmp50 ;
13090 unsigned int __cil_tmp51 ;
13091 u16 __cil_tmp52 ;
13092 unsigned int __cil_tmp53 ;
13093 unsigned int __cil_tmp54 ;
13094 u16 __cil_tmp55 ;
13095 unsigned int __cil_tmp56 ;
13096 unsigned int __cil_tmp57 ;
13097 u16 __cil_tmp58 ;
13098 unsigned int __cil_tmp59 ;
13099 unsigned int __cil_tmp60 ;
13100 int __cil_tmp61 ;
13101 int __cil_tmp62 ;
13102 u16 __cil_tmp63 ;
13103 int __cil_tmp64 ;
13104 int __cil_tmp65 ;
13105 unsigned long __cil_tmp66 ;
13106 struct atl1c_buffer *__cil_tmp67 ;
13107 unsigned long __cil_tmp68 ;
13108 struct atl1c_buffer *__cil_tmp69 ;
13109 int __cil_tmp70 ;
13110 int __cil_tmp71 ;
13111 u16 __cil_tmp72 ;
13112 int __cil_tmp73 ;
13113 unsigned int __cil_tmp74 ;
13114 u16 __cil_tmp75 ;
13115 unsigned int __cil_tmp76 ;
13116 unsigned long __cil_tmp77 ;
13117 u8 *__cil_tmp78 ;
13118 void volatile *__cil_tmp79 ;
13119 void volatile *__cil_tmp80 ;
13120
13121 {
13122#line 1736
13123 __cil_tmp14 = (unsigned long )ringid;
13124#line 1736
13125 __cil_tmp15 = & adapter->rfd_ring;
13126#line 1736
13127 __cil_tmp16 = (struct atl1c_rfd_ring *)__cil_tmp15;
13128#line 1736
13129 rfd_ring = __cil_tmp16 + __cil_tmp14;
13130#line 1737
13131 pdev = adapter->pdev;
13132#line 1740
13133 vir_addr = (void *)0;
13134#line 1741
13135 num_alloc = (u16 )0U;
13136#line 1745
13137 rfd_next_to_use = rfd_ring->next_to_use;
13138#line 1745
13139 next_next = rfd_next_to_use;
13140#line 1746
13141 __cil_tmp17 = (int )next_next;
13142#line 1746
13143 __cil_tmp18 = __cil_tmp17 + 1;
13144#line 1746
13145 next_next = (u16 )__cil_tmp18;
13146 {
13147#line 1746
13148 __cil_tmp19 = rfd_ring->count;
13149#line 1746
13150 __cil_tmp20 = (int )__cil_tmp19;
13151#line 1746
13152 __cil_tmp21 = (int )next_next;
13153#line 1746
13154 if (__cil_tmp21 == __cil_tmp20) {
13155#line 1747
13156 next_next = (u16 )0U;
13157 } else {
13158
13159 }
13160 }
13161#line 1748
13162 __cil_tmp22 = (unsigned long )rfd_next_to_use;
13163#line 1748
13164 __cil_tmp23 = rfd_ring->buffer_info;
13165#line 1748
13166 buffer_info = __cil_tmp23 + __cil_tmp22;
13167#line 1749
13168 __cil_tmp24 = (unsigned long )next_next;
13169#line 1749
13170 __cil_tmp25 = rfd_ring->buffer_info;
13171#line 1749
13172 next_info = __cil_tmp25 + __cil_tmp24;
13173#line 1751
13174 goto ldv_42913;
13175 ldv_42912:
13176 {
13177#line 1752
13178 __cil_tmp26 = (unsigned long )rfd_next_to_use;
13179#line 1752
13180 __cil_tmp27 = rfd_ring->desc;
13181#line 1752
13182 __cil_tmp28 = (struct atl1c_rx_free_desc *)__cil_tmp27;
13183#line 1752
13184 rfd_desc = __cil_tmp28 + __cil_tmp26;
13185#line 1754
13186 __cil_tmp29 = adapter->rx_buffer_len;
13187#line 1754
13188 __cil_tmp30 = (unsigned int )__cil_tmp29;
13189#line 1754
13190 skb = dev_alloc_skb(__cil_tmp30);
13191#line 1755
13192 __cil_tmp31 = (struct sk_buff *)0;
13193#line 1755
13194 __cil_tmp32 = (unsigned long )__cil_tmp31;
13195#line 1755
13196 __cil_tmp33 = (unsigned long )skb;
13197#line 1755
13198 __cil_tmp34 = __cil_tmp33 == __cil_tmp32;
13199#line 1755
13200 __cil_tmp35 = (long )__cil_tmp34;
13201#line 1755
13202 tmp = __builtin_expect(__cil_tmp35, 0L);
13203 }
13204#line 1755
13205 if (tmp != 0L) {
13206 {
13207#line 1756
13208 __cil_tmp36 = adapter->msg_enable;
13209#line 1756
13210 __cil_tmp37 = __cil_tmp36 & 64U;
13211#line 1756
13212 if (__cil_tmp37 != 0U) {
13213 {
13214#line 1757
13215 __cil_tmp38 = & pdev->dev;
13216#line 1757
13217 __cil_tmp39 = (struct device const *)__cil_tmp38;
13218#line 1757
13219 dev_warn(__cil_tmp39, "alloc rx buffer failed\n");
13220 }
13221 } else {
13222
13223 }
13224 }
13225#line 1758
13226 goto ldv_42911;
13227 } else {
13228
13229 }
13230 {
13231#line 1766
13232 __cil_tmp40 = skb->data;
13233#line 1766
13234 vir_addr = (void *)__cil_tmp40;
13235#line 1767
13236 __cil_tmp41 = buffer_info->flags;
13237#line 1767
13238 __cil_tmp42 = (unsigned int )__cil_tmp41;
13239#line 1767
13240 __cil_tmp43 = __cil_tmp42 & 65532U;
13241#line 1767
13242 buffer_info->flags = (u16 )__cil_tmp43;
13243#line 1767
13244 __cil_tmp44 = buffer_info->flags;
13245#line 1767
13246 __cil_tmp45 = (unsigned int )__cil_tmp44;
13247#line 1767
13248 __cil_tmp46 = __cil_tmp45 | 2U;
13249#line 1767
13250 buffer_info->flags = (u16 )__cil_tmp46;
13251#line 1768
13252 buffer_info->skb = skb;
13253#line 1769
13254 buffer_info->length = adapter->rx_buffer_len;
13255#line 1770
13256 __cil_tmp47 = buffer_info->length;
13257#line 1770
13258 __cil_tmp48 = (size_t )__cil_tmp47;
13259#line 1770
13260 buffer_info->dma = pci_map_single(pdev, vir_addr, __cil_tmp48, 2);
13261#line 1773
13262 __cil_tmp49 = buffer_info->flags;
13263#line 1773
13264 __cil_tmp50 = (unsigned int )__cil_tmp49;
13265#line 1773
13266 __cil_tmp51 = __cil_tmp50 & 65523U;
13267#line 1773
13268 buffer_info->flags = (u16 )__cil_tmp51;
13269#line 1773
13270 __cil_tmp52 = buffer_info->flags;
13271#line 1773
13272 __cil_tmp53 = (unsigned int )__cil_tmp52;
13273#line 1773
13274 __cil_tmp54 = __cil_tmp53 | 4U;
13275#line 1773
13276 buffer_info->flags = (u16 )__cil_tmp54;
13277#line 1773
13278 __cil_tmp55 = buffer_info->flags;
13279#line 1773
13280 __cil_tmp56 = (unsigned int )__cil_tmp55;
13281#line 1773
13282 __cil_tmp57 = __cil_tmp56 & 65487U;
13283#line 1773
13284 buffer_info->flags = (u16 )__cil_tmp57;
13285#line 1773
13286 __cil_tmp58 = buffer_info->flags;
13287#line 1773
13288 __cil_tmp59 = (unsigned int )__cil_tmp58;
13289#line 1773
13290 __cil_tmp60 = __cil_tmp59 | 32U;
13291#line 1773
13292 buffer_info->flags = (u16 )__cil_tmp60;
13293#line 1775
13294 rfd_desc->buffer_addr = buffer_info->dma;
13295#line 1776
13296 rfd_next_to_use = next_next;
13297#line 1777
13298 __cil_tmp61 = (int )next_next;
13299#line 1777
13300 __cil_tmp62 = __cil_tmp61 + 1;
13301#line 1777
13302 next_next = (u16 )__cil_tmp62;
13303 }
13304 {
13305#line 1777
13306 __cil_tmp63 = rfd_ring->count;
13307#line 1777
13308 __cil_tmp64 = (int )__cil_tmp63;
13309#line 1777
13310 __cil_tmp65 = (int )next_next;
13311#line 1777
13312 if (__cil_tmp65 == __cil_tmp64) {
13313#line 1778
13314 next_next = (u16 )0U;
13315 } else {
13316
13317 }
13318 }
13319#line 1779
13320 __cil_tmp66 = (unsigned long )rfd_next_to_use;
13321#line 1779
13322 __cil_tmp67 = rfd_ring->buffer_info;
13323#line 1779
13324 buffer_info = __cil_tmp67 + __cil_tmp66;
13325#line 1780
13326 __cil_tmp68 = (unsigned long )next_next;
13327#line 1780
13328 __cil_tmp69 = rfd_ring->buffer_info;
13329#line 1780
13330 next_info = __cil_tmp69 + __cil_tmp68;
13331#line 1781
13332 __cil_tmp70 = (int )num_alloc;
13333#line 1781
13334 __cil_tmp71 = __cil_tmp70 + 1;
13335#line 1781
13336 num_alloc = (u16 )__cil_tmp71;
13337 ldv_42913: ;
13338 {
13339#line 1751
13340 __cil_tmp72 = next_info->flags;
13341#line 1751
13342 __cil_tmp73 = (int )__cil_tmp72;
13343#line 1751
13344 if (__cil_tmp73 & 1) {
13345#line 1752
13346 goto ldv_42912;
13347 } else {
13348#line 1754
13349 goto ldv_42911;
13350 }
13351 }
13352 ldv_42911: ;
13353 {
13354#line 1784
13355 __cil_tmp74 = (unsigned int )num_alloc;
13356#line 1784
13357 if (__cil_tmp74 != 0U) {
13358 {
13359#line 1786
13360 __asm__ volatile ("sfence": : : "memory");
13361#line 1787
13362 rfd_ring->next_to_use = rfd_next_to_use;
13363#line 1788
13364 __cil_tmp75 = rfd_ring->next_to_use;
13365#line 1788
13366 __cil_tmp76 = (unsigned int )__cil_tmp75;
13367#line 1788
13368 __cil_tmp77 = (unsigned long )atl1c_rfd_prod_idx_regs[ringid];
13369#line 1788
13370 __cil_tmp78 = adapter->hw.hw_addr;
13371#line 1788
13372 __cil_tmp79 = (void volatile *)__cil_tmp78;
13373#line 1788
13374 __cil_tmp80 = __cil_tmp79 + __cil_tmp77;
13375#line 1788
13376 writel(__cil_tmp76, __cil_tmp80);
13377 }
13378 } else {
13379
13380 }
13381 }
13382#line 1792
13383 return ((int )num_alloc);
13384}
13385}
13386#line 2275 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
13387static void atl1c_free_irq(struct atl1c_adapter *adapter )
13388{ struct net_device *netdev ;
13389 struct pci_dev *__cil_tmp3 ;
13390 unsigned int __cil_tmp4 ;
13391 void *__cil_tmp5 ;
13392 bool __cil_tmp6 ;
13393 struct pci_dev *__cil_tmp7 ;
13394
13395 {
13396 {
13397#line 2277
13398 netdev = adapter->netdev;
13399#line 2279
13400 __cil_tmp3 = adapter->pdev;
13401#line 2279
13402 __cil_tmp4 = __cil_tmp3->irq;
13403#line 2279
13404 __cil_tmp5 = (void *)netdev;
13405#line 2279
13406 free_irq(__cil_tmp4, __cil_tmp5);
13407 }
13408 {
13409#line 2281
13410 __cil_tmp6 = adapter->have_msi;
13411#line 2281
13412 if ((int )__cil_tmp6) {
13413 {
13414#line 2282
13415 __cil_tmp7 = adapter->pdev;
13416#line 2282
13417 pci_disable_msi(__cil_tmp7);
13418 }
13419 } else {
13420
13421 }
13422 }
13423#line 2283
13424 return;
13425}
13426}
13427#line 2285 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
13428static int atl1c_request_irq(struct atl1c_adapter *adapter )
13429{ struct pci_dev *pdev ;
13430 struct net_device *netdev ;
13431 int flags ;
13432 int err ;
13433 struct _ddebug descriptor ;
13434 long tmp ;
13435 struct pci_dev *__cil_tmp8 ;
13436 u32 __cil_tmp9 ;
13437 unsigned int __cil_tmp10 ;
13438 struct device *__cil_tmp11 ;
13439 struct device const *__cil_tmp12 ;
13440 bool __cil_tmp13 ;
13441 struct pci_dev *__cil_tmp14 ;
13442 unsigned int __cil_tmp15 ;
13443 unsigned long __cil_tmp16 ;
13444 char (*__cil_tmp17)[16U] ;
13445 char const *__cil_tmp18 ;
13446 void *__cil_tmp19 ;
13447 u32 __cil_tmp20 ;
13448 unsigned int __cil_tmp21 ;
13449 struct device *__cil_tmp22 ;
13450 struct device const *__cil_tmp23 ;
13451 bool __cil_tmp24 ;
13452 struct pci_dev *__cil_tmp25 ;
13453 u32 __cil_tmp26 ;
13454 unsigned int __cil_tmp27 ;
13455 signed char __cil_tmp28 ;
13456 int __cil_tmp29 ;
13457 int __cil_tmp30 ;
13458 long __cil_tmp31 ;
13459 struct device *__cil_tmp32 ;
13460 struct device const *__cil_tmp33 ;
13461
13462 {
13463 {
13464#line 2287
13465 pdev = adapter->pdev;
13466#line 2288
13467 netdev = adapter->netdev;
13468#line 2289
13469 flags = 0;
13470#line 2290
13471 err = 0;
13472#line 2292
13473 adapter->have_msi = (bool )1;
13474#line 2293
13475 __cil_tmp8 = adapter->pdev;
13476#line 2293
13477 err = pci_enable_msi_block(__cil_tmp8, 1U);
13478 }
13479#line 2294
13480 if (err != 0) {
13481 {
13482#line 2295
13483 __cil_tmp9 = adapter->msg_enable;
13484#line 2295
13485 __cil_tmp10 = __cil_tmp9 & 32U;
13486#line 2295
13487 if (__cil_tmp10 != 0U) {
13488 {
13489#line 2296
13490 __cil_tmp11 = & pdev->dev;
13491#line 2296
13492 __cil_tmp12 = (struct device const *)__cil_tmp11;
13493#line 2296
13494 dev_err(__cil_tmp12, "Unable to allocate MSI interrupt Error: %d\n", err);
13495 }
13496 } else {
13497
13498 }
13499 }
13500#line 2299
13501 adapter->have_msi = (bool )0;
13502 } else {
13503#line 2301
13504 netdev->irq = pdev->irq;
13505 }
13506 {
13507#line 2303
13508 __cil_tmp13 = adapter->have_msi;
13509#line 2303
13510 if (! __cil_tmp13) {
13511#line 2304
13512 flags = flags | 128;
13513 } else {
13514
13515 }
13516 }
13517 {
13518#line 2305
13519 __cil_tmp14 = adapter->pdev;
13520#line 2305
13521 __cil_tmp15 = __cil_tmp14->irq;
13522#line 2305
13523 __cil_tmp16 = (unsigned long )flags;
13524#line 2305
13525 __cil_tmp17 = & netdev->name;
13526#line 2305
13527 __cil_tmp18 = (char const *)__cil_tmp17;
13528#line 2305
13529 __cil_tmp19 = (void *)netdev;
13530#line 2305
13531 err = request_irq(__cil_tmp15, & atl1c_intr, __cil_tmp16, __cil_tmp18, __cil_tmp19);
13532 }
13533#line 2307
13534 if (err != 0) {
13535 {
13536#line 2308
13537 __cil_tmp20 = adapter->msg_enable;
13538#line 2308
13539 __cil_tmp21 = __cil_tmp20 & 32U;
13540#line 2308
13541 if (__cil_tmp21 != 0U) {
13542 {
13543#line 2309
13544 __cil_tmp22 = & pdev->dev;
13545#line 2309
13546 __cil_tmp23 = (struct device const *)__cil_tmp22;
13547#line 2309
13548 dev_err(__cil_tmp23, "Unable to allocate interrupt Error: %d\n", err);
13549 }
13550 } else {
13551
13552 }
13553 }
13554 {
13555#line 2312
13556 __cil_tmp24 = adapter->have_msi;
13557#line 2312
13558 if ((int )__cil_tmp24) {
13559 {
13560#line 2313
13561 __cil_tmp25 = adapter->pdev;
13562#line 2313
13563 pci_disable_msi(__cil_tmp25);
13564 }
13565 } else {
13566
13567 }
13568 }
13569#line 2314
13570 return (err);
13571 } else {
13572
13573 }
13574 {
13575#line 2316
13576 __cil_tmp26 = adapter->msg_enable;
13577#line 2316
13578 __cil_tmp27 = __cil_tmp26 & 32U;
13579#line 2316
13580 if (__cil_tmp27 != 0U) {
13581 {
13582#line 2317
13583 descriptor.modname = "atl1c";
13584#line 2317
13585 descriptor.function = "atl1c_request_irq";
13586#line 2317
13587 descriptor.filename = "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p";
13588#line 2317
13589 descriptor.format = "atl1c_request_irq OK\n";
13590#line 2317
13591 descriptor.lineno = 2317U;
13592#line 2317
13593 descriptor.flags = (unsigned char)0;
13594#line 2317
13595 descriptor.enabled = (char)0;
13596#line 2317
13597 __cil_tmp28 = (signed char )descriptor.enabled;
13598#line 2317
13599 __cil_tmp29 = (int )__cil_tmp28;
13600#line 2317
13601 __cil_tmp30 = __cil_tmp29 != 0;
13602#line 2317
13603 __cil_tmp31 = (long )__cil_tmp30;
13604#line 2317
13605 tmp = __builtin_expect(__cil_tmp31, 0L);
13606 }
13607#line 2317
13608 if (tmp != 0L) {
13609 {
13610#line 2317
13611 __cil_tmp32 = & pdev->dev;
13612#line 2317
13613 __cil_tmp33 = (struct device const *)__cil_tmp32;
13614#line 2317
13615 dev_printk("<7>", __cil_tmp33, "atl1c_request_irq OK\n");
13616 }
13617 } else {
13618
13619 }
13620 } else {
13621
13622 }
13623 }
13624#line 2318
13625 return (err);
13626}
13627}
13628#line 2321 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
13629static int atl1c_up(struct atl1c_adapter *adapter )
13630{ struct net_device *netdev ;
13631 int num ;
13632 int err ;
13633 int i ;
13634 long tmp ;
13635 int tmp___0 ;
13636 long tmp___1 ;
13637 int __cil_tmp9 ;
13638 int __cil_tmp10 ;
13639 int __cil_tmp11 ;
13640 long __cil_tmp12 ;
13641 int __cil_tmp13 ;
13642 int __cil_tmp14 ;
13643 long __cil_tmp15 ;
13644 unsigned long *__cil_tmp16 ;
13645 unsigned long volatile *__cil_tmp17 ;
13646 struct napi_struct *__cil_tmp18 ;
13647
13648 {
13649 {
13650#line 2323
13651 netdev = adapter->netdev;
13652#line 2328
13653 netif_carrier_off(netdev);
13654#line 2329
13655 atl1c_init_ring_ptrs(adapter);
13656#line 2330
13657 atl1c_set_multi(netdev);
13658#line 2331
13659 atl1c_restore_vlan(adapter);
13660#line 2333
13661 i = 0;
13662 }
13663#line 2333
13664 goto ldv_43093;
13665 ldv_43092:
13666 {
13667#line 2334
13668 __cil_tmp9 = (int const )i;
13669#line 2334
13670 __cil_tmp10 = (int )__cil_tmp9;
13671#line 2334
13672 num = atl1c_alloc_rx_buffer(adapter, __cil_tmp10);
13673#line 2335
13674 __cil_tmp11 = num == 0;
13675#line 2335
13676 __cil_tmp12 = (long )__cil_tmp11;
13677#line 2335
13678 tmp = __builtin_expect(__cil_tmp12, 0L);
13679 }
13680#line 2335
13681 if (tmp != 0L) {
13682#line 2336
13683 err = -12;
13684#line 2337
13685 goto err_alloc_rx;
13686 } else {
13687
13688 }
13689#line 2333
13690 i = i + 1;
13691 ldv_43093: ;
13692 {
13693#line 2333
13694 __cil_tmp13 = adapter->num_rx_queues;
13695#line 2333
13696 if (__cil_tmp13 > i) {
13697#line 2334
13698 goto ldv_43092;
13699 } else {
13700#line 2336
13701 goto ldv_43094;
13702 }
13703 }
13704 ldv_43094:
13705 {
13706#line 2341
13707 tmp___0 = atl1c_configure(adapter);
13708 }
13709#line 2341
13710 if (tmp___0 != 0) {
13711#line 2342
13712 err = -5;
13713#line 2343
13714 goto err_up;
13715 } else {
13716
13717 }
13718 {
13719#line 2346
13720 err = atl1c_request_irq(adapter);
13721#line 2347
13722 __cil_tmp14 = err != 0;
13723#line 2347
13724 __cil_tmp15 = (long )__cil_tmp14;
13725#line 2347
13726 tmp___1 = __builtin_expect(__cil_tmp15, 0L);
13727 }
13728#line 2347
13729 if (tmp___1 != 0L) {
13730#line 2348
13731 goto err_up;
13732 } else {
13733
13734 }
13735 {
13736#line 2350
13737 __cil_tmp16 = & adapter->flags;
13738#line 2350
13739 __cil_tmp17 = (unsigned long volatile *)__cil_tmp16;
13740#line 2350
13741 clear_bit(3, __cil_tmp17);
13742#line 2351
13743 __cil_tmp18 = & adapter->napi;
13744#line 2351
13745 napi_enable(__cil_tmp18);
13746#line 2352
13747 atl1c_irq_enable(adapter);
13748#line 2353
13749 atl1c_check_link_status(adapter);
13750#line 2354
13751 netif_start_queue(netdev);
13752 }
13753#line 2355
13754 return (err);
13755 err_up: ;
13756 err_alloc_rx:
13757 {
13758#line 2359
13759 atl1c_clean_rx_ring(adapter);
13760 }
13761#line 2360
13762 return (err);
13763}
13764}
13765#line 2363 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
13766static void atl1c_down(struct atl1c_adapter *adapter )
13767{ struct net_device *netdev ;
13768 unsigned long *__cil_tmp3 ;
13769 unsigned long volatile *__cil_tmp4 ;
13770 struct napi_struct *__cil_tmp5 ;
13771 struct atl1c_hw *__cil_tmp6 ;
13772 enum atl1c_trans_queue __cil_tmp7 ;
13773 enum atl1c_trans_queue __cil_tmp8 ;
13774
13775 {
13776 {
13777#line 2365
13778 netdev = adapter->netdev;
13779#line 2367
13780 atl1c_del_timer(adapter);
13781#line 2368
13782 adapter->work_event = 0UL;
13783#line 2371
13784 __cil_tmp3 = & adapter->flags;
13785#line 2371
13786 __cil_tmp4 = (unsigned long volatile *)__cil_tmp3;
13787#line 2371
13788 set_bit(3U, __cil_tmp4);
13789#line 2372
13790 netif_carrier_off(netdev);
13791#line 2373
13792 __cil_tmp5 = & adapter->napi;
13793#line 2373
13794 napi_disable(__cil_tmp5);
13795#line 2374
13796 atl1c_irq_disable(adapter);
13797#line 2375
13798 atl1c_free_irq(adapter);
13799#line 2377
13800 __cil_tmp6 = & adapter->hw;
13801#line 2377
13802 atl1c_reset_mac(__cil_tmp6);
13803#line 2378
13804 msleep(1U);
13805#line 2380
13806 adapter->link_speed = (u16 )65535U;
13807#line 2381
13808 adapter->link_duplex = (u16 )65535U;
13809#line 2382
13810 __cil_tmp7 = (enum atl1c_trans_queue )0;
13811#line 2382
13812 atl1c_clean_tx_ring(adapter, __cil_tmp7);
13813#line 2383
13814 __cil_tmp8 = (enum atl1c_trans_queue )1;
13815#line 2383
13816 atl1c_clean_tx_ring(adapter, __cil_tmp8);
13817#line 2384
13818 atl1c_clean_rx_ring(adapter);
13819 }
13820#line 2385
13821 return;
13822}
13823}
13824#line 2942
13825void ldv_check_final_state(void) ;
13826#line 2948
13827extern void ldv_initialize(void) ;
13828#line 2951
13829extern int nondet_int(void) ;
13830#line 2954 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
13831int LDV_IN_INTERRUPT ;
13832#line 5 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/kernel-rules/files/engine-blast-assert.h"
13833void ldv_blast_assert(void)
13834{
13835
13836 {
13837 ERROR: ;
13838#line 6
13839 goto ERROR;
13840}
13841}
13842#line 6 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/kernel-rules/files/engine-blast.h"
13843extern int ldv_undefined_int(void) ;
13844#line 4152 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
13845int ldv_module_refcounter = 1;
13846#line 4155 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
13847void ldv_module_get(struct module *module )
13848{ struct module *__cil_tmp2 ;
13849 unsigned long __cil_tmp3 ;
13850 unsigned long __cil_tmp4 ;
13851
13852 {
13853 {
13854#line 4158
13855 __cil_tmp2 = (struct module *)0;
13856#line 4158
13857 __cil_tmp3 = (unsigned long )__cil_tmp2;
13858#line 4158
13859 __cil_tmp4 = (unsigned long )module;
13860#line 4158
13861 if (__cil_tmp4 != __cil_tmp3) {
13862#line 4160
13863 ldv_module_refcounter = ldv_module_refcounter + 1;
13864 } else {
13865
13866 }
13867 }
13868#line 4161
13869 return;
13870}
13871}
13872#line 4165 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
13873int ldv_try_module_get(struct module *module )
13874{ int module_get_succeeded ;
13875 struct module *__cil_tmp3 ;
13876 unsigned long __cil_tmp4 ;
13877 unsigned long __cil_tmp5 ;
13878
13879 {
13880 {
13881#line 4170
13882 __cil_tmp3 = (struct module *)0;
13883#line 4170
13884 __cil_tmp4 = (unsigned long )__cil_tmp3;
13885#line 4170
13886 __cil_tmp5 = (unsigned long )module;
13887#line 4170
13888 if (__cil_tmp5 != __cil_tmp4) {
13889 {
13890#line 4173
13891 module_get_succeeded = ldv_undefined_int();
13892 }
13893#line 4175
13894 if (module_get_succeeded == 1) {
13895#line 4177
13896 ldv_module_refcounter = ldv_module_refcounter + 1;
13897#line 4179
13898 return (1);
13899 } else {
13900#line 4184
13901 return (0);
13902 }
13903 } else {
13904
13905 }
13906 }
13907#line 4186
13908 return (0);
13909}
13910}
13911#line 4190 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
13912void ldv_module_put(struct module *module )
13913{ struct module *__cil_tmp2 ;
13914 unsigned long __cil_tmp3 ;
13915 unsigned long __cil_tmp4 ;
13916
13917 {
13918 {
13919#line 4193
13920 __cil_tmp2 = (struct module *)0;
13921#line 4193
13922 __cil_tmp3 = (unsigned long )__cil_tmp2;
13923#line 4193
13924 __cil_tmp4 = (unsigned long )module;
13925#line 4193
13926 if (__cil_tmp4 != __cil_tmp3) {
13927#line 4195
13928 if (ldv_module_refcounter <= 1) {
13929 {
13930#line 4195
13931 ldv_blast_assert();
13932 }
13933 } else {
13934
13935 }
13936#line 4197
13937 ldv_module_refcounter = ldv_module_refcounter - 1;
13938 } else {
13939
13940 }
13941 }
13942#line 4199
13943 return;
13944}
13945}
13946#line 4202 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
13947void ldv_module_put_and_exit(void)
13948{ struct module *__cil_tmp1 ;
13949
13950 {
13951 {
13952#line 4204
13953 __cil_tmp1 = (struct module *)1;
13954#line 4204
13955 ldv_module_put(__cil_tmp1);
13956 }
13957 LDV_STOP: ;
13958#line 4206
13959 goto LDV_STOP;
13960}
13961}
13962#line 4210 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
13963unsigned int ldv_module_refcount(void)
13964{ int __cil_tmp1 ;
13965
13966 {
13967 {
13968#line 4213
13969 __cil_tmp1 = ldv_module_refcounter + -1;
13970#line 4213
13971 return ((unsigned int )__cil_tmp1);
13972 }
13973}
13974}
13975#line 4217 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_main.c.p"
13976void ldv_check_final_state(void)
13977{
13978
13979 {
13980#line 4220
13981 if (ldv_module_refcounter != 1) {
13982 {
13983#line 4220
13984 ldv_blast_assert();
13985 }
13986 } else {
13987
13988 }
13989#line 4223
13990 return;
13991}
13992}
13993#line 7 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/swab.h"
13994__inline static __u32 __arch_swab32(__u32 val )
13995{
13996
13997 {
13998#line 21
13999 __asm__ ("bswapl %0": "=r" (val): "0" (val));
14000#line 25
14001 return (val);
14002}
14003}
14004#line 55 "include/linux/swab.h"
14005__inline static __u32 __fswab32(__u32 val )
14006{ __u32 tmp ;
14007
14008 {
14009 {
14010#line 58
14011 tmp = __arch_swab32(val);
14012 }
14013#line 58
14014 return (tmp);
14015}
14016}
14017#line 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/delay.h"
14018extern void __const_udelay(unsigned long ) ;
14019#line 11 "include/linux/crc32.h"
14020extern u32 crc32_le(u32 , unsigned char const * , size_t ) ;
14021#line 57 "include/linux/random.h"
14022extern void get_random_bytes(void * , int ) ;
14023#line 135 "include/linux/etherdevice.h"
14024__inline static void random_ether_addr(u8 *addr )
14025{ void *__cil_tmp2 ;
14026 u8 __cil_tmp3 ;
14027 unsigned int __cil_tmp4 ;
14028 unsigned int __cil_tmp5 ;
14029 u8 __cil_tmp6 ;
14030 unsigned int __cil_tmp7 ;
14031 unsigned int __cil_tmp8 ;
14032
14033 {
14034 {
14035#line 137
14036 __cil_tmp2 = (void *)addr;
14037#line 137
14038 get_random_bytes(__cil_tmp2, 6);
14039#line 138
14040 __cil_tmp3 = *addr;
14041#line 138
14042 __cil_tmp4 = (unsigned int )__cil_tmp3;
14043#line 138
14044 __cil_tmp5 = __cil_tmp4 & 254U;
14045#line 138
14046 *addr = (u8 )__cil_tmp5;
14047#line 139
14048 __cil_tmp6 = *addr;
14049#line 139
14050 __cil_tmp7 = (unsigned int )__cil_tmp6;
14051#line 139
14052 __cil_tmp8 = __cil_tmp7 | 2U;
14053#line 139
14054 *addr = (u8 )__cil_tmp8;
14055 }
14056#line 140
14057 return;
14058}
14059}
14060#line 41 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/drivers/net/atl1c/atl1c_hw.h"
14061bool atl1c_read_eeprom(struct atl1c_hw *hw , u32 offset , u32 *p_value ) ;
14062#line 43
14063int atl1c_check_eeprom_exist(struct atl1c_hw *hw ) ;
14064#line 39 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
14065int atl1c_check_eeprom_exist(struct atl1c_hw *hw )
14066{ u32 data ;
14067 long tmp ;
14068 long tmp___0 ;
14069 bool __cil_tmp5 ;
14070 long __cil_tmp6 ;
14071 u8 *__cil_tmp7 ;
14072 void const volatile *__cil_tmp8 ;
14073 void const volatile *__cil_tmp9 ;
14074 u8 *__cil_tmp10 ;
14075 void const volatile *__cil_tmp11 ;
14076 void const volatile *__cil_tmp12 ;
14077 u8 *__cil_tmp13 ;
14078 void const volatile *__cil_tmp14 ;
14079 void const volatile *__cil_tmp15 ;
14080 unsigned int __cil_tmp16 ;
14081 bool __cil_tmp17 ;
14082 long __cil_tmp18 ;
14083 u8 *__cil_tmp19 ;
14084 void const volatile *__cil_tmp20 ;
14085 void const volatile *__cil_tmp21 ;
14086 u8 *__cil_tmp22 ;
14087 void const volatile *__cil_tmp23 ;
14088 void const volatile *__cil_tmp24 ;
14089 u8 *__cil_tmp25 ;
14090 void const volatile *__cil_tmp26 ;
14091 void const volatile *__cil_tmp27 ;
14092 int __cil_tmp28 ;
14093
14094 {
14095 {
14096#line 43
14097 __cil_tmp5 = hw->hibernate;
14098#line 43
14099 __cil_tmp6 = (long )__cil_tmp5;
14100#line 43
14101 tmp = __builtin_expect(__cil_tmp6, 0L);
14102 }
14103#line 43
14104 if (tmp != 0L) {
14105 {
14106#line 43
14107 __cil_tmp7 = hw->hw_addr;
14108#line 43
14109 __cil_tmp8 = (void const volatile *)__cil_tmp7;
14110#line 43
14111 __cil_tmp9 = __cil_tmp8 + 4360U;
14112#line 43
14113 readl(__cil_tmp9);
14114#line 43
14115 __cil_tmp10 = hw->hw_addr;
14116#line 43
14117 __cil_tmp11 = (void const volatile *)__cil_tmp10;
14118#line 43
14119 __cil_tmp12 = __cil_tmp11 + 4360U;
14120#line 43
14121 data = readl(__cil_tmp12);
14122 }
14123 } else {
14124 {
14125#line 43
14126 __cil_tmp13 = hw->hw_addr;
14127#line 43
14128 __cil_tmp14 = (void const volatile *)__cil_tmp13;
14129#line 43
14130 __cil_tmp15 = __cil_tmp14 + 4360U;
14131#line 43
14132 data = readl(__cil_tmp15);
14133 }
14134 }
14135 {
14136#line 44
14137 __cil_tmp16 = data & 536870912U;
14138#line 44
14139 if (__cil_tmp16 != 0U) {
14140#line 45
14141 return (1);
14142 } else {
14143
14144 }
14145 }
14146 {
14147#line 47
14148 __cil_tmp17 = hw->hibernate;
14149#line 47
14150 __cil_tmp18 = (long )__cil_tmp17;
14151#line 47
14152 tmp___0 = __builtin_expect(__cil_tmp18, 0L);
14153 }
14154#line 47
14155 if (tmp___0 != 0L) {
14156 {
14157#line 47
14158 __cil_tmp19 = hw->hw_addr;
14159#line 47
14160 __cil_tmp20 = (void const volatile *)__cil_tmp19;
14161#line 47
14162 __cil_tmp21 = __cil_tmp20 + 5120U;
14163#line 47
14164 readl(__cil_tmp21);
14165#line 47
14166 __cil_tmp22 = hw->hw_addr;
14167#line 47
14168 __cil_tmp23 = (void const volatile *)__cil_tmp22;
14169#line 47
14170 __cil_tmp24 = __cil_tmp23 + 5120U;
14171#line 47
14172 data = readl(__cil_tmp24);
14173 }
14174 } else {
14175 {
14176#line 47
14177 __cil_tmp25 = hw->hw_addr;
14178#line 47
14179 __cil_tmp26 = (void const volatile *)__cil_tmp25;
14180#line 47
14181 __cil_tmp27 = __cil_tmp26 + 5120U;
14182#line 47
14183 data = readl(__cil_tmp27);
14184 }
14185 }
14186 {
14187#line 48
14188 __cil_tmp28 = (int )data;
14189#line 48
14190 if (__cil_tmp28 < 0) {
14191#line 49
14192 return (1);
14193 } else {
14194
14195 }
14196 }
14197#line 50
14198 return (0);
14199}
14200}
14201#line 53 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
14202void atl1c_hw_set_mac_addr(struct atl1c_hw *hw )
14203{ u32 value ;
14204 u8 __cil_tmp3 ;
14205 unsigned int __cil_tmp4 ;
14206 u8 __cil_tmp5 ;
14207 unsigned int __cil_tmp6 ;
14208 unsigned int __cil_tmp7 ;
14209 u8 __cil_tmp8 ;
14210 unsigned int __cil_tmp9 ;
14211 unsigned int __cil_tmp10 ;
14212 u8 __cil_tmp11 ;
14213 unsigned int __cil_tmp12 ;
14214 unsigned int __cil_tmp13 ;
14215 unsigned int __cil_tmp14 ;
14216 unsigned int __cil_tmp15 ;
14217 u8 *__cil_tmp16 ;
14218 void volatile *__cil_tmp17 ;
14219 void volatile *__cil_tmp18 ;
14220 u8 __cil_tmp19 ;
14221 unsigned int __cil_tmp20 ;
14222 u8 __cil_tmp21 ;
14223 unsigned int __cil_tmp22 ;
14224 unsigned int __cil_tmp23 ;
14225 u8 *__cil_tmp24 ;
14226 void volatile *__cil_tmp25 ;
14227 void volatile *__cil_tmp26 ;
14228
14229 {
14230 {
14231#line 61
14232 __cil_tmp3 = hw->mac_addr[5];
14233#line 61
14234 __cil_tmp4 = (unsigned int )__cil_tmp3;
14235#line 61
14236 __cil_tmp5 = hw->mac_addr[4];
14237#line 61
14238 __cil_tmp6 = (unsigned int )__cil_tmp5;
14239#line 61
14240 __cil_tmp7 = __cil_tmp6 << 8;
14241#line 61
14242 __cil_tmp8 = hw->mac_addr[3];
14243#line 61
14244 __cil_tmp9 = (unsigned int )__cil_tmp8;
14245#line 61
14246 __cil_tmp10 = __cil_tmp9 << 16;
14247#line 61
14248 __cil_tmp11 = hw->mac_addr[2];
14249#line 61
14250 __cil_tmp12 = (unsigned int )__cil_tmp11;
14251#line 61
14252 __cil_tmp13 = __cil_tmp12 << 24;
14253#line 61
14254 __cil_tmp14 = __cil_tmp13 | __cil_tmp10;
14255#line 61
14256 __cil_tmp15 = __cil_tmp14 | __cil_tmp7;
14257#line 61
14258 value = __cil_tmp15 | __cil_tmp4;
14259#line 65
14260 __cil_tmp16 = hw->hw_addr;
14261#line 65
14262 __cil_tmp17 = (void volatile *)__cil_tmp16;
14263#line 65
14264 __cil_tmp18 = __cil_tmp17 + 5256U;
14265#line 65
14266 writel(value, __cil_tmp18);
14267#line 67
14268 __cil_tmp19 = hw->mac_addr[1];
14269#line 67
14270 __cil_tmp20 = (unsigned int )__cil_tmp19;
14271#line 67
14272 __cil_tmp21 = hw->mac_addr[0];
14273#line 67
14274 __cil_tmp22 = (unsigned int )__cil_tmp21;
14275#line 67
14276 __cil_tmp23 = __cil_tmp22 << 8;
14277#line 67
14278 value = __cil_tmp23 | __cil_tmp20;
14279#line 69
14280 __cil_tmp24 = hw->hw_addr;
14281#line 69
14282 __cil_tmp25 = (void volatile *)__cil_tmp24;
14283#line 69
14284 __cil_tmp26 = __cil_tmp25 + 5260U;
14285#line 69
14286 writel(value, __cil_tmp26);
14287 }
14288#line 70
14289 return;
14290}
14291}
14292#line 76 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
14293static int atl1c_get_permanent_address(struct atl1c_hw *hw )
14294{ u32 addr[2U] ;
14295 u32 i ;
14296 u32 otp_ctrl_data ;
14297 u32 twsi_ctrl_data ;
14298 u32 ltssm_ctrl_data ;
14299 u32 wol_data ;
14300 u8 eth_addr[6U] ;
14301 u16 phy_data ;
14302 bool raise_vol ;
14303 long tmp ;
14304 int tmp___0 ;
14305 int tmp___1 ;
14306 long tmp___2 ;
14307 long tmp___3 ;
14308 long tmp___4 ;
14309 long tmp___5 ;
14310 int tmp___6 ;
14311 int tmp___7 ;
14312 int tmp___8 ;
14313 long tmp___9 ;
14314 long tmp___10 ;
14315 __u32 tmp___11 ;
14316 __u16 tmp___12 ;
14317 size_t __len ;
14318 void *__ret ;
14319 int tmp___13 ;
14320 bool __cil_tmp28 ;
14321 long __cil_tmp29 ;
14322 u8 *__cil_tmp30 ;
14323 void const volatile *__cil_tmp31 ;
14324 void const volatile *__cil_tmp32 ;
14325 u8 *__cil_tmp33 ;
14326 void const volatile *__cil_tmp34 ;
14327 void const volatile *__cil_tmp35 ;
14328 u8 *__cil_tmp36 ;
14329 void const volatile *__cil_tmp37 ;
14330 void const volatile *__cil_tmp38 ;
14331 enum atl1c_nic_type __cil_tmp39 ;
14332 unsigned int __cil_tmp40 ;
14333 enum atl1c_nic_type __cil_tmp41 ;
14334 unsigned int __cil_tmp42 ;
14335 unsigned int __cil_tmp43 ;
14336 u8 *__cil_tmp44 ;
14337 void volatile *__cil_tmp45 ;
14338 void volatile *__cil_tmp46 ;
14339 u8 *__cil_tmp47 ;
14340 void const volatile *__cil_tmp48 ;
14341 enum atl1c_nic_type __cil_tmp49 ;
14342 unsigned int __cil_tmp50 ;
14343 enum atl1c_nic_type __cil_tmp51 ;
14344 unsigned int __cil_tmp52 ;
14345 enum atl1c_nic_type __cil_tmp53 ;
14346 unsigned int __cil_tmp54 ;
14347 u16 __cil_tmp55 ;
14348 u16 __cil_tmp56 ;
14349 unsigned int __cil_tmp57 ;
14350 unsigned int __cil_tmp58 ;
14351 int __cil_tmp59 ;
14352 u16 __cil_tmp60 ;
14353 u16 __cil_tmp61 ;
14354 u16 __cil_tmp62 ;
14355 unsigned int __cil_tmp63 ;
14356 unsigned int __cil_tmp64 ;
14357 int __cil_tmp65 ;
14358 u16 __cil_tmp66 ;
14359 bool __cil_tmp67 ;
14360 long __cil_tmp68 ;
14361 u8 *__cil_tmp69 ;
14362 void const volatile *__cil_tmp70 ;
14363 void const volatile *__cil_tmp71 ;
14364 u8 *__cil_tmp72 ;
14365 void const volatile *__cil_tmp73 ;
14366 void const volatile *__cil_tmp74 ;
14367 u8 *__cil_tmp75 ;
14368 void const volatile *__cil_tmp76 ;
14369 void const volatile *__cil_tmp77 ;
14370 u8 *__cil_tmp78 ;
14371 void volatile *__cil_tmp79 ;
14372 void volatile *__cil_tmp80 ;
14373 u8 *__cil_tmp81 ;
14374 void volatile *__cil_tmp82 ;
14375 void volatile *__cil_tmp83 ;
14376 bool __cil_tmp84 ;
14377 long __cil_tmp85 ;
14378 u8 *__cil_tmp86 ;
14379 void const volatile *__cil_tmp87 ;
14380 void const volatile *__cil_tmp88 ;
14381 u8 *__cil_tmp89 ;
14382 void const volatile *__cil_tmp90 ;
14383 void const volatile *__cil_tmp91 ;
14384 u8 *__cil_tmp92 ;
14385 void const volatile *__cil_tmp93 ;
14386 void const volatile *__cil_tmp94 ;
14387 bool __cil_tmp95 ;
14388 long __cil_tmp96 ;
14389 u8 *__cil_tmp97 ;
14390 void const volatile *__cil_tmp98 ;
14391 void const volatile *__cil_tmp99 ;
14392 u8 *__cil_tmp100 ;
14393 void const volatile *__cil_tmp101 ;
14394 void const volatile *__cil_tmp102 ;
14395 u8 *__cil_tmp103 ;
14396 void const volatile *__cil_tmp104 ;
14397 void const volatile *__cil_tmp105 ;
14398 u8 *__cil_tmp106 ;
14399 void volatile *__cil_tmp107 ;
14400 void volatile *__cil_tmp108 ;
14401 bool __cil_tmp109 ;
14402 long __cil_tmp110 ;
14403 u8 *__cil_tmp111 ;
14404 void const volatile *__cil_tmp112 ;
14405 void const volatile *__cil_tmp113 ;
14406 u8 *__cil_tmp114 ;
14407 void const volatile *__cil_tmp115 ;
14408 void const volatile *__cil_tmp116 ;
14409 u8 *__cil_tmp117 ;
14410 void const volatile *__cil_tmp118 ;
14411 void const volatile *__cil_tmp119 ;
14412 unsigned int __cil_tmp120 ;
14413 enum atl1c_nic_type __cil_tmp121 ;
14414 unsigned int __cil_tmp122 ;
14415 u8 *__cil_tmp123 ;
14416 void volatile *__cil_tmp124 ;
14417 void volatile *__cil_tmp125 ;
14418 enum atl1c_nic_type __cil_tmp126 ;
14419 unsigned int __cil_tmp127 ;
14420 u8 *__cil_tmp128 ;
14421 void volatile *__cil_tmp129 ;
14422 void volatile *__cil_tmp130 ;
14423 enum atl1c_nic_type __cil_tmp131 ;
14424 unsigned int __cil_tmp132 ;
14425 enum atl1c_nic_type __cil_tmp133 ;
14426 unsigned int __cil_tmp134 ;
14427 enum atl1c_nic_type __cil_tmp135 ;
14428 unsigned int __cil_tmp136 ;
14429 enum atl1c_nic_type __cil_tmp137 ;
14430 unsigned int __cil_tmp138 ;
14431 u16 __cil_tmp139 ;
14432 u16 __cil_tmp140 ;
14433 unsigned int __cil_tmp141 ;
14434 unsigned int __cil_tmp142 ;
14435 int __cil_tmp143 ;
14436 u16 __cil_tmp144 ;
14437 u16 __cil_tmp145 ;
14438 u16 __cil_tmp146 ;
14439 unsigned int __cil_tmp147 ;
14440 unsigned int __cil_tmp148 ;
14441 int __cil_tmp149 ;
14442 u16 __cil_tmp150 ;
14443 bool __cil_tmp151 ;
14444 long __cil_tmp152 ;
14445 u8 *__cil_tmp153 ;
14446 void const volatile *__cil_tmp154 ;
14447 void const volatile *__cil_tmp155 ;
14448 u32 *__cil_tmp156 ;
14449 u8 *__cil_tmp157 ;
14450 void const volatile *__cil_tmp158 ;
14451 void const volatile *__cil_tmp159 ;
14452 u32 *__cil_tmp160 ;
14453 u8 *__cil_tmp161 ;
14454 void const volatile *__cil_tmp162 ;
14455 void const volatile *__cil_tmp163 ;
14456 bool __cil_tmp164 ;
14457 long __cil_tmp165 ;
14458 u8 *__cil_tmp166 ;
14459 void const volatile *__cil_tmp167 ;
14460 void const volatile *__cil_tmp168 ;
14461 u32 *__cil_tmp169 ;
14462 u32 *__cil_tmp170 ;
14463 u8 *__cil_tmp171 ;
14464 void const volatile *__cil_tmp172 ;
14465 void const volatile *__cil_tmp173 ;
14466 u32 *__cil_tmp174 ;
14467 u32 *__cil_tmp175 ;
14468 u8 *__cil_tmp176 ;
14469 void const volatile *__cil_tmp177 ;
14470 void const volatile *__cil_tmp178 ;
14471 u32 *__cil_tmp179 ;
14472 u32 *__cil_tmp180 ;
14473 u16 *__cil_tmp181 ;
14474 u16 *__cil_tmp182 ;
14475 u16 __cil_tmp183 ;
14476 int __cil_tmp184 ;
14477 __u16 __cil_tmp185 ;
14478 u16 *__cil_tmp186 ;
14479 u8 const *__cil_tmp187 ;
14480 u8 (*__cil_tmp188)[6U] ;
14481 void *__cil_tmp189 ;
14482 void const *__cil_tmp190 ;
14483 u8 (*__cil_tmp191)[6U] ;
14484 void *__cil_tmp192 ;
14485 void const *__cil_tmp193 ;
14486
14487 {
14488 {
14489#line 86
14490 raise_vol = (bool )0;
14491#line 89
14492 addr[1] = 0U;
14493#line 89
14494 addr[0] = addr[1];
14495#line 90
14496 __cil_tmp28 = hw->hibernate;
14497#line 90
14498 __cil_tmp29 = (long )__cil_tmp28;
14499#line 90
14500 tmp = __builtin_expect(__cil_tmp29, 0L);
14501 }
14502#line 90
14503 if (tmp != 0L) {
14504 {
14505#line 90
14506 __cil_tmp30 = hw->hw_addr;
14507#line 90
14508 __cil_tmp31 = (void const volatile *)__cil_tmp30;
14509#line 90
14510 __cil_tmp32 = __cil_tmp31 + 4848U;
14511#line 90
14512 readl(__cil_tmp32);
14513#line 90
14514 __cil_tmp33 = hw->hw_addr;
14515#line 90
14516 __cil_tmp34 = (void const volatile *)__cil_tmp33;
14517#line 90
14518 __cil_tmp35 = __cil_tmp34 + 4848U;
14519#line 90
14520 otp_ctrl_data = readl(__cil_tmp35);
14521 }
14522 } else {
14523 {
14524#line 90
14525 __cil_tmp36 = hw->hw_addr;
14526#line 90
14527 __cil_tmp37 = (void const volatile *)__cil_tmp36;
14528#line 90
14529 __cil_tmp38 = __cil_tmp37 + 4848U;
14530#line 90
14531 otp_ctrl_data = readl(__cil_tmp38);
14532 }
14533 }
14534 {
14535#line 91
14536 tmp___6 = atl1c_check_eeprom_exist(hw);
14537 }
14538#line 91
14539 if (tmp___6 != 0) {
14540 {
14541#line 92
14542 __cil_tmp39 = hw->nic_type;
14543#line 92
14544 __cil_tmp40 = (unsigned int )__cil_tmp39;
14545#line 92
14546 if (__cil_tmp40 == 0U) {
14547#line 92
14548 goto _L;
14549 } else {
14550 {
14551#line 92
14552 __cil_tmp41 = hw->nic_type;
14553#line 92
14554 __cil_tmp42 = (unsigned int )__cil_tmp41;
14555#line 92
14556 if (__cil_tmp42 == 1U) {
14557 _L:
14558 {
14559#line 94
14560 __cil_tmp43 = otp_ctrl_data & 2U;
14561#line 94
14562 if (__cil_tmp43 == 0U) {
14563 {
14564#line 95
14565 otp_ctrl_data = otp_ctrl_data | 2U;
14566#line 96
14567 __cil_tmp44 = hw->hw_addr;
14568#line 96
14569 __cil_tmp45 = (void volatile *)__cil_tmp44;
14570#line 96
14571 __cil_tmp46 = __cil_tmp45 + 4848U;
14572#line 96
14573 writel(otp_ctrl_data, __cil_tmp46);
14574#line 97
14575 __cil_tmp47 = hw->hw_addr;
14576#line 97
14577 __cil_tmp48 = (void const volatile *)__cil_tmp47;
14578#line 97
14579 readl(__cil_tmp48);
14580#line 98
14581 msleep(1U);
14582 }
14583 } else {
14584
14585 }
14586 }
14587 } else {
14588
14589 }
14590 }
14591 }
14592 }
14593 {
14594#line 102
14595 __cil_tmp49 = hw->nic_type;
14596#line 102
14597 __cil_tmp50 = (unsigned int )__cil_tmp49;
14598#line 102
14599 if (__cil_tmp50 == 2U) {
14600#line 102
14601 goto _L___0;
14602 } else {
14603 {
14604#line 102
14605 __cil_tmp51 = hw->nic_type;
14606#line 102
14607 __cil_tmp52 = (unsigned int )__cil_tmp51;
14608#line 102
14609 if (__cil_tmp52 == 3U) {
14610#line 102
14611 goto _L___0;
14612 } else {
14613 {
14614#line 102
14615 __cil_tmp53 = hw->nic_type;
14616#line 102
14617 __cil_tmp54 = (unsigned int )__cil_tmp53;
14618#line 102
14619 if (__cil_tmp54 == 4U) {
14620 _L___0:
14621 {
14622#line 105
14623 __cil_tmp55 = (u16 )0;
14624#line 105
14625 atl1c_write_phy_reg(hw, 29U, __cil_tmp55);
14626#line 106
14627 __cil_tmp56 = (u16 )30;
14628#line 106
14629 tmp___0 = atl1c_read_phy_reg(hw, __cil_tmp56, & phy_data);
14630 }
14631#line 106
14632 if (tmp___0 != 0) {
14633#line 107
14634 goto out;
14635 } else {
14636
14637 }
14638 {
14639#line 108
14640 __cil_tmp57 = (unsigned int )phy_data;
14641#line 108
14642 __cil_tmp58 = __cil_tmp57 & 65407U;
14643#line 108
14644 phy_data = (u16 )__cil_tmp58;
14645#line 109
14646 __cil_tmp59 = (int )phy_data;
14647#line 109
14648 __cil_tmp60 = (u16 )__cil_tmp59;
14649#line 109
14650 atl1c_write_phy_reg(hw, 30U, __cil_tmp60);
14651#line 111
14652 __cil_tmp61 = (u16 )59;
14653#line 111
14654 atl1c_write_phy_reg(hw, 29U, __cil_tmp61);
14655#line 112
14656 __cil_tmp62 = (u16 )30;
14657#line 112
14658 tmp___1 = atl1c_read_phy_reg(hw, __cil_tmp62, & phy_data);
14659 }
14660#line 112
14661 if (tmp___1 != 0) {
14662#line 113
14663 goto out;
14664 } else {
14665
14666 }
14667 {
14668#line 114
14669 __cil_tmp63 = (unsigned int )phy_data;
14670#line 114
14671 __cil_tmp64 = __cil_tmp63 | 8U;
14672#line 114
14673 phy_data = (u16 )__cil_tmp64;
14674#line 115
14675 __cil_tmp65 = (int )phy_data;
14676#line 115
14677 __cil_tmp66 = (u16 )__cil_tmp65;
14678#line 115
14679 atl1c_write_phy_reg(hw, 30U, __cil_tmp66);
14680#line 116
14681 __const_udelay(85900UL);
14682#line 117
14683 raise_vol = (bool )1;
14684 }
14685 } else {
14686
14687 }
14688 }
14689 }
14690 }
14691 }
14692 }
14693 {
14694#line 120
14695 __cil_tmp67 = hw->hibernate;
14696#line 120
14697 __cil_tmp68 = (long )__cil_tmp67;
14698#line 120
14699 tmp___2 = __builtin_expect(__cil_tmp68, 0L);
14700 }
14701#line 120
14702 if (tmp___2 != 0L) {
14703 {
14704#line 120
14705 __cil_tmp69 = hw->hw_addr;
14706#line 120
14707 __cil_tmp70 = (void const volatile *)__cil_tmp69;
14708#line 120
14709 __cil_tmp71 = __cil_tmp70 + 4860U;
14710#line 120
14711 readl(__cil_tmp71);
14712#line 120
14713 __cil_tmp72 = hw->hw_addr;
14714#line 120
14715 __cil_tmp73 = (void const volatile *)__cil_tmp72;
14716#line 120
14717 __cil_tmp74 = __cil_tmp73 + 4860U;
14718#line 120
14719 ltssm_ctrl_data = readl(__cil_tmp74);
14720 }
14721 } else {
14722 {
14723#line 120
14724 __cil_tmp75 = hw->hw_addr;
14725#line 120
14726 __cil_tmp76 = (void const volatile *)__cil_tmp75;
14727#line 120
14728 __cil_tmp77 = __cil_tmp76 + 4860U;
14729#line 120
14730 ltssm_ctrl_data = readl(__cil_tmp77);
14731 }
14732 }
14733 {
14734#line 121
14735 ltssm_ctrl_data = ltssm_ctrl_data & 4294963199U;
14736#line 122
14737 __cil_tmp78 = hw->hw_addr;
14738#line 122
14739 __cil_tmp79 = (void volatile *)__cil_tmp78;
14740#line 122
14741 __cil_tmp80 = __cil_tmp79 + 4860U;
14742#line 122
14743 writel(ltssm_ctrl_data, __cil_tmp80);
14744#line 125
14745 __cil_tmp81 = hw->hw_addr;
14746#line 125
14747 __cil_tmp82 = (void volatile *)__cil_tmp81;
14748#line 125
14749 __cil_tmp83 = __cil_tmp82 + 5280U;
14750#line 125
14751 writel(0U, __cil_tmp83);
14752#line 126
14753 __cil_tmp84 = hw->hibernate;
14754#line 126
14755 __cil_tmp85 = (long )__cil_tmp84;
14756#line 126
14757 tmp___3 = __builtin_expect(__cil_tmp85, 0L);
14758 }
14759#line 126
14760 if (tmp___3 != 0L) {
14761 {
14762#line 126
14763 __cil_tmp86 = hw->hw_addr;
14764#line 126
14765 __cil_tmp87 = (void const volatile *)__cil_tmp86;
14766#line 126
14767 __cil_tmp88 = __cil_tmp87 + 5280U;
14768#line 126
14769 readl(__cil_tmp88);
14770#line 126
14771 __cil_tmp89 = hw->hw_addr;
14772#line 126
14773 __cil_tmp90 = (void const volatile *)__cil_tmp89;
14774#line 126
14775 __cil_tmp91 = __cil_tmp90 + 5280U;
14776#line 126
14777 wol_data = readl(__cil_tmp91);
14778 }
14779 } else {
14780 {
14781#line 126
14782 __cil_tmp92 = hw->hw_addr;
14783#line 126
14784 __cil_tmp93 = (void const volatile *)__cil_tmp92;
14785#line 126
14786 __cil_tmp94 = __cil_tmp93 + 5280U;
14787#line 126
14788 wol_data = readl(__cil_tmp94);
14789 }
14790 }
14791 {
14792#line 129
14793 __cil_tmp95 = hw->hibernate;
14794#line 129
14795 __cil_tmp96 = (long )__cil_tmp95;
14796#line 129
14797 tmp___4 = __builtin_expect(__cil_tmp96, 0L);
14798 }
14799#line 129
14800 if (tmp___4 != 0L) {
14801 {
14802#line 129
14803 __cil_tmp97 = hw->hw_addr;
14804#line 129
14805 __cil_tmp98 = (void const volatile *)__cil_tmp97;
14806#line 129
14807 __cil_tmp99 = __cil_tmp98 + 536U;
14808#line 129
14809 readl(__cil_tmp99);
14810#line 129
14811 __cil_tmp100 = hw->hw_addr;
14812#line 129
14813 __cil_tmp101 = (void const volatile *)__cil_tmp100;
14814#line 129
14815 __cil_tmp102 = __cil_tmp101 + 536U;
14816#line 129
14817 twsi_ctrl_data = readl(__cil_tmp102);
14818 }
14819 } else {
14820 {
14821#line 129
14822 __cil_tmp103 = hw->hw_addr;
14823#line 129
14824 __cil_tmp104 = (void const volatile *)__cil_tmp103;
14825#line 129
14826 __cil_tmp105 = __cil_tmp104 + 536U;
14827#line 129
14828 twsi_ctrl_data = readl(__cil_tmp105);
14829 }
14830 }
14831 {
14832#line 130
14833 twsi_ctrl_data = twsi_ctrl_data | 2048U;
14834#line 131
14835 __cil_tmp106 = hw->hw_addr;
14836#line 131
14837 __cil_tmp107 = (void volatile *)__cil_tmp106;
14838#line 131
14839 __cil_tmp108 = __cil_tmp107 + 536U;
14840#line 131
14841 writel(twsi_ctrl_data, __cil_tmp108);
14842#line 132
14843 i = 0U;
14844 }
14845#line 132
14846 goto ldv_42431;
14847 ldv_42430:
14848 {
14849#line 133
14850 msleep(10U);
14851#line 134
14852 __cil_tmp109 = hw->hibernate;
14853#line 134
14854 __cil_tmp110 = (long )__cil_tmp109;
14855#line 134
14856 tmp___5 = __builtin_expect(__cil_tmp110, 0L);
14857 }
14858#line 134
14859 if (tmp___5 != 0L) {
14860 {
14861#line 134
14862 __cil_tmp111 = hw->hw_addr;
14863#line 134
14864 __cil_tmp112 = (void const volatile *)__cil_tmp111;
14865#line 134
14866 __cil_tmp113 = __cil_tmp112 + 536U;
14867#line 134
14868 readl(__cil_tmp113);
14869#line 134
14870 __cil_tmp114 = hw->hw_addr;
14871#line 134
14872 __cil_tmp115 = (void const volatile *)__cil_tmp114;
14873#line 134
14874 __cil_tmp116 = __cil_tmp115 + 536U;
14875#line 134
14876 twsi_ctrl_data = readl(__cil_tmp116);
14877 }
14878 } else {
14879 {
14880#line 134
14881 __cil_tmp117 = hw->hw_addr;
14882#line 134
14883 __cil_tmp118 = (void const volatile *)__cil_tmp117;
14884#line 134
14885 __cil_tmp119 = __cil_tmp118 + 536U;
14886#line 134
14887 twsi_ctrl_data = readl(__cil_tmp119);
14888 }
14889 }
14890 {
14891#line 135
14892 __cil_tmp120 = twsi_ctrl_data & 2048U;
14893#line 135
14894 if (__cil_tmp120 == 0U) {
14895#line 136
14896 goto ldv_42429;
14897 } else {
14898
14899 }
14900 }
14901#line 132
14902 i = i + 1U;
14903 ldv_42431: ;
14904#line 132
14905 if (i <= 99U) {
14906#line 133
14907 goto ldv_42430;
14908 } else {
14909#line 135
14910 goto ldv_42429;
14911 }
14912 ldv_42429: ;
14913#line 138
14914 if (i > 99U) {
14915#line 139
14916 return (-1);
14917 } else {
14918
14919 }
14920 } else {
14921
14922 }
14923 {
14924#line 142
14925 __cil_tmp121 = hw->nic_type;
14926#line 142
14927 __cil_tmp122 = (unsigned int )__cil_tmp121;
14928#line 142
14929 if (__cil_tmp122 == 0U) {
14930 {
14931#line 143
14932 otp_ctrl_data = otp_ctrl_data & 4294967293U;
14933#line 144
14934 __cil_tmp123 = hw->hw_addr;
14935#line 144
14936 __cil_tmp124 = (void volatile *)__cil_tmp123;
14937#line 144
14938 __cil_tmp125 = __cil_tmp124 + 4848U;
14939#line 144
14940 writel(otp_ctrl_data, __cil_tmp125);
14941#line 145
14942 msleep(1U);
14943 }
14944 } else {
14945 {
14946#line 142
14947 __cil_tmp126 = hw->nic_type;
14948#line 142
14949 __cil_tmp127 = (unsigned int )__cil_tmp126;
14950#line 142
14951 if (__cil_tmp127 == 1U) {
14952 {
14953#line 143
14954 otp_ctrl_data = otp_ctrl_data & 4294967293U;
14955#line 144
14956 __cil_tmp128 = hw->hw_addr;
14957#line 144
14958 __cil_tmp129 = (void volatile *)__cil_tmp128;
14959#line 144
14960 __cil_tmp130 = __cil_tmp129 + 4848U;
14961#line 144
14962 writel(otp_ctrl_data, __cil_tmp130);
14963#line 145
14964 msleep(1U);
14965 }
14966 } else {
14967
14968 }
14969 }
14970 }
14971 }
14972#line 147
14973 if ((int )raise_vol) {
14974 {
14975#line 148
14976 __cil_tmp131 = hw->nic_type;
14977#line 148
14978 __cil_tmp132 = (unsigned int )__cil_tmp131;
14979#line 148
14980 if (__cil_tmp132 == 2U) {
14981#line 148
14982 goto _L___1;
14983 } else {
14984 {
14985#line 148
14986 __cil_tmp133 = hw->nic_type;
14987#line 148
14988 __cil_tmp134 = (unsigned int )__cil_tmp133;
14989#line 148
14990 if (__cil_tmp134 == 3U) {
14991#line 148
14992 goto _L___1;
14993 } else {
14994 {
14995#line 148
14996 __cil_tmp135 = hw->nic_type;
14997#line 148
14998 __cil_tmp136 = (unsigned int )__cil_tmp135;
14999#line 148
15000 if (__cil_tmp136 == 4U) {
15001#line 148
15002 goto _L___1;
15003 } else {
15004 {
15005#line 148
15006 __cil_tmp137 = hw->nic_type;
15007#line 148
15008 __cil_tmp138 = (unsigned int )__cil_tmp137;
15009#line 148
15010 if (__cil_tmp138 == 5U) {
15011 _L___1:
15012 {
15013#line 152
15014 __cil_tmp139 = (u16 )0;
15015#line 152
15016 atl1c_write_phy_reg(hw, 29U, __cil_tmp139);
15017#line 153
15018 __cil_tmp140 = (u16 )30;
15019#line 153
15020 tmp___7 = atl1c_read_phy_reg(hw, __cil_tmp140, & phy_data);
15021 }
15022#line 153
15023 if (tmp___7 != 0) {
15024#line 154
15025 goto out;
15026 } else {
15027
15028 }
15029 {
15030#line 155
15031 __cil_tmp141 = (unsigned int )phy_data;
15032#line 155
15033 __cil_tmp142 = __cil_tmp141 | 128U;
15034#line 155
15035 phy_data = (u16 )__cil_tmp142;
15036#line 156
15037 __cil_tmp143 = (int )phy_data;
15038#line 156
15039 __cil_tmp144 = (u16 )__cil_tmp143;
15040#line 156
15041 atl1c_write_phy_reg(hw, 30U, __cil_tmp144);
15042#line 158
15043 __cil_tmp145 = (u16 )59;
15044#line 158
15045 atl1c_write_phy_reg(hw, 29U, __cil_tmp145);
15046#line 159
15047 __cil_tmp146 = (u16 )30;
15048#line 159
15049 tmp___8 = atl1c_read_phy_reg(hw, __cil_tmp146, & phy_data);
15050 }
15051#line 159
15052 if (tmp___8 != 0) {
15053#line 160
15054 goto out;
15055 } else {
15056
15057 }
15058 {
15059#line 161
15060 __cil_tmp147 = (unsigned int )phy_data;
15061#line 161
15062 __cil_tmp148 = __cil_tmp147 & 65527U;
15063#line 161
15064 phy_data = (u16 )__cil_tmp148;
15065#line 162
15066 __cil_tmp149 = (int )phy_data;
15067#line 162
15068 __cil_tmp150 = (u16 )__cil_tmp149;
15069#line 162
15070 atl1c_write_phy_reg(hw, 30U, __cil_tmp150);
15071#line 163
15072 __const_udelay(85900UL);
15073 }
15074 } else {
15075
15076 }
15077 }
15078 }
15079 }
15080 }
15081 }
15082 }
15083 }
15084 } else {
15085
15086 }
15087 {
15088#line 168
15089 __cil_tmp151 = hw->hibernate;
15090#line 168
15091 __cil_tmp152 = (long )__cil_tmp151;
15092#line 168
15093 tmp___9 = __builtin_expect(__cil_tmp152, 0L);
15094 }
15095#line 168
15096 if (tmp___9 != 0L) {
15097 {
15098#line 168
15099 __cil_tmp153 = hw->hw_addr;
15100#line 168
15101 __cil_tmp154 = (void const volatile *)__cil_tmp153;
15102#line 168
15103 __cil_tmp155 = __cil_tmp154 + 5256U;
15104#line 168
15105 readl(__cil_tmp155);
15106#line 168
15107 __cil_tmp156 = (u32 *)(& addr);
15108#line 168
15109 __cil_tmp157 = hw->hw_addr;
15110#line 168
15111 __cil_tmp158 = (void const volatile *)__cil_tmp157;
15112#line 168
15113 __cil_tmp159 = __cil_tmp158 + 5256U;
15114#line 168
15115 *__cil_tmp156 = readl(__cil_tmp159);
15116 }
15117 } else {
15118 {
15119#line 168
15120 __cil_tmp160 = (u32 *)(& addr);
15121#line 168
15122 __cil_tmp161 = hw->hw_addr;
15123#line 168
15124 __cil_tmp162 = (void const volatile *)__cil_tmp161;
15125#line 168
15126 __cil_tmp163 = __cil_tmp162 + 5256U;
15127#line 168
15128 *__cil_tmp160 = readl(__cil_tmp163);
15129 }
15130 }
15131 {
15132#line 169
15133 __cil_tmp164 = hw->hibernate;
15134#line 169
15135 __cil_tmp165 = (long )__cil_tmp164;
15136#line 169
15137 tmp___10 = __builtin_expect(__cil_tmp165, 0L);
15138 }
15139#line 169
15140 if (tmp___10 != 0L) {
15141 {
15142#line 169
15143 __cil_tmp166 = hw->hw_addr;
15144#line 169
15145 __cil_tmp167 = (void const volatile *)__cil_tmp166;
15146#line 169
15147 __cil_tmp168 = __cil_tmp167 + 5260U;
15148#line 169
15149 readl(__cil_tmp168);
15150#line 169
15151 __cil_tmp169 = (u32 *)(& addr);
15152#line 169
15153 __cil_tmp170 = __cil_tmp169 + 1UL;
15154#line 169
15155 __cil_tmp171 = hw->hw_addr;
15156#line 169
15157 __cil_tmp172 = (void const volatile *)__cil_tmp171;
15158#line 169
15159 __cil_tmp173 = __cil_tmp172 + 5260U;
15160#line 169
15161 *__cil_tmp170 = readl(__cil_tmp173);
15162 }
15163 } else {
15164 {
15165#line 169
15166 __cil_tmp174 = (u32 *)(& addr);
15167#line 169
15168 __cil_tmp175 = __cil_tmp174 + 1UL;
15169#line 169
15170 __cil_tmp176 = hw->hw_addr;
15171#line 169
15172 __cil_tmp177 = (void const volatile *)__cil_tmp176;
15173#line 169
15174 __cil_tmp178 = __cil_tmp177 + 5260U;
15175#line 169
15176 *__cil_tmp175 = readl(__cil_tmp178);
15177 }
15178 }
15179 {
15180#line 170
15181 tmp___11 = __fswab32(addr[0]);
15182#line 170
15183 __cil_tmp179 = (u32 *)(& eth_addr);
15184#line 170
15185 __cil_tmp180 = __cil_tmp179 + 2U;
15186#line 170
15187 *__cil_tmp180 = tmp___11;
15188#line 171
15189 __cil_tmp181 = (u16 *)(& addr);
15190#line 171
15191 __cil_tmp182 = __cil_tmp181 + 1U;
15192#line 171
15193 __cil_tmp183 = *__cil_tmp182;
15194#line 171
15195 __cil_tmp184 = (int )__cil_tmp183;
15196#line 171
15197 __cil_tmp185 = (__u16 )__cil_tmp184;
15198#line 171
15199 tmp___12 = __fswab16(__cil_tmp185);
15200#line 171
15201 __cil_tmp186 = (u16 *)(& eth_addr);
15202#line 171
15203 *__cil_tmp186 = tmp___12;
15204#line 173
15205 __cil_tmp187 = (u8 const *)(& eth_addr);
15206#line 173
15207 tmp___13 = is_valid_ether_addr(__cil_tmp187);
15208 }
15209#line 173
15210 if (tmp___13 != 0) {
15211#line 174
15212 __len = 6UL;
15213#line 174
15214 if (__len > 63UL) {
15215 {
15216#line 174
15217 __cil_tmp188 = & hw->perm_mac_addr;
15218#line 174
15219 __cil_tmp189 = (void *)__cil_tmp188;
15220#line 174
15221 __cil_tmp190 = (void const *)(& eth_addr);
15222#line 174
15223 __ret = __memcpy(__cil_tmp189, __cil_tmp190, __len);
15224 }
15225 } else {
15226 {
15227#line 174
15228 __cil_tmp191 = & hw->perm_mac_addr;
15229#line 174
15230 __cil_tmp192 = (void *)__cil_tmp191;
15231#line 174
15232 __cil_tmp193 = (void const *)(& eth_addr);
15233#line 174
15234 __ret = __builtin_memcpy(__cil_tmp192, __cil_tmp193, __len);
15235 }
15236 }
15237#line 175
15238 return (0);
15239 } else {
15240
15241 }
15242 out: ;
15243#line 179
15244 return (-1);
15245}
15246}
15247#line 182 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
15248bool atl1c_read_eeprom(struct atl1c_hw *hw , u32 offset , u32 *p_value )
15249{ int i ;
15250 int ret ;
15251 u32 otp_ctrl_data ;
15252 u32 control ;
15253 u32 data ;
15254 long tmp ;
15255 long tmp___0 ;
15256 long tmp___1 ;
15257 long tmp___2 ;
15258 __u32 tmp___3 ;
15259 unsigned int __cil_tmp14 ;
15260 int __cil_tmp15 ;
15261 bool __cil_tmp16 ;
15262 long __cil_tmp17 ;
15263 u8 *__cil_tmp18 ;
15264 void const volatile *__cil_tmp19 ;
15265 void const volatile *__cil_tmp20 ;
15266 u8 *__cil_tmp21 ;
15267 void const volatile *__cil_tmp22 ;
15268 void const volatile *__cil_tmp23 ;
15269 u8 *__cil_tmp24 ;
15270 void const volatile *__cil_tmp25 ;
15271 void const volatile *__cil_tmp26 ;
15272 unsigned int __cil_tmp27 ;
15273 unsigned int __cil_tmp28 ;
15274 u8 *__cil_tmp29 ;
15275 void volatile *__cil_tmp30 ;
15276 void volatile *__cil_tmp31 ;
15277 u8 *__cil_tmp32 ;
15278 void volatile *__cil_tmp33 ;
15279 void volatile *__cil_tmp34 ;
15280 unsigned int __cil_tmp35 ;
15281 u8 *__cil_tmp36 ;
15282 void volatile *__cil_tmp37 ;
15283 void volatile *__cil_tmp38 ;
15284 bool __cil_tmp39 ;
15285 long __cil_tmp40 ;
15286 u8 *__cil_tmp41 ;
15287 void const volatile *__cil_tmp42 ;
15288 void const volatile *__cil_tmp43 ;
15289 u8 *__cil_tmp44 ;
15290 void const volatile *__cil_tmp45 ;
15291 void const volatile *__cil_tmp46 ;
15292 u8 *__cil_tmp47 ;
15293 void const volatile *__cil_tmp48 ;
15294 void const volatile *__cil_tmp49 ;
15295 int __cil_tmp50 ;
15296 int __cil_tmp51 ;
15297 bool __cil_tmp52 ;
15298 long __cil_tmp53 ;
15299 u8 *__cil_tmp54 ;
15300 void const volatile *__cil_tmp55 ;
15301 void const volatile *__cil_tmp56 ;
15302 u8 *__cil_tmp57 ;
15303 void const volatile *__cil_tmp58 ;
15304 void const volatile *__cil_tmp59 ;
15305 u8 *__cil_tmp60 ;
15306 void const volatile *__cil_tmp61 ;
15307 void const volatile *__cil_tmp62 ;
15308 bool __cil_tmp63 ;
15309 long __cil_tmp64 ;
15310 u8 *__cil_tmp65 ;
15311 void const volatile *__cil_tmp66 ;
15312 void const volatile *__cil_tmp67 ;
15313 u8 *__cil_tmp68 ;
15314 void const volatile *__cil_tmp69 ;
15315 void const volatile *__cil_tmp70 ;
15316 u8 *__cil_tmp71 ;
15317 void const volatile *__cil_tmp72 ;
15318 void const volatile *__cil_tmp73 ;
15319 u32 __cil_tmp74 ;
15320 u32 __cil_tmp75 ;
15321 u32 __cil_tmp76 ;
15322 unsigned int __cil_tmp77 ;
15323 unsigned int __cil_tmp78 ;
15324 u8 *__cil_tmp79 ;
15325 void volatile *__cil_tmp80 ;
15326 void volatile *__cil_tmp81 ;
15327 int __cil_tmp82 ;
15328
15329 {
15330#line 185
15331 ret = 0;
15332 {
15333#line 190
15334 __cil_tmp14 = offset & 3U;
15335#line 190
15336 if (__cil_tmp14 != 0U) {
15337 {
15338#line 191
15339 __cil_tmp15 = ret != 0;
15340#line 191
15341 return ((bool )__cil_tmp15);
15342 }
15343 } else {
15344
15345 }
15346 }
15347 {
15348#line 193
15349 __cil_tmp16 = hw->hibernate;
15350#line 193
15351 __cil_tmp17 = (long )__cil_tmp16;
15352#line 193
15353 tmp = __builtin_expect(__cil_tmp17, 0L);
15354 }
15355#line 193
15356 if (tmp != 0L) {
15357 {
15358#line 193
15359 __cil_tmp18 = hw->hw_addr;
15360#line 193
15361 __cil_tmp19 = (void const volatile *)__cil_tmp18;
15362#line 193
15363 __cil_tmp20 = __cil_tmp19 + 4848U;
15364#line 193
15365 readl(__cil_tmp20);
15366#line 193
15367 __cil_tmp21 = hw->hw_addr;
15368#line 193
15369 __cil_tmp22 = (void const volatile *)__cil_tmp21;
15370#line 193
15371 __cil_tmp23 = __cil_tmp22 + 4848U;
15372#line 193
15373 otp_ctrl_data = readl(__cil_tmp23);
15374 }
15375 } else {
15376 {
15377#line 193
15378 __cil_tmp24 = hw->hw_addr;
15379#line 193
15380 __cil_tmp25 = (void const volatile *)__cil_tmp24;
15381#line 193
15382 __cil_tmp26 = __cil_tmp25 + 4848U;
15383#line 193
15384 otp_ctrl_data = readl(__cil_tmp26);
15385 }
15386 }
15387 {
15388#line 194
15389 __cil_tmp27 = otp_ctrl_data & 2U;
15390#line 194
15391 if (__cil_tmp27 == 0U) {
15392 {
15393#line 195
15394 __cil_tmp28 = otp_ctrl_data | 2U;
15395#line 195
15396 __cil_tmp29 = hw->hw_addr;
15397#line 195
15398 __cil_tmp30 = (void volatile *)__cil_tmp29;
15399#line 195
15400 __cil_tmp31 = __cil_tmp30 + 4848U;
15401#line 195
15402 writel(__cil_tmp28, __cil_tmp31);
15403 }
15404 } else {
15405
15406 }
15407 }
15408 {
15409#line 198
15410 __cil_tmp32 = hw->hw_addr;
15411#line 198
15412 __cil_tmp33 = (void volatile *)__cil_tmp32;
15413#line 198
15414 __cil_tmp34 = __cil_tmp33 + 4804U;
15415#line 198
15416 writel(0U, __cil_tmp34);
15417#line 199
15418 __cil_tmp35 = offset & 1023U;
15419#line 199
15420 control = __cil_tmp35 << 16;
15421#line 200
15422 __cil_tmp36 = hw->hw_addr;
15423#line 200
15424 __cil_tmp37 = (void volatile *)__cil_tmp36;
15425#line 200
15426 __cil_tmp38 = __cil_tmp37 + 4800U;
15427#line 200
15428 writel(control, __cil_tmp38);
15429#line 202
15430 i = 0;
15431 }
15432#line 202
15433 goto ldv_42447;
15434 ldv_42446:
15435 {
15436#line 203
15437 __const_udelay(429500UL);
15438#line 204
15439 __cil_tmp39 = hw->hibernate;
15440#line 204
15441 __cil_tmp40 = (long )__cil_tmp39;
15442#line 204
15443 tmp___0 = __builtin_expect(__cil_tmp40, 0L);
15444 }
15445#line 204
15446 if (tmp___0 != 0L) {
15447 {
15448#line 204
15449 __cil_tmp41 = hw->hw_addr;
15450#line 204
15451 __cil_tmp42 = (void const volatile *)__cil_tmp41;
15452#line 204
15453 __cil_tmp43 = __cil_tmp42 + 4800U;
15454#line 204
15455 readl(__cil_tmp43);
15456#line 204
15457 __cil_tmp44 = hw->hw_addr;
15458#line 204
15459 __cil_tmp45 = (void const volatile *)__cil_tmp44;
15460#line 204
15461 __cil_tmp46 = __cil_tmp45 + 4800U;
15462#line 204
15463 control = readl(__cil_tmp46);
15464 }
15465 } else {
15466 {
15467#line 204
15468 __cil_tmp47 = hw->hw_addr;
15469#line 204
15470 __cil_tmp48 = (void const volatile *)__cil_tmp47;
15471#line 204
15472 __cil_tmp49 = __cil_tmp48 + 4800U;
15473#line 204
15474 control = readl(__cil_tmp49);
15475 }
15476 }
15477 {
15478#line 205
15479 __cil_tmp50 = (int )control;
15480#line 205
15481 if (__cil_tmp50 < 0) {
15482#line 206
15483 goto ldv_42445;
15484 } else {
15485
15486 }
15487 }
15488#line 202
15489 i = i + 1;
15490 ldv_42447: ;
15491#line 202
15492 if (i <= 9) {
15493#line 203
15494 goto ldv_42446;
15495 } else {
15496#line 205
15497 goto ldv_42445;
15498 }
15499 ldv_42445: ;
15500 {
15501#line 208
15502 __cil_tmp51 = (int )control;
15503#line 208
15504 if (__cil_tmp51 < 0) {
15505 {
15506#line 209
15507 __cil_tmp52 = hw->hibernate;
15508#line 209
15509 __cil_tmp53 = (long )__cil_tmp52;
15510#line 209
15511 tmp___1 = __builtin_expect(__cil_tmp53, 0L);
15512 }
15513#line 209
15514 if (tmp___1 != 0L) {
15515 {
15516#line 209
15517 __cil_tmp54 = hw->hw_addr;
15518#line 209
15519 __cil_tmp55 = (void const volatile *)__cil_tmp54;
15520#line 209
15521 __cil_tmp56 = __cil_tmp55 + 4800U;
15522#line 209
15523 readl(__cil_tmp56);
15524#line 209
15525 __cil_tmp57 = hw->hw_addr;
15526#line 209
15527 __cil_tmp58 = (void const volatile *)__cil_tmp57;
15528#line 209
15529 __cil_tmp59 = __cil_tmp58 + 4800U;
15530#line 209
15531 data = readl(__cil_tmp59);
15532 }
15533 } else {
15534 {
15535#line 209
15536 __cil_tmp60 = hw->hw_addr;
15537#line 209
15538 __cil_tmp61 = (void const volatile *)__cil_tmp60;
15539#line 209
15540 __cil_tmp62 = __cil_tmp61 + 4800U;
15541#line 209
15542 data = readl(__cil_tmp62);
15543 }
15544 }
15545 {
15546#line 210
15547 __cil_tmp63 = hw->hibernate;
15548#line 210
15549 __cil_tmp64 = (long )__cil_tmp63;
15550#line 210
15551 tmp___2 = __builtin_expect(__cil_tmp64, 0L);
15552 }
15553#line 210
15554 if (tmp___2 != 0L) {
15555 {
15556#line 210
15557 __cil_tmp65 = hw->hw_addr;
15558#line 210
15559 __cil_tmp66 = (void const volatile *)__cil_tmp65;
15560#line 210
15561 __cil_tmp67 = __cil_tmp66 + 4804U;
15562#line 210
15563 readl(__cil_tmp67);
15564#line 210
15565 __cil_tmp68 = hw->hw_addr;
15566#line 210
15567 __cil_tmp69 = (void const volatile *)__cil_tmp68;
15568#line 210
15569 __cil_tmp70 = __cil_tmp69 + 4804U;
15570#line 210
15571 *p_value = readl(__cil_tmp70);
15572 }
15573 } else {
15574 {
15575#line 210
15576 __cil_tmp71 = hw->hw_addr;
15577#line 210
15578 __cil_tmp72 = (void const volatile *)__cil_tmp71;
15579#line 210
15580 __cil_tmp73 = __cil_tmp72 + 4804U;
15581#line 210
15582 *p_value = readl(__cil_tmp73);
15583 }
15584 }
15585 {
15586#line 211
15587 data = data & 65535U;
15588#line 212
15589 __cil_tmp74 = *p_value;
15590#line 212
15591 __cil_tmp75 = __cil_tmp74 >> 16;
15592#line 212
15593 __cil_tmp76 = data << 16;
15594#line 212
15595 __cil_tmp77 = __cil_tmp76 | __cil_tmp75;
15596#line 212
15597 tmp___3 = __fswab32(__cil_tmp77);
15598#line 212
15599 *p_value = tmp___3;
15600#line 213
15601 ret = 1;
15602 }
15603 } else {
15604
15605 }
15606 }
15607 {
15608#line 215
15609 __cil_tmp78 = otp_ctrl_data & 2U;
15610#line 215
15611 if (__cil_tmp78 == 0U) {
15612 {
15613#line 216
15614 __cil_tmp79 = hw->hw_addr;
15615#line 216
15616 __cil_tmp80 = (void volatile *)__cil_tmp79;
15617#line 216
15618 __cil_tmp81 = __cil_tmp80 + 4848U;
15619#line 216
15620 writel(otp_ctrl_data, __cil_tmp81);
15621 }
15622 } else {
15623
15624 }
15625 }
15626 {
15627#line 218
15628 __cil_tmp82 = ret != 0;
15629#line 218
15630 return ((bool )__cil_tmp82);
15631 }
15632}
15633}
15634#line 225 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
15635int atl1c_read_mac_addr(struct atl1c_hw *hw )
15636{ int err ;
15637 size_t __len ;
15638 void *__ret ;
15639 u8 (*__cil_tmp5)[6U] ;
15640 u8 *__cil_tmp6 ;
15641 u8 (*__cil_tmp7)[6U] ;
15642 void *__cil_tmp8 ;
15643 u8 (*__cil_tmp9)[6U] ;
15644 void const *__cil_tmp10 ;
15645 u8 (*__cil_tmp11)[6U] ;
15646 void *__cil_tmp12 ;
15647 u8 (*__cil_tmp13)[6U] ;
15648 void const *__cil_tmp14 ;
15649
15650 {
15651 {
15652#line 227
15653 err = 0;
15654#line 229
15655 err = atl1c_get_permanent_address(hw);
15656 }
15657#line 230
15658 if (err != 0) {
15659 {
15660#line 231
15661 __cil_tmp5 = & hw->perm_mac_addr;
15662#line 231
15663 __cil_tmp6 = (u8 *)__cil_tmp5;
15664#line 231
15665 random_ether_addr(__cil_tmp6);
15666 }
15667 } else {
15668
15669 }
15670#line 233
15671 __len = 6UL;
15672#line 233
15673 if (__len > 63UL) {
15674 {
15675#line 233
15676 __cil_tmp7 = & hw->mac_addr;
15677#line 233
15678 __cil_tmp8 = (void *)__cil_tmp7;
15679#line 233
15680 __cil_tmp9 = & hw->perm_mac_addr;
15681#line 233
15682 __cil_tmp10 = (void const *)__cil_tmp9;
15683#line 233
15684 __ret = __memcpy(__cil_tmp8, __cil_tmp10, __len);
15685 }
15686 } else {
15687 {
15688#line 233
15689 __cil_tmp11 = & hw->mac_addr;
15690#line 233
15691 __cil_tmp12 = (void *)__cil_tmp11;
15692#line 233
15693 __cil_tmp13 = & hw->perm_mac_addr;
15694#line 233
15695 __cil_tmp14 = (void const *)__cil_tmp13;
15696#line 233
15697 __ret = __builtin_memcpy(__cil_tmp12, __cil_tmp14, __len);
15698 }
15699 }
15700#line 234
15701 return (0);
15702}
15703}
15704#line 245 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
15705u32 atl1c_hash_mc_addr(struct atl1c_hw *hw , u8 *mc_addr )
15706{ u32 crc32 ;
15707 u32 value ;
15708 int i ;
15709 unsigned char const *__cil_tmp6 ;
15710 int __cil_tmp7 ;
15711 u32 __cil_tmp8 ;
15712 unsigned int __cil_tmp9 ;
15713 unsigned int __cil_tmp10 ;
15714
15715 {
15716 {
15717#line 248
15718 value = 0U;
15719#line 251
15720 __cil_tmp6 = (unsigned char const *)mc_addr;
15721#line 251
15722 crc32 = crc32_le(4294967295U, __cil_tmp6, 6UL);
15723#line 252
15724 i = 0;
15725 }
15726#line 252
15727 goto ldv_42463;
15728 ldv_42462:
15729#line 253
15730 __cil_tmp7 = 31 - i;
15731#line 253
15732 __cil_tmp8 = crc32 >> i;
15733#line 253
15734 __cil_tmp9 = __cil_tmp8 & 1U;
15735#line 253
15736 __cil_tmp10 = __cil_tmp9 << __cil_tmp7;
15737#line 253
15738 value = __cil_tmp10 | value;
15739#line 252
15740 i = i + 1;
15741 ldv_42463: ;
15742#line 252
15743 if (i <= 31) {
15744#line 253
15745 goto ldv_42462;
15746 } else {
15747#line 255
15748 goto ldv_42464;
15749 }
15750 ldv_42464: ;
15751#line 255
15752 return (value);
15753}
15754}
15755#line 263 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
15756void atl1c_hash_set(struct atl1c_hw *hw , u32 hash_value )
15757{ u32 hash_bit ;
15758 u32 hash_reg ;
15759 u32 mta ;
15760 u32 __cil_tmp6 ;
15761 u32 __cil_tmp7 ;
15762 unsigned long __cil_tmp8 ;
15763 unsigned long __cil_tmp9 ;
15764 u8 *__cil_tmp10 ;
15765 u8 *__cil_tmp11 ;
15766 void const volatile *__cil_tmp12 ;
15767 int __cil_tmp13 ;
15768 int __cil_tmp14 ;
15769 u32 __cil_tmp15 ;
15770 u32 __cil_tmp16 ;
15771 unsigned long __cil_tmp17 ;
15772 unsigned long __cil_tmp18 ;
15773 u8 *__cil_tmp19 ;
15774 u8 *__cil_tmp20 ;
15775 void volatile *__cil_tmp21 ;
15776
15777 {
15778 {
15779#line 277
15780 hash_reg = hash_value >> 31;
15781#line 278
15782 __cil_tmp6 = hash_value >> 26;
15783#line 278
15784 hash_bit = __cil_tmp6 & 31U;
15785#line 280
15786 __cil_tmp7 = hash_reg << 2;
15787#line 280
15788 __cil_tmp8 = (unsigned long )__cil_tmp7;
15789#line 280
15790 __cil_tmp9 = __cil_tmp8 + 5264UL;
15791#line 280
15792 __cil_tmp10 = hw->hw_addr;
15793#line 280
15794 __cil_tmp11 = __cil_tmp10 + __cil_tmp9;
15795#line 280
15796 __cil_tmp12 = (void const volatile *)__cil_tmp11;
15797#line 280
15798 mta = readl(__cil_tmp12);
15799#line 282
15800 __cil_tmp13 = (int )hash_bit;
15801#line 282
15802 __cil_tmp14 = 1 << __cil_tmp13;
15803#line 282
15804 __cil_tmp15 = (u32 )__cil_tmp14;
15805#line 282
15806 mta = __cil_tmp15 | mta;
15807#line 284
15808 __cil_tmp16 = hash_reg << 2;
15809#line 284
15810 __cil_tmp17 = (unsigned long )__cil_tmp16;
15811#line 284
15812 __cil_tmp18 = __cil_tmp17 + 5264UL;
15813#line 284
15814 __cil_tmp19 = hw->hw_addr;
15815#line 284
15816 __cil_tmp20 = __cil_tmp19 + __cil_tmp18;
15817#line 284
15818 __cil_tmp21 = (void volatile *)__cil_tmp20;
15819#line 284
15820 writel(mta, __cil_tmp21);
15821 }
15822#line 285
15823 return;
15824}
15825}
15826#line 292 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
15827int atl1c_read_phy_reg(struct atl1c_hw *hw , u16 reg_addr , u16 *phy_data )
15828{ u32 val ;
15829 int i ;
15830 long tmp ;
15831 unsigned int __cil_tmp7 ;
15832 unsigned int __cil_tmp8 ;
15833 unsigned int __cil_tmp9 ;
15834 u8 *__cil_tmp10 ;
15835 void volatile *__cil_tmp11 ;
15836 void volatile *__cil_tmp12 ;
15837 bool __cil_tmp13 ;
15838 long __cil_tmp14 ;
15839 u8 *__cil_tmp15 ;
15840 void const volatile *__cil_tmp16 ;
15841 void const volatile *__cil_tmp17 ;
15842 u8 *__cil_tmp18 ;
15843 void const volatile *__cil_tmp19 ;
15844 void const volatile *__cil_tmp20 ;
15845 u8 *__cil_tmp21 ;
15846 void const volatile *__cil_tmp22 ;
15847 void const volatile *__cil_tmp23 ;
15848 unsigned int __cil_tmp24 ;
15849 unsigned int __cil_tmp25 ;
15850
15851 {
15852 {
15853#line 297
15854 __cil_tmp7 = (unsigned int )reg_addr;
15855#line 297
15856 __cil_tmp8 = __cil_tmp7 & 31U;
15857#line 297
15858 __cil_tmp9 = __cil_tmp8 << 16;
15859#line 297
15860 val = __cil_tmp9 | 14680064U;
15861#line 301
15862 __cil_tmp10 = hw->hw_addr;
15863#line 301
15864 __cil_tmp11 = (void volatile *)__cil_tmp10;
15865#line 301
15866 __cil_tmp12 = __cil_tmp11 + 5140U;
15867#line 301
15868 writel(val, __cil_tmp12);
15869#line 303
15870 i = 0;
15871 }
15872#line 303
15873 goto ldv_42481;
15874 ldv_42480:
15875 {
15876#line 304
15877 __const_udelay(8590UL);
15878#line 305
15879 __cil_tmp13 = hw->hibernate;
15880#line 305
15881 __cil_tmp14 = (long )__cil_tmp13;
15882#line 305
15883 tmp = __builtin_expect(__cil_tmp14, 0L);
15884 }
15885#line 305
15886 if (tmp != 0L) {
15887 {
15888#line 305
15889 __cil_tmp15 = hw->hw_addr;
15890#line 305
15891 __cil_tmp16 = (void const volatile *)__cil_tmp15;
15892#line 305
15893 __cil_tmp17 = __cil_tmp16 + 5140U;
15894#line 305
15895 readl(__cil_tmp17);
15896#line 305
15897 __cil_tmp18 = hw->hw_addr;
15898#line 305
15899 __cil_tmp19 = (void const volatile *)__cil_tmp18;
15900#line 305
15901 __cil_tmp20 = __cil_tmp19 + 5140U;
15902#line 305
15903 val = readl(__cil_tmp20);
15904 }
15905 } else {
15906 {
15907#line 305
15908 __cil_tmp21 = hw->hw_addr;
15909#line 305
15910 __cil_tmp22 = (void const volatile *)__cil_tmp21;
15911#line 305
15912 __cil_tmp23 = __cil_tmp22 + 5140U;
15913#line 305
15914 val = readl(__cil_tmp23);
15915 }
15916 }
15917 {
15918#line 306
15919 __cil_tmp24 = val & 142606336U;
15920#line 306
15921 if (__cil_tmp24 == 0U) {
15922#line 307
15923 goto ldv_42479;
15924 } else {
15925
15926 }
15927 }
15928#line 303
15929 i = i + 1;
15930 ldv_42481: ;
15931#line 303
15932 if (i <= 9) {
15933#line 304
15934 goto ldv_42480;
15935 } else {
15936#line 306
15937 goto ldv_42479;
15938 }
15939 ldv_42479: ;
15940 {
15941#line 309
15942 __cil_tmp25 = val & 142606336U;
15943#line 309
15944 if (__cil_tmp25 == 0U) {
15945#line 310
15946 *phy_data = (unsigned short )val;
15947#line 311
15948 return (0);
15949 } else {
15950
15951 }
15952 }
15953#line 314
15954 return (-1);
15955}
15956}
15957#line 323 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
15958int atl1c_write_phy_reg(struct atl1c_hw *hw , u32 reg_addr , u16 phy_data )
15959{ int i ;
15960 u32 val ;
15961 long tmp ;
15962 unsigned int __cil_tmp7 ;
15963 unsigned int __cil_tmp8 ;
15964 unsigned int __cil_tmp9 ;
15965 unsigned int __cil_tmp10 ;
15966 u8 *__cil_tmp11 ;
15967 void volatile *__cil_tmp12 ;
15968 void volatile *__cil_tmp13 ;
15969 bool __cil_tmp14 ;
15970 long __cil_tmp15 ;
15971 u8 *__cil_tmp16 ;
15972 void const volatile *__cil_tmp17 ;
15973 void const volatile *__cil_tmp18 ;
15974 u8 *__cil_tmp19 ;
15975 void const volatile *__cil_tmp20 ;
15976 void const volatile *__cil_tmp21 ;
15977 u8 *__cil_tmp22 ;
15978 void const volatile *__cil_tmp23 ;
15979 void const volatile *__cil_tmp24 ;
15980 unsigned int __cil_tmp25 ;
15981 unsigned int __cil_tmp26 ;
15982
15983 {
15984 {
15985#line 328
15986 __cil_tmp7 = reg_addr & 31U;
15987#line 328
15988 __cil_tmp8 = __cil_tmp7 << 16;
15989#line 328
15990 __cil_tmp9 = (unsigned int )phy_data;
15991#line 328
15992 __cil_tmp10 = __cil_tmp9 | __cil_tmp8;
15993#line 328
15994 val = __cil_tmp10 | 12582912U;
15995#line 333
15996 __cil_tmp11 = hw->hw_addr;
15997#line 333
15998 __cil_tmp12 = (void volatile *)__cil_tmp11;
15999#line 333
16000 __cil_tmp13 = __cil_tmp12 + 5140U;
16001#line 333
16002 writel(val, __cil_tmp13);
16003#line 335
16004 i = 0;
16005 }
16006#line 335
16007 goto ldv_42491;
16008 ldv_42490:
16009 {
16010#line 336
16011 __const_udelay(8590UL);
16012#line 337
16013 __cil_tmp14 = hw->hibernate;
16014#line 337
16015 __cil_tmp15 = (long )__cil_tmp14;
16016#line 337
16017 tmp = __builtin_expect(__cil_tmp15, 0L);
16018 }
16019#line 337
16020 if (tmp != 0L) {
16021 {
16022#line 337
16023 __cil_tmp16 = hw->hw_addr;
16024#line 337
16025 __cil_tmp17 = (void const volatile *)__cil_tmp16;
16026#line 337
16027 __cil_tmp18 = __cil_tmp17 + 5140U;
16028#line 337
16029 readl(__cil_tmp18);
16030#line 337
16031 __cil_tmp19 = hw->hw_addr;
16032#line 337
16033 __cil_tmp20 = (void const volatile *)__cil_tmp19;
16034#line 337
16035 __cil_tmp21 = __cil_tmp20 + 5140U;
16036#line 337
16037 val = readl(__cil_tmp21);
16038 }
16039 } else {
16040 {
16041#line 337
16042 __cil_tmp22 = hw->hw_addr;
16043#line 337
16044 __cil_tmp23 = (void const volatile *)__cil_tmp22;
16045#line 337
16046 __cil_tmp24 = __cil_tmp23 + 5140U;
16047#line 337
16048 val = readl(__cil_tmp24);
16049 }
16050 }
16051 {
16052#line 338
16053 __cil_tmp25 = val & 142606336U;
16054#line 338
16055 if (__cil_tmp25 == 0U) {
16056#line 339
16057 goto ldv_42489;
16058 } else {
16059
16060 }
16061 }
16062#line 335
16063 i = i + 1;
16064 ldv_42491: ;
16065#line 335
16066 if (i <= 9) {
16067#line 336
16068 goto ldv_42490;
16069 } else {
16070#line 338
16071 goto ldv_42489;
16072 }
16073 ldv_42489: ;
16074 {
16075#line 342
16076 __cil_tmp26 = val & 142606336U;
16077#line 342
16078 if (__cil_tmp26 == 0U) {
16079#line 343
16080 return (0);
16081 } else {
16082
16083 }
16084 }
16085#line 345
16086 return (-1);
16087}
16088}
16089#line 353 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
16090static int atl1c_phy_setup_adv(struct atl1c_hw *hw )
16091{ u16 mii_adv_data ;
16092 u16 mii_giga_ctrl_data ;
16093 int tmp ;
16094 int tmp___0 ;
16095 u16 __cil_tmp6 ;
16096 int __cil_tmp7 ;
16097 unsigned int __cil_tmp8 ;
16098 unsigned int __cil_tmp9 ;
16099 u16 __cil_tmp10 ;
16100 int __cil_tmp11 ;
16101 int __cil_tmp12 ;
16102 unsigned int __cil_tmp13 ;
16103 unsigned int __cil_tmp14 ;
16104 u16 __cil_tmp15 ;
16105 int __cil_tmp16 ;
16106 int __cil_tmp17 ;
16107 unsigned int __cil_tmp18 ;
16108 unsigned int __cil_tmp19 ;
16109 u16 __cil_tmp20 ;
16110 int __cil_tmp21 ;
16111 int __cil_tmp22 ;
16112 unsigned int __cil_tmp23 ;
16113 unsigned int __cil_tmp24 ;
16114 u16 __cil_tmp25 ;
16115 int __cil_tmp26 ;
16116 int __cil_tmp27 ;
16117 unsigned int __cil_tmp28 ;
16118 unsigned int __cil_tmp29 ;
16119 u16 __cil_tmp30 ;
16120 int __cil_tmp31 ;
16121 u16 __cil_tmp32 ;
16122 int __cil_tmp33 ;
16123 int __cil_tmp34 ;
16124 unsigned int __cil_tmp35 ;
16125 unsigned int __cil_tmp36 ;
16126 u16 __cil_tmp37 ;
16127 int __cil_tmp38 ;
16128 int __cil_tmp39 ;
16129 unsigned int __cil_tmp40 ;
16130 unsigned int __cil_tmp41 ;
16131 u16 __cil_tmp42 ;
16132 int __cil_tmp43 ;
16133 int __cil_tmp44 ;
16134 unsigned int __cil_tmp45 ;
16135 unsigned int __cil_tmp46 ;
16136 int __cil_tmp47 ;
16137 u16 __cil_tmp48 ;
16138 int __cil_tmp49 ;
16139 u16 __cil_tmp50 ;
16140
16141 {
16142#line 355
16143 mii_adv_data = (u16 )3072U;
16144#line 356
16145 mii_giga_ctrl_data = (u16 )0U;
16146 {
16147#line 359
16148 __cil_tmp6 = hw->autoneg_advertised;
16149#line 359
16150 __cil_tmp7 = (int )__cil_tmp6;
16151#line 359
16152 if (__cil_tmp7 & 1) {
16153#line 360
16154 __cil_tmp8 = (unsigned int )mii_adv_data;
16155#line 360
16156 __cil_tmp9 = __cil_tmp8 | 32U;
16157#line 360
16158 mii_adv_data = (u16 )__cil_tmp9;
16159 } else {
16160
16161 }
16162 }
16163 {
16164#line 361
16165 __cil_tmp10 = hw->autoneg_advertised;
16166#line 361
16167 __cil_tmp11 = (int )__cil_tmp10;
16168#line 361
16169 __cil_tmp12 = __cil_tmp11 & 2;
16170#line 361
16171 if (__cil_tmp12 != 0) {
16172#line 362
16173 __cil_tmp13 = (unsigned int )mii_adv_data;
16174#line 362
16175 __cil_tmp14 = __cil_tmp13 | 64U;
16176#line 362
16177 mii_adv_data = (u16 )__cil_tmp14;
16178 } else {
16179
16180 }
16181 }
16182 {
16183#line 363
16184 __cil_tmp15 = hw->autoneg_advertised;
16185#line 363
16186 __cil_tmp16 = (int )__cil_tmp15;
16187#line 363
16188 __cil_tmp17 = __cil_tmp16 & 4;
16189#line 363
16190 if (__cil_tmp17 != 0) {
16191#line 364
16192 __cil_tmp18 = (unsigned int )mii_adv_data;
16193#line 364
16194 __cil_tmp19 = __cil_tmp18 | 128U;
16195#line 364
16196 mii_adv_data = (u16 )__cil_tmp19;
16197 } else {
16198
16199 }
16200 }
16201 {
16202#line 365
16203 __cil_tmp20 = hw->autoneg_advertised;
16204#line 365
16205 __cil_tmp21 = (int )__cil_tmp20;
16206#line 365
16207 __cil_tmp22 = __cil_tmp21 & 8;
16208#line 365
16209 if (__cil_tmp22 != 0) {
16210#line 366
16211 __cil_tmp23 = (unsigned int )mii_adv_data;
16212#line 366
16213 __cil_tmp24 = __cil_tmp23 | 256U;
16214#line 366
16215 mii_adv_data = (u16 )__cil_tmp24;
16216 } else {
16217
16218 }
16219 }
16220 {
16221#line 368
16222 __cil_tmp25 = hw->autoneg_advertised;
16223#line 368
16224 __cil_tmp26 = (int )__cil_tmp25;
16225#line 368
16226 __cil_tmp27 = __cil_tmp26 & 64;
16227#line 368
16228 if (__cil_tmp27 != 0) {
16229#line 369
16230 __cil_tmp28 = (unsigned int )mii_adv_data;
16231#line 369
16232 __cil_tmp29 = __cil_tmp28 | 480U;
16233#line 369
16234 mii_adv_data = (u16 )__cil_tmp29;
16235 } else {
16236
16237 }
16238 }
16239 {
16240#line 372
16241 __cil_tmp30 = hw->link_cap_flags;
16242#line 372
16243 __cil_tmp31 = (int )__cil_tmp30;
16244#line 372
16245 if (__cil_tmp31 & 1) {
16246 {
16247#line 373
16248 __cil_tmp32 = hw->autoneg_advertised;
16249#line 373
16250 __cil_tmp33 = (int )__cil_tmp32;
16251#line 373
16252 __cil_tmp34 = __cil_tmp33 & 16;
16253#line 373
16254 if (__cil_tmp34 != 0) {
16255#line 374
16256 __cil_tmp35 = (unsigned int )mii_giga_ctrl_data;
16257#line 374
16258 __cil_tmp36 = __cil_tmp35 | 256U;
16259#line 374
16260 mii_giga_ctrl_data = (u16 )__cil_tmp36;
16261 } else {
16262
16263 }
16264 }
16265 {
16266#line 375
16267 __cil_tmp37 = hw->autoneg_advertised;
16268#line 375
16269 __cil_tmp38 = (int )__cil_tmp37;
16270#line 375
16271 __cil_tmp39 = __cil_tmp38 & 32;
16272#line 375
16273 if (__cil_tmp39 != 0) {
16274#line 376
16275 __cil_tmp40 = (unsigned int )mii_giga_ctrl_data;
16276#line 376
16277 __cil_tmp41 = __cil_tmp40 | 512U;
16278#line 376
16279 mii_giga_ctrl_data = (u16 )__cil_tmp41;
16280 } else {
16281
16282 }
16283 }
16284 {
16285#line 377
16286 __cil_tmp42 = hw->autoneg_advertised;
16287#line 377
16288 __cil_tmp43 = (int )__cil_tmp42;
16289#line 377
16290 __cil_tmp44 = __cil_tmp43 & 64;
16291#line 377
16292 if (__cil_tmp44 != 0) {
16293#line 378
16294 __cil_tmp45 = (unsigned int )mii_giga_ctrl_data;
16295#line 378
16296 __cil_tmp46 = __cil_tmp45 | 768U;
16297#line 378
16298 mii_giga_ctrl_data = (u16 )__cil_tmp46;
16299 } else {
16300
16301 }
16302 }
16303 } else {
16304
16305 }
16306 }
16307 {
16308#line 382
16309 __cil_tmp47 = (int )mii_adv_data;
16310#line 382
16311 __cil_tmp48 = (u16 )__cil_tmp47;
16312#line 382
16313 tmp = atl1c_write_phy_reg(hw, 4U, __cil_tmp48);
16314 }
16315#line 382
16316 if (tmp != 0) {
16317#line 384
16318 return (-1);
16319 } else {
16320 {
16321#line 382
16322 __cil_tmp49 = (int )mii_giga_ctrl_data;
16323#line 382
16324 __cil_tmp50 = (u16 )__cil_tmp49;
16325#line 382
16326 tmp___0 = atl1c_write_phy_reg(hw, 9U, __cil_tmp50);
16327 }
16328#line 382
16329 if (tmp___0 != 0) {
16330#line 384
16331 return (-1);
16332 } else {
16333
16334 }
16335 }
16336#line 385
16337 return (0);
16338}
16339}
16340#line 388 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
16341void atl1c_phy_disable(struct atl1c_hw *hw )
16342{ u8 *__cil_tmp2 ;
16343 void volatile *__cil_tmp3 ;
16344 void volatile *__cil_tmp4 ;
16345
16346 {
16347 {
16348#line 390
16349 __cil_tmp2 = hw->hw_addr;
16350#line 390
16351 __cil_tmp3 = (void volatile *)__cil_tmp2;
16352#line 390
16353 __cil_tmp4 = __cil_tmp3 + 5132U;
16354#line 390
16355 writew((unsigned short)23681, __cil_tmp4);
16356 }
16357#line 391
16358 return;
16359}
16360}
16361#line 394 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
16362static void atl1c_phy_magic_data(struct atl1c_hw *hw )
16363{ u16 data ;
16364 int tmp ;
16365 int tmp___0 ;
16366 u16 __cil_tmp5 ;
16367 int __cil_tmp6 ;
16368 u16 __cil_tmp7 ;
16369 u16 __cil_tmp8 ;
16370 int __cil_tmp9 ;
16371 u16 __cil_tmp10 ;
16372 u16 __cil_tmp11 ;
16373 int __cil_tmp12 ;
16374 u16 __cil_tmp13 ;
16375 u16 __cil_tmp14 ;
16376 int __cil_tmp15 ;
16377 u16 __cil_tmp16 ;
16378 u16 __cil_tmp17 ;
16379 int __cil_tmp18 ;
16380 u16 __cil_tmp19 ;
16381 u16 __cil_tmp20 ;
16382 int __cil_tmp21 ;
16383 int __cil_tmp22 ;
16384 u16 __cil_tmp23 ;
16385 u16 __cil_tmp24 ;
16386 unsigned int __cil_tmp25 ;
16387 unsigned int __cil_tmp26 ;
16388 int __cil_tmp27 ;
16389 u16 __cil_tmp28 ;
16390 u16 __cil_tmp29 ;
16391 u16 __cil_tmp30 ;
16392 unsigned int __cil_tmp31 ;
16393 unsigned int __cil_tmp32 ;
16394 int __cil_tmp33 ;
16395 u16 __cil_tmp34 ;
16396
16397 {
16398 {
16399#line 398
16400 data = (u16 )19460U;
16401#line 402
16402 __cil_tmp5 = (u16 )18;
16403#line 402
16404 atl1c_write_phy_reg(hw, 29U, __cil_tmp5);
16405#line 403
16406 __cil_tmp6 = (int )data;
16407#line 403
16408 __cil_tmp7 = (u16 )__cil_tmp6;
16409#line 403
16410 atl1c_write_phy_reg(hw, 30U, __cil_tmp7);
16411#line 405
16412 data = (u16 )11334U;
16413#line 409
16414 __cil_tmp8 = (u16 )5;
16415#line 409
16416 atl1c_write_phy_reg(hw, 29U, __cil_tmp8);
16417#line 410
16418 __cil_tmp9 = (int )data;
16419#line 410
16420 __cil_tmp10 = (u16 )__cil_tmp9;
16421#line 410
16422 atl1c_write_phy_reg(hw, 30U, __cil_tmp10);
16423#line 412
16424 data = (u16 )57644U;
16425#line 417
16426 __cil_tmp11 = (u16 )54;
16427#line 417
16428 atl1c_write_phy_reg(hw, 29U, __cil_tmp11);
16429#line 418
16430 __cil_tmp12 = (int )data;
16431#line 418
16432 __cil_tmp13 = (u16 )__cil_tmp12;
16433#line 418
16434 atl1c_write_phy_reg(hw, 30U, __cil_tmp13);
16435#line 420
16436 data = (u16 )35003U;
16437#line 425
16438 __cil_tmp14 = (u16 )4;
16439#line 425
16440 atl1c_write_phy_reg(hw, 29U, __cil_tmp14);
16441#line 426
16442 __cil_tmp15 = (int )data;
16443#line 426
16444 __cil_tmp16 = (u16 )__cil_tmp15;
16445#line 426
16446 atl1c_write_phy_reg(hw, 30U, __cil_tmp16);
16447#line 428
16448 data = (u16 )751U;
16449#line 432
16450 __cil_tmp17 = (u16 )0;
16451#line 432
16452 atl1c_write_phy_reg(hw, 29U, __cil_tmp17);
16453#line 433
16454 __cil_tmp18 = (int )data;
16455#line 433
16456 __cil_tmp19 = (u16 )__cil_tmp18;
16457#line 433
16458 atl1c_write_phy_reg(hw, 30U, __cil_tmp19);
16459 }
16460 {
16461#line 435
16462 __cil_tmp20 = hw->ctrl_flags;
16463#line 435
16464 __cil_tmp21 = (int )__cil_tmp20;
16465#line 435
16466 __cil_tmp22 = __cil_tmp21 & 1024;
16467#line 435
16468 if (__cil_tmp22 != 0) {
16469 {
16470#line 436
16471 __cil_tmp23 = (u16 )41;
16472#line 436
16473 atl1c_write_phy_reg(hw, 29U, __cil_tmp23);
16474#line 437
16475 __cil_tmp24 = (u16 )30;
16476#line 437
16477 tmp = atl1c_read_phy_reg(hw, __cil_tmp24, & data);
16478 }
16479#line 437
16480 if (tmp != 0) {
16481#line 438
16482 return;
16483 } else {
16484
16485 }
16486 {
16487#line 439
16488 __cil_tmp25 = (unsigned int )data;
16489#line 439
16490 __cil_tmp26 = __cil_tmp25 & 32767U;
16491#line 439
16492 data = (u16 )__cil_tmp26;
16493#line 440
16494 __cil_tmp27 = (int )data;
16495#line 440
16496 __cil_tmp28 = (u16 )__cil_tmp27;
16497#line 440
16498 atl1c_write_phy_reg(hw, 30U, __cil_tmp28);
16499#line 442
16500 __cil_tmp29 = (u16 )11;
16501#line 442
16502 atl1c_write_phy_reg(hw, 29U, __cil_tmp29);
16503#line 443
16504 __cil_tmp30 = (u16 )30;
16505#line 443
16506 tmp___0 = atl1c_read_phy_reg(hw, __cil_tmp30, & data);
16507 }
16508#line 443
16509 if (tmp___0 != 0) {
16510#line 444
16511 return;
16512 } else {
16513
16514 }
16515 {
16516#line 445
16517 __cil_tmp31 = (unsigned int )data;
16518#line 445
16519 __cil_tmp32 = __cil_tmp31 & 32767U;
16520#line 445
16521 data = (u16 )__cil_tmp32;
16522#line 446
16523 __cil_tmp33 = (int )data;
16524#line 446
16525 __cil_tmp34 = (u16 )__cil_tmp33;
16526#line 446
16527 atl1c_write_phy_reg(hw, 30U, __cil_tmp34);
16528 }
16529 } else {
16530
16531 }
16532 }
16533#line 448
16534 return;
16535}
16536}
16537#line 450 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
16538int atl1c_phy_reset(struct atl1c_hw *hw )
16539{ struct atl1c_adapter *adapter ;
16540 struct pci_dev *pdev ;
16541 u16 phy_data ;
16542 u32 phy_ctrl_data ;
16543 u32 mii_ier_data ;
16544 int err ;
16545 u16 __cil_tmp8 ;
16546 int __cil_tmp9 ;
16547 int __cil_tmp10 ;
16548 u8 *__cil_tmp11 ;
16549 void volatile *__cil_tmp12 ;
16550 void volatile *__cil_tmp13 ;
16551 u8 *__cil_tmp14 ;
16552 void const volatile *__cil_tmp15 ;
16553 u8 *__cil_tmp16 ;
16554 void volatile *__cil_tmp17 ;
16555 void volatile *__cil_tmp18 ;
16556 u8 *__cil_tmp19 ;
16557 void const volatile *__cil_tmp20 ;
16558 enum atl1c_nic_type __cil_tmp21 ;
16559 unsigned int __cil_tmp22 ;
16560 u16 __cil_tmp23 ;
16561 u16 __cil_tmp24 ;
16562 int __cil_tmp25 ;
16563 int __cil_tmp26 ;
16564 u16 __cil_tmp27 ;
16565 enum atl1c_nic_type __cil_tmp28 ;
16566 unsigned int __cil_tmp29 ;
16567 u16 __cil_tmp30 ;
16568 u16 __cil_tmp31 ;
16569 int __cil_tmp32 ;
16570 int __cil_tmp33 ;
16571 u16 __cil_tmp34 ;
16572 enum atl1c_nic_type __cil_tmp35 ;
16573 unsigned int __cil_tmp36 ;
16574 u16 __cil_tmp37 ;
16575 u16 __cil_tmp38 ;
16576 int __cil_tmp39 ;
16577 int __cil_tmp40 ;
16578 u16 __cil_tmp41 ;
16579 enum atl1c_nic_type __cil_tmp42 ;
16580 unsigned int __cil_tmp43 ;
16581 u16 __cil_tmp44 ;
16582 u16 __cil_tmp45 ;
16583 int __cil_tmp46 ;
16584 int __cil_tmp47 ;
16585 u16 __cil_tmp48 ;
16586 enum atl1c_nic_type __cil_tmp49 ;
16587 unsigned int __cil_tmp50 ;
16588 u16 __cil_tmp51 ;
16589 u16 __cil_tmp52 ;
16590 int __cil_tmp53 ;
16591 int __cil_tmp54 ;
16592 u16 __cil_tmp55 ;
16593 enum atl1c_nic_type __cil_tmp56 ;
16594 unsigned int __cil_tmp57 ;
16595 u16 __cil_tmp58 ;
16596 u16 __cil_tmp59 ;
16597 enum atl1c_nic_type __cil_tmp60 ;
16598 unsigned int __cil_tmp61 ;
16599 u16 __cil_tmp62 ;
16600 u16 __cil_tmp63 ;
16601 enum atl1c_nic_type __cil_tmp64 ;
16602 unsigned int __cil_tmp65 ;
16603 u16 __cil_tmp66 ;
16604 u16 __cil_tmp67 ;
16605 enum atl1c_nic_type __cil_tmp68 ;
16606 unsigned int __cil_tmp69 ;
16607 u16 __cil_tmp70 ;
16608 u16 __cil_tmp71 ;
16609 u16 __cil_tmp72 ;
16610 int __cil_tmp73 ;
16611 u16 __cil_tmp74 ;
16612 u32 __cil_tmp75 ;
16613 unsigned int __cil_tmp76 ;
16614 struct device *__cil_tmp77 ;
16615 struct device const *__cil_tmp78 ;
16616 u16 __cil_tmp79 ;
16617 short __cil_tmp80 ;
16618 int __cil_tmp81 ;
16619
16620 {
16621#line 452
16622 adapter = hw->adapter;
16623#line 453
16624 pdev = adapter->pdev;
16625#line 455
16626 phy_ctrl_data = 7168U;
16627#line 456
16628 mii_ier_data = 3072U;
16629 {
16630#line 459
16631 __cil_tmp8 = hw->ctrl_flags;
16632#line 459
16633 __cil_tmp9 = (int )__cil_tmp8;
16634#line 459
16635 __cil_tmp10 = __cil_tmp9 & 1024;
16636#line 459
16637 if (__cil_tmp10 != 0) {
16638#line 460
16639 phy_ctrl_data = phy_ctrl_data & 4294966271U;
16640 } else {
16641
16642 }
16643 }
16644 {
16645#line 462
16646 __cil_tmp11 = hw->hw_addr;
16647#line 462
16648 __cil_tmp12 = (void volatile *)__cil_tmp11;
16649#line 462
16650 __cil_tmp13 = __cil_tmp12 + 5132U;
16651#line 462
16652 writel(phy_ctrl_data, __cil_tmp13);
16653#line 463
16654 __cil_tmp14 = hw->hw_addr;
16655#line 463
16656 __cil_tmp15 = (void const volatile *)__cil_tmp14;
16657#line 463
16658 readl(__cil_tmp15);
16659#line 464
16660 msleep(40U);
16661#line 465
16662 phy_ctrl_data = phy_ctrl_data | 1U;
16663#line 466
16664 __cil_tmp16 = hw->hw_addr;
16665#line 466
16666 __cil_tmp17 = (void volatile *)__cil_tmp16;
16667#line 466
16668 __cil_tmp18 = __cil_tmp17 + 5132U;
16669#line 466
16670 writel(phy_ctrl_data, __cil_tmp18);
16671#line 467
16672 __cil_tmp19 = hw->hw_addr;
16673#line 467
16674 __cil_tmp20 = (void const volatile *)__cil_tmp19;
16675#line 467
16676 readl(__cil_tmp20);
16677#line 468
16678 msleep(10U);
16679 }
16680 {
16681#line 470
16682 __cil_tmp21 = hw->nic_type;
16683#line 470
16684 __cil_tmp22 = (unsigned int )__cil_tmp21;
16685#line 470
16686 if (__cil_tmp22 == 2U) {
16687 {
16688#line 471
16689 __cil_tmp23 = (u16 )10;
16690#line 471
16691 atl1c_write_phy_reg(hw, 29U, __cil_tmp23);
16692#line 472
16693 __cil_tmp24 = (u16 )30;
16694#line 472
16695 atl1c_read_phy_reg(hw, __cil_tmp24, & phy_data);
16696#line 473
16697 __cil_tmp25 = (int )phy_data;
16698#line 473
16699 __cil_tmp26 = __cil_tmp25 & 57343;
16700#line 473
16701 __cil_tmp27 = (u16 )__cil_tmp26;
16702#line 473
16703 atl1c_write_phy_reg(hw, 30U, __cil_tmp27);
16704 }
16705 } else {
16706
16707 }
16708 }
16709 {
16710#line 476
16711 __cil_tmp28 = hw->nic_type;
16712#line 476
16713 __cil_tmp29 = (unsigned int )__cil_tmp28;
16714#line 476
16715 if (__cil_tmp29 == 2U) {
16716 {
16717#line 480
16718 __cil_tmp30 = (u16 )59;
16719#line 480
16720 atl1c_write_phy_reg(hw, 29U, __cil_tmp30);
16721#line 481
16722 __cil_tmp31 = (u16 )30;
16723#line 481
16724 atl1c_read_phy_reg(hw, __cil_tmp31, & phy_data);
16725#line 482
16726 __cil_tmp32 = (int )phy_data;
16727#line 482
16728 __cil_tmp33 = __cil_tmp32 & 65527;
16729#line 482
16730 __cil_tmp34 = (u16 )__cil_tmp33;
16731#line 482
16732 atl1c_write_phy_reg(hw, 30U, __cil_tmp34);
16733#line 483
16734 msleep(20U);
16735 }
16736 } else {
16737 {
16738#line 476
16739 __cil_tmp35 = hw->nic_type;
16740#line 476
16741 __cil_tmp36 = (unsigned int )__cil_tmp35;
16742#line 476
16743 if (__cil_tmp36 == 3U) {
16744 {
16745#line 480
16746 __cil_tmp37 = (u16 )59;
16747#line 480
16748 atl1c_write_phy_reg(hw, 29U, __cil_tmp37);
16749#line 481
16750 __cil_tmp38 = (u16 )30;
16751#line 481
16752 atl1c_read_phy_reg(hw, __cil_tmp38, & phy_data);
16753#line 482
16754 __cil_tmp39 = (int )phy_data;
16755#line 482
16756 __cil_tmp40 = __cil_tmp39 & 65527;
16757#line 482
16758 __cil_tmp41 = (u16 )__cil_tmp40;
16759#line 482
16760 atl1c_write_phy_reg(hw, 30U, __cil_tmp41);
16761#line 483
16762 msleep(20U);
16763 }
16764 } else {
16765 {
16766#line 476
16767 __cil_tmp42 = hw->nic_type;
16768#line 476
16769 __cil_tmp43 = (unsigned int )__cil_tmp42;
16770#line 476
16771 if (__cil_tmp43 == 4U) {
16772 {
16773#line 480
16774 __cil_tmp44 = (u16 )59;
16775#line 480
16776 atl1c_write_phy_reg(hw, 29U, __cil_tmp44);
16777#line 481
16778 __cil_tmp45 = (u16 )30;
16779#line 481
16780 atl1c_read_phy_reg(hw, __cil_tmp45, & phy_data);
16781#line 482
16782 __cil_tmp46 = (int )phy_data;
16783#line 482
16784 __cil_tmp47 = __cil_tmp46 & 65527;
16785#line 482
16786 __cil_tmp48 = (u16 )__cil_tmp47;
16787#line 482
16788 atl1c_write_phy_reg(hw, 30U, __cil_tmp48);
16789#line 483
16790 msleep(20U);
16791 }
16792 } else {
16793 {
16794#line 476
16795 __cil_tmp49 = hw->nic_type;
16796#line 476
16797 __cil_tmp50 = (unsigned int )__cil_tmp49;
16798#line 476
16799 if (__cil_tmp50 == 5U) {
16800 {
16801#line 480
16802 __cil_tmp51 = (u16 )59;
16803#line 480
16804 atl1c_write_phy_reg(hw, 29U, __cil_tmp51);
16805#line 481
16806 __cil_tmp52 = (u16 )30;
16807#line 481
16808 atl1c_read_phy_reg(hw, __cil_tmp52, & phy_data);
16809#line 482
16810 __cil_tmp53 = (int )phy_data;
16811#line 482
16812 __cil_tmp54 = __cil_tmp53 & 65527;
16813#line 482
16814 __cil_tmp55 = (u16 )__cil_tmp54;
16815#line 482
16816 atl1c_write_phy_reg(hw, 30U, __cil_tmp55);
16817#line 483
16818 msleep(20U);
16819 }
16820 } else {
16821
16822 }
16823 }
16824 }
16825 }
16826 }
16827 }
16828 }
16829 }
16830 {
16831#line 485
16832 __cil_tmp56 = hw->nic_type;
16833#line 485
16834 __cil_tmp57 = (unsigned int )__cil_tmp56;
16835#line 485
16836 if (__cil_tmp57 == 4U) {
16837 {
16838#line 486
16839 __cil_tmp58 = (u16 )41;
16840#line 486
16841 atl1c_write_phy_reg(hw, 29U, __cil_tmp58);
16842#line 487
16843 __cil_tmp59 = (u16 )37533;
16844#line 487
16845 atl1c_write_phy_reg(hw, 30U, __cil_tmp59);
16846 }
16847 } else {
16848
16849 }
16850 }
16851 {
16852#line 489
16853 __cil_tmp60 = hw->nic_type;
16854#line 489
16855 __cil_tmp61 = (unsigned int )__cil_tmp60;
16856#line 489
16857 if (__cil_tmp61 == 0U) {
16858 {
16859#line 491
16860 __cil_tmp62 = (u16 )41;
16861#line 491
16862 atl1c_write_phy_reg(hw, 29U, __cil_tmp62);
16863#line 492
16864 __cil_tmp63 = (u16 )46813;
16865#line 492
16866 atl1c_write_phy_reg(hw, 30U, __cil_tmp63);
16867 }
16868 } else {
16869 {
16870#line 489
16871 __cil_tmp64 = hw->nic_type;
16872#line 489
16873 __cil_tmp65 = (unsigned int )__cil_tmp64;
16874#line 489
16875 if (__cil_tmp65 == 3U) {
16876 {
16877#line 491
16878 __cil_tmp66 = (u16 )41;
16879#line 491
16880 atl1c_write_phy_reg(hw, 29U, __cil_tmp66);
16881#line 492
16882 __cil_tmp67 = (u16 )46813;
16883#line 492
16884 atl1c_write_phy_reg(hw, 30U, __cil_tmp67);
16885 }
16886 } else {
16887 {
16888#line 489
16889 __cil_tmp68 = hw->nic_type;
16890#line 489
16891 __cil_tmp69 = (unsigned int )__cil_tmp68;
16892#line 489
16893 if (__cil_tmp69 == 1U) {
16894 {
16895#line 491
16896 __cil_tmp70 = (u16 )41;
16897#line 491
16898 atl1c_write_phy_reg(hw, 29U, __cil_tmp70);
16899#line 492
16900 __cil_tmp71 = (u16 )46813;
16901#line 492
16902 atl1c_write_phy_reg(hw, 30U, __cil_tmp71);
16903 }
16904 } else {
16905
16906 }
16907 }
16908 }
16909 }
16910 }
16911 }
16912 {
16913#line 494
16914 __cil_tmp72 = (u16 )mii_ier_data;
16915#line 494
16916 __cil_tmp73 = (int )__cil_tmp72;
16917#line 494
16918 __cil_tmp74 = (u16 )__cil_tmp73;
16919#line 494
16920 err = atl1c_write_phy_reg(hw, 18U, __cil_tmp74);
16921 }
16922#line 495
16923 if (err != 0) {
16924 {
16925#line 496
16926 __cil_tmp75 = adapter->msg_enable;
16927#line 496
16928 __cil_tmp76 = __cil_tmp75 & 8192U;
16929#line 496
16930 if (__cil_tmp76 != 0U) {
16931 {
16932#line 497
16933 __cil_tmp77 = & pdev->dev;
16934#line 497
16935 __cil_tmp78 = (struct device const *)__cil_tmp77;
16936#line 497
16937 dev_err(__cil_tmp78, "Error enable PHY linkChange Interrupt\n");
16938 }
16939 } else {
16940
16941 }
16942 }
16943#line 499
16944 return (err);
16945 } else {
16946
16947 }
16948 {
16949#line 501
16950 __cil_tmp79 = hw->ctrl_flags;
16951#line 501
16952 __cil_tmp80 = (short )__cil_tmp79;
16953#line 501
16954 __cil_tmp81 = (int )__cil_tmp80;
16955#line 501
16956 if (__cil_tmp81 >= 0) {
16957 {
16958#line 502
16959 atl1c_phy_magic_data(hw);
16960 }
16961 } else {
16962
16963 }
16964 }
16965#line 503
16966 return (0);
16967}
16968}
16969#line 506 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
16970int atl1c_phy_init(struct atl1c_hw *hw )
16971{ struct atl1c_adapter *adapter ;
16972 struct pci_dev *pdev ;
16973 int ret_val ;
16974 u16 mii_bmcr_data ;
16975 int tmp ;
16976 int tmp___0 ;
16977 u16 __cil_tmp8 ;
16978 u16 *__cil_tmp9 ;
16979 struct device *__cil_tmp10 ;
16980 struct device const *__cil_tmp11 ;
16981 u16 __cil_tmp12 ;
16982 u16 *__cil_tmp13 ;
16983 struct device *__cil_tmp14 ;
16984 struct device const *__cil_tmp15 ;
16985 u16 __cil_tmp16 ;
16986 int __cil_tmp17 ;
16987 u16 __cil_tmp18 ;
16988 int __cil_tmp19 ;
16989 u16 __cil_tmp20 ;
16990 int __cil_tmp21 ;
16991 u16 __cil_tmp22 ;
16992 int __cil_tmp23 ;
16993 u16 __cil_tmp24 ;
16994 int __cil_tmp25 ;
16995 u32 __cil_tmp26 ;
16996 unsigned int __cil_tmp27 ;
16997 struct device *__cil_tmp28 ;
16998 struct device const *__cil_tmp29 ;
16999 unsigned int __cil_tmp30 ;
17000 unsigned int __cil_tmp31 ;
17001 unsigned int __cil_tmp32 ;
17002 unsigned int __cil_tmp33 ;
17003 unsigned int __cil_tmp34 ;
17004 unsigned int __cil_tmp35 ;
17005 unsigned int __cil_tmp36 ;
17006 unsigned int __cil_tmp37 ;
17007 u32 __cil_tmp38 ;
17008 unsigned int __cil_tmp39 ;
17009 struct device *__cil_tmp40 ;
17010 struct device const *__cil_tmp41 ;
17011 u16 __cil_tmp42 ;
17012 int __cil_tmp43 ;
17013 int __cil_tmp44 ;
17014 u16 __cil_tmp45 ;
17015
17016 {
17017 {
17018#line 508
17019 adapter = hw->adapter;
17020#line 509
17021 pdev = adapter->pdev;
17022#line 511
17023 mii_bmcr_data = (u16 )32768U;
17024#line 513
17025 __cil_tmp8 = (u16 )2;
17026#line 513
17027 __cil_tmp9 = & hw->phy_id1;
17028#line 513
17029 tmp = atl1c_read_phy_reg(hw, __cil_tmp8, __cil_tmp9);
17030 }
17031#line 513
17032 if (tmp != 0) {
17033 {
17034#line 515
17035 __cil_tmp10 = & pdev->dev;
17036#line 515
17037 __cil_tmp11 = (struct device const *)__cil_tmp10;
17038#line 515
17039 dev_err(__cil_tmp11, "Error get phy ID\n");
17040 }
17041#line 516
17042 return (-1);
17043 } else {
17044 {
17045#line 513
17046 __cil_tmp12 = (u16 )3;
17047#line 513
17048 __cil_tmp13 = & hw->phy_id2;
17049#line 513
17050 tmp___0 = atl1c_read_phy_reg(hw, __cil_tmp12, __cil_tmp13);
17051 }
17052#line 513
17053 if (tmp___0 != 0) {
17054 {
17055#line 515
17056 __cil_tmp14 = & pdev->dev;
17057#line 515
17058 __cil_tmp15 = (struct device const *)__cil_tmp14;
17059#line 515
17060 dev_err(__cil_tmp15, "Error get phy ID\n");
17061 }
17062#line 516
17063 return (-1);
17064 } else {
17065
17066 }
17067 }
17068 {
17069#line 519
17070 __cil_tmp16 = hw->media_type;
17071#line 519
17072 __cil_tmp17 = (int )__cil_tmp16;
17073#line 519
17074 if (__cil_tmp17 == 0) {
17075#line 519
17076 goto case_0;
17077 } else {
17078 {
17079#line 529
17080 __cil_tmp18 = hw->media_type;
17081#line 529
17082 __cil_tmp19 = (int )__cil_tmp18;
17083#line 529
17084 if (__cil_tmp19 == 1) {
17085#line 529
17086 goto case_1;
17087 } else {
17088 {
17089#line 532
17090 __cil_tmp20 = hw->media_type;
17091#line 532
17092 __cil_tmp21 = (int )__cil_tmp20;
17093#line 532
17094 if (__cil_tmp21 == 2) {
17095#line 532
17096 goto case_2;
17097 } else {
17098 {
17099#line 535
17100 __cil_tmp22 = hw->media_type;
17101#line 535
17102 __cil_tmp23 = (int )__cil_tmp22;
17103#line 535
17104 if (__cil_tmp23 == 3) {
17105#line 535
17106 goto case_3;
17107 } else {
17108 {
17109#line 538
17110 __cil_tmp24 = hw->media_type;
17111#line 538
17112 __cil_tmp25 = (int )__cil_tmp24;
17113#line 538
17114 if (__cil_tmp25 == 4) {
17115#line 538
17116 goto case_4;
17117 } else {
17118#line 540
17119 goto switch_default;
17120#line 518
17121 if (0) {
17122 case_0:
17123 {
17124#line 520
17125 ret_val = atl1c_phy_setup_adv(hw);
17126 }
17127#line 521
17128 if (ret_val != 0) {
17129 {
17130#line 522
17131 __cil_tmp26 = adapter->msg_enable;
17132#line 522
17133 __cil_tmp27 = __cil_tmp26 & 4U;
17134#line 522
17135 if (__cil_tmp27 != 0U) {
17136 {
17137#line 523
17138 __cil_tmp28 = & pdev->dev;
17139#line 523
17140 __cil_tmp29 = (struct device const *)__cil_tmp28;
17141#line 523
17142 dev_err(__cil_tmp29, "Error Setting up Auto-Negotiation\n");
17143 }
17144 } else {
17145
17146 }
17147 }
17148#line 525
17149 return (ret_val);
17150 } else {
17151
17152 }
17153#line 527
17154 __cil_tmp30 = (unsigned int )mii_bmcr_data;
17155#line 527
17156 __cil_tmp31 = __cil_tmp30 | 4608U;
17157#line 527
17158 mii_bmcr_data = (u16 )__cil_tmp31;
17159#line 528
17160 goto ldv_42521;
17161 case_1:
17162#line 530
17163 __cil_tmp32 = (unsigned int )mii_bmcr_data;
17164#line 530
17165 __cil_tmp33 = __cil_tmp32 | 8448U;
17166#line 530
17167 mii_bmcr_data = (u16 )__cil_tmp33;
17168#line 531
17169 goto ldv_42521;
17170 case_2:
17171#line 533
17172 __cil_tmp34 = (unsigned int )mii_bmcr_data;
17173#line 533
17174 __cil_tmp35 = __cil_tmp34 | 8192U;
17175#line 533
17176 mii_bmcr_data = (u16 )__cil_tmp35;
17177#line 534
17178 goto ldv_42521;
17179 case_3:
17180#line 536
17181 __cil_tmp36 = (unsigned int )mii_bmcr_data;
17182#line 536
17183 __cil_tmp37 = __cil_tmp36 | 256U;
17184#line 536
17185 mii_bmcr_data = (u16 )__cil_tmp37;
17186#line 537
17187 goto ldv_42521;
17188 case_4: ;
17189#line 539
17190 goto ldv_42521;
17191 switch_default: ;
17192 {
17193#line 541
17194 __cil_tmp38 = adapter->msg_enable;
17195#line 541
17196 __cil_tmp39 = __cil_tmp38 & 4U;
17197#line 541
17198 if (__cil_tmp39 != 0U) {
17199 {
17200#line 542
17201 __cil_tmp40 = & pdev->dev;
17202#line 542
17203 __cil_tmp41 = (struct device const *)__cil_tmp40;
17204#line 542
17205 __cil_tmp42 = hw->media_type;
17206#line 542
17207 __cil_tmp43 = (int )__cil_tmp42;
17208#line 542
17209 dev_err(__cil_tmp41, "Wrong Media type %d\n", __cil_tmp43);
17210 }
17211 } else {
17212
17213 }
17214 }
17215#line 544
17216 return (-1);
17217 } else {
17218
17219 }
17220 }
17221 }
17222 }
17223 }
17224 }
17225 }
17226 }
17227 }
17228 }
17229 }
17230 ldv_42521:
17231 {
17232#line 548
17233 __cil_tmp44 = (int )mii_bmcr_data;
17234#line 548
17235 __cil_tmp45 = (u16 )__cil_tmp44;
17236#line 548
17237 ret_val = atl1c_write_phy_reg(hw, 0U, __cil_tmp45);
17238 }
17239#line 549
17240 if (ret_val != 0) {
17241#line 550
17242 return (ret_val);
17243 } else {
17244
17245 }
17246#line 551
17247 hw->phy_configured = (bool )1;
17248#line 553
17249 return (0);
17250}
17251}
17252#line 563 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
17253int atl1c_get_speed_and_duplex(struct atl1c_hw *hw , u16 *speed , u16 *duplex )
17254{ int err ;
17255 u16 phy_data ;
17256 u16 __cil_tmp6 ;
17257 int __cil_tmp7 ;
17258 int __cil_tmp8 ;
17259 int __cil_tmp9 ;
17260 int __cil_tmp10 ;
17261 int __cil_tmp11 ;
17262 int __cil_tmp12 ;
17263 int __cil_tmp13 ;
17264 int __cil_tmp14 ;
17265 int __cil_tmp15 ;
17266 int __cil_tmp16 ;
17267
17268 {
17269 {
17270#line 569
17271 __cil_tmp6 = (u16 )17;
17272#line 569
17273 err = atl1c_read_phy_reg(hw, __cil_tmp6, & phy_data);
17274 }
17275#line 570
17276 if (err != 0) {
17277#line 571
17278 return (err);
17279 } else {
17280
17281 }
17282 {
17283#line 573
17284 __cil_tmp7 = (int )phy_data;
17285#line 573
17286 __cil_tmp8 = __cil_tmp7 & 2048;
17287#line 573
17288 if (__cil_tmp8 == 0) {
17289#line 574
17290 return (-1);
17291 } else {
17292
17293 }
17294 }
17295 {
17296#line 577
17297 __cil_tmp9 = (int )phy_data;
17298#line 577
17299 __cil_tmp10 = __cil_tmp9 & 49152;
17300#line 577
17301 if (__cil_tmp10 == 32768) {
17302#line 577
17303 goto case_32768;
17304 } else {
17305 {
17306#line 580
17307 __cil_tmp11 = (int )phy_data;
17308#line 580
17309 __cil_tmp12 = __cil_tmp11 & 49152;
17310#line 580
17311 if (__cil_tmp12 == 16384) {
17312#line 580
17313 goto case_16384;
17314 } else {
17315 {
17316#line 583
17317 __cil_tmp13 = (int )phy_data;
17318#line 583
17319 __cil_tmp14 = __cil_tmp13 & 49152;
17320#line 583
17321 if (__cil_tmp14 == 0) {
17322#line 583
17323 goto case_0;
17324 } else {
17325#line 586
17326 goto switch_default;
17327#line 576
17328 if (0) {
17329 case_32768:
17330#line 578
17331 *speed = (u16 )1000U;
17332#line 579
17333 goto ldv_42535;
17334 case_16384:
17335#line 581
17336 *speed = (u16 )100U;
17337#line 582
17338 goto ldv_42535;
17339 case_0:
17340#line 584
17341 *speed = (u16 )10U;
17342#line 585
17343 goto ldv_42535;
17344 switch_default: ;
17345#line 587
17346 return (-1);
17347 } else {
17348
17349 }
17350 }
17351 }
17352 }
17353 }
17354 }
17355 }
17356 ldv_42535: ;
17357 {
17358#line 591
17359 __cil_tmp15 = (int )phy_data;
17360#line 591
17361 __cil_tmp16 = __cil_tmp15 & 8192;
17362#line 591
17363 if (__cil_tmp16 != 0) {
17364#line 592
17365 *duplex = (u16 )2U;
17366 } else {
17367#line 594
17368 *duplex = (u16 )1U;
17369 }
17370 }
17371#line 596
17372 return (0);
17373}
17374}
17375#line 599 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
17376int atl1c_phy_power_saving(struct atl1c_hw *hw )
17377{ struct atl1c_adapter *adapter ;
17378 struct pci_dev *pdev ;
17379 int ret ;
17380 u16 autoneg_advertised ;
17381 u16 save_autoneg_advertised ;
17382 u16 phy_data ;
17383 u16 mii_lpa_data ;
17384 u16 speed ;
17385 u16 duplex ;
17386 int i ;
17387 struct _ddebug descriptor ;
17388 long tmp ;
17389 int tmp___0 ;
17390 unsigned long __ms ;
17391 unsigned long tmp___1 ;
17392 struct _ddebug descriptor___0 ;
17393 long tmp___2 ;
17394 int tmp___3 ;
17395 u16 __cil_tmp20 ;
17396 u16 __cil_tmp21 ;
17397 int __cil_tmp22 ;
17398 int __cil_tmp23 ;
17399 u16 __cil_tmp24 ;
17400 int __cil_tmp25 ;
17401 int __cil_tmp26 ;
17402 int __cil_tmp27 ;
17403 int __cil_tmp28 ;
17404 int __cil_tmp29 ;
17405 int __cil_tmp30 ;
17406 int __cil_tmp31 ;
17407 int __cil_tmp32 ;
17408 signed char __cil_tmp33 ;
17409 int __cil_tmp34 ;
17410 int __cil_tmp35 ;
17411 long __cil_tmp36 ;
17412 struct device *__cil_tmp37 ;
17413 struct device const *__cil_tmp38 ;
17414 unsigned int __cil_tmp39 ;
17415 u16 __cil_tmp40 ;
17416 u16 __cil_tmp41 ;
17417 int __cil_tmp42 ;
17418 int __cil_tmp43 ;
17419 signed char __cil_tmp44 ;
17420 int __cil_tmp45 ;
17421 int __cil_tmp46 ;
17422 long __cil_tmp47 ;
17423 struct device *__cil_tmp48 ;
17424 struct device const *__cil_tmp49 ;
17425
17426 {
17427 {
17428#line 601
17429 adapter = hw->adapter;
17430#line 602
17431 pdev = adapter->pdev;
17432#line 603
17433 ret = 0;
17434#line 604
17435 autoneg_advertised = (u16 )1U;
17436#line 608
17437 speed = (u16 )65535U;
17438#line 609
17439 duplex = (u16 )2U;
17440#line 612
17441 __cil_tmp20 = (u16 )1;
17442#line 612
17443 atl1c_read_phy_reg(hw, __cil_tmp20, & phy_data);
17444#line 613
17445 __cil_tmp21 = (u16 )1;
17446#line 613
17447 atl1c_read_phy_reg(hw, __cil_tmp21, & phy_data);
17448 }
17449 {
17450#line 614
17451 __cil_tmp22 = (int )phy_data;
17452#line 614
17453 __cil_tmp23 = __cil_tmp22 & 4;
17454#line 614
17455 if (__cil_tmp23 != 0) {
17456 {
17457#line 615
17458 __cil_tmp24 = (u16 )5;
17459#line 615
17460 atl1c_read_phy_reg(hw, __cil_tmp24, & mii_lpa_data);
17461 }
17462 {
17463#line 616
17464 __cil_tmp25 = (int )mii_lpa_data;
17465#line 616
17466 __cil_tmp26 = __cil_tmp25 & 64;
17467#line 616
17468 if (__cil_tmp26 != 0) {
17469#line 617
17470 autoneg_advertised = (u16 )2U;
17471 } else {
17472 {
17473#line 618
17474 __cil_tmp27 = (int )mii_lpa_data;
17475#line 618
17476 __cil_tmp28 = __cil_tmp27 & 32;
17477#line 618
17478 if (__cil_tmp28 != 0) {
17479#line 619
17480 autoneg_advertised = (u16 )1U;
17481 } else {
17482 {
17483#line 620
17484 __cil_tmp29 = (int )mii_lpa_data;
17485#line 620
17486 __cil_tmp30 = __cil_tmp29 & 128;
17487#line 620
17488 if (__cil_tmp30 != 0) {
17489#line 621
17490 autoneg_advertised = (u16 )4U;
17491 } else {
17492 {
17493#line 622
17494 __cil_tmp31 = (int )mii_lpa_data;
17495#line 622
17496 __cil_tmp32 = __cil_tmp31 & 256;
17497#line 622
17498 if (__cil_tmp32 != 0) {
17499#line 623
17500 autoneg_advertised = (u16 )8U;
17501 } else {
17502
17503 }
17504 }
17505 }
17506 }
17507 }
17508 }
17509 }
17510 }
17511 {
17512#line 625
17513 save_autoneg_advertised = hw->autoneg_advertised;
17514#line 626
17515 hw->phy_configured = (bool )0;
17516#line 627
17517 hw->autoneg_advertised = autoneg_advertised;
17518#line 628
17519 tmp___0 = atl1c_restart_autoneg(hw);
17520 }
17521#line 628
17522 if (tmp___0 != 0) {
17523 {
17524#line 629
17525 descriptor.modname = "atl1c";
17526#line 629
17527 descriptor.function = "atl1c_phy_power_saving";
17528#line 629
17529 descriptor.filename = "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p";
17530#line 629
17531 descriptor.format = "phy autoneg failed\n";
17532#line 629
17533 descriptor.lineno = 629U;
17534#line 629
17535 descriptor.flags = (unsigned char)0;
17536#line 629
17537 descriptor.enabled = (char)0;
17538#line 629
17539 __cil_tmp33 = (signed char )descriptor.enabled;
17540#line 629
17541 __cil_tmp34 = (int )__cil_tmp33;
17542#line 629
17543 __cil_tmp35 = __cil_tmp34 != 0;
17544#line 629
17545 __cil_tmp36 = (long )__cil_tmp35;
17546#line 629
17547 tmp = __builtin_expect(__cil_tmp36, 0L);
17548 }
17549#line 629
17550 if (tmp != 0L) {
17551 {
17552#line 629
17553 __cil_tmp37 = & pdev->dev;
17554#line 629
17555 __cil_tmp38 = (struct device const *)__cil_tmp37;
17556#line 629
17557 dev_printk("<7>", __cil_tmp38, "phy autoneg failed\n");
17558 }
17559 } else {
17560
17561 }
17562#line 630
17563 ret = -1;
17564 } else {
17565
17566 }
17567#line 632
17568 hw->autoneg_advertised = save_autoneg_advertised;
17569 {
17570#line 634
17571 __cil_tmp39 = (unsigned int )mii_lpa_data;
17572#line 634
17573 if (__cil_tmp39 != 0U) {
17574#line 635
17575 i = 0;
17576#line 635
17577 goto ldv_42561;
17578 ldv_42560:
17579#line 636
17580 __ms = 100UL;
17581#line 636
17582 goto ldv_42556;
17583 ldv_42555:
17584 {
17585#line 636
17586 __const_udelay(4295000UL);
17587 }
17588 ldv_42556:
17589#line 636
17590 tmp___1 = __ms;
17591#line 636
17592 __ms = __ms - 1UL;
17593#line 636
17594 if (tmp___1 != 0UL) {
17595#line 637
17596 goto ldv_42555;
17597 } else {
17598#line 639
17599 goto ldv_42557;
17600 }
17601 ldv_42557:
17602 {
17603#line 637
17604 __cil_tmp40 = (u16 )1;
17605#line 637
17606 atl1c_read_phy_reg(hw, __cil_tmp40, & phy_data);
17607#line 638
17608 __cil_tmp41 = (u16 )1;
17609#line 638
17610 atl1c_read_phy_reg(hw, __cil_tmp41, & phy_data);
17611 }
17612 {
17613#line 639
17614 __cil_tmp42 = (int )phy_data;
17615#line 639
17616 __cil_tmp43 = __cil_tmp42 & 4;
17617#line 639
17618 if (__cil_tmp43 != 0) {
17619 {
17620#line 640
17621 tmp___3 = atl1c_get_speed_and_duplex(hw, & speed, & duplex);
17622 }
17623#line 640
17624 if (tmp___3 != 0) {
17625 {
17626#line 642
17627 descriptor___0.modname = "atl1c";
17628#line 642
17629 descriptor___0.function = "atl1c_phy_power_saving";
17630#line 642
17631 descriptor___0.filename = "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p";
17632#line 642
17633 descriptor___0.format = "get speed and duplex failed\n";
17634#line 642
17635 descriptor___0.lineno = 643U;
17636#line 642
17637 descriptor___0.flags = (unsigned char)0;
17638#line 642
17639 descriptor___0.enabled = (char)0;
17640#line 642
17641 __cil_tmp44 = (signed char )descriptor___0.enabled;
17642#line 642
17643 __cil_tmp45 = (int )__cil_tmp44;
17644#line 642
17645 __cil_tmp46 = __cil_tmp45 != 0;
17646#line 642
17647 __cil_tmp47 = (long )__cil_tmp46;
17648#line 642
17649 tmp___2 = __builtin_expect(__cil_tmp47, 0L);
17650 }
17651#line 642
17652 if (tmp___2 != 0L) {
17653 {
17654#line 642
17655 __cil_tmp48 = & pdev->dev;
17656#line 642
17657 __cil_tmp49 = (struct device const *)__cil_tmp48;
17658#line 642
17659 dev_printk("<7>", __cil_tmp49, "get speed and duplex failed\n");
17660 }
17661 } else {
17662
17663 }
17664 } else {
17665
17666 }
17667#line 644
17668 goto ldv_42559;
17669 } else {
17670
17671 }
17672 }
17673#line 635
17674 i = i + 1;
17675 ldv_42561: ;
17676#line 635
17677 if (i <= 99) {
17678#line 636
17679 goto ldv_42560;
17680 } else {
17681#line 638
17682 goto ldv_42559;
17683 }
17684 ldv_42559: ;
17685 } else {
17686
17687 }
17688 }
17689 } else {
17690#line 649
17691 speed = (u16 )10U;
17692#line 650
17693 duplex = (u16 )1U;
17694 }
17695 }
17696#line 652
17697 adapter->link_speed = speed;
17698#line 653
17699 adapter->link_duplex = duplex;
17700#line 655
17701 return (ret);
17702}
17703}
17704#line 658 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_hw.c.p"
17705int atl1c_restart_autoneg(struct atl1c_hw *hw )
17706{ int err ;
17707 u16 mii_bmcr_data ;
17708 int tmp ;
17709 unsigned int __cil_tmp5 ;
17710 unsigned int __cil_tmp6 ;
17711 int __cil_tmp7 ;
17712 u16 __cil_tmp8 ;
17713
17714 {
17715 {
17716#line 660
17717 err = 0;
17718#line 661
17719 mii_bmcr_data = (u16 )32768U;
17720#line 663
17721 err = atl1c_phy_setup_adv(hw);
17722 }
17723#line 664
17724 if (err != 0) {
17725#line 665
17726 return (err);
17727 } else {
17728
17729 }
17730 {
17731#line 666
17732 __cil_tmp5 = (unsigned int )mii_bmcr_data;
17733#line 666
17734 __cil_tmp6 = __cil_tmp5 | 4608U;
17735#line 666
17736 mii_bmcr_data = (u16 )__cil_tmp6;
17737#line 668
17738 __cil_tmp7 = (int )mii_bmcr_data;
17739#line 668
17740 __cil_tmp8 = (u16 )__cil_tmp7;
17741#line 668
17742 tmp = atl1c_write_phy_reg(hw, 0U, __cil_tmp8);
17743 }
17744#line 668
17745 return (tmp);
17746}
17747}
17748#line 30 "include/linux/string.h"
17749extern size_t strlcpy(char * , char const * , size_t ) ;
17750#line 80 "include/linux/kobject.h"
17751__inline static char const *kobject_name(struct kobject const *kobj )
17752{ char const *__cil_tmp2 ;
17753
17754 {
17755 {
17756#line 82
17757 __cil_tmp2 = kobj->name;
17758#line 82
17759 return ((char const *)__cil_tmp2);
17760 }
17761}
17762}
17763#line 608 "include/linux/device.h"
17764__inline static char const *dev_name(struct device const *dev )
17765{ char const *tmp ;
17766 char const *__cil_tmp3 ;
17767 unsigned long __cil_tmp4 ;
17768 char const *__cil_tmp5 ;
17769 unsigned long __cil_tmp6 ;
17770 char const *__cil_tmp7 ;
17771 struct kobject const *__cil_tmp8 ;
17772
17773 {
17774 {
17775#line 611
17776 __cil_tmp3 = (char const * const )0;
17777#line 611
17778 __cil_tmp4 = (unsigned long )__cil_tmp3;
17779#line 611
17780 __cil_tmp5 = dev->init_name;
17781#line 611
17782 __cil_tmp6 = (unsigned long )__cil_tmp5;
17783#line 611
17784 if (__cil_tmp6 != __cil_tmp4) {
17785 {
17786#line 612
17787 __cil_tmp7 = dev->init_name;
17788#line 612
17789 return ((char const *)__cil_tmp7);
17790 }
17791 } else {
17792
17793 }
17794 }
17795 {
17796#line 614
17797 __cil_tmp8 = & dev->kobj;
17798#line 614
17799 tmp = kobject_name(__cil_tmp8);
17800 }
17801#line 614
17802 return (tmp);
17803}
17804}
17805#line 49 "include/linux/ethtool.h"
17806__inline static void ethtool_cmd_speed_set(struct ethtool_cmd *ep , __u32 speed )
17807{ __u32 __cil_tmp3 ;
17808
17809 {
17810#line 53
17811 ep->speed = (unsigned short )speed;
17812#line 54
17813 __cil_tmp3 = speed >> 16;
17814#line 54
17815 ep->speed_hi = (unsigned short )__cil_tmp3;
17816#line 55
17817 return;
17818}
17819}
17820#line 57 "include/linux/ethtool.h"
17821__inline static __u32 ethtool_cmd_speed(struct ethtool_cmd const *ep )
17822{ __u16 __cil_tmp2 ;
17823 int __cil_tmp3 ;
17824 __u16 __cil_tmp4 ;
17825 int __cil_tmp5 ;
17826 int __cil_tmp6 ;
17827 int __cil_tmp7 ;
17828
17829 {
17830 {
17831#line 59
17832 __cil_tmp2 = ep->speed;
17833#line 59
17834 __cil_tmp3 = (int )__cil_tmp2;
17835#line 59
17836 __cil_tmp4 = ep->speed_hi;
17837#line 59
17838 __cil_tmp5 = (int )__cil_tmp4;
17839#line 59
17840 __cil_tmp6 = __cil_tmp5 << 16;
17841#line 59
17842 __cil_tmp7 = __cil_tmp6 | __cil_tmp3;
17843#line 59
17844 return ((__u32 )__cil_tmp7);
17845 }
17846}
17847}
17848#line 748
17849extern u32 ethtool_op_get_link(struct net_device * ) ;
17850#line 1329 "include/linux/pci.h"
17851__inline static char const *pci_name(struct pci_dev const *pdev )
17852{ char const *tmp ;
17853 struct device const *__cil_tmp3 ;
17854
17855 {
17856 {
17857#line 1331
17858 __cil_tmp3 = & pdev->dev;
17859#line 1331
17860 tmp = dev_name(__cil_tmp3);
17861 }
17862#line 1331
17863 return (tmp);
17864}
17865}
17866#line 37 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
17867static int atl1c_get_settings(struct net_device *netdev , struct ethtool_cmd *ecmd )
17868{ struct atl1c_adapter *adapter ;
17869 void *tmp ;
17870 struct atl1c_hw *hw ;
17871 struct net_device const *__cil_tmp6 ;
17872 u16 __cil_tmp7 ;
17873 int __cil_tmp8 ;
17874 __u32 __cil_tmp9 ;
17875 u16 __cil_tmp10 ;
17876 __u32 __cil_tmp11 ;
17877 __u32 __cil_tmp12 ;
17878 u16 __cil_tmp13 ;
17879 unsigned int __cil_tmp14 ;
17880 u16 __cil_tmp15 ;
17881 __u32 __cil_tmp16 ;
17882 u16 __cil_tmp17 ;
17883 unsigned int __cil_tmp18 ;
17884
17885 {
17886 {
17887#line 40
17888 __cil_tmp6 = (struct net_device const *)netdev;
17889#line 40
17890 tmp = netdev_priv(__cil_tmp6);
17891#line 40
17892 adapter = (struct atl1c_adapter *)tmp;
17893#line 41
17894 hw = & adapter->hw;
17895#line 43
17896 ecmd->supported = 207U;
17897 }
17898 {
17899#line 49
17900 __cil_tmp7 = hw->link_cap_flags;
17901#line 49
17902 __cil_tmp8 = (int )__cil_tmp7;
17903#line 49
17904 if (__cil_tmp8 & 1) {
17905#line 50
17906 __cil_tmp9 = ecmd->supported;
17907#line 50
17908 ecmd->supported = __cil_tmp9 | 32U;
17909 } else {
17910
17911 }
17912 }
17913#line 52
17914 ecmd->advertising = 128U;
17915#line 54
17916 __cil_tmp10 = hw->autoneg_advertised;
17917#line 54
17918 __cil_tmp11 = (__u32 )__cil_tmp10;
17919#line 54
17920 __cil_tmp12 = ecmd->advertising;
17921#line 54
17922 ecmd->advertising = __cil_tmp12 | __cil_tmp11;
17923#line 56
17924 ecmd->port = (__u8 )0U;
17925#line 57
17926 ecmd->phy_address = (__u8 )0U;
17927#line 58
17928 ecmd->transceiver = (__u8 )0U;
17929 {
17930#line 60
17931 __cil_tmp13 = adapter->link_speed;
17932#line 60
17933 __cil_tmp14 = (unsigned int )__cil_tmp13;
17934#line 60
17935 if (__cil_tmp14 != 65535U) {
17936 {
17937#line 61
17938 __cil_tmp15 = adapter->link_speed;
17939#line 61
17940 __cil_tmp16 = (__u32 )__cil_tmp15;
17941#line 61
17942 ethtool_cmd_speed_set(ecmd, __cil_tmp16);
17943 }
17944 {
17945#line 62
17946 __cil_tmp17 = adapter->link_duplex;
17947#line 62
17948 __cil_tmp18 = (unsigned int )__cil_tmp17;
17949#line 62
17950 if (__cil_tmp18 == 2U) {
17951#line 63
17952 ecmd->duplex = (__u8 )1U;
17953 } else {
17954#line 65
17955 ecmd->duplex = (__u8 )0U;
17956 }
17957 }
17958 } else {
17959 {
17960#line 67
17961 ethtool_cmd_speed_set(ecmd, 4294967295U);
17962#line 68
17963 ecmd->duplex = (__u8 )255U;
17964 }
17965 }
17966 }
17967#line 71
17968 ecmd->autoneg = (__u8 )1U;
17969#line 72
17970 return (0);
17971}
17972}
17973#line 75 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
17974static int atl1c_set_settings(struct net_device *netdev , struct ethtool_cmd *ecmd )
17975{ struct atl1c_adapter *adapter ;
17976 void *tmp ;
17977 struct atl1c_hw *hw ;
17978 u16 autoneg_advertised ;
17979 int tmp___0 ;
17980 u32 speed ;
17981 __u32 tmp___1 ;
17982 int tmp___2 ;
17983 struct net_device const *__cil_tmp11 ;
17984 unsigned long *__cil_tmp12 ;
17985 unsigned long volatile *__cil_tmp13 ;
17986 __u8 __cil_tmp14 ;
17987 unsigned int __cil_tmp15 ;
17988 struct ethtool_cmd const *__cil_tmp16 ;
17989 __u8 __cil_tmp17 ;
17990 unsigned int __cil_tmp18 ;
17991 u32 __cil_tmp19 ;
17992 unsigned int __cil_tmp20 ;
17993 struct pci_dev *__cil_tmp21 ;
17994 struct device *__cil_tmp22 ;
17995 struct device const *__cil_tmp23 ;
17996 unsigned long *__cil_tmp24 ;
17997 unsigned long volatile *__cil_tmp25 ;
17998 __u8 __cil_tmp26 ;
17999 unsigned int __cil_tmp27 ;
18000 __u8 __cil_tmp28 ;
18001 unsigned int __cil_tmp29 ;
18002 int __cil_tmp30 ;
18003 u16 __cil_tmp31 ;
18004 int __cil_tmp32 ;
18005 u32 __cil_tmp33 ;
18006 unsigned int __cil_tmp34 ;
18007 struct pci_dev *__cil_tmp35 ;
18008 struct device *__cil_tmp36 ;
18009 struct device const *__cil_tmp37 ;
18010 unsigned long *__cil_tmp38 ;
18011 unsigned long volatile *__cil_tmp39 ;
18012 unsigned long *__cil_tmp40 ;
18013 unsigned long volatile *__cil_tmp41 ;
18014
18015 {
18016 {
18017#line 78
18018 __cil_tmp11 = (struct net_device const *)netdev;
18019#line 78
18020 tmp = netdev_priv(__cil_tmp11);
18021#line 78
18022 adapter = (struct atl1c_adapter *)tmp;
18023#line 79
18024 hw = & adapter->hw;
18025 }
18026#line 82
18027 goto ldv_42406;
18028 ldv_42405:
18029 {
18030#line 83
18031 msleep(1U);
18032 }
18033 ldv_42406:
18034 {
18035#line 82
18036 __cil_tmp12 = & adapter->flags;
18037#line 82
18038 __cil_tmp13 = (unsigned long volatile *)__cil_tmp12;
18039#line 82
18040 tmp___0 = test_and_set_bit(2, __cil_tmp13);
18041 }
18042#line 82
18043 if (tmp___0 != 0) {
18044#line 83
18045 goto ldv_42405;
18046 } else {
18047#line 85
18048 goto ldv_42407;
18049 }
18050 ldv_42407: ;
18051 {
18052#line 85
18053 __cil_tmp14 = ecmd->autoneg;
18054#line 85
18055 __cil_tmp15 = (unsigned int )__cil_tmp14;
18056#line 85
18057 if (__cil_tmp15 == 1U) {
18058#line 86
18059 autoneg_advertised = (u16 )64U;
18060 } else {
18061 {
18062#line 88
18063 __cil_tmp16 = (struct ethtool_cmd const *)ecmd;
18064#line 88
18065 tmp___1 = ethtool_cmd_speed(__cil_tmp16);
18066#line 88
18067 speed = tmp___1;
18068 }
18069#line 89
18070 if (speed == 1000U) {
18071 {
18072#line 90
18073 __cil_tmp17 = ecmd->duplex;
18074#line 90
18075 __cil_tmp18 = (unsigned int )__cil_tmp17;
18076#line 90
18077 if (__cil_tmp18 != 1U) {
18078 {
18079#line 91
18080 __cil_tmp19 = adapter->msg_enable;
18081#line 91
18082 __cil_tmp20 = __cil_tmp19 & 4U;
18083#line 91
18084 if (__cil_tmp20 != 0U) {
18085 {
18086#line 92
18087 __cil_tmp21 = adapter->pdev;
18088#line 92
18089 __cil_tmp22 = & __cil_tmp21->dev;
18090#line 92
18091 __cil_tmp23 = (struct device const *)__cil_tmp22;
18092#line 92
18093 dev_warn(__cil_tmp23, "1000M half is invalid\n");
18094 }
18095 } else {
18096
18097 }
18098 }
18099 {
18100#line 94
18101 __cil_tmp24 = & adapter->flags;
18102#line 94
18103 __cil_tmp25 = (unsigned long volatile *)__cil_tmp24;
18104#line 94
18105 clear_bit(2, __cil_tmp25);
18106 }
18107#line 95
18108 return (-22);
18109 } else {
18110
18111 }
18112 }
18113#line 97
18114 autoneg_advertised = (u16 )32U;
18115 } else
18116#line 98
18117 if (speed == 100U) {
18118 {
18119#line 99
18120 __cil_tmp26 = ecmd->duplex;
18121#line 99
18122 __cil_tmp27 = (unsigned int )__cil_tmp26;
18123#line 99
18124 if (__cil_tmp27 == 1U) {
18125#line 100
18126 autoneg_advertised = (u16 )8U;
18127 } else {
18128#line 102
18129 autoneg_advertised = (u16 )4U;
18130 }
18131 }
18132 } else {
18133 {
18134#line 104
18135 __cil_tmp28 = ecmd->duplex;
18136#line 104
18137 __cil_tmp29 = (unsigned int )__cil_tmp28;
18138#line 104
18139 if (__cil_tmp29 == 1U) {
18140#line 105
18141 autoneg_advertised = (u16 )2U;
18142 } else {
18143#line 107
18144 autoneg_advertised = (u16 )1U;
18145 }
18146 }
18147 }
18148 }
18149 }
18150 {
18151#line 111
18152 __cil_tmp30 = (int )autoneg_advertised;
18153#line 111
18154 __cil_tmp31 = hw->autoneg_advertised;
18155#line 111
18156 __cil_tmp32 = (int )__cil_tmp31;
18157#line 111
18158 if (__cil_tmp32 != __cil_tmp30) {
18159 {
18160#line 112
18161 hw->autoneg_advertised = autoneg_advertised;
18162#line 113
18163 tmp___2 = atl1c_restart_autoneg(hw);
18164 }
18165#line 113
18166 if (tmp___2 != 0) {
18167 {
18168#line 114
18169 __cil_tmp33 = adapter->msg_enable;
18170#line 114
18171 __cil_tmp34 = __cil_tmp33 & 4U;
18172#line 114
18173 if (__cil_tmp34 != 0U) {
18174 {
18175#line 115
18176 __cil_tmp35 = adapter->pdev;
18177#line 115
18178 __cil_tmp36 = & __cil_tmp35->dev;
18179#line 115
18180 __cil_tmp37 = (struct device const *)__cil_tmp36;
18181#line 115
18182 dev_warn(__cil_tmp37, "ethtool speed/duplex setting failed\n");
18183 }
18184 } else {
18185
18186 }
18187 }
18188 {
18189#line 117
18190 __cil_tmp38 = & adapter->flags;
18191#line 117
18192 __cil_tmp39 = (unsigned long volatile *)__cil_tmp38;
18193#line 117
18194 clear_bit(2, __cil_tmp39);
18195 }
18196#line 118
18197 return (-22);
18198 } else {
18199
18200 }
18201 } else {
18202
18203 }
18204 }
18205 {
18206#line 121
18207 __cil_tmp40 = & adapter->flags;
18208#line 121
18209 __cil_tmp41 = (unsigned long volatile *)__cil_tmp40;
18210#line 121
18211 clear_bit(2, __cil_tmp41);
18212 }
18213#line 122
18214 return (0);
18215}
18216}
18217#line 125 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
18218static u32 atl1c_get_msglevel(struct net_device *netdev )
18219{ struct atl1c_adapter *adapter ;
18220 void *tmp ;
18221 struct net_device const *__cil_tmp4 ;
18222
18223 {
18224 {
18225#line 127
18226 __cil_tmp4 = (struct net_device const *)netdev;
18227#line 127
18228 tmp = netdev_priv(__cil_tmp4);
18229#line 127
18230 adapter = (struct atl1c_adapter *)tmp;
18231 }
18232#line 128
18233 return (adapter->msg_enable);
18234}
18235}
18236#line 131 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
18237static void atl1c_set_msglevel(struct net_device *netdev , u32 data )
18238{ struct atl1c_adapter *adapter ;
18239 void *tmp ;
18240 struct net_device const *__cil_tmp5 ;
18241
18242 {
18243 {
18244#line 133
18245 __cil_tmp5 = (struct net_device const *)netdev;
18246#line 133
18247 tmp = netdev_priv(__cil_tmp5);
18248#line 133
18249 adapter = (struct atl1c_adapter *)tmp;
18250#line 134
18251 adapter->msg_enable = data;
18252 }
18253#line 135
18254 return;
18255}
18256}
18257#line 137 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
18258static int atl1c_get_regs_len(struct net_device *netdev )
18259{
18260
18261 {
18262#line 139
18263 return (300);
18264}
18265}
18266#line 142 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
18267static void atl1c_get_regs(struct net_device *netdev , struct ethtool_regs *regs ,
18268 void *p )
18269{ struct atl1c_adapter *adapter ;
18270 void *tmp ;
18271 struct atl1c_hw *hw ;
18272 u32 *regs_buff ;
18273 u16 phy_data ;
18274 void *tmp___0 ;
18275 void *tmp___1 ;
18276 long tmp___2 ;
18277 void *tmp___3 ;
18278 void *tmp___4 ;
18279 long tmp___5 ;
18280 void *tmp___6 ;
18281 void *tmp___7 ;
18282 long tmp___8 ;
18283 void *tmp___9 ;
18284 void *tmp___10 ;
18285 long tmp___11 ;
18286 void *tmp___12 ;
18287 void *tmp___13 ;
18288 long tmp___14 ;
18289 void *tmp___15 ;
18290 void *tmp___16 ;
18291 long tmp___17 ;
18292 void *tmp___18 ;
18293 void *tmp___19 ;
18294 long tmp___20 ;
18295 void *tmp___21 ;
18296 void *tmp___22 ;
18297 long tmp___23 ;
18298 void *tmp___24 ;
18299 void *tmp___25 ;
18300 long tmp___26 ;
18301 void *tmp___27 ;
18302 void *tmp___28 ;
18303 long tmp___29 ;
18304 void *tmp___30 ;
18305 void *tmp___31 ;
18306 long tmp___32 ;
18307 void *tmp___33 ;
18308 void *tmp___34 ;
18309 long tmp___35 ;
18310 void *tmp___36 ;
18311 void *tmp___37 ;
18312 long tmp___38 ;
18313 void *tmp___39 ;
18314 void *tmp___40 ;
18315 long tmp___41 ;
18316 void *tmp___42 ;
18317 void *tmp___43 ;
18318 long tmp___44 ;
18319 void *tmp___45 ;
18320 void *tmp___46 ;
18321 long tmp___47 ;
18322 void *tmp___48 ;
18323 void *tmp___49 ;
18324 long tmp___50 ;
18325 void *tmp___51 ;
18326 void *tmp___52 ;
18327 long tmp___53 ;
18328 void *tmp___54 ;
18329 void *tmp___55 ;
18330 long tmp___56 ;
18331 void *tmp___57 ;
18332 void *tmp___58 ;
18333 long tmp___59 ;
18334 void *tmp___60 ;
18335 void *tmp___61 ;
18336 long tmp___62 ;
18337 void *tmp___63 ;
18338 void *tmp___64 ;
18339 long tmp___65 ;
18340 void *tmp___66 ;
18341 void *tmp___67 ;
18342 long tmp___68 ;
18343 struct net_device const *__cil_tmp78 ;
18344 bool __cil_tmp79 ;
18345 long __cil_tmp80 ;
18346 u8 *__cil_tmp81 ;
18347 void const volatile *__cil_tmp82 ;
18348 void const volatile *__cil_tmp83 ;
18349 u32 *__cil_tmp84 ;
18350 u8 *__cil_tmp85 ;
18351 void const volatile *__cil_tmp86 ;
18352 void const volatile *__cil_tmp87 ;
18353 u32 *__cil_tmp88 ;
18354 u8 *__cil_tmp89 ;
18355 void const volatile *__cil_tmp90 ;
18356 void const volatile *__cil_tmp91 ;
18357 bool __cil_tmp92 ;
18358 long __cil_tmp93 ;
18359 u8 *__cil_tmp94 ;
18360 void const volatile *__cil_tmp95 ;
18361 void const volatile *__cil_tmp96 ;
18362 u32 *__cil_tmp97 ;
18363 u8 *__cil_tmp98 ;
18364 void const volatile *__cil_tmp99 ;
18365 void const volatile *__cil_tmp100 ;
18366 u32 *__cil_tmp101 ;
18367 u8 *__cil_tmp102 ;
18368 void const volatile *__cil_tmp103 ;
18369 void const volatile *__cil_tmp104 ;
18370 bool __cil_tmp105 ;
18371 long __cil_tmp106 ;
18372 u8 *__cil_tmp107 ;
18373 void const volatile *__cil_tmp108 ;
18374 void const volatile *__cil_tmp109 ;
18375 u32 *__cil_tmp110 ;
18376 u8 *__cil_tmp111 ;
18377 void const volatile *__cil_tmp112 ;
18378 void const volatile *__cil_tmp113 ;
18379 u32 *__cil_tmp114 ;
18380 u8 *__cil_tmp115 ;
18381 void const volatile *__cil_tmp116 ;
18382 void const volatile *__cil_tmp117 ;
18383 bool __cil_tmp118 ;
18384 long __cil_tmp119 ;
18385 u8 *__cil_tmp120 ;
18386 void const volatile *__cil_tmp121 ;
18387 void const volatile *__cil_tmp122 ;
18388 u32 *__cil_tmp123 ;
18389 u8 *__cil_tmp124 ;
18390 void const volatile *__cil_tmp125 ;
18391 void const volatile *__cil_tmp126 ;
18392 u32 *__cil_tmp127 ;
18393 u8 *__cil_tmp128 ;
18394 void const volatile *__cil_tmp129 ;
18395 void const volatile *__cil_tmp130 ;
18396 bool __cil_tmp131 ;
18397 long __cil_tmp132 ;
18398 u8 *__cil_tmp133 ;
18399 void const volatile *__cil_tmp134 ;
18400 void const volatile *__cil_tmp135 ;
18401 u32 *__cil_tmp136 ;
18402 u8 *__cil_tmp137 ;
18403 void const volatile *__cil_tmp138 ;
18404 void const volatile *__cil_tmp139 ;
18405 u32 *__cil_tmp140 ;
18406 u8 *__cil_tmp141 ;
18407 void const volatile *__cil_tmp142 ;
18408 void const volatile *__cil_tmp143 ;
18409 bool __cil_tmp144 ;
18410 long __cil_tmp145 ;
18411 u8 *__cil_tmp146 ;
18412 void const volatile *__cil_tmp147 ;
18413 void const volatile *__cil_tmp148 ;
18414 u32 *__cil_tmp149 ;
18415 u8 *__cil_tmp150 ;
18416 void const volatile *__cil_tmp151 ;
18417 void const volatile *__cil_tmp152 ;
18418 u32 *__cil_tmp153 ;
18419 u8 *__cil_tmp154 ;
18420 void const volatile *__cil_tmp155 ;
18421 void const volatile *__cil_tmp156 ;
18422 bool __cil_tmp157 ;
18423 long __cil_tmp158 ;
18424 u8 *__cil_tmp159 ;
18425 void const volatile *__cil_tmp160 ;
18426 void const volatile *__cil_tmp161 ;
18427 u32 *__cil_tmp162 ;
18428 u8 *__cil_tmp163 ;
18429 void const volatile *__cil_tmp164 ;
18430 void const volatile *__cil_tmp165 ;
18431 u32 *__cil_tmp166 ;
18432 u8 *__cil_tmp167 ;
18433 void const volatile *__cil_tmp168 ;
18434 void const volatile *__cil_tmp169 ;
18435 bool __cil_tmp170 ;
18436 long __cil_tmp171 ;
18437 u8 *__cil_tmp172 ;
18438 void const volatile *__cil_tmp173 ;
18439 void const volatile *__cil_tmp174 ;
18440 u32 *__cil_tmp175 ;
18441 u8 *__cil_tmp176 ;
18442 void const volatile *__cil_tmp177 ;
18443 void const volatile *__cil_tmp178 ;
18444 u32 *__cil_tmp179 ;
18445 u8 *__cil_tmp180 ;
18446 void const volatile *__cil_tmp181 ;
18447 void const volatile *__cil_tmp182 ;
18448 bool __cil_tmp183 ;
18449 long __cil_tmp184 ;
18450 u8 *__cil_tmp185 ;
18451 void const volatile *__cil_tmp186 ;
18452 void const volatile *__cil_tmp187 ;
18453 u32 *__cil_tmp188 ;
18454 u8 *__cil_tmp189 ;
18455 void const volatile *__cil_tmp190 ;
18456 void const volatile *__cil_tmp191 ;
18457 u32 *__cil_tmp192 ;
18458 u8 *__cil_tmp193 ;
18459 void const volatile *__cil_tmp194 ;
18460 void const volatile *__cil_tmp195 ;
18461 bool __cil_tmp196 ;
18462 long __cil_tmp197 ;
18463 u8 *__cil_tmp198 ;
18464 void const volatile *__cil_tmp199 ;
18465 void const volatile *__cil_tmp200 ;
18466 u32 *__cil_tmp201 ;
18467 u8 *__cil_tmp202 ;
18468 void const volatile *__cil_tmp203 ;
18469 void const volatile *__cil_tmp204 ;
18470 u32 *__cil_tmp205 ;
18471 u8 *__cil_tmp206 ;
18472 void const volatile *__cil_tmp207 ;
18473 void const volatile *__cil_tmp208 ;
18474 bool __cil_tmp209 ;
18475 long __cil_tmp210 ;
18476 u8 *__cil_tmp211 ;
18477 void const volatile *__cil_tmp212 ;
18478 void const volatile *__cil_tmp213 ;
18479 u32 *__cil_tmp214 ;
18480 u8 *__cil_tmp215 ;
18481 void const volatile *__cil_tmp216 ;
18482 void const volatile *__cil_tmp217 ;
18483 u32 *__cil_tmp218 ;
18484 u8 *__cil_tmp219 ;
18485 void const volatile *__cil_tmp220 ;
18486 void const volatile *__cil_tmp221 ;
18487 bool __cil_tmp222 ;
18488 long __cil_tmp223 ;
18489 u8 *__cil_tmp224 ;
18490 void const volatile *__cil_tmp225 ;
18491 void const volatile *__cil_tmp226 ;
18492 u32 *__cil_tmp227 ;
18493 u8 *__cil_tmp228 ;
18494 void const volatile *__cil_tmp229 ;
18495 void const volatile *__cil_tmp230 ;
18496 u32 *__cil_tmp231 ;
18497 u8 *__cil_tmp232 ;
18498 void const volatile *__cil_tmp233 ;
18499 void const volatile *__cil_tmp234 ;
18500 bool __cil_tmp235 ;
18501 long __cil_tmp236 ;
18502 u8 *__cil_tmp237 ;
18503 void const volatile *__cil_tmp238 ;
18504 void const volatile *__cil_tmp239 ;
18505 u32 *__cil_tmp240 ;
18506 u8 *__cil_tmp241 ;
18507 void const volatile *__cil_tmp242 ;
18508 void const volatile *__cil_tmp243 ;
18509 u32 *__cil_tmp244 ;
18510 u8 *__cil_tmp245 ;
18511 void const volatile *__cil_tmp246 ;
18512 void const volatile *__cil_tmp247 ;
18513 bool __cil_tmp248 ;
18514 long __cil_tmp249 ;
18515 u8 *__cil_tmp250 ;
18516 void const volatile *__cil_tmp251 ;
18517 void const volatile *__cil_tmp252 ;
18518 u32 *__cil_tmp253 ;
18519 u8 *__cil_tmp254 ;
18520 void const volatile *__cil_tmp255 ;
18521 void const volatile *__cil_tmp256 ;
18522 u32 *__cil_tmp257 ;
18523 u8 *__cil_tmp258 ;
18524 void const volatile *__cil_tmp259 ;
18525 void const volatile *__cil_tmp260 ;
18526 bool __cil_tmp261 ;
18527 long __cil_tmp262 ;
18528 u8 *__cil_tmp263 ;
18529 void const volatile *__cil_tmp264 ;
18530 void const volatile *__cil_tmp265 ;
18531 u32 *__cil_tmp266 ;
18532 u8 *__cil_tmp267 ;
18533 void const volatile *__cil_tmp268 ;
18534 void const volatile *__cil_tmp269 ;
18535 u32 *__cil_tmp270 ;
18536 u8 *__cil_tmp271 ;
18537 void const volatile *__cil_tmp272 ;
18538 void const volatile *__cil_tmp273 ;
18539 bool __cil_tmp274 ;
18540 long __cil_tmp275 ;
18541 u8 *__cil_tmp276 ;
18542 void const volatile *__cil_tmp277 ;
18543 void const volatile *__cil_tmp278 ;
18544 u32 *__cil_tmp279 ;
18545 u8 *__cil_tmp280 ;
18546 void const volatile *__cil_tmp281 ;
18547 void const volatile *__cil_tmp282 ;
18548 u32 *__cil_tmp283 ;
18549 u8 *__cil_tmp284 ;
18550 void const volatile *__cil_tmp285 ;
18551 void const volatile *__cil_tmp286 ;
18552 bool __cil_tmp287 ;
18553 long __cil_tmp288 ;
18554 u8 *__cil_tmp289 ;
18555 void const volatile *__cil_tmp290 ;
18556 void const volatile *__cil_tmp291 ;
18557 u32 *__cil_tmp292 ;
18558 u8 *__cil_tmp293 ;
18559 void const volatile *__cil_tmp294 ;
18560 void const volatile *__cil_tmp295 ;
18561 u32 *__cil_tmp296 ;
18562 u8 *__cil_tmp297 ;
18563 void const volatile *__cil_tmp298 ;
18564 void const volatile *__cil_tmp299 ;
18565 bool __cil_tmp300 ;
18566 long __cil_tmp301 ;
18567 u8 *__cil_tmp302 ;
18568 void const volatile *__cil_tmp303 ;
18569 void const volatile *__cil_tmp304 ;
18570 u32 *__cil_tmp305 ;
18571 u8 *__cil_tmp306 ;
18572 void const volatile *__cil_tmp307 ;
18573 void const volatile *__cil_tmp308 ;
18574 u32 *__cil_tmp309 ;
18575 u8 *__cil_tmp310 ;
18576 void const volatile *__cil_tmp311 ;
18577 void const volatile *__cil_tmp312 ;
18578 bool __cil_tmp313 ;
18579 long __cil_tmp314 ;
18580 u8 *__cil_tmp315 ;
18581 void const volatile *__cil_tmp316 ;
18582 void const volatile *__cil_tmp317 ;
18583 u32 *__cil_tmp318 ;
18584 u8 *__cil_tmp319 ;
18585 void const volatile *__cil_tmp320 ;
18586 void const volatile *__cil_tmp321 ;
18587 u32 *__cil_tmp322 ;
18588 u8 *__cil_tmp323 ;
18589 void const volatile *__cil_tmp324 ;
18590 void const volatile *__cil_tmp325 ;
18591 bool __cil_tmp326 ;
18592 long __cil_tmp327 ;
18593 u8 *__cil_tmp328 ;
18594 void const volatile *__cil_tmp329 ;
18595 void const volatile *__cil_tmp330 ;
18596 u32 *__cil_tmp331 ;
18597 u8 *__cil_tmp332 ;
18598 void const volatile *__cil_tmp333 ;
18599 void const volatile *__cil_tmp334 ;
18600 u32 *__cil_tmp335 ;
18601 u8 *__cil_tmp336 ;
18602 void const volatile *__cil_tmp337 ;
18603 void const volatile *__cil_tmp338 ;
18604 bool __cil_tmp339 ;
18605 long __cil_tmp340 ;
18606 u8 *__cil_tmp341 ;
18607 void const volatile *__cil_tmp342 ;
18608 void const volatile *__cil_tmp343 ;
18609 u32 *__cil_tmp344 ;
18610 u8 *__cil_tmp345 ;
18611 void const volatile *__cil_tmp346 ;
18612 void const volatile *__cil_tmp347 ;
18613 u32 *__cil_tmp348 ;
18614 u8 *__cil_tmp349 ;
18615 void const volatile *__cil_tmp350 ;
18616 void const volatile *__cil_tmp351 ;
18617 bool __cil_tmp352 ;
18618 long __cil_tmp353 ;
18619 u8 *__cil_tmp354 ;
18620 void const volatile *__cil_tmp355 ;
18621 void const volatile *__cil_tmp356 ;
18622 u32 *__cil_tmp357 ;
18623 u8 *__cil_tmp358 ;
18624 void const volatile *__cil_tmp359 ;
18625 void const volatile *__cil_tmp360 ;
18626 u32 *__cil_tmp361 ;
18627 u8 *__cil_tmp362 ;
18628 void const volatile *__cil_tmp363 ;
18629 void const volatile *__cil_tmp364 ;
18630 bool __cil_tmp365 ;
18631 long __cil_tmp366 ;
18632 u8 *__cil_tmp367 ;
18633 void const volatile *__cil_tmp368 ;
18634 void const volatile *__cil_tmp369 ;
18635 u32 *__cil_tmp370 ;
18636 u8 *__cil_tmp371 ;
18637 void const volatile *__cil_tmp372 ;
18638 void const volatile *__cil_tmp373 ;
18639 u32 *__cil_tmp374 ;
18640 u8 *__cil_tmp375 ;
18641 void const volatile *__cil_tmp376 ;
18642 void const volatile *__cil_tmp377 ;
18643 u16 __cil_tmp378 ;
18644 u32 *__cil_tmp379 ;
18645 u16 __cil_tmp380 ;
18646 u32 *__cil_tmp381 ;
18647
18648 {
18649 {
18650#line 145
18651 __cil_tmp78 = (struct net_device const *)netdev;
18652#line 145
18653 tmp = netdev_priv(__cil_tmp78);
18654#line 145
18655 adapter = (struct atl1c_adapter *)tmp;
18656#line 146
18657 hw = & adapter->hw;
18658#line 147
18659 regs_buff = (u32 *)p;
18660#line 150
18661 memset(p, 0, 300UL);
18662#line 152
18663 regs->version = 0U;
18664#line 153
18665 __cil_tmp79 = hw->hibernate;
18666#line 153
18667 __cil_tmp80 = (long )__cil_tmp79;
18668#line 153
18669 tmp___2 = __builtin_expect(__cil_tmp80, 0L);
18670 }
18671#line 153
18672 if (tmp___2 != 0L) {
18673 {
18674#line 153
18675 __cil_tmp81 = hw->hw_addr;
18676#line 153
18677 __cil_tmp82 = (void const volatile *)__cil_tmp81;
18678#line 153
18679 __cil_tmp83 = __cil_tmp82 + 108U;
18680#line 153
18681 readl(__cil_tmp83);
18682#line 153
18683 tmp___0 = p;
18684#line 153
18685 p = p + 1;
18686#line 153
18687 __cil_tmp84 = (u32 *)tmp___0;
18688#line 153
18689 __cil_tmp85 = hw->hw_addr;
18690#line 153
18691 __cil_tmp86 = (void const volatile *)__cil_tmp85;
18692#line 153
18693 __cil_tmp87 = __cil_tmp86 + 108U;
18694#line 153
18695 *__cil_tmp84 = readl(__cil_tmp87);
18696 }
18697 } else {
18698 {
18699#line 153
18700 tmp___1 = p;
18701#line 153
18702 p = p + 1;
18703#line 153
18704 __cil_tmp88 = (u32 *)tmp___1;
18705#line 153
18706 __cil_tmp89 = hw->hw_addr;
18707#line 153
18708 __cil_tmp90 = (void const volatile *)__cil_tmp89;
18709#line 153
18710 __cil_tmp91 = __cil_tmp90 + 108U;
18711#line 153
18712 *__cil_tmp88 = readl(__cil_tmp91);
18713 }
18714 }
18715 {
18716#line 154
18717 __cil_tmp92 = hw->hibernate;
18718#line 154
18719 __cil_tmp93 = (long )__cil_tmp92;
18720#line 154
18721 tmp___5 = __builtin_expect(__cil_tmp93, 0L);
18722 }
18723#line 154
18724 if (tmp___5 != 0L) {
18725 {
18726#line 154
18727 __cil_tmp94 = hw->hw_addr;
18728#line 154
18729 __cil_tmp95 = (void const volatile *)__cil_tmp94;
18730#line 154
18731 __cil_tmp96 = __cil_tmp95 + 4856U;
18732#line 154
18733 readl(__cil_tmp96);
18734#line 154
18735 tmp___3 = p;
18736#line 154
18737 p = p + 1;
18738#line 154
18739 __cil_tmp97 = (u32 *)tmp___3;
18740#line 154
18741 __cil_tmp98 = hw->hw_addr;
18742#line 154
18743 __cil_tmp99 = (void const volatile *)__cil_tmp98;
18744#line 154
18745 __cil_tmp100 = __cil_tmp99 + 4856U;
18746#line 154
18747 *__cil_tmp97 = readl(__cil_tmp100);
18748 }
18749 } else {
18750 {
18751#line 154
18752 tmp___4 = p;
18753#line 154
18754 p = p + 1;
18755#line 154
18756 __cil_tmp101 = (u32 *)tmp___4;
18757#line 154
18758 __cil_tmp102 = hw->hw_addr;
18759#line 154
18760 __cil_tmp103 = (void const volatile *)__cil_tmp102;
18761#line 154
18762 __cil_tmp104 = __cil_tmp103 + 4856U;
18763#line 154
18764 *__cil_tmp101 = readl(__cil_tmp104);
18765 }
18766 }
18767 {
18768#line 155
18769 __cil_tmp105 = hw->hibernate;
18770#line 155
18771 __cil_tmp106 = (long )__cil_tmp105;
18772#line 155
18773 tmp___8 = __builtin_expect(__cil_tmp106, 0L);
18774 }
18775#line 155
18776 if (tmp___8 != 0L) {
18777 {
18778#line 155
18779 __cil_tmp107 = hw->hw_addr;
18780#line 155
18781 __cil_tmp108 = (void const volatile *)__cil_tmp107;
18782#line 155
18783 __cil_tmp109 = __cil_tmp108 + 5272U;
18784#line 155
18785 readl(__cil_tmp109);
18786#line 155
18787 tmp___6 = p;
18788#line 155
18789 p = p + 1;
18790#line 155
18791 __cil_tmp110 = (u32 *)tmp___6;
18792#line 155
18793 __cil_tmp111 = hw->hw_addr;
18794#line 155
18795 __cil_tmp112 = (void const volatile *)__cil_tmp111;
18796#line 155
18797 __cil_tmp113 = __cil_tmp112 + 5272U;
18798#line 155
18799 *__cil_tmp110 = readl(__cil_tmp113);
18800 }
18801 } else {
18802 {
18803#line 155
18804 tmp___7 = p;
18805#line 155
18806 p = p + 1;
18807#line 155
18808 __cil_tmp114 = (u32 *)tmp___7;
18809#line 155
18810 __cil_tmp115 = hw->hw_addr;
18811#line 155
18812 __cil_tmp116 = (void const volatile *)__cil_tmp115;
18813#line 155
18814 __cil_tmp117 = __cil_tmp116 + 5272U;
18815#line 155
18816 *__cil_tmp114 = readl(__cil_tmp117);
18817 }
18818 }
18819 {
18820#line 156
18821 __cil_tmp118 = hw->hibernate;
18822#line 156
18823 __cil_tmp119 = (long )__cil_tmp118;
18824#line 156
18825 tmp___11 = __builtin_expect(__cil_tmp119, 0L);
18826 }
18827#line 156
18828 if (tmp___11 != 0L) {
18829 {
18830#line 156
18831 __cil_tmp120 = hw->hw_addr;
18832#line 156
18833 __cil_tmp121 = (void const volatile *)__cil_tmp120;
18834#line 156
18835 __cil_tmp122 = __cil_tmp121 + 536U;
18836#line 156
18837 readl(__cil_tmp122);
18838#line 156
18839 tmp___9 = p;
18840#line 156
18841 p = p + 1;
18842#line 156
18843 __cil_tmp123 = (u32 *)tmp___9;
18844#line 156
18845 __cil_tmp124 = hw->hw_addr;
18846#line 156
18847 __cil_tmp125 = (void const volatile *)__cil_tmp124;
18848#line 156
18849 __cil_tmp126 = __cil_tmp125 + 536U;
18850#line 156
18851 *__cil_tmp123 = readl(__cil_tmp126);
18852 }
18853 } else {
18854 {
18855#line 156
18856 tmp___10 = p;
18857#line 156
18858 p = p + 1;
18859#line 156
18860 __cil_tmp127 = (u32 *)tmp___10;
18861#line 156
18862 __cil_tmp128 = hw->hw_addr;
18863#line 156
18864 __cil_tmp129 = (void const volatile *)__cil_tmp128;
18865#line 156
18866 __cil_tmp130 = __cil_tmp129 + 536U;
18867#line 156
18868 *__cil_tmp127 = readl(__cil_tmp130);
18869 }
18870 }
18871 {
18872#line 157
18873 __cil_tmp131 = hw->hibernate;
18874#line 157
18875 __cil_tmp132 = (long )__cil_tmp131;
18876#line 157
18877 tmp___14 = __builtin_expect(__cil_tmp132, 0L);
18878 }
18879#line 157
18880 if (tmp___14 != 0L) {
18881 {
18882#line 157
18883 __cil_tmp133 = hw->hw_addr;
18884#line 157
18885 __cil_tmp134 = (void const volatile *)__cil_tmp133;
18886#line 157
18887 __cil_tmp135 = __cil_tmp134 + 540U;
18888#line 157
18889 readl(__cil_tmp135);
18890#line 157
18891 tmp___12 = p;
18892#line 157
18893 p = p + 1;
18894#line 157
18895 __cil_tmp136 = (u32 *)tmp___12;
18896#line 157
18897 __cil_tmp137 = hw->hw_addr;
18898#line 157
18899 __cil_tmp138 = (void const volatile *)__cil_tmp137;
18900#line 157
18901 __cil_tmp139 = __cil_tmp138 + 540U;
18902#line 157
18903 *__cil_tmp136 = readl(__cil_tmp139);
18904 }
18905 } else {
18906 {
18907#line 157
18908 tmp___13 = p;
18909#line 157
18910 p = p + 1;
18911#line 157
18912 __cil_tmp140 = (u32 *)tmp___13;
18913#line 157
18914 __cil_tmp141 = hw->hw_addr;
18915#line 157
18916 __cil_tmp142 = (void const volatile *)__cil_tmp141;
18917#line 157
18918 __cil_tmp143 = __cil_tmp142 + 540U;
18919#line 157
18920 *__cil_tmp140 = readl(__cil_tmp143);
18921 }
18922 }
18923 {
18924#line 158
18925 __cil_tmp144 = hw->hibernate;
18926#line 158
18927 __cil_tmp145 = (long )__cil_tmp144;
18928#line 158
18929 tmp___17 = __builtin_expect(__cil_tmp145, 0L);
18930 }
18931#line 158
18932 if (tmp___17 != 0L) {
18933 {
18934#line 158
18935 __cil_tmp146 = hw->hw_addr;
18936#line 158
18937 __cil_tmp147 = (void const volatile *)__cil_tmp146;
18938#line 158
18939 __cil_tmp148 = __cil_tmp147 + 5120U;
18940#line 158
18941 readl(__cil_tmp148);
18942#line 158
18943 tmp___15 = p;
18944#line 158
18945 p = p + 1;
18946#line 158
18947 __cil_tmp149 = (u32 *)tmp___15;
18948#line 158
18949 __cil_tmp150 = hw->hw_addr;
18950#line 158
18951 __cil_tmp151 = (void const volatile *)__cil_tmp150;
18952#line 158
18953 __cil_tmp152 = __cil_tmp151 + 5120U;
18954#line 158
18955 *__cil_tmp149 = readl(__cil_tmp152);
18956 }
18957 } else {
18958 {
18959#line 158
18960 tmp___16 = p;
18961#line 158
18962 p = p + 1;
18963#line 158
18964 __cil_tmp153 = (u32 *)tmp___16;
18965#line 158
18966 __cil_tmp154 = hw->hw_addr;
18967#line 158
18968 __cil_tmp155 = (void const volatile *)__cil_tmp154;
18969#line 158
18970 __cil_tmp156 = __cil_tmp155 + 5120U;
18971#line 158
18972 *__cil_tmp153 = readl(__cil_tmp156);
18973 }
18974 }
18975 {
18976#line 159
18977 __cil_tmp157 = hw->hibernate;
18978#line 159
18979 __cil_tmp158 = (long )__cil_tmp157;
18980#line 159
18981 tmp___20 = __builtin_expect(__cil_tmp158, 0L);
18982 }
18983#line 159
18984 if (tmp___20 != 0L) {
18985 {
18986#line 159
18987 __cil_tmp159 = hw->hw_addr;
18988#line 159
18989 __cil_tmp160 = (void const volatile *)__cil_tmp159;
18990#line 159
18991 __cil_tmp161 = __cil_tmp160 + 5124U;
18992#line 159
18993 readl(__cil_tmp161);
18994#line 159
18995 tmp___18 = p;
18996#line 159
18997 p = p + 1;
18998#line 159
18999 __cil_tmp162 = (u32 *)tmp___18;
19000#line 159
19001 __cil_tmp163 = hw->hw_addr;
19002#line 159
19003 __cil_tmp164 = (void const volatile *)__cil_tmp163;
19004#line 159
19005 __cil_tmp165 = __cil_tmp164 + 5124U;
19006#line 159
19007 *__cil_tmp162 = readl(__cil_tmp165);
19008 }
19009 } else {
19010 {
19011#line 159
19012 tmp___19 = p;
19013#line 159
19014 p = p + 1;
19015#line 159
19016 __cil_tmp166 = (u32 *)tmp___19;
19017#line 159
19018 __cil_tmp167 = hw->hw_addr;
19019#line 159
19020 __cil_tmp168 = (void const volatile *)__cil_tmp167;
19021#line 159
19022 __cil_tmp169 = __cil_tmp168 + 5124U;
19023#line 159
19024 *__cil_tmp166 = readl(__cil_tmp169);
19025 }
19026 }
19027 {
19028#line 160
19029 __cil_tmp170 = hw->hibernate;
19030#line 160
19031 __cil_tmp171 = (long )__cil_tmp170;
19032#line 160
19033 tmp___23 = __builtin_expect(__cil_tmp171, 0L);
19034 }
19035#line 160
19036 if (tmp___23 != 0L) {
19037 {
19038#line 160
19039 __cil_tmp172 = hw->hw_addr;
19040#line 160
19041 __cil_tmp173 = (void const volatile *)__cil_tmp172;
19042#line 160
19043 __cil_tmp174 = __cil_tmp173 + 5128U;
19044#line 160
19045 readl(__cil_tmp174);
19046#line 160
19047 tmp___21 = p;
19048#line 160
19049 p = p + 1;
19050#line 160
19051 __cil_tmp175 = (u32 *)tmp___21;
19052#line 160
19053 __cil_tmp176 = hw->hw_addr;
19054#line 160
19055 __cil_tmp177 = (void const volatile *)__cil_tmp176;
19056#line 160
19057 __cil_tmp178 = __cil_tmp177 + 5128U;
19058#line 160
19059 *__cil_tmp175 = readl(__cil_tmp178);
19060 }
19061 } else {
19062 {
19063#line 160
19064 tmp___22 = p;
19065#line 160
19066 p = p + 1;
19067#line 160
19068 __cil_tmp179 = (u32 *)tmp___22;
19069#line 160
19070 __cil_tmp180 = hw->hw_addr;
19071#line 160
19072 __cil_tmp181 = (void const volatile *)__cil_tmp180;
19073#line 160
19074 __cil_tmp182 = __cil_tmp181 + 5128U;
19075#line 160
19076 *__cil_tmp179 = readl(__cil_tmp182);
19077 }
19078 }
19079 {
19080#line 161
19081 __cil_tmp183 = hw->hibernate;
19082#line 161
19083 __cil_tmp184 = (long )__cil_tmp183;
19084#line 161
19085 tmp___26 = __builtin_expect(__cil_tmp184, 0L);
19086 }
19087#line 161
19088 if (tmp___26 != 0L) {
19089 {
19090#line 161
19091 __cil_tmp185 = hw->hw_addr;
19092#line 161
19093 __cil_tmp186 = (void const volatile *)__cil_tmp185;
19094#line 161
19095 __cil_tmp187 = __cil_tmp186 + 5132U;
19096#line 161
19097 readl(__cil_tmp187);
19098#line 161
19099 tmp___24 = p;
19100#line 161
19101 p = p + 1;
19102#line 161
19103 __cil_tmp188 = (u32 *)tmp___24;
19104#line 161
19105 __cil_tmp189 = hw->hw_addr;
19106#line 161
19107 __cil_tmp190 = (void const volatile *)__cil_tmp189;
19108#line 161
19109 __cil_tmp191 = __cil_tmp190 + 5132U;
19110#line 161
19111 *__cil_tmp188 = readl(__cil_tmp191);
19112 }
19113 } else {
19114 {
19115#line 161
19116 tmp___25 = p;
19117#line 161
19118 p = p + 1;
19119#line 161
19120 __cil_tmp192 = (u32 *)tmp___25;
19121#line 161
19122 __cil_tmp193 = hw->hw_addr;
19123#line 161
19124 __cil_tmp194 = (void const volatile *)__cil_tmp193;
19125#line 161
19126 __cil_tmp195 = __cil_tmp194 + 5132U;
19127#line 161
19128 *__cil_tmp192 = readl(__cil_tmp195);
19129 }
19130 }
19131 {
19132#line 162
19133 __cil_tmp196 = hw->hibernate;
19134#line 162
19135 __cil_tmp197 = (long )__cil_tmp196;
19136#line 162
19137 tmp___29 = __builtin_expect(__cil_tmp197, 0L);
19138 }
19139#line 162
19140 if (tmp___29 != 0L) {
19141 {
19142#line 162
19143 __cil_tmp198 = hw->hw_addr;
19144#line 162
19145 __cil_tmp199 = (void const volatile *)__cil_tmp198;
19146#line 162
19147 __cil_tmp200 = __cil_tmp199 + 104U;
19148#line 162
19149 readl(__cil_tmp200);
19150#line 162
19151 tmp___27 = p;
19152#line 162
19153 p = p + 1;
19154#line 162
19155 __cil_tmp201 = (u32 *)tmp___27;
19156#line 162
19157 __cil_tmp202 = hw->hw_addr;
19158#line 162
19159 __cil_tmp203 = (void const volatile *)__cil_tmp202;
19160#line 162
19161 __cil_tmp204 = __cil_tmp203 + 104U;
19162#line 162
19163 *__cil_tmp201 = readl(__cil_tmp204);
19164 }
19165 } else {
19166 {
19167#line 162
19168 tmp___28 = p;
19169#line 162
19170 p = p + 1;
19171#line 162
19172 __cil_tmp205 = (u32 *)tmp___28;
19173#line 162
19174 __cil_tmp206 = hw->hw_addr;
19175#line 162
19176 __cil_tmp207 = (void const volatile *)__cil_tmp206;
19177#line 162
19178 __cil_tmp208 = __cil_tmp207 + 104U;
19179#line 162
19180 *__cil_tmp205 = readl(__cil_tmp208);
19181 }
19182 }
19183 {
19184#line 163
19185 __cil_tmp209 = hw->hibernate;
19186#line 163
19187 __cil_tmp210 = (long )__cil_tmp209;
19188#line 163
19189 tmp___32 = __builtin_expect(__cil_tmp210, 0L);
19190 }
19191#line 163
19192 if (tmp___32 != 0L) {
19193 {
19194#line 163
19195 __cil_tmp211 = hw->hw_addr;
19196#line 163
19197 __cil_tmp212 = (void const volatile *)__cil_tmp211;
19198#line 163
19199 __cil_tmp213 = __cil_tmp212 + 5136U;
19200#line 163
19201 readl(__cil_tmp213);
19202#line 163
19203 tmp___30 = p;
19204#line 163
19205 p = p + 1;
19206#line 163
19207 __cil_tmp214 = (u32 *)tmp___30;
19208#line 163
19209 __cil_tmp215 = hw->hw_addr;
19210#line 163
19211 __cil_tmp216 = (void const volatile *)__cil_tmp215;
19212#line 163
19213 __cil_tmp217 = __cil_tmp216 + 5136U;
19214#line 163
19215 *__cil_tmp214 = readl(__cil_tmp217);
19216 }
19217 } else {
19218 {
19219#line 163
19220 tmp___31 = p;
19221#line 163
19222 p = p + 1;
19223#line 163
19224 __cil_tmp218 = (u32 *)tmp___31;
19225#line 163
19226 __cil_tmp219 = hw->hw_addr;
19227#line 163
19228 __cil_tmp220 = (void const volatile *)__cil_tmp219;
19229#line 163
19230 __cil_tmp221 = __cil_tmp220 + 5136U;
19231#line 163
19232 *__cil_tmp218 = readl(__cil_tmp221);
19233 }
19234 }
19235 {
19236#line 164
19237 __cil_tmp222 = hw->hibernate;
19238#line 164
19239 __cil_tmp223 = (long )__cil_tmp222;
19240#line 164
19241 tmp___35 = __builtin_expect(__cil_tmp223, 0L);
19242 }
19243#line 164
19244 if (tmp___35 != 0L) {
19245 {
19246#line 164
19247 __cil_tmp224 = hw->hw_addr;
19248#line 164
19249 __cil_tmp225 = (void const volatile *)__cil_tmp224;
19250#line 164
19251 __cil_tmp226 = __cil_tmp225 + 5140U;
19252#line 164
19253 readl(__cil_tmp226);
19254#line 164
19255 tmp___33 = p;
19256#line 164
19257 p = p + 1;
19258#line 164
19259 __cil_tmp227 = (u32 *)tmp___33;
19260#line 164
19261 __cil_tmp228 = hw->hw_addr;
19262#line 164
19263 __cil_tmp229 = (void const volatile *)__cil_tmp228;
19264#line 164
19265 __cil_tmp230 = __cil_tmp229 + 5140U;
19266#line 164
19267 *__cil_tmp227 = readl(__cil_tmp230);
19268 }
19269 } else {
19270 {
19271#line 164
19272 tmp___34 = p;
19273#line 164
19274 p = p + 1;
19275#line 164
19276 __cil_tmp231 = (u32 *)tmp___34;
19277#line 164
19278 __cil_tmp232 = hw->hw_addr;
19279#line 164
19280 __cil_tmp233 = (void const volatile *)__cil_tmp232;
19281#line 164
19282 __cil_tmp234 = __cil_tmp233 + 5140U;
19283#line 164
19284 *__cil_tmp231 = readl(__cil_tmp234);
19285 }
19286 }
19287 {
19288#line 165
19289 __cil_tmp235 = hw->hibernate;
19290#line 165
19291 __cil_tmp236 = (long )__cil_tmp235;
19292#line 165
19293 tmp___38 = __builtin_expect(__cil_tmp236, 0L);
19294 }
19295#line 165
19296 if (tmp___38 != 0L) {
19297 {
19298#line 165
19299 __cil_tmp237 = hw->hw_addr;
19300#line 165
19301 __cil_tmp238 = (void const volatile *)__cil_tmp237;
19302#line 165
19303 __cil_tmp239 = __cil_tmp238 + 5156U;
19304#line 165
19305 readl(__cil_tmp239);
19306#line 165
19307 tmp___36 = p;
19308#line 165
19309 p = p + 1;
19310#line 165
19311 __cil_tmp240 = (u32 *)tmp___36;
19312#line 165
19313 __cil_tmp241 = hw->hw_addr;
19314#line 165
19315 __cil_tmp242 = (void const volatile *)__cil_tmp241;
19316#line 165
19317 __cil_tmp243 = __cil_tmp242 + 5156U;
19318#line 165
19319 *__cil_tmp240 = readl(__cil_tmp243);
19320 }
19321 } else {
19322 {
19323#line 165
19324 tmp___37 = p;
19325#line 165
19326 p = p + 1;
19327#line 165
19328 __cil_tmp244 = (u32 *)tmp___37;
19329#line 165
19330 __cil_tmp245 = hw->hw_addr;
19331#line 165
19332 __cil_tmp246 = (void const volatile *)__cil_tmp245;
19333#line 165
19334 __cil_tmp247 = __cil_tmp246 + 5156U;
19335#line 165
19336 *__cil_tmp244 = readl(__cil_tmp247);
19337 }
19338 }
19339 {
19340#line 166
19341 __cil_tmp248 = hw->hibernate;
19342#line 166
19343 __cil_tmp249 = (long )__cil_tmp248;
19344#line 166
19345 tmp___41 = __builtin_expect(__cil_tmp249, 0L);
19346 }
19347#line 166
19348 if (tmp___41 != 0L) {
19349 {
19350#line 166
19351 __cil_tmp250 = hw->hw_addr;
19352#line 166
19353 __cil_tmp251 = (void const volatile *)__cil_tmp250;
19354#line 166
19355 __cil_tmp252 = __cil_tmp251 + 5248U;
19356#line 166
19357 readl(__cil_tmp252);
19358#line 166
19359 tmp___39 = p;
19360#line 166
19361 p = p + 1;
19362#line 166
19363 __cil_tmp253 = (u32 *)tmp___39;
19364#line 166
19365 __cil_tmp254 = hw->hw_addr;
19366#line 166
19367 __cil_tmp255 = (void const volatile *)__cil_tmp254;
19368#line 166
19369 __cil_tmp256 = __cil_tmp255 + 5248U;
19370#line 166
19371 *__cil_tmp253 = readl(__cil_tmp256);
19372 }
19373 } else {
19374 {
19375#line 166
19376 tmp___40 = p;
19377#line 166
19378 p = p + 1;
19379#line 166
19380 __cil_tmp257 = (u32 *)tmp___40;
19381#line 166
19382 __cil_tmp258 = hw->hw_addr;
19383#line 166
19384 __cil_tmp259 = (void const volatile *)__cil_tmp258;
19385#line 166
19386 __cil_tmp260 = __cil_tmp259 + 5248U;
19387#line 166
19388 *__cil_tmp257 = readl(__cil_tmp260);
19389 }
19390 }
19391 {
19392#line 167
19393 __cil_tmp261 = hw->hibernate;
19394#line 167
19395 __cil_tmp262 = (long )__cil_tmp261;
19396#line 167
19397 tmp___44 = __builtin_expect(__cil_tmp262, 0L);
19398 }
19399#line 167
19400 if (tmp___44 != 0L) {
19401 {
19402#line 167
19403 __cil_tmp263 = hw->hw_addr;
19404#line 167
19405 __cil_tmp264 = (void const volatile *)__cil_tmp263;
19406#line 167
19407 __cil_tmp265 = __cil_tmp264 + 5252U;
19408#line 167
19409 readl(__cil_tmp265);
19410#line 167
19411 tmp___42 = p;
19412#line 167
19413 p = p + 1;
19414#line 167
19415 __cil_tmp266 = (u32 *)tmp___42;
19416#line 167
19417 __cil_tmp267 = hw->hw_addr;
19418#line 167
19419 __cil_tmp268 = (void const volatile *)__cil_tmp267;
19420#line 167
19421 __cil_tmp269 = __cil_tmp268 + 5252U;
19422#line 167
19423 *__cil_tmp266 = readl(__cil_tmp269);
19424 }
19425 } else {
19426 {
19427#line 167
19428 tmp___43 = p;
19429#line 167
19430 p = p + 1;
19431#line 167
19432 __cil_tmp270 = (u32 *)tmp___43;
19433#line 167
19434 __cil_tmp271 = hw->hw_addr;
19435#line 167
19436 __cil_tmp272 = (void const volatile *)__cil_tmp271;
19437#line 167
19438 __cil_tmp273 = __cil_tmp272 + 5252U;
19439#line 167
19440 *__cil_tmp270 = readl(__cil_tmp273);
19441 }
19442 }
19443 {
19444#line 168
19445 __cil_tmp274 = hw->hibernate;
19446#line 168
19447 __cil_tmp275 = (long )__cil_tmp274;
19448#line 168
19449 tmp___47 = __builtin_expect(__cil_tmp275, 0L);
19450 }
19451#line 168
19452 if (tmp___47 != 0L) {
19453 {
19454#line 168
19455 __cil_tmp276 = hw->hw_addr;
19456#line 168
19457 __cil_tmp277 = (void const volatile *)__cil_tmp276;
19458#line 168
19459 __cil_tmp278 = __cil_tmp277 + 5256U;
19460#line 168
19461 readl(__cil_tmp278);
19462#line 168
19463 tmp___45 = p;
19464#line 168
19465 p = p + 1;
19466#line 168
19467 __cil_tmp279 = (u32 *)tmp___45;
19468#line 168
19469 __cil_tmp280 = hw->hw_addr;
19470#line 168
19471 __cil_tmp281 = (void const volatile *)__cil_tmp280;
19472#line 168
19473 __cil_tmp282 = __cil_tmp281 + 5256U;
19474#line 168
19475 *__cil_tmp279 = readl(__cil_tmp282);
19476 }
19477 } else {
19478 {
19479#line 168
19480 tmp___46 = p;
19481#line 168
19482 p = p + 1;
19483#line 168
19484 __cil_tmp283 = (u32 *)tmp___46;
19485#line 168
19486 __cil_tmp284 = hw->hw_addr;
19487#line 168
19488 __cil_tmp285 = (void const volatile *)__cil_tmp284;
19489#line 168
19490 __cil_tmp286 = __cil_tmp285 + 5256U;
19491#line 168
19492 *__cil_tmp283 = readl(__cil_tmp286);
19493 }
19494 }
19495 {
19496#line 169
19497 __cil_tmp287 = hw->hibernate;
19498#line 169
19499 __cil_tmp288 = (long )__cil_tmp287;
19500#line 169
19501 tmp___50 = __builtin_expect(__cil_tmp288, 0L);
19502 }
19503#line 169
19504 if (tmp___50 != 0L) {
19505 {
19506#line 169
19507 __cil_tmp289 = hw->hw_addr;
19508#line 169
19509 __cil_tmp290 = (void const volatile *)__cil_tmp289;
19510#line 169
19511 __cil_tmp291 = __cil_tmp290 + 5260U;
19512#line 169
19513 readl(__cil_tmp291);
19514#line 169
19515 tmp___48 = p;
19516#line 169
19517 p = p + 1;
19518#line 169
19519 __cil_tmp292 = (u32 *)tmp___48;
19520#line 169
19521 __cil_tmp293 = hw->hw_addr;
19522#line 169
19523 __cil_tmp294 = (void const volatile *)__cil_tmp293;
19524#line 169
19525 __cil_tmp295 = __cil_tmp294 + 5260U;
19526#line 169
19527 *__cil_tmp292 = readl(__cil_tmp295);
19528 }
19529 } else {
19530 {
19531#line 169
19532 tmp___49 = p;
19533#line 169
19534 p = p + 1;
19535#line 169
19536 __cil_tmp296 = (u32 *)tmp___49;
19537#line 169
19538 __cil_tmp297 = hw->hw_addr;
19539#line 169
19540 __cil_tmp298 = (void const volatile *)__cil_tmp297;
19541#line 169
19542 __cil_tmp299 = __cil_tmp298 + 5260U;
19543#line 169
19544 *__cil_tmp296 = readl(__cil_tmp299);
19545 }
19546 }
19547 {
19548#line 170
19549 __cil_tmp300 = hw->hibernate;
19550#line 170
19551 __cil_tmp301 = (long )__cil_tmp300;
19552#line 170
19553 tmp___53 = __builtin_expect(__cil_tmp301, 0L);
19554 }
19555#line 170
19556 if (tmp___53 != 0L) {
19557 {
19558#line 170
19559 __cil_tmp302 = hw->hw_addr;
19560#line 170
19561 __cil_tmp303 = (void const volatile *)__cil_tmp302;
19562#line 170
19563 __cil_tmp304 = __cil_tmp303 + 5264U;
19564#line 170
19565 readl(__cil_tmp304);
19566#line 170
19567 tmp___51 = p;
19568#line 170
19569 p = p + 1;
19570#line 170
19571 __cil_tmp305 = (u32 *)tmp___51;
19572#line 170
19573 __cil_tmp306 = hw->hw_addr;
19574#line 170
19575 __cil_tmp307 = (void const volatile *)__cil_tmp306;
19576#line 170
19577 __cil_tmp308 = __cil_tmp307 + 5264U;
19578#line 170
19579 *__cil_tmp305 = readl(__cil_tmp308);
19580 }
19581 } else {
19582 {
19583#line 170
19584 tmp___52 = p;
19585#line 170
19586 p = p + 1;
19587#line 170
19588 __cil_tmp309 = (u32 *)tmp___52;
19589#line 170
19590 __cil_tmp310 = hw->hw_addr;
19591#line 170
19592 __cil_tmp311 = (void const volatile *)__cil_tmp310;
19593#line 170
19594 __cil_tmp312 = __cil_tmp311 + 5264U;
19595#line 170
19596 *__cil_tmp309 = readl(__cil_tmp312);
19597 }
19598 }
19599 {
19600#line 171
19601 __cil_tmp313 = hw->hibernate;
19602#line 171
19603 __cil_tmp314 = (long )__cil_tmp313;
19604#line 171
19605 tmp___56 = __builtin_expect(__cil_tmp314, 0L);
19606 }
19607#line 171
19608 if (tmp___56 != 0L) {
19609 {
19610#line 171
19611 __cil_tmp315 = hw->hw_addr;
19612#line 171
19613 __cil_tmp316 = (void const volatile *)__cil_tmp315;
19614#line 171
19615 __cil_tmp317 = __cil_tmp316 + 5268U;
19616#line 171
19617 readl(__cil_tmp317);
19618#line 171
19619 tmp___54 = p;
19620#line 171
19621 p = p + 1;
19622#line 171
19623 __cil_tmp318 = (u32 *)tmp___54;
19624#line 171
19625 __cil_tmp319 = hw->hw_addr;
19626#line 171
19627 __cil_tmp320 = (void const volatile *)__cil_tmp319;
19628#line 171
19629 __cil_tmp321 = __cil_tmp320 + 5268U;
19630#line 171
19631 *__cil_tmp318 = readl(__cil_tmp321);
19632 }
19633 } else {
19634 {
19635#line 171
19636 tmp___55 = p;
19637#line 171
19638 p = p + 1;
19639#line 171
19640 __cil_tmp322 = (u32 *)tmp___55;
19641#line 171
19642 __cil_tmp323 = hw->hw_addr;
19643#line 171
19644 __cil_tmp324 = (void const volatile *)__cil_tmp323;
19645#line 171
19646 __cil_tmp325 = __cil_tmp324 + 5268U;
19647#line 171
19648 *__cil_tmp322 = readl(__cil_tmp325);
19649 }
19650 }
19651 {
19652#line 172
19653 __cil_tmp326 = hw->hibernate;
19654#line 172
19655 __cil_tmp327 = (long )__cil_tmp326;
19656#line 172
19657 tmp___59 = __builtin_expect(__cil_tmp327, 0L);
19658 }
19659#line 172
19660 if (tmp___59 != 0L) {
19661 {
19662#line 172
19663 __cil_tmp328 = hw->hw_addr;
19664#line 172
19665 __cil_tmp329 = (void const volatile *)__cil_tmp328;
19666#line 172
19667 __cil_tmp330 = __cil_tmp329 + 5536U;
19668#line 172
19669 readl(__cil_tmp330);
19670#line 172
19671 tmp___57 = p;
19672#line 172
19673 p = p + 1;
19674#line 172
19675 __cil_tmp331 = (u32 *)tmp___57;
19676#line 172
19677 __cil_tmp332 = hw->hw_addr;
19678#line 172
19679 __cil_tmp333 = (void const volatile *)__cil_tmp332;
19680#line 172
19681 __cil_tmp334 = __cil_tmp333 + 5536U;
19682#line 172
19683 *__cil_tmp331 = readl(__cil_tmp334);
19684 }
19685 } else {
19686 {
19687#line 172
19688 tmp___58 = p;
19689#line 172
19690 p = p + 1;
19691#line 172
19692 __cil_tmp335 = (u32 *)tmp___58;
19693#line 172
19694 __cil_tmp336 = hw->hw_addr;
19695#line 172
19696 __cil_tmp337 = (void const volatile *)__cil_tmp336;
19697#line 172
19698 __cil_tmp338 = __cil_tmp337 + 5536U;
19699#line 172
19700 *__cil_tmp335 = readl(__cil_tmp338);
19701 }
19702 }
19703 {
19704#line 173
19705 __cil_tmp339 = hw->hibernate;
19706#line 173
19707 __cil_tmp340 = (long )__cil_tmp339;
19708#line 173
19709 tmp___62 = __builtin_expect(__cil_tmp340, 0L);
19710 }
19711#line 173
19712 if (tmp___62 != 0L) {
19713 {
19714#line 173
19715 __cil_tmp341 = hw->hw_addr;
19716#line 173
19717 __cil_tmp342 = (void const volatile *)__cil_tmp341;
19718#line 173
19719 __cil_tmp343 = __cil_tmp342 + 5520U;
19720#line 173
19721 readl(__cil_tmp343);
19722#line 173
19723 tmp___60 = p;
19724#line 173
19725 p = p + 1;
19726#line 173
19727 __cil_tmp344 = (u32 *)tmp___60;
19728#line 173
19729 __cil_tmp345 = hw->hw_addr;
19730#line 173
19731 __cil_tmp346 = (void const volatile *)__cil_tmp345;
19732#line 173
19733 __cil_tmp347 = __cil_tmp346 + 5520U;
19734#line 173
19735 *__cil_tmp344 = readl(__cil_tmp347);
19736 }
19737 } else {
19738 {
19739#line 173
19740 tmp___61 = p;
19741#line 173
19742 p = p + 1;
19743#line 173
19744 __cil_tmp348 = (u32 *)tmp___61;
19745#line 173
19746 __cil_tmp349 = hw->hw_addr;
19747#line 173
19748 __cil_tmp350 = (void const volatile *)__cil_tmp349;
19749#line 173
19750 __cil_tmp351 = __cil_tmp350 + 5520U;
19751#line 173
19752 *__cil_tmp348 = readl(__cil_tmp351);
19753 }
19754 }
19755 {
19756#line 174
19757 __cil_tmp352 = hw->hibernate;
19758#line 174
19759 __cil_tmp353 = (long )__cil_tmp352;
19760#line 174
19761 tmp___65 = __builtin_expect(__cil_tmp353, 0L);
19762 }
19763#line 174
19764 if (tmp___65 != 0L) {
19765 {
19766#line 174
19767 __cil_tmp354 = hw->hw_addr;
19768#line 174
19769 __cil_tmp355 = (void const volatile *)__cil_tmp354;
19770#line 174
19771 __cil_tmp356 = __cil_tmp355 + 5276U;
19772#line 174
19773 readl(__cil_tmp356);
19774#line 174
19775 tmp___63 = p;
19776#line 174
19777 p = p + 1;
19778#line 174
19779 __cil_tmp357 = (u32 *)tmp___63;
19780#line 174
19781 __cil_tmp358 = hw->hw_addr;
19782#line 174
19783 __cil_tmp359 = (void const volatile *)__cil_tmp358;
19784#line 174
19785 __cil_tmp360 = __cil_tmp359 + 5276U;
19786#line 174
19787 *__cil_tmp357 = readl(__cil_tmp360);
19788 }
19789 } else {
19790 {
19791#line 174
19792 tmp___64 = p;
19793#line 174
19794 p = p + 1;
19795#line 174
19796 __cil_tmp361 = (u32 *)tmp___64;
19797#line 174
19798 __cil_tmp362 = hw->hw_addr;
19799#line 174
19800 __cil_tmp363 = (void const volatile *)__cil_tmp362;
19801#line 174
19802 __cil_tmp364 = __cil_tmp363 + 5276U;
19803#line 174
19804 *__cil_tmp361 = readl(__cil_tmp364);
19805 }
19806 }
19807 {
19808#line 175
19809 __cil_tmp365 = hw->hibernate;
19810#line 175
19811 __cil_tmp366 = (long )__cil_tmp365;
19812#line 175
19813 tmp___68 = __builtin_expect(__cil_tmp366, 0L);
19814 }
19815#line 175
19816 if (tmp___68 != 0L) {
19817 {
19818#line 175
19819 __cil_tmp367 = hw->hw_addr;
19820#line 175
19821 __cil_tmp368 = (void const volatile *)__cil_tmp367;
19822#line 175
19823 __cil_tmp369 = __cil_tmp368 + 5280U;
19824#line 175
19825 readl(__cil_tmp369);
19826#line 175
19827 tmp___66 = p;
19828#line 175
19829 p = p + 1;
19830#line 175
19831 __cil_tmp370 = (u32 *)tmp___66;
19832#line 175
19833 __cil_tmp371 = hw->hw_addr;
19834#line 175
19835 __cil_tmp372 = (void const volatile *)__cil_tmp371;
19836#line 175
19837 __cil_tmp373 = __cil_tmp372 + 5280U;
19838#line 175
19839 *__cil_tmp370 = readl(__cil_tmp373);
19840 }
19841 } else {
19842 {
19843#line 175
19844 tmp___67 = p;
19845#line 175
19846 p = p + 1;
19847#line 175
19848 __cil_tmp374 = (u32 *)tmp___67;
19849#line 175
19850 __cil_tmp375 = hw->hw_addr;
19851#line 175
19852 __cil_tmp376 = (void const volatile *)__cil_tmp375;
19853#line 175
19854 __cil_tmp377 = __cil_tmp376 + 5280U;
19855#line 175
19856 *__cil_tmp374 = readl(__cil_tmp377);
19857 }
19858 }
19859 {
19860#line 177
19861 __cil_tmp378 = (u16 )0;
19862#line 177
19863 atl1c_read_phy_reg(hw, __cil_tmp378, & phy_data);
19864#line 178
19865 __cil_tmp379 = regs_buff + 73UL;
19866#line 178
19867 *__cil_tmp379 = (unsigned int )phy_data;
19868#line 179
19869 __cil_tmp380 = (u16 )1;
19870#line 179
19871 atl1c_read_phy_reg(hw, __cil_tmp380, & phy_data);
19872#line 180
19873 __cil_tmp381 = regs_buff + 74UL;
19874#line 180
19875 *__cil_tmp381 = (unsigned int )phy_data;
19876 }
19877#line 181
19878 return;
19879}
19880}
19881#line 183 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
19882static int atl1c_get_eeprom_len(struct net_device *netdev )
19883{ struct atl1c_adapter *adapter ;
19884 void *tmp ;
19885 int tmp___0 ;
19886 struct net_device const *__cil_tmp5 ;
19887 struct atl1c_hw *__cil_tmp6 ;
19888
19889 {
19890 {
19891#line 185
19892 __cil_tmp5 = (struct net_device const *)netdev;
19893#line 185
19894 tmp = netdev_priv(__cil_tmp5);
19895#line 185
19896 adapter = (struct atl1c_adapter *)tmp;
19897#line 187
19898 __cil_tmp6 = & adapter->hw;
19899#line 187
19900 tmp___0 = atl1c_check_eeprom_exist(__cil_tmp6);
19901 }
19902#line 187
19903 if (tmp___0 != 0) {
19904#line 188
19905 return (512);
19906 } else {
19907#line 190
19908 return (0);
19909 }
19910}
19911}
19912#line 193 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
19913static int atl1c_get_eeprom(struct net_device *netdev , struct ethtool_eeprom *eeprom ,
19914 u8 *bytes )
19915{ struct atl1c_adapter *adapter ;
19916 void *tmp ;
19917 struct atl1c_hw *hw ;
19918 u32 *eeprom_buff ;
19919 int first_dword ;
19920 int last_dword ;
19921 int ret_val ;
19922 int i ;
19923 int tmp___0 ;
19924 void *tmp___1 ;
19925 bool tmp___2 ;
19926 int tmp___3 ;
19927 size_t __len ;
19928 void *__ret ;
19929 struct net_device const *__cil_tmp18 ;
19930 __u32 __cil_tmp19 ;
19931 struct pci_dev *__cil_tmp20 ;
19932 unsigned short __cil_tmp21 ;
19933 int __cil_tmp22 ;
19934 int __cil_tmp23 ;
19935 struct pci_dev *__cil_tmp24 ;
19936 unsigned short __cil_tmp25 ;
19937 int __cil_tmp26 ;
19938 int __cil_tmp27 ;
19939 __u32 __cil_tmp28 ;
19940 __u32 __cil_tmp29 ;
19941 __u32 __cil_tmp30 ;
19942 __u32 __cil_tmp31 ;
19943 __u32 __cil_tmp32 ;
19944 __u32 __cil_tmp33 ;
19945 __u32 __cil_tmp34 ;
19946 int __cil_tmp35 ;
19947 int __cil_tmp36 ;
19948 unsigned long __cil_tmp37 ;
19949 unsigned long __cil_tmp38 ;
19950 u32 *__cil_tmp39 ;
19951 unsigned long __cil_tmp40 ;
19952 unsigned long __cil_tmp41 ;
19953 int __cil_tmp42 ;
19954 u32 __cil_tmp43 ;
19955 int __cil_tmp44 ;
19956 unsigned long __cil_tmp45 ;
19957 u32 *__cil_tmp46 ;
19958 void const *__cil_tmp47 ;
19959 __u32 __cil_tmp48 ;
19960 void *__cil_tmp49 ;
19961 __u32 __cil_tmp50 ;
19962 unsigned long __cil_tmp51 ;
19963 unsigned long __cil_tmp52 ;
19964 void const *__cil_tmp53 ;
19965 void const *__cil_tmp54 ;
19966 void const *__cil_tmp55 ;
19967
19968 {
19969 {
19970#line 196
19971 __cil_tmp18 = (struct net_device const *)netdev;
19972#line 196
19973 tmp = netdev_priv(__cil_tmp18);
19974#line 196
19975 adapter = (struct atl1c_adapter *)tmp;
19976#line 197
19977 hw = & adapter->hw;
19978#line 200
19979 ret_val = 0;
19980 }
19981 {
19982#line 203
19983 __cil_tmp19 = eeprom->len;
19984#line 203
19985 if (__cil_tmp19 == 0U) {
19986#line 204
19987 return (-22);
19988 } else {
19989
19990 }
19991 }
19992 {
19993#line 206
19994 tmp___0 = atl1c_check_eeprom_exist(hw);
19995 }
19996#line 206
19997 if (tmp___0 == 0) {
19998#line 207
19999 return (-22);
20000 } else {
20001
20002 }
20003 {
20004#line 209
20005 __cil_tmp20 = adapter->pdev;
20006#line 209
20007 __cil_tmp21 = __cil_tmp20->device;
20008#line 209
20009 __cil_tmp22 = (int )__cil_tmp21;
20010#line 209
20011 __cil_tmp23 = __cil_tmp22 << 16;
20012#line 209
20013 __cil_tmp24 = adapter->pdev;
20014#line 209
20015 __cil_tmp25 = __cil_tmp24->vendor;
20016#line 209
20017 __cil_tmp26 = (int )__cil_tmp25;
20018#line 209
20019 __cil_tmp27 = __cil_tmp26 | __cil_tmp23;
20020#line 209
20021 eeprom->magic = (__u32 )__cil_tmp27;
20022#line 212
20023 __cil_tmp28 = eeprom->offset;
20024#line 212
20025 __cil_tmp29 = __cil_tmp28 >> 2;
20026#line 212
20027 first_dword = (int )__cil_tmp29;
20028#line 213
20029 __cil_tmp30 = eeprom->len;
20030#line 213
20031 __cil_tmp31 = eeprom->offset;
20032#line 213
20033 __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
20034#line 213
20035 __cil_tmp33 = __cil_tmp32 - 1U;
20036#line 213
20037 __cil_tmp34 = __cil_tmp33 >> 2;
20038#line 213
20039 last_dword = (int )__cil_tmp34;
20040#line 215
20041 __cil_tmp35 = last_dword - first_dword;
20042#line 215
20043 __cil_tmp36 = __cil_tmp35 + 1;
20044#line 215
20045 __cil_tmp37 = (unsigned long )__cil_tmp36;
20046#line 215
20047 __cil_tmp38 = __cil_tmp37 * 4UL;
20048#line 215
20049 tmp___1 = kmalloc(__cil_tmp38, 208U);
20050#line 215
20051 eeprom_buff = (u32 *)tmp___1;
20052 }
20053 {
20054#line 217
20055 __cil_tmp39 = (u32 *)0;
20056#line 217
20057 __cil_tmp40 = (unsigned long )__cil_tmp39;
20058#line 217
20059 __cil_tmp41 = (unsigned long )eeprom_buff;
20060#line 217
20061 if (__cil_tmp41 == __cil_tmp40) {
20062#line 218
20063 return (-12);
20064 } else {
20065
20066 }
20067 }
20068#line 220
20069 i = first_dword;
20070#line 220
20071 goto ldv_42447;
20072 ldv_42446:
20073 {
20074#line 221
20075 __cil_tmp42 = i * 4;
20076#line 221
20077 __cil_tmp43 = (u32 )__cil_tmp42;
20078#line 221
20079 __cil_tmp44 = i - first_dword;
20080#line 221
20081 __cil_tmp45 = (unsigned long )__cil_tmp44;
20082#line 221
20083 __cil_tmp46 = eeprom_buff + __cil_tmp45;
20084#line 221
20085 tmp___2 = atl1c_read_eeprom(hw, __cil_tmp43, __cil_tmp46);
20086 }
20087#line 221
20088 if (tmp___2) {
20089#line 221
20090 tmp___3 = 0;
20091 } else {
20092#line 221
20093 tmp___3 = 1;
20094 }
20095#line 221
20096 if (tmp___3) {
20097 {
20098#line 222
20099 __cil_tmp47 = (void const *)eeprom_buff;
20100#line 222
20101 kfree(__cil_tmp47);
20102 }
20103#line 223
20104 return (-5);
20105 } else {
20106
20107 }
20108#line 220
20109 i = i + 1;
20110 ldv_42447: ;
20111#line 220
20112 if (i < last_dword) {
20113#line 221
20114 goto ldv_42446;
20115 } else {
20116#line 223
20117 goto ldv_42448;
20118 }
20119 ldv_42448:
20120 {
20121#line 227
20122 __cil_tmp48 = eeprom->len;
20123#line 227
20124 __len = (size_t )__cil_tmp48;
20125#line 227
20126 __cil_tmp49 = (void *)bytes;
20127#line 227
20128 __cil_tmp50 = eeprom->offset;
20129#line 227
20130 __cil_tmp51 = (unsigned long )__cil_tmp50;
20131#line 227
20132 __cil_tmp52 = __cil_tmp51 & 3UL;
20133#line 227
20134 __cil_tmp53 = (void const *)eeprom_buff;
20135#line 227
20136 __cil_tmp54 = __cil_tmp53 + __cil_tmp52;
20137#line 227
20138 __ret = __builtin_memcpy(__cil_tmp49, __cil_tmp54, __len);
20139#line 229
20140 __cil_tmp55 = (void const *)eeprom_buff;
20141#line 229
20142 kfree(__cil_tmp55);
20143 }
20144#line 231
20145 return (ret_val);
20146#line 232
20147 return (0);
20148}
20149}
20150#line 235 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
20151static void atl1c_get_drvinfo(struct net_device *netdev , struct ethtool_drvinfo *drvinfo )
20152{ struct atl1c_adapter *adapter ;
20153 void *tmp ;
20154 char const *tmp___0 ;
20155 int tmp___1 ;
20156 int tmp___2 ;
20157 struct net_device const *__cil_tmp8 ;
20158 char (*__cil_tmp9)[32U] ;
20159 char *__cil_tmp10 ;
20160 char const *__cil_tmp11 ;
20161 char (*__cil_tmp12)[32U] ;
20162 char *__cil_tmp13 ;
20163 char const *__cil_tmp14 ;
20164 char (*__cil_tmp15)[32U] ;
20165 char *__cil_tmp16 ;
20166 struct pci_dev *__cil_tmp17 ;
20167 struct pci_dev const *__cil_tmp18 ;
20168 char (*__cil_tmp19)[32U] ;
20169 char *__cil_tmp20 ;
20170
20171 {
20172 {
20173#line 238
20174 __cil_tmp8 = (struct net_device const *)netdev;
20175#line 238
20176 tmp = netdev_priv(__cil_tmp8);
20177#line 238
20178 adapter = (struct atl1c_adapter *)tmp;
20179#line 240
20180 __cil_tmp9 = & drvinfo->driver;
20181#line 240
20182 __cil_tmp10 = (char *)__cil_tmp9;
20183#line 240
20184 __cil_tmp11 = (char const *)(& atl1c_driver_name);
20185#line 240
20186 strlcpy(__cil_tmp10, __cil_tmp11, 32UL);
20187#line 241
20188 __cil_tmp12 = & drvinfo->version;
20189#line 241
20190 __cil_tmp13 = (char *)__cil_tmp12;
20191#line 241
20192 __cil_tmp14 = (char const *)(& atl1c_driver_version);
20193#line 241
20194 strlcpy(__cil_tmp13, __cil_tmp14, 32UL);
20195#line 243
20196 __cil_tmp15 = & drvinfo->fw_version;
20197#line 243
20198 __cil_tmp16 = (char *)__cil_tmp15;
20199#line 243
20200 strlcpy(__cil_tmp16, "N/A", 32UL);
20201#line 244
20202 __cil_tmp17 = adapter->pdev;
20203#line 244
20204 __cil_tmp18 = (struct pci_dev const *)__cil_tmp17;
20205#line 244
20206 tmp___0 = pci_name(__cil_tmp18);
20207#line 244
20208 __cil_tmp19 = & drvinfo->bus_info;
20209#line 244
20210 __cil_tmp20 = (char *)__cil_tmp19;
20211#line 244
20212 strlcpy(__cil_tmp20, tmp___0, 32UL);
20213#line 246
20214 drvinfo->n_stats = 0U;
20215#line 247
20216 drvinfo->testinfo_len = 0U;
20217#line 248
20218 tmp___1 = atl1c_get_regs_len(netdev);
20219#line 248
20220 drvinfo->regdump_len = (__u32 )tmp___1;
20221#line 249
20222 tmp___2 = atl1c_get_eeprom_len(netdev);
20223#line 249
20224 drvinfo->eedump_len = (__u32 )tmp___2;
20225 }
20226#line 250
20227 return;
20228}
20229}
20230#line 252 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
20231static void atl1c_get_wol(struct net_device *netdev , struct ethtool_wolinfo *wol )
20232{ struct atl1c_adapter *adapter ;
20233 void *tmp ;
20234 struct net_device const *__cil_tmp5 ;
20235 u32 __cil_tmp6 ;
20236 unsigned int __cil_tmp7 ;
20237 __u32 __cil_tmp8 ;
20238 u32 __cil_tmp9 ;
20239 unsigned int __cil_tmp10 ;
20240 __u32 __cil_tmp11 ;
20241 u32 __cil_tmp12 ;
20242 unsigned int __cil_tmp13 ;
20243 __u32 __cil_tmp14 ;
20244 u32 __cil_tmp15 ;
20245 unsigned int __cil_tmp16 ;
20246 __u32 __cil_tmp17 ;
20247 u32 __cil_tmp18 ;
20248 int __cil_tmp19 ;
20249 __u32 __cil_tmp20 ;
20250
20251 {
20252 {
20253#line 255
20254 __cil_tmp5 = (struct net_device const *)netdev;
20255#line 255
20256 tmp = netdev_priv(__cil_tmp5);
20257#line 255
20258 adapter = (struct atl1c_adapter *)tmp;
20259#line 257
20260 wol->supported = 33U;
20261#line 258
20262 wol->wolopts = 0U;
20263 }
20264 {
20265#line 260
20266 __cil_tmp6 = adapter->wol;
20267#line 260
20268 __cil_tmp7 = __cil_tmp6 & 4U;
20269#line 260
20270 if (__cil_tmp7 != 0U) {
20271#line 261
20272 __cil_tmp8 = wol->wolopts;
20273#line 261
20274 wol->wolopts = __cil_tmp8 | 2U;
20275 } else {
20276
20277 }
20278 }
20279 {
20280#line 262
20281 __cil_tmp9 = adapter->wol;
20282#line 262
20283 __cil_tmp10 = __cil_tmp9 & 8U;
20284#line 262
20285 if (__cil_tmp10 != 0U) {
20286#line 263
20287 __cil_tmp11 = wol->wolopts;
20288#line 263
20289 wol->wolopts = __cil_tmp11 | 4U;
20290 } else {
20291
20292 }
20293 }
20294 {
20295#line 264
20296 __cil_tmp12 = adapter->wol;
20297#line 264
20298 __cil_tmp13 = __cil_tmp12 & 16U;
20299#line 264
20300 if (__cil_tmp13 != 0U) {
20301#line 265
20302 __cil_tmp14 = wol->wolopts;
20303#line 265
20304 wol->wolopts = __cil_tmp14 | 8U;
20305 } else {
20306
20307 }
20308 }
20309 {
20310#line 266
20311 __cil_tmp15 = adapter->wol;
20312#line 266
20313 __cil_tmp16 = __cil_tmp15 & 2U;
20314#line 266
20315 if (__cil_tmp16 != 0U) {
20316#line 267
20317 __cil_tmp17 = wol->wolopts;
20318#line 267
20319 wol->wolopts = __cil_tmp17 | 32U;
20320 } else {
20321
20322 }
20323 }
20324 {
20325#line 268
20326 __cil_tmp18 = adapter->wol;
20327#line 268
20328 __cil_tmp19 = (int )__cil_tmp18;
20329#line 268
20330 if (__cil_tmp19 & 1) {
20331#line 269
20332 __cil_tmp20 = wol->wolopts;
20333#line 269
20334 wol->wolopts = __cil_tmp20 | 1U;
20335 } else {
20336
20337 }
20338 }
20339#line 270
20340 return;
20341}
20342}
20343#line 272 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
20344static int atl1c_set_wol(struct net_device *netdev , struct ethtool_wolinfo *wol )
20345{ struct atl1c_adapter *adapter ;
20346 void *tmp ;
20347 struct net_device const *__cil_tmp5 ;
20348 __u32 __cil_tmp6 ;
20349 unsigned int __cil_tmp7 ;
20350 __u32 __cil_tmp8 ;
20351 unsigned int __cil_tmp9 ;
20352 u32 __cil_tmp10 ;
20353 __u32 __cil_tmp11 ;
20354 int __cil_tmp12 ;
20355 u32 __cil_tmp13 ;
20356 struct pci_dev *__cil_tmp14 ;
20357 struct device *__cil_tmp15 ;
20358 u32 __cil_tmp16 ;
20359 int __cil_tmp17 ;
20360 bool __cil_tmp18 ;
20361
20362 {
20363 {
20364#line 274
20365 __cil_tmp5 = (struct net_device const *)netdev;
20366#line 274
20367 tmp = netdev_priv(__cil_tmp5);
20368#line 274
20369 adapter = (struct atl1c_adapter *)tmp;
20370 }
20371 {
20372#line 276
20373 __cil_tmp6 = wol->wolopts;
20374#line 276
20375 __cil_tmp7 = __cil_tmp6 & 94U;
20376#line 276
20377 if (__cil_tmp7 != 0U) {
20378#line 278
20379 return (-95);
20380 } else {
20381
20382 }
20383 }
20384#line 280
20385 adapter->wol = 0U;
20386 {
20387#line 282
20388 __cil_tmp8 = wol->wolopts;
20389#line 282
20390 __cil_tmp9 = __cil_tmp8 & 32U;
20391#line 282
20392 if (__cil_tmp9 != 0U) {
20393#line 283
20394 __cil_tmp10 = adapter->wol;
20395#line 283
20396 adapter->wol = __cil_tmp10 | 2U;
20397 } else {
20398
20399 }
20400 }
20401 {
20402#line 284
20403 __cil_tmp11 = wol->wolopts;
20404#line 284
20405 __cil_tmp12 = (int )__cil_tmp11;
20406#line 284
20407 if (__cil_tmp12 & 1) {
20408#line 285
20409 __cil_tmp13 = adapter->wol;
20410#line 285
20411 adapter->wol = __cil_tmp13 | 1U;
20412 } else {
20413
20414 }
20415 }
20416 {
20417#line 287
20418 __cil_tmp14 = adapter->pdev;
20419#line 287
20420 __cil_tmp15 = & __cil_tmp14->dev;
20421#line 287
20422 __cil_tmp16 = adapter->wol;
20423#line 287
20424 __cil_tmp17 = __cil_tmp16 != 0U;
20425#line 287
20426 __cil_tmp18 = (bool )__cil_tmp17;
20427#line 287
20428 device_set_wakeup_enable(__cil_tmp15, __cil_tmp18);
20429 }
20430#line 289
20431 return (0);
20432}
20433}
20434#line 292 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
20435static int atl1c_nway_reset(struct net_device *netdev )
20436{ struct atl1c_adapter *adapter ;
20437 void *tmp ;
20438 int tmp___0 ;
20439 struct net_device const *__cil_tmp5 ;
20440 struct net_device const *__cil_tmp6 ;
20441
20442 {
20443 {
20444#line 294
20445 __cil_tmp5 = (struct net_device const *)netdev;
20446#line 294
20447 tmp = netdev_priv(__cil_tmp5);
20448#line 294
20449 adapter = (struct atl1c_adapter *)tmp;
20450#line 295
20451 __cil_tmp6 = (struct net_device const *)netdev;
20452#line 295
20453 tmp___0 = netif_running(__cil_tmp6);
20454 }
20455#line 295
20456 if (tmp___0 != 0) {
20457 {
20458#line 296
20459 atl1c_reinit_locked(adapter);
20460 }
20461 } else {
20462
20463 }
20464#line 297
20465 return (0);
20466}
20467}
20468#line 300 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
20469static struct ethtool_ops const atl1c_ethtool_ops =
20470#line 300
20471 {& atl1c_get_settings, & atl1c_set_settings, & atl1c_get_drvinfo, & atl1c_get_regs_len,
20472 & atl1c_get_regs, & atl1c_get_wol, & atl1c_set_wol, & atl1c_get_msglevel, & atl1c_set_msglevel,
20473 & atl1c_nway_reset, & ethtool_op_get_link, & atl1c_get_eeprom_len, & atl1c_get_eeprom,
20474 (int (*)(struct net_device * , struct ethtool_eeprom * , u8 * ))0, (int (*)(struct net_device * ,
20475 struct ethtool_coalesce * ))0,
20476 (int (*)(struct net_device * , struct ethtool_coalesce * ))0, (void (*)(struct net_device * ,
20477 struct ethtool_ringparam * ))0,
20478 (int (*)(struct net_device * , struct ethtool_ringparam * ))0, (void (*)(struct net_device * ,
20479 struct ethtool_pauseparam * ))0,
20480 (int (*)(struct net_device * , struct ethtool_pauseparam * ))0, (u32 (*)(struct net_device * ))0,
20481 (int (*)(struct net_device * , u32 ))0, (u32 (*)(struct net_device * ))0, (int (*)(struct net_device * ,
20482 u32 ))0,
20483 (u32 (*)(struct net_device * ))0, (int (*)(struct net_device * , u32 ))0, (u32 (*)(struct net_device * ))0,
20484 (int (*)(struct net_device * , u32 ))0, (void (*)(struct net_device * , struct ethtool_test * ,
20485 u64 * ))0, (void (*)(struct net_device * ,
20486 u32 ,
20487 u8 * ))0,
20488 (int (*)(struct net_device * , enum ethtool_phys_id_state ))0, (void (*)(struct net_device * ,
20489 struct ethtool_stats * ,
20490 u64 * ))0,
20491 (int (*)(struct net_device * ))0, (void (*)(struct net_device * ))0, (u32 (*)(struct net_device * ))0,
20492 (int (*)(struct net_device * , u32 ))0, (u32 (*)(struct net_device * ))0, (int (*)(struct net_device * ,
20493 u32 ))0,
20494 (u32 (*)(struct net_device * ))0, (int (*)(struct net_device * , u32 ))0, (int (*)(struct net_device * ,
20495 int ))0,
20496 (int (*)(struct net_device * , struct ethtool_rxnfc * , void * ))0, (int (*)(struct net_device * ,
20497 struct ethtool_rxnfc * ))0,
20498 (int (*)(struct net_device * , struct ethtool_flash * ))0, (int (*)(struct net_device * ,
20499 u32 * ))0,
20500 (int (*)(struct net_device * , struct ethtool_rx_ntuple * ))0, (int (*)(struct net_device * ,
20501 u32 ,
20502 void * ))0,
20503 (int (*)(struct net_device * , struct ethtool_rxfh_indir * ))0, (int (*)(struct net_device * ,
20504 struct ethtool_rxfh_indir const * ))0,
20505 (void (*)(struct net_device * , struct ethtool_channels * ))0, (int (*)(struct net_device * ,
20506 struct ethtool_channels * ))0,
20507 (int (*)(struct net_device * , struct ethtool_dump * ))0, (int (*)(struct net_device * ,
20508 struct ethtool_dump * ,
20509 void * ))0,
20510 (int (*)(struct net_device * , struct ethtool_dump * ))0};
20511#line 316 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
20512void atl1c_set_ethtool_ops(struct net_device *netdev )
20513{
20514
20515 {
20516#line 318
20517 netdev->ethtool_ops = & atl1c_ethtool_ops;
20518#line 319
20519 return;
20520}
20521}
20522#line 352 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/atl1c/atl1c.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/13/dscv_tempdir/dscv/ri/08_1/drivers/net/atl1c/atl1c_ethtool.c.p"
20523void main(void)
20524{ struct net_device *var_group1 ;
20525 struct ethtool_cmd *var_group2 ;
20526 struct ethtool_drvinfo *var_group3 ;
20527 struct ethtool_regs *var_group4 ;
20528 void *var_atl1c_get_regs_5_p2 ;
20529 struct ethtool_wolinfo *var_group5 ;
20530 u32 var_atl1c_set_msglevel_3_p1 ;
20531 struct ethtool_eeprom *var_group6 ;
20532 u8 *var_atl1c_get_eeprom_7_p2 ;
20533 int tmp ;
20534 int tmp___0 ;
20535
20536 {
20537 {
20538#line 408
20539 LDV_IN_INTERRUPT = 1;
20540#line 417
20541 ldv_initialize();
20542 }
20543#line 421
20544 goto ldv_42511;
20545 ldv_42510:
20546 {
20547#line 424
20548 tmp = nondet_int();
20549 }
20550#line 426
20551 if (tmp == 0) {
20552#line 426
20553 goto case_0;
20554 } else
20555#line 442
20556 if (tmp == 1) {
20557#line 442
20558 goto case_1;
20559 } else
20560#line 458
20561 if (tmp == 2) {
20562#line 458
20563 goto case_2;
20564 } else
20565#line 474
20566 if (tmp == 3) {
20567#line 474
20568 goto case_3;
20569 } else
20570#line 490
20571 if (tmp == 4) {
20572#line 490
20573 goto case_4;
20574 } else
20575#line 506
20576 if (tmp == 5) {
20577#line 506
20578 goto case_5;
20579 } else
20580#line 522
20581 if (tmp == 6) {
20582#line 522
20583 goto case_6;
20584 } else
20585#line 538
20586 if (tmp == 7) {
20587#line 538
20588 goto case_7;
20589 } else
20590#line 554
20591 if (tmp == 8) {
20592#line 554
20593 goto case_8;
20594 } else
20595#line 570
20596 if (tmp == 9) {
20597#line 570
20598 goto case_9;
20599 } else
20600#line 586
20601 if (tmp == 10) {
20602#line 586
20603 goto case_10;
20604 } else
20605#line 602
20606 if (tmp == 11) {
20607#line 602
20608 goto case_11;
20609 } else {
20610#line 618
20611 goto switch_default;
20612#line 424
20613 if (0) {
20614 case_0:
20615 {
20616#line 434
20617 atl1c_get_settings(var_group1, var_group2);
20618 }
20619#line 441
20620 goto ldv_42497;
20621 case_1:
20622 {
20623#line 450
20624 atl1c_set_settings(var_group1, var_group2);
20625 }
20626#line 457
20627 goto ldv_42497;
20628 case_2:
20629 {
20630#line 466
20631 atl1c_get_drvinfo(var_group1, var_group3);
20632 }
20633#line 473
20634 goto ldv_42497;
20635 case_3:
20636 {
20637#line 482
20638 atl1c_get_regs_len(var_group1);
20639 }
20640#line 489
20641 goto ldv_42497;
20642 case_4:
20643 {
20644#line 498
20645 atl1c_get_regs(var_group1, var_group4, var_atl1c_get_regs_5_p2);
20646 }
20647#line 505
20648 goto ldv_42497;
20649 case_5:
20650 {
20651#line 514
20652 atl1c_get_wol(var_group1, var_group5);
20653 }
20654#line 521
20655 goto ldv_42497;
20656 case_6:
20657 {
20658#line 530
20659 atl1c_set_wol(var_group1, var_group5);
20660 }
20661#line 537
20662 goto ldv_42497;
20663 case_7:
20664 {
20665#line 546
20666 atl1c_get_msglevel(var_group1);
20667 }
20668#line 553
20669 goto ldv_42497;
20670 case_8:
20671 {
20672#line 562
20673 atl1c_set_msglevel(var_group1, var_atl1c_set_msglevel_3_p1);
20674 }
20675#line 569
20676 goto ldv_42497;
20677 case_9:
20678 {
20679#line 578
20680 atl1c_nway_reset(var_group1);
20681 }
20682#line 585
20683 goto ldv_42497;
20684 case_10:
20685 {
20686#line 594
20687 atl1c_get_eeprom_len(var_group1);
20688 }
20689#line 601
20690 goto ldv_42497;
20691 case_11:
20692 {
20693#line 610
20694 atl1c_get_eeprom(var_group1, var_group6, var_atl1c_get_eeprom_7_p2);
20695 }
20696#line 617
20697 goto ldv_42497;
20698 switch_default: ;
20699#line 618
20700 goto ldv_42497;
20701 } else {
20702
20703 }
20704 }
20705 ldv_42497: ;
20706 ldv_42511:
20707 {
20708#line 421
20709 tmp___0 = nondet_int();
20710 }
20711#line 421
20712 if (tmp___0 != 0) {
20713#line 422
20714 goto ldv_42510;
20715 } else {
20716#line 424
20717 goto ldv_42512;
20718 }
20719 ldv_42512:
20720 {
20721#line 627
20722 ldv_check_final_state();
20723 }
20724#line 630
20725 return;
20726}
20727}