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 221 "include/linux/types.h"
125struct __anonstruct_atomic_t_6 {
126 int counter ;
127};
128#line 221 "include/linux/types.h"
129typedef struct __anonstruct_atomic_t_6 atomic_t;
130#line 226 "include/linux/types.h"
131struct __anonstruct_atomic64_t_7 {
132 long counter ;
133};
134#line 226 "include/linux/types.h"
135typedef struct __anonstruct_atomic64_t_7 atomic64_t;
136#line 227 "include/linux/types.h"
137struct list_head {
138 struct list_head *next ;
139 struct list_head *prev ;
140};
141#line 232
142struct hlist_node;
143#line 232 "include/linux/types.h"
144struct hlist_head {
145 struct hlist_node *first ;
146};
147#line 236 "include/linux/types.h"
148struct hlist_node {
149 struct hlist_node *next ;
150 struct hlist_node **pprev ;
151};
152#line 247 "include/linux/types.h"
153struct rcu_head {
154 struct rcu_head *next ;
155 void (*func)(struct rcu_head * ) ;
156};
157#line 55 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
158struct module;
159#line 55
160struct module;
161#line 146 "include/linux/init.h"
162typedef void (*ctor_fn_t)(void);
163#line 305 "include/linux/printk.h"
164struct _ddebug {
165 char const *modname ;
166 char const *function ;
167 char const *filename ;
168 char const *format ;
169 unsigned int lineno : 18 ;
170 unsigned char flags ;
171};
172#line 46 "include/linux/dynamic_debug.h"
173struct device;
174#line 46
175struct device;
176#line 51
177struct net_device;
178#line 51
179struct net_device;
180#line 57
181struct completion;
182#line 57
183struct completion;
184#line 58
185struct pt_regs;
186#line 58
187struct pt_regs;
188#line 348 "include/linux/kernel.h"
189struct pid;
190#line 348
191struct pid;
192#line 112 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/stat.h"
193struct timespec;
194#line 112
195struct timespec;
196#line 58 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page_types.h"
197struct page;
198#line 58
199struct page;
200#line 26 "include/asm-generic/getorder.h"
201struct task_struct;
202#line 26
203struct task_struct;
204#line 28
205struct mm_struct;
206#line 28
207struct mm_struct;
208#line 268 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/segment.h"
209struct pt_regs {
210 unsigned long r15 ;
211 unsigned long r14 ;
212 unsigned long r13 ;
213 unsigned long r12 ;
214 unsigned long bp ;
215 unsigned long bx ;
216 unsigned long r11 ;
217 unsigned long r10 ;
218 unsigned long r9 ;
219 unsigned long r8 ;
220 unsigned long ax ;
221 unsigned long cx ;
222 unsigned long dx ;
223 unsigned long si ;
224 unsigned long di ;
225 unsigned long orig_ax ;
226 unsigned long ip ;
227 unsigned long cs ;
228 unsigned long flags ;
229 unsigned long sp ;
230 unsigned long ss ;
231};
232#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
233struct __anonstruct_ldv_2180_13 {
234 unsigned int a ;
235 unsigned int b ;
236};
237#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
238struct __anonstruct_ldv_2195_14 {
239 u16 limit0 ;
240 u16 base0 ;
241 unsigned char base1 ;
242 unsigned char type : 4 ;
243 unsigned char s : 1 ;
244 unsigned char dpl : 2 ;
245 unsigned char p : 1 ;
246 unsigned char limit : 4 ;
247 unsigned char avl : 1 ;
248 unsigned char l : 1 ;
249 unsigned char d : 1 ;
250 unsigned char g : 1 ;
251 unsigned char base2 ;
252};
253#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
254union __anonunion_ldv_2196_12 {
255 struct __anonstruct_ldv_2180_13 ldv_2180 ;
256 struct __anonstruct_ldv_2195_14 ldv_2195 ;
257};
258#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
259struct desc_struct {
260 union __anonunion_ldv_2196_12 ldv_2196 ;
261};
262#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
263typedef unsigned long pgdval_t;
264#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
265typedef unsigned long pgprotval_t;
266#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
267struct pgprot {
268 pgprotval_t pgprot ;
269};
270#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
271typedef struct pgprot pgprot_t;
272#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
273struct __anonstruct_pgd_t_16 {
274 pgdval_t pgd ;
275};
276#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
277typedef struct __anonstruct_pgd_t_16 pgd_t;
278#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
279typedef struct page *pgtable_t;
280#line 290
281struct file;
282#line 290
283struct file;
284#line 305
285struct seq_file;
286#line 305
287struct seq_file;
288#line 337
289struct thread_struct;
290#line 337
291struct thread_struct;
292#line 339
293struct cpumask;
294#line 339
295struct cpumask;
296#line 327 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
297struct arch_spinlock;
298#line 327
299struct arch_spinlock;
300#line 300 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
301struct kernel_vm86_regs {
302 struct pt_regs pt ;
303 unsigned short es ;
304 unsigned short __esh ;
305 unsigned short ds ;
306 unsigned short __dsh ;
307 unsigned short fs ;
308 unsigned short __fsh ;
309 unsigned short gs ;
310 unsigned short __gsh ;
311};
312#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
313union __anonunion_ldv_2824_19 {
314 struct pt_regs *regs ;
315 struct kernel_vm86_regs *vm86 ;
316};
317#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
318struct math_emu_info {
319 long ___orig_eip ;
320 union __anonunion_ldv_2824_19 ldv_2824 ;
321};
322#line 306 "include/linux/bitmap.h"
323struct bug_entry {
324 int bug_addr_disp ;
325 int file_disp ;
326 unsigned short line ;
327 unsigned short flags ;
328};
329#line 89 "include/linux/bug.h"
330struct cpumask {
331 unsigned long bits[64U] ;
332};
333#line 14 "include/linux/cpumask.h"
334typedef struct cpumask cpumask_t;
335#line 637 "include/linux/cpumask.h"
336typedef struct cpumask *cpumask_var_t;
337#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
338struct static_key;
339#line 234
340struct static_key;
341#line 153 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
342struct seq_operations;
343#line 287 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
344struct i387_fsave_struct {
345 u32 cwd ;
346 u32 swd ;
347 u32 twd ;
348 u32 fip ;
349 u32 fcs ;
350 u32 foo ;
351 u32 fos ;
352 u32 st_space[20U] ;
353 u32 status ;
354};
355#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
356struct __anonstruct_ldv_5180_24 {
357 u64 rip ;
358 u64 rdp ;
359};
360#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
361struct __anonstruct_ldv_5186_25 {
362 u32 fip ;
363 u32 fcs ;
364 u32 foo ;
365 u32 fos ;
366};
367#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
368union __anonunion_ldv_5187_23 {
369 struct __anonstruct_ldv_5180_24 ldv_5180 ;
370 struct __anonstruct_ldv_5186_25 ldv_5186 ;
371};
372#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
373union __anonunion_ldv_5196_26 {
374 u32 padding1[12U] ;
375 u32 sw_reserved[12U] ;
376};
377#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
378struct i387_fxsave_struct {
379 u16 cwd ;
380 u16 swd ;
381 u16 twd ;
382 u16 fop ;
383 union __anonunion_ldv_5187_23 ldv_5187 ;
384 u32 mxcsr ;
385 u32 mxcsr_mask ;
386 u32 st_space[32U] ;
387 u32 xmm_space[64U] ;
388 u32 padding[12U] ;
389 union __anonunion_ldv_5196_26 ldv_5196 ;
390};
391#line 339 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
392struct i387_soft_struct {
393 u32 cwd ;
394 u32 swd ;
395 u32 twd ;
396 u32 fip ;
397 u32 fcs ;
398 u32 foo ;
399 u32 fos ;
400 u32 st_space[20U] ;
401 u8 ftop ;
402 u8 changed ;
403 u8 lookahead ;
404 u8 no_update ;
405 u8 rm ;
406 u8 alimit ;
407 struct math_emu_info *info ;
408 u32 entry_eip ;
409};
410#line 360 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
411struct ymmh_struct {
412 u32 ymmh_space[64U] ;
413};
414#line 365 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
415struct xsave_hdr_struct {
416 u64 xstate_bv ;
417 u64 reserved1[2U] ;
418 u64 reserved2[5U] ;
419};
420#line 371 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
421struct xsave_struct {
422 struct i387_fxsave_struct i387 ;
423 struct xsave_hdr_struct xsave_hdr ;
424 struct ymmh_struct ymmh ;
425};
426#line 377 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
427union thread_xstate {
428 struct i387_fsave_struct fsave ;
429 struct i387_fxsave_struct fxsave ;
430 struct i387_soft_struct soft ;
431 struct xsave_struct xsave ;
432};
433#line 385 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
434struct fpu {
435 unsigned int last_cpu ;
436 unsigned int has_fpu ;
437 union thread_xstate *state ;
438};
439#line 433
440struct kmem_cache;
441#line 434
442struct perf_event;
443#line 434
444struct perf_event;
445#line 435 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
446struct thread_struct {
447 struct desc_struct tls_array[3U] ;
448 unsigned long sp0 ;
449 unsigned long sp ;
450 unsigned long usersp ;
451 unsigned short es ;
452 unsigned short ds ;
453 unsigned short fsindex ;
454 unsigned short gsindex ;
455 unsigned long fs ;
456 unsigned long gs ;
457 struct perf_event *ptrace_bps[4U] ;
458 unsigned long debugreg6 ;
459 unsigned long ptrace_dr7 ;
460 unsigned long cr2 ;
461 unsigned long trap_nr ;
462 unsigned long error_code ;
463 struct fpu fpu ;
464 unsigned long *io_bitmap_ptr ;
465 unsigned long iopl ;
466 unsigned int io_bitmap_max ;
467};
468#line 23 "include/asm-generic/atomic-long.h"
469typedef atomic64_t atomic_long_t;
470#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
471typedef u16 __ticket_t;
472#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
473typedef u32 __ticketpair_t;
474#line 16 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
475struct __raw_tickets {
476 __ticket_t head ;
477 __ticket_t tail ;
478};
479#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
480union __anonunion_ldv_5907_29 {
481 __ticketpair_t head_tail ;
482 struct __raw_tickets tickets ;
483};
484#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
485struct arch_spinlock {
486 union __anonunion_ldv_5907_29 ldv_5907 ;
487};
488#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
489typedef struct arch_spinlock arch_spinlock_t;
490#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
491struct __anonstruct_ldv_5914_31 {
492 u32 read ;
493 s32 write ;
494};
495#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
496union __anonunion_arch_rwlock_t_30 {
497 s64 lock ;
498 struct __anonstruct_ldv_5914_31 ldv_5914 ;
499};
500#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
501typedef union __anonunion_arch_rwlock_t_30 arch_rwlock_t;
502#line 34
503struct lockdep_map;
504#line 34
505struct lockdep_map;
506#line 55 "include/linux/debug_locks.h"
507struct stack_trace {
508 unsigned int nr_entries ;
509 unsigned int max_entries ;
510 unsigned long *entries ;
511 int skip ;
512};
513#line 26 "include/linux/stacktrace.h"
514struct lockdep_subclass_key {
515 char __one_byte ;
516};
517#line 53 "include/linux/lockdep.h"
518struct lock_class_key {
519 struct lockdep_subclass_key subkeys[8U] ;
520};
521#line 59 "include/linux/lockdep.h"
522struct lock_class {
523 struct list_head hash_entry ;
524 struct list_head lock_entry ;
525 struct lockdep_subclass_key *key ;
526 unsigned int subclass ;
527 unsigned int dep_gen_id ;
528 unsigned long usage_mask ;
529 struct stack_trace usage_traces[13U] ;
530 struct list_head locks_after ;
531 struct list_head locks_before ;
532 unsigned int version ;
533 unsigned long ops ;
534 char const *name ;
535 int name_version ;
536 unsigned long contention_point[4U] ;
537 unsigned long contending_point[4U] ;
538};
539#line 144 "include/linux/lockdep.h"
540struct lockdep_map {
541 struct lock_class_key *key ;
542 struct lock_class *class_cache[2U] ;
543 char const *name ;
544 int cpu ;
545 unsigned long ip ;
546};
547#line 187 "include/linux/lockdep.h"
548struct held_lock {
549 u64 prev_chain_key ;
550 unsigned long acquire_ip ;
551 struct lockdep_map *instance ;
552 struct lockdep_map *nest_lock ;
553 u64 waittime_stamp ;
554 u64 holdtime_stamp ;
555 unsigned short class_idx : 13 ;
556 unsigned char irq_context : 2 ;
557 unsigned char trylock : 1 ;
558 unsigned char read : 2 ;
559 unsigned char check : 2 ;
560 unsigned char hardirqs_off : 1 ;
561 unsigned short references : 11 ;
562};
563#line 556 "include/linux/lockdep.h"
564struct raw_spinlock {
565 arch_spinlock_t raw_lock ;
566 unsigned int magic ;
567 unsigned int owner_cpu ;
568 void *owner ;
569 struct lockdep_map dep_map ;
570};
571#line 32 "include/linux/spinlock_types.h"
572typedef struct raw_spinlock raw_spinlock_t;
573#line 33 "include/linux/spinlock_types.h"
574struct __anonstruct_ldv_6122_33 {
575 u8 __padding[24U] ;
576 struct lockdep_map dep_map ;
577};
578#line 33 "include/linux/spinlock_types.h"
579union __anonunion_ldv_6123_32 {
580 struct raw_spinlock rlock ;
581 struct __anonstruct_ldv_6122_33 ldv_6122 ;
582};
583#line 33 "include/linux/spinlock_types.h"
584struct spinlock {
585 union __anonunion_ldv_6123_32 ldv_6123 ;
586};
587#line 76 "include/linux/spinlock_types.h"
588typedef struct spinlock spinlock_t;
589#line 23 "include/linux/rwlock_types.h"
590struct __anonstruct_rwlock_t_34 {
591 arch_rwlock_t raw_lock ;
592 unsigned int magic ;
593 unsigned int owner_cpu ;
594 void *owner ;
595 struct lockdep_map dep_map ;
596};
597#line 23 "include/linux/rwlock_types.h"
598typedef struct __anonstruct_rwlock_t_34 rwlock_t;
599#line 36 "include/linux/seqlock.h"
600struct __anonstruct_seqlock_t_35 {
601 unsigned int sequence ;
602 spinlock_t lock ;
603};
604#line 36 "include/linux/seqlock.h"
605typedef struct __anonstruct_seqlock_t_35 seqlock_t;
606#line 110 "include/linux/seqlock.h"
607struct seqcount {
608 unsigned int sequence ;
609};
610#line 121 "include/linux/seqlock.h"
611typedef struct seqcount seqcount_t;
612#line 254 "include/linux/seqlock.h"
613struct timespec {
614 __kernel_time_t tv_sec ;
615 long tv_nsec ;
616};
617#line 286 "include/linux/time.h"
618struct kstat {
619 u64 ino ;
620 dev_t dev ;
621 umode_t mode ;
622 unsigned int nlink ;
623 uid_t uid ;
624 gid_t gid ;
625 dev_t rdev ;
626 loff_t size ;
627 struct timespec atime ;
628 struct timespec mtime ;
629 struct timespec ctime ;
630 unsigned long blksize ;
631 unsigned long long blocks ;
632};
633#line 48 "include/linux/wait.h"
634struct __wait_queue_head {
635 spinlock_t lock ;
636 struct list_head task_list ;
637};
638#line 53 "include/linux/wait.h"
639typedef struct __wait_queue_head wait_queue_head_t;
640#line 98 "include/linux/nodemask.h"
641struct __anonstruct_nodemask_t_36 {
642 unsigned long bits[16U] ;
643};
644#line 98 "include/linux/nodemask.h"
645typedef struct __anonstruct_nodemask_t_36 nodemask_t;
646#line 670 "include/linux/mmzone.h"
647struct mutex {
648 atomic_t count ;
649 spinlock_t wait_lock ;
650 struct list_head wait_list ;
651 struct task_struct *owner ;
652 char const *name ;
653 void *magic ;
654 struct lockdep_map dep_map ;
655};
656#line 63 "include/linux/mutex.h"
657struct mutex_waiter {
658 struct list_head list ;
659 struct task_struct *task ;
660 void *magic ;
661};
662#line 171
663struct rw_semaphore;
664#line 171
665struct rw_semaphore;
666#line 172 "include/linux/mutex.h"
667struct rw_semaphore {
668 long count ;
669 raw_spinlock_t wait_lock ;
670 struct list_head wait_list ;
671 struct lockdep_map dep_map ;
672};
673#line 128 "include/linux/rwsem.h"
674struct completion {
675 unsigned int done ;
676 wait_queue_head_t wait ;
677};
678#line 188 "include/linux/rcupdate.h"
679struct notifier_block;
680#line 188
681struct notifier_block;
682#line 239 "include/linux/srcu.h"
683struct notifier_block {
684 int (*notifier_call)(struct notifier_block * , unsigned long , void * ) ;
685 struct notifier_block *next ;
686 int priority ;
687};
688#line 60 "include/linux/notifier.h"
689struct blocking_notifier_head {
690 struct rw_semaphore rwsem ;
691 struct notifier_block *head ;
692};
693#line 793 "include/linux/mmzone.h"
694struct ctl_table;
695#line 793
696struct ctl_table;
697#line 139 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/e820.h"
698struct resource {
699 resource_size_t start ;
700 resource_size_t end ;
701 char const *name ;
702 unsigned long flags ;
703 struct resource *parent ;
704 struct resource *sibling ;
705 struct resource *child ;
706};
707#line 181 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/x86_init.h"
708struct pci_dev;
709#line 181
710struct pci_dev;
711#line 312 "include/linux/jiffies.h"
712union ktime {
713 s64 tv64 ;
714};
715#line 59 "include/linux/ktime.h"
716typedef union ktime ktime_t;
717#line 341
718struct tvec_base;
719#line 341
720struct tvec_base;
721#line 342 "include/linux/ktime.h"
722struct timer_list {
723 struct list_head entry ;
724 unsigned long expires ;
725 struct tvec_base *base ;
726 void (*function)(unsigned long ) ;
727 unsigned long data ;
728 int slack ;
729 int start_pid ;
730 void *start_site ;
731 char start_comm[16U] ;
732 struct lockdep_map lockdep_map ;
733};
734#line 289 "include/linux/timer.h"
735struct hrtimer;
736#line 289
737struct hrtimer;
738#line 290
739enum hrtimer_restart;
740#line 301
741struct workqueue_struct;
742#line 301
743struct workqueue_struct;
744#line 302
745struct work_struct;
746#line 302
747struct work_struct;
748#line 45 "include/linux/workqueue.h"
749struct work_struct {
750 atomic_long_t data ;
751 struct list_head entry ;
752 void (*func)(struct work_struct * ) ;
753 struct lockdep_map lockdep_map ;
754};
755#line 86 "include/linux/workqueue.h"
756struct delayed_work {
757 struct work_struct work ;
758 struct timer_list timer ;
759};
760#line 46 "include/linux/pm.h"
761struct pm_message {
762 int event ;
763};
764#line 52 "include/linux/pm.h"
765typedef struct pm_message pm_message_t;
766#line 53 "include/linux/pm.h"
767struct dev_pm_ops {
768 int (*prepare)(struct device * ) ;
769 void (*complete)(struct device * ) ;
770 int (*suspend)(struct device * ) ;
771 int (*resume)(struct device * ) ;
772 int (*freeze)(struct device * ) ;
773 int (*thaw)(struct device * ) ;
774 int (*poweroff)(struct device * ) ;
775 int (*restore)(struct device * ) ;
776 int (*suspend_late)(struct device * ) ;
777 int (*resume_early)(struct device * ) ;
778 int (*freeze_late)(struct device * ) ;
779 int (*thaw_early)(struct device * ) ;
780 int (*poweroff_late)(struct device * ) ;
781 int (*restore_early)(struct device * ) ;
782 int (*suspend_noirq)(struct device * ) ;
783 int (*resume_noirq)(struct device * ) ;
784 int (*freeze_noirq)(struct device * ) ;
785 int (*thaw_noirq)(struct device * ) ;
786 int (*poweroff_noirq)(struct device * ) ;
787 int (*restore_noirq)(struct device * ) ;
788 int (*runtime_suspend)(struct device * ) ;
789 int (*runtime_resume)(struct device * ) ;
790 int (*runtime_idle)(struct device * ) ;
791};
792#line 289
793enum rpm_status {
794 RPM_ACTIVE = 0,
795 RPM_RESUMING = 1,
796 RPM_SUSPENDED = 2,
797 RPM_SUSPENDING = 3
798} ;
799#line 296
800enum rpm_request {
801 RPM_REQ_NONE = 0,
802 RPM_REQ_IDLE = 1,
803 RPM_REQ_SUSPEND = 2,
804 RPM_REQ_AUTOSUSPEND = 3,
805 RPM_REQ_RESUME = 4
806} ;
807#line 304
808struct wakeup_source;
809#line 304
810struct wakeup_source;
811#line 494 "include/linux/pm.h"
812struct pm_subsys_data {
813 spinlock_t lock ;
814 unsigned int refcount ;
815};
816#line 499
817struct dev_pm_qos_request;
818#line 499
819struct pm_qos_constraints;
820#line 499 "include/linux/pm.h"
821struct dev_pm_info {
822 pm_message_t power_state ;
823 unsigned char can_wakeup : 1 ;
824 unsigned char async_suspend : 1 ;
825 bool is_prepared ;
826 bool is_suspended ;
827 bool ignore_children ;
828 spinlock_t lock ;
829 struct list_head entry ;
830 struct completion completion ;
831 struct wakeup_source *wakeup ;
832 bool wakeup_path ;
833 struct timer_list suspend_timer ;
834 unsigned long timer_expires ;
835 struct work_struct work ;
836 wait_queue_head_t wait_queue ;
837 atomic_t usage_count ;
838 atomic_t child_count ;
839 unsigned char disable_depth : 3 ;
840 unsigned char idle_notification : 1 ;
841 unsigned char request_pending : 1 ;
842 unsigned char deferred_resume : 1 ;
843 unsigned char run_wake : 1 ;
844 unsigned char runtime_auto : 1 ;
845 unsigned char no_callbacks : 1 ;
846 unsigned char irq_safe : 1 ;
847 unsigned char use_autosuspend : 1 ;
848 unsigned char timer_autosuspends : 1 ;
849 enum rpm_request request ;
850 enum rpm_status runtime_status ;
851 int runtime_error ;
852 int autosuspend_delay ;
853 unsigned long last_busy ;
854 unsigned long active_jiffies ;
855 unsigned long suspended_jiffies ;
856 unsigned long accounting_timestamp ;
857 ktime_t suspend_time ;
858 s64 max_time_suspended_ns ;
859 struct dev_pm_qos_request *pq_req ;
860 struct pm_subsys_data *subsys_data ;
861 struct pm_qos_constraints *constraints ;
862};
863#line 558 "include/linux/pm.h"
864struct dev_pm_domain {
865 struct dev_pm_ops ops ;
866};
867#line 173 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/topology.h"
868struct pci_bus;
869#line 173
870struct pci_bus;
871#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
872struct __anonstruct_mm_context_t_101 {
873 void *ldt ;
874 int size ;
875 unsigned short ia32_compat ;
876 struct mutex lock ;
877 void *vdso ;
878};
879#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
880typedef struct __anonstruct_mm_context_t_101 mm_context_t;
881#line 18 "include/asm-generic/pci_iomap.h"
882struct vm_area_struct;
883#line 18
884struct vm_area_struct;
885#line 835 "include/linux/sysctl.h"
886struct rb_node {
887 unsigned long rb_parent_color ;
888 struct rb_node *rb_right ;
889 struct rb_node *rb_left ;
890};
891#line 108 "include/linux/rbtree.h"
892struct rb_root {
893 struct rb_node *rb_node ;
894};
895#line 176
896struct nsproxy;
897#line 176
898struct nsproxy;
899#line 177
900struct ctl_table_root;
901#line 177
902struct ctl_table_root;
903#line 178
904struct ctl_table_header;
905#line 178
906struct ctl_table_header;
907#line 179
908struct ctl_dir;
909#line 179
910struct ctl_dir;
911#line 946 "include/linux/sysctl.h"
912typedef int proc_handler(struct ctl_table * , int , void * , size_t * , loff_t * );
913#line 966 "include/linux/sysctl.h"
914struct ctl_table_poll {
915 atomic_t event ;
916 wait_queue_head_t wait ;
917};
918#line 1005 "include/linux/sysctl.h"
919struct ctl_table {
920 char const *procname ;
921 void *data ;
922 int maxlen ;
923 umode_t mode ;
924 struct ctl_table *child ;
925 proc_handler *proc_handler ;
926 struct ctl_table_poll *poll ;
927 void *extra1 ;
928 void *extra2 ;
929};
930#line 1026 "include/linux/sysctl.h"
931struct ctl_node {
932 struct rb_node node ;
933 struct ctl_table_header *header ;
934};
935#line 1031 "include/linux/sysctl.h"
936struct __anonstruct_ldv_12569_129 {
937 struct ctl_table *ctl_table ;
938 int used ;
939 int count ;
940 int nreg ;
941};
942#line 1031 "include/linux/sysctl.h"
943union __anonunion_ldv_12571_128 {
944 struct __anonstruct_ldv_12569_129 ldv_12569 ;
945 struct rcu_head rcu ;
946};
947#line 1031
948struct ctl_table_set;
949#line 1031 "include/linux/sysctl.h"
950struct ctl_table_header {
951 union __anonunion_ldv_12571_128 ldv_12571 ;
952 struct completion *unregistering ;
953 struct ctl_table *ctl_table_arg ;
954 struct ctl_table_root *root ;
955 struct ctl_table_set *set ;
956 struct ctl_dir *parent ;
957 struct ctl_node *node ;
958};
959#line 1052 "include/linux/sysctl.h"
960struct ctl_dir {
961 struct ctl_table_header header ;
962 struct rb_root root ;
963};
964#line 1058 "include/linux/sysctl.h"
965struct ctl_table_set {
966 int (*is_seen)(struct ctl_table_set * ) ;
967 struct ctl_dir dir ;
968};
969#line 1063 "include/linux/sysctl.h"
970struct ctl_table_root {
971 struct ctl_table_set default_set ;
972 struct ctl_table_set *(*lookup)(struct ctl_table_root * , struct nsproxy * ) ;
973 int (*permissions)(struct ctl_table_root * , struct nsproxy * , struct ctl_table * ) ;
974};
975#line 37 "include/linux/kmod.h"
976struct cred;
977#line 37
978struct cred;
979#line 18 "include/linux/elf.h"
980typedef __u64 Elf64_Addr;
981#line 19 "include/linux/elf.h"
982typedef __u16 Elf64_Half;
983#line 23 "include/linux/elf.h"
984typedef __u32 Elf64_Word;
985#line 24 "include/linux/elf.h"
986typedef __u64 Elf64_Xword;
987#line 193 "include/linux/elf.h"
988struct elf64_sym {
989 Elf64_Word st_name ;
990 unsigned char st_info ;
991 unsigned char st_other ;
992 Elf64_Half st_shndx ;
993 Elf64_Addr st_value ;
994 Elf64_Xword st_size ;
995};
996#line 201 "include/linux/elf.h"
997typedef struct elf64_sym Elf64_Sym;
998#line 445
999struct sock;
1000#line 445
1001struct sock;
1002#line 446
1003struct kobject;
1004#line 446
1005struct kobject;
1006#line 447
1007enum kobj_ns_type {
1008 KOBJ_NS_TYPE_NONE = 0,
1009 KOBJ_NS_TYPE_NET = 1,
1010 KOBJ_NS_TYPES = 2
1011} ;
1012#line 453 "include/linux/elf.h"
1013struct kobj_ns_type_operations {
1014 enum kobj_ns_type type ;
1015 void *(*grab_current_ns)(void) ;
1016 void const *(*netlink_ns)(struct sock * ) ;
1017 void const *(*initial_ns)(void) ;
1018 void (*drop_ns)(void * ) ;
1019};
1020#line 57 "include/linux/kobject_ns.h"
1021struct attribute {
1022 char const *name ;
1023 umode_t mode ;
1024 struct lock_class_key *key ;
1025 struct lock_class_key skey ;
1026};
1027#line 33 "include/linux/sysfs.h"
1028struct attribute_group {
1029 char const *name ;
1030 umode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
1031 struct attribute **attrs ;
1032};
1033#line 62 "include/linux/sysfs.h"
1034struct bin_attribute {
1035 struct attribute attr ;
1036 size_t size ;
1037 void *private ;
1038 ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1039 loff_t , size_t ) ;
1040 ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1041 loff_t , size_t ) ;
1042 int (*mmap)(struct file * , struct kobject * , struct bin_attribute * , struct vm_area_struct * ) ;
1043};
1044#line 98 "include/linux/sysfs.h"
1045struct sysfs_ops {
1046 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
1047 ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ;
1048 void const *(*namespace)(struct kobject * , struct attribute const * ) ;
1049};
1050#line 117
1051struct sysfs_dirent;
1052#line 117
1053struct sysfs_dirent;
1054#line 182 "include/linux/sysfs.h"
1055struct kref {
1056 atomic_t refcount ;
1057};
1058#line 49 "include/linux/kobject.h"
1059struct kset;
1060#line 49
1061struct kobj_type;
1062#line 49 "include/linux/kobject.h"
1063struct kobject {
1064 char const *name ;
1065 struct list_head entry ;
1066 struct kobject *parent ;
1067 struct kset *kset ;
1068 struct kobj_type *ktype ;
1069 struct sysfs_dirent *sd ;
1070 struct kref kref ;
1071 unsigned char state_initialized : 1 ;
1072 unsigned char state_in_sysfs : 1 ;
1073 unsigned char state_add_uevent_sent : 1 ;
1074 unsigned char state_remove_uevent_sent : 1 ;
1075 unsigned char uevent_suppress : 1 ;
1076};
1077#line 107 "include/linux/kobject.h"
1078struct kobj_type {
1079 void (*release)(struct kobject * ) ;
1080 struct sysfs_ops const *sysfs_ops ;
1081 struct attribute **default_attrs ;
1082 struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject * ) ;
1083 void const *(*namespace)(struct kobject * ) ;
1084};
1085#line 115 "include/linux/kobject.h"
1086struct kobj_uevent_env {
1087 char *envp[32U] ;
1088 int envp_idx ;
1089 char buf[2048U] ;
1090 int buflen ;
1091};
1092#line 122 "include/linux/kobject.h"
1093struct kset_uevent_ops {
1094 int (* const filter)(struct kset * , struct kobject * ) ;
1095 char const *(* const name)(struct kset * , struct kobject * ) ;
1096 int (* const uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
1097};
1098#line 139 "include/linux/kobject.h"
1099struct kset {
1100 struct list_head list ;
1101 spinlock_t list_lock ;
1102 struct kobject kobj ;
1103 struct kset_uevent_ops const *uevent_ops ;
1104};
1105#line 215
1106struct kernel_param;
1107#line 215
1108struct kernel_param;
1109#line 216 "include/linux/kobject.h"
1110struct kernel_param_ops {
1111 int (*set)(char const * , struct kernel_param const * ) ;
1112 int (*get)(char * , struct kernel_param const * ) ;
1113 void (*free)(void * ) ;
1114};
1115#line 49 "include/linux/moduleparam.h"
1116struct kparam_string;
1117#line 49
1118struct kparam_array;
1119#line 49 "include/linux/moduleparam.h"
1120union __anonunion_ldv_13363_134 {
1121 void *arg ;
1122 struct kparam_string const *str ;
1123 struct kparam_array const *arr ;
1124};
1125#line 49 "include/linux/moduleparam.h"
1126struct kernel_param {
1127 char const *name ;
1128 struct kernel_param_ops const *ops ;
1129 u16 perm ;
1130 s16 level ;
1131 union __anonunion_ldv_13363_134 ldv_13363 ;
1132};
1133#line 61 "include/linux/moduleparam.h"
1134struct kparam_string {
1135 unsigned int maxlen ;
1136 char *string ;
1137};
1138#line 67 "include/linux/moduleparam.h"
1139struct kparam_array {
1140 unsigned int max ;
1141 unsigned int elemsize ;
1142 unsigned int *num ;
1143 struct kernel_param_ops const *ops ;
1144 void *elem ;
1145};
1146#line 458 "include/linux/moduleparam.h"
1147struct static_key {
1148 atomic_t enabled ;
1149};
1150#line 225 "include/linux/jump_label.h"
1151struct tracepoint;
1152#line 225
1153struct tracepoint;
1154#line 226 "include/linux/jump_label.h"
1155struct tracepoint_func {
1156 void *func ;
1157 void *data ;
1158};
1159#line 29 "include/linux/tracepoint.h"
1160struct tracepoint {
1161 char const *name ;
1162 struct static_key key ;
1163 void (*regfunc)(void) ;
1164 void (*unregfunc)(void) ;
1165 struct tracepoint_func *funcs ;
1166};
1167#line 86 "include/linux/tracepoint.h"
1168struct kernel_symbol {
1169 unsigned long value ;
1170 char const *name ;
1171};
1172#line 27 "include/linux/export.h"
1173struct mod_arch_specific {
1174
1175};
1176#line 34 "include/linux/module.h"
1177struct module_param_attrs;
1178#line 34 "include/linux/module.h"
1179struct module_kobject {
1180 struct kobject kobj ;
1181 struct module *mod ;
1182 struct kobject *drivers_dir ;
1183 struct module_param_attrs *mp ;
1184};
1185#line 43 "include/linux/module.h"
1186struct module_attribute {
1187 struct attribute attr ;
1188 ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
1189 ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const * ,
1190 size_t ) ;
1191 void (*setup)(struct module * , char const * ) ;
1192 int (*test)(struct module * ) ;
1193 void (*free)(struct module * ) ;
1194};
1195#line 69
1196struct exception_table_entry;
1197#line 69
1198struct exception_table_entry;
1199#line 198
1200enum module_state {
1201 MODULE_STATE_LIVE = 0,
1202 MODULE_STATE_COMING = 1,
1203 MODULE_STATE_GOING = 2
1204} ;
1205#line 204 "include/linux/module.h"
1206struct module_ref {
1207 unsigned long incs ;
1208 unsigned long decs ;
1209};
1210#line 219
1211struct module_sect_attrs;
1212#line 219
1213struct module_notes_attrs;
1214#line 219
1215struct ftrace_event_call;
1216#line 219 "include/linux/module.h"
1217struct module {
1218 enum module_state state ;
1219 struct list_head list ;
1220 char name[56U] ;
1221 struct module_kobject mkobj ;
1222 struct module_attribute *modinfo_attrs ;
1223 char const *version ;
1224 char const *srcversion ;
1225 struct kobject *holders_dir ;
1226 struct kernel_symbol const *syms ;
1227 unsigned long const *crcs ;
1228 unsigned int num_syms ;
1229 struct kernel_param *kp ;
1230 unsigned int num_kp ;
1231 unsigned int num_gpl_syms ;
1232 struct kernel_symbol const *gpl_syms ;
1233 unsigned long const *gpl_crcs ;
1234 struct kernel_symbol const *unused_syms ;
1235 unsigned long const *unused_crcs ;
1236 unsigned int num_unused_syms ;
1237 unsigned int num_unused_gpl_syms ;
1238 struct kernel_symbol const *unused_gpl_syms ;
1239 unsigned long const *unused_gpl_crcs ;
1240 struct kernel_symbol const *gpl_future_syms ;
1241 unsigned long const *gpl_future_crcs ;
1242 unsigned int num_gpl_future_syms ;
1243 unsigned int num_exentries ;
1244 struct exception_table_entry *extable ;
1245 int (*init)(void) ;
1246 void *module_init ;
1247 void *module_core ;
1248 unsigned int init_size ;
1249 unsigned int core_size ;
1250 unsigned int init_text_size ;
1251 unsigned int core_text_size ;
1252 unsigned int init_ro_size ;
1253 unsigned int core_ro_size ;
1254 struct mod_arch_specific arch ;
1255 unsigned int taints ;
1256 unsigned int num_bugs ;
1257 struct list_head bug_list ;
1258 struct bug_entry *bug_table ;
1259 Elf64_Sym *symtab ;
1260 Elf64_Sym *core_symtab ;
1261 unsigned int num_symtab ;
1262 unsigned int core_num_syms ;
1263 char *strtab ;
1264 char *core_strtab ;
1265 struct module_sect_attrs *sect_attrs ;
1266 struct module_notes_attrs *notes_attrs ;
1267 char *args ;
1268 void *percpu ;
1269 unsigned int percpu_size ;
1270 unsigned int num_tracepoints ;
1271 struct tracepoint * const *tracepoints_ptrs ;
1272 unsigned int num_trace_bprintk_fmt ;
1273 char const **trace_bprintk_fmt_start ;
1274 struct ftrace_event_call **trace_events ;
1275 unsigned int num_trace_events ;
1276 struct list_head source_list ;
1277 struct list_head target_list ;
1278 struct task_struct *waiter ;
1279 void (*exit)(void) ;
1280 struct module_ref *refptr ;
1281 ctor_fn_t (**ctors)(void) ;
1282 unsigned int num_ctors ;
1283};
1284#line 88 "include/linux/kmemleak.h"
1285struct kmem_cache_cpu {
1286 void **freelist ;
1287 unsigned long tid ;
1288 struct page *page ;
1289 struct page *partial ;
1290 int node ;
1291 unsigned int stat[26U] ;
1292};
1293#line 55 "include/linux/slub_def.h"
1294struct kmem_cache_node {
1295 spinlock_t list_lock ;
1296 unsigned long nr_partial ;
1297 struct list_head partial ;
1298 atomic_long_t nr_slabs ;
1299 atomic_long_t total_objects ;
1300 struct list_head full ;
1301};
1302#line 66 "include/linux/slub_def.h"
1303struct kmem_cache_order_objects {
1304 unsigned long x ;
1305};
1306#line 76 "include/linux/slub_def.h"
1307struct kmem_cache {
1308 struct kmem_cache_cpu *cpu_slab ;
1309 unsigned long flags ;
1310 unsigned long min_partial ;
1311 int size ;
1312 int objsize ;
1313 int offset ;
1314 int cpu_partial ;
1315 struct kmem_cache_order_objects oo ;
1316 struct kmem_cache_order_objects max ;
1317 struct kmem_cache_order_objects min ;
1318 gfp_t allocflags ;
1319 int refcount ;
1320 void (*ctor)(void * ) ;
1321 int inuse ;
1322 int align ;
1323 int reserved ;
1324 char const *name ;
1325 struct list_head list ;
1326 struct kobject kobj ;
1327 int remote_node_defrag_ratio ;
1328 struct kmem_cache_node *node[1024U] ;
1329};
1330#line 15 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
1331struct firmware {
1332 size_t size ;
1333 u8 const *data ;
1334 struct page **pages ;
1335};
1336#line 887 "include/linux/ieee80211.h"
1337struct ieee80211_mcs_info {
1338 u8 rx_mask[10U] ;
1339 __le16 rx_highest ;
1340 u8 tx_params ;
1341 u8 reserved[3U] ;
1342};
1343#line 912 "include/linux/ieee80211.h"
1344struct ieee80211_ht_cap {
1345 __le16 cap_info ;
1346 u8 ampdu_params_info ;
1347 struct ieee80211_mcs_info mcs ;
1348 __le16 extended_ht_cap_info ;
1349 __le32 tx_BF_cap_info ;
1350 u8 antenna_selection_info ;
1351};
1352#line 969 "include/linux/ieee80211.h"
1353struct ieee80211_ht_info {
1354 u8 control_chan ;
1355 u8 ht_param ;
1356 __le16 operation_mode ;
1357 __le16 stbc_param ;
1358 u8 basic_set[16U] ;
1359};
1360#line 1305 "include/linux/ieee80211.h"
1361struct __anonstruct_chans_166 {
1362 u8 first_channel ;
1363 u8 num_channels ;
1364 s8 max_power ;
1365};
1366#line 1305 "include/linux/ieee80211.h"
1367struct __anonstruct_ext_167 {
1368 u8 reg_extension_id ;
1369 u8 reg_class ;
1370 u8 coverage_class ;
1371};
1372#line 1305 "include/linux/ieee80211.h"
1373union __anonunion_ldv_14845_165 {
1374 struct __anonstruct_chans_166 chans ;
1375 struct __anonstruct_ext_167 ext ;
1376};
1377#line 1305 "include/linux/ieee80211.h"
1378struct ieee80211_country_ie_triplet {
1379 union __anonunion_ldv_14845_165 ldv_14845 ;
1380};
1381#line 1883
1382enum mwifiex_bss_role {
1383 MWIFIEX_BSS_ROLE_STA = 0,
1384 MWIFIEX_BSS_ROLE_UAP = 1,
1385 MWIFIEX_BSS_ROLE_ANY = 255
1386} ;
1387#line 1894 "include/linux/ieee80211.h"
1388struct mwifiex_fw_image {
1389 u8 *helper_buf ;
1390 u32 helper_len ;
1391 u8 *fw_buf ;
1392 u32 fw_len ;
1393};
1394#line 93 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/decl.h"
1395struct mwifiex_wait_queue {
1396 wait_queue_head_t wait ;
1397 int status ;
1398};
1399#line 98
1400struct sk_buff;
1401#line 112
1402enum mwifiex_wmm_ac_e {
1403 WMM_AC_BK = 0,
1404 WMM_AC_BE = 1,
1405 WMM_AC_VI = 2,
1406 WMM_AC_VO = 3
1407} ;
1408#line 119 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/decl.h"
1409struct ethhdr {
1410 unsigned char h_dest[6U] ;
1411 unsigned char h_source[6U] ;
1412 __be16 h_proto ;
1413};
1414#line 132 "include/linux/if_ether.h"
1415struct prio_tree_node;
1416#line 132 "include/linux/if_ether.h"
1417struct raw_prio_tree_node {
1418 struct prio_tree_node *left ;
1419 struct prio_tree_node *right ;
1420 struct prio_tree_node *parent ;
1421};
1422#line 19 "include/linux/prio_tree.h"
1423struct prio_tree_node {
1424 struct prio_tree_node *left ;
1425 struct prio_tree_node *right ;
1426 struct prio_tree_node *parent ;
1427 unsigned long start ;
1428 unsigned long last ;
1429};
1430#line 27 "include/linux/prio_tree.h"
1431struct prio_tree_root {
1432 struct prio_tree_node *prio_tree_node ;
1433 unsigned short index_bits ;
1434 unsigned short raw ;
1435};
1436#line 116
1437struct address_space;
1438#line 116
1439struct address_space;
1440#line 117 "include/linux/prio_tree.h"
1441union __anonunion_ldv_15038_169 {
1442 unsigned long index ;
1443 void *freelist ;
1444};
1445#line 117 "include/linux/prio_tree.h"
1446struct __anonstruct_ldv_15048_173 {
1447 unsigned short inuse ;
1448 unsigned short objects : 15 ;
1449 unsigned char frozen : 1 ;
1450};
1451#line 117 "include/linux/prio_tree.h"
1452union __anonunion_ldv_15049_172 {
1453 atomic_t _mapcount ;
1454 struct __anonstruct_ldv_15048_173 ldv_15048 ;
1455};
1456#line 117 "include/linux/prio_tree.h"
1457struct __anonstruct_ldv_15051_171 {
1458 union __anonunion_ldv_15049_172 ldv_15049 ;
1459 atomic_t _count ;
1460};
1461#line 117 "include/linux/prio_tree.h"
1462union __anonunion_ldv_15052_170 {
1463 unsigned long counters ;
1464 struct __anonstruct_ldv_15051_171 ldv_15051 ;
1465};
1466#line 117 "include/linux/prio_tree.h"
1467struct __anonstruct_ldv_15053_168 {
1468 union __anonunion_ldv_15038_169 ldv_15038 ;
1469 union __anonunion_ldv_15052_170 ldv_15052 ;
1470};
1471#line 117 "include/linux/prio_tree.h"
1472struct __anonstruct_ldv_15060_175 {
1473 struct page *next ;
1474 int pages ;
1475 int pobjects ;
1476};
1477#line 117 "include/linux/prio_tree.h"
1478union __anonunion_ldv_15061_174 {
1479 struct list_head lru ;
1480 struct __anonstruct_ldv_15060_175 ldv_15060 ;
1481};
1482#line 117 "include/linux/prio_tree.h"
1483union __anonunion_ldv_15066_176 {
1484 unsigned long private ;
1485 struct kmem_cache *slab ;
1486 struct page *first_page ;
1487};
1488#line 117 "include/linux/prio_tree.h"
1489struct page {
1490 unsigned long flags ;
1491 struct address_space *mapping ;
1492 struct __anonstruct_ldv_15053_168 ldv_15053 ;
1493 union __anonunion_ldv_15061_174 ldv_15061 ;
1494 union __anonunion_ldv_15066_176 ldv_15066 ;
1495 unsigned long debug_flags ;
1496};
1497#line 192 "include/linux/mm_types.h"
1498struct __anonstruct_vm_set_178 {
1499 struct list_head list ;
1500 void *parent ;
1501 struct vm_area_struct *head ;
1502};
1503#line 192 "include/linux/mm_types.h"
1504union __anonunion_shared_177 {
1505 struct __anonstruct_vm_set_178 vm_set ;
1506 struct raw_prio_tree_node prio_tree_node ;
1507};
1508#line 192
1509struct anon_vma;
1510#line 192
1511struct vm_operations_struct;
1512#line 192
1513struct mempolicy;
1514#line 192 "include/linux/mm_types.h"
1515struct vm_area_struct {
1516 struct mm_struct *vm_mm ;
1517 unsigned long vm_start ;
1518 unsigned long vm_end ;
1519 struct vm_area_struct *vm_next ;
1520 struct vm_area_struct *vm_prev ;
1521 pgprot_t vm_page_prot ;
1522 unsigned long vm_flags ;
1523 struct rb_node vm_rb ;
1524 union __anonunion_shared_177 shared ;
1525 struct list_head anon_vma_chain ;
1526 struct anon_vma *anon_vma ;
1527 struct vm_operations_struct const *vm_ops ;
1528 unsigned long vm_pgoff ;
1529 struct file *vm_file ;
1530 void *vm_private_data ;
1531 struct mempolicy *vm_policy ;
1532};
1533#line 255 "include/linux/mm_types.h"
1534struct core_thread {
1535 struct task_struct *task ;
1536 struct core_thread *next ;
1537};
1538#line 261 "include/linux/mm_types.h"
1539struct core_state {
1540 atomic_t nr_threads ;
1541 struct core_thread dumper ;
1542 struct completion startup ;
1543};
1544#line 274 "include/linux/mm_types.h"
1545struct mm_rss_stat {
1546 atomic_long_t count[3U] ;
1547};
1548#line 287
1549struct linux_binfmt;
1550#line 287
1551struct mmu_notifier_mm;
1552#line 287 "include/linux/mm_types.h"
1553struct mm_struct {
1554 struct vm_area_struct *mmap ;
1555 struct rb_root mm_rb ;
1556 struct vm_area_struct *mmap_cache ;
1557 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
1558 unsigned long , unsigned long ) ;
1559 void (*unmap_area)(struct mm_struct * , unsigned long ) ;
1560 unsigned long mmap_base ;
1561 unsigned long task_size ;
1562 unsigned long cached_hole_size ;
1563 unsigned long free_area_cache ;
1564 pgd_t *pgd ;
1565 atomic_t mm_users ;
1566 atomic_t mm_count ;
1567 int map_count ;
1568 spinlock_t page_table_lock ;
1569 struct rw_semaphore mmap_sem ;
1570 struct list_head mmlist ;
1571 unsigned long hiwater_rss ;
1572 unsigned long hiwater_vm ;
1573 unsigned long total_vm ;
1574 unsigned long locked_vm ;
1575 unsigned long pinned_vm ;
1576 unsigned long shared_vm ;
1577 unsigned long exec_vm ;
1578 unsigned long stack_vm ;
1579 unsigned long reserved_vm ;
1580 unsigned long def_flags ;
1581 unsigned long nr_ptes ;
1582 unsigned long start_code ;
1583 unsigned long end_code ;
1584 unsigned long start_data ;
1585 unsigned long end_data ;
1586 unsigned long start_brk ;
1587 unsigned long brk ;
1588 unsigned long start_stack ;
1589 unsigned long arg_start ;
1590 unsigned long arg_end ;
1591 unsigned long env_start ;
1592 unsigned long env_end ;
1593 unsigned long saved_auxv[44U] ;
1594 struct mm_rss_stat rss_stat ;
1595 struct linux_binfmt *binfmt ;
1596 cpumask_var_t cpu_vm_mask_var ;
1597 mm_context_t context ;
1598 unsigned int faultstamp ;
1599 unsigned int token_priority ;
1600 unsigned int last_interval ;
1601 unsigned long flags ;
1602 struct core_state *core_state ;
1603 spinlock_t ioctx_lock ;
1604 struct hlist_head ioctx_list ;
1605 struct task_struct *owner ;
1606 struct file *exe_file ;
1607 unsigned long num_exe_file_vmas ;
1608 struct mmu_notifier_mm *mmu_notifier_mm ;
1609 pgtable_t pmd_huge_pte ;
1610 struct cpumask cpumask_allocation ;
1611};
1612#line 11 "include/linux/socket.h"
1613typedef unsigned short __kernel_sa_family_t;
1614#line 18 "include/linux/socket.h"
1615struct iovec {
1616 void *iov_base ;
1617 __kernel_size_t iov_len ;
1618};
1619#line 40 "include/linux/socket.h"
1620typedef __kernel_sa_family_t sa_family_t;
1621#line 41 "include/linux/socket.h"
1622struct sockaddr {
1623 sa_family_t sa_family ;
1624 char sa_data[14U] ;
1625};
1626#line 55 "include/linux/socket.h"
1627struct msghdr {
1628 void *msg_name ;
1629 int msg_namelen ;
1630 struct iovec *msg_iov ;
1631 __kernel_size_t msg_iovlen ;
1632 void *msg_control ;
1633 __kernel_size_t msg_controllen ;
1634 unsigned int msg_flags ;
1635};
1636#line 341
1637enum ldv_14336 {
1638 SS_FREE = 0,
1639 SS_UNCONNECTED = 1,
1640 SS_CONNECTING = 2,
1641 SS_CONNECTED = 3,
1642 SS_DISCONNECTING = 4
1643} ;
1644#line 53 "include/linux/net.h"
1645typedef enum ldv_14336 socket_state;
1646#line 174 "include/asm-generic/fcntl.h"
1647struct poll_table_struct;
1648#line 174
1649struct poll_table_struct;
1650#line 175
1651struct pipe_inode_info;
1652#line 175
1653struct pipe_inode_info;
1654#line 176
1655struct inode;
1656#line 176
1657struct inode;
1658#line 177
1659struct net;
1660#line 177
1661struct net;
1662#line 194
1663struct fasync_struct;
1664#line 194 "include/asm-generic/fcntl.h"
1665struct socket_wq {
1666 wait_queue_head_t wait ;
1667 struct fasync_struct *fasync_list ;
1668 struct rcu_head rcu ;
1669};
1670#line 127 "include/linux/net.h"
1671struct proto_ops;
1672#line 127 "include/linux/net.h"
1673struct socket {
1674 socket_state state ;
1675 short type ;
1676 unsigned long flags ;
1677 struct socket_wq *wq ;
1678 struct file *file ;
1679 struct sock *sk ;
1680 struct proto_ops const *ops ;
1681};
1682#line 153
1683struct kiocb;
1684#line 153
1685struct kiocb;
1686#line 154 "include/linux/net.h"
1687struct proto_ops {
1688 int family ;
1689 struct module *owner ;
1690 int (*release)(struct socket * ) ;
1691 int (*bind)(struct socket * , struct sockaddr * , int ) ;
1692 int (*connect)(struct socket * , struct sockaddr * , int , int ) ;
1693 int (*socketpair)(struct socket * , struct socket * ) ;
1694 int (*accept)(struct socket * , struct socket * , int ) ;
1695 int (*getname)(struct socket * , struct sockaddr * , int * , int ) ;
1696 unsigned int (*poll)(struct file * , struct socket * , struct poll_table_struct * ) ;
1697 int (*ioctl)(struct socket * , unsigned int , unsigned long ) ;
1698 int (*compat_ioctl)(struct socket * , unsigned int , unsigned long ) ;
1699 int (*listen)(struct socket * , int ) ;
1700 int (*shutdown)(struct socket * , int ) ;
1701 int (*setsockopt)(struct socket * , int , int , char * , unsigned int ) ;
1702 int (*getsockopt)(struct socket * , int , int , char * , int * ) ;
1703 int (*compat_setsockopt)(struct socket * , int , int , char * , unsigned int ) ;
1704 int (*compat_getsockopt)(struct socket * , int , int , char * , int * ) ;
1705 int (*sendmsg)(struct kiocb * , struct socket * , struct msghdr * , size_t ) ;
1706 int (*recvmsg)(struct kiocb * , struct socket * , struct msghdr * , size_t , int ) ;
1707 int (*mmap)(struct file * , struct socket * , struct vm_area_struct * ) ;
1708 ssize_t (*sendpage)(struct socket * , struct page * , int , size_t , int ) ;
1709 ssize_t (*splice_read)(struct socket * , loff_t * , struct pipe_inode_info * ,
1710 size_t , unsigned int ) ;
1711 void (*set_peek_off)(struct sock * , int ) ;
1712};
1713#line 177 "include/linux/textsearch.h"
1714struct exception_table_entry {
1715 unsigned long insn ;
1716 unsigned long fixup ;
1717};
1718#line 120 "include/net/checksum.h"
1719struct klist_node;
1720#line 120
1721struct klist_node;
1722#line 37 "include/linux/klist.h"
1723struct klist_node {
1724 void *n_klist ;
1725 struct list_head n_node ;
1726 struct kref n_ref ;
1727};
1728#line 67
1729struct dma_map_ops;
1730#line 67 "include/linux/klist.h"
1731struct dev_archdata {
1732 void *acpi_handle ;
1733 struct dma_map_ops *dma_ops ;
1734 void *iommu ;
1735};
1736#line 17 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1737struct device_private;
1738#line 17
1739struct device_private;
1740#line 18
1741struct device_driver;
1742#line 18
1743struct device_driver;
1744#line 19
1745struct driver_private;
1746#line 19
1747struct driver_private;
1748#line 20
1749struct class;
1750#line 20
1751struct class;
1752#line 21
1753struct subsys_private;
1754#line 21
1755struct subsys_private;
1756#line 22
1757struct bus_type;
1758#line 22
1759struct bus_type;
1760#line 23
1761struct device_node;
1762#line 23
1763struct device_node;
1764#line 24
1765struct iommu_ops;
1766#line 24
1767struct iommu_ops;
1768#line 25 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1769struct bus_attribute {
1770 struct attribute attr ;
1771 ssize_t (*show)(struct bus_type * , char * ) ;
1772 ssize_t (*store)(struct bus_type * , char const * , size_t ) ;
1773};
1774#line 51 "include/linux/device.h"
1775struct device_attribute;
1776#line 51
1777struct driver_attribute;
1778#line 51 "include/linux/device.h"
1779struct bus_type {
1780 char const *name ;
1781 char const *dev_name ;
1782 struct device *dev_root ;
1783 struct bus_attribute *bus_attrs ;
1784 struct device_attribute *dev_attrs ;
1785 struct driver_attribute *drv_attrs ;
1786 int (*match)(struct device * , struct device_driver * ) ;
1787 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1788 int (*probe)(struct device * ) ;
1789 int (*remove)(struct device * ) ;
1790 void (*shutdown)(struct device * ) ;
1791 int (*suspend)(struct device * , pm_message_t ) ;
1792 int (*resume)(struct device * ) ;
1793 struct dev_pm_ops const *pm ;
1794 struct iommu_ops *iommu_ops ;
1795 struct subsys_private *p ;
1796};
1797#line 125
1798struct device_type;
1799#line 182
1800struct of_device_id;
1801#line 182 "include/linux/device.h"
1802struct device_driver {
1803 char const *name ;
1804 struct bus_type *bus ;
1805 struct module *owner ;
1806 char const *mod_name ;
1807 bool suppress_bind_attrs ;
1808 struct of_device_id const *of_match_table ;
1809 int (*probe)(struct device * ) ;
1810 int (*remove)(struct device * ) ;
1811 void (*shutdown)(struct device * ) ;
1812 int (*suspend)(struct device * , pm_message_t ) ;
1813 int (*resume)(struct device * ) ;
1814 struct attribute_group const **groups ;
1815 struct dev_pm_ops const *pm ;
1816 struct driver_private *p ;
1817};
1818#line 245 "include/linux/device.h"
1819struct driver_attribute {
1820 struct attribute attr ;
1821 ssize_t (*show)(struct device_driver * , char * ) ;
1822 ssize_t (*store)(struct device_driver * , char const * , size_t ) ;
1823};
1824#line 299
1825struct class_attribute;
1826#line 299 "include/linux/device.h"
1827struct class {
1828 char const *name ;
1829 struct module *owner ;
1830 struct class_attribute *class_attrs ;
1831 struct device_attribute *dev_attrs ;
1832 struct bin_attribute *dev_bin_attrs ;
1833 struct kobject *dev_kobj ;
1834 int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ;
1835 char *(*devnode)(struct device * , umode_t * ) ;
1836 void (*class_release)(struct class * ) ;
1837 void (*dev_release)(struct device * ) ;
1838 int (*suspend)(struct device * , pm_message_t ) ;
1839 int (*resume)(struct device * ) ;
1840 struct kobj_ns_type_operations const *ns_type ;
1841 void const *(*namespace)(struct device * ) ;
1842 struct dev_pm_ops const *pm ;
1843 struct subsys_private *p ;
1844};
1845#line 394 "include/linux/device.h"
1846struct class_attribute {
1847 struct attribute attr ;
1848 ssize_t (*show)(struct class * , struct class_attribute * , char * ) ;
1849 ssize_t (*store)(struct class * , struct class_attribute * , char const * , size_t ) ;
1850 void const *(*namespace)(struct class * , struct class_attribute const * ) ;
1851};
1852#line 447 "include/linux/device.h"
1853struct device_type {
1854 char const *name ;
1855 struct attribute_group const **groups ;
1856 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1857 char *(*devnode)(struct device * , umode_t * ) ;
1858 void (*release)(struct device * ) ;
1859 struct dev_pm_ops const *pm ;
1860};
1861#line 474 "include/linux/device.h"
1862struct device_attribute {
1863 struct attribute attr ;
1864 ssize_t (*show)(struct device * , struct device_attribute * , char * ) ;
1865 ssize_t (*store)(struct device * , struct device_attribute * , char const * ,
1866 size_t ) ;
1867};
1868#line 557 "include/linux/device.h"
1869struct device_dma_parameters {
1870 unsigned int max_segment_size ;
1871 unsigned long segment_boundary_mask ;
1872};
1873#line 567
1874struct dma_coherent_mem;
1875#line 567 "include/linux/device.h"
1876struct device {
1877 struct device *parent ;
1878 struct device_private *p ;
1879 struct kobject kobj ;
1880 char const *init_name ;
1881 struct device_type const *type ;
1882 struct mutex mutex ;
1883 struct bus_type *bus ;
1884 struct device_driver *driver ;
1885 void *platform_data ;
1886 struct dev_pm_info power ;
1887 struct dev_pm_domain *pm_domain ;
1888 int numa_node ;
1889 u64 *dma_mask ;
1890 u64 coherent_dma_mask ;
1891 struct device_dma_parameters *dma_parms ;
1892 struct list_head dma_pools ;
1893 struct dma_coherent_mem *dma_mem ;
1894 struct dev_archdata archdata ;
1895 struct device_node *of_node ;
1896 dev_t devt ;
1897 u32 id ;
1898 spinlock_t devres_lock ;
1899 struct list_head devres_head ;
1900 struct klist_node knode_class ;
1901 struct class *class ;
1902 struct attribute_group const **groups ;
1903 void (*release)(struct device * ) ;
1904};
1905#line 681 "include/linux/device.h"
1906struct wakeup_source {
1907 char const *name ;
1908 struct list_head entry ;
1909 spinlock_t lock ;
1910 struct timer_list timer ;
1911 unsigned long timer_expires ;
1912 ktime_t total_time ;
1913 ktime_t max_time ;
1914 ktime_t last_time ;
1915 unsigned long event_count ;
1916 unsigned long active_count ;
1917 unsigned long relax_count ;
1918 unsigned long hit_count ;
1919 unsigned char active : 1 ;
1920};
1921#line 93 "include/linux/bit_spinlock.h"
1922struct shrink_control {
1923 gfp_t gfp_mask ;
1924 unsigned long nr_to_scan ;
1925};
1926#line 14 "include/linux/shrinker.h"
1927struct shrinker {
1928 int (*shrink)(struct shrinker * , struct shrink_control * ) ;
1929 int seeks ;
1930 long batch ;
1931 struct list_head list ;
1932 atomic_long_t nr_in_batch ;
1933};
1934#line 43
1935struct file_ra_state;
1936#line 43
1937struct file_ra_state;
1938#line 44
1939struct user_struct;
1940#line 44
1941struct user_struct;
1942#line 45
1943struct writeback_control;
1944#line 45
1945struct writeback_control;
1946#line 178 "include/linux/mm.h"
1947struct vm_fault {
1948 unsigned int flags ;
1949 unsigned long pgoff ;
1950 void *virtual_address ;
1951 struct page *page ;
1952};
1953#line 195 "include/linux/mm.h"
1954struct vm_operations_struct {
1955 void (*open)(struct vm_area_struct * ) ;
1956 void (*close)(struct vm_area_struct * ) ;
1957 int (*fault)(struct vm_area_struct * , struct vm_fault * ) ;
1958 int (*page_mkwrite)(struct vm_area_struct * , struct vm_fault * ) ;
1959 int (*access)(struct vm_area_struct * , unsigned long , void * , int , int ) ;
1960 int (*set_policy)(struct vm_area_struct * , struct mempolicy * ) ;
1961 struct mempolicy *(*get_policy)(struct vm_area_struct * , unsigned long ) ;
1962 int (*migrate)(struct vm_area_struct * , nodemask_t const * , nodemask_t const * ,
1963 unsigned long ) ;
1964};
1965#line 1631 "include/linux/mm.h"
1966struct scatterlist {
1967 unsigned long sg_magic ;
1968 unsigned long page_link ;
1969 unsigned int offset ;
1970 unsigned int length ;
1971 dma_addr_t dma_address ;
1972 unsigned int dma_length ;
1973};
1974#line 37 "include/linux/dmaengine.h"
1975typedef s32 dma_cookie_t;
1976#line 999 "include/linux/dmaengine.h"
1977struct timerqueue_node {
1978 struct rb_node node ;
1979 ktime_t expires ;
1980};
1981#line 12 "include/linux/timerqueue.h"
1982struct timerqueue_head {
1983 struct rb_root head ;
1984 struct timerqueue_node *next ;
1985};
1986#line 50
1987struct hrtimer_clock_base;
1988#line 50
1989struct hrtimer_clock_base;
1990#line 51
1991struct hrtimer_cpu_base;
1992#line 51
1993struct hrtimer_cpu_base;
1994#line 60
1995enum hrtimer_restart {
1996 HRTIMER_NORESTART = 0,
1997 HRTIMER_RESTART = 1
1998} ;
1999#line 65 "include/linux/timerqueue.h"
2000struct hrtimer {
2001 struct timerqueue_node node ;
2002 ktime_t _softexpires ;
2003 enum hrtimer_restart (*function)(struct hrtimer * ) ;
2004 struct hrtimer_clock_base *base ;
2005 unsigned long state ;
2006 int start_pid ;
2007 void *start_site ;
2008 char start_comm[16U] ;
2009};
2010#line 132 "include/linux/hrtimer.h"
2011struct hrtimer_clock_base {
2012 struct hrtimer_cpu_base *cpu_base ;
2013 int index ;
2014 clockid_t clockid ;
2015 struct timerqueue_head active ;
2016 ktime_t resolution ;
2017 ktime_t (*get_time)(void) ;
2018 ktime_t softirq_time ;
2019 ktime_t offset ;
2020};
2021#line 162 "include/linux/hrtimer.h"
2022struct hrtimer_cpu_base {
2023 raw_spinlock_t lock ;
2024 unsigned long active_bases ;
2025 ktime_t expires_next ;
2026 int hres_active ;
2027 int hang_detected ;
2028 unsigned long nr_events ;
2029 unsigned long nr_retries ;
2030 unsigned long nr_hangs ;
2031 ktime_t max_hang_time ;
2032 struct hrtimer_clock_base clock_base[3U] ;
2033};
2034#line 460 "include/linux/hrtimer.h"
2035struct dma_attrs {
2036 unsigned long flags[1U] ;
2037};
2038#line 67 "include/linux/dma-attrs.h"
2039enum dma_data_direction {
2040 DMA_BIDIRECTIONAL = 0,
2041 DMA_TO_DEVICE = 1,
2042 DMA_FROM_DEVICE = 2,
2043 DMA_NONE = 3
2044} ;
2045#line 74 "include/linux/dma-attrs.h"
2046struct dma_map_ops {
2047 void *(*alloc)(struct device * , size_t , dma_addr_t * , gfp_t , struct dma_attrs * ) ;
2048 void (*free)(struct device * , size_t , void * , dma_addr_t , struct dma_attrs * ) ;
2049 int (*mmap)(struct device * , struct vm_area_struct * , void * , dma_addr_t ,
2050 size_t , struct dma_attrs * ) ;
2051 dma_addr_t (*map_page)(struct device * , struct page * , unsigned long , size_t ,
2052 enum dma_data_direction , struct dma_attrs * ) ;
2053 void (*unmap_page)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
2054 struct dma_attrs * ) ;
2055 int (*map_sg)(struct device * , struct scatterlist * , int , enum dma_data_direction ,
2056 struct dma_attrs * ) ;
2057 void (*unmap_sg)(struct device * , struct scatterlist * , int , enum dma_data_direction ,
2058 struct dma_attrs * ) ;
2059 void (*sync_single_for_cpu)(struct device * , dma_addr_t , size_t , enum dma_data_direction ) ;
2060 void (*sync_single_for_device)(struct device * , dma_addr_t , size_t , enum dma_data_direction ) ;
2061 void (*sync_sg_for_cpu)(struct device * , struct scatterlist * , int , enum dma_data_direction ) ;
2062 void (*sync_sg_for_device)(struct device * , struct scatterlist * , int , enum dma_data_direction ) ;
2063 int (*mapping_error)(struct device * , dma_addr_t ) ;
2064 int (*dma_supported)(struct device * , u64 ) ;
2065 int (*set_dma_mask)(struct device * , u64 ) ;
2066 int is_phys ;
2067};
2068#line 15 "include/linux/netdev_features.h"
2069typedef u64 netdev_features_t;
2070#line 56 "include/linux/netdev_features.h"
2071struct nf_conntrack {
2072 atomic_t use ;
2073};
2074#line 116 "include/linux/skbuff.h"
2075struct nf_bridge_info {
2076 atomic_t use ;
2077 struct net_device *physindev ;
2078 struct net_device *physoutdev ;
2079 unsigned int mask ;
2080 unsigned long data[4U] ;
2081};
2082#line 126 "include/linux/skbuff.h"
2083struct sk_buff_head {
2084 struct sk_buff *next ;
2085 struct sk_buff *prev ;
2086 __u32 qlen ;
2087 spinlock_t lock ;
2088};
2089#line 318 "include/linux/skbuff.h"
2090typedef unsigned int sk_buff_data_t;
2091#line 319
2092struct sec_path;
2093#line 319 "include/linux/skbuff.h"
2094struct __anonstruct_ldv_20733_182 {
2095 __u16 csum_start ;
2096 __u16 csum_offset ;
2097};
2098#line 319 "include/linux/skbuff.h"
2099union __anonunion_ldv_20734_181 {
2100 __wsum csum ;
2101 struct __anonstruct_ldv_20733_182 ldv_20733 ;
2102};
2103#line 319 "include/linux/skbuff.h"
2104union __anonunion_ldv_20770_183 {
2105 __u32 mark ;
2106 __u32 dropcount ;
2107 __u32 avail_size ;
2108};
2109#line 319 "include/linux/skbuff.h"
2110struct sk_buff {
2111 struct sk_buff *next ;
2112 struct sk_buff *prev ;
2113 ktime_t tstamp ;
2114 struct sock *sk ;
2115 struct net_device *dev ;
2116 char cb[48U] ;
2117 unsigned long _skb_refdst ;
2118 struct sec_path *sp ;
2119 unsigned int len ;
2120 unsigned int data_len ;
2121 __u16 mac_len ;
2122 __u16 hdr_len ;
2123 union __anonunion_ldv_20734_181 ldv_20734 ;
2124 __u32 priority ;
2125 unsigned char local_df : 1 ;
2126 unsigned char cloned : 1 ;
2127 unsigned char ip_summed : 2 ;
2128 unsigned char nohdr : 1 ;
2129 unsigned char nfctinfo : 3 ;
2130 unsigned char pkt_type : 3 ;
2131 unsigned char fclone : 2 ;
2132 unsigned char ipvs_property : 1 ;
2133 unsigned char peeked : 1 ;
2134 unsigned char nf_trace : 1 ;
2135 __be16 protocol ;
2136 void (*destructor)(struct sk_buff * ) ;
2137 struct nf_conntrack *nfct ;
2138 struct sk_buff *nfct_reasm ;
2139 struct nf_bridge_info *nf_bridge ;
2140 int skb_iif ;
2141 __u32 rxhash ;
2142 __u16 vlan_tci ;
2143 __u16 tc_index ;
2144 __u16 tc_verd ;
2145 __u16 queue_mapping ;
2146 unsigned char ndisc_nodetype : 2 ;
2147 unsigned char ooo_okay : 1 ;
2148 unsigned char l4_rxhash : 1 ;
2149 unsigned char wifi_acked_valid : 1 ;
2150 unsigned char wifi_acked : 1 ;
2151 unsigned char no_fcs : 1 ;
2152 dma_cookie_t dma_cookie ;
2153 __u32 secmark ;
2154 union __anonunion_ldv_20770_183 ldv_20770 ;
2155 sk_buff_data_t transport_header ;
2156 sk_buff_data_t network_header ;
2157 sk_buff_data_t mac_header ;
2158 sk_buff_data_t tail ;
2159 sk_buff_data_t end ;
2160 unsigned char *head ;
2161 unsigned char *data ;
2162 unsigned int truesize ;
2163 atomic_t users ;
2164};
2165#line 520
2166struct dst_entry;
2167#line 555
2168struct rtable;
2169#line 41 "include/linux/hdlc/ioctl.h"
2170struct __anonstruct_sync_serial_settings_184 {
2171 unsigned int clock_rate ;
2172 unsigned int clock_type ;
2173 unsigned short loopback ;
2174};
2175#line 41 "include/linux/hdlc/ioctl.h"
2176typedef struct __anonstruct_sync_serial_settings_184 sync_serial_settings;
2177#line 48 "include/linux/hdlc/ioctl.h"
2178struct __anonstruct_te1_settings_185 {
2179 unsigned int clock_rate ;
2180 unsigned int clock_type ;
2181 unsigned short loopback ;
2182 unsigned int slot_map ;
2183};
2184#line 48 "include/linux/hdlc/ioctl.h"
2185typedef struct __anonstruct_te1_settings_185 te1_settings;
2186#line 53 "include/linux/hdlc/ioctl.h"
2187struct __anonstruct_raw_hdlc_proto_186 {
2188 unsigned short encoding ;
2189 unsigned short parity ;
2190};
2191#line 53 "include/linux/hdlc/ioctl.h"
2192typedef struct __anonstruct_raw_hdlc_proto_186 raw_hdlc_proto;
2193#line 63 "include/linux/hdlc/ioctl.h"
2194struct __anonstruct_fr_proto_187 {
2195 unsigned int t391 ;
2196 unsigned int t392 ;
2197 unsigned int n391 ;
2198 unsigned int n392 ;
2199 unsigned int n393 ;
2200 unsigned short lmi ;
2201 unsigned short dce ;
2202};
2203#line 63 "include/linux/hdlc/ioctl.h"
2204typedef struct __anonstruct_fr_proto_187 fr_proto;
2205#line 67 "include/linux/hdlc/ioctl.h"
2206struct __anonstruct_fr_proto_pvc_188 {
2207 unsigned int dlci ;
2208};
2209#line 67 "include/linux/hdlc/ioctl.h"
2210typedef struct __anonstruct_fr_proto_pvc_188 fr_proto_pvc;
2211#line 72 "include/linux/hdlc/ioctl.h"
2212struct __anonstruct_fr_proto_pvc_info_189 {
2213 unsigned int dlci ;
2214 char master[16U] ;
2215};
2216#line 72 "include/linux/hdlc/ioctl.h"
2217typedef struct __anonstruct_fr_proto_pvc_info_189 fr_proto_pvc_info;
2218#line 77 "include/linux/hdlc/ioctl.h"
2219struct __anonstruct_cisco_proto_190 {
2220 unsigned int interval ;
2221 unsigned int timeout ;
2222};
2223#line 77 "include/linux/hdlc/ioctl.h"
2224typedef struct __anonstruct_cisco_proto_190 cisco_proto;
2225#line 93 "include/linux/hdlc/ioctl.h"
2226struct ifmap {
2227 unsigned long mem_start ;
2228 unsigned long mem_end ;
2229 unsigned short base_addr ;
2230 unsigned char irq ;
2231 unsigned char dma ;
2232 unsigned char port ;
2233};
2234#line 148 "include/linux/if.h"
2235union __anonunion_ifs_ifsu_191 {
2236 raw_hdlc_proto *raw_hdlc ;
2237 cisco_proto *cisco ;
2238 fr_proto *fr ;
2239 fr_proto_pvc *fr_pvc ;
2240 fr_proto_pvc_info *fr_pvc_info ;
2241 sync_serial_settings *sync ;
2242 te1_settings *te1 ;
2243};
2244#line 148 "include/linux/if.h"
2245struct if_settings {
2246 unsigned int type ;
2247 unsigned int size ;
2248 union __anonunion_ifs_ifsu_191 ifs_ifsu ;
2249};
2250#line 166 "include/linux/if.h"
2251union __anonunion_ifr_ifrn_192 {
2252 char ifrn_name[16U] ;
2253};
2254#line 166 "include/linux/if.h"
2255union __anonunion_ifr_ifru_193 {
2256 struct sockaddr ifru_addr ;
2257 struct sockaddr ifru_dstaddr ;
2258 struct sockaddr ifru_broadaddr ;
2259 struct sockaddr ifru_netmask ;
2260 struct sockaddr ifru_hwaddr ;
2261 short ifru_flags ;
2262 int ifru_ivalue ;
2263 int ifru_mtu ;
2264 struct ifmap ifru_map ;
2265 char ifru_slave[16U] ;
2266 char ifru_newname[16U] ;
2267 void *ifru_data ;
2268 struct if_settings ifru_settings ;
2269};
2270#line 166 "include/linux/if.h"
2271struct ifreq {
2272 union __anonunion_ifr_ifrn_192 ifr_ifrn ;
2273 union __anonunion_ifr_ifru_193 ifr_ifru ;
2274};
2275#line 117 "include/linux/netlink.h"
2276struct nlattr {
2277 __u16 nla_len ;
2278 __u16 nla_type ;
2279};
2280#line 93 "include/linux/capability.h"
2281struct kernel_cap_struct {
2282 __u32 cap[2U] ;
2283};
2284#line 96 "include/linux/capability.h"
2285typedef struct kernel_cap_struct kernel_cap_t;
2286#line 104
2287struct dentry;
2288#line 104
2289struct dentry;
2290#line 105
2291struct user_namespace;
2292#line 105
2293struct user_namespace;
2294#line 39 "include/linux/if_link.h"
2295struct rtnl_link_stats64 {
2296 __u64 rx_packets ;
2297 __u64 tx_packets ;
2298 __u64 rx_bytes ;
2299 __u64 tx_bytes ;
2300 __u64 rx_errors ;
2301 __u64 tx_errors ;
2302 __u64 rx_dropped ;
2303 __u64 tx_dropped ;
2304 __u64 multicast ;
2305 __u64 collisions ;
2306 __u64 rx_length_errors ;
2307 __u64 rx_over_errors ;
2308 __u64 rx_crc_errors ;
2309 __u64 rx_frame_errors ;
2310 __u64 rx_fifo_errors ;
2311 __u64 rx_missed_errors ;
2312 __u64 tx_aborted_errors ;
2313 __u64 tx_carrier_errors ;
2314 __u64 tx_fifo_errors ;
2315 __u64 tx_heartbeat_errors ;
2316 __u64 tx_window_errors ;
2317 __u64 rx_compressed ;
2318 __u64 tx_compressed ;
2319};
2320#line 309 "include/linux/if_link.h"
2321struct ifla_vf_info {
2322 __u32 vf ;
2323 __u8 mac[32U] ;
2324 __u32 vlan ;
2325 __u32 qos ;
2326 __u32 tx_rate ;
2327 __u32 spoofchk ;
2328};
2329#line 393 "include/linux/if_link.h"
2330struct plist_head {
2331 struct list_head node_list ;
2332};
2333#line 84 "include/linux/plist.h"
2334struct plist_node {
2335 int prio ;
2336 struct list_head prio_list ;
2337 struct list_head node_list ;
2338};
2339#line 254
2340struct file_operations;
2341#line 71 "include/linux/miscdevice.h"
2342struct pm_qos_request {
2343 struct plist_node node ;
2344 int pm_qos_class ;
2345 struct delayed_work work ;
2346};
2347#line 35 "include/linux/pm_qos.h"
2348struct dev_pm_qos_request {
2349 struct plist_node node ;
2350 struct device *dev ;
2351};
2352#line 40
2353enum pm_qos_type {
2354 PM_QOS_UNITIALIZED = 0,
2355 PM_QOS_MAX = 1,
2356 PM_QOS_MIN = 2
2357} ;
2358#line 46 "include/linux/pm_qos.h"
2359struct pm_qos_constraints {
2360 struct plist_head list ;
2361 s32 target_value ;
2362 s32 default_value ;
2363 enum pm_qos_type type ;
2364 struct blocking_notifier_head *notifiers ;
2365};
2366#line 427 "include/linux/rculist.h"
2367struct dql {
2368 unsigned int num_queued ;
2369 unsigned int adj_limit ;
2370 unsigned int last_obj_cnt ;
2371 unsigned int limit ;
2372 unsigned int num_completed ;
2373 unsigned int prev_ovlimit ;
2374 unsigned int prev_num_queued ;
2375 unsigned int prev_last_obj_cnt ;
2376 unsigned int lowest_slack ;
2377 unsigned long slack_start_time ;
2378 unsigned int max_limit ;
2379 unsigned int min_limit ;
2380 unsigned int slack_hold_time ;
2381};
2382#line 98 "include/linux/sem.h"
2383struct sem_undo_list;
2384#line 98 "include/linux/sem.h"
2385struct sysv_sem {
2386 struct sem_undo_list *undo_list ;
2387};
2388#line 110
2389struct block_device;
2390#line 110
2391struct block_device;
2392#line 89 "include/linux/kdev_t.h"
2393struct hlist_bl_node;
2394#line 89 "include/linux/kdev_t.h"
2395struct hlist_bl_head {
2396 struct hlist_bl_node *first ;
2397};
2398#line 36 "include/linux/list_bl.h"
2399struct hlist_bl_node {
2400 struct hlist_bl_node *next ;
2401 struct hlist_bl_node **pprev ;
2402};
2403#line 114 "include/linux/rculist_bl.h"
2404struct nameidata;
2405#line 114
2406struct nameidata;
2407#line 115
2408struct path;
2409#line 115
2410struct path;
2411#line 116
2412struct vfsmount;
2413#line 116
2414struct vfsmount;
2415#line 117 "include/linux/rculist_bl.h"
2416struct qstr {
2417 unsigned int hash ;
2418 unsigned int len ;
2419 unsigned char const *name ;
2420};
2421#line 72 "include/linux/dcache.h"
2422struct dentry_operations;
2423#line 72
2424struct super_block;
2425#line 72 "include/linux/dcache.h"
2426union __anonunion_d_u_198 {
2427 struct list_head d_child ;
2428 struct rcu_head d_rcu ;
2429};
2430#line 72 "include/linux/dcache.h"
2431struct dentry {
2432 unsigned int d_flags ;
2433 seqcount_t d_seq ;
2434 struct hlist_bl_node d_hash ;
2435 struct dentry *d_parent ;
2436 struct qstr d_name ;
2437 struct inode *d_inode ;
2438 unsigned char d_iname[32U] ;
2439 unsigned int d_count ;
2440 spinlock_t d_lock ;
2441 struct dentry_operations const *d_op ;
2442 struct super_block *d_sb ;
2443 unsigned long d_time ;
2444 void *d_fsdata ;
2445 struct list_head d_lru ;
2446 union __anonunion_d_u_198 d_u ;
2447 struct list_head d_subdirs ;
2448 struct list_head d_alias ;
2449};
2450#line 123 "include/linux/dcache.h"
2451struct dentry_operations {
2452 int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
2453 int (*d_hash)(struct dentry const * , struct inode const * , struct qstr * ) ;
2454 int (*d_compare)(struct dentry const * , struct inode const * , struct dentry const * ,
2455 struct inode const * , unsigned int , char const * , struct qstr const * ) ;
2456 int (*d_delete)(struct dentry const * ) ;
2457 void (*d_release)(struct dentry * ) ;
2458 void (*d_prune)(struct dentry * ) ;
2459 void (*d_iput)(struct dentry * , struct inode * ) ;
2460 char *(*d_dname)(struct dentry * , char * , int ) ;
2461 struct vfsmount *(*d_automount)(struct path * ) ;
2462 int (*d_manage)(struct dentry * , bool ) ;
2463};
2464#line 402 "include/linux/dcache.h"
2465struct path {
2466 struct vfsmount *mnt ;
2467 struct dentry *dentry ;
2468};
2469#line 58 "include/linux/radix-tree.h"
2470struct radix_tree_node;
2471#line 58 "include/linux/radix-tree.h"
2472struct radix_tree_root {
2473 unsigned int height ;
2474 gfp_t gfp_mask ;
2475 struct radix_tree_node *rnode ;
2476};
2477#line 377
2478enum pid_type {
2479 PIDTYPE_PID = 0,
2480 PIDTYPE_PGID = 1,
2481 PIDTYPE_SID = 2,
2482 PIDTYPE_MAX = 3
2483} ;
2484#line 384
2485struct pid_namespace;
2486#line 384 "include/linux/radix-tree.h"
2487struct upid {
2488 int nr ;
2489 struct pid_namespace *ns ;
2490 struct hlist_node pid_chain ;
2491};
2492#line 56 "include/linux/pid.h"
2493struct pid {
2494 atomic_t count ;
2495 unsigned int level ;
2496 struct hlist_head tasks[3U] ;
2497 struct rcu_head rcu ;
2498 struct upid numbers[1U] ;
2499};
2500#line 68 "include/linux/pid.h"
2501struct pid_link {
2502 struct hlist_node node ;
2503 struct pid *pid ;
2504};
2505#line 175 "include/linux/pid.h"
2506struct semaphore {
2507 raw_spinlock_t lock ;
2508 unsigned int count ;
2509 struct list_head wait_list ;
2510};
2511#line 45 "include/linux/semaphore.h"
2512struct fiemap_extent {
2513 __u64 fe_logical ;
2514 __u64 fe_physical ;
2515 __u64 fe_length ;
2516 __u64 fe_reserved64[2U] ;
2517 __u32 fe_flags ;
2518 __u32 fe_reserved[3U] ;
2519};
2520#line 38 "include/linux/fiemap.h"
2521enum migrate_mode {
2522 MIGRATE_ASYNC = 0,
2523 MIGRATE_SYNC_LIGHT = 1,
2524 MIGRATE_SYNC = 2
2525} ;
2526#line 44
2527struct export_operations;
2528#line 44
2529struct export_operations;
2530#line 46
2531struct kstatfs;
2532#line 46
2533struct kstatfs;
2534#line 435 "include/linux/fs.h"
2535struct iattr {
2536 unsigned int ia_valid ;
2537 umode_t ia_mode ;
2538 uid_t ia_uid ;
2539 gid_t ia_gid ;
2540 loff_t ia_size ;
2541 struct timespec ia_atime ;
2542 struct timespec ia_mtime ;
2543 struct timespec ia_ctime ;
2544 struct file *ia_file ;
2545};
2546#line 119 "include/linux/quota.h"
2547struct if_dqinfo {
2548 __u64 dqi_bgrace ;
2549 __u64 dqi_igrace ;
2550 __u32 dqi_flags ;
2551 __u32 dqi_valid ;
2552};
2553#line 152 "include/linux/quota.h"
2554struct percpu_counter {
2555 raw_spinlock_t lock ;
2556 s64 count ;
2557 struct list_head list ;
2558 s32 *counters ;
2559};
2560#line 176 "include/linux/percpu_counter.h"
2561struct fs_disk_quota {
2562 __s8 d_version ;
2563 __s8 d_flags ;
2564 __u16 d_fieldmask ;
2565 __u32 d_id ;
2566 __u64 d_blk_hardlimit ;
2567 __u64 d_blk_softlimit ;
2568 __u64 d_ino_hardlimit ;
2569 __u64 d_ino_softlimit ;
2570 __u64 d_bcount ;
2571 __u64 d_icount ;
2572 __s32 d_itimer ;
2573 __s32 d_btimer ;
2574 __u16 d_iwarns ;
2575 __u16 d_bwarns ;
2576 __s32 d_padding2 ;
2577 __u64 d_rtb_hardlimit ;
2578 __u64 d_rtb_softlimit ;
2579 __u64 d_rtbcount ;
2580 __s32 d_rtbtimer ;
2581 __u16 d_rtbwarns ;
2582 __s16 d_padding3 ;
2583 char d_padding4[8U] ;
2584};
2585#line 75 "include/linux/dqblk_xfs.h"
2586struct fs_qfilestat {
2587 __u64 qfs_ino ;
2588 __u64 qfs_nblks ;
2589 __u32 qfs_nextents ;
2590};
2591#line 150 "include/linux/dqblk_xfs.h"
2592typedef struct fs_qfilestat fs_qfilestat_t;
2593#line 151 "include/linux/dqblk_xfs.h"
2594struct fs_quota_stat {
2595 __s8 qs_version ;
2596 __u16 qs_flags ;
2597 __s8 qs_pad ;
2598 fs_qfilestat_t qs_uquota ;
2599 fs_qfilestat_t qs_gquota ;
2600 __u32 qs_incoredqs ;
2601 __s32 qs_btimelimit ;
2602 __s32 qs_itimelimit ;
2603 __s32 qs_rtbtimelimit ;
2604 __u16 qs_bwarnlimit ;
2605 __u16 qs_iwarnlimit ;
2606};
2607#line 165
2608struct dquot;
2609#line 165
2610struct dquot;
2611#line 185 "include/linux/quota.h"
2612typedef __kernel_uid32_t qid_t;
2613#line 186 "include/linux/quota.h"
2614typedef long long qsize_t;
2615#line 189 "include/linux/quota.h"
2616struct mem_dqblk {
2617 qsize_t dqb_bhardlimit ;
2618 qsize_t dqb_bsoftlimit ;
2619 qsize_t dqb_curspace ;
2620 qsize_t dqb_rsvspace ;
2621 qsize_t dqb_ihardlimit ;
2622 qsize_t dqb_isoftlimit ;
2623 qsize_t dqb_curinodes ;
2624 time_t dqb_btime ;
2625 time_t dqb_itime ;
2626};
2627#line 211
2628struct quota_format_type;
2629#line 211
2630struct quota_format_type;
2631#line 212 "include/linux/quota.h"
2632struct mem_dqinfo {
2633 struct quota_format_type *dqi_format ;
2634 int dqi_fmt_id ;
2635 struct list_head dqi_dirty_list ;
2636 unsigned long dqi_flags ;
2637 unsigned int dqi_bgrace ;
2638 unsigned int dqi_igrace ;
2639 qsize_t dqi_maxblimit ;
2640 qsize_t dqi_maxilimit ;
2641 void *dqi_priv ;
2642};
2643#line 275 "include/linux/quota.h"
2644struct dquot {
2645 struct hlist_node dq_hash ;
2646 struct list_head dq_inuse ;
2647 struct list_head dq_free ;
2648 struct list_head dq_dirty ;
2649 struct mutex dq_lock ;
2650 atomic_t dq_count ;
2651 wait_queue_head_t dq_wait_unused ;
2652 struct super_block *dq_sb ;
2653 unsigned int dq_id ;
2654 loff_t dq_off ;
2655 unsigned long dq_flags ;
2656 short dq_type ;
2657 struct mem_dqblk dq_dqb ;
2658};
2659#line 303 "include/linux/quota.h"
2660struct quota_format_ops {
2661 int (*check_quota_file)(struct super_block * , int ) ;
2662 int (*read_file_info)(struct super_block * , int ) ;
2663 int (*write_file_info)(struct super_block * , int ) ;
2664 int (*free_file_info)(struct super_block * , int ) ;
2665 int (*read_dqblk)(struct dquot * ) ;
2666 int (*commit_dqblk)(struct dquot * ) ;
2667 int (*release_dqblk)(struct dquot * ) ;
2668};
2669#line 314 "include/linux/quota.h"
2670struct dquot_operations {
2671 int (*write_dquot)(struct dquot * ) ;
2672 struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
2673 void (*destroy_dquot)(struct dquot * ) ;
2674 int (*acquire_dquot)(struct dquot * ) ;
2675 int (*release_dquot)(struct dquot * ) ;
2676 int (*mark_dirty)(struct dquot * ) ;
2677 int (*write_info)(struct super_block * , int ) ;
2678 qsize_t *(*get_reserved_space)(struct inode * ) ;
2679};
2680#line 328 "include/linux/quota.h"
2681struct quotactl_ops {
2682 int (*quota_on)(struct super_block * , int , int , struct path * ) ;
2683 int (*quota_on_meta)(struct super_block * , int , int ) ;
2684 int (*quota_off)(struct super_block * , int ) ;
2685 int (*quota_sync)(struct super_block * , int , int ) ;
2686 int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
2687 int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
2688 int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2689 int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2690 int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
2691 int (*set_xstate)(struct super_block * , unsigned int , int ) ;
2692};
2693#line 344 "include/linux/quota.h"
2694struct quota_format_type {
2695 int qf_fmt_id ;
2696 struct quota_format_ops const *qf_ops ;
2697 struct module *qf_owner ;
2698 struct quota_format_type *qf_next ;
2699};
2700#line 390 "include/linux/quota.h"
2701struct quota_info {
2702 unsigned int flags ;
2703 struct mutex dqio_mutex ;
2704 struct mutex dqonoff_mutex ;
2705 struct rw_semaphore dqptr_sem ;
2706 struct inode *files[2U] ;
2707 struct mem_dqinfo info[2U] ;
2708 struct quota_format_ops const *ops[2U] ;
2709};
2710#line 585 "include/linux/fs.h"
2711union __anonunion_arg_200 {
2712 char *buf ;
2713 void *data ;
2714};
2715#line 585 "include/linux/fs.h"
2716struct __anonstruct_read_descriptor_t_199 {
2717 size_t written ;
2718 size_t count ;
2719 union __anonunion_arg_200 arg ;
2720 int error ;
2721};
2722#line 585 "include/linux/fs.h"
2723typedef struct __anonstruct_read_descriptor_t_199 read_descriptor_t;
2724#line 588 "include/linux/fs.h"
2725struct address_space_operations {
2726 int (*writepage)(struct page * , struct writeback_control * ) ;
2727 int (*readpage)(struct file * , struct page * ) ;
2728 int (*writepages)(struct address_space * , struct writeback_control * ) ;
2729 int (*set_page_dirty)(struct page * ) ;
2730 int (*readpages)(struct file * , struct address_space * , struct list_head * ,
2731 unsigned int ) ;
2732 int (*write_begin)(struct file * , struct address_space * , loff_t , unsigned int ,
2733 unsigned int , struct page ** , void ** ) ;
2734 int (*write_end)(struct file * , struct address_space * , loff_t , unsigned int ,
2735 unsigned int , struct page * , void * ) ;
2736 sector_t (*bmap)(struct address_space * , sector_t ) ;
2737 void (*invalidatepage)(struct page * , unsigned long ) ;
2738 int (*releasepage)(struct page * , gfp_t ) ;
2739 void (*freepage)(struct page * ) ;
2740 ssize_t (*direct_IO)(int , struct kiocb * , struct iovec const * , loff_t ,
2741 unsigned long ) ;
2742 int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ;
2743 int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode ) ;
2744 int (*launder_page)(struct page * ) ;
2745 int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
2746 int (*error_remove_page)(struct address_space * , struct page * ) ;
2747};
2748#line 642
2749struct backing_dev_info;
2750#line 642
2751struct backing_dev_info;
2752#line 643 "include/linux/fs.h"
2753struct address_space {
2754 struct inode *host ;
2755 struct radix_tree_root page_tree ;
2756 spinlock_t tree_lock ;
2757 unsigned int i_mmap_writable ;
2758 struct prio_tree_root i_mmap ;
2759 struct list_head i_mmap_nonlinear ;
2760 struct mutex i_mmap_mutex ;
2761 unsigned long nrpages ;
2762 unsigned long writeback_index ;
2763 struct address_space_operations const *a_ops ;
2764 unsigned long flags ;
2765 struct backing_dev_info *backing_dev_info ;
2766 spinlock_t private_lock ;
2767 struct list_head private_list ;
2768 struct address_space *assoc_mapping ;
2769};
2770#line 664
2771struct request_queue;
2772#line 664
2773struct request_queue;
2774#line 665
2775struct hd_struct;
2776#line 665
2777struct gendisk;
2778#line 665 "include/linux/fs.h"
2779struct block_device {
2780 dev_t bd_dev ;
2781 int bd_openers ;
2782 struct inode *bd_inode ;
2783 struct super_block *bd_super ;
2784 struct mutex bd_mutex ;
2785 struct list_head bd_inodes ;
2786 void *bd_claiming ;
2787 void *bd_holder ;
2788 int bd_holders ;
2789 bool bd_write_holder ;
2790 struct list_head bd_holder_disks ;
2791 struct block_device *bd_contains ;
2792 unsigned int bd_block_size ;
2793 struct hd_struct *bd_part ;
2794 unsigned int bd_part_count ;
2795 int bd_invalidated ;
2796 struct gendisk *bd_disk ;
2797 struct request_queue *bd_queue ;
2798 struct list_head bd_list ;
2799 unsigned long bd_private ;
2800 int bd_fsfreeze_count ;
2801 struct mutex bd_fsfreeze_mutex ;
2802};
2803#line 737
2804struct posix_acl;
2805#line 737
2806struct posix_acl;
2807#line 738
2808struct inode_operations;
2809#line 738 "include/linux/fs.h"
2810union __anonunion_ldv_24134_201 {
2811 unsigned int const i_nlink ;
2812 unsigned int __i_nlink ;
2813};
2814#line 738 "include/linux/fs.h"
2815union __anonunion_ldv_24153_202 {
2816 struct list_head i_dentry ;
2817 struct rcu_head i_rcu ;
2818};
2819#line 738
2820struct file_lock;
2821#line 738
2822struct cdev;
2823#line 738 "include/linux/fs.h"
2824union __anonunion_ldv_24170_203 {
2825 struct pipe_inode_info *i_pipe ;
2826 struct block_device *i_bdev ;
2827 struct cdev *i_cdev ;
2828};
2829#line 738 "include/linux/fs.h"
2830struct inode {
2831 umode_t i_mode ;
2832 unsigned short i_opflags ;
2833 uid_t i_uid ;
2834 gid_t i_gid ;
2835 unsigned int i_flags ;
2836 struct posix_acl *i_acl ;
2837 struct posix_acl *i_default_acl ;
2838 struct inode_operations const *i_op ;
2839 struct super_block *i_sb ;
2840 struct address_space *i_mapping ;
2841 void *i_security ;
2842 unsigned long i_ino ;
2843 union __anonunion_ldv_24134_201 ldv_24134 ;
2844 dev_t i_rdev ;
2845 struct timespec i_atime ;
2846 struct timespec i_mtime ;
2847 struct timespec i_ctime ;
2848 spinlock_t i_lock ;
2849 unsigned short i_bytes ;
2850 blkcnt_t i_blocks ;
2851 loff_t i_size ;
2852 unsigned long i_state ;
2853 struct mutex i_mutex ;
2854 unsigned long dirtied_when ;
2855 struct hlist_node i_hash ;
2856 struct list_head i_wb_list ;
2857 struct list_head i_lru ;
2858 struct list_head i_sb_list ;
2859 union __anonunion_ldv_24153_202 ldv_24153 ;
2860 atomic_t i_count ;
2861 unsigned int i_blkbits ;
2862 u64 i_version ;
2863 atomic_t i_dio_count ;
2864 atomic_t i_writecount ;
2865 struct file_operations const *i_fop ;
2866 struct file_lock *i_flock ;
2867 struct address_space i_data ;
2868 struct dquot *i_dquot[2U] ;
2869 struct list_head i_devices ;
2870 union __anonunion_ldv_24170_203 ldv_24170 ;
2871 __u32 i_generation ;
2872 __u32 i_fsnotify_mask ;
2873 struct hlist_head i_fsnotify_marks ;
2874 atomic_t i_readcount ;
2875 void *i_private ;
2876};
2877#line 941 "include/linux/fs.h"
2878struct fown_struct {
2879 rwlock_t lock ;
2880 struct pid *pid ;
2881 enum pid_type pid_type ;
2882 uid_t uid ;
2883 uid_t euid ;
2884 int signum ;
2885};
2886#line 949 "include/linux/fs.h"
2887struct file_ra_state {
2888 unsigned long start ;
2889 unsigned int size ;
2890 unsigned int async_size ;
2891 unsigned int ra_pages ;
2892 unsigned int mmap_miss ;
2893 loff_t prev_pos ;
2894};
2895#line 972 "include/linux/fs.h"
2896union __anonunion_f_u_204 {
2897 struct list_head fu_list ;
2898 struct rcu_head fu_rcuhead ;
2899};
2900#line 972 "include/linux/fs.h"
2901struct file {
2902 union __anonunion_f_u_204 f_u ;
2903 struct path f_path ;
2904 struct file_operations const *f_op ;
2905 spinlock_t f_lock ;
2906 int f_sb_list_cpu ;
2907 atomic_long_t f_count ;
2908 unsigned int f_flags ;
2909 fmode_t f_mode ;
2910 loff_t f_pos ;
2911 struct fown_struct f_owner ;
2912 struct cred const *f_cred ;
2913 struct file_ra_state f_ra ;
2914 u64 f_version ;
2915 void *f_security ;
2916 void *private_data ;
2917 struct list_head f_ep_links ;
2918 struct list_head f_tfile_llink ;
2919 struct address_space *f_mapping ;
2920 unsigned long f_mnt_write_state ;
2921};
2922#line 1111
2923struct files_struct;
2924#line 1111 "include/linux/fs.h"
2925typedef struct files_struct *fl_owner_t;
2926#line 1112 "include/linux/fs.h"
2927struct file_lock_operations {
2928 void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
2929 void (*fl_release_private)(struct file_lock * ) ;
2930};
2931#line 1117 "include/linux/fs.h"
2932struct lock_manager_operations {
2933 int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
2934 void (*lm_notify)(struct file_lock * ) ;
2935 int (*lm_grant)(struct file_lock * , struct file_lock * , int ) ;
2936 void (*lm_release_private)(struct file_lock * ) ;
2937 void (*lm_break)(struct file_lock * ) ;
2938 int (*lm_change)(struct file_lock ** , int ) ;
2939};
2940#line 1134
2941struct nlm_lockowner;
2942#line 1134
2943struct nlm_lockowner;
2944#line 1135 "include/linux/fs.h"
2945struct nfs_lock_info {
2946 u32 state ;
2947 struct nlm_lockowner *owner ;
2948 struct list_head list ;
2949};
2950#line 14 "include/linux/nfs_fs_i.h"
2951struct nfs4_lock_state;
2952#line 14
2953struct nfs4_lock_state;
2954#line 15 "include/linux/nfs_fs_i.h"
2955struct nfs4_lock_info {
2956 struct nfs4_lock_state *owner ;
2957};
2958#line 19 "include/linux/nfs_fs_i.h"
2959struct __anonstruct_afs_206 {
2960 struct list_head link ;
2961 int state ;
2962};
2963#line 19 "include/linux/nfs_fs_i.h"
2964union __anonunion_fl_u_205 {
2965 struct nfs_lock_info nfs_fl ;
2966 struct nfs4_lock_info nfs4_fl ;
2967 struct __anonstruct_afs_206 afs ;
2968};
2969#line 19 "include/linux/nfs_fs_i.h"
2970struct file_lock {
2971 struct file_lock *fl_next ;
2972 struct list_head fl_link ;
2973 struct list_head fl_block ;
2974 fl_owner_t fl_owner ;
2975 unsigned int fl_flags ;
2976 unsigned char fl_type ;
2977 unsigned int fl_pid ;
2978 struct pid *fl_nspid ;
2979 wait_queue_head_t fl_wait ;
2980 struct file *fl_file ;
2981 loff_t fl_start ;
2982 loff_t fl_end ;
2983 struct fasync_struct *fl_fasync ;
2984 unsigned long fl_break_time ;
2985 unsigned long fl_downgrade_time ;
2986 struct file_lock_operations const *fl_ops ;
2987 struct lock_manager_operations const *fl_lmops ;
2988 union __anonunion_fl_u_205 fl_u ;
2989};
2990#line 1221 "include/linux/fs.h"
2991struct fasync_struct {
2992 spinlock_t fa_lock ;
2993 int magic ;
2994 int fa_fd ;
2995 struct fasync_struct *fa_next ;
2996 struct file *fa_file ;
2997 struct rcu_head fa_rcu ;
2998};
2999#line 1417
3000struct file_system_type;
3001#line 1417
3002struct super_operations;
3003#line 1417
3004struct xattr_handler;
3005#line 1417
3006struct mtd_info;
3007#line 1417 "include/linux/fs.h"
3008struct super_block {
3009 struct list_head s_list ;
3010 dev_t s_dev ;
3011 unsigned char s_dirt ;
3012 unsigned char s_blocksize_bits ;
3013 unsigned long s_blocksize ;
3014 loff_t s_maxbytes ;
3015 struct file_system_type *s_type ;
3016 struct super_operations const *s_op ;
3017 struct dquot_operations const *dq_op ;
3018 struct quotactl_ops const *s_qcop ;
3019 struct export_operations const *s_export_op ;
3020 unsigned long s_flags ;
3021 unsigned long s_magic ;
3022 struct dentry *s_root ;
3023 struct rw_semaphore s_umount ;
3024 struct mutex s_lock ;
3025 int s_count ;
3026 atomic_t s_active ;
3027 void *s_security ;
3028 struct xattr_handler const **s_xattr ;
3029 struct list_head s_inodes ;
3030 struct hlist_bl_head s_anon ;
3031 struct list_head *s_files ;
3032 struct list_head s_mounts ;
3033 struct list_head s_dentry_lru ;
3034 int s_nr_dentry_unused ;
3035 spinlock_t s_inode_lru_lock ;
3036 struct list_head s_inode_lru ;
3037 int s_nr_inodes_unused ;
3038 struct block_device *s_bdev ;
3039 struct backing_dev_info *s_bdi ;
3040 struct mtd_info *s_mtd ;
3041 struct hlist_node s_instances ;
3042 struct quota_info s_dquot ;
3043 int s_frozen ;
3044 wait_queue_head_t s_wait_unfrozen ;
3045 char s_id[32U] ;
3046 u8 s_uuid[16U] ;
3047 void *s_fs_info ;
3048 unsigned int s_max_links ;
3049 fmode_t s_mode ;
3050 u32 s_time_gran ;
3051 struct mutex s_vfs_rename_mutex ;
3052 char *s_subtype ;
3053 char *s_options ;
3054 struct dentry_operations const *s_d_op ;
3055 int cleancache_poolid ;
3056 struct shrinker s_shrink ;
3057 atomic_long_t s_remove_count ;
3058 int s_readonly_remount ;
3059};
3060#line 1563 "include/linux/fs.h"
3061struct fiemap_extent_info {
3062 unsigned int fi_flags ;
3063 unsigned int fi_extents_mapped ;
3064 unsigned int fi_extents_max ;
3065 struct fiemap_extent *fi_extents_start ;
3066};
3067#line 1602 "include/linux/fs.h"
3068struct file_operations {
3069 struct module *owner ;
3070 loff_t (*llseek)(struct file * , loff_t , int ) ;
3071 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
3072 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
3073 ssize_t (*aio_read)(struct kiocb * , struct iovec const * , unsigned long ,
3074 loff_t ) ;
3075 ssize_t (*aio_write)(struct kiocb * , struct iovec const * , unsigned long ,
3076 loff_t ) ;
3077 int (*readdir)(struct file * , void * , int (*)(void * , char const * , int ,
3078 loff_t , u64 , unsigned int ) ) ;
3079 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
3080 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
3081 long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ;
3082 int (*mmap)(struct file * , struct vm_area_struct * ) ;
3083 int (*open)(struct inode * , struct file * ) ;
3084 int (*flush)(struct file * , fl_owner_t ) ;
3085 int (*release)(struct inode * , struct file * ) ;
3086 int (*fsync)(struct file * , loff_t , loff_t , int ) ;
3087 int (*aio_fsync)(struct kiocb * , int ) ;
3088 int (*fasync)(int , struct file * , int ) ;
3089 int (*lock)(struct file * , int , struct file_lock * ) ;
3090 ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * ,
3091 int ) ;
3092 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
3093 unsigned long , unsigned long ) ;
3094 int (*check_flags)(int ) ;
3095 int (*flock)(struct file * , int , struct file_lock * ) ;
3096 ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t ,
3097 unsigned int ) ;
3098 ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t ,
3099 unsigned int ) ;
3100 int (*setlease)(struct file * , long , struct file_lock ** ) ;
3101 long (*fallocate)(struct file * , int , loff_t , loff_t ) ;
3102};
3103#line 1637 "include/linux/fs.h"
3104struct inode_operations {
3105 struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
3106 void *(*follow_link)(struct dentry * , struct nameidata * ) ;
3107 int (*permission)(struct inode * , int ) ;
3108 struct posix_acl *(*get_acl)(struct inode * , int ) ;
3109 int (*readlink)(struct dentry * , char * , int ) ;
3110 void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
3111 int (*create)(struct inode * , struct dentry * , umode_t , struct nameidata * ) ;
3112 int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
3113 int (*unlink)(struct inode * , struct dentry * ) ;
3114 int (*symlink)(struct inode * , struct dentry * , char const * ) ;
3115 int (*mkdir)(struct inode * , struct dentry * , umode_t ) ;
3116 int (*rmdir)(struct inode * , struct dentry * ) ;
3117 int (*mknod)(struct inode * , struct dentry * , umode_t , dev_t ) ;
3118 int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
3119 void (*truncate)(struct inode * ) ;
3120 int (*setattr)(struct dentry * , struct iattr * ) ;
3121 int (*getattr)(struct vfsmount * , struct dentry * , struct kstat * ) ;
3122 int (*setxattr)(struct dentry * , char const * , void const * , size_t , int ) ;
3123 ssize_t (*getxattr)(struct dentry * , char const * , void * , size_t ) ;
3124 ssize_t (*listxattr)(struct dentry * , char * , size_t ) ;
3125 int (*removexattr)(struct dentry * , char const * ) ;
3126 void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
3127 int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 , u64 ) ;
3128};
3129#line 1682 "include/linux/fs.h"
3130struct super_operations {
3131 struct inode *(*alloc_inode)(struct super_block * ) ;
3132 void (*destroy_inode)(struct inode * ) ;
3133 void (*dirty_inode)(struct inode * , int ) ;
3134 int (*write_inode)(struct inode * , struct writeback_control * ) ;
3135 int (*drop_inode)(struct inode * ) ;
3136 void (*evict_inode)(struct inode * ) ;
3137 void (*put_super)(struct super_block * ) ;
3138 void (*write_super)(struct super_block * ) ;
3139 int (*sync_fs)(struct super_block * , int ) ;
3140 int (*freeze_fs)(struct super_block * ) ;
3141 int (*unfreeze_fs)(struct super_block * ) ;
3142 int (*statfs)(struct dentry * , struct kstatfs * ) ;
3143 int (*remount_fs)(struct super_block * , int * , char * ) ;
3144 void (*umount_begin)(struct super_block * ) ;
3145 int (*show_options)(struct seq_file * , struct dentry * ) ;
3146 int (*show_devname)(struct seq_file * , struct dentry * ) ;
3147 int (*show_path)(struct seq_file * , struct dentry * ) ;
3148 int (*show_stats)(struct seq_file * , struct dentry * ) ;
3149 ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ;
3150 ssize_t (*quota_write)(struct super_block * , int , char const * , size_t ,
3151 loff_t ) ;
3152 int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
3153 int (*nr_cached_objects)(struct super_block * ) ;
3154 void (*free_cached_objects)(struct super_block * , int ) ;
3155};
3156#line 1834 "include/linux/fs.h"
3157struct file_system_type {
3158 char const *name ;
3159 int fs_flags ;
3160 struct dentry *(*mount)(struct file_system_type * , int , char const * , void * ) ;
3161 void (*kill_sb)(struct super_block * ) ;
3162 struct module *owner ;
3163 struct file_system_type *next ;
3164 struct hlist_head fs_supers ;
3165 struct lock_class_key s_lock_key ;
3166 struct lock_class_key s_umount_key ;
3167 struct lock_class_key s_vfs_rename_key ;
3168 struct lock_class_key i_lock_key ;
3169 struct lock_class_key i_mutex_key ;
3170 struct lock_class_key i_mutex_dir_key ;
3171};
3172#line 44 "include/linux/aio_abi.h"
3173struct io_event {
3174 __u64 data ;
3175 __u64 obj ;
3176 __s64 res ;
3177 __s64 res2 ;
3178};
3179#line 7 "include/asm-generic/cputime.h"
3180typedef unsigned long cputime_t;
3181#line 15
3182struct siginfo;
3183#line 15
3184struct siginfo;
3185#line 32 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3186struct __anonstruct_sigset_t_207 {
3187 unsigned long sig[1U] ;
3188};
3189#line 32 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3190typedef struct __anonstruct_sigset_t_207 sigset_t;
3191#line 17 "include/asm-generic/signal-defs.h"
3192typedef void __signalfn_t(int );
3193#line 18 "include/asm-generic/signal-defs.h"
3194typedef __signalfn_t *__sighandler_t;
3195#line 20 "include/asm-generic/signal-defs.h"
3196typedef void __restorefn_t(void);
3197#line 21 "include/asm-generic/signal-defs.h"
3198typedef __restorefn_t *__sigrestore_t;
3199#line 126 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3200struct sigaction {
3201 __sighandler_t sa_handler ;
3202 unsigned long sa_flags ;
3203 __sigrestore_t sa_restorer ;
3204 sigset_t sa_mask ;
3205};
3206#line 173 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3207struct k_sigaction {
3208 struct sigaction sa ;
3209};
3210#line 185 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
3211union sigval {
3212 int sival_int ;
3213 void *sival_ptr ;
3214};
3215#line 10 "include/asm-generic/siginfo.h"
3216typedef union sigval sigval_t;
3217#line 11 "include/asm-generic/siginfo.h"
3218struct __anonstruct__kill_209 {
3219 __kernel_pid_t _pid ;
3220 __kernel_uid32_t _uid ;
3221};
3222#line 11 "include/asm-generic/siginfo.h"
3223struct __anonstruct__timer_210 {
3224 __kernel_timer_t _tid ;
3225 int _overrun ;
3226 char _pad[0U] ;
3227 sigval_t _sigval ;
3228 int _sys_private ;
3229};
3230#line 11 "include/asm-generic/siginfo.h"
3231struct __anonstruct__rt_211 {
3232 __kernel_pid_t _pid ;
3233 __kernel_uid32_t _uid ;
3234 sigval_t _sigval ;
3235};
3236#line 11 "include/asm-generic/siginfo.h"
3237struct __anonstruct__sigchld_212 {
3238 __kernel_pid_t _pid ;
3239 __kernel_uid32_t _uid ;
3240 int _status ;
3241 __kernel_clock_t _utime ;
3242 __kernel_clock_t _stime ;
3243};
3244#line 11 "include/asm-generic/siginfo.h"
3245struct __anonstruct__sigfault_213 {
3246 void *_addr ;
3247 short _addr_lsb ;
3248};
3249#line 11 "include/asm-generic/siginfo.h"
3250struct __anonstruct__sigpoll_214 {
3251 long _band ;
3252 int _fd ;
3253};
3254#line 11 "include/asm-generic/siginfo.h"
3255union __anonunion__sifields_208 {
3256 int _pad[28U] ;
3257 struct __anonstruct__kill_209 _kill ;
3258 struct __anonstruct__timer_210 _timer ;
3259 struct __anonstruct__rt_211 _rt ;
3260 struct __anonstruct__sigchld_212 _sigchld ;
3261 struct __anonstruct__sigfault_213 _sigfault ;
3262 struct __anonstruct__sigpoll_214 _sigpoll ;
3263};
3264#line 11 "include/asm-generic/siginfo.h"
3265struct siginfo {
3266 int si_signo ;
3267 int si_errno ;
3268 int si_code ;
3269 union __anonunion__sifields_208 _sifields ;
3270};
3271#line 102 "include/asm-generic/siginfo.h"
3272typedef struct siginfo siginfo_t;
3273#line 24 "include/linux/signal.h"
3274struct sigpending {
3275 struct list_head list ;
3276 sigset_t signal ;
3277};
3278#line 10 "include/linux/seccomp.h"
3279struct __anonstruct_seccomp_t_217 {
3280 int mode ;
3281};
3282#line 10 "include/linux/seccomp.h"
3283typedef struct __anonstruct_seccomp_t_217 seccomp_t;
3284#line 38 "include/linux/rtmutex.h"
3285struct rt_mutex_waiter;
3286#line 38
3287struct rt_mutex_waiter;
3288#line 41 "include/linux/resource.h"
3289struct rlimit {
3290 unsigned long rlim_cur ;
3291 unsigned long rlim_max ;
3292};
3293#line 85 "include/linux/resource.h"
3294struct task_io_accounting {
3295 u64 rchar ;
3296 u64 wchar ;
3297 u64 syscr ;
3298 u64 syscw ;
3299 u64 read_bytes ;
3300 u64 write_bytes ;
3301 u64 cancelled_write_bytes ;
3302};
3303#line 45 "include/linux/task_io_accounting.h"
3304struct latency_record {
3305 unsigned long backtrace[12U] ;
3306 unsigned int count ;
3307 unsigned long time ;
3308 unsigned long max ;
3309};
3310#line 29 "include/linux/key.h"
3311typedef int32_t key_serial_t;
3312#line 32 "include/linux/key.h"
3313typedef uint32_t key_perm_t;
3314#line 33
3315struct key;
3316#line 33
3317struct key;
3318#line 34
3319struct signal_struct;
3320#line 34
3321struct signal_struct;
3322#line 35
3323struct key_type;
3324#line 35
3325struct key_type;
3326#line 37
3327struct keyring_list;
3328#line 37
3329struct keyring_list;
3330#line 115
3331struct key_user;
3332#line 115 "include/linux/key.h"
3333union __anonunion_ldv_26617_218 {
3334 time_t expiry ;
3335 time_t revoked_at ;
3336};
3337#line 115 "include/linux/key.h"
3338union __anonunion_type_data_219 {
3339 struct list_head link ;
3340 unsigned long x[2U] ;
3341 void *p[2U] ;
3342 int reject_error ;
3343};
3344#line 115 "include/linux/key.h"
3345union __anonunion_payload_220 {
3346 unsigned long value ;
3347 void *rcudata ;
3348 void *data ;
3349 struct keyring_list *subscriptions ;
3350};
3351#line 115 "include/linux/key.h"
3352struct key {
3353 atomic_t usage ;
3354 key_serial_t serial ;
3355 struct rb_node serial_node ;
3356 struct key_type *type ;
3357 struct rw_semaphore sem ;
3358 struct key_user *user ;
3359 void *security ;
3360 union __anonunion_ldv_26617_218 ldv_26617 ;
3361 uid_t uid ;
3362 gid_t gid ;
3363 key_perm_t perm ;
3364 unsigned short quotalen ;
3365 unsigned short datalen ;
3366 unsigned long flags ;
3367 char *description ;
3368 union __anonunion_type_data_219 type_data ;
3369 union __anonunion_payload_220 payload ;
3370};
3371#line 316
3372struct audit_context;
3373#line 316
3374struct audit_context;
3375#line 27 "include/linux/selinux.h"
3376struct group_info {
3377 atomic_t usage ;
3378 int ngroups ;
3379 int nblocks ;
3380 gid_t small_block[32U] ;
3381 gid_t *blocks[0U] ;
3382};
3383#line 77 "include/linux/cred.h"
3384struct thread_group_cred {
3385 atomic_t usage ;
3386 pid_t tgid ;
3387 spinlock_t lock ;
3388 struct key *session_keyring ;
3389 struct key *process_keyring ;
3390 struct rcu_head rcu ;
3391};
3392#line 91 "include/linux/cred.h"
3393struct cred {
3394 atomic_t usage ;
3395 atomic_t subscribers ;
3396 void *put_addr ;
3397 unsigned int magic ;
3398 uid_t uid ;
3399 gid_t gid ;
3400 uid_t suid ;
3401 gid_t sgid ;
3402 uid_t euid ;
3403 gid_t egid ;
3404 uid_t fsuid ;
3405 gid_t fsgid ;
3406 unsigned int securebits ;
3407 kernel_cap_t cap_inheritable ;
3408 kernel_cap_t cap_permitted ;
3409 kernel_cap_t cap_effective ;
3410 kernel_cap_t cap_bset ;
3411 unsigned char jit_keyring ;
3412 struct key *thread_keyring ;
3413 struct key *request_key_auth ;
3414 struct thread_group_cred *tgcred ;
3415 void *security ;
3416 struct user_struct *user ;
3417 struct user_namespace *user_ns ;
3418 struct group_info *group_info ;
3419 struct rcu_head rcu ;
3420};
3421#line 264
3422struct llist_node;
3423#line 64 "include/linux/llist.h"
3424struct llist_node {
3425 struct llist_node *next ;
3426};
3427#line 185
3428struct futex_pi_state;
3429#line 185
3430struct futex_pi_state;
3431#line 186
3432struct robust_list_head;
3433#line 186
3434struct robust_list_head;
3435#line 187
3436struct bio_list;
3437#line 187
3438struct bio_list;
3439#line 188
3440struct fs_struct;
3441#line 188
3442struct fs_struct;
3443#line 189
3444struct perf_event_context;
3445#line 189
3446struct perf_event_context;
3447#line 190
3448struct blk_plug;
3449#line 190
3450struct blk_plug;
3451#line 149 "include/linux/sched.h"
3452struct cfs_rq;
3453#line 149
3454struct cfs_rq;
3455#line 385
3456struct kioctx;
3457#line 385
3458struct kioctx;
3459#line 386 "include/linux/sched.h"
3460union __anonunion_ki_obj_221 {
3461 void *user ;
3462 struct task_struct *tsk ;
3463};
3464#line 386
3465struct eventfd_ctx;
3466#line 386 "include/linux/sched.h"
3467struct kiocb {
3468 struct list_head ki_run_list ;
3469 unsigned long ki_flags ;
3470 int ki_users ;
3471 unsigned int ki_key ;
3472 struct file *ki_filp ;
3473 struct kioctx *ki_ctx ;
3474 int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
3475 ssize_t (*ki_retry)(struct kiocb * ) ;
3476 void (*ki_dtor)(struct kiocb * ) ;
3477 union __anonunion_ki_obj_221 ki_obj ;
3478 __u64 ki_user_data ;
3479 loff_t ki_pos ;
3480 void *private ;
3481 unsigned short ki_opcode ;
3482 size_t ki_nbytes ;
3483 char *ki_buf ;
3484 size_t ki_left ;
3485 struct iovec ki_inline_vec ;
3486 struct iovec *ki_iovec ;
3487 unsigned long ki_nr_segs ;
3488 unsigned long ki_cur_seg ;
3489 struct list_head ki_list ;
3490 struct list_head ki_batch ;
3491 struct eventfd_ctx *ki_eventfd ;
3492};
3493#line 162 "include/linux/aio.h"
3494struct aio_ring_info {
3495 unsigned long mmap_base ;
3496 unsigned long mmap_size ;
3497 struct page **ring_pages ;
3498 spinlock_t ring_lock ;
3499 long nr_pages ;
3500 unsigned int nr ;
3501 unsigned int tail ;
3502 struct page *internal_pages[8U] ;
3503};
3504#line 178 "include/linux/aio.h"
3505struct kioctx {
3506 atomic_t users ;
3507 int dead ;
3508 struct mm_struct *mm ;
3509 unsigned long user_id ;
3510 struct hlist_node list ;
3511 wait_queue_head_t wait ;
3512 spinlock_t ctx_lock ;
3513 int reqs_active ;
3514 struct list_head active_reqs ;
3515 struct list_head run_list ;
3516 unsigned int max_reqs ;
3517 struct aio_ring_info ring_info ;
3518 struct delayed_work wq ;
3519 struct rcu_head rcu_head ;
3520};
3521#line 406 "include/linux/sched.h"
3522struct sighand_struct {
3523 atomic_t count ;
3524 struct k_sigaction action[64U] ;
3525 spinlock_t siglock ;
3526 wait_queue_head_t signalfd_wqh ;
3527};
3528#line 449 "include/linux/sched.h"
3529struct pacct_struct {
3530 int ac_flag ;
3531 long ac_exitcode ;
3532 unsigned long ac_mem ;
3533 cputime_t ac_utime ;
3534 cputime_t ac_stime ;
3535 unsigned long ac_minflt ;
3536 unsigned long ac_majflt ;
3537};
3538#line 457 "include/linux/sched.h"
3539struct cpu_itimer {
3540 cputime_t expires ;
3541 cputime_t incr ;
3542 u32 error ;
3543 u32 incr_error ;
3544};
3545#line 464 "include/linux/sched.h"
3546struct task_cputime {
3547 cputime_t utime ;
3548 cputime_t stime ;
3549 unsigned long long sum_exec_runtime ;
3550};
3551#line 481 "include/linux/sched.h"
3552struct thread_group_cputimer {
3553 struct task_cputime cputime ;
3554 int running ;
3555 raw_spinlock_t lock ;
3556};
3557#line 517
3558struct autogroup;
3559#line 517
3560struct autogroup;
3561#line 518
3562struct tty_struct;
3563#line 518
3564struct taskstats;
3565#line 518
3566struct tty_audit_buf;
3567#line 518 "include/linux/sched.h"
3568struct signal_struct {
3569 atomic_t sigcnt ;
3570 atomic_t live ;
3571 int nr_threads ;
3572 wait_queue_head_t wait_chldexit ;
3573 struct task_struct *curr_target ;
3574 struct sigpending shared_pending ;
3575 int group_exit_code ;
3576 int notify_count ;
3577 struct task_struct *group_exit_task ;
3578 int group_stop_count ;
3579 unsigned int flags ;
3580 unsigned char is_child_subreaper : 1 ;
3581 unsigned char has_child_subreaper : 1 ;
3582 struct list_head posix_timers ;
3583 struct hrtimer real_timer ;
3584 struct pid *leader_pid ;
3585 ktime_t it_real_incr ;
3586 struct cpu_itimer it[2U] ;
3587 struct thread_group_cputimer cputimer ;
3588 struct task_cputime cputime_expires ;
3589 struct list_head cpu_timers[3U] ;
3590 struct pid *tty_old_pgrp ;
3591 int leader ;
3592 struct tty_struct *tty ;
3593 struct autogroup *autogroup ;
3594 cputime_t utime ;
3595 cputime_t stime ;
3596 cputime_t cutime ;
3597 cputime_t cstime ;
3598 cputime_t gtime ;
3599 cputime_t cgtime ;
3600 cputime_t prev_utime ;
3601 cputime_t prev_stime ;
3602 unsigned long nvcsw ;
3603 unsigned long nivcsw ;
3604 unsigned long cnvcsw ;
3605 unsigned long cnivcsw ;
3606 unsigned long min_flt ;
3607 unsigned long maj_flt ;
3608 unsigned long cmin_flt ;
3609 unsigned long cmaj_flt ;
3610 unsigned long inblock ;
3611 unsigned long oublock ;
3612 unsigned long cinblock ;
3613 unsigned long coublock ;
3614 unsigned long maxrss ;
3615 unsigned long cmaxrss ;
3616 struct task_io_accounting ioac ;
3617 unsigned long long sum_sched_runtime ;
3618 struct rlimit rlim[16U] ;
3619 struct pacct_struct pacct ;
3620 struct taskstats *stats ;
3621 unsigned int audit_tty ;
3622 struct tty_audit_buf *tty_audit_buf ;
3623 struct rw_semaphore group_rwsem ;
3624 int oom_adj ;
3625 int oom_score_adj ;
3626 int oom_score_adj_min ;
3627 struct mutex cred_guard_mutex ;
3628};
3629#line 699 "include/linux/sched.h"
3630struct user_struct {
3631 atomic_t __count ;
3632 atomic_t processes ;
3633 atomic_t files ;
3634 atomic_t sigpending ;
3635 atomic_t inotify_watches ;
3636 atomic_t inotify_devs ;
3637 atomic_t fanotify_listeners ;
3638 atomic_long_t epoll_watches ;
3639 unsigned long mq_bytes ;
3640 unsigned long locked_shm ;
3641 struct key *uid_keyring ;
3642 struct key *session_keyring ;
3643 struct hlist_node uidhash_node ;
3644 uid_t uid ;
3645 struct user_namespace *user_ns ;
3646 atomic_long_t locked_vm ;
3647};
3648#line 744
3649struct reclaim_state;
3650#line 744
3651struct reclaim_state;
3652#line 745 "include/linux/sched.h"
3653struct sched_info {
3654 unsigned long pcount ;
3655 unsigned long long run_delay ;
3656 unsigned long long last_arrival ;
3657 unsigned long long last_queued ;
3658};
3659#line 760 "include/linux/sched.h"
3660struct task_delay_info {
3661 spinlock_t lock ;
3662 unsigned int flags ;
3663 struct timespec blkio_start ;
3664 struct timespec blkio_end ;
3665 u64 blkio_delay ;
3666 u64 swapin_delay ;
3667 u32 blkio_count ;
3668 u32 swapin_count ;
3669 struct timespec freepages_start ;
3670 struct timespec freepages_end ;
3671 u64 freepages_delay ;
3672 u32 freepages_count ;
3673};
3674#line 1069
3675struct io_context;
3676#line 1069
3677struct io_context;
3678#line 1098
3679struct rq;
3680#line 1098
3681struct rq;
3682#line 1099 "include/linux/sched.h"
3683struct sched_class {
3684 struct sched_class const *next ;
3685 void (*enqueue_task)(struct rq * , struct task_struct * , int ) ;
3686 void (*dequeue_task)(struct rq * , struct task_struct * , int ) ;
3687 void (*yield_task)(struct rq * ) ;
3688 bool (*yield_to_task)(struct rq * , struct task_struct * , bool ) ;
3689 void (*check_preempt_curr)(struct rq * , struct task_struct * , int ) ;
3690 struct task_struct *(*pick_next_task)(struct rq * ) ;
3691 void (*put_prev_task)(struct rq * , struct task_struct * ) ;
3692 int (*select_task_rq)(struct task_struct * , int , int ) ;
3693 void (*pre_schedule)(struct rq * , struct task_struct * ) ;
3694 void (*post_schedule)(struct rq * ) ;
3695 void (*task_waking)(struct task_struct * ) ;
3696 void (*task_woken)(struct rq * , struct task_struct * ) ;
3697 void (*set_cpus_allowed)(struct task_struct * , struct cpumask const * ) ;
3698 void (*rq_online)(struct rq * ) ;
3699 void (*rq_offline)(struct rq * ) ;
3700 void (*set_curr_task)(struct rq * ) ;
3701 void (*task_tick)(struct rq * , struct task_struct * , int ) ;
3702 void (*task_fork)(struct task_struct * ) ;
3703 void (*switched_from)(struct rq * , struct task_struct * ) ;
3704 void (*switched_to)(struct rq * , struct task_struct * ) ;
3705 void (*prio_changed)(struct rq * , struct task_struct * , int ) ;
3706 unsigned int (*get_rr_interval)(struct rq * , struct task_struct * ) ;
3707 void (*task_move_group)(struct task_struct * , int ) ;
3708};
3709#line 1165 "include/linux/sched.h"
3710struct load_weight {
3711 unsigned long weight ;
3712 unsigned long inv_weight ;
3713};
3714#line 1170 "include/linux/sched.h"
3715struct sched_statistics {
3716 u64 wait_start ;
3717 u64 wait_max ;
3718 u64 wait_count ;
3719 u64 wait_sum ;
3720 u64 iowait_count ;
3721 u64 iowait_sum ;
3722 u64 sleep_start ;
3723 u64 sleep_max ;
3724 s64 sum_sleep_runtime ;
3725 u64 block_start ;
3726 u64 block_max ;
3727 u64 exec_max ;
3728 u64 slice_max ;
3729 u64 nr_migrations_cold ;
3730 u64 nr_failed_migrations_affine ;
3731 u64 nr_failed_migrations_running ;
3732 u64 nr_failed_migrations_hot ;
3733 u64 nr_forced_migrations ;
3734 u64 nr_wakeups ;
3735 u64 nr_wakeups_sync ;
3736 u64 nr_wakeups_migrate ;
3737 u64 nr_wakeups_local ;
3738 u64 nr_wakeups_remote ;
3739 u64 nr_wakeups_affine ;
3740 u64 nr_wakeups_affine_attempts ;
3741 u64 nr_wakeups_passive ;
3742 u64 nr_wakeups_idle ;
3743};
3744#line 1205 "include/linux/sched.h"
3745struct sched_entity {
3746 struct load_weight load ;
3747 struct rb_node run_node ;
3748 struct list_head group_node ;
3749 unsigned int on_rq ;
3750 u64 exec_start ;
3751 u64 sum_exec_runtime ;
3752 u64 vruntime ;
3753 u64 prev_sum_exec_runtime ;
3754 u64 nr_migrations ;
3755 struct sched_statistics statistics ;
3756 struct sched_entity *parent ;
3757 struct cfs_rq *cfs_rq ;
3758 struct cfs_rq *my_q ;
3759};
3760#line 1231
3761struct rt_rq;
3762#line 1231 "include/linux/sched.h"
3763struct sched_rt_entity {
3764 struct list_head run_list ;
3765 unsigned long timeout ;
3766 unsigned int time_slice ;
3767 int nr_cpus_allowed ;
3768 struct sched_rt_entity *back ;
3769 struct sched_rt_entity *parent ;
3770 struct rt_rq *rt_rq ;
3771 struct rt_rq *my_q ;
3772};
3773#line 1255
3774struct mem_cgroup;
3775#line 1255 "include/linux/sched.h"
3776struct memcg_batch_info {
3777 int do_batch ;
3778 struct mem_cgroup *memcg ;
3779 unsigned long nr_pages ;
3780 unsigned long memsw_nr_pages ;
3781};
3782#line 1616
3783struct css_set;
3784#line 1616
3785struct compat_robust_list_head;
3786#line 1616 "include/linux/sched.h"
3787struct task_struct {
3788 long volatile state ;
3789 void *stack ;
3790 atomic_t usage ;
3791 unsigned int flags ;
3792 unsigned int ptrace ;
3793 struct llist_node wake_entry ;
3794 int on_cpu ;
3795 int on_rq ;
3796 int prio ;
3797 int static_prio ;
3798 int normal_prio ;
3799 unsigned int rt_priority ;
3800 struct sched_class const *sched_class ;
3801 struct sched_entity se ;
3802 struct sched_rt_entity rt ;
3803 struct hlist_head preempt_notifiers ;
3804 unsigned char fpu_counter ;
3805 unsigned int policy ;
3806 cpumask_t cpus_allowed ;
3807 struct sched_info sched_info ;
3808 struct list_head tasks ;
3809 struct plist_node pushable_tasks ;
3810 struct mm_struct *mm ;
3811 struct mm_struct *active_mm ;
3812 unsigned char brk_randomized : 1 ;
3813 int exit_state ;
3814 int exit_code ;
3815 int exit_signal ;
3816 int pdeath_signal ;
3817 unsigned int jobctl ;
3818 unsigned int personality ;
3819 unsigned char did_exec : 1 ;
3820 unsigned char in_execve : 1 ;
3821 unsigned char in_iowait : 1 ;
3822 unsigned char sched_reset_on_fork : 1 ;
3823 unsigned char sched_contributes_to_load : 1 ;
3824 unsigned char irq_thread : 1 ;
3825 pid_t pid ;
3826 pid_t tgid ;
3827 unsigned long stack_canary ;
3828 struct task_struct *real_parent ;
3829 struct task_struct *parent ;
3830 struct list_head children ;
3831 struct list_head sibling ;
3832 struct task_struct *group_leader ;
3833 struct list_head ptraced ;
3834 struct list_head ptrace_entry ;
3835 struct pid_link pids[3U] ;
3836 struct list_head thread_group ;
3837 struct completion *vfork_done ;
3838 int *set_child_tid ;
3839 int *clear_child_tid ;
3840 cputime_t utime ;
3841 cputime_t stime ;
3842 cputime_t utimescaled ;
3843 cputime_t stimescaled ;
3844 cputime_t gtime ;
3845 cputime_t prev_utime ;
3846 cputime_t prev_stime ;
3847 unsigned long nvcsw ;
3848 unsigned long nivcsw ;
3849 struct timespec start_time ;
3850 struct timespec real_start_time ;
3851 unsigned long min_flt ;
3852 unsigned long maj_flt ;
3853 struct task_cputime cputime_expires ;
3854 struct list_head cpu_timers[3U] ;
3855 struct cred const *real_cred ;
3856 struct cred const *cred ;
3857 struct cred *replacement_session_keyring ;
3858 char comm[16U] ;
3859 int link_count ;
3860 int total_link_count ;
3861 struct sysv_sem sysvsem ;
3862 unsigned long last_switch_count ;
3863 struct thread_struct thread ;
3864 struct fs_struct *fs ;
3865 struct files_struct *files ;
3866 struct nsproxy *nsproxy ;
3867 struct signal_struct *signal ;
3868 struct sighand_struct *sighand ;
3869 sigset_t blocked ;
3870 sigset_t real_blocked ;
3871 sigset_t saved_sigmask ;
3872 struct sigpending pending ;
3873 unsigned long sas_ss_sp ;
3874 size_t sas_ss_size ;
3875 int (*notifier)(void * ) ;
3876 void *notifier_data ;
3877 sigset_t *notifier_mask ;
3878 struct audit_context *audit_context ;
3879 uid_t loginuid ;
3880 unsigned int sessionid ;
3881 seccomp_t seccomp ;
3882 u32 parent_exec_id ;
3883 u32 self_exec_id ;
3884 spinlock_t alloc_lock ;
3885 raw_spinlock_t pi_lock ;
3886 struct plist_head pi_waiters ;
3887 struct rt_mutex_waiter *pi_blocked_on ;
3888 struct mutex_waiter *blocked_on ;
3889 unsigned int irq_events ;
3890 unsigned long hardirq_enable_ip ;
3891 unsigned long hardirq_disable_ip ;
3892 unsigned int hardirq_enable_event ;
3893 unsigned int hardirq_disable_event ;
3894 int hardirqs_enabled ;
3895 int hardirq_context ;
3896 unsigned long softirq_disable_ip ;
3897 unsigned long softirq_enable_ip ;
3898 unsigned int softirq_disable_event ;
3899 unsigned int softirq_enable_event ;
3900 int softirqs_enabled ;
3901 int softirq_context ;
3902 u64 curr_chain_key ;
3903 int lockdep_depth ;
3904 unsigned int lockdep_recursion ;
3905 struct held_lock held_locks[48U] ;
3906 gfp_t lockdep_reclaim_gfp ;
3907 void *journal_info ;
3908 struct bio_list *bio_list ;
3909 struct blk_plug *plug ;
3910 struct reclaim_state *reclaim_state ;
3911 struct backing_dev_info *backing_dev_info ;
3912 struct io_context *io_context ;
3913 unsigned long ptrace_message ;
3914 siginfo_t *last_siginfo ;
3915 struct task_io_accounting ioac ;
3916 u64 acct_rss_mem1 ;
3917 u64 acct_vm_mem1 ;
3918 cputime_t acct_timexpd ;
3919 nodemask_t mems_allowed ;
3920 seqcount_t mems_allowed_seq ;
3921 int cpuset_mem_spread_rotor ;
3922 int cpuset_slab_spread_rotor ;
3923 struct css_set *cgroups ;
3924 struct list_head cg_list ;
3925 struct robust_list_head *robust_list ;
3926 struct compat_robust_list_head *compat_robust_list ;
3927 struct list_head pi_state_list ;
3928 struct futex_pi_state *pi_state_cache ;
3929 struct perf_event_context *perf_event_ctxp[2U] ;
3930 struct mutex perf_event_mutex ;
3931 struct list_head perf_event_list ;
3932 struct mempolicy *mempolicy ;
3933 short il_next ;
3934 short pref_node_fork ;
3935 struct rcu_head rcu ;
3936 struct pipe_inode_info *splice_pipe ;
3937 struct task_delay_info *delays ;
3938 int make_it_fail ;
3939 int nr_dirtied ;
3940 int nr_dirtied_pause ;
3941 unsigned long dirty_paused_when ;
3942 int latency_record_count ;
3943 struct latency_record latency_record[32U] ;
3944 unsigned long timer_slack_ns ;
3945 unsigned long default_timer_slack_ns ;
3946 struct list_head *scm_work_list ;
3947 unsigned long trace ;
3948 unsigned long trace_recursion ;
3949 struct memcg_batch_info memcg_batch ;
3950 atomic_t ptrace_bp_refcnt ;
3951};
3952#line 39 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/compat.h"
3953typedef s32 compat_long_t;
3954#line 212 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/compat.h"
3955typedef u32 compat_uptr_t;
3956#line 225 "include/linux/compat.h"
3957struct compat_robust_list {
3958 compat_uptr_t next ;
3959};
3960#line 229 "include/linux/compat.h"
3961struct compat_robust_list_head {
3962 struct compat_robust_list list ;
3963 compat_long_t futex_offset ;
3964 compat_uptr_t list_op_pending ;
3965};
3966#line 590 "include/linux/compat.h"
3967struct ethtool_cmd {
3968 __u32 cmd ;
3969 __u32 supported ;
3970 __u32 advertising ;
3971 __u16 speed ;
3972 __u8 duplex ;
3973 __u8 port ;
3974 __u8 phy_address ;
3975 __u8 transceiver ;
3976 __u8 autoneg ;
3977 __u8 mdio_support ;
3978 __u32 maxtxpkt ;
3979 __u32 maxrxpkt ;
3980 __u16 speed_hi ;
3981 __u8 eth_tp_mdix ;
3982 __u8 reserved2 ;
3983 __u32 lp_advertising ;
3984 __u32 reserved[2U] ;
3985};
3986#line 66 "include/linux/ethtool.h"
3987struct ethtool_drvinfo {
3988 __u32 cmd ;
3989 char driver[32U] ;
3990 char version[32U] ;
3991 char fw_version[32U] ;
3992 char bus_info[32U] ;
3993 char reserved1[32U] ;
3994 char reserved2[12U] ;
3995 __u32 n_priv_flags ;
3996 __u32 n_stats ;
3997 __u32 testinfo_len ;
3998 __u32 eedump_len ;
3999 __u32 regdump_len ;
4000};
4001#line 106 "include/linux/ethtool.h"
4002struct ethtool_wolinfo {
4003 __u32 cmd ;
4004 __u32 supported ;
4005 __u32 wolopts ;
4006 __u8 sopass[6U] ;
4007};
4008#line 121 "include/linux/ethtool.h"
4009struct ethtool_regs {
4010 __u32 cmd ;
4011 __u32 version ;
4012 __u32 len ;
4013 __u8 data[0U] ;
4014};
4015#line 129 "include/linux/ethtool.h"
4016struct ethtool_eeprom {
4017 __u32 cmd ;
4018 __u32 magic ;
4019 __u32 offset ;
4020 __u32 len ;
4021 __u8 data[0U] ;
4022};
4023#line 138 "include/linux/ethtool.h"
4024struct ethtool_coalesce {
4025 __u32 cmd ;
4026 __u32 rx_coalesce_usecs ;
4027 __u32 rx_max_coalesced_frames ;
4028 __u32 rx_coalesce_usecs_irq ;
4029 __u32 rx_max_coalesced_frames_irq ;
4030 __u32 tx_coalesce_usecs ;
4031 __u32 tx_max_coalesced_frames ;
4032 __u32 tx_coalesce_usecs_irq ;
4033 __u32 tx_max_coalesced_frames_irq ;
4034 __u32 stats_block_coalesce_usecs ;
4035 __u32 use_adaptive_rx_coalesce ;
4036 __u32 use_adaptive_tx_coalesce ;
4037 __u32 pkt_rate_low ;
4038 __u32 rx_coalesce_usecs_low ;
4039 __u32 rx_max_coalesced_frames_low ;
4040 __u32 tx_coalesce_usecs_low ;
4041 __u32 tx_max_coalesced_frames_low ;
4042 __u32 pkt_rate_high ;
4043 __u32 rx_coalesce_usecs_high ;
4044 __u32 rx_max_coalesced_frames_high ;
4045 __u32 tx_coalesce_usecs_high ;
4046 __u32 tx_max_coalesced_frames_high ;
4047 __u32 rate_sample_interval ;
4048};
4049#line 236 "include/linux/ethtool.h"
4050struct ethtool_ringparam {
4051 __u32 cmd ;
4052 __u32 rx_max_pending ;
4053 __u32 rx_mini_max_pending ;
4054 __u32 rx_jumbo_max_pending ;
4055 __u32 tx_max_pending ;
4056 __u32 rx_pending ;
4057 __u32 rx_mini_pending ;
4058 __u32 rx_jumbo_pending ;
4059 __u32 tx_pending ;
4060};
4061#line 258 "include/linux/ethtool.h"
4062struct ethtool_channels {
4063 __u32 cmd ;
4064 __u32 max_rx ;
4065 __u32 max_tx ;
4066 __u32 max_other ;
4067 __u32 max_combined ;
4068 __u32 rx_count ;
4069 __u32 tx_count ;
4070 __u32 other_count ;
4071 __u32 combined_count ;
4072};
4073#line 286 "include/linux/ethtool.h"
4074struct ethtool_pauseparam {
4075 __u32 cmd ;
4076 __u32 autoneg ;
4077 __u32 rx_pause ;
4078 __u32 tx_pause ;
4079};
4080#line 337 "include/linux/ethtool.h"
4081struct ethtool_test {
4082 __u32 cmd ;
4083 __u32 flags ;
4084 __u32 reserved ;
4085 __u32 len ;
4086 __u64 data[0U] ;
4087};
4088#line 359 "include/linux/ethtool.h"
4089struct ethtool_stats {
4090 __u32 cmd ;
4091 __u32 n_stats ;
4092 __u64 data[0U] ;
4093};
4094#line 380 "include/linux/ethtool.h"
4095struct ethtool_tcpip4_spec {
4096 __be32 ip4src ;
4097 __be32 ip4dst ;
4098 __be16 psrc ;
4099 __be16 pdst ;
4100 __u8 tos ;
4101};
4102#line 413 "include/linux/ethtool.h"
4103struct ethtool_ah_espip4_spec {
4104 __be32 ip4src ;
4105 __be32 ip4dst ;
4106 __be32 spi ;
4107 __u8 tos ;
4108};
4109#line 429 "include/linux/ethtool.h"
4110struct ethtool_usrip4_spec {
4111 __be32 ip4src ;
4112 __be32 ip4dst ;
4113 __be32 l4_4_bytes ;
4114 __u8 tos ;
4115 __u8 ip_ver ;
4116 __u8 proto ;
4117};
4118#line 449 "include/linux/ethtool.h"
4119union ethtool_flow_union {
4120 struct ethtool_tcpip4_spec tcp_ip4_spec ;
4121 struct ethtool_tcpip4_spec udp_ip4_spec ;
4122 struct ethtool_tcpip4_spec sctp_ip4_spec ;
4123 struct ethtool_ah_espip4_spec ah_ip4_spec ;
4124 struct ethtool_ah_espip4_spec esp_ip4_spec ;
4125 struct ethtool_usrip4_spec usr_ip4_spec ;
4126 struct ethhdr ether_spec ;
4127 __u8 hdata[60U] ;
4128};
4129#line 460 "include/linux/ethtool.h"
4130struct ethtool_flow_ext {
4131 __be16 vlan_etype ;
4132 __be16 vlan_tci ;
4133 __be32 data[2U] ;
4134};
4135#line 466 "include/linux/ethtool.h"
4136struct ethtool_rx_flow_spec {
4137 __u32 flow_type ;
4138 union ethtool_flow_union h_u ;
4139 struct ethtool_flow_ext h_ext ;
4140 union ethtool_flow_union m_u ;
4141 struct ethtool_flow_ext m_ext ;
4142 __u64 ring_cookie ;
4143 __u32 location ;
4144};
4145#line 491 "include/linux/ethtool.h"
4146struct ethtool_rxnfc {
4147 __u32 cmd ;
4148 __u32 flow_type ;
4149 __u64 data ;
4150 struct ethtool_rx_flow_spec fs ;
4151 __u32 rule_cnt ;
4152 __u32 rule_locs[0U] ;
4153};
4154#line 649 "include/linux/ethtool.h"
4155struct ethtool_flash {
4156 __u32 cmd ;
4157 __u32 region ;
4158 char data[128U] ;
4159};
4160#line 657 "include/linux/ethtool.h"
4161struct ethtool_dump {
4162 __u32 cmd ;
4163 __u32 version ;
4164 __u32 flag ;
4165 __u32 len ;
4166 __u8 data[0U] ;
4167};
4168#line 769
4169enum ethtool_phys_id_state {
4170 ETHTOOL_ID_INACTIVE = 0,
4171 ETHTOOL_ID_ACTIVE = 1,
4172 ETHTOOL_ID_ON = 2,
4173 ETHTOOL_ID_OFF = 3
4174} ;
4175#line 803 "include/linux/ethtool.h"
4176struct ethtool_ops {
4177 int (*get_settings)(struct net_device * , struct ethtool_cmd * ) ;
4178 int (*set_settings)(struct net_device * , struct ethtool_cmd * ) ;
4179 void (*get_drvinfo)(struct net_device * , struct ethtool_drvinfo * ) ;
4180 int (*get_regs_len)(struct net_device * ) ;
4181 void (*get_regs)(struct net_device * , struct ethtool_regs * , void * ) ;
4182 void (*get_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4183 int (*set_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4184 u32 (*get_msglevel)(struct net_device * ) ;
4185 void (*set_msglevel)(struct net_device * , u32 ) ;
4186 int (*nway_reset)(struct net_device * ) ;
4187 u32 (*get_link)(struct net_device * ) ;
4188 int (*get_eeprom_len)(struct net_device * ) ;
4189 int (*get_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4190 int (*set_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4191 int (*get_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4192 int (*set_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4193 void (*get_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4194 int (*set_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4195 void (*get_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4196 int (*set_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4197 void (*self_test)(struct net_device * , struct ethtool_test * , u64 * ) ;
4198 void (*get_strings)(struct net_device * , u32 , u8 * ) ;
4199 int (*set_phys_id)(struct net_device * , enum ethtool_phys_id_state ) ;
4200 void (*get_ethtool_stats)(struct net_device * , struct ethtool_stats * , u64 * ) ;
4201 int (*begin)(struct net_device * ) ;
4202 void (*complete)(struct net_device * ) ;
4203 u32 (*get_priv_flags)(struct net_device * ) ;
4204 int (*set_priv_flags)(struct net_device * , u32 ) ;
4205 int (*get_sset_count)(struct net_device * , int ) ;
4206 int (*get_rxnfc)(struct net_device * , struct ethtool_rxnfc * , u32 * ) ;
4207 int (*set_rxnfc)(struct net_device * , struct ethtool_rxnfc * ) ;
4208 int (*flash_device)(struct net_device * , struct ethtool_flash * ) ;
4209 int (*reset)(struct net_device * , u32 * ) ;
4210 u32 (*get_rxfh_indir_size)(struct net_device * ) ;
4211 int (*get_rxfh_indir)(struct net_device * , u32 * ) ;
4212 int (*set_rxfh_indir)(struct net_device * , u32 const * ) ;
4213 void (*get_channels)(struct net_device * , struct ethtool_channels * ) ;
4214 int (*set_channels)(struct net_device * , struct ethtool_channels * ) ;
4215 int (*get_dump_flag)(struct net_device * , struct ethtool_dump * ) ;
4216 int (*get_dump_data)(struct net_device * , struct ethtool_dump * , void * ) ;
4217 int (*set_dump)(struct net_device * , struct ethtool_dump * ) ;
4218};
4219#line 971
4220struct prot_inuse;
4221#line 971
4222struct prot_inuse;
4223#line 972 "include/linux/ethtool.h"
4224struct netns_core {
4225 struct ctl_table_header *sysctl_hdr ;
4226 int sysctl_somaxconn ;
4227 struct prot_inuse *inuse ;
4228};
4229#line 38 "include/net/snmp.h"
4230struct u64_stats_sync {
4231
4232};
4233#line 138 "include/linux/u64_stats_sync.h"
4234struct ipstats_mib {
4235 u64 mibs[31U] ;
4236 struct u64_stats_sync syncp ;
4237};
4238#line 61 "include/net/snmp.h"
4239struct icmp_mib {
4240 unsigned long mibs[27U] ;
4241};
4242#line 67 "include/net/snmp.h"
4243struct icmpmsg_mib {
4244 atomic_long_t mibs[512U] ;
4245};
4246#line 72 "include/net/snmp.h"
4247struct icmpv6_mib {
4248 unsigned long mibs[5U] ;
4249};
4250#line 83 "include/net/snmp.h"
4251struct icmpv6msg_mib {
4252 atomic_long_t mibs[512U] ;
4253};
4254#line 93 "include/net/snmp.h"
4255struct tcp_mib {
4256 unsigned long mibs[15U] ;
4257};
4258#line 100 "include/net/snmp.h"
4259struct udp_mib {
4260 unsigned long mibs[7U] ;
4261};
4262#line 106 "include/net/snmp.h"
4263struct linux_mib {
4264 unsigned long mibs[83U] ;
4265};
4266#line 112 "include/net/snmp.h"
4267struct linux_xfrm_mib {
4268 unsigned long mibs[27U] ;
4269};
4270#line 118
4271struct proc_dir_entry;
4272#line 118 "include/net/snmp.h"
4273struct netns_mib {
4274 struct tcp_mib *tcp_statistics[1U] ;
4275 struct ipstats_mib *ip_statistics[1U] ;
4276 struct linux_mib *net_statistics[1U] ;
4277 struct udp_mib *udp_statistics[1U] ;
4278 struct udp_mib *udplite_statistics[1U] ;
4279 struct icmp_mib *icmp_statistics[1U] ;
4280 struct icmpmsg_mib *icmpmsg_statistics ;
4281 struct proc_dir_entry *proc_net_devsnmp6 ;
4282 struct udp_mib *udp_stats_in6[1U] ;
4283 struct udp_mib *udplite_stats_in6[1U] ;
4284 struct ipstats_mib *ipv6_statistics[1U] ;
4285 struct icmpv6_mib *icmpv6_statistics[1U] ;
4286 struct icmpv6msg_mib *icmpv6msg_statistics ;
4287 struct linux_xfrm_mib *xfrm_statistics[1U] ;
4288};
4289#line 26 "include/net/netns/mib.h"
4290struct netns_unix {
4291 int sysctl_max_dgram_qlen ;
4292 struct ctl_table_header *ctl ;
4293};
4294#line 12 "include/net/netns/unix.h"
4295struct netns_packet {
4296 spinlock_t sklist_lock ;
4297 struct hlist_head sklist ;
4298};
4299#line 14 "include/net/netns/packet.h"
4300struct netns_frags {
4301 int nqueues ;
4302 atomic_t mem ;
4303 struct list_head lru_list ;
4304 int timeout ;
4305 int high_thresh ;
4306 int low_thresh ;
4307};
4308#line 73 "include/net/inet_frag.h"
4309struct ipv4_devconf;
4310#line 73
4311struct ipv4_devconf;
4312#line 74
4313struct fib_rules_ops;
4314#line 74
4315struct fib_rules_ops;
4316#line 75
4317struct xt_table;
4318#line 75 "include/net/inet_frag.h"
4319struct netns_ipv4 {
4320 struct ctl_table_header *forw_hdr ;
4321 struct ctl_table_header *frags_hdr ;
4322 struct ctl_table_header *ipv4_hdr ;
4323 struct ctl_table_header *route_hdr ;
4324 struct ipv4_devconf *devconf_all ;
4325 struct ipv4_devconf *devconf_dflt ;
4326 struct fib_rules_ops *rules_ops ;
4327 struct hlist_head *fib_table_hash ;
4328 struct sock *fibnl ;
4329 struct sock **icmp_sk ;
4330 struct sock *tcp_sock ;
4331 struct netns_frags frags ;
4332 struct xt_table *iptable_filter ;
4333 struct xt_table *iptable_mangle ;
4334 struct xt_table *iptable_raw ;
4335 struct xt_table *arptable_filter ;
4336 struct xt_table *iptable_security ;
4337 struct xt_table *nat_table ;
4338 struct hlist_head *nat_bysource ;
4339 unsigned int nat_htable_size ;
4340 int sysctl_icmp_echo_ignore_all ;
4341 int sysctl_icmp_echo_ignore_broadcasts ;
4342 int sysctl_icmp_ignore_bogus_error_responses ;
4343 int sysctl_icmp_ratelimit ;
4344 int sysctl_icmp_ratemask ;
4345 int sysctl_icmp_errors_use_inbound_ifaddr ;
4346 int sysctl_rt_cache_rebuild_count ;
4347 int current_rt_cache_rebuild_count ;
4348 unsigned int sysctl_ping_group_range[2U] ;
4349 long sysctl_tcp_mem[3U] ;
4350 atomic_t rt_genid ;
4351 atomic_t dev_addr_genid ;
4352 struct list_head mr_tables ;
4353 struct fib_rules_ops *mr_rules_ops ;
4354};
4355#line 71 "include/net/netns/ipv4.h"
4356struct neighbour;
4357#line 71 "include/net/netns/ipv4.h"
4358struct dst_ops {
4359 unsigned short family ;
4360 __be16 protocol ;
4361 unsigned int gc_thresh ;
4362 int (*gc)(struct dst_ops * ) ;
4363 struct dst_entry *(*check)(struct dst_entry * , __u32 ) ;
4364 unsigned int (*default_advmss)(struct dst_entry const * ) ;
4365 unsigned int (*mtu)(struct dst_entry const * ) ;
4366 u32 *(*cow_metrics)(struct dst_entry * , unsigned long ) ;
4367 void (*destroy)(struct dst_entry * ) ;
4368 void (*ifdown)(struct dst_entry * , struct net_device * , int ) ;
4369 struct dst_entry *(*negative_advice)(struct dst_entry * ) ;
4370 void (*link_failure)(struct sk_buff * ) ;
4371 void (*update_pmtu)(struct dst_entry * , u32 ) ;
4372 int (*local_out)(struct sk_buff * ) ;
4373 struct neighbour *(*neigh_lookup)(struct dst_entry const * , void const * ) ;
4374 struct kmem_cache *kmem_cachep ;
4375 struct percpu_counter pcpuc_entries ;
4376};
4377#line 67 "include/net/dst_ops.h"
4378struct netns_sysctl_ipv6 {
4379 struct ctl_table_header *table ;
4380 struct ctl_table_header *frags_hdr ;
4381 int bindv6only ;
4382 int flush_delay ;
4383 int ip6_rt_max_size ;
4384 int ip6_rt_gc_min_interval ;
4385 int ip6_rt_gc_timeout ;
4386 int ip6_rt_gc_interval ;
4387 int ip6_rt_gc_elasticity ;
4388 int ip6_rt_mtu_expires ;
4389 int ip6_rt_min_advmss ;
4390 int icmpv6_time ;
4391};
4392#line 29 "include/net/netns/ipv6.h"
4393struct ipv6_devconf;
4394#line 29
4395struct rt6_info;
4396#line 29
4397struct rt6_statistics;
4398#line 29
4399struct fib6_table;
4400#line 29 "include/net/netns/ipv6.h"
4401struct netns_ipv6 {
4402 struct netns_sysctl_ipv6 sysctl ;
4403 struct ipv6_devconf *devconf_all ;
4404 struct ipv6_devconf *devconf_dflt ;
4405 struct netns_frags frags ;
4406 struct xt_table *ip6table_filter ;
4407 struct xt_table *ip6table_mangle ;
4408 struct xt_table *ip6table_raw ;
4409 struct xt_table *ip6table_security ;
4410 struct rt6_info *ip6_null_entry ;
4411 struct rt6_statistics *rt6_stats ;
4412 struct timer_list ip6_fib_timer ;
4413 struct hlist_head *fib_table_hash ;
4414 struct fib6_table *fib6_main_tbl ;
4415 struct dst_ops ip6_dst_ops ;
4416 unsigned int ip6_rt_gc_expire ;
4417 unsigned long ip6_rt_last_gc ;
4418 struct rt6_info *ip6_prohibit_entry ;
4419 struct rt6_info *ip6_blk_hole_entry ;
4420 struct fib6_table *fib6_local_tbl ;
4421 struct fib_rules_ops *fib6_rules_ops ;
4422 struct sock **icmp_sk ;
4423 struct sock *ndisc_sk ;
4424 struct sock *tcp_sk ;
4425 struct sock *igmp_sk ;
4426 struct list_head mr6_tables ;
4427 struct fib_rules_ops *mr6_rules_ops ;
4428};
4429#line 68 "include/net/netns/ipv6.h"
4430struct netns_dccp {
4431 struct sock *v4_ctl_sk ;
4432 struct sock *v6_ctl_sk ;
4433};
4434#line 46 "include/linux/proc_fs.h"
4435typedef int read_proc_t(char * , char ** , off_t , int , int * , void * );
4436#line 48 "include/linux/proc_fs.h"
4437typedef int write_proc_t(struct file * , char const * , unsigned long , void * );
4438#line 49 "include/linux/proc_fs.h"
4439struct proc_dir_entry {
4440 unsigned int low_ino ;
4441 umode_t mode ;
4442 nlink_t nlink ;
4443 uid_t uid ;
4444 gid_t gid ;
4445 loff_t size ;
4446 struct inode_operations const *proc_iops ;
4447 struct file_operations const *proc_fops ;
4448 struct proc_dir_entry *next ;
4449 struct proc_dir_entry *parent ;
4450 struct proc_dir_entry *subdir ;
4451 void *data ;
4452 read_proc_t *read_proc ;
4453 write_proc_t *write_proc ;
4454 atomic_t count ;
4455 int pde_users ;
4456 struct completion *pde_unload_completion ;
4457 struct list_head pde_openers ;
4458 spinlock_t pde_unload_lock ;
4459 u8 namelen ;
4460 char name[0U] ;
4461};
4462#line 392 "include/linux/netfilter.h"
4463struct ebt_table;
4464#line 392
4465struct ebt_table;
4466#line 393 "include/linux/netfilter.h"
4467struct netns_xt {
4468 struct list_head tables[13U] ;
4469 struct ebt_table *broute_table ;
4470 struct ebt_table *frame_filter ;
4471 struct ebt_table *frame_nat ;
4472};
4473#line 17 "include/net/netns/x_tables.h"
4474struct hlist_nulls_node;
4475#line 17 "include/net/netns/x_tables.h"
4476struct hlist_nulls_head {
4477 struct hlist_nulls_node *first ;
4478};
4479#line 20 "include/linux/list_nulls.h"
4480struct hlist_nulls_node {
4481 struct hlist_nulls_node *next ;
4482 struct hlist_nulls_node **pprev ;
4483};
4484#line 86
4485struct ip_conntrack_stat;
4486#line 86
4487struct nf_ct_event_notifier;
4488#line 86
4489struct nf_exp_event_notifier;
4490#line 86 "include/linux/list_nulls.h"
4491struct netns_ct {
4492 atomic_t count ;
4493 unsigned int expect_count ;
4494 unsigned int htable_size ;
4495 struct kmem_cache *nf_conntrack_cachep ;
4496 struct hlist_nulls_head *hash ;
4497 struct hlist_head *expect_hash ;
4498 struct hlist_nulls_head unconfirmed ;
4499 struct hlist_nulls_head dying ;
4500 struct ip_conntrack_stat *stat ;
4501 struct nf_ct_event_notifier *nf_conntrack_event_cb ;
4502 struct nf_exp_event_notifier *nf_expect_event_cb ;
4503 int sysctl_events ;
4504 unsigned int sysctl_events_retry_timeout ;
4505 int sysctl_acct ;
4506 int sysctl_tstamp ;
4507 int sysctl_checksum ;
4508 unsigned int sysctl_log_invalid ;
4509 struct ctl_table_header *sysctl_header ;
4510 struct ctl_table_header *acct_sysctl_header ;
4511 struct ctl_table_header *tstamp_sysctl_header ;
4512 struct ctl_table_header *event_sysctl_header ;
4513 char *slabname ;
4514};
4515#line 484 "include/linux/xfrm.h"
4516struct xfrm_policy_hash {
4517 struct hlist_head *table ;
4518 unsigned int hmask ;
4519};
4520#line 16 "include/net/netns/xfrm.h"
4521struct netns_xfrm {
4522 struct list_head state_all ;
4523 struct hlist_head *state_bydst ;
4524 struct hlist_head *state_bysrc ;
4525 struct hlist_head *state_byspi ;
4526 unsigned int state_hmask ;
4527 unsigned int state_num ;
4528 struct work_struct state_hash_work ;
4529 struct hlist_head state_gc_list ;
4530 struct work_struct state_gc_work ;
4531 wait_queue_head_t km_waitq ;
4532 struct list_head policy_all ;
4533 struct hlist_head *policy_byidx ;
4534 unsigned int policy_idx_hmask ;
4535 struct hlist_head policy_inexact[6U] ;
4536 struct xfrm_policy_hash policy_bydst[6U] ;
4537 unsigned int policy_count[6U] ;
4538 struct work_struct policy_hash_work ;
4539 struct sock *nlsk ;
4540 struct sock *nlsk_stash ;
4541 u32 sysctl_aevent_etime ;
4542 u32 sysctl_aevent_rseqth ;
4543 int sysctl_larval_drop ;
4544 u32 sysctl_acq_expires ;
4545 struct ctl_table_header *sysctl_hdr ;
4546 struct dst_ops xfrm4_dst_ops ;
4547 struct dst_ops xfrm6_dst_ops ;
4548};
4549#line 62
4550struct net_generic;
4551#line 62
4552struct net_generic;
4553#line 63
4554struct netns_ipvs;
4555#line 63
4556struct netns_ipvs;
4557#line 64 "include/net/netns/xfrm.h"
4558struct net {
4559 atomic_t passive ;
4560 atomic_t count ;
4561 spinlock_t rules_mod_lock ;
4562 struct list_head list ;
4563 struct list_head cleanup_list ;
4564 struct list_head exit_list ;
4565 struct proc_dir_entry *proc_net ;
4566 struct proc_dir_entry *proc_net_stat ;
4567 struct ctl_table_set sysctls ;
4568 struct sock *rtnl ;
4569 struct sock *genl_sock ;
4570 struct list_head dev_base_head ;
4571 struct hlist_head *dev_name_head ;
4572 struct hlist_head *dev_index_head ;
4573 unsigned int dev_base_seq ;
4574 struct list_head rules_ops ;
4575 struct net_device *loopback_dev ;
4576 struct netns_core core ;
4577 struct netns_mib mib ;
4578 struct netns_packet packet ;
4579 struct netns_unix unx ;
4580 struct netns_ipv4 ipv4 ;
4581 struct netns_ipv6 ipv6 ;
4582 struct netns_dccp dccp ;
4583 struct netns_xt xt ;
4584 struct netns_ct ct ;
4585 struct sock *nfnl ;
4586 struct sock *nfnl_stash ;
4587 struct sk_buff_head wext_nlevents ;
4588 struct net_generic *gen ;
4589 struct netns_xfrm xfrm ;
4590 struct netns_ipvs *ipvs ;
4591};
4592#line 105 "include/net/net_namespace.h"
4593struct seq_file {
4594 char *buf ;
4595 size_t size ;
4596 size_t from ;
4597 size_t count ;
4598 loff_t index ;
4599 loff_t read_pos ;
4600 u64 version ;
4601 struct mutex lock ;
4602 struct seq_operations const *op ;
4603 int poll_event ;
4604 void *private ;
4605};
4606#line 30 "include/linux/seq_file.h"
4607struct seq_operations {
4608 void *(*start)(struct seq_file * , loff_t * ) ;
4609 void (*stop)(struct seq_file * , void * ) ;
4610 void *(*next)(struct seq_file * , void * , loff_t * ) ;
4611 int (*show)(struct seq_file * , void * ) ;
4612};
4613#line 291 "include/net/net_namespace.h"
4614struct dsa_chip_data {
4615 struct device *mii_bus ;
4616 int sw_addr ;
4617 char *port_names[12U] ;
4618 s8 *rtable ;
4619};
4620#line 46 "include/net/dsa.h"
4621struct dsa_platform_data {
4622 struct device *netdev ;
4623 int nr_chips ;
4624 struct dsa_chip_data *chip ;
4625};
4626#line 61
4627struct dsa_switch;
4628#line 61 "include/net/dsa.h"
4629struct dsa_switch_tree {
4630 struct dsa_platform_data *pd ;
4631 struct net_device *master_netdev ;
4632 __be16 tag_protocol ;
4633 s8 cpu_switch ;
4634 s8 cpu_port ;
4635 int link_poll_needed ;
4636 struct work_struct link_poll_work ;
4637 struct timer_list link_poll_timer ;
4638 struct dsa_switch *ds[4U] ;
4639};
4640#line 94
4641struct dsa_switch_driver;
4642#line 94
4643struct mii_bus;
4644#line 94 "include/net/dsa.h"
4645struct dsa_switch {
4646 struct dsa_switch_tree *dst ;
4647 int index ;
4648 struct dsa_chip_data *pd ;
4649 struct dsa_switch_driver *drv ;
4650 struct mii_bus *master_mii_bus ;
4651 u32 dsa_port_mask ;
4652 u32 phys_port_mask ;
4653 struct mii_bus *slave_mii_bus ;
4654 struct net_device *ports[12U] ;
4655};
4656#line 146 "include/net/dsa.h"
4657struct dsa_switch_driver {
4658 struct list_head list ;
4659 __be16 tag_protocol ;
4660 int priv_size ;
4661 char *(*probe)(struct mii_bus * , int ) ;
4662 int (*setup)(struct dsa_switch * ) ;
4663 int (*set_addr)(struct dsa_switch * , u8 * ) ;
4664 int (*phy_read)(struct dsa_switch * , int , int ) ;
4665 int (*phy_write)(struct dsa_switch * , int , int , u16 ) ;
4666 void (*poll_link)(struct dsa_switch * ) ;
4667 void (*get_strings)(struct dsa_switch * , int , uint8_t * ) ;
4668 void (*get_ethtool_stats)(struct dsa_switch * , int , uint64_t * ) ;
4669 int (*get_sset_count)(struct dsa_switch * ) ;
4670};
4671#line 200 "include/net/dsa.h"
4672struct ieee_ets {
4673 __u8 willing ;
4674 __u8 ets_cap ;
4675 __u8 cbs ;
4676 __u8 tc_tx_bw[8U] ;
4677 __u8 tc_rx_bw[8U] ;
4678 __u8 tc_tsa[8U] ;
4679 __u8 prio_tc[8U] ;
4680 __u8 tc_reco_bw[8U] ;
4681 __u8 tc_reco_tsa[8U] ;
4682 __u8 reco_prio_tc[8U] ;
4683};
4684#line 69 "include/linux/dcbnl.h"
4685struct ieee_pfc {
4686 __u8 pfc_cap ;
4687 __u8 pfc_en ;
4688 __u8 mbc ;
4689 __u16 delay ;
4690 __u64 requests[8U] ;
4691 __u64 indications[8U] ;
4692};
4693#line 89 "include/linux/dcbnl.h"
4694struct cee_pg {
4695 __u8 willing ;
4696 __u8 error ;
4697 __u8 pg_en ;
4698 __u8 tcs_supported ;
4699 __u8 pg_bw[8U] ;
4700 __u8 prio_pg[8U] ;
4701};
4702#line 112 "include/linux/dcbnl.h"
4703struct cee_pfc {
4704 __u8 willing ;
4705 __u8 error ;
4706 __u8 pfc_en ;
4707 __u8 tcs_supported ;
4708};
4709#line 127 "include/linux/dcbnl.h"
4710struct dcb_app {
4711 __u8 selector ;
4712 __u8 priority ;
4713 __u16 protocol ;
4714};
4715#line 156 "include/linux/dcbnl.h"
4716struct dcb_peer_app_info {
4717 __u8 willing ;
4718 __u8 error ;
4719};
4720#line 41 "include/net/dcbnl.h"
4721struct dcbnl_rtnl_ops {
4722 int (*ieee_getets)(struct net_device * , struct ieee_ets * ) ;
4723 int (*ieee_setets)(struct net_device * , struct ieee_ets * ) ;
4724 int (*ieee_getpfc)(struct net_device * , struct ieee_pfc * ) ;
4725 int (*ieee_setpfc)(struct net_device * , struct ieee_pfc * ) ;
4726 int (*ieee_getapp)(struct net_device * , struct dcb_app * ) ;
4727 int (*ieee_setapp)(struct net_device * , struct dcb_app * ) ;
4728 int (*ieee_delapp)(struct net_device * , struct dcb_app * ) ;
4729 int (*ieee_peer_getets)(struct net_device * , struct ieee_ets * ) ;
4730 int (*ieee_peer_getpfc)(struct net_device * , struct ieee_pfc * ) ;
4731 u8 (*getstate)(struct net_device * ) ;
4732 u8 (*setstate)(struct net_device * , u8 ) ;
4733 void (*getpermhwaddr)(struct net_device * , u8 * ) ;
4734 void (*setpgtccfgtx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
4735 void (*setpgbwgcfgtx)(struct net_device * , int , u8 ) ;
4736 void (*setpgtccfgrx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
4737 void (*setpgbwgcfgrx)(struct net_device * , int , u8 ) ;
4738 void (*getpgtccfgtx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
4739 void (*getpgbwgcfgtx)(struct net_device * , int , u8 * ) ;
4740 void (*getpgtccfgrx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
4741 void (*getpgbwgcfgrx)(struct net_device * , int , u8 * ) ;
4742 void (*setpfccfg)(struct net_device * , int , u8 ) ;
4743 void (*getpfccfg)(struct net_device * , int , u8 * ) ;
4744 u8 (*setall)(struct net_device * ) ;
4745 u8 (*getcap)(struct net_device * , int , u8 * ) ;
4746 int (*getnumtcs)(struct net_device * , int , u8 * ) ;
4747 int (*setnumtcs)(struct net_device * , int , u8 ) ;
4748 u8 (*getpfcstate)(struct net_device * ) ;
4749 void (*setpfcstate)(struct net_device * , u8 ) ;
4750 void (*getbcncfg)(struct net_device * , int , u32 * ) ;
4751 void (*setbcncfg)(struct net_device * , int , u32 ) ;
4752 void (*getbcnrp)(struct net_device * , int , u8 * ) ;
4753 void (*setbcnrp)(struct net_device * , int , u8 ) ;
4754 u8 (*setapp)(struct net_device * , u8 , u16 , u8 ) ;
4755 u8 (*getapp)(struct net_device * , u8 , u16 ) ;
4756 u8 (*getfeatcfg)(struct net_device * , int , u8 * ) ;
4757 u8 (*setfeatcfg)(struct net_device * , int , u8 ) ;
4758 u8 (*getdcbx)(struct net_device * ) ;
4759 u8 (*setdcbx)(struct net_device * , u8 ) ;
4760 int (*peer_getappinfo)(struct net_device * , struct dcb_peer_app_info * , u16 * ) ;
4761 int (*peer_getapptable)(struct net_device * , struct dcb_app * ) ;
4762 int (*cee_peer_getpg)(struct net_device * , struct cee_pg * ) ;
4763 int (*cee_peer_getpfc)(struct net_device * , struct cee_pfc * ) ;
4764};
4765#line 101 "include/net/dcbnl.h"
4766struct taskstats {
4767 __u16 version ;
4768 __u32 ac_exitcode ;
4769 __u8 ac_flag ;
4770 __u8 ac_nice ;
4771 __u64 cpu_count ;
4772 __u64 cpu_delay_total ;
4773 __u64 blkio_count ;
4774 __u64 blkio_delay_total ;
4775 __u64 swapin_count ;
4776 __u64 swapin_delay_total ;
4777 __u64 cpu_run_real_total ;
4778 __u64 cpu_run_virtual_total ;
4779 char ac_comm[32U] ;
4780 __u8 ac_sched ;
4781 __u8 ac_pad[3U] ;
4782 __u32 ac_uid ;
4783 __u32 ac_gid ;
4784 __u32 ac_pid ;
4785 __u32 ac_ppid ;
4786 __u32 ac_btime ;
4787 __u64 ac_etime ;
4788 __u64 ac_utime ;
4789 __u64 ac_stime ;
4790 __u64 ac_minflt ;
4791 __u64 ac_majflt ;
4792 __u64 coremem ;
4793 __u64 virtmem ;
4794 __u64 hiwater_rss ;
4795 __u64 hiwater_vm ;
4796 __u64 read_char ;
4797 __u64 write_char ;
4798 __u64 read_syscalls ;
4799 __u64 write_syscalls ;
4800 __u64 read_bytes ;
4801 __u64 write_bytes ;
4802 __u64 cancelled_write_bytes ;
4803 __u64 nvcsw ;
4804 __u64 nivcsw ;
4805 __u64 ac_utimescaled ;
4806 __u64 ac_stimescaled ;
4807 __u64 cpu_scaled_run_real_total ;
4808 __u64 freepages_count ;
4809 __u64 freepages_delay_total ;
4810};
4811#line 55 "include/linux/prio_heap.h"
4812struct idr_layer {
4813 unsigned long bitmap ;
4814 struct idr_layer *ary[64U] ;
4815 int count ;
4816 int layer ;
4817 struct rcu_head rcu_head ;
4818};
4819#line 58 "include/linux/idr.h"
4820struct idr {
4821 struct idr_layer *top ;
4822 struct idr_layer *id_free ;
4823 int layers ;
4824 int id_free_cnt ;
4825 spinlock_t lock ;
4826};
4827#line 154
4828struct cgroupfs_root;
4829#line 154
4830struct cgroupfs_root;
4831#line 155
4832struct cgroup_subsys;
4833#line 155
4834struct cgroup_subsys;
4835#line 156
4836struct cgroup;
4837#line 156
4838struct cgroup;
4839#line 157
4840struct css_id;
4841#line 157
4842struct css_id;
4843#line 56 "include/linux/cgroup.h"
4844struct cgroup_subsys_state {
4845 struct cgroup *cgroup ;
4846 atomic_t refcnt ;
4847 unsigned long flags ;
4848 struct css_id *id ;
4849};
4850#line 149 "include/linux/cgroup.h"
4851struct cgroup {
4852 unsigned long flags ;
4853 atomic_t count ;
4854 struct list_head sibling ;
4855 struct list_head children ;
4856 struct cgroup *parent ;
4857 struct dentry *dentry ;
4858 struct cgroup_subsys_state *subsys[64U] ;
4859 struct cgroupfs_root *root ;
4860 struct cgroup *top_cgroup ;
4861 struct list_head css_sets ;
4862 struct list_head release_list ;
4863 struct list_head pidlists ;
4864 struct mutex pidlist_mutex ;
4865 struct rcu_head rcu_head ;
4866 struct list_head event_list ;
4867 spinlock_t event_list_lock ;
4868};
4869#line 215 "include/linux/cgroup.h"
4870struct css_set {
4871 atomic_t refcount ;
4872 struct hlist_node hlist ;
4873 struct list_head tasks ;
4874 struct list_head cg_links ;
4875 struct cgroup_subsys_state *subsys[64U] ;
4876 struct rcu_head rcu_head ;
4877};
4878#line 426
4879struct cgroup_taskset;
4880#line 426
4881struct cgroup_taskset;
4882#line 436 "include/linux/cgroup.h"
4883struct cgroup_subsys {
4884 struct cgroup_subsys_state *(*create)(struct cgroup * ) ;
4885 int (*pre_destroy)(struct cgroup * ) ;
4886 void (*destroy)(struct cgroup * ) ;
4887 int (*can_attach)(struct cgroup * , struct cgroup_taskset * ) ;
4888 void (*cancel_attach)(struct cgroup * , struct cgroup_taskset * ) ;
4889 void (*attach)(struct cgroup * , struct cgroup_taskset * ) ;
4890 void (*fork)(struct task_struct * ) ;
4891 void (*exit)(struct cgroup * , struct cgroup * , struct task_struct * ) ;
4892 int (*populate)(struct cgroup_subsys * , struct cgroup * ) ;
4893 void (*post_clone)(struct cgroup * ) ;
4894 void (*bind)(struct cgroup * ) ;
4895 int subsys_id ;
4896 int active ;
4897 int disabled ;
4898 int early_init ;
4899 bool use_id ;
4900 char const *name ;
4901 struct mutex hierarchy_mutex ;
4902 struct lock_class_key subsys_key ;
4903 struct cgroupfs_root *root ;
4904 struct list_head sibling ;
4905 struct idr idr ;
4906 spinlock_t id_lock ;
4907 struct module *module ;
4908};
4909#line 13 "include/linux/ftrace_irq.h"
4910enum irqreturn {
4911 IRQ_NONE = 0,
4912 IRQ_HANDLED = 1,
4913 IRQ_WAKE_THREAD = 2
4914} ;
4915#line 16 "include/linux/irqreturn.h"
4916typedef enum irqreturn irqreturn_t;
4917#line 189 "include/linux/hardirq.h"
4918struct netprio_map {
4919 struct rcu_head rcu ;
4920 u32 priomap_len ;
4921 u32 priomap[0U] ;
4922};
4923#line 74 "include/net/netprio_cgroup.h"
4924struct netpoll_info;
4925#line 74
4926struct netpoll_info;
4927#line 75
4928struct phy_device;
4929#line 75
4930struct phy_device;
4931#line 76
4932struct wireless_dev;
4933#line 76
4934struct wireless_dev;
4935#line 77
4936enum netdev_tx {
4937 __NETDEV_TX_MIN = (-0x7FFFFFFF-1),
4938 NETDEV_TX_OK = 0,
4939 NETDEV_TX_BUSY = 16,
4940 NETDEV_TX_LOCKED = 32
4941} ;
4942#line 115 "include/linux/netdevice.h"
4943typedef enum netdev_tx netdev_tx_t;
4944#line 134 "include/linux/netdevice.h"
4945struct net_device_stats {
4946 unsigned long rx_packets ;
4947 unsigned long tx_packets ;
4948 unsigned long rx_bytes ;
4949 unsigned long tx_bytes ;
4950 unsigned long rx_errors ;
4951 unsigned long tx_errors ;
4952 unsigned long rx_dropped ;
4953 unsigned long tx_dropped ;
4954 unsigned long multicast ;
4955 unsigned long collisions ;
4956 unsigned long rx_length_errors ;
4957 unsigned long rx_over_errors ;
4958 unsigned long rx_crc_errors ;
4959 unsigned long rx_frame_errors ;
4960 unsigned long rx_fifo_errors ;
4961 unsigned long rx_missed_errors ;
4962 unsigned long tx_aborted_errors ;
4963 unsigned long tx_carrier_errors ;
4964 unsigned long tx_fifo_errors ;
4965 unsigned long tx_heartbeat_errors ;
4966 unsigned long tx_window_errors ;
4967 unsigned long rx_compressed ;
4968 unsigned long tx_compressed ;
4969};
4970#line 220
4971struct neigh_parms;
4972#line 220
4973struct neigh_parms;
4974#line 240 "include/linux/netdevice.h"
4975struct netdev_hw_addr_list {
4976 struct list_head list ;
4977 int count ;
4978};
4979#line 245 "include/linux/netdevice.h"
4980struct hh_cache {
4981 u16 hh_len ;
4982 u16 __pad ;
4983 seqlock_t hh_lock ;
4984 unsigned long hh_data[16U] ;
4985};
4986#line 274 "include/linux/netdevice.h"
4987struct header_ops {
4988 int (*create)(struct sk_buff * , struct net_device * , unsigned short , void const * ,
4989 void const * , unsigned int ) ;
4990 int (*parse)(struct sk_buff const * , unsigned char * ) ;
4991 int (*rebuild)(struct sk_buff * ) ;
4992 int (*cache)(struct neighbour const * , struct hh_cache * , __be16 ) ;
4993 void (*cache_update)(struct hh_cache * , struct net_device const * , unsigned char const * ) ;
4994};
4995#line 368
4996enum rx_handler_result {
4997 RX_HANDLER_CONSUMED = 0,
4998 RX_HANDLER_ANOTHER = 1,
4999 RX_HANDLER_EXACT = 2,
5000 RX_HANDLER_PASS = 3
5001} ;
5002#line 416 "include/linux/netdevice.h"
5003typedef enum rx_handler_result rx_handler_result_t;
5004#line 417 "include/linux/netdevice.h"
5005typedef rx_handler_result_t rx_handler_func_t(struct sk_buff ** );
5006#line 525
5007struct Qdisc;
5008#line 525 "include/linux/netdevice.h"
5009struct netdev_queue {
5010 struct net_device *dev ;
5011 struct Qdisc *qdisc ;
5012 struct Qdisc *qdisc_sleeping ;
5013 struct kobject kobj ;
5014 int numa_node ;
5015 spinlock_t _xmit_lock ;
5016 int xmit_lock_owner ;
5017 unsigned long trans_start ;
5018 unsigned long trans_timeout ;
5019 unsigned long state ;
5020 struct dql dql ;
5021};
5022#line 589 "include/linux/netdevice.h"
5023struct rps_map {
5024 unsigned int len ;
5025 struct rcu_head rcu ;
5026 u16 cpus[0U] ;
5027};
5028#line 601 "include/linux/netdevice.h"
5029struct rps_dev_flow {
5030 u16 cpu ;
5031 u16 filter ;
5032 unsigned int last_qtail ;
5033};
5034#line 613 "include/linux/netdevice.h"
5035struct rps_dev_flow_table {
5036 unsigned int mask ;
5037 struct rcu_head rcu ;
5038 struct work_struct free_work ;
5039 struct rps_dev_flow flows[0U] ;
5040};
5041#line 665 "include/linux/netdevice.h"
5042struct netdev_rx_queue {
5043 struct rps_map *rps_map ;
5044 struct rps_dev_flow_table *rps_flow_table ;
5045 struct kobject kobj ;
5046 struct net_device *dev ;
5047};
5048#line 675 "include/linux/netdevice.h"
5049struct xps_map {
5050 unsigned int len ;
5051 unsigned int alloc_len ;
5052 struct rcu_head rcu ;
5053 u16 queues[0U] ;
5054};
5055#line 688 "include/linux/netdevice.h"
5056struct xps_dev_maps {
5057 struct rcu_head rcu ;
5058 struct xps_map *cpu_map[0U] ;
5059};
5060#line 699 "include/linux/netdevice.h"
5061struct netdev_tc_txq {
5062 u16 count ;
5063 u16 offset ;
5064};
5065#line 710 "include/linux/netdevice.h"
5066struct netdev_fcoe_hbainfo {
5067 char manufacturer[64U] ;
5068 char serial_number[64U] ;
5069 char hardware_version[64U] ;
5070 char driver_version[64U] ;
5071 char optionrom_version[64U] ;
5072 char firmware_version[64U] ;
5073 char model[256U] ;
5074 char model_description[256U] ;
5075};
5076#line 726 "include/linux/netdevice.h"
5077struct net_device_ops {
5078 int (*ndo_init)(struct net_device * ) ;
5079 void (*ndo_uninit)(struct net_device * ) ;
5080 int (*ndo_open)(struct net_device * ) ;
5081 int (*ndo_stop)(struct net_device * ) ;
5082 netdev_tx_t (*ndo_start_xmit)(struct sk_buff * , struct net_device * ) ;
5083 u16 (*ndo_select_queue)(struct net_device * , struct sk_buff * ) ;
5084 void (*ndo_change_rx_flags)(struct net_device * , int ) ;
5085 void (*ndo_set_rx_mode)(struct net_device * ) ;
5086 int (*ndo_set_mac_address)(struct net_device * , void * ) ;
5087 int (*ndo_validate_addr)(struct net_device * ) ;
5088 int (*ndo_do_ioctl)(struct net_device * , struct ifreq * , int ) ;
5089 int (*ndo_set_config)(struct net_device * , struct ifmap * ) ;
5090 int (*ndo_change_mtu)(struct net_device * , int ) ;
5091 int (*ndo_neigh_setup)(struct net_device * , struct neigh_parms * ) ;
5092 void (*ndo_tx_timeout)(struct net_device * ) ;
5093 struct rtnl_link_stats64 *(*ndo_get_stats64)(struct net_device * , struct rtnl_link_stats64 * ) ;
5094 struct net_device_stats *(*ndo_get_stats)(struct net_device * ) ;
5095 int (*ndo_vlan_rx_add_vid)(struct net_device * , unsigned short ) ;
5096 int (*ndo_vlan_rx_kill_vid)(struct net_device * , unsigned short ) ;
5097 void (*ndo_poll_controller)(struct net_device * ) ;
5098 int (*ndo_netpoll_setup)(struct net_device * , struct netpoll_info * ) ;
5099 void (*ndo_netpoll_cleanup)(struct net_device * ) ;
5100 int (*ndo_set_vf_mac)(struct net_device * , int , u8 * ) ;
5101 int (*ndo_set_vf_vlan)(struct net_device * , int , u16 , u8 ) ;
5102 int (*ndo_set_vf_tx_rate)(struct net_device * , int , int ) ;
5103 int (*ndo_set_vf_spoofchk)(struct net_device * , int , bool ) ;
5104 int (*ndo_get_vf_config)(struct net_device * , int , struct ifla_vf_info * ) ;
5105 int (*ndo_set_vf_port)(struct net_device * , int , struct nlattr ** ) ;
5106 int (*ndo_get_vf_port)(struct net_device * , int , struct sk_buff * ) ;
5107 int (*ndo_setup_tc)(struct net_device * , u8 ) ;
5108 int (*ndo_fcoe_enable)(struct net_device * ) ;
5109 int (*ndo_fcoe_disable)(struct net_device * ) ;
5110 int (*ndo_fcoe_ddp_setup)(struct net_device * , u16 , struct scatterlist * , unsigned int ) ;
5111 int (*ndo_fcoe_ddp_done)(struct net_device * , u16 ) ;
5112 int (*ndo_fcoe_ddp_target)(struct net_device * , u16 , struct scatterlist * ,
5113 unsigned int ) ;
5114 int (*ndo_fcoe_get_hbainfo)(struct net_device * , struct netdev_fcoe_hbainfo * ) ;
5115 int (*ndo_fcoe_get_wwn)(struct net_device * , u64 * , int ) ;
5116 int (*ndo_rx_flow_steer)(struct net_device * , struct sk_buff const * , u16 ,
5117 u32 ) ;
5118 int (*ndo_add_slave)(struct net_device * , struct net_device * ) ;
5119 int (*ndo_del_slave)(struct net_device * , struct net_device * ) ;
5120 netdev_features_t (*ndo_fix_features)(struct net_device * , netdev_features_t ) ;
5121 int (*ndo_set_features)(struct net_device * , netdev_features_t ) ;
5122 int (*ndo_neigh_construct)(struct neighbour * ) ;
5123 void (*ndo_neigh_destroy)(struct neighbour * ) ;
5124};
5125#line 1020
5126struct iw_handler_def;
5127#line 1020
5128struct iw_public_data;
5129#line 1020
5130struct vlan_info;
5131#line 1020
5132struct in_device;
5133#line 1020
5134struct dn_dev;
5135#line 1020
5136struct inet6_dev;
5137#line 1020
5138struct cpu_rmap;
5139#line 1020
5140struct pcpu_lstats;
5141#line 1020
5142struct pcpu_tstats;
5143#line 1020
5144struct pcpu_dstats;
5145#line 1020 "include/linux/netdevice.h"
5146union __anonunion_ldv_33974_238 {
5147 void *ml_priv ;
5148 struct pcpu_lstats *lstats ;
5149 struct pcpu_tstats *tstats ;
5150 struct pcpu_dstats *dstats ;
5151};
5152#line 1020
5153struct garp_port;
5154#line 1020
5155struct rtnl_link_ops;
5156#line 1020 "include/linux/netdevice.h"
5157struct net_device {
5158 char name[16U] ;
5159 struct pm_qos_request pm_qos_req ;
5160 struct hlist_node name_hlist ;
5161 char *ifalias ;
5162 unsigned long mem_end ;
5163 unsigned long mem_start ;
5164 unsigned long base_addr ;
5165 unsigned int irq ;
5166 unsigned long state ;
5167 struct list_head dev_list ;
5168 struct list_head napi_list ;
5169 struct list_head unreg_list ;
5170 netdev_features_t features ;
5171 netdev_features_t hw_features ;
5172 netdev_features_t wanted_features ;
5173 netdev_features_t vlan_features ;
5174 int ifindex ;
5175 int iflink ;
5176 struct net_device_stats stats ;
5177 atomic_long_t rx_dropped ;
5178 struct iw_handler_def const *wireless_handlers ;
5179 struct iw_public_data *wireless_data ;
5180 struct net_device_ops const *netdev_ops ;
5181 struct ethtool_ops const *ethtool_ops ;
5182 struct header_ops const *header_ops ;
5183 unsigned int flags ;
5184 unsigned int priv_flags ;
5185 unsigned short gflags ;
5186 unsigned short padded ;
5187 unsigned char operstate ;
5188 unsigned char link_mode ;
5189 unsigned char if_port ;
5190 unsigned char dma ;
5191 unsigned int mtu ;
5192 unsigned short type ;
5193 unsigned short hard_header_len ;
5194 unsigned short needed_headroom ;
5195 unsigned short needed_tailroom ;
5196 unsigned char perm_addr[32U] ;
5197 unsigned char addr_assign_type ;
5198 unsigned char addr_len ;
5199 unsigned char neigh_priv_len ;
5200 unsigned short dev_id ;
5201 spinlock_t addr_list_lock ;
5202 struct netdev_hw_addr_list uc ;
5203 struct netdev_hw_addr_list mc ;
5204 bool uc_promisc ;
5205 unsigned int promiscuity ;
5206 unsigned int allmulti ;
5207 struct vlan_info *vlan_info ;
5208 struct dsa_switch_tree *dsa_ptr ;
5209 void *atalk_ptr ;
5210 struct in_device *ip_ptr ;
5211 struct dn_dev *dn_ptr ;
5212 struct inet6_dev *ip6_ptr ;
5213 void *ec_ptr ;
5214 void *ax25_ptr ;
5215 struct wireless_dev *ieee80211_ptr ;
5216 unsigned long last_rx ;
5217 struct net_device *master ;
5218 unsigned char *dev_addr ;
5219 struct netdev_hw_addr_list dev_addrs ;
5220 unsigned char broadcast[32U] ;
5221 struct kset *queues_kset ;
5222 struct netdev_rx_queue *_rx ;
5223 unsigned int num_rx_queues ;
5224 unsigned int real_num_rx_queues ;
5225 struct cpu_rmap *rx_cpu_rmap ;
5226 rx_handler_func_t *rx_handler ;
5227 void *rx_handler_data ;
5228 struct netdev_queue *ingress_queue ;
5229 struct netdev_queue *_tx ;
5230 unsigned int num_tx_queues ;
5231 unsigned int real_num_tx_queues ;
5232 struct Qdisc *qdisc ;
5233 unsigned long tx_queue_len ;
5234 spinlock_t tx_global_lock ;
5235 struct xps_dev_maps *xps_maps ;
5236 unsigned long trans_start ;
5237 int watchdog_timeo ;
5238 struct timer_list watchdog_timer ;
5239 int *pcpu_refcnt ;
5240 struct list_head todo_list ;
5241 struct hlist_node index_hlist ;
5242 struct list_head link_watch_list ;
5243 unsigned char reg_state ;
5244 bool dismantle ;
5245 unsigned short rtnl_link_state ;
5246 void (*destructor)(struct net_device * ) ;
5247 struct netpoll_info *npinfo ;
5248 struct net *nd_net ;
5249 union __anonunion_ldv_33974_238 ldv_33974 ;
5250 struct garp_port *garp_port ;
5251 struct device dev ;
5252 struct attribute_group const *sysfs_groups[4U] ;
5253 struct rtnl_link_ops const *rtnl_link_ops ;
5254 unsigned int gso_max_size ;
5255 struct dcbnl_rtnl_ops const *dcbnl_ops ;
5256 u8 num_tc ;
5257 struct netdev_tc_txq tc_to_txq[16U] ;
5258 u8 prio_tc_map[16U] ;
5259 unsigned int fcoe_ddp_xid ;
5260 struct netprio_map *priomap ;
5261 struct phy_device *phydev ;
5262 int group ;
5263};
5264#line 353 "include/linux/debugfs.h"
5265enum nl80211_iftype {
5266 NL80211_IFTYPE_UNSPECIFIED = 0,
5267 NL80211_IFTYPE_ADHOC = 1,
5268 NL80211_IFTYPE_STATION = 2,
5269 NL80211_IFTYPE_AP = 3,
5270 NL80211_IFTYPE_AP_VLAN = 4,
5271 NL80211_IFTYPE_WDS = 5,
5272 NL80211_IFTYPE_MONITOR = 6,
5273 NL80211_IFTYPE_MESH_POINT = 7,
5274 NL80211_IFTYPE_P2P_CLIENT = 8,
5275 NL80211_IFTYPE_P2P_GO = 9,
5276 NUM_NL80211_IFTYPES = 10,
5277 NL80211_IFTYPE_MAX = 9
5278} ;
5279#line 1699 "include/linux/nl80211.h"
5280enum nl80211_reg_initiator {
5281 NL80211_REGDOM_SET_BY_CORE = 0,
5282 NL80211_REGDOM_SET_BY_USER = 1,
5283 NL80211_REGDOM_SET_BY_DRIVER = 2,
5284 NL80211_REGDOM_SET_BY_COUNTRY_IE = 3
5285} ;
5286#line 1831
5287enum nl80211_channel_type {
5288 NL80211_CHAN_NO_HT = 0,
5289 NL80211_CHAN_HT20 = 1,
5290 NL80211_CHAN_HT40MINUS = 2,
5291 NL80211_CHAN_HT40PLUS = 3
5292} ;
5293#line 1861
5294enum nl80211_auth_type {
5295 NL80211_AUTHTYPE_OPEN_SYSTEM = 0,
5296 NL80211_AUTHTYPE_SHARED_KEY = 1,
5297 NL80211_AUTHTYPE_FT = 2,
5298 NL80211_AUTHTYPE_NETWORK_EAP = 3,
5299 __NL80211_AUTHTYPE_NUM = 4,
5300 NL80211_AUTHTYPE_MAX = 3,
5301 NL80211_AUTHTYPE_AUTOMATIC = 4
5302} ;
5303#line 2665
5304enum environment_cap {
5305 ENVIRON_ANY = 0,
5306 ENVIRON_INDOOR = 1,
5307 ENVIRON_OUTDOOR = 2
5308} ;
5309#line 2671 "include/linux/nl80211.h"
5310struct regulatory_request {
5311 int wiphy_idx ;
5312 enum nl80211_reg_initiator initiator ;
5313 char alpha2[2U] ;
5314 u8 dfs_region ;
5315 bool intersect ;
5316 bool processed ;
5317 enum environment_cap country_ie_env ;
5318 struct list_head list ;
5319};
5320#line 80 "include/net/regulatory.h"
5321struct ieee80211_freq_range {
5322 u32 start_freq_khz ;
5323 u32 end_freq_khz ;
5324 u32 max_bandwidth_khz ;
5325};
5326#line 86 "include/net/regulatory.h"
5327struct ieee80211_power_rule {
5328 u32 max_antenna_gain ;
5329 u32 max_eirp ;
5330};
5331#line 91 "include/net/regulatory.h"
5332struct ieee80211_reg_rule {
5333 struct ieee80211_freq_range freq_range ;
5334 struct ieee80211_power_rule power_rule ;
5335 u32 flags ;
5336};
5337#line 97 "include/net/regulatory.h"
5338struct ieee80211_regdomain {
5339 u32 n_reg_rules ;
5340 char alpha2[2U] ;
5341 u8 dfs_region ;
5342 struct ieee80211_reg_rule reg_rules[0U] ;
5343};
5344#line 104
5345enum ieee80211_band {
5346 IEEE80211_BAND_2GHZ = 0,
5347 IEEE80211_BAND_5GHZ = 1,
5348 IEEE80211_NUM_BANDS = 2
5349} ;
5350#line 119 "include/net/regulatory.h"
5351struct ieee80211_channel {
5352 enum ieee80211_band band ;
5353 u16 center_freq ;
5354 u16 hw_value ;
5355 u32 flags ;
5356 int max_antenna_gain ;
5357 int max_power ;
5358 int max_reg_power ;
5359 bool beacon_found ;
5360 u32 orig_flags ;
5361 int orig_mag ;
5362 int orig_mpwr ;
5363};
5364#line 151 "include/net/cfg80211.h"
5365struct ieee80211_rate {
5366 u32 flags ;
5367 u16 bitrate ;
5368 u16 hw_value ;
5369 u16 hw_value_short ;
5370};
5371#line 192 "include/net/cfg80211.h"
5372struct ieee80211_sta_ht_cap {
5373 u16 cap ;
5374 bool ht_supported ;
5375 u8 ampdu_factor ;
5376 u8 ampdu_density ;
5377 struct ieee80211_mcs_info mcs ;
5378};
5379#line 212 "include/net/cfg80211.h"
5380struct ieee80211_supported_band {
5381 struct ieee80211_channel *channels ;
5382 struct ieee80211_rate *bitrates ;
5383 enum ieee80211_band band ;
5384 int n_channels ;
5385 int n_bitrates ;
5386 struct ieee80211_sta_ht_cap ht_cap ;
5387};
5388#line 338 "include/net/cfg80211.h"
5389struct cfg80211_crypto_settings {
5390 u32 wpa_versions ;
5391 u32 cipher_group ;
5392 int n_ciphers_pairwise ;
5393 u32 ciphers_pairwise[5U] ;
5394 int n_akm_suites ;
5395 u32 akm_suites[2U] ;
5396 bool control_port ;
5397 __be16 control_port_ethertype ;
5398 bool control_port_no_encrypt ;
5399};
5400#line 863
5401struct wiphy;
5402#line 863
5403struct wiphy;
5404#line 864 "include/net/cfg80211.h"
5405struct cfg80211_ssid {
5406 u8 ssid[32U] ;
5407 u8 ssid_len ;
5408};
5409#line 899 "include/net/cfg80211.h"
5410struct cfg80211_scan_request {
5411 struct cfg80211_ssid *ssids ;
5412 int n_ssids ;
5413 u32 n_channels ;
5414 u8 const *ie ;
5415 size_t ie_len ;
5416 u32 rates[2U] ;
5417 struct wiphy *wiphy ;
5418 struct net_device *dev ;
5419 bool aborted ;
5420 bool no_cck ;
5421 struct ieee80211_channel *channels[0U] ;
5422};
5423#line 978
5424enum cfg80211_signal_type {
5425 CFG80211_SIGNAL_TYPE_NONE = 0,
5426 CFG80211_SIGNAL_TYPE_MBM = 1,
5427 CFG80211_SIGNAL_TYPE_UNSPEC = 2
5428} ;
5429#line 1146 "include/net/cfg80211.h"
5430struct cfg80211_ibss_params {
5431 u8 *ssid ;
5432 u8 *bssid ;
5433 struct ieee80211_channel *channel ;
5434 enum nl80211_channel_type channel_type ;
5435 u8 *ie ;
5436 u8 ssid_len ;
5437 u8 ie_len ;
5438 u16 beacon_interval ;
5439 u32 basic_rates ;
5440 bool channel_fixed ;
5441 bool privacy ;
5442 bool control_port ;
5443 int mcast_rate[2U] ;
5444};
5445#line 1187 "include/net/cfg80211.h"
5446struct cfg80211_connect_params {
5447 struct ieee80211_channel *channel ;
5448 u8 *bssid ;
5449 u8 *ssid ;
5450 size_t ssid_len ;
5451 enum nl80211_auth_type auth_type ;
5452 u8 *ie ;
5453 size_t ie_len ;
5454 bool privacy ;
5455 struct cfg80211_crypto_settings crypto ;
5456 u8 const *key ;
5457 u8 key_len ;
5458 u8 key_idx ;
5459 u32 flags ;
5460 int bg_scan_period ;
5461 struct ieee80211_ht_cap ht_capa ;
5462 struct ieee80211_ht_cap ht_capa_mask ;
5463};
5464#line 1727 "include/net/cfg80211.h"
5465struct ieee80211_iface_limit {
5466 u16 max ;
5467 u16 types ;
5468};
5469#line 1804 "include/net/cfg80211.h"
5470struct ieee80211_iface_combination {
5471 struct ieee80211_iface_limit const *limits ;
5472 u32 num_different_channels ;
5473 u16 max_interfaces ;
5474 u8 n_limits ;
5475 bool beacon_int_infra_match ;
5476};
5477#line 1868 "include/net/cfg80211.h"
5478struct mac_address {
5479 u8 addr[6U] ;
5480};
5481#line 1872 "include/net/cfg80211.h"
5482struct ieee80211_txrx_stypes {
5483 u16 tx ;
5484 u16 rx ;
5485};
5486#line 1887 "include/net/cfg80211.h"
5487struct wiphy_wowlan_support {
5488 u32 flags ;
5489 int n_patterns ;
5490 int pattern_max_len ;
5491 int pattern_min_len ;
5492};
5493#line 1918 "include/net/cfg80211.h"
5494struct wiphy {
5495 u8 perm_addr[6U] ;
5496 u8 addr_mask[6U] ;
5497 struct mac_address *addresses ;
5498 struct ieee80211_txrx_stypes const *mgmt_stypes ;
5499 struct ieee80211_iface_combination const *iface_combinations ;
5500 int n_iface_combinations ;
5501 u16 software_iftypes ;
5502 u16 n_addresses ;
5503 u16 interface_modes ;
5504 u32 flags ;
5505 u32 features ;
5506 u32 ap_sme_capa ;
5507 enum cfg80211_signal_type signal_type ;
5508 int bss_priv_size ;
5509 u8 max_scan_ssids ;
5510 u8 max_sched_scan_ssids ;
5511 u8 max_match_sets ;
5512 u16 max_scan_ie_len ;
5513 u16 max_sched_scan_ie_len ;
5514 int n_cipher_suites ;
5515 u32 const *cipher_suites ;
5516 u8 retry_short ;
5517 u8 retry_long ;
5518 u32 frag_threshold ;
5519 u32 rts_threshold ;
5520 u8 coverage_class ;
5521 char fw_version[32U] ;
5522 u32 hw_version ;
5523 struct wiphy_wowlan_support wowlan ;
5524 u16 max_remain_on_channel_duration ;
5525 u8 max_num_pmkids ;
5526 u32 available_antennas_tx ;
5527 u32 available_antennas_rx ;
5528 u32 probe_resp_offload ;
5529 void const *privid ;
5530 struct ieee80211_supported_band *bands[2U] ;
5531 int (*reg_notifier)(struct wiphy * , struct regulatory_request * ) ;
5532 struct ieee80211_regdomain const *regd ;
5533 struct device dev ;
5534 bool registered ;
5535 struct dentry *debugfsdir ;
5536 struct ieee80211_ht_cap const *ht_capa_mod_mask ;
5537 struct net *_net ;
5538 struct iw_handler_def const *wext ;
5539 char priv[0U] ;
5540};
5541#line 2219
5542struct cfg80211_conn;
5543#line 2219
5544struct cfg80211_conn;
5545#line 2220
5546struct cfg80211_internal_bss;
5547#line 2220
5548struct cfg80211_internal_bss;
5549#line 2221
5550struct cfg80211_cached_keys;
5551#line 2221
5552struct cfg80211_cached_keys;
5553#line 2222
5554enum ldv_26062 {
5555 CFG80211_SME_IDLE = 0,
5556 CFG80211_SME_CONNECTING = 1,
5557 CFG80211_SME_CONNECTED = 2
5558} ;
5559#line 2228 "include/net/cfg80211.h"
5560struct __anonstruct_wext_240 {
5561 struct cfg80211_ibss_params ibss ;
5562 struct cfg80211_connect_params connect ;
5563 struct cfg80211_cached_keys *keys ;
5564 u8 *ie ;
5565 size_t ie_len ;
5566 u8 bssid[6U] ;
5567 u8 prev_bssid[6U] ;
5568 u8 ssid[32U] ;
5569 s8 default_key ;
5570 s8 default_mgmt_key ;
5571 bool prev_bssid_valid ;
5572};
5573#line 2228 "include/net/cfg80211.h"
5574struct wireless_dev {
5575 struct wiphy *wiphy ;
5576 enum nl80211_iftype iftype ;
5577 struct list_head list ;
5578 struct net_device *netdev ;
5579 struct list_head mgmt_registrations ;
5580 spinlock_t mgmt_registrations_lock ;
5581 struct mutex mtx ;
5582 struct work_struct cleanup_work ;
5583 bool use_4addr ;
5584 u8 ssid[32U] ;
5585 u8 ssid_len ;
5586 u8 mesh_id_len ;
5587 u8 mesh_id_up_len ;
5588 enum ldv_26062 sme_state ;
5589 struct cfg80211_conn *conn ;
5590 struct cfg80211_cached_keys *connect_keys ;
5591 struct list_head event_list ;
5592 spinlock_t event_lock ;
5593 struct cfg80211_internal_bss *current_bss ;
5594 struct ieee80211_channel *channel ;
5595 bool ps ;
5596 int ps_timeout ;
5597 int beacon_interval ;
5598 u32 ap_unexpected_nlpid ;
5599 struct __anonstruct_wext_240 wext ;
5600};
5601#line 373 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5602struct mwifiex_chan_scan_param_set {
5603 u8 radio_type ;
5604 u8 chan_number ;
5605 u8 chan_scan_mode_bitmap ;
5606 __le16 min_scan_time ;
5607 __le16 max_scan_time ;
5608};
5609#line 476 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5610struct mwifiex_ie_type_key_param_set {
5611 __le16 type ;
5612 __le16 length ;
5613 __le16 key_type_id ;
5614 __le16 key_info ;
5615 __le16 key_len ;
5616 u8 key[50U] ;
5617};
5618#line 487 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5619struct host_cmd_ds_802_11_key_material {
5620 __le16 action ;
5621 struct mwifiex_ie_type_key_param_set key_param_set ;
5622};
5623#line 620 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5624struct ieee_types_cf_param_set {
5625 u8 element_id ;
5626 u8 len ;
5627 u8 cfp_cnt ;
5628 u8 cfp_period ;
5629 u16 cfp_max_duration ;
5630 u16 cfp_duration_remaining ;
5631};
5632#line 629 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5633struct ieee_types_ibss_param_set {
5634 u8 element_id ;
5635 u8 len ;
5636 __le16 atim_window ;
5637};
5638#line 635 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5639union ieee_types_ss_param_set {
5640 struct ieee_types_cf_param_set cf_param_set ;
5641 struct ieee_types_ibss_param_set ibss_param_set ;
5642};
5643#line 640 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5644struct ieee_types_fh_param_set {
5645 u8 element_id ;
5646 u8 len ;
5647 __le16 dwell_time ;
5648 u8 hop_set ;
5649 u8 hop_pattern ;
5650 u8 hop_index ;
5651};
5652#line 649 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5653struct ieee_types_ds_param_set {
5654 u8 element_id ;
5655 u8 len ;
5656 u8 current_chan ;
5657};
5658#line 655 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5659union ieee_types_phy_param_set {
5660 struct ieee_types_fh_param_set fh_param_set ;
5661 struct ieee_types_ds_param_set ds_param_set ;
5662};
5663#line 733 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5664struct mwifiex_hs_config_param {
5665 __le32 conditions ;
5666 u8 gpio ;
5667 u8 gap ;
5668};
5669#line 845 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5670struct mwifiex_user_scan_chan {
5671 u8 chan_number ;
5672 u8 radio_type ;
5673 u8 scan_type ;
5674 u8 reserved ;
5675 u32 scan_time ;
5676};
5677#line 854 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5678struct mwifiex_user_scan_cfg {
5679 u8 bss_mode ;
5680 u8 num_probes ;
5681 u8 reserved ;
5682 u8 specific_bssid[6U] ;
5683 struct cfg80211_ssid *ssid_list ;
5684 u8 num_ssids ;
5685 struct mwifiex_user_scan_chan chan_list[50U] ;
5686};
5687#line 981 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5688struct ieee_types_vendor_header {
5689 u8 element_id ;
5690 u8 len ;
5691 u8 oui[3U] ;
5692 u8 oui_type ;
5693 u8 oui_subtype ;
5694 u8 version ;
5695};
5696#line 990 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5697struct ieee_types_wmm_ac_parameters {
5698 u8 aci_aifsn_bitmap ;
5699 u8 ecw_bitmap ;
5700 __le16 tx_op_limit ;
5701};
5702#line 996 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5703struct ieee_types_wmm_parameter {
5704 struct ieee_types_vendor_header vend_hdr ;
5705 u8 qos_info_bitmap ;
5706 u8 reserved ;
5707 struct ieee_types_wmm_ac_parameters ac_params[4U] ;
5708};
5709#line 1034 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/fw.h"
5710struct mwifiex_wmm_ac_status {
5711 u8 disabled ;
5712 u8 flow_required ;
5713 u8 flow_created ;
5714};
5715#line 99 "include/linux/security.h"
5716struct xfrm_policy;
5717#line 99
5718struct xfrm_policy;
5719#line 100
5720struct xfrm_state;
5721#line 100
5722struct xfrm_state;
5723#line 443 "include/linux/memcontrol.h"
5724struct res_counter {
5725 unsigned long long usage ;
5726 unsigned long long max_usage ;
5727 unsigned long long limit ;
5728 unsigned long long soft_limit ;
5729 unsigned long long failcnt ;
5730 spinlock_t lock ;
5731 struct res_counter *parent ;
5732};
5733#line 225 "include/linux/res_counter.h"
5734struct sock_filter {
5735 __u16 code ;
5736 __u8 jt ;
5737 __u8 jf ;
5738 __u32 k ;
5739};
5740#line 37 "include/linux/filter.h"
5741struct sk_filter {
5742 atomic_t refcnt ;
5743 unsigned int len ;
5744 unsigned int (*bpf_func)(struct sk_buff const * , struct sock_filter const * ) ;
5745 struct rcu_head rcu ;
5746 struct sock_filter insns[0U] ;
5747};
5748#line 34 "include/linux/poll.h"
5749struct poll_table_struct {
5750 void (*_qproc)(struct file * , wait_queue_head_t * , struct poll_table_struct * ) ;
5751 unsigned long _key ;
5752};
5753#line 819 "include/linux/rtnetlink.h"
5754struct nla_policy {
5755 u16 type ;
5756 u16 len ;
5757};
5758#line 27 "include/net/rtnetlink.h"
5759struct rtnl_link_ops {
5760 struct list_head list ;
5761 char const *kind ;
5762 size_t priv_size ;
5763 void (*setup)(struct net_device * ) ;
5764 int maxtype ;
5765 struct nla_policy const *policy ;
5766 int (*validate)(struct nlattr ** , struct nlattr ** ) ;
5767 int (*newlink)(struct net * , struct net_device * , struct nlattr ** , struct nlattr ** ) ;
5768 int (*changelink)(struct net_device * , struct nlattr ** , struct nlattr ** ) ;
5769 void (*dellink)(struct net_device * , struct list_head * ) ;
5770 size_t (*get_size)(struct net_device const * ) ;
5771 int (*fill_info)(struct sk_buff * , struct net_device const * ) ;
5772 size_t (*get_xstats_size)(struct net_device const * ) ;
5773 int (*fill_xstats)(struct sk_buff * , struct net_device const * ) ;
5774 int (*get_tx_queues)(struct net * , struct nlattr ** , unsigned int * , unsigned int * ) ;
5775};
5776#line 130
5777struct neigh_table;
5778#line 130 "include/net/rtnetlink.h"
5779struct neigh_parms {
5780 struct net *net ;
5781 struct net_device *dev ;
5782 struct neigh_parms *next ;
5783 int (*neigh_setup)(struct neighbour * ) ;
5784 void (*neigh_cleanup)(struct neighbour * ) ;
5785 struct neigh_table *tbl ;
5786 void *sysctl_table ;
5787 int dead ;
5788 atomic_t refcnt ;
5789 struct rcu_head rcu_head ;
5790 int base_reachable_time ;
5791 int retrans_time ;
5792 int gc_staletime ;
5793 int reachable_time ;
5794 int delay_probe_time ;
5795 int queue_len_bytes ;
5796 int ucast_probes ;
5797 int app_probes ;
5798 int mcast_probes ;
5799 int anycast_delay ;
5800 int proxy_delay ;
5801 int proxy_qlen ;
5802 int locktime ;
5803};
5804#line 71 "include/net/neighbour.h"
5805struct neigh_statistics {
5806 unsigned long allocs ;
5807 unsigned long destroys ;
5808 unsigned long hash_grows ;
5809 unsigned long res_failed ;
5810 unsigned long lookups ;
5811 unsigned long hits ;
5812 unsigned long rcv_probes_mcast ;
5813 unsigned long rcv_probes_ucast ;
5814 unsigned long periodic_gc_runs ;
5815 unsigned long forced_gc_runs ;
5816 unsigned long unres_discards ;
5817};
5818#line 90
5819struct neigh_ops;
5820#line 90 "include/net/neighbour.h"
5821struct neighbour {
5822 struct neighbour *next ;
5823 struct neigh_table *tbl ;
5824 struct neigh_parms *parms ;
5825 unsigned long confirmed ;
5826 unsigned long updated ;
5827 rwlock_t lock ;
5828 atomic_t refcnt ;
5829 struct sk_buff_head arp_queue ;
5830 unsigned int arp_queue_len_bytes ;
5831 struct timer_list timer ;
5832 unsigned long used ;
5833 atomic_t probes ;
5834 __u8 flags ;
5835 __u8 nud_state ;
5836 __u8 type ;
5837 __u8 dead ;
5838 seqlock_t ha_lock ;
5839 unsigned char ha[32U] ;
5840 struct hh_cache hh ;
5841 int (*output)(struct neighbour * , struct sk_buff * ) ;
5842 struct neigh_ops const *ops ;
5843 struct rcu_head rcu ;
5844 struct net_device *dev ;
5845 u8 primary_key[0U] ;
5846};
5847#line 119 "include/net/neighbour.h"
5848struct neigh_ops {
5849 int family ;
5850 void (*solicit)(struct neighbour * , struct sk_buff * ) ;
5851 void (*error_report)(struct neighbour * , struct sk_buff * ) ;
5852 int (*output)(struct neighbour * , struct sk_buff * ) ;
5853 int (*connected_output)(struct neighbour * , struct sk_buff * ) ;
5854};
5855#line 127 "include/net/neighbour.h"
5856struct pneigh_entry {
5857 struct pneigh_entry *next ;
5858 struct net *net ;
5859 struct net_device *dev ;
5860 u8 flags ;
5861 u8 key[0U] ;
5862};
5863#line 137 "include/net/neighbour.h"
5864struct neigh_hash_table {
5865 struct neighbour **hash_buckets ;
5866 unsigned int hash_shift ;
5867 __u32 hash_rnd[4U] ;
5868 struct rcu_head rcu ;
5869};
5870#line 150 "include/net/neighbour.h"
5871struct neigh_table {
5872 struct neigh_table *next ;
5873 int family ;
5874 int entry_size ;
5875 int key_len ;
5876 __u32 (*hash)(void const * , struct net_device const * , __u32 * ) ;
5877 int (*constructor)(struct neighbour * ) ;
5878 int (*pconstructor)(struct pneigh_entry * ) ;
5879 void (*pdestructor)(struct pneigh_entry * ) ;
5880 void (*proxy_redo)(struct sk_buff * ) ;
5881 char *id ;
5882 struct neigh_parms parms ;
5883 int gc_interval ;
5884 int gc_thresh1 ;
5885 int gc_thresh2 ;
5886 int gc_thresh3 ;
5887 unsigned long last_flush ;
5888 struct delayed_work gc_work ;
5889 struct timer_list proxy_timer ;
5890 struct sk_buff_head proxy_queue ;
5891 atomic_t entries ;
5892 rwlock_t lock ;
5893 unsigned long last_rand ;
5894 struct neigh_statistics *stats ;
5895 struct neigh_hash_table *nht ;
5896 struct pneigh_entry **phash_buckets ;
5897};
5898#line 411 "include/net/neighbour.h"
5899union __anonunion_ldv_42071_261 {
5900 unsigned long expires ;
5901 struct dst_entry *from ;
5902};
5903#line 411
5904struct dn_route;
5905#line 411 "include/net/neighbour.h"
5906union __anonunion_ldv_42095_262 {
5907 struct dst_entry *next ;
5908 struct rtable *rt_next ;
5909 struct rt6_info *rt6_next ;
5910 struct dn_route *dn_next ;
5911};
5912#line 411 "include/net/neighbour.h"
5913struct dst_entry {
5914 struct rcu_head rcu_head ;
5915 struct dst_entry *child ;
5916 struct net_device *dev ;
5917 struct dst_ops *ops ;
5918 unsigned long _metrics ;
5919 union __anonunion_ldv_42071_261 ldv_42071 ;
5920 struct dst_entry *path ;
5921 struct neighbour *_neighbour ;
5922 struct xfrm_state *xfrm ;
5923 int (*input)(struct sk_buff * ) ;
5924 int (*output)(struct sk_buff * ) ;
5925 int flags ;
5926 short error ;
5927 short obsolete ;
5928 unsigned short header_len ;
5929 unsigned short trailer_len ;
5930 __u32 tclassid ;
5931 long __pad_to_align_refcnt[2U] ;
5932 atomic_t __refcnt ;
5933 int __use ;
5934 unsigned long lastuse ;
5935 union __anonunion_ldv_42095_262 ldv_42095 ;
5936};
5937#line 122 "include/net/sock.h"
5938struct __anonstruct_socket_lock_t_263 {
5939 spinlock_t slock ;
5940 int owned ;
5941 wait_queue_head_t wq ;
5942 struct lockdep_map dep_map ;
5943};
5944#line 122 "include/net/sock.h"
5945typedef struct __anonstruct_socket_lock_t_263 socket_lock_t;
5946#line 122
5947struct proto;
5948#line 122
5949struct proto;
5950#line 123 "include/net/sock.h"
5951union __anonunion_ldv_42322_264 {
5952 unsigned int skc_hash ;
5953 __u16 skc_u16hashes[2U] ;
5954};
5955#line 123 "include/net/sock.h"
5956union __anonunion_ldv_42330_265 {
5957 struct hlist_node skc_bind_node ;
5958 struct hlist_nulls_node skc_portaddr_node ;
5959};
5960#line 123 "include/net/sock.h"
5961union __anonunion_ldv_42337_266 {
5962 struct hlist_node skc_node ;
5963 struct hlist_nulls_node skc_nulls_node ;
5964};
5965#line 123 "include/net/sock.h"
5966struct sock_common {
5967 __be32 skc_daddr ;
5968 __be32 skc_rcv_saddr ;
5969 union __anonunion_ldv_42322_264 ldv_42322 ;
5970 unsigned short skc_family ;
5971 unsigned char volatile skc_state ;
5972 unsigned char skc_reuse ;
5973 int skc_bound_dev_if ;
5974 union __anonunion_ldv_42330_265 ldv_42330 ;
5975 struct proto *skc_prot ;
5976 struct net *skc_net ;
5977 int skc_dontcopy_begin[0U] ;
5978 union __anonunion_ldv_42337_266 ldv_42337 ;
5979 int skc_tx_queue_mapping ;
5980 atomic_t skc_refcnt ;
5981 int skc_dontcopy_end[0U] ;
5982};
5983#line 189
5984struct cg_proto;
5985#line 189
5986struct cg_proto;
5987#line 190 "include/net/sock.h"
5988struct __anonstruct_sk_backlog_267 {
5989 atomic_t rmem_alloc ;
5990 int len ;
5991 struct sk_buff *head ;
5992 struct sk_buff *tail ;
5993};
5994#line 190 "include/net/sock.h"
5995struct sock {
5996 struct sock_common __sk_common ;
5997 socket_lock_t sk_lock ;
5998 struct sk_buff_head sk_receive_queue ;
5999 struct __anonstruct_sk_backlog_267 sk_backlog ;
6000 int sk_forward_alloc ;
6001 __u32 sk_rxhash ;
6002 atomic_t sk_drops ;
6003 int sk_rcvbuf ;
6004 struct sk_filter *sk_filter ;
6005 struct socket_wq *sk_wq ;
6006 struct sk_buff_head sk_async_wait_queue ;
6007 struct xfrm_policy *sk_policy[2U] ;
6008 unsigned long sk_flags ;
6009 struct dst_entry *sk_dst_cache ;
6010 spinlock_t sk_dst_lock ;
6011 atomic_t sk_wmem_alloc ;
6012 atomic_t sk_omem_alloc ;
6013 int sk_sndbuf ;
6014 struct sk_buff_head sk_write_queue ;
6015 unsigned char sk_shutdown : 2 ;
6016 unsigned char sk_no_check : 2 ;
6017 unsigned char sk_userlocks : 4 ;
6018 unsigned char sk_protocol ;
6019 unsigned short sk_type ;
6020 int sk_wmem_queued ;
6021 gfp_t sk_allocation ;
6022 netdev_features_t sk_route_caps ;
6023 netdev_features_t sk_route_nocaps ;
6024 int sk_gso_type ;
6025 unsigned int sk_gso_max_size ;
6026 int sk_rcvlowat ;
6027 unsigned long sk_lingertime ;
6028 struct sk_buff_head sk_error_queue ;
6029 struct proto *sk_prot_creator ;
6030 rwlock_t sk_callback_lock ;
6031 int sk_err ;
6032 int sk_err_soft ;
6033 unsigned short sk_ack_backlog ;
6034 unsigned short sk_max_ack_backlog ;
6035 __u32 sk_priority ;
6036 __u32 sk_cgrp_prioidx ;
6037 struct pid *sk_peer_pid ;
6038 struct cred const *sk_peer_cred ;
6039 long sk_rcvtimeo ;
6040 long sk_sndtimeo ;
6041 void *sk_protinfo ;
6042 struct timer_list sk_timer ;
6043 ktime_t sk_stamp ;
6044 struct socket *sk_socket ;
6045 void *sk_user_data ;
6046 struct page *sk_sndmsg_page ;
6047 struct sk_buff *sk_send_head ;
6048 __u32 sk_sndmsg_off ;
6049 __s32 sk_peek_off ;
6050 int sk_write_pending ;
6051 void *sk_security ;
6052 __u32 sk_mark ;
6053 u32 sk_classid ;
6054 struct cg_proto *sk_cgrp ;
6055 void (*sk_state_change)(struct sock * ) ;
6056 void (*sk_data_ready)(struct sock * , int ) ;
6057 void (*sk_write_space)(struct sock * ) ;
6058 void (*sk_error_report)(struct sock * ) ;
6059 int (*sk_backlog_rcv)(struct sock * , struct sk_buff * ) ;
6060 void (*sk_destruct)(struct sock * ) ;
6061};
6062#line 787
6063struct request_sock_ops;
6064#line 787
6065struct request_sock_ops;
6066#line 788
6067struct timewait_sock_ops;
6068#line 788
6069struct timewait_sock_ops;
6070#line 789
6071struct inet_hashinfo;
6072#line 789
6073struct inet_hashinfo;
6074#line 790
6075struct raw_hashinfo;
6076#line 790
6077struct raw_hashinfo;
6078#line 791
6079struct udp_table;
6080#line 791 "include/net/sock.h"
6081union __anonunion_h_268 {
6082 struct inet_hashinfo *hashinfo ;
6083 struct udp_table *udp_table ;
6084 struct raw_hashinfo *raw_hash ;
6085};
6086#line 791 "include/net/sock.h"
6087struct proto {
6088 void (*close)(struct sock * , long ) ;
6089 int (*connect)(struct sock * , struct sockaddr * , int ) ;
6090 int (*disconnect)(struct sock * , int ) ;
6091 struct sock *(*accept)(struct sock * , int , int * ) ;
6092 int (*ioctl)(struct sock * , int , unsigned long ) ;
6093 int (*init)(struct sock * ) ;
6094 void (*destroy)(struct sock * ) ;
6095 void (*shutdown)(struct sock * , int ) ;
6096 int (*setsockopt)(struct sock * , int , int , char * , unsigned int ) ;
6097 int (*getsockopt)(struct sock * , int , int , char * , int * ) ;
6098 int (*compat_setsockopt)(struct sock * , int , int , char * , unsigned int ) ;
6099 int (*compat_getsockopt)(struct sock * , int , int , char * , int * ) ;
6100 int (*compat_ioctl)(struct sock * , unsigned int , unsigned long ) ;
6101 int (*sendmsg)(struct kiocb * , struct sock * , struct msghdr * , size_t ) ;
6102 int (*recvmsg)(struct kiocb * , struct sock * , struct msghdr * , size_t , int ,
6103 int , int * ) ;
6104 int (*sendpage)(struct sock * , struct page * , int , size_t , int ) ;
6105 int (*bind)(struct sock * , struct sockaddr * , int ) ;
6106 int (*backlog_rcv)(struct sock * , struct sk_buff * ) ;
6107 void (*hash)(struct sock * ) ;
6108 void (*unhash)(struct sock * ) ;
6109 void (*rehash)(struct sock * ) ;
6110 int (*get_port)(struct sock * , unsigned short ) ;
6111 void (*clear_sk)(struct sock * , int ) ;
6112 unsigned int inuse_idx ;
6113 void (*enter_memory_pressure)(struct sock * ) ;
6114 atomic_long_t *memory_allocated ;
6115 struct percpu_counter *sockets_allocated ;
6116 int *memory_pressure ;
6117 long *sysctl_mem ;
6118 int *sysctl_wmem ;
6119 int *sysctl_rmem ;
6120 int max_header ;
6121 bool no_autobind ;
6122 struct kmem_cache *slab ;
6123 unsigned int obj_size ;
6124 int slab_flags ;
6125 struct percpu_counter *orphan_count ;
6126 struct request_sock_ops *rsk_prot ;
6127 struct timewait_sock_ops *twsk_prot ;
6128 union __anonunion_h_268 h ;
6129 struct module *owner ;
6130 char name[32U] ;
6131 struct list_head node ;
6132 int (*init_cgroup)(struct cgroup * , struct cgroup_subsys * ) ;
6133 void (*destroy_cgroup)(struct cgroup * ) ;
6134 struct cg_proto *(*proto_cgroup)(struct mem_cgroup * ) ;
6135};
6136#line 909 "include/net/sock.h"
6137struct cg_proto {
6138 void (*enter_memory_pressure)(struct sock * ) ;
6139 struct res_counter *memory_allocated ;
6140 struct percpu_counter *sockets_allocated ;
6141 int *memory_pressure ;
6142 long *sysctl_mem ;
6143 struct mem_cgroup *memcg ;
6144};
6145#line 12 "include/linux/mod_devicetable.h"
6146typedef unsigned long kernel_ulong_t;
6147#line 13 "include/linux/mod_devicetable.h"
6148struct pci_device_id {
6149 __u32 vendor ;
6150 __u32 device ;
6151 __u32 subvendor ;
6152 __u32 subdevice ;
6153 __u32 class ;
6154 __u32 class_mask ;
6155 kernel_ulong_t driver_data ;
6156};
6157#line 215 "include/linux/mod_devicetable.h"
6158struct of_device_id {
6159 char name[32U] ;
6160 char type[32U] ;
6161 char compatible[128U] ;
6162 void *data ;
6163};
6164#line 69 "include/linux/io.h"
6165struct hotplug_slot;
6166#line 69 "include/linux/io.h"
6167struct pci_slot {
6168 struct pci_bus *bus ;
6169 struct list_head list ;
6170 struct hotplug_slot *hotplug ;
6171 unsigned char number ;
6172 struct kobject kobj ;
6173};
6174#line 117 "include/linux/pci.h"
6175typedef int pci_power_t;
6176#line 143 "include/linux/pci.h"
6177typedef unsigned int pci_channel_state_t;
6178#line 144
6179enum pci_channel_state {
6180 pci_channel_io_normal = 1,
6181 pci_channel_io_frozen = 2,
6182 pci_channel_io_perm_failure = 3
6183} ;
6184#line 169 "include/linux/pci.h"
6185typedef unsigned short pci_dev_flags_t;
6186#line 186 "include/linux/pci.h"
6187typedef unsigned short pci_bus_flags_t;
6188#line 229
6189struct pcie_link_state;
6190#line 229
6191struct pcie_link_state;
6192#line 230
6193struct pci_vpd;
6194#line 230
6195struct pci_vpd;
6196#line 231
6197struct pci_sriov;
6198#line 231
6199struct pci_sriov;
6200#line 232
6201struct pci_ats;
6202#line 232
6203struct pci_ats;
6204#line 233
6205struct pci_driver;
6206#line 233 "include/linux/pci.h"
6207union __anonunion_ldv_43938_270 {
6208 struct pci_sriov *sriov ;
6209 struct pci_dev *physfn ;
6210};
6211#line 233 "include/linux/pci.h"
6212struct pci_dev {
6213 struct list_head bus_list ;
6214 struct pci_bus *bus ;
6215 struct pci_bus *subordinate ;
6216 void *sysdata ;
6217 struct proc_dir_entry *procent ;
6218 struct pci_slot *slot ;
6219 unsigned int devfn ;
6220 unsigned short vendor ;
6221 unsigned short device ;
6222 unsigned short subsystem_vendor ;
6223 unsigned short subsystem_device ;
6224 unsigned int class ;
6225 u8 revision ;
6226 u8 hdr_type ;
6227 u8 pcie_cap ;
6228 unsigned char pcie_type : 4 ;
6229 unsigned char pcie_mpss : 3 ;
6230 u8 rom_base_reg ;
6231 u8 pin ;
6232 struct pci_driver *driver ;
6233 u64 dma_mask ;
6234 struct device_dma_parameters dma_parms ;
6235 pci_power_t current_state ;
6236 int pm_cap ;
6237 unsigned char pme_support : 5 ;
6238 unsigned char pme_interrupt : 1 ;
6239 unsigned char pme_poll : 1 ;
6240 unsigned char d1_support : 1 ;
6241 unsigned char d2_support : 1 ;
6242 unsigned char no_d1d2 : 1 ;
6243 unsigned char mmio_always_on : 1 ;
6244 unsigned char wakeup_prepared : 1 ;
6245 unsigned int d3_delay ;
6246 struct pcie_link_state *link_state ;
6247 pci_channel_state_t error_state ;
6248 struct device dev ;
6249 int cfg_size ;
6250 unsigned int irq ;
6251 struct resource resource[17U] ;
6252 unsigned char transparent : 1 ;
6253 unsigned char multifunction : 1 ;
6254 unsigned char is_added : 1 ;
6255 unsigned char is_busmaster : 1 ;
6256 unsigned char no_msi : 1 ;
6257 unsigned char block_cfg_access : 1 ;
6258 unsigned char broken_parity_status : 1 ;
6259 unsigned char irq_reroute_variant : 2 ;
6260 unsigned char msi_enabled : 1 ;
6261 unsigned char msix_enabled : 1 ;
6262 unsigned char ari_enabled : 1 ;
6263 unsigned char is_managed : 1 ;
6264 unsigned char is_pcie : 1 ;
6265 unsigned char needs_freset : 1 ;
6266 unsigned char state_saved : 1 ;
6267 unsigned char is_physfn : 1 ;
6268 unsigned char is_virtfn : 1 ;
6269 unsigned char reset_fn : 1 ;
6270 unsigned char is_hotplug_bridge : 1 ;
6271 unsigned char __aer_firmware_first_valid : 1 ;
6272 unsigned char __aer_firmware_first : 1 ;
6273 pci_dev_flags_t dev_flags ;
6274 atomic_t enable_cnt ;
6275 u32 saved_config_space[16U] ;
6276 struct hlist_head saved_cap_space ;
6277 struct bin_attribute *rom_attr ;
6278 int rom_attr_enabled ;
6279 struct bin_attribute *res_attr[17U] ;
6280 struct bin_attribute *res_attr_wc[17U] ;
6281 struct list_head msi_list ;
6282 struct kset *msi_kset ;
6283 struct pci_vpd *vpd ;
6284 union __anonunion_ldv_43938_270 ldv_43938 ;
6285 struct pci_ats *ats ;
6286};
6287#line 403
6288struct pci_ops;
6289#line 403 "include/linux/pci.h"
6290struct pci_bus {
6291 struct list_head node ;
6292 struct pci_bus *parent ;
6293 struct list_head children ;
6294 struct list_head devices ;
6295 struct pci_dev *self ;
6296 struct list_head slots ;
6297 struct resource *resource[4U] ;
6298 struct list_head resources ;
6299 struct pci_ops *ops ;
6300 void *sysdata ;
6301 struct proc_dir_entry *procdir ;
6302 unsigned char number ;
6303 unsigned char primary ;
6304 unsigned char secondary ;
6305 unsigned char subordinate ;
6306 unsigned char max_bus_speed ;
6307 unsigned char cur_bus_speed ;
6308 char name[48U] ;
6309 unsigned short bridge_ctl ;
6310 pci_bus_flags_t bus_flags ;
6311 struct device *bridge ;
6312 struct device dev ;
6313 struct bin_attribute *legacy_io ;
6314 struct bin_attribute *legacy_mem ;
6315 unsigned char is_added : 1 ;
6316};
6317#line 455 "include/linux/pci.h"
6318struct pci_ops {
6319 int (*read)(struct pci_bus * , unsigned int , int , int , u32 * ) ;
6320 int (*write)(struct pci_bus * , unsigned int , int , int , u32 ) ;
6321};
6322#line 490 "include/linux/pci.h"
6323struct pci_dynids {
6324 spinlock_t lock ;
6325 struct list_head list ;
6326};
6327#line 503 "include/linux/pci.h"
6328typedef unsigned int pci_ers_result_t;
6329#line 512 "include/linux/pci.h"
6330struct pci_error_handlers {
6331 pci_ers_result_t (*error_detected)(struct pci_dev * , enum pci_channel_state ) ;
6332 pci_ers_result_t (*mmio_enabled)(struct pci_dev * ) ;
6333 pci_ers_result_t (*link_reset)(struct pci_dev * ) ;
6334 pci_ers_result_t (*slot_reset)(struct pci_dev * ) ;
6335 void (*resume)(struct pci_dev * ) ;
6336};
6337#line 540 "include/linux/pci.h"
6338struct pci_driver {
6339 struct list_head node ;
6340 char const *name ;
6341 struct pci_device_id const *id_table ;
6342 int (*probe)(struct pci_dev * , struct pci_device_id const * ) ;
6343 void (*remove)(struct pci_dev * ) ;
6344 int (*suspend)(struct pci_dev * , pm_message_t ) ;
6345 int (*suspend_late)(struct pci_dev * , pm_message_t ) ;
6346 int (*resume_early)(struct pci_dev * ) ;
6347 int (*resume)(struct pci_dev * ) ;
6348 void (*shutdown)(struct pci_dev * ) ;
6349 struct pci_error_handlers *err_handler ;
6350 struct device_driver driver ;
6351 struct pci_dynids dynids ;
6352};
6353#line 702 "include/linux/interrupt.h"
6354struct mwifiex_pcie_buf_desc {
6355 u64 paddr ;
6356 u16 len ;
6357 u16 flags ;
6358};
6359#line 112 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/pcie.h"
6360struct mwifiex_adapter;
6361#line 112 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/pcie.h"
6362struct pcie_service_card {
6363 struct pci_dev *dev ;
6364 struct mwifiex_adapter *adapter ;
6365 u32 txbd_wrptr ;
6366 u32 txbd_rdptr ;
6367 u32 txbd_ring_size ;
6368 u8 *txbd_ring_vbase ;
6369 phys_addr_t txbd_ring_pbase ;
6370 struct mwifiex_pcie_buf_desc *txbd_ring[32U] ;
6371 struct sk_buff *tx_buf_list[32U] ;
6372 u32 rxbd_wrptr ;
6373 u32 rxbd_rdptr ;
6374 u32 rxbd_ring_size ;
6375 u8 *rxbd_ring_vbase ;
6376 phys_addr_t rxbd_ring_pbase ;
6377 struct mwifiex_pcie_buf_desc *rxbd_ring[32U] ;
6378 struct sk_buff *rx_buf_list[32U] ;
6379 u32 evtbd_wrptr ;
6380 u32 evtbd_rdptr ;
6381 u32 evtbd_ring_size ;
6382 u8 *evtbd_ring_vbase ;
6383 phys_addr_t evtbd_ring_pbase ;
6384 struct mwifiex_pcie_buf_desc *evtbd_ring[4U] ;
6385 struct sk_buff *evt_buf_list[4U] ;
6386 struct sk_buff *cmd_buf ;
6387 struct sk_buff *cmdrsp_buf ;
6388 struct sk_buff *sleep_cookie ;
6389 void *pci_mmap ;
6390 void *pci_mmap1 ;
6391};
6392#line 48 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6393struct mwifiex_dbg {
6394 u32 num_cmd_host_to_card_failure ;
6395 u32 num_cmd_sleep_cfm_host_to_card_failure ;
6396 u32 num_tx_host_to_card_failure ;
6397 u32 num_event_deauth ;
6398 u32 num_event_disassoc ;
6399 u32 num_event_link_lost ;
6400 u32 num_cmd_deauth ;
6401 u32 num_cmd_assoc_success ;
6402 u32 num_cmd_assoc_failure ;
6403 u32 num_tx_timeout ;
6404 u32 num_cmd_timeout ;
6405 u16 timeout_cmd_id ;
6406 u16 timeout_cmd_act ;
6407 u16 last_cmd_id[5U] ;
6408 u16 last_cmd_act[5U] ;
6409 u16 last_cmd_index ;
6410 u16 last_cmd_resp_id[5U] ;
6411 u16 last_cmd_resp_index ;
6412 u16 last_event[5U] ;
6413 u16 last_event_index ;
6414};
6415#line 135
6416enum MWIFIEX_HARDWARE_STATUS {
6417 MWIFIEX_HW_STATUS_READY = 0,
6418 MWIFIEX_HW_STATUS_INITIALIZING = 1,
6419 MWIFIEX_HW_STATUS_FW_READY = 2,
6420 MWIFIEX_HW_STATUS_INIT_DONE = 3,
6421 MWIFIEX_HW_STATUS_RESET = 4,
6422 MWIFIEX_HW_STATUS_CLOSING = 5,
6423 MWIFIEX_HW_STATUS_NOT_READY = 6
6424} ;
6425#line 150 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6426struct mwifiex_tx_param {
6427 u32 next_pkt_len ;
6428};
6429#line 166 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6430struct mwifiex_add_ba_param {
6431 u32 tx_win_size ;
6432 u32 rx_win_size ;
6433 u32 timeout ;
6434};
6435#line 172 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6436struct mwifiex_tx_aggr {
6437 u8 ampdu_user ;
6438 u8 ampdu_ap ;
6439 u8 amsdu ;
6440};
6441#line 178 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6442struct mwifiex_ra_list_tbl {
6443 struct list_head list ;
6444 struct sk_buff_head skb_head ;
6445 u8 ra[6U] ;
6446 u32 total_pkts_size ;
6447 u32 is_11n_enabled ;
6448};
6449#line 186 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6450struct mwifiex_tid_tbl {
6451 struct list_head ra_list ;
6452 spinlock_t tid_tbl_lock ;
6453 struct mwifiex_ra_list_tbl *ra_list_curr ;
6454};
6455#line 193 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6456struct mwifiex_wmm_desc {
6457 struct mwifiex_tid_tbl tid_tbl_ptr[8U] ;
6458 u32 packets_out[8U] ;
6459 spinlock_t ra_list_spinlock ;
6460 struct mwifiex_wmm_ac_status ac_status[4U] ;
6461 enum mwifiex_wmm_ac_e ac_down_graded_vals[4U] ;
6462 u32 drv_pkt_delay_max ;
6463 u8 queue_priority[4U] ;
6464 u32 user_pri_pkt_tx_ctrl[8U] ;
6465 atomic_t tx_pkts_queued ;
6466 atomic_t highest_queued_prio ;
6467};
6468#line 214 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6469struct mwifiex_802_11_security {
6470 u8 wpa_enabled ;
6471 u8 wpa2_enabled ;
6472 u8 wapi_enabled ;
6473 u8 wapi_key_on ;
6474 u8 wep_enabled ;
6475 u32 authentication_mode ;
6476 u8 is_authtype_auto ;
6477 u32 encryption_mode ;
6478};
6479#line 225 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6480struct ieee_types_header {
6481 u8 element_id ;
6482 u8 len ;
6483};
6484#line 230 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6485struct ieee_types_vendor_specific {
6486 struct ieee_types_vendor_header vend_hdr ;
6487 u8 data[248U] ;
6488};
6489#line 239 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6490struct ieee_types_generic {
6491 struct ieee_types_header ieee_hdr ;
6492 u8 data[254U] ;
6493};
6494#line 244 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6495struct mwifiex_bssdescriptor {
6496 u8 mac_address[6U] ;
6497 struct cfg80211_ssid ssid ;
6498 u32 privacy ;
6499 s32 rssi ;
6500 u32 channel ;
6501 u32 freq ;
6502 u16 beacon_period ;
6503 u8 erp_flags ;
6504 u32 bss_mode ;
6505 u8 supported_rates[14U] ;
6506 u8 data_rates[14U] ;
6507 u16 bss_band ;
6508 u64 network_tsf ;
6509 u8 time_stamp[8U] ;
6510 union ieee_types_phy_param_set phy_param_set ;
6511 union ieee_types_ss_param_set ss_param_set ;
6512 u16 cap_info_bitmap ;
6513 struct ieee_types_wmm_parameter wmm_ie ;
6514 u8 disable_11n ;
6515 struct ieee80211_ht_cap *bcn_ht_cap ;
6516 u16 ht_cap_offset ;
6517 struct ieee80211_ht_info *bcn_ht_info ;
6518 u16 ht_info_offset ;
6519 u8 *bcn_bss_co_2040 ;
6520 u16 bss_co_2040_offset ;
6521 u8 *bcn_ext_cap ;
6522 u16 ext_cap_offset ;
6523 struct ieee_types_vendor_specific *bcn_wpa_ie ;
6524 u16 wpa_offset ;
6525 struct ieee_types_generic *bcn_rsn_ie ;
6526 u16 rsn_offset ;
6527 struct ieee_types_generic *bcn_wapi_ie ;
6528 u16 wapi_offset ;
6529 u8 *beacon_buf ;
6530 u32 beacon_buf_size ;
6531};
6532#line 287 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6533struct mwifiex_current_bss_params {
6534 struct mwifiex_bssdescriptor bss_descriptor ;
6535 u8 wmm_enabled ;
6536 u8 wmm_uapsd_enabled ;
6537 u8 band ;
6538 u32 num_of_rates ;
6539 u8 data_rates[14U] ;
6540};
6541#line 296 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6542struct mwifiex_sleep_params {
6543 u16 sp_error ;
6544 u16 sp_offset ;
6545 u16 sp_stable_time ;
6546 u8 sp_cal_control ;
6547 u8 sp_ext_sleep_clk ;
6548 u16 sp_reserved ;
6549};
6550#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6551struct mwifiex_sleep_period {
6552 u16 period ;
6553 u16 reserved ;
6554};
6555#line 310 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6556struct mwifiex_wep_key {
6557 u32 length ;
6558 u32 key_index ;
6559 u32 key_length ;
6560 u8 key_material[16U] ;
6561};
6562#line 317 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6563struct mwifiex_chan_freq_power {
6564 u16 channel ;
6565 u32 freq ;
6566 u16 max_tx_power ;
6567 u8 unsupported ;
6568};
6569#line 331 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6570struct mwifiex_802_11d_domain_reg {
6571 u8 country_code[3U] ;
6572 u8 no_of_triplet ;
6573 struct ieee80211_country_ie_triplet triplet[83U] ;
6574};
6575#line 340 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6576struct mwifiex_vendor_spec_cfg_ie {
6577 u16 mask ;
6578 u16 flag ;
6579 u8 ie[256U] ;
6580};
6581#line 346 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6582struct wps {
6583 u8 session_enable ;
6584};
6585#line 350
6586struct mwifiex_private;
6587#line 350
6588struct mwifiex_private;
6589#line 351 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6590struct mwifiex_private {
6591 struct mwifiex_adapter *adapter ;
6592 u8 bss_type ;
6593 u8 bss_role ;
6594 u8 bss_priority ;
6595 u8 bss_num ;
6596 u8 frame_type ;
6597 u8 curr_addr[6U] ;
6598 u8 media_connected ;
6599 u32 num_tx_timeout ;
6600 struct net_device *netdev ;
6601 struct net_device_stats stats ;
6602 u16 curr_pkt_filter ;
6603 u32 bss_mode ;
6604 u32 pkt_tx_ctrl ;
6605 u16 tx_power_level ;
6606 u8 max_tx_power_level ;
6607 u8 min_tx_power_level ;
6608 u8 tx_rate ;
6609 u8 tx_htinfo ;
6610 u8 rxpd_htinfo ;
6611 u8 rxpd_rate ;
6612 u16 rate_bitmap ;
6613 u16 bitmap_rates[10U] ;
6614 u32 data_rate ;
6615 u8 is_data_rate_auto ;
6616 u16 bcn_avg_factor ;
6617 u16 data_avg_factor ;
6618 s16 data_rssi_last ;
6619 s16 data_nf_last ;
6620 s16 data_rssi_avg ;
6621 s16 data_nf_avg ;
6622 s16 bcn_rssi_last ;
6623 s16 bcn_nf_last ;
6624 s16 bcn_rssi_avg ;
6625 s16 bcn_nf_avg ;
6626 struct mwifiex_bssdescriptor *attempted_bss_desc ;
6627 struct cfg80211_ssid prev_ssid ;
6628 u8 prev_bssid[6U] ;
6629 struct mwifiex_current_bss_params curr_bss_params ;
6630 u16 beacon_period ;
6631 u8 dtim_period ;
6632 u16 listen_interval ;
6633 u16 atim_window ;
6634 u8 adhoc_channel ;
6635 u8 adhoc_is_link_sensed ;
6636 u8 adhoc_state ;
6637 struct mwifiex_802_11_security sec_info ;
6638 struct mwifiex_wep_key wep_key[4U] ;
6639 u16 wep_key_curr_index ;
6640 u8 wpa_ie[256U] ;
6641 u8 wpa_ie_len ;
6642 u8 wpa_is_gtk_set ;
6643 struct host_cmd_ds_802_11_key_material aes_key ;
6644 u8 wapi_ie[256U] ;
6645 u8 wapi_ie_len ;
6646 u8 wmm_required ;
6647 u8 wmm_enabled ;
6648 u8 wmm_qosinfo ;
6649 struct mwifiex_wmm_desc wmm ;
6650 struct list_head tx_ba_stream_tbl_ptr ;
6651 spinlock_t tx_ba_stream_tbl_lock ;
6652 struct mwifiex_tx_aggr aggr_prio_tbl[8U] ;
6653 struct mwifiex_add_ba_param add_ba_param ;
6654 u16 rx_seq[8U] ;
6655 struct list_head rx_reorder_tbl_ptr ;
6656 spinlock_t rx_reorder_tbl_lock ;
6657 spinlock_t rx_pkt_lock ;
6658 u8 assoc_rsp_buf[500U] ;
6659 u32 assoc_rsp_size ;
6660 u8 gen_ie_buf[256U] ;
6661 u8 gen_ie_buf_len ;
6662 struct mwifiex_vendor_spec_cfg_ie vs_ie[8U] ;
6663 u8 assoc_tlv_buf[256U] ;
6664 u8 assoc_tlv_buf_len ;
6665 u8 *curr_bcn_buf ;
6666 u32 curr_bcn_size ;
6667 spinlock_t curr_bcn_buf_lock ;
6668 struct wireless_dev *wdev ;
6669 struct mwifiex_chan_freq_power cfp ;
6670 char version_str[128U] ;
6671 struct dentry *dfs_dev_dir ;
6672 u8 nick_name[16U] ;
6673 u8 qual_level ;
6674 u8 qual_noise ;
6675 u16 current_key_index ;
6676 struct semaphore async_sem ;
6677 u8 scan_pending_on_block ;
6678 u8 report_scan_result ;
6679 struct cfg80211_scan_request *scan_request ;
6680 struct mwifiex_user_scan_cfg *user_scan_cfg ;
6681 u8 cfg_bssid[6U] ;
6682 u8 country_code[3U] ;
6683 struct wps wps ;
6684 u8 scan_block ;
6685};
6686#line 494 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6687struct mwifiex_bss_prio_node {
6688 struct list_head list ;
6689 struct mwifiex_private *priv ;
6690};
6691#line 499 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6692struct mwifiex_bss_prio_tbl {
6693 struct list_head bss_prio_head ;
6694 spinlock_t bss_prio_lock ;
6695 struct mwifiex_bss_prio_node *bss_prio_cur ;
6696};
6697#line 506 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6698struct cmd_ctrl_node {
6699 struct list_head list ;
6700 struct mwifiex_private *priv ;
6701 u32 cmd_oid ;
6702 u32 cmd_flag ;
6703 struct sk_buff *cmd_skb ;
6704 struct sk_buff *resp_skb ;
6705 void *data_buf ;
6706 u32 wait_q_enabled ;
6707 struct sk_buff *skb ;
6708 u8 *condition ;
6709 u8 cmd_wait_q_woken ;
6710};
6711#line 520 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6712struct mwifiex_if_ops {
6713 int (*init_if)(struct mwifiex_adapter * ) ;
6714 void (*cleanup_if)(struct mwifiex_adapter * ) ;
6715 int (*check_fw_status)(struct mwifiex_adapter * , u32 ) ;
6716 int (*prog_fw)(struct mwifiex_adapter * , struct mwifiex_fw_image * ) ;
6717 int (*register_dev)(struct mwifiex_adapter * ) ;
6718 void (*unregister_dev)(struct mwifiex_adapter * ) ;
6719 int (*enable_int)(struct mwifiex_adapter * ) ;
6720 int (*process_int_status)(struct mwifiex_adapter * ) ;
6721 int (*host_to_card)(struct mwifiex_adapter * , u8 , struct sk_buff * , struct mwifiex_tx_param * ) ;
6722 int (*wakeup)(struct mwifiex_adapter * ) ;
6723 int (*wakeup_complete)(struct mwifiex_adapter * ) ;
6724 void (*update_mp_end_port)(struct mwifiex_adapter * , u16 ) ;
6725 void (*cleanup_mpa_buf)(struct mwifiex_adapter * ) ;
6726 int (*cmdrsp_complete)(struct mwifiex_adapter * , struct sk_buff * ) ;
6727 int (*event_complete)(struct mwifiex_adapter * , struct sk_buff * ) ;
6728};
6729#line 541 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
6730struct mwifiex_adapter {
6731 u8 iface_type ;
6732 struct mwifiex_private *priv[1U] ;
6733 u8 priv_num ;
6734 struct firmware const *firmware ;
6735 char fw_name[32U] ;
6736 int winner ;
6737 struct device *dev ;
6738 bool surprise_removed ;
6739 u32 fw_release_number ;
6740 u16 init_wait_q_woken ;
6741 wait_queue_head_t init_wait_q ;
6742 void *card ;
6743 struct mwifiex_if_ops if_ops ;
6744 atomic_t rx_pending ;
6745 atomic_t tx_pending ;
6746 atomic_t cmd_pending ;
6747 struct workqueue_struct *workqueue ;
6748 struct work_struct main_work ;
6749 struct mwifiex_bss_prio_tbl bss_prio_tbl[1U] ;
6750 spinlock_t mwifiex_lock ;
6751 spinlock_t main_proc_lock ;
6752 u32 mwifiex_processing ;
6753 u16 max_tx_buf_size ;
6754 u16 tx_buf_size ;
6755 u16 curr_tx_buf_size ;
6756 u32 ioport ;
6757 enum MWIFIEX_HARDWARE_STATUS hw_status ;
6758 u16 number_of_antenna ;
6759 u32 fw_cap_info ;
6760 spinlock_t int_lock ;
6761 u8 int_status ;
6762 u32 event_cause ;
6763 struct sk_buff *event_skb ;
6764 u8 upld_buf[2312U] ;
6765 u8 data_sent ;
6766 u8 cmd_sent ;
6767 u8 cmd_resp_received ;
6768 u8 event_received ;
6769 u8 data_received ;
6770 u16 seq_num ;
6771 struct cmd_ctrl_node *cmd_pool ;
6772 struct cmd_ctrl_node *curr_cmd ;
6773 spinlock_t mwifiex_cmd_lock ;
6774 u32 num_cmd_timeout ;
6775 u16 last_init_cmd ;
6776 struct timer_list cmd_timer ;
6777 struct list_head cmd_free_q ;
6778 spinlock_t cmd_free_q_lock ;
6779 struct list_head cmd_pending_q ;
6780 spinlock_t cmd_pending_q_lock ;
6781 struct list_head scan_pending_q ;
6782 spinlock_t scan_pending_q_lock ;
6783 u32 scan_processing ;
6784 u16 region_code ;
6785 struct mwifiex_802_11d_domain_reg domain_reg ;
6786 u16 scan_probes ;
6787 u32 scan_mode ;
6788 u16 specific_scan_time ;
6789 u16 active_scan_time ;
6790 u16 passive_scan_time ;
6791 u8 fw_bands ;
6792 u8 adhoc_start_band ;
6793 u8 config_bands ;
6794 struct mwifiex_chan_scan_param_set *scan_channels ;
6795 u8 tx_lock_flag ;
6796 struct mwifiex_sleep_params sleep_params ;
6797 struct mwifiex_sleep_period sleep_period ;
6798 u16 ps_mode ;
6799 u32 ps_state ;
6800 u8 need_to_wakeup ;
6801 u16 multiple_dtim ;
6802 u16 local_listen_interval ;
6803 u16 null_pkt_interval ;
6804 struct sk_buff *sleep_cfm ;
6805 u16 bcn_miss_time_out ;
6806 u16 adhoc_awake_period ;
6807 u8 is_deep_sleep ;
6808 u8 delay_null_pkt ;
6809 u16 delay_to_ps ;
6810 u16 enhanced_ps_mode ;
6811 u8 pm_wakeup_card_req ;
6812 u16 gen_null_pkt ;
6813 u16 pps_uapsd_mode ;
6814 u32 pm_wakeup_fw_try ;
6815 u8 is_hs_configured ;
6816 struct mwifiex_hs_config_param hs_cfg ;
6817 u8 hs_activated ;
6818 u16 hs_activate_wait_q_woken ;
6819 wait_queue_head_t hs_activate_wait_q ;
6820 bool is_suspended ;
6821 u8 event_body[1024U] ;
6822 u32 hw_dot_11n_dev_cap ;
6823 u8 hw_dev_mcs_support ;
6824 u8 adhoc_11n_enabled ;
6825 u8 sec_chan_offset ;
6826 enum nl80211_channel_type channel_type ;
6827 struct mwifiex_dbg dbg ;
6828 u8 arp_filter[68U] ;
6829 u32 arp_filter_size ;
6830 u16 cmd_wait_q_required ;
6831 struct mwifiex_wait_queue cmd_wait_q ;
6832 u8 scan_wait_q_woken ;
6833 struct cmd_ctrl_node *cmd_queued ;
6834 spinlock_t queue_lock ;
6835};
6836#line 1 "<compiler builtins>"
6837
6838#line 1
6839long __builtin_expect(long , long ) ;
6840#line 2 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
6841void ldv_spin_lock(void) ;
6842#line 3
6843void ldv_spin_unlock(void) ;
6844#line 4
6845int ldv_spin_trylock(void) ;
6846#line 101 "include/linux/printk.h"
6847extern int printk(char const * , ...) ;
6848#line 45 "include/linux/dynamic_debug.h"
6849extern int __dynamic_pr_debug(struct _ddebug * , char const * , ...) ;
6850#line 50
6851extern int __dynamic_dev_dbg(struct _ddebug * , struct device const * , char const *
6852 , ...) ;
6853#line 61 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page_64_types.h"
6854extern unsigned long __phys_addr(unsigned long ) ;
6855#line 34 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/string_64.h"
6856extern void *__memcpy(void * , void const * , size_t ) ;
6857#line 58
6858extern void *memmove(void * , void const * , size_t ) ;
6859#line 62
6860extern char *strcpy(char * , char const * ) ;
6861#line 261 "include/linux/lockdep.h"
6862extern void lockdep_init_map(struct lockdep_map * , char const * , struct lock_class_key * ,
6863 int ) ;
6864#line 43 "include/linux/spinlock_api_smp.h"
6865extern void _raw_spin_unlock_irqrestore(raw_spinlock_t * , unsigned long ) ;
6866#line 350 "include/linux/spinlock.h"
6867__inline static void ldv_spin_unlock_irqrestore_8(spinlock_t *lock , unsigned long flags )
6868{ struct raw_spinlock *__cil_tmp5 ;
6869
6870 {
6871 {
6872#line 352
6873 __cil_tmp5 = (struct raw_spinlock *)lock;
6874#line 352
6875 _raw_spin_unlock_irqrestore(__cil_tmp5, flags);
6876 }
6877#line 353
6878 return;
6879}
6880}
6881#line 350
6882__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags ) ;
6883#line 368 "include/linux/workqueue.h"
6884extern int queue_work(struct workqueue_struct * , struct work_struct * ) ;
6885#line 111 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
6886__inline static phys_addr_t virt_to_phys(void volatile *address )
6887{ unsigned long tmp ;
6888 unsigned long __cil_tmp3 ;
6889
6890 {
6891 {
6892#line 113
6893 __cil_tmp3 = (unsigned long )address;
6894#line 113
6895 tmp = __phys_addr(__cil_tmp3);
6896 }
6897#line 113
6898 return ((phys_addr_t )tmp);
6899}
6900}
6901#line 31 "include/asm-generic/iomap.h"
6902extern unsigned int ioread32(void * ) ;
6903#line 37
6904extern void iowrite32(u32 , void * ) ;
6905#line 72
6906extern void pci_iounmap(struct pci_dev * , void * ) ;
6907#line 17 "include/asm-generic/pci_iomap.h"
6908extern void *pci_iomap(struct pci_dev * , int , unsigned long ) ;
6909#line 26 "include/linux/export.h"
6910extern struct module __this_module ;
6911#line 161 "include/linux/slab.h"
6912extern void kfree(void const * ) ;
6913#line 220 "include/linux/slub_def.h"
6914extern void *kmem_cache_alloc(struct kmem_cache * , gfp_t ) ;
6915#line 223
6916void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
6917#line 353 "include/linux/slab.h"
6918__inline static void *kzalloc(size_t size , gfp_t flags ) ;
6919#line 10 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
6920extern void *__VERIFIER_nondet_pointer(void) ;
6921#line 11
6922void ldv_check_alloc_flags(gfp_t flags ) ;
6923#line 12
6924void ldv_check_alloc_nonatomic(void) ;
6925#line 14
6926struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags ) ;
6927#line 792 "include/linux/device.h"
6928extern void *dev_get_drvdata(struct device const * ) ;
6929#line 793
6930extern int dev_set_drvdata(struct device * , void * ) ;
6931#line 892
6932extern int dev_err(struct device const * , char const * , ...) ;
6933#line 894
6934extern int dev_warn(struct device const * , char const * , ...) ;
6935#line 58 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/dma-mapping.h"
6936extern int dma_supported(struct device * , u64 ) ;
6937#line 59
6938extern int dma_set_mask(struct device * , u64 ) ;
6939#line 88 "include/linux/dma-mapping.h"
6940__inline static int dma_set_coherent_mask(struct device *dev , u64 mask )
6941{ int tmp ;
6942 unsigned long __cil_tmp4 ;
6943 unsigned long __cil_tmp5 ;
6944
6945 {
6946 {
6947#line 90
6948 tmp = dma_supported(dev, mask);
6949 }
6950#line 90
6951 if (tmp == 0) {
6952#line 91
6953 return (-5);
6954 } else {
6955
6956 }
6957#line 92
6958 __cil_tmp4 = (unsigned long )dev;
6959#line 92
6960 __cil_tmp5 = __cil_tmp4 + 928;
6961#line 92
6962 *((u64 *)__cil_tmp5) = mask;
6963#line 93
6964 return (0);
6965}
6966}
6967#line 591 "include/linux/skbuff.h"
6968extern struct sk_buff *skb_clone(struct sk_buff * , gfp_t ) ;
6969#line 595
6970struct sk_buff *ldv_skb_clone_22(struct sk_buff *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
6971#line 597
6972extern struct sk_buff *skb_copy(struct sk_buff const * , gfp_t ) ;
6973#line 601
6974struct sk_buff *ldv_skb_copy_24(struct sk_buff const *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
6975#line 606
6976extern int pskb_expand_head(struct sk_buff * , int , int , gfp_t ) ;
6977#line 611
6978int ldv_pskb_expand_head_27(struct sk_buff *ldv_func_arg1 , int ldv_func_arg2 , int ldv_func_arg3 ,
6979 gfp_t ldv_func_arg4 ) ;
6980#line 1292
6981extern unsigned char *skb_put(struct sk_buff * , unsigned int ) ;
6982#line 1302
6983extern unsigned char *skb_push(struct sk_buff * , unsigned int ) ;
6984#line 1310
6985extern unsigned char *skb_pull(struct sk_buff * , unsigned int ) ;
6986#line 1605
6987extern void skb_trim(struct sk_buff * , unsigned int ) ;
6988#line 1688
6989extern struct sk_buff *dev_alloc_skb(unsigned int ) ;
6990#line 1690
6991extern struct sk_buff *__netdev_alloc_skb(struct net_device * , unsigned int , gfp_t ) ;
6992#line 1694
6993struct sk_buff *ldv___netdev_alloc_skb_25(struct net_device *ldv_func_arg1 , unsigned int ldv_func_arg2 ,
6994 gfp_t ldv_func_arg3 ) ;
6995#line 1698
6996struct sk_buff *ldv___netdev_alloc_skb_26(struct net_device *ldv_func_arg1 , unsigned int ldv_func_arg2 ,
6997 gfp_t ldv_func_arg3 ) ;
6998#line 10 "include/asm-generic/delay.h"
6999extern void __const_udelay(unsigned long ) ;
7000#line 48 "include/linux/delay.h"
7001extern void usleep_range(unsigned long , unsigned long ) ;
7002#line 32 "include/linux/semaphore.h"
7003__inline static void sema_init(struct semaphore *sem , int val )
7004{ struct lock_class_key __key ;
7005 struct semaphore __constr_expr_0 ;
7006 unsigned long __cil_tmp5 ;
7007 unsigned long __cil_tmp6 ;
7008 unsigned long __cil_tmp7 ;
7009 unsigned long __cil_tmp8 ;
7010 unsigned long __cil_tmp9 ;
7011 unsigned long __cil_tmp10 ;
7012 unsigned long __cil_tmp11 ;
7013 struct lockdep_map *__cil_tmp12 ;
7014 struct list_head *__constr_expr_0_prev13 ;
7015 struct list_head *__constr_expr_0_next14 ;
7016 unsigned int __constr_expr_0_count15 ;
7017 struct lockdep_map __constr_expr_0_dep_map16 ;
7018 void *__constr_expr_0_owner17 ;
7019 unsigned int __constr_expr_0_owner_cpu18 ;
7020 unsigned int __constr_expr_0_magic19 ;
7021 union __anonunion_ldv_5907_29 __constr_expr_0_ldv_590720 ;
7022
7023 {
7024 {
7025#line 35
7026 __constr_expr_0_ldv_590720.head_tail = 0U;
7027#line 35
7028 __constr_expr_0_magic19 = 3735899821U;
7029#line 35
7030 __constr_expr_0_owner_cpu18 = 4294967295U;
7031#line 35
7032 __constr_expr_0_owner17 = (void *)0xffffffffffffffffUL;
7033#line 35
7034 __constr_expr_0_dep_map16.key = (struct lock_class_key *)0;
7035#line 35
7036 __constr_expr_0_dep_map16.class_cache[0] = (struct lock_class *)0;
7037#line 35
7038 __constr_expr_0_dep_map16.class_cache[1] = (struct lock_class *)0;
7039#line 35
7040 __constr_expr_0_dep_map16.name = "(*sem).lock";
7041#line 35
7042 __constr_expr_0_dep_map16.cpu = 0;
7043#line 35
7044 __constr_expr_0_dep_map16.ip = 0UL;
7045#line 35
7046 __constr_expr_0_count15 = (unsigned int )val;
7047#line 35
7048 __cil_tmp5 = (unsigned long )sem;
7049#line 35
7050 __cil_tmp6 = __cil_tmp5 + 80;
7051#line 35
7052 __constr_expr_0_next14 = (struct list_head *)__cil_tmp6;
7053#line 35
7054 __cil_tmp7 = (unsigned long )sem;
7055#line 35
7056 __cil_tmp8 = __cil_tmp7 + 80;
7057#line 35
7058 __constr_expr_0_prev13 = (struct list_head *)__cil_tmp8;
7059#line 35
7060 sem->lock.raw_lock.ldv_5907 = __constr_expr_0_ldv_590720;
7061#line 35
7062 sem->lock.magic = __constr_expr_0_magic19;
7063#line 35
7064 sem->lock.owner_cpu = __constr_expr_0_owner_cpu18;
7065#line 35
7066 sem->lock.owner = __constr_expr_0_owner17;
7067#line 35
7068 sem->lock.dep_map = __constr_expr_0_dep_map16;
7069#line 35
7070 sem->count = __constr_expr_0_count15;
7071#line 35
7072 sem->wait_list.next = __constr_expr_0_next14;
7073#line 35
7074 sem->wait_list.prev = __constr_expr_0_prev13;
7075#line 36
7076 __cil_tmp9 = 0 + 24;
7077#line 36
7078 __cil_tmp10 = (unsigned long )sem;
7079#line 36
7080 __cil_tmp11 = __cil_tmp10 + __cil_tmp9;
7081#line 36
7082 __cil_tmp12 = (struct lockdep_map *)__cil_tmp11;
7083#line 36
7084 lockdep_init_map(__cil_tmp12, "semaphore->lock", & __key, 0);
7085 }
7086#line 37
7087 return;
7088}
7089}
7090#line 40
7091extern int down_interruptible(struct semaphore * ) ;
7092#line 44
7093extern void up(struct semaphore * ) ;
7094#line 2106 "include/linux/netdevice.h"
7095extern void dev_kfree_skb_any(struct sk_buff * ) ;
7096#line 2210
7097extern void netif_carrier_on(struct net_device * ) ;
7098#line 2212
7099extern void netif_carrier_off(struct net_device * ) ;
7100#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/util.h"
7101__inline static phys_addr_t *MWIFIEX_SKB_PACB(struct sk_buff *skb )
7102{ unsigned long __cil_tmp2 ;
7103 unsigned long __cil_tmp3 ;
7104 char (*__cil_tmp4)[48U] ;
7105
7106 {
7107 {
7108#line 35
7109 __cil_tmp2 = (unsigned long )skb;
7110#line 35
7111 __cil_tmp3 = __cil_tmp2 + 40;
7112#line 35
7113 __cil_tmp4 = (char (*)[48U])__cil_tmp3;
7114#line 35
7115 return ((phys_addr_t *)__cil_tmp4);
7116 }
7117}
7118}
7119#line 773 "include/linux/pci.h"
7120extern int pci_enable_device(struct pci_dev * ) ;
7121#line 790
7122extern void pci_disable_device(struct pci_dev * ) ;
7123#line 793
7124extern void pci_set_master(struct pci_dev * ) ;
7125#line 906
7126extern void pci_release_regions(struct pci_dev * ) ;
7127#line 907
7128extern int pci_request_region(struct pci_dev * , int , char const * ) ;
7129#line 909
7130extern void pci_release_region(struct pci_dev * , int ) ;
7131#line 940
7132extern int __pci_register_driver(struct pci_driver * , struct module * , char const * ) ;
7133#line 949
7134extern void pci_unregister_driver(struct pci_driver * ) ;
7135#line 105 "include/asm-generic/pci-dma-compat.h"
7136__inline static int pci_set_dma_mask(struct pci_dev *dev , u64 mask )
7137{ int tmp ;
7138 unsigned long __cil_tmp4 ;
7139 unsigned long __cil_tmp5 ;
7140 struct device *__cil_tmp6 ;
7141
7142 {
7143 {
7144#line 107
7145 __cil_tmp4 = (unsigned long )dev;
7146#line 107
7147 __cil_tmp5 = __cil_tmp4 + 144;
7148#line 107
7149 __cil_tmp6 = (struct device *)__cil_tmp5;
7150#line 107
7151 tmp = dma_set_mask(__cil_tmp6, mask);
7152 }
7153#line 107
7154 return (tmp);
7155}
7156}
7157#line 110 "include/asm-generic/pci-dma-compat.h"
7158__inline static int pci_set_consistent_dma_mask(struct pci_dev *dev , u64 mask )
7159{ int tmp ;
7160 unsigned long __cil_tmp4 ;
7161 unsigned long __cil_tmp5 ;
7162 struct device *__cil_tmp6 ;
7163
7164 {
7165 {
7166#line 112
7167 __cil_tmp4 = (unsigned long )dev;
7168#line 112
7169 __cil_tmp5 = __cil_tmp4 + 144;
7170#line 112
7171 __cil_tmp6 = (struct device *)__cil_tmp5;
7172#line 112
7173 tmp = dma_set_coherent_mask(__cil_tmp6, mask);
7174 }
7175#line 112
7176 return (tmp);
7177}
7178}
7179#line 1358 "include/linux/pci.h"
7180__inline static void *pci_get_drvdata(struct pci_dev *pdev )
7181{ void *tmp ;
7182 unsigned long __cil_tmp3 ;
7183 unsigned long __cil_tmp4 ;
7184 struct device *__cil_tmp5 ;
7185 struct device const *__cil_tmp6 ;
7186
7187 {
7188 {
7189#line 1360
7190 __cil_tmp3 = (unsigned long )pdev;
7191#line 1360
7192 __cil_tmp4 = __cil_tmp3 + 144;
7193#line 1360
7194 __cil_tmp5 = (struct device *)__cil_tmp4;
7195#line 1360
7196 __cil_tmp6 = (struct device const *)__cil_tmp5;
7197#line 1360
7198 tmp = dev_get_drvdata(__cil_tmp6);
7199 }
7200#line 1360
7201 return (tmp);
7202}
7203}
7204#line 1363 "include/linux/pci.h"
7205__inline static void pci_set_drvdata(struct pci_dev *pdev , void *data )
7206{ unsigned long __cil_tmp3 ;
7207 unsigned long __cil_tmp4 ;
7208 struct device *__cil_tmp5 ;
7209
7210 {
7211 {
7212#line 1365
7213 __cil_tmp3 = (unsigned long )pdev;
7214#line 1365
7215 __cil_tmp4 = __cil_tmp3 + 144;
7216#line 1365
7217 __cil_tmp5 = (struct device *)__cil_tmp4;
7218#line 1365
7219 dev_set_drvdata(__cil_tmp5, data);
7220 }
7221#line 1366
7222 return;
7223}
7224}
7225#line 127 "include/linux/interrupt.h"
7226extern int request_threaded_irq(unsigned int , irqreturn_t (*)(int , void * ) ,
7227 irqreturn_t (*)(int , void * ) , unsigned long ,
7228 char const * , void * ) ;
7229#line 132 "include/linux/interrupt.h"
7230__inline static int request_irq(unsigned int irq , irqreturn_t (*handler)(int , void * ) ,
7231 unsigned long flags , char const *name , void *dev )
7232{ int tmp ;
7233 irqreturn_t (*__cil_tmp7)(int , void * ) ;
7234
7235 {
7236 {
7237#line 135
7238 __cil_tmp7 = (irqreturn_t (*)(int , void * ))0;
7239#line 135
7240 tmp = request_threaded_irq(irq, handler, __cil_tmp7, flags, name, dev);
7241 }
7242#line 135
7243 return (tmp);
7244}
7245}
7246#line 184
7247extern void free_irq(unsigned int , void * ) ;
7248#line 708 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
7249extern int mwifiex_handle_rx_packet(struct mwifiex_adapter * , struct sk_buff * ) ;
7250#line 718
7251extern void mwifiex_process_sleep_confirm_resp(struct mwifiex_adapter * , u8 * , u32 ) ;
7252#line 760
7253extern int mwifiex_deauthenticate(struct mwifiex_private * , u8 * ) ;
7254#line 857 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/net/wireless/mwifiex/main.h"
7255__inline static struct mwifiex_private *mwifiex_get_priv(struct mwifiex_adapter *adapter ,
7256 enum mwifiex_bss_role bss_role )
7257{ int i ;
7258 struct mwifiex_private *tmp ;
7259 struct mwifiex_private *__cil_tmp5 ;
7260 unsigned long __cil_tmp6 ;
7261 unsigned long __cil_tmp7 ;
7262 unsigned long __cil_tmp8 ;
7263 unsigned long __cil_tmp9 ;
7264 unsigned long __cil_tmp10 ;
7265 struct mwifiex_private *__cil_tmp11 ;
7266 unsigned long __cil_tmp12 ;
7267 unsigned int __cil_tmp13 ;
7268 unsigned long __cil_tmp14 ;
7269 unsigned long __cil_tmp15 ;
7270 unsigned long __cil_tmp16 ;
7271 unsigned long __cil_tmp17 ;
7272 unsigned long __cil_tmp18 ;
7273 struct mwifiex_private *__cil_tmp19 ;
7274 unsigned long __cil_tmp20 ;
7275 unsigned long __cil_tmp21 ;
7276 u8 __cil_tmp22 ;
7277 unsigned long __cil_tmp23 ;
7278 unsigned long __cil_tmp24 ;
7279 unsigned long __cil_tmp25 ;
7280 unsigned long __cil_tmp26 ;
7281 u8 __cil_tmp27 ;
7282 int __cil_tmp28 ;
7283 unsigned long __cil_tmp29 ;
7284 unsigned long __cil_tmp30 ;
7285 u8 __cil_tmp31 ;
7286 int __cil_tmp32 ;
7287 unsigned long __cil_tmp33 ;
7288 unsigned long __cil_tmp34 ;
7289 unsigned long __cil_tmp35 ;
7290 unsigned long __cil_tmp36 ;
7291
7292 {
7293#line 862
7294 i = 0;
7295#line 862
7296 goto ldv_46201;
7297 ldv_46200: ;
7298 {
7299#line 863
7300 __cil_tmp5 = (struct mwifiex_private *)0;
7301#line 863
7302 __cil_tmp6 = (unsigned long )__cil_tmp5;
7303#line 863
7304 __cil_tmp7 = i * 8UL;
7305#line 863
7306 __cil_tmp8 = 8 + __cil_tmp7;
7307#line 863
7308 __cil_tmp9 = (unsigned long )adapter;
7309#line 863
7310 __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
7311#line 863
7312 __cil_tmp11 = *((struct mwifiex_private **)__cil_tmp10);
7313#line 863
7314 __cil_tmp12 = (unsigned long )__cil_tmp11;
7315#line 863
7316 if (__cil_tmp12 != __cil_tmp6) {
7317 {
7318#line 864
7319 __cil_tmp13 = (unsigned int )bss_role;
7320#line 864
7321 if (__cil_tmp13 == 255U) {
7322#line 866
7323 goto ldv_46199;
7324 } else {
7325 {
7326#line 864
7327 __cil_tmp14 = (unsigned long )bss_role;
7328#line 864
7329 __cil_tmp15 = i * 8UL;
7330#line 864
7331 __cil_tmp16 = 8 + __cil_tmp15;
7332#line 864
7333 __cil_tmp17 = (unsigned long )adapter;
7334#line 864
7335 __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
7336#line 864
7337 __cil_tmp19 = *((struct mwifiex_private **)__cil_tmp18);
7338#line 864
7339 __cil_tmp20 = (unsigned long )__cil_tmp19;
7340#line 864
7341 __cil_tmp21 = __cil_tmp20 + 9;
7342#line 864
7343 __cil_tmp22 = *((u8 *)__cil_tmp21);
7344#line 864
7345 __cil_tmp23 = (unsigned long )__cil_tmp22;
7346#line 864
7347 __cil_tmp24 = __cil_tmp23 & 1UL;
7348#line 864
7349 if (__cil_tmp24 == __cil_tmp14) {
7350#line 866
7351 goto ldv_46199;
7352 } else {
7353
7354 }
7355 }
7356 }
7357 }
7358 } else {
7359
7360 }
7361 }
7362#line 862
7363 i = i + 1;
7364 ldv_46201: ;
7365 {
7366#line 862
7367 __cil_tmp25 = (unsigned long )adapter;
7368#line 862
7369 __cil_tmp26 = __cil_tmp25 + 16;
7370#line 862
7371 __cil_tmp27 = *((u8 *)__cil_tmp26);
7372#line 862
7373 __cil_tmp28 = (int )__cil_tmp27;
7374#line 862
7375 if (__cil_tmp28 > i) {
7376#line 863
7377 goto ldv_46200;
7378 } else {
7379#line 865
7380 goto ldv_46199;
7381 }
7382 }
7383 ldv_46199: ;
7384 {
7385#line 870
7386 __cil_tmp29 = (unsigned long )adapter;
7387#line 870
7388 __cil_tmp30 = __cil_tmp29 + 16;
7389#line 870
7390 __cil_tmp31 = *((u8 *)__cil_tmp30);
7391#line 870
7392 __cil_tmp32 = (int )__cil_tmp31;
7393#line 870
7394 if (__cil_tmp32 > i) {
7395#line 870
7396 __cil_tmp33 = i * 8UL;
7397#line 870
7398 __cil_tmp34 = 8 + __cil_tmp33;
7399#line 870
7400 __cil_tmp35 = (unsigned long )adapter;
7401#line 870
7402 __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
7403#line 870
7404 tmp = *((struct mwifiex_private **)__cil_tmp36);
7405 } else {
7406#line 870
7407 tmp = (struct mwifiex_private *)0;
7408 }
7409 }
7410#line 870
7411 return (tmp);
7412}
7413}
7414#line 882
7415extern int mwifiex_init_shutdown_fw(struct mwifiex_private * , u32 ) ;
7416#line 884
7417extern int mwifiex_add_card(void * , struct semaphore * , struct mwifiex_if_ops * ,
7418 u8 ) ;
7419#line 885
7420extern int mwifiex_remove_card(struct mwifiex_adapter * , struct semaphore * ) ;
7421#line 896
7422extern int mwifiex_cancel_hs(struct mwifiex_private * , int ) ;
7423#line 897
7424extern int mwifiex_enable_hs(struct mwifiex_adapter * ) ;
7425#line 898
7426extern int mwifiex_disable_auto_ds(struct mwifiex_private * ) ;
7427#line 49 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
7428static u8 user_rmmod ;
7429#line 51
7430static struct mwifiex_if_ops pcie_ops ;
7431#line 53 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
7432static struct semaphore add_remove_card_sem ;
7433#line 54
7434static int mwifiex_pcie_enable_host_int(struct mwifiex_adapter *adapter ) ;
7435#line 55
7436static int mwifiex_pcie_resume(struct pci_dev *pdev ) ;
7437#line 61 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
7438static phys_addr_t *mwifiex_update_sk_buff_pa(struct sk_buff *skb )
7439{ phys_addr_t *buf_pa ;
7440 phys_addr_t *tmp ;
7441 unsigned long __cil_tmp4 ;
7442 unsigned long __cil_tmp5 ;
7443 unsigned char *__cil_tmp6 ;
7444 void volatile *__cil_tmp7 ;
7445
7446 {
7447 {
7448#line 63
7449 tmp = MWIFIEX_SKB_PACB(skb);
7450#line 63
7451 buf_pa = tmp;
7452#line 65
7453 __cil_tmp4 = (unsigned long )skb;
7454#line 65
7455 __cil_tmp5 = __cil_tmp4 + 224;
7456#line 65
7457 __cil_tmp6 = *((unsigned char **)__cil_tmp5);
7458#line 65
7459 __cil_tmp7 = (void volatile *)__cil_tmp6;
7460#line 65
7461 *buf_pa = virt_to_phys(__cil_tmp7);
7462 }
7463#line 67
7464 return (buf_pa);
7465}
7466}
7467#line 73 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
7468static bool mwifiex_pcie_ok_to_access_hw(struct mwifiex_adapter *adapter )
7469{ u32 *cookie_addr ;
7470 struct pcie_service_card *card ;
7471 struct _ddebug descriptor ;
7472 long tmp ;
7473 unsigned long __cil_tmp6 ;
7474 unsigned long __cil_tmp7 ;
7475 void *__cil_tmp8 ;
7476 struct sk_buff *__cil_tmp9 ;
7477 unsigned long __cil_tmp10 ;
7478 unsigned long __cil_tmp11 ;
7479 unsigned long __cil_tmp12 ;
7480 struct sk_buff *__cil_tmp13 ;
7481 unsigned long __cil_tmp14 ;
7482 unsigned long __cil_tmp15 ;
7483 unsigned long __cil_tmp16 ;
7484 struct sk_buff *__cil_tmp17 ;
7485 unsigned long __cil_tmp18 ;
7486 unsigned long __cil_tmp19 ;
7487 unsigned char *__cil_tmp20 ;
7488 struct _ddebug *__cil_tmp21 ;
7489 unsigned long __cil_tmp22 ;
7490 unsigned long __cil_tmp23 ;
7491 unsigned long __cil_tmp24 ;
7492 unsigned long __cil_tmp25 ;
7493 unsigned long __cil_tmp26 ;
7494 unsigned long __cil_tmp27 ;
7495 unsigned char __cil_tmp28 ;
7496 long __cil_tmp29 ;
7497 long __cil_tmp30 ;
7498 unsigned long __cil_tmp31 ;
7499 unsigned long __cil_tmp32 ;
7500 struct device *__cil_tmp33 ;
7501 struct device const *__cil_tmp34 ;
7502 u32 __cil_tmp35 ;
7503 u32 __cil_tmp36 ;
7504
7505 {
7506#line 76
7507 __cil_tmp6 = (unsigned long )adapter;
7508#line 76
7509 __cil_tmp7 = __cil_tmp6 + 184;
7510#line 76
7511 __cil_tmp8 = *((void **)__cil_tmp7);
7512#line 76
7513 card = (struct pcie_service_card *)__cil_tmp8;
7514 {
7515#line 78
7516 __cil_tmp9 = (struct sk_buff *)0;
7517#line 78
7518 __cil_tmp10 = (unsigned long )__cil_tmp9;
7519#line 78
7520 __cil_tmp11 = (unsigned long )card;
7521#line 78
7522 __cil_tmp12 = __cil_tmp11 + 1216;
7523#line 78
7524 __cil_tmp13 = *((struct sk_buff **)__cil_tmp12);
7525#line 78
7526 __cil_tmp14 = (unsigned long )__cil_tmp13;
7527#line 78
7528 if (__cil_tmp14 != __cil_tmp10) {
7529 {
7530#line 79
7531 __cil_tmp15 = (unsigned long )card;
7532#line 79
7533 __cil_tmp16 = __cil_tmp15 + 1216;
7534#line 79
7535 __cil_tmp17 = *((struct sk_buff **)__cil_tmp16);
7536#line 79
7537 __cil_tmp18 = (unsigned long )__cil_tmp17;
7538#line 79
7539 __cil_tmp19 = __cil_tmp18 + 224;
7540#line 79
7541 __cil_tmp20 = *((unsigned char **)__cil_tmp19);
7542#line 79
7543 cookie_addr = (u32 *)__cil_tmp20;
7544#line 80
7545 __cil_tmp21 = & descriptor;
7546#line 80
7547 *((char const **)__cil_tmp21) = "mwifiex_pcie";
7548#line 80
7549 __cil_tmp22 = (unsigned long )(& descriptor) + 8;
7550#line 80
7551 *((char const **)__cil_tmp22) = "mwifiex_pcie_ok_to_access_hw";
7552#line 80
7553 __cil_tmp23 = (unsigned long )(& descriptor) + 16;
7554#line 80
7555 *((char const **)__cil_tmp23) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
7556#line 80
7557 __cil_tmp24 = (unsigned long )(& descriptor) + 24;
7558#line 80
7559 *((char const **)__cil_tmp24) = "info: ACCESS_HW: sleep cookie=0x%x\n";
7560#line 80
7561 __cil_tmp25 = (unsigned long )(& descriptor) + 32;
7562#line 80
7563 *((unsigned int *)__cil_tmp25) = 81U;
7564#line 80
7565 __cil_tmp26 = (unsigned long )(& descriptor) + 35;
7566#line 80
7567 *((unsigned char *)__cil_tmp26) = (unsigned char)0;
7568#line 80
7569 __cil_tmp27 = (unsigned long )(& descriptor) + 35;
7570#line 80
7571 __cil_tmp28 = *((unsigned char *)__cil_tmp27);
7572#line 80
7573 __cil_tmp29 = (long )__cil_tmp28;
7574#line 80
7575 __cil_tmp30 = __cil_tmp29 & 1L;
7576#line 80
7577 tmp = __builtin_expect(__cil_tmp30, 0L);
7578 }
7579#line 80
7580 if (tmp != 0L) {
7581 {
7582#line 80
7583 __cil_tmp31 = (unsigned long )adapter;
7584#line 80
7585 __cil_tmp32 = __cil_tmp31 + 72;
7586#line 80
7587 __cil_tmp33 = *((struct device **)__cil_tmp32);
7588#line 80
7589 __cil_tmp34 = (struct device const *)__cil_tmp33;
7590#line 80
7591 __cil_tmp35 = *cookie_addr;
7592#line 80
7593 __dynamic_dev_dbg(& descriptor, __cil_tmp34, "info: ACCESS_HW: sleep cookie=0x%x\n",
7594 __cil_tmp35);
7595 }
7596 } else {
7597
7598 }
7599 {
7600#line 82
7601 __cil_tmp36 = *cookie_addr;
7602#line 82
7603 if (__cil_tmp36 == 2857740885U) {
7604#line 83
7605 return ((bool )1);
7606 } else {
7607
7608 }
7609 }
7610 } else {
7611
7612 }
7613 }
7614#line 86
7615 return ((bool )0);
7616}
7617}
7618#line 95 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
7619static int mwifiex_pcie_probe(struct pci_dev *pdev , struct pci_device_id const *ent )
7620{ struct pcie_service_card *card ;
7621 struct _ddebug descriptor ;
7622 long tmp ;
7623 void *tmp___0 ;
7624 int tmp___1 ;
7625 struct _ddebug *__cil_tmp8 ;
7626 unsigned long __cil_tmp9 ;
7627 unsigned long __cil_tmp10 ;
7628 unsigned long __cil_tmp11 ;
7629 unsigned long __cil_tmp12 ;
7630 unsigned long __cil_tmp13 ;
7631 unsigned long __cil_tmp14 ;
7632 unsigned char __cil_tmp15 ;
7633 long __cil_tmp16 ;
7634 long __cil_tmp17 ;
7635 unsigned long __cil_tmp18 ;
7636 unsigned long __cil_tmp19 ;
7637 unsigned short __cil_tmp20 ;
7638 int __cil_tmp21 ;
7639 unsigned long __cil_tmp22 ;
7640 unsigned long __cil_tmp23 ;
7641 unsigned short __cil_tmp24 ;
7642 int __cil_tmp25 ;
7643 unsigned long __cil_tmp26 ;
7644 unsigned long __cil_tmp27 ;
7645 u8 __cil_tmp28 ;
7646 int __cil_tmp29 ;
7647 struct pcie_service_card *__cil_tmp30 ;
7648 unsigned long __cil_tmp31 ;
7649 unsigned long __cil_tmp32 ;
7650 void *__cil_tmp33 ;
7651 u8 __cil_tmp34 ;
7652 void const *__cil_tmp35 ;
7653
7654 {
7655 {
7656#line 100
7657 __cil_tmp8 = & descriptor;
7658#line 100
7659 *((char const **)__cil_tmp8) = "mwifiex_pcie";
7660#line 100
7661 __cil_tmp9 = (unsigned long )(& descriptor) + 8;
7662#line 100
7663 *((char const **)__cil_tmp9) = "mwifiex_pcie_probe";
7664#line 100
7665 __cil_tmp10 = (unsigned long )(& descriptor) + 16;
7666#line 100
7667 *((char const **)__cil_tmp10) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
7668#line 100
7669 __cil_tmp11 = (unsigned long )(& descriptor) + 24;
7670#line 100
7671 *((char const **)__cil_tmp11) = "info: vendor=0x%4.04X device=0x%4.04X rev=%d\n";
7672#line 100
7673 __cil_tmp12 = (unsigned long )(& descriptor) + 32;
7674#line 100
7675 *((unsigned int *)__cil_tmp12) = 101U;
7676#line 100
7677 __cil_tmp13 = (unsigned long )(& descriptor) + 35;
7678#line 100
7679 *((unsigned char *)__cil_tmp13) = (unsigned char)0;
7680#line 100
7681 __cil_tmp14 = (unsigned long )(& descriptor) + 35;
7682#line 100
7683 __cil_tmp15 = *((unsigned char *)__cil_tmp14);
7684#line 100
7685 __cil_tmp16 = (long )__cil_tmp15;
7686#line 100
7687 __cil_tmp17 = __cil_tmp16 & 1L;
7688#line 100
7689 tmp = __builtin_expect(__cil_tmp17, 0L);
7690 }
7691#line 100
7692 if (tmp != 0L) {
7693 {
7694#line 100
7695 __cil_tmp18 = (unsigned long )pdev;
7696#line 100
7697 __cil_tmp19 = __cil_tmp18 + 60;
7698#line 100
7699 __cil_tmp20 = *((unsigned short *)__cil_tmp19);
7700#line 100
7701 __cil_tmp21 = (int )__cil_tmp20;
7702#line 100
7703 __cil_tmp22 = (unsigned long )pdev;
7704#line 100
7705 __cil_tmp23 = __cil_tmp22 + 62;
7706#line 100
7707 __cil_tmp24 = *((unsigned short *)__cil_tmp23);
7708#line 100
7709 __cil_tmp25 = (int )__cil_tmp24;
7710#line 100
7711 __cil_tmp26 = (unsigned long )pdev;
7712#line 100
7713 __cil_tmp27 = __cil_tmp26 + 72;
7714#line 100
7715 __cil_tmp28 = *((u8 *)__cil_tmp27);
7716#line 100
7717 __cil_tmp29 = (int )__cil_tmp28;
7718#line 100
7719 __dynamic_pr_debug(& descriptor, "mwifiex_pcie: info: vendor=0x%4.04X device=0x%4.04X rev=%d\n",
7720 __cil_tmp21, __cil_tmp25, __cil_tmp29);
7721 }
7722 } else {
7723
7724 }
7725 {
7726#line 103
7727 tmp___0 = kzalloc(1240UL, 208U);
7728#line 103
7729 card = (struct pcie_service_card *)tmp___0;
7730 }
7731 {
7732#line 104
7733 __cil_tmp30 = (struct pcie_service_card *)0;
7734#line 104
7735 __cil_tmp31 = (unsigned long )__cil_tmp30;
7736#line 104
7737 __cil_tmp32 = (unsigned long )card;
7738#line 104
7739 if (__cil_tmp32 == __cil_tmp31) {
7740#line 105
7741 return (-12);
7742 } else {
7743
7744 }
7745 }
7746 {
7747#line 107
7748 *((struct pci_dev **)card) = pdev;
7749#line 109
7750 __cil_tmp33 = (void *)card;
7751#line 109
7752 __cil_tmp34 = (u8 )1;
7753#line 109
7754 tmp___1 = mwifiex_add_card(__cil_tmp33, & add_remove_card_sem, & pcie_ops, __cil_tmp34);
7755 }
7756#line 109
7757 if (tmp___1 != 0) {
7758 {
7759#line 111
7760 printk("<3>mwifiex_pcie: %s failed\n", "mwifiex_pcie_probe");
7761#line 112
7762 __cil_tmp35 = (void const *)card;
7763#line 112
7764 kfree(__cil_tmp35);
7765 }
7766#line 113
7767 return (-1);
7768 } else {
7769
7770 }
7771#line 116
7772 return (0);
7773}
7774}
7775#line 122 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
7776static void mwifiex_pcie_remove(struct pci_dev *pdev )
7777{ struct pcie_service_card *card ;
7778 struct mwifiex_adapter *adapter ;
7779 struct mwifiex_private *priv ;
7780 int i ;
7781 void *tmp ;
7782 struct pcie_service_card *__cil_tmp7 ;
7783 unsigned long __cil_tmp8 ;
7784 unsigned long __cil_tmp9 ;
7785 unsigned long __cil_tmp10 ;
7786 unsigned long __cil_tmp11 ;
7787 struct mwifiex_adapter *__cil_tmp12 ;
7788 unsigned long __cil_tmp13 ;
7789 unsigned long __cil_tmp14 ;
7790 unsigned long __cil_tmp15 ;
7791 unsigned long __cil_tmp16 ;
7792 u8 __cil_tmp17 ;
7793 unsigned int __cil_tmp18 ;
7794 unsigned int __cil_tmp19 ;
7795 unsigned long __cil_tmp20 ;
7796 unsigned long __cil_tmp21 ;
7797 bool __cil_tmp22 ;
7798 unsigned long __cil_tmp23 ;
7799 unsigned long __cil_tmp24 ;
7800 unsigned long __cil_tmp25 ;
7801 unsigned long __cil_tmp26 ;
7802 struct mwifiex_private *__cil_tmp27 ;
7803 unsigned long __cil_tmp28 ;
7804 unsigned long __cil_tmp29 ;
7805 u8 __cil_tmp30 ;
7806 unsigned long __cil_tmp31 ;
7807 unsigned long __cil_tmp32 ;
7808 unsigned long __cil_tmp33 ;
7809 unsigned long __cil_tmp34 ;
7810 unsigned long __cil_tmp35 ;
7811 unsigned long __cil_tmp36 ;
7812 struct mwifiex_private *__cil_tmp37 ;
7813 unsigned long __cil_tmp38 ;
7814 unsigned long __cil_tmp39 ;
7815 u8 __cil_tmp40 ;
7816 unsigned int __cil_tmp41 ;
7817 unsigned long __cil_tmp42 ;
7818 unsigned long __cil_tmp43 ;
7819 unsigned long __cil_tmp44 ;
7820 unsigned long __cil_tmp45 ;
7821 struct mwifiex_private *__cil_tmp46 ;
7822 u8 *__cil_tmp47 ;
7823 unsigned long __cil_tmp48 ;
7824 unsigned long __cil_tmp49 ;
7825 u8 __cil_tmp50 ;
7826 int __cil_tmp51 ;
7827 enum mwifiex_bss_role __cil_tmp52 ;
7828 unsigned long __cil_tmp53 ;
7829 unsigned long __cil_tmp54 ;
7830 struct mwifiex_adapter *__cil_tmp55 ;
7831 void const *__cil_tmp56 ;
7832
7833 {
7834 {
7835#line 129
7836 tmp = pci_get_drvdata(pdev);
7837#line 129
7838 card = (struct pcie_service_card *)tmp;
7839 }
7840 {
7841#line 130
7842 __cil_tmp7 = (struct pcie_service_card *)0;
7843#line 130
7844 __cil_tmp8 = (unsigned long )__cil_tmp7;
7845#line 130
7846 __cil_tmp9 = (unsigned long )card;
7847#line 130
7848 if (__cil_tmp9 == __cil_tmp8) {
7849#line 131
7850 return;
7851 } else {
7852
7853 }
7854 }
7855#line 133
7856 __cil_tmp10 = (unsigned long )card;
7857#line 133
7858 __cil_tmp11 = __cil_tmp10 + 8;
7859#line 133
7860 adapter = *((struct mwifiex_adapter **)__cil_tmp11);
7861 {
7862#line 134
7863 __cil_tmp12 = (struct mwifiex_adapter *)0;
7864#line 134
7865 __cil_tmp13 = (unsigned long )__cil_tmp12;
7866#line 134
7867 __cil_tmp14 = (unsigned long )adapter;
7868#line 134
7869 if (__cil_tmp14 == __cil_tmp13) {
7870#line 135
7871 return;
7872 } else {
7873 {
7874#line 134
7875 __cil_tmp15 = (unsigned long )adapter;
7876#line 134
7877 __cil_tmp16 = __cil_tmp15 + 16;
7878#line 134
7879 __cil_tmp17 = *((u8 *)__cil_tmp16);
7880#line 134
7881 __cil_tmp18 = (unsigned int )__cil_tmp17;
7882#line 134
7883 if (__cil_tmp18 == 0U) {
7884#line 135
7885 return;
7886 } else {
7887
7888 }
7889 }
7890 }
7891 }
7892 {
7893#line 137
7894 __cil_tmp19 = (unsigned int )user_rmmod;
7895#line 137
7896 if (__cil_tmp19 != 0U) {
7897 {
7898#line 139
7899 __cil_tmp20 = (unsigned long )adapter;
7900#line 139
7901 __cil_tmp21 = __cil_tmp20 + 4040;
7902#line 139
7903 __cil_tmp22 = *((bool *)__cil_tmp21);
7904#line 139
7905 if ((int )__cil_tmp22) {
7906 {
7907#line 140
7908 mwifiex_pcie_resume(pdev);
7909 }
7910 } else {
7911
7912 }
7913 }
7914#line 143
7915 i = 0;
7916#line 143
7917 goto ldv_46607;
7918 ldv_46606: ;
7919 {
7920#line 144
7921 __cil_tmp23 = i * 8UL;
7922#line 144
7923 __cil_tmp24 = 8 + __cil_tmp23;
7924#line 144
7925 __cil_tmp25 = (unsigned long )adapter;
7926#line 144
7927 __cil_tmp26 = __cil_tmp25 + __cil_tmp24;
7928#line 144
7929 __cil_tmp27 = *((struct mwifiex_private **)__cil_tmp26);
7930#line 144
7931 __cil_tmp28 = (unsigned long )__cil_tmp27;
7932#line 144
7933 __cil_tmp29 = __cil_tmp28 + 9;
7934#line 144
7935 __cil_tmp30 = *((u8 *)__cil_tmp29);
7936#line 144
7937 __cil_tmp31 = (unsigned long )__cil_tmp30;
7938#line 144
7939 __cil_tmp32 = __cil_tmp31 & 1UL;
7940#line 144
7941 if (__cil_tmp32 == 0UL) {
7942 {
7943#line 144
7944 __cil_tmp33 = i * 8UL;
7945#line 144
7946 __cil_tmp34 = 8 + __cil_tmp33;
7947#line 144
7948 __cil_tmp35 = (unsigned long )adapter;
7949#line 144
7950 __cil_tmp36 = __cil_tmp35 + __cil_tmp34;
7951#line 144
7952 __cil_tmp37 = *((struct mwifiex_private **)__cil_tmp36);
7953#line 144
7954 __cil_tmp38 = (unsigned long )__cil_tmp37;
7955#line 144
7956 __cil_tmp39 = __cil_tmp38 + 19;
7957#line 144
7958 __cil_tmp40 = *((u8 *)__cil_tmp39);
7959#line 144
7960 __cil_tmp41 = (unsigned int )__cil_tmp40;
7961#line 144
7962 if (__cil_tmp41 != 0U) {
7963 {
7964#line 147
7965 __cil_tmp42 = i * 8UL;
7966#line 147
7967 __cil_tmp43 = 8 + __cil_tmp42;
7968#line 147
7969 __cil_tmp44 = (unsigned long )adapter;
7970#line 147
7971 __cil_tmp45 = __cil_tmp44 + __cil_tmp43;
7972#line 147
7973 __cil_tmp46 = *((struct mwifiex_private **)__cil_tmp45);
7974#line 147
7975 __cil_tmp47 = (u8 *)0;
7976#line 147
7977 mwifiex_deauthenticate(__cil_tmp46, __cil_tmp47);
7978 }
7979 } else {
7980
7981 }
7982 }
7983 } else {
7984
7985 }
7986 }
7987#line 143
7988 i = i + 1;
7989 ldv_46607: ;
7990 {
7991#line 143
7992 __cil_tmp48 = (unsigned long )adapter;
7993#line 143
7994 __cil_tmp49 = __cil_tmp48 + 16;
7995#line 143
7996 __cil_tmp50 = *((u8 *)__cil_tmp49);
7997#line 143
7998 __cil_tmp51 = (int )__cil_tmp50;
7999#line 143
8000 if (__cil_tmp51 > i) {
8001#line 144
8002 goto ldv_46606;
8003 } else {
8004#line 146
8005 goto ldv_46608;
8006 }
8007 }
8008 ldv_46608:
8009 {
8010#line 149
8011 __cil_tmp52 = (enum mwifiex_bss_role )255;
8012#line 149
8013 priv = mwifiex_get_priv(adapter, __cil_tmp52);
8014#line 151
8015 mwifiex_disable_auto_ds(priv);
8016#line 153
8017 mwifiex_init_shutdown_fw(priv, 2U);
8018 }
8019 } else {
8020
8021 }
8022 }
8023 {
8024#line 156
8025 __cil_tmp53 = (unsigned long )card;
8026#line 156
8027 __cil_tmp54 = __cil_tmp53 + 8;
8028#line 156
8029 __cil_tmp55 = *((struct mwifiex_adapter **)__cil_tmp54);
8030#line 156
8031 mwifiex_remove_card(__cil_tmp55, & add_remove_card_sem);
8032#line 157
8033 __cil_tmp56 = (void const *)card;
8034#line 157
8035 kfree(__cil_tmp56);
8036 }
8037#line 158
8038 return;
8039}
8040}
8041#line 168 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
8042static int mwifiex_pcie_suspend(struct pci_dev *pdev , int state_event36 )
8043{ struct mwifiex_adapter *adapter ;
8044 struct pcie_service_card *card ;
8045 int hs_actived ;
8046 int i ;
8047 void *tmp ;
8048 struct pci_dev *__cil_tmp8 ;
8049 unsigned long __cil_tmp9 ;
8050 unsigned long __cil_tmp10 ;
8051 struct pcie_service_card *__cil_tmp11 ;
8052 unsigned long __cil_tmp12 ;
8053 unsigned long __cil_tmp13 ;
8054 struct mwifiex_adapter *__cil_tmp14 ;
8055 unsigned long __cil_tmp15 ;
8056 unsigned long __cil_tmp16 ;
8057 unsigned long __cil_tmp17 ;
8058 struct mwifiex_adapter *__cil_tmp18 ;
8059 unsigned long __cil_tmp19 ;
8060 unsigned long __cil_tmp20 ;
8061 unsigned long __cil_tmp21 ;
8062 unsigned long __cil_tmp22 ;
8063 unsigned long __cil_tmp23 ;
8064 unsigned long __cil_tmp24 ;
8065 unsigned long __cil_tmp25 ;
8066 unsigned long __cil_tmp26 ;
8067 unsigned long __cil_tmp27 ;
8068 struct mwifiex_private *__cil_tmp28 ;
8069 unsigned long __cil_tmp29 ;
8070 unsigned long __cil_tmp30 ;
8071 struct net_device *__cil_tmp31 ;
8072 unsigned long __cil_tmp32 ;
8073 unsigned long __cil_tmp33 ;
8074 u8 __cil_tmp34 ;
8075 int __cil_tmp35 ;
8076
8077 {
8078 {
8079#line 174
8080 __cil_tmp8 = (struct pci_dev *)0;
8081#line 174
8082 __cil_tmp9 = (unsigned long )__cil_tmp8;
8083#line 174
8084 __cil_tmp10 = (unsigned long )pdev;
8085#line 174
8086 if (__cil_tmp10 != __cil_tmp9) {
8087 {
8088#line 175
8089 tmp = pci_get_drvdata(pdev);
8090#line 175
8091 card = (struct pcie_service_card *)tmp;
8092 }
8093 {
8094#line 176
8095 __cil_tmp11 = (struct pcie_service_card *)0;
8096#line 176
8097 __cil_tmp12 = (unsigned long )__cil_tmp11;
8098#line 176
8099 __cil_tmp13 = (unsigned long )card;
8100#line 176
8101 if (__cil_tmp13 == __cil_tmp12) {
8102 {
8103#line 177
8104 printk("<3>mwifiex_pcie: Card or adapter structure is not valid\n");
8105 }
8106#line 178
8107 return (0);
8108 } else {
8109 {
8110#line 176
8111 __cil_tmp14 = (struct mwifiex_adapter *)0;
8112#line 176
8113 __cil_tmp15 = (unsigned long )__cil_tmp14;
8114#line 176
8115 __cil_tmp16 = (unsigned long )card;
8116#line 176
8117 __cil_tmp17 = __cil_tmp16 + 8;
8118#line 176
8119 __cil_tmp18 = *((struct mwifiex_adapter **)__cil_tmp17);
8120#line 176
8121 __cil_tmp19 = (unsigned long )__cil_tmp18;
8122#line 176
8123 if (__cil_tmp19 != __cil_tmp15) {
8124 {
8125#line 177
8126 printk("<3>mwifiex_pcie: Card or adapter structure is not valid\n");
8127 }
8128#line 178
8129 return (0);
8130 } else {
8131
8132 }
8133 }
8134 }
8135 }
8136 } else {
8137 {
8138#line 181
8139 printk("<3>mwifiex_pcie: PCIE device is not specified\n");
8140 }
8141#line 182
8142 return (0);
8143 }
8144 }
8145 {
8146#line 185
8147 __cil_tmp20 = (unsigned long )card;
8148#line 185
8149 __cil_tmp21 = __cil_tmp20 + 8;
8150#line 185
8151 adapter = *((struct mwifiex_adapter **)__cil_tmp21);
8152#line 187
8153 hs_actived = mwifiex_enable_hs(adapter);
8154#line 190
8155 __cil_tmp22 = (unsigned long )adapter;
8156#line 190
8157 __cil_tmp23 = __cil_tmp22 + 4040;
8158#line 190
8159 *((bool *)__cil_tmp23) = (bool )1;
8160#line 192
8161 i = 0;
8162 }
8163#line 192
8164 goto ldv_46618;
8165 ldv_46617:
8166 {
8167#line 193
8168 __cil_tmp24 = i * 8UL;
8169#line 193
8170 __cil_tmp25 = 8 + __cil_tmp24;
8171#line 193
8172 __cil_tmp26 = (unsigned long )adapter;
8173#line 193
8174 __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
8175#line 193
8176 __cil_tmp28 = *((struct mwifiex_private **)__cil_tmp27);
8177#line 193
8178 __cil_tmp29 = (unsigned long )__cil_tmp28;
8179#line 193
8180 __cil_tmp30 = __cil_tmp29 + 24;
8181#line 193
8182 __cil_tmp31 = *((struct net_device **)__cil_tmp30);
8183#line 193
8184 netif_carrier_off(__cil_tmp31);
8185#line 192
8186 i = i + 1;
8187 }
8188 ldv_46618: ;
8189 {
8190#line 192
8191 __cil_tmp32 = (unsigned long )adapter;
8192#line 192
8193 __cil_tmp33 = __cil_tmp32 + 16;
8194#line 192
8195 __cil_tmp34 = *((u8 *)__cil_tmp33);
8196#line 192
8197 __cil_tmp35 = (int )__cil_tmp34;
8198#line 192
8199 if (__cil_tmp35 > i) {
8200#line 193
8201 goto ldv_46617;
8202 } else {
8203#line 195
8204 goto ldv_46619;
8205 }
8206 }
8207 ldv_46619: ;
8208#line 195
8209 return (0);
8210}
8211}
8212#line 206 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
8213static int mwifiex_pcie_resume(struct pci_dev *pdev )
8214{ struct mwifiex_adapter *adapter ;
8215 struct pcie_service_card *card ;
8216 int i ;
8217 void *tmp ;
8218 struct mwifiex_private *tmp___0 ;
8219 struct pci_dev *__cil_tmp7 ;
8220 unsigned long __cil_tmp8 ;
8221 unsigned long __cil_tmp9 ;
8222 struct pcie_service_card *__cil_tmp10 ;
8223 unsigned long __cil_tmp11 ;
8224 unsigned long __cil_tmp12 ;
8225 struct mwifiex_adapter *__cil_tmp13 ;
8226 unsigned long __cil_tmp14 ;
8227 unsigned long __cil_tmp15 ;
8228 unsigned long __cil_tmp16 ;
8229 struct mwifiex_adapter *__cil_tmp17 ;
8230 unsigned long __cil_tmp18 ;
8231 unsigned long __cil_tmp19 ;
8232 unsigned long __cil_tmp20 ;
8233 unsigned long __cil_tmp21 ;
8234 unsigned long __cil_tmp22 ;
8235 bool __cil_tmp23 ;
8236 unsigned long __cil_tmp24 ;
8237 unsigned long __cil_tmp25 ;
8238 struct device *__cil_tmp26 ;
8239 struct device const *__cil_tmp27 ;
8240 unsigned long __cil_tmp28 ;
8241 unsigned long __cil_tmp29 ;
8242 unsigned long __cil_tmp30 ;
8243 unsigned long __cil_tmp31 ;
8244 unsigned long __cil_tmp32 ;
8245 unsigned long __cil_tmp33 ;
8246 struct mwifiex_private *__cil_tmp34 ;
8247 unsigned long __cil_tmp35 ;
8248 unsigned long __cil_tmp36 ;
8249 u8 __cil_tmp37 ;
8250 unsigned int __cil_tmp38 ;
8251 unsigned long __cil_tmp39 ;
8252 unsigned long __cil_tmp40 ;
8253 unsigned long __cil_tmp41 ;
8254 unsigned long __cil_tmp42 ;
8255 struct mwifiex_private *__cil_tmp43 ;
8256 unsigned long __cil_tmp44 ;
8257 unsigned long __cil_tmp45 ;
8258 struct net_device *__cil_tmp46 ;
8259 unsigned long __cil_tmp47 ;
8260 unsigned long __cil_tmp48 ;
8261 u8 __cil_tmp49 ;
8262 int __cil_tmp50 ;
8263 enum mwifiex_bss_role __cil_tmp51 ;
8264
8265 {
8266 {
8267#line 212
8268 __cil_tmp7 = (struct pci_dev *)0;
8269#line 212
8270 __cil_tmp8 = (unsigned long )__cil_tmp7;
8271#line 212
8272 __cil_tmp9 = (unsigned long )pdev;
8273#line 212
8274 if (__cil_tmp9 != __cil_tmp8) {
8275 {
8276#line 213
8277 tmp = pci_get_drvdata(pdev);
8278#line 213
8279 card = (struct pcie_service_card *)tmp;
8280 }
8281 {
8282#line 214
8283 __cil_tmp10 = (struct pcie_service_card *)0;
8284#line 214
8285 __cil_tmp11 = (unsigned long )__cil_tmp10;
8286#line 214
8287 __cil_tmp12 = (unsigned long )card;
8288#line 214
8289 if (__cil_tmp12 == __cil_tmp11) {
8290 {
8291#line 215
8292 printk("<3>mwifiex_pcie: Card or adapter structure is not valid\n");
8293 }
8294#line 216
8295 return (0);
8296 } else {
8297 {
8298#line 214
8299 __cil_tmp13 = (struct mwifiex_adapter *)0;
8300#line 214
8301 __cil_tmp14 = (unsigned long )__cil_tmp13;
8302#line 214
8303 __cil_tmp15 = (unsigned long )card;
8304#line 214
8305 __cil_tmp16 = __cil_tmp15 + 8;
8306#line 214
8307 __cil_tmp17 = *((struct mwifiex_adapter **)__cil_tmp16);
8308#line 214
8309 __cil_tmp18 = (unsigned long )__cil_tmp17;
8310#line 214
8311 if (__cil_tmp18 == __cil_tmp14) {
8312 {
8313#line 215
8314 printk("<3>mwifiex_pcie: Card or adapter structure is not valid\n");
8315 }
8316#line 216
8317 return (0);
8318 } else {
8319
8320 }
8321 }
8322 }
8323 }
8324 } else {
8325 {
8326#line 219
8327 printk("<3>mwifiex_pcie: PCIE device is not specified\n");
8328 }
8329#line 220
8330 return (0);
8331 }
8332 }
8333#line 223
8334 __cil_tmp19 = (unsigned long )card;
8335#line 223
8336 __cil_tmp20 = __cil_tmp19 + 8;
8337#line 223
8338 adapter = *((struct mwifiex_adapter **)__cil_tmp20);
8339 {
8340#line 225
8341 __cil_tmp21 = (unsigned long )adapter;
8342#line 225
8343 __cil_tmp22 = __cil_tmp21 + 4040;
8344#line 225
8345 __cil_tmp23 = *((bool *)__cil_tmp22);
8346#line 225
8347 if (! __cil_tmp23) {
8348 {
8349#line 226
8350 __cil_tmp24 = (unsigned long )adapter;
8351#line 226
8352 __cil_tmp25 = __cil_tmp24 + 72;
8353#line 226
8354 __cil_tmp26 = *((struct device **)__cil_tmp25);
8355#line 226
8356 __cil_tmp27 = (struct device const *)__cil_tmp26;
8357#line 226
8358 dev_warn(__cil_tmp27, "Device already resumed\n");
8359 }
8360#line 227
8361 return (0);
8362 } else {
8363
8364 }
8365 }
8366#line 230
8367 __cil_tmp28 = (unsigned long )adapter;
8368#line 230
8369 __cil_tmp29 = __cil_tmp28 + 4040;
8370#line 230
8371 *((bool *)__cil_tmp29) = (bool )0;
8372#line 232
8373 i = 0;
8374#line 232
8375 goto ldv_46627;
8376 ldv_46626: ;
8377 {
8378#line 233
8379 __cil_tmp30 = i * 8UL;
8380#line 233
8381 __cil_tmp31 = 8 + __cil_tmp30;
8382#line 233
8383 __cil_tmp32 = (unsigned long )adapter;
8384#line 233
8385 __cil_tmp33 = __cil_tmp32 + __cil_tmp31;
8386#line 233
8387 __cil_tmp34 = *((struct mwifiex_private **)__cil_tmp33);
8388#line 233
8389 __cil_tmp35 = (unsigned long )__cil_tmp34;
8390#line 233
8391 __cil_tmp36 = __cil_tmp35 + 19;
8392#line 233
8393 __cil_tmp37 = *((u8 *)__cil_tmp36);
8394#line 233
8395 __cil_tmp38 = (unsigned int )__cil_tmp37;
8396#line 233
8397 if (__cil_tmp38 != 0U) {
8398 {
8399#line 234
8400 __cil_tmp39 = i * 8UL;
8401#line 234
8402 __cil_tmp40 = 8 + __cil_tmp39;
8403#line 234
8404 __cil_tmp41 = (unsigned long )adapter;
8405#line 234
8406 __cil_tmp42 = __cil_tmp41 + __cil_tmp40;
8407#line 234
8408 __cil_tmp43 = *((struct mwifiex_private **)__cil_tmp42);
8409#line 234
8410 __cil_tmp44 = (unsigned long )__cil_tmp43;
8411#line 234
8412 __cil_tmp45 = __cil_tmp44 + 24;
8413#line 234
8414 __cil_tmp46 = *((struct net_device **)__cil_tmp45);
8415#line 234
8416 netif_carrier_on(__cil_tmp46);
8417 }
8418 } else {
8419
8420 }
8421 }
8422#line 232
8423 i = i + 1;
8424 ldv_46627: ;
8425 {
8426#line 232
8427 __cil_tmp47 = (unsigned long )adapter;
8428#line 232
8429 __cil_tmp48 = __cil_tmp47 + 16;
8430#line 232
8431 __cil_tmp49 = *((u8 *)__cil_tmp48);
8432#line 232
8433 __cil_tmp50 = (int )__cil_tmp49;
8434#line 232
8435 if (__cil_tmp50 > i) {
8436#line 233
8437 goto ldv_46626;
8438 } else {
8439#line 235
8440 goto ldv_46628;
8441 }
8442 }
8443 ldv_46628:
8444 {
8445#line 236
8446 __cil_tmp51 = (enum mwifiex_bss_role )0;
8447#line 236
8448 tmp___0 = mwifiex_get_priv(adapter, __cil_tmp51);
8449#line 236
8450 mwifiex_cancel_hs(tmp___0, 0);
8451 }
8452#line 239
8453 return (0);
8454}
8455}
8456#line 245 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
8457static struct pci_device_id const mwifiex_ids[2U] = { {4523U, 11056U, 4294967295U, 4294967295U, 0U, 0U, 0UL},
8458 {0U, 0U, 0U, 0U, 0U, 0U, 0UL}};
8459#line 253 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
8460struct pci_device_id const __mod_pci_device_table ;
8461#line 256 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
8462static struct pci_driver mwifiex_pcie =
8463#line 256
8464 {{(struct list_head *)0, (struct list_head *)0}, "mwifiex_pcie", (struct pci_device_id const *)(& mwifiex_ids),
8465 & mwifiex_pcie_probe, & mwifiex_pcie_remove, & mwifiex_pcie_suspend, (int (*)(struct pci_dev * ,
8466 pm_message_t ))0,
8467 (int (*)(struct pci_dev * ))0, & mwifiex_pcie_resume, (void (*)(struct pci_dev * ))0,
8468 (struct pci_error_handlers *)0, {(char const *)0, (struct bus_type *)0, (struct module *)0,
8469 (char const *)0, (_Bool)0, (struct of_device_id const *)0,
8470 (int (*)(struct device * ))0, (int (*)(struct device * ))0,
8471 (void (*)(struct device * ))0, (int (*)(struct device * ,
8472 pm_message_t ))0,
8473 (int (*)(struct device * ))0, (struct attribute_group const **)0,
8474 (struct dev_pm_ops const *)0, (struct driver_private *)0},
8475 {{{{{{0U}}, 0U, 0U, (void *)0, {(struct lock_class_key *)0, {(struct lock_class *)0,
8476 (struct lock_class *)0},
8477 (char const *)0, 0, 0UL}}}}, {(struct list_head *)0,
8478 (struct list_head *)0}}};
8479#line 271 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
8480static int mwifiex_write_reg(struct mwifiex_adapter *adapter , int reg , u32 data )
8481{ struct pcie_service_card *card ;
8482 unsigned long __cil_tmp5 ;
8483 unsigned long __cil_tmp6 ;
8484 void *__cil_tmp7 ;
8485 unsigned long __cil_tmp8 ;
8486 unsigned long __cil_tmp9 ;
8487 unsigned long __cil_tmp10 ;
8488 void *__cil_tmp11 ;
8489 void *__cil_tmp12 ;
8490
8491 {
8492 {
8493#line 273
8494 __cil_tmp5 = (unsigned long )adapter;
8495#line 273
8496 __cil_tmp6 = __cil_tmp5 + 184;
8497#line 273
8498 __cil_tmp7 = *((void **)__cil_tmp6);
8499#line 273
8500 card = (struct pcie_service_card *)__cil_tmp7;
8501#line 275
8502 __cil_tmp8 = (unsigned long )reg;
8503#line 275
8504 __cil_tmp9 = (unsigned long )card;
8505#line 275
8506 __cil_tmp10 = __cil_tmp9 + 1232;
8507#line 275
8508 __cil_tmp11 = *((void **)__cil_tmp10);
8509#line 275
8510 __cil_tmp12 = __cil_tmp11 + __cil_tmp8;
8511#line 275
8512 iowrite32(data, __cil_tmp12);
8513 }
8514#line 277
8515 return (0);
8516}
8517}
8518#line 283 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
8519static int mwifiex_read_reg(struct mwifiex_adapter *adapter , int reg , u32 *data )
8520{ struct pcie_service_card *card ;
8521 unsigned long __cil_tmp5 ;
8522 unsigned long __cil_tmp6 ;
8523 void *__cil_tmp7 ;
8524 unsigned long __cil_tmp8 ;
8525 unsigned long __cil_tmp9 ;
8526 unsigned long __cil_tmp10 ;
8527 void *__cil_tmp11 ;
8528 void *__cil_tmp12 ;
8529
8530 {
8531 {
8532#line 285
8533 __cil_tmp5 = (unsigned long )adapter;
8534#line 285
8535 __cil_tmp6 = __cil_tmp5 + 184;
8536#line 285
8537 __cil_tmp7 = *((void **)__cil_tmp6);
8538#line 285
8539 card = (struct pcie_service_card *)__cil_tmp7;
8540#line 287
8541 __cil_tmp8 = (unsigned long )reg;
8542#line 287
8543 __cil_tmp9 = (unsigned long )card;
8544#line 287
8545 __cil_tmp10 = __cil_tmp9 + 1232;
8546#line 287
8547 __cil_tmp11 = *((void **)__cil_tmp10);
8548#line 287
8549 __cil_tmp12 = __cil_tmp11 + __cil_tmp8;
8550#line 287
8551 *data = ioread32(__cil_tmp12);
8552 }
8553#line 289
8554 return (0);
8555}
8556}
8557#line 298 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
8558static int mwifiex_pm_wakeup_card(struct mwifiex_adapter *adapter )
8559{ int i ;
8560 bool tmp ;
8561 struct _ddebug descriptor ;
8562 long tmp___0 ;
8563 int tmp___1 ;
8564 struct _ddebug descriptor___0 ;
8565 long tmp___2 ;
8566 struct _ddebug *__cil_tmp9 ;
8567 unsigned long __cil_tmp10 ;
8568 unsigned long __cil_tmp11 ;
8569 unsigned long __cil_tmp12 ;
8570 unsigned long __cil_tmp13 ;
8571 unsigned long __cil_tmp14 ;
8572 unsigned long __cil_tmp15 ;
8573 unsigned char __cil_tmp16 ;
8574 long __cil_tmp17 ;
8575 long __cil_tmp18 ;
8576 unsigned long __cil_tmp19 ;
8577 unsigned long __cil_tmp20 ;
8578 struct device *__cil_tmp21 ;
8579 struct device const *__cil_tmp22 ;
8580 unsigned long __cil_tmp23 ;
8581 unsigned long __cil_tmp24 ;
8582 struct device *__cil_tmp25 ;
8583 struct device const *__cil_tmp26 ;
8584 struct _ddebug *__cil_tmp27 ;
8585 unsigned long __cil_tmp28 ;
8586 unsigned long __cil_tmp29 ;
8587 unsigned long __cil_tmp30 ;
8588 unsigned long __cil_tmp31 ;
8589 unsigned long __cil_tmp32 ;
8590 unsigned long __cil_tmp33 ;
8591 unsigned char __cil_tmp34 ;
8592 long __cil_tmp35 ;
8593 long __cil_tmp36 ;
8594 unsigned long __cil_tmp37 ;
8595 unsigned long __cil_tmp38 ;
8596 struct device *__cil_tmp39 ;
8597 struct device const *__cil_tmp40 ;
8598 unsigned long __cil_tmp41 ;
8599 unsigned long __cil_tmp42 ;
8600
8601 {
8602#line 300
8603 i = 0;
8604#line 302
8605 goto ldv_46650;
8606 ldv_46649:
8607 {
8608#line 303
8609 i = i + 1;
8610#line 304
8611 usleep_range(10UL, 20UL);
8612 }
8613#line 306
8614 if (i == 50000) {
8615#line 307
8616 goto ldv_46648;
8617 } else {
8618
8619 }
8620 ldv_46650:
8621 {
8622#line 302
8623 tmp = mwifiex_pcie_ok_to_access_hw(adapter);
8624 }
8625#line 302
8626 if ((int )tmp) {
8627#line 303
8628 goto ldv_46649;
8629 } else {
8630#line 305
8631 goto ldv_46648;
8632 }
8633 ldv_46648:
8634 {
8635#line 310
8636 __cil_tmp9 = & descriptor;
8637#line 310
8638 *((char const **)__cil_tmp9) = "mwifiex_pcie";
8639#line 310
8640 __cil_tmp10 = (unsigned long )(& descriptor) + 8;
8641#line 310
8642 *((char const **)__cil_tmp10) = "mwifiex_pm_wakeup_card";
8643#line 310
8644 __cil_tmp11 = (unsigned long )(& descriptor) + 16;
8645#line 310
8646 *((char const **)__cil_tmp11) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
8647#line 310
8648 __cil_tmp12 = (unsigned long )(& descriptor) + 24;
8649#line 310
8650 *((char const **)__cil_tmp12) = "event: Wakeup device...\n";
8651#line 310
8652 __cil_tmp13 = (unsigned long )(& descriptor) + 32;
8653#line 310
8654 *((unsigned int *)__cil_tmp13) = 310U;
8655#line 310
8656 __cil_tmp14 = (unsigned long )(& descriptor) + 35;
8657#line 310
8658 *((unsigned char *)__cil_tmp14) = (unsigned char)0;
8659#line 310
8660 __cil_tmp15 = (unsigned long )(& descriptor) + 35;
8661#line 310
8662 __cil_tmp16 = *((unsigned char *)__cil_tmp15);
8663#line 310
8664 __cil_tmp17 = (long )__cil_tmp16;
8665#line 310
8666 __cil_tmp18 = __cil_tmp17 & 1L;
8667#line 310
8668 tmp___0 = __builtin_expect(__cil_tmp18, 0L);
8669 }
8670#line 310
8671 if (tmp___0 != 0L) {
8672 {
8673#line 310
8674 __cil_tmp19 = (unsigned long )adapter;
8675#line 310
8676 __cil_tmp20 = __cil_tmp19 + 72;
8677#line 310
8678 __cil_tmp21 = *((struct device **)__cil_tmp20);
8679#line 310
8680 __cil_tmp22 = (struct device const *)__cil_tmp21;
8681#line 310
8682 __dynamic_dev_dbg(& descriptor, __cil_tmp22, "event: Wakeup device...\n");
8683 }
8684 } else {
8685
8686 }
8687 {
8688#line 313
8689 tmp___1 = mwifiex_write_reg(adapter, 3124, 15U);
8690 }
8691#line 313
8692 if (tmp___1 != 0) {
8693 {
8694#line 314
8695 __cil_tmp23 = (unsigned long )adapter;
8696#line 314
8697 __cil_tmp24 = __cil_tmp23 + 72;
8698#line 314
8699 __cil_tmp25 = *((struct device **)__cil_tmp24);
8700#line 314
8701 __cil_tmp26 = (struct device const *)__cil_tmp25;
8702#line 314
8703 dev_warn(__cil_tmp26, "Enable host interrupt failed\n");
8704 }
8705#line 315
8706 return (-1);
8707 } else {
8708
8709 }
8710 {
8711#line 318
8712 __cil_tmp27 = & descriptor___0;
8713#line 318
8714 *((char const **)__cil_tmp27) = "mwifiex_pcie";
8715#line 318
8716 __cil_tmp28 = (unsigned long )(& descriptor___0) + 8;
8717#line 318
8718 *((char const **)__cil_tmp28) = "mwifiex_pm_wakeup_card";
8719#line 318
8720 __cil_tmp29 = (unsigned long )(& descriptor___0) + 16;
8721#line 318
8722 *((char const **)__cil_tmp29) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
8723#line 318
8724 __cil_tmp30 = (unsigned long )(& descriptor___0) + 24;
8725#line 318
8726 *((char const **)__cil_tmp30) = "PCIE wakeup: Setting PS_STATE_AWAKE\n";
8727#line 318
8728 __cil_tmp31 = (unsigned long )(& descriptor___0) + 32;
8729#line 318
8730 *((unsigned int *)__cil_tmp31) = 318U;
8731#line 318
8732 __cil_tmp32 = (unsigned long )(& descriptor___0) + 35;
8733#line 318
8734 *((unsigned char *)__cil_tmp32) = (unsigned char)0;
8735#line 318
8736 __cil_tmp33 = (unsigned long )(& descriptor___0) + 35;
8737#line 318
8738 __cil_tmp34 = *((unsigned char *)__cil_tmp33);
8739#line 318
8740 __cil_tmp35 = (long )__cil_tmp34;
8741#line 318
8742 __cil_tmp36 = __cil_tmp35 & 1L;
8743#line 318
8744 tmp___2 = __builtin_expect(__cil_tmp36, 0L);
8745 }
8746#line 318
8747 if (tmp___2 != 0L) {
8748 {
8749#line 318
8750 __cil_tmp37 = (unsigned long )adapter;
8751#line 318
8752 __cil_tmp38 = __cil_tmp37 + 72;
8753#line 318
8754 __cil_tmp39 = *((struct device **)__cil_tmp38);
8755#line 318
8756 __cil_tmp40 = (struct device const *)__cil_tmp39;
8757#line 318
8758 __dynamic_dev_dbg(& descriptor___0, __cil_tmp40, "PCIE wakeup: Setting PS_STATE_AWAKE\n");
8759 }
8760 } else {
8761
8762 }
8763#line 319
8764 __cil_tmp41 = (unsigned long )adapter;
8765#line 319
8766 __cil_tmp42 = __cil_tmp41 + 3892;
8767#line 319
8768 *((u32 *)__cil_tmp42) = 0U;
8769#line 321
8770 return (0);
8771}
8772}
8773#line 329 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
8774static int mwifiex_pm_wakeup_card_complete(struct mwifiex_adapter *adapter )
8775{ struct _ddebug descriptor ;
8776 long tmp ;
8777 struct _ddebug *__cil_tmp4 ;
8778 unsigned long __cil_tmp5 ;
8779 unsigned long __cil_tmp6 ;
8780 unsigned long __cil_tmp7 ;
8781 unsigned long __cil_tmp8 ;
8782 unsigned long __cil_tmp9 ;
8783 unsigned long __cil_tmp10 ;
8784 unsigned char __cil_tmp11 ;
8785 long __cil_tmp12 ;
8786 long __cil_tmp13 ;
8787 unsigned long __cil_tmp14 ;
8788 unsigned long __cil_tmp15 ;
8789 struct device *__cil_tmp16 ;
8790 struct device const *__cil_tmp17 ;
8791
8792 {
8793 {
8794#line 331
8795 __cil_tmp4 = & descriptor;
8796#line 331
8797 *((char const **)__cil_tmp4) = "mwifiex_pcie";
8798#line 331
8799 __cil_tmp5 = (unsigned long )(& descriptor) + 8;
8800#line 331
8801 *((char const **)__cil_tmp5) = "mwifiex_pm_wakeup_card_complete";
8802#line 331
8803 __cil_tmp6 = (unsigned long )(& descriptor) + 16;
8804#line 331
8805 *((char const **)__cil_tmp6) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
8806#line 331
8807 __cil_tmp7 = (unsigned long )(& descriptor) + 24;
8808#line 331
8809 *((char const **)__cil_tmp7) = "cmd: Wakeup device completed\n";
8810#line 331
8811 __cil_tmp8 = (unsigned long )(& descriptor) + 32;
8812#line 331
8813 *((unsigned int *)__cil_tmp8) = 331U;
8814#line 331
8815 __cil_tmp9 = (unsigned long )(& descriptor) + 35;
8816#line 331
8817 *((unsigned char *)__cil_tmp9) = (unsigned char)0;
8818#line 331
8819 __cil_tmp10 = (unsigned long )(& descriptor) + 35;
8820#line 331
8821 __cil_tmp11 = *((unsigned char *)__cil_tmp10);
8822#line 331
8823 __cil_tmp12 = (long )__cil_tmp11;
8824#line 331
8825 __cil_tmp13 = __cil_tmp12 & 1L;
8826#line 331
8827 tmp = __builtin_expect(__cil_tmp13, 0L);
8828 }
8829#line 331
8830 if (tmp != 0L) {
8831 {
8832#line 331
8833 __cil_tmp14 = (unsigned long )adapter;
8834#line 331
8835 __cil_tmp15 = __cil_tmp14 + 72;
8836#line 331
8837 __cil_tmp16 = *((struct device **)__cil_tmp15);
8838#line 331
8839 __cil_tmp17 = (struct device const *)__cil_tmp16;
8840#line 331
8841 __dynamic_dev_dbg(& descriptor, __cil_tmp17, "cmd: Wakeup device completed\n");
8842 }
8843 } else {
8844
8845 }
8846#line 333
8847 return (0);
8848}
8849}
8850#line 342 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
8851static int mwifiex_pcie_disable_host_int(struct mwifiex_adapter *adapter )
8852{ int tmp ;
8853 bool tmp___0 ;
8854 unsigned long __cil_tmp4 ;
8855 unsigned long __cil_tmp5 ;
8856 struct device *__cil_tmp6 ;
8857 struct device const *__cil_tmp7 ;
8858
8859 {
8860 {
8861#line 344
8862 tmp___0 = mwifiex_pcie_ok_to_access_hw(adapter);
8863 }
8864#line 344
8865 if ((int )tmp___0) {
8866 {
8867#line 345
8868 tmp = mwifiex_write_reg(adapter, 3124, 0U);
8869 }
8870#line 345
8871 if (tmp != 0) {
8872 {
8873#line 347
8874 __cil_tmp4 = (unsigned long )adapter;
8875#line 347
8876 __cil_tmp5 = __cil_tmp4 + 72;
8877#line 347
8878 __cil_tmp6 = *((struct device **)__cil_tmp5);
8879#line 347
8880 __cil_tmp7 = (struct device const *)__cil_tmp6;
8881#line 347
8882 dev_warn(__cil_tmp7, "Disable host interrupt failed\n");
8883 }
8884#line 348
8885 return (-1);
8886 } else {
8887
8888 }
8889 } else {
8890
8891 }
8892#line 352
8893 return (0);
8894}
8895}
8896#line 361 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
8897static int mwifiex_pcie_enable_host_int(struct mwifiex_adapter *adapter )
8898{ int tmp ;
8899 bool tmp___0 ;
8900 unsigned long __cil_tmp4 ;
8901 unsigned long __cil_tmp5 ;
8902 struct device *__cil_tmp6 ;
8903 struct device const *__cil_tmp7 ;
8904
8905 {
8906 {
8907#line 363
8908 tmp___0 = mwifiex_pcie_ok_to_access_hw(adapter);
8909 }
8910#line 363
8911 if ((int )tmp___0) {
8912 {
8913#line 365
8914 tmp = mwifiex_write_reg(adapter, 3124, 15U);
8915 }
8916#line 365
8917 if (tmp != 0) {
8918 {
8919#line 367
8920 __cil_tmp4 = (unsigned long )adapter;
8921#line 367
8922 __cil_tmp5 = __cil_tmp4 + 72;
8923#line 367
8924 __cil_tmp6 = *((struct device **)__cil_tmp5);
8925#line 367
8926 __cil_tmp7 = (struct device const *)__cil_tmp6;
8927#line 367
8928 dev_warn(__cil_tmp7, "Enable host interrupt failed\n");
8929 }
8930#line 368
8931 return (-1);
8932 } else {
8933
8934 }
8935 } else {
8936
8937 }
8938#line 372
8939 return (0);
8940}
8941}
8942#line 378 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
8943static int mwifiex_pcie_create_txbd_ring(struct mwifiex_adapter *adapter )
8944{ struct pcie_service_card *card ;
8945 struct sk_buff *skb ;
8946 int i ;
8947 phys_addr_t *buf_pa ;
8948 struct _ddebug descriptor ;
8949 long tmp ;
8950 void *tmp___0 ;
8951 struct _ddebug descriptor___0 ;
8952 long tmp___1 ;
8953 struct _ddebug descriptor___1 ;
8954 long tmp___2 ;
8955 unsigned long __cil_tmp13 ;
8956 unsigned long __cil_tmp14 ;
8957 void *__cil_tmp15 ;
8958 unsigned long __cil_tmp16 ;
8959 unsigned long __cil_tmp17 ;
8960 unsigned long __cil_tmp18 ;
8961 unsigned long __cil_tmp19 ;
8962 unsigned long __cil_tmp20 ;
8963 unsigned long __cil_tmp21 ;
8964 u32 __cil_tmp22 ;
8965 unsigned long __cil_tmp23 ;
8966 unsigned long __cil_tmp24 ;
8967 struct _ddebug *__cil_tmp25 ;
8968 unsigned long __cil_tmp26 ;
8969 unsigned long __cil_tmp27 ;
8970 unsigned long __cil_tmp28 ;
8971 unsigned long __cil_tmp29 ;
8972 unsigned long __cil_tmp30 ;
8973 unsigned long __cil_tmp31 ;
8974 unsigned char __cil_tmp32 ;
8975 long __cil_tmp33 ;
8976 long __cil_tmp34 ;
8977 unsigned long __cil_tmp35 ;
8978 unsigned long __cil_tmp36 ;
8979 struct device *__cil_tmp37 ;
8980 struct device const *__cil_tmp38 ;
8981 unsigned long __cil_tmp39 ;
8982 unsigned long __cil_tmp40 ;
8983 u32 __cil_tmp41 ;
8984 unsigned long __cil_tmp42 ;
8985 unsigned long __cil_tmp43 ;
8986 u32 __cil_tmp44 ;
8987 size_t __cil_tmp45 ;
8988 unsigned long __cil_tmp46 ;
8989 unsigned long __cil_tmp47 ;
8990 u8 *__cil_tmp48 ;
8991 unsigned long __cil_tmp49 ;
8992 unsigned long __cil_tmp50 ;
8993 unsigned long __cil_tmp51 ;
8994 u8 *__cil_tmp52 ;
8995 unsigned long __cil_tmp53 ;
8996 unsigned long __cil_tmp54 ;
8997 unsigned long __cil_tmp55 ;
8998 struct device *__cil_tmp56 ;
8999 struct device const *__cil_tmp57 ;
9000 unsigned long __cil_tmp58 ;
9001 unsigned long __cil_tmp59 ;
9002 unsigned long __cil_tmp60 ;
9003 unsigned long __cil_tmp61 ;
9004 u8 *__cil_tmp62 ;
9005 void volatile *__cil_tmp63 ;
9006 struct _ddebug *__cil_tmp64 ;
9007 unsigned long __cil_tmp65 ;
9008 unsigned long __cil_tmp66 ;
9009 unsigned long __cil_tmp67 ;
9010 unsigned long __cil_tmp68 ;
9011 unsigned long __cil_tmp69 ;
9012 unsigned long __cil_tmp70 ;
9013 unsigned char __cil_tmp71 ;
9014 long __cil_tmp72 ;
9015 long __cil_tmp73 ;
9016 unsigned long __cil_tmp74 ;
9017 unsigned long __cil_tmp75 ;
9018 struct device *__cil_tmp76 ;
9019 struct device const *__cil_tmp77 ;
9020 unsigned long __cil_tmp78 ;
9021 unsigned long __cil_tmp79 ;
9022 u8 *__cil_tmp80 ;
9023 unsigned long __cil_tmp81 ;
9024 unsigned long __cil_tmp82 ;
9025 phys_addr_t __cil_tmp83 ;
9026 unsigned int __cil_tmp84 ;
9027 unsigned long __cil_tmp85 ;
9028 unsigned long __cil_tmp86 ;
9029 phys_addr_t __cil_tmp87 ;
9030 phys_addr_t __cil_tmp88 ;
9031 unsigned int __cil_tmp89 ;
9032 unsigned long __cil_tmp90 ;
9033 unsigned long __cil_tmp91 ;
9034 u32 __cil_tmp92 ;
9035 unsigned long __cil_tmp93 ;
9036 unsigned long __cil_tmp94 ;
9037 unsigned long __cil_tmp95 ;
9038 unsigned long __cil_tmp96 ;
9039 unsigned long __cil_tmp97 ;
9040 unsigned long __cil_tmp98 ;
9041 unsigned long __cil_tmp99 ;
9042 unsigned long __cil_tmp100 ;
9043 u8 *__cil_tmp101 ;
9044 u8 *__cil_tmp102 ;
9045 struct sk_buff *__cil_tmp103 ;
9046 unsigned long __cil_tmp104 ;
9047 unsigned long __cil_tmp105 ;
9048 unsigned long __cil_tmp106 ;
9049 unsigned long __cil_tmp107 ;
9050 struct device *__cil_tmp108 ;
9051 struct device const *__cil_tmp109 ;
9052 unsigned long __cil_tmp110 ;
9053 unsigned long __cil_tmp111 ;
9054 u8 *__cil_tmp112 ;
9055 void const *__cil_tmp113 ;
9056 struct _ddebug *__cil_tmp114 ;
9057 unsigned long __cil_tmp115 ;
9058 unsigned long __cil_tmp116 ;
9059 unsigned long __cil_tmp117 ;
9060 unsigned long __cil_tmp118 ;
9061 unsigned long __cil_tmp119 ;
9062 unsigned long __cil_tmp120 ;
9063 unsigned char __cil_tmp121 ;
9064 long __cil_tmp122 ;
9065 long __cil_tmp123 ;
9066 unsigned long __cil_tmp124 ;
9067 unsigned long __cil_tmp125 ;
9068 struct device *__cil_tmp126 ;
9069 struct device const *__cil_tmp127 ;
9070 unsigned long __cil_tmp128 ;
9071 unsigned long __cil_tmp129 ;
9072 unsigned char *__cil_tmp130 ;
9073 phys_addr_t __cil_tmp131 ;
9074 unsigned int __cil_tmp132 ;
9075 phys_addr_t __cil_tmp133 ;
9076 phys_addr_t __cil_tmp134 ;
9077 unsigned int __cil_tmp135 ;
9078 unsigned long __cil_tmp136 ;
9079 unsigned long __cil_tmp137 ;
9080 unsigned int __cil_tmp138 ;
9081 unsigned long __cil_tmp139 ;
9082 unsigned long __cil_tmp140 ;
9083 unsigned long __cil_tmp141 ;
9084 unsigned long __cil_tmp142 ;
9085 unsigned long __cil_tmp143 ;
9086 unsigned long __cil_tmp144 ;
9087 unsigned long __cil_tmp145 ;
9088 unsigned long __cil_tmp146 ;
9089 struct mwifiex_pcie_buf_desc *__cil_tmp147 ;
9090 unsigned long __cil_tmp148 ;
9091 unsigned long __cil_tmp149 ;
9092 unsigned long __cil_tmp150 ;
9093 unsigned long __cil_tmp151 ;
9094 struct mwifiex_pcie_buf_desc *__cil_tmp152 ;
9095 unsigned long __cil_tmp153 ;
9096 unsigned long __cil_tmp154 ;
9097 unsigned long __cil_tmp155 ;
9098 unsigned long __cil_tmp156 ;
9099 unsigned int __cil_tmp157 ;
9100 unsigned long __cil_tmp158 ;
9101 unsigned long __cil_tmp159 ;
9102 unsigned long __cil_tmp160 ;
9103 unsigned long __cil_tmp161 ;
9104 struct mwifiex_pcie_buf_desc *__cil_tmp162 ;
9105 unsigned long __cil_tmp163 ;
9106 unsigned long __cil_tmp164 ;
9107
9108 {
9109 {
9110#line 380
9111 __cil_tmp13 = (unsigned long )adapter;
9112#line 380
9113 __cil_tmp14 = __cil_tmp13 + 184;
9114#line 380
9115 __cil_tmp15 = *((void **)__cil_tmp14);
9116#line 380
9117 card = (struct pcie_service_card *)__cil_tmp15;
9118#line 390
9119 __cil_tmp16 = (unsigned long )card;
9120#line 390
9121 __cil_tmp17 = __cil_tmp16 + 16;
9122#line 390
9123 *((u32 *)__cil_tmp17) = 0U;
9124#line 391
9125 __cil_tmp18 = (unsigned long )card;
9126#line 391
9127 __cil_tmp19 = __cil_tmp18 + 20;
9128#line 391
9129 __cil_tmp20 = (unsigned long )card;
9130#line 391
9131 __cil_tmp21 = __cil_tmp20 + 20;
9132#line 391
9133 __cil_tmp22 = *((u32 *)__cil_tmp21);
9134#line 391
9135 *((u32 *)__cil_tmp19) = __cil_tmp22 | 128U;
9136#line 395
9137 __cil_tmp23 = (unsigned long )card;
9138#line 395
9139 __cil_tmp24 = __cil_tmp23 + 24;
9140#line 395
9141 *((u32 *)__cil_tmp24) = 384U;
9142#line 397
9143 __cil_tmp25 = & descriptor;
9144#line 397
9145 *((char const **)__cil_tmp25) = "mwifiex_pcie";
9146#line 397
9147 __cil_tmp26 = (unsigned long )(& descriptor) + 8;
9148#line 397
9149 *((char const **)__cil_tmp26) = "mwifiex_pcie_create_txbd_ring";
9150#line 397
9151 __cil_tmp27 = (unsigned long )(& descriptor) + 16;
9152#line 397
9153 *((char const **)__cil_tmp27) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
9154#line 397
9155 __cil_tmp28 = (unsigned long )(& descriptor) + 24;
9156#line 397
9157 *((char const **)__cil_tmp28) = "info: txbd_ring: Allocating %d bytes\n";
9158#line 397
9159 __cil_tmp29 = (unsigned long )(& descriptor) + 32;
9160#line 397
9161 *((unsigned int *)__cil_tmp29) = 398U;
9162#line 397
9163 __cil_tmp30 = (unsigned long )(& descriptor) + 35;
9164#line 397
9165 *((unsigned char *)__cil_tmp30) = (unsigned char)0;
9166#line 397
9167 __cil_tmp31 = (unsigned long )(& descriptor) + 35;
9168#line 397
9169 __cil_tmp32 = *((unsigned char *)__cil_tmp31);
9170#line 397
9171 __cil_tmp33 = (long )__cil_tmp32;
9172#line 397
9173 __cil_tmp34 = __cil_tmp33 & 1L;
9174#line 397
9175 tmp = __builtin_expect(__cil_tmp34, 0L);
9176 }
9177#line 397
9178 if (tmp != 0L) {
9179 {
9180#line 397
9181 __cil_tmp35 = (unsigned long )adapter;
9182#line 397
9183 __cil_tmp36 = __cil_tmp35 + 72;
9184#line 397
9185 __cil_tmp37 = *((struct device **)__cil_tmp36);
9186#line 397
9187 __cil_tmp38 = (struct device const *)__cil_tmp37;
9188#line 397
9189 __cil_tmp39 = (unsigned long )card;
9190#line 397
9191 __cil_tmp40 = __cil_tmp39 + 24;
9192#line 397
9193 __cil_tmp41 = *((u32 *)__cil_tmp40);
9194#line 397
9195 __dynamic_dev_dbg(& descriptor, __cil_tmp38, "info: txbd_ring: Allocating %d bytes\n",
9196 __cil_tmp41);
9197 }
9198 } else {
9199
9200 }
9201 {
9202#line 399
9203 __cil_tmp42 = (unsigned long )card;
9204#line 399
9205 __cil_tmp43 = __cil_tmp42 + 24;
9206#line 399
9207 __cil_tmp44 = *((u32 *)__cil_tmp43);
9208#line 399
9209 __cil_tmp45 = (size_t )__cil_tmp44;
9210#line 399
9211 tmp___0 = kzalloc(__cil_tmp45, 208U);
9212#line 399
9213 __cil_tmp46 = (unsigned long )card;
9214#line 399
9215 __cil_tmp47 = __cil_tmp46 + 32;
9216#line 399
9217 *((u8 **)__cil_tmp47) = (u8 *)tmp___0;
9218 }
9219 {
9220#line 400
9221 __cil_tmp48 = (u8 *)0;
9222#line 400
9223 __cil_tmp49 = (unsigned long )__cil_tmp48;
9224#line 400
9225 __cil_tmp50 = (unsigned long )card;
9226#line 400
9227 __cil_tmp51 = __cil_tmp50 + 32;
9228#line 400
9229 __cil_tmp52 = *((u8 **)__cil_tmp51);
9230#line 400
9231 __cil_tmp53 = (unsigned long )__cil_tmp52;
9232#line 400
9233 if (__cil_tmp53 == __cil_tmp49) {
9234 {
9235#line 401
9236 __cil_tmp54 = (unsigned long )adapter;
9237#line 401
9238 __cil_tmp55 = __cil_tmp54 + 72;
9239#line 401
9240 __cil_tmp56 = *((struct device **)__cil_tmp55);
9241#line 401
9242 __cil_tmp57 = (struct device const *)__cil_tmp56;
9243#line 401
9244 dev_err(__cil_tmp57, "Unable to alloc buffer for txbd ring\n");
9245 }
9246#line 402
9247 return (-12);
9248 } else {
9249
9250 }
9251 }
9252 {
9253#line 404
9254 __cil_tmp58 = (unsigned long )card;
9255#line 404
9256 __cil_tmp59 = __cil_tmp58 + 40;
9257#line 404
9258 __cil_tmp60 = (unsigned long )card;
9259#line 404
9260 __cil_tmp61 = __cil_tmp60 + 32;
9261#line 404
9262 __cil_tmp62 = *((u8 **)__cil_tmp61);
9263#line 404
9264 __cil_tmp63 = (void volatile *)__cil_tmp62;
9265#line 404
9266 *((phys_addr_t *)__cil_tmp59) = virt_to_phys(__cil_tmp63);
9267#line 406
9268 __cil_tmp64 = & descriptor___0;
9269#line 406
9270 *((char const **)__cil_tmp64) = "mwifiex_pcie";
9271#line 406
9272 __cil_tmp65 = (unsigned long )(& descriptor___0) + 8;
9273#line 406
9274 *((char const **)__cil_tmp65) = "mwifiex_pcie_create_txbd_ring";
9275#line 406
9276 __cil_tmp66 = (unsigned long )(& descriptor___0) + 16;
9277#line 406
9278 *((char const **)__cil_tmp66) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
9279#line 406
9280 __cil_tmp67 = (unsigned long )(& descriptor___0) + 24;
9281#line 406
9282 *((char const **)__cil_tmp67) = "info: txbd_ring - base: %p, pbase: %#x:%x, len: %x\n";
9283#line 406
9284 __cil_tmp68 = (unsigned long )(& descriptor___0) + 32;
9285#line 406
9286 *((unsigned int *)__cil_tmp68) = 409U;
9287#line 406
9288 __cil_tmp69 = (unsigned long )(& descriptor___0) + 35;
9289#line 406
9290 *((unsigned char *)__cil_tmp69) = (unsigned char)0;
9291#line 406
9292 __cil_tmp70 = (unsigned long )(& descriptor___0) + 35;
9293#line 406
9294 __cil_tmp71 = *((unsigned char *)__cil_tmp70);
9295#line 406
9296 __cil_tmp72 = (long )__cil_tmp71;
9297#line 406
9298 __cil_tmp73 = __cil_tmp72 & 1L;
9299#line 406
9300 tmp___1 = __builtin_expect(__cil_tmp73, 0L);
9301 }
9302#line 406
9303 if (tmp___1 != 0L) {
9304 {
9305#line 406
9306 __cil_tmp74 = (unsigned long )adapter;
9307#line 406
9308 __cil_tmp75 = __cil_tmp74 + 72;
9309#line 406
9310 __cil_tmp76 = *((struct device **)__cil_tmp75);
9311#line 406
9312 __cil_tmp77 = (struct device const *)__cil_tmp76;
9313#line 406
9314 __cil_tmp78 = (unsigned long )card;
9315#line 406
9316 __cil_tmp79 = __cil_tmp78 + 32;
9317#line 406
9318 __cil_tmp80 = *((u8 **)__cil_tmp79);
9319#line 406
9320 __cil_tmp81 = (unsigned long )card;
9321#line 406
9322 __cil_tmp82 = __cil_tmp81 + 40;
9323#line 406
9324 __cil_tmp83 = *((phys_addr_t *)__cil_tmp82);
9325#line 406
9326 __cil_tmp84 = (unsigned int )__cil_tmp83;
9327#line 406
9328 __cil_tmp85 = (unsigned long )card;
9329#line 406
9330 __cil_tmp86 = __cil_tmp85 + 40;
9331#line 406
9332 __cil_tmp87 = *((phys_addr_t *)__cil_tmp86);
9333#line 406
9334 __cil_tmp88 = __cil_tmp87 >> 32;
9335#line 406
9336 __cil_tmp89 = (unsigned int )__cil_tmp88;
9337#line 406
9338 __cil_tmp90 = (unsigned long )card;
9339#line 406
9340 __cil_tmp91 = __cil_tmp90 + 24;
9341#line 406
9342 __cil_tmp92 = *((u32 *)__cil_tmp91);
9343#line 406
9344 __dynamic_dev_dbg(& descriptor___0, __cil_tmp77, "info: txbd_ring - base: %p, pbase: %#x:%x, len: %x\n",
9345 __cil_tmp80, __cil_tmp84, __cil_tmp89, __cil_tmp92);
9346 }
9347 } else {
9348
9349 }
9350#line 411
9351 i = 0;
9352#line 411
9353 goto ldv_46677;
9354 ldv_46676:
9355 {
9356#line 412
9357 __cil_tmp93 = i * 8UL;
9358#line 412
9359 __cil_tmp94 = 48 + __cil_tmp93;
9360#line 412
9361 __cil_tmp95 = (unsigned long )card;
9362#line 412
9363 __cil_tmp96 = __cil_tmp95 + __cil_tmp94;
9364#line 412
9365 __cil_tmp97 = (unsigned long )i;
9366#line 412
9367 __cil_tmp98 = __cil_tmp97 * 12UL;
9368#line 412
9369 __cil_tmp99 = (unsigned long )card;
9370#line 412
9371 __cil_tmp100 = __cil_tmp99 + 32;
9372#line 412
9373 __cil_tmp101 = *((u8 **)__cil_tmp100);
9374#line 412
9375 __cil_tmp102 = __cil_tmp101 + __cil_tmp98;
9376#line 412
9377 *((struct mwifiex_pcie_buf_desc **)__cil_tmp96) = (struct mwifiex_pcie_buf_desc *)__cil_tmp102;
9378#line 418
9379 skb = dev_alloc_skb(4096U);
9380 }
9381 {
9382#line 419
9383 __cil_tmp103 = (struct sk_buff *)0;
9384#line 419
9385 __cil_tmp104 = (unsigned long )__cil_tmp103;
9386#line 419
9387 __cil_tmp105 = (unsigned long )skb;
9388#line 419
9389 if (__cil_tmp105 == __cil_tmp104) {
9390 {
9391#line 420
9392 __cil_tmp106 = (unsigned long )adapter;
9393#line 420
9394 __cil_tmp107 = __cil_tmp106 + 72;
9395#line 420
9396 __cil_tmp108 = *((struct device **)__cil_tmp107);
9397#line 420
9398 __cil_tmp109 = (struct device const *)__cil_tmp108;
9399#line 420
9400 dev_err(__cil_tmp109, "Unable to allocate skb for TX ring.\n");
9401#line 421
9402 __cil_tmp110 = (unsigned long )card;
9403#line 421
9404 __cil_tmp111 = __cil_tmp110 + 32;
9405#line 421
9406 __cil_tmp112 = *((u8 **)__cil_tmp111);
9407#line 421
9408 __cil_tmp113 = (void const *)__cil_tmp112;
9409#line 421
9410 kfree(__cil_tmp113);
9411 }
9412#line 422
9413 return (-12);
9414 } else {
9415
9416 }
9417 }
9418 {
9419#line 424
9420 buf_pa = mwifiex_update_sk_buff_pa(skb);
9421#line 426
9422 skb_put(skb, 4096U);
9423#line 427
9424 __cil_tmp114 = & descriptor___1;
9425#line 427
9426 *((char const **)__cil_tmp114) = "mwifiex_pcie";
9427#line 427
9428 __cil_tmp115 = (unsigned long )(& descriptor___1) + 8;
9429#line 427
9430 *((char const **)__cil_tmp115) = "mwifiex_pcie_create_txbd_ring";
9431#line 427
9432 __cil_tmp116 = (unsigned long )(& descriptor___1) + 16;
9433#line 427
9434 *((char const **)__cil_tmp116) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
9435#line 427
9436 __cil_tmp117 = (unsigned long )(& descriptor___1) + 24;
9437#line 427
9438 *((char const **)__cil_tmp117) = "info: TX ring: add new skb base: %p, buf_base: %p, buf_pbase: %#x:%x, buf_len: %#x\n";
9439#line 427
9440 __cil_tmp118 = (unsigned long )(& descriptor___1) + 32;
9441#line 427
9442 *((unsigned int *)__cil_tmp118) = 430U;
9443#line 427
9444 __cil_tmp119 = (unsigned long )(& descriptor___1) + 35;
9445#line 427
9446 *((unsigned char *)__cil_tmp119) = (unsigned char)0;
9447#line 427
9448 __cil_tmp120 = (unsigned long )(& descriptor___1) + 35;
9449#line 427
9450 __cil_tmp121 = *((unsigned char *)__cil_tmp120);
9451#line 427
9452 __cil_tmp122 = (long )__cil_tmp121;
9453#line 427
9454 __cil_tmp123 = __cil_tmp122 & 1L;
9455#line 427
9456 tmp___2 = __builtin_expect(__cil_tmp123, 0L);
9457 }
9458#line 427
9459 if (tmp___2 != 0L) {
9460 {
9461#line 427
9462 __cil_tmp124 = (unsigned long )adapter;
9463#line 427
9464 __cil_tmp125 = __cil_tmp124 + 72;
9465#line 427
9466 __cil_tmp126 = *((struct device **)__cil_tmp125);
9467#line 427
9468 __cil_tmp127 = (struct device const *)__cil_tmp126;
9469#line 427
9470 __cil_tmp128 = (unsigned long )skb;
9471#line 427
9472 __cil_tmp129 = __cil_tmp128 + 224;
9473#line 427
9474 __cil_tmp130 = *((unsigned char **)__cil_tmp129);
9475#line 427
9476 __cil_tmp131 = *buf_pa;
9477#line 427
9478 __cil_tmp132 = (unsigned int )__cil_tmp131;
9479#line 427
9480 __cil_tmp133 = *buf_pa;
9481#line 427
9482 __cil_tmp134 = __cil_tmp133 >> 32;
9483#line 427
9484 __cil_tmp135 = (unsigned int )__cil_tmp134;
9485#line 427
9486 __cil_tmp136 = (unsigned long )skb;
9487#line 427
9488 __cil_tmp137 = __cil_tmp136 + 104;
9489#line 427
9490 __cil_tmp138 = *((unsigned int *)__cil_tmp137);
9491#line 427
9492 __dynamic_dev_dbg(& descriptor___1, __cil_tmp127, "info: TX ring: add new skb base: %p, buf_base: %p, buf_pbase: %#x:%x, buf_len: %#x\n",
9493 skb, __cil_tmp130, __cil_tmp132, __cil_tmp135, __cil_tmp138);
9494 }
9495 } else {
9496
9497 }
9498#line 432
9499 __cil_tmp139 = i * 8UL;
9500#line 432
9501 __cil_tmp140 = 304 + __cil_tmp139;
9502#line 432
9503 __cil_tmp141 = (unsigned long )card;
9504#line 432
9505 __cil_tmp142 = __cil_tmp141 + __cil_tmp140;
9506#line 432
9507 *((struct sk_buff **)__cil_tmp142) = skb;
9508#line 433
9509 __cil_tmp143 = i * 8UL;
9510#line 433
9511 __cil_tmp144 = 48 + __cil_tmp143;
9512#line 433
9513 __cil_tmp145 = (unsigned long )card;
9514#line 433
9515 __cil_tmp146 = __cil_tmp145 + __cil_tmp144;
9516#line 433
9517 __cil_tmp147 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp146);
9518#line 433
9519 *((u64 *)__cil_tmp147) = *buf_pa;
9520#line 434
9521 __cil_tmp148 = i * 8UL;
9522#line 434
9523 __cil_tmp149 = 48 + __cil_tmp148;
9524#line 434
9525 __cil_tmp150 = (unsigned long )card;
9526#line 434
9527 __cil_tmp151 = __cil_tmp150 + __cil_tmp149;
9528#line 434
9529 __cil_tmp152 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp151);
9530#line 434
9531 __cil_tmp153 = (unsigned long )__cil_tmp152;
9532#line 434
9533 __cil_tmp154 = __cil_tmp153 + 8;
9534#line 434
9535 __cil_tmp155 = (unsigned long )skb;
9536#line 434
9537 __cil_tmp156 = __cil_tmp155 + 104;
9538#line 434
9539 __cil_tmp157 = *((unsigned int *)__cil_tmp156);
9540#line 434
9541 *((u16 *)__cil_tmp154) = (unsigned short )__cil_tmp157;
9542#line 435
9543 __cil_tmp158 = i * 8UL;
9544#line 435
9545 __cil_tmp159 = 48 + __cil_tmp158;
9546#line 435
9547 __cil_tmp160 = (unsigned long )card;
9548#line 435
9549 __cil_tmp161 = __cil_tmp160 + __cil_tmp159;
9550#line 435
9551 __cil_tmp162 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp161);
9552#line 435
9553 __cil_tmp163 = (unsigned long )__cil_tmp162;
9554#line 435
9555 __cil_tmp164 = __cil_tmp163 + 10;
9556#line 435
9557 *((u16 *)__cil_tmp164) = (u16 )0U;
9558#line 411
9559 i = i + 1;
9560 ldv_46677: ;
9561#line 411
9562 if (i <= 31) {
9563#line 412
9564 goto ldv_46676;
9565 } else {
9566#line 414
9567 goto ldv_46678;
9568 }
9569 ldv_46678: ;
9570#line 438
9571 return (0);
9572}
9573}
9574#line 441 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
9575static int mwifiex_pcie_delete_txbd_ring(struct mwifiex_adapter *adapter )
9576{ struct pcie_service_card *card ;
9577 int i ;
9578 unsigned long __cil_tmp4 ;
9579 unsigned long __cil_tmp5 ;
9580 void *__cil_tmp6 ;
9581 struct sk_buff *__cil_tmp7 ;
9582 unsigned long __cil_tmp8 ;
9583 unsigned long __cil_tmp9 ;
9584 unsigned long __cil_tmp10 ;
9585 unsigned long __cil_tmp11 ;
9586 unsigned long __cil_tmp12 ;
9587 struct sk_buff *__cil_tmp13 ;
9588 unsigned long __cil_tmp14 ;
9589 unsigned long __cil_tmp15 ;
9590 unsigned long __cil_tmp16 ;
9591 unsigned long __cil_tmp17 ;
9592 unsigned long __cil_tmp18 ;
9593 struct sk_buff *__cil_tmp19 ;
9594 unsigned long __cil_tmp20 ;
9595 unsigned long __cil_tmp21 ;
9596 unsigned long __cil_tmp22 ;
9597 unsigned long __cil_tmp23 ;
9598 unsigned long __cil_tmp24 ;
9599 unsigned long __cil_tmp25 ;
9600 unsigned long __cil_tmp26 ;
9601 unsigned long __cil_tmp27 ;
9602 struct mwifiex_pcie_buf_desc *__cil_tmp28 ;
9603 unsigned long __cil_tmp29 ;
9604 unsigned long __cil_tmp30 ;
9605 unsigned long __cil_tmp31 ;
9606 unsigned long __cil_tmp32 ;
9607 struct mwifiex_pcie_buf_desc *__cil_tmp33 ;
9608 unsigned long __cil_tmp34 ;
9609 unsigned long __cil_tmp35 ;
9610 unsigned long __cil_tmp36 ;
9611 unsigned long __cil_tmp37 ;
9612 unsigned long __cil_tmp38 ;
9613 unsigned long __cil_tmp39 ;
9614 struct mwifiex_pcie_buf_desc *__cil_tmp40 ;
9615 unsigned long __cil_tmp41 ;
9616 unsigned long __cil_tmp42 ;
9617 unsigned long __cil_tmp43 ;
9618 unsigned long __cil_tmp44 ;
9619 unsigned long __cil_tmp45 ;
9620 unsigned long __cil_tmp46 ;
9621 unsigned long __cil_tmp47 ;
9622 unsigned long __cil_tmp48 ;
9623 u8 *__cil_tmp49 ;
9624 void const *__cil_tmp50 ;
9625 unsigned long __cil_tmp51 ;
9626 unsigned long __cil_tmp52 ;
9627 unsigned long __cil_tmp53 ;
9628 unsigned long __cil_tmp54 ;
9629 unsigned long __cil_tmp55 ;
9630 unsigned long __cil_tmp56 ;
9631 unsigned long __cil_tmp57 ;
9632 unsigned long __cil_tmp58 ;
9633
9634 {
9635#line 443
9636 __cil_tmp4 = (unsigned long )adapter;
9637#line 443
9638 __cil_tmp5 = __cil_tmp4 + 184;
9639#line 443
9640 __cil_tmp6 = *((void **)__cil_tmp5);
9641#line 443
9642 card = (struct pcie_service_card *)__cil_tmp6;
9643#line 446
9644 i = 0;
9645#line 446
9646 goto ldv_46685;
9647 ldv_46684: ;
9648 {
9649#line 447
9650 __cil_tmp7 = (struct sk_buff *)0;
9651#line 447
9652 __cil_tmp8 = (unsigned long )__cil_tmp7;
9653#line 447
9654 __cil_tmp9 = i * 8UL;
9655#line 447
9656 __cil_tmp10 = 304 + __cil_tmp9;
9657#line 447
9658 __cil_tmp11 = (unsigned long )card;
9659#line 447
9660 __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
9661#line 447
9662 __cil_tmp13 = *((struct sk_buff **)__cil_tmp12);
9663#line 447
9664 __cil_tmp14 = (unsigned long )__cil_tmp13;
9665#line 447
9666 if (__cil_tmp14 != __cil_tmp8) {
9667 {
9668#line 448
9669 __cil_tmp15 = i * 8UL;
9670#line 448
9671 __cil_tmp16 = 304 + __cil_tmp15;
9672#line 448
9673 __cil_tmp17 = (unsigned long )card;
9674#line 448
9675 __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
9676#line 448
9677 __cil_tmp19 = *((struct sk_buff **)__cil_tmp18);
9678#line 448
9679 dev_kfree_skb_any(__cil_tmp19);
9680 }
9681 } else {
9682
9683 }
9684 }
9685#line 449
9686 __cil_tmp20 = i * 8UL;
9687#line 449
9688 __cil_tmp21 = 304 + __cil_tmp20;
9689#line 449
9690 __cil_tmp22 = (unsigned long )card;
9691#line 449
9692 __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
9693#line 449
9694 *((struct sk_buff **)__cil_tmp23) = (struct sk_buff *)0;
9695#line 450
9696 __cil_tmp24 = i * 8UL;
9697#line 450
9698 __cil_tmp25 = 48 + __cil_tmp24;
9699#line 450
9700 __cil_tmp26 = (unsigned long )card;
9701#line 450
9702 __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
9703#line 450
9704 __cil_tmp28 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp27);
9705#line 450
9706 *((u64 *)__cil_tmp28) = 0ULL;
9707#line 451
9708 __cil_tmp29 = i * 8UL;
9709#line 451
9710 __cil_tmp30 = 48 + __cil_tmp29;
9711#line 451
9712 __cil_tmp31 = (unsigned long )card;
9713#line 451
9714 __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
9715#line 451
9716 __cil_tmp33 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp32);
9717#line 451
9718 __cil_tmp34 = (unsigned long )__cil_tmp33;
9719#line 451
9720 __cil_tmp35 = __cil_tmp34 + 8;
9721#line 451
9722 *((u16 *)__cil_tmp35) = (u16 )0U;
9723#line 452
9724 __cil_tmp36 = i * 8UL;
9725#line 452
9726 __cil_tmp37 = 48 + __cil_tmp36;
9727#line 452
9728 __cil_tmp38 = (unsigned long )card;
9729#line 452
9730 __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
9731#line 452
9732 __cil_tmp40 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp39);
9733#line 452
9734 __cil_tmp41 = (unsigned long )__cil_tmp40;
9735#line 452
9736 __cil_tmp42 = __cil_tmp41 + 10;
9737#line 452
9738 *((u16 *)__cil_tmp42) = (u16 )0U;
9739#line 453
9740 __cil_tmp43 = i * 8UL;
9741#line 453
9742 __cil_tmp44 = 48 + __cil_tmp43;
9743#line 453
9744 __cil_tmp45 = (unsigned long )card;
9745#line 453
9746 __cil_tmp46 = __cil_tmp45 + __cil_tmp44;
9747#line 453
9748 *((struct mwifiex_pcie_buf_desc **)__cil_tmp46) = (struct mwifiex_pcie_buf_desc *)0;
9749#line 446
9750 i = i + 1;
9751 ldv_46685: ;
9752#line 446
9753 if (i <= 31) {
9754#line 447
9755 goto ldv_46684;
9756 } else {
9757#line 449
9758 goto ldv_46686;
9759 }
9760 ldv_46686:
9761 {
9762#line 456
9763 __cil_tmp47 = (unsigned long )card;
9764#line 456
9765 __cil_tmp48 = __cil_tmp47 + 32;
9766#line 456
9767 __cil_tmp49 = *((u8 **)__cil_tmp48);
9768#line 456
9769 __cil_tmp50 = (void const *)__cil_tmp49;
9770#line 456
9771 kfree(__cil_tmp50);
9772#line 457
9773 __cil_tmp51 = (unsigned long )card;
9774#line 457
9775 __cil_tmp52 = __cil_tmp51 + 24;
9776#line 457
9777 *((u32 *)__cil_tmp52) = 0U;
9778#line 458
9779 __cil_tmp53 = (unsigned long )card;
9780#line 458
9781 __cil_tmp54 = __cil_tmp53 + 16;
9782#line 458
9783 *((u32 *)__cil_tmp54) = 0U;
9784#line 459
9785 __cil_tmp55 = (unsigned long )card;
9786#line 459
9787 __cil_tmp56 = __cil_tmp55 + 20;
9788#line 459
9789 *((u32 *)__cil_tmp56) = 128U;
9790#line 460
9791 __cil_tmp57 = (unsigned long )card;
9792#line 460
9793 __cil_tmp58 = __cil_tmp57 + 32;
9794#line 460
9795 *((u8 **)__cil_tmp58) = (u8 *)0;
9796 }
9797#line 462
9798 return (0);
9799}
9800}
9801#line 468 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
9802static int mwifiex_pcie_create_rxbd_ring(struct mwifiex_adapter *adapter )
9803{ struct pcie_service_card *card ;
9804 struct sk_buff *skb ;
9805 int i ;
9806 phys_addr_t *buf_pa ;
9807 struct _ddebug descriptor ;
9808 long tmp ;
9809 void *tmp___0 ;
9810 struct _ddebug descriptor___0 ;
9811 long tmp___1 ;
9812 struct _ddebug descriptor___1 ;
9813 long tmp___2 ;
9814 unsigned long __cil_tmp13 ;
9815 unsigned long __cil_tmp14 ;
9816 void *__cil_tmp15 ;
9817 unsigned long __cil_tmp16 ;
9818 unsigned long __cil_tmp17 ;
9819 unsigned long __cil_tmp18 ;
9820 unsigned long __cil_tmp19 ;
9821 unsigned long __cil_tmp20 ;
9822 unsigned long __cil_tmp21 ;
9823 u32 __cil_tmp22 ;
9824 unsigned long __cil_tmp23 ;
9825 unsigned long __cil_tmp24 ;
9826 struct _ddebug *__cil_tmp25 ;
9827 unsigned long __cil_tmp26 ;
9828 unsigned long __cil_tmp27 ;
9829 unsigned long __cil_tmp28 ;
9830 unsigned long __cil_tmp29 ;
9831 unsigned long __cil_tmp30 ;
9832 unsigned long __cil_tmp31 ;
9833 unsigned char __cil_tmp32 ;
9834 long __cil_tmp33 ;
9835 long __cil_tmp34 ;
9836 unsigned long __cil_tmp35 ;
9837 unsigned long __cil_tmp36 ;
9838 struct device *__cil_tmp37 ;
9839 struct device const *__cil_tmp38 ;
9840 unsigned long __cil_tmp39 ;
9841 unsigned long __cil_tmp40 ;
9842 u32 __cil_tmp41 ;
9843 unsigned long __cil_tmp42 ;
9844 unsigned long __cil_tmp43 ;
9845 u32 __cil_tmp44 ;
9846 size_t __cil_tmp45 ;
9847 unsigned long __cil_tmp46 ;
9848 unsigned long __cil_tmp47 ;
9849 u8 *__cil_tmp48 ;
9850 unsigned long __cil_tmp49 ;
9851 unsigned long __cil_tmp50 ;
9852 unsigned long __cil_tmp51 ;
9853 u8 *__cil_tmp52 ;
9854 unsigned long __cil_tmp53 ;
9855 unsigned long __cil_tmp54 ;
9856 unsigned long __cil_tmp55 ;
9857 struct device *__cil_tmp56 ;
9858 struct device const *__cil_tmp57 ;
9859 unsigned long __cil_tmp58 ;
9860 unsigned long __cil_tmp59 ;
9861 unsigned long __cil_tmp60 ;
9862 unsigned long __cil_tmp61 ;
9863 u8 *__cil_tmp62 ;
9864 void volatile *__cil_tmp63 ;
9865 struct _ddebug *__cil_tmp64 ;
9866 unsigned long __cil_tmp65 ;
9867 unsigned long __cil_tmp66 ;
9868 unsigned long __cil_tmp67 ;
9869 unsigned long __cil_tmp68 ;
9870 unsigned long __cil_tmp69 ;
9871 unsigned long __cil_tmp70 ;
9872 unsigned char __cil_tmp71 ;
9873 long __cil_tmp72 ;
9874 long __cil_tmp73 ;
9875 unsigned long __cil_tmp74 ;
9876 unsigned long __cil_tmp75 ;
9877 struct device *__cil_tmp76 ;
9878 struct device const *__cil_tmp77 ;
9879 unsigned long __cil_tmp78 ;
9880 unsigned long __cil_tmp79 ;
9881 u8 *__cil_tmp80 ;
9882 unsigned long __cil_tmp81 ;
9883 unsigned long __cil_tmp82 ;
9884 phys_addr_t __cil_tmp83 ;
9885 unsigned int __cil_tmp84 ;
9886 unsigned long __cil_tmp85 ;
9887 unsigned long __cil_tmp86 ;
9888 phys_addr_t __cil_tmp87 ;
9889 phys_addr_t __cil_tmp88 ;
9890 unsigned int __cil_tmp89 ;
9891 unsigned long __cil_tmp90 ;
9892 unsigned long __cil_tmp91 ;
9893 u32 __cil_tmp92 ;
9894 unsigned long __cil_tmp93 ;
9895 unsigned long __cil_tmp94 ;
9896 unsigned long __cil_tmp95 ;
9897 unsigned long __cil_tmp96 ;
9898 unsigned long __cil_tmp97 ;
9899 unsigned long __cil_tmp98 ;
9900 unsigned long __cil_tmp99 ;
9901 unsigned long __cil_tmp100 ;
9902 u8 *__cil_tmp101 ;
9903 u8 *__cil_tmp102 ;
9904 struct sk_buff *__cil_tmp103 ;
9905 unsigned long __cil_tmp104 ;
9906 unsigned long __cil_tmp105 ;
9907 unsigned long __cil_tmp106 ;
9908 unsigned long __cil_tmp107 ;
9909 struct device *__cil_tmp108 ;
9910 struct device const *__cil_tmp109 ;
9911 unsigned long __cil_tmp110 ;
9912 unsigned long __cil_tmp111 ;
9913 u8 *__cil_tmp112 ;
9914 void const *__cil_tmp113 ;
9915 struct _ddebug *__cil_tmp114 ;
9916 unsigned long __cil_tmp115 ;
9917 unsigned long __cil_tmp116 ;
9918 unsigned long __cil_tmp117 ;
9919 unsigned long __cil_tmp118 ;
9920 unsigned long __cil_tmp119 ;
9921 unsigned long __cil_tmp120 ;
9922 unsigned char __cil_tmp121 ;
9923 long __cil_tmp122 ;
9924 long __cil_tmp123 ;
9925 unsigned long __cil_tmp124 ;
9926 unsigned long __cil_tmp125 ;
9927 struct device *__cil_tmp126 ;
9928 struct device const *__cil_tmp127 ;
9929 unsigned long __cil_tmp128 ;
9930 unsigned long __cil_tmp129 ;
9931 unsigned char *__cil_tmp130 ;
9932 phys_addr_t __cil_tmp131 ;
9933 unsigned int __cil_tmp132 ;
9934 phys_addr_t __cil_tmp133 ;
9935 phys_addr_t __cil_tmp134 ;
9936 unsigned int __cil_tmp135 ;
9937 unsigned long __cil_tmp136 ;
9938 unsigned long __cil_tmp137 ;
9939 unsigned int __cil_tmp138 ;
9940 unsigned long __cil_tmp139 ;
9941 unsigned long __cil_tmp140 ;
9942 unsigned long __cil_tmp141 ;
9943 unsigned long __cil_tmp142 ;
9944 unsigned long __cil_tmp143 ;
9945 unsigned long __cil_tmp144 ;
9946 unsigned long __cil_tmp145 ;
9947 unsigned long __cil_tmp146 ;
9948 struct mwifiex_pcie_buf_desc *__cil_tmp147 ;
9949 unsigned long __cil_tmp148 ;
9950 unsigned long __cil_tmp149 ;
9951 unsigned long __cil_tmp150 ;
9952 unsigned long __cil_tmp151 ;
9953 struct mwifiex_pcie_buf_desc *__cil_tmp152 ;
9954 unsigned long __cil_tmp153 ;
9955 unsigned long __cil_tmp154 ;
9956 unsigned long __cil_tmp155 ;
9957 unsigned long __cil_tmp156 ;
9958 unsigned int __cil_tmp157 ;
9959 unsigned long __cil_tmp158 ;
9960 unsigned long __cil_tmp159 ;
9961 unsigned long __cil_tmp160 ;
9962 unsigned long __cil_tmp161 ;
9963 struct mwifiex_pcie_buf_desc *__cil_tmp162 ;
9964 unsigned long __cil_tmp163 ;
9965 unsigned long __cil_tmp164 ;
9966
9967 {
9968 {
9969#line 470
9970 __cil_tmp13 = (unsigned long )adapter;
9971#line 470
9972 __cil_tmp14 = __cil_tmp13 + 184;
9973#line 470
9974 __cil_tmp15 = *((void **)__cil_tmp14);
9975#line 470
9976 card = (struct pcie_service_card *)__cil_tmp15;
9977#line 480
9978 __cil_tmp16 = (unsigned long )card;
9979#line 480
9980 __cil_tmp17 = __cil_tmp16 + 560;
9981#line 480
9982 *((u32 *)__cil_tmp17) = 0U;
9983#line 481
9984 __cil_tmp18 = (unsigned long )card;
9985#line 481
9986 __cil_tmp19 = __cil_tmp18 + 564;
9987#line 481
9988 __cil_tmp20 = (unsigned long )card;
9989#line 481
9990 __cil_tmp21 = __cil_tmp20 + 564;
9991#line 481
9992 __cil_tmp22 = *((u32 *)__cil_tmp21);
9993#line 481
9994 *((u32 *)__cil_tmp19) = __cil_tmp22 | 128U;
9995#line 483
9996 __cil_tmp23 = (unsigned long )card;
9997#line 483
9998 __cil_tmp24 = __cil_tmp23 + 568;
9999#line 483
10000 *((u32 *)__cil_tmp24) = 384U;
10001#line 485
10002 __cil_tmp25 = & descriptor;
10003#line 485
10004 *((char const **)__cil_tmp25) = "mwifiex_pcie";
10005#line 485
10006 __cil_tmp26 = (unsigned long )(& descriptor) + 8;
10007#line 485
10008 *((char const **)__cil_tmp26) = "mwifiex_pcie_create_rxbd_ring";
10009#line 485
10010 __cil_tmp27 = (unsigned long )(& descriptor) + 16;
10011#line 485
10012 *((char const **)__cil_tmp27) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
10013#line 485
10014 __cil_tmp28 = (unsigned long )(& descriptor) + 24;
10015#line 485
10016 *((char const **)__cil_tmp28) = "info: rxbd_ring: Allocating %d bytes\n";
10017#line 485
10018 __cil_tmp29 = (unsigned long )(& descriptor) + 32;
10019#line 485
10020 *((unsigned int *)__cil_tmp29) = 486U;
10021#line 485
10022 __cil_tmp30 = (unsigned long )(& descriptor) + 35;
10023#line 485
10024 *((unsigned char *)__cil_tmp30) = (unsigned char)0;
10025#line 485
10026 __cil_tmp31 = (unsigned long )(& descriptor) + 35;
10027#line 485
10028 __cil_tmp32 = *((unsigned char *)__cil_tmp31);
10029#line 485
10030 __cil_tmp33 = (long )__cil_tmp32;
10031#line 485
10032 __cil_tmp34 = __cil_tmp33 & 1L;
10033#line 485
10034 tmp = __builtin_expect(__cil_tmp34, 0L);
10035 }
10036#line 485
10037 if (tmp != 0L) {
10038 {
10039#line 485
10040 __cil_tmp35 = (unsigned long )adapter;
10041#line 485
10042 __cil_tmp36 = __cil_tmp35 + 72;
10043#line 485
10044 __cil_tmp37 = *((struct device **)__cil_tmp36);
10045#line 485
10046 __cil_tmp38 = (struct device const *)__cil_tmp37;
10047#line 485
10048 __cil_tmp39 = (unsigned long )card;
10049#line 485
10050 __cil_tmp40 = __cil_tmp39 + 568;
10051#line 485
10052 __cil_tmp41 = *((u32 *)__cil_tmp40);
10053#line 485
10054 __dynamic_dev_dbg(& descriptor, __cil_tmp38, "info: rxbd_ring: Allocating %d bytes\n",
10055 __cil_tmp41);
10056 }
10057 } else {
10058
10059 }
10060 {
10061#line 487
10062 __cil_tmp42 = (unsigned long )card;
10063#line 487
10064 __cil_tmp43 = __cil_tmp42 + 568;
10065#line 487
10066 __cil_tmp44 = *((u32 *)__cil_tmp43);
10067#line 487
10068 __cil_tmp45 = (size_t )__cil_tmp44;
10069#line 487
10070 tmp___0 = kzalloc(__cil_tmp45, 208U);
10071#line 487
10072 __cil_tmp46 = (unsigned long )card;
10073#line 487
10074 __cil_tmp47 = __cil_tmp46 + 576;
10075#line 487
10076 *((u8 **)__cil_tmp47) = (u8 *)tmp___0;
10077 }
10078 {
10079#line 488
10080 __cil_tmp48 = (u8 *)0;
10081#line 488
10082 __cil_tmp49 = (unsigned long )__cil_tmp48;
10083#line 488
10084 __cil_tmp50 = (unsigned long )card;
10085#line 488
10086 __cil_tmp51 = __cil_tmp50 + 576;
10087#line 488
10088 __cil_tmp52 = *((u8 **)__cil_tmp51);
10089#line 488
10090 __cil_tmp53 = (unsigned long )__cil_tmp52;
10091#line 488
10092 if (__cil_tmp53 == __cil_tmp49) {
10093 {
10094#line 489
10095 __cil_tmp54 = (unsigned long )adapter;
10096#line 489
10097 __cil_tmp55 = __cil_tmp54 + 72;
10098#line 489
10099 __cil_tmp56 = *((struct device **)__cil_tmp55);
10100#line 489
10101 __cil_tmp57 = (struct device const *)__cil_tmp56;
10102#line 489
10103 dev_err(__cil_tmp57, "Unable to allocate buffer for rxbd_ring.\n");
10104 }
10105#line 491
10106 return (-12);
10107 } else {
10108
10109 }
10110 }
10111 {
10112#line 493
10113 __cil_tmp58 = (unsigned long )card;
10114#line 493
10115 __cil_tmp59 = __cil_tmp58 + 584;
10116#line 493
10117 __cil_tmp60 = (unsigned long )card;
10118#line 493
10119 __cil_tmp61 = __cil_tmp60 + 576;
10120#line 493
10121 __cil_tmp62 = *((u8 **)__cil_tmp61);
10122#line 493
10123 __cil_tmp63 = (void volatile *)__cil_tmp62;
10124#line 493
10125 *((phys_addr_t *)__cil_tmp59) = virt_to_phys(__cil_tmp63);
10126#line 495
10127 __cil_tmp64 = & descriptor___0;
10128#line 495
10129 *((char const **)__cil_tmp64) = "mwifiex_pcie";
10130#line 495
10131 __cil_tmp65 = (unsigned long )(& descriptor___0) + 8;
10132#line 495
10133 *((char const **)__cil_tmp65) = "mwifiex_pcie_create_rxbd_ring";
10134#line 495
10135 __cil_tmp66 = (unsigned long )(& descriptor___0) + 16;
10136#line 495
10137 *((char const **)__cil_tmp66) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
10138#line 495
10139 __cil_tmp67 = (unsigned long )(& descriptor___0) + 24;
10140#line 495
10141 *((char const **)__cil_tmp67) = "info: rxbd_ring - base: %p, pbase: %#x:%x, len: %#x\n";
10142#line 495
10143 __cil_tmp68 = (unsigned long )(& descriptor___0) + 32;
10144#line 495
10145 *((unsigned int *)__cil_tmp68) = 499U;
10146#line 495
10147 __cil_tmp69 = (unsigned long )(& descriptor___0) + 35;
10148#line 495
10149 *((unsigned char *)__cil_tmp69) = (unsigned char)0;
10150#line 495
10151 __cil_tmp70 = (unsigned long )(& descriptor___0) + 35;
10152#line 495
10153 __cil_tmp71 = *((unsigned char *)__cil_tmp70);
10154#line 495
10155 __cil_tmp72 = (long )__cil_tmp71;
10156#line 495
10157 __cil_tmp73 = __cil_tmp72 & 1L;
10158#line 495
10159 tmp___1 = __builtin_expect(__cil_tmp73, 0L);
10160 }
10161#line 495
10162 if (tmp___1 != 0L) {
10163 {
10164#line 495
10165 __cil_tmp74 = (unsigned long )adapter;
10166#line 495
10167 __cil_tmp75 = __cil_tmp74 + 72;
10168#line 495
10169 __cil_tmp76 = *((struct device **)__cil_tmp75);
10170#line 495
10171 __cil_tmp77 = (struct device const *)__cil_tmp76;
10172#line 495
10173 __cil_tmp78 = (unsigned long )card;
10174#line 495
10175 __cil_tmp79 = __cil_tmp78 + 576;
10176#line 495
10177 __cil_tmp80 = *((u8 **)__cil_tmp79);
10178#line 495
10179 __cil_tmp81 = (unsigned long )card;
10180#line 495
10181 __cil_tmp82 = __cil_tmp81 + 584;
10182#line 495
10183 __cil_tmp83 = *((phys_addr_t *)__cil_tmp82);
10184#line 495
10185 __cil_tmp84 = (unsigned int )__cil_tmp83;
10186#line 495
10187 __cil_tmp85 = (unsigned long )card;
10188#line 495
10189 __cil_tmp86 = __cil_tmp85 + 584;
10190#line 495
10191 __cil_tmp87 = *((phys_addr_t *)__cil_tmp86);
10192#line 495
10193 __cil_tmp88 = __cil_tmp87 >> 32;
10194#line 495
10195 __cil_tmp89 = (unsigned int )__cil_tmp88;
10196#line 495
10197 __cil_tmp90 = (unsigned long )card;
10198#line 495
10199 __cil_tmp91 = __cil_tmp90 + 568;
10200#line 495
10201 __cil_tmp92 = *((u32 *)__cil_tmp91);
10202#line 495
10203 __dynamic_dev_dbg(& descriptor___0, __cil_tmp77, "info: rxbd_ring - base: %p, pbase: %#x:%x, len: %#x\n",
10204 __cil_tmp80, __cil_tmp84, __cil_tmp89, __cil_tmp92);
10205 }
10206 } else {
10207
10208 }
10209#line 501
10210 i = 0;
10211#line 501
10212 goto ldv_46699;
10213 ldv_46698:
10214 {
10215#line 502
10216 __cil_tmp93 = i * 8UL;
10217#line 502
10218 __cil_tmp94 = 592 + __cil_tmp93;
10219#line 502
10220 __cil_tmp95 = (unsigned long )card;
10221#line 502
10222 __cil_tmp96 = __cil_tmp95 + __cil_tmp94;
10223#line 502
10224 __cil_tmp97 = (unsigned long )i;
10225#line 502
10226 __cil_tmp98 = __cil_tmp97 * 12UL;
10227#line 502
10228 __cil_tmp99 = (unsigned long )card;
10229#line 502
10230 __cil_tmp100 = __cil_tmp99 + 576;
10231#line 502
10232 __cil_tmp101 = *((u8 **)__cil_tmp100);
10233#line 502
10234 __cil_tmp102 = __cil_tmp101 + __cil_tmp98;
10235#line 502
10236 *((struct mwifiex_pcie_buf_desc **)__cil_tmp96) = (struct mwifiex_pcie_buf_desc *)__cil_tmp102;
10237#line 508
10238 skb = dev_alloc_skb(4096U);
10239 }
10240 {
10241#line 509
10242 __cil_tmp103 = (struct sk_buff *)0;
10243#line 509
10244 __cil_tmp104 = (unsigned long )__cil_tmp103;
10245#line 509
10246 __cil_tmp105 = (unsigned long )skb;
10247#line 509
10248 if (__cil_tmp105 == __cil_tmp104) {
10249 {
10250#line 510
10251 __cil_tmp106 = (unsigned long )adapter;
10252#line 510
10253 __cil_tmp107 = __cil_tmp106 + 72;
10254#line 510
10255 __cil_tmp108 = *((struct device **)__cil_tmp107);
10256#line 510
10257 __cil_tmp109 = (struct device const *)__cil_tmp108;
10258#line 510
10259 dev_err(__cil_tmp109, "Unable to allocate skb for RX ring.\n");
10260#line 512
10261 __cil_tmp110 = (unsigned long )card;
10262#line 512
10263 __cil_tmp111 = __cil_tmp110 + 576;
10264#line 512
10265 __cil_tmp112 = *((u8 **)__cil_tmp111);
10266#line 512
10267 __cil_tmp113 = (void const *)__cil_tmp112;
10268#line 512
10269 kfree(__cil_tmp113);
10270 }
10271#line 513
10272 return (-12);
10273 } else {
10274
10275 }
10276 }
10277 {
10278#line 515
10279 buf_pa = mwifiex_update_sk_buff_pa(skb);
10280#line 516
10281 skb_put(skb, 4096U);
10282#line 518
10283 __cil_tmp114 = & descriptor___1;
10284#line 518
10285 *((char const **)__cil_tmp114) = "mwifiex_pcie";
10286#line 518
10287 __cil_tmp115 = (unsigned long )(& descriptor___1) + 8;
10288#line 518
10289 *((char const **)__cil_tmp115) = "mwifiex_pcie_create_rxbd_ring";
10290#line 518
10291 __cil_tmp116 = (unsigned long )(& descriptor___1) + 16;
10292#line 518
10293 *((char const **)__cil_tmp116) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
10294#line 518
10295 __cil_tmp117 = (unsigned long )(& descriptor___1) + 24;
10296#line 518
10297 *((char const **)__cil_tmp117) = "info: RX ring: add new skb base: %p, buf_base: %p, buf_pbase: %#x:%x, buf_len: %#x\n";
10298#line 518
10299 __cil_tmp118 = (unsigned long )(& descriptor___1) + 32;
10300#line 518
10301 *((unsigned int *)__cil_tmp118) = 521U;
10302#line 518
10303 __cil_tmp119 = (unsigned long )(& descriptor___1) + 35;
10304#line 518
10305 *((unsigned char *)__cil_tmp119) = (unsigned char)0;
10306#line 518
10307 __cil_tmp120 = (unsigned long )(& descriptor___1) + 35;
10308#line 518
10309 __cil_tmp121 = *((unsigned char *)__cil_tmp120);
10310#line 518
10311 __cil_tmp122 = (long )__cil_tmp121;
10312#line 518
10313 __cil_tmp123 = __cil_tmp122 & 1L;
10314#line 518
10315 tmp___2 = __builtin_expect(__cil_tmp123, 0L);
10316 }
10317#line 518
10318 if (tmp___2 != 0L) {
10319 {
10320#line 518
10321 __cil_tmp124 = (unsigned long )adapter;
10322#line 518
10323 __cil_tmp125 = __cil_tmp124 + 72;
10324#line 518
10325 __cil_tmp126 = *((struct device **)__cil_tmp125);
10326#line 518
10327 __cil_tmp127 = (struct device const *)__cil_tmp126;
10328#line 518
10329 __cil_tmp128 = (unsigned long )skb;
10330#line 518
10331 __cil_tmp129 = __cil_tmp128 + 224;
10332#line 518
10333 __cil_tmp130 = *((unsigned char **)__cil_tmp129);
10334#line 518
10335 __cil_tmp131 = *buf_pa;
10336#line 518
10337 __cil_tmp132 = (unsigned int )__cil_tmp131;
10338#line 518
10339 __cil_tmp133 = *buf_pa;
10340#line 518
10341 __cil_tmp134 = __cil_tmp133 >> 32;
10342#line 518
10343 __cil_tmp135 = (unsigned int )__cil_tmp134;
10344#line 518
10345 __cil_tmp136 = (unsigned long )skb;
10346#line 518
10347 __cil_tmp137 = __cil_tmp136 + 104;
10348#line 518
10349 __cil_tmp138 = *((unsigned int *)__cil_tmp137);
10350#line 518
10351 __dynamic_dev_dbg(& descriptor___1, __cil_tmp127, "info: RX ring: add new skb base: %p, buf_base: %p, buf_pbase: %#x:%x, buf_len: %#x\n",
10352 skb, __cil_tmp130, __cil_tmp132, __cil_tmp135, __cil_tmp138);
10353 }
10354 } else {
10355
10356 }
10357#line 523
10358 __cil_tmp139 = i * 8UL;
10359#line 523
10360 __cil_tmp140 = 848 + __cil_tmp139;
10361#line 523
10362 __cil_tmp141 = (unsigned long )card;
10363#line 523
10364 __cil_tmp142 = __cil_tmp141 + __cil_tmp140;
10365#line 523
10366 *((struct sk_buff **)__cil_tmp142) = skb;
10367#line 524
10368 __cil_tmp143 = i * 8UL;
10369#line 524
10370 __cil_tmp144 = 592 + __cil_tmp143;
10371#line 524
10372 __cil_tmp145 = (unsigned long )card;
10373#line 524
10374 __cil_tmp146 = __cil_tmp145 + __cil_tmp144;
10375#line 524
10376 __cil_tmp147 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp146);
10377#line 524
10378 *((u64 *)__cil_tmp147) = *buf_pa;
10379#line 525
10380 __cil_tmp148 = i * 8UL;
10381#line 525
10382 __cil_tmp149 = 592 + __cil_tmp148;
10383#line 525
10384 __cil_tmp150 = (unsigned long )card;
10385#line 525
10386 __cil_tmp151 = __cil_tmp150 + __cil_tmp149;
10387#line 525
10388 __cil_tmp152 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp151);
10389#line 525
10390 __cil_tmp153 = (unsigned long )__cil_tmp152;
10391#line 525
10392 __cil_tmp154 = __cil_tmp153 + 8;
10393#line 525
10394 __cil_tmp155 = (unsigned long )skb;
10395#line 525
10396 __cil_tmp156 = __cil_tmp155 + 104;
10397#line 525
10398 __cil_tmp157 = *((unsigned int *)__cil_tmp156);
10399#line 525
10400 *((u16 *)__cil_tmp154) = (unsigned short )__cil_tmp157;
10401#line 526
10402 __cil_tmp158 = i * 8UL;
10403#line 526
10404 __cil_tmp159 = 592 + __cil_tmp158;
10405#line 526
10406 __cil_tmp160 = (unsigned long )card;
10407#line 526
10408 __cil_tmp161 = __cil_tmp160 + __cil_tmp159;
10409#line 526
10410 __cil_tmp162 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp161);
10411#line 526
10412 __cil_tmp163 = (unsigned long )__cil_tmp162;
10413#line 526
10414 __cil_tmp164 = __cil_tmp163 + 10;
10415#line 526
10416 *((u16 *)__cil_tmp164) = (u16 )0U;
10417#line 501
10418 i = i + 1;
10419 ldv_46699: ;
10420#line 501
10421 if (i <= 31) {
10422#line 502
10423 goto ldv_46698;
10424 } else {
10425#line 504
10426 goto ldv_46700;
10427 }
10428 ldv_46700: ;
10429#line 529
10430 return (0);
10431}
10432}
10433#line 535 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
10434static int mwifiex_pcie_delete_rxbd_ring(struct mwifiex_adapter *adapter )
10435{ struct pcie_service_card *card ;
10436 int i ;
10437 unsigned long __cil_tmp4 ;
10438 unsigned long __cil_tmp5 ;
10439 void *__cil_tmp6 ;
10440 struct sk_buff *__cil_tmp7 ;
10441 unsigned long __cil_tmp8 ;
10442 unsigned long __cil_tmp9 ;
10443 unsigned long __cil_tmp10 ;
10444 unsigned long __cil_tmp11 ;
10445 unsigned long __cil_tmp12 ;
10446 struct sk_buff *__cil_tmp13 ;
10447 unsigned long __cil_tmp14 ;
10448 unsigned long __cil_tmp15 ;
10449 unsigned long __cil_tmp16 ;
10450 unsigned long __cil_tmp17 ;
10451 unsigned long __cil_tmp18 ;
10452 struct sk_buff *__cil_tmp19 ;
10453 unsigned long __cil_tmp20 ;
10454 unsigned long __cil_tmp21 ;
10455 unsigned long __cil_tmp22 ;
10456 unsigned long __cil_tmp23 ;
10457 unsigned long __cil_tmp24 ;
10458 unsigned long __cil_tmp25 ;
10459 unsigned long __cil_tmp26 ;
10460 unsigned long __cil_tmp27 ;
10461 struct mwifiex_pcie_buf_desc *__cil_tmp28 ;
10462 unsigned long __cil_tmp29 ;
10463 unsigned long __cil_tmp30 ;
10464 unsigned long __cil_tmp31 ;
10465 unsigned long __cil_tmp32 ;
10466 struct mwifiex_pcie_buf_desc *__cil_tmp33 ;
10467 unsigned long __cil_tmp34 ;
10468 unsigned long __cil_tmp35 ;
10469 unsigned long __cil_tmp36 ;
10470 unsigned long __cil_tmp37 ;
10471 unsigned long __cil_tmp38 ;
10472 unsigned long __cil_tmp39 ;
10473 struct mwifiex_pcie_buf_desc *__cil_tmp40 ;
10474 unsigned long __cil_tmp41 ;
10475 unsigned long __cil_tmp42 ;
10476 unsigned long __cil_tmp43 ;
10477 unsigned long __cil_tmp44 ;
10478 unsigned long __cil_tmp45 ;
10479 unsigned long __cil_tmp46 ;
10480 unsigned long __cil_tmp47 ;
10481 unsigned long __cil_tmp48 ;
10482 u8 *__cil_tmp49 ;
10483 void const *__cil_tmp50 ;
10484 unsigned long __cil_tmp51 ;
10485 unsigned long __cil_tmp52 ;
10486 unsigned long __cil_tmp53 ;
10487 unsigned long __cil_tmp54 ;
10488 unsigned long __cil_tmp55 ;
10489 unsigned long __cil_tmp56 ;
10490 unsigned long __cil_tmp57 ;
10491 unsigned long __cil_tmp58 ;
10492
10493 {
10494#line 537
10495 __cil_tmp4 = (unsigned long )adapter;
10496#line 537
10497 __cil_tmp5 = __cil_tmp4 + 184;
10498#line 537
10499 __cil_tmp6 = *((void **)__cil_tmp5);
10500#line 537
10501 card = (struct pcie_service_card *)__cil_tmp6;
10502#line 540
10503 i = 0;
10504#line 540
10505 goto ldv_46707;
10506 ldv_46706: ;
10507 {
10508#line 541
10509 __cil_tmp7 = (struct sk_buff *)0;
10510#line 541
10511 __cil_tmp8 = (unsigned long )__cil_tmp7;
10512#line 541
10513 __cil_tmp9 = i * 8UL;
10514#line 541
10515 __cil_tmp10 = 848 + __cil_tmp9;
10516#line 541
10517 __cil_tmp11 = (unsigned long )card;
10518#line 541
10519 __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
10520#line 541
10521 __cil_tmp13 = *((struct sk_buff **)__cil_tmp12);
10522#line 541
10523 __cil_tmp14 = (unsigned long )__cil_tmp13;
10524#line 541
10525 if (__cil_tmp14 != __cil_tmp8) {
10526 {
10527#line 542
10528 __cil_tmp15 = i * 8UL;
10529#line 542
10530 __cil_tmp16 = 848 + __cil_tmp15;
10531#line 542
10532 __cil_tmp17 = (unsigned long )card;
10533#line 542
10534 __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
10535#line 542
10536 __cil_tmp19 = *((struct sk_buff **)__cil_tmp18);
10537#line 542
10538 dev_kfree_skb_any(__cil_tmp19);
10539 }
10540 } else {
10541
10542 }
10543 }
10544#line 543
10545 __cil_tmp20 = i * 8UL;
10546#line 543
10547 __cil_tmp21 = 848 + __cil_tmp20;
10548#line 543
10549 __cil_tmp22 = (unsigned long )card;
10550#line 543
10551 __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
10552#line 543
10553 *((struct sk_buff **)__cil_tmp23) = (struct sk_buff *)0;
10554#line 544
10555 __cil_tmp24 = i * 8UL;
10556#line 544
10557 __cil_tmp25 = 592 + __cil_tmp24;
10558#line 544
10559 __cil_tmp26 = (unsigned long )card;
10560#line 544
10561 __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
10562#line 544
10563 __cil_tmp28 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp27);
10564#line 544
10565 *((u64 *)__cil_tmp28) = 0ULL;
10566#line 545
10567 __cil_tmp29 = i * 8UL;
10568#line 545
10569 __cil_tmp30 = 592 + __cil_tmp29;
10570#line 545
10571 __cil_tmp31 = (unsigned long )card;
10572#line 545
10573 __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
10574#line 545
10575 __cil_tmp33 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp32);
10576#line 545
10577 __cil_tmp34 = (unsigned long )__cil_tmp33;
10578#line 545
10579 __cil_tmp35 = __cil_tmp34 + 8;
10580#line 545
10581 *((u16 *)__cil_tmp35) = (u16 )0U;
10582#line 546
10583 __cil_tmp36 = i * 8UL;
10584#line 546
10585 __cil_tmp37 = 592 + __cil_tmp36;
10586#line 546
10587 __cil_tmp38 = (unsigned long )card;
10588#line 546
10589 __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
10590#line 546
10591 __cil_tmp40 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp39);
10592#line 546
10593 __cil_tmp41 = (unsigned long )__cil_tmp40;
10594#line 546
10595 __cil_tmp42 = __cil_tmp41 + 10;
10596#line 546
10597 *((u16 *)__cil_tmp42) = (u16 )0U;
10598#line 547
10599 __cil_tmp43 = i * 8UL;
10600#line 547
10601 __cil_tmp44 = 592 + __cil_tmp43;
10602#line 547
10603 __cil_tmp45 = (unsigned long )card;
10604#line 547
10605 __cil_tmp46 = __cil_tmp45 + __cil_tmp44;
10606#line 547
10607 *((struct mwifiex_pcie_buf_desc **)__cil_tmp46) = (struct mwifiex_pcie_buf_desc *)0;
10608#line 540
10609 i = i + 1;
10610 ldv_46707: ;
10611#line 540
10612 if (i <= 31) {
10613#line 541
10614 goto ldv_46706;
10615 } else {
10616#line 543
10617 goto ldv_46708;
10618 }
10619 ldv_46708:
10620 {
10621#line 550
10622 __cil_tmp47 = (unsigned long )card;
10623#line 550
10624 __cil_tmp48 = __cil_tmp47 + 576;
10625#line 550
10626 __cil_tmp49 = *((u8 **)__cil_tmp48);
10627#line 550
10628 __cil_tmp50 = (void const *)__cil_tmp49;
10629#line 550
10630 kfree(__cil_tmp50);
10631#line 551
10632 __cil_tmp51 = (unsigned long )card;
10633#line 551
10634 __cil_tmp52 = __cil_tmp51 + 568;
10635#line 551
10636 *((u32 *)__cil_tmp52) = 0U;
10637#line 552
10638 __cil_tmp53 = (unsigned long )card;
10639#line 552
10640 __cil_tmp54 = __cil_tmp53 + 560;
10641#line 552
10642 *((u32 *)__cil_tmp54) = 0U;
10643#line 553
10644 __cil_tmp55 = (unsigned long )card;
10645#line 553
10646 __cil_tmp56 = __cil_tmp55 + 564;
10647#line 553
10648 *((u32 *)__cil_tmp56) = 128U;
10649#line 554
10650 __cil_tmp57 = (unsigned long )card;
10651#line 554
10652 __cil_tmp58 = __cil_tmp57 + 576;
10653#line 554
10654 *((u8 **)__cil_tmp58) = (u8 *)0;
10655 }
10656#line 556
10657 return (0);
10658}
10659}
10660#line 562 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
10661static int mwifiex_pcie_create_evtbd_ring(struct mwifiex_adapter *adapter )
10662{ struct pcie_service_card *card ;
10663 struct sk_buff *skb ;
10664 int i ;
10665 phys_addr_t *buf_pa ;
10666 struct _ddebug descriptor ;
10667 long tmp ;
10668 void *tmp___0 ;
10669 struct _ddebug descriptor___0 ;
10670 long tmp___1 ;
10671 struct _ddebug descriptor___1 ;
10672 long tmp___2 ;
10673 unsigned long __cil_tmp13 ;
10674 unsigned long __cil_tmp14 ;
10675 void *__cil_tmp15 ;
10676 unsigned long __cil_tmp16 ;
10677 unsigned long __cil_tmp17 ;
10678 unsigned long __cil_tmp18 ;
10679 unsigned long __cil_tmp19 ;
10680 unsigned long __cil_tmp20 ;
10681 unsigned long __cil_tmp21 ;
10682 u32 __cil_tmp22 ;
10683 unsigned long __cil_tmp23 ;
10684 unsigned long __cil_tmp24 ;
10685 struct _ddebug *__cil_tmp25 ;
10686 unsigned long __cil_tmp26 ;
10687 unsigned long __cil_tmp27 ;
10688 unsigned long __cil_tmp28 ;
10689 unsigned long __cil_tmp29 ;
10690 unsigned long __cil_tmp30 ;
10691 unsigned long __cil_tmp31 ;
10692 unsigned char __cil_tmp32 ;
10693 long __cil_tmp33 ;
10694 long __cil_tmp34 ;
10695 unsigned long __cil_tmp35 ;
10696 unsigned long __cil_tmp36 ;
10697 struct device *__cil_tmp37 ;
10698 struct device const *__cil_tmp38 ;
10699 unsigned long __cil_tmp39 ;
10700 unsigned long __cil_tmp40 ;
10701 u32 __cil_tmp41 ;
10702 unsigned long __cil_tmp42 ;
10703 unsigned long __cil_tmp43 ;
10704 u32 __cil_tmp44 ;
10705 size_t __cil_tmp45 ;
10706 unsigned long __cil_tmp46 ;
10707 unsigned long __cil_tmp47 ;
10708 u8 *__cil_tmp48 ;
10709 unsigned long __cil_tmp49 ;
10710 unsigned long __cil_tmp50 ;
10711 unsigned long __cil_tmp51 ;
10712 u8 *__cil_tmp52 ;
10713 unsigned long __cil_tmp53 ;
10714 unsigned long __cil_tmp54 ;
10715 unsigned long __cil_tmp55 ;
10716 struct device *__cil_tmp56 ;
10717 struct device const *__cil_tmp57 ;
10718 unsigned long __cil_tmp58 ;
10719 unsigned long __cil_tmp59 ;
10720 unsigned long __cil_tmp60 ;
10721 unsigned long __cil_tmp61 ;
10722 u8 *__cil_tmp62 ;
10723 void volatile *__cil_tmp63 ;
10724 struct _ddebug *__cil_tmp64 ;
10725 unsigned long __cil_tmp65 ;
10726 unsigned long __cil_tmp66 ;
10727 unsigned long __cil_tmp67 ;
10728 unsigned long __cil_tmp68 ;
10729 unsigned long __cil_tmp69 ;
10730 unsigned long __cil_tmp70 ;
10731 unsigned char __cil_tmp71 ;
10732 long __cil_tmp72 ;
10733 long __cil_tmp73 ;
10734 unsigned long __cil_tmp74 ;
10735 unsigned long __cil_tmp75 ;
10736 struct device *__cil_tmp76 ;
10737 struct device const *__cil_tmp77 ;
10738 unsigned long __cil_tmp78 ;
10739 unsigned long __cil_tmp79 ;
10740 u8 *__cil_tmp80 ;
10741 unsigned long __cil_tmp81 ;
10742 unsigned long __cil_tmp82 ;
10743 phys_addr_t __cil_tmp83 ;
10744 unsigned int __cil_tmp84 ;
10745 unsigned long __cil_tmp85 ;
10746 unsigned long __cil_tmp86 ;
10747 phys_addr_t __cil_tmp87 ;
10748 phys_addr_t __cil_tmp88 ;
10749 unsigned int __cil_tmp89 ;
10750 unsigned long __cil_tmp90 ;
10751 unsigned long __cil_tmp91 ;
10752 u32 __cil_tmp92 ;
10753 unsigned long __cil_tmp93 ;
10754 unsigned long __cil_tmp94 ;
10755 unsigned long __cil_tmp95 ;
10756 unsigned long __cil_tmp96 ;
10757 unsigned long __cil_tmp97 ;
10758 unsigned long __cil_tmp98 ;
10759 unsigned long __cil_tmp99 ;
10760 unsigned long __cil_tmp100 ;
10761 u8 *__cil_tmp101 ;
10762 u8 *__cil_tmp102 ;
10763 struct sk_buff *__cil_tmp103 ;
10764 unsigned long __cil_tmp104 ;
10765 unsigned long __cil_tmp105 ;
10766 unsigned long __cil_tmp106 ;
10767 unsigned long __cil_tmp107 ;
10768 struct device *__cil_tmp108 ;
10769 struct device const *__cil_tmp109 ;
10770 unsigned long __cil_tmp110 ;
10771 unsigned long __cil_tmp111 ;
10772 u8 *__cil_tmp112 ;
10773 void const *__cil_tmp113 ;
10774 struct _ddebug *__cil_tmp114 ;
10775 unsigned long __cil_tmp115 ;
10776 unsigned long __cil_tmp116 ;
10777 unsigned long __cil_tmp117 ;
10778 unsigned long __cil_tmp118 ;
10779 unsigned long __cil_tmp119 ;
10780 unsigned long __cil_tmp120 ;
10781 unsigned char __cil_tmp121 ;
10782 long __cil_tmp122 ;
10783 long __cil_tmp123 ;
10784 unsigned long __cil_tmp124 ;
10785 unsigned long __cil_tmp125 ;
10786 struct device *__cil_tmp126 ;
10787 struct device const *__cil_tmp127 ;
10788 unsigned long __cil_tmp128 ;
10789 unsigned long __cil_tmp129 ;
10790 unsigned char *__cil_tmp130 ;
10791 phys_addr_t __cil_tmp131 ;
10792 unsigned int __cil_tmp132 ;
10793 phys_addr_t __cil_tmp133 ;
10794 phys_addr_t __cil_tmp134 ;
10795 unsigned int __cil_tmp135 ;
10796 unsigned long __cil_tmp136 ;
10797 unsigned long __cil_tmp137 ;
10798 unsigned int __cil_tmp138 ;
10799 unsigned long __cil_tmp139 ;
10800 unsigned long __cil_tmp140 ;
10801 unsigned long __cil_tmp141 ;
10802 unsigned long __cil_tmp142 ;
10803 unsigned long __cil_tmp143 ;
10804 unsigned long __cil_tmp144 ;
10805 unsigned long __cil_tmp145 ;
10806 unsigned long __cil_tmp146 ;
10807 struct mwifiex_pcie_buf_desc *__cil_tmp147 ;
10808 unsigned long __cil_tmp148 ;
10809 unsigned long __cil_tmp149 ;
10810 unsigned long __cil_tmp150 ;
10811 unsigned long __cil_tmp151 ;
10812 struct mwifiex_pcie_buf_desc *__cil_tmp152 ;
10813 unsigned long __cil_tmp153 ;
10814 unsigned long __cil_tmp154 ;
10815 unsigned long __cil_tmp155 ;
10816 unsigned long __cil_tmp156 ;
10817 unsigned int __cil_tmp157 ;
10818 unsigned long __cil_tmp158 ;
10819 unsigned long __cil_tmp159 ;
10820 unsigned long __cil_tmp160 ;
10821 unsigned long __cil_tmp161 ;
10822 struct mwifiex_pcie_buf_desc *__cil_tmp162 ;
10823 unsigned long __cil_tmp163 ;
10824 unsigned long __cil_tmp164 ;
10825
10826 {
10827 {
10828#line 564
10829 __cil_tmp13 = (unsigned long )adapter;
10830#line 564
10831 __cil_tmp14 = __cil_tmp13 + 184;
10832#line 564
10833 __cil_tmp15 = *((void **)__cil_tmp14);
10834#line 564
10835 card = (struct pcie_service_card *)__cil_tmp15;
10836#line 574
10837 __cil_tmp16 = (unsigned long )card;
10838#line 574
10839 __cil_tmp17 = __cil_tmp16 + 1104;
10840#line 574
10841 *((u32 *)__cil_tmp17) = 0U;
10842#line 575
10843 __cil_tmp18 = (unsigned long )card;
10844#line 575
10845 __cil_tmp19 = __cil_tmp18 + 1108;
10846#line 575
10847 __cil_tmp20 = (unsigned long )card;
10848#line 575
10849 __cil_tmp21 = __cil_tmp20 + 1108;
10850#line 575
10851 __cil_tmp22 = *((u32 *)__cil_tmp21);
10852#line 575
10853 *((u32 *)__cil_tmp19) = __cil_tmp22 | 128U;
10854#line 577
10855 __cil_tmp23 = (unsigned long )card;
10856#line 577
10857 __cil_tmp24 = __cil_tmp23 + 1112;
10858#line 577
10859 *((u32 *)__cil_tmp24) = 48U;
10860#line 579
10861 __cil_tmp25 = & descriptor;
10862#line 579
10863 *((char const **)__cil_tmp25) = "mwifiex_pcie";
10864#line 579
10865 __cil_tmp26 = (unsigned long )(& descriptor) + 8;
10866#line 579
10867 *((char const **)__cil_tmp26) = "mwifiex_pcie_create_evtbd_ring";
10868#line 579
10869 __cil_tmp27 = (unsigned long )(& descriptor) + 16;
10870#line 579
10871 *((char const **)__cil_tmp27) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
10872#line 579
10873 __cil_tmp28 = (unsigned long )(& descriptor) + 24;
10874#line 579
10875 *((char const **)__cil_tmp28) = "info: evtbd_ring: Allocating %d bytes\n";
10876#line 579
10877 __cil_tmp29 = (unsigned long )(& descriptor) + 32;
10878#line 579
10879 *((unsigned int *)__cil_tmp29) = 580U;
10880#line 579
10881 __cil_tmp30 = (unsigned long )(& descriptor) + 35;
10882#line 579
10883 *((unsigned char *)__cil_tmp30) = (unsigned char)0;
10884#line 579
10885 __cil_tmp31 = (unsigned long )(& descriptor) + 35;
10886#line 579
10887 __cil_tmp32 = *((unsigned char *)__cil_tmp31);
10888#line 579
10889 __cil_tmp33 = (long )__cil_tmp32;
10890#line 579
10891 __cil_tmp34 = __cil_tmp33 & 1L;
10892#line 579
10893 tmp = __builtin_expect(__cil_tmp34, 0L);
10894 }
10895#line 579
10896 if (tmp != 0L) {
10897 {
10898#line 579
10899 __cil_tmp35 = (unsigned long )adapter;
10900#line 579
10901 __cil_tmp36 = __cil_tmp35 + 72;
10902#line 579
10903 __cil_tmp37 = *((struct device **)__cil_tmp36);
10904#line 579
10905 __cil_tmp38 = (struct device const *)__cil_tmp37;
10906#line 579
10907 __cil_tmp39 = (unsigned long )card;
10908#line 579
10909 __cil_tmp40 = __cil_tmp39 + 1112;
10910#line 579
10911 __cil_tmp41 = *((u32 *)__cil_tmp40);
10912#line 579
10913 __dynamic_dev_dbg(& descriptor, __cil_tmp38, "info: evtbd_ring: Allocating %d bytes\n",
10914 __cil_tmp41);
10915 }
10916 } else {
10917
10918 }
10919 {
10920#line 581
10921 __cil_tmp42 = (unsigned long )card;
10922#line 581
10923 __cil_tmp43 = __cil_tmp42 + 1112;
10924#line 581
10925 __cil_tmp44 = *((u32 *)__cil_tmp43);
10926#line 581
10927 __cil_tmp45 = (size_t )__cil_tmp44;
10928#line 581
10929 tmp___0 = kzalloc(__cil_tmp45, 208U);
10930#line 581
10931 __cil_tmp46 = (unsigned long )card;
10932#line 581
10933 __cil_tmp47 = __cil_tmp46 + 1120;
10934#line 581
10935 *((u8 **)__cil_tmp47) = (u8 *)tmp___0;
10936 }
10937 {
10938#line 582
10939 __cil_tmp48 = (u8 *)0;
10940#line 582
10941 __cil_tmp49 = (unsigned long )__cil_tmp48;
10942#line 582
10943 __cil_tmp50 = (unsigned long )card;
10944#line 582
10945 __cil_tmp51 = __cil_tmp50 + 1120;
10946#line 582
10947 __cil_tmp52 = *((u8 **)__cil_tmp51);
10948#line 582
10949 __cil_tmp53 = (unsigned long )__cil_tmp52;
10950#line 582
10951 if (__cil_tmp53 == __cil_tmp49) {
10952 {
10953#line 583
10954 __cil_tmp54 = (unsigned long )adapter;
10955#line 583
10956 __cil_tmp55 = __cil_tmp54 + 72;
10957#line 583
10958 __cil_tmp56 = *((struct device **)__cil_tmp55);
10959#line 583
10960 __cil_tmp57 = (struct device const *)__cil_tmp56;
10961#line 583
10962 dev_err(__cil_tmp57, "Unable to allocate buffer. Terminating download\n");
10963 }
10964#line 585
10965 return (-12);
10966 } else {
10967
10968 }
10969 }
10970 {
10971#line 587
10972 __cil_tmp58 = (unsigned long )card;
10973#line 587
10974 __cil_tmp59 = __cil_tmp58 + 1128;
10975#line 587
10976 __cil_tmp60 = (unsigned long )card;
10977#line 587
10978 __cil_tmp61 = __cil_tmp60 + 1120;
10979#line 587
10980 __cil_tmp62 = *((u8 **)__cil_tmp61);
10981#line 587
10982 __cil_tmp63 = (void volatile *)__cil_tmp62;
10983#line 587
10984 *((phys_addr_t *)__cil_tmp59) = virt_to_phys(__cil_tmp63);
10985#line 589
10986 __cil_tmp64 = & descriptor___0;
10987#line 589
10988 *((char const **)__cil_tmp64) = "mwifiex_pcie";
10989#line 589
10990 __cil_tmp65 = (unsigned long )(& descriptor___0) + 8;
10991#line 589
10992 *((char const **)__cil_tmp65) = "mwifiex_pcie_create_evtbd_ring";
10993#line 589
10994 __cil_tmp66 = (unsigned long )(& descriptor___0) + 16;
10995#line 589
10996 *((char const **)__cil_tmp66) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
10997#line 589
10998 __cil_tmp67 = (unsigned long )(& descriptor___0) + 24;
10999#line 589
11000 *((char const **)__cil_tmp67) = "info: CMDRSP/EVT bd_ring - base: %p pbase: %#x:%x len: %#x\n";
11001#line 589
11002 __cil_tmp68 = (unsigned long )(& descriptor___0) + 32;
11003#line 589
11004 *((unsigned int *)__cil_tmp68) = 593U;
11005#line 589
11006 __cil_tmp69 = (unsigned long )(& descriptor___0) + 35;
11007#line 589
11008 *((unsigned char *)__cil_tmp69) = (unsigned char)0;
11009#line 589
11010 __cil_tmp70 = (unsigned long )(& descriptor___0) + 35;
11011#line 589
11012 __cil_tmp71 = *((unsigned char *)__cil_tmp70);
11013#line 589
11014 __cil_tmp72 = (long )__cil_tmp71;
11015#line 589
11016 __cil_tmp73 = __cil_tmp72 & 1L;
11017#line 589
11018 tmp___1 = __builtin_expect(__cil_tmp73, 0L);
11019 }
11020#line 589
11021 if (tmp___1 != 0L) {
11022 {
11023#line 589
11024 __cil_tmp74 = (unsigned long )adapter;
11025#line 589
11026 __cil_tmp75 = __cil_tmp74 + 72;
11027#line 589
11028 __cil_tmp76 = *((struct device **)__cil_tmp75);
11029#line 589
11030 __cil_tmp77 = (struct device const *)__cil_tmp76;
11031#line 589
11032 __cil_tmp78 = (unsigned long )card;
11033#line 589
11034 __cil_tmp79 = __cil_tmp78 + 1120;
11035#line 589
11036 __cil_tmp80 = *((u8 **)__cil_tmp79);
11037#line 589
11038 __cil_tmp81 = (unsigned long )card;
11039#line 589
11040 __cil_tmp82 = __cil_tmp81 + 1128;
11041#line 589
11042 __cil_tmp83 = *((phys_addr_t *)__cil_tmp82);
11043#line 589
11044 __cil_tmp84 = (unsigned int )__cil_tmp83;
11045#line 589
11046 __cil_tmp85 = (unsigned long )card;
11047#line 589
11048 __cil_tmp86 = __cil_tmp85 + 1128;
11049#line 589
11050 __cil_tmp87 = *((phys_addr_t *)__cil_tmp86);
11051#line 589
11052 __cil_tmp88 = __cil_tmp87 >> 32;
11053#line 589
11054 __cil_tmp89 = (unsigned int )__cil_tmp88;
11055#line 589
11056 __cil_tmp90 = (unsigned long )card;
11057#line 589
11058 __cil_tmp91 = __cil_tmp90 + 1112;
11059#line 589
11060 __cil_tmp92 = *((u32 *)__cil_tmp91);
11061#line 589
11062 __dynamic_dev_dbg(& descriptor___0, __cil_tmp77, "info: CMDRSP/EVT bd_ring - base: %p pbase: %#x:%x len: %#x\n",
11063 __cil_tmp80, __cil_tmp84, __cil_tmp89, __cil_tmp92);
11064 }
11065 } else {
11066
11067 }
11068#line 595
11069 i = 0;
11070#line 595
11071 goto ldv_46721;
11072 ldv_46720:
11073 {
11074#line 596
11075 __cil_tmp93 = i * 8UL;
11076#line 596
11077 __cil_tmp94 = 1136 + __cil_tmp93;
11078#line 596
11079 __cil_tmp95 = (unsigned long )card;
11080#line 596
11081 __cil_tmp96 = __cil_tmp95 + __cil_tmp94;
11082#line 596
11083 __cil_tmp97 = (unsigned long )i;
11084#line 596
11085 __cil_tmp98 = __cil_tmp97 * 12UL;
11086#line 596
11087 __cil_tmp99 = (unsigned long )card;
11088#line 596
11089 __cil_tmp100 = __cil_tmp99 + 1120;
11090#line 596
11091 __cil_tmp101 = *((u8 **)__cil_tmp100);
11092#line 596
11093 __cil_tmp102 = __cil_tmp101 + __cil_tmp98;
11094#line 596
11095 *((struct mwifiex_pcie_buf_desc **)__cil_tmp96) = (struct mwifiex_pcie_buf_desc *)__cil_tmp102;
11096#line 602
11097 skb = dev_alloc_skb(1024U);
11098 }
11099 {
11100#line 603
11101 __cil_tmp103 = (struct sk_buff *)0;
11102#line 603
11103 __cil_tmp104 = (unsigned long )__cil_tmp103;
11104#line 603
11105 __cil_tmp105 = (unsigned long )skb;
11106#line 603
11107 if (__cil_tmp105 == __cil_tmp104) {
11108 {
11109#line 604
11110 __cil_tmp106 = (unsigned long )adapter;
11111#line 604
11112 __cil_tmp107 = __cil_tmp106 + 72;
11113#line 604
11114 __cil_tmp108 = *((struct device **)__cil_tmp107);
11115#line 604
11116 __cil_tmp109 = (struct device const *)__cil_tmp108;
11117#line 604
11118 dev_err(__cil_tmp109, "Unable to allocate skb for EVENT buf.\n");
11119#line 606
11120 __cil_tmp110 = (unsigned long )card;
11121#line 606
11122 __cil_tmp111 = __cil_tmp110 + 1120;
11123#line 606
11124 __cil_tmp112 = *((u8 **)__cil_tmp111);
11125#line 606
11126 __cil_tmp113 = (void const *)__cil_tmp112;
11127#line 606
11128 kfree(__cil_tmp113);
11129 }
11130#line 607
11131 return (-12);
11132 } else {
11133
11134 }
11135 }
11136 {
11137#line 609
11138 buf_pa = mwifiex_update_sk_buff_pa(skb);
11139#line 610
11140 skb_put(skb, 1024U);
11141#line 612
11142 __cil_tmp114 = & descriptor___1;
11143#line 612
11144 *((char const **)__cil_tmp114) = "mwifiex_pcie";
11145#line 612
11146 __cil_tmp115 = (unsigned long )(& descriptor___1) + 8;
11147#line 612
11148 *((char const **)__cil_tmp115) = "mwifiex_pcie_create_evtbd_ring";
11149#line 612
11150 __cil_tmp116 = (unsigned long )(& descriptor___1) + 16;
11151#line 612
11152 *((char const **)__cil_tmp116) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
11153#line 612
11154 __cil_tmp117 = (unsigned long )(& descriptor___1) + 24;
11155#line 612
11156 *((char const **)__cil_tmp117) = "info: Evt ring: add new skb. base: %p, buf_base: %p, buf_pbase: %#x:%x, buf_len: %#x\n";
11157#line 612
11158 __cil_tmp118 = (unsigned long )(& descriptor___1) + 32;
11159#line 612
11160 *((unsigned int *)__cil_tmp118) = 615U;
11161#line 612
11162 __cil_tmp119 = (unsigned long )(& descriptor___1) + 35;
11163#line 612
11164 *((unsigned char *)__cil_tmp119) = (unsigned char)0;
11165#line 612
11166 __cil_tmp120 = (unsigned long )(& descriptor___1) + 35;
11167#line 612
11168 __cil_tmp121 = *((unsigned char *)__cil_tmp120);
11169#line 612
11170 __cil_tmp122 = (long )__cil_tmp121;
11171#line 612
11172 __cil_tmp123 = __cil_tmp122 & 1L;
11173#line 612
11174 tmp___2 = __builtin_expect(__cil_tmp123, 0L);
11175 }
11176#line 612
11177 if (tmp___2 != 0L) {
11178 {
11179#line 612
11180 __cil_tmp124 = (unsigned long )adapter;
11181#line 612
11182 __cil_tmp125 = __cil_tmp124 + 72;
11183#line 612
11184 __cil_tmp126 = *((struct device **)__cil_tmp125);
11185#line 612
11186 __cil_tmp127 = (struct device const *)__cil_tmp126;
11187#line 612
11188 __cil_tmp128 = (unsigned long )skb;
11189#line 612
11190 __cil_tmp129 = __cil_tmp128 + 224;
11191#line 612
11192 __cil_tmp130 = *((unsigned char **)__cil_tmp129);
11193#line 612
11194 __cil_tmp131 = *buf_pa;
11195#line 612
11196 __cil_tmp132 = (unsigned int )__cil_tmp131;
11197#line 612
11198 __cil_tmp133 = *buf_pa;
11199#line 612
11200 __cil_tmp134 = __cil_tmp133 >> 32;
11201#line 612
11202 __cil_tmp135 = (unsigned int )__cil_tmp134;
11203#line 612
11204 __cil_tmp136 = (unsigned long )skb;
11205#line 612
11206 __cil_tmp137 = __cil_tmp136 + 104;
11207#line 612
11208 __cil_tmp138 = *((unsigned int *)__cil_tmp137);
11209#line 612
11210 __dynamic_dev_dbg(& descriptor___1, __cil_tmp127, "info: Evt ring: add new skb. base: %p, buf_base: %p, buf_pbase: %#x:%x, buf_len: %#x\n",
11211 skb, __cil_tmp130, __cil_tmp132, __cil_tmp135, __cil_tmp138);
11212 }
11213 } else {
11214
11215 }
11216#line 617
11217 __cil_tmp139 = i * 8UL;
11218#line 617
11219 __cil_tmp140 = 1168 + __cil_tmp139;
11220#line 617
11221 __cil_tmp141 = (unsigned long )card;
11222#line 617
11223 __cil_tmp142 = __cil_tmp141 + __cil_tmp140;
11224#line 617
11225 *((struct sk_buff **)__cil_tmp142) = skb;
11226#line 618
11227 __cil_tmp143 = i * 8UL;
11228#line 618
11229 __cil_tmp144 = 1136 + __cil_tmp143;
11230#line 618
11231 __cil_tmp145 = (unsigned long )card;
11232#line 618
11233 __cil_tmp146 = __cil_tmp145 + __cil_tmp144;
11234#line 618
11235 __cil_tmp147 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp146);
11236#line 618
11237 *((u64 *)__cil_tmp147) = *buf_pa;
11238#line 619
11239 __cil_tmp148 = i * 8UL;
11240#line 619
11241 __cil_tmp149 = 1136 + __cil_tmp148;
11242#line 619
11243 __cil_tmp150 = (unsigned long )card;
11244#line 619
11245 __cil_tmp151 = __cil_tmp150 + __cil_tmp149;
11246#line 619
11247 __cil_tmp152 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp151);
11248#line 619
11249 __cil_tmp153 = (unsigned long )__cil_tmp152;
11250#line 619
11251 __cil_tmp154 = __cil_tmp153 + 8;
11252#line 619
11253 __cil_tmp155 = (unsigned long )skb;
11254#line 619
11255 __cil_tmp156 = __cil_tmp155 + 104;
11256#line 619
11257 __cil_tmp157 = *((unsigned int *)__cil_tmp156);
11258#line 619
11259 *((u16 *)__cil_tmp154) = (unsigned short )__cil_tmp157;
11260#line 620
11261 __cil_tmp158 = i * 8UL;
11262#line 620
11263 __cil_tmp159 = 1136 + __cil_tmp158;
11264#line 620
11265 __cil_tmp160 = (unsigned long )card;
11266#line 620
11267 __cil_tmp161 = __cil_tmp160 + __cil_tmp159;
11268#line 620
11269 __cil_tmp162 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp161);
11270#line 620
11271 __cil_tmp163 = (unsigned long )__cil_tmp162;
11272#line 620
11273 __cil_tmp164 = __cil_tmp163 + 10;
11274#line 620
11275 *((u16 *)__cil_tmp164) = (u16 )0U;
11276#line 595
11277 i = i + 1;
11278 ldv_46721: ;
11279#line 595
11280 if (i <= 3) {
11281#line 596
11282 goto ldv_46720;
11283 } else {
11284#line 598
11285 goto ldv_46722;
11286 }
11287 ldv_46722: ;
11288#line 623
11289 return (0);
11290}
11291}
11292#line 629 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
11293static int mwifiex_pcie_delete_evtbd_ring(struct mwifiex_adapter *adapter )
11294{ struct pcie_service_card *card ;
11295 int i ;
11296 unsigned long __cil_tmp4 ;
11297 unsigned long __cil_tmp5 ;
11298 void *__cil_tmp6 ;
11299 struct sk_buff *__cil_tmp7 ;
11300 unsigned long __cil_tmp8 ;
11301 unsigned long __cil_tmp9 ;
11302 unsigned long __cil_tmp10 ;
11303 unsigned long __cil_tmp11 ;
11304 unsigned long __cil_tmp12 ;
11305 struct sk_buff *__cil_tmp13 ;
11306 unsigned long __cil_tmp14 ;
11307 unsigned long __cil_tmp15 ;
11308 unsigned long __cil_tmp16 ;
11309 unsigned long __cil_tmp17 ;
11310 unsigned long __cil_tmp18 ;
11311 struct sk_buff *__cil_tmp19 ;
11312 unsigned long __cil_tmp20 ;
11313 unsigned long __cil_tmp21 ;
11314 unsigned long __cil_tmp22 ;
11315 unsigned long __cil_tmp23 ;
11316 unsigned long __cil_tmp24 ;
11317 unsigned long __cil_tmp25 ;
11318 unsigned long __cil_tmp26 ;
11319 unsigned long __cil_tmp27 ;
11320 struct mwifiex_pcie_buf_desc *__cil_tmp28 ;
11321 unsigned long __cil_tmp29 ;
11322 unsigned long __cil_tmp30 ;
11323 unsigned long __cil_tmp31 ;
11324 unsigned long __cil_tmp32 ;
11325 struct mwifiex_pcie_buf_desc *__cil_tmp33 ;
11326 unsigned long __cil_tmp34 ;
11327 unsigned long __cil_tmp35 ;
11328 unsigned long __cil_tmp36 ;
11329 unsigned long __cil_tmp37 ;
11330 unsigned long __cil_tmp38 ;
11331 unsigned long __cil_tmp39 ;
11332 struct mwifiex_pcie_buf_desc *__cil_tmp40 ;
11333 unsigned long __cil_tmp41 ;
11334 unsigned long __cil_tmp42 ;
11335 unsigned long __cil_tmp43 ;
11336 unsigned long __cil_tmp44 ;
11337 unsigned long __cil_tmp45 ;
11338 unsigned long __cil_tmp46 ;
11339 unsigned long __cil_tmp47 ;
11340 unsigned long __cil_tmp48 ;
11341 u8 *__cil_tmp49 ;
11342 void const *__cil_tmp50 ;
11343 unsigned long __cil_tmp51 ;
11344 unsigned long __cil_tmp52 ;
11345 unsigned long __cil_tmp53 ;
11346 unsigned long __cil_tmp54 ;
11347 unsigned long __cil_tmp55 ;
11348 unsigned long __cil_tmp56 ;
11349 unsigned long __cil_tmp57 ;
11350 unsigned long __cil_tmp58 ;
11351
11352 {
11353#line 631
11354 __cil_tmp4 = (unsigned long )adapter;
11355#line 631
11356 __cil_tmp5 = __cil_tmp4 + 184;
11357#line 631
11358 __cil_tmp6 = *((void **)__cil_tmp5);
11359#line 631
11360 card = (struct pcie_service_card *)__cil_tmp6;
11361#line 634
11362 i = 0;
11363#line 634
11364 goto ldv_46729;
11365 ldv_46728: ;
11366 {
11367#line 635
11368 __cil_tmp7 = (struct sk_buff *)0;
11369#line 635
11370 __cil_tmp8 = (unsigned long )__cil_tmp7;
11371#line 635
11372 __cil_tmp9 = i * 8UL;
11373#line 635
11374 __cil_tmp10 = 1168 + __cil_tmp9;
11375#line 635
11376 __cil_tmp11 = (unsigned long )card;
11377#line 635
11378 __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
11379#line 635
11380 __cil_tmp13 = *((struct sk_buff **)__cil_tmp12);
11381#line 635
11382 __cil_tmp14 = (unsigned long )__cil_tmp13;
11383#line 635
11384 if (__cil_tmp14 != __cil_tmp8) {
11385 {
11386#line 636
11387 __cil_tmp15 = i * 8UL;
11388#line 636
11389 __cil_tmp16 = 1168 + __cil_tmp15;
11390#line 636
11391 __cil_tmp17 = (unsigned long )card;
11392#line 636
11393 __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
11394#line 636
11395 __cil_tmp19 = *((struct sk_buff **)__cil_tmp18);
11396#line 636
11397 dev_kfree_skb_any(__cil_tmp19);
11398 }
11399 } else {
11400
11401 }
11402 }
11403#line 637
11404 __cil_tmp20 = i * 8UL;
11405#line 637
11406 __cil_tmp21 = 1168 + __cil_tmp20;
11407#line 637
11408 __cil_tmp22 = (unsigned long )card;
11409#line 637
11410 __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
11411#line 637
11412 *((struct sk_buff **)__cil_tmp23) = (struct sk_buff *)0;
11413#line 638
11414 __cil_tmp24 = i * 8UL;
11415#line 638
11416 __cil_tmp25 = 1136 + __cil_tmp24;
11417#line 638
11418 __cil_tmp26 = (unsigned long )card;
11419#line 638
11420 __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
11421#line 638
11422 __cil_tmp28 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp27);
11423#line 638
11424 *((u64 *)__cil_tmp28) = 0ULL;
11425#line 639
11426 __cil_tmp29 = i * 8UL;
11427#line 639
11428 __cil_tmp30 = 1136 + __cil_tmp29;
11429#line 639
11430 __cil_tmp31 = (unsigned long )card;
11431#line 639
11432 __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
11433#line 639
11434 __cil_tmp33 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp32);
11435#line 639
11436 __cil_tmp34 = (unsigned long )__cil_tmp33;
11437#line 639
11438 __cil_tmp35 = __cil_tmp34 + 8;
11439#line 639
11440 *((u16 *)__cil_tmp35) = (u16 )0U;
11441#line 640
11442 __cil_tmp36 = i * 8UL;
11443#line 640
11444 __cil_tmp37 = 1136 + __cil_tmp36;
11445#line 640
11446 __cil_tmp38 = (unsigned long )card;
11447#line 640
11448 __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
11449#line 640
11450 __cil_tmp40 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp39);
11451#line 640
11452 __cil_tmp41 = (unsigned long )__cil_tmp40;
11453#line 640
11454 __cil_tmp42 = __cil_tmp41 + 10;
11455#line 640
11456 *((u16 *)__cil_tmp42) = (u16 )0U;
11457#line 641
11458 __cil_tmp43 = i * 8UL;
11459#line 641
11460 __cil_tmp44 = 1136 + __cil_tmp43;
11461#line 641
11462 __cil_tmp45 = (unsigned long )card;
11463#line 641
11464 __cil_tmp46 = __cil_tmp45 + __cil_tmp44;
11465#line 641
11466 *((struct mwifiex_pcie_buf_desc **)__cil_tmp46) = (struct mwifiex_pcie_buf_desc *)0;
11467#line 634
11468 i = i + 1;
11469 ldv_46729: ;
11470#line 634
11471 if (i <= 3) {
11472#line 635
11473 goto ldv_46728;
11474 } else {
11475#line 637
11476 goto ldv_46730;
11477 }
11478 ldv_46730:
11479 {
11480#line 644
11481 __cil_tmp47 = (unsigned long )card;
11482#line 644
11483 __cil_tmp48 = __cil_tmp47 + 1120;
11484#line 644
11485 __cil_tmp49 = *((u8 **)__cil_tmp48);
11486#line 644
11487 __cil_tmp50 = (void const *)__cil_tmp49;
11488#line 644
11489 kfree(__cil_tmp50);
11490#line 645
11491 __cil_tmp51 = (unsigned long )card;
11492#line 645
11493 __cil_tmp52 = __cil_tmp51 + 1104;
11494#line 645
11495 *((u32 *)__cil_tmp52) = 0U;
11496#line 646
11497 __cil_tmp53 = (unsigned long )card;
11498#line 646
11499 __cil_tmp54 = __cil_tmp53 + 1108;
11500#line 646
11501 *((u32 *)__cil_tmp54) = 128U;
11502#line 647
11503 __cil_tmp55 = (unsigned long )card;
11504#line 647
11505 __cil_tmp56 = __cil_tmp55 + 1112;
11506#line 647
11507 *((u32 *)__cil_tmp56) = 0U;
11508#line 648
11509 __cil_tmp57 = (unsigned long )card;
11510#line 648
11511 __cil_tmp58 = __cil_tmp57 + 1120;
11512#line 648
11513 *((u8 **)__cil_tmp58) = (u8 *)0;
11514 }
11515#line 650
11516 return (0);
11517}
11518}
11519#line 656 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
11520static int mwifiex_pcie_alloc_cmdrsp_buf(struct mwifiex_adapter *adapter )
11521{ struct pcie_service_card *card ;
11522 struct sk_buff *skb ;
11523 unsigned long __cil_tmp4 ;
11524 unsigned long __cil_tmp5 ;
11525 void *__cil_tmp6 ;
11526 struct sk_buff *__cil_tmp7 ;
11527 unsigned long __cil_tmp8 ;
11528 unsigned long __cil_tmp9 ;
11529 unsigned long __cil_tmp10 ;
11530 unsigned long __cil_tmp11 ;
11531 struct device *__cil_tmp12 ;
11532 struct device const *__cil_tmp13 ;
11533 unsigned long __cil_tmp14 ;
11534 unsigned long __cil_tmp15 ;
11535 struct sk_buff *__cil_tmp16 ;
11536 unsigned long __cil_tmp17 ;
11537 unsigned long __cil_tmp18 ;
11538 unsigned long __cil_tmp19 ;
11539 unsigned long __cil_tmp20 ;
11540 struct device *__cil_tmp21 ;
11541 struct device const *__cil_tmp22 ;
11542 unsigned long __cil_tmp23 ;
11543 unsigned long __cil_tmp24 ;
11544
11545 {
11546 {
11547#line 658
11548 __cil_tmp4 = (unsigned long )adapter;
11549#line 658
11550 __cil_tmp5 = __cil_tmp4 + 184;
11551#line 658
11552 __cil_tmp6 = *((void **)__cil_tmp5);
11553#line 658
11554 card = (struct pcie_service_card *)__cil_tmp6;
11555#line 662
11556 skb = dev_alloc_skb(2312U);
11557 }
11558 {
11559#line 663
11560 __cil_tmp7 = (struct sk_buff *)0;
11561#line 663
11562 __cil_tmp8 = (unsigned long )__cil_tmp7;
11563#line 663
11564 __cil_tmp9 = (unsigned long )skb;
11565#line 663
11566 if (__cil_tmp9 == __cil_tmp8) {
11567 {
11568#line 664
11569 __cil_tmp10 = (unsigned long )adapter;
11570#line 664
11571 __cil_tmp11 = __cil_tmp10 + 72;
11572#line 664
11573 __cil_tmp12 = *((struct device **)__cil_tmp11);
11574#line 664
11575 __cil_tmp13 = (struct device const *)__cil_tmp12;
11576#line 664
11577 dev_err(__cil_tmp13, "Unable to allocate skb for command response data.\n");
11578 }
11579#line 666
11580 return (-12);
11581 } else {
11582
11583 }
11584 }
11585 {
11586#line 668
11587 mwifiex_update_sk_buff_pa(skb);
11588#line 669
11589 skb_put(skb, 2312U);
11590#line 670
11591 __cil_tmp14 = (unsigned long )card;
11592#line 670
11593 __cil_tmp15 = __cil_tmp14 + 1208;
11594#line 670
11595 *((struct sk_buff **)__cil_tmp15) = skb;
11596#line 672
11597 skb = (struct sk_buff *)0;
11598#line 674
11599 skb = dev_alloc_skb(2048U);
11600 }
11601 {
11602#line 675
11603 __cil_tmp16 = (struct sk_buff *)0;
11604#line 675
11605 __cil_tmp17 = (unsigned long )__cil_tmp16;
11606#line 675
11607 __cil_tmp18 = (unsigned long )skb;
11608#line 675
11609 if (__cil_tmp18 == __cil_tmp17) {
11610 {
11611#line 676
11612 __cil_tmp19 = (unsigned long )adapter;
11613#line 676
11614 __cil_tmp20 = __cil_tmp19 + 72;
11615#line 676
11616 __cil_tmp21 = *((struct device **)__cil_tmp20);
11617#line 676
11618 __cil_tmp22 = (struct device const *)__cil_tmp21;
11619#line 676
11620 dev_err(__cil_tmp22, "Unable to allocate skb for command data.\n");
11621 }
11622#line 678
11623 return (-12);
11624 } else {
11625
11626 }
11627 }
11628 {
11629#line 680
11630 mwifiex_update_sk_buff_pa(skb);
11631#line 681
11632 skb_put(skb, 2048U);
11633#line 682
11634 __cil_tmp23 = (unsigned long )card;
11635#line 682
11636 __cil_tmp24 = __cil_tmp23 + 1200;
11637#line 682
11638 *((struct sk_buff **)__cil_tmp24) = skb;
11639 }
11640#line 684
11641 return (0);
11642}
11643}
11644#line 690 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
11645static int mwifiex_pcie_delete_cmdrsp_buf(struct mwifiex_adapter *adapter )
11646{ struct pcie_service_card *card ;
11647 struct mwifiex_adapter *__cil_tmp3 ;
11648 unsigned long __cil_tmp4 ;
11649 unsigned long __cil_tmp5 ;
11650 unsigned long __cil_tmp6 ;
11651 unsigned long __cil_tmp7 ;
11652 void *__cil_tmp8 ;
11653 struct pcie_service_card *__cil_tmp9 ;
11654 unsigned long __cil_tmp10 ;
11655 unsigned long __cil_tmp11 ;
11656 struct sk_buff *__cil_tmp12 ;
11657 unsigned long __cil_tmp13 ;
11658 unsigned long __cil_tmp14 ;
11659 unsigned long __cil_tmp15 ;
11660 struct sk_buff *__cil_tmp16 ;
11661 unsigned long __cil_tmp17 ;
11662 unsigned long __cil_tmp18 ;
11663 unsigned long __cil_tmp19 ;
11664 struct sk_buff *__cil_tmp20 ;
11665 struct pcie_service_card *__cil_tmp21 ;
11666 unsigned long __cil_tmp22 ;
11667 unsigned long __cil_tmp23 ;
11668 struct sk_buff *__cil_tmp24 ;
11669 unsigned long __cil_tmp25 ;
11670 unsigned long __cil_tmp26 ;
11671 unsigned long __cil_tmp27 ;
11672 struct sk_buff *__cil_tmp28 ;
11673 unsigned long __cil_tmp29 ;
11674 unsigned long __cil_tmp30 ;
11675 unsigned long __cil_tmp31 ;
11676 struct sk_buff *__cil_tmp32 ;
11677
11678 {
11679 {
11680#line 694
11681 __cil_tmp3 = (struct mwifiex_adapter *)0;
11682#line 694
11683 __cil_tmp4 = (unsigned long )__cil_tmp3;
11684#line 694
11685 __cil_tmp5 = (unsigned long )adapter;
11686#line 694
11687 if (__cil_tmp5 == __cil_tmp4) {
11688#line 695
11689 return (0);
11690 } else {
11691
11692 }
11693 }
11694#line 697
11695 __cil_tmp6 = (unsigned long )adapter;
11696#line 697
11697 __cil_tmp7 = __cil_tmp6 + 184;
11698#line 697
11699 __cil_tmp8 = *((void **)__cil_tmp7);
11700#line 697
11701 card = (struct pcie_service_card *)__cil_tmp8;
11702 {
11703#line 699
11704 __cil_tmp9 = (struct pcie_service_card *)0;
11705#line 699
11706 __cil_tmp10 = (unsigned long )__cil_tmp9;
11707#line 699
11708 __cil_tmp11 = (unsigned long )card;
11709#line 699
11710 if (__cil_tmp11 != __cil_tmp10) {
11711 {
11712#line 699
11713 __cil_tmp12 = (struct sk_buff *)0;
11714#line 699
11715 __cil_tmp13 = (unsigned long )__cil_tmp12;
11716#line 699
11717 __cil_tmp14 = (unsigned long )card;
11718#line 699
11719 __cil_tmp15 = __cil_tmp14 + 1208;
11720#line 699
11721 __cil_tmp16 = *((struct sk_buff **)__cil_tmp15);
11722#line 699
11723 __cil_tmp17 = (unsigned long )__cil_tmp16;
11724#line 699
11725 if (__cil_tmp17 != __cil_tmp13) {
11726 {
11727#line 700
11728 __cil_tmp18 = (unsigned long )card;
11729#line 700
11730 __cil_tmp19 = __cil_tmp18 + 1208;
11731#line 700
11732 __cil_tmp20 = *((struct sk_buff **)__cil_tmp19);
11733#line 700
11734 dev_kfree_skb_any(__cil_tmp20);
11735 }
11736 } else {
11737
11738 }
11739 }
11740 } else {
11741
11742 }
11743 }
11744 {
11745#line 702
11746 __cil_tmp21 = (struct pcie_service_card *)0;
11747#line 702
11748 __cil_tmp22 = (unsigned long )__cil_tmp21;
11749#line 702
11750 __cil_tmp23 = (unsigned long )card;
11751#line 702
11752 if (__cil_tmp23 != __cil_tmp22) {
11753 {
11754#line 702
11755 __cil_tmp24 = (struct sk_buff *)0;
11756#line 702
11757 __cil_tmp25 = (unsigned long )__cil_tmp24;
11758#line 702
11759 __cil_tmp26 = (unsigned long )card;
11760#line 702
11761 __cil_tmp27 = __cil_tmp26 + 1200;
11762#line 702
11763 __cil_tmp28 = *((struct sk_buff **)__cil_tmp27);
11764#line 702
11765 __cil_tmp29 = (unsigned long )__cil_tmp28;
11766#line 702
11767 if (__cil_tmp29 != __cil_tmp25) {
11768 {
11769#line 703
11770 __cil_tmp30 = (unsigned long )card;
11771#line 703
11772 __cil_tmp31 = __cil_tmp30 + 1200;
11773#line 703
11774 __cil_tmp32 = *((struct sk_buff **)__cil_tmp31);
11775#line 703
11776 dev_kfree_skb_any(__cil_tmp32);
11777 }
11778 } else {
11779
11780 }
11781 }
11782 } else {
11783
11784 }
11785 }
11786#line 705
11787 return (0);
11788}
11789}
11790#line 711 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
11791static int mwifiex_pcie_alloc_sleep_cookie_buf(struct mwifiex_adapter *adapter )
11792{ struct sk_buff *skb ;
11793 struct pcie_service_card *card ;
11794 struct _ddebug descriptor ;
11795 long tmp ;
11796 unsigned long __cil_tmp6 ;
11797 unsigned long __cil_tmp7 ;
11798 void *__cil_tmp8 ;
11799 struct sk_buff *__cil_tmp9 ;
11800 unsigned long __cil_tmp10 ;
11801 unsigned long __cil_tmp11 ;
11802 unsigned long __cil_tmp12 ;
11803 unsigned long __cil_tmp13 ;
11804 struct device *__cil_tmp14 ;
11805 struct device const *__cil_tmp15 ;
11806 unsigned long __cil_tmp16 ;
11807 unsigned long __cil_tmp17 ;
11808 unsigned char *__cil_tmp18 ;
11809 u32 *__cil_tmp19 ;
11810 struct _ddebug *__cil_tmp20 ;
11811 unsigned long __cil_tmp21 ;
11812 unsigned long __cil_tmp22 ;
11813 unsigned long __cil_tmp23 ;
11814 unsigned long __cil_tmp24 ;
11815 unsigned long __cil_tmp25 ;
11816 unsigned long __cil_tmp26 ;
11817 unsigned char __cil_tmp27 ;
11818 long __cil_tmp28 ;
11819 long __cil_tmp29 ;
11820 unsigned long __cil_tmp30 ;
11821 unsigned long __cil_tmp31 ;
11822 struct device *__cil_tmp32 ;
11823 struct device const *__cil_tmp33 ;
11824 unsigned long __cil_tmp34 ;
11825 unsigned long __cil_tmp35 ;
11826 unsigned char *__cil_tmp36 ;
11827 u32 *__cil_tmp37 ;
11828 u32 __cil_tmp38 ;
11829 unsigned long __cil_tmp39 ;
11830 unsigned long __cil_tmp40 ;
11831
11832 {
11833 {
11834#line 714
11835 __cil_tmp6 = (unsigned long )adapter;
11836#line 714
11837 __cil_tmp7 = __cil_tmp6 + 184;
11838#line 714
11839 __cil_tmp8 = *((void **)__cil_tmp7);
11840#line 714
11841 card = (struct pcie_service_card *)__cil_tmp8;
11842#line 717
11843 skb = dev_alloc_skb(4U);
11844 }
11845 {
11846#line 718
11847 __cil_tmp9 = (struct sk_buff *)0;
11848#line 718
11849 __cil_tmp10 = (unsigned long )__cil_tmp9;
11850#line 718
11851 __cil_tmp11 = (unsigned long )skb;
11852#line 718
11853 if (__cil_tmp11 == __cil_tmp10) {
11854 {
11855#line 719
11856 __cil_tmp12 = (unsigned long )adapter;
11857#line 719
11858 __cil_tmp13 = __cil_tmp12 + 72;
11859#line 719
11860 __cil_tmp14 = *((struct device **)__cil_tmp13);
11861#line 719
11862 __cil_tmp15 = (struct device const *)__cil_tmp14;
11863#line 719
11864 dev_err(__cil_tmp15, "Unable to allocate skb for sleep cookie!\n");
11865 }
11866#line 721
11867 return (-12);
11868 } else {
11869
11870 }
11871 }
11872 {
11873#line 723
11874 mwifiex_update_sk_buff_pa(skb);
11875#line 724
11876 skb_put(skb, 4U);
11877#line 727
11878 __cil_tmp16 = (unsigned long )skb;
11879#line 727
11880 __cil_tmp17 = __cil_tmp16 + 224;
11881#line 727
11882 __cil_tmp18 = *((unsigned char **)__cil_tmp17);
11883#line 727
11884 __cil_tmp19 = (u32 *)__cil_tmp18;
11885#line 727
11886 *__cil_tmp19 = 2857740885U;
11887#line 729
11888 __cil_tmp20 = & descriptor;
11889#line 729
11890 *((char const **)__cil_tmp20) = "mwifiex_pcie";
11891#line 729
11892 __cil_tmp21 = (unsigned long )(& descriptor) + 8;
11893#line 729
11894 *((char const **)__cil_tmp21) = "mwifiex_pcie_alloc_sleep_cookie_buf";
11895#line 729
11896 __cil_tmp22 = (unsigned long )(& descriptor) + 16;
11897#line 729
11898 *((char const **)__cil_tmp22) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
11899#line 729
11900 __cil_tmp23 = (unsigned long )(& descriptor) + 24;
11901#line 729
11902 *((char const **)__cil_tmp23) = "alloc_scook: sleep cookie=0x%x\n";
11903#line 729
11904 __cil_tmp24 = (unsigned long )(& descriptor) + 32;
11905#line 729
11906 *((unsigned int *)__cil_tmp24) = 730U;
11907#line 729
11908 __cil_tmp25 = (unsigned long )(& descriptor) + 35;
11909#line 729
11910 *((unsigned char *)__cil_tmp25) = (unsigned char)0;
11911#line 729
11912 __cil_tmp26 = (unsigned long )(& descriptor) + 35;
11913#line 729
11914 __cil_tmp27 = *((unsigned char *)__cil_tmp26);
11915#line 729
11916 __cil_tmp28 = (long )__cil_tmp27;
11917#line 729
11918 __cil_tmp29 = __cil_tmp28 & 1L;
11919#line 729
11920 tmp = __builtin_expect(__cil_tmp29, 0L);
11921 }
11922#line 729
11923 if (tmp != 0L) {
11924 {
11925#line 729
11926 __cil_tmp30 = (unsigned long )adapter;
11927#line 729
11928 __cil_tmp31 = __cil_tmp30 + 72;
11929#line 729
11930 __cil_tmp32 = *((struct device **)__cil_tmp31);
11931#line 729
11932 __cil_tmp33 = (struct device const *)__cil_tmp32;
11933#line 729
11934 __cil_tmp34 = (unsigned long )skb;
11935#line 729
11936 __cil_tmp35 = __cil_tmp34 + 224;
11937#line 729
11938 __cil_tmp36 = *((unsigned char **)__cil_tmp35);
11939#line 729
11940 __cil_tmp37 = (u32 *)__cil_tmp36;
11941#line 729
11942 __cil_tmp38 = *__cil_tmp37;
11943#line 729
11944 __dynamic_dev_dbg(& descriptor, __cil_tmp33, "alloc_scook: sleep cookie=0x%x\n",
11945 __cil_tmp38);
11946 }
11947 } else {
11948
11949 }
11950#line 733
11951 __cil_tmp39 = (unsigned long )card;
11952#line 733
11953 __cil_tmp40 = __cil_tmp39 + 1216;
11954#line 733
11955 *((struct sk_buff **)__cil_tmp40) = skb;
11956#line 735
11957 return (0);
11958}
11959}
11960#line 741 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
11961static int mwifiex_pcie_delete_sleep_cookie_buf(struct mwifiex_adapter *adapter )
11962{ struct pcie_service_card *card ;
11963 struct mwifiex_adapter *__cil_tmp3 ;
11964 unsigned long __cil_tmp4 ;
11965 unsigned long __cil_tmp5 ;
11966 unsigned long __cil_tmp6 ;
11967 unsigned long __cil_tmp7 ;
11968 void *__cil_tmp8 ;
11969 struct pcie_service_card *__cil_tmp9 ;
11970 unsigned long __cil_tmp10 ;
11971 unsigned long __cil_tmp11 ;
11972 struct sk_buff *__cil_tmp12 ;
11973 unsigned long __cil_tmp13 ;
11974 unsigned long __cil_tmp14 ;
11975 unsigned long __cil_tmp15 ;
11976 struct sk_buff *__cil_tmp16 ;
11977 unsigned long __cil_tmp17 ;
11978 unsigned long __cil_tmp18 ;
11979 unsigned long __cil_tmp19 ;
11980 struct sk_buff *__cil_tmp20 ;
11981 unsigned long __cil_tmp21 ;
11982 unsigned long __cil_tmp22 ;
11983
11984 {
11985 {
11986#line 745
11987 __cil_tmp3 = (struct mwifiex_adapter *)0;
11988#line 745
11989 __cil_tmp4 = (unsigned long )__cil_tmp3;
11990#line 745
11991 __cil_tmp5 = (unsigned long )adapter;
11992#line 745
11993 if (__cil_tmp5 == __cil_tmp4) {
11994#line 746
11995 return (0);
11996 } else {
11997
11998 }
11999 }
12000#line 748
12001 __cil_tmp6 = (unsigned long )adapter;
12002#line 748
12003 __cil_tmp7 = __cil_tmp6 + 184;
12004#line 748
12005 __cil_tmp8 = *((void **)__cil_tmp7);
12006#line 748
12007 card = (struct pcie_service_card *)__cil_tmp8;
12008 {
12009#line 750
12010 __cil_tmp9 = (struct pcie_service_card *)0;
12011#line 750
12012 __cil_tmp10 = (unsigned long )__cil_tmp9;
12013#line 750
12014 __cil_tmp11 = (unsigned long )card;
12015#line 750
12016 if (__cil_tmp11 != __cil_tmp10) {
12017 {
12018#line 750
12019 __cil_tmp12 = (struct sk_buff *)0;
12020#line 750
12021 __cil_tmp13 = (unsigned long )__cil_tmp12;
12022#line 750
12023 __cil_tmp14 = (unsigned long )card;
12024#line 750
12025 __cil_tmp15 = __cil_tmp14 + 1216;
12026#line 750
12027 __cil_tmp16 = *((struct sk_buff **)__cil_tmp15);
12028#line 750
12029 __cil_tmp17 = (unsigned long )__cil_tmp16;
12030#line 750
12031 if (__cil_tmp17 != __cil_tmp13) {
12032 {
12033#line 751
12034 __cil_tmp18 = (unsigned long )card;
12035#line 751
12036 __cil_tmp19 = __cil_tmp18 + 1216;
12037#line 751
12038 __cil_tmp20 = *((struct sk_buff **)__cil_tmp19);
12039#line 751
12040 dev_kfree_skb_any(__cil_tmp20);
12041#line 752
12042 __cil_tmp21 = (unsigned long )card;
12043#line 752
12044 __cil_tmp22 = __cil_tmp21 + 1216;
12045#line 752
12046 *((struct sk_buff **)__cil_tmp22) = (struct sk_buff *)0;
12047 }
12048 } else {
12049
12050 }
12051 }
12052 } else {
12053
12054 }
12055 }
12056#line 755
12057 return (0);
12058}
12059}
12060#line 762 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
12061static int mwifiex_pcie_send_data(struct mwifiex_adapter *adapter , struct sk_buff *skb )
12062{ struct pcie_service_card *card ;
12063 u32 wrindx ;
12064 u32 rdptr ;
12065 phys_addr_t *buf_pa ;
12066 __le16 *tmp ;
12067 bool tmp___0 ;
12068 int tmp___1 ;
12069 int tmp___2 ;
12070 struct _ddebug descriptor ;
12071 long tmp___3 ;
12072 struct sk_buff *skb_data ;
12073 u8 *payload ;
12074 size_t __len ;
12075 void *__ret ;
12076 int tmp___4 ;
12077 int tmp___5 ;
12078 struct _ddebug descriptor___0 ;
12079 long tmp___6 ;
12080 struct _ddebug descriptor___1 ;
12081 long tmp___7 ;
12082 int tmp___8 ;
12083 unsigned long __cil_tmp24 ;
12084 unsigned long __cil_tmp25 ;
12085 void *__cil_tmp26 ;
12086 unsigned long __cil_tmp27 ;
12087 unsigned long __cil_tmp28 ;
12088 struct device *__cil_tmp29 ;
12089 struct device const *__cil_tmp30 ;
12090 unsigned long __cil_tmp31 ;
12091 unsigned long __cil_tmp32 ;
12092 u32 __cil_tmp33 ;
12093 struct _ddebug *__cil_tmp34 ;
12094 unsigned long __cil_tmp35 ;
12095 unsigned long __cil_tmp36 ;
12096 unsigned long __cil_tmp37 ;
12097 unsigned long __cil_tmp38 ;
12098 unsigned long __cil_tmp39 ;
12099 unsigned long __cil_tmp40 ;
12100 unsigned char __cil_tmp41 ;
12101 long __cil_tmp42 ;
12102 long __cil_tmp43 ;
12103 unsigned long __cil_tmp44 ;
12104 unsigned long __cil_tmp45 ;
12105 struct device *__cil_tmp46 ;
12106 struct device const *__cil_tmp47 ;
12107 u32 *__cil_tmp48 ;
12108 u32 __cil_tmp49 ;
12109 unsigned long __cil_tmp50 ;
12110 unsigned long __cil_tmp51 ;
12111 u32 __cil_tmp52 ;
12112 u32 *__cil_tmp53 ;
12113 u32 __cil_tmp54 ;
12114 unsigned long __cil_tmp55 ;
12115 unsigned long __cil_tmp56 ;
12116 u32 __cil_tmp57 ;
12117 unsigned int __cil_tmp58 ;
12118 unsigned int __cil_tmp59 ;
12119 u32 *__cil_tmp60 ;
12120 u32 __cil_tmp61 ;
12121 unsigned long __cil_tmp62 ;
12122 unsigned long __cil_tmp63 ;
12123 unsigned long __cil_tmp64 ;
12124 u32 __cil_tmp65 ;
12125 unsigned long __cil_tmp66 ;
12126 unsigned long __cil_tmp67 ;
12127 unsigned long __cil_tmp68 ;
12128 unsigned long __cil_tmp69 ;
12129 unsigned long __cil_tmp70 ;
12130 unsigned long __cil_tmp71 ;
12131 unsigned long __cil_tmp72 ;
12132 unsigned long __cil_tmp73 ;
12133 unsigned long __cil_tmp74 ;
12134 unsigned long __cil_tmp75 ;
12135 unsigned long __cil_tmp76 ;
12136 unsigned int __cil_tmp77 ;
12137 unsigned long __cil_tmp78 ;
12138 unsigned long __cil_tmp79 ;
12139 unsigned char *__cil_tmp80 ;
12140 void *__cil_tmp81 ;
12141 unsigned long __cil_tmp82 ;
12142 unsigned long __cil_tmp83 ;
12143 unsigned char *__cil_tmp84 ;
12144 void const *__cil_tmp85 ;
12145 unsigned long __cil_tmp86 ;
12146 unsigned long __cil_tmp87 ;
12147 unsigned long __cil_tmp88 ;
12148 unsigned long __cil_tmp89 ;
12149 unsigned int __cil_tmp90 ;
12150 __le16 *__cil_tmp91 ;
12151 unsigned long __cil_tmp92 ;
12152 unsigned long __cil_tmp93 ;
12153 unsigned int __cil_tmp94 ;
12154 unsigned int __cil_tmp95 ;
12155 unsigned long __cil_tmp96 ;
12156 unsigned long __cil_tmp97 ;
12157 unsigned int __cil_tmp98 ;
12158 unsigned long __cil_tmp99 ;
12159 unsigned long __cil_tmp100 ;
12160 unsigned long __cil_tmp101 ;
12161 unsigned long __cil_tmp102 ;
12162 struct mwifiex_pcie_buf_desc *__cil_tmp103 ;
12163 unsigned long __cil_tmp104 ;
12164 unsigned long __cil_tmp105 ;
12165 unsigned long __cil_tmp106 ;
12166 unsigned long __cil_tmp107 ;
12167 struct mwifiex_pcie_buf_desc *__cil_tmp108 ;
12168 unsigned long __cil_tmp109 ;
12169 unsigned long __cil_tmp110 ;
12170 unsigned long __cil_tmp111 ;
12171 unsigned long __cil_tmp112 ;
12172 unsigned int __cil_tmp113 ;
12173 unsigned long __cil_tmp114 ;
12174 unsigned long __cil_tmp115 ;
12175 unsigned long __cil_tmp116 ;
12176 unsigned long __cil_tmp117 ;
12177 struct mwifiex_pcie_buf_desc *__cil_tmp118 ;
12178 unsigned long __cil_tmp119 ;
12179 unsigned long __cil_tmp120 ;
12180 unsigned long __cil_tmp121 ;
12181 unsigned long __cil_tmp122 ;
12182 unsigned long __cil_tmp123 ;
12183 unsigned long __cil_tmp124 ;
12184 u32 __cil_tmp125 ;
12185 unsigned long __cil_tmp126 ;
12186 unsigned long __cil_tmp127 ;
12187 u32 __cil_tmp128 ;
12188 unsigned int __cil_tmp129 ;
12189 unsigned long __cil_tmp130 ;
12190 unsigned long __cil_tmp131 ;
12191 unsigned long __cil_tmp132 ;
12192 unsigned long __cil_tmp133 ;
12193 u32 __cil_tmp134 ;
12194 u32 __cil_tmp135 ;
12195 unsigned long __cil_tmp136 ;
12196 unsigned long __cil_tmp137 ;
12197 u32 __cil_tmp138 ;
12198 unsigned long __cil_tmp139 ;
12199 unsigned long __cil_tmp140 ;
12200 struct device *__cil_tmp141 ;
12201 struct device const *__cil_tmp142 ;
12202 unsigned long __cil_tmp143 ;
12203 unsigned long __cil_tmp144 ;
12204 struct device *__cil_tmp145 ;
12205 struct device const *__cil_tmp146 ;
12206 struct _ddebug *__cil_tmp147 ;
12207 unsigned long __cil_tmp148 ;
12208 unsigned long __cil_tmp149 ;
12209 unsigned long __cil_tmp150 ;
12210 unsigned long __cil_tmp151 ;
12211 unsigned long __cil_tmp152 ;
12212 unsigned long __cil_tmp153 ;
12213 unsigned char __cil_tmp154 ;
12214 long __cil_tmp155 ;
12215 long __cil_tmp156 ;
12216 unsigned long __cil_tmp157 ;
12217 unsigned long __cil_tmp158 ;
12218 struct device *__cil_tmp159 ;
12219 struct device const *__cil_tmp160 ;
12220 u32 *__cil_tmp161 ;
12221 u32 __cil_tmp162 ;
12222 unsigned long __cil_tmp163 ;
12223 unsigned long __cil_tmp164 ;
12224 u32 __cil_tmp165 ;
12225 struct _ddebug *__cil_tmp166 ;
12226 unsigned long __cil_tmp167 ;
12227 unsigned long __cil_tmp168 ;
12228 unsigned long __cil_tmp169 ;
12229 unsigned long __cil_tmp170 ;
12230 unsigned long __cil_tmp171 ;
12231 unsigned long __cil_tmp172 ;
12232 unsigned char __cil_tmp173 ;
12233 long __cil_tmp174 ;
12234 long __cil_tmp175 ;
12235 unsigned long __cil_tmp176 ;
12236 unsigned long __cil_tmp177 ;
12237 struct device *__cil_tmp178 ;
12238 struct device const *__cil_tmp179 ;
12239 unsigned long __cil_tmp180 ;
12240 unsigned long __cil_tmp181 ;
12241 unsigned long __cil_tmp182 ;
12242 unsigned long __cil_tmp183 ;
12243 struct device *__cil_tmp184 ;
12244 struct device const *__cil_tmp185 ;
12245
12246 {
12247 {
12248#line 764
12249 __cil_tmp24 = (unsigned long )adapter;
12250#line 764
12251 __cil_tmp25 = __cil_tmp24 + 184;
12252#line 764
12253 __cil_tmp26 = *((void **)__cil_tmp25);
12254#line 764
12255 card = (struct pcie_service_card *)__cil_tmp26;
12256#line 769
12257 tmp___0 = mwifiex_pcie_ok_to_access_hw(adapter);
12258 }
12259#line 769
12260 if (tmp___0) {
12261#line 769
12262 tmp___1 = 0;
12263 } else {
12264#line 769
12265 tmp___1 = 1;
12266 }
12267#line 769
12268 if (tmp___1) {
12269 {
12270#line 770
12271 mwifiex_pm_wakeup_card(adapter);
12272 }
12273 } else {
12274
12275 }
12276 {
12277#line 773
12278 tmp___2 = mwifiex_read_reg(adapter, 3288, & rdptr);
12279 }
12280#line 773
12281 if (tmp___2 != 0) {
12282 {
12283#line 774
12284 __cil_tmp27 = (unsigned long )adapter;
12285#line 774
12286 __cil_tmp28 = __cil_tmp27 + 72;
12287#line 774
12288 __cil_tmp29 = *((struct device **)__cil_tmp28);
12289#line 774
12290 __cil_tmp30 = (struct device const *)__cil_tmp29;
12291#line 774
12292 dev_err(__cil_tmp30, "SEND DATA: failed to read REG_TXBD_RDPTR\n");
12293 }
12294#line 776
12295 return (-1);
12296 } else {
12297
12298 }
12299 {
12300#line 779
12301 __cil_tmp31 = (unsigned long )card;
12302#line 779
12303 __cil_tmp32 = __cil_tmp31 + 16;
12304#line 779
12305 __cil_tmp33 = *((u32 *)__cil_tmp32);
12306#line 779
12307 wrindx = __cil_tmp33 & 63U;
12308#line 781
12309 __cil_tmp34 = & descriptor;
12310#line 781
12311 *((char const **)__cil_tmp34) = "mwifiex_pcie";
12312#line 781
12313 __cil_tmp35 = (unsigned long )(& descriptor) + 8;
12314#line 781
12315 *((char const **)__cil_tmp35) = "mwifiex_pcie_send_data";
12316#line 781
12317 __cil_tmp36 = (unsigned long )(& descriptor) + 16;
12318#line 781
12319 *((char const **)__cil_tmp36) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
12320#line 781
12321 __cil_tmp37 = (unsigned long )(& descriptor) + 24;
12322#line 781
12323 *((char const **)__cil_tmp37) = "info: SEND DATA: <Rd: %#x, Wr: %#x>\n";
12324#line 781
12325 __cil_tmp38 = (unsigned long )(& descriptor) + 32;
12326#line 781
12327 *((unsigned int *)__cil_tmp38) = 782U;
12328#line 781
12329 __cil_tmp39 = (unsigned long )(& descriptor) + 35;
12330#line 781
12331 *((unsigned char *)__cil_tmp39) = (unsigned char)0;
12332#line 781
12333 __cil_tmp40 = (unsigned long )(& descriptor) + 35;
12334#line 781
12335 __cil_tmp41 = *((unsigned char *)__cil_tmp40);
12336#line 781
12337 __cil_tmp42 = (long )__cil_tmp41;
12338#line 781
12339 __cil_tmp43 = __cil_tmp42 & 1L;
12340#line 781
12341 tmp___3 = __builtin_expect(__cil_tmp43, 0L);
12342 }
12343#line 781
12344 if (tmp___3 != 0L) {
12345 {
12346#line 781
12347 __cil_tmp44 = (unsigned long )adapter;
12348#line 781
12349 __cil_tmp45 = __cil_tmp44 + 72;
12350#line 781
12351 __cil_tmp46 = *((struct device **)__cil_tmp45);
12352#line 781
12353 __cil_tmp47 = (struct device const *)__cil_tmp46;
12354#line 781
12355 __cil_tmp48 = & rdptr;
12356#line 781
12357 __cil_tmp49 = *__cil_tmp48;
12358#line 781
12359 __cil_tmp50 = (unsigned long )card;
12360#line 781
12361 __cil_tmp51 = __cil_tmp50 + 16;
12362#line 781
12363 __cil_tmp52 = *((u32 *)__cil_tmp51);
12364#line 781
12365 __dynamic_dev_dbg(& descriptor, __cil_tmp47, "info: SEND DATA: <Rd: %#x, Wr: %#x>\n",
12366 __cil_tmp49, __cil_tmp52);
12367 }
12368 } else {
12369
12370 }
12371 {
12372#line 783
12373 __cil_tmp53 = & rdptr;
12374#line 783
12375 __cil_tmp54 = *__cil_tmp53;
12376#line 783
12377 __cil_tmp55 = (unsigned long )card;
12378#line 783
12379 __cil_tmp56 = __cil_tmp55 + 16;
12380#line 783
12381 __cil_tmp57 = *((u32 *)__cil_tmp56);
12382#line 783
12383 __cil_tmp58 = __cil_tmp57 ^ __cil_tmp54;
12384#line 783
12385 __cil_tmp59 = __cil_tmp58 & 63U;
12386#line 783
12387 if (__cil_tmp59 != 0U) {
12388#line 783
12389 goto _L;
12390 } else {
12391 {
12392#line 783
12393 __cil_tmp60 = & rdptr;
12394#line 783
12395 __cil_tmp61 = *__cil_tmp60;
12396#line 783
12397 __cil_tmp62 = (unsigned long )__cil_tmp61;
12398#line 783
12399 __cil_tmp63 = (unsigned long )card;
12400#line 783
12401 __cil_tmp64 = __cil_tmp63 + 16;
12402#line 783
12403 __cil_tmp65 = *((u32 *)__cil_tmp64);
12404#line 783
12405 __cil_tmp66 = (unsigned long )__cil_tmp65;
12406#line 783
12407 __cil_tmp67 = __cil_tmp66 ^ __cil_tmp62;
12408#line 783
12409 __cil_tmp68 = __cil_tmp67 & 128UL;
12410#line 783
12411 if (__cil_tmp68 != 0UL) {
12412 _L:
12413 {
12414#line 790
12415 __cil_tmp69 = (unsigned long )adapter;
12416#line 790
12417 __cil_tmp70 = __cil_tmp69 + 3088;
12418#line 790
12419 *((u8 *)__cil_tmp70) = (u8 )1U;
12420#line 791
12421 __cil_tmp71 = wrindx * 8UL;
12422#line 791
12423 __cil_tmp72 = 304 + __cil_tmp71;
12424#line 791
12425 __cil_tmp73 = (unsigned long )card;
12426#line 791
12427 __cil_tmp74 = __cil_tmp73 + __cil_tmp72;
12428#line 791
12429 skb_data = *((struct sk_buff **)__cil_tmp74);
12430#line 792
12431 __cil_tmp75 = (unsigned long )skb;
12432#line 792
12433 __cil_tmp76 = __cil_tmp75 + 104;
12434#line 792
12435 __cil_tmp77 = *((unsigned int *)__cil_tmp76);
12436#line 792
12437 __len = (size_t )__cil_tmp77;
12438#line 792
12439 __cil_tmp78 = (unsigned long )skb_data;
12440#line 792
12441 __cil_tmp79 = __cil_tmp78 + 224;
12442#line 792
12443 __cil_tmp80 = *((unsigned char **)__cil_tmp79);
12444#line 792
12445 __cil_tmp81 = (void *)__cil_tmp80;
12446#line 792
12447 __cil_tmp82 = (unsigned long )skb;
12448#line 792
12449 __cil_tmp83 = __cil_tmp82 + 224;
12450#line 792
12451 __cil_tmp84 = *((unsigned char **)__cil_tmp83);
12452#line 792
12453 __cil_tmp85 = (void const *)__cil_tmp84;
12454#line 792
12455 __ret = __builtin_memcpy(__cil_tmp81, __cil_tmp85, __len);
12456#line 793
12457 __cil_tmp86 = (unsigned long )skb_data;
12458#line 793
12459 __cil_tmp87 = __cil_tmp86 + 224;
12460#line 793
12461 payload = *((unsigned char **)__cil_tmp87);
12462#line 794
12463 tmp = (__le16 *)payload;
12464#line 795
12465 __cil_tmp88 = (unsigned long )skb;
12466#line 795
12467 __cil_tmp89 = __cil_tmp88 + 104;
12468#line 795
12469 __cil_tmp90 = *((unsigned int *)__cil_tmp89);
12470#line 795
12471 *tmp = (unsigned short )__cil_tmp90;
12472#line 796
12473 __cil_tmp91 = (__le16 *)payload;
12474#line 796
12475 tmp = __cil_tmp91 + 2U;
12476#line 797
12477 *tmp = (__le16 )0U;
12478#line 798
12479 __cil_tmp92 = (unsigned long )skb_data;
12480#line 798
12481 __cil_tmp93 = __cil_tmp92 + 104;
12482#line 798
12483 __cil_tmp94 = *((unsigned int *)__cil_tmp93);
12484#line 798
12485 __cil_tmp95 = 4096U - __cil_tmp94;
12486#line 798
12487 skb_put(skb_data, __cil_tmp95);
12488#line 799
12489 __cil_tmp96 = (unsigned long )skb;
12490#line 799
12491 __cil_tmp97 = __cil_tmp96 + 104;
12492#line 799
12493 __cil_tmp98 = *((unsigned int *)__cil_tmp97);
12494#line 799
12495 skb_trim(skb_data, __cil_tmp98);
12496#line 800
12497 buf_pa = MWIFIEX_SKB_PACB(skb_data);
12498#line 801
12499 __cil_tmp99 = wrindx * 8UL;
12500#line 801
12501 __cil_tmp100 = 48 + __cil_tmp99;
12502#line 801
12503 __cil_tmp101 = (unsigned long )card;
12504#line 801
12505 __cil_tmp102 = __cil_tmp101 + __cil_tmp100;
12506#line 801
12507 __cil_tmp103 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp102);
12508#line 801
12509 *((u64 *)__cil_tmp103) = *buf_pa;
12510#line 802
12511 __cil_tmp104 = wrindx * 8UL;
12512#line 802
12513 __cil_tmp105 = 48 + __cil_tmp104;
12514#line 802
12515 __cil_tmp106 = (unsigned long )card;
12516#line 802
12517 __cil_tmp107 = __cil_tmp106 + __cil_tmp105;
12518#line 802
12519 __cil_tmp108 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp107);
12520#line 802
12521 __cil_tmp109 = (unsigned long )__cil_tmp108;
12522#line 802
12523 __cil_tmp110 = __cil_tmp109 + 8;
12524#line 802
12525 __cil_tmp111 = (unsigned long )skb_data;
12526#line 802
12527 __cil_tmp112 = __cil_tmp111 + 104;
12528#line 802
12529 __cil_tmp113 = *((unsigned int *)__cil_tmp112);
12530#line 802
12531 *((u16 *)__cil_tmp110) = (unsigned short )__cil_tmp113;
12532#line 803
12533 __cil_tmp114 = wrindx * 8UL;
12534#line 803
12535 __cil_tmp115 = 48 + __cil_tmp114;
12536#line 803
12537 __cil_tmp116 = (unsigned long )card;
12538#line 803
12539 __cil_tmp117 = __cil_tmp116 + __cil_tmp115;
12540#line 803
12541 __cil_tmp118 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp117);
12542#line 803
12543 __cil_tmp119 = (unsigned long )__cil_tmp118;
12544#line 803
12545 __cil_tmp120 = __cil_tmp119 + 10;
12546#line 803
12547 *((u16 *)__cil_tmp120) = (u16 )3U;
12548#line 806
12549 __cil_tmp121 = (unsigned long )card;
12550#line 806
12551 __cil_tmp122 = __cil_tmp121 + 16;
12552#line 806
12553 __cil_tmp123 = (unsigned long )card;
12554#line 806
12555 __cil_tmp124 = __cil_tmp123 + 16;
12556#line 806
12557 __cil_tmp125 = *((u32 *)__cil_tmp124);
12558#line 806
12559 *((u32 *)__cil_tmp122) = __cil_tmp125 + 1U;
12560 }
12561 {
12562#line 806
12563 __cil_tmp126 = (unsigned long )card;
12564#line 806
12565 __cil_tmp127 = __cil_tmp126 + 16;
12566#line 806
12567 __cil_tmp128 = *((u32 *)__cil_tmp127);
12568#line 806
12569 __cil_tmp129 = __cil_tmp128 & 63U;
12570#line 806
12571 if (__cil_tmp129 == 32U) {
12572#line 808
12573 __cil_tmp130 = (unsigned long )card;
12574#line 808
12575 __cil_tmp131 = __cil_tmp130 + 16;
12576#line 808
12577 __cil_tmp132 = (unsigned long )card;
12578#line 808
12579 __cil_tmp133 = __cil_tmp132 + 16;
12580#line 808
12581 __cil_tmp134 = *((u32 *)__cil_tmp133);
12582#line 808
12583 __cil_tmp135 = ~ __cil_tmp134;
12584#line 808
12585 *((u32 *)__cil_tmp131) = __cil_tmp135 & 128U;
12586 } else {
12587
12588 }
12589 }
12590 {
12591#line 813
12592 __cil_tmp136 = (unsigned long )card;
12593#line 813
12594 __cil_tmp137 = __cil_tmp136 + 16;
12595#line 813
12596 __cil_tmp138 = *((u32 *)__cil_tmp137);
12597#line 813
12598 tmp___4 = mwifiex_write_reg(adapter, 3292, __cil_tmp138);
12599 }
12600#line 813
12601 if (tmp___4 != 0) {
12602 {
12603#line 815
12604 __cil_tmp139 = (unsigned long )adapter;
12605#line 815
12606 __cil_tmp140 = __cil_tmp139 + 72;
12607#line 815
12608 __cil_tmp141 = *((struct device **)__cil_tmp140);
12609#line 815
12610 __cil_tmp142 = (struct device const *)__cil_tmp141;
12611#line 815
12612 dev_err(__cil_tmp142, "SEND DATA: failed to write REG_TXBD_WRPTR\n");
12613 }
12614#line 817
12615 return (0);
12616 } else {
12617
12618 }
12619 {
12620#line 821
12621 tmp___5 = mwifiex_write_reg(adapter, 3096, 1U);
12622 }
12623#line 821
12624 if (tmp___5 != 0) {
12625 {
12626#line 823
12627 __cil_tmp143 = (unsigned long )adapter;
12628#line 823
12629 __cil_tmp144 = __cil_tmp143 + 72;
12630#line 823
12631 __cil_tmp145 = *((struct device **)__cil_tmp144);
12632#line 823
12633 __cil_tmp146 = (struct device const *)__cil_tmp145;
12634#line 823
12635 dev_err(__cil_tmp146, "SEND DATA: failed to assert door-bell intr\n");
12636 }
12637#line 825
12638 return (-1);
12639 } else {
12640
12641 }
12642 {
12643#line 827
12644 __cil_tmp147 = & descriptor___0;
12645#line 827
12646 *((char const **)__cil_tmp147) = "mwifiex_pcie";
12647#line 827
12648 __cil_tmp148 = (unsigned long )(& descriptor___0) + 8;
12649#line 827
12650 *((char const **)__cil_tmp148) = "mwifiex_pcie_send_data";
12651#line 827
12652 __cil_tmp149 = (unsigned long )(& descriptor___0) + 16;
12653#line 827
12654 *((char const **)__cil_tmp149) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
12655#line 827
12656 __cil_tmp150 = (unsigned long )(& descriptor___0) + 24;
12657#line 827
12658 *((char const **)__cil_tmp150) = "info: SEND DATA: Updated <Rd: %#x, Wr: %#x> and sent packet to firmware successfully\n";
12659#line 827
12660 __cil_tmp151 = (unsigned long )(& descriptor___0) + 32;
12661#line 827
12662 *((unsigned int *)__cil_tmp151) = 829U;
12663#line 827
12664 __cil_tmp152 = (unsigned long )(& descriptor___0) + 35;
12665#line 827
12666 *((unsigned char *)__cil_tmp152) = (unsigned char)0;
12667#line 827
12668 __cil_tmp153 = (unsigned long )(& descriptor___0) + 35;
12669#line 827
12670 __cil_tmp154 = *((unsigned char *)__cil_tmp153);
12671#line 827
12672 __cil_tmp155 = (long )__cil_tmp154;
12673#line 827
12674 __cil_tmp156 = __cil_tmp155 & 1L;
12675#line 827
12676 tmp___6 = __builtin_expect(__cil_tmp156, 0L);
12677 }
12678#line 827
12679 if (tmp___6 != 0L) {
12680 {
12681#line 827
12682 __cil_tmp157 = (unsigned long )adapter;
12683#line 827
12684 __cil_tmp158 = __cil_tmp157 + 72;
12685#line 827
12686 __cil_tmp159 = *((struct device **)__cil_tmp158);
12687#line 827
12688 __cil_tmp160 = (struct device const *)__cil_tmp159;
12689#line 827
12690 __cil_tmp161 = & rdptr;
12691#line 827
12692 __cil_tmp162 = *__cil_tmp161;
12693#line 827
12694 __cil_tmp163 = (unsigned long )card;
12695#line 827
12696 __cil_tmp164 = __cil_tmp163 + 16;
12697#line 827
12698 __cil_tmp165 = *((u32 *)__cil_tmp164);
12699#line 827
12700 __dynamic_dev_dbg(& descriptor___0, __cil_tmp160, "info: SEND DATA: Updated <Rd: %#x, Wr: %#x> and sent packet to firmware successfully\n",
12701 __cil_tmp162, __cil_tmp165);
12702 }
12703 } else {
12704
12705 }
12706 } else {
12707 {
12708#line 831
12709 __cil_tmp166 = & descriptor___1;
12710#line 831
12711 *((char const **)__cil_tmp166) = "mwifiex_pcie";
12712#line 831
12713 __cil_tmp167 = (unsigned long )(& descriptor___1) + 8;
12714#line 831
12715 *((char const **)__cil_tmp167) = "mwifiex_pcie_send_data";
12716#line 831
12717 __cil_tmp168 = (unsigned long )(& descriptor___1) + 16;
12718#line 831
12719 *((char const **)__cil_tmp168) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
12720#line 831
12721 __cil_tmp169 = (unsigned long )(& descriptor___1) + 24;
12722#line 831
12723 *((char const **)__cil_tmp169) = "info: TX Ring full, can\'t send packets to fw\n";
12724#line 831
12725 __cil_tmp170 = (unsigned long )(& descriptor___1) + 32;
12726#line 831
12727 *((unsigned int *)__cil_tmp170) = 832U;
12728#line 831
12729 __cil_tmp171 = (unsigned long )(& descriptor___1) + 35;
12730#line 831
12731 *((unsigned char *)__cil_tmp171) = (unsigned char)0;
12732#line 831
12733 __cil_tmp172 = (unsigned long )(& descriptor___1) + 35;
12734#line 831
12735 __cil_tmp173 = *((unsigned char *)__cil_tmp172);
12736#line 831
12737 __cil_tmp174 = (long )__cil_tmp173;
12738#line 831
12739 __cil_tmp175 = __cil_tmp174 & 1L;
12740#line 831
12741 tmp___7 = __builtin_expect(__cil_tmp175, 0L);
12742 }
12743#line 831
12744 if (tmp___7 != 0L) {
12745 {
12746#line 831
12747 __cil_tmp176 = (unsigned long )adapter;
12748#line 831
12749 __cil_tmp177 = __cil_tmp176 + 72;
12750#line 831
12751 __cil_tmp178 = *((struct device **)__cil_tmp177);
12752#line 831
12753 __cil_tmp179 = (struct device const *)__cil_tmp178;
12754#line 831
12755 __dynamic_dev_dbg(& descriptor___1, __cil_tmp179, "info: TX Ring full, can\'t send packets to fw\n");
12756 }
12757 } else {
12758
12759 }
12760 {
12761#line 833
12762 __cil_tmp180 = (unsigned long )adapter;
12763#line 833
12764 __cil_tmp181 = __cil_tmp180 + 3088;
12765#line 833
12766 *((u8 *)__cil_tmp181) = (u8 )1U;
12767#line 835
12768 tmp___8 = mwifiex_write_reg(adapter, 3096, 1U);
12769 }
12770#line 835
12771 if (tmp___8 != 0) {
12772 {
12773#line 837
12774 __cil_tmp182 = (unsigned long )adapter;
12775#line 837
12776 __cil_tmp183 = __cil_tmp182 + 72;
12777#line 837
12778 __cil_tmp184 = *((struct device **)__cil_tmp183);
12779#line 837
12780 __cil_tmp185 = (struct device const *)__cil_tmp184;
12781#line 837
12782 dev_err(__cil_tmp185, "SEND DATA: failed to assert door-bell intr\n");
12783 }
12784 } else {
12785
12786 }
12787#line 839
12788 return (-16);
12789 }
12790 }
12791 }
12792 }
12793#line 842
12794 return (0);
12795}
12796}
12797#line 849 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
12798static int mwifiex_pcie_process_recv_data(struct mwifiex_adapter *adapter )
12799{ struct pcie_service_card *card ;
12800 u32 wrptr ;
12801 u32 rd_index ;
12802 int ret ;
12803 struct sk_buff *skb_tmp ;
12804 int tmp ;
12805 struct sk_buff *skb_data ;
12806 u16 rx_len ;
12807 struct _ddebug descriptor ;
12808 long tmp___0 ;
12809 struct _ddebug descriptor___0 ;
12810 long tmp___1 ;
12811 size_t __len ;
12812 void *__ret ;
12813 struct _ddebug descriptor___1 ;
12814 long tmp___2 ;
12815 int tmp___3 ;
12816 int tmp___4 ;
12817 struct _ddebug descriptor___2 ;
12818 long tmp___5 ;
12819 unsigned long __cil_tmp22 ;
12820 unsigned long __cil_tmp23 ;
12821 void *__cil_tmp24 ;
12822 unsigned long __cil_tmp25 ;
12823 unsigned long __cil_tmp26 ;
12824 struct device *__cil_tmp27 ;
12825 struct device const *__cil_tmp28 ;
12826 unsigned long __cil_tmp29 ;
12827 unsigned long __cil_tmp30 ;
12828 u32 __cil_tmp31 ;
12829 unsigned long __cil_tmp32 ;
12830 unsigned long __cil_tmp33 ;
12831 unsigned long __cil_tmp34 ;
12832 unsigned long __cil_tmp35 ;
12833 unsigned long __cil_tmp36 ;
12834 unsigned long __cil_tmp37 ;
12835 unsigned char *__cil_tmp38 ;
12836 u16 *__cil_tmp39 ;
12837 struct _ddebug *__cil_tmp40 ;
12838 unsigned long __cil_tmp41 ;
12839 unsigned long __cil_tmp42 ;
12840 unsigned long __cil_tmp43 ;
12841 unsigned long __cil_tmp44 ;
12842 unsigned long __cil_tmp45 ;
12843 unsigned long __cil_tmp46 ;
12844 unsigned char __cil_tmp47 ;
12845 long __cil_tmp48 ;
12846 long __cil_tmp49 ;
12847 unsigned long __cil_tmp50 ;
12848 unsigned long __cil_tmp51 ;
12849 struct device *__cil_tmp52 ;
12850 struct device const *__cil_tmp53 ;
12851 unsigned long __cil_tmp54 ;
12852 unsigned long __cil_tmp55 ;
12853 u32 __cil_tmp56 ;
12854 u32 *__cil_tmp57 ;
12855 u32 __cil_tmp58 ;
12856 int __cil_tmp59 ;
12857 unsigned int __cil_tmp60 ;
12858 struct sk_buff *__cil_tmp61 ;
12859 unsigned long __cil_tmp62 ;
12860 unsigned long __cil_tmp63 ;
12861 struct _ddebug *__cil_tmp64 ;
12862 unsigned long __cil_tmp65 ;
12863 unsigned long __cil_tmp66 ;
12864 unsigned long __cil_tmp67 ;
12865 unsigned long __cil_tmp68 ;
12866 unsigned long __cil_tmp69 ;
12867 unsigned long __cil_tmp70 ;
12868 unsigned char __cil_tmp71 ;
12869 long __cil_tmp72 ;
12870 long __cil_tmp73 ;
12871 unsigned long __cil_tmp74 ;
12872 unsigned long __cil_tmp75 ;
12873 struct device *__cil_tmp76 ;
12874 struct device const *__cil_tmp77 ;
12875 unsigned int __cil_tmp78 ;
12876 unsigned long __cil_tmp79 ;
12877 unsigned long __cil_tmp80 ;
12878 unsigned char *__cil_tmp81 ;
12879 void *__cil_tmp82 ;
12880 unsigned long __cil_tmp83 ;
12881 unsigned long __cil_tmp84 ;
12882 unsigned char *__cil_tmp85 ;
12883 void const *__cil_tmp86 ;
12884 void const *__cil_tmp87 ;
12885 unsigned long __cil_tmp88 ;
12886 unsigned long __cil_tmp89 ;
12887 unsigned long __cil_tmp90 ;
12888 unsigned long __cil_tmp91 ;
12889 u32 __cil_tmp92 ;
12890 unsigned long __cil_tmp93 ;
12891 unsigned long __cil_tmp94 ;
12892 u32 __cil_tmp95 ;
12893 unsigned int __cil_tmp96 ;
12894 unsigned long __cil_tmp97 ;
12895 unsigned long __cil_tmp98 ;
12896 unsigned long __cil_tmp99 ;
12897 unsigned long __cil_tmp100 ;
12898 u32 __cil_tmp101 ;
12899 u32 __cil_tmp102 ;
12900 struct _ddebug *__cil_tmp103 ;
12901 unsigned long __cil_tmp104 ;
12902 unsigned long __cil_tmp105 ;
12903 unsigned long __cil_tmp106 ;
12904 unsigned long __cil_tmp107 ;
12905 unsigned long __cil_tmp108 ;
12906 unsigned long __cil_tmp109 ;
12907 unsigned char __cil_tmp110 ;
12908 long __cil_tmp111 ;
12909 long __cil_tmp112 ;
12910 unsigned long __cil_tmp113 ;
12911 unsigned long __cil_tmp114 ;
12912 struct device *__cil_tmp115 ;
12913 struct device const *__cil_tmp116 ;
12914 unsigned long __cil_tmp117 ;
12915 unsigned long __cil_tmp118 ;
12916 u32 __cil_tmp119 ;
12917 u32 *__cil_tmp120 ;
12918 u32 __cil_tmp121 ;
12919 unsigned long __cil_tmp122 ;
12920 unsigned long __cil_tmp123 ;
12921 u32 __cil_tmp124 ;
12922 unsigned long __cil_tmp125 ;
12923 unsigned long __cil_tmp126 ;
12924 struct device *__cil_tmp127 ;
12925 struct device const *__cil_tmp128 ;
12926 unsigned long __cil_tmp129 ;
12927 unsigned long __cil_tmp130 ;
12928 struct device *__cil_tmp131 ;
12929 struct device const *__cil_tmp132 ;
12930 struct _ddebug *__cil_tmp133 ;
12931 unsigned long __cil_tmp134 ;
12932 unsigned long __cil_tmp135 ;
12933 unsigned long __cil_tmp136 ;
12934 unsigned long __cil_tmp137 ;
12935 unsigned long __cil_tmp138 ;
12936 unsigned long __cil_tmp139 ;
12937 unsigned char __cil_tmp140 ;
12938 long __cil_tmp141 ;
12939 long __cil_tmp142 ;
12940 unsigned long __cil_tmp143 ;
12941 unsigned long __cil_tmp144 ;
12942 struct device *__cil_tmp145 ;
12943 struct device const *__cil_tmp146 ;
12944 u32 *__cil_tmp147 ;
12945 u32 __cil_tmp148 ;
12946 unsigned long __cil_tmp149 ;
12947 unsigned long __cil_tmp150 ;
12948 u32 __cil_tmp151 ;
12949 unsigned int __cil_tmp152 ;
12950 unsigned int __cil_tmp153 ;
12951 unsigned long __cil_tmp154 ;
12952 unsigned long __cil_tmp155 ;
12953 u32 __cil_tmp156 ;
12954 unsigned long __cil_tmp157 ;
12955 u32 *__cil_tmp158 ;
12956 u32 __cil_tmp159 ;
12957 unsigned long __cil_tmp160 ;
12958 unsigned long __cil_tmp161 ;
12959 unsigned long __cil_tmp162 ;
12960 struct sk_buff *__cil_tmp163 ;
12961 unsigned long __cil_tmp164 ;
12962 unsigned long __cil_tmp165 ;
12963
12964 {
12965 {
12966#line 851
12967 __cil_tmp22 = (unsigned long )adapter;
12968#line 851
12969 __cil_tmp23 = __cil_tmp22 + 184;
12970#line 851
12971 __cil_tmp24 = *((void **)__cil_tmp23);
12972#line 851
12973 card = (struct pcie_service_card *)__cil_tmp24;
12974#line 853
12975 ret = 0;
12976#line 854
12977 skb_tmp = (struct sk_buff *)0;
12978#line 857
12979 tmp = mwifiex_read_reg(adapter, 3300, & wrptr);
12980 }
12981#line 857
12982 if (tmp != 0) {
12983 {
12984#line 858
12985 __cil_tmp25 = (unsigned long )adapter;
12986#line 858
12987 __cil_tmp26 = __cil_tmp25 + 72;
12988#line 858
12989 __cil_tmp27 = *((struct device **)__cil_tmp26);
12990#line 858
12991 __cil_tmp28 = (struct device const *)__cil_tmp27;
12992#line 858
12993 dev_err(__cil_tmp28, "RECV DATA: failed to read REG_TXBD_RDPTR\n");
12994#line 860
12995 ret = -1;
12996 }
12997#line 861
12998 goto done;
12999 } else {
13000
13001 }
13002#line 864
13003 goto ldv_46789;
13004 ldv_46788:
13005 {
13006#line 871
13007 __cil_tmp29 = (unsigned long )card;
13008#line 871
13009 __cil_tmp30 = __cil_tmp29 + 564;
13010#line 871
13011 __cil_tmp31 = *((u32 *)__cil_tmp30);
13012#line 871
13013 rd_index = __cil_tmp31 & 63U;
13014#line 872
13015 __cil_tmp32 = rd_index * 8UL;
13016#line 872
13017 __cil_tmp33 = 848 + __cil_tmp32;
13018#line 872
13019 __cil_tmp34 = (unsigned long )card;
13020#line 872
13021 __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
13022#line 872
13023 skb_data = *((struct sk_buff **)__cil_tmp35);
13024#line 876
13025 __cil_tmp36 = (unsigned long )skb_data;
13026#line 876
13027 __cil_tmp37 = __cil_tmp36 + 224;
13028#line 876
13029 __cil_tmp38 = *((unsigned char **)__cil_tmp37);
13030#line 876
13031 __cil_tmp39 = (u16 *)__cil_tmp38;
13032#line 876
13033 rx_len = *__cil_tmp39;
13034#line 877
13035 __cil_tmp40 = & descriptor;
13036#line 877
13037 *((char const **)__cil_tmp40) = "mwifiex_pcie";
13038#line 877
13039 __cil_tmp41 = (unsigned long )(& descriptor) + 8;
13040#line 877
13041 *((char const **)__cil_tmp41) = "mwifiex_pcie_process_recv_data";
13042#line 877
13043 __cil_tmp42 = (unsigned long )(& descriptor) + 16;
13044#line 877
13045 *((char const **)__cil_tmp42) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
13046#line 877
13047 __cil_tmp43 = (unsigned long )(& descriptor) + 24;
13048#line 877
13049 *((char const **)__cil_tmp43) = "info: RECV DATA: Rd=%#x, Wr=%#x, Len=%d\n";
13050#line 877
13051 __cil_tmp44 = (unsigned long )(& descriptor) + 32;
13052#line 877
13053 *((unsigned int *)__cil_tmp44) = 879U;
13054#line 877
13055 __cil_tmp45 = (unsigned long )(& descriptor) + 35;
13056#line 877
13057 *((unsigned char *)__cil_tmp45) = (unsigned char)0;
13058#line 877
13059 __cil_tmp46 = (unsigned long )(& descriptor) + 35;
13060#line 877
13061 __cil_tmp47 = *((unsigned char *)__cil_tmp46);
13062#line 877
13063 __cil_tmp48 = (long )__cil_tmp47;
13064#line 877
13065 __cil_tmp49 = __cil_tmp48 & 1L;
13066#line 877
13067 tmp___0 = __builtin_expect(__cil_tmp49, 0L);
13068 }
13069#line 877
13070 if (tmp___0 != 0L) {
13071 {
13072#line 877
13073 __cil_tmp50 = (unsigned long )adapter;
13074#line 877
13075 __cil_tmp51 = __cil_tmp50 + 72;
13076#line 877
13077 __cil_tmp52 = *((struct device **)__cil_tmp51);
13078#line 877
13079 __cil_tmp53 = (struct device const *)__cil_tmp52;
13080#line 877
13081 __cil_tmp54 = (unsigned long )card;
13082#line 877
13083 __cil_tmp55 = __cil_tmp54 + 564;
13084#line 877
13085 __cil_tmp56 = *((u32 *)__cil_tmp55);
13086#line 877
13087 __cil_tmp57 = & wrptr;
13088#line 877
13089 __cil_tmp58 = *__cil_tmp57;
13090#line 877
13091 __cil_tmp59 = (int )rx_len;
13092#line 877
13093 __dynamic_dev_dbg(& descriptor, __cil_tmp53, "info: RECV DATA: Rd=%#x, Wr=%#x, Len=%d\n",
13094 __cil_tmp56, __cil_tmp58, __cil_tmp59);
13095 }
13096 } else {
13097
13098 }
13099 {
13100#line 880
13101 __cil_tmp60 = (unsigned int )rx_len;
13102#line 880
13103 skb_tmp = dev_alloc_skb(__cil_tmp60);
13104 }
13105 {
13106#line 881
13107 __cil_tmp61 = (struct sk_buff *)0;
13108#line 881
13109 __cil_tmp62 = (unsigned long )__cil_tmp61;
13110#line 881
13111 __cil_tmp63 = (unsigned long )skb_tmp;
13112#line 881
13113 if (__cil_tmp63 == __cil_tmp62) {
13114 {
13115#line 882
13116 __cil_tmp64 = & descriptor___0;
13117#line 882
13118 *((char const **)__cil_tmp64) = "mwifiex_pcie";
13119#line 882
13120 __cil_tmp65 = (unsigned long )(& descriptor___0) + 8;
13121#line 882
13122 *((char const **)__cil_tmp65) = "mwifiex_pcie_process_recv_data";
13123#line 882
13124 __cil_tmp66 = (unsigned long )(& descriptor___0) + 16;
13125#line 882
13126 *((char const **)__cil_tmp66) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
13127#line 882
13128 __cil_tmp67 = (unsigned long )(& descriptor___0) + 24;
13129#line 882
13130 *((char const **)__cil_tmp67) = "info: Failed to alloc skb for RX\n";
13131#line 882
13132 __cil_tmp68 = (unsigned long )(& descriptor___0) + 32;
13133#line 882
13134 *((unsigned int *)__cil_tmp68) = 883U;
13135#line 882
13136 __cil_tmp69 = (unsigned long )(& descriptor___0) + 35;
13137#line 882
13138 *((unsigned char *)__cil_tmp69) = (unsigned char)0;
13139#line 882
13140 __cil_tmp70 = (unsigned long )(& descriptor___0) + 35;
13141#line 882
13142 __cil_tmp71 = *((unsigned char *)__cil_tmp70);
13143#line 882
13144 __cil_tmp72 = (long )__cil_tmp71;
13145#line 882
13146 __cil_tmp73 = __cil_tmp72 & 1L;
13147#line 882
13148 tmp___1 = __builtin_expect(__cil_tmp73, 0L);
13149 }
13150#line 882
13151 if (tmp___1 != 0L) {
13152 {
13153#line 882
13154 __cil_tmp74 = (unsigned long )adapter;
13155#line 882
13156 __cil_tmp75 = __cil_tmp74 + 72;
13157#line 882
13158 __cil_tmp76 = *((struct device **)__cil_tmp75);
13159#line 882
13160 __cil_tmp77 = (struct device const *)__cil_tmp76;
13161#line 882
13162 __dynamic_dev_dbg(& descriptor___0, __cil_tmp77, "info: Failed to alloc skb for RX\n");
13163 }
13164 } else {
13165
13166 }
13167#line 884
13168 ret = -16;
13169#line 885
13170 goto done;
13171 } else {
13172
13173 }
13174 }
13175 {
13176#line 888
13177 __cil_tmp78 = (unsigned int )rx_len;
13178#line 888
13179 skb_put(skb_tmp, __cil_tmp78);
13180#line 890
13181 __len = (size_t )rx_len;
13182#line 890
13183 __cil_tmp79 = (unsigned long )skb_tmp;
13184#line 890
13185 __cil_tmp80 = __cil_tmp79 + 224;
13186#line 890
13187 __cil_tmp81 = *((unsigned char **)__cil_tmp80);
13188#line 890
13189 __cil_tmp82 = (void *)__cil_tmp81;
13190#line 890
13191 __cil_tmp83 = (unsigned long )skb_data;
13192#line 890
13193 __cil_tmp84 = __cil_tmp83 + 224;
13194#line 890
13195 __cil_tmp85 = *((unsigned char **)__cil_tmp84);
13196#line 890
13197 __cil_tmp86 = (void const *)__cil_tmp85;
13198#line 890
13199 __cil_tmp87 = __cil_tmp86 + 4U;
13200#line 890
13201 __ret = __builtin_memcpy(__cil_tmp82, __cil_tmp87, __len);
13202#line 891
13203 __cil_tmp88 = (unsigned long )card;
13204#line 891
13205 __cil_tmp89 = __cil_tmp88 + 564;
13206#line 891
13207 __cil_tmp90 = (unsigned long )card;
13208#line 891
13209 __cil_tmp91 = __cil_tmp90 + 564;
13210#line 891
13211 __cil_tmp92 = *((u32 *)__cil_tmp91);
13212#line 891
13213 *((u32 *)__cil_tmp89) = __cil_tmp92 + 1U;
13214 }
13215 {
13216#line 891
13217 __cil_tmp93 = (unsigned long )card;
13218#line 891
13219 __cil_tmp94 = __cil_tmp93 + 564;
13220#line 891
13221 __cil_tmp95 = *((u32 *)__cil_tmp94);
13222#line 891
13223 __cil_tmp96 = __cil_tmp95 & 63U;
13224#line 891
13225 if (__cil_tmp96 == 32U) {
13226#line 893
13227 __cil_tmp97 = (unsigned long )card;
13228#line 893
13229 __cil_tmp98 = __cil_tmp97 + 564;
13230#line 893
13231 __cil_tmp99 = (unsigned long )card;
13232#line 893
13233 __cil_tmp100 = __cil_tmp99 + 564;
13234#line 893
13235 __cil_tmp101 = *((u32 *)__cil_tmp100);
13236#line 893
13237 __cil_tmp102 = ~ __cil_tmp101;
13238#line 893
13239 *((u32 *)__cil_tmp98) = __cil_tmp102 & 128U;
13240 } else {
13241
13242 }
13243 }
13244 {
13245#line 897
13246 __cil_tmp103 = & descriptor___1;
13247#line 897
13248 *((char const **)__cil_tmp103) = "mwifiex_pcie";
13249#line 897
13250 __cil_tmp104 = (unsigned long )(& descriptor___1) + 8;
13251#line 897
13252 *((char const **)__cil_tmp104) = "mwifiex_pcie_process_recv_data";
13253#line 897
13254 __cil_tmp105 = (unsigned long )(& descriptor___1) + 16;
13255#line 897
13256 *((char const **)__cil_tmp105) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
13257#line 897
13258 __cil_tmp106 = (unsigned long )(& descriptor___1) + 24;
13259#line 897
13260 *((char const **)__cil_tmp106) = "info: RECV DATA: <Rd: %#x, Wr: %#x>\n";
13261#line 897
13262 __cil_tmp107 = (unsigned long )(& descriptor___1) + 32;
13263#line 897
13264 *((unsigned int *)__cil_tmp107) = 898U;
13265#line 897
13266 __cil_tmp108 = (unsigned long )(& descriptor___1) + 35;
13267#line 897
13268 *((unsigned char *)__cil_tmp108) = (unsigned char)0;
13269#line 897
13270 __cil_tmp109 = (unsigned long )(& descriptor___1) + 35;
13271#line 897
13272 __cil_tmp110 = *((unsigned char *)__cil_tmp109);
13273#line 897
13274 __cil_tmp111 = (long )__cil_tmp110;
13275#line 897
13276 __cil_tmp112 = __cil_tmp111 & 1L;
13277#line 897
13278 tmp___2 = __builtin_expect(__cil_tmp112, 0L);
13279 }
13280#line 897
13281 if (tmp___2 != 0L) {
13282 {
13283#line 897
13284 __cil_tmp113 = (unsigned long )adapter;
13285#line 897
13286 __cil_tmp114 = __cil_tmp113 + 72;
13287#line 897
13288 __cil_tmp115 = *((struct device **)__cil_tmp114);
13289#line 897
13290 __cil_tmp116 = (struct device const *)__cil_tmp115;
13291#line 897
13292 __cil_tmp117 = (unsigned long )card;
13293#line 897
13294 __cil_tmp118 = __cil_tmp117 + 564;
13295#line 897
13296 __cil_tmp119 = *((u32 *)__cil_tmp118);
13297#line 897
13298 __cil_tmp120 = & wrptr;
13299#line 897
13300 __cil_tmp121 = *__cil_tmp120;
13301#line 897
13302 __dynamic_dev_dbg(& descriptor___1, __cil_tmp116, "info: RECV DATA: <Rd: %#x, Wr: %#x>\n",
13303 __cil_tmp119, __cil_tmp121);
13304 }
13305 } else {
13306
13307 }
13308 {
13309#line 901
13310 __cil_tmp122 = (unsigned long )card;
13311#line 901
13312 __cil_tmp123 = __cil_tmp122 + 564;
13313#line 901
13314 __cil_tmp124 = *((u32 *)__cil_tmp123);
13315#line 901
13316 tmp___3 = mwifiex_write_reg(adapter, 3296, __cil_tmp124);
13317 }
13318#line 901
13319 if (tmp___3 != 0) {
13320 {
13321#line 903
13322 __cil_tmp125 = (unsigned long )adapter;
13323#line 903
13324 __cil_tmp126 = __cil_tmp125 + 72;
13325#line 903
13326 __cil_tmp127 = *((struct device **)__cil_tmp126);
13327#line 903
13328 __cil_tmp128 = (struct device const *)__cil_tmp127;
13329#line 903
13330 dev_err(__cil_tmp128, "RECV DATA: failed to write REG_RXBD_RDPTR\n");
13331#line 905
13332 ret = -1;
13333 }
13334#line 906
13335 goto done;
13336 } else {
13337
13338 }
13339 {
13340#line 910
13341 tmp___4 = mwifiex_read_reg(adapter, 3300, & wrptr);
13342 }
13343#line 910
13344 if (tmp___4 != 0) {
13345 {
13346#line 911
13347 __cil_tmp129 = (unsigned long )adapter;
13348#line 911
13349 __cil_tmp130 = __cil_tmp129 + 72;
13350#line 911
13351 __cil_tmp131 = *((struct device **)__cil_tmp130);
13352#line 911
13353 __cil_tmp132 = (struct device const *)__cil_tmp131;
13354#line 911
13355 dev_err(__cil_tmp132, "RECV DATA: failed to read REG_TXBD_RDPTR\n");
13356#line 913
13357 ret = -1;
13358 }
13359#line 914
13360 goto done;
13361 } else {
13362
13363 }
13364 {
13365#line 916
13366 __cil_tmp133 = & descriptor___2;
13367#line 916
13368 *((char const **)__cil_tmp133) = "mwifiex_pcie";
13369#line 916
13370 __cil_tmp134 = (unsigned long )(& descriptor___2) + 8;
13371#line 916
13372 *((char const **)__cil_tmp134) = "mwifiex_pcie_process_recv_data";
13373#line 916
13374 __cil_tmp135 = (unsigned long )(& descriptor___2) + 16;
13375#line 916
13376 *((char const **)__cil_tmp135) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
13377#line 916
13378 __cil_tmp136 = (unsigned long )(& descriptor___2) + 24;
13379#line 916
13380 *((char const **)__cil_tmp136) = "info: RECV DATA: Rcvd packet from fw successfully\n";
13381#line 916
13382 __cil_tmp137 = (unsigned long )(& descriptor___2) + 32;
13383#line 916
13384 *((unsigned int *)__cil_tmp137) = 917U;
13385#line 916
13386 __cil_tmp138 = (unsigned long )(& descriptor___2) + 35;
13387#line 916
13388 *((unsigned char *)__cil_tmp138) = (unsigned char)0;
13389#line 916
13390 __cil_tmp139 = (unsigned long )(& descriptor___2) + 35;
13391#line 916
13392 __cil_tmp140 = *((unsigned char *)__cil_tmp139);
13393#line 916
13394 __cil_tmp141 = (long )__cil_tmp140;
13395#line 916
13396 __cil_tmp142 = __cil_tmp141 & 1L;
13397#line 916
13398 tmp___5 = __builtin_expect(__cil_tmp142, 0L);
13399 }
13400#line 916
13401 if (tmp___5 != 0L) {
13402 {
13403#line 916
13404 __cil_tmp143 = (unsigned long )adapter;
13405#line 916
13406 __cil_tmp144 = __cil_tmp143 + 72;
13407#line 916
13408 __cil_tmp145 = *((struct device **)__cil_tmp144);
13409#line 916
13410 __cil_tmp146 = (struct device const *)__cil_tmp145;
13411#line 916
13412 __dynamic_dev_dbg(& descriptor___2, __cil_tmp146, "info: RECV DATA: Rcvd packet from fw successfully\n");
13413 }
13414 } else {
13415
13416 }
13417 {
13418#line 918
13419 mwifiex_handle_rx_packet(adapter, skb_tmp);
13420 }
13421 ldv_46789: ;
13422 {
13423#line 864
13424 __cil_tmp147 = & wrptr;
13425#line 864
13426 __cil_tmp148 = *__cil_tmp147;
13427#line 864
13428 __cil_tmp149 = (unsigned long )card;
13429#line 864
13430 __cil_tmp150 = __cil_tmp149 + 564;
13431#line 864
13432 __cil_tmp151 = *((u32 *)__cil_tmp150);
13433#line 864
13434 __cil_tmp152 = __cil_tmp151 ^ __cil_tmp148;
13435#line 864
13436 __cil_tmp153 = __cil_tmp152 & 63U;
13437#line 864
13438 if (__cil_tmp153 != 0U) {
13439#line 867
13440 goto ldv_46788;
13441 } else {
13442 {
13443#line 864
13444 __cil_tmp154 = (unsigned long )card;
13445#line 864
13446 __cil_tmp155 = __cil_tmp154 + 564;
13447#line 864
13448 __cil_tmp156 = *((u32 *)__cil_tmp155);
13449#line 864
13450 __cil_tmp157 = (unsigned long )__cil_tmp156;
13451#line 864
13452 __cil_tmp158 = & wrptr;
13453#line 864
13454 __cil_tmp159 = *__cil_tmp158;
13455#line 864
13456 __cil_tmp160 = (unsigned long )__cil_tmp159;
13457#line 864
13458 __cil_tmp161 = __cil_tmp160 ^ __cil_tmp157;
13459#line 864
13460 __cil_tmp162 = __cil_tmp161 & 128UL;
13461#line 864
13462 if (__cil_tmp162 == 0UL) {
13463#line 867
13464 goto ldv_46788;
13465 } else {
13466#line 869
13467 goto ldv_46790;
13468 }
13469 }
13470 }
13471 }
13472 ldv_46790: ;
13473 done: ;
13474#line 922
13475 if (ret != 0) {
13476 {
13477#line 922
13478 __cil_tmp163 = (struct sk_buff *)0;
13479#line 922
13480 __cil_tmp164 = (unsigned long )__cil_tmp163;
13481#line 922
13482 __cil_tmp165 = (unsigned long )skb_tmp;
13483#line 922
13484 if (__cil_tmp165 != __cil_tmp164) {
13485 {
13486#line 923
13487 dev_kfree_skb_any(skb_tmp);
13488 }
13489 } else {
13490
13491 }
13492 }
13493 } else {
13494
13495 }
13496#line 924
13497 return (ret);
13498}
13499}
13500#line 931 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
13501static int mwifiex_pcie_send_boot_cmd(struct mwifiex_adapter *adapter , struct sk_buff *skb )
13502{ phys_addr_t *buf_pa ;
13503 phys_addr_t *tmp ;
13504 int tmp___0 ;
13505 int tmp___1 ;
13506 int tmp___2 ;
13507 int tmp___3 ;
13508 unsigned char *__cil_tmp9 ;
13509 unsigned long __cil_tmp10 ;
13510 unsigned long __cil_tmp11 ;
13511 unsigned long __cil_tmp12 ;
13512 unsigned char *__cil_tmp13 ;
13513 unsigned long __cil_tmp14 ;
13514 unsigned long __cil_tmp15 ;
13515 unsigned long __cil_tmp16 ;
13516 struct device *__cil_tmp17 ;
13517 struct device const *__cil_tmp18 ;
13518 unsigned long __cil_tmp19 ;
13519 unsigned long __cil_tmp20 ;
13520 unsigned char *__cil_tmp21 ;
13521 unsigned long __cil_tmp22 ;
13522 unsigned long __cil_tmp23 ;
13523 unsigned int __cil_tmp24 ;
13524 phys_addr_t __cil_tmp25 ;
13525 unsigned int __cil_tmp26 ;
13526 phys_addr_t __cil_tmp27 ;
13527 phys_addr_t __cil_tmp28 ;
13528 unsigned int __cil_tmp29 ;
13529 unsigned long __cil_tmp30 ;
13530 unsigned long __cil_tmp31 ;
13531 unsigned int __cil_tmp32 ;
13532 unsigned long __cil_tmp33 ;
13533 unsigned long __cil_tmp34 ;
13534 struct device *__cil_tmp35 ;
13535 struct device const *__cil_tmp36 ;
13536 unsigned long __cil_tmp37 ;
13537 unsigned long __cil_tmp38 ;
13538 unsigned char *__cil_tmp39 ;
13539 unsigned long __cil_tmp40 ;
13540 unsigned long __cil_tmp41 ;
13541 unsigned int __cil_tmp42 ;
13542 phys_addr_t __cil_tmp43 ;
13543 unsigned int __cil_tmp44 ;
13544 phys_addr_t __cil_tmp45 ;
13545 phys_addr_t __cil_tmp46 ;
13546 unsigned int __cil_tmp47 ;
13547 phys_addr_t __cil_tmp48 ;
13548 unsigned long __cil_tmp49 ;
13549 unsigned long __cil_tmp50 ;
13550 struct device *__cil_tmp51 ;
13551 struct device const *__cil_tmp52 ;
13552 unsigned long __cil_tmp53 ;
13553 unsigned long __cil_tmp54 ;
13554 unsigned char *__cil_tmp55 ;
13555 unsigned long __cil_tmp56 ;
13556 unsigned long __cil_tmp57 ;
13557 unsigned int __cil_tmp58 ;
13558 phys_addr_t __cil_tmp59 ;
13559 unsigned int __cil_tmp60 ;
13560 phys_addr_t __cil_tmp61 ;
13561 phys_addr_t __cil_tmp62 ;
13562 unsigned int __cil_tmp63 ;
13563 phys_addr_t __cil_tmp64 ;
13564 unsigned int __cil_tmp65 ;
13565 unsigned long __cil_tmp66 ;
13566 unsigned long __cil_tmp67 ;
13567 struct device *__cil_tmp68 ;
13568 struct device const *__cil_tmp69 ;
13569 phys_addr_t __cil_tmp70 ;
13570 phys_addr_t __cil_tmp71 ;
13571 unsigned int __cil_tmp72 ;
13572 unsigned long __cil_tmp73 ;
13573 unsigned long __cil_tmp74 ;
13574 struct device *__cil_tmp75 ;
13575 struct device const *__cil_tmp76 ;
13576 unsigned long __cil_tmp77 ;
13577 unsigned long __cil_tmp78 ;
13578 unsigned int __cil_tmp79 ;
13579 unsigned long __cil_tmp80 ;
13580 unsigned long __cil_tmp81 ;
13581 struct device *__cil_tmp82 ;
13582 struct device const *__cil_tmp83 ;
13583 unsigned long __cil_tmp84 ;
13584 unsigned long __cil_tmp85 ;
13585 struct device *__cil_tmp86 ;
13586 struct device const *__cil_tmp87 ;
13587
13588 {
13589 {
13590#line 933
13591 tmp = MWIFIEX_SKB_PACB(skb);
13592#line 933
13593 buf_pa = tmp;
13594 }
13595 {
13596#line 935
13597 __cil_tmp9 = (unsigned char *)0;
13598#line 935
13599 __cil_tmp10 = (unsigned long )__cil_tmp9;
13600#line 935
13601 __cil_tmp11 = (unsigned long )skb;
13602#line 935
13603 __cil_tmp12 = __cil_tmp11 + 224;
13604#line 935
13605 __cil_tmp13 = *((unsigned char **)__cil_tmp12);
13606#line 935
13607 __cil_tmp14 = (unsigned long )__cil_tmp13;
13608#line 935
13609 if (__cil_tmp14 == __cil_tmp10) {
13610 {
13611#line 936
13612 __cil_tmp15 = (unsigned long )adapter;
13613#line 936
13614 __cil_tmp16 = __cil_tmp15 + 72;
13615#line 936
13616 __cil_tmp17 = *((struct device **)__cil_tmp16);
13617#line 936
13618 __cil_tmp18 = (struct device const *)__cil_tmp17;
13619#line 936
13620 __cil_tmp19 = (unsigned long )skb;
13621#line 936
13622 __cil_tmp20 = __cil_tmp19 + 224;
13623#line 936
13624 __cil_tmp21 = *((unsigned char **)__cil_tmp20);
13625#line 936
13626 __cil_tmp22 = (unsigned long )skb;
13627#line 936
13628 __cil_tmp23 = __cil_tmp22 + 104;
13629#line 936
13630 __cil_tmp24 = *((unsigned int *)__cil_tmp23);
13631#line 936
13632 __cil_tmp25 = *buf_pa;
13633#line 936
13634 __cil_tmp26 = (unsigned int )__cil_tmp25;
13635#line 936
13636 __cil_tmp27 = *buf_pa;
13637#line 936
13638 __cil_tmp28 = __cil_tmp27 >> 32;
13639#line 936
13640 __cil_tmp29 = (unsigned int )__cil_tmp28;
13641#line 936
13642 dev_err(__cil_tmp18, "Invalid parameter in %s <%p, %#x:%x, %x>\n", "mwifiex_pcie_send_boot_cmd",
13643 __cil_tmp21, __cil_tmp24, __cil_tmp26, __cil_tmp29);
13644 }
13645#line 940
13646 return (-1);
13647 } else {
13648 {
13649#line 935
13650 __cil_tmp30 = (unsigned long )skb;
13651#line 935
13652 __cil_tmp31 = __cil_tmp30 + 104;
13653#line 935
13654 __cil_tmp32 = *((unsigned int *)__cil_tmp31);
13655#line 935
13656 if (__cil_tmp32 == 0U) {
13657 {
13658#line 936
13659 __cil_tmp33 = (unsigned long )adapter;
13660#line 936
13661 __cil_tmp34 = __cil_tmp33 + 72;
13662#line 936
13663 __cil_tmp35 = *((struct device **)__cil_tmp34);
13664#line 936
13665 __cil_tmp36 = (struct device const *)__cil_tmp35;
13666#line 936
13667 __cil_tmp37 = (unsigned long )skb;
13668#line 936
13669 __cil_tmp38 = __cil_tmp37 + 224;
13670#line 936
13671 __cil_tmp39 = *((unsigned char **)__cil_tmp38);
13672#line 936
13673 __cil_tmp40 = (unsigned long )skb;
13674#line 936
13675 __cil_tmp41 = __cil_tmp40 + 104;
13676#line 936
13677 __cil_tmp42 = *((unsigned int *)__cil_tmp41);
13678#line 936
13679 __cil_tmp43 = *buf_pa;
13680#line 936
13681 __cil_tmp44 = (unsigned int )__cil_tmp43;
13682#line 936
13683 __cil_tmp45 = *buf_pa;
13684#line 936
13685 __cil_tmp46 = __cil_tmp45 >> 32;
13686#line 936
13687 __cil_tmp47 = (unsigned int )__cil_tmp46;
13688#line 936
13689 dev_err(__cil_tmp36, "Invalid parameter in %s <%p, %#x:%x, %x>\n", "mwifiex_pcie_send_boot_cmd",
13690 __cil_tmp39, __cil_tmp42, __cil_tmp44, __cil_tmp47);
13691 }
13692#line 940
13693 return (-1);
13694 } else {
13695 {
13696#line 935
13697 __cil_tmp48 = *buf_pa;
13698#line 935
13699 if (__cil_tmp48 == 0ULL) {
13700 {
13701#line 936
13702 __cil_tmp49 = (unsigned long )adapter;
13703#line 936
13704 __cil_tmp50 = __cil_tmp49 + 72;
13705#line 936
13706 __cil_tmp51 = *((struct device **)__cil_tmp50);
13707#line 936
13708 __cil_tmp52 = (struct device const *)__cil_tmp51;
13709#line 936
13710 __cil_tmp53 = (unsigned long )skb;
13711#line 936
13712 __cil_tmp54 = __cil_tmp53 + 224;
13713#line 936
13714 __cil_tmp55 = *((unsigned char **)__cil_tmp54);
13715#line 936
13716 __cil_tmp56 = (unsigned long )skb;
13717#line 936
13718 __cil_tmp57 = __cil_tmp56 + 104;
13719#line 936
13720 __cil_tmp58 = *((unsigned int *)__cil_tmp57);
13721#line 936
13722 __cil_tmp59 = *buf_pa;
13723#line 936
13724 __cil_tmp60 = (unsigned int )__cil_tmp59;
13725#line 936
13726 __cil_tmp61 = *buf_pa;
13727#line 936
13728 __cil_tmp62 = __cil_tmp61 >> 32;
13729#line 936
13730 __cil_tmp63 = (unsigned int )__cil_tmp62;
13731#line 936
13732 dev_err(__cil_tmp52, "Invalid parameter in %s <%p, %#x:%x, %x>\n", "mwifiex_pcie_send_boot_cmd",
13733 __cil_tmp55, __cil_tmp58, __cil_tmp60, __cil_tmp63);
13734 }
13735#line 940
13736 return (-1);
13737 } else {
13738
13739 }
13740 }
13741 }
13742 }
13743 }
13744 }
13745 {
13746#line 945
13747 __cil_tmp64 = *buf_pa;
13748#line 945
13749 __cil_tmp65 = (unsigned int )__cil_tmp64;
13750#line 945
13751 tmp___0 = mwifiex_write_reg(adapter, 3088, __cil_tmp65);
13752 }
13753#line 945
13754 if (tmp___0 != 0) {
13755 {
13756#line 946
13757 __cil_tmp66 = (unsigned long )adapter;
13758#line 946
13759 __cil_tmp67 = __cil_tmp66 + 72;
13760#line 946
13761 __cil_tmp68 = *((struct device **)__cil_tmp67);
13762#line 946
13763 __cil_tmp69 = (struct device const *)__cil_tmp68;
13764#line 946
13765 dev_err(__cil_tmp69, "%s: failed to write download command to boot code.\n", "mwifiex_pcie_send_boot_cmd");
13766 }
13767#line 949
13768 return (-1);
13769 } else {
13770
13771 }
13772 {
13773#line 954
13774 __cil_tmp70 = *buf_pa;
13775#line 954
13776 __cil_tmp71 = __cil_tmp70 >> 32;
13777#line 954
13778 __cil_tmp72 = (unsigned int )__cil_tmp71;
13779#line 954
13780 tmp___1 = mwifiex_write_reg(adapter, 3092, __cil_tmp72);
13781 }
13782#line 954
13783 if (tmp___1 != 0) {
13784 {
13785#line 956
13786 __cil_tmp73 = (unsigned long )adapter;
13787#line 956
13788 __cil_tmp74 = __cil_tmp73 + 72;
13789#line 956
13790 __cil_tmp75 = *((struct device **)__cil_tmp74);
13791#line 956
13792 __cil_tmp76 = (struct device const *)__cil_tmp75;
13793#line 956
13794 dev_err(__cil_tmp76, "%s: failed to write download command to boot code.\n", "mwifiex_pcie_send_boot_cmd");
13795 }
13796#line 959
13797 return (-1);
13798 } else {
13799
13800 }
13801 {
13802#line 963
13803 __cil_tmp77 = (unsigned long )skb;
13804#line 963
13805 __cil_tmp78 = __cil_tmp77 + 104;
13806#line 963
13807 __cil_tmp79 = *((unsigned int *)__cil_tmp78);
13808#line 963
13809 tmp___2 = mwifiex_write_reg(adapter, 3136, __cil_tmp79);
13810 }
13811#line 963
13812 if (tmp___2 != 0) {
13813 {
13814#line 964
13815 __cil_tmp80 = (unsigned long )adapter;
13816#line 964
13817 __cil_tmp81 = __cil_tmp80 + 72;
13818#line 964
13819 __cil_tmp82 = *((struct device **)__cil_tmp81);
13820#line 964
13821 __cil_tmp83 = (struct device const *)__cil_tmp82;
13822#line 964
13823 dev_err(__cil_tmp83, "%s: failed to write command len to scratch reg 2\n", "mwifiex_pcie_send_boot_cmd");
13824 }
13825#line 967
13826 return (-1);
13827 } else {
13828
13829 }
13830 {
13831#line 971
13832 tmp___3 = mwifiex_write_reg(adapter, 3096, 2U);
13833 }
13834#line 971
13835 if (tmp___3 != 0) {
13836 {
13837#line 973
13838 __cil_tmp84 = (unsigned long )adapter;
13839#line 973
13840 __cil_tmp85 = __cil_tmp84 + 72;
13841#line 973
13842 __cil_tmp86 = *((struct device **)__cil_tmp85);
13843#line 973
13844 __cil_tmp87 = (struct device const *)__cil_tmp86;
13845#line 973
13846 dev_err(__cil_tmp87, "%s: failed to assert door-bell intr\n", "mwifiex_pcie_send_boot_cmd");
13847 }
13848#line 975
13849 return (-1);
13850 } else {
13851
13852 }
13853#line 978
13854 return (0);
13855}
13856}
13857#line 985 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
13858static int mwifiex_pcie_send_cmd(struct mwifiex_adapter *adapter , struct sk_buff *skb )
13859{ struct pcie_service_card *card ;
13860 int ret ;
13861 phys_addr_t *cmd_buf_pa ;
13862 phys_addr_t *cmdrsp_buf_pa ;
13863 size_t __len ;
13864 void *__ret ;
13865 int tmp ;
13866 int tmp___0 ;
13867 int tmp___1 ;
13868 int tmp___2 ;
13869 int tmp___3 ;
13870 int tmp___4 ;
13871 unsigned long __cil_tmp15 ;
13872 unsigned long __cil_tmp16 ;
13873 void *__cil_tmp17 ;
13874 unsigned char *__cil_tmp18 ;
13875 unsigned long __cil_tmp19 ;
13876 unsigned long __cil_tmp20 ;
13877 unsigned long __cil_tmp21 ;
13878 unsigned char *__cil_tmp22 ;
13879 unsigned long __cil_tmp23 ;
13880 unsigned long __cil_tmp24 ;
13881 unsigned long __cil_tmp25 ;
13882 struct device *__cil_tmp26 ;
13883 struct device const *__cil_tmp27 ;
13884 unsigned long __cil_tmp28 ;
13885 unsigned long __cil_tmp29 ;
13886 unsigned char *__cil_tmp30 ;
13887 unsigned long __cil_tmp31 ;
13888 unsigned long __cil_tmp32 ;
13889 unsigned int __cil_tmp33 ;
13890 unsigned long __cil_tmp34 ;
13891 unsigned long __cil_tmp35 ;
13892 unsigned int __cil_tmp36 ;
13893 unsigned long __cil_tmp37 ;
13894 unsigned long __cil_tmp38 ;
13895 struct device *__cil_tmp39 ;
13896 struct device const *__cil_tmp40 ;
13897 unsigned long __cil_tmp41 ;
13898 unsigned long __cil_tmp42 ;
13899 unsigned char *__cil_tmp43 ;
13900 unsigned long __cil_tmp44 ;
13901 unsigned long __cil_tmp45 ;
13902 unsigned int __cil_tmp46 ;
13903 struct sk_buff *__cil_tmp47 ;
13904 unsigned long __cil_tmp48 ;
13905 unsigned long __cil_tmp49 ;
13906 unsigned long __cil_tmp50 ;
13907 struct sk_buff *__cil_tmp51 ;
13908 unsigned long __cil_tmp52 ;
13909 unsigned long __cil_tmp53 ;
13910 unsigned long __cil_tmp54 ;
13911 struct device *__cil_tmp55 ;
13912 struct device const *__cil_tmp56 ;
13913 struct sk_buff *__cil_tmp57 ;
13914 unsigned long __cil_tmp58 ;
13915 unsigned long __cil_tmp59 ;
13916 unsigned long __cil_tmp60 ;
13917 struct sk_buff *__cil_tmp61 ;
13918 unsigned long __cil_tmp62 ;
13919 unsigned long __cil_tmp63 ;
13920 unsigned long __cil_tmp64 ;
13921 struct device *__cil_tmp65 ;
13922 struct device const *__cil_tmp66 ;
13923 unsigned long __cil_tmp67 ;
13924 unsigned long __cil_tmp68 ;
13925 unsigned long __cil_tmp69 ;
13926 unsigned long __cil_tmp70 ;
13927 struct sk_buff *__cil_tmp71 ;
13928 unsigned long __cil_tmp72 ;
13929 unsigned long __cil_tmp73 ;
13930 struct sk_buff *__cil_tmp74 ;
13931 unsigned long __cil_tmp75 ;
13932 unsigned long __cil_tmp76 ;
13933 unsigned int __cil_tmp77 ;
13934 unsigned int __cil_tmp78 ;
13935 unsigned long __cil_tmp79 ;
13936 unsigned long __cil_tmp80 ;
13937 struct sk_buff *__cil_tmp81 ;
13938 unsigned long __cil_tmp82 ;
13939 unsigned long __cil_tmp83 ;
13940 unsigned int __cil_tmp84 ;
13941 unsigned long __cil_tmp85 ;
13942 unsigned long __cil_tmp86 ;
13943 unsigned int __cil_tmp87 ;
13944 unsigned long __cil_tmp88 ;
13945 unsigned long __cil_tmp89 ;
13946 struct sk_buff *__cil_tmp90 ;
13947 unsigned long __cil_tmp91 ;
13948 unsigned long __cil_tmp92 ;
13949 unsigned char *__cil_tmp93 ;
13950 void *__cil_tmp94 ;
13951 unsigned long __cil_tmp95 ;
13952 unsigned long __cil_tmp96 ;
13953 unsigned char *__cil_tmp97 ;
13954 void const *__cil_tmp98 ;
13955 struct sk_buff *__cil_tmp99 ;
13956 unsigned long __cil_tmp100 ;
13957 unsigned long __cil_tmp101 ;
13958 unsigned long __cil_tmp102 ;
13959 struct sk_buff *__cil_tmp103 ;
13960 unsigned long __cil_tmp104 ;
13961 unsigned long __cil_tmp105 ;
13962 unsigned long __cil_tmp106 ;
13963 struct sk_buff *__cil_tmp107 ;
13964 phys_addr_t __cil_tmp108 ;
13965 unsigned int __cil_tmp109 ;
13966 unsigned long __cil_tmp110 ;
13967 unsigned long __cil_tmp111 ;
13968 struct device *__cil_tmp112 ;
13969 struct device const *__cil_tmp113 ;
13970 phys_addr_t __cil_tmp114 ;
13971 phys_addr_t __cil_tmp115 ;
13972 unsigned int __cil_tmp116 ;
13973 unsigned long __cil_tmp117 ;
13974 unsigned long __cil_tmp118 ;
13975 struct device *__cil_tmp119 ;
13976 struct device const *__cil_tmp120 ;
13977 unsigned long __cil_tmp121 ;
13978 unsigned long __cil_tmp122 ;
13979 struct sk_buff *__cil_tmp123 ;
13980 phys_addr_t __cil_tmp124 ;
13981 unsigned int __cil_tmp125 ;
13982 unsigned long __cil_tmp126 ;
13983 unsigned long __cil_tmp127 ;
13984 struct device *__cil_tmp128 ;
13985 struct device const *__cil_tmp129 ;
13986 phys_addr_t __cil_tmp130 ;
13987 phys_addr_t __cil_tmp131 ;
13988 unsigned int __cil_tmp132 ;
13989 unsigned long __cil_tmp133 ;
13990 unsigned long __cil_tmp134 ;
13991 struct device *__cil_tmp135 ;
13992 struct device const *__cil_tmp136 ;
13993 unsigned long __cil_tmp137 ;
13994 unsigned long __cil_tmp138 ;
13995 struct sk_buff *__cil_tmp139 ;
13996 unsigned long __cil_tmp140 ;
13997 unsigned long __cil_tmp141 ;
13998 unsigned int __cil_tmp142 ;
13999 unsigned long __cil_tmp143 ;
14000 unsigned long __cil_tmp144 ;
14001 struct device *__cil_tmp145 ;
14002 struct device const *__cil_tmp146 ;
14003 unsigned long __cil_tmp147 ;
14004 unsigned long __cil_tmp148 ;
14005 struct device *__cil_tmp149 ;
14006 struct device const *__cil_tmp150 ;
14007 unsigned long __cil_tmp151 ;
14008 unsigned long __cil_tmp152 ;
14009
14010 {
14011#line 987
14012 __cil_tmp15 = (unsigned long )adapter;
14013#line 987
14014 __cil_tmp16 = __cil_tmp15 + 184;
14015#line 987
14016 __cil_tmp17 = *((void **)__cil_tmp16);
14017#line 987
14018 card = (struct pcie_service_card *)__cil_tmp17;
14019#line 988
14020 ret = 0;
14021 {
14022#line 992
14023 __cil_tmp18 = (unsigned char *)0;
14024#line 992
14025 __cil_tmp19 = (unsigned long )__cil_tmp18;
14026#line 992
14027 __cil_tmp20 = (unsigned long )skb;
14028#line 992
14029 __cil_tmp21 = __cil_tmp20 + 224;
14030#line 992
14031 __cil_tmp22 = *((unsigned char **)__cil_tmp21);
14032#line 992
14033 __cil_tmp23 = (unsigned long )__cil_tmp22;
14034#line 992
14035 if (__cil_tmp23 == __cil_tmp19) {
14036 {
14037#line 993
14038 __cil_tmp24 = (unsigned long )adapter;
14039#line 993
14040 __cil_tmp25 = __cil_tmp24 + 72;
14041#line 993
14042 __cil_tmp26 = *((struct device **)__cil_tmp25);
14043#line 993
14044 __cil_tmp27 = (struct device const *)__cil_tmp26;
14045#line 993
14046 __cil_tmp28 = (unsigned long )skb;
14047#line 993
14048 __cil_tmp29 = __cil_tmp28 + 224;
14049#line 993
14050 __cil_tmp30 = *((unsigned char **)__cil_tmp29);
14051#line 993
14052 __cil_tmp31 = (unsigned long )skb;
14053#line 993
14054 __cil_tmp32 = __cil_tmp31 + 104;
14055#line 993
14056 __cil_tmp33 = *((unsigned int *)__cil_tmp32);
14057#line 993
14058 dev_err(__cil_tmp27, "Invalid parameter in %s <%p, %#x>\n", "mwifiex_pcie_send_cmd",
14059 __cil_tmp30, __cil_tmp33);
14060 }
14061#line 995
14062 return (-1);
14063 } else {
14064 {
14065#line 992
14066 __cil_tmp34 = (unsigned long )skb;
14067#line 992
14068 __cil_tmp35 = __cil_tmp34 + 104;
14069#line 992
14070 __cil_tmp36 = *((unsigned int *)__cil_tmp35);
14071#line 992
14072 if (__cil_tmp36 == 0U) {
14073 {
14074#line 993
14075 __cil_tmp37 = (unsigned long )adapter;
14076#line 993
14077 __cil_tmp38 = __cil_tmp37 + 72;
14078#line 993
14079 __cil_tmp39 = *((struct device **)__cil_tmp38);
14080#line 993
14081 __cil_tmp40 = (struct device const *)__cil_tmp39;
14082#line 993
14083 __cil_tmp41 = (unsigned long )skb;
14084#line 993
14085 __cil_tmp42 = __cil_tmp41 + 224;
14086#line 993
14087 __cil_tmp43 = *((unsigned char **)__cil_tmp42);
14088#line 993
14089 __cil_tmp44 = (unsigned long )skb;
14090#line 993
14091 __cil_tmp45 = __cil_tmp44 + 104;
14092#line 993
14093 __cil_tmp46 = *((unsigned int *)__cil_tmp45);
14094#line 993
14095 dev_err(__cil_tmp40, "Invalid parameter in %s <%p, %#x>\n", "mwifiex_pcie_send_cmd",
14096 __cil_tmp43, __cil_tmp46);
14097 }
14098#line 995
14099 return (-1);
14100 } else {
14101
14102 }
14103 }
14104 }
14105 }
14106 {
14107#line 999
14108 __cil_tmp47 = (struct sk_buff *)0;
14109#line 999
14110 __cil_tmp48 = (unsigned long )__cil_tmp47;
14111#line 999
14112 __cil_tmp49 = (unsigned long )card;
14113#line 999
14114 __cil_tmp50 = __cil_tmp49 + 1208;
14115#line 999
14116 __cil_tmp51 = *((struct sk_buff **)__cil_tmp50);
14117#line 999
14118 __cil_tmp52 = (unsigned long )__cil_tmp51;
14119#line 999
14120 if (__cil_tmp52 == __cil_tmp48) {
14121 {
14122#line 1000
14123 __cil_tmp53 = (unsigned long )adapter;
14124#line 1000
14125 __cil_tmp54 = __cil_tmp53 + 72;
14126#line 1000
14127 __cil_tmp55 = *((struct device **)__cil_tmp54);
14128#line 1000
14129 __cil_tmp56 = (struct device const *)__cil_tmp55;
14130#line 1000
14131 dev_err(__cil_tmp56, "No response buffer available, send command failed\n");
14132 }
14133#line 1002
14134 return (-16);
14135 } else {
14136
14137 }
14138 }
14139 {
14140#line 1006
14141 __cil_tmp57 = (struct sk_buff *)0;
14142#line 1006
14143 __cil_tmp58 = (unsigned long )__cil_tmp57;
14144#line 1006
14145 __cil_tmp59 = (unsigned long )card;
14146#line 1006
14147 __cil_tmp60 = __cil_tmp59 + 1200;
14148#line 1006
14149 __cil_tmp61 = *((struct sk_buff **)__cil_tmp60);
14150#line 1006
14151 __cil_tmp62 = (unsigned long )__cil_tmp61;
14152#line 1006
14153 if (__cil_tmp62 == __cil_tmp58) {
14154 {
14155#line 1007
14156 __cil_tmp63 = (unsigned long )adapter;
14157#line 1007
14158 __cil_tmp64 = __cil_tmp63 + 72;
14159#line 1007
14160 __cil_tmp65 = *((struct device **)__cil_tmp64);
14161#line 1007
14162 __cil_tmp66 = (struct device const *)__cil_tmp65;
14163#line 1007
14164 dev_err(__cil_tmp66, "Command buffer not available\n");
14165 }
14166#line 1008
14167 return (-16);
14168 } else {
14169
14170 }
14171 }
14172 {
14173#line 1011
14174 __cil_tmp67 = (unsigned long )adapter;
14175#line 1011
14176 __cil_tmp68 = __cil_tmp67 + 3089;
14177#line 1011
14178 *((u8 *)__cil_tmp68) = (u8 )1U;
14179#line 1013
14180 __cil_tmp69 = (unsigned long )card;
14181#line 1013
14182 __cil_tmp70 = __cil_tmp69 + 1200;
14183#line 1013
14184 __cil_tmp71 = *((struct sk_buff **)__cil_tmp70);
14185#line 1013
14186 __cil_tmp72 = (unsigned long )card;
14187#line 1013
14188 __cil_tmp73 = __cil_tmp72 + 1200;
14189#line 1013
14190 __cil_tmp74 = *((struct sk_buff **)__cil_tmp73);
14191#line 1013
14192 __cil_tmp75 = (unsigned long )__cil_tmp74;
14193#line 1013
14194 __cil_tmp76 = __cil_tmp75 + 104;
14195#line 1013
14196 __cil_tmp77 = *((unsigned int *)__cil_tmp76);
14197#line 1013
14198 __cil_tmp78 = 2048U - __cil_tmp77;
14199#line 1013
14200 skb_put(__cil_tmp71, __cil_tmp78);
14201#line 1014
14202 __cil_tmp79 = (unsigned long )card;
14203#line 1014
14204 __cil_tmp80 = __cil_tmp79 + 1200;
14205#line 1014
14206 __cil_tmp81 = *((struct sk_buff **)__cil_tmp80);
14207#line 1014
14208 __cil_tmp82 = (unsigned long )skb;
14209#line 1014
14210 __cil_tmp83 = __cil_tmp82 + 104;
14211#line 1014
14212 __cil_tmp84 = *((unsigned int *)__cil_tmp83);
14213#line 1014
14214 skb_trim(__cil_tmp81, __cil_tmp84);
14215#line 1015
14216 __cil_tmp85 = (unsigned long )skb;
14217#line 1015
14218 __cil_tmp86 = __cil_tmp85 + 104;
14219#line 1015
14220 __cil_tmp87 = *((unsigned int *)__cil_tmp86);
14221#line 1015
14222 __len = (size_t )__cil_tmp87;
14223#line 1015
14224 __cil_tmp88 = (unsigned long )card;
14225#line 1015
14226 __cil_tmp89 = __cil_tmp88 + 1200;
14227#line 1015
14228 __cil_tmp90 = *((struct sk_buff **)__cil_tmp89);
14229#line 1015
14230 __cil_tmp91 = (unsigned long )__cil_tmp90;
14231#line 1015
14232 __cil_tmp92 = __cil_tmp91 + 224;
14233#line 1015
14234 __cil_tmp93 = *((unsigned char **)__cil_tmp92);
14235#line 1015
14236 __cil_tmp94 = (void *)__cil_tmp93;
14237#line 1015
14238 __cil_tmp95 = (unsigned long )skb;
14239#line 1015
14240 __cil_tmp96 = __cil_tmp95 + 224;
14241#line 1015
14242 __cil_tmp97 = *((unsigned char **)__cil_tmp96);
14243#line 1015
14244 __cil_tmp98 = (void const *)__cil_tmp97;
14245#line 1015
14246 __ret = __builtin_memcpy(__cil_tmp94, __cil_tmp98, __len);
14247 }
14248 {
14249#line 1027
14250 __cil_tmp99 = (struct sk_buff *)0;
14251#line 1027
14252 __cil_tmp100 = (unsigned long )__cil_tmp99;
14253#line 1027
14254 __cil_tmp101 = (unsigned long )card;
14255#line 1027
14256 __cil_tmp102 = __cil_tmp101 + 1208;
14257#line 1027
14258 __cil_tmp103 = *((struct sk_buff **)__cil_tmp102);
14259#line 1027
14260 __cil_tmp104 = (unsigned long )__cil_tmp103;
14261#line 1027
14262 if (__cil_tmp104 != __cil_tmp100) {
14263 {
14264#line 1028
14265 __cil_tmp105 = (unsigned long )card;
14266#line 1028
14267 __cil_tmp106 = __cil_tmp105 + 1208;
14268#line 1028
14269 __cil_tmp107 = *((struct sk_buff **)__cil_tmp106);
14270#line 1028
14271 cmdrsp_buf_pa = MWIFIEX_SKB_PACB(__cil_tmp107);
14272#line 1031
14273 __cil_tmp108 = *cmdrsp_buf_pa;
14274#line 1031
14275 __cil_tmp109 = (unsigned int )__cil_tmp108;
14276#line 1031
14277 tmp = mwifiex_write_reg(adapter, 3280, __cil_tmp109);
14278 }
14279#line 1031
14280 if (tmp != 0) {
14281 {
14282#line 1033
14283 __cil_tmp110 = (unsigned long )adapter;
14284#line 1033
14285 __cil_tmp111 = __cil_tmp110 + 72;
14286#line 1033
14287 __cil_tmp112 = *((struct device **)__cil_tmp111);
14288#line 1033
14289 __cil_tmp113 = (struct device const *)__cil_tmp112;
14290#line 1033
14291 dev_err(__cil_tmp113, "Failed to write download cmd to boot code.\n");
14292#line 1035
14293 ret = -1;
14294 }
14295#line 1036
14296 goto done;
14297 } else {
14298
14299 }
14300 {
14301#line 1040
14302 __cil_tmp114 = *cmdrsp_buf_pa;
14303#line 1040
14304 __cil_tmp115 = __cil_tmp114 >> 32;
14305#line 1040
14306 __cil_tmp116 = (unsigned int )__cil_tmp115;
14307#line 1040
14308 tmp___0 = mwifiex_write_reg(adapter, 3284, __cil_tmp116);
14309 }
14310#line 1040
14311 if (tmp___0 != 0) {
14312 {
14313#line 1042
14314 __cil_tmp117 = (unsigned long )adapter;
14315#line 1042
14316 __cil_tmp118 = __cil_tmp117 + 72;
14317#line 1042
14318 __cil_tmp119 = *((struct device **)__cil_tmp118);
14319#line 1042
14320 __cil_tmp120 = (struct device const *)__cil_tmp119;
14321#line 1042
14322 dev_err(__cil_tmp120, "Failed to write download cmd to boot code.\n");
14323#line 1044
14324 ret = -1;
14325 }
14326#line 1045
14327 goto done;
14328 } else {
14329
14330 }
14331 } else {
14332
14333 }
14334 }
14335 {
14336#line 1049
14337 __cil_tmp121 = (unsigned long )card;
14338#line 1049
14339 __cil_tmp122 = __cil_tmp121 + 1200;
14340#line 1049
14341 __cil_tmp123 = *((struct sk_buff **)__cil_tmp122);
14342#line 1049
14343 cmd_buf_pa = MWIFIEX_SKB_PACB(__cil_tmp123);
14344#line 1051
14345 __cil_tmp124 = *cmd_buf_pa;
14346#line 1051
14347 __cil_tmp125 = (unsigned int )__cil_tmp124;
14348#line 1051
14349 tmp___1 = mwifiex_write_reg(adapter, 3088, __cil_tmp125);
14350 }
14351#line 1051
14352 if (tmp___1 != 0) {
14353 {
14354#line 1052
14355 __cil_tmp126 = (unsigned long )adapter;
14356#line 1052
14357 __cil_tmp127 = __cil_tmp126 + 72;
14358#line 1052
14359 __cil_tmp128 = *((struct device **)__cil_tmp127);
14360#line 1052
14361 __cil_tmp129 = (struct device const *)__cil_tmp128;
14362#line 1052
14363 dev_err(__cil_tmp129, "Failed to write download cmd to boot code.\n");
14364#line 1054
14365 ret = -1;
14366 }
14367#line 1055
14368 goto done;
14369 } else {
14370
14371 }
14372 {
14373#line 1058
14374 __cil_tmp130 = *cmd_buf_pa;
14375#line 1058
14376 __cil_tmp131 = __cil_tmp130 >> 32;
14377#line 1058
14378 __cil_tmp132 = (unsigned int )__cil_tmp131;
14379#line 1058
14380 tmp___2 = mwifiex_write_reg(adapter, 3092, __cil_tmp132);
14381 }
14382#line 1058
14383 if (tmp___2 != 0) {
14384 {
14385#line 1060
14386 __cil_tmp133 = (unsigned long )adapter;
14387#line 1060
14388 __cil_tmp134 = __cil_tmp133 + 72;
14389#line 1060
14390 __cil_tmp135 = *((struct device **)__cil_tmp134);
14391#line 1060
14392 __cil_tmp136 = (struct device const *)__cil_tmp135;
14393#line 1060
14394 dev_err(__cil_tmp136, "Failed to write download cmd to boot code.\n");
14395#line 1062
14396 ret = -1;
14397 }
14398#line 1063
14399 goto done;
14400 } else {
14401
14402 }
14403 {
14404#line 1067
14405 __cil_tmp137 = (unsigned long )card;
14406#line 1067
14407 __cil_tmp138 = __cil_tmp137 + 1200;
14408#line 1067
14409 __cil_tmp139 = *((struct sk_buff **)__cil_tmp138);
14410#line 1067
14411 __cil_tmp140 = (unsigned long )__cil_tmp139;
14412#line 1067
14413 __cil_tmp141 = __cil_tmp140 + 104;
14414#line 1067
14415 __cil_tmp142 = *((unsigned int *)__cil_tmp141);
14416#line 1067
14417 tmp___3 = mwifiex_write_reg(adapter, 3136, __cil_tmp142);
14418 }
14419#line 1067
14420 if (tmp___3 != 0) {
14421 {
14422#line 1068
14423 __cil_tmp143 = (unsigned long )adapter;
14424#line 1068
14425 __cil_tmp144 = __cil_tmp143 + 72;
14426#line 1068
14427 __cil_tmp145 = *((struct device **)__cil_tmp144);
14428#line 1068
14429 __cil_tmp146 = (struct device const *)__cil_tmp145;
14430#line 1068
14431 dev_err(__cil_tmp146, "Failed to write cmd len to REG_CMD_SIZE\n");
14432#line 1070
14433 ret = -1;
14434 }
14435#line 1071
14436 goto done;
14437 } else {
14438
14439 }
14440 {
14441#line 1075
14442 tmp___4 = mwifiex_write_reg(adapter, 3096, 2U);
14443 }
14444#line 1075
14445 if (tmp___4 != 0) {
14446 {
14447#line 1077
14448 __cil_tmp147 = (unsigned long )adapter;
14449#line 1077
14450 __cil_tmp148 = __cil_tmp147 + 72;
14451#line 1077
14452 __cil_tmp149 = *((struct device **)__cil_tmp148);
14453#line 1077
14454 __cil_tmp150 = (struct device const *)__cil_tmp149;
14455#line 1077
14456 dev_err(__cil_tmp150, "Failed to assert door-bell intr\n");
14457#line 1079
14458 ret = -1;
14459 }
14460#line 1080
14461 goto done;
14462 } else {
14463
14464 }
14465 done: ;
14466#line 1084
14467 if (ret != 0) {
14468#line 1085
14469 __cil_tmp151 = (unsigned long )adapter;
14470#line 1085
14471 __cil_tmp152 = __cil_tmp151 + 3089;
14472#line 1085
14473 *((u8 *)__cil_tmp152) = (u8 )0U;
14474 } else {
14475
14476 }
14477#line 1087
14478 return (0);
14479}
14480}
14481#line 1093 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
14482static int mwifiex_pcie_process_cmd_complete(struct mwifiex_adapter *adapter )
14483{ struct pcie_service_card *card ;
14484 struct sk_buff *skb ;
14485 int count ;
14486 struct _ddebug descriptor ;
14487 long tmp ;
14488 bool tmp___0 ;
14489 int tmp___1 ;
14490 size_t __len ;
14491 u32 __min1 ;
14492 u32 __min2 ;
14493 u32 tmp___2 ;
14494 void *__ret ;
14495 int tmp___3 ;
14496 int tmp___4 ;
14497 bool tmp___5 ;
14498 unsigned long __cil_tmp17 ;
14499 unsigned long __cil_tmp18 ;
14500 void *__cil_tmp19 ;
14501 unsigned long __cil_tmp20 ;
14502 unsigned long __cil_tmp21 ;
14503 struct _ddebug *__cil_tmp22 ;
14504 unsigned long __cil_tmp23 ;
14505 unsigned long __cil_tmp24 ;
14506 unsigned long __cil_tmp25 ;
14507 unsigned long __cil_tmp26 ;
14508 unsigned long __cil_tmp27 ;
14509 unsigned long __cil_tmp28 ;
14510 unsigned char __cil_tmp29 ;
14511 long __cil_tmp30 ;
14512 long __cil_tmp31 ;
14513 unsigned long __cil_tmp32 ;
14514 unsigned long __cil_tmp33 ;
14515 struct device *__cil_tmp34 ;
14516 struct device const *__cil_tmp35 ;
14517 struct cmd_ctrl_node *__cil_tmp36 ;
14518 unsigned long __cil_tmp37 ;
14519 unsigned long __cil_tmp38 ;
14520 unsigned long __cil_tmp39 ;
14521 struct cmd_ctrl_node *__cil_tmp40 ;
14522 unsigned long __cil_tmp41 ;
14523 unsigned long __cil_tmp42 ;
14524 unsigned long __cil_tmp43 ;
14525 u32 __cil_tmp44 ;
14526 unsigned long __cil_tmp45 ;
14527 unsigned long __cil_tmp46 ;
14528 unsigned char *__cil_tmp47 ;
14529 unsigned long __cil_tmp48 ;
14530 unsigned long __cil_tmp49 ;
14531 unsigned int __cil_tmp50 ;
14532 unsigned long __cil_tmp51 ;
14533 unsigned long __cil_tmp52 ;
14534 struct device *__cil_tmp53 ;
14535 struct device const *__cil_tmp54 ;
14536 unsigned long __cil_tmp55 ;
14537 unsigned long __cil_tmp56 ;
14538 unsigned long __cil_tmp57 ;
14539 unsigned long __cil_tmp58 ;
14540 u8 (*__cil_tmp59)[2312U] ;
14541 void *__cil_tmp60 ;
14542 unsigned long __cil_tmp61 ;
14543 unsigned long __cil_tmp62 ;
14544 unsigned char *__cil_tmp63 ;
14545 void const *__cil_tmp64 ;
14546 unsigned long __cil_tmp65 ;
14547 unsigned long __cil_tmp66 ;
14548 struct cmd_ctrl_node *__cil_tmp67 ;
14549 unsigned long __cil_tmp68 ;
14550 unsigned long __cil_tmp69 ;
14551 unsigned long __cil_tmp70 ;
14552 unsigned long __cil_tmp71 ;
14553 unsigned long __cil_tmp72 ;
14554 unsigned long __cil_tmp73 ;
14555 unsigned long __cil_tmp74 ;
14556 unsigned long __cil_tmp75 ;
14557 struct device *__cil_tmp76 ;
14558 struct device const *__cil_tmp77 ;
14559 unsigned long __cil_tmp78 ;
14560 unsigned long __cil_tmp79 ;
14561 struct device *__cil_tmp80 ;
14562 struct device const *__cil_tmp81 ;
14563
14564 {
14565 {
14566#line 1095
14567 __cil_tmp17 = (unsigned long )adapter;
14568#line 1095
14569 __cil_tmp18 = __cil_tmp17 + 184;
14570#line 1095
14571 __cil_tmp19 = *((void **)__cil_tmp18);
14572#line 1095
14573 card = (struct pcie_service_card *)__cil_tmp19;
14574#line 1096
14575 __cil_tmp20 = (unsigned long )card;
14576#line 1096
14577 __cil_tmp21 = __cil_tmp20 + 1208;
14578#line 1096
14579 skb = *((struct sk_buff **)__cil_tmp21);
14580#line 1097
14581 count = 0;
14582#line 1099
14583 __cil_tmp22 = & descriptor;
14584#line 1099
14585 *((char const **)__cil_tmp22) = "mwifiex_pcie";
14586#line 1099
14587 __cil_tmp23 = (unsigned long )(& descriptor) + 8;
14588#line 1099
14589 *((char const **)__cil_tmp23) = "mwifiex_pcie_process_cmd_complete";
14590#line 1099
14591 __cil_tmp24 = (unsigned long )(& descriptor) + 16;
14592#line 1099
14593 *((char const **)__cil_tmp24) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
14594#line 1099
14595 __cil_tmp25 = (unsigned long )(& descriptor) + 24;
14596#line 1099
14597 *((char const **)__cil_tmp25) = "info: Rx CMD Response\n";
14598#line 1099
14599 __cil_tmp26 = (unsigned long )(& descriptor) + 32;
14600#line 1099
14601 *((unsigned int *)__cil_tmp26) = 1099U;
14602#line 1099
14603 __cil_tmp27 = (unsigned long )(& descriptor) + 35;
14604#line 1099
14605 *((unsigned char *)__cil_tmp27) = (unsigned char)0;
14606#line 1099
14607 __cil_tmp28 = (unsigned long )(& descriptor) + 35;
14608#line 1099
14609 __cil_tmp29 = *((unsigned char *)__cil_tmp28);
14610#line 1099
14611 __cil_tmp30 = (long )__cil_tmp29;
14612#line 1099
14613 __cil_tmp31 = __cil_tmp30 & 1L;
14614#line 1099
14615 tmp = __builtin_expect(__cil_tmp31, 0L);
14616 }
14617#line 1099
14618 if (tmp != 0L) {
14619 {
14620#line 1099
14621 __cil_tmp32 = (unsigned long )adapter;
14622#line 1099
14623 __cil_tmp33 = __cil_tmp32 + 72;
14624#line 1099
14625 __cil_tmp34 = *((struct device **)__cil_tmp33);
14626#line 1099
14627 __cil_tmp35 = (struct device const *)__cil_tmp34;
14628#line 1099
14629 __dynamic_dev_dbg(& descriptor, __cil_tmp35, "info: Rx CMD Response\n");
14630 }
14631 } else {
14632
14633 }
14634 {
14635#line 1101
14636 __cil_tmp36 = (struct cmd_ctrl_node *)0;
14637#line 1101
14638 __cil_tmp37 = (unsigned long )__cil_tmp36;
14639#line 1101
14640 __cil_tmp38 = (unsigned long )adapter;
14641#line 1101
14642 __cil_tmp39 = __cil_tmp38 + 3104;
14643#line 1101
14644 __cil_tmp40 = *((struct cmd_ctrl_node **)__cil_tmp39);
14645#line 1101
14646 __cil_tmp41 = (unsigned long )__cil_tmp40;
14647#line 1101
14648 if (__cil_tmp41 == __cil_tmp37) {
14649 {
14650#line 1102
14651 skb_pull(skb, 4U);
14652 }
14653 {
14654#line 1103
14655 __cil_tmp42 = (unsigned long )adapter;
14656#line 1103
14657 __cil_tmp43 = __cil_tmp42 + 3892;
14658#line 1103
14659 __cil_tmp44 = *((u32 *)__cil_tmp43);
14660#line 1103
14661 if (__cil_tmp44 == 2U) {
14662 {
14663#line 1104
14664 __cil_tmp45 = (unsigned long )skb;
14665#line 1104
14666 __cil_tmp46 = __cil_tmp45 + 224;
14667#line 1104
14668 __cil_tmp47 = *((unsigned char **)__cil_tmp46);
14669#line 1104
14670 __cil_tmp48 = (unsigned long )skb;
14671#line 1104
14672 __cil_tmp49 = __cil_tmp48 + 104;
14673#line 1104
14674 __cil_tmp50 = *((unsigned int *)__cil_tmp49);
14675#line 1104
14676 mwifiex_process_sleep_confirm_resp(adapter, __cil_tmp47, __cil_tmp50);
14677 }
14678#line 1106
14679 goto ldv_46819;
14680 ldv_46818:
14681 {
14682#line 1108
14683 usleep_range(50UL, 60UL);
14684 }
14685 ldv_46819:
14686 {
14687#line 1106
14688 tmp___0 = mwifiex_pcie_ok_to_access_hw(adapter);
14689 }
14690#line 1106
14691 if ((int )tmp___0) {
14692#line 1106
14693 tmp___1 = count;
14694#line 1106
14695 count = count + 1;
14696#line 1106
14697 if (tmp___1 <= 9) {
14698#line 1108
14699 goto ldv_46818;
14700 } else {
14701#line 1110
14702 goto ldv_46820;
14703 }
14704 } else {
14705#line 1110
14706 goto ldv_46820;
14707 }
14708 ldv_46820: ;
14709 } else {
14710 {
14711#line 1110
14712 __cil_tmp51 = (unsigned long )adapter;
14713#line 1110
14714 __cil_tmp52 = __cil_tmp51 + 72;
14715#line 1110
14716 __cil_tmp53 = *((struct device **)__cil_tmp52);
14717#line 1110
14718 __cil_tmp54 = (struct device const *)__cil_tmp53;
14719#line 1110
14720 dev_err(__cil_tmp54, "There is no command but got cmdrsp\n");
14721 }
14722 }
14723 }
14724#line 1113
14725 __min1 = 2048U;
14726#line 1113
14727 __cil_tmp55 = (unsigned long )skb;
14728#line 1113
14729 __cil_tmp56 = __cil_tmp55 + 104;
14730#line 1113
14731 __min2 = *((unsigned int *)__cil_tmp56);
14732#line 1113
14733 if (__min1 < __min2) {
14734#line 1113
14735 tmp___2 = __min1;
14736 } else {
14737#line 1113
14738 tmp___2 = __min2;
14739 }
14740 {
14741#line 1113
14742 __len = (size_t )tmp___2;
14743#line 1113
14744 __cil_tmp57 = (unsigned long )adapter;
14745#line 1113
14746 __cil_tmp58 = __cil_tmp57 + 776;
14747#line 1113
14748 __cil_tmp59 = (u8 (*)[2312U])__cil_tmp58;
14749#line 1113
14750 __cil_tmp60 = (void *)__cil_tmp59;
14751#line 1113
14752 __cil_tmp61 = (unsigned long )skb;
14753#line 1113
14754 __cil_tmp62 = __cil_tmp61 + 224;
14755#line 1113
14756 __cil_tmp63 = *((unsigned char **)__cil_tmp62);
14757#line 1113
14758 __cil_tmp64 = (void const *)__cil_tmp63;
14759#line 1113
14760 __ret = __builtin_memcpy(__cil_tmp60, __cil_tmp64, __len);
14761#line 1115
14762 skb_push(skb, 4U);
14763 }
14764 } else {
14765 {
14766#line 1116
14767 tmp___5 = mwifiex_pcie_ok_to_access_hw(adapter);
14768 }
14769#line 1116
14770 if ((int )tmp___5) {
14771 {
14772#line 1117
14773 skb_pull(skb, 4U);
14774#line 1118
14775 __cil_tmp65 = (unsigned long )adapter;
14776#line 1118
14777 __cil_tmp66 = __cil_tmp65 + 3104;
14778#line 1118
14779 __cil_tmp67 = *((struct cmd_ctrl_node **)__cil_tmp66);
14780#line 1118
14781 __cil_tmp68 = (unsigned long )__cil_tmp67;
14782#line 1118
14783 __cil_tmp69 = __cil_tmp68 + 40;
14784#line 1118
14785 *((struct sk_buff **)__cil_tmp69) = skb;
14786#line 1119
14787 __cil_tmp70 = (unsigned long )adapter;
14788#line 1119
14789 __cil_tmp71 = __cil_tmp70 + 3090;
14790#line 1119
14791 *((u8 *)__cil_tmp71) = (u8 )1U;
14792#line 1122
14793 __cil_tmp72 = (unsigned long )card;
14794#line 1122
14795 __cil_tmp73 = __cil_tmp72 + 1208;
14796#line 1122
14797 *((struct sk_buff **)__cil_tmp73) = (struct sk_buff *)0;
14798#line 1127
14799 tmp___3 = mwifiex_write_reg(adapter, 3280, 0U);
14800 }
14801#line 1127
14802 if (tmp___3 != 0) {
14803 {
14804#line 1128
14805 __cil_tmp74 = (unsigned long )adapter;
14806#line 1128
14807 __cil_tmp75 = __cil_tmp74 + 72;
14808#line 1128
14809 __cil_tmp76 = *((struct device **)__cil_tmp75);
14810#line 1128
14811 __cil_tmp77 = (struct device const *)__cil_tmp76;
14812#line 1128
14813 dev_err(__cil_tmp77, "cmd_done: failed to clear cmd_rsp_addr_lo\n");
14814 }
14815#line 1130
14816 return (-1);
14817 } else {
14818
14819 }
14820 {
14821#line 1134
14822 tmp___4 = mwifiex_write_reg(adapter, 3284, 0U);
14823 }
14824#line 1134
14825 if (tmp___4 != 0) {
14826 {
14827#line 1135
14828 __cil_tmp78 = (unsigned long )adapter;
14829#line 1135
14830 __cil_tmp79 = __cil_tmp78 + 72;
14831#line 1135
14832 __cil_tmp80 = *((struct device **)__cil_tmp79);
14833#line 1135
14834 __cil_tmp81 = (struct device const *)__cil_tmp80;
14835#line 1135
14836 dev_err(__cil_tmp81, "cmd_done: failed to clear cmd_rsp_addr_hi\n");
14837 }
14838#line 1137
14839 return (-1);
14840 } else {
14841
14842 }
14843 } else {
14844
14845 }
14846 }
14847 }
14848#line 1141
14849 return (0);
14850}
14851}
14852#line 1147 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
14853static int mwifiex_pcie_cmdrsp_complete(struct mwifiex_adapter *adapter , struct sk_buff *skb )
14854{ struct pcie_service_card *card ;
14855 unsigned long __cil_tmp4 ;
14856 unsigned long __cil_tmp5 ;
14857 void *__cil_tmp6 ;
14858 struct sk_buff *__cil_tmp7 ;
14859 unsigned long __cil_tmp8 ;
14860 unsigned long __cil_tmp9 ;
14861 unsigned long __cil_tmp10 ;
14862 unsigned long __cil_tmp11 ;
14863 unsigned long __cil_tmp12 ;
14864 unsigned long __cil_tmp13 ;
14865 struct sk_buff *__cil_tmp14 ;
14866
14867 {
14868#line 1150
14869 __cil_tmp4 = (unsigned long )adapter;
14870#line 1150
14871 __cil_tmp5 = __cil_tmp4 + 184;
14872#line 1150
14873 __cil_tmp6 = *((void **)__cil_tmp5);
14874#line 1150
14875 card = (struct pcie_service_card *)__cil_tmp6;
14876 {
14877#line 1152
14878 __cil_tmp7 = (struct sk_buff *)0;
14879#line 1152
14880 __cil_tmp8 = (unsigned long )__cil_tmp7;
14881#line 1152
14882 __cil_tmp9 = (unsigned long )skb;
14883#line 1152
14884 if (__cil_tmp9 != __cil_tmp8) {
14885 {
14886#line 1153
14887 __cil_tmp10 = (unsigned long )card;
14888#line 1153
14889 __cil_tmp11 = __cil_tmp10 + 1208;
14890#line 1153
14891 *((struct sk_buff **)__cil_tmp11) = skb;
14892#line 1154
14893 __cil_tmp12 = (unsigned long )card;
14894#line 1154
14895 __cil_tmp13 = __cil_tmp12 + 1208;
14896#line 1154
14897 __cil_tmp14 = *((struct sk_buff **)__cil_tmp13);
14898#line 1154
14899 skb_push(__cil_tmp14, 4U);
14900 }
14901 } else {
14902
14903 }
14904 }
14905#line 1157
14906 return (0);
14907}
14908}
14909#line 1163 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
14910static int mwifiex_pcie_process_event_ready(struct mwifiex_adapter *adapter )
14911{ struct pcie_service_card *card ;
14912 u32 rdptr ;
14913 u32 wrptr ;
14914 u32 event ;
14915 struct _ddebug descriptor ;
14916 long tmp ;
14917 struct _ddebug descriptor___0 ;
14918 long tmp___0 ;
14919 int tmp___1 ;
14920 struct _ddebug descriptor___1 ;
14921 long tmp___2 ;
14922 struct sk_buff *skb_cmd ;
14923 __le16 data_len ;
14924 u16 evt_len ;
14925 struct _ddebug descriptor___2 ;
14926 long tmp___3 ;
14927 size_t __len ;
14928 void *__ret ;
14929 struct _ddebug descriptor___3 ;
14930 long tmp___4 ;
14931 size_t __len___0 ;
14932 void *__ret___0 ;
14933 unsigned long __cil_tmp24 ;
14934 unsigned long __cil_tmp25 ;
14935 void *__cil_tmp26 ;
14936 unsigned long __cil_tmp27 ;
14937 unsigned long __cil_tmp28 ;
14938 u32 __cil_tmp29 ;
14939 unsigned long __cil_tmp30 ;
14940 unsigned long __cil_tmp31 ;
14941 u8 __cil_tmp32 ;
14942 unsigned int __cil_tmp33 ;
14943 struct _ddebug *__cil_tmp34 ;
14944 unsigned long __cil_tmp35 ;
14945 unsigned long __cil_tmp36 ;
14946 unsigned long __cil_tmp37 ;
14947 unsigned long __cil_tmp38 ;
14948 unsigned long __cil_tmp39 ;
14949 unsigned long __cil_tmp40 ;
14950 unsigned char __cil_tmp41 ;
14951 long __cil_tmp42 ;
14952 long __cil_tmp43 ;
14953 unsigned long __cil_tmp44 ;
14954 unsigned long __cil_tmp45 ;
14955 struct device *__cil_tmp46 ;
14956 struct device const *__cil_tmp47 ;
14957 struct _ddebug *__cil_tmp48 ;
14958 unsigned long __cil_tmp49 ;
14959 unsigned long __cil_tmp50 ;
14960 unsigned long __cil_tmp51 ;
14961 unsigned long __cil_tmp52 ;
14962 unsigned long __cil_tmp53 ;
14963 unsigned long __cil_tmp54 ;
14964 unsigned char __cil_tmp55 ;
14965 long __cil_tmp56 ;
14966 long __cil_tmp57 ;
14967 unsigned long __cil_tmp58 ;
14968 unsigned long __cil_tmp59 ;
14969 struct device *__cil_tmp60 ;
14970 struct device const *__cil_tmp61 ;
14971 unsigned long __cil_tmp62 ;
14972 unsigned long __cil_tmp63 ;
14973 struct device *__cil_tmp64 ;
14974 struct device const *__cil_tmp65 ;
14975 struct _ddebug *__cil_tmp66 ;
14976 unsigned long __cil_tmp67 ;
14977 unsigned long __cil_tmp68 ;
14978 unsigned long __cil_tmp69 ;
14979 unsigned long __cil_tmp70 ;
14980 unsigned long __cil_tmp71 ;
14981 unsigned long __cil_tmp72 ;
14982 unsigned char __cil_tmp73 ;
14983 long __cil_tmp74 ;
14984 long __cil_tmp75 ;
14985 unsigned long __cil_tmp76 ;
14986 unsigned long __cil_tmp77 ;
14987 struct device *__cil_tmp78 ;
14988 struct device const *__cil_tmp79 ;
14989 unsigned long __cil_tmp80 ;
14990 unsigned long __cil_tmp81 ;
14991 u32 __cil_tmp82 ;
14992 u32 *__cil_tmp83 ;
14993 u32 __cil_tmp84 ;
14994 u32 *__cil_tmp85 ;
14995 u32 __cil_tmp86 ;
14996 unsigned long __cil_tmp87 ;
14997 unsigned long __cil_tmp88 ;
14998 u32 __cil_tmp89 ;
14999 unsigned int __cil_tmp90 ;
15000 unsigned int __cil_tmp91 ;
15001 unsigned long __cil_tmp92 ;
15002 unsigned long __cil_tmp93 ;
15003 u32 __cil_tmp94 ;
15004 unsigned long __cil_tmp95 ;
15005 u32 *__cil_tmp96 ;
15006 u32 __cil_tmp97 ;
15007 unsigned long __cil_tmp98 ;
15008 unsigned long __cil_tmp99 ;
15009 unsigned long __cil_tmp100 ;
15010 __le16 *__cil_tmp101 ;
15011 struct _ddebug *__cil_tmp102 ;
15012 unsigned long __cil_tmp103 ;
15013 unsigned long __cil_tmp104 ;
15014 unsigned long __cil_tmp105 ;
15015 unsigned long __cil_tmp106 ;
15016 unsigned long __cil_tmp107 ;
15017 unsigned long __cil_tmp108 ;
15018 unsigned char __cil_tmp109 ;
15019 long __cil_tmp110 ;
15020 long __cil_tmp111 ;
15021 unsigned long __cil_tmp112 ;
15022 unsigned long __cil_tmp113 ;
15023 struct device *__cil_tmp114 ;
15024 struct device const *__cil_tmp115 ;
15025 unsigned long __cil_tmp116 ;
15026 unsigned long __cil_tmp117 ;
15027 unsigned long __cil_tmp118 ;
15028 unsigned long __cil_tmp119 ;
15029 unsigned long __cil_tmp120 ;
15030 unsigned long __cil_tmp121 ;
15031 unsigned long __cil_tmp122 ;
15032 unsigned long __cil_tmp123 ;
15033 unsigned long __cil_tmp124 ;
15034 unsigned long __cil_tmp125 ;
15035 unsigned long __cil_tmp126 ;
15036 unsigned long __cil_tmp127 ;
15037 struct mwifiex_pcie_buf_desc *__cil_tmp128 ;
15038 unsigned long __cil_tmp129 ;
15039 unsigned long __cil_tmp130 ;
15040 unsigned long __cil_tmp131 ;
15041 unsigned long __cil_tmp132 ;
15042 struct mwifiex_pcie_buf_desc *__cil_tmp133 ;
15043 unsigned long __cil_tmp134 ;
15044 unsigned long __cil_tmp135 ;
15045 unsigned long __cil_tmp136 ;
15046 unsigned long __cil_tmp137 ;
15047 unsigned long __cil_tmp138 ;
15048 unsigned long __cil_tmp139 ;
15049 struct mwifiex_pcie_buf_desc *__cil_tmp140 ;
15050 unsigned long __cil_tmp141 ;
15051 unsigned long __cil_tmp142 ;
15052 unsigned long __cil_tmp143 ;
15053 unsigned long __cil_tmp144 ;
15054 unsigned char *__cil_tmp145 ;
15055 u32 *__cil_tmp146 ;
15056 u32 *__cil_tmp147 ;
15057 unsigned long __cil_tmp148 ;
15058 unsigned long __cil_tmp149 ;
15059 void *__cil_tmp150 ;
15060 unsigned long __cil_tmp151 ;
15061 unsigned long __cil_tmp152 ;
15062 unsigned char *__cil_tmp153 ;
15063 void const *__cil_tmp154 ;
15064 void *__cil_tmp155 ;
15065 unsigned long __cil_tmp156 ;
15066 unsigned long __cil_tmp157 ;
15067 unsigned char *__cil_tmp158 ;
15068 void const *__cil_tmp159 ;
15069 __le16 *__cil_tmp160 ;
15070 struct _ddebug *__cil_tmp161 ;
15071 unsigned long __cil_tmp162 ;
15072 unsigned long __cil_tmp163 ;
15073 unsigned long __cil_tmp164 ;
15074 unsigned long __cil_tmp165 ;
15075 unsigned long __cil_tmp166 ;
15076 unsigned long __cil_tmp167 ;
15077 unsigned char __cil_tmp168 ;
15078 long __cil_tmp169 ;
15079 long __cil_tmp170 ;
15080 unsigned long __cil_tmp171 ;
15081 unsigned long __cil_tmp172 ;
15082 struct device *__cil_tmp173 ;
15083 struct device const *__cil_tmp174 ;
15084 int __cil_tmp175 ;
15085 unsigned int __cil_tmp176 ;
15086 unsigned int __cil_tmp177 ;
15087 int __cil_tmp178 ;
15088 int __cil_tmp179 ;
15089 unsigned long __cil_tmp180 ;
15090 unsigned long __cil_tmp181 ;
15091 u8 (*__cil_tmp182)[1024U] ;
15092 void *__cil_tmp183 ;
15093 unsigned long __cil_tmp184 ;
15094 unsigned long __cil_tmp185 ;
15095 unsigned char *__cil_tmp186 ;
15096 void const *__cil_tmp187 ;
15097 void const *__cil_tmp188 ;
15098 unsigned long __cil_tmp189 ;
15099 unsigned long __cil_tmp190 ;
15100 unsigned long __cil_tmp191 ;
15101 unsigned long __cil_tmp192 ;
15102
15103 {
15104#line 1165
15105 __cil_tmp24 = (unsigned long )adapter;
15106#line 1165
15107 __cil_tmp25 = __cil_tmp24 + 184;
15108#line 1165
15109 __cil_tmp26 = *((void **)__cil_tmp25);
15110#line 1165
15111 card = (struct pcie_service_card *)__cil_tmp26;
15112#line 1166
15113 __cil_tmp27 = (unsigned long )card;
15114#line 1166
15115 __cil_tmp28 = __cil_tmp27 + 1108;
15116#line 1166
15117 __cil_tmp29 = *((u32 *)__cil_tmp28);
15118#line 1166
15119 rdptr = __cil_tmp29 & 7U;
15120 {
15121#line 1169
15122 __cil_tmp30 = (unsigned long )adapter;
15123#line 1169
15124 __cil_tmp31 = __cil_tmp30 + 3091;
15125#line 1169
15126 __cil_tmp32 = *((u8 *)__cil_tmp31);
15127#line 1169
15128 __cil_tmp33 = (unsigned int )__cil_tmp32;
15129#line 1169
15130 if (__cil_tmp33 != 0U) {
15131 {
15132#line 1170
15133 __cil_tmp34 = & descriptor;
15134#line 1170
15135 *((char const **)__cil_tmp34) = "mwifiex_pcie";
15136#line 1170
15137 __cil_tmp35 = (unsigned long )(& descriptor) + 8;
15138#line 1170
15139 *((char const **)__cil_tmp35) = "mwifiex_pcie_process_event_ready";
15140#line 1170
15141 __cil_tmp36 = (unsigned long )(& descriptor) + 16;
15142#line 1170
15143 *((char const **)__cil_tmp36) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
15144#line 1170
15145 __cil_tmp37 = (unsigned long )(& descriptor) + 24;
15146#line 1170
15147 *((char const **)__cil_tmp37) = "info: Event being processed, do not process this interrupt just yet\n";
15148#line 1170
15149 __cil_tmp38 = (unsigned long )(& descriptor) + 32;
15150#line 1170
15151 *((unsigned int *)__cil_tmp38) = 1171U;
15152#line 1170
15153 __cil_tmp39 = (unsigned long )(& descriptor) + 35;
15154#line 1170
15155 *((unsigned char *)__cil_tmp39) = (unsigned char)0;
15156#line 1170
15157 __cil_tmp40 = (unsigned long )(& descriptor) + 35;
15158#line 1170
15159 __cil_tmp41 = *((unsigned char *)__cil_tmp40);
15160#line 1170
15161 __cil_tmp42 = (long )__cil_tmp41;
15162#line 1170
15163 __cil_tmp43 = __cil_tmp42 & 1L;
15164#line 1170
15165 tmp = __builtin_expect(__cil_tmp43, 0L);
15166 }
15167#line 1170
15168 if (tmp != 0L) {
15169 {
15170#line 1170
15171 __cil_tmp44 = (unsigned long )adapter;
15172#line 1170
15173 __cil_tmp45 = __cil_tmp44 + 72;
15174#line 1170
15175 __cil_tmp46 = *((struct device **)__cil_tmp45);
15176#line 1170
15177 __cil_tmp47 = (struct device const *)__cil_tmp46;
15178#line 1170
15179 __dynamic_dev_dbg(& descriptor, __cil_tmp47, "info: Event being processed, do not process this interrupt just yet\n");
15180 }
15181 } else {
15182
15183 }
15184#line 1172
15185 return (0);
15186 } else {
15187
15188 }
15189 }
15190#line 1175
15191 if (rdptr > 3U) {
15192 {
15193#line 1176
15194 __cil_tmp48 = & descriptor___0;
15195#line 1176
15196 *((char const **)__cil_tmp48) = "mwifiex_pcie";
15197#line 1176
15198 __cil_tmp49 = (unsigned long )(& descriptor___0) + 8;
15199#line 1176
15200 *((char const **)__cil_tmp49) = "mwifiex_pcie_process_event_ready";
15201#line 1176
15202 __cil_tmp50 = (unsigned long )(& descriptor___0) + 16;
15203#line 1176
15204 *((char const **)__cil_tmp50) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
15205#line 1176
15206 __cil_tmp51 = (unsigned long )(& descriptor___0) + 24;
15207#line 1176
15208 *((char const **)__cil_tmp51) = "info: Invalid read pointer...\n";
15209#line 1176
15210 __cil_tmp52 = (unsigned long )(& descriptor___0) + 32;
15211#line 1176
15212 *((unsigned int *)__cil_tmp52) = 1176U;
15213#line 1176
15214 __cil_tmp53 = (unsigned long )(& descriptor___0) + 35;
15215#line 1176
15216 *((unsigned char *)__cil_tmp53) = (unsigned char)0;
15217#line 1176
15218 __cil_tmp54 = (unsigned long )(& descriptor___0) + 35;
15219#line 1176
15220 __cil_tmp55 = *((unsigned char *)__cil_tmp54);
15221#line 1176
15222 __cil_tmp56 = (long )__cil_tmp55;
15223#line 1176
15224 __cil_tmp57 = __cil_tmp56 & 1L;
15225#line 1176
15226 tmp___0 = __builtin_expect(__cil_tmp57, 0L);
15227 }
15228#line 1176
15229 if (tmp___0 != 0L) {
15230 {
15231#line 1176
15232 __cil_tmp58 = (unsigned long )adapter;
15233#line 1176
15234 __cil_tmp59 = __cil_tmp58 + 72;
15235#line 1176
15236 __cil_tmp60 = *((struct device **)__cil_tmp59);
15237#line 1176
15238 __cil_tmp61 = (struct device const *)__cil_tmp60;
15239#line 1176
15240 __dynamic_dev_dbg(& descriptor___0, __cil_tmp61, "info: Invalid read pointer...\n");
15241 }
15242 } else {
15243
15244 }
15245#line 1177
15246 return (-1);
15247 } else {
15248
15249 }
15250 {
15251#line 1181
15252 tmp___1 = mwifiex_read_reg(adapter, 3308, & wrptr);
15253 }
15254#line 1181
15255 if (tmp___1 != 0) {
15256 {
15257#line 1182
15258 __cil_tmp62 = (unsigned long )adapter;
15259#line 1182
15260 __cil_tmp63 = __cil_tmp62 + 72;
15261#line 1182
15262 __cil_tmp64 = *((struct device **)__cil_tmp63);
15263#line 1182
15264 __cil_tmp65 = (struct device const *)__cil_tmp64;
15265#line 1182
15266 dev_err(__cil_tmp65, "EventReady: failed to read REG_EVTBD_WRPTR\n");
15267 }
15268#line 1184
15269 return (-1);
15270 } else {
15271
15272 }
15273 {
15274#line 1187
15275 __cil_tmp66 = & descriptor___1;
15276#line 1187
15277 *((char const **)__cil_tmp66) = "mwifiex_pcie";
15278#line 1187
15279 __cil_tmp67 = (unsigned long )(& descriptor___1) + 8;
15280#line 1187
15281 *((char const **)__cil_tmp67) = "mwifiex_pcie_process_event_ready";
15282#line 1187
15283 __cil_tmp68 = (unsigned long )(& descriptor___1) + 16;
15284#line 1187
15285 *((char const **)__cil_tmp68) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
15286#line 1187
15287 __cil_tmp69 = (unsigned long )(& descriptor___1) + 24;
15288#line 1187
15289 *((char const **)__cil_tmp69) = "info: EventReady: Initial <Rd: 0x%x, Wr: 0x%x>";
15290#line 1187
15291 __cil_tmp70 = (unsigned long )(& descriptor___1) + 32;
15292#line 1187
15293 *((unsigned int *)__cil_tmp70) = 1188U;
15294#line 1187
15295 __cil_tmp71 = (unsigned long )(& descriptor___1) + 35;
15296#line 1187
15297 *((unsigned char *)__cil_tmp71) = (unsigned char)0;
15298#line 1187
15299 __cil_tmp72 = (unsigned long )(& descriptor___1) + 35;
15300#line 1187
15301 __cil_tmp73 = *((unsigned char *)__cil_tmp72);
15302#line 1187
15303 __cil_tmp74 = (long )__cil_tmp73;
15304#line 1187
15305 __cil_tmp75 = __cil_tmp74 & 1L;
15306#line 1187
15307 tmp___2 = __builtin_expect(__cil_tmp75, 0L);
15308 }
15309#line 1187
15310 if (tmp___2 != 0L) {
15311 {
15312#line 1187
15313 __cil_tmp76 = (unsigned long )adapter;
15314#line 1187
15315 __cil_tmp77 = __cil_tmp76 + 72;
15316#line 1187
15317 __cil_tmp78 = *((struct device **)__cil_tmp77);
15318#line 1187
15319 __cil_tmp79 = (struct device const *)__cil_tmp78;
15320#line 1187
15321 __cil_tmp80 = (unsigned long )card;
15322#line 1187
15323 __cil_tmp81 = __cil_tmp80 + 1108;
15324#line 1187
15325 __cil_tmp82 = *((u32 *)__cil_tmp81);
15326#line 1187
15327 __cil_tmp83 = & wrptr;
15328#line 1187
15329 __cil_tmp84 = *__cil_tmp83;
15330#line 1187
15331 __dynamic_dev_dbg(& descriptor___1, __cil_tmp79, "info: EventReady: Initial <Rd: 0x%x, Wr: 0x%x>",
15332 __cil_tmp82, __cil_tmp84);
15333 }
15334 } else {
15335
15336 }
15337 {
15338#line 1189
15339 __cil_tmp85 = & wrptr;
15340#line 1189
15341 __cil_tmp86 = *__cil_tmp85;
15342#line 1189
15343 __cil_tmp87 = (unsigned long )card;
15344#line 1189
15345 __cil_tmp88 = __cil_tmp87 + 1108;
15346#line 1189
15347 __cil_tmp89 = *((u32 *)__cil_tmp88);
15348#line 1189
15349 __cil_tmp90 = __cil_tmp89 ^ __cil_tmp86;
15350#line 1189
15351 __cil_tmp91 = __cil_tmp90 & 7U;
15352#line 1189
15353 if (__cil_tmp91 != 0U) {
15354#line 1189
15355 goto _L;
15356 } else {
15357 {
15358#line 1189
15359 __cil_tmp92 = (unsigned long )card;
15360#line 1189
15361 __cil_tmp93 = __cil_tmp92 + 1108;
15362#line 1189
15363 __cil_tmp94 = *((u32 *)__cil_tmp93);
15364#line 1189
15365 __cil_tmp95 = (unsigned long )__cil_tmp94;
15366#line 1189
15367 __cil_tmp96 = & wrptr;
15368#line 1189
15369 __cil_tmp97 = *__cil_tmp96;
15370#line 1189
15371 __cil_tmp98 = (unsigned long )__cil_tmp97;
15372#line 1189
15373 __cil_tmp99 = __cil_tmp98 ^ __cil_tmp95;
15374#line 1189
15375 __cil_tmp100 = __cil_tmp99 & 128UL;
15376#line 1189
15377 if (__cil_tmp100 == 0UL) {
15378 _L:
15379 {
15380#line 1194
15381 __cil_tmp101 = & data_len;
15382#line 1194
15383 *__cil_tmp101 = (__le16 )0U;
15384#line 1197
15385 __cil_tmp102 = & descriptor___2;
15386#line 1197
15387 *((char const **)__cil_tmp102) = "mwifiex_pcie";
15388#line 1197
15389 __cil_tmp103 = (unsigned long )(& descriptor___2) + 8;
15390#line 1197
15391 *((char const **)__cil_tmp103) = "mwifiex_pcie_process_event_ready";
15392#line 1197
15393 __cil_tmp104 = (unsigned long )(& descriptor___2) + 16;
15394#line 1197
15395 *((char const **)__cil_tmp104) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
15396#line 1197
15397 __cil_tmp105 = (unsigned long )(& descriptor___2) + 24;
15398#line 1197
15399 *((char const **)__cil_tmp105) = "info: Read Index: %d\n";
15400#line 1197
15401 __cil_tmp106 = (unsigned long )(& descriptor___2) + 32;
15402#line 1197
15403 *((unsigned int *)__cil_tmp106) = 1197U;
15404#line 1197
15405 __cil_tmp107 = (unsigned long )(& descriptor___2) + 35;
15406#line 1197
15407 *((unsigned char *)__cil_tmp107) = (unsigned char)0;
15408#line 1197
15409 __cil_tmp108 = (unsigned long )(& descriptor___2) + 35;
15410#line 1197
15411 __cil_tmp109 = *((unsigned char *)__cil_tmp108);
15412#line 1197
15413 __cil_tmp110 = (long )__cil_tmp109;
15414#line 1197
15415 __cil_tmp111 = __cil_tmp110 & 1L;
15416#line 1197
15417 tmp___3 = __builtin_expect(__cil_tmp111, 0L);
15418 }
15419#line 1197
15420 if (tmp___3 != 0L) {
15421 {
15422#line 1197
15423 __cil_tmp112 = (unsigned long )adapter;
15424#line 1197
15425 __cil_tmp113 = __cil_tmp112 + 72;
15426#line 1197
15427 __cil_tmp114 = *((struct device **)__cil_tmp113);
15428#line 1197
15429 __cil_tmp115 = (struct device const *)__cil_tmp114;
15430#line 1197
15431 __dynamic_dev_dbg(& descriptor___2, __cil_tmp115, "info: Read Index: %d\n",
15432 rdptr);
15433 }
15434 } else {
15435
15436 }
15437#line 1198
15438 __cil_tmp116 = rdptr * 8UL;
15439#line 1198
15440 __cil_tmp117 = 1168 + __cil_tmp116;
15441#line 1198
15442 __cil_tmp118 = (unsigned long )card;
15443#line 1198
15444 __cil_tmp119 = __cil_tmp118 + __cil_tmp117;
15445#line 1198
15446 skb_cmd = *((struct sk_buff **)__cil_tmp119);
15447#line 1201
15448 __cil_tmp120 = rdptr * 8UL;
15449#line 1201
15450 __cil_tmp121 = 1168 + __cil_tmp120;
15451#line 1201
15452 __cil_tmp122 = (unsigned long )card;
15453#line 1201
15454 __cil_tmp123 = __cil_tmp122 + __cil_tmp121;
15455#line 1201
15456 *((struct sk_buff **)__cil_tmp123) = (struct sk_buff *)0;
15457#line 1202
15458 __cil_tmp124 = rdptr * 8UL;
15459#line 1202
15460 __cil_tmp125 = 1136 + __cil_tmp124;
15461#line 1202
15462 __cil_tmp126 = (unsigned long )card;
15463#line 1202
15464 __cil_tmp127 = __cil_tmp126 + __cil_tmp125;
15465#line 1202
15466 __cil_tmp128 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp127);
15467#line 1202
15468 *((u64 *)__cil_tmp128) = 0ULL;
15469#line 1203
15470 __cil_tmp129 = rdptr * 8UL;
15471#line 1203
15472 __cil_tmp130 = 1136 + __cil_tmp129;
15473#line 1203
15474 __cil_tmp131 = (unsigned long )card;
15475#line 1203
15476 __cil_tmp132 = __cil_tmp131 + __cil_tmp130;
15477#line 1203
15478 __cil_tmp133 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp132);
15479#line 1203
15480 __cil_tmp134 = (unsigned long )__cil_tmp133;
15481#line 1203
15482 __cil_tmp135 = __cil_tmp134 + 8;
15483#line 1203
15484 *((u16 *)__cil_tmp135) = (u16 )0U;
15485#line 1204
15486 __cil_tmp136 = rdptr * 8UL;
15487#line 1204
15488 __cil_tmp137 = 1136 + __cil_tmp136;
15489#line 1204
15490 __cil_tmp138 = (unsigned long )card;
15491#line 1204
15492 __cil_tmp139 = __cil_tmp138 + __cil_tmp137;
15493#line 1204
15494 __cil_tmp140 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp139);
15495#line 1204
15496 __cil_tmp141 = (unsigned long )__cil_tmp140;
15497#line 1204
15498 __cil_tmp142 = __cil_tmp141 + 10;
15499#line 1204
15500 *((u16 *)__cil_tmp142) = (u16 )0U;
15501#line 1206
15502 __cil_tmp143 = (unsigned long )skb_cmd;
15503#line 1206
15504 __cil_tmp144 = __cil_tmp143 + 224;
15505#line 1206
15506 __cil_tmp145 = *((unsigned char **)__cil_tmp144);
15507#line 1206
15508 __cil_tmp146 = (u32 *)__cil_tmp145;
15509#line 1206
15510 __cil_tmp147 = __cil_tmp146 + 4U;
15511#line 1206
15512 event = *__cil_tmp147;
15513#line 1207
15514 __cil_tmp148 = (unsigned long )adapter;
15515#line 1207
15516 __cil_tmp149 = __cil_tmp148 + 764;
15517#line 1207
15518 *((u32 *)__cil_tmp149) = event;
15519#line 1210
15520 __len = 2UL;
15521#line 1210
15522 if (__len > 63UL) {
15523 {
15524#line 1210
15525 __cil_tmp150 = (void *)(& data_len);
15526#line 1210
15527 __cil_tmp151 = (unsigned long )skb_cmd;
15528#line 1210
15529 __cil_tmp152 = __cil_tmp151 + 224;
15530#line 1210
15531 __cil_tmp153 = *((unsigned char **)__cil_tmp152);
15532#line 1210
15533 __cil_tmp154 = (void const *)__cil_tmp153;
15534#line 1210
15535 __ret = __memcpy(__cil_tmp150, __cil_tmp154, __len);
15536 }
15537 } else {
15538 {
15539#line 1210
15540 __cil_tmp155 = (void *)(& data_len);
15541#line 1210
15542 __cil_tmp156 = (unsigned long )skb_cmd;
15543#line 1210
15544 __cil_tmp157 = __cil_tmp156 + 224;
15545#line 1210
15546 __cil_tmp158 = *((unsigned char **)__cil_tmp157);
15547#line 1210
15548 __cil_tmp159 = (void const *)__cil_tmp158;
15549#line 1210
15550 __ret = __builtin_memcpy(__cil_tmp155, __cil_tmp159, __len);
15551 }
15552 }
15553 {
15554#line 1211
15555 __cil_tmp160 = & data_len;
15556#line 1211
15557 evt_len = *__cil_tmp160;
15558#line 1213
15559 skb_pull(skb_cmd, 4U);
15560#line 1214
15561 __cil_tmp161 = & descriptor___3;
15562#line 1214
15563 *((char const **)__cil_tmp161) = "mwifiex_pcie";
15564#line 1214
15565 __cil_tmp162 = (unsigned long )(& descriptor___3) + 8;
15566#line 1214
15567 *((char const **)__cil_tmp162) = "mwifiex_pcie_process_event_ready";
15568#line 1214
15569 __cil_tmp163 = (unsigned long )(& descriptor___3) + 16;
15570#line 1214
15571 *((char const **)__cil_tmp163) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
15572#line 1214
15573 __cil_tmp164 = (unsigned long )(& descriptor___3) + 24;
15574#line 1214
15575 *((char const **)__cil_tmp164) = "info: Event length: %d\n";
15576#line 1214
15577 __cil_tmp165 = (unsigned long )(& descriptor___3) + 32;
15578#line 1214
15579 *((unsigned int *)__cil_tmp165) = 1214U;
15580#line 1214
15581 __cil_tmp166 = (unsigned long )(& descriptor___3) + 35;
15582#line 1214
15583 *((unsigned char *)__cil_tmp166) = (unsigned char)0;
15584#line 1214
15585 __cil_tmp167 = (unsigned long )(& descriptor___3) + 35;
15586#line 1214
15587 __cil_tmp168 = *((unsigned char *)__cil_tmp167);
15588#line 1214
15589 __cil_tmp169 = (long )__cil_tmp168;
15590#line 1214
15591 __cil_tmp170 = __cil_tmp169 & 1L;
15592#line 1214
15593 tmp___4 = __builtin_expect(__cil_tmp170, 0L);
15594 }
15595#line 1214
15596 if (tmp___4 != 0L) {
15597 {
15598#line 1214
15599 __cil_tmp171 = (unsigned long )adapter;
15600#line 1214
15601 __cil_tmp172 = __cil_tmp171 + 72;
15602#line 1214
15603 __cil_tmp173 = *((struct device **)__cil_tmp172);
15604#line 1214
15605 __cil_tmp174 = (struct device const *)__cil_tmp173;
15606#line 1214
15607 __cil_tmp175 = (int )evt_len;
15608#line 1214
15609 __dynamic_dev_dbg(& descriptor___3, __cil_tmp174, "info: Event length: %d\n",
15610 __cil_tmp175);
15611 }
15612 } else {
15613
15614 }
15615 {
15616#line 1216
15617 __cil_tmp176 = (unsigned int )evt_len;
15618#line 1216
15619 if (__cil_tmp176 != 0U) {
15620 {
15621#line 1216
15622 __cil_tmp177 = (unsigned int )evt_len;
15623#line 1216
15624 if (__cil_tmp177 <= 1023U) {
15625 {
15626#line 1217
15627 __cil_tmp178 = (int )evt_len;
15628#line 1217
15629 __cil_tmp179 = __cil_tmp178 + -4;
15630#line 1217
15631 __len___0 = (size_t )__cil_tmp179;
15632#line 1217
15633 __cil_tmp180 = (unsigned long )adapter;
15634#line 1217
15635 __cil_tmp181 = __cil_tmp180 + 4041;
15636#line 1217
15637 __cil_tmp182 = (u8 (*)[1024U])__cil_tmp181;
15638#line 1217
15639 __cil_tmp183 = (void *)__cil_tmp182;
15640#line 1217
15641 __cil_tmp184 = (unsigned long )skb_cmd;
15642#line 1217
15643 __cil_tmp185 = __cil_tmp184 + 224;
15644#line 1217
15645 __cil_tmp186 = *((unsigned char **)__cil_tmp185);
15646#line 1217
15647 __cil_tmp187 = (void const *)__cil_tmp186;
15648#line 1217
15649 __cil_tmp188 = __cil_tmp187 + 4U;
15650#line 1217
15651 __ret___0 = __builtin_memcpy(__cil_tmp183, __cil_tmp188, __len___0);
15652 }
15653 } else {
15654
15655 }
15656 }
15657 } else {
15658
15659 }
15660 }
15661#line 1221
15662 __cil_tmp189 = (unsigned long )adapter;
15663#line 1221
15664 __cil_tmp190 = __cil_tmp189 + 3091;
15665#line 1221
15666 *((u8 *)__cil_tmp190) = (u8 )1U;
15667#line 1222
15668 __cil_tmp191 = (unsigned long )adapter;
15669#line 1222
15670 __cil_tmp192 = __cil_tmp191 + 768;
15671#line 1222
15672 *((struct sk_buff **)__cil_tmp192) = skb_cmd;
15673 } else {
15674
15675 }
15676 }
15677 }
15678 }
15679#line 1230
15680 return (0);
15681}
15682}
15683#line 1236 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
15684static int mwifiex_pcie_event_complete(struct mwifiex_adapter *adapter , struct sk_buff *skb )
15685{ struct pcie_service_card *card ;
15686 int ret ;
15687 u32 rdptr ;
15688 u32 wrptr ;
15689 phys_addr_t *buf_pa ;
15690 int tmp ;
15691 struct _ddebug descriptor ;
15692 long tmp___0 ;
15693 struct _ddebug descriptor___0 ;
15694 long tmp___1 ;
15695 int tmp___2 ;
15696 struct _ddebug descriptor___1 ;
15697 long tmp___3 ;
15698 unsigned long __cil_tmp16 ;
15699 unsigned long __cil_tmp17 ;
15700 void *__cil_tmp18 ;
15701 unsigned long __cil_tmp19 ;
15702 unsigned long __cil_tmp20 ;
15703 u32 __cil_tmp21 ;
15704 struct sk_buff *__cil_tmp22 ;
15705 unsigned long __cil_tmp23 ;
15706 unsigned long __cil_tmp24 ;
15707 unsigned long __cil_tmp25 ;
15708 unsigned long __cil_tmp26 ;
15709 struct device *__cil_tmp27 ;
15710 struct device const *__cil_tmp28 ;
15711 unsigned long __cil_tmp29 ;
15712 unsigned long __cil_tmp30 ;
15713 struct device *__cil_tmp31 ;
15714 struct device const *__cil_tmp32 ;
15715 struct sk_buff *__cil_tmp33 ;
15716 unsigned long __cil_tmp34 ;
15717 unsigned long __cil_tmp35 ;
15718 unsigned long __cil_tmp36 ;
15719 unsigned long __cil_tmp37 ;
15720 unsigned long __cil_tmp38 ;
15721 struct sk_buff *__cil_tmp39 ;
15722 unsigned long __cil_tmp40 ;
15723 unsigned long __cil_tmp41 ;
15724 unsigned long __cil_tmp42 ;
15725 unsigned long __cil_tmp43 ;
15726 unsigned long __cil_tmp44 ;
15727 unsigned long __cil_tmp45 ;
15728 unsigned long __cil_tmp46 ;
15729 unsigned long __cil_tmp47 ;
15730 unsigned long __cil_tmp48 ;
15731 struct mwifiex_pcie_buf_desc *__cil_tmp49 ;
15732 unsigned long __cil_tmp50 ;
15733 unsigned long __cil_tmp51 ;
15734 unsigned long __cil_tmp52 ;
15735 unsigned long __cil_tmp53 ;
15736 struct mwifiex_pcie_buf_desc *__cil_tmp54 ;
15737 unsigned long __cil_tmp55 ;
15738 unsigned long __cil_tmp56 ;
15739 unsigned long __cil_tmp57 ;
15740 unsigned long __cil_tmp58 ;
15741 unsigned int __cil_tmp59 ;
15742 unsigned long __cil_tmp60 ;
15743 unsigned long __cil_tmp61 ;
15744 unsigned long __cil_tmp62 ;
15745 unsigned long __cil_tmp63 ;
15746 struct mwifiex_pcie_buf_desc *__cil_tmp64 ;
15747 unsigned long __cil_tmp65 ;
15748 unsigned long __cil_tmp66 ;
15749 struct _ddebug *__cil_tmp67 ;
15750 unsigned long __cil_tmp68 ;
15751 unsigned long __cil_tmp69 ;
15752 unsigned long __cil_tmp70 ;
15753 unsigned long __cil_tmp71 ;
15754 unsigned long __cil_tmp72 ;
15755 unsigned long __cil_tmp73 ;
15756 unsigned char __cil_tmp74 ;
15757 long __cil_tmp75 ;
15758 long __cil_tmp76 ;
15759 unsigned long __cil_tmp77 ;
15760 unsigned long __cil_tmp78 ;
15761 struct device *__cil_tmp79 ;
15762 struct device const *__cil_tmp80 ;
15763 unsigned long __cil_tmp81 ;
15764 unsigned long __cil_tmp82 ;
15765 unsigned long __cil_tmp83 ;
15766 unsigned long __cil_tmp84 ;
15767 struct sk_buff *__cil_tmp85 ;
15768 unsigned long __cil_tmp86 ;
15769 unsigned long __cil_tmp87 ;
15770 unsigned long __cil_tmp88 ;
15771 unsigned long __cil_tmp89 ;
15772 u32 __cil_tmp90 ;
15773 unsigned long __cil_tmp91 ;
15774 unsigned long __cil_tmp92 ;
15775 u32 __cil_tmp93 ;
15776 unsigned int __cil_tmp94 ;
15777 unsigned long __cil_tmp95 ;
15778 unsigned long __cil_tmp96 ;
15779 unsigned long __cil_tmp97 ;
15780 unsigned long __cil_tmp98 ;
15781 u32 __cil_tmp99 ;
15782 u32 __cil_tmp100 ;
15783 struct _ddebug *__cil_tmp101 ;
15784 unsigned long __cil_tmp102 ;
15785 unsigned long __cil_tmp103 ;
15786 unsigned long __cil_tmp104 ;
15787 unsigned long __cil_tmp105 ;
15788 unsigned long __cil_tmp106 ;
15789 unsigned long __cil_tmp107 ;
15790 unsigned char __cil_tmp108 ;
15791 long __cil_tmp109 ;
15792 long __cil_tmp110 ;
15793 unsigned long __cil_tmp111 ;
15794 unsigned long __cil_tmp112 ;
15795 struct device *__cil_tmp113 ;
15796 struct device const *__cil_tmp114 ;
15797 unsigned long __cil_tmp115 ;
15798 unsigned long __cil_tmp116 ;
15799 u32 __cil_tmp117 ;
15800 u32 *__cil_tmp118 ;
15801 u32 __cil_tmp119 ;
15802 unsigned long __cil_tmp120 ;
15803 unsigned long __cil_tmp121 ;
15804 u32 __cil_tmp122 ;
15805 unsigned long __cil_tmp123 ;
15806 unsigned long __cil_tmp124 ;
15807 struct device *__cil_tmp125 ;
15808 struct device const *__cil_tmp126 ;
15809 struct _ddebug *__cil_tmp127 ;
15810 unsigned long __cil_tmp128 ;
15811 unsigned long __cil_tmp129 ;
15812 unsigned long __cil_tmp130 ;
15813 unsigned long __cil_tmp131 ;
15814 unsigned long __cil_tmp132 ;
15815 unsigned long __cil_tmp133 ;
15816 unsigned char __cil_tmp134 ;
15817 long __cil_tmp135 ;
15818 long __cil_tmp136 ;
15819 unsigned long __cil_tmp137 ;
15820 unsigned long __cil_tmp138 ;
15821 struct device *__cil_tmp139 ;
15822 struct device const *__cil_tmp140 ;
15823
15824 {
15825#line 1239
15826 __cil_tmp16 = (unsigned long )adapter;
15827#line 1239
15828 __cil_tmp17 = __cil_tmp16 + 184;
15829#line 1239
15830 __cil_tmp18 = *((void **)__cil_tmp17);
15831#line 1239
15832 card = (struct pcie_service_card *)__cil_tmp18;
15833#line 1240
15834 ret = 0;
15835#line 1241
15836 __cil_tmp19 = (unsigned long )card;
15837#line 1241
15838 __cil_tmp20 = __cil_tmp19 + 1108;
15839#line 1241
15840 __cil_tmp21 = *((u32 *)__cil_tmp20);
15841#line 1241
15842 rdptr = __cil_tmp21 & 7U;
15843 {
15844#line 1245
15845 __cil_tmp22 = (struct sk_buff *)0;
15846#line 1245
15847 __cil_tmp23 = (unsigned long )__cil_tmp22;
15848#line 1245
15849 __cil_tmp24 = (unsigned long )skb;
15850#line 1245
15851 if (__cil_tmp24 == __cil_tmp23) {
15852#line 1246
15853 return (0);
15854 } else {
15855
15856 }
15857 }
15858#line 1248
15859 if (rdptr > 3U) {
15860 {
15861#line 1249
15862 __cil_tmp25 = (unsigned long )adapter;
15863#line 1249
15864 __cil_tmp26 = __cil_tmp25 + 72;
15865#line 1249
15866 __cil_tmp27 = *((struct device **)__cil_tmp26);
15867#line 1249
15868 __cil_tmp28 = (struct device const *)__cil_tmp27;
15869#line 1249
15870 dev_err(__cil_tmp28, "event_complete: Invalid rdptr 0x%x\n", rdptr);
15871 }
15872#line 1251
15873 return (-22);
15874 } else {
15875
15876 }
15877 {
15878#line 1255
15879 tmp = mwifiex_read_reg(adapter, 3308, & wrptr);
15880 }
15881#line 1255
15882 if (tmp != 0) {
15883 {
15884#line 1256
15885 __cil_tmp29 = (unsigned long )adapter;
15886#line 1256
15887 __cil_tmp30 = __cil_tmp29 + 72;
15888#line 1256
15889 __cil_tmp31 = *((struct device **)__cil_tmp30);
15890#line 1256
15891 __cil_tmp32 = (struct device const *)__cil_tmp31;
15892#line 1256
15893 dev_err(__cil_tmp32, "event_complete: failed to read REG_EVTBD_WRPTR\n");
15894 }
15895#line 1258
15896 return (-1);
15897 } else {
15898
15899 }
15900 {
15901#line 1261
15902 __cil_tmp33 = (struct sk_buff *)0;
15903#line 1261
15904 __cil_tmp34 = (unsigned long )__cil_tmp33;
15905#line 1261
15906 __cil_tmp35 = rdptr * 8UL;
15907#line 1261
15908 __cil_tmp36 = 1168 + __cil_tmp35;
15909#line 1261
15910 __cil_tmp37 = (unsigned long )card;
15911#line 1261
15912 __cil_tmp38 = __cil_tmp37 + __cil_tmp36;
15913#line 1261
15914 __cil_tmp39 = *((struct sk_buff **)__cil_tmp38);
15915#line 1261
15916 __cil_tmp40 = (unsigned long )__cil_tmp39;
15917#line 1261
15918 if (__cil_tmp40 == __cil_tmp34) {
15919 {
15920#line 1262
15921 skb_push(skb, 4U);
15922#line 1263
15923 __cil_tmp41 = rdptr * 8UL;
15924#line 1263
15925 __cil_tmp42 = 1168 + __cil_tmp41;
15926#line 1263
15927 __cil_tmp43 = (unsigned long )card;
15928#line 1263
15929 __cil_tmp44 = __cil_tmp43 + __cil_tmp42;
15930#line 1263
15931 *((struct sk_buff **)__cil_tmp44) = skb;
15932#line 1264
15933 buf_pa = MWIFIEX_SKB_PACB(skb);
15934#line 1265
15935 __cil_tmp45 = rdptr * 8UL;
15936#line 1265
15937 __cil_tmp46 = 1136 + __cil_tmp45;
15938#line 1265
15939 __cil_tmp47 = (unsigned long )card;
15940#line 1265
15941 __cil_tmp48 = __cil_tmp47 + __cil_tmp46;
15942#line 1265
15943 __cil_tmp49 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp48);
15944#line 1265
15945 *((u64 *)__cil_tmp49) = *buf_pa;
15946#line 1266
15947 __cil_tmp50 = rdptr * 8UL;
15948#line 1266
15949 __cil_tmp51 = 1136 + __cil_tmp50;
15950#line 1266
15951 __cil_tmp52 = (unsigned long )card;
15952#line 1266
15953 __cil_tmp53 = __cil_tmp52 + __cil_tmp51;
15954#line 1266
15955 __cil_tmp54 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp53);
15956#line 1266
15957 __cil_tmp55 = (unsigned long )__cil_tmp54;
15958#line 1266
15959 __cil_tmp56 = __cil_tmp55 + 8;
15960#line 1266
15961 __cil_tmp57 = (unsigned long )skb;
15962#line 1266
15963 __cil_tmp58 = __cil_tmp57 + 104;
15964#line 1266
15965 __cil_tmp59 = *((unsigned int *)__cil_tmp58);
15966#line 1266
15967 *((u16 *)__cil_tmp56) = (unsigned short )__cil_tmp59;
15968#line 1267
15969 __cil_tmp60 = rdptr * 8UL;
15970#line 1267
15971 __cil_tmp61 = 1136 + __cil_tmp60;
15972#line 1267
15973 __cil_tmp62 = (unsigned long )card;
15974#line 1267
15975 __cil_tmp63 = __cil_tmp62 + __cil_tmp61;
15976#line 1267
15977 __cil_tmp64 = *((struct mwifiex_pcie_buf_desc **)__cil_tmp63);
15978#line 1267
15979 __cil_tmp65 = (unsigned long )__cil_tmp64;
15980#line 1267
15981 __cil_tmp66 = __cil_tmp65 + 10;
15982#line 1267
15983 *((u16 *)__cil_tmp66) = (u16 )0U;
15984#line 1268
15985 skb = (struct sk_buff *)0;
15986 }
15987 } else {
15988 {
15989#line 1270
15990 __cil_tmp67 = & descriptor;
15991#line 1270
15992 *((char const **)__cil_tmp67) = "mwifiex_pcie";
15993#line 1270
15994 __cil_tmp68 = (unsigned long )(& descriptor) + 8;
15995#line 1270
15996 *((char const **)__cil_tmp68) = "mwifiex_pcie_event_complete";
15997#line 1270
15998 __cil_tmp69 = (unsigned long )(& descriptor) + 16;
15999#line 1270
16000 *((char const **)__cil_tmp69) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
16001#line 1270
16002 __cil_tmp70 = (unsigned long )(& descriptor) + 24;
16003#line 1270
16004 *((char const **)__cil_tmp70) = "info: ERROR: buf still valid at index %d, <%p, %p>\n";
16005#line 1270
16006 __cil_tmp71 = (unsigned long )(& descriptor) + 32;
16007#line 1270
16008 *((unsigned int *)__cil_tmp71) = 1272U;
16009#line 1270
16010 __cil_tmp72 = (unsigned long )(& descriptor) + 35;
16011#line 1270
16012 *((unsigned char *)__cil_tmp72) = (unsigned char)0;
16013#line 1270
16014 __cil_tmp73 = (unsigned long )(& descriptor) + 35;
16015#line 1270
16016 __cil_tmp74 = *((unsigned char *)__cil_tmp73);
16017#line 1270
16018 __cil_tmp75 = (long )__cil_tmp74;
16019#line 1270
16020 __cil_tmp76 = __cil_tmp75 & 1L;
16021#line 1270
16022 tmp___0 = __builtin_expect(__cil_tmp76, 0L);
16023 }
16024#line 1270
16025 if (tmp___0 != 0L) {
16026 {
16027#line 1270
16028 __cil_tmp77 = (unsigned long )adapter;
16029#line 1270
16030 __cil_tmp78 = __cil_tmp77 + 72;
16031#line 1270
16032 __cil_tmp79 = *((struct device **)__cil_tmp78);
16033#line 1270
16034 __cil_tmp80 = (struct device const *)__cil_tmp79;
16035#line 1270
16036 __cil_tmp81 = rdptr * 8UL;
16037#line 1270
16038 __cil_tmp82 = 1168 + __cil_tmp81;
16039#line 1270
16040 __cil_tmp83 = (unsigned long )card;
16041#line 1270
16042 __cil_tmp84 = __cil_tmp83 + __cil_tmp82;
16043#line 1270
16044 __cil_tmp85 = *((struct sk_buff **)__cil_tmp84);
16045#line 1270
16046 __dynamic_dev_dbg(& descriptor, __cil_tmp80, "info: ERROR: buf still valid at index %d, <%p, %p>\n",
16047 rdptr, __cil_tmp85, skb);
16048 }
16049 } else {
16050
16051 }
16052 }
16053 }
16054#line 1275
16055 __cil_tmp86 = (unsigned long )card;
16056#line 1275
16057 __cil_tmp87 = __cil_tmp86 + 1108;
16058#line 1275
16059 __cil_tmp88 = (unsigned long )card;
16060#line 1275
16061 __cil_tmp89 = __cil_tmp88 + 1108;
16062#line 1275
16063 __cil_tmp90 = *((u32 *)__cil_tmp89);
16064#line 1275
16065 *((u32 *)__cil_tmp87) = __cil_tmp90 + 1U;
16066 {
16067#line 1275
16068 __cil_tmp91 = (unsigned long )card;
16069#line 1275
16070 __cil_tmp92 = __cil_tmp91 + 1108;
16071#line 1275
16072 __cil_tmp93 = *((u32 *)__cil_tmp92);
16073#line 1275
16074 __cil_tmp94 = __cil_tmp93 & 7U;
16075#line 1275
16076 if (__cil_tmp94 == 4U) {
16077#line 1276
16078 __cil_tmp95 = (unsigned long )card;
16079#line 1276
16080 __cil_tmp96 = __cil_tmp95 + 1108;
16081#line 1276
16082 __cil_tmp97 = (unsigned long )card;
16083#line 1276
16084 __cil_tmp98 = __cil_tmp97 + 1108;
16085#line 1276
16086 __cil_tmp99 = *((u32 *)__cil_tmp98);
16087#line 1276
16088 __cil_tmp100 = ~ __cil_tmp99;
16089#line 1276
16090 *((u32 *)__cil_tmp96) = __cil_tmp100 & 128U;
16091 } else {
16092
16093 }
16094 }
16095 {
16096#line 1281
16097 __cil_tmp101 = & descriptor___0;
16098#line 1281
16099 *((char const **)__cil_tmp101) = "mwifiex_pcie";
16100#line 1281
16101 __cil_tmp102 = (unsigned long )(& descriptor___0) + 8;
16102#line 1281
16103 *((char const **)__cil_tmp102) = "mwifiex_pcie_event_complete";
16104#line 1281
16105 __cil_tmp103 = (unsigned long )(& descriptor___0) + 16;
16106#line 1281
16107 *((char const **)__cil_tmp103) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
16108#line 1281
16109 __cil_tmp104 = (unsigned long )(& descriptor___0) + 24;
16110#line 1281
16111 *((char const **)__cil_tmp104) = "info: Updated <Rd: 0x%x, Wr: 0x%x>";
16112#line 1281
16113 __cil_tmp105 = (unsigned long )(& descriptor___0) + 32;
16114#line 1281
16115 *((unsigned int *)__cil_tmp105) = 1282U;
16116#line 1281
16117 __cil_tmp106 = (unsigned long )(& descriptor___0) + 35;
16118#line 1281
16119 *((unsigned char *)__cil_tmp106) = (unsigned char)0;
16120#line 1281
16121 __cil_tmp107 = (unsigned long )(& descriptor___0) + 35;
16122#line 1281
16123 __cil_tmp108 = *((unsigned char *)__cil_tmp107);
16124#line 1281
16125 __cil_tmp109 = (long )__cil_tmp108;
16126#line 1281
16127 __cil_tmp110 = __cil_tmp109 & 1L;
16128#line 1281
16129 tmp___1 = __builtin_expect(__cil_tmp110, 0L);
16130 }
16131#line 1281
16132 if (tmp___1 != 0L) {
16133 {
16134#line 1281
16135 __cil_tmp111 = (unsigned long )adapter;
16136#line 1281
16137 __cil_tmp112 = __cil_tmp111 + 72;
16138#line 1281
16139 __cil_tmp113 = *((struct device **)__cil_tmp112);
16140#line 1281
16141 __cil_tmp114 = (struct device const *)__cil_tmp113;
16142#line 1281
16143 __cil_tmp115 = (unsigned long )card;
16144#line 1281
16145 __cil_tmp116 = __cil_tmp115 + 1108;
16146#line 1281
16147 __cil_tmp117 = *((u32 *)__cil_tmp116);
16148#line 1281
16149 __cil_tmp118 = & wrptr;
16150#line 1281
16151 __cil_tmp119 = *__cil_tmp118;
16152#line 1281
16153 __dynamic_dev_dbg(& descriptor___0, __cil_tmp114, "info: Updated <Rd: 0x%x, Wr: 0x%x>",
16154 __cil_tmp117, __cil_tmp119);
16155 }
16156 } else {
16157
16158 }
16159 {
16160#line 1285
16161 __cil_tmp120 = (unsigned long )card;
16162#line 1285
16163 __cil_tmp121 = __cil_tmp120 + 1108;
16164#line 1285
16165 __cil_tmp122 = *((u32 *)__cil_tmp121);
16166#line 1285
16167 tmp___2 = mwifiex_write_reg(adapter, 3304, __cil_tmp122);
16168 }
16169#line 1285
16170 if (tmp___2 != 0) {
16171 {
16172#line 1286
16173 __cil_tmp123 = (unsigned long )adapter;
16174#line 1286
16175 __cil_tmp124 = __cil_tmp123 + 72;
16176#line 1286
16177 __cil_tmp125 = *((struct device **)__cil_tmp124);
16178#line 1286
16179 __cil_tmp126 = (struct device const *)__cil_tmp125;
16180#line 1286
16181 dev_err(__cil_tmp126, "event_complete: failed to read REG_EVTBD_RDPTR\n");
16182 }
16183#line 1288
16184 return (-1);
16185 } else {
16186
16187 }
16188 {
16189#line 1291
16190 __cil_tmp127 = & descriptor___1;
16191#line 1291
16192 *((char const **)__cil_tmp127) = "mwifiex_pcie";
16193#line 1291
16194 __cil_tmp128 = (unsigned long )(& descriptor___1) + 8;
16195#line 1291
16196 *((char const **)__cil_tmp128) = "mwifiex_pcie_event_complete";
16197#line 1291
16198 __cil_tmp129 = (unsigned long )(& descriptor___1) + 16;
16199#line 1291
16200 *((char const **)__cil_tmp129) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
16201#line 1291
16202 __cil_tmp130 = (unsigned long )(& descriptor___1) + 24;
16203#line 1291
16204 *((char const **)__cil_tmp130) = "info: Check Events Again\n";
16205#line 1291
16206 __cil_tmp131 = (unsigned long )(& descriptor___1) + 32;
16207#line 1291
16208 *((unsigned int *)__cil_tmp131) = 1291U;
16209#line 1291
16210 __cil_tmp132 = (unsigned long )(& descriptor___1) + 35;
16211#line 1291
16212 *((unsigned char *)__cil_tmp132) = (unsigned char)0;
16213#line 1291
16214 __cil_tmp133 = (unsigned long )(& descriptor___1) + 35;
16215#line 1291
16216 __cil_tmp134 = *((unsigned char *)__cil_tmp133);
16217#line 1291
16218 __cil_tmp135 = (long )__cil_tmp134;
16219#line 1291
16220 __cil_tmp136 = __cil_tmp135 & 1L;
16221#line 1291
16222 tmp___3 = __builtin_expect(__cil_tmp136, 0L);
16223 }
16224#line 1291
16225 if (tmp___3 != 0L) {
16226 {
16227#line 1291
16228 __cil_tmp137 = (unsigned long )adapter;
16229#line 1291
16230 __cil_tmp138 = __cil_tmp137 + 72;
16231#line 1291
16232 __cil_tmp139 = *((struct device **)__cil_tmp138);
16233#line 1291
16234 __cil_tmp140 = (struct device const *)__cil_tmp139;
16235#line 1291
16236 __dynamic_dev_dbg(& descriptor___1, __cil_tmp140, "info: Check Events Again\n");
16237 }
16238 } else {
16239
16240 }
16241 {
16242#line 1292
16243 ret = mwifiex_pcie_process_event_ready(adapter);
16244 }
16245#line 1294
16246 return (ret);
16247}
16248}
16249#line 1304 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
16250static int mwifiex_prog_fw_w_helper(struct mwifiex_adapter *adapter , struct mwifiex_fw_image *fw )
16251{ int ret ;
16252 u8 *firmware ;
16253 u32 firmware_len ;
16254 u32 offset ;
16255 struct sk_buff *skb ;
16256 u32 txlen ;
16257 u32 tx_blocks ;
16258 u32 tries ;
16259 u32 len ;
16260 u32 block_retry_cnt ;
16261 struct _ddebug descriptor ;
16262 long tmp ;
16263 int tmp___0 ;
16264 u32 ireg_intr ;
16265 struct _ddebug descriptor___0 ;
16266 long tmp___1 ;
16267 int tmp___2 ;
16268 int tmp___3 ;
16269 struct _ddebug descriptor___1 ;
16270 long tmp___4 ;
16271 unsigned long __cil_tmp23 ;
16272 unsigned long __cil_tmp24 ;
16273 unsigned long __cil_tmp25 ;
16274 unsigned long __cil_tmp26 ;
16275 struct mwifiex_adapter *__cil_tmp27 ;
16276 unsigned long __cil_tmp28 ;
16277 unsigned long __cil_tmp29 ;
16278 u8 *__cil_tmp30 ;
16279 unsigned long __cil_tmp31 ;
16280 unsigned long __cil_tmp32 ;
16281 unsigned long __cil_tmp33 ;
16282 unsigned long __cil_tmp34 ;
16283 struct device *__cil_tmp35 ;
16284 struct device const *__cil_tmp36 ;
16285 unsigned long __cil_tmp37 ;
16286 unsigned long __cil_tmp38 ;
16287 struct device *__cil_tmp39 ;
16288 struct device const *__cil_tmp40 ;
16289 struct _ddebug *__cil_tmp41 ;
16290 unsigned long __cil_tmp42 ;
16291 unsigned long __cil_tmp43 ;
16292 unsigned long __cil_tmp44 ;
16293 unsigned long __cil_tmp45 ;
16294 unsigned long __cil_tmp46 ;
16295 unsigned long __cil_tmp47 ;
16296 unsigned char __cil_tmp48 ;
16297 long __cil_tmp49 ;
16298 long __cil_tmp50 ;
16299 unsigned long __cil_tmp51 ;
16300 unsigned long __cil_tmp52 ;
16301 struct device *__cil_tmp53 ;
16302 struct device const *__cil_tmp54 ;
16303 unsigned long __cil_tmp55 ;
16304 unsigned long __cil_tmp56 ;
16305 struct device *__cil_tmp57 ;
16306 struct device const *__cil_tmp58 ;
16307 struct sk_buff *__cil_tmp59 ;
16308 unsigned long __cil_tmp60 ;
16309 unsigned long __cil_tmp61 ;
16310 u32 *__cil_tmp62 ;
16311 unsigned long __cil_tmp63 ;
16312 unsigned long __cil_tmp64 ;
16313 struct device *__cil_tmp65 ;
16314 struct device const *__cil_tmp66 ;
16315 u32 *__cil_tmp67 ;
16316 u32 __cil_tmp68 ;
16317 u32 *__cil_tmp69 ;
16318 u32 __cil_tmp70 ;
16319 u32 *__cil_tmp71 ;
16320 u32 __cil_tmp72 ;
16321 u32 *__cil_tmp73 ;
16322 u32 __cil_tmp74 ;
16323 u32 *__cil_tmp75 ;
16324 u32 *__cil_tmp76 ;
16325 u32 __cil_tmp77 ;
16326 int __cil_tmp78 ;
16327 unsigned long __cil_tmp79 ;
16328 unsigned long __cil_tmp80 ;
16329 struct device *__cil_tmp81 ;
16330 struct device const *__cil_tmp82 ;
16331 u32 *__cil_tmp83 ;
16332 u32 __cil_tmp84 ;
16333 u32 *__cil_tmp85 ;
16334 u32 *__cil_tmp86 ;
16335 u32 __cil_tmp87 ;
16336 u32 __cil_tmp88 ;
16337 struct _ddebug *__cil_tmp89 ;
16338 unsigned long __cil_tmp90 ;
16339 unsigned long __cil_tmp91 ;
16340 unsigned long __cil_tmp92 ;
16341 unsigned long __cil_tmp93 ;
16342 unsigned long __cil_tmp94 ;
16343 unsigned long __cil_tmp95 ;
16344 unsigned char __cil_tmp96 ;
16345 long __cil_tmp97 ;
16346 long __cil_tmp98 ;
16347 unsigned long __cil_tmp99 ;
16348 unsigned long __cil_tmp100 ;
16349 struct device *__cil_tmp101 ;
16350 struct device const *__cil_tmp102 ;
16351 u32 __cil_tmp103 ;
16352 unsigned long __cil_tmp104 ;
16353 unsigned long __cil_tmp105 ;
16354 unsigned char *__cil_tmp106 ;
16355 void *__cil_tmp107 ;
16356 unsigned long __cil_tmp108 ;
16357 void const *__cil_tmp109 ;
16358 void const *__cil_tmp110 ;
16359 size_t __cil_tmp111 ;
16360 unsigned long __cil_tmp112 ;
16361 unsigned long __cil_tmp113 ;
16362 unsigned int __cil_tmp114 ;
16363 unsigned int __cil_tmp115 ;
16364 u32 __cil_tmp116 ;
16365 unsigned long __cil_tmp117 ;
16366 unsigned long __cil_tmp118 ;
16367 struct device *__cil_tmp119 ;
16368 struct device const *__cil_tmp120 ;
16369 unsigned long __cil_tmp121 ;
16370 unsigned long __cil_tmp122 ;
16371 struct device *__cil_tmp123 ;
16372 struct device const *__cil_tmp124 ;
16373 u32 *__cil_tmp125 ;
16374 u32 __cil_tmp126 ;
16375 unsigned long __cil_tmp127 ;
16376 unsigned long __cil_tmp128 ;
16377 struct _ddebug *__cil_tmp129 ;
16378 unsigned long __cil_tmp130 ;
16379 unsigned long __cil_tmp131 ;
16380 unsigned long __cil_tmp132 ;
16381 unsigned long __cil_tmp133 ;
16382 unsigned long __cil_tmp134 ;
16383 unsigned long __cil_tmp135 ;
16384 unsigned char __cil_tmp136 ;
16385 long __cil_tmp137 ;
16386 long __cil_tmp138 ;
16387 unsigned long __cil_tmp139 ;
16388 unsigned long __cil_tmp140 ;
16389 struct device *__cil_tmp141 ;
16390 struct device const *__cil_tmp142 ;
16391
16392 {
16393#line 1308
16394 __cil_tmp23 = (unsigned long )fw;
16395#line 1308
16396 __cil_tmp24 = __cil_tmp23 + 16;
16397#line 1308
16398 firmware = *((u8 **)__cil_tmp24);
16399#line 1309
16400 __cil_tmp25 = (unsigned long )fw;
16401#line 1309
16402 __cil_tmp26 = __cil_tmp25 + 24;
16403#line 1309
16404 firmware_len = *((u32 *)__cil_tmp26);
16405#line 1310
16406 offset = 0U;
16407#line 1312
16408 tx_blocks = 0U;
16409#line 1313
16410 block_retry_cnt = 0U;
16411 {
16412#line 1315
16413 __cil_tmp27 = (struct mwifiex_adapter *)0;
16414#line 1315
16415 __cil_tmp28 = (unsigned long )__cil_tmp27;
16416#line 1315
16417 __cil_tmp29 = (unsigned long )adapter;
16418#line 1315
16419 if (__cil_tmp29 == __cil_tmp28) {
16420 {
16421#line 1316
16422 printk("<3>mwifiex_pcie: adapter structure is not valid\n");
16423 }
16424#line 1317
16425 return (-1);
16426 } else {
16427
16428 }
16429 }
16430 {
16431#line 1320
16432 __cil_tmp30 = (u8 *)0;
16433#line 1320
16434 __cil_tmp31 = (unsigned long )__cil_tmp30;
16435#line 1320
16436 __cil_tmp32 = (unsigned long )firmware;
16437#line 1320
16438 if (__cil_tmp32 == __cil_tmp31) {
16439 {
16440#line 1321
16441 __cil_tmp33 = (unsigned long )adapter;
16442#line 1321
16443 __cil_tmp34 = __cil_tmp33 + 72;
16444#line 1321
16445 __cil_tmp35 = *((struct device **)__cil_tmp34);
16446#line 1321
16447 __cil_tmp36 = (struct device const *)__cil_tmp35;
16448#line 1321
16449 dev_err(__cil_tmp36, "No firmware image found! Terminating download\n");
16450 }
16451#line 1323
16452 return (-1);
16453 } else
16454#line 1320
16455 if (firmware_len == 0U) {
16456 {
16457#line 1321
16458 __cil_tmp37 = (unsigned long )adapter;
16459#line 1321
16460 __cil_tmp38 = __cil_tmp37 + 72;
16461#line 1321
16462 __cil_tmp39 = *((struct device **)__cil_tmp38);
16463#line 1321
16464 __cil_tmp40 = (struct device const *)__cil_tmp39;
16465#line 1321
16466 dev_err(__cil_tmp40, "No firmware image found! Terminating download\n");
16467 }
16468#line 1323
16469 return (-1);
16470 } else {
16471
16472 }
16473 }
16474 {
16475#line 1326
16476 __cil_tmp41 = & descriptor;
16477#line 1326
16478 *((char const **)__cil_tmp41) = "mwifiex_pcie";
16479#line 1326
16480 __cil_tmp42 = (unsigned long )(& descriptor) + 8;
16481#line 1326
16482 *((char const **)__cil_tmp42) = "mwifiex_prog_fw_w_helper";
16483#line 1326
16484 __cil_tmp43 = (unsigned long )(& descriptor) + 16;
16485#line 1326
16486 *((char const **)__cil_tmp43) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
16487#line 1326
16488 __cil_tmp44 = (unsigned long )(& descriptor) + 24;
16489#line 1326
16490 *((char const **)__cil_tmp44) = "info: Downloading FW image (%d bytes)\n";
16491#line 1326
16492 __cil_tmp45 = (unsigned long )(& descriptor) + 32;
16493#line 1326
16494 *((unsigned int *)__cil_tmp45) = 1327U;
16495#line 1326
16496 __cil_tmp46 = (unsigned long )(& descriptor) + 35;
16497#line 1326
16498 *((unsigned char *)__cil_tmp46) = (unsigned char)0;
16499#line 1326
16500 __cil_tmp47 = (unsigned long )(& descriptor) + 35;
16501#line 1326
16502 __cil_tmp48 = *((unsigned char *)__cil_tmp47);
16503#line 1326
16504 __cil_tmp49 = (long )__cil_tmp48;
16505#line 1326
16506 __cil_tmp50 = __cil_tmp49 & 1L;
16507#line 1326
16508 tmp = __builtin_expect(__cil_tmp50, 0L);
16509 }
16510#line 1326
16511 if (tmp != 0L) {
16512 {
16513#line 1326
16514 __cil_tmp51 = (unsigned long )adapter;
16515#line 1326
16516 __cil_tmp52 = __cil_tmp51 + 72;
16517#line 1326
16518 __cil_tmp53 = *((struct device **)__cil_tmp52);
16519#line 1326
16520 __cil_tmp54 = (struct device const *)__cil_tmp53;
16521#line 1326
16522 __dynamic_dev_dbg(& descriptor, __cil_tmp54, "info: Downloading FW image (%d bytes)\n",
16523 firmware_len);
16524 }
16525 } else {
16526
16527 }
16528 {
16529#line 1329
16530 tmp___0 = mwifiex_pcie_disable_host_int(adapter);
16531 }
16532#line 1329
16533 if (tmp___0 != 0) {
16534 {
16535#line 1330
16536 __cil_tmp55 = (unsigned long )adapter;
16537#line 1330
16538 __cil_tmp56 = __cil_tmp55 + 72;
16539#line 1330
16540 __cil_tmp57 = *((struct device **)__cil_tmp56);
16541#line 1330
16542 __cil_tmp58 = (struct device const *)__cil_tmp57;
16543#line 1330
16544 dev_err(__cil_tmp58, "%s: Disabling interrupts failed.\n", "mwifiex_prog_fw_w_helper");
16545 }
16546#line 1332
16547 return (-1);
16548 } else {
16549
16550 }
16551 {
16552#line 1335
16553 skb = dev_alloc_skb(2312U);
16554 }
16555 {
16556#line 1336
16557 __cil_tmp59 = (struct sk_buff *)0;
16558#line 1336
16559 __cil_tmp60 = (unsigned long )__cil_tmp59;
16560#line 1336
16561 __cil_tmp61 = (unsigned long )skb;
16562#line 1336
16563 if (__cil_tmp61 == __cil_tmp60) {
16564#line 1337
16565 ret = -12;
16566#line 1338
16567 goto done;
16568 } else {
16569
16570 }
16571 }
16572 {
16573#line 1340
16574 mwifiex_update_sk_buff_pa(skb);
16575 }
16576 ldv_46895:
16577#line 1344
16578 __cil_tmp62 = & ireg_intr;
16579#line 1344
16580 *__cil_tmp62 = 0U;
16581#line 1347
16582 if (offset >= firmware_len) {
16583#line 1348
16584 goto ldv_46888;
16585 } else {
16586
16587 }
16588#line 1350
16589 tries = 0U;
16590#line 1350
16591 goto ldv_46891;
16592 ldv_46890:
16593 {
16594#line 1351
16595 ret = mwifiex_read_reg(adapter, 3136, & len);
16596 }
16597#line 1353
16598 if (ret != 0) {
16599 {
16600#line 1354
16601 __cil_tmp63 = (unsigned long )adapter;
16602#line 1354
16603 __cil_tmp64 = __cil_tmp63 + 72;
16604#line 1354
16605 __cil_tmp65 = *((struct device **)__cil_tmp64);
16606#line 1354
16607 __cil_tmp66 = (struct device const *)__cil_tmp65;
16608#line 1354
16609 dev_warn(__cil_tmp66, "Failed reading len from boot code\n");
16610 }
16611#line 1356
16612 goto done;
16613 } else {
16614
16615 }
16616 {
16617#line 1358
16618 __cil_tmp67 = & len;
16619#line 1358
16620 __cil_tmp68 = *__cil_tmp67;
16621#line 1358
16622 if (__cil_tmp68 != 0U) {
16623#line 1359
16624 goto ldv_46889;
16625 } else {
16626
16627 }
16628 }
16629 {
16630#line 1360
16631 usleep_range(10UL, 20UL);
16632#line 1350
16633 tries = tries + 1U;
16634 }
16635 ldv_46891: ;
16636#line 1350
16637 if (tries <= 99U) {
16638#line 1351
16639 goto ldv_46890;
16640 } else {
16641#line 1353
16642 goto ldv_46889;
16643 }
16644 ldv_46889: ;
16645 {
16646#line 1363
16647 __cil_tmp69 = & len;
16648#line 1363
16649 __cil_tmp70 = *__cil_tmp69;
16650#line 1363
16651 if (__cil_tmp70 == 0U) {
16652#line 1364
16653 goto ldv_46888;
16654 } else {
16655 {
16656#line 1365
16657 __cil_tmp71 = & len;
16658#line 1365
16659 __cil_tmp72 = *__cil_tmp71;
16660#line 1365
16661 if (__cil_tmp72 > 2312U) {
16662 {
16663#line 1366
16664 __cil_tmp73 = & len;
16665#line 1366
16666 __cil_tmp74 = *__cil_tmp73;
16667#line 1366
16668 printk("<3>mwifiex_pcie: FW download failure @ %d, invalid length %d\n", offset,
16669 __cil_tmp74);
16670#line 1368
16671 ret = -1;
16672 }
16673#line 1369
16674 goto done;
16675 } else {
16676
16677 }
16678 }
16679 }
16680 }
16681#line 1372
16682 __cil_tmp75 = & len;
16683#line 1372
16684 txlen = *__cil_tmp75;
16685 {
16686#line 1374
16687 __cil_tmp76 = & len;
16688#line 1374
16689 __cil_tmp77 = *__cil_tmp76;
16690#line 1374
16691 __cil_tmp78 = (int )__cil_tmp77;
16692#line 1374
16693 if (__cil_tmp78 & 1) {
16694#line 1375
16695 block_retry_cnt = block_retry_cnt + 1U;
16696#line 1376
16697 if (block_retry_cnt > 2U) {
16698 {
16699#line 1377
16700 printk("<3>mwifiex_pcie: FW download failure @ %d, over max retry count\n",
16701 offset);
16702#line 1379
16703 ret = -1;
16704 }
16705#line 1380
16706 goto done;
16707 } else {
16708
16709 }
16710 {
16711#line 1382
16712 __cil_tmp79 = (unsigned long )adapter;
16713#line 1382
16714 __cil_tmp80 = __cil_tmp79 + 72;
16715#line 1382
16716 __cil_tmp81 = *((struct device **)__cil_tmp80);
16717#line 1382
16718 __cil_tmp82 = (struct device const *)__cil_tmp81;
16719#line 1382
16720 __cil_tmp83 = & len;
16721#line 1382
16722 __cil_tmp84 = *__cil_tmp83;
16723#line 1382
16724 dev_err(__cil_tmp82, "FW CRC error indicated by the helper: len = 0x%04X, txlen = %d\n",
16725 __cil_tmp84, txlen);
16726#line 1385
16727 __cil_tmp85 = & len;
16728#line 1385
16729 __cil_tmp86 = & len;
16730#line 1385
16731 __cil_tmp87 = *__cil_tmp86;
16732#line 1385
16733 *__cil_tmp85 = __cil_tmp87 & 4294967294U;
16734#line 1387
16735 txlen = 0U;
16736 }
16737 } else {
16738#line 1389
16739 block_retry_cnt = 0U;
16740 {
16741#line 1392
16742 __cil_tmp88 = firmware_len - offset;
16743#line 1392
16744 if (__cil_tmp88 < txlen) {
16745#line 1393
16746 txlen = firmware_len - offset;
16747 } else {
16748
16749 }
16750 }
16751 {
16752#line 1395
16753 __cil_tmp89 = & descriptor___0;
16754#line 1395
16755 *((char const **)__cil_tmp89) = "mwifiex_pcie";
16756#line 1395
16757 __cil_tmp90 = (unsigned long )(& descriptor___0) + 8;
16758#line 1395
16759 *((char const **)__cil_tmp90) = "mwifiex_prog_fw_w_helper";
16760#line 1395
16761 __cil_tmp91 = (unsigned long )(& descriptor___0) + 16;
16762#line 1395
16763 *((char const **)__cil_tmp91) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
16764#line 1395
16765 __cil_tmp92 = (unsigned long )(& descriptor___0) + 24;
16766#line 1395
16767 *((char const **)__cil_tmp92) = ".";
16768#line 1395
16769 __cil_tmp93 = (unsigned long )(& descriptor___0) + 32;
16770#line 1395
16771 *((unsigned int *)__cil_tmp93) = 1395U;
16772#line 1395
16773 __cil_tmp94 = (unsigned long )(& descriptor___0) + 35;
16774#line 1395
16775 *((unsigned char *)__cil_tmp94) = (unsigned char)0;
16776#line 1395
16777 __cil_tmp95 = (unsigned long )(& descriptor___0) + 35;
16778#line 1395
16779 __cil_tmp96 = *((unsigned char *)__cil_tmp95);
16780#line 1395
16781 __cil_tmp97 = (long )__cil_tmp96;
16782#line 1395
16783 __cil_tmp98 = __cil_tmp97 & 1L;
16784#line 1395
16785 tmp___1 = __builtin_expect(__cil_tmp98, 0L);
16786 }
16787#line 1395
16788 if (tmp___1 != 0L) {
16789 {
16790#line 1395
16791 __cil_tmp99 = (unsigned long )adapter;
16792#line 1395
16793 __cil_tmp100 = __cil_tmp99 + 72;
16794#line 1395
16795 __cil_tmp101 = *((struct device **)__cil_tmp100);
16796#line 1395
16797 __cil_tmp102 = (struct device const *)__cil_tmp101;
16798#line 1395
16799 __dynamic_dev_dbg(& descriptor___0, __cil_tmp102, ".");
16800 }
16801 } else {
16802
16803 }
16804 {
16805#line 1397
16806 __cil_tmp103 = txlen + 255U;
16807#line 1397
16808 tx_blocks = __cil_tmp103 / 256U;
16809#line 1402
16810 __cil_tmp104 = (unsigned long )skb;
16811#line 1402
16812 __cil_tmp105 = __cil_tmp104 + 224;
16813#line 1402
16814 __cil_tmp106 = *((unsigned char **)__cil_tmp105);
16815#line 1402
16816 __cil_tmp107 = (void *)__cil_tmp106;
16817#line 1402
16818 __cil_tmp108 = (unsigned long )offset;
16819#line 1402
16820 __cil_tmp109 = (void const *)firmware;
16821#line 1402
16822 __cil_tmp110 = __cil_tmp109 + __cil_tmp108;
16823#line 1402
16824 __cil_tmp111 = (size_t )txlen;
16825#line 1402
16826 memmove(__cil_tmp107, __cil_tmp110, __cil_tmp111);
16827 }
16828 }
16829 }
16830 {
16831#line 1405
16832 __cil_tmp112 = (unsigned long )skb;
16833#line 1405
16834 __cil_tmp113 = __cil_tmp112 + 104;
16835#line 1405
16836 __cil_tmp114 = *((unsigned int *)__cil_tmp113);
16837#line 1405
16838 __cil_tmp115 = 2312U - __cil_tmp114;
16839#line 1405
16840 skb_put(skb, __cil_tmp115);
16841#line 1406
16842 __cil_tmp116 = tx_blocks * 256U;
16843#line 1406
16844 skb_trim(skb, __cil_tmp116);
16845#line 1409
16846 tmp___2 = mwifiex_pcie_send_boot_cmd(adapter, skb);
16847 }
16848#line 1409
16849 if (tmp___2 != 0) {
16850 {
16851#line 1410
16852 __cil_tmp117 = (unsigned long )adapter;
16853#line 1410
16854 __cil_tmp118 = __cil_tmp117 + 72;
16855#line 1410
16856 __cil_tmp119 = *((struct device **)__cil_tmp118);
16857#line 1410
16858 __cil_tmp120 = (struct device const *)__cil_tmp119;
16859#line 1410
16860 dev_err(__cil_tmp120, "Failed to send firmware download command\n");
16861#line 1412
16862 ret = -1;
16863 }
16864#line 1413
16865 goto done;
16866 } else {
16867
16868 }
16869 ldv_46893:
16870 {
16871#line 1417
16872 tmp___3 = mwifiex_read_reg(adapter, 3100, & ireg_intr);
16873 }
16874#line 1417
16875 if (tmp___3 != 0) {
16876 {
16877#line 1419
16878 __cil_tmp121 = (unsigned long )adapter;
16879#line 1419
16880 __cil_tmp122 = __cil_tmp121 + 72;
16881#line 1419
16882 __cil_tmp123 = *((struct device **)__cil_tmp122);
16883#line 1419
16884 __cil_tmp124 = (struct device const *)__cil_tmp123;
16885#line 1419
16886 dev_err(__cil_tmp124, "%s: Failed to read interrupt status during fw dnld.\n",
16887 "mwifiex_prog_fw_w_helper");
16888#line 1422
16889 ret = -1;
16890 }
16891#line 1423
16892 goto done;
16893 } else {
16894
16895 }
16896 {
16897#line 1426
16898 __cil_tmp125 = & ireg_intr;
16899#line 1426
16900 __cil_tmp126 = *__cil_tmp125;
16901#line 1426
16902 __cil_tmp127 = (unsigned long )__cil_tmp126;
16903#line 1426
16904 __cil_tmp128 = __cil_tmp127 & 2UL;
16905#line 1426
16906 if (__cil_tmp128 != 0UL) {
16907#line 1426
16908 goto ldv_46893;
16909 } else {
16910#line 1428
16911 goto ldv_46894;
16912 }
16913 }
16914 ldv_46894:
16915#line 1427
16916 offset = offset + txlen;
16917#line 1428
16918 goto ldv_46895;
16919 ldv_46888:
16920 {
16921#line 1430
16922 __cil_tmp129 = & descriptor___1;
16923#line 1430
16924 *((char const **)__cil_tmp129) = "mwifiex_pcie";
16925#line 1430
16926 __cil_tmp130 = (unsigned long )(& descriptor___1) + 8;
16927#line 1430
16928 *((char const **)__cil_tmp130) = "mwifiex_prog_fw_w_helper";
16929#line 1430
16930 __cil_tmp131 = (unsigned long )(& descriptor___1) + 16;
16931#line 1430
16932 *((char const **)__cil_tmp131) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
16933#line 1430
16934 __cil_tmp132 = (unsigned long )(& descriptor___1) + 24;
16935#line 1430
16936 *((char const **)__cil_tmp132) = "info:\nFW download over, size %d bytes\n";
16937#line 1430
16938 __cil_tmp133 = (unsigned long )(& descriptor___1) + 32;
16939#line 1430
16940 *((unsigned int *)__cil_tmp133) = 1431U;
16941#line 1430
16942 __cil_tmp134 = (unsigned long )(& descriptor___1) + 35;
16943#line 1430
16944 *((unsigned char *)__cil_tmp134) = (unsigned char)0;
16945#line 1430
16946 __cil_tmp135 = (unsigned long )(& descriptor___1) + 35;
16947#line 1430
16948 __cil_tmp136 = *((unsigned char *)__cil_tmp135);
16949#line 1430
16950 __cil_tmp137 = (long )__cil_tmp136;
16951#line 1430
16952 __cil_tmp138 = __cil_tmp137 & 1L;
16953#line 1430
16954 tmp___4 = __builtin_expect(__cil_tmp138, 0L);
16955 }
16956#line 1430
16957 if (tmp___4 != 0L) {
16958 {
16959#line 1430
16960 __cil_tmp139 = (unsigned long )adapter;
16961#line 1430
16962 __cil_tmp140 = __cil_tmp139 + 72;
16963#line 1430
16964 __cil_tmp141 = *((struct device **)__cil_tmp140);
16965#line 1430
16966 __cil_tmp142 = (struct device const *)__cil_tmp141;
16967#line 1430
16968 __dynamic_dev_dbg(& descriptor___1, __cil_tmp142, "info:\nFW download over, size %d bytes\n",
16969 offset);
16970 }
16971 } else {
16972
16973 }
16974#line 1433
16975 ret = 0;
16976 done:
16977 {
16978#line 1436
16979 dev_kfree_skb_any(skb);
16980 }
16981#line 1437
16982 return (ret);
16983}
16984}
16985#line 1446 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
16986static int mwifiex_check_fw_status(struct mwifiex_adapter *adapter , u32 poll_num )
16987{ int ret ;
16988 u32 firmware_stat ;
16989 u32 winner_status ;
16990 u32 tries ;
16991 int tmp ;
16992 struct _ddebug descriptor ;
16993 long tmp___0 ;
16994 int tmp___1 ;
16995 int tmp___2 ;
16996 unsigned long __ms ;
16997 unsigned long tmp___3 ;
16998 int tmp___4 ;
16999 unsigned long __cil_tmp15 ;
17000 unsigned long __cil_tmp16 ;
17001 struct device *__cil_tmp17 ;
17002 struct device const *__cil_tmp18 ;
17003 struct _ddebug *__cil_tmp19 ;
17004 unsigned long __cil_tmp20 ;
17005 unsigned long __cil_tmp21 ;
17006 unsigned long __cil_tmp22 ;
17007 unsigned long __cil_tmp23 ;
17008 unsigned long __cil_tmp24 ;
17009 unsigned long __cil_tmp25 ;
17010 unsigned char __cil_tmp26 ;
17011 long __cil_tmp27 ;
17012 long __cil_tmp28 ;
17013 unsigned long __cil_tmp29 ;
17014 unsigned long __cil_tmp30 ;
17015 struct device *__cil_tmp31 ;
17016 struct device const *__cil_tmp32 ;
17017 unsigned long __cil_tmp33 ;
17018 unsigned long __cil_tmp34 ;
17019 struct device *__cil_tmp35 ;
17020 struct device const *__cil_tmp36 ;
17021 u32 *__cil_tmp37 ;
17022 u32 __cil_tmp38 ;
17023 u32 *__cil_tmp39 ;
17024 u32 __cil_tmp40 ;
17025 unsigned long __cil_tmp41 ;
17026 unsigned long __cil_tmp42 ;
17027 struct device *__cil_tmp43 ;
17028 struct device const *__cil_tmp44 ;
17029 unsigned long __cil_tmp45 ;
17030 unsigned long __cil_tmp46 ;
17031 unsigned long __cil_tmp47 ;
17032 unsigned long __cil_tmp48 ;
17033 struct device *__cil_tmp49 ;
17034 struct device const *__cil_tmp50 ;
17035 unsigned long __cil_tmp51 ;
17036 unsigned long __cil_tmp52 ;
17037 int __cil_tmp53 ;
17038
17039 {
17040 {
17041#line 1448
17042 ret = 0;
17043#line 1453
17044 tmp = mwifiex_write_reg(adapter, 3132, 15U);
17045 }
17046#line 1453
17047 if (tmp != 0) {
17048 {
17049#line 1455
17050 __cil_tmp15 = (unsigned long )adapter;
17051#line 1455
17052 __cil_tmp16 = __cil_tmp15 + 72;
17053#line 1455
17054 __cil_tmp17 = *((struct device **)__cil_tmp16);
17055#line 1455
17056 __cil_tmp18 = (struct device const *)__cil_tmp17;
17057#line 1455
17058 dev_warn(__cil_tmp18, "Write register failed\n");
17059 }
17060#line 1456
17061 return (-1);
17062 } else {
17063
17064 }
17065 {
17066#line 1459
17067 __cil_tmp19 = & descriptor;
17068#line 1459
17069 *((char const **)__cil_tmp19) = "mwifiex_pcie";
17070#line 1459
17071 __cil_tmp20 = (unsigned long )(& descriptor) + 8;
17072#line 1459
17073 *((char const **)__cil_tmp20) = "mwifiex_check_fw_status";
17074#line 1459
17075 __cil_tmp21 = (unsigned long )(& descriptor) + 16;
17076#line 1459
17077 *((char const **)__cil_tmp21) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
17078#line 1459
17079 __cil_tmp22 = (unsigned long )(& descriptor) + 24;
17080#line 1459
17081 *((char const **)__cil_tmp22) = "Setting driver ready signature\n";
17082#line 1459
17083 __cil_tmp23 = (unsigned long )(& descriptor) + 32;
17084#line 1459
17085 *((unsigned int *)__cil_tmp23) = 1459U;
17086#line 1459
17087 __cil_tmp24 = (unsigned long )(& descriptor) + 35;
17088#line 1459
17089 *((unsigned char *)__cil_tmp24) = (unsigned char)0;
17090#line 1459
17091 __cil_tmp25 = (unsigned long )(& descriptor) + 35;
17092#line 1459
17093 __cil_tmp26 = *((unsigned char *)__cil_tmp25);
17094#line 1459
17095 __cil_tmp27 = (long )__cil_tmp26;
17096#line 1459
17097 __cil_tmp28 = __cil_tmp27 & 1L;
17098#line 1459
17099 tmp___0 = __builtin_expect(__cil_tmp28, 0L);
17100 }
17101#line 1459
17102 if (tmp___0 != 0L) {
17103 {
17104#line 1459
17105 __cil_tmp29 = (unsigned long )adapter;
17106#line 1459
17107 __cil_tmp30 = __cil_tmp29 + 72;
17108#line 1459
17109 __cil_tmp31 = *((struct device **)__cil_tmp30);
17110#line 1459
17111 __cil_tmp32 = (struct device const *)__cil_tmp31;
17112#line 1459
17113 __dynamic_dev_dbg(& descriptor, __cil_tmp32, "Setting driver ready signature\n");
17114 }
17115 } else {
17116
17117 }
17118 {
17119#line 1460
17120 tmp___1 = mwifiex_write_reg(adapter, 3312, 4275878400U);
17121 }
17122#line 1460
17123 if (tmp___1 != 0) {
17124 {
17125#line 1461
17126 __cil_tmp33 = (unsigned long )adapter;
17127#line 1461
17128 __cil_tmp34 = __cil_tmp33 + 72;
17129#line 1461
17130 __cil_tmp35 = *((struct device **)__cil_tmp34);
17131#line 1461
17132 __cil_tmp36 = (struct device const *)__cil_tmp35;
17133#line 1461
17134 dev_err(__cil_tmp36, "Failed to write driver ready signature\n");
17135 }
17136#line 1463
17137 return (-1);
17138 } else {
17139
17140 }
17141#line 1467
17142 tries = 0U;
17143#line 1467
17144 goto ldv_46914;
17145 ldv_46913:
17146 {
17147#line 1468
17148 tmp___2 = mwifiex_read_reg(adapter, 3140, & firmware_stat);
17149 }
17150#line 1468
17151 if (tmp___2 != 0) {
17152#line 1470
17153 ret = -1;
17154 } else {
17155#line 1472
17156 ret = 0;
17157 }
17158#line 1473
17159 if (ret != 0) {
17160#line 1474
17161 goto ldv_46907;
17162 } else {
17163
17164 }
17165 {
17166#line 1475
17167 __cil_tmp37 = & firmware_stat;
17168#line 1475
17169 __cil_tmp38 = *__cil_tmp37;
17170#line 1475
17171 if (__cil_tmp38 == 4275878400U) {
17172#line 1476
17173 ret = 0;
17174#line 1477
17175 goto ldv_46908;
17176 } else {
17177#line 1479
17178 __ms = 100UL;
17179#line 1479
17180 goto ldv_46911;
17181 ldv_46910:
17182 {
17183#line 1479
17184 __const_udelay(4295000UL);
17185 }
17186 ldv_46911:
17187#line 1479
17188 tmp___3 = __ms;
17189#line 1479
17190 __ms = __ms - 1UL;
17191#line 1479
17192 if (tmp___3 != 0UL) {
17193#line 1480
17194 goto ldv_46910;
17195 } else {
17196#line 1482
17197 goto ldv_46912;
17198 }
17199 ldv_46912:
17200#line 1480
17201 ret = -1;
17202 }
17203 }
17204 ldv_46907:
17205#line 1467
17206 tries = tries + 1U;
17207 ldv_46914: ;
17208#line 1467
17209 if (tries < poll_num) {
17210#line 1468
17211 goto ldv_46913;
17212 } else {
17213#line 1470
17214 goto ldv_46908;
17215 }
17216 ldv_46908: ;
17217#line 1484
17218 if (ret != 0) {
17219 {
17220#line 1485
17221 tmp___4 = mwifiex_read_reg(adapter, 3140, & winner_status);
17222 }
17223#line 1485
17224 if (tmp___4 != 0) {
17225#line 1487
17226 ret = -1;
17227 } else {
17228 {
17229#line 1488
17230 __cil_tmp39 = & winner_status;
17231#line 1488
17232 __cil_tmp40 = *__cil_tmp39;
17233#line 1488
17234 if (__cil_tmp40 == 0U) {
17235 {
17236#line 1489
17237 __cil_tmp41 = (unsigned long )adapter;
17238#line 1489
17239 __cil_tmp42 = __cil_tmp41 + 72;
17240#line 1489
17241 __cil_tmp43 = *((struct device **)__cil_tmp42);
17242#line 1489
17243 __cil_tmp44 = (struct device const *)__cil_tmp43;
17244#line 1489
17245 dev_err(__cil_tmp44, "PCI-E is the winner\n");
17246#line 1490
17247 __cil_tmp45 = (unsigned long )adapter;
17248#line 1490
17249 __cil_tmp46 = __cil_tmp45 + 64;
17250#line 1490
17251 *((int *)__cil_tmp46) = 1;
17252#line 1491
17253 ret = -1;
17254 }
17255 } else {
17256 {
17257#line 1493
17258 __cil_tmp47 = (unsigned long )adapter;
17259#line 1493
17260 __cil_tmp48 = __cil_tmp47 + 72;
17261#line 1493
17262 __cil_tmp49 = *((struct device **)__cil_tmp48);
17263#line 1493
17264 __cil_tmp50 = (struct device const *)__cil_tmp49;
17265#line 1493
17266 __cil_tmp51 = (unsigned long )adapter;
17267#line 1493
17268 __cil_tmp52 = __cil_tmp51 + 64;
17269#line 1493
17270 __cil_tmp53 = *((int *)__cil_tmp52);
17271#line 1493
17272 dev_err(__cil_tmp50, "PCI-E is not the winner <%#x,%d>, exit dnld\n", ret,
17273 __cil_tmp53);
17274#line 1496
17275 ret = 0;
17276 }
17277 }
17278 }
17279 }
17280 } else {
17281
17282 }
17283#line 1500
17284 return (ret);
17285}
17286}
17287#line 1506 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
17288static void mwifiex_interrupt_status(struct mwifiex_adapter *adapter )
17289{ u32 pcie_ireg ;
17290 unsigned long flags ;
17291 bool tmp ;
17292 int tmp___0 ;
17293 int tmp___1 ;
17294 int tmp___2 ;
17295 int tmp___3 ;
17296 bool tmp___4 ;
17297 unsigned long __cil_tmp10 ;
17298 unsigned long __cil_tmp11 ;
17299 struct device *__cil_tmp12 ;
17300 struct device const *__cil_tmp13 ;
17301 u32 *__cil_tmp14 ;
17302 u32 __cil_tmp15 ;
17303 u32 *__cil_tmp16 ;
17304 u32 __cil_tmp17 ;
17305 u32 *__cil_tmp18 ;
17306 u32 __cil_tmp19 ;
17307 u32 __cil_tmp20 ;
17308 unsigned long __cil_tmp21 ;
17309 unsigned long __cil_tmp22 ;
17310 struct device *__cil_tmp23 ;
17311 struct device const *__cil_tmp24 ;
17312 unsigned long __cil_tmp25 ;
17313 unsigned long __cil_tmp26 ;
17314 u32 *__cil_tmp27 ;
17315 u32 __cil_tmp28 ;
17316 u8 __cil_tmp29 ;
17317 int __cil_tmp30 ;
17318 unsigned long __cil_tmp31 ;
17319 unsigned long __cil_tmp32 ;
17320 u8 __cil_tmp33 ;
17321 int __cil_tmp34 ;
17322 int __cil_tmp35 ;
17323 unsigned long __cil_tmp36 ;
17324 unsigned long __cil_tmp37 ;
17325 spinlock_t *__cil_tmp38 ;
17326 u32 *__cil_tmp39 ;
17327 u32 __cil_tmp40 ;
17328 unsigned long __cil_tmp41 ;
17329 unsigned long __cil_tmp42 ;
17330 unsigned long __cil_tmp43 ;
17331 unsigned long __cil_tmp44 ;
17332 u32 __cil_tmp45 ;
17333 unsigned long __cil_tmp46 ;
17334 unsigned long __cil_tmp47 ;
17335 u32 __cil_tmp48 ;
17336 unsigned long __cil_tmp49 ;
17337 unsigned long __cil_tmp50 ;
17338 struct device *__cil_tmp51 ;
17339 struct device const *__cil_tmp52 ;
17340 unsigned long __cil_tmp53 ;
17341 unsigned long __cil_tmp54 ;
17342 u16 __cil_tmp55 ;
17343 unsigned int __cil_tmp56 ;
17344 unsigned long __cil_tmp57 ;
17345 unsigned long __cil_tmp58 ;
17346 u32 __cil_tmp59 ;
17347 unsigned long __cil_tmp60 ;
17348 unsigned long __cil_tmp61 ;
17349
17350 {
17351 {
17352#line 1511
17353 tmp = mwifiex_pcie_ok_to_access_hw(adapter);
17354 }
17355#line 1511
17356 if (tmp) {
17357#line 1511
17358 tmp___0 = 0;
17359 } else {
17360#line 1511
17361 tmp___0 = 1;
17362 }
17363#line 1511
17364 if (tmp___0) {
17365#line 1512
17366 return;
17367 } else {
17368
17369 }
17370 {
17371#line 1514
17372 tmp___1 = mwifiex_read_reg(adapter, 3120, & pcie_ireg);
17373 }
17374#line 1514
17375 if (tmp___1 != 0) {
17376 {
17377#line 1515
17378 __cil_tmp10 = (unsigned long )adapter;
17379#line 1515
17380 __cil_tmp11 = __cil_tmp10 + 72;
17381#line 1515
17382 __cil_tmp12 = *((struct device **)__cil_tmp11);
17383#line 1515
17384 __cil_tmp13 = (struct device const *)__cil_tmp12;
17385#line 1515
17386 dev_warn(__cil_tmp13, "Read register failed\n");
17387 }
17388#line 1516
17389 return;
17390 } else {
17391
17392 }
17393 {
17394#line 1519
17395 __cil_tmp14 = & pcie_ireg;
17396#line 1519
17397 __cil_tmp15 = *__cil_tmp14;
17398#line 1519
17399 if (__cil_tmp15 != 4294967295U) {
17400 {
17401#line 1519
17402 __cil_tmp16 = & pcie_ireg;
17403#line 1519
17404 __cil_tmp17 = *__cil_tmp16;
17405#line 1519
17406 if (__cil_tmp17 != 0U) {
17407 {
17408#line 1521
17409 mwifiex_pcie_disable_host_int(adapter);
17410#line 1524
17411 __cil_tmp18 = & pcie_ireg;
17412#line 1524
17413 __cil_tmp19 = *__cil_tmp18;
17414#line 1524
17415 __cil_tmp20 = ~ __cil_tmp19;
17416#line 1524
17417 tmp___2 = mwifiex_write_reg(adapter, 3120, __cil_tmp20);
17418 }
17419#line 1524
17420 if (tmp___2 != 0) {
17421 {
17422#line 1526
17423 __cil_tmp21 = (unsigned long )adapter;
17424#line 1526
17425 __cil_tmp22 = __cil_tmp21 + 72;
17426#line 1526
17427 __cil_tmp23 = *((struct device **)__cil_tmp22);
17428#line 1526
17429 __cil_tmp24 = (struct device const *)__cil_tmp23;
17430#line 1526
17431 dev_warn(__cil_tmp24, "Write register failed\n");
17432 }
17433#line 1527
17434 return;
17435 } else {
17436
17437 }
17438 {
17439#line 1529
17440 ldv_spin_lock();
17441#line 1530
17442 __cil_tmp25 = (unsigned long )adapter;
17443#line 1530
17444 __cil_tmp26 = __cil_tmp25 + 760;
17445#line 1530
17446 __cil_tmp27 = & pcie_ireg;
17447#line 1530
17448 __cil_tmp28 = *__cil_tmp27;
17449#line 1530
17450 __cil_tmp29 = (u8 )__cil_tmp28;
17451#line 1530
17452 __cil_tmp30 = (int )__cil_tmp29;
17453#line 1530
17454 __cil_tmp31 = (unsigned long )adapter;
17455#line 1530
17456 __cil_tmp32 = __cil_tmp31 + 760;
17457#line 1530
17458 __cil_tmp33 = *((u8 *)__cil_tmp32);
17459#line 1530
17460 __cil_tmp34 = (int )__cil_tmp33;
17461#line 1530
17462 __cil_tmp35 = __cil_tmp34 | __cil_tmp30;
17463#line 1530
17464 *((u8 *)__cil_tmp26) = (u8 )__cil_tmp35;
17465#line 1531
17466 __cil_tmp36 = (unsigned long )adapter;
17467#line 1531
17468 __cil_tmp37 = __cil_tmp36 + 688;
17469#line 1531
17470 __cil_tmp38 = (spinlock_t *)__cil_tmp37;
17471#line 1531
17472 spin_unlock_irqrestore(__cil_tmp38, flags);
17473 }
17474 {
17475#line 1533
17476 __cil_tmp39 = & pcie_ireg;
17477#line 1533
17478 __cil_tmp40 = *__cil_tmp39;
17479#line 1533
17480 __cil_tmp41 = (unsigned long )__cil_tmp40;
17481#line 1533
17482 __cil_tmp42 = __cil_tmp41 & 4UL;
17483#line 1533
17484 if (__cil_tmp42 != 0UL) {
17485 {
17486#line 1534
17487 __cil_tmp43 = (unsigned long )adapter;
17488#line 1534
17489 __cil_tmp44 = __cil_tmp43 + 3892;
17490#line 1534
17491 __cil_tmp45 = *((u32 *)__cil_tmp44);
17492#line 1534
17493 if (__cil_tmp45 == 2U) {
17494#line 1534
17495 goto _L;
17496 } else {
17497 {
17498#line 1534
17499 __cil_tmp46 = (unsigned long )adapter;
17500#line 1534
17501 __cil_tmp47 = __cil_tmp46 + 3892;
17502#line 1534
17503 __cil_tmp48 = *((u32 *)__cil_tmp47);
17504#line 1534
17505 if (__cil_tmp48 == 3U) {
17506 _L:
17507 {
17508#line 1536
17509 mwifiex_pcie_enable_host_int(adapter);
17510#line 1537
17511 tmp___3 = mwifiex_write_reg(adapter, 3096, 4U);
17512 }
17513#line 1537
17514 if (tmp___3 != 0) {
17515 {
17516#line 1541
17517 __cil_tmp49 = (unsigned long )adapter;
17518#line 1541
17519 __cil_tmp50 = __cil_tmp49 + 72;
17520#line 1541
17521 __cil_tmp51 = *((struct device **)__cil_tmp50);
17522#line 1541
17523 __cil_tmp52 = (struct device const *)__cil_tmp51;
17524#line 1541
17525 dev_warn(__cil_tmp52, "Write register failed\n");
17526 }
17527#line 1543
17528 return;
17529 } else {
17530
17531 }
17532 } else {
17533 {
17534#line 1547
17535 __cil_tmp53 = (unsigned long )adapter;
17536#line 1547
17537 __cil_tmp54 = __cil_tmp53 + 3926;
17538#line 1547
17539 __cil_tmp55 = *((u16 *)__cil_tmp54);
17540#line 1547
17541 __cil_tmp56 = (unsigned int )__cil_tmp55;
17542#line 1547
17543 if (__cil_tmp56 == 0U) {
17544 {
17545#line 1547
17546 __cil_tmp57 = (unsigned long )adapter;
17547#line 1547
17548 __cil_tmp58 = __cil_tmp57 + 3892;
17549#line 1547
17550 __cil_tmp59 = *((u32 *)__cil_tmp58);
17551#line 1547
17552 if (__cil_tmp59 == 3U) {
17553 {
17554#line 1552
17555 tmp___4 = mwifiex_pcie_ok_to_access_hw(adapter);
17556 }
17557#line 1552
17558 if ((int )tmp___4) {
17559#line 1553
17560 __cil_tmp60 = (unsigned long )adapter;
17561#line 1553
17562 __cil_tmp61 = __cil_tmp60 + 3892;
17563#line 1553
17564 *((u32 *)__cil_tmp61) = 0U;
17565 } else {
17566
17567 }
17568 } else {
17569
17570 }
17571 }
17572 } else {
17573
17574 }
17575 }
17576 }
17577 }
17578 }
17579 }
17580 } else {
17581
17582 }
17583 }
17584 } else {
17585
17586 }
17587 }
17588 } else {
17589
17590 }
17591 }
17592#line 1555
17593 return;
17594}
17595}
17596#line 1564 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
17597static irqreturn_t mwifiex_pcie_interrupt(int irq , void *context )
17598{ struct pci_dev *pdev ;
17599 struct pcie_service_card *card ;
17600 struct mwifiex_adapter *adapter ;
17601 struct _ddebug descriptor ;
17602 long tmp ;
17603 void *tmp___0 ;
17604 struct _ddebug descriptor___0 ;
17605 struct mwifiex_adapter *tmp___1 ;
17606 long tmp___2 ;
17607 struct pci_dev *__cil_tmp12 ;
17608 unsigned long __cil_tmp13 ;
17609 unsigned long __cil_tmp14 ;
17610 struct _ddebug *__cil_tmp15 ;
17611 unsigned long __cil_tmp16 ;
17612 unsigned long __cil_tmp17 ;
17613 unsigned long __cil_tmp18 ;
17614 unsigned long __cil_tmp19 ;
17615 unsigned long __cil_tmp20 ;
17616 unsigned long __cil_tmp21 ;
17617 unsigned char __cil_tmp22 ;
17618 long __cil_tmp23 ;
17619 long __cil_tmp24 ;
17620 u8 *__cil_tmp25 ;
17621 struct pcie_service_card *__cil_tmp26 ;
17622 unsigned long __cil_tmp27 ;
17623 unsigned long __cil_tmp28 ;
17624 struct mwifiex_adapter *__cil_tmp29 ;
17625 unsigned long __cil_tmp30 ;
17626 unsigned long __cil_tmp31 ;
17627 unsigned long __cil_tmp32 ;
17628 struct mwifiex_adapter *__cil_tmp33 ;
17629 unsigned long __cil_tmp34 ;
17630 struct _ddebug *__cil_tmp35 ;
17631 unsigned long __cil_tmp36 ;
17632 unsigned long __cil_tmp37 ;
17633 unsigned long __cil_tmp38 ;
17634 unsigned long __cil_tmp39 ;
17635 unsigned long __cil_tmp40 ;
17636 unsigned long __cil_tmp41 ;
17637 unsigned char __cil_tmp42 ;
17638 long __cil_tmp43 ;
17639 long __cil_tmp44 ;
17640 struct pcie_service_card *__cil_tmp45 ;
17641 unsigned long __cil_tmp46 ;
17642 unsigned long __cil_tmp47 ;
17643 unsigned long __cil_tmp48 ;
17644 unsigned long __cil_tmp49 ;
17645 unsigned long __cil_tmp50 ;
17646 unsigned long __cil_tmp51 ;
17647 unsigned long __cil_tmp52 ;
17648 unsigned long __cil_tmp53 ;
17649 bool __cil_tmp54 ;
17650 unsigned long __cil_tmp55 ;
17651 unsigned long __cil_tmp56 ;
17652 struct workqueue_struct *__cil_tmp57 ;
17653 unsigned long __cil_tmp58 ;
17654 unsigned long __cil_tmp59 ;
17655 struct work_struct *__cil_tmp60 ;
17656
17657 {
17658#line 1566
17659 pdev = (struct pci_dev *)context;
17660 {
17661#line 1570
17662 __cil_tmp12 = (struct pci_dev *)0;
17663#line 1570
17664 __cil_tmp13 = (unsigned long )__cil_tmp12;
17665#line 1570
17666 __cil_tmp14 = (unsigned long )pdev;
17667#line 1570
17668 if (__cil_tmp14 == __cil_tmp13) {
17669 {
17670#line 1571
17671 __cil_tmp15 = & descriptor;
17672#line 1571
17673 *((char const **)__cil_tmp15) = "mwifiex_pcie";
17674#line 1571
17675 __cil_tmp16 = (unsigned long )(& descriptor) + 8;
17676#line 1571
17677 *((char const **)__cil_tmp16) = "mwifiex_pcie_interrupt";
17678#line 1571
17679 __cil_tmp17 = (unsigned long )(& descriptor) + 16;
17680#line 1571
17681 *((char const **)__cil_tmp17) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
17682#line 1571
17683 __cil_tmp18 = (unsigned long )(& descriptor) + 24;
17684#line 1571
17685 *((char const **)__cil_tmp18) = "info: %s: pdev is NULL\n";
17686#line 1571
17687 __cil_tmp19 = (unsigned long )(& descriptor) + 32;
17688#line 1571
17689 *((unsigned int *)__cil_tmp19) = 1571U;
17690#line 1571
17691 __cil_tmp20 = (unsigned long )(& descriptor) + 35;
17692#line 1571
17693 *((unsigned char *)__cil_tmp20) = (unsigned char)0;
17694#line 1571
17695 __cil_tmp21 = (unsigned long )(& descriptor) + 35;
17696#line 1571
17697 __cil_tmp22 = *((unsigned char *)__cil_tmp21);
17698#line 1571
17699 __cil_tmp23 = (long )__cil_tmp22;
17700#line 1571
17701 __cil_tmp24 = __cil_tmp23 & 1L;
17702#line 1571
17703 tmp = __builtin_expect(__cil_tmp24, 0L);
17704 }
17705#line 1571
17706 if (tmp != 0L) {
17707 {
17708#line 1571
17709 __cil_tmp25 = (u8 *)pdev;
17710#line 1571
17711 __dynamic_pr_debug(& descriptor, "mwifiex_pcie: info: %s: pdev is NULL\n", __cil_tmp25);
17712 }
17713 } else {
17714
17715 }
17716#line 1572
17717 goto exit;
17718 } else {
17719
17720 }
17721 }
17722 {
17723#line 1575
17724 tmp___0 = pci_get_drvdata(pdev);
17725#line 1575
17726 card = (struct pcie_service_card *)tmp___0;
17727 }
17728 {
17729#line 1576
17730 __cil_tmp26 = (struct pcie_service_card *)0;
17731#line 1576
17732 __cil_tmp27 = (unsigned long )__cil_tmp26;
17733#line 1576
17734 __cil_tmp28 = (unsigned long )card;
17735#line 1576
17736 if (__cil_tmp28 == __cil_tmp27) {
17737#line 1576
17738 goto _L;
17739 } else {
17740 {
17741#line 1576
17742 __cil_tmp29 = (struct mwifiex_adapter *)0;
17743#line 1576
17744 __cil_tmp30 = (unsigned long )__cil_tmp29;
17745#line 1576
17746 __cil_tmp31 = (unsigned long )card;
17747#line 1576
17748 __cil_tmp32 = __cil_tmp31 + 8;
17749#line 1576
17750 __cil_tmp33 = *((struct mwifiex_adapter **)__cil_tmp32);
17751#line 1576
17752 __cil_tmp34 = (unsigned long )__cil_tmp33;
17753#line 1576
17754 if (__cil_tmp34 == __cil_tmp30) {
17755 _L:
17756 {
17757#line 1577
17758 __cil_tmp35 = & descriptor___0;
17759#line 1577
17760 *((char const **)__cil_tmp35) = "mwifiex_pcie";
17761#line 1577
17762 __cil_tmp36 = (unsigned long )(& descriptor___0) + 8;
17763#line 1577
17764 *((char const **)__cil_tmp36) = "mwifiex_pcie_interrupt";
17765#line 1577
17766 __cil_tmp37 = (unsigned long )(& descriptor___0) + 16;
17767#line 1577
17768 *((char const **)__cil_tmp37) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
17769#line 1577
17770 __cil_tmp38 = (unsigned long )(& descriptor___0) + 24;
17771#line 1577
17772 *((char const **)__cil_tmp38) = "info: %s: card=%p adapter=%p\n";
17773#line 1577
17774 __cil_tmp39 = (unsigned long )(& descriptor___0) + 32;
17775#line 1577
17776 *((unsigned int *)__cil_tmp39) = 1578U;
17777#line 1577
17778 __cil_tmp40 = (unsigned long )(& descriptor___0) + 35;
17779#line 1577
17780 *((unsigned char *)__cil_tmp40) = (unsigned char)0;
17781#line 1577
17782 __cil_tmp41 = (unsigned long )(& descriptor___0) + 35;
17783#line 1577
17784 __cil_tmp42 = *((unsigned char *)__cil_tmp41);
17785#line 1577
17786 __cil_tmp43 = (long )__cil_tmp42;
17787#line 1577
17788 __cil_tmp44 = __cil_tmp43 & 1L;
17789#line 1577
17790 tmp___2 = __builtin_expect(__cil_tmp44, 0L);
17791 }
17792#line 1577
17793 if (tmp___2 != 0L) {
17794 {
17795#line 1577
17796 __cil_tmp45 = (struct pcie_service_card *)0;
17797#line 1577
17798 __cil_tmp46 = (unsigned long )__cil_tmp45;
17799#line 1577
17800 __cil_tmp47 = (unsigned long )card;
17801#line 1577
17802 if (__cil_tmp47 != __cil_tmp46) {
17803#line 1577
17804 __cil_tmp48 = (unsigned long )card;
17805#line 1577
17806 __cil_tmp49 = __cil_tmp48 + 8;
17807#line 1577
17808 tmp___1 = *((struct mwifiex_adapter **)__cil_tmp49);
17809 } else {
17810#line 1577
17811 tmp___1 = (struct mwifiex_adapter *)0;
17812 }
17813 }
17814 {
17815#line 1577
17816 __dynamic_pr_debug(& descriptor___0, "mwifiex_pcie: info: %s: card=%p adapter=%p\n",
17817 "mwifiex_pcie_interrupt", card, tmp___1);
17818 }
17819 } else {
17820
17821 }
17822#line 1579
17823 goto exit;
17824 } else {
17825
17826 }
17827 }
17828 }
17829 }
17830#line 1581
17831 __cil_tmp50 = (unsigned long )card;
17832#line 1581
17833 __cil_tmp51 = __cil_tmp50 + 8;
17834#line 1581
17835 adapter = *((struct mwifiex_adapter **)__cil_tmp51);
17836 {
17837#line 1583
17838 __cil_tmp52 = (unsigned long )adapter;
17839#line 1583
17840 __cil_tmp53 = __cil_tmp52 + 80;
17841#line 1583
17842 __cil_tmp54 = *((bool *)__cil_tmp53);
17843#line 1583
17844 if ((int )__cil_tmp54) {
17845#line 1584
17846 goto exit;
17847 } else {
17848
17849 }
17850 }
17851 {
17852#line 1586
17853 mwifiex_interrupt_status(adapter);
17854#line 1587
17855 __cil_tmp55 = (unsigned long )adapter;
17856#line 1587
17857 __cil_tmp56 = __cil_tmp55 + 328;
17858#line 1587
17859 __cil_tmp57 = *((struct workqueue_struct **)__cil_tmp56);
17860#line 1587
17861 __cil_tmp58 = (unsigned long )adapter;
17862#line 1587
17863 __cil_tmp59 = __cil_tmp58 + 336;
17864#line 1587
17865 __cil_tmp60 = (struct work_struct *)__cil_tmp59;
17866#line 1587
17867 queue_work(__cil_tmp57, __cil_tmp60);
17868 }
17869 exit: ;
17870#line 1590
17871 return ((irqreturn_t )1);
17872}
17873}
17874#line 1606 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
17875static int mwifiex_process_int_status(struct mwifiex_adapter *adapter )
17876{ int ret ;
17877 u32 pcie_ireg ;
17878 unsigned long flags ;
17879 struct _ddebug descriptor ;
17880 long tmp ;
17881 struct _ddebug descriptor___0 ;
17882 long tmp___0 ;
17883 struct _ddebug descriptor___1 ;
17884 long tmp___1 ;
17885 struct _ddebug descriptor___2 ;
17886 long tmp___2 ;
17887 int tmp___3 ;
17888 int tmp___4 ;
17889 bool tmp___5 ;
17890 struct _ddebug descriptor___3 ;
17891 long tmp___6 ;
17892 u32 *__cil_tmp18 ;
17893 unsigned long __cil_tmp19 ;
17894 unsigned long __cil_tmp20 ;
17895 unsigned long __cil_tmp21 ;
17896 unsigned long __cil_tmp22 ;
17897 u8 __cil_tmp23 ;
17898 unsigned int __cil_tmp24 ;
17899 unsigned int __cil_tmp25 ;
17900 unsigned long __cil_tmp26 ;
17901 unsigned long __cil_tmp27 ;
17902 spinlock_t *__cil_tmp28 ;
17903 unsigned long __cil_tmp29 ;
17904 unsigned long __cil_tmp30 ;
17905 u8 __cil_tmp31 ;
17906 int __cil_tmp32 ;
17907 unsigned long __cil_tmp33 ;
17908 unsigned long __cil_tmp34 ;
17909 unsigned long __cil_tmp35 ;
17910 unsigned long __cil_tmp36 ;
17911 u8 __cil_tmp37 ;
17912 unsigned int __cil_tmp38 ;
17913 unsigned int __cil_tmp39 ;
17914 unsigned long __cil_tmp40 ;
17915 unsigned long __cil_tmp41 ;
17916 u8 __cil_tmp42 ;
17917 unsigned int __cil_tmp43 ;
17918 struct _ddebug *__cil_tmp44 ;
17919 unsigned long __cil_tmp45 ;
17920 unsigned long __cil_tmp46 ;
17921 unsigned long __cil_tmp47 ;
17922 unsigned long __cil_tmp48 ;
17923 unsigned long __cil_tmp49 ;
17924 unsigned long __cil_tmp50 ;
17925 unsigned char __cil_tmp51 ;
17926 long __cil_tmp52 ;
17927 long __cil_tmp53 ;
17928 unsigned long __cil_tmp54 ;
17929 unsigned long __cil_tmp55 ;
17930 struct device *__cil_tmp56 ;
17931 struct device const *__cil_tmp57 ;
17932 unsigned long __cil_tmp58 ;
17933 unsigned long __cil_tmp59 ;
17934 unsigned long __cil_tmp60 ;
17935 unsigned long __cil_tmp61 ;
17936 u8 __cil_tmp62 ;
17937 unsigned long __cil_tmp63 ;
17938 unsigned long __cil_tmp64 ;
17939 unsigned long __cil_tmp65 ;
17940 unsigned long __cil_tmp66 ;
17941 unsigned long __cil_tmp67 ;
17942 unsigned long __cil_tmp68 ;
17943 u8 __cil_tmp69 ;
17944 unsigned int __cil_tmp70 ;
17945 unsigned int __cil_tmp71 ;
17946 struct _ddebug *__cil_tmp72 ;
17947 unsigned long __cil_tmp73 ;
17948 unsigned long __cil_tmp74 ;
17949 unsigned long __cil_tmp75 ;
17950 unsigned long __cil_tmp76 ;
17951 unsigned long __cil_tmp77 ;
17952 unsigned long __cil_tmp78 ;
17953 unsigned char __cil_tmp79 ;
17954 long __cil_tmp80 ;
17955 long __cil_tmp81 ;
17956 unsigned long __cil_tmp82 ;
17957 unsigned long __cil_tmp83 ;
17958 struct device *__cil_tmp84 ;
17959 struct device const *__cil_tmp85 ;
17960 unsigned long __cil_tmp86 ;
17961 unsigned long __cil_tmp87 ;
17962 u8 __cil_tmp88 ;
17963 unsigned long __cil_tmp89 ;
17964 unsigned long __cil_tmp90 ;
17965 unsigned long __cil_tmp91 ;
17966 unsigned long __cil_tmp92 ;
17967 unsigned long __cil_tmp93 ;
17968 unsigned long __cil_tmp94 ;
17969 u8 __cil_tmp95 ;
17970 unsigned int __cil_tmp96 ;
17971 unsigned int __cil_tmp97 ;
17972 struct _ddebug *__cil_tmp98 ;
17973 unsigned long __cil_tmp99 ;
17974 unsigned long __cil_tmp100 ;
17975 unsigned long __cil_tmp101 ;
17976 unsigned long __cil_tmp102 ;
17977 unsigned long __cil_tmp103 ;
17978 unsigned long __cil_tmp104 ;
17979 unsigned char __cil_tmp105 ;
17980 long __cil_tmp106 ;
17981 long __cil_tmp107 ;
17982 unsigned long __cil_tmp108 ;
17983 unsigned long __cil_tmp109 ;
17984 struct device *__cil_tmp110 ;
17985 struct device const *__cil_tmp111 ;
17986 unsigned long __cil_tmp112 ;
17987 unsigned long __cil_tmp113 ;
17988 u8 __cil_tmp114 ;
17989 unsigned long __cil_tmp115 ;
17990 unsigned long __cil_tmp116 ;
17991 unsigned long __cil_tmp117 ;
17992 unsigned long __cil_tmp118 ;
17993 unsigned long __cil_tmp119 ;
17994 unsigned long __cil_tmp120 ;
17995 u8 __cil_tmp121 ;
17996 unsigned int __cil_tmp122 ;
17997 unsigned int __cil_tmp123 ;
17998 unsigned long __cil_tmp124 ;
17999 unsigned long __cil_tmp125 ;
18000 u8 __cil_tmp126 ;
18001 unsigned int __cil_tmp127 ;
18002 struct _ddebug *__cil_tmp128 ;
18003 unsigned long __cil_tmp129 ;
18004 unsigned long __cil_tmp130 ;
18005 unsigned long __cil_tmp131 ;
18006 unsigned long __cil_tmp132 ;
18007 unsigned long __cil_tmp133 ;
18008 unsigned long __cil_tmp134 ;
18009 unsigned char __cil_tmp135 ;
18010 long __cil_tmp136 ;
18011 long __cil_tmp137 ;
18012 unsigned long __cil_tmp138 ;
18013 unsigned long __cil_tmp139 ;
18014 struct device *__cil_tmp140 ;
18015 struct device const *__cil_tmp141 ;
18016 unsigned long __cil_tmp142 ;
18017 unsigned long __cil_tmp143 ;
18018 unsigned long __cil_tmp144 ;
18019 unsigned long __cil_tmp145 ;
18020 struct device *__cil_tmp146 ;
18021 struct device const *__cil_tmp147 ;
18022 u32 *__cil_tmp148 ;
18023 u32 __cil_tmp149 ;
18024 u32 *__cil_tmp150 ;
18025 u32 __cil_tmp151 ;
18026 u32 *__cil_tmp152 ;
18027 u32 __cil_tmp153 ;
18028 u32 __cil_tmp154 ;
18029 unsigned long __cil_tmp155 ;
18030 unsigned long __cil_tmp156 ;
18031 struct device *__cil_tmp157 ;
18032 struct device const *__cil_tmp158 ;
18033 unsigned long __cil_tmp159 ;
18034 unsigned long __cil_tmp160 ;
18035 u32 *__cil_tmp161 ;
18036 u32 __cil_tmp162 ;
18037 u8 __cil_tmp163 ;
18038 int __cil_tmp164 ;
18039 unsigned long __cil_tmp165 ;
18040 unsigned long __cil_tmp166 ;
18041 u8 __cil_tmp167 ;
18042 int __cil_tmp168 ;
18043 int __cil_tmp169 ;
18044 unsigned long __cil_tmp170 ;
18045 unsigned long __cil_tmp171 ;
18046 unsigned long __cil_tmp172 ;
18047 unsigned long __cil_tmp173 ;
18048 u8 __cil_tmp174 ;
18049 unsigned int __cil_tmp175 ;
18050 unsigned int __cil_tmp176 ;
18051 unsigned long __cil_tmp177 ;
18052 unsigned long __cil_tmp178 ;
18053 u8 __cil_tmp179 ;
18054 unsigned long __cil_tmp180 ;
18055 unsigned long __cil_tmp181 ;
18056 struct _ddebug *__cil_tmp182 ;
18057 unsigned long __cil_tmp183 ;
18058 unsigned long __cil_tmp184 ;
18059 unsigned long __cil_tmp185 ;
18060 unsigned long __cil_tmp186 ;
18061 unsigned long __cil_tmp187 ;
18062 unsigned long __cil_tmp188 ;
18063 unsigned char __cil_tmp189 ;
18064 long __cil_tmp190 ;
18065 long __cil_tmp191 ;
18066 unsigned long __cil_tmp192 ;
18067 unsigned long __cil_tmp193 ;
18068 struct device *__cil_tmp194 ;
18069 struct device const *__cil_tmp195 ;
18070 unsigned long __cil_tmp196 ;
18071 unsigned long __cil_tmp197 ;
18072 u8 __cil_tmp198 ;
18073 int __cil_tmp199 ;
18074 unsigned long __cil_tmp200 ;
18075 unsigned long __cil_tmp201 ;
18076 u8 __cil_tmp202 ;
18077 int __cil_tmp203 ;
18078
18079 {
18080 {
18081#line 1609
18082 __cil_tmp18 = & pcie_ireg;
18083#line 1609
18084 *__cil_tmp18 = 0U;
18085#line 1612
18086 ldv_spin_lock();
18087#line 1614
18088 __cil_tmp19 = (unsigned long )adapter;
18089#line 1614
18090 __cil_tmp20 = __cil_tmp19 + 760;
18091#line 1614
18092 __cil_tmp21 = (unsigned long )adapter;
18093#line 1614
18094 __cil_tmp22 = __cil_tmp21 + 760;
18095#line 1614
18096 __cil_tmp23 = *((u8 *)__cil_tmp22);
18097#line 1614
18098 __cil_tmp24 = (unsigned int )__cil_tmp23;
18099#line 1614
18100 __cil_tmp25 = __cil_tmp24 & 15U;
18101#line 1614
18102 *((u8 *)__cil_tmp20) = (u8 )__cil_tmp25;
18103#line 1615
18104 __cil_tmp26 = (unsigned long )adapter;
18105#line 1615
18106 __cil_tmp27 = __cil_tmp26 + 688;
18107#line 1615
18108 __cil_tmp28 = (spinlock_t *)__cil_tmp27;
18109#line 1615
18110 spin_unlock_irqrestore(__cil_tmp28, flags);
18111 }
18112#line 1617
18113 goto ldv_46943;
18114 ldv_46942: ;
18115 {
18116#line 1618
18117 __cil_tmp29 = (unsigned long )adapter;
18118#line 1618
18119 __cil_tmp30 = __cil_tmp29 + 760;
18120#line 1618
18121 __cil_tmp31 = *((u8 *)__cil_tmp30);
18122#line 1618
18123 __cil_tmp32 = (int )__cil_tmp31;
18124#line 1618
18125 if (__cil_tmp32 & 1) {
18126#line 1619
18127 __cil_tmp33 = (unsigned long )adapter;
18128#line 1619
18129 __cil_tmp34 = __cil_tmp33 + 760;
18130#line 1619
18131 __cil_tmp35 = (unsigned long )adapter;
18132#line 1619
18133 __cil_tmp36 = __cil_tmp35 + 760;
18134#line 1619
18135 __cil_tmp37 = *((u8 *)__cil_tmp36);
18136#line 1619
18137 __cil_tmp38 = (unsigned int )__cil_tmp37;
18138#line 1619
18139 __cil_tmp39 = __cil_tmp38 & 254U;
18140#line 1619
18141 *((u8 *)__cil_tmp34) = (u8 )__cil_tmp39;
18142 {
18143#line 1620
18144 __cil_tmp40 = (unsigned long )adapter;
18145#line 1620
18146 __cil_tmp41 = __cil_tmp40 + 3088;
18147#line 1620
18148 __cil_tmp42 = *((u8 *)__cil_tmp41);
18149#line 1620
18150 __cil_tmp43 = (unsigned int )__cil_tmp42;
18151#line 1620
18152 if (__cil_tmp43 != 0U) {
18153 {
18154#line 1621
18155 __cil_tmp44 = & descriptor;
18156#line 1621
18157 *((char const **)__cil_tmp44) = "mwifiex_pcie";
18158#line 1621
18159 __cil_tmp45 = (unsigned long )(& descriptor) + 8;
18160#line 1621
18161 *((char const **)__cil_tmp45) = "mwifiex_process_int_status";
18162#line 1621
18163 __cil_tmp46 = (unsigned long )(& descriptor) + 16;
18164#line 1621
18165 *((char const **)__cil_tmp46) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
18166#line 1621
18167 __cil_tmp47 = (unsigned long )(& descriptor) + 24;
18168#line 1621
18169 *((char const **)__cil_tmp47) = "info: DATA sent intr\n";
18170#line 1621
18171 __cil_tmp48 = (unsigned long )(& descriptor) + 32;
18172#line 1621
18173 *((unsigned int *)__cil_tmp48) = 1621U;
18174#line 1621
18175 __cil_tmp49 = (unsigned long )(& descriptor) + 35;
18176#line 1621
18177 *((unsigned char *)__cil_tmp49) = (unsigned char)0;
18178#line 1621
18179 __cil_tmp50 = (unsigned long )(& descriptor) + 35;
18180#line 1621
18181 __cil_tmp51 = *((unsigned char *)__cil_tmp50);
18182#line 1621
18183 __cil_tmp52 = (long )__cil_tmp51;
18184#line 1621
18185 __cil_tmp53 = __cil_tmp52 & 1L;
18186#line 1621
18187 tmp = __builtin_expect(__cil_tmp53, 0L);
18188 }
18189#line 1621
18190 if (tmp != 0L) {
18191 {
18192#line 1621
18193 __cil_tmp54 = (unsigned long )adapter;
18194#line 1621
18195 __cil_tmp55 = __cil_tmp54 + 72;
18196#line 1621
18197 __cil_tmp56 = *((struct device **)__cil_tmp55);
18198#line 1621
18199 __cil_tmp57 = (struct device const *)__cil_tmp56;
18200#line 1621
18201 __dynamic_dev_dbg(& descriptor, __cil_tmp57, "info: DATA sent intr\n");
18202 }
18203 } else {
18204
18205 }
18206#line 1622
18207 __cil_tmp58 = (unsigned long )adapter;
18208#line 1622
18209 __cil_tmp59 = __cil_tmp58 + 3088;
18210#line 1622
18211 *((u8 *)__cil_tmp59) = (u8 )0U;
18212 } else {
18213
18214 }
18215 }
18216 } else {
18217
18218 }
18219 }
18220 {
18221#line 1625
18222 __cil_tmp60 = (unsigned long )adapter;
18223#line 1625
18224 __cil_tmp61 = __cil_tmp60 + 760;
18225#line 1625
18226 __cil_tmp62 = *((u8 *)__cil_tmp61);
18227#line 1625
18228 __cil_tmp63 = (unsigned long )__cil_tmp62;
18229#line 1625
18230 __cil_tmp64 = __cil_tmp63 & 2UL;
18231#line 1625
18232 if (__cil_tmp64 != 0UL) {
18233 {
18234#line 1626
18235 __cil_tmp65 = (unsigned long )adapter;
18236#line 1626
18237 __cil_tmp66 = __cil_tmp65 + 760;
18238#line 1626
18239 __cil_tmp67 = (unsigned long )adapter;
18240#line 1626
18241 __cil_tmp68 = __cil_tmp67 + 760;
18242#line 1626
18243 __cil_tmp69 = *((u8 *)__cil_tmp68);
18244#line 1626
18245 __cil_tmp70 = (unsigned int )__cil_tmp69;
18246#line 1626
18247 __cil_tmp71 = __cil_tmp70 & 253U;
18248#line 1626
18249 *((u8 *)__cil_tmp66) = (u8 )__cil_tmp71;
18250#line 1627
18251 __cil_tmp72 = & descriptor___0;
18252#line 1627
18253 *((char const **)__cil_tmp72) = "mwifiex_pcie";
18254#line 1627
18255 __cil_tmp73 = (unsigned long )(& descriptor___0) + 8;
18256#line 1627
18257 *((char const **)__cil_tmp73) = "mwifiex_process_int_status";
18258#line 1627
18259 __cil_tmp74 = (unsigned long )(& descriptor___0) + 16;
18260#line 1627
18261 *((char const **)__cil_tmp74) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
18262#line 1627
18263 __cil_tmp75 = (unsigned long )(& descriptor___0) + 24;
18264#line 1627
18265 *((char const **)__cil_tmp75) = "info: Rx DATA\n";
18266#line 1627
18267 __cil_tmp76 = (unsigned long )(& descriptor___0) + 32;
18268#line 1627
18269 *((unsigned int *)__cil_tmp76) = 1627U;
18270#line 1627
18271 __cil_tmp77 = (unsigned long )(& descriptor___0) + 35;
18272#line 1627
18273 *((unsigned char *)__cil_tmp77) = (unsigned char)0;
18274#line 1627
18275 __cil_tmp78 = (unsigned long )(& descriptor___0) + 35;
18276#line 1627
18277 __cil_tmp79 = *((unsigned char *)__cil_tmp78);
18278#line 1627
18279 __cil_tmp80 = (long )__cil_tmp79;
18280#line 1627
18281 __cil_tmp81 = __cil_tmp80 & 1L;
18282#line 1627
18283 tmp___0 = __builtin_expect(__cil_tmp81, 0L);
18284 }
18285#line 1627
18286 if (tmp___0 != 0L) {
18287 {
18288#line 1627
18289 __cil_tmp82 = (unsigned long )adapter;
18290#line 1627
18291 __cil_tmp83 = __cil_tmp82 + 72;
18292#line 1627
18293 __cil_tmp84 = *((struct device **)__cil_tmp83);
18294#line 1627
18295 __cil_tmp85 = (struct device const *)__cil_tmp84;
18296#line 1627
18297 __dynamic_dev_dbg(& descriptor___0, __cil_tmp85, "info: Rx DATA\n");
18298 }
18299 } else {
18300
18301 }
18302 {
18303#line 1628
18304 ret = mwifiex_pcie_process_recv_data(adapter);
18305 }
18306#line 1629
18307 if (ret != 0) {
18308#line 1630
18309 return (ret);
18310 } else {
18311
18312 }
18313 } else {
18314
18315 }
18316 }
18317 {
18318#line 1632
18319 __cil_tmp86 = (unsigned long )adapter;
18320#line 1632
18321 __cil_tmp87 = __cil_tmp86 + 760;
18322#line 1632
18323 __cil_tmp88 = *((u8 *)__cil_tmp87);
18324#line 1632
18325 __cil_tmp89 = (unsigned long )__cil_tmp88;
18326#line 1632
18327 __cil_tmp90 = __cil_tmp89 & 8UL;
18328#line 1632
18329 if (__cil_tmp90 != 0UL) {
18330 {
18331#line 1633
18332 __cil_tmp91 = (unsigned long )adapter;
18333#line 1633
18334 __cil_tmp92 = __cil_tmp91 + 760;
18335#line 1633
18336 __cil_tmp93 = (unsigned long )adapter;
18337#line 1633
18338 __cil_tmp94 = __cil_tmp93 + 760;
18339#line 1633
18340 __cil_tmp95 = *((u8 *)__cil_tmp94);
18341#line 1633
18342 __cil_tmp96 = (unsigned int )__cil_tmp95;
18343#line 1633
18344 __cil_tmp97 = __cil_tmp96 & 247U;
18345#line 1633
18346 *((u8 *)__cil_tmp92) = (u8 )__cil_tmp97;
18347#line 1634
18348 __cil_tmp98 = & descriptor___1;
18349#line 1634
18350 *((char const **)__cil_tmp98) = "mwifiex_pcie";
18351#line 1634
18352 __cil_tmp99 = (unsigned long )(& descriptor___1) + 8;
18353#line 1634
18354 *((char const **)__cil_tmp99) = "mwifiex_process_int_status";
18355#line 1634
18356 __cil_tmp100 = (unsigned long )(& descriptor___1) + 16;
18357#line 1634
18358 *((char const **)__cil_tmp100) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
18359#line 1634
18360 __cil_tmp101 = (unsigned long )(& descriptor___1) + 24;
18361#line 1634
18362 *((char const **)__cil_tmp101) = "info: Rx EVENT\n";
18363#line 1634
18364 __cil_tmp102 = (unsigned long )(& descriptor___1) + 32;
18365#line 1634
18366 *((unsigned int *)__cil_tmp102) = 1634U;
18367#line 1634
18368 __cil_tmp103 = (unsigned long )(& descriptor___1) + 35;
18369#line 1634
18370 *((unsigned char *)__cil_tmp103) = (unsigned char)0;
18371#line 1634
18372 __cil_tmp104 = (unsigned long )(& descriptor___1) + 35;
18373#line 1634
18374 __cil_tmp105 = *((unsigned char *)__cil_tmp104);
18375#line 1634
18376 __cil_tmp106 = (long )__cil_tmp105;
18377#line 1634
18378 __cil_tmp107 = __cil_tmp106 & 1L;
18379#line 1634
18380 tmp___1 = __builtin_expect(__cil_tmp107, 0L);
18381 }
18382#line 1634
18383 if (tmp___1 != 0L) {
18384 {
18385#line 1634
18386 __cil_tmp108 = (unsigned long )adapter;
18387#line 1634
18388 __cil_tmp109 = __cil_tmp108 + 72;
18389#line 1634
18390 __cil_tmp110 = *((struct device **)__cil_tmp109);
18391#line 1634
18392 __cil_tmp111 = (struct device const *)__cil_tmp110;
18393#line 1634
18394 __dynamic_dev_dbg(& descriptor___1, __cil_tmp111, "info: Rx EVENT\n");
18395 }
18396 } else {
18397
18398 }
18399 {
18400#line 1635
18401 ret = mwifiex_pcie_process_event_ready(adapter);
18402 }
18403#line 1636
18404 if (ret != 0) {
18405#line 1637
18406 return (ret);
18407 } else {
18408
18409 }
18410 } else {
18411
18412 }
18413 }
18414 {
18415#line 1640
18416 __cil_tmp112 = (unsigned long )adapter;
18417#line 1640
18418 __cil_tmp113 = __cil_tmp112 + 760;
18419#line 1640
18420 __cil_tmp114 = *((u8 *)__cil_tmp113);
18421#line 1640
18422 __cil_tmp115 = (unsigned long )__cil_tmp114;
18423#line 1640
18424 __cil_tmp116 = __cil_tmp115 & 4UL;
18425#line 1640
18426 if (__cil_tmp116 != 0UL) {
18427#line 1641
18428 __cil_tmp117 = (unsigned long )adapter;
18429#line 1641
18430 __cil_tmp118 = __cil_tmp117 + 760;
18431#line 1641
18432 __cil_tmp119 = (unsigned long )adapter;
18433#line 1641
18434 __cil_tmp120 = __cil_tmp119 + 760;
18435#line 1641
18436 __cil_tmp121 = *((u8 *)__cil_tmp120);
18437#line 1641
18438 __cil_tmp122 = (unsigned int )__cil_tmp121;
18439#line 1641
18440 __cil_tmp123 = __cil_tmp122 & 251U;
18441#line 1641
18442 *((u8 *)__cil_tmp118) = (u8 )__cil_tmp123;
18443 {
18444#line 1642
18445 __cil_tmp124 = (unsigned long )adapter;
18446#line 1642
18447 __cil_tmp125 = __cil_tmp124 + 3089;
18448#line 1642
18449 __cil_tmp126 = *((u8 *)__cil_tmp125);
18450#line 1642
18451 __cil_tmp127 = (unsigned int )__cil_tmp126;
18452#line 1642
18453 if (__cil_tmp127 != 0U) {
18454 {
18455#line 1643
18456 __cil_tmp128 = & descriptor___2;
18457#line 1643
18458 *((char const **)__cil_tmp128) = "mwifiex_pcie";
18459#line 1643
18460 __cil_tmp129 = (unsigned long )(& descriptor___2) + 8;
18461#line 1643
18462 *((char const **)__cil_tmp129) = "mwifiex_process_int_status";
18463#line 1643
18464 __cil_tmp130 = (unsigned long )(& descriptor___2) + 16;
18465#line 1643
18466 *((char const **)__cil_tmp130) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
18467#line 1643
18468 __cil_tmp131 = (unsigned long )(& descriptor___2) + 24;
18469#line 1643
18470 *((char const **)__cil_tmp131) = "info: CMD sent Interrupt\n";
18471#line 1643
18472 __cil_tmp132 = (unsigned long )(& descriptor___2) + 32;
18473#line 1643
18474 *((unsigned int *)__cil_tmp132) = 1644U;
18475#line 1643
18476 __cil_tmp133 = (unsigned long )(& descriptor___2) + 35;
18477#line 1643
18478 *((unsigned char *)__cil_tmp133) = (unsigned char)0;
18479#line 1643
18480 __cil_tmp134 = (unsigned long )(& descriptor___2) + 35;
18481#line 1643
18482 __cil_tmp135 = *((unsigned char *)__cil_tmp134);
18483#line 1643
18484 __cil_tmp136 = (long )__cil_tmp135;
18485#line 1643
18486 __cil_tmp137 = __cil_tmp136 & 1L;
18487#line 1643
18488 tmp___2 = __builtin_expect(__cil_tmp137, 0L);
18489 }
18490#line 1643
18491 if (tmp___2 != 0L) {
18492 {
18493#line 1643
18494 __cil_tmp138 = (unsigned long )adapter;
18495#line 1643
18496 __cil_tmp139 = __cil_tmp138 + 72;
18497#line 1643
18498 __cil_tmp140 = *((struct device **)__cil_tmp139);
18499#line 1643
18500 __cil_tmp141 = (struct device const *)__cil_tmp140;
18501#line 1643
18502 __dynamic_dev_dbg(& descriptor___2, __cil_tmp141, "info: CMD sent Interrupt\n");
18503 }
18504 } else {
18505
18506 }
18507#line 1645
18508 __cil_tmp142 = (unsigned long )adapter;
18509#line 1645
18510 __cil_tmp143 = __cil_tmp142 + 3089;
18511#line 1645
18512 *((u8 *)__cil_tmp143) = (u8 )0U;
18513 } else {
18514
18515 }
18516 }
18517 {
18518#line 1648
18519 ret = mwifiex_pcie_process_cmd_complete(adapter);
18520 }
18521#line 1649
18522 if (ret != 0) {
18523#line 1650
18524 return (ret);
18525 } else {
18526
18527 }
18528 } else {
18529
18530 }
18531 }
18532 {
18533#line 1653
18534 tmp___5 = mwifiex_pcie_ok_to_access_hw(adapter);
18535 }
18536#line 1653
18537 if ((int )tmp___5) {
18538 {
18539#line 1654
18540 tmp___3 = mwifiex_read_reg(adapter, 3120, & pcie_ireg);
18541 }
18542#line 1654
18543 if (tmp___3 != 0) {
18544 {
18545#line 1656
18546 __cil_tmp144 = (unsigned long )adapter;
18547#line 1656
18548 __cil_tmp145 = __cil_tmp144 + 72;
18549#line 1656
18550 __cil_tmp146 = *((struct device **)__cil_tmp145);
18551#line 1656
18552 __cil_tmp147 = (struct device const *)__cil_tmp146;
18553#line 1656
18554 dev_warn(__cil_tmp147, "Read register failed\n");
18555 }
18556#line 1658
18557 return (-1);
18558 } else {
18559
18560 }
18561 {
18562#line 1661
18563 __cil_tmp148 = & pcie_ireg;
18564#line 1661
18565 __cil_tmp149 = *__cil_tmp148;
18566#line 1661
18567 if (__cil_tmp149 != 4294967295U) {
18568 {
18569#line 1661
18570 __cil_tmp150 = & pcie_ireg;
18571#line 1661
18572 __cil_tmp151 = *__cil_tmp150;
18573#line 1661
18574 if (__cil_tmp151 != 0U) {
18575 {
18576#line 1662
18577 __cil_tmp152 = & pcie_ireg;
18578#line 1662
18579 __cil_tmp153 = *__cil_tmp152;
18580#line 1662
18581 __cil_tmp154 = ~ __cil_tmp153;
18582#line 1662
18583 tmp___4 = mwifiex_write_reg(adapter, 3120, __cil_tmp154);
18584 }
18585#line 1662
18586 if (tmp___4 != 0) {
18587 {
18588#line 1665
18589 __cil_tmp155 = (unsigned long )adapter;
18590#line 1665
18591 __cil_tmp156 = __cil_tmp155 + 72;
18592#line 1665
18593 __cil_tmp157 = *((struct device **)__cil_tmp156);
18594#line 1665
18595 __cil_tmp158 = (struct device const *)__cil_tmp157;
18596#line 1665
18597 dev_warn(__cil_tmp158, "Write register failed\n");
18598 }
18599#line 1667
18600 return (-1);
18601 } else {
18602
18603 }
18604#line 1669
18605 __cil_tmp159 = (unsigned long )adapter;
18606#line 1669
18607 __cil_tmp160 = __cil_tmp159 + 760;
18608#line 1669
18609 __cil_tmp161 = & pcie_ireg;
18610#line 1669
18611 __cil_tmp162 = *__cil_tmp161;
18612#line 1669
18613 __cil_tmp163 = (u8 )__cil_tmp162;
18614#line 1669
18615 __cil_tmp164 = (int )__cil_tmp163;
18616#line 1669
18617 __cil_tmp165 = (unsigned long )adapter;
18618#line 1669
18619 __cil_tmp166 = __cil_tmp165 + 760;
18620#line 1669
18621 __cil_tmp167 = *((u8 *)__cil_tmp166);
18622#line 1669
18623 __cil_tmp168 = (int )__cil_tmp167;
18624#line 1669
18625 __cil_tmp169 = __cil_tmp168 | __cil_tmp164;
18626#line 1669
18627 *((u8 *)__cil_tmp160) = (u8 )__cil_tmp169;
18628#line 1670
18629 __cil_tmp170 = (unsigned long )adapter;
18630#line 1670
18631 __cil_tmp171 = __cil_tmp170 + 760;
18632#line 1670
18633 __cil_tmp172 = (unsigned long )adapter;
18634#line 1670
18635 __cil_tmp173 = __cil_tmp172 + 760;
18636#line 1670
18637 __cil_tmp174 = *((u8 *)__cil_tmp173);
18638#line 1670
18639 __cil_tmp175 = (unsigned int )__cil_tmp174;
18640#line 1670
18641 __cil_tmp176 = __cil_tmp175 & 15U;
18642#line 1670
18643 *((u8 *)__cil_tmp171) = (u8 )__cil_tmp176;
18644 } else {
18645
18646 }
18647 }
18648 } else {
18649
18650 }
18651 }
18652 } else {
18653
18654 }
18655 ldv_46943: ;
18656 {
18657#line 1617
18658 __cil_tmp177 = (unsigned long )adapter;
18659#line 1617
18660 __cil_tmp178 = __cil_tmp177 + 760;
18661#line 1617
18662 __cil_tmp179 = *((u8 *)__cil_tmp178);
18663#line 1617
18664 __cil_tmp180 = (unsigned long )__cil_tmp179;
18665#line 1617
18666 __cil_tmp181 = __cil_tmp180 & 15UL;
18667#line 1617
18668 if (__cil_tmp181 != 0UL) {
18669#line 1618
18670 goto ldv_46942;
18671 } else {
18672#line 1620
18673 goto ldv_46944;
18674 }
18675 }
18676 ldv_46944:
18677 {
18678#line 1675
18679 __cil_tmp182 = & descriptor___3;
18680#line 1675
18681 *((char const **)__cil_tmp182) = "mwifiex_pcie";
18682#line 1675
18683 __cil_tmp183 = (unsigned long )(& descriptor___3) + 8;
18684#line 1675
18685 *((char const **)__cil_tmp183) = "mwifiex_process_int_status";
18686#line 1675
18687 __cil_tmp184 = (unsigned long )(& descriptor___3) + 16;
18688#line 1675
18689 *((char const **)__cil_tmp184) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
18690#line 1675
18691 __cil_tmp185 = (unsigned long )(& descriptor___3) + 24;
18692#line 1675
18693 *((char const **)__cil_tmp185) = "info: cmd_sent=%d data_sent=%d\n";
18694#line 1675
18695 __cil_tmp186 = (unsigned long )(& descriptor___3) + 32;
18696#line 1675
18697 *((unsigned int *)__cil_tmp186) = 1676U;
18698#line 1675
18699 __cil_tmp187 = (unsigned long )(& descriptor___3) + 35;
18700#line 1675
18701 *((unsigned char *)__cil_tmp187) = (unsigned char)0;
18702#line 1675
18703 __cil_tmp188 = (unsigned long )(& descriptor___3) + 35;
18704#line 1675
18705 __cil_tmp189 = *((unsigned char *)__cil_tmp188);
18706#line 1675
18707 __cil_tmp190 = (long )__cil_tmp189;
18708#line 1675
18709 __cil_tmp191 = __cil_tmp190 & 1L;
18710#line 1675
18711 tmp___6 = __builtin_expect(__cil_tmp191, 0L);
18712 }
18713#line 1675
18714 if (tmp___6 != 0L) {
18715 {
18716#line 1675
18717 __cil_tmp192 = (unsigned long )adapter;
18718#line 1675
18719 __cil_tmp193 = __cil_tmp192 + 72;
18720#line 1675
18721 __cil_tmp194 = *((struct device **)__cil_tmp193);
18722#line 1675
18723 __cil_tmp195 = (struct device const *)__cil_tmp194;
18724#line 1675
18725 __cil_tmp196 = (unsigned long )adapter;
18726#line 1675
18727 __cil_tmp197 = __cil_tmp196 + 3089;
18728#line 1675
18729 __cil_tmp198 = *((u8 *)__cil_tmp197);
18730#line 1675
18731 __cil_tmp199 = (int )__cil_tmp198;
18732#line 1675
18733 __cil_tmp200 = (unsigned long )adapter;
18734#line 1675
18735 __cil_tmp201 = __cil_tmp200 + 3088;
18736#line 1675
18737 __cil_tmp202 = *((u8 *)__cil_tmp201);
18738#line 1675
18739 __cil_tmp203 = (int )__cil_tmp202;
18740#line 1675
18741 __dynamic_dev_dbg(& descriptor___3, __cil_tmp195, "info: cmd_sent=%d data_sent=%d\n",
18742 __cil_tmp199, __cil_tmp203);
18743 }
18744 } else {
18745
18746 }
18747 {
18748#line 1677
18749 mwifiex_pcie_enable_host_int(adapter);
18750 }
18751#line 1679
18752 return (0);
18753}
18754}
18755#line 1692 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
18756static int mwifiex_pcie_host_to_card(struct mwifiex_adapter *adapter , u8 type , struct sk_buff *skb ,
18757 struct mwifiex_tx_param *tx_param )
18758{ int tmp ;
18759 int tmp___0 ;
18760 struct sk_buff *__cil_tmp7 ;
18761 unsigned long __cil_tmp8 ;
18762 unsigned long __cil_tmp9 ;
18763 unsigned long __cil_tmp10 ;
18764 unsigned long __cil_tmp11 ;
18765 struct device *__cil_tmp12 ;
18766 struct device const *__cil_tmp13 ;
18767 unsigned int __cil_tmp14 ;
18768 unsigned int __cil_tmp15 ;
18769
18770 {
18771 {
18772#line 1696
18773 __cil_tmp7 = (struct sk_buff *)0;
18774#line 1696
18775 __cil_tmp8 = (unsigned long )__cil_tmp7;
18776#line 1696
18777 __cil_tmp9 = (unsigned long )skb;
18778#line 1696
18779 if (__cil_tmp9 == __cil_tmp8) {
18780 {
18781#line 1697
18782 __cil_tmp10 = (unsigned long )adapter;
18783#line 1697
18784 __cil_tmp11 = __cil_tmp10 + 72;
18785#line 1697
18786 __cil_tmp12 = *((struct device **)__cil_tmp11);
18787#line 1697
18788 __cil_tmp13 = (struct device const *)__cil_tmp12;
18789#line 1697
18790 dev_err(__cil_tmp13, "Passed NULL skb to %s\n", "mwifiex_pcie_host_to_card");
18791 }
18792#line 1698
18793 return (-1);
18794 } else {
18795
18796 }
18797 }
18798 {
18799#line 1701
18800 __cil_tmp14 = (unsigned int )type;
18801#line 1701
18802 if (__cil_tmp14 == 0U) {
18803 {
18804#line 1702
18805 tmp = mwifiex_pcie_send_data(adapter, skb);
18806 }
18807#line 1702
18808 return (tmp);
18809 } else {
18810 {
18811#line 1703
18812 __cil_tmp15 = (unsigned int )type;
18813#line 1703
18814 if (__cil_tmp15 == 1U) {
18815 {
18816#line 1704
18817 tmp___0 = mwifiex_pcie_send_cmd(adapter, skb);
18818 }
18819#line 1704
18820 return (tmp___0);
18821 } else {
18822
18823 }
18824 }
18825 }
18826 }
18827#line 1706
18828 return (0);
18829}
18830}
18831#line 1719 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
18832static int mwifiex_pcie_init(struct mwifiex_adapter *adapter )
18833{ struct pcie_service_card *card ;
18834 int ret ;
18835 struct pci_dev *pdev ;
18836 struct _ddebug descriptor ;
18837 long tmp ;
18838 struct _ddebug descriptor___0 ;
18839 long tmp___0 ;
18840 unsigned long __cil_tmp9 ;
18841 unsigned long __cil_tmp10 ;
18842 void *__cil_tmp11 ;
18843 void *__cil_tmp12 ;
18844 struct _ddebug *__cil_tmp13 ;
18845 unsigned long __cil_tmp14 ;
18846 unsigned long __cil_tmp15 ;
18847 unsigned long __cil_tmp16 ;
18848 unsigned long __cil_tmp17 ;
18849 unsigned long __cil_tmp18 ;
18850 unsigned long __cil_tmp19 ;
18851 unsigned char __cil_tmp20 ;
18852 long __cil_tmp21 ;
18853 long __cil_tmp22 ;
18854 unsigned long __cil_tmp23 ;
18855 unsigned long __cil_tmp24 ;
18856 struct device *__cil_tmp25 ;
18857 struct device const *__cil_tmp26 ;
18858 unsigned long __cil_tmp27 ;
18859 unsigned long __cil_tmp28 ;
18860 struct device *__cil_tmp29 ;
18861 struct device const *__cil_tmp30 ;
18862 unsigned long __cil_tmp31 ;
18863 unsigned long __cil_tmp32 ;
18864 struct device *__cil_tmp33 ;
18865 struct device const *__cil_tmp34 ;
18866 unsigned long __cil_tmp35 ;
18867 unsigned long __cil_tmp36 ;
18868 struct device *__cil_tmp37 ;
18869 struct device const *__cil_tmp38 ;
18870 unsigned long __cil_tmp39 ;
18871 unsigned long __cil_tmp40 ;
18872 void *__cil_tmp41 ;
18873 unsigned long __cil_tmp42 ;
18874 unsigned long __cil_tmp43 ;
18875 unsigned long __cil_tmp44 ;
18876 void *__cil_tmp45 ;
18877 unsigned long __cil_tmp46 ;
18878 unsigned long __cil_tmp47 ;
18879 unsigned long __cil_tmp48 ;
18880 struct device *__cil_tmp49 ;
18881 struct device const *__cil_tmp50 ;
18882 unsigned long __cil_tmp51 ;
18883 unsigned long __cil_tmp52 ;
18884 struct device *__cil_tmp53 ;
18885 struct device const *__cil_tmp54 ;
18886 unsigned long __cil_tmp55 ;
18887 unsigned long __cil_tmp56 ;
18888 void *__cil_tmp57 ;
18889 unsigned long __cil_tmp58 ;
18890 unsigned long __cil_tmp59 ;
18891 unsigned long __cil_tmp60 ;
18892 void *__cil_tmp61 ;
18893 unsigned long __cil_tmp62 ;
18894 unsigned long __cil_tmp63 ;
18895 unsigned long __cil_tmp64 ;
18896 struct device *__cil_tmp65 ;
18897 struct device const *__cil_tmp66 ;
18898 struct _ddebug *__cil_tmp67 ;
18899 unsigned long __cil_tmp68 ;
18900 unsigned long __cil_tmp69 ;
18901 unsigned long __cil_tmp70 ;
18902 unsigned long __cil_tmp71 ;
18903 unsigned long __cil_tmp72 ;
18904 unsigned long __cil_tmp73 ;
18905 unsigned char __cil_tmp74 ;
18906 long __cil_tmp75 ;
18907 long __cil_tmp76 ;
18908 unsigned long __cil_tmp77 ;
18909 unsigned long __cil_tmp78 ;
18910 struct device *__cil_tmp79 ;
18911 struct device const *__cil_tmp80 ;
18912 unsigned long __cil_tmp81 ;
18913 unsigned long __cil_tmp82 ;
18914 void *__cil_tmp83 ;
18915 unsigned long __cil_tmp84 ;
18916 unsigned long __cil_tmp85 ;
18917 void *__cil_tmp86 ;
18918 unsigned long __cil_tmp87 ;
18919 unsigned long __cil_tmp88 ;
18920 unsigned long __cil_tmp89 ;
18921 unsigned long __cil_tmp90 ;
18922 void *__cil_tmp91 ;
18923 unsigned long __cil_tmp92 ;
18924 unsigned long __cil_tmp93 ;
18925 void *__cil_tmp94 ;
18926 void *__cil_tmp95 ;
18927
18928 {
18929 {
18930#line 1721
18931 __cil_tmp9 = (unsigned long )adapter;
18932#line 1721
18933 __cil_tmp10 = __cil_tmp9 + 184;
18934#line 1721
18935 __cil_tmp11 = *((void **)__cil_tmp10);
18936#line 1721
18937 card = (struct pcie_service_card *)__cil_tmp11;
18938#line 1723
18939 pdev = *((struct pci_dev **)card);
18940#line 1725
18941 __cil_tmp12 = (void *)card;
18942#line 1725
18943 pci_set_drvdata(pdev, __cil_tmp12);
18944#line 1727
18945 ret = pci_enable_device(pdev);
18946 }
18947#line 1728
18948 if (ret != 0) {
18949#line 1729
18950 goto err_enable_dev;
18951 } else {
18952
18953 }
18954 {
18955#line 1731
18956 pci_set_master(pdev);
18957#line 1733
18958 __cil_tmp13 = & descriptor;
18959#line 1733
18960 *((char const **)__cil_tmp13) = "mwifiex_pcie";
18961#line 1733
18962 __cil_tmp14 = (unsigned long )(& descriptor) + 8;
18963#line 1733
18964 *((char const **)__cil_tmp14) = "mwifiex_pcie_init";
18965#line 1733
18966 __cil_tmp15 = (unsigned long )(& descriptor) + 16;
18967#line 1733
18968 *((char const **)__cil_tmp15) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
18969#line 1733
18970 __cil_tmp16 = (unsigned long )(& descriptor) + 24;
18971#line 1733
18972 *((char const **)__cil_tmp16) = "try set_consistent_dma_mask(32)\n";
18973#line 1733
18974 __cil_tmp17 = (unsigned long )(& descriptor) + 32;
18975#line 1733
18976 *((unsigned int *)__cil_tmp17) = 1733U;
18977#line 1733
18978 __cil_tmp18 = (unsigned long )(& descriptor) + 35;
18979#line 1733
18980 *((unsigned char *)__cil_tmp18) = (unsigned char)0;
18981#line 1733
18982 __cil_tmp19 = (unsigned long )(& descriptor) + 35;
18983#line 1733
18984 __cil_tmp20 = *((unsigned char *)__cil_tmp19);
18985#line 1733
18986 __cil_tmp21 = (long )__cil_tmp20;
18987#line 1733
18988 __cil_tmp22 = __cil_tmp21 & 1L;
18989#line 1733
18990 tmp = __builtin_expect(__cil_tmp22, 0L);
18991 }
18992#line 1733
18993 if (tmp != 0L) {
18994 {
18995#line 1733
18996 __cil_tmp23 = (unsigned long )adapter;
18997#line 1733
18998 __cil_tmp24 = __cil_tmp23 + 72;
18999#line 1733
19000 __cil_tmp25 = *((struct device **)__cil_tmp24);
19001#line 1733
19002 __cil_tmp26 = (struct device const *)__cil_tmp25;
19003#line 1733
19004 __dynamic_dev_dbg(& descriptor, __cil_tmp26, "try set_consistent_dma_mask(32)\n");
19005 }
19006 } else {
19007
19008 }
19009 {
19010#line 1734
19011 ret = pci_set_dma_mask(pdev, 4294967295ULL);
19012 }
19013#line 1735
19014 if (ret != 0) {
19015 {
19016#line 1736
19017 __cil_tmp27 = (unsigned long )adapter;
19018#line 1736
19019 __cil_tmp28 = __cil_tmp27 + 72;
19020#line 1736
19021 __cil_tmp29 = *((struct device **)__cil_tmp28);
19022#line 1736
19023 __cil_tmp30 = (struct device const *)__cil_tmp29;
19024#line 1736
19025 dev_err(__cil_tmp30, "set_dma_mask(32) failed\n");
19026 }
19027#line 1737
19028 goto err_set_dma_mask;
19029 } else {
19030
19031 }
19032 {
19033#line 1740
19034 ret = pci_set_consistent_dma_mask(pdev, 4294967295ULL);
19035 }
19036#line 1741
19037 if (ret != 0) {
19038 {
19039#line 1742
19040 __cil_tmp31 = (unsigned long )adapter;
19041#line 1742
19042 __cil_tmp32 = __cil_tmp31 + 72;
19043#line 1742
19044 __cil_tmp33 = *((struct device **)__cil_tmp32);
19045#line 1742
19046 __cil_tmp34 = (struct device const *)__cil_tmp33;
19047#line 1742
19048 dev_err(__cil_tmp34, "set_consistent_dma_mask(64) failed\n");
19049 }
19050#line 1743
19051 goto err_set_dma_mask;
19052 } else {
19053
19054 }
19055 {
19056#line 1746
19057 ret = pci_request_region(pdev, 0, "Marvell mwifiex PCIe");
19058 }
19059#line 1747
19060 if (ret != 0) {
19061 {
19062#line 1748
19063 __cil_tmp35 = (unsigned long )adapter;
19064#line 1748
19065 __cil_tmp36 = __cil_tmp35 + 72;
19066#line 1748
19067 __cil_tmp37 = *((struct device **)__cil_tmp36);
19068#line 1748
19069 __cil_tmp38 = (struct device const *)__cil_tmp37;
19070#line 1748
19071 dev_err(__cil_tmp38, "req_reg(0) error\n");
19072 }
19073#line 1749
19074 goto err_req_region0;
19075 } else {
19076
19077 }
19078 {
19079#line 1751
19080 __cil_tmp39 = (unsigned long )card;
19081#line 1751
19082 __cil_tmp40 = __cil_tmp39 + 1224;
19083#line 1751
19084 *((void **)__cil_tmp40) = pci_iomap(pdev, 0, 0UL);
19085 }
19086 {
19087#line 1752
19088 __cil_tmp41 = (void *)0;
19089#line 1752
19090 __cil_tmp42 = (unsigned long )__cil_tmp41;
19091#line 1752
19092 __cil_tmp43 = (unsigned long )card;
19093#line 1752
19094 __cil_tmp44 = __cil_tmp43 + 1224;
19095#line 1752
19096 __cil_tmp45 = *((void **)__cil_tmp44);
19097#line 1752
19098 __cil_tmp46 = (unsigned long )__cil_tmp45;
19099#line 1752
19100 if (__cil_tmp46 == __cil_tmp42) {
19101 {
19102#line 1753
19103 __cil_tmp47 = (unsigned long )adapter;
19104#line 1753
19105 __cil_tmp48 = __cil_tmp47 + 72;
19106#line 1753
19107 __cil_tmp49 = *((struct device **)__cil_tmp48);
19108#line 1753
19109 __cil_tmp50 = (struct device const *)__cil_tmp49;
19110#line 1753
19111 dev_err(__cil_tmp50, "iomap(0) error\n");
19112 }
19113#line 1754
19114 goto err_iomap0;
19115 } else {
19116
19117 }
19118 }
19119 {
19120#line 1756
19121 ret = pci_request_region(pdev, 2, "Marvell mwifiex PCIe");
19122 }
19123#line 1757
19124 if (ret != 0) {
19125 {
19126#line 1758
19127 __cil_tmp51 = (unsigned long )adapter;
19128#line 1758
19129 __cil_tmp52 = __cil_tmp51 + 72;
19130#line 1758
19131 __cil_tmp53 = *((struct device **)__cil_tmp52);
19132#line 1758
19133 __cil_tmp54 = (struct device const *)__cil_tmp53;
19134#line 1758
19135 dev_err(__cil_tmp54, "req_reg(2) error\n");
19136 }
19137#line 1759
19138 goto err_req_region2;
19139 } else {
19140
19141 }
19142 {
19143#line 1761
19144 __cil_tmp55 = (unsigned long )card;
19145#line 1761
19146 __cil_tmp56 = __cil_tmp55 + 1232;
19147#line 1761
19148 *((void **)__cil_tmp56) = pci_iomap(pdev, 2, 0UL);
19149 }
19150 {
19151#line 1762
19152 __cil_tmp57 = (void *)0;
19153#line 1762
19154 __cil_tmp58 = (unsigned long )__cil_tmp57;
19155#line 1762
19156 __cil_tmp59 = (unsigned long )card;
19157#line 1762
19158 __cil_tmp60 = __cil_tmp59 + 1232;
19159#line 1762
19160 __cil_tmp61 = *((void **)__cil_tmp60);
19161#line 1762
19162 __cil_tmp62 = (unsigned long )__cil_tmp61;
19163#line 1762
19164 if (__cil_tmp62 == __cil_tmp58) {
19165 {
19166#line 1763
19167 __cil_tmp63 = (unsigned long )adapter;
19168#line 1763
19169 __cil_tmp64 = __cil_tmp63 + 72;
19170#line 1763
19171 __cil_tmp65 = *((struct device **)__cil_tmp64);
19172#line 1763
19173 __cil_tmp66 = (struct device const *)__cil_tmp65;
19174#line 1763
19175 dev_err(__cil_tmp66, "iomap(2) error\n");
19176 }
19177#line 1764
19178 goto err_iomap2;
19179 } else {
19180
19181 }
19182 }
19183 {
19184#line 1767
19185 __cil_tmp67 = & descriptor___0;
19186#line 1767
19187 *((char const **)__cil_tmp67) = "mwifiex_pcie";
19188#line 1767
19189 __cil_tmp68 = (unsigned long )(& descriptor___0) + 8;
19190#line 1767
19191 *((char const **)__cil_tmp68) = "mwifiex_pcie_init";
19192#line 1767
19193 __cil_tmp69 = (unsigned long )(& descriptor___0) + 16;
19194#line 1767
19195 *((char const **)__cil_tmp69) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
19196#line 1767
19197 __cil_tmp70 = (unsigned long )(& descriptor___0) + 24;
19198#line 1767
19199 *((char const **)__cil_tmp70) = "PCI memory map Virt0: %p PCI memory map Virt2: %p\n";
19200#line 1767
19201 __cil_tmp71 = (unsigned long )(& descriptor___0) + 32;
19202#line 1767
19203 *((unsigned int *)__cil_tmp71) = 1769U;
19204#line 1767
19205 __cil_tmp72 = (unsigned long )(& descriptor___0) + 35;
19206#line 1767
19207 *((unsigned char *)__cil_tmp72) = (unsigned char)0;
19208#line 1767
19209 __cil_tmp73 = (unsigned long )(& descriptor___0) + 35;
19210#line 1767
19211 __cil_tmp74 = *((unsigned char *)__cil_tmp73);
19212#line 1767
19213 __cil_tmp75 = (long )__cil_tmp74;
19214#line 1767
19215 __cil_tmp76 = __cil_tmp75 & 1L;
19216#line 1767
19217 tmp___0 = __builtin_expect(__cil_tmp76, 0L);
19218 }
19219#line 1767
19220 if (tmp___0 != 0L) {
19221 {
19222#line 1767
19223 __cil_tmp77 = (unsigned long )adapter;
19224#line 1767
19225 __cil_tmp78 = __cil_tmp77 + 72;
19226#line 1767
19227 __cil_tmp79 = *((struct device **)__cil_tmp78);
19228#line 1767
19229 __cil_tmp80 = (struct device const *)__cil_tmp79;
19230#line 1767
19231 __cil_tmp81 = (unsigned long )card;
19232#line 1767
19233 __cil_tmp82 = __cil_tmp81 + 1224;
19234#line 1767
19235 __cil_tmp83 = *((void **)__cil_tmp82);
19236#line 1767
19237 __cil_tmp84 = (unsigned long )card;
19238#line 1767
19239 __cil_tmp85 = __cil_tmp84 + 1232;
19240#line 1767
19241 __cil_tmp86 = *((void **)__cil_tmp85);
19242#line 1767
19243 __dynamic_dev_dbg(& descriptor___0, __cil_tmp80, "PCI memory map Virt0: %p PCI memory map Virt2: %p\n",
19244 __cil_tmp83, __cil_tmp86);
19245 }
19246 } else {
19247
19248 }
19249 {
19250#line 1771
19251 __cil_tmp87 = (unsigned long )card;
19252#line 1771
19253 __cil_tmp88 = __cil_tmp87 + 1208;
19254#line 1771
19255 *((struct sk_buff **)__cil_tmp88) = (struct sk_buff *)0;
19256#line 1772
19257 ret = mwifiex_pcie_create_txbd_ring(adapter);
19258 }
19259#line 1773
19260 if (ret != 0) {
19261#line 1774
19262 goto err_cre_txbd;
19263 } else {
19264
19265 }
19266 {
19267#line 1775
19268 ret = mwifiex_pcie_create_rxbd_ring(adapter);
19269 }
19270#line 1776
19271 if (ret != 0) {
19272#line 1777
19273 goto err_cre_rxbd;
19274 } else {
19275
19276 }
19277 {
19278#line 1778
19279 ret = mwifiex_pcie_create_evtbd_ring(adapter);
19280 }
19281#line 1779
19282 if (ret != 0) {
19283#line 1780
19284 goto err_cre_evtbd;
19285 } else {
19286
19287 }
19288 {
19289#line 1781
19290 ret = mwifiex_pcie_alloc_cmdrsp_buf(adapter);
19291 }
19292#line 1782
19293 if (ret != 0) {
19294#line 1783
19295 goto err_alloc_cmdbuf;
19296 } else {
19297
19298 }
19299 {
19300#line 1784
19301 ret = mwifiex_pcie_alloc_sleep_cookie_buf(adapter);
19302 }
19303#line 1785
19304 if (ret != 0) {
19305#line 1786
19306 goto err_alloc_cookie;
19307 } else {
19308
19309 }
19310#line 1788
19311 return (ret);
19312 err_alloc_cookie:
19313 {
19314#line 1791
19315 mwifiex_pcie_delete_cmdrsp_buf(adapter);
19316 }
19317 err_alloc_cmdbuf:
19318 {
19319#line 1793
19320 mwifiex_pcie_delete_evtbd_ring(adapter);
19321 }
19322 err_cre_evtbd:
19323 {
19324#line 1795
19325 mwifiex_pcie_delete_rxbd_ring(adapter);
19326 }
19327 err_cre_rxbd:
19328 {
19329#line 1797
19330 mwifiex_pcie_delete_txbd_ring(adapter);
19331 }
19332 err_cre_txbd:
19333 {
19334#line 1799
19335 __cil_tmp89 = (unsigned long )card;
19336#line 1799
19337 __cil_tmp90 = __cil_tmp89 + 1232;
19338#line 1799
19339 __cil_tmp91 = *((void **)__cil_tmp90);
19340#line 1799
19341 pci_iounmap(pdev, __cil_tmp91);
19342 }
19343 err_iomap2:
19344 {
19345#line 1801
19346 pci_release_region(pdev, 2);
19347 }
19348 err_req_region2:
19349 {
19350#line 1803
19351 __cil_tmp92 = (unsigned long )card;
19352#line 1803
19353 __cil_tmp93 = __cil_tmp92 + 1224;
19354#line 1803
19355 __cil_tmp94 = *((void **)__cil_tmp93);
19356#line 1803
19357 pci_iounmap(pdev, __cil_tmp94);
19358 }
19359 err_iomap0:
19360 {
19361#line 1805
19362 pci_release_region(pdev, 0);
19363 }
19364 err_req_region0: ;
19365 err_set_dma_mask:
19366 {
19367#line 1808
19368 pci_disable_device(pdev);
19369 }
19370 err_enable_dev:
19371 {
19372#line 1810
19373 __cil_tmp95 = (void *)0;
19374#line 1810
19375 pci_set_drvdata(pdev, __cil_tmp95);
19376 }
19377#line 1811
19378 return (ret);
19379}
19380}
19381#line 1824 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
19382static void mwifiex_pcie_cleanup(struct mwifiex_adapter *adapter )
19383{ struct pcie_service_card *card ;
19384 struct pci_dev *pdev ;
19385 struct _ddebug descriptor ;
19386 long tmp ;
19387 int tmp___0 ;
19388 unsigned long __cil_tmp7 ;
19389 unsigned long __cil_tmp8 ;
19390 void *__cil_tmp9 ;
19391 unsigned long __cil_tmp10 ;
19392 unsigned long __cil_tmp11 ;
19393 struct _ddebug *__cil_tmp12 ;
19394 unsigned long __cil_tmp13 ;
19395 unsigned long __cil_tmp14 ;
19396 unsigned long __cil_tmp15 ;
19397 unsigned long __cil_tmp16 ;
19398 unsigned long __cil_tmp17 ;
19399 unsigned long __cil_tmp18 ;
19400 unsigned char __cil_tmp19 ;
19401 long __cil_tmp20 ;
19402 long __cil_tmp21 ;
19403 unsigned long __cil_tmp22 ;
19404 unsigned long __cil_tmp23 ;
19405 struct device *__cil_tmp24 ;
19406 struct device const *__cil_tmp25 ;
19407 unsigned int __cil_tmp26 ;
19408 unsigned long __cil_tmp27 ;
19409 unsigned long __cil_tmp28 ;
19410 struct device *__cil_tmp29 ;
19411 struct device const *__cil_tmp30 ;
19412 struct pci_dev *__cil_tmp31 ;
19413 unsigned long __cil_tmp32 ;
19414 unsigned long __cil_tmp33 ;
19415 unsigned long __cil_tmp34 ;
19416 unsigned long __cil_tmp35 ;
19417 void *__cil_tmp36 ;
19418 unsigned long __cil_tmp37 ;
19419 unsigned long __cil_tmp38 ;
19420 void *__cil_tmp39 ;
19421 void *__cil_tmp40 ;
19422
19423 {
19424 {
19425#line 1826
19426 __cil_tmp7 = (unsigned long )adapter;
19427#line 1826
19428 __cil_tmp8 = __cil_tmp7 + 184;
19429#line 1826
19430 __cil_tmp9 = *((void **)__cil_tmp8);
19431#line 1826
19432 card = (struct pcie_service_card *)__cil_tmp9;
19433#line 1827
19434 pdev = *((struct pci_dev **)card);
19435#line 1829
19436 mwifiex_pcie_delete_sleep_cookie_buf(adapter);
19437#line 1830
19438 mwifiex_pcie_delete_cmdrsp_buf(adapter);
19439#line 1831
19440 mwifiex_pcie_delete_evtbd_ring(adapter);
19441#line 1832
19442 mwifiex_pcie_delete_rxbd_ring(adapter);
19443#line 1833
19444 mwifiex_pcie_delete_txbd_ring(adapter);
19445#line 1834
19446 __cil_tmp10 = (unsigned long )card;
19447#line 1834
19448 __cil_tmp11 = __cil_tmp10 + 1208;
19449#line 1834
19450 *((struct sk_buff **)__cil_tmp11) = (struct sk_buff *)0;
19451#line 1836
19452 __cil_tmp12 = & descriptor;
19453#line 1836
19454 *((char const **)__cil_tmp12) = "mwifiex_pcie";
19455#line 1836
19456 __cil_tmp13 = (unsigned long )(& descriptor) + 8;
19457#line 1836
19458 *((char const **)__cil_tmp13) = "mwifiex_pcie_cleanup";
19459#line 1836
19460 __cil_tmp14 = (unsigned long )(& descriptor) + 16;
19461#line 1836
19462 *((char const **)__cil_tmp14) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
19463#line 1836
19464 __cil_tmp15 = (unsigned long )(& descriptor) + 24;
19465#line 1836
19466 *((char const **)__cil_tmp15) = "Clearing driver ready signature\n";
19467#line 1836
19468 __cil_tmp16 = (unsigned long )(& descriptor) + 32;
19469#line 1836
19470 *((unsigned int *)__cil_tmp16) = 1836U;
19471#line 1836
19472 __cil_tmp17 = (unsigned long )(& descriptor) + 35;
19473#line 1836
19474 *((unsigned char *)__cil_tmp17) = (unsigned char)0;
19475#line 1836
19476 __cil_tmp18 = (unsigned long )(& descriptor) + 35;
19477#line 1836
19478 __cil_tmp19 = *((unsigned char *)__cil_tmp18);
19479#line 1836
19480 __cil_tmp20 = (long )__cil_tmp19;
19481#line 1836
19482 __cil_tmp21 = __cil_tmp20 & 1L;
19483#line 1836
19484 tmp = __builtin_expect(__cil_tmp21, 0L);
19485 }
19486#line 1836
19487 if (tmp != 0L) {
19488 {
19489#line 1836
19490 __cil_tmp22 = (unsigned long )adapter;
19491#line 1836
19492 __cil_tmp23 = __cil_tmp22 + 72;
19493#line 1836
19494 __cil_tmp24 = *((struct device **)__cil_tmp23);
19495#line 1836
19496 __cil_tmp25 = (struct device const *)__cil_tmp24;
19497#line 1836
19498 __dynamic_dev_dbg(& descriptor, __cil_tmp25, "Clearing driver ready signature\n");
19499 }
19500 } else {
19501
19502 }
19503 {
19504#line 1837
19505 __cil_tmp26 = (unsigned int )user_rmmod;
19506#line 1837
19507 if (__cil_tmp26 != 0U) {
19508 {
19509#line 1838
19510 tmp___0 = mwifiex_write_reg(adapter, 3312, 0U);
19511 }
19512#line 1838
19513 if (tmp___0 != 0) {
19514 {
19515#line 1839
19516 __cil_tmp27 = (unsigned long )adapter;
19517#line 1839
19518 __cil_tmp28 = __cil_tmp27 + 72;
19519#line 1839
19520 __cil_tmp29 = *((struct device **)__cil_tmp28);
19521#line 1839
19522 __cil_tmp30 = (struct device const *)__cil_tmp29;
19523#line 1839
19524 dev_err(__cil_tmp30, "Failed to write driver not-ready signature\n");
19525 }
19526 } else {
19527
19528 }
19529 } else {
19530
19531 }
19532 }
19533 {
19534#line 1843
19535 __cil_tmp31 = (struct pci_dev *)0;
19536#line 1843
19537 __cil_tmp32 = (unsigned long )__cil_tmp31;
19538#line 1843
19539 __cil_tmp33 = (unsigned long )pdev;
19540#line 1843
19541 if (__cil_tmp33 != __cil_tmp32) {
19542 {
19543#line 1844
19544 __cil_tmp34 = (unsigned long )card;
19545#line 1844
19546 __cil_tmp35 = __cil_tmp34 + 1224;
19547#line 1844
19548 __cil_tmp36 = *((void **)__cil_tmp35);
19549#line 1844
19550 pci_iounmap(pdev, __cil_tmp36);
19551#line 1845
19552 __cil_tmp37 = (unsigned long )card;
19553#line 1845
19554 __cil_tmp38 = __cil_tmp37 + 1232;
19555#line 1845
19556 __cil_tmp39 = *((void **)__cil_tmp38);
19557#line 1845
19558 pci_iounmap(pdev, __cil_tmp39);
19559#line 1847
19560 pci_release_regions(pdev);
19561#line 1848
19562 pci_disable_device(pdev);
19563#line 1849
19564 __cil_tmp40 = (void *)0;
19565#line 1849
19566 pci_set_drvdata(pdev, __cil_tmp40);
19567 }
19568 } else {
19569
19570 }
19571 }
19572#line 1851
19573 return;
19574}
19575}
19576#line 1858 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
19577static int mwifiex_register_dev(struct mwifiex_adapter *adapter )
19578{ int ret ;
19579 struct pcie_service_card *card ;
19580 struct pci_dev *pdev ;
19581 unsigned long __cil_tmp5 ;
19582 unsigned long __cil_tmp6 ;
19583 void *__cil_tmp7 ;
19584 unsigned long __cil_tmp8 ;
19585 unsigned long __cil_tmp9 ;
19586 unsigned long __cil_tmp10 ;
19587 unsigned long __cil_tmp11 ;
19588 unsigned int __cil_tmp12 ;
19589 void *__cil_tmp13 ;
19590 unsigned long __cil_tmp14 ;
19591 unsigned long __cil_tmp15 ;
19592 unsigned long __cil_tmp16 ;
19593 unsigned long __cil_tmp17 ;
19594 unsigned long __cil_tmp18 ;
19595 unsigned long __cil_tmp19 ;
19596 unsigned long __cil_tmp20 ;
19597 unsigned long __cil_tmp21 ;
19598 char (*__cil_tmp22)[32U] ;
19599 char *__cil_tmp23 ;
19600
19601 {
19602 {
19603#line 1861
19604 __cil_tmp5 = (unsigned long )adapter;
19605#line 1861
19606 __cil_tmp6 = __cil_tmp5 + 184;
19607#line 1861
19608 __cil_tmp7 = *((void **)__cil_tmp6);
19609#line 1861
19610 card = (struct pcie_service_card *)__cil_tmp7;
19611#line 1862
19612 pdev = *((struct pci_dev **)card);
19613#line 1865
19614 __cil_tmp8 = (unsigned long )card;
19615#line 1865
19616 __cil_tmp9 = __cil_tmp8 + 8;
19617#line 1865
19618 *((struct mwifiex_adapter **)__cil_tmp9) = adapter;
19619#line 1867
19620 __cil_tmp10 = (unsigned long )pdev;
19621#line 1867
19622 __cil_tmp11 = __cil_tmp10 + 1300;
19623#line 1867
19624 __cil_tmp12 = *((unsigned int *)__cil_tmp11);
19625#line 1867
19626 __cil_tmp13 = (void *)pdev;
19627#line 1867
19628 ret = request_irq(__cil_tmp12, & mwifiex_pcie_interrupt, 128UL, "MRVL_PCIE", __cil_tmp13);
19629 }
19630#line 1869
19631 if (ret != 0) {
19632 {
19633#line 1870
19634 printk("<3>mwifiex_pcie: request_irq failed: ret=%d\n", ret);
19635#line 1871
19636 __cil_tmp14 = (unsigned long )adapter;
19637#line 1871
19638 __cil_tmp15 = __cil_tmp14 + 184;
19639#line 1871
19640 *((void **)__cil_tmp15) = (void *)0;
19641 }
19642#line 1872
19643 return (-1);
19644 } else {
19645
19646 }
19647 {
19648#line 1875
19649 __cil_tmp16 = (unsigned long )adapter;
19650#line 1875
19651 __cil_tmp17 = __cil_tmp16 + 72;
19652#line 1875
19653 __cil_tmp18 = (unsigned long )pdev;
19654#line 1875
19655 __cil_tmp19 = __cil_tmp18 + 144;
19656#line 1875
19657 *((struct device **)__cil_tmp17) = (struct device *)__cil_tmp19;
19658#line 1876
19659 __cil_tmp20 = (unsigned long )adapter;
19660#line 1876
19661 __cil_tmp21 = __cil_tmp20 + 32;
19662#line 1876
19663 __cil_tmp22 = (char (*)[32U])__cil_tmp21;
19664#line 1876
19665 __cil_tmp23 = (char *)__cil_tmp22;
19666#line 1876
19667 strcpy(__cil_tmp23, "mrvl/pcie8766_uapsta.bin");
19668 }
19669#line 1878
19670 return (0);
19671}
19672}
19673#line 1887 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
19674static void mwifiex_unregister_dev(struct mwifiex_adapter *adapter )
19675{ struct pcie_service_card *card ;
19676 struct _ddebug descriptor ;
19677 long tmp ;
19678 unsigned long __cil_tmp5 ;
19679 unsigned long __cil_tmp6 ;
19680 void *__cil_tmp7 ;
19681 struct pcie_service_card *__cil_tmp8 ;
19682 unsigned long __cil_tmp9 ;
19683 unsigned long __cil_tmp10 ;
19684 struct _ddebug *__cil_tmp11 ;
19685 unsigned long __cil_tmp12 ;
19686 unsigned long __cil_tmp13 ;
19687 unsigned long __cil_tmp14 ;
19688 unsigned long __cil_tmp15 ;
19689 unsigned long __cil_tmp16 ;
19690 unsigned long __cil_tmp17 ;
19691 unsigned char __cil_tmp18 ;
19692 long __cil_tmp19 ;
19693 long __cil_tmp20 ;
19694 unsigned long __cil_tmp21 ;
19695 unsigned long __cil_tmp22 ;
19696 struct device *__cil_tmp23 ;
19697 struct device const *__cil_tmp24 ;
19698 struct pci_dev *__cil_tmp25 ;
19699 unsigned long __cil_tmp26 ;
19700 unsigned long __cil_tmp27 ;
19701 unsigned int __cil_tmp28 ;
19702 struct pci_dev *__cil_tmp29 ;
19703 void *__cil_tmp30 ;
19704
19705 {
19706#line 1889
19707 __cil_tmp5 = (unsigned long )adapter;
19708#line 1889
19709 __cil_tmp6 = __cil_tmp5 + 184;
19710#line 1889
19711 __cil_tmp7 = *((void **)__cil_tmp6);
19712#line 1889
19713 card = (struct pcie_service_card *)__cil_tmp7;
19714 {
19715#line 1891
19716 __cil_tmp8 = (struct pcie_service_card *)0;
19717#line 1891
19718 __cil_tmp9 = (unsigned long )__cil_tmp8;
19719#line 1891
19720 __cil_tmp10 = (unsigned long )card;
19721#line 1891
19722 if (__cil_tmp10 != __cil_tmp9) {
19723 {
19724#line 1892
19725 __cil_tmp11 = & descriptor;
19726#line 1892
19727 *((char const **)__cil_tmp11) = "mwifiex_pcie";
19728#line 1892
19729 __cil_tmp12 = (unsigned long )(& descriptor) + 8;
19730#line 1892
19731 *((char const **)__cil_tmp12) = "mwifiex_unregister_dev";
19732#line 1892
19733 __cil_tmp13 = (unsigned long )(& descriptor) + 16;
19734#line 1892
19735 *((char const **)__cil_tmp13) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
19736#line 1892
19737 __cil_tmp14 = (unsigned long )(& descriptor) + 24;
19738#line 1892
19739 *((char const **)__cil_tmp14) = "%s(): calling free_irq()\n";
19740#line 1892
19741 __cil_tmp15 = (unsigned long )(& descriptor) + 32;
19742#line 1892
19743 *((unsigned int *)__cil_tmp15) = 1892U;
19744#line 1892
19745 __cil_tmp16 = (unsigned long )(& descriptor) + 35;
19746#line 1892
19747 *((unsigned char *)__cil_tmp16) = (unsigned char)0;
19748#line 1892
19749 __cil_tmp17 = (unsigned long )(& descriptor) + 35;
19750#line 1892
19751 __cil_tmp18 = *((unsigned char *)__cil_tmp17);
19752#line 1892
19753 __cil_tmp19 = (long )__cil_tmp18;
19754#line 1892
19755 __cil_tmp20 = __cil_tmp19 & 1L;
19756#line 1892
19757 tmp = __builtin_expect(__cil_tmp20, 0L);
19758 }
19759#line 1892
19760 if (tmp != 0L) {
19761 {
19762#line 1892
19763 __cil_tmp21 = (unsigned long )adapter;
19764#line 1892
19765 __cil_tmp22 = __cil_tmp21 + 72;
19766#line 1892
19767 __cil_tmp23 = *((struct device **)__cil_tmp22);
19768#line 1892
19769 __cil_tmp24 = (struct device const *)__cil_tmp23;
19770#line 1892
19771 __dynamic_dev_dbg(& descriptor, __cil_tmp24, "%s(): calling free_irq()\n", "mwifiex_unregister_dev");
19772 }
19773 } else {
19774
19775 }
19776 {
19777#line 1893
19778 __cil_tmp25 = *((struct pci_dev **)card);
19779#line 1893
19780 __cil_tmp26 = (unsigned long )__cil_tmp25;
19781#line 1893
19782 __cil_tmp27 = __cil_tmp26 + 1300;
19783#line 1893
19784 __cil_tmp28 = *((unsigned int *)__cil_tmp27);
19785#line 1893
19786 __cil_tmp29 = *((struct pci_dev **)card);
19787#line 1893
19788 __cil_tmp30 = (void *)__cil_tmp29;
19789#line 1893
19790 free_irq(__cil_tmp28, __cil_tmp30);
19791 }
19792 } else {
19793
19794 }
19795 }
19796#line 1895
19797 return;
19798}
19799}
19800#line 1897 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
19801static struct mwifiex_if_ops pcie_ops =
19802#line 1897
19803 {& mwifiex_pcie_init, & mwifiex_pcie_cleanup, & mwifiex_check_fw_status, & mwifiex_prog_fw_w_helper,
19804 & mwifiex_register_dev, & mwifiex_unregister_dev, & mwifiex_pcie_enable_host_int,
19805 & mwifiex_process_int_status, & mwifiex_pcie_host_to_card, & mwifiex_pm_wakeup_card,
19806 & mwifiex_pm_wakeup_card_complete, (void (*)(struct mwifiex_adapter * , u16 ))0,
19807 (void (*)(struct mwifiex_adapter * ))0, & mwifiex_pcie_cmdrsp_complete, & mwifiex_pcie_event_complete};
19808#line 1923 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
19809static int mwifiex_pcie_init_module(void)
19810{ int ret ;
19811 struct _ddebug descriptor ;
19812 long tmp ;
19813 struct _ddebug descriptor___0 ;
19814 long tmp___0 ;
19815 struct _ddebug *__cil_tmp6 ;
19816 unsigned long __cil_tmp7 ;
19817 unsigned long __cil_tmp8 ;
19818 unsigned long __cil_tmp9 ;
19819 unsigned long __cil_tmp10 ;
19820 unsigned long __cil_tmp11 ;
19821 unsigned long __cil_tmp12 ;
19822 unsigned char __cil_tmp13 ;
19823 long __cil_tmp14 ;
19824 long __cil_tmp15 ;
19825 struct _ddebug *__cil_tmp16 ;
19826 unsigned long __cil_tmp17 ;
19827 unsigned long __cil_tmp18 ;
19828 unsigned long __cil_tmp19 ;
19829 unsigned long __cil_tmp20 ;
19830 unsigned long __cil_tmp21 ;
19831 unsigned long __cil_tmp22 ;
19832 unsigned char __cil_tmp23 ;
19833 long __cil_tmp24 ;
19834 long __cil_tmp25 ;
19835
19836 {
19837 {
19838#line 1927
19839 __cil_tmp6 = & descriptor;
19840#line 1927
19841 *((char const **)__cil_tmp6) = "mwifiex_pcie";
19842#line 1927
19843 __cil_tmp7 = (unsigned long )(& descriptor) + 8;
19844#line 1927
19845 *((char const **)__cil_tmp7) = "mwifiex_pcie_init_module";
19846#line 1927
19847 __cil_tmp8 = (unsigned long )(& descriptor) + 16;
19848#line 1927
19849 *((char const **)__cil_tmp8) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
19850#line 1927
19851 __cil_tmp9 = (unsigned long )(& descriptor) + 24;
19852#line 1927
19853 *((char const **)__cil_tmp9) = "Marvell 8766 PCIe Driver\n";
19854#line 1927
19855 __cil_tmp10 = (unsigned long )(& descriptor) + 32;
19856#line 1927
19857 *((unsigned int *)__cil_tmp10) = 1927U;
19858#line 1927
19859 __cil_tmp11 = (unsigned long )(& descriptor) + 35;
19860#line 1927
19861 *((unsigned char *)__cil_tmp11) = (unsigned char)0;
19862#line 1927
19863 __cil_tmp12 = (unsigned long )(& descriptor) + 35;
19864#line 1927
19865 __cil_tmp13 = *((unsigned char *)__cil_tmp12);
19866#line 1927
19867 __cil_tmp14 = (long )__cil_tmp13;
19868#line 1927
19869 __cil_tmp15 = __cil_tmp14 & 1L;
19870#line 1927
19871 tmp = __builtin_expect(__cil_tmp15, 0L);
19872 }
19873#line 1927
19874 if (tmp != 0L) {
19875 {
19876#line 1927
19877 __dynamic_pr_debug(& descriptor, "mwifiex_pcie: Marvell 8766 PCIe Driver\n");
19878 }
19879 } else {
19880
19881 }
19882 {
19883#line 1929
19884 sema_init(& add_remove_card_sem, 1);
19885#line 1932
19886 user_rmmod = (u8 )0U;
19887#line 1934
19888 ret = __pci_register_driver(& mwifiex_pcie, & __this_module, "mwifiex_pcie");
19889 }
19890#line 1935
19891 if (ret != 0) {
19892 {
19893#line 1936
19894 printk("<3>mwifiex_pcie: Driver register failed!\n");
19895 }
19896 } else {
19897 {
19898#line 1938
19899 __cil_tmp16 = & descriptor___0;
19900#line 1938
19901 *((char const **)__cil_tmp16) = "mwifiex_pcie";
19902#line 1938
19903 __cil_tmp17 = (unsigned long )(& descriptor___0) + 8;
19904#line 1938
19905 *((char const **)__cil_tmp17) = "mwifiex_pcie_init_module";
19906#line 1938
19907 __cil_tmp18 = (unsigned long )(& descriptor___0) + 16;
19908#line 1938
19909 *((char const **)__cil_tmp18) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p";
19910#line 1938
19911 __cil_tmp19 = (unsigned long )(& descriptor___0) + 24;
19912#line 1938
19913 *((char const **)__cil_tmp19) = "info: Driver registered successfully!\n";
19914#line 1938
19915 __cil_tmp20 = (unsigned long )(& descriptor___0) + 32;
19916#line 1938
19917 *((unsigned int *)__cil_tmp20) = 1938U;
19918#line 1938
19919 __cil_tmp21 = (unsigned long )(& descriptor___0) + 35;
19920#line 1938
19921 *((unsigned char *)__cil_tmp21) = (unsigned char)0;
19922#line 1938
19923 __cil_tmp22 = (unsigned long )(& descriptor___0) + 35;
19924#line 1938
19925 __cil_tmp23 = *((unsigned char *)__cil_tmp22);
19926#line 1938
19927 __cil_tmp24 = (long )__cil_tmp23;
19928#line 1938
19929 __cil_tmp25 = __cil_tmp24 & 1L;
19930#line 1938
19931 tmp___0 = __builtin_expect(__cil_tmp25, 0L);
19932 }
19933#line 1938
19934 if (tmp___0 != 0L) {
19935 {
19936#line 1938
19937 __dynamic_pr_debug(& descriptor___0, "mwifiex_pcie: info: Driver registered successfully!\n");
19938 }
19939 } else {
19940
19941 }
19942 }
19943#line 1940
19944 return (ret);
19945}
19946}
19947#line 1952 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
19948static void mwifiex_pcie_cleanup_module(void)
19949{ int tmp ;
19950
19951 {
19952 {
19953#line 1954
19954 tmp = down_interruptible(& add_remove_card_sem);
19955 }
19956#line 1954
19957 if (tmp == 0) {
19958 {
19959#line 1955
19960 up(& add_remove_card_sem);
19961 }
19962 } else {
19963
19964 }
19965 {
19966#line 1958
19967 user_rmmod = (u8 )1U;
19968#line 1960
19969 pci_unregister_driver(& mwifiex_pcie);
19970 }
19971#line 1961
19972 return;
19973}
19974}
19975#line 1988
19976extern void ldv_check_final_state(void) ;
19977#line 1994
19978extern void ldv_initialize(void) ;
19979#line 1997
19980extern int __VERIFIER_nondet_int(void) ;
19981#line 2000 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
19982int LDV_IN_INTERRUPT ;
19983#line 2003 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
19984void main(void)
19985{ struct mwifiex_adapter *var_group1 ;
19986 u32 var_mwifiex_check_fw_status_31_p1 ;
19987 struct mwifiex_fw_image *var_group2 ;
19988 u8 var_mwifiex_pcie_host_to_card_35_p1 ;
19989 struct sk_buff *var_mwifiex_pcie_host_to_card_35_p2 ;
19990 struct mwifiex_tx_param *var_mwifiex_pcie_host_to_card_35_p3 ;
19991 struct sk_buff *var_group3 ;
19992 int var_mwifiex_pcie_interrupt_33_p0 ;
19993 void *var_mwifiex_pcie_interrupt_33_p1 ;
19994 int tmp ;
19995 int tmp___0 ;
19996 int tmp___1 ;
19997 int __cil_tmp13 ;
19998 u8 __cil_tmp14 ;
19999
20000 {
20001 {
20002#line 2191
20003 LDV_IN_INTERRUPT = 1;
20004#line 2200
20005 ldv_initialize();
20006#line 2215
20007 tmp = mwifiex_pcie_init_module();
20008 }
20009#line 2215
20010 if (tmp != 0) {
20011#line 2216
20012 goto ldv_final;
20013 } else {
20014
20015 }
20016#line 2222
20017 goto ldv_47057;
20018 ldv_47056:
20019 {
20020#line 2225
20021 tmp___0 = __VERIFIER_nondet_int();
20022 }
20023#line 2227
20024 if (tmp___0 == 0) {
20025#line 2227
20026 goto case_0;
20027 } else
20028#line 2252
20029 if (tmp___0 == 1) {
20030#line 2252
20031 goto case_1;
20032 } else
20033#line 2277
20034 if (tmp___0 == 2) {
20035#line 2277
20036 goto case_2;
20037 } else
20038#line 2302
20039 if (tmp___0 == 3) {
20040#line 2302
20041 goto case_3;
20042 } else
20043#line 2327
20044 if (tmp___0 == 4) {
20045#line 2327
20046 goto case_4;
20047 } else
20048#line 2352
20049 if (tmp___0 == 5) {
20050#line 2352
20051 goto case_5;
20052 } else
20053#line 2377
20054 if (tmp___0 == 6) {
20055#line 2377
20056 goto case_6;
20057 } else
20058#line 2402
20059 if (tmp___0 == 7) {
20060#line 2402
20061 goto case_7;
20062 } else
20063#line 2427
20064 if (tmp___0 == 8) {
20065#line 2427
20066 goto case_8;
20067 } else
20068#line 2452
20069 if (tmp___0 == 9) {
20070#line 2452
20071 goto case_9;
20072 } else
20073#line 2477
20074 if (tmp___0 == 10) {
20075#line 2477
20076 goto case_10;
20077 } else
20078#line 2502
20079 if (tmp___0 == 11) {
20080#line 2502
20081 goto case_11;
20082 } else
20083#line 2527
20084 if (tmp___0 == 12) {
20085#line 2527
20086 goto case_12;
20087 } else
20088#line 2552
20089 if (tmp___0 == 13) {
20090#line 2552
20091 goto case_13;
20092 } else {
20093 {
20094#line 2577
20095 goto switch_default;
20096#line 2225
20097 if (0) {
20098 case_0:
20099 {
20100#line 2244
20101 mwifiex_pcie_init(var_group1);
20102 }
20103#line 2251
20104 goto ldv_47041;
20105 case_1:
20106 {
20107#line 2269
20108 mwifiex_pcie_cleanup(var_group1);
20109 }
20110#line 2276
20111 goto ldv_47041;
20112 case_2:
20113 {
20114#line 2294
20115 mwifiex_check_fw_status(var_group1, var_mwifiex_check_fw_status_31_p1);
20116 }
20117#line 2301
20118 goto ldv_47041;
20119 case_3:
20120 {
20121#line 2319
20122 mwifiex_prog_fw_w_helper(var_group1, var_group2);
20123 }
20124#line 2326
20125 goto ldv_47041;
20126 case_4:
20127 {
20128#line 2344
20129 mwifiex_register_dev(var_group1);
20130 }
20131#line 2351
20132 goto ldv_47041;
20133 case_5:
20134 {
20135#line 2369
20136 mwifiex_unregister_dev(var_group1);
20137 }
20138#line 2376
20139 goto ldv_47041;
20140 case_6:
20141 {
20142#line 2394
20143 mwifiex_pcie_enable_host_int(var_group1);
20144 }
20145#line 2401
20146 goto ldv_47041;
20147 case_7:
20148 {
20149#line 2419
20150 mwifiex_process_int_status(var_group1);
20151 }
20152#line 2426
20153 goto ldv_47041;
20154 case_8:
20155 {
20156#line 2444
20157 __cil_tmp13 = (int )var_mwifiex_pcie_host_to_card_35_p1;
20158#line 2444
20159 __cil_tmp14 = (u8 )__cil_tmp13;
20160#line 2444
20161 mwifiex_pcie_host_to_card(var_group1, __cil_tmp14, var_mwifiex_pcie_host_to_card_35_p2,
20162 var_mwifiex_pcie_host_to_card_35_p3);
20163 }
20164#line 2451
20165 goto ldv_47041;
20166 case_9:
20167 {
20168#line 2469
20169 mwifiex_pm_wakeup_card(var_group1);
20170 }
20171#line 2476
20172 goto ldv_47041;
20173 case_10:
20174 {
20175#line 2494
20176 mwifiex_pm_wakeup_card_complete(var_group1);
20177 }
20178#line 2501
20179 goto ldv_47041;
20180 case_11:
20181 {
20182#line 2519
20183 mwifiex_pcie_cmdrsp_complete(var_group1, var_group3);
20184 }
20185#line 2526
20186 goto ldv_47041;
20187 case_12:
20188 {
20189#line 2544
20190 mwifiex_pcie_event_complete(var_group1, var_group3);
20191 }
20192#line 2551
20193 goto ldv_47041;
20194 case_13:
20195 {
20196#line 2555
20197 LDV_IN_INTERRUPT = 2;
20198#line 2569
20199 mwifiex_pcie_interrupt(var_mwifiex_pcie_interrupt_33_p0, var_mwifiex_pcie_interrupt_33_p1);
20200#line 2570
20201 LDV_IN_INTERRUPT = 1;
20202 }
20203#line 2576
20204 goto ldv_47041;
20205 switch_default: ;
20206#line 2577
20207 goto ldv_47041;
20208 } else {
20209 switch_break: ;
20210 }
20211 }
20212 }
20213 ldv_47041: ;
20214 ldv_47057:
20215 {
20216#line 2222
20217 tmp___1 = __VERIFIER_nondet_int();
20218 }
20219#line 2222
20220 if (tmp___1 != 0) {
20221#line 2223
20222 goto ldv_47056;
20223 } else {
20224#line 2225
20225 goto ldv_47058;
20226 }
20227 ldv_47058: ;
20228 {
20229#line 2598
20230 mwifiex_pcie_cleanup_module();
20231 }
20232 ldv_final:
20233 {
20234#line 2601
20235 ldv_check_final_state();
20236 }
20237#line 2604
20238 return;
20239}
20240}
20241#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast-assert.h"
20242void ldv_blast_assert(void)
20243{
20244
20245 {
20246 ERROR: ;
20247#line 6
20248 goto ERROR;
20249}
20250}
20251#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast.h"
20252extern int __VERIFIER_nondet_int(void) ;
20253#line 2625 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20254int ldv_spin = 0;
20255#line 2629 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20256void ldv_check_alloc_flags(gfp_t flags )
20257{
20258
20259 {
20260#line 2632
20261 if (ldv_spin != 0) {
20262#line 2632
20263 if (flags != 32U) {
20264 {
20265#line 2632
20266 ldv_blast_assert();
20267 }
20268 } else {
20269
20270 }
20271 } else {
20272
20273 }
20274#line 2635
20275 return;
20276}
20277}
20278#line 2635
20279extern struct page *ldv_some_page(void) ;
20280#line 2638 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20281struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags )
20282{ struct page *tmp ;
20283
20284 {
20285#line 2641
20286 if (ldv_spin != 0) {
20287#line 2641
20288 if (flags != 32U) {
20289 {
20290#line 2641
20291 ldv_blast_assert();
20292 }
20293 } else {
20294
20295 }
20296 } else {
20297
20298 }
20299 {
20300#line 2643
20301 tmp = ldv_some_page();
20302 }
20303#line 2643
20304 return (tmp);
20305}
20306}
20307#line 2647 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20308void ldv_check_alloc_nonatomic(void)
20309{
20310
20311 {
20312#line 2650
20313 if (ldv_spin != 0) {
20314 {
20315#line 2650
20316 ldv_blast_assert();
20317 }
20318 } else {
20319
20320 }
20321#line 2653
20322 return;
20323}
20324}
20325#line 2654 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20326void ldv_spin_lock(void)
20327{
20328
20329 {
20330#line 2657
20331 ldv_spin = 1;
20332#line 2658
20333 return;
20334}
20335}
20336#line 2661 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20337void ldv_spin_unlock(void)
20338{
20339
20340 {
20341#line 2664
20342 ldv_spin = 0;
20343#line 2665
20344 return;
20345}
20346}
20347#line 2668 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20348int ldv_spin_trylock(void)
20349{ int is_lock ;
20350
20351 {
20352 {
20353#line 2673
20354 is_lock = __VERIFIER_nondet_int();
20355 }
20356#line 2675
20357 if (is_lock != 0) {
20358#line 2678
20359 return (0);
20360 } else {
20361#line 2683
20362 ldv_spin = 1;
20363#line 2685
20364 return (1);
20365 }
20366}
20367}
20368#line 2761 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20369__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags )
20370{
20371
20372 {
20373 {
20374#line 2767
20375 ldv_spin_unlock();
20376#line 2769
20377 ldv_spin_unlock_irqrestore_8(lock, flags);
20378 }
20379#line 2770
20380 return;
20381}
20382}
20383#line 2852 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20384void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 )
20385{
20386
20387 {
20388 {
20389#line 2858
20390 ldv_check_alloc_flags(ldv_func_arg2);
20391#line 2860
20392 kmem_cache_alloc(ldv_func_arg1, ldv_func_arg2);
20393 }
20394#line 2861
20395 return ((void *)0);
20396}
20397}
20398#line 2863 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20399__inline static void *kzalloc(size_t size , gfp_t flags )
20400{ void *tmp ;
20401
20402 {
20403 {
20404#line 2869
20405 ldv_check_alloc_flags(flags);
20406#line 2870
20407 tmp = __VERIFIER_nondet_pointer();
20408 }
20409#line 2870
20410 return (tmp);
20411}
20412}
20413#line 2917 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20414struct sk_buff *ldv_skb_clone_22(struct sk_buff *ldv_func_arg1 , gfp_t ldv_func_arg2 )
20415{ struct sk_buff *tmp ;
20416
20417 {
20418 {
20419#line 2923
20420 ldv_check_alloc_flags(ldv_func_arg2);
20421#line 2925
20422 tmp = skb_clone(ldv_func_arg1, ldv_func_arg2);
20423 }
20424#line 2925
20425 return (tmp);
20426}
20427}
20428#line 2939 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20429struct sk_buff *ldv_skb_copy_24(struct sk_buff const *ldv_func_arg1 , gfp_t ldv_func_arg2 )
20430{ struct sk_buff *tmp ;
20431
20432 {
20433 {
20434#line 2945
20435 ldv_check_alloc_flags(ldv_func_arg2);
20436#line 2947
20437 tmp = skb_copy(ldv_func_arg1, ldv_func_arg2);
20438 }
20439#line 2947
20440 return (tmp);
20441}
20442}
20443#line 2950 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20444struct sk_buff *ldv___netdev_alloc_skb_25(struct net_device *ldv_func_arg1 , unsigned int ldv_func_arg2 ,
20445 gfp_t ldv_func_arg3 )
20446{ struct sk_buff *tmp ;
20447
20448 {
20449 {
20450#line 2957
20451 ldv_check_alloc_flags(ldv_func_arg3);
20452#line 2959
20453 tmp = __netdev_alloc_skb(ldv_func_arg1, ldv_func_arg2, ldv_func_arg3);
20454 }
20455#line 2959
20456 return (tmp);
20457}
20458}
20459#line 2962 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20460struct sk_buff *ldv___netdev_alloc_skb_26(struct net_device *ldv_func_arg1 , unsigned int ldv_func_arg2 ,
20461 gfp_t ldv_func_arg3 )
20462{ struct sk_buff *tmp ;
20463
20464 {
20465 {
20466#line 2969
20467 ldv_check_alloc_flags(ldv_func_arg3);
20468#line 2971
20469 tmp = __netdev_alloc_skb(ldv_func_arg1, ldv_func_arg2, ldv_func_arg3);
20470 }
20471#line 2971
20472 return (tmp);
20473}
20474}
20475#line 2974 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/14373/dscv_tempdir/dscv/ri/43_1a/drivers/net/wireless/mwifiex/pcie.c.p"
20476int ldv_pskb_expand_head_27(struct sk_buff *ldv_func_arg1 , int ldv_func_arg2 , int ldv_func_arg3 ,
20477 gfp_t ldv_func_arg4 )
20478{ int tmp ;
20479
20480 {
20481 {
20482#line 2982
20483 ldv_check_alloc_flags(ldv_func_arg4);
20484#line 2984
20485 tmp = pskb_expand_head(ldv_func_arg1, ldv_func_arg2, ldv_func_arg3, ldv_func_arg4);
20486 }
20487#line 2984
20488 return (tmp);
20489}
20490}