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 42 "include/asm-generic/int-ll64.h"
21typedef signed char s8;
22#line 43 "include/asm-generic/int-ll64.h"
23typedef unsigned char u8;
24#line 45 "include/asm-generic/int-ll64.h"
25typedef short s16;
26#line 46 "include/asm-generic/int-ll64.h"
27typedef unsigned short u16;
28#line 48 "include/asm-generic/int-ll64.h"
29typedef int s32;
30#line 49 "include/asm-generic/int-ll64.h"
31typedef unsigned int u32;
32#line 51 "include/asm-generic/int-ll64.h"
33typedef long long s64;
34#line 52 "include/asm-generic/int-ll64.h"
35typedef unsigned long long u64;
36#line 14 "include/asm-generic/posix_types.h"
37typedef long __kernel_long_t;
38#line 15 "include/asm-generic/posix_types.h"
39typedef unsigned long __kernel_ulong_t;
40#line 27 "include/asm-generic/posix_types.h"
41typedef __kernel_ulong_t __kernel_nlink_t;
42#line 31 "include/asm-generic/posix_types.h"
43typedef int __kernel_pid_t;
44#line 52 "include/asm-generic/posix_types.h"
45typedef unsigned int __kernel_uid32_t;
46#line 53 "include/asm-generic/posix_types.h"
47typedef unsigned int __kernel_gid32_t;
48#line 75 "include/asm-generic/posix_types.h"
49typedef __kernel_ulong_t __kernel_size_t;
50#line 76 "include/asm-generic/posix_types.h"
51typedef __kernel_long_t __kernel_ssize_t;
52#line 90 "include/asm-generic/posix_types.h"
53typedef __kernel_long_t __kernel_off_t;
54#line 91 "include/asm-generic/posix_types.h"
55typedef long long __kernel_loff_t;
56#line 92 "include/asm-generic/posix_types.h"
57typedef __kernel_long_t __kernel_time_t;
58#line 93 "include/asm-generic/posix_types.h"
59typedef __kernel_long_t __kernel_clock_t;
60#line 94 "include/asm-generic/posix_types.h"
61typedef int __kernel_timer_t;
62#line 95 "include/asm-generic/posix_types.h"
63typedef int __kernel_clockid_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 27 "include/linux/types.h"
69typedef unsigned short umode_t;
70#line 28 "include/linux/types.h"
71typedef __kernel_nlink_t nlink_t;
72#line 29 "include/linux/types.h"
73typedef __kernel_off_t off_t;
74#line 30 "include/linux/types.h"
75typedef __kernel_pid_t pid_t;
76#line 35 "include/linux/types.h"
77typedef __kernel_clockid_t clockid_t;
78#line 38 "include/linux/types.h"
79typedef _Bool bool;
80#line 40 "include/linux/types.h"
81typedef __kernel_uid32_t uid_t;
82#line 41 "include/linux/types.h"
83typedef __kernel_gid32_t gid_t;
84#line 54 "include/linux/types.h"
85typedef __kernel_loff_t loff_t;
86#line 63 "include/linux/types.h"
87typedef __kernel_size_t size_t;
88#line 68 "include/linux/types.h"
89typedef __kernel_ssize_t ssize_t;
90#line 78 "include/linux/types.h"
91typedef __kernel_time_t time_t;
92#line 95 "include/linux/types.h"
93typedef unsigned long u_long;
94#line 111 "include/linux/types.h"
95typedef __s32 int32_t;
96#line 115 "include/linux/types.h"
97typedef __u8 uint8_t;
98#line 116 "include/linux/types.h"
99typedef __u16 uint16_t;
100#line 117 "include/linux/types.h"
101typedef __u32 uint32_t;
102#line 120 "include/linux/types.h"
103typedef __u64 uint64_t;
104#line 142 "include/linux/types.h"
105typedef unsigned long sector_t;
106#line 143 "include/linux/types.h"
107typedef unsigned long blkcnt_t;
108#line 155 "include/linux/types.h"
109typedef u64 dma_addr_t;
110#line 179 "include/linux/types.h"
111typedef __u16 __be16;
112#line 181 "include/linux/types.h"
113typedef __u32 __be32;
114#line 186 "include/linux/types.h"
115typedef __u32 __wsum;
116#line 202 "include/linux/types.h"
117typedef unsigned int gfp_t;
118#line 203 "include/linux/types.h"
119typedef unsigned int fmode_t;
120#line 206 "include/linux/types.h"
121typedef u64 phys_addr_t;
122#line 211 "include/linux/types.h"
123typedef phys_addr_t resource_size_t;
124#line 221 "include/linux/types.h"
125struct __anonstruct_atomic_t_6 {
126 int counter ;
127};
128#line 221 "include/linux/types.h"
129typedef struct __anonstruct_atomic_t_6 atomic_t;
130#line 226 "include/linux/types.h"
131struct __anonstruct_atomic64_t_7 {
132 long counter ;
133};
134#line 226 "include/linux/types.h"
135typedef struct __anonstruct_atomic64_t_7 atomic64_t;
136#line 227 "include/linux/types.h"
137struct list_head {
138 struct list_head *next ;
139 struct list_head *prev ;
140};
141#line 232
142struct hlist_node;
143#line 232 "include/linux/types.h"
144struct hlist_head {
145 struct hlist_node *first ;
146};
147#line 236 "include/linux/types.h"
148struct hlist_node {
149 struct hlist_node *next ;
150 struct hlist_node **pprev ;
151};
152#line 247 "include/linux/types.h"
153struct rcu_head {
154 struct rcu_head *next ;
155 void (*func)(struct rcu_head * ) ;
156};
157#line 55 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
158struct module;
159#line 55
160struct module;
161#line 146 "include/linux/init.h"
162typedef void (*ctor_fn_t)(void);
163#line 46 "include/linux/dynamic_debug.h"
164struct device;
165#line 46
166struct device;
167#line 51
168struct net_device;
169#line 51
170struct net_device;
171#line 57
172struct completion;
173#line 57
174struct completion;
175#line 58
176struct pt_regs;
177#line 58
178struct pt_regs;
179#line 348 "include/linux/kernel.h"
180struct pid;
181#line 348
182struct pid;
183#line 112 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/stat.h"
184struct timespec;
185#line 112
186struct timespec;
187#line 58 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page_types.h"
188struct page;
189#line 58
190struct page;
191#line 26 "include/asm-generic/getorder.h"
192struct task_struct;
193#line 26
194struct task_struct;
195#line 28
196struct mm_struct;
197#line 28
198struct mm_struct;
199#line 268 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/segment.h"
200struct pt_regs {
201 unsigned long r15 ;
202 unsigned long r14 ;
203 unsigned long r13 ;
204 unsigned long r12 ;
205 unsigned long bp ;
206 unsigned long bx ;
207 unsigned long r11 ;
208 unsigned long r10 ;
209 unsigned long r9 ;
210 unsigned long r8 ;
211 unsigned long ax ;
212 unsigned long cx ;
213 unsigned long dx ;
214 unsigned long si ;
215 unsigned long di ;
216 unsigned long orig_ax ;
217 unsigned long ip ;
218 unsigned long cs ;
219 unsigned long flags ;
220 unsigned long sp ;
221 unsigned long ss ;
222};
223#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
224struct __anonstruct_ldv_2180_13 {
225 unsigned int a ;
226 unsigned int b ;
227};
228#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
229struct __anonstruct_ldv_2195_14 {
230 u16 limit0 ;
231 u16 base0 ;
232 unsigned char base1 ;
233 unsigned char type : 4 ;
234 unsigned char s : 1 ;
235 unsigned char dpl : 2 ;
236 unsigned char p : 1 ;
237 unsigned char limit : 4 ;
238 unsigned char avl : 1 ;
239 unsigned char l : 1 ;
240 unsigned char d : 1 ;
241 unsigned char g : 1 ;
242 unsigned char base2 ;
243};
244#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
245union __anonunion_ldv_2196_12 {
246 struct __anonstruct_ldv_2180_13 ldv_2180 ;
247 struct __anonstruct_ldv_2195_14 ldv_2195 ;
248};
249#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
250struct desc_struct {
251 union __anonunion_ldv_2196_12 ldv_2196 ;
252};
253#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
254typedef unsigned long pgdval_t;
255#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
256typedef unsigned long pgprotval_t;
257#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
258struct pgprot {
259 pgprotval_t pgprot ;
260};
261#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
262typedef struct pgprot pgprot_t;
263#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
264struct __anonstruct_pgd_t_16 {
265 pgdval_t pgd ;
266};
267#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
268typedef struct __anonstruct_pgd_t_16 pgd_t;
269#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
270typedef struct page *pgtable_t;
271#line 290
272struct file;
273#line 290
274struct file;
275#line 305
276struct seq_file;
277#line 305
278struct seq_file;
279#line 337
280struct thread_struct;
281#line 337
282struct thread_struct;
283#line 339
284struct cpumask;
285#line 339
286struct cpumask;
287#line 327 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
288struct arch_spinlock;
289#line 327
290struct arch_spinlock;
291#line 300 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
292struct kernel_vm86_regs {
293 struct pt_regs pt ;
294 unsigned short es ;
295 unsigned short __esh ;
296 unsigned short ds ;
297 unsigned short __dsh ;
298 unsigned short fs ;
299 unsigned short __fsh ;
300 unsigned short gs ;
301 unsigned short __gsh ;
302};
303#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
304union __anonunion_ldv_2824_19 {
305 struct pt_regs *regs ;
306 struct kernel_vm86_regs *vm86 ;
307};
308#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
309struct math_emu_info {
310 long ___orig_eip ;
311 union __anonunion_ldv_2824_19 ldv_2824 ;
312};
313#line 306 "include/linux/bitmap.h"
314struct bug_entry {
315 int bug_addr_disp ;
316 int file_disp ;
317 unsigned short line ;
318 unsigned short flags ;
319};
320#line 89 "include/linux/bug.h"
321struct cpumask {
322 unsigned long bits[64U] ;
323};
324#line 14 "include/linux/cpumask.h"
325typedef struct cpumask cpumask_t;
326#line 637 "include/linux/cpumask.h"
327typedef struct cpumask *cpumask_var_t;
328#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
329struct static_key;
330#line 234
331struct static_key;
332#line 153 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
333struct seq_operations;
334#line 287 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
335struct i387_fsave_struct {
336 u32 cwd ;
337 u32 swd ;
338 u32 twd ;
339 u32 fip ;
340 u32 fcs ;
341 u32 foo ;
342 u32 fos ;
343 u32 st_space[20U] ;
344 u32 status ;
345};
346#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
347struct __anonstruct_ldv_5180_24 {
348 u64 rip ;
349 u64 rdp ;
350};
351#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
352struct __anonstruct_ldv_5186_25 {
353 u32 fip ;
354 u32 fcs ;
355 u32 foo ;
356 u32 fos ;
357};
358#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
359union __anonunion_ldv_5187_23 {
360 struct __anonstruct_ldv_5180_24 ldv_5180 ;
361 struct __anonstruct_ldv_5186_25 ldv_5186 ;
362};
363#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
364union __anonunion_ldv_5196_26 {
365 u32 padding1[12U] ;
366 u32 sw_reserved[12U] ;
367};
368#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
369struct i387_fxsave_struct {
370 u16 cwd ;
371 u16 swd ;
372 u16 twd ;
373 u16 fop ;
374 union __anonunion_ldv_5187_23 ldv_5187 ;
375 u32 mxcsr ;
376 u32 mxcsr_mask ;
377 u32 st_space[32U] ;
378 u32 xmm_space[64U] ;
379 u32 padding[12U] ;
380 union __anonunion_ldv_5196_26 ldv_5196 ;
381};
382#line 339 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
383struct i387_soft_struct {
384 u32 cwd ;
385 u32 swd ;
386 u32 twd ;
387 u32 fip ;
388 u32 fcs ;
389 u32 foo ;
390 u32 fos ;
391 u32 st_space[20U] ;
392 u8 ftop ;
393 u8 changed ;
394 u8 lookahead ;
395 u8 no_update ;
396 u8 rm ;
397 u8 alimit ;
398 struct math_emu_info *info ;
399 u32 entry_eip ;
400};
401#line 360 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
402struct ymmh_struct {
403 u32 ymmh_space[64U] ;
404};
405#line 365 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
406struct xsave_hdr_struct {
407 u64 xstate_bv ;
408 u64 reserved1[2U] ;
409 u64 reserved2[5U] ;
410};
411#line 371 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
412struct xsave_struct {
413 struct i387_fxsave_struct i387 ;
414 struct xsave_hdr_struct xsave_hdr ;
415 struct ymmh_struct ymmh ;
416};
417#line 377 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
418union thread_xstate {
419 struct i387_fsave_struct fsave ;
420 struct i387_fxsave_struct fxsave ;
421 struct i387_soft_struct soft ;
422 struct xsave_struct xsave ;
423};
424#line 385 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
425struct fpu {
426 unsigned int last_cpu ;
427 unsigned int has_fpu ;
428 union thread_xstate *state ;
429};
430#line 433
431struct kmem_cache;
432#line 434
433struct perf_event;
434#line 434
435struct perf_event;
436#line 435 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
437struct thread_struct {
438 struct desc_struct tls_array[3U] ;
439 unsigned long sp0 ;
440 unsigned long sp ;
441 unsigned long usersp ;
442 unsigned short es ;
443 unsigned short ds ;
444 unsigned short fsindex ;
445 unsigned short gsindex ;
446 unsigned long fs ;
447 unsigned long gs ;
448 struct perf_event *ptrace_bps[4U] ;
449 unsigned long debugreg6 ;
450 unsigned long ptrace_dr7 ;
451 unsigned long cr2 ;
452 unsigned long trap_nr ;
453 unsigned long error_code ;
454 struct fpu fpu ;
455 unsigned long *io_bitmap_ptr ;
456 unsigned long iopl ;
457 unsigned int io_bitmap_max ;
458};
459#line 23 "include/asm-generic/atomic-long.h"
460typedef atomic64_t atomic_long_t;
461#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
462typedef u16 __ticket_t;
463#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
464typedef u32 __ticketpair_t;
465#line 16 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
466struct __raw_tickets {
467 __ticket_t head ;
468 __ticket_t tail ;
469};
470#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
471union __anonunion_ldv_5907_29 {
472 __ticketpair_t head_tail ;
473 struct __raw_tickets tickets ;
474};
475#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
476struct arch_spinlock {
477 union __anonunion_ldv_5907_29 ldv_5907 ;
478};
479#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
480typedef struct arch_spinlock arch_spinlock_t;
481#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
482struct __anonstruct_ldv_5914_31 {
483 u32 read ;
484 s32 write ;
485};
486#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
487union __anonunion_arch_rwlock_t_30 {
488 s64 lock ;
489 struct __anonstruct_ldv_5914_31 ldv_5914 ;
490};
491#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
492typedef union __anonunion_arch_rwlock_t_30 arch_rwlock_t;
493#line 34
494struct lockdep_map;
495#line 34
496struct lockdep_map;
497#line 55 "include/linux/debug_locks.h"
498struct stack_trace {
499 unsigned int nr_entries ;
500 unsigned int max_entries ;
501 unsigned long *entries ;
502 int skip ;
503};
504#line 26 "include/linux/stacktrace.h"
505struct lockdep_subclass_key {
506 char __one_byte ;
507};
508#line 53 "include/linux/lockdep.h"
509struct lock_class_key {
510 struct lockdep_subclass_key subkeys[8U] ;
511};
512#line 59 "include/linux/lockdep.h"
513struct lock_class {
514 struct list_head hash_entry ;
515 struct list_head lock_entry ;
516 struct lockdep_subclass_key *key ;
517 unsigned int subclass ;
518 unsigned int dep_gen_id ;
519 unsigned long usage_mask ;
520 struct stack_trace usage_traces[13U] ;
521 struct list_head locks_after ;
522 struct list_head locks_before ;
523 unsigned int version ;
524 unsigned long ops ;
525 char const *name ;
526 int name_version ;
527 unsigned long contention_point[4U] ;
528 unsigned long contending_point[4U] ;
529};
530#line 144 "include/linux/lockdep.h"
531struct lockdep_map {
532 struct lock_class_key *key ;
533 struct lock_class *class_cache[2U] ;
534 char const *name ;
535 int cpu ;
536 unsigned long ip ;
537};
538#line 187 "include/linux/lockdep.h"
539struct held_lock {
540 u64 prev_chain_key ;
541 unsigned long acquire_ip ;
542 struct lockdep_map *instance ;
543 struct lockdep_map *nest_lock ;
544 u64 waittime_stamp ;
545 u64 holdtime_stamp ;
546 unsigned short class_idx : 13 ;
547 unsigned char irq_context : 2 ;
548 unsigned char trylock : 1 ;
549 unsigned char read : 2 ;
550 unsigned char check : 2 ;
551 unsigned char hardirqs_off : 1 ;
552 unsigned short references : 11 ;
553};
554#line 556 "include/linux/lockdep.h"
555struct raw_spinlock {
556 arch_spinlock_t raw_lock ;
557 unsigned int magic ;
558 unsigned int owner_cpu ;
559 void *owner ;
560 struct lockdep_map dep_map ;
561};
562#line 32 "include/linux/spinlock_types.h"
563typedef struct raw_spinlock raw_spinlock_t;
564#line 33 "include/linux/spinlock_types.h"
565struct __anonstruct_ldv_6122_33 {
566 u8 __padding[24U] ;
567 struct lockdep_map dep_map ;
568};
569#line 33 "include/linux/spinlock_types.h"
570union __anonunion_ldv_6123_32 {
571 struct raw_spinlock rlock ;
572 struct __anonstruct_ldv_6122_33 ldv_6122 ;
573};
574#line 33 "include/linux/spinlock_types.h"
575struct spinlock {
576 union __anonunion_ldv_6123_32 ldv_6123 ;
577};
578#line 76 "include/linux/spinlock_types.h"
579typedef struct spinlock spinlock_t;
580#line 23 "include/linux/rwlock_types.h"
581struct __anonstruct_rwlock_t_34 {
582 arch_rwlock_t raw_lock ;
583 unsigned int magic ;
584 unsigned int owner_cpu ;
585 void *owner ;
586 struct lockdep_map dep_map ;
587};
588#line 23 "include/linux/rwlock_types.h"
589typedef struct __anonstruct_rwlock_t_34 rwlock_t;
590#line 36 "include/linux/seqlock.h"
591struct __anonstruct_seqlock_t_35 {
592 unsigned int sequence ;
593 spinlock_t lock ;
594};
595#line 36 "include/linux/seqlock.h"
596typedef struct __anonstruct_seqlock_t_35 seqlock_t;
597#line 110 "include/linux/seqlock.h"
598struct seqcount {
599 unsigned int sequence ;
600};
601#line 121 "include/linux/seqlock.h"
602typedef struct seqcount seqcount_t;
603#line 254 "include/linux/seqlock.h"
604struct timespec {
605 __kernel_time_t tv_sec ;
606 long tv_nsec ;
607};
608#line 286 "include/linux/time.h"
609struct kstat {
610 u64 ino ;
611 dev_t dev ;
612 umode_t mode ;
613 unsigned int nlink ;
614 uid_t uid ;
615 gid_t gid ;
616 dev_t rdev ;
617 loff_t size ;
618 struct timespec atime ;
619 struct timespec mtime ;
620 struct timespec ctime ;
621 unsigned long blksize ;
622 unsigned long long blocks ;
623};
624#line 48 "include/linux/wait.h"
625struct __wait_queue_head {
626 spinlock_t lock ;
627 struct list_head task_list ;
628};
629#line 53 "include/linux/wait.h"
630typedef struct __wait_queue_head wait_queue_head_t;
631#line 98 "include/linux/nodemask.h"
632struct __anonstruct_nodemask_t_36 {
633 unsigned long bits[16U] ;
634};
635#line 98 "include/linux/nodemask.h"
636typedef struct __anonstruct_nodemask_t_36 nodemask_t;
637#line 670 "include/linux/mmzone.h"
638struct mutex {
639 atomic_t count ;
640 spinlock_t wait_lock ;
641 struct list_head wait_list ;
642 struct task_struct *owner ;
643 char const *name ;
644 void *magic ;
645 struct lockdep_map dep_map ;
646};
647#line 63 "include/linux/mutex.h"
648struct mutex_waiter {
649 struct list_head list ;
650 struct task_struct *task ;
651 void *magic ;
652};
653#line 171
654struct rw_semaphore;
655#line 171
656struct rw_semaphore;
657#line 172 "include/linux/mutex.h"
658struct rw_semaphore {
659 long count ;
660 raw_spinlock_t wait_lock ;
661 struct list_head wait_list ;
662 struct lockdep_map dep_map ;
663};
664#line 128 "include/linux/rwsem.h"
665struct completion {
666 unsigned int done ;
667 wait_queue_head_t wait ;
668};
669#line 188 "include/linux/rcupdate.h"
670struct notifier_block;
671#line 188
672struct notifier_block;
673#line 239 "include/linux/srcu.h"
674struct notifier_block {
675 int (*notifier_call)(struct notifier_block * , unsigned long , void * ) ;
676 struct notifier_block *next ;
677 int priority ;
678};
679#line 60 "include/linux/notifier.h"
680struct blocking_notifier_head {
681 struct rw_semaphore rwsem ;
682 struct notifier_block *head ;
683};
684#line 793 "include/linux/mmzone.h"
685struct ctl_table;
686#line 793
687struct ctl_table;
688#line 139 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/e820.h"
689struct resource {
690 resource_size_t start ;
691 resource_size_t end ;
692 char const *name ;
693 unsigned long flags ;
694 struct resource *parent ;
695 struct resource *sibling ;
696 struct resource *child ;
697};
698#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/tsc.h"
699typedef unsigned long long cycles_t;
700#line 312 "include/linux/jiffies.h"
701union ktime {
702 s64 tv64 ;
703};
704#line 59 "include/linux/ktime.h"
705typedef union ktime ktime_t;
706#line 341
707struct tvec_base;
708#line 341
709struct tvec_base;
710#line 342 "include/linux/ktime.h"
711struct timer_list {
712 struct list_head entry ;
713 unsigned long expires ;
714 struct tvec_base *base ;
715 void (*function)(unsigned long ) ;
716 unsigned long data ;
717 int slack ;
718 int start_pid ;
719 void *start_site ;
720 char start_comm[16U] ;
721 struct lockdep_map lockdep_map ;
722};
723#line 289 "include/linux/timer.h"
724struct hrtimer;
725#line 289
726struct hrtimer;
727#line 290
728enum hrtimer_restart;
729#line 302
730struct work_struct;
731#line 302
732struct work_struct;
733#line 45 "include/linux/workqueue.h"
734struct work_struct {
735 atomic_long_t data ;
736 struct list_head entry ;
737 void (*func)(struct work_struct * ) ;
738 struct lockdep_map lockdep_map ;
739};
740#line 86 "include/linux/workqueue.h"
741struct delayed_work {
742 struct work_struct work ;
743 struct timer_list timer ;
744};
745#line 46 "include/linux/pm.h"
746struct pm_message {
747 int event ;
748};
749#line 52 "include/linux/pm.h"
750typedef struct pm_message pm_message_t;
751#line 53 "include/linux/pm.h"
752struct dev_pm_ops {
753 int (*prepare)(struct device * ) ;
754 void (*complete)(struct device * ) ;
755 int (*suspend)(struct device * ) ;
756 int (*resume)(struct device * ) ;
757 int (*freeze)(struct device * ) ;
758 int (*thaw)(struct device * ) ;
759 int (*poweroff)(struct device * ) ;
760 int (*restore)(struct device * ) ;
761 int (*suspend_late)(struct device * ) ;
762 int (*resume_early)(struct device * ) ;
763 int (*freeze_late)(struct device * ) ;
764 int (*thaw_early)(struct device * ) ;
765 int (*poweroff_late)(struct device * ) ;
766 int (*restore_early)(struct device * ) ;
767 int (*suspend_noirq)(struct device * ) ;
768 int (*resume_noirq)(struct device * ) ;
769 int (*freeze_noirq)(struct device * ) ;
770 int (*thaw_noirq)(struct device * ) ;
771 int (*poweroff_noirq)(struct device * ) ;
772 int (*restore_noirq)(struct device * ) ;
773 int (*runtime_suspend)(struct device * ) ;
774 int (*runtime_resume)(struct device * ) ;
775 int (*runtime_idle)(struct device * ) ;
776};
777#line 289
778enum rpm_status {
779 RPM_ACTIVE = 0,
780 RPM_RESUMING = 1,
781 RPM_SUSPENDED = 2,
782 RPM_SUSPENDING = 3
783} ;
784#line 296
785enum rpm_request {
786 RPM_REQ_NONE = 0,
787 RPM_REQ_IDLE = 1,
788 RPM_REQ_SUSPEND = 2,
789 RPM_REQ_AUTOSUSPEND = 3,
790 RPM_REQ_RESUME = 4
791} ;
792#line 304
793struct wakeup_source;
794#line 304
795struct wakeup_source;
796#line 494 "include/linux/pm.h"
797struct pm_subsys_data {
798 spinlock_t lock ;
799 unsigned int refcount ;
800};
801#line 499
802struct dev_pm_qos_request;
803#line 499
804struct pm_qos_constraints;
805#line 499 "include/linux/pm.h"
806struct dev_pm_info {
807 pm_message_t power_state ;
808 unsigned char can_wakeup : 1 ;
809 unsigned char async_suspend : 1 ;
810 bool is_prepared ;
811 bool is_suspended ;
812 bool ignore_children ;
813 spinlock_t lock ;
814 struct list_head entry ;
815 struct completion completion ;
816 struct wakeup_source *wakeup ;
817 bool wakeup_path ;
818 struct timer_list suspend_timer ;
819 unsigned long timer_expires ;
820 struct work_struct work ;
821 wait_queue_head_t wait_queue ;
822 atomic_t usage_count ;
823 atomic_t child_count ;
824 unsigned char disable_depth : 3 ;
825 unsigned char idle_notification : 1 ;
826 unsigned char request_pending : 1 ;
827 unsigned char deferred_resume : 1 ;
828 unsigned char run_wake : 1 ;
829 unsigned char runtime_auto : 1 ;
830 unsigned char no_callbacks : 1 ;
831 unsigned char irq_safe : 1 ;
832 unsigned char use_autosuspend : 1 ;
833 unsigned char timer_autosuspends : 1 ;
834 enum rpm_request request ;
835 enum rpm_status runtime_status ;
836 int runtime_error ;
837 int autosuspend_delay ;
838 unsigned long last_busy ;
839 unsigned long active_jiffies ;
840 unsigned long suspended_jiffies ;
841 unsigned long accounting_timestamp ;
842 ktime_t suspend_time ;
843 s64 max_time_suspended_ns ;
844 struct dev_pm_qos_request *pq_req ;
845 struct pm_subsys_data *subsys_data ;
846 struct pm_qos_constraints *constraints ;
847};
848#line 558 "include/linux/pm.h"
849struct dev_pm_domain {
850 struct dev_pm_ops ops ;
851};
852#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
853struct __anonstruct_mm_context_t_101 {
854 void *ldt ;
855 int size ;
856 unsigned short ia32_compat ;
857 struct mutex lock ;
858 void *vdso ;
859};
860#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
861typedef struct __anonstruct_mm_context_t_101 mm_context_t;
862#line 18 "include/asm-generic/pci_iomap.h"
863struct vm_area_struct;
864#line 18
865struct vm_area_struct;
866#line 835 "include/linux/sysctl.h"
867struct rb_node {
868 unsigned long rb_parent_color ;
869 struct rb_node *rb_right ;
870 struct rb_node *rb_left ;
871};
872#line 108 "include/linux/rbtree.h"
873struct rb_root {
874 struct rb_node *rb_node ;
875};
876#line 176
877struct nsproxy;
878#line 176
879struct nsproxy;
880#line 177
881struct ctl_table_root;
882#line 177
883struct ctl_table_root;
884#line 178
885struct ctl_table_header;
886#line 178
887struct ctl_table_header;
888#line 179
889struct ctl_dir;
890#line 179
891struct ctl_dir;
892#line 946 "include/linux/sysctl.h"
893typedef int proc_handler(struct ctl_table * , int , void * , size_t * , loff_t * );
894#line 966 "include/linux/sysctl.h"
895struct ctl_table_poll {
896 atomic_t event ;
897 wait_queue_head_t wait ;
898};
899#line 1005 "include/linux/sysctl.h"
900struct ctl_table {
901 char const *procname ;
902 void *data ;
903 int maxlen ;
904 umode_t mode ;
905 struct ctl_table *child ;
906 proc_handler *proc_handler ;
907 struct ctl_table_poll *poll ;
908 void *extra1 ;
909 void *extra2 ;
910};
911#line 1026 "include/linux/sysctl.h"
912struct ctl_node {
913 struct rb_node node ;
914 struct ctl_table_header *header ;
915};
916#line 1031 "include/linux/sysctl.h"
917struct __anonstruct_ldv_12569_129 {
918 struct ctl_table *ctl_table ;
919 int used ;
920 int count ;
921 int nreg ;
922};
923#line 1031 "include/linux/sysctl.h"
924union __anonunion_ldv_12571_128 {
925 struct __anonstruct_ldv_12569_129 ldv_12569 ;
926 struct rcu_head rcu ;
927};
928#line 1031
929struct ctl_table_set;
930#line 1031 "include/linux/sysctl.h"
931struct ctl_table_header {
932 union __anonunion_ldv_12571_128 ldv_12571 ;
933 struct completion *unregistering ;
934 struct ctl_table *ctl_table_arg ;
935 struct ctl_table_root *root ;
936 struct ctl_table_set *set ;
937 struct ctl_dir *parent ;
938 struct ctl_node *node ;
939};
940#line 1052 "include/linux/sysctl.h"
941struct ctl_dir {
942 struct ctl_table_header header ;
943 struct rb_root root ;
944};
945#line 1058 "include/linux/sysctl.h"
946struct ctl_table_set {
947 int (*is_seen)(struct ctl_table_set * ) ;
948 struct ctl_dir dir ;
949};
950#line 1063 "include/linux/sysctl.h"
951struct ctl_table_root {
952 struct ctl_table_set default_set ;
953 struct ctl_table_set *(*lookup)(struct ctl_table_root * , struct nsproxy * ) ;
954 int (*permissions)(struct ctl_table_root * , struct nsproxy * , struct ctl_table * ) ;
955};
956#line 37 "include/linux/kmod.h"
957struct cred;
958#line 37
959struct cred;
960#line 18 "include/linux/elf.h"
961typedef __u64 Elf64_Addr;
962#line 19 "include/linux/elf.h"
963typedef __u16 Elf64_Half;
964#line 23 "include/linux/elf.h"
965typedef __u32 Elf64_Word;
966#line 24 "include/linux/elf.h"
967typedef __u64 Elf64_Xword;
968#line 193 "include/linux/elf.h"
969struct elf64_sym {
970 Elf64_Word st_name ;
971 unsigned char st_info ;
972 unsigned char st_other ;
973 Elf64_Half st_shndx ;
974 Elf64_Addr st_value ;
975 Elf64_Xword st_size ;
976};
977#line 201 "include/linux/elf.h"
978typedef struct elf64_sym Elf64_Sym;
979#line 445
980struct sock;
981#line 445
982struct sock;
983#line 446
984struct kobject;
985#line 446
986struct kobject;
987#line 447
988enum kobj_ns_type {
989 KOBJ_NS_TYPE_NONE = 0,
990 KOBJ_NS_TYPE_NET = 1,
991 KOBJ_NS_TYPES = 2
992} ;
993#line 453 "include/linux/elf.h"
994struct kobj_ns_type_operations {
995 enum kobj_ns_type type ;
996 void *(*grab_current_ns)(void) ;
997 void const *(*netlink_ns)(struct sock * ) ;
998 void const *(*initial_ns)(void) ;
999 void (*drop_ns)(void * ) ;
1000};
1001#line 57 "include/linux/kobject_ns.h"
1002struct attribute {
1003 char const *name ;
1004 umode_t mode ;
1005 struct lock_class_key *key ;
1006 struct lock_class_key skey ;
1007};
1008#line 33 "include/linux/sysfs.h"
1009struct attribute_group {
1010 char const *name ;
1011 umode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
1012 struct attribute **attrs ;
1013};
1014#line 62 "include/linux/sysfs.h"
1015struct bin_attribute {
1016 struct attribute attr ;
1017 size_t size ;
1018 void *private ;
1019 ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1020 loff_t , size_t ) ;
1021 ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1022 loff_t , size_t ) ;
1023 int (*mmap)(struct file * , struct kobject * , struct bin_attribute * , struct vm_area_struct * ) ;
1024};
1025#line 98 "include/linux/sysfs.h"
1026struct sysfs_ops {
1027 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
1028 ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ;
1029 void const *(*namespace)(struct kobject * , struct attribute const * ) ;
1030};
1031#line 117
1032struct sysfs_dirent;
1033#line 117
1034struct sysfs_dirent;
1035#line 182 "include/linux/sysfs.h"
1036struct kref {
1037 atomic_t refcount ;
1038};
1039#line 49 "include/linux/kobject.h"
1040struct kset;
1041#line 49
1042struct kobj_type;
1043#line 49 "include/linux/kobject.h"
1044struct kobject {
1045 char const *name ;
1046 struct list_head entry ;
1047 struct kobject *parent ;
1048 struct kset *kset ;
1049 struct kobj_type *ktype ;
1050 struct sysfs_dirent *sd ;
1051 struct kref kref ;
1052 unsigned char state_initialized : 1 ;
1053 unsigned char state_in_sysfs : 1 ;
1054 unsigned char state_add_uevent_sent : 1 ;
1055 unsigned char state_remove_uevent_sent : 1 ;
1056 unsigned char uevent_suppress : 1 ;
1057};
1058#line 107 "include/linux/kobject.h"
1059struct kobj_type {
1060 void (*release)(struct kobject * ) ;
1061 struct sysfs_ops const *sysfs_ops ;
1062 struct attribute **default_attrs ;
1063 struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject * ) ;
1064 void const *(*namespace)(struct kobject * ) ;
1065};
1066#line 115 "include/linux/kobject.h"
1067struct kobj_uevent_env {
1068 char *envp[32U] ;
1069 int envp_idx ;
1070 char buf[2048U] ;
1071 int buflen ;
1072};
1073#line 122 "include/linux/kobject.h"
1074struct kset_uevent_ops {
1075 int (* const filter)(struct kset * , struct kobject * ) ;
1076 char const *(* const name)(struct kset * , struct kobject * ) ;
1077 int (* const uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
1078};
1079#line 139 "include/linux/kobject.h"
1080struct kset {
1081 struct list_head list ;
1082 spinlock_t list_lock ;
1083 struct kobject kobj ;
1084 struct kset_uevent_ops const *uevent_ops ;
1085};
1086#line 215
1087struct kernel_param;
1088#line 215
1089struct kernel_param;
1090#line 216 "include/linux/kobject.h"
1091struct kernel_param_ops {
1092 int (*set)(char const * , struct kernel_param const * ) ;
1093 int (*get)(char * , struct kernel_param const * ) ;
1094 void (*free)(void * ) ;
1095};
1096#line 49 "include/linux/moduleparam.h"
1097struct kparam_string;
1098#line 49
1099struct kparam_array;
1100#line 49 "include/linux/moduleparam.h"
1101union __anonunion_ldv_13363_134 {
1102 void *arg ;
1103 struct kparam_string const *str ;
1104 struct kparam_array const *arr ;
1105};
1106#line 49 "include/linux/moduleparam.h"
1107struct kernel_param {
1108 char const *name ;
1109 struct kernel_param_ops const *ops ;
1110 u16 perm ;
1111 s16 level ;
1112 union __anonunion_ldv_13363_134 ldv_13363 ;
1113};
1114#line 61 "include/linux/moduleparam.h"
1115struct kparam_string {
1116 unsigned int maxlen ;
1117 char *string ;
1118};
1119#line 67 "include/linux/moduleparam.h"
1120struct kparam_array {
1121 unsigned int max ;
1122 unsigned int elemsize ;
1123 unsigned int *num ;
1124 struct kernel_param_ops const *ops ;
1125 void *elem ;
1126};
1127#line 458 "include/linux/moduleparam.h"
1128struct static_key {
1129 atomic_t enabled ;
1130};
1131#line 225 "include/linux/jump_label.h"
1132struct tracepoint;
1133#line 225
1134struct tracepoint;
1135#line 226 "include/linux/jump_label.h"
1136struct tracepoint_func {
1137 void *func ;
1138 void *data ;
1139};
1140#line 29 "include/linux/tracepoint.h"
1141struct tracepoint {
1142 char const *name ;
1143 struct static_key key ;
1144 void (*regfunc)(void) ;
1145 void (*unregfunc)(void) ;
1146 struct tracepoint_func *funcs ;
1147};
1148#line 86 "include/linux/tracepoint.h"
1149struct kernel_symbol {
1150 unsigned long value ;
1151 char const *name ;
1152};
1153#line 27 "include/linux/export.h"
1154struct mod_arch_specific {
1155
1156};
1157#line 34 "include/linux/module.h"
1158struct module_param_attrs;
1159#line 34 "include/linux/module.h"
1160struct module_kobject {
1161 struct kobject kobj ;
1162 struct module *mod ;
1163 struct kobject *drivers_dir ;
1164 struct module_param_attrs *mp ;
1165};
1166#line 43 "include/linux/module.h"
1167struct module_attribute {
1168 struct attribute attr ;
1169 ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
1170 ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const * ,
1171 size_t ) ;
1172 void (*setup)(struct module * , char const * ) ;
1173 int (*test)(struct module * ) ;
1174 void (*free)(struct module * ) ;
1175};
1176#line 69
1177struct exception_table_entry;
1178#line 69
1179struct exception_table_entry;
1180#line 198
1181enum module_state {
1182 MODULE_STATE_LIVE = 0,
1183 MODULE_STATE_COMING = 1,
1184 MODULE_STATE_GOING = 2
1185} ;
1186#line 204 "include/linux/module.h"
1187struct module_ref {
1188 unsigned long incs ;
1189 unsigned long decs ;
1190};
1191#line 219
1192struct module_sect_attrs;
1193#line 219
1194struct module_notes_attrs;
1195#line 219
1196struct ftrace_event_call;
1197#line 219 "include/linux/module.h"
1198struct module {
1199 enum module_state state ;
1200 struct list_head list ;
1201 char name[56U] ;
1202 struct module_kobject mkobj ;
1203 struct module_attribute *modinfo_attrs ;
1204 char const *version ;
1205 char const *srcversion ;
1206 struct kobject *holders_dir ;
1207 struct kernel_symbol const *syms ;
1208 unsigned long const *crcs ;
1209 unsigned int num_syms ;
1210 struct kernel_param *kp ;
1211 unsigned int num_kp ;
1212 unsigned int num_gpl_syms ;
1213 struct kernel_symbol const *gpl_syms ;
1214 unsigned long const *gpl_crcs ;
1215 struct kernel_symbol const *unused_syms ;
1216 unsigned long const *unused_crcs ;
1217 unsigned int num_unused_syms ;
1218 unsigned int num_unused_gpl_syms ;
1219 struct kernel_symbol const *unused_gpl_syms ;
1220 unsigned long const *unused_gpl_crcs ;
1221 struct kernel_symbol const *gpl_future_syms ;
1222 unsigned long const *gpl_future_crcs ;
1223 unsigned int num_gpl_future_syms ;
1224 unsigned int num_exentries ;
1225 struct exception_table_entry *extable ;
1226 int (*init)(void) ;
1227 void *module_init ;
1228 void *module_core ;
1229 unsigned int init_size ;
1230 unsigned int core_size ;
1231 unsigned int init_text_size ;
1232 unsigned int core_text_size ;
1233 unsigned int init_ro_size ;
1234 unsigned int core_ro_size ;
1235 struct mod_arch_specific arch ;
1236 unsigned int taints ;
1237 unsigned int num_bugs ;
1238 struct list_head bug_list ;
1239 struct bug_entry *bug_table ;
1240 Elf64_Sym *symtab ;
1241 Elf64_Sym *core_symtab ;
1242 unsigned int num_symtab ;
1243 unsigned int core_num_syms ;
1244 char *strtab ;
1245 char *core_strtab ;
1246 struct module_sect_attrs *sect_attrs ;
1247 struct module_notes_attrs *notes_attrs ;
1248 char *args ;
1249 void *percpu ;
1250 unsigned int percpu_size ;
1251 unsigned int num_tracepoints ;
1252 struct tracepoint * const *tracepoints_ptrs ;
1253 unsigned int num_trace_bprintk_fmt ;
1254 char const **trace_bprintk_fmt_start ;
1255 struct ftrace_event_call **trace_events ;
1256 unsigned int num_trace_events ;
1257 struct list_head source_list ;
1258 struct list_head target_list ;
1259 struct task_struct *waiter ;
1260 void (*exit)(void) ;
1261 struct module_ref *refptr ;
1262 ctor_fn_t (**ctors)(void) ;
1263 unsigned int num_ctors ;
1264};
1265#line 88 "include/linux/kmemleak.h"
1266struct kmem_cache_cpu {
1267 void **freelist ;
1268 unsigned long tid ;
1269 struct page *page ;
1270 struct page *partial ;
1271 int node ;
1272 unsigned int stat[26U] ;
1273};
1274#line 55 "include/linux/slub_def.h"
1275struct kmem_cache_node {
1276 spinlock_t list_lock ;
1277 unsigned long nr_partial ;
1278 struct list_head partial ;
1279 atomic_long_t nr_slabs ;
1280 atomic_long_t total_objects ;
1281 struct list_head full ;
1282};
1283#line 66 "include/linux/slub_def.h"
1284struct kmem_cache_order_objects {
1285 unsigned long x ;
1286};
1287#line 76 "include/linux/slub_def.h"
1288struct kmem_cache {
1289 struct kmem_cache_cpu *cpu_slab ;
1290 unsigned long flags ;
1291 unsigned long min_partial ;
1292 int size ;
1293 int objsize ;
1294 int offset ;
1295 int cpu_partial ;
1296 struct kmem_cache_order_objects oo ;
1297 struct kmem_cache_order_objects max ;
1298 struct kmem_cache_order_objects min ;
1299 gfp_t allocflags ;
1300 int refcount ;
1301 void (*ctor)(void * ) ;
1302 int inuse ;
1303 int align ;
1304 int reserved ;
1305 char const *name ;
1306 struct list_head list ;
1307 struct kobject kobj ;
1308 int remote_node_defrag_ratio ;
1309 struct kmem_cache_node *node[1024U] ;
1310};
1311#line 15 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
1312enum irqreturn {
1313 IRQ_NONE = 0,
1314 IRQ_HANDLED = 1,
1315 IRQ_WAKE_THREAD = 2
1316} ;
1317#line 16 "include/linux/irqreturn.h"
1318typedef enum irqreturn irqreturn_t;
1319#line 348 "include/linux/irq.h"
1320struct proc_dir_entry;
1321#line 348
1322struct proc_dir_entry;
1323#line 41 "include/asm-generic/sections.h"
1324struct exception_table_entry {
1325 unsigned long insn ;
1326 unsigned long fixup ;
1327};
1328#line 189 "include/linux/hardirq.h"
1329struct timerqueue_node {
1330 struct rb_node node ;
1331 ktime_t expires ;
1332};
1333#line 12 "include/linux/timerqueue.h"
1334struct timerqueue_head {
1335 struct rb_root head ;
1336 struct timerqueue_node *next ;
1337};
1338#line 50
1339struct hrtimer_clock_base;
1340#line 50
1341struct hrtimer_clock_base;
1342#line 51
1343struct hrtimer_cpu_base;
1344#line 51
1345struct hrtimer_cpu_base;
1346#line 60
1347enum hrtimer_restart {
1348 HRTIMER_NORESTART = 0,
1349 HRTIMER_RESTART = 1
1350} ;
1351#line 65 "include/linux/timerqueue.h"
1352struct hrtimer {
1353 struct timerqueue_node node ;
1354 ktime_t _softexpires ;
1355 enum hrtimer_restart (*function)(struct hrtimer * ) ;
1356 struct hrtimer_clock_base *base ;
1357 unsigned long state ;
1358 int start_pid ;
1359 void *start_site ;
1360 char start_comm[16U] ;
1361};
1362#line 132 "include/linux/hrtimer.h"
1363struct hrtimer_clock_base {
1364 struct hrtimer_cpu_base *cpu_base ;
1365 int index ;
1366 clockid_t clockid ;
1367 struct timerqueue_head active ;
1368 ktime_t resolution ;
1369 ktime_t (*get_time)(void) ;
1370 ktime_t softirq_time ;
1371 ktime_t offset ;
1372};
1373#line 162 "include/linux/hrtimer.h"
1374struct hrtimer_cpu_base {
1375 raw_spinlock_t lock ;
1376 unsigned long active_bases ;
1377 ktime_t expires_next ;
1378 int hres_active ;
1379 int hang_detected ;
1380 unsigned long nr_events ;
1381 unsigned long nr_retries ;
1382 unsigned long nr_hangs ;
1383 ktime_t max_hang_time ;
1384 struct hrtimer_clock_base clock_base[3U] ;
1385};
1386#line 11 "include/linux/socket.h"
1387typedef unsigned short __kernel_sa_family_t;
1388#line 18 "include/linux/socket.h"
1389struct iovec {
1390 void *iov_base ;
1391 __kernel_size_t iov_len ;
1392};
1393#line 40 "include/linux/socket.h"
1394typedef __kernel_sa_family_t sa_family_t;
1395#line 41 "include/linux/socket.h"
1396struct sockaddr {
1397 sa_family_t sa_family ;
1398 char sa_data[14U] ;
1399};
1400#line 41 "include/linux/hdlc/ioctl.h"
1401struct __anonstruct_sync_serial_settings_136 {
1402 unsigned int clock_rate ;
1403 unsigned int clock_type ;
1404 unsigned short loopback ;
1405};
1406#line 41 "include/linux/hdlc/ioctl.h"
1407typedef struct __anonstruct_sync_serial_settings_136 sync_serial_settings;
1408#line 48 "include/linux/hdlc/ioctl.h"
1409struct __anonstruct_te1_settings_137 {
1410 unsigned int clock_rate ;
1411 unsigned int clock_type ;
1412 unsigned short loopback ;
1413 unsigned int slot_map ;
1414};
1415#line 48 "include/linux/hdlc/ioctl.h"
1416typedef struct __anonstruct_te1_settings_137 te1_settings;
1417#line 53 "include/linux/hdlc/ioctl.h"
1418struct __anonstruct_raw_hdlc_proto_138 {
1419 unsigned short encoding ;
1420 unsigned short parity ;
1421};
1422#line 53 "include/linux/hdlc/ioctl.h"
1423typedef struct __anonstruct_raw_hdlc_proto_138 raw_hdlc_proto;
1424#line 63 "include/linux/hdlc/ioctl.h"
1425struct __anonstruct_fr_proto_139 {
1426 unsigned int t391 ;
1427 unsigned int t392 ;
1428 unsigned int n391 ;
1429 unsigned int n392 ;
1430 unsigned int n393 ;
1431 unsigned short lmi ;
1432 unsigned short dce ;
1433};
1434#line 63 "include/linux/hdlc/ioctl.h"
1435typedef struct __anonstruct_fr_proto_139 fr_proto;
1436#line 67 "include/linux/hdlc/ioctl.h"
1437struct __anonstruct_fr_proto_pvc_140 {
1438 unsigned int dlci ;
1439};
1440#line 67 "include/linux/hdlc/ioctl.h"
1441typedef struct __anonstruct_fr_proto_pvc_140 fr_proto_pvc;
1442#line 72 "include/linux/hdlc/ioctl.h"
1443struct __anonstruct_fr_proto_pvc_info_141 {
1444 unsigned int dlci ;
1445 char master[16U] ;
1446};
1447#line 72 "include/linux/hdlc/ioctl.h"
1448typedef struct __anonstruct_fr_proto_pvc_info_141 fr_proto_pvc_info;
1449#line 77 "include/linux/hdlc/ioctl.h"
1450struct __anonstruct_cisco_proto_142 {
1451 unsigned int interval ;
1452 unsigned int timeout ;
1453};
1454#line 77 "include/linux/hdlc/ioctl.h"
1455typedef struct __anonstruct_cisco_proto_142 cisco_proto;
1456#line 93 "include/linux/hdlc/ioctl.h"
1457struct ifmap {
1458 unsigned long mem_start ;
1459 unsigned long mem_end ;
1460 unsigned short base_addr ;
1461 unsigned char irq ;
1462 unsigned char dma ;
1463 unsigned char port ;
1464};
1465#line 148 "include/linux/if.h"
1466union __anonunion_ifs_ifsu_143 {
1467 raw_hdlc_proto *raw_hdlc ;
1468 cisco_proto *cisco ;
1469 fr_proto *fr ;
1470 fr_proto_pvc *fr_pvc ;
1471 fr_proto_pvc_info *fr_pvc_info ;
1472 sync_serial_settings *sync ;
1473 te1_settings *te1 ;
1474};
1475#line 148 "include/linux/if.h"
1476struct if_settings {
1477 unsigned int type ;
1478 unsigned int size ;
1479 union __anonunion_ifs_ifsu_143 ifs_ifsu ;
1480};
1481#line 166 "include/linux/if.h"
1482union __anonunion_ifr_ifrn_144 {
1483 char ifrn_name[16U] ;
1484};
1485#line 166 "include/linux/if.h"
1486union __anonunion_ifr_ifru_145 {
1487 struct sockaddr ifru_addr ;
1488 struct sockaddr ifru_dstaddr ;
1489 struct sockaddr ifru_broadaddr ;
1490 struct sockaddr ifru_netmask ;
1491 struct sockaddr ifru_hwaddr ;
1492 short ifru_flags ;
1493 int ifru_ivalue ;
1494 int ifru_mtu ;
1495 struct ifmap ifru_map ;
1496 char ifru_slave[16U] ;
1497 char ifru_newname[16U] ;
1498 void *ifru_data ;
1499 struct if_settings ifru_settings ;
1500};
1501#line 166 "include/linux/if.h"
1502struct ifreq {
1503 union __anonunion_ifr_ifrn_144 ifr_ifrn ;
1504 union __anonunion_ifr_ifru_145 ifr_ifru ;
1505};
1506#line 230 "include/linux/if.h"
1507struct ethhdr {
1508 unsigned char h_dest[6U] ;
1509 unsigned char h_source[6U] ;
1510 __be16 h_proto ;
1511};
1512#line 132 "include/linux/if_ether.h"
1513struct prio_tree_node;
1514#line 132 "include/linux/if_ether.h"
1515struct raw_prio_tree_node {
1516 struct prio_tree_node *left ;
1517 struct prio_tree_node *right ;
1518 struct prio_tree_node *parent ;
1519};
1520#line 19 "include/linux/prio_tree.h"
1521struct prio_tree_node {
1522 struct prio_tree_node *left ;
1523 struct prio_tree_node *right ;
1524 struct prio_tree_node *parent ;
1525 unsigned long start ;
1526 unsigned long last ;
1527};
1528#line 27 "include/linux/prio_tree.h"
1529struct prio_tree_root {
1530 struct prio_tree_node *prio_tree_node ;
1531 unsigned short index_bits ;
1532 unsigned short raw ;
1533};
1534#line 116
1535struct address_space;
1536#line 116
1537struct address_space;
1538#line 117 "include/linux/prio_tree.h"
1539union __anonunion_ldv_16053_148 {
1540 unsigned long index ;
1541 void *freelist ;
1542};
1543#line 117 "include/linux/prio_tree.h"
1544struct __anonstruct_ldv_16063_152 {
1545 unsigned short inuse ;
1546 unsigned short objects : 15 ;
1547 unsigned char frozen : 1 ;
1548};
1549#line 117 "include/linux/prio_tree.h"
1550union __anonunion_ldv_16064_151 {
1551 atomic_t _mapcount ;
1552 struct __anonstruct_ldv_16063_152 ldv_16063 ;
1553};
1554#line 117 "include/linux/prio_tree.h"
1555struct __anonstruct_ldv_16066_150 {
1556 union __anonunion_ldv_16064_151 ldv_16064 ;
1557 atomic_t _count ;
1558};
1559#line 117 "include/linux/prio_tree.h"
1560union __anonunion_ldv_16067_149 {
1561 unsigned long counters ;
1562 struct __anonstruct_ldv_16066_150 ldv_16066 ;
1563};
1564#line 117 "include/linux/prio_tree.h"
1565struct __anonstruct_ldv_16068_147 {
1566 union __anonunion_ldv_16053_148 ldv_16053 ;
1567 union __anonunion_ldv_16067_149 ldv_16067 ;
1568};
1569#line 117 "include/linux/prio_tree.h"
1570struct __anonstruct_ldv_16075_154 {
1571 struct page *next ;
1572 int pages ;
1573 int pobjects ;
1574};
1575#line 117 "include/linux/prio_tree.h"
1576union __anonunion_ldv_16076_153 {
1577 struct list_head lru ;
1578 struct __anonstruct_ldv_16075_154 ldv_16075 ;
1579};
1580#line 117 "include/linux/prio_tree.h"
1581union __anonunion_ldv_16081_155 {
1582 unsigned long private ;
1583 struct kmem_cache *slab ;
1584 struct page *first_page ;
1585};
1586#line 117 "include/linux/prio_tree.h"
1587struct page {
1588 unsigned long flags ;
1589 struct address_space *mapping ;
1590 struct __anonstruct_ldv_16068_147 ldv_16068 ;
1591 union __anonunion_ldv_16076_153 ldv_16076 ;
1592 union __anonunion_ldv_16081_155 ldv_16081 ;
1593 unsigned long debug_flags ;
1594};
1595#line 192 "include/linux/mm_types.h"
1596struct __anonstruct_vm_set_157 {
1597 struct list_head list ;
1598 void *parent ;
1599 struct vm_area_struct *head ;
1600};
1601#line 192 "include/linux/mm_types.h"
1602union __anonunion_shared_156 {
1603 struct __anonstruct_vm_set_157 vm_set ;
1604 struct raw_prio_tree_node prio_tree_node ;
1605};
1606#line 192
1607struct anon_vma;
1608#line 192
1609struct vm_operations_struct;
1610#line 192
1611struct mempolicy;
1612#line 192 "include/linux/mm_types.h"
1613struct vm_area_struct {
1614 struct mm_struct *vm_mm ;
1615 unsigned long vm_start ;
1616 unsigned long vm_end ;
1617 struct vm_area_struct *vm_next ;
1618 struct vm_area_struct *vm_prev ;
1619 pgprot_t vm_page_prot ;
1620 unsigned long vm_flags ;
1621 struct rb_node vm_rb ;
1622 union __anonunion_shared_156 shared ;
1623 struct list_head anon_vma_chain ;
1624 struct anon_vma *anon_vma ;
1625 struct vm_operations_struct const *vm_ops ;
1626 unsigned long vm_pgoff ;
1627 struct file *vm_file ;
1628 void *vm_private_data ;
1629 struct mempolicy *vm_policy ;
1630};
1631#line 255 "include/linux/mm_types.h"
1632struct core_thread {
1633 struct task_struct *task ;
1634 struct core_thread *next ;
1635};
1636#line 261 "include/linux/mm_types.h"
1637struct core_state {
1638 atomic_t nr_threads ;
1639 struct core_thread dumper ;
1640 struct completion startup ;
1641};
1642#line 274 "include/linux/mm_types.h"
1643struct mm_rss_stat {
1644 atomic_long_t count[3U] ;
1645};
1646#line 287
1647struct linux_binfmt;
1648#line 287
1649struct mmu_notifier_mm;
1650#line 287 "include/linux/mm_types.h"
1651struct mm_struct {
1652 struct vm_area_struct *mmap ;
1653 struct rb_root mm_rb ;
1654 struct vm_area_struct *mmap_cache ;
1655 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
1656 unsigned long , unsigned long ) ;
1657 void (*unmap_area)(struct mm_struct * , unsigned long ) ;
1658 unsigned long mmap_base ;
1659 unsigned long task_size ;
1660 unsigned long cached_hole_size ;
1661 unsigned long free_area_cache ;
1662 pgd_t *pgd ;
1663 atomic_t mm_users ;
1664 atomic_t mm_count ;
1665 int map_count ;
1666 spinlock_t page_table_lock ;
1667 struct rw_semaphore mmap_sem ;
1668 struct list_head mmlist ;
1669 unsigned long hiwater_rss ;
1670 unsigned long hiwater_vm ;
1671 unsigned long total_vm ;
1672 unsigned long locked_vm ;
1673 unsigned long pinned_vm ;
1674 unsigned long shared_vm ;
1675 unsigned long exec_vm ;
1676 unsigned long stack_vm ;
1677 unsigned long reserved_vm ;
1678 unsigned long def_flags ;
1679 unsigned long nr_ptes ;
1680 unsigned long start_code ;
1681 unsigned long end_code ;
1682 unsigned long start_data ;
1683 unsigned long end_data ;
1684 unsigned long start_brk ;
1685 unsigned long brk ;
1686 unsigned long start_stack ;
1687 unsigned long arg_start ;
1688 unsigned long arg_end ;
1689 unsigned long env_start ;
1690 unsigned long env_end ;
1691 unsigned long saved_auxv[44U] ;
1692 struct mm_rss_stat rss_stat ;
1693 struct linux_binfmt *binfmt ;
1694 cpumask_var_t cpu_vm_mask_var ;
1695 mm_context_t context ;
1696 unsigned int faultstamp ;
1697 unsigned int token_priority ;
1698 unsigned int last_interval ;
1699 unsigned long flags ;
1700 struct core_state *core_state ;
1701 spinlock_t ioctx_lock ;
1702 struct hlist_head ioctx_list ;
1703 struct task_struct *owner ;
1704 struct file *exe_file ;
1705 unsigned long num_exe_file_vmas ;
1706 struct mmu_notifier_mm *mmu_notifier_mm ;
1707 pgtable_t pmd_huge_pte ;
1708 struct cpumask cpumask_allocation ;
1709};
1710#line 174 "include/asm-generic/fcntl.h"
1711struct poll_table_struct;
1712#line 174
1713struct poll_table_struct;
1714#line 175
1715struct pipe_inode_info;
1716#line 175
1717struct pipe_inode_info;
1718#line 176
1719struct inode;
1720#line 176
1721struct inode;
1722#line 177
1723struct net;
1724#line 177
1725struct net;
1726#line 194
1727struct fasync_struct;
1728#line 153 "include/linux/net.h"
1729struct kiocb;
1730#line 153
1731struct kiocb;
1732#line 108 "include/net/checksum.h"
1733struct sk_buff;
1734#line 108
1735struct sk_buff;
1736#line 120
1737struct klist_node;
1738#line 120
1739struct klist_node;
1740#line 37 "include/linux/klist.h"
1741struct klist_node {
1742 void *n_klist ;
1743 struct list_head n_node ;
1744 struct kref n_ref ;
1745};
1746#line 67
1747struct dma_map_ops;
1748#line 67 "include/linux/klist.h"
1749struct dev_archdata {
1750 void *acpi_handle ;
1751 struct dma_map_ops *dma_ops ;
1752 void *iommu ;
1753};
1754#line 17 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1755struct device_private;
1756#line 17
1757struct device_private;
1758#line 18
1759struct device_driver;
1760#line 18
1761struct device_driver;
1762#line 19
1763struct driver_private;
1764#line 19
1765struct driver_private;
1766#line 20
1767struct class;
1768#line 20
1769struct class;
1770#line 21
1771struct subsys_private;
1772#line 21
1773struct subsys_private;
1774#line 22
1775struct bus_type;
1776#line 22
1777struct bus_type;
1778#line 23
1779struct device_node;
1780#line 23
1781struct device_node;
1782#line 24
1783struct iommu_ops;
1784#line 24
1785struct iommu_ops;
1786#line 25 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1787struct bus_attribute {
1788 struct attribute attr ;
1789 ssize_t (*show)(struct bus_type * , char * ) ;
1790 ssize_t (*store)(struct bus_type * , char const * , size_t ) ;
1791};
1792#line 51 "include/linux/device.h"
1793struct device_attribute;
1794#line 51
1795struct driver_attribute;
1796#line 51 "include/linux/device.h"
1797struct bus_type {
1798 char const *name ;
1799 char const *dev_name ;
1800 struct device *dev_root ;
1801 struct bus_attribute *bus_attrs ;
1802 struct device_attribute *dev_attrs ;
1803 struct driver_attribute *drv_attrs ;
1804 int (*match)(struct device * , struct device_driver * ) ;
1805 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1806 int (*probe)(struct device * ) ;
1807 int (*remove)(struct device * ) ;
1808 void (*shutdown)(struct device * ) ;
1809 int (*suspend)(struct device * , pm_message_t ) ;
1810 int (*resume)(struct device * ) ;
1811 struct dev_pm_ops const *pm ;
1812 struct iommu_ops *iommu_ops ;
1813 struct subsys_private *p ;
1814};
1815#line 125
1816struct device_type;
1817#line 182
1818struct of_device_id;
1819#line 182 "include/linux/device.h"
1820struct device_driver {
1821 char const *name ;
1822 struct bus_type *bus ;
1823 struct module *owner ;
1824 char const *mod_name ;
1825 bool suppress_bind_attrs ;
1826 struct of_device_id const *of_match_table ;
1827 int (*probe)(struct device * ) ;
1828 int (*remove)(struct device * ) ;
1829 void (*shutdown)(struct device * ) ;
1830 int (*suspend)(struct device * , pm_message_t ) ;
1831 int (*resume)(struct device * ) ;
1832 struct attribute_group const **groups ;
1833 struct dev_pm_ops const *pm ;
1834 struct driver_private *p ;
1835};
1836#line 245 "include/linux/device.h"
1837struct driver_attribute {
1838 struct attribute attr ;
1839 ssize_t (*show)(struct device_driver * , char * ) ;
1840 ssize_t (*store)(struct device_driver * , char const * , size_t ) ;
1841};
1842#line 299
1843struct class_attribute;
1844#line 299 "include/linux/device.h"
1845struct class {
1846 char const *name ;
1847 struct module *owner ;
1848 struct class_attribute *class_attrs ;
1849 struct device_attribute *dev_attrs ;
1850 struct bin_attribute *dev_bin_attrs ;
1851 struct kobject *dev_kobj ;
1852 int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ;
1853 char *(*devnode)(struct device * , umode_t * ) ;
1854 void (*class_release)(struct class * ) ;
1855 void (*dev_release)(struct device * ) ;
1856 int (*suspend)(struct device * , pm_message_t ) ;
1857 int (*resume)(struct device * ) ;
1858 struct kobj_ns_type_operations const *ns_type ;
1859 void const *(*namespace)(struct device * ) ;
1860 struct dev_pm_ops const *pm ;
1861 struct subsys_private *p ;
1862};
1863#line 394 "include/linux/device.h"
1864struct class_attribute {
1865 struct attribute attr ;
1866 ssize_t (*show)(struct class * , struct class_attribute * , char * ) ;
1867 ssize_t (*store)(struct class * , struct class_attribute * , char const * , size_t ) ;
1868 void const *(*namespace)(struct class * , struct class_attribute const * ) ;
1869};
1870#line 447 "include/linux/device.h"
1871struct device_type {
1872 char const *name ;
1873 struct attribute_group const **groups ;
1874 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1875 char *(*devnode)(struct device * , umode_t * ) ;
1876 void (*release)(struct device * ) ;
1877 struct dev_pm_ops const *pm ;
1878};
1879#line 474 "include/linux/device.h"
1880struct device_attribute {
1881 struct attribute attr ;
1882 ssize_t (*show)(struct device * , struct device_attribute * , char * ) ;
1883 ssize_t (*store)(struct device * , struct device_attribute * , char const * ,
1884 size_t ) ;
1885};
1886#line 557 "include/linux/device.h"
1887struct device_dma_parameters {
1888 unsigned int max_segment_size ;
1889 unsigned long segment_boundary_mask ;
1890};
1891#line 567
1892struct dma_coherent_mem;
1893#line 567 "include/linux/device.h"
1894struct device {
1895 struct device *parent ;
1896 struct device_private *p ;
1897 struct kobject kobj ;
1898 char const *init_name ;
1899 struct device_type const *type ;
1900 struct mutex mutex ;
1901 struct bus_type *bus ;
1902 struct device_driver *driver ;
1903 void *platform_data ;
1904 struct dev_pm_info power ;
1905 struct dev_pm_domain *pm_domain ;
1906 int numa_node ;
1907 u64 *dma_mask ;
1908 u64 coherent_dma_mask ;
1909 struct device_dma_parameters *dma_parms ;
1910 struct list_head dma_pools ;
1911 struct dma_coherent_mem *dma_mem ;
1912 struct dev_archdata archdata ;
1913 struct device_node *of_node ;
1914 dev_t devt ;
1915 u32 id ;
1916 spinlock_t devres_lock ;
1917 struct list_head devres_head ;
1918 struct klist_node knode_class ;
1919 struct class *class ;
1920 struct attribute_group const **groups ;
1921 void (*release)(struct device * ) ;
1922};
1923#line 681 "include/linux/device.h"
1924struct wakeup_source {
1925 char const *name ;
1926 struct list_head entry ;
1927 spinlock_t lock ;
1928 struct timer_list timer ;
1929 unsigned long timer_expires ;
1930 ktime_t total_time ;
1931 ktime_t max_time ;
1932 ktime_t last_time ;
1933 unsigned long event_count ;
1934 unsigned long active_count ;
1935 unsigned long relax_count ;
1936 unsigned long hit_count ;
1937 unsigned char active : 1 ;
1938};
1939#line 93 "include/linux/bit_spinlock.h"
1940struct shrink_control {
1941 gfp_t gfp_mask ;
1942 unsigned long nr_to_scan ;
1943};
1944#line 14 "include/linux/shrinker.h"
1945struct shrinker {
1946 int (*shrink)(struct shrinker * , struct shrink_control * ) ;
1947 int seeks ;
1948 long batch ;
1949 struct list_head list ;
1950 atomic_long_t nr_in_batch ;
1951};
1952#line 43
1953struct file_ra_state;
1954#line 43
1955struct file_ra_state;
1956#line 44
1957struct user_struct;
1958#line 44
1959struct user_struct;
1960#line 45
1961struct writeback_control;
1962#line 45
1963struct writeback_control;
1964#line 178 "include/linux/mm.h"
1965struct vm_fault {
1966 unsigned int flags ;
1967 unsigned long pgoff ;
1968 void *virtual_address ;
1969 struct page *page ;
1970};
1971#line 195 "include/linux/mm.h"
1972struct vm_operations_struct {
1973 void (*open)(struct vm_area_struct * ) ;
1974 void (*close)(struct vm_area_struct * ) ;
1975 int (*fault)(struct vm_area_struct * , struct vm_fault * ) ;
1976 int (*page_mkwrite)(struct vm_area_struct * , struct vm_fault * ) ;
1977 int (*access)(struct vm_area_struct * , unsigned long , void * , int , int ) ;
1978 int (*set_policy)(struct vm_area_struct * , struct mempolicy * ) ;
1979 struct mempolicy *(*get_policy)(struct vm_area_struct * , unsigned long ) ;
1980 int (*migrate)(struct vm_area_struct * , nodemask_t const * , nodemask_t const * ,
1981 unsigned long ) ;
1982};
1983#line 1631 "include/linux/mm.h"
1984struct scatterlist {
1985 unsigned long sg_magic ;
1986 unsigned long page_link ;
1987 unsigned int offset ;
1988 unsigned int length ;
1989 dma_addr_t dma_address ;
1990 unsigned int dma_length ;
1991};
1992#line 37 "include/linux/dmaengine.h"
1993typedef s32 dma_cookie_t;
1994#line 1007 "include/linux/dmaengine.h"
1995struct dma_attrs {
1996 unsigned long flags[1U] ;
1997};
1998#line 67 "include/linux/dma-attrs.h"
1999enum dma_data_direction {
2000 DMA_BIDIRECTIONAL = 0,
2001 DMA_TO_DEVICE = 1,
2002 DMA_FROM_DEVICE = 2,
2003 DMA_NONE = 3
2004} ;
2005#line 74 "include/linux/dma-attrs.h"
2006struct dma_map_ops {
2007 void *(*alloc)(struct device * , size_t , dma_addr_t * , gfp_t , struct dma_attrs * ) ;
2008 void (*free)(struct device * , size_t , void * , dma_addr_t , struct dma_attrs * ) ;
2009 int (*mmap)(struct device * , struct vm_area_struct * , void * , dma_addr_t ,
2010 size_t , struct dma_attrs * ) ;
2011 dma_addr_t (*map_page)(struct device * , struct page * , unsigned long , size_t ,
2012 enum dma_data_direction , struct dma_attrs * ) ;
2013 void (*unmap_page)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
2014 struct dma_attrs * ) ;
2015 int (*map_sg)(struct device * , struct scatterlist * , int , enum dma_data_direction ,
2016 struct dma_attrs * ) ;
2017 void (*unmap_sg)(struct device * , struct scatterlist * , int , enum dma_data_direction ,
2018 struct dma_attrs * ) ;
2019 void (*sync_single_for_cpu)(struct device * , dma_addr_t , size_t , enum dma_data_direction ) ;
2020 void (*sync_single_for_device)(struct device * , dma_addr_t , size_t , enum dma_data_direction ) ;
2021 void (*sync_sg_for_cpu)(struct device * , struct scatterlist * , int , enum dma_data_direction ) ;
2022 void (*sync_sg_for_device)(struct device * , struct scatterlist * , int , enum dma_data_direction ) ;
2023 int (*mapping_error)(struct device * , dma_addr_t ) ;
2024 int (*dma_supported)(struct device * , u64 ) ;
2025 int (*set_dma_mask)(struct device * , u64 ) ;
2026 int is_phys ;
2027};
2028#line 15 "include/linux/netdev_features.h"
2029typedef u64 netdev_features_t;
2030#line 56 "include/linux/netdev_features.h"
2031struct nf_conntrack {
2032 atomic_t use ;
2033};
2034#line 116 "include/linux/skbuff.h"
2035struct nf_bridge_info {
2036 atomic_t use ;
2037 struct net_device *physindev ;
2038 struct net_device *physoutdev ;
2039 unsigned int mask ;
2040 unsigned long data[4U] ;
2041};
2042#line 126 "include/linux/skbuff.h"
2043struct sk_buff_head {
2044 struct sk_buff *next ;
2045 struct sk_buff *prev ;
2046 __u32 qlen ;
2047 spinlock_t lock ;
2048};
2049#line 318 "include/linux/skbuff.h"
2050typedef unsigned int sk_buff_data_t;
2051#line 319
2052struct sec_path;
2053#line 319 "include/linux/skbuff.h"
2054struct __anonstruct_ldv_21231_161 {
2055 __u16 csum_start ;
2056 __u16 csum_offset ;
2057};
2058#line 319 "include/linux/skbuff.h"
2059union __anonunion_ldv_21232_160 {
2060 __wsum csum ;
2061 struct __anonstruct_ldv_21231_161 ldv_21231 ;
2062};
2063#line 319 "include/linux/skbuff.h"
2064union __anonunion_ldv_21268_162 {
2065 __u32 mark ;
2066 __u32 dropcount ;
2067 __u32 avail_size ;
2068};
2069#line 319 "include/linux/skbuff.h"
2070struct sk_buff {
2071 struct sk_buff *next ;
2072 struct sk_buff *prev ;
2073 ktime_t tstamp ;
2074 struct sock *sk ;
2075 struct net_device *dev ;
2076 char cb[48U] ;
2077 unsigned long _skb_refdst ;
2078 struct sec_path *sp ;
2079 unsigned int len ;
2080 unsigned int data_len ;
2081 __u16 mac_len ;
2082 __u16 hdr_len ;
2083 union __anonunion_ldv_21232_160 ldv_21232 ;
2084 __u32 priority ;
2085 unsigned char local_df : 1 ;
2086 unsigned char cloned : 1 ;
2087 unsigned char ip_summed : 2 ;
2088 unsigned char nohdr : 1 ;
2089 unsigned char nfctinfo : 3 ;
2090 unsigned char pkt_type : 3 ;
2091 unsigned char fclone : 2 ;
2092 unsigned char ipvs_property : 1 ;
2093 unsigned char peeked : 1 ;
2094 unsigned char nf_trace : 1 ;
2095 __be16 protocol ;
2096 void (*destructor)(struct sk_buff * ) ;
2097 struct nf_conntrack *nfct ;
2098 struct sk_buff *nfct_reasm ;
2099 struct nf_bridge_info *nf_bridge ;
2100 int skb_iif ;
2101 __u32 rxhash ;
2102 __u16 vlan_tci ;
2103 __u16 tc_index ;
2104 __u16 tc_verd ;
2105 __u16 queue_mapping ;
2106 unsigned char ndisc_nodetype : 2 ;
2107 unsigned char ooo_okay : 1 ;
2108 unsigned char l4_rxhash : 1 ;
2109 unsigned char wifi_acked_valid : 1 ;
2110 unsigned char wifi_acked : 1 ;
2111 unsigned char no_fcs : 1 ;
2112 dma_cookie_t dma_cookie ;
2113 __u32 secmark ;
2114 union __anonunion_ldv_21268_162 ldv_21268 ;
2115 sk_buff_data_t transport_header ;
2116 sk_buff_data_t network_header ;
2117 sk_buff_data_t mac_header ;
2118 sk_buff_data_t tail ;
2119 sk_buff_data_t end ;
2120 unsigned char *head ;
2121 unsigned char *data ;
2122 unsigned int truesize ;
2123 atomic_t users ;
2124};
2125#line 520
2126struct dst_entry;
2127#line 117 "include/linux/netlink.h"
2128struct nlattr {
2129 __u16 nla_len ;
2130 __u16 nla_type ;
2131};
2132#line 93 "include/linux/capability.h"
2133struct kernel_cap_struct {
2134 __u32 cap[2U] ;
2135};
2136#line 96 "include/linux/capability.h"
2137typedef struct kernel_cap_struct kernel_cap_t;
2138#line 104
2139struct dentry;
2140#line 104
2141struct dentry;
2142#line 105
2143struct user_namespace;
2144#line 105
2145struct user_namespace;
2146#line 39 "include/linux/if_link.h"
2147struct rtnl_link_stats64 {
2148 __u64 rx_packets ;
2149 __u64 tx_packets ;
2150 __u64 rx_bytes ;
2151 __u64 tx_bytes ;
2152 __u64 rx_errors ;
2153 __u64 tx_errors ;
2154 __u64 rx_dropped ;
2155 __u64 tx_dropped ;
2156 __u64 multicast ;
2157 __u64 collisions ;
2158 __u64 rx_length_errors ;
2159 __u64 rx_over_errors ;
2160 __u64 rx_crc_errors ;
2161 __u64 rx_frame_errors ;
2162 __u64 rx_fifo_errors ;
2163 __u64 rx_missed_errors ;
2164 __u64 tx_aborted_errors ;
2165 __u64 tx_carrier_errors ;
2166 __u64 tx_fifo_errors ;
2167 __u64 tx_heartbeat_errors ;
2168 __u64 tx_window_errors ;
2169 __u64 rx_compressed ;
2170 __u64 tx_compressed ;
2171};
2172#line 309 "include/linux/if_link.h"
2173struct ifla_vf_info {
2174 __u32 vf ;
2175 __u8 mac[32U] ;
2176 __u32 vlan ;
2177 __u32 qos ;
2178 __u32 tx_rate ;
2179 __u32 spoofchk ;
2180};
2181#line 393 "include/linux/if_link.h"
2182struct plist_head {
2183 struct list_head node_list ;
2184};
2185#line 84 "include/linux/plist.h"
2186struct plist_node {
2187 int prio ;
2188 struct list_head prio_list ;
2189 struct list_head node_list ;
2190};
2191#line 254
2192struct file_operations;
2193#line 71 "include/linux/miscdevice.h"
2194struct pm_qos_request {
2195 struct plist_node node ;
2196 int pm_qos_class ;
2197 struct delayed_work work ;
2198};
2199#line 35 "include/linux/pm_qos.h"
2200struct dev_pm_qos_request {
2201 struct plist_node node ;
2202 struct device *dev ;
2203};
2204#line 40
2205enum pm_qos_type {
2206 PM_QOS_UNITIALIZED = 0,
2207 PM_QOS_MAX = 1,
2208 PM_QOS_MIN = 2
2209} ;
2210#line 46 "include/linux/pm_qos.h"
2211struct pm_qos_constraints {
2212 struct plist_head list ;
2213 s32 target_value ;
2214 s32 default_value ;
2215 enum pm_qos_type type ;
2216 struct blocking_notifier_head *notifiers ;
2217};
2218#line 427 "include/linux/rculist.h"
2219struct dql {
2220 unsigned int num_queued ;
2221 unsigned int adj_limit ;
2222 unsigned int last_obj_cnt ;
2223 unsigned int limit ;
2224 unsigned int num_completed ;
2225 unsigned int prev_ovlimit ;
2226 unsigned int prev_num_queued ;
2227 unsigned int prev_last_obj_cnt ;
2228 unsigned int lowest_slack ;
2229 unsigned long slack_start_time ;
2230 unsigned int max_limit ;
2231 unsigned int min_limit ;
2232 unsigned int slack_hold_time ;
2233};
2234#line 98 "include/linux/sem.h"
2235struct sem_undo_list;
2236#line 98 "include/linux/sem.h"
2237struct sysv_sem {
2238 struct sem_undo_list *undo_list ;
2239};
2240#line 110
2241struct block_device;
2242#line 110
2243struct block_device;
2244#line 89 "include/linux/kdev_t.h"
2245struct hlist_bl_node;
2246#line 89 "include/linux/kdev_t.h"
2247struct hlist_bl_head {
2248 struct hlist_bl_node *first ;
2249};
2250#line 36 "include/linux/list_bl.h"
2251struct hlist_bl_node {
2252 struct hlist_bl_node *next ;
2253 struct hlist_bl_node **pprev ;
2254};
2255#line 114 "include/linux/rculist_bl.h"
2256struct nameidata;
2257#line 114
2258struct nameidata;
2259#line 115
2260struct path;
2261#line 115
2262struct path;
2263#line 116
2264struct vfsmount;
2265#line 116
2266struct vfsmount;
2267#line 117 "include/linux/rculist_bl.h"
2268struct qstr {
2269 unsigned int hash ;
2270 unsigned int len ;
2271 unsigned char const *name ;
2272};
2273#line 72 "include/linux/dcache.h"
2274struct dentry_operations;
2275#line 72
2276struct super_block;
2277#line 72 "include/linux/dcache.h"
2278union __anonunion_d_u_166 {
2279 struct list_head d_child ;
2280 struct rcu_head d_rcu ;
2281};
2282#line 72 "include/linux/dcache.h"
2283struct dentry {
2284 unsigned int d_flags ;
2285 seqcount_t d_seq ;
2286 struct hlist_bl_node d_hash ;
2287 struct dentry *d_parent ;
2288 struct qstr d_name ;
2289 struct inode *d_inode ;
2290 unsigned char d_iname[32U] ;
2291 unsigned int d_count ;
2292 spinlock_t d_lock ;
2293 struct dentry_operations const *d_op ;
2294 struct super_block *d_sb ;
2295 unsigned long d_time ;
2296 void *d_fsdata ;
2297 struct list_head d_lru ;
2298 union __anonunion_d_u_166 d_u ;
2299 struct list_head d_subdirs ;
2300 struct list_head d_alias ;
2301};
2302#line 123 "include/linux/dcache.h"
2303struct dentry_operations {
2304 int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
2305 int (*d_hash)(struct dentry const * , struct inode const * , struct qstr * ) ;
2306 int (*d_compare)(struct dentry const * , struct inode const * , struct dentry const * ,
2307 struct inode const * , unsigned int , char const * , struct qstr const * ) ;
2308 int (*d_delete)(struct dentry const * ) ;
2309 void (*d_release)(struct dentry * ) ;
2310 void (*d_prune)(struct dentry * ) ;
2311 void (*d_iput)(struct dentry * , struct inode * ) ;
2312 char *(*d_dname)(struct dentry * , char * , int ) ;
2313 struct vfsmount *(*d_automount)(struct path * ) ;
2314 int (*d_manage)(struct dentry * , bool ) ;
2315};
2316#line 402 "include/linux/dcache.h"
2317struct path {
2318 struct vfsmount *mnt ;
2319 struct dentry *dentry ;
2320};
2321#line 58 "include/linux/radix-tree.h"
2322struct radix_tree_node;
2323#line 58 "include/linux/radix-tree.h"
2324struct radix_tree_root {
2325 unsigned int height ;
2326 gfp_t gfp_mask ;
2327 struct radix_tree_node *rnode ;
2328};
2329#line 377
2330enum pid_type {
2331 PIDTYPE_PID = 0,
2332 PIDTYPE_PGID = 1,
2333 PIDTYPE_SID = 2,
2334 PIDTYPE_MAX = 3
2335} ;
2336#line 384
2337struct pid_namespace;
2338#line 384 "include/linux/radix-tree.h"
2339struct upid {
2340 int nr ;
2341 struct pid_namespace *ns ;
2342 struct hlist_node pid_chain ;
2343};
2344#line 56 "include/linux/pid.h"
2345struct pid {
2346 atomic_t count ;
2347 unsigned int level ;
2348 struct hlist_head tasks[3U] ;
2349 struct rcu_head rcu ;
2350 struct upid numbers[1U] ;
2351};
2352#line 68 "include/linux/pid.h"
2353struct pid_link {
2354 struct hlist_node node ;
2355 struct pid *pid ;
2356};
2357#line 45 "include/linux/semaphore.h"
2358struct fiemap_extent {
2359 __u64 fe_logical ;
2360 __u64 fe_physical ;
2361 __u64 fe_length ;
2362 __u64 fe_reserved64[2U] ;
2363 __u32 fe_flags ;
2364 __u32 fe_reserved[3U] ;
2365};
2366#line 38 "include/linux/fiemap.h"
2367enum migrate_mode {
2368 MIGRATE_ASYNC = 0,
2369 MIGRATE_SYNC_LIGHT = 1,
2370 MIGRATE_SYNC = 2
2371} ;
2372#line 44
2373struct export_operations;
2374#line 44
2375struct export_operations;
2376#line 46
2377struct kstatfs;
2378#line 46
2379struct kstatfs;
2380#line 435 "include/linux/fs.h"
2381struct iattr {
2382 unsigned int ia_valid ;
2383 umode_t ia_mode ;
2384 uid_t ia_uid ;
2385 gid_t ia_gid ;
2386 loff_t ia_size ;
2387 struct timespec ia_atime ;
2388 struct timespec ia_mtime ;
2389 struct timespec ia_ctime ;
2390 struct file *ia_file ;
2391};
2392#line 119 "include/linux/quota.h"
2393struct if_dqinfo {
2394 __u64 dqi_bgrace ;
2395 __u64 dqi_igrace ;
2396 __u32 dqi_flags ;
2397 __u32 dqi_valid ;
2398};
2399#line 152 "include/linux/quota.h"
2400struct percpu_counter {
2401 raw_spinlock_t lock ;
2402 s64 count ;
2403 struct list_head list ;
2404 s32 *counters ;
2405};
2406#line 176 "include/linux/percpu_counter.h"
2407struct fs_disk_quota {
2408 __s8 d_version ;
2409 __s8 d_flags ;
2410 __u16 d_fieldmask ;
2411 __u32 d_id ;
2412 __u64 d_blk_hardlimit ;
2413 __u64 d_blk_softlimit ;
2414 __u64 d_ino_hardlimit ;
2415 __u64 d_ino_softlimit ;
2416 __u64 d_bcount ;
2417 __u64 d_icount ;
2418 __s32 d_itimer ;
2419 __s32 d_btimer ;
2420 __u16 d_iwarns ;
2421 __u16 d_bwarns ;
2422 __s32 d_padding2 ;
2423 __u64 d_rtb_hardlimit ;
2424 __u64 d_rtb_softlimit ;
2425 __u64 d_rtbcount ;
2426 __s32 d_rtbtimer ;
2427 __u16 d_rtbwarns ;
2428 __s16 d_padding3 ;
2429 char d_padding4[8U] ;
2430};
2431#line 75 "include/linux/dqblk_xfs.h"
2432struct fs_qfilestat {
2433 __u64 qfs_ino ;
2434 __u64 qfs_nblks ;
2435 __u32 qfs_nextents ;
2436};
2437#line 150 "include/linux/dqblk_xfs.h"
2438typedef struct fs_qfilestat fs_qfilestat_t;
2439#line 151 "include/linux/dqblk_xfs.h"
2440struct fs_quota_stat {
2441 __s8 qs_version ;
2442 __u16 qs_flags ;
2443 __s8 qs_pad ;
2444 fs_qfilestat_t qs_uquota ;
2445 fs_qfilestat_t qs_gquota ;
2446 __u32 qs_incoredqs ;
2447 __s32 qs_btimelimit ;
2448 __s32 qs_itimelimit ;
2449 __s32 qs_rtbtimelimit ;
2450 __u16 qs_bwarnlimit ;
2451 __u16 qs_iwarnlimit ;
2452};
2453#line 165
2454struct dquot;
2455#line 165
2456struct dquot;
2457#line 185 "include/linux/quota.h"
2458typedef __kernel_uid32_t qid_t;
2459#line 186 "include/linux/quota.h"
2460typedef long long qsize_t;
2461#line 189 "include/linux/quota.h"
2462struct mem_dqblk {
2463 qsize_t dqb_bhardlimit ;
2464 qsize_t dqb_bsoftlimit ;
2465 qsize_t dqb_curspace ;
2466 qsize_t dqb_rsvspace ;
2467 qsize_t dqb_ihardlimit ;
2468 qsize_t dqb_isoftlimit ;
2469 qsize_t dqb_curinodes ;
2470 time_t dqb_btime ;
2471 time_t dqb_itime ;
2472};
2473#line 211
2474struct quota_format_type;
2475#line 211
2476struct quota_format_type;
2477#line 212 "include/linux/quota.h"
2478struct mem_dqinfo {
2479 struct quota_format_type *dqi_format ;
2480 int dqi_fmt_id ;
2481 struct list_head dqi_dirty_list ;
2482 unsigned long dqi_flags ;
2483 unsigned int dqi_bgrace ;
2484 unsigned int dqi_igrace ;
2485 qsize_t dqi_maxblimit ;
2486 qsize_t dqi_maxilimit ;
2487 void *dqi_priv ;
2488};
2489#line 275 "include/linux/quota.h"
2490struct dquot {
2491 struct hlist_node dq_hash ;
2492 struct list_head dq_inuse ;
2493 struct list_head dq_free ;
2494 struct list_head dq_dirty ;
2495 struct mutex dq_lock ;
2496 atomic_t dq_count ;
2497 wait_queue_head_t dq_wait_unused ;
2498 struct super_block *dq_sb ;
2499 unsigned int dq_id ;
2500 loff_t dq_off ;
2501 unsigned long dq_flags ;
2502 short dq_type ;
2503 struct mem_dqblk dq_dqb ;
2504};
2505#line 303 "include/linux/quota.h"
2506struct quota_format_ops {
2507 int (*check_quota_file)(struct super_block * , int ) ;
2508 int (*read_file_info)(struct super_block * , int ) ;
2509 int (*write_file_info)(struct super_block * , int ) ;
2510 int (*free_file_info)(struct super_block * , int ) ;
2511 int (*read_dqblk)(struct dquot * ) ;
2512 int (*commit_dqblk)(struct dquot * ) ;
2513 int (*release_dqblk)(struct dquot * ) ;
2514};
2515#line 314 "include/linux/quota.h"
2516struct dquot_operations {
2517 int (*write_dquot)(struct dquot * ) ;
2518 struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
2519 void (*destroy_dquot)(struct dquot * ) ;
2520 int (*acquire_dquot)(struct dquot * ) ;
2521 int (*release_dquot)(struct dquot * ) ;
2522 int (*mark_dirty)(struct dquot * ) ;
2523 int (*write_info)(struct super_block * , int ) ;
2524 qsize_t *(*get_reserved_space)(struct inode * ) ;
2525};
2526#line 328 "include/linux/quota.h"
2527struct quotactl_ops {
2528 int (*quota_on)(struct super_block * , int , int , struct path * ) ;
2529 int (*quota_on_meta)(struct super_block * , int , int ) ;
2530 int (*quota_off)(struct super_block * , int ) ;
2531 int (*quota_sync)(struct super_block * , int , int ) ;
2532 int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
2533 int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
2534 int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2535 int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2536 int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
2537 int (*set_xstate)(struct super_block * , unsigned int , int ) ;
2538};
2539#line 344 "include/linux/quota.h"
2540struct quota_format_type {
2541 int qf_fmt_id ;
2542 struct quota_format_ops const *qf_ops ;
2543 struct module *qf_owner ;
2544 struct quota_format_type *qf_next ;
2545};
2546#line 390 "include/linux/quota.h"
2547struct quota_info {
2548 unsigned int flags ;
2549 struct mutex dqio_mutex ;
2550 struct mutex dqonoff_mutex ;
2551 struct rw_semaphore dqptr_sem ;
2552 struct inode *files[2U] ;
2553 struct mem_dqinfo info[2U] ;
2554 struct quota_format_ops const *ops[2U] ;
2555};
2556#line 585 "include/linux/fs.h"
2557union __anonunion_arg_168 {
2558 char *buf ;
2559 void *data ;
2560};
2561#line 585 "include/linux/fs.h"
2562struct __anonstruct_read_descriptor_t_167 {
2563 size_t written ;
2564 size_t count ;
2565 union __anonunion_arg_168 arg ;
2566 int error ;
2567};
2568#line 585 "include/linux/fs.h"
2569typedef struct __anonstruct_read_descriptor_t_167 read_descriptor_t;
2570#line 588 "include/linux/fs.h"
2571struct address_space_operations {
2572 int (*writepage)(struct page * , struct writeback_control * ) ;
2573 int (*readpage)(struct file * , struct page * ) ;
2574 int (*writepages)(struct address_space * , struct writeback_control * ) ;
2575 int (*set_page_dirty)(struct page * ) ;
2576 int (*readpages)(struct file * , struct address_space * , struct list_head * ,
2577 unsigned int ) ;
2578 int (*write_begin)(struct file * , struct address_space * , loff_t , unsigned int ,
2579 unsigned int , struct page ** , void ** ) ;
2580 int (*write_end)(struct file * , struct address_space * , loff_t , unsigned int ,
2581 unsigned int , struct page * , void * ) ;
2582 sector_t (*bmap)(struct address_space * , sector_t ) ;
2583 void (*invalidatepage)(struct page * , unsigned long ) ;
2584 int (*releasepage)(struct page * , gfp_t ) ;
2585 void (*freepage)(struct page * ) ;
2586 ssize_t (*direct_IO)(int , struct kiocb * , struct iovec const * , loff_t ,
2587 unsigned long ) ;
2588 int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ;
2589 int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode ) ;
2590 int (*launder_page)(struct page * ) ;
2591 int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
2592 int (*error_remove_page)(struct address_space * , struct page * ) ;
2593};
2594#line 642
2595struct backing_dev_info;
2596#line 642
2597struct backing_dev_info;
2598#line 643 "include/linux/fs.h"
2599struct address_space {
2600 struct inode *host ;
2601 struct radix_tree_root page_tree ;
2602 spinlock_t tree_lock ;
2603 unsigned int i_mmap_writable ;
2604 struct prio_tree_root i_mmap ;
2605 struct list_head i_mmap_nonlinear ;
2606 struct mutex i_mmap_mutex ;
2607 unsigned long nrpages ;
2608 unsigned long writeback_index ;
2609 struct address_space_operations const *a_ops ;
2610 unsigned long flags ;
2611 struct backing_dev_info *backing_dev_info ;
2612 spinlock_t private_lock ;
2613 struct list_head private_list ;
2614 struct address_space *assoc_mapping ;
2615};
2616#line 664
2617struct request_queue;
2618#line 664
2619struct request_queue;
2620#line 665
2621struct hd_struct;
2622#line 665
2623struct gendisk;
2624#line 665 "include/linux/fs.h"
2625struct block_device {
2626 dev_t bd_dev ;
2627 int bd_openers ;
2628 struct inode *bd_inode ;
2629 struct super_block *bd_super ;
2630 struct mutex bd_mutex ;
2631 struct list_head bd_inodes ;
2632 void *bd_claiming ;
2633 void *bd_holder ;
2634 int bd_holders ;
2635 bool bd_write_holder ;
2636 struct list_head bd_holder_disks ;
2637 struct block_device *bd_contains ;
2638 unsigned int bd_block_size ;
2639 struct hd_struct *bd_part ;
2640 unsigned int bd_part_count ;
2641 int bd_invalidated ;
2642 struct gendisk *bd_disk ;
2643 struct request_queue *bd_queue ;
2644 struct list_head bd_list ;
2645 unsigned long bd_private ;
2646 int bd_fsfreeze_count ;
2647 struct mutex bd_fsfreeze_mutex ;
2648};
2649#line 737
2650struct posix_acl;
2651#line 737
2652struct posix_acl;
2653#line 738
2654struct inode_operations;
2655#line 738 "include/linux/fs.h"
2656union __anonunion_ldv_24514_169 {
2657 unsigned int const i_nlink ;
2658 unsigned int __i_nlink ;
2659};
2660#line 738 "include/linux/fs.h"
2661union __anonunion_ldv_24533_170 {
2662 struct list_head i_dentry ;
2663 struct rcu_head i_rcu ;
2664};
2665#line 738
2666struct file_lock;
2667#line 738
2668struct cdev;
2669#line 738 "include/linux/fs.h"
2670union __anonunion_ldv_24550_171 {
2671 struct pipe_inode_info *i_pipe ;
2672 struct block_device *i_bdev ;
2673 struct cdev *i_cdev ;
2674};
2675#line 738 "include/linux/fs.h"
2676struct inode {
2677 umode_t i_mode ;
2678 unsigned short i_opflags ;
2679 uid_t i_uid ;
2680 gid_t i_gid ;
2681 unsigned int i_flags ;
2682 struct posix_acl *i_acl ;
2683 struct posix_acl *i_default_acl ;
2684 struct inode_operations const *i_op ;
2685 struct super_block *i_sb ;
2686 struct address_space *i_mapping ;
2687 void *i_security ;
2688 unsigned long i_ino ;
2689 union __anonunion_ldv_24514_169 ldv_24514 ;
2690 dev_t i_rdev ;
2691 struct timespec i_atime ;
2692 struct timespec i_mtime ;
2693 struct timespec i_ctime ;
2694 spinlock_t i_lock ;
2695 unsigned short i_bytes ;
2696 blkcnt_t i_blocks ;
2697 loff_t i_size ;
2698 unsigned long i_state ;
2699 struct mutex i_mutex ;
2700 unsigned long dirtied_when ;
2701 struct hlist_node i_hash ;
2702 struct list_head i_wb_list ;
2703 struct list_head i_lru ;
2704 struct list_head i_sb_list ;
2705 union __anonunion_ldv_24533_170 ldv_24533 ;
2706 atomic_t i_count ;
2707 unsigned int i_blkbits ;
2708 u64 i_version ;
2709 atomic_t i_dio_count ;
2710 atomic_t i_writecount ;
2711 struct file_operations const *i_fop ;
2712 struct file_lock *i_flock ;
2713 struct address_space i_data ;
2714 struct dquot *i_dquot[2U] ;
2715 struct list_head i_devices ;
2716 union __anonunion_ldv_24550_171 ldv_24550 ;
2717 __u32 i_generation ;
2718 __u32 i_fsnotify_mask ;
2719 struct hlist_head i_fsnotify_marks ;
2720 atomic_t i_readcount ;
2721 void *i_private ;
2722};
2723#line 941 "include/linux/fs.h"
2724struct fown_struct {
2725 rwlock_t lock ;
2726 struct pid *pid ;
2727 enum pid_type pid_type ;
2728 uid_t uid ;
2729 uid_t euid ;
2730 int signum ;
2731};
2732#line 949 "include/linux/fs.h"
2733struct file_ra_state {
2734 unsigned long start ;
2735 unsigned int size ;
2736 unsigned int async_size ;
2737 unsigned int ra_pages ;
2738 unsigned int mmap_miss ;
2739 loff_t prev_pos ;
2740};
2741#line 972 "include/linux/fs.h"
2742union __anonunion_f_u_172 {
2743 struct list_head fu_list ;
2744 struct rcu_head fu_rcuhead ;
2745};
2746#line 972 "include/linux/fs.h"
2747struct file {
2748 union __anonunion_f_u_172 f_u ;
2749 struct path f_path ;
2750 struct file_operations const *f_op ;
2751 spinlock_t f_lock ;
2752 int f_sb_list_cpu ;
2753 atomic_long_t f_count ;
2754 unsigned int f_flags ;
2755 fmode_t f_mode ;
2756 loff_t f_pos ;
2757 struct fown_struct f_owner ;
2758 struct cred const *f_cred ;
2759 struct file_ra_state f_ra ;
2760 u64 f_version ;
2761 void *f_security ;
2762 void *private_data ;
2763 struct list_head f_ep_links ;
2764 struct list_head f_tfile_llink ;
2765 struct address_space *f_mapping ;
2766 unsigned long f_mnt_write_state ;
2767};
2768#line 1111
2769struct files_struct;
2770#line 1111 "include/linux/fs.h"
2771typedef struct files_struct *fl_owner_t;
2772#line 1112 "include/linux/fs.h"
2773struct file_lock_operations {
2774 void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
2775 void (*fl_release_private)(struct file_lock * ) ;
2776};
2777#line 1117 "include/linux/fs.h"
2778struct lock_manager_operations {
2779 int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
2780 void (*lm_notify)(struct file_lock * ) ;
2781 int (*lm_grant)(struct file_lock * , struct file_lock * , int ) ;
2782 void (*lm_release_private)(struct file_lock * ) ;
2783 void (*lm_break)(struct file_lock * ) ;
2784 int (*lm_change)(struct file_lock ** , int ) ;
2785};
2786#line 1134
2787struct nlm_lockowner;
2788#line 1134
2789struct nlm_lockowner;
2790#line 1135 "include/linux/fs.h"
2791struct nfs_lock_info {
2792 u32 state ;
2793 struct nlm_lockowner *owner ;
2794 struct list_head list ;
2795};
2796#line 14 "include/linux/nfs_fs_i.h"
2797struct nfs4_lock_state;
2798#line 14
2799struct nfs4_lock_state;
2800#line 15 "include/linux/nfs_fs_i.h"
2801struct nfs4_lock_info {
2802 struct nfs4_lock_state *owner ;
2803};
2804#line 19 "include/linux/nfs_fs_i.h"
2805struct __anonstruct_afs_174 {
2806 struct list_head link ;
2807 int state ;
2808};
2809#line 19 "include/linux/nfs_fs_i.h"
2810union __anonunion_fl_u_173 {
2811 struct nfs_lock_info nfs_fl ;
2812 struct nfs4_lock_info nfs4_fl ;
2813 struct __anonstruct_afs_174 afs ;
2814};
2815#line 19 "include/linux/nfs_fs_i.h"
2816struct file_lock {
2817 struct file_lock *fl_next ;
2818 struct list_head fl_link ;
2819 struct list_head fl_block ;
2820 fl_owner_t fl_owner ;
2821 unsigned int fl_flags ;
2822 unsigned char fl_type ;
2823 unsigned int fl_pid ;
2824 struct pid *fl_nspid ;
2825 wait_queue_head_t fl_wait ;
2826 struct file *fl_file ;
2827 loff_t fl_start ;
2828 loff_t fl_end ;
2829 struct fasync_struct *fl_fasync ;
2830 unsigned long fl_break_time ;
2831 unsigned long fl_downgrade_time ;
2832 struct file_lock_operations const *fl_ops ;
2833 struct lock_manager_operations const *fl_lmops ;
2834 union __anonunion_fl_u_173 fl_u ;
2835};
2836#line 1221 "include/linux/fs.h"
2837struct fasync_struct {
2838 spinlock_t fa_lock ;
2839 int magic ;
2840 int fa_fd ;
2841 struct fasync_struct *fa_next ;
2842 struct file *fa_file ;
2843 struct rcu_head fa_rcu ;
2844};
2845#line 1417
2846struct file_system_type;
2847#line 1417
2848struct super_operations;
2849#line 1417
2850struct xattr_handler;
2851#line 1417
2852struct mtd_info;
2853#line 1417 "include/linux/fs.h"
2854struct super_block {
2855 struct list_head s_list ;
2856 dev_t s_dev ;
2857 unsigned char s_dirt ;
2858 unsigned char s_blocksize_bits ;
2859 unsigned long s_blocksize ;
2860 loff_t s_maxbytes ;
2861 struct file_system_type *s_type ;
2862 struct super_operations const *s_op ;
2863 struct dquot_operations const *dq_op ;
2864 struct quotactl_ops const *s_qcop ;
2865 struct export_operations const *s_export_op ;
2866 unsigned long s_flags ;
2867 unsigned long s_magic ;
2868 struct dentry *s_root ;
2869 struct rw_semaphore s_umount ;
2870 struct mutex s_lock ;
2871 int s_count ;
2872 atomic_t s_active ;
2873 void *s_security ;
2874 struct xattr_handler const **s_xattr ;
2875 struct list_head s_inodes ;
2876 struct hlist_bl_head s_anon ;
2877 struct list_head *s_files ;
2878 struct list_head s_mounts ;
2879 struct list_head s_dentry_lru ;
2880 int s_nr_dentry_unused ;
2881 spinlock_t s_inode_lru_lock ;
2882 struct list_head s_inode_lru ;
2883 int s_nr_inodes_unused ;
2884 struct block_device *s_bdev ;
2885 struct backing_dev_info *s_bdi ;
2886 struct mtd_info *s_mtd ;
2887 struct hlist_node s_instances ;
2888 struct quota_info s_dquot ;
2889 int s_frozen ;
2890 wait_queue_head_t s_wait_unfrozen ;
2891 char s_id[32U] ;
2892 u8 s_uuid[16U] ;
2893 void *s_fs_info ;
2894 unsigned int s_max_links ;
2895 fmode_t s_mode ;
2896 u32 s_time_gran ;
2897 struct mutex s_vfs_rename_mutex ;
2898 char *s_subtype ;
2899 char *s_options ;
2900 struct dentry_operations const *s_d_op ;
2901 int cleancache_poolid ;
2902 struct shrinker s_shrink ;
2903 atomic_long_t s_remove_count ;
2904 int s_readonly_remount ;
2905};
2906#line 1563 "include/linux/fs.h"
2907struct fiemap_extent_info {
2908 unsigned int fi_flags ;
2909 unsigned int fi_extents_mapped ;
2910 unsigned int fi_extents_max ;
2911 struct fiemap_extent *fi_extents_start ;
2912};
2913#line 1602 "include/linux/fs.h"
2914struct file_operations {
2915 struct module *owner ;
2916 loff_t (*llseek)(struct file * , loff_t , int ) ;
2917 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
2918 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
2919 ssize_t (*aio_read)(struct kiocb * , struct iovec const * , unsigned long ,
2920 loff_t ) ;
2921 ssize_t (*aio_write)(struct kiocb * , struct iovec const * , unsigned long ,
2922 loff_t ) ;
2923 int (*readdir)(struct file * , void * , int (*)(void * , char const * , int ,
2924 loff_t , u64 , unsigned int ) ) ;
2925 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
2926 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
2927 long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ;
2928 int (*mmap)(struct file * , struct vm_area_struct * ) ;
2929 int (*open)(struct inode * , struct file * ) ;
2930 int (*flush)(struct file * , fl_owner_t ) ;
2931 int (*release)(struct inode * , struct file * ) ;
2932 int (*fsync)(struct file * , loff_t , loff_t , int ) ;
2933 int (*aio_fsync)(struct kiocb * , int ) ;
2934 int (*fasync)(int , struct file * , int ) ;
2935 int (*lock)(struct file * , int , struct file_lock * ) ;
2936 ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * ,
2937 int ) ;
2938 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
2939 unsigned long , unsigned long ) ;
2940 int (*check_flags)(int ) ;
2941 int (*flock)(struct file * , int , struct file_lock * ) ;
2942 ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t ,
2943 unsigned int ) ;
2944 ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t ,
2945 unsigned int ) ;
2946 int (*setlease)(struct file * , long , struct file_lock ** ) ;
2947 long (*fallocate)(struct file * , int , loff_t , loff_t ) ;
2948};
2949#line 1637 "include/linux/fs.h"
2950struct inode_operations {
2951 struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
2952 void *(*follow_link)(struct dentry * , struct nameidata * ) ;
2953 int (*permission)(struct inode * , int ) ;
2954 struct posix_acl *(*get_acl)(struct inode * , int ) ;
2955 int (*readlink)(struct dentry * , char * , int ) ;
2956 void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
2957 int (*create)(struct inode * , struct dentry * , umode_t , struct nameidata * ) ;
2958 int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
2959 int (*unlink)(struct inode * , struct dentry * ) ;
2960 int (*symlink)(struct inode * , struct dentry * , char const * ) ;
2961 int (*mkdir)(struct inode * , struct dentry * , umode_t ) ;
2962 int (*rmdir)(struct inode * , struct dentry * ) ;
2963 int (*mknod)(struct inode * , struct dentry * , umode_t , dev_t ) ;
2964 int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
2965 void (*truncate)(struct inode * ) ;
2966 int (*setattr)(struct dentry * , struct iattr * ) ;
2967 int (*getattr)(struct vfsmount * , struct dentry * , struct kstat * ) ;
2968 int (*setxattr)(struct dentry * , char const * , void const * , size_t , int ) ;
2969 ssize_t (*getxattr)(struct dentry * , char const * , void * , size_t ) ;
2970 ssize_t (*listxattr)(struct dentry * , char * , size_t ) ;
2971 int (*removexattr)(struct dentry * , char const * ) ;
2972 void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
2973 int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 , u64 ) ;
2974};
2975#line 1682 "include/linux/fs.h"
2976struct super_operations {
2977 struct inode *(*alloc_inode)(struct super_block * ) ;
2978 void (*destroy_inode)(struct inode * ) ;
2979 void (*dirty_inode)(struct inode * , int ) ;
2980 int (*write_inode)(struct inode * , struct writeback_control * ) ;
2981 int (*drop_inode)(struct inode * ) ;
2982 void (*evict_inode)(struct inode * ) ;
2983 void (*put_super)(struct super_block * ) ;
2984 void (*write_super)(struct super_block * ) ;
2985 int (*sync_fs)(struct super_block * , int ) ;
2986 int (*freeze_fs)(struct super_block * ) ;
2987 int (*unfreeze_fs)(struct super_block * ) ;
2988 int (*statfs)(struct dentry * , struct kstatfs * ) ;
2989 int (*remount_fs)(struct super_block * , int * , char * ) ;
2990 void (*umount_begin)(struct super_block * ) ;
2991 int (*show_options)(struct seq_file * , struct dentry * ) ;
2992 int (*show_devname)(struct seq_file * , struct dentry * ) ;
2993 int (*show_path)(struct seq_file * , struct dentry * ) ;
2994 int (*show_stats)(struct seq_file * , struct dentry * ) ;
2995 ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ;
2996 ssize_t (*quota_write)(struct super_block * , int , char const * , size_t ,
2997 loff_t ) ;
2998 int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
2999 int (*nr_cached_objects)(struct super_block * ) ;
3000 void (*free_cached_objects)(struct super_block * , int ) ;
3001};
3002#line 1834 "include/linux/fs.h"
3003struct file_system_type {
3004 char const *name ;
3005 int fs_flags ;
3006 struct dentry *(*mount)(struct file_system_type * , int , char const * , void * ) ;
3007 void (*kill_sb)(struct super_block * ) ;
3008 struct module *owner ;
3009 struct file_system_type *next ;
3010 struct hlist_head fs_supers ;
3011 struct lock_class_key s_lock_key ;
3012 struct lock_class_key s_umount_key ;
3013 struct lock_class_key s_vfs_rename_key ;
3014 struct lock_class_key i_lock_key ;
3015 struct lock_class_key i_mutex_key ;
3016 struct lock_class_key i_mutex_dir_key ;
3017};
3018#line 44 "include/linux/aio_abi.h"
3019struct io_event {
3020 __u64 data ;
3021 __u64 obj ;
3022 __s64 res ;
3023 __s64 res2 ;
3024};
3025#line 7 "include/asm-generic/cputime.h"
3026typedef unsigned long cputime_t;
3027#line 15
3028struct siginfo;
3029#line 15
3030struct siginfo;
3031#line 32 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3032struct __anonstruct_sigset_t_175 {
3033 unsigned long sig[1U] ;
3034};
3035#line 32 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3036typedef struct __anonstruct_sigset_t_175 sigset_t;
3037#line 17 "include/asm-generic/signal-defs.h"
3038typedef void __signalfn_t(int );
3039#line 18 "include/asm-generic/signal-defs.h"
3040typedef __signalfn_t *__sighandler_t;
3041#line 20 "include/asm-generic/signal-defs.h"
3042typedef void __restorefn_t(void);
3043#line 21 "include/asm-generic/signal-defs.h"
3044typedef __restorefn_t *__sigrestore_t;
3045#line 126 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3046struct sigaction {
3047 __sighandler_t sa_handler ;
3048 unsigned long sa_flags ;
3049 __sigrestore_t sa_restorer ;
3050 sigset_t sa_mask ;
3051};
3052#line 173 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3053struct k_sigaction {
3054 struct sigaction sa ;
3055};
3056#line 185 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3057union sigval {
3058 int sival_int ;
3059 void *sival_ptr ;
3060};
3061#line 10 "include/asm-generic/siginfo.h"
3062typedef union sigval sigval_t;
3063#line 11 "include/asm-generic/siginfo.h"
3064struct __anonstruct__kill_177 {
3065 __kernel_pid_t _pid ;
3066 __kernel_uid32_t _uid ;
3067};
3068#line 11 "include/asm-generic/siginfo.h"
3069struct __anonstruct__timer_178 {
3070 __kernel_timer_t _tid ;
3071 int _overrun ;
3072 char _pad[0U] ;
3073 sigval_t _sigval ;
3074 int _sys_private ;
3075};
3076#line 11 "include/asm-generic/siginfo.h"
3077struct __anonstruct__rt_179 {
3078 __kernel_pid_t _pid ;
3079 __kernel_uid32_t _uid ;
3080 sigval_t _sigval ;
3081};
3082#line 11 "include/asm-generic/siginfo.h"
3083struct __anonstruct__sigchld_180 {
3084 __kernel_pid_t _pid ;
3085 __kernel_uid32_t _uid ;
3086 int _status ;
3087 __kernel_clock_t _utime ;
3088 __kernel_clock_t _stime ;
3089};
3090#line 11 "include/asm-generic/siginfo.h"
3091struct __anonstruct__sigfault_181 {
3092 void *_addr ;
3093 short _addr_lsb ;
3094};
3095#line 11 "include/asm-generic/siginfo.h"
3096struct __anonstruct__sigpoll_182 {
3097 long _band ;
3098 int _fd ;
3099};
3100#line 11 "include/asm-generic/siginfo.h"
3101union __anonunion__sifields_176 {
3102 int _pad[28U] ;
3103 struct __anonstruct__kill_177 _kill ;
3104 struct __anonstruct__timer_178 _timer ;
3105 struct __anonstruct__rt_179 _rt ;
3106 struct __anonstruct__sigchld_180 _sigchld ;
3107 struct __anonstruct__sigfault_181 _sigfault ;
3108 struct __anonstruct__sigpoll_182 _sigpoll ;
3109};
3110#line 11 "include/asm-generic/siginfo.h"
3111struct siginfo {
3112 int si_signo ;
3113 int si_errno ;
3114 int si_code ;
3115 union __anonunion__sifields_176 _sifields ;
3116};
3117#line 102 "include/asm-generic/siginfo.h"
3118typedef struct siginfo siginfo_t;
3119#line 24 "include/linux/signal.h"
3120struct sigpending {
3121 struct list_head list ;
3122 sigset_t signal ;
3123};
3124#line 10 "include/linux/seccomp.h"
3125struct __anonstruct_seccomp_t_185 {
3126 int mode ;
3127};
3128#line 10 "include/linux/seccomp.h"
3129typedef struct __anonstruct_seccomp_t_185 seccomp_t;
3130#line 38 "include/linux/rtmutex.h"
3131struct rt_mutex_waiter;
3132#line 38
3133struct rt_mutex_waiter;
3134#line 41 "include/linux/resource.h"
3135struct rlimit {
3136 unsigned long rlim_cur ;
3137 unsigned long rlim_max ;
3138};
3139#line 85 "include/linux/resource.h"
3140struct task_io_accounting {
3141 u64 rchar ;
3142 u64 wchar ;
3143 u64 syscr ;
3144 u64 syscw ;
3145 u64 read_bytes ;
3146 u64 write_bytes ;
3147 u64 cancelled_write_bytes ;
3148};
3149#line 45 "include/linux/task_io_accounting.h"
3150struct latency_record {
3151 unsigned long backtrace[12U] ;
3152 unsigned int count ;
3153 unsigned long time ;
3154 unsigned long max ;
3155};
3156#line 29 "include/linux/key.h"
3157typedef int32_t key_serial_t;
3158#line 32 "include/linux/key.h"
3159typedef uint32_t key_perm_t;
3160#line 33
3161struct key;
3162#line 33
3163struct key;
3164#line 34
3165struct signal_struct;
3166#line 34
3167struct signal_struct;
3168#line 35
3169struct key_type;
3170#line 35
3171struct key_type;
3172#line 37
3173struct keyring_list;
3174#line 37
3175struct keyring_list;
3176#line 115
3177struct key_user;
3178#line 115 "include/linux/key.h"
3179union __anonunion_ldv_26997_186 {
3180 time_t expiry ;
3181 time_t revoked_at ;
3182};
3183#line 115 "include/linux/key.h"
3184union __anonunion_type_data_187 {
3185 struct list_head link ;
3186 unsigned long x[2U] ;
3187 void *p[2U] ;
3188 int reject_error ;
3189};
3190#line 115 "include/linux/key.h"
3191union __anonunion_payload_188 {
3192 unsigned long value ;
3193 void *rcudata ;
3194 void *data ;
3195 struct keyring_list *subscriptions ;
3196};
3197#line 115 "include/linux/key.h"
3198struct key {
3199 atomic_t usage ;
3200 key_serial_t serial ;
3201 struct rb_node serial_node ;
3202 struct key_type *type ;
3203 struct rw_semaphore sem ;
3204 struct key_user *user ;
3205 void *security ;
3206 union __anonunion_ldv_26997_186 ldv_26997 ;
3207 uid_t uid ;
3208 gid_t gid ;
3209 key_perm_t perm ;
3210 unsigned short quotalen ;
3211 unsigned short datalen ;
3212 unsigned long flags ;
3213 char *description ;
3214 union __anonunion_type_data_187 type_data ;
3215 union __anonunion_payload_188 payload ;
3216};
3217#line 316
3218struct audit_context;
3219#line 316
3220struct audit_context;
3221#line 27 "include/linux/selinux.h"
3222struct group_info {
3223 atomic_t usage ;
3224 int ngroups ;
3225 int nblocks ;
3226 gid_t small_block[32U] ;
3227 gid_t *blocks[0U] ;
3228};
3229#line 77 "include/linux/cred.h"
3230struct thread_group_cred {
3231 atomic_t usage ;
3232 pid_t tgid ;
3233 spinlock_t lock ;
3234 struct key *session_keyring ;
3235 struct key *process_keyring ;
3236 struct rcu_head rcu ;
3237};
3238#line 91 "include/linux/cred.h"
3239struct cred {
3240 atomic_t usage ;
3241 atomic_t subscribers ;
3242 void *put_addr ;
3243 unsigned int magic ;
3244 uid_t uid ;
3245 gid_t gid ;
3246 uid_t suid ;
3247 gid_t sgid ;
3248 uid_t euid ;
3249 gid_t egid ;
3250 uid_t fsuid ;
3251 gid_t fsgid ;
3252 unsigned int securebits ;
3253 kernel_cap_t cap_inheritable ;
3254 kernel_cap_t cap_permitted ;
3255 kernel_cap_t cap_effective ;
3256 kernel_cap_t cap_bset ;
3257 unsigned char jit_keyring ;
3258 struct key *thread_keyring ;
3259 struct key *request_key_auth ;
3260 struct thread_group_cred *tgcred ;
3261 void *security ;
3262 struct user_struct *user ;
3263 struct user_namespace *user_ns ;
3264 struct group_info *group_info ;
3265 struct rcu_head rcu ;
3266};
3267#line 264
3268struct llist_node;
3269#line 64 "include/linux/llist.h"
3270struct llist_node {
3271 struct llist_node *next ;
3272};
3273#line 185
3274struct futex_pi_state;
3275#line 185
3276struct futex_pi_state;
3277#line 186
3278struct robust_list_head;
3279#line 186
3280struct robust_list_head;
3281#line 187
3282struct bio_list;
3283#line 187
3284struct bio_list;
3285#line 188
3286struct fs_struct;
3287#line 188
3288struct fs_struct;
3289#line 189
3290struct perf_event_context;
3291#line 189
3292struct perf_event_context;
3293#line 190
3294struct blk_plug;
3295#line 190
3296struct blk_plug;
3297#line 149 "include/linux/sched.h"
3298struct cfs_rq;
3299#line 149
3300struct cfs_rq;
3301#line 385
3302struct kioctx;
3303#line 385
3304struct kioctx;
3305#line 386 "include/linux/sched.h"
3306union __anonunion_ki_obj_189 {
3307 void *user ;
3308 struct task_struct *tsk ;
3309};
3310#line 386
3311struct eventfd_ctx;
3312#line 386 "include/linux/sched.h"
3313struct kiocb {
3314 struct list_head ki_run_list ;
3315 unsigned long ki_flags ;
3316 int ki_users ;
3317 unsigned int ki_key ;
3318 struct file *ki_filp ;
3319 struct kioctx *ki_ctx ;
3320 int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
3321 ssize_t (*ki_retry)(struct kiocb * ) ;
3322 void (*ki_dtor)(struct kiocb * ) ;
3323 union __anonunion_ki_obj_189 ki_obj ;
3324 __u64 ki_user_data ;
3325 loff_t ki_pos ;
3326 void *private ;
3327 unsigned short ki_opcode ;
3328 size_t ki_nbytes ;
3329 char *ki_buf ;
3330 size_t ki_left ;
3331 struct iovec ki_inline_vec ;
3332 struct iovec *ki_iovec ;
3333 unsigned long ki_nr_segs ;
3334 unsigned long ki_cur_seg ;
3335 struct list_head ki_list ;
3336 struct list_head ki_batch ;
3337 struct eventfd_ctx *ki_eventfd ;
3338};
3339#line 162 "include/linux/aio.h"
3340struct aio_ring_info {
3341 unsigned long mmap_base ;
3342 unsigned long mmap_size ;
3343 struct page **ring_pages ;
3344 spinlock_t ring_lock ;
3345 long nr_pages ;
3346 unsigned int nr ;
3347 unsigned int tail ;
3348 struct page *internal_pages[8U] ;
3349};
3350#line 178 "include/linux/aio.h"
3351struct kioctx {
3352 atomic_t users ;
3353 int dead ;
3354 struct mm_struct *mm ;
3355 unsigned long user_id ;
3356 struct hlist_node list ;
3357 wait_queue_head_t wait ;
3358 spinlock_t ctx_lock ;
3359 int reqs_active ;
3360 struct list_head active_reqs ;
3361 struct list_head run_list ;
3362 unsigned int max_reqs ;
3363 struct aio_ring_info ring_info ;
3364 struct delayed_work wq ;
3365 struct rcu_head rcu_head ;
3366};
3367#line 406 "include/linux/sched.h"
3368struct sighand_struct {
3369 atomic_t count ;
3370 struct k_sigaction action[64U] ;
3371 spinlock_t siglock ;
3372 wait_queue_head_t signalfd_wqh ;
3373};
3374#line 449 "include/linux/sched.h"
3375struct pacct_struct {
3376 int ac_flag ;
3377 long ac_exitcode ;
3378 unsigned long ac_mem ;
3379 cputime_t ac_utime ;
3380 cputime_t ac_stime ;
3381 unsigned long ac_minflt ;
3382 unsigned long ac_majflt ;
3383};
3384#line 457 "include/linux/sched.h"
3385struct cpu_itimer {
3386 cputime_t expires ;
3387 cputime_t incr ;
3388 u32 error ;
3389 u32 incr_error ;
3390};
3391#line 464 "include/linux/sched.h"
3392struct task_cputime {
3393 cputime_t utime ;
3394 cputime_t stime ;
3395 unsigned long long sum_exec_runtime ;
3396};
3397#line 481 "include/linux/sched.h"
3398struct thread_group_cputimer {
3399 struct task_cputime cputime ;
3400 int running ;
3401 raw_spinlock_t lock ;
3402};
3403#line 517
3404struct autogroup;
3405#line 517
3406struct autogroup;
3407#line 518
3408struct tty_struct;
3409#line 518
3410struct taskstats;
3411#line 518
3412struct tty_audit_buf;
3413#line 518 "include/linux/sched.h"
3414struct signal_struct {
3415 atomic_t sigcnt ;
3416 atomic_t live ;
3417 int nr_threads ;
3418 wait_queue_head_t wait_chldexit ;
3419 struct task_struct *curr_target ;
3420 struct sigpending shared_pending ;
3421 int group_exit_code ;
3422 int notify_count ;
3423 struct task_struct *group_exit_task ;
3424 int group_stop_count ;
3425 unsigned int flags ;
3426 unsigned char is_child_subreaper : 1 ;
3427 unsigned char has_child_subreaper : 1 ;
3428 struct list_head posix_timers ;
3429 struct hrtimer real_timer ;
3430 struct pid *leader_pid ;
3431 ktime_t it_real_incr ;
3432 struct cpu_itimer it[2U] ;
3433 struct thread_group_cputimer cputimer ;
3434 struct task_cputime cputime_expires ;
3435 struct list_head cpu_timers[3U] ;
3436 struct pid *tty_old_pgrp ;
3437 int leader ;
3438 struct tty_struct *tty ;
3439 struct autogroup *autogroup ;
3440 cputime_t utime ;
3441 cputime_t stime ;
3442 cputime_t cutime ;
3443 cputime_t cstime ;
3444 cputime_t gtime ;
3445 cputime_t cgtime ;
3446 cputime_t prev_utime ;
3447 cputime_t prev_stime ;
3448 unsigned long nvcsw ;
3449 unsigned long nivcsw ;
3450 unsigned long cnvcsw ;
3451 unsigned long cnivcsw ;
3452 unsigned long min_flt ;
3453 unsigned long maj_flt ;
3454 unsigned long cmin_flt ;
3455 unsigned long cmaj_flt ;
3456 unsigned long inblock ;
3457 unsigned long oublock ;
3458 unsigned long cinblock ;
3459 unsigned long coublock ;
3460 unsigned long maxrss ;
3461 unsigned long cmaxrss ;
3462 struct task_io_accounting ioac ;
3463 unsigned long long sum_sched_runtime ;
3464 struct rlimit rlim[16U] ;
3465 struct pacct_struct pacct ;
3466 struct taskstats *stats ;
3467 unsigned int audit_tty ;
3468 struct tty_audit_buf *tty_audit_buf ;
3469 struct rw_semaphore group_rwsem ;
3470 int oom_adj ;
3471 int oom_score_adj ;
3472 int oom_score_adj_min ;
3473 struct mutex cred_guard_mutex ;
3474};
3475#line 699 "include/linux/sched.h"
3476struct user_struct {
3477 atomic_t __count ;
3478 atomic_t processes ;
3479 atomic_t files ;
3480 atomic_t sigpending ;
3481 atomic_t inotify_watches ;
3482 atomic_t inotify_devs ;
3483 atomic_t fanotify_listeners ;
3484 atomic_long_t epoll_watches ;
3485 unsigned long mq_bytes ;
3486 unsigned long locked_shm ;
3487 struct key *uid_keyring ;
3488 struct key *session_keyring ;
3489 struct hlist_node uidhash_node ;
3490 uid_t uid ;
3491 struct user_namespace *user_ns ;
3492 atomic_long_t locked_vm ;
3493};
3494#line 744
3495struct reclaim_state;
3496#line 744
3497struct reclaim_state;
3498#line 745 "include/linux/sched.h"
3499struct sched_info {
3500 unsigned long pcount ;
3501 unsigned long long run_delay ;
3502 unsigned long long last_arrival ;
3503 unsigned long long last_queued ;
3504};
3505#line 760 "include/linux/sched.h"
3506struct task_delay_info {
3507 spinlock_t lock ;
3508 unsigned int flags ;
3509 struct timespec blkio_start ;
3510 struct timespec blkio_end ;
3511 u64 blkio_delay ;
3512 u64 swapin_delay ;
3513 u32 blkio_count ;
3514 u32 swapin_count ;
3515 struct timespec freepages_start ;
3516 struct timespec freepages_end ;
3517 u64 freepages_delay ;
3518 u32 freepages_count ;
3519};
3520#line 1069
3521struct io_context;
3522#line 1069
3523struct io_context;
3524#line 1098
3525struct rq;
3526#line 1098
3527struct rq;
3528#line 1099 "include/linux/sched.h"
3529struct sched_class {
3530 struct sched_class const *next ;
3531 void (*enqueue_task)(struct rq * , struct task_struct * , int ) ;
3532 void (*dequeue_task)(struct rq * , struct task_struct * , int ) ;
3533 void (*yield_task)(struct rq * ) ;
3534 bool (*yield_to_task)(struct rq * , struct task_struct * , bool ) ;
3535 void (*check_preempt_curr)(struct rq * , struct task_struct * , int ) ;
3536 struct task_struct *(*pick_next_task)(struct rq * ) ;
3537 void (*put_prev_task)(struct rq * , struct task_struct * ) ;
3538 int (*select_task_rq)(struct task_struct * , int , int ) ;
3539 void (*pre_schedule)(struct rq * , struct task_struct * ) ;
3540 void (*post_schedule)(struct rq * ) ;
3541 void (*task_waking)(struct task_struct * ) ;
3542 void (*task_woken)(struct rq * , struct task_struct * ) ;
3543 void (*set_cpus_allowed)(struct task_struct * , struct cpumask const * ) ;
3544 void (*rq_online)(struct rq * ) ;
3545 void (*rq_offline)(struct rq * ) ;
3546 void (*set_curr_task)(struct rq * ) ;
3547 void (*task_tick)(struct rq * , struct task_struct * , int ) ;
3548 void (*task_fork)(struct task_struct * ) ;
3549 void (*switched_from)(struct rq * , struct task_struct * ) ;
3550 void (*switched_to)(struct rq * , struct task_struct * ) ;
3551 void (*prio_changed)(struct rq * , struct task_struct * , int ) ;
3552 unsigned int (*get_rr_interval)(struct rq * , struct task_struct * ) ;
3553 void (*task_move_group)(struct task_struct * , int ) ;
3554};
3555#line 1165 "include/linux/sched.h"
3556struct load_weight {
3557 unsigned long weight ;
3558 unsigned long inv_weight ;
3559};
3560#line 1170 "include/linux/sched.h"
3561struct sched_statistics {
3562 u64 wait_start ;
3563 u64 wait_max ;
3564 u64 wait_count ;
3565 u64 wait_sum ;
3566 u64 iowait_count ;
3567 u64 iowait_sum ;
3568 u64 sleep_start ;
3569 u64 sleep_max ;
3570 s64 sum_sleep_runtime ;
3571 u64 block_start ;
3572 u64 block_max ;
3573 u64 exec_max ;
3574 u64 slice_max ;
3575 u64 nr_migrations_cold ;
3576 u64 nr_failed_migrations_affine ;
3577 u64 nr_failed_migrations_running ;
3578 u64 nr_failed_migrations_hot ;
3579 u64 nr_forced_migrations ;
3580 u64 nr_wakeups ;
3581 u64 nr_wakeups_sync ;
3582 u64 nr_wakeups_migrate ;
3583 u64 nr_wakeups_local ;
3584 u64 nr_wakeups_remote ;
3585 u64 nr_wakeups_affine ;
3586 u64 nr_wakeups_affine_attempts ;
3587 u64 nr_wakeups_passive ;
3588 u64 nr_wakeups_idle ;
3589};
3590#line 1205 "include/linux/sched.h"
3591struct sched_entity {
3592 struct load_weight load ;
3593 struct rb_node run_node ;
3594 struct list_head group_node ;
3595 unsigned int on_rq ;
3596 u64 exec_start ;
3597 u64 sum_exec_runtime ;
3598 u64 vruntime ;
3599 u64 prev_sum_exec_runtime ;
3600 u64 nr_migrations ;
3601 struct sched_statistics statistics ;
3602 struct sched_entity *parent ;
3603 struct cfs_rq *cfs_rq ;
3604 struct cfs_rq *my_q ;
3605};
3606#line 1231
3607struct rt_rq;
3608#line 1231 "include/linux/sched.h"
3609struct sched_rt_entity {
3610 struct list_head run_list ;
3611 unsigned long timeout ;
3612 unsigned int time_slice ;
3613 int nr_cpus_allowed ;
3614 struct sched_rt_entity *back ;
3615 struct sched_rt_entity *parent ;
3616 struct rt_rq *rt_rq ;
3617 struct rt_rq *my_q ;
3618};
3619#line 1255
3620struct mem_cgroup;
3621#line 1255 "include/linux/sched.h"
3622struct memcg_batch_info {
3623 int do_batch ;
3624 struct mem_cgroup *memcg ;
3625 unsigned long nr_pages ;
3626 unsigned long memsw_nr_pages ;
3627};
3628#line 1616
3629struct css_set;
3630#line 1616
3631struct compat_robust_list_head;
3632#line 1616 "include/linux/sched.h"
3633struct task_struct {
3634 long volatile state ;
3635 void *stack ;
3636 atomic_t usage ;
3637 unsigned int flags ;
3638 unsigned int ptrace ;
3639 struct llist_node wake_entry ;
3640 int on_cpu ;
3641 int on_rq ;
3642 int prio ;
3643 int static_prio ;
3644 int normal_prio ;
3645 unsigned int rt_priority ;
3646 struct sched_class const *sched_class ;
3647 struct sched_entity se ;
3648 struct sched_rt_entity rt ;
3649 struct hlist_head preempt_notifiers ;
3650 unsigned char fpu_counter ;
3651 unsigned int policy ;
3652 cpumask_t cpus_allowed ;
3653 struct sched_info sched_info ;
3654 struct list_head tasks ;
3655 struct plist_node pushable_tasks ;
3656 struct mm_struct *mm ;
3657 struct mm_struct *active_mm ;
3658 unsigned char brk_randomized : 1 ;
3659 int exit_state ;
3660 int exit_code ;
3661 int exit_signal ;
3662 int pdeath_signal ;
3663 unsigned int jobctl ;
3664 unsigned int personality ;
3665 unsigned char did_exec : 1 ;
3666 unsigned char in_execve : 1 ;
3667 unsigned char in_iowait : 1 ;
3668 unsigned char sched_reset_on_fork : 1 ;
3669 unsigned char sched_contributes_to_load : 1 ;
3670 unsigned char irq_thread : 1 ;
3671 pid_t pid ;
3672 pid_t tgid ;
3673 unsigned long stack_canary ;
3674 struct task_struct *real_parent ;
3675 struct task_struct *parent ;
3676 struct list_head children ;
3677 struct list_head sibling ;
3678 struct task_struct *group_leader ;
3679 struct list_head ptraced ;
3680 struct list_head ptrace_entry ;
3681 struct pid_link pids[3U] ;
3682 struct list_head thread_group ;
3683 struct completion *vfork_done ;
3684 int *set_child_tid ;
3685 int *clear_child_tid ;
3686 cputime_t utime ;
3687 cputime_t stime ;
3688 cputime_t utimescaled ;
3689 cputime_t stimescaled ;
3690 cputime_t gtime ;
3691 cputime_t prev_utime ;
3692 cputime_t prev_stime ;
3693 unsigned long nvcsw ;
3694 unsigned long nivcsw ;
3695 struct timespec start_time ;
3696 struct timespec real_start_time ;
3697 unsigned long min_flt ;
3698 unsigned long maj_flt ;
3699 struct task_cputime cputime_expires ;
3700 struct list_head cpu_timers[3U] ;
3701 struct cred const *real_cred ;
3702 struct cred const *cred ;
3703 struct cred *replacement_session_keyring ;
3704 char comm[16U] ;
3705 int link_count ;
3706 int total_link_count ;
3707 struct sysv_sem sysvsem ;
3708 unsigned long last_switch_count ;
3709 struct thread_struct thread ;
3710 struct fs_struct *fs ;
3711 struct files_struct *files ;
3712 struct nsproxy *nsproxy ;
3713 struct signal_struct *signal ;
3714 struct sighand_struct *sighand ;
3715 sigset_t blocked ;
3716 sigset_t real_blocked ;
3717 sigset_t saved_sigmask ;
3718 struct sigpending pending ;
3719 unsigned long sas_ss_sp ;
3720 size_t sas_ss_size ;
3721 int (*notifier)(void * ) ;
3722 void *notifier_data ;
3723 sigset_t *notifier_mask ;
3724 struct audit_context *audit_context ;
3725 uid_t loginuid ;
3726 unsigned int sessionid ;
3727 seccomp_t seccomp ;
3728 u32 parent_exec_id ;
3729 u32 self_exec_id ;
3730 spinlock_t alloc_lock ;
3731 raw_spinlock_t pi_lock ;
3732 struct plist_head pi_waiters ;
3733 struct rt_mutex_waiter *pi_blocked_on ;
3734 struct mutex_waiter *blocked_on ;
3735 unsigned int irq_events ;
3736 unsigned long hardirq_enable_ip ;
3737 unsigned long hardirq_disable_ip ;
3738 unsigned int hardirq_enable_event ;
3739 unsigned int hardirq_disable_event ;
3740 int hardirqs_enabled ;
3741 int hardirq_context ;
3742 unsigned long softirq_disable_ip ;
3743 unsigned long softirq_enable_ip ;
3744 unsigned int softirq_disable_event ;
3745 unsigned int softirq_enable_event ;
3746 int softirqs_enabled ;
3747 int softirq_context ;
3748 u64 curr_chain_key ;
3749 int lockdep_depth ;
3750 unsigned int lockdep_recursion ;
3751 struct held_lock held_locks[48U] ;
3752 gfp_t lockdep_reclaim_gfp ;
3753 void *journal_info ;
3754 struct bio_list *bio_list ;
3755 struct blk_plug *plug ;
3756 struct reclaim_state *reclaim_state ;
3757 struct backing_dev_info *backing_dev_info ;
3758 struct io_context *io_context ;
3759 unsigned long ptrace_message ;
3760 siginfo_t *last_siginfo ;
3761 struct task_io_accounting ioac ;
3762 u64 acct_rss_mem1 ;
3763 u64 acct_vm_mem1 ;
3764 cputime_t acct_timexpd ;
3765 nodemask_t mems_allowed ;
3766 seqcount_t mems_allowed_seq ;
3767 int cpuset_mem_spread_rotor ;
3768 int cpuset_slab_spread_rotor ;
3769 struct css_set *cgroups ;
3770 struct list_head cg_list ;
3771 struct robust_list_head *robust_list ;
3772 struct compat_robust_list_head *compat_robust_list ;
3773 struct list_head pi_state_list ;
3774 struct futex_pi_state *pi_state_cache ;
3775 struct perf_event_context *perf_event_ctxp[2U] ;
3776 struct mutex perf_event_mutex ;
3777 struct list_head perf_event_list ;
3778 struct mempolicy *mempolicy ;
3779 short il_next ;
3780 short pref_node_fork ;
3781 struct rcu_head rcu ;
3782 struct pipe_inode_info *splice_pipe ;
3783 struct task_delay_info *delays ;
3784 int make_it_fail ;
3785 int nr_dirtied ;
3786 int nr_dirtied_pause ;
3787 unsigned long dirty_paused_when ;
3788 int latency_record_count ;
3789 struct latency_record latency_record[32U] ;
3790 unsigned long timer_slack_ns ;
3791 unsigned long default_timer_slack_ns ;
3792 struct list_head *scm_work_list ;
3793 unsigned long trace ;
3794 unsigned long trace_recursion ;
3795 struct memcg_batch_info memcg_batch ;
3796 atomic_t ptrace_bp_refcnt ;
3797};
3798#line 39 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/compat.h"
3799typedef s32 compat_long_t;
3800#line 212 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/compat.h"
3801typedef u32 compat_uptr_t;
3802#line 225 "include/linux/compat.h"
3803struct compat_robust_list {
3804 compat_uptr_t next ;
3805};
3806#line 229 "include/linux/compat.h"
3807struct compat_robust_list_head {
3808 struct compat_robust_list list ;
3809 compat_long_t futex_offset ;
3810 compat_uptr_t list_op_pending ;
3811};
3812#line 590 "include/linux/compat.h"
3813struct ethtool_cmd {
3814 __u32 cmd ;
3815 __u32 supported ;
3816 __u32 advertising ;
3817 __u16 speed ;
3818 __u8 duplex ;
3819 __u8 port ;
3820 __u8 phy_address ;
3821 __u8 transceiver ;
3822 __u8 autoneg ;
3823 __u8 mdio_support ;
3824 __u32 maxtxpkt ;
3825 __u32 maxrxpkt ;
3826 __u16 speed_hi ;
3827 __u8 eth_tp_mdix ;
3828 __u8 reserved2 ;
3829 __u32 lp_advertising ;
3830 __u32 reserved[2U] ;
3831};
3832#line 66 "include/linux/ethtool.h"
3833struct ethtool_drvinfo {
3834 __u32 cmd ;
3835 char driver[32U] ;
3836 char version[32U] ;
3837 char fw_version[32U] ;
3838 char bus_info[32U] ;
3839 char reserved1[32U] ;
3840 char reserved2[12U] ;
3841 __u32 n_priv_flags ;
3842 __u32 n_stats ;
3843 __u32 testinfo_len ;
3844 __u32 eedump_len ;
3845 __u32 regdump_len ;
3846};
3847#line 106 "include/linux/ethtool.h"
3848struct ethtool_wolinfo {
3849 __u32 cmd ;
3850 __u32 supported ;
3851 __u32 wolopts ;
3852 __u8 sopass[6U] ;
3853};
3854#line 121 "include/linux/ethtool.h"
3855struct ethtool_regs {
3856 __u32 cmd ;
3857 __u32 version ;
3858 __u32 len ;
3859 __u8 data[0U] ;
3860};
3861#line 129 "include/linux/ethtool.h"
3862struct ethtool_eeprom {
3863 __u32 cmd ;
3864 __u32 magic ;
3865 __u32 offset ;
3866 __u32 len ;
3867 __u8 data[0U] ;
3868};
3869#line 138 "include/linux/ethtool.h"
3870struct ethtool_coalesce {
3871 __u32 cmd ;
3872 __u32 rx_coalesce_usecs ;
3873 __u32 rx_max_coalesced_frames ;
3874 __u32 rx_coalesce_usecs_irq ;
3875 __u32 rx_max_coalesced_frames_irq ;
3876 __u32 tx_coalesce_usecs ;
3877 __u32 tx_max_coalesced_frames ;
3878 __u32 tx_coalesce_usecs_irq ;
3879 __u32 tx_max_coalesced_frames_irq ;
3880 __u32 stats_block_coalesce_usecs ;
3881 __u32 use_adaptive_rx_coalesce ;
3882 __u32 use_adaptive_tx_coalesce ;
3883 __u32 pkt_rate_low ;
3884 __u32 rx_coalesce_usecs_low ;
3885 __u32 rx_max_coalesced_frames_low ;
3886 __u32 tx_coalesce_usecs_low ;
3887 __u32 tx_max_coalesced_frames_low ;
3888 __u32 pkt_rate_high ;
3889 __u32 rx_coalesce_usecs_high ;
3890 __u32 rx_max_coalesced_frames_high ;
3891 __u32 tx_coalesce_usecs_high ;
3892 __u32 tx_max_coalesced_frames_high ;
3893 __u32 rate_sample_interval ;
3894};
3895#line 236 "include/linux/ethtool.h"
3896struct ethtool_ringparam {
3897 __u32 cmd ;
3898 __u32 rx_max_pending ;
3899 __u32 rx_mini_max_pending ;
3900 __u32 rx_jumbo_max_pending ;
3901 __u32 tx_max_pending ;
3902 __u32 rx_pending ;
3903 __u32 rx_mini_pending ;
3904 __u32 rx_jumbo_pending ;
3905 __u32 tx_pending ;
3906};
3907#line 258 "include/linux/ethtool.h"
3908struct ethtool_channels {
3909 __u32 cmd ;
3910 __u32 max_rx ;
3911 __u32 max_tx ;
3912 __u32 max_other ;
3913 __u32 max_combined ;
3914 __u32 rx_count ;
3915 __u32 tx_count ;
3916 __u32 other_count ;
3917 __u32 combined_count ;
3918};
3919#line 286 "include/linux/ethtool.h"
3920struct ethtool_pauseparam {
3921 __u32 cmd ;
3922 __u32 autoneg ;
3923 __u32 rx_pause ;
3924 __u32 tx_pause ;
3925};
3926#line 337 "include/linux/ethtool.h"
3927struct ethtool_test {
3928 __u32 cmd ;
3929 __u32 flags ;
3930 __u32 reserved ;
3931 __u32 len ;
3932 __u64 data[0U] ;
3933};
3934#line 359 "include/linux/ethtool.h"
3935struct ethtool_stats {
3936 __u32 cmd ;
3937 __u32 n_stats ;
3938 __u64 data[0U] ;
3939};
3940#line 380 "include/linux/ethtool.h"
3941struct ethtool_tcpip4_spec {
3942 __be32 ip4src ;
3943 __be32 ip4dst ;
3944 __be16 psrc ;
3945 __be16 pdst ;
3946 __u8 tos ;
3947};
3948#line 413 "include/linux/ethtool.h"
3949struct ethtool_ah_espip4_spec {
3950 __be32 ip4src ;
3951 __be32 ip4dst ;
3952 __be32 spi ;
3953 __u8 tos ;
3954};
3955#line 429 "include/linux/ethtool.h"
3956struct ethtool_usrip4_spec {
3957 __be32 ip4src ;
3958 __be32 ip4dst ;
3959 __be32 l4_4_bytes ;
3960 __u8 tos ;
3961 __u8 ip_ver ;
3962 __u8 proto ;
3963};
3964#line 449 "include/linux/ethtool.h"
3965union ethtool_flow_union {
3966 struct ethtool_tcpip4_spec tcp_ip4_spec ;
3967 struct ethtool_tcpip4_spec udp_ip4_spec ;
3968 struct ethtool_tcpip4_spec sctp_ip4_spec ;
3969 struct ethtool_ah_espip4_spec ah_ip4_spec ;
3970 struct ethtool_ah_espip4_spec esp_ip4_spec ;
3971 struct ethtool_usrip4_spec usr_ip4_spec ;
3972 struct ethhdr ether_spec ;
3973 __u8 hdata[60U] ;
3974};
3975#line 460 "include/linux/ethtool.h"
3976struct ethtool_flow_ext {
3977 __be16 vlan_etype ;
3978 __be16 vlan_tci ;
3979 __be32 data[2U] ;
3980};
3981#line 466 "include/linux/ethtool.h"
3982struct ethtool_rx_flow_spec {
3983 __u32 flow_type ;
3984 union ethtool_flow_union h_u ;
3985 struct ethtool_flow_ext h_ext ;
3986 union ethtool_flow_union m_u ;
3987 struct ethtool_flow_ext m_ext ;
3988 __u64 ring_cookie ;
3989 __u32 location ;
3990};
3991#line 491 "include/linux/ethtool.h"
3992struct ethtool_rxnfc {
3993 __u32 cmd ;
3994 __u32 flow_type ;
3995 __u64 data ;
3996 struct ethtool_rx_flow_spec fs ;
3997 __u32 rule_cnt ;
3998 __u32 rule_locs[0U] ;
3999};
4000#line 649 "include/linux/ethtool.h"
4001struct ethtool_flash {
4002 __u32 cmd ;
4003 __u32 region ;
4004 char data[128U] ;
4005};
4006#line 657 "include/linux/ethtool.h"
4007struct ethtool_dump {
4008 __u32 cmd ;
4009 __u32 version ;
4010 __u32 flag ;
4011 __u32 len ;
4012 __u8 data[0U] ;
4013};
4014#line 769
4015enum ethtool_phys_id_state {
4016 ETHTOOL_ID_INACTIVE = 0,
4017 ETHTOOL_ID_ACTIVE = 1,
4018 ETHTOOL_ID_ON = 2,
4019 ETHTOOL_ID_OFF = 3
4020} ;
4021#line 803 "include/linux/ethtool.h"
4022struct ethtool_ops {
4023 int (*get_settings)(struct net_device * , struct ethtool_cmd * ) ;
4024 int (*set_settings)(struct net_device * , struct ethtool_cmd * ) ;
4025 void (*get_drvinfo)(struct net_device * , struct ethtool_drvinfo * ) ;
4026 int (*get_regs_len)(struct net_device * ) ;
4027 void (*get_regs)(struct net_device * , struct ethtool_regs * , void * ) ;
4028 void (*get_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4029 int (*set_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4030 u32 (*get_msglevel)(struct net_device * ) ;
4031 void (*set_msglevel)(struct net_device * , u32 ) ;
4032 int (*nway_reset)(struct net_device * ) ;
4033 u32 (*get_link)(struct net_device * ) ;
4034 int (*get_eeprom_len)(struct net_device * ) ;
4035 int (*get_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4036 int (*set_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4037 int (*get_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4038 int (*set_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4039 void (*get_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4040 int (*set_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4041 void (*get_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4042 int (*set_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4043 void (*self_test)(struct net_device * , struct ethtool_test * , u64 * ) ;
4044 void (*get_strings)(struct net_device * , u32 , u8 * ) ;
4045 int (*set_phys_id)(struct net_device * , enum ethtool_phys_id_state ) ;
4046 void (*get_ethtool_stats)(struct net_device * , struct ethtool_stats * , u64 * ) ;
4047 int (*begin)(struct net_device * ) ;
4048 void (*complete)(struct net_device * ) ;
4049 u32 (*get_priv_flags)(struct net_device * ) ;
4050 int (*set_priv_flags)(struct net_device * , u32 ) ;
4051 int (*get_sset_count)(struct net_device * , int ) ;
4052 int (*get_rxnfc)(struct net_device * , struct ethtool_rxnfc * , u32 * ) ;
4053 int (*set_rxnfc)(struct net_device * , struct ethtool_rxnfc * ) ;
4054 int (*flash_device)(struct net_device * , struct ethtool_flash * ) ;
4055 int (*reset)(struct net_device * , u32 * ) ;
4056 u32 (*get_rxfh_indir_size)(struct net_device * ) ;
4057 int (*get_rxfh_indir)(struct net_device * , u32 * ) ;
4058 int (*set_rxfh_indir)(struct net_device * , u32 const * ) ;
4059 void (*get_channels)(struct net_device * , struct ethtool_channels * ) ;
4060 int (*set_channels)(struct net_device * , struct ethtool_channels * ) ;
4061 int (*get_dump_flag)(struct net_device * , struct ethtool_dump * ) ;
4062 int (*get_dump_data)(struct net_device * , struct ethtool_dump * , void * ) ;
4063 int (*set_dump)(struct net_device * , struct ethtool_dump * ) ;
4064};
4065#line 971
4066struct prot_inuse;
4067#line 971
4068struct prot_inuse;
4069#line 972 "include/linux/ethtool.h"
4070struct netns_core {
4071 struct ctl_table_header *sysctl_hdr ;
4072 int sysctl_somaxconn ;
4073 struct prot_inuse *inuse ;
4074};
4075#line 38 "include/net/snmp.h"
4076struct u64_stats_sync {
4077
4078};
4079#line 138 "include/linux/u64_stats_sync.h"
4080struct ipstats_mib {
4081 u64 mibs[31U] ;
4082 struct u64_stats_sync syncp ;
4083};
4084#line 61 "include/net/snmp.h"
4085struct icmp_mib {
4086 unsigned long mibs[27U] ;
4087};
4088#line 67 "include/net/snmp.h"
4089struct icmpmsg_mib {
4090 atomic_long_t mibs[512U] ;
4091};
4092#line 72 "include/net/snmp.h"
4093struct icmpv6_mib {
4094 unsigned long mibs[5U] ;
4095};
4096#line 83 "include/net/snmp.h"
4097struct icmpv6msg_mib {
4098 atomic_long_t mibs[512U] ;
4099};
4100#line 93 "include/net/snmp.h"
4101struct tcp_mib {
4102 unsigned long mibs[15U] ;
4103};
4104#line 100 "include/net/snmp.h"
4105struct udp_mib {
4106 unsigned long mibs[7U] ;
4107};
4108#line 106 "include/net/snmp.h"
4109struct linux_mib {
4110 unsigned long mibs[83U] ;
4111};
4112#line 112 "include/net/snmp.h"
4113struct linux_xfrm_mib {
4114 unsigned long mibs[27U] ;
4115};
4116#line 118 "include/net/snmp.h"
4117struct netns_mib {
4118 struct tcp_mib *tcp_statistics[1U] ;
4119 struct ipstats_mib *ip_statistics[1U] ;
4120 struct linux_mib *net_statistics[1U] ;
4121 struct udp_mib *udp_statistics[1U] ;
4122 struct udp_mib *udplite_statistics[1U] ;
4123 struct icmp_mib *icmp_statistics[1U] ;
4124 struct icmpmsg_mib *icmpmsg_statistics ;
4125 struct proc_dir_entry *proc_net_devsnmp6 ;
4126 struct udp_mib *udp_stats_in6[1U] ;
4127 struct udp_mib *udplite_stats_in6[1U] ;
4128 struct ipstats_mib *ipv6_statistics[1U] ;
4129 struct icmpv6_mib *icmpv6_statistics[1U] ;
4130 struct icmpv6msg_mib *icmpv6msg_statistics ;
4131 struct linux_xfrm_mib *xfrm_statistics[1U] ;
4132};
4133#line 26 "include/net/netns/mib.h"
4134struct netns_unix {
4135 int sysctl_max_dgram_qlen ;
4136 struct ctl_table_header *ctl ;
4137};
4138#line 12 "include/net/netns/unix.h"
4139struct netns_packet {
4140 spinlock_t sklist_lock ;
4141 struct hlist_head sklist ;
4142};
4143#line 14 "include/net/netns/packet.h"
4144struct netns_frags {
4145 int nqueues ;
4146 atomic_t mem ;
4147 struct list_head lru_list ;
4148 int timeout ;
4149 int high_thresh ;
4150 int low_thresh ;
4151};
4152#line 73 "include/net/inet_frag.h"
4153struct ipv4_devconf;
4154#line 73
4155struct ipv4_devconf;
4156#line 74
4157struct fib_rules_ops;
4158#line 74
4159struct fib_rules_ops;
4160#line 75
4161struct xt_table;
4162#line 75 "include/net/inet_frag.h"
4163struct netns_ipv4 {
4164 struct ctl_table_header *forw_hdr ;
4165 struct ctl_table_header *frags_hdr ;
4166 struct ctl_table_header *ipv4_hdr ;
4167 struct ctl_table_header *route_hdr ;
4168 struct ipv4_devconf *devconf_all ;
4169 struct ipv4_devconf *devconf_dflt ;
4170 struct fib_rules_ops *rules_ops ;
4171 struct hlist_head *fib_table_hash ;
4172 struct sock *fibnl ;
4173 struct sock **icmp_sk ;
4174 struct sock *tcp_sock ;
4175 struct netns_frags frags ;
4176 struct xt_table *iptable_filter ;
4177 struct xt_table *iptable_mangle ;
4178 struct xt_table *iptable_raw ;
4179 struct xt_table *arptable_filter ;
4180 struct xt_table *iptable_security ;
4181 struct xt_table *nat_table ;
4182 struct hlist_head *nat_bysource ;
4183 unsigned int nat_htable_size ;
4184 int sysctl_icmp_echo_ignore_all ;
4185 int sysctl_icmp_echo_ignore_broadcasts ;
4186 int sysctl_icmp_ignore_bogus_error_responses ;
4187 int sysctl_icmp_ratelimit ;
4188 int sysctl_icmp_ratemask ;
4189 int sysctl_icmp_errors_use_inbound_ifaddr ;
4190 int sysctl_rt_cache_rebuild_count ;
4191 int current_rt_cache_rebuild_count ;
4192 unsigned int sysctl_ping_group_range[2U] ;
4193 long sysctl_tcp_mem[3U] ;
4194 atomic_t rt_genid ;
4195 atomic_t dev_addr_genid ;
4196 struct list_head mr_tables ;
4197 struct fib_rules_ops *mr_rules_ops ;
4198};
4199#line 71 "include/net/netns/ipv4.h"
4200struct neighbour;
4201#line 71 "include/net/netns/ipv4.h"
4202struct dst_ops {
4203 unsigned short family ;
4204 __be16 protocol ;
4205 unsigned int gc_thresh ;
4206 int (*gc)(struct dst_ops * ) ;
4207 struct dst_entry *(*check)(struct dst_entry * , __u32 ) ;
4208 unsigned int (*default_advmss)(struct dst_entry const * ) ;
4209 unsigned int (*mtu)(struct dst_entry const * ) ;
4210 u32 *(*cow_metrics)(struct dst_entry * , unsigned long ) ;
4211 void (*destroy)(struct dst_entry * ) ;
4212 void (*ifdown)(struct dst_entry * , struct net_device * , int ) ;
4213 struct dst_entry *(*negative_advice)(struct dst_entry * ) ;
4214 void (*link_failure)(struct sk_buff * ) ;
4215 void (*update_pmtu)(struct dst_entry * , u32 ) ;
4216 int (*local_out)(struct sk_buff * ) ;
4217 struct neighbour *(*neigh_lookup)(struct dst_entry const * , void const * ) ;
4218 struct kmem_cache *kmem_cachep ;
4219 struct percpu_counter pcpuc_entries ;
4220};
4221#line 67 "include/net/dst_ops.h"
4222struct netns_sysctl_ipv6 {
4223 struct ctl_table_header *table ;
4224 struct ctl_table_header *frags_hdr ;
4225 int bindv6only ;
4226 int flush_delay ;
4227 int ip6_rt_max_size ;
4228 int ip6_rt_gc_min_interval ;
4229 int ip6_rt_gc_timeout ;
4230 int ip6_rt_gc_interval ;
4231 int ip6_rt_gc_elasticity ;
4232 int ip6_rt_mtu_expires ;
4233 int ip6_rt_min_advmss ;
4234 int icmpv6_time ;
4235};
4236#line 29 "include/net/netns/ipv6.h"
4237struct ipv6_devconf;
4238#line 29
4239struct rt6_info;
4240#line 29
4241struct rt6_statistics;
4242#line 29
4243struct fib6_table;
4244#line 29 "include/net/netns/ipv6.h"
4245struct netns_ipv6 {
4246 struct netns_sysctl_ipv6 sysctl ;
4247 struct ipv6_devconf *devconf_all ;
4248 struct ipv6_devconf *devconf_dflt ;
4249 struct netns_frags frags ;
4250 struct xt_table *ip6table_filter ;
4251 struct xt_table *ip6table_mangle ;
4252 struct xt_table *ip6table_raw ;
4253 struct xt_table *ip6table_security ;
4254 struct rt6_info *ip6_null_entry ;
4255 struct rt6_statistics *rt6_stats ;
4256 struct timer_list ip6_fib_timer ;
4257 struct hlist_head *fib_table_hash ;
4258 struct fib6_table *fib6_main_tbl ;
4259 struct dst_ops ip6_dst_ops ;
4260 unsigned int ip6_rt_gc_expire ;
4261 unsigned long ip6_rt_last_gc ;
4262 struct rt6_info *ip6_prohibit_entry ;
4263 struct rt6_info *ip6_blk_hole_entry ;
4264 struct fib6_table *fib6_local_tbl ;
4265 struct fib_rules_ops *fib6_rules_ops ;
4266 struct sock **icmp_sk ;
4267 struct sock *ndisc_sk ;
4268 struct sock *tcp_sk ;
4269 struct sock *igmp_sk ;
4270 struct list_head mr6_tables ;
4271 struct fib_rules_ops *mr6_rules_ops ;
4272};
4273#line 68 "include/net/netns/ipv6.h"
4274struct netns_dccp {
4275 struct sock *v4_ctl_sk ;
4276 struct sock *v6_ctl_sk ;
4277};
4278#line 46 "include/linux/proc_fs.h"
4279typedef int read_proc_t(char * , char ** , off_t , int , int * , void * );
4280#line 48 "include/linux/proc_fs.h"
4281typedef int write_proc_t(struct file * , char const * , unsigned long , void * );
4282#line 49 "include/linux/proc_fs.h"
4283struct proc_dir_entry {
4284 unsigned int low_ino ;
4285 umode_t mode ;
4286 nlink_t nlink ;
4287 uid_t uid ;
4288 gid_t gid ;
4289 loff_t size ;
4290 struct inode_operations const *proc_iops ;
4291 struct file_operations const *proc_fops ;
4292 struct proc_dir_entry *next ;
4293 struct proc_dir_entry *parent ;
4294 struct proc_dir_entry *subdir ;
4295 void *data ;
4296 read_proc_t *read_proc ;
4297 write_proc_t *write_proc ;
4298 atomic_t count ;
4299 int pde_users ;
4300 struct completion *pde_unload_completion ;
4301 struct list_head pde_openers ;
4302 spinlock_t pde_unload_lock ;
4303 u8 namelen ;
4304 char name[0U] ;
4305};
4306#line 392 "include/linux/netfilter.h"
4307struct ebt_table;
4308#line 392
4309struct ebt_table;
4310#line 393 "include/linux/netfilter.h"
4311struct netns_xt {
4312 struct list_head tables[13U] ;
4313 struct ebt_table *broute_table ;
4314 struct ebt_table *frame_filter ;
4315 struct ebt_table *frame_nat ;
4316};
4317#line 17 "include/net/netns/x_tables.h"
4318struct hlist_nulls_node;
4319#line 17 "include/net/netns/x_tables.h"
4320struct hlist_nulls_head {
4321 struct hlist_nulls_node *first ;
4322};
4323#line 20 "include/linux/list_nulls.h"
4324struct hlist_nulls_node {
4325 struct hlist_nulls_node *next ;
4326 struct hlist_nulls_node **pprev ;
4327};
4328#line 86
4329struct ip_conntrack_stat;
4330#line 86
4331struct nf_ct_event_notifier;
4332#line 86
4333struct nf_exp_event_notifier;
4334#line 86 "include/linux/list_nulls.h"
4335struct netns_ct {
4336 atomic_t count ;
4337 unsigned int expect_count ;
4338 unsigned int htable_size ;
4339 struct kmem_cache *nf_conntrack_cachep ;
4340 struct hlist_nulls_head *hash ;
4341 struct hlist_head *expect_hash ;
4342 struct hlist_nulls_head unconfirmed ;
4343 struct hlist_nulls_head dying ;
4344 struct ip_conntrack_stat *stat ;
4345 struct nf_ct_event_notifier *nf_conntrack_event_cb ;
4346 struct nf_exp_event_notifier *nf_expect_event_cb ;
4347 int sysctl_events ;
4348 unsigned int sysctl_events_retry_timeout ;
4349 int sysctl_acct ;
4350 int sysctl_tstamp ;
4351 int sysctl_checksum ;
4352 unsigned int sysctl_log_invalid ;
4353 struct ctl_table_header *sysctl_header ;
4354 struct ctl_table_header *acct_sysctl_header ;
4355 struct ctl_table_header *tstamp_sysctl_header ;
4356 struct ctl_table_header *event_sysctl_header ;
4357 char *slabname ;
4358};
4359#line 484 "include/linux/xfrm.h"
4360struct xfrm_policy_hash {
4361 struct hlist_head *table ;
4362 unsigned int hmask ;
4363};
4364#line 16 "include/net/netns/xfrm.h"
4365struct netns_xfrm {
4366 struct list_head state_all ;
4367 struct hlist_head *state_bydst ;
4368 struct hlist_head *state_bysrc ;
4369 struct hlist_head *state_byspi ;
4370 unsigned int state_hmask ;
4371 unsigned int state_num ;
4372 struct work_struct state_hash_work ;
4373 struct hlist_head state_gc_list ;
4374 struct work_struct state_gc_work ;
4375 wait_queue_head_t km_waitq ;
4376 struct list_head policy_all ;
4377 struct hlist_head *policy_byidx ;
4378 unsigned int policy_idx_hmask ;
4379 struct hlist_head policy_inexact[6U] ;
4380 struct xfrm_policy_hash policy_bydst[6U] ;
4381 unsigned int policy_count[6U] ;
4382 struct work_struct policy_hash_work ;
4383 struct sock *nlsk ;
4384 struct sock *nlsk_stash ;
4385 u32 sysctl_aevent_etime ;
4386 u32 sysctl_aevent_rseqth ;
4387 int sysctl_larval_drop ;
4388 u32 sysctl_acq_expires ;
4389 struct ctl_table_header *sysctl_hdr ;
4390 struct dst_ops xfrm4_dst_ops ;
4391 struct dst_ops xfrm6_dst_ops ;
4392};
4393#line 62
4394struct net_generic;
4395#line 62
4396struct net_generic;
4397#line 63
4398struct netns_ipvs;
4399#line 63
4400struct netns_ipvs;
4401#line 64 "include/net/netns/xfrm.h"
4402struct net {
4403 atomic_t passive ;
4404 atomic_t count ;
4405 spinlock_t rules_mod_lock ;
4406 struct list_head list ;
4407 struct list_head cleanup_list ;
4408 struct list_head exit_list ;
4409 struct proc_dir_entry *proc_net ;
4410 struct proc_dir_entry *proc_net_stat ;
4411 struct ctl_table_set sysctls ;
4412 struct sock *rtnl ;
4413 struct sock *genl_sock ;
4414 struct list_head dev_base_head ;
4415 struct hlist_head *dev_name_head ;
4416 struct hlist_head *dev_index_head ;
4417 unsigned int dev_base_seq ;
4418 struct list_head rules_ops ;
4419 struct net_device *loopback_dev ;
4420 struct netns_core core ;
4421 struct netns_mib mib ;
4422 struct netns_packet packet ;
4423 struct netns_unix unx ;
4424 struct netns_ipv4 ipv4 ;
4425 struct netns_ipv6 ipv6 ;
4426 struct netns_dccp dccp ;
4427 struct netns_xt xt ;
4428 struct netns_ct ct ;
4429 struct sock *nfnl ;
4430 struct sock *nfnl_stash ;
4431 struct sk_buff_head wext_nlevents ;
4432 struct net_generic *gen ;
4433 struct netns_xfrm xfrm ;
4434 struct netns_ipvs *ipvs ;
4435};
4436#line 105 "include/net/net_namespace.h"
4437struct seq_file {
4438 char *buf ;
4439 size_t size ;
4440 size_t from ;
4441 size_t count ;
4442 loff_t index ;
4443 loff_t read_pos ;
4444 u64 version ;
4445 struct mutex lock ;
4446 struct seq_operations const *op ;
4447 int poll_event ;
4448 void *private ;
4449};
4450#line 30 "include/linux/seq_file.h"
4451struct seq_operations {
4452 void *(*start)(struct seq_file * , loff_t * ) ;
4453 void (*stop)(struct seq_file * , void * ) ;
4454 void *(*next)(struct seq_file * , void * , loff_t * ) ;
4455 int (*show)(struct seq_file * , void * ) ;
4456};
4457#line 291 "include/net/net_namespace.h"
4458struct dsa_chip_data {
4459 struct device *mii_bus ;
4460 int sw_addr ;
4461 char *port_names[12U] ;
4462 s8 *rtable ;
4463};
4464#line 46 "include/net/dsa.h"
4465struct dsa_platform_data {
4466 struct device *netdev ;
4467 int nr_chips ;
4468 struct dsa_chip_data *chip ;
4469};
4470#line 61
4471struct dsa_switch;
4472#line 61 "include/net/dsa.h"
4473struct dsa_switch_tree {
4474 struct dsa_platform_data *pd ;
4475 struct net_device *master_netdev ;
4476 __be16 tag_protocol ;
4477 s8 cpu_switch ;
4478 s8 cpu_port ;
4479 int link_poll_needed ;
4480 struct work_struct link_poll_work ;
4481 struct timer_list link_poll_timer ;
4482 struct dsa_switch *ds[4U] ;
4483};
4484#line 94
4485struct dsa_switch_driver;
4486#line 94
4487struct mii_bus;
4488#line 94 "include/net/dsa.h"
4489struct dsa_switch {
4490 struct dsa_switch_tree *dst ;
4491 int index ;
4492 struct dsa_chip_data *pd ;
4493 struct dsa_switch_driver *drv ;
4494 struct mii_bus *master_mii_bus ;
4495 u32 dsa_port_mask ;
4496 u32 phys_port_mask ;
4497 struct mii_bus *slave_mii_bus ;
4498 struct net_device *ports[12U] ;
4499};
4500#line 146 "include/net/dsa.h"
4501struct dsa_switch_driver {
4502 struct list_head list ;
4503 __be16 tag_protocol ;
4504 int priv_size ;
4505 char *(*probe)(struct mii_bus * , int ) ;
4506 int (*setup)(struct dsa_switch * ) ;
4507 int (*set_addr)(struct dsa_switch * , u8 * ) ;
4508 int (*phy_read)(struct dsa_switch * , int , int ) ;
4509 int (*phy_write)(struct dsa_switch * , int , int , u16 ) ;
4510 void (*poll_link)(struct dsa_switch * ) ;
4511 void (*get_strings)(struct dsa_switch * , int , uint8_t * ) ;
4512 void (*get_ethtool_stats)(struct dsa_switch * , int , uint64_t * ) ;
4513 int (*get_sset_count)(struct dsa_switch * ) ;
4514};
4515#line 200 "include/net/dsa.h"
4516struct ieee_ets {
4517 __u8 willing ;
4518 __u8 ets_cap ;
4519 __u8 cbs ;
4520 __u8 tc_tx_bw[8U] ;
4521 __u8 tc_rx_bw[8U] ;
4522 __u8 tc_tsa[8U] ;
4523 __u8 prio_tc[8U] ;
4524 __u8 tc_reco_bw[8U] ;
4525 __u8 tc_reco_tsa[8U] ;
4526 __u8 reco_prio_tc[8U] ;
4527};
4528#line 69 "include/linux/dcbnl.h"
4529struct ieee_pfc {
4530 __u8 pfc_cap ;
4531 __u8 pfc_en ;
4532 __u8 mbc ;
4533 __u16 delay ;
4534 __u64 requests[8U] ;
4535 __u64 indications[8U] ;
4536};
4537#line 89 "include/linux/dcbnl.h"
4538struct cee_pg {
4539 __u8 willing ;
4540 __u8 error ;
4541 __u8 pg_en ;
4542 __u8 tcs_supported ;
4543 __u8 pg_bw[8U] ;
4544 __u8 prio_pg[8U] ;
4545};
4546#line 112 "include/linux/dcbnl.h"
4547struct cee_pfc {
4548 __u8 willing ;
4549 __u8 error ;
4550 __u8 pfc_en ;
4551 __u8 tcs_supported ;
4552};
4553#line 127 "include/linux/dcbnl.h"
4554struct dcb_app {
4555 __u8 selector ;
4556 __u8 priority ;
4557 __u16 protocol ;
4558};
4559#line 156 "include/linux/dcbnl.h"
4560struct dcb_peer_app_info {
4561 __u8 willing ;
4562 __u8 error ;
4563};
4564#line 41 "include/net/dcbnl.h"
4565struct dcbnl_rtnl_ops {
4566 int (*ieee_getets)(struct net_device * , struct ieee_ets * ) ;
4567 int (*ieee_setets)(struct net_device * , struct ieee_ets * ) ;
4568 int (*ieee_getpfc)(struct net_device * , struct ieee_pfc * ) ;
4569 int (*ieee_setpfc)(struct net_device * , struct ieee_pfc * ) ;
4570 int (*ieee_getapp)(struct net_device * , struct dcb_app * ) ;
4571 int (*ieee_setapp)(struct net_device * , struct dcb_app * ) ;
4572 int (*ieee_delapp)(struct net_device * , struct dcb_app * ) ;
4573 int (*ieee_peer_getets)(struct net_device * , struct ieee_ets * ) ;
4574 int (*ieee_peer_getpfc)(struct net_device * , struct ieee_pfc * ) ;
4575 u8 (*getstate)(struct net_device * ) ;
4576 u8 (*setstate)(struct net_device * , u8 ) ;
4577 void (*getpermhwaddr)(struct net_device * , u8 * ) ;
4578 void (*setpgtccfgtx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
4579 void (*setpgbwgcfgtx)(struct net_device * , int , u8 ) ;
4580 void (*setpgtccfgrx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
4581 void (*setpgbwgcfgrx)(struct net_device * , int , u8 ) ;
4582 void (*getpgtccfgtx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
4583 void (*getpgbwgcfgtx)(struct net_device * , int , u8 * ) ;
4584 void (*getpgtccfgrx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
4585 void (*getpgbwgcfgrx)(struct net_device * , int , u8 * ) ;
4586 void (*setpfccfg)(struct net_device * , int , u8 ) ;
4587 void (*getpfccfg)(struct net_device * , int , u8 * ) ;
4588 u8 (*setall)(struct net_device * ) ;
4589 u8 (*getcap)(struct net_device * , int , u8 * ) ;
4590 int (*getnumtcs)(struct net_device * , int , u8 * ) ;
4591 int (*setnumtcs)(struct net_device * , int , u8 ) ;
4592 u8 (*getpfcstate)(struct net_device * ) ;
4593 void (*setpfcstate)(struct net_device * , u8 ) ;
4594 void (*getbcncfg)(struct net_device * , int , u32 * ) ;
4595 void (*setbcncfg)(struct net_device * , int , u32 ) ;
4596 void (*getbcnrp)(struct net_device * , int , u8 * ) ;
4597 void (*setbcnrp)(struct net_device * , int , u8 ) ;
4598 u8 (*setapp)(struct net_device * , u8 , u16 , u8 ) ;
4599 u8 (*getapp)(struct net_device * , u8 , u16 ) ;
4600 u8 (*getfeatcfg)(struct net_device * , int , u8 * ) ;
4601 u8 (*setfeatcfg)(struct net_device * , int , u8 ) ;
4602 u8 (*getdcbx)(struct net_device * ) ;
4603 u8 (*setdcbx)(struct net_device * , u8 ) ;
4604 int (*peer_getappinfo)(struct net_device * , struct dcb_peer_app_info * , u16 * ) ;
4605 int (*peer_getapptable)(struct net_device * , struct dcb_app * ) ;
4606 int (*cee_peer_getpg)(struct net_device * , struct cee_pg * ) ;
4607 int (*cee_peer_getpfc)(struct net_device * , struct cee_pfc * ) ;
4608};
4609#line 101 "include/net/dcbnl.h"
4610struct taskstats {
4611 __u16 version ;
4612 __u32 ac_exitcode ;
4613 __u8 ac_flag ;
4614 __u8 ac_nice ;
4615 __u64 cpu_count ;
4616 __u64 cpu_delay_total ;
4617 __u64 blkio_count ;
4618 __u64 blkio_delay_total ;
4619 __u64 swapin_count ;
4620 __u64 swapin_delay_total ;
4621 __u64 cpu_run_real_total ;
4622 __u64 cpu_run_virtual_total ;
4623 char ac_comm[32U] ;
4624 __u8 ac_sched ;
4625 __u8 ac_pad[3U] ;
4626 __u32 ac_uid ;
4627 __u32 ac_gid ;
4628 __u32 ac_pid ;
4629 __u32 ac_ppid ;
4630 __u32 ac_btime ;
4631 __u64 ac_etime ;
4632 __u64 ac_utime ;
4633 __u64 ac_stime ;
4634 __u64 ac_minflt ;
4635 __u64 ac_majflt ;
4636 __u64 coremem ;
4637 __u64 virtmem ;
4638 __u64 hiwater_rss ;
4639 __u64 hiwater_vm ;
4640 __u64 read_char ;
4641 __u64 write_char ;
4642 __u64 read_syscalls ;
4643 __u64 write_syscalls ;
4644 __u64 read_bytes ;
4645 __u64 write_bytes ;
4646 __u64 cancelled_write_bytes ;
4647 __u64 nvcsw ;
4648 __u64 nivcsw ;
4649 __u64 ac_utimescaled ;
4650 __u64 ac_stimescaled ;
4651 __u64 cpu_scaled_run_real_total ;
4652 __u64 freepages_count ;
4653 __u64 freepages_delay_total ;
4654};
4655#line 154 "include/linux/idr.h"
4656struct cgroupfs_root;
4657#line 154
4658struct cgroupfs_root;
4659#line 156
4660struct cgroup;
4661#line 156
4662struct cgroup;
4663#line 157
4664struct css_id;
4665#line 157
4666struct css_id;
4667#line 56 "include/linux/cgroup.h"
4668struct cgroup_subsys_state {
4669 struct cgroup *cgroup ;
4670 atomic_t refcnt ;
4671 unsigned long flags ;
4672 struct css_id *id ;
4673};
4674#line 149 "include/linux/cgroup.h"
4675struct cgroup {
4676 unsigned long flags ;
4677 atomic_t count ;
4678 struct list_head sibling ;
4679 struct list_head children ;
4680 struct cgroup *parent ;
4681 struct dentry *dentry ;
4682 struct cgroup_subsys_state *subsys[64U] ;
4683 struct cgroupfs_root *root ;
4684 struct cgroup *top_cgroup ;
4685 struct list_head css_sets ;
4686 struct list_head release_list ;
4687 struct list_head pidlists ;
4688 struct mutex pidlist_mutex ;
4689 struct rcu_head rcu_head ;
4690 struct list_head event_list ;
4691 spinlock_t event_list_lock ;
4692};
4693#line 215 "include/linux/cgroup.h"
4694struct css_set {
4695 atomic_t refcount ;
4696 struct hlist_node hlist ;
4697 struct list_head tasks ;
4698 struct list_head cg_links ;
4699 struct cgroup_subsys_state *subsys[64U] ;
4700 struct rcu_head rcu_head ;
4701};
4702#line 606 "include/linux/cgroup.h"
4703struct netprio_map {
4704 struct rcu_head rcu ;
4705 u32 priomap_len ;
4706 u32 priomap[0U] ;
4707};
4708#line 74 "include/net/netprio_cgroup.h"
4709struct netpoll_info;
4710#line 74
4711struct netpoll_info;
4712#line 75
4713struct phy_device;
4714#line 75
4715struct phy_device;
4716#line 76
4717struct wireless_dev;
4718#line 76
4719struct wireless_dev;
4720#line 77
4721enum netdev_tx {
4722 __NETDEV_TX_MIN = (-0x7FFFFFFF-1),
4723 NETDEV_TX_OK = 0,
4724 NETDEV_TX_BUSY = 16,
4725 NETDEV_TX_LOCKED = 32
4726} ;
4727#line 115 "include/linux/netdevice.h"
4728typedef enum netdev_tx netdev_tx_t;
4729#line 134 "include/linux/netdevice.h"
4730struct net_device_stats {
4731 unsigned long rx_packets ;
4732 unsigned long tx_packets ;
4733 unsigned long rx_bytes ;
4734 unsigned long tx_bytes ;
4735 unsigned long rx_errors ;
4736 unsigned long tx_errors ;
4737 unsigned long rx_dropped ;
4738 unsigned long tx_dropped ;
4739 unsigned long multicast ;
4740 unsigned long collisions ;
4741 unsigned long rx_length_errors ;
4742 unsigned long rx_over_errors ;
4743 unsigned long rx_crc_errors ;
4744 unsigned long rx_frame_errors ;
4745 unsigned long rx_fifo_errors ;
4746 unsigned long rx_missed_errors ;
4747 unsigned long tx_aborted_errors ;
4748 unsigned long tx_carrier_errors ;
4749 unsigned long tx_fifo_errors ;
4750 unsigned long tx_heartbeat_errors ;
4751 unsigned long tx_window_errors ;
4752 unsigned long rx_compressed ;
4753 unsigned long tx_compressed ;
4754};
4755#line 220
4756struct neigh_parms;
4757#line 220
4758struct neigh_parms;
4759#line 240 "include/linux/netdevice.h"
4760struct netdev_hw_addr_list {
4761 struct list_head list ;
4762 int count ;
4763};
4764#line 245 "include/linux/netdevice.h"
4765struct hh_cache {
4766 u16 hh_len ;
4767 u16 __pad ;
4768 seqlock_t hh_lock ;
4769 unsigned long hh_data[16U] ;
4770};
4771#line 274 "include/linux/netdevice.h"
4772struct header_ops {
4773 int (*create)(struct sk_buff * , struct net_device * , unsigned short , void const * ,
4774 void const * , unsigned int ) ;
4775 int (*parse)(struct sk_buff const * , unsigned char * ) ;
4776 int (*rebuild)(struct sk_buff * ) ;
4777 int (*cache)(struct neighbour const * , struct hh_cache * , __be16 ) ;
4778 void (*cache_update)(struct hh_cache * , struct net_device const * , unsigned char const * ) ;
4779};
4780#line 368
4781enum rx_handler_result {
4782 RX_HANDLER_CONSUMED = 0,
4783 RX_HANDLER_ANOTHER = 1,
4784 RX_HANDLER_EXACT = 2,
4785 RX_HANDLER_PASS = 3
4786} ;
4787#line 416 "include/linux/netdevice.h"
4788typedef enum rx_handler_result rx_handler_result_t;
4789#line 417 "include/linux/netdevice.h"
4790typedef rx_handler_result_t rx_handler_func_t(struct sk_buff ** );
4791#line 525
4792struct Qdisc;
4793#line 525 "include/linux/netdevice.h"
4794struct netdev_queue {
4795 struct net_device *dev ;
4796 struct Qdisc *qdisc ;
4797 struct Qdisc *qdisc_sleeping ;
4798 struct kobject kobj ;
4799 int numa_node ;
4800 spinlock_t _xmit_lock ;
4801 int xmit_lock_owner ;
4802 unsigned long trans_start ;
4803 unsigned long trans_timeout ;
4804 unsigned long state ;
4805 struct dql dql ;
4806};
4807#line 589 "include/linux/netdevice.h"
4808struct rps_map {
4809 unsigned int len ;
4810 struct rcu_head rcu ;
4811 u16 cpus[0U] ;
4812};
4813#line 601 "include/linux/netdevice.h"
4814struct rps_dev_flow {
4815 u16 cpu ;
4816 u16 filter ;
4817 unsigned int last_qtail ;
4818};
4819#line 613 "include/linux/netdevice.h"
4820struct rps_dev_flow_table {
4821 unsigned int mask ;
4822 struct rcu_head rcu ;
4823 struct work_struct free_work ;
4824 struct rps_dev_flow flows[0U] ;
4825};
4826#line 665 "include/linux/netdevice.h"
4827struct netdev_rx_queue {
4828 struct rps_map *rps_map ;
4829 struct rps_dev_flow_table *rps_flow_table ;
4830 struct kobject kobj ;
4831 struct net_device *dev ;
4832};
4833#line 675 "include/linux/netdevice.h"
4834struct xps_map {
4835 unsigned int len ;
4836 unsigned int alloc_len ;
4837 struct rcu_head rcu ;
4838 u16 queues[0U] ;
4839};
4840#line 688 "include/linux/netdevice.h"
4841struct xps_dev_maps {
4842 struct rcu_head rcu ;
4843 struct xps_map *cpu_map[0U] ;
4844};
4845#line 699 "include/linux/netdevice.h"
4846struct netdev_tc_txq {
4847 u16 count ;
4848 u16 offset ;
4849};
4850#line 710 "include/linux/netdevice.h"
4851struct netdev_fcoe_hbainfo {
4852 char manufacturer[64U] ;
4853 char serial_number[64U] ;
4854 char hardware_version[64U] ;
4855 char driver_version[64U] ;
4856 char optionrom_version[64U] ;
4857 char firmware_version[64U] ;
4858 char model[256U] ;
4859 char model_description[256U] ;
4860};
4861#line 726 "include/linux/netdevice.h"
4862struct net_device_ops {
4863 int (*ndo_init)(struct net_device * ) ;
4864 void (*ndo_uninit)(struct net_device * ) ;
4865 int (*ndo_open)(struct net_device * ) ;
4866 int (*ndo_stop)(struct net_device * ) ;
4867 netdev_tx_t (*ndo_start_xmit)(struct sk_buff * , struct net_device * ) ;
4868 u16 (*ndo_select_queue)(struct net_device * , struct sk_buff * ) ;
4869 void (*ndo_change_rx_flags)(struct net_device * , int ) ;
4870 void (*ndo_set_rx_mode)(struct net_device * ) ;
4871 int (*ndo_set_mac_address)(struct net_device * , void * ) ;
4872 int (*ndo_validate_addr)(struct net_device * ) ;
4873 int (*ndo_do_ioctl)(struct net_device * , struct ifreq * , int ) ;
4874 int (*ndo_set_config)(struct net_device * , struct ifmap * ) ;
4875 int (*ndo_change_mtu)(struct net_device * , int ) ;
4876 int (*ndo_neigh_setup)(struct net_device * , struct neigh_parms * ) ;
4877 void (*ndo_tx_timeout)(struct net_device * ) ;
4878 struct rtnl_link_stats64 *(*ndo_get_stats64)(struct net_device * , struct rtnl_link_stats64 * ) ;
4879 struct net_device_stats *(*ndo_get_stats)(struct net_device * ) ;
4880 int (*ndo_vlan_rx_add_vid)(struct net_device * , unsigned short ) ;
4881 int (*ndo_vlan_rx_kill_vid)(struct net_device * , unsigned short ) ;
4882 void (*ndo_poll_controller)(struct net_device * ) ;
4883 int (*ndo_netpoll_setup)(struct net_device * , struct netpoll_info * ) ;
4884 void (*ndo_netpoll_cleanup)(struct net_device * ) ;
4885 int (*ndo_set_vf_mac)(struct net_device * , int , u8 * ) ;
4886 int (*ndo_set_vf_vlan)(struct net_device * , int , u16 , u8 ) ;
4887 int (*ndo_set_vf_tx_rate)(struct net_device * , int , int ) ;
4888 int (*ndo_set_vf_spoofchk)(struct net_device * , int , bool ) ;
4889 int (*ndo_get_vf_config)(struct net_device * , int , struct ifla_vf_info * ) ;
4890 int (*ndo_set_vf_port)(struct net_device * , int , struct nlattr ** ) ;
4891 int (*ndo_get_vf_port)(struct net_device * , int , struct sk_buff * ) ;
4892 int (*ndo_setup_tc)(struct net_device * , u8 ) ;
4893 int (*ndo_fcoe_enable)(struct net_device * ) ;
4894 int (*ndo_fcoe_disable)(struct net_device * ) ;
4895 int (*ndo_fcoe_ddp_setup)(struct net_device * , u16 , struct scatterlist * , unsigned int ) ;
4896 int (*ndo_fcoe_ddp_done)(struct net_device * , u16 ) ;
4897 int (*ndo_fcoe_ddp_target)(struct net_device * , u16 , struct scatterlist * ,
4898 unsigned int ) ;
4899 int (*ndo_fcoe_get_hbainfo)(struct net_device * , struct netdev_fcoe_hbainfo * ) ;
4900 int (*ndo_fcoe_get_wwn)(struct net_device * , u64 * , int ) ;
4901 int (*ndo_rx_flow_steer)(struct net_device * , struct sk_buff const * , u16 ,
4902 u32 ) ;
4903 int (*ndo_add_slave)(struct net_device * , struct net_device * ) ;
4904 int (*ndo_del_slave)(struct net_device * , struct net_device * ) ;
4905 netdev_features_t (*ndo_fix_features)(struct net_device * , netdev_features_t ) ;
4906 int (*ndo_set_features)(struct net_device * , netdev_features_t ) ;
4907 int (*ndo_neigh_construct)(struct neighbour * ) ;
4908 void (*ndo_neigh_destroy)(struct neighbour * ) ;
4909};
4910#line 1020
4911struct iw_handler_def;
4912#line 1020
4913struct iw_public_data;
4914#line 1020
4915struct vlan_info;
4916#line 1020
4917struct in_device;
4918#line 1020
4919struct dn_dev;
4920#line 1020
4921struct inet6_dev;
4922#line 1020
4923struct cpu_rmap;
4924#line 1020
4925struct pcpu_lstats;
4926#line 1020
4927struct pcpu_tstats;
4928#line 1020
4929struct pcpu_dstats;
4930#line 1020 "include/linux/netdevice.h"
4931union __anonunion_ldv_33500_205 {
4932 void *ml_priv ;
4933 struct pcpu_lstats *lstats ;
4934 struct pcpu_tstats *tstats ;
4935 struct pcpu_dstats *dstats ;
4936};
4937#line 1020
4938struct garp_port;
4939#line 1020
4940struct rtnl_link_ops;
4941#line 1020 "include/linux/netdevice.h"
4942struct net_device {
4943 char name[16U] ;
4944 struct pm_qos_request pm_qos_req ;
4945 struct hlist_node name_hlist ;
4946 char *ifalias ;
4947 unsigned long mem_end ;
4948 unsigned long mem_start ;
4949 unsigned long base_addr ;
4950 unsigned int irq ;
4951 unsigned long state ;
4952 struct list_head dev_list ;
4953 struct list_head napi_list ;
4954 struct list_head unreg_list ;
4955 netdev_features_t features ;
4956 netdev_features_t hw_features ;
4957 netdev_features_t wanted_features ;
4958 netdev_features_t vlan_features ;
4959 int ifindex ;
4960 int iflink ;
4961 struct net_device_stats stats ;
4962 atomic_long_t rx_dropped ;
4963 struct iw_handler_def const *wireless_handlers ;
4964 struct iw_public_data *wireless_data ;
4965 struct net_device_ops const *netdev_ops ;
4966 struct ethtool_ops const *ethtool_ops ;
4967 struct header_ops const *header_ops ;
4968 unsigned int flags ;
4969 unsigned int priv_flags ;
4970 unsigned short gflags ;
4971 unsigned short padded ;
4972 unsigned char operstate ;
4973 unsigned char link_mode ;
4974 unsigned char if_port ;
4975 unsigned char dma ;
4976 unsigned int mtu ;
4977 unsigned short type ;
4978 unsigned short hard_header_len ;
4979 unsigned short needed_headroom ;
4980 unsigned short needed_tailroom ;
4981 unsigned char perm_addr[32U] ;
4982 unsigned char addr_assign_type ;
4983 unsigned char addr_len ;
4984 unsigned char neigh_priv_len ;
4985 unsigned short dev_id ;
4986 spinlock_t addr_list_lock ;
4987 struct netdev_hw_addr_list uc ;
4988 struct netdev_hw_addr_list mc ;
4989 bool uc_promisc ;
4990 unsigned int promiscuity ;
4991 unsigned int allmulti ;
4992 struct vlan_info *vlan_info ;
4993 struct dsa_switch_tree *dsa_ptr ;
4994 void *atalk_ptr ;
4995 struct in_device *ip_ptr ;
4996 struct dn_dev *dn_ptr ;
4997 struct inet6_dev *ip6_ptr ;
4998 void *ec_ptr ;
4999 void *ax25_ptr ;
5000 struct wireless_dev *ieee80211_ptr ;
5001 unsigned long last_rx ;
5002 struct net_device *master ;
5003 unsigned char *dev_addr ;
5004 struct netdev_hw_addr_list dev_addrs ;
5005 unsigned char broadcast[32U] ;
5006 struct kset *queues_kset ;
5007 struct netdev_rx_queue *_rx ;
5008 unsigned int num_rx_queues ;
5009 unsigned int real_num_rx_queues ;
5010 struct cpu_rmap *rx_cpu_rmap ;
5011 rx_handler_func_t *rx_handler ;
5012 void *rx_handler_data ;
5013 struct netdev_queue *ingress_queue ;
5014 struct netdev_queue *_tx ;
5015 unsigned int num_tx_queues ;
5016 unsigned int real_num_tx_queues ;
5017 struct Qdisc *qdisc ;
5018 unsigned long tx_queue_len ;
5019 spinlock_t tx_global_lock ;
5020 struct xps_dev_maps *xps_maps ;
5021 unsigned long trans_start ;
5022 int watchdog_timeo ;
5023 struct timer_list watchdog_timer ;
5024 int *pcpu_refcnt ;
5025 struct list_head todo_list ;
5026 struct hlist_node index_hlist ;
5027 struct list_head link_watch_list ;
5028 unsigned char reg_state ;
5029 bool dismantle ;
5030 unsigned short rtnl_link_state ;
5031 void (*destructor)(struct net_device * ) ;
5032 struct netpoll_info *npinfo ;
5033 struct net *nd_net ;
5034 union __anonunion_ldv_33500_205 ldv_33500 ;
5035 struct garp_port *garp_port ;
5036 struct device dev ;
5037 struct attribute_group const *sysfs_groups[4U] ;
5038 struct rtnl_link_ops const *rtnl_link_ops ;
5039 unsigned int gso_max_size ;
5040 struct dcbnl_rtnl_ops const *dcbnl_ops ;
5041 u8 num_tc ;
5042 struct netdev_tc_txq tc_to_txq[16U] ;
5043 u8 prio_tc_map[16U] ;
5044 unsigned int fcoe_ddp_xid ;
5045 struct netprio_map *priomap ;
5046 struct phy_device *phydev ;
5047 int group ;
5048};
5049#line 2703 "include/linux/netdevice.h"
5050struct arc_rfc1201 {
5051 __u8 proto ;
5052 __u8 split_flag ;
5053 __be16 sequence ;
5054 __u8 payload[0U] ;
5055};
5056#line 65 "include/linux/if_arcnet.h"
5057struct arc_rfc1051 {
5058 __u8 proto ;
5059 __u8 payload[0U] ;
5060};
5061#line 75 "include/linux/if_arcnet.h"
5062struct arc_eth_encap {
5063 __u8 proto ;
5064 struct ethhdr eth ;
5065 __u8 payload[0U] ;
5066};
5067#line 87 "include/linux/if_arcnet.h"
5068union __anonunion_mes_206 {
5069 __u8 ack ;
5070 __u8 raw[0U] ;
5071};
5072#line 87 "include/linux/if_arcnet.h"
5073struct arc_cap {
5074 __u8 proto ;
5075 __u8 cookie[4U] ;
5076 union __anonunion_mes_206 mes ;
5077};
5078#line 98 "include/linux/if_arcnet.h"
5079struct arc_hardware {
5080 __u8 source ;
5081 __u8 dest ;
5082 __u8 offset[2U] ;
5083};
5084#line 112 "include/linux/if_arcnet.h"
5085union __anonunion_soft_207 {
5086 struct arc_rfc1201 rfc1201 ;
5087 struct arc_rfc1051 rfc1051 ;
5088 struct arc_eth_encap eth_encap ;
5089 struct arc_cap cap ;
5090 __u8 raw[0U] ;
5091};
5092#line 112 "include/linux/if_arcnet.h"
5093struct archdr {
5094 struct arc_hardware hard ;
5095 union __anonunion_soft_207 soft ;
5096};
5097#line 87 "include/linux/arcdevice.h"
5098struct ArcProto {
5099 char suffix ;
5100 int mtu ;
5101 int is_ip ;
5102 void (*rx)(struct net_device * , int , struct archdr * , int ) ;
5103 int (*build_header)(struct sk_buff * , struct net_device * , unsigned short ,
5104 uint8_t ) ;
5105 int (*prepare_tx)(struct net_device * , struct archdr * , int , int ) ;
5106 int (*continue_tx)(struct net_device * , int ) ;
5107 int (*ack_tx)(struct net_device * , int ) ;
5108};
5109#line 210 "include/linux/arcdevice.h"
5110struct Incoming {
5111 struct sk_buff *skb ;
5112 __be16 sequence ;
5113 uint8_t lastpacket ;
5114 uint8_t numpackets ;
5115};
5116#line 222 "include/linux/arcdevice.h"
5117struct Outgoing {
5118 struct ArcProto *proto ;
5119 struct sk_buff *skb ;
5120 struct archdr *pkt ;
5121 uint16_t length ;
5122 uint16_t dataleft ;
5123 uint16_t segnum ;
5124 uint16_t numsegs ;
5125};
5126#line 236 "include/linux/arcdevice.h"
5127struct __anonstruct_rfc1201_208 {
5128 uint16_t sequence ;
5129 __be16 aborted_seq ;
5130 struct Incoming incoming[256U] ;
5131};
5132#line 236 "include/linux/arcdevice.h"
5133struct __anonstruct_hw_209 {
5134 struct module *owner ;
5135 void (*command)(struct net_device * , int ) ;
5136 int (*status)(struct net_device * ) ;
5137 void (*intmask)(struct net_device * , int ) ;
5138 int (*reset)(struct net_device * , int ) ;
5139 void (*open)(struct net_device * ) ;
5140 void (*close)(struct net_device * ) ;
5141 void (*copy_to_card)(struct net_device * , int , int , void * , int ) ;
5142 void (*copy_from_card)(struct net_device * , int , int , void * , int ) ;
5143};
5144#line 236 "include/linux/arcdevice.h"
5145struct arcnet_local {
5146 uint8_t config ;
5147 uint8_t timeout ;
5148 uint8_t backplane ;
5149 uint8_t clockp ;
5150 uint8_t clockm ;
5151 uint8_t setup ;
5152 uint8_t setup2 ;
5153 uint8_t intmask ;
5154 uint8_t default_proto[256U] ;
5155 int cur_tx ;
5156 int next_tx ;
5157 int cur_rx ;
5158 int lastload_dest ;
5159 int lasttrans_dest ;
5160 int timed_out ;
5161 unsigned long last_timeout ;
5162 char *card_name ;
5163 int card_flags ;
5164 spinlock_t lock ;
5165 atomic_t buf_lock ;
5166 int buf_queue[5U] ;
5167 int next_buf ;
5168 int first_free_buf ;
5169 unsigned long first_recon ;
5170 unsigned long last_recon ;
5171 int num_recons ;
5172 int network_down ;
5173 int excnak_pending ;
5174 struct __anonstruct_rfc1201_208 rfc1201 ;
5175 struct Outgoing outgoing ;
5176 struct __anonstruct_hw_209 hw ;
5177 void *mem_start ;
5178};
5179#line 1 "<compiler builtins>"
5180
5181#line 2 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
5182void ldv_spin_lock(void) ;
5183#line 3
5184void ldv_spin_unlock(void) ;
5185#line 4
5186int ldv_spin_trylock(void) ;
5187#line 101 "include/linux/printk.h"
5188extern int printk(char const * , ...) ;
5189#line 137 "include/linux/ioport.h"
5190extern struct resource ioport_resource ;
5191#line 138
5192extern struct resource iomem_resource ;
5193#line 181
5194extern struct resource *__request_region(struct resource * , resource_size_t , resource_size_t ,
5195 char const * , int ) ;
5196#line 192
5197extern void __release_region(struct resource * , resource_size_t , resource_size_t ) ;
5198#line 53 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
5199__inline static unsigned char readb(void const volatile *addr )
5200{ unsigned char ret ;
5201 unsigned char volatile *__cil_tmp3 ;
5202
5203 {
5204#line 53
5205 __cil_tmp3 = (unsigned char volatile *)addr;
5206#line 53
5207 __asm__ volatile ("movb %1,%0": "=q" (ret): "m" (*__cil_tmp3): "memory");
5208#line 53
5209 return (ret);
5210}
5211}
5212#line 61 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
5213__inline static void writeb(unsigned char val , void volatile *addr )
5214{ unsigned char volatile *__cil_tmp3 ;
5215
5216 {
5217#line 61
5218 __cil_tmp3 = (unsigned char volatile *)addr;
5219#line 61
5220 __asm__ volatile ("movb %0,%1": : "q" (val), "m" (*__cil_tmp3): "memory");
5221#line 62
5222 return;
5223}
5224}
5225#line 174
5226extern void *ioremap_nocache(resource_size_t , unsigned long ) ;
5227#line 182 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
5228__inline static void *ioremap(resource_size_t offset , unsigned long size )
5229{ void *tmp ;
5230
5231 {
5232 {
5233#line 184
5234 tmp = ioremap_nocache(offset, size);
5235 }
5236#line 184
5237 return (tmp);
5238}
5239}
5240#line 187
5241extern void iounmap(void volatile * ) ;
5242#line 209 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
5243__inline static void memcpy_fromio(void *dst , void const volatile *src , size_t count )
5244{ size_t __len ;
5245 void *__ret ;
5246 void const *__cil_tmp6 ;
5247
5248 {
5249 {
5250#line 211
5251 __len = count;
5252#line 211
5253 __cil_tmp6 = (void const *)src;
5254#line 211
5255 __ret = __builtin_memcpy(dst, __cil_tmp6, __len);
5256 }
5257#line 213
5258 return;
5259}
5260}
5261#line 215 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
5262__inline static void memcpy_toio(void volatile *dst , void const *src , size_t count )
5263{ size_t __len ;
5264 void *__ret ;
5265 void *__cil_tmp6 ;
5266
5267 {
5268 {
5269#line 217
5270 __len = count;
5271#line 217
5272 __cil_tmp6 = (void *)dst;
5273#line 217
5274 __ret = __builtin_memcpy(__cil_tmp6, src, __len);
5275 }
5276#line 219
5277 return;
5278}
5279}
5280#line 308 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
5281__inline static void outb(unsigned char value , int port )
5282{
5283
5284 {
5285#line 308
5286 __asm__ volatile ("outb %b0, %w1": : "a" (value), "Nd" (port));
5287#line 309
5288 return;
5289}
5290}
5291#line 308 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
5292__inline static unsigned char inb(int port )
5293{ unsigned char value ;
5294
5295 {
5296#line 308
5297 __asm__ volatile ("inb %w1, %b0": "=a" (value): "Nd" (port));
5298#line 308
5299 return (value);
5300}
5301}
5302#line 26 "include/linux/export.h"
5303extern struct module __this_module ;
5304#line 161 "include/linux/slab.h"
5305extern void kfree(void const * ) ;
5306#line 220 "include/linux/slub_def.h"
5307extern void *kmem_cache_alloc(struct kmem_cache * , gfp_t ) ;
5308#line 223
5309void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
5310#line 353 "include/linux/slab.h"
5311__inline static void *kzalloc(size_t size , gfp_t flags ) ;
5312#line 10 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
5313extern void *__VERIFIER_nondet_pointer(void) ;
5314#line 11
5315void ldv_check_alloc_flags(gfp_t flags ) ;
5316#line 12
5317void ldv_check_alloc_nonatomic(void) ;
5318#line 14
5319struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags ) ;
5320#line 127 "include/linux/interrupt.h"
5321extern int request_threaded_irq(unsigned int , irqreturn_t (*)(int , void * ) ,
5322 irqreturn_t (*)(int , void * ) , unsigned long ,
5323 char const * , void * ) ;
5324#line 132 "include/linux/interrupt.h"
5325__inline static int request_irq(unsigned int irq , irqreturn_t (*handler)(int , void * ) ,
5326 unsigned long flags , char const *name , void *dev )
5327{ int tmp ;
5328 irqreturn_t (*__cil_tmp7)(int , void * ) ;
5329
5330 {
5331 {
5332#line 135
5333 __cil_tmp7 = (irqreturn_t (*)(int , void * ))0;
5334#line 135
5335 tmp = request_threaded_irq(irq, handler, __cil_tmp7, flags, name, dev);
5336 }
5337#line 135
5338 return (tmp);
5339}
5340}
5341#line 184
5342extern void free_irq(unsigned int , void * ) ;
5343#line 681
5344extern unsigned long probe_irq_on(void) ;
5345#line 682
5346extern int probe_irq_off(unsigned long ) ;
5347#line 10 "include/asm-generic/delay.h"
5348extern void __const_udelay(unsigned long ) ;
5349#line 591 "include/linux/skbuff.h"
5350extern struct sk_buff *skb_clone(struct sk_buff * , gfp_t ) ;
5351#line 595
5352struct sk_buff *ldv_skb_clone_22(struct sk_buff *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
5353#line 597
5354extern struct sk_buff *skb_copy(struct sk_buff const * , gfp_t ) ;
5355#line 601
5356struct sk_buff *ldv_skb_copy_24(struct sk_buff const *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
5357#line 606
5358extern int pskb_expand_head(struct sk_buff * , int , int , gfp_t ) ;
5359#line 611
5360int ldv_pskb_expand_head_27(struct sk_buff *ldv_func_arg1 , int ldv_func_arg2 , int ldv_func_arg3 ,
5361 gfp_t ldv_func_arg4 ) ;
5362#line 1690
5363extern struct sk_buff *__netdev_alloc_skb(struct net_device * , unsigned int , gfp_t ) ;
5364#line 1694
5365struct sk_buff *ldv___netdev_alloc_skb_25(struct net_device *ldv_func_arg1 , unsigned int ldv_func_arg2 ,
5366 gfp_t ldv_func_arg3 ) ;
5367#line 1698
5368struct sk_buff *ldv___netdev_alloc_skb_26(struct net_device *ldv_func_arg1 , unsigned int ldv_func_arg2 ,
5369 gfp_t ldv_func_arg3 ) ;
5370#line 1422 "include/linux/netdevice.h"
5371__inline static void *netdev_priv(struct net_device const *dev )
5372{ void *__cil_tmp2 ;
5373
5374 {
5375 {
5376#line 1424
5377 __cil_tmp2 = (void *)dev;
5378#line 1424
5379 return (__cil_tmp2 + 2816U);
5380 }
5381}
5382}
5383#line 1616
5384extern void free_netdev(struct net_device * ) ;
5385#line 2505
5386extern int register_netdev(struct net_device * ) ;
5387#line 2506
5388extern void unregister_netdev(struct net_device * ) ;
5389#line 86 "include/linux/arcdevice.h"
5390extern int arcnet_debug ;
5391#line 336
5392extern irqreturn_t arcnet_interrupt(int , void * ) ;
5393#line 337
5394extern struct net_device *alloc_arcdev(char const * ) ;
5395#line 73 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
5396static int com90xx_found(int ioaddr , int airq , u_long shmem___0 , void *p ) ;
5397#line 74
5398static void com90xx_command(struct net_device *dev , int cmd ) ;
5399#line 75
5400static int com90xx_status(struct net_device *dev ) ;
5401#line 76
5402static void com90xx_setmask(struct net_device *dev , int mask ) ;
5403#line 77
5404static int com90xx_reset(struct net_device *dev , int really_reset ) ;
5405#line 78
5406static void com90xx_copy_to_card(struct net_device *dev , int bufnum , int offset ,
5407 void *buf , int count ) ;
5408#line 80
5409static void com90xx_copy_from_card(struct net_device *dev , int bufnum , int offset ,
5410 void *buf , int count ) ;
5411#line 85 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
5412static struct net_device *cards[16U] ;
5413#line 86 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
5414static int numcards ;
5415#line 116 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
5416static int com90xx_skip_probe = 0;
5417#line 120 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
5418static int io ;
5419#line 121 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
5420static int irq ;
5421#line 122 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
5422static int shmem ;
5423#line 123 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
5424static char device[9U] ;
5425#line 130 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
5426static void com90xx_probe(void)
5427{ int count ;
5428 int status ;
5429 int ioaddr ;
5430 int numprint ;
5431 int airq ;
5432 int openparen ;
5433 unsigned long airqmask ;
5434 int ports[32U] ;
5435 unsigned long *shmems ;
5436 void **iomem ;
5437 int numports ;
5438 int numshmems ;
5439 int *port ;
5440 u_long *p ;
5441 int index ;
5442 void *tmp ;
5443 void *tmp___0 ;
5444 int tmp___1 ;
5445 int tmp___2 ;
5446 int tmp___3 ;
5447 int tmp___4 ;
5448 int *tmp___5 ;
5449 struct resource *tmp___6 ;
5450 int *tmp___7 ;
5451 unsigned char tmp___8 ;
5452 unsigned long __ms ;
5453 unsigned long tmp___9 ;
5454 void *base ;
5455 struct resource *tmp___10 ;
5456 unsigned char tmp___11 ;
5457 unsigned char tmp___12 ;
5458 unsigned char tmp___13 ;
5459 u_long *tmp___14 ;
5460 int found ;
5461 unsigned char tmp___15 ;
5462 int *tmp___16 ;
5463 unsigned char tmp___17 ;
5464 int *tmp___18 ;
5465 int *tmp___19 ;
5466 unsigned long __ms___0 ;
5467 unsigned long tmp___20 ;
5468 u_long ptr ;
5469 void *base___0 ;
5470 int tmp___21 ;
5471 unsigned char tmp___22 ;
5472 unsigned char tmp___23 ;
5473 int *tmp___24 ;
5474 unsigned long __cil_tmp48 ;
5475 unsigned long __cil_tmp49 ;
5476 int *__cil_tmp50 ;
5477 int __cil_tmp51 ;
5478 int *__cil_tmp52 ;
5479 int __cil_tmp53 ;
5480 int *__cil_tmp54 ;
5481 int __cil_tmp55 ;
5482 char *__cil_tmp56 ;
5483 char __cil_tmp57 ;
5484 signed char __cil_tmp58 ;
5485 int __cil_tmp59 ;
5486 unsigned long *__cil_tmp60 ;
5487 unsigned long __cil_tmp61 ;
5488 unsigned long __cil_tmp62 ;
5489 void **__cil_tmp63 ;
5490 unsigned long __cil_tmp64 ;
5491 unsigned long __cil_tmp65 ;
5492 void const *__cil_tmp66 ;
5493 int *__cil_tmp67 ;
5494 int __cil_tmp68 ;
5495 unsigned long __cil_tmp69 ;
5496 unsigned long __cil_tmp70 ;
5497 int *__cil_tmp71 ;
5498 unsigned long __cil_tmp72 ;
5499 unsigned long __cil_tmp73 ;
5500 int *__cil_tmp74 ;
5501 int __cil_tmp75 ;
5502 unsigned long __cil_tmp76 ;
5503 unsigned long *__cil_tmp77 ;
5504 int *__cil_tmp78 ;
5505 int __cil_tmp79 ;
5506 unsigned long __cil_tmp80 ;
5507 unsigned long *__cil_tmp81 ;
5508 int __cil_tmp82 ;
5509 int __cil_tmp83 ;
5510 int __cil_tmp84 ;
5511 int __cil_tmp85 ;
5512 int __cil_tmp86 ;
5513 resource_size_t __cil_tmp87 ;
5514 struct resource *__cil_tmp88 ;
5515 unsigned long __cil_tmp89 ;
5516 unsigned long __cil_tmp90 ;
5517 int __cil_tmp91 ;
5518 int __cil_tmp92 ;
5519 int __cil_tmp93 ;
5520 unsigned long __cil_tmp94 ;
5521 unsigned long __cil_tmp95 ;
5522 unsigned int __cil_tmp96 ;
5523 int __cil_tmp97 ;
5524 int __cil_tmp98 ;
5525 int __cil_tmp99 ;
5526 int __cil_tmp100 ;
5527 resource_size_t __cil_tmp101 ;
5528 unsigned long __cil_tmp102 ;
5529 unsigned long __cil_tmp103 ;
5530 int __cil_tmp104 ;
5531 int __cil_tmp105 ;
5532 int __cil_tmp106 ;
5533 int __cil_tmp107 ;
5534 long __cil_tmp108 ;
5535 long __cil_tmp109 ;
5536 long __cil_tmp110 ;
5537 long __cil_tmp111 ;
5538 long __cil_tmp112 ;
5539 int __cil_tmp113 ;
5540 void const *__cil_tmp114 ;
5541 void const *__cil_tmp115 ;
5542 int __cil_tmp116 ;
5543 int __cil_tmp117 ;
5544 int __cil_tmp118 ;
5545 int __cil_tmp119 ;
5546 unsigned long __cil_tmp120 ;
5547 unsigned long __cil_tmp121 ;
5548 int *__cil_tmp122 ;
5549 int *__cil_tmp123 ;
5550 unsigned long __cil_tmp124 ;
5551 int __cil_tmp125 ;
5552 int __cil_tmp126 ;
5553 int __cil_tmp127 ;
5554 int __cil_tmp128 ;
5555 u_long __cil_tmp129 ;
5556 u_long __cil_tmp130 ;
5557 resource_size_t __cil_tmp131 ;
5558 struct resource *__cil_tmp132 ;
5559 unsigned long __cil_tmp133 ;
5560 unsigned long __cil_tmp134 ;
5561 int __cil_tmp135 ;
5562 int __cil_tmp136 ;
5563 int __cil_tmp137 ;
5564 u_long __cil_tmp138 ;
5565 resource_size_t __cil_tmp139 ;
5566 void *__cil_tmp140 ;
5567 unsigned long __cil_tmp141 ;
5568 unsigned long __cil_tmp142 ;
5569 int __cil_tmp143 ;
5570 int __cil_tmp144 ;
5571 int __cil_tmp145 ;
5572 void const volatile *__cil_tmp146 ;
5573 unsigned int __cil_tmp147 ;
5574 int __cil_tmp148 ;
5575 void const volatile *__cil_tmp149 ;
5576 int __cil_tmp150 ;
5577 int __cil_tmp151 ;
5578 int __cil_tmp152 ;
5579 void volatile *__cil_tmp153 ;
5580 void const volatile *__cil_tmp154 ;
5581 unsigned int __cil_tmp155 ;
5582 int __cil_tmp156 ;
5583 int __cil_tmp157 ;
5584 int __cil_tmp158 ;
5585 int __cil_tmp159 ;
5586 int __cil_tmp160 ;
5587 unsigned long __cil_tmp161 ;
5588 void **__cil_tmp162 ;
5589 void volatile *__cil_tmp163 ;
5590 u_long __cil_tmp164 ;
5591 resource_size_t __cil_tmp165 ;
5592 unsigned long __cil_tmp166 ;
5593 unsigned long *__cil_tmp167 ;
5594 int __cil_tmp168 ;
5595 int __cil_tmp169 ;
5596 resource_size_t __cil_tmp170 ;
5597 unsigned long __cil_tmp171 ;
5598 unsigned long __cil_tmp172 ;
5599 int *__cil_tmp173 ;
5600 int *__cil_tmp174 ;
5601 unsigned long __cil_tmp175 ;
5602 void const *__cil_tmp176 ;
5603 void const *__cil_tmp177 ;
5604 int __cil_tmp178 ;
5605 int __cil_tmp179 ;
5606 int __cil_tmp180 ;
5607 u_long __cil_tmp181 ;
5608 unsigned long __cil_tmp182 ;
5609 unsigned long __cil_tmp183 ;
5610 unsigned long *__cil_tmp184 ;
5611 unsigned long __cil_tmp185 ;
5612 int __cil_tmp186 ;
5613 int __cil_tmp187 ;
5614 int __cil_tmp188 ;
5615 int __cil_tmp189 ;
5616 int __cil_tmp190 ;
5617 int __cil_tmp191 ;
5618 int __cil_tmp192 ;
5619 int __cil_tmp193 ;
5620 int __cil_tmp194 ;
5621 int __cil_tmp195 ;
5622 resource_size_t __cil_tmp196 ;
5623 unsigned long __cil_tmp197 ;
5624 unsigned long __cil_tmp198 ;
5625 int __cil_tmp199 ;
5626 int __cil_tmp200 ;
5627 int __cil_tmp201 ;
5628 int __cil_tmp202 ;
5629 int __cil_tmp203 ;
5630 int __cil_tmp204 ;
5631 resource_size_t __cil_tmp205 ;
5632 unsigned long __cil_tmp206 ;
5633 unsigned long __cil_tmp207 ;
5634 int *__cil_tmp208 ;
5635 int __cil_tmp209 ;
5636 int __cil_tmp210 ;
5637 int __cil_tmp211 ;
5638 int __cil_tmp212 ;
5639 int __cil_tmp213 ;
5640 resource_size_t __cil_tmp214 ;
5641 unsigned long __cil_tmp215 ;
5642 unsigned long __cil_tmp216 ;
5643 int *__cil_tmp217 ;
5644 int __cil_tmp218 ;
5645 int __cil_tmp219 ;
5646 unsigned long __cil_tmp220 ;
5647 unsigned long *__cil_tmp221 ;
5648 unsigned long __cil_tmp222 ;
5649 void **__cil_tmp223 ;
5650 void const volatile *__cil_tmp224 ;
5651 unsigned int __cil_tmp225 ;
5652 int __cil_tmp226 ;
5653 u_long __cil_tmp227 ;
5654 int __cil_tmp228 ;
5655 unsigned long __cil_tmp229 ;
5656 unsigned long *__cil_tmp230 ;
5657 unsigned long __cil_tmp231 ;
5658 unsigned long *__cil_tmp232 ;
5659 unsigned long __cil_tmp233 ;
5660 void **__cil_tmp234 ;
5661 unsigned long __cil_tmp235 ;
5662 void **__cil_tmp236 ;
5663 int __cil_tmp237 ;
5664 void const volatile *__cil_tmp238 ;
5665 int __cil_tmp239 ;
5666 int __cil_tmp240 ;
5667 int __cil_tmp241 ;
5668 int __cil_tmp242 ;
5669 int __cil_tmp243 ;
5670 resource_size_t __cil_tmp244 ;
5671 unsigned long __cil_tmp245 ;
5672 unsigned long __cil_tmp246 ;
5673 unsigned long __cil_tmp247 ;
5674 unsigned long __cil_tmp248 ;
5675 int *__cil_tmp249 ;
5676 int *__cil_tmp250 ;
5677 unsigned long __cil_tmp251 ;
5678 int __cil_tmp252 ;
5679 unsigned long __cil_tmp253 ;
5680 void **__cil_tmp254 ;
5681 void *__cil_tmp255 ;
5682 void volatile *__cil_tmp256 ;
5683 unsigned long __cil_tmp257 ;
5684 void **__cil_tmp258 ;
5685 void *__cil_tmp259 ;
5686 void volatile *__cil_tmp260 ;
5687 unsigned long __cil_tmp261 ;
5688 unsigned long *__cil_tmp262 ;
5689 unsigned long __cil_tmp263 ;
5690 resource_size_t __cil_tmp264 ;
5691 void const *__cil_tmp265 ;
5692 void const *__cil_tmp266 ;
5693
5694 {
5695#line 132
5696 openparen = 0;
5697#line 134
5698 __cil_tmp48 = 0 * 4UL;
5699#line 134
5700 __cil_tmp49 = (unsigned long )(ports) + __cil_tmp48;
5701#line 134
5702 *((int *)__cil_tmp49) = 0;
5703 {
5704#line 142
5705 __cil_tmp50 = & io;
5706#line 142
5707 __cil_tmp51 = *__cil_tmp50;
5708#line 142
5709 if (__cil_tmp51 == 0) {
5710 {
5711#line 142
5712 __cil_tmp52 = & irq;
5713#line 142
5714 __cil_tmp53 = *__cil_tmp52;
5715#line 142
5716 if (__cil_tmp53 == 0) {
5717 {
5718#line 142
5719 __cil_tmp54 = & shmem;
5720#line 142
5721 __cil_tmp55 = *__cil_tmp54;
5722#line 142
5723 if (__cil_tmp55 == 0) {
5724 {
5725#line 142
5726 __cil_tmp56 = (char *)(& device);
5727#line 142
5728 __cil_tmp57 = *__cil_tmp56;
5729#line 142
5730 __cil_tmp58 = (signed char )__cil_tmp57;
5731#line 142
5732 __cil_tmp59 = (int )__cil_tmp58;
5733#line 142
5734 if (__cil_tmp59 == 0) {
5735#line 142
5736 if (com90xx_skip_probe != 0) {
5737#line 143
5738 return;
5739 } else {
5740
5741 }
5742 } else {
5743
5744 }
5745 }
5746 } else {
5747
5748 }
5749 }
5750 } else {
5751
5752 }
5753 }
5754 } else {
5755
5756 }
5757 }
5758 {
5759#line 145
5760 tmp = kzalloc(1536UL, 208U);
5761#line 145
5762 shmems = (unsigned long *)tmp;
5763 }
5764 {
5765#line 147
5766 __cil_tmp60 = (unsigned long *)0;
5767#line 147
5768 __cil_tmp61 = (unsigned long )__cil_tmp60;
5769#line 147
5770 __cil_tmp62 = (unsigned long )shmems;
5771#line 147
5772 if (__cil_tmp62 == __cil_tmp61) {
5773#line 148
5774 return;
5775 } else {
5776
5777 }
5778 }
5779 {
5780#line 149
5781 tmp___0 = kzalloc(1536UL, 208U);
5782#line 149
5783 iomem = (void **)tmp___0;
5784 }
5785 {
5786#line 151
5787 __cil_tmp63 = (void **)0;
5788#line 151
5789 __cil_tmp64 = (unsigned long )__cil_tmp63;
5790#line 151
5791 __cil_tmp65 = (unsigned long )iomem;
5792#line 151
5793 if (__cil_tmp65 == __cil_tmp64) {
5794 {
5795#line 152
5796 __cil_tmp66 = (void const *)shmems;
5797#line 152
5798 kfree(__cil_tmp66);
5799 }
5800#line 153
5801 return;
5802 } else {
5803
5804 }
5805 }
5806#line 156
5807 if (arcnet_debug & 1) {
5808 {
5809#line 156
5810 printk("arcnet: COM90xx chipset support\n");
5811 }
5812 } else {
5813
5814 }
5815#line 159
5816 numshmems = 0;
5817#line 159
5818 numports = numshmems;
5819 {
5820#line 160
5821 __cil_tmp67 = & io;
5822#line 160
5823 __cil_tmp68 = *__cil_tmp67;
5824#line 160
5825 if (__cil_tmp68 != 0) {
5826#line 161
5827 tmp___1 = numports;
5828#line 161
5829 numports = numports + 1;
5830#line 161
5831 __cil_tmp69 = tmp___1 * 4UL;
5832#line 161
5833 __cil_tmp70 = (unsigned long )(ports) + __cil_tmp69;
5834#line 161
5835 __cil_tmp71 = & io;
5836#line 161
5837 *((int *)__cil_tmp70) = *__cil_tmp71;
5838 } else {
5839#line 163
5840 count = 512;
5841#line 163
5842 goto ldv_34773;
5843 ldv_34772:
5844#line 164
5845 tmp___2 = numports;
5846#line 164
5847 numports = numports + 1;
5848#line 164
5849 __cil_tmp72 = tmp___2 * 4UL;
5850#line 164
5851 __cil_tmp73 = (unsigned long )(ports) + __cil_tmp72;
5852#line 164
5853 *((int *)__cil_tmp73) = count;
5854#line 163
5855 count = count + 16;
5856 ldv_34773: ;
5857#line 163
5858 if (count <= 1008) {
5859#line 164
5860 goto ldv_34772;
5861 } else {
5862#line 166
5863 goto ldv_34774;
5864 }
5865 ldv_34774: ;
5866 }
5867 }
5868 {
5869#line 165
5870 __cil_tmp74 = & shmem;
5871#line 165
5872 __cil_tmp75 = *__cil_tmp74;
5873#line 165
5874 if (__cil_tmp75 != 0) {
5875#line 166
5876 tmp___3 = numshmems;
5877#line 166
5878 numshmems = numshmems + 1;
5879#line 166
5880 __cil_tmp76 = (unsigned long )tmp___3;
5881#line 166
5882 __cil_tmp77 = shmems + __cil_tmp76;
5883#line 166
5884 __cil_tmp78 = & shmem;
5885#line 166
5886 __cil_tmp79 = *__cil_tmp78;
5887#line 166
5888 *__cil_tmp77 = (unsigned long )__cil_tmp79;
5889 } else {
5890#line 168
5891 count = 655360;
5892#line 168
5893 goto ldv_34776;
5894 ldv_34775:
5895#line 169
5896 tmp___4 = numshmems;
5897#line 169
5898 numshmems = numshmems + 1;
5899#line 169
5900 __cil_tmp80 = (unsigned long )tmp___4;
5901#line 169
5902 __cil_tmp81 = shmems + __cil_tmp80;
5903#line 169
5904 *__cil_tmp81 = (unsigned long )count;
5905#line 168
5906 count = count + 2048;
5907 ldv_34776: ;
5908#line 168
5909 if (count <= 1046528) {
5910#line 169
5911 goto ldv_34775;
5912 } else {
5913#line 171
5914 goto ldv_34777;
5915 }
5916 ldv_34777: ;
5917 }
5918 }
5919#line 174
5920 numprint = -1;
5921#line 175
5922 port = (int *)(& ports);
5923#line 175
5924 goto ldv_34780;
5925 ldv_34779:
5926#line 176
5927 numprint = numprint + 1;
5928#line 177
5929 numprint = numprint % 8;
5930#line 178
5931 if (numprint == 0) {
5932 {
5933#line 179
5934 __cil_tmp82 = arcnet_debug & 4;
5935#line 179
5936 if (__cil_tmp82 != 0) {
5937 {
5938#line 179
5939 printk("\n");
5940 }
5941 } else {
5942
5943 }
5944 }
5945 {
5946#line 180
5947 __cil_tmp83 = arcnet_debug & 4;
5948#line 180
5949 if (__cil_tmp83 != 0) {
5950 {
5951#line 180
5952 printk("S1: ");
5953 }
5954 } else {
5955
5956 }
5957 }
5958 } else {
5959
5960 }
5961 {
5962#line 182
5963 __cil_tmp84 = arcnet_debug & 4;
5964#line 182
5965 if (__cil_tmp84 != 0) {
5966 {
5967#line 182
5968 __cil_tmp85 = *port;
5969#line 182
5970 printk("%Xh ", __cil_tmp85);
5971 }
5972 } else {
5973
5974 }
5975 }
5976 {
5977#line 184
5978 ioaddr = *port;
5979#line 186
5980 __cil_tmp86 = *port;
5981#line 186
5982 __cil_tmp87 = (resource_size_t )__cil_tmp86;
5983#line 186
5984 tmp___6 = __request_region(& ioport_resource, __cil_tmp87, 16ULL, "arcnet (90xx)",
5985 0);
5986 }
5987 {
5988#line 186
5989 __cil_tmp88 = (struct resource *)0;
5990#line 186
5991 __cil_tmp89 = (unsigned long )__cil_tmp88;
5992#line 186
5993 __cil_tmp90 = (unsigned long )tmp___6;
5994#line 186
5995 if (__cil_tmp90 == __cil_tmp89) {
5996 {
5997#line 187
5998 __cil_tmp91 = arcnet_debug & 8;
5999#line 187
6000 if (__cil_tmp91 != 0) {
6001 {
6002#line 187
6003 printk("(request_region)\n");
6004 }
6005 } else {
6006
6007 }
6008 }
6009 {
6010#line 188
6011 __cil_tmp92 = arcnet_debug & 8;
6012#line 188
6013 if (__cil_tmp92 != 0) {
6014 {
6015#line 188
6016 printk("S1: ");
6017 }
6018 } else {
6019
6020 }
6021 }
6022 {
6023#line 189
6024 __cil_tmp93 = arcnet_debug & 8;
6025#line 189
6026 if (__cil_tmp93 != 0) {
6027#line 189
6028 numprint = 0;
6029 } else {
6030
6031 }
6032 }
6033#line 190
6034 tmp___5 = port;
6035#line 190
6036 port = port - 1;
6037#line 190
6038 numports = numports - 1;
6039#line 190
6040 __cil_tmp94 = numports * 4UL;
6041#line 190
6042 __cil_tmp95 = (unsigned long )(ports) + __cil_tmp94;
6043#line 190
6044 *tmp___5 = *((int *)__cil_tmp95);
6045#line 191
6046 goto ldv_34778;
6047 } else {
6048
6049 }
6050 }
6051 {
6052#line 193
6053 tmp___8 = inb(ioaddr);
6054 }
6055 {
6056#line 193
6057 __cil_tmp96 = (unsigned int )tmp___8;
6058#line 193
6059 if (__cil_tmp96 == 255U) {
6060 {
6061#line 194
6062 __cil_tmp97 = arcnet_debug & 8;
6063#line 194
6064 if (__cil_tmp97 != 0) {
6065 {
6066#line 194
6067 printk("(empty)\n");
6068 }
6069 } else {
6070
6071 }
6072 }
6073 {
6074#line 195
6075 __cil_tmp98 = arcnet_debug & 8;
6076#line 195
6077 if (__cil_tmp98 != 0) {
6078 {
6079#line 195
6080 printk("S1: ");
6081 }
6082 } else {
6083
6084 }
6085 }
6086 {
6087#line 196
6088 __cil_tmp99 = arcnet_debug & 8;
6089#line 196
6090 if (__cil_tmp99 != 0) {
6091#line 196
6092 numprint = 0;
6093 } else {
6094
6095 }
6096 }
6097 {
6098#line 197
6099 __cil_tmp100 = *port;
6100#line 197
6101 __cil_tmp101 = (resource_size_t )__cil_tmp100;
6102#line 197
6103 __release_region(& ioport_resource, __cil_tmp101, 16ULL);
6104#line 198
6105 tmp___7 = port;
6106#line 198
6107 port = port - 1;
6108#line 198
6109 numports = numports - 1;
6110#line 198
6111 __cil_tmp102 = numports * 4UL;
6112#line 198
6113 __cil_tmp103 = (unsigned long )(ports) + __cil_tmp102;
6114#line 198
6115 *tmp___7 = *((int *)__cil_tmp103);
6116 }
6117#line 199
6118 goto ldv_34778;
6119 } else {
6120
6121 }
6122 }
6123 {
6124#line 201
6125 __cil_tmp104 = ioaddr + 8;
6126#line 201
6127 inb(__cil_tmp104);
6128 }
6129 {
6130#line 203
6131 __cil_tmp105 = arcnet_debug & 8;
6132#line 203
6133 if (__cil_tmp105 != 0) {
6134 {
6135#line 203
6136 printk("\n");
6137 }
6138 } else {
6139
6140 }
6141 }
6142 {
6143#line 204
6144 __cil_tmp106 = arcnet_debug & 8;
6145#line 204
6146 if (__cil_tmp106 != 0) {
6147 {
6148#line 204
6149 printk("S1: ");
6150 }
6151 } else {
6152
6153 }
6154 }
6155 {
6156#line 205
6157 __cil_tmp107 = arcnet_debug & 8;
6158#line 205
6159 if (__cil_tmp107 != 0) {
6160#line 205
6161 numprint = 0;
6162 } else {
6163
6164 }
6165 }
6166 ldv_34778:
6167#line 175
6168 port = port + 1;
6169 ldv_34780: ;
6170 {
6171#line 175
6172 __cil_tmp108 = (long )numports;
6173#line 175
6174 __cil_tmp109 = (long )(& ports);
6175#line 175
6176 __cil_tmp110 = (long )port;
6177#line 175
6178 __cil_tmp111 = __cil_tmp110 - __cil_tmp109;
6179#line 175
6180 __cil_tmp112 = __cil_tmp111 / 4L;
6181#line 175
6182 if (__cil_tmp112 < __cil_tmp108) {
6183#line 176
6184 goto ldv_34779;
6185 } else {
6186#line 178
6187 goto ldv_34781;
6188 }
6189 }
6190 ldv_34781: ;
6191 {
6192#line 207
6193 __cil_tmp113 = arcnet_debug & 4;
6194#line 207
6195 if (__cil_tmp113 != 0) {
6196 {
6197#line 207
6198 printk("\n");
6199 }
6200 } else {
6201
6202 }
6203 }
6204#line 209
6205 if (numports == 0) {
6206#line 210
6207 if (arcnet_debug & 1) {
6208 {
6209#line 210
6210 printk("S1: No ARCnet cards found.\n");
6211 }
6212 } else {
6213
6214 }
6215 {
6216#line 211
6217 __cil_tmp114 = (void const *)shmems;
6218#line 211
6219 kfree(__cil_tmp114);
6220#line 212
6221 __cil_tmp115 = (void const *)iomem;
6222#line 212
6223 kfree(__cil_tmp115);
6224 }
6225#line 213
6226 return;
6227 } else {
6228
6229 }
6230#line 219
6231 numprint = -1;
6232#line 220
6233 port = (int *)(& ports);
6234#line 220
6235 goto ldv_34783;
6236 ldv_34782:
6237#line 221
6238 numprint = numprint + 1;
6239#line 222
6240 numprint = numprint % 8;
6241#line 223
6242 if (numprint == 0) {
6243 {
6244#line 224
6245 __cil_tmp116 = arcnet_debug & 4;
6246#line 224
6247 if (__cil_tmp116 != 0) {
6248 {
6249#line 224
6250 printk("\n");
6251 }
6252 } else {
6253
6254 }
6255 }
6256 {
6257#line 225
6258 __cil_tmp117 = arcnet_debug & 4;
6259#line 225
6260 if (__cil_tmp117 != 0) {
6261 {
6262#line 225
6263 printk("S2: ");
6264 }
6265 } else {
6266
6267 }
6268 }
6269 } else {
6270
6271 }
6272 {
6273#line 227
6274 __cil_tmp118 = arcnet_debug & 4;
6275#line 227
6276 if (__cil_tmp118 != 0) {
6277 {
6278#line 227
6279 __cil_tmp119 = *port;
6280#line 227
6281 printk("%Xh ", __cil_tmp119);
6282 }
6283 } else {
6284
6285 }
6286 }
6287#line 220
6288 port = port + 1;
6289 ldv_34783: ;
6290 {
6291#line 220
6292 __cil_tmp120 = (unsigned long )port;
6293#line 220
6294 __cil_tmp121 = (unsigned long )numports;
6295#line 220
6296 __cil_tmp122 = (int *)(& ports);
6297#line 220
6298 __cil_tmp123 = __cil_tmp122 + __cil_tmp121;
6299#line 220
6300 __cil_tmp124 = (unsigned long )__cil_tmp123;
6301#line 220
6302 if (__cil_tmp124 > __cil_tmp120) {
6303#line 221
6304 goto ldv_34782;
6305 } else {
6306#line 223
6307 goto ldv_34784;
6308 }
6309 }
6310 ldv_34784: ;
6311 {
6312#line 229
6313 __cil_tmp125 = arcnet_debug & 4;
6314#line 229
6315 if (__cil_tmp125 != 0) {
6316 {
6317#line 229
6318 printk("\n");
6319 }
6320 } else {
6321
6322 }
6323 }
6324#line 230
6325 __ms = 300UL;
6326#line 230
6327 goto ldv_34787;
6328 ldv_34786:
6329 {
6330#line 230
6331 __const_udelay(4295000UL);
6332 }
6333 ldv_34787:
6334#line 230
6335 tmp___9 = __ms;
6336#line 230
6337 __ms = __ms - 1UL;
6338#line 230
6339 if (tmp___9 != 0UL) {
6340#line 231
6341 goto ldv_34786;
6342 } else {
6343#line 233
6344 goto ldv_34788;
6345 }
6346 ldv_34788:
6347#line 235
6348 numprint = -1;
6349#line 236
6350 index = 0;
6351#line 236
6352 p = shmems;
6353#line 236
6354 goto ldv_34795;
6355 ldv_34794:
6356#line 239
6357 numprint = numprint + 1;
6358#line 240
6359 numprint = numprint % 8;
6360#line 241
6361 if (numprint == 0) {
6362 {
6363#line 242
6364 __cil_tmp126 = arcnet_debug & 4;
6365#line 242
6366 if (__cil_tmp126 != 0) {
6367 {
6368#line 242
6369 printk("\n");
6370 }
6371 } else {
6372
6373 }
6374 }
6375 {
6376#line 243
6377 __cil_tmp127 = arcnet_debug & 4;
6378#line 243
6379 if (__cil_tmp127 != 0) {
6380 {
6381#line 243
6382 printk("S3: ");
6383 }
6384 } else {
6385
6386 }
6387 }
6388 } else {
6389
6390 }
6391 {
6392#line 245
6393 __cil_tmp128 = arcnet_debug & 4;
6394#line 245
6395 if (__cil_tmp128 != 0) {
6396 {
6397#line 245
6398 __cil_tmp129 = *p;
6399#line 245
6400 printk("%lXh ", __cil_tmp129);
6401 }
6402 } else {
6403
6404 }
6405 }
6406 {
6407#line 247
6408 __cil_tmp130 = *p;
6409#line 247
6410 __cil_tmp131 = (resource_size_t )__cil_tmp130;
6411#line 247
6412 tmp___10 = __request_region(& iomem_resource, __cil_tmp131, 2048ULL, "arcnet (90xx)",
6413 0);
6414 }
6415 {
6416#line 247
6417 __cil_tmp132 = (struct resource *)0;
6418#line 247
6419 __cil_tmp133 = (unsigned long )__cil_tmp132;
6420#line 247
6421 __cil_tmp134 = (unsigned long )tmp___10;
6422#line 247
6423 if (__cil_tmp134 == __cil_tmp133) {
6424 {
6425#line 248
6426 __cil_tmp135 = arcnet_debug & 8;
6427#line 248
6428 if (__cil_tmp135 != 0) {
6429 {
6430#line 248
6431 printk("(request_mem_region)\n");
6432 }
6433 } else {
6434
6435 }
6436 }
6437 {
6438#line 249
6439 __cil_tmp136 = arcnet_debug & 8;
6440#line 249
6441 if (__cil_tmp136 != 0) {
6442 {
6443#line 249
6444 printk("Stage 3: ");
6445 }
6446 } else {
6447
6448 }
6449 }
6450 {
6451#line 250
6452 __cil_tmp137 = arcnet_debug & 8;
6453#line 250
6454 if (__cil_tmp137 != 0) {
6455#line 250
6456 numprint = 0;
6457 } else {
6458
6459 }
6460 }
6461#line 251
6462 goto out;
6463 } else {
6464
6465 }
6466 }
6467 {
6468#line 253
6469 __cil_tmp138 = *p;
6470#line 253
6471 __cil_tmp139 = (resource_size_t )__cil_tmp138;
6472#line 253
6473 base = ioremap(__cil_tmp139, 2048UL);
6474 }
6475 {
6476#line 254
6477 __cil_tmp140 = (void *)0;
6478#line 254
6479 __cil_tmp141 = (unsigned long )__cil_tmp140;
6480#line 254
6481 __cil_tmp142 = (unsigned long )base;
6482#line 254
6483 if (__cil_tmp142 == __cil_tmp141) {
6484 {
6485#line 255
6486 __cil_tmp143 = arcnet_debug & 8;
6487#line 255
6488 if (__cil_tmp143 != 0) {
6489 {
6490#line 255
6491 printk("(ioremap)\n");
6492 }
6493 } else {
6494
6495 }
6496 }
6497 {
6498#line 256
6499 __cil_tmp144 = arcnet_debug & 8;
6500#line 256
6501 if (__cil_tmp144 != 0) {
6502 {
6503#line 256
6504 printk("Stage 3: ");
6505 }
6506 } else {
6507
6508 }
6509 }
6510 {
6511#line 257
6512 __cil_tmp145 = arcnet_debug & 8;
6513#line 257
6514 if (__cil_tmp145 != 0) {
6515#line 257
6516 numprint = 0;
6517 } else {
6518
6519 }
6520 }
6521#line 258
6522 goto out1;
6523 } else {
6524
6525 }
6526 }
6527 {
6528#line 260
6529 __cil_tmp146 = (void const volatile *)base;
6530#line 260
6531 tmp___12 = readb(__cil_tmp146);
6532 }
6533 {
6534#line 260
6535 __cil_tmp147 = (unsigned int )tmp___12;
6536#line 260
6537 if (__cil_tmp147 != 209U) {
6538 {
6539#line 261
6540 __cil_tmp148 = arcnet_debug & 8;
6541#line 261
6542 if (__cil_tmp148 != 0) {
6543 {
6544#line 261
6545 __cil_tmp149 = (void const volatile *)base;
6546#line 261
6547 tmp___11 = readb(__cil_tmp149);
6548#line 261
6549 __cil_tmp150 = (int )tmp___11;
6550#line 261
6551 printk("(%02Xh != %02Xh)\n", __cil_tmp150, 209);
6552 }
6553 } else {
6554
6555 }
6556 }
6557 {
6558#line 263
6559 __cil_tmp151 = arcnet_debug & 8;
6560#line 263
6561 if (__cil_tmp151 != 0) {
6562 {
6563#line 263
6564 printk("S3: ");
6565 }
6566 } else {
6567
6568 }
6569 }
6570 {
6571#line 264
6572 __cil_tmp152 = arcnet_debug & 8;
6573#line 264
6574 if (__cil_tmp152 != 0) {
6575#line 264
6576 numprint = 0;
6577 } else {
6578
6579 }
6580 }
6581#line 265
6582 goto out2;
6583 } else {
6584
6585 }
6586 }
6587 {
6588#line 272
6589 __cil_tmp153 = (void volatile *)base;
6590#line 272
6591 writeb((unsigned char)66, __cil_tmp153);
6592#line 273
6593 __cil_tmp154 = (void const volatile *)base;
6594#line 273
6595 tmp___13 = readb(__cil_tmp154);
6596 }
6597 {
6598#line 273
6599 __cil_tmp155 = (unsigned int )tmp___13;
6600#line 273
6601 if (__cil_tmp155 != 66U) {
6602 {
6603#line 274
6604 __cil_tmp156 = arcnet_debug & 8;
6605#line 274
6606 if (__cil_tmp156 != 0) {
6607 {
6608#line 274
6609 printk("(read only)\n");
6610 }
6611 } else {
6612
6613 }
6614 }
6615 {
6616#line 275
6617 __cil_tmp157 = arcnet_debug & 8;
6618#line 275
6619 if (__cil_tmp157 != 0) {
6620 {
6621#line 275
6622 printk("S3: ");
6623 }
6624 } else {
6625
6626 }
6627 }
6628#line 276
6629 goto out2;
6630 } else {
6631
6632 }
6633 }
6634 {
6635#line 278
6636 __cil_tmp158 = arcnet_debug & 8;
6637#line 278
6638 if (__cil_tmp158 != 0) {
6639 {
6640#line 278
6641 printk("\n");
6642 }
6643 } else {
6644
6645 }
6646 }
6647 {
6648#line 279
6649 __cil_tmp159 = arcnet_debug & 8;
6650#line 279
6651 if (__cil_tmp159 != 0) {
6652 {
6653#line 279
6654 printk("S3: ");
6655 }
6656 } else {
6657
6658 }
6659 }
6660 {
6661#line 280
6662 __cil_tmp160 = arcnet_debug & 8;
6663#line 280
6664 if (__cil_tmp160 != 0) {
6665#line 280
6666 numprint = 0;
6667 } else {
6668
6669 }
6670 }
6671#line 281
6672 __cil_tmp161 = (unsigned long )index;
6673#line 281
6674 __cil_tmp162 = iomem + __cil_tmp161;
6675#line 281
6676 *__cil_tmp162 = base;
6677#line 282
6678 goto ldv_34793;
6679 out2:
6680 {
6681#line 284
6682 __cil_tmp163 = (void volatile *)base;
6683#line 284
6684 iounmap(__cil_tmp163);
6685 }
6686 out1:
6687 {
6688#line 286
6689 __cil_tmp164 = *p;
6690#line 286
6691 __cil_tmp165 = (resource_size_t )__cil_tmp164;
6692#line 286
6693 __release_region(& iomem_resource, __cil_tmp165, 2048ULL);
6694 }
6695 out:
6696#line 288
6697 tmp___14 = p;
6698#line 288
6699 p = p - 1;
6700#line 288
6701 numshmems = numshmems - 1;
6702#line 288
6703 __cil_tmp166 = (unsigned long )numshmems;
6704#line 288
6705 __cil_tmp167 = shmems + __cil_tmp166;
6706#line 288
6707 *tmp___14 = *__cil_tmp167;
6708#line 289
6709 index = index - 1;
6710 ldv_34793:
6711#line 236
6712 p = p + 1;
6713#line 236
6714 index = index + 1;
6715 ldv_34795: ;
6716#line 236
6717 if (index < numshmems) {
6718#line 237
6719 goto ldv_34794;
6720 } else {
6721#line 239
6722 goto ldv_34796;
6723 }
6724 ldv_34796: ;
6725 {
6726#line 291
6727 __cil_tmp168 = arcnet_debug & 4;
6728#line 291
6729 if (__cil_tmp168 != 0) {
6730 {
6731#line 291
6732 printk("\n");
6733 }
6734 } else {
6735
6736 }
6737 }
6738#line 293
6739 if (numshmems == 0) {
6740#line 294
6741 if (arcnet_debug & 1) {
6742 {
6743#line 294
6744 printk("S3: No ARCnet cards found.\n");
6745 }
6746 } else {
6747
6748 }
6749#line 295
6750 port = (int *)(& ports);
6751#line 295
6752 goto ldv_34798;
6753 ldv_34797:
6754 {
6755#line 296
6756 __cil_tmp169 = *port;
6757#line 296
6758 __cil_tmp170 = (resource_size_t )__cil_tmp169;
6759#line 296
6760 __release_region(& ioport_resource, __cil_tmp170, 16ULL);
6761#line 295
6762 port = port + 1;
6763 }
6764 ldv_34798: ;
6765 {
6766#line 295
6767 __cil_tmp171 = (unsigned long )port;
6768#line 295
6769 __cil_tmp172 = (unsigned long )numports;
6770#line 295
6771 __cil_tmp173 = (int *)(& ports);
6772#line 295
6773 __cil_tmp174 = __cil_tmp173 + __cil_tmp172;
6774#line 295
6775 __cil_tmp175 = (unsigned long )__cil_tmp174;
6776#line 295
6777 if (__cil_tmp175 > __cil_tmp171) {
6778#line 296
6779 goto ldv_34797;
6780 } else {
6781#line 298
6782 goto ldv_34799;
6783 }
6784 }
6785 ldv_34799:
6786 {
6787#line 297
6788 __cil_tmp176 = (void const *)shmems;
6789#line 297
6790 kfree(__cil_tmp176);
6791#line 298
6792 __cil_tmp177 = (void const *)iomem;
6793#line 298
6794 kfree(__cil_tmp177);
6795 }
6796#line 299
6797 return;
6798 } else {
6799
6800 }
6801#line 304
6802 numprint = -1;
6803#line 305
6804 p = shmems;
6805#line 305
6806 goto ldv_34801;
6807 ldv_34800:
6808#line 306
6809 numprint = numprint + 1;
6810#line 307
6811 numprint = numprint % 8;
6812#line 308
6813 if (numprint == 0) {
6814 {
6815#line 309
6816 __cil_tmp178 = arcnet_debug & 4;
6817#line 309
6818 if (__cil_tmp178 != 0) {
6819 {
6820#line 309
6821 printk("\n");
6822 }
6823 } else {
6824
6825 }
6826 }
6827 {
6828#line 310
6829 __cil_tmp179 = arcnet_debug & 4;
6830#line 310
6831 if (__cil_tmp179 != 0) {
6832 {
6833#line 310
6834 printk("S4: ");
6835 }
6836 } else {
6837
6838 }
6839 }
6840 } else {
6841
6842 }
6843 {
6844#line 312
6845 __cil_tmp180 = arcnet_debug & 4;
6846#line 312
6847 if (__cil_tmp180 != 0) {
6848 {
6849#line 312
6850 __cil_tmp181 = *p;
6851#line 312
6852 printk("%lXh ", __cil_tmp181);
6853 }
6854 } else {
6855
6856 }
6857 }
6858#line 305
6859 p = p + 1;
6860 ldv_34801: ;
6861 {
6862#line 305
6863 __cil_tmp182 = (unsigned long )p;
6864#line 305
6865 __cil_tmp183 = (unsigned long )numshmems;
6866#line 305
6867 __cil_tmp184 = shmems + __cil_tmp183;
6868#line 305
6869 __cil_tmp185 = (unsigned long )__cil_tmp184;
6870#line 305
6871 if (__cil_tmp185 > __cil_tmp182) {
6872#line 306
6873 goto ldv_34800;
6874 } else {
6875#line 308
6876 goto ldv_34802;
6877 }
6878 }
6879 ldv_34802: ;
6880 {
6881#line 314
6882 __cil_tmp186 = arcnet_debug & 4;
6883#line 314
6884 if (__cil_tmp186 != 0) {
6885 {
6886#line 314
6887 printk("\n");
6888 }
6889 } else {
6890
6891 }
6892 }
6893#line 323
6894 numprint = -1;
6895#line 324
6896 port = (int *)(& ports);
6897#line 324
6898 goto ldv_34815;
6899 ldv_34814:
6900#line 325
6901 found = 0;
6902#line 326
6903 numprint = numprint + 1;
6904#line 327
6905 numprint = numprint % 8;
6906#line 328
6907 if (numprint == 0) {
6908 {
6909#line 329
6910 __cil_tmp187 = arcnet_debug & 4;
6911#line 329
6912 if (__cil_tmp187 != 0) {
6913 {
6914#line 329
6915 printk("\n");
6916 }
6917 } else {
6918
6919 }
6920 }
6921 {
6922#line 330
6923 __cil_tmp188 = arcnet_debug & 4;
6924#line 330
6925 if (__cil_tmp188 != 0) {
6926 {
6927#line 330
6928 printk("S5: ");
6929 }
6930 } else {
6931
6932 }
6933 }
6934 } else {
6935
6936 }
6937 {
6938#line 332
6939 __cil_tmp189 = arcnet_debug & 4;
6940#line 332
6941 if (__cil_tmp189 != 0) {
6942 {
6943#line 332
6944 __cil_tmp190 = *port;
6945#line 332
6946 printk("%Xh ", __cil_tmp190);
6947 }
6948 } else {
6949
6950 }
6951 }
6952 {
6953#line 334
6954 ioaddr = *port;
6955#line 335
6956 tmp___15 = inb(ioaddr);
6957#line 335
6958 status = (int )tmp___15;
6959 }
6960 {
6961#line 337
6962 __cil_tmp191 = status & 157;
6963#line 337
6964 if (__cil_tmp191 != 149) {
6965 {
6966#line 339
6967 __cil_tmp192 = arcnet_debug & 8;
6968#line 339
6969 if (__cil_tmp192 != 0) {
6970 {
6971#line 339
6972 printk("(status=%Xh)\n", status);
6973 }
6974 } else {
6975
6976 }
6977 }
6978 {
6979#line 340
6980 __cil_tmp193 = arcnet_debug & 8;
6981#line 340
6982 if (__cil_tmp193 != 0) {
6983 {
6984#line 340
6985 printk("S5: ");
6986 }
6987 } else {
6988
6989 }
6990 }
6991 {
6992#line 341
6993 __cil_tmp194 = arcnet_debug & 8;
6994#line 341
6995 if (__cil_tmp194 != 0) {
6996#line 341
6997 numprint = 0;
6998 } else {
6999
7000 }
7001 }
7002 {
7003#line 342
7004 __cil_tmp195 = *port;
7005#line 342
7006 __cil_tmp196 = (resource_size_t )__cil_tmp195;
7007#line 342
7008 __release_region(& ioport_resource, __cil_tmp196, 16ULL);
7009#line 343
7010 tmp___16 = port;
7011#line 343
7012 port = port - 1;
7013#line 343
7014 numports = numports - 1;
7015#line 343
7016 __cil_tmp197 = numports * 4UL;
7017#line 343
7018 __cil_tmp198 = (unsigned long )(ports) + __cil_tmp197;
7019#line 343
7020 *tmp___16 = *((int *)__cil_tmp198);
7021 }
7022#line 344
7023 goto ldv_34804;
7024 } else {
7025
7026 }
7027 }
7028 {
7029#line 346
7030 __cil_tmp199 = ioaddr + 1;
7031#line 346
7032 outb((unsigned char)30, __cil_tmp199);
7033#line 347
7034 tmp___17 = inb(ioaddr);
7035#line 347
7036 status = (int )tmp___17;
7037 }
7038 {
7039#line 348
7040 __cil_tmp200 = status & 16;
7041#line 348
7042 if (__cil_tmp200 != 0) {
7043 {
7044#line 349
7045 __cil_tmp201 = arcnet_debug & 8;
7046#line 349
7047 if (__cil_tmp201 != 0) {
7048 {
7049#line 349
7050 printk(" (eternal reset, status=%Xh)\n", status);
7051 }
7052 } else {
7053
7054 }
7055 }
7056 {
7057#line 351
7058 __cil_tmp202 = arcnet_debug & 8;
7059#line 351
7060 if (__cil_tmp202 != 0) {
7061 {
7062#line 351
7063 printk("S5: ");
7064 }
7065 } else {
7066
7067 }
7068 }
7069 {
7070#line 352
7071 __cil_tmp203 = arcnet_debug & 8;
7072#line 352
7073 if (__cil_tmp203 != 0) {
7074#line 352
7075 numprint = 0;
7076 } else {
7077
7078 }
7079 }
7080 {
7081#line 353
7082 __cil_tmp204 = *port;
7083#line 353
7084 __cil_tmp205 = (resource_size_t )__cil_tmp204;
7085#line 353
7086 __release_region(& ioport_resource, __cil_tmp205, 16ULL);
7087#line 354
7088 tmp___18 = port;
7089#line 354
7090 port = port - 1;
7091#line 354
7092 numports = numports - 1;
7093#line 354
7094 __cil_tmp206 = numports * 4UL;
7095#line 354
7096 __cil_tmp207 = (unsigned long )(ports) + __cil_tmp206;
7097#line 354
7098 *tmp___18 = *((int *)__cil_tmp207);
7099 }
7100#line 355
7101 goto ldv_34804;
7102 } else {
7103
7104 }
7105 }
7106 {
7107#line 360
7108 __cil_tmp208 = & irq;
7109#line 360
7110 __cil_tmp209 = *__cil_tmp208;
7111#line 360
7112 if (__cil_tmp209 == 0) {
7113 {
7114#line 365
7115 airqmask = probe_irq_on();
7116#line 366
7117 outb((unsigned char)128, ioaddr);
7118#line 367
7119 __const_udelay(4295UL);
7120#line 368
7121 outb((unsigned char)0, ioaddr);
7122#line 369
7123 airq = probe_irq_off(airqmask);
7124 }
7125#line 371
7126 if (airq <= 0) {
7127 {
7128#line 372
7129 __cil_tmp210 = arcnet_debug & 8;
7130#line 372
7131 if (__cil_tmp210 != 0) {
7132 {
7133#line 372
7134 printk("(airq=%d)\n", airq);
7135 }
7136 } else {
7137
7138 }
7139 }
7140 {
7141#line 373
7142 __cil_tmp211 = arcnet_debug & 8;
7143#line 373
7144 if (__cil_tmp211 != 0) {
7145 {
7146#line 373
7147 printk("S5: ");
7148 }
7149 } else {
7150
7151 }
7152 }
7153 {
7154#line 374
7155 __cil_tmp212 = arcnet_debug & 8;
7156#line 374
7157 if (__cil_tmp212 != 0) {
7158#line 374
7159 numprint = 0;
7160 } else {
7161
7162 }
7163 }
7164 {
7165#line 375
7166 __cil_tmp213 = *port;
7167#line 375
7168 __cil_tmp214 = (resource_size_t )__cil_tmp213;
7169#line 375
7170 __release_region(& ioport_resource, __cil_tmp214, 16ULL);
7171#line 376
7172 tmp___19 = port;
7173#line 376
7174 port = port - 1;
7175#line 376
7176 numports = numports - 1;
7177#line 376
7178 __cil_tmp215 = numports * 4UL;
7179#line 376
7180 __cil_tmp216 = (unsigned long )(ports) + __cil_tmp215;
7181#line 376
7182 *tmp___19 = *((int *)__cil_tmp216);
7183 }
7184#line 377
7185 goto ldv_34804;
7186 } else {
7187
7188 }
7189 } else {
7190#line 380
7191 __cil_tmp217 = & irq;
7192#line 380
7193 airq = *__cil_tmp217;
7194 }
7195 }
7196 {
7197#line 383
7198 __cil_tmp218 = arcnet_debug & 4;
7199#line 383
7200 if (__cil_tmp218 != 0) {
7201 {
7202#line 383
7203 printk("(%d,", airq);
7204 }
7205 } else {
7206
7207 }
7208 }
7209 {
7210#line 384
7211 openparen = 1;
7212#line 401
7213 __cil_tmp219 = ioaddr + 8;
7214#line 401
7215 inb(__cil_tmp219);
7216#line 402
7217 __ms___0 = 300UL;
7218 }
7219#line 402
7220 goto ldv_34807;
7221 ldv_34806:
7222 {
7223#line 402
7224 __const_udelay(4295000UL);
7225 }
7226 ldv_34807:
7227#line 402
7228 tmp___20 = __ms___0;
7229#line 402
7230 __ms___0 = __ms___0 - 1UL;
7231#line 402
7232 if (tmp___20 != 0UL) {
7233#line 403
7234 goto ldv_34806;
7235 } else {
7236#line 405
7237 goto ldv_34808;
7238 }
7239 ldv_34808:
7240#line 405
7241 index = 0;
7242#line 405
7243 goto ldv_34813;
7244 ldv_34812:
7245 {
7246#line 406
7247 __cil_tmp220 = (unsigned long )index;
7248#line 406
7249 __cil_tmp221 = shmems + __cil_tmp220;
7250#line 406
7251 ptr = *__cil_tmp221;
7252#line 407
7253 __cil_tmp222 = (unsigned long )index;
7254#line 407
7255 __cil_tmp223 = iomem + __cil_tmp222;
7256#line 407
7257 base___0 = *__cil_tmp223;
7258#line 409
7259 __cil_tmp224 = (void const volatile *)base___0;
7260#line 409
7261 tmp___23 = readb(__cil_tmp224);
7262 }
7263 {
7264#line 409
7265 __cil_tmp225 = (unsigned int )tmp___23;
7266#line 409
7267 if (__cil_tmp225 == 209U) {
7268 {
7269#line 410
7270 __cil_tmp226 = arcnet_debug & 4;
7271#line 410
7272 if (__cil_tmp226 != 0) {
7273 {
7274#line 410
7275 __cil_tmp227 = *p;
7276#line 410
7277 printk("%lXh)\n", __cil_tmp227);
7278 }
7279 } else {
7280
7281 }
7282 }
7283 {
7284#line 411
7285 openparen = 0;
7286#line 414
7287 __cil_tmp228 = *port;
7288#line 414
7289 tmp___21 = com90xx_found(__cil_tmp228, airq, ptr, base___0);
7290 }
7291#line 414
7292 if (tmp___21 == 0) {
7293#line 415
7294 found = 1;
7295 } else {
7296
7297 }
7298#line 416
7299 numprint = -1;
7300#line 419
7301 numshmems = numshmems - 1;
7302#line 419
7303 __cil_tmp229 = (unsigned long )index;
7304#line 419
7305 __cil_tmp230 = shmems + __cil_tmp229;
7306#line 419
7307 __cil_tmp231 = (unsigned long )numshmems;
7308#line 419
7309 __cil_tmp232 = shmems + __cil_tmp231;
7310#line 419
7311 *__cil_tmp230 = *__cil_tmp232;
7312#line 420
7313 __cil_tmp233 = (unsigned long )index;
7314#line 420
7315 __cil_tmp234 = iomem + __cil_tmp233;
7316#line 420
7317 __cil_tmp235 = (unsigned long )numshmems;
7318#line 420
7319 __cil_tmp236 = iomem + __cil_tmp235;
7320#line 420
7321 *__cil_tmp234 = *__cil_tmp236;
7322#line 421
7323 goto ldv_34811;
7324 } else {
7325 {
7326#line 423
7327 __cil_tmp237 = arcnet_debug & 8;
7328#line 423
7329 if (__cil_tmp237 != 0) {
7330 {
7331#line 423
7332 __cil_tmp238 = (void const volatile *)base___0;
7333#line 423
7334 tmp___22 = readb(__cil_tmp238);
7335#line 423
7336 __cil_tmp239 = (int )tmp___22;
7337#line 423
7338 printk("%Xh-", __cil_tmp239);
7339 }
7340 } else {
7341
7342 }
7343 }
7344 }
7345 }
7346#line 405
7347 index = index + 1;
7348 ldv_34813: ;
7349#line 405
7350 if (index < numshmems) {
7351#line 406
7352 goto ldv_34812;
7353 } else {
7354#line 408
7355 goto ldv_34811;
7356 }
7357 ldv_34811: ;
7358#line 427
7359 if (openparen != 0) {
7360 {
7361#line 428
7362 __cil_tmp240 = arcnet_debug & 4;
7363#line 428
7364 if (__cil_tmp240 != 0) {
7365 {
7366#line 428
7367 printk("no matching shmem)\n");
7368 }
7369 } else {
7370
7371 }
7372 }
7373 {
7374#line 429
7375 __cil_tmp241 = arcnet_debug & 8;
7376#line 429
7377 if (__cil_tmp241 != 0) {
7378 {
7379#line 429
7380 printk("S5: ");
7381 }
7382 } else {
7383
7384 }
7385 }
7386 {
7387#line 430
7388 __cil_tmp242 = arcnet_debug & 8;
7389#line 430
7390 if (__cil_tmp242 != 0) {
7391#line 430
7392 numprint = 0;
7393 } else {
7394
7395 }
7396 }
7397 } else {
7398
7399 }
7400#line 432
7401 if (found == 0) {
7402 {
7403#line 433
7404 __cil_tmp243 = *port;
7405#line 433
7406 __cil_tmp244 = (resource_size_t )__cil_tmp243;
7407#line 433
7408 __release_region(& ioport_resource, __cil_tmp244, 16ULL);
7409 }
7410 } else {
7411
7412 }
7413#line 434
7414 tmp___24 = port;
7415#line 434
7416 port = port - 1;
7417#line 434
7418 numports = numports - 1;
7419#line 434
7420 __cil_tmp245 = numports * 4UL;
7421#line 434
7422 __cil_tmp246 = (unsigned long )(ports) + __cil_tmp245;
7423#line 434
7424 *tmp___24 = *((int *)__cil_tmp246);
7425 ldv_34804:
7426#line 324
7427 port = port + 1;
7428 ldv_34815: ;
7429 {
7430#line 324
7431 __cil_tmp247 = (unsigned long )port;
7432#line 324
7433 __cil_tmp248 = (unsigned long )numports;
7434#line 324
7435 __cil_tmp249 = (int *)(& ports);
7436#line 324
7437 __cil_tmp250 = __cil_tmp249 + __cil_tmp248;
7438#line 324
7439 __cil_tmp251 = (unsigned long )__cil_tmp250;
7440#line 324
7441 if (__cil_tmp251 > __cil_tmp247) {
7442#line 325
7443 goto ldv_34814;
7444 } else {
7445#line 327
7446 goto ldv_34816;
7447 }
7448 }
7449 ldv_34816: ;
7450 {
7451#line 437
7452 __cil_tmp252 = arcnet_debug & 8;
7453#line 437
7454 if (__cil_tmp252 != 0) {
7455 {
7456#line 437
7457 printk("\n");
7458 }
7459 } else {
7460
7461 }
7462 }
7463#line 440
7464 index = 0;
7465#line 440
7466 goto ldv_34818;
7467 ldv_34817:
7468 {
7469#line 441
7470 __cil_tmp253 = (unsigned long )index;
7471#line 441
7472 __cil_tmp254 = iomem + __cil_tmp253;
7473#line 441
7474 __cil_tmp255 = *__cil_tmp254;
7475#line 441
7476 __cil_tmp256 = (void volatile *)__cil_tmp255;
7477#line 441
7478 writeb((unsigned char)209, __cil_tmp256);
7479#line 442
7480 __cil_tmp257 = (unsigned long )index;
7481#line 442
7482 __cil_tmp258 = iomem + __cil_tmp257;
7483#line 442
7484 __cil_tmp259 = *__cil_tmp258;
7485#line 442
7486 __cil_tmp260 = (void volatile *)__cil_tmp259;
7487#line 442
7488 iounmap(__cil_tmp260);
7489#line 443
7490 __cil_tmp261 = (unsigned long )index;
7491#line 443
7492 __cil_tmp262 = shmems + __cil_tmp261;
7493#line 443
7494 __cil_tmp263 = *__cil_tmp262;
7495#line 443
7496 __cil_tmp264 = (resource_size_t )__cil_tmp263;
7497#line 443
7498 __release_region(& iomem_resource, __cil_tmp264, 2048ULL);
7499#line 440
7500 index = index + 1;
7501 }
7502 ldv_34818: ;
7503#line 440
7504 if (index < numshmems) {
7505#line 441
7506 goto ldv_34817;
7507 } else {
7508#line 443
7509 goto ldv_34819;
7510 }
7511 ldv_34819:
7512 {
7513#line 445
7514 __cil_tmp265 = (void const *)shmems;
7515#line 445
7516 kfree(__cil_tmp265);
7517#line 446
7518 __cil_tmp266 = (void const *)iomem;
7519#line 446
7520 kfree(__cil_tmp266);
7521 }
7522#line 447
7523 return;
7524}
7525}
7526#line 449 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
7527static int check_mirror(unsigned long addr , size_t size )
7528{ void *p ;
7529 int res ;
7530 struct resource *tmp ;
7531 unsigned char tmp___0 ;
7532 resource_size_t __cil_tmp7 ;
7533 resource_size_t __cil_tmp8 ;
7534 struct resource *__cil_tmp9 ;
7535 unsigned long __cil_tmp10 ;
7536 unsigned long __cil_tmp11 ;
7537 resource_size_t __cil_tmp12 ;
7538 void *__cil_tmp13 ;
7539 unsigned long __cil_tmp14 ;
7540 unsigned long __cil_tmp15 ;
7541 void const volatile *__cil_tmp16 ;
7542 unsigned int __cil_tmp17 ;
7543 void volatile *__cil_tmp18 ;
7544 resource_size_t __cil_tmp19 ;
7545 resource_size_t __cil_tmp20 ;
7546
7547 {
7548 {
7549#line 452
7550 res = -1;
7551#line 454
7552 __cil_tmp7 = (resource_size_t )addr;
7553#line 454
7554 __cil_tmp8 = (resource_size_t )size;
7555#line 454
7556 tmp = __request_region(& iomem_resource, __cil_tmp7, __cil_tmp8, "arcnet (90xx)",
7557 0);
7558 }
7559 {
7560#line 454
7561 __cil_tmp9 = (struct resource *)0;
7562#line 454
7563 __cil_tmp10 = (unsigned long )__cil_tmp9;
7564#line 454
7565 __cil_tmp11 = (unsigned long )tmp;
7566#line 454
7567 if (__cil_tmp11 == __cil_tmp10) {
7568#line 455
7569 return (-1);
7570 } else {
7571
7572 }
7573 }
7574 {
7575#line 457
7576 __cil_tmp12 = (resource_size_t )addr;
7577#line 457
7578 p = ioremap(__cil_tmp12, size);
7579 }
7580 {
7581#line 458
7582 __cil_tmp13 = (void *)0;
7583#line 458
7584 __cil_tmp14 = (unsigned long )__cil_tmp13;
7585#line 458
7586 __cil_tmp15 = (unsigned long )p;
7587#line 458
7588 if (__cil_tmp15 != __cil_tmp14) {
7589 {
7590#line 459
7591 __cil_tmp16 = (void const volatile *)p;
7592#line 459
7593 tmp___0 = readb(__cil_tmp16);
7594 }
7595 {
7596#line 459
7597 __cil_tmp17 = (unsigned int )tmp___0;
7598#line 459
7599 if (__cil_tmp17 == 209U) {
7600#line 460
7601 res = 1;
7602 } else {
7603#line 462
7604 res = 0;
7605 }
7606 }
7607 {
7608#line 463
7609 __cil_tmp18 = (void volatile *)p;
7610#line 463
7611 iounmap(__cil_tmp18);
7612 }
7613 } else {
7614
7615 }
7616 }
7617 {
7618#line 466
7619 __cil_tmp19 = (resource_size_t )addr;
7620#line 466
7621 __cil_tmp20 = (resource_size_t )size;
7622#line 466
7623 __release_region(& iomem_resource, __cil_tmp19, __cil_tmp20);
7624 }
7625#line 467
7626 return (res);
7627}
7628}
7629#line 473 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
7630static int com90xx_found(int ioaddr , int airq , u_long shmem___0 , void *p )
7631{ struct net_device *dev ;
7632 struct arcnet_local *lp ;
7633 u_long first_mirror ;
7634 u_long last_mirror ;
7635 int mirror_size ;
7636 void *tmp ;
7637 unsigned char tmp___0 ;
7638 int tmp___1 ;
7639 int tmp___2 ;
7640 int tmp___3 ;
7641 int tmp___4 ;
7642 struct resource *tmp___5 ;
7643 int tmp___6 ;
7644 int tmp___7 ;
7645 int tmp___8 ;
7646 char const *__cil_tmp20 ;
7647 struct net_device *__cil_tmp21 ;
7648 unsigned long __cil_tmp22 ;
7649 unsigned long __cil_tmp23 ;
7650 void volatile *__cil_tmp24 ;
7651 resource_size_t __cil_tmp25 ;
7652 struct net_device const *__cil_tmp26 ;
7653 void const volatile *__cil_tmp27 ;
7654 unsigned int __cil_tmp28 ;
7655 u_long __cil_tmp29 ;
7656 u_long __cil_tmp30 ;
7657 u_long __cil_tmp31 ;
7658 u_long __cil_tmp32 ;
7659 size_t __cil_tmp33 ;
7660 u_long __cil_tmp34 ;
7661 u_long __cil_tmp35 ;
7662 u_long __cil_tmp36 ;
7663 size_t __cil_tmp37 ;
7664 u_long __cil_tmp38 ;
7665 unsigned long __cil_tmp39 ;
7666 unsigned long __cil_tmp40 ;
7667 unsigned long __cil_tmp41 ;
7668 unsigned long __cil_tmp42 ;
7669 void volatile *__cil_tmp43 ;
7670 resource_size_t __cil_tmp44 ;
7671 unsigned long __cil_tmp45 ;
7672 unsigned long __cil_tmp46 ;
7673 unsigned long __cil_tmp47 ;
7674 resource_size_t __cil_tmp48 ;
7675 unsigned long __cil_tmp49 ;
7676 unsigned long __cil_tmp50 ;
7677 unsigned long __cil_tmp51 ;
7678 unsigned long __cil_tmp52 ;
7679 unsigned long __cil_tmp53 ;
7680 unsigned long __cil_tmp54 ;
7681 unsigned long __cil_tmp55 ;
7682 unsigned long __cil_tmp56 ;
7683 resource_size_t __cil_tmp57 ;
7684 struct resource *__cil_tmp58 ;
7685 unsigned long __cil_tmp59 ;
7686 unsigned long __cil_tmp60 ;
7687 unsigned int __cil_tmp61 ;
7688 void *__cil_tmp62 ;
7689 char *__cil_tmp63 ;
7690 char (*__cil_tmp64)[16U] ;
7691 char *__cil_tmp65 ;
7692 unsigned long __cil_tmp66 ;
7693 unsigned long __cil_tmp67 ;
7694 unsigned long __cil_tmp68 ;
7695 unsigned long __cil_tmp69 ;
7696 unsigned long __cil_tmp70 ;
7697 unsigned long __cil_tmp71 ;
7698 unsigned long __cil_tmp72 ;
7699 unsigned long __cil_tmp73 ;
7700 unsigned long __cil_tmp74 ;
7701 unsigned long __cil_tmp75 ;
7702 unsigned long __cil_tmp76 ;
7703 unsigned long __cil_tmp77 ;
7704 unsigned long __cil_tmp78 ;
7705 unsigned long __cil_tmp79 ;
7706 unsigned long __cil_tmp80 ;
7707 unsigned long __cil_tmp81 ;
7708 unsigned long __cil_tmp82 ;
7709 unsigned long __cil_tmp83 ;
7710 unsigned long __cil_tmp84 ;
7711 unsigned long __cil_tmp85 ;
7712 unsigned long __cil_tmp86 ;
7713 unsigned long __cil_tmp87 ;
7714 unsigned long __cil_tmp88 ;
7715 unsigned long __cil_tmp89 ;
7716 unsigned long __cil_tmp90 ;
7717 unsigned long __cil_tmp91 ;
7718 unsigned long __cil_tmp92 ;
7719 unsigned long __cil_tmp93 ;
7720 unsigned long __cil_tmp94 ;
7721 resource_size_t __cil_tmp95 ;
7722 unsigned long __cil_tmp96 ;
7723 unsigned long __cil_tmp97 ;
7724 unsigned long __cil_tmp98 ;
7725 unsigned long __cil_tmp99 ;
7726 unsigned long __cil_tmp100 ;
7727 unsigned long __cil_tmp101 ;
7728 unsigned long __cil_tmp102 ;
7729 unsigned long __cil_tmp103 ;
7730 void *__cil_tmp104 ;
7731 unsigned long __cil_tmp105 ;
7732 unsigned long __cil_tmp106 ;
7733 unsigned long __cil_tmp107 ;
7734 void *__cil_tmp108 ;
7735 unsigned long __cil_tmp109 ;
7736 char *__cil_tmp110 ;
7737 char (*__cil_tmp111)[16U] ;
7738 char *__cil_tmp112 ;
7739 unsigned long __cil_tmp113 ;
7740 unsigned long __cil_tmp114 ;
7741 unsigned char *__cil_tmp115 ;
7742 unsigned long __cil_tmp116 ;
7743 unsigned long __cil_tmp117 ;
7744 void *__cil_tmp118 ;
7745 void const volatile *__cil_tmp119 ;
7746 void const volatile *__cil_tmp120 ;
7747 unsigned long __cil_tmp121 ;
7748 unsigned long __cil_tmp122 ;
7749 char *__cil_tmp123 ;
7750 char (*__cil_tmp124)[16U] ;
7751 char *__cil_tmp125 ;
7752 unsigned long __cil_tmp126 ;
7753 unsigned long __cil_tmp127 ;
7754 unsigned char *__cil_tmp128 ;
7755 unsigned char __cil_tmp129 ;
7756 int __cil_tmp130 ;
7757 unsigned long __cil_tmp131 ;
7758 unsigned long __cil_tmp132 ;
7759 unsigned long __cil_tmp133 ;
7760 unsigned long __cil_tmp134 ;
7761 unsigned long __cil_tmp135 ;
7762 unsigned int __cil_tmp136 ;
7763 unsigned long __cil_tmp137 ;
7764 unsigned long __cil_tmp138 ;
7765 unsigned long __cil_tmp139 ;
7766 unsigned long __cil_tmp140 ;
7767 unsigned long __cil_tmp141 ;
7768 unsigned long __cil_tmp142 ;
7769 unsigned long __cil_tmp143 ;
7770 unsigned long __cil_tmp144 ;
7771 unsigned long __cil_tmp145 ;
7772 unsigned long __cil_tmp146 ;
7773 unsigned long __cil_tmp147 ;
7774 unsigned long __cil_tmp148 ;
7775 unsigned long __cil_tmp149 ;
7776 unsigned long __cil_tmp150 ;
7777 unsigned long __cil_tmp151 ;
7778 unsigned long __cil_tmp152 ;
7779 unsigned long __cil_tmp153 ;
7780 void *__cil_tmp154 ;
7781 void volatile *__cil_tmp155 ;
7782 unsigned long __cil_tmp156 ;
7783 unsigned long __cil_tmp157 ;
7784 unsigned int __cil_tmp158 ;
7785 void *__cil_tmp159 ;
7786 unsigned long __cil_tmp160 ;
7787 unsigned long __cil_tmp161 ;
7788 unsigned long __cil_tmp162 ;
7789 resource_size_t __cil_tmp163 ;
7790 unsigned long __cil_tmp164 ;
7791 unsigned long __cil_tmp165 ;
7792 unsigned long __cil_tmp166 ;
7793 unsigned long __cil_tmp167 ;
7794 unsigned long __cil_tmp168 ;
7795 unsigned long __cil_tmp169 ;
7796 unsigned long __cil_tmp170 ;
7797 unsigned long __cil_tmp171 ;
7798 resource_size_t __cil_tmp172 ;
7799
7800 {
7801 {
7802#line 475
7803 dev = (struct net_device *)0;
7804#line 481
7805 __cil_tmp20 = (char const *)(& device);
7806#line 481
7807 dev = alloc_arcdev(__cil_tmp20);
7808 }
7809 {
7810#line 482
7811 __cil_tmp21 = (struct net_device *)0;
7812#line 482
7813 __cil_tmp22 = (unsigned long )__cil_tmp21;
7814#line 482
7815 __cil_tmp23 = (unsigned long )dev;
7816#line 482
7817 if (__cil_tmp23 == __cil_tmp22) {
7818#line 483
7819 if (arcnet_debug & 1) {
7820 {
7821#line 483
7822 printk("com90xx: Can\'t allocate device!\n");
7823 }
7824 } else {
7825
7826 }
7827 {
7828#line 484
7829 __cil_tmp24 = (void volatile *)p;
7830#line 484
7831 iounmap(__cil_tmp24);
7832#line 485
7833 __cil_tmp25 = (resource_size_t )shmem___0;
7834#line 485
7835 __release_region(& iomem_resource, __cil_tmp25, 2048ULL);
7836 }
7837#line 486
7838 return (-12);
7839 } else {
7840
7841 }
7842 }
7843 {
7844#line 488
7845 __cil_tmp26 = (struct net_device const *)dev;
7846#line 488
7847 tmp = netdev_priv(__cil_tmp26);
7848#line 488
7849 lp = (struct arcnet_local *)tmp;
7850#line 495
7851 mirror_size = 2048;
7852#line 496
7853 __cil_tmp27 = (void const volatile *)p;
7854#line 496
7855 tmp___0 = readb(__cil_tmp27);
7856 }
7857 {
7858#line 496
7859 __cil_tmp28 = (unsigned int )tmp___0;
7860#line 496
7861 if (__cil_tmp28 == 209U) {
7862 {
7863#line 496
7864 __cil_tmp29 = shmem___0 - 2048UL;
7865#line 496
7866 tmp___1 = check_mirror(__cil_tmp29, 2048UL);
7867 }
7868#line 496
7869 if (tmp___1 == 0) {
7870 {
7871#line 496
7872 __cil_tmp30 = shmem___0 - 4096UL;
7873#line 496
7874 tmp___2 = check_mirror(__cil_tmp30, 2048UL);
7875 }
7876#line 496
7877 if (tmp___2 == 1) {
7878#line 499
7879 mirror_size = 4096;
7880 } else {
7881
7882 }
7883 } else {
7884
7885 }
7886 } else {
7887
7888 }
7889 }
7890#line 501
7891 __cil_tmp31 = (u_long )mirror_size;
7892#line 501
7893 first_mirror = shmem___0 - __cil_tmp31;
7894#line 502
7895 goto ldv_34838;
7896 ldv_34837:
7897#line 503
7898 __cil_tmp32 = (u_long )mirror_size;
7899#line 503
7900 first_mirror = first_mirror - __cil_tmp32;
7901 ldv_34838:
7902 {
7903#line 502
7904 __cil_tmp33 = (size_t )mirror_size;
7905#line 502
7906 tmp___3 = check_mirror(first_mirror, __cil_tmp33);
7907 }
7908#line 502
7909 if (tmp___3 == 1) {
7910#line 503
7911 goto ldv_34837;
7912 } else {
7913#line 505
7914 goto ldv_34839;
7915 }
7916 ldv_34839:
7917#line 504
7918 __cil_tmp34 = (u_long )mirror_size;
7919#line 504
7920 first_mirror = __cil_tmp34 + first_mirror;
7921#line 506
7922 __cil_tmp35 = (u_long )mirror_size;
7923#line 506
7924 last_mirror = __cil_tmp35 + shmem___0;
7925#line 507
7926 goto ldv_34841;
7927 ldv_34840:
7928#line 508
7929 __cil_tmp36 = (u_long )mirror_size;
7930#line 508
7931 last_mirror = __cil_tmp36 + last_mirror;
7932 ldv_34841:
7933 {
7934#line 507
7935 __cil_tmp37 = (size_t )mirror_size;
7936#line 507
7937 tmp___4 = check_mirror(last_mirror, __cil_tmp37);
7938 }
7939#line 507
7940 if (tmp___4 == 1) {
7941#line 508
7942 goto ldv_34840;
7943 } else {
7944#line 510
7945 goto ldv_34842;
7946 }
7947 ldv_34842:
7948 {
7949#line 509
7950 __cil_tmp38 = (u_long )mirror_size;
7951#line 509
7952 last_mirror = last_mirror - __cil_tmp38;
7953#line 511
7954 __cil_tmp39 = (unsigned long )dev;
7955#line 511
7956 __cil_tmp40 = __cil_tmp39 + 304;
7957#line 511
7958 *((unsigned long *)__cil_tmp40) = first_mirror;
7959#line 512
7960 __cil_tmp41 = (unsigned long )dev;
7961#line 512
7962 __cil_tmp42 = __cil_tmp41 + 296;
7963#line 512
7964 *((unsigned long *)__cil_tmp42) = last_mirror + 2047UL;
7965#line 514
7966 __cil_tmp43 = (void volatile *)p;
7967#line 514
7968 iounmap(__cil_tmp43);
7969#line 515
7970 __cil_tmp44 = (resource_size_t )shmem___0;
7971#line 515
7972 __release_region(& iomem_resource, __cil_tmp44, 2048ULL);
7973#line 517
7974 __cil_tmp45 = (unsigned long )dev;
7975#line 517
7976 __cil_tmp46 = __cil_tmp45 + 304;
7977#line 517
7978 __cil_tmp47 = *((unsigned long *)__cil_tmp46);
7979#line 517
7980 __cil_tmp48 = (resource_size_t )__cil_tmp47;
7981#line 517
7982 __cil_tmp49 = (unsigned long )dev;
7983#line 517
7984 __cil_tmp50 = __cil_tmp49 + 304;
7985#line 517
7986 __cil_tmp51 = *((unsigned long *)__cil_tmp50);
7987#line 517
7988 __cil_tmp52 = (unsigned long )dev;
7989#line 517
7990 __cil_tmp53 = __cil_tmp52 + 296;
7991#line 517
7992 __cil_tmp54 = *((unsigned long *)__cil_tmp53);
7993#line 517
7994 __cil_tmp55 = __cil_tmp54 - __cil_tmp51;
7995#line 517
7996 __cil_tmp56 = __cil_tmp55 + 1UL;
7997#line 517
7998 __cil_tmp57 = (resource_size_t )__cil_tmp56;
7999#line 517
8000 tmp___5 = __request_region(& iomem_resource, __cil_tmp48, __cil_tmp57, "arcnet (90xx)",
8001 0);
8002 }
8003 {
8004#line 517
8005 __cil_tmp58 = (struct resource *)0;
8006#line 517
8007 __cil_tmp59 = (unsigned long )__cil_tmp58;
8008#line 517
8009 __cil_tmp60 = (unsigned long )tmp___5;
8010#line 517
8011 if (__cil_tmp60 == __cil_tmp59) {
8012#line 518
8013 goto err_free_dev;
8014 } else {
8015
8016 }
8017 }
8018 {
8019#line 521
8020 __cil_tmp61 = (unsigned int )airq;
8021#line 521
8022 __cil_tmp62 = (void *)dev;
8023#line 521
8024 tmp___6 = request_irq(__cil_tmp61, & arcnet_interrupt, 0UL, "arcnet (90xx)", __cil_tmp62);
8025 }
8026#line 521
8027 if (tmp___6 != 0) {
8028#line 522
8029 if (arcnet_debug & 1) {
8030 {
8031#line 522
8032 __cil_tmp63 = (char *)"<4>";
8033#line 522
8034 __cil_tmp64 = (char (*)[16U])dev;
8035#line 522
8036 __cil_tmp65 = (char *)__cil_tmp64;
8037#line 522
8038 printk("%s%6s: Can\'t get IRQ %d!\n", __cil_tmp63, __cil_tmp65, airq);
8039 }
8040 } else {
8041
8042 }
8043#line 523
8044 goto err_release_mem;
8045 } else {
8046
8047 }
8048 {
8049#line 525
8050 __cil_tmp66 = (unsigned long )dev;
8051#line 525
8052 __cil_tmp67 = __cil_tmp66 + 320;
8053#line 525
8054 *((unsigned int *)__cil_tmp67) = (unsigned int )airq;
8055#line 528
8056 __cil_tmp68 = (unsigned long )lp;
8057#line 528
8058 __cil_tmp69 = __cil_tmp68 + 296;
8059#line 528
8060 *((char **)__cil_tmp69) = (char *)"COM90xx";
8061#line 529
8062 __cil_tmp70 = 4584 + 8;
8063#line 529
8064 __cil_tmp71 = (unsigned long )lp;
8065#line 529
8066 __cil_tmp72 = __cil_tmp71 + __cil_tmp70;
8067#line 529
8068 *((void (**)(struct net_device * , int ))__cil_tmp72) = & com90xx_command;
8069#line 530
8070 __cil_tmp73 = 4584 + 16;
8071#line 530
8072 __cil_tmp74 = (unsigned long )lp;
8073#line 530
8074 __cil_tmp75 = __cil_tmp74 + __cil_tmp73;
8075#line 530
8076 *((int (**)(struct net_device * ))__cil_tmp75) = & com90xx_status;
8077#line 531
8078 __cil_tmp76 = 4584 + 24;
8079#line 531
8080 __cil_tmp77 = (unsigned long )lp;
8081#line 531
8082 __cil_tmp78 = __cil_tmp77 + __cil_tmp76;
8083#line 531
8084 *((void (**)(struct net_device * , int ))__cil_tmp78) = & com90xx_setmask;
8085#line 532
8086 __cil_tmp79 = 4584 + 32;
8087#line 532
8088 __cil_tmp80 = (unsigned long )lp;
8089#line 532
8090 __cil_tmp81 = __cil_tmp80 + __cil_tmp79;
8091#line 532
8092 *((int (**)(struct net_device * , int ))__cil_tmp81) = & com90xx_reset;
8093#line 533
8094 __cil_tmp82 = (unsigned long )lp;
8095#line 533
8096 __cil_tmp83 = __cil_tmp82 + 4584;
8097#line 533
8098 *((struct module **)__cil_tmp83) = & __this_module;
8099#line 534
8100 __cil_tmp84 = 4584 + 56;
8101#line 534
8102 __cil_tmp85 = (unsigned long )lp;
8103#line 534
8104 __cil_tmp86 = __cil_tmp85 + __cil_tmp84;
8105#line 534
8106 *((void (**)(struct net_device * , int , int , void * , int ))__cil_tmp86) = & com90xx_copy_to_card;
8107#line 535
8108 __cil_tmp87 = 4584 + 64;
8109#line 535
8110 __cil_tmp88 = (unsigned long )lp;
8111#line 535
8112 __cil_tmp89 = __cil_tmp88 + __cil_tmp87;
8113#line 535
8114 *((void (**)(struct net_device * , int , int , void * , int ))__cil_tmp89) = & com90xx_copy_from_card;
8115#line 536
8116 __cil_tmp90 = (unsigned long )lp;
8117#line 536
8118 __cil_tmp91 = __cil_tmp90 + 4656;
8119#line 536
8120 __cil_tmp92 = (unsigned long )dev;
8121#line 536
8122 __cil_tmp93 = __cil_tmp92 + 304;
8123#line 536
8124 __cil_tmp94 = *((unsigned long *)__cil_tmp93);
8125#line 536
8126 __cil_tmp95 = (resource_size_t )__cil_tmp94;
8127#line 536
8128 __cil_tmp96 = (unsigned long )dev;
8129#line 536
8130 __cil_tmp97 = __cil_tmp96 + 304;
8131#line 536
8132 __cil_tmp98 = *((unsigned long *)__cil_tmp97);
8133#line 536
8134 __cil_tmp99 = (unsigned long )dev;
8135#line 536
8136 __cil_tmp100 = __cil_tmp99 + 296;
8137#line 536
8138 __cil_tmp101 = *((unsigned long *)__cil_tmp100);
8139#line 536
8140 __cil_tmp102 = __cil_tmp101 - __cil_tmp98;
8141#line 536
8142 __cil_tmp103 = __cil_tmp102 + 1UL;
8143#line 536
8144 *((void **)__cil_tmp91) = ioremap(__cil_tmp95, __cil_tmp103);
8145 }
8146 {
8147#line 537
8148 __cil_tmp104 = (void *)0;
8149#line 537
8150 __cil_tmp105 = (unsigned long )__cil_tmp104;
8151#line 537
8152 __cil_tmp106 = (unsigned long )lp;
8153#line 537
8154 __cil_tmp107 = __cil_tmp106 + 4656;
8155#line 537
8156 __cil_tmp108 = *((void **)__cil_tmp107);
8157#line 537
8158 __cil_tmp109 = (unsigned long )__cil_tmp108;
8159#line 537
8160 if (__cil_tmp109 == __cil_tmp105) {
8161#line 538
8162 if (arcnet_debug & 1) {
8163 {
8164#line 538
8165 __cil_tmp110 = (char *)"<4>";
8166#line 538
8167 __cil_tmp111 = (char (*)[16U])dev;
8168#line 538
8169 __cil_tmp112 = (char *)__cil_tmp111;
8170#line 538
8171 printk("%s%6s: Can\'t remap device memory!\n", __cil_tmp110, __cil_tmp112);
8172 }
8173 } else {
8174
8175 }
8176#line 539
8177 goto err_free_irq;
8178 } else {
8179
8180 }
8181 }
8182 {
8183#line 543
8184 __cil_tmp113 = (unsigned long )dev;
8185#line 543
8186 __cil_tmp114 = __cil_tmp113 + 952;
8187#line 543
8188 __cil_tmp115 = *((unsigned char **)__cil_tmp114);
8189#line 543
8190 __cil_tmp116 = (unsigned long )lp;
8191#line 543
8192 __cil_tmp117 = __cil_tmp116 + 4656;
8193#line 543
8194 __cil_tmp118 = *((void **)__cil_tmp117);
8195#line 543
8196 __cil_tmp119 = (void const volatile *)__cil_tmp118;
8197#line 543
8198 __cil_tmp120 = __cil_tmp119 + 1U;
8199#line 543
8200 *__cil_tmp115 = readb(__cil_tmp120);
8201#line 545
8202 __cil_tmp121 = (unsigned long )dev;
8203#line 545
8204 __cil_tmp122 = __cil_tmp121 + 312;
8205#line 545
8206 *((unsigned long *)__cil_tmp122) = (unsigned long )ioaddr;
8207 }
8208#line 547
8209 if (arcnet_debug & 1) {
8210 {
8211#line 547
8212 __cil_tmp123 = (char *)"<4>";
8213#line 547
8214 __cil_tmp124 = (char (*)[16U])dev;
8215#line 547
8216 __cil_tmp125 = (char *)__cil_tmp124;
8217#line 547
8218 __cil_tmp126 = (unsigned long )dev;
8219#line 547
8220 __cil_tmp127 = __cil_tmp126 + 952;
8221#line 547
8222 __cil_tmp128 = *((unsigned char **)__cil_tmp127);
8223#line 547
8224 __cil_tmp129 = *__cil_tmp128;
8225#line 547
8226 __cil_tmp130 = (int )__cil_tmp129;
8227#line 547
8228 __cil_tmp131 = (unsigned long )dev;
8229#line 547
8230 __cil_tmp132 = __cil_tmp131 + 312;
8231#line 547
8232 __cil_tmp133 = *((unsigned long *)__cil_tmp132);
8233#line 547
8234 __cil_tmp134 = (unsigned long )dev;
8235#line 547
8236 __cil_tmp135 = __cil_tmp134 + 320;
8237#line 547
8238 __cil_tmp136 = *((unsigned int *)__cil_tmp135);
8239#line 547
8240 __cil_tmp137 = (unsigned long )dev;
8241#line 547
8242 __cil_tmp138 = __cil_tmp137 + 304;
8243#line 547
8244 __cil_tmp139 = *((unsigned long *)__cil_tmp138);
8245#line 547
8246 __cil_tmp140 = (unsigned long )mirror_size;
8247#line 547
8248 __cil_tmp141 = (unsigned long )dev;
8249#line 547
8250 __cil_tmp142 = __cil_tmp141 + 304;
8251#line 547
8252 __cil_tmp143 = *((unsigned long *)__cil_tmp142);
8253#line 547
8254 __cil_tmp144 = (unsigned long )dev;
8255#line 547
8256 __cil_tmp145 = __cil_tmp144 + 296;
8257#line 547
8258 __cil_tmp146 = *((unsigned long *)__cil_tmp145);
8259#line 547
8260 __cil_tmp147 = __cil_tmp146 - __cil_tmp143;
8261#line 547
8262 __cil_tmp148 = __cil_tmp147 + 1UL;
8263#line 547
8264 __cil_tmp149 = __cil_tmp148 / __cil_tmp140;
8265#line 547
8266 printk("%s%6s: COM90xx station %02Xh found at %03lXh, IRQ %d, ShMem %lXh (%ld*%xh).\n",
8267 __cil_tmp123, __cil_tmp125, __cil_tmp130, __cil_tmp133, __cil_tmp136, __cil_tmp139,
8268 __cil_tmp149, mirror_size);
8269 }
8270 } else {
8271
8272 }
8273 {
8274#line 553
8275 tmp___7 = register_netdev(dev);
8276 }
8277#line 553
8278 if (tmp___7 != 0) {
8279#line 554
8280 goto err_unmap;
8281 } else {
8282
8283 }
8284#line 556
8285 tmp___8 = numcards;
8286#line 556
8287 numcards = numcards + 1;
8288#line 556
8289 __cil_tmp150 = tmp___8 * 8UL;
8290#line 556
8291 __cil_tmp151 = (unsigned long )(cards) + __cil_tmp150;
8292#line 556
8293 *((struct net_device **)__cil_tmp151) = dev;
8294#line 557
8295 return (0);
8296 err_unmap:
8297 {
8298#line 560
8299 __cil_tmp152 = (unsigned long )lp;
8300#line 560
8301 __cil_tmp153 = __cil_tmp152 + 4656;
8302#line 560
8303 __cil_tmp154 = *((void **)__cil_tmp153);
8304#line 560
8305 __cil_tmp155 = (void volatile *)__cil_tmp154;
8306#line 560
8307 iounmap(__cil_tmp155);
8308 }
8309 err_free_irq:
8310 {
8311#line 562
8312 __cil_tmp156 = (unsigned long )dev;
8313#line 562
8314 __cil_tmp157 = __cil_tmp156 + 320;
8315#line 562
8316 __cil_tmp158 = *((unsigned int *)__cil_tmp157);
8317#line 562
8318 __cil_tmp159 = (void *)dev;
8319#line 562
8320 free_irq(__cil_tmp158, __cil_tmp159);
8321 }
8322 err_release_mem:
8323 {
8324#line 564
8325 __cil_tmp160 = (unsigned long )dev;
8326#line 564
8327 __cil_tmp161 = __cil_tmp160 + 304;
8328#line 564
8329 __cil_tmp162 = *((unsigned long *)__cil_tmp161);
8330#line 564
8331 __cil_tmp163 = (resource_size_t )__cil_tmp162;
8332#line 564
8333 __cil_tmp164 = (unsigned long )dev;
8334#line 564
8335 __cil_tmp165 = __cil_tmp164 + 304;
8336#line 564
8337 __cil_tmp166 = *((unsigned long *)__cil_tmp165);
8338#line 564
8339 __cil_tmp167 = (unsigned long )dev;
8340#line 564
8341 __cil_tmp168 = __cil_tmp167 + 296;
8342#line 564
8343 __cil_tmp169 = *((unsigned long *)__cil_tmp168);
8344#line 564
8345 __cil_tmp170 = __cil_tmp169 - __cil_tmp166;
8346#line 564
8347 __cil_tmp171 = __cil_tmp170 + 1UL;
8348#line 564
8349 __cil_tmp172 = (resource_size_t )__cil_tmp171;
8350#line 564
8351 __release_region(& iomem_resource, __cil_tmp163, __cil_tmp172);
8352 }
8353 err_free_dev:
8354 {
8355#line 566
8356 free_netdev(dev);
8357 }
8358#line 567
8359 return (-5);
8360}
8361}
8362#line 571 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
8363static void com90xx_command(struct net_device *dev , int cmd )
8364{ short ioaddr ;
8365 unsigned long __cil_tmp4 ;
8366 unsigned long __cil_tmp5 ;
8367 unsigned long __cil_tmp6 ;
8368 unsigned char __cil_tmp7 ;
8369 int __cil_tmp8 ;
8370 unsigned char __cil_tmp9 ;
8371 int __cil_tmp10 ;
8372 int __cil_tmp11 ;
8373
8374 {
8375 {
8376#line 573
8377 __cil_tmp4 = (unsigned long )dev;
8378#line 573
8379 __cil_tmp5 = __cil_tmp4 + 312;
8380#line 573
8381 __cil_tmp6 = *((unsigned long *)__cil_tmp5);
8382#line 573
8383 ioaddr = (short )__cil_tmp6;
8384#line 575
8385 __cil_tmp7 = (unsigned char )cmd;
8386#line 575
8387 __cil_tmp8 = (int )__cil_tmp7;
8388#line 575
8389 __cil_tmp9 = (unsigned char )__cil_tmp8;
8390#line 575
8391 __cil_tmp10 = (int )ioaddr;
8392#line 575
8393 __cil_tmp11 = __cil_tmp10 + 1;
8394#line 575
8395 outb(__cil_tmp9, __cil_tmp11);
8396 }
8397#line 576
8398 return;
8399}
8400}
8401#line 579 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
8402static int com90xx_status(struct net_device *dev )
8403{ short ioaddr ;
8404 unsigned char tmp ;
8405 unsigned long __cil_tmp4 ;
8406 unsigned long __cil_tmp5 ;
8407 unsigned long __cil_tmp6 ;
8408 int __cil_tmp7 ;
8409
8410 {
8411 {
8412#line 581
8413 __cil_tmp4 = (unsigned long )dev;
8414#line 581
8415 __cil_tmp5 = __cil_tmp4 + 312;
8416#line 581
8417 __cil_tmp6 = *((unsigned long *)__cil_tmp5);
8418#line 581
8419 ioaddr = (short )__cil_tmp6;
8420#line 583
8421 __cil_tmp7 = (int )ioaddr;
8422#line 583
8423 tmp = inb(__cil_tmp7);
8424 }
8425#line 583
8426 return ((int )tmp);
8427}
8428}
8429#line 587 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
8430static void com90xx_setmask(struct net_device *dev , int mask )
8431{ short ioaddr ;
8432 unsigned long __cil_tmp4 ;
8433 unsigned long __cil_tmp5 ;
8434 unsigned long __cil_tmp6 ;
8435 unsigned char __cil_tmp7 ;
8436 int __cil_tmp8 ;
8437 unsigned char __cil_tmp9 ;
8438 int __cil_tmp10 ;
8439
8440 {
8441 {
8442#line 589
8443 __cil_tmp4 = (unsigned long )dev;
8444#line 589
8445 __cil_tmp5 = __cil_tmp4 + 312;
8446#line 589
8447 __cil_tmp6 = *((unsigned long *)__cil_tmp5);
8448#line 589
8449 ioaddr = (short )__cil_tmp6;
8450#line 591
8451 __cil_tmp7 = (unsigned char )mask;
8452#line 591
8453 __cil_tmp8 = (int )__cil_tmp7;
8454#line 591
8455 __cil_tmp9 = (unsigned char )__cil_tmp8;
8456#line 591
8457 __cil_tmp10 = (int )ioaddr;
8458#line 591
8459 outb(__cil_tmp9, __cil_tmp10);
8460 }
8461#line 592
8462 return;
8463}
8464}
8465#line 603 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
8466static int com90xx_reset(struct net_device *dev , int really_reset )
8467{ struct arcnet_local *lp ;
8468 void *tmp ;
8469 short ioaddr ;
8470 unsigned char tmp___0 ;
8471 unsigned long __ms ;
8472 unsigned long tmp___1 ;
8473 unsigned char tmp___2 ;
8474 struct net_device const *__cil_tmp10 ;
8475 unsigned long __cil_tmp11 ;
8476 unsigned long __cil_tmp12 ;
8477 unsigned long __cil_tmp13 ;
8478 int __cil_tmp14 ;
8479 int __cil_tmp15 ;
8480 char *__cil_tmp16 ;
8481 char (*__cil_tmp17)[16U] ;
8482 char *__cil_tmp18 ;
8483 int __cil_tmp19 ;
8484 int __cil_tmp20 ;
8485 int __cil_tmp21 ;
8486 int __cil_tmp22 ;
8487 int __cil_tmp23 ;
8488 int __cil_tmp24 ;
8489 int __cil_tmp25 ;
8490 unsigned long __cil_tmp26 ;
8491 unsigned long __cil_tmp27 ;
8492 void *__cil_tmp28 ;
8493 void const volatile *__cil_tmp29 ;
8494 unsigned int __cil_tmp30 ;
8495 char *__cil_tmp31 ;
8496 char (*__cil_tmp32)[16U] ;
8497 char *__cil_tmp33 ;
8498 int __cil_tmp34 ;
8499 int __cil_tmp35 ;
8500
8501 {
8502 {
8503#line 605
8504 __cil_tmp10 = (struct net_device const *)dev;
8505#line 605
8506 tmp = netdev_priv(__cil_tmp10);
8507#line 605
8508 lp = (struct arcnet_local *)tmp;
8509#line 606
8510 __cil_tmp11 = (unsigned long )dev;
8511#line 606
8512 __cil_tmp12 = __cil_tmp11 + 312;
8513#line 606
8514 __cil_tmp13 = *((unsigned long *)__cil_tmp12);
8515#line 606
8516 ioaddr = (short )__cil_tmp13;
8517 }
8518 {
8519#line 608
8520 __cil_tmp14 = arcnet_debug & 4;
8521#line 608
8522 if (__cil_tmp14 != 0) {
8523 {
8524#line 608
8525 __cil_tmp15 = (int )ioaddr;
8526#line 608
8527 tmp___0 = inb(__cil_tmp15);
8528#line 608
8529 __cil_tmp16 = (char *)"<6>";
8530#line 608
8531 __cil_tmp17 = (char (*)[16U])dev;
8532#line 608
8533 __cil_tmp18 = (char *)__cil_tmp17;
8534#line 608
8535 __cil_tmp19 = (int )tmp___0;
8536#line 608
8537 printk("%s%6s: Resetting (status=%02Xh)\n", __cil_tmp16, __cil_tmp18, __cil_tmp19);
8538 }
8539 } else {
8540
8541 }
8542 }
8543#line 610
8544 if (really_reset != 0) {
8545 {
8546#line 612
8547 __cil_tmp20 = (int )ioaddr;
8548#line 612
8549 __cil_tmp21 = __cil_tmp20 + 8;
8550#line 612
8551 inb(__cil_tmp21);
8552#line 613
8553 __ms = 300UL;
8554 }
8555#line 613
8556 goto ldv_34869;
8557 ldv_34868:
8558 {
8559#line 613
8560 __const_udelay(4295000UL);
8561 }
8562 ldv_34869:
8563#line 613
8564 tmp___1 = __ms;
8565#line 613
8566 __ms = __ms - 1UL;
8567#line 613
8568 if (tmp___1 != 0UL) {
8569#line 614
8570 goto ldv_34868;
8571 } else {
8572#line 616
8573 goto ldv_34870;
8574 }
8575 ldv_34870: ;
8576 } else {
8577
8578 }
8579 {
8580#line 615
8581 __cil_tmp22 = (int )ioaddr;
8582#line 615
8583 __cil_tmp23 = __cil_tmp22 + 1;
8584#line 615
8585 outb((unsigned char)14, __cil_tmp23);
8586#line 616
8587 __cil_tmp24 = (int )ioaddr;
8588#line 616
8589 __cil_tmp25 = __cil_tmp24 + 1;
8590#line 616
8591 outb((unsigned char)22, __cil_tmp25);
8592#line 622
8593 __cil_tmp26 = (unsigned long )lp;
8594#line 622
8595 __cil_tmp27 = __cil_tmp26 + 4656;
8596#line 622
8597 __cil_tmp28 = *((void **)__cil_tmp27);
8598#line 622
8599 __cil_tmp29 = (void const volatile *)__cil_tmp28;
8600#line 622
8601 tmp___2 = readb(__cil_tmp29);
8602 }
8603 {
8604#line 622
8605 __cil_tmp30 = (unsigned int )tmp___2;
8606#line 622
8607 if (__cil_tmp30 != 209U) {
8608#line 623
8609 if (really_reset != 0) {
8610#line 624
8611 if (arcnet_debug & 1) {
8612 {
8613#line 624
8614 __cil_tmp31 = (char *)"<4>";
8615#line 624
8616 __cil_tmp32 = (char (*)[16U])dev;
8617#line 624
8618 __cil_tmp33 = (char *)__cil_tmp32;
8619#line 624
8620 printk("%s%6s: reset failed: TESTvalue not present.\n", __cil_tmp31, __cil_tmp33);
8621 }
8622 } else {
8623
8624 }
8625 } else {
8626
8627 }
8628#line 625
8629 return (1);
8630 } else {
8631
8632 }
8633 }
8634 {
8635#line 628
8636 __cil_tmp34 = (int )ioaddr;
8637#line 628
8638 __cil_tmp35 = __cil_tmp34 + 1;
8639#line 628
8640 outb((unsigned char)13, __cil_tmp35);
8641 }
8642#line 635
8643 return (0);
8644}
8645}
8646#line 638 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
8647static void com90xx_copy_to_card(struct net_device *dev , int bufnum , int offset ,
8648 void *buf , int count )
8649{ struct arcnet_local *lp ;
8650 void *tmp ;
8651 void *memaddr ;
8652 struct net_device const *__cil_tmp13 ;
8653 unsigned long __cil_tmp14 ;
8654 int __cil_tmp15 ;
8655 unsigned long __cil_tmp16 ;
8656 unsigned long __cil_tmp17 ;
8657 unsigned long __cil_tmp18 ;
8658 unsigned long __cil_tmp19 ;
8659 void *__cil_tmp20 ;
8660 void volatile *__cil_tmp21 ;
8661 void const *__cil_tmp22 ;
8662 size_t __cil_tmp23 ;
8663
8664 {
8665 {
8666#line 641
8667 __cil_tmp13 = (struct net_device const *)dev;
8668#line 641
8669 tmp = netdev_priv(__cil_tmp13);
8670#line 641
8671 lp = (struct arcnet_local *)tmp;
8672#line 642
8673 __cil_tmp14 = (unsigned long )offset;
8674#line 642
8675 __cil_tmp15 = bufnum * 512;
8676#line 642
8677 __cil_tmp16 = (unsigned long )__cil_tmp15;
8678#line 642
8679 __cil_tmp17 = __cil_tmp16 + __cil_tmp14;
8680#line 642
8681 __cil_tmp18 = (unsigned long )lp;
8682#line 642
8683 __cil_tmp19 = __cil_tmp18 + 4656;
8684#line 642
8685 __cil_tmp20 = *((void **)__cil_tmp19);
8686#line 642
8687 memaddr = __cil_tmp20 + __cil_tmp17;
8688#line 643
8689 __cil_tmp21 = (void volatile *)memaddr;
8690#line 643
8691 __cil_tmp22 = (void const *)buf;
8692#line 643
8693 __cil_tmp23 = (size_t )count;
8694#line 643
8695 memcpy_toio(__cil_tmp21, __cil_tmp22, __cil_tmp23);
8696 }
8697#line 644
8698 return;
8699}
8700}
8701#line 647 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
8702static void com90xx_copy_from_card(struct net_device *dev , int bufnum , int offset ,
8703 void *buf , int count )
8704{ struct arcnet_local *lp ;
8705 void *tmp ;
8706 void *memaddr ;
8707 struct net_device const *__cil_tmp13 ;
8708 unsigned long __cil_tmp14 ;
8709 int __cil_tmp15 ;
8710 unsigned long __cil_tmp16 ;
8711 unsigned long __cil_tmp17 ;
8712 unsigned long __cil_tmp18 ;
8713 unsigned long __cil_tmp19 ;
8714 void *__cil_tmp20 ;
8715 void const volatile *__cil_tmp21 ;
8716 size_t __cil_tmp22 ;
8717
8718 {
8719 {
8720#line 650
8721 __cil_tmp13 = (struct net_device const *)dev;
8722#line 650
8723 tmp = netdev_priv(__cil_tmp13);
8724#line 650
8725 lp = (struct arcnet_local *)tmp;
8726#line 651
8727 __cil_tmp14 = (unsigned long )offset;
8728#line 651
8729 __cil_tmp15 = bufnum * 512;
8730#line 651
8731 __cil_tmp16 = (unsigned long )__cil_tmp15;
8732#line 651
8733 __cil_tmp17 = __cil_tmp16 + __cil_tmp14;
8734#line 651
8735 __cil_tmp18 = (unsigned long )lp;
8736#line 651
8737 __cil_tmp19 = __cil_tmp18 + 4656;
8738#line 651
8739 __cil_tmp20 = *((void **)__cil_tmp19);
8740#line 651
8741 memaddr = __cil_tmp20 + __cil_tmp17;
8742#line 652
8743 __cil_tmp21 = (void const volatile *)memaddr;
8744#line 652
8745 __cil_tmp22 = (size_t )count;
8746#line 652
8747 memcpy_fromio(buf, __cil_tmp21, __cil_tmp22);
8748 }
8749#line 653
8750 return;
8751}
8752}
8753#line 658 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
8754static int com90xx_init(void)
8755{ int *__cil_tmp1 ;
8756 int __cil_tmp2 ;
8757 int *__cil_tmp3 ;
8758
8759 {
8760 {
8761#line 660
8762 __cil_tmp1 = & irq;
8763#line 660
8764 __cil_tmp2 = *__cil_tmp1;
8765#line 660
8766 if (__cil_tmp2 == 2) {
8767#line 661
8768 __cil_tmp3 = & irq;
8769#line 661
8770 *__cil_tmp3 = 9;
8771 } else {
8772
8773 }
8774 }
8775 {
8776#line 662
8777 com90xx_probe();
8778 }
8779#line 663
8780 if (numcards == 0) {
8781#line 664
8782 return (-5);
8783 } else {
8784
8785 }
8786#line 665
8787 return (0);
8788}
8789}
8790#line 668 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
8791static void com90xx_exit(void)
8792{ struct net_device *dev ;
8793 struct arcnet_local *lp ;
8794 int count ;
8795 void *tmp ;
8796 unsigned long __cil_tmp5 ;
8797 unsigned long __cil_tmp6 ;
8798 struct net_device const *__cil_tmp7 ;
8799 unsigned long __cil_tmp8 ;
8800 unsigned long __cil_tmp9 ;
8801 unsigned int __cil_tmp10 ;
8802 void *__cil_tmp11 ;
8803 unsigned long __cil_tmp12 ;
8804 unsigned long __cil_tmp13 ;
8805 void *__cil_tmp14 ;
8806 void volatile *__cil_tmp15 ;
8807 unsigned long __cil_tmp16 ;
8808 unsigned long __cil_tmp17 ;
8809 unsigned long __cil_tmp18 ;
8810 resource_size_t __cil_tmp19 ;
8811 unsigned long __cil_tmp20 ;
8812 unsigned long __cil_tmp21 ;
8813 unsigned long __cil_tmp22 ;
8814 resource_size_t __cil_tmp23 ;
8815 unsigned long __cil_tmp24 ;
8816 unsigned long __cil_tmp25 ;
8817 unsigned long __cil_tmp26 ;
8818 unsigned long __cil_tmp27 ;
8819 unsigned long __cil_tmp28 ;
8820 unsigned long __cil_tmp29 ;
8821 unsigned long __cil_tmp30 ;
8822 unsigned long __cil_tmp31 ;
8823 resource_size_t __cil_tmp32 ;
8824
8825 {
8826#line 674
8827 count = 0;
8828#line 674
8829 goto ldv_34904;
8830 ldv_34903:
8831 {
8832#line 675
8833 __cil_tmp5 = count * 8UL;
8834#line 675
8835 __cil_tmp6 = (unsigned long )(cards) + __cil_tmp5;
8836#line 675
8837 dev = *((struct net_device **)__cil_tmp6);
8838#line 676
8839 __cil_tmp7 = (struct net_device const *)dev;
8840#line 676
8841 tmp = netdev_priv(__cil_tmp7);
8842#line 676
8843 lp = (struct arcnet_local *)tmp;
8844#line 678
8845 unregister_netdev(dev);
8846#line 679
8847 __cil_tmp8 = (unsigned long )dev;
8848#line 679
8849 __cil_tmp9 = __cil_tmp8 + 320;
8850#line 679
8851 __cil_tmp10 = *((unsigned int *)__cil_tmp9);
8852#line 679
8853 __cil_tmp11 = (void *)dev;
8854#line 679
8855 free_irq(__cil_tmp10, __cil_tmp11);
8856#line 680
8857 __cil_tmp12 = (unsigned long )lp;
8858#line 680
8859 __cil_tmp13 = __cil_tmp12 + 4656;
8860#line 680
8861 __cil_tmp14 = *((void **)__cil_tmp13);
8862#line 680
8863 __cil_tmp15 = (void volatile *)__cil_tmp14;
8864#line 680
8865 iounmap(__cil_tmp15);
8866#line 681
8867 __cil_tmp16 = (unsigned long )dev;
8868#line 681
8869 __cil_tmp17 = __cil_tmp16 + 312;
8870#line 681
8871 __cil_tmp18 = *((unsigned long *)__cil_tmp17);
8872#line 681
8873 __cil_tmp19 = (resource_size_t )__cil_tmp18;
8874#line 681
8875 __release_region(& ioport_resource, __cil_tmp19, 16ULL);
8876#line 682
8877 __cil_tmp20 = (unsigned long )dev;
8878#line 682
8879 __cil_tmp21 = __cil_tmp20 + 304;
8880#line 682
8881 __cil_tmp22 = *((unsigned long *)__cil_tmp21);
8882#line 682
8883 __cil_tmp23 = (resource_size_t )__cil_tmp22;
8884#line 682
8885 __cil_tmp24 = (unsigned long )dev;
8886#line 682
8887 __cil_tmp25 = __cil_tmp24 + 304;
8888#line 682
8889 __cil_tmp26 = *((unsigned long *)__cil_tmp25);
8890#line 682
8891 __cil_tmp27 = (unsigned long )dev;
8892#line 682
8893 __cil_tmp28 = __cil_tmp27 + 296;
8894#line 682
8895 __cil_tmp29 = *((unsigned long *)__cil_tmp28);
8896#line 682
8897 __cil_tmp30 = __cil_tmp29 - __cil_tmp26;
8898#line 682
8899 __cil_tmp31 = __cil_tmp30 + 1UL;
8900#line 682
8901 __cil_tmp32 = (resource_size_t )__cil_tmp31;
8902#line 682
8903 __release_region(& iomem_resource, __cil_tmp23, __cil_tmp32);
8904#line 683
8905 free_netdev(dev);
8906#line 674
8907 count = count + 1;
8908 }
8909 ldv_34904: ;
8910#line 674
8911 if (count < numcards) {
8912#line 675
8913 goto ldv_34903;
8914 } else {
8915#line 677
8916 goto ldv_34905;
8917 }
8918 ldv_34905: ;
8919#line 679
8920 return;
8921}
8922}
8923#line 737
8924extern void ldv_check_final_state(void) ;
8925#line 743
8926extern void ldv_initialize(void) ;
8927#line 746
8928extern int __VERIFIER_nondet_int(void) ;
8929#line 749 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
8930int LDV_IN_INTERRUPT ;
8931#line 752 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
8932void main(void)
8933{ int tmp ;
8934 int tmp___0 ;
8935 int tmp___1 ;
8936
8937 {
8938 {
8939#line 764
8940 LDV_IN_INTERRUPT = 1;
8941#line 773
8942 ldv_initialize();
8943#line 802
8944 tmp = com90xx_init();
8945 }
8946#line 802
8947 if (tmp != 0) {
8948#line 803
8949 goto ldv_final;
8950 } else {
8951
8952 }
8953#line 809
8954 goto ldv_34932;
8955 ldv_34931:
8956 {
8957#line 812
8958 tmp___0 = __VERIFIER_nondet_int();
8959 }
8960 {
8961#line 814
8962 goto switch_default;
8963#line 812
8964 if (0) {
8965 switch_default: ;
8966#line 814
8967 goto ldv_34930;
8968 } else {
8969 switch_break: ;
8970 }
8971 }
8972 ldv_34930: ;
8973 ldv_34932:
8974 {
8975#line 809
8976 tmp___1 = __VERIFIER_nondet_int();
8977 }
8978#line 809
8979 if (tmp___1 != 0) {
8980#line 810
8981 goto ldv_34931;
8982 } else {
8983#line 812
8984 goto ldv_34933;
8985 }
8986 ldv_34933: ;
8987 {
8988#line 849
8989 com90xx_exit();
8990 }
8991 ldv_final:
8992 {
8993#line 856
8994 ldv_check_final_state();
8995 }
8996#line 859
8997 return;
8998}
8999}
9000#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast-assert.h"
9001void ldv_blast_assert(void)
9002{
9003
9004 {
9005 ERROR: ;
9006#line 6
9007 goto ERROR;
9008}
9009}
9010#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast.h"
9011extern int __VERIFIER_nondet_int(void) ;
9012#line 880 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9013int ldv_spin = 0;
9014#line 884 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9015void ldv_check_alloc_flags(gfp_t flags )
9016{
9017
9018 {
9019#line 887
9020 if (ldv_spin != 0) {
9021#line 887
9022 if (flags != 32U) {
9023 {
9024#line 887
9025 ldv_blast_assert();
9026 }
9027 } else {
9028
9029 }
9030 } else {
9031
9032 }
9033#line 890
9034 return;
9035}
9036}
9037#line 890
9038extern struct page *ldv_some_page(void) ;
9039#line 893 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9040struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags )
9041{ struct page *tmp ;
9042
9043 {
9044#line 896
9045 if (ldv_spin != 0) {
9046#line 896
9047 if (flags != 32U) {
9048 {
9049#line 896
9050 ldv_blast_assert();
9051 }
9052 } else {
9053
9054 }
9055 } else {
9056
9057 }
9058 {
9059#line 898
9060 tmp = ldv_some_page();
9061 }
9062#line 898
9063 return (tmp);
9064}
9065}
9066#line 902 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9067void ldv_check_alloc_nonatomic(void)
9068{
9069
9070 {
9071#line 905
9072 if (ldv_spin != 0) {
9073 {
9074#line 905
9075 ldv_blast_assert();
9076 }
9077 } else {
9078
9079 }
9080#line 908
9081 return;
9082}
9083}
9084#line 909 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9085void ldv_spin_lock(void)
9086{
9087
9088 {
9089#line 912
9090 ldv_spin = 1;
9091#line 913
9092 return;
9093}
9094}
9095#line 916 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9096void ldv_spin_unlock(void)
9097{
9098
9099 {
9100#line 919
9101 ldv_spin = 0;
9102#line 920
9103 return;
9104}
9105}
9106#line 923 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9107int ldv_spin_trylock(void)
9108{ int is_lock ;
9109
9110 {
9111 {
9112#line 928
9113 is_lock = __VERIFIER_nondet_int();
9114 }
9115#line 930
9116 if (is_lock != 0) {
9117#line 933
9118 return (0);
9119 } else {
9120#line 938
9121 ldv_spin = 1;
9122#line 940
9123 return (1);
9124 }
9125}
9126}
9127#line 1107 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9128void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 )
9129{
9130
9131 {
9132 {
9133#line 1113
9134 ldv_check_alloc_flags(ldv_func_arg2);
9135#line 1115
9136 kmem_cache_alloc(ldv_func_arg1, ldv_func_arg2);
9137 }
9138#line 1116
9139 return ((void *)0);
9140}
9141}
9142#line 1118 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9143__inline static void *kzalloc(size_t size , gfp_t flags )
9144{ void *tmp ;
9145
9146 {
9147 {
9148#line 1124
9149 ldv_check_alloc_flags(flags);
9150#line 1125
9151 tmp = __VERIFIER_nondet_pointer();
9152 }
9153#line 1125
9154 return (tmp);
9155}
9156}
9157#line 1172 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9158struct sk_buff *ldv_skb_clone_22(struct sk_buff *ldv_func_arg1 , gfp_t ldv_func_arg2 )
9159{ struct sk_buff *tmp ;
9160
9161 {
9162 {
9163#line 1178
9164 ldv_check_alloc_flags(ldv_func_arg2);
9165#line 1180
9166 tmp = skb_clone(ldv_func_arg1, ldv_func_arg2);
9167 }
9168#line 1180
9169 return (tmp);
9170}
9171}
9172#line 1194 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9173struct sk_buff *ldv_skb_copy_24(struct sk_buff const *ldv_func_arg1 , gfp_t ldv_func_arg2 )
9174{ struct sk_buff *tmp ;
9175
9176 {
9177 {
9178#line 1200
9179 ldv_check_alloc_flags(ldv_func_arg2);
9180#line 1202
9181 tmp = skb_copy(ldv_func_arg1, ldv_func_arg2);
9182 }
9183#line 1202
9184 return (tmp);
9185}
9186}
9187#line 1205 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9188struct sk_buff *ldv___netdev_alloc_skb_25(struct net_device *ldv_func_arg1 , unsigned int ldv_func_arg2 ,
9189 gfp_t ldv_func_arg3 )
9190{ struct sk_buff *tmp ;
9191
9192 {
9193 {
9194#line 1212
9195 ldv_check_alloc_flags(ldv_func_arg3);
9196#line 1214
9197 tmp = __netdev_alloc_skb(ldv_func_arg1, ldv_func_arg2, ldv_func_arg3);
9198 }
9199#line 1214
9200 return (tmp);
9201}
9202}
9203#line 1217 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9204struct sk_buff *ldv___netdev_alloc_skb_26(struct net_device *ldv_func_arg1 , unsigned int ldv_func_arg2 ,
9205 gfp_t ldv_func_arg3 )
9206{ struct sk_buff *tmp ;
9207
9208 {
9209 {
9210#line 1224
9211 ldv_check_alloc_flags(ldv_func_arg3);
9212#line 1226
9213 tmp = __netdev_alloc_skb(ldv_func_arg1, ldv_func_arg2, ldv_func_arg3);
9214 }
9215#line 1226
9216 return (tmp);
9217}
9218}
9219#line 1229 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/13850/dscv_tempdir/dscv/ri/43_1a/drivers/net/arcnet/com90xx.c.p"
9220int ldv_pskb_expand_head_27(struct sk_buff *ldv_func_arg1 , int ldv_func_arg2 , int ldv_func_arg3 ,
9221 gfp_t ldv_func_arg4 )
9222{ int tmp ;
9223
9224 {
9225 {
9226#line 1237
9227 ldv_check_alloc_flags(ldv_func_arg4);
9228#line 1239
9229 tmp = pskb_expand_head(ldv_func_arg1, ldv_func_arg2, ldv_func_arg3, ldv_func_arg4);
9230 }
9231#line 1239
9232 return (tmp);
9233}
9234}