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