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 206 "include/linux/types.h"
121typedef u64 phys_addr_t;
122#line 211 "include/linux/types.h"
123typedef phys_addr_t resource_size_t;
124#line 219 "include/linux/types.h"
125struct __anonstruct_atomic_t_7 {
126 int counter ;
127};
128#line 219 "include/linux/types.h"
129typedef struct __anonstruct_atomic_t_7 atomic_t;
130#line 224 "include/linux/types.h"
131struct __anonstruct_atomic64_t_8 {
132 long counter ;
133};
134#line 224 "include/linux/types.h"
135typedef struct __anonstruct_atomic64_t_8 atomic64_t;
136#line 229 "include/linux/types.h"
137struct list_head {
138 struct list_head *next ;
139 struct list_head *prev ;
140};
141#line 233
142struct hlist_node;
143#line 233 "include/linux/types.h"
144struct hlist_head {
145 struct hlist_node *first ;
146};
147#line 237 "include/linux/types.h"
148struct hlist_node {
149 struct hlist_node *next ;
150 struct hlist_node **pprev ;
151};
152#line 253 "include/linux/types.h"
153struct rcu_head {
154 struct rcu_head *next ;
155 void (*func)(struct rcu_head *head ) ;
156};
157#line 12 "include/linux/thread_info.h"
158struct timespec;
159#line 12
160struct timespec;
161#line 56 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
162struct module;
163#line 56
164struct module;
165#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page.h"
166struct page;
167#line 18
168struct page;
169#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
170struct task_struct;
171#line 20
172struct task_struct;
173#line 7 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
174struct task_struct;
175#line 8
176struct mm_struct;
177#line 8
178struct mm_struct;
179#line 99 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
180struct pt_regs {
181 unsigned long r15 ;
182 unsigned long r14 ;
183 unsigned long r13 ;
184 unsigned long r12 ;
185 unsigned long bp ;
186 unsigned long bx ;
187 unsigned long r11 ;
188 unsigned long r10 ;
189 unsigned long r9 ;
190 unsigned long r8 ;
191 unsigned long ax ;
192 unsigned long cx ;
193 unsigned long dx ;
194 unsigned long si ;
195 unsigned long di ;
196 unsigned long orig_ax ;
197 unsigned long ip ;
198 unsigned long cs ;
199 unsigned long flags ;
200 unsigned long sp ;
201 unsigned long ss ;
202};
203#line 146 "include/linux/init.h"
204typedef void (*ctor_fn_t)(void);
205#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
206struct __anonstruct____missing_field_name_14 {
207 unsigned int a ;
208 unsigned int b ;
209};
210#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
211struct __anonstruct____missing_field_name_15 {
212 u16 limit0 ;
213 u16 base0 ;
214 unsigned int base1 : 8 ;
215 unsigned int type : 4 ;
216 unsigned int s : 1 ;
217 unsigned int dpl : 2 ;
218 unsigned int p : 1 ;
219 unsigned int limit : 4 ;
220 unsigned int avl : 1 ;
221 unsigned int l : 1 ;
222 unsigned int d : 1 ;
223 unsigned int g : 1 ;
224 unsigned int base2 : 8 ;
225};
226#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
227union __anonunion____missing_field_name_13 {
228 struct __anonstruct____missing_field_name_14 __annonCompField5 ;
229 struct __anonstruct____missing_field_name_15 __annonCompField6 ;
230};
231#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
232struct desc_struct {
233 union __anonunion____missing_field_name_13 __annonCompField7 ;
234} __attribute__((__packed__)) ;
235#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
236typedef unsigned long pgdval_t;
237#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
238typedef unsigned long pgprotval_t;
239#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
240struct pgprot {
241 pgprotval_t pgprot ;
242};
243#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
244typedef struct pgprot pgprot_t;
245#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
246struct __anonstruct_pgd_t_19 {
247 pgdval_t pgd ;
248};
249#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
250typedef struct __anonstruct_pgd_t_19 pgd_t;
251#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
252typedef struct page *pgtable_t;
253#line 295
254struct file;
255#line 295
256struct file;
257#line 313
258struct seq_file;
259#line 313
260struct seq_file;
261#line 46 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
262struct page;
263#line 47
264struct thread_struct;
265#line 47
266struct thread_struct;
267#line 50
268struct mm_struct;
269#line 51
270struct desc_struct;
271#line 52
272struct task_struct;
273#line 53
274struct cpumask;
275#line 53
276struct cpumask;
277#line 329
278struct arch_spinlock;
279#line 329
280struct arch_spinlock;
281#line 139 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
282struct task_struct;
283#line 141 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
284struct kernel_vm86_regs {
285 struct pt_regs pt ;
286 unsigned short es ;
287 unsigned short __esh ;
288 unsigned short ds ;
289 unsigned short __dsh ;
290 unsigned short fs ;
291 unsigned short __fsh ;
292 unsigned short gs ;
293 unsigned short __gsh ;
294};
295#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
296union __anonunion____missing_field_name_23 {
297 struct pt_regs *regs ;
298 struct kernel_vm86_regs *vm86 ;
299};
300#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
301struct math_emu_info {
302 long ___orig_eip ;
303 union __anonunion____missing_field_name_23 __annonCompField8 ;
304};
305#line 9 "include/linux/dynamic_debug.h"
306struct _ddebug {
307 char const *modname ;
308 char const *function ;
309 char const *filename ;
310 char const *format ;
311 unsigned int lineno : 18 ;
312 unsigned int flags : 8 ;
313} __attribute__((__aligned__(8))) ;
314#line 47
315struct device;
316#line 47
317struct device;
318#line 53
319struct net_device;
320#line 53
321struct net_device;
322#line 135 "include/linux/kernel.h"
323struct completion;
324#line 135
325struct completion;
326#line 136
327struct pt_regs;
328#line 349
329struct pid;
330#line 349
331struct pid;
332#line 8 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/current.h"
333struct task_struct;
334#line 10 "include/asm-generic/bug.h"
335struct bug_entry {
336 int bug_addr_disp ;
337 int file_disp ;
338 unsigned short line ;
339 unsigned short flags ;
340};
341#line 12 "include/linux/bug.h"
342struct pt_regs;
343#line 14 "include/linux/cpumask.h"
344struct cpumask {
345 unsigned long bits[((4096UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
346};
347#line 14 "include/linux/cpumask.h"
348typedef struct cpumask cpumask_t;
349#line 637 "include/linux/cpumask.h"
350typedef struct cpumask *cpumask_var_t;
351#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
352struct static_key;
353#line 234
354struct static_key;
355#line 11 "include/linux/personality.h"
356struct pt_regs;
357#line 153 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
358struct seq_operations;
359#line 290 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
360struct i387_fsave_struct {
361 u32 cwd ;
362 u32 swd ;
363 u32 twd ;
364 u32 fip ;
365 u32 fcs ;
366 u32 foo ;
367 u32 fos ;
368 u32 st_space[20] ;
369 u32 status ;
370};
371#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
372struct __anonstruct____missing_field_name_31 {
373 u64 rip ;
374 u64 rdp ;
375};
376#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
377struct __anonstruct____missing_field_name_32 {
378 u32 fip ;
379 u32 fcs ;
380 u32 foo ;
381 u32 fos ;
382};
383#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
384union __anonunion____missing_field_name_30 {
385 struct __anonstruct____missing_field_name_31 __annonCompField12 ;
386 struct __anonstruct____missing_field_name_32 __annonCompField13 ;
387};
388#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
389union __anonunion____missing_field_name_33 {
390 u32 padding1[12] ;
391 u32 sw_reserved[12] ;
392};
393#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
394struct i387_fxsave_struct {
395 u16 cwd ;
396 u16 swd ;
397 u16 twd ;
398 u16 fop ;
399 union __anonunion____missing_field_name_30 __annonCompField14 ;
400 u32 mxcsr ;
401 u32 mxcsr_mask ;
402 u32 st_space[32] ;
403 u32 xmm_space[64] ;
404 u32 padding[12] ;
405 union __anonunion____missing_field_name_33 __annonCompField15 ;
406} __attribute__((__aligned__(16))) ;
407#line 341 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
408struct i387_soft_struct {
409 u32 cwd ;
410 u32 swd ;
411 u32 twd ;
412 u32 fip ;
413 u32 fcs ;
414 u32 foo ;
415 u32 fos ;
416 u32 st_space[20] ;
417 u8 ftop ;
418 u8 changed ;
419 u8 lookahead ;
420 u8 no_update ;
421 u8 rm ;
422 u8 alimit ;
423 struct math_emu_info *info ;
424 u32 entry_eip ;
425};
426#line 361 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
427struct ymmh_struct {
428 u32 ymmh_space[64] ;
429};
430#line 366 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
431struct xsave_hdr_struct {
432 u64 xstate_bv ;
433 u64 reserved1[2] ;
434 u64 reserved2[5] ;
435} __attribute__((__packed__)) ;
436#line 372 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
437struct xsave_struct {
438 struct i387_fxsave_struct i387 ;
439 struct xsave_hdr_struct xsave_hdr ;
440 struct ymmh_struct ymmh ;
441} __attribute__((__packed__, __aligned__(64))) ;
442#line 379 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
443union thread_xstate {
444 struct i387_fsave_struct fsave ;
445 struct i387_fxsave_struct fxsave ;
446 struct i387_soft_struct soft ;
447 struct xsave_struct xsave ;
448};
449#line 386 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
450struct fpu {
451 unsigned int last_cpu ;
452 unsigned int has_fpu ;
453 union thread_xstate *state ;
454};
455#line 433
456struct kmem_cache;
457#line 435
458struct perf_event;
459#line 435
460struct perf_event;
461#line 437 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
462struct thread_struct {
463 struct desc_struct tls_array[3] ;
464 unsigned long sp0 ;
465 unsigned long sp ;
466 unsigned long usersp ;
467 unsigned short es ;
468 unsigned short ds ;
469 unsigned short fsindex ;
470 unsigned short gsindex ;
471 unsigned long fs ;
472 unsigned long gs ;
473 struct perf_event *ptrace_bps[4] ;
474 unsigned long debugreg6 ;
475 unsigned long ptrace_dr7 ;
476 unsigned long cr2 ;
477 unsigned long trap_nr ;
478 unsigned long error_code ;
479 struct fpu fpu ;
480 unsigned long *io_bitmap_ptr ;
481 unsigned long iopl ;
482 unsigned int io_bitmap_max ;
483};
484#line 23 "include/asm-generic/atomic-long.h"
485typedef atomic64_t atomic_long_t;
486#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
487typedef u16 __ticket_t;
488#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
489typedef u32 __ticketpair_t;
490#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
491struct __raw_tickets {
492 __ticket_t head ;
493 __ticket_t tail ;
494};
495#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
496union __anonunion____missing_field_name_36 {
497 __ticketpair_t head_tail ;
498 struct __raw_tickets tickets ;
499};
500#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
501struct arch_spinlock {
502 union __anonunion____missing_field_name_36 __annonCompField17 ;
503};
504#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
505typedef struct arch_spinlock arch_spinlock_t;
506#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
507struct __anonstruct____missing_field_name_38 {
508 u32 read ;
509 s32 write ;
510};
511#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
512union __anonunion_arch_rwlock_t_37 {
513 s64 lock ;
514 struct __anonstruct____missing_field_name_38 __annonCompField18 ;
515};
516#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
517typedef union __anonunion_arch_rwlock_t_37 arch_rwlock_t;
518#line 12 "include/linux/lockdep.h"
519struct task_struct;
520#line 391 "include/linux/lockdep.h"
521struct lock_class_key {
522
523};
524#line 20 "include/linux/spinlock_types.h"
525struct raw_spinlock {
526 arch_spinlock_t raw_lock ;
527 unsigned int magic ;
528 unsigned int owner_cpu ;
529 void *owner ;
530};
531#line 20 "include/linux/spinlock_types.h"
532typedef struct raw_spinlock raw_spinlock_t;
533#line 64 "include/linux/spinlock_types.h"
534union __anonunion____missing_field_name_39 {
535 struct raw_spinlock rlock ;
536};
537#line 64 "include/linux/spinlock_types.h"
538struct spinlock {
539 union __anonunion____missing_field_name_39 __annonCompField19 ;
540};
541#line 64 "include/linux/spinlock_types.h"
542typedef struct spinlock spinlock_t;
543#line 11 "include/linux/rwlock_types.h"
544struct __anonstruct_rwlock_t_40 {
545 arch_rwlock_t raw_lock ;
546 unsigned int magic ;
547 unsigned int owner_cpu ;
548 void *owner ;
549};
550#line 11 "include/linux/rwlock_types.h"
551typedef struct __anonstruct_rwlock_t_40 rwlock_t;
552#line 49 "include/linux/wait.h"
553struct __wait_queue_head {
554 spinlock_t lock ;
555 struct list_head task_list ;
556};
557#line 53 "include/linux/wait.h"
558typedef struct __wait_queue_head wait_queue_head_t;
559#line 55
560struct task_struct;
561#line 33 "include/linux/seqlock.h"
562struct __anonstruct_seqlock_t_41 {
563 unsigned int sequence ;
564 spinlock_t lock ;
565};
566#line 33 "include/linux/seqlock.h"
567typedef struct __anonstruct_seqlock_t_41 seqlock_t;
568#line 119 "include/linux/seqlock.h"
569struct seqcount {
570 unsigned int sequence ;
571};
572#line 119 "include/linux/seqlock.h"
573typedef struct seqcount seqcount_t;
574#line 98 "include/linux/nodemask.h"
575struct __anonstruct_nodemask_t_42 {
576 unsigned long bits[(((unsigned long )(1 << 10) + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
577};
578#line 98 "include/linux/nodemask.h"
579typedef struct __anonstruct_nodemask_t_42 nodemask_t;
580#line 60 "include/linux/pageblock-flags.h"
581struct page;
582#line 48 "include/linux/mutex.h"
583struct mutex {
584 atomic_t count ;
585 spinlock_t wait_lock ;
586 struct list_head wait_list ;
587 struct task_struct *owner ;
588 char const *name ;
589 void *magic ;
590};
591#line 69 "include/linux/mutex.h"
592struct mutex_waiter {
593 struct list_head list ;
594 struct task_struct *task ;
595 void *magic ;
596};
597#line 19 "include/linux/rwsem.h"
598struct rw_semaphore;
599#line 19
600struct rw_semaphore;
601#line 25 "include/linux/rwsem.h"
602struct rw_semaphore {
603 long count ;
604 raw_spinlock_t wait_lock ;
605 struct list_head wait_list ;
606};
607#line 25 "include/linux/completion.h"
608struct completion {
609 unsigned int done ;
610 wait_queue_head_t wait ;
611};
612#line 188 "include/linux/rcupdate.h"
613struct notifier_block;
614#line 188
615struct notifier_block;
616#line 50 "include/linux/notifier.h"
617struct notifier_block {
618 int (*notifier_call)(struct notifier_block * , unsigned long , void * ) ;
619 struct notifier_block *next ;
620 int priority ;
621};
622#line 61 "include/linux/notifier.h"
623struct blocking_notifier_head {
624 struct rw_semaphore rwsem ;
625 struct notifier_block *head ;
626};
627#line 9 "include/linux/memory_hotplug.h"
628struct page;
629#line 798 "include/linux/mmzone.h"
630struct ctl_table;
631#line 798
632struct ctl_table;
633#line 18 "include/linux/ioport.h"
634struct resource {
635 resource_size_t start ;
636 resource_size_t end ;
637 char const *name ;
638 unsigned long flags ;
639 struct resource *parent ;
640 struct resource *sibling ;
641 struct resource *child ;
642};
643#line 202
644struct device;
645#line 182 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/x86_init.h"
646struct pci_dev;
647#line 182
648struct pci_dev;
649#line 103 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mpspec.h"
650struct device;
651#line 14 "include/linux/time.h"
652struct timespec {
653 __kernel_time_t tv_sec ;
654 long tv_nsec ;
655};
656#line 46 "include/linux/ktime.h"
657union ktime {
658 s64 tv64 ;
659};
660#line 59 "include/linux/ktime.h"
661typedef union ktime ktime_t;
662#line 10 "include/linux/timer.h"
663struct tvec_base;
664#line 10
665struct tvec_base;
666#line 12 "include/linux/timer.h"
667struct timer_list {
668 struct list_head entry ;
669 unsigned long expires ;
670 struct tvec_base *base ;
671 void (*function)(unsigned long ) ;
672 unsigned long data ;
673 int slack ;
674 int start_pid ;
675 void *start_site ;
676 char start_comm[16] ;
677};
678#line 289
679struct hrtimer;
680#line 289
681struct hrtimer;
682#line 290
683enum hrtimer_restart;
684#line 15 "include/linux/workqueue.h"
685struct workqueue_struct;
686#line 15
687struct workqueue_struct;
688#line 17
689struct work_struct;
690#line 17
691struct work_struct;
692#line 79 "include/linux/workqueue.h"
693struct work_struct {
694 atomic_long_t data ;
695 struct list_head entry ;
696 void (*func)(struct work_struct *work ) ;
697};
698#line 92 "include/linux/workqueue.h"
699struct delayed_work {
700 struct work_struct work ;
701 struct timer_list timer ;
702};
703#line 42 "include/linux/pm.h"
704struct device;
705#line 50 "include/linux/pm.h"
706struct pm_message {
707 int event ;
708};
709#line 50 "include/linux/pm.h"
710typedef struct pm_message pm_message_t;
711#line 264 "include/linux/pm.h"
712struct dev_pm_ops {
713 int (*prepare)(struct device *dev ) ;
714 void (*complete)(struct device *dev ) ;
715 int (*suspend)(struct device *dev ) ;
716 int (*resume)(struct device *dev ) ;
717 int (*freeze)(struct device *dev ) ;
718 int (*thaw)(struct device *dev ) ;
719 int (*poweroff)(struct device *dev ) ;
720 int (*restore)(struct device *dev ) ;
721 int (*suspend_late)(struct device *dev ) ;
722 int (*resume_early)(struct device *dev ) ;
723 int (*freeze_late)(struct device *dev ) ;
724 int (*thaw_early)(struct device *dev ) ;
725 int (*poweroff_late)(struct device *dev ) ;
726 int (*restore_early)(struct device *dev ) ;
727 int (*suspend_noirq)(struct device *dev ) ;
728 int (*resume_noirq)(struct device *dev ) ;
729 int (*freeze_noirq)(struct device *dev ) ;
730 int (*thaw_noirq)(struct device *dev ) ;
731 int (*poweroff_noirq)(struct device *dev ) ;
732 int (*restore_noirq)(struct device *dev ) ;
733 int (*runtime_suspend)(struct device *dev ) ;
734 int (*runtime_resume)(struct device *dev ) ;
735 int (*runtime_idle)(struct device *dev ) ;
736};
737#line 458
738enum rpm_status {
739 RPM_ACTIVE = 0,
740 RPM_RESUMING = 1,
741 RPM_SUSPENDED = 2,
742 RPM_SUSPENDING = 3
743} ;
744#line 480
745enum rpm_request {
746 RPM_REQ_NONE = 0,
747 RPM_REQ_IDLE = 1,
748 RPM_REQ_SUSPEND = 2,
749 RPM_REQ_AUTOSUSPEND = 3,
750 RPM_REQ_RESUME = 4
751} ;
752#line 488
753struct wakeup_source;
754#line 488
755struct wakeup_source;
756#line 495 "include/linux/pm.h"
757struct pm_subsys_data {
758 spinlock_t lock ;
759 unsigned int refcount ;
760};
761#line 506
762struct dev_pm_qos_request;
763#line 506
764struct pm_qos_constraints;
765#line 506 "include/linux/pm.h"
766struct dev_pm_info {
767 pm_message_t power_state ;
768 unsigned int can_wakeup : 1 ;
769 unsigned int async_suspend : 1 ;
770 bool is_prepared : 1 ;
771 bool is_suspended : 1 ;
772 bool ignore_children : 1 ;
773 spinlock_t lock ;
774 struct list_head entry ;
775 struct completion completion ;
776 struct wakeup_source *wakeup ;
777 bool wakeup_path : 1 ;
778 struct timer_list suspend_timer ;
779 unsigned long timer_expires ;
780 struct work_struct work ;
781 wait_queue_head_t wait_queue ;
782 atomic_t usage_count ;
783 atomic_t child_count ;
784 unsigned int disable_depth : 3 ;
785 unsigned int idle_notification : 1 ;
786 unsigned int request_pending : 1 ;
787 unsigned int deferred_resume : 1 ;
788 unsigned int run_wake : 1 ;
789 unsigned int runtime_auto : 1 ;
790 unsigned int no_callbacks : 1 ;
791 unsigned int irq_safe : 1 ;
792 unsigned int use_autosuspend : 1 ;
793 unsigned int timer_autosuspends : 1 ;
794 enum rpm_request request ;
795 enum rpm_status runtime_status ;
796 int runtime_error ;
797 int autosuspend_delay ;
798 unsigned long last_busy ;
799 unsigned long active_jiffies ;
800 unsigned long suspended_jiffies ;
801 unsigned long accounting_timestamp ;
802 ktime_t suspend_time ;
803 s64 max_time_suspended_ns ;
804 struct dev_pm_qos_request *pq_req ;
805 struct pm_subsys_data *subsys_data ;
806 struct pm_qos_constraints *constraints ;
807};
808#line 564 "include/linux/pm.h"
809struct dev_pm_domain {
810 struct dev_pm_ops ops ;
811};
812#line 174 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/topology.h"
813struct pci_bus;
814#line 174
815struct pci_bus;
816#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
817struct __anonstruct_mm_context_t_112 {
818 void *ldt ;
819 int size ;
820 unsigned short ia32_compat ;
821 struct mutex lock ;
822 void *vdso ;
823};
824#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
825typedef struct __anonstruct_mm_context_t_112 mm_context_t;
826#line 71 "include/asm-generic/iomap.h"
827struct pci_dev;
828#line 14 "include/asm-generic/pci_iomap.h"
829struct pci_dev;
830#line 8 "include/linux/vmalloc.h"
831struct vm_area_struct;
832#line 8
833struct vm_area_struct;
834#line 994 "include/linux/mmzone.h"
835struct page;
836#line 10 "include/linux/gfp.h"
837struct vm_area_struct;
838#line 11 "include/linux/firmware.h"
839struct firmware {
840 size_t size ;
841 u8 const *data ;
842 struct page **pages ;
843};
844#line 17
845struct module;
846#line 18
847struct device;
848#line 906 "include/linux/ieee80211.h"
849struct ieee80211_mcs_info {
850 u8 rx_mask[10] ;
851 __le16 rx_highest ;
852 u8 tx_params ;
853 u8 reserved[3] ;
854} __attribute__((__packed__)) ;
855#line 940 "include/linux/ieee80211.h"
856struct ieee80211_ht_cap {
857 __le16 cap_info ;
858 u8 ampdu_params_info ;
859 struct ieee80211_mcs_info mcs ;
860 __le16 extended_ht_cap_info ;
861 __le32 tx_BF_cap_info ;
862 u8 antenna_selection_info ;
863} __attribute__((__packed__)) ;
864#line 1015 "include/linux/ieee80211.h"
865struct ieee80211_ht_info {
866 u8 control_chan ;
867 u8 ht_param ;
868 __le16 operation_mode ;
869 __le16 stbc_param ;
870 u8 basic_set[16] ;
871} __attribute__((__packed__)) ;
872#line 1518 "include/linux/ieee80211.h"
873struct __anonstruct_chans_172 {
874 u8 first_channel ;
875 u8 num_channels ;
876 s8 max_power ;
877} __attribute__((__packed__)) ;
878#line 1518 "include/linux/ieee80211.h"
879struct __anonstruct_ext_173 {
880 u8 reg_extension_id ;
881 u8 reg_class ;
882 u8 coverage_class ;
883} __attribute__((__packed__)) ;
884#line 1518 "include/linux/ieee80211.h"
885union __anonunion____missing_field_name_171 {
886 struct __anonstruct_chans_172 chans ;
887 struct __anonstruct_ext_173 ext ;
888};
889#line 1518 "include/linux/ieee80211.h"
890struct ieee80211_country_ie_triplet {
891 union __anonunion____missing_field_name_171 __annonCompField30 ;
892} __attribute__((__packed__)) ;
893#line 72 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/decl.h"
894enum mwifiex_bss_role {
895 MWIFIEX_BSS_ROLE_STA = 0,
896 MWIFIEX_BSS_ROLE_UAP = 1,
897 MWIFIEX_BSS_ROLE_ANY = 255
898} ;
899#line 87 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/decl.h"
900struct mwifiex_fw_image {
901 u8 *helper_buf ;
902 u32 helper_len ;
903 u8 *fw_buf ;
904 u32 fw_len ;
905};
906#line 94 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/decl.h"
907struct mwifiex_wait_queue {
908 wait_queue_head_t wait ;
909 int status ;
910};
911#line 99
912struct sk_buff;
913#line 113
914enum mwifiex_wmm_ac_e {
915 WMM_AC_BK = 0,
916 WMM_AC_BE = 1,
917 WMM_AC_VI = 2,
918 WMM_AC_VO = 3
919} __attribute__((__packed__)) ;
920#line 127 "include/linux/if_ether.h"
921struct ethhdr {
922 unsigned char h_dest[6] ;
923 unsigned char h_source[6] ;
924 __be16 h_proto ;
925} __attribute__((__packed__)) ;
926#line 14 "include/linux/prio_tree.h"
927struct prio_tree_node;
928#line 14 "include/linux/prio_tree.h"
929struct raw_prio_tree_node {
930 struct prio_tree_node *left ;
931 struct prio_tree_node *right ;
932 struct prio_tree_node *parent ;
933};
934#line 20 "include/linux/prio_tree.h"
935struct prio_tree_node {
936 struct prio_tree_node *left ;
937 struct prio_tree_node *right ;
938 struct prio_tree_node *parent ;
939 unsigned long start ;
940 unsigned long last ;
941};
942#line 28 "include/linux/prio_tree.h"
943struct prio_tree_root {
944 struct prio_tree_node *prio_tree_node ;
945 unsigned short index_bits ;
946 unsigned short raw ;
947};
948#line 100 "include/linux/rbtree.h"
949struct rb_node {
950 unsigned long rb_parent_color ;
951 struct rb_node *rb_right ;
952 struct rb_node *rb_left ;
953} __attribute__((__aligned__(sizeof(long )))) ;
954#line 110 "include/linux/rbtree.h"
955struct rb_root {
956 struct rb_node *rb_node ;
957};
958#line 23 "include/linux/mm_types.h"
959struct address_space;
960#line 23
961struct address_space;
962#line 40 "include/linux/mm_types.h"
963union __anonunion____missing_field_name_175 {
964 unsigned long index ;
965 void *freelist ;
966};
967#line 40 "include/linux/mm_types.h"
968struct __anonstruct____missing_field_name_179 {
969 unsigned int inuse : 16 ;
970 unsigned int objects : 15 ;
971 unsigned int frozen : 1 ;
972};
973#line 40 "include/linux/mm_types.h"
974union __anonunion____missing_field_name_178 {
975 atomic_t _mapcount ;
976 struct __anonstruct____missing_field_name_179 __annonCompField32 ;
977};
978#line 40 "include/linux/mm_types.h"
979struct __anonstruct____missing_field_name_177 {
980 union __anonunion____missing_field_name_178 __annonCompField33 ;
981 atomic_t _count ;
982};
983#line 40 "include/linux/mm_types.h"
984union __anonunion____missing_field_name_176 {
985 unsigned long counters ;
986 struct __anonstruct____missing_field_name_177 __annonCompField34 ;
987};
988#line 40 "include/linux/mm_types.h"
989struct __anonstruct____missing_field_name_174 {
990 union __anonunion____missing_field_name_175 __annonCompField31 ;
991 union __anonunion____missing_field_name_176 __annonCompField35 ;
992};
993#line 40 "include/linux/mm_types.h"
994struct __anonstruct____missing_field_name_181 {
995 struct page *next ;
996 int pages ;
997 int pobjects ;
998};
999#line 40 "include/linux/mm_types.h"
1000union __anonunion____missing_field_name_180 {
1001 struct list_head lru ;
1002 struct __anonstruct____missing_field_name_181 __annonCompField37 ;
1003};
1004#line 40 "include/linux/mm_types.h"
1005union __anonunion____missing_field_name_182 {
1006 unsigned long private ;
1007 struct kmem_cache *slab ;
1008 struct page *first_page ;
1009};
1010#line 40 "include/linux/mm_types.h"
1011struct page {
1012 unsigned long flags ;
1013 struct address_space *mapping ;
1014 struct __anonstruct____missing_field_name_174 __annonCompField36 ;
1015 union __anonunion____missing_field_name_180 __annonCompField38 ;
1016 union __anonunion____missing_field_name_182 __annonCompField39 ;
1017 unsigned long debug_flags ;
1018} __attribute__((__aligned__((2) * (sizeof(unsigned long )) ))) ;
1019#line 200 "include/linux/mm_types.h"
1020struct __anonstruct_vm_set_184 {
1021 struct list_head list ;
1022 void *parent ;
1023 struct vm_area_struct *head ;
1024};
1025#line 200 "include/linux/mm_types.h"
1026union __anonunion_shared_183 {
1027 struct __anonstruct_vm_set_184 vm_set ;
1028 struct raw_prio_tree_node prio_tree_node ;
1029};
1030#line 200
1031struct anon_vma;
1032#line 200
1033struct vm_operations_struct;
1034#line 200
1035struct mempolicy;
1036#line 200 "include/linux/mm_types.h"
1037struct vm_area_struct {
1038 struct mm_struct *vm_mm ;
1039 unsigned long vm_start ;
1040 unsigned long vm_end ;
1041 struct vm_area_struct *vm_next ;
1042 struct vm_area_struct *vm_prev ;
1043 pgprot_t vm_page_prot ;
1044 unsigned long vm_flags ;
1045 struct rb_node vm_rb ;
1046 union __anonunion_shared_183 shared ;
1047 struct list_head anon_vma_chain ;
1048 struct anon_vma *anon_vma ;
1049 struct vm_operations_struct const *vm_ops ;
1050 unsigned long vm_pgoff ;
1051 struct file *vm_file ;
1052 void *vm_private_data ;
1053 struct mempolicy *vm_policy ;
1054};
1055#line 257 "include/linux/mm_types.h"
1056struct core_thread {
1057 struct task_struct *task ;
1058 struct core_thread *next ;
1059};
1060#line 262 "include/linux/mm_types.h"
1061struct core_state {
1062 atomic_t nr_threads ;
1063 struct core_thread dumper ;
1064 struct completion startup ;
1065};
1066#line 284 "include/linux/mm_types.h"
1067struct mm_rss_stat {
1068 atomic_long_t count[3] ;
1069};
1070#line 288
1071struct linux_binfmt;
1072#line 288
1073struct mmu_notifier_mm;
1074#line 288 "include/linux/mm_types.h"
1075struct mm_struct {
1076 struct vm_area_struct *mmap ;
1077 struct rb_root mm_rb ;
1078 struct vm_area_struct *mmap_cache ;
1079 unsigned long (*get_unmapped_area)(struct file *filp , unsigned long addr , unsigned long len ,
1080 unsigned long pgoff , unsigned long flags ) ;
1081 void (*unmap_area)(struct mm_struct *mm , unsigned long addr ) ;
1082 unsigned long mmap_base ;
1083 unsigned long task_size ;
1084 unsigned long cached_hole_size ;
1085 unsigned long free_area_cache ;
1086 pgd_t *pgd ;
1087 atomic_t mm_users ;
1088 atomic_t mm_count ;
1089 int map_count ;
1090 spinlock_t page_table_lock ;
1091 struct rw_semaphore mmap_sem ;
1092 struct list_head mmlist ;
1093 unsigned long hiwater_rss ;
1094 unsigned long hiwater_vm ;
1095 unsigned long total_vm ;
1096 unsigned long locked_vm ;
1097 unsigned long pinned_vm ;
1098 unsigned long shared_vm ;
1099 unsigned long exec_vm ;
1100 unsigned long stack_vm ;
1101 unsigned long reserved_vm ;
1102 unsigned long def_flags ;
1103 unsigned long nr_ptes ;
1104 unsigned long start_code ;
1105 unsigned long end_code ;
1106 unsigned long start_data ;
1107 unsigned long end_data ;
1108 unsigned long start_brk ;
1109 unsigned long brk ;
1110 unsigned long start_stack ;
1111 unsigned long arg_start ;
1112 unsigned long arg_end ;
1113 unsigned long env_start ;
1114 unsigned long env_end ;
1115 unsigned long saved_auxv[44] ;
1116 struct mm_rss_stat rss_stat ;
1117 struct linux_binfmt *binfmt ;
1118 cpumask_var_t cpu_vm_mask_var ;
1119 mm_context_t context ;
1120 unsigned int faultstamp ;
1121 unsigned int token_priority ;
1122 unsigned int last_interval ;
1123 unsigned long flags ;
1124 struct core_state *core_state ;
1125 spinlock_t ioctx_lock ;
1126 struct hlist_head ioctx_list ;
1127 struct task_struct *owner ;
1128 struct file *exe_file ;
1129 unsigned long num_exe_file_vmas ;
1130 struct mmu_notifier_mm *mmu_notifier_mm ;
1131 pgtable_t pmd_huge_pte ;
1132 struct cpumask cpumask_allocation ;
1133};
1134#line 11 "include/linux/socket.h"
1135typedef unsigned short __kernel_sa_family_t;
1136#line 13
1137struct sockaddr;
1138#line 16 "include/linux/uio.h"
1139struct iovec {
1140 void *iov_base ;
1141 __kernel_size_t iov_len ;
1142};
1143#line 29 "include/linux/socket.h"
1144struct pid;
1145#line 30
1146struct cred;
1147#line 30
1148struct cred;
1149#line 36
1150struct seq_file;
1151#line 40 "include/linux/socket.h"
1152typedef __kernel_sa_family_t sa_family_t;
1153#line 46 "include/linux/socket.h"
1154struct sockaddr {
1155 sa_family_t sa_family ;
1156 char sa_data[14] ;
1157};
1158#line 64 "include/linux/socket.h"
1159struct msghdr {
1160 void *msg_name ;
1161 int msg_namelen ;
1162 struct iovec *msg_iov ;
1163 __kernel_size_t msg_iovlen ;
1164 void *msg_control ;
1165 __kernel_size_t msg_controllen ;
1166 unsigned int msg_flags ;
1167};
1168#line 336
1169struct timespec;
1170#line 47 "include/linux/net.h"
1171enum __anonenum_socket_state_186 {
1172 SS_FREE = 0,
1173 SS_UNCONNECTED = 1,
1174 SS_CONNECTING = 2,
1175 SS_CONNECTED = 3,
1176 SS_DISCONNECTING = 4
1177} ;
1178#line 47 "include/linux/net.h"
1179typedef enum __anonenum_socket_state_186 socket_state;
1180#line 65
1181struct poll_table_struct;
1182#line 65
1183struct poll_table_struct;
1184#line 66
1185struct pipe_inode_info;
1186#line 66
1187struct pipe_inode_info;
1188#line 67
1189struct inode;
1190#line 67
1191struct inode;
1192#line 68
1193struct net;
1194#line 68
1195struct net;
1196#line 121
1197struct fasync_struct;
1198#line 121 "include/linux/net.h"
1199struct socket_wq {
1200 wait_queue_head_t wait ;
1201 struct fasync_struct *fasync_list ;
1202 struct rcu_head rcu ;
1203} __attribute__((__aligned__((1) << (6) ))) ;
1204#line 138
1205struct sock;
1206#line 138
1207struct proto_ops;
1208#line 138 "include/linux/net.h"
1209struct socket {
1210 socket_state state ;
1211 short type ;
1212 unsigned long flags ;
1213 struct socket_wq *wq ;
1214 struct file *file ;
1215 struct sock *sk ;
1216 struct proto_ops const *ops ;
1217};
1218#line 154
1219struct vm_area_struct;
1220#line 155
1221struct page;
1222#line 156
1223struct kiocb;
1224#line 156
1225struct kiocb;
1226#line 157
1227struct sockaddr;
1228#line 158
1229struct msghdr;
1230#line 159
1231struct module;
1232#line 161 "include/linux/net.h"
1233struct proto_ops {
1234 int family ;
1235 struct module *owner ;
1236 int (*release)(struct socket *sock ) ;
1237 int (*bind)(struct socket *sock , struct sockaddr *myaddr , int sockaddr_len ) ;
1238 int (*connect)(struct socket *sock , struct sockaddr *vaddr , int sockaddr_len ,
1239 int flags ) ;
1240 int (*socketpair)(struct socket *sock1 , struct socket *sock2 ) ;
1241 int (*accept)(struct socket *sock , struct socket *newsock , int flags ) ;
1242 int (*getname)(struct socket *sock , struct sockaddr *addr , int *sockaddr_len ,
1243 int peer ) ;
1244 unsigned int (*poll)(struct file *file , struct socket *sock , struct poll_table_struct *wait ) ;
1245 int (*ioctl)(struct socket *sock , unsigned int cmd , unsigned long arg ) ;
1246 int (*compat_ioctl)(struct socket *sock , unsigned int cmd , unsigned long arg ) ;
1247 int (*listen)(struct socket *sock , int len ) ;
1248 int (*shutdown)(struct socket *sock , int flags ) ;
1249 int (*setsockopt)(struct socket *sock , int level , int optname , char *optval ,
1250 unsigned int optlen ) ;
1251 int (*getsockopt)(struct socket *sock , int level , int optname , char *optval ,
1252 int *optlen ) ;
1253 int (*compat_setsockopt)(struct socket *sock , int level , int optname , char *optval ,
1254 unsigned int optlen ) ;
1255 int (*compat_getsockopt)(struct socket *sock , int level , int optname , char *optval ,
1256 int *optlen ) ;
1257 int (*sendmsg)(struct kiocb *iocb , struct socket *sock , struct msghdr *m , size_t total_len ) ;
1258 int (*recvmsg)(struct kiocb *iocb , struct socket *sock , struct msghdr *m , size_t total_len ,
1259 int flags ) ;
1260 int (*mmap)(struct file *file , struct socket *sock , struct vm_area_struct *vma ) ;
1261 ssize_t (*sendpage)(struct socket *sock , struct page *page , int offset , size_t size ,
1262 int flags ) ;
1263 ssize_t (*splice_read)(struct socket *sock , loff_t *ppos , struct pipe_inode_info *pipe ,
1264 size_t len , unsigned int flags ) ;
1265 void (*set_peek_off)(struct sock *sk , int val ) ;
1266};
1267#line 222
1268struct iovec;
1269#line 20 "include/linux/kobject_ns.h"
1270struct sock;
1271#line 21
1272struct kobject;
1273#line 21
1274struct kobject;
1275#line 27
1276enum kobj_ns_type {
1277 KOBJ_NS_TYPE_NONE = 0,
1278 KOBJ_NS_TYPE_NET = 1,
1279 KOBJ_NS_TYPES = 2
1280} ;
1281#line 40 "include/linux/kobject_ns.h"
1282struct kobj_ns_type_operations {
1283 enum kobj_ns_type type ;
1284 void *(*grab_current_ns)(void) ;
1285 void const *(*netlink_ns)(struct sock *sk ) ;
1286 void const *(*initial_ns)(void) ;
1287 void (*drop_ns)(void * ) ;
1288};
1289#line 22 "include/linux/sysfs.h"
1290struct kobject;
1291#line 23
1292struct module;
1293#line 24
1294enum kobj_ns_type;
1295#line 26 "include/linux/sysfs.h"
1296struct attribute {
1297 char const *name ;
1298 umode_t mode ;
1299};
1300#line 56 "include/linux/sysfs.h"
1301struct attribute_group {
1302 char const *name ;
1303 umode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
1304 struct attribute **attrs ;
1305};
1306#line 85
1307struct file;
1308#line 86
1309struct vm_area_struct;
1310#line 88 "include/linux/sysfs.h"
1311struct bin_attribute {
1312 struct attribute attr ;
1313 size_t size ;
1314 void *private ;
1315 ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1316 loff_t , size_t ) ;
1317 ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1318 loff_t , size_t ) ;
1319 int (*mmap)(struct file * , struct kobject * , struct bin_attribute *attr , struct vm_area_struct *vma ) ;
1320};
1321#line 112 "include/linux/sysfs.h"
1322struct sysfs_ops {
1323 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
1324 ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ;
1325 void const *(*namespace)(struct kobject * , struct attribute const * ) ;
1326};
1327#line 118
1328struct sysfs_dirent;
1329#line 118
1330struct sysfs_dirent;
1331#line 22 "include/linux/kref.h"
1332struct kref {
1333 atomic_t refcount ;
1334};
1335#line 60 "include/linux/kobject.h"
1336struct kset;
1337#line 60
1338struct kobj_type;
1339#line 60 "include/linux/kobject.h"
1340struct kobject {
1341 char const *name ;
1342 struct list_head entry ;
1343 struct kobject *parent ;
1344 struct kset *kset ;
1345 struct kobj_type *ktype ;
1346 struct sysfs_dirent *sd ;
1347 struct kref kref ;
1348 unsigned int state_initialized : 1 ;
1349 unsigned int state_in_sysfs : 1 ;
1350 unsigned int state_add_uevent_sent : 1 ;
1351 unsigned int state_remove_uevent_sent : 1 ;
1352 unsigned int uevent_suppress : 1 ;
1353};
1354#line 108 "include/linux/kobject.h"
1355struct kobj_type {
1356 void (*release)(struct kobject *kobj ) ;
1357 struct sysfs_ops const *sysfs_ops ;
1358 struct attribute **default_attrs ;
1359 struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject *kobj ) ;
1360 void const *(*namespace)(struct kobject *kobj ) ;
1361};
1362#line 116 "include/linux/kobject.h"
1363struct kobj_uevent_env {
1364 char *envp[32] ;
1365 int envp_idx ;
1366 char buf[2048] ;
1367 int buflen ;
1368};
1369#line 123 "include/linux/kobject.h"
1370struct kset_uevent_ops {
1371 int (* const filter)(struct kset *kset , struct kobject *kobj ) ;
1372 char const *(* const name)(struct kset *kset , struct kobject *kobj ) ;
1373 int (* const uevent)(struct kset *kset , struct kobject *kobj , struct kobj_uevent_env *env ) ;
1374};
1375#line 140
1376struct sock;
1377#line 159 "include/linux/kobject.h"
1378struct kset {
1379 struct list_head list ;
1380 spinlock_t list_lock ;
1381 struct kobject kobj ;
1382 struct kset_uevent_ops const *uevent_ops ;
1383};
1384#line 46 "include/linux/slub_def.h"
1385struct kmem_cache_cpu {
1386 void **freelist ;
1387 unsigned long tid ;
1388 struct page *page ;
1389 struct page *partial ;
1390 int node ;
1391 unsigned int stat[26] ;
1392};
1393#line 57 "include/linux/slub_def.h"
1394struct kmem_cache_node {
1395 spinlock_t list_lock ;
1396 unsigned long nr_partial ;
1397 struct list_head partial ;
1398 atomic_long_t nr_slabs ;
1399 atomic_long_t total_objects ;
1400 struct list_head full ;
1401};
1402#line 73 "include/linux/slub_def.h"
1403struct kmem_cache_order_objects {
1404 unsigned long x ;
1405};
1406#line 80 "include/linux/slub_def.h"
1407struct kmem_cache {
1408 struct kmem_cache_cpu *cpu_slab ;
1409 unsigned long flags ;
1410 unsigned long min_partial ;
1411 int size ;
1412 int objsize ;
1413 int offset ;
1414 int cpu_partial ;
1415 struct kmem_cache_order_objects oo ;
1416 struct kmem_cache_order_objects max ;
1417 struct kmem_cache_order_objects min ;
1418 gfp_t allocflags ;
1419 int refcount ;
1420 void (*ctor)(void * ) ;
1421 int inuse ;
1422 int align ;
1423 int reserved ;
1424 char const *name ;
1425 struct list_head list ;
1426 struct kobject kobj ;
1427 int remote_node_defrag_ratio ;
1428 struct kmem_cache_node *node[1 << 10] ;
1429};
1430#line 10 "include/linux/textsearch.h"
1431struct module;
1432#line 94 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess.h"
1433struct exception_table_entry {
1434 unsigned long insn ;
1435 unsigned long fixup ;
1436};
1437#line 109 "include/net/checksum.h"
1438struct sk_buff;
1439#line 19 "include/linux/klist.h"
1440struct klist_node;
1441#line 19
1442struct klist_node;
1443#line 39 "include/linux/klist.h"
1444struct klist_node {
1445 void *n_klist ;
1446 struct list_head n_node ;
1447 struct kref n_ref ;
1448};
1449#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1450struct dma_map_ops;
1451#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1452struct dev_archdata {
1453 void *acpi_handle ;
1454 struct dma_map_ops *dma_ops ;
1455 void *iommu ;
1456};
1457#line 28 "include/linux/device.h"
1458struct device;
1459#line 29
1460struct device_private;
1461#line 29
1462struct device_private;
1463#line 30
1464struct device_driver;
1465#line 30
1466struct device_driver;
1467#line 31
1468struct driver_private;
1469#line 31
1470struct driver_private;
1471#line 32
1472struct module;
1473#line 33
1474struct class;
1475#line 33
1476struct class;
1477#line 34
1478struct subsys_private;
1479#line 34
1480struct subsys_private;
1481#line 35
1482struct bus_type;
1483#line 35
1484struct bus_type;
1485#line 36
1486struct device_node;
1487#line 36
1488struct device_node;
1489#line 37
1490struct iommu_ops;
1491#line 37
1492struct iommu_ops;
1493#line 39 "include/linux/device.h"
1494struct bus_attribute {
1495 struct attribute attr ;
1496 ssize_t (*show)(struct bus_type *bus , char *buf ) ;
1497 ssize_t (*store)(struct bus_type *bus , char const *buf , size_t count ) ;
1498};
1499#line 89
1500struct device_attribute;
1501#line 89
1502struct driver_attribute;
1503#line 89 "include/linux/device.h"
1504struct bus_type {
1505 char const *name ;
1506 char const *dev_name ;
1507 struct device *dev_root ;
1508 struct bus_attribute *bus_attrs ;
1509 struct device_attribute *dev_attrs ;
1510 struct driver_attribute *drv_attrs ;
1511 int (*match)(struct device *dev , struct device_driver *drv ) ;
1512 int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
1513 int (*probe)(struct device *dev ) ;
1514 int (*remove)(struct device *dev ) ;
1515 void (*shutdown)(struct device *dev ) ;
1516 int (*suspend)(struct device *dev , pm_message_t state ) ;
1517 int (*resume)(struct device *dev ) ;
1518 struct dev_pm_ops const *pm ;
1519 struct iommu_ops *iommu_ops ;
1520 struct subsys_private *p ;
1521};
1522#line 127
1523struct device_type;
1524#line 159
1525struct notifier_block;
1526#line 214
1527struct of_device_id;
1528#line 214 "include/linux/device.h"
1529struct device_driver {
1530 char const *name ;
1531 struct bus_type *bus ;
1532 struct module *owner ;
1533 char const *mod_name ;
1534 bool suppress_bind_attrs ;
1535 struct of_device_id const *of_match_table ;
1536 int (*probe)(struct device *dev ) ;
1537 int (*remove)(struct device *dev ) ;
1538 void (*shutdown)(struct device *dev ) ;
1539 int (*suspend)(struct device *dev , pm_message_t state ) ;
1540 int (*resume)(struct device *dev ) ;
1541 struct attribute_group const **groups ;
1542 struct dev_pm_ops const *pm ;
1543 struct driver_private *p ;
1544};
1545#line 249 "include/linux/device.h"
1546struct driver_attribute {
1547 struct attribute attr ;
1548 ssize_t (*show)(struct device_driver *driver , char *buf ) ;
1549 ssize_t (*store)(struct device_driver *driver , char const *buf , size_t count ) ;
1550};
1551#line 330
1552struct class_attribute;
1553#line 330 "include/linux/device.h"
1554struct class {
1555 char const *name ;
1556 struct module *owner ;
1557 struct class_attribute *class_attrs ;
1558 struct device_attribute *dev_attrs ;
1559 struct bin_attribute *dev_bin_attrs ;
1560 struct kobject *dev_kobj ;
1561 int (*dev_uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
1562 char *(*devnode)(struct device *dev , umode_t *mode ) ;
1563 void (*class_release)(struct class *class ) ;
1564 void (*dev_release)(struct device *dev ) ;
1565 int (*suspend)(struct device *dev , pm_message_t state ) ;
1566 int (*resume)(struct device *dev ) ;
1567 struct kobj_ns_type_operations const *ns_type ;
1568 void const *(*namespace)(struct device *dev ) ;
1569 struct dev_pm_ops const *pm ;
1570 struct subsys_private *p ;
1571};
1572#line 397 "include/linux/device.h"
1573struct class_attribute {
1574 struct attribute attr ;
1575 ssize_t (*show)(struct class *class , struct class_attribute *attr , char *buf ) ;
1576 ssize_t (*store)(struct class *class , struct class_attribute *attr , char const *buf ,
1577 size_t count ) ;
1578 void const *(*namespace)(struct class *class , struct class_attribute const *attr ) ;
1579};
1580#line 465 "include/linux/device.h"
1581struct device_type {
1582 char const *name ;
1583 struct attribute_group const **groups ;
1584 int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
1585 char *(*devnode)(struct device *dev , umode_t *mode ) ;
1586 void (*release)(struct device *dev ) ;
1587 struct dev_pm_ops const *pm ;
1588};
1589#line 476 "include/linux/device.h"
1590struct device_attribute {
1591 struct attribute attr ;
1592 ssize_t (*show)(struct device *dev , struct device_attribute *attr , char *buf ) ;
1593 ssize_t (*store)(struct device *dev , struct device_attribute *attr , char const *buf ,
1594 size_t count ) ;
1595};
1596#line 559 "include/linux/device.h"
1597struct device_dma_parameters {
1598 unsigned int max_segment_size ;
1599 unsigned long segment_boundary_mask ;
1600};
1601#line 627
1602struct dma_coherent_mem;
1603#line 627 "include/linux/device.h"
1604struct device {
1605 struct device *parent ;
1606 struct device_private *p ;
1607 struct kobject kobj ;
1608 char const *init_name ;
1609 struct device_type const *type ;
1610 struct mutex mutex ;
1611 struct bus_type *bus ;
1612 struct device_driver *driver ;
1613 void *platform_data ;
1614 struct dev_pm_info power ;
1615 struct dev_pm_domain *pm_domain ;
1616 int numa_node ;
1617 u64 *dma_mask ;
1618 u64 coherent_dma_mask ;
1619 struct device_dma_parameters *dma_parms ;
1620 struct list_head dma_pools ;
1621 struct dma_coherent_mem *dma_mem ;
1622 struct dev_archdata archdata ;
1623 struct device_node *of_node ;
1624 dev_t devt ;
1625 u32 id ;
1626 spinlock_t devres_lock ;
1627 struct list_head devres_head ;
1628 struct klist_node knode_class ;
1629 struct class *class ;
1630 struct attribute_group const **groups ;
1631 void (*release)(struct device *dev ) ;
1632};
1633#line 43 "include/linux/pm_wakeup.h"
1634struct wakeup_source {
1635 char const *name ;
1636 struct list_head entry ;
1637 spinlock_t lock ;
1638 struct timer_list timer ;
1639 unsigned long timer_expires ;
1640 ktime_t total_time ;
1641 ktime_t max_time ;
1642 ktime_t last_time ;
1643 unsigned long event_count ;
1644 unsigned long active_count ;
1645 unsigned long relax_count ;
1646 unsigned long hit_count ;
1647 unsigned int active : 1 ;
1648};
1649#line 8 "include/linux/debug_locks.h"
1650struct task_struct;
1651#line 48
1652struct task_struct;
1653#line 8 "include/linux/shrinker.h"
1654struct shrink_control {
1655 gfp_t gfp_mask ;
1656 unsigned long nr_to_scan ;
1657};
1658#line 31 "include/linux/shrinker.h"
1659struct shrinker {
1660 int (*shrink)(struct shrinker * , struct shrink_control *sc ) ;
1661 int seeks ;
1662 long batch ;
1663 struct list_head list ;
1664 atomic_long_t nr_in_batch ;
1665};
1666#line 22 "include/linux/mm.h"
1667struct mempolicy;
1668#line 23
1669struct anon_vma;
1670#line 24
1671struct file_ra_state;
1672#line 24
1673struct file_ra_state;
1674#line 25
1675struct user_struct;
1676#line 25
1677struct user_struct;
1678#line 26
1679struct writeback_control;
1680#line 26
1681struct writeback_control;
1682#line 41 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64.h"
1683struct mm_struct;
1684#line 656 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable.h"
1685struct vm_area_struct;
1686#line 188 "include/linux/mm.h"
1687struct vm_fault {
1688 unsigned int flags ;
1689 unsigned long pgoff ;
1690 void *virtual_address ;
1691 struct page *page ;
1692};
1693#line 205 "include/linux/mm.h"
1694struct vm_operations_struct {
1695 void (*open)(struct vm_area_struct *area ) ;
1696 void (*close)(struct vm_area_struct *area ) ;
1697 int (*fault)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
1698 int (*page_mkwrite)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
1699 int (*access)(struct vm_area_struct *vma , unsigned long addr , void *buf , int len ,
1700 int write ) ;
1701 int (*set_policy)(struct vm_area_struct *vma , struct mempolicy *new ) ;
1702 struct mempolicy *(*get_policy)(struct vm_area_struct *vma , unsigned long addr ) ;
1703 int (*migrate)(struct vm_area_struct *vma , nodemask_t const *from , nodemask_t const *to ,
1704 unsigned long flags ) ;
1705};
1706#line 247
1707struct inode;
1708#line 195 "include/linux/page-flags.h"
1709struct page;
1710#line 6 "include/asm-generic/scatterlist.h"
1711struct scatterlist {
1712 unsigned long sg_magic ;
1713 unsigned long page_link ;
1714 unsigned int offset ;
1715 unsigned int length ;
1716 dma_addr_t dma_address ;
1717 unsigned int dma_length ;
1718};
1719#line 37 "include/linux/dmaengine.h"
1720typedef s32 dma_cookie_t;
1721#line 8 "include/linux/timerqueue.h"
1722struct timerqueue_node {
1723 struct rb_node node ;
1724 ktime_t expires ;
1725};
1726#line 13 "include/linux/timerqueue.h"
1727struct timerqueue_head {
1728 struct rb_root head ;
1729 struct timerqueue_node *next ;
1730};
1731#line 27 "include/linux/hrtimer.h"
1732struct hrtimer_clock_base;
1733#line 27
1734struct hrtimer_clock_base;
1735#line 28
1736struct hrtimer_cpu_base;
1737#line 28
1738struct hrtimer_cpu_base;
1739#line 44
1740enum hrtimer_restart {
1741 HRTIMER_NORESTART = 0,
1742 HRTIMER_RESTART = 1
1743} ;
1744#line 108 "include/linux/hrtimer.h"
1745struct hrtimer {
1746 struct timerqueue_node node ;
1747 ktime_t _softexpires ;
1748 enum hrtimer_restart (*function)(struct hrtimer * ) ;
1749 struct hrtimer_clock_base *base ;
1750 unsigned long state ;
1751 int start_pid ;
1752 void *start_site ;
1753 char start_comm[16] ;
1754};
1755#line 145 "include/linux/hrtimer.h"
1756struct hrtimer_clock_base {
1757 struct hrtimer_cpu_base *cpu_base ;
1758 int index ;
1759 clockid_t clockid ;
1760 struct timerqueue_head active ;
1761 ktime_t resolution ;
1762 ktime_t (*get_time)(void) ;
1763 ktime_t softirq_time ;
1764 ktime_t offset ;
1765};
1766#line 178 "include/linux/hrtimer.h"
1767struct hrtimer_cpu_base {
1768 raw_spinlock_t lock ;
1769 unsigned long active_bases ;
1770 ktime_t expires_next ;
1771 int hres_active ;
1772 int hang_detected ;
1773 unsigned long nr_events ;
1774 unsigned long nr_retries ;
1775 unsigned long nr_hangs ;
1776 ktime_t max_hang_time ;
1777 struct hrtimer_clock_base clock_base[3] ;
1778};
1779#line 27 "include/linux/dma-attrs.h"
1780struct dma_attrs {
1781 unsigned long flags[((4UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
1782};
1783#line 7 "include/linux/dma-direction.h"
1784enum dma_data_direction {
1785 DMA_BIDIRECTIONAL = 0,
1786 DMA_TO_DEVICE = 1,
1787 DMA_FROM_DEVICE = 2,
1788 DMA_NONE = 3
1789} ;
1790#line 11 "include/linux/dma-mapping.h"
1791struct dma_map_ops {
1792 void *(*alloc)(struct device *dev , size_t size , dma_addr_t *dma_handle , gfp_t gfp ,
1793 struct dma_attrs *attrs ) ;
1794 void (*free)(struct device *dev , size_t size , void *vaddr , dma_addr_t dma_handle ,
1795 struct dma_attrs *attrs ) ;
1796 int (*mmap)(struct device * , struct vm_area_struct * , void * , dma_addr_t ,
1797 size_t , struct dma_attrs *attrs ) ;
1798 dma_addr_t (*map_page)(struct device *dev , struct page *page , unsigned long offset ,
1799 size_t size , enum dma_data_direction dir , struct dma_attrs *attrs ) ;
1800 void (*unmap_page)(struct device *dev , dma_addr_t dma_handle , size_t size , enum dma_data_direction dir ,
1801 struct dma_attrs *attrs ) ;
1802 int (*map_sg)(struct device *dev , struct scatterlist *sg , int nents , enum dma_data_direction dir ,
1803 struct dma_attrs *attrs ) ;
1804 void (*unmap_sg)(struct device *dev , struct scatterlist *sg , int nents , enum dma_data_direction dir ,
1805 struct dma_attrs *attrs ) ;
1806 void (*sync_single_for_cpu)(struct device *dev , dma_addr_t dma_handle , size_t size ,
1807 enum dma_data_direction dir ) ;
1808 void (*sync_single_for_device)(struct device *dev , dma_addr_t dma_handle , size_t size ,
1809 enum dma_data_direction dir ) ;
1810 void (*sync_sg_for_cpu)(struct device *dev , struct scatterlist *sg , int nents ,
1811 enum dma_data_direction dir ) ;
1812 void (*sync_sg_for_device)(struct device *dev , struct scatterlist *sg , int nents ,
1813 enum dma_data_direction dir ) ;
1814 int (*mapping_error)(struct device *dev , dma_addr_t dma_addr ) ;
1815 int (*dma_supported)(struct device *dev , u64 mask ) ;
1816 int (*set_dma_mask)(struct device *dev , u64 mask ) ;
1817 int is_phys ;
1818};
1819#line 25 "include/linux/dma-debug.h"
1820struct device;
1821#line 26
1822struct scatterlist;
1823#line 27
1824struct bus_type;
1825#line 6 "include/linux/swiotlb.h"
1826struct device;
1827#line 7
1828struct dma_attrs;
1829#line 8
1830struct scatterlist;
1831#line 15 "include/linux/netdev_features.h"
1832typedef u64 netdev_features_t;
1833#line 108 "include/linux/skbuff.h"
1834struct net_device;
1835#line 109
1836struct scatterlist;
1837#line 110
1838struct pipe_inode_info;
1839#line 113 "include/linux/skbuff.h"
1840struct nf_conntrack {
1841 atomic_t use ;
1842};
1843#line 119 "include/linux/skbuff.h"
1844struct nf_bridge_info {
1845 atomic_t use ;
1846 struct net_device *physindev ;
1847 struct net_device *physoutdev ;
1848 unsigned int mask ;
1849 unsigned long data[32UL / sizeof(unsigned long )] ;
1850};
1851#line 128 "include/linux/skbuff.h"
1852struct sk_buff_head {
1853 struct sk_buff *next ;
1854 struct sk_buff *prev ;
1855 __u32 qlen ;
1856 spinlock_t lock ;
1857};
1858#line 137
1859struct sk_buff;
1860#line 318 "include/linux/skbuff.h"
1861typedef unsigned int sk_buff_data_t;
1862#line 391
1863struct sec_path;
1864#line 391 "include/linux/skbuff.h"
1865struct __anonstruct____missing_field_name_195 {
1866 __u16 csum_start ;
1867 __u16 csum_offset ;
1868};
1869#line 391 "include/linux/skbuff.h"
1870union __anonunion____missing_field_name_194 {
1871 __wsum csum ;
1872 struct __anonstruct____missing_field_name_195 __annonCompField40 ;
1873};
1874#line 391 "include/linux/skbuff.h"
1875union __anonunion____missing_field_name_196 {
1876 __u32 mark ;
1877 __u32 dropcount ;
1878 __u32 avail_size ;
1879};
1880#line 391 "include/linux/skbuff.h"
1881struct sk_buff {
1882 struct sk_buff *next ;
1883 struct sk_buff *prev ;
1884 ktime_t tstamp ;
1885 struct sock *sk ;
1886 struct net_device *dev ;
1887 char cb[48] __attribute__((__aligned__(8))) ;
1888 unsigned long _skb_refdst ;
1889 struct sec_path *sp ;
1890 unsigned int len ;
1891 unsigned int data_len ;
1892 __u16 mac_len ;
1893 __u16 hdr_len ;
1894 union __anonunion____missing_field_name_194 __annonCompField41 ;
1895 __u32 priority ;
1896 __u8 local_df : 1 ;
1897 __u8 cloned : 1 ;
1898 __u8 ip_summed : 2 ;
1899 __u8 nohdr : 1 ;
1900 __u8 nfctinfo : 3 ;
1901 __u8 pkt_type : 3 ;
1902 __u8 fclone : 2 ;
1903 __u8 ipvs_property : 1 ;
1904 __u8 peeked : 1 ;
1905 __u8 nf_trace : 1 ;
1906 __be16 protocol ;
1907 void (*destructor)(struct sk_buff *skb ) ;
1908 struct nf_conntrack *nfct ;
1909 struct sk_buff *nfct_reasm ;
1910 struct nf_bridge_info *nf_bridge ;
1911 int skb_iif ;
1912 __u32 rxhash ;
1913 __u16 vlan_tci ;
1914 __u16 tc_index ;
1915 __u16 tc_verd ;
1916 __u16 queue_mapping ;
1917 __u8 ndisc_nodetype : 2 ;
1918 __u8 ooo_okay : 1 ;
1919 __u8 l4_rxhash : 1 ;
1920 __u8 wifi_acked_valid : 1 ;
1921 __u8 wifi_acked : 1 ;
1922 __u8 no_fcs : 1 ;
1923 dma_cookie_t dma_cookie ;
1924 __u32 secmark ;
1925 union __anonunion____missing_field_name_196 __annonCompField42 ;
1926 sk_buff_data_t transport_header ;
1927 sk_buff_data_t network_header ;
1928 sk_buff_data_t mac_header ;
1929 sk_buff_data_t tail ;
1930 sk_buff_data_t end ;
1931 unsigned char *head ;
1932 unsigned char *data ;
1933 unsigned int truesize ;
1934 atomic_t users ;
1935};
1936#line 520
1937struct dst_entry;
1938#line 555
1939struct rtable;
1940#line 37 "include/linux/hdlc/ioctl.h"
1941struct __anonstruct_sync_serial_settings_197 {
1942 unsigned int clock_rate ;
1943 unsigned int clock_type ;
1944 unsigned short loopback ;
1945};
1946#line 37 "include/linux/hdlc/ioctl.h"
1947typedef struct __anonstruct_sync_serial_settings_197 sync_serial_settings;
1948#line 43 "include/linux/hdlc/ioctl.h"
1949struct __anonstruct_te1_settings_198 {
1950 unsigned int clock_rate ;
1951 unsigned int clock_type ;
1952 unsigned short loopback ;
1953 unsigned int slot_map ;
1954};
1955#line 43 "include/linux/hdlc/ioctl.h"
1956typedef struct __anonstruct_te1_settings_198 te1_settings;
1957#line 50 "include/linux/hdlc/ioctl.h"
1958struct __anonstruct_raw_hdlc_proto_199 {
1959 unsigned short encoding ;
1960 unsigned short parity ;
1961};
1962#line 50 "include/linux/hdlc/ioctl.h"
1963typedef struct __anonstruct_raw_hdlc_proto_199 raw_hdlc_proto;
1964#line 55 "include/linux/hdlc/ioctl.h"
1965struct __anonstruct_fr_proto_200 {
1966 unsigned int t391 ;
1967 unsigned int t392 ;
1968 unsigned int n391 ;
1969 unsigned int n392 ;
1970 unsigned int n393 ;
1971 unsigned short lmi ;
1972 unsigned short dce ;
1973};
1974#line 55 "include/linux/hdlc/ioctl.h"
1975typedef struct __anonstruct_fr_proto_200 fr_proto;
1976#line 65 "include/linux/hdlc/ioctl.h"
1977struct __anonstruct_fr_proto_pvc_201 {
1978 unsigned int dlci ;
1979};
1980#line 65 "include/linux/hdlc/ioctl.h"
1981typedef struct __anonstruct_fr_proto_pvc_201 fr_proto_pvc;
1982#line 69 "include/linux/hdlc/ioctl.h"
1983struct __anonstruct_fr_proto_pvc_info_202 {
1984 unsigned int dlci ;
1985 char master[16] ;
1986};
1987#line 69 "include/linux/hdlc/ioctl.h"
1988typedef struct __anonstruct_fr_proto_pvc_info_202 fr_proto_pvc_info;
1989#line 74 "include/linux/hdlc/ioctl.h"
1990struct __anonstruct_cisco_proto_203 {
1991 unsigned int interval ;
1992 unsigned int timeout ;
1993};
1994#line 74 "include/linux/hdlc/ioctl.h"
1995typedef struct __anonstruct_cisco_proto_203 cisco_proto;
1996#line 140 "include/linux/if.h"
1997struct ifmap {
1998 unsigned long mem_start ;
1999 unsigned long mem_end ;
2000 unsigned short base_addr ;
2001 unsigned char irq ;
2002 unsigned char dma ;
2003 unsigned char port ;
2004};
2005#line 150 "include/linux/if.h"
2006union __anonunion_ifs_ifsu_206 {
2007 raw_hdlc_proto *raw_hdlc ;
2008 cisco_proto *cisco ;
2009 fr_proto *fr ;
2010 fr_proto_pvc *fr_pvc ;
2011 fr_proto_pvc_info *fr_pvc_info ;
2012 sync_serial_settings *sync ;
2013 te1_settings *te1 ;
2014};
2015#line 150 "include/linux/if.h"
2016struct if_settings {
2017 unsigned int type ;
2018 unsigned int size ;
2019 union __anonunion_ifs_ifsu_206 ifs_ifsu ;
2020};
2021#line 174 "include/linux/if.h"
2022union __anonunion_ifr_ifrn_207 {
2023 char ifrn_name[16] ;
2024};
2025#line 174 "include/linux/if.h"
2026union __anonunion_ifr_ifru_208 {
2027 struct sockaddr ifru_addr ;
2028 struct sockaddr ifru_dstaddr ;
2029 struct sockaddr ifru_broadaddr ;
2030 struct sockaddr ifru_netmask ;
2031 struct sockaddr ifru_hwaddr ;
2032 short ifru_flags ;
2033 int ifru_ivalue ;
2034 int ifru_mtu ;
2035 struct ifmap ifru_map ;
2036 char ifru_slave[16] ;
2037 char ifru_newname[16] ;
2038 void *ifru_data ;
2039 struct if_settings ifru_settings ;
2040};
2041#line 174 "include/linux/if.h"
2042struct ifreq {
2043 union __anonunion_ifr_ifrn_207 ifr_ifrn ;
2044 union __anonunion_ifr_ifru_208 ifr_ifru ;
2045};
2046#line 129 "include/linux/netlink.h"
2047struct nlattr {
2048 __u16 nla_len ;
2049 __u16 nla_type ;
2050};
2051#line 18 "include/linux/capability.h"
2052struct task_struct;
2053#line 94 "include/linux/capability.h"
2054struct kernel_cap_struct {
2055 __u32 cap[2] ;
2056};
2057#line 94 "include/linux/capability.h"
2058typedef struct kernel_cap_struct kernel_cap_t;
2059#line 377
2060struct dentry;
2061#line 377
2062struct dentry;
2063#line 378
2064struct user_namespace;
2065#line 378
2066struct user_namespace;
2067#line 157 "include/linux/netlink.h"
2068struct net;
2069#line 41 "include/linux/if_link.h"
2070struct rtnl_link_stats64 {
2071 __u64 rx_packets ;
2072 __u64 tx_packets ;
2073 __u64 rx_bytes ;
2074 __u64 tx_bytes ;
2075 __u64 rx_errors ;
2076 __u64 tx_errors ;
2077 __u64 rx_dropped ;
2078 __u64 tx_dropped ;
2079 __u64 multicast ;
2080 __u64 collisions ;
2081 __u64 rx_length_errors ;
2082 __u64 rx_over_errors ;
2083 __u64 rx_crc_errors ;
2084 __u64 rx_frame_errors ;
2085 __u64 rx_fifo_errors ;
2086 __u64 rx_missed_errors ;
2087 __u64 tx_aborted_errors ;
2088 __u64 tx_carrier_errors ;
2089 __u64 tx_fifo_errors ;
2090 __u64 tx_heartbeat_errors ;
2091 __u64 tx_window_errors ;
2092 __u64 rx_compressed ;
2093 __u64 tx_compressed ;
2094};
2095#line 312 "include/linux/if_link.h"
2096struct ifla_vf_info {
2097 __u32 vf ;
2098 __u8 mac[32] ;
2099 __u32 vlan ;
2100 __u32 qos ;
2101 __u32 tx_rate ;
2102 __u32 spoofchk ;
2103};
2104#line 81 "include/linux/plist.h"
2105struct plist_head {
2106 struct list_head node_list ;
2107};
2108#line 85 "include/linux/plist.h"
2109struct plist_node {
2110 int prio ;
2111 struct list_head prio_list ;
2112 struct list_head node_list ;
2113};
2114#line 48 "include/linux/miscdevice.h"
2115struct device;
2116#line 50
2117struct file_operations;
2118#line 30 "include/linux/pm_qos.h"
2119struct pm_qos_request {
2120 struct plist_node node ;
2121 int pm_qos_class ;
2122 struct delayed_work work ;
2123};
2124#line 36 "include/linux/pm_qos.h"
2125struct dev_pm_qos_request {
2126 struct plist_node node ;
2127 struct device *dev ;
2128};
2129#line 41
2130enum pm_qos_type {
2131 PM_QOS_UNITIALIZED = 0,
2132 PM_QOS_MAX = 1,
2133 PM_QOS_MIN = 2
2134} ;
2135#line 52 "include/linux/pm_qos.h"
2136struct pm_qos_constraints {
2137 struct plist_head list ;
2138 s32 target_value ;
2139 s32 default_value ;
2140 enum pm_qos_type type ;
2141 struct blocking_notifier_head *notifiers ;
2142};
2143#line 40 "include/linux/dynamic_queue_limits.h"
2144struct dql {
2145 unsigned int num_queued ;
2146 unsigned int adj_limit ;
2147 unsigned int last_obj_cnt ;
2148 unsigned int limit __attribute__((__aligned__((1) << (6) ))) ;
2149 unsigned int num_completed ;
2150 unsigned int prev_ovlimit ;
2151 unsigned int prev_num_queued ;
2152 unsigned int prev_last_obj_cnt ;
2153 unsigned int lowest_slack ;
2154 unsigned long slack_start_time ;
2155 unsigned int max_limit ;
2156 unsigned int min_limit ;
2157 unsigned int slack_hold_time ;
2158};
2159#line 62 "include/linux/stat.h"
2160struct kstat {
2161 u64 ino ;
2162 dev_t dev ;
2163 umode_t mode ;
2164 unsigned int nlink ;
2165 uid_t uid ;
2166 gid_t gid ;
2167 dev_t rdev ;
2168 loff_t size ;
2169 struct timespec atime ;
2170 struct timespec mtime ;
2171 struct timespec ctime ;
2172 unsigned long blksize ;
2173 unsigned long long blocks ;
2174};
2175#line 84 "include/linux/sem.h"
2176struct task_struct;
2177#line 101
2178struct sem_undo_list;
2179#line 101 "include/linux/sem.h"
2180struct sysv_sem {
2181 struct sem_undo_list *undo_list ;
2182};
2183#line 15 "include/linux/blk_types.h"
2184struct page;
2185#line 16
2186struct block_device;
2187#line 16
2188struct block_device;
2189#line 33 "include/linux/list_bl.h"
2190struct hlist_bl_node;
2191#line 33 "include/linux/list_bl.h"
2192struct hlist_bl_head {
2193 struct hlist_bl_node *first ;
2194};
2195#line 37 "include/linux/list_bl.h"
2196struct hlist_bl_node {
2197 struct hlist_bl_node *next ;
2198 struct hlist_bl_node **pprev ;
2199};
2200#line 13 "include/linux/dcache.h"
2201struct nameidata;
2202#line 13
2203struct nameidata;
2204#line 14
2205struct path;
2206#line 14
2207struct path;
2208#line 15
2209struct vfsmount;
2210#line 15
2211struct vfsmount;
2212#line 35 "include/linux/dcache.h"
2213struct qstr {
2214 unsigned int hash ;
2215 unsigned int len ;
2216 unsigned char const *name ;
2217};
2218#line 88
2219struct dentry_operations;
2220#line 88
2221struct super_block;
2222#line 88 "include/linux/dcache.h"
2223union __anonunion_d_u_228 {
2224 struct list_head d_child ;
2225 struct rcu_head d_rcu ;
2226};
2227#line 88 "include/linux/dcache.h"
2228struct dentry {
2229 unsigned int d_flags ;
2230 seqcount_t d_seq ;
2231 struct hlist_bl_node d_hash ;
2232 struct dentry *d_parent ;
2233 struct qstr d_name ;
2234 struct inode *d_inode ;
2235 unsigned char d_iname[32] ;
2236 unsigned int d_count ;
2237 spinlock_t d_lock ;
2238 struct dentry_operations const *d_op ;
2239 struct super_block *d_sb ;
2240 unsigned long d_time ;
2241 void *d_fsdata ;
2242 struct list_head d_lru ;
2243 union __anonunion_d_u_228 d_u ;
2244 struct list_head d_subdirs ;
2245 struct list_head d_alias ;
2246};
2247#line 131 "include/linux/dcache.h"
2248struct dentry_operations {
2249 int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
2250 int (*d_hash)(struct dentry const * , struct inode const * , struct qstr * ) ;
2251 int (*d_compare)(struct dentry const * , struct inode const * , struct dentry const * ,
2252 struct inode const * , unsigned int , char const * , struct qstr const * ) ;
2253 int (*d_delete)(struct dentry const * ) ;
2254 void (*d_release)(struct dentry * ) ;
2255 void (*d_prune)(struct dentry * ) ;
2256 void (*d_iput)(struct dentry * , struct inode * ) ;
2257 char *(*d_dname)(struct dentry * , char * , int ) ;
2258 struct vfsmount *(*d_automount)(struct path * ) ;
2259 int (*d_manage)(struct dentry * , bool ) ;
2260} __attribute__((__aligned__((1) << (6) ))) ;
2261#line 4 "include/linux/path.h"
2262struct dentry;
2263#line 5
2264struct vfsmount;
2265#line 7 "include/linux/path.h"
2266struct path {
2267 struct vfsmount *mnt ;
2268 struct dentry *dentry ;
2269};
2270#line 64 "include/linux/radix-tree.h"
2271struct radix_tree_node;
2272#line 64 "include/linux/radix-tree.h"
2273struct radix_tree_root {
2274 unsigned int height ;
2275 gfp_t gfp_mask ;
2276 struct radix_tree_node *rnode ;
2277};
2278#line 6 "include/linux/pid.h"
2279enum pid_type {
2280 PIDTYPE_PID = 0,
2281 PIDTYPE_PGID = 1,
2282 PIDTYPE_SID = 2,
2283 PIDTYPE_MAX = 3
2284} ;
2285#line 50
2286struct pid_namespace;
2287#line 50 "include/linux/pid.h"
2288struct upid {
2289 int nr ;
2290 struct pid_namespace *ns ;
2291 struct hlist_node pid_chain ;
2292};
2293#line 57 "include/linux/pid.h"
2294struct pid {
2295 atomic_t count ;
2296 unsigned int level ;
2297 struct hlist_head tasks[3] ;
2298 struct rcu_head rcu ;
2299 struct upid numbers[1] ;
2300};
2301#line 69 "include/linux/pid.h"
2302struct pid_link {
2303 struct hlist_node node ;
2304 struct pid *pid ;
2305};
2306#line 100
2307struct pid_namespace;
2308#line 16 "include/linux/semaphore.h"
2309struct semaphore {
2310 raw_spinlock_t lock ;
2311 unsigned int count ;
2312 struct list_head wait_list ;
2313};
2314#line 16 "include/linux/fiemap.h"
2315struct fiemap_extent {
2316 __u64 fe_logical ;
2317 __u64 fe_physical ;
2318 __u64 fe_length ;
2319 __u64 fe_reserved64[2] ;
2320 __u32 fe_flags ;
2321 __u32 fe_reserved[3] ;
2322};
2323#line 10 "include/linux/migrate_mode.h"
2324enum migrate_mode {
2325 MIGRATE_ASYNC = 0,
2326 MIGRATE_SYNC_LIGHT = 1,
2327 MIGRATE_SYNC = 2
2328} ;
2329#line 408 "include/linux/fs.h"
2330struct export_operations;
2331#line 408
2332struct export_operations;
2333#line 410
2334struct iovec;
2335#line 411
2336struct nameidata;
2337#line 412
2338struct kiocb;
2339#line 413
2340struct kobject;
2341#line 414
2342struct pipe_inode_info;
2343#line 415
2344struct poll_table_struct;
2345#line 416
2346struct kstatfs;
2347#line 416
2348struct kstatfs;
2349#line 417
2350struct vm_area_struct;
2351#line 418
2352struct vfsmount;
2353#line 419
2354struct cred;
2355#line 469 "include/linux/fs.h"
2356struct iattr {
2357 unsigned int ia_valid ;
2358 umode_t ia_mode ;
2359 uid_t ia_uid ;
2360 gid_t ia_gid ;
2361 loff_t ia_size ;
2362 struct timespec ia_atime ;
2363 struct timespec ia_mtime ;
2364 struct timespec ia_ctime ;
2365 struct file *ia_file ;
2366};
2367#line 129 "include/linux/quota.h"
2368struct if_dqinfo {
2369 __u64 dqi_bgrace ;
2370 __u64 dqi_igrace ;
2371 __u32 dqi_flags ;
2372 __u32 dqi_valid ;
2373};
2374#line 18 "include/linux/percpu_counter.h"
2375struct percpu_counter {
2376 raw_spinlock_t lock ;
2377 s64 count ;
2378 struct list_head list ;
2379 s32 *counters ;
2380};
2381#line 50 "include/linux/dqblk_xfs.h"
2382struct fs_disk_quota {
2383 __s8 d_version ;
2384 __s8 d_flags ;
2385 __u16 d_fieldmask ;
2386 __u32 d_id ;
2387 __u64 d_blk_hardlimit ;
2388 __u64 d_blk_softlimit ;
2389 __u64 d_ino_hardlimit ;
2390 __u64 d_ino_softlimit ;
2391 __u64 d_bcount ;
2392 __u64 d_icount ;
2393 __s32 d_itimer ;
2394 __s32 d_btimer ;
2395 __u16 d_iwarns ;
2396 __u16 d_bwarns ;
2397 __s32 d_padding2 ;
2398 __u64 d_rtb_hardlimit ;
2399 __u64 d_rtb_softlimit ;
2400 __u64 d_rtbcount ;
2401 __s32 d_rtbtimer ;
2402 __u16 d_rtbwarns ;
2403 __s16 d_padding3 ;
2404 char d_padding4[8] ;
2405};
2406#line 146 "include/linux/dqblk_xfs.h"
2407struct fs_qfilestat {
2408 __u64 qfs_ino ;
2409 __u64 qfs_nblks ;
2410 __u32 qfs_nextents ;
2411};
2412#line 146 "include/linux/dqblk_xfs.h"
2413typedef struct fs_qfilestat fs_qfilestat_t;
2414#line 152 "include/linux/dqblk_xfs.h"
2415struct fs_quota_stat {
2416 __s8 qs_version ;
2417 __u16 qs_flags ;
2418 __s8 qs_pad ;
2419 fs_qfilestat_t qs_uquota ;
2420 fs_qfilestat_t qs_gquota ;
2421 __u32 qs_incoredqs ;
2422 __s32 qs_btimelimit ;
2423 __s32 qs_itimelimit ;
2424 __s32 qs_rtbtimelimit ;
2425 __u16 qs_bwarnlimit ;
2426 __u16 qs_iwarnlimit ;
2427};
2428#line 17 "include/linux/dqblk_qtree.h"
2429struct dquot;
2430#line 17
2431struct dquot;
2432#line 185 "include/linux/quota.h"
2433typedef __kernel_uid32_t qid_t;
2434#line 186 "include/linux/quota.h"
2435typedef long long qsize_t;
2436#line 200 "include/linux/quota.h"
2437struct mem_dqblk {
2438 qsize_t dqb_bhardlimit ;
2439 qsize_t dqb_bsoftlimit ;
2440 qsize_t dqb_curspace ;
2441 qsize_t dqb_rsvspace ;
2442 qsize_t dqb_ihardlimit ;
2443 qsize_t dqb_isoftlimit ;
2444 qsize_t dqb_curinodes ;
2445 time_t dqb_btime ;
2446 time_t dqb_itime ;
2447};
2448#line 215
2449struct quota_format_type;
2450#line 215
2451struct quota_format_type;
2452#line 217 "include/linux/quota.h"
2453struct mem_dqinfo {
2454 struct quota_format_type *dqi_format ;
2455 int dqi_fmt_id ;
2456 struct list_head dqi_dirty_list ;
2457 unsigned long dqi_flags ;
2458 unsigned int dqi_bgrace ;
2459 unsigned int dqi_igrace ;
2460 qsize_t dqi_maxblimit ;
2461 qsize_t dqi_maxilimit ;
2462 void *dqi_priv ;
2463};
2464#line 230
2465struct super_block;
2466#line 288 "include/linux/quota.h"
2467struct dquot {
2468 struct hlist_node dq_hash ;
2469 struct list_head dq_inuse ;
2470 struct list_head dq_free ;
2471 struct list_head dq_dirty ;
2472 struct mutex dq_lock ;
2473 atomic_t dq_count ;
2474 wait_queue_head_t dq_wait_unused ;
2475 struct super_block *dq_sb ;
2476 unsigned int dq_id ;
2477 loff_t dq_off ;
2478 unsigned long dq_flags ;
2479 short dq_type ;
2480 struct mem_dqblk dq_dqb ;
2481};
2482#line 305 "include/linux/quota.h"
2483struct quota_format_ops {
2484 int (*check_quota_file)(struct super_block *sb , int type ) ;
2485 int (*read_file_info)(struct super_block *sb , int type ) ;
2486 int (*write_file_info)(struct super_block *sb , int type ) ;
2487 int (*free_file_info)(struct super_block *sb , int type ) ;
2488 int (*read_dqblk)(struct dquot *dquot ) ;
2489 int (*commit_dqblk)(struct dquot *dquot ) ;
2490 int (*release_dqblk)(struct dquot *dquot ) ;
2491};
2492#line 316 "include/linux/quota.h"
2493struct dquot_operations {
2494 int (*write_dquot)(struct dquot * ) ;
2495 struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
2496 void (*destroy_dquot)(struct dquot * ) ;
2497 int (*acquire_dquot)(struct dquot * ) ;
2498 int (*release_dquot)(struct dquot * ) ;
2499 int (*mark_dirty)(struct dquot * ) ;
2500 int (*write_info)(struct super_block * , int ) ;
2501 qsize_t *(*get_reserved_space)(struct inode * ) ;
2502};
2503#line 329
2504struct path;
2505#line 332 "include/linux/quota.h"
2506struct quotactl_ops {
2507 int (*quota_on)(struct super_block * , int , int , struct path * ) ;
2508 int (*quota_on_meta)(struct super_block * , int , int ) ;
2509 int (*quota_off)(struct super_block * , int ) ;
2510 int (*quota_sync)(struct super_block * , int , int ) ;
2511 int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
2512 int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
2513 int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2514 int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2515 int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
2516 int (*set_xstate)(struct super_block * , unsigned int , int ) ;
2517};
2518#line 345 "include/linux/quota.h"
2519struct quota_format_type {
2520 int qf_fmt_id ;
2521 struct quota_format_ops const *qf_ops ;
2522 struct module *qf_owner ;
2523 struct quota_format_type *qf_next ;
2524};
2525#line 399 "include/linux/quota.h"
2526struct quota_info {
2527 unsigned int flags ;
2528 struct mutex dqio_mutex ;
2529 struct mutex dqonoff_mutex ;
2530 struct rw_semaphore dqptr_sem ;
2531 struct inode *files[2] ;
2532 struct mem_dqinfo info[2] ;
2533 struct quota_format_ops const *ops[2] ;
2534};
2535#line 532 "include/linux/fs.h"
2536struct page;
2537#line 533
2538struct address_space;
2539#line 534
2540struct writeback_control;
2541#line 577 "include/linux/fs.h"
2542union __anonunion_arg_235 {
2543 char *buf ;
2544 void *data ;
2545};
2546#line 577 "include/linux/fs.h"
2547struct __anonstruct_read_descriptor_t_234 {
2548 size_t written ;
2549 size_t count ;
2550 union __anonunion_arg_235 arg ;
2551 int error ;
2552};
2553#line 577 "include/linux/fs.h"
2554typedef struct __anonstruct_read_descriptor_t_234 read_descriptor_t;
2555#line 590 "include/linux/fs.h"
2556struct address_space_operations {
2557 int (*writepage)(struct page *page , struct writeback_control *wbc ) ;
2558 int (*readpage)(struct file * , struct page * ) ;
2559 int (*writepages)(struct address_space * , struct writeback_control * ) ;
2560 int (*set_page_dirty)(struct page *page ) ;
2561 int (*readpages)(struct file *filp , struct address_space *mapping , struct list_head *pages ,
2562 unsigned int nr_pages ) ;
2563 int (*write_begin)(struct file * , struct address_space *mapping , loff_t pos ,
2564 unsigned int len , unsigned int flags , struct page **pagep ,
2565 void **fsdata ) ;
2566 int (*write_end)(struct file * , struct address_space *mapping , loff_t pos , unsigned int len ,
2567 unsigned int copied , struct page *page , void *fsdata ) ;
2568 sector_t (*bmap)(struct address_space * , sector_t ) ;
2569 void (*invalidatepage)(struct page * , unsigned long ) ;
2570 int (*releasepage)(struct page * , gfp_t ) ;
2571 void (*freepage)(struct page * ) ;
2572 ssize_t (*direct_IO)(int , struct kiocb * , struct iovec const *iov , loff_t offset ,
2573 unsigned long nr_segs ) ;
2574 int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ;
2575 int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode ) ;
2576 int (*launder_page)(struct page * ) ;
2577 int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
2578 int (*error_remove_page)(struct address_space * , struct page * ) ;
2579};
2580#line 645
2581struct backing_dev_info;
2582#line 645
2583struct backing_dev_info;
2584#line 646 "include/linux/fs.h"
2585struct address_space {
2586 struct inode *host ;
2587 struct radix_tree_root page_tree ;
2588 spinlock_t tree_lock ;
2589 unsigned int i_mmap_writable ;
2590 struct prio_tree_root i_mmap ;
2591 struct list_head i_mmap_nonlinear ;
2592 struct mutex i_mmap_mutex ;
2593 unsigned long nrpages ;
2594 unsigned long writeback_index ;
2595 struct address_space_operations const *a_ops ;
2596 unsigned long flags ;
2597 struct backing_dev_info *backing_dev_info ;
2598 spinlock_t private_lock ;
2599 struct list_head private_list ;
2600 struct address_space *assoc_mapping ;
2601} __attribute__((__aligned__(sizeof(long )))) ;
2602#line 669
2603struct request_queue;
2604#line 669
2605struct request_queue;
2606#line 671
2607struct hd_struct;
2608#line 671
2609struct gendisk;
2610#line 671 "include/linux/fs.h"
2611struct block_device {
2612 dev_t bd_dev ;
2613 int bd_openers ;
2614 struct inode *bd_inode ;
2615 struct super_block *bd_super ;
2616 struct mutex bd_mutex ;
2617 struct list_head bd_inodes ;
2618 void *bd_claiming ;
2619 void *bd_holder ;
2620 int bd_holders ;
2621 bool bd_write_holder ;
2622 struct list_head bd_holder_disks ;
2623 struct block_device *bd_contains ;
2624 unsigned int bd_block_size ;
2625 struct hd_struct *bd_part ;
2626 unsigned int bd_part_count ;
2627 int bd_invalidated ;
2628 struct gendisk *bd_disk ;
2629 struct request_queue *bd_queue ;
2630 struct list_head bd_list ;
2631 unsigned long bd_private ;
2632 int bd_fsfreeze_count ;
2633 struct mutex bd_fsfreeze_mutex ;
2634};
2635#line 749
2636struct posix_acl;
2637#line 749
2638struct posix_acl;
2639#line 761
2640struct inode_operations;
2641#line 761 "include/linux/fs.h"
2642union __anonunion____missing_field_name_236 {
2643 unsigned int const i_nlink ;
2644 unsigned int __i_nlink ;
2645};
2646#line 761 "include/linux/fs.h"
2647union __anonunion____missing_field_name_237 {
2648 struct list_head i_dentry ;
2649 struct rcu_head i_rcu ;
2650};
2651#line 761
2652struct file_lock;
2653#line 761
2654struct cdev;
2655#line 761 "include/linux/fs.h"
2656union __anonunion____missing_field_name_238 {
2657 struct pipe_inode_info *i_pipe ;
2658 struct block_device *i_bdev ;
2659 struct cdev *i_cdev ;
2660};
2661#line 761 "include/linux/fs.h"
2662struct inode {
2663 umode_t i_mode ;
2664 unsigned short i_opflags ;
2665 uid_t i_uid ;
2666 gid_t i_gid ;
2667 unsigned int i_flags ;
2668 struct posix_acl *i_acl ;
2669 struct posix_acl *i_default_acl ;
2670 struct inode_operations const *i_op ;
2671 struct super_block *i_sb ;
2672 struct address_space *i_mapping ;
2673 void *i_security ;
2674 unsigned long i_ino ;
2675 union __anonunion____missing_field_name_236 __annonCompField45 ;
2676 dev_t i_rdev ;
2677 struct timespec i_atime ;
2678 struct timespec i_mtime ;
2679 struct timespec i_ctime ;
2680 spinlock_t i_lock ;
2681 unsigned short i_bytes ;
2682 blkcnt_t i_blocks ;
2683 loff_t i_size ;
2684 unsigned long i_state ;
2685 struct mutex i_mutex ;
2686 unsigned long dirtied_when ;
2687 struct hlist_node i_hash ;
2688 struct list_head i_wb_list ;
2689 struct list_head i_lru ;
2690 struct list_head i_sb_list ;
2691 union __anonunion____missing_field_name_237 __annonCompField46 ;
2692 atomic_t i_count ;
2693 unsigned int i_blkbits ;
2694 u64 i_version ;
2695 atomic_t i_dio_count ;
2696 atomic_t i_writecount ;
2697 struct file_operations const *i_fop ;
2698 struct file_lock *i_flock ;
2699 struct address_space i_data ;
2700 struct dquot *i_dquot[2] ;
2701 struct list_head i_devices ;
2702 union __anonunion____missing_field_name_238 __annonCompField47 ;
2703 __u32 i_generation ;
2704 __u32 i_fsnotify_mask ;
2705 struct hlist_head i_fsnotify_marks ;
2706 atomic_t i_readcount ;
2707 void *i_private ;
2708};
2709#line 942 "include/linux/fs.h"
2710struct fown_struct {
2711 rwlock_t lock ;
2712 struct pid *pid ;
2713 enum pid_type pid_type ;
2714 uid_t uid ;
2715 uid_t euid ;
2716 int signum ;
2717};
2718#line 953 "include/linux/fs.h"
2719struct file_ra_state {
2720 unsigned long start ;
2721 unsigned int size ;
2722 unsigned int async_size ;
2723 unsigned int ra_pages ;
2724 unsigned int mmap_miss ;
2725 loff_t prev_pos ;
2726};
2727#line 976 "include/linux/fs.h"
2728union __anonunion_f_u_239 {
2729 struct list_head fu_list ;
2730 struct rcu_head fu_rcuhead ;
2731};
2732#line 976 "include/linux/fs.h"
2733struct file {
2734 union __anonunion_f_u_239 f_u ;
2735 struct path f_path ;
2736 struct file_operations const *f_op ;
2737 spinlock_t f_lock ;
2738 int f_sb_list_cpu ;
2739 atomic_long_t f_count ;
2740 unsigned int f_flags ;
2741 fmode_t f_mode ;
2742 loff_t f_pos ;
2743 struct fown_struct f_owner ;
2744 struct cred const *f_cred ;
2745 struct file_ra_state f_ra ;
2746 u64 f_version ;
2747 void *f_security ;
2748 void *private_data ;
2749 struct list_head f_ep_links ;
2750 struct list_head f_tfile_llink ;
2751 struct address_space *f_mapping ;
2752 unsigned long f_mnt_write_state ;
2753};
2754#line 1111
2755struct files_struct;
2756#line 1111 "include/linux/fs.h"
2757typedef struct files_struct *fl_owner_t;
2758#line 1113 "include/linux/fs.h"
2759struct file_lock_operations {
2760 void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
2761 void (*fl_release_private)(struct file_lock * ) ;
2762};
2763#line 1118 "include/linux/fs.h"
2764struct lock_manager_operations {
2765 int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
2766 void (*lm_notify)(struct file_lock * ) ;
2767 int (*lm_grant)(struct file_lock * , struct file_lock * , int ) ;
2768 void (*lm_release_private)(struct file_lock * ) ;
2769 void (*lm_break)(struct file_lock * ) ;
2770 int (*lm_change)(struct file_lock ** , int ) ;
2771};
2772#line 4 "include/linux/nfs_fs_i.h"
2773struct nlm_lockowner;
2774#line 4
2775struct nlm_lockowner;
2776#line 9 "include/linux/nfs_fs_i.h"
2777struct nfs_lock_info {
2778 u32 state ;
2779 struct nlm_lockowner *owner ;
2780 struct list_head list ;
2781};
2782#line 15
2783struct nfs4_lock_state;
2784#line 15
2785struct nfs4_lock_state;
2786#line 16 "include/linux/nfs_fs_i.h"
2787struct nfs4_lock_info {
2788 struct nfs4_lock_state *owner ;
2789};
2790#line 1138 "include/linux/fs.h"
2791struct __anonstruct_afs_241 {
2792 struct list_head link ;
2793 int state ;
2794};
2795#line 1138 "include/linux/fs.h"
2796union __anonunion_fl_u_240 {
2797 struct nfs_lock_info nfs_fl ;
2798 struct nfs4_lock_info nfs4_fl ;
2799 struct __anonstruct_afs_241 afs ;
2800};
2801#line 1138 "include/linux/fs.h"
2802struct file_lock {
2803 struct file_lock *fl_next ;
2804 struct list_head fl_link ;
2805 struct list_head fl_block ;
2806 fl_owner_t fl_owner ;
2807 unsigned int fl_flags ;
2808 unsigned char fl_type ;
2809 unsigned int fl_pid ;
2810 struct pid *fl_nspid ;
2811 wait_queue_head_t fl_wait ;
2812 struct file *fl_file ;
2813 loff_t fl_start ;
2814 loff_t fl_end ;
2815 struct fasync_struct *fl_fasync ;
2816 unsigned long fl_break_time ;
2817 unsigned long fl_downgrade_time ;
2818 struct file_lock_operations const *fl_ops ;
2819 struct lock_manager_operations const *fl_lmops ;
2820 union __anonunion_fl_u_240 fl_u ;
2821};
2822#line 1378 "include/linux/fs.h"
2823struct fasync_struct {
2824 spinlock_t fa_lock ;
2825 int magic ;
2826 int fa_fd ;
2827 struct fasync_struct *fa_next ;
2828 struct file *fa_file ;
2829 struct rcu_head fa_rcu ;
2830};
2831#line 1418
2832struct file_system_type;
2833#line 1418
2834struct super_operations;
2835#line 1418
2836struct xattr_handler;
2837#line 1418
2838struct mtd_info;
2839#line 1418 "include/linux/fs.h"
2840struct super_block {
2841 struct list_head s_list ;
2842 dev_t s_dev ;
2843 unsigned char s_dirt ;
2844 unsigned char s_blocksize_bits ;
2845 unsigned long s_blocksize ;
2846 loff_t s_maxbytes ;
2847 struct file_system_type *s_type ;
2848 struct super_operations const *s_op ;
2849 struct dquot_operations const *dq_op ;
2850 struct quotactl_ops const *s_qcop ;
2851 struct export_operations const *s_export_op ;
2852 unsigned long s_flags ;
2853 unsigned long s_magic ;
2854 struct dentry *s_root ;
2855 struct rw_semaphore s_umount ;
2856 struct mutex s_lock ;
2857 int s_count ;
2858 atomic_t s_active ;
2859 void *s_security ;
2860 struct xattr_handler const **s_xattr ;
2861 struct list_head s_inodes ;
2862 struct hlist_bl_head s_anon ;
2863 struct list_head *s_files ;
2864 struct list_head s_mounts ;
2865 struct list_head s_dentry_lru ;
2866 int s_nr_dentry_unused ;
2867 spinlock_t s_inode_lru_lock __attribute__((__aligned__((1) << (6) ))) ;
2868 struct list_head s_inode_lru ;
2869 int s_nr_inodes_unused ;
2870 struct block_device *s_bdev ;
2871 struct backing_dev_info *s_bdi ;
2872 struct mtd_info *s_mtd ;
2873 struct hlist_node s_instances ;
2874 struct quota_info s_dquot ;
2875 int s_frozen ;
2876 wait_queue_head_t s_wait_unfrozen ;
2877 char s_id[32] ;
2878 u8 s_uuid[16] ;
2879 void *s_fs_info ;
2880 unsigned int s_max_links ;
2881 fmode_t s_mode ;
2882 u32 s_time_gran ;
2883 struct mutex s_vfs_rename_mutex ;
2884 char *s_subtype ;
2885 char *s_options ;
2886 struct dentry_operations const *s_d_op ;
2887 int cleancache_poolid ;
2888 struct shrinker s_shrink ;
2889 atomic_long_t s_remove_count ;
2890 int s_readonly_remount ;
2891};
2892#line 1567 "include/linux/fs.h"
2893struct fiemap_extent_info {
2894 unsigned int fi_flags ;
2895 unsigned int fi_extents_mapped ;
2896 unsigned int fi_extents_max ;
2897 struct fiemap_extent *fi_extents_start ;
2898};
2899#line 1609 "include/linux/fs.h"
2900struct file_operations {
2901 struct module *owner ;
2902 loff_t (*llseek)(struct file * , loff_t , int ) ;
2903 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
2904 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
2905 ssize_t (*aio_read)(struct kiocb * , struct iovec const * , unsigned long ,
2906 loff_t ) ;
2907 ssize_t (*aio_write)(struct kiocb * , struct iovec const * , unsigned long ,
2908 loff_t ) ;
2909 int (*readdir)(struct file * , void * , int (*)(void * , char const * , int ,
2910 loff_t , u64 , unsigned int ) ) ;
2911 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
2912 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
2913 long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ;
2914 int (*mmap)(struct file * , struct vm_area_struct * ) ;
2915 int (*open)(struct inode * , struct file * ) ;
2916 int (*flush)(struct file * , fl_owner_t id ) ;
2917 int (*release)(struct inode * , struct file * ) ;
2918 int (*fsync)(struct file * , loff_t , loff_t , int datasync ) ;
2919 int (*aio_fsync)(struct kiocb * , int datasync ) ;
2920 int (*fasync)(int , struct file * , int ) ;
2921 int (*lock)(struct file * , int , struct file_lock * ) ;
2922 ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * ,
2923 int ) ;
2924 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
2925 unsigned long , unsigned long ) ;
2926 int (*check_flags)(int ) ;
2927 int (*flock)(struct file * , int , struct file_lock * ) ;
2928 ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t ,
2929 unsigned int ) ;
2930 ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t ,
2931 unsigned int ) ;
2932 int (*setlease)(struct file * , long , struct file_lock ** ) ;
2933 long (*fallocate)(struct file *file , int mode , loff_t offset , loff_t len ) ;
2934};
2935#line 1639 "include/linux/fs.h"
2936struct inode_operations {
2937 struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
2938 void *(*follow_link)(struct dentry * , struct nameidata * ) ;
2939 int (*permission)(struct inode * , int ) ;
2940 struct posix_acl *(*get_acl)(struct inode * , int ) ;
2941 int (*readlink)(struct dentry * , char * , int ) ;
2942 void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
2943 int (*create)(struct inode * , struct dentry * , umode_t , struct nameidata * ) ;
2944 int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
2945 int (*unlink)(struct inode * , struct dentry * ) ;
2946 int (*symlink)(struct inode * , struct dentry * , char const * ) ;
2947 int (*mkdir)(struct inode * , struct dentry * , umode_t ) ;
2948 int (*rmdir)(struct inode * , struct dentry * ) ;
2949 int (*mknod)(struct inode * , struct dentry * , umode_t , dev_t ) ;
2950 int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
2951 void (*truncate)(struct inode * ) ;
2952 int (*setattr)(struct dentry * , struct iattr * ) ;
2953 int (*getattr)(struct vfsmount *mnt , struct dentry * , struct kstat * ) ;
2954 int (*setxattr)(struct dentry * , char const * , void const * , size_t , int ) ;
2955 ssize_t (*getxattr)(struct dentry * , char const * , void * , size_t ) ;
2956 ssize_t (*listxattr)(struct dentry * , char * , size_t ) ;
2957 int (*removexattr)(struct dentry * , char const * ) ;
2958 void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
2959 int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 start , u64 len ) ;
2960} __attribute__((__aligned__((1) << (6) ))) ;
2961#line 1669
2962struct seq_file;
2963#line 1684 "include/linux/fs.h"
2964struct super_operations {
2965 struct inode *(*alloc_inode)(struct super_block *sb ) ;
2966 void (*destroy_inode)(struct inode * ) ;
2967 void (*dirty_inode)(struct inode * , int flags ) ;
2968 int (*write_inode)(struct inode * , struct writeback_control *wbc ) ;
2969 int (*drop_inode)(struct inode * ) ;
2970 void (*evict_inode)(struct inode * ) ;
2971 void (*put_super)(struct super_block * ) ;
2972 void (*write_super)(struct super_block * ) ;
2973 int (*sync_fs)(struct super_block *sb , int wait ) ;
2974 int (*freeze_fs)(struct super_block * ) ;
2975 int (*unfreeze_fs)(struct super_block * ) ;
2976 int (*statfs)(struct dentry * , struct kstatfs * ) ;
2977 int (*remount_fs)(struct super_block * , int * , char * ) ;
2978 void (*umount_begin)(struct super_block * ) ;
2979 int (*show_options)(struct seq_file * , struct dentry * ) ;
2980 int (*show_devname)(struct seq_file * , struct dentry * ) ;
2981 int (*show_path)(struct seq_file * , struct dentry * ) ;
2982 int (*show_stats)(struct seq_file * , struct dentry * ) ;
2983 ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ;
2984 ssize_t (*quota_write)(struct super_block * , int , char const * , size_t ,
2985 loff_t ) ;
2986 int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
2987 int (*nr_cached_objects)(struct super_block * ) ;
2988 void (*free_cached_objects)(struct super_block * , int ) ;
2989};
2990#line 1835 "include/linux/fs.h"
2991struct file_system_type {
2992 char const *name ;
2993 int fs_flags ;
2994 struct dentry *(*mount)(struct file_system_type * , int , char const * , void * ) ;
2995 void (*kill_sb)(struct super_block * ) ;
2996 struct module *owner ;
2997 struct file_system_type *next ;
2998 struct hlist_head fs_supers ;
2999 struct lock_class_key s_lock_key ;
3000 struct lock_class_key s_umount_key ;
3001 struct lock_class_key s_vfs_rename_key ;
3002 struct lock_class_key i_lock_key ;
3003 struct lock_class_key i_mutex_key ;
3004 struct lock_class_key i_mutex_dir_key ;
3005};
3006#line 2648
3007struct ctl_table;
3008#line 58 "include/linux/aio_abi.h"
3009struct io_event {
3010 __u64 data ;
3011 __u64 obj ;
3012 __s64 res ;
3013 __s64 res2 ;
3014};
3015#line 7 "include/asm-generic/cputime.h"
3016typedef unsigned long cputime_t;
3017#line 10 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3018struct siginfo;
3019#line 10
3020struct siginfo;
3021#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3022struct __anonstruct_sigset_t_245 {
3023 unsigned long sig[1] ;
3024};
3025#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3026typedef struct __anonstruct_sigset_t_245 sigset_t;
3027#line 17 "include/asm-generic/signal-defs.h"
3028typedef void __signalfn_t(int );
3029#line 18 "include/asm-generic/signal-defs.h"
3030typedef __signalfn_t *__sighandler_t;
3031#line 20 "include/asm-generic/signal-defs.h"
3032typedef void __restorefn_t(void);
3033#line 21 "include/asm-generic/signal-defs.h"
3034typedef __restorefn_t *__sigrestore_t;
3035#line 167 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3036struct sigaction {
3037 __sighandler_t sa_handler ;
3038 unsigned long sa_flags ;
3039 __sigrestore_t sa_restorer ;
3040 sigset_t sa_mask ;
3041};
3042#line 174 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3043struct k_sigaction {
3044 struct sigaction sa ;
3045};
3046#line 7 "include/asm-generic/siginfo.h"
3047union sigval {
3048 int sival_int ;
3049 void *sival_ptr ;
3050};
3051#line 7 "include/asm-generic/siginfo.h"
3052typedef union sigval sigval_t;
3053#line 48 "include/asm-generic/siginfo.h"
3054struct __anonstruct__kill_247 {
3055 __kernel_pid_t _pid ;
3056 __kernel_uid32_t _uid ;
3057};
3058#line 48 "include/asm-generic/siginfo.h"
3059struct __anonstruct__timer_248 {
3060 __kernel_timer_t _tid ;
3061 int _overrun ;
3062 char _pad[sizeof(__kernel_uid32_t ) - sizeof(int )] ;
3063 sigval_t _sigval ;
3064 int _sys_private ;
3065};
3066#line 48 "include/asm-generic/siginfo.h"
3067struct __anonstruct__rt_249 {
3068 __kernel_pid_t _pid ;
3069 __kernel_uid32_t _uid ;
3070 sigval_t _sigval ;
3071};
3072#line 48 "include/asm-generic/siginfo.h"
3073struct __anonstruct__sigchld_250 {
3074 __kernel_pid_t _pid ;
3075 __kernel_uid32_t _uid ;
3076 int _status ;
3077 __kernel_clock_t _utime ;
3078 __kernel_clock_t _stime ;
3079};
3080#line 48 "include/asm-generic/siginfo.h"
3081struct __anonstruct__sigfault_251 {
3082 void *_addr ;
3083 short _addr_lsb ;
3084};
3085#line 48 "include/asm-generic/siginfo.h"
3086struct __anonstruct__sigpoll_252 {
3087 long _band ;
3088 int _fd ;
3089};
3090#line 48 "include/asm-generic/siginfo.h"
3091union __anonunion__sifields_246 {
3092 int _pad[(128UL - 4UL * sizeof(int )) / sizeof(int )] ;
3093 struct __anonstruct__kill_247 _kill ;
3094 struct __anonstruct__timer_248 _timer ;
3095 struct __anonstruct__rt_249 _rt ;
3096 struct __anonstruct__sigchld_250 _sigchld ;
3097 struct __anonstruct__sigfault_251 _sigfault ;
3098 struct __anonstruct__sigpoll_252 _sigpoll ;
3099};
3100#line 48 "include/asm-generic/siginfo.h"
3101struct siginfo {
3102 int si_signo ;
3103 int si_errno ;
3104 int si_code ;
3105 union __anonunion__sifields_246 _sifields ;
3106};
3107#line 48 "include/asm-generic/siginfo.h"
3108typedef struct siginfo siginfo_t;
3109#line 288
3110struct siginfo;
3111#line 10 "include/linux/signal.h"
3112struct task_struct;
3113#line 28 "include/linux/signal.h"
3114struct sigpending {
3115 struct list_head list ;
3116 sigset_t signal ;
3117};
3118#line 239
3119struct timespec;
3120#line 240
3121struct pt_regs;
3122#line 10 "include/linux/seccomp.h"
3123struct __anonstruct_seccomp_t_255 {
3124 int mode ;
3125};
3126#line 10 "include/linux/seccomp.h"
3127typedef struct __anonstruct_seccomp_t_255 seccomp_t;
3128#line 40 "include/linux/rtmutex.h"
3129struct rt_mutex_waiter;
3130#line 40
3131struct rt_mutex_waiter;
3132#line 42 "include/linux/resource.h"
3133struct rlimit {
3134 unsigned long rlim_cur ;
3135 unsigned long rlim_max ;
3136};
3137#line 81
3138struct task_struct;
3139#line 11 "include/linux/task_io_accounting.h"
3140struct task_io_accounting {
3141 u64 rchar ;
3142 u64 wchar ;
3143 u64 syscr ;
3144 u64 syscw ;
3145 u64 read_bytes ;
3146 u64 write_bytes ;
3147 u64 cancelled_write_bytes ;
3148};
3149#line 13 "include/linux/latencytop.h"
3150struct task_struct;
3151#line 20 "include/linux/latencytop.h"
3152struct latency_record {
3153 unsigned long backtrace[12] ;
3154 unsigned int count ;
3155 unsigned long time ;
3156 unsigned long max ;
3157};
3158#line 29 "include/linux/sysctl.h"
3159struct completion;
3160#line 938
3161struct ctl_table;
3162#line 939
3163struct nsproxy;
3164#line 939
3165struct nsproxy;
3166#line 940
3167struct ctl_table_root;
3168#line 940
3169struct ctl_table_root;
3170#line 941
3171struct ctl_table_header;
3172#line 941
3173struct ctl_table_header;
3174#line 942
3175struct ctl_dir;
3176#line 942
3177struct ctl_dir;
3178#line 946 "include/linux/sysctl.h"
3179typedef int proc_handler(struct ctl_table *ctl , int write , void *buffer , size_t *lenp ,
3180 loff_t *ppos );
3181#line 996 "include/linux/sysctl.h"
3182struct ctl_table_poll {
3183 atomic_t event ;
3184 wait_queue_head_t wait ;
3185};
3186#line 1014 "include/linux/sysctl.h"
3187struct ctl_table {
3188 char const *procname ;
3189 void *data ;
3190 int maxlen ;
3191 umode_t mode ;
3192 struct ctl_table *child ;
3193 proc_handler *proc_handler ;
3194 struct ctl_table_poll *poll ;
3195 void *extra1 ;
3196 void *extra2 ;
3197};
3198#line 1027 "include/linux/sysctl.h"
3199struct ctl_node {
3200 struct rb_node node ;
3201 struct ctl_table_header *header ;
3202};
3203#line 1034 "include/linux/sysctl.h"
3204struct __anonstruct____missing_field_name_311 {
3205 struct ctl_table *ctl_table ;
3206 int used ;
3207 int count ;
3208 int nreg ;
3209};
3210#line 1034 "include/linux/sysctl.h"
3211union __anonunion____missing_field_name_310 {
3212 struct __anonstruct____missing_field_name_311 __annonCompField48 ;
3213 struct rcu_head rcu ;
3214};
3215#line 1034
3216struct ctl_table_set;
3217#line 1034 "include/linux/sysctl.h"
3218struct ctl_table_header {
3219 union __anonunion____missing_field_name_310 __annonCompField49 ;
3220 struct completion *unregistering ;
3221 struct ctl_table *ctl_table_arg ;
3222 struct ctl_table_root *root ;
3223 struct ctl_table_set *set ;
3224 struct ctl_dir *parent ;
3225 struct ctl_node *node ;
3226};
3227#line 1053 "include/linux/sysctl.h"
3228struct ctl_dir {
3229 struct ctl_table_header header ;
3230 struct rb_root root ;
3231};
3232#line 1059 "include/linux/sysctl.h"
3233struct ctl_table_set {
3234 int (*is_seen)(struct ctl_table_set * ) ;
3235 struct ctl_dir dir ;
3236};
3237#line 1064 "include/linux/sysctl.h"
3238struct ctl_table_root {
3239 struct ctl_table_set default_set ;
3240 struct ctl_table_set *(*lookup)(struct ctl_table_root *root , struct nsproxy *namespaces ) ;
3241 int (*permissions)(struct ctl_table_root *root , struct nsproxy *namespaces , struct ctl_table *table ) ;
3242};
3243#line 29 "include/linux/key.h"
3244typedef int32_t key_serial_t;
3245#line 32 "include/linux/key.h"
3246typedef uint32_t key_perm_t;
3247#line 34
3248struct key;
3249#line 34
3250struct key;
3251#line 74
3252struct seq_file;
3253#line 75
3254struct user_struct;
3255#line 76
3256struct signal_struct;
3257#line 76
3258struct signal_struct;
3259#line 77
3260struct cred;
3261#line 79
3262struct key_type;
3263#line 79
3264struct key_type;
3265#line 81
3266struct keyring_list;
3267#line 81
3268struct keyring_list;
3269#line 124
3270struct key_user;
3271#line 124 "include/linux/key.h"
3272union __anonunion____missing_field_name_312 {
3273 time_t expiry ;
3274 time_t revoked_at ;
3275};
3276#line 124 "include/linux/key.h"
3277union __anonunion_type_data_313 {
3278 struct list_head link ;
3279 unsigned long x[2] ;
3280 void *p[2] ;
3281 int reject_error ;
3282};
3283#line 124 "include/linux/key.h"
3284union __anonunion_payload_314 {
3285 unsigned long value ;
3286 void *rcudata ;
3287 void *data ;
3288 struct keyring_list *subscriptions ;
3289};
3290#line 124 "include/linux/key.h"
3291struct key {
3292 atomic_t usage ;
3293 key_serial_t serial ;
3294 struct rb_node serial_node ;
3295 struct key_type *type ;
3296 struct rw_semaphore sem ;
3297 struct key_user *user ;
3298 void *security ;
3299 union __anonunion____missing_field_name_312 __annonCompField50 ;
3300 uid_t uid ;
3301 gid_t gid ;
3302 key_perm_t perm ;
3303 unsigned short quotalen ;
3304 unsigned short datalen ;
3305 unsigned long flags ;
3306 char *description ;
3307 union __anonunion_type_data_313 type_data ;
3308 union __anonunion_payload_314 payload ;
3309};
3310#line 18 "include/linux/selinux.h"
3311struct audit_context;
3312#line 18
3313struct audit_context;
3314#line 21 "include/linux/cred.h"
3315struct user_struct;
3316#line 22
3317struct cred;
3318#line 23
3319struct inode;
3320#line 31 "include/linux/cred.h"
3321struct group_info {
3322 atomic_t usage ;
3323 int ngroups ;
3324 int nblocks ;
3325 gid_t small_block[32] ;
3326 gid_t *blocks[0] ;
3327};
3328#line 83 "include/linux/cred.h"
3329struct thread_group_cred {
3330 atomic_t usage ;
3331 pid_t tgid ;
3332 spinlock_t lock ;
3333 struct key *session_keyring ;
3334 struct key *process_keyring ;
3335 struct rcu_head rcu ;
3336};
3337#line 116 "include/linux/cred.h"
3338struct cred {
3339 atomic_t usage ;
3340 atomic_t subscribers ;
3341 void *put_addr ;
3342 unsigned int magic ;
3343 uid_t uid ;
3344 gid_t gid ;
3345 uid_t suid ;
3346 gid_t sgid ;
3347 uid_t euid ;
3348 gid_t egid ;
3349 uid_t fsuid ;
3350 gid_t fsgid ;
3351 unsigned int securebits ;
3352 kernel_cap_t cap_inheritable ;
3353 kernel_cap_t cap_permitted ;
3354 kernel_cap_t cap_effective ;
3355 kernel_cap_t cap_bset ;
3356 unsigned char jit_keyring ;
3357 struct key *thread_keyring ;
3358 struct key *request_key_auth ;
3359 struct thread_group_cred *tgcred ;
3360 void *security ;
3361 struct user_struct *user ;
3362 struct user_namespace *user_ns ;
3363 struct group_info *group_info ;
3364 struct rcu_head rcu ;
3365};
3366#line 61 "include/linux/llist.h"
3367struct llist_node;
3368#line 65 "include/linux/llist.h"
3369struct llist_node {
3370 struct llist_node *next ;
3371};
3372#line 97 "include/linux/sched.h"
3373struct futex_pi_state;
3374#line 97
3375struct futex_pi_state;
3376#line 98
3377struct robust_list_head;
3378#line 98
3379struct robust_list_head;
3380#line 99
3381struct bio_list;
3382#line 99
3383struct bio_list;
3384#line 100
3385struct fs_struct;
3386#line 100
3387struct fs_struct;
3388#line 101
3389struct perf_event_context;
3390#line 101
3391struct perf_event_context;
3392#line 102
3393struct blk_plug;
3394#line 102
3395struct blk_plug;
3396#line 150
3397struct seq_file;
3398#line 151
3399struct cfs_rq;
3400#line 151
3401struct cfs_rq;
3402#line 259
3403struct task_struct;
3404#line 366
3405struct nsproxy;
3406#line 367
3407struct user_namespace;
3408#line 15 "include/linux/aio.h"
3409struct kioctx;
3410#line 15
3411struct kioctx;
3412#line 87 "include/linux/aio.h"
3413union __anonunion_ki_obj_315 {
3414 void *user ;
3415 struct task_struct *tsk ;
3416};
3417#line 87
3418struct eventfd_ctx;
3419#line 87 "include/linux/aio.h"
3420struct kiocb {
3421 struct list_head ki_run_list ;
3422 unsigned long ki_flags ;
3423 int ki_users ;
3424 unsigned int ki_key ;
3425 struct file *ki_filp ;
3426 struct kioctx *ki_ctx ;
3427 int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
3428 ssize_t (*ki_retry)(struct kiocb * ) ;
3429 void (*ki_dtor)(struct kiocb * ) ;
3430 union __anonunion_ki_obj_315 ki_obj ;
3431 __u64 ki_user_data ;
3432 loff_t ki_pos ;
3433 void *private ;
3434 unsigned short ki_opcode ;
3435 size_t ki_nbytes ;
3436 char *ki_buf ;
3437 size_t ki_left ;
3438 struct iovec ki_inline_vec ;
3439 struct iovec *ki_iovec ;
3440 unsigned long ki_nr_segs ;
3441 unsigned long ki_cur_seg ;
3442 struct list_head ki_list ;
3443 struct list_head ki_batch ;
3444 struct eventfd_ctx *ki_eventfd ;
3445};
3446#line 166 "include/linux/aio.h"
3447struct aio_ring_info {
3448 unsigned long mmap_base ;
3449 unsigned long mmap_size ;
3450 struct page **ring_pages ;
3451 spinlock_t ring_lock ;
3452 long nr_pages ;
3453 unsigned int nr ;
3454 unsigned int tail ;
3455 struct page *internal_pages[8] ;
3456};
3457#line 179 "include/linux/aio.h"
3458struct kioctx {
3459 atomic_t users ;
3460 int dead ;
3461 struct mm_struct *mm ;
3462 unsigned long user_id ;
3463 struct hlist_node list ;
3464 wait_queue_head_t wait ;
3465 spinlock_t ctx_lock ;
3466 int reqs_active ;
3467 struct list_head active_reqs ;
3468 struct list_head run_list ;
3469 unsigned int max_reqs ;
3470 struct aio_ring_info ring_info ;
3471 struct delayed_work wq ;
3472 struct rcu_head rcu_head ;
3473};
3474#line 214
3475struct mm_struct;
3476#line 443 "include/linux/sched.h"
3477struct sighand_struct {
3478 atomic_t count ;
3479 struct k_sigaction action[64] ;
3480 spinlock_t siglock ;
3481 wait_queue_head_t signalfd_wqh ;
3482};
3483#line 450 "include/linux/sched.h"
3484struct pacct_struct {
3485 int ac_flag ;
3486 long ac_exitcode ;
3487 unsigned long ac_mem ;
3488 cputime_t ac_utime ;
3489 cputime_t ac_stime ;
3490 unsigned long ac_minflt ;
3491 unsigned long ac_majflt ;
3492};
3493#line 458 "include/linux/sched.h"
3494struct cpu_itimer {
3495 cputime_t expires ;
3496 cputime_t incr ;
3497 u32 error ;
3498 u32 incr_error ;
3499};
3500#line 476 "include/linux/sched.h"
3501struct task_cputime {
3502 cputime_t utime ;
3503 cputime_t stime ;
3504 unsigned long long sum_exec_runtime ;
3505};
3506#line 512 "include/linux/sched.h"
3507struct thread_group_cputimer {
3508 struct task_cputime cputime ;
3509 int running ;
3510 raw_spinlock_t lock ;
3511};
3512#line 519
3513struct autogroup;
3514#line 519
3515struct autogroup;
3516#line 528
3517struct tty_struct;
3518#line 528
3519struct taskstats;
3520#line 528
3521struct tty_audit_buf;
3522#line 528 "include/linux/sched.h"
3523struct signal_struct {
3524 atomic_t sigcnt ;
3525 atomic_t live ;
3526 int nr_threads ;
3527 wait_queue_head_t wait_chldexit ;
3528 struct task_struct *curr_target ;
3529 struct sigpending shared_pending ;
3530 int group_exit_code ;
3531 int notify_count ;
3532 struct task_struct *group_exit_task ;
3533 int group_stop_count ;
3534 unsigned int flags ;
3535 unsigned int is_child_subreaper : 1 ;
3536 unsigned int has_child_subreaper : 1 ;
3537 struct list_head posix_timers ;
3538 struct hrtimer real_timer ;
3539 struct pid *leader_pid ;
3540 ktime_t it_real_incr ;
3541 struct cpu_itimer it[2] ;
3542 struct thread_group_cputimer cputimer ;
3543 struct task_cputime cputime_expires ;
3544 struct list_head cpu_timers[3] ;
3545 struct pid *tty_old_pgrp ;
3546 int leader ;
3547 struct tty_struct *tty ;
3548 struct autogroup *autogroup ;
3549 cputime_t utime ;
3550 cputime_t stime ;
3551 cputime_t cutime ;
3552 cputime_t cstime ;
3553 cputime_t gtime ;
3554 cputime_t cgtime ;
3555 cputime_t prev_utime ;
3556 cputime_t prev_stime ;
3557 unsigned long nvcsw ;
3558 unsigned long nivcsw ;
3559 unsigned long cnvcsw ;
3560 unsigned long cnivcsw ;
3561 unsigned long min_flt ;
3562 unsigned long maj_flt ;
3563 unsigned long cmin_flt ;
3564 unsigned long cmaj_flt ;
3565 unsigned long inblock ;
3566 unsigned long oublock ;
3567 unsigned long cinblock ;
3568 unsigned long coublock ;
3569 unsigned long maxrss ;
3570 unsigned long cmaxrss ;
3571 struct task_io_accounting ioac ;
3572 unsigned long long sum_sched_runtime ;
3573 struct rlimit rlim[16] ;
3574 struct pacct_struct pacct ;
3575 struct taskstats *stats ;
3576 unsigned int audit_tty ;
3577 struct tty_audit_buf *tty_audit_buf ;
3578 struct rw_semaphore group_rwsem ;
3579 int oom_adj ;
3580 int oom_score_adj ;
3581 int oom_score_adj_min ;
3582 struct mutex cred_guard_mutex ;
3583};
3584#line 703 "include/linux/sched.h"
3585struct user_struct {
3586 atomic_t __count ;
3587 atomic_t processes ;
3588 atomic_t files ;
3589 atomic_t sigpending ;
3590 atomic_t inotify_watches ;
3591 atomic_t inotify_devs ;
3592 atomic_t fanotify_listeners ;
3593 atomic_long_t epoll_watches ;
3594 unsigned long mq_bytes ;
3595 unsigned long locked_shm ;
3596 struct key *uid_keyring ;
3597 struct key *session_keyring ;
3598 struct hlist_node uidhash_node ;
3599 uid_t uid ;
3600 struct user_namespace *user_ns ;
3601 atomic_long_t locked_vm ;
3602};
3603#line 747
3604struct backing_dev_info;
3605#line 748
3606struct reclaim_state;
3607#line 748
3608struct reclaim_state;
3609#line 751 "include/linux/sched.h"
3610struct sched_info {
3611 unsigned long pcount ;
3612 unsigned long long run_delay ;
3613 unsigned long long last_arrival ;
3614 unsigned long long last_queued ;
3615};
3616#line 763 "include/linux/sched.h"
3617struct task_delay_info {
3618 spinlock_t lock ;
3619 unsigned int flags ;
3620 struct timespec blkio_start ;
3621 struct timespec blkio_end ;
3622 u64 blkio_delay ;
3623 u64 swapin_delay ;
3624 u32 blkio_count ;
3625 u32 swapin_count ;
3626 struct timespec freepages_start ;
3627 struct timespec freepages_end ;
3628 u64 freepages_delay ;
3629 u32 freepages_count ;
3630};
3631#line 1088
3632struct io_context;
3633#line 1088
3634struct io_context;
3635#line 1097
3636struct audit_context;
3637#line 1098
3638struct mempolicy;
3639#line 1099
3640struct pipe_inode_info;
3641#line 1102
3642struct rq;
3643#line 1102
3644struct rq;
3645#line 1122 "include/linux/sched.h"
3646struct sched_class {
3647 struct sched_class const *next ;
3648 void (*enqueue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
3649 void (*dequeue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
3650 void (*yield_task)(struct rq *rq ) ;
3651 bool (*yield_to_task)(struct rq *rq , struct task_struct *p , bool preempt ) ;
3652 void (*check_preempt_curr)(struct rq *rq , struct task_struct *p , int flags ) ;
3653 struct task_struct *(*pick_next_task)(struct rq *rq ) ;
3654 void (*put_prev_task)(struct rq *rq , struct task_struct *p ) ;
3655 int (*select_task_rq)(struct task_struct *p , int sd_flag , int flags ) ;
3656 void (*pre_schedule)(struct rq *this_rq , struct task_struct *task ) ;
3657 void (*post_schedule)(struct rq *this_rq ) ;
3658 void (*task_waking)(struct task_struct *task ) ;
3659 void (*task_woken)(struct rq *this_rq , struct task_struct *task ) ;
3660 void (*set_cpus_allowed)(struct task_struct *p , struct cpumask const *newmask ) ;
3661 void (*rq_online)(struct rq *rq ) ;
3662 void (*rq_offline)(struct rq *rq ) ;
3663 void (*set_curr_task)(struct rq *rq ) ;
3664 void (*task_tick)(struct rq *rq , struct task_struct *p , int queued ) ;
3665 void (*task_fork)(struct task_struct *p ) ;
3666 void (*switched_from)(struct rq *this_rq , struct task_struct *task ) ;
3667 void (*switched_to)(struct rq *this_rq , struct task_struct *task ) ;
3668 void (*prio_changed)(struct rq *this_rq , struct task_struct *task , int oldprio ) ;
3669 unsigned int (*get_rr_interval)(struct rq *rq , struct task_struct *task ) ;
3670 void (*task_move_group)(struct task_struct *p , int on_rq ) ;
3671};
3672#line 1167 "include/linux/sched.h"
3673struct load_weight {
3674 unsigned long weight ;
3675 unsigned long inv_weight ;
3676};
3677#line 1172 "include/linux/sched.h"
3678struct sched_statistics {
3679 u64 wait_start ;
3680 u64 wait_max ;
3681 u64 wait_count ;
3682 u64 wait_sum ;
3683 u64 iowait_count ;
3684 u64 iowait_sum ;
3685 u64 sleep_start ;
3686 u64 sleep_max ;
3687 s64 sum_sleep_runtime ;
3688 u64 block_start ;
3689 u64 block_max ;
3690 u64 exec_max ;
3691 u64 slice_max ;
3692 u64 nr_migrations_cold ;
3693 u64 nr_failed_migrations_affine ;
3694 u64 nr_failed_migrations_running ;
3695 u64 nr_failed_migrations_hot ;
3696 u64 nr_forced_migrations ;
3697 u64 nr_wakeups ;
3698 u64 nr_wakeups_sync ;
3699 u64 nr_wakeups_migrate ;
3700 u64 nr_wakeups_local ;
3701 u64 nr_wakeups_remote ;
3702 u64 nr_wakeups_affine ;
3703 u64 nr_wakeups_affine_attempts ;
3704 u64 nr_wakeups_passive ;
3705 u64 nr_wakeups_idle ;
3706};
3707#line 1207 "include/linux/sched.h"
3708struct sched_entity {
3709 struct load_weight load ;
3710 struct rb_node run_node ;
3711 struct list_head group_node ;
3712 unsigned int on_rq ;
3713 u64 exec_start ;
3714 u64 sum_exec_runtime ;
3715 u64 vruntime ;
3716 u64 prev_sum_exec_runtime ;
3717 u64 nr_migrations ;
3718 struct sched_statistics statistics ;
3719 struct sched_entity *parent ;
3720 struct cfs_rq *cfs_rq ;
3721 struct cfs_rq *my_q ;
3722};
3723#line 1233
3724struct rt_rq;
3725#line 1233 "include/linux/sched.h"
3726struct sched_rt_entity {
3727 struct list_head run_list ;
3728 unsigned long timeout ;
3729 unsigned int time_slice ;
3730 int nr_cpus_allowed ;
3731 struct sched_rt_entity *back ;
3732 struct sched_rt_entity *parent ;
3733 struct rt_rq *rt_rq ;
3734 struct rt_rq *my_q ;
3735};
3736#line 1264
3737struct css_set;
3738#line 1264
3739struct compat_robust_list_head;
3740#line 1264
3741struct mem_cgroup;
3742#line 1264 "include/linux/sched.h"
3743struct memcg_batch_info {
3744 int do_batch ;
3745 struct mem_cgroup *memcg ;
3746 unsigned long nr_pages ;
3747 unsigned long memsw_nr_pages ;
3748};
3749#line 1264 "include/linux/sched.h"
3750struct task_struct {
3751 long volatile state ;
3752 void *stack ;
3753 atomic_t usage ;
3754 unsigned int flags ;
3755 unsigned int ptrace ;
3756 struct llist_node wake_entry ;
3757 int on_cpu ;
3758 int on_rq ;
3759 int prio ;
3760 int static_prio ;
3761 int normal_prio ;
3762 unsigned int rt_priority ;
3763 struct sched_class const *sched_class ;
3764 struct sched_entity se ;
3765 struct sched_rt_entity rt ;
3766 struct hlist_head preempt_notifiers ;
3767 unsigned char fpu_counter ;
3768 unsigned int policy ;
3769 cpumask_t cpus_allowed ;
3770 struct sched_info sched_info ;
3771 struct list_head tasks ;
3772 struct plist_node pushable_tasks ;
3773 struct mm_struct *mm ;
3774 struct mm_struct *active_mm ;
3775 unsigned int brk_randomized : 1 ;
3776 int exit_state ;
3777 int exit_code ;
3778 int exit_signal ;
3779 int pdeath_signal ;
3780 unsigned int jobctl ;
3781 unsigned int personality ;
3782 unsigned int did_exec : 1 ;
3783 unsigned int in_execve : 1 ;
3784 unsigned int in_iowait : 1 ;
3785 unsigned int sched_reset_on_fork : 1 ;
3786 unsigned int sched_contributes_to_load : 1 ;
3787 unsigned int irq_thread : 1 ;
3788 pid_t pid ;
3789 pid_t tgid ;
3790 unsigned long stack_canary ;
3791 struct task_struct *real_parent ;
3792 struct task_struct *parent ;
3793 struct list_head children ;
3794 struct list_head sibling ;
3795 struct task_struct *group_leader ;
3796 struct list_head ptraced ;
3797 struct list_head ptrace_entry ;
3798 struct pid_link pids[3] ;
3799 struct list_head thread_group ;
3800 struct completion *vfork_done ;
3801 int *set_child_tid ;
3802 int *clear_child_tid ;
3803 cputime_t utime ;
3804 cputime_t stime ;
3805 cputime_t utimescaled ;
3806 cputime_t stimescaled ;
3807 cputime_t gtime ;
3808 cputime_t prev_utime ;
3809 cputime_t prev_stime ;
3810 unsigned long nvcsw ;
3811 unsigned long nivcsw ;
3812 struct timespec start_time ;
3813 struct timespec real_start_time ;
3814 unsigned long min_flt ;
3815 unsigned long maj_flt ;
3816 struct task_cputime cputime_expires ;
3817 struct list_head cpu_timers[3] ;
3818 struct cred const *real_cred ;
3819 struct cred const *cred ;
3820 struct cred *replacement_session_keyring ;
3821 char comm[16] ;
3822 int link_count ;
3823 int total_link_count ;
3824 struct sysv_sem sysvsem ;
3825 unsigned long last_switch_count ;
3826 struct thread_struct thread ;
3827 struct fs_struct *fs ;
3828 struct files_struct *files ;
3829 struct nsproxy *nsproxy ;
3830 struct signal_struct *signal ;
3831 struct sighand_struct *sighand ;
3832 sigset_t blocked ;
3833 sigset_t real_blocked ;
3834 sigset_t saved_sigmask ;
3835 struct sigpending pending ;
3836 unsigned long sas_ss_sp ;
3837 size_t sas_ss_size ;
3838 int (*notifier)(void *priv ) ;
3839 void *notifier_data ;
3840 sigset_t *notifier_mask ;
3841 struct audit_context *audit_context ;
3842 uid_t loginuid ;
3843 unsigned int sessionid ;
3844 seccomp_t seccomp ;
3845 u32 parent_exec_id ;
3846 u32 self_exec_id ;
3847 spinlock_t alloc_lock ;
3848 raw_spinlock_t pi_lock ;
3849 struct plist_head pi_waiters ;
3850 struct rt_mutex_waiter *pi_blocked_on ;
3851 struct mutex_waiter *blocked_on ;
3852 unsigned int irq_events ;
3853 unsigned long hardirq_enable_ip ;
3854 unsigned long hardirq_disable_ip ;
3855 unsigned int hardirq_enable_event ;
3856 unsigned int hardirq_disable_event ;
3857 int hardirqs_enabled ;
3858 int hardirq_context ;
3859 unsigned long softirq_disable_ip ;
3860 unsigned long softirq_enable_ip ;
3861 unsigned int softirq_disable_event ;
3862 unsigned int softirq_enable_event ;
3863 int softirqs_enabled ;
3864 int softirq_context ;
3865 void *journal_info ;
3866 struct bio_list *bio_list ;
3867 struct blk_plug *plug ;
3868 struct reclaim_state *reclaim_state ;
3869 struct backing_dev_info *backing_dev_info ;
3870 struct io_context *io_context ;
3871 unsigned long ptrace_message ;
3872 siginfo_t *last_siginfo ;
3873 struct task_io_accounting ioac ;
3874 u64 acct_rss_mem1 ;
3875 u64 acct_vm_mem1 ;
3876 cputime_t acct_timexpd ;
3877 nodemask_t mems_allowed ;
3878 seqcount_t mems_allowed_seq ;
3879 int cpuset_mem_spread_rotor ;
3880 int cpuset_slab_spread_rotor ;
3881 struct css_set *cgroups ;
3882 struct list_head cg_list ;
3883 struct robust_list_head *robust_list ;
3884 struct compat_robust_list_head *compat_robust_list ;
3885 struct list_head pi_state_list ;
3886 struct futex_pi_state *pi_state_cache ;
3887 struct perf_event_context *perf_event_ctxp[2] ;
3888 struct mutex perf_event_mutex ;
3889 struct list_head perf_event_list ;
3890 struct mempolicy *mempolicy ;
3891 short il_next ;
3892 short pref_node_fork ;
3893 struct rcu_head rcu ;
3894 struct pipe_inode_info *splice_pipe ;
3895 struct task_delay_info *delays ;
3896 int make_it_fail ;
3897 int nr_dirtied ;
3898 int nr_dirtied_pause ;
3899 unsigned long dirty_paused_when ;
3900 int latency_record_count ;
3901 struct latency_record latency_record[32] ;
3902 unsigned long timer_slack_ns ;
3903 unsigned long default_timer_slack_ns ;
3904 struct list_head *scm_work_list ;
3905 unsigned long trace ;
3906 unsigned long trace_recursion ;
3907 struct memcg_batch_info memcg_batch ;
3908 atomic_t ptrace_bp_refcnt ;
3909};
3910#line 1681
3911struct pid_namespace;
3912#line 39 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/compat.h"
3913typedef s32 compat_long_t;
3914#line 212 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/compat.h"
3915typedef u32 compat_uptr_t;
3916#line 226 "include/linux/compat.h"
3917struct compat_robust_list {
3918 compat_uptr_t next ;
3919};
3920#line 230 "include/linux/compat.h"
3921struct compat_robust_list_head {
3922 struct compat_robust_list list ;
3923 compat_long_t futex_offset ;
3924 compat_uptr_t list_op_pending ;
3925};
3926#line 23 "include/linux/ethtool.h"
3927struct ethtool_cmd {
3928 __u32 cmd ;
3929 __u32 supported ;
3930 __u32 advertising ;
3931 __u16 speed ;
3932 __u8 duplex ;
3933 __u8 port ;
3934 __u8 phy_address ;
3935 __u8 transceiver ;
3936 __u8 autoneg ;
3937 __u8 mdio_support ;
3938 __u32 maxtxpkt ;
3939 __u32 maxrxpkt ;
3940 __u16 speed_hi ;
3941 __u8 eth_tp_mdix ;
3942 __u8 reserved2 ;
3943 __u32 lp_advertising ;
3944 __u32 reserved[2] ;
3945};
3946#line 84 "include/linux/ethtool.h"
3947struct ethtool_drvinfo {
3948 __u32 cmd ;
3949 char driver[32] ;
3950 char version[32] ;
3951 char fw_version[32] ;
3952 char bus_info[32] ;
3953 char reserved1[32] ;
3954 char reserved2[12] ;
3955 __u32 n_priv_flags ;
3956 __u32 n_stats ;
3957 __u32 testinfo_len ;
3958 __u32 eedump_len ;
3959 __u32 regdump_len ;
3960};
3961#line 109 "include/linux/ethtool.h"
3962struct ethtool_wolinfo {
3963 __u32 cmd ;
3964 __u32 supported ;
3965 __u32 wolopts ;
3966 __u8 sopass[6] ;
3967};
3968#line 123 "include/linux/ethtool.h"
3969struct ethtool_regs {
3970 __u32 cmd ;
3971 __u32 version ;
3972 __u32 len ;
3973 __u8 data[0] ;
3974};
3975#line 131 "include/linux/ethtool.h"
3976struct ethtool_eeprom {
3977 __u32 cmd ;
3978 __u32 magic ;
3979 __u32 offset ;
3980 __u32 len ;
3981 __u8 data[0] ;
3982};
3983#line 211 "include/linux/ethtool.h"
3984struct ethtool_coalesce {
3985 __u32 cmd ;
3986 __u32 rx_coalesce_usecs ;
3987 __u32 rx_max_coalesced_frames ;
3988 __u32 rx_coalesce_usecs_irq ;
3989 __u32 rx_max_coalesced_frames_irq ;
3990 __u32 tx_coalesce_usecs ;
3991 __u32 tx_max_coalesced_frames ;
3992 __u32 tx_coalesce_usecs_irq ;
3993 __u32 tx_max_coalesced_frames_irq ;
3994 __u32 stats_block_coalesce_usecs ;
3995 __u32 use_adaptive_rx_coalesce ;
3996 __u32 use_adaptive_tx_coalesce ;
3997 __u32 pkt_rate_low ;
3998 __u32 rx_coalesce_usecs_low ;
3999 __u32 rx_max_coalesced_frames_low ;
4000 __u32 tx_coalesce_usecs_low ;
4001 __u32 tx_max_coalesced_frames_low ;
4002 __u32 pkt_rate_high ;
4003 __u32 rx_coalesce_usecs_high ;
4004 __u32 rx_max_coalesced_frames_high ;
4005 __u32 tx_coalesce_usecs_high ;
4006 __u32 tx_max_coalesced_frames_high ;
4007 __u32 rate_sample_interval ;
4008};
4009#line 238 "include/linux/ethtool.h"
4010struct ethtool_ringparam {
4011 __u32 cmd ;
4012 __u32 rx_max_pending ;
4013 __u32 rx_mini_max_pending ;
4014 __u32 rx_jumbo_max_pending ;
4015 __u32 tx_max_pending ;
4016 __u32 rx_pending ;
4017 __u32 rx_mini_pending ;
4018 __u32 rx_jumbo_pending ;
4019 __u32 tx_pending ;
4020};
4021#line 275 "include/linux/ethtool.h"
4022struct ethtool_channels {
4023 __u32 cmd ;
4024 __u32 max_rx ;
4025 __u32 max_tx ;
4026 __u32 max_other ;
4027 __u32 max_combined ;
4028 __u32 rx_count ;
4029 __u32 tx_count ;
4030 __u32 other_count ;
4031 __u32 combined_count ;
4032};
4033#line 288 "include/linux/ethtool.h"
4034struct ethtool_pauseparam {
4035 __u32 cmd ;
4036 __u32 autoneg ;
4037 __u32 rx_pause ;
4038 __u32 tx_pause ;
4039};
4040#line 352 "include/linux/ethtool.h"
4041struct ethtool_test {
4042 __u32 cmd ;
4043 __u32 flags ;
4044 __u32 reserved ;
4045 __u32 len ;
4046 __u64 data[0] ;
4047};
4048#line 361 "include/linux/ethtool.h"
4049struct ethtool_stats {
4050 __u32 cmd ;
4051 __u32 n_stats ;
4052 __u64 data[0] ;
4053};
4054#line 406 "include/linux/ethtool.h"
4055struct ethtool_tcpip4_spec {
4056 __be32 ip4src ;
4057 __be32 ip4dst ;
4058 __be16 psrc ;
4059 __be16 pdst ;
4060 __u8 tos ;
4061};
4062#line 423 "include/linux/ethtool.h"
4063struct ethtool_ah_espip4_spec {
4064 __be32 ip4src ;
4065 __be32 ip4dst ;
4066 __be32 spi ;
4067 __u8 tos ;
4068};
4069#line 441 "include/linux/ethtool.h"
4070struct ethtool_usrip4_spec {
4071 __be32 ip4src ;
4072 __be32 ip4dst ;
4073 __be32 l4_4_bytes ;
4074 __u8 tos ;
4075 __u8 ip_ver ;
4076 __u8 proto ;
4077};
4078#line 450 "include/linux/ethtool.h"
4079union ethtool_flow_union {
4080 struct ethtool_tcpip4_spec tcp_ip4_spec ;
4081 struct ethtool_tcpip4_spec udp_ip4_spec ;
4082 struct ethtool_tcpip4_spec sctp_ip4_spec ;
4083 struct ethtool_ah_espip4_spec ah_ip4_spec ;
4084 struct ethtool_ah_espip4_spec esp_ip4_spec ;
4085 struct ethtool_usrip4_spec usr_ip4_spec ;
4086 struct ethhdr ether_spec ;
4087 __u8 hdata[60] ;
4088};
4089#line 461 "include/linux/ethtool.h"
4090struct ethtool_flow_ext {
4091 __be16 vlan_etype ;
4092 __be16 vlan_tci ;
4093 __be32 data[2] ;
4094};
4095#line 482 "include/linux/ethtool.h"
4096struct ethtool_rx_flow_spec {
4097 __u32 flow_type ;
4098 union ethtool_flow_union h_u ;
4099 struct ethtool_flow_ext h_ext ;
4100 union ethtool_flow_union m_u ;
4101 struct ethtool_flow_ext m_ext ;
4102 __u64 ring_cookie ;
4103 __u32 location ;
4104};
4105#line 544 "include/linux/ethtool.h"
4106struct ethtool_rxnfc {
4107 __u32 cmd ;
4108 __u32 flow_type ;
4109 __u64 data ;
4110 struct ethtool_rx_flow_spec fs ;
4111 __u32 rule_cnt ;
4112 __u32 rule_locs[0] ;
4113};
4114#line 652 "include/linux/ethtool.h"
4115struct ethtool_flash {
4116 __u32 cmd ;
4117 __u32 region ;
4118 char data[128] ;
4119};
4120#line 670 "include/linux/ethtool.h"
4121struct ethtool_dump {
4122 __u32 cmd ;
4123 __u32 version ;
4124 __u32 flag ;
4125 __u32 len ;
4126 __u8 data[0] ;
4127};
4128#line 780
4129enum ethtool_phys_id_state {
4130 ETHTOOL_ID_INACTIVE = 0,
4131 ETHTOOL_ID_ACTIVE = 1,
4132 ETHTOOL_ID_ON = 2,
4133 ETHTOOL_ID_OFF = 3
4134} ;
4135#line 787
4136struct net_device;
4137#line 906 "include/linux/ethtool.h"
4138struct ethtool_ops {
4139 int (*get_settings)(struct net_device * , struct ethtool_cmd * ) ;
4140 int (*set_settings)(struct net_device * , struct ethtool_cmd * ) ;
4141 void (*get_drvinfo)(struct net_device * , struct ethtool_drvinfo * ) ;
4142 int (*get_regs_len)(struct net_device * ) ;
4143 void (*get_regs)(struct net_device * , struct ethtool_regs * , void * ) ;
4144 void (*get_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4145 int (*set_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4146 u32 (*get_msglevel)(struct net_device * ) ;
4147 void (*set_msglevel)(struct net_device * , u32 ) ;
4148 int (*nway_reset)(struct net_device * ) ;
4149 u32 (*get_link)(struct net_device * ) ;
4150 int (*get_eeprom_len)(struct net_device * ) ;
4151 int (*get_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4152 int (*set_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4153 int (*get_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4154 int (*set_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4155 void (*get_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4156 int (*set_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4157 void (*get_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4158 int (*set_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4159 void (*self_test)(struct net_device * , struct ethtool_test * , u64 * ) ;
4160 void (*get_strings)(struct net_device * , u32 stringset , u8 * ) ;
4161 int (*set_phys_id)(struct net_device * , enum ethtool_phys_id_state ) ;
4162 void (*get_ethtool_stats)(struct net_device * , struct ethtool_stats * , u64 * ) ;
4163 int (*begin)(struct net_device * ) ;
4164 void (*complete)(struct net_device * ) ;
4165 u32 (*get_priv_flags)(struct net_device * ) ;
4166 int (*set_priv_flags)(struct net_device * , u32 ) ;
4167 int (*get_sset_count)(struct net_device * , int ) ;
4168 int (*get_rxnfc)(struct net_device * , struct ethtool_rxnfc * , u32 *rule_locs ) ;
4169 int (*set_rxnfc)(struct net_device * , struct ethtool_rxnfc * ) ;
4170 int (*flash_device)(struct net_device * , struct ethtool_flash * ) ;
4171 int (*reset)(struct net_device * , u32 * ) ;
4172 u32 (*get_rxfh_indir_size)(struct net_device * ) ;
4173 int (*get_rxfh_indir)(struct net_device * , u32 * ) ;
4174 int (*set_rxfh_indir)(struct net_device * , u32 const * ) ;
4175 void (*get_channels)(struct net_device * , struct ethtool_channels * ) ;
4176 int (*set_channels)(struct net_device * , struct ethtool_channels * ) ;
4177 int (*get_dump_flag)(struct net_device * , struct ethtool_dump * ) ;
4178 int (*get_dump_data)(struct net_device * , struct ethtool_dump * , void * ) ;
4179 int (*set_dump)(struct net_device * , struct ethtool_dump * ) ;
4180};
4181#line 4 "include/net/netns/core.h"
4182struct ctl_table_header;
4183#line 5
4184struct prot_inuse;
4185#line 5
4186struct prot_inuse;
4187#line 7 "include/net/netns/core.h"
4188struct netns_core {
4189 struct ctl_table_header *sysctl_hdr ;
4190 int sysctl_somaxconn ;
4191 struct prot_inuse *inuse ;
4192};
4193#line 64 "include/linux/u64_stats_sync.h"
4194struct u64_stats_sync {
4195
4196};
4197#line 56 "include/net/snmp.h"
4198struct ipstats_mib {
4199 u64 mibs[31] ;
4200 struct u64_stats_sync syncp ;
4201};
4202#line 64 "include/net/snmp.h"
4203struct icmp_mib {
4204 unsigned long mibs[27] ;
4205};
4206#line 69 "include/net/snmp.h"
4207struct icmpmsg_mib {
4208 atomic_long_t mibs[512] ;
4209};
4210#line 76 "include/net/snmp.h"
4211struct icmpv6_mib {
4212 unsigned long mibs[5] ;
4213};
4214#line 86 "include/net/snmp.h"
4215struct icmpv6msg_mib {
4216 atomic_long_t mibs[512] ;
4217};
4218#line 97 "include/net/snmp.h"
4219struct tcp_mib {
4220 unsigned long mibs[15] ;
4221};
4222#line 103 "include/net/snmp.h"
4223struct udp_mib {
4224 unsigned long mibs[7] ;
4225};
4226#line 109 "include/net/snmp.h"
4227struct linux_mib {
4228 unsigned long mibs[83] ;
4229};
4230#line 115 "include/net/snmp.h"
4231struct linux_xfrm_mib {
4232 unsigned long mibs[27] ;
4233};
4234#line 6 "include/net/netns/mib.h"
4235struct proc_dir_entry;
4236#line 6 "include/net/netns/mib.h"
4237struct netns_mib {
4238 struct tcp_mib *tcp_statistics[1] ;
4239 struct ipstats_mib *ip_statistics[1] ;
4240 struct linux_mib *net_statistics[1] ;
4241 struct udp_mib *udp_statistics[1] ;
4242 struct udp_mib *udplite_statistics[1] ;
4243 struct icmp_mib *icmp_statistics[1] ;
4244 struct icmpmsg_mib *icmpmsg_statistics ;
4245 struct proc_dir_entry *proc_net_devsnmp6 ;
4246 struct udp_mib *udp_stats_in6[1] ;
4247 struct udp_mib *udplite_stats_in6[1] ;
4248 struct ipstats_mib *ipv6_statistics[1] ;
4249 struct icmpv6_mib *icmpv6_statistics[1] ;
4250 struct icmpv6msg_mib *icmpv6msg_statistics ;
4251 struct linux_xfrm_mib *xfrm_statistics[1] ;
4252};
4253#line 7 "include/net/netns/unix.h"
4254struct ctl_table_header;
4255#line 8 "include/net/netns/unix.h"
4256struct netns_unix {
4257 int sysctl_max_dgram_qlen ;
4258 struct ctl_table_header *ctl ;
4259};
4260#line 10 "include/net/netns/packet.h"
4261struct netns_packet {
4262 spinlock_t sklist_lock ;
4263 struct hlist_head sklist ;
4264};
4265#line 4 "include/net/inet_frag.h"
4266struct netns_frags {
4267 int nqueues ;
4268 atomic_t mem ;
4269 struct list_head lru_list ;
4270 int timeout ;
4271 int high_thresh ;
4272 int low_thresh ;
4273};
4274#line 10 "include/net/netns/ipv4.h"
4275struct ctl_table_header;
4276#line 11
4277struct ipv4_devconf;
4278#line 11
4279struct ipv4_devconf;
4280#line 12
4281struct fib_rules_ops;
4282#line 12
4283struct fib_rules_ops;
4284#line 13
4285struct hlist_head;
4286#line 14
4287struct sock;
4288#line 16
4289struct xt_table;
4290#line 16 "include/net/netns/ipv4.h"
4291struct netns_ipv4 {
4292 struct ctl_table_header *forw_hdr ;
4293 struct ctl_table_header *frags_hdr ;
4294 struct ctl_table_header *ipv4_hdr ;
4295 struct ctl_table_header *route_hdr ;
4296 struct ipv4_devconf *devconf_all ;
4297 struct ipv4_devconf *devconf_dflt ;
4298 struct fib_rules_ops *rules_ops ;
4299 struct hlist_head *fib_table_hash ;
4300 struct sock *fibnl ;
4301 struct sock **icmp_sk ;
4302 struct sock *tcp_sock ;
4303 struct netns_frags frags ;
4304 struct xt_table *iptable_filter ;
4305 struct xt_table *iptable_mangle ;
4306 struct xt_table *iptable_raw ;
4307 struct xt_table *arptable_filter ;
4308 struct xt_table *iptable_security ;
4309 struct xt_table *nat_table ;
4310 struct hlist_head *nat_bysource ;
4311 unsigned int nat_htable_size ;
4312 int sysctl_icmp_echo_ignore_all ;
4313 int sysctl_icmp_echo_ignore_broadcasts ;
4314 int sysctl_icmp_ignore_bogus_error_responses ;
4315 int sysctl_icmp_ratelimit ;
4316 int sysctl_icmp_ratemask ;
4317 int sysctl_icmp_errors_use_inbound_ifaddr ;
4318 int sysctl_rt_cache_rebuild_count ;
4319 int current_rt_cache_rebuild_count ;
4320 unsigned int sysctl_ping_group_range[2] ;
4321 long sysctl_tcp_mem[3] ;
4322 atomic_t rt_genid ;
4323 atomic_t dev_addr_genid ;
4324 struct list_head mr_tables ;
4325 struct fib_rules_ops *mr_rules_ops ;
4326};
4327#line 7 "include/net/dst_ops.h"
4328struct dst_entry;
4329#line 9
4330struct net_device;
4331#line 10
4332struct sk_buff;
4333#line 12
4334struct neighbour;
4335#line 12 "include/net/dst_ops.h"
4336struct dst_ops {
4337 unsigned short family ;
4338 __be16 protocol ;
4339 unsigned int gc_thresh ;
4340 int (*gc)(struct dst_ops *ops ) ;
4341 struct dst_entry *(*check)(struct dst_entry * , __u32 cookie ) ;
4342 unsigned int (*default_advmss)(struct dst_entry const * ) ;
4343 unsigned int (*mtu)(struct dst_entry const * ) ;
4344 u32 *(*cow_metrics)(struct dst_entry * , unsigned long ) ;
4345 void (*destroy)(struct dst_entry * ) ;
4346 void (*ifdown)(struct dst_entry * , struct net_device *dev , int how ) ;
4347 struct dst_entry *(*negative_advice)(struct dst_entry * ) ;
4348 void (*link_failure)(struct sk_buff * ) ;
4349 void (*update_pmtu)(struct dst_entry *dst , u32 mtu ) ;
4350 int (*local_out)(struct sk_buff *skb ) ;
4351 struct neighbour *(*neigh_lookup)(struct dst_entry const *dst , void const *daddr ) ;
4352 struct kmem_cache *kmem_cachep ;
4353 struct percpu_counter pcpuc_entries __attribute__((__aligned__((1) << (6) ))) ;
4354};
4355#line 11 "include/net/netns/ipv6.h"
4356struct ctl_table_header;
4357#line 13 "include/net/netns/ipv6.h"
4358struct netns_sysctl_ipv6 {
4359 struct ctl_table_header *table ;
4360 struct ctl_table_header *frags_hdr ;
4361 int bindv6only ;
4362 int flush_delay ;
4363 int ip6_rt_max_size ;
4364 int ip6_rt_gc_min_interval ;
4365 int ip6_rt_gc_timeout ;
4366 int ip6_rt_gc_interval ;
4367 int ip6_rt_gc_elasticity ;
4368 int ip6_rt_mtu_expires ;
4369 int ip6_rt_min_advmss ;
4370 int icmpv6_time ;
4371};
4372#line 30
4373struct ipv6_devconf;
4374#line 30
4375struct rt6_info;
4376#line 30
4377struct rt6_statistics;
4378#line 30
4379struct fib6_table;
4380#line 30 "include/net/netns/ipv6.h"
4381struct netns_ipv6 {
4382 struct netns_sysctl_ipv6 sysctl ;
4383 struct ipv6_devconf *devconf_all ;
4384 struct ipv6_devconf *devconf_dflt ;
4385 struct netns_frags frags ;
4386 struct xt_table *ip6table_filter ;
4387 struct xt_table *ip6table_mangle ;
4388 struct xt_table *ip6table_raw ;
4389 struct xt_table *ip6table_security ;
4390 struct rt6_info *ip6_null_entry ;
4391 struct rt6_statistics *rt6_stats ;
4392 struct timer_list ip6_fib_timer ;
4393 struct hlist_head *fib_table_hash ;
4394 struct fib6_table *fib6_main_tbl ;
4395 struct dst_ops ip6_dst_ops ;
4396 unsigned int ip6_rt_gc_expire ;
4397 unsigned long ip6_rt_last_gc ;
4398 struct rt6_info *ip6_prohibit_entry ;
4399 struct rt6_info *ip6_blk_hole_entry ;
4400 struct fib6_table *fib6_local_tbl ;
4401 struct fib_rules_ops *fib6_rules_ops ;
4402 struct sock **icmp_sk ;
4403 struct sock *ndisc_sk ;
4404 struct sock *tcp_sk ;
4405 struct sock *igmp_sk ;
4406 struct list_head mr6_tables ;
4407 struct fib_rules_ops *mr6_rules_ops ;
4408};
4409#line 4 "include/net/netns/dccp.h"
4410struct sock;
4411#line 6 "include/net/netns/dccp.h"
4412struct netns_dccp {
4413 struct sock *v4_ctl_sk ;
4414 struct sock *v6_ctl_sk ;
4415};
4416#line 102 "include/linux/netfilter.h"
4417struct sk_buff;
4418#line 80 "include/linux/jump_label.h"
4419struct module;
4420#line 143 "include/linux/jump_label.h"
4421struct static_key {
4422 atomic_t enabled ;
4423};
4424#line 200 "include/net/flow.h"
4425struct net;
4426#line 201
4427struct sock;
4428#line 10 "include/linux/proc_fs.h"
4429struct net;
4430#line 11
4431struct completion;
4432#line 12
4433struct mm_struct;
4434#line 46 "include/linux/proc_fs.h"
4435typedef int read_proc_t(char *page , char **start , off_t off , int count , int *eof ,
4436 void *data );
4437#line 48 "include/linux/proc_fs.h"
4438typedef int write_proc_t(struct file *file , char const *buffer , unsigned long count ,
4439 void *data );
4440#line 51 "include/linux/proc_fs.h"
4441struct proc_dir_entry {
4442 unsigned int low_ino ;
4443 umode_t mode ;
4444 nlink_t nlink ;
4445 uid_t uid ;
4446 gid_t gid ;
4447 loff_t size ;
4448 struct inode_operations const *proc_iops ;
4449 struct file_operations const *proc_fops ;
4450 struct proc_dir_entry *next ;
4451 struct proc_dir_entry *parent ;
4452 struct proc_dir_entry *subdir ;
4453 void *data ;
4454 read_proc_t *read_proc ;
4455 write_proc_t *write_proc ;
4456 atomic_t count ;
4457 int pde_users ;
4458 struct completion *pde_unload_completion ;
4459 struct list_head pde_openers ;
4460 spinlock_t pde_unload_lock ;
4461 u8 namelen ;
4462 char name[] ;
4463};
4464#line 117
4465struct pid_namespace;
4466#line 243
4467struct nsproxy;
4468#line 263
4469struct ctl_table_header;
4470#line 264
4471struct ctl_table;
4472#line 7 "include/net/netns/x_tables.h"
4473struct ebt_table;
4474#line 7
4475struct ebt_table;
4476#line 9 "include/net/netns/x_tables.h"
4477struct netns_xt {
4478 struct list_head tables[13] ;
4479 struct ebt_table *broute_table ;
4480 struct ebt_table *frame_filter ;
4481 struct ebt_table *frame_nat ;
4482};
4483#line 17 "include/linux/list_nulls.h"
4484struct hlist_nulls_node;
4485#line 17 "include/linux/list_nulls.h"
4486struct hlist_nulls_head {
4487 struct hlist_nulls_node *first ;
4488};
4489#line 21 "include/linux/list_nulls.h"
4490struct hlist_nulls_node {
4491 struct hlist_nulls_node *next ;
4492 struct hlist_nulls_node **pprev ;
4493};
4494#line 8 "include/net/netns/conntrack.h"
4495struct ctl_table_header;
4496#line 11
4497struct ip_conntrack_stat;
4498#line 11
4499struct nf_ct_event_notifier;
4500#line 11
4501struct nf_exp_event_notifier;
4502#line 11 "include/net/netns/conntrack.h"
4503struct netns_ct {
4504 atomic_t count ;
4505 unsigned int expect_count ;
4506 unsigned int htable_size ;
4507 struct kmem_cache *nf_conntrack_cachep ;
4508 struct hlist_nulls_head *hash ;
4509 struct hlist_head *expect_hash ;
4510 struct hlist_nulls_head unconfirmed ;
4511 struct hlist_nulls_head dying ;
4512 struct ip_conntrack_stat *stat ;
4513 struct nf_ct_event_notifier *nf_conntrack_event_cb ;
4514 struct nf_exp_event_notifier *nf_expect_event_cb ;
4515 int sysctl_events ;
4516 unsigned int sysctl_events_retry_timeout ;
4517 int sysctl_acct ;
4518 int sysctl_tstamp ;
4519 int sysctl_checksum ;
4520 unsigned int sysctl_log_invalid ;
4521 struct ctl_table_header *sysctl_header ;
4522 struct ctl_table_header *acct_sysctl_header ;
4523 struct ctl_table_header *tstamp_sysctl_header ;
4524 struct ctl_table_header *event_sysctl_header ;
4525 char *slabname ;
4526};
4527#line 10 "include/net/netns/xfrm.h"
4528struct ctl_table_header;
4529#line 12 "include/net/netns/xfrm.h"
4530struct xfrm_policy_hash {
4531 struct hlist_head *table ;
4532 unsigned int hmask ;
4533};
4534#line 17 "include/net/netns/xfrm.h"
4535struct netns_xfrm {
4536 struct list_head state_all ;
4537 struct hlist_head *state_bydst ;
4538 struct hlist_head *state_bysrc ;
4539 struct hlist_head *state_byspi ;
4540 unsigned int state_hmask ;
4541 unsigned int state_num ;
4542 struct work_struct state_hash_work ;
4543 struct hlist_head state_gc_list ;
4544 struct work_struct state_gc_work ;
4545 wait_queue_head_t km_waitq ;
4546 struct list_head policy_all ;
4547 struct hlist_head *policy_byidx ;
4548 unsigned int policy_idx_hmask ;
4549 struct hlist_head policy_inexact[6] ;
4550 struct xfrm_policy_hash policy_bydst[6] ;
4551 unsigned int policy_count[6] ;
4552 struct work_struct policy_hash_work ;
4553 struct sock *nlsk ;
4554 struct sock *nlsk_stash ;
4555 u32 sysctl_aevent_etime ;
4556 u32 sysctl_aevent_rseqth ;
4557 int sysctl_larval_drop ;
4558 u32 sysctl_acq_expires ;
4559 struct ctl_table_header *sysctl_hdr ;
4560 struct dst_ops xfrm4_dst_ops ;
4561 struct dst_ops xfrm6_dst_ops ;
4562};
4563#line 25 "include/net/net_namespace.h"
4564struct proc_dir_entry;
4565#line 26
4566struct net_device;
4567#line 27
4568struct sock;
4569#line 28
4570struct ctl_table_header;
4571#line 29
4572struct net_generic;
4573#line 29
4574struct net_generic;
4575#line 30
4576struct sock;
4577#line 31
4578struct netns_ipvs;
4579#line 31
4580struct netns_ipvs;
4581#line 37 "include/net/net_namespace.h"
4582struct net {
4583 atomic_t passive ;
4584 atomic_t count ;
4585 spinlock_t rules_mod_lock ;
4586 struct list_head list ;
4587 struct list_head cleanup_list ;
4588 struct list_head exit_list ;
4589 struct proc_dir_entry *proc_net ;
4590 struct proc_dir_entry *proc_net_stat ;
4591 struct ctl_table_set sysctls ;
4592 struct sock *rtnl ;
4593 struct sock *genl_sock ;
4594 struct list_head dev_base_head ;
4595 struct hlist_head *dev_name_head ;
4596 struct hlist_head *dev_index_head ;
4597 unsigned int dev_base_seq ;
4598 struct list_head rules_ops ;
4599 struct net_device *loopback_dev ;
4600 struct netns_core core ;
4601 struct netns_mib mib ;
4602 struct netns_packet packet ;
4603 struct netns_unix unx ;
4604 struct netns_ipv4 ipv4 ;
4605 struct netns_ipv6 ipv6 ;
4606 struct netns_dccp dccp ;
4607 struct netns_xt xt ;
4608 struct netns_ct ct ;
4609 struct sock *nfnl ;
4610 struct sock *nfnl_stash ;
4611 struct sk_buff_head wext_nlevents ;
4612 struct net_generic *gen ;
4613 struct netns_xfrm xfrm ;
4614 struct netns_ipvs *ipvs ;
4615};
4616#line 11 "include/linux/seq_file.h"
4617struct seq_operations;
4618#line 12
4619struct file;
4620#line 13
4621struct path;
4622#line 14
4623struct inode;
4624#line 15
4625struct dentry;
4626#line 17 "include/linux/seq_file.h"
4627struct seq_file {
4628 char *buf ;
4629 size_t size ;
4630 size_t from ;
4631 size_t count ;
4632 loff_t index ;
4633 loff_t read_pos ;
4634 u64 version ;
4635 struct mutex lock ;
4636 struct seq_operations const *op ;
4637 int poll_event ;
4638 void *private ;
4639};
4640#line 31 "include/linux/seq_file.h"
4641struct seq_operations {
4642 void *(*start)(struct seq_file *m , loff_t *pos ) ;
4643 void (*stop)(struct seq_file *m , void *v ) ;
4644 void *(*next)(struct seq_file *m , void *v , loff_t *pos ) ;
4645 int (*show)(struct seq_file *m , void *v ) ;
4646};
4647#line 6 "include/linux/seq_file_net.h"
4648struct net;
4649#line 283 "include/net/net_namespace.h"
4650struct ctl_table;
4651#line 284
4652struct ctl_table_header;
4653#line 22 "include/net/dsa.h"
4654struct dsa_chip_data {
4655 struct device *mii_bus ;
4656 int sw_addr ;
4657 char *port_names[12] ;
4658 s8 *rtable ;
4659};
4660#line 47 "include/net/dsa.h"
4661struct dsa_platform_data {
4662 struct device *netdev ;
4663 int nr_chips ;
4664 struct dsa_chip_data *chip ;
4665};
4666#line 62
4667struct dsa_switch;
4668#line 62 "include/net/dsa.h"
4669struct dsa_switch_tree {
4670 struct dsa_platform_data *pd ;
4671 struct net_device *master_netdev ;
4672 __be16 tag_protocol ;
4673 s8 cpu_switch ;
4674 s8 cpu_port ;
4675 int link_poll_needed ;
4676 struct work_struct link_poll_work ;
4677 struct timer_list link_poll_timer ;
4678 struct dsa_switch *ds[4] ;
4679};
4680#line 95
4681struct dsa_switch_driver;
4682#line 95
4683struct mii_bus;
4684#line 95 "include/net/dsa.h"
4685struct dsa_switch {
4686 struct dsa_switch_tree *dst ;
4687 int index ;
4688 struct dsa_chip_data *pd ;
4689 struct dsa_switch_driver *drv ;
4690 struct mii_bus *master_mii_bus ;
4691 u32 dsa_port_mask ;
4692 u32 phys_port_mask ;
4693 struct mii_bus *slave_mii_bus ;
4694 struct net_device *ports[12] ;
4695};
4696#line 147 "include/net/dsa.h"
4697struct dsa_switch_driver {
4698 struct list_head list ;
4699 __be16 tag_protocol ;
4700 int priv_size ;
4701 char *(*probe)(struct mii_bus *bus , int sw_addr ) ;
4702 int (*setup)(struct dsa_switch *ds ) ;
4703 int (*set_addr)(struct dsa_switch *ds , u8 *addr ) ;
4704 int (*phy_read)(struct dsa_switch *ds , int port , int regnum ) ;
4705 int (*phy_write)(struct dsa_switch *ds , int port , int regnum , u16 val ) ;
4706 void (*poll_link)(struct dsa_switch *ds ) ;
4707 void (*get_strings)(struct dsa_switch *ds , int port , uint8_t *data ) ;
4708 void (*get_ethtool_stats)(struct dsa_switch *ds , int port , uint64_t *data ) ;
4709 int (*get_sset_count)(struct dsa_switch *ds ) ;
4710};
4711#line 57 "include/linux/dcbnl.h"
4712struct ieee_ets {
4713 __u8 willing ;
4714 __u8 ets_cap ;
4715 __u8 cbs ;
4716 __u8 tc_tx_bw[8] ;
4717 __u8 tc_rx_bw[8] ;
4718 __u8 tc_tsa[8] ;
4719 __u8 prio_tc[8] ;
4720 __u8 tc_reco_bw[8] ;
4721 __u8 tc_reco_tsa[8] ;
4722 __u8 reco_prio_tc[8] ;
4723};
4724#line 81 "include/linux/dcbnl.h"
4725struct ieee_pfc {
4726 __u8 pfc_cap ;
4727 __u8 pfc_en ;
4728 __u8 mbc ;
4729 __u16 delay ;
4730 __u64 requests[8] ;
4731 __u64 indications[8] ;
4732};
4733#line 104 "include/linux/dcbnl.h"
4734struct cee_pg {
4735 __u8 willing ;
4736 __u8 error ;
4737 __u8 pg_en ;
4738 __u8 tcs_supported ;
4739 __u8 pg_bw[8] ;
4740 __u8 prio_pg[8] ;
4741};
4742#line 121 "include/linux/dcbnl.h"
4743struct cee_pfc {
4744 __u8 willing ;
4745 __u8 error ;
4746 __u8 pfc_en ;
4747 __u8 tcs_supported ;
4748};
4749#line 151 "include/linux/dcbnl.h"
4750struct dcb_app {
4751 __u8 selector ;
4752 __u8 priority ;
4753 __u16 protocol ;
4754};
4755#line 166 "include/linux/dcbnl.h"
4756struct dcb_peer_app_info {
4757 __u8 willing ;
4758 __u8 error ;
4759};
4760#line 47 "include/net/dcbnl.h"
4761struct dcbnl_rtnl_ops {
4762 int (*ieee_getets)(struct net_device * , struct ieee_ets * ) ;
4763 int (*ieee_setets)(struct net_device * , struct ieee_ets * ) ;
4764 int (*ieee_getpfc)(struct net_device * , struct ieee_pfc * ) ;
4765 int (*ieee_setpfc)(struct net_device * , struct ieee_pfc * ) ;
4766 int (*ieee_getapp)(struct net_device * , struct dcb_app * ) ;
4767 int (*ieee_setapp)(struct net_device * , struct dcb_app * ) ;
4768 int (*ieee_delapp)(struct net_device * , struct dcb_app * ) ;
4769 int (*ieee_peer_getets)(struct net_device * , struct ieee_ets * ) ;
4770 int (*ieee_peer_getpfc)(struct net_device * , struct ieee_pfc * ) ;
4771 u8 (*getstate)(struct net_device * ) ;
4772 u8 (*setstate)(struct net_device * , u8 ) ;
4773 void (*getpermhwaddr)(struct net_device * , u8 * ) ;
4774 void (*setpgtccfgtx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
4775 void (*setpgbwgcfgtx)(struct net_device * , int , u8 ) ;
4776 void (*setpgtccfgrx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
4777 void (*setpgbwgcfgrx)(struct net_device * , int , u8 ) ;
4778 void (*getpgtccfgtx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
4779 void (*getpgbwgcfgtx)(struct net_device * , int , u8 * ) ;
4780 void (*getpgtccfgrx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
4781 void (*getpgbwgcfgrx)(struct net_device * , int , u8 * ) ;
4782 void (*setpfccfg)(struct net_device * , int , u8 ) ;
4783 void (*getpfccfg)(struct net_device * , int , u8 * ) ;
4784 u8 (*setall)(struct net_device * ) ;
4785 u8 (*getcap)(struct net_device * , int , u8 * ) ;
4786 int (*getnumtcs)(struct net_device * , int , u8 * ) ;
4787 int (*setnumtcs)(struct net_device * , int , u8 ) ;
4788 u8 (*getpfcstate)(struct net_device * ) ;
4789 void (*setpfcstate)(struct net_device * , u8 ) ;
4790 void (*getbcncfg)(struct net_device * , int , u32 * ) ;
4791 void (*setbcncfg)(struct net_device * , int , u32 ) ;
4792 void (*getbcnrp)(struct net_device * , int , u8 * ) ;
4793 void (*setbcnrp)(struct net_device * , int , u8 ) ;
4794 u8 (*setapp)(struct net_device * , u8 , u16 , u8 ) ;
4795 u8 (*getapp)(struct net_device * , u8 , u16 ) ;
4796 u8 (*getfeatcfg)(struct net_device * , int , u8 * ) ;
4797 u8 (*setfeatcfg)(struct net_device * , int , u8 ) ;
4798 u8 (*getdcbx)(struct net_device * ) ;
4799 u8 (*setdcbx)(struct net_device * , u8 ) ;
4800 int (*peer_getappinfo)(struct net_device * , struct dcb_peer_app_info * , u16 * ) ;
4801 int (*peer_getapptable)(struct net_device * , struct dcb_app * ) ;
4802 int (*cee_peer_getpg)(struct net_device * , struct cee_pg * ) ;
4803 int (*cee_peer_getpfc)(struct net_device * , struct cee_pfc * ) ;
4804};
4805#line 40 "include/linux/taskstats.h"
4806struct taskstats {
4807 __u16 version ;
4808 __u32 ac_exitcode ;
4809 __u8 ac_flag ;
4810 __u8 ac_nice ;
4811 __u64 cpu_count __attribute__((__aligned__(8))) ;
4812 __u64 cpu_delay_total ;
4813 __u64 blkio_count ;
4814 __u64 blkio_delay_total ;
4815 __u64 swapin_count ;
4816 __u64 swapin_delay_total ;
4817 __u64 cpu_run_real_total ;
4818 __u64 cpu_run_virtual_total ;
4819 char ac_comm[32] ;
4820 __u8 ac_sched __attribute__((__aligned__(8))) ;
4821 __u8 ac_pad[3] ;
4822 __u32 ac_uid __attribute__((__aligned__(8))) ;
4823 __u32 ac_gid ;
4824 __u32 ac_pid ;
4825 __u32 ac_ppid ;
4826 __u32 ac_btime ;
4827 __u64 ac_etime __attribute__((__aligned__(8))) ;
4828 __u64 ac_utime ;
4829 __u64 ac_stime ;
4830 __u64 ac_minflt ;
4831 __u64 ac_majflt ;
4832 __u64 coremem ;
4833 __u64 virtmem ;
4834 __u64 hiwater_rss ;
4835 __u64 hiwater_vm ;
4836 __u64 read_char ;
4837 __u64 write_char ;
4838 __u64 read_syscalls ;
4839 __u64 write_syscalls ;
4840 __u64 read_bytes ;
4841 __u64 write_bytes ;
4842 __u64 cancelled_write_bytes ;
4843 __u64 nvcsw ;
4844 __u64 nivcsw ;
4845 __u64 ac_utimescaled ;
4846 __u64 ac_stimescaled ;
4847 __u64 cpu_scaled_run_real_total ;
4848 __u64 freepages_count ;
4849 __u64 freepages_delay_total ;
4850};
4851#line 51 "include/linux/idr.h"
4852struct idr_layer {
4853 unsigned long bitmap ;
4854 struct idr_layer *ary[1 << 6] ;
4855 int count ;
4856 int layer ;
4857 struct rcu_head rcu_head ;
4858};
4859#line 59 "include/linux/idr.h"
4860struct idr {
4861 struct idr_layer *top ;
4862 struct idr_layer *id_free ;
4863 int layers ;
4864 int id_free_cnt ;
4865 spinlock_t lock ;
4866};
4867#line 22 "include/linux/cgroup.h"
4868struct cgroupfs_root;
4869#line 22
4870struct cgroupfs_root;
4871#line 23
4872struct cgroup_subsys;
4873#line 23
4874struct cgroup_subsys;
4875#line 24
4876struct inode;
4877#line 25
4878struct cgroup;
4879#line 25
4880struct cgroup;
4881#line 26
4882struct css_id;
4883#line 26
4884struct css_id;
4885#line 60 "include/linux/cgroup.h"
4886struct cgroup_subsys_state {
4887 struct cgroup *cgroup ;
4888 atomic_t refcnt ;
4889 unsigned long flags ;
4890 struct css_id *id ;
4891};
4892#line 163 "include/linux/cgroup.h"
4893struct cgroup {
4894 unsigned long flags ;
4895 atomic_t count ;
4896 struct list_head sibling ;
4897 struct list_head children ;
4898 struct cgroup *parent ;
4899 struct dentry *dentry ;
4900 struct cgroup_subsys_state *subsys[8UL * sizeof(unsigned long )] ;
4901 struct cgroupfs_root *root ;
4902 struct cgroup *top_cgroup ;
4903 struct list_head css_sets ;
4904 struct list_head release_list ;
4905 struct list_head pidlists ;
4906 struct mutex pidlist_mutex ;
4907 struct rcu_head rcu_head ;
4908 struct list_head event_list ;
4909 spinlock_t event_list_lock ;
4910};
4911#line 224 "include/linux/cgroup.h"
4912struct css_set {
4913 atomic_t refcount ;
4914 struct hlist_node hlist ;
4915 struct list_head tasks ;
4916 struct list_head cg_links ;
4917 struct cgroup_subsys_state *subsys[8UL * sizeof(unsigned long )] ;
4918 struct rcu_head rcu_head ;
4919};
4920#line 431
4921struct cgroup_taskset;
4922#line 431
4923struct cgroup_taskset;
4924#line 454 "include/linux/cgroup.h"
4925struct cgroup_subsys {
4926 struct cgroup_subsys_state *(*create)(struct cgroup *cgrp ) ;
4927 int (*pre_destroy)(struct cgroup *cgrp ) ;
4928 void (*destroy)(struct cgroup *cgrp ) ;
4929 int (*can_attach)(struct cgroup *cgrp , struct cgroup_taskset *tset ) ;
4930 void (*cancel_attach)(struct cgroup *cgrp , struct cgroup_taskset *tset ) ;
4931 void (*attach)(struct cgroup *cgrp , struct cgroup_taskset *tset ) ;
4932 void (*fork)(struct task_struct *task ) ;
4933 void (*exit)(struct cgroup *cgrp , struct cgroup *old_cgrp , struct task_struct *task ) ;
4934 int (*populate)(struct cgroup_subsys *ss , struct cgroup *cgrp ) ;
4935 void (*post_clone)(struct cgroup *cgrp ) ;
4936 void (*bind)(struct cgroup *root ) ;
4937 int subsys_id ;
4938 int active ;
4939 int disabled ;
4940 int early_init ;
4941 bool use_id ;
4942 char const *name ;
4943 struct mutex hierarchy_mutex ;
4944 struct lock_class_key subsys_key ;
4945 struct cgroupfs_root *root ;
4946 struct list_head sibling ;
4947 struct idr idr ;
4948 spinlock_t id_lock ;
4949 struct module *module ;
4950};
4951#line 10 "include/linux/irqreturn.h"
4952enum irqreturn {
4953 IRQ_NONE = 0,
4954 IRQ_HANDLED = 1,
4955 IRQ_WAKE_THREAD = 2
4956} ;
4957#line 16 "include/linux/irqreturn.h"
4958typedef enum irqreturn irqreturn_t;
4959#line 31 "include/linux/irq.h"
4960struct seq_file;
4961#line 32
4962struct module;
4963#line 12 "include/linux/irqdesc.h"
4964struct proc_dir_entry;
4965#line 14
4966struct module;
4967#line 16 "include/linux/profile.h"
4968struct proc_dir_entry;
4969#line 17
4970struct pt_regs;
4971#line 18
4972struct notifier_block;
4973#line 65
4974struct task_struct;
4975#line 66
4976struct mm_struct;
4977#line 88
4978struct pt_regs;
4979#line 132 "include/linux/hardirq.h"
4980struct task_struct;
4981#line 21 "include/net/netprio_cgroup.h"
4982struct netprio_map {
4983 struct rcu_head rcu ;
4984 u32 priomap_len ;
4985 u32 priomap[] ;
4986};
4987#line 58 "include/linux/netdevice.h"
4988struct netpoll_info;
4989#line 58
4990struct netpoll_info;
4991#line 59
4992struct device;
4993#line 60
4994struct phy_device;
4995#line 60
4996struct phy_device;
4997#line 62
4998struct wireless_dev;
4999#line 62
5000struct wireless_dev;
5001#line 109
5002enum netdev_tx {
5003 __NETDEV_TX_MIN = (-0x7FFFFFFF-1),
5004 NETDEV_TX_OK = 0,
5005 NETDEV_TX_BUSY = 16,
5006 NETDEV_TX_LOCKED = 32
5007} ;
5008#line 115 "include/linux/netdevice.h"
5009typedef enum netdev_tx netdev_tx_t;
5010#line 172 "include/linux/netdevice.h"
5011struct net_device_stats {
5012 unsigned long rx_packets ;
5013 unsigned long tx_packets ;
5014 unsigned long rx_bytes ;
5015 unsigned long tx_bytes ;
5016 unsigned long rx_errors ;
5017 unsigned long tx_errors ;
5018 unsigned long rx_dropped ;
5019 unsigned long tx_dropped ;
5020 unsigned long multicast ;
5021 unsigned long collisions ;
5022 unsigned long rx_length_errors ;
5023 unsigned long rx_over_errors ;
5024 unsigned long rx_crc_errors ;
5025 unsigned long rx_frame_errors ;
5026 unsigned long rx_fifo_errors ;
5027 unsigned long rx_missed_errors ;
5028 unsigned long tx_aborted_errors ;
5029 unsigned long tx_carrier_errors ;
5030 unsigned long tx_fifo_errors ;
5031 unsigned long tx_heartbeat_errors ;
5032 unsigned long tx_window_errors ;
5033 unsigned long rx_compressed ;
5034 unsigned long tx_compressed ;
5035};
5036#line 222
5037struct neighbour;
5038#line 223
5039struct neigh_parms;
5040#line 223
5041struct neigh_parms;
5042#line 224
5043struct sk_buff;
5044#line 241 "include/linux/netdevice.h"
5045struct netdev_hw_addr_list {
5046 struct list_head list ;
5047 int count ;
5048};
5049#line 261 "include/linux/netdevice.h"
5050struct hh_cache {
5051 u16 hh_len ;
5052 u16 __pad ;
5053 seqlock_t hh_lock ;
5054 unsigned long hh_data[128UL / sizeof(long )] ;
5055};
5056#line 288 "include/linux/netdevice.h"
5057struct header_ops {
5058 int (*create)(struct sk_buff *skb , struct net_device *dev , unsigned short type ,
5059 void const *daddr , void const *saddr , unsigned int len ) ;
5060 int (*parse)(struct sk_buff const *skb , unsigned char *haddr ) ;
5061 int (*rebuild)(struct sk_buff *skb ) ;
5062 int (*cache)(struct neighbour const *neigh , struct hh_cache *hh , __be16 type ) ;
5063 void (*cache_update)(struct hh_cache *hh , struct net_device const *dev , unsigned char const *haddr ) ;
5064};
5065#line 410
5066enum rx_handler_result {
5067 RX_HANDLER_CONSUMED = 0,
5068 RX_HANDLER_ANOTHER = 1,
5069 RX_HANDLER_EXACT = 2,
5070 RX_HANDLER_PASS = 3
5071} ;
5072#line 416 "include/linux/netdevice.h"
5073typedef enum rx_handler_result rx_handler_result_t;
5074#line 417 "include/linux/netdevice.h"
5075typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **pskb );
5076#line 539
5077struct Qdisc;
5078#line 539 "include/linux/netdevice.h"
5079struct netdev_queue {
5080 struct net_device *dev ;
5081 struct Qdisc *qdisc ;
5082 struct Qdisc *qdisc_sleeping ;
5083 struct kobject kobj ;
5084 int numa_node ;
5085 spinlock_t _xmit_lock __attribute__((__aligned__((1) << (6) ))) ;
5086 int xmit_lock_owner ;
5087 unsigned long trans_start ;
5088 unsigned long trans_timeout ;
5089 unsigned long state ;
5090 struct dql dql ;
5091} __attribute__((__aligned__((1) << (6) ))) ;
5092#line 596 "include/linux/netdevice.h"
5093struct rps_map {
5094 unsigned int len ;
5095 struct rcu_head rcu ;
5096 u16 cpus[0] ;
5097};
5098#line 608 "include/linux/netdevice.h"
5099struct rps_dev_flow {
5100 u16 cpu ;
5101 u16 filter ;
5102 unsigned int last_qtail ;
5103};
5104#line 618 "include/linux/netdevice.h"
5105struct rps_dev_flow_table {
5106 unsigned int mask ;
5107 struct rcu_head rcu ;
5108 struct work_struct free_work ;
5109 struct rps_dev_flow flows[0] ;
5110};
5111#line 669 "include/linux/netdevice.h"
5112struct netdev_rx_queue {
5113 struct rps_map *rps_map ;
5114 struct rps_dev_flow_table *rps_flow_table ;
5115 struct kobject kobj ;
5116 struct net_device *dev ;
5117} __attribute__((__aligned__((1) << (6) ))) ;
5118#line 682 "include/linux/netdevice.h"
5119struct xps_map {
5120 unsigned int len ;
5121 unsigned int alloc_len ;
5122 struct rcu_head rcu ;
5123 u16 queues[0] ;
5124};
5125#line 695 "include/linux/netdevice.h"
5126struct xps_dev_maps {
5127 struct rcu_head rcu ;
5128 struct xps_map *cpu_map[0] ;
5129};
5130#line 706 "include/linux/netdevice.h"
5131struct netdev_tc_txq {
5132 u16 count ;
5133 u16 offset ;
5134};
5135#line 716 "include/linux/netdevice.h"
5136struct netdev_fcoe_hbainfo {
5137 char manufacturer[64] ;
5138 char serial_number[64] ;
5139 char hardware_version[64] ;
5140 char driver_version[64] ;
5141 char optionrom_version[64] ;
5142 char firmware_version[64] ;
5143 char model[256] ;
5144 char model_description[256] ;
5145};
5146#line 909 "include/linux/netdevice.h"
5147struct net_device_ops {
5148 int (*ndo_init)(struct net_device *dev ) ;
5149 void (*ndo_uninit)(struct net_device *dev ) ;
5150 int (*ndo_open)(struct net_device *dev ) ;
5151 int (*ndo_stop)(struct net_device *dev ) ;
5152 netdev_tx_t (*ndo_start_xmit)(struct sk_buff *skb , struct net_device *dev ) ;
5153 u16 (*ndo_select_queue)(struct net_device *dev , struct sk_buff *skb ) ;
5154 void (*ndo_change_rx_flags)(struct net_device *dev , int flags ) ;
5155 void (*ndo_set_rx_mode)(struct net_device *dev ) ;
5156 int (*ndo_set_mac_address)(struct net_device *dev , void *addr ) ;
5157 int (*ndo_validate_addr)(struct net_device *dev ) ;
5158 int (*ndo_do_ioctl)(struct net_device *dev , struct ifreq *ifr , int cmd ) ;
5159 int (*ndo_set_config)(struct net_device *dev , struct ifmap *map ) ;
5160 int (*ndo_change_mtu)(struct net_device *dev , int new_mtu ) ;
5161 int (*ndo_neigh_setup)(struct net_device *dev , struct neigh_parms * ) ;
5162 void (*ndo_tx_timeout)(struct net_device *dev ) ;
5163 struct rtnl_link_stats64 *(*ndo_get_stats64)(struct net_device *dev , struct rtnl_link_stats64 *storage ) ;
5164 struct net_device_stats *(*ndo_get_stats)(struct net_device *dev ) ;
5165 int (*ndo_vlan_rx_add_vid)(struct net_device *dev , unsigned short vid ) ;
5166 int (*ndo_vlan_rx_kill_vid)(struct net_device *dev , unsigned short vid ) ;
5167 void (*ndo_poll_controller)(struct net_device *dev ) ;
5168 int (*ndo_netpoll_setup)(struct net_device *dev , struct netpoll_info *info ) ;
5169 void (*ndo_netpoll_cleanup)(struct net_device *dev ) ;
5170 int (*ndo_set_vf_mac)(struct net_device *dev , int queue , u8 *mac ) ;
5171 int (*ndo_set_vf_vlan)(struct net_device *dev , int queue , u16 vlan , u8 qos ) ;
5172 int (*ndo_set_vf_tx_rate)(struct net_device *dev , int vf , int rate ) ;
5173 int (*ndo_set_vf_spoofchk)(struct net_device *dev , int vf , bool setting ) ;
5174 int (*ndo_get_vf_config)(struct net_device *dev , int vf , struct ifla_vf_info *ivf ) ;
5175 int (*ndo_set_vf_port)(struct net_device *dev , int vf , struct nlattr **port ) ;
5176 int (*ndo_get_vf_port)(struct net_device *dev , int vf , struct sk_buff *skb ) ;
5177 int (*ndo_setup_tc)(struct net_device *dev , u8 tc ) ;
5178 int (*ndo_fcoe_enable)(struct net_device *dev ) ;
5179 int (*ndo_fcoe_disable)(struct net_device *dev ) ;
5180 int (*ndo_fcoe_ddp_setup)(struct net_device *dev , u16 xid , struct scatterlist *sgl ,
5181 unsigned int sgc ) ;
5182 int (*ndo_fcoe_ddp_done)(struct net_device *dev , u16 xid ) ;
5183 int (*ndo_fcoe_ddp_target)(struct net_device *dev , u16 xid , struct scatterlist *sgl ,
5184 unsigned int sgc ) ;
5185 int (*ndo_fcoe_get_hbainfo)(struct net_device *dev , struct netdev_fcoe_hbainfo *hbainfo ) ;
5186 int (*ndo_fcoe_get_wwn)(struct net_device *dev , u64 *wwn , int type ) ;
5187 int (*ndo_rx_flow_steer)(struct net_device *dev , struct sk_buff const *skb ,
5188 u16 rxq_index , u32 flow_id ) ;
5189 int (*ndo_add_slave)(struct net_device *dev , struct net_device *slave_dev ) ;
5190 int (*ndo_del_slave)(struct net_device *dev , struct net_device *slave_dev ) ;
5191 netdev_features_t (*ndo_fix_features)(struct net_device *dev , netdev_features_t features ) ;
5192 int (*ndo_set_features)(struct net_device *dev , netdev_features_t features ) ;
5193 int (*ndo_neigh_construct)(struct neighbour *n ) ;
5194 void (*ndo_neigh_destroy)(struct neighbour *n ) ;
5195};
5196#line 1017
5197struct iw_handler_def;
5198#line 1017
5199struct iw_public_data;
5200#line 1017
5201struct vlan_info;
5202#line 1017
5203struct in_device;
5204#line 1017
5205struct dn_dev;
5206#line 1017
5207struct inet6_dev;
5208#line 1017
5209struct cpu_rmap;
5210#line 1017
5211enum __anonenum_reg_state_359 {
5212 NETREG_UNINITIALIZED = 0,
5213 NETREG_REGISTERED = 1,
5214 NETREG_UNREGISTERING = 2,
5215 NETREG_UNREGISTERED = 3,
5216 NETREG_RELEASED = 4,
5217 NETREG_DUMMY = 5
5218} ;
5219#line 1017
5220enum __anonenum_rtnl_link_state_360 {
5221 RTNL_LINK_INITIALIZED = 0,
5222 RTNL_LINK_INITIALIZING = 1
5223} ;
5224#line 1017
5225struct pcpu_lstats;
5226#line 1017
5227struct pcpu_tstats;
5228#line 1017
5229struct pcpu_dstats;
5230#line 1017 "include/linux/netdevice.h"
5231union __anonunion____missing_field_name_361 {
5232 void *ml_priv ;
5233 struct pcpu_lstats *lstats ;
5234 struct pcpu_tstats *tstats ;
5235 struct pcpu_dstats *dstats ;
5236};
5237#line 1017
5238struct garp_port;
5239#line 1017
5240struct rtnl_link_ops;
5241#line 1017 "include/linux/netdevice.h"
5242struct net_device {
5243 char name[16] ;
5244 struct pm_qos_request pm_qos_req ;
5245 struct hlist_node name_hlist ;
5246 char *ifalias ;
5247 unsigned long mem_end ;
5248 unsigned long mem_start ;
5249 unsigned long base_addr ;
5250 unsigned int irq ;
5251 unsigned long state ;
5252 struct list_head dev_list ;
5253 struct list_head napi_list ;
5254 struct list_head unreg_list ;
5255 netdev_features_t features ;
5256 netdev_features_t hw_features ;
5257 netdev_features_t wanted_features ;
5258 netdev_features_t vlan_features ;
5259 int ifindex ;
5260 int iflink ;
5261 struct net_device_stats stats ;
5262 atomic_long_t rx_dropped ;
5263 struct iw_handler_def const *wireless_handlers ;
5264 struct iw_public_data *wireless_data ;
5265 struct net_device_ops const *netdev_ops ;
5266 struct ethtool_ops const *ethtool_ops ;
5267 struct header_ops const *header_ops ;
5268 unsigned int flags ;
5269 unsigned int priv_flags ;
5270 unsigned short gflags ;
5271 unsigned short padded ;
5272 unsigned char operstate ;
5273 unsigned char link_mode ;
5274 unsigned char if_port ;
5275 unsigned char dma ;
5276 unsigned int mtu ;
5277 unsigned short type ;
5278 unsigned short hard_header_len ;
5279 unsigned short needed_headroom ;
5280 unsigned short needed_tailroom ;
5281 unsigned char perm_addr[32] ;
5282 unsigned char addr_assign_type ;
5283 unsigned char addr_len ;
5284 unsigned char neigh_priv_len ;
5285 unsigned short dev_id ;
5286 spinlock_t addr_list_lock ;
5287 struct netdev_hw_addr_list uc ;
5288 struct netdev_hw_addr_list mc ;
5289 bool uc_promisc ;
5290 unsigned int promiscuity ;
5291 unsigned int allmulti ;
5292 struct vlan_info *vlan_info ;
5293 struct dsa_switch_tree *dsa_ptr ;
5294 void *atalk_ptr ;
5295 struct in_device *ip_ptr ;
5296 struct dn_dev *dn_ptr ;
5297 struct inet6_dev *ip6_ptr ;
5298 void *ec_ptr ;
5299 void *ax25_ptr ;
5300 struct wireless_dev *ieee80211_ptr ;
5301 unsigned long last_rx ;
5302 struct net_device *master ;
5303 unsigned char *dev_addr ;
5304 struct netdev_hw_addr_list dev_addrs ;
5305 unsigned char broadcast[32] ;
5306 struct kset *queues_kset ;
5307 struct netdev_rx_queue *_rx ;
5308 unsigned int num_rx_queues ;
5309 unsigned int real_num_rx_queues ;
5310 struct cpu_rmap *rx_cpu_rmap ;
5311 rx_handler_func_t *rx_handler ;
5312 void *rx_handler_data ;
5313 struct netdev_queue *ingress_queue ;
5314 struct netdev_queue *_tx __attribute__((__aligned__((1) << (6) ))) ;
5315 unsigned int num_tx_queues ;
5316 unsigned int real_num_tx_queues ;
5317 struct Qdisc *qdisc ;
5318 unsigned long tx_queue_len ;
5319 spinlock_t tx_global_lock ;
5320 struct xps_dev_maps *xps_maps ;
5321 unsigned long trans_start ;
5322 int watchdog_timeo ;
5323 struct timer_list watchdog_timer ;
5324 int *pcpu_refcnt ;
5325 struct list_head todo_list ;
5326 struct hlist_node index_hlist ;
5327 struct list_head link_watch_list ;
5328 enum __anonenum_reg_state_359 reg_state : 8 ;
5329 bool dismantle ;
5330 enum __anonenum_rtnl_link_state_360 rtnl_link_state : 16 ;
5331 void (*destructor)(struct net_device *dev ) ;
5332 struct netpoll_info *npinfo ;
5333 struct net *nd_net ;
5334 union __anonunion____missing_field_name_361 __annonCompField52 ;
5335 struct garp_port *garp_port ;
5336 struct device dev ;
5337 struct attribute_group const *sysfs_groups[4] ;
5338 struct rtnl_link_ops const *rtnl_link_ops ;
5339 unsigned int gso_max_size ;
5340 struct dcbnl_rtnl_ops const *dcbnl_ops ;
5341 u8 num_tc ;
5342 struct netdev_tc_txq tc_to_txq[16] ;
5343 u8 prio_tc_map[16] ;
5344 unsigned int fcoe_ddp_xid ;
5345 struct netprio_map *priomap ;
5346 struct phy_device *phydev ;
5347 int group ;
5348};
5349#line 23 "include/linux/debugfs.h"
5350struct file_operations;
5351#line 1538 "include/linux/nl80211.h"
5352enum nl80211_iftype {
5353 NL80211_IFTYPE_UNSPECIFIED = 0,
5354 NL80211_IFTYPE_ADHOC = 1,
5355 NL80211_IFTYPE_STATION = 2,
5356 NL80211_IFTYPE_AP = 3,
5357 NL80211_IFTYPE_AP_VLAN = 4,
5358 NL80211_IFTYPE_WDS = 5,
5359 NL80211_IFTYPE_MONITOR = 6,
5360 NL80211_IFTYPE_MESH_POINT = 7,
5361 NL80211_IFTYPE_P2P_CLIENT = 8,
5362 NL80211_IFTYPE_P2P_GO = 9,
5363 NUM_NL80211_IFTYPES = 10,
5364 NL80211_IFTYPE_MAX = 9
5365} ;
5366#line 1870
5367enum nl80211_reg_initiator {
5368 NL80211_REGDOM_SET_BY_CORE = 0,
5369 NL80211_REGDOM_SET_BY_USER = 1,
5370 NL80211_REGDOM_SET_BY_DRIVER = 2,
5371 NL80211_REGDOM_SET_BY_COUNTRY_IE = 3
5372} ;
5373#line 2257
5374enum nl80211_channel_type {
5375 NL80211_CHAN_NO_HT = 0,
5376 NL80211_CHAN_HT20 = 1,
5377 NL80211_CHAN_HT40MINUS = 2,
5378 NL80211_CHAN_HT40PLUS = 3
5379} ;
5380#line 2338
5381enum nl80211_auth_type {
5382 NL80211_AUTHTYPE_OPEN_SYSTEM = 0,
5383 NL80211_AUTHTYPE_SHARED_KEY = 1,
5384 NL80211_AUTHTYPE_FT = 2,
5385 NL80211_AUTHTYPE_NETWORK_EAP = 3,
5386 __NL80211_AUTHTYPE_NUM = 4,
5387 NL80211_AUTHTYPE_MAX = 3,
5388 NL80211_AUTHTYPE_AUTOMATIC = 4
5389} ;
5390#line 29 "include/net/regulatory.h"
5391enum environment_cap {
5392 ENVIRON_ANY = 0,
5393 ENVIRON_INDOOR = 1,
5394 ENVIRON_OUTDOOR = 2
5395} ;
5396#line 70 "include/net/regulatory.h"
5397struct regulatory_request {
5398 int wiphy_idx ;
5399 enum nl80211_reg_initiator initiator ;
5400 char alpha2[2] ;
5401 u8 dfs_region ;
5402 bool intersect ;
5403 bool processed ;
5404 enum environment_cap country_ie_env ;
5405 struct list_head list ;
5406};
5407#line 81 "include/net/regulatory.h"
5408struct ieee80211_freq_range {
5409 u32 start_freq_khz ;
5410 u32 end_freq_khz ;
5411 u32 max_bandwidth_khz ;
5412};
5413#line 87 "include/net/regulatory.h"
5414struct ieee80211_power_rule {
5415 u32 max_antenna_gain ;
5416 u32 max_eirp ;
5417};
5418#line 92 "include/net/regulatory.h"
5419struct ieee80211_reg_rule {
5420 struct ieee80211_freq_range freq_range ;
5421 struct ieee80211_power_rule power_rule ;
5422 u32 flags ;
5423};
5424#line 98 "include/net/regulatory.h"
5425struct ieee80211_regdomain {
5426 u32 n_reg_rules ;
5427 char alpha2[2] ;
5428 u8 dfs_region ;
5429 struct ieee80211_reg_rule reg_rules[] ;
5430};
5431#line 75 "include/net/cfg80211.h"
5432enum ieee80211_band {
5433 IEEE80211_BAND_2GHZ = 0,
5434 IEEE80211_BAND_5GHZ = 1,
5435 IEEE80211_NUM_BANDS = 2
5436} ;
5437#line 131 "include/net/cfg80211.h"
5438struct ieee80211_channel {
5439 enum ieee80211_band band ;
5440 u16 center_freq ;
5441 u16 hw_value ;
5442 u32 flags ;
5443 int max_antenna_gain ;
5444 int max_power ;
5445 int max_reg_power ;
5446 bool beacon_found ;
5447 u32 orig_flags ;
5448 int orig_mag ;
5449 int orig_mpwr ;
5450};
5451#line 187 "include/net/cfg80211.h"
5452struct ieee80211_rate {
5453 u32 flags ;
5454 u16 bitrate ;
5455 u16 hw_value ;
5456 u16 hw_value_short ;
5457};
5458#line 205 "include/net/cfg80211.h"
5459struct ieee80211_sta_ht_cap {
5460 u16 cap ;
5461 bool ht_supported ;
5462 u8 ampdu_factor ;
5463 u8 ampdu_density ;
5464 struct ieee80211_mcs_info mcs ;
5465};
5466#line 229 "include/net/cfg80211.h"
5467struct ieee80211_supported_band {
5468 struct ieee80211_channel *channels ;
5469 struct ieee80211_rate *bitrates ;
5470 enum ieee80211_band band ;
5471 int n_channels ;
5472 int n_bitrates ;
5473 struct ieee80211_sta_ht_cap ht_cap ;
5474};
5475#line 357 "include/net/cfg80211.h"
5476struct cfg80211_crypto_settings {
5477 u32 wpa_versions ;
5478 u32 cipher_group ;
5479 int n_ciphers_pairwise ;
5480 u32 ciphers_pairwise[5] ;
5481 int n_akm_suites ;
5482 u32 akm_suites[2] ;
5483 bool control_port ;
5484 __be16 control_port_ethertype ;
5485 bool control_port_no_encrypt ;
5486};
5487#line 865
5488struct wiphy;
5489#line 865
5490struct wiphy;
5491#line 895 "include/net/cfg80211.h"
5492struct cfg80211_ssid {
5493 u8 ssid[32] ;
5494 u8 ssid_len ;
5495};
5496#line 915 "include/net/cfg80211.h"
5497struct cfg80211_scan_request {
5498 struct cfg80211_ssid *ssids ;
5499 int n_ssids ;
5500 u32 n_channels ;
5501 u8 const *ie ;
5502 size_t ie_len ;
5503 u32 rates[2] ;
5504 struct wiphy *wiphy ;
5505 struct net_device *dev ;
5506 bool aborted ;
5507 bool no_cck ;
5508 struct ieee80211_channel *channels[0] ;
5509};
5510#line 986
5511enum cfg80211_signal_type {
5512 CFG80211_SIGNAL_TYPE_NONE = 0,
5513 CFG80211_SIGNAL_TYPE_MBM = 1,
5514 CFG80211_SIGNAL_TYPE_UNSPEC = 2
5515} ;
5516#line 1173 "include/net/cfg80211.h"
5517struct cfg80211_ibss_params {
5518 u8 *ssid ;
5519 u8 *bssid ;
5520 struct ieee80211_channel *channel ;
5521 enum nl80211_channel_type channel_type ;
5522 u8 *ie ;
5523 u8 ssid_len ;
5524 u8 ie_len ;
5525 u16 beacon_interval ;
5526 u32 basic_rates ;
5527 bool channel_fixed ;
5528 bool privacy ;
5529 bool control_port ;
5530 int mcast_rate[2] ;
5531};
5532#line 1215 "include/net/cfg80211.h"
5533struct cfg80211_connect_params {
5534 struct ieee80211_channel *channel ;
5535 u8 *bssid ;
5536 u8 *ssid ;
5537 size_t ssid_len ;
5538 enum nl80211_auth_type auth_type ;
5539 u8 *ie ;
5540 size_t ie_len ;
5541 bool privacy ;
5542 struct cfg80211_crypto_settings crypto ;
5543 u8 const *key ;
5544 u8 key_len ;
5545 u8 key_idx ;
5546 u32 flags ;
5547 int bg_scan_period ;
5548 struct ieee80211_ht_cap ht_capa ;
5549 struct ieee80211_ht_cap ht_capa_mask ;
5550};
5551#line 1800 "include/net/cfg80211.h"
5552struct ieee80211_iface_limit {
5553 u16 max ;
5554 u16 types ;
5555};
5556#line 1861 "include/net/cfg80211.h"
5557struct ieee80211_iface_combination {
5558 struct ieee80211_iface_limit const *limits ;
5559 u32 num_different_channels ;
5560 u16 max_interfaces ;
5561 u8 n_limits ;
5562 bool beacon_int_infra_match ;
5563};
5564#line 1869 "include/net/cfg80211.h"
5565struct mac_address {
5566 u8 addr[6] ;
5567};
5568#line 1873 "include/net/cfg80211.h"
5569struct ieee80211_txrx_stypes {
5570 u16 tx ;
5571 u16 rx ;
5572};
5573#line 1912 "include/net/cfg80211.h"
5574struct wiphy_wowlan_support {
5575 u32 flags ;
5576 int n_patterns ;
5577 int pattern_max_len ;
5578 int pattern_min_len ;
5579};
5580#line 2014 "include/net/cfg80211.h"
5581struct wiphy {
5582 u8 perm_addr[6] ;
5583 u8 addr_mask[6] ;
5584 struct mac_address *addresses ;
5585 struct ieee80211_txrx_stypes const *mgmt_stypes ;
5586 struct ieee80211_iface_combination const *iface_combinations ;
5587 int n_iface_combinations ;
5588 u16 software_iftypes ;
5589 u16 n_addresses ;
5590 u16 interface_modes ;
5591 u32 flags ;
5592 u32 features ;
5593 u32 ap_sme_capa ;
5594 enum cfg80211_signal_type signal_type ;
5595 int bss_priv_size ;
5596 u8 max_scan_ssids ;
5597 u8 max_sched_scan_ssids ;
5598 u8 max_match_sets ;
5599 u16 max_scan_ie_len ;
5600 u16 max_sched_scan_ie_len ;
5601 int n_cipher_suites ;
5602 u32 const *cipher_suites ;
5603 u8 retry_short ;
5604 u8 retry_long ;
5605 u32 frag_threshold ;
5606 u32 rts_threshold ;
5607 u8 coverage_class ;
5608 char fw_version[32] ;
5609 u32 hw_version ;
5610 struct wiphy_wowlan_support wowlan ;
5611 u16 max_remain_on_channel_duration ;
5612 u8 max_num_pmkids ;
5613 u32 available_antennas_tx ;
5614 u32 available_antennas_rx ;
5615 u32 probe_resp_offload ;
5616 void const *privid ;
5617 struct ieee80211_supported_band *bands[2] ;
5618 int (*reg_notifier)(struct wiphy *wiphy , struct regulatory_request *request ) ;
5619 struct ieee80211_regdomain const *regd ;
5620 struct device dev ;
5621 bool registered ;
5622 struct dentry *debugfsdir ;
5623 struct ieee80211_ht_cap const *ht_capa_mod_mask ;
5624 struct net *_net ;
5625 struct iw_handler_def const *wext ;
5626 char priv[0] __attribute__((__aligned__(32))) ;
5627};
5628#line 2221
5629struct cfg80211_conn;
5630#line 2221
5631struct cfg80211_conn;
5632#line 2222
5633struct cfg80211_internal_bss;
5634#line 2222
5635struct cfg80211_internal_bss;
5636#line 2223
5637struct cfg80211_cached_keys;
5638#line 2223
5639struct cfg80211_cached_keys;
5640#line 2257
5641enum __anonenum_sme_state_364 {
5642 CFG80211_SME_IDLE = 0,
5643 CFG80211_SME_CONNECTING = 1,
5644 CFG80211_SME_CONNECTED = 2
5645} ;
5646#line 2257 "include/net/cfg80211.h"
5647struct __anonstruct_wext_365 {
5648 struct cfg80211_ibss_params ibss ;
5649 struct cfg80211_connect_params connect ;
5650 struct cfg80211_cached_keys *keys ;
5651 u8 *ie ;
5652 size_t ie_len ;
5653 u8 bssid[6] ;
5654 u8 prev_bssid[6] ;
5655 u8 ssid[32] ;
5656 s8 default_key ;
5657 s8 default_mgmt_key ;
5658 bool prev_bssid_valid ;
5659};
5660#line 2257 "include/net/cfg80211.h"
5661struct wireless_dev {
5662 struct wiphy *wiphy ;
5663 enum nl80211_iftype iftype ;
5664 struct list_head list ;
5665 struct net_device *netdev ;
5666 struct list_head mgmt_registrations ;
5667 spinlock_t mgmt_registrations_lock ;
5668 struct mutex mtx ;
5669 struct work_struct cleanup_work ;
5670 bool use_4addr ;
5671 u8 ssid[32] ;
5672 u8 ssid_len ;
5673 u8 mesh_id_len ;
5674 u8 mesh_id_up_len ;
5675 enum __anonenum_sme_state_364 sme_state ;
5676 struct cfg80211_conn *conn ;
5677 struct cfg80211_cached_keys *connect_keys ;
5678 struct list_head event_list ;
5679 spinlock_t event_lock ;
5680 struct cfg80211_internal_bss *current_bss ;
5681 struct ieee80211_channel *channel ;
5682 bool ps ;
5683 int ps_timeout ;
5684 int beacon_interval ;
5685 u32 ap_unexpected_nlpid ;
5686 struct __anonstruct_wext_365 wext ;
5687};
5688#line 90 "include/net/mac80211.h"
5689struct device;
5690#line 374 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5691struct mwifiex_chan_scan_param_set {
5692 u8 radio_type ;
5693 u8 chan_number ;
5694 u8 chan_scan_mode_bitmap ;
5695 __le16 min_scan_time ;
5696 __le16 max_scan_time ;
5697} __attribute__((__packed__)) ;
5698#line 479 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5699struct mwifiex_ie_type_key_param_set {
5700 __le16 type ;
5701 __le16 length ;
5702 __le16 key_type_id ;
5703 __le16 key_info ;
5704 __le16 key_len ;
5705 u8 key[50] ;
5706} __attribute__((__packed__)) ;
5707#line 488 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5708struct host_cmd_ds_802_11_key_material {
5709 __le16 action ;
5710 struct mwifiex_ie_type_key_param_set key_param_set ;
5711} __attribute__((__packed__)) ;
5712#line 621 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5713struct ieee_types_cf_param_set {
5714 u8 element_id ;
5715 u8 len ;
5716 u8 cfp_cnt ;
5717 u8 cfp_period ;
5718 u16 cfp_max_duration ;
5719 u16 cfp_duration_remaining ;
5720} __attribute__((__packed__)) ;
5721#line 630 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5722struct ieee_types_ibss_param_set {
5723 u8 element_id ;
5724 u8 len ;
5725 __le16 atim_window ;
5726} __attribute__((__packed__)) ;
5727#line 636 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5728union ieee_types_ss_param_set {
5729 struct ieee_types_cf_param_set cf_param_set ;
5730 struct ieee_types_ibss_param_set ibss_param_set ;
5731} __attribute__((__packed__)) ;
5732#line 641 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5733struct ieee_types_fh_param_set {
5734 u8 element_id ;
5735 u8 len ;
5736 __le16 dwell_time ;
5737 u8 hop_set ;
5738 u8 hop_pattern ;
5739 u8 hop_index ;
5740} __attribute__((__packed__)) ;
5741#line 650 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5742struct ieee_types_ds_param_set {
5743 u8 element_id ;
5744 u8 len ;
5745 u8 current_chan ;
5746} __attribute__((__packed__)) ;
5747#line 656 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5748union ieee_types_phy_param_set {
5749 struct ieee_types_fh_param_set fh_param_set ;
5750 struct ieee_types_ds_param_set ds_param_set ;
5751} __attribute__((__packed__)) ;
5752#line 734 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5753struct mwifiex_hs_config_param {
5754 __le32 conditions ;
5755 u8 gpio ;
5756 u8 gap ;
5757} __attribute__((__packed__)) ;
5758#line 847 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5759struct mwifiex_user_scan_chan {
5760 u8 chan_number ;
5761 u8 radio_type ;
5762 u8 scan_type ;
5763 u8 reserved ;
5764 u32 scan_time ;
5765} __attribute__((__packed__)) ;
5766#line 855 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5767struct mwifiex_user_scan_cfg {
5768 u8 bss_mode ;
5769 u8 num_probes ;
5770 u8 reserved ;
5771 u8 specific_bssid[6] ;
5772 struct cfg80211_ssid *ssid_list ;
5773 u8 num_ssids ;
5774 struct mwifiex_user_scan_chan chan_list[50] ;
5775} __attribute__((__packed__)) ;
5776#line 982 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5777struct ieee_types_vendor_header {
5778 u8 element_id ;
5779 u8 len ;
5780 u8 oui[3] ;
5781 u8 oui_type ;
5782 u8 oui_subtype ;
5783 u8 version ;
5784} __attribute__((__packed__)) ;
5785#line 991 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5786struct ieee_types_wmm_ac_parameters {
5787 u8 aci_aifsn_bitmap ;
5788 u8 ecw_bitmap ;
5789 __le16 tx_op_limit ;
5790} __attribute__((__packed__)) ;
5791#line 997 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5792struct ieee_types_wmm_parameter {
5793 struct ieee_types_vendor_header vend_hdr ;
5794 u8 qos_info_bitmap ;
5795 u8 reserved ;
5796 struct ieee_types_wmm_ac_parameters ac_params[4] ;
5797} __attribute__((__packed__)) ;
5798#line 1035 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5799struct mwifiex_wmm_ac_status {
5800 u8 disabled ;
5801 u8 flow_required ;
5802 u8 flow_created ;
5803};
5804#line 48 "include/linux/kmod.h"
5805struct cred;
5806#line 49
5807struct file;
5808#line 270 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/elf.h"
5809struct task_struct;
5810#line 18 "include/linux/elf.h"
5811typedef __u64 Elf64_Addr;
5812#line 19 "include/linux/elf.h"
5813typedef __u16 Elf64_Half;
5814#line 23 "include/linux/elf.h"
5815typedef __u32 Elf64_Word;
5816#line 24 "include/linux/elf.h"
5817typedef __u64 Elf64_Xword;
5818#line 194 "include/linux/elf.h"
5819struct elf64_sym {
5820 Elf64_Word st_name ;
5821 unsigned char st_info ;
5822 unsigned char st_other ;
5823 Elf64_Half st_shndx ;
5824 Elf64_Addr st_value ;
5825 Elf64_Xword st_size ;
5826};
5827#line 194 "include/linux/elf.h"
5828typedef struct elf64_sym Elf64_Sym;
5829#line 438
5830struct file;
5831#line 39 "include/linux/moduleparam.h"
5832struct kernel_param;
5833#line 39
5834struct kernel_param;
5835#line 41 "include/linux/moduleparam.h"
5836struct kernel_param_ops {
5837 int (*set)(char const *val , struct kernel_param const *kp ) ;
5838 int (*get)(char *buffer , struct kernel_param const *kp ) ;
5839 void (*free)(void *arg ) ;
5840};
5841#line 50
5842struct kparam_string;
5843#line 50
5844struct kparam_array;
5845#line 50 "include/linux/moduleparam.h"
5846union __anonunion____missing_field_name_392 {
5847 void *arg ;
5848 struct kparam_string const *str ;
5849 struct kparam_array const *arr ;
5850};
5851#line 50 "include/linux/moduleparam.h"
5852struct kernel_param {
5853 char const *name ;
5854 struct kernel_param_ops const *ops ;
5855 u16 perm ;
5856 s16 level ;
5857 union __anonunion____missing_field_name_392 __annonCompField58 ;
5858};
5859#line 63 "include/linux/moduleparam.h"
5860struct kparam_string {
5861 unsigned int maxlen ;
5862 char *string ;
5863};
5864#line 69 "include/linux/moduleparam.h"
5865struct kparam_array {
5866 unsigned int max ;
5867 unsigned int elemsize ;
5868 unsigned int *num ;
5869 struct kernel_param_ops const *ops ;
5870 void *elem ;
5871};
5872#line 445
5873struct module;
5874#line 22 "include/linux/tracepoint.h"
5875struct module;
5876#line 23
5877struct tracepoint;
5878#line 23
5879struct tracepoint;
5880#line 25 "include/linux/tracepoint.h"
5881struct tracepoint_func {
5882 void *func ;
5883 void *data ;
5884};
5885#line 30 "include/linux/tracepoint.h"
5886struct tracepoint {
5887 char const *name ;
5888 struct static_key key ;
5889 void (*regfunc)(void) ;
5890 void (*unregfunc)(void) ;
5891 struct tracepoint_func *funcs ;
5892};
5893#line 19 "include/linux/export.h"
5894struct kernel_symbol {
5895 unsigned long value ;
5896 char const *name ;
5897};
5898#line 8 "include/asm-generic/module.h"
5899struct mod_arch_specific {
5900
5901};
5902#line 35 "include/linux/module.h"
5903struct module;
5904#line 37
5905struct module_param_attrs;
5906#line 37 "include/linux/module.h"
5907struct module_kobject {
5908 struct kobject kobj ;
5909 struct module *mod ;
5910 struct kobject *drivers_dir ;
5911 struct module_param_attrs *mp ;
5912};
5913#line 44 "include/linux/module.h"
5914struct module_attribute {
5915 struct attribute attr ;
5916 ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
5917 ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const * ,
5918 size_t count ) ;
5919 void (*setup)(struct module * , char const * ) ;
5920 int (*test)(struct module * ) ;
5921 void (*free)(struct module * ) ;
5922};
5923#line 71
5924struct exception_table_entry;
5925#line 182
5926struct notifier_block;
5927#line 199
5928enum module_state {
5929 MODULE_STATE_LIVE = 0,
5930 MODULE_STATE_COMING = 1,
5931 MODULE_STATE_GOING = 2
5932} ;
5933#line 215 "include/linux/module.h"
5934struct module_ref {
5935 unsigned long incs ;
5936 unsigned long decs ;
5937} __attribute__((__aligned__((2) * (sizeof(unsigned long )) ))) ;
5938#line 220
5939struct module_sect_attrs;
5940#line 220
5941struct module_notes_attrs;
5942#line 220
5943struct ftrace_event_call;
5944#line 220 "include/linux/module.h"
5945struct module {
5946 enum module_state state ;
5947 struct list_head list ;
5948 char name[64UL - sizeof(unsigned long )] ;
5949 struct module_kobject mkobj ;
5950 struct module_attribute *modinfo_attrs ;
5951 char const *version ;
5952 char const *srcversion ;
5953 struct kobject *holders_dir ;
5954 struct kernel_symbol const *syms ;
5955 unsigned long const *crcs ;
5956 unsigned int num_syms ;
5957 struct kernel_param *kp ;
5958 unsigned int num_kp ;
5959 unsigned int num_gpl_syms ;
5960 struct kernel_symbol const *gpl_syms ;
5961 unsigned long const *gpl_crcs ;
5962 struct kernel_symbol const *unused_syms ;
5963 unsigned long const *unused_crcs ;
5964 unsigned int num_unused_syms ;
5965 unsigned int num_unused_gpl_syms ;
5966 struct kernel_symbol const *unused_gpl_syms ;
5967 unsigned long const *unused_gpl_crcs ;
5968 struct kernel_symbol const *gpl_future_syms ;
5969 unsigned long const *gpl_future_crcs ;
5970 unsigned int num_gpl_future_syms ;
5971 unsigned int num_exentries ;
5972 struct exception_table_entry *extable ;
5973 int (*init)(void) ;
5974 void *module_init ;
5975 void *module_core ;
5976 unsigned int init_size ;
5977 unsigned int core_size ;
5978 unsigned int init_text_size ;
5979 unsigned int core_text_size ;
5980 unsigned int init_ro_size ;
5981 unsigned int core_ro_size ;
5982 struct mod_arch_specific arch ;
5983 unsigned int taints ;
5984 unsigned int num_bugs ;
5985 struct list_head bug_list ;
5986 struct bug_entry *bug_table ;
5987 Elf64_Sym *symtab ;
5988 Elf64_Sym *core_symtab ;
5989 unsigned int num_symtab ;
5990 unsigned int core_num_syms ;
5991 char *strtab ;
5992 char *core_strtab ;
5993 struct module_sect_attrs *sect_attrs ;
5994 struct module_notes_attrs *notes_attrs ;
5995 char *args ;
5996 void *percpu ;
5997 unsigned int percpu_size ;
5998 unsigned int num_tracepoints ;
5999 struct tracepoint * const *tracepoints_ptrs ;
6000 unsigned int num_trace_bprintk_fmt ;
6001 char const **trace_bprintk_fmt_start ;
6002 struct ftrace_event_call **trace_events ;
6003 unsigned int num_trace_events ;
6004 struct list_head source_list ;
6005 struct list_head target_list ;
6006 struct task_struct *waiter ;
6007 void (*exit)(void) ;
6008 struct module_ref *refptr ;
6009 ctor_fn_t *ctors ;
6010 unsigned int num_ctors ;
6011};
6012#line 31 "include/linux/security.h"
6013struct cred;
6014#line 32
6015struct rlimit;
6016#line 33
6017struct siginfo;
6018#line 37
6019struct audit_context;
6020#line 38
6021struct super_block;
6022#line 39
6023struct inode;
6024#line 40
6025struct dentry;
6026#line 41
6027struct file;
6028#line 42
6029struct vfsmount;
6030#line 43
6031struct path;
6032#line 44
6033struct qstr;
6034#line 45
6035struct nameidata;
6036#line 46
6037struct iattr;
6038#line 47
6039struct fown_struct;
6040#line 48
6041struct file_operations;
6042#line 54
6043struct mm_struct;
6044#line 63
6045struct ctl_table;
6046#line 65
6047struct user_namespace;
6048#line 100
6049struct msghdr;
6050#line 101
6051struct sk_buff;
6052#line 102
6053struct sock;
6054#line 103
6055struct sockaddr;
6056#line 104
6057struct socket;
6058#line 106
6059struct dst_entry;
6060#line 108
6061struct xfrm_policy;
6062#line 108
6063struct xfrm_policy;
6064#line 109
6065struct xfrm_state;
6066#line 109
6067struct xfrm_state;
6068#line 111
6069struct seq_file;
6070#line 25 "include/linux/memcontrol.h"
6071struct mem_cgroup;
6072#line 27
6073struct page;
6074#line 28
6075struct mm_struct;
6076#line 439
6077struct sock;
6078#line 24 "include/linux/res_counter.h"
6079struct res_counter {
6080 unsigned long long usage ;
6081 unsigned long long max_usage ;
6082 unsigned long long limit ;
6083 unsigned long long soft_limit ;
6084 unsigned long long failcnt ;
6085 spinlock_t lock ;
6086 struct res_counter *parent ;
6087};
6088#line 26 "include/linux/filter.h"
6089struct sock_filter {
6090 __u16 code ;
6091 __u8 jt ;
6092 __u8 jf ;
6093 __u32 k ;
6094};
6095#line 135
6096struct sk_buff;
6097#line 136
6098struct sock;
6099#line 138 "include/linux/filter.h"
6100struct sk_filter {
6101 atomic_t refcnt ;
6102 unsigned int len ;
6103 unsigned int (*bpf_func)(struct sk_buff const *skb , struct sock_filter const *filter ) ;
6104 struct rcu_head rcu ;
6105 struct sock_filter insns[0] ;
6106};
6107#line 28 "include/linux/poll.h"
6108struct poll_table_struct;
6109#line 39 "include/linux/poll.h"
6110struct poll_table_struct {
6111 void (*_qproc)(struct file * , wait_queue_head_t * , struct poll_table_struct * ) ;
6112 unsigned long _key ;
6113};
6114#line 212 "include/net/netlink.h"
6115struct nla_policy {
6116 u16 type ;
6117 u16 len ;
6118};
6119#line 48 "include/net/rtnetlink.h"
6120struct rtnl_link_ops {
6121 struct list_head list ;
6122 char const *kind ;
6123 size_t priv_size ;
6124 void (*setup)(struct net_device *dev ) ;
6125 int maxtype ;
6126 struct nla_policy const *policy ;
6127 int (*validate)(struct nlattr **tb , struct nlattr **data ) ;
6128 int (*newlink)(struct net *src_net , struct net_device *dev , struct nlattr **tb ,
6129 struct nlattr **data ) ;
6130 int (*changelink)(struct net_device *dev , struct nlattr **tb , struct nlattr **data ) ;
6131 void (*dellink)(struct net_device *dev , struct list_head *head ) ;
6132 size_t (*get_size)(struct net_device const *dev ) ;
6133 int (*fill_info)(struct sk_buff *skb , struct net_device const *dev ) ;
6134 size_t (*get_xstats_size)(struct net_device const *dev ) ;
6135 int (*fill_xstats)(struct sk_buff *skb , struct net_device const *dev ) ;
6136 int (*get_tx_queues)(struct net *net , struct nlattr **tb , unsigned int *tx_queues ,
6137 unsigned int *real_tx_queues ) ;
6138};
6139#line 38 "include/net/neighbour.h"
6140struct neighbour;
6141#line 40
6142struct neigh_table;
6143#line 40 "include/net/neighbour.h"
6144struct neigh_parms {
6145 struct net *net ;
6146 struct net_device *dev ;
6147 struct neigh_parms *next ;
6148 int (*neigh_setup)(struct neighbour * ) ;
6149 void (*neigh_cleanup)(struct neighbour * ) ;
6150 struct neigh_table *tbl ;
6151 void *sysctl_table ;
6152 int dead ;
6153 atomic_t refcnt ;
6154 struct rcu_head rcu_head ;
6155 int base_reachable_time ;
6156 int retrans_time ;
6157 int gc_staletime ;
6158 int reachable_time ;
6159 int delay_probe_time ;
6160 int queue_len_bytes ;
6161 int ucast_probes ;
6162 int app_probes ;
6163 int mcast_probes ;
6164 int anycast_delay ;
6165 int proxy_delay ;
6166 int proxy_qlen ;
6167 int locktime ;
6168};
6169#line 72 "include/net/neighbour.h"
6170struct neigh_statistics {
6171 unsigned long allocs ;
6172 unsigned long destroys ;
6173 unsigned long hash_grows ;
6174 unsigned long res_failed ;
6175 unsigned long lookups ;
6176 unsigned long hits ;
6177 unsigned long rcv_probes_mcast ;
6178 unsigned long rcv_probes_ucast ;
6179 unsigned long periodic_gc_runs ;
6180 unsigned long forced_gc_runs ;
6181 unsigned long unres_discards ;
6182};
6183#line 93
6184struct neigh_ops;
6185#line 93 "include/net/neighbour.h"
6186struct neighbour {
6187 struct neighbour *next ;
6188 struct neigh_table *tbl ;
6189 struct neigh_parms *parms ;
6190 unsigned long confirmed ;
6191 unsigned long updated ;
6192 rwlock_t lock ;
6193 atomic_t refcnt ;
6194 struct sk_buff_head arp_queue ;
6195 unsigned int arp_queue_len_bytes ;
6196 struct timer_list timer ;
6197 unsigned long used ;
6198 atomic_t probes ;
6199 __u8 flags ;
6200 __u8 nud_state ;
6201 __u8 type ;
6202 __u8 dead ;
6203 seqlock_t ha_lock ;
6204 unsigned char ha[(32 + ((int )sizeof(unsigned long ) - 1)) & ~ ((int )sizeof(unsigned long ) - 1)] ;
6205 struct hh_cache hh ;
6206 int (*output)(struct neighbour * , struct sk_buff * ) ;
6207 struct neigh_ops const *ops ;
6208 struct rcu_head rcu ;
6209 struct net_device *dev ;
6210 u8 primary_key[0] ;
6211};
6212#line 120 "include/net/neighbour.h"
6213struct neigh_ops {
6214 int family ;
6215 void (*solicit)(struct neighbour * , struct sk_buff * ) ;
6216 void (*error_report)(struct neighbour * , struct sk_buff * ) ;
6217 int (*output)(struct neighbour * , struct sk_buff * ) ;
6218 int (*connected_output)(struct neighbour * , struct sk_buff * ) ;
6219};
6220#line 128 "include/net/neighbour.h"
6221struct pneigh_entry {
6222 struct pneigh_entry *next ;
6223 struct net *net ;
6224 struct net_device *dev ;
6225 u8 flags ;
6226 u8 key[0] ;
6227};
6228#line 144 "include/net/neighbour.h"
6229struct neigh_hash_table {
6230 struct neighbour **hash_buckets ;
6231 unsigned int hash_shift ;
6232 __u32 hash_rnd[4] ;
6233 struct rcu_head rcu ;
6234};
6235#line 152 "include/net/neighbour.h"
6236struct neigh_table {
6237 struct neigh_table *next ;
6238 int family ;
6239 int entry_size ;
6240 int key_len ;
6241 __u32 (*hash)(void const *pkey , struct net_device const *dev , __u32 *hash_rnd ) ;
6242 int (*constructor)(struct neighbour * ) ;
6243 int (*pconstructor)(struct pneigh_entry * ) ;
6244 void (*pdestructor)(struct pneigh_entry * ) ;
6245 void (*proxy_redo)(struct sk_buff *skb ) ;
6246 char *id ;
6247 struct neigh_parms parms ;
6248 int gc_interval ;
6249 int gc_thresh1 ;
6250 int gc_thresh2 ;
6251 int gc_thresh3 ;
6252 unsigned long last_flush ;
6253 struct delayed_work gc_work ;
6254 struct timer_list proxy_timer ;
6255 struct sk_buff_head proxy_queue ;
6256 atomic_t entries ;
6257 rwlock_t lock ;
6258 unsigned long last_rand ;
6259 struct neigh_statistics *stats ;
6260 struct neigh_hash_table *nht ;
6261 struct pneigh_entry **phash_buckets ;
6262};
6263#line 31 "include/net/dst.h"
6264struct sk_buff;
6265#line 33 "include/net/dst.h"
6266union __anonunion____missing_field_name_412 {
6267 unsigned long expires ;
6268 struct dst_entry *from ;
6269};
6270#line 33
6271struct dn_route;
6272#line 33 "include/net/dst.h"
6273union __anonunion____missing_field_name_413 {
6274 struct dst_entry *next ;
6275 struct rtable *rt_next ;
6276 struct rt6_info *rt6_next ;
6277 struct dn_route *dn_next ;
6278};
6279#line 33 "include/net/dst.h"
6280struct dst_entry {
6281 struct rcu_head rcu_head ;
6282 struct dst_entry *child ;
6283 struct net_device *dev ;
6284 struct dst_ops *ops ;
6285 unsigned long _metrics ;
6286 union __anonunion____missing_field_name_412 __annonCompField59 ;
6287 struct dst_entry *path ;
6288 struct neighbour *_neighbour ;
6289 struct xfrm_state *xfrm ;
6290 int (*input)(struct sk_buff * ) ;
6291 int (*output)(struct sk_buff * ) ;
6292 int flags ;
6293 short error ;
6294 short obsolete ;
6295 unsigned short header_len ;
6296 unsigned short trailer_len ;
6297 __u32 tclassid ;
6298 long __pad_to_align_refcnt[2] ;
6299 atomic_t __refcnt ;
6300 int __use ;
6301 unsigned long lastuse ;
6302 union __anonunion____missing_field_name_413 __annonCompField60 ;
6303};
6304#line 70 "include/net/sock.h"
6305struct cgroup;
6306#line 71
6307struct cgroup_subsys;
6308#line 109 "include/net/sock.h"
6309struct __anonstruct_socket_lock_t_415 {
6310 spinlock_t slock ;
6311 int owned ;
6312 wait_queue_head_t wq ;
6313};
6314#line 109 "include/net/sock.h"
6315typedef struct __anonstruct_socket_lock_t_415 socket_lock_t;
6316#line 124
6317struct sock;
6318#line 125
6319struct proto;
6320#line 125
6321struct proto;
6322#line 126
6323struct net;
6324#line 150 "include/net/sock.h"
6325union __anonunion____missing_field_name_416 {
6326 unsigned int skc_hash ;
6327 __u16 skc_u16hashes[2] ;
6328};
6329#line 150 "include/net/sock.h"
6330union __anonunion____missing_field_name_417 {
6331 struct hlist_node skc_bind_node ;
6332 struct hlist_nulls_node skc_portaddr_node ;
6333};
6334#line 150 "include/net/sock.h"
6335union __anonunion____missing_field_name_418 {
6336 struct hlist_node skc_node ;
6337 struct hlist_nulls_node skc_nulls_node ;
6338};
6339#line 150 "include/net/sock.h"
6340struct sock_common {
6341 __be32 skc_daddr ;
6342 __be32 skc_rcv_saddr ;
6343 union __anonunion____missing_field_name_416 __annonCompField61 ;
6344 unsigned short skc_family ;
6345 unsigned char volatile skc_state ;
6346 unsigned char skc_reuse ;
6347 int skc_bound_dev_if ;
6348 union __anonunion____missing_field_name_417 __annonCompField62 ;
6349 struct proto *skc_prot ;
6350 struct net *skc_net ;
6351 int skc_dontcopy_begin[0] ;
6352 union __anonunion____missing_field_name_418 __annonCompField63 ;
6353 int skc_tx_queue_mapping ;
6354 atomic_t skc_refcnt ;
6355 int skc_dontcopy_end[0] ;
6356};
6357#line 191
6358struct cg_proto;
6359#line 191
6360struct cg_proto;
6361#line 263 "include/net/sock.h"
6362struct __anonstruct_sk_backlog_419 {
6363 atomic_t rmem_alloc ;
6364 int len ;
6365 struct sk_buff *head ;
6366 struct sk_buff *tail ;
6367};
6368#line 263 "include/net/sock.h"
6369struct sock {
6370 struct sock_common __sk_common ;
6371 socket_lock_t sk_lock ;
6372 struct sk_buff_head sk_receive_queue ;
6373 struct __anonstruct_sk_backlog_419 sk_backlog ;
6374 int sk_forward_alloc ;
6375 __u32 sk_rxhash ;
6376 atomic_t sk_drops ;
6377 int sk_rcvbuf ;
6378 struct sk_filter *sk_filter ;
6379 struct socket_wq *sk_wq ;
6380 struct sk_buff_head sk_async_wait_queue ;
6381 struct xfrm_policy *sk_policy[2] ;
6382 unsigned long sk_flags ;
6383 struct dst_entry *sk_dst_cache ;
6384 spinlock_t sk_dst_lock ;
6385 atomic_t sk_wmem_alloc ;
6386 atomic_t sk_omem_alloc ;
6387 int sk_sndbuf ;
6388 struct sk_buff_head sk_write_queue ;
6389 unsigned int sk_shutdown : 2 ;
6390 unsigned int sk_no_check : 2 ;
6391 unsigned int sk_userlocks : 4 ;
6392 unsigned int sk_protocol : 8 ;
6393 unsigned int sk_type : 16 ;
6394 int sk_wmem_queued ;
6395 gfp_t sk_allocation ;
6396 netdev_features_t sk_route_caps ;
6397 netdev_features_t sk_route_nocaps ;
6398 int sk_gso_type ;
6399 unsigned int sk_gso_max_size ;
6400 int sk_rcvlowat ;
6401 unsigned long sk_lingertime ;
6402 struct sk_buff_head sk_error_queue ;
6403 struct proto *sk_prot_creator ;
6404 rwlock_t sk_callback_lock ;
6405 int sk_err ;
6406 int sk_err_soft ;
6407 unsigned short sk_ack_backlog ;
6408 unsigned short sk_max_ack_backlog ;
6409 __u32 sk_priority ;
6410 __u32 sk_cgrp_prioidx ;
6411 struct pid *sk_peer_pid ;
6412 struct cred const *sk_peer_cred ;
6413 long sk_rcvtimeo ;
6414 long sk_sndtimeo ;
6415 void *sk_protinfo ;
6416 struct timer_list sk_timer ;
6417 ktime_t sk_stamp ;
6418 struct socket *sk_socket ;
6419 void *sk_user_data ;
6420 struct page *sk_sndmsg_page ;
6421 struct sk_buff *sk_send_head ;
6422 __u32 sk_sndmsg_off ;
6423 __s32 sk_peek_off ;
6424 int sk_write_pending ;
6425 void *sk_security ;
6426 __u32 sk_mark ;
6427 u32 sk_classid ;
6428 struct cg_proto *sk_cgrp ;
6429 void (*sk_state_change)(struct sock *sk ) ;
6430 void (*sk_data_ready)(struct sock *sk , int bytes ) ;
6431 void (*sk_write_space)(struct sock *sk ) ;
6432 void (*sk_error_report)(struct sock *sk ) ;
6433 int (*sk_backlog_rcv)(struct sock *sk , struct sk_buff *skb ) ;
6434 void (*sk_destruct)(struct sock *sk ) ;
6435};
6436#line 788
6437struct request_sock_ops;
6438#line 788
6439struct request_sock_ops;
6440#line 789
6441struct timewait_sock_ops;
6442#line 789
6443struct timewait_sock_ops;
6444#line 790
6445struct inet_hashinfo;
6446#line 790
6447struct inet_hashinfo;
6448#line 791
6449struct raw_hashinfo;
6450#line 791
6451struct raw_hashinfo;
6452#line 792
6453struct module;
6454#line 798
6455struct udp_table;
6456#line 798 "include/net/sock.h"
6457union __anonunion_h_420 {
6458 struct inet_hashinfo *hashinfo ;
6459 struct udp_table *udp_table ;
6460 struct raw_hashinfo *raw_hash ;
6461};
6462#line 798 "include/net/sock.h"
6463struct proto {
6464 void (*close)(struct sock *sk , long timeout ) ;
6465 int (*connect)(struct sock *sk , struct sockaddr *uaddr , int addr_len ) ;
6466 int (*disconnect)(struct sock *sk , int flags ) ;
6467 struct sock *(*accept)(struct sock *sk , int flags , int *err ) ;
6468 int (*ioctl)(struct sock *sk , int cmd , unsigned long arg ) ;
6469 int (*init)(struct sock *sk ) ;
6470 void (*destroy)(struct sock *sk ) ;
6471 void (*shutdown)(struct sock *sk , int how ) ;
6472 int (*setsockopt)(struct sock *sk , int level , int optname , char *optval , unsigned int optlen ) ;
6473 int (*getsockopt)(struct sock *sk , int level , int optname , char *optval , int *option ) ;
6474 int (*compat_setsockopt)(struct sock *sk , int level , int optname , char *optval ,
6475 unsigned int optlen ) ;
6476 int (*compat_getsockopt)(struct sock *sk , int level , int optname , char *optval ,
6477 int *option ) ;
6478 int (*compat_ioctl)(struct sock *sk , unsigned int cmd , unsigned long arg ) ;
6479 int (*sendmsg)(struct kiocb *iocb , struct sock *sk , struct msghdr *msg , size_t len ) ;
6480 int (*recvmsg)(struct kiocb *iocb , struct sock *sk , struct msghdr *msg , size_t len ,
6481 int noblock , int flags , int *addr_len ) ;
6482 int (*sendpage)(struct sock *sk , struct page *page , int offset , size_t size ,
6483 int flags ) ;
6484 int (*bind)(struct sock *sk , struct sockaddr *uaddr , int addr_len ) ;
6485 int (*backlog_rcv)(struct sock *sk , struct sk_buff *skb ) ;
6486 void (*hash)(struct sock *sk ) ;
6487 void (*unhash)(struct sock *sk ) ;
6488 void (*rehash)(struct sock *sk ) ;
6489 int (*get_port)(struct sock *sk , unsigned short snum ) ;
6490 void (*clear_sk)(struct sock *sk , int size ) ;
6491 unsigned int inuse_idx ;
6492 void (*enter_memory_pressure)(struct sock *sk ) ;
6493 atomic_long_t *memory_allocated ;
6494 struct percpu_counter *sockets_allocated ;
6495 int *memory_pressure ;
6496 long *sysctl_mem ;
6497 int *sysctl_wmem ;
6498 int *sysctl_rmem ;
6499 int max_header ;
6500 bool no_autobind ;
6501 struct kmem_cache *slab ;
6502 unsigned int obj_size ;
6503 int slab_flags ;
6504 struct percpu_counter *orphan_count ;
6505 struct request_sock_ops *rsk_prot ;
6506 struct timewait_sock_ops *twsk_prot ;
6507 union __anonunion_h_420 h ;
6508 struct module *owner ;
6509 char name[32] ;
6510 struct list_head node ;
6511 int (*init_cgroup)(struct cgroup *cgrp , struct cgroup_subsys *ss ) ;
6512 void (*destroy_cgroup)(struct cgroup *cgrp ) ;
6513 struct cg_proto *(*proto_cgroup)(struct mem_cgroup *memcg ) ;
6514};
6515#line 911 "include/net/sock.h"
6516struct cg_proto {
6517 void (*enter_memory_pressure)(struct sock *sk ) ;
6518 struct res_counter *memory_allocated ;
6519 struct percpu_counter *sockets_allocated ;
6520 int *memory_pressure ;
6521 long *sysctl_mem ;
6522 struct mem_cgroup *memcg ;
6523};
6524#line 44 "include/net/lib80211.h"
6525struct module;
6526#line 12 "include/linux/mod_devicetable.h"
6527typedef unsigned long kernel_ulong_t;
6528#line 17 "include/linux/mod_devicetable.h"
6529struct pci_device_id {
6530 __u32 vendor ;
6531 __u32 device ;
6532 __u32 subvendor ;
6533 __u32 subdevice ;
6534 __u32 class ;
6535 __u32 class_mask ;
6536 kernel_ulong_t driver_data ;
6537};
6538#line 219 "include/linux/mod_devicetable.h"
6539struct of_device_id {
6540 char name[32] ;
6541 char type[32] ;
6542 char compatible[128] ;
6543 void *data ;
6544};
6545#line 25 "include/linux/io.h"
6546struct device;
6547#line 61 "include/linux/pci.h"
6548struct hotplug_slot;
6549#line 61 "include/linux/pci.h"
6550struct pci_slot {
6551 struct pci_bus *bus ;
6552 struct list_head list ;
6553 struct hotplug_slot *hotplug ;
6554 unsigned char number ;
6555 struct kobject kobj ;
6556};
6557#line 117 "include/linux/pci.h"
6558typedef int pci_power_t;
6559#line 143 "include/linux/pci.h"
6560typedef unsigned int pci_channel_state_t;
6561#line 145
6562enum pci_channel_state {
6563 pci_channel_io_normal = 1,
6564 pci_channel_io_frozen = 2,
6565 pci_channel_io_perm_failure = 3
6566} ;
6567#line 169 "include/linux/pci.h"
6568typedef unsigned short pci_dev_flags_t;
6569#line 186 "include/linux/pci.h"
6570typedef unsigned short pci_bus_flags_t;
6571#line 230
6572struct pcie_link_state;
6573#line 230
6574struct pcie_link_state;
6575#line 231
6576struct pci_vpd;
6577#line 231
6578struct pci_vpd;
6579#line 232
6580struct pci_sriov;
6581#line 232
6582struct pci_sriov;
6583#line 233
6584struct pci_ats;
6585#line 233
6586struct pci_ats;
6587#line 238
6588struct pci_driver;
6589#line 238 "include/linux/pci.h"
6590union __anonunion____missing_field_name_424 {
6591 struct pci_sriov *sriov ;
6592 struct pci_dev *physfn ;
6593};
6594#line 238 "include/linux/pci.h"
6595struct pci_dev {
6596 struct list_head bus_list ;
6597 struct pci_bus *bus ;
6598 struct pci_bus *subordinate ;
6599 void *sysdata ;
6600 struct proc_dir_entry *procent ;
6601 struct pci_slot *slot ;
6602 unsigned int devfn ;
6603 unsigned short vendor ;
6604 unsigned short device ;
6605 unsigned short subsystem_vendor ;
6606 unsigned short subsystem_device ;
6607 unsigned int class ;
6608 u8 revision ;
6609 u8 hdr_type ;
6610 u8 pcie_cap ;
6611 u8 pcie_type : 4 ;
6612 u8 pcie_mpss : 3 ;
6613 u8 rom_base_reg ;
6614 u8 pin ;
6615 struct pci_driver *driver ;
6616 u64 dma_mask ;
6617 struct device_dma_parameters dma_parms ;
6618 pci_power_t current_state ;
6619 int pm_cap ;
6620 unsigned int pme_support : 5 ;
6621 unsigned int pme_interrupt : 1 ;
6622 unsigned int pme_poll : 1 ;
6623 unsigned int d1_support : 1 ;
6624 unsigned int d2_support : 1 ;
6625 unsigned int no_d1d2 : 1 ;
6626 unsigned int mmio_always_on : 1 ;
6627 unsigned int wakeup_prepared : 1 ;
6628 unsigned int d3_delay ;
6629 struct pcie_link_state *link_state ;
6630 pci_channel_state_t error_state ;
6631 struct device dev ;
6632 int cfg_size ;
6633 unsigned int irq ;
6634 struct resource resource[17] ;
6635 unsigned int transparent : 1 ;
6636 unsigned int multifunction : 1 ;
6637 unsigned int is_added : 1 ;
6638 unsigned int is_busmaster : 1 ;
6639 unsigned int no_msi : 1 ;
6640 unsigned int block_cfg_access : 1 ;
6641 unsigned int broken_parity_status : 1 ;
6642 unsigned int irq_reroute_variant : 2 ;
6643 unsigned int msi_enabled : 1 ;
6644 unsigned int msix_enabled : 1 ;
6645 unsigned int ari_enabled : 1 ;
6646 unsigned int is_managed : 1 ;
6647 unsigned int is_pcie : 1 ;
6648 unsigned int needs_freset : 1 ;
6649 unsigned int state_saved : 1 ;
6650 unsigned int is_physfn : 1 ;
6651 unsigned int is_virtfn : 1 ;
6652 unsigned int reset_fn : 1 ;
6653 unsigned int is_hotplug_bridge : 1 ;
6654 unsigned int __aer_firmware_first_valid : 1 ;
6655 unsigned int __aer_firmware_first : 1 ;
6656 pci_dev_flags_t dev_flags ;
6657 atomic_t enable_cnt ;
6658 u32 saved_config_space[16] ;
6659 struct hlist_head saved_cap_space ;
6660 struct bin_attribute *rom_attr ;
6661 int rom_attr_enabled ;
6662 struct bin_attribute *res_attr[17] ;
6663 struct bin_attribute *res_attr_wc[17] ;
6664 struct list_head msi_list ;
6665 struct kset *msi_kset ;
6666 struct pci_vpd *vpd ;
6667 union __anonunion____missing_field_name_424 __annonCompField64 ;
6668 struct pci_ats *ats ;
6669};
6670#line 406
6671struct pci_ops;
6672#line 406 "include/linux/pci.h"
6673struct pci_bus {
6674 struct list_head node ;
6675 struct pci_bus *parent ;
6676 struct list_head children ;
6677 struct list_head devices ;
6678 struct pci_dev *self ;
6679 struct list_head slots ;
6680 struct resource *resource[4] ;
6681 struct list_head resources ;
6682 struct pci_ops *ops ;
6683 void *sysdata ;
6684 struct proc_dir_entry *procdir ;
6685 unsigned char number ;
6686 unsigned char primary ;
6687 unsigned char secondary ;
6688 unsigned char subordinate ;
6689 unsigned char max_bus_speed ;
6690 unsigned char cur_bus_speed ;
6691 char name[48] ;
6692 unsigned short bridge_ctl ;
6693 pci_bus_flags_t bus_flags ;
6694 struct device *bridge ;
6695 struct device dev ;
6696 struct bin_attribute *legacy_io ;
6697 struct bin_attribute *legacy_mem ;
6698 unsigned int is_added : 1 ;
6699};
6700#line 472 "include/linux/pci.h"
6701struct pci_ops {
6702 int (*read)(struct pci_bus *bus , unsigned int devfn , int where , int size , u32 *val ) ;
6703 int (*write)(struct pci_bus *bus , unsigned int devfn , int where , int size ,
6704 u32 val ) ;
6705};
6706#line 491 "include/linux/pci.h"
6707struct pci_dynids {
6708 spinlock_t lock ;
6709 struct list_head list ;
6710};
6711#line 503 "include/linux/pci.h"
6712typedef unsigned int pci_ers_result_t;
6713#line 523 "include/linux/pci.h"
6714struct pci_error_handlers {
6715 pci_ers_result_t (*error_detected)(struct pci_dev *dev , enum pci_channel_state error ) ;
6716 pci_ers_result_t (*mmio_enabled)(struct pci_dev *dev ) ;
6717 pci_ers_result_t (*link_reset)(struct pci_dev *dev ) ;
6718 pci_ers_result_t (*slot_reset)(struct pci_dev *dev ) ;
6719 void (*resume)(struct pci_dev *dev ) ;
6720};
6721#line 543
6722struct module;
6723#line 544 "include/linux/pci.h"
6724struct pci_driver {
6725 struct list_head node ;
6726 char const *name ;
6727 struct pci_device_id const *id_table ;
6728 int (*probe)(struct pci_dev *dev , struct pci_device_id const *id ) ;
6729 void (*remove)(struct pci_dev *dev ) ;
6730 int (*suspend)(struct pci_dev *dev , pm_message_t state ) ;
6731 int (*suspend_late)(struct pci_dev *dev , pm_message_t state ) ;
6732 int (*resume_early)(struct pci_dev *dev ) ;
6733 int (*resume)(struct pci_dev *dev ) ;
6734 void (*shutdown)(struct pci_dev *dev ) ;
6735 struct pci_error_handlers *err_handler ;
6736 struct device_driver driver ;
6737 struct pci_dynids dynids ;
6738};
6739#line 187 "include/linux/interrupt.h"
6740struct device;
6741#line 695
6742struct seq_file;
6743#line 107 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/pcie.h"
6744struct mwifiex_pcie_buf_desc {
6745 u64 paddr ;
6746 u16 len ;
6747 u16 flags ;
6748} __attribute__((__packed__)) ;
6749#line 113
6750struct mwifiex_adapter;
6751#line 113 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/pcie.h"
6752struct pcie_service_card {
6753 struct pci_dev *dev ;
6754 struct mwifiex_adapter *adapter ;
6755 u32 txbd_wrptr ;
6756 u32 txbd_rdptr ;
6757 u32 txbd_ring_size ;
6758 u8 *txbd_ring_vbase ;
6759 phys_addr_t txbd_ring_pbase ;
6760 struct mwifiex_pcie_buf_desc *txbd_ring[32] ;
6761 struct sk_buff *tx_buf_list[32] ;
6762 u32 rxbd_wrptr ;
6763 u32 rxbd_rdptr ;
6764 u32 rxbd_ring_size ;
6765 u8 *rxbd_ring_vbase ;
6766 phys_addr_t rxbd_ring_pbase ;
6767 struct mwifiex_pcie_buf_desc *rxbd_ring[32] ;
6768 struct sk_buff *rx_buf_list[32] ;
6769 u32 evtbd_wrptr ;
6770 u32 evtbd_rdptr ;
6771 u32 evtbd_ring_size ;
6772 u8 *evtbd_ring_vbase ;
6773 phys_addr_t evtbd_ring_pbase ;
6774 struct mwifiex_pcie_buf_desc *evtbd_ring[4] ;
6775 struct sk_buff *evt_buf_list[4] ;
6776 struct sk_buff *cmd_buf ;
6777 struct sk_buff *cmdrsp_buf ;
6778 struct sk_buff *sleep_cookie ;
6779 void *pci_mmap ;
6780 void *pci_mmap1 ;
6781};
6782#line 113 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6783struct mwifiex_dbg {
6784 u32 num_cmd_host_to_card_failure ;
6785 u32 num_cmd_sleep_cfm_host_to_card_failure ;
6786 u32 num_tx_host_to_card_failure ;
6787 u32 num_event_deauth ;
6788 u32 num_event_disassoc ;
6789 u32 num_event_link_lost ;
6790 u32 num_cmd_deauth ;
6791 u32 num_cmd_assoc_success ;
6792 u32 num_cmd_assoc_failure ;
6793 u32 num_tx_timeout ;
6794 u32 num_cmd_timeout ;
6795 u16 timeout_cmd_id ;
6796 u16 timeout_cmd_act ;
6797 u16 last_cmd_id[5] ;
6798 u16 last_cmd_act[5] ;
6799 u16 last_cmd_index ;
6800 u16 last_cmd_resp_id[5] ;
6801 u16 last_cmd_resp_index ;
6802 u16 last_event[5] ;
6803 u16 last_event_index ;
6804};
6805#line 136
6806enum MWIFIEX_HARDWARE_STATUS {
6807 MWIFIEX_HW_STATUS_READY = 0,
6808 MWIFIEX_HW_STATUS_INITIALIZING = 1,
6809 MWIFIEX_HW_STATUS_FW_READY = 2,
6810 MWIFIEX_HW_STATUS_INIT_DONE = 3,
6811 MWIFIEX_HW_STATUS_RESET = 4,
6812 MWIFIEX_HW_STATUS_CLOSING = 5,
6813 MWIFIEX_HW_STATUS_NOT_READY = 6
6814} ;
6815#line 151 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6816struct mwifiex_tx_param {
6817 u32 next_pkt_len ;
6818};
6819#line 167 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6820struct mwifiex_add_ba_param {
6821 u32 tx_win_size ;
6822 u32 rx_win_size ;
6823 u32 timeout ;
6824};
6825#line 173 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6826struct mwifiex_tx_aggr {
6827 u8 ampdu_user ;
6828 u8 ampdu_ap ;
6829 u8 amsdu ;
6830};
6831#line 179 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6832struct mwifiex_ra_list_tbl {
6833 struct list_head list ;
6834 struct sk_buff_head skb_head ;
6835 u8 ra[6] ;
6836 u32 total_pkts_size ;
6837 u32 is_11n_enabled ;
6838};
6839#line 187 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6840struct mwifiex_tid_tbl {
6841 struct list_head ra_list ;
6842 spinlock_t tid_tbl_lock ;
6843 struct mwifiex_ra_list_tbl *ra_list_curr ;
6844};
6845#line 199 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6846struct mwifiex_wmm_desc {
6847 struct mwifiex_tid_tbl tid_tbl_ptr[8] ;
6848 u32 packets_out[8] ;
6849 spinlock_t ra_list_spinlock ;
6850 struct mwifiex_wmm_ac_status ac_status[4] ;
6851 enum mwifiex_wmm_ac_e ac_down_graded_vals[4] ;
6852 u32 drv_pkt_delay_max ;
6853 u8 queue_priority[4] ;
6854 u32 user_pri_pkt_tx_ctrl[8] ;
6855 atomic_t tx_pkts_queued ;
6856 atomic_t highest_queued_prio ;
6857};
6858#line 215 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6859struct mwifiex_802_11_security {
6860 u8 wpa_enabled ;
6861 u8 wpa2_enabled ;
6862 u8 wapi_enabled ;
6863 u8 wapi_key_on ;
6864 u8 wep_enabled ;
6865 u32 authentication_mode ;
6866 u8 is_authtype_auto ;
6867 u32 encryption_mode ;
6868};
6869#line 226 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6870struct ieee_types_header {
6871 u8 element_id ;
6872 u8 len ;
6873} __attribute__((__packed__)) ;
6874#line 235 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6875struct ieee_types_vendor_specific {
6876 struct ieee_types_vendor_header vend_hdr ;
6877 u8 data[256UL - sizeof(struct ieee_types_vendor_header )] ;
6878} __attribute__((__packed__)) ;
6879#line 240 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6880struct ieee_types_generic {
6881 struct ieee_types_header ieee_hdr ;
6882 u8 data[256UL - sizeof(struct ieee_types_header )] ;
6883} __attribute__((__packed__)) ;
6884#line 245 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6885struct mwifiex_bssdescriptor {
6886 u8 mac_address[6] ;
6887 struct cfg80211_ssid ssid ;
6888 u32 privacy ;
6889 s32 rssi ;
6890 u32 channel ;
6891 u32 freq ;
6892 u16 beacon_period ;
6893 u8 erp_flags ;
6894 u32 bss_mode ;
6895 u8 supported_rates[14] ;
6896 u8 data_rates[14] ;
6897 u16 bss_band ;
6898 u64 network_tsf ;
6899 u8 time_stamp[8] ;
6900 union ieee_types_phy_param_set phy_param_set ;
6901 union ieee_types_ss_param_set ss_param_set ;
6902 u16 cap_info_bitmap ;
6903 struct ieee_types_wmm_parameter wmm_ie ;
6904 u8 disable_11n ;
6905 struct ieee80211_ht_cap *bcn_ht_cap ;
6906 u16 ht_cap_offset ;
6907 struct ieee80211_ht_info *bcn_ht_info ;
6908 u16 ht_info_offset ;
6909 u8 *bcn_bss_co_2040 ;
6910 u16 bss_co_2040_offset ;
6911 u8 *bcn_ext_cap ;
6912 u16 ext_cap_offset ;
6913 struct ieee_types_vendor_specific *bcn_wpa_ie ;
6914 u16 wpa_offset ;
6915 struct ieee_types_generic *bcn_rsn_ie ;
6916 u16 rsn_offset ;
6917 struct ieee_types_generic *bcn_wapi_ie ;
6918 u16 wapi_offset ;
6919 u8 *beacon_buf ;
6920 u32 beacon_buf_size ;
6921};
6922#line 288 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6923struct mwifiex_current_bss_params {
6924 struct mwifiex_bssdescriptor bss_descriptor ;
6925 u8 wmm_enabled ;
6926 u8 wmm_uapsd_enabled ;
6927 u8 band ;
6928 u32 num_of_rates ;
6929 u8 data_rates[14] ;
6930};
6931#line 297 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6932struct mwifiex_sleep_params {
6933 u16 sp_error ;
6934 u16 sp_offset ;
6935 u16 sp_stable_time ;
6936 u8 sp_cal_control ;
6937 u8 sp_ext_sleep_clk ;
6938 u16 sp_reserved ;
6939};
6940#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6941struct mwifiex_sleep_period {
6942 u16 period ;
6943 u16 reserved ;
6944};
6945#line 311 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6946struct mwifiex_wep_key {
6947 u32 length ;
6948 u32 key_index ;
6949 u32 key_length ;
6950 u8 key_material[16] ;
6951};
6952#line 320 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6953struct mwifiex_chan_freq_power {
6954 u16 channel ;
6955 u32 freq ;
6956 u16 max_tx_power ;
6957 u8 unsupported ;
6958};
6959#line 334 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6960struct mwifiex_802_11d_domain_reg {
6961 u8 country_code[3] ;
6962 u8 no_of_triplet ;
6963 struct ieee80211_country_ie_triplet triplet[83] ;
6964};
6965#line 341 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6966struct mwifiex_vendor_spec_cfg_ie {
6967 u16 mask ;
6968 u16 flag ;
6969 u8 ie[256] ;
6970};
6971#line 347 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6972struct wps {
6973 u8 session_enable ;
6974};
6975#line 351
6976struct mwifiex_adapter;
6977#line 352
6978struct mwifiex_private;
6979#line 352
6980struct mwifiex_private;
6981#line 354 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6982struct mwifiex_private {
6983 struct mwifiex_adapter *adapter ;
6984 u8 bss_type ;
6985 u8 bss_role ;
6986 u8 bss_priority ;
6987 u8 bss_num ;
6988 u8 frame_type ;
6989 u8 curr_addr[6] ;
6990 u8 media_connected ;
6991 u32 num_tx_timeout ;
6992 struct net_device *netdev ;
6993 struct net_device_stats stats ;
6994 u16 curr_pkt_filter ;
6995 u32 bss_mode ;
6996 u32 pkt_tx_ctrl ;
6997 u16 tx_power_level ;
6998 u8 max_tx_power_level ;
6999 u8 min_tx_power_level ;
7000 u8 tx_rate ;
7001 u8 tx_htinfo ;
7002 u8 rxpd_htinfo ;
7003 u8 rxpd_rate ;
7004 u16 rate_bitmap ;
7005 u16 bitmap_rates[10] ;
7006 u32 data_rate ;
7007 u8 is_data_rate_auto ;
7008 u16 bcn_avg_factor ;
7009 u16 data_avg_factor ;
7010 s16 data_rssi_last ;
7011 s16 data_nf_last ;
7012 s16 data_rssi_avg ;
7013 s16 data_nf_avg ;
7014 s16 bcn_rssi_last ;
7015 s16 bcn_nf_last ;
7016 s16 bcn_rssi_avg ;
7017 s16 bcn_nf_avg ;
7018 struct mwifiex_bssdescriptor *attempted_bss_desc ;
7019 struct cfg80211_ssid prev_ssid ;
7020 u8 prev_bssid[6] ;
7021 struct mwifiex_current_bss_params curr_bss_params ;
7022 u16 beacon_period ;
7023 u8 dtim_period ;
7024 u16 listen_interval ;
7025 u16 atim_window ;
7026 u8 adhoc_channel ;
7027 u8 adhoc_is_link_sensed ;
7028 u8 adhoc_state ;
7029 struct mwifiex_802_11_security sec_info ;
7030 struct mwifiex_wep_key wep_key[4] ;
7031 u16 wep_key_curr_index ;
7032 u8 wpa_ie[256] ;
7033 u8 wpa_ie_len ;
7034 u8 wpa_is_gtk_set ;
7035 struct host_cmd_ds_802_11_key_material aes_key ;
7036 u8 wapi_ie[256] ;
7037 u8 wapi_ie_len ;
7038 u8 wmm_required ;
7039 u8 wmm_enabled ;
7040 u8 wmm_qosinfo ;
7041 struct mwifiex_wmm_desc wmm ;
7042 struct list_head tx_ba_stream_tbl_ptr ;
7043 spinlock_t tx_ba_stream_tbl_lock ;
7044 struct mwifiex_tx_aggr aggr_prio_tbl[8] ;
7045 struct mwifiex_add_ba_param add_ba_param ;
7046 u16 rx_seq[8] ;
7047 struct list_head rx_reorder_tbl_ptr ;
7048 spinlock_t rx_reorder_tbl_lock ;
7049 spinlock_t rx_pkt_lock ;
7050 u8 assoc_rsp_buf[500] ;
7051 u32 assoc_rsp_size ;
7052 u8 gen_ie_buf[256] ;
7053 u8 gen_ie_buf_len ;
7054 struct mwifiex_vendor_spec_cfg_ie vs_ie[8] ;
7055 u8 assoc_tlv_buf[256] ;
7056 u8 assoc_tlv_buf_len ;
7057 u8 *curr_bcn_buf ;
7058 u32 curr_bcn_size ;
7059 spinlock_t curr_bcn_buf_lock ;
7060 struct wireless_dev *wdev ;
7061 struct mwifiex_chan_freq_power cfp ;
7062 char version_str[128] ;
7063 struct dentry *dfs_dev_dir ;
7064 u8 nick_name[16] ;
7065 u8 qual_level ;
7066 u8 qual_noise ;
7067 u16 current_key_index ;
7068 struct semaphore async_sem ;
7069 u8 scan_pending_on_block ;
7070 u8 report_scan_result ;
7071 struct cfg80211_scan_request *scan_request ;
7072 struct mwifiex_user_scan_cfg *user_scan_cfg ;
7073 u8 cfg_bssid[6] ;
7074 u8 country_code[3] ;
7075 struct wps wps ;
7076 u8 scan_block ;
7077};
7078#line 495 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
7079struct mwifiex_bss_prio_node {
7080 struct list_head list ;
7081 struct mwifiex_private *priv ;
7082};
7083#line 500 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
7084struct mwifiex_bss_prio_tbl {
7085 struct list_head bss_prio_head ;
7086 spinlock_t bss_prio_lock ;
7087 struct mwifiex_bss_prio_node *bss_prio_cur ;
7088};
7089#line 507 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
7090struct cmd_ctrl_node {
7091 struct list_head list ;
7092 struct mwifiex_private *priv ;
7093 u32 cmd_oid ;
7094 u32 cmd_flag ;
7095 struct sk_buff *cmd_skb ;
7096 struct sk_buff *resp_skb ;
7097 void *data_buf ;
7098 u32 wait_q_enabled ;
7099 struct sk_buff *skb ;
7100 u8 *condition ;
7101 u8 cmd_wait_q_woken ;
7102};
7103#line 521 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
7104struct mwifiex_if_ops {
7105 int (*init_if)(struct mwifiex_adapter * ) ;
7106 void (*cleanup_if)(struct mwifiex_adapter * ) ;
7107 int (*check_fw_status)(struct mwifiex_adapter * , u32 ) ;
7108 int (*prog_fw)(struct mwifiex_adapter * , struct mwifiex_fw_image * ) ;
7109 int (*register_dev)(struct mwifiex_adapter * ) ;
7110 void (*unregister_dev)(struct mwifiex_adapter * ) ;
7111 int (*enable_int)(struct mwifiex_adapter * ) ;
7112 int (*process_int_status)(struct mwifiex_adapter * ) ;
7113 int (*host_to_card)(struct mwifiex_adapter * , u8 , struct sk_buff * , struct mwifiex_tx_param * ) ;
7114 int (*wakeup)(struct mwifiex_adapter * ) ;
7115 int (*wakeup_complete)(struct mwifiex_adapter * ) ;
7116 void (*update_mp_end_port)(struct mwifiex_adapter * , u16 ) ;
7117 void (*cleanup_mpa_buf)(struct mwifiex_adapter * ) ;
7118 int (*cmdrsp_complete)(struct mwifiex_adapter * , struct sk_buff * ) ;
7119 int (*event_complete)(struct mwifiex_adapter * , struct sk_buff * ) ;
7120};
7121#line 542 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
7122struct mwifiex_adapter {
7123 u8 iface_type ;
7124 struct mwifiex_private *priv[1] ;
7125 u8 priv_num ;
7126 struct firmware const *firmware ;
7127 char fw_name[32] ;
7128 int winner ;
7129 struct device *dev ;
7130 bool surprise_removed ;
7131 u32 fw_release_number ;
7132 u16 init_wait_q_woken ;
7133 wait_queue_head_t init_wait_q ;
7134 void *card ;
7135 struct mwifiex_if_ops if_ops ;
7136 atomic_t rx_pending ;
7137 atomic_t tx_pending ;
7138 atomic_t cmd_pending ;
7139 struct workqueue_struct *workqueue ;
7140 struct work_struct main_work ;
7141 struct mwifiex_bss_prio_tbl bss_prio_tbl[1] ;
7142 spinlock_t mwifiex_lock ;
7143 spinlock_t main_proc_lock ;
7144 u32 mwifiex_processing ;
7145 u16 max_tx_buf_size ;
7146 u16 tx_buf_size ;
7147 u16 curr_tx_buf_size ;
7148 u32 ioport ;
7149 enum MWIFIEX_HARDWARE_STATUS hw_status ;
7150 u16 number_of_antenna ;
7151 u32 fw_cap_info ;
7152 spinlock_t int_lock ;
7153 u8 int_status ;
7154 u32 event_cause ;
7155 struct sk_buff *event_skb ;
7156 u8 upld_buf[2312] ;
7157 u8 data_sent ;
7158 u8 cmd_sent ;
7159 u8 cmd_resp_received ;
7160 u8 event_received ;
7161 u8 data_received ;
7162 u16 seq_num ;
7163 struct cmd_ctrl_node *cmd_pool ;
7164 struct cmd_ctrl_node *curr_cmd ;
7165 spinlock_t mwifiex_cmd_lock ;
7166 u32 num_cmd_timeout ;
7167 u16 last_init_cmd ;
7168 struct timer_list cmd_timer ;
7169 struct list_head cmd_free_q ;
7170 spinlock_t cmd_free_q_lock ;
7171 struct list_head cmd_pending_q ;
7172 spinlock_t cmd_pending_q_lock ;
7173 struct list_head scan_pending_q ;
7174 spinlock_t scan_pending_q_lock ;
7175 u32 scan_processing ;
7176 u16 region_code ;
7177 struct mwifiex_802_11d_domain_reg domain_reg ;
7178 u16 scan_probes ;
7179 u32 scan_mode ;
7180 u16 specific_scan_time ;
7181 u16 active_scan_time ;
7182 u16 passive_scan_time ;
7183 u8 fw_bands ;
7184 u8 adhoc_start_band ;
7185 u8 config_bands ;
7186 struct mwifiex_chan_scan_param_set *scan_channels ;
7187 u8 tx_lock_flag ;
7188 struct mwifiex_sleep_params sleep_params ;
7189 struct mwifiex_sleep_period sleep_period ;
7190 u16 ps_mode ;
7191 u32 ps_state ;
7192 u8 need_to_wakeup ;
7193 u16 multiple_dtim ;
7194 u16 local_listen_interval ;
7195 u16 null_pkt_interval ;
7196 struct sk_buff *sleep_cfm ;
7197 u16 bcn_miss_time_out ;
7198 u16 adhoc_awake_period ;
7199 u8 is_deep_sleep ;
7200 u8 delay_null_pkt ;
7201 u16 delay_to_ps ;
7202 u16 enhanced_ps_mode ;
7203 u8 pm_wakeup_card_req ;
7204 u16 gen_null_pkt ;
7205 u16 pps_uapsd_mode ;
7206 u32 pm_wakeup_fw_try ;
7207 u8 is_hs_configured ;
7208 struct mwifiex_hs_config_param hs_cfg ;
7209 u8 hs_activated ;
7210 u16 hs_activate_wait_q_woken ;
7211 wait_queue_head_t hs_activate_wait_q ;
7212 bool is_suspended ;
7213 u8 event_body[1024] ;
7214 u32 hw_dot_11n_dev_cap ;
7215 u8 hw_dev_mcs_support ;
7216 u8 adhoc_11n_enabled ;
7217 u8 sec_chan_offset ;
7218 enum nl80211_channel_type channel_type ;
7219 struct mwifiex_dbg dbg ;
7220 u8 arp_filter[68] ;
7221 u32 arp_filter_size ;
7222 u16 cmd_wait_q_required ;
7223 struct mwifiex_wait_queue cmd_wait_q ;
7224 u8 scan_wait_q_woken ;
7225 struct cmd_ctrl_node *cmd_queued ;
7226 spinlock_t queue_lock ;
7227};
7228#line 1 "<compiler builtins>"
7229
7230#line 1
7231long __builtin_expect(long val , long res ) ;
7232#line 61 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page_64_types.h"
7233extern unsigned long __phys_addr(unsigned long ) ;
7234#line 100 "include/linux/printk.h"
7235extern int ( printk)(char const *fmt , ...) ;
7236#line 44 "include/linux/dynamic_debug.h"
7237extern int ( __dynamic_pr_debug)(struct _ddebug *descriptor ,
7238 char const *fmt , ...) ;
7239#line 49
7240extern int ( __dynamic_dev_dbg)(struct _ddebug *descriptor ,
7241 struct device const *dev ,
7242 char const *fmt , ...) ;
7243#line 34 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/string_64.h"
7244extern void *__memcpy(void *to , void const *from , size_t len ) ;
7245#line 58
7246extern void *memmove(void *dest , void const *src , size_t count ) ;
7247#line 62
7248extern char *strcpy(char *dest , char const *src ) ;
7249#line 32 "include/linux/spinlock_api_smp.h"
7250extern unsigned long _raw_spin_lock_irqsave(raw_spinlock_t *lock ) __attribute__((__section__(".spinlock.text"))) ;
7251#line 42
7252extern void _raw_spin_unlock_irqrestore(raw_spinlock_t *lock , unsigned long flags ) __attribute__((__section__(".spinlock.text"))) ;
7253#line 272 "include/linux/spinlock.h"
7254__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock ) __attribute__((__no_instrument_function__)) ;
7255#line 272 "include/linux/spinlock.h"
7256__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock )
7257{
7258
7259 {
7260#line 274
7261 return ((struct raw_spinlock *)lock);
7262}
7263}
7264#line 338
7265__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags ) __attribute__((__no_instrument_function__)) ;
7266#line 338 "include/linux/spinlock.h"
7267__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags )
7268{ struct raw_spinlock *__cil_tmp5 ;
7269
7270 {
7271 {
7272#line 340
7273 while (1) {
7274 while_continue: ;
7275 {
7276#line 340
7277 __cil_tmp5 = (struct raw_spinlock *)lock;
7278#line 340
7279 _raw_spin_unlock_irqrestore(__cil_tmp5, flags);
7280 }
7281#line 340
7282 goto while_break;
7283 }
7284 while_break: ;
7285 }
7286#line 341
7287 return;
7288}
7289}
7290#line 152 "include/linux/mutex.h"
7291void mutex_lock(struct mutex *lock ) ;
7292#line 153
7293int __attribute__((__warn_unused_result__)) mutex_lock_interruptible(struct mutex *lock ) ;
7294#line 154
7295int __attribute__((__warn_unused_result__)) mutex_lock_killable(struct mutex *lock ) ;
7296#line 168
7297int mutex_trylock(struct mutex *lock ) ;
7298#line 169
7299void mutex_unlock(struct mutex *lock ) ;
7300#line 170
7301int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock ) ;
7302#line 368 "include/linux/workqueue.h"
7303extern int queue_work(struct workqueue_struct *wq , struct work_struct *work ) ;
7304#line 111 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
7305__inline static phys_addr_t virt_to_phys(void volatile *address ) __attribute__((__no_instrument_function__)) ;
7306#line 111 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
7307__inline static phys_addr_t virt_to_phys(void volatile *address )
7308{ unsigned long tmp ;
7309 unsigned long __cil_tmp3 ;
7310
7311 {
7312 {
7313#line 113
7314 __cil_tmp3 = (unsigned long )address;
7315#line 113
7316 tmp = __phys_addr(__cil_tmp3);
7317 }
7318#line 113
7319 return ((phys_addr_t )tmp);
7320}
7321}
7322#line 31 "include/asm-generic/iomap.h"
7323extern unsigned int ioread32(void * ) ;
7324#line 37
7325extern void iowrite32(u32 , void * ) ;
7326#line 72
7327extern void pci_iounmap(struct pci_dev *dev , void * ) ;
7328#line 17 "include/asm-generic/pci_iomap.h"
7329extern void *pci_iomap(struct pci_dev *dev , int bar , unsigned long max ) ;
7330#line 161 "include/linux/slab.h"
7331extern void kfree(void const * ) ;
7332#line 221 "include/linux/slub_def.h"
7333extern void *__kmalloc(size_t size , gfp_t flags ) ;
7334#line 268
7335__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
7336 gfp_t flags ) __attribute__((__no_instrument_function__)) ;
7337#line 268 "include/linux/slub_def.h"
7338__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
7339 gfp_t flags )
7340{ void *tmp___2 ;
7341
7342 {
7343 {
7344#line 283
7345 tmp___2 = __kmalloc(size, flags);
7346 }
7347#line 283
7348 return (tmp___2);
7349}
7350}
7351#line 349 "include/linux/slab.h"
7352__inline static void *kzalloc(size_t size , gfp_t flags ) __attribute__((__no_instrument_function__)) ;
7353#line 349 "include/linux/slab.h"
7354__inline static void *kzalloc(size_t size , gfp_t flags )
7355{ void *tmp ;
7356 unsigned int __cil_tmp4 ;
7357
7358 {
7359 {
7360#line 351
7361 __cil_tmp4 = flags | 32768U;
7362#line 351
7363 tmp = kmalloc(size, __cil_tmp4);
7364 }
7365#line 351
7366 return (tmp);
7367}
7368}
7369#line 792 "include/linux/device.h"
7370extern void *dev_get_drvdata(struct device const *dev ) ;
7371#line 793
7372extern int dev_set_drvdata(struct device *dev , void *data ) ;
7373#line 891
7374extern int ( dev_err)(struct device const *dev , char const *fmt
7375 , ...) ;
7376#line 893
7377extern int ( dev_warn)(struct device const *dev , char const *fmt
7378 , ...) ;
7379#line 58 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/dma-mapping.h"
7380extern int dma_supported(struct device *hwdev , u64 mask ) ;
7381#line 59
7382extern int dma_set_mask(struct device *dev , u64 mask ) ;
7383#line 88 "include/linux/dma-mapping.h"
7384__inline static int dma_set_coherent_mask(struct device *dev , u64 mask ) __attribute__((__no_instrument_function__)) ;
7385#line 88 "include/linux/dma-mapping.h"
7386__inline static int dma_set_coherent_mask(struct device *dev , u64 mask )
7387{ int tmp ;
7388 unsigned long __cil_tmp4 ;
7389 unsigned long __cil_tmp5 ;
7390
7391 {
7392 {
7393#line 90
7394 tmp = dma_supported(dev, mask);
7395 }
7396#line 90
7397 if (tmp) {
7398
7399 } else {
7400#line 91
7401 return (-5);
7402 }
7403#line 92
7404 __cil_tmp4 = (unsigned long )dev;
7405#line 92
7406 __cil_tmp5 = __cil_tmp4 + 592;
7407#line 92
7408 *((u64 *)__cil_tmp5) = mask;
7409#line 93
7410 return (0);
7411}
7412}
7413#line 1292 "include/linux/skbuff.h"
7414extern unsigned char *skb_put(struct sk_buff *skb , unsigned int len ) ;
7415#line 1302
7416extern unsigned char *skb_push(struct sk_buff *skb , unsigned int len ) ;
7417#line 1310
7418extern unsigned char *skb_pull(struct sk_buff *skb , unsigned int len ) ;
7419#line 1605
7420extern void skb_trim(struct sk_buff *skb , unsigned int len ) ;
7421#line 1688
7422extern struct sk_buff *dev_alloc_skb(unsigned int length ) ;
7423#line 10 "include/asm-generic/delay.h"
7424extern void __const_udelay(unsigned long xloops ) ;
7425#line 48 "include/linux/delay.h"
7426extern void usleep_range(unsigned long min , unsigned long max ) ;
7427#line 32 "include/linux/semaphore.h"
7428__inline static void sema_init(struct semaphore *sem , int val ) __attribute__((__no_instrument_function__)) ;
7429#line 32 "include/linux/semaphore.h"
7430__inline static void sema_init(struct semaphore *sem , int val )
7431{ struct semaphore __constr_expr_0 ;
7432 unsigned long __cil_tmp4 ;
7433 unsigned long __cil_tmp5 ;
7434 unsigned long __cil_tmp6 ;
7435 unsigned long __cil_tmp7 ;
7436 struct list_head *__constr_expr_0_prev8 ;
7437 struct list_head *__constr_expr_0_next9 ;
7438 unsigned int __constr_expr_0_count10 ;
7439 void *__constr_expr_0_owner11 ;
7440 unsigned int __constr_expr_0_owner_cpu12 ;
7441 unsigned int __constr_expr_0_magic13 ;
7442 union __anonunion____missing_field_name_36 __constr_expr_0___annonCompField1714 ;
7443
7444 {
7445#line 35
7446 __constr_expr_0___annonCompField1714.head_tail = (__ticketpair_t )0;
7447#line 35
7448 __constr_expr_0_magic13 = 3735899821U;
7449#line 35
7450 __constr_expr_0_owner_cpu12 = 4294967295U;
7451#line 35
7452 __constr_expr_0_owner11 = (void *)-1L;
7453#line 35
7454 __constr_expr_0_count10 = (unsigned int )val;
7455#line 35
7456 __cil_tmp4 = (unsigned long )sem;
7457#line 35
7458 __cil_tmp5 = __cil_tmp4 + 32;
7459#line 35
7460 __constr_expr_0_next9 = (struct list_head *)__cil_tmp5;
7461#line 35
7462 __cil_tmp6 = (unsigned long )sem;
7463#line 35
7464 __cil_tmp7 = __cil_tmp6 + 32;
7465#line 35
7466 __constr_expr_0_prev8 = (struct list_head *)__cil_tmp7;
7467#line 35
7468 sem->lock.raw_lock.__annonCompField17 = __constr_expr_0___annonCompField1714;
7469#line 35
7470 sem->lock.magic = __constr_expr_0_magic13;
7471#line 35
7472 sem->lock.owner_cpu = __constr_expr_0_owner_cpu12;
7473#line 35
7474 sem->lock.owner = __constr_expr_0_owner11;
7475#line 35
7476 sem->count = __constr_expr_0_count10;
7477#line 35
7478 sem->wait_list.next = __constr_expr_0_next9;
7479#line 35
7480 sem->wait_list.prev = __constr_expr_0_prev8;
7481 {
7482#line 36
7483 while (1) {
7484 while_continue: ;
7485#line 36
7486 goto while_break;
7487 }
7488 while_break: ;
7489 }
7490#line 37
7491 return;
7492}
7493}
7494#line 40
7495extern int __attribute__((__warn_unused_result__)) down_interruptible(struct semaphore *sem ) ;
7496#line 44
7497extern void up(struct semaphore *sem ) ;
7498#line 2106 "include/linux/netdevice.h"
7499extern void dev_kfree_skb_any(struct sk_buff *skb ) ;
7500#line 2210
7501extern void netif_carrier_on(struct net_device *dev ) ;
7502#line 2212
7503extern void netif_carrier_off(struct net_device *dev ) ;
7504#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/util.h"
7505__inline static phys_addr_t *MWIFIEX_SKB_PACB(struct sk_buff *skb ) __attribute__((__no_instrument_function__)) ;
7506#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/util.h"
7507__inline static phys_addr_t *MWIFIEX_SKB_PACB(struct sk_buff *skb )
7508{ unsigned long __cil_tmp2 ;
7509 unsigned long __cil_tmp3 ;
7510 unsigned long __cil_tmp4 ;
7511 unsigned long __cil_tmp5 ;
7512 char *__cil_tmp6 ;
7513
7514 {
7515 {
7516#line 35
7517 __cil_tmp2 = 0 * 1UL;
7518#line 35
7519 __cil_tmp3 = 40 + __cil_tmp2;
7520#line 35
7521 __cil_tmp4 = (unsigned long )skb;
7522#line 35
7523 __cil_tmp5 = __cil_tmp4 + __cil_tmp3;
7524#line 35
7525 __cil_tmp6 = (char *)__cil_tmp5;
7526#line 35
7527 return ((phys_addr_t *)__cil_tmp6);
7528 }
7529}
7530}
7531#line 26 "include/linux/export.h"
7532extern struct module __this_module ;
7533#line 67 "include/linux/module.h"
7534int init_module(void) ;
7535#line 68
7536void cleanup_module(void) ;
7537#line 773 "include/linux/pci.h"
7538extern int __attribute__((__warn_unused_result__)) pci_enable_device(struct pci_dev *dev ) ;
7539#line 790
7540extern void pci_disable_device(struct pci_dev *dev ) ;
7541#line 793
7542extern void pci_set_master(struct pci_dev *dev ) ;
7543#line 906
7544extern void pci_release_regions(struct pci_dev * ) ;
7545#line 907
7546extern int __attribute__((__warn_unused_result__)) pci_request_region(struct pci_dev * ,
7547 int , char const * ) ;
7548#line 909
7549extern void pci_release_region(struct pci_dev * , int ) ;
7550#line 940
7551extern int __attribute__((__warn_unused_result__)) __pci_register_driver(struct pci_driver * ,
7552 struct module * ,
7553 char const *mod_name ) ;
7554#line 949
7555extern void pci_unregister_driver(struct pci_driver *dev ) ;
7556#line 105 "include/asm-generic/pci-dma-compat.h"
7557__inline static int pci_set_dma_mask(struct pci_dev *dev , u64 mask ) __attribute__((__no_instrument_function__)) ;
7558#line 105 "include/asm-generic/pci-dma-compat.h"
7559__inline static int pci_set_dma_mask(struct pci_dev *dev , u64 mask )
7560{ int tmp___7 ;
7561 unsigned long __cil_tmp4 ;
7562 unsigned long __cil_tmp5 ;
7563 struct device *__cil_tmp6 ;
7564
7565 {
7566 {
7567#line 107
7568 __cil_tmp4 = (unsigned long )dev;
7569#line 107
7570 __cil_tmp5 = __cil_tmp4 + 144;
7571#line 107
7572 __cil_tmp6 = (struct device *)__cil_tmp5;
7573#line 107
7574 tmp___7 = dma_set_mask(__cil_tmp6, mask);
7575 }
7576#line 107
7577 return (tmp___7);
7578}
7579}
7580#line 110
7581__inline static int pci_set_consistent_dma_mask(struct pci_dev *dev , u64 mask ) __attribute__((__no_instrument_function__)) ;
7582#line 110 "include/asm-generic/pci-dma-compat.h"
7583__inline static int pci_set_consistent_dma_mask(struct pci_dev *dev , u64 mask )
7584{ int tmp___7 ;
7585 unsigned long __cil_tmp4 ;
7586 unsigned long __cil_tmp5 ;
7587 struct device *__cil_tmp6 ;
7588
7589 {
7590 {
7591#line 112
7592 __cil_tmp4 = (unsigned long )dev;
7593#line 112
7594 __cil_tmp5 = __cil_tmp4 + 144;
7595#line 112
7596 __cil_tmp6 = (struct device *)__cil_tmp5;
7597#line 112
7598 tmp___7 = dma_set_coherent_mask(__cil_tmp6, mask);
7599 }
7600#line 112
7601 return (tmp___7);
7602}
7603}
7604#line 1358 "include/linux/pci.h"
7605__inline static void *pci_get_drvdata(struct pci_dev *pdev ) __attribute__((__no_instrument_function__)) ;
7606#line 1358 "include/linux/pci.h"
7607__inline static void *pci_get_drvdata(struct pci_dev *pdev )
7608{ void *tmp___7 ;
7609 unsigned long __cil_tmp3 ;
7610 unsigned long __cil_tmp4 ;
7611 struct device *__cil_tmp5 ;
7612 struct device const *__cil_tmp6 ;
7613
7614 {
7615 {
7616#line 1360
7617 __cil_tmp3 = (unsigned long )pdev;
7618#line 1360
7619 __cil_tmp4 = __cil_tmp3 + 144;
7620#line 1360
7621 __cil_tmp5 = (struct device *)__cil_tmp4;
7622#line 1360
7623 __cil_tmp6 = (struct device const *)__cil_tmp5;
7624#line 1360
7625 tmp___7 = dev_get_drvdata(__cil_tmp6);
7626 }
7627#line 1360
7628 return (tmp___7);
7629}
7630}
7631#line 1363
7632__inline static void pci_set_drvdata(struct pci_dev *pdev , void *data ) __attribute__((__no_instrument_function__)) ;
7633#line 1363 "include/linux/pci.h"
7634__inline static void pci_set_drvdata(struct pci_dev *pdev , void *data )
7635{ unsigned long __cil_tmp3 ;
7636 unsigned long __cil_tmp4 ;
7637 struct device *__cil_tmp5 ;
7638
7639 {
7640 {
7641#line 1365
7642 __cil_tmp3 = (unsigned long )pdev;
7643#line 1365
7644 __cil_tmp4 = __cil_tmp3 + 144;
7645#line 1365
7646 __cil_tmp5 = (struct device *)__cil_tmp4;
7647#line 1365
7648 dev_set_drvdata(__cil_tmp5, data);
7649 }
7650#line 1366
7651 return;
7652}
7653}
7654#line 126 "include/linux/interrupt.h"
7655extern int __attribute__((__warn_unused_result__)) request_threaded_irq(unsigned int irq ,
7656 irqreturn_t (*handler)(int ,
7657 void * ) ,
7658 irqreturn_t (*thread_fn)(int ,
7659 void * ) ,
7660 unsigned long flags ,
7661 char const *name ,
7662 void *dev ) ;
7663#line 131
7664__inline static int __attribute__((__warn_unused_result__)) request_irq(unsigned int irq ,
7665 irqreturn_t (*handler)(int ,
7666 void * ) ,
7667 unsigned long flags ,
7668 char const *name ,
7669 void *dev ) __attribute__((__no_instrument_function__)) ;
7670#line 131 "include/linux/interrupt.h"
7671__inline static int __attribute__((__warn_unused_result__)) request_irq(unsigned int irq ,
7672 irqreturn_t (*handler)(int ,
7673 void * ) ,
7674 unsigned long flags ,
7675 char const *name ,
7676 void *dev )
7677{ int tmp___7 ;
7678 void *__cil_tmp7 ;
7679 irqreturn_t (*__cil_tmp8)(int , void * ) ;
7680
7681 {
7682 {
7683#line 135
7684 __cil_tmp7 = (void *)0;
7685#line 135
7686 __cil_tmp8 = (irqreturn_t (*)(int , void * ))__cil_tmp7;
7687#line 135
7688 tmp___7 = (int )request_threaded_irq(irq, handler, __cil_tmp8, flags, name, dev);
7689 }
7690#line 135
7691 return (tmp___7);
7692}
7693}
7694#line 184
7695extern void free_irq(unsigned int , void * ) ;
7696#line 708 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
7697extern int mwifiex_handle_rx_packet(struct mwifiex_adapter *adapter , struct sk_buff *skb ) ;
7698#line 718
7699extern void mwifiex_process_sleep_confirm_resp(struct mwifiex_adapter * , u8 * , u32 ) ;
7700#line 760
7701extern int mwifiex_deauthenticate(struct mwifiex_private *priv , u8 *mac ) ;
7702#line 856
7703__inline static struct mwifiex_private *mwifiex_get_priv(struct mwifiex_adapter *adapter ,
7704 enum mwifiex_bss_role bss_role ) __attribute__((__no_instrument_function__)) ;
7705#line 856 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
7706__inline static struct mwifiex_private *mwifiex_get_priv(struct mwifiex_adapter *adapter ,
7707 enum mwifiex_bss_role bss_role )
7708{ int i ;
7709 struct mwifiex_private *tmp___7 ;
7710 unsigned long __cil_tmp5 ;
7711 unsigned long __cil_tmp6 ;
7712 u8 __cil_tmp7 ;
7713 int __cil_tmp8 ;
7714 unsigned long __cil_tmp9 ;
7715 unsigned long __cil_tmp10 ;
7716 unsigned long __cil_tmp11 ;
7717 unsigned long __cil_tmp12 ;
7718 unsigned int __cil_tmp13 ;
7719 unsigned long __cil_tmp14 ;
7720 unsigned long __cil_tmp15 ;
7721 unsigned long __cil_tmp16 ;
7722 unsigned long __cil_tmp17 ;
7723 unsigned long __cil_tmp18 ;
7724 struct mwifiex_private *__cil_tmp19 ;
7725 unsigned long __cil_tmp20 ;
7726 unsigned long __cil_tmp21 ;
7727 u8 __cil_tmp22 ;
7728 unsigned long __cil_tmp23 ;
7729 unsigned long __cil_tmp24 ;
7730 unsigned long __cil_tmp25 ;
7731 unsigned long __cil_tmp26 ;
7732 u8 __cil_tmp27 ;
7733 int __cil_tmp28 ;
7734 unsigned long __cil_tmp29 ;
7735 unsigned long __cil_tmp30 ;
7736 unsigned long __cil_tmp31 ;
7737 unsigned long __cil_tmp32 ;
7738 void *__cil_tmp33 ;
7739
7740 {
7741#line 862
7742 i = 0;
7743 {
7744#line 862
7745 while (1) {
7746 while_continue: ;
7747 {
7748#line 862
7749 __cil_tmp5 = (unsigned long )adapter;
7750#line 862
7751 __cil_tmp6 = __cil_tmp5 + 16;
7752#line 862
7753 __cil_tmp7 = *((u8 *)__cil_tmp6);
7754#line 862
7755 __cil_tmp8 = (int )__cil_tmp7;
7756#line 862
7757 if (i < __cil_tmp8) {
7758
7759 } else {
7760#line 862
7761 goto while_break;
7762 }
7763 }
7764 {
7765#line 863
7766 __cil_tmp9 = i * 8UL;
7767#line 863
7768 __cil_tmp10 = 8 + __cil_tmp9;
7769#line 863
7770 __cil_tmp11 = (unsigned long )adapter;
7771#line 863
7772 __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
7773#line 863
7774 if (*((struct mwifiex_private **)__cil_tmp12)) {
7775 {
7776#line 864
7777 __cil_tmp13 = (unsigned int )bss_role;
7778#line 864
7779 if (__cil_tmp13 == 255U) {
7780#line 866
7781 goto while_break;
7782 } else {
7783 {
7784#line 864
7785 __cil_tmp14 = (unsigned long )bss_role;
7786#line 864
7787 __cil_tmp15 = i * 8UL;
7788#line 864
7789 __cil_tmp16 = 8 + __cil_tmp15;
7790#line 864
7791 __cil_tmp17 = (unsigned long )adapter;
7792#line 864
7793 __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
7794#line 864
7795 __cil_tmp19 = *((struct mwifiex_private **)__cil_tmp18);
7796#line 864
7797 __cil_tmp20 = (unsigned long )__cil_tmp19;
7798#line 864
7799 __cil_tmp21 = __cil_tmp20 + 9;
7800#line 864
7801 __cil_tmp22 = *((u8 *)__cil_tmp21);
7802#line 864
7803 __cil_tmp23 = (unsigned long )__cil_tmp22;
7804#line 864
7805 __cil_tmp24 = __cil_tmp23 & 1UL;
7806#line 864
7807 if (__cil_tmp24 == __cil_tmp14) {
7808#line 866
7809 goto while_break;
7810 } else {
7811
7812 }
7813 }
7814 }
7815 }
7816 } else {
7817
7818 }
7819 }
7820#line 862
7821 i = i + 1;
7822 }
7823 while_break: ;
7824 }
7825 {
7826#line 870
7827 __cil_tmp25 = (unsigned long )adapter;
7828#line 870
7829 __cil_tmp26 = __cil_tmp25 + 16;
7830#line 870
7831 __cil_tmp27 = *((u8 *)__cil_tmp26);
7832#line 870
7833 __cil_tmp28 = (int )__cil_tmp27;
7834#line 870
7835 if (i < __cil_tmp28) {
7836#line 870
7837 __cil_tmp29 = i * 8UL;
7838#line 870
7839 __cil_tmp30 = 8 + __cil_tmp29;
7840#line 870
7841 __cil_tmp31 = (unsigned long )adapter;
7842#line 870
7843 __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
7844#line 870
7845 tmp___7 = *((struct mwifiex_private **)__cil_tmp32);
7846 } else {
7847#line 870
7848 __cil_tmp33 = (void *)0;
7849#line 870
7850 tmp___7 = (struct mwifiex_private *)__cil_tmp33;
7851 }
7852 }
7853#line 870
7854 return (tmp___7);
7855}
7856}
7857#line 882
7858extern int mwifiex_init_shutdown_fw(struct mwifiex_private *priv , u32 func_init_shutdown ) ;
7859#line 884
7860extern int mwifiex_add_card(void * , struct semaphore * , struct mwifiex_if_ops * ,
7861 u8 ) ;
7862#line 885
7863extern int mwifiex_remove_card(struct mwifiex_adapter * , struct semaphore * ) ;
7864#line 896
7865extern int mwifiex_cancel_hs(struct mwifiex_private *priv , int cmd_type ) ;
7866#line 897
7867extern int mwifiex_enable_hs(struct mwifiex_adapter *adapter ) ;
7868#line 898
7869extern int mwifiex_disable_auto_ds(struct mwifiex_private *priv ) ;
7870#line 35 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
7871static u8 user_rmmod ;
7872#line 37
7873static struct mwifiex_if_ops pcie_ops ;
7874#line 39 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
7875static struct semaphore add_remove_card_sem ;
7876#line 40
7877static int mwifiex_pcie_enable_host_int(struct mwifiex_adapter *adapter ) ;
7878#line 41
7879static int mwifiex_pcie_resume(struct pci_dev *pdev ) ;
7880#line 47 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
7881static phys_addr_t *mwifiex_update_sk_buff_pa(struct sk_buff *skb )
7882{ phys_addr_t *buf_pa ;
7883 phys_addr_t *tmp___7 ;
7884 phys_addr_t tmp___8 ;
7885 unsigned long __cil_tmp5 ;
7886 unsigned long __cil_tmp6 ;
7887 unsigned char *__cil_tmp7 ;
7888 void volatile *__cil_tmp8 ;
7889
7890 {
7891 {
7892#line 49
7893 tmp___7 = MWIFIEX_SKB_PACB(skb);
7894#line 49
7895 buf_pa = tmp___7;
7896#line 51
7897 __cil_tmp5 = (unsigned long )skb;
7898#line 51
7899 __cil_tmp6 = __cil_tmp5 + 224;
7900#line 51
7901 __cil_tmp7 = *((unsigned char **)__cil_tmp6);
7902#line 51
7903 __cil_tmp8 = (void volatile *)__cil_tmp7;
7904#line 51
7905 tmp___8 = virt_to_phys(__cil_tmp8);
7906#line 51
7907 *buf_pa = tmp___8;
7908 }
7909#line 53
7910 return (buf_pa);
7911}
7912}
7913#line 66
7914static bool mwifiex_pcie_ok_to_access_hw(struct mwifiex_adapter *adapter ) ;
7915#line 66 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
7916static struct _ddebug __attribute__((__aligned__(8))) descriptor __attribute__((__used__,
7917__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_ok_to_access_hw", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
7918 "info: ACCESS_HW: sleep cookie=0x%x\n", 67U, 0U};
7919#line 59 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
7920static bool mwifiex_pcie_ok_to_access_hw(struct mwifiex_adapter *adapter )
7921{ u32 *cookie_addr ;
7922 struct pcie_service_card *card ;
7923 long tmp___7 ;
7924 unsigned long __cil_tmp5 ;
7925 unsigned long __cil_tmp6 ;
7926 void *__cil_tmp7 ;
7927 unsigned long __cil_tmp8 ;
7928 unsigned long __cil_tmp9 ;
7929 unsigned long __cil_tmp10 ;
7930 unsigned long __cil_tmp11 ;
7931 struct sk_buff *__cil_tmp12 ;
7932 unsigned long __cil_tmp13 ;
7933 unsigned long __cil_tmp14 ;
7934 unsigned char *__cil_tmp15 ;
7935 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp16 ;
7936 unsigned int __cil_tmp17 ;
7937 unsigned int __cil_tmp18 ;
7938 int __cil_tmp19 ;
7939 int __cil_tmp20 ;
7940 long __cil_tmp21 ;
7941 unsigned long __cil_tmp22 ;
7942 unsigned long __cil_tmp23 ;
7943 struct device *__cil_tmp24 ;
7944 struct device const *__cil_tmp25 ;
7945 u32 __cil_tmp26 ;
7946 u32 __cil_tmp27 ;
7947
7948 {
7949#line 62
7950 __cil_tmp5 = (unsigned long )adapter;
7951#line 62
7952 __cil_tmp6 = __cil_tmp5 + 136;
7953#line 62
7954 __cil_tmp7 = *((void **)__cil_tmp6);
7955#line 62
7956 card = (struct pcie_service_card *)__cil_tmp7;
7957 {
7958#line 64
7959 __cil_tmp8 = (unsigned long )card;
7960#line 64
7961 __cil_tmp9 = __cil_tmp8 + 1216;
7962#line 64
7963 if (*((struct sk_buff **)__cil_tmp9)) {
7964#line 65
7965 __cil_tmp10 = (unsigned long )card;
7966#line 65
7967 __cil_tmp11 = __cil_tmp10 + 1216;
7968#line 65
7969 __cil_tmp12 = *((struct sk_buff **)__cil_tmp11);
7970#line 65
7971 __cil_tmp13 = (unsigned long )__cil_tmp12;
7972#line 65
7973 __cil_tmp14 = __cil_tmp13 + 224;
7974#line 65
7975 __cil_tmp15 = *((unsigned char **)__cil_tmp14);
7976#line 65
7977 cookie_addr = (u32 *)__cil_tmp15;
7978 {
7979#line 66
7980 while (1) {
7981 while_continue: ;
7982 {
7983#line 66
7984 while (1) {
7985 while_continue___0: ;
7986 {
7987#line 66
7988 __cil_tmp16 = & descriptor;
7989#line 66
7990 __cil_tmp17 = __cil_tmp16->flags;
7991#line 66
7992 __cil_tmp18 = __cil_tmp17 & 1U;
7993#line 66
7994 __cil_tmp19 = ! __cil_tmp18;
7995#line 66
7996 __cil_tmp20 = ! __cil_tmp19;
7997#line 66
7998 __cil_tmp21 = (long )__cil_tmp20;
7999#line 66
8000 tmp___7 = __builtin_expect(__cil_tmp21, 0L);
8001 }
8002#line 66
8003 if (tmp___7) {
8004 {
8005#line 66
8006 __cil_tmp22 = (unsigned long )adapter;
8007#line 66
8008 __cil_tmp23 = __cil_tmp22 + 72;
8009#line 66
8010 __cil_tmp24 = *((struct device **)__cil_tmp23);
8011#line 66
8012 __cil_tmp25 = (struct device const *)__cil_tmp24;
8013#line 66
8014 __cil_tmp26 = *cookie_addr;
8015#line 66
8016 __dynamic_dev_dbg(& descriptor, __cil_tmp25, "info: ACCESS_HW: sleep cookie=0x%x\n",
8017 __cil_tmp26);
8018 }
8019 } else {
8020
8021 }
8022#line 66
8023 goto while_break___0;
8024 }
8025 while_break___0: ;
8026 }
8027#line 66
8028 goto while_break;
8029 }
8030 while_break: ;
8031 }
8032 {
8033#line 68
8034 __cil_tmp27 = *cookie_addr;
8035#line 68
8036 if (__cil_tmp27 == 2857740885U) {
8037#line 69
8038 return ((bool )1);
8039 } else {
8040
8041 }
8042 }
8043 } else {
8044
8045 }
8046 }
8047#line 72
8048 return ((bool )0);
8049}
8050}
8051#line 86
8052static int mwifiex_pcie_probe(struct pci_dev *pdev , struct pci_device_id const *ent ) ;
8053#line 86 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
8054static struct _ddebug __attribute__((__aligned__(8))) descriptor___0 __attribute__((__used__,
8055__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_probe", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
8056 "info: vendor=0x%4.04X device=0x%4.04X rev=%d\n", 87U, 0U};
8057#line 81 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
8058static int mwifiex_pcie_probe(struct pci_dev *pdev , struct pci_device_id const *ent )
8059{ struct pcie_service_card *card ;
8060 long tmp___7 ;
8061 void *tmp___8 ;
8062 int tmp___9 ;
8063 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp7 ;
8064 unsigned int __cil_tmp8 ;
8065 unsigned int __cil_tmp9 ;
8066 int __cil_tmp10 ;
8067 int __cil_tmp11 ;
8068 long __cil_tmp12 ;
8069 unsigned long __cil_tmp13 ;
8070 unsigned long __cil_tmp14 ;
8071 unsigned short __cil_tmp15 ;
8072 int __cil_tmp16 ;
8073 unsigned long __cil_tmp17 ;
8074 unsigned long __cil_tmp18 ;
8075 unsigned short __cil_tmp19 ;
8076 int __cil_tmp20 ;
8077 unsigned long __cil_tmp21 ;
8078 unsigned long __cil_tmp22 ;
8079 u8 __cil_tmp23 ;
8080 int __cil_tmp24 ;
8081 void *__cil_tmp25 ;
8082 u8 __cil_tmp26 ;
8083 void const *__cil_tmp27 ;
8084
8085 {
8086 {
8087#line 86
8088 while (1) {
8089 while_continue: ;
8090 {
8091#line 86
8092 __cil_tmp7 = & descriptor___0;
8093#line 86
8094 __cil_tmp8 = __cil_tmp7->flags;
8095#line 86
8096 __cil_tmp9 = __cil_tmp8 & 1U;
8097#line 86
8098 __cil_tmp10 = ! __cil_tmp9;
8099#line 86
8100 __cil_tmp11 = ! __cil_tmp10;
8101#line 86
8102 __cil_tmp12 = (long )__cil_tmp11;
8103#line 86
8104 tmp___7 = __builtin_expect(__cil_tmp12, 0L);
8105 }
8106#line 86
8107 if (tmp___7) {
8108 {
8109#line 86
8110 __cil_tmp13 = (unsigned long )pdev;
8111#line 86
8112 __cil_tmp14 = __cil_tmp13 + 60;
8113#line 86
8114 __cil_tmp15 = *((unsigned short *)__cil_tmp14);
8115#line 86
8116 __cil_tmp16 = (int )__cil_tmp15;
8117#line 86
8118 __cil_tmp17 = (unsigned long )pdev;
8119#line 86
8120 __cil_tmp18 = __cil_tmp17 + 62;
8121#line 86
8122 __cil_tmp19 = *((unsigned short *)__cil_tmp18);
8123#line 86
8124 __cil_tmp20 = (int )__cil_tmp19;
8125#line 86
8126 __cil_tmp21 = (unsigned long )pdev;
8127#line 86
8128 __cil_tmp22 = __cil_tmp21 + 72;
8129#line 86
8130 __cil_tmp23 = *((u8 *)__cil_tmp22);
8131#line 86
8132 __cil_tmp24 = (int )__cil_tmp23;
8133#line 86
8134 __dynamic_pr_debug(& descriptor___0, "mwifiex_pcie: info: vendor=0x%4.04X device=0x%4.04X rev=%d\n",
8135 __cil_tmp16, __cil_tmp20, __cil_tmp24);
8136 }
8137 } else {
8138
8139 }
8140#line 86
8141 goto while_break;
8142 }
8143 while_break: ;
8144 }
8145 {
8146#line 89
8147 tmp___8 = kzalloc(1240UL, 208U);
8148#line 89
8149 card = (struct pcie_service_card *)tmp___8;
8150 }
8151#line 90
8152 if (! card) {
8153#line 91
8154 return (-12);
8155 } else {
8156
8157 }
8158 {
8159#line 93
8160 *((struct pci_dev **)card) = pdev;
8161#line 95
8162 __cil_tmp25 = (void *)card;
8163#line 95
8164 __cil_tmp26 = (u8 )1;
8165#line 95
8166 tmp___9 = mwifiex_add_card(__cil_tmp25, & add_remove_card_sem, & pcie_ops, __cil_tmp26);
8167 }
8168#line 95
8169 if (tmp___9) {
8170 {
8171#line 97
8172 printk("<3>mwifiex_pcie: %s failed\n", "mwifiex_pcie_probe");
8173#line 98
8174 __cil_tmp27 = (void const *)card;
8175#line 98
8176 kfree(__cil_tmp27);
8177 }
8178#line 99
8179 return (-1);
8180 } else {
8181
8182 }
8183#line 102
8184 return (0);
8185}
8186}
8187#line 108 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
8188static void mwifiex_pcie_remove(struct pci_dev *pdev )
8189{ struct pcie_service_card *card ;
8190 struct mwifiex_adapter *adapter ;
8191 struct mwifiex_private *priv ;
8192 int i ;
8193 void *tmp___7 ;
8194 unsigned long __cil_tmp7 ;
8195 unsigned long __cil_tmp8 ;
8196 unsigned long __cil_tmp9 ;
8197 unsigned long __cil_tmp10 ;
8198 u8 __cil_tmp11 ;
8199 unsigned long __cil_tmp12 ;
8200 unsigned long __cil_tmp13 ;
8201 unsigned long __cil_tmp14 ;
8202 unsigned long __cil_tmp15 ;
8203 u8 __cil_tmp16 ;
8204 int __cil_tmp17 ;
8205 unsigned long __cil_tmp18 ;
8206 unsigned long __cil_tmp19 ;
8207 unsigned long __cil_tmp20 ;
8208 unsigned long __cil_tmp21 ;
8209 struct mwifiex_private *__cil_tmp22 ;
8210 unsigned long __cil_tmp23 ;
8211 unsigned long __cil_tmp24 ;
8212 u8 __cil_tmp25 ;
8213 unsigned long __cil_tmp26 ;
8214 unsigned long __cil_tmp27 ;
8215 unsigned long __cil_tmp28 ;
8216 unsigned long __cil_tmp29 ;
8217 unsigned long __cil_tmp30 ;
8218 unsigned long __cil_tmp31 ;
8219 struct mwifiex_private *__cil_tmp32 ;
8220 unsigned long __cil_tmp33 ;
8221 unsigned long __cil_tmp34 ;
8222 unsigned long __cil_tmp35 ;
8223 unsigned long __cil_tmp36 ;
8224 unsigned long __cil_tmp37 ;
8225 unsigned long __cil_tmp38 ;
8226 struct mwifiex_private *__cil_tmp39 ;
8227 void *__cil_tmp40 ;
8228 u8 *__cil_tmp41 ;
8229 enum mwifiex_bss_role __cil_tmp42 ;
8230 u32 __cil_tmp43 ;
8231 unsigned long __cil_tmp44 ;
8232 unsigned long __cil_tmp45 ;
8233 struct mwifiex_adapter *__cil_tmp46 ;
8234 void const *__cil_tmp47 ;
8235
8236 {
8237 {
8238#line 115
8239 tmp___7 = pci_get_drvdata(pdev);
8240#line 115
8241 card = (struct pcie_service_card *)tmp___7;
8242 }
8243#line 116
8244 if (! card) {
8245#line 117
8246 return;
8247 } else {
8248
8249 }
8250#line 119
8251 __cil_tmp7 = (unsigned long )card;
8252#line 119
8253 __cil_tmp8 = __cil_tmp7 + 8;
8254#line 119
8255 adapter = *((struct mwifiex_adapter **)__cil_tmp8);
8256#line 120
8257 if (! adapter) {
8258#line 121
8259 return;
8260 } else {
8261 {
8262#line 120
8263 __cil_tmp9 = (unsigned long )adapter;
8264#line 120
8265 __cil_tmp10 = __cil_tmp9 + 16;
8266#line 120
8267 __cil_tmp11 = *((u8 *)__cil_tmp10);
8268#line 120
8269 if (! __cil_tmp11) {
8270#line 121
8271 return;
8272 } else {
8273
8274 }
8275 }
8276 }
8277#line 123
8278 if (user_rmmod) {
8279 {
8280#line 125
8281 __cil_tmp12 = (unsigned long )adapter;
8282#line 125
8283 __cil_tmp13 = __cil_tmp12 + 3456;
8284#line 125
8285 if (*((bool *)__cil_tmp13)) {
8286 {
8287#line 126
8288 mwifiex_pcie_resume(pdev);
8289 }
8290 } else {
8291
8292 }
8293 }
8294#line 129
8295 i = 0;
8296 {
8297#line 129
8298 while (1) {
8299 while_continue: ;
8300 {
8301#line 129
8302 __cil_tmp14 = (unsigned long )adapter;
8303#line 129
8304 __cil_tmp15 = __cil_tmp14 + 16;
8305#line 129
8306 __cil_tmp16 = *((u8 *)__cil_tmp15);
8307#line 129
8308 __cil_tmp17 = (int )__cil_tmp16;
8309#line 129
8310 if (i < __cil_tmp17) {
8311
8312 } else {
8313#line 129
8314 goto while_break;
8315 }
8316 }
8317 {
8318#line 130
8319 __cil_tmp18 = i * 8UL;
8320#line 130
8321 __cil_tmp19 = 8 + __cil_tmp18;
8322#line 130
8323 __cil_tmp20 = (unsigned long )adapter;
8324#line 130
8325 __cil_tmp21 = __cil_tmp20 + __cil_tmp19;
8326#line 130
8327 __cil_tmp22 = *((struct mwifiex_private **)__cil_tmp21);
8328#line 130
8329 __cil_tmp23 = (unsigned long )__cil_tmp22;
8330#line 130
8331 __cil_tmp24 = __cil_tmp23 + 9;
8332#line 130
8333 __cil_tmp25 = *((u8 *)__cil_tmp24);
8334#line 130
8335 __cil_tmp26 = (unsigned long )__cil_tmp25;
8336#line 130
8337 __cil_tmp27 = __cil_tmp26 & 1UL;
8338#line 130
8339 if (__cil_tmp27 == 0UL) {
8340 {
8341#line 130
8342 __cil_tmp28 = i * 8UL;
8343#line 130
8344 __cil_tmp29 = 8 + __cil_tmp28;
8345#line 130
8346 __cil_tmp30 = (unsigned long )adapter;
8347#line 130
8348 __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
8349#line 130
8350 __cil_tmp32 = *((struct mwifiex_private **)__cil_tmp31);
8351#line 130
8352 __cil_tmp33 = (unsigned long )__cil_tmp32;
8353#line 130
8354 __cil_tmp34 = __cil_tmp33 + 19;
8355#line 130
8356 if (*((u8 *)__cil_tmp34)) {
8357 {
8358#line 133
8359 __cil_tmp35 = i * 8UL;
8360#line 133
8361 __cil_tmp36 = 8 + __cil_tmp35;
8362#line 133
8363 __cil_tmp37 = (unsigned long )adapter;
8364#line 133
8365 __cil_tmp38 = __cil_tmp37 + __cil_tmp36;
8366#line 133
8367 __cil_tmp39 = *((struct mwifiex_private **)__cil_tmp38);
8368#line 133
8369 __cil_tmp40 = (void *)0;
8370#line 133
8371 __cil_tmp41 = (u8 *)__cil_tmp40;
8372#line 133
8373 mwifiex_deauthenticate(__cil_tmp39, __cil_tmp41);
8374 }
8375 } else {
8376
8377 }
8378 }
8379 } else {
8380
8381 }
8382 }
8383#line 129
8384 i = i + 1;
8385 }
8386 while_break: ;
8387 }
8388 {
8389#line 135
8390 __cil_tmp42 = (enum mwifiex_bss_role )255;
8391#line 135
8392 priv = mwifiex_get_priv(adapter, __cil_tmp42);
8393#line 137
8394 mwifiex_disable_auto_ds(priv);
8395#line 139
8396 __cil_tmp43 = (u32 )2;
8397#line 139
8398 mwifiex_init_shutdown_fw(priv, __cil_tmp43);
8399 }
8400 } else {
8401
8402 }
8403 {
8404#line 142
8405 __cil_tmp44 = (unsigned long )card;
8406#line 142
8407 __cil_tmp45 = __cil_tmp44 + 8;
8408#line 142
8409 __cil_tmp46 = *((struct mwifiex_adapter **)__cil_tmp45);
8410#line 142
8411 mwifiex_remove_card(__cil_tmp46, & add_remove_card_sem);
8412#line 143
8413 __cil_tmp47 = (void const *)card;
8414#line 143
8415 kfree(__cil_tmp47);
8416 }
8417#line 144
8418 return;
8419}
8420}
8421#line 154 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
8422static int mwifiex_pcie_suspend(struct pci_dev *pdev , int state_event26 )
8423{ struct mwifiex_adapter *adapter ;
8424 struct pcie_service_card *card ;
8425 int hs_actived ;
8426 int i ;
8427 void *tmp___7 ;
8428 unsigned long __cil_tmp8 ;
8429 unsigned long __cil_tmp9 ;
8430 unsigned long __cil_tmp10 ;
8431 unsigned long __cil_tmp11 ;
8432 unsigned long __cil_tmp12 ;
8433 unsigned long __cil_tmp13 ;
8434 unsigned long __cil_tmp14 ;
8435 unsigned long __cil_tmp15 ;
8436 u8 __cil_tmp16 ;
8437 int __cil_tmp17 ;
8438 unsigned long __cil_tmp18 ;
8439 unsigned long __cil_tmp19 ;
8440 unsigned long __cil_tmp20 ;
8441 unsigned long __cil_tmp21 ;
8442 struct mwifiex_private *__cil_tmp22 ;
8443 unsigned long __cil_tmp23 ;
8444 unsigned long __cil_tmp24 ;
8445 struct net_device *__cil_tmp25 ;
8446
8447 {
8448#line 160
8449 if (pdev) {
8450 {
8451#line 161
8452 tmp___7 = pci_get_drvdata(pdev);
8453#line 161
8454 card = (struct pcie_service_card *)tmp___7;
8455 }
8456#line 162
8457 if (! card) {
8458 {
8459#line 163
8460 printk("<3>mwifiex_pcie: Card or adapter structure is not valid\n");
8461 }
8462#line 164
8463 return (0);
8464 } else {
8465 {
8466#line 162
8467 __cil_tmp8 = (unsigned long )card;
8468#line 162
8469 __cil_tmp9 = __cil_tmp8 + 8;
8470#line 162
8471 if (*((struct mwifiex_adapter **)__cil_tmp9)) {
8472 {
8473#line 163
8474 printk("<3>mwifiex_pcie: Card or adapter structure is not valid\n");
8475 }
8476#line 164
8477 return (0);
8478 } else {
8479
8480 }
8481 }
8482 }
8483 } else {
8484 {
8485#line 167
8486 printk("<3>mwifiex_pcie: PCIE device is not specified\n");
8487 }
8488#line 168
8489 return (0);
8490 }
8491 {
8492#line 171
8493 __cil_tmp10 = (unsigned long )card;
8494#line 171
8495 __cil_tmp11 = __cil_tmp10 + 8;
8496#line 171
8497 adapter = *((struct mwifiex_adapter **)__cil_tmp11);
8498#line 173
8499 hs_actived = mwifiex_enable_hs(adapter);
8500#line 176
8501 __cil_tmp12 = (unsigned long )adapter;
8502#line 176
8503 __cil_tmp13 = __cil_tmp12 + 3456;
8504#line 176
8505 *((bool *)__cil_tmp13) = (bool )1;
8506#line 178
8507 i = 0;
8508 }
8509 {
8510#line 178
8511 while (1) {
8512 while_continue: ;
8513 {
8514#line 178
8515 __cil_tmp14 = (unsigned long )adapter;
8516#line 178
8517 __cil_tmp15 = __cil_tmp14 + 16;
8518#line 178
8519 __cil_tmp16 = *((u8 *)__cil_tmp15);
8520#line 178
8521 __cil_tmp17 = (int )__cil_tmp16;
8522#line 178
8523 if (i < __cil_tmp17) {
8524
8525 } else {
8526#line 178
8527 goto while_break;
8528 }
8529 }
8530 {
8531#line 179
8532 __cil_tmp18 = i * 8UL;
8533#line 179
8534 __cil_tmp19 = 8 + __cil_tmp18;
8535#line 179
8536 __cil_tmp20 = (unsigned long )adapter;
8537#line 179
8538 __cil_tmp21 = __cil_tmp20 + __cil_tmp19;
8539#line 179
8540 __cil_tmp22 = *((struct mwifiex_private **)__cil_tmp21);
8541#line 179
8542 __cil_tmp23 = (unsigned long )__cil_tmp22;
8543#line 179
8544 __cil_tmp24 = __cil_tmp23 + 24;
8545#line 179
8546 __cil_tmp25 = *((struct net_device **)__cil_tmp24);
8547#line 179
8548 netif_carrier_off(__cil_tmp25);
8549#line 178
8550 i = i + 1;
8551 }
8552 }
8553 while_break: ;
8554 }
8555#line 181
8556 return (0);
8557}
8558}
8559#line 192 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
8560static int mwifiex_pcie_resume(struct pci_dev *pdev )
8561{ struct mwifiex_adapter *adapter ;
8562 struct pcie_service_card *card ;
8563 int i ;
8564 void *tmp___7 ;
8565 struct mwifiex_private *tmp___8 ;
8566 unsigned long __cil_tmp7 ;
8567 unsigned long __cil_tmp8 ;
8568 struct mwifiex_adapter *__cil_tmp9 ;
8569 unsigned long __cil_tmp10 ;
8570 unsigned long __cil_tmp11 ;
8571 unsigned long __cil_tmp12 ;
8572 unsigned long __cil_tmp13 ;
8573 bool __cil_tmp14 ;
8574 unsigned long __cil_tmp15 ;
8575 unsigned long __cil_tmp16 ;
8576 struct device *__cil_tmp17 ;
8577 struct device const *__cil_tmp18 ;
8578 unsigned long __cil_tmp19 ;
8579 unsigned long __cil_tmp20 ;
8580 unsigned long __cil_tmp21 ;
8581 unsigned long __cil_tmp22 ;
8582 u8 __cil_tmp23 ;
8583 int __cil_tmp24 ;
8584 unsigned long __cil_tmp25 ;
8585 unsigned long __cil_tmp26 ;
8586 unsigned long __cil_tmp27 ;
8587 unsigned long __cil_tmp28 ;
8588 struct mwifiex_private *__cil_tmp29 ;
8589 unsigned long __cil_tmp30 ;
8590 unsigned long __cil_tmp31 ;
8591 unsigned long __cil_tmp32 ;
8592 unsigned long __cil_tmp33 ;
8593 unsigned long __cil_tmp34 ;
8594 unsigned long __cil_tmp35 ;
8595 struct mwifiex_private *__cil_tmp36 ;
8596 unsigned long __cil_tmp37 ;
8597 unsigned long __cil_tmp38 ;
8598 struct net_device *__cil_tmp39 ;
8599 enum mwifiex_bss_role __cil_tmp40 ;
8600
8601 {
8602#line 198
8603 if (pdev) {
8604 {
8605#line 199
8606 tmp___7 = pci_get_drvdata(pdev);
8607#line 199
8608 card = (struct pcie_service_card *)tmp___7;
8609 }
8610#line 200
8611 if (! card) {
8612 {
8613#line 201
8614 printk("<3>mwifiex_pcie: Card or adapter structure is not valid\n");
8615 }
8616#line 202
8617 return (0);
8618 } else {
8619 {
8620#line 200
8621 __cil_tmp7 = (unsigned long )card;
8622#line 200
8623 __cil_tmp8 = __cil_tmp7 + 8;
8624#line 200
8625 __cil_tmp9 = *((struct mwifiex_adapter **)__cil_tmp8);
8626#line 200
8627 if (! __cil_tmp9) {
8628 {
8629#line 201
8630 printk("<3>mwifiex_pcie: Card or adapter structure is not valid\n");
8631 }
8632#line 202
8633 return (0);
8634 } else {
8635
8636 }
8637 }
8638 }
8639 } else {
8640 {
8641#line 205
8642 printk("<3>mwifiex_pcie: PCIE device is not specified\n");
8643 }
8644#line 206
8645 return (0);
8646 }
8647#line 209
8648 __cil_tmp10 = (unsigned long )card;
8649#line 209
8650 __cil_tmp11 = __cil_tmp10 + 8;
8651#line 209
8652 adapter = *((struct mwifiex_adapter **)__cil_tmp11);
8653 {
8654#line 211
8655 __cil_tmp12 = (unsigned long )adapter;
8656#line 211
8657 __cil_tmp13 = __cil_tmp12 + 3456;
8658#line 211
8659 __cil_tmp14 = *((bool *)__cil_tmp13);
8660#line 211
8661 if (! __cil_tmp14) {
8662 {
8663#line 212
8664 __cil_tmp15 = (unsigned long )adapter;
8665#line 212
8666 __cil_tmp16 = __cil_tmp15 + 72;
8667#line 212
8668 __cil_tmp17 = *((struct device **)__cil_tmp16);
8669#line 212
8670 __cil_tmp18 = (struct device const *)__cil_tmp17;
8671#line 212
8672 dev_warn(__cil_tmp18, "Device already resumed\n");
8673 }
8674#line 213
8675 return (0);
8676 } else {
8677
8678 }
8679 }
8680#line 216
8681 __cil_tmp19 = (unsigned long )adapter;
8682#line 216
8683 __cil_tmp20 = __cil_tmp19 + 3456;
8684#line 216
8685 *((bool *)__cil_tmp20) = (bool )0;
8686#line 218
8687 i = 0;
8688 {
8689#line 218
8690 while (1) {
8691 while_continue: ;
8692 {
8693#line 218
8694 __cil_tmp21 = (unsigned long )adapter;
8695#line 218
8696 __cil_tmp22 = __cil_tmp21 + 16;
8697#line 218
8698 __cil_tmp23 = *((u8 *)__cil_tmp22);
8699#line 218
8700 __cil_tmp24 = (int )__cil_tmp23;
8701#line 218
8702 if (i < __cil_tmp24) {
8703
8704 } else {
8705#line 218
8706 goto while_break;
8707 }
8708 }
8709 {
8710#line 219
8711 __cil_tmp25 = i * 8UL;
8712#line 219
8713 __cil_tmp26 = 8 + __cil_tmp25;
8714#line 219
8715 __cil_tmp27 = (unsigned long )adapter;
8716#line 219
8717 __cil_tmp28 = __cil_tmp27 + __cil_tmp26;
8718#line 219
8719 __cil_tmp29 = *((struct mwifiex_private **)__cil_tmp28);
8720#line 219
8721 __cil_tmp30 = (unsigned long )__cil_tmp29;
8722#line 219
8723 __cil_tmp31 = __cil_tmp30 + 19;
8724#line 219
8725 if (*((u8 *)__cil_tmp31)) {
8726 {
8727#line 220
8728 __cil_tmp32 = i * 8UL;
8729#line 220
8730 __cil_tmp33 = 8 + __cil_tmp32;
8731#line 220
8732 __cil_tmp34 = (unsigned long )adapter;
8733#line 220
8734 __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
8735#line 220
8736 __cil_tmp36 = *((struct mwifiex_private **)__cil_tmp35);
8737#line 220
8738 __cil_tmp37 = (unsigned long )__cil_tmp36;
8739#line 220
8740 __cil_tmp38 = __cil_tmp37 + 24;
8741#line 220
8742 __cil_tmp39 = *((struct net_device **)__cil_tmp38);
8743#line 220
8744 netif_carrier_on(__cil_tmp39);
8745 }
8746 } else {
8747
8748 }
8749 }
8750#line 218
8751 i = i + 1;
8752 }
8753 while_break: ;
8754 }
8755 {
8756#line 222
8757 __cil_tmp40 = (enum mwifiex_bss_role )0;
8758#line 222
8759 tmp___8 = mwifiex_get_priv(adapter, __cil_tmp40);
8760#line 222
8761 mwifiex_cancel_hs(tmp___8, 0);
8762 }
8763#line 225
8764 return (0);
8765}
8766}
8767#line 231 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
8768static struct pci_device_id const mwifiex_ids[1] __attribute__((__section__(".devinit.rodata"))) = { {(__u32 )4523,
8769 (__u32 )11056, (__u32 )(~ 0), (__u32 )(~ 0), (__u32 )0, (__u32 )0, 0UL}};
8770#line 239
8771extern struct pci_device_id const __mod_pci_device_table __attribute__((__unused__,
8772__alias__("mwifiex_ids"))) ;
8773#line 242 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
8774static struct pci_driver mwifiex_pcie __attribute__((__section__(".ref.data"))) =
8775#line 242
8776 {{(struct list_head *)0, (struct list_head *)0}, "mwifiex_pcie", mwifiex_ids, & mwifiex_pcie_probe,
8777 & mwifiex_pcie_remove, & mwifiex_pcie_suspend, (int (*)(struct pci_dev *dev ,
8778 pm_message_t state ))0,
8779 (int (*)(struct pci_dev *dev ))0, & mwifiex_pcie_resume, (void (*)(struct pci_dev *dev ))0,
8780 (struct pci_error_handlers *)0, {(char const *)0, (struct bus_type *)0, (struct module *)0,
8781 (char const *)0, (_Bool)0, (struct of_device_id const *)0,
8782 (int (*)(struct device *dev ))0, (int (*)(struct device *dev ))0,
8783 (void (*)(struct device *dev ))0, (int (*)(struct device *dev ,
8784 pm_message_t state ))0,
8785 (int (*)(struct device *dev ))0, (struct attribute_group const **)0,
8786 (struct dev_pm_ops const *)0, (struct driver_private *)0},
8787 {{{{{{0U}}, 0U, 0U, (void *)0}}}, {(struct list_head *)0, (struct list_head *)0}}};
8788#line 257 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
8789static int mwifiex_write_reg(struct mwifiex_adapter *adapter , int reg , u32 data )
8790{ struct pcie_service_card *card ;
8791 unsigned long __cil_tmp5 ;
8792 unsigned long __cil_tmp6 ;
8793 void *__cil_tmp7 ;
8794 unsigned long __cil_tmp8 ;
8795 unsigned long __cil_tmp9 ;
8796 void *__cil_tmp10 ;
8797 void *__cil_tmp11 ;
8798
8799 {
8800 {
8801#line 259
8802 __cil_tmp5 = (unsigned long )adapter;
8803#line 259
8804 __cil_tmp6 = __cil_tmp5 + 136;
8805#line 259
8806 __cil_tmp7 = *((void **)__cil_tmp6);
8807#line 259
8808 card = (struct pcie_service_card *)__cil_tmp7;
8809#line 261
8810 __cil_tmp8 = (unsigned long )card;
8811#line 261
8812 __cil_tmp9 = __cil_tmp8 + 1232;
8813#line 261
8814 __cil_tmp10 = *((void **)__cil_tmp9);
8815#line 261
8816 __cil_tmp11 = __cil_tmp10 + reg;
8817#line 261
8818 iowrite32(data, __cil_tmp11);
8819 }
8820#line 263
8821 return (0);
8822}
8823}
8824#line 269 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
8825static int mwifiex_read_reg(struct mwifiex_adapter *adapter , int reg , u32 *data )
8826{ struct pcie_service_card *card ;
8827 unsigned long __cil_tmp5 ;
8828 unsigned long __cil_tmp6 ;
8829 void *__cil_tmp7 ;
8830 unsigned long __cil_tmp8 ;
8831 unsigned long __cil_tmp9 ;
8832 void *__cil_tmp10 ;
8833 void *__cil_tmp11 ;
8834
8835 {
8836 {
8837#line 271
8838 __cil_tmp5 = (unsigned long )adapter;
8839#line 271
8840 __cil_tmp6 = __cil_tmp5 + 136;
8841#line 271
8842 __cil_tmp7 = *((void **)__cil_tmp6);
8843#line 271
8844 card = (struct pcie_service_card *)__cil_tmp7;
8845#line 273
8846 __cil_tmp8 = (unsigned long )card;
8847#line 273
8848 __cil_tmp9 = __cil_tmp8 + 1232;
8849#line 273
8850 __cil_tmp10 = *((void **)__cil_tmp9);
8851#line 273
8852 __cil_tmp11 = __cil_tmp10 + reg;
8853#line 273
8854 *data = ioread32(__cil_tmp11);
8855 }
8856#line 275
8857 return (0);
8858}
8859}
8860#line 296
8861static int mwifiex_pm_wakeup_card(struct mwifiex_adapter *adapter ) ;
8862#line 296 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
8863static struct _ddebug __attribute__((__aligned__(8))) descriptor___1 __attribute__((__used__,
8864__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pm_wakeup_card", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
8865 "event: Wakeup device...\n", 296U, 0U};
8866#line 304
8867static int mwifiex_pm_wakeup_card(struct mwifiex_adapter *adapter ) ;
8868#line 304 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
8869static struct _ddebug __attribute__((__aligned__(8))) descriptor___2 __attribute__((__used__,
8870__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pm_wakeup_card", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
8871 "PCIE wakeup: Setting PS_STATE_AWAKE\n", 304U, 0U};
8872#line 284 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
8873static int mwifiex_pm_wakeup_card(struct mwifiex_adapter *adapter )
8874{ int i ;
8875 bool tmp___7 ;
8876 long tmp___8 ;
8877 int tmp___9 ;
8878 long tmp___10 ;
8879 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp7 ;
8880 unsigned int __cil_tmp8 ;
8881 unsigned int __cil_tmp9 ;
8882 int __cil_tmp10 ;
8883 int __cil_tmp11 ;
8884 long __cil_tmp12 ;
8885 unsigned long __cil_tmp13 ;
8886 unsigned long __cil_tmp14 ;
8887 struct device *__cil_tmp15 ;
8888 struct device const *__cil_tmp16 ;
8889 unsigned long __cil_tmp17 ;
8890 unsigned long __cil_tmp18 ;
8891 unsigned long __cil_tmp19 ;
8892 unsigned long __cil_tmp20 ;
8893 unsigned long __cil_tmp21 ;
8894 unsigned long __cil_tmp22 ;
8895 u32 __cil_tmp23 ;
8896 unsigned long __cil_tmp24 ;
8897 unsigned long __cil_tmp25 ;
8898 struct device *__cil_tmp26 ;
8899 struct device const *__cil_tmp27 ;
8900 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp28 ;
8901 unsigned int __cil_tmp29 ;
8902 unsigned int __cil_tmp30 ;
8903 int __cil_tmp31 ;
8904 int __cil_tmp32 ;
8905 long __cil_tmp33 ;
8906 unsigned long __cil_tmp34 ;
8907 unsigned long __cil_tmp35 ;
8908 struct device *__cil_tmp36 ;
8909 struct device const *__cil_tmp37 ;
8910 unsigned long __cil_tmp38 ;
8911 unsigned long __cil_tmp39 ;
8912
8913 {
8914#line 286
8915 i = 0;
8916 {
8917#line 288
8918 while (1) {
8919 while_continue: ;
8920 {
8921#line 288
8922 tmp___7 = mwifiex_pcie_ok_to_access_hw(adapter);
8923 }
8924#line 288
8925 if (tmp___7) {
8926
8927 } else {
8928#line 288
8929 goto while_break;
8930 }
8931 {
8932#line 289
8933 i = i + 1;
8934#line 290
8935 usleep_range(10UL, 20UL);
8936 }
8937#line 292
8938 if (i == 50000) {
8939#line 293
8940 goto while_break;
8941 } else {
8942
8943 }
8944 }
8945 while_break: ;
8946 }
8947 {
8948#line 296
8949 while (1) {
8950 while_continue___0: ;
8951 {
8952#line 296
8953 while (1) {
8954 while_continue___1: ;
8955 {
8956#line 296
8957 __cil_tmp7 = & descriptor___1;
8958#line 296
8959 __cil_tmp8 = __cil_tmp7->flags;
8960#line 296
8961 __cil_tmp9 = __cil_tmp8 & 1U;
8962#line 296
8963 __cil_tmp10 = ! __cil_tmp9;
8964#line 296
8965 __cil_tmp11 = ! __cil_tmp10;
8966#line 296
8967 __cil_tmp12 = (long )__cil_tmp11;
8968#line 296
8969 tmp___8 = __builtin_expect(__cil_tmp12, 0L);
8970 }
8971#line 296
8972 if (tmp___8) {
8973 {
8974#line 296
8975 __cil_tmp13 = (unsigned long )adapter;
8976#line 296
8977 __cil_tmp14 = __cil_tmp13 + 72;
8978#line 296
8979 __cil_tmp15 = *((struct device **)__cil_tmp14);
8980#line 296
8981 __cil_tmp16 = (struct device const *)__cil_tmp15;
8982#line 296
8983 __dynamic_dev_dbg(& descriptor___1, __cil_tmp16, "event: Wakeup device...\n");
8984 }
8985 } else {
8986
8987 }
8988#line 296
8989 goto while_break___1;
8990 }
8991 while_break___1: ;
8992 }
8993#line 296
8994 goto while_break___0;
8995 }
8996 while_break___0: ;
8997 }
8998 {
8999#line 299
9000 __cil_tmp17 = 1UL << 3;
9001#line 299
9002 __cil_tmp18 = 1UL << 2;
9003#line 299
9004 __cil_tmp19 = 1UL << 1;
9005#line 299
9006 __cil_tmp20 = 1UL | __cil_tmp19;
9007#line 299
9008 __cil_tmp21 = __cil_tmp20 | __cil_tmp18;
9009#line 299
9010 __cil_tmp22 = __cil_tmp21 | __cil_tmp17;
9011#line 299
9012 __cil_tmp23 = (u32 )__cil_tmp22;
9013#line 299
9014 tmp___9 = mwifiex_write_reg(adapter, 3124, __cil_tmp23);
9015 }
9016#line 299
9017 if (tmp___9) {
9018 {
9019#line 300
9020 __cil_tmp24 = (unsigned long )adapter;
9021#line 300
9022 __cil_tmp25 = __cil_tmp24 + 72;
9023#line 300
9024 __cil_tmp26 = *((struct device **)__cil_tmp25);
9025#line 300
9026 __cil_tmp27 = (struct device const *)__cil_tmp26;
9027#line 300
9028 dev_warn(__cil_tmp27, "Enable host interrupt failed\n");
9029 }
9030#line 301
9031 return (-1);
9032 } else {
9033
9034 }
9035 {
9036#line 304
9037 while (1) {
9038 while_continue___2: ;
9039 {
9040#line 304
9041 while (1) {
9042 while_continue___3: ;
9043 {
9044#line 304
9045 __cil_tmp28 = & descriptor___2;
9046#line 304
9047 __cil_tmp29 = __cil_tmp28->flags;
9048#line 304
9049 __cil_tmp30 = __cil_tmp29 & 1U;
9050#line 304
9051 __cil_tmp31 = ! __cil_tmp30;
9052#line 304
9053 __cil_tmp32 = ! __cil_tmp31;
9054#line 304
9055 __cil_tmp33 = (long )__cil_tmp32;
9056#line 304
9057 tmp___10 = __builtin_expect(__cil_tmp33, 0L);
9058 }
9059#line 304
9060 if (tmp___10) {
9061 {
9062#line 304
9063 __cil_tmp34 = (unsigned long )adapter;
9064#line 304
9065 __cil_tmp35 = __cil_tmp34 + 72;
9066#line 304
9067 __cil_tmp36 = *((struct device **)__cil_tmp35);
9068#line 304
9069 __cil_tmp37 = (struct device const *)__cil_tmp36;
9070#line 304
9071 __dynamic_dev_dbg(& descriptor___2, __cil_tmp37, "PCIE wakeup: Setting PS_STATE_AWAKE\n");
9072 }
9073 } else {
9074
9075 }
9076#line 304
9077 goto while_break___3;
9078 }
9079 while_break___3: ;
9080 }
9081#line 304
9082 goto while_break___2;
9083 }
9084 while_break___2: ;
9085 }
9086#line 305
9087 __cil_tmp38 = (unsigned long )adapter;
9088#line 305
9089 __cil_tmp39 = __cil_tmp38 + 3364;
9090#line 305
9091 *((u32 *)__cil_tmp39) = (u32 )0;
9092#line 307
9093 return (0);
9094}
9095}
9096#line 317
9097static int mwifiex_pm_wakeup_card_complete(struct mwifiex_adapter *adapter ) ;
9098#line 317 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
9099static struct _ddebug __attribute__((__aligned__(8))) descriptor___3 __attribute__((__used__,
9100__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pm_wakeup_card_complete", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
9101 "cmd: Wakeup device completed\n", 317U, 0U};
9102#line 315 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
9103static int mwifiex_pm_wakeup_card_complete(struct mwifiex_adapter *adapter )
9104{ long tmp___7 ;
9105 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp3 ;
9106 unsigned int __cil_tmp4 ;
9107 unsigned int __cil_tmp5 ;
9108 int __cil_tmp6 ;
9109 int __cil_tmp7 ;
9110 long __cil_tmp8 ;
9111 unsigned long __cil_tmp9 ;
9112 unsigned long __cil_tmp10 ;
9113 struct device *__cil_tmp11 ;
9114 struct device const *__cil_tmp12 ;
9115
9116 {
9117 {
9118#line 317
9119 while (1) {
9120 while_continue: ;
9121 {
9122#line 317
9123 while (1) {
9124 while_continue___0: ;
9125 {
9126#line 317
9127 __cil_tmp3 = & descriptor___3;
9128#line 317
9129 __cil_tmp4 = __cil_tmp3->flags;
9130#line 317
9131 __cil_tmp5 = __cil_tmp4 & 1U;
9132#line 317
9133 __cil_tmp6 = ! __cil_tmp5;
9134#line 317
9135 __cil_tmp7 = ! __cil_tmp6;
9136#line 317
9137 __cil_tmp8 = (long )__cil_tmp7;
9138#line 317
9139 tmp___7 = __builtin_expect(__cil_tmp8, 0L);
9140 }
9141#line 317
9142 if (tmp___7) {
9143 {
9144#line 317
9145 __cil_tmp9 = (unsigned long )adapter;
9146#line 317
9147 __cil_tmp10 = __cil_tmp9 + 72;
9148#line 317
9149 __cil_tmp11 = *((struct device **)__cil_tmp10);
9150#line 317
9151 __cil_tmp12 = (struct device const *)__cil_tmp11;
9152#line 317
9153 __dynamic_dev_dbg(& descriptor___3, __cil_tmp12, "cmd: Wakeup device completed\n");
9154 }
9155 } else {
9156
9157 }
9158#line 317
9159 goto while_break___0;
9160 }
9161 while_break___0: ;
9162 }
9163#line 317
9164 goto while_break;
9165 }
9166 while_break: ;
9167 }
9168#line 319
9169 return (0);
9170}
9171}
9172#line 328 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
9173static int mwifiex_pcie_disable_host_int(struct mwifiex_adapter *adapter )
9174{ int tmp___7 ;
9175 bool tmp___8 ;
9176 u32 __cil_tmp4 ;
9177 unsigned long __cil_tmp5 ;
9178 unsigned long __cil_tmp6 ;
9179 struct device *__cil_tmp7 ;
9180 struct device const *__cil_tmp8 ;
9181
9182 {
9183 {
9184#line 330
9185 tmp___8 = mwifiex_pcie_ok_to_access_hw(adapter);
9186 }
9187#line 330
9188 if (tmp___8) {
9189 {
9190#line 331
9191 __cil_tmp4 = (u32 )0;
9192#line 331
9193 tmp___7 = mwifiex_write_reg(adapter, 3124, __cil_tmp4);
9194 }
9195#line 331
9196 if (tmp___7) {
9197 {
9198#line 333
9199 __cil_tmp5 = (unsigned long )adapter;
9200#line 333
9201 __cil_tmp6 = __cil_tmp5 + 72;
9202#line 333
9203 __cil_tmp7 = *((struct device **)__cil_tmp6);
9204#line 333
9205 __cil_tmp8 = (struct device const *)__cil_tmp7;
9206#line 333
9207 dev_warn(__cil_tmp8, "Disable host interrupt failed\n");
9208 }
9209#line 334
9210 return (-1);
9211 } else {
9212
9213 }
9214 } else {
9215
9216 }
9217#line 338
9218 return (0);
9219}
9220}
9221#line 347 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
9222static int mwifiex_pcie_enable_host_int(struct mwifiex_adapter *adapter )
9223{ int tmp___7 ;
9224 bool tmp___8 ;
9225 unsigned long __cil_tmp4 ;
9226 unsigned long __cil_tmp5 ;
9227 unsigned long __cil_tmp6 ;
9228 unsigned long __cil_tmp7 ;
9229 unsigned long __cil_tmp8 ;
9230 unsigned long __cil_tmp9 ;
9231 u32 __cil_tmp10 ;
9232 unsigned long __cil_tmp11 ;
9233 unsigned long __cil_tmp12 ;
9234 struct device *__cil_tmp13 ;
9235 struct device const *__cil_tmp14 ;
9236
9237 {
9238 {
9239#line 349
9240 tmp___8 = mwifiex_pcie_ok_to_access_hw(adapter);
9241 }
9242#line 349
9243 if (tmp___8) {
9244 {
9245#line 351
9246 __cil_tmp4 = 1UL << 3;
9247#line 351
9248 __cil_tmp5 = 1UL << 2;
9249#line 351
9250 __cil_tmp6 = 1UL << 1;
9251#line 351
9252 __cil_tmp7 = 1UL | __cil_tmp6;
9253#line 351
9254 __cil_tmp8 = __cil_tmp7 | __cil_tmp5;
9255#line 351
9256 __cil_tmp9 = __cil_tmp8 | __cil_tmp4;
9257#line 351
9258 __cil_tmp10 = (u32 )__cil_tmp9;
9259#line 351
9260 tmp___7 = mwifiex_write_reg(adapter, 3124, __cil_tmp10);
9261 }
9262#line 351
9263 if (tmp___7) {
9264 {
9265#line 353
9266 __cil_tmp11 = (unsigned long )adapter;
9267#line 353
9268 __cil_tmp12 = __cil_tmp11 + 72;
9269#line 353
9270 __cil_tmp13 = *((struct device **)__cil_tmp12);
9271#line 353
9272 __cil_tmp14 = (struct device const *)__cil_tmp13;
9273#line 353
9274 dev_warn(__cil_tmp14, "Enable host interrupt failed\n");
9275 }
9276#line 354
9277 return (-1);
9278 } else {
9279
9280 }
9281 } else {
9282
9283 }
9284#line 358
9285 return (0);
9286}
9287}
9288#line 383
9289static int mwifiex_pcie_create_txbd_ring(struct mwifiex_adapter *adapter ) ;
9290#line 383 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
9291static struct _ddebug __attribute__((__aligned__(8))) descriptor___4 __attribute__((__used__,
9292__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_create_txbd_ring", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
9293 "info: txbd_ring: Allocating %d bytes\n", 384U, 0U};
9294#line 392
9295static int mwifiex_pcie_create_txbd_ring(struct mwifiex_adapter *adapter ) ;
9296#line 392 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
9297static struct _ddebug __attribute__((__aligned__(8))) descriptor___5 __attribute__((__used__,
9298__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_create_txbd_ring", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
9299 "info: txbd_ring - base: %p, pbase: %#x:%x, len: %x\n", 395U, 0U};
9300#line 413
9301static int mwifiex_pcie_create_txbd_ring(struct mwifiex_adapter *adapter ) ;
9302#line 413 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
9303static struct _ddebug __attribute__((__aligned__(8))) descriptor___6 __attribute__((__used__,
9304__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_create_txbd_ring", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
9305 "info: TX ring: add new skb base: %p, buf_base: %p, buf_pbase: %#x:%x, buf_len: %#x\n",
9306 416U, 0U};
9307#line 364 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
9308static int mwifiex_pcie_create_txbd_ring(struct mwifiex_adapter *adapter )
9309{ struct pcie_service_card *card ;
9310 struct sk_buff *skb ;
9311 int i ;
9312 phys_addr_t *buf_pa ;
9313 long tmp___7 ;
9314 void *tmp___8 ;
9315 long tmp___9 ;
9316 long tmp___10 ;
9317 unsigned long __cil_tmp10 ;
9318 unsigned long __cil_tmp11 ;
9319 void *__cil_tmp12 ;
9320 unsigned long __cil_tmp13 ;
9321 unsigned long __cil_tmp14 ;
9322 unsigned long __cil_tmp15 ;
9323 unsigned long __cil_tmp16 ;
9324 unsigned long __cil_tmp17 ;
9325 unsigned long __cil_tmp18 ;
9326 unsigned long __cil_tmp19 ;
9327 u32 __cil_tmp20 ;
9328 unsigned long __cil_tmp21 ;
9329 unsigned long __cil_tmp22 ;
9330 unsigned long __cil_tmp23 ;
9331 unsigned long __cil_tmp24 ;
9332 unsigned long __cil_tmp25 ;
9333 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp26 ;
9334 unsigned int __cil_tmp27 ;
9335 unsigned int __cil_tmp28 ;
9336 int __cil_tmp29 ;
9337 int __cil_tmp30 ;
9338 long __cil_tmp31 ;
9339 unsigned long __cil_tmp32 ;
9340 unsigned long __cil_tmp33 ;
9341 struct device *__cil_tmp34 ;
9342 struct device const *__cil_tmp35 ;
9343 unsigned long __cil_tmp36 ;
9344 unsigned long __cil_tmp37 ;
9345 u32 __cil_tmp38 ;
9346 unsigned long __cil_tmp39 ;
9347 unsigned long __cil_tmp40 ;
9348 u32 __cil_tmp41 ;
9349 size_t __cil_tmp42 ;
9350 unsigned long __cil_tmp43 ;
9351 unsigned long __cil_tmp44 ;
9352 unsigned long __cil_tmp45 ;
9353 unsigned long __cil_tmp46 ;
9354 u8 *__cil_tmp47 ;
9355 unsigned long __cil_tmp48 ;
9356 unsigned long __cil_tmp49 ;
9357 struct device *__cil_tmp50 ;
9358 struct device const *__cil_tmp51 ;
9359 unsigned long __cil_tmp52 ;
9360 unsigned long __cil_tmp53 ;
9361 unsigned long __cil_tmp54 ;
9362 unsigned long __cil_tmp55 ;
9363 u8 *__cil_tmp56 ;
9364 void volatile *__cil_tmp57 ;
9365 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp58 ;
9366 unsigned int __cil_tmp59 ;
9367 unsigned int __cil_tmp60 ;
9368 int __cil_tmp61 ;
9369 int __cil_tmp62 ;
9370 long __cil_tmp63 ;
9371 unsigned long __cil_tmp64 ;
9372 unsigned long __cil_tmp65 ;
9373 struct device *__cil_tmp66 ;
9374 struct device const *__cil_tmp67 ;
9375 unsigned long __cil_tmp68 ;
9376 unsigned long __cil_tmp69 ;
9377 u8 *__cil_tmp70 ;
9378 unsigned long __cil_tmp71 ;
9379 unsigned long __cil_tmp72 ;
9380 phys_addr_t __cil_tmp73 ;
9381 u32 __cil_tmp74 ;
9382 unsigned long __cil_tmp75 ;
9383 unsigned long __cil_tmp76 ;
9384 phys_addr_t __cil_tmp77 ;
9385 u64 __cil_tmp78 ;
9386 u32 __cil_tmp79 ;
9387 unsigned long __cil_tmp80 ;
9388 unsigned long __cil_tmp81 ;
9389 u32 __cil_tmp82 ;
9390 unsigned long __cil_tmp83 ;
9391 unsigned long __cil_tmp84 ;
9392 unsigned long __cil_tmp85 ;
9393 unsigned long __cil_tmp86 ;
9394 unsigned long __cil_tmp87 ;
9395 unsigned long __cil_tmp88 ;
9396 unsigned long __cil_tmp89 ;
9397 unsigned long __cil_tmp90 ;
9398 u8 *__cil_tmp91 ;
9399 u8 *__cil_tmp92 ;
9400 unsigned long __cil_tmp93 ;
9401 unsigned long __cil_tmp94 ;
9402 struct device *__cil_tmp95 ;
9403 struct device const *__cil_tmp96 ;
9404 unsigned long __cil_tmp97 ;
9405 unsigned long __cil_tmp98 ;
9406 u8 *__cil_tmp99 ;
9407 void const *__cil_tmp100 ;
9408 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp101 ;
9409 unsigned int __cil_tmp102 ;
9410 unsigned int __cil_tmp103 ;
9411 int __cil_tmp104 ;
9412 int __cil_tmp105 ;
9413 long __cil_tmp106 ;
9414 unsigned long __cil_tmp107 ;
9415 unsigned long __cil_tmp108 ;
9416 struct device *__cil_tmp109 ;
9417 struct device const *__cil_tmp110 ;
9418 unsigned long __cil_tmp111 ;
9419 unsigned long __cil_tmp112 ;
9420 unsigned char *__cil_tmp113 ;
9421 phys_addr_t __cil_tmp114 ;
9422 u32 __cil_tmp115 ;
9423 phys_addr_t __cil_tmp116 ;
9424 u64 __cil_tmp117 ;
9425 u32 __cil_tmp118 ;
9426 unsigned long __cil_tmp119 ;
9427 unsigned long __cil_tmp120 ;
9428 unsigned int __cil_tmp121 ;
9429 unsigned long __cil_tmp122 ;
9430 unsigned long __cil_tmp123 ;
9431 unsigned long __cil_tmp124 ;
9432 unsigned long __cil_tmp125 ;
9433 unsigned long __cil_tmp126 ;
9434 unsigned long __cil_tmp127 ;
9435 unsigned long __cil_tmp128 ;
9436 unsigned long __cil_tmp129 ;
9437 struct mwifiex_pcie_buf_desc *__cil_tmp130 ;
9438 unsigned long __cil_tmp131 ;
9439 unsigned long __cil_tmp132 ;
9440 unsigned long __cil_tmp133 ;
9441 unsigned long __cil_tmp134 ;
9442 struct mwifiex_pcie_buf_desc *__cil_tmp135 ;
9443 unsigned long __cil_tmp136 ;
9444 unsigned long __cil_tmp137 ;
9445 unsigned long __cil_tmp138 ;
9446 unsigned long __cil_tmp139 ;
9447 unsigned int __cil_tmp140 ;
9448 unsigned long __cil_tmp141 ;
9449 unsigned long __cil_tmp142 ;
9450 unsigned long __cil_tmp143 ;
9451 unsigned long __cil_tmp144 ;
9452 struct mwifiex_pcie_buf_desc *__cil_tmp145 ;
9453 unsigned long __cil_tmp146 ;
9454 unsigned long __cil_tmp147 ;
9455
9456 {
9457#line 366
9458 __cil_tmp10 = (unsigned long )adapter;
9459#line 366
9460 __cil_tmp11 = __cil_tmp10 + 136;
9461#line 366
9462 __cil_tmp12 = *((void **)__cil_tmp11);
9463#line 366
9464 card = (struct pcie_service_card *)__cil_tmp12;
9465#line 376
9466 __cil_tmp13 = (unsigned long )card;
9467#line 376
9468 __cil_tmp14 = __cil_tmp13 + 16;
9469#line 376
9470 *((u32 *)__cil_tmp14) = (u32 )0;
9471#line 377
9472 __cil_tmp15 = (unsigned long )card;
9473#line 377
9474 __cil_tmp16 = __cil_tmp15 + 20;
9475#line 377
9476 __cil_tmp17 = 1UL << 7;
9477#line 377
9478 __cil_tmp18 = (unsigned long )card;
9479#line 377
9480 __cil_tmp19 = __cil_tmp18 + 20;
9481#line 377
9482 __cil_tmp20 = *((u32 *)__cil_tmp19);
9483#line 377
9484 __cil_tmp21 = (unsigned long )__cil_tmp20;
9485#line 377
9486 __cil_tmp22 = __cil_tmp21 | __cil_tmp17;
9487#line 377
9488 *((u32 *)__cil_tmp16) = (u32 )__cil_tmp22;
9489#line 381
9490 __cil_tmp23 = (unsigned long )card;
9491#line 381
9492 __cil_tmp24 = __cil_tmp23 + 24;
9493#line 381
9494 __cil_tmp25 = 12UL * 32UL;
9495#line 381
9496 *((u32 *)__cil_tmp24) = (u32 )__cil_tmp25;
9497 {
9498#line 383
9499 while (1) {
9500 while_continue: ;
9501 {
9502#line 383
9503 while (1) {
9504 while_continue___0: ;
9505 {
9506#line 383
9507 __cil_tmp26 = & descriptor___4;
9508#line 383
9509 __cil_tmp27 = __cil_tmp26->flags;
9510#line 383
9511 __cil_tmp28 = __cil_tmp27 & 1U;
9512#line 383
9513 __cil_tmp29 = ! __cil_tmp28;
9514#line 383
9515 __cil_tmp30 = ! __cil_tmp29;
9516#line 383
9517 __cil_tmp31 = (long )__cil_tmp30;
9518#line 383
9519 tmp___7 = __builtin_expect(__cil_tmp31, 0L);
9520 }
9521#line 383
9522 if (tmp___7) {
9523 {
9524#line 383
9525 __cil_tmp32 = (unsigned long )adapter;
9526#line 383
9527 __cil_tmp33 = __cil_tmp32 + 72;
9528#line 383
9529 __cil_tmp34 = *((struct device **)__cil_tmp33);
9530#line 383
9531 __cil_tmp35 = (struct device const *)__cil_tmp34;
9532#line 383
9533 __cil_tmp36 = (unsigned long )card;
9534#line 383
9535 __cil_tmp37 = __cil_tmp36 + 24;
9536#line 383
9537 __cil_tmp38 = *((u32 *)__cil_tmp37);
9538#line 383
9539 __dynamic_dev_dbg(& descriptor___4, __cil_tmp35, "info: txbd_ring: Allocating %d bytes\n",
9540 __cil_tmp38);
9541 }
9542 } else {
9543
9544 }
9545#line 383
9546 goto while_break___0;
9547 }
9548 while_break___0: ;
9549 }
9550#line 383
9551 goto while_break;
9552 }
9553 while_break: ;
9554 }
9555 {
9556#line 385
9557 __cil_tmp39 = (unsigned long )card;
9558#line 385
9559 __cil_tmp40 = __cil_tmp39 + 24;
9560#line 385
9561 __cil_tmp41 = *((u32 *)__cil_tmp40);
9562#line 385
9563 __cil_tmp42 = (size_t )__cil_tmp41;
9564#line 385
9565 tmp___8 = kzalloc(__cil_tmp42, 208U);
9566#line 385
9567 __cil_tmp43 = (unsigned long )card;
9568#line 385
9569 __cil_tmp44 = __cil_tmp43 + 32;
9570#line 385
9571 *((u8 **)__cil_tmp44) = (u8 *)tmp___8;
9572 }
9573 {
9574#line 386
9575 __cil_tmp45 = (unsigned long )card;
9576#line 386
9577 __cil_tmp46 = __cil_tmp45 + 32;
9578#line 386
9579 __cil_tmp47 = *((u8 **)__cil_tmp46);
9580#line 386
9581 if (! __cil_tmp47) {
9582 {
9583#line 387
9584 __cil_tmp48 = (unsigned long )adapter;
9585#line 387
9586 __cil_tmp49 = __cil_tmp48 + 72;
9587#line 387
9588 __cil_tmp50 = *((struct device **)__cil_tmp49);
9589#line 387
9590 __cil_tmp51 = (struct device const *)__cil_tmp50;
9591#line 387
9592 dev_err(__cil_tmp51, "Unable to alloc buffer for txbd ring\n");
9593 }
9594#line 388
9595 return (-12);
9596 } else {
9597
9598 }
9599 }
9600 {
9601#line 390
9602 __cil_tmp52 = (unsigned long )card;
9603#line 390
9604 __cil_tmp53 = __cil_tmp52 + 40;
9605#line 390
9606 __cil_tmp54 = (unsigned long )card;
9607#line 390
9608 __cil_tmp55 = __cil_tmp54 + 32;
9609#line 390
9610 __cil_tmp56 = *((u8 **)__cil_tmp55);
9611#line 390
9612 __cil_tmp57 = (void volatile *)__cil_tmp56;
9613#line 390
9614 *((phys_addr_t *)__cil_tmp53) = virt_to_phys(__cil_tmp57);
9615 }
9616 {
9617#line 392
9618 while (1) {
9619 while_continue___1: ;
9620 {
9621#line 392
9622 while (1) {
9623 while_continue___2: ;
9624 {
9625#line 392
9626 __cil_tmp58 = & descriptor___5;
9627#line 392
9628 __cil_tmp59 = __cil_tmp58->flags;
9629#line 392
9630 __cil_tmp60 = __cil_tmp59 & 1U;
9631#line 392
9632 __cil_tmp61 = ! __cil_tmp60;
9633#line 392
9634 __cil_tmp62 = ! __cil_tmp61;
9635#line 392
9636 __cil_tmp63 = (long )__cil_tmp62;
9637#line 392
9638 tmp___9 = __builtin_expect(__cil_tmp63, 0L);
9639 }
9640#line 392
9641 if (tmp___9) {
9642 {
9643#line 392
9644 __cil_tmp64 = (unsigned long )adapter;
9645#line 392
9646 __cil_tmp65 = __cil_tmp64 + 72;
9647#line 392
9648 __cil_tmp66 = *((struct device **)__cil_tmp65);
9649#line 392
9650 __cil_tmp67 = (struct device const *)__cil_tmp66;
9651#line 392
9652 __cil_tmp68 = (unsigned long )card;
9653#line 392
9654 __cil_tmp69 = __cil_tmp68 + 32;
9655#line 392
9656 __cil_tmp70 = *((u8 **)__cil_tmp69);
9657#line 392
9658 __cil_tmp71 = (unsigned long )card;
9659#line 392
9660 __cil_tmp72 = __cil_tmp71 + 40;
9661#line 392
9662 __cil_tmp73 = *((phys_addr_t *)__cil_tmp72);
9663#line 392
9664 __cil_tmp74 = (u32 )__cil_tmp73;
9665#line 392
9666 __cil_tmp75 = (unsigned long )card;
9667#line 392
9668 __cil_tmp76 = __cil_tmp75 + 40;
9669#line 392
9670 __cil_tmp77 = *((phys_addr_t *)__cil_tmp76);
9671#line 392
9672 __cil_tmp78 = __cil_tmp77 >> 32;
9673#line 392
9674 __cil_tmp79 = (u32 )__cil_tmp78;
9675#line 392
9676 __cil_tmp80 = (unsigned long )card;
9677#line 392
9678 __cil_tmp81 = __cil_tmp80 + 24;
9679#line 392
9680 __cil_tmp82 = *((u32 *)__cil_tmp81);
9681#line 392
9682 __dynamic_dev_dbg(& descriptor___5, __cil_tmp67, "info: txbd_ring - base: %p, pbase: %#x:%x, len: %x\n",
9683 __cil_tmp70, __cil_tmp74, __cil_tmp79, __cil_tmp82);
9684 }
9685 } else {
9686
9687 }
9688#line 392
9689 goto while_break___2;
9690 }
9691 while_break___2: ;
9692 }
9693#line 392
9694 goto while_break___1;
9695 }
9696 while_break___1: ;
9697 }
9698#line 397
9699 i = 0;
9700 {
9701#line 397
9702 while (1) {
9703 while_continue___3: ;
9704#line 397
9705 if (i < 32) {
9706
9707 } else {
9708#line 397
9709 goto while_break___3;
9710 }
9711 {
9712#line 398
9713 __cil_tmp83 = i * 8UL;
9714#line 398
9715 __cil_tmp84 = 48 + __cil_tmp83;
9716#line 398
9717 __cil_tmp85 = (unsigned long )card;
9718#line 398
9719 __cil_tmp86 = __cil_tmp85 + __cil_tmp84;
9720#line 398
9721 __cil_tmp87 = (unsigned long )i;
9722#line 398
9723 __cil_tmp88 = 12UL * __cil_tmp87;
9724#line 398
9725 __cil_tmp89 = (unsigned long )card;
9726#line 398
9727 __cil_tmp90 = __cil_tmp89 + 32;
9728#line 398
9729 __cil_tmp91 = *((u8 **)__cil_tmp90);
9730#line 398
9731 __cil_tmp92 = __cil_tmp91 + __cil_tmp88;
9732#line 398
9733 *((struct mwifiex_pcie_buf_desc **)__cil_tmp86) = (struct mwifiex_pcie_buf_desc *)__cil_tmp92;
9734#line 404
9735 skb = dev_alloc_skb(4096U);
9736 }
9737#line 405
9738 if (! skb) {
9739 {
9740#line 406
9741 __cil_tmp93 = (unsigned long )adapter;
9742#line 406
9743 __cil_tmp94 = __cil_tmp93 + 72;
9744#line 406
9745 __cil_tmp95 = *((struct device **)__cil_tmp94);
9746#line 406
9747 __cil_tmp96 = (struct device const *)__cil_tmp95;
9748#line 406
9749 dev_err(__cil_tmp96, "Unable to allocate skb for TX ring.\n");
9750#line 407
9751 __cil_tmp97 = (unsigned long )card;
9752#line 407
9753 __cil_tmp98 = __cil_tmp97 + 32;
9754#line 407
9755 __cil_tmp99 = *((u8 **)__cil_tmp98);
9756#line 407
9757 __cil_tmp100 = (void const *)__cil_tmp99;
9758#line 407
9759 kfree(__cil_tmp100);
9760 }
9761#line 408
9762 return (-12);
9763 } else {
9764
9765 }
9766 {
9767#line 410
9768 buf_pa = mwifiex_update_sk_buff_pa(skb);
9769#line 412
9770 skb_put(skb, 4096U);
9771 }
9772 {
9773#line 413
9774 while (1) {
9775 while_continue___4: ;
9776 {
9777#line 413
9778 while (1) {
9779 while_continue___5: ;
9780 {
9781#line 413
9782 __cil_tmp101 = & descriptor___6;
9783#line 413
9784 __cil_tmp102 = __cil_tmp101->flags;
9785#line 413
9786 __cil_tmp103 = __cil_tmp102 & 1U;
9787#line 413
9788 __cil_tmp104 = ! __cil_tmp103;
9789#line 413
9790 __cil_tmp105 = ! __cil_tmp104;
9791#line 413
9792 __cil_tmp106 = (long )__cil_tmp105;
9793#line 413
9794 tmp___10 = __builtin_expect(__cil_tmp106, 0L);
9795 }
9796#line 413
9797 if (tmp___10) {
9798 {
9799#line 413
9800 __cil_tmp107 = (unsigned long )adapter;
9801#line 413
9802 __cil_tmp108 = __cil_tmp107 + 72;
9803#line 413
9804 __cil_tmp109 = *((struct device **)__cil_tmp108);
9805#line 413
9806 __cil_tmp110 = (struct device const *)__cil_tmp109;
9807#line 413
9808 __cil_tmp111 = (unsigned long )skb;
9809#line 413
9810 __cil_tmp112 = __cil_tmp111 + 224;
9811#line 413
9812 __cil_tmp113 = *((unsigned char **)__cil_tmp112);
9813#line 413
9814 __cil_tmp114 = *buf_pa;
9815#line 413
9816 __cil_tmp115 = (u32 )__cil_tmp114;
9817#line 413
9818 __cil_tmp116 = *buf_pa;
9819#line 413
9820 __cil_tmp117 = __cil_tmp116 >> 32;
9821#line 413
9822 __cil_tmp118 = (u32 )__cil_tmp117;
9823#line 413
9824 __cil_tmp119 = (unsigned long )skb;
9825#line 413
9826 __cil_tmp120 = __cil_tmp119 + 104;
9827#line 413
9828 __cil_tmp121 = *((unsigned int *)__cil_tmp120);
9829#line 413
9830 __dynamic_dev_dbg(& descriptor___6, __cil_tmp110, "info: TX ring: add new skb base: %p, buf_base: %p, buf_pbase: %#x:%x, buf_len: %#x\n",
9831 skb, __cil_tmp113, __cil_tmp115, __cil_tmp118, __cil_tmp121);
9832 }
9833 } else {
9834
9835 }
9836#line 413
9837 goto while_break___5;
9838 }
9839 while_break___5: ;
9840 }
9841#line 413
9842 goto while_break___4;
9843 }
9844 while_break___4: ;
9845 }
9846#line 418
9847 __cil_tmp122 = i * 8UL;
9848#line 418
9849 __cil_tmp123 = 304 + __cil_tmp122;
9850#line 418
9851 __cil_tmp124 = (unsigned long )card;
9852#line 418
9853 __cil_tmp125 = __cil_tmp124 + __cil_tmp123;
9854#line 418
9855 *((struct sk_buff **)__cil_tmp125) = skb;
9856#line 419
9857 __cil_tmp126 = i * 8UL;
9858#line 419
9859 __cil_tmp127 = 48 + __cil_tmp126;
9860#line 419
9861 __cil_tmp128 = (unsigned long )card;
9862#line 419
9863 __cil_tmp129 = __cil_tmp128 + __cil_tmp127;
9864#line 419
9865 __cil_tmp130 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp129);
9866#line 419
9867 *((u64 *)__cil_tmp130) = *buf_pa;
9868#line 420
9869 __cil_tmp131 = i * 8UL;
9870#line 420
9871 __cil_tmp132 = 48 + __cil_tmp131;
9872#line 420
9873 __cil_tmp133 = (unsigned long )card;
9874#line 420
9875 __cil_tmp134 = __cil_tmp133 + __cil_tmp132;
9876#line 420
9877 __cil_tmp135 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp134);
9878#line 420
9879 __cil_tmp136 = (unsigned long )__cil_tmp135;
9880#line 420
9881 __cil_tmp137 = __cil_tmp136 + 8;
9882#line 420
9883 __cil_tmp138 = (unsigned long )skb;
9884#line 420
9885 __cil_tmp139 = __cil_tmp138 + 104;
9886#line 420
9887 __cil_tmp140 = *((unsigned int *)__cil_tmp139);
9888#line 420
9889 *((u16 *)__cil_tmp137) = (u16 )__cil_tmp140;
9890#line 421
9891 __cil_tmp141 = i * 8UL;
9892#line 421
9893 __cil_tmp142 = 48 + __cil_tmp141;
9894#line 421
9895 __cil_tmp143 = (unsigned long )card;
9896#line 421
9897 __cil_tmp144 = __cil_tmp143 + __cil_tmp142;
9898#line 421
9899 __cil_tmp145 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp144);
9900#line 421
9901 __cil_tmp146 = (unsigned long )__cil_tmp145;
9902#line 421
9903 __cil_tmp147 = __cil_tmp146 + 10;
9904#line 421
9905 *((u16 *)__cil_tmp147) = (u16 )0;
9906#line 397
9907 i = i + 1;
9908 }
9909 while_break___3: ;
9910 }
9911#line 424
9912 return (0);
9913}
9914}
9915#line 427 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
9916static int mwifiex_pcie_delete_txbd_ring(struct mwifiex_adapter *adapter )
9917{ struct pcie_service_card *card ;
9918 int i ;
9919 unsigned long __cil_tmp4 ;
9920 unsigned long __cil_tmp5 ;
9921 void *__cil_tmp6 ;
9922 unsigned long __cil_tmp7 ;
9923 unsigned long __cil_tmp8 ;
9924 unsigned long __cil_tmp9 ;
9925 unsigned long __cil_tmp10 ;
9926 unsigned long __cil_tmp11 ;
9927 unsigned long __cil_tmp12 ;
9928 unsigned long __cil_tmp13 ;
9929 unsigned long __cil_tmp14 ;
9930 struct sk_buff *__cil_tmp15 ;
9931 unsigned long __cil_tmp16 ;
9932 unsigned long __cil_tmp17 ;
9933 unsigned long __cil_tmp18 ;
9934 unsigned long __cil_tmp19 ;
9935 void *__cil_tmp20 ;
9936 unsigned long __cil_tmp21 ;
9937 unsigned long __cil_tmp22 ;
9938 unsigned long __cil_tmp23 ;
9939 unsigned long __cil_tmp24 ;
9940 struct mwifiex_pcie_buf_desc *__cil_tmp25 ;
9941 unsigned long __cil_tmp26 ;
9942 unsigned long __cil_tmp27 ;
9943 unsigned long __cil_tmp28 ;
9944 unsigned long __cil_tmp29 ;
9945 struct mwifiex_pcie_buf_desc *__cil_tmp30 ;
9946 unsigned long __cil_tmp31 ;
9947 unsigned long __cil_tmp32 ;
9948 unsigned long __cil_tmp33 ;
9949 unsigned long __cil_tmp34 ;
9950 unsigned long __cil_tmp35 ;
9951 unsigned long __cil_tmp36 ;
9952 struct mwifiex_pcie_buf_desc *__cil_tmp37 ;
9953 unsigned long __cil_tmp38 ;
9954 unsigned long __cil_tmp39 ;
9955 unsigned long __cil_tmp40 ;
9956 unsigned long __cil_tmp41 ;
9957 unsigned long __cil_tmp42 ;
9958 unsigned long __cil_tmp43 ;
9959 void *__cil_tmp44 ;
9960 unsigned long __cil_tmp45 ;
9961 unsigned long __cil_tmp46 ;
9962 u8 *__cil_tmp47 ;
9963 void const *__cil_tmp48 ;
9964 unsigned long __cil_tmp49 ;
9965 unsigned long __cil_tmp50 ;
9966 unsigned long __cil_tmp51 ;
9967 unsigned long __cil_tmp52 ;
9968 unsigned long __cil_tmp53 ;
9969 unsigned long __cil_tmp54 ;
9970 unsigned long __cil_tmp55 ;
9971 unsigned long __cil_tmp56 ;
9972 unsigned long __cil_tmp57 ;
9973 void *__cil_tmp58 ;
9974
9975 {
9976#line 429
9977 __cil_tmp4 = (unsigned long )adapter;
9978#line 429
9979 __cil_tmp5 = __cil_tmp4 + 136;
9980#line 429
9981 __cil_tmp6 = *((void **)__cil_tmp5);
9982#line 429
9983 card = (struct pcie_service_card *)__cil_tmp6;
9984#line 432
9985 i = 0;
9986 {
9987#line 432
9988 while (1) {
9989 while_continue: ;
9990#line 432
9991 if (i < 32) {
9992
9993 } else {
9994#line 432
9995 goto while_break;
9996 }
9997 {
9998#line 433
9999 __cil_tmp7 = i * 8UL;
10000#line 433
10001 __cil_tmp8 = 304 + __cil_tmp7;
10002#line 433
10003 __cil_tmp9 = (unsigned long )card;
10004#line 433
10005 __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
10006#line 433
10007 if (*((struct sk_buff **)__cil_tmp10)) {
10008 {
10009#line 434
10010 __cil_tmp11 = i * 8UL;
10011#line 434
10012 __cil_tmp12 = 304 + __cil_tmp11;
10013#line 434
10014 __cil_tmp13 = (unsigned long )card;
10015#line 434
10016 __cil_tmp14 = __cil_tmp13 + __cil_tmp12;
10017#line 434
10018 __cil_tmp15 = *((struct sk_buff **)__cil_tmp14);
10019#line 434
10020 dev_kfree_skb_any(__cil_tmp15);
10021 }
10022 } else {
10023
10024 }
10025 }
10026#line 435
10027 __cil_tmp16 = i * 8UL;
10028#line 435
10029 __cil_tmp17 = 304 + __cil_tmp16;
10030#line 435
10031 __cil_tmp18 = (unsigned long )card;
10032#line 435
10033 __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
10034#line 435
10035 __cil_tmp20 = (void *)0;
10036#line 435
10037 *((struct sk_buff **)__cil_tmp19) = (struct sk_buff *)__cil_tmp20;
10038#line 436
10039 __cil_tmp21 = i * 8UL;
10040#line 436
10041 __cil_tmp22 = 48 + __cil_tmp21;
10042#line 436
10043 __cil_tmp23 = (unsigned long )card;
10044#line 436
10045 __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
10046#line 436
10047 __cil_tmp25 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp24);
10048#line 436
10049 *((u64 *)__cil_tmp25) = (u64 )0;
10050#line 437
10051 __cil_tmp26 = i * 8UL;
10052#line 437
10053 __cil_tmp27 = 48 + __cil_tmp26;
10054#line 437
10055 __cil_tmp28 = (unsigned long )card;
10056#line 437
10057 __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
10058#line 437
10059 __cil_tmp30 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp29);
10060#line 437
10061 __cil_tmp31 = (unsigned long )__cil_tmp30;
10062#line 437
10063 __cil_tmp32 = __cil_tmp31 + 8;
10064#line 437
10065 *((u16 *)__cil_tmp32) = (u16 )0;
10066#line 438
10067 __cil_tmp33 = i * 8UL;
10068#line 438
10069 __cil_tmp34 = 48 + __cil_tmp33;
10070#line 438
10071 __cil_tmp35 = (unsigned long )card;
10072#line 438
10073 __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
10074#line 438
10075 __cil_tmp37 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp36);
10076#line 438
10077 __cil_tmp38 = (unsigned long )__cil_tmp37;
10078#line 438
10079 __cil_tmp39 = __cil_tmp38 + 10;
10080#line 438
10081 *((u16 *)__cil_tmp39) = (u16 )0;
10082#line 439
10083 __cil_tmp40 = i * 8UL;
10084#line 439
10085 __cil_tmp41 = 48 + __cil_tmp40;
10086#line 439
10087 __cil_tmp42 = (unsigned long )card;
10088#line 439
10089 __cil_tmp43 = __cil_tmp42 + __cil_tmp41;
10090#line 439
10091 __cil_tmp44 = (void *)0;
10092#line 439
10093 *((struct mwifiex_pcie_buf_desc **)__cil_tmp43) = (struct mwifiex_pcie_buf_desc *)__cil_tmp44;
10094#line 432
10095 i = i + 1;
10096 }
10097 while_break: ;
10098 }
10099 {
10100#line 442
10101 __cil_tmp45 = (unsigned long )card;
10102#line 442
10103 __cil_tmp46 = __cil_tmp45 + 32;
10104#line 442
10105 __cil_tmp47 = *((u8 **)__cil_tmp46);
10106#line 442
10107 __cil_tmp48 = (void const *)__cil_tmp47;
10108#line 442
10109 kfree(__cil_tmp48);
10110#line 443
10111 __cil_tmp49 = (unsigned long )card;
10112#line 443
10113 __cil_tmp50 = __cil_tmp49 + 24;
10114#line 443
10115 *((u32 *)__cil_tmp50) = (u32 )0;
10116#line 444
10117 __cil_tmp51 = (unsigned long )card;
10118#line 444
10119 __cil_tmp52 = __cil_tmp51 + 16;
10120#line 444
10121 *((u32 *)__cil_tmp52) = (u32 )0;
10122#line 445
10123 __cil_tmp53 = (unsigned long )card;
10124#line 445
10125 __cil_tmp54 = __cil_tmp53 + 20;
10126#line 445
10127 __cil_tmp55 = 1UL << 7;
10128#line 445
10129 *((u32 *)__cil_tmp54) = (u32 )__cil_tmp55;
10130#line 446
10131 __cil_tmp56 = (unsigned long )card;
10132#line 446
10133 __cil_tmp57 = __cil_tmp56 + 32;
10134#line 446
10135 __cil_tmp58 = (void *)0;
10136#line 446
10137 *((u8 **)__cil_tmp57) = (u8 *)__cil_tmp58;
10138 }
10139#line 448
10140 return (0);
10141}
10142}
10143#line 471
10144static int mwifiex_pcie_create_rxbd_ring(struct mwifiex_adapter *adapter ) ;
10145#line 471 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
10146static struct _ddebug __attribute__((__aligned__(8))) descriptor___7 __attribute__((__used__,
10147__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_create_rxbd_ring", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
10148 "info: rxbd_ring: Allocating %d bytes\n", 472U, 0U};
10149#line 481
10150static int mwifiex_pcie_create_rxbd_ring(struct mwifiex_adapter *adapter ) ;
10151#line 481 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
10152static struct _ddebug __attribute__((__aligned__(8))) descriptor___8 __attribute__((__used__,
10153__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_create_rxbd_ring", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
10154 "info: rxbd_ring - base: %p, pbase: %#x:%x, len: %#x\n", 485U, 0U};
10155#line 504
10156static int mwifiex_pcie_create_rxbd_ring(struct mwifiex_adapter *adapter ) ;
10157#line 504 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
10158static struct _ddebug __attribute__((__aligned__(8))) descriptor___9 __attribute__((__used__,
10159__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_create_rxbd_ring", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
10160 "info: RX ring: add new skb base: %p, buf_base: %p, buf_pbase: %#x:%x, buf_len: %#x\n",
10161 507U, 0U};
10162#line 454 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
10163static int mwifiex_pcie_create_rxbd_ring(struct mwifiex_adapter *adapter )
10164{ struct pcie_service_card *card ;
10165 struct sk_buff *skb ;
10166 int i ;
10167 phys_addr_t *buf_pa ;
10168 long tmp___7 ;
10169 void *tmp___8 ;
10170 long tmp___9 ;
10171 long tmp___10 ;
10172 unsigned long __cil_tmp10 ;
10173 unsigned long __cil_tmp11 ;
10174 void *__cil_tmp12 ;
10175 unsigned long __cil_tmp13 ;
10176 unsigned long __cil_tmp14 ;
10177 unsigned long __cil_tmp15 ;
10178 unsigned long __cil_tmp16 ;
10179 unsigned long __cil_tmp17 ;
10180 unsigned long __cil_tmp18 ;
10181 unsigned long __cil_tmp19 ;
10182 u32 __cil_tmp20 ;
10183 unsigned long __cil_tmp21 ;
10184 unsigned long __cil_tmp22 ;
10185 unsigned long __cil_tmp23 ;
10186 unsigned long __cil_tmp24 ;
10187 unsigned long __cil_tmp25 ;
10188 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp26 ;
10189 unsigned int __cil_tmp27 ;
10190 unsigned int __cil_tmp28 ;
10191 int __cil_tmp29 ;
10192 int __cil_tmp30 ;
10193 long __cil_tmp31 ;
10194 unsigned long __cil_tmp32 ;
10195 unsigned long __cil_tmp33 ;
10196 struct device *__cil_tmp34 ;
10197 struct device const *__cil_tmp35 ;
10198 unsigned long __cil_tmp36 ;
10199 unsigned long __cil_tmp37 ;
10200 u32 __cil_tmp38 ;
10201 unsigned long __cil_tmp39 ;
10202 unsigned long __cil_tmp40 ;
10203 u32 __cil_tmp41 ;
10204 size_t __cil_tmp42 ;
10205 unsigned long __cil_tmp43 ;
10206 unsigned long __cil_tmp44 ;
10207 unsigned long __cil_tmp45 ;
10208 unsigned long __cil_tmp46 ;
10209 u8 *__cil_tmp47 ;
10210 unsigned long __cil_tmp48 ;
10211 unsigned long __cil_tmp49 ;
10212 struct device *__cil_tmp50 ;
10213 struct device const *__cil_tmp51 ;
10214 unsigned long __cil_tmp52 ;
10215 unsigned long __cil_tmp53 ;
10216 unsigned long __cil_tmp54 ;
10217 unsigned long __cil_tmp55 ;
10218 u8 *__cil_tmp56 ;
10219 void volatile *__cil_tmp57 ;
10220 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp58 ;
10221 unsigned int __cil_tmp59 ;
10222 unsigned int __cil_tmp60 ;
10223 int __cil_tmp61 ;
10224 int __cil_tmp62 ;
10225 long __cil_tmp63 ;
10226 unsigned long __cil_tmp64 ;
10227 unsigned long __cil_tmp65 ;
10228 struct device *__cil_tmp66 ;
10229 struct device const *__cil_tmp67 ;
10230 unsigned long __cil_tmp68 ;
10231 unsigned long __cil_tmp69 ;
10232 u8 *__cil_tmp70 ;
10233 unsigned long __cil_tmp71 ;
10234 unsigned long __cil_tmp72 ;
10235 phys_addr_t __cil_tmp73 ;
10236 u32 __cil_tmp74 ;
10237 unsigned long __cil_tmp75 ;
10238 unsigned long __cil_tmp76 ;
10239 phys_addr_t __cil_tmp77 ;
10240 u64 __cil_tmp78 ;
10241 u32 __cil_tmp79 ;
10242 unsigned long __cil_tmp80 ;
10243 unsigned long __cil_tmp81 ;
10244 u32 __cil_tmp82 ;
10245 unsigned long __cil_tmp83 ;
10246 unsigned long __cil_tmp84 ;
10247 unsigned long __cil_tmp85 ;
10248 unsigned long __cil_tmp86 ;
10249 unsigned long __cil_tmp87 ;
10250 unsigned long __cil_tmp88 ;
10251 unsigned long __cil_tmp89 ;
10252 unsigned long __cil_tmp90 ;
10253 u8 *__cil_tmp91 ;
10254 u8 *__cil_tmp92 ;
10255 unsigned long __cil_tmp93 ;
10256 unsigned long __cil_tmp94 ;
10257 struct device *__cil_tmp95 ;
10258 struct device const *__cil_tmp96 ;
10259 unsigned long __cil_tmp97 ;
10260 unsigned long __cil_tmp98 ;
10261 u8 *__cil_tmp99 ;
10262 void const *__cil_tmp100 ;
10263 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp101 ;
10264 unsigned int __cil_tmp102 ;
10265 unsigned int __cil_tmp103 ;
10266 int __cil_tmp104 ;
10267 int __cil_tmp105 ;
10268 long __cil_tmp106 ;
10269 unsigned long __cil_tmp107 ;
10270 unsigned long __cil_tmp108 ;
10271 struct device *__cil_tmp109 ;
10272 struct device const *__cil_tmp110 ;
10273 unsigned long __cil_tmp111 ;
10274 unsigned long __cil_tmp112 ;
10275 unsigned char *__cil_tmp113 ;
10276 phys_addr_t __cil_tmp114 ;
10277 u32 __cil_tmp115 ;
10278 phys_addr_t __cil_tmp116 ;
10279 u64 __cil_tmp117 ;
10280 u32 __cil_tmp118 ;
10281 unsigned long __cil_tmp119 ;
10282 unsigned long __cil_tmp120 ;
10283 unsigned int __cil_tmp121 ;
10284 unsigned long __cil_tmp122 ;
10285 unsigned long __cil_tmp123 ;
10286 unsigned long __cil_tmp124 ;
10287 unsigned long __cil_tmp125 ;
10288 unsigned long __cil_tmp126 ;
10289 unsigned long __cil_tmp127 ;
10290 unsigned long __cil_tmp128 ;
10291 unsigned long __cil_tmp129 ;
10292 struct mwifiex_pcie_buf_desc *__cil_tmp130 ;
10293 unsigned long __cil_tmp131 ;
10294 unsigned long __cil_tmp132 ;
10295 unsigned long __cil_tmp133 ;
10296 unsigned long __cil_tmp134 ;
10297 struct mwifiex_pcie_buf_desc *__cil_tmp135 ;
10298 unsigned long __cil_tmp136 ;
10299 unsigned long __cil_tmp137 ;
10300 unsigned long __cil_tmp138 ;
10301 unsigned long __cil_tmp139 ;
10302 unsigned int __cil_tmp140 ;
10303 unsigned long __cil_tmp141 ;
10304 unsigned long __cil_tmp142 ;
10305 unsigned long __cil_tmp143 ;
10306 unsigned long __cil_tmp144 ;
10307 struct mwifiex_pcie_buf_desc *__cil_tmp145 ;
10308 unsigned long __cil_tmp146 ;
10309 unsigned long __cil_tmp147 ;
10310
10311 {
10312#line 456
10313 __cil_tmp10 = (unsigned long )adapter;
10314#line 456
10315 __cil_tmp11 = __cil_tmp10 + 136;
10316#line 456
10317 __cil_tmp12 = *((void **)__cil_tmp11);
10318#line 456
10319 card = (struct pcie_service_card *)__cil_tmp12;
10320#line 466
10321 __cil_tmp13 = (unsigned long )card;
10322#line 466
10323 __cil_tmp14 = __cil_tmp13 + 560;
10324#line 466
10325 *((u32 *)__cil_tmp14) = (u32 )0;
10326#line 467
10327 __cil_tmp15 = (unsigned long )card;
10328#line 467
10329 __cil_tmp16 = __cil_tmp15 + 564;
10330#line 467
10331 __cil_tmp17 = 1UL << 7;
10332#line 467
10333 __cil_tmp18 = (unsigned long )card;
10334#line 467
10335 __cil_tmp19 = __cil_tmp18 + 564;
10336#line 467
10337 __cil_tmp20 = *((u32 *)__cil_tmp19);
10338#line 467
10339 __cil_tmp21 = (unsigned long )__cil_tmp20;
10340#line 467
10341 __cil_tmp22 = __cil_tmp21 | __cil_tmp17;
10342#line 467
10343 *((u32 *)__cil_tmp16) = (u32 )__cil_tmp22;
10344#line 469
10345 __cil_tmp23 = (unsigned long )card;
10346#line 469
10347 __cil_tmp24 = __cil_tmp23 + 568;
10348#line 469
10349 __cil_tmp25 = 12UL * 32UL;
10350#line 469
10351 *((u32 *)__cil_tmp24) = (u32 )__cil_tmp25;
10352 {
10353#line 471
10354 while (1) {
10355 while_continue: ;
10356 {
10357#line 471
10358 while (1) {
10359 while_continue___0: ;
10360 {
10361#line 471
10362 __cil_tmp26 = & descriptor___7;
10363#line 471
10364 __cil_tmp27 = __cil_tmp26->flags;
10365#line 471
10366 __cil_tmp28 = __cil_tmp27 & 1U;
10367#line 471
10368 __cil_tmp29 = ! __cil_tmp28;
10369#line 471
10370 __cil_tmp30 = ! __cil_tmp29;
10371#line 471
10372 __cil_tmp31 = (long )__cil_tmp30;
10373#line 471
10374 tmp___7 = __builtin_expect(__cil_tmp31, 0L);
10375 }
10376#line 471
10377 if (tmp___7) {
10378 {
10379#line 471
10380 __cil_tmp32 = (unsigned long )adapter;
10381#line 471
10382 __cil_tmp33 = __cil_tmp32 + 72;
10383#line 471
10384 __cil_tmp34 = *((struct device **)__cil_tmp33);
10385#line 471
10386 __cil_tmp35 = (struct device const *)__cil_tmp34;
10387#line 471
10388 __cil_tmp36 = (unsigned long )card;
10389#line 471
10390 __cil_tmp37 = __cil_tmp36 + 568;
10391#line 471
10392 __cil_tmp38 = *((u32 *)__cil_tmp37);
10393#line 471
10394 __dynamic_dev_dbg(& descriptor___7, __cil_tmp35, "info: rxbd_ring: Allocating %d bytes\n",
10395 __cil_tmp38);
10396 }
10397 } else {
10398
10399 }
10400#line 471
10401 goto while_break___0;
10402 }
10403 while_break___0: ;
10404 }
10405#line 471
10406 goto while_break;
10407 }
10408 while_break: ;
10409 }
10410 {
10411#line 473
10412 __cil_tmp39 = (unsigned long )card;
10413#line 473
10414 __cil_tmp40 = __cil_tmp39 + 568;
10415#line 473
10416 __cil_tmp41 = *((u32 *)__cil_tmp40);
10417#line 473
10418 __cil_tmp42 = (size_t )__cil_tmp41;
10419#line 473
10420 tmp___8 = kzalloc(__cil_tmp42, 208U);
10421#line 473
10422 __cil_tmp43 = (unsigned long )card;
10423#line 473
10424 __cil_tmp44 = __cil_tmp43 + 576;
10425#line 473
10426 *((u8 **)__cil_tmp44) = (u8 *)tmp___8;
10427 }
10428 {
10429#line 474
10430 __cil_tmp45 = (unsigned long )card;
10431#line 474
10432 __cil_tmp46 = __cil_tmp45 + 576;
10433#line 474
10434 __cil_tmp47 = *((u8 **)__cil_tmp46);
10435#line 474
10436 if (! __cil_tmp47) {
10437 {
10438#line 475
10439 __cil_tmp48 = (unsigned long )adapter;
10440#line 475
10441 __cil_tmp49 = __cil_tmp48 + 72;
10442#line 475
10443 __cil_tmp50 = *((struct device **)__cil_tmp49);
10444#line 475
10445 __cil_tmp51 = (struct device const *)__cil_tmp50;
10446#line 475
10447 dev_err(__cil_tmp51, "Unable to allocate buffer for rxbd_ring.\n");
10448 }
10449#line 477
10450 return (-12);
10451 } else {
10452
10453 }
10454 }
10455 {
10456#line 479
10457 __cil_tmp52 = (unsigned long )card;
10458#line 479
10459 __cil_tmp53 = __cil_tmp52 + 584;
10460#line 479
10461 __cil_tmp54 = (unsigned long )card;
10462#line 479
10463 __cil_tmp55 = __cil_tmp54 + 576;
10464#line 479
10465 __cil_tmp56 = *((u8 **)__cil_tmp55);
10466#line 479
10467 __cil_tmp57 = (void volatile *)__cil_tmp56;
10468#line 479
10469 *((phys_addr_t *)__cil_tmp53) = virt_to_phys(__cil_tmp57);
10470 }
10471 {
10472#line 481
10473 while (1) {
10474 while_continue___1: ;
10475 {
10476#line 481
10477 while (1) {
10478 while_continue___2: ;
10479 {
10480#line 481
10481 __cil_tmp58 = & descriptor___8;
10482#line 481
10483 __cil_tmp59 = __cil_tmp58->flags;
10484#line 481
10485 __cil_tmp60 = __cil_tmp59 & 1U;
10486#line 481
10487 __cil_tmp61 = ! __cil_tmp60;
10488#line 481
10489 __cil_tmp62 = ! __cil_tmp61;
10490#line 481
10491 __cil_tmp63 = (long )__cil_tmp62;
10492#line 481
10493 tmp___9 = __builtin_expect(__cil_tmp63, 0L);
10494 }
10495#line 481
10496 if (tmp___9) {
10497 {
10498#line 481
10499 __cil_tmp64 = (unsigned long )adapter;
10500#line 481
10501 __cil_tmp65 = __cil_tmp64 + 72;
10502#line 481
10503 __cil_tmp66 = *((struct device **)__cil_tmp65);
10504#line 481
10505 __cil_tmp67 = (struct device const *)__cil_tmp66;
10506#line 481
10507 __cil_tmp68 = (unsigned long )card;
10508#line 481
10509 __cil_tmp69 = __cil_tmp68 + 576;
10510#line 481
10511 __cil_tmp70 = *((u8 **)__cil_tmp69);
10512#line 481
10513 __cil_tmp71 = (unsigned long )card;
10514#line 481
10515 __cil_tmp72 = __cil_tmp71 + 584;
10516#line 481
10517 __cil_tmp73 = *((phys_addr_t *)__cil_tmp72);
10518#line 481
10519 __cil_tmp74 = (u32 )__cil_tmp73;
10520#line 481
10521 __cil_tmp75 = (unsigned long )card;
10522#line 481
10523 __cil_tmp76 = __cil_tmp75 + 584;
10524#line 481
10525 __cil_tmp77 = *((phys_addr_t *)__cil_tmp76);
10526#line 481
10527 __cil_tmp78 = __cil_tmp77 >> 32;
10528#line 481
10529 __cil_tmp79 = (u32 )__cil_tmp78;
10530#line 481
10531 __cil_tmp80 = (unsigned long )card;
10532#line 481
10533 __cil_tmp81 = __cil_tmp80 + 568;
10534#line 481
10535 __cil_tmp82 = *((u32 *)__cil_tmp81);
10536#line 481
10537 __dynamic_dev_dbg(& descriptor___8, __cil_tmp67, "info: rxbd_ring - base: %p, pbase: %#x:%x, len: %#x\n",
10538 __cil_tmp70, __cil_tmp74, __cil_tmp79, __cil_tmp82);
10539 }
10540 } else {
10541
10542 }
10543#line 481
10544 goto while_break___2;
10545 }
10546 while_break___2: ;
10547 }
10548#line 481
10549 goto while_break___1;
10550 }
10551 while_break___1: ;
10552 }
10553#line 487
10554 i = 0;
10555 {
10556#line 487
10557 while (1) {
10558 while_continue___3: ;
10559#line 487
10560 if (i < 32) {
10561
10562 } else {
10563#line 487
10564 goto while_break___3;
10565 }
10566 {
10567#line 488
10568 __cil_tmp83 = i * 8UL;
10569#line 488
10570 __cil_tmp84 = 592 + __cil_tmp83;
10571#line 488
10572 __cil_tmp85 = (unsigned long )card;
10573#line 488
10574 __cil_tmp86 = __cil_tmp85 + __cil_tmp84;
10575#line 488
10576 __cil_tmp87 = (unsigned long )i;
10577#line 488
10578 __cil_tmp88 = 12UL * __cil_tmp87;
10579#line 488
10580 __cil_tmp89 = (unsigned long )card;
10581#line 488
10582 __cil_tmp90 = __cil_tmp89 + 576;
10583#line 488
10584 __cil_tmp91 = *((u8 **)__cil_tmp90);
10585#line 488
10586 __cil_tmp92 = __cil_tmp91 + __cil_tmp88;
10587#line 488
10588 *((struct mwifiex_pcie_buf_desc **)__cil_tmp86) = (struct mwifiex_pcie_buf_desc *)__cil_tmp92;
10589#line 494
10590 skb = dev_alloc_skb(4096U);
10591 }
10592#line 495
10593 if (! skb) {
10594 {
10595#line 496
10596 __cil_tmp93 = (unsigned long )adapter;
10597#line 496
10598 __cil_tmp94 = __cil_tmp93 + 72;
10599#line 496
10600 __cil_tmp95 = *((struct device **)__cil_tmp94);
10601#line 496
10602 __cil_tmp96 = (struct device const *)__cil_tmp95;
10603#line 496
10604 dev_err(__cil_tmp96, "Unable to allocate skb for RX ring.\n");
10605#line 498
10606 __cil_tmp97 = (unsigned long )card;
10607#line 498
10608 __cil_tmp98 = __cil_tmp97 + 576;
10609#line 498
10610 __cil_tmp99 = *((u8 **)__cil_tmp98);
10611#line 498
10612 __cil_tmp100 = (void const *)__cil_tmp99;
10613#line 498
10614 kfree(__cil_tmp100);
10615 }
10616#line 499
10617 return (-12);
10618 } else {
10619
10620 }
10621 {
10622#line 501
10623 buf_pa = mwifiex_update_sk_buff_pa(skb);
10624#line 502
10625 skb_put(skb, 4096U);
10626 }
10627 {
10628#line 504
10629 while (1) {
10630 while_continue___4: ;
10631 {
10632#line 504
10633 while (1) {
10634 while_continue___5: ;
10635 {
10636#line 504
10637 __cil_tmp101 = & descriptor___9;
10638#line 504
10639 __cil_tmp102 = __cil_tmp101->flags;
10640#line 504
10641 __cil_tmp103 = __cil_tmp102 & 1U;
10642#line 504
10643 __cil_tmp104 = ! __cil_tmp103;
10644#line 504
10645 __cil_tmp105 = ! __cil_tmp104;
10646#line 504
10647 __cil_tmp106 = (long )__cil_tmp105;
10648#line 504
10649 tmp___10 = __builtin_expect(__cil_tmp106, 0L);
10650 }
10651#line 504
10652 if (tmp___10) {
10653 {
10654#line 504
10655 __cil_tmp107 = (unsigned long )adapter;
10656#line 504
10657 __cil_tmp108 = __cil_tmp107 + 72;
10658#line 504
10659 __cil_tmp109 = *((struct device **)__cil_tmp108);
10660#line 504
10661 __cil_tmp110 = (struct device const *)__cil_tmp109;
10662#line 504
10663 __cil_tmp111 = (unsigned long )skb;
10664#line 504
10665 __cil_tmp112 = __cil_tmp111 + 224;
10666#line 504
10667 __cil_tmp113 = *((unsigned char **)__cil_tmp112);
10668#line 504
10669 __cil_tmp114 = *buf_pa;
10670#line 504
10671 __cil_tmp115 = (u32 )__cil_tmp114;
10672#line 504
10673 __cil_tmp116 = *buf_pa;
10674#line 504
10675 __cil_tmp117 = __cil_tmp116 >> 32;
10676#line 504
10677 __cil_tmp118 = (u32 )__cil_tmp117;
10678#line 504
10679 __cil_tmp119 = (unsigned long )skb;
10680#line 504
10681 __cil_tmp120 = __cil_tmp119 + 104;
10682#line 504
10683 __cil_tmp121 = *((unsigned int *)__cil_tmp120);
10684#line 504
10685 __dynamic_dev_dbg(& descriptor___9, __cil_tmp110, "info: RX ring: add new skb base: %p, buf_base: %p, buf_pbase: %#x:%x, buf_len: %#x\n",
10686 skb, __cil_tmp113, __cil_tmp115, __cil_tmp118, __cil_tmp121);
10687 }
10688 } else {
10689
10690 }
10691#line 504
10692 goto while_break___5;
10693 }
10694 while_break___5: ;
10695 }
10696#line 504
10697 goto while_break___4;
10698 }
10699 while_break___4: ;
10700 }
10701#line 509
10702 __cil_tmp122 = i * 8UL;
10703#line 509
10704 __cil_tmp123 = 848 + __cil_tmp122;
10705#line 509
10706 __cil_tmp124 = (unsigned long )card;
10707#line 509
10708 __cil_tmp125 = __cil_tmp124 + __cil_tmp123;
10709#line 509
10710 *((struct sk_buff **)__cil_tmp125) = skb;
10711#line 510
10712 __cil_tmp126 = i * 8UL;
10713#line 510
10714 __cil_tmp127 = 592 + __cil_tmp126;
10715#line 510
10716 __cil_tmp128 = (unsigned long )card;
10717#line 510
10718 __cil_tmp129 = __cil_tmp128 + __cil_tmp127;
10719#line 510
10720 __cil_tmp130 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp129);
10721#line 510
10722 *((u64 *)__cil_tmp130) = *buf_pa;
10723#line 511
10724 __cil_tmp131 = i * 8UL;
10725#line 511
10726 __cil_tmp132 = 592 + __cil_tmp131;
10727#line 511
10728 __cil_tmp133 = (unsigned long )card;
10729#line 511
10730 __cil_tmp134 = __cil_tmp133 + __cil_tmp132;
10731#line 511
10732 __cil_tmp135 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp134);
10733#line 511
10734 __cil_tmp136 = (unsigned long )__cil_tmp135;
10735#line 511
10736 __cil_tmp137 = __cil_tmp136 + 8;
10737#line 511
10738 __cil_tmp138 = (unsigned long )skb;
10739#line 511
10740 __cil_tmp139 = __cil_tmp138 + 104;
10741#line 511
10742 __cil_tmp140 = *((unsigned int *)__cil_tmp139);
10743#line 511
10744 *((u16 *)__cil_tmp137) = (u16 )__cil_tmp140;
10745#line 512
10746 __cil_tmp141 = i * 8UL;
10747#line 512
10748 __cil_tmp142 = 592 + __cil_tmp141;
10749#line 512
10750 __cil_tmp143 = (unsigned long )card;
10751#line 512
10752 __cil_tmp144 = __cil_tmp143 + __cil_tmp142;
10753#line 512
10754 __cil_tmp145 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp144);
10755#line 512
10756 __cil_tmp146 = (unsigned long )__cil_tmp145;
10757#line 512
10758 __cil_tmp147 = __cil_tmp146 + 10;
10759#line 512
10760 *((u16 *)__cil_tmp147) = (u16 )0;
10761#line 487
10762 i = i + 1;
10763 }
10764 while_break___3: ;
10765 }
10766#line 515
10767 return (0);
10768}
10769}
10770#line 521 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
10771static int mwifiex_pcie_delete_rxbd_ring(struct mwifiex_adapter *adapter )
10772{ struct pcie_service_card *card ;
10773 int i ;
10774 unsigned long __cil_tmp4 ;
10775 unsigned long __cil_tmp5 ;
10776 void *__cil_tmp6 ;
10777 unsigned long __cil_tmp7 ;
10778 unsigned long __cil_tmp8 ;
10779 unsigned long __cil_tmp9 ;
10780 unsigned long __cil_tmp10 ;
10781 unsigned long __cil_tmp11 ;
10782 unsigned long __cil_tmp12 ;
10783 unsigned long __cil_tmp13 ;
10784 unsigned long __cil_tmp14 ;
10785 struct sk_buff *__cil_tmp15 ;
10786 unsigned long __cil_tmp16 ;
10787 unsigned long __cil_tmp17 ;
10788 unsigned long __cil_tmp18 ;
10789 unsigned long __cil_tmp19 ;
10790 void *__cil_tmp20 ;
10791 unsigned long __cil_tmp21 ;
10792 unsigned long __cil_tmp22 ;
10793 unsigned long __cil_tmp23 ;
10794 unsigned long __cil_tmp24 ;
10795 struct mwifiex_pcie_buf_desc *__cil_tmp25 ;
10796 unsigned long __cil_tmp26 ;
10797 unsigned long __cil_tmp27 ;
10798 unsigned long __cil_tmp28 ;
10799 unsigned long __cil_tmp29 ;
10800 struct mwifiex_pcie_buf_desc *__cil_tmp30 ;
10801 unsigned long __cil_tmp31 ;
10802 unsigned long __cil_tmp32 ;
10803 unsigned long __cil_tmp33 ;
10804 unsigned long __cil_tmp34 ;
10805 unsigned long __cil_tmp35 ;
10806 unsigned long __cil_tmp36 ;
10807 struct mwifiex_pcie_buf_desc *__cil_tmp37 ;
10808 unsigned long __cil_tmp38 ;
10809 unsigned long __cil_tmp39 ;
10810 unsigned long __cil_tmp40 ;
10811 unsigned long __cil_tmp41 ;
10812 unsigned long __cil_tmp42 ;
10813 unsigned long __cil_tmp43 ;
10814 void *__cil_tmp44 ;
10815 unsigned long __cil_tmp45 ;
10816 unsigned long __cil_tmp46 ;
10817 u8 *__cil_tmp47 ;
10818 void const *__cil_tmp48 ;
10819 unsigned long __cil_tmp49 ;
10820 unsigned long __cil_tmp50 ;
10821 unsigned long __cil_tmp51 ;
10822 unsigned long __cil_tmp52 ;
10823 unsigned long __cil_tmp53 ;
10824 unsigned long __cil_tmp54 ;
10825 unsigned long __cil_tmp55 ;
10826 unsigned long __cil_tmp56 ;
10827 unsigned long __cil_tmp57 ;
10828 void *__cil_tmp58 ;
10829
10830 {
10831#line 523
10832 __cil_tmp4 = (unsigned long )adapter;
10833#line 523
10834 __cil_tmp5 = __cil_tmp4 + 136;
10835#line 523
10836 __cil_tmp6 = *((void **)__cil_tmp5);
10837#line 523
10838 card = (struct pcie_service_card *)__cil_tmp6;
10839#line 526
10840 i = 0;
10841 {
10842#line 526
10843 while (1) {
10844 while_continue: ;
10845#line 526
10846 if (i < 32) {
10847
10848 } else {
10849#line 526
10850 goto while_break;
10851 }
10852 {
10853#line 527
10854 __cil_tmp7 = i * 8UL;
10855#line 527
10856 __cil_tmp8 = 848 + __cil_tmp7;
10857#line 527
10858 __cil_tmp9 = (unsigned long )card;
10859#line 527
10860 __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
10861#line 527
10862 if (*((struct sk_buff **)__cil_tmp10)) {
10863 {
10864#line 528
10865 __cil_tmp11 = i * 8UL;
10866#line 528
10867 __cil_tmp12 = 848 + __cil_tmp11;
10868#line 528
10869 __cil_tmp13 = (unsigned long )card;
10870#line 528
10871 __cil_tmp14 = __cil_tmp13 + __cil_tmp12;
10872#line 528
10873 __cil_tmp15 = *((struct sk_buff **)__cil_tmp14);
10874#line 528
10875 dev_kfree_skb_any(__cil_tmp15);
10876 }
10877 } else {
10878
10879 }
10880 }
10881#line 529
10882 __cil_tmp16 = i * 8UL;
10883#line 529
10884 __cil_tmp17 = 848 + __cil_tmp16;
10885#line 529
10886 __cil_tmp18 = (unsigned long )card;
10887#line 529
10888 __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
10889#line 529
10890 __cil_tmp20 = (void *)0;
10891#line 529
10892 *((struct sk_buff **)__cil_tmp19) = (struct sk_buff *)__cil_tmp20;
10893#line 530
10894 __cil_tmp21 = i * 8UL;
10895#line 530
10896 __cil_tmp22 = 592 + __cil_tmp21;
10897#line 530
10898 __cil_tmp23 = (unsigned long )card;
10899#line 530
10900 __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
10901#line 530
10902 __cil_tmp25 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp24);
10903#line 530
10904 *((u64 *)__cil_tmp25) = (u64 )0;
10905#line 531
10906 __cil_tmp26 = i * 8UL;
10907#line 531
10908 __cil_tmp27 = 592 + __cil_tmp26;
10909#line 531
10910 __cil_tmp28 = (unsigned long )card;
10911#line 531
10912 __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
10913#line 531
10914 __cil_tmp30 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp29);
10915#line 531
10916 __cil_tmp31 = (unsigned long )__cil_tmp30;
10917#line 531
10918 __cil_tmp32 = __cil_tmp31 + 8;
10919#line 531
10920 *((u16 *)__cil_tmp32) = (u16 )0;
10921#line 532
10922 __cil_tmp33 = i * 8UL;
10923#line 532
10924 __cil_tmp34 = 592 + __cil_tmp33;
10925#line 532
10926 __cil_tmp35 = (unsigned long )card;
10927#line 532
10928 __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
10929#line 532
10930 __cil_tmp37 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp36);
10931#line 532
10932 __cil_tmp38 = (unsigned long )__cil_tmp37;
10933#line 532
10934 __cil_tmp39 = __cil_tmp38 + 10;
10935#line 532
10936 *((u16 *)__cil_tmp39) = (u16 )0;
10937#line 533
10938 __cil_tmp40 = i * 8UL;
10939#line 533
10940 __cil_tmp41 = 592 + __cil_tmp40;
10941#line 533
10942 __cil_tmp42 = (unsigned long )card;
10943#line 533
10944 __cil_tmp43 = __cil_tmp42 + __cil_tmp41;
10945#line 533
10946 __cil_tmp44 = (void *)0;
10947#line 533
10948 *((struct mwifiex_pcie_buf_desc **)__cil_tmp43) = (struct mwifiex_pcie_buf_desc *)__cil_tmp44;
10949#line 526
10950 i = i + 1;
10951 }
10952 while_break: ;
10953 }
10954 {
10955#line 536
10956 __cil_tmp45 = (unsigned long )card;
10957#line 536
10958 __cil_tmp46 = __cil_tmp45 + 576;
10959#line 536
10960 __cil_tmp47 = *((u8 **)__cil_tmp46);
10961#line 536
10962 __cil_tmp48 = (void const *)__cil_tmp47;
10963#line 536
10964 kfree(__cil_tmp48);
10965#line 537
10966 __cil_tmp49 = (unsigned long )card;
10967#line 537
10968 __cil_tmp50 = __cil_tmp49 + 568;
10969#line 537
10970 *((u32 *)__cil_tmp50) = (u32 )0;
10971#line 538
10972 __cil_tmp51 = (unsigned long )card;
10973#line 538
10974 __cil_tmp52 = __cil_tmp51 + 560;
10975#line 538
10976 *((u32 *)__cil_tmp52) = (u32 )0;
10977#line 539
10978 __cil_tmp53 = (unsigned long )card;
10979#line 539
10980 __cil_tmp54 = __cil_tmp53 + 564;
10981#line 539
10982 __cil_tmp55 = 1UL << 7;
10983#line 539
10984 *((u32 *)__cil_tmp54) = (u32 )__cil_tmp55;
10985#line 540
10986 __cil_tmp56 = (unsigned long )card;
10987#line 540
10988 __cil_tmp57 = __cil_tmp56 + 576;
10989#line 540
10990 __cil_tmp58 = (void *)0;
10991#line 540
10992 *((u8 **)__cil_tmp57) = (u8 *)__cil_tmp58;
10993 }
10994#line 542
10995 return (0);
10996}
10997}
10998#line 565
10999static int mwifiex_pcie_create_evtbd_ring(struct mwifiex_adapter *adapter ) ;
11000#line 565 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
11001static struct _ddebug __attribute__((__aligned__(8))) descriptor___10 __attribute__((__used__,
11002__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_create_evtbd_ring", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
11003 "info: evtbd_ring: Allocating %d bytes\n", 566U, 0U};
11004#line 575
11005static int mwifiex_pcie_create_evtbd_ring(struct mwifiex_adapter *adapter ) ;
11006#line 575 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
11007static struct _ddebug __attribute__((__aligned__(8))) descriptor___11 __attribute__((__used__,
11008__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_create_evtbd_ring", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
11009 "info: CMDRSP/EVT bd_ring - base: %p pbase: %#x:%x len: %#x\n", 579U, 0U};
11010#line 598
11011static int mwifiex_pcie_create_evtbd_ring(struct mwifiex_adapter *adapter ) ;
11012#line 598 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
11013static struct _ddebug __attribute__((__aligned__(8))) descriptor___12 __attribute__((__used__,
11014__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_create_evtbd_ring", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
11015 "info: Evt ring: add new skb. base: %p, buf_base: %p, buf_pbase: %#x:%x, buf_len: %#x\n",
11016 601U, 0U};
11017#line 548 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
11018static int mwifiex_pcie_create_evtbd_ring(struct mwifiex_adapter *adapter )
11019{ struct pcie_service_card *card ;
11020 struct sk_buff *skb ;
11021 int i ;
11022 phys_addr_t *buf_pa ;
11023 long tmp___7 ;
11024 void *tmp___8 ;
11025 long tmp___9 ;
11026 long tmp___10 ;
11027 unsigned long __cil_tmp10 ;
11028 unsigned long __cil_tmp11 ;
11029 void *__cil_tmp12 ;
11030 unsigned long __cil_tmp13 ;
11031 unsigned long __cil_tmp14 ;
11032 unsigned long __cil_tmp15 ;
11033 unsigned long __cil_tmp16 ;
11034 unsigned long __cil_tmp17 ;
11035 unsigned long __cil_tmp18 ;
11036 unsigned long __cil_tmp19 ;
11037 u32 __cil_tmp20 ;
11038 unsigned long __cil_tmp21 ;
11039 unsigned long __cil_tmp22 ;
11040 unsigned long __cil_tmp23 ;
11041 unsigned long __cil_tmp24 ;
11042 unsigned long __cil_tmp25 ;
11043 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp26 ;
11044 unsigned int __cil_tmp27 ;
11045 unsigned int __cil_tmp28 ;
11046 int __cil_tmp29 ;
11047 int __cil_tmp30 ;
11048 long __cil_tmp31 ;
11049 unsigned long __cil_tmp32 ;
11050 unsigned long __cil_tmp33 ;
11051 struct device *__cil_tmp34 ;
11052 struct device const *__cil_tmp35 ;
11053 unsigned long __cil_tmp36 ;
11054 unsigned long __cil_tmp37 ;
11055 u32 __cil_tmp38 ;
11056 unsigned long __cil_tmp39 ;
11057 unsigned long __cil_tmp40 ;
11058 u32 __cil_tmp41 ;
11059 size_t __cil_tmp42 ;
11060 unsigned long __cil_tmp43 ;
11061 unsigned long __cil_tmp44 ;
11062 unsigned long __cil_tmp45 ;
11063 unsigned long __cil_tmp46 ;
11064 u8 *__cil_tmp47 ;
11065 unsigned long __cil_tmp48 ;
11066 unsigned long __cil_tmp49 ;
11067 struct device *__cil_tmp50 ;
11068 struct device const *__cil_tmp51 ;
11069 unsigned long __cil_tmp52 ;
11070 unsigned long __cil_tmp53 ;
11071 unsigned long __cil_tmp54 ;
11072 unsigned long __cil_tmp55 ;
11073 u8 *__cil_tmp56 ;
11074 void volatile *__cil_tmp57 ;
11075 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp58 ;
11076 unsigned int __cil_tmp59 ;
11077 unsigned int __cil_tmp60 ;
11078 int __cil_tmp61 ;
11079 int __cil_tmp62 ;
11080 long __cil_tmp63 ;
11081 unsigned long __cil_tmp64 ;
11082 unsigned long __cil_tmp65 ;
11083 struct device *__cil_tmp66 ;
11084 struct device const *__cil_tmp67 ;
11085 unsigned long __cil_tmp68 ;
11086 unsigned long __cil_tmp69 ;
11087 u8 *__cil_tmp70 ;
11088 unsigned long __cil_tmp71 ;
11089 unsigned long __cil_tmp72 ;
11090 phys_addr_t __cil_tmp73 ;
11091 u32 __cil_tmp74 ;
11092 unsigned long __cil_tmp75 ;
11093 unsigned long __cil_tmp76 ;
11094 phys_addr_t __cil_tmp77 ;
11095 u64 __cil_tmp78 ;
11096 u32 __cil_tmp79 ;
11097 unsigned long __cil_tmp80 ;
11098 unsigned long __cil_tmp81 ;
11099 u32 __cil_tmp82 ;
11100 unsigned long __cil_tmp83 ;
11101 unsigned long __cil_tmp84 ;
11102 unsigned long __cil_tmp85 ;
11103 unsigned long __cil_tmp86 ;
11104 unsigned long __cil_tmp87 ;
11105 unsigned long __cil_tmp88 ;
11106 unsigned long __cil_tmp89 ;
11107 unsigned long __cil_tmp90 ;
11108 u8 *__cil_tmp91 ;
11109 u8 *__cil_tmp92 ;
11110 unsigned long __cil_tmp93 ;
11111 unsigned long __cil_tmp94 ;
11112 struct device *__cil_tmp95 ;
11113 struct device const *__cil_tmp96 ;
11114 unsigned long __cil_tmp97 ;
11115 unsigned long __cil_tmp98 ;
11116 u8 *__cil_tmp99 ;
11117 void const *__cil_tmp100 ;
11118 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp101 ;
11119 unsigned int __cil_tmp102 ;
11120 unsigned int __cil_tmp103 ;
11121 int __cil_tmp104 ;
11122 int __cil_tmp105 ;
11123 long __cil_tmp106 ;
11124 unsigned long __cil_tmp107 ;
11125 unsigned long __cil_tmp108 ;
11126 struct device *__cil_tmp109 ;
11127 struct device const *__cil_tmp110 ;
11128 unsigned long __cil_tmp111 ;
11129 unsigned long __cil_tmp112 ;
11130 unsigned char *__cil_tmp113 ;
11131 phys_addr_t __cil_tmp114 ;
11132 u32 __cil_tmp115 ;
11133 phys_addr_t __cil_tmp116 ;
11134 u64 __cil_tmp117 ;
11135 u32 __cil_tmp118 ;
11136 unsigned long __cil_tmp119 ;
11137 unsigned long __cil_tmp120 ;
11138 unsigned int __cil_tmp121 ;
11139 unsigned long __cil_tmp122 ;
11140 unsigned long __cil_tmp123 ;
11141 unsigned long __cil_tmp124 ;
11142 unsigned long __cil_tmp125 ;
11143 unsigned long __cil_tmp126 ;
11144 unsigned long __cil_tmp127 ;
11145 unsigned long __cil_tmp128 ;
11146 unsigned long __cil_tmp129 ;
11147 struct mwifiex_pcie_buf_desc *__cil_tmp130 ;
11148 unsigned long __cil_tmp131 ;
11149 unsigned long __cil_tmp132 ;
11150 unsigned long __cil_tmp133 ;
11151 unsigned long __cil_tmp134 ;
11152 struct mwifiex_pcie_buf_desc *__cil_tmp135 ;
11153 unsigned long __cil_tmp136 ;
11154 unsigned long __cil_tmp137 ;
11155 unsigned long __cil_tmp138 ;
11156 unsigned long __cil_tmp139 ;
11157 unsigned int __cil_tmp140 ;
11158 unsigned long __cil_tmp141 ;
11159 unsigned long __cil_tmp142 ;
11160 unsigned long __cil_tmp143 ;
11161 unsigned long __cil_tmp144 ;
11162 struct mwifiex_pcie_buf_desc *__cil_tmp145 ;
11163 unsigned long __cil_tmp146 ;
11164 unsigned long __cil_tmp147 ;
11165
11166 {
11167#line 550
11168 __cil_tmp10 = (unsigned long )adapter;
11169#line 550
11170 __cil_tmp11 = __cil_tmp10 + 136;
11171#line 550
11172 __cil_tmp12 = *((void **)__cil_tmp11);
11173#line 550
11174 card = (struct pcie_service_card *)__cil_tmp12;
11175#line 560
11176 __cil_tmp13 = (unsigned long )card;
11177#line 560
11178 __cil_tmp14 = __cil_tmp13 + 1104;
11179#line 560
11180 *((u32 *)__cil_tmp14) = (u32 )0;
11181#line 561
11182 __cil_tmp15 = (unsigned long )card;
11183#line 561
11184 __cil_tmp16 = __cil_tmp15 + 1108;
11185#line 561
11186 __cil_tmp17 = 1UL << 7;
11187#line 561
11188 __cil_tmp18 = (unsigned long )card;
11189#line 561
11190 __cil_tmp19 = __cil_tmp18 + 1108;
11191#line 561
11192 __cil_tmp20 = *((u32 *)__cil_tmp19);
11193#line 561
11194 __cil_tmp21 = (unsigned long )__cil_tmp20;
11195#line 561
11196 __cil_tmp22 = __cil_tmp21 | __cil_tmp17;
11197#line 561
11198 *((u32 *)__cil_tmp16) = (u32 )__cil_tmp22;
11199#line 563
11200 __cil_tmp23 = (unsigned long )card;
11201#line 563
11202 __cil_tmp24 = __cil_tmp23 + 1112;
11203#line 563
11204 __cil_tmp25 = 12UL * 4UL;
11205#line 563
11206 *((u32 *)__cil_tmp24) = (u32 )__cil_tmp25;
11207 {
11208#line 565
11209 while (1) {
11210 while_continue: ;
11211 {
11212#line 565
11213 while (1) {
11214 while_continue___0: ;
11215 {
11216#line 565
11217 __cil_tmp26 = & descriptor___10;
11218#line 565
11219 __cil_tmp27 = __cil_tmp26->flags;
11220#line 565
11221 __cil_tmp28 = __cil_tmp27 & 1U;
11222#line 565
11223 __cil_tmp29 = ! __cil_tmp28;
11224#line 565
11225 __cil_tmp30 = ! __cil_tmp29;
11226#line 565
11227 __cil_tmp31 = (long )__cil_tmp30;
11228#line 565
11229 tmp___7 = __builtin_expect(__cil_tmp31, 0L);
11230 }
11231#line 565
11232 if (tmp___7) {
11233 {
11234#line 565
11235 __cil_tmp32 = (unsigned long )adapter;
11236#line 565
11237 __cil_tmp33 = __cil_tmp32 + 72;
11238#line 565
11239 __cil_tmp34 = *((struct device **)__cil_tmp33);
11240#line 565
11241 __cil_tmp35 = (struct device const *)__cil_tmp34;
11242#line 565
11243 __cil_tmp36 = (unsigned long )card;
11244#line 565
11245 __cil_tmp37 = __cil_tmp36 + 1112;
11246#line 565
11247 __cil_tmp38 = *((u32 *)__cil_tmp37);
11248#line 565
11249 __dynamic_dev_dbg(& descriptor___10, __cil_tmp35, "info: evtbd_ring: Allocating %d bytes\n",
11250 __cil_tmp38);
11251 }
11252 } else {
11253
11254 }
11255#line 565
11256 goto while_break___0;
11257 }
11258 while_break___0: ;
11259 }
11260#line 565
11261 goto while_break;
11262 }
11263 while_break: ;
11264 }
11265 {
11266#line 567
11267 __cil_tmp39 = (unsigned long )card;
11268#line 567
11269 __cil_tmp40 = __cil_tmp39 + 1112;
11270#line 567
11271 __cil_tmp41 = *((u32 *)__cil_tmp40);
11272#line 567
11273 __cil_tmp42 = (size_t )__cil_tmp41;
11274#line 567
11275 tmp___8 = kzalloc(__cil_tmp42, 208U);
11276#line 567
11277 __cil_tmp43 = (unsigned long )card;
11278#line 567
11279 __cil_tmp44 = __cil_tmp43 + 1120;
11280#line 567
11281 *((u8 **)__cil_tmp44) = (u8 *)tmp___8;
11282 }
11283 {
11284#line 568
11285 __cil_tmp45 = (unsigned long )card;
11286#line 568
11287 __cil_tmp46 = __cil_tmp45 + 1120;
11288#line 568
11289 __cil_tmp47 = *((u8 **)__cil_tmp46);
11290#line 568
11291 if (! __cil_tmp47) {
11292 {
11293#line 569
11294 __cil_tmp48 = (unsigned long )adapter;
11295#line 569
11296 __cil_tmp49 = __cil_tmp48 + 72;
11297#line 569
11298 __cil_tmp50 = *((struct device **)__cil_tmp49);
11299#line 569
11300 __cil_tmp51 = (struct device const *)__cil_tmp50;
11301#line 569
11302 dev_err(__cil_tmp51, "Unable to allocate buffer. Terminating download\n");
11303 }
11304#line 571
11305 return (-12);
11306 } else {
11307
11308 }
11309 }
11310 {
11311#line 573
11312 __cil_tmp52 = (unsigned long )card;
11313#line 573
11314 __cil_tmp53 = __cil_tmp52 + 1128;
11315#line 573
11316 __cil_tmp54 = (unsigned long )card;
11317#line 573
11318 __cil_tmp55 = __cil_tmp54 + 1120;
11319#line 573
11320 __cil_tmp56 = *((u8 **)__cil_tmp55);
11321#line 573
11322 __cil_tmp57 = (void volatile *)__cil_tmp56;
11323#line 573
11324 *((phys_addr_t *)__cil_tmp53) = virt_to_phys(__cil_tmp57);
11325 }
11326 {
11327#line 575
11328 while (1) {
11329 while_continue___1: ;
11330 {
11331#line 575
11332 while (1) {
11333 while_continue___2: ;
11334 {
11335#line 575
11336 __cil_tmp58 = & descriptor___11;
11337#line 575
11338 __cil_tmp59 = __cil_tmp58->flags;
11339#line 575
11340 __cil_tmp60 = __cil_tmp59 & 1U;
11341#line 575
11342 __cil_tmp61 = ! __cil_tmp60;
11343#line 575
11344 __cil_tmp62 = ! __cil_tmp61;
11345#line 575
11346 __cil_tmp63 = (long )__cil_tmp62;
11347#line 575
11348 tmp___9 = __builtin_expect(__cil_tmp63, 0L);
11349 }
11350#line 575
11351 if (tmp___9) {
11352 {
11353#line 575
11354 __cil_tmp64 = (unsigned long )adapter;
11355#line 575
11356 __cil_tmp65 = __cil_tmp64 + 72;
11357#line 575
11358 __cil_tmp66 = *((struct device **)__cil_tmp65);
11359#line 575
11360 __cil_tmp67 = (struct device const *)__cil_tmp66;
11361#line 575
11362 __cil_tmp68 = (unsigned long )card;
11363#line 575
11364 __cil_tmp69 = __cil_tmp68 + 1120;
11365#line 575
11366 __cil_tmp70 = *((u8 **)__cil_tmp69);
11367#line 575
11368 __cil_tmp71 = (unsigned long )card;
11369#line 575
11370 __cil_tmp72 = __cil_tmp71 + 1128;
11371#line 575
11372 __cil_tmp73 = *((phys_addr_t *)__cil_tmp72);
11373#line 575
11374 __cil_tmp74 = (u32 )__cil_tmp73;
11375#line 575
11376 __cil_tmp75 = (unsigned long )card;
11377#line 575
11378 __cil_tmp76 = __cil_tmp75 + 1128;
11379#line 575
11380 __cil_tmp77 = *((phys_addr_t *)__cil_tmp76);
11381#line 575
11382 __cil_tmp78 = __cil_tmp77 >> 32;
11383#line 575
11384 __cil_tmp79 = (u32 )__cil_tmp78;
11385#line 575
11386 __cil_tmp80 = (unsigned long )card;
11387#line 575
11388 __cil_tmp81 = __cil_tmp80 + 1112;
11389#line 575
11390 __cil_tmp82 = *((u32 *)__cil_tmp81);
11391#line 575
11392 __dynamic_dev_dbg(& descriptor___11, __cil_tmp67, "info: CMDRSP/EVT bd_ring - base: %p pbase: %#x:%x len: %#x\n",
11393 __cil_tmp70, __cil_tmp74, __cil_tmp79, __cil_tmp82);
11394 }
11395 } else {
11396
11397 }
11398#line 575
11399 goto while_break___2;
11400 }
11401 while_break___2: ;
11402 }
11403#line 575
11404 goto while_break___1;
11405 }
11406 while_break___1: ;
11407 }
11408#line 581
11409 i = 0;
11410 {
11411#line 581
11412 while (1) {
11413 while_continue___3: ;
11414#line 581
11415 if (i < 4) {
11416
11417 } else {
11418#line 581
11419 goto while_break___3;
11420 }
11421 {
11422#line 582
11423 __cil_tmp83 = i * 8UL;
11424#line 582
11425 __cil_tmp84 = 1136 + __cil_tmp83;
11426#line 582
11427 __cil_tmp85 = (unsigned long )card;
11428#line 582
11429 __cil_tmp86 = __cil_tmp85 + __cil_tmp84;
11430#line 582
11431 __cil_tmp87 = (unsigned long )i;
11432#line 582
11433 __cil_tmp88 = 12UL * __cil_tmp87;
11434#line 582
11435 __cil_tmp89 = (unsigned long )card;
11436#line 582
11437 __cil_tmp90 = __cil_tmp89 + 1120;
11438#line 582
11439 __cil_tmp91 = *((u8 **)__cil_tmp90);
11440#line 582
11441 __cil_tmp92 = __cil_tmp91 + __cil_tmp88;
11442#line 582
11443 *((struct mwifiex_pcie_buf_desc **)__cil_tmp86) = (struct mwifiex_pcie_buf_desc *)__cil_tmp92;
11444#line 588
11445 skb = dev_alloc_skb(1024U);
11446 }
11447#line 589
11448 if (! skb) {
11449 {
11450#line 590
11451 __cil_tmp93 = (unsigned long )adapter;
11452#line 590
11453 __cil_tmp94 = __cil_tmp93 + 72;
11454#line 590
11455 __cil_tmp95 = *((struct device **)__cil_tmp94);
11456#line 590
11457 __cil_tmp96 = (struct device const *)__cil_tmp95;
11458#line 590
11459 dev_err(__cil_tmp96, "Unable to allocate skb for EVENT buf.\n");
11460#line 592
11461 __cil_tmp97 = (unsigned long )card;
11462#line 592
11463 __cil_tmp98 = __cil_tmp97 + 1120;
11464#line 592
11465 __cil_tmp99 = *((u8 **)__cil_tmp98);
11466#line 592
11467 __cil_tmp100 = (void const *)__cil_tmp99;
11468#line 592
11469 kfree(__cil_tmp100);
11470 }
11471#line 593
11472 return (-12);
11473 } else {
11474
11475 }
11476 {
11477#line 595
11478 buf_pa = mwifiex_update_sk_buff_pa(skb);
11479#line 596
11480 skb_put(skb, 1024U);
11481 }
11482 {
11483#line 598
11484 while (1) {
11485 while_continue___4: ;
11486 {
11487#line 598
11488 while (1) {
11489 while_continue___5: ;
11490 {
11491#line 598
11492 __cil_tmp101 = & descriptor___12;
11493#line 598
11494 __cil_tmp102 = __cil_tmp101->flags;
11495#line 598
11496 __cil_tmp103 = __cil_tmp102 & 1U;
11497#line 598
11498 __cil_tmp104 = ! __cil_tmp103;
11499#line 598
11500 __cil_tmp105 = ! __cil_tmp104;
11501#line 598
11502 __cil_tmp106 = (long )__cil_tmp105;
11503#line 598
11504 tmp___10 = __builtin_expect(__cil_tmp106, 0L);
11505 }
11506#line 598
11507 if (tmp___10) {
11508 {
11509#line 598
11510 __cil_tmp107 = (unsigned long )adapter;
11511#line 598
11512 __cil_tmp108 = __cil_tmp107 + 72;
11513#line 598
11514 __cil_tmp109 = *((struct device **)__cil_tmp108);
11515#line 598
11516 __cil_tmp110 = (struct device const *)__cil_tmp109;
11517#line 598
11518 __cil_tmp111 = (unsigned long )skb;
11519#line 598
11520 __cil_tmp112 = __cil_tmp111 + 224;
11521#line 598
11522 __cil_tmp113 = *((unsigned char **)__cil_tmp112);
11523#line 598
11524 __cil_tmp114 = *buf_pa;
11525#line 598
11526 __cil_tmp115 = (u32 )__cil_tmp114;
11527#line 598
11528 __cil_tmp116 = *buf_pa;
11529#line 598
11530 __cil_tmp117 = __cil_tmp116 >> 32;
11531#line 598
11532 __cil_tmp118 = (u32 )__cil_tmp117;
11533#line 598
11534 __cil_tmp119 = (unsigned long )skb;
11535#line 598
11536 __cil_tmp120 = __cil_tmp119 + 104;
11537#line 598
11538 __cil_tmp121 = *((unsigned int *)__cil_tmp120);
11539#line 598
11540 __dynamic_dev_dbg(& descriptor___12, __cil_tmp110, "info: Evt ring: add new skb. base: %p, buf_base: %p, buf_pbase: %#x:%x, buf_len: %#x\n",
11541 skb, __cil_tmp113, __cil_tmp115, __cil_tmp118, __cil_tmp121);
11542 }
11543 } else {
11544
11545 }
11546#line 598
11547 goto while_break___5;
11548 }
11549 while_break___5: ;
11550 }
11551#line 598
11552 goto while_break___4;
11553 }
11554 while_break___4: ;
11555 }
11556#line 603
11557 __cil_tmp122 = i * 8UL;
11558#line 603
11559 __cil_tmp123 = 1168 + __cil_tmp122;
11560#line 603
11561 __cil_tmp124 = (unsigned long )card;
11562#line 603
11563 __cil_tmp125 = __cil_tmp124 + __cil_tmp123;
11564#line 603
11565 *((struct sk_buff **)__cil_tmp125) = skb;
11566#line 604
11567 __cil_tmp126 = i * 8UL;
11568#line 604
11569 __cil_tmp127 = 1136 + __cil_tmp126;
11570#line 604
11571 __cil_tmp128 = (unsigned long )card;
11572#line 604
11573 __cil_tmp129 = __cil_tmp128 + __cil_tmp127;
11574#line 604
11575 __cil_tmp130 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp129);
11576#line 604
11577 *((u64 *)__cil_tmp130) = *buf_pa;
11578#line 605
11579 __cil_tmp131 = i * 8UL;
11580#line 605
11581 __cil_tmp132 = 1136 + __cil_tmp131;
11582#line 605
11583 __cil_tmp133 = (unsigned long )card;
11584#line 605
11585 __cil_tmp134 = __cil_tmp133 + __cil_tmp132;
11586#line 605
11587 __cil_tmp135 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp134);
11588#line 605
11589 __cil_tmp136 = (unsigned long )__cil_tmp135;
11590#line 605
11591 __cil_tmp137 = __cil_tmp136 + 8;
11592#line 605
11593 __cil_tmp138 = (unsigned long )skb;
11594#line 605
11595 __cil_tmp139 = __cil_tmp138 + 104;
11596#line 605
11597 __cil_tmp140 = *((unsigned int *)__cil_tmp139);
11598#line 605
11599 *((u16 *)__cil_tmp137) = (u16 )__cil_tmp140;
11600#line 606
11601 __cil_tmp141 = i * 8UL;
11602#line 606
11603 __cil_tmp142 = 1136 + __cil_tmp141;
11604#line 606
11605 __cil_tmp143 = (unsigned long )card;
11606#line 606
11607 __cil_tmp144 = __cil_tmp143 + __cil_tmp142;
11608#line 606
11609 __cil_tmp145 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp144);
11610#line 606
11611 __cil_tmp146 = (unsigned long )__cil_tmp145;
11612#line 606
11613 __cil_tmp147 = __cil_tmp146 + 10;
11614#line 606
11615 *((u16 *)__cil_tmp147) = (u16 )0;
11616#line 581
11617 i = i + 1;
11618 }
11619 while_break___3: ;
11620 }
11621#line 609
11622 return (0);
11623}
11624}
11625#line 615 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
11626static int mwifiex_pcie_delete_evtbd_ring(struct mwifiex_adapter *adapter )
11627{ struct pcie_service_card *card ;
11628 int i ;
11629 unsigned long __cil_tmp4 ;
11630 unsigned long __cil_tmp5 ;
11631 void *__cil_tmp6 ;
11632 unsigned long __cil_tmp7 ;
11633 unsigned long __cil_tmp8 ;
11634 unsigned long __cil_tmp9 ;
11635 unsigned long __cil_tmp10 ;
11636 unsigned long __cil_tmp11 ;
11637 unsigned long __cil_tmp12 ;
11638 unsigned long __cil_tmp13 ;
11639 unsigned long __cil_tmp14 ;
11640 struct sk_buff *__cil_tmp15 ;
11641 unsigned long __cil_tmp16 ;
11642 unsigned long __cil_tmp17 ;
11643 unsigned long __cil_tmp18 ;
11644 unsigned long __cil_tmp19 ;
11645 void *__cil_tmp20 ;
11646 unsigned long __cil_tmp21 ;
11647 unsigned long __cil_tmp22 ;
11648 unsigned long __cil_tmp23 ;
11649 unsigned long __cil_tmp24 ;
11650 struct mwifiex_pcie_buf_desc *__cil_tmp25 ;
11651 unsigned long __cil_tmp26 ;
11652 unsigned long __cil_tmp27 ;
11653 unsigned long __cil_tmp28 ;
11654 unsigned long __cil_tmp29 ;
11655 struct mwifiex_pcie_buf_desc *__cil_tmp30 ;
11656 unsigned long __cil_tmp31 ;
11657 unsigned long __cil_tmp32 ;
11658 unsigned long __cil_tmp33 ;
11659 unsigned long __cil_tmp34 ;
11660 unsigned long __cil_tmp35 ;
11661 unsigned long __cil_tmp36 ;
11662 struct mwifiex_pcie_buf_desc *__cil_tmp37 ;
11663 unsigned long __cil_tmp38 ;
11664 unsigned long __cil_tmp39 ;
11665 unsigned long __cil_tmp40 ;
11666 unsigned long __cil_tmp41 ;
11667 unsigned long __cil_tmp42 ;
11668 unsigned long __cil_tmp43 ;
11669 void *__cil_tmp44 ;
11670 unsigned long __cil_tmp45 ;
11671 unsigned long __cil_tmp46 ;
11672 u8 *__cil_tmp47 ;
11673 void const *__cil_tmp48 ;
11674 unsigned long __cil_tmp49 ;
11675 unsigned long __cil_tmp50 ;
11676 unsigned long __cil_tmp51 ;
11677 unsigned long __cil_tmp52 ;
11678 unsigned long __cil_tmp53 ;
11679 unsigned long __cil_tmp54 ;
11680 unsigned long __cil_tmp55 ;
11681 unsigned long __cil_tmp56 ;
11682 unsigned long __cil_tmp57 ;
11683 void *__cil_tmp58 ;
11684
11685 {
11686#line 617
11687 __cil_tmp4 = (unsigned long )adapter;
11688#line 617
11689 __cil_tmp5 = __cil_tmp4 + 136;
11690#line 617
11691 __cil_tmp6 = *((void **)__cil_tmp5);
11692#line 617
11693 card = (struct pcie_service_card *)__cil_tmp6;
11694#line 620
11695 i = 0;
11696 {
11697#line 620
11698 while (1) {
11699 while_continue: ;
11700#line 620
11701 if (i < 4) {
11702
11703 } else {
11704#line 620
11705 goto while_break;
11706 }
11707 {
11708#line 621
11709 __cil_tmp7 = i * 8UL;
11710#line 621
11711 __cil_tmp8 = 1168 + __cil_tmp7;
11712#line 621
11713 __cil_tmp9 = (unsigned long )card;
11714#line 621
11715 __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
11716#line 621
11717 if (*((struct sk_buff **)__cil_tmp10)) {
11718 {
11719#line 622
11720 __cil_tmp11 = i * 8UL;
11721#line 622
11722 __cil_tmp12 = 1168 + __cil_tmp11;
11723#line 622
11724 __cil_tmp13 = (unsigned long )card;
11725#line 622
11726 __cil_tmp14 = __cil_tmp13 + __cil_tmp12;
11727#line 622
11728 __cil_tmp15 = *((struct sk_buff **)__cil_tmp14);
11729#line 622
11730 dev_kfree_skb_any(__cil_tmp15);
11731 }
11732 } else {
11733
11734 }
11735 }
11736#line 623
11737 __cil_tmp16 = i * 8UL;
11738#line 623
11739 __cil_tmp17 = 1168 + __cil_tmp16;
11740#line 623
11741 __cil_tmp18 = (unsigned long )card;
11742#line 623
11743 __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
11744#line 623
11745 __cil_tmp20 = (void *)0;
11746#line 623
11747 *((struct sk_buff **)__cil_tmp19) = (struct sk_buff *)__cil_tmp20;
11748#line 624
11749 __cil_tmp21 = i * 8UL;
11750#line 624
11751 __cil_tmp22 = 1136 + __cil_tmp21;
11752#line 624
11753 __cil_tmp23 = (unsigned long )card;
11754#line 624
11755 __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
11756#line 624
11757 __cil_tmp25 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp24);
11758#line 624
11759 *((u64 *)__cil_tmp25) = (u64 )0;
11760#line 625
11761 __cil_tmp26 = i * 8UL;
11762#line 625
11763 __cil_tmp27 = 1136 + __cil_tmp26;
11764#line 625
11765 __cil_tmp28 = (unsigned long )card;
11766#line 625
11767 __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
11768#line 625
11769 __cil_tmp30 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp29);
11770#line 625
11771 __cil_tmp31 = (unsigned long )__cil_tmp30;
11772#line 625
11773 __cil_tmp32 = __cil_tmp31 + 8;
11774#line 625
11775 *((u16 *)__cil_tmp32) = (u16 )0;
11776#line 626
11777 __cil_tmp33 = i * 8UL;
11778#line 626
11779 __cil_tmp34 = 1136 + __cil_tmp33;
11780#line 626
11781 __cil_tmp35 = (unsigned long )card;
11782#line 626
11783 __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
11784#line 626
11785 __cil_tmp37 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp36);
11786#line 626
11787 __cil_tmp38 = (unsigned long )__cil_tmp37;
11788#line 626
11789 __cil_tmp39 = __cil_tmp38 + 10;
11790#line 626
11791 *((u16 *)__cil_tmp39) = (u16 )0;
11792#line 627
11793 __cil_tmp40 = i * 8UL;
11794#line 627
11795 __cil_tmp41 = 1136 + __cil_tmp40;
11796#line 627
11797 __cil_tmp42 = (unsigned long )card;
11798#line 627
11799 __cil_tmp43 = __cil_tmp42 + __cil_tmp41;
11800#line 627
11801 __cil_tmp44 = (void *)0;
11802#line 627
11803 *((struct mwifiex_pcie_buf_desc **)__cil_tmp43) = (struct mwifiex_pcie_buf_desc *)__cil_tmp44;
11804#line 620
11805 i = i + 1;
11806 }
11807 while_break: ;
11808 }
11809 {
11810#line 630
11811 __cil_tmp45 = (unsigned long )card;
11812#line 630
11813 __cil_tmp46 = __cil_tmp45 + 1120;
11814#line 630
11815 __cil_tmp47 = *((u8 **)__cil_tmp46);
11816#line 630
11817 __cil_tmp48 = (void const *)__cil_tmp47;
11818#line 630
11819 kfree(__cil_tmp48);
11820#line 631
11821 __cil_tmp49 = (unsigned long )card;
11822#line 631
11823 __cil_tmp50 = __cil_tmp49 + 1104;
11824#line 631
11825 *((u32 *)__cil_tmp50) = (u32 )0;
11826#line 632
11827 __cil_tmp51 = (unsigned long )card;
11828#line 632
11829 __cil_tmp52 = __cil_tmp51 + 1108;
11830#line 632
11831 __cil_tmp53 = 1UL << 7;
11832#line 632
11833 *((u32 *)__cil_tmp52) = (u32 )__cil_tmp53;
11834#line 633
11835 __cil_tmp54 = (unsigned long )card;
11836#line 633
11837 __cil_tmp55 = __cil_tmp54 + 1112;
11838#line 633
11839 *((u32 *)__cil_tmp55) = (u32 )0;
11840#line 634
11841 __cil_tmp56 = (unsigned long )card;
11842#line 634
11843 __cil_tmp57 = __cil_tmp56 + 1120;
11844#line 634
11845 __cil_tmp58 = (void *)0;
11846#line 634
11847 *((u8 **)__cil_tmp57) = (u8 *)__cil_tmp58;
11848 }
11849#line 636
11850 return (0);
11851}
11852}
11853#line 642 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
11854static int mwifiex_pcie_alloc_cmdrsp_buf(struct mwifiex_adapter *adapter )
11855{ struct pcie_service_card *card ;
11856 struct sk_buff *skb ;
11857 unsigned long __cil_tmp4 ;
11858 unsigned long __cil_tmp5 ;
11859 void *__cil_tmp6 ;
11860 unsigned long __cil_tmp7 ;
11861 unsigned long __cil_tmp8 ;
11862 struct device *__cil_tmp9 ;
11863 struct device const *__cil_tmp10 ;
11864 unsigned long __cil_tmp11 ;
11865 unsigned long __cil_tmp12 ;
11866 void *__cil_tmp13 ;
11867 unsigned long __cil_tmp14 ;
11868 unsigned long __cil_tmp15 ;
11869 struct device *__cil_tmp16 ;
11870 struct device const *__cil_tmp17 ;
11871 unsigned long __cil_tmp18 ;
11872 unsigned long __cil_tmp19 ;
11873
11874 {
11875 {
11876#line 644
11877 __cil_tmp4 = (unsigned long )adapter;
11878#line 644
11879 __cil_tmp5 = __cil_tmp4 + 136;
11880#line 644
11881 __cil_tmp6 = *((void **)__cil_tmp5);
11882#line 644
11883 card = (struct pcie_service_card *)__cil_tmp6;
11884#line 648
11885 skb = dev_alloc_skb(2312U);
11886 }
11887#line 649
11888 if (! skb) {
11889 {
11890#line 650
11891 __cil_tmp7 = (unsigned long )adapter;
11892#line 650
11893 __cil_tmp8 = __cil_tmp7 + 72;
11894#line 650
11895 __cil_tmp9 = *((struct device **)__cil_tmp8);
11896#line 650
11897 __cil_tmp10 = (struct device const *)__cil_tmp9;
11898#line 650
11899 dev_err(__cil_tmp10, "Unable to allocate skb for command response data.\n");
11900 }
11901#line 652
11902 return (-12);
11903 } else {
11904
11905 }
11906 {
11907#line 654
11908 mwifiex_update_sk_buff_pa(skb);
11909#line 655
11910 skb_put(skb, 2312U);
11911#line 656
11912 __cil_tmp11 = (unsigned long )card;
11913#line 656
11914 __cil_tmp12 = __cil_tmp11 + 1208;
11915#line 656
11916 *((struct sk_buff **)__cil_tmp12) = skb;
11917#line 658
11918 __cil_tmp13 = (void *)0;
11919#line 658
11920 skb = (struct sk_buff *)__cil_tmp13;
11921#line 660
11922 skb = dev_alloc_skb(2048U);
11923 }
11924#line 661
11925 if (! skb) {
11926 {
11927#line 662
11928 __cil_tmp14 = (unsigned long )adapter;
11929#line 662
11930 __cil_tmp15 = __cil_tmp14 + 72;
11931#line 662
11932 __cil_tmp16 = *((struct device **)__cil_tmp15);
11933#line 662
11934 __cil_tmp17 = (struct device const *)__cil_tmp16;
11935#line 662
11936 dev_err(__cil_tmp17, "Unable to allocate skb for command data.\n");
11937 }
11938#line 664
11939 return (-12);
11940 } else {
11941
11942 }
11943 {
11944#line 666
11945 mwifiex_update_sk_buff_pa(skb);
11946#line 667
11947 skb_put(skb, 2048U);
11948#line 668
11949 __cil_tmp18 = (unsigned long )card;
11950#line 668
11951 __cil_tmp19 = __cil_tmp18 + 1200;
11952#line 668
11953 *((struct sk_buff **)__cil_tmp19) = skb;
11954 }
11955#line 670
11956 return (0);
11957}
11958}
11959#line 676 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
11960static int mwifiex_pcie_delete_cmdrsp_buf(struct mwifiex_adapter *adapter )
11961{ struct pcie_service_card *card ;
11962 unsigned long __cil_tmp3 ;
11963 unsigned long __cil_tmp4 ;
11964 void *__cil_tmp5 ;
11965 unsigned long __cil_tmp6 ;
11966 unsigned long __cil_tmp7 ;
11967 unsigned long __cil_tmp8 ;
11968 unsigned long __cil_tmp9 ;
11969 struct sk_buff *__cil_tmp10 ;
11970 unsigned long __cil_tmp11 ;
11971 unsigned long __cil_tmp12 ;
11972 unsigned long __cil_tmp13 ;
11973 unsigned long __cil_tmp14 ;
11974 struct sk_buff *__cil_tmp15 ;
11975
11976 {
11977#line 680
11978 if (! adapter) {
11979#line 681
11980 return (0);
11981 } else {
11982
11983 }
11984#line 683
11985 __cil_tmp3 = (unsigned long )adapter;
11986#line 683
11987 __cil_tmp4 = __cil_tmp3 + 136;
11988#line 683
11989 __cil_tmp5 = *((void **)__cil_tmp4);
11990#line 683
11991 card = (struct pcie_service_card *)__cil_tmp5;
11992#line 685
11993 if (card) {
11994 {
11995#line 685
11996 __cil_tmp6 = (unsigned long )card;
11997#line 685
11998 __cil_tmp7 = __cil_tmp6 + 1208;
11999#line 685
12000 if (*((struct sk_buff **)__cil_tmp7)) {
12001 {
12002#line 686
12003 __cil_tmp8 = (unsigned long )card;
12004#line 686
12005 __cil_tmp9 = __cil_tmp8 + 1208;
12006#line 686
12007 __cil_tmp10 = *((struct sk_buff **)__cil_tmp9);
12008#line 686
12009 dev_kfree_skb_any(__cil_tmp10);
12010 }
12011 } else {
12012
12013 }
12014 }
12015 } else {
12016
12017 }
12018#line 688
12019 if (card) {
12020 {
12021#line 688
12022 __cil_tmp11 = (unsigned long )card;
12023#line 688
12024 __cil_tmp12 = __cil_tmp11 + 1200;
12025#line 688
12026 if (*((struct sk_buff **)__cil_tmp12)) {
12027 {
12028#line 689
12029 __cil_tmp13 = (unsigned long )card;
12030#line 689
12031 __cil_tmp14 = __cil_tmp13 + 1200;
12032#line 689
12033 __cil_tmp15 = *((struct sk_buff **)__cil_tmp14);
12034#line 689
12035 dev_kfree_skb_any(__cil_tmp15);
12036 }
12037 } else {
12038
12039 }
12040 }
12041 } else {
12042
12043 }
12044#line 691
12045 return (0);
12046}
12047}
12048#line 715
12049static int mwifiex_pcie_alloc_sleep_cookie_buf(struct mwifiex_adapter *adapter ) ;
12050#line 715 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
12051static struct _ddebug __attribute__((__aligned__(8))) descriptor___13 __attribute__((__used__,
12052__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_alloc_sleep_cookie_buf", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
12053 "alloc_scook: sleep cookie=0x%x\n", 716U, 0U};
12054#line 697 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
12055static int mwifiex_pcie_alloc_sleep_cookie_buf(struct mwifiex_adapter *adapter )
12056{ struct sk_buff *skb ;
12057 struct pcie_service_card *card ;
12058 long tmp___7 ;
12059 unsigned long __cil_tmp5 ;
12060 unsigned long __cil_tmp6 ;
12061 void *__cil_tmp7 ;
12062 unsigned int __cil_tmp8 ;
12063 unsigned long __cil_tmp9 ;
12064 unsigned long __cil_tmp10 ;
12065 struct device *__cil_tmp11 ;
12066 struct device const *__cil_tmp12 ;
12067 unsigned int __cil_tmp13 ;
12068 unsigned long __cil_tmp14 ;
12069 unsigned long __cil_tmp15 ;
12070 unsigned char *__cil_tmp16 ;
12071 u32 *__cil_tmp17 ;
12072 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp18 ;
12073 unsigned int __cil_tmp19 ;
12074 unsigned int __cil_tmp20 ;
12075 int __cil_tmp21 ;
12076 int __cil_tmp22 ;
12077 long __cil_tmp23 ;
12078 unsigned long __cil_tmp24 ;
12079 unsigned long __cil_tmp25 ;
12080 struct device *__cil_tmp26 ;
12081 struct device const *__cil_tmp27 ;
12082 unsigned long __cil_tmp28 ;
12083 unsigned long __cil_tmp29 ;
12084 unsigned char *__cil_tmp30 ;
12085 u32 *__cil_tmp31 ;
12086 u32 __cil_tmp32 ;
12087 unsigned long __cil_tmp33 ;
12088 unsigned long __cil_tmp34 ;
12089
12090 {
12091 {
12092#line 700
12093 __cil_tmp5 = (unsigned long )adapter;
12094#line 700
12095 __cil_tmp6 = __cil_tmp5 + 136;
12096#line 700
12097 __cil_tmp7 = *((void **)__cil_tmp6);
12098#line 700
12099 card = (struct pcie_service_card *)__cil_tmp7;
12100#line 703
12101 __cil_tmp8 = (unsigned int )4UL;
12102#line 703
12103 skb = dev_alloc_skb(__cil_tmp8);
12104 }
12105#line 704
12106 if (! skb) {
12107 {
12108#line 705
12109 __cil_tmp9 = (unsigned long )adapter;
12110#line 705
12111 __cil_tmp10 = __cil_tmp9 + 72;
12112#line 705
12113 __cil_tmp11 = *((struct device **)__cil_tmp10);
12114#line 705
12115 __cil_tmp12 = (struct device const *)__cil_tmp11;
12116#line 705
12117 dev_err(__cil_tmp12, "Unable to allocate skb for sleep cookie!\n");
12118 }
12119#line 707
12120 return (-12);
12121 } else {
12122
12123 }
12124 {
12125#line 709
12126 mwifiex_update_sk_buff_pa(skb);
12127#line 710
12128 __cil_tmp13 = (unsigned int )4UL;
12129#line 710
12130 skb_put(skb, __cil_tmp13);
12131#line 713
12132 __cil_tmp14 = (unsigned long )skb;
12133#line 713
12134 __cil_tmp15 = __cil_tmp14 + 224;
12135#line 713
12136 __cil_tmp16 = *((unsigned char **)__cil_tmp15);
12137#line 713
12138 __cil_tmp17 = (u32 *)__cil_tmp16;
12139#line 713
12140 *__cil_tmp17 = 2857740885U;
12141 }
12142 {
12143#line 715
12144 while (1) {
12145 while_continue: ;
12146 {
12147#line 715
12148 while (1) {
12149 while_continue___0: ;
12150 {
12151#line 715
12152 __cil_tmp18 = & descriptor___13;
12153#line 715
12154 __cil_tmp19 = __cil_tmp18->flags;
12155#line 715
12156 __cil_tmp20 = __cil_tmp19 & 1U;
12157#line 715
12158 __cil_tmp21 = ! __cil_tmp20;
12159#line 715
12160 __cil_tmp22 = ! __cil_tmp21;
12161#line 715
12162 __cil_tmp23 = (long )__cil_tmp22;
12163#line 715
12164 tmp___7 = __builtin_expect(__cil_tmp23, 0L);
12165 }
12166#line 715
12167 if (tmp___7) {
12168 {
12169#line 715
12170 __cil_tmp24 = (unsigned long )adapter;
12171#line 715
12172 __cil_tmp25 = __cil_tmp24 + 72;
12173#line 715
12174 __cil_tmp26 = *((struct device **)__cil_tmp25);
12175#line 715
12176 __cil_tmp27 = (struct device const *)__cil_tmp26;
12177#line 715
12178 __cil_tmp28 = (unsigned long )skb;
12179#line 715
12180 __cil_tmp29 = __cil_tmp28 + 224;
12181#line 715
12182 __cil_tmp30 = *((unsigned char **)__cil_tmp29);
12183#line 715
12184 __cil_tmp31 = (u32 *)__cil_tmp30;
12185#line 715
12186 __cil_tmp32 = *__cil_tmp31;
12187#line 715
12188 __dynamic_dev_dbg(& descriptor___13, __cil_tmp27, "alloc_scook: sleep cookie=0x%x\n",
12189 __cil_tmp32);
12190 }
12191 } else {
12192
12193 }
12194#line 715
12195 goto while_break___0;
12196 }
12197 while_break___0: ;
12198 }
12199#line 715
12200 goto while_break;
12201 }
12202 while_break: ;
12203 }
12204#line 719
12205 __cil_tmp33 = (unsigned long )card;
12206#line 719
12207 __cil_tmp34 = __cil_tmp33 + 1216;
12208#line 719
12209 *((struct sk_buff **)__cil_tmp34) = skb;
12210#line 721
12211 return (0);
12212}
12213}
12214#line 727 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
12215static int mwifiex_pcie_delete_sleep_cookie_buf(struct mwifiex_adapter *adapter )
12216{ struct pcie_service_card *card ;
12217 unsigned long __cil_tmp3 ;
12218 unsigned long __cil_tmp4 ;
12219 void *__cil_tmp5 ;
12220 unsigned long __cil_tmp6 ;
12221 unsigned long __cil_tmp7 ;
12222 unsigned long __cil_tmp8 ;
12223 unsigned long __cil_tmp9 ;
12224 struct sk_buff *__cil_tmp10 ;
12225 unsigned long __cil_tmp11 ;
12226 unsigned long __cil_tmp12 ;
12227 void *__cil_tmp13 ;
12228
12229 {
12230#line 731
12231 if (! adapter) {
12232#line 732
12233 return (0);
12234 } else {
12235
12236 }
12237#line 734
12238 __cil_tmp3 = (unsigned long )adapter;
12239#line 734
12240 __cil_tmp4 = __cil_tmp3 + 136;
12241#line 734
12242 __cil_tmp5 = *((void **)__cil_tmp4);
12243#line 734
12244 card = (struct pcie_service_card *)__cil_tmp5;
12245#line 736
12246 if (card) {
12247 {
12248#line 736
12249 __cil_tmp6 = (unsigned long )card;
12250#line 736
12251 __cil_tmp7 = __cil_tmp6 + 1216;
12252#line 736
12253 if (*((struct sk_buff **)__cil_tmp7)) {
12254 {
12255#line 737
12256 __cil_tmp8 = (unsigned long )card;
12257#line 737
12258 __cil_tmp9 = __cil_tmp8 + 1216;
12259#line 737
12260 __cil_tmp10 = *((struct sk_buff **)__cil_tmp9);
12261#line 737
12262 dev_kfree_skb_any(__cil_tmp10);
12263#line 738
12264 __cil_tmp11 = (unsigned long )card;
12265#line 738
12266 __cil_tmp12 = __cil_tmp11 + 1216;
12267#line 738
12268 __cil_tmp13 = (void *)0;
12269#line 738
12270 *((struct sk_buff **)__cil_tmp12) = (struct sk_buff *)__cil_tmp13;
12271 }
12272 } else {
12273
12274 }
12275 }
12276 } else {
12277
12278 }
12279#line 741
12280 return (0);
12281}
12282}
12283#line 767
12284static int mwifiex_pcie_send_data(struct mwifiex_adapter *adapter , struct sk_buff *skb ) ;
12285#line 767 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
12286static struct _ddebug __attribute__((__aligned__(8))) descriptor___14 __attribute__((__used__,
12287__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_send_data", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
12288 "info: SEND DATA: <Rd: %#x, Wr: %#x>\n", 768U, 0U};
12289#line 813
12290static int mwifiex_pcie_send_data(struct mwifiex_adapter *adapter , struct sk_buff *skb ) ;
12291#line 813 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
12292static struct _ddebug __attribute__((__aligned__(8))) descriptor___15 __attribute__((__used__,
12293__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_send_data", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
12294 "info: SEND DATA: Updated <Rd: %#x, Wr: %#x> and sent packet to firmware successfully\n",
12295 815U, 0U};
12296#line 817
12297static int mwifiex_pcie_send_data(struct mwifiex_adapter *adapter , struct sk_buff *skb ) ;
12298#line 817 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
12299static struct _ddebug __attribute__((__aligned__(8))) descriptor___16 __attribute__((__used__,
12300__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_send_data", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
12301 "info: TX Ring full, can\'t send packets to fw\n", 818U, 0U};
12302#line 747 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
12303static int mwifiex_pcie_send_data(struct mwifiex_adapter *adapter , struct sk_buff *skb )
12304{ struct pcie_service_card *card ;
12305 u32 wrindx ;
12306 u32 rdptr ;
12307 phys_addr_t *buf_pa ;
12308 __le16 *tmp___7 ;
12309 bool tmp___8 ;
12310 int tmp___9 ;
12311 long tmp___10 ;
12312 struct sk_buff *skb_data ;
12313 u8 *payload ;
12314 size_t __len ;
12315 void *__ret ;
12316 int tmp___11 ;
12317 int tmp___12 ;
12318 long tmp___13 ;
12319 long tmp___14 ;
12320 int tmp___15 ;
12321 unsigned long __cil_tmp20 ;
12322 unsigned long __cil_tmp21 ;
12323 void *__cil_tmp22 ;
12324 unsigned long __cil_tmp23 ;
12325 unsigned long __cil_tmp24 ;
12326 struct device *__cil_tmp25 ;
12327 struct device const *__cil_tmp26 ;
12328 unsigned long __cil_tmp27 ;
12329 unsigned long __cil_tmp28 ;
12330 u32 __cil_tmp29 ;
12331 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp30 ;
12332 unsigned int __cil_tmp31 ;
12333 unsigned int __cil_tmp32 ;
12334 int __cil_tmp33 ;
12335 int __cil_tmp34 ;
12336 long __cil_tmp35 ;
12337 unsigned long __cil_tmp36 ;
12338 unsigned long __cil_tmp37 ;
12339 struct device *__cil_tmp38 ;
12340 struct device const *__cil_tmp39 ;
12341 u32 *__cil_tmp40 ;
12342 u32 __cil_tmp41 ;
12343 unsigned long __cil_tmp42 ;
12344 unsigned long __cil_tmp43 ;
12345 u32 __cil_tmp44 ;
12346 u32 *__cil_tmp45 ;
12347 u32 __cil_tmp46 ;
12348 unsigned int __cil_tmp47 ;
12349 unsigned long __cil_tmp48 ;
12350 unsigned long __cil_tmp49 ;
12351 u32 __cil_tmp50 ;
12352 unsigned int __cil_tmp51 ;
12353 unsigned long __cil_tmp52 ;
12354 u32 *__cil_tmp53 ;
12355 u32 __cil_tmp54 ;
12356 unsigned long __cil_tmp55 ;
12357 unsigned long __cil_tmp56 ;
12358 unsigned long __cil_tmp57 ;
12359 unsigned long __cil_tmp58 ;
12360 unsigned long __cil_tmp59 ;
12361 u32 __cil_tmp60 ;
12362 unsigned long __cil_tmp61 ;
12363 unsigned long __cil_tmp62 ;
12364 unsigned long __cil_tmp63 ;
12365 unsigned long __cil_tmp64 ;
12366 unsigned long __cil_tmp65 ;
12367 unsigned long __cil_tmp66 ;
12368 unsigned long __cil_tmp67 ;
12369 unsigned long __cil_tmp68 ;
12370 unsigned long __cil_tmp69 ;
12371 unsigned long __cil_tmp70 ;
12372 unsigned int __cil_tmp71 ;
12373 unsigned long __cil_tmp72 ;
12374 unsigned long __cil_tmp73 ;
12375 unsigned char *__cil_tmp74 ;
12376 void *__cil_tmp75 ;
12377 unsigned long __cil_tmp76 ;
12378 unsigned long __cil_tmp77 ;
12379 unsigned char *__cil_tmp78 ;
12380 void const *__cil_tmp79 ;
12381 unsigned long __cil_tmp80 ;
12382 unsigned long __cil_tmp81 ;
12383 u8 *__cil_tmp82 ;
12384 unsigned long __cil_tmp83 ;
12385 unsigned long __cil_tmp84 ;
12386 unsigned int __cil_tmp85 ;
12387 u8 *__cil_tmp86 ;
12388 unsigned long __cil_tmp87 ;
12389 unsigned long __cil_tmp88 ;
12390 unsigned int __cil_tmp89 ;
12391 unsigned int __cil_tmp90 ;
12392 unsigned long __cil_tmp91 ;
12393 unsigned long __cil_tmp92 ;
12394 unsigned int __cil_tmp93 ;
12395 unsigned long __cil_tmp94 ;
12396 unsigned long __cil_tmp95 ;
12397 unsigned long __cil_tmp96 ;
12398 unsigned long __cil_tmp97 ;
12399 struct mwifiex_pcie_buf_desc *__cil_tmp98 ;
12400 unsigned long __cil_tmp99 ;
12401 unsigned long __cil_tmp100 ;
12402 unsigned long __cil_tmp101 ;
12403 unsigned long __cil_tmp102 ;
12404 struct mwifiex_pcie_buf_desc *__cil_tmp103 ;
12405 unsigned long __cil_tmp104 ;
12406 unsigned long __cil_tmp105 ;
12407 unsigned long __cil_tmp106 ;
12408 unsigned long __cil_tmp107 ;
12409 unsigned int __cil_tmp108 ;
12410 unsigned long __cil_tmp109 ;
12411 unsigned long __cil_tmp110 ;
12412 unsigned long __cil_tmp111 ;
12413 unsigned long __cil_tmp112 ;
12414 struct mwifiex_pcie_buf_desc *__cil_tmp113 ;
12415 unsigned long __cil_tmp114 ;
12416 unsigned long __cil_tmp115 ;
12417 unsigned long __cil_tmp116 ;
12418 unsigned long __cil_tmp117 ;
12419 unsigned long __cil_tmp118 ;
12420 unsigned long __cil_tmp119 ;
12421 unsigned long __cil_tmp120 ;
12422 unsigned long __cil_tmp121 ;
12423 u32 __cil_tmp122 ;
12424 unsigned long __cil_tmp123 ;
12425 unsigned long __cil_tmp124 ;
12426 u32 __cil_tmp125 ;
12427 unsigned int __cil_tmp126 ;
12428 unsigned long __cil_tmp127 ;
12429 unsigned long __cil_tmp128 ;
12430 unsigned long __cil_tmp129 ;
12431 unsigned long __cil_tmp130 ;
12432 unsigned long __cil_tmp131 ;
12433 unsigned long __cil_tmp132 ;
12434 u32 __cil_tmp133 ;
12435 unsigned long __cil_tmp134 ;
12436 unsigned long __cil_tmp135 ;
12437 unsigned long __cil_tmp136 ;
12438 unsigned long __cil_tmp137 ;
12439 unsigned long __cil_tmp138 ;
12440 u32 __cil_tmp139 ;
12441 unsigned long __cil_tmp140 ;
12442 unsigned long __cil_tmp141 ;
12443 struct device *__cil_tmp142 ;
12444 struct device const *__cil_tmp143 ;
12445 u32 __cil_tmp144 ;
12446 unsigned long __cil_tmp145 ;
12447 unsigned long __cil_tmp146 ;
12448 struct device *__cil_tmp147 ;
12449 struct device const *__cil_tmp148 ;
12450 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp149 ;
12451 unsigned int __cil_tmp150 ;
12452 unsigned int __cil_tmp151 ;
12453 int __cil_tmp152 ;
12454 int __cil_tmp153 ;
12455 long __cil_tmp154 ;
12456 unsigned long __cil_tmp155 ;
12457 unsigned long __cil_tmp156 ;
12458 struct device *__cil_tmp157 ;
12459 struct device const *__cil_tmp158 ;
12460 u32 *__cil_tmp159 ;
12461 u32 __cil_tmp160 ;
12462 unsigned long __cil_tmp161 ;
12463 unsigned long __cil_tmp162 ;
12464 u32 __cil_tmp163 ;
12465 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp164 ;
12466 unsigned int __cil_tmp165 ;
12467 unsigned int __cil_tmp166 ;
12468 int __cil_tmp167 ;
12469 int __cil_tmp168 ;
12470 long __cil_tmp169 ;
12471 unsigned long __cil_tmp170 ;
12472 unsigned long __cil_tmp171 ;
12473 struct device *__cil_tmp172 ;
12474 struct device const *__cil_tmp173 ;
12475 unsigned long __cil_tmp174 ;
12476 unsigned long __cil_tmp175 ;
12477 u32 __cil_tmp176 ;
12478 unsigned long __cil_tmp177 ;
12479 unsigned long __cil_tmp178 ;
12480 struct device *__cil_tmp179 ;
12481 struct device const *__cil_tmp180 ;
12482
12483 {
12484 {
12485#line 750
12486 __cil_tmp20 = (unsigned long )adapter;
12487#line 750
12488 __cil_tmp21 = __cil_tmp20 + 136;
12489#line 750
12490 __cil_tmp22 = *((void **)__cil_tmp21);
12491#line 750
12492 card = (struct pcie_service_card *)__cil_tmp22;
12493#line 755
12494 tmp___8 = mwifiex_pcie_ok_to_access_hw(adapter);
12495 }
12496#line 755
12497 if (tmp___8) {
12498
12499 } else {
12500 {
12501#line 756
12502 mwifiex_pm_wakeup_card(adapter);
12503 }
12504 }
12505 {
12506#line 759
12507 tmp___9 = mwifiex_read_reg(adapter, 3288, & rdptr);
12508 }
12509#line 759
12510 if (tmp___9) {
12511 {
12512#line 760
12513 __cil_tmp23 = (unsigned long )adapter;
12514#line 760
12515 __cil_tmp24 = __cil_tmp23 + 72;
12516#line 760
12517 __cil_tmp25 = *((struct device **)__cil_tmp24);
12518#line 760
12519 __cil_tmp26 = (struct device const *)__cil_tmp25;
12520#line 760
12521 dev_err(__cil_tmp26, "SEND DATA: failed to read REG_TXBD_RDPTR\n");
12522 }
12523#line 762
12524 return (-1);
12525 } else {
12526
12527 }
12528#line 765
12529 __cil_tmp27 = (unsigned long )card;
12530#line 765
12531 __cil_tmp28 = __cil_tmp27 + 16;
12532#line 765
12533 __cil_tmp29 = *((u32 *)__cil_tmp28);
12534#line 765
12535 wrindx = __cil_tmp29 & 63U;
12536 {
12537#line 767
12538 while (1) {
12539 while_continue: ;
12540 {
12541#line 767
12542 while (1) {
12543 while_continue___0: ;
12544 {
12545#line 767
12546 __cil_tmp30 = & descriptor___14;
12547#line 767
12548 __cil_tmp31 = __cil_tmp30->flags;
12549#line 767
12550 __cil_tmp32 = __cil_tmp31 & 1U;
12551#line 767
12552 __cil_tmp33 = ! __cil_tmp32;
12553#line 767
12554 __cil_tmp34 = ! __cil_tmp33;
12555#line 767
12556 __cil_tmp35 = (long )__cil_tmp34;
12557#line 767
12558 tmp___10 = __builtin_expect(__cil_tmp35, 0L);
12559 }
12560#line 767
12561 if (tmp___10) {
12562 {
12563#line 767
12564 __cil_tmp36 = (unsigned long )adapter;
12565#line 767
12566 __cil_tmp37 = __cil_tmp36 + 72;
12567#line 767
12568 __cil_tmp38 = *((struct device **)__cil_tmp37);
12569#line 767
12570 __cil_tmp39 = (struct device const *)__cil_tmp38;
12571#line 767
12572 __cil_tmp40 = & rdptr;
12573#line 767
12574 __cil_tmp41 = *__cil_tmp40;
12575#line 767
12576 __cil_tmp42 = (unsigned long )card;
12577#line 767
12578 __cil_tmp43 = __cil_tmp42 + 16;
12579#line 767
12580 __cil_tmp44 = *((u32 *)__cil_tmp43);
12581#line 767
12582 __dynamic_dev_dbg(& descriptor___14, __cil_tmp39, "info: SEND DATA: <Rd: %#x, Wr: %#x>\n",
12583 __cil_tmp41, __cil_tmp44);
12584 }
12585 } else {
12586
12587 }
12588#line 767
12589 goto while_break___0;
12590 }
12591 while_break___0: ;
12592 }
12593#line 767
12594 goto while_break;
12595 }
12596 while_break: ;
12597 }
12598 {
12599#line 769
12600 __cil_tmp45 = & rdptr;
12601#line 769
12602 __cil_tmp46 = *__cil_tmp45;
12603#line 769
12604 __cil_tmp47 = __cil_tmp46 & 63U;
12605#line 769
12606 __cil_tmp48 = (unsigned long )card;
12607#line 769
12608 __cil_tmp49 = __cil_tmp48 + 16;
12609#line 769
12610 __cil_tmp50 = *((u32 *)__cil_tmp49);
12611#line 769
12612 __cil_tmp51 = __cil_tmp50 & 63U;
12613#line 769
12614 if (__cil_tmp51 != __cil_tmp47) {
12615#line 769
12616 goto _L;
12617 } else {
12618 {
12619#line 769
12620 __cil_tmp52 = 1UL << 7;
12621#line 769
12622 __cil_tmp53 = & rdptr;
12623#line 769
12624 __cil_tmp54 = *__cil_tmp53;
12625#line 769
12626 __cil_tmp55 = (unsigned long )__cil_tmp54;
12627#line 769
12628 __cil_tmp56 = __cil_tmp55 & __cil_tmp52;
12629#line 769
12630 __cil_tmp57 = 1UL << 7;
12631#line 769
12632 __cil_tmp58 = (unsigned long )card;
12633#line 769
12634 __cil_tmp59 = __cil_tmp58 + 16;
12635#line 769
12636 __cil_tmp60 = *((u32 *)__cil_tmp59);
12637#line 769
12638 __cil_tmp61 = (unsigned long )__cil_tmp60;
12639#line 769
12640 __cil_tmp62 = __cil_tmp61 & __cil_tmp57;
12641#line 769
12642 if (__cil_tmp62 != __cil_tmp56) {
12643 _L:
12644 {
12645#line 776
12646 __cil_tmp63 = (unsigned long )adapter;
12647#line 776
12648 __cil_tmp64 = __cil_tmp63 + 2800;
12649#line 776
12650 *((u8 *)__cil_tmp64) = (u8 )1;
12651#line 777
12652 __cil_tmp65 = wrindx * 8UL;
12653#line 777
12654 __cil_tmp66 = 304 + __cil_tmp65;
12655#line 777
12656 __cil_tmp67 = (unsigned long )card;
12657#line 777
12658 __cil_tmp68 = __cil_tmp67 + __cil_tmp66;
12659#line 777
12660 skb_data = *((struct sk_buff **)__cil_tmp68);
12661#line 778
12662 __cil_tmp69 = (unsigned long )skb;
12663#line 778
12664 __cil_tmp70 = __cil_tmp69 + 104;
12665#line 778
12666 __cil_tmp71 = *((unsigned int *)__cil_tmp70);
12667#line 778
12668 __len = (size_t )__cil_tmp71;
12669#line 778
12670 __cil_tmp72 = (unsigned long )skb_data;
12671#line 778
12672 __cil_tmp73 = __cil_tmp72 + 224;
12673#line 778
12674 __cil_tmp74 = *((unsigned char **)__cil_tmp73);
12675#line 778
12676 __cil_tmp75 = (void *)__cil_tmp74;
12677#line 778
12678 __cil_tmp76 = (unsigned long )skb;
12679#line 778
12680 __cil_tmp77 = __cil_tmp76 + 224;
12681#line 778
12682 __cil_tmp78 = *((unsigned char **)__cil_tmp77);
12683#line 778
12684 __cil_tmp79 = (void const *)__cil_tmp78;
12685#line 778
12686 __ret = __builtin_memcpy(__cil_tmp75, __cil_tmp79, __len);
12687#line 779
12688 __cil_tmp80 = (unsigned long )skb_data;
12689#line 779
12690 __cil_tmp81 = __cil_tmp80 + 224;
12691#line 779
12692 payload = *((unsigned char **)__cil_tmp81);
12693#line 780
12694 __cil_tmp82 = payload + 0;
12695#line 780
12696 tmp___7 = (__le16 *)__cil_tmp82;
12697#line 781
12698 __cil_tmp83 = (unsigned long )skb;
12699#line 781
12700 __cil_tmp84 = __cil_tmp83 + 104;
12701#line 781
12702 __cil_tmp85 = *((unsigned int *)__cil_tmp84);
12703#line 781
12704 *tmp___7 = (u16 )__cil_tmp85;
12705#line 782
12706 __cil_tmp86 = payload + 2;
12707#line 782
12708 tmp___7 = (__le16 *)__cil_tmp86;
12709#line 783
12710 *tmp___7 = (__u16 )0;
12711#line 784
12712 __cil_tmp87 = (unsigned long )skb_data;
12713#line 784
12714 __cil_tmp88 = __cil_tmp87 + 104;
12715#line 784
12716 __cil_tmp89 = *((unsigned int *)__cil_tmp88);
12717#line 784
12718 __cil_tmp90 = 4096U - __cil_tmp89;
12719#line 784
12720 skb_put(skb_data, __cil_tmp90);
12721#line 785
12722 __cil_tmp91 = (unsigned long )skb;
12723#line 785
12724 __cil_tmp92 = __cil_tmp91 + 104;
12725#line 785
12726 __cil_tmp93 = *((unsigned int *)__cil_tmp92);
12727#line 785
12728 skb_trim(skb_data, __cil_tmp93);
12729#line 786
12730 buf_pa = MWIFIEX_SKB_PACB(skb_data);
12731#line 787
12732 __cil_tmp94 = wrindx * 8UL;
12733#line 787
12734 __cil_tmp95 = 48 + __cil_tmp94;
12735#line 787
12736 __cil_tmp96 = (unsigned long )card;
12737#line 787
12738 __cil_tmp97 = __cil_tmp96 + __cil_tmp95;
12739#line 787
12740 __cil_tmp98 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp97);
12741#line 787
12742 *((u64 *)__cil_tmp98) = *buf_pa;
12743#line 788
12744 __cil_tmp99 = wrindx * 8UL;
12745#line 788
12746 __cil_tmp100 = 48 + __cil_tmp99;
12747#line 788
12748 __cil_tmp101 = (unsigned long )card;
12749#line 788
12750 __cil_tmp102 = __cil_tmp101 + __cil_tmp100;
12751#line 788
12752 __cil_tmp103 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp102);
12753#line 788
12754 __cil_tmp104 = (unsigned long )__cil_tmp103;
12755#line 788
12756 __cil_tmp105 = __cil_tmp104 + 8;
12757#line 788
12758 __cil_tmp106 = (unsigned long )skb_data;
12759#line 788
12760 __cil_tmp107 = __cil_tmp106 + 104;
12761#line 788
12762 __cil_tmp108 = *((unsigned int *)__cil_tmp107);
12763#line 788
12764 *((u16 *)__cil_tmp105) = (u16 )__cil_tmp108;
12765#line 789
12766 __cil_tmp109 = wrindx * 8UL;
12767#line 789
12768 __cil_tmp110 = 48 + __cil_tmp109;
12769#line 789
12770 __cil_tmp111 = (unsigned long )card;
12771#line 789
12772 __cil_tmp112 = __cil_tmp111 + __cil_tmp110;
12773#line 789
12774 __cil_tmp113 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp112);
12775#line 789
12776 __cil_tmp114 = (unsigned long )__cil_tmp113;
12777#line 789
12778 __cil_tmp115 = __cil_tmp114 + 10;
12779#line 789
12780 __cil_tmp116 = 1UL << 1;
12781#line 789
12782 __cil_tmp117 = 1UL | __cil_tmp116;
12783#line 789
12784 *((u16 *)__cil_tmp115) = (u16 )__cil_tmp117;
12785#line 792
12786 __cil_tmp118 = (unsigned long )card;
12787#line 792
12788 __cil_tmp119 = __cil_tmp118 + 16;
12789#line 792
12790 __cil_tmp120 = (unsigned long )card;
12791#line 792
12792 __cil_tmp121 = __cil_tmp120 + 16;
12793#line 792
12794 __cil_tmp122 = *((u32 *)__cil_tmp121);
12795#line 792
12796 *((u32 *)__cil_tmp119) = __cil_tmp122 + 1U;
12797 }
12798 {
12799#line 792
12800 __cil_tmp123 = (unsigned long )card;
12801#line 792
12802 __cil_tmp124 = __cil_tmp123 + 16;
12803#line 792
12804 __cil_tmp125 = *((u32 *)__cil_tmp124);
12805#line 792
12806 __cil_tmp126 = __cil_tmp125 & 63U;
12807#line 792
12808 if (__cil_tmp126 == 32U) {
12809#line 794
12810 __cil_tmp127 = (unsigned long )card;
12811#line 794
12812 __cil_tmp128 = __cil_tmp127 + 16;
12813#line 794
12814 __cil_tmp129 = 1UL << 7;
12815#line 794
12816 __cil_tmp130 = 1UL << 7;
12817#line 794
12818 __cil_tmp131 = (unsigned long )card;
12819#line 794
12820 __cil_tmp132 = __cil_tmp131 + 16;
12821#line 794
12822 __cil_tmp133 = *((u32 *)__cil_tmp132);
12823#line 794
12824 __cil_tmp134 = (unsigned long )__cil_tmp133;
12825#line 794
12826 __cil_tmp135 = __cil_tmp134 & __cil_tmp130;
12827#line 794
12828 __cil_tmp136 = __cil_tmp135 ^ __cil_tmp129;
12829#line 794
12830 *((u32 *)__cil_tmp128) = (u32 )__cil_tmp136;
12831 } else {
12832
12833 }
12834 }
12835 {
12836#line 799
12837 __cil_tmp137 = (unsigned long )card;
12838#line 799
12839 __cil_tmp138 = __cil_tmp137 + 16;
12840#line 799
12841 __cil_tmp139 = *((u32 *)__cil_tmp138);
12842#line 799
12843 tmp___11 = mwifiex_write_reg(adapter, 3292, __cil_tmp139);
12844 }
12845#line 799
12846 if (tmp___11) {
12847 {
12848#line 801
12849 __cil_tmp140 = (unsigned long )adapter;
12850#line 801
12851 __cil_tmp141 = __cil_tmp140 + 72;
12852#line 801
12853 __cil_tmp142 = *((struct device **)__cil_tmp141);
12854#line 801
12855 __cil_tmp143 = (struct device const *)__cil_tmp142;
12856#line 801
12857 dev_err(__cil_tmp143, "SEND DATA: failed to write REG_TXBD_WRPTR\n");
12858 }
12859#line 803
12860 return (0);
12861 } else {
12862
12863 }
12864 {
12865#line 807
12866 __cil_tmp144 = (u32 )1UL;
12867#line 807
12868 tmp___12 = mwifiex_write_reg(adapter, 3096, __cil_tmp144);
12869 }
12870#line 807
12871 if (tmp___12) {
12872 {
12873#line 809
12874 __cil_tmp145 = (unsigned long )adapter;
12875#line 809
12876 __cil_tmp146 = __cil_tmp145 + 72;
12877#line 809
12878 __cil_tmp147 = *((struct device **)__cil_tmp146);
12879#line 809
12880 __cil_tmp148 = (struct device const *)__cil_tmp147;
12881#line 809
12882 dev_err(__cil_tmp148, "SEND DATA: failed to assert door-bell intr\n");
12883 }
12884#line 811
12885 return (-1);
12886 } else {
12887
12888 }
12889 {
12890#line 813
12891 while (1) {
12892 while_continue___1: ;
12893 {
12894#line 813
12895 while (1) {
12896 while_continue___2: ;
12897 {
12898#line 813
12899 __cil_tmp149 = & descriptor___15;
12900#line 813
12901 __cil_tmp150 = __cil_tmp149->flags;
12902#line 813
12903 __cil_tmp151 = __cil_tmp150 & 1U;
12904#line 813
12905 __cil_tmp152 = ! __cil_tmp151;
12906#line 813
12907 __cil_tmp153 = ! __cil_tmp152;
12908#line 813
12909 __cil_tmp154 = (long )__cil_tmp153;
12910#line 813
12911 tmp___13 = __builtin_expect(__cil_tmp154, 0L);
12912 }
12913#line 813
12914 if (tmp___13) {
12915 {
12916#line 813
12917 __cil_tmp155 = (unsigned long )adapter;
12918#line 813
12919 __cil_tmp156 = __cil_tmp155 + 72;
12920#line 813
12921 __cil_tmp157 = *((struct device **)__cil_tmp156);
12922#line 813
12923 __cil_tmp158 = (struct device const *)__cil_tmp157;
12924#line 813
12925 __cil_tmp159 = & rdptr;
12926#line 813
12927 __cil_tmp160 = *__cil_tmp159;
12928#line 813
12929 __cil_tmp161 = (unsigned long )card;
12930#line 813
12931 __cil_tmp162 = __cil_tmp161 + 16;
12932#line 813
12933 __cil_tmp163 = *((u32 *)__cil_tmp162);
12934#line 813
12935 __dynamic_dev_dbg(& descriptor___15, __cil_tmp158, "info: SEND DATA: Updated <Rd: %#x, Wr: %#x> and sent packet to firmware successfully\n",
12936 __cil_tmp160, __cil_tmp163);
12937 }
12938 } else {
12939
12940 }
12941#line 813
12942 goto while_break___2;
12943 }
12944 while_break___2: ;
12945 }
12946#line 813
12947 goto while_break___1;
12948 }
12949 while_break___1: ;
12950 }
12951 } else {
12952 {
12953#line 817
12954 while (1) {
12955 while_continue___3: ;
12956 {
12957#line 817
12958 while (1) {
12959 while_continue___4: ;
12960 {
12961#line 817
12962 __cil_tmp164 = & descriptor___16;
12963#line 817
12964 __cil_tmp165 = __cil_tmp164->flags;
12965#line 817
12966 __cil_tmp166 = __cil_tmp165 & 1U;
12967#line 817
12968 __cil_tmp167 = ! __cil_tmp166;
12969#line 817
12970 __cil_tmp168 = ! __cil_tmp167;
12971#line 817
12972 __cil_tmp169 = (long )__cil_tmp168;
12973#line 817
12974 tmp___14 = __builtin_expect(__cil_tmp169, 0L);
12975 }
12976#line 817
12977 if (tmp___14) {
12978 {
12979#line 817
12980 __cil_tmp170 = (unsigned long )adapter;
12981#line 817
12982 __cil_tmp171 = __cil_tmp170 + 72;
12983#line 817
12984 __cil_tmp172 = *((struct device **)__cil_tmp171);
12985#line 817
12986 __cil_tmp173 = (struct device const *)__cil_tmp172;
12987#line 817
12988 __dynamic_dev_dbg(& descriptor___16, __cil_tmp173, "info: TX Ring full, can\'t send packets to fw\n");
12989 }
12990 } else {
12991
12992 }
12993#line 817
12994 goto while_break___4;
12995 }
12996 while_break___4: ;
12997 }
12998#line 817
12999 goto while_break___3;
13000 }
13001 while_break___3: ;
13002 }
13003 {
13004#line 819
13005 __cil_tmp174 = (unsigned long )adapter;
13006#line 819
13007 __cil_tmp175 = __cil_tmp174 + 2800;
13008#line 819
13009 *((u8 *)__cil_tmp175) = (u8 )1;
13010#line 821
13011 __cil_tmp176 = (u32 )1UL;
13012#line 821
13013 tmp___15 = mwifiex_write_reg(adapter, 3096, __cil_tmp176);
13014 }
13015#line 821
13016 if (tmp___15) {
13017 {
13018#line 823
13019 __cil_tmp177 = (unsigned long )adapter;
13020#line 823
13021 __cil_tmp178 = __cil_tmp177 + 72;
13022#line 823
13023 __cil_tmp179 = *((struct device **)__cil_tmp178);
13024#line 823
13025 __cil_tmp180 = (struct device const *)__cil_tmp179;
13026#line 823
13027 dev_err(__cil_tmp180, "SEND DATA: failed to assert door-bell intr\n");
13028 }
13029 } else {
13030
13031 }
13032#line 825
13033 return (-16);
13034 }
13035 }
13036 }
13037 }
13038#line 828
13039 return (0);
13040}
13041}
13042#line 863
13043static int mwifiex_pcie_process_recv_data(struct mwifiex_adapter *adapter ) ;
13044#line 863 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
13045static struct _ddebug __attribute__((__aligned__(8))) descriptor___17 __attribute__((__used__,
13046__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_process_recv_data", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
13047 "info: RECV DATA: Rd=%#x, Wr=%#x, Len=%d\n", 865U, 0U};
13048#line 868
13049static int mwifiex_pcie_process_recv_data(struct mwifiex_adapter *adapter ) ;
13050#line 868 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
13051static struct _ddebug __attribute__((__aligned__(8))) descriptor___18 __attribute__((__used__,
13052__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_process_recv_data", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
13053 "info: Failed to alloc skb for RX\n", 869U, 0U};
13054#line 883
13055static int mwifiex_pcie_process_recv_data(struct mwifiex_adapter *adapter ) ;
13056#line 883 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
13057static struct _ddebug __attribute__((__aligned__(8))) descriptor___19 __attribute__((__used__,
13058__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_process_recv_data", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
13059 "info: RECV DATA: <Rd: %#x, Wr: %#x>\n", 884U, 0U};
13060#line 902
13061static int mwifiex_pcie_process_recv_data(struct mwifiex_adapter *adapter ) ;
13062#line 902 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
13063static struct _ddebug __attribute__((__aligned__(8))) descriptor___20 __attribute__((__used__,
13064__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_process_recv_data", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
13065 "info: RECV DATA: Rcvd packet from fw successfully\n", 903U, 0U};
13066#line 835 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
13067static int mwifiex_pcie_process_recv_data(struct mwifiex_adapter *adapter )
13068{ struct pcie_service_card *card ;
13069 u32 wrptr ;
13070 u32 rd_index ;
13071 int ret ;
13072 struct sk_buff *skb_tmp ;
13073 int tmp___7 ;
13074 struct sk_buff *skb_data ;
13075 u16 rx_len ;
13076 long tmp___8 ;
13077 long tmp___9 ;
13078 size_t __len ;
13079 void *__ret ;
13080 long tmp___10 ;
13081 int tmp___11 ;
13082 int tmp___12 ;
13083 long tmp___13 ;
13084 unsigned long __cil_tmp18 ;
13085 unsigned long __cil_tmp19 ;
13086 void *__cil_tmp20 ;
13087 void *__cil_tmp21 ;
13088 unsigned long __cil_tmp22 ;
13089 unsigned long __cil_tmp23 ;
13090 struct device *__cil_tmp24 ;
13091 struct device const *__cil_tmp25 ;
13092 unsigned long __cil_tmp26 ;
13093 unsigned long __cil_tmp27 ;
13094 u32 __cil_tmp28 ;
13095 unsigned int __cil_tmp29 ;
13096 u32 *__cil_tmp30 ;
13097 u32 __cil_tmp31 ;
13098 unsigned int __cil_tmp32 ;
13099 unsigned long __cil_tmp33 ;
13100 unsigned long __cil_tmp34 ;
13101 unsigned long __cil_tmp35 ;
13102 u32 __cil_tmp36 ;
13103 unsigned long __cil_tmp37 ;
13104 unsigned long __cil_tmp38 ;
13105 unsigned long __cil_tmp39 ;
13106 u32 *__cil_tmp40 ;
13107 u32 __cil_tmp41 ;
13108 unsigned long __cil_tmp42 ;
13109 unsigned long __cil_tmp43 ;
13110 unsigned long __cil_tmp44 ;
13111 unsigned long __cil_tmp45 ;
13112 u32 __cil_tmp46 ;
13113 unsigned long __cil_tmp47 ;
13114 unsigned long __cil_tmp48 ;
13115 unsigned long __cil_tmp49 ;
13116 unsigned long __cil_tmp50 ;
13117 unsigned long __cil_tmp51 ;
13118 unsigned long __cil_tmp52 ;
13119 unsigned char *__cil_tmp53 ;
13120 u16 *__cil_tmp54 ;
13121 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp55 ;
13122 unsigned int __cil_tmp56 ;
13123 unsigned int __cil_tmp57 ;
13124 int __cil_tmp58 ;
13125 int __cil_tmp59 ;
13126 long __cil_tmp60 ;
13127 unsigned long __cil_tmp61 ;
13128 unsigned long __cil_tmp62 ;
13129 struct device *__cil_tmp63 ;
13130 struct device const *__cil_tmp64 ;
13131 unsigned long __cil_tmp65 ;
13132 unsigned long __cil_tmp66 ;
13133 u32 __cil_tmp67 ;
13134 u32 *__cil_tmp68 ;
13135 u32 __cil_tmp69 ;
13136 int __cil_tmp70 ;
13137 unsigned int __cil_tmp71 ;
13138 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp72 ;
13139 unsigned int __cil_tmp73 ;
13140 unsigned int __cil_tmp74 ;
13141 int __cil_tmp75 ;
13142 int __cil_tmp76 ;
13143 long __cil_tmp77 ;
13144 unsigned long __cil_tmp78 ;
13145 unsigned long __cil_tmp79 ;
13146 struct device *__cil_tmp80 ;
13147 struct device const *__cil_tmp81 ;
13148 unsigned int __cil_tmp82 ;
13149 unsigned long __cil_tmp83 ;
13150 unsigned long __cil_tmp84 ;
13151 unsigned char *__cil_tmp85 ;
13152 void *__cil_tmp86 ;
13153 unsigned long __cil_tmp87 ;
13154 unsigned long __cil_tmp88 ;
13155 unsigned char *__cil_tmp89 ;
13156 unsigned char *__cil_tmp90 ;
13157 void const *__cil_tmp91 ;
13158 unsigned long __cil_tmp92 ;
13159 unsigned long __cil_tmp93 ;
13160 unsigned long __cil_tmp94 ;
13161 unsigned long __cil_tmp95 ;
13162 u32 __cil_tmp96 ;
13163 unsigned long __cil_tmp97 ;
13164 unsigned long __cil_tmp98 ;
13165 u32 __cil_tmp99 ;
13166 unsigned int __cil_tmp100 ;
13167 unsigned long __cil_tmp101 ;
13168 unsigned long __cil_tmp102 ;
13169 unsigned long __cil_tmp103 ;
13170 unsigned long __cil_tmp104 ;
13171 unsigned long __cil_tmp105 ;
13172 unsigned long __cil_tmp106 ;
13173 u32 __cil_tmp107 ;
13174 unsigned long __cil_tmp108 ;
13175 unsigned long __cil_tmp109 ;
13176 unsigned long __cil_tmp110 ;
13177 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp111 ;
13178 unsigned int __cil_tmp112 ;
13179 unsigned int __cil_tmp113 ;
13180 int __cil_tmp114 ;
13181 int __cil_tmp115 ;
13182 long __cil_tmp116 ;
13183 unsigned long __cil_tmp117 ;
13184 unsigned long __cil_tmp118 ;
13185 struct device *__cil_tmp119 ;
13186 struct device const *__cil_tmp120 ;
13187 unsigned long __cil_tmp121 ;
13188 unsigned long __cil_tmp122 ;
13189 u32 __cil_tmp123 ;
13190 u32 *__cil_tmp124 ;
13191 u32 __cil_tmp125 ;
13192 unsigned long __cil_tmp126 ;
13193 unsigned long __cil_tmp127 ;
13194 u32 __cil_tmp128 ;
13195 unsigned long __cil_tmp129 ;
13196 unsigned long __cil_tmp130 ;
13197 struct device *__cil_tmp131 ;
13198 struct device const *__cil_tmp132 ;
13199 unsigned long __cil_tmp133 ;
13200 unsigned long __cil_tmp134 ;
13201 struct device *__cil_tmp135 ;
13202 struct device const *__cil_tmp136 ;
13203 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp137 ;
13204 unsigned int __cil_tmp138 ;
13205 unsigned int __cil_tmp139 ;
13206 int __cil_tmp140 ;
13207 int __cil_tmp141 ;
13208 long __cil_tmp142 ;
13209 unsigned long __cil_tmp143 ;
13210 unsigned long __cil_tmp144 ;
13211 struct device *__cil_tmp145 ;
13212 struct device const *__cil_tmp146 ;
13213
13214 {
13215 {
13216#line 837
13217 __cil_tmp18 = (unsigned long )adapter;
13218#line 837
13219 __cil_tmp19 = __cil_tmp18 + 136;
13220#line 837
13221 __cil_tmp20 = *((void **)__cil_tmp19);
13222#line 837
13223 card = (struct pcie_service_card *)__cil_tmp20;
13224#line 839
13225 ret = 0;
13226#line 840
13227 __cil_tmp21 = (void *)0;
13228#line 840
13229 skb_tmp = (struct sk_buff *)__cil_tmp21;
13230#line 843
13231 tmp___7 = mwifiex_read_reg(adapter, 3300, & wrptr);
13232 }
13233#line 843
13234 if (tmp___7) {
13235 {
13236#line 844
13237 __cil_tmp22 = (unsigned long )adapter;
13238#line 844
13239 __cil_tmp23 = __cil_tmp22 + 72;
13240#line 844
13241 __cil_tmp24 = *((struct device **)__cil_tmp23);
13242#line 844
13243 __cil_tmp25 = (struct device const *)__cil_tmp24;
13244#line 844
13245 dev_err(__cil_tmp25, "RECV DATA: failed to read REG_TXBD_RDPTR\n");
13246#line 846
13247 ret = -1;
13248 }
13249#line 847
13250 goto done;
13251 } else {
13252
13253 }
13254 {
13255#line 850
13256 while (1) {
13257 while_continue: ;
13258 {
13259#line 850
13260 __cil_tmp26 = (unsigned long )card;
13261#line 850
13262 __cil_tmp27 = __cil_tmp26 + 564;
13263#line 850
13264 __cil_tmp28 = *((u32 *)__cil_tmp27);
13265#line 850
13266 __cil_tmp29 = __cil_tmp28 & 63U;
13267#line 850
13268 __cil_tmp30 = & wrptr;
13269#line 850
13270 __cil_tmp31 = *__cil_tmp30;
13271#line 850
13272 __cil_tmp32 = __cil_tmp31 & 63U;
13273#line 850
13274 if (__cil_tmp32 != __cil_tmp29) {
13275
13276 } else {
13277 {
13278#line 850
13279 __cil_tmp33 = 1UL << 7;
13280#line 850
13281 __cil_tmp34 = (unsigned long )card;
13282#line 850
13283 __cil_tmp35 = __cil_tmp34 + 564;
13284#line 850
13285 __cil_tmp36 = *((u32 *)__cil_tmp35);
13286#line 850
13287 __cil_tmp37 = (unsigned long )__cil_tmp36;
13288#line 850
13289 __cil_tmp38 = __cil_tmp37 & __cil_tmp33;
13290#line 850
13291 __cil_tmp39 = 1UL << 7;
13292#line 850
13293 __cil_tmp40 = & wrptr;
13294#line 850
13295 __cil_tmp41 = *__cil_tmp40;
13296#line 850
13297 __cil_tmp42 = (unsigned long )__cil_tmp41;
13298#line 850
13299 __cil_tmp43 = __cil_tmp42 & __cil_tmp39;
13300#line 850
13301 if (__cil_tmp43 == __cil_tmp38) {
13302
13303 } else {
13304#line 850
13305 goto while_break;
13306 }
13307 }
13308 }
13309 }
13310#line 857
13311 __cil_tmp44 = (unsigned long )card;
13312#line 857
13313 __cil_tmp45 = __cil_tmp44 + 564;
13314#line 857
13315 __cil_tmp46 = *((u32 *)__cil_tmp45);
13316#line 857
13317 rd_index = __cil_tmp46 & 63U;
13318#line 858
13319 __cil_tmp47 = rd_index * 8UL;
13320#line 858
13321 __cil_tmp48 = 848 + __cil_tmp47;
13322#line 858
13323 __cil_tmp49 = (unsigned long )card;
13324#line 858
13325 __cil_tmp50 = __cil_tmp49 + __cil_tmp48;
13326#line 858
13327 skb_data = *((struct sk_buff **)__cil_tmp50);
13328#line 862
13329 __cil_tmp51 = (unsigned long )skb_data;
13330#line 862
13331 __cil_tmp52 = __cil_tmp51 + 224;
13332#line 862
13333 __cil_tmp53 = *((unsigned char **)__cil_tmp52);
13334#line 862
13335 __cil_tmp54 = (u16 *)__cil_tmp53;
13336#line 862
13337 rx_len = *__cil_tmp54;
13338 {
13339#line 863
13340 while (1) {
13341 while_continue___0: ;
13342 {
13343#line 863
13344 while (1) {
13345 while_continue___1: ;
13346 {
13347#line 863
13348 __cil_tmp55 = & descriptor___17;
13349#line 863
13350 __cil_tmp56 = __cil_tmp55->flags;
13351#line 863
13352 __cil_tmp57 = __cil_tmp56 & 1U;
13353#line 863
13354 __cil_tmp58 = ! __cil_tmp57;
13355#line 863
13356 __cil_tmp59 = ! __cil_tmp58;
13357#line 863
13358 __cil_tmp60 = (long )__cil_tmp59;
13359#line 863
13360 tmp___8 = __builtin_expect(__cil_tmp60, 0L);
13361 }
13362#line 863
13363 if (tmp___8) {
13364 {
13365#line 863
13366 __cil_tmp61 = (unsigned long )adapter;
13367#line 863
13368 __cil_tmp62 = __cil_tmp61 + 72;
13369#line 863
13370 __cil_tmp63 = *((struct device **)__cil_tmp62);
13371#line 863
13372 __cil_tmp64 = (struct device const *)__cil_tmp63;
13373#line 863
13374 __cil_tmp65 = (unsigned long )card;
13375#line 863
13376 __cil_tmp66 = __cil_tmp65 + 564;
13377#line 863
13378 __cil_tmp67 = *((u32 *)__cil_tmp66);
13379#line 863
13380 __cil_tmp68 = & wrptr;
13381#line 863
13382 __cil_tmp69 = *__cil_tmp68;
13383#line 863
13384 __cil_tmp70 = (int )rx_len;
13385#line 863
13386 __dynamic_dev_dbg(& descriptor___17, __cil_tmp64, "info: RECV DATA: Rd=%#x, Wr=%#x, Len=%d\n",
13387 __cil_tmp67, __cil_tmp69, __cil_tmp70);
13388 }
13389 } else {
13390
13391 }
13392#line 863
13393 goto while_break___1;
13394 }
13395 while_break___1: ;
13396 }
13397#line 863
13398 goto while_break___0;
13399 }
13400 while_break___0: ;
13401 }
13402 {
13403#line 866
13404 __cil_tmp71 = (unsigned int )rx_len;
13405#line 866
13406 skb_tmp = dev_alloc_skb(__cil_tmp71);
13407 }
13408#line 867
13409 if (! skb_tmp) {
13410 {
13411#line 868
13412 while (1) {
13413 while_continue___2: ;
13414 {
13415#line 868
13416 while (1) {
13417 while_continue___3: ;
13418 {
13419#line 868
13420 __cil_tmp72 = & descriptor___18;
13421#line 868
13422 __cil_tmp73 = __cil_tmp72->flags;
13423#line 868
13424 __cil_tmp74 = __cil_tmp73 & 1U;
13425#line 868
13426 __cil_tmp75 = ! __cil_tmp74;
13427#line 868
13428 __cil_tmp76 = ! __cil_tmp75;
13429#line 868
13430 __cil_tmp77 = (long )__cil_tmp76;
13431#line 868
13432 tmp___9 = __builtin_expect(__cil_tmp77, 0L);
13433 }
13434#line 868
13435 if (tmp___9) {
13436 {
13437#line 868
13438 __cil_tmp78 = (unsigned long )adapter;
13439#line 868
13440 __cil_tmp79 = __cil_tmp78 + 72;
13441#line 868
13442 __cil_tmp80 = *((struct device **)__cil_tmp79);
13443#line 868
13444 __cil_tmp81 = (struct device const *)__cil_tmp80;
13445#line 868
13446 __dynamic_dev_dbg(& descriptor___18, __cil_tmp81, "info: Failed to alloc skb for RX\n");
13447 }
13448 } else {
13449
13450 }
13451#line 868
13452 goto while_break___3;
13453 }
13454 while_break___3: ;
13455 }
13456#line 868
13457 goto while_break___2;
13458 }
13459 while_break___2: ;
13460 }
13461#line 870
13462 ret = -16;
13463#line 871
13464 goto done;
13465 } else {
13466
13467 }
13468 {
13469#line 874
13470 __cil_tmp82 = (unsigned int )rx_len;
13471#line 874
13472 skb_put(skb_tmp, __cil_tmp82);
13473#line 876
13474 __len = (size_t )rx_len;
13475#line 876
13476 __cil_tmp83 = (unsigned long )skb_tmp;
13477#line 876
13478 __cil_tmp84 = __cil_tmp83 + 224;
13479#line 876
13480 __cil_tmp85 = *((unsigned char **)__cil_tmp84);
13481#line 876
13482 __cil_tmp86 = (void *)__cil_tmp85;
13483#line 876
13484 __cil_tmp87 = (unsigned long )skb_data;
13485#line 876
13486 __cil_tmp88 = __cil_tmp87 + 224;
13487#line 876
13488 __cil_tmp89 = *((unsigned char **)__cil_tmp88);
13489#line 876
13490 __cil_tmp90 = __cil_tmp89 + 4;
13491#line 876
13492 __cil_tmp91 = (void const *)__cil_tmp90;
13493#line 876
13494 __ret = __builtin_memcpy(__cil_tmp86, __cil_tmp91, __len);
13495#line 877
13496 __cil_tmp92 = (unsigned long )card;
13497#line 877
13498 __cil_tmp93 = __cil_tmp92 + 564;
13499#line 877
13500 __cil_tmp94 = (unsigned long )card;
13501#line 877
13502 __cil_tmp95 = __cil_tmp94 + 564;
13503#line 877
13504 __cil_tmp96 = *((u32 *)__cil_tmp95);
13505#line 877
13506 *((u32 *)__cil_tmp93) = __cil_tmp96 + 1U;
13507 }
13508 {
13509#line 877
13510 __cil_tmp97 = (unsigned long )card;
13511#line 877
13512 __cil_tmp98 = __cil_tmp97 + 564;
13513#line 877
13514 __cil_tmp99 = *((u32 *)__cil_tmp98);
13515#line 877
13516 __cil_tmp100 = __cil_tmp99 & 63U;
13517#line 877
13518 if (__cil_tmp100 == 32U) {
13519#line 879
13520 __cil_tmp101 = (unsigned long )card;
13521#line 879
13522 __cil_tmp102 = __cil_tmp101 + 564;
13523#line 879
13524 __cil_tmp103 = 1UL << 7;
13525#line 879
13526 __cil_tmp104 = 1UL << 7;
13527#line 879
13528 __cil_tmp105 = (unsigned long )card;
13529#line 879
13530 __cil_tmp106 = __cil_tmp105 + 564;
13531#line 879
13532 __cil_tmp107 = *((u32 *)__cil_tmp106);
13533#line 879
13534 __cil_tmp108 = (unsigned long )__cil_tmp107;
13535#line 879
13536 __cil_tmp109 = __cil_tmp108 & __cil_tmp104;
13537#line 879
13538 __cil_tmp110 = __cil_tmp109 ^ __cil_tmp103;
13539#line 879
13540 *((u32 *)__cil_tmp102) = (u32 )__cil_tmp110;
13541 } else {
13542
13543 }
13544 }
13545 {
13546#line 883
13547 while (1) {
13548 while_continue___4: ;
13549 {
13550#line 883
13551 while (1) {
13552 while_continue___5: ;
13553 {
13554#line 883
13555 __cil_tmp111 = & descriptor___19;
13556#line 883
13557 __cil_tmp112 = __cil_tmp111->flags;
13558#line 883
13559 __cil_tmp113 = __cil_tmp112 & 1U;
13560#line 883
13561 __cil_tmp114 = ! __cil_tmp113;
13562#line 883
13563 __cil_tmp115 = ! __cil_tmp114;
13564#line 883
13565 __cil_tmp116 = (long )__cil_tmp115;
13566#line 883
13567 tmp___10 = __builtin_expect(__cil_tmp116, 0L);
13568 }
13569#line 883
13570 if (tmp___10) {
13571 {
13572#line 883
13573 __cil_tmp117 = (unsigned long )adapter;
13574#line 883
13575 __cil_tmp118 = __cil_tmp117 + 72;
13576#line 883
13577 __cil_tmp119 = *((struct device **)__cil_tmp118);
13578#line 883
13579 __cil_tmp120 = (struct device const *)__cil_tmp119;
13580#line 883
13581 __cil_tmp121 = (unsigned long )card;
13582#line 883
13583 __cil_tmp122 = __cil_tmp121 + 564;
13584#line 883
13585 __cil_tmp123 = *((u32 *)__cil_tmp122);
13586#line 883
13587 __cil_tmp124 = & wrptr;
13588#line 883
13589 __cil_tmp125 = *__cil_tmp124;
13590#line 883
13591 __dynamic_dev_dbg(& descriptor___19, __cil_tmp120, "info: RECV DATA: <Rd: %#x, Wr: %#x>\n",
13592 __cil_tmp123, __cil_tmp125);
13593 }
13594 } else {
13595
13596 }
13597#line 883
13598 goto while_break___5;
13599 }
13600 while_break___5: ;
13601 }
13602#line 883
13603 goto while_break___4;
13604 }
13605 while_break___4: ;
13606 }
13607 {
13608#line 887
13609 __cil_tmp126 = (unsigned long )card;
13610#line 887
13611 __cil_tmp127 = __cil_tmp126 + 564;
13612#line 887
13613 __cil_tmp128 = *((u32 *)__cil_tmp127);
13614#line 887
13615 tmp___11 = mwifiex_write_reg(adapter, 3296, __cil_tmp128);
13616 }
13617#line 887
13618 if (tmp___11) {
13619 {
13620#line 889
13621 __cil_tmp129 = (unsigned long )adapter;
13622#line 889
13623 __cil_tmp130 = __cil_tmp129 + 72;
13624#line 889
13625 __cil_tmp131 = *((struct device **)__cil_tmp130);
13626#line 889
13627 __cil_tmp132 = (struct device const *)__cil_tmp131;
13628#line 889
13629 dev_err(__cil_tmp132, "RECV DATA: failed to write REG_RXBD_RDPTR\n");
13630#line 891
13631 ret = -1;
13632 }
13633#line 892
13634 goto done;
13635 } else {
13636
13637 }
13638 {
13639#line 896
13640 tmp___12 = mwifiex_read_reg(adapter, 3300, & wrptr);
13641 }
13642#line 896
13643 if (tmp___12) {
13644 {
13645#line 897
13646 __cil_tmp133 = (unsigned long )adapter;
13647#line 897
13648 __cil_tmp134 = __cil_tmp133 + 72;
13649#line 897
13650 __cil_tmp135 = *((struct device **)__cil_tmp134);
13651#line 897
13652 __cil_tmp136 = (struct device const *)__cil_tmp135;
13653#line 897
13654 dev_err(__cil_tmp136, "RECV DATA: failed to read REG_TXBD_RDPTR\n");
13655#line 899
13656 ret = -1;
13657 }
13658#line 900
13659 goto done;
13660 } else {
13661
13662 }
13663 {
13664#line 902
13665 while (1) {
13666 while_continue___6: ;
13667 {
13668#line 902
13669 while (1) {
13670 while_continue___7: ;
13671 {
13672#line 902
13673 __cil_tmp137 = & descriptor___20;
13674#line 902
13675 __cil_tmp138 = __cil_tmp137->flags;
13676#line 902
13677 __cil_tmp139 = __cil_tmp138 & 1U;
13678#line 902
13679 __cil_tmp140 = ! __cil_tmp139;
13680#line 902
13681 __cil_tmp141 = ! __cil_tmp140;
13682#line 902
13683 __cil_tmp142 = (long )__cil_tmp141;
13684#line 902
13685 tmp___13 = __builtin_expect(__cil_tmp142, 0L);
13686 }
13687#line 902
13688 if (tmp___13) {
13689 {
13690#line 902
13691 __cil_tmp143 = (unsigned long )adapter;
13692#line 902
13693 __cil_tmp144 = __cil_tmp143 + 72;
13694#line 902
13695 __cil_tmp145 = *((struct device **)__cil_tmp144);
13696#line 902
13697 __cil_tmp146 = (struct device const *)__cil_tmp145;
13698#line 902
13699 __dynamic_dev_dbg(& descriptor___20, __cil_tmp146, "info: RECV DATA: Rcvd packet from fw successfully\n");
13700 }
13701 } else {
13702
13703 }
13704#line 902
13705 goto while_break___7;
13706 }
13707 while_break___7: ;
13708 }
13709#line 902
13710 goto while_break___6;
13711 }
13712 while_break___6: ;
13713 }
13714 {
13715#line 904
13716 mwifiex_handle_rx_packet(adapter, skb_tmp);
13717 }
13718 }
13719 while_break: ;
13720 }
13721 done:
13722#line 908
13723 if (ret) {
13724#line 908
13725 if (skb_tmp) {
13726 {
13727#line 909
13728 dev_kfree_skb_any(skb_tmp);
13729 }
13730 } else {
13731
13732 }
13733 } else {
13734
13735 }
13736#line 910
13737 return (ret);
13738}
13739}
13740#line 916 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
13741static int mwifiex_pcie_send_boot_cmd(struct mwifiex_adapter *adapter , struct sk_buff *skb )
13742{ phys_addr_t *buf_pa ;
13743 phys_addr_t *tmp___7 ;
13744 int tmp___8 ;
13745 int tmp___9 ;
13746 int tmp___10 ;
13747 int tmp___11 ;
13748 unsigned long __cil_tmp9 ;
13749 unsigned long __cil_tmp10 ;
13750 unsigned long __cil_tmp11 ;
13751 unsigned long __cil_tmp12 ;
13752 unsigned long __cil_tmp13 ;
13753 unsigned long __cil_tmp14 ;
13754 struct device *__cil_tmp15 ;
13755 struct device const *__cil_tmp16 ;
13756 unsigned long __cil_tmp17 ;
13757 unsigned long __cil_tmp18 ;
13758 unsigned char *__cil_tmp19 ;
13759 unsigned long __cil_tmp20 ;
13760 unsigned long __cil_tmp21 ;
13761 unsigned int __cil_tmp22 ;
13762 phys_addr_t __cil_tmp23 ;
13763 u32 __cil_tmp24 ;
13764 phys_addr_t __cil_tmp25 ;
13765 u64 __cil_tmp26 ;
13766 u32 __cil_tmp27 ;
13767 unsigned long __cil_tmp28 ;
13768 unsigned long __cil_tmp29 ;
13769 struct device *__cil_tmp30 ;
13770 struct device const *__cil_tmp31 ;
13771 unsigned long __cil_tmp32 ;
13772 unsigned long __cil_tmp33 ;
13773 unsigned char *__cil_tmp34 ;
13774 unsigned long __cil_tmp35 ;
13775 unsigned long __cil_tmp36 ;
13776 unsigned int __cil_tmp37 ;
13777 phys_addr_t __cil_tmp38 ;
13778 u32 __cil_tmp39 ;
13779 phys_addr_t __cil_tmp40 ;
13780 u64 __cil_tmp41 ;
13781 u32 __cil_tmp42 ;
13782 unsigned long __cil_tmp43 ;
13783 unsigned long __cil_tmp44 ;
13784 struct device *__cil_tmp45 ;
13785 struct device const *__cil_tmp46 ;
13786 unsigned long __cil_tmp47 ;
13787 unsigned long __cil_tmp48 ;
13788 unsigned char *__cil_tmp49 ;
13789 unsigned long __cil_tmp50 ;
13790 unsigned long __cil_tmp51 ;
13791 unsigned int __cil_tmp52 ;
13792 phys_addr_t __cil_tmp53 ;
13793 u32 __cil_tmp54 ;
13794 phys_addr_t __cil_tmp55 ;
13795 u64 __cil_tmp56 ;
13796 u32 __cil_tmp57 ;
13797 phys_addr_t __cil_tmp58 ;
13798 u32 __cil_tmp59 ;
13799 unsigned long __cil_tmp60 ;
13800 unsigned long __cil_tmp61 ;
13801 struct device *__cil_tmp62 ;
13802 struct device const *__cil_tmp63 ;
13803 phys_addr_t __cil_tmp64 ;
13804 u64 __cil_tmp65 ;
13805 u32 __cil_tmp66 ;
13806 unsigned long __cil_tmp67 ;
13807 unsigned long __cil_tmp68 ;
13808 struct device *__cil_tmp69 ;
13809 struct device const *__cil_tmp70 ;
13810 unsigned long __cil_tmp71 ;
13811 unsigned long __cil_tmp72 ;
13812 unsigned int __cil_tmp73 ;
13813 unsigned long __cil_tmp74 ;
13814 unsigned long __cil_tmp75 ;
13815 struct device *__cil_tmp76 ;
13816 struct device const *__cil_tmp77 ;
13817 unsigned long __cil_tmp78 ;
13818 u32 __cil_tmp79 ;
13819 unsigned long __cil_tmp80 ;
13820 unsigned long __cil_tmp81 ;
13821 struct device *__cil_tmp82 ;
13822 struct device const *__cil_tmp83 ;
13823
13824 {
13825 {
13826#line 919
13827 tmp___7 = MWIFIEX_SKB_PACB(skb);
13828#line 919
13829 buf_pa = tmp___7;
13830 }
13831 {
13832#line 921
13833 __cil_tmp9 = (unsigned long )skb;
13834#line 921
13835 __cil_tmp10 = __cil_tmp9 + 224;
13836#line 921
13837 if (*((unsigned char **)__cil_tmp10)) {
13838 {
13839#line 921
13840 __cil_tmp11 = (unsigned long )skb;
13841#line 921
13842 __cil_tmp12 = __cil_tmp11 + 104;
13843#line 921
13844 if (*((unsigned int *)__cil_tmp12)) {
13845#line 921
13846 if (*buf_pa) {
13847
13848 } else {
13849 {
13850#line 922
13851 __cil_tmp13 = (unsigned long )adapter;
13852#line 922
13853 __cil_tmp14 = __cil_tmp13 + 72;
13854#line 922
13855 __cil_tmp15 = *((struct device **)__cil_tmp14);
13856#line 922
13857 __cil_tmp16 = (struct device const *)__cil_tmp15;
13858#line 922
13859 __cil_tmp17 = (unsigned long )skb;
13860#line 922
13861 __cil_tmp18 = __cil_tmp17 + 224;
13862#line 922
13863 __cil_tmp19 = *((unsigned char **)__cil_tmp18);
13864#line 922
13865 __cil_tmp20 = (unsigned long )skb;
13866#line 922
13867 __cil_tmp21 = __cil_tmp20 + 104;
13868#line 922
13869 __cil_tmp22 = *((unsigned int *)__cil_tmp21);
13870#line 922
13871 __cil_tmp23 = *buf_pa;
13872#line 922
13873 __cil_tmp24 = (u32 )__cil_tmp23;
13874#line 922
13875 __cil_tmp25 = *buf_pa;
13876#line 922
13877 __cil_tmp26 = __cil_tmp25 >> 32;
13878#line 922
13879 __cil_tmp27 = (u32 )__cil_tmp26;
13880#line 922
13881 dev_err(__cil_tmp16, "Invalid parameter in %s <%p, %#x:%x, %x>\n", "mwifiex_pcie_send_boot_cmd",
13882 __cil_tmp19, __cil_tmp22, __cil_tmp24, __cil_tmp27);
13883 }
13884#line 926
13885 return (-1);
13886 }
13887 } else {
13888 {
13889#line 922
13890 __cil_tmp28 = (unsigned long )adapter;
13891#line 922
13892 __cil_tmp29 = __cil_tmp28 + 72;
13893#line 922
13894 __cil_tmp30 = *((struct device **)__cil_tmp29);
13895#line 922
13896 __cil_tmp31 = (struct device const *)__cil_tmp30;
13897#line 922
13898 __cil_tmp32 = (unsigned long )skb;
13899#line 922
13900 __cil_tmp33 = __cil_tmp32 + 224;
13901#line 922
13902 __cil_tmp34 = *((unsigned char **)__cil_tmp33);
13903#line 922
13904 __cil_tmp35 = (unsigned long )skb;
13905#line 922
13906 __cil_tmp36 = __cil_tmp35 + 104;
13907#line 922
13908 __cil_tmp37 = *((unsigned int *)__cil_tmp36);
13909#line 922
13910 __cil_tmp38 = *buf_pa;
13911#line 922
13912 __cil_tmp39 = (u32 )__cil_tmp38;
13913#line 922
13914 __cil_tmp40 = *buf_pa;
13915#line 922
13916 __cil_tmp41 = __cil_tmp40 >> 32;
13917#line 922
13918 __cil_tmp42 = (u32 )__cil_tmp41;
13919#line 922
13920 dev_err(__cil_tmp31, "Invalid parameter in %s <%p, %#x:%x, %x>\n", "mwifiex_pcie_send_boot_cmd",
13921 __cil_tmp34, __cil_tmp37, __cil_tmp39, __cil_tmp42);
13922 }
13923#line 926
13924 return (-1);
13925 }
13926 }
13927 } else {
13928 {
13929#line 922
13930 __cil_tmp43 = (unsigned long )adapter;
13931#line 922
13932 __cil_tmp44 = __cil_tmp43 + 72;
13933#line 922
13934 __cil_tmp45 = *((struct device **)__cil_tmp44);
13935#line 922
13936 __cil_tmp46 = (struct device const *)__cil_tmp45;
13937#line 922
13938 __cil_tmp47 = (unsigned long )skb;
13939#line 922
13940 __cil_tmp48 = __cil_tmp47 + 224;
13941#line 922
13942 __cil_tmp49 = *((unsigned char **)__cil_tmp48);
13943#line 922
13944 __cil_tmp50 = (unsigned long )skb;
13945#line 922
13946 __cil_tmp51 = __cil_tmp50 + 104;
13947#line 922
13948 __cil_tmp52 = *((unsigned int *)__cil_tmp51);
13949#line 922
13950 __cil_tmp53 = *buf_pa;
13951#line 922
13952 __cil_tmp54 = (u32 )__cil_tmp53;
13953#line 922
13954 __cil_tmp55 = *buf_pa;
13955#line 922
13956 __cil_tmp56 = __cil_tmp55 >> 32;
13957#line 922
13958 __cil_tmp57 = (u32 )__cil_tmp56;
13959#line 922
13960 dev_err(__cil_tmp46, "Invalid parameter in %s <%p, %#x:%x, %x>\n", "mwifiex_pcie_send_boot_cmd",
13961 __cil_tmp49, __cil_tmp52, __cil_tmp54, __cil_tmp57);
13962 }
13963#line 926
13964 return (-1);
13965 }
13966 }
13967 {
13968#line 931
13969 __cil_tmp58 = *buf_pa;
13970#line 931
13971 __cil_tmp59 = (u32 )__cil_tmp58;
13972#line 931
13973 tmp___8 = mwifiex_write_reg(adapter, 3088, __cil_tmp59);
13974 }
13975#line 931
13976 if (tmp___8) {
13977 {
13978#line 932
13979 __cil_tmp60 = (unsigned long )adapter;
13980#line 932
13981 __cil_tmp61 = __cil_tmp60 + 72;
13982#line 932
13983 __cil_tmp62 = *((struct device **)__cil_tmp61);
13984#line 932
13985 __cil_tmp63 = (struct device const *)__cil_tmp62;
13986#line 932
13987 dev_err(__cil_tmp63, "%s: failed to write download command to boot code.\n", "mwifiex_pcie_send_boot_cmd");
13988 }
13989#line 935
13990 return (-1);
13991 } else {
13992
13993 }
13994 {
13995#line 940
13996 __cil_tmp64 = *buf_pa;
13997#line 940
13998 __cil_tmp65 = __cil_tmp64 >> 32;
13999#line 940
14000 __cil_tmp66 = (u32 )__cil_tmp65;
14001#line 940
14002 tmp___9 = mwifiex_write_reg(adapter, 3092, __cil_tmp66);
14003 }
14004#line 940
14005 if (tmp___9) {
14006 {
14007#line 942
14008 __cil_tmp67 = (unsigned long )adapter;
14009#line 942
14010 __cil_tmp68 = __cil_tmp67 + 72;
14011#line 942
14012 __cil_tmp69 = *((struct device **)__cil_tmp68);
14013#line 942
14014 __cil_tmp70 = (struct device const *)__cil_tmp69;
14015#line 942
14016 dev_err(__cil_tmp70, "%s: failed to write download command to boot code.\n", "mwifiex_pcie_send_boot_cmd");
14017 }
14018#line 945
14019 return (-1);
14020 } else {
14021
14022 }
14023 {
14024#line 949
14025 __cil_tmp71 = (unsigned long )skb;
14026#line 949
14027 __cil_tmp72 = __cil_tmp71 + 104;
14028#line 949
14029 __cil_tmp73 = *((unsigned int *)__cil_tmp72);
14030#line 949
14031 tmp___10 = mwifiex_write_reg(adapter, 3136, __cil_tmp73);
14032 }
14033#line 949
14034 if (tmp___10) {
14035 {
14036#line 950
14037 __cil_tmp74 = (unsigned long )adapter;
14038#line 950
14039 __cil_tmp75 = __cil_tmp74 + 72;
14040#line 950
14041 __cil_tmp76 = *((struct device **)__cil_tmp75);
14042#line 950
14043 __cil_tmp77 = (struct device const *)__cil_tmp76;
14044#line 950
14045 dev_err(__cil_tmp77, "%s: failed to write command len to scratch reg 2\n", "mwifiex_pcie_send_boot_cmd");
14046 }
14047#line 953
14048 return (-1);
14049 } else {
14050
14051 }
14052 {
14053#line 957
14054 __cil_tmp78 = 1UL << 1;
14055#line 957
14056 __cil_tmp79 = (u32 )__cil_tmp78;
14057#line 957
14058 tmp___11 = mwifiex_write_reg(adapter, 3096, __cil_tmp79);
14059 }
14060#line 957
14061 if (tmp___11) {
14062 {
14063#line 959
14064 __cil_tmp80 = (unsigned long )adapter;
14065#line 959
14066 __cil_tmp81 = __cil_tmp80 + 72;
14067#line 959
14068 __cil_tmp82 = *((struct device **)__cil_tmp81);
14069#line 959
14070 __cil_tmp83 = (struct device const *)__cil_tmp82;
14071#line 959
14072 dev_err(__cil_tmp83, "%s: failed to assert door-bell intr\n", "mwifiex_pcie_send_boot_cmd");
14073 }
14074#line 961
14075 return (-1);
14076 } else {
14077
14078 }
14079#line 964
14080 return (0);
14081}
14082}
14083#line 970 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
14084static int mwifiex_pcie_send_cmd(struct mwifiex_adapter *adapter , struct sk_buff *skb )
14085{ struct pcie_service_card *card ;
14086 int ret ;
14087 phys_addr_t *cmd_buf_pa ;
14088 phys_addr_t *cmdrsp_buf_pa ;
14089 size_t __len ;
14090 void *__ret ;
14091 int tmp___7 ;
14092 int tmp___8 ;
14093 int tmp___9 ;
14094 int tmp___10 ;
14095 int tmp___11 ;
14096 int tmp___12 ;
14097 unsigned long __cil_tmp15 ;
14098 unsigned long __cil_tmp16 ;
14099 void *__cil_tmp17 ;
14100 unsigned long __cil_tmp18 ;
14101 unsigned long __cil_tmp19 ;
14102 unsigned long __cil_tmp20 ;
14103 unsigned long __cil_tmp21 ;
14104 unsigned long __cil_tmp22 ;
14105 unsigned long __cil_tmp23 ;
14106 struct device *__cil_tmp24 ;
14107 struct device const *__cil_tmp25 ;
14108 unsigned long __cil_tmp26 ;
14109 unsigned long __cil_tmp27 ;
14110 unsigned char *__cil_tmp28 ;
14111 unsigned long __cil_tmp29 ;
14112 unsigned long __cil_tmp30 ;
14113 unsigned int __cil_tmp31 ;
14114 unsigned long __cil_tmp32 ;
14115 unsigned long __cil_tmp33 ;
14116 struct device *__cil_tmp34 ;
14117 struct device const *__cil_tmp35 ;
14118 unsigned long __cil_tmp36 ;
14119 unsigned long __cil_tmp37 ;
14120 unsigned char *__cil_tmp38 ;
14121 unsigned long __cil_tmp39 ;
14122 unsigned long __cil_tmp40 ;
14123 unsigned int __cil_tmp41 ;
14124 unsigned long __cil_tmp42 ;
14125 unsigned long __cil_tmp43 ;
14126 struct sk_buff *__cil_tmp44 ;
14127 unsigned long __cil_tmp45 ;
14128 unsigned long __cil_tmp46 ;
14129 struct device *__cil_tmp47 ;
14130 struct device const *__cil_tmp48 ;
14131 unsigned long __cil_tmp49 ;
14132 unsigned long __cil_tmp50 ;
14133 struct sk_buff *__cil_tmp51 ;
14134 unsigned long __cil_tmp52 ;
14135 unsigned long __cil_tmp53 ;
14136 struct device *__cil_tmp54 ;
14137 struct device const *__cil_tmp55 ;
14138 unsigned long __cil_tmp56 ;
14139 unsigned long __cil_tmp57 ;
14140 unsigned long __cil_tmp58 ;
14141 unsigned long __cil_tmp59 ;
14142 struct sk_buff *__cil_tmp60 ;
14143 unsigned long __cil_tmp61 ;
14144 unsigned long __cil_tmp62 ;
14145 struct sk_buff *__cil_tmp63 ;
14146 unsigned long __cil_tmp64 ;
14147 unsigned long __cil_tmp65 ;
14148 unsigned int __cil_tmp66 ;
14149 unsigned int __cil_tmp67 ;
14150 unsigned long __cil_tmp68 ;
14151 unsigned long __cil_tmp69 ;
14152 struct sk_buff *__cil_tmp70 ;
14153 unsigned long __cil_tmp71 ;
14154 unsigned long __cil_tmp72 ;
14155 unsigned int __cil_tmp73 ;
14156 unsigned long __cil_tmp74 ;
14157 unsigned long __cil_tmp75 ;
14158 unsigned int __cil_tmp76 ;
14159 unsigned long __cil_tmp77 ;
14160 unsigned long __cil_tmp78 ;
14161 struct sk_buff *__cil_tmp79 ;
14162 unsigned long __cil_tmp80 ;
14163 unsigned long __cil_tmp81 ;
14164 unsigned char *__cil_tmp82 ;
14165 void *__cil_tmp83 ;
14166 unsigned long __cil_tmp84 ;
14167 unsigned long __cil_tmp85 ;
14168 unsigned char *__cil_tmp86 ;
14169 void const *__cil_tmp87 ;
14170 unsigned long __cil_tmp88 ;
14171 unsigned long __cil_tmp89 ;
14172 unsigned long __cil_tmp90 ;
14173 unsigned long __cil_tmp91 ;
14174 struct sk_buff *__cil_tmp92 ;
14175 phys_addr_t __cil_tmp93 ;
14176 u32 __cil_tmp94 ;
14177 unsigned long __cil_tmp95 ;
14178 unsigned long __cil_tmp96 ;
14179 struct device *__cil_tmp97 ;
14180 struct device const *__cil_tmp98 ;
14181 phys_addr_t __cil_tmp99 ;
14182 u64 __cil_tmp100 ;
14183 u32 __cil_tmp101 ;
14184 unsigned long __cil_tmp102 ;
14185 unsigned long __cil_tmp103 ;
14186 struct device *__cil_tmp104 ;
14187 struct device const *__cil_tmp105 ;
14188 unsigned long __cil_tmp106 ;
14189 unsigned long __cil_tmp107 ;
14190 struct sk_buff *__cil_tmp108 ;
14191 phys_addr_t __cil_tmp109 ;
14192 u32 __cil_tmp110 ;
14193 unsigned long __cil_tmp111 ;
14194 unsigned long __cil_tmp112 ;
14195 struct device *__cil_tmp113 ;
14196 struct device const *__cil_tmp114 ;
14197 phys_addr_t __cil_tmp115 ;
14198 u64 __cil_tmp116 ;
14199 u32 __cil_tmp117 ;
14200 unsigned long __cil_tmp118 ;
14201 unsigned long __cil_tmp119 ;
14202 struct device *__cil_tmp120 ;
14203 struct device const *__cil_tmp121 ;
14204 unsigned long __cil_tmp122 ;
14205 unsigned long __cil_tmp123 ;
14206 struct sk_buff *__cil_tmp124 ;
14207 unsigned long __cil_tmp125 ;
14208 unsigned long __cil_tmp126 ;
14209 unsigned int __cil_tmp127 ;
14210 unsigned long __cil_tmp128 ;
14211 unsigned long __cil_tmp129 ;
14212 struct device *__cil_tmp130 ;
14213 struct device const *__cil_tmp131 ;
14214 unsigned long __cil_tmp132 ;
14215 u32 __cil_tmp133 ;
14216 unsigned long __cil_tmp134 ;
14217 unsigned long __cil_tmp135 ;
14218 struct device *__cil_tmp136 ;
14219 struct device const *__cil_tmp137 ;
14220 unsigned long __cil_tmp138 ;
14221 unsigned long __cil_tmp139 ;
14222
14223 {
14224#line 973
14225 __cil_tmp15 = (unsigned long )adapter;
14226#line 973
14227 __cil_tmp16 = __cil_tmp15 + 136;
14228#line 973
14229 __cil_tmp17 = *((void **)__cil_tmp16);
14230#line 973
14231 card = (struct pcie_service_card *)__cil_tmp17;
14232#line 974
14233 ret = 0;
14234 {
14235#line 978
14236 __cil_tmp18 = (unsigned long )skb;
14237#line 978
14238 __cil_tmp19 = __cil_tmp18 + 224;
14239#line 978
14240 if (*((unsigned char **)__cil_tmp19)) {
14241 {
14242#line 978
14243 __cil_tmp20 = (unsigned long )skb;
14244#line 978
14245 __cil_tmp21 = __cil_tmp20 + 104;
14246#line 978
14247 if (*((unsigned int *)__cil_tmp21)) {
14248
14249 } else {
14250 {
14251#line 979
14252 __cil_tmp22 = (unsigned long )adapter;
14253#line 979
14254 __cil_tmp23 = __cil_tmp22 + 72;
14255#line 979
14256 __cil_tmp24 = *((struct device **)__cil_tmp23);
14257#line 979
14258 __cil_tmp25 = (struct device const *)__cil_tmp24;
14259#line 979
14260 __cil_tmp26 = (unsigned long )skb;
14261#line 979
14262 __cil_tmp27 = __cil_tmp26 + 224;
14263#line 979
14264 __cil_tmp28 = *((unsigned char **)__cil_tmp27);
14265#line 979
14266 __cil_tmp29 = (unsigned long )skb;
14267#line 979
14268 __cil_tmp30 = __cil_tmp29 + 104;
14269#line 979
14270 __cil_tmp31 = *((unsigned int *)__cil_tmp30);
14271#line 979
14272 dev_err(__cil_tmp25, "Invalid parameter in %s <%p, %#x>\n", "mwifiex_pcie_send_cmd",
14273 __cil_tmp28, __cil_tmp31);
14274 }
14275#line 981
14276 return (-1);
14277 }
14278 }
14279 } else {
14280 {
14281#line 979
14282 __cil_tmp32 = (unsigned long )adapter;
14283#line 979
14284 __cil_tmp33 = __cil_tmp32 + 72;
14285#line 979
14286 __cil_tmp34 = *((struct device **)__cil_tmp33);
14287#line 979
14288 __cil_tmp35 = (struct device const *)__cil_tmp34;
14289#line 979
14290 __cil_tmp36 = (unsigned long )skb;
14291#line 979
14292 __cil_tmp37 = __cil_tmp36 + 224;
14293#line 979
14294 __cil_tmp38 = *((unsigned char **)__cil_tmp37);
14295#line 979
14296 __cil_tmp39 = (unsigned long )skb;
14297#line 979
14298 __cil_tmp40 = __cil_tmp39 + 104;
14299#line 979
14300 __cil_tmp41 = *((unsigned int *)__cil_tmp40);
14301#line 979
14302 dev_err(__cil_tmp35, "Invalid parameter in %s <%p, %#x>\n", "mwifiex_pcie_send_cmd",
14303 __cil_tmp38, __cil_tmp41);
14304 }
14305#line 981
14306 return (-1);
14307 }
14308 }
14309 {
14310#line 985
14311 __cil_tmp42 = (unsigned long )card;
14312#line 985
14313 __cil_tmp43 = __cil_tmp42 + 1208;
14314#line 985
14315 __cil_tmp44 = *((struct sk_buff **)__cil_tmp43);
14316#line 985
14317 if (! __cil_tmp44) {
14318 {
14319#line 986
14320 __cil_tmp45 = (unsigned long )adapter;
14321#line 986
14322 __cil_tmp46 = __cil_tmp45 + 72;
14323#line 986
14324 __cil_tmp47 = *((struct device **)__cil_tmp46);
14325#line 986
14326 __cil_tmp48 = (struct device const *)__cil_tmp47;
14327#line 986
14328 dev_err(__cil_tmp48, "No response buffer available, send command failed\n");
14329 }
14330#line 988
14331 return (-16);
14332 } else {
14333
14334 }
14335 }
14336 {
14337#line 992
14338 __cil_tmp49 = (unsigned long )card;
14339#line 992
14340 __cil_tmp50 = __cil_tmp49 + 1200;
14341#line 992
14342 __cil_tmp51 = *((struct sk_buff **)__cil_tmp50);
14343#line 992
14344 if (! __cil_tmp51) {
14345 {
14346#line 993
14347 __cil_tmp52 = (unsigned long )adapter;
14348#line 993
14349 __cil_tmp53 = __cil_tmp52 + 72;
14350#line 993
14351 __cil_tmp54 = *((struct device **)__cil_tmp53);
14352#line 993
14353 __cil_tmp55 = (struct device const *)__cil_tmp54;
14354#line 993
14355 dev_err(__cil_tmp55, "Command buffer not available\n");
14356 }
14357#line 994
14358 return (-16);
14359 } else {
14360
14361 }
14362 }
14363 {
14364#line 997
14365 __cil_tmp56 = (unsigned long )adapter;
14366#line 997
14367 __cil_tmp57 = __cil_tmp56 + 2801;
14368#line 997
14369 *((u8 *)__cil_tmp57) = (u8 )1;
14370#line 999
14371 __cil_tmp58 = (unsigned long )card;
14372#line 999
14373 __cil_tmp59 = __cil_tmp58 + 1200;
14374#line 999
14375 __cil_tmp60 = *((struct sk_buff **)__cil_tmp59);
14376#line 999
14377 __cil_tmp61 = (unsigned long )card;
14378#line 999
14379 __cil_tmp62 = __cil_tmp61 + 1200;
14380#line 999
14381 __cil_tmp63 = *((struct sk_buff **)__cil_tmp62);
14382#line 999
14383 __cil_tmp64 = (unsigned long )__cil_tmp63;
14384#line 999
14385 __cil_tmp65 = __cil_tmp64 + 104;
14386#line 999
14387 __cil_tmp66 = *((unsigned int *)__cil_tmp65);
14388#line 999
14389 __cil_tmp67 = 2048U - __cil_tmp66;
14390#line 999
14391 skb_put(__cil_tmp60, __cil_tmp67);
14392#line 1000
14393 __cil_tmp68 = (unsigned long )card;
14394#line 1000
14395 __cil_tmp69 = __cil_tmp68 + 1200;
14396#line 1000
14397 __cil_tmp70 = *((struct sk_buff **)__cil_tmp69);
14398#line 1000
14399 __cil_tmp71 = (unsigned long )skb;
14400#line 1000
14401 __cil_tmp72 = __cil_tmp71 + 104;
14402#line 1000
14403 __cil_tmp73 = *((unsigned int *)__cil_tmp72);
14404#line 1000
14405 skb_trim(__cil_tmp70, __cil_tmp73);
14406#line 1001
14407 __cil_tmp74 = (unsigned long )skb;
14408#line 1001
14409 __cil_tmp75 = __cil_tmp74 + 104;
14410#line 1001
14411 __cil_tmp76 = *((unsigned int *)__cil_tmp75);
14412#line 1001
14413 __len = (size_t )__cil_tmp76;
14414#line 1001
14415 __cil_tmp77 = (unsigned long )card;
14416#line 1001
14417 __cil_tmp78 = __cil_tmp77 + 1200;
14418#line 1001
14419 __cil_tmp79 = *((struct sk_buff **)__cil_tmp78);
14420#line 1001
14421 __cil_tmp80 = (unsigned long )__cil_tmp79;
14422#line 1001
14423 __cil_tmp81 = __cil_tmp80 + 224;
14424#line 1001
14425 __cil_tmp82 = *((unsigned char **)__cil_tmp81);
14426#line 1001
14427 __cil_tmp83 = (void *)__cil_tmp82;
14428#line 1001
14429 __cil_tmp84 = (unsigned long )skb;
14430#line 1001
14431 __cil_tmp85 = __cil_tmp84 + 224;
14432#line 1001
14433 __cil_tmp86 = *((unsigned char **)__cil_tmp85);
14434#line 1001
14435 __cil_tmp87 = (void const *)__cil_tmp86;
14436#line 1001
14437 __ret = __builtin_memcpy(__cil_tmp83, __cil_tmp87, __len);
14438 }
14439 {
14440#line 1013
14441 __cil_tmp88 = (unsigned long )card;
14442#line 1013
14443 __cil_tmp89 = __cil_tmp88 + 1208;
14444#line 1013
14445 if (*((struct sk_buff **)__cil_tmp89)) {
14446 {
14447#line 1014
14448 __cil_tmp90 = (unsigned long )card;
14449#line 1014
14450 __cil_tmp91 = __cil_tmp90 + 1208;
14451#line 1014
14452 __cil_tmp92 = *((struct sk_buff **)__cil_tmp91);
14453#line 1014
14454 cmdrsp_buf_pa = MWIFIEX_SKB_PACB(__cil_tmp92);
14455#line 1017
14456 __cil_tmp93 = *cmdrsp_buf_pa;
14457#line 1017
14458 __cil_tmp94 = (u32 )__cil_tmp93;
14459#line 1017
14460 tmp___7 = mwifiex_write_reg(adapter, 3280, __cil_tmp94);
14461 }
14462#line 1017
14463 if (tmp___7) {
14464 {
14465#line 1019
14466 __cil_tmp95 = (unsigned long )adapter;
14467#line 1019
14468 __cil_tmp96 = __cil_tmp95 + 72;
14469#line 1019
14470 __cil_tmp97 = *((struct device **)__cil_tmp96);
14471#line 1019
14472 __cil_tmp98 = (struct device const *)__cil_tmp97;
14473#line 1019
14474 dev_err(__cil_tmp98, "Failed to write download cmd to boot code.\n");
14475#line 1021
14476 ret = -1;
14477 }
14478#line 1022
14479 goto done;
14480 } else {
14481
14482 }
14483 {
14484#line 1026
14485 __cil_tmp99 = *cmdrsp_buf_pa;
14486#line 1026
14487 __cil_tmp100 = __cil_tmp99 >> 32;
14488#line 1026
14489 __cil_tmp101 = (u32 )__cil_tmp100;
14490#line 1026
14491 tmp___8 = mwifiex_write_reg(adapter, 3284, __cil_tmp101);
14492 }
14493#line 1026
14494 if (tmp___8) {
14495 {
14496#line 1028
14497 __cil_tmp102 = (unsigned long )adapter;
14498#line 1028
14499 __cil_tmp103 = __cil_tmp102 + 72;
14500#line 1028
14501 __cil_tmp104 = *((struct device **)__cil_tmp103);
14502#line 1028
14503 __cil_tmp105 = (struct device const *)__cil_tmp104;
14504#line 1028
14505 dev_err(__cil_tmp105, "Failed to write download cmd to boot code.\n");
14506#line 1030
14507 ret = -1;
14508 }
14509#line 1031
14510 goto done;
14511 } else {
14512
14513 }
14514 } else {
14515
14516 }
14517 }
14518 {
14519#line 1035
14520 __cil_tmp106 = (unsigned long )card;
14521#line 1035
14522 __cil_tmp107 = __cil_tmp106 + 1200;
14523#line 1035
14524 __cil_tmp108 = *((struct sk_buff **)__cil_tmp107);
14525#line 1035
14526 cmd_buf_pa = MWIFIEX_SKB_PACB(__cil_tmp108);
14527#line 1037
14528 __cil_tmp109 = *cmd_buf_pa;
14529#line 1037
14530 __cil_tmp110 = (u32 )__cil_tmp109;
14531#line 1037
14532 tmp___9 = mwifiex_write_reg(adapter, 3088, __cil_tmp110);
14533 }
14534#line 1037
14535 if (tmp___9) {
14536 {
14537#line 1038
14538 __cil_tmp111 = (unsigned long )adapter;
14539#line 1038
14540 __cil_tmp112 = __cil_tmp111 + 72;
14541#line 1038
14542 __cil_tmp113 = *((struct device **)__cil_tmp112);
14543#line 1038
14544 __cil_tmp114 = (struct device const *)__cil_tmp113;
14545#line 1038
14546 dev_err(__cil_tmp114, "Failed to write download cmd to boot code.\n");
14547#line 1040
14548 ret = -1;
14549 }
14550#line 1041
14551 goto done;
14552 } else {
14553
14554 }
14555 {
14556#line 1044
14557 __cil_tmp115 = *cmd_buf_pa;
14558#line 1044
14559 __cil_tmp116 = __cil_tmp115 >> 32;
14560#line 1044
14561 __cil_tmp117 = (u32 )__cil_tmp116;
14562#line 1044
14563 tmp___10 = mwifiex_write_reg(adapter, 3092, __cil_tmp117);
14564 }
14565#line 1044
14566 if (tmp___10) {
14567 {
14568#line 1046
14569 __cil_tmp118 = (unsigned long )adapter;
14570#line 1046
14571 __cil_tmp119 = __cil_tmp118 + 72;
14572#line 1046
14573 __cil_tmp120 = *((struct device **)__cil_tmp119);
14574#line 1046
14575 __cil_tmp121 = (struct device const *)__cil_tmp120;
14576#line 1046
14577 dev_err(__cil_tmp121, "Failed to write download cmd to boot code.\n");
14578#line 1048
14579 ret = -1;
14580 }
14581#line 1049
14582 goto done;
14583 } else {
14584
14585 }
14586 {
14587#line 1053
14588 __cil_tmp122 = (unsigned long )card;
14589#line 1053
14590 __cil_tmp123 = __cil_tmp122 + 1200;
14591#line 1053
14592 __cil_tmp124 = *((struct sk_buff **)__cil_tmp123);
14593#line 1053
14594 __cil_tmp125 = (unsigned long )__cil_tmp124;
14595#line 1053
14596 __cil_tmp126 = __cil_tmp125 + 104;
14597#line 1053
14598 __cil_tmp127 = *((unsigned int *)__cil_tmp126);
14599#line 1053
14600 tmp___11 = mwifiex_write_reg(adapter, 3136, __cil_tmp127);
14601 }
14602#line 1053
14603 if (tmp___11) {
14604 {
14605#line 1054
14606 __cil_tmp128 = (unsigned long )adapter;
14607#line 1054
14608 __cil_tmp129 = __cil_tmp128 + 72;
14609#line 1054
14610 __cil_tmp130 = *((struct device **)__cil_tmp129);
14611#line 1054
14612 __cil_tmp131 = (struct device const *)__cil_tmp130;
14613#line 1054
14614 dev_err(__cil_tmp131, "Failed to write cmd len to REG_CMD_SIZE\n");
14615#line 1056
14616 ret = -1;
14617 }
14618#line 1057
14619 goto done;
14620 } else {
14621
14622 }
14623 {
14624#line 1061
14625 __cil_tmp132 = 1UL << 1;
14626#line 1061
14627 __cil_tmp133 = (u32 )__cil_tmp132;
14628#line 1061
14629 tmp___12 = mwifiex_write_reg(adapter, 3096, __cil_tmp133);
14630 }
14631#line 1061
14632 if (tmp___12) {
14633 {
14634#line 1063
14635 __cil_tmp134 = (unsigned long )adapter;
14636#line 1063
14637 __cil_tmp135 = __cil_tmp134 + 72;
14638#line 1063
14639 __cil_tmp136 = *((struct device **)__cil_tmp135);
14640#line 1063
14641 __cil_tmp137 = (struct device const *)__cil_tmp136;
14642#line 1063
14643 dev_err(__cil_tmp137, "Failed to assert door-bell intr\n");
14644#line 1065
14645 ret = -1;
14646 }
14647#line 1066
14648 goto done;
14649 } else {
14650
14651 }
14652 done:
14653#line 1070
14654 if (ret) {
14655#line 1071
14656 __cil_tmp138 = (unsigned long )adapter;
14657#line 1071
14658 __cil_tmp139 = __cil_tmp138 + 2801;
14659#line 1071
14660 *((u8 *)__cil_tmp139) = (u8 )0;
14661 } else {
14662
14663 }
14664#line 1073
14665 return (0);
14666}
14667}
14668#line 1085
14669static int mwifiex_pcie_process_cmd_complete(struct mwifiex_adapter *adapter ) ;
14670#line 1085 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
14671static struct _ddebug __attribute__((__aligned__(8))) descriptor___21 __attribute__((__used__,
14672__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_process_cmd_complete", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
14673 "info: Rx CMD Response\n", 1085U, 0U};
14674#line 1079 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
14675static int mwifiex_pcie_process_cmd_complete(struct mwifiex_adapter *adapter )
14676{ struct pcie_service_card *card ;
14677 struct sk_buff *skb ;
14678 int count ;
14679 long tmp___7 ;
14680 bool tmp___8 ;
14681 int tmp___9 ;
14682 size_t __len ;
14683 u32 __min1 ;
14684 u32 __min2 ;
14685 u32 tmp___10 ;
14686 void *__ret ;
14687 int tmp___12 ;
14688 int tmp___13 ;
14689 bool tmp___14 ;
14690 unsigned long __cil_tmp19 ;
14691 unsigned long __cil_tmp20 ;
14692 void *__cil_tmp21 ;
14693 unsigned long __cil_tmp22 ;
14694 unsigned long __cil_tmp23 ;
14695 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp24 ;
14696 unsigned int __cil_tmp25 ;
14697 unsigned int __cil_tmp26 ;
14698 int __cil_tmp27 ;
14699 int __cil_tmp28 ;
14700 long __cil_tmp29 ;
14701 unsigned long __cil_tmp30 ;
14702 unsigned long __cil_tmp31 ;
14703 struct device *__cil_tmp32 ;
14704 struct device const *__cil_tmp33 ;
14705 unsigned long __cil_tmp34 ;
14706 unsigned long __cil_tmp35 ;
14707 struct cmd_ctrl_node *__cil_tmp36 ;
14708 unsigned long __cil_tmp37 ;
14709 unsigned long __cil_tmp38 ;
14710 u32 __cil_tmp39 ;
14711 unsigned long __cil_tmp40 ;
14712 unsigned long __cil_tmp41 ;
14713 unsigned char *__cil_tmp42 ;
14714 unsigned long __cil_tmp43 ;
14715 unsigned long __cil_tmp44 ;
14716 unsigned int __cil_tmp45 ;
14717 unsigned long __cil_tmp46 ;
14718 unsigned long __cil_tmp47 ;
14719 struct device *__cil_tmp48 ;
14720 struct device const *__cil_tmp49 ;
14721 unsigned long __cil_tmp50 ;
14722 unsigned long __cil_tmp51 ;
14723 unsigned long __cil_tmp52 ;
14724 unsigned long __cil_tmp53 ;
14725 unsigned long __cil_tmp54 ;
14726 unsigned long __cil_tmp55 ;
14727 u8 *__cil_tmp56 ;
14728 void *__cil_tmp57 ;
14729 unsigned long __cil_tmp58 ;
14730 unsigned long __cil_tmp59 ;
14731 unsigned char *__cil_tmp60 ;
14732 void const *__cil_tmp61 ;
14733 unsigned long __cil_tmp62 ;
14734 unsigned long __cil_tmp63 ;
14735 struct cmd_ctrl_node *__cil_tmp64 ;
14736 unsigned long __cil_tmp65 ;
14737 unsigned long __cil_tmp66 ;
14738 unsigned long __cil_tmp67 ;
14739 unsigned long __cil_tmp68 ;
14740 unsigned long __cil_tmp69 ;
14741 unsigned long __cil_tmp70 ;
14742 void *__cil_tmp71 ;
14743 u32 __cil_tmp72 ;
14744 unsigned long __cil_tmp73 ;
14745 unsigned long __cil_tmp74 ;
14746 struct device *__cil_tmp75 ;
14747 struct device const *__cil_tmp76 ;
14748 u32 __cil_tmp77 ;
14749 unsigned long __cil_tmp78 ;
14750 unsigned long __cil_tmp79 ;
14751 struct device *__cil_tmp80 ;
14752 struct device const *__cil_tmp81 ;
14753
14754 {
14755#line 1081
14756 __cil_tmp19 = (unsigned long )adapter;
14757#line 1081
14758 __cil_tmp20 = __cil_tmp19 + 136;
14759#line 1081
14760 __cil_tmp21 = *((void **)__cil_tmp20);
14761#line 1081
14762 card = (struct pcie_service_card *)__cil_tmp21;
14763#line 1082
14764 __cil_tmp22 = (unsigned long )card;
14765#line 1082
14766 __cil_tmp23 = __cil_tmp22 + 1208;
14767#line 1082
14768 skb = *((struct sk_buff **)__cil_tmp23);
14769#line 1083
14770 count = 0;
14771 {
14772#line 1085
14773 while (1) {
14774 while_continue: ;
14775 {
14776#line 1085
14777 while (1) {
14778 while_continue___0: ;
14779 {
14780#line 1085
14781 __cil_tmp24 = & descriptor___21;
14782#line 1085
14783 __cil_tmp25 = __cil_tmp24->flags;
14784#line 1085
14785 __cil_tmp26 = __cil_tmp25 & 1U;
14786#line 1085
14787 __cil_tmp27 = ! __cil_tmp26;
14788#line 1085
14789 __cil_tmp28 = ! __cil_tmp27;
14790#line 1085
14791 __cil_tmp29 = (long )__cil_tmp28;
14792#line 1085
14793 tmp___7 = __builtin_expect(__cil_tmp29, 0L);
14794 }
14795#line 1085
14796 if (tmp___7) {
14797 {
14798#line 1085
14799 __cil_tmp30 = (unsigned long )adapter;
14800#line 1085
14801 __cil_tmp31 = __cil_tmp30 + 72;
14802#line 1085
14803 __cil_tmp32 = *((struct device **)__cil_tmp31);
14804#line 1085
14805 __cil_tmp33 = (struct device const *)__cil_tmp32;
14806#line 1085
14807 __dynamic_dev_dbg(& descriptor___21, __cil_tmp33, "info: Rx CMD Response\n");
14808 }
14809 } else {
14810
14811 }
14812#line 1085
14813 goto while_break___0;
14814 }
14815 while_break___0: ;
14816 }
14817#line 1085
14818 goto while_break;
14819 }
14820 while_break: ;
14821 }
14822 {
14823#line 1087
14824 __cil_tmp34 = (unsigned long )adapter;
14825#line 1087
14826 __cil_tmp35 = __cil_tmp34 + 2816;
14827#line 1087
14828 __cil_tmp36 = *((struct cmd_ctrl_node **)__cil_tmp35);
14829#line 1087
14830 if (! __cil_tmp36) {
14831 {
14832#line 1088
14833 skb_pull(skb, 4U);
14834 }
14835 {
14836#line 1089
14837 __cil_tmp37 = (unsigned long )adapter;
14838#line 1089
14839 __cil_tmp38 = __cil_tmp37 + 3364;
14840#line 1089
14841 __cil_tmp39 = *((u32 *)__cil_tmp38);
14842#line 1089
14843 if (__cil_tmp39 == 2U) {
14844 {
14845#line 1090
14846 __cil_tmp40 = (unsigned long )skb;
14847#line 1090
14848 __cil_tmp41 = __cil_tmp40 + 224;
14849#line 1090
14850 __cil_tmp42 = *((unsigned char **)__cil_tmp41);
14851#line 1090
14852 __cil_tmp43 = (unsigned long )skb;
14853#line 1090
14854 __cil_tmp44 = __cil_tmp43 + 104;
14855#line 1090
14856 __cil_tmp45 = *((unsigned int *)__cil_tmp44);
14857#line 1090
14858 mwifiex_process_sleep_confirm_resp(adapter, __cil_tmp42, __cil_tmp45);
14859 }
14860 {
14861#line 1092
14862 while (1) {
14863 while_continue___1: ;
14864 {
14865#line 1092
14866 tmp___8 = mwifiex_pcie_ok_to_access_hw(adapter);
14867 }
14868#line 1092
14869 if (tmp___8) {
14870#line 1092
14871 tmp___9 = count;
14872#line 1092
14873 count = count + 1;
14874#line 1092
14875 if (tmp___9 < 10) {
14876
14877 } else {
14878#line 1092
14879 goto while_break___1;
14880 }
14881 } else {
14882#line 1092
14883 goto while_break___1;
14884 }
14885 {
14886#line 1094
14887 usleep_range(50UL, 60UL);
14888 }
14889 }
14890 while_break___1: ;
14891 }
14892 } else {
14893 {
14894#line 1096
14895 __cil_tmp46 = (unsigned long )adapter;
14896#line 1096
14897 __cil_tmp47 = __cil_tmp46 + 72;
14898#line 1096
14899 __cil_tmp48 = *((struct device **)__cil_tmp47);
14900#line 1096
14901 __cil_tmp49 = (struct device const *)__cil_tmp48;
14902#line 1096
14903 dev_err(__cil_tmp49, "There is no command but got cmdrsp\n");
14904 }
14905 }
14906 }
14907#line 1099
14908 __min1 = (u32 )2048;
14909#line 1099
14910 __cil_tmp50 = (unsigned long )skb;
14911#line 1099
14912 __cil_tmp51 = __cil_tmp50 + 104;
14913#line 1099
14914 __min2 = *((unsigned int *)__cil_tmp51);
14915#line 1099
14916 if (__min1 < __min2) {
14917#line 1099
14918 tmp___10 = __min1;
14919 } else {
14920#line 1099
14921 tmp___10 = __min2;
14922 }
14923 {
14924#line 1099
14925 __len = (size_t )tmp___10;
14926#line 1099
14927 __cil_tmp52 = 0 * 1UL;
14928#line 1099
14929 __cil_tmp53 = 488 + __cil_tmp52;
14930#line 1099
14931 __cil_tmp54 = (unsigned long )adapter;
14932#line 1099
14933 __cil_tmp55 = __cil_tmp54 + __cil_tmp53;
14934#line 1099
14935 __cil_tmp56 = (u8 *)__cil_tmp55;
14936#line 1099
14937 __cil_tmp57 = (void *)__cil_tmp56;
14938#line 1099
14939 __cil_tmp58 = (unsigned long )skb;
14940#line 1099
14941 __cil_tmp59 = __cil_tmp58 + 224;
14942#line 1099
14943 __cil_tmp60 = *((unsigned char **)__cil_tmp59);
14944#line 1099
14945 __cil_tmp61 = (void const *)__cil_tmp60;
14946#line 1099
14947 __ret = __builtin_memcpy(__cil_tmp57, __cil_tmp61, __len);
14948#line 1101
14949 skb_push(skb, 4U);
14950 }
14951 } else {
14952 {
14953#line 1102
14954 tmp___14 = mwifiex_pcie_ok_to_access_hw(adapter);
14955 }
14956#line 1102
14957 if (tmp___14) {
14958 {
14959#line 1103
14960 skb_pull(skb, 4U);
14961#line 1104
14962 __cil_tmp62 = (unsigned long )adapter;
14963#line 1104
14964 __cil_tmp63 = __cil_tmp62 + 2816;
14965#line 1104
14966 __cil_tmp64 = *((struct cmd_ctrl_node **)__cil_tmp63);
14967#line 1104
14968 __cil_tmp65 = (unsigned long )__cil_tmp64;
14969#line 1104
14970 __cil_tmp66 = __cil_tmp65 + 40;
14971#line 1104
14972 *((struct sk_buff **)__cil_tmp66) = skb;
14973#line 1105
14974 __cil_tmp67 = (unsigned long )adapter;
14975#line 1105
14976 __cil_tmp68 = __cil_tmp67 + 2802;
14977#line 1105
14978 *((u8 *)__cil_tmp68) = (u8 )1;
14979#line 1108
14980 __cil_tmp69 = (unsigned long )card;
14981#line 1108
14982 __cil_tmp70 = __cil_tmp69 + 1208;
14983#line 1108
14984 __cil_tmp71 = (void *)0;
14985#line 1108
14986 *((struct sk_buff **)__cil_tmp70) = (struct sk_buff *)__cil_tmp71;
14987#line 1113
14988 __cil_tmp72 = (u32 )0;
14989#line 1113
14990 tmp___12 = mwifiex_write_reg(adapter, 3280, __cil_tmp72);
14991 }
14992#line 1113
14993 if (tmp___12) {
14994 {
14995#line 1114
14996 __cil_tmp73 = (unsigned long )adapter;
14997#line 1114
14998 __cil_tmp74 = __cil_tmp73 + 72;
14999#line 1114
15000 __cil_tmp75 = *((struct device **)__cil_tmp74);
15001#line 1114
15002 __cil_tmp76 = (struct device const *)__cil_tmp75;
15003#line 1114
15004 dev_err(__cil_tmp76, "cmd_done: failed to clear cmd_rsp_addr_lo\n");
15005 }
15006#line 1116
15007 return (-1);
15008 } else {
15009
15010 }
15011 {
15012#line 1120
15013 __cil_tmp77 = (u32 )0;
15014#line 1120
15015 tmp___13 = mwifiex_write_reg(adapter, 3284, __cil_tmp77);
15016 }
15017#line 1120
15018 if (tmp___13) {
15019 {
15020#line 1121
15021 __cil_tmp78 = (unsigned long )adapter;
15022#line 1121
15023 __cil_tmp79 = __cil_tmp78 + 72;
15024#line 1121
15025 __cil_tmp80 = *((struct device **)__cil_tmp79);
15026#line 1121
15027 __cil_tmp81 = (struct device const *)__cil_tmp80;
15028#line 1121
15029 dev_err(__cil_tmp81, "cmd_done: failed to clear cmd_rsp_addr_hi\n");
15030 }
15031#line 1123
15032 return (-1);
15033 } else {
15034
15035 }
15036 } else {
15037
15038 }
15039 }
15040 }
15041#line 1127
15042 return (0);
15043}
15044}
15045#line 1133 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
15046static int mwifiex_pcie_cmdrsp_complete(struct mwifiex_adapter *adapter , struct sk_buff *skb )
15047{ struct pcie_service_card *card ;
15048 unsigned long __cil_tmp4 ;
15049 unsigned long __cil_tmp5 ;
15050 void *__cil_tmp6 ;
15051 unsigned long __cil_tmp7 ;
15052 unsigned long __cil_tmp8 ;
15053 unsigned long __cil_tmp9 ;
15054 unsigned long __cil_tmp10 ;
15055 struct sk_buff *__cil_tmp11 ;
15056
15057 {
15058#line 1136
15059 __cil_tmp4 = (unsigned long )adapter;
15060#line 1136
15061 __cil_tmp5 = __cil_tmp4 + 136;
15062#line 1136
15063 __cil_tmp6 = *((void **)__cil_tmp5);
15064#line 1136
15065 card = (struct pcie_service_card *)__cil_tmp6;
15066#line 1138
15067 if (skb) {
15068 {
15069#line 1139
15070 __cil_tmp7 = (unsigned long )card;
15071#line 1139
15072 __cil_tmp8 = __cil_tmp7 + 1208;
15073#line 1139
15074 *((struct sk_buff **)__cil_tmp8) = skb;
15075#line 1140
15076 __cil_tmp9 = (unsigned long )card;
15077#line 1140
15078 __cil_tmp10 = __cil_tmp9 + 1208;
15079#line 1140
15080 __cil_tmp11 = *((struct sk_buff **)__cil_tmp10);
15081#line 1140
15082 skb_push(__cil_tmp11, 4U);
15083 }
15084 } else {
15085
15086 }
15087#line 1143
15088 return (0);
15089}
15090}
15091#line 1156
15092static int mwifiex_pcie_process_event_ready(struct mwifiex_adapter *adapter ) ;
15093#line 1156 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
15094static struct _ddebug __attribute__((__aligned__(8))) descriptor___22 __attribute__((__used__,
15095__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_process_event_ready", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
15096 "info: Event being processed, do not process this interrupt just yet\n", 1157U,
15097 0U};
15098#line 1162
15099static int mwifiex_pcie_process_event_ready(struct mwifiex_adapter *adapter ) ;
15100#line 1162 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
15101static struct _ddebug __attribute__((__aligned__(8))) descriptor___23 __attribute__((__used__,
15102__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_process_event_ready", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
15103 "info: Invalid read pointer...\n", 1162U, 0U};
15104#line 1173
15105static int mwifiex_pcie_process_event_ready(struct mwifiex_adapter *adapter ) ;
15106#line 1173 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
15107static struct _ddebug __attribute__((__aligned__(8))) descriptor___24 __attribute__((__used__,
15108__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_process_event_ready", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
15109 "info: EventReady: Initial <Rd: 0x%x, Wr: 0x%x>", 1174U, 0U};
15110#line 1183
15111static int mwifiex_pcie_process_event_ready(struct mwifiex_adapter *adapter ) ;
15112#line 1183 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
15113static struct _ddebug __attribute__((__aligned__(8))) descriptor___25 __attribute__((__used__,
15114__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_process_event_ready", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
15115 "info: Read Index: %d\n", 1183U, 0U};
15116#line 1200
15117static int mwifiex_pcie_process_event_ready(struct mwifiex_adapter *adapter ) ;
15118#line 1200 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
15119static struct _ddebug __attribute__((__aligned__(8))) descriptor___26 __attribute__((__used__,
15120__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_process_event_ready", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
15121 "info: Event length: %d\n", 1200U, 0U};
15122#line 1149 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
15123static int mwifiex_pcie_process_event_ready(struct mwifiex_adapter *adapter )
15124{ struct pcie_service_card *card ;
15125 u32 rdptr ;
15126 u32 wrptr ;
15127 u32 event ;
15128 long tmp___7 ;
15129 long tmp___8 ;
15130 int tmp___9 ;
15131 long tmp___10 ;
15132 struct sk_buff *skb_cmd ;
15133 __le16 data_len ;
15134 u16 evt_len ;
15135 long tmp___11 ;
15136 size_t __len ;
15137 void *__ret ;
15138 long tmp___12 ;
15139 size_t __len___0 ;
15140 void *__ret___0 ;
15141 unsigned long __cil_tmp19 ;
15142 unsigned long __cil_tmp20 ;
15143 void *__cil_tmp21 ;
15144 unsigned long __cil_tmp22 ;
15145 unsigned long __cil_tmp23 ;
15146 u32 __cil_tmp24 ;
15147 unsigned long __cil_tmp25 ;
15148 unsigned long __cil_tmp26 ;
15149 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp27 ;
15150 unsigned int __cil_tmp28 ;
15151 unsigned int __cil_tmp29 ;
15152 int __cil_tmp30 ;
15153 int __cil_tmp31 ;
15154 long __cil_tmp32 ;
15155 unsigned long __cil_tmp33 ;
15156 unsigned long __cil_tmp34 ;
15157 struct device *__cil_tmp35 ;
15158 struct device const *__cil_tmp36 ;
15159 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp37 ;
15160 unsigned int __cil_tmp38 ;
15161 unsigned int __cil_tmp39 ;
15162 int __cil_tmp40 ;
15163 int __cil_tmp41 ;
15164 long __cil_tmp42 ;
15165 unsigned long __cil_tmp43 ;
15166 unsigned long __cil_tmp44 ;
15167 struct device *__cil_tmp45 ;
15168 struct device const *__cil_tmp46 ;
15169 unsigned long __cil_tmp47 ;
15170 unsigned long __cil_tmp48 ;
15171 struct device *__cil_tmp49 ;
15172 struct device const *__cil_tmp50 ;
15173 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp51 ;
15174 unsigned int __cil_tmp52 ;
15175 unsigned int __cil_tmp53 ;
15176 int __cil_tmp54 ;
15177 int __cil_tmp55 ;
15178 long __cil_tmp56 ;
15179 unsigned long __cil_tmp57 ;
15180 unsigned long __cil_tmp58 ;
15181 struct device *__cil_tmp59 ;
15182 struct device const *__cil_tmp60 ;
15183 unsigned long __cil_tmp61 ;
15184 unsigned long __cil_tmp62 ;
15185 u32 __cil_tmp63 ;
15186 u32 *__cil_tmp64 ;
15187 u32 __cil_tmp65 ;
15188 unsigned long __cil_tmp66 ;
15189 unsigned long __cil_tmp67 ;
15190 u32 __cil_tmp68 ;
15191 unsigned int __cil_tmp69 ;
15192 u32 *__cil_tmp70 ;
15193 u32 __cil_tmp71 ;
15194 unsigned int __cil_tmp72 ;
15195 unsigned long __cil_tmp73 ;
15196 unsigned long __cil_tmp74 ;
15197 unsigned long __cil_tmp75 ;
15198 u32 __cil_tmp76 ;
15199 unsigned long __cil_tmp77 ;
15200 unsigned long __cil_tmp78 ;
15201 unsigned long __cil_tmp79 ;
15202 u32 *__cil_tmp80 ;
15203 u32 __cil_tmp81 ;
15204 unsigned long __cil_tmp82 ;
15205 unsigned long __cil_tmp83 ;
15206 __le16 *__cil_tmp84 ;
15207 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp85 ;
15208 unsigned int __cil_tmp86 ;
15209 unsigned int __cil_tmp87 ;
15210 int __cil_tmp88 ;
15211 int __cil_tmp89 ;
15212 long __cil_tmp90 ;
15213 unsigned long __cil_tmp91 ;
15214 unsigned long __cil_tmp92 ;
15215 struct device *__cil_tmp93 ;
15216 struct device const *__cil_tmp94 ;
15217 unsigned long __cil_tmp95 ;
15218 unsigned long __cil_tmp96 ;
15219 unsigned long __cil_tmp97 ;
15220 unsigned long __cil_tmp98 ;
15221 unsigned long __cil_tmp99 ;
15222 unsigned long __cil_tmp100 ;
15223 unsigned long __cil_tmp101 ;
15224 unsigned long __cil_tmp102 ;
15225 void *__cil_tmp103 ;
15226 unsigned long __cil_tmp104 ;
15227 unsigned long __cil_tmp105 ;
15228 unsigned long __cil_tmp106 ;
15229 unsigned long __cil_tmp107 ;
15230 struct mwifiex_pcie_buf_desc *__cil_tmp108 ;
15231 unsigned long __cil_tmp109 ;
15232 unsigned long __cil_tmp110 ;
15233 unsigned long __cil_tmp111 ;
15234 unsigned long __cil_tmp112 ;
15235 struct mwifiex_pcie_buf_desc *__cil_tmp113 ;
15236 unsigned long __cil_tmp114 ;
15237 unsigned long __cil_tmp115 ;
15238 unsigned long __cil_tmp116 ;
15239 unsigned long __cil_tmp117 ;
15240 unsigned long __cil_tmp118 ;
15241 unsigned long __cil_tmp119 ;
15242 struct mwifiex_pcie_buf_desc *__cil_tmp120 ;
15243 unsigned long __cil_tmp121 ;
15244 unsigned long __cil_tmp122 ;
15245 unsigned long __cil_tmp123 ;
15246 unsigned long __cil_tmp124 ;
15247 unsigned char *__cil_tmp125 ;
15248 unsigned char *__cil_tmp126 ;
15249 u32 *__cil_tmp127 ;
15250 unsigned long __cil_tmp128 ;
15251 unsigned long __cil_tmp129 ;
15252 void *__cil_tmp130 ;
15253 unsigned long __cil_tmp131 ;
15254 unsigned long __cil_tmp132 ;
15255 unsigned char *__cil_tmp133 ;
15256 void const *__cil_tmp134 ;
15257 void *__cil_tmp135 ;
15258 unsigned long __cil_tmp136 ;
15259 unsigned long __cil_tmp137 ;
15260 unsigned char *__cil_tmp138 ;
15261 void const *__cil_tmp139 ;
15262 __le16 *__cil_tmp140 ;
15263 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp141 ;
15264 unsigned int __cil_tmp142 ;
15265 unsigned int __cil_tmp143 ;
15266 int __cil_tmp144 ;
15267 int __cil_tmp145 ;
15268 long __cil_tmp146 ;
15269 unsigned long __cil_tmp147 ;
15270 unsigned long __cil_tmp148 ;
15271 struct device *__cil_tmp149 ;
15272 struct device const *__cil_tmp150 ;
15273 int __cil_tmp151 ;
15274 int __cil_tmp152 ;
15275 int __cil_tmp153 ;
15276 int __cil_tmp154 ;
15277 int __cil_tmp155 ;
15278 unsigned long __cil_tmp156 ;
15279 unsigned long __cil_tmp157 ;
15280 unsigned long __cil_tmp158 ;
15281 unsigned long __cil_tmp159 ;
15282 u8 *__cil_tmp160 ;
15283 void *__cil_tmp161 ;
15284 unsigned long __cil_tmp162 ;
15285 unsigned long __cil_tmp163 ;
15286 unsigned char *__cil_tmp164 ;
15287 unsigned char *__cil_tmp165 ;
15288 void const *__cil_tmp166 ;
15289 unsigned long __cil_tmp167 ;
15290 unsigned long __cil_tmp168 ;
15291 unsigned long __cil_tmp169 ;
15292 unsigned long __cil_tmp170 ;
15293
15294 {
15295#line 1151
15296 __cil_tmp19 = (unsigned long )adapter;
15297#line 1151
15298 __cil_tmp20 = __cil_tmp19 + 136;
15299#line 1151
15300 __cil_tmp21 = *((void **)__cil_tmp20);
15301#line 1151
15302 card = (struct pcie_service_card *)__cil_tmp21;
15303#line 1152
15304 __cil_tmp22 = (unsigned long )card;
15305#line 1152
15306 __cil_tmp23 = __cil_tmp22 + 1108;
15307#line 1152
15308 __cil_tmp24 = *((u32 *)__cil_tmp23);
15309#line 1152
15310 rdptr = __cil_tmp24 & 7U;
15311 {
15312#line 1155
15313 __cil_tmp25 = (unsigned long )adapter;
15314#line 1155
15315 __cil_tmp26 = __cil_tmp25 + 2803;
15316#line 1155
15317 if (*((u8 *)__cil_tmp26)) {
15318 {
15319#line 1156
15320 while (1) {
15321 while_continue: ;
15322 {
15323#line 1156
15324 while (1) {
15325 while_continue___0: ;
15326 {
15327#line 1156
15328 __cil_tmp27 = & descriptor___22;
15329#line 1156
15330 __cil_tmp28 = __cil_tmp27->flags;
15331#line 1156
15332 __cil_tmp29 = __cil_tmp28 & 1U;
15333#line 1156
15334 __cil_tmp30 = ! __cil_tmp29;
15335#line 1156
15336 __cil_tmp31 = ! __cil_tmp30;
15337#line 1156
15338 __cil_tmp32 = (long )__cil_tmp31;
15339#line 1156
15340 tmp___7 = __builtin_expect(__cil_tmp32, 0L);
15341 }
15342#line 1156
15343 if (tmp___7) {
15344 {
15345#line 1156
15346 __cil_tmp33 = (unsigned long )adapter;
15347#line 1156
15348 __cil_tmp34 = __cil_tmp33 + 72;
15349#line 1156
15350 __cil_tmp35 = *((struct device **)__cil_tmp34);
15351#line 1156
15352 __cil_tmp36 = (struct device const *)__cil_tmp35;
15353#line 1156
15354 __dynamic_dev_dbg(& descriptor___22, __cil_tmp36, "info: Event being processed, do not process this interrupt just yet\n");
15355 }
15356 } else {
15357
15358 }
15359#line 1156
15360 goto while_break___0;
15361 }
15362 while_break___0: ;
15363 }
15364#line 1156
15365 goto while_break;
15366 }
15367 while_break: ;
15368 }
15369#line 1158
15370 return (0);
15371 } else {
15372
15373 }
15374 }
15375#line 1161
15376 if (rdptr >= 4U) {
15377 {
15378#line 1162
15379 while (1) {
15380 while_continue___1: ;
15381 {
15382#line 1162
15383 while (1) {
15384 while_continue___2: ;
15385 {
15386#line 1162
15387 __cil_tmp37 = & descriptor___23;
15388#line 1162
15389 __cil_tmp38 = __cil_tmp37->flags;
15390#line 1162
15391 __cil_tmp39 = __cil_tmp38 & 1U;
15392#line 1162
15393 __cil_tmp40 = ! __cil_tmp39;
15394#line 1162
15395 __cil_tmp41 = ! __cil_tmp40;
15396#line 1162
15397 __cil_tmp42 = (long )__cil_tmp41;
15398#line 1162
15399 tmp___8 = __builtin_expect(__cil_tmp42, 0L);
15400 }
15401#line 1162
15402 if (tmp___8) {
15403 {
15404#line 1162
15405 __cil_tmp43 = (unsigned long )adapter;
15406#line 1162
15407 __cil_tmp44 = __cil_tmp43 + 72;
15408#line 1162
15409 __cil_tmp45 = *((struct device **)__cil_tmp44);
15410#line 1162
15411 __cil_tmp46 = (struct device const *)__cil_tmp45;
15412#line 1162
15413 __dynamic_dev_dbg(& descriptor___23, __cil_tmp46, "info: Invalid read pointer...\n");
15414 }
15415 } else {
15416
15417 }
15418#line 1162
15419 goto while_break___2;
15420 }
15421 while_break___2: ;
15422 }
15423#line 1162
15424 goto while_break___1;
15425 }
15426 while_break___1: ;
15427 }
15428#line 1163
15429 return (-1);
15430 } else {
15431
15432 }
15433 {
15434#line 1167
15435 tmp___9 = mwifiex_read_reg(adapter, 3308, & wrptr);
15436 }
15437#line 1167
15438 if (tmp___9) {
15439 {
15440#line 1168
15441 __cil_tmp47 = (unsigned long )adapter;
15442#line 1168
15443 __cil_tmp48 = __cil_tmp47 + 72;
15444#line 1168
15445 __cil_tmp49 = *((struct device **)__cil_tmp48);
15446#line 1168
15447 __cil_tmp50 = (struct device const *)__cil_tmp49;
15448#line 1168
15449 dev_err(__cil_tmp50, "EventReady: failed to read REG_EVTBD_WRPTR\n");
15450 }
15451#line 1170
15452 return (-1);
15453 } else {
15454
15455 }
15456 {
15457#line 1173
15458 while (1) {
15459 while_continue___3: ;
15460 {
15461#line 1173
15462 while (1) {
15463 while_continue___4: ;
15464 {
15465#line 1173
15466 __cil_tmp51 = & descriptor___24;
15467#line 1173
15468 __cil_tmp52 = __cil_tmp51->flags;
15469#line 1173
15470 __cil_tmp53 = __cil_tmp52 & 1U;
15471#line 1173
15472 __cil_tmp54 = ! __cil_tmp53;
15473#line 1173
15474 __cil_tmp55 = ! __cil_tmp54;
15475#line 1173
15476 __cil_tmp56 = (long )__cil_tmp55;
15477#line 1173
15478 tmp___10 = __builtin_expect(__cil_tmp56, 0L);
15479 }
15480#line 1173
15481 if (tmp___10) {
15482 {
15483#line 1173
15484 __cil_tmp57 = (unsigned long )adapter;
15485#line 1173
15486 __cil_tmp58 = __cil_tmp57 + 72;
15487#line 1173
15488 __cil_tmp59 = *((struct device **)__cil_tmp58);
15489#line 1173
15490 __cil_tmp60 = (struct device const *)__cil_tmp59;
15491#line 1173
15492 __cil_tmp61 = (unsigned long )card;
15493#line 1173
15494 __cil_tmp62 = __cil_tmp61 + 1108;
15495#line 1173
15496 __cil_tmp63 = *((u32 *)__cil_tmp62);
15497#line 1173
15498 __cil_tmp64 = & wrptr;
15499#line 1173
15500 __cil_tmp65 = *__cil_tmp64;
15501#line 1173
15502 __dynamic_dev_dbg(& descriptor___24, __cil_tmp60, "info: EventReady: Initial <Rd: 0x%x, Wr: 0x%x>",
15503 __cil_tmp63, __cil_tmp65);
15504 }
15505 } else {
15506
15507 }
15508#line 1173
15509 goto while_break___4;
15510 }
15511 while_break___4: ;
15512 }
15513#line 1173
15514 goto while_break___3;
15515 }
15516 while_break___3: ;
15517 }
15518 {
15519#line 1175
15520 __cil_tmp66 = (unsigned long )card;
15521#line 1175
15522 __cil_tmp67 = __cil_tmp66 + 1108;
15523#line 1175
15524 __cil_tmp68 = *((u32 *)__cil_tmp67);
15525#line 1175
15526 __cil_tmp69 = __cil_tmp68 & 7U;
15527#line 1175
15528 __cil_tmp70 = & wrptr;
15529#line 1175
15530 __cil_tmp71 = *__cil_tmp70;
15531#line 1175
15532 __cil_tmp72 = __cil_tmp71 & 7U;
15533#line 1175
15534 if (__cil_tmp72 != __cil_tmp69) {
15535#line 1175
15536 goto _L;
15537 } else {
15538 {
15539#line 1175
15540 __cil_tmp73 = 1UL << 7;
15541#line 1175
15542 __cil_tmp74 = (unsigned long )card;
15543#line 1175
15544 __cil_tmp75 = __cil_tmp74 + 1108;
15545#line 1175
15546 __cil_tmp76 = *((u32 *)__cil_tmp75);
15547#line 1175
15548 __cil_tmp77 = (unsigned long )__cil_tmp76;
15549#line 1175
15550 __cil_tmp78 = __cil_tmp77 & __cil_tmp73;
15551#line 1175
15552 __cil_tmp79 = 1UL << 7;
15553#line 1175
15554 __cil_tmp80 = & wrptr;
15555#line 1175
15556 __cil_tmp81 = *__cil_tmp80;
15557#line 1175
15558 __cil_tmp82 = (unsigned long )__cil_tmp81;
15559#line 1175
15560 __cil_tmp83 = __cil_tmp82 & __cil_tmp79;
15561#line 1175
15562 if (__cil_tmp83 == __cil_tmp78) {
15563 _L:
15564#line 1180
15565 __cil_tmp84 = & data_len;
15566#line 1180
15567 *__cil_tmp84 = (__le16 )0;
15568 {
15569#line 1183
15570 while (1) {
15571 while_continue___5: ;
15572 {
15573#line 1183
15574 while (1) {
15575 while_continue___6: ;
15576 {
15577#line 1183
15578 __cil_tmp85 = & descriptor___25;
15579#line 1183
15580 __cil_tmp86 = __cil_tmp85->flags;
15581#line 1183
15582 __cil_tmp87 = __cil_tmp86 & 1U;
15583#line 1183
15584 __cil_tmp88 = ! __cil_tmp87;
15585#line 1183
15586 __cil_tmp89 = ! __cil_tmp88;
15587#line 1183
15588 __cil_tmp90 = (long )__cil_tmp89;
15589#line 1183
15590 tmp___11 = __builtin_expect(__cil_tmp90, 0L);
15591 }
15592#line 1183
15593 if (tmp___11) {
15594 {
15595#line 1183
15596 __cil_tmp91 = (unsigned long )adapter;
15597#line 1183
15598 __cil_tmp92 = __cil_tmp91 + 72;
15599#line 1183
15600 __cil_tmp93 = *((struct device **)__cil_tmp92);
15601#line 1183
15602 __cil_tmp94 = (struct device const *)__cil_tmp93;
15603#line 1183
15604 __dynamic_dev_dbg(& descriptor___25, __cil_tmp94, "info: Read Index: %d\n",
15605 rdptr);
15606 }
15607 } else {
15608
15609 }
15610#line 1183
15611 goto while_break___6;
15612 }
15613 while_break___6: ;
15614 }
15615#line 1183
15616 goto while_break___5;
15617 }
15618 while_break___5: ;
15619 }
15620#line 1184
15621 __cil_tmp95 = rdptr * 8UL;
15622#line 1184
15623 __cil_tmp96 = 1168 + __cil_tmp95;
15624#line 1184
15625 __cil_tmp97 = (unsigned long )card;
15626#line 1184
15627 __cil_tmp98 = __cil_tmp97 + __cil_tmp96;
15628#line 1184
15629 skb_cmd = *((struct sk_buff **)__cil_tmp98);
15630#line 1187
15631 __cil_tmp99 = rdptr * 8UL;
15632#line 1187
15633 __cil_tmp100 = 1168 + __cil_tmp99;
15634#line 1187
15635 __cil_tmp101 = (unsigned long )card;
15636#line 1187
15637 __cil_tmp102 = __cil_tmp101 + __cil_tmp100;
15638#line 1187
15639 __cil_tmp103 = (void *)0;
15640#line 1187
15641 *((struct sk_buff **)__cil_tmp102) = (struct sk_buff *)__cil_tmp103;
15642#line 1188
15643 __cil_tmp104 = rdptr * 8UL;
15644#line 1188
15645 __cil_tmp105 = 1136 + __cil_tmp104;
15646#line 1188
15647 __cil_tmp106 = (unsigned long )card;
15648#line 1188
15649 __cil_tmp107 = __cil_tmp106 + __cil_tmp105;
15650#line 1188
15651 __cil_tmp108 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp107);
15652#line 1188
15653 *((u64 *)__cil_tmp108) = (u64 )0;
15654#line 1189
15655 __cil_tmp109 = rdptr * 8UL;
15656#line 1189
15657 __cil_tmp110 = 1136 + __cil_tmp109;
15658#line 1189
15659 __cil_tmp111 = (unsigned long )card;
15660#line 1189
15661 __cil_tmp112 = __cil_tmp111 + __cil_tmp110;
15662#line 1189
15663 __cil_tmp113 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp112);
15664#line 1189
15665 __cil_tmp114 = (unsigned long )__cil_tmp113;
15666#line 1189
15667 __cil_tmp115 = __cil_tmp114 + 8;
15668#line 1189
15669 *((u16 *)__cil_tmp115) = (u16 )0;
15670#line 1190
15671 __cil_tmp116 = rdptr * 8UL;
15672#line 1190
15673 __cil_tmp117 = 1136 + __cil_tmp116;
15674#line 1190
15675 __cil_tmp118 = (unsigned long )card;
15676#line 1190
15677 __cil_tmp119 = __cil_tmp118 + __cil_tmp117;
15678#line 1190
15679 __cil_tmp120 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp119);
15680#line 1190
15681 __cil_tmp121 = (unsigned long )__cil_tmp120;
15682#line 1190
15683 __cil_tmp122 = __cil_tmp121 + 10;
15684#line 1190
15685 *((u16 *)__cil_tmp122) = (u16 )0;
15686#line 1192
15687 __cil_tmp123 = (unsigned long )skb_cmd;
15688#line 1192
15689 __cil_tmp124 = __cil_tmp123 + 224;
15690#line 1192
15691 __cil_tmp125 = *((unsigned char **)__cil_tmp124);
15692#line 1192
15693 __cil_tmp126 = __cil_tmp125 + 4;
15694#line 1192
15695 __cil_tmp127 = (u32 *)__cil_tmp126;
15696#line 1192
15697 event = *__cil_tmp127;
15698#line 1193
15699 __cil_tmp128 = (unsigned long )adapter;
15700#line 1193
15701 __cil_tmp129 = __cil_tmp128 + 476;
15702#line 1193
15703 *((u32 *)__cil_tmp129) = event;
15704#line 1196
15705 __len = 2UL;
15706#line 1196
15707 if (__len >= 64UL) {
15708 {
15709#line 1196
15710 __cil_tmp130 = (void *)(& data_len);
15711#line 1196
15712 __cil_tmp131 = (unsigned long )skb_cmd;
15713#line 1196
15714 __cil_tmp132 = __cil_tmp131 + 224;
15715#line 1196
15716 __cil_tmp133 = *((unsigned char **)__cil_tmp132);
15717#line 1196
15718 __cil_tmp134 = (void const *)__cil_tmp133;
15719#line 1196
15720 __ret = __memcpy(__cil_tmp130, __cil_tmp134, __len);
15721 }
15722 } else {
15723 {
15724#line 1196
15725 __cil_tmp135 = (void *)(& data_len);
15726#line 1196
15727 __cil_tmp136 = (unsigned long )skb_cmd;
15728#line 1196
15729 __cil_tmp137 = __cil_tmp136 + 224;
15730#line 1196
15731 __cil_tmp138 = *((unsigned char **)__cil_tmp137);
15732#line 1196
15733 __cil_tmp139 = (void const *)__cil_tmp138;
15734#line 1196
15735 __ret = __builtin_memcpy(__cil_tmp135, __cil_tmp139, __len);
15736 }
15737 }
15738 {
15739#line 1197
15740 __cil_tmp140 = & data_len;
15741#line 1197
15742 evt_len = *__cil_tmp140;
15743#line 1199
15744 skb_pull(skb_cmd, 4U);
15745 }
15746 {
15747#line 1200
15748 while (1) {
15749 while_continue___7: ;
15750 {
15751#line 1200
15752 while (1) {
15753 while_continue___8: ;
15754 {
15755#line 1200
15756 __cil_tmp141 = & descriptor___26;
15757#line 1200
15758 __cil_tmp142 = __cil_tmp141->flags;
15759#line 1200
15760 __cil_tmp143 = __cil_tmp142 & 1U;
15761#line 1200
15762 __cil_tmp144 = ! __cil_tmp143;
15763#line 1200
15764 __cil_tmp145 = ! __cil_tmp144;
15765#line 1200
15766 __cil_tmp146 = (long )__cil_tmp145;
15767#line 1200
15768 tmp___12 = __builtin_expect(__cil_tmp146, 0L);
15769 }
15770#line 1200
15771 if (tmp___12) {
15772 {
15773#line 1200
15774 __cil_tmp147 = (unsigned long )adapter;
15775#line 1200
15776 __cil_tmp148 = __cil_tmp147 + 72;
15777#line 1200
15778 __cil_tmp149 = *((struct device **)__cil_tmp148);
15779#line 1200
15780 __cil_tmp150 = (struct device const *)__cil_tmp149;
15781#line 1200
15782 __cil_tmp151 = (int )evt_len;
15783#line 1200
15784 __dynamic_dev_dbg(& descriptor___26, __cil_tmp150, "info: Event length: %d\n",
15785 __cil_tmp151);
15786 }
15787 } else {
15788
15789 }
15790#line 1200
15791 goto while_break___8;
15792 }
15793 while_break___8: ;
15794 }
15795#line 1200
15796 goto while_break___7;
15797 }
15798 while_break___7: ;
15799 }
15800 {
15801#line 1202
15802 __cil_tmp152 = (int )evt_len;
15803#line 1202
15804 if (__cil_tmp152 > 0) {
15805 {
15806#line 1202
15807 __cil_tmp153 = (int )evt_len;
15808#line 1202
15809 if (__cil_tmp153 < 1024) {
15810 {
15811#line 1203
15812 __cil_tmp154 = (int )evt_len;
15813#line 1203
15814 __cil_tmp155 = __cil_tmp154 - 4;
15815#line 1203
15816 __len___0 = (size_t )__cil_tmp155;
15817#line 1203
15818 __cil_tmp156 = 0 * 1UL;
15819#line 1203
15820 __cil_tmp157 = 3457 + __cil_tmp156;
15821#line 1203
15822 __cil_tmp158 = (unsigned long )adapter;
15823#line 1203
15824 __cil_tmp159 = __cil_tmp158 + __cil_tmp157;
15825#line 1203
15826 __cil_tmp160 = (u8 *)__cil_tmp159;
15827#line 1203
15828 __cil_tmp161 = (void *)__cil_tmp160;
15829#line 1203
15830 __cil_tmp162 = (unsigned long )skb_cmd;
15831#line 1203
15832 __cil_tmp163 = __cil_tmp162 + 224;
15833#line 1203
15834 __cil_tmp164 = *((unsigned char **)__cil_tmp163);
15835#line 1203
15836 __cil_tmp165 = __cil_tmp164 + 4;
15837#line 1203
15838 __cil_tmp166 = (void const *)__cil_tmp165;
15839#line 1203
15840 __ret___0 = __builtin_memcpy(__cil_tmp161, __cil_tmp166, __len___0);
15841 }
15842 } else {
15843
15844 }
15845 }
15846 } else {
15847
15848 }
15849 }
15850#line 1207
15851 __cil_tmp167 = (unsigned long )adapter;
15852#line 1207
15853 __cil_tmp168 = __cil_tmp167 + 2803;
15854#line 1207
15855 *((u8 *)__cil_tmp168) = (u8 )1;
15856#line 1208
15857 __cil_tmp169 = (unsigned long )adapter;
15858#line 1208
15859 __cil_tmp170 = __cil_tmp169 + 480;
15860#line 1208
15861 *((struct sk_buff **)__cil_tmp170) = skb_cmd;
15862 } else {
15863
15864 }
15865 }
15866 }
15867 }
15868#line 1216
15869 return (0);
15870}
15871}
15872#line 1256
15873static int mwifiex_pcie_event_complete(struct mwifiex_adapter *adapter , struct sk_buff *skb ) ;
15874#line 1256 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
15875static struct _ddebug __attribute__((__aligned__(8))) descriptor___27 __attribute__((__used__,
15876__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_event_complete", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
15877 "info: ERROR: buf still valid at index %d, <%p, %p>\n", 1258U, 0U};
15878#line 1267
15879static int mwifiex_pcie_event_complete(struct mwifiex_adapter *adapter , struct sk_buff *skb ) ;
15880#line 1267 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
15881static struct _ddebug __attribute__((__aligned__(8))) descriptor___28 __attribute__((__used__,
15882__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_event_complete", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
15883 "info: Updated <Rd: 0x%x, Wr: 0x%x>", 1268U, 0U};
15884#line 1277
15885static int mwifiex_pcie_event_complete(struct mwifiex_adapter *adapter , struct sk_buff *skb ) ;
15886#line 1277 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
15887static struct _ddebug __attribute__((__aligned__(8))) descriptor___29 __attribute__((__used__,
15888__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_event_complete", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
15889 "info: Check Events Again\n", 1277U, 0U};
15890#line 1222 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
15891static int mwifiex_pcie_event_complete(struct mwifiex_adapter *adapter , struct sk_buff *skb )
15892{ struct pcie_service_card *card ;
15893 int ret ;
15894 u32 rdptr ;
15895 u32 wrptr ;
15896 phys_addr_t *buf_pa ;
15897 int tmp___7 ;
15898 long tmp___8 ;
15899 long tmp___9 ;
15900 int tmp___10 ;
15901 long tmp___11 ;
15902 unsigned long __cil_tmp13 ;
15903 unsigned long __cil_tmp14 ;
15904 void *__cil_tmp15 ;
15905 unsigned long __cil_tmp16 ;
15906 unsigned long __cil_tmp17 ;
15907 u32 __cil_tmp18 ;
15908 unsigned long __cil_tmp19 ;
15909 unsigned long __cil_tmp20 ;
15910 struct device *__cil_tmp21 ;
15911 struct device const *__cil_tmp22 ;
15912 unsigned long __cil_tmp23 ;
15913 unsigned long __cil_tmp24 ;
15914 struct device *__cil_tmp25 ;
15915 struct device const *__cil_tmp26 ;
15916 unsigned long __cil_tmp27 ;
15917 unsigned long __cil_tmp28 ;
15918 unsigned long __cil_tmp29 ;
15919 unsigned long __cil_tmp30 ;
15920 struct sk_buff *__cil_tmp31 ;
15921 unsigned long __cil_tmp32 ;
15922 unsigned long __cil_tmp33 ;
15923 unsigned long __cil_tmp34 ;
15924 unsigned long __cil_tmp35 ;
15925 unsigned long __cil_tmp36 ;
15926 unsigned long __cil_tmp37 ;
15927 unsigned long __cil_tmp38 ;
15928 unsigned long __cil_tmp39 ;
15929 struct mwifiex_pcie_buf_desc *__cil_tmp40 ;
15930 unsigned long __cil_tmp41 ;
15931 unsigned long __cil_tmp42 ;
15932 unsigned long __cil_tmp43 ;
15933 unsigned long __cil_tmp44 ;
15934 struct mwifiex_pcie_buf_desc *__cil_tmp45 ;
15935 unsigned long __cil_tmp46 ;
15936 unsigned long __cil_tmp47 ;
15937 unsigned long __cil_tmp48 ;
15938 unsigned long __cil_tmp49 ;
15939 unsigned int __cil_tmp50 ;
15940 unsigned long __cil_tmp51 ;
15941 unsigned long __cil_tmp52 ;
15942 unsigned long __cil_tmp53 ;
15943 unsigned long __cil_tmp54 ;
15944 struct mwifiex_pcie_buf_desc *__cil_tmp55 ;
15945 unsigned long __cil_tmp56 ;
15946 unsigned long __cil_tmp57 ;
15947 void *__cil_tmp58 ;
15948 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp59 ;
15949 unsigned int __cil_tmp60 ;
15950 unsigned int __cil_tmp61 ;
15951 int __cil_tmp62 ;
15952 int __cil_tmp63 ;
15953 long __cil_tmp64 ;
15954 unsigned long __cil_tmp65 ;
15955 unsigned long __cil_tmp66 ;
15956 struct device *__cil_tmp67 ;
15957 struct device const *__cil_tmp68 ;
15958 unsigned long __cil_tmp69 ;
15959 unsigned long __cil_tmp70 ;
15960 unsigned long __cil_tmp71 ;
15961 unsigned long __cil_tmp72 ;
15962 struct sk_buff *__cil_tmp73 ;
15963 unsigned long __cil_tmp74 ;
15964 unsigned long __cil_tmp75 ;
15965 unsigned long __cil_tmp76 ;
15966 unsigned long __cil_tmp77 ;
15967 u32 __cil_tmp78 ;
15968 unsigned long __cil_tmp79 ;
15969 unsigned long __cil_tmp80 ;
15970 u32 __cil_tmp81 ;
15971 unsigned int __cil_tmp82 ;
15972 unsigned long __cil_tmp83 ;
15973 unsigned long __cil_tmp84 ;
15974 unsigned long __cil_tmp85 ;
15975 unsigned long __cil_tmp86 ;
15976 unsigned long __cil_tmp87 ;
15977 unsigned long __cil_tmp88 ;
15978 u32 __cil_tmp89 ;
15979 unsigned long __cil_tmp90 ;
15980 unsigned long __cil_tmp91 ;
15981 unsigned long __cil_tmp92 ;
15982 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp93 ;
15983 unsigned int __cil_tmp94 ;
15984 unsigned int __cil_tmp95 ;
15985 int __cil_tmp96 ;
15986 int __cil_tmp97 ;
15987 long __cil_tmp98 ;
15988 unsigned long __cil_tmp99 ;
15989 unsigned long __cil_tmp100 ;
15990 struct device *__cil_tmp101 ;
15991 struct device const *__cil_tmp102 ;
15992 unsigned long __cil_tmp103 ;
15993 unsigned long __cil_tmp104 ;
15994 u32 __cil_tmp105 ;
15995 u32 *__cil_tmp106 ;
15996 u32 __cil_tmp107 ;
15997 unsigned long __cil_tmp108 ;
15998 unsigned long __cil_tmp109 ;
15999 u32 __cil_tmp110 ;
16000 unsigned long __cil_tmp111 ;
16001 unsigned long __cil_tmp112 ;
16002 struct device *__cil_tmp113 ;
16003 struct device const *__cil_tmp114 ;
16004 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp115 ;
16005 unsigned int __cil_tmp116 ;
16006 unsigned int __cil_tmp117 ;
16007 int __cil_tmp118 ;
16008 int __cil_tmp119 ;
16009 long __cil_tmp120 ;
16010 unsigned long __cil_tmp121 ;
16011 unsigned long __cil_tmp122 ;
16012 struct device *__cil_tmp123 ;
16013 struct device const *__cil_tmp124 ;
16014
16015 {
16016#line 1225
16017 __cil_tmp13 = (unsigned long )adapter;
16018#line 1225
16019 __cil_tmp14 = __cil_tmp13 + 136;
16020#line 1225
16021 __cil_tmp15 = *((void **)__cil_tmp14);
16022#line 1225
16023 card = (struct pcie_service_card *)__cil_tmp15;
16024#line 1226
16025 ret = 0;
16026#line 1227
16027 __cil_tmp16 = (unsigned long )card;
16028#line 1227
16029 __cil_tmp17 = __cil_tmp16 + 1108;
16030#line 1227
16031 __cil_tmp18 = *((u32 *)__cil_tmp17);
16032#line 1227
16033 rdptr = __cil_tmp18 & 7U;
16034#line 1231
16035 if (! skb) {
16036#line 1232
16037 return (0);
16038 } else {
16039
16040 }
16041#line 1234
16042 if (rdptr >= 4U) {
16043 {
16044#line 1235
16045 __cil_tmp19 = (unsigned long )adapter;
16046#line 1235
16047 __cil_tmp20 = __cil_tmp19 + 72;
16048#line 1235
16049 __cil_tmp21 = *((struct device **)__cil_tmp20);
16050#line 1235
16051 __cil_tmp22 = (struct device const *)__cil_tmp21;
16052#line 1235
16053 dev_err(__cil_tmp22, "event_complete: Invalid rdptr 0x%x\n", rdptr);
16054 }
16055#line 1237
16056 return (-22);
16057 } else {
16058
16059 }
16060 {
16061#line 1241
16062 tmp___7 = mwifiex_read_reg(adapter, 3308, & wrptr);
16063 }
16064#line 1241
16065 if (tmp___7) {
16066 {
16067#line 1242
16068 __cil_tmp23 = (unsigned long )adapter;
16069#line 1242
16070 __cil_tmp24 = __cil_tmp23 + 72;
16071#line 1242
16072 __cil_tmp25 = *((struct device **)__cil_tmp24);
16073#line 1242
16074 __cil_tmp26 = (struct device const *)__cil_tmp25;
16075#line 1242
16076 dev_err(__cil_tmp26, "event_complete: failed to read REG_EVTBD_WRPTR\n");
16077 }
16078#line 1244
16079 return (-1);
16080 } else {
16081
16082 }
16083 {
16084#line 1247
16085 __cil_tmp27 = rdptr * 8UL;
16086#line 1247
16087 __cil_tmp28 = 1168 + __cil_tmp27;
16088#line 1247
16089 __cil_tmp29 = (unsigned long )card;
16090#line 1247
16091 __cil_tmp30 = __cil_tmp29 + __cil_tmp28;
16092#line 1247
16093 __cil_tmp31 = *((struct sk_buff **)__cil_tmp30);
16094#line 1247
16095 if (! __cil_tmp31) {
16096 {
16097#line 1248
16098 skb_push(skb, 4U);
16099#line 1249
16100 __cil_tmp32 = rdptr * 8UL;
16101#line 1249
16102 __cil_tmp33 = 1168 + __cil_tmp32;
16103#line 1249
16104 __cil_tmp34 = (unsigned long )card;
16105#line 1249
16106 __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
16107#line 1249
16108 *((struct sk_buff **)__cil_tmp35) = skb;
16109#line 1250
16110 buf_pa = MWIFIEX_SKB_PACB(skb);
16111#line 1251
16112 __cil_tmp36 = rdptr * 8UL;
16113#line 1251
16114 __cil_tmp37 = 1136 + __cil_tmp36;
16115#line 1251
16116 __cil_tmp38 = (unsigned long )card;
16117#line 1251
16118 __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
16119#line 1251
16120 __cil_tmp40 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp39);
16121#line 1251
16122 *((u64 *)__cil_tmp40) = *buf_pa;
16123#line 1252
16124 __cil_tmp41 = rdptr * 8UL;
16125#line 1252
16126 __cil_tmp42 = 1136 + __cil_tmp41;
16127#line 1252
16128 __cil_tmp43 = (unsigned long )card;
16129#line 1252
16130 __cil_tmp44 = __cil_tmp43 + __cil_tmp42;
16131#line 1252
16132 __cil_tmp45 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp44);
16133#line 1252
16134 __cil_tmp46 = (unsigned long )__cil_tmp45;
16135#line 1252
16136 __cil_tmp47 = __cil_tmp46 + 8;
16137#line 1252
16138 __cil_tmp48 = (unsigned long )skb;
16139#line 1252
16140 __cil_tmp49 = __cil_tmp48 + 104;
16141#line 1252
16142 __cil_tmp50 = *((unsigned int *)__cil_tmp49);
16143#line 1252
16144 *((u16 *)__cil_tmp47) = (u16 )__cil_tmp50;
16145#line 1253
16146 __cil_tmp51 = rdptr * 8UL;
16147#line 1253
16148 __cil_tmp52 = 1136 + __cil_tmp51;
16149#line 1253
16150 __cil_tmp53 = (unsigned long )card;
16151#line 1253
16152 __cil_tmp54 = __cil_tmp53 + __cil_tmp52;
16153#line 1253
16154 __cil_tmp55 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp54);
16155#line 1253
16156 __cil_tmp56 = (unsigned long )__cil_tmp55;
16157#line 1253
16158 __cil_tmp57 = __cil_tmp56 + 10;
16159#line 1253
16160 *((u16 *)__cil_tmp57) = (u16 )0;
16161#line 1254
16162 __cil_tmp58 = (void *)0;
16163#line 1254
16164 skb = (struct sk_buff *)__cil_tmp58;
16165 }
16166 } else {
16167 {
16168#line 1256
16169 while (1) {
16170 while_continue: ;
16171 {
16172#line 1256
16173 while (1) {
16174 while_continue___0: ;
16175 {
16176#line 1256
16177 __cil_tmp59 = & descriptor___27;
16178#line 1256
16179 __cil_tmp60 = __cil_tmp59->flags;
16180#line 1256
16181 __cil_tmp61 = __cil_tmp60 & 1U;
16182#line 1256
16183 __cil_tmp62 = ! __cil_tmp61;
16184#line 1256
16185 __cil_tmp63 = ! __cil_tmp62;
16186#line 1256
16187 __cil_tmp64 = (long )__cil_tmp63;
16188#line 1256
16189 tmp___8 = __builtin_expect(__cil_tmp64, 0L);
16190 }
16191#line 1256
16192 if (tmp___8) {
16193 {
16194#line 1256
16195 __cil_tmp65 = (unsigned long )adapter;
16196#line 1256
16197 __cil_tmp66 = __cil_tmp65 + 72;
16198#line 1256
16199 __cil_tmp67 = *((struct device **)__cil_tmp66);
16200#line 1256
16201 __cil_tmp68 = (struct device const *)__cil_tmp67;
16202#line 1256
16203 __cil_tmp69 = rdptr * 8UL;
16204#line 1256
16205 __cil_tmp70 = 1168 + __cil_tmp69;
16206#line 1256
16207 __cil_tmp71 = (unsigned long )card;
16208#line 1256
16209 __cil_tmp72 = __cil_tmp71 + __cil_tmp70;
16210#line 1256
16211 __cil_tmp73 = *((struct sk_buff **)__cil_tmp72);
16212#line 1256
16213 __dynamic_dev_dbg(& descriptor___27, __cil_tmp68, "info: ERROR: buf still valid at index %d, <%p, %p>\n",
16214 rdptr, __cil_tmp73, skb);
16215 }
16216 } else {
16217
16218 }
16219#line 1256
16220 goto while_break___0;
16221 }
16222 while_break___0: ;
16223 }
16224#line 1256
16225 goto while_break;
16226 }
16227 while_break: ;
16228 }
16229 }
16230 }
16231#line 1261
16232 __cil_tmp74 = (unsigned long )card;
16233#line 1261
16234 __cil_tmp75 = __cil_tmp74 + 1108;
16235#line 1261
16236 __cil_tmp76 = (unsigned long )card;
16237#line 1261
16238 __cil_tmp77 = __cil_tmp76 + 1108;
16239#line 1261
16240 __cil_tmp78 = *((u32 *)__cil_tmp77);
16241#line 1261
16242 *((u32 *)__cil_tmp75) = __cil_tmp78 + 1U;
16243 {
16244#line 1261
16245 __cil_tmp79 = (unsigned long )card;
16246#line 1261
16247 __cil_tmp80 = __cil_tmp79 + 1108;
16248#line 1261
16249 __cil_tmp81 = *((u32 *)__cil_tmp80);
16250#line 1261
16251 __cil_tmp82 = __cil_tmp81 & 7U;
16252#line 1261
16253 if (__cil_tmp82 == 4U) {
16254#line 1262
16255 __cil_tmp83 = (unsigned long )card;
16256#line 1262
16257 __cil_tmp84 = __cil_tmp83 + 1108;
16258#line 1262
16259 __cil_tmp85 = 1UL << 7;
16260#line 1262
16261 __cil_tmp86 = 1UL << 7;
16262#line 1262
16263 __cil_tmp87 = (unsigned long )card;
16264#line 1262
16265 __cil_tmp88 = __cil_tmp87 + 1108;
16266#line 1262
16267 __cil_tmp89 = *((u32 *)__cil_tmp88);
16268#line 1262
16269 __cil_tmp90 = (unsigned long )__cil_tmp89;
16270#line 1262
16271 __cil_tmp91 = __cil_tmp90 & __cil_tmp86;
16272#line 1262
16273 __cil_tmp92 = __cil_tmp91 ^ __cil_tmp85;
16274#line 1262
16275 *((u32 *)__cil_tmp84) = (u32 )__cil_tmp92;
16276 } else {
16277
16278 }
16279 }
16280 {
16281#line 1267
16282 while (1) {
16283 while_continue___1: ;
16284 {
16285#line 1267
16286 while (1) {
16287 while_continue___2: ;
16288 {
16289#line 1267
16290 __cil_tmp93 = & descriptor___28;
16291#line 1267
16292 __cil_tmp94 = __cil_tmp93->flags;
16293#line 1267
16294 __cil_tmp95 = __cil_tmp94 & 1U;
16295#line 1267
16296 __cil_tmp96 = ! __cil_tmp95;
16297#line 1267
16298 __cil_tmp97 = ! __cil_tmp96;
16299#line 1267
16300 __cil_tmp98 = (long )__cil_tmp97;
16301#line 1267
16302 tmp___9 = __builtin_expect(__cil_tmp98, 0L);
16303 }
16304#line 1267
16305 if (tmp___9) {
16306 {
16307#line 1267
16308 __cil_tmp99 = (unsigned long )adapter;
16309#line 1267
16310 __cil_tmp100 = __cil_tmp99 + 72;
16311#line 1267
16312 __cil_tmp101 = *((struct device **)__cil_tmp100);
16313#line 1267
16314 __cil_tmp102 = (struct device const *)__cil_tmp101;
16315#line 1267
16316 __cil_tmp103 = (unsigned long )card;
16317#line 1267
16318 __cil_tmp104 = __cil_tmp103 + 1108;
16319#line 1267
16320 __cil_tmp105 = *((u32 *)__cil_tmp104);
16321#line 1267
16322 __cil_tmp106 = & wrptr;
16323#line 1267
16324 __cil_tmp107 = *__cil_tmp106;
16325#line 1267
16326 __dynamic_dev_dbg(& descriptor___28, __cil_tmp102, "info: Updated <Rd: 0x%x, Wr: 0x%x>",
16327 __cil_tmp105, __cil_tmp107);
16328 }
16329 } else {
16330
16331 }
16332#line 1267
16333 goto while_break___2;
16334 }
16335 while_break___2: ;
16336 }
16337#line 1267
16338 goto while_break___1;
16339 }
16340 while_break___1: ;
16341 }
16342 {
16343#line 1271
16344 __cil_tmp108 = (unsigned long )card;
16345#line 1271
16346 __cil_tmp109 = __cil_tmp108 + 1108;
16347#line 1271
16348 __cil_tmp110 = *((u32 *)__cil_tmp109);
16349#line 1271
16350 tmp___10 = mwifiex_write_reg(adapter, 3304, __cil_tmp110);
16351 }
16352#line 1271
16353 if (tmp___10) {
16354 {
16355#line 1272
16356 __cil_tmp111 = (unsigned long )adapter;
16357#line 1272
16358 __cil_tmp112 = __cil_tmp111 + 72;
16359#line 1272
16360 __cil_tmp113 = *((struct device **)__cil_tmp112);
16361#line 1272
16362 __cil_tmp114 = (struct device const *)__cil_tmp113;
16363#line 1272
16364 dev_err(__cil_tmp114, "event_complete: failed to read REG_EVTBD_RDPTR\n");
16365 }
16366#line 1274
16367 return (-1);
16368 } else {
16369
16370 }
16371 {
16372#line 1277
16373 while (1) {
16374 while_continue___3: ;
16375 {
16376#line 1277
16377 while (1) {
16378 while_continue___4: ;
16379 {
16380#line 1277
16381 __cil_tmp115 = & descriptor___29;
16382#line 1277
16383 __cil_tmp116 = __cil_tmp115->flags;
16384#line 1277
16385 __cil_tmp117 = __cil_tmp116 & 1U;
16386#line 1277
16387 __cil_tmp118 = ! __cil_tmp117;
16388#line 1277
16389 __cil_tmp119 = ! __cil_tmp118;
16390#line 1277
16391 __cil_tmp120 = (long )__cil_tmp119;
16392#line 1277
16393 tmp___11 = __builtin_expect(__cil_tmp120, 0L);
16394 }
16395#line 1277
16396 if (tmp___11) {
16397 {
16398#line 1277
16399 __cil_tmp121 = (unsigned long )adapter;
16400#line 1277
16401 __cil_tmp122 = __cil_tmp121 + 72;
16402#line 1277
16403 __cil_tmp123 = *((struct device **)__cil_tmp122);
16404#line 1277
16405 __cil_tmp124 = (struct device const *)__cil_tmp123;
16406#line 1277
16407 __dynamic_dev_dbg(& descriptor___29, __cil_tmp124, "info: Check Events Again\n");
16408 }
16409 } else {
16410
16411 }
16412#line 1277
16413 goto while_break___4;
16414 }
16415 while_break___4: ;
16416 }
16417#line 1277
16418 goto while_break___3;
16419 }
16420 while_break___3: ;
16421 }
16422 {
16423#line 1278
16424 ret = mwifiex_pcie_process_event_ready(adapter);
16425 }
16426#line 1280
16427 return (ret);
16428}
16429}
16430#line 1312
16431static int mwifiex_prog_fw_w_helper(struct mwifiex_adapter *adapter , struct mwifiex_fw_image *fw ) ;
16432#line 1312 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
16433static struct _ddebug __attribute__((__aligned__(8))) descriptor___30 __attribute__((__used__,
16434__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_prog_fw_w_helper", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
16435 "info: Downloading FW image (%d bytes)\n", 1313U, 0U};
16436#line 1381
16437static int mwifiex_prog_fw_w_helper(struct mwifiex_adapter *adapter , struct mwifiex_fw_image *fw ) ;
16438#line 1381 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
16439static struct _ddebug __attribute__((__aligned__(8))) descriptor___31 __attribute__((__used__,
16440__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_prog_fw_w_helper", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
16441 ".", 1381U, 0U};
16442#line 1416
16443static int mwifiex_prog_fw_w_helper(struct mwifiex_adapter *adapter , struct mwifiex_fw_image *fw ) ;
16444#line 1416 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
16445static struct _ddebug __attribute__((__aligned__(8))) descriptor___32 __attribute__((__used__,
16446__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_prog_fw_w_helper", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
16447 "info:\nFW download over, size %d bytes\n", 1417U, 0U};
16448#line 1290 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
16449static int mwifiex_prog_fw_w_helper(struct mwifiex_adapter *adapter , struct mwifiex_fw_image *fw )
16450{ int ret ;
16451 u8 *firmware ;
16452 u32 firmware_len ;
16453 u32 offset ;
16454 struct sk_buff *skb ;
16455 u32 txlen ;
16456 u32 tx_blocks ;
16457 u32 tries ;
16458 u32 len ;
16459 u32 block_retry_cnt ;
16460 long tmp___7 ;
16461 int tmp___8 ;
16462 u32 ireg_intr ;
16463 long tmp___9 ;
16464 int tmp___10 ;
16465 int tmp___11 ;
16466 long tmp___12 ;
16467 unsigned long __cil_tmp20 ;
16468 unsigned long __cil_tmp21 ;
16469 unsigned long __cil_tmp22 ;
16470 unsigned long __cil_tmp23 ;
16471 unsigned long __cil_tmp24 ;
16472 unsigned long __cil_tmp25 ;
16473 struct device *__cil_tmp26 ;
16474 struct device const *__cil_tmp27 ;
16475 unsigned long __cil_tmp28 ;
16476 unsigned long __cil_tmp29 ;
16477 struct device *__cil_tmp30 ;
16478 struct device const *__cil_tmp31 ;
16479 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp32 ;
16480 unsigned int __cil_tmp33 ;
16481 unsigned int __cil_tmp34 ;
16482 int __cil_tmp35 ;
16483 int __cil_tmp36 ;
16484 long __cil_tmp37 ;
16485 unsigned long __cil_tmp38 ;
16486 unsigned long __cil_tmp39 ;
16487 struct device *__cil_tmp40 ;
16488 struct device const *__cil_tmp41 ;
16489 unsigned long __cil_tmp42 ;
16490 unsigned long __cil_tmp43 ;
16491 struct device *__cil_tmp44 ;
16492 struct device const *__cil_tmp45 ;
16493 u32 *__cil_tmp46 ;
16494 unsigned long __cil_tmp47 ;
16495 unsigned long __cil_tmp48 ;
16496 struct device *__cil_tmp49 ;
16497 struct device const *__cil_tmp50 ;
16498 u32 *__cil_tmp51 ;
16499 u32 *__cil_tmp52 ;
16500 u32 __cil_tmp53 ;
16501 u32 *__cil_tmp54 ;
16502 u32 __cil_tmp55 ;
16503 u32 *__cil_tmp56 ;
16504 u32 __cil_tmp57 ;
16505 u32 *__cil_tmp58 ;
16506 u32 *__cil_tmp59 ;
16507 u32 __cil_tmp60 ;
16508 unsigned long __cil_tmp61 ;
16509 unsigned long __cil_tmp62 ;
16510 unsigned long __cil_tmp63 ;
16511 struct device *__cil_tmp64 ;
16512 struct device const *__cil_tmp65 ;
16513 u32 *__cil_tmp66 ;
16514 u32 __cil_tmp67 ;
16515 u32 *__cil_tmp68 ;
16516 u32 *__cil_tmp69 ;
16517 u32 __cil_tmp70 ;
16518 unsigned long __cil_tmp71 ;
16519 unsigned long __cil_tmp72 ;
16520 u32 __cil_tmp73 ;
16521 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp74 ;
16522 unsigned int __cil_tmp75 ;
16523 unsigned int __cil_tmp76 ;
16524 int __cil_tmp77 ;
16525 int __cil_tmp78 ;
16526 long __cil_tmp79 ;
16527 unsigned long __cil_tmp80 ;
16528 unsigned long __cil_tmp81 ;
16529 struct device *__cil_tmp82 ;
16530 struct device const *__cil_tmp83 ;
16531 u32 __cil_tmp84 ;
16532 u32 __cil_tmp85 ;
16533 unsigned long __cil_tmp86 ;
16534 unsigned long __cil_tmp87 ;
16535 unsigned char *__cil_tmp88 ;
16536 void *__cil_tmp89 ;
16537 u8 *__cil_tmp90 ;
16538 void const *__cil_tmp91 ;
16539 size_t __cil_tmp92 ;
16540 unsigned long __cil_tmp93 ;
16541 unsigned long __cil_tmp94 ;
16542 unsigned int __cil_tmp95 ;
16543 unsigned int __cil_tmp96 ;
16544 u32 __cil_tmp97 ;
16545 unsigned long __cil_tmp98 ;
16546 unsigned long __cil_tmp99 ;
16547 struct device *__cil_tmp100 ;
16548 struct device const *__cil_tmp101 ;
16549 unsigned long __cil_tmp102 ;
16550 unsigned long __cil_tmp103 ;
16551 struct device *__cil_tmp104 ;
16552 struct device const *__cil_tmp105 ;
16553 unsigned long __cil_tmp106 ;
16554 unsigned long __cil_tmp107 ;
16555 u32 *__cil_tmp108 ;
16556 u32 __cil_tmp109 ;
16557 unsigned long __cil_tmp110 ;
16558 unsigned long __cil_tmp111 ;
16559 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp112 ;
16560 unsigned int __cil_tmp113 ;
16561 unsigned int __cil_tmp114 ;
16562 int __cil_tmp115 ;
16563 int __cil_tmp116 ;
16564 long __cil_tmp117 ;
16565 unsigned long __cil_tmp118 ;
16566 unsigned long __cil_tmp119 ;
16567 struct device *__cil_tmp120 ;
16568 struct device const *__cil_tmp121 ;
16569
16570 {
16571#line 1294
16572 __cil_tmp20 = (unsigned long )fw;
16573#line 1294
16574 __cil_tmp21 = __cil_tmp20 + 16;
16575#line 1294
16576 firmware = *((u8 **)__cil_tmp21);
16577#line 1295
16578 __cil_tmp22 = (unsigned long )fw;
16579#line 1295
16580 __cil_tmp23 = __cil_tmp22 + 24;
16581#line 1295
16582 firmware_len = *((u32 *)__cil_tmp23);
16583#line 1296
16584 offset = (u32 )0;
16585#line 1298
16586 tx_blocks = (u32 )0;
16587#line 1299
16588 block_retry_cnt = (u32 )0;
16589#line 1301
16590 if (! adapter) {
16591 {
16592#line 1302
16593 printk("<3>mwifiex_pcie: adapter structure is not valid\n");
16594 }
16595#line 1303
16596 return (-1);
16597 } else {
16598
16599 }
16600#line 1306
16601 if (! firmware) {
16602 {
16603#line 1307
16604 __cil_tmp24 = (unsigned long )adapter;
16605#line 1307
16606 __cil_tmp25 = __cil_tmp24 + 72;
16607#line 1307
16608 __cil_tmp26 = *((struct device **)__cil_tmp25);
16609#line 1307
16610 __cil_tmp27 = (struct device const *)__cil_tmp26;
16611#line 1307
16612 dev_err(__cil_tmp27, "No firmware image found! Terminating download\n");
16613 }
16614#line 1309
16615 return (-1);
16616 } else
16617#line 1306
16618 if (! firmware_len) {
16619 {
16620#line 1307
16621 __cil_tmp28 = (unsigned long )adapter;
16622#line 1307
16623 __cil_tmp29 = __cil_tmp28 + 72;
16624#line 1307
16625 __cil_tmp30 = *((struct device **)__cil_tmp29);
16626#line 1307
16627 __cil_tmp31 = (struct device const *)__cil_tmp30;
16628#line 1307
16629 dev_err(__cil_tmp31, "No firmware image found! Terminating download\n");
16630 }
16631#line 1309
16632 return (-1);
16633 } else {
16634
16635 }
16636 {
16637#line 1312
16638 while (1) {
16639 while_continue: ;
16640 {
16641#line 1312
16642 while (1) {
16643 while_continue___0: ;
16644 {
16645#line 1312
16646 __cil_tmp32 = & descriptor___30;
16647#line 1312
16648 __cil_tmp33 = __cil_tmp32->flags;
16649#line 1312
16650 __cil_tmp34 = __cil_tmp33 & 1U;
16651#line 1312
16652 __cil_tmp35 = ! __cil_tmp34;
16653#line 1312
16654 __cil_tmp36 = ! __cil_tmp35;
16655#line 1312
16656 __cil_tmp37 = (long )__cil_tmp36;
16657#line 1312
16658 tmp___7 = __builtin_expect(__cil_tmp37, 0L);
16659 }
16660#line 1312
16661 if (tmp___7) {
16662 {
16663#line 1312
16664 __cil_tmp38 = (unsigned long )adapter;
16665#line 1312
16666 __cil_tmp39 = __cil_tmp38 + 72;
16667#line 1312
16668 __cil_tmp40 = *((struct device **)__cil_tmp39);
16669#line 1312
16670 __cil_tmp41 = (struct device const *)__cil_tmp40;
16671#line 1312
16672 __dynamic_dev_dbg(& descriptor___30, __cil_tmp41, "info: Downloading FW image (%d bytes)\n",
16673 firmware_len);
16674 }
16675 } else {
16676
16677 }
16678#line 1312
16679 goto while_break___0;
16680 }
16681 while_break___0: ;
16682 }
16683#line 1312
16684 goto while_break;
16685 }
16686 while_break: ;
16687 }
16688 {
16689#line 1315
16690 tmp___8 = mwifiex_pcie_disable_host_int(adapter);
16691 }
16692#line 1315
16693 if (tmp___8) {
16694 {
16695#line 1316
16696 __cil_tmp42 = (unsigned long )adapter;
16697#line 1316
16698 __cil_tmp43 = __cil_tmp42 + 72;
16699#line 1316
16700 __cil_tmp44 = *((struct device **)__cil_tmp43);
16701#line 1316
16702 __cil_tmp45 = (struct device const *)__cil_tmp44;
16703#line 1316
16704 dev_err(__cil_tmp45, "%s: Disabling interrupts failed.\n", "mwifiex_prog_fw_w_helper");
16705 }
16706#line 1318
16707 return (-1);
16708 } else {
16709
16710 }
16711 {
16712#line 1321
16713 skb = dev_alloc_skb(2312U);
16714 }
16715#line 1322
16716 if (! skb) {
16717#line 1323
16718 ret = -12;
16719#line 1324
16720 goto done;
16721 } else {
16722
16723 }
16724 {
16725#line 1326
16726 mwifiex_update_sk_buff_pa(skb);
16727 }
16728 {
16729#line 1329
16730 while (1) {
16731 while_continue___1: ;
16732#line 1330
16733 __cil_tmp46 = & ireg_intr;
16734#line 1330
16735 *__cil_tmp46 = (u32 )0;
16736#line 1333
16737 if (offset >= firmware_len) {
16738#line 1334
16739 goto while_break___1;
16740 } else {
16741
16742 }
16743#line 1336
16744 tries = (u32 )0;
16745 {
16746#line 1336
16747 while (1) {
16748 while_continue___2: ;
16749#line 1336
16750 if (tries < 100U) {
16751
16752 } else {
16753#line 1336
16754 goto while_break___2;
16755 }
16756 {
16757#line 1337
16758 ret = mwifiex_read_reg(adapter, 3136, & len);
16759 }
16760#line 1339
16761 if (ret) {
16762 {
16763#line 1340
16764 __cil_tmp47 = (unsigned long )adapter;
16765#line 1340
16766 __cil_tmp48 = __cil_tmp47 + 72;
16767#line 1340
16768 __cil_tmp49 = *((struct device **)__cil_tmp48);
16769#line 1340
16770 __cil_tmp50 = (struct device const *)__cil_tmp49;
16771#line 1340
16772 dev_warn(__cil_tmp50, "Failed reading len from boot code\n");
16773 }
16774#line 1342
16775 goto done;
16776 } else {
16777
16778 }
16779 {
16780#line 1344
16781 __cil_tmp51 = & len;
16782#line 1344
16783 if (*__cil_tmp51) {
16784#line 1345
16785 goto while_break___2;
16786 } else {
16787
16788 }
16789 }
16790 {
16791#line 1346
16792 usleep_range(10UL, 20UL);
16793#line 1336
16794 tries = tries + 1U;
16795 }
16796 }
16797 while_break___2: ;
16798 }
16799 {
16800#line 1349
16801 __cil_tmp52 = & len;
16802#line 1349
16803 __cil_tmp53 = *__cil_tmp52;
16804#line 1349
16805 if (! __cil_tmp53) {
16806#line 1350
16807 goto while_break___1;
16808 } else {
16809 {
16810#line 1351
16811 __cil_tmp54 = & len;
16812#line 1351
16813 __cil_tmp55 = *__cil_tmp54;
16814#line 1351
16815 if (__cil_tmp55 > 2312U) {
16816 {
16817#line 1352
16818 __cil_tmp56 = & len;
16819#line 1352
16820 __cil_tmp57 = *__cil_tmp56;
16821#line 1352
16822 printk("<3>mwifiex_pcie: FW download failure @ %d, invalid length %d\n", offset,
16823 __cil_tmp57);
16824#line 1354
16825 ret = -1;
16826 }
16827#line 1355
16828 goto done;
16829 } else {
16830
16831 }
16832 }
16833 }
16834 }
16835#line 1358
16836 __cil_tmp58 = & len;
16837#line 1358
16838 txlen = *__cil_tmp58;
16839 {
16840#line 1360
16841 __cil_tmp59 = & len;
16842#line 1360
16843 __cil_tmp60 = *__cil_tmp59;
16844#line 1360
16845 __cil_tmp61 = (unsigned long )__cil_tmp60;
16846#line 1360
16847 if (__cil_tmp61 & 1UL) {
16848#line 1361
16849 block_retry_cnt = block_retry_cnt + 1U;
16850#line 1362
16851 if (block_retry_cnt > 2U) {
16852 {
16853#line 1363
16854 printk("<3>mwifiex_pcie: FW download failure @ %d, over max retry count\n",
16855 offset);
16856#line 1365
16857 ret = -1;
16858 }
16859#line 1366
16860 goto done;
16861 } else {
16862
16863 }
16864 {
16865#line 1368
16866 __cil_tmp62 = (unsigned long )adapter;
16867#line 1368
16868 __cil_tmp63 = __cil_tmp62 + 72;
16869#line 1368
16870 __cil_tmp64 = *((struct device **)__cil_tmp63);
16871#line 1368
16872 __cil_tmp65 = (struct device const *)__cil_tmp64;
16873#line 1368
16874 __cil_tmp66 = & len;
16875#line 1368
16876 __cil_tmp67 = *__cil_tmp66;
16877#line 1368
16878 dev_err(__cil_tmp65, "FW CRC error indicated by the helper: len = 0x%04X, txlen = %d\n",
16879 __cil_tmp67, txlen);
16880#line 1371
16881 __cil_tmp68 = & len;
16882#line 1371
16883 __cil_tmp69 = & len;
16884#line 1371
16885 __cil_tmp70 = *__cil_tmp69;
16886#line 1371
16887 __cil_tmp71 = (unsigned long )__cil_tmp70;
16888#line 1371
16889 __cil_tmp72 = __cil_tmp71 & 0xfffffffffffffffeUL;
16890#line 1371
16891 *__cil_tmp68 = (u32 )__cil_tmp72;
16892#line 1373
16893 txlen = (u32 )0;
16894 }
16895 } else {
16896#line 1375
16897 block_retry_cnt = (u32 )0;
16898 {
16899#line 1378
16900 __cil_tmp73 = firmware_len - offset;
16901#line 1378
16902 if (__cil_tmp73 < txlen) {
16903#line 1379
16904 txlen = firmware_len - offset;
16905 } else {
16906
16907 }
16908 }
16909 {
16910#line 1381
16911 while (1) {
16912 while_continue___3: ;
16913 {
16914#line 1381
16915 while (1) {
16916 while_continue___4: ;
16917 {
16918#line 1381
16919 __cil_tmp74 = & descriptor___31;
16920#line 1381
16921 __cil_tmp75 = __cil_tmp74->flags;
16922#line 1381
16923 __cil_tmp76 = __cil_tmp75 & 1U;
16924#line 1381
16925 __cil_tmp77 = ! __cil_tmp76;
16926#line 1381
16927 __cil_tmp78 = ! __cil_tmp77;
16928#line 1381
16929 __cil_tmp79 = (long )__cil_tmp78;
16930#line 1381
16931 tmp___9 = __builtin_expect(__cil_tmp79, 0L);
16932 }
16933#line 1381
16934 if (tmp___9) {
16935 {
16936#line 1381
16937 __cil_tmp80 = (unsigned long )adapter;
16938#line 1381
16939 __cil_tmp81 = __cil_tmp80 + 72;
16940#line 1381
16941 __cil_tmp82 = *((struct device **)__cil_tmp81);
16942#line 1381
16943 __cil_tmp83 = (struct device const *)__cil_tmp82;
16944#line 1381
16945 __dynamic_dev_dbg(& descriptor___31, __cil_tmp83, ".");
16946 }
16947 } else {
16948
16949 }
16950#line 1381
16951 goto while_break___4;
16952 }
16953 while_break___4: ;
16954 }
16955#line 1381
16956 goto while_break___3;
16957 }
16958 while_break___3: ;
16959 }
16960 {
16961#line 1383
16962 __cil_tmp84 = txlen + 256U;
16963#line 1383
16964 __cil_tmp85 = __cil_tmp84 - 1U;
16965#line 1383
16966 tx_blocks = __cil_tmp85 / 256U;
16967#line 1388
16968 __cil_tmp86 = (unsigned long )skb;
16969#line 1388
16970 __cil_tmp87 = __cil_tmp86 + 224;
16971#line 1388
16972 __cil_tmp88 = *((unsigned char **)__cil_tmp87);
16973#line 1388
16974 __cil_tmp89 = (void *)__cil_tmp88;
16975#line 1388
16976 __cil_tmp90 = firmware + offset;
16977#line 1388
16978 __cil_tmp91 = (void const *)__cil_tmp90;
16979#line 1388
16980 __cil_tmp92 = (size_t )txlen;
16981#line 1388
16982 memmove(__cil_tmp89, __cil_tmp91, __cil_tmp92);
16983 }
16984 }
16985 }
16986 {
16987#line 1391
16988 __cil_tmp93 = (unsigned long )skb;
16989#line 1391
16990 __cil_tmp94 = __cil_tmp93 + 104;
16991#line 1391
16992 __cil_tmp95 = *((unsigned int *)__cil_tmp94);
16993#line 1391
16994 __cil_tmp96 = 2312U - __cil_tmp95;
16995#line 1391
16996 skb_put(skb, __cil_tmp96);
16997#line 1392
16998 __cil_tmp97 = tx_blocks * 256U;
16999#line 1392
17000 skb_trim(skb, __cil_tmp97);
17001#line 1395
17002 tmp___10 = mwifiex_pcie_send_boot_cmd(adapter, skb);
17003 }
17004#line 1395
17005 if (tmp___10) {
17006 {
17007#line 1396
17008 __cil_tmp98 = (unsigned long )adapter;
17009#line 1396
17010 __cil_tmp99 = __cil_tmp98 + 72;
17011#line 1396
17012 __cil_tmp100 = *((struct device **)__cil_tmp99);
17013#line 1396
17014 __cil_tmp101 = (struct device const *)__cil_tmp100;
17015#line 1396
17016 dev_err(__cil_tmp101, "Failed to send firmware download command\n");
17017#line 1398
17018 ret = -1;
17019 }
17020#line 1399
17021 goto done;
17022 } else {
17023
17024 }
17025 {
17026#line 1402
17027 while (1) {
17028 while_continue___5: ;
17029 {
17030#line 1403
17031 tmp___11 = mwifiex_read_reg(adapter, 3100, & ireg_intr);
17032 }
17033#line 1403
17034 if (tmp___11) {
17035 {
17036#line 1405
17037 __cil_tmp102 = (unsigned long )adapter;
17038#line 1405
17039 __cil_tmp103 = __cil_tmp102 + 72;
17040#line 1405
17041 __cil_tmp104 = *((struct device **)__cil_tmp103);
17042#line 1405
17043 __cil_tmp105 = (struct device const *)__cil_tmp104;
17044#line 1405
17045 dev_err(__cil_tmp105, "%s: Failed to read interrupt status during fw dnld.\n",
17046 "mwifiex_prog_fw_w_helper");
17047#line 1408
17048 ret = -1;
17049 }
17050#line 1409
17051 goto done;
17052 } else {
17053
17054 }
17055 {
17056#line 1402
17057 __cil_tmp106 = 1UL << 1;
17058#line 1402
17059 __cil_tmp107 = 1UL << 1;
17060#line 1402
17061 __cil_tmp108 = & ireg_intr;
17062#line 1402
17063 __cil_tmp109 = *__cil_tmp108;
17064#line 1402
17065 __cil_tmp110 = (unsigned long )__cil_tmp109;
17066#line 1402
17067 __cil_tmp111 = __cil_tmp110 & __cil_tmp107;
17068#line 1402
17069 if (__cil_tmp111 == __cil_tmp106) {
17070
17071 } else {
17072#line 1402
17073 goto while_break___5;
17074 }
17075 }
17076 }
17077 while_break___5: ;
17078 }
17079#line 1413
17080 offset = offset + txlen;
17081 }
17082 while_break___1: ;
17083 }
17084 {
17085#line 1416
17086 while (1) {
17087 while_continue___6: ;
17088 {
17089#line 1416
17090 while (1) {
17091 while_continue___7: ;
17092 {
17093#line 1416
17094 __cil_tmp112 = & descriptor___32;
17095#line 1416
17096 __cil_tmp113 = __cil_tmp112->flags;
17097#line 1416
17098 __cil_tmp114 = __cil_tmp113 & 1U;
17099#line 1416
17100 __cil_tmp115 = ! __cil_tmp114;
17101#line 1416
17102 __cil_tmp116 = ! __cil_tmp115;
17103#line 1416
17104 __cil_tmp117 = (long )__cil_tmp116;
17105#line 1416
17106 tmp___12 = __builtin_expect(__cil_tmp117, 0L);
17107 }
17108#line 1416
17109 if (tmp___12) {
17110 {
17111#line 1416
17112 __cil_tmp118 = (unsigned long )adapter;
17113#line 1416
17114 __cil_tmp119 = __cil_tmp118 + 72;
17115#line 1416
17116 __cil_tmp120 = *((struct device **)__cil_tmp119);
17117#line 1416
17118 __cil_tmp121 = (struct device const *)__cil_tmp120;
17119#line 1416
17120 __dynamic_dev_dbg(& descriptor___32, __cil_tmp121, "info:\nFW download over, size %d bytes\n",
17121 offset);
17122 }
17123 } else {
17124
17125 }
17126#line 1416
17127 goto while_break___7;
17128 }
17129 while_break___7: ;
17130 }
17131#line 1416
17132 goto while_break___6;
17133 }
17134 while_break___6: ;
17135 }
17136#line 1419
17137 ret = 0;
17138 done:
17139 {
17140#line 1422
17141 dev_kfree_skb_any(skb);
17142 }
17143#line 1423
17144 return (ret);
17145}
17146}
17147#line 1445
17148static int mwifiex_check_fw_status(struct mwifiex_adapter *adapter , u32 poll_num ) ;
17149#line 1445 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
17150static struct _ddebug __attribute__((__aligned__(8))) descriptor___33 __attribute__((__used__,
17151__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_check_fw_status", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
17152 "Setting driver ready signature\n", 1445U, 0U};
17153#line 1431 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
17154static int mwifiex_check_fw_status(struct mwifiex_adapter *adapter , u32 poll_num )
17155{ int ret ;
17156 u32 firmware_stat ;
17157 u32 winner_status ;
17158 u32 tries ;
17159 int tmp___7 ;
17160 long tmp___8 ;
17161 int tmp___9 ;
17162 int tmp___10 ;
17163 unsigned long __ms ;
17164 unsigned long tmp___11 ;
17165 int tmp___12 ;
17166 unsigned long __cil_tmp14 ;
17167 unsigned long __cil_tmp15 ;
17168 unsigned long __cil_tmp16 ;
17169 unsigned long __cil_tmp17 ;
17170 unsigned long __cil_tmp18 ;
17171 unsigned long __cil_tmp19 ;
17172 u32 __cil_tmp20 ;
17173 unsigned long __cil_tmp21 ;
17174 unsigned long __cil_tmp22 ;
17175 struct device *__cil_tmp23 ;
17176 struct device const *__cil_tmp24 ;
17177 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp25 ;
17178 unsigned int __cil_tmp26 ;
17179 unsigned int __cil_tmp27 ;
17180 int __cil_tmp28 ;
17181 int __cil_tmp29 ;
17182 long __cil_tmp30 ;
17183 unsigned long __cil_tmp31 ;
17184 unsigned long __cil_tmp32 ;
17185 struct device *__cil_tmp33 ;
17186 struct device const *__cil_tmp34 ;
17187 unsigned long __cil_tmp35 ;
17188 unsigned long __cil_tmp36 ;
17189 struct device *__cil_tmp37 ;
17190 struct device const *__cil_tmp38 ;
17191 u32 *__cil_tmp39 ;
17192 u32 __cil_tmp40 ;
17193 u32 *__cil_tmp41 ;
17194 u32 __cil_tmp42 ;
17195 unsigned long __cil_tmp43 ;
17196 unsigned long __cil_tmp44 ;
17197 struct device *__cil_tmp45 ;
17198 struct device const *__cil_tmp46 ;
17199 unsigned long __cil_tmp47 ;
17200 unsigned long __cil_tmp48 ;
17201 unsigned long __cil_tmp49 ;
17202 unsigned long __cil_tmp50 ;
17203 struct device *__cil_tmp51 ;
17204 struct device const *__cil_tmp52 ;
17205 unsigned long __cil_tmp53 ;
17206 unsigned long __cil_tmp54 ;
17207 int __cil_tmp55 ;
17208
17209 {
17210 {
17211#line 1434
17212 ret = 0;
17213#line 1439
17214 __cil_tmp14 = 1UL << 3;
17215#line 1439
17216 __cil_tmp15 = 1UL << 2;
17217#line 1439
17218 __cil_tmp16 = 1UL << 1;
17219#line 1439
17220 __cil_tmp17 = 1UL | __cil_tmp16;
17221#line 1439
17222 __cil_tmp18 = __cil_tmp17 | __cil_tmp15;
17223#line 1439
17224 __cil_tmp19 = __cil_tmp18 | __cil_tmp14;
17225#line 1439
17226 __cil_tmp20 = (u32 )__cil_tmp19;
17227#line 1439
17228 tmp___7 = mwifiex_write_reg(adapter, 3132, __cil_tmp20);
17229 }
17230#line 1439
17231 if (tmp___7) {
17232 {
17233#line 1441
17234 __cil_tmp21 = (unsigned long )adapter;
17235#line 1441
17236 __cil_tmp22 = __cil_tmp21 + 72;
17237#line 1441
17238 __cil_tmp23 = *((struct device **)__cil_tmp22);
17239#line 1441
17240 __cil_tmp24 = (struct device const *)__cil_tmp23;
17241#line 1441
17242 dev_warn(__cil_tmp24, "Write register failed\n");
17243 }
17244#line 1442
17245 return (-1);
17246 } else {
17247
17248 }
17249 {
17250#line 1445
17251 while (1) {
17252 while_continue: ;
17253 {
17254#line 1445
17255 while (1) {
17256 while_continue___0: ;
17257 {
17258#line 1445
17259 __cil_tmp25 = & descriptor___33;
17260#line 1445
17261 __cil_tmp26 = __cil_tmp25->flags;
17262#line 1445
17263 __cil_tmp27 = __cil_tmp26 & 1U;
17264#line 1445
17265 __cil_tmp28 = ! __cil_tmp27;
17266#line 1445
17267 __cil_tmp29 = ! __cil_tmp28;
17268#line 1445
17269 __cil_tmp30 = (long )__cil_tmp29;
17270#line 1445
17271 tmp___8 = __builtin_expect(__cil_tmp30, 0L);
17272 }
17273#line 1445
17274 if (tmp___8) {
17275 {
17276#line 1445
17277 __cil_tmp31 = (unsigned long )adapter;
17278#line 1445
17279 __cil_tmp32 = __cil_tmp31 + 72;
17280#line 1445
17281 __cil_tmp33 = *((struct device **)__cil_tmp32);
17282#line 1445
17283 __cil_tmp34 = (struct device const *)__cil_tmp33;
17284#line 1445
17285 __dynamic_dev_dbg(& descriptor___33, __cil_tmp34, "Setting driver ready signature\n");
17286 }
17287 } else {
17288
17289 }
17290#line 1445
17291 goto while_break___0;
17292 }
17293 while_break___0: ;
17294 }
17295#line 1445
17296 goto while_break;
17297 }
17298 while_break: ;
17299 }
17300 {
17301#line 1446
17302 tmp___9 = mwifiex_write_reg(adapter, 3312, 4275878400U);
17303 }
17304#line 1446
17305 if (tmp___9) {
17306 {
17307#line 1447
17308 __cil_tmp35 = (unsigned long )adapter;
17309#line 1447
17310 __cil_tmp36 = __cil_tmp35 + 72;
17311#line 1447
17312 __cil_tmp37 = *((struct device **)__cil_tmp36);
17313#line 1447
17314 __cil_tmp38 = (struct device const *)__cil_tmp37;
17315#line 1447
17316 dev_err(__cil_tmp38, "Failed to write driver ready signature\n");
17317 }
17318#line 1449
17319 return (-1);
17320 } else {
17321
17322 }
17323#line 1453
17324 tries = (u32 )0;
17325 {
17326#line 1453
17327 while (1) {
17328 while_continue___1: ;
17329#line 1453
17330 if (tries < poll_num) {
17331
17332 } else {
17333#line 1453
17334 goto while_break___1;
17335 }
17336 {
17337#line 1454
17338 tmp___10 = mwifiex_read_reg(adapter, 3140, & firmware_stat);
17339 }
17340#line 1454
17341 if (tmp___10) {
17342#line 1456
17343 ret = -1;
17344 } else {
17345#line 1458
17346 ret = 0;
17347 }
17348#line 1459
17349 if (ret) {
17350#line 1460
17351 goto __Cont;
17352 } else {
17353
17354 }
17355 {
17356#line 1461
17357 __cil_tmp39 = & firmware_stat;
17358#line 1461
17359 __cil_tmp40 = *__cil_tmp39;
17360#line 1461
17361 if (__cil_tmp40 == 4275878400U) {
17362#line 1462
17363 ret = 0;
17364#line 1463
17365 goto while_break___1;
17366 } else {
17367#line 1465
17368 __ms = 100UL;
17369 {
17370#line 1465
17371 while (1) {
17372 while_continue___2: ;
17373#line 1465
17374 tmp___11 = __ms;
17375#line 1465
17376 __ms = __ms - 1UL;
17377#line 1465
17378 if (tmp___11) {
17379
17380 } else {
17381#line 1465
17382 goto while_break___2;
17383 }
17384 {
17385#line 1465
17386 __const_udelay(4295000UL);
17387 }
17388 }
17389 while_break___2: ;
17390 }
17391#line 1466
17392 ret = -1;
17393 }
17394 }
17395 __Cont:
17396#line 1453
17397 tries = tries + 1U;
17398 }
17399 while_break___1: ;
17400 }
17401#line 1470
17402 if (ret) {
17403 {
17404#line 1471
17405 tmp___12 = mwifiex_read_reg(adapter, 3140, & winner_status);
17406 }
17407#line 1471
17408 if (tmp___12) {
17409#line 1473
17410 ret = -1;
17411 } else {
17412 {
17413#line 1474
17414 __cil_tmp41 = & winner_status;
17415#line 1474
17416 __cil_tmp42 = *__cil_tmp41;
17417#line 1474
17418 if (! __cil_tmp42) {
17419 {
17420#line 1475
17421 __cil_tmp43 = (unsigned long )adapter;
17422#line 1475
17423 __cil_tmp44 = __cil_tmp43 + 72;
17424#line 1475
17425 __cil_tmp45 = *((struct device **)__cil_tmp44);
17426#line 1475
17427 __cil_tmp46 = (struct device const *)__cil_tmp45;
17428#line 1475
17429 dev_err(__cil_tmp46, "PCI-E is the winner\n");
17430#line 1476
17431 __cil_tmp47 = (unsigned long )adapter;
17432#line 1476
17433 __cil_tmp48 = __cil_tmp47 + 64;
17434#line 1476
17435 *((int *)__cil_tmp48) = 1;
17436#line 1477
17437 ret = -1;
17438 }
17439 } else {
17440 {
17441#line 1479
17442 __cil_tmp49 = (unsigned long )adapter;
17443#line 1479
17444 __cil_tmp50 = __cil_tmp49 + 72;
17445#line 1479
17446 __cil_tmp51 = *((struct device **)__cil_tmp50);
17447#line 1479
17448 __cil_tmp52 = (struct device const *)__cil_tmp51;
17449#line 1479
17450 __cil_tmp53 = (unsigned long )adapter;
17451#line 1479
17452 __cil_tmp54 = __cil_tmp53 + 64;
17453#line 1479
17454 __cil_tmp55 = *((int *)__cil_tmp54);
17455#line 1479
17456 dev_err(__cil_tmp52, "PCI-E is not the winner <%#x,%d>, exit dnld\n", ret,
17457 __cil_tmp55);
17458#line 1482
17459 ret = 0;
17460 }
17461 }
17462 }
17463 }
17464 } else {
17465
17466 }
17467#line 1486
17468 return (ret);
17469}
17470}
17471#line 1492 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
17472static void mwifiex_interrupt_status(struct mwifiex_adapter *adapter )
17473{ u32 pcie_ireg ;
17474 unsigned long flags ;
17475 bool tmp___7 ;
17476 int tmp___8 ;
17477 int tmp___9 ;
17478 raw_spinlock_t *tmp___10 ;
17479 int tmp___11 ;
17480 bool tmp___12 ;
17481 unsigned long __cil_tmp12 ;
17482 unsigned long __cil_tmp13 ;
17483 struct device *__cil_tmp14 ;
17484 struct device const *__cil_tmp15 ;
17485 u32 *__cil_tmp16 ;
17486 u32 __cil_tmp17 ;
17487 u32 *__cil_tmp18 ;
17488 u32 *__cil_tmp19 ;
17489 u32 __cil_tmp20 ;
17490 u32 __cil_tmp21 ;
17491 unsigned long __cil_tmp22 ;
17492 unsigned long __cil_tmp23 ;
17493 struct device *__cil_tmp24 ;
17494 struct device const *__cil_tmp25 ;
17495 unsigned long __cil_tmp26 ;
17496 unsigned long __cil_tmp27 ;
17497 spinlock_t *__cil_tmp28 ;
17498 unsigned long __cil_tmp29 ;
17499 unsigned long __cil_tmp30 ;
17500 u32 *__cil_tmp31 ;
17501 u32 __cil_tmp32 ;
17502 unsigned long __cil_tmp33 ;
17503 unsigned long __cil_tmp34 ;
17504 u8 __cil_tmp35 ;
17505 unsigned int __cil_tmp36 ;
17506 unsigned int __cil_tmp37 ;
17507 unsigned long __cil_tmp38 ;
17508 unsigned long __cil_tmp39 ;
17509 spinlock_t *__cil_tmp40 ;
17510 unsigned long __cil_tmp41 ;
17511 u32 *__cil_tmp42 ;
17512 u32 __cil_tmp43 ;
17513 unsigned long __cil_tmp44 ;
17514 unsigned long __cil_tmp45 ;
17515 unsigned long __cil_tmp46 ;
17516 u32 __cil_tmp47 ;
17517 unsigned long __cil_tmp48 ;
17518 unsigned long __cil_tmp49 ;
17519 u32 __cil_tmp50 ;
17520 unsigned long __cil_tmp51 ;
17521 u32 __cil_tmp52 ;
17522 unsigned long __cil_tmp53 ;
17523 unsigned long __cil_tmp54 ;
17524 struct device *__cil_tmp55 ;
17525 struct device const *__cil_tmp56 ;
17526 unsigned long __cil_tmp57 ;
17527 unsigned long __cil_tmp58 ;
17528 u16 __cil_tmp59 ;
17529 unsigned long __cil_tmp60 ;
17530 unsigned long __cil_tmp61 ;
17531 u32 __cil_tmp62 ;
17532 unsigned long __cil_tmp63 ;
17533 unsigned long __cil_tmp64 ;
17534
17535 {
17536 {
17537#line 1497
17538 tmp___7 = mwifiex_pcie_ok_to_access_hw(adapter);
17539 }
17540#line 1497
17541 if (tmp___7) {
17542
17543 } else {
17544#line 1498
17545 return;
17546 }
17547 {
17548#line 1500
17549 tmp___8 = mwifiex_read_reg(adapter, 3120, & pcie_ireg);
17550 }
17551#line 1500
17552 if (tmp___8) {
17553 {
17554#line 1501
17555 __cil_tmp12 = (unsigned long )adapter;
17556#line 1501
17557 __cil_tmp13 = __cil_tmp12 + 72;
17558#line 1501
17559 __cil_tmp14 = *((struct device **)__cil_tmp13);
17560#line 1501
17561 __cil_tmp15 = (struct device const *)__cil_tmp14;
17562#line 1501
17563 dev_warn(__cil_tmp15, "Read register failed\n");
17564 }
17565#line 1502
17566 return;
17567 } else {
17568
17569 }
17570 {
17571#line 1505
17572 __cil_tmp16 = & pcie_ireg;
17573#line 1505
17574 __cil_tmp17 = *__cil_tmp16;
17575#line 1505
17576 if (__cil_tmp17 != 4294967295U) {
17577 {
17578#line 1505
17579 __cil_tmp18 = & pcie_ireg;
17580#line 1505
17581 if (*__cil_tmp18) {
17582 {
17583#line 1507
17584 mwifiex_pcie_disable_host_int(adapter);
17585#line 1510
17586 __cil_tmp19 = & pcie_ireg;
17587#line 1510
17588 __cil_tmp20 = *__cil_tmp19;
17589#line 1510
17590 __cil_tmp21 = ~ __cil_tmp20;
17591#line 1510
17592 tmp___9 = mwifiex_write_reg(adapter, 3120, __cil_tmp21);
17593 }
17594#line 1510
17595 if (tmp___9) {
17596 {
17597#line 1512
17598 __cil_tmp22 = (unsigned long )adapter;
17599#line 1512
17600 __cil_tmp23 = __cil_tmp22 + 72;
17601#line 1512
17602 __cil_tmp24 = *((struct device **)__cil_tmp23);
17603#line 1512
17604 __cil_tmp25 = (struct device const *)__cil_tmp24;
17605#line 1512
17606 dev_warn(__cil_tmp25, "Write register failed\n");
17607 }
17608#line 1513
17609 return;
17610 } else {
17611
17612 }
17613 {
17614#line 1515
17615 while (1) {
17616 while_continue: ;
17617 {
17618#line 1515
17619 while (1) {
17620 while_continue___0: ;
17621 {
17622#line 1515
17623 __cil_tmp26 = (unsigned long )adapter;
17624#line 1515
17625 __cil_tmp27 = __cil_tmp26 + 448;
17626#line 1515
17627 __cil_tmp28 = (spinlock_t *)__cil_tmp27;
17628#line 1515
17629 tmp___10 = spinlock_check(__cil_tmp28);
17630#line 1515
17631 flags = _raw_spin_lock_irqsave(tmp___10);
17632 }
17633#line 1515
17634 goto while_break___0;
17635 }
17636 while_break___0: ;
17637 }
17638#line 1515
17639 goto while_break;
17640 }
17641 while_break: ;
17642 }
17643 {
17644#line 1516
17645 __cil_tmp29 = (unsigned long )adapter;
17646#line 1516
17647 __cil_tmp30 = __cil_tmp29 + 472;
17648#line 1516
17649 __cil_tmp31 = & pcie_ireg;
17650#line 1516
17651 __cil_tmp32 = *__cil_tmp31;
17652#line 1516
17653 __cil_tmp33 = (unsigned long )adapter;
17654#line 1516
17655 __cil_tmp34 = __cil_tmp33 + 472;
17656#line 1516
17657 __cil_tmp35 = *((u8 *)__cil_tmp34);
17658#line 1516
17659 __cil_tmp36 = (unsigned int )__cil_tmp35;
17660#line 1516
17661 __cil_tmp37 = __cil_tmp36 | __cil_tmp32;
17662#line 1516
17663 *((u8 *)__cil_tmp30) = (u8 )__cil_tmp37;
17664#line 1517
17665 __cil_tmp38 = (unsigned long )adapter;
17666#line 1517
17667 __cil_tmp39 = __cil_tmp38 + 448;
17668#line 1517
17669 __cil_tmp40 = (spinlock_t *)__cil_tmp39;
17670#line 1517
17671 spin_unlock_irqrestore(__cil_tmp40, flags);
17672 }
17673 {
17674#line 1519
17675 __cil_tmp41 = 1UL << 2;
17676#line 1519
17677 __cil_tmp42 = & pcie_ireg;
17678#line 1519
17679 __cil_tmp43 = *__cil_tmp42;
17680#line 1519
17681 __cil_tmp44 = (unsigned long )__cil_tmp43;
17682#line 1519
17683 if (__cil_tmp44 & __cil_tmp41) {
17684 {
17685#line 1520
17686 __cil_tmp45 = (unsigned long )adapter;
17687#line 1520
17688 __cil_tmp46 = __cil_tmp45 + 3364;
17689#line 1520
17690 __cil_tmp47 = *((u32 *)__cil_tmp46);
17691#line 1520
17692 if (__cil_tmp47 == 2U) {
17693#line 1520
17694 goto _L;
17695 } else {
17696 {
17697#line 1520
17698 __cil_tmp48 = (unsigned long )adapter;
17699#line 1520
17700 __cil_tmp49 = __cil_tmp48 + 3364;
17701#line 1520
17702 __cil_tmp50 = *((u32 *)__cil_tmp49);
17703#line 1520
17704 if (__cil_tmp50 == 3U) {
17705 _L:
17706 {
17707#line 1522
17708 mwifiex_pcie_enable_host_int(adapter);
17709#line 1523
17710 __cil_tmp51 = 1UL << 2;
17711#line 1523
17712 __cil_tmp52 = (u32 )__cil_tmp51;
17713#line 1523
17714 tmp___11 = mwifiex_write_reg(adapter, 3096, __cil_tmp52);
17715 }
17716#line 1523
17717 if (tmp___11) {
17718 {
17719#line 1527
17720 __cil_tmp53 = (unsigned long )adapter;
17721#line 1527
17722 __cil_tmp54 = __cil_tmp53 + 72;
17723#line 1527
17724 __cil_tmp55 = *((struct device **)__cil_tmp54);
17725#line 1527
17726 __cil_tmp56 = (struct device const *)__cil_tmp55;
17727#line 1527
17728 dev_warn(__cil_tmp56, "Write register failed\n");
17729 }
17730#line 1529
17731 return;
17732 } else {
17733
17734 }
17735 } else {
17736
17737 }
17738 }
17739 }
17740 }
17741 } else {
17742 {
17743#line 1533
17744 __cil_tmp57 = (unsigned long )adapter;
17745#line 1533
17746 __cil_tmp58 = __cil_tmp57 + 3398;
17747#line 1533
17748 __cil_tmp59 = *((u16 *)__cil_tmp58);
17749#line 1533
17750 if (! __cil_tmp59) {
17751 {
17752#line 1533
17753 __cil_tmp60 = (unsigned long )adapter;
17754#line 1533
17755 __cil_tmp61 = __cil_tmp60 + 3364;
17756#line 1533
17757 __cil_tmp62 = *((u32 *)__cil_tmp61);
17758#line 1533
17759 if (__cil_tmp62 == 3U) {
17760 {
17761#line 1538
17762 tmp___12 = mwifiex_pcie_ok_to_access_hw(adapter);
17763 }
17764#line 1538
17765 if (tmp___12) {
17766#line 1539
17767 __cil_tmp63 = (unsigned long )adapter;
17768#line 1539
17769 __cil_tmp64 = __cil_tmp63 + 3364;
17770#line 1539
17771 *((u32 *)__cil_tmp64) = (u32 )0;
17772 } else {
17773
17774 }
17775 } else {
17776
17777 }
17778 }
17779 } else {
17780
17781 }
17782 }
17783 }
17784 }
17785 } else {
17786
17787 }
17788 }
17789 } else {
17790
17791 }
17792 }
17793#line 1542
17794 return;
17795}
17796}
17797#line 1557
17798static irqreturn_t mwifiex_pcie_interrupt(int irq , void *context ) ;
17799#line 1557 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
17800static struct _ddebug __attribute__((__aligned__(8))) descriptor___34 __attribute__((__used__,
17801__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_interrupt", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
17802 "info: %s: pdev is NULL\n", 1557U, 0U};
17803#line 1563
17804static irqreturn_t mwifiex_pcie_interrupt(int irq , void *context ) ;
17805#line 1563 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
17806static struct _ddebug __attribute__((__aligned__(8))) descriptor___35 __attribute__((__used__,
17807__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_interrupt", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
17808 "info: %s: card=%p adapter=%p\n", 1564U, 0U};
17809#line 1550 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
17810static irqreturn_t mwifiex_pcie_interrupt(int irq , void *context )
17811{ struct pci_dev *pdev ;
17812 struct pcie_service_card *card ;
17813 struct mwifiex_adapter *adapter ;
17814 long tmp___7 ;
17815 void *tmp___8 ;
17816 struct mwifiex_adapter *tmp___9 ;
17817 long tmp___10 ;
17818 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp10 ;
17819 unsigned int __cil_tmp11 ;
17820 unsigned int __cil_tmp12 ;
17821 int __cil_tmp13 ;
17822 int __cil_tmp14 ;
17823 long __cil_tmp15 ;
17824 u8 *__cil_tmp16 ;
17825 unsigned long __cil_tmp17 ;
17826 unsigned long __cil_tmp18 ;
17827 struct mwifiex_adapter *__cil_tmp19 ;
17828 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp20 ;
17829 unsigned int __cil_tmp21 ;
17830 unsigned int __cil_tmp22 ;
17831 int __cil_tmp23 ;
17832 int __cil_tmp24 ;
17833 long __cil_tmp25 ;
17834 unsigned long __cil_tmp26 ;
17835 unsigned long __cil_tmp27 ;
17836 void *__cil_tmp28 ;
17837 unsigned long __cil_tmp29 ;
17838 unsigned long __cil_tmp30 ;
17839 unsigned long __cil_tmp31 ;
17840 unsigned long __cil_tmp32 ;
17841 unsigned long __cil_tmp33 ;
17842 unsigned long __cil_tmp34 ;
17843 struct workqueue_struct *__cil_tmp35 ;
17844 unsigned long __cil_tmp36 ;
17845 unsigned long __cil_tmp37 ;
17846 struct work_struct *__cil_tmp38 ;
17847
17848 {
17849#line 1552
17850 pdev = (struct pci_dev *)context;
17851#line 1556
17852 if (! pdev) {
17853 {
17854#line 1557
17855 while (1) {
17856 while_continue: ;
17857 {
17858#line 1557
17859 __cil_tmp10 = & descriptor___34;
17860#line 1557
17861 __cil_tmp11 = __cil_tmp10->flags;
17862#line 1557
17863 __cil_tmp12 = __cil_tmp11 & 1U;
17864#line 1557
17865 __cil_tmp13 = ! __cil_tmp12;
17866#line 1557
17867 __cil_tmp14 = ! __cil_tmp13;
17868#line 1557
17869 __cil_tmp15 = (long )__cil_tmp14;
17870#line 1557
17871 tmp___7 = __builtin_expect(__cil_tmp15, 0L);
17872 }
17873#line 1557
17874 if (tmp___7) {
17875 {
17876#line 1557
17877 __cil_tmp16 = (u8 *)pdev;
17878#line 1557
17879 __dynamic_pr_debug(& descriptor___34, "mwifiex_pcie: info: %s: pdev is NULL\n",
17880 __cil_tmp16);
17881 }
17882 } else {
17883
17884 }
17885#line 1557
17886 goto while_break;
17887 }
17888 while_break: ;
17889 }
17890#line 1558
17891 goto exit;
17892 } else {
17893
17894 }
17895 {
17896#line 1561
17897 tmp___8 = pci_get_drvdata(pdev);
17898#line 1561
17899 card = (struct pcie_service_card *)tmp___8;
17900 }
17901#line 1562
17902 if (! card) {
17903#line 1562
17904 goto _L;
17905 } else {
17906 {
17907#line 1562
17908 __cil_tmp17 = (unsigned long )card;
17909#line 1562
17910 __cil_tmp18 = __cil_tmp17 + 8;
17911#line 1562
17912 __cil_tmp19 = *((struct mwifiex_adapter **)__cil_tmp18);
17913#line 1562
17914 if (! __cil_tmp19) {
17915 _L:
17916 {
17917#line 1563
17918 while (1) {
17919 while_continue___0: ;
17920 {
17921#line 1563
17922 __cil_tmp20 = & descriptor___35;
17923#line 1563
17924 __cil_tmp21 = __cil_tmp20->flags;
17925#line 1563
17926 __cil_tmp22 = __cil_tmp21 & 1U;
17927#line 1563
17928 __cil_tmp23 = ! __cil_tmp22;
17929#line 1563
17930 __cil_tmp24 = ! __cil_tmp23;
17931#line 1563
17932 __cil_tmp25 = (long )__cil_tmp24;
17933#line 1563
17934 tmp___10 = __builtin_expect(__cil_tmp25, 0L);
17935 }
17936#line 1563
17937 if (tmp___10) {
17938#line 1563
17939 if (card) {
17940#line 1563
17941 __cil_tmp26 = (unsigned long )card;
17942#line 1563
17943 __cil_tmp27 = __cil_tmp26 + 8;
17944#line 1563
17945 tmp___9 = *((struct mwifiex_adapter **)__cil_tmp27);
17946 } else {
17947#line 1563
17948 __cil_tmp28 = (void *)0;
17949#line 1563
17950 tmp___9 = (struct mwifiex_adapter *)__cil_tmp28;
17951 }
17952 {
17953#line 1563
17954 __dynamic_pr_debug(& descriptor___35, "mwifiex_pcie: info: %s: card=%p adapter=%p\n",
17955 "mwifiex_pcie_interrupt", card, tmp___9);
17956 }
17957 } else {
17958
17959 }
17960#line 1563
17961 goto while_break___0;
17962 }
17963 while_break___0: ;
17964 }
17965#line 1565
17966 goto exit;
17967 } else {
17968
17969 }
17970 }
17971 }
17972#line 1567
17973 __cil_tmp29 = (unsigned long )card;
17974#line 1567
17975 __cil_tmp30 = __cil_tmp29 + 8;
17976#line 1567
17977 adapter = *((struct mwifiex_adapter **)__cil_tmp30);
17978 {
17979#line 1569
17980 __cil_tmp31 = (unsigned long )adapter;
17981#line 1569
17982 __cil_tmp32 = __cil_tmp31 + 80;
17983#line 1569
17984 if (*((bool *)__cil_tmp32)) {
17985#line 1570
17986 goto exit;
17987 } else {
17988
17989 }
17990 }
17991 {
17992#line 1572
17993 mwifiex_interrupt_status(adapter);
17994#line 1573
17995 __cil_tmp33 = (unsigned long )adapter;
17996#line 1573
17997 __cil_tmp34 = __cil_tmp33 + 280;
17998#line 1573
17999 __cil_tmp35 = *((struct workqueue_struct **)__cil_tmp34);
18000#line 1573
18001 __cil_tmp36 = (unsigned long )adapter;
18002#line 1573
18003 __cil_tmp37 = __cil_tmp36 + 288;
18004#line 1573
18005 __cil_tmp38 = (struct work_struct *)__cil_tmp37;
18006#line 1573
18007 queue_work(__cil_tmp35, __cil_tmp38);
18008 }
18009 exit:
18010#line 1576
18011 return ((irqreturn_t )1);
18012}
18013}
18014#line 1607
18015static int mwifiex_process_int_status(struct mwifiex_adapter *adapter ) ;
18016#line 1607 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
18017static struct _ddebug __attribute__((__aligned__(8))) descriptor___36 __attribute__((__used__,
18018__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_process_int_status", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
18019 "info: DATA sent intr\n", 1607U, 0U};
18020#line 1613
18021static int mwifiex_process_int_status(struct mwifiex_adapter *adapter ) ;
18022#line 1613 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
18023static struct _ddebug __attribute__((__aligned__(8))) descriptor___37 __attribute__((__used__,
18024__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_process_int_status", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
18025 "info: Rx DATA\n", 1613U, 0U};
18026#line 1620
18027static int mwifiex_process_int_status(struct mwifiex_adapter *adapter ) ;
18028#line 1620 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
18029static struct _ddebug __attribute__((__aligned__(8))) descriptor___38 __attribute__((__used__,
18030__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_process_int_status", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
18031 "info: Rx EVENT\n", 1620U, 0U};
18032#line 1629
18033static int mwifiex_process_int_status(struct mwifiex_adapter *adapter ) ;
18034#line 1629 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
18035static struct _ddebug __attribute__((__aligned__(8))) descriptor___39 __attribute__((__used__,
18036__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_process_int_status", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
18037 "info: CMD sent Interrupt\n", 1630U, 0U};
18038#line 1661
18039static int mwifiex_process_int_status(struct mwifiex_adapter *adapter ) ;
18040#line 1661 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
18041static struct _ddebug __attribute__((__aligned__(8))) descriptor___40 __attribute__((__used__,
18042__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_process_int_status", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
18043 "info: cmd_sent=%d data_sent=%d\n", 1662U, 0U};
18044#line 1592 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
18045static int mwifiex_process_int_status(struct mwifiex_adapter *adapter )
18046{ int ret ;
18047 u32 pcie_ireg ;
18048 unsigned long flags ;
18049 raw_spinlock_t *tmp___7 ;
18050 long tmp___8 ;
18051 long tmp___9 ;
18052 long tmp___10 ;
18053 long tmp___11 ;
18054 int tmp___12 ;
18055 int tmp___13 ;
18056 bool tmp___14 ;
18057 long tmp___15 ;
18058 u32 *__cil_tmp16 ;
18059 unsigned long __cil_tmp17 ;
18060 unsigned long __cil_tmp18 ;
18061 spinlock_t *__cil_tmp19 ;
18062 unsigned long __cil_tmp20 ;
18063 unsigned long __cil_tmp21 ;
18064 unsigned long __cil_tmp22 ;
18065 unsigned long __cil_tmp23 ;
18066 unsigned long __cil_tmp24 ;
18067 unsigned long __cil_tmp25 ;
18068 unsigned long __cil_tmp26 ;
18069 unsigned long __cil_tmp27 ;
18070 unsigned long __cil_tmp28 ;
18071 unsigned long __cil_tmp29 ;
18072 u8 __cil_tmp30 ;
18073 unsigned long __cil_tmp31 ;
18074 unsigned long __cil_tmp32 ;
18075 unsigned long __cil_tmp33 ;
18076 unsigned long __cil_tmp34 ;
18077 spinlock_t *__cil_tmp35 ;
18078 unsigned long __cil_tmp36 ;
18079 unsigned long __cil_tmp37 ;
18080 unsigned long __cil_tmp38 ;
18081 unsigned long __cil_tmp39 ;
18082 unsigned long __cil_tmp40 ;
18083 unsigned long __cil_tmp41 ;
18084 unsigned long __cil_tmp42 ;
18085 unsigned long __cil_tmp43 ;
18086 u8 __cil_tmp44 ;
18087 unsigned long __cil_tmp45 ;
18088 unsigned long __cil_tmp46 ;
18089 unsigned long __cil_tmp47 ;
18090 u8 __cil_tmp48 ;
18091 unsigned long __cil_tmp49 ;
18092 unsigned long __cil_tmp50 ;
18093 unsigned long __cil_tmp51 ;
18094 unsigned long __cil_tmp52 ;
18095 unsigned long __cil_tmp53 ;
18096 u8 __cil_tmp54 ;
18097 unsigned long __cil_tmp55 ;
18098 unsigned long __cil_tmp56 ;
18099 unsigned long __cil_tmp57 ;
18100 unsigned long __cil_tmp58 ;
18101 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp59 ;
18102 unsigned int __cil_tmp60 ;
18103 unsigned int __cil_tmp61 ;
18104 int __cil_tmp62 ;
18105 int __cil_tmp63 ;
18106 long __cil_tmp64 ;
18107 unsigned long __cil_tmp65 ;
18108 unsigned long __cil_tmp66 ;
18109 struct device *__cil_tmp67 ;
18110 struct device const *__cil_tmp68 ;
18111 unsigned long __cil_tmp69 ;
18112 unsigned long __cil_tmp70 ;
18113 unsigned long __cil_tmp71 ;
18114 unsigned long __cil_tmp72 ;
18115 unsigned long __cil_tmp73 ;
18116 u8 __cil_tmp74 ;
18117 unsigned long __cil_tmp75 ;
18118 unsigned long __cil_tmp76 ;
18119 unsigned long __cil_tmp77 ;
18120 unsigned long __cil_tmp78 ;
18121 unsigned long __cil_tmp79 ;
18122 unsigned long __cil_tmp80 ;
18123 unsigned long __cil_tmp81 ;
18124 u8 __cil_tmp82 ;
18125 unsigned long __cil_tmp83 ;
18126 unsigned long __cil_tmp84 ;
18127 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp85 ;
18128 unsigned int __cil_tmp86 ;
18129 unsigned int __cil_tmp87 ;
18130 int __cil_tmp88 ;
18131 int __cil_tmp89 ;
18132 long __cil_tmp90 ;
18133 unsigned long __cil_tmp91 ;
18134 unsigned long __cil_tmp92 ;
18135 struct device *__cil_tmp93 ;
18136 struct device const *__cil_tmp94 ;
18137 unsigned long __cil_tmp95 ;
18138 unsigned long __cil_tmp96 ;
18139 unsigned long __cil_tmp97 ;
18140 u8 __cil_tmp98 ;
18141 unsigned long __cil_tmp99 ;
18142 unsigned long __cil_tmp100 ;
18143 unsigned long __cil_tmp101 ;
18144 unsigned long __cil_tmp102 ;
18145 unsigned long __cil_tmp103 ;
18146 unsigned long __cil_tmp104 ;
18147 unsigned long __cil_tmp105 ;
18148 u8 __cil_tmp106 ;
18149 unsigned long __cil_tmp107 ;
18150 unsigned long __cil_tmp108 ;
18151 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp109 ;
18152 unsigned int __cil_tmp110 ;
18153 unsigned int __cil_tmp111 ;
18154 int __cil_tmp112 ;
18155 int __cil_tmp113 ;
18156 long __cil_tmp114 ;
18157 unsigned long __cil_tmp115 ;
18158 unsigned long __cil_tmp116 ;
18159 struct device *__cil_tmp117 ;
18160 struct device const *__cil_tmp118 ;
18161 unsigned long __cil_tmp119 ;
18162 unsigned long __cil_tmp120 ;
18163 unsigned long __cil_tmp121 ;
18164 u8 __cil_tmp122 ;
18165 unsigned long __cil_tmp123 ;
18166 unsigned long __cil_tmp124 ;
18167 unsigned long __cil_tmp125 ;
18168 unsigned long __cil_tmp126 ;
18169 unsigned long __cil_tmp127 ;
18170 unsigned long __cil_tmp128 ;
18171 unsigned long __cil_tmp129 ;
18172 u8 __cil_tmp130 ;
18173 unsigned long __cil_tmp131 ;
18174 unsigned long __cil_tmp132 ;
18175 unsigned long __cil_tmp133 ;
18176 unsigned long __cil_tmp134 ;
18177 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp135 ;
18178 unsigned int __cil_tmp136 ;
18179 unsigned int __cil_tmp137 ;
18180 int __cil_tmp138 ;
18181 int __cil_tmp139 ;
18182 long __cil_tmp140 ;
18183 unsigned long __cil_tmp141 ;
18184 unsigned long __cil_tmp142 ;
18185 struct device *__cil_tmp143 ;
18186 struct device const *__cil_tmp144 ;
18187 unsigned long __cil_tmp145 ;
18188 unsigned long __cil_tmp146 ;
18189 unsigned long __cil_tmp147 ;
18190 unsigned long __cil_tmp148 ;
18191 struct device *__cil_tmp149 ;
18192 struct device const *__cil_tmp150 ;
18193 u32 *__cil_tmp151 ;
18194 u32 __cil_tmp152 ;
18195 u32 *__cil_tmp153 ;
18196 u32 *__cil_tmp154 ;
18197 u32 __cil_tmp155 ;
18198 u32 __cil_tmp156 ;
18199 unsigned long __cil_tmp157 ;
18200 unsigned long __cil_tmp158 ;
18201 struct device *__cil_tmp159 ;
18202 struct device const *__cil_tmp160 ;
18203 unsigned long __cil_tmp161 ;
18204 unsigned long __cil_tmp162 ;
18205 u32 *__cil_tmp163 ;
18206 u32 __cil_tmp164 ;
18207 unsigned long __cil_tmp165 ;
18208 unsigned long __cil_tmp166 ;
18209 u8 __cil_tmp167 ;
18210 unsigned int __cil_tmp168 ;
18211 unsigned int __cil_tmp169 ;
18212 unsigned long __cil_tmp170 ;
18213 unsigned long __cil_tmp171 ;
18214 unsigned long __cil_tmp172 ;
18215 unsigned long __cil_tmp173 ;
18216 unsigned long __cil_tmp174 ;
18217 unsigned long __cil_tmp175 ;
18218 unsigned long __cil_tmp176 ;
18219 unsigned long __cil_tmp177 ;
18220 unsigned long __cil_tmp178 ;
18221 unsigned long __cil_tmp179 ;
18222 u8 __cil_tmp180 ;
18223 unsigned long __cil_tmp181 ;
18224 unsigned long __cil_tmp182 ;
18225 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp183 ;
18226 unsigned int __cil_tmp184 ;
18227 unsigned int __cil_tmp185 ;
18228 int __cil_tmp186 ;
18229 int __cil_tmp187 ;
18230 long __cil_tmp188 ;
18231 unsigned long __cil_tmp189 ;
18232 unsigned long __cil_tmp190 ;
18233 struct device *__cil_tmp191 ;
18234 struct device const *__cil_tmp192 ;
18235 unsigned long __cil_tmp193 ;
18236 unsigned long __cil_tmp194 ;
18237 u8 __cil_tmp195 ;
18238 int __cil_tmp196 ;
18239 unsigned long __cil_tmp197 ;
18240 unsigned long __cil_tmp198 ;
18241 u8 __cil_tmp199 ;
18242 int __cil_tmp200 ;
18243
18244 {
18245#line 1595
18246 __cil_tmp16 = & pcie_ireg;
18247#line 1595
18248 *__cil_tmp16 = (u32 )0;
18249 {
18250#line 1598
18251 while (1) {
18252 while_continue: ;
18253 {
18254#line 1598
18255 while (1) {
18256 while_continue___0: ;
18257 {
18258#line 1598
18259 __cil_tmp17 = (unsigned long )adapter;
18260#line 1598
18261 __cil_tmp18 = __cil_tmp17 + 448;
18262#line 1598
18263 __cil_tmp19 = (spinlock_t *)__cil_tmp18;
18264#line 1598
18265 tmp___7 = spinlock_check(__cil_tmp19);
18266#line 1598
18267 flags = _raw_spin_lock_irqsave(tmp___7);
18268 }
18269#line 1598
18270 goto while_break___0;
18271 }
18272 while_break___0: ;
18273 }
18274#line 1598
18275 goto while_break;
18276 }
18277 while_break: ;
18278 }
18279 {
18280#line 1600
18281 __cil_tmp20 = (unsigned long )adapter;
18282#line 1600
18283 __cil_tmp21 = __cil_tmp20 + 472;
18284#line 1600
18285 __cil_tmp22 = 1UL << 3;
18286#line 1600
18287 __cil_tmp23 = 1UL << 2;
18288#line 1600
18289 __cil_tmp24 = 1UL << 1;
18290#line 1600
18291 __cil_tmp25 = 1UL | __cil_tmp24;
18292#line 1600
18293 __cil_tmp26 = __cil_tmp25 | __cil_tmp23;
18294#line 1600
18295 __cil_tmp27 = __cil_tmp26 | __cil_tmp22;
18296#line 1600
18297 __cil_tmp28 = (unsigned long )adapter;
18298#line 1600
18299 __cil_tmp29 = __cil_tmp28 + 472;
18300#line 1600
18301 __cil_tmp30 = *((u8 *)__cil_tmp29);
18302#line 1600
18303 __cil_tmp31 = (unsigned long )__cil_tmp30;
18304#line 1600
18305 __cil_tmp32 = __cil_tmp31 & __cil_tmp27;
18306#line 1600
18307 *((u8 *)__cil_tmp21) = (u8 )__cil_tmp32;
18308#line 1601
18309 __cil_tmp33 = (unsigned long )adapter;
18310#line 1601
18311 __cil_tmp34 = __cil_tmp33 + 448;
18312#line 1601
18313 __cil_tmp35 = (spinlock_t *)__cil_tmp34;
18314#line 1601
18315 spin_unlock_irqrestore(__cil_tmp35, flags);
18316 }
18317 {
18318#line 1603
18319 while (1) {
18320 while_continue___1: ;
18321 {
18322#line 1603
18323 __cil_tmp36 = 1UL << 3;
18324#line 1603
18325 __cil_tmp37 = 1UL << 2;
18326#line 1603
18327 __cil_tmp38 = 1UL << 1;
18328#line 1603
18329 __cil_tmp39 = 1UL | __cil_tmp38;
18330#line 1603
18331 __cil_tmp40 = __cil_tmp39 | __cil_tmp37;
18332#line 1603
18333 __cil_tmp41 = __cil_tmp40 | __cil_tmp36;
18334#line 1603
18335 __cil_tmp42 = (unsigned long )adapter;
18336#line 1603
18337 __cil_tmp43 = __cil_tmp42 + 472;
18338#line 1603
18339 __cil_tmp44 = *((u8 *)__cil_tmp43);
18340#line 1603
18341 __cil_tmp45 = (unsigned long )__cil_tmp44;
18342#line 1603
18343 if (__cil_tmp45 & __cil_tmp41) {
18344
18345 } else {
18346#line 1603
18347 goto while_break___1;
18348 }
18349 }
18350 {
18351#line 1604
18352 __cil_tmp46 = (unsigned long )adapter;
18353#line 1604
18354 __cil_tmp47 = __cil_tmp46 + 472;
18355#line 1604
18356 __cil_tmp48 = *((u8 *)__cil_tmp47);
18357#line 1604
18358 __cil_tmp49 = (unsigned long )__cil_tmp48;
18359#line 1604
18360 if (__cil_tmp49 & 1UL) {
18361#line 1605
18362 __cil_tmp50 = (unsigned long )adapter;
18363#line 1605
18364 __cil_tmp51 = __cil_tmp50 + 472;
18365#line 1605
18366 __cil_tmp52 = (unsigned long )adapter;
18367#line 1605
18368 __cil_tmp53 = __cil_tmp52 + 472;
18369#line 1605
18370 __cil_tmp54 = *((u8 *)__cil_tmp53);
18371#line 1605
18372 __cil_tmp55 = (unsigned long )__cil_tmp54;
18373#line 1605
18374 __cil_tmp56 = __cil_tmp55 & 0xfffffffffffffffeUL;
18375#line 1605
18376 *((u8 *)__cil_tmp51) = (u8 )__cil_tmp56;
18377 {
18378#line 1606
18379 __cil_tmp57 = (unsigned long )adapter;
18380#line 1606
18381 __cil_tmp58 = __cil_tmp57 + 2800;
18382#line 1606
18383 if (*((u8 *)__cil_tmp58)) {
18384 {
18385#line 1607
18386 while (1) {
18387 while_continue___2: ;
18388 {
18389#line 1607
18390 while (1) {
18391 while_continue___3: ;
18392 {
18393#line 1607
18394 __cil_tmp59 = & descriptor___36;
18395#line 1607
18396 __cil_tmp60 = __cil_tmp59->flags;
18397#line 1607
18398 __cil_tmp61 = __cil_tmp60 & 1U;
18399#line 1607
18400 __cil_tmp62 = ! __cil_tmp61;
18401#line 1607
18402 __cil_tmp63 = ! __cil_tmp62;
18403#line 1607
18404 __cil_tmp64 = (long )__cil_tmp63;
18405#line 1607
18406 tmp___8 = __builtin_expect(__cil_tmp64, 0L);
18407 }
18408#line 1607
18409 if (tmp___8) {
18410 {
18411#line 1607
18412 __cil_tmp65 = (unsigned long )adapter;
18413#line 1607
18414 __cil_tmp66 = __cil_tmp65 + 72;
18415#line 1607
18416 __cil_tmp67 = *((struct device **)__cil_tmp66);
18417#line 1607
18418 __cil_tmp68 = (struct device const *)__cil_tmp67;
18419#line 1607
18420 __dynamic_dev_dbg(& descriptor___36, __cil_tmp68, "info: DATA sent intr\n");
18421 }
18422 } else {
18423
18424 }
18425#line 1607
18426 goto while_break___3;
18427 }
18428 while_break___3: ;
18429 }
18430#line 1607
18431 goto while_break___2;
18432 }
18433 while_break___2: ;
18434 }
18435#line 1608
18436 __cil_tmp69 = (unsigned long )adapter;
18437#line 1608
18438 __cil_tmp70 = __cil_tmp69 + 2800;
18439#line 1608
18440 *((u8 *)__cil_tmp70) = (u8 )0;
18441 } else {
18442
18443 }
18444 }
18445 } else {
18446
18447 }
18448 }
18449 {
18450#line 1611
18451 __cil_tmp71 = 1UL << 1;
18452#line 1611
18453 __cil_tmp72 = (unsigned long )adapter;
18454#line 1611
18455 __cil_tmp73 = __cil_tmp72 + 472;
18456#line 1611
18457 __cil_tmp74 = *((u8 *)__cil_tmp73);
18458#line 1611
18459 __cil_tmp75 = (unsigned long )__cil_tmp74;
18460#line 1611
18461 if (__cil_tmp75 & __cil_tmp71) {
18462#line 1612
18463 __cil_tmp76 = (unsigned long )adapter;
18464#line 1612
18465 __cil_tmp77 = __cil_tmp76 + 472;
18466#line 1612
18467 __cil_tmp78 = 1UL << 1;
18468#line 1612
18469 __cil_tmp79 = ~ __cil_tmp78;
18470#line 1612
18471 __cil_tmp80 = (unsigned long )adapter;
18472#line 1612
18473 __cil_tmp81 = __cil_tmp80 + 472;
18474#line 1612
18475 __cil_tmp82 = *((u8 *)__cil_tmp81);
18476#line 1612
18477 __cil_tmp83 = (unsigned long )__cil_tmp82;
18478#line 1612
18479 __cil_tmp84 = __cil_tmp83 & __cil_tmp79;
18480#line 1612
18481 *((u8 *)__cil_tmp77) = (u8 )__cil_tmp84;
18482 {
18483#line 1613
18484 while (1) {
18485 while_continue___4: ;
18486 {
18487#line 1613
18488 while (1) {
18489 while_continue___5: ;
18490 {
18491#line 1613
18492 __cil_tmp85 = & descriptor___37;
18493#line 1613
18494 __cil_tmp86 = __cil_tmp85->flags;
18495#line 1613
18496 __cil_tmp87 = __cil_tmp86 & 1U;
18497#line 1613
18498 __cil_tmp88 = ! __cil_tmp87;
18499#line 1613
18500 __cil_tmp89 = ! __cil_tmp88;
18501#line 1613
18502 __cil_tmp90 = (long )__cil_tmp89;
18503#line 1613
18504 tmp___9 = __builtin_expect(__cil_tmp90, 0L);
18505 }
18506#line 1613
18507 if (tmp___9) {
18508 {
18509#line 1613
18510 __cil_tmp91 = (unsigned long )adapter;
18511#line 1613
18512 __cil_tmp92 = __cil_tmp91 + 72;
18513#line 1613
18514 __cil_tmp93 = *((struct device **)__cil_tmp92);
18515#line 1613
18516 __cil_tmp94 = (struct device const *)__cil_tmp93;
18517#line 1613
18518 __dynamic_dev_dbg(& descriptor___37, __cil_tmp94, "info: Rx DATA\n");
18519 }
18520 } else {
18521
18522 }
18523#line 1613
18524 goto while_break___5;
18525 }
18526 while_break___5: ;
18527 }
18528#line 1613
18529 goto while_break___4;
18530 }
18531 while_break___4: ;
18532 }
18533 {
18534#line 1614
18535 ret = mwifiex_pcie_process_recv_data(adapter);
18536 }
18537#line 1615
18538 if (ret) {
18539#line 1616
18540 return (ret);
18541 } else {
18542
18543 }
18544 } else {
18545
18546 }
18547 }
18548 {
18549#line 1618
18550 __cil_tmp95 = 1UL << 3;
18551#line 1618
18552 __cil_tmp96 = (unsigned long )adapter;
18553#line 1618
18554 __cil_tmp97 = __cil_tmp96 + 472;
18555#line 1618
18556 __cil_tmp98 = *((u8 *)__cil_tmp97);
18557#line 1618
18558 __cil_tmp99 = (unsigned long )__cil_tmp98;
18559#line 1618
18560 if (__cil_tmp99 & __cil_tmp95) {
18561#line 1619
18562 __cil_tmp100 = (unsigned long )adapter;
18563#line 1619
18564 __cil_tmp101 = __cil_tmp100 + 472;
18565#line 1619
18566 __cil_tmp102 = 1UL << 3;
18567#line 1619
18568 __cil_tmp103 = ~ __cil_tmp102;
18569#line 1619
18570 __cil_tmp104 = (unsigned long )adapter;
18571#line 1619
18572 __cil_tmp105 = __cil_tmp104 + 472;
18573#line 1619
18574 __cil_tmp106 = *((u8 *)__cil_tmp105);
18575#line 1619
18576 __cil_tmp107 = (unsigned long )__cil_tmp106;
18577#line 1619
18578 __cil_tmp108 = __cil_tmp107 & __cil_tmp103;
18579#line 1619
18580 *((u8 *)__cil_tmp101) = (u8 )__cil_tmp108;
18581 {
18582#line 1620
18583 while (1) {
18584 while_continue___6: ;
18585 {
18586#line 1620
18587 while (1) {
18588 while_continue___7: ;
18589 {
18590#line 1620
18591 __cil_tmp109 = & descriptor___38;
18592#line 1620
18593 __cil_tmp110 = __cil_tmp109->flags;
18594#line 1620
18595 __cil_tmp111 = __cil_tmp110 & 1U;
18596#line 1620
18597 __cil_tmp112 = ! __cil_tmp111;
18598#line 1620
18599 __cil_tmp113 = ! __cil_tmp112;
18600#line 1620
18601 __cil_tmp114 = (long )__cil_tmp113;
18602#line 1620
18603 tmp___10 = __builtin_expect(__cil_tmp114, 0L);
18604 }
18605#line 1620
18606 if (tmp___10) {
18607 {
18608#line 1620
18609 __cil_tmp115 = (unsigned long )adapter;
18610#line 1620
18611 __cil_tmp116 = __cil_tmp115 + 72;
18612#line 1620
18613 __cil_tmp117 = *((struct device **)__cil_tmp116);
18614#line 1620
18615 __cil_tmp118 = (struct device const *)__cil_tmp117;
18616#line 1620
18617 __dynamic_dev_dbg(& descriptor___38, __cil_tmp118, "info: Rx EVENT\n");
18618 }
18619 } else {
18620
18621 }
18622#line 1620
18623 goto while_break___7;
18624 }
18625 while_break___7: ;
18626 }
18627#line 1620
18628 goto while_break___6;
18629 }
18630 while_break___6: ;
18631 }
18632 {
18633#line 1621
18634 ret = mwifiex_pcie_process_event_ready(adapter);
18635 }
18636#line 1622
18637 if (ret) {
18638#line 1623
18639 return (ret);
18640 } else {
18641
18642 }
18643 } else {
18644
18645 }
18646 }
18647 {
18648#line 1626
18649 __cil_tmp119 = 1UL << 2;
18650#line 1626
18651 __cil_tmp120 = (unsigned long )adapter;
18652#line 1626
18653 __cil_tmp121 = __cil_tmp120 + 472;
18654#line 1626
18655 __cil_tmp122 = *((u8 *)__cil_tmp121);
18656#line 1626
18657 __cil_tmp123 = (unsigned long )__cil_tmp122;
18658#line 1626
18659 if (__cil_tmp123 & __cil_tmp119) {
18660#line 1627
18661 __cil_tmp124 = (unsigned long )adapter;
18662#line 1627
18663 __cil_tmp125 = __cil_tmp124 + 472;
18664#line 1627
18665 __cil_tmp126 = 1UL << 2;
18666#line 1627
18667 __cil_tmp127 = ~ __cil_tmp126;
18668#line 1627
18669 __cil_tmp128 = (unsigned long )adapter;
18670#line 1627
18671 __cil_tmp129 = __cil_tmp128 + 472;
18672#line 1627
18673 __cil_tmp130 = *((u8 *)__cil_tmp129);
18674#line 1627
18675 __cil_tmp131 = (unsigned long )__cil_tmp130;
18676#line 1627
18677 __cil_tmp132 = __cil_tmp131 & __cil_tmp127;
18678#line 1627
18679 *((u8 *)__cil_tmp125) = (u8 )__cil_tmp132;
18680 {
18681#line 1628
18682 __cil_tmp133 = (unsigned long )adapter;
18683#line 1628
18684 __cil_tmp134 = __cil_tmp133 + 2801;
18685#line 1628
18686 if (*((u8 *)__cil_tmp134)) {
18687 {
18688#line 1629
18689 while (1) {
18690 while_continue___8: ;
18691 {
18692#line 1629
18693 while (1) {
18694 while_continue___9: ;
18695 {
18696#line 1629
18697 __cil_tmp135 = & descriptor___39;
18698#line 1629
18699 __cil_tmp136 = __cil_tmp135->flags;
18700#line 1629
18701 __cil_tmp137 = __cil_tmp136 & 1U;
18702#line 1629
18703 __cil_tmp138 = ! __cil_tmp137;
18704#line 1629
18705 __cil_tmp139 = ! __cil_tmp138;
18706#line 1629
18707 __cil_tmp140 = (long )__cil_tmp139;
18708#line 1629
18709 tmp___11 = __builtin_expect(__cil_tmp140, 0L);
18710 }
18711#line 1629
18712 if (tmp___11) {
18713 {
18714#line 1629
18715 __cil_tmp141 = (unsigned long )adapter;
18716#line 1629
18717 __cil_tmp142 = __cil_tmp141 + 72;
18718#line 1629
18719 __cil_tmp143 = *((struct device **)__cil_tmp142);
18720#line 1629
18721 __cil_tmp144 = (struct device const *)__cil_tmp143;
18722#line 1629
18723 __dynamic_dev_dbg(& descriptor___39, __cil_tmp144, "info: CMD sent Interrupt\n");
18724 }
18725 } else {
18726
18727 }
18728#line 1629
18729 goto while_break___9;
18730 }
18731 while_break___9: ;
18732 }
18733#line 1629
18734 goto while_break___8;
18735 }
18736 while_break___8: ;
18737 }
18738#line 1631
18739 __cil_tmp145 = (unsigned long )adapter;
18740#line 1631
18741 __cil_tmp146 = __cil_tmp145 + 2801;
18742#line 1631
18743 *((u8 *)__cil_tmp146) = (u8 )0;
18744 } else {
18745
18746 }
18747 }
18748 {
18749#line 1634
18750 ret = mwifiex_pcie_process_cmd_complete(adapter);
18751 }
18752#line 1635
18753 if (ret) {
18754#line 1636
18755 return (ret);
18756 } else {
18757
18758 }
18759 } else {
18760
18761 }
18762 }
18763 {
18764#line 1639
18765 tmp___14 = mwifiex_pcie_ok_to_access_hw(adapter);
18766 }
18767#line 1639
18768 if (tmp___14) {
18769 {
18770#line 1640
18771 tmp___12 = mwifiex_read_reg(adapter, 3120, & pcie_ireg);
18772 }
18773#line 1640
18774 if (tmp___12) {
18775 {
18776#line 1642
18777 __cil_tmp147 = (unsigned long )adapter;
18778#line 1642
18779 __cil_tmp148 = __cil_tmp147 + 72;
18780#line 1642
18781 __cil_tmp149 = *((struct device **)__cil_tmp148);
18782#line 1642
18783 __cil_tmp150 = (struct device const *)__cil_tmp149;
18784#line 1642
18785 dev_warn(__cil_tmp150, "Read register failed\n");
18786 }
18787#line 1644
18788 return (-1);
18789 } else {
18790
18791 }
18792 {
18793#line 1647
18794 __cil_tmp151 = & pcie_ireg;
18795#line 1647
18796 __cil_tmp152 = *__cil_tmp151;
18797#line 1647
18798 if (__cil_tmp152 != 4294967295U) {
18799 {
18800#line 1647
18801 __cil_tmp153 = & pcie_ireg;
18802#line 1647
18803 if (*__cil_tmp153) {
18804 {
18805#line 1648
18806 __cil_tmp154 = & pcie_ireg;
18807#line 1648
18808 __cil_tmp155 = *__cil_tmp154;
18809#line 1648
18810 __cil_tmp156 = ~ __cil_tmp155;
18811#line 1648
18812 tmp___13 = mwifiex_write_reg(adapter, 3120, __cil_tmp156);
18813 }
18814#line 1648
18815 if (tmp___13) {
18816 {
18817#line 1651
18818 __cil_tmp157 = (unsigned long )adapter;
18819#line 1651
18820 __cil_tmp158 = __cil_tmp157 + 72;
18821#line 1651
18822 __cil_tmp159 = *((struct device **)__cil_tmp158);
18823#line 1651
18824 __cil_tmp160 = (struct device const *)__cil_tmp159;
18825#line 1651
18826 dev_warn(__cil_tmp160, "Write register failed\n");
18827 }
18828#line 1653
18829 return (-1);
18830 } else {
18831
18832 }
18833#line 1655
18834 __cil_tmp161 = (unsigned long )adapter;
18835#line 1655
18836 __cil_tmp162 = __cil_tmp161 + 472;
18837#line 1655
18838 __cil_tmp163 = & pcie_ireg;
18839#line 1655
18840 __cil_tmp164 = *__cil_tmp163;
18841#line 1655
18842 __cil_tmp165 = (unsigned long )adapter;
18843#line 1655
18844 __cil_tmp166 = __cil_tmp165 + 472;
18845#line 1655
18846 __cil_tmp167 = *((u8 *)__cil_tmp166);
18847#line 1655
18848 __cil_tmp168 = (unsigned int )__cil_tmp167;
18849#line 1655
18850 __cil_tmp169 = __cil_tmp168 | __cil_tmp164;
18851#line 1655
18852 *((u8 *)__cil_tmp162) = (u8 )__cil_tmp169;
18853#line 1656
18854 __cil_tmp170 = (unsigned long )adapter;
18855#line 1656
18856 __cil_tmp171 = __cil_tmp170 + 472;
18857#line 1656
18858 __cil_tmp172 = 1UL << 3;
18859#line 1656
18860 __cil_tmp173 = 1UL << 2;
18861#line 1656
18862 __cil_tmp174 = 1UL << 1;
18863#line 1656
18864 __cil_tmp175 = 1UL | __cil_tmp174;
18865#line 1656
18866 __cil_tmp176 = __cil_tmp175 | __cil_tmp173;
18867#line 1656
18868 __cil_tmp177 = __cil_tmp176 | __cil_tmp172;
18869#line 1656
18870 __cil_tmp178 = (unsigned long )adapter;
18871#line 1656
18872 __cil_tmp179 = __cil_tmp178 + 472;
18873#line 1656
18874 __cil_tmp180 = *((u8 *)__cil_tmp179);
18875#line 1656
18876 __cil_tmp181 = (unsigned long )__cil_tmp180;
18877#line 1656
18878 __cil_tmp182 = __cil_tmp181 & __cil_tmp177;
18879#line 1656
18880 *((u8 *)__cil_tmp171) = (u8 )__cil_tmp182;
18881 } else {
18882
18883 }
18884 }
18885 } else {
18886
18887 }
18888 }
18889 } else {
18890
18891 }
18892 }
18893 while_break___1: ;
18894 }
18895 {
18896#line 1661
18897 while (1) {
18898 while_continue___10: ;
18899 {
18900#line 1661
18901 while (1) {
18902 while_continue___11: ;
18903 {
18904#line 1661
18905 __cil_tmp183 = & descriptor___40;
18906#line 1661
18907 __cil_tmp184 = __cil_tmp183->flags;
18908#line 1661
18909 __cil_tmp185 = __cil_tmp184 & 1U;
18910#line 1661
18911 __cil_tmp186 = ! __cil_tmp185;
18912#line 1661
18913 __cil_tmp187 = ! __cil_tmp186;
18914#line 1661
18915 __cil_tmp188 = (long )__cil_tmp187;
18916#line 1661
18917 tmp___15 = __builtin_expect(__cil_tmp188, 0L);
18918 }
18919#line 1661
18920 if (tmp___15) {
18921 {
18922#line 1661
18923 __cil_tmp189 = (unsigned long )adapter;
18924#line 1661
18925 __cil_tmp190 = __cil_tmp189 + 72;
18926#line 1661
18927 __cil_tmp191 = *((struct device **)__cil_tmp190);
18928#line 1661
18929 __cil_tmp192 = (struct device const *)__cil_tmp191;
18930#line 1661
18931 __cil_tmp193 = (unsigned long )adapter;
18932#line 1661
18933 __cil_tmp194 = __cil_tmp193 + 2801;
18934#line 1661
18935 __cil_tmp195 = *((u8 *)__cil_tmp194);
18936#line 1661
18937 __cil_tmp196 = (int )__cil_tmp195;
18938#line 1661
18939 __cil_tmp197 = (unsigned long )adapter;
18940#line 1661
18941 __cil_tmp198 = __cil_tmp197 + 2800;
18942#line 1661
18943 __cil_tmp199 = *((u8 *)__cil_tmp198);
18944#line 1661
18945 __cil_tmp200 = (int )__cil_tmp199;
18946#line 1661
18947 __dynamic_dev_dbg(& descriptor___40, __cil_tmp192, "info: cmd_sent=%d data_sent=%d\n",
18948 __cil_tmp196, __cil_tmp200);
18949 }
18950 } else {
18951
18952 }
18953#line 1661
18954 goto while_break___11;
18955 }
18956 while_break___11: ;
18957 }
18958#line 1661
18959 goto while_break___10;
18960 }
18961 while_break___10: ;
18962 }
18963 {
18964#line 1663
18965 mwifiex_pcie_enable_host_int(adapter);
18966 }
18967#line 1665
18968 return (0);
18969}
18970}
18971#line 1678 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
18972static int mwifiex_pcie_host_to_card(struct mwifiex_adapter *adapter , u8 type , struct sk_buff *skb ,
18973 struct mwifiex_tx_param *tx_param )
18974{ int tmp___7 ;
18975 int tmp___8 ;
18976 unsigned long __cil_tmp7 ;
18977 unsigned long __cil_tmp8 ;
18978 struct device *__cil_tmp9 ;
18979 struct device const *__cil_tmp10 ;
18980 int __cil_tmp11 ;
18981 int __cil_tmp12 ;
18982
18983 {
18984#line 1682
18985 if (! skb) {
18986 {
18987#line 1683
18988 __cil_tmp7 = (unsigned long )adapter;
18989#line 1683
18990 __cil_tmp8 = __cil_tmp7 + 72;
18991#line 1683
18992 __cil_tmp9 = *((struct device **)__cil_tmp8);
18993#line 1683
18994 __cil_tmp10 = (struct device const *)__cil_tmp9;
18995#line 1683
18996 dev_err(__cil_tmp10, "Passed NULL skb to %s\n", "mwifiex_pcie_host_to_card");
18997 }
18998#line 1684
18999 return (-1);
19000 } else {
19001
19002 }
19003 {
19004#line 1687
19005 __cil_tmp11 = (int )type;
19006#line 1687
19007 if (__cil_tmp11 == 0) {
19008 {
19009#line 1688
19010 tmp___7 = mwifiex_pcie_send_data(adapter, skb);
19011 }
19012#line 1688
19013 return (tmp___7);
19014 } else {
19015 {
19016#line 1689
19017 __cil_tmp12 = (int )type;
19018#line 1689
19019 if (__cil_tmp12 == 1) {
19020 {
19021#line 1690
19022 tmp___8 = mwifiex_pcie_send_cmd(adapter, skb);
19023 }
19024#line 1690
19025 return (tmp___8);
19026 } else {
19027
19028 }
19029 }
19030 }
19031 }
19032#line 1692
19033 return (0);
19034}
19035}
19036#line 1719
19037static int mwifiex_pcie_init(struct mwifiex_adapter *adapter ) ;
19038#line 1719 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
19039static struct _ddebug __attribute__((__aligned__(8))) descriptor___41 __attribute__((__used__,
19040__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_init", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
19041 "try set_consistent_dma_mask(32)\n", 1719U, 0U};
19042#line 1753
19043static int mwifiex_pcie_init(struct mwifiex_adapter *adapter ) ;
19044#line 1753 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
19045static struct _ddebug __attribute__((__aligned__(8))) descriptor___42 __attribute__((__used__,
19046__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_init", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
19047 "PCI memory map Virt0: %p PCI memory map Virt2: %p\n", 1755U, 0U};
19048#line 1705 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
19049static int mwifiex_pcie_init(struct mwifiex_adapter *adapter )
19050{ struct pcie_service_card *card ;
19051 int ret ;
19052 struct pci_dev *pdev ;
19053 long tmp___7 ;
19054 long tmp___8 ;
19055 unsigned long __cil_tmp7 ;
19056 unsigned long __cil_tmp8 ;
19057 void *__cil_tmp9 ;
19058 void *__cil_tmp10 ;
19059 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp11 ;
19060 unsigned int __cil_tmp12 ;
19061 unsigned int __cil_tmp13 ;
19062 int __cil_tmp14 ;
19063 int __cil_tmp15 ;
19064 long __cil_tmp16 ;
19065 unsigned long __cil_tmp17 ;
19066 unsigned long __cil_tmp18 ;
19067 struct device *__cil_tmp19 ;
19068 struct device const *__cil_tmp20 ;
19069 unsigned long long __cil_tmp21 ;
19070 unsigned long long __cil_tmp22 ;
19071 unsigned long __cil_tmp23 ;
19072 unsigned long __cil_tmp24 ;
19073 struct device *__cil_tmp25 ;
19074 struct device const *__cil_tmp26 ;
19075 unsigned long long __cil_tmp27 ;
19076 unsigned long long __cil_tmp28 ;
19077 unsigned long __cil_tmp29 ;
19078 unsigned long __cil_tmp30 ;
19079 struct device *__cil_tmp31 ;
19080 struct device const *__cil_tmp32 ;
19081 unsigned long __cil_tmp33 ;
19082 unsigned long __cil_tmp34 ;
19083 struct device *__cil_tmp35 ;
19084 struct device const *__cil_tmp36 ;
19085 unsigned long __cil_tmp37 ;
19086 unsigned long __cil_tmp38 ;
19087 unsigned long __cil_tmp39 ;
19088 unsigned long __cil_tmp40 ;
19089 void *__cil_tmp41 ;
19090 unsigned long __cil_tmp42 ;
19091 unsigned long __cil_tmp43 ;
19092 struct device *__cil_tmp44 ;
19093 struct device const *__cil_tmp45 ;
19094 unsigned long __cil_tmp46 ;
19095 unsigned long __cil_tmp47 ;
19096 struct device *__cil_tmp48 ;
19097 struct device const *__cil_tmp49 ;
19098 unsigned long __cil_tmp50 ;
19099 unsigned long __cil_tmp51 ;
19100 unsigned long __cil_tmp52 ;
19101 unsigned long __cil_tmp53 ;
19102 void *__cil_tmp54 ;
19103 unsigned long __cil_tmp55 ;
19104 unsigned long __cil_tmp56 ;
19105 struct device *__cil_tmp57 ;
19106 struct device const *__cil_tmp58 ;
19107 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp59 ;
19108 unsigned int __cil_tmp60 ;
19109 unsigned int __cil_tmp61 ;
19110 int __cil_tmp62 ;
19111 int __cil_tmp63 ;
19112 long __cil_tmp64 ;
19113 unsigned long __cil_tmp65 ;
19114 unsigned long __cil_tmp66 ;
19115 struct device *__cil_tmp67 ;
19116 struct device const *__cil_tmp68 ;
19117 unsigned long __cil_tmp69 ;
19118 unsigned long __cil_tmp70 ;
19119 void *__cil_tmp71 ;
19120 unsigned long __cil_tmp72 ;
19121 unsigned long __cil_tmp73 ;
19122 void *__cil_tmp74 ;
19123 unsigned long __cil_tmp75 ;
19124 unsigned long __cil_tmp76 ;
19125 void *__cil_tmp77 ;
19126 unsigned long __cil_tmp78 ;
19127 unsigned long __cil_tmp79 ;
19128 void *__cil_tmp80 ;
19129 unsigned long __cil_tmp81 ;
19130 unsigned long __cil_tmp82 ;
19131 void *__cil_tmp83 ;
19132 void *__cil_tmp84 ;
19133
19134 {
19135 {
19136#line 1707
19137 __cil_tmp7 = (unsigned long )adapter;
19138#line 1707
19139 __cil_tmp8 = __cil_tmp7 + 136;
19140#line 1707
19141 __cil_tmp9 = *((void **)__cil_tmp8);
19142#line 1707
19143 card = (struct pcie_service_card *)__cil_tmp9;
19144#line 1709
19145 pdev = *((struct pci_dev **)card);
19146#line 1711
19147 __cil_tmp10 = (void *)card;
19148#line 1711
19149 pci_set_drvdata(pdev, __cil_tmp10);
19150#line 1713
19151 ret = (int )pci_enable_device(pdev);
19152 }
19153#line 1714
19154 if (ret) {
19155#line 1715
19156 goto err_enable_dev;
19157 } else {
19158
19159 }
19160 {
19161#line 1717
19162 pci_set_master(pdev);
19163 }
19164 {
19165#line 1719
19166 while (1) {
19167 while_continue: ;
19168 {
19169#line 1719
19170 while (1) {
19171 while_continue___0: ;
19172 {
19173#line 1719
19174 __cil_tmp11 = & descriptor___41;
19175#line 1719
19176 __cil_tmp12 = __cil_tmp11->flags;
19177#line 1719
19178 __cil_tmp13 = __cil_tmp12 & 1U;
19179#line 1719
19180 __cil_tmp14 = ! __cil_tmp13;
19181#line 1719
19182 __cil_tmp15 = ! __cil_tmp14;
19183#line 1719
19184 __cil_tmp16 = (long )__cil_tmp15;
19185#line 1719
19186 tmp___7 = __builtin_expect(__cil_tmp16, 0L);
19187 }
19188#line 1719
19189 if (tmp___7) {
19190 {
19191#line 1719
19192 __cil_tmp17 = (unsigned long )adapter;
19193#line 1719
19194 __cil_tmp18 = __cil_tmp17 + 72;
19195#line 1719
19196 __cil_tmp19 = *((struct device **)__cil_tmp18);
19197#line 1719
19198 __cil_tmp20 = (struct device const *)__cil_tmp19;
19199#line 1719
19200 __dynamic_dev_dbg(& descriptor___41, __cil_tmp20, "try set_consistent_dma_mask(32)\n");
19201 }
19202 } else {
19203
19204 }
19205#line 1719
19206 goto while_break___0;
19207 }
19208 while_break___0: ;
19209 }
19210#line 1719
19211 goto while_break;
19212 }
19213 while_break: ;
19214 }
19215 {
19216#line 1720
19217 __cil_tmp21 = 1ULL << 32;
19218#line 1720
19219 __cil_tmp22 = __cil_tmp21 - 1ULL;
19220#line 1720
19221 ret = pci_set_dma_mask(pdev, __cil_tmp22);
19222 }
19223#line 1721
19224 if (ret) {
19225 {
19226#line 1722
19227 __cil_tmp23 = (unsigned long )adapter;
19228#line 1722
19229 __cil_tmp24 = __cil_tmp23 + 72;
19230#line 1722
19231 __cil_tmp25 = *((struct device **)__cil_tmp24);
19232#line 1722
19233 __cil_tmp26 = (struct device const *)__cil_tmp25;
19234#line 1722
19235 dev_err(__cil_tmp26, "set_dma_mask(32) failed\n");
19236 }
19237#line 1723
19238 goto err_req_region0;
19239 } else {
19240
19241 }
19242 {
19243#line 1726
19244 __cil_tmp27 = 1ULL << 32;
19245#line 1726
19246 __cil_tmp28 = __cil_tmp27 - 1ULL;
19247#line 1726
19248 ret = pci_set_consistent_dma_mask(pdev, __cil_tmp28);
19249 }
19250#line 1727
19251 if (ret) {
19252 {
19253#line 1728
19254 __cil_tmp29 = (unsigned long )adapter;
19255#line 1728
19256 __cil_tmp30 = __cil_tmp29 + 72;
19257#line 1728
19258 __cil_tmp31 = *((struct device **)__cil_tmp30);
19259#line 1728
19260 __cil_tmp32 = (struct device const *)__cil_tmp31;
19261#line 1728
19262 dev_err(__cil_tmp32, "set_consistent_dma_mask(64) failed\n");
19263 }
19264#line 1729
19265 goto err_req_region0;
19266 } else {
19267
19268 }
19269 {
19270#line 1732
19271 ret = (int )pci_request_region(pdev, 0, "Marvell mwifiex PCIe");
19272 }
19273#line 1733
19274 if (ret) {
19275 {
19276#line 1734
19277 __cil_tmp33 = (unsigned long )adapter;
19278#line 1734
19279 __cil_tmp34 = __cil_tmp33 + 72;
19280#line 1734
19281 __cil_tmp35 = *((struct device **)__cil_tmp34);
19282#line 1734
19283 __cil_tmp36 = (struct device const *)__cil_tmp35;
19284#line 1734
19285 dev_err(__cil_tmp36, "req_reg(0) error\n");
19286 }
19287#line 1735
19288 goto err_req_region0;
19289 } else {
19290
19291 }
19292 {
19293#line 1737
19294 __cil_tmp37 = (unsigned long )card;
19295#line 1737
19296 __cil_tmp38 = __cil_tmp37 + 1224;
19297#line 1737
19298 *((void **)__cil_tmp38) = pci_iomap(pdev, 0, 0UL);
19299 }
19300 {
19301#line 1738
19302 __cil_tmp39 = (unsigned long )card;
19303#line 1738
19304 __cil_tmp40 = __cil_tmp39 + 1224;
19305#line 1738
19306 __cil_tmp41 = *((void **)__cil_tmp40);
19307#line 1738
19308 if (! __cil_tmp41) {
19309 {
19310#line 1739
19311 __cil_tmp42 = (unsigned long )adapter;
19312#line 1739
19313 __cil_tmp43 = __cil_tmp42 + 72;
19314#line 1739
19315 __cil_tmp44 = *((struct device **)__cil_tmp43);
19316#line 1739
19317 __cil_tmp45 = (struct device const *)__cil_tmp44;
19318#line 1739
19319 dev_err(__cil_tmp45, "iomap(0) error\n");
19320 }
19321#line 1740
19322 goto err_iomap0;
19323 } else {
19324
19325 }
19326 }
19327 {
19328#line 1742
19329 ret = (int )pci_request_region(pdev, 2, "Marvell mwifiex PCIe");
19330 }
19331#line 1743
19332 if (ret) {
19333 {
19334#line 1744
19335 __cil_tmp46 = (unsigned long )adapter;
19336#line 1744
19337 __cil_tmp47 = __cil_tmp46 + 72;
19338#line 1744
19339 __cil_tmp48 = *((struct device **)__cil_tmp47);
19340#line 1744
19341 __cil_tmp49 = (struct device const *)__cil_tmp48;
19342#line 1744
19343 dev_err(__cil_tmp49, "req_reg(2) error\n");
19344 }
19345#line 1745
19346 goto err_req_region2;
19347 } else {
19348
19349 }
19350 {
19351#line 1747
19352 __cil_tmp50 = (unsigned long )card;
19353#line 1747
19354 __cil_tmp51 = __cil_tmp50 + 1232;
19355#line 1747
19356 *((void **)__cil_tmp51) = pci_iomap(pdev, 2, 0UL);
19357 }
19358 {
19359#line 1748
19360 __cil_tmp52 = (unsigned long )card;
19361#line 1748
19362 __cil_tmp53 = __cil_tmp52 + 1232;
19363#line 1748
19364 __cil_tmp54 = *((void **)__cil_tmp53);
19365#line 1748
19366 if (! __cil_tmp54) {
19367 {
19368#line 1749
19369 __cil_tmp55 = (unsigned long )adapter;
19370#line 1749
19371 __cil_tmp56 = __cil_tmp55 + 72;
19372#line 1749
19373 __cil_tmp57 = *((struct device **)__cil_tmp56);
19374#line 1749
19375 __cil_tmp58 = (struct device const *)__cil_tmp57;
19376#line 1749
19377 dev_err(__cil_tmp58, "iomap(2) error\n");
19378 }
19379#line 1750
19380 goto err_iomap2;
19381 } else {
19382
19383 }
19384 }
19385 {
19386#line 1753
19387 while (1) {
19388 while_continue___1: ;
19389 {
19390#line 1753
19391 while (1) {
19392 while_continue___2: ;
19393 {
19394#line 1753
19395 __cil_tmp59 = & descriptor___42;
19396#line 1753
19397 __cil_tmp60 = __cil_tmp59->flags;
19398#line 1753
19399 __cil_tmp61 = __cil_tmp60 & 1U;
19400#line 1753
19401 __cil_tmp62 = ! __cil_tmp61;
19402#line 1753
19403 __cil_tmp63 = ! __cil_tmp62;
19404#line 1753
19405 __cil_tmp64 = (long )__cil_tmp63;
19406#line 1753
19407 tmp___8 = __builtin_expect(__cil_tmp64, 0L);
19408 }
19409#line 1753
19410 if (tmp___8) {
19411 {
19412#line 1753
19413 __cil_tmp65 = (unsigned long )adapter;
19414#line 1753
19415 __cil_tmp66 = __cil_tmp65 + 72;
19416#line 1753
19417 __cil_tmp67 = *((struct device **)__cil_tmp66);
19418#line 1753
19419 __cil_tmp68 = (struct device const *)__cil_tmp67;
19420#line 1753
19421 __cil_tmp69 = (unsigned long )card;
19422#line 1753
19423 __cil_tmp70 = __cil_tmp69 + 1224;
19424#line 1753
19425 __cil_tmp71 = *((void **)__cil_tmp70);
19426#line 1753
19427 __cil_tmp72 = (unsigned long )card;
19428#line 1753
19429 __cil_tmp73 = __cil_tmp72 + 1232;
19430#line 1753
19431 __cil_tmp74 = *((void **)__cil_tmp73);
19432#line 1753
19433 __dynamic_dev_dbg(& descriptor___42, __cil_tmp68, "PCI memory map Virt0: %p PCI memory map Virt2: %p\n",
19434 __cil_tmp71, __cil_tmp74);
19435 }
19436 } else {
19437
19438 }
19439#line 1753
19440 goto while_break___2;
19441 }
19442 while_break___2: ;
19443 }
19444#line 1753
19445 goto while_break___1;
19446 }
19447 while_break___1: ;
19448 }
19449 {
19450#line 1757
19451 __cil_tmp75 = (unsigned long )card;
19452#line 1757
19453 __cil_tmp76 = __cil_tmp75 + 1208;
19454#line 1757
19455 __cil_tmp77 = (void *)0;
19456#line 1757
19457 *((struct sk_buff **)__cil_tmp76) = (struct sk_buff *)__cil_tmp77;
19458#line 1758
19459 ret = mwifiex_pcie_create_txbd_ring(adapter);
19460 }
19461#line 1759
19462 if (ret) {
19463#line 1760
19464 goto err_cre_txbd;
19465 } else {
19466
19467 }
19468 {
19469#line 1761
19470 ret = mwifiex_pcie_create_rxbd_ring(adapter);
19471 }
19472#line 1762
19473 if (ret) {
19474#line 1763
19475 goto err_cre_rxbd;
19476 } else {
19477
19478 }
19479 {
19480#line 1764
19481 ret = mwifiex_pcie_create_evtbd_ring(adapter);
19482 }
19483#line 1765
19484 if (ret) {
19485#line 1766
19486 goto err_cre_evtbd;
19487 } else {
19488
19489 }
19490 {
19491#line 1767
19492 ret = mwifiex_pcie_alloc_cmdrsp_buf(adapter);
19493 }
19494#line 1768
19495 if (ret) {
19496#line 1769
19497 goto err_alloc_cmdbuf;
19498 } else {
19499
19500 }
19501 {
19502#line 1770
19503 ret = mwifiex_pcie_alloc_sleep_cookie_buf(adapter);
19504 }
19505#line 1771
19506 if (ret) {
19507#line 1772
19508 goto err_alloc_cookie;
19509 } else {
19510
19511 }
19512#line 1774
19513 return (ret);
19514 err_alloc_cookie:
19515 {
19516#line 1777
19517 mwifiex_pcie_delete_cmdrsp_buf(adapter);
19518 }
19519 err_alloc_cmdbuf:
19520 {
19521#line 1779
19522 mwifiex_pcie_delete_evtbd_ring(adapter);
19523 }
19524 err_cre_evtbd:
19525 {
19526#line 1781
19527 mwifiex_pcie_delete_rxbd_ring(adapter);
19528 }
19529 err_cre_rxbd:
19530 {
19531#line 1783
19532 mwifiex_pcie_delete_txbd_ring(adapter);
19533 }
19534 err_cre_txbd:
19535 {
19536#line 1785
19537 __cil_tmp78 = (unsigned long )card;
19538#line 1785
19539 __cil_tmp79 = __cil_tmp78 + 1232;
19540#line 1785
19541 __cil_tmp80 = *((void **)__cil_tmp79);
19542#line 1785
19543 pci_iounmap(pdev, __cil_tmp80);
19544 }
19545 err_iomap2:
19546 {
19547#line 1787
19548 pci_release_region(pdev, 2);
19549 }
19550 err_req_region2:
19551 {
19552#line 1789
19553 __cil_tmp81 = (unsigned long )card;
19554#line 1789
19555 __cil_tmp82 = __cil_tmp81 + 1224;
19556#line 1789
19557 __cil_tmp83 = *((void **)__cil_tmp82);
19558#line 1789
19559 pci_iounmap(pdev, __cil_tmp83);
19560 }
19561 err_iomap0:
19562 {
19563#line 1791
19564 pci_release_region(pdev, 0);
19565 }
19566 err_req_region0:
19567 {
19568#line 1794
19569 pci_disable_device(pdev);
19570 }
19571 err_enable_dev:
19572 {
19573#line 1796
19574 __cil_tmp84 = (void *)0;
19575#line 1796
19576 pci_set_drvdata(pdev, __cil_tmp84);
19577 }
19578#line 1797
19579 return (ret);
19580}
19581}
19582#line 1822
19583static void mwifiex_pcie_cleanup(struct mwifiex_adapter *adapter ) ;
19584#line 1822 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
19585static struct _ddebug __attribute__((__aligned__(8))) descriptor___43 __attribute__((__used__,
19586__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_cleanup", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
19587 "Clearing driver ready signature\n", 1822U, 0U};
19588#line 1810 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
19589static void mwifiex_pcie_cleanup(struct mwifiex_adapter *adapter )
19590{ struct pcie_service_card *card ;
19591 struct pci_dev *pdev ;
19592 long tmp___7 ;
19593 int tmp___8 ;
19594 unsigned long __cil_tmp6 ;
19595 unsigned long __cil_tmp7 ;
19596 void *__cil_tmp8 ;
19597 unsigned long __cil_tmp9 ;
19598 unsigned long __cil_tmp10 ;
19599 void *__cil_tmp11 ;
19600 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp12 ;
19601 unsigned int __cil_tmp13 ;
19602 unsigned int __cil_tmp14 ;
19603 int __cil_tmp15 ;
19604 int __cil_tmp16 ;
19605 long __cil_tmp17 ;
19606 unsigned long __cil_tmp18 ;
19607 unsigned long __cil_tmp19 ;
19608 struct device *__cil_tmp20 ;
19609 struct device const *__cil_tmp21 ;
19610 u32 __cil_tmp22 ;
19611 unsigned long __cil_tmp23 ;
19612 unsigned long __cil_tmp24 ;
19613 struct device *__cil_tmp25 ;
19614 struct device const *__cil_tmp26 ;
19615 unsigned long __cil_tmp27 ;
19616 unsigned long __cil_tmp28 ;
19617 void *__cil_tmp29 ;
19618 unsigned long __cil_tmp30 ;
19619 unsigned long __cil_tmp31 ;
19620 void *__cil_tmp32 ;
19621 void *__cil_tmp33 ;
19622
19623 {
19624 {
19625#line 1812
19626 __cil_tmp6 = (unsigned long )adapter;
19627#line 1812
19628 __cil_tmp7 = __cil_tmp6 + 136;
19629#line 1812
19630 __cil_tmp8 = *((void **)__cil_tmp7);
19631#line 1812
19632 card = (struct pcie_service_card *)__cil_tmp8;
19633#line 1813
19634 pdev = *((struct pci_dev **)card);
19635#line 1815
19636 mwifiex_pcie_delete_sleep_cookie_buf(adapter);
19637#line 1816
19638 mwifiex_pcie_delete_cmdrsp_buf(adapter);
19639#line 1817
19640 mwifiex_pcie_delete_evtbd_ring(adapter);
19641#line 1818
19642 mwifiex_pcie_delete_rxbd_ring(adapter);
19643#line 1819
19644 mwifiex_pcie_delete_txbd_ring(adapter);
19645#line 1820
19646 __cil_tmp9 = (unsigned long )card;
19647#line 1820
19648 __cil_tmp10 = __cil_tmp9 + 1208;
19649#line 1820
19650 __cil_tmp11 = (void *)0;
19651#line 1820
19652 *((struct sk_buff **)__cil_tmp10) = (struct sk_buff *)__cil_tmp11;
19653 }
19654 {
19655#line 1822
19656 while (1) {
19657 while_continue: ;
19658 {
19659#line 1822
19660 while (1) {
19661 while_continue___0: ;
19662 {
19663#line 1822
19664 __cil_tmp12 = & descriptor___43;
19665#line 1822
19666 __cil_tmp13 = __cil_tmp12->flags;
19667#line 1822
19668 __cil_tmp14 = __cil_tmp13 & 1U;
19669#line 1822
19670 __cil_tmp15 = ! __cil_tmp14;
19671#line 1822
19672 __cil_tmp16 = ! __cil_tmp15;
19673#line 1822
19674 __cil_tmp17 = (long )__cil_tmp16;
19675#line 1822
19676 tmp___7 = __builtin_expect(__cil_tmp17, 0L);
19677 }
19678#line 1822
19679 if (tmp___7) {
19680 {
19681#line 1822
19682 __cil_tmp18 = (unsigned long )adapter;
19683#line 1822
19684 __cil_tmp19 = __cil_tmp18 + 72;
19685#line 1822
19686 __cil_tmp20 = *((struct device **)__cil_tmp19);
19687#line 1822
19688 __cil_tmp21 = (struct device const *)__cil_tmp20;
19689#line 1822
19690 __dynamic_dev_dbg(& descriptor___43, __cil_tmp21, "Clearing driver ready signature\n");
19691 }
19692 } else {
19693
19694 }
19695#line 1822
19696 goto while_break___0;
19697 }
19698 while_break___0: ;
19699 }
19700#line 1822
19701 goto while_break;
19702 }
19703 while_break: ;
19704 }
19705#line 1823
19706 if (user_rmmod) {
19707 {
19708#line 1824
19709 __cil_tmp22 = (u32 )0;
19710#line 1824
19711 tmp___8 = mwifiex_write_reg(adapter, 3312, __cil_tmp22);
19712 }
19713#line 1824
19714 if (tmp___8) {
19715 {
19716#line 1825
19717 __cil_tmp23 = (unsigned long )adapter;
19718#line 1825
19719 __cil_tmp24 = __cil_tmp23 + 72;
19720#line 1825
19721 __cil_tmp25 = *((struct device **)__cil_tmp24);
19722#line 1825
19723 __cil_tmp26 = (struct device const *)__cil_tmp25;
19724#line 1825
19725 dev_err(__cil_tmp26, "Failed to write driver not-ready signature\n");
19726 }
19727 } else {
19728
19729 }
19730 } else {
19731
19732 }
19733#line 1829
19734 if (pdev) {
19735 {
19736#line 1830
19737 __cil_tmp27 = (unsigned long )card;
19738#line 1830
19739 __cil_tmp28 = __cil_tmp27 + 1224;
19740#line 1830
19741 __cil_tmp29 = *((void **)__cil_tmp28);
19742#line 1830
19743 pci_iounmap(pdev, __cil_tmp29);
19744#line 1831
19745 __cil_tmp30 = (unsigned long )card;
19746#line 1831
19747 __cil_tmp31 = __cil_tmp30 + 1232;
19748#line 1831
19749 __cil_tmp32 = *((void **)__cil_tmp31);
19750#line 1831
19751 pci_iounmap(pdev, __cil_tmp32);
19752#line 1833
19753 pci_release_regions(pdev);
19754#line 1834
19755 pci_disable_device(pdev);
19756#line 1835
19757 __cil_tmp33 = (void *)0;
19758#line 1835
19759 pci_set_drvdata(pdev, __cil_tmp33);
19760 }
19761 } else {
19762
19763 }
19764#line 1837
19765 return;
19766}
19767}
19768#line 1844 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
19769static int mwifiex_register_dev(struct mwifiex_adapter *adapter )
19770{ int ret ;
19771 struct pcie_service_card *card ;
19772 struct pci_dev *pdev ;
19773 unsigned long __cil_tmp5 ;
19774 unsigned long __cil_tmp6 ;
19775 void *__cil_tmp7 ;
19776 unsigned long __cil_tmp8 ;
19777 unsigned long __cil_tmp9 ;
19778 unsigned long __cil_tmp10 ;
19779 unsigned long __cil_tmp11 ;
19780 unsigned int __cil_tmp12 ;
19781 void *__cil_tmp13 ;
19782 unsigned long __cil_tmp14 ;
19783 unsigned long __cil_tmp15 ;
19784 unsigned long __cil_tmp16 ;
19785 unsigned long __cil_tmp17 ;
19786 unsigned long __cil_tmp18 ;
19787 unsigned long __cil_tmp19 ;
19788 unsigned long __cil_tmp20 ;
19789 unsigned long __cil_tmp21 ;
19790 unsigned long __cil_tmp22 ;
19791 unsigned long __cil_tmp23 ;
19792 char *__cil_tmp24 ;
19793
19794 {
19795 {
19796#line 1847
19797 __cil_tmp5 = (unsigned long )adapter;
19798#line 1847
19799 __cil_tmp6 = __cil_tmp5 + 136;
19800#line 1847
19801 __cil_tmp7 = *((void **)__cil_tmp6);
19802#line 1847
19803 card = (struct pcie_service_card *)__cil_tmp7;
19804#line 1848
19805 pdev = *((struct pci_dev **)card);
19806#line 1851
19807 __cil_tmp8 = (unsigned long )card;
19808#line 1851
19809 __cil_tmp9 = __cil_tmp8 + 8;
19810#line 1851
19811 *((struct mwifiex_adapter **)__cil_tmp9) = adapter;
19812#line 1853
19813 __cil_tmp10 = (unsigned long )pdev;
19814#line 1853
19815 __cil_tmp11 = __cil_tmp10 + 916;
19816#line 1853
19817 __cil_tmp12 = *((unsigned int *)__cil_tmp11);
19818#line 1853
19819 __cil_tmp13 = (void *)pdev;
19820#line 1853
19821 ret = (int )request_irq(__cil_tmp12, & mwifiex_pcie_interrupt, 128UL, "MRVL_PCIE",
19822 __cil_tmp13);
19823 }
19824#line 1855
19825 if (ret) {
19826 {
19827#line 1856
19828 printk("<3>mwifiex_pcie: request_irq failed: ret=%d\n", ret);
19829#line 1857
19830 __cil_tmp14 = (unsigned long )adapter;
19831#line 1857
19832 __cil_tmp15 = __cil_tmp14 + 136;
19833#line 1857
19834 *((void **)__cil_tmp15) = (void *)0;
19835 }
19836#line 1858
19837 return (-1);
19838 } else {
19839
19840 }
19841 {
19842#line 1861
19843 __cil_tmp16 = (unsigned long )adapter;
19844#line 1861
19845 __cil_tmp17 = __cil_tmp16 + 72;
19846#line 1861
19847 __cil_tmp18 = (unsigned long )pdev;
19848#line 1861
19849 __cil_tmp19 = __cil_tmp18 + 144;
19850#line 1861
19851 *((struct device **)__cil_tmp17) = (struct device *)__cil_tmp19;
19852#line 1862
19853 __cil_tmp20 = 0 * 1UL;
19854#line 1862
19855 __cil_tmp21 = 32 + __cil_tmp20;
19856#line 1862
19857 __cil_tmp22 = (unsigned long )adapter;
19858#line 1862
19859 __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
19860#line 1862
19861 __cil_tmp24 = (char *)__cil_tmp23;
19862#line 1862
19863 strcpy(__cil_tmp24, "mrvl/pcie8766_uapsta.bin");
19864 }
19865#line 1864
19866 return (0);
19867}
19868}
19869#line 1878
19870static void mwifiex_unregister_dev(struct mwifiex_adapter *adapter ) ;
19871#line 1878 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
19872static struct _ddebug __attribute__((__aligned__(8))) descriptor___44 __attribute__((__used__,
19873__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_unregister_dev", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
19874 "%s(): calling free_irq()\n", 1878U, 0U};
19875#line 1873 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
19876static void mwifiex_unregister_dev(struct mwifiex_adapter *adapter )
19877{ struct pcie_service_card *card ;
19878 long tmp___7 ;
19879 unsigned long __cil_tmp4 ;
19880 unsigned long __cil_tmp5 ;
19881 void *__cil_tmp6 ;
19882 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp7 ;
19883 unsigned int __cil_tmp8 ;
19884 unsigned int __cil_tmp9 ;
19885 int __cil_tmp10 ;
19886 int __cil_tmp11 ;
19887 long __cil_tmp12 ;
19888 unsigned long __cil_tmp13 ;
19889 unsigned long __cil_tmp14 ;
19890 struct device *__cil_tmp15 ;
19891 struct device const *__cil_tmp16 ;
19892 struct pci_dev *__cil_tmp17 ;
19893 unsigned long __cil_tmp18 ;
19894 unsigned long __cil_tmp19 ;
19895 unsigned int __cil_tmp20 ;
19896 struct pci_dev *__cil_tmp21 ;
19897 void *__cil_tmp22 ;
19898
19899 {
19900#line 1875
19901 __cil_tmp4 = (unsigned long )adapter;
19902#line 1875
19903 __cil_tmp5 = __cil_tmp4 + 136;
19904#line 1875
19905 __cil_tmp6 = *((void **)__cil_tmp5);
19906#line 1875
19907 card = (struct pcie_service_card *)__cil_tmp6;
19908#line 1877
19909 if (card) {
19910 {
19911#line 1878
19912 while (1) {
19913 while_continue: ;
19914 {
19915#line 1878
19916 while (1) {
19917 while_continue___0: ;
19918 {
19919#line 1878
19920 __cil_tmp7 = & descriptor___44;
19921#line 1878
19922 __cil_tmp8 = __cil_tmp7->flags;
19923#line 1878
19924 __cil_tmp9 = __cil_tmp8 & 1U;
19925#line 1878
19926 __cil_tmp10 = ! __cil_tmp9;
19927#line 1878
19928 __cil_tmp11 = ! __cil_tmp10;
19929#line 1878
19930 __cil_tmp12 = (long )__cil_tmp11;
19931#line 1878
19932 tmp___7 = __builtin_expect(__cil_tmp12, 0L);
19933 }
19934#line 1878
19935 if (tmp___7) {
19936 {
19937#line 1878
19938 __cil_tmp13 = (unsigned long )adapter;
19939#line 1878
19940 __cil_tmp14 = __cil_tmp13 + 72;
19941#line 1878
19942 __cil_tmp15 = *((struct device **)__cil_tmp14);
19943#line 1878
19944 __cil_tmp16 = (struct device const *)__cil_tmp15;
19945#line 1878
19946 __dynamic_dev_dbg(& descriptor___44, __cil_tmp16, "%s(): calling free_irq()\n",
19947 "mwifiex_unregister_dev");
19948 }
19949 } else {
19950
19951 }
19952#line 1878
19953 goto while_break___0;
19954 }
19955 while_break___0: ;
19956 }
19957#line 1878
19958 goto while_break;
19959 }
19960 while_break: ;
19961 }
19962 {
19963#line 1879
19964 __cil_tmp17 = *((struct pci_dev **)card);
19965#line 1879
19966 __cil_tmp18 = (unsigned long )__cil_tmp17;
19967#line 1879
19968 __cil_tmp19 = __cil_tmp18 + 916;
19969#line 1879
19970 __cil_tmp20 = *((unsigned int *)__cil_tmp19);
19971#line 1879
19972 __cil_tmp21 = *((struct pci_dev **)card);
19973#line 1879
19974 __cil_tmp22 = (void *)__cil_tmp21;
19975#line 1879
19976 free_irq(__cil_tmp20, __cil_tmp22);
19977 }
19978 } else {
19979
19980 }
19981#line 1881
19982 return;
19983}
19984}
19985#line 1883 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
19986static struct mwifiex_if_ops pcie_ops =
19987#line 1883
19988 {& mwifiex_pcie_init, & mwifiex_pcie_cleanup, & mwifiex_check_fw_status, & mwifiex_prog_fw_w_helper,
19989 & mwifiex_register_dev, & mwifiex_unregister_dev, & mwifiex_pcie_enable_host_int,
19990 & mwifiex_process_int_status, & mwifiex_pcie_host_to_card, & mwifiex_pm_wakeup_card,
19991 & mwifiex_pm_wakeup_card_complete, (void (*)(struct mwifiex_adapter * , u16 ))((void *)0),
19992 (void (*)(struct mwifiex_adapter * ))((void *)0), & mwifiex_pcie_cmdrsp_complete,
19993 & mwifiex_pcie_event_complete};
19994#line 1913
19995static int mwifiex_pcie_init_module(void) ;
19996#line 1913 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
19997static struct _ddebug __attribute__((__aligned__(8))) descriptor___45 __attribute__((__used__,
19998__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_init_module", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
19999 "Marvell 8766 PCIe Driver\n", 1913U, 0U};
20000#line 1924
20001static int mwifiex_pcie_init_module(void) ;
20002#line 1924 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
20003static struct _ddebug __attribute__((__aligned__(8))) descriptor___46 __attribute__((__used__,
20004__section__("__verbose"))) = {"mwifiex_pcie", "mwifiex_pcie_init_module", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c",
20005 "info: Driver registered successfully!\n", 1924U, 0U};
20006#line 1909 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
20007static int mwifiex_pcie_init_module(void)
20008{ int ret ;
20009 long tmp___7 ;
20010 long tmp___8 ;
20011 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp4 ;
20012 unsigned int __cil_tmp5 ;
20013 unsigned int __cil_tmp6 ;
20014 int __cil_tmp7 ;
20015 int __cil_tmp8 ;
20016 long __cil_tmp9 ;
20017 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp10 ;
20018 unsigned int __cil_tmp11 ;
20019 unsigned int __cil_tmp12 ;
20020 int __cil_tmp13 ;
20021 int __cil_tmp14 ;
20022 long __cil_tmp15 ;
20023
20024 {
20025 {
20026#line 1913
20027 while (1) {
20028 while_continue: ;
20029 {
20030#line 1913
20031 __cil_tmp4 = & descriptor___45;
20032#line 1913
20033 __cil_tmp5 = __cil_tmp4->flags;
20034#line 1913
20035 __cil_tmp6 = __cil_tmp5 & 1U;
20036#line 1913
20037 __cil_tmp7 = ! __cil_tmp6;
20038#line 1913
20039 __cil_tmp8 = ! __cil_tmp7;
20040#line 1913
20041 __cil_tmp9 = (long )__cil_tmp8;
20042#line 1913
20043 tmp___7 = __builtin_expect(__cil_tmp9, 0L);
20044 }
20045#line 1913
20046 if (tmp___7) {
20047 {
20048#line 1913
20049 __dynamic_pr_debug(& descriptor___45, "mwifiex_pcie: Marvell 8766 PCIe Driver\n");
20050 }
20051 } else {
20052
20053 }
20054#line 1913
20055 goto while_break;
20056 }
20057 while_break: ;
20058 }
20059 {
20060#line 1915
20061 sema_init(& add_remove_card_sem, 1);
20062#line 1918
20063 user_rmmod = (u8 )0;
20064#line 1920
20065 ret = (int )__pci_register_driver(& mwifiex_pcie, & __this_module, "mwifiex_pcie");
20066 }
20067#line 1921
20068 if (ret) {
20069 {
20070#line 1922
20071 printk("<3>mwifiex_pcie: Driver register failed!\n");
20072 }
20073 } else {
20074 {
20075#line 1924
20076 while (1) {
20077 while_continue___0: ;
20078 {
20079#line 1924
20080 __cil_tmp10 = & descriptor___46;
20081#line 1924
20082 __cil_tmp11 = __cil_tmp10->flags;
20083#line 1924
20084 __cil_tmp12 = __cil_tmp11 & 1U;
20085#line 1924
20086 __cil_tmp13 = ! __cil_tmp12;
20087#line 1924
20088 __cil_tmp14 = ! __cil_tmp13;
20089#line 1924
20090 __cil_tmp15 = (long )__cil_tmp14;
20091#line 1924
20092 tmp___8 = __builtin_expect(__cil_tmp15, 0L);
20093 }
20094#line 1924
20095 if (tmp___8) {
20096 {
20097#line 1924
20098 __dynamic_pr_debug(& descriptor___46, "mwifiex_pcie: info: Driver registered successfully!\n");
20099 }
20100 } else {
20101
20102 }
20103#line 1924
20104 goto while_break___0;
20105 }
20106 while_break___0: ;
20107 }
20108 }
20109#line 1926
20110 return (ret);
20111}
20112}
20113#line 1938 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
20114static void mwifiex_pcie_cleanup_module(void)
20115{ int tmp___7 ;
20116
20117 {
20118 {
20119#line 1940
20120 tmp___7 = (int )down_interruptible(& add_remove_card_sem);
20121 }
20122#line 1940
20123 if (tmp___7) {
20124
20125 } else {
20126 {
20127#line 1941
20128 up(& add_remove_card_sem);
20129 }
20130 }
20131 {
20132#line 1944
20133 user_rmmod = (u8 )1;
20134#line 1946
20135 pci_unregister_driver(& mwifiex_pcie);
20136 }
20137#line 1947
20138 return;
20139}
20140}
20141#line 1949 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
20142int init_module(void)
20143{ int tmp___7 ;
20144
20145 {
20146 {
20147#line 1949
20148 tmp___7 = mwifiex_pcie_init_module();
20149 }
20150#line 1949
20151 return (tmp___7);
20152}
20153}
20154#line 1950 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
20155void cleanup_module(void)
20156{
20157
20158 {
20159 {
20160#line 1950
20161 mwifiex_pcie_cleanup_module();
20162 }
20163#line 1950
20164 return;
20165}
20166}
20167#line 1952 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
20168static char const __mod_author1952[34] __attribute__((__used__, __unused__, __section__(".modinfo"),
20169__aligned__(1))) =
20170#line 1952
20171 { (char const )'a', (char const )'u', (char const )'t', (char const )'h',
20172 (char const )'o', (char const )'r', (char const )'=', (char const )'M',
20173 (char const )'a', (char const )'r', (char const )'v', (char const )'e',
20174 (char const )'l', (char const )'l', (char const )' ', (char const )'I',
20175 (char const )'n', (char const )'t', (char const )'e', (char const )'r',
20176 (char const )'n', (char const )'a', (char const )'t', (char const )'i',
20177 (char const )'o', (char const )'n', (char const )'a', (char const )'l',
20178 (char const )' ', (char const )'L', (char const )'t', (char const )'d',
20179 (char const )'.', (char const )'\000'};
20180#line 1953 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
20181static char const __mod_description1953[59] __attribute__((__used__, __unused__,
20182__section__(".modinfo"), __aligned__(1))) =
20183#line 1953
20184 { (char const )'d', (char const )'e', (char const )'s', (char const )'c',
20185 (char const )'r', (char const )'i', (char const )'p', (char const )'t',
20186 (char const )'i', (char const )'o', (char const )'n', (char const )'=',
20187 (char const )'M', (char const )'a', (char const )'r', (char const )'v',
20188 (char const )'e', (char const )'l', (char const )'l', (char const )' ',
20189 (char const )'W', (char const )'i', (char const )'F', (char const )'i',
20190 (char const )'-', (char const )'E', (char const )'x', (char const )' ',
20191 (char const )'P', (char const )'C', (char const )'I', (char const )'-',
20192 (char const )'E', (char const )'x', (char const )'p', (char const )'r',
20193 (char const )'e', (char const )'s', (char const )'s', (char const )' ',
20194 (char const )'D', (char const )'r', (char const )'i', (char const )'v',
20195 (char const )'e', (char const )'r', (char const )' ', (char const )'v',
20196 (char const )'e', (char const )'r', (char const )'s', (char const )'i',
20197 (char const )'o', (char const )'n', (char const )' ', (char const )'1',
20198 (char const )'.', (char const )'0', (char const )'\000'};
20199#line 1954 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
20200static char const __mod_version1954[12] __attribute__((__used__, __unused__, __section__(".modinfo"),
20201__aligned__(1))) =
20202#line 1954
20203 { (char const )'v', (char const )'e', (char const )'r', (char const )'s',
20204 (char const )'i', (char const )'o', (char const )'n', (char const )'=',
20205 (char const )'1', (char const )'.', (char const )'0', (char const )'\000'};
20206#line 1955 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
20207static char const __mod_license1955[15] __attribute__((__used__, __unused__, __section__(".modinfo"),
20208__aligned__(1))) =
20209#line 1955
20210 { (char const )'l', (char const )'i', (char const )'c', (char const )'e',
20211 (char const )'n', (char const )'s', (char const )'e', (char const )'=',
20212 (char const )'G', (char const )'P', (char const )'L', (char const )' ',
20213 (char const )'v', (char const )'2', (char const )'\000'};
20214#line 1956 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
20215static char const __mod_firmware1956[34] __attribute__((__used__, __unused__, __section__(".modinfo"),
20216__aligned__(1))) =
20217#line 1956
20218 { (char const )'f', (char const )'i', (char const )'r', (char const )'m',
20219 (char const )'w', (char const )'a', (char const )'r', (char const )'e',
20220 (char const )'=', (char const )'m', (char const )'r', (char const )'v',
20221 (char const )'l', (char const )'/', (char const )'p', (char const )'c',
20222 (char const )'i', (char const )'e', (char const )'8', (char const )'7',
20223 (char const )'6', (char const )'6', (char const )'_', (char const )'u',
20224 (char const )'a', (char const )'p', (char const )'s', (char const )'t',
20225 (char const )'a', (char const )'.', (char const )'b', (char const )'i',
20226 (char const )'n', (char const )'\000'};
20227#line 1974
20228void ldv_check_final_state(void) ;
20229#line 1980
20230extern void ldv_initialize(void) ;
20231#line 1983
20232extern int __VERIFIER_nondet_int(void) ;
20233#line 1986 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
20234int LDV_IN_INTERRUPT ;
20235#line 1989 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
20236void main(void)
20237{ struct mwifiex_adapter *var_group1 ;
20238 u32 var_mwifiex_check_fw_status_31_p1 ;
20239 struct mwifiex_fw_image *var_group2 ;
20240 u8 var_mwifiex_pcie_host_to_card_35_p1 ;
20241 struct sk_buff *var_mwifiex_pcie_host_to_card_35_p2 ;
20242 struct mwifiex_tx_param *var_mwifiex_pcie_host_to_card_35_p3 ;
20243 struct sk_buff *var_group3 ;
20244 int var_mwifiex_pcie_interrupt_33_p0 ;
20245 void *var_mwifiex_pcie_interrupt_33_p1 ;
20246 int tmp___7 ;
20247 int tmp___8 ;
20248 int tmp___9 ;
20249
20250 {
20251 {
20252#line 2177
20253 LDV_IN_INTERRUPT = 1;
20254#line 2186
20255 ldv_initialize();
20256#line 2201
20257 tmp___7 = mwifiex_pcie_init_module();
20258 }
20259#line 2201
20260 if (tmp___7) {
20261#line 2202
20262 goto ldv_final;
20263 } else {
20264
20265 }
20266 {
20267#line 2208
20268 while (1) {
20269 while_continue: ;
20270 {
20271#line 2208
20272 tmp___9 = __VERIFIER_nondet_int();
20273 }
20274#line 2208
20275 if (tmp___9) {
20276
20277 } else {
20278#line 2208
20279 goto while_break;
20280 }
20281 {
20282#line 2211
20283 tmp___8 = __VERIFIER_nondet_int();
20284 }
20285#line 2213
20286 if (tmp___8 == 0) {
20287#line 2213
20288 goto case_0;
20289 } else
20290#line 2238
20291 if (tmp___8 == 1) {
20292#line 2238
20293 goto case_1;
20294 } else
20295#line 2263
20296 if (tmp___8 == 2) {
20297#line 2263
20298 goto case_2;
20299 } else
20300#line 2288
20301 if (tmp___8 == 3) {
20302#line 2288
20303 goto case_3;
20304 } else
20305#line 2313
20306 if (tmp___8 == 4) {
20307#line 2313
20308 goto case_4;
20309 } else
20310#line 2338
20311 if (tmp___8 == 5) {
20312#line 2338
20313 goto case_5;
20314 } else
20315#line 2363
20316 if (tmp___8 == 6) {
20317#line 2363
20318 goto case_6;
20319 } else
20320#line 2388
20321 if (tmp___8 == 7) {
20322#line 2388
20323 goto case_7;
20324 } else
20325#line 2413
20326 if (tmp___8 == 8) {
20327#line 2413
20328 goto case_8;
20329 } else
20330#line 2438
20331 if (tmp___8 == 9) {
20332#line 2438
20333 goto case_9;
20334 } else
20335#line 2463
20336 if (tmp___8 == 10) {
20337#line 2463
20338 goto case_10;
20339 } else
20340#line 2488
20341 if (tmp___8 == 11) {
20342#line 2488
20343 goto case_11;
20344 } else
20345#line 2513
20346 if (tmp___8 == 12) {
20347#line 2513
20348 goto case_12;
20349 } else
20350#line 2538
20351 if (tmp___8 == 13) {
20352#line 2538
20353 goto case_13;
20354 } else {
20355 {
20356#line 2563
20357 goto switch_default;
20358#line 2211
20359 if (0) {
20360 case_0:
20361 {
20362#line 2230
20363 mwifiex_pcie_init(var_group1);
20364 }
20365#line 2237
20366 goto switch_break;
20367 case_1:
20368 {
20369#line 2255
20370 mwifiex_pcie_cleanup(var_group1);
20371 }
20372#line 2262
20373 goto switch_break;
20374 case_2:
20375 {
20376#line 2280
20377 mwifiex_check_fw_status(var_group1, var_mwifiex_check_fw_status_31_p1);
20378 }
20379#line 2287
20380 goto switch_break;
20381 case_3:
20382 {
20383#line 2305
20384 mwifiex_prog_fw_w_helper(var_group1, var_group2);
20385 }
20386#line 2312
20387 goto switch_break;
20388 case_4:
20389 {
20390#line 2330
20391 mwifiex_register_dev(var_group1);
20392 }
20393#line 2337
20394 goto switch_break;
20395 case_5:
20396 {
20397#line 2355
20398 mwifiex_unregister_dev(var_group1);
20399 }
20400#line 2362
20401 goto switch_break;
20402 case_6:
20403 {
20404#line 2380
20405 mwifiex_pcie_enable_host_int(var_group1);
20406 }
20407#line 2387
20408 goto switch_break;
20409 case_7:
20410 {
20411#line 2405
20412 mwifiex_process_int_status(var_group1);
20413 }
20414#line 2412
20415 goto switch_break;
20416 case_8:
20417 {
20418#line 2430
20419 mwifiex_pcie_host_to_card(var_group1, var_mwifiex_pcie_host_to_card_35_p1,
20420 var_mwifiex_pcie_host_to_card_35_p2, var_mwifiex_pcie_host_to_card_35_p3);
20421 }
20422#line 2437
20423 goto switch_break;
20424 case_9:
20425 {
20426#line 2455
20427 mwifiex_pm_wakeup_card(var_group1);
20428 }
20429#line 2462
20430 goto switch_break;
20431 case_10:
20432 {
20433#line 2480
20434 mwifiex_pm_wakeup_card_complete(var_group1);
20435 }
20436#line 2487
20437 goto switch_break;
20438 case_11:
20439 {
20440#line 2505
20441 mwifiex_pcie_cmdrsp_complete(var_group1, var_group3);
20442 }
20443#line 2512
20444 goto switch_break;
20445 case_12:
20446 {
20447#line 2530
20448 mwifiex_pcie_event_complete(var_group1, var_group3);
20449 }
20450#line 2537
20451 goto switch_break;
20452 case_13:
20453 {
20454#line 2541
20455 LDV_IN_INTERRUPT = 2;
20456#line 2555
20457 mwifiex_pcie_interrupt(var_mwifiex_pcie_interrupt_33_p0, var_mwifiex_pcie_interrupt_33_p1);
20458#line 2556
20459 LDV_IN_INTERRUPT = 1;
20460 }
20461#line 2562
20462 goto switch_break;
20463 switch_default:
20464#line 2563
20465 goto switch_break;
20466 } else {
20467 switch_break: ;
20468 }
20469 }
20470 }
20471 }
20472 while_break: ;
20473 }
20474 {
20475#line 2584
20476 mwifiex_pcie_cleanup_module();
20477 }
20478 ldv_final:
20479 {
20480#line 2587
20481 ldv_check_final_state();
20482 }
20483#line 2590
20484 return;
20485}
20486}
20487#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast-assert.h"
20488void ldv_blast_assert(void)
20489{
20490
20491 {
20492 ERROR:
20493#line 6
20494 goto ERROR;
20495}
20496}
20497#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast.h"
20498extern int __VERIFIER_nondet_int(void) ;
20499#line 19 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
20500int ldv_mutex = 1;
20501#line 22 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
20502int __attribute__((__warn_unused_result__)) mutex_lock_interruptible(struct mutex *lock )
20503{ int nondetermined ;
20504
20505 {
20506#line 29
20507 if (ldv_mutex == 1) {
20508
20509 } else {
20510 {
20511#line 29
20512 ldv_blast_assert();
20513 }
20514 }
20515 {
20516#line 32
20517 nondetermined = __VERIFIER_nondet_int();
20518 }
20519#line 35
20520 if (nondetermined) {
20521#line 38
20522 ldv_mutex = 2;
20523#line 40
20524 return (0);
20525 } else {
20526#line 45
20527 return (-4);
20528 }
20529}
20530}
20531#line 50 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
20532int __attribute__((__warn_unused_result__)) mutex_lock_killable(struct mutex *lock )
20533{ int nondetermined ;
20534
20535 {
20536#line 57
20537 if (ldv_mutex == 1) {
20538
20539 } else {
20540 {
20541#line 57
20542 ldv_blast_assert();
20543 }
20544 }
20545 {
20546#line 60
20547 nondetermined = __VERIFIER_nondet_int();
20548 }
20549#line 63
20550 if (nondetermined) {
20551#line 66
20552 ldv_mutex = 2;
20553#line 68
20554 return (0);
20555 } else {
20556#line 73
20557 return (-4);
20558 }
20559}
20560}
20561#line 78 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
20562int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock )
20563{ int atomic_value_after_dec ;
20564
20565 {
20566#line 83
20567 if (ldv_mutex == 1) {
20568
20569 } else {
20570 {
20571#line 83
20572 ldv_blast_assert();
20573 }
20574 }
20575 {
20576#line 86
20577 atomic_value_after_dec = __VERIFIER_nondet_int();
20578 }
20579#line 89
20580 if (atomic_value_after_dec == 0) {
20581#line 92
20582 ldv_mutex = 2;
20583#line 94
20584 return (1);
20585 } else {
20586
20587 }
20588#line 98
20589 return (0);
20590}
20591}
20592#line 103 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
20593void mutex_lock(struct mutex *lock )
20594{
20595
20596 {
20597#line 108
20598 if (ldv_mutex == 1) {
20599
20600 } else {
20601 {
20602#line 108
20603 ldv_blast_assert();
20604 }
20605 }
20606#line 110
20607 ldv_mutex = 2;
20608#line 111
20609 return;
20610}
20611}
20612#line 114 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
20613int mutex_trylock(struct mutex *lock )
20614{ int nondetermined ;
20615
20616 {
20617#line 121
20618 if (ldv_mutex == 1) {
20619
20620 } else {
20621 {
20622#line 121
20623 ldv_blast_assert();
20624 }
20625 }
20626 {
20627#line 124
20628 nondetermined = __VERIFIER_nondet_int();
20629 }
20630#line 127
20631 if (nondetermined) {
20632#line 130
20633 ldv_mutex = 2;
20634#line 132
20635 return (1);
20636 } else {
20637#line 137
20638 return (0);
20639 }
20640}
20641}
20642#line 142 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
20643void mutex_unlock(struct mutex *lock )
20644{
20645
20646 {
20647#line 147
20648 if (ldv_mutex == 2) {
20649
20650 } else {
20651 {
20652#line 147
20653 ldv_blast_assert();
20654 }
20655 }
20656#line 149
20657 ldv_mutex = 1;
20658#line 150
20659 return;
20660}
20661}
20662#line 153 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
20663void ldv_check_final_state(void)
20664{
20665
20666 {
20667#line 156
20668 if (ldv_mutex == 1) {
20669
20670 } else {
20671 {
20672#line 156
20673 ldv_blast_assert();
20674 }
20675 }
20676#line 157
20677 return;
20678}
20679}
20680#line 2599 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/10020/dscv_tempdir/dscv/ri/32_1/drivers/net/wireless/mwifiex/pcie.c.common.c"
20681long s__builtin_expect(long val , long res )
20682{
20683
20684 {
20685#line 2600
20686 return (val);
20687}
20688}