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 99 "include/linux/types.h"
93typedef unsigned short ushort;
94#line 111 "include/linux/types.h"
95typedef __s32 int32_t;
96#line 115 "include/linux/types.h"
97typedef __u8 uint8_t;
98#line 117 "include/linux/types.h"
99typedef __u32 uint32_t;
100#line 120 "include/linux/types.h"
101typedef __u64 uint64_t;
102#line 142 "include/linux/types.h"
103typedef unsigned long sector_t;
104#line 143 "include/linux/types.h"
105typedef unsigned long blkcnt_t;
106#line 155 "include/linux/types.h"
107typedef u64 dma_addr_t;
108#line 179 "include/linux/types.h"
109typedef __u16 __be16;
110#line 181 "include/linux/types.h"
111typedef __u32 __be32;
112#line 185 "include/linux/types.h"
113typedef __u16 __sum16;
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 219 "include/linux/types.h"
121struct __anonstruct_atomic_t_7 {
122 int counter ;
123};
124#line 219 "include/linux/types.h"
125typedef struct __anonstruct_atomic_t_7 atomic_t;
126#line 224 "include/linux/types.h"
127struct __anonstruct_atomic64_t_8 {
128 long counter ;
129};
130#line 224 "include/linux/types.h"
131typedef struct __anonstruct_atomic64_t_8 atomic64_t;
132#line 229 "include/linux/types.h"
133struct list_head {
134 struct list_head *next ;
135 struct list_head *prev ;
136};
137#line 233
138struct hlist_node;
139#line 233 "include/linux/types.h"
140struct hlist_head {
141 struct hlist_node *first ;
142};
143#line 237 "include/linux/types.h"
144struct hlist_node {
145 struct hlist_node *next ;
146 struct hlist_node **pprev ;
147};
148#line 253 "include/linux/types.h"
149struct rcu_head {
150 struct rcu_head *next ;
151 void (*func)(struct rcu_head *head ) ;
152};
153#line 56 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
154struct module;
155#line 56
156struct module;
157#line 146 "include/linux/init.h"
158typedef void (*ctor_fn_t)(void);
159#line 9 "include/linux/dynamic_debug.h"
160struct _ddebug {
161 char *modname ;
162 char *function ;
163 char *filename ;
164 char *format ;
165 unsigned int lineno : 18 ;
166 unsigned int flags : 8 ;
167} __attribute__((__aligned__(8))) ;
168#line 47
169struct device;
170#line 47
171struct device;
172#line 53
173struct net_device;
174#line 53
175struct net_device;
176#line 135 "include/linux/kernel.h"
177struct completion;
178#line 135
179struct completion;
180#line 136
181struct pt_regs;
182#line 136
183struct pt_regs;
184#line 349
185struct pid;
186#line 349
187struct pid;
188#line 12 "include/linux/thread_info.h"
189struct timespec;
190#line 12
191struct timespec;
192#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page.h"
193struct page;
194#line 18
195struct page;
196#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
197struct task_struct;
198#line 20
199struct task_struct;
200#line 7 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
201struct task_struct;
202#line 8
203struct mm_struct;
204#line 8
205struct mm_struct;
206#line 99 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
207struct pt_regs {
208 unsigned long r15 ;
209 unsigned long r14 ;
210 unsigned long r13 ;
211 unsigned long r12 ;
212 unsigned long bp ;
213 unsigned long bx ;
214 unsigned long r11 ;
215 unsigned long r10 ;
216 unsigned long r9 ;
217 unsigned long r8 ;
218 unsigned long ax ;
219 unsigned long cx ;
220 unsigned long dx ;
221 unsigned long si ;
222 unsigned long di ;
223 unsigned long orig_ax ;
224 unsigned long ip ;
225 unsigned long cs ;
226 unsigned long flags ;
227 unsigned long sp ;
228 unsigned long ss ;
229};
230#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
231struct __anonstruct____missing_field_name_15 {
232 unsigned int a ;
233 unsigned int b ;
234};
235#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
236struct __anonstruct____missing_field_name_16 {
237 u16 limit0 ;
238 u16 base0 ;
239 unsigned int base1 : 8 ;
240 unsigned int type : 4 ;
241 unsigned int s : 1 ;
242 unsigned int dpl : 2 ;
243 unsigned int p : 1 ;
244 unsigned int limit : 4 ;
245 unsigned int avl : 1 ;
246 unsigned int l : 1 ;
247 unsigned int d : 1 ;
248 unsigned int g : 1 ;
249 unsigned int base2 : 8 ;
250};
251#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
252union __anonunion____missing_field_name_14 {
253 struct __anonstruct____missing_field_name_15 __annonCompField5 ;
254 struct __anonstruct____missing_field_name_16 __annonCompField6 ;
255};
256#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
257struct desc_struct {
258 union __anonunion____missing_field_name_14 __annonCompField7 ;
259} __attribute__((__packed__)) ;
260#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
261typedef unsigned long pgdval_t;
262#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
263typedef unsigned long pgprotval_t;
264#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
265struct pgprot {
266 pgprotval_t pgprot ;
267};
268#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
269typedef struct pgprot pgprot_t;
270#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
271struct __anonstruct_pgd_t_20 {
272 pgdval_t pgd ;
273};
274#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
275typedef struct __anonstruct_pgd_t_20 pgd_t;
276#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
277typedef struct page *pgtable_t;
278#line 295
279struct file;
280#line 295
281struct file;
282#line 313
283struct seq_file;
284#line 313
285struct seq_file;
286#line 46 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
287struct page;
288#line 47
289struct thread_struct;
290#line 47
291struct thread_struct;
292#line 50
293struct mm_struct;
294#line 51
295struct desc_struct;
296#line 52
297struct task_struct;
298#line 53
299struct cpumask;
300#line 53
301struct cpumask;
302#line 329
303struct arch_spinlock;
304#line 329
305struct arch_spinlock;
306#line 139 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
307struct task_struct;
308#line 141 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
309struct kernel_vm86_regs {
310 struct pt_regs pt ;
311 unsigned short es ;
312 unsigned short __esh ;
313 unsigned short ds ;
314 unsigned short __dsh ;
315 unsigned short fs ;
316 unsigned short __fsh ;
317 unsigned short gs ;
318 unsigned short __gsh ;
319};
320#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
321union __anonunion____missing_field_name_24 {
322 struct pt_regs *regs ;
323 struct kernel_vm86_regs *vm86 ;
324};
325#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
326struct math_emu_info {
327 long ___orig_eip ;
328 union __anonunion____missing_field_name_24 __annonCompField8 ;
329};
330#line 8 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/current.h"
331struct task_struct;
332#line 10 "include/asm-generic/bug.h"
333struct bug_entry {
334 int bug_addr_disp ;
335 int file_disp ;
336 unsigned short line ;
337 unsigned short flags ;
338};
339#line 12 "include/linux/bug.h"
340struct pt_regs;
341#line 14 "include/linux/cpumask.h"
342struct cpumask {
343 unsigned long bits[((4096UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
344};
345#line 14 "include/linux/cpumask.h"
346typedef struct cpumask cpumask_t;
347#line 637 "include/linux/cpumask.h"
348typedef struct cpumask *cpumask_var_t;
349#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
350struct static_key;
351#line 234
352struct static_key;
353#line 11 "include/linux/personality.h"
354struct pt_regs;
355#line 153 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
356struct seq_operations;
357#line 290 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
358struct i387_fsave_struct {
359 u32 cwd ;
360 u32 swd ;
361 u32 twd ;
362 u32 fip ;
363 u32 fcs ;
364 u32 foo ;
365 u32 fos ;
366 u32 st_space[20] ;
367 u32 status ;
368};
369#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
370struct __anonstruct____missing_field_name_31 {
371 u64 rip ;
372 u64 rdp ;
373};
374#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
375struct __anonstruct____missing_field_name_32 {
376 u32 fip ;
377 u32 fcs ;
378 u32 foo ;
379 u32 fos ;
380};
381#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
382union __anonunion____missing_field_name_30 {
383 struct __anonstruct____missing_field_name_31 __annonCompField12 ;
384 struct __anonstruct____missing_field_name_32 __annonCompField13 ;
385};
386#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
387union __anonunion____missing_field_name_33 {
388 u32 padding1[12] ;
389 u32 sw_reserved[12] ;
390};
391#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
392struct i387_fxsave_struct {
393 u16 cwd ;
394 u16 swd ;
395 u16 twd ;
396 u16 fop ;
397 union __anonunion____missing_field_name_30 __annonCompField14 ;
398 u32 mxcsr ;
399 u32 mxcsr_mask ;
400 u32 st_space[32] ;
401 u32 xmm_space[64] ;
402 u32 padding[12] ;
403 union __anonunion____missing_field_name_33 __annonCompField15 ;
404} __attribute__((__aligned__(16))) ;
405#line 341 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
406struct i387_soft_struct {
407 u32 cwd ;
408 u32 swd ;
409 u32 twd ;
410 u32 fip ;
411 u32 fcs ;
412 u32 foo ;
413 u32 fos ;
414 u32 st_space[20] ;
415 u8 ftop ;
416 u8 changed ;
417 u8 lookahead ;
418 u8 no_update ;
419 u8 rm ;
420 u8 alimit ;
421 struct math_emu_info *info ;
422 u32 entry_eip ;
423};
424#line 361 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
425struct ymmh_struct {
426 u32 ymmh_space[64] ;
427};
428#line 366 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
429struct xsave_hdr_struct {
430 u64 xstate_bv ;
431 u64 reserved1[2] ;
432 u64 reserved2[5] ;
433} __attribute__((__packed__)) ;
434#line 372 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
435struct xsave_struct {
436 struct i387_fxsave_struct i387 ;
437 struct xsave_hdr_struct xsave_hdr ;
438 struct ymmh_struct ymmh ;
439} __attribute__((__packed__, __aligned__(64))) ;
440#line 379 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
441union thread_xstate {
442 struct i387_fsave_struct fsave ;
443 struct i387_fxsave_struct fxsave ;
444 struct i387_soft_struct soft ;
445 struct xsave_struct xsave ;
446};
447#line 386 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
448struct fpu {
449 unsigned int last_cpu ;
450 unsigned int has_fpu ;
451 union thread_xstate *state ;
452};
453#line 433
454struct kmem_cache;
455#line 435
456struct perf_event;
457#line 435
458struct perf_event;
459#line 437 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
460struct thread_struct {
461 struct desc_struct tls_array[3] ;
462 unsigned long sp0 ;
463 unsigned long sp ;
464 unsigned long usersp ;
465 unsigned short es ;
466 unsigned short ds ;
467 unsigned short fsindex ;
468 unsigned short gsindex ;
469 unsigned long fs ;
470 unsigned long gs ;
471 struct perf_event *ptrace_bps[4] ;
472 unsigned long debugreg6 ;
473 unsigned long ptrace_dr7 ;
474 unsigned long cr2 ;
475 unsigned long trap_nr ;
476 unsigned long error_code ;
477 struct fpu fpu ;
478 unsigned long *io_bitmap_ptr ;
479 unsigned long iopl ;
480 unsigned int io_bitmap_max ;
481};
482#line 23 "include/asm-generic/atomic-long.h"
483typedef atomic64_t atomic_long_t;
484#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
485typedef u16 __ticket_t;
486#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
487typedef u32 __ticketpair_t;
488#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
489struct __raw_tickets {
490 __ticket_t head ;
491 __ticket_t tail ;
492};
493#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
494union __anonunion____missing_field_name_36 {
495 __ticketpair_t head_tail ;
496 struct __raw_tickets tickets ;
497};
498#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
499struct arch_spinlock {
500 union __anonunion____missing_field_name_36 __annonCompField17 ;
501};
502#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
503typedef struct arch_spinlock arch_spinlock_t;
504#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
505struct __anonstruct____missing_field_name_38 {
506 u32 read ;
507 s32 write ;
508};
509#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
510union __anonunion_arch_rwlock_t_37 {
511 s64 lock ;
512 struct __anonstruct____missing_field_name_38 __annonCompField18 ;
513};
514#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
515typedef union __anonunion_arch_rwlock_t_37 arch_rwlock_t;
516#line 12 "include/linux/lockdep.h"
517struct task_struct;
518#line 391 "include/linux/lockdep.h"
519struct lock_class_key {
520
521};
522#line 20 "include/linux/spinlock_types.h"
523struct raw_spinlock {
524 arch_spinlock_t raw_lock ;
525 unsigned int magic ;
526 unsigned int owner_cpu ;
527 void *owner ;
528};
529#line 20 "include/linux/spinlock_types.h"
530typedef struct raw_spinlock raw_spinlock_t;
531#line 64 "include/linux/spinlock_types.h"
532union __anonunion____missing_field_name_39 {
533 struct raw_spinlock rlock ;
534};
535#line 64 "include/linux/spinlock_types.h"
536struct spinlock {
537 union __anonunion____missing_field_name_39 __annonCompField19 ;
538};
539#line 64 "include/linux/spinlock_types.h"
540typedef struct spinlock spinlock_t;
541#line 11 "include/linux/rwlock_types.h"
542struct __anonstruct_rwlock_t_40 {
543 arch_rwlock_t raw_lock ;
544 unsigned int magic ;
545 unsigned int owner_cpu ;
546 void *owner ;
547};
548#line 11 "include/linux/rwlock_types.h"
549typedef struct __anonstruct_rwlock_t_40 rwlock_t;
550#line 33 "include/linux/seqlock.h"
551struct __anonstruct_seqlock_t_41 {
552 unsigned int sequence ;
553 spinlock_t lock ;
554};
555#line 33 "include/linux/seqlock.h"
556typedef struct __anonstruct_seqlock_t_41 seqlock_t;
557#line 119 "include/linux/seqlock.h"
558struct seqcount {
559 unsigned int sequence ;
560};
561#line 119 "include/linux/seqlock.h"
562typedef struct seqcount seqcount_t;
563#line 14 "include/linux/time.h"
564struct timespec {
565 __kernel_time_t tv_sec ;
566 long tv_nsec ;
567};
568#line 62 "include/linux/stat.h"
569struct kstat {
570 u64 ino ;
571 dev_t dev ;
572 umode_t mode ;
573 unsigned int nlink ;
574 uid_t uid ;
575 gid_t gid ;
576 dev_t rdev ;
577 loff_t size ;
578 struct timespec atime ;
579 struct timespec mtime ;
580 struct timespec ctime ;
581 unsigned long blksize ;
582 unsigned long long blocks ;
583};
584#line 49 "include/linux/wait.h"
585struct __wait_queue_head {
586 spinlock_t lock ;
587 struct list_head task_list ;
588};
589#line 53 "include/linux/wait.h"
590typedef struct __wait_queue_head wait_queue_head_t;
591#line 55
592struct task_struct;
593#line 25 "include/linux/completion.h"
594struct completion {
595 unsigned int done ;
596 wait_queue_head_t wait ;
597};
598#line 188 "include/linux/rcupdate.h"
599struct notifier_block;
600#line 188
601struct notifier_block;
602#line 84 "include/linux/sem.h"
603struct task_struct;
604#line 101
605struct sem_undo_list;
606#line 101 "include/linux/sem.h"
607struct sysv_sem {
608 struct sem_undo_list *undo_list ;
609};
610#line 11 "include/linux/socket.h"
611typedef unsigned short __kernel_sa_family_t;
612#line 13
613struct sockaddr;
614#line 16 "include/linux/uio.h"
615struct iovec {
616 void *iov_base ;
617 __kernel_size_t iov_len ;
618};
619#line 29 "include/linux/socket.h"
620struct pid;
621#line 30
622struct cred;
623#line 30
624struct cred;
625#line 36
626struct seq_file;
627#line 40 "include/linux/socket.h"
628typedef __kernel_sa_family_t sa_family_t;
629#line 46 "include/linux/socket.h"
630struct sockaddr {
631 sa_family_t sa_family ;
632 char sa_data[14] ;
633};
634#line 336
635struct timespec;
636#line 37 "include/linux/hdlc/ioctl.h"
637struct __anonstruct_sync_serial_settings_42 {
638 unsigned int clock_rate ;
639 unsigned int clock_type ;
640 unsigned short loopback ;
641};
642#line 37 "include/linux/hdlc/ioctl.h"
643typedef struct __anonstruct_sync_serial_settings_42 sync_serial_settings;
644#line 43 "include/linux/hdlc/ioctl.h"
645struct __anonstruct_te1_settings_43 {
646 unsigned int clock_rate ;
647 unsigned int clock_type ;
648 unsigned short loopback ;
649 unsigned int slot_map ;
650};
651#line 43 "include/linux/hdlc/ioctl.h"
652typedef struct __anonstruct_te1_settings_43 te1_settings;
653#line 50 "include/linux/hdlc/ioctl.h"
654struct __anonstruct_raw_hdlc_proto_44 {
655 unsigned short encoding ;
656 unsigned short parity ;
657};
658#line 50 "include/linux/hdlc/ioctl.h"
659typedef struct __anonstruct_raw_hdlc_proto_44 raw_hdlc_proto;
660#line 55 "include/linux/hdlc/ioctl.h"
661struct __anonstruct_fr_proto_45 {
662 unsigned int t391 ;
663 unsigned int t392 ;
664 unsigned int n391 ;
665 unsigned int n392 ;
666 unsigned int n393 ;
667 unsigned short lmi ;
668 unsigned short dce ;
669};
670#line 55 "include/linux/hdlc/ioctl.h"
671typedef struct __anonstruct_fr_proto_45 fr_proto;
672#line 65 "include/linux/hdlc/ioctl.h"
673struct __anonstruct_fr_proto_pvc_46 {
674 unsigned int dlci ;
675};
676#line 65 "include/linux/hdlc/ioctl.h"
677typedef struct __anonstruct_fr_proto_pvc_46 fr_proto_pvc;
678#line 69 "include/linux/hdlc/ioctl.h"
679struct __anonstruct_fr_proto_pvc_info_47 {
680 unsigned int dlci ;
681 char master[16] ;
682};
683#line 69 "include/linux/hdlc/ioctl.h"
684typedef struct __anonstruct_fr_proto_pvc_info_47 fr_proto_pvc_info;
685#line 74 "include/linux/hdlc/ioctl.h"
686struct __anonstruct_cisco_proto_48 {
687 unsigned int interval ;
688 unsigned int timeout ;
689};
690#line 74 "include/linux/hdlc/ioctl.h"
691typedef struct __anonstruct_cisco_proto_48 cisco_proto;
692#line 140 "include/linux/if.h"
693struct ifmap {
694 unsigned long mem_start ;
695 unsigned long mem_end ;
696 unsigned short base_addr ;
697 unsigned char irq ;
698 unsigned char dma ;
699 unsigned char port ;
700};
701#line 150 "include/linux/if.h"
702union __anonunion_ifs_ifsu_51 {
703 raw_hdlc_proto *raw_hdlc ;
704 cisco_proto *cisco ;
705 fr_proto *fr ;
706 fr_proto_pvc *fr_pvc ;
707 fr_proto_pvc_info *fr_pvc_info ;
708 sync_serial_settings *sync ;
709 te1_settings *te1 ;
710};
711#line 150 "include/linux/if.h"
712struct if_settings {
713 unsigned int type ;
714 unsigned int size ;
715 union __anonunion_ifs_ifsu_51 ifs_ifsu ;
716};
717#line 174 "include/linux/if.h"
718union __anonunion_ifr_ifrn_52 {
719 char ifrn_name[16] ;
720};
721#line 174 "include/linux/if.h"
722union __anonunion_ifr_ifru_53 {
723 struct sockaddr ifru_addr ;
724 struct sockaddr ifru_dstaddr ;
725 struct sockaddr ifru_broadaddr ;
726 struct sockaddr ifru_netmask ;
727 struct sockaddr ifru_hwaddr ;
728 short ifru_flags ;
729 int ifru_ivalue ;
730 int ifru_mtu ;
731 struct ifmap ifru_map ;
732 char ifru_slave[16] ;
733 char ifru_newname[16] ;
734 void *ifru_data ;
735 struct if_settings ifru_settings ;
736};
737#line 174 "include/linux/if.h"
738struct ifreq {
739 union __anonunion_ifr_ifrn_52 ifr_ifrn ;
740 union __anonunion_ifr_ifru_53 ifr_ifru ;
741};
742#line 15 "include/linux/blk_types.h"
743struct page;
744#line 16
745struct block_device;
746#line 16
747struct block_device;
748#line 33 "include/linux/list_bl.h"
749struct hlist_bl_node;
750#line 33 "include/linux/list_bl.h"
751struct hlist_bl_head {
752 struct hlist_bl_node *first ;
753};
754#line 37 "include/linux/list_bl.h"
755struct hlist_bl_node {
756 struct hlist_bl_node *next ;
757 struct hlist_bl_node **pprev ;
758};
759#line 13 "include/linux/dcache.h"
760struct nameidata;
761#line 13
762struct nameidata;
763#line 14
764struct path;
765#line 14
766struct path;
767#line 15
768struct vfsmount;
769#line 15
770struct vfsmount;
771#line 35 "include/linux/dcache.h"
772struct qstr {
773 unsigned int hash ;
774 unsigned int len ;
775 unsigned char *name ;
776};
777#line 88
778struct inode;
779#line 88
780struct dentry_operations;
781#line 88
782struct super_block;
783#line 88 "include/linux/dcache.h"
784union __anonunion_d_u_55 {
785 struct list_head d_child ;
786 struct rcu_head d_rcu ;
787};
788#line 88 "include/linux/dcache.h"
789struct dentry {
790 unsigned int d_flags ;
791 seqcount_t d_seq ;
792 struct hlist_bl_node d_hash ;
793 struct dentry *d_parent ;
794 struct qstr d_name ;
795 struct inode *d_inode ;
796 unsigned char d_iname[32] ;
797 unsigned int d_count ;
798 spinlock_t d_lock ;
799 struct dentry_operations *d_op ;
800 struct super_block *d_sb ;
801 unsigned long d_time ;
802 void *d_fsdata ;
803 struct list_head d_lru ;
804 union __anonunion_d_u_55 d_u ;
805 struct list_head d_subdirs ;
806 struct list_head d_alias ;
807};
808#line 131 "include/linux/dcache.h"
809struct dentry_operations {
810 int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
811 int (*d_hash)(struct dentry * , struct inode * , struct qstr * ) ;
812 int (*d_compare)(struct dentry * , struct inode * , struct dentry const * ,
813 struct inode * , unsigned int , char * , struct qstr const * ) ;
814 int (*d_delete)(struct dentry * ) ;
815 void (*d_release)(struct dentry * ) ;
816 void (*d_prune)(struct dentry * ) ;
817 void (*d_iput)(struct dentry * , struct inode * ) ;
818 char *(*d_dname)(struct dentry * , char * , int ) ;
819 struct vfsmount *(*d_automount)(struct path * ) ;
820 int (*d_manage)(struct dentry * , bool ) ;
821} __attribute__((__aligned__((1) << (6) ))) ;
822#line 4 "include/linux/path.h"
823struct dentry;
824#line 5
825struct vfsmount;
826#line 7 "include/linux/path.h"
827struct path {
828 struct vfsmount *mnt ;
829 struct dentry *dentry ;
830};
831#line 64 "include/linux/radix-tree.h"
832struct radix_tree_node;
833#line 64 "include/linux/radix-tree.h"
834struct radix_tree_root {
835 unsigned int height ;
836 gfp_t gfp_mask ;
837 struct radix_tree_node *rnode ;
838};
839#line 14 "include/linux/prio_tree.h"
840struct prio_tree_node;
841#line 14 "include/linux/prio_tree.h"
842struct raw_prio_tree_node {
843 struct prio_tree_node *left ;
844 struct prio_tree_node *right ;
845 struct prio_tree_node *parent ;
846};
847#line 20 "include/linux/prio_tree.h"
848struct prio_tree_node {
849 struct prio_tree_node *left ;
850 struct prio_tree_node *right ;
851 struct prio_tree_node *parent ;
852 unsigned long start ;
853 unsigned long last ;
854};
855#line 28 "include/linux/prio_tree.h"
856struct prio_tree_root {
857 struct prio_tree_node *prio_tree_node ;
858 unsigned short index_bits ;
859 unsigned short raw ;
860};
861#line 6 "include/linux/pid.h"
862enum pid_type {
863 PIDTYPE_PID = 0,
864 PIDTYPE_PGID = 1,
865 PIDTYPE_SID = 2,
866 PIDTYPE_MAX = 3
867} ;
868#line 50
869struct pid_namespace;
870#line 50 "include/linux/pid.h"
871struct upid {
872 int nr ;
873 struct pid_namespace *ns ;
874 struct hlist_node pid_chain ;
875};
876#line 57 "include/linux/pid.h"
877struct pid {
878 atomic_t count ;
879 unsigned int level ;
880 struct hlist_head tasks[3] ;
881 struct rcu_head rcu ;
882 struct upid numbers[1] ;
883};
884#line 69 "include/linux/pid.h"
885struct pid_link {
886 struct hlist_node node ;
887 struct pid *pid ;
888};
889#line 100
890struct pid_namespace;
891#line 48 "include/linux/mutex.h"
892struct mutex {
893 atomic_t count ;
894 spinlock_t wait_lock ;
895 struct list_head wait_list ;
896 struct task_struct *owner ;
897 char *name ;
898 void *magic ;
899};
900#line 69 "include/linux/mutex.h"
901struct mutex_waiter {
902 struct list_head list ;
903 struct task_struct *task ;
904 void *magic ;
905};
906#line 18 "include/linux/capability.h"
907struct task_struct;
908#line 94 "include/linux/capability.h"
909struct kernel_cap_struct {
910 __u32 cap[2] ;
911};
912#line 94 "include/linux/capability.h"
913typedef struct kernel_cap_struct kernel_cap_t;
914#line 377
915struct dentry;
916#line 378
917struct user_namespace;
918#line 378
919struct user_namespace;
920#line 16 "include/linux/fiemap.h"
921struct fiemap_extent {
922 __u64 fe_logical ;
923 __u64 fe_physical ;
924 __u64 fe_length ;
925 __u64 fe_reserved64[2] ;
926 __u32 fe_flags ;
927 __u32 fe_reserved[3] ;
928};
929#line 8 "include/linux/shrinker.h"
930struct shrink_control {
931 gfp_t gfp_mask ;
932 unsigned long nr_to_scan ;
933};
934#line 31 "include/linux/shrinker.h"
935struct shrinker {
936 int (*shrink)(struct shrinker * , struct shrink_control *sc ) ;
937 int seeks ;
938 long batch ;
939 struct list_head list ;
940 atomic_long_t nr_in_batch ;
941};
942#line 10 "include/linux/migrate_mode.h"
943enum migrate_mode {
944 MIGRATE_ASYNC = 0,
945 MIGRATE_SYNC_LIGHT = 1,
946 MIGRATE_SYNC = 2
947} ;
948#line 408 "include/linux/fs.h"
949struct export_operations;
950#line 408
951struct export_operations;
952#line 410
953struct iovec;
954#line 411
955struct nameidata;
956#line 412
957struct kiocb;
958#line 412
959struct kiocb;
960#line 413
961struct kobject;
962#line 413
963struct kobject;
964#line 414
965struct pipe_inode_info;
966#line 414
967struct pipe_inode_info;
968#line 415
969struct poll_table_struct;
970#line 415
971struct poll_table_struct;
972#line 416
973struct kstatfs;
974#line 416
975struct kstatfs;
976#line 417
977struct vm_area_struct;
978#line 417
979struct vm_area_struct;
980#line 418
981struct vfsmount;
982#line 419
983struct cred;
984#line 469 "include/linux/fs.h"
985struct iattr {
986 unsigned int ia_valid ;
987 umode_t ia_mode ;
988 uid_t ia_uid ;
989 gid_t ia_gid ;
990 loff_t ia_size ;
991 struct timespec ia_atime ;
992 struct timespec ia_mtime ;
993 struct timespec ia_ctime ;
994 struct file *ia_file ;
995};
996#line 129 "include/linux/quota.h"
997struct if_dqinfo {
998 __u64 dqi_bgrace ;
999 __u64 dqi_igrace ;
1000 __u32 dqi_flags ;
1001 __u32 dqi_valid ;
1002};
1003#line 19 "include/linux/rwsem.h"
1004struct rw_semaphore;
1005#line 19
1006struct rw_semaphore;
1007#line 25 "include/linux/rwsem.h"
1008struct rw_semaphore {
1009 long count ;
1010 raw_spinlock_t wait_lock ;
1011 struct list_head wait_list ;
1012};
1013#line 202 "include/linux/ioport.h"
1014struct device;
1015#line 103 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mpspec.h"
1016struct device;
1017#line 46 "include/linux/ktime.h"
1018union ktime {
1019 s64 tv64 ;
1020};
1021#line 59 "include/linux/ktime.h"
1022typedef union ktime ktime_t;
1023#line 10 "include/linux/timer.h"
1024struct tvec_base;
1025#line 10
1026struct tvec_base;
1027#line 12 "include/linux/timer.h"
1028struct timer_list {
1029 struct list_head entry ;
1030 unsigned long expires ;
1031 struct tvec_base *base ;
1032 void (*function)(unsigned long ) ;
1033 unsigned long data ;
1034 int slack ;
1035 int start_pid ;
1036 void *start_site ;
1037 char start_comm[16] ;
1038};
1039#line 289
1040struct hrtimer;
1041#line 289
1042struct hrtimer;
1043#line 290
1044enum hrtimer_restart;
1045#line 17 "include/linux/workqueue.h"
1046struct work_struct;
1047#line 17
1048struct work_struct;
1049#line 79 "include/linux/workqueue.h"
1050struct work_struct {
1051 atomic_long_t data ;
1052 struct list_head entry ;
1053 void (*func)(struct work_struct *work ) ;
1054};
1055#line 92 "include/linux/workqueue.h"
1056struct delayed_work {
1057 struct work_struct work ;
1058 struct timer_list timer ;
1059};
1060#line 42 "include/linux/pm.h"
1061struct device;
1062#line 50 "include/linux/pm.h"
1063struct pm_message {
1064 int event ;
1065};
1066#line 50 "include/linux/pm.h"
1067typedef struct pm_message pm_message_t;
1068#line 264 "include/linux/pm.h"
1069struct dev_pm_ops {
1070 int (*prepare)(struct device *dev ) ;
1071 void (*complete)(struct device *dev ) ;
1072 int (*suspend)(struct device *dev ) ;
1073 int (*resume)(struct device *dev ) ;
1074 int (*freeze)(struct device *dev ) ;
1075 int (*thaw)(struct device *dev ) ;
1076 int (*poweroff)(struct device *dev ) ;
1077 int (*restore)(struct device *dev ) ;
1078 int (*suspend_late)(struct device *dev ) ;
1079 int (*resume_early)(struct device *dev ) ;
1080 int (*freeze_late)(struct device *dev ) ;
1081 int (*thaw_early)(struct device *dev ) ;
1082 int (*poweroff_late)(struct device *dev ) ;
1083 int (*restore_early)(struct device *dev ) ;
1084 int (*suspend_noirq)(struct device *dev ) ;
1085 int (*resume_noirq)(struct device *dev ) ;
1086 int (*freeze_noirq)(struct device *dev ) ;
1087 int (*thaw_noirq)(struct device *dev ) ;
1088 int (*poweroff_noirq)(struct device *dev ) ;
1089 int (*restore_noirq)(struct device *dev ) ;
1090 int (*runtime_suspend)(struct device *dev ) ;
1091 int (*runtime_resume)(struct device *dev ) ;
1092 int (*runtime_idle)(struct device *dev ) ;
1093};
1094#line 458
1095enum rpm_status {
1096 RPM_ACTIVE = 0,
1097 RPM_RESUMING = 1,
1098 RPM_SUSPENDED = 2,
1099 RPM_SUSPENDING = 3
1100} ;
1101#line 480
1102enum rpm_request {
1103 RPM_REQ_NONE = 0,
1104 RPM_REQ_IDLE = 1,
1105 RPM_REQ_SUSPEND = 2,
1106 RPM_REQ_AUTOSUSPEND = 3,
1107 RPM_REQ_RESUME = 4
1108} ;
1109#line 488
1110struct wakeup_source;
1111#line 488
1112struct wakeup_source;
1113#line 495 "include/linux/pm.h"
1114struct pm_subsys_data {
1115 spinlock_t lock ;
1116 unsigned int refcount ;
1117};
1118#line 506
1119struct dev_pm_qos_request;
1120#line 506
1121struct pm_qos_raints;
1122#line 506 "include/linux/pm.h"
1123struct dev_pm_info {
1124 pm_message_t power_state ;
1125 unsigned int can_wakeup : 1 ;
1126 unsigned int async_suspend : 1 ;
1127 bool is_prepared : 1 ;
1128 bool is_suspended : 1 ;
1129 bool ignore_children : 1 ;
1130 spinlock_t lock ;
1131 struct list_head entry ;
1132 struct completion completion ;
1133 struct wakeup_source *wakeup ;
1134 bool wakeup_path : 1 ;
1135 struct timer_list suspend_timer ;
1136 unsigned long timer_expires ;
1137 struct work_struct work ;
1138 wait_queue_head_t wait_queue ;
1139 atomic_t usage_count ;
1140 atomic_t child_count ;
1141 unsigned int disable_depth : 3 ;
1142 unsigned int idle_notification : 1 ;
1143 unsigned int request_pending : 1 ;
1144 unsigned int deferred_resume : 1 ;
1145 unsigned int run_wake : 1 ;
1146 unsigned int runtime_auto : 1 ;
1147 unsigned int no_callbacks : 1 ;
1148 unsigned int irq_safe : 1 ;
1149 unsigned int use_autosuspend : 1 ;
1150 unsigned int timer_autosuspends : 1 ;
1151 enum rpm_request request ;
1152 enum rpm_status runtime_status ;
1153 int runtime_error ;
1154 int autosuspend_delay ;
1155 unsigned long last_busy ;
1156 unsigned long active_jiffies ;
1157 unsigned long suspended_jiffies ;
1158 unsigned long accounting_timestamp ;
1159 ktime_t suspend_time ;
1160 s64 max_time_suspended_ns ;
1161 struct dev_pm_qos_request *pq_req ;
1162 struct pm_subsys_data *subsys_data ;
1163 struct pm_qos_raints *raints ;
1164};
1165#line 564 "include/linux/pm.h"
1166struct dev_pm_domain {
1167 struct dev_pm_ops ops ;
1168};
1169#line 98 "include/linux/nodemask.h"
1170struct __anonstruct_nodemask_t_127 {
1171 unsigned long bits[(((unsigned long )(1 << 10) + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
1172};
1173#line 98 "include/linux/nodemask.h"
1174typedef struct __anonstruct_nodemask_t_127 nodemask_t;
1175#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
1176struct __anonstruct_mm_context_t_128 {
1177 void *ldt ;
1178 int size ;
1179 unsigned short ia32_compat ;
1180 struct mutex lock ;
1181 void *vdso ;
1182};
1183#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
1184typedef struct __anonstruct_mm_context_t_128 mm_context_t;
1185#line 8 "include/linux/vmalloc.h"
1186struct vm_area_struct;
1187#line 18 "include/linux/percpu_counter.h"
1188struct percpu_counter {
1189 raw_spinlock_t lock ;
1190 s64 count ;
1191 struct list_head list ;
1192 s32 *counters ;
1193};
1194#line 50 "include/linux/dqblk_xfs.h"
1195struct fs_disk_quota {
1196 __s8 d_version ;
1197 __s8 d_flags ;
1198 __u16 d_fieldmask ;
1199 __u32 d_id ;
1200 __u64 d_blk_hardlimit ;
1201 __u64 d_blk_softlimit ;
1202 __u64 d_ino_hardlimit ;
1203 __u64 d_ino_softlimit ;
1204 __u64 d_bcount ;
1205 __u64 d_icount ;
1206 __s32 d_itimer ;
1207 __s32 d_btimer ;
1208 __u16 d_iwarns ;
1209 __u16 d_bwarns ;
1210 __s32 d_padding2 ;
1211 __u64 d_rtb_hardlimit ;
1212 __u64 d_rtb_softlimit ;
1213 __u64 d_rtbcount ;
1214 __s32 d_rtbtimer ;
1215 __u16 d_rtbwarns ;
1216 __s16 d_padding3 ;
1217 char d_padding4[8] ;
1218};
1219#line 146 "include/linux/dqblk_xfs.h"
1220struct fs_qfilestat {
1221 __u64 qfs_ino ;
1222 __u64 qfs_nblks ;
1223 __u32 qfs_nextents ;
1224};
1225#line 146 "include/linux/dqblk_xfs.h"
1226typedef struct fs_qfilestat fs_qfilestat_t;
1227#line 152 "include/linux/dqblk_xfs.h"
1228struct fs_quota_stat {
1229 __s8 qs_version ;
1230 __u16 qs_flags ;
1231 __s8 qs_pad ;
1232 fs_qfilestat_t qs_uquota ;
1233 fs_qfilestat_t qs_gquota ;
1234 __u32 qs_incoredqs ;
1235 __s32 qs_btimelimit ;
1236 __s32 qs_itimelimit ;
1237 __s32 qs_rtbtimelimit ;
1238 __u16 qs_bwarnlimit ;
1239 __u16 qs_iwarnlimit ;
1240};
1241#line 17 "include/linux/dqblk_qtree.h"
1242struct dquot;
1243#line 17
1244struct dquot;
1245#line 185 "include/linux/quota.h"
1246typedef __kernel_uid32_t qid_t;
1247#line 186 "include/linux/quota.h"
1248typedef long long qsize_t;
1249#line 200 "include/linux/quota.h"
1250struct mem_dqblk {
1251 qsize_t dqb_bhardlimit ;
1252 qsize_t dqb_bsoftlimit ;
1253 qsize_t dqb_curspace ;
1254 qsize_t dqb_rsvspace ;
1255 qsize_t dqb_ihardlimit ;
1256 qsize_t dqb_isoftlimit ;
1257 qsize_t dqb_curinodes ;
1258 time_t dqb_btime ;
1259 time_t dqb_itime ;
1260};
1261#line 215
1262struct quota_format_type;
1263#line 215
1264struct quota_format_type;
1265#line 217 "include/linux/quota.h"
1266struct mem_dqinfo {
1267 struct quota_format_type *dqi_format ;
1268 int dqi_fmt_id ;
1269 struct list_head dqi_dirty_list ;
1270 unsigned long dqi_flags ;
1271 unsigned int dqi_bgrace ;
1272 unsigned int dqi_igrace ;
1273 qsize_t dqi_maxblimit ;
1274 qsize_t dqi_maxilimit ;
1275 void *dqi_priv ;
1276};
1277#line 230
1278struct super_block;
1279#line 288 "include/linux/quota.h"
1280struct dquot {
1281 struct hlist_node dq_hash ;
1282 struct list_head dq_inuse ;
1283 struct list_head dq_free ;
1284 struct list_head dq_dirty ;
1285 struct mutex dq_lock ;
1286 atomic_t dq_count ;
1287 wait_queue_head_t dq_wait_unused ;
1288 struct super_block *dq_sb ;
1289 unsigned int dq_id ;
1290 loff_t dq_off ;
1291 unsigned long dq_flags ;
1292 short dq_type ;
1293 struct mem_dqblk dq_dqb ;
1294};
1295#line 305 "include/linux/quota.h"
1296struct quota_format_ops {
1297 int (*check_quota_file)(struct super_block *sb , int type ) ;
1298 int (*read_file_info)(struct super_block *sb , int type ) ;
1299 int (*write_file_info)(struct super_block *sb , int type ) ;
1300 int (*free_file_info)(struct super_block *sb , int type ) ;
1301 int (*read_dqblk)(struct dquot *dquot ) ;
1302 int (*commit_dqblk)(struct dquot *dquot ) ;
1303 int (*release_dqblk)(struct dquot *dquot ) ;
1304};
1305#line 316 "include/linux/quota.h"
1306struct dquot_operations {
1307 int (*write_dquot)(struct dquot * ) ;
1308 struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
1309 void (*destroy_dquot)(struct dquot * ) ;
1310 int (*acquire_dquot)(struct dquot * ) ;
1311 int (*release_dquot)(struct dquot * ) ;
1312 int (*mark_dirty)(struct dquot * ) ;
1313 int (*write_info)(struct super_block * , int ) ;
1314 qsize_t *(*get_reserved_space)(struct inode * ) ;
1315};
1316#line 329
1317struct path;
1318#line 332 "include/linux/quota.h"
1319struct quotactl_ops {
1320 int (*quota_on)(struct super_block * , int , int , struct path * ) ;
1321 int (*quota_on_meta)(struct super_block * , int , int ) ;
1322 int (*quota_off)(struct super_block * , int ) ;
1323 int (*quota_sync)(struct super_block * , int , int ) ;
1324 int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
1325 int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
1326 int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
1327 int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
1328 int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
1329 int (*set_xstate)(struct super_block * , unsigned int , int ) ;
1330};
1331#line 345 "include/linux/quota.h"
1332struct quota_format_type {
1333 int qf_fmt_id ;
1334 struct quota_format_ops *qf_ops ;
1335 struct module *qf_owner ;
1336 struct quota_format_type *qf_next ;
1337};
1338#line 399 "include/linux/quota.h"
1339struct quota_info {
1340 unsigned int flags ;
1341 struct mutex dqio_mutex ;
1342 struct mutex dqonoff_mutex ;
1343 struct rw_semaphore dqptr_sem ;
1344 struct inode *files[2] ;
1345 struct mem_dqinfo info[2] ;
1346 struct quota_format_ops *ops[2] ;
1347};
1348#line 532 "include/linux/fs.h"
1349struct page;
1350#line 533
1351struct address_space;
1352#line 533
1353struct address_space;
1354#line 534
1355struct writeback_control;
1356#line 534
1357struct writeback_control;
1358#line 577 "include/linux/fs.h"
1359union __anonunion_arg_158 {
1360 char *buf ;
1361 void *data ;
1362};
1363#line 577 "include/linux/fs.h"
1364struct __anonstruct_read_descriptor_t_157 {
1365 size_t written ;
1366 size_t count ;
1367 union __anonunion_arg_158 arg ;
1368 int error ;
1369};
1370#line 577 "include/linux/fs.h"
1371typedef struct __anonstruct_read_descriptor_t_157 read_descriptor_t;
1372#line 590 "include/linux/fs.h"
1373struct address_space_operations {
1374 int (*writepage)(struct page *page , struct writeback_control *wbc ) ;
1375 int (*readpage)(struct file * , struct page * ) ;
1376 int (*writepages)(struct address_space * , struct writeback_control * ) ;
1377 int (*set_page_dirty)(struct page *page ) ;
1378 int (*readpages)(struct file *filp , struct address_space *mapping , struct list_head *pages ,
1379 unsigned int nr_pages ) ;
1380 int (*write_begin)(struct file * , struct address_space *mapping , loff_t pos ,
1381 unsigned int len , unsigned int flags , struct page **pagep ,
1382 void **fsdata ) ;
1383 int (*write_end)(struct file * , struct address_space *mapping , loff_t pos , unsigned int len ,
1384 unsigned int copied , struct page *page , void *fsdata ) ;
1385 sector_t (*bmap)(struct address_space * , sector_t ) ;
1386 void (*invalidatepage)(struct page * , unsigned long ) ;
1387 int (*releasepage)(struct page * , gfp_t ) ;
1388 void (*freepage)(struct page * ) ;
1389 ssize_t (*direct_IO)(int , struct kiocb * , struct iovec *iov , loff_t offset ,
1390 unsigned long nr_segs ) ;
1391 int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ;
1392 int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode ) ;
1393 int (*launder_page)(struct page * ) ;
1394 int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
1395 int (*error_remove_page)(struct address_space * , struct page * ) ;
1396};
1397#line 645
1398struct backing_dev_info;
1399#line 645
1400struct backing_dev_info;
1401#line 646 "include/linux/fs.h"
1402struct address_space {
1403 struct inode *host ;
1404 struct radix_tree_root page_tree ;
1405 spinlock_t tree_lock ;
1406 unsigned int i_mmap_writable ;
1407 struct prio_tree_root i_mmap ;
1408 struct list_head i_mmap_nonlinear ;
1409 struct mutex i_mmap_mutex ;
1410 unsigned long nrpages ;
1411 unsigned long writeback_index ;
1412 struct address_space_operations *a_ops ;
1413 unsigned long flags ;
1414 struct backing_dev_info *backing_dev_info ;
1415 spinlock_t private_lock ;
1416 struct list_head private_list ;
1417 struct address_space *assoc_mapping ;
1418} __attribute__((__aligned__(sizeof(long )))) ;
1419#line 669
1420struct request_queue;
1421#line 669
1422struct request_queue;
1423#line 671
1424struct hd_struct;
1425#line 671
1426struct gendisk;
1427#line 671 "include/linux/fs.h"
1428struct block_device {
1429 dev_t bd_dev ;
1430 int bd_openers ;
1431 struct inode *bd_inode ;
1432 struct super_block *bd_super ;
1433 struct mutex bd_mutex ;
1434 struct list_head bd_inodes ;
1435 void *bd_claiming ;
1436 void *bd_holder ;
1437 int bd_holders ;
1438 bool bd_write_holder ;
1439 struct list_head bd_holder_disks ;
1440 struct block_device *bd_contains ;
1441 unsigned int bd_block_size ;
1442 struct hd_struct *bd_part ;
1443 unsigned int bd_part_count ;
1444 int bd_invalidated ;
1445 struct gendisk *bd_disk ;
1446 struct request_queue *bd_queue ;
1447 struct list_head bd_list ;
1448 unsigned long bd_private ;
1449 int bd_fsfreeze_count ;
1450 struct mutex bd_fsfreeze_mutex ;
1451};
1452#line 749
1453struct posix_acl;
1454#line 749
1455struct posix_acl;
1456#line 761
1457struct inode_operations;
1458#line 761 "include/linux/fs.h"
1459union __anonunion____missing_field_name_159 {
1460 unsigned int i_nlink ;
1461 unsigned int __i_nlink ;
1462};
1463#line 761 "include/linux/fs.h"
1464union __anonunion____missing_field_name_160 {
1465 struct list_head i_dentry ;
1466 struct rcu_head i_rcu ;
1467};
1468#line 761
1469struct file_operations;
1470#line 761
1471struct file_lock;
1472#line 761
1473struct cdev;
1474#line 761 "include/linux/fs.h"
1475union __anonunion____missing_field_name_161 {
1476 struct pipe_inode_info *i_pipe ;
1477 struct block_device *i_bdev ;
1478 struct cdev *i_cdev ;
1479};
1480#line 761 "include/linux/fs.h"
1481struct inode {
1482 umode_t i_mode ;
1483 unsigned short i_opflags ;
1484 uid_t i_uid ;
1485 gid_t i_gid ;
1486 unsigned int i_flags ;
1487 struct posix_acl *i_acl ;
1488 struct posix_acl *i_default_acl ;
1489 struct inode_operations *i_op ;
1490 struct super_block *i_sb ;
1491 struct address_space *i_mapping ;
1492 void *i_security ;
1493 unsigned long i_ino ;
1494 union __anonunion____missing_field_name_159 __annonCompField30 ;
1495 dev_t i_rdev ;
1496 struct timespec i_atime ;
1497 struct timespec i_mtime ;
1498 struct timespec i_ctime ;
1499 spinlock_t i_lock ;
1500 unsigned short i_bytes ;
1501 blkcnt_t i_blocks ;
1502 loff_t i_size ;
1503 unsigned long i_state ;
1504 struct mutex i_mutex ;
1505 unsigned long dirtied_when ;
1506 struct hlist_node i_hash ;
1507 struct list_head i_wb_list ;
1508 struct list_head i_lru ;
1509 struct list_head i_sb_list ;
1510 union __anonunion____missing_field_name_160 __annonCompField31 ;
1511 atomic_t i_count ;
1512 unsigned int i_blkbits ;
1513 u64 i_version ;
1514 atomic_t i_dio_count ;
1515 atomic_t i_writecount ;
1516 struct file_operations *i_fop ;
1517 struct file_lock *i_flock ;
1518 struct address_space i_data ;
1519 struct dquot *i_dquot[2] ;
1520 struct list_head i_devices ;
1521 union __anonunion____missing_field_name_161 __annonCompField32 ;
1522 __u32 i_generation ;
1523 __u32 i_fsnotify_mask ;
1524 struct hlist_head i_fsnotify_marks ;
1525 atomic_t i_readcount ;
1526 void *i_private ;
1527};
1528#line 942 "include/linux/fs.h"
1529struct fown_struct {
1530 rwlock_t lock ;
1531 struct pid *pid ;
1532 enum pid_type pid_type ;
1533 uid_t uid ;
1534 uid_t euid ;
1535 int signum ;
1536};
1537#line 953 "include/linux/fs.h"
1538struct file_ra_state {
1539 unsigned long start ;
1540 unsigned int size ;
1541 unsigned int async_size ;
1542 unsigned int ra_pages ;
1543 unsigned int mmap_miss ;
1544 loff_t prev_pos ;
1545};
1546#line 976 "include/linux/fs.h"
1547union __anonunion_f_u_162 {
1548 struct list_head fu_list ;
1549 struct rcu_head fu_rcuhead ;
1550};
1551#line 976 "include/linux/fs.h"
1552struct file {
1553 union __anonunion_f_u_162 f_u ;
1554 struct path f_path ;
1555 struct file_operations *f_op ;
1556 spinlock_t f_lock ;
1557 int f_sb_list_cpu ;
1558 atomic_long_t f_count ;
1559 unsigned int f_flags ;
1560 fmode_t f_mode ;
1561 loff_t f_pos ;
1562 struct fown_struct f_owner ;
1563 struct cred *f_cred ;
1564 struct file_ra_state f_ra ;
1565 u64 f_version ;
1566 void *f_security ;
1567 void *private_data ;
1568 struct list_head f_ep_links ;
1569 struct list_head f_tfile_llink ;
1570 struct address_space *f_mapping ;
1571 unsigned long f_mnt_write_state ;
1572};
1573#line 1111
1574struct files_struct;
1575#line 1111 "include/linux/fs.h"
1576typedef struct files_struct *fl_owner_t;
1577#line 1113 "include/linux/fs.h"
1578struct file_lock_operations {
1579 void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
1580 void (*fl_release_private)(struct file_lock * ) ;
1581};
1582#line 1118 "include/linux/fs.h"
1583struct lock_manager_operations {
1584 int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
1585 void (*lm_notify)(struct file_lock * ) ;
1586 int (*lm_grant)(struct file_lock * , struct file_lock * , int ) ;
1587 void (*lm_release_private)(struct file_lock * ) ;
1588 void (*lm_break)(struct file_lock * ) ;
1589 int (*lm_change)(struct file_lock ** , int ) ;
1590};
1591#line 4 "include/linux/nfs_fs_i.h"
1592struct nlm_lockowner;
1593#line 4
1594struct nlm_lockowner;
1595#line 9 "include/linux/nfs_fs_i.h"
1596struct nfs_lock_info {
1597 u32 state ;
1598 struct nlm_lockowner *owner ;
1599 struct list_head list ;
1600};
1601#line 15
1602struct nfs4_lock_state;
1603#line 15
1604struct nfs4_lock_state;
1605#line 16 "include/linux/nfs_fs_i.h"
1606struct nfs4_lock_info {
1607 struct nfs4_lock_state *owner ;
1608};
1609#line 1138 "include/linux/fs.h"
1610struct fasync_struct;
1611#line 1138 "include/linux/fs.h"
1612struct __anonstruct_afs_164 {
1613 struct list_head link ;
1614 int state ;
1615};
1616#line 1138 "include/linux/fs.h"
1617union __anonunion_fl_u_163 {
1618 struct nfs_lock_info nfs_fl ;
1619 struct nfs4_lock_info nfs4_fl ;
1620 struct __anonstruct_afs_164 afs ;
1621};
1622#line 1138 "include/linux/fs.h"
1623struct file_lock {
1624 struct file_lock *fl_next ;
1625 struct list_head fl_link ;
1626 struct list_head fl_block ;
1627 fl_owner_t fl_owner ;
1628 unsigned int fl_flags ;
1629 unsigned char fl_type ;
1630 unsigned int fl_pid ;
1631 struct pid *fl_nspid ;
1632 wait_queue_head_t fl_wait ;
1633 struct file *fl_file ;
1634 loff_t fl_start ;
1635 loff_t fl_end ;
1636 struct fasync_struct *fl_fasync ;
1637 unsigned long fl_break_time ;
1638 unsigned long fl_downgrade_time ;
1639 struct file_lock_operations *fl_ops ;
1640 struct lock_manager_operations *fl_lmops ;
1641 union __anonunion_fl_u_163 fl_u ;
1642};
1643#line 1378 "include/linux/fs.h"
1644struct fasync_struct {
1645 spinlock_t fa_lock ;
1646 int magic ;
1647 int fa_fd ;
1648 struct fasync_struct *fa_next ;
1649 struct file *fa_file ;
1650 struct rcu_head fa_rcu ;
1651};
1652#line 1418
1653struct file_system_type;
1654#line 1418
1655struct super_operations;
1656#line 1418
1657struct xattr_handler;
1658#line 1418
1659struct mtd_info;
1660#line 1418 "include/linux/fs.h"
1661struct super_block {
1662 struct list_head s_list ;
1663 dev_t s_dev ;
1664 unsigned char s_dirt ;
1665 unsigned char s_blocksize_bits ;
1666 unsigned long s_blocksize ;
1667 loff_t s_maxbytes ;
1668 struct file_system_type *s_type ;
1669 struct super_operations *s_op ;
1670 struct dquot_operations *dq_op ;
1671 struct quotactl_ops *s_qcop ;
1672 struct export_operations *s_export_op ;
1673 unsigned long s_flags ;
1674 unsigned long s_magic ;
1675 struct dentry *s_root ;
1676 struct rw_semaphore s_umount ;
1677 struct mutex s_lock ;
1678 int s_count ;
1679 atomic_t s_active ;
1680 void *s_security ;
1681 struct xattr_handler **s_xattr ;
1682 struct list_head s_inodes ;
1683 struct hlist_bl_head s_anon ;
1684 struct list_head *s_files ;
1685 struct list_head s_mounts ;
1686 struct list_head s_dentry_lru ;
1687 int s_nr_dentry_unused ;
1688 spinlock_t s_inode_lru_lock __attribute__((__aligned__((1) << (6) ))) ;
1689 struct list_head s_inode_lru ;
1690 int s_nr_inodes_unused ;
1691 struct block_device *s_bdev ;
1692 struct backing_dev_info *s_bdi ;
1693 struct mtd_info *s_mtd ;
1694 struct hlist_node s_instances ;
1695 struct quota_info s_dquot ;
1696 int s_frozen ;
1697 wait_queue_head_t s_wait_unfrozen ;
1698 char s_id[32] ;
1699 u8 s_uuid[16] ;
1700 void *s_fs_info ;
1701 unsigned int s_max_links ;
1702 fmode_t s_mode ;
1703 u32 s_time_gran ;
1704 struct mutex s_vfs_rename_mutex ;
1705 char *s_subtype ;
1706 char *s_options ;
1707 struct dentry_operations *s_d_op ;
1708 int cleancache_poolid ;
1709 struct shrinker s_shrink ;
1710 atomic_long_t s_remove_count ;
1711 int s_readonly_remount ;
1712};
1713#line 1567 "include/linux/fs.h"
1714struct fiemap_extent_info {
1715 unsigned int fi_flags ;
1716 unsigned int fi_extents_mapped ;
1717 unsigned int fi_extents_max ;
1718 struct fiemap_extent *fi_extents_start ;
1719};
1720#line 1609 "include/linux/fs.h"
1721struct file_operations {
1722 struct module *owner ;
1723 loff_t (*llseek)(struct file * , loff_t , int ) ;
1724 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
1725 ssize_t (*write)(struct file * , char * , size_t , loff_t * ) ;
1726 ssize_t (*aio_read)(struct kiocb * , struct iovec * , unsigned long ,
1727 loff_t ) ;
1728 ssize_t (*aio_write)(struct kiocb * , struct iovec * , unsigned long ,
1729 loff_t ) ;
1730 int (*readdir)(struct file * , void * , int (*)(void * , char * , int ,
1731 loff_t , u64 , unsigned int ) ) ;
1732 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
1733 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
1734 long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ;
1735 int (*mmap)(struct file * , struct vm_area_struct * ) ;
1736 int (*open)(struct inode * , struct file * ) ;
1737 int (*flush)(struct file * , fl_owner_t id ) ;
1738 int (*release)(struct inode * , struct file * ) ;
1739 int (*fsync)(struct file * , loff_t , loff_t , int datasync ) ;
1740 int (*aio_fsync)(struct kiocb * , int datasync ) ;
1741 int (*fasync)(int , struct file * , int ) ;
1742 int (*lock)(struct file * , int , struct file_lock * ) ;
1743 ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * ,
1744 int ) ;
1745 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
1746 unsigned long , unsigned long ) ;
1747 int (*check_flags)(int ) ;
1748 int (*flock)(struct file * , int , struct file_lock * ) ;
1749 ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t ,
1750 unsigned int ) ;
1751 ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t ,
1752 unsigned int ) ;
1753 int (*setlease)(struct file * , long , struct file_lock ** ) ;
1754 long (*fallocate)(struct file *file , int mode , loff_t offset , loff_t len ) ;
1755};
1756#line 1639 "include/linux/fs.h"
1757struct inode_operations {
1758 struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
1759 void *(*follow_link)(struct dentry * , struct nameidata * ) ;
1760 int (*permission)(struct inode * , int ) ;
1761 struct posix_acl *(*get_acl)(struct inode * , int ) ;
1762 int (*readlink)(struct dentry * , char * , int ) ;
1763 void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
1764 int (*create)(struct inode * , struct dentry * , umode_t , struct nameidata * ) ;
1765 int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
1766 int (*unlink)(struct inode * , struct dentry * ) ;
1767 int (*symlink)(struct inode * , struct dentry * , char * ) ;
1768 int (*mkdir)(struct inode * , struct dentry * , umode_t ) ;
1769 int (*rmdir)(struct inode * , struct dentry * ) ;
1770 int (*mknod)(struct inode * , struct dentry * , umode_t , dev_t ) ;
1771 int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
1772 void (*truncate)(struct inode * ) ;
1773 int (*setattr)(struct dentry * , struct iattr * ) ;
1774 int (*getattr)(struct vfsmount *mnt , struct dentry * , struct kstat * ) ;
1775 int (*setxattr)(struct dentry * , char * , void * , size_t , int ) ;
1776 ssize_t (*getxattr)(struct dentry * , char * , void * , size_t ) ;
1777 ssize_t (*listxattr)(struct dentry * , char * , size_t ) ;
1778 int (*removexattr)(struct dentry * , char * ) ;
1779 void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
1780 int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 start , u64 len ) ;
1781} __attribute__((__aligned__((1) << (6) ))) ;
1782#line 1669
1783struct seq_file;
1784#line 1684 "include/linux/fs.h"
1785struct super_operations {
1786 struct inode *(*alloc_inode)(struct super_block *sb ) ;
1787 void (*destroy_inode)(struct inode * ) ;
1788 void (*dirty_inode)(struct inode * , int flags ) ;
1789 int (*write_inode)(struct inode * , struct writeback_control *wbc ) ;
1790 int (*drop_inode)(struct inode * ) ;
1791 void (*evict_inode)(struct inode * ) ;
1792 void (*put_super)(struct super_block * ) ;
1793 void (*write_super)(struct super_block * ) ;
1794 int (*sync_fs)(struct super_block *sb , int wait ) ;
1795 int (*freeze_fs)(struct super_block * ) ;
1796 int (*unfreeze_fs)(struct super_block * ) ;
1797 int (*statfs)(struct dentry * , struct kstatfs * ) ;
1798 int (*remount_fs)(struct super_block * , int * , char * ) ;
1799 void (*umount_begin)(struct super_block * ) ;
1800 int (*show_options)(struct seq_file * , struct dentry * ) ;
1801 int (*show_devname)(struct seq_file * , struct dentry * ) ;
1802 int (*show_path)(struct seq_file * , struct dentry * ) ;
1803 int (*show_stats)(struct seq_file * , struct dentry * ) ;
1804 ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ;
1805 ssize_t (*quota_write)(struct super_block * , int , char * , size_t ,
1806 loff_t ) ;
1807 int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
1808 int (*nr_cached_objects)(struct super_block * ) ;
1809 void (*free_cached_objects)(struct super_block * , int ) ;
1810};
1811#line 1835 "include/linux/fs.h"
1812struct file_system_type {
1813 char *name ;
1814 int fs_flags ;
1815 struct dentry *(*mount)(struct file_system_type * , int , char * , void * ) ;
1816 void (*kill_sb)(struct super_block * ) ;
1817 struct module *owner ;
1818 struct file_system_type *next ;
1819 struct hlist_head fs_supers ;
1820 struct lock_class_key s_lock_key ;
1821 struct lock_class_key s_umount_key ;
1822 struct lock_class_key s_vfs_rename_key ;
1823 struct lock_class_key i_lock_key ;
1824 struct lock_class_key i_mutex_key ;
1825 struct lock_class_key i_mutex_dir_key ;
1826};
1827#line 2648
1828struct ctl_table;
1829#line 2648
1830struct ctl_table;
1831#line 58 "include/linux/aio_abi.h"
1832struct io_event {
1833 __u64 data ;
1834 __u64 obj ;
1835 __s64 res ;
1836 __s64 res2 ;
1837};
1838#line 100 "include/linux/rbtree.h"
1839struct rb_node {
1840 unsigned long rb_parent_color ;
1841 struct rb_node *rb_right ;
1842 struct rb_node *rb_left ;
1843} __attribute__((__aligned__(sizeof(long )))) ;
1844#line 110 "include/linux/rbtree.h"
1845struct rb_root {
1846 struct rb_node *rb_node ;
1847};
1848#line 23 "include/linux/mm_types.h"
1849struct address_space;
1850#line 40 "include/linux/mm_types.h"
1851union __anonunion____missing_field_name_169 {
1852 unsigned long index ;
1853 void *freelist ;
1854};
1855#line 40 "include/linux/mm_types.h"
1856struct __anonstruct____missing_field_name_173 {
1857 unsigned int inuse : 16 ;
1858 unsigned int objects : 15 ;
1859 unsigned int frozen : 1 ;
1860};
1861#line 40 "include/linux/mm_types.h"
1862union __anonunion____missing_field_name_172 {
1863 atomic_t _mapcount ;
1864 struct __anonstruct____missing_field_name_173 __annonCompField34 ;
1865};
1866#line 40 "include/linux/mm_types.h"
1867struct __anonstruct____missing_field_name_171 {
1868 union __anonunion____missing_field_name_172 __annonCompField35 ;
1869 atomic_t _count ;
1870};
1871#line 40 "include/linux/mm_types.h"
1872union __anonunion____missing_field_name_170 {
1873 unsigned long counters ;
1874 struct __anonstruct____missing_field_name_171 __annonCompField36 ;
1875};
1876#line 40 "include/linux/mm_types.h"
1877struct __anonstruct____missing_field_name_168 {
1878 union __anonunion____missing_field_name_169 __annonCompField33 ;
1879 union __anonunion____missing_field_name_170 __annonCompField37 ;
1880};
1881#line 40 "include/linux/mm_types.h"
1882struct __anonstruct____missing_field_name_175 {
1883 struct page *next ;
1884 int pages ;
1885 int pobjects ;
1886};
1887#line 40 "include/linux/mm_types.h"
1888union __anonunion____missing_field_name_174 {
1889 struct list_head lru ;
1890 struct __anonstruct____missing_field_name_175 __annonCompField39 ;
1891};
1892#line 40 "include/linux/mm_types.h"
1893union __anonunion____missing_field_name_176 {
1894 unsigned long private ;
1895 struct kmem_cache *slab ;
1896 struct page *first_page ;
1897};
1898#line 40 "include/linux/mm_types.h"
1899struct page {
1900 unsigned long flags ;
1901 struct address_space *mapping ;
1902 struct __anonstruct____missing_field_name_168 __annonCompField38 ;
1903 union __anonunion____missing_field_name_174 __annonCompField40 ;
1904 union __anonunion____missing_field_name_176 __annonCompField41 ;
1905 unsigned long debug_flags ;
1906} __attribute__((__aligned__((2) * (sizeof(unsigned long )) ))) ;
1907#line 200 "include/linux/mm_types.h"
1908struct __anonstruct_vm_set_178 {
1909 struct list_head list ;
1910 void *parent ;
1911 struct vm_area_struct *head ;
1912};
1913#line 200 "include/linux/mm_types.h"
1914union __anonunion_shared_177 {
1915 struct __anonstruct_vm_set_178 vm_set ;
1916 struct raw_prio_tree_node prio_tree_node ;
1917};
1918#line 200
1919struct anon_vma;
1920#line 200
1921struct vm_operations_struct;
1922#line 200
1923struct mempolicy;
1924#line 200 "include/linux/mm_types.h"
1925struct vm_area_struct {
1926 struct mm_struct *vm_mm ;
1927 unsigned long vm_start ;
1928 unsigned long vm_end ;
1929 struct vm_area_struct *vm_next ;
1930 struct vm_area_struct *vm_prev ;
1931 pgprot_t vm_page_prot ;
1932 unsigned long vm_flags ;
1933 struct rb_node vm_rb ;
1934 union __anonunion_shared_177 shared ;
1935 struct list_head anon_vma_chain ;
1936 struct anon_vma *anon_vma ;
1937 struct vm_operations_struct *vm_ops ;
1938 unsigned long vm_pgoff ;
1939 struct file *vm_file ;
1940 void *vm_private_data ;
1941 struct mempolicy *vm_policy ;
1942};
1943#line 257 "include/linux/mm_types.h"
1944struct core_thread {
1945 struct task_struct *task ;
1946 struct core_thread *next ;
1947};
1948#line 262 "include/linux/mm_types.h"
1949struct core_state {
1950 atomic_t nr_threads ;
1951 struct core_thread dumper ;
1952 struct completion startup ;
1953};
1954#line 284 "include/linux/mm_types.h"
1955struct mm_rss_stat {
1956 atomic_long_t count[3] ;
1957};
1958#line 288
1959struct linux_binfmt;
1960#line 288
1961struct mmu_notifier_mm;
1962#line 288 "include/linux/mm_types.h"
1963struct mm_struct {
1964 struct vm_area_struct *mmap ;
1965 struct rb_root mm_rb ;
1966 struct vm_area_struct *mmap_cache ;
1967 unsigned long (*get_unmapped_area)(struct file *filp , unsigned long addr , unsigned long len ,
1968 unsigned long pgoff , unsigned long flags ) ;
1969 void (*unmap_area)(struct mm_struct *mm , unsigned long addr ) ;
1970 unsigned long mmap_base ;
1971 unsigned long task_size ;
1972 unsigned long cached_hole_size ;
1973 unsigned long free_area_cache ;
1974 pgd_t *pgd ;
1975 atomic_t mm_users ;
1976 atomic_t mm_count ;
1977 int map_count ;
1978 spinlock_t page_table_lock ;
1979 struct rw_semaphore mmap_sem ;
1980 struct list_head mmlist ;
1981 unsigned long hiwater_rss ;
1982 unsigned long hiwater_vm ;
1983 unsigned long total_vm ;
1984 unsigned long locked_vm ;
1985 unsigned long pinned_vm ;
1986 unsigned long shared_vm ;
1987 unsigned long exec_vm ;
1988 unsigned long stack_vm ;
1989 unsigned long reserved_vm ;
1990 unsigned long def_flags ;
1991 unsigned long nr_ptes ;
1992 unsigned long start_code ;
1993 unsigned long end_code ;
1994 unsigned long start_data ;
1995 unsigned long end_data ;
1996 unsigned long start_brk ;
1997 unsigned long brk ;
1998 unsigned long start_stack ;
1999 unsigned long arg_start ;
2000 unsigned long arg_end ;
2001 unsigned long env_start ;
2002 unsigned long env_end ;
2003 unsigned long saved_auxv[44] ;
2004 struct mm_rss_stat rss_stat ;
2005 struct linux_binfmt *binfmt ;
2006 cpumask_var_t cpu_vm_mask_var ;
2007 mm_context_t context ;
2008 unsigned int faultstamp ;
2009 unsigned int token_priority ;
2010 unsigned int last_interval ;
2011 unsigned long flags ;
2012 struct core_state *core_state ;
2013 spinlock_t ioctx_lock ;
2014 struct hlist_head ioctx_list ;
2015 struct task_struct *owner ;
2016 struct file *exe_file ;
2017 unsigned long num_exe_file_vmas ;
2018 struct mmu_notifier_mm *mmu_notifier_mm ;
2019 pgtable_t pmd_huge_pte ;
2020 struct cpumask cpumask_allocation ;
2021};
2022#line 7 "include/asm-generic/cputime.h"
2023typedef unsigned long cputime_t;
2024#line 10 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2025struct siginfo;
2026#line 10
2027struct siginfo;
2028#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2029struct __anonstruct_sigset_t_180 {
2030 unsigned long sig[1] ;
2031};
2032#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2033typedef struct __anonstruct_sigset_t_180 sigset_t;
2034#line 17 "include/asm-generic/signal-defs.h"
2035typedef void __signalfn_t(int );
2036#line 18 "include/asm-generic/signal-defs.h"
2037typedef __signalfn_t *__sighandler_t;
2038#line 20 "include/asm-generic/signal-defs.h"
2039typedef void __restorefn_t(void);
2040#line 21 "include/asm-generic/signal-defs.h"
2041typedef __restorefn_t *__sigrestore_t;
2042#line 167 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2043struct sigaction {
2044 __sighandler_t sa_handler ;
2045 unsigned long sa_flags ;
2046 __sigrestore_t sa_restorer ;
2047 sigset_t sa_mask ;
2048};
2049#line 174 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2050struct k_sigaction {
2051 struct sigaction sa ;
2052};
2053#line 7 "include/asm-generic/siginfo.h"
2054union sigval {
2055 int sival_int ;
2056 void *sival_ptr ;
2057};
2058#line 7 "include/asm-generic/siginfo.h"
2059typedef union sigval sigval_t;
2060#line 48 "include/asm-generic/siginfo.h"
2061struct __anonstruct__kill_182 {
2062 __kernel_pid_t _pid ;
2063 __kernel_uid32_t _uid ;
2064};
2065#line 48 "include/asm-generic/siginfo.h"
2066struct __anonstruct__timer_183 {
2067 __kernel_timer_t _tid ;
2068 int _overrun ;
2069 char _pad[sizeof(__kernel_uid32_t ) - sizeof(int )] ;
2070 sigval_t _sigval ;
2071 int _sys_private ;
2072};
2073#line 48 "include/asm-generic/siginfo.h"
2074struct __anonstruct__rt_184 {
2075 __kernel_pid_t _pid ;
2076 __kernel_uid32_t _uid ;
2077 sigval_t _sigval ;
2078};
2079#line 48 "include/asm-generic/siginfo.h"
2080struct __anonstruct__sigchld_185 {
2081 __kernel_pid_t _pid ;
2082 __kernel_uid32_t _uid ;
2083 int _status ;
2084 __kernel_clock_t _utime ;
2085 __kernel_clock_t _stime ;
2086};
2087#line 48 "include/asm-generic/siginfo.h"
2088struct __anonstruct__sigfault_186 {
2089 void *_addr ;
2090 short _addr_lsb ;
2091};
2092#line 48 "include/asm-generic/siginfo.h"
2093struct __anonstruct__sigpoll_187 {
2094 long _band ;
2095 int _fd ;
2096};
2097#line 48 "include/asm-generic/siginfo.h"
2098union __anonunion__sifields_181 {
2099 int _pad[(128UL - 4UL * sizeof(int )) / sizeof(int )] ;
2100 struct __anonstruct__kill_182 _kill ;
2101 struct __anonstruct__timer_183 _timer ;
2102 struct __anonstruct__rt_184 _rt ;
2103 struct __anonstruct__sigchld_185 _sigchld ;
2104 struct __anonstruct__sigfault_186 _sigfault ;
2105 struct __anonstruct__sigpoll_187 _sigpoll ;
2106};
2107#line 48 "include/asm-generic/siginfo.h"
2108struct siginfo {
2109 int si_signo ;
2110 int si_errno ;
2111 int si_code ;
2112 union __anonunion__sifields_181 _sifields ;
2113};
2114#line 48 "include/asm-generic/siginfo.h"
2115typedef struct siginfo siginfo_t;
2116#line 288
2117struct siginfo;
2118#line 10 "include/linux/signal.h"
2119struct task_struct;
2120#line 18
2121struct user_struct;
2122#line 28 "include/linux/signal.h"
2123struct sigpending {
2124 struct list_head list ;
2125 sigset_t signal ;
2126};
2127#line 239
2128struct timespec;
2129#line 240
2130struct pt_regs;
2131#line 60 "include/linux/pageblock-flags.h"
2132struct page;
2133#line 50 "include/linux/notifier.h"
2134struct notifier_block {
2135 int (*notifier_call)(struct notifier_block * , unsigned long , void * ) ;
2136 struct notifier_block *next ;
2137 int priority ;
2138};
2139#line 61 "include/linux/notifier.h"
2140struct blocking_notifier_head {
2141 struct rw_semaphore rwsem ;
2142 struct notifier_block *head ;
2143};
2144#line 9 "include/linux/memory_hotplug.h"
2145struct page;
2146#line 798 "include/linux/mmzone.h"
2147struct ctl_table;
2148#line 994
2149struct page;
2150#line 10 "include/linux/seccomp.h"
2151struct __anonstruct_seccomp_t_192 {
2152 int mode ;
2153};
2154#line 10 "include/linux/seccomp.h"
2155typedef struct __anonstruct_seccomp_t_192 seccomp_t;
2156#line 81 "include/linux/plist.h"
2157struct plist_head {
2158 struct list_head node_list ;
2159};
2160#line 85 "include/linux/plist.h"
2161struct plist_node {
2162 int prio ;
2163 struct list_head prio_list ;
2164 struct list_head node_list ;
2165};
2166#line 40 "include/linux/rtmutex.h"
2167struct rt_mutex_waiter;
2168#line 40
2169struct rt_mutex_waiter;
2170#line 42 "include/linux/resource.h"
2171struct rlimit {
2172 unsigned long rlim_cur ;
2173 unsigned long rlim_max ;
2174};
2175#line 81
2176struct task_struct;
2177#line 8 "include/linux/timerqueue.h"
2178struct timerqueue_node {
2179 struct rb_node node ;
2180 ktime_t expires ;
2181};
2182#line 13 "include/linux/timerqueue.h"
2183struct timerqueue_head {
2184 struct rb_root head ;
2185 struct timerqueue_node *next ;
2186};
2187#line 27 "include/linux/hrtimer.h"
2188struct hrtimer_clock_base;
2189#line 27
2190struct hrtimer_clock_base;
2191#line 28
2192struct hrtimer_cpu_base;
2193#line 28
2194struct hrtimer_cpu_base;
2195#line 44
2196enum hrtimer_restart {
2197 HRTIMER_NORESTART = 0,
2198 HRTIMER_RESTART = 1
2199} ;
2200#line 108 "include/linux/hrtimer.h"
2201struct hrtimer {
2202 struct timerqueue_node node ;
2203 ktime_t _softexpires ;
2204 enum hrtimer_restart (*function)(struct hrtimer * ) ;
2205 struct hrtimer_clock_base *base ;
2206 unsigned long state ;
2207 int start_pid ;
2208 void *start_site ;
2209 char start_comm[16] ;
2210};
2211#line 145 "include/linux/hrtimer.h"
2212struct hrtimer_clock_base {
2213 struct hrtimer_cpu_base *cpu_base ;
2214 int index ;
2215 clockid_t clockid ;
2216 struct timerqueue_head active ;
2217 ktime_t resolution ;
2218 ktime_t (*get_time)(void) ;
2219 ktime_t softirq_time ;
2220 ktime_t offset ;
2221};
2222#line 178 "include/linux/hrtimer.h"
2223struct hrtimer_cpu_base {
2224 raw_spinlock_t lock ;
2225 unsigned long active_bases ;
2226 ktime_t expires_next ;
2227 int hres_active ;
2228 int hang_detected ;
2229 unsigned long nr_events ;
2230 unsigned long nr_retries ;
2231 unsigned long nr_hangs ;
2232 ktime_t max_hang_time ;
2233 struct hrtimer_clock_base clock_base[3] ;
2234};
2235#line 11 "include/linux/task_io_accounting.h"
2236struct task_io_accounting {
2237 u64 rchar ;
2238 u64 wchar ;
2239 u64 syscr ;
2240 u64 syscw ;
2241 u64 read_bytes ;
2242 u64 write_bytes ;
2243 u64 cancelled_write_bytes ;
2244};
2245#line 13 "include/linux/latencytop.h"
2246struct task_struct;
2247#line 20 "include/linux/latencytop.h"
2248struct latency_record {
2249 unsigned long backtrace[12] ;
2250 unsigned int count ;
2251 unsigned long time ;
2252 unsigned long max ;
2253};
2254#line 29 "include/linux/sysctl.h"
2255struct completion;
2256#line 938
2257struct ctl_table;
2258#line 939
2259struct nsproxy;
2260#line 939
2261struct nsproxy;
2262#line 940
2263struct ctl_table_root;
2264#line 940
2265struct ctl_table_root;
2266#line 941
2267struct ctl_table_header;
2268#line 941
2269struct ctl_table_header;
2270#line 942
2271struct ctl_dir;
2272#line 942
2273struct ctl_dir;
2274#line 946 "include/linux/sysctl.h"
2275typedef int proc_handler(struct ctl_table *ctl , int write , void *buffer , size_t *lenp ,
2276 loff_t *ppos );
2277#line 996 "include/linux/sysctl.h"
2278struct ctl_table_poll {
2279 atomic_t event ;
2280 wait_queue_head_t wait ;
2281};
2282#line 1014 "include/linux/sysctl.h"
2283struct ctl_table {
2284 char *procname ;
2285 void *data ;
2286 int maxlen ;
2287 umode_t mode ;
2288 struct ctl_table *child ;
2289 proc_handler *proc_handler ;
2290 struct ctl_table_poll *poll ;
2291 void *extra1 ;
2292 void *extra2 ;
2293};
2294#line 1027 "include/linux/sysctl.h"
2295struct ctl_node {
2296 struct rb_node node ;
2297 struct ctl_table_header *header ;
2298};
2299#line 1034 "include/linux/sysctl.h"
2300struct __anonstruct____missing_field_name_248 {
2301 struct ctl_table *ctl_table ;
2302 int used ;
2303 int count ;
2304 int nreg ;
2305};
2306#line 1034 "include/linux/sysctl.h"
2307union __anonunion____missing_field_name_247 {
2308 struct __anonstruct____missing_field_name_248 __annonCompField42 ;
2309 struct rcu_head rcu ;
2310};
2311#line 1034
2312struct ctl_table_set;
2313#line 1034 "include/linux/sysctl.h"
2314struct ctl_table_header {
2315 union __anonunion____missing_field_name_247 __annonCompField43 ;
2316 struct completion *unregistering ;
2317 struct ctl_table *ctl_table_arg ;
2318 struct ctl_table_root *root ;
2319 struct ctl_table_set *set ;
2320 struct ctl_dir *parent ;
2321 struct ctl_node *node ;
2322};
2323#line 1053 "include/linux/sysctl.h"
2324struct ctl_dir {
2325 struct ctl_table_header header ;
2326 struct rb_root root ;
2327};
2328#line 1059 "include/linux/sysctl.h"
2329struct ctl_table_set {
2330 int (*is_seen)(struct ctl_table_set * ) ;
2331 struct ctl_dir dir ;
2332};
2333#line 1064 "include/linux/sysctl.h"
2334struct ctl_table_root {
2335 struct ctl_table_set default_set ;
2336 struct ctl_table_set *(*lookup)(struct ctl_table_root *root , struct nsproxy *namespaces ) ;
2337 int (*permissions)(struct ctl_table_root *root , struct nsproxy *namespaces , struct ctl_table *table ) ;
2338};
2339#line 29 "include/linux/key.h"
2340typedef int32_t key_serial_t;
2341#line 32 "include/linux/key.h"
2342typedef uint32_t key_perm_t;
2343#line 34
2344struct key;
2345#line 34
2346struct key;
2347#line 74
2348struct seq_file;
2349#line 75
2350struct user_struct;
2351#line 76
2352struct signal_struct;
2353#line 76
2354struct signal_struct;
2355#line 77
2356struct cred;
2357#line 79
2358struct key_type;
2359#line 79
2360struct key_type;
2361#line 81
2362struct keyring_list;
2363#line 81
2364struct keyring_list;
2365#line 124
2366struct key_user;
2367#line 124 "include/linux/key.h"
2368union __anonunion____missing_field_name_249 {
2369 time_t expiry ;
2370 time_t revoked_at ;
2371};
2372#line 124 "include/linux/key.h"
2373union __anonunion_type_data_250 {
2374 struct list_head link ;
2375 unsigned long x[2] ;
2376 void *p[2] ;
2377 int reject_error ;
2378};
2379#line 124 "include/linux/key.h"
2380union __anonunion_payload_251 {
2381 unsigned long value ;
2382 void *rcudata ;
2383 void *data ;
2384 struct keyring_list *subscriptions ;
2385};
2386#line 124 "include/linux/key.h"
2387struct key {
2388 atomic_t usage ;
2389 key_serial_t serial ;
2390 struct rb_node serial_node ;
2391 struct key_type *type ;
2392 struct rw_semaphore sem ;
2393 struct key_user *user ;
2394 void *security ;
2395 union __anonunion____missing_field_name_249 __annonCompField44 ;
2396 uid_t uid ;
2397 gid_t gid ;
2398 key_perm_t perm ;
2399 unsigned short quotalen ;
2400 unsigned short datalen ;
2401 unsigned long flags ;
2402 char *description ;
2403 union __anonunion_type_data_250 type_data ;
2404 union __anonunion_payload_251 payload ;
2405};
2406#line 18 "include/linux/selinux.h"
2407struct audit_context;
2408#line 18
2409struct audit_context;
2410#line 21 "include/linux/cred.h"
2411struct user_struct;
2412#line 22
2413struct cred;
2414#line 23
2415struct inode;
2416#line 31 "include/linux/cred.h"
2417struct group_info {
2418 atomic_t usage ;
2419 int ngroups ;
2420 int nblocks ;
2421 gid_t small_block[32] ;
2422 gid_t *blocks[0] ;
2423};
2424#line 83 "include/linux/cred.h"
2425struct thread_group_cred {
2426 atomic_t usage ;
2427 pid_t tgid ;
2428 spinlock_t lock ;
2429 struct key *session_keyring ;
2430 struct key *process_keyring ;
2431 struct rcu_head rcu ;
2432};
2433#line 116 "include/linux/cred.h"
2434struct cred {
2435 atomic_t usage ;
2436 atomic_t subscribers ;
2437 void *put_addr ;
2438 unsigned int magic ;
2439 uid_t uid ;
2440 gid_t gid ;
2441 uid_t suid ;
2442 gid_t sgid ;
2443 uid_t euid ;
2444 gid_t egid ;
2445 uid_t fsuid ;
2446 gid_t fsgid ;
2447 unsigned int securebits ;
2448 kernel_cap_t cap_inheritable ;
2449 kernel_cap_t cap_permitted ;
2450 kernel_cap_t cap_effective ;
2451 kernel_cap_t cap_bset ;
2452 unsigned char jit_keyring ;
2453 struct key *thread_keyring ;
2454 struct key *request_key_auth ;
2455 struct thread_group_cred *tgcred ;
2456 void *security ;
2457 struct user_struct *user ;
2458 struct user_namespace *user_ns ;
2459 struct group_info *group_info ;
2460 struct rcu_head rcu ;
2461};
2462#line 61 "include/linux/llist.h"
2463struct llist_node;
2464#line 65 "include/linux/llist.h"
2465struct llist_node {
2466 struct llist_node *next ;
2467};
2468#line 97 "include/linux/sched.h"
2469struct futex_pi_state;
2470#line 97
2471struct futex_pi_state;
2472#line 98
2473struct robust_list_head;
2474#line 98
2475struct robust_list_head;
2476#line 99
2477struct bio_list;
2478#line 99
2479struct bio_list;
2480#line 100
2481struct fs_struct;
2482#line 100
2483struct fs_struct;
2484#line 101
2485struct perf_event_context;
2486#line 101
2487struct perf_event_context;
2488#line 102
2489struct blk_plug;
2490#line 102
2491struct blk_plug;
2492#line 150
2493struct seq_file;
2494#line 151
2495struct cfs_rq;
2496#line 151
2497struct cfs_rq;
2498#line 259
2499struct task_struct;
2500#line 366
2501struct nsproxy;
2502#line 367
2503struct user_namespace;
2504#line 15 "include/linux/aio.h"
2505struct kioctx;
2506#line 15
2507struct kioctx;
2508#line 87 "include/linux/aio.h"
2509union __anonunion_ki_obj_252 {
2510 void *user ;
2511 struct task_struct *tsk ;
2512};
2513#line 87
2514struct eventfd_ctx;
2515#line 87 "include/linux/aio.h"
2516struct kiocb {
2517 struct list_head ki_run_list ;
2518 unsigned long ki_flags ;
2519 int ki_users ;
2520 unsigned int ki_key ;
2521 struct file *ki_filp ;
2522 struct kioctx *ki_ctx ;
2523 int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
2524 ssize_t (*ki_retry)(struct kiocb * ) ;
2525 void (*ki_dtor)(struct kiocb * ) ;
2526 union __anonunion_ki_obj_252 ki_obj ;
2527 __u64 ki_user_data ;
2528 loff_t ki_pos ;
2529 void *private ;
2530 unsigned short ki_opcode ;
2531 size_t ki_nbytes ;
2532 char *ki_buf ;
2533 size_t ki_left ;
2534 struct iovec ki_inline_vec ;
2535 struct iovec *ki_iovec ;
2536 unsigned long ki_nr_segs ;
2537 unsigned long ki_cur_seg ;
2538 struct list_head ki_list ;
2539 struct list_head ki_batch ;
2540 struct eventfd_ctx *ki_eventfd ;
2541};
2542#line 166 "include/linux/aio.h"
2543struct aio_ring_info {
2544 unsigned long mmap_base ;
2545 unsigned long mmap_size ;
2546 struct page **ring_pages ;
2547 spinlock_t ring_lock ;
2548 long nr_pages ;
2549 unsigned int nr ;
2550 unsigned int tail ;
2551 struct page *internal_pages[8] ;
2552};
2553#line 179 "include/linux/aio.h"
2554struct kioctx {
2555 atomic_t users ;
2556 int dead ;
2557 struct mm_struct *mm ;
2558 unsigned long user_id ;
2559 struct hlist_node list ;
2560 wait_queue_head_t wait ;
2561 spinlock_t ctx_lock ;
2562 int reqs_active ;
2563 struct list_head active_reqs ;
2564 struct list_head run_list ;
2565 unsigned int max_reqs ;
2566 struct aio_ring_info ring_info ;
2567 struct delayed_work wq ;
2568 struct rcu_head rcu_head ;
2569};
2570#line 214
2571struct mm_struct;
2572#line 443 "include/linux/sched.h"
2573struct sighand_struct {
2574 atomic_t count ;
2575 struct k_sigaction action[64] ;
2576 spinlock_t siglock ;
2577 wait_queue_head_t signalfd_wqh ;
2578};
2579#line 450 "include/linux/sched.h"
2580struct pacct_struct {
2581 int ac_flag ;
2582 long ac_exitcode ;
2583 unsigned long ac_mem ;
2584 cputime_t ac_utime ;
2585 cputime_t ac_stime ;
2586 unsigned long ac_minflt ;
2587 unsigned long ac_majflt ;
2588};
2589#line 458 "include/linux/sched.h"
2590struct cpu_itimer {
2591 cputime_t expires ;
2592 cputime_t incr ;
2593 u32 error ;
2594 u32 incr_error ;
2595};
2596#line 476 "include/linux/sched.h"
2597struct task_cputime {
2598 cputime_t utime ;
2599 cputime_t stime ;
2600 unsigned long long sum_exec_runtime ;
2601};
2602#line 512 "include/linux/sched.h"
2603struct thread_group_cputimer {
2604 struct task_cputime cputime ;
2605 int running ;
2606 raw_spinlock_t lock ;
2607};
2608#line 519
2609struct autogroup;
2610#line 519
2611struct autogroup;
2612#line 528
2613struct tty_struct;
2614#line 528
2615struct taskstats;
2616#line 528
2617struct tty_audit_buf;
2618#line 528 "include/linux/sched.h"
2619struct signal_struct {
2620 atomic_t sigcnt ;
2621 atomic_t live ;
2622 int nr_threads ;
2623 wait_queue_head_t wait_chldexit ;
2624 struct task_struct *curr_target ;
2625 struct sigpending shared_pending ;
2626 int group_exit_code ;
2627 int notify_count ;
2628 struct task_struct *group_exit_task ;
2629 int group_stop_count ;
2630 unsigned int flags ;
2631 unsigned int is_child_subreaper : 1 ;
2632 unsigned int has_child_subreaper : 1 ;
2633 struct list_head posix_timers ;
2634 struct hrtimer real_timer ;
2635 struct pid *leader_pid ;
2636 ktime_t it_real_incr ;
2637 struct cpu_itimer it[2] ;
2638 struct thread_group_cputimer cputimer ;
2639 struct task_cputime cputime_expires ;
2640 struct list_head cpu_timers[3] ;
2641 struct pid *tty_old_pgrp ;
2642 int leader ;
2643 struct tty_struct *tty ;
2644 struct autogroup *autogroup ;
2645 cputime_t utime ;
2646 cputime_t stime ;
2647 cputime_t cutime ;
2648 cputime_t cstime ;
2649 cputime_t gtime ;
2650 cputime_t cgtime ;
2651 cputime_t prev_utime ;
2652 cputime_t prev_stime ;
2653 unsigned long nvcsw ;
2654 unsigned long nivcsw ;
2655 unsigned long cnvcsw ;
2656 unsigned long cnivcsw ;
2657 unsigned long min_flt ;
2658 unsigned long maj_flt ;
2659 unsigned long cmin_flt ;
2660 unsigned long cmaj_flt ;
2661 unsigned long inblock ;
2662 unsigned long oublock ;
2663 unsigned long cinblock ;
2664 unsigned long coublock ;
2665 unsigned long maxrss ;
2666 unsigned long cmaxrss ;
2667 struct task_io_accounting ioac ;
2668 unsigned long long sum_sched_runtime ;
2669 struct rlimit rlim[16] ;
2670 struct pacct_struct pacct ;
2671 struct taskstats *stats ;
2672 unsigned int audit_tty ;
2673 struct tty_audit_buf *tty_audit_buf ;
2674 struct rw_semaphore group_rwsem ;
2675 int oom_adj ;
2676 int oom_score_adj ;
2677 int oom_score_adj_min ;
2678 struct mutex cred_guard_mutex ;
2679};
2680#line 703 "include/linux/sched.h"
2681struct user_struct {
2682 atomic_t __count ;
2683 atomic_t processes ;
2684 atomic_t files ;
2685 atomic_t sigpending ;
2686 atomic_t inotify_watches ;
2687 atomic_t inotify_devs ;
2688 atomic_t fanotify_listeners ;
2689 atomic_long_t epoll_watches ;
2690 unsigned long mq_bytes ;
2691 unsigned long locked_shm ;
2692 struct key *uid_keyring ;
2693 struct key *session_keyring ;
2694 struct hlist_node uidhash_node ;
2695 uid_t uid ;
2696 struct user_namespace *user_ns ;
2697 atomic_long_t locked_vm ;
2698};
2699#line 747
2700struct backing_dev_info;
2701#line 748
2702struct reclaim_state;
2703#line 748
2704struct reclaim_state;
2705#line 751 "include/linux/sched.h"
2706struct sched_info {
2707 unsigned long pcount ;
2708 unsigned long long run_delay ;
2709 unsigned long long last_arrival ;
2710 unsigned long long last_queued ;
2711};
2712#line 763 "include/linux/sched.h"
2713struct task_delay_info {
2714 spinlock_t lock ;
2715 unsigned int flags ;
2716 struct timespec blkio_start ;
2717 struct timespec blkio_end ;
2718 u64 blkio_delay ;
2719 u64 swapin_delay ;
2720 u32 blkio_count ;
2721 u32 swapin_count ;
2722 struct timespec freepages_start ;
2723 struct timespec freepages_end ;
2724 u64 freepages_delay ;
2725 u32 freepages_count ;
2726};
2727#line 1088
2728struct io_context;
2729#line 1088
2730struct io_context;
2731#line 1097
2732struct audit_context;
2733#line 1098
2734struct mempolicy;
2735#line 1099
2736struct pipe_inode_info;
2737#line 1102
2738struct rq;
2739#line 1102
2740struct rq;
2741#line 1122 "include/linux/sched.h"
2742struct sched_class {
2743 struct sched_class *next ;
2744 void (*enqueue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
2745 void (*dequeue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
2746 void (*yield_task)(struct rq *rq ) ;
2747 bool (*yield_to_task)(struct rq *rq , struct task_struct *p , bool preempt ) ;
2748 void (*check_preempt_curr)(struct rq *rq , struct task_struct *p , int flags ) ;
2749 struct task_struct *(*pick_next_task)(struct rq *rq ) ;
2750 void (*put_prev_task)(struct rq *rq , struct task_struct *p ) ;
2751 int (*select_task_rq)(struct task_struct *p , int sd_flag , int flags ) ;
2752 void (*pre_schedule)(struct rq *this_rq , struct task_struct *task ) ;
2753 void (*post_schedule)(struct rq *this_rq ) ;
2754 void (*task_waking)(struct task_struct *task ) ;
2755 void (*task_woken)(struct rq *this_rq , struct task_struct *task ) ;
2756 void (*set_cpus_allowed)(struct task_struct *p , struct cpumask *newmask ) ;
2757 void (*rq_online)(struct rq *rq ) ;
2758 void (*rq_offline)(struct rq *rq ) ;
2759 void (*set_curr_task)(struct rq *rq ) ;
2760 void (*task_tick)(struct rq *rq , struct task_struct *p , int queued ) ;
2761 void (*task_fork)(struct task_struct *p ) ;
2762 void (*switched_from)(struct rq *this_rq , struct task_struct *task ) ;
2763 void (*switched_to)(struct rq *this_rq , struct task_struct *task ) ;
2764 void (*prio_changed)(struct rq *this_rq , struct task_struct *task , int oldprio ) ;
2765 unsigned int (*get_rr_interval)(struct rq *rq , struct task_struct *task ) ;
2766 void (*task_move_group)(struct task_struct *p , int on_rq ) ;
2767};
2768#line 1167 "include/linux/sched.h"
2769struct load_weight {
2770 unsigned long weight ;
2771 unsigned long inv_weight ;
2772};
2773#line 1172 "include/linux/sched.h"
2774struct sched_statistics {
2775 u64 wait_start ;
2776 u64 wait_max ;
2777 u64 wait_count ;
2778 u64 wait_sum ;
2779 u64 iowait_count ;
2780 u64 iowait_sum ;
2781 u64 sleep_start ;
2782 u64 sleep_max ;
2783 s64 sum_sleep_runtime ;
2784 u64 block_start ;
2785 u64 block_max ;
2786 u64 exec_max ;
2787 u64 slice_max ;
2788 u64 nr_migrations_cold ;
2789 u64 nr_failed_migrations_affine ;
2790 u64 nr_failed_migrations_running ;
2791 u64 nr_failed_migrations_hot ;
2792 u64 nr_forced_migrations ;
2793 u64 nr_wakeups ;
2794 u64 nr_wakeups_sync ;
2795 u64 nr_wakeups_migrate ;
2796 u64 nr_wakeups_local ;
2797 u64 nr_wakeups_remote ;
2798 u64 nr_wakeups_affine ;
2799 u64 nr_wakeups_affine_attempts ;
2800 u64 nr_wakeups_passive ;
2801 u64 nr_wakeups_idle ;
2802};
2803#line 1207 "include/linux/sched.h"
2804struct sched_entity {
2805 struct load_weight load ;
2806 struct rb_node run_node ;
2807 struct list_head group_node ;
2808 unsigned int on_rq ;
2809 u64 exec_start ;
2810 u64 sum_exec_runtime ;
2811 u64 vruntime ;
2812 u64 prev_sum_exec_runtime ;
2813 u64 nr_migrations ;
2814 struct sched_statistics statistics ;
2815 struct sched_entity *parent ;
2816 struct cfs_rq *cfs_rq ;
2817 struct cfs_rq *my_q ;
2818};
2819#line 1233
2820struct rt_rq;
2821#line 1233 "include/linux/sched.h"
2822struct sched_rt_entity {
2823 struct list_head run_list ;
2824 unsigned long timeout ;
2825 unsigned int time_slice ;
2826 int nr_cpus_allowed ;
2827 struct sched_rt_entity *back ;
2828 struct sched_rt_entity *parent ;
2829 struct rt_rq *rt_rq ;
2830 struct rt_rq *my_q ;
2831};
2832#line 1264
2833struct css_set;
2834#line 1264
2835struct compat_robust_list_head;
2836#line 1264
2837struct mem_cgroup;
2838#line 1264 "include/linux/sched.h"
2839struct memcg_batch_info {
2840 int do_batch ;
2841 struct mem_cgroup *memcg ;
2842 unsigned long nr_pages ;
2843 unsigned long memsw_nr_pages ;
2844};
2845#line 1264 "include/linux/sched.h"
2846struct task_struct {
2847 long volatile state ;
2848 void *stack ;
2849 atomic_t usage ;
2850 unsigned int flags ;
2851 unsigned int ptrace ;
2852 struct llist_node wake_entry ;
2853 int on_cpu ;
2854 int on_rq ;
2855 int prio ;
2856 int static_prio ;
2857 int normal_prio ;
2858 unsigned int rt_priority ;
2859 struct sched_class *sched_class ;
2860 struct sched_entity se ;
2861 struct sched_rt_entity rt ;
2862 struct hlist_head preempt_notifiers ;
2863 unsigned char fpu_counter ;
2864 unsigned int policy ;
2865 cpumask_t cpus_allowed ;
2866 struct sched_info sched_info ;
2867 struct list_head tasks ;
2868 struct plist_node pushable_tasks ;
2869 struct mm_struct *mm ;
2870 struct mm_struct *active_mm ;
2871 unsigned int brk_randomized : 1 ;
2872 int exit_state ;
2873 int exit_code ;
2874 int exit_signal ;
2875 int pdeath_signal ;
2876 unsigned int jobctl ;
2877 unsigned int personality ;
2878 unsigned int did_exec : 1 ;
2879 unsigned int in_execve : 1 ;
2880 unsigned int in_iowait : 1 ;
2881 unsigned int sched_reset_on_fork : 1 ;
2882 unsigned int sched_contributes_to_load : 1 ;
2883 unsigned int irq_thread : 1 ;
2884 pid_t pid ;
2885 pid_t tgid ;
2886 unsigned long stack_canary ;
2887 struct task_struct *real_parent ;
2888 struct task_struct *parent ;
2889 struct list_head children ;
2890 struct list_head sibling ;
2891 struct task_struct *group_leader ;
2892 struct list_head ptraced ;
2893 struct list_head ptrace_entry ;
2894 struct pid_link pids[3] ;
2895 struct list_head thread_group ;
2896 struct completion *vfork_done ;
2897 int *set_child_tid ;
2898 int *clear_child_tid ;
2899 cputime_t utime ;
2900 cputime_t stime ;
2901 cputime_t utimescaled ;
2902 cputime_t stimescaled ;
2903 cputime_t gtime ;
2904 cputime_t prev_utime ;
2905 cputime_t prev_stime ;
2906 unsigned long nvcsw ;
2907 unsigned long nivcsw ;
2908 struct timespec start_time ;
2909 struct timespec real_start_time ;
2910 unsigned long min_flt ;
2911 unsigned long maj_flt ;
2912 struct task_cputime cputime_expires ;
2913 struct list_head cpu_timers[3] ;
2914 struct cred *real_cred ;
2915 struct cred *cred ;
2916 struct cred *replacement_session_keyring ;
2917 char comm[16] ;
2918 int link_count ;
2919 int total_link_count ;
2920 struct sysv_sem sysvsem ;
2921 unsigned long last_switch_count ;
2922 struct thread_struct thread ;
2923 struct fs_struct *fs ;
2924 struct files_struct *files ;
2925 struct nsproxy *nsproxy ;
2926 struct signal_struct *signal ;
2927 struct sighand_struct *sighand ;
2928 sigset_t blocked ;
2929 sigset_t real_blocked ;
2930 sigset_t saved_sigmask ;
2931 struct sigpending pending ;
2932 unsigned long sas_ss_sp ;
2933 size_t sas_ss_size ;
2934 int (*notifier)(void *priv ) ;
2935 void *notifier_data ;
2936 sigset_t *notifier_mask ;
2937 struct audit_context *audit_context ;
2938 uid_t loginuid ;
2939 unsigned int sessionid ;
2940 seccomp_t seccomp ;
2941 u32 parent_exec_id ;
2942 u32 self_exec_id ;
2943 spinlock_t alloc_lock ;
2944 raw_spinlock_t pi_lock ;
2945 struct plist_head pi_waiters ;
2946 struct rt_mutex_waiter *pi_blocked_on ;
2947 struct mutex_waiter *blocked_on ;
2948 unsigned int irq_events ;
2949 unsigned long hardirq_enable_ip ;
2950 unsigned long hardirq_disable_ip ;
2951 unsigned int hardirq_enable_event ;
2952 unsigned int hardirq_disable_event ;
2953 int hardirqs_enabled ;
2954 int hardirq_context ;
2955 unsigned long softirq_disable_ip ;
2956 unsigned long softirq_enable_ip ;
2957 unsigned int softirq_disable_event ;
2958 unsigned int softirq_enable_event ;
2959 int softirqs_enabled ;
2960 int softirq_context ;
2961 void *journal_info ;
2962 struct bio_list *bio_list ;
2963 struct blk_plug *plug ;
2964 struct reclaim_state *reclaim_state ;
2965 struct backing_dev_info *backing_dev_info ;
2966 struct io_context *io_context ;
2967 unsigned long ptrace_message ;
2968 siginfo_t *last_siginfo ;
2969 struct task_io_accounting ioac ;
2970 u64 acct_rss_mem1 ;
2971 u64 acct_vm_mem1 ;
2972 cputime_t acct_timexpd ;
2973 nodemask_t mems_allowed ;
2974 seqcount_t mems_allowed_seq ;
2975 int cpuset_mem_spread_rotor ;
2976 int cpuset_slab_spread_rotor ;
2977 struct css_set *cgroups ;
2978 struct list_head cg_list ;
2979 struct robust_list_head *robust_list ;
2980 struct compat_robust_list_head *compat_robust_list ;
2981 struct list_head pi_state_list ;
2982 struct futex_pi_state *pi_state_cache ;
2983 struct perf_event_context *perf_event_ctxp[2] ;
2984 struct mutex perf_event_mutex ;
2985 struct list_head perf_event_list ;
2986 struct mempolicy *mempolicy ;
2987 short il_next ;
2988 short pref_node_fork ;
2989 struct rcu_head rcu ;
2990 struct pipe_inode_info *splice_pipe ;
2991 struct task_delay_info *delays ;
2992 int make_it_fail ;
2993 int nr_dirtied ;
2994 int nr_dirtied_pause ;
2995 unsigned long dirty_paused_when ;
2996 int latency_record_count ;
2997 struct latency_record latency_record[32] ;
2998 unsigned long timer_slack_ns ;
2999 unsigned long default_timer_slack_ns ;
3000 struct list_head *scm_work_list ;
3001 unsigned long trace ;
3002 unsigned long trace_recursion ;
3003 struct memcg_batch_info memcg_batch ;
3004 atomic_t ptrace_bp_refcnt ;
3005};
3006#line 1681
3007struct pid_namespace;
3008#line 39 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/compat.h"
3009typedef s32 compat_long_t;
3010#line 212 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/compat.h"
3011typedef u32 compat_uptr_t;
3012#line 226 "include/linux/compat.h"
3013struct compat_robust_list {
3014 compat_uptr_t next ;
3015};
3016#line 230 "include/linux/compat.h"
3017struct compat_robust_list_head {
3018 struct compat_robust_list list ;
3019 compat_long_t futex_offset ;
3020 compat_uptr_t list_op_pending ;
3021};
3022#line 127 "include/linux/if_ether.h"
3023struct ethhdr {
3024 unsigned char h_dest[6] ;
3025 unsigned char h_source[6] ;
3026 __be16 h_proto ;
3027} __attribute__((__packed__)) ;
3028#line 65 "include/linux/net.h"
3029struct poll_table_struct;
3030#line 66
3031struct pipe_inode_info;
3032#line 67
3033struct inode;
3034#line 68
3035struct net;
3036#line 68
3037struct net;
3038#line 138
3039struct sock;
3040#line 154
3041struct vm_area_struct;
3042#line 155
3043struct page;
3044#line 156
3045struct kiocb;
3046#line 157
3047struct sockaddr;
3048#line 159
3049struct module;
3050#line 222
3051struct iovec;
3052#line 10 "include/linux/gfp.h"
3053struct vm_area_struct;
3054#line 20 "include/linux/kobject_ns.h"
3055struct sock;
3056#line 21
3057struct kobject;
3058#line 27
3059enum kobj_ns_type {
3060 KOBJ_NS_TYPE_NONE = 0,
3061 KOBJ_NS_TYPE_NET = 1,
3062 KOBJ_NS_TYPES = 2
3063} ;
3064#line 40 "include/linux/kobject_ns.h"
3065struct kobj_ns_type_operations {
3066 enum kobj_ns_type type ;
3067 void *(*grab_current_ns)(void) ;
3068 void *(*netlink_ns)(struct sock *sk ) ;
3069 void *(*initial_ns)(void) ;
3070 void (*drop_ns)(void * ) ;
3071};
3072#line 22 "include/linux/sysfs.h"
3073struct kobject;
3074#line 23
3075struct module;
3076#line 24
3077enum kobj_ns_type;
3078#line 26 "include/linux/sysfs.h"
3079struct attribute {
3080 char *name ;
3081 umode_t mode ;
3082};
3083#line 56 "include/linux/sysfs.h"
3084struct attribute_group {
3085 char *name ;
3086 umode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
3087 struct attribute **attrs ;
3088};
3089#line 85
3090struct file;
3091#line 86
3092struct vm_area_struct;
3093#line 88 "include/linux/sysfs.h"
3094struct bin_attribute {
3095 struct attribute attr ;
3096 size_t size ;
3097 void *private ;
3098 ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
3099 loff_t , size_t ) ;
3100 ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
3101 loff_t , size_t ) ;
3102 int (*mmap)(struct file * , struct kobject * , struct bin_attribute *attr , struct vm_area_struct *vma ) ;
3103};
3104#line 112 "include/linux/sysfs.h"
3105struct sysfs_ops {
3106 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
3107 ssize_t (*store)(struct kobject * , struct attribute * , char * , size_t ) ;
3108 void *(*namespace)(struct kobject * , struct attribute * ) ;
3109};
3110#line 118
3111struct sysfs_dirent;
3112#line 118
3113struct sysfs_dirent;
3114#line 22 "include/linux/kref.h"
3115struct kref {
3116 atomic_t refcount ;
3117};
3118#line 60 "include/linux/kobject.h"
3119struct kset;
3120#line 60
3121struct kobj_type;
3122#line 60 "include/linux/kobject.h"
3123struct kobject {
3124 char *name ;
3125 struct list_head entry ;
3126 struct kobject *parent ;
3127 struct kset *kset ;
3128 struct kobj_type *ktype ;
3129 struct sysfs_dirent *sd ;
3130 struct kref kref ;
3131 unsigned int state_initialized : 1 ;
3132 unsigned int state_in_sysfs : 1 ;
3133 unsigned int state_add_uevent_sent : 1 ;
3134 unsigned int state_remove_uevent_sent : 1 ;
3135 unsigned int uevent_suppress : 1 ;
3136};
3137#line 108 "include/linux/kobject.h"
3138struct kobj_type {
3139 void (*release)(struct kobject *kobj ) ;
3140 struct sysfs_ops *sysfs_ops ;
3141 struct attribute **default_attrs ;
3142 struct kobj_ns_type_operations *(*child_ns_type)(struct kobject *kobj ) ;
3143 void *(*namespace)(struct kobject *kobj ) ;
3144};
3145#line 116 "include/linux/kobject.h"
3146struct kobj_uevent_env {
3147 char *envp[32] ;
3148 int envp_idx ;
3149 char buf[2048] ;
3150 int buflen ;
3151};
3152#line 123 "include/linux/kobject.h"
3153struct kset_uevent_ops {
3154 int (* filter)(struct kset *kset , struct kobject *kobj ) ;
3155 char *(* name)(struct kset *kset , struct kobject *kobj ) ;
3156 int (* uevent)(struct kset *kset , struct kobject *kobj , struct kobj_uevent_env *env ) ;
3157};
3158#line 140
3159struct sock;
3160#line 159 "include/linux/kobject.h"
3161struct kset {
3162 struct list_head list ;
3163 spinlock_t list_lock ;
3164 struct kobject kobj ;
3165 struct kset_uevent_ops *uevent_ops ;
3166};
3167#line 46 "include/linux/slub_def.h"
3168struct kmem_cache_cpu {
3169 void **freelist ;
3170 unsigned long tid ;
3171 struct page *page ;
3172 struct page *partial ;
3173 int node ;
3174 unsigned int stat[26] ;
3175};
3176#line 57 "include/linux/slub_def.h"
3177struct kmem_cache_node {
3178 spinlock_t list_lock ;
3179 unsigned long nr_partial ;
3180 struct list_head partial ;
3181 atomic_long_t nr_slabs ;
3182 atomic_long_t total_objects ;
3183 struct list_head full ;
3184};
3185#line 73 "include/linux/slub_def.h"
3186struct kmem_cache_order_objects {
3187 unsigned long x ;
3188};
3189#line 80 "include/linux/slub_def.h"
3190struct kmem_cache {
3191 struct kmem_cache_cpu *cpu_slab ;
3192 unsigned long flags ;
3193 unsigned long min_partial ;
3194 int size ;
3195 int objsize ;
3196 int offset ;
3197 int cpu_partial ;
3198 struct kmem_cache_order_objects oo ;
3199 struct kmem_cache_order_objects max ;
3200 struct kmem_cache_order_objects min ;
3201 gfp_t allocflags ;
3202 int refcount ;
3203 void (*ctor)(void * ) ;
3204 int inuse ;
3205 int align ;
3206 int reserved ;
3207 char *name ;
3208 struct list_head list ;
3209 struct kobject kobj ;
3210 int remote_node_defrag_ratio ;
3211 struct kmem_cache_node *node[1 << 10] ;
3212};
3213#line 10 "include/linux/textsearch.h"
3214struct module;
3215#line 94 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess.h"
3216struct exception_table_entry {
3217 unsigned long insn ;
3218 unsigned long fixup ;
3219};
3220#line 109 "include/net/checksum.h"
3221struct sk_buff;
3222#line 109
3223struct sk_buff;
3224#line 19 "include/linux/klist.h"
3225struct klist_node;
3226#line 19
3227struct klist_node;
3228#line 39 "include/linux/klist.h"
3229struct klist_node {
3230 void *n_klist ;
3231 struct list_head n_node ;
3232 struct kref n_ref ;
3233};
3234#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
3235struct dma_map_ops;
3236#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
3237struct dev_archdata {
3238 void *acpi_handle ;
3239 struct dma_map_ops *dma_ops ;
3240 void *iommu ;
3241};
3242#line 28 "include/linux/device.h"
3243struct device;
3244#line 29
3245struct device_private;
3246#line 29
3247struct device_private;
3248#line 30
3249struct device_driver;
3250#line 30
3251struct device_driver;
3252#line 31
3253struct driver_private;
3254#line 31
3255struct driver_private;
3256#line 32
3257struct module;
3258#line 33
3259struct class;
3260#line 33
3261struct class;
3262#line 34
3263struct subsys_private;
3264#line 34
3265struct subsys_private;
3266#line 35
3267struct bus_type;
3268#line 35
3269struct bus_type;
3270#line 36
3271struct device_node;
3272#line 36
3273struct device_node;
3274#line 37
3275struct iommu_ops;
3276#line 37
3277struct iommu_ops;
3278#line 39 "include/linux/device.h"
3279struct bus_attribute {
3280 struct attribute attr ;
3281 ssize_t (*show)(struct bus_type *bus , char *buf ) ;
3282 ssize_t (*store)(struct bus_type *bus , char *buf , size_t count ) ;
3283};
3284#line 89
3285struct device_attribute;
3286#line 89
3287struct driver_attribute;
3288#line 89 "include/linux/device.h"
3289struct bus_type {
3290 char *name ;
3291 char *dev_name ;
3292 struct device *dev_root ;
3293 struct bus_attribute *bus_attrs ;
3294 struct device_attribute *dev_attrs ;
3295 struct driver_attribute *drv_attrs ;
3296 int (*match)(struct device *dev , struct device_driver *drv ) ;
3297 int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
3298 int (*probe)(struct device *dev ) ;
3299 int (*remove)(struct device *dev ) ;
3300 void (*shutdown)(struct device *dev ) ;
3301 int (*suspend)(struct device *dev , pm_message_t state ) ;
3302 int (*resume)(struct device *dev ) ;
3303 struct dev_pm_ops *pm ;
3304 struct iommu_ops *iommu_ops ;
3305 struct subsys_private *p ;
3306};
3307#line 127
3308struct device_type;
3309#line 159
3310struct notifier_block;
3311#line 214
3312struct of_device_id;
3313#line 214 "include/linux/device.h"
3314struct device_driver {
3315 char *name ;
3316 struct bus_type *bus ;
3317 struct module *owner ;
3318 char *mod_name ;
3319 bool suppress_bind_attrs ;
3320 struct of_device_id *of_match_table ;
3321 int (*probe)(struct device *dev ) ;
3322 int (*remove)(struct device *dev ) ;
3323 void (*shutdown)(struct device *dev ) ;
3324 int (*suspend)(struct device *dev , pm_message_t state ) ;
3325 int (*resume)(struct device *dev ) ;
3326 struct attribute_group **groups ;
3327 struct dev_pm_ops *pm ;
3328 struct driver_private *p ;
3329};
3330#line 249 "include/linux/device.h"
3331struct driver_attribute {
3332 struct attribute attr ;
3333 ssize_t (*show)(struct device_driver *driver , char *buf ) ;
3334 ssize_t (*store)(struct device_driver *driver , char *buf , size_t count ) ;
3335};
3336#line 330
3337struct class_attribute;
3338#line 330 "include/linux/device.h"
3339struct class {
3340 char *name ;
3341 struct module *owner ;
3342 struct class_attribute *class_attrs ;
3343 struct device_attribute *dev_attrs ;
3344 struct bin_attribute *dev_bin_attrs ;
3345 struct kobject *dev_kobj ;
3346 int (*dev_uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
3347 char *(*devnode)(struct device *dev , umode_t *mode ) ;
3348 void (*class_release)(struct class *class ) ;
3349 void (*dev_release)(struct device *dev ) ;
3350 int (*suspend)(struct device *dev , pm_message_t state ) ;
3351 int (*resume)(struct device *dev ) ;
3352 struct kobj_ns_type_operations *ns_type ;
3353 void *(*namespace)(struct device *dev ) ;
3354 struct dev_pm_ops *pm ;
3355 struct subsys_private *p ;
3356};
3357#line 397 "include/linux/device.h"
3358struct class_attribute {
3359 struct attribute attr ;
3360 ssize_t (*show)(struct class *class , struct class_attribute *attr , char *buf ) ;
3361 ssize_t (*store)(struct class *class , struct class_attribute *attr , char *buf ,
3362 size_t count ) ;
3363 void *(*namespace)(struct class *class , struct class_attribute *attr ) ;
3364};
3365#line 465 "include/linux/device.h"
3366struct device_type {
3367 char *name ;
3368 struct attribute_group **groups ;
3369 int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
3370 char *(*devnode)(struct device *dev , umode_t *mode ) ;
3371 void (*release)(struct device *dev ) ;
3372 struct dev_pm_ops *pm ;
3373};
3374#line 476 "include/linux/device.h"
3375struct device_attribute {
3376 struct attribute attr ;
3377 ssize_t (*show)(struct device *dev , struct device_attribute *attr , char *buf ) ;
3378 ssize_t (*store)(struct device *dev , struct device_attribute *attr , char *buf ,
3379 size_t count ) ;
3380};
3381#line 559 "include/linux/device.h"
3382struct device_dma_parameters {
3383 unsigned int max_segment_size ;
3384 unsigned long segment_boundary_mask ;
3385};
3386#line 627
3387struct dma_coherent_mem;
3388#line 627 "include/linux/device.h"
3389struct device {
3390 struct device *parent ;
3391 struct device_private *p ;
3392 struct kobject kobj ;
3393 char *init_name ;
3394 struct device_type *type ;
3395 struct mutex mutex ;
3396 struct bus_type *bus ;
3397 struct device_driver *driver ;
3398 void *platform_data ;
3399 struct dev_pm_info power ;
3400 struct dev_pm_domain *pm_domain ;
3401 int numa_node ;
3402 u64 *dma_mask ;
3403 u64 coherent_dma_mask ;
3404 struct device_dma_parameters *dma_parms ;
3405 struct list_head dma_pools ;
3406 struct dma_coherent_mem *dma_mem ;
3407 struct dev_archdata archdata ;
3408 struct device_node *of_node ;
3409 dev_t devt ;
3410 u32 id ;
3411 spinlock_t devres_lock ;
3412 struct list_head devres_head ;
3413 struct klist_node knode_class ;
3414 struct class *class ;
3415 struct attribute_group **groups ;
3416 void (*release)(struct device *dev ) ;
3417};
3418#line 43 "include/linux/pm_wakeup.h"
3419struct wakeup_source {
3420 char *name ;
3421 struct list_head entry ;
3422 spinlock_t lock ;
3423 struct timer_list timer ;
3424 unsigned long timer_expires ;
3425 ktime_t total_time ;
3426 ktime_t max_time ;
3427 ktime_t last_time ;
3428 unsigned long event_count ;
3429 unsigned long active_count ;
3430 unsigned long relax_count ;
3431 unsigned long hit_count ;
3432 unsigned int active : 1 ;
3433};
3434#line 8 "include/linux/debug_locks.h"
3435struct task_struct;
3436#line 48
3437struct task_struct;
3438#line 22 "include/linux/mm.h"
3439struct mempolicy;
3440#line 23
3441struct anon_vma;
3442#line 24
3443struct file_ra_state;
3444#line 25
3445struct user_struct;
3446#line 26
3447struct writeback_control;
3448#line 41 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64.h"
3449struct mm_struct;
3450#line 656 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable.h"
3451struct vm_area_struct;
3452#line 188 "include/linux/mm.h"
3453struct vm_fault {
3454 unsigned int flags ;
3455 unsigned long pgoff ;
3456 void *virtual_address ;
3457 struct page *page ;
3458};
3459#line 205 "include/linux/mm.h"
3460struct vm_operations_struct {
3461 void (*open)(struct vm_area_struct *area ) ;
3462 void (*close)(struct vm_area_struct *area ) ;
3463 int (*fault)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
3464 int (*page_mkwrite)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
3465 int (*access)(struct vm_area_struct *vma , unsigned long addr , void *buf , int len ,
3466 int write ) ;
3467 int (*set_policy)(struct vm_area_struct *vma , struct mempolicy *new ) ;
3468 struct mempolicy *(*get_policy)(struct vm_area_struct *vma , unsigned long addr ) ;
3469 int (*migrate)(struct vm_area_struct *vma , nodemask_t *from , nodemask_t *to ,
3470 unsigned long flags ) ;
3471};
3472#line 247
3473struct inode;
3474#line 195 "include/linux/page-flags.h"
3475struct page;
3476#line 6 "include/asm-generic/scatterlist.h"
3477struct scatterlist {
3478 unsigned long sg_magic ;
3479 unsigned long page_link ;
3480 unsigned int offset ;
3481 unsigned int length ;
3482 dma_addr_t dma_address ;
3483 unsigned int dma_length ;
3484};
3485#line 37 "include/linux/dmaengine.h"
3486typedef s32 dma_cookie_t;
3487#line 27 "include/linux/dma-attrs.h"
3488struct dma_attrs {
3489 unsigned long flags[((4UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
3490};
3491#line 7 "include/linux/dma-direction.h"
3492enum dma_data_direction {
3493 DMA_BIDIRECTIONAL = 0,
3494 DMA_TO_DEVICE = 1,
3495 DMA_FROM_DEVICE = 2,
3496 DMA_NONE = 3
3497} ;
3498#line 11 "include/linux/dma-mapping.h"
3499struct dma_map_ops {
3500 void *(*alloc)(struct device *dev , size_t size , dma_addr_t *dma_handle , gfp_t gfp ,
3501 struct dma_attrs *attrs ) ;
3502 void (*free)(struct device *dev , size_t size , void *vaddr , dma_addr_t dma_handle ,
3503 struct dma_attrs *attrs ) ;
3504 int (*mmap)(struct device * , struct vm_area_struct * , void * , dma_addr_t ,
3505 size_t , struct dma_attrs *attrs ) ;
3506 dma_addr_t (*map_page)(struct device *dev , struct page *page , unsigned long offset ,
3507 size_t size , enum dma_data_direction dir , struct dma_attrs *attrs ) ;
3508 void (*unmap_page)(struct device *dev , dma_addr_t dma_handle , size_t size , enum dma_data_direction dir ,
3509 struct dma_attrs *attrs ) ;
3510 int (*map_sg)(struct device *dev , struct scatterlist *sg , int nents , enum dma_data_direction dir ,
3511 struct dma_attrs *attrs ) ;
3512 void (*unmap_sg)(struct device *dev , struct scatterlist *sg , int nents , enum dma_data_direction dir ,
3513 struct dma_attrs *attrs ) ;
3514 void (*sync_single_for_cpu)(struct device *dev , dma_addr_t dma_handle , size_t size ,
3515 enum dma_data_direction dir ) ;
3516 void (*sync_single_for_device)(struct device *dev , dma_addr_t dma_handle , size_t size ,
3517 enum dma_data_direction dir ) ;
3518 void (*sync_sg_for_cpu)(struct device *dev , struct scatterlist *sg , int nents ,
3519 enum dma_data_direction dir ) ;
3520 void (*sync_sg_for_device)(struct device *dev , struct scatterlist *sg , int nents ,
3521 enum dma_data_direction dir ) ;
3522 int (*mapping_error)(struct device *dev , dma_addr_t dma_addr ) ;
3523 int (*dma_supported)(struct device *dev , u64 mask ) ;
3524 int (*set_dma_mask)(struct device *dev , u64 mask ) ;
3525 int is_phys ;
3526};
3527#line 25 "include/linux/dma-debug.h"
3528struct device;
3529#line 26
3530struct scatterlist;
3531#line 27
3532struct bus_type;
3533#line 6 "include/linux/swiotlb.h"
3534struct device;
3535#line 7
3536struct dma_attrs;
3537#line 8
3538struct scatterlist;
3539#line 15 "include/linux/netdev_features.h"
3540typedef u64 netdev_features_t;
3541#line 108 "include/linux/skbuff.h"
3542struct net_device;
3543#line 109
3544struct scatterlist;
3545#line 110
3546struct pipe_inode_info;
3547#line 113 "include/linux/skbuff.h"
3548struct nf_conntrack {
3549 atomic_t use ;
3550};
3551#line 119 "include/linux/skbuff.h"
3552struct nf_bridge_info {
3553 atomic_t use ;
3554 struct net_device *physindev ;
3555 struct net_device *physoutdev ;
3556 unsigned int mask ;
3557 unsigned long data[32UL / sizeof(unsigned long )] ;
3558};
3559#line 128 "include/linux/skbuff.h"
3560struct sk_buff_head {
3561 struct sk_buff *next ;
3562 struct sk_buff *prev ;
3563 __u32 qlen ;
3564 spinlock_t lock ;
3565};
3566#line 137
3567struct sk_buff;
3568#line 152
3569struct skb_frag_struct;
3570#line 152 "include/linux/skbuff.h"
3571typedef struct skb_frag_struct skb_frag_t;
3572#line 154 "include/linux/skbuff.h"
3573struct __anonstruct_page_263 {
3574 struct page *p ;
3575};
3576#line 154 "include/linux/skbuff.h"
3577struct skb_frag_struct {
3578 struct __anonstruct_page_263 page ;
3579 __u32 page_offset ;
3580 __u32 size ;
3581};
3582#line 212 "include/linux/skbuff.h"
3583struct skb_shared_hwtstamps {
3584 ktime_t hwtstamp ;
3585 ktime_t syststamp ;
3586};
3587#line 253 "include/linux/skbuff.h"
3588struct skb_shared_info {
3589 unsigned char nr_frags ;
3590 __u8 tx_flags ;
3591 unsigned short gso_size ;
3592 unsigned short gso_segs ;
3593 unsigned short gso_type ;
3594 struct sk_buff *frag_list ;
3595 struct skb_shared_hwtstamps hwtstamps ;
3596 __be32 ip6_frag_id ;
3597 atomic_t dataref ;
3598 void *destructor_arg ;
3599 skb_frag_t frags[65536UL / (1UL << 12) + 1UL] ;
3600};
3601#line 318 "include/linux/skbuff.h"
3602typedef unsigned int sk_buff_data_t;
3603#line 391
3604struct sec_path;
3605#line 391 "include/linux/skbuff.h"
3606struct __anonstruct____missing_field_name_268 {
3607 __u16 csum_start ;
3608 __u16 csum_offset ;
3609};
3610#line 391 "include/linux/skbuff.h"
3611union __anonunion____missing_field_name_267 {
3612 __wsum csum ;
3613 struct __anonstruct____missing_field_name_268 __annonCompField46 ;
3614};
3615#line 391 "include/linux/skbuff.h"
3616union __anonunion____missing_field_name_269 {
3617 __u32 mark ;
3618 __u32 dropcount ;
3619 __u32 avail_size ;
3620};
3621#line 391 "include/linux/skbuff.h"
3622struct sk_buff {
3623 struct sk_buff *next ;
3624 struct sk_buff *prev ;
3625 ktime_t tstamp ;
3626 struct sock *sk ;
3627 struct net_device *dev ;
3628 char cb[48] __attribute__((__aligned__(8))) ;
3629 unsigned long _skb_refdst ;
3630 struct sec_path *sp ;
3631 unsigned int len ;
3632 unsigned int data_len ;
3633 __u16 mac_len ;
3634 __u16 hdr_len ;
3635 union __anonunion____missing_field_name_267 __annonCompField47 ;
3636 __u32 priority ;
3637 __u8 local_df : 1 ;
3638 __u8 cloned : 1 ;
3639 __u8 ip_summed : 2 ;
3640 __u8 nohdr : 1 ;
3641 __u8 nfctinfo : 3 ;
3642 __u8 pkt_type : 3 ;
3643 __u8 fclone : 2 ;
3644 __u8 ipvs_property : 1 ;
3645 __u8 peeked : 1 ;
3646 __u8 nf_trace : 1 ;
3647 __be16 protocol ;
3648 void (*destructor)(struct sk_buff *skb ) ;
3649 struct nf_conntrack *nfct ;
3650 struct sk_buff *nfct_reasm ;
3651 struct nf_bridge_info *nf_bridge ;
3652 int skb_iif ;
3653 __u32 rxhash ;
3654 __u16 vlan_tci ;
3655 __u16 tc_index ;
3656 __u16 tc_verd ;
3657 __u16 queue_mapping ;
3658 __u8 ndisc_nodetype : 2 ;
3659 __u8 ooo_okay : 1 ;
3660 __u8 l4_rxhash : 1 ;
3661 __u8 wifi_acked_valid : 1 ;
3662 __u8 wifi_acked : 1 ;
3663 __u8 no_fcs : 1 ;
3664 dma_cookie_t dma_cookie ;
3665 __u32 secmark ;
3666 union __anonunion____missing_field_name_269 __annonCompField48 ;
3667 sk_buff_data_t transport_header ;
3668 sk_buff_data_t network_header ;
3669 sk_buff_data_t mac_header ;
3670 sk_buff_data_t tail ;
3671 sk_buff_data_t end ;
3672 unsigned char *head ;
3673 unsigned char *data ;
3674 unsigned int truesize ;
3675 atomic_t users ;
3676};
3677#line 520
3678struct dst_entry;
3679#line 23 "include/linux/ethtool.h"
3680struct ethtool_cmd {
3681 __u32 cmd ;
3682 __u32 supported ;
3683 __u32 advertising ;
3684 __u16 speed ;
3685 __u8 duplex ;
3686 __u8 port ;
3687 __u8 phy_address ;
3688 __u8 transceiver ;
3689 __u8 autoneg ;
3690 __u8 mdio_support ;
3691 __u32 maxtxpkt ;
3692 __u32 maxrxpkt ;
3693 __u16 speed_hi ;
3694 __u8 eth_tp_mdix ;
3695 __u8 reserved2 ;
3696 __u32 lp_advertising ;
3697 __u32 reserved[2] ;
3698};
3699#line 84 "include/linux/ethtool.h"
3700struct ethtool_drvinfo {
3701 __u32 cmd ;
3702 char driver[32] ;
3703 char version[32] ;
3704 char fw_version[32] ;
3705 char bus_info[32] ;
3706 char reserved1[32] ;
3707 char reserved2[12] ;
3708 __u32 n_priv_flags ;
3709 __u32 n_stats ;
3710 __u32 testinfo_len ;
3711 __u32 eedump_len ;
3712 __u32 regdump_len ;
3713};
3714#line 109 "include/linux/ethtool.h"
3715struct ethtool_wolinfo {
3716 __u32 cmd ;
3717 __u32 supported ;
3718 __u32 wolopts ;
3719 __u8 sopass[6] ;
3720};
3721#line 123 "include/linux/ethtool.h"
3722struct ethtool_regs {
3723 __u32 cmd ;
3724 __u32 version ;
3725 __u32 len ;
3726 __u8 data[0] ;
3727};
3728#line 131 "include/linux/ethtool.h"
3729struct ethtool_eeprom {
3730 __u32 cmd ;
3731 __u32 magic ;
3732 __u32 offset ;
3733 __u32 len ;
3734 __u8 data[0] ;
3735};
3736#line 211 "include/linux/ethtool.h"
3737struct ethtool_coalesce {
3738 __u32 cmd ;
3739 __u32 rx_coalesce_usecs ;
3740 __u32 rx_max_coalesced_frames ;
3741 __u32 rx_coalesce_usecs_irq ;
3742 __u32 rx_max_coalesced_frames_irq ;
3743 __u32 tx_coalesce_usecs ;
3744 __u32 tx_max_coalesced_frames ;
3745 __u32 tx_coalesce_usecs_irq ;
3746 __u32 tx_max_coalesced_frames_irq ;
3747 __u32 stats_block_coalesce_usecs ;
3748 __u32 use_adaptive_rx_coalesce ;
3749 __u32 use_adaptive_tx_coalesce ;
3750 __u32 pkt_rate_low ;
3751 __u32 rx_coalesce_usecs_low ;
3752 __u32 rx_max_coalesced_frames_low ;
3753 __u32 tx_coalesce_usecs_low ;
3754 __u32 tx_max_coalesced_frames_low ;
3755 __u32 pkt_rate_high ;
3756 __u32 rx_coalesce_usecs_high ;
3757 __u32 rx_max_coalesced_frames_high ;
3758 __u32 tx_coalesce_usecs_high ;
3759 __u32 tx_max_coalesced_frames_high ;
3760 __u32 rate_sample_interval ;
3761};
3762#line 238 "include/linux/ethtool.h"
3763struct ethtool_ringparam {
3764 __u32 cmd ;
3765 __u32 rx_max_pending ;
3766 __u32 rx_mini_max_pending ;
3767 __u32 rx_jumbo_max_pending ;
3768 __u32 tx_max_pending ;
3769 __u32 rx_pending ;
3770 __u32 rx_mini_pending ;
3771 __u32 rx_jumbo_pending ;
3772 __u32 tx_pending ;
3773};
3774#line 275 "include/linux/ethtool.h"
3775struct ethtool_channels {
3776 __u32 cmd ;
3777 __u32 max_rx ;
3778 __u32 max_tx ;
3779 __u32 max_other ;
3780 __u32 max_combined ;
3781 __u32 rx_count ;
3782 __u32 tx_count ;
3783 __u32 other_count ;
3784 __u32 combined_count ;
3785};
3786#line 288 "include/linux/ethtool.h"
3787struct ethtool_pauseparam {
3788 __u32 cmd ;
3789 __u32 autoneg ;
3790 __u32 rx_pause ;
3791 __u32 tx_pause ;
3792};
3793#line 352 "include/linux/ethtool.h"
3794struct ethtool_test {
3795 __u32 cmd ;
3796 __u32 flags ;
3797 __u32 reserved ;
3798 __u32 len ;
3799 __u64 data[0] ;
3800};
3801#line 361 "include/linux/ethtool.h"
3802struct ethtool_stats {
3803 __u32 cmd ;
3804 __u32 n_stats ;
3805 __u64 data[0] ;
3806};
3807#line 406 "include/linux/ethtool.h"
3808struct ethtool_tcpip4_spec {
3809 __be32 ip4src ;
3810 __be32 ip4dst ;
3811 __be16 psrc ;
3812 __be16 pdst ;
3813 __u8 tos ;
3814};
3815#line 423 "include/linux/ethtool.h"
3816struct ethtool_ah_espip4_spec {
3817 __be32 ip4src ;
3818 __be32 ip4dst ;
3819 __be32 spi ;
3820 __u8 tos ;
3821};
3822#line 441 "include/linux/ethtool.h"
3823struct ethtool_usrip4_spec {
3824 __be32 ip4src ;
3825 __be32 ip4dst ;
3826 __be32 l4_4_bytes ;
3827 __u8 tos ;
3828 __u8 ip_ver ;
3829 __u8 proto ;
3830};
3831#line 450 "include/linux/ethtool.h"
3832union ethtool_flow_union {
3833 struct ethtool_tcpip4_spec tcp_ip4_spec ;
3834 struct ethtool_tcpip4_spec udp_ip4_spec ;
3835 struct ethtool_tcpip4_spec sctp_ip4_spec ;
3836 struct ethtool_ah_espip4_spec ah_ip4_spec ;
3837 struct ethtool_ah_espip4_spec esp_ip4_spec ;
3838 struct ethtool_usrip4_spec usr_ip4_spec ;
3839 struct ethhdr ether_spec ;
3840 __u8 hdata[60] ;
3841};
3842#line 461 "include/linux/ethtool.h"
3843struct ethtool_flow_ext {
3844 __be16 vlan_etype ;
3845 __be16 vlan_tci ;
3846 __be32 data[2] ;
3847};
3848#line 482 "include/linux/ethtool.h"
3849struct ethtool_rx_flow_spec {
3850 __u32 flow_type ;
3851 union ethtool_flow_union h_u ;
3852 struct ethtool_flow_ext h_ext ;
3853 union ethtool_flow_union m_u ;
3854 struct ethtool_flow_ext m_ext ;
3855 __u64 ring_cookie ;
3856 __u32 location ;
3857};
3858#line 544 "include/linux/ethtool.h"
3859struct ethtool_rxnfc {
3860 __u32 cmd ;
3861 __u32 flow_type ;
3862 __u64 data ;
3863 struct ethtool_rx_flow_spec fs ;
3864 __u32 rule_cnt ;
3865 __u32 rule_locs[0] ;
3866};
3867#line 652 "include/linux/ethtool.h"
3868struct ethtool_flash {
3869 __u32 cmd ;
3870 __u32 region ;
3871 char data[128] ;
3872};
3873#line 670 "include/linux/ethtool.h"
3874struct ethtool_dump {
3875 __u32 cmd ;
3876 __u32 version ;
3877 __u32 flag ;
3878 __u32 len ;
3879 __u8 data[0] ;
3880};
3881#line 780
3882enum ethtool_phys_id_state {
3883 ETHTOOL_ID_INACTIVE = 0,
3884 ETHTOOL_ID_ACTIVE = 1,
3885 ETHTOOL_ID_ON = 2,
3886 ETHTOOL_ID_OFF = 3
3887} ;
3888#line 787
3889struct net_device;
3890#line 906 "include/linux/ethtool.h"
3891struct ethtool_ops {
3892 int (*get_settings)(struct net_device * , struct ethtool_cmd * ) ;
3893 int (*set_settings)(struct net_device * , struct ethtool_cmd * ) ;
3894 void (*get_drvinfo)(struct net_device * , struct ethtool_drvinfo * ) ;
3895 int (*get_regs_len)(struct net_device * ) ;
3896 void (*get_regs)(struct net_device * , struct ethtool_regs * , void * ) ;
3897 void (*get_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
3898 int (*set_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
3899 u32 (*get_msglevel)(struct net_device * ) ;
3900 void (*set_msglevel)(struct net_device * , u32 ) ;
3901 int (*nway_reset)(struct net_device * ) ;
3902 u32 (*get_link)(struct net_device * ) ;
3903 int (*get_eeprom_len)(struct net_device * ) ;
3904 int (*get_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
3905 int (*set_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
3906 int (*get_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
3907 int (*set_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
3908 void (*get_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
3909 int (*set_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
3910 void (*get_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
3911 int (*set_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
3912 void (*self_test)(struct net_device * , struct ethtool_test * , u64 * ) ;
3913 void (*get_strings)(struct net_device * , u32 stringset , u8 * ) ;
3914 int (*set_phys_id)(struct net_device * , enum ethtool_phys_id_state ) ;
3915 void (*get_ethtool_stats)(struct net_device * , struct ethtool_stats * , u64 * ) ;
3916 int (*begin)(struct net_device * ) ;
3917 void (*complete)(struct net_device * ) ;
3918 u32 (*get_priv_flags)(struct net_device * ) ;
3919 int (*set_priv_flags)(struct net_device * , u32 ) ;
3920 int (*get_sset_count)(struct net_device * , int ) ;
3921 int (*get_rxnfc)(struct net_device * , struct ethtool_rxnfc * , u32 *rule_locs ) ;
3922 int (*set_rxnfc)(struct net_device * , struct ethtool_rxnfc * ) ;
3923 int (*flash_device)(struct net_device * , struct ethtool_flash * ) ;
3924 int (*reset)(struct net_device * , u32 * ) ;
3925 u32 (*get_rxfh_indir_size)(struct net_device * ) ;
3926 int (*get_rxfh_indir)(struct net_device * , u32 * ) ;
3927 int (*set_rxfh_indir)(struct net_device * , u32 * ) ;
3928 void (*get_channels)(struct net_device * , struct ethtool_channels * ) ;
3929 int (*set_channels)(struct net_device * , struct ethtool_channels * ) ;
3930 int (*get_dump_flag)(struct net_device * , struct ethtool_dump * ) ;
3931 int (*get_dump_data)(struct net_device * , struct ethtool_dump * , void * ) ;
3932 int (*set_dump)(struct net_device * , struct ethtool_dump * ) ;
3933};
3934#line 156 "include/linux/mii.h"
3935struct ethtool_cmd;
3936#line 48 "include/linux/kmod.h"
3937struct cred;
3938#line 49
3939struct file;
3940#line 270 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/elf.h"
3941struct task_struct;
3942#line 18 "include/linux/elf.h"
3943typedef __u64 Elf64_Addr;
3944#line 19 "include/linux/elf.h"
3945typedef __u16 Elf64_Half;
3946#line 23 "include/linux/elf.h"
3947typedef __u32 Elf64_Word;
3948#line 24 "include/linux/elf.h"
3949typedef __u64 Elf64_Xword;
3950#line 194 "include/linux/elf.h"
3951struct elf64_sym {
3952 Elf64_Word st_name ;
3953 unsigned char st_info ;
3954 unsigned char st_other ;
3955 Elf64_Half st_shndx ;
3956 Elf64_Addr st_value ;
3957 Elf64_Xword st_size ;
3958};
3959#line 194 "include/linux/elf.h"
3960typedef struct elf64_sym Elf64_Sym;
3961#line 438
3962struct file;
3963#line 39 "include/linux/moduleparam.h"
3964struct kernel_param;
3965#line 39
3966struct kernel_param;
3967#line 41 "include/linux/moduleparam.h"
3968struct kernel_param_ops {
3969 int (*set)(char *val , struct kernel_param *kp ) ;
3970 int (*get)(char *buffer , struct kernel_param *kp ) ;
3971 void (*free)(void *arg ) ;
3972};
3973#line 50
3974struct kparam_string;
3975#line 50
3976struct kparam_array;
3977#line 50 "include/linux/moduleparam.h"
3978union __anonunion____missing_field_name_275 {
3979 void *arg ;
3980 struct kparam_string *str ;
3981 struct kparam_array *arr ;
3982};
3983#line 50 "include/linux/moduleparam.h"
3984struct kernel_param {
3985 char *name ;
3986 struct kernel_param_ops *ops ;
3987 u16 perm ;
3988 s16 level ;
3989 union __anonunion____missing_field_name_275 __annonCompField49 ;
3990};
3991#line 63 "include/linux/moduleparam.h"
3992struct kparam_string {
3993 unsigned int maxlen ;
3994 char *string ;
3995};
3996#line 69 "include/linux/moduleparam.h"
3997struct kparam_array {
3998 unsigned int max ;
3999 unsigned int elemsize ;
4000 unsigned int *num ;
4001 struct kernel_param_ops *ops ;
4002 void *elem ;
4003};
4004#line 445
4005struct module;
4006#line 80 "include/linux/jump_label.h"
4007struct module;
4008#line 143 "include/linux/jump_label.h"
4009struct static_key {
4010 atomic_t enabled ;
4011};
4012#line 22 "include/linux/tracepoint.h"
4013struct module;
4014#line 23
4015struct tracepoint;
4016#line 23
4017struct tracepoint;
4018#line 25 "include/linux/tracepoint.h"
4019struct tracepoint_func {
4020 void *func ;
4021 void *data ;
4022};
4023#line 30 "include/linux/tracepoint.h"
4024struct tracepoint {
4025 char *name ;
4026 struct static_key key ;
4027 void (*regfunc)(void) ;
4028 void (*unregfunc)(void) ;
4029 struct tracepoint_func *funcs ;
4030};
4031#line 19 "include/linux/export.h"
4032struct kernel_symbol {
4033 unsigned long value ;
4034 char *name ;
4035};
4036#line 8 "include/asm-generic/module.h"
4037struct mod_arch_specific {
4038
4039};
4040#line 35 "include/linux/module.h"
4041struct module;
4042#line 37
4043struct module_param_attrs;
4044#line 37 "include/linux/module.h"
4045struct module_kobject {
4046 struct kobject kobj ;
4047 struct module *mod ;
4048 struct kobject *drivers_dir ;
4049 struct module_param_attrs *mp ;
4050};
4051#line 44 "include/linux/module.h"
4052struct module_attribute {
4053 struct attribute attr ;
4054 ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
4055 ssize_t (*store)(struct module_attribute * , struct module_kobject * , char * ,
4056 size_t count ) ;
4057 void (*setup)(struct module * , char * ) ;
4058 int (*test)(struct module * ) ;
4059 void (*free)(struct module * ) ;
4060};
4061#line 71
4062struct exception_table_entry;
4063#line 182
4064struct notifier_block;
4065#line 199
4066enum module_state {
4067 MODULE_STATE_LIVE = 0,
4068 MODULE_STATE_COMING = 1,
4069 MODULE_STATE_GOING = 2
4070} ;
4071#line 215 "include/linux/module.h"
4072struct module_ref {
4073 unsigned long incs ;
4074 unsigned long decs ;
4075} __attribute__((__aligned__((2) * (sizeof(unsigned long )) ))) ;
4076#line 220
4077struct module_sect_attrs;
4078#line 220
4079struct module_notes_attrs;
4080#line 220
4081struct ftrace_event_call;
4082#line 220 "include/linux/module.h"
4083struct module {
4084 enum module_state state ;
4085 struct list_head list ;
4086 char name[64UL - sizeof(unsigned long )] ;
4087 struct module_kobject mkobj ;
4088 struct module_attribute *modinfo_attrs ;
4089 char *version ;
4090 char *srcversion ;
4091 struct kobject *holders_dir ;
4092 struct kernel_symbol *syms ;
4093 unsigned long *crcs ;
4094 unsigned int num_syms ;
4095 struct kernel_param *kp ;
4096 unsigned int num_kp ;
4097 unsigned int num_gpl_syms ;
4098 struct kernel_symbol *gpl_syms ;
4099 unsigned long *gpl_crcs ;
4100 struct kernel_symbol *unused_syms ;
4101 unsigned long *unused_crcs ;
4102 unsigned int num_unused_syms ;
4103 unsigned int num_unused_gpl_syms ;
4104 struct kernel_symbol *unused_gpl_syms ;
4105 unsigned long *unused_gpl_crcs ;
4106 struct kernel_symbol *gpl_future_syms ;
4107 unsigned long *gpl_future_crcs ;
4108 unsigned int num_gpl_future_syms ;
4109 unsigned int num_exentries ;
4110 struct exception_table_entry *extable ;
4111 int (*init)(void) ;
4112 void *module_init ;
4113 void *module_core ;
4114 unsigned int init_size ;
4115 unsigned int core_size ;
4116 unsigned int init_text_size ;
4117 unsigned int core_text_size ;
4118 unsigned int init_ro_size ;
4119 unsigned int core_ro_size ;
4120 struct mod_arch_specific arch ;
4121 unsigned int taints ;
4122 unsigned int num_bugs ;
4123 struct list_head bug_list ;
4124 struct bug_entry *bug_table ;
4125 Elf64_Sym *symtab ;
4126 Elf64_Sym *core_symtab ;
4127 unsigned int num_symtab ;
4128 unsigned int core_num_syms ;
4129 char *strtab ;
4130 char *core_strtab ;
4131 struct module_sect_attrs *sect_attrs ;
4132 struct module_notes_attrs *notes_attrs ;
4133 char *args ;
4134 void *percpu ;
4135 unsigned int percpu_size ;
4136 unsigned int num_tracepoints ;
4137 struct tracepoint * *tracepoints_ptrs ;
4138 unsigned int num_trace_bprintk_fmt ;
4139 char **trace_bprintk_fmt_start ;
4140 struct ftrace_event_call **trace_events ;
4141 unsigned int num_trace_events ;
4142 struct list_head source_list ;
4143 struct list_head target_list ;
4144 struct task_struct *waiter ;
4145 void (*exit)(void) ;
4146 struct module_ref *refptr ;
4147 ctor_fn_t *ctors ;
4148 unsigned int num_ctors ;
4149};
4150#line 41 "include/linux/net_tstamp.h"
4151struct hwtstamp_config {
4152 int flags ;
4153 int tx_type ;
4154 int rx_filter ;
4155};
4156#line 129 "include/linux/netlink.h"
4157struct nlattr {
4158 __u16 nla_len ;
4159 __u16 nla_type ;
4160};
4161#line 157
4162struct net;
4163#line 41 "include/linux/if_link.h"
4164struct rtnl_link_stats64 {
4165 __u64 rx_packets ;
4166 __u64 tx_packets ;
4167 __u64 rx_bytes ;
4168 __u64 tx_bytes ;
4169 __u64 rx_errors ;
4170 __u64 tx_errors ;
4171 __u64 rx_dropped ;
4172 __u64 tx_dropped ;
4173 __u64 multicast ;
4174 __u64 collisions ;
4175 __u64 rx_length_errors ;
4176 __u64 rx_over_errors ;
4177 __u64 rx_crc_errors ;
4178 __u64 rx_frame_errors ;
4179 __u64 rx_fifo_errors ;
4180 __u64 rx_missed_errors ;
4181 __u64 tx_aborted_errors ;
4182 __u64 tx_carrier_errors ;
4183 __u64 tx_fifo_errors ;
4184 __u64 tx_heartbeat_errors ;
4185 __u64 tx_window_errors ;
4186 __u64 rx_compressed ;
4187 __u64 tx_compressed ;
4188};
4189#line 312 "include/linux/if_link.h"
4190struct ifla_vf_info {
4191 __u32 vf ;
4192 __u8 mac[32] ;
4193 __u32 vlan ;
4194 __u32 qos ;
4195 __u32 tx_rate ;
4196 __u32 spoofchk ;
4197};
4198#line 48 "include/linux/miscdevice.h"
4199struct device;
4200#line 30 "include/linux/pm_qos.h"
4201struct pm_qos_request {
4202 struct plist_node node ;
4203 int pm_qos_class ;
4204 struct delayed_work work ;
4205};
4206#line 36 "include/linux/pm_qos.h"
4207struct dev_pm_qos_request {
4208 struct plist_node node ;
4209 struct device *dev ;
4210};
4211#line 41
4212enum pm_qos_type {
4213 PM_QOS_UNITIALIZED = 0,
4214 PM_QOS_MAX = 1,
4215 PM_QOS_MIN = 2
4216} ;
4217#line 52 "include/linux/pm_qos.h"
4218struct pm_qos_raints {
4219 struct plist_head list ;
4220 s32 target_value ;
4221 s32 default_value ;
4222 enum pm_qos_type type ;
4223 struct blocking_notifier_head *notifiers ;
4224};
4225#line 40 "include/linux/dynamic_queue_limits.h"
4226struct dql {
4227 unsigned int num_queued ;
4228 unsigned int adj_limit ;
4229 unsigned int last_obj_cnt ;
4230 unsigned int limit __attribute__((__aligned__((1) << (6) ))) ;
4231 unsigned int num_completed ;
4232 unsigned int prev_ovlimit ;
4233 unsigned int prev_num_queued ;
4234 unsigned int prev_last_obj_cnt ;
4235 unsigned int lowest_slack ;
4236 unsigned long slack_start_time ;
4237 unsigned int max_limit ;
4238 unsigned int min_limit ;
4239 unsigned int slack_hold_time ;
4240};
4241#line 4 "include/net/netns/core.h"
4242struct ctl_table_header;
4243#line 5
4244struct prot_inuse;
4245#line 5
4246struct prot_inuse;
4247#line 7 "include/net/netns/core.h"
4248struct netns_core {
4249 struct ctl_table_header *sysctl_hdr ;
4250 int sysctl_somaxconn ;
4251 struct prot_inuse *inuse ;
4252};
4253#line 64 "include/linux/u64_stats_sync.h"
4254struct u64_stats_sync {
4255
4256};
4257#line 56 "include/net/snmp.h"
4258struct ipstats_mib {
4259 u64 mibs[31] ;
4260 struct u64_stats_sync syncp ;
4261};
4262#line 64 "include/net/snmp.h"
4263struct icmp_mib {
4264 unsigned long mibs[27] ;
4265};
4266#line 69 "include/net/snmp.h"
4267struct icmpmsg_mib {
4268 atomic_long_t mibs[512] ;
4269};
4270#line 76 "include/net/snmp.h"
4271struct icmpv6_mib {
4272 unsigned long mibs[5] ;
4273};
4274#line 86 "include/net/snmp.h"
4275struct icmpv6msg_mib {
4276 atomic_long_t mibs[512] ;
4277};
4278#line 97 "include/net/snmp.h"
4279struct tcp_mib {
4280 unsigned long mibs[15] ;
4281};
4282#line 103 "include/net/snmp.h"
4283struct udp_mib {
4284 unsigned long mibs[7] ;
4285};
4286#line 109 "include/net/snmp.h"
4287struct linux_mib {
4288 unsigned long mibs[83] ;
4289};
4290#line 115 "include/net/snmp.h"
4291struct linux_xfrm_mib {
4292 unsigned long mibs[27] ;
4293};
4294#line 6 "include/net/netns/mib.h"
4295struct proc_dir_entry;
4296#line 6 "include/net/netns/mib.h"
4297struct netns_mib {
4298 struct tcp_mib *tcp_statistics[1] ;
4299 struct ipstats_mib *ip_statistics[1] ;
4300 struct linux_mib *net_statistics[1] ;
4301 struct udp_mib *udp_statistics[1] ;
4302 struct udp_mib *udplite_statistics[1] ;
4303 struct icmp_mib *icmp_statistics[1] ;
4304 struct icmpmsg_mib *icmpmsg_statistics ;
4305 struct proc_dir_entry *proc_net_devsnmp6 ;
4306 struct udp_mib *udp_stats_in6[1] ;
4307 struct udp_mib *udplite_stats_in6[1] ;
4308 struct ipstats_mib *ipv6_statistics[1] ;
4309 struct icmpv6_mib *icmpv6_statistics[1] ;
4310 struct icmpv6msg_mib *icmpv6msg_statistics ;
4311 struct linux_xfrm_mib *xfrm_statistics[1] ;
4312};
4313#line 7 "include/net/netns/unix.h"
4314struct ctl_table_header;
4315#line 8 "include/net/netns/unix.h"
4316struct netns_unix {
4317 int sysctl_max_dgram_qlen ;
4318 struct ctl_table_header *ctl ;
4319};
4320#line 10 "include/net/netns/packet.h"
4321struct netns_packet {
4322 spinlock_t sklist_lock ;
4323 struct hlist_head sklist ;
4324};
4325#line 4 "include/net/inet_frag.h"
4326struct netns_frags {
4327 int nqueues ;
4328 atomic_t mem ;
4329 struct list_head lru_list ;
4330 int timeout ;
4331 int high_thresh ;
4332 int low_thresh ;
4333};
4334#line 10 "include/net/netns/ipv4.h"
4335struct ctl_table_header;
4336#line 11
4337struct ipv4_devconf;
4338#line 11
4339struct ipv4_devconf;
4340#line 12
4341struct fib_rules_ops;
4342#line 12
4343struct fib_rules_ops;
4344#line 13
4345struct hlist_head;
4346#line 14
4347struct sock;
4348#line 16
4349struct xt_table;
4350#line 16 "include/net/netns/ipv4.h"
4351struct netns_ipv4 {
4352 struct ctl_table_header *forw_hdr ;
4353 struct ctl_table_header *frags_hdr ;
4354 struct ctl_table_header *ipv4_hdr ;
4355 struct ctl_table_header *route_hdr ;
4356 struct ipv4_devconf *devconf_all ;
4357 struct ipv4_devconf *devconf_dflt ;
4358 struct fib_rules_ops *rules_ops ;
4359 struct hlist_head *fib_table_hash ;
4360 struct sock *fibnl ;
4361 struct sock **icmp_sk ;
4362 struct sock *tcp_sock ;
4363 struct netns_frags frags ;
4364 struct xt_table *iptable_filter ;
4365 struct xt_table *iptable_mangle ;
4366 struct xt_table *iptable_raw ;
4367 struct xt_table *arptable_filter ;
4368 struct xt_table *iptable_security ;
4369 struct xt_table *nat_table ;
4370 struct hlist_head *nat_bysource ;
4371 unsigned int nat_htable_size ;
4372 int sysctl_icmp_echo_ignore_all ;
4373 int sysctl_icmp_echo_ignore_broadcasts ;
4374 int sysctl_icmp_ignore_bogus_error_responses ;
4375 int sysctl_icmp_ratelimit ;
4376 int sysctl_icmp_ratemask ;
4377 int sysctl_icmp_errors_use_inbound_ifaddr ;
4378 int sysctl_rt_cache_rebuild_count ;
4379 int current_rt_cache_rebuild_count ;
4380 unsigned int sysctl_ping_group_range[2] ;
4381 long sysctl_tcp_mem[3] ;
4382 atomic_t rt_genid ;
4383 atomic_t dev_addr_genid ;
4384 struct list_head mr_tables ;
4385 struct fib_rules_ops *mr_rules_ops ;
4386};
4387#line 7 "include/net/dst_ops.h"
4388struct dst_entry;
4389#line 9
4390struct net_device;
4391#line 10
4392struct sk_buff;
4393#line 12
4394struct neighbour;
4395#line 12 "include/net/dst_ops.h"
4396struct dst_ops {
4397 unsigned short family ;
4398 __be16 protocol ;
4399 unsigned int gc_thresh ;
4400 int (*gc)(struct dst_ops *ops ) ;
4401 struct dst_entry *(*check)(struct dst_entry * , __u32 cookie ) ;
4402 unsigned int (*default_advmss)(struct dst_entry * ) ;
4403 unsigned int (*mtu)(struct dst_entry * ) ;
4404 u32 *(*cow_metrics)(struct dst_entry * , unsigned long ) ;
4405 void (*destroy)(struct dst_entry * ) ;
4406 void (*ifdown)(struct dst_entry * , struct net_device *dev , int how ) ;
4407 struct dst_entry *(*negative_advice)(struct dst_entry * ) ;
4408 void (*link_failure)(struct sk_buff * ) ;
4409 void (*update_pmtu)(struct dst_entry *dst , u32 mtu ) ;
4410 int (*local_out)(struct sk_buff *skb ) ;
4411 struct neighbour *(*neigh_lookup)(struct dst_entry *dst , void *daddr ) ;
4412 struct kmem_cache *kmem_cachep ;
4413 struct percpu_counter pcpuc_entries __attribute__((__aligned__((1) << (6) ))) ;
4414};
4415#line 11 "include/net/netns/ipv6.h"
4416struct ctl_table_header;
4417#line 13 "include/net/netns/ipv6.h"
4418struct netns_sysctl_ipv6 {
4419 struct ctl_table_header *table ;
4420 struct ctl_table_header *frags_hdr ;
4421 int bindv6only ;
4422 int flush_delay ;
4423 int ip6_rt_max_size ;
4424 int ip6_rt_gc_min_interval ;
4425 int ip6_rt_gc_timeout ;
4426 int ip6_rt_gc_interval ;
4427 int ip6_rt_gc_elasticity ;
4428 int ip6_rt_mtu_expires ;
4429 int ip6_rt_min_advmss ;
4430 int icmpv6_time ;
4431};
4432#line 30
4433struct ipv6_devconf;
4434#line 30
4435struct rt6_info;
4436#line 30
4437struct rt6_statistics;
4438#line 30
4439struct fib6_table;
4440#line 30 "include/net/netns/ipv6.h"
4441struct netns_ipv6 {
4442 struct netns_sysctl_ipv6 sysctl ;
4443 struct ipv6_devconf *devconf_all ;
4444 struct ipv6_devconf *devconf_dflt ;
4445 struct netns_frags frags ;
4446 struct xt_table *ip6table_filter ;
4447 struct xt_table *ip6table_mangle ;
4448 struct xt_table *ip6table_raw ;
4449 struct xt_table *ip6table_security ;
4450 struct rt6_info *ip6_null_entry ;
4451 struct rt6_statistics *rt6_stats ;
4452 struct timer_list ip6_fib_timer ;
4453 struct hlist_head *fib_table_hash ;
4454 struct fib6_table *fib6_main_tbl ;
4455 struct dst_ops ip6_dst_ops ;
4456 unsigned int ip6_rt_gc_expire ;
4457 unsigned long ip6_rt_last_gc ;
4458 struct rt6_info *ip6_prohibit_entry ;
4459 struct rt6_info *ip6_blk_hole_entry ;
4460 struct fib6_table *fib6_local_tbl ;
4461 struct fib_rules_ops *fib6_rules_ops ;
4462 struct sock **icmp_sk ;
4463 struct sock *ndisc_sk ;
4464 struct sock *tcp_sk ;
4465 struct sock *igmp_sk ;
4466 struct list_head mr6_tables ;
4467 struct fib_rules_ops *mr6_rules_ops ;
4468};
4469#line 4 "include/net/netns/dccp.h"
4470struct sock;
4471#line 6 "include/net/netns/dccp.h"
4472struct netns_dccp {
4473 struct sock *v4_ctl_sk ;
4474 struct sock *v6_ctl_sk ;
4475};
4476#line 102 "include/linux/netfilter.h"
4477struct sk_buff;
4478#line 200 "include/net/flow.h"
4479struct net;
4480#line 201
4481struct sock;
4482#line 10 "include/linux/proc_fs.h"
4483struct net;
4484#line 11
4485struct completion;
4486#line 12
4487struct mm_struct;
4488#line 46 "include/linux/proc_fs.h"
4489typedef int read_proc_t(char *page , char **start , off_t off , int count , int *eof ,
4490 void *data );
4491#line 48 "include/linux/proc_fs.h"
4492typedef int write_proc_t(struct file *file , char *buffer , unsigned long count ,
4493 void *data );
4494#line 51 "include/linux/proc_fs.h"
4495struct proc_dir_entry {
4496 unsigned int low_ino ;
4497 umode_t mode ;
4498 nlink_t nlink ;
4499 uid_t uid ;
4500 gid_t gid ;
4501 loff_t size ;
4502 struct inode_operations *proc_iops ;
4503 struct file_operations *proc_fops ;
4504 struct proc_dir_entry *next ;
4505 struct proc_dir_entry *parent ;
4506 struct proc_dir_entry *subdir ;
4507 void *data ;
4508 read_proc_t *read_proc ;
4509 write_proc_t *write_proc ;
4510 atomic_t count ;
4511 int pde_users ;
4512 struct completion *pde_unload_completion ;
4513 struct list_head pde_openers ;
4514 spinlock_t pde_unload_lock ;
4515 u8 namelen ;
4516 char name[] ;
4517};
4518#line 117
4519struct pid_namespace;
4520#line 243
4521struct nsproxy;
4522#line 263
4523struct ctl_table_header;
4524#line 264
4525struct ctl_table;
4526#line 7 "include/net/netns/x_tables.h"
4527struct ebt_table;
4528#line 7
4529struct ebt_table;
4530#line 9 "include/net/netns/x_tables.h"
4531struct netns_xt {
4532 struct list_head tables[13] ;
4533 struct ebt_table *broute_table ;
4534 struct ebt_table *frame_filter ;
4535 struct ebt_table *frame_nat ;
4536};
4537#line 17 "include/linux/list_nulls.h"
4538struct hlist_nulls_node;
4539#line 17 "include/linux/list_nulls.h"
4540struct hlist_nulls_head {
4541 struct hlist_nulls_node *first ;
4542};
4543#line 21 "include/linux/list_nulls.h"
4544struct hlist_nulls_node {
4545 struct hlist_nulls_node *next ;
4546 struct hlist_nulls_node **pprev ;
4547};
4548#line 8 "include/net/netns/conntrack.h"
4549struct ctl_table_header;
4550#line 11
4551struct ip_conntrack_stat;
4552#line 11
4553struct nf_ct_event_notifier;
4554#line 11
4555struct nf_exp_event_notifier;
4556#line 11 "include/net/netns/conntrack.h"
4557struct netns_ct {
4558 atomic_t count ;
4559 unsigned int expect_count ;
4560 unsigned int htable_size ;
4561 struct kmem_cache *nf_conntrack_cachep ;
4562 struct hlist_nulls_head *hash ;
4563 struct hlist_head *expect_hash ;
4564 struct hlist_nulls_head unconfirmed ;
4565 struct hlist_nulls_head dying ;
4566 struct ip_conntrack_stat *stat ;
4567 struct nf_ct_event_notifier *nf_conntrack_event_cb ;
4568 struct nf_exp_event_notifier *nf_expect_event_cb ;
4569 int sysctl_events ;
4570 unsigned int sysctl_events_retry_timeout ;
4571 int sysctl_acct ;
4572 int sysctl_tstamp ;
4573 int sysctl_checksum ;
4574 unsigned int sysctl_log_invalid ;
4575 struct ctl_table_header *sysctl_header ;
4576 struct ctl_table_header *acct_sysctl_header ;
4577 struct ctl_table_header *tstamp_sysctl_header ;
4578 struct ctl_table_header *event_sysctl_header ;
4579 char *slabname ;
4580};
4581#line 10 "include/net/netns/xfrm.h"
4582struct ctl_table_header;
4583#line 12 "include/net/netns/xfrm.h"
4584struct xfrm_policy_hash {
4585 struct hlist_head *table ;
4586 unsigned int hmask ;
4587};
4588#line 17 "include/net/netns/xfrm.h"
4589struct netns_xfrm {
4590 struct list_head state_all ;
4591 struct hlist_head *state_bydst ;
4592 struct hlist_head *state_bysrc ;
4593 struct hlist_head *state_byspi ;
4594 unsigned int state_hmask ;
4595 unsigned int state_num ;
4596 struct work_struct state_hash_work ;
4597 struct hlist_head state_gc_list ;
4598 struct work_struct state_gc_work ;
4599 wait_queue_head_t km_waitq ;
4600 struct list_head policy_all ;
4601 struct hlist_head *policy_byidx ;
4602 unsigned int policy_idx_hmask ;
4603 struct hlist_head policy_inexact[6] ;
4604 struct xfrm_policy_hash policy_bydst[6] ;
4605 unsigned int policy_count[6] ;
4606 struct work_struct policy_hash_work ;
4607 struct sock *nlsk ;
4608 struct sock *nlsk_stash ;
4609 u32 sysctl_aevent_etime ;
4610 u32 sysctl_aevent_rseqth ;
4611 int sysctl_larval_drop ;
4612 u32 sysctl_acq_expires ;
4613 struct ctl_table_header *sysctl_hdr ;
4614 struct dst_ops xfrm4_dst_ops ;
4615 struct dst_ops xfrm6_dst_ops ;
4616};
4617#line 25 "include/net/net_namespace.h"
4618struct proc_dir_entry;
4619#line 26
4620struct net_device;
4621#line 27
4622struct sock;
4623#line 28
4624struct ctl_table_header;
4625#line 29
4626struct net_generic;
4627#line 29
4628struct net_generic;
4629#line 30
4630struct sock;
4631#line 31
4632struct netns_ipvs;
4633#line 31
4634struct netns_ipvs;
4635#line 37 "include/net/net_namespace.h"
4636struct net {
4637 atomic_t passive ;
4638 atomic_t count ;
4639 spinlock_t rules_mod_lock ;
4640 struct list_head list ;
4641 struct list_head cleanup_list ;
4642 struct list_head exit_list ;
4643 struct proc_dir_entry *proc_net ;
4644 struct proc_dir_entry *proc_net_stat ;
4645 struct ctl_table_set sysctls ;
4646 struct sock *rtnl ;
4647 struct sock *genl_sock ;
4648 struct list_head dev_base_head ;
4649 struct hlist_head *dev_name_head ;
4650 struct hlist_head *dev_index_head ;
4651 unsigned int dev_base_seq ;
4652 struct list_head rules_ops ;
4653 struct net_device *loopback_dev ;
4654 struct netns_core core ;
4655 struct netns_mib mib ;
4656 struct netns_packet packet ;
4657 struct netns_unix unx ;
4658 struct netns_ipv4 ipv4 ;
4659 struct netns_ipv6 ipv6 ;
4660 struct netns_dccp dccp ;
4661 struct netns_xt xt ;
4662 struct netns_ct ct ;
4663 struct sock *nfnl ;
4664 struct sock *nfnl_stash ;
4665 struct sk_buff_head wext_nlevents ;
4666 struct net_generic *gen ;
4667 struct netns_xfrm xfrm ;
4668 struct netns_ipvs *ipvs ;
4669};
4670#line 11 "include/linux/seq_file.h"
4671struct seq_operations;
4672#line 12
4673struct file;
4674#line 13
4675struct path;
4676#line 14
4677struct inode;
4678#line 15
4679struct dentry;
4680#line 17 "include/linux/seq_file.h"
4681struct seq_file {
4682 char *buf ;
4683 size_t size ;
4684 size_t from ;
4685 size_t count ;
4686 loff_t index ;
4687 loff_t read_pos ;
4688 u64 version ;
4689 struct mutex lock ;
4690 struct seq_operations *op ;
4691 int poll_event ;
4692 void *private ;
4693};
4694#line 31 "include/linux/seq_file.h"
4695struct seq_operations {
4696 void *(*start)(struct seq_file *m , loff_t *pos ) ;
4697 void (*stop)(struct seq_file *m , void *v ) ;
4698 void *(*next)(struct seq_file *m , void *v , loff_t *pos ) ;
4699 int (*show)(struct seq_file *m , void *v ) ;
4700};
4701#line 6 "include/linux/seq_file_net.h"
4702struct net;
4703#line 283 "include/net/net_namespace.h"
4704struct ctl_table;
4705#line 284
4706struct ctl_table_header;
4707#line 22 "include/net/dsa.h"
4708struct dsa_chip_data {
4709 struct device *mii_bus ;
4710 int sw_addr ;
4711 char *port_names[12] ;
4712 s8 *rtable ;
4713};
4714#line 47 "include/net/dsa.h"
4715struct dsa_platform_data {
4716 struct device *netdev ;
4717 int nr_chips ;
4718 struct dsa_chip_data *chip ;
4719};
4720#line 62
4721struct dsa_switch;
4722#line 62 "include/net/dsa.h"
4723struct dsa_switch_tree {
4724 struct dsa_platform_data *pd ;
4725 struct net_device *master_netdev ;
4726 __be16 tag_protocol ;
4727 s8 cpu_switch ;
4728 s8 cpu_port ;
4729 int link_poll_needed ;
4730 struct work_struct link_poll_work ;
4731 struct timer_list link_poll_timer ;
4732 struct dsa_switch *ds[4] ;
4733};
4734#line 95
4735struct dsa_switch_driver;
4736#line 95
4737struct mii_bus;
4738#line 95 "include/net/dsa.h"
4739struct dsa_switch {
4740 struct dsa_switch_tree *dst ;
4741 int index ;
4742 struct dsa_chip_data *pd ;
4743 struct dsa_switch_driver *drv ;
4744 struct mii_bus *master_mii_bus ;
4745 u32 dsa_port_mask ;
4746 u32 phys_port_mask ;
4747 struct mii_bus *slave_mii_bus ;
4748 struct net_device *ports[12] ;
4749};
4750#line 147 "include/net/dsa.h"
4751struct dsa_switch_driver {
4752 struct list_head list ;
4753 __be16 tag_protocol ;
4754 int priv_size ;
4755 char *(*probe)(struct mii_bus *bus , int sw_addr ) ;
4756 int (*setup)(struct dsa_switch *ds ) ;
4757 int (*set_addr)(struct dsa_switch *ds , u8 *addr ) ;
4758 int (*phy_read)(struct dsa_switch *ds , int port , int regnum ) ;
4759 int (*phy_write)(struct dsa_switch *ds , int port , int regnum , u16 val ) ;
4760 void (*poll_link)(struct dsa_switch *ds ) ;
4761 void (*get_strings)(struct dsa_switch *ds , int port , uint8_t *data ) ;
4762 void (*get_ethtool_stats)(struct dsa_switch *ds , int port , uint64_t *data ) ;
4763 int (*get_sset_count)(struct dsa_switch *ds ) ;
4764};
4765#line 57 "include/linux/dcbnl.h"
4766struct ieee_ets {
4767 __u8 willing ;
4768 __u8 ets_cap ;
4769 __u8 cbs ;
4770 __u8 tc_tx_bw[8] ;
4771 __u8 tc_rx_bw[8] ;
4772 __u8 tc_tsa[8] ;
4773 __u8 prio_tc[8] ;
4774 __u8 tc_reco_bw[8] ;
4775 __u8 tc_reco_tsa[8] ;
4776 __u8 reco_prio_tc[8] ;
4777};
4778#line 81 "include/linux/dcbnl.h"
4779struct ieee_pfc {
4780 __u8 pfc_cap ;
4781 __u8 pfc_en ;
4782 __u8 mbc ;
4783 __u16 delay ;
4784 __u64 requests[8] ;
4785 __u64 indications[8] ;
4786};
4787#line 104 "include/linux/dcbnl.h"
4788struct cee_pg {
4789 __u8 willing ;
4790 __u8 error ;
4791 __u8 pg_en ;
4792 __u8 tcs_supported ;
4793 __u8 pg_bw[8] ;
4794 __u8 prio_pg[8] ;
4795};
4796#line 121 "include/linux/dcbnl.h"
4797struct cee_pfc {
4798 __u8 willing ;
4799 __u8 error ;
4800 __u8 pfc_en ;
4801 __u8 tcs_supported ;
4802};
4803#line 151 "include/linux/dcbnl.h"
4804struct dcb_app {
4805 __u8 selector ;
4806 __u8 priority ;
4807 __u16 protocol ;
4808};
4809#line 166 "include/linux/dcbnl.h"
4810struct dcb_peer_app_info {
4811 __u8 willing ;
4812 __u8 error ;
4813};
4814#line 47 "include/net/dcbnl.h"
4815struct dcbnl_rtnl_ops {
4816 int (*ieee_getets)(struct net_device * , struct ieee_ets * ) ;
4817 int (*ieee_setets)(struct net_device * , struct ieee_ets * ) ;
4818 int (*ieee_getpfc)(struct net_device * , struct ieee_pfc * ) ;
4819 int (*ieee_setpfc)(struct net_device * , struct ieee_pfc * ) ;
4820 int (*ieee_getapp)(struct net_device * , struct dcb_app * ) ;
4821 int (*ieee_setapp)(struct net_device * , struct dcb_app * ) ;
4822 int (*ieee_delapp)(struct net_device * , struct dcb_app * ) ;
4823 int (*ieee_peer_getets)(struct net_device * , struct ieee_ets * ) ;
4824 int (*ieee_peer_getpfc)(struct net_device * , struct ieee_pfc * ) ;
4825 u8 (*getstate)(struct net_device * ) ;
4826 u8 (*setstate)(struct net_device * , u8 ) ;
4827 void (*getpermhwaddr)(struct net_device * , u8 * ) ;
4828 void (*setpgtccfgtx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
4829 void (*setpgbwgcfgtx)(struct net_device * , int , u8 ) ;
4830 void (*setpgtccfgrx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
4831 void (*setpgbwgcfgrx)(struct net_device * , int , u8 ) ;
4832 void (*getpgtccfgtx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
4833 void (*getpgbwgcfgtx)(struct net_device * , int , u8 * ) ;
4834 void (*getpgtccfgrx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
4835 void (*getpgbwgcfgrx)(struct net_device * , int , u8 * ) ;
4836 void (*setpfccfg)(struct net_device * , int , u8 ) ;
4837 void (*getpfccfg)(struct net_device * , int , u8 * ) ;
4838 u8 (*setall)(struct net_device * ) ;
4839 u8 (*getcap)(struct net_device * , int , u8 * ) ;
4840 int (*getnumtcs)(struct net_device * , int , u8 * ) ;
4841 int (*setnumtcs)(struct net_device * , int , u8 ) ;
4842 u8 (*getpfcstate)(struct net_device * ) ;
4843 void (*setpfcstate)(struct net_device * , u8 ) ;
4844 void (*getbcncfg)(struct net_device * , int , u32 * ) ;
4845 void (*setbcncfg)(struct net_device * , int , u32 ) ;
4846 void (*getbcnrp)(struct net_device * , int , u8 * ) ;
4847 void (*setbcnrp)(struct net_device * , int , u8 ) ;
4848 u8 (*setapp)(struct net_device * , u8 , u16 , u8 ) ;
4849 u8 (*getapp)(struct net_device * , u8 , u16 ) ;
4850 u8 (*getfeatcfg)(struct net_device * , int , u8 * ) ;
4851 u8 (*setfeatcfg)(struct net_device * , int , u8 ) ;
4852 u8 (*getdcbx)(struct net_device * ) ;
4853 u8 (*setdcbx)(struct net_device * , u8 ) ;
4854 int (*peer_getappinfo)(struct net_device * , struct dcb_peer_app_info * , u16 * ) ;
4855 int (*peer_getapptable)(struct net_device * , struct dcb_app * ) ;
4856 int (*cee_peer_getpg)(struct net_device * , struct cee_pg * ) ;
4857 int (*cee_peer_getpfc)(struct net_device * , struct cee_pfc * ) ;
4858};
4859#line 40 "include/linux/taskstats.h"
4860struct taskstats {
4861 __u16 version ;
4862 __u32 ac_exitcode ;
4863 __u8 ac_flag ;
4864 __u8 ac_nice ;
4865 __u64 cpu_count __attribute__((__aligned__(8))) ;
4866 __u64 cpu_delay_total ;
4867 __u64 blkio_count ;
4868 __u64 blkio_delay_total ;
4869 __u64 swapin_count ;
4870 __u64 swapin_delay_total ;
4871 __u64 cpu_run_real_total ;
4872 __u64 cpu_run_virtual_total ;
4873 char ac_comm[32] ;
4874 __u8 ac_sched __attribute__((__aligned__(8))) ;
4875 __u8 ac_pad[3] ;
4876 __u32 ac_uid __attribute__((__aligned__(8))) ;
4877 __u32 ac_gid ;
4878 __u32 ac_pid ;
4879 __u32 ac_ppid ;
4880 __u32 ac_btime ;
4881 __u64 ac_etime __attribute__((__aligned__(8))) ;
4882 __u64 ac_utime ;
4883 __u64 ac_stime ;
4884 __u64 ac_minflt ;
4885 __u64 ac_majflt ;
4886 __u64 coremem ;
4887 __u64 virtmem ;
4888 __u64 hiwater_rss ;
4889 __u64 hiwater_vm ;
4890 __u64 read_char ;
4891 __u64 write_char ;
4892 __u64 read_syscalls ;
4893 __u64 write_syscalls ;
4894 __u64 read_bytes ;
4895 __u64 write_bytes ;
4896 __u64 cancelled_write_bytes ;
4897 __u64 nvcsw ;
4898 __u64 nivcsw ;
4899 __u64 ac_utimescaled ;
4900 __u64 ac_stimescaled ;
4901 __u64 cpu_scaled_run_real_total ;
4902 __u64 freepages_count ;
4903 __u64 freepages_delay_total ;
4904};
4905#line 22 "include/linux/cgroup.h"
4906struct cgroupfs_root;
4907#line 22
4908struct cgroupfs_root;
4909#line 24
4910struct inode;
4911#line 25
4912struct cgroup;
4913#line 25
4914struct cgroup;
4915#line 26
4916struct css_id;
4917#line 26
4918struct css_id;
4919#line 60 "include/linux/cgroup.h"
4920struct cgroup_subsys_state {
4921 struct cgroup *cgroup ;
4922 atomic_t refcnt ;
4923 unsigned long flags ;
4924 struct css_id *id ;
4925};
4926#line 163 "include/linux/cgroup.h"
4927struct cgroup {
4928 unsigned long flags ;
4929 atomic_t count ;
4930 struct list_head sibling ;
4931 struct list_head children ;
4932 struct cgroup *parent ;
4933 struct dentry *dentry ;
4934 struct cgroup_subsys_state *subsys[8UL * sizeof(unsigned long )] ;
4935 struct cgroupfs_root *root ;
4936 struct cgroup *top_cgroup ;
4937 struct list_head css_sets ;
4938 struct list_head release_list ;
4939 struct list_head pidlists ;
4940 struct mutex pidlist_mutex ;
4941 struct rcu_head rcu_head ;
4942 struct list_head event_list ;
4943 spinlock_t event_list_lock ;
4944};
4945#line 224 "include/linux/cgroup.h"
4946struct css_set {
4947 atomic_t refcount ;
4948 struct hlist_node hlist ;
4949 struct list_head tasks ;
4950 struct list_head cg_links ;
4951 struct cgroup_subsys_state *subsys[8UL * sizeof(unsigned long )] ;
4952 struct rcu_head rcu_head ;
4953};
4954#line 31 "include/linux/irq.h"
4955struct seq_file;
4956#line 32
4957struct module;
4958#line 12 "include/linux/irqdesc.h"
4959struct proc_dir_entry;
4960#line 14
4961struct module;
4962#line 16 "include/linux/profile.h"
4963struct proc_dir_entry;
4964#line 17
4965struct pt_regs;
4966#line 18
4967struct notifier_block;
4968#line 65
4969struct task_struct;
4970#line 66
4971struct mm_struct;
4972#line 88
4973struct pt_regs;
4974#line 132 "include/linux/hardirq.h"
4975struct task_struct;
4976#line 21 "include/net/netprio_cgroup.h"
4977struct netprio_map {
4978 struct rcu_head rcu ;
4979 u32 priomap_len ;
4980 u32 priomap[] ;
4981};
4982#line 58 "include/linux/netdevice.h"
4983struct netpoll_info;
4984#line 58
4985struct netpoll_info;
4986#line 59
4987struct device;
4988#line 60
4989struct phy_device;
4990#line 60
4991struct phy_device;
4992#line 62
4993struct wireless_dev;
4994#line 62
4995struct wireless_dev;
4996#line 109
4997enum netdev_tx {
4998 __NETDEV_TX_MIN = (-0x7FFFFFFF-1),
4999 NETDEV_TX_OK = 0,
5000 NETDEV_TX_BUSY = 16,
5001 NETDEV_TX_LOCKED = 32
5002} ;
5003#line 115 "include/linux/netdevice.h"
5004typedef enum netdev_tx netdev_tx_t;
5005#line 172 "include/linux/netdevice.h"
5006struct net_device_stats {
5007 unsigned long rx_packets ;
5008 unsigned long tx_packets ;
5009 unsigned long rx_bytes ;
5010 unsigned long tx_bytes ;
5011 unsigned long rx_errors ;
5012 unsigned long tx_errors ;
5013 unsigned long rx_dropped ;
5014 unsigned long tx_dropped ;
5015 unsigned long multicast ;
5016 unsigned long collisions ;
5017 unsigned long rx_length_errors ;
5018 unsigned long rx_over_errors ;
5019 unsigned long rx_crc_errors ;
5020 unsigned long rx_frame_errors ;
5021 unsigned long rx_fifo_errors ;
5022 unsigned long rx_missed_errors ;
5023 unsigned long tx_aborted_errors ;
5024 unsigned long tx_carrier_errors ;
5025 unsigned long tx_fifo_errors ;
5026 unsigned long tx_heartbeat_errors ;
5027 unsigned long tx_window_errors ;
5028 unsigned long rx_compressed ;
5029 unsigned long tx_compressed ;
5030};
5031#line 222
5032struct neighbour;
5033#line 223
5034struct neigh_parms;
5035#line 223
5036struct neigh_parms;
5037#line 224
5038struct sk_buff;
5039#line 241 "include/linux/netdevice.h"
5040struct netdev_hw_addr_list {
5041 struct list_head list ;
5042 int count ;
5043};
5044#line 261 "include/linux/netdevice.h"
5045struct hh_cache {
5046 u16 hh_len ;
5047 u16 __pad ;
5048 seqlock_t hh_lock ;
5049 unsigned long hh_data[128UL / sizeof(long )] ;
5050};
5051#line 288 "include/linux/netdevice.h"
5052struct header_ops {
5053 int (*create)(struct sk_buff *skb , struct net_device *dev , unsigned short type ,
5054 void *daddr , void *saddr , unsigned int len ) ;
5055 int (*parse)(struct sk_buff *skb , unsigned char *haddr ) ;
5056 int (*rebuild)(struct sk_buff *skb ) ;
5057 int (*cache)(struct neighbour *neigh , struct hh_cache *hh , __be16 type ) ;
5058 void (*cache_update)(struct hh_cache *hh , struct net_device *dev , unsigned char *haddr ) ;
5059};
5060#line 410
5061enum rx_handler_result {
5062 RX_HANDLER_CONSUMED = 0,
5063 RX_HANDLER_ANOTHER = 1,
5064 RX_HANDLER_EXACT = 2,
5065 RX_HANDLER_PASS = 3
5066} ;
5067#line 416 "include/linux/netdevice.h"
5068typedef enum rx_handler_result rx_handler_result_t;
5069#line 417 "include/linux/netdevice.h"
5070typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **pskb );
5071#line 539
5072struct Qdisc;
5073#line 539 "include/linux/netdevice.h"
5074struct netdev_queue {
5075 struct net_device *dev ;
5076 struct Qdisc *qdisc ;
5077 struct Qdisc *qdisc_sleeping ;
5078 struct kobject kobj ;
5079 int numa_node ;
5080 spinlock_t _xmit_lock __attribute__((__aligned__((1) << (6) ))) ;
5081 int xmit_lock_owner ;
5082 unsigned long trans_start ;
5083 unsigned long trans_timeout ;
5084 unsigned long state ;
5085 struct dql dql ;
5086} __attribute__((__aligned__((1) << (6) ))) ;
5087#line 596 "include/linux/netdevice.h"
5088struct rps_map {
5089 unsigned int len ;
5090 struct rcu_head rcu ;
5091 u16 cpus[0] ;
5092};
5093#line 608 "include/linux/netdevice.h"
5094struct rps_dev_flow {
5095 u16 cpu ;
5096 u16 filter ;
5097 unsigned int last_qtail ;
5098};
5099#line 618 "include/linux/netdevice.h"
5100struct rps_dev_flow_table {
5101 unsigned int mask ;
5102 struct rcu_head rcu ;
5103 struct work_struct free_work ;
5104 struct rps_dev_flow flows[0] ;
5105};
5106#line 669 "include/linux/netdevice.h"
5107struct netdev_rx_queue {
5108 struct rps_map *rps_map ;
5109 struct rps_dev_flow_table *rps_flow_table ;
5110 struct kobject kobj ;
5111 struct net_device *dev ;
5112} __attribute__((__aligned__((1) << (6) ))) ;
5113#line 682 "include/linux/netdevice.h"
5114struct xps_map {
5115 unsigned int len ;
5116 unsigned int alloc_len ;
5117 struct rcu_head rcu ;
5118 u16 queues[0] ;
5119};
5120#line 695 "include/linux/netdevice.h"
5121struct xps_dev_maps {
5122 struct rcu_head rcu ;
5123 struct xps_map *cpu_map[0] ;
5124};
5125#line 706 "include/linux/netdevice.h"
5126struct netdev_tc_txq {
5127 u16 count ;
5128 u16 offset ;
5129};
5130#line 716 "include/linux/netdevice.h"
5131struct netdev_fcoe_hbainfo {
5132 char manufacturer[64] ;
5133 char serial_number[64] ;
5134 char hardware_version[64] ;
5135 char driver_version[64] ;
5136 char optionrom_version[64] ;
5137 char firmware_version[64] ;
5138 char model[256] ;
5139 char model_description[256] ;
5140};
5141#line 909 "include/linux/netdevice.h"
5142struct net_device_ops {
5143 int (*ndo_init)(struct net_device *dev ) ;
5144 void (*ndo_uninit)(struct net_device *dev ) ;
5145 int (*ndo_open)(struct net_device *dev ) ;
5146 int (*ndo_stop)(struct net_device *dev ) ;
5147 netdev_tx_t (*ndo_start_xmit)(struct sk_buff *skb , struct net_device *dev ) ;
5148 u16 (*ndo_select_queue)(struct net_device *dev , struct sk_buff *skb ) ;
5149 void (*ndo_change_rx_flags)(struct net_device *dev , int flags ) ;
5150 void (*ndo_set_rx_mode)(struct net_device *dev ) ;
5151 int (*ndo_set_mac_address)(struct net_device *dev , void *addr ) ;
5152 int (*ndo_validate_addr)(struct net_device *dev ) ;
5153 int (*ndo_do_ioctl)(struct net_device *dev , struct ifreq *ifr , int cmd ) ;
5154 int (*ndo_set_config)(struct net_device *dev , struct ifmap *map ) ;
5155 int (*ndo_change_mtu)(struct net_device *dev , int new_mtu ) ;
5156 int (*ndo_neigh_setup)(struct net_device *dev , struct neigh_parms * ) ;
5157 void (*ndo_tx_timeout)(struct net_device *dev ) ;
5158 struct rtnl_link_stats64 *(*ndo_get_stats64)(struct net_device *dev , struct rtnl_link_stats64 *storage ) ;
5159 struct net_device_stats *(*ndo_get_stats)(struct net_device *dev ) ;
5160 int (*ndo_vlan_rx_add_vid)(struct net_device *dev , unsigned short vid ) ;
5161 int (*ndo_vlan_rx_kill_vid)(struct net_device *dev , unsigned short vid ) ;
5162 void (*ndo_poll_controller)(struct net_device *dev ) ;
5163 int (*ndo_netpoll_setup)(struct net_device *dev , struct netpoll_info *info ) ;
5164 void (*ndo_netpoll_cleanup)(struct net_device *dev ) ;
5165 int (*ndo_set_vf_mac)(struct net_device *dev , int queue , u8 *mac ) ;
5166 int (*ndo_set_vf_vlan)(struct net_device *dev , int queue , u16 vlan , u8 qos ) ;
5167 int (*ndo_set_vf_tx_rate)(struct net_device *dev , int vf , int rate ) ;
5168 int (*ndo_set_vf_spoofchk)(struct net_device *dev , int vf , bool setting ) ;
5169 int (*ndo_get_vf_config)(struct net_device *dev , int vf , struct ifla_vf_info *ivf ) ;
5170 int (*ndo_set_vf_port)(struct net_device *dev , int vf , struct nlattr **port ) ;
5171 int (*ndo_get_vf_port)(struct net_device *dev , int vf , struct sk_buff *skb ) ;
5172 int (*ndo_setup_tc)(struct net_device *dev , u8 tc ) ;
5173 int (*ndo_fcoe_enable)(struct net_device *dev ) ;
5174 int (*ndo_fcoe_disable)(struct net_device *dev ) ;
5175 int (*ndo_fcoe_ddp_setup)(struct net_device *dev , u16 xid , struct scatterlist *sgl ,
5176 unsigned int sgc ) ;
5177 int (*ndo_fcoe_ddp_done)(struct net_device *dev , u16 xid ) ;
5178 int (*ndo_fcoe_ddp_target)(struct net_device *dev , u16 xid , struct scatterlist *sgl ,
5179 unsigned int sgc ) ;
5180 int (*ndo_fcoe_get_hbainfo)(struct net_device *dev , struct netdev_fcoe_hbainfo *hbainfo ) ;
5181 int (*ndo_fcoe_get_wwn)(struct net_device *dev , u64 *wwn , int type ) ;
5182 int (*ndo_rx_flow_steer)(struct net_device *dev , struct sk_buff *skb ,
5183 u16 rxq_index , u32 flow_id ) ;
5184 int (*ndo_add_slave)(struct net_device *dev , struct net_device *slave_dev ) ;
5185 int (*ndo_del_slave)(struct net_device *dev , struct net_device *slave_dev ) ;
5186 netdev_features_t (*ndo_fix_features)(struct net_device *dev , netdev_features_t features ) ;
5187 int (*ndo_set_features)(struct net_device *dev , netdev_features_t features ) ;
5188 int (*ndo_neigh_ruct)(struct neighbour *n ) ;
5189 void (*ndo_neigh_destroy)(struct neighbour *n ) ;
5190};
5191#line 1017
5192struct iw_handler_def;
5193#line 1017
5194struct iw_public_data;
5195#line 1017
5196struct vlan_info;
5197#line 1017
5198struct in_device;
5199#line 1017
5200struct dn_dev;
5201#line 1017
5202struct inet6_dev;
5203#line 1017
5204struct cpu_rmap;
5205#line 1017
5206enum __anonenum_reg_state_331 {
5207 NETREG_UNINITIALIZED = 0,
5208 NETREG_REGISTERED = 1,
5209 NETREG_UNREGISTERING = 2,
5210 NETREG_UNREGISTERED = 3,
5211 NETREG_RELEASED = 4,
5212 NETREG_DUMMY = 5
5213} ;
5214#line 1017
5215enum __anonenum_rtnl_link_state_332 {
5216 RTNL_LINK_INITIALIZED = 0,
5217 RTNL_LINK_INITIALIZING = 1
5218} ;
5219#line 1017
5220struct pcpu_lstats;
5221#line 1017
5222struct pcpu_tstats;
5223#line 1017
5224struct pcpu_dstats;
5225#line 1017 "include/linux/netdevice.h"
5226union __anonunion____missing_field_name_333 {
5227 void *ml_priv ;
5228 struct pcpu_lstats *lstats ;
5229 struct pcpu_tstats *tstats ;
5230 struct pcpu_dstats *dstats ;
5231};
5232#line 1017
5233struct garp_port;
5234#line 1017
5235struct rtnl_link_ops;
5236#line 1017 "include/linux/netdevice.h"
5237struct net_device {
5238 char name[16] ;
5239 struct pm_qos_request pm_qos_req ;
5240 struct hlist_node name_hlist ;
5241 char *ifalias ;
5242 unsigned long mem_end ;
5243 unsigned long mem_start ;
5244 unsigned long base_addr ;
5245 unsigned int irq ;
5246 unsigned long state ;
5247 struct list_head dev_list ;
5248 struct list_head napi_list ;
5249 struct list_head unreg_list ;
5250 netdev_features_t features ;
5251 netdev_features_t hw_features ;
5252 netdev_features_t wanted_features ;
5253 netdev_features_t vlan_features ;
5254 int ifindex ;
5255 int iflink ;
5256 struct net_device_stats stats ;
5257 atomic_long_t rx_dropped ;
5258 struct iw_handler_def *wireless_handlers ;
5259 struct iw_public_data *wireless_data ;
5260 struct net_device_ops *netdev_ops ;
5261 struct ethtool_ops *ethtool_ops ;
5262 struct header_ops *header_ops ;
5263 unsigned int flags ;
5264 unsigned int priv_flags ;
5265 unsigned short gflags ;
5266 unsigned short padded ;
5267 unsigned char operstate ;
5268 unsigned char link_mode ;
5269 unsigned char if_port ;
5270 unsigned char dma ;
5271 unsigned int mtu ;
5272 unsigned short type ;
5273 unsigned short hard_header_len ;
5274 unsigned short needed_headroom ;
5275 unsigned short needed_tailroom ;
5276 unsigned char perm_addr[32] ;
5277 unsigned char addr_assign_type ;
5278 unsigned char addr_len ;
5279 unsigned char neigh_priv_len ;
5280 unsigned short dev_id ;
5281 spinlock_t addr_list_lock ;
5282 struct netdev_hw_addr_list uc ;
5283 struct netdev_hw_addr_list mc ;
5284 bool uc_promisc ;
5285 unsigned int promiscuity ;
5286 unsigned int allmulti ;
5287 struct vlan_info *vlan_info ;
5288 struct dsa_switch_tree *dsa_ptr ;
5289 void *atalk_ptr ;
5290 struct in_device *ip_ptr ;
5291 struct dn_dev *dn_ptr ;
5292 struct inet6_dev *ip6_ptr ;
5293 void *ec_ptr ;
5294 void *ax25_ptr ;
5295 struct wireless_dev *ieee80211_ptr ;
5296 unsigned long last_rx ;
5297 struct net_device *master ;
5298 unsigned char *dev_addr ;
5299 struct netdev_hw_addr_list dev_addrs ;
5300 unsigned char broadcast[32] ;
5301 struct kset *queues_kset ;
5302 struct netdev_rx_queue *_rx ;
5303 unsigned int num_rx_queues ;
5304 unsigned int real_num_rx_queues ;
5305 struct cpu_rmap *rx_cpu_rmap ;
5306 rx_handler_func_t *rx_handler ;
5307 void *rx_handler_data ;
5308 struct netdev_queue *ingress_queue ;
5309 struct netdev_queue *_tx __attribute__((__aligned__((1) << (6) ))) ;
5310 unsigned int num_tx_queues ;
5311 unsigned int real_num_tx_queues ;
5312 struct Qdisc *qdisc ;
5313 unsigned long tx_queue_len ;
5314 spinlock_t tx_global_lock ;
5315 struct xps_dev_maps *xps_maps ;
5316 unsigned long trans_start ;
5317 int watchdog_timeo ;
5318 struct timer_list watchdog_timer ;
5319 int *pcpu_refcnt ;
5320 struct list_head todo_list ;
5321 struct hlist_node index_hlist ;
5322 struct list_head link_watch_list ;
5323 enum __anonenum_reg_state_331 reg_state : 8 ;
5324 bool dismantle ;
5325 enum __anonenum_rtnl_link_state_332 rtnl_link_state : 16 ;
5326 void (*destructor)(struct net_device *dev ) ;
5327 struct netpoll_info *npinfo ;
5328 struct net *nd_net ;
5329 union __anonunion____missing_field_name_333 __annonCompField52 ;
5330 struct garp_port *garp_port ;
5331 struct device dev ;
5332 struct attribute_group *sysfs_groups[4] ;
5333 struct rtnl_link_ops *rtnl_link_ops ;
5334 unsigned int gso_max_size ;
5335 struct dcbnl_rtnl_ops *dcbnl_ops ;
5336 u8 num_tc ;
5337 struct netdev_tc_txq tc_to_txq[16] ;
5338 u8 prio_tc_map[16] ;
5339 unsigned int fcoe_ddp_xid ;
5340 struct netprio_map *priomap ;
5341 struct phy_device *phydev ;
5342 int group ;
5343};
5344#line 219 "include/linux/mod_devicetable.h"
5345struct of_device_id {
5346 char name[32] ;
5347 char type[32] ;
5348 char compatible[128] ;
5349 void *data ;
5350};
5351#line 533 "include/linux/mod_devicetable.h"
5352struct mdio_device_id {
5353 __u32 phy_id ;
5354 __u32 phy_id_mask ;
5355};
5356#line 54 "include/linux/phy.h"
5357enum __anonenum_phy_interface_t_336 {
5358 PHY_INTERFACE_MODE_NA = 0,
5359 PHY_INTERFACE_MODE_MII = 1,
5360 PHY_INTERFACE_MODE_GMII = 2,
5361 PHY_INTERFACE_MODE_SGMII = 3,
5362 PHY_INTERFACE_MODE_TBI = 4,
5363 PHY_INTERFACE_MODE_RMII = 5,
5364 PHY_INTERFACE_MODE_RGMII = 6,
5365 PHY_INTERFACE_MODE_RGMII_ID = 7,
5366 PHY_INTERFACE_MODE_RGMII_RXID = 8,
5367 PHY_INTERFACE_MODE_RGMII_TXID = 9,
5368 PHY_INTERFACE_MODE_RTBI = 10,
5369 PHY_INTERFACE_MODE_SMII = 11
5370} ;
5371#line 54 "include/linux/phy.h"
5372typedef enum __anonenum_phy_interface_t_336 phy_interface_t;
5373#line 90
5374struct device;
5375#line 91
5376struct sk_buff;
5377#line 97
5378enum __anonenum_state_337 {
5379 MDIOBUS_ALLOCATED = 1,
5380 MDIOBUS_REGISTERED = 2,
5381 MDIOBUS_UNREGISTERED = 3,
5382 MDIOBUS_RELEASED = 4
5383} ;
5384#line 97 "include/linux/phy.h"
5385struct mii_bus {
5386 char *name ;
5387 char id[17] ;
5388 void *priv ;
5389 int (*read)(struct mii_bus *bus , int phy_id , int regnum ) ;
5390 int (*write)(struct mii_bus *bus , int phy_id , int regnum , u16 val ) ;
5391 int (*reset)(struct mii_bus *bus ) ;
5392 struct mutex mdio_lock ;
5393 struct device *parent ;
5394 enum __anonenum_state_337 state ;
5395 struct device dev ;
5396 struct phy_device *phy_map[32] ;
5397 u32 phy_mask ;
5398 int *irq ;
5399};
5400#line 231
5401enum phy_state {
5402 PHY_DOWN = 0,
5403 PHY_STARTING = 1,
5404 PHY_READY = 2,
5405 PHY_PENDING = 3,
5406 PHY_UP = 4,
5407 PHY_AN = 5,
5408 PHY_RUNNING = 6,
5409 PHY_NOLINK = 7,
5410 PHY_FORCING = 8,
5411 PHY_CHANGELINK = 9,
5412 PHY_HALTED = 10,
5413 PHY_RESUMING = 11
5414} ;
5415#line 277
5416struct phy_driver;
5417#line 277 "include/linux/phy.h"
5418struct phy_device {
5419 struct phy_driver *drv ;
5420 struct mii_bus *bus ;
5421 struct device dev ;
5422 u32 phy_id ;
5423 enum phy_state state ;
5424 u32 dev_flags ;
5425 phy_interface_t interface ;
5426 int addr ;
5427 int speed ;
5428 int duplex ;
5429 int pause ;
5430 int asym_pause ;
5431 int link ;
5432 u32 interrupts ;
5433 u32 supported ;
5434 u32 advertising ;
5435 int autoneg ;
5436 int link_timeout ;
5437 int irq ;
5438 void *priv ;
5439 struct work_struct phy_queue ;
5440 struct delayed_work state_queue ;
5441 atomic_t irq_disable ;
5442 struct mutex lock ;
5443 struct net_device *attached_dev ;
5444 void (*adjust_link)(struct net_device *dev ) ;
5445 void (*adjust_state)(struct net_device *dev ) ;
5446};
5447#line 366 "include/linux/phy.h"
5448struct phy_driver {
5449 u32 phy_id ;
5450 char *name ;
5451 unsigned int phy_id_mask ;
5452 u32 features ;
5453 u32 flags ;
5454 int (*config_init)(struct phy_device *phydev ) ;
5455 int (*probe)(struct phy_device *phydev ) ;
5456 int (*suspend)(struct phy_device *phydev ) ;
5457 int (*resume)(struct phy_device *phydev ) ;
5458 int (*config_aneg)(struct phy_device *phydev ) ;
5459 int (*read_status)(struct phy_device *phydev ) ;
5460 int (*ack_interrupt)(struct phy_device *phydev ) ;
5461 int (*config_intr)(struct phy_device *phydev ) ;
5462 int (*did_interrupt)(struct phy_device *phydev ) ;
5463 void (*remove)(struct phy_device *phydev ) ;
5464 int (*hwtstamp)(struct phy_device *phydev , struct ifreq *ifr ) ;
5465 bool (*rxtstamp)(struct phy_device *dev , struct sk_buff *skb , int type ) ;
5466 void (*txtstamp)(struct phy_device *dev , struct sk_buff *skb , int type ) ;
5467 struct device_driver driver ;
5468};
5469#line 77 "include/linux/if_vlan.h"
5470struct vlan_info;
5471#line 85 "include/linux/ip.h"
5472struct iphdr {
5473 __u8 ihl : 4 ;
5474 __u8 version : 4 ;
5475 __u8 tos ;
5476 __be16 tot_len ;
5477 __be16 id ;
5478 __be16 frag_off ;
5479 __u8 ttl ;
5480 __u8 protocol ;
5481 __sum16 check ;
5482 __be32 saddr ;
5483 __be32 daddr ;
5484};
5485#line 135 "include/linux/filter.h"
5486struct sk_buff;
5487#line 136
5488struct sock;
5489#line 41 "include/linux/ptp_clock.h"
5490struct ptp_clock_time {
5491 __s64 sec ;
5492 __u32 nsec ;
5493 __u32 reserved ;
5494};
5495#line 56 "include/linux/ptp_clock.h"
5496struct ptp_extts_request {
5497 unsigned int index ;
5498 unsigned int flags ;
5499 unsigned int rsv[2] ;
5500};
5501#line 62 "include/linux/ptp_clock.h"
5502struct ptp_perout_request {
5503 struct ptp_clock_time start ;
5504 struct ptp_clock_time period ;
5505 unsigned int index ;
5506 unsigned int flags ;
5507 unsigned int rsv[4] ;
5508};
5509#line 27 "include/linux/ptp_clock_kernel.h"
5510enum __anonenum_type_353 {
5511 PTP_CLK_REQ_EXTTS = 0,
5512 PTP_CLK_REQ_PEROUT = 1,
5513 PTP_CLK_REQ_PPS = 2
5514} ;
5515#line 27 "include/linux/ptp_clock_kernel.h"
5516union __anonunion____missing_field_name_354 {
5517 struct ptp_extts_request extts ;
5518 struct ptp_perout_request perout ;
5519};
5520#line 27 "include/linux/ptp_clock_kernel.h"
5521struct ptp_clock_request {
5522 enum __anonenum_type_353 type ;
5523 union __anonunion____missing_field_name_354 __annonCompField53 ;
5524};
5525#line 74 "include/linux/ptp_clock_kernel.h"
5526struct ptp_clock_info {
5527 struct module *owner ;
5528 char name[16] ;
5529 s32 max_adj ;
5530 int n_alarm ;
5531 int n_ext_ts ;
5532 int n_per_out ;
5533 int pps ;
5534 int (*adjfreq)(struct ptp_clock_info *ptp , s32 delta ) ;
5535 int (*adjtime)(struct ptp_clock_info *ptp , s64 delta ) ;
5536 int (*gettime)(struct ptp_clock_info *ptp , struct timespec *ts ) ;
5537 int (*settime)(struct ptp_clock_info *ptp , struct timespec *ts ) ;
5538 int (*enable)(struct ptp_clock_info *ptp , struct ptp_clock_request *request ,
5539 int on ) ;
5540};
5541#line 90
5542struct ptp_clock;
5543#line 90
5544struct ptp_clock;
5545#line 123 "include/linux/ptp_clock_kernel.h"
5546struct ptp_clock_event {
5547 int type ;
5548 int index ;
5549 u64 timestamp ;
5550};
5551#line 60 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
5552struct phy_rxts {
5553 u16 ns_lo ;
5554 u16 ns_hi ;
5555 u16 sec_lo ;
5556 u16 sec_hi ;
5557 u16 seqid ;
5558 u16 msgtype ;
5559};
5560#line 69 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
5561struct phy_txts {
5562 u16 ns_lo ;
5563 u16 ns_hi ;
5564 u16 sec_lo ;
5565 u16 sec_hi ;
5566};
5567#line 76 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
5568struct rxts {
5569 struct list_head list ;
5570 unsigned long tmo ;
5571 u64 ns ;
5572 u16 seqid ;
5573 u8 msgtype ;
5574 u16 hash ;
5575};
5576#line 85
5577struct dp83640_clock;
5578#line 85
5579struct dp83640_clock;
5580#line 87 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
5581struct dp83640_private {
5582 struct list_head list ;
5583 struct dp83640_clock *clock ;
5584 struct phy_device *phydev ;
5585 struct work_struct ts_work ;
5586 int hwts_tx_en ;
5587 int hwts_rx_en ;
5588 int layer ;
5589 int version ;
5590 int cfg0 ;
5591 struct phy_txts edata ;
5592 struct list_head rxts ;
5593 struct list_head rxpool ;
5594 struct rxts rx_pool_data[64] ;
5595 spinlock_t rx_lock ;
5596 struct sk_buff_head rx_queue ;
5597 struct sk_buff_head tx_queue ;
5598};
5599#line 111 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
5600struct dp83640_clock {
5601 struct list_head list ;
5602 struct mii_bus *bus ;
5603 struct mutex extreg_lock ;
5604 int page ;
5605 struct ptp_clock_info caps ;
5606 struct mutex clock_lock ;
5607 struct dp83640_private *chosen ;
5608 struct list_head phylist ;
5609 struct ptp_clock *ptp_clock ;
5610};
5611#line 152 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
5612struct __anonstruct_358 {
5613 int : 0 ;
5614};
5615#line 1 "<compiler builtins>"
5616
5617#line 1
5618long __builtin_expect(long val , long res ) ;
5619#line 46 "include/linux/swab.h"
5620__inline static __u16 __fswab16(__u16 val ) __attribute__((__no_instrument_function__)) ;
5621
5622#line 46 "include/linux/swab.h"
5623__inline static __u16 __fswab16(__u16 val )
5624{ int __cil_tmp2 ;
5625 int __cil_tmp3 ;
5626 int __cil_tmp4 ;
5627 int __cil_tmp5 ;
5628 int __cil_tmp6 ;
5629 int __cil_tmp7 ;
5630 int __cil_tmp8 ;
5631
5632 {
5633 {
5634#line 51
5635 __cil_tmp2 = (int )val;
5636#line 51
5637 __cil_tmp3 = __cil_tmp2 & 65280;
5638#line 51
5639 __cil_tmp4 = __cil_tmp3 >> 8;
5640#line 51
5641 __cil_tmp5 = (int )val;
5642#line 51
5643 __cil_tmp6 = __cil_tmp5 & 255;
5644#line 51
5645 __cil_tmp7 = __cil_tmp6 << 8;
5646#line 51
5647 __cil_tmp8 = __cil_tmp7 | __cil_tmp4;
5648#line 51
5649 return ((__u16 )__cil_tmp8);
5650 }
5651}
5652}
5653#line 100 "include/linux/printk.h"
5654extern int ( printk)(char *fmt , ...) ;
5655#line 44 "include/linux/dynamic_debug.h"
5656extern int ( __dynamic_pr_debug)(struct _ddebug *descriptor ,
5657 char *fmt , ...) ;
5658#line 147 "include/linux/kernel.h"
5659extern void __might_sleep(char *file , int line , int preempt_offset ) ;
5660#line 194
5661__inline static void might_fault(void) __attribute__((__no_instrument_function__)) ;
5662#line 194 "include/linux/kernel.h"
5663__inline static void might_fault(void)
5664{
5665
5666 {
5667 {
5668#line 196
5669 while (1) {
5670 while_continue: ;
5671 {
5672#line 196
5673 __might_sleep("include/linux/kernel.h", 196, 0);
5674 }
5675 {
5676#line 196
5677 while (1) {
5678 while_continue___0: ;
5679#line 196
5680 goto while_break___0;
5681 }
5682 while_break___0: ;
5683 }
5684#line 196
5685 goto while_break;
5686 }
5687 while_break: ;
5688 }
5689#line 197
5690 return;
5691}
5692}
5693#line 320
5694extern int ( sprintf)(char *buf , char *fmt , ...) ;
5695#line 55 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/string_64.h"
5696extern void *memset(void *s , int c , size_t n ) ;
5697#line 60
5698extern int memcmp(void *cs , void *ct , unsigned long count ) ;
5699#line 64 "include/asm-generic/bug.h"
5700extern void ( warn_slowpath_fmt)(char *file , int line ,
5701 char *fmt , ...) ;
5702#line 17 "include/linux/math64.h"
5703__inline static u64 div_u64_rem(u64 dividend , u32 divisor , u32 *remainder ) __attribute__((__no_instrument_function__)) ;
5704#line 17 "include/linux/math64.h"
5705__inline static u64 div_u64_rem(u64 dividend , u32 divisor , u32 *remainder )
5706{ unsigned long long __cil_tmp4 ;
5707 unsigned long long __cil_tmp5 ;
5708 u64 __cil_tmp6 ;
5709
5710 {
5711#line 19
5712 __cil_tmp4 = (unsigned long long )divisor;
5713#line 19
5714 __cil_tmp5 = dividend % __cil_tmp4;
5715#line 19
5716 *remainder = (u32 )__cil_tmp5;
5717 {
5718#line 20
5719 __cil_tmp6 = (u64 )divisor;
5720#line 20
5721 return (dividend / __cil_tmp6);
5722 }
5723}
5724}
5725#line 82
5726__inline static u64 div_u64(u64 dividend , u32 divisor ) __attribute__((__no_instrument_function__)) ;
5727#line 82 "include/linux/math64.h"
5728__inline static u64 div_u64(u64 dividend , u32 divisor )
5729{ u32 remainder ;
5730 u64 tmp ;
5731
5732 {
5733 {
5734#line 85
5735 tmp = div_u64_rem(dividend, divisor, & remainder);
5736 }
5737#line 85
5738 return (tmp);
5739}
5740}
5741#line 27 "include/linux/err.h"
5742__inline static long __attribute__((__warn_unused_result__)) PTR_ERR(void *ptr ) __attribute__((__no_instrument_function__)) ;
5743#line 27 "include/linux/err.h"
5744__inline static long __attribute__((__warn_unused_result__)) PTR_ERR(void *ptr )
5745{
5746
5747 {
5748#line 29
5749 return ((long )ptr);
5750}
5751}
5752#line 32
5753__inline static long __attribute__((__warn_unused_result__)) IS_ERR(void *ptr ) __attribute__((__no_instrument_function__)) ;
5754#line 32 "include/linux/err.h"
5755__inline static long __attribute__((__warn_unused_result__)) IS_ERR(void *ptr )
5756{ long tmp ;
5757 unsigned long __cil_tmp3 ;
5758 int __cil_tmp4 ;
5759 int __cil_tmp5 ;
5760 int __cil_tmp6 ;
5761 long __cil_tmp7 ;
5762
5763 {
5764 {
5765#line 34
5766 __cil_tmp3 = (unsigned long )ptr;
5767#line 34
5768 __cil_tmp4 = __cil_tmp3 >= 0xfffffffffffff001UL;
5769#line 34
5770 __cil_tmp5 = ! __cil_tmp4;
5771#line 34
5772 __cil_tmp6 = ! __cil_tmp5;
5773#line 34
5774 __cil_tmp7 = (long )__cil_tmp6;
5775#line 34
5776 tmp = __builtin_expect(__cil_tmp7, 0L);
5777 }
5778#line 34
5779 return (tmp);
5780}
5781}
5782#line 24 "include/linux/list.h"
5783__inline static void INIT_LIST_HEAD(struct list_head *list ) __attribute__((__no_instrument_function__)) ;
5784#line 24 "include/linux/list.h"
5785__inline static void INIT_LIST_HEAD(struct list_head *list )
5786{ unsigned long __cil_tmp2 ;
5787 unsigned long __cil_tmp3 ;
5788
5789 {
5790#line 26
5791 *((struct list_head **)list) = list;
5792#line 27
5793 __cil_tmp2 = (unsigned long )list;
5794#line 27
5795 __cil_tmp3 = __cil_tmp2 + 8;
5796#line 27
5797 *((struct list_head **)__cil_tmp3) = list;
5798#line 28
5799 return;
5800}
5801}
5802#line 47
5803extern void __list_add(struct list_head *new , struct list_head *prev , struct list_head *next ) ;
5804#line 60
5805__inline static void list_add(struct list_head *new , struct list_head *head ) __attribute__((__no_instrument_function__)) ;
5806#line 60 "include/linux/list.h"
5807__inline static void list_add(struct list_head *new , struct list_head *head )
5808{ struct list_head *__cil_tmp3 ;
5809
5810 {
5811 {
5812#line 62
5813 __cil_tmp3 = *((struct list_head **)head);
5814#line 62
5815 __list_add(new, head, __cil_tmp3);
5816 }
5817#line 63
5818 return;
5819}
5820}
5821#line 74
5822__inline static void list_add_tail(struct list_head *new , struct list_head *head ) __attribute__((__no_instrument_function__)) ;
5823#line 74 "include/linux/list.h"
5824__inline static void list_add_tail(struct list_head *new , struct list_head *head )
5825{ unsigned long __cil_tmp3 ;
5826 unsigned long __cil_tmp4 ;
5827 struct list_head *__cil_tmp5 ;
5828
5829 {
5830 {
5831#line 76
5832 __cil_tmp3 = (unsigned long )head;
5833#line 76
5834 __cil_tmp4 = __cil_tmp3 + 8;
5835#line 76
5836 __cil_tmp5 = *((struct list_head **)__cil_tmp4);
5837#line 76
5838 __list_add(new, __cil_tmp5, head);
5839 }
5840#line 77
5841 return;
5842}
5843}
5844#line 111
5845extern void __list_del_entry(struct list_head *entry ) ;
5846#line 112
5847extern void list_del(struct list_head *entry ) ;
5848#line 142
5849__inline static void list_del_init(struct list_head *entry ) __attribute__((__no_instrument_function__)) ;
5850#line 142 "include/linux/list.h"
5851__inline static void list_del_init(struct list_head *entry )
5852{
5853
5854 {
5855 {
5856#line 144
5857 __list_del_entry(entry);
5858#line 145
5859 INIT_LIST_HEAD(entry);
5860 }
5861#line 146
5862 return;
5863}
5864}
5865#line 186
5866__inline static int list_empty(struct list_head *head ) __attribute__((__no_instrument_function__)) ;
5867#line 186 "include/linux/list.h"
5868__inline static int list_empty(struct list_head *head )
5869{ unsigned long __cil_tmp2 ;
5870 struct list_head * __cil_tmp3 ;
5871 unsigned long __cil_tmp4 ;
5872
5873 {
5874 {
5875#line 188
5876 __cil_tmp2 = (unsigned long )head;
5877#line 188
5878 __cil_tmp3 = *((struct list_head * *)head);
5879#line 188
5880 __cil_tmp4 = (unsigned long )__cil_tmp3;
5881#line 188
5882 return (__cil_tmp4 == __cil_tmp2);
5883 }
5884}
5885}
5886#line 93 "include/linux/spinlock.h"
5887extern void __raw_spin_lock_init(raw_spinlock_t *lock , char *name , struct lock_class_key *key ) ;
5888#line 32 "include/linux/spinlock_api_smp.h"
5889extern unsigned long _raw_spin_lock_irqsave(raw_spinlock_t *lock ) __attribute__((__section__(".spinlock.text"))) ;
5890#line 42
5891extern void _raw_spin_unlock_irqrestore(raw_spinlock_t *lock , unsigned long flags ) __attribute__((__section__(".spinlock.text"))) ;
5892#line 272 "include/linux/spinlock.h"
5893__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock ) __attribute__((__no_instrument_function__)) ;
5894#line 272 "include/linux/spinlock.h"
5895__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock )
5896{
5897
5898 {
5899#line 274
5900 return ((struct raw_spinlock *)lock);
5901}
5902}
5903#line 338
5904__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags ) __attribute__((__no_instrument_function__)) ;
5905#line 338 "include/linux/spinlock.h"
5906__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags )
5907{ struct raw_spinlock *__cil_tmp5 ;
5908
5909 {
5910 {
5911#line 340
5912 while (1) {
5913 while_continue: ;
5914 {
5915#line 340
5916 __cil_tmp5 = (struct raw_spinlock *)lock;
5917#line 340
5918 _raw_spin_unlock_irqrestore(__cil_tmp5, flags);
5919 }
5920#line 340
5921 goto while_break;
5922 }
5923 while_break: ;
5924 }
5925#line 341
5926 return;
5927}
5928}
5929#line 235 "include/linux/time.h"
5930extern struct timespec ns_to_timespec(s64 nsec ) ;
5931#line 21 "include/linux/mutex-debug.h"
5932extern void mutex_destroy(struct mutex *lock ) ;
5933#line 115 "include/linux/mutex.h"
5934extern void __mutex_init(struct mutex *lock , char *name , struct lock_class_key *key ) ;
5935#line 152
5936void mutex_lock(struct mutex *lock ) ;
5937#line 153
5938int __attribute__((__warn_unused_result__)) mutex_lock_interruptible(struct mutex *lock ) ;
5939#line 154
5940int __attribute__((__warn_unused_result__)) mutex_lock_killable(struct mutex *lock ) ;
5941#line 168
5942int mutex_trylock(struct mutex *lock ) ;
5943#line 169
5944void mutex_unlock(struct mutex *lock ) ;
5945#line 170
5946int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock ) ;
5947#line 82 "include/linux/jiffies.h"
5948extern unsigned long volatile jiffies __attribute__((__section__(".data"))) ;
5949#line 338 "include/linux/ktime.h"
5950__inline static ktime_t ns_to_ktime(u64 ns ) __attribute__((__no_instrument_function__)) ;
5951#line 338 "include/linux/ktime.h"
5952static union ktime ktime_zero = {(s64 )0};
5953#line 336
5954__inline static ktime_t ns_to_ktime(u64 ns ) __attribute__((__no_instrument_function__)) ;
5955#line 336 "include/linux/ktime.h"
5956__inline static ktime_t ns_to_ktime(u64 ns )
5957{ ktime_t __r_expr_0 ;
5958 u64 __cil_tmp3 ;
5959 u64 __cil_tmp4 ;
5960
5961 {
5962#line 339
5963 __cil_tmp3 = (u64 )ktime_zero.tv64;
5964#line 339
5965 __cil_tmp4 = __cil_tmp3 + ns;
5966#line 339
5967 __r_expr_0.tv64 = (s64 )__cil_tmp4;
5968#line 339
5969 return (__r_expr_0);
5970}
5971}
5972#line 156 "include/linux/workqueue.h"
5973extern void __init_work(struct work_struct *work , int onstack ) ;
5974#line 380
5975extern int schedule_work(struct work_struct *work ) ;
5976#line 392
5977extern bool cancel_work_sync(struct work_struct *work ) ;
5978#line 161 "include/linux/slab.h"
5979extern void kfree(void * ) ;
5980#line 221 "include/linux/slub_def.h"
5981extern void *__kmalloc(size_t size , gfp_t flags ) ;
5982#line 268
5983__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
5984 gfp_t flags ) __attribute__((__no_instrument_function__)) ;
5985#line 268 "include/linux/slub_def.h"
5986__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
5987 gfp_t flags )
5988{ void *tmp___10 ;
5989
5990 {
5991 {
5992#line 283
5993 tmp___10 = __kmalloc(size, flags);
5994 }
5995#line 283
5996 return (tmp___10);
5997}
5998}
5999#line 349 "include/linux/slab.h"
6000__inline static void *kzalloc(size_t size , gfp_t flags ) __attribute__((__no_instrument_function__)) ;
6001#line 349 "include/linux/slab.h"
6002__inline static void *kzalloc(size_t size , gfp_t flags )
6003{ void *tmp___7 ;
6004 unsigned int __cil_tmp4 ;
6005
6006 {
6007 {
6008#line 351
6009 __cil_tmp4 = flags | 32768U;
6010#line 351
6011 tmp___7 = kmalloc(size, __cil_tmp4);
6012 }
6013#line 351
6014 return (tmp___7);
6015}
6016}
6017#line 39 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess_64.h"
6018extern unsigned long __attribute__((__warn_unused_result__)) _copy_to_user(void *to ,
6019 void *from ,
6020 unsigned int len ) ;
6021#line 41
6022extern unsigned long __attribute__((__warn_unused_result__)) _copy_from_user(void *to ,
6023 void *from ,
6024 unsigned int len ) ;
6025#line 46
6026__inline static unsigned long __attribute__((__warn_unused_result__)) copy_from_user(void *to ,
6027 void *from ,
6028 unsigned long n ) __attribute__((__no_instrument_function__)) ;
6029#line 46 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess_64.h"
6030__inline static unsigned long __attribute__((__warn_unused_result__)) copy_from_user(void *to ,
6031 void *from ,
6032 unsigned long n )
6033{ int sz ;
6034 unsigned long tmp___7 ;
6035 int __ret_warn_on ;
6036 long tmp___8 ;
6037 int tmp___9 ;
6038 long tmp___10 ;
6039 unsigned long __cil_tmp10 ;
6040 long __cil_tmp11 ;
6041 unsigned int __cil_tmp12 ;
6042 int __cil_tmp13 ;
6043 int __cil_tmp14 ;
6044 long __cil_tmp15 ;
6045 int __cil_tmp16 ;
6046 int __cil_tmp17 ;
6047 int __cil_tmp18 ;
6048 long __cil_tmp19 ;
6049
6050 {
6051 {
6052#line 50
6053 tmp___7 = __builtin_object_size(to, 0);
6054#line 50
6055 sz = (int )tmp___7;
6056#line 52
6057 might_fault();
6058 }
6059#line 53
6060 if (sz == -1) {
6061#line 53
6062 tmp___9 = 1;
6063 } else {
6064 {
6065#line 53
6066 __cil_tmp10 = (unsigned long )sz;
6067#line 53
6068 if (__cil_tmp10 >= n) {
6069#line 53
6070 tmp___9 = 1;
6071 } else {
6072#line 53
6073 tmp___9 = 0;
6074 }
6075 }
6076 }
6077 {
6078#line 53
6079 __cil_tmp11 = (long )tmp___9;
6080#line 53
6081 tmp___10 = __builtin_expect(__cil_tmp11, 1L);
6082 }
6083#line 53
6084 if (tmp___10) {
6085 {
6086#line 54
6087 __cil_tmp12 = (unsigned int )n;
6088#line 54
6089 n = (unsigned long )_copy_from_user(to, from, __cil_tmp12);
6090 }
6091 } else {
6092 {
6093#line 57
6094 __ret_warn_on = 1;
6095#line 57
6096 __cil_tmp13 = ! __ret_warn_on;
6097#line 57
6098 __cil_tmp14 = ! __cil_tmp13;
6099#line 57
6100 __cil_tmp15 = (long )__cil_tmp14;
6101#line 57
6102 tmp___8 = __builtin_expect(__cil_tmp15, 0L);
6103 }
6104#line 57
6105 if (tmp___8) {
6106 {
6107#line 57
6108 __cil_tmp16 = (int )57;
6109#line 57
6110 warn_slowpath_fmt("/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess_64.h",
6111 __cil_tmp16, "Buffer overflow detected!\n");
6112 }
6113 } else {
6114
6115 }
6116 {
6117#line 57
6118 __cil_tmp17 = ! __ret_warn_on;
6119#line 57
6120 __cil_tmp18 = ! __cil_tmp17;
6121#line 57
6122 __cil_tmp19 = (long )__cil_tmp18;
6123#line 57
6124 __builtin_expect(__cil_tmp19, 0L);
6125 }
6126 }
6127#line 59
6128 return (n);
6129}
6130}
6131#line 62
6132__inline static int __attribute__((__warn_unused_result__)) ( __attribute__((__always_inline__)) copy_to_user)(void *dst ,
6133 void *src ,
6134 unsigned int size ) __attribute__((__no_instrument_function__)) ;
6135#line 62 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess_64.h"
6136__inline static int __attribute__((__warn_unused_result__)) ( __attribute__((__always_inline__)) copy_to_user)(void *dst ,
6137 void *src ,
6138 unsigned int size )
6139{ unsigned long tmp___7 ;
6140
6141 {
6142 {
6143#line 65
6144 might_fault();
6145#line 67
6146 tmp___7 = (unsigned long )_copy_to_user(dst, src, size);
6147 }
6148#line 67
6149 return ((int )tmp___7);
6150}
6151}
6152#line 855 "include/linux/device.h"
6153extern struct device *get_device(struct device *dev ) ;
6154#line 856
6155extern void put_device(struct device *dev ) ;
6156#line 560 "include/linux/skbuff.h"
6157extern void kfree_skb(struct sk_buff *skb ) ;
6158#line 642
6159__inline static unsigned char *skb_end_pointer(struct sk_buff *skb ) __attribute__((__no_instrument_function__)) ;
6160#line 642 "include/linux/skbuff.h"
6161__inline static unsigned char *skb_end_pointer(struct sk_buff *skb )
6162{ unsigned long __cil_tmp2 ;
6163 unsigned long __cil_tmp3 ;
6164 sk_buff_data_t __cil_tmp4 ;
6165 unsigned long __cil_tmp5 ;
6166 unsigned long __cil_tmp6 ;
6167 unsigned char * __cil_tmp7 ;
6168 unsigned char * __cil_tmp8 ;
6169
6170 {
6171 {
6172#line 644
6173 __cil_tmp2 = (unsigned long )skb;
6174#line 644
6175 __cil_tmp3 = __cil_tmp2 + 208;
6176#line 644
6177 __cil_tmp4 = *((sk_buff_data_t *)__cil_tmp3);
6178#line 644
6179 __cil_tmp5 = (unsigned long )skb;
6180#line 644
6181 __cil_tmp6 = __cil_tmp5 + 216;
6182#line 644
6183 __cil_tmp7 = *((unsigned char * *)__cil_tmp6);
6184#line 644
6185 __cil_tmp8 = __cil_tmp7 + __cil_tmp4;
6186#line 644
6187 return ((unsigned char *)__cil_tmp8);
6188 }
6189}
6190}
6191#line 656
6192__inline static struct skb_shared_hwtstamps *skb_hwtstamps(struct sk_buff *skb ) __attribute__((__no_instrument_function__)) ;
6193#line 656 "include/linux/skbuff.h"
6194__inline static struct skb_shared_hwtstamps *skb_hwtstamps(struct sk_buff *skb )
6195{ unsigned char *tmp___7 ;
6196 struct sk_buff *__cil_tmp3 ;
6197 struct skb_shared_info *__cil_tmp4 ;
6198 unsigned long __cil_tmp5 ;
6199 unsigned long __cil_tmp6 ;
6200
6201 {
6202 {
6203#line 658
6204 __cil_tmp3 = (struct sk_buff *)skb;
6205#line 658
6206 tmp___7 = skb_end_pointer(__cil_tmp3);
6207 }
6208 {
6209#line 658
6210 __cil_tmp4 = (struct skb_shared_info *)tmp___7;
6211#line 658
6212 __cil_tmp5 = (unsigned long )__cil_tmp4;
6213#line 658
6214 __cil_tmp6 = __cil_tmp5 + 16;
6215#line 658
6216 return ((struct skb_shared_hwtstamps *)__cil_tmp6);
6217 }
6218}
6219}
6220#line 950
6221__inline static void __skb_queue_head_init(struct sk_buff_head *list ) __attribute__((__no_instrument_function__)) ;
6222#line 950 "include/linux/skbuff.h"
6223__inline static void __skb_queue_head_init(struct sk_buff_head *list )
6224{ struct sk_buff *tmp___7 ;
6225 unsigned long __cil_tmp3 ;
6226 unsigned long __cil_tmp4 ;
6227 unsigned long __cil_tmp5 ;
6228 unsigned long __cil_tmp6 ;
6229
6230 {
6231#line 952
6232 tmp___7 = (struct sk_buff *)list;
6233#line 952
6234 *((struct sk_buff **)list) = tmp___7;
6235#line 952
6236 __cil_tmp3 = (unsigned long )list;
6237#line 952
6238 __cil_tmp4 = __cil_tmp3 + 8;
6239#line 952
6240 *((struct sk_buff **)__cil_tmp4) = tmp___7;
6241#line 953
6242 __cil_tmp5 = (unsigned long )list;
6243#line 953
6244 __cil_tmp6 = __cil_tmp5 + 16;
6245#line 953
6246 *((__u32 *)__cil_tmp6) = (__u32 )0;
6247#line 954
6248 return;
6249}
6250}
6251#line 966 "include/linux/skbuff.h"
6252static struct lock_class_key __key___4 ;
6253#line 964
6254__inline static void skb_queue_head_init(struct sk_buff_head *list ) __attribute__((__no_instrument_function__)) ;
6255#line 964 "include/linux/skbuff.h"
6256__inline static void skb_queue_head_init(struct sk_buff_head *list )
6257{ unsigned long __cil_tmp2 ;
6258 unsigned long __cil_tmp3 ;
6259 spinlock_t *__cil_tmp4 ;
6260 unsigned long __cil_tmp5 ;
6261 unsigned long __cil_tmp6 ;
6262 struct raw_spinlock *__cil_tmp7 ;
6263
6264 {
6265 {
6266#line 966
6267 while (1) {
6268 while_continue: ;
6269 {
6270#line 966
6271 __cil_tmp2 = (unsigned long )list;
6272#line 966
6273 __cil_tmp3 = __cil_tmp2 + 24;
6274#line 966
6275 __cil_tmp4 = (spinlock_t *)__cil_tmp3;
6276#line 966
6277 spinlock_check(__cil_tmp4);
6278 }
6279 {
6280#line 966
6281 while (1) {
6282 while_continue___0: ;
6283 {
6284#line 966
6285 __cil_tmp5 = (unsigned long )list;
6286#line 966
6287 __cil_tmp6 = __cil_tmp5 + 24;
6288#line 966
6289 __cil_tmp7 = (struct raw_spinlock *)__cil_tmp6;
6290#line 966
6291 __raw_spin_lock_init(__cil_tmp7, "&(&list->lock)->rlock", & __key___4);
6292 }
6293#line 966
6294 goto while_break___0;
6295 }
6296 while_break___0: ;
6297 }
6298#line 966
6299 goto while_break;
6300 }
6301 while_break: ;
6302 }
6303 {
6304#line 967
6305 __skb_queue_head_init(list);
6306 }
6307#line 968
6308 return;
6309}
6310}
6311#line 1126
6312extern void skb_queue_tail(struct sk_buff_head *list , struct sk_buff *newsk ) ;
6313#line 1158
6314extern struct sk_buff *skb_dequeue(struct sk_buff_head *list ) ;
6315#line 1190
6316__inline static unsigned int skb_headlen(struct sk_buff *skb ) __attribute__((__no_instrument_function__)) ;
6317#line 1190 "include/linux/skbuff.h"
6318__inline static unsigned int skb_headlen(struct sk_buff *skb )
6319{ unsigned long __cil_tmp2 ;
6320 unsigned long __cil_tmp3 ;
6321 unsigned int __cil_tmp4 ;
6322 unsigned long __cil_tmp5 ;
6323 unsigned long __cil_tmp6 ;
6324 unsigned int __cil_tmp7 ;
6325 unsigned int __cil_tmp8 ;
6326
6327 {
6328 {
6329#line 1192
6330 __cil_tmp2 = (unsigned long )skb;
6331#line 1192
6332 __cil_tmp3 = __cil_tmp2 + 108;
6333#line 1192
6334 __cil_tmp4 = *((unsigned int *)__cil_tmp3);
6335#line 1192
6336 __cil_tmp5 = (unsigned long )skb;
6337#line 1192
6338 __cil_tmp6 = __cil_tmp5 + 104;
6339#line 1192
6340 __cil_tmp7 = *((unsigned int *)__cil_tmp6);
6341#line 1192
6342 __cil_tmp8 = __cil_tmp7 - __cil_tmp4;
6343#line 1192
6344 return ((unsigned int )__cil_tmp8);
6345 }
6346}
6347}
6348#line 1435
6349__inline static unsigned char *skb_mac_header(struct sk_buff *skb ) __attribute__((__no_instrument_function__)) ;
6350#line 1435 "include/linux/skbuff.h"
6351__inline static unsigned char *skb_mac_header(struct sk_buff *skb )
6352{ unsigned long __cil_tmp2 ;
6353 unsigned long __cil_tmp3 ;
6354 sk_buff_data_t __cil_tmp4 ;
6355 unsigned long __cil_tmp5 ;
6356 unsigned long __cil_tmp6 ;
6357 unsigned char * __cil_tmp7 ;
6358 unsigned char * __cil_tmp8 ;
6359
6360 {
6361 {
6362#line 1437
6363 __cil_tmp2 = (unsigned long )skb;
6364#line 1437
6365 __cil_tmp3 = __cil_tmp2 + 200;
6366#line 1437
6367 __cil_tmp4 = *((sk_buff_data_t *)__cil_tmp3);
6368#line 1437
6369 __cil_tmp5 = (unsigned long )skb;
6370#line 1437
6371 __cil_tmp6 = __cil_tmp5 + 216;
6372#line 1437
6373 __cil_tmp7 = *((unsigned char * *)__cil_tmp6);
6374#line 1437
6375 __cil_tmp8 = __cil_tmp7 + __cil_tmp4;
6376#line 1437
6377 return ((unsigned char *)__cil_tmp8);
6378 }
6379}
6380}
6381#line 2267
6382extern void skb_complete_tx_timestamp(struct sk_buff *skb , struct skb_shared_hwtstamps *hwtstamps ) ;
6383#line 136 "include/linux/if_ether.h"
6384__inline static struct ethhdr *eth_hdr(struct sk_buff *skb ) __attribute__((__no_instrument_function__)) ;
6385#line 136 "include/linux/if_ether.h"
6386__inline static struct ethhdr *eth_hdr(struct sk_buff *skb )
6387{ unsigned char *tmp___7 ;
6388
6389 {
6390 {
6391#line 138
6392 tmp___7 = skb_mac_header(skb);
6393 }
6394#line 138
6395 return ((struct ethhdr *)tmp___7);
6396}
6397}
6398#line 351 "include/linux/moduleparam.h"
6399extern struct kernel_param_ops param_ops_ushort ;
6400#line 356
6401extern struct kernel_param_ops param_ops_int ;
6402#line 437
6403extern struct kernel_param_ops param_array_ops ;
6404#line 26 "include/linux/export.h"
6405extern struct module __this_module ;
6406#line 67 "include/linux/module.h"
6407int init_module(void) ;
6408#line 68
6409void cleanup_module(void) ;
6410#line 2109 "include/linux/netdevice.h"
6411extern int netif_rx_ni(struct sk_buff *skb ) ;
6412#line 2547
6413extern int dev_mc_add(struct net_device *dev , unsigned char *addr ) ;
6414#line 2549
6415extern int dev_mc_del(struct net_device *dev , unsigned char *addr ) ;
6416#line 144 "include/linux/phy.h"
6417extern int mdiobus_read(struct mii_bus *bus , int addr , u32 regnum ) ;
6418#line 145
6419extern int mdiobus_write(struct mii_bus *bus , int addr , u32 regnum , u16 val ) ;
6420#line 460
6421__inline static int phy_read(struct phy_device *phydev , u32 regnum ) __attribute__((__no_instrument_function__)) ;
6422#line 460 "include/linux/phy.h"
6423__inline static int phy_read(struct phy_device *phydev , u32 regnum )
6424{ int tmp___7 ;
6425 unsigned long __cil_tmp4 ;
6426 unsigned long __cil_tmp5 ;
6427 struct mii_bus *__cil_tmp6 ;
6428 unsigned long __cil_tmp7 ;
6429 unsigned long __cil_tmp8 ;
6430 int __cil_tmp9 ;
6431
6432 {
6433 {
6434#line 462
6435 __cil_tmp4 = (unsigned long )phydev;
6436#line 462
6437 __cil_tmp5 = __cil_tmp4 + 8;
6438#line 462
6439 __cil_tmp6 = *((struct mii_bus **)__cil_tmp5);
6440#line 462
6441 __cil_tmp7 = (unsigned long )phydev;
6442#line 462
6443 __cil_tmp8 = __cil_tmp7 + 800;
6444#line 462
6445 __cil_tmp9 = *((int *)__cil_tmp8);
6446#line 462
6447 tmp___7 = mdiobus_read(__cil_tmp6, __cil_tmp9, regnum);
6448 }
6449#line 462
6450 return (tmp___7);
6451}
6452}
6453#line 475
6454__inline static int phy_write(struct phy_device *phydev , u32 regnum , u16 val ) __attribute__((__no_instrument_function__)) ;
6455#line 475 "include/linux/phy.h"
6456__inline static int phy_write(struct phy_device *phydev , u32 regnum , u16 val )
6457{ int tmp___7 ;
6458 unsigned long __cil_tmp5 ;
6459 unsigned long __cil_tmp6 ;
6460 struct mii_bus *__cil_tmp7 ;
6461 unsigned long __cil_tmp8 ;
6462 unsigned long __cil_tmp9 ;
6463 int __cil_tmp10 ;
6464
6465 {
6466 {
6467#line 477
6468 __cil_tmp5 = (unsigned long )phydev;
6469#line 477
6470 __cil_tmp6 = __cil_tmp5 + 8;
6471#line 477
6472 __cil_tmp7 = *((struct mii_bus **)__cil_tmp6);
6473#line 477
6474 __cil_tmp8 = (unsigned long )phydev;
6475#line 477
6476 __cil_tmp9 = __cil_tmp8 + 800;
6477#line 477
6478 __cil_tmp10 = *((int *)__cil_tmp9);
6479#line 477
6480 tmp___7 = mdiobus_write(__cil_tmp7, __cil_tmp10, regnum, val);
6481 }
6482#line 477
6483 return (tmp___7);
6484}
6485}
6486#line 506
6487extern int genphy_config_aneg(struct phy_device *phydev ) ;
6488#line 508
6489extern int genphy_read_status(struct phy_device *phydev ) ;
6490#line 511
6491extern void phy_driver_unregister(struct phy_driver *drv ) ;
6492#line 512
6493extern int phy_driver_register(struct phy_driver *new_driver ) ;
6494#line 98 "include/linux/ptp_clock_kernel.h"
6495extern struct ptp_clock *ptp_clock_register(struct ptp_clock_info *info ) ;
6496#line 106
6497extern int ptp_clock_unregister(struct ptp_clock *ptp ) ;
6498#line 136
6499extern void ptp_clock_event(struct ptp_clock *ptp , struct ptp_clock_event *event ) ;
6500#line 146 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6501static int chosen_phy = -1;
6502#line 147 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6503static ushort gpio_tab[8] =
6504#line 147
6505 { (ushort )1, (ushort )2, (ushort )3, (ushort )4,
6506 (ushort )8, (ushort )9, (ushort )10, (ushort )11};
6507#line 151 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6508static char __param_str_chosen_phy[11] =
6509#line 151
6510 { (char )'c', (char )'h', (char const )'o', (char const )'s',
6511 (char )'e', (char )'n', (char const )'_', (char const )'p',
6512 (char )'h', (char )'y', (char const )'\000'};
6513#line 151 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6514static struct kernel_param __param_chosen_phy __attribute__((__used__, __unused__,
6515__section__("__param"), __aligned__(sizeof(void *)))) = {__param_str_chosen_phy, (struct kernel_param_ops *)(& param_ops_int),
6516 (u16 )292, (s16 )0, {(void *)(& chosen_phy)}};
6517#line 151 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6518static char __mod_chosen_phytype151[24] __attribute__((__used__, __unused__,
6519__section__(".modinfo"), __aligned__(1))) =
6520#line 151
6521 { (char )'p', (char )'a', (char const )'r', (char const )'m',
6522 (char )'t', (char )'y', (char const )'p', (char const )'e',
6523 (char )'=', (char )'c', (char const )'h', (char const )'o',
6524 (char )'s', (char )'e', (char const )'n', (char const )'_',
6525 (char )'p', (char )'h', (char const )'y', (char const )':',
6526 (char )'i', (char )'n', (char const )'t', (char const )'\000'};
6527#line 152 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6528static struct kparam_array __param_arr_gpio_tab = {(unsigned int )(sizeof(gpio_tab) / sizeof(gpio_tab[0]) + sizeof(struct __anonstruct_358 )),
6529 (unsigned int )sizeof(gpio_tab[0]), (unsigned int *)((void *)0), (struct kernel_param_ops *)(& param_ops_ushort),
6530 (void *)(gpio_tab)};
6531#line 152 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6532static char __param_str_gpio_tab[9] =
6533#line 152
6534 { (char )'g', (char )'p', (char const )'i', (char const )'o',
6535 (char )'_', (char )'t', (char const )'a', (char const )'b',
6536 (char )'\000'};
6537#line 152 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6538static struct kernel_param __param_gpio_tab __attribute__((__used__, __unused__,
6539__section__("__param"), __aligned__(sizeof(void *)))) = {__param_str_gpio_tab, (struct kernel_param_ops *)(& param_array_ops),
6540 (u16 )292, (s16 )0, {.arr = & __param_arr_gpio_tab}};
6541#line 152 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6542static char __mod_gpio_tabtype152[34] __attribute__((__used__, __unused__,
6543__section__(".modinfo"), __aligned__(1))) =
6544#line 152
6545 { (char )'p', (char )'a', (char const )'r', (char const )'m',
6546 (char )'t', (char )'y', (char const )'p', (char const )'e',
6547 (char )'=', (char )'g', (char const )'p', (char const )'i',
6548 (char )'o', (char )'_', (char const )'t', (char const )'a',
6549 (char )'b', (char )':', (char const )'a', (char const )'r',
6550 (char )'r', (char )'a', (char const )'y', (char const )' ',
6551 (char )'o', (char )'f', (char const )' ', (char const )'u',
6552 (char )'s', (char )'h', (char const )'o', (char const )'r',
6553 (char )'t', (char )'\000'};
6554#line 154 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6555static char __mod_chosen_phy155[79] __attribute__((__used__, __unused__,
6556__section__(".modinfo"), __aligned__(1))) =
6557#line 154
6558 { (char )'p', (char )'a', (char const )'r', (char const )'m',
6559 (char )'=', (char )'c', (char const )'h', (char const )'o',
6560 (char )'s', (char )'e', (char const )'n', (char const )'_',
6561 (char )'p', (char )'h', (char const )'y', (char const )':',
6562 (char )'T', (char )'h', (char const )'e', (char const )' ',
6563 (char )'a', (char )'d', (char const )'d', (char const )'r',
6564 (char )'e', (char )'s', (char const )'s', (char const )' ',
6565 (char )'o', (char )'f', (char const )' ', (char const )'t',
6566 (char )'h', (char )'e', (char const )' ', (char const )'P',
6567 (char )'H', (char )'Y', (char const )' ', (char const )'t',
6568 (char )'o', (char )' ', (char const )'u', (char const )'s',
6569 (char )'e', (char )' ', (char const )'f', (char const )'o',
6570 (char )'r', (char )' ', (char const )'t', (char const )'h',
6571 (char )'e', (char )' ', (char const )'a', (char const )'n',
6572 (char )'c', (char )'i', (char const )'l', (char const )'l',
6573 (char )'a', (char )'r', (char const )'y', (char const )' ',
6574 (char )'c', (char )'l', (char const )'o', (char const )'c',
6575 (char )'k', (char )' ', (char const )'f', (char const )'e',
6576 (char )'a', (char )'t', (char const )'u', (char const )'r',
6577 (char )'e', (char )'s', (char const )'\000'};
6578#line 156 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6579static char __mod_gpio_tab157[85] __attribute__((__used__, __unused__, __section__(".modinfo"),
6580__aligned__(1))) =
6581#line 156
6582 { (char )'p', (char )'a', (char const )'r', (char const )'m',
6583 (char )'=', (char )'g', (char const )'p', (char const )'i',
6584 (char )'o', (char )'_', (char const )'t', (char const )'a',
6585 (char )'b', (char )':', (char const )'W', (char const )'h',
6586 (char )'i', (char )'c', (char const )'h', (char const )' ',
6587 (char )'G', (char )'P', (char const )'I', (char const )'O',
6588 (char )' ', (char )'l', (char const )'i', (char const )'n',
6589 (char )'e', (char )' ', (char const )'t', (char const )'o',
6590 (char )' ', (char )'u', (char const )'s', (char const )'e',
6591 (char )' ', (char )'f', (char const )'o', (char const )'r',
6592 (char )' ', (char )'w', (char const )'h', (char const )'i',
6593 (char )'c', (char )'h', (char const )' ', (char const )'p',
6594 (char )'u', (char )'r', (char const )'p', (char const )'o',
6595 (char )'s', (char )'e', (char const )':', (char const )' ',
6596 (char )'c', (char )'a', (char const )'l', (char const )',',
6597 (char )'p', (char )'e', (char const )'r', (char const )'o',
6598 (char )'u', (char )'t', (char const )',', (char const )'e',
6599 (char )'x', (char )'t', (char const )'t', (char const )'s',
6600 (char )'1', (char )',', (char const )'.', (char const )'.',
6601 (char )'.', (char )',', (char const )'e', (char const )'x',
6602 (char )'t', (char )'t', (char const )'s', (char const )'6',
6603 (char )'\000'};
6604#line 160 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6605static struct list_head phyter_clocks = {& phyter_clocks, & phyter_clocks};
6606#line 161 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6607static struct mutex phyter_clocks_lock = {{1}, {{{{{(__ticketpair_t )0}}, 3735899821U, 4294967295U, (void *)-1L}}}, {& phyter_clocks_lock.wait_list,
6608 & phyter_clocks_lock.wait_list},
6609 (struct task_struct *)0, (char *)0, (void *)(& phyter_clocks_lock)};
6610#line 163
6611static void rx_timestamp_work(struct work_struct *work ) ;
6612#line 169
6613__inline static int broadcast_write(struct mii_bus *bus , u32 regnum , u16 val ) __attribute__((__no_instrument_function__)) ;
6614#line 169 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6615__inline static int broadcast_write(struct mii_bus *bus , u32 regnum , u16 val )
6616{ int tmp___7 ;
6617
6618 {
6619 {
6620#line 171
6621 tmp___7 = mdiobus_write(bus, 31, regnum, val);
6622 }
6623#line 171
6624 return (tmp___7);
6625}
6626}
6627#line 175 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6628static int ext_read(struct phy_device *phydev , int page , u32 regnum )
6629{ struct dp83640_private *dp83640 ;
6630 int val ;
6631 unsigned long __cil_tmp6 ;
6632 unsigned long __cil_tmp7 ;
6633 void *__cil_tmp8 ;
6634 unsigned long __cil_tmp9 ;
6635 unsigned long __cil_tmp10 ;
6636 struct dp83640_clock *__cil_tmp11 ;
6637 unsigned long __cil_tmp12 ;
6638 unsigned long __cil_tmp13 ;
6639 int __cil_tmp14 ;
6640 unsigned long __cil_tmp15 ;
6641 unsigned long __cil_tmp16 ;
6642 struct mii_bus *__cil_tmp17 ;
6643 u32 __cil_tmp18 ;
6644 u16 __cil_tmp19 ;
6645 unsigned long __cil_tmp20 ;
6646 unsigned long __cil_tmp21 ;
6647 struct dp83640_clock *__cil_tmp22 ;
6648 unsigned long __cil_tmp23 ;
6649 unsigned long __cil_tmp24 ;
6650
6651 {
6652#line 177
6653 __cil_tmp6 = (unsigned long )phydev;
6654#line 177
6655 __cil_tmp7 = __cil_tmp6 + 848;
6656#line 177
6657 __cil_tmp8 = *((void **)__cil_tmp7);
6658#line 177
6659 dp83640 = (struct dp83640_private *)__cil_tmp8;
6660 {
6661#line 180
6662 __cil_tmp9 = (unsigned long )dp83640;
6663#line 180
6664 __cil_tmp10 = __cil_tmp9 + 16;
6665#line 180
6666 __cil_tmp11 = *((struct dp83640_clock **)__cil_tmp10);
6667#line 180
6668 __cil_tmp12 = (unsigned long )__cil_tmp11;
6669#line 180
6670 __cil_tmp13 = __cil_tmp12 + 96;
6671#line 180
6672 __cil_tmp14 = *((int *)__cil_tmp13);
6673#line 180
6674 if (__cil_tmp14 != page) {
6675 {
6676#line 181
6677 __cil_tmp15 = (unsigned long )phydev;
6678#line 181
6679 __cil_tmp16 = __cil_tmp15 + 8;
6680#line 181
6681 __cil_tmp17 = *((struct mii_bus **)__cil_tmp16);
6682#line 181
6683 __cil_tmp18 = (u32 )19;
6684#line 181
6685 __cil_tmp19 = (u16 )page;
6686#line 181
6687 broadcast_write(__cil_tmp17, __cil_tmp18, __cil_tmp19);
6688#line 182
6689 __cil_tmp20 = (unsigned long )dp83640;
6690#line 182
6691 __cil_tmp21 = __cil_tmp20 + 16;
6692#line 182
6693 __cil_tmp22 = *((struct dp83640_clock **)__cil_tmp21);
6694#line 182
6695 __cil_tmp23 = (unsigned long )__cil_tmp22;
6696#line 182
6697 __cil_tmp24 = __cil_tmp23 + 96;
6698#line 182
6699 *((int *)__cil_tmp24) = page;
6700 }
6701 } else {
6702
6703 }
6704 }
6705 {
6706#line 184
6707 val = phy_read(phydev, regnum);
6708 }
6709#line 186
6710 return (val);
6711}
6712}
6713#line 190 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6714static void ext_write(int broadcast , struct phy_device *phydev , int page , u32 regnum ,
6715 u16 val )
6716{ struct dp83640_private *dp83640 ;
6717 unsigned long __cil_tmp7 ;
6718 unsigned long __cil_tmp8 ;
6719 void *__cil_tmp9 ;
6720 unsigned long __cil_tmp10 ;
6721 unsigned long __cil_tmp11 ;
6722 struct dp83640_clock *__cil_tmp12 ;
6723 unsigned long __cil_tmp13 ;
6724 unsigned long __cil_tmp14 ;
6725 int __cil_tmp15 ;
6726 unsigned long __cil_tmp16 ;
6727 unsigned long __cil_tmp17 ;
6728 struct mii_bus *__cil_tmp18 ;
6729 u32 __cil_tmp19 ;
6730 u16 __cil_tmp20 ;
6731 unsigned long __cil_tmp21 ;
6732 unsigned long __cil_tmp22 ;
6733 struct dp83640_clock *__cil_tmp23 ;
6734 unsigned long __cil_tmp24 ;
6735 unsigned long __cil_tmp25 ;
6736 unsigned long __cil_tmp26 ;
6737 unsigned long __cil_tmp27 ;
6738 struct mii_bus *__cil_tmp28 ;
6739
6740 {
6741#line 193
6742 __cil_tmp7 = (unsigned long )phydev;
6743#line 193
6744 __cil_tmp8 = __cil_tmp7 + 848;
6745#line 193
6746 __cil_tmp9 = *((void **)__cil_tmp8);
6747#line 193
6748 dp83640 = (struct dp83640_private *)__cil_tmp9;
6749 {
6750#line 195
6751 __cil_tmp10 = (unsigned long )dp83640;
6752#line 195
6753 __cil_tmp11 = __cil_tmp10 + 16;
6754#line 195
6755 __cil_tmp12 = *((struct dp83640_clock **)__cil_tmp11);
6756#line 195
6757 __cil_tmp13 = (unsigned long )__cil_tmp12;
6758#line 195
6759 __cil_tmp14 = __cil_tmp13 + 96;
6760#line 195
6761 __cil_tmp15 = *((int *)__cil_tmp14);
6762#line 195
6763 if (__cil_tmp15 != page) {
6764 {
6765#line 196
6766 __cil_tmp16 = (unsigned long )phydev;
6767#line 196
6768 __cil_tmp17 = __cil_tmp16 + 8;
6769#line 196
6770 __cil_tmp18 = *((struct mii_bus **)__cil_tmp17);
6771#line 196
6772 __cil_tmp19 = (u32 )19;
6773#line 196
6774 __cil_tmp20 = (u16 )page;
6775#line 196
6776 broadcast_write(__cil_tmp18, __cil_tmp19, __cil_tmp20);
6777#line 197
6778 __cil_tmp21 = (unsigned long )dp83640;
6779#line 197
6780 __cil_tmp22 = __cil_tmp21 + 16;
6781#line 197
6782 __cil_tmp23 = *((struct dp83640_clock **)__cil_tmp22);
6783#line 197
6784 __cil_tmp24 = (unsigned long )__cil_tmp23;
6785#line 197
6786 __cil_tmp25 = __cil_tmp24 + 96;
6787#line 197
6788 *((int *)__cil_tmp25) = page;
6789 }
6790 } else {
6791
6792 }
6793 }
6794#line 199
6795 if (broadcast) {
6796 {
6797#line 200
6798 __cil_tmp26 = (unsigned long )phydev;
6799#line 200
6800 __cil_tmp27 = __cil_tmp26 + 8;
6801#line 200
6802 __cil_tmp28 = *((struct mii_bus **)__cil_tmp27);
6803#line 200
6804 broadcast_write(__cil_tmp28, regnum, val);
6805 }
6806 } else {
6807 {
6808#line 202
6809 phy_write(phydev, regnum, val);
6810 }
6811 }
6812#line 203
6813 return;
6814}
6815}
6816#line 206 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6817static int tdr_write(int bc , struct phy_device *dev , struct timespec *ts ,
6818 u16 cmd )
6819{ u32 __cil_tmp5 ;
6820 unsigned long __cil_tmp6 ;
6821 unsigned long __cil_tmp7 ;
6822 long __cil_tmp8 ;
6823 long __cil_tmp9 ;
6824 u16 __cil_tmp10 ;
6825 u32 __cil_tmp11 ;
6826 unsigned long __cil_tmp12 ;
6827 unsigned long __cil_tmp13 ;
6828 long __cil_tmp14 ;
6829 long __cil_tmp15 ;
6830 u16 __cil_tmp16 ;
6831 u32 __cil_tmp17 ;
6832 __kernel_time_t __cil_tmp18 ;
6833 long __cil_tmp19 ;
6834 u16 __cil_tmp20 ;
6835 u32 __cil_tmp21 ;
6836 __kernel_time_t __cil_tmp22 ;
6837 __kernel_time_t __cil_tmp23 ;
6838 u16 __cil_tmp24 ;
6839 u32 __cil_tmp25 ;
6840
6841 {
6842 {
6843#line 209
6844 __cil_tmp5 = (u32 )21;
6845#line 209
6846 __cil_tmp6 = (unsigned long )ts;
6847#line 209
6848 __cil_tmp7 = __cil_tmp6 + 8;
6849#line 209
6850 __cil_tmp8 = *((long *)__cil_tmp7);
6851#line 209
6852 __cil_tmp9 = __cil_tmp8 & 65535L;
6853#line 209
6854 __cil_tmp10 = (u16 )__cil_tmp9;
6855#line 209
6856 ext_write(bc, dev, 4, __cil_tmp5, __cil_tmp10);
6857#line 210
6858 __cil_tmp11 = (u32 )21;
6859#line 210
6860 __cil_tmp12 = (unsigned long )ts;
6861#line 210
6862 __cil_tmp13 = __cil_tmp12 + 8;
6863#line 210
6864 __cil_tmp14 = *((long *)__cil_tmp13);
6865#line 210
6866 __cil_tmp15 = __cil_tmp14 >> 16;
6867#line 210
6868 __cil_tmp16 = (u16 )__cil_tmp15;
6869#line 210
6870 ext_write(bc, dev, 4, __cil_tmp11, __cil_tmp16);
6871#line 211
6872 __cil_tmp17 = (u32 )21;
6873#line 211
6874 __cil_tmp18 = *((__kernel_time_t *)ts);
6875#line 211
6876 __cil_tmp19 = __cil_tmp18 & 65535L;
6877#line 211
6878 __cil_tmp20 = (u16 )__cil_tmp19;
6879#line 211
6880 ext_write(bc, dev, 4, __cil_tmp17, __cil_tmp20);
6881#line 212
6882 __cil_tmp21 = (u32 )21;
6883#line 212
6884 __cil_tmp22 = *((__kernel_time_t *)ts);
6885#line 212
6886 __cil_tmp23 = __cil_tmp22 >> 16;
6887#line 212
6888 __cil_tmp24 = (u16 )__cil_tmp23;
6889#line 212
6890 ext_write(bc, dev, 4, __cil_tmp21, __cil_tmp24);
6891#line 214
6892 __cil_tmp25 = (u32 )20;
6893#line 214
6894 ext_write(bc, dev, 4, __cil_tmp25, cmd);
6895 }
6896#line 216
6897 return (0);
6898}
6899}
6900#line 221 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
6901static void phy2rxts(struct phy_rxts *p , struct rxts *rxts )
6902{ u32 sec ;
6903 unsigned long __cil_tmp4 ;
6904 unsigned long __cil_tmp5 ;
6905 u16 __cil_tmp6 ;
6906 unsigned long __cil_tmp7 ;
6907 unsigned long __cil_tmp8 ;
6908 u16 __cil_tmp9 ;
6909 int __cil_tmp10 ;
6910 int __cil_tmp11 ;
6911 unsigned int __cil_tmp12 ;
6912 unsigned long __cil_tmp13 ;
6913 unsigned long __cil_tmp14 ;
6914 u16 __cil_tmp15 ;
6915 unsigned long __cil_tmp16 ;
6916 unsigned long __cil_tmp17 ;
6917 unsigned long __cil_tmp18 ;
6918 unsigned long __cil_tmp19 ;
6919 u16 __cil_tmp20 ;
6920 int __cil_tmp21 ;
6921 int __cil_tmp22 ;
6922 int __cil_tmp23 ;
6923 unsigned long long __cil_tmp24 ;
6924 unsigned long __cil_tmp25 ;
6925 unsigned long __cil_tmp26 ;
6926 u64 __cil_tmp27 ;
6927 unsigned long __cil_tmp28 ;
6928 unsigned long __cil_tmp29 ;
6929 u64 __cil_tmp30 ;
6930 u64 __cil_tmp31 ;
6931 unsigned long __cil_tmp32 ;
6932 unsigned long __cil_tmp33 ;
6933 u64 __cil_tmp34 ;
6934 unsigned long __cil_tmp35 ;
6935 unsigned long __cil_tmp36 ;
6936 unsigned long __cil_tmp37 ;
6937 unsigned long __cil_tmp38 ;
6938 unsigned long __cil_tmp39 ;
6939 unsigned long __cil_tmp40 ;
6940 unsigned long __cil_tmp41 ;
6941 unsigned long __cil_tmp42 ;
6942 u16 __cil_tmp43 ;
6943 int __cil_tmp44 ;
6944 int __cil_tmp45 ;
6945 int __cil_tmp46 ;
6946 unsigned long __cil_tmp47 ;
6947 unsigned long __cil_tmp48 ;
6948 unsigned long __cil_tmp49 ;
6949 unsigned long __cil_tmp50 ;
6950 u16 __cil_tmp51 ;
6951 int __cil_tmp52 ;
6952 int __cil_tmp53 ;
6953 unsigned long __cil_tmp54 ;
6954 unsigned long __cil_tmp55 ;
6955 unsigned long volatile __cil_tmp56 ;
6956 unsigned long volatile __cil_tmp57 ;
6957
6958 {
6959#line 225
6960 __cil_tmp4 = (unsigned long )p;
6961#line 225
6962 __cil_tmp5 = __cil_tmp4 + 4;
6963#line 225
6964 __cil_tmp6 = *((u16 *)__cil_tmp5);
6965#line 225
6966 sec = (u32 )__cil_tmp6;
6967#line 226
6968 __cil_tmp7 = (unsigned long )p;
6969#line 226
6970 __cil_tmp8 = __cil_tmp7 + 6;
6971#line 226
6972 __cil_tmp9 = *((u16 *)__cil_tmp8);
6973#line 226
6974 __cil_tmp10 = (int )__cil_tmp9;
6975#line 226
6976 __cil_tmp11 = __cil_tmp10 << 16;
6977#line 226
6978 __cil_tmp12 = (unsigned int )__cil_tmp11;
6979#line 226
6980 sec = sec | __cil_tmp12;
6981#line 228
6982 __cil_tmp13 = (unsigned long )rxts;
6983#line 228
6984 __cil_tmp14 = __cil_tmp13 + 24;
6985#line 228
6986 __cil_tmp15 = *((u16 *)p);
6987#line 228
6988 *((u64 *)__cil_tmp14) = (u64 )__cil_tmp15;
6989#line 229
6990 __cil_tmp16 = (unsigned long )rxts;
6991#line 229
6992 __cil_tmp17 = __cil_tmp16 + 24;
6993#line 229
6994 __cil_tmp18 = (unsigned long )p;
6995#line 229
6996 __cil_tmp19 = __cil_tmp18 + 2;
6997#line 229
6998 __cil_tmp20 = *((u16 *)__cil_tmp19);
6999#line 229
7000 __cil_tmp21 = (int )__cil_tmp20;
7001#line 229
7002 __cil_tmp22 = __cil_tmp21 & 16383;
7003#line 229
7004 __cil_tmp23 = __cil_tmp22 << 16;
7005#line 229
7006 __cil_tmp24 = (unsigned long long )__cil_tmp23;
7007#line 229
7008 __cil_tmp25 = (unsigned long )rxts;
7009#line 229
7010 __cil_tmp26 = __cil_tmp25 + 24;
7011#line 229
7012 __cil_tmp27 = *((u64 *)__cil_tmp26);
7013#line 229
7014 *((u64 *)__cil_tmp17) = __cil_tmp27 | __cil_tmp24;
7015#line 230
7016 __cil_tmp28 = (unsigned long )rxts;
7017#line 230
7018 __cil_tmp29 = __cil_tmp28 + 24;
7019#line 230
7020 __cil_tmp30 = (u64 )sec;
7021#line 230
7022 __cil_tmp31 = __cil_tmp30 * 1000000000ULL;
7023#line 230
7024 __cil_tmp32 = (unsigned long )rxts;
7025#line 230
7026 __cil_tmp33 = __cil_tmp32 + 24;
7027#line 230
7028 __cil_tmp34 = *((u64 *)__cil_tmp33);
7029#line 230
7030 *((u64 *)__cil_tmp29) = __cil_tmp34 + __cil_tmp31;
7031#line 231
7032 __cil_tmp35 = (unsigned long )rxts;
7033#line 231
7034 __cil_tmp36 = __cil_tmp35 + 32;
7035#line 231
7036 __cil_tmp37 = (unsigned long )p;
7037#line 231
7038 __cil_tmp38 = __cil_tmp37 + 8;
7039#line 231
7040 *((u16 *)__cil_tmp36) = *((u16 *)__cil_tmp38);
7041#line 232
7042 __cil_tmp39 = (unsigned long )rxts;
7043#line 232
7044 __cil_tmp40 = __cil_tmp39 + 34;
7045#line 232
7046 __cil_tmp41 = (unsigned long )p;
7047#line 232
7048 __cil_tmp42 = __cil_tmp41 + 10;
7049#line 232
7050 __cil_tmp43 = *((u16 *)__cil_tmp42);
7051#line 232
7052 __cil_tmp44 = (int )__cil_tmp43;
7053#line 232
7054 __cil_tmp45 = __cil_tmp44 >> 12;
7055#line 232
7056 __cil_tmp46 = __cil_tmp45 & 15;
7057#line 232
7058 *((u8 *)__cil_tmp40) = (u8 )__cil_tmp46;
7059#line 233
7060 __cil_tmp47 = (unsigned long )rxts;
7061#line 233
7062 __cil_tmp48 = __cil_tmp47 + 36;
7063#line 233
7064 __cil_tmp49 = (unsigned long )p;
7065#line 233
7066 __cil_tmp50 = __cil_tmp49 + 10;
7067#line 233
7068 __cil_tmp51 = *((u16 *)__cil_tmp50);
7069#line 233
7070 __cil_tmp52 = (int )__cil_tmp51;
7071#line 233
7072 __cil_tmp53 = __cil_tmp52 & 4095;
7073#line 233
7074 *((u16 *)__cil_tmp48) = (u16 )__cil_tmp53;
7075#line 234
7076 __cil_tmp54 = (unsigned long )rxts;
7077#line 234
7078 __cil_tmp55 = __cil_tmp54 + 16;
7079#line 234
7080 __cil_tmp56 = (unsigned long volatile )2;
7081#line 234
7082 __cil_tmp57 = jiffies + __cil_tmp56;
7083#line 234
7084 *((unsigned long *)__cil_tmp55) = (unsigned long )__cil_tmp57;
7085#line 235
7086 return;
7087}
7088}
7089#line 237 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
7090static u64 phy2txts(struct phy_txts *p )
7091{ u64 ns ;
7092 u32 sec ;
7093 unsigned long __cil_tmp4 ;
7094 unsigned long __cil_tmp5 ;
7095 u16 __cil_tmp6 ;
7096 unsigned long __cil_tmp7 ;
7097 unsigned long __cil_tmp8 ;
7098 u16 __cil_tmp9 ;
7099 int __cil_tmp10 ;
7100 int __cil_tmp11 ;
7101 unsigned int __cil_tmp12 ;
7102 u16 __cil_tmp13 ;
7103 unsigned long __cil_tmp14 ;
7104 unsigned long __cil_tmp15 ;
7105 u16 __cil_tmp16 ;
7106 int __cil_tmp17 ;
7107 int __cil_tmp18 ;
7108 int __cil_tmp19 ;
7109 unsigned long long __cil_tmp20 ;
7110 u64 __cil_tmp21 ;
7111 u64 __cil_tmp22 ;
7112
7113 {
7114#line 242
7115 __cil_tmp4 = (unsigned long )p;
7116#line 242
7117 __cil_tmp5 = __cil_tmp4 + 4;
7118#line 242
7119 __cil_tmp6 = *((u16 *)__cil_tmp5);
7120#line 242
7121 sec = (u32 )__cil_tmp6;
7122#line 243
7123 __cil_tmp7 = (unsigned long )p;
7124#line 243
7125 __cil_tmp8 = __cil_tmp7 + 6;
7126#line 243
7127 __cil_tmp9 = *((u16 *)__cil_tmp8);
7128#line 243
7129 __cil_tmp10 = (int )__cil_tmp9;
7130#line 243
7131 __cil_tmp11 = __cil_tmp10 << 16;
7132#line 243
7133 __cil_tmp12 = (unsigned int )__cil_tmp11;
7134#line 243
7135 sec = sec | __cil_tmp12;
7136#line 245
7137 __cil_tmp13 = *((u16 *)p);
7138#line 245
7139 ns = (u64 )__cil_tmp13;
7140#line 246
7141 __cil_tmp14 = (unsigned long )p;
7142#line 246
7143 __cil_tmp15 = __cil_tmp14 + 2;
7144#line 246
7145 __cil_tmp16 = *((u16 *)__cil_tmp15);
7146#line 246
7147 __cil_tmp17 = (int )__cil_tmp16;
7148#line 246
7149 __cil_tmp18 = __cil_tmp17 & 16383;
7150#line 246
7151 __cil_tmp19 = __cil_tmp18 << 16;
7152#line 246
7153 __cil_tmp20 = (unsigned long long )__cil_tmp19;
7154#line 246
7155 ns = ns | __cil_tmp20;
7156#line 247
7157 __cil_tmp21 = (u64 )sec;
7158#line 247
7159 __cil_tmp22 = __cil_tmp21 * 1000000000ULL;
7160#line 247
7161 ns = ns + __cil_tmp22;
7162#line 249
7163 return (ns);
7164}
7165}
7166#line 252 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
7167static void periodic_output(struct dp83640_clock *clock , struct ptp_clock_request *clkreq ,
7168 bool on )
7169{ struct dp83640_private *dp83640 ;
7170 struct phy_device *phydev ;
7171 u32 sec ;
7172 u32 nsec ;
7173 u32 period ;
7174 u16 gpio ;
7175 u16 ptp_trig ;
7176 u16 trigger ;
7177 u16 val ;
7178 unsigned long __cil_tmp13 ;
7179 unsigned long __cil_tmp14 ;
7180 unsigned long __cil_tmp15 ;
7181 unsigned long __cil_tmp16 ;
7182 unsigned long __cil_tmp17 ;
7183 unsigned long __cil_tmp18 ;
7184 int __cil_tmp19 ;
7185 int __cil_tmp20 ;
7186 int __cil_tmp21 ;
7187 int __cil_tmp22 ;
7188 int __cil_tmp23 ;
7189 int __cil_tmp24 ;
7190 int __cil_tmp25 ;
7191 int __cil_tmp26 ;
7192 int __cil_tmp27 ;
7193 int __cil_tmp28 ;
7194 int __cil_tmp29 ;
7195 int __cil_tmp30 ;
7196 int __cil_tmp31 ;
7197 int __cil_tmp32 ;
7198 int __cil_tmp33 ;
7199 int __cil_tmp34 ;
7200 int __cil_tmp35 ;
7201 int __cil_tmp36 ;
7202 unsigned long __cil_tmp37 ;
7203 unsigned long __cil_tmp38 ;
7204 struct mutex *__cil_tmp39 ;
7205 u32 __cil_tmp40 ;
7206 u32 __cil_tmp41 ;
7207 unsigned long __cil_tmp42 ;
7208 unsigned long __cil_tmp43 ;
7209 struct mutex *__cil_tmp44 ;
7210 unsigned long __cil_tmp45 ;
7211 unsigned long __cil_tmp46 ;
7212 __s64 __cil_tmp47 ;
7213 unsigned long __cil_tmp48 ;
7214 unsigned long __cil_tmp49 ;
7215 unsigned long __cil_tmp50 ;
7216 unsigned long __cil_tmp51 ;
7217 unsigned long __cil_tmp52 ;
7218 unsigned long __cil_tmp53 ;
7219 unsigned long __cil_tmp54 ;
7220 unsigned long __cil_tmp55 ;
7221 unsigned long __cil_tmp56 ;
7222 __s64 __cil_tmp57 ;
7223 __s64 __cil_tmp58 ;
7224 unsigned long __cil_tmp59 ;
7225 unsigned long __cil_tmp60 ;
7226 unsigned long __cil_tmp61 ;
7227 unsigned long __cil_tmp62 ;
7228 unsigned long __cil_tmp63 ;
7229 __u32 __cil_tmp64 ;
7230 unsigned long __cil_tmp65 ;
7231 unsigned long __cil_tmp66 ;
7232 struct mutex *__cil_tmp67 ;
7233 u32 __cil_tmp68 ;
7234 int __cil_tmp69 ;
7235 int __cil_tmp70 ;
7236 int __cil_tmp71 ;
7237 u32 __cil_tmp72 ;
7238 u32 __cil_tmp73 ;
7239 unsigned int __cil_tmp74 ;
7240 u16 __cil_tmp75 ;
7241 u32 __cil_tmp76 ;
7242 u32 __cil_tmp77 ;
7243 u16 __cil_tmp78 ;
7244 u32 __cil_tmp79 ;
7245 unsigned int __cil_tmp80 ;
7246 u16 __cil_tmp81 ;
7247 u32 __cil_tmp82 ;
7248 u32 __cil_tmp83 ;
7249 u16 __cil_tmp84 ;
7250 u32 __cil_tmp85 ;
7251 unsigned int __cil_tmp86 ;
7252 u16 __cil_tmp87 ;
7253 u32 __cil_tmp88 ;
7254 u32 __cil_tmp89 ;
7255 u16 __cil_tmp90 ;
7256 int __cil_tmp91 ;
7257 int __cil_tmp92 ;
7258 int __cil_tmp93 ;
7259 int __cil_tmp94 ;
7260 int __cil_tmp95 ;
7261 int __cil_tmp96 ;
7262 int __cil_tmp97 ;
7263 u32 __cil_tmp98 ;
7264 unsigned long __cil_tmp99 ;
7265 unsigned long __cil_tmp100 ;
7266 struct mutex *__cil_tmp101 ;
7267
7268 {
7269#line 255
7270 __cil_tmp13 = (unsigned long )clock;
7271#line 255
7272 __cil_tmp14 = __cil_tmp13 + 264;
7273#line 255
7274 dp83640 = *((struct dp83640_private **)__cil_tmp14);
7275#line 256
7276 __cil_tmp15 = (unsigned long )dp83640;
7277#line 256
7278 __cil_tmp16 = __cil_tmp15 + 24;
7279#line 256
7280 phydev = *((struct phy_device **)__cil_tmp16);
7281#line 260
7282 if (on) {
7283#line 260
7284 __cil_tmp17 = 1 * 2UL;
7285#line 260
7286 __cil_tmp18 = (unsigned long )(gpio_tab) + __cil_tmp17;
7287#line 260
7288 gpio = *((ushort *)__cil_tmp18);
7289 } else {
7290#line 260
7291 gpio = (u16 )0;
7292 }
7293#line 261
7294 trigger = (u16 )6;
7295#line 263
7296 __cil_tmp19 = 1 << 15;
7297#line 263
7298 __cil_tmp20 = 1 << 14;
7299#line 263
7300 __cil_tmp21 = (int )gpio;
7301#line 263
7302 __cil_tmp22 = __cil_tmp21 & 15;
7303#line 263
7304 __cil_tmp23 = __cil_tmp22 << 8;
7305#line 263
7306 __cil_tmp24 = (int )trigger;
7307#line 263
7308 __cil_tmp25 = __cil_tmp24 & 7;
7309#line 263
7310 __cil_tmp26 = __cil_tmp25 << 1;
7311#line 263
7312 __cil_tmp27 = 1 | __cil_tmp26;
7313#line 263
7314 __cil_tmp28 = __cil_tmp27 | __cil_tmp23;
7315#line 263
7316 __cil_tmp29 = __cil_tmp28 | __cil_tmp20;
7317#line 263
7318 __cil_tmp30 = __cil_tmp29 | __cil_tmp19;
7319#line 263
7320 ptp_trig = (u16 )__cil_tmp30;
7321#line 269
7322 __cil_tmp31 = (int )trigger;
7323#line 269
7324 __cil_tmp32 = __cil_tmp31 & 7;
7325#line 269
7326 __cil_tmp33 = __cil_tmp32 << 10;
7327#line 269
7328 val = (u16 )__cil_tmp33;
7329#line 271
7330 if (! on) {
7331 {
7332#line 272
7333 __cil_tmp34 = 1 << 9;
7334#line 272
7335 __cil_tmp35 = (int )val;
7336#line 272
7337 __cil_tmp36 = __cil_tmp35 | __cil_tmp34;
7338#line 272
7339 val = (u16 )__cil_tmp36;
7340#line 273
7341 __cil_tmp37 = (unsigned long )clock;
7342#line 273
7343 __cil_tmp38 = __cil_tmp37 + 24;
7344#line 273
7345 __cil_tmp39 = (struct mutex *)__cil_tmp38;
7346#line 273
7347 mutex_lock(__cil_tmp39);
7348#line 274
7349 __cil_tmp40 = (u32 )20;
7350#line 274
7351 ext_write(0, phydev, 5, __cil_tmp40, ptp_trig);
7352#line 275
7353 __cil_tmp41 = (u32 )20;
7354#line 275
7355 ext_write(0, phydev, 4, __cil_tmp41, val);
7356#line 276
7357 __cil_tmp42 = (unsigned long )clock;
7358#line 276
7359 __cil_tmp43 = __cil_tmp42 + 24;
7360#line 276
7361 __cil_tmp44 = (struct mutex *)__cil_tmp43;
7362#line 276
7363 mutex_unlock(__cil_tmp44);
7364 }
7365#line 277
7366 return;
7367 } else {
7368
7369 }
7370 {
7371#line 280
7372 __cil_tmp45 = (unsigned long )clkreq;
7373#line 280
7374 __cil_tmp46 = __cil_tmp45 + 8;
7375#line 280
7376 __cil_tmp47 = *((__s64 *)__cil_tmp46);
7377#line 280
7378 sec = (u32 )__cil_tmp47;
7379#line 281
7380 __cil_tmp48 = 0 + 8;
7381#line 281
7382 __cil_tmp49 = 0 + __cil_tmp48;
7383#line 281
7384 __cil_tmp50 = 8 + __cil_tmp49;
7385#line 281
7386 __cil_tmp51 = (unsigned long )clkreq;
7387#line 281
7388 __cil_tmp52 = __cil_tmp51 + __cil_tmp50;
7389#line 281
7390 nsec = *((__u32 *)__cil_tmp52);
7391#line 282
7392 __cil_tmp53 = 0 + 16;
7393#line 282
7394 __cil_tmp54 = 8 + __cil_tmp53;
7395#line 282
7396 __cil_tmp55 = (unsigned long )clkreq;
7397#line 282
7398 __cil_tmp56 = __cil_tmp55 + __cil_tmp54;
7399#line 282
7400 __cil_tmp57 = *((__s64 *)__cil_tmp56);
7401#line 282
7402 __cil_tmp58 = __cil_tmp57 * 1000000000LL;
7403#line 282
7404 period = (u32 )__cil_tmp58;
7405#line 283
7406 __cil_tmp59 = 16 + 8;
7407#line 283
7408 __cil_tmp60 = 0 + __cil_tmp59;
7409#line 283
7410 __cil_tmp61 = 8 + __cil_tmp60;
7411#line 283
7412 __cil_tmp62 = (unsigned long )clkreq;
7413#line 283
7414 __cil_tmp63 = __cil_tmp62 + __cil_tmp61;
7415#line 283
7416 __cil_tmp64 = *((__u32 *)__cil_tmp63);
7417#line 283
7418 period = period + __cil_tmp64;
7419#line 285
7420 __cil_tmp65 = (unsigned long )clock;
7421#line 285
7422 __cil_tmp66 = __cil_tmp65 + 24;
7423#line 285
7424 __cil_tmp67 = (struct mutex *)__cil_tmp66;
7425#line 285
7426 mutex_lock(__cil_tmp67);
7427#line 287
7428 __cil_tmp68 = (u32 )20;
7429#line 287
7430 ext_write(0, phydev, 5, __cil_tmp68, ptp_trig);
7431#line 290
7432 __cil_tmp69 = 1 << 6;
7433#line 290
7434 __cil_tmp70 = (int )val;
7435#line 290
7436 __cil_tmp71 = __cil_tmp70 | __cil_tmp69;
7437#line 290
7438 val = (u16 )__cil_tmp71;
7439#line 291
7440 __cil_tmp72 = (u32 )20;
7441#line 291
7442 ext_write(0, phydev, 4, __cil_tmp72, val);
7443#line 292
7444 __cil_tmp73 = (u32 )21;
7445#line 292
7446 __cil_tmp74 = nsec & 65535U;
7447#line 292
7448 __cil_tmp75 = (u16 )__cil_tmp74;
7449#line 292
7450 ext_write(0, phydev, 4, __cil_tmp73, __cil_tmp75);
7451#line 293
7452 __cil_tmp76 = (u32 )21;
7453#line 293
7454 __cil_tmp77 = nsec >> 16;
7455#line 293
7456 __cil_tmp78 = (u16 )__cil_tmp77;
7457#line 293
7458 ext_write(0, phydev, 4, __cil_tmp76, __cil_tmp78);
7459#line 294
7460 __cil_tmp79 = (u32 )21;
7461#line 294
7462 __cil_tmp80 = sec & 65535U;
7463#line 294
7464 __cil_tmp81 = (u16 )__cil_tmp80;
7465#line 294
7466 ext_write(0, phydev, 4, __cil_tmp79, __cil_tmp81);
7467#line 295
7468 __cil_tmp82 = (u32 )21;
7469#line 295
7470 __cil_tmp83 = sec >> 16;
7471#line 295
7472 __cil_tmp84 = (u16 )__cil_tmp83;
7473#line 295
7474 ext_write(0, phydev, 4, __cil_tmp82, __cil_tmp84);
7475#line 296
7476 __cil_tmp85 = (u32 )21;
7477#line 296
7478 __cil_tmp86 = period & 65535U;
7479#line 296
7480 __cil_tmp87 = (u16 )__cil_tmp86;
7481#line 296
7482 ext_write(0, phydev, 4, __cil_tmp85, __cil_tmp87);
7483#line 297
7484 __cil_tmp88 = (u32 )21;
7485#line 297
7486 __cil_tmp89 = period >> 16;
7487#line 297
7488 __cil_tmp90 = (u16 )__cil_tmp89;
7489#line 297
7490 ext_write(0, phydev, 4, __cil_tmp88, __cil_tmp90);
7491#line 300
7492 __cil_tmp91 = 1 << 6;
7493#line 300
7494 __cil_tmp92 = ~ __cil_tmp91;
7495#line 300
7496 __cil_tmp93 = (int )val;
7497#line 300
7498 __cil_tmp94 = __cil_tmp93 & __cil_tmp92;
7499#line 300
7500 val = (u16 )__cil_tmp94;
7501#line 301
7502 __cil_tmp95 = 1 << 8;
7503#line 301
7504 __cil_tmp96 = (int )val;
7505#line 301
7506 __cil_tmp97 = __cil_tmp96 | __cil_tmp95;
7507#line 301
7508 val = (u16 )__cil_tmp97;
7509#line 302
7510 __cil_tmp98 = (u32 )20;
7511#line 302
7512 ext_write(0, phydev, 4, __cil_tmp98, val);
7513#line 304
7514 __cil_tmp99 = (unsigned long )clock;
7515#line 304
7516 __cil_tmp100 = __cil_tmp99 + 24;
7517#line 304
7518 __cil_tmp101 = (struct mutex *)__cil_tmp100;
7519#line 304
7520 mutex_unlock(__cil_tmp101);
7521 }
7522#line 305
7523 return;
7524}
7525}
7526#line 309 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
7527static int ptp_dp83640_adjfreq(struct ptp_clock_info *ptp , s32 ppb )
7528{ struct dp83640_clock *clock ;
7529 struct ptp_clock_info *__mptr ;
7530 struct phy_device *phydev ;
7531 u64 rate ;
7532 int neg_adj ;
7533 u16 hi ;
7534 u16 lo ;
7535 struct dp83640_clock *__cil_tmp10 ;
7536 unsigned long __cil_tmp11 ;
7537 unsigned long __cil_tmp12 ;
7538 struct ptp_clock_info *__cil_tmp13 ;
7539 unsigned int __cil_tmp14 ;
7540 char *__cil_tmp15 ;
7541 char *__cil_tmp16 ;
7542 unsigned long __cil_tmp17 ;
7543 unsigned long __cil_tmp18 ;
7544 struct dp83640_private *__cil_tmp19 ;
7545 unsigned long __cil_tmp20 ;
7546 unsigned long __cil_tmp21 ;
7547 u32 __cil_tmp22 ;
7548 u64 __cil_tmp23 ;
7549 unsigned long long __cil_tmp24 ;
7550 int __cil_tmp25 ;
7551 int __cil_tmp26 ;
7552 int __cil_tmp27 ;
7553 unsigned long long __cil_tmp28 ;
7554 unsigned long __cil_tmp29 ;
7555 unsigned long __cil_tmp30 ;
7556 struct mutex *__cil_tmp31 ;
7557 u32 __cil_tmp32 ;
7558 u32 __cil_tmp33 ;
7559 unsigned long __cil_tmp34 ;
7560 unsigned long __cil_tmp35 ;
7561 struct mutex *__cil_tmp36 ;
7562
7563 {
7564#line 312
7565 __mptr = (struct ptp_clock_info *)ptp;
7566#line 312
7567 __cil_tmp10 = (struct dp83640_clock *)0;
7568#line 312
7569 __cil_tmp11 = (unsigned long )__cil_tmp10;
7570#line 312
7571 __cil_tmp12 = __cil_tmp11 + 104;
7572#line 312
7573 __cil_tmp13 = (struct ptp_clock_info *)__cil_tmp12;
7574#line 312
7575 __cil_tmp14 = (unsigned int )__cil_tmp13;
7576#line 312
7577 __cil_tmp15 = (char *)__mptr;
7578#line 312
7579 __cil_tmp16 = __cil_tmp15 - __cil_tmp14;
7580#line 312
7581 clock = (struct dp83640_clock *)__cil_tmp16;
7582#line 313
7583 __cil_tmp17 = (unsigned long )clock;
7584#line 313
7585 __cil_tmp18 = __cil_tmp17 + 264;
7586#line 313
7587 __cil_tmp19 = *((struct dp83640_private **)__cil_tmp18);
7588#line 313
7589 __cil_tmp20 = (unsigned long )__cil_tmp19;
7590#line 313
7591 __cil_tmp21 = __cil_tmp20 + 24;
7592#line 313
7593 phydev = *((struct phy_device **)__cil_tmp21);
7594#line 315
7595 neg_adj = 0;
7596#line 318
7597 if (ppb < 0) {
7598#line 319
7599 neg_adj = 1;
7600#line 320
7601 ppb = - ppb;
7602 } else {
7603
7604 }
7605 {
7606#line 322
7607 rate = (u64 )ppb;
7608#line 323
7609 rate = rate << 26;
7610#line 324
7611 __cil_tmp22 = (u32 )1953125;
7612#line 324
7613 rate = div_u64(rate, __cil_tmp22);
7614#line 326
7615 __cil_tmp23 = rate >> 16;
7616#line 326
7617 __cil_tmp24 = __cil_tmp23 & 1023ULL;
7618#line 326
7619 hi = (u16 )__cil_tmp24;
7620 }
7621#line 327
7622 if (neg_adj) {
7623#line 328
7624 __cil_tmp25 = 1 << 15;
7625#line 328
7626 __cil_tmp26 = (int )hi;
7627#line 328
7628 __cil_tmp27 = __cil_tmp26 | __cil_tmp25;
7629#line 328
7630 hi = (u16 )__cil_tmp27;
7631 } else {
7632
7633 }
7634 {
7635#line 330
7636 __cil_tmp28 = rate & 65535ULL;
7637#line 330
7638 lo = (u16 )__cil_tmp28;
7639#line 332
7640 __cil_tmp29 = (unsigned long )clock;
7641#line 332
7642 __cil_tmp30 = __cil_tmp29 + 24;
7643#line 332
7644 __cil_tmp31 = (struct mutex *)__cil_tmp30;
7645#line 332
7646 mutex_lock(__cil_tmp31);
7647#line 334
7648 __cil_tmp32 = (u32 )25;
7649#line 334
7650 ext_write(1, phydev, 4, __cil_tmp32, hi);
7651#line 335
7652 __cil_tmp33 = (u32 )24;
7653#line 335
7654 ext_write(1, phydev, 4, __cil_tmp33, lo);
7655#line 337
7656 __cil_tmp34 = (unsigned long )clock;
7657#line 337
7658 __cil_tmp35 = __cil_tmp34 + 24;
7659#line 337
7660 __cil_tmp36 = (struct mutex *)__cil_tmp35;
7661#line 337
7662 mutex_unlock(__cil_tmp36);
7663 }
7664#line 339
7665 return (0);
7666}
7667}
7668#line 342 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
7669static int ptp_dp83640_adjtime(struct ptp_clock_info *ptp , s64 delta )
7670{ struct dp83640_clock *clock ;
7671 struct ptp_clock_info *__mptr ;
7672 struct phy_device *phydev ;
7673 struct timespec ts ;
7674 int err ;
7675 struct dp83640_clock *__cil_tmp8 ;
7676 unsigned long __cil_tmp9 ;
7677 unsigned long __cil_tmp10 ;
7678 struct ptp_clock_info *__cil_tmp11 ;
7679 unsigned int __cil_tmp12 ;
7680 char *__cil_tmp13 ;
7681 char *__cil_tmp14 ;
7682 unsigned long __cil_tmp15 ;
7683 unsigned long __cil_tmp16 ;
7684 struct dp83640_private *__cil_tmp17 ;
7685 unsigned long __cil_tmp18 ;
7686 unsigned long __cil_tmp19 ;
7687 struct timespec *__cil_tmp20 ;
7688 s64 __cil_tmp21 ;
7689 unsigned long __cil_tmp22 ;
7690 unsigned long __cil_tmp23 ;
7691 struct mutex *__cil_tmp24 ;
7692 struct timespec *__cil_tmp25 ;
7693 int __cil_tmp26 ;
7694 u16 __cil_tmp27 ;
7695 unsigned long __cil_tmp28 ;
7696 unsigned long __cil_tmp29 ;
7697 struct mutex *__cil_tmp30 ;
7698
7699 {
7700 {
7701#line 345
7702 __mptr = (struct ptp_clock_info *)ptp;
7703#line 345
7704 __cil_tmp8 = (struct dp83640_clock *)0;
7705#line 345
7706 __cil_tmp9 = (unsigned long )__cil_tmp8;
7707#line 345
7708 __cil_tmp10 = __cil_tmp9 + 104;
7709#line 345
7710 __cil_tmp11 = (struct ptp_clock_info *)__cil_tmp10;
7711#line 345
7712 __cil_tmp12 = (unsigned int )__cil_tmp11;
7713#line 345
7714 __cil_tmp13 = (char *)__mptr;
7715#line 345
7716 __cil_tmp14 = __cil_tmp13 - __cil_tmp12;
7717#line 345
7718 clock = (struct dp83640_clock *)__cil_tmp14;
7719#line 346
7720 __cil_tmp15 = (unsigned long )clock;
7721#line 346
7722 __cil_tmp16 = __cil_tmp15 + 264;
7723#line 346
7724 __cil_tmp17 = *((struct dp83640_private **)__cil_tmp16);
7725#line 346
7726 __cil_tmp18 = (unsigned long )__cil_tmp17;
7727#line 346
7728 __cil_tmp19 = __cil_tmp18 + 24;
7729#line 346
7730 phydev = *((struct phy_device **)__cil_tmp19);
7731#line 350
7732 delta = delta + 16LL;
7733#line 352
7734 __cil_tmp20 = & ts;
7735#line 352
7736 __cil_tmp21 = (s64 )delta;
7737#line 352
7738 *__cil_tmp20 = ns_to_timespec(__cil_tmp21);
7739#line 354
7740 __cil_tmp22 = (unsigned long )clock;
7741#line 354
7742 __cil_tmp23 = __cil_tmp22 + 24;
7743#line 354
7744 __cil_tmp24 = (struct mutex *)__cil_tmp23;
7745#line 354
7746 mutex_lock(__cil_tmp24);
7747#line 356
7748 __cil_tmp25 = (struct timespec *)(& ts);
7749#line 356
7750 __cil_tmp26 = 1 << 3;
7751#line 356
7752 __cil_tmp27 = (u16 )__cil_tmp26;
7753#line 356
7754 err = tdr_write(1, phydev, __cil_tmp25, __cil_tmp27);
7755#line 358
7756 __cil_tmp28 = (unsigned long )clock;
7757#line 358
7758 __cil_tmp29 = __cil_tmp28 + 24;
7759#line 358
7760 __cil_tmp30 = (struct mutex *)__cil_tmp29;
7761#line 358
7762 mutex_unlock(__cil_tmp30);
7763 }
7764#line 360
7765 return (err);
7766}
7767}
7768#line 363 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
7769static int ptp_dp83640_gettime(struct ptp_clock_info *ptp , struct timespec *ts )
7770{ struct dp83640_clock *clock ;
7771 struct ptp_clock_info *__mptr ;
7772 struct phy_device *phydev ;
7773 unsigned int val[4] ;
7774 int tmp___7 ;
7775 int tmp___8 ;
7776 int tmp___9 ;
7777 int tmp___10 ;
7778 struct dp83640_clock *__cil_tmp11 ;
7779 unsigned long __cil_tmp12 ;
7780 unsigned long __cil_tmp13 ;
7781 struct ptp_clock_info *__cil_tmp14 ;
7782 unsigned int __cil_tmp15 ;
7783 char *__cil_tmp16 ;
7784 char *__cil_tmp17 ;
7785 unsigned long __cil_tmp18 ;
7786 unsigned long __cil_tmp19 ;
7787 struct dp83640_private *__cil_tmp20 ;
7788 unsigned long __cil_tmp21 ;
7789 unsigned long __cil_tmp22 ;
7790 unsigned long __cil_tmp23 ;
7791 unsigned long __cil_tmp24 ;
7792 struct mutex *__cil_tmp25 ;
7793 u32 __cil_tmp26 ;
7794 int __cil_tmp27 ;
7795 u16 __cil_tmp28 ;
7796 u32 __cil_tmp29 ;
7797 unsigned long __cil_tmp30 ;
7798 unsigned long __cil_tmp31 ;
7799 u32 __cil_tmp32 ;
7800 unsigned long __cil_tmp33 ;
7801 unsigned long __cil_tmp34 ;
7802 u32 __cil_tmp35 ;
7803 unsigned long __cil_tmp36 ;
7804 unsigned long __cil_tmp37 ;
7805 u32 __cil_tmp38 ;
7806 unsigned long __cil_tmp39 ;
7807 unsigned long __cil_tmp40 ;
7808 unsigned long __cil_tmp41 ;
7809 unsigned long __cil_tmp42 ;
7810 struct mutex *__cil_tmp43 ;
7811 unsigned long __cil_tmp44 ;
7812 unsigned long __cil_tmp45 ;
7813 unsigned long __cil_tmp46 ;
7814 unsigned long __cil_tmp47 ;
7815 unsigned int __cil_tmp48 ;
7816 unsigned int __cil_tmp49 ;
7817 unsigned long __cil_tmp50 ;
7818 unsigned long __cil_tmp51 ;
7819 unsigned int __cil_tmp52 ;
7820 unsigned int __cil_tmp53 ;
7821 unsigned long __cil_tmp54 ;
7822 unsigned long __cil_tmp55 ;
7823 unsigned int __cil_tmp56 ;
7824 unsigned int __cil_tmp57 ;
7825 unsigned long __cil_tmp58 ;
7826 unsigned long __cil_tmp59 ;
7827 unsigned int __cil_tmp60 ;
7828 unsigned int __cil_tmp61 ;
7829
7830 {
7831 {
7832#line 366
7833 __mptr = (struct ptp_clock_info *)ptp;
7834#line 366
7835 __cil_tmp11 = (struct dp83640_clock *)0;
7836#line 366
7837 __cil_tmp12 = (unsigned long )__cil_tmp11;
7838#line 366
7839 __cil_tmp13 = __cil_tmp12 + 104;
7840#line 366
7841 __cil_tmp14 = (struct ptp_clock_info *)__cil_tmp13;
7842#line 366
7843 __cil_tmp15 = (unsigned int )__cil_tmp14;
7844#line 366
7845 __cil_tmp16 = (char *)__mptr;
7846#line 366
7847 __cil_tmp17 = __cil_tmp16 - __cil_tmp15;
7848#line 366
7849 clock = (struct dp83640_clock *)__cil_tmp17;
7850#line 367
7851 __cil_tmp18 = (unsigned long )clock;
7852#line 367
7853 __cil_tmp19 = __cil_tmp18 + 264;
7854#line 367
7855 __cil_tmp20 = *((struct dp83640_private **)__cil_tmp19);
7856#line 367
7857 __cil_tmp21 = (unsigned long )__cil_tmp20;
7858#line 367
7859 __cil_tmp22 = __cil_tmp21 + 24;
7860#line 367
7861 phydev = *((struct phy_device **)__cil_tmp22);
7862#line 370
7863 __cil_tmp23 = (unsigned long )clock;
7864#line 370
7865 __cil_tmp24 = __cil_tmp23 + 24;
7866#line 370
7867 __cil_tmp25 = (struct mutex *)__cil_tmp24;
7868#line 370
7869 mutex_lock(__cil_tmp25);
7870#line 372
7871 __cil_tmp26 = (u32 )20;
7872#line 372
7873 __cil_tmp27 = 1 << 5;
7874#line 372
7875 __cil_tmp28 = (u16 )__cil_tmp27;
7876#line 372
7877 ext_write(0, phydev, 4, __cil_tmp26, __cil_tmp28);
7878#line 374
7879 __cil_tmp29 = (u32 )21;
7880#line 374
7881 tmp___7 = ext_read(phydev, 4, __cil_tmp29);
7882#line 374
7883 __cil_tmp30 = 0 * 4UL;
7884#line 374
7885 __cil_tmp31 = (unsigned long )(val) + __cil_tmp30;
7886#line 374
7887 *((unsigned int *)__cil_tmp31) = (unsigned int )tmp___7;
7888#line 375
7889 __cil_tmp32 = (u32 )21;
7890#line 375
7891 tmp___8 = ext_read(phydev, 4, __cil_tmp32);
7892#line 375
7893 __cil_tmp33 = 1 * 4UL;
7894#line 375
7895 __cil_tmp34 = (unsigned long )(val) + __cil_tmp33;
7896#line 375
7897 *((unsigned int *)__cil_tmp34) = (unsigned int )tmp___8;
7898#line 376
7899 __cil_tmp35 = (u32 )21;
7900#line 376
7901 tmp___9 = ext_read(phydev, 4, __cil_tmp35);
7902#line 376
7903 __cil_tmp36 = 2 * 4UL;
7904#line 376
7905 __cil_tmp37 = (unsigned long )(val) + __cil_tmp36;
7906#line 376
7907 *((unsigned int *)__cil_tmp37) = (unsigned int )tmp___9;
7908#line 377
7909 __cil_tmp38 = (u32 )21;
7910#line 377
7911 tmp___10 = ext_read(phydev, 4, __cil_tmp38);
7912#line 377
7913 __cil_tmp39 = 3 * 4UL;
7914#line 377
7915 __cil_tmp40 = (unsigned long )(val) + __cil_tmp39;
7916#line 377
7917 *((unsigned int *)__cil_tmp40) = (unsigned int )tmp___10;
7918#line 379
7919 __cil_tmp41 = (unsigned long )clock;
7920#line 379
7921 __cil_tmp42 = __cil_tmp41 + 24;
7922#line 379
7923 __cil_tmp43 = (struct mutex *)__cil_tmp42;
7924#line 379
7925 mutex_unlock(__cil_tmp43);
7926#line 381
7927 __cil_tmp44 = (unsigned long )ts;
7928#line 381
7929 __cil_tmp45 = __cil_tmp44 + 8;
7930#line 381
7931 __cil_tmp46 = 1 * 4UL;
7932#line 381
7933 __cil_tmp47 = (unsigned long )(val) + __cil_tmp46;
7934#line 381
7935 __cil_tmp48 = *((unsigned int *)__cil_tmp47);
7936#line 381
7937 __cil_tmp49 = __cil_tmp48 << 16;
7938#line 381
7939 __cil_tmp50 = 0 * 4UL;
7940#line 381
7941 __cil_tmp51 = (unsigned long )(val) + __cil_tmp50;
7942#line 381
7943 __cil_tmp52 = *((unsigned int *)__cil_tmp51);
7944#line 381
7945 __cil_tmp53 = __cil_tmp52 | __cil_tmp49;
7946#line 381
7947 *((long *)__cil_tmp45) = (long )__cil_tmp53;
7948#line 382
7949 __cil_tmp54 = 3 * 4UL;
7950#line 382
7951 __cil_tmp55 = (unsigned long )(val) + __cil_tmp54;
7952#line 382
7953 __cil_tmp56 = *((unsigned int *)__cil_tmp55);
7954#line 382
7955 __cil_tmp57 = __cil_tmp56 << 16;
7956#line 382
7957 __cil_tmp58 = 2 * 4UL;
7958#line 382
7959 __cil_tmp59 = (unsigned long )(val) + __cil_tmp58;
7960#line 382
7961 __cil_tmp60 = *((unsigned int *)__cil_tmp59);
7962#line 382
7963 __cil_tmp61 = __cil_tmp60 | __cil_tmp57;
7964#line 382
7965 *((__kernel_time_t *)ts) = (__kernel_time_t )__cil_tmp61;
7966 }
7967#line 384
7968 return (0);
7969}
7970}
7971#line 387 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
7972static int ptp_dp83640_settime(struct ptp_clock_info *ptp , struct timespec *ts )
7973{ struct dp83640_clock *clock ;
7974 struct ptp_clock_info *__mptr ;
7975 struct phy_device *phydev ;
7976 int err ;
7977 struct dp83640_clock *__cil_tmp7 ;
7978 unsigned long __cil_tmp8 ;
7979 unsigned long __cil_tmp9 ;
7980 struct ptp_clock_info *__cil_tmp10 ;
7981 unsigned int __cil_tmp11 ;
7982 char *__cil_tmp12 ;
7983 char *__cil_tmp13 ;
7984 unsigned long __cil_tmp14 ;
7985 unsigned long __cil_tmp15 ;
7986 struct dp83640_private *__cil_tmp16 ;
7987 unsigned long __cil_tmp17 ;
7988 unsigned long __cil_tmp18 ;
7989 unsigned long __cil_tmp19 ;
7990 unsigned long __cil_tmp20 ;
7991 struct mutex *__cil_tmp21 ;
7992 int __cil_tmp22 ;
7993 u16 __cil_tmp23 ;
7994 unsigned long __cil_tmp24 ;
7995 unsigned long __cil_tmp25 ;
7996 struct mutex *__cil_tmp26 ;
7997
7998 {
7999 {
8000#line 391
8001 __mptr = (struct ptp_clock_info *)ptp;
8002#line 391
8003 __cil_tmp7 = (struct dp83640_clock *)0;
8004#line 391
8005 __cil_tmp8 = (unsigned long )__cil_tmp7;
8006#line 391
8007 __cil_tmp9 = __cil_tmp8 + 104;
8008#line 391
8009 __cil_tmp10 = (struct ptp_clock_info *)__cil_tmp9;
8010#line 391
8011 __cil_tmp11 = (unsigned int )__cil_tmp10;
8012#line 391
8013 __cil_tmp12 = (char *)__mptr;
8014#line 391
8015 __cil_tmp13 = __cil_tmp12 - __cil_tmp11;
8016#line 391
8017 clock = (struct dp83640_clock *)__cil_tmp13;
8018#line 392
8019 __cil_tmp14 = (unsigned long )clock;
8020#line 392
8021 __cil_tmp15 = __cil_tmp14 + 264;
8022#line 392
8023 __cil_tmp16 = *((struct dp83640_private **)__cil_tmp15);
8024#line 392
8025 __cil_tmp17 = (unsigned long )__cil_tmp16;
8026#line 392
8027 __cil_tmp18 = __cil_tmp17 + 24;
8028#line 392
8029 phydev = *((struct phy_device **)__cil_tmp18);
8030#line 395
8031 __cil_tmp19 = (unsigned long )clock;
8032#line 395
8033 __cil_tmp20 = __cil_tmp19 + 24;
8034#line 395
8035 __cil_tmp21 = (struct mutex *)__cil_tmp20;
8036#line 395
8037 mutex_lock(__cil_tmp21);
8038#line 397
8039 __cil_tmp22 = 1 << 4;
8040#line 397
8041 __cil_tmp23 = (u16 )__cil_tmp22;
8042#line 397
8043 err = tdr_write(1, phydev, ts, __cil_tmp23);
8044#line 399
8045 __cil_tmp24 = (unsigned long )clock;
8046#line 399
8047 __cil_tmp25 = __cil_tmp24 + 24;
8048#line 399
8049 __cil_tmp26 = (struct mutex *)__cil_tmp25;
8050#line 399
8051 mutex_unlock(__cil_tmp26);
8052 }
8053#line 401
8054 return (err);
8055}
8056}
8057#line 404 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
8058static int ptp_dp83640_enable(struct ptp_clock_info *ptp , struct ptp_clock_request *rq ,
8059 int on )
8060{ struct dp83640_clock *clock ;
8061 struct ptp_clock_info *__mptr ;
8062 struct phy_device *phydev ;
8063 int index ;
8064 u16 evnt ;
8065 u16 event_num ;
8066 u16 gpio_num ;
8067 struct dp83640_clock *__cil_tmp11 ;
8068 unsigned long __cil_tmp12 ;
8069 unsigned long __cil_tmp13 ;
8070 struct ptp_clock_info *__cil_tmp14 ;
8071 unsigned int __cil_tmp15 ;
8072 char *__cil_tmp16 ;
8073 char *__cil_tmp17 ;
8074 unsigned long __cil_tmp18 ;
8075 unsigned long __cil_tmp19 ;
8076 struct dp83640_private *__cil_tmp20 ;
8077 unsigned long __cil_tmp21 ;
8078 unsigned long __cil_tmp22 ;
8079 enum __anonenum_type_353 __cil_tmp23 ;
8080 unsigned long __cil_tmp24 ;
8081 unsigned long __cil_tmp25 ;
8082 unsigned int __cil_tmp26 ;
8083 int __cil_tmp27 ;
8084 int __cil_tmp28 ;
8085 int __cil_tmp29 ;
8086 int __cil_tmp30 ;
8087 int __cil_tmp31 ;
8088 int __cil_tmp32 ;
8089 unsigned long __cil_tmp33 ;
8090 unsigned long __cil_tmp34 ;
8091 int __cil_tmp35 ;
8092 int __cil_tmp36 ;
8093 int __cil_tmp37 ;
8094 int __cil_tmp38 ;
8095 int __cil_tmp39 ;
8096 int __cil_tmp40 ;
8097 int __cil_tmp41 ;
8098 int __cil_tmp42 ;
8099 u32 __cil_tmp43 ;
8100 unsigned long __cil_tmp44 ;
8101 unsigned long __cil_tmp45 ;
8102 unsigned long __cil_tmp46 ;
8103 unsigned long __cil_tmp47 ;
8104 unsigned int __cil_tmp48 ;
8105 bool __cil_tmp49 ;
8106
8107 {
8108#line 408
8109 __mptr = (struct ptp_clock_info *)ptp;
8110#line 408
8111 __cil_tmp11 = (struct dp83640_clock *)0;
8112#line 408
8113 __cil_tmp12 = (unsigned long )__cil_tmp11;
8114#line 408
8115 __cil_tmp13 = __cil_tmp12 + 104;
8116#line 408
8117 __cil_tmp14 = (struct ptp_clock_info *)__cil_tmp13;
8118#line 408
8119 __cil_tmp15 = (unsigned int )__cil_tmp14;
8120#line 408
8121 __cil_tmp16 = (char *)__mptr;
8122#line 408
8123 __cil_tmp17 = __cil_tmp16 - __cil_tmp15;
8124#line 408
8125 clock = (struct dp83640_clock *)__cil_tmp17;
8126#line 409
8127 __cil_tmp18 = (unsigned long )clock;
8128#line 409
8129 __cil_tmp19 = __cil_tmp18 + 264;
8130#line 409
8131 __cil_tmp20 = *((struct dp83640_private **)__cil_tmp19);
8132#line 409
8133 __cil_tmp21 = (unsigned long )__cil_tmp20;
8134#line 409
8135 __cil_tmp22 = __cil_tmp21 + 24;
8136#line 409
8137 phydev = *((struct phy_device **)__cil_tmp22);
8138 {
8139#line 413
8140 __cil_tmp23 = *((enum __anonenum_type_353 *)rq);
8141#line 414
8142 if ((int )__cil_tmp23 == 0) {
8143#line 414
8144 goto case_0;
8145 } else
8146#line 428
8147 if ((int )__cil_tmp23 == 1) {
8148#line 428
8149 goto case_1;
8150 } else {
8151 {
8152#line 434
8153 goto switch_default;
8154#line 413
8155 if (0) {
8156 case_0:
8157#line 415
8158 __cil_tmp24 = (unsigned long )rq;
8159#line 415
8160 __cil_tmp25 = __cil_tmp24 + 8;
8161#line 415
8162 __cil_tmp26 = *((unsigned int *)__cil_tmp25);
8163#line 415
8164 index = (int )__cil_tmp26;
8165#line 416
8166 if (index < 0) {
8167#line 417
8168 return (-22);
8169 } else
8170#line 416
8171 if (index >= 6) {
8172#line 417
8173 return (-22);
8174 } else {
8175
8176 }
8177#line 418
8178 __cil_tmp27 = 1 + index;
8179#line 418
8180 event_num = (u16 )__cil_tmp27;
8181#line 419
8182 __cil_tmp28 = (int )event_num;
8183#line 419
8184 __cil_tmp29 = __cil_tmp28 & 7;
8185#line 419
8186 __cil_tmp30 = __cil_tmp29 << 1;
8187#line 419
8188 __cil_tmp31 = 1 | __cil_tmp30;
8189#line 419
8190 evnt = (u16 )__cil_tmp31;
8191#line 420
8192 if (on) {
8193#line 421
8194 __cil_tmp32 = 2 + index;
8195#line 421
8196 __cil_tmp33 = __cil_tmp32 * 2UL;
8197#line 421
8198 __cil_tmp34 = (unsigned long )(gpio_tab) + __cil_tmp33;
8199#line 421
8200 gpio_num = *((ushort *)__cil_tmp34);
8201#line 422
8202 __cil_tmp35 = (int )gpio_num;
8203#line 422
8204 __cil_tmp36 = __cil_tmp35 & 15;
8205#line 422
8206 __cil_tmp37 = __cil_tmp36 << 8;
8207#line 422
8208 __cil_tmp38 = (int )evnt;
8209#line 422
8210 __cil_tmp39 = __cil_tmp38 | __cil_tmp37;
8211#line 422
8212 evnt = (u16 )__cil_tmp39;
8213#line 423
8214 __cil_tmp40 = 1 << 14;
8215#line 423
8216 __cil_tmp41 = (int )evnt;
8217#line 423
8218 __cil_tmp42 = __cil_tmp41 | __cil_tmp40;
8219#line 423
8220 evnt = (u16 )__cil_tmp42;
8221 } else {
8222
8223 }
8224 {
8225#line 425
8226 __cil_tmp43 = (u32 )21;
8227#line 425
8228 ext_write(0, phydev, 5, __cil_tmp43, evnt);
8229 }
8230#line 426
8231 return (0);
8232 case_1:
8233 {
8234#line 429
8235 __cil_tmp44 = 0 + 32;
8236#line 429
8237 __cil_tmp45 = 8 + __cil_tmp44;
8238#line 429
8239 __cil_tmp46 = (unsigned long )rq;
8240#line 429
8241 __cil_tmp47 = __cil_tmp46 + __cil_tmp45;
8242#line 429
8243 __cil_tmp48 = *((unsigned int *)__cil_tmp47);
8244#line 429
8245 if (__cil_tmp48 != 0U) {
8246#line 430
8247 return (-22);
8248 } else {
8249
8250 }
8251 }
8252 {
8253#line 431
8254 __cil_tmp49 = (bool )on;
8255#line 431
8256 periodic_output(clock, rq, __cil_tmp49);
8257 }
8258#line 432
8259 return (0);
8260 switch_default:
8261#line 435
8262 goto switch_break;
8263 } else {
8264 switch_break: ;
8265 }
8266 }
8267 }
8268 }
8269#line 438
8270 return (-95);
8271}
8272}
8273#line 441 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
8274static u8 status_frame_dst[6] = { (u8 )1, (u8 )27, (u8 )25, (u8 )0,
8275 (u8 )0, (u8 )0};
8276#line 442 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
8277static u8 status_frame_src[6] = { (u8 )8, (u8 )0, (u8 )23, (u8 )11,
8278 (u8 )107, (u8 )15};
8279#line 444 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
8280static void enable_status_frames(struct phy_device *phydev , bool on )
8281{ u16 cfg0 ;
8282 u16 ver ;
8283 int tmp___7 ;
8284 int tmp___8 ;
8285 int __cil_tmp7 ;
8286 int __cil_tmp8 ;
8287 int __cil_tmp9 ;
8288 int __cil_tmp10 ;
8289 int __cil_tmp11 ;
8290 int __cil_tmp12 ;
8291 int __cil_tmp13 ;
8292 u32 __cil_tmp14 ;
8293 u32 __cil_tmp15 ;
8294 unsigned long __cil_tmp16 ;
8295 unsigned long __cil_tmp17 ;
8296 struct net_device *__cil_tmp18 ;
8297 unsigned long __cil_tmp19 ;
8298 unsigned long __cil_tmp20 ;
8299 struct net_device *__cil_tmp21 ;
8300 unsigned long __cil_tmp22 ;
8301 unsigned long __cil_tmp23 ;
8302 u8 *__cil_tmp24 ;
8303 unsigned long __cil_tmp25 ;
8304 unsigned long __cil_tmp26 ;
8305 struct net_device *__cil_tmp27 ;
8306 unsigned long __cil_tmp28 ;
8307 unsigned long __cil_tmp29 ;
8308 u8 *__cil_tmp30 ;
8309
8310 {
8311#line 446
8312 cfg0 = (u16 )0;
8313#line 448
8314 if (on) {
8315#line 449
8316 __cil_tmp7 = 1 << 7;
8317#line 449
8318 __cil_tmp8 = 1 << 3;
8319#line 449
8320 __cil_tmp9 = 1 << 2;
8321#line 449
8322 __cil_tmp10 = 1 | __cil_tmp9;
8323#line 449
8324 __cil_tmp11 = __cil_tmp10 | __cil_tmp8;
8325#line 449
8326 __cil_tmp12 = __cil_tmp11 | __cil_tmp7;
8327#line 449
8328 cfg0 = (u16 )__cil_tmp12;
8329 } else {
8330
8331 }
8332 {
8333#line 451
8334 __cil_tmp13 = 2 << 8;
8335#line 451
8336 ver = (u16 )__cil_tmp13;
8337#line 453
8338 __cil_tmp14 = (u32 )24;
8339#line 453
8340 ext_write(0, phydev, 5, __cil_tmp14, cfg0);
8341#line 454
8342 __cil_tmp15 = (u32 )21;
8343#line 454
8344 ext_write(0, phydev, 6, __cil_tmp15, ver);
8345 }
8346 {
8347#line 456
8348 __cil_tmp16 = (unsigned long )phydev;
8349#line 456
8350 __cil_tmp17 = __cil_tmp16 + 1080;
8351#line 456
8352 __cil_tmp18 = *((struct net_device **)__cil_tmp17);
8353#line 456
8354 if (! __cil_tmp18) {
8355 {
8356#line 457
8357 printk("<4>dp83640: expected to find an attached netdevice\n");
8358 }
8359#line 458
8360 return;
8361 } else {
8362
8363 }
8364 }
8365#line 461
8366 if (on) {
8367 {
8368#line 462
8369 __cil_tmp19 = (unsigned long )phydev;
8370#line 462
8371 __cil_tmp20 = __cil_tmp19 + 1080;
8372#line 462
8373 __cil_tmp21 = *((struct net_device **)__cil_tmp20);
8374#line 462
8375 __cil_tmp22 = 0 * 1UL;
8376#line 462
8377 __cil_tmp23 = (unsigned long )(status_frame_dst) + __cil_tmp22;
8378#line 462
8379 __cil_tmp24 = (u8 *)__cil_tmp23;
8380#line 462
8381 tmp___7 = dev_mc_add(__cil_tmp21, __cil_tmp24);
8382 }
8383#line 462
8384 if (tmp___7) {
8385 {
8386#line 463
8387 printk("<4>dp83640: failed to add mc address\n");
8388 }
8389 } else {
8390
8391 }
8392 } else {
8393 {
8394#line 465
8395 __cil_tmp25 = (unsigned long )phydev;
8396#line 465
8397 __cil_tmp26 = __cil_tmp25 + 1080;
8398#line 465
8399 __cil_tmp27 = *((struct net_device **)__cil_tmp26);
8400#line 465
8401 __cil_tmp28 = 0 * 1UL;
8402#line 465
8403 __cil_tmp29 = (unsigned long )(status_frame_dst) + __cil_tmp28;
8404#line 465
8405 __cil_tmp30 = (u8 *)__cil_tmp29;
8406#line 465
8407 tmp___8 = dev_mc_del(__cil_tmp27, __cil_tmp30);
8408 }
8409#line 465
8410 if (tmp___8) {
8411 {
8412#line 466
8413 printk("<4>dp83640: failed to delete mc address\n");
8414 }
8415 } else {
8416
8417 }
8418 }
8419#line 468
8420 return;
8421}
8422}
8423#line 470 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
8424static bool is_status_frame(struct sk_buff *skb , int type )
8425{ struct ethhdr *h ;
8426 struct ethhdr *tmp___7 ;
8427 int tmp___8 ;
8428 struct sk_buff *__cil_tmp6 ;
8429 unsigned long __cil_tmp7 ;
8430 unsigned long __cil_tmp8 ;
8431 unsigned long __cil_tmp9 ;
8432 unsigned long __cil_tmp10 ;
8433 unsigned char *__cil_tmp11 ;
8434 void *__cil_tmp12 ;
8435 unsigned long __cil_tmp13 ;
8436 unsigned long __cil_tmp14 ;
8437 u8 *__cil_tmp15 ;
8438 void *__cil_tmp16 ;
8439
8440 {
8441 {
8442#line 472
8443 __cil_tmp6 = (struct sk_buff *)skb;
8444#line 472
8445 tmp___7 = eth_hdr(__cil_tmp6);
8446#line 472
8447 h = tmp___7;
8448 }
8449#line 474
8450 if (50 == type) {
8451 {
8452#line 474
8453 __cil_tmp7 = 0 * 1UL;
8454#line 474
8455 __cil_tmp8 = 6 + __cil_tmp7;
8456#line 474
8457 __cil_tmp9 = (unsigned long )h;
8458#line 474
8459 __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
8460#line 474
8461 __cil_tmp11 = (unsigned char *)__cil_tmp10;
8462#line 474
8463 __cil_tmp12 = (void *)__cil_tmp11;
8464#line 474
8465 __cil_tmp13 = 0 * 1UL;
8466#line 474
8467 __cil_tmp14 = (unsigned long )(status_frame_src) + __cil_tmp13;
8468#line 474
8469 __cil_tmp15 = (u8 *)__cil_tmp14;
8470#line 474
8471 __cil_tmp16 = (void *)__cil_tmp15;
8472#line 474
8473 tmp___8 = memcmp(__cil_tmp12, __cil_tmp16, 6UL);
8474 }
8475#line 474
8476 if (tmp___8) {
8477#line 478
8478 return ((bool )0);
8479 } else {
8480#line 476
8481 return ((bool )1);
8482 }
8483 } else {
8484#line 478
8485 return ((bool )0);
8486 }
8487}
8488}
8489#line 481 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
8490static int expired(struct rxts *rxts )
8491{ long __cil_tmp6 ;
8492 unsigned long __cil_tmp7 ;
8493 unsigned long __cil_tmp8 ;
8494 unsigned long __cil_tmp9 ;
8495 long __cil_tmp10 ;
8496 long __cil_tmp11 ;
8497
8498 {
8499 {
8500#line 483
8501 __cil_tmp6 = (long )jiffies;
8502#line 483
8503 __cil_tmp7 = (unsigned long )rxts;
8504#line 483
8505 __cil_tmp8 = __cil_tmp7 + 16;
8506#line 483
8507 __cil_tmp9 = *((unsigned long *)__cil_tmp8);
8508#line 483
8509 __cil_tmp10 = (long )__cil_tmp9;
8510#line 483
8511 __cil_tmp11 = __cil_tmp10 - __cil_tmp6;
8512#line 483
8513 return (__cil_tmp11 < 0L);
8514 }
8515}
8516}
8517#line 487 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
8518static void prune_rx_ts(struct dp83640_private *dp83640 )
8519{ struct list_head *this ;
8520 struct list_head *next ;
8521 struct rxts *rxts ;
8522 struct list_head *__mptr ;
8523 int tmp___7 ;
8524 unsigned long __cil_tmp7 ;
8525 unsigned long __cil_tmp8 ;
8526 unsigned long __cil_tmp9 ;
8527 unsigned long __cil_tmp10 ;
8528 struct list_head *__cil_tmp11 ;
8529 unsigned long __cil_tmp12 ;
8530 unsigned long __cil_tmp13 ;
8531 struct rxts *__cil_tmp14 ;
8532 struct list_head *__cil_tmp15 ;
8533 unsigned int __cil_tmp16 ;
8534 char *__cil_tmp17 ;
8535 char *__cil_tmp18 ;
8536 struct list_head *__cil_tmp19 ;
8537 struct list_head *__cil_tmp20 ;
8538 unsigned long __cil_tmp21 ;
8539 unsigned long __cil_tmp22 ;
8540 struct list_head *__cil_tmp23 ;
8541
8542 {
8543#line 492
8544 __cil_tmp7 = (unsigned long )dp83640;
8545#line 492
8546 __cil_tmp8 = __cil_tmp7 + 96;
8547#line 492
8548 this = *((struct list_head **)__cil_tmp8);
8549#line 492
8550 next = *((struct list_head **)this);
8551 {
8552#line 492
8553 while (1) {
8554 while_continue: ;
8555 {
8556#line 492
8557 __cil_tmp9 = (unsigned long )dp83640;
8558#line 492
8559 __cil_tmp10 = __cil_tmp9 + 96;
8560#line 492
8561 __cil_tmp11 = (struct list_head *)__cil_tmp10;
8562#line 492
8563 __cil_tmp12 = (unsigned long )__cil_tmp11;
8564#line 492
8565 __cil_tmp13 = (unsigned long )this;
8566#line 492
8567 if (__cil_tmp13 != __cil_tmp12) {
8568
8569 } else {
8570#line 492
8571 goto while_break;
8572 }
8573 }
8574 {
8575#line 493
8576 __mptr = (struct list_head *)this;
8577#line 493
8578 __cil_tmp14 = (struct rxts *)0;
8579#line 493
8580 __cil_tmp15 = (struct list_head *)__cil_tmp14;
8581#line 493
8582 __cil_tmp16 = (unsigned int )__cil_tmp15;
8583#line 493
8584 __cil_tmp17 = (char *)__mptr;
8585#line 493
8586 __cil_tmp18 = __cil_tmp17 - __cil_tmp16;
8587#line 493
8588 rxts = (struct rxts *)__cil_tmp18;
8589#line 494
8590 tmp___7 = expired(rxts);
8591 }
8592#line 494
8593 if (tmp___7) {
8594 {
8595#line 495
8596 __cil_tmp19 = (struct list_head *)rxts;
8597#line 495
8598 list_del_init(__cil_tmp19);
8599#line 496
8600 __cil_tmp20 = (struct list_head *)rxts;
8601#line 496
8602 __cil_tmp21 = (unsigned long )dp83640;
8603#line 496
8604 __cil_tmp22 = __cil_tmp21 + 112;
8605#line 496
8606 __cil_tmp23 = (struct list_head *)__cil_tmp22;
8607#line 496
8608 list_add(__cil_tmp20, __cil_tmp23);
8609 }
8610 } else {
8611
8612 }
8613#line 492
8614 this = next;
8615#line 492
8616 next = *((struct list_head **)this);
8617 }
8618 while_break: ;
8619 }
8620#line 499
8621 return;
8622}
8623}
8624#line 503 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
8625static void enable_broadcast(struct phy_device *phydev , int init_page , int on )
8626{ int val ;
8627 u32 __cil_tmp5 ;
8628 u16 __cil_tmp6 ;
8629 u32 __cil_tmp7 ;
8630 int __cil_tmp8 ;
8631 int __cil_tmp9 ;
8632 int __cil_tmp10 ;
8633 u32 __cil_tmp11 ;
8634 u16 __cil_tmp12 ;
8635 u32 __cil_tmp13 ;
8636 u16 __cil_tmp14 ;
8637
8638 {
8639 {
8640#line 506
8641 __cil_tmp5 = (u32 )19;
8642#line 506
8643 __cil_tmp6 = (u16 )0;
8644#line 506
8645 phy_write(phydev, __cil_tmp5, __cil_tmp6);
8646#line 507
8647 __cil_tmp7 = (u32 )28;
8648#line 507
8649 val = phy_read(phydev, __cil_tmp7);
8650 }
8651#line 508
8652 if (on) {
8653#line 509
8654 __cil_tmp8 = 1 << 11;
8655#line 509
8656 val = val | __cil_tmp8;
8657 } else {
8658#line 511
8659 __cil_tmp9 = 1 << 11;
8660#line 511
8661 __cil_tmp10 = ~ __cil_tmp9;
8662#line 511
8663 val = val & __cil_tmp10;
8664 }
8665 {
8666#line 512
8667 __cil_tmp11 = (u32 )28;
8668#line 512
8669 __cil_tmp12 = (u16 )val;
8670#line 512
8671 phy_write(phydev, __cil_tmp11, __cil_tmp12);
8672#line 513
8673 __cil_tmp13 = (u32 )19;
8674#line 513
8675 __cil_tmp14 = (u16 )init_page;
8676#line 513
8677 phy_write(phydev, __cil_tmp13, __cil_tmp14);
8678 }
8679#line 514
8680 return;
8681}
8682}
8683#line 516 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
8684static void recalibrate(struct dp83640_clock *clock )
8685{ s64 now ;
8686 s64 diff ;
8687 struct phy_txts event_ts ;
8688 struct timespec ts ;
8689 struct list_head *this ;
8690 struct dp83640_private *tmp___7 ;
8691 struct phy_device *master ;
8692 u16 cal_gpio ;
8693 u16 cfg0 ;
8694 u16 evnt ;
8695 u16 ptp_trig ;
8696 u16 trigger ;
8697 u16 val ;
8698 struct list_head *__mptr ;
8699 int tmp___8 ;
8700 struct list_head *__mptr___0 ;
8701 int tmp___9 ;
8702 int tmp___10 ;
8703 int tmp___11 ;
8704 int tmp___12 ;
8705 int tmp___13 ;
8706 int tmp___14 ;
8707 u64 tmp___15 ;
8708 struct list_head *__mptr___1 ;
8709 int tmp___16 ;
8710 int tmp___17 ;
8711 int tmp___18 ;
8712 int tmp___19 ;
8713 int tmp___20 ;
8714 int tmp___21 ;
8715 u64 tmp___22 ;
8716 struct list_head *__mptr___2 ;
8717 unsigned long __cil_tmp34 ;
8718 unsigned long __cil_tmp35 ;
8719 struct dp83640_private *__cil_tmp36 ;
8720 unsigned long __cil_tmp37 ;
8721 unsigned long __cil_tmp38 ;
8722 unsigned long __cil_tmp39 ;
8723 unsigned long __cil_tmp40 ;
8724 unsigned long __cil_tmp41 ;
8725 unsigned long __cil_tmp42 ;
8726 struct mutex *__cil_tmp43 ;
8727 unsigned long __cil_tmp44 ;
8728 unsigned long __cil_tmp45 ;
8729 unsigned long __cil_tmp46 ;
8730 unsigned long __cil_tmp47 ;
8731 struct list_head *__cil_tmp48 ;
8732 unsigned long __cil_tmp49 ;
8733 unsigned long __cil_tmp50 ;
8734 struct dp83640_private *__cil_tmp51 ;
8735 struct list_head *__cil_tmp52 ;
8736 unsigned int __cil_tmp53 ;
8737 char *__cil_tmp54 ;
8738 char *__cil_tmp55 ;
8739 unsigned long __cil_tmp56 ;
8740 unsigned long __cil_tmp57 ;
8741 struct phy_device *__cil_tmp58 ;
8742 unsigned long __cil_tmp59 ;
8743 unsigned long __cil_tmp60 ;
8744 int __cil_tmp61 ;
8745 unsigned long __cil_tmp62 ;
8746 unsigned long __cil_tmp63 ;
8747 unsigned long __cil_tmp64 ;
8748 unsigned long __cil_tmp65 ;
8749 struct phy_device *__cil_tmp66 ;
8750 u32 __cil_tmp67 ;
8751 unsigned long __cil_tmp68 ;
8752 unsigned long __cil_tmp69 ;
8753 struct phy_device *__cil_tmp70 ;
8754 u32 __cil_tmp71 ;
8755 u16 __cil_tmp72 ;
8756 unsigned long __cil_tmp73 ;
8757 unsigned long __cil_tmp74 ;
8758 struct phy_device *__cil_tmp75 ;
8759 u32 __cil_tmp76 ;
8760 int __cil_tmp77 ;
8761 u16 __cil_tmp78 ;
8762 unsigned long __cil_tmp79 ;
8763 unsigned long __cil_tmp80 ;
8764 int __cil_tmp81 ;
8765 u32 __cil_tmp82 ;
8766 u32 __cil_tmp83 ;
8767 u16 __cil_tmp84 ;
8768 u32 __cil_tmp85 ;
8769 int __cil_tmp86 ;
8770 u16 __cil_tmp87 ;
8771 int __cil_tmp88 ;
8772 int __cil_tmp89 ;
8773 int __cil_tmp90 ;
8774 int __cil_tmp91 ;
8775 int __cil_tmp92 ;
8776 int __cil_tmp93 ;
8777 int __cil_tmp94 ;
8778 int __cil_tmp95 ;
8779 int __cil_tmp96 ;
8780 int __cil_tmp97 ;
8781 int __cil_tmp98 ;
8782 int __cil_tmp99 ;
8783 unsigned long __cil_tmp100 ;
8784 unsigned long __cil_tmp101 ;
8785 unsigned long __cil_tmp102 ;
8786 unsigned long __cil_tmp103 ;
8787 struct list_head *__cil_tmp104 ;
8788 unsigned long __cil_tmp105 ;
8789 unsigned long __cil_tmp106 ;
8790 struct dp83640_private *__cil_tmp107 ;
8791 struct list_head *__cil_tmp108 ;
8792 unsigned int __cil_tmp109 ;
8793 char *__cil_tmp110 ;
8794 char *__cil_tmp111 ;
8795 unsigned long __cil_tmp112 ;
8796 unsigned long __cil_tmp113 ;
8797 struct phy_device *__cil_tmp114 ;
8798 u32 __cil_tmp115 ;
8799 u32 __cil_tmp116 ;
8800 int __cil_tmp117 ;
8801 int __cil_tmp118 ;
8802 int __cil_tmp119 ;
8803 int __cil_tmp120 ;
8804 int __cil_tmp121 ;
8805 int __cil_tmp122 ;
8806 int __cil_tmp123 ;
8807 int __cil_tmp124 ;
8808 int __cil_tmp125 ;
8809 int __cil_tmp126 ;
8810 int __cil_tmp127 ;
8811 int __cil_tmp128 ;
8812 int __cil_tmp129 ;
8813 int __cil_tmp130 ;
8814 u32 __cil_tmp131 ;
8815 int __cil_tmp132 ;
8816 int __cil_tmp133 ;
8817 int __cil_tmp134 ;
8818 int __cil_tmp135 ;
8819 int __cil_tmp136 ;
8820 int __cil_tmp137 ;
8821 u32 __cil_tmp138 ;
8822 int __cil_tmp139 ;
8823 int __cil_tmp140 ;
8824 int __cil_tmp141 ;
8825 int __cil_tmp142 ;
8826 int __cil_tmp143 ;
8827 int __cil_tmp144 ;
8828 int __cil_tmp145 ;
8829 u32 __cil_tmp146 ;
8830 int __cil_tmp147 ;
8831 int __cil_tmp148 ;
8832 int __cil_tmp149 ;
8833 int __cil_tmp150 ;
8834 int __cil_tmp151 ;
8835 int __cil_tmp152 ;
8836 u32 __cil_tmp153 ;
8837 u32 __cil_tmp154 ;
8838 int __cil_tmp155 ;
8839 u32 __cil_tmp156 ;
8840 int __cil_tmp157 ;
8841 u32 __cil_tmp158 ;
8842 struct phy_txts *__cil_tmp159 ;
8843 u32 __cil_tmp160 ;
8844 unsigned long __cil_tmp161 ;
8845 u32 __cil_tmp162 ;
8846 unsigned long __cil_tmp163 ;
8847 u32 __cil_tmp164 ;
8848 unsigned long __cil_tmp165 ;
8849 unsigned long __cil_tmp166 ;
8850 unsigned long __cil_tmp167 ;
8851 unsigned long __cil_tmp168 ;
8852 unsigned long __cil_tmp169 ;
8853 struct list_head *__cil_tmp170 ;
8854 unsigned long __cil_tmp171 ;
8855 unsigned long __cil_tmp172 ;
8856 struct dp83640_private *__cil_tmp173 ;
8857 struct list_head *__cil_tmp174 ;
8858 unsigned int __cil_tmp175 ;
8859 char *__cil_tmp176 ;
8860 char *__cil_tmp177 ;
8861 unsigned long __cil_tmp178 ;
8862 unsigned long __cil_tmp179 ;
8863 struct phy_device *__cil_tmp180 ;
8864 u32 __cil_tmp181 ;
8865 int __cil_tmp182 ;
8866 unsigned long __cil_tmp183 ;
8867 unsigned long __cil_tmp184 ;
8868 struct phy_device *__cil_tmp185 ;
8869 u32 __cil_tmp186 ;
8870 int __cil_tmp187 ;
8871 unsigned long __cil_tmp188 ;
8872 unsigned long __cil_tmp189 ;
8873 struct phy_device *__cil_tmp190 ;
8874 u32 __cil_tmp191 ;
8875 struct phy_txts *__cil_tmp192 ;
8876 unsigned long __cil_tmp193 ;
8877 unsigned long __cil_tmp194 ;
8878 struct phy_device *__cil_tmp195 ;
8879 u32 __cil_tmp196 ;
8880 unsigned long __cil_tmp197 ;
8881 unsigned long __cil_tmp198 ;
8882 unsigned long __cil_tmp199 ;
8883 struct phy_device *__cil_tmp200 ;
8884 u32 __cil_tmp201 ;
8885 unsigned long __cil_tmp202 ;
8886 unsigned long __cil_tmp203 ;
8887 unsigned long __cil_tmp204 ;
8888 struct phy_device *__cil_tmp205 ;
8889 u32 __cil_tmp206 ;
8890 unsigned long __cil_tmp207 ;
8891 s64 __cil_tmp208 ;
8892 struct timespec *__cil_tmp209 ;
8893 s64 __cil_tmp210 ;
8894 unsigned long __cil_tmp211 ;
8895 unsigned long __cil_tmp212 ;
8896 struct phy_device *__cil_tmp213 ;
8897 struct timespec *__cil_tmp214 ;
8898 int __cil_tmp215 ;
8899 u16 __cil_tmp216 ;
8900 unsigned long __cil_tmp217 ;
8901 unsigned long __cil_tmp218 ;
8902 unsigned long __cil_tmp219 ;
8903 unsigned long __cil_tmp220 ;
8904 struct list_head *__cil_tmp221 ;
8905 unsigned long __cil_tmp222 ;
8906 unsigned long __cil_tmp223 ;
8907 struct dp83640_private *__cil_tmp224 ;
8908 struct list_head *__cil_tmp225 ;
8909 unsigned int __cil_tmp226 ;
8910 char *__cil_tmp227 ;
8911 char *__cil_tmp228 ;
8912 unsigned long __cil_tmp229 ;
8913 unsigned long __cil_tmp230 ;
8914 struct phy_device *__cil_tmp231 ;
8915 u32 __cil_tmp232 ;
8916 unsigned long __cil_tmp233 ;
8917 unsigned long __cil_tmp234 ;
8918 int __cil_tmp235 ;
8919 u16 __cil_tmp236 ;
8920 u32 __cil_tmp237 ;
8921 unsigned long __cil_tmp238 ;
8922 unsigned long __cil_tmp239 ;
8923 struct mutex *__cil_tmp240 ;
8924
8925 {
8926 {
8927#line 523
8928 __cil_tmp34 = (unsigned long )clock;
8929#line 523
8930 __cil_tmp35 = __cil_tmp34 + 264;
8931#line 523
8932 __cil_tmp36 = *((struct dp83640_private **)__cil_tmp35);
8933#line 523
8934 __cil_tmp37 = (unsigned long )__cil_tmp36;
8935#line 523
8936 __cil_tmp38 = __cil_tmp37 + 24;
8937#line 523
8938 master = *((struct phy_device **)__cil_tmp38);
8939#line 526
8940 trigger = (u16 )7;
8941#line 527
8942 __cil_tmp39 = 0 * 2UL;
8943#line 527
8944 __cil_tmp40 = (unsigned long )(gpio_tab) + __cil_tmp39;
8945#line 527
8946 cal_gpio = *((ushort *)__cil_tmp40);
8947#line 529
8948 __cil_tmp41 = (unsigned long )clock;
8949#line 529
8950 __cil_tmp42 = __cil_tmp41 + 24;
8951#line 529
8952 __cil_tmp43 = (struct mutex *)__cil_tmp42;
8953#line 529
8954 mutex_lock(__cil_tmp43);
8955#line 534
8956 __cil_tmp44 = (unsigned long )clock;
8957#line 534
8958 __cil_tmp45 = __cil_tmp44 + 272;
8959#line 534
8960 this = *((struct list_head **)__cil_tmp45);
8961 }
8962 {
8963#line 534
8964 while (1) {
8965 while_continue: ;
8966 {
8967#line 534
8968 __cil_tmp46 = (unsigned long )clock;
8969#line 534
8970 __cil_tmp47 = __cil_tmp46 + 272;
8971#line 534
8972 __cil_tmp48 = (struct list_head *)__cil_tmp47;
8973#line 534
8974 __cil_tmp49 = (unsigned long )__cil_tmp48;
8975#line 534
8976 __cil_tmp50 = (unsigned long )this;
8977#line 534
8978 if (__cil_tmp50 != __cil_tmp49) {
8979
8980 } else {
8981#line 534
8982 goto while_break;
8983 }
8984 }
8985 {
8986#line 535
8987 __mptr = (struct list_head *)this;
8988#line 535
8989 __cil_tmp51 = (struct dp83640_private *)0;
8990#line 535
8991 __cil_tmp52 = (struct list_head *)__cil_tmp51;
8992#line 535
8993 __cil_tmp53 = (unsigned int )__cil_tmp52;
8994#line 535
8995 __cil_tmp54 = (char *)__mptr;
8996#line 535
8997 __cil_tmp55 = __cil_tmp54 - __cil_tmp53;
8998#line 535
8999 tmp___7 = (struct dp83640_private *)__cil_tmp55;
9000#line 536
9001 __cil_tmp56 = (unsigned long )tmp___7;
9002#line 536
9003 __cil_tmp57 = __cil_tmp56 + 24;
9004#line 536
9005 __cil_tmp58 = *((struct phy_device **)__cil_tmp57);
9006#line 536
9007 __cil_tmp59 = (unsigned long )clock;
9008#line 536
9009 __cil_tmp60 = __cil_tmp59 + 96;
9010#line 536
9011 __cil_tmp61 = *((int *)__cil_tmp60);
9012#line 536
9013 enable_broadcast(__cil_tmp58, __cil_tmp61, 1);
9014#line 537
9015 __cil_tmp62 = (unsigned long )tmp___7;
9016#line 537
9017 __cil_tmp63 = __cil_tmp62 + 80;
9018#line 537
9019 __cil_tmp64 = (unsigned long )tmp___7;
9020#line 537
9021 __cil_tmp65 = __cil_tmp64 + 24;
9022#line 537
9023 __cil_tmp66 = *((struct phy_device **)__cil_tmp65);
9024#line 537
9025 __cil_tmp67 = (u32 )24;
9026#line 537
9027 *((int *)__cil_tmp63) = ext_read(__cil_tmp66, 5, __cil_tmp67);
9028#line 538
9029 __cil_tmp68 = (unsigned long )tmp___7;
9030#line 538
9031 __cil_tmp69 = __cil_tmp68 + 24;
9032#line 538
9033 __cil_tmp70 = *((struct phy_device **)__cil_tmp69);
9034#line 538
9035 __cil_tmp71 = (u32 )24;
9036#line 538
9037 __cil_tmp72 = (u16 )0;
9038#line 538
9039 ext_write(0, __cil_tmp70, 5, __cil_tmp71, __cil_tmp72);
9040#line 539
9041 __cil_tmp73 = (unsigned long )tmp___7;
9042#line 539
9043 __cil_tmp74 = __cil_tmp73 + 24;
9044#line 539
9045 __cil_tmp75 = *((struct phy_device **)__cil_tmp74);
9046#line 539
9047 __cil_tmp76 = (u32 )20;
9048#line 539
9049 __cil_tmp77 = 1 << 2;
9050#line 539
9051 __cil_tmp78 = (u16 )__cil_tmp77;
9052#line 539
9053 ext_write(0, __cil_tmp75, 4, __cil_tmp76, __cil_tmp78);
9054#line 534
9055 this = *((struct list_head **)this);
9056 }
9057 }
9058 while_break: ;
9059 }
9060 {
9061#line 541
9062 __cil_tmp79 = (unsigned long )clock;
9063#line 541
9064 __cil_tmp80 = __cil_tmp79 + 96;
9065#line 541
9066 __cil_tmp81 = *((int *)__cil_tmp80);
9067#line 541
9068 enable_broadcast(master, __cil_tmp81, 1);
9069#line 542
9070 __cil_tmp82 = (u32 )24;
9071#line 542
9072 tmp___8 = ext_read(master, 5, __cil_tmp82);
9073#line 542
9074 cfg0 = (u16 )tmp___8;
9075#line 543
9076 __cil_tmp83 = (u32 )24;
9077#line 543
9078 __cil_tmp84 = (u16 )0;
9079#line 543
9080 ext_write(0, master, 5, __cil_tmp83, __cil_tmp84);
9081#line 544
9082 __cil_tmp85 = (u32 )20;
9083#line 544
9084 __cil_tmp86 = 1 << 2;
9085#line 544
9086 __cil_tmp87 = (u16 )__cil_tmp86;
9087#line 544
9088 ext_write(0, master, 4, __cil_tmp85, __cil_tmp87);
9089#line 549
9090 __cil_tmp88 = 1 << 12;
9091#line 549
9092 __cil_tmp89 = 1 << 14;
9093#line 549
9094 __cil_tmp90 = 1 | __cil_tmp89;
9095#line 549
9096 __cil_tmp91 = __cil_tmp90 | __cil_tmp88;
9097#line 549
9098 evnt = (u16 )__cil_tmp91;
9099#line 550
9100 __cil_tmp92 = 7 << 1;
9101#line 550
9102 __cil_tmp93 = (int )evnt;
9103#line 550
9104 __cil_tmp94 = __cil_tmp93 | __cil_tmp92;
9105#line 550
9106 evnt = (u16 )__cil_tmp94;
9107#line 551
9108 __cil_tmp95 = (int )cal_gpio;
9109#line 551
9110 __cil_tmp96 = __cil_tmp95 & 15;
9111#line 551
9112 __cil_tmp97 = __cil_tmp96 << 8;
9113#line 551
9114 __cil_tmp98 = (int )evnt;
9115#line 551
9116 __cil_tmp99 = __cil_tmp98 | __cil_tmp97;
9117#line 551
9118 evnt = (u16 )__cil_tmp99;
9119#line 553
9120 __cil_tmp100 = (unsigned long )clock;
9121#line 553
9122 __cil_tmp101 = __cil_tmp100 + 272;
9123#line 553
9124 this = *((struct list_head **)__cil_tmp101);
9125 }
9126 {
9127#line 553
9128 while (1) {
9129 while_continue___0: ;
9130 {
9131#line 553
9132 __cil_tmp102 = (unsigned long )clock;
9133#line 553
9134 __cil_tmp103 = __cil_tmp102 + 272;
9135#line 553
9136 __cil_tmp104 = (struct list_head *)__cil_tmp103;
9137#line 553
9138 __cil_tmp105 = (unsigned long )__cil_tmp104;
9139#line 553
9140 __cil_tmp106 = (unsigned long )this;
9141#line 553
9142 if (__cil_tmp106 != __cil_tmp105) {
9143
9144 } else {
9145#line 553
9146 goto while_break___0;
9147 }
9148 }
9149 {
9150#line 554
9151 __mptr___0 = (struct list_head *)this;
9152#line 554
9153 __cil_tmp107 = (struct dp83640_private *)0;
9154#line 554
9155 __cil_tmp108 = (struct list_head *)__cil_tmp107;
9156#line 554
9157 __cil_tmp109 = (unsigned int )__cil_tmp108;
9158#line 554
9159 __cil_tmp110 = (char *)__mptr___0;
9160#line 554
9161 __cil_tmp111 = __cil_tmp110 - __cil_tmp109;
9162#line 554
9163 tmp___7 = (struct dp83640_private *)__cil_tmp111;
9164#line 555
9165 __cil_tmp112 = (unsigned long )tmp___7;
9166#line 555
9167 __cil_tmp113 = __cil_tmp112 + 24;
9168#line 555
9169 __cil_tmp114 = *((struct phy_device **)__cil_tmp113);
9170#line 555
9171 __cil_tmp115 = (u32 )21;
9172#line 555
9173 ext_write(0, __cil_tmp114, 5, __cil_tmp115, evnt);
9174#line 553
9175 this = *((struct list_head **)this);
9176 }
9177 }
9178 while_break___0: ;
9179 }
9180 {
9181#line 557
9182 __cil_tmp116 = (u32 )21;
9183#line 557
9184 ext_write(0, master, 5, __cil_tmp116, evnt);
9185#line 562
9186 __cil_tmp117 = 1 << 15;
9187#line 562
9188 __cil_tmp118 = 1 << 13;
9189#line 562
9190 __cil_tmp119 = 1 | __cil_tmp118;
9191#line 562
9192 __cil_tmp120 = __cil_tmp119 | __cil_tmp117;
9193#line 562
9194 ptp_trig = (u16 )__cil_tmp120;
9195#line 563
9196 __cil_tmp121 = (int )trigger;
9197#line 563
9198 __cil_tmp122 = __cil_tmp121 & 7;
9199#line 563
9200 __cil_tmp123 = __cil_tmp122 << 1;
9201#line 563
9202 __cil_tmp124 = (int )ptp_trig;
9203#line 563
9204 __cil_tmp125 = __cil_tmp124 | __cil_tmp123;
9205#line 563
9206 ptp_trig = (u16 )__cil_tmp125;
9207#line 564
9208 __cil_tmp126 = (int )cal_gpio;
9209#line 564
9210 __cil_tmp127 = __cil_tmp126 & 15;
9211#line 564
9212 __cil_tmp128 = __cil_tmp127 << 8;
9213#line 564
9214 __cil_tmp129 = (int )ptp_trig;
9215#line 564
9216 __cil_tmp130 = __cil_tmp129 | __cil_tmp128;
9217#line 564
9218 ptp_trig = (u16 )__cil_tmp130;
9219#line 565
9220 __cil_tmp131 = (u32 )20;
9221#line 565
9222 ext_write(0, master, 5, __cil_tmp131, ptp_trig);
9223#line 568
9224 __cil_tmp132 = (int )trigger;
9225#line 568
9226 __cil_tmp133 = __cil_tmp132 & 7;
9227#line 568
9228 __cil_tmp134 = __cil_tmp133 << 10;
9229#line 568
9230 val = (u16 )__cil_tmp134;
9231#line 569
9232 __cil_tmp135 = 1 << 6;
9233#line 569
9234 __cil_tmp136 = (int )val;
9235#line 569
9236 __cil_tmp137 = __cil_tmp136 | __cil_tmp135;
9237#line 569
9238 val = (u16 )__cil_tmp137;
9239#line 570
9240 __cil_tmp138 = (u32 )20;
9241#line 570
9242 ext_write(0, master, 4, __cil_tmp138, val);
9243#line 573
9244 __cil_tmp139 = 1 << 6;
9245#line 573
9246 __cil_tmp140 = ~ __cil_tmp139;
9247#line 573
9248 __cil_tmp141 = (int )val;
9249#line 573
9250 __cil_tmp142 = __cil_tmp141 & __cil_tmp140;
9251#line 573
9252 val = (u16 )__cil_tmp142;
9253#line 574
9254 __cil_tmp143 = 1 << 8;
9255#line 574
9256 __cil_tmp144 = (int )val;
9257#line 574
9258 __cil_tmp145 = __cil_tmp144 | __cil_tmp143;
9259#line 574
9260 val = (u16 )__cil_tmp145;
9261#line 575
9262 __cil_tmp146 = (u32 )20;
9263#line 575
9264 ext_write(0, master, 4, __cil_tmp146, val);
9265#line 578
9266 __cil_tmp147 = (int )trigger;
9267#line 578
9268 __cil_tmp148 = __cil_tmp147 & 7;
9269#line 578
9270 __cil_tmp149 = __cil_tmp148 << 10;
9271#line 578
9272 val = (u16 )__cil_tmp149;
9273#line 579
9274 __cil_tmp150 = 1 << 9;
9275#line 579
9276 __cil_tmp151 = (int )val;
9277#line 579
9278 __cil_tmp152 = __cil_tmp151 | __cil_tmp150;
9279#line 579
9280 val = (u16 )__cil_tmp152;
9281#line 580
9282 __cil_tmp153 = (u32 )20;
9283#line 580
9284 ext_write(0, master, 4, __cil_tmp153, val);
9285#line 585
9286 __cil_tmp154 = (u32 )22;
9287#line 585
9288 tmp___9 = ext_read(master, 4, __cil_tmp154);
9289#line 585
9290 val = (u16 )tmp___9;
9291#line 586
9292 __cil_tmp155 = (int )val;
9293#line 586
9294 printk("<6>master PTP_STS 0x%04hx", __cil_tmp155);
9295#line 587
9296 __cil_tmp156 = (u32 )30;
9297#line 587
9298 tmp___10 = ext_read(master, 4, __cil_tmp156);
9299#line 587
9300 val = (u16 )tmp___10;
9301#line 588
9302 __cil_tmp157 = (int )val;
9303#line 588
9304 printk("<6>master PTP_ESTS 0x%04hx", __cil_tmp157);
9305#line 589
9306 __cil_tmp158 = (u32 )31;
9307#line 589
9308 tmp___11 = ext_read(master, 4, __cil_tmp158);
9309#line 589
9310 __cil_tmp159 = & event_ts;
9311#line 589
9312 *((u16 *)__cil_tmp159) = (u16 )tmp___11;
9313#line 590
9314 __cil_tmp160 = (u32 )31;
9315#line 590
9316 tmp___12 = ext_read(master, 4, __cil_tmp160);
9317#line 590
9318 __cil_tmp161 = (unsigned long )(& event_ts) + 2;
9319#line 590
9320 *((u16 *)__cil_tmp161) = (u16 )tmp___12;
9321#line 591
9322 __cil_tmp162 = (u32 )31;
9323#line 591
9324 tmp___13 = ext_read(master, 4, __cil_tmp162);
9325#line 591
9326 __cil_tmp163 = (unsigned long )(& event_ts) + 4;
9327#line 591
9328 *((u16 *)__cil_tmp163) = (u16 )tmp___13;
9329#line 592
9330 __cil_tmp164 = (u32 )31;
9331#line 592
9332 tmp___14 = ext_read(master, 4, __cil_tmp164);
9333#line 592
9334 __cil_tmp165 = (unsigned long )(& event_ts) + 6;
9335#line 592
9336 *((u16 *)__cil_tmp165) = (u16 )tmp___14;
9337#line 593
9338 tmp___15 = phy2txts(& event_ts);
9339#line 593
9340 now = (s64 )tmp___15;
9341#line 595
9342 __cil_tmp166 = (unsigned long )clock;
9343#line 595
9344 __cil_tmp167 = __cil_tmp166 + 272;
9345#line 595
9346 this = *((struct list_head **)__cil_tmp167);
9347 }
9348 {
9349#line 595
9350 while (1) {
9351 while_continue___1: ;
9352 {
9353#line 595
9354 __cil_tmp168 = (unsigned long )clock;
9355#line 595
9356 __cil_tmp169 = __cil_tmp168 + 272;
9357#line 595
9358 __cil_tmp170 = (struct list_head *)__cil_tmp169;
9359#line 595
9360 __cil_tmp171 = (unsigned long )__cil_tmp170;
9361#line 595
9362 __cil_tmp172 = (unsigned long )this;
9363#line 595
9364 if (__cil_tmp172 != __cil_tmp171) {
9365
9366 } else {
9367#line 595
9368 goto while_break___1;
9369 }
9370 }
9371 {
9372#line 596
9373 __mptr___1 = (struct list_head *)this;
9374#line 596
9375 __cil_tmp173 = (struct dp83640_private *)0;
9376#line 596
9377 __cil_tmp174 = (struct list_head *)__cil_tmp173;
9378#line 596
9379 __cil_tmp175 = (unsigned int )__cil_tmp174;
9380#line 596
9381 __cil_tmp176 = (char *)__mptr___1;
9382#line 596
9383 __cil_tmp177 = __cil_tmp176 - __cil_tmp175;
9384#line 596
9385 tmp___7 = (struct dp83640_private *)__cil_tmp177;
9386#line 597
9387 __cil_tmp178 = (unsigned long )tmp___7;
9388#line 597
9389 __cil_tmp179 = __cil_tmp178 + 24;
9390#line 597
9391 __cil_tmp180 = *((struct phy_device **)__cil_tmp179);
9392#line 597
9393 __cil_tmp181 = (u32 )22;
9394#line 597
9395 tmp___16 = ext_read(__cil_tmp180, 4, __cil_tmp181);
9396#line 597
9397 val = (u16 )tmp___16;
9398#line 598
9399 __cil_tmp182 = (int )val;
9400#line 598
9401 printk("<6>slave PTP_STS 0x%04hx", __cil_tmp182);
9402#line 599
9403 __cil_tmp183 = (unsigned long )tmp___7;
9404#line 599
9405 __cil_tmp184 = __cil_tmp183 + 24;
9406#line 599
9407 __cil_tmp185 = *((struct phy_device **)__cil_tmp184);
9408#line 599
9409 __cil_tmp186 = (u32 )30;
9410#line 599
9411 tmp___17 = ext_read(__cil_tmp185, 4, __cil_tmp186);
9412#line 599
9413 val = (u16 )tmp___17;
9414#line 600
9415 __cil_tmp187 = (int )val;
9416#line 600
9417 printk("<6>slave PTP_ESTS 0x%04hx", __cil_tmp187);
9418#line 601
9419 __cil_tmp188 = (unsigned long )tmp___7;
9420#line 601
9421 __cil_tmp189 = __cil_tmp188 + 24;
9422#line 601
9423 __cil_tmp190 = *((struct phy_device **)__cil_tmp189);
9424#line 601
9425 __cil_tmp191 = (u32 )31;
9426#line 601
9427 tmp___18 = ext_read(__cil_tmp190, 4, __cil_tmp191);
9428#line 601
9429 __cil_tmp192 = & event_ts;
9430#line 601
9431 *((u16 *)__cil_tmp192) = (u16 )tmp___18;
9432#line 602
9433 __cil_tmp193 = (unsigned long )tmp___7;
9434#line 602
9435 __cil_tmp194 = __cil_tmp193 + 24;
9436#line 602
9437 __cil_tmp195 = *((struct phy_device **)__cil_tmp194);
9438#line 602
9439 __cil_tmp196 = (u32 )31;
9440#line 602
9441 tmp___19 = ext_read(__cil_tmp195, 4, __cil_tmp196);
9442#line 602
9443 __cil_tmp197 = (unsigned long )(& event_ts) + 2;
9444#line 602
9445 *((u16 *)__cil_tmp197) = (u16 )tmp___19;
9446#line 603
9447 __cil_tmp198 = (unsigned long )tmp___7;
9448#line 603
9449 __cil_tmp199 = __cil_tmp198 + 24;
9450#line 603
9451 __cil_tmp200 = *((struct phy_device **)__cil_tmp199);
9452#line 603
9453 __cil_tmp201 = (u32 )31;
9454#line 603
9455 tmp___20 = ext_read(__cil_tmp200, 4, __cil_tmp201);
9456#line 603
9457 __cil_tmp202 = (unsigned long )(& event_ts) + 4;
9458#line 603
9459 *((u16 *)__cil_tmp202) = (u16 )tmp___20;
9460#line 604
9461 __cil_tmp203 = (unsigned long )tmp___7;
9462#line 604
9463 __cil_tmp204 = __cil_tmp203 + 24;
9464#line 604
9465 __cil_tmp205 = *((struct phy_device **)__cil_tmp204);
9466#line 604
9467 __cil_tmp206 = (u32 )31;
9468#line 604
9469 tmp___21 = ext_read(__cil_tmp205, 4, __cil_tmp206);
9470#line 604
9471 __cil_tmp207 = (unsigned long )(& event_ts) + 6;
9472#line 604
9473 *((u16 *)__cil_tmp207) = (u16 )tmp___21;
9474#line 605
9475 tmp___22 = phy2txts(& event_ts);
9476#line 605
9477 __cil_tmp208 = (s64 )tmp___22;
9478#line 605
9479 diff = now - __cil_tmp208;
9480#line 606
9481 printk("<6>slave offset %lld nanoseconds\n", diff);
9482#line 607
9483 diff = diff + 16LL;
9484#line 608
9485 __cil_tmp209 = & ts;
9486#line 608
9487 __cil_tmp210 = (s64 )diff;
9488#line 608
9489 *__cil_tmp209 = ns_to_timespec(__cil_tmp210);
9490#line 609
9491 __cil_tmp211 = (unsigned long )tmp___7;
9492#line 609
9493 __cil_tmp212 = __cil_tmp211 + 24;
9494#line 609
9495 __cil_tmp213 = *((struct phy_device **)__cil_tmp212);
9496#line 609
9497 __cil_tmp214 = (struct timespec *)(& ts);
9498#line 609
9499 __cil_tmp215 = 1 << 3;
9500#line 609
9501 __cil_tmp216 = (u16 )__cil_tmp215;
9502#line 609
9503 tdr_write(0, __cil_tmp213, __cil_tmp214, __cil_tmp216);
9504#line 595
9505 this = *((struct list_head **)this);
9506 }
9507 }
9508 while_break___1: ;
9509 }
9510#line 615
9511 __cil_tmp217 = (unsigned long )clock;
9512#line 615
9513 __cil_tmp218 = __cil_tmp217 + 272;
9514#line 615
9515 this = *((struct list_head **)__cil_tmp218);
9516 {
9517#line 615
9518 while (1) {
9519 while_continue___2: ;
9520 {
9521#line 615
9522 __cil_tmp219 = (unsigned long )clock;
9523#line 615
9524 __cil_tmp220 = __cil_tmp219 + 272;
9525#line 615
9526 __cil_tmp221 = (struct list_head *)__cil_tmp220;
9527#line 615
9528 __cil_tmp222 = (unsigned long )__cil_tmp221;
9529#line 615
9530 __cil_tmp223 = (unsigned long )this;
9531#line 615
9532 if (__cil_tmp223 != __cil_tmp222) {
9533
9534 } else {
9535#line 615
9536 goto while_break___2;
9537 }
9538 }
9539 {
9540#line 616
9541 __mptr___2 = (struct list_head *)this;
9542#line 616
9543 __cil_tmp224 = (struct dp83640_private *)0;
9544#line 616
9545 __cil_tmp225 = (struct list_head *)__cil_tmp224;
9546#line 616
9547 __cil_tmp226 = (unsigned int )__cil_tmp225;
9548#line 616
9549 __cil_tmp227 = (char *)__mptr___2;
9550#line 616
9551 __cil_tmp228 = __cil_tmp227 - __cil_tmp226;
9552#line 616
9553 tmp___7 = (struct dp83640_private *)__cil_tmp228;
9554#line 617
9555 __cil_tmp229 = (unsigned long )tmp___7;
9556#line 617
9557 __cil_tmp230 = __cil_tmp229 + 24;
9558#line 617
9559 __cil_tmp231 = *((struct phy_device **)__cil_tmp230);
9560#line 617
9561 __cil_tmp232 = (u32 )24;
9562#line 617
9563 __cil_tmp233 = (unsigned long )tmp___7;
9564#line 617
9565 __cil_tmp234 = __cil_tmp233 + 80;
9566#line 617
9567 __cil_tmp235 = *((int *)__cil_tmp234);
9568#line 617
9569 __cil_tmp236 = (u16 )__cil_tmp235;
9570#line 617
9571 ext_write(0, __cil_tmp231, 5, __cil_tmp232, __cil_tmp236);
9572#line 615
9573 this = *((struct list_head **)this);
9574 }
9575 }
9576 while_break___2: ;
9577 }
9578 {
9579#line 619
9580 __cil_tmp237 = (u32 )24;
9581#line 619
9582 ext_write(0, master, 5, __cil_tmp237, cfg0);
9583#line 621
9584 __cil_tmp238 = (unsigned long )clock;
9585#line 621
9586 __cil_tmp239 = __cil_tmp238 + 24;
9587#line 621
9588 __cil_tmp240 = (struct mutex *)__cil_tmp239;
9589#line 621
9590 mutex_unlock(__cil_tmp240);
9591 }
9592#line 622
9593 return;
9594}
9595}
9596#line 626
9597__inline static u16 exts_chan_to_edata(int ch ) __attribute__((__no_instrument_function__)) ;
9598#line 626 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
9599__inline static u16 exts_chan_to_edata(int ch )
9600{ int __cil_tmp2 ;
9601 int __cil_tmp3 ;
9602 int __cil_tmp4 ;
9603
9604 {
9605 {
9606#line 628
9607 __cil_tmp2 = ch + 1;
9608#line 628
9609 __cil_tmp3 = __cil_tmp2 * 2;
9610#line 628
9611 __cil_tmp4 = 1 << __cil_tmp3;
9612#line 628
9613 return ((u16 )__cil_tmp4);
9614 }
9615}
9616}
9617#line 631 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
9618static int decode_evnt(struct dp83640_private *dp83640 , void *data , u16 ests )
9619{ struct phy_txts *phy_txts ;
9620 struct ptp_clock_event event ;
9621 int i ;
9622 int parsed ;
9623 int words ;
9624 u16 ext_status ;
9625 u16 tmp___7 ;
9626 int __cil_tmp11 ;
9627 int __cil_tmp12 ;
9628 int __cil_tmp13 ;
9629 int __cil_tmp14 ;
9630 u16 *__cil_tmp15 ;
9631 unsigned long __cil_tmp16 ;
9632 unsigned long __cil_tmp17 ;
9633 unsigned long __cil_tmp18 ;
9634 unsigned long __cil_tmp19 ;
9635 unsigned long __cil_tmp20 ;
9636 unsigned long __cil_tmp21 ;
9637 unsigned long __cil_tmp22 ;
9638 unsigned long __cil_tmp23 ;
9639 unsigned long __cil_tmp24 ;
9640 unsigned long __cil_tmp25 ;
9641 unsigned long __cil_tmp26 ;
9642 unsigned long __cil_tmp27 ;
9643 unsigned long __cil_tmp28 ;
9644 unsigned long __cil_tmp29 ;
9645 unsigned long __cil_tmp30 ;
9646 unsigned long __cil_tmp31 ;
9647 unsigned long __cil_tmp32 ;
9648 int __cil_tmp33 ;
9649 int __cil_tmp34 ;
9650 int __cil_tmp35 ;
9651 struct ptp_clock_event *__cil_tmp36 ;
9652 unsigned long __cil_tmp37 ;
9653 unsigned long __cil_tmp38 ;
9654 unsigned long __cil_tmp39 ;
9655 struct phy_txts *__cil_tmp40 ;
9656 int __cil_tmp41 ;
9657 int __cil_tmp42 ;
9658 unsigned long __cil_tmp43 ;
9659 unsigned long __cil_tmp44 ;
9660 unsigned long __cil_tmp45 ;
9661 struct dp83640_clock *__cil_tmp46 ;
9662 unsigned long __cil_tmp47 ;
9663 unsigned long __cil_tmp48 ;
9664 struct ptp_clock *__cil_tmp49 ;
9665 unsigned long __cil_tmp50 ;
9666 unsigned long __cil_tmp51 ;
9667
9668 {
9669#line 637
9670 __cil_tmp11 = (int )ests;
9671#line 637
9672 __cil_tmp12 = __cil_tmp11 >> 6;
9673#line 637
9674 words = __cil_tmp12 & 3;
9675#line 638
9676 ext_status = (u16 )0;
9677 {
9678#line 640
9679 __cil_tmp13 = 1 << 1;
9680#line 640
9681 __cil_tmp14 = (int )ests;
9682#line 640
9683 if (__cil_tmp14 & __cil_tmp13) {
9684#line 641
9685 __cil_tmp15 = (u16 *)data;
9686#line 641
9687 ext_status = *__cil_tmp15;
9688#line 642
9689 data = data + 2UL;
9690 } else {
9691
9692 }
9693 }
9694#line 645
9695 phy_txts = (struct phy_txts *)data;
9696#line 648
9697 if (words == 3) {
9698#line 648
9699 goto case_3;
9700 } else
9701#line 650
9702 if (words == 2) {
9703#line 650
9704 goto case_2;
9705 } else
9706#line 652
9707 if (words == 1) {
9708#line 652
9709 goto case_1;
9710 } else
9711#line 654
9712 if (words == 0) {
9713#line 654
9714 goto case_0;
9715 } else
9716#line 647
9717 if (0) {
9718 case_3:
9719#line 649
9720 __cil_tmp16 = 84 + 6;
9721#line 649
9722 __cil_tmp17 = (unsigned long )dp83640;
9723#line 649
9724 __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
9725#line 649
9726 __cil_tmp19 = (unsigned long )phy_txts;
9727#line 649
9728 __cil_tmp20 = __cil_tmp19 + 6;
9729#line 649
9730 *((u16 *)__cil_tmp18) = *((u16 *)__cil_tmp20);
9731 case_2:
9732#line 651
9733 __cil_tmp21 = 84 + 4;
9734#line 651
9735 __cil_tmp22 = (unsigned long )dp83640;
9736#line 651
9737 __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
9738#line 651
9739 __cil_tmp24 = (unsigned long )phy_txts;
9740#line 651
9741 __cil_tmp25 = __cil_tmp24 + 4;
9742#line 651
9743 *((u16 *)__cil_tmp23) = *((u16 *)__cil_tmp25);
9744 case_1:
9745#line 653
9746 __cil_tmp26 = 84 + 2;
9747#line 653
9748 __cil_tmp27 = (unsigned long )dp83640;
9749#line 653
9750 __cil_tmp28 = __cil_tmp27 + __cil_tmp26;
9751#line 653
9752 __cil_tmp29 = (unsigned long )phy_txts;
9753#line 653
9754 __cil_tmp30 = __cil_tmp29 + 2;
9755#line 653
9756 *((u16 *)__cil_tmp28) = *((u16 *)__cil_tmp30);
9757 case_0:
9758#line 655
9759 __cil_tmp31 = (unsigned long )dp83640;
9760#line 655
9761 __cil_tmp32 = __cil_tmp31 + 84;
9762#line 655
9763 *((u16 *)__cil_tmp32) = *((u16 *)phy_txts);
9764 } else {
9765 switch_break: ;
9766 }
9767#line 658
9768 if (ext_status) {
9769#line 659
9770 parsed = words + 2;
9771 } else {
9772 {
9773#line 661
9774 parsed = words + 1;
9775#line 662
9776 __cil_tmp33 = (int )ests;
9777#line 662
9778 __cil_tmp34 = __cil_tmp33 >> 2;
9779#line 662
9780 __cil_tmp35 = __cil_tmp34 & 7;
9781#line 662
9782 i = __cil_tmp35 - 1;
9783#line 663
9784 ext_status = exts_chan_to_edata(i);
9785 }
9786 }
9787 {
9788#line 666
9789 __cil_tmp36 = & event;
9790#line 666
9791 *((int *)__cil_tmp36) = 1;
9792#line 667
9793 __cil_tmp37 = (unsigned long )(& event) + 8;
9794#line 667
9795 __cil_tmp38 = (unsigned long )dp83640;
9796#line 667
9797 __cil_tmp39 = __cil_tmp38 + 84;
9798#line 667
9799 __cil_tmp40 = (struct phy_txts *)__cil_tmp39;
9800#line 667
9801 *((u64 *)__cil_tmp37) = phy2txts(__cil_tmp40);
9802#line 669
9803 i = 0;
9804 }
9805 {
9806#line 669
9807 while (1) {
9808 while_continue: ;
9809#line 669
9810 if (i < 6) {
9811
9812 } else {
9813#line 669
9814 goto while_break;
9815 }
9816 {
9817#line 670
9818 tmp___7 = exts_chan_to_edata(i);
9819 }
9820 {
9821#line 670
9822 __cil_tmp41 = (int )tmp___7;
9823#line 670
9824 __cil_tmp42 = (int )ext_status;
9825#line 670
9826 if (__cil_tmp42 & __cil_tmp41) {
9827 {
9828#line 671
9829 __cil_tmp43 = (unsigned long )(& event) + 4;
9830#line 671
9831 *((int *)__cil_tmp43) = i;
9832#line 672
9833 __cil_tmp44 = (unsigned long )dp83640;
9834#line 672
9835 __cil_tmp45 = __cil_tmp44 + 16;
9836#line 672
9837 __cil_tmp46 = *((struct dp83640_clock **)__cil_tmp45);
9838#line 672
9839 __cil_tmp47 = (unsigned long )__cil_tmp46;
9840#line 672
9841 __cil_tmp48 = __cil_tmp47 + 288;
9842#line 672
9843 __cil_tmp49 = *((struct ptp_clock **)__cil_tmp48);
9844#line 672
9845 ptp_clock_event(__cil_tmp49, & event);
9846 }
9847 } else {
9848
9849 }
9850 }
9851#line 669
9852 i = i + 1;
9853 }
9854 while_break: ;
9855 }
9856 {
9857#line 676
9858 __cil_tmp50 = (unsigned long )parsed;
9859#line 676
9860 __cil_tmp51 = __cil_tmp50 * 2UL;
9861#line 676
9862 return ((int )__cil_tmp51);
9863 }
9864}
9865}
9866#line 690
9867static void decode_rxts(struct dp83640_private *dp83640 , struct phy_rxts *phy_rxts ) ;
9868#line 690 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
9869static struct _ddebug __attribute__((__aligned__(8))) descriptor __attribute__((__used__,
9870__section__("__verbose"))) = {"dp83640", "decode_rxts", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c",
9871 "dp83640: rx timestamp pool is empty\n", 690U, 0U};
9872#line 679 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
9873static void decode_rxts(struct dp83640_private *dp83640 , struct phy_rxts *phy_rxts )
9874{ struct rxts *rxts ;
9875 unsigned long flags ;
9876 raw_spinlock_t *tmp___7 ;
9877 long tmp___8 ;
9878 int tmp___9 ;
9879 struct list_head *__mptr ;
9880 unsigned long __cil_tmp11 ;
9881 unsigned long __cil_tmp12 ;
9882 spinlock_t *__cil_tmp13 ;
9883 unsigned long __cil_tmp14 ;
9884 unsigned long __cil_tmp15 ;
9885 struct list_head *__cil_tmp16 ;
9886 struct list_head *__cil_tmp17 ;
9887 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp18 ;
9888 unsigned int __cil_tmp19 ;
9889 unsigned int __cil_tmp20 ;
9890 int __cil_tmp21 ;
9891 int __cil_tmp22 ;
9892 long __cil_tmp23 ;
9893 unsigned long __cil_tmp24 ;
9894 unsigned long __cil_tmp25 ;
9895 struct list_head *__cil_tmp26 ;
9896 struct rxts *__cil_tmp27 ;
9897 struct list_head *__cil_tmp28 ;
9898 unsigned int __cil_tmp29 ;
9899 char *__cil_tmp30 ;
9900 char *__cil_tmp31 ;
9901 struct list_head *__cil_tmp32 ;
9902 struct list_head *__cil_tmp33 ;
9903 unsigned long __cil_tmp34 ;
9904 unsigned long __cil_tmp35 ;
9905 struct list_head *__cil_tmp36 ;
9906 unsigned long __cil_tmp37 ;
9907 unsigned long __cil_tmp38 ;
9908 spinlock_t *__cil_tmp39 ;
9909
9910 {
9911 {
9912#line 685
9913 while (1) {
9914 while_continue: ;
9915 {
9916#line 685
9917 while (1) {
9918 while_continue___0: ;
9919 {
9920#line 685
9921 __cil_tmp11 = (unsigned long )dp83640;
9922#line 685
9923 __cil_tmp12 = __cil_tmp11 + 2688;
9924#line 685
9925 __cil_tmp13 = (spinlock_t *)__cil_tmp12;
9926#line 685
9927 tmp___7 = spinlock_check(__cil_tmp13);
9928#line 685
9929 flags = _raw_spin_lock_irqsave(tmp___7);
9930 }
9931#line 685
9932 goto while_break___0;
9933 }
9934 while_break___0: ;
9935 }
9936#line 685
9937 goto while_break;
9938 }
9939 while_break: ;
9940 }
9941 {
9942#line 687
9943 prune_rx_ts(dp83640);
9944#line 689
9945 __cil_tmp14 = (unsigned long )dp83640;
9946#line 689
9947 __cil_tmp15 = __cil_tmp14 + 112;
9948#line 689
9949 __cil_tmp16 = (struct list_head *)__cil_tmp15;
9950#line 689
9951 __cil_tmp17 = (struct list_head *)__cil_tmp16;
9952#line 689
9953 tmp___9 = list_empty(__cil_tmp17);
9954 }
9955#line 689
9956 if (tmp___9) {
9957 {
9958#line 690
9959 while (1) {
9960 while_continue___1: ;
9961 {
9962#line 690
9963 __cil_tmp18 = & descriptor;
9964#line 690
9965 __cil_tmp19 = __cil_tmp18->flags;
9966#line 690
9967 __cil_tmp20 = __cil_tmp19 & 1U;
9968#line 690
9969 __cil_tmp21 = ! __cil_tmp20;
9970#line 690
9971 __cil_tmp22 = ! __cil_tmp21;
9972#line 690
9973 __cil_tmp23 = (long )__cil_tmp22;
9974#line 690
9975 tmp___8 = __builtin_expect(__cil_tmp23, 0L);
9976 }
9977#line 690
9978 if (tmp___8) {
9979 {
9980#line 690
9981 __dynamic_pr_debug(& descriptor, "dp83640: rx timestamp pool is empty\n");
9982 }
9983 } else {
9984
9985 }
9986#line 690
9987 goto while_break___1;
9988 }
9989 while_break___1: ;
9990 }
9991#line 691
9992 goto out;
9993 } else {
9994
9995 }
9996 {
9997#line 693
9998 __cil_tmp24 = (unsigned long )dp83640;
9999#line 693
10000 __cil_tmp25 = __cil_tmp24 + 112;
10001#line 693
10002 __cil_tmp26 = *((struct list_head **)__cil_tmp25);
10003#line 693
10004 __mptr = (struct list_head *)__cil_tmp26;
10005#line 693
10006 __cil_tmp27 = (struct rxts *)0;
10007#line 693
10008 __cil_tmp28 = (struct list_head *)__cil_tmp27;
10009#line 693
10010 __cil_tmp29 = (unsigned int )__cil_tmp28;
10011#line 693
10012 __cil_tmp30 = (char *)__mptr;
10013#line 693
10014 __cil_tmp31 = __cil_tmp30 - __cil_tmp29;
10015#line 693
10016 rxts = (struct rxts *)__cil_tmp31;
10017#line 694
10018 __cil_tmp32 = (struct list_head *)rxts;
10019#line 694
10020 list_del_init(__cil_tmp32);
10021#line 695
10022 phy2rxts(phy_rxts, rxts);
10023#line 696
10024 __cil_tmp33 = (struct list_head *)rxts;
10025#line 696
10026 __cil_tmp34 = (unsigned long )dp83640;
10027#line 696
10028 __cil_tmp35 = __cil_tmp34 + 96;
10029#line 696
10030 __cil_tmp36 = (struct list_head *)__cil_tmp35;
10031#line 696
10032 list_add_tail(__cil_tmp33, __cil_tmp36);
10033 }
10034 out:
10035 {
10036#line 698
10037 __cil_tmp37 = (unsigned long )dp83640;
10038#line 698
10039 __cil_tmp38 = __cil_tmp37 + 2688;
10040#line 698
10041 __cil_tmp39 = (spinlock_t *)__cil_tmp38;
10042#line 698
10043 spin_unlock_irqrestore(__cil_tmp39, flags);
10044 }
10045#line 699
10046 return;
10047}
10048}
10049#line 713
10050static void decode_txts(struct dp83640_private *dp83640 , struct phy_txts *phy_txts ) ;
10051#line 713 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
10052static struct _ddebug __attribute__((__aligned__(8))) descriptor___0 __attribute__((__used__,
10053__section__("__verbose"))) = {"dp83640", "decode_txts", "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c",
10054 "dp83640: have timestamp but tx_queue empty\n", 713U, 0U};
10055#line 701 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
10056static void decode_txts(struct dp83640_private *dp83640 , struct phy_txts *phy_txts )
10057{ struct skb_shared_hwtstamps shhwtstamps ;
10058 struct sk_buff *skb ;
10059 u64 ns ;
10060 long tmp___7 ;
10061 unsigned long __cil_tmp7 ;
10062 unsigned long __cil_tmp8 ;
10063 struct sk_buff_head *__cil_tmp9 ;
10064 struct _ddebug __attribute__((__aligned__(8))) *__cil_tmp10 ;
10065 unsigned int __cil_tmp11 ;
10066 unsigned int __cil_tmp12 ;
10067 int __cil_tmp13 ;
10068 int __cil_tmp14 ;
10069 long __cil_tmp15 ;
10070 void *__cil_tmp16 ;
10071 struct skb_shared_hwtstamps *__cil_tmp17 ;
10072
10073 {
10074 {
10075#line 710
10076 __cil_tmp7 = (unsigned long )dp83640;
10077#line 710
10078 __cil_tmp8 = __cil_tmp7 + 2760;
10079#line 710
10080 __cil_tmp9 = (struct sk_buff_head *)__cil_tmp8;
10081#line 710
10082 skb = skb_dequeue(__cil_tmp9);
10083 }
10084#line 712
10085 if (! skb) {
10086 {
10087#line 713
10088 while (1) {
10089 while_continue: ;
10090 {
10091#line 713
10092 __cil_tmp10 = & descriptor___0;
10093#line 713
10094 __cil_tmp11 = __cil_tmp10->flags;
10095#line 713
10096 __cil_tmp12 = __cil_tmp11 & 1U;
10097#line 713
10098 __cil_tmp13 = ! __cil_tmp12;
10099#line 713
10100 __cil_tmp14 = ! __cil_tmp13;
10101#line 713
10102 __cil_tmp15 = (long )__cil_tmp14;
10103#line 713
10104 tmp___7 = __builtin_expect(__cil_tmp15, 0L);
10105 }
10106#line 713
10107 if (tmp___7) {
10108 {
10109#line 713
10110 __dynamic_pr_debug(& descriptor___0, "dp83640: have timestamp but tx_queue empty\n");
10111 }
10112 } else {
10113
10114 }
10115#line 713
10116 goto while_break;
10117 }
10118 while_break: ;
10119 }
10120#line 714
10121 return;
10122 } else {
10123
10124 }
10125 {
10126#line 716
10127 ns = phy2txts(phy_txts);
10128#line 717
10129 __cil_tmp16 = (void *)(& shhwtstamps);
10130#line 717
10131 memset(__cil_tmp16, 0, 16UL);
10132#line 718
10133 __cil_tmp17 = & shhwtstamps;
10134#line 718
10135 *((ktime_t *)__cil_tmp17) = ns_to_ktime(ns);
10136#line 719
10137 skb_complete_tx_timestamp(skb, & shhwtstamps);
10138 }
10139#line 720
10140 return;
10141}
10142}
10143#line 722 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
10144static void decode_status_frame(struct dp83640_private *dp83640 , struct sk_buff *skb )
10145{ struct phy_rxts *phy_rxts ;
10146 struct phy_txts *phy_txts ;
10147 u8 *ptr ;
10148 int len ;
10149 int size ;
10150 u16 ests ;
10151 u16 type ;
10152 unsigned int tmp___7 ;
10153 unsigned long __cil_tmp11 ;
10154 unsigned long __cil_tmp12 ;
10155 unsigned char *__cil_tmp13 ;
10156 struct sk_buff *__cil_tmp14 ;
10157 unsigned int __cil_tmp15 ;
10158 unsigned long __cil_tmp16 ;
10159 u16 *__cil_tmp17 ;
10160 int __cil_tmp18 ;
10161 int __cil_tmp19 ;
10162 int __cil_tmp20 ;
10163 int __cil_tmp21 ;
10164 unsigned long __cil_tmp22 ;
10165 unsigned long __cil_tmp23 ;
10166 int __cil_tmp24 ;
10167 unsigned long __cil_tmp25 ;
10168 int __cil_tmp26 ;
10169 unsigned long __cil_tmp27 ;
10170 int __cil_tmp28 ;
10171 unsigned long __cil_tmp29 ;
10172 void *__cil_tmp30 ;
10173
10174 {
10175 {
10176#line 731
10177 __cil_tmp11 = (unsigned long )skb;
10178#line 731
10179 __cil_tmp12 = __cil_tmp11 + 224;
10180#line 731
10181 __cil_tmp13 = *((unsigned char **)__cil_tmp12);
10182#line 731
10183 ptr = __cil_tmp13 + 2;
10184#line 733
10185 __cil_tmp14 = (struct sk_buff *)skb;
10186#line 733
10187 tmp___7 = skb_headlen(__cil_tmp14);
10188#line 733
10189 __cil_tmp15 = tmp___7 - 2U;
10190#line 733
10191 len = (int )__cil_tmp15;
10192 }
10193 {
10194#line 733
10195 while (1) {
10196 while_continue: ;
10197 {
10198#line 733
10199 __cil_tmp16 = (unsigned long )len;
10200#line 733
10201 if (__cil_tmp16 > 2UL) {
10202
10203 } else {
10204#line 733
10205 goto while_break;
10206 }
10207 }
10208#line 735
10209 __cil_tmp17 = (u16 *)ptr;
10210#line 735
10211 type = *__cil_tmp17;
10212#line 736
10213 __cil_tmp18 = (int )type;
10214#line 736
10215 __cil_tmp19 = __cil_tmp18 & 4095;
10216#line 736
10217 ests = (u16 )__cil_tmp19;
10218#line 737
10219 __cil_tmp20 = (int )type;
10220#line 737
10221 __cil_tmp21 = __cil_tmp20 & 61440;
10222#line 737
10223 type = (u16 )__cil_tmp21;
10224#line 738
10225 __cil_tmp22 = (unsigned long )len;
10226#line 738
10227 __cil_tmp23 = __cil_tmp22 - 2UL;
10228#line 738
10229 len = (int )__cil_tmp23;
10230#line 739
10231 ptr = ptr + 2UL;
10232 {
10233#line 741
10234 __cil_tmp24 = (int )type;
10235#line 741
10236 if (8192 == __cil_tmp24) {
10237 {
10238#line 741
10239 __cil_tmp25 = (unsigned long )len;
10240#line 741
10241 if (__cil_tmp25 >= 12UL) {
10242 {
10243#line 743
10244 phy_rxts = (struct phy_rxts *)ptr;
10245#line 744
10246 decode_rxts(dp83640, phy_rxts);
10247#line 745
10248 size = (int )12UL;
10249 }
10250 } else {
10251#line 741
10252 goto _L___0;
10253 }
10254 }
10255 } else {
10256 _L___0:
10257 {
10258#line 747
10259 __cil_tmp26 = (int )type;
10260#line 747
10261 if (4096 == __cil_tmp26) {
10262 {
10263#line 747
10264 __cil_tmp27 = (unsigned long )len;
10265#line 747
10266 if (__cil_tmp27 >= 8UL) {
10267 {
10268#line 749
10269 phy_txts = (struct phy_txts *)ptr;
10270#line 750
10271 decode_txts(dp83640, phy_txts);
10272#line 751
10273 size = (int )8UL;
10274 }
10275 } else {
10276#line 747
10277 goto _L;
10278 }
10279 }
10280 } else {
10281 _L:
10282 {
10283#line 753
10284 __cil_tmp28 = (int )type;
10285#line 753
10286 if (16384 == __cil_tmp28) {
10287 {
10288#line 753
10289 __cil_tmp29 = (unsigned long )len;
10290#line 753
10291 if (__cil_tmp29 >= 8UL) {
10292 {
10293#line 755
10294 __cil_tmp30 = (void *)ptr;
10295#line 755
10296 size = decode_evnt(dp83640, __cil_tmp30, ests);
10297 }
10298 } else {
10299#line 758
10300 size = 0;
10301#line 759
10302 goto while_break;
10303 }
10304 }
10305 } else {
10306#line 758
10307 size = 0;
10308#line 759
10309 goto while_break;
10310 }
10311 }
10312 }
10313 }
10314 }
10315 }
10316#line 761
10317 ptr = ptr + size;
10318#line 733
10319 len = len - size;
10320 }
10321 while_break: ;
10322 }
10323#line 763
10324 return;
10325}
10326}
10327#line 765 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
10328static int is_sync(struct sk_buff *skb , int type )
10329{ u8 *data ;
10330 u8 *msgtype ;
10331 unsigned int offset ;
10332 unsigned long __cil_tmp6 ;
10333 unsigned long __cil_tmp7 ;
10334 u8 *__cil_tmp8 ;
10335 struct iphdr *__cil_tmp9 ;
10336 __u8 __cil_tmp10 ;
10337 int __cil_tmp11 ;
10338 int __cil_tmp12 ;
10339 int __cil_tmp13 ;
10340 int __cil_tmp14 ;
10341 unsigned int __cil_tmp15 ;
10342 unsigned long __cil_tmp16 ;
10343 unsigned long __cil_tmp17 ;
10344 unsigned int __cil_tmp18 ;
10345 u8 __cil_tmp19 ;
10346 int __cil_tmp20 ;
10347 int __cil_tmp21 ;
10348
10349 {
10350#line 767
10351 __cil_tmp6 = (unsigned long )skb;
10352#line 767
10353 __cil_tmp7 = __cil_tmp6 + 224;
10354#line 767
10355 data = *((unsigned char **)__cil_tmp7);
10356#line 768
10357 offset = 0U;
10358#line 771
10359 if (type == 17) {
10360#line 771
10361 goto case_17;
10362 } else
10363#line 772
10364 if (type == 18) {
10365#line 772
10366 goto case_17;
10367 } else
10368#line 775
10369 if (type == 33) {
10370#line 775
10371 goto case_33;
10372 } else
10373#line 776
10374 if (type == 34) {
10375#line 776
10376 goto case_33;
10377 } else
10378#line 779
10379 if (type == 50) {
10380#line 779
10381 goto case_50;
10382 } else
10383#line 782
10384 if (type == 66) {
10385#line 782
10386 goto case_66;
10387 } else {
10388 {
10389#line 785
10390 goto switch_default;
10391#line 770
10392 if (0) {
10393 case_17:
10394 case_18:
10395#line 773
10396 __cil_tmp8 = data + 14;
10397#line 773
10398 __cil_tmp9 = (struct iphdr *)__cil_tmp8;
10399#line 773
10400 __cil_tmp10 = *((__u8 *)__cil_tmp9);
10401#line 773
10402 __cil_tmp11 = (int )__cil_tmp10;
10403#line 773
10404 __cil_tmp12 = __cil_tmp11 << 2;
10405#line 773
10406 __cil_tmp13 = 14 + __cil_tmp12;
10407#line 773
10408 __cil_tmp14 = __cil_tmp13 + 8;
10409#line 773
10410 offset = (unsigned int )__cil_tmp14;
10411#line 774
10412 goto switch_break;
10413 case_33:
10414 case_34:
10415#line 777
10416 offset = 62U;
10417#line 778
10418 goto switch_break;
10419 case_50:
10420#line 780
10421 offset = 14U;
10422#line 781
10423 goto switch_break;
10424 case_66:
10425#line 783
10426 offset = 18U;
10427#line 784
10428 goto switch_break;
10429 switch_default:
10430#line 786
10431 return (0);
10432 } else {
10433 switch_break: ;
10434 }
10435 }
10436 }
10437#line 789
10438 if (type & 1) {
10439#line 790
10440 offset = offset + 32U;
10441 } else {
10442
10443 }
10444 {
10445#line 792
10446 __cil_tmp15 = offset + 1U;
10447#line 792
10448 __cil_tmp16 = (unsigned long )skb;
10449#line 792
10450 __cil_tmp17 = __cil_tmp16 + 104;
10451#line 792
10452 __cil_tmp18 = *((unsigned int *)__cil_tmp17);
10453#line 792
10454 if (__cil_tmp18 < __cil_tmp15) {
10455#line 793
10456 return (0);
10457 } else {
10458
10459 }
10460 }
10461#line 795
10462 msgtype = data + offset;
10463 {
10464#line 797
10465 __cil_tmp19 = *msgtype;
10466#line 797
10467 __cil_tmp20 = (int )__cil_tmp19;
10468#line 797
10469 __cil_tmp21 = __cil_tmp20 & 15;
10470#line 797
10471 return (__cil_tmp21 == 0);
10472 }
10473}
10474}
10475#line 800 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
10476static int match(struct sk_buff *skb , unsigned int type , struct rxts *rxts )
10477{ u16 *seqid ;
10478 unsigned int offset ;
10479 u8 *msgtype ;
10480 u8 *data ;
10481 unsigned char *tmp___7 ;
10482 long tmp___8 ;
10483 __u16 tmp___9 ;
10484 int tmp___10 ;
10485 struct sk_buff *__cil_tmp12 ;
10486 u8 *__cil_tmp13 ;
10487 struct iphdr *__cil_tmp14 ;
10488 __u8 __cil_tmp15 ;
10489 int __cil_tmp16 ;
10490 int __cil_tmp17 ;
10491 int __cil_tmp18 ;
10492 int __cil_tmp19 ;
10493 unsigned int __cil_tmp20 ;
10494 unsigned long __cil_tmp21 ;
10495 unsigned long __cil_tmp22 ;
10496 unsigned long __cil_tmp23 ;
10497 unsigned long __cil_tmp24 ;
10498 unsigned int __cil_tmp25 ;
10499 unsigned int __cil_tmp26 ;
10500 unsigned long __cil_tmp27 ;
10501 unsigned int __cil_tmp28 ;
10502 int __cil_tmp29 ;
10503 int __cil_tmp30 ;
10504 long __cil_tmp31 ;
10505 u8 *__cil_tmp32 ;
10506 u8 *__cil_tmp33 ;
10507 u8 *__cil_tmp34 ;
10508 u8 __cil_tmp35 ;
10509 int __cil_tmp36 ;
10510 int __cil_tmp37 ;
10511 unsigned long __cil_tmp38 ;
10512 unsigned long __cil_tmp39 ;
10513 u8 __cil_tmp40 ;
10514 int __cil_tmp41 ;
10515 u16 __cil_tmp42 ;
10516 int __cil_tmp43 ;
10517 unsigned long __cil_tmp44 ;
10518 unsigned long __cil_tmp45 ;
10519 u16 __cil_tmp46 ;
10520 int __cil_tmp47 ;
10521
10522 {
10523 {
10524#line 804
10525 __cil_tmp12 = (struct sk_buff *)skb;
10526#line 804
10527 tmp___7 = skb_mac_header(__cil_tmp12);
10528#line 804
10529 data = tmp___7;
10530 }
10531#line 809
10532 if ((int )type == 17) {
10533#line 809
10534 goto case_17;
10535 } else
10536#line 810
10537 if ((int )type == 18) {
10538#line 810
10539 goto case_17;
10540 } else
10541#line 813
10542 if ((int )type == 33) {
10543#line 813
10544 goto case_33;
10545 } else
10546#line 814
10547 if ((int )type == 34) {
10548#line 814
10549 goto case_33;
10550 } else
10551#line 817
10552 if ((int )type == 50) {
10553#line 817
10554 goto case_50;
10555 } else
10556#line 820
10557 if ((int )type == 66) {
10558#line 820
10559 goto case_66;
10560 } else {
10561 {
10562#line 823
10563 goto switch_default;
10564#line 808
10565 if (0) {
10566 case_17:
10567 case_18:
10568#line 811
10569 __cil_tmp13 = data + 14;
10570#line 811
10571 __cil_tmp14 = (struct iphdr *)__cil_tmp13;
10572#line 811
10573 __cil_tmp15 = *((__u8 *)__cil_tmp14);
10574#line 811
10575 __cil_tmp16 = (int )__cil_tmp15;
10576#line 811
10577 __cil_tmp17 = __cil_tmp16 << 2;
10578#line 811
10579 __cil_tmp18 = 14 + __cil_tmp17;
10580#line 811
10581 __cil_tmp19 = __cil_tmp18 + 8;
10582#line 811
10583 offset = (unsigned int )__cil_tmp19;
10584#line 812
10585 goto switch_break;
10586 case_33:
10587 case_34:
10588#line 815
10589 offset = 62U;
10590#line 816
10591 goto switch_break;
10592 case_50:
10593#line 818
10594 offset = 14U;
10595#line 819
10596 goto switch_break;
10597 case_66:
10598#line 821
10599 offset = 18U;
10600#line 822
10601 goto switch_break;
10602 switch_default:
10603#line 824
10604 return (0);
10605 } else {
10606 switch_break: ;
10607 }
10608 }
10609 }
10610 {
10611#line 827
10612 __cil_tmp20 = offset + 30U;
10613#line 827
10614 __cil_tmp21 = (unsigned long )__cil_tmp20;
10615#line 827
10616 __cil_tmp22 = __cil_tmp21 + 2UL;
10617#line 827
10618 __cil_tmp23 = (unsigned long )skb;
10619#line 827
10620 __cil_tmp24 = __cil_tmp23 + 104;
10621#line 827
10622 __cil_tmp25 = *((unsigned int *)__cil_tmp24);
10623#line 827
10624 __cil_tmp26 = __cil_tmp25 + 14U;
10625#line 827
10626 __cil_tmp27 = (unsigned long )__cil_tmp26;
10627#line 827
10628 if (__cil_tmp27 < __cil_tmp22) {
10629#line 828
10630 return (0);
10631 } else {
10632
10633 }
10634 }
10635 {
10636#line 830
10637 __cil_tmp28 = type & 1U;
10638#line 830
10639 __cil_tmp29 = ! __cil_tmp28;
10640#line 830
10641 __cil_tmp30 = ! __cil_tmp29;
10642#line 830
10643 __cil_tmp31 = (long )__cil_tmp30;
10644#line 830
10645 tmp___8 = __builtin_expect(__cil_tmp31, 0L);
10646 }
10647#line 830
10648 if (tmp___8) {
10649#line 831
10650 __cil_tmp32 = data + offset;
10651#line 831
10652 msgtype = __cil_tmp32 + 32;
10653 } else {
10654#line 833
10655 msgtype = data + offset;
10656 }
10657#line 835
10658 __cil_tmp33 = data + offset;
10659#line 835
10660 __cil_tmp34 = __cil_tmp33 + 30;
10661#line 835
10662 seqid = (u16 *)__cil_tmp34;
10663 {
10664#line 837
10665 __cil_tmp35 = *msgtype;
10666#line 837
10667 __cil_tmp36 = (int )__cil_tmp35;
10668#line 837
10669 __cil_tmp37 = __cil_tmp36 & 15;
10670#line 837
10671 __cil_tmp38 = (unsigned long )rxts;
10672#line 837
10673 __cil_tmp39 = __cil_tmp38 + 34;
10674#line 837
10675 __cil_tmp40 = *((u8 *)__cil_tmp39);
10676#line 837
10677 __cil_tmp41 = (int )__cil_tmp40;
10678#line 837
10679 if (__cil_tmp41 == __cil_tmp37) {
10680 {
10681#line 837
10682 __cil_tmp42 = *seqid;
10683#line 837
10684 tmp___9 = __fswab16(__cil_tmp42);
10685 }
10686 {
10687#line 837
10688 __cil_tmp43 = (int )tmp___9;
10689#line 837
10690 __cil_tmp44 = (unsigned long )rxts;
10691#line 837
10692 __cil_tmp45 = __cil_tmp44 + 32;
10693#line 837
10694 __cil_tmp46 = *((u16 *)__cil_tmp45);
10695#line 837
10696 __cil_tmp47 = (int )__cil_tmp46;
10697#line 837
10698 if (__cil_tmp47 == __cil_tmp43) {
10699#line 837
10700 tmp___10 = 1;
10701 } else {
10702#line 837
10703 tmp___10 = 0;
10704 }
10705 }
10706 } else {
10707#line 837
10708 tmp___10 = 0;
10709 }
10710 }
10711#line 837
10712 return (tmp___10);
10713}
10714}
10715#line 841 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
10716static void dp83640_free_clocks(void)
10717{ struct dp83640_clock *clock ;
10718 struct list_head *this ;
10719 struct list_head *next ;
10720 struct list_head *__mptr ;
10721 int tmp___7 ;
10722 struct list_head *__cil_tmp6 ;
10723 unsigned long __cil_tmp7 ;
10724 unsigned long __cil_tmp8 ;
10725 struct dp83640_clock *__cil_tmp9 ;
10726 struct list_head *__cil_tmp10 ;
10727 unsigned int __cil_tmp11 ;
10728 char *__cil_tmp12 ;
10729 char *__cil_tmp13 ;
10730 unsigned long __cil_tmp14 ;
10731 unsigned long __cil_tmp15 ;
10732 struct list_head *__cil_tmp16 ;
10733 struct list_head *__cil_tmp17 ;
10734 struct list_head *__cil_tmp18 ;
10735 unsigned long __cil_tmp19 ;
10736 unsigned long __cil_tmp20 ;
10737 struct mutex *__cil_tmp21 ;
10738 unsigned long __cil_tmp22 ;
10739 unsigned long __cil_tmp23 ;
10740 struct mutex *__cil_tmp24 ;
10741 unsigned long __cil_tmp25 ;
10742 unsigned long __cil_tmp26 ;
10743 struct mii_bus *__cil_tmp27 ;
10744 unsigned long __cil_tmp28 ;
10745 unsigned long __cil_tmp29 ;
10746 struct device *__cil_tmp30 ;
10747 void *__cil_tmp31 ;
10748
10749 {
10750 {
10751#line 846
10752 mutex_lock(& phyter_clocks_lock);
10753#line 848
10754 __cil_tmp6 = & phyter_clocks;
10755#line 848
10756 this = *((struct list_head **)__cil_tmp6);
10757#line 848
10758 next = *((struct list_head **)this);
10759 }
10760 {
10761#line 848
10762 while (1) {
10763 while_continue: ;
10764 {
10765#line 848
10766 __cil_tmp7 = (unsigned long )(& phyter_clocks);
10767#line 848
10768 __cil_tmp8 = (unsigned long )this;
10769#line 848
10770 if (__cil_tmp8 != __cil_tmp7) {
10771
10772 } else {
10773#line 848
10774 goto while_break;
10775 }
10776 }
10777 {
10778#line 849
10779 __mptr = (struct list_head *)this;
10780#line 849
10781 __cil_tmp9 = (struct dp83640_clock *)0;
10782#line 849
10783 __cil_tmp10 = (struct list_head *)__cil_tmp9;
10784#line 849
10785 __cil_tmp11 = (unsigned int )__cil_tmp10;
10786#line 849
10787 __cil_tmp12 = (char *)__mptr;
10788#line 849
10789 __cil_tmp13 = __cil_tmp12 - __cil_tmp11;
10790#line 849
10791 clock = (struct dp83640_clock *)__cil_tmp13;
10792#line 850
10793 __cil_tmp14 = (unsigned long )clock;
10794#line 850
10795 __cil_tmp15 = __cil_tmp14 + 272;
10796#line 850
10797 __cil_tmp16 = (struct list_head *)__cil_tmp15;
10798#line 850
10799 __cil_tmp17 = (struct list_head *)__cil_tmp16;
10800#line 850
10801 tmp___7 = list_empty(__cil_tmp17);
10802 }
10803#line 850
10804 if (tmp___7) {
10805
10806 } else {
10807 {
10808#line 851
10809 printk("<4>phy list non-empty while unloading");
10810 }
10811 {
10812#line 852
10813 while (1) {
10814 while_continue___0: ;
10815#line 852
10816 __asm__ volatile ("1:\tud2\n"
10817 ".pushsection __bug_table,\"a\"\n"
10818 "2:\t.long 1b - 2b, %c0 - 2b\n"
10819 "\t.word %c1, 0\n"
10820 "\t.org 2b+%c2\n"
10821 ".popsection": : "i" ("/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"),
10822 "i" (852), "i" (12UL));
10823 {
10824#line 852
10825 while (1) {
10826 while_continue___1: ;
10827 }
10828 while_break___1: ;
10829 }
10830#line 852
10831 goto while_break___0;
10832 }
10833 while_break___0: ;
10834 }
10835 }
10836 {
10837#line 854
10838 __cil_tmp18 = (struct list_head *)clock;
10839#line 854
10840 list_del(__cil_tmp18);
10841#line 855
10842 __cil_tmp19 = (unsigned long )clock;
10843#line 855
10844 __cil_tmp20 = __cil_tmp19 + 24;
10845#line 855
10846 __cil_tmp21 = (struct mutex *)__cil_tmp20;
10847#line 855
10848 mutex_destroy(__cil_tmp21);
10849#line 856
10850 __cil_tmp22 = (unsigned long )clock;
10851#line 856
10852 __cil_tmp23 = __cil_tmp22 + 192;
10853#line 856
10854 __cil_tmp24 = (struct mutex *)__cil_tmp23;
10855#line 856
10856 mutex_destroy(__cil_tmp24);
10857#line 857
10858 __cil_tmp25 = (unsigned long )clock;
10859#line 857
10860 __cil_tmp26 = __cil_tmp25 + 16;
10861#line 857
10862 __cil_tmp27 = *((struct mii_bus **)__cil_tmp26);
10863#line 857
10864 __cil_tmp28 = (unsigned long )__cil_tmp27;
10865#line 857
10866 __cil_tmp29 = __cil_tmp28 + 152;
10867#line 857
10868 __cil_tmp30 = (struct device *)__cil_tmp29;
10869#line 857
10870 put_device(__cil_tmp30);
10871#line 858
10872 __cil_tmp31 = (void *)clock;
10873#line 858
10874 kfree(__cil_tmp31);
10875#line 848
10876 this = next;
10877#line 848
10878 next = *((struct list_head **)this);
10879 }
10880 }
10881 while_break: ;
10882 }
10883 {
10884#line 861
10885 mutex_unlock(& phyter_clocks_lock);
10886 }
10887#line 862
10888 return;
10889}
10890}
10891#line 868 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
10892static struct lock_class_key __key___6 ;
10893#line 869 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
10894static struct lock_class_key __key___7 ;
10895#line 864 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
10896static void dp83640_clock_init(struct dp83640_clock *clock , struct mii_bus *bus )
10897{ struct list_head *__cil_tmp3 ;
10898 unsigned long __cil_tmp4 ;
10899 unsigned long __cil_tmp5 ;
10900 unsigned long __cil_tmp6 ;
10901 unsigned long __cil_tmp7 ;
10902 struct mutex *__cil_tmp8 ;
10903 unsigned long __cil_tmp9 ;
10904 unsigned long __cil_tmp10 ;
10905 struct mutex *__cil_tmp11 ;
10906 unsigned long __cil_tmp12 ;
10907 unsigned long __cil_tmp13 ;
10908 struct list_head *__cil_tmp14 ;
10909 unsigned long __cil_tmp15 ;
10910 unsigned long __cil_tmp16 ;
10911 unsigned long __cil_tmp17 ;
10912 unsigned long __cil_tmp18 ;
10913 unsigned long __cil_tmp19 ;
10914 unsigned long __cil_tmp20 ;
10915 unsigned long __cil_tmp21 ;
10916 char *__cil_tmp22 ;
10917 unsigned long __cil_tmp23 ;
10918 unsigned long __cil_tmp24 ;
10919 unsigned long __cil_tmp25 ;
10920 unsigned long __cil_tmp26 ;
10921 unsigned long __cil_tmp27 ;
10922 unsigned long __cil_tmp28 ;
10923 unsigned long __cil_tmp29 ;
10924 unsigned long __cil_tmp30 ;
10925 unsigned long __cil_tmp31 ;
10926 unsigned long __cil_tmp32 ;
10927 unsigned long __cil_tmp33 ;
10928 unsigned long __cil_tmp34 ;
10929 unsigned long __cil_tmp35 ;
10930 unsigned long __cil_tmp36 ;
10931 unsigned long __cil_tmp37 ;
10932 unsigned long __cil_tmp38 ;
10933 unsigned long __cil_tmp39 ;
10934 unsigned long __cil_tmp40 ;
10935 unsigned long __cil_tmp41 ;
10936 unsigned long __cil_tmp42 ;
10937 unsigned long __cil_tmp43 ;
10938 unsigned long __cil_tmp44 ;
10939 unsigned long __cil_tmp45 ;
10940 unsigned long __cil_tmp46 ;
10941 unsigned long __cil_tmp47 ;
10942 unsigned long __cil_tmp48 ;
10943 unsigned long __cil_tmp49 ;
10944 unsigned long __cil_tmp50 ;
10945 unsigned long __cil_tmp51 ;
10946 unsigned long __cil_tmp52 ;
10947 unsigned long __cil_tmp53 ;
10948 unsigned long __cil_tmp54 ;
10949 struct device *__cil_tmp55 ;
10950
10951 {
10952 {
10953#line 866
10954 __cil_tmp3 = (struct list_head *)clock;
10955#line 866
10956 INIT_LIST_HEAD(__cil_tmp3);
10957#line 867
10958 __cil_tmp4 = (unsigned long )clock;
10959#line 867
10960 __cil_tmp5 = __cil_tmp4 + 16;
10961#line 867
10962 *((struct mii_bus **)__cil_tmp5) = bus;
10963 }
10964 {
10965#line 868
10966 while (1) {
10967 while_continue: ;
10968 {
10969#line 868
10970 __cil_tmp6 = (unsigned long )clock;
10971#line 868
10972 __cil_tmp7 = __cil_tmp6 + 24;
10973#line 868
10974 __cil_tmp8 = (struct mutex *)__cil_tmp7;
10975#line 868
10976 __mutex_init(__cil_tmp8, "&clock->extreg_lock", & __key___6);
10977 }
10978#line 868
10979 goto while_break;
10980 }
10981 while_break: ;
10982 }
10983 {
10984#line 869
10985 while (1) {
10986 while_continue___0: ;
10987 {
10988#line 869
10989 __cil_tmp9 = (unsigned long )clock;
10990#line 869
10991 __cil_tmp10 = __cil_tmp9 + 192;
10992#line 869
10993 __cil_tmp11 = (struct mutex *)__cil_tmp10;
10994#line 869
10995 __mutex_init(__cil_tmp11, "&clock->clock_lock", & __key___7);
10996 }
10997#line 869
10998 goto while_break___0;
10999 }
11000 while_break___0: ;
11001 }
11002 {
11003#line 870
11004 __cil_tmp12 = (unsigned long )clock;
11005#line 870
11006 __cil_tmp13 = __cil_tmp12 + 272;
11007#line 870
11008 __cil_tmp14 = (struct list_head *)__cil_tmp13;
11009#line 870
11010 INIT_LIST_HEAD(__cil_tmp14);
11011#line 871
11012 __cil_tmp15 = (unsigned long )clock;
11013#line 871
11014 __cil_tmp16 = __cil_tmp15 + 104;
11015#line 871
11016 *((struct module **)__cil_tmp16) = & __this_module;
11017#line 872
11018 __cil_tmp17 = 0 * 1UL;
11019#line 872
11020 __cil_tmp18 = 8 + __cil_tmp17;
11021#line 872
11022 __cil_tmp19 = 104 + __cil_tmp18;
11023#line 872
11024 __cil_tmp20 = (unsigned long )clock;
11025#line 872
11026 __cil_tmp21 = __cil_tmp20 + __cil_tmp19;
11027#line 872
11028 __cil_tmp22 = (char *)__cil_tmp21;
11029#line 872
11030 sprintf(__cil_tmp22, "dp83640 timer");
11031#line 873
11032 __cil_tmp23 = 104 + 24;
11033#line 873
11034 __cil_tmp24 = (unsigned long )clock;
11035#line 873
11036 __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
11037#line 873
11038 *((s32 *)__cil_tmp25) = 1953124;
11039#line 874
11040 __cil_tmp26 = 104 + 28;
11041#line 874
11042 __cil_tmp27 = (unsigned long )clock;
11043#line 874
11044 __cil_tmp28 = __cil_tmp27 + __cil_tmp26;
11045#line 874
11046 *((int *)__cil_tmp28) = 0;
11047#line 875
11048 __cil_tmp29 = 104 + 32;
11049#line 875
11050 __cil_tmp30 = (unsigned long )clock;
11051#line 875
11052 __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
11053#line 875
11054 *((int *)__cil_tmp31) = 6;
11055#line 876
11056 __cil_tmp32 = 104 + 36;
11057#line 876
11058 __cil_tmp33 = (unsigned long )clock;
11059#line 876
11060 __cil_tmp34 = __cil_tmp33 + __cil_tmp32;
11061#line 876
11062 *((int *)__cil_tmp34) = 1;
11063#line 877
11064 __cil_tmp35 = 104 + 40;
11065#line 877
11066 __cil_tmp36 = (unsigned long )clock;
11067#line 877
11068 __cil_tmp37 = __cil_tmp36 + __cil_tmp35;
11069#line 877
11070 *((int *)__cil_tmp37) = 0;
11071#line 878
11072 __cil_tmp38 = 104 + 48;
11073#line 878
11074 __cil_tmp39 = (unsigned long )clock;
11075#line 878
11076 __cil_tmp40 = __cil_tmp39 + __cil_tmp38;
11077#line 878
11078 *((int (**)(struct ptp_clock_info *ptp , s32 delta ))__cil_tmp40) = & ptp_dp83640_adjfreq;
11079#line 879
11080 __cil_tmp41 = 104 + 56;
11081#line 879
11082 __cil_tmp42 = (unsigned long )clock;
11083#line 879
11084 __cil_tmp43 = __cil_tmp42 + __cil_tmp41;
11085#line 879
11086 *((int (**)(struct ptp_clock_info *ptp , s64 delta ))__cil_tmp43) = & ptp_dp83640_adjtime;
11087#line 880
11088 __cil_tmp44 = 104 + 64;
11089#line 880
11090 __cil_tmp45 = (unsigned long )clock;
11091#line 880
11092 __cil_tmp46 = __cil_tmp45 + __cil_tmp44;
11093#line 880
11094 *((int (**)(struct ptp_clock_info *ptp , struct timespec *ts ))__cil_tmp46) = & ptp_dp83640_gettime;
11095#line 881
11096 __cil_tmp47 = 104 + 72;
11097#line 881
11098 __cil_tmp48 = (unsigned long )clock;
11099#line 881
11100 __cil_tmp49 = __cil_tmp48 + __cil_tmp47;
11101#line 881
11102 *((int (**)(struct ptp_clock_info *ptp , struct timespec *ts ))__cil_tmp49) = & ptp_dp83640_settime;
11103#line 882
11104 __cil_tmp50 = 104 + 80;
11105#line 882
11106 __cil_tmp51 = (unsigned long )clock;
11107#line 882
11108 __cil_tmp52 = __cil_tmp51 + __cil_tmp50;
11109#line 882
11110 *((int (**)(struct ptp_clock_info *ptp , struct ptp_clock_request *request , int on ))__cil_tmp52) = & ptp_dp83640_enable;
11111#line 886
11112 __cil_tmp53 = (unsigned long )bus;
11113#line 886
11114 __cil_tmp54 = __cil_tmp53 + 152;
11115#line 886
11116 __cil_tmp55 = (struct device *)__cil_tmp54;
11117#line 886
11118 get_device(__cil_tmp55);
11119 }
11120#line 887
11121 return;
11122}
11123}
11124#line 889 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
11125static int choose_this_phy(struct dp83640_clock *clock , struct phy_device *phydev )
11126{ int *__cil_tmp3 ;
11127 int __cil_tmp4 ;
11128 unsigned long __cil_tmp5 ;
11129 unsigned long __cil_tmp6 ;
11130 struct dp83640_private *__cil_tmp7 ;
11131 unsigned long __cil_tmp8 ;
11132 unsigned long __cil_tmp9 ;
11133 int __cil_tmp10 ;
11134 int *__cil_tmp11 ;
11135 int __cil_tmp12 ;
11136
11137 {
11138 {
11139#line 892
11140 __cil_tmp3 = & chosen_phy;
11141#line 892
11142 __cil_tmp4 = *__cil_tmp3;
11143#line 892
11144 if (__cil_tmp4 == -1) {
11145 {
11146#line 892
11147 __cil_tmp5 = (unsigned long )clock;
11148#line 892
11149 __cil_tmp6 = __cil_tmp5 + 264;
11150#line 892
11151 __cil_tmp7 = *((struct dp83640_private **)__cil_tmp6);
11152#line 892
11153 if (! __cil_tmp7) {
11154#line 893
11155 return (1);
11156 } else {
11157
11158 }
11159 }
11160 } else {
11161
11162 }
11163 }
11164 {
11165#line 895
11166 __cil_tmp8 = (unsigned long )phydev;
11167#line 895
11168 __cil_tmp9 = __cil_tmp8 + 800;
11169#line 895
11170 __cil_tmp10 = *((int *)__cil_tmp9);
11171#line 895
11172 __cil_tmp11 = & chosen_phy;
11173#line 895
11174 __cil_tmp12 = *__cil_tmp11;
11175#line 895
11176 if (__cil_tmp12 == __cil_tmp10) {
11177#line 896
11178 return (1);
11179 } else {
11180
11181 }
11182 }
11183#line 898
11184 return (0);
11185}
11186}
11187#line 901 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
11188static struct dp83640_clock *dp83640_clock_get(struct dp83640_clock *clock )
11189{ unsigned long __cil_tmp2 ;
11190 unsigned long __cil_tmp3 ;
11191 struct mutex *__cil_tmp4 ;
11192
11193 {
11194#line 903
11195 if (clock) {
11196 {
11197#line 904
11198 __cil_tmp2 = (unsigned long )clock;
11199#line 904
11200 __cil_tmp3 = __cil_tmp2 + 192;
11201#line 904
11202 __cil_tmp4 = (struct mutex *)__cil_tmp3;
11203#line 904
11204 mutex_lock(__cil_tmp4);
11205 }
11206 } else {
11207
11208 }
11209#line 905
11210 return (clock);
11211}
11212}
11213#line 912 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
11214static struct dp83640_clock *dp83640_clock_get_bus(struct mii_bus *bus )
11215{ struct dp83640_clock *clock ;
11216 struct dp83640_clock *tmp___7 ;
11217 struct list_head *this ;
11218 struct list_head *__mptr ;
11219 void *tmp___8 ;
11220 struct dp83640_clock *tmp___9 ;
11221 void *__cil_tmp8 ;
11222 struct list_head *__cil_tmp9 ;
11223 unsigned long __cil_tmp10 ;
11224 unsigned long __cil_tmp11 ;
11225 struct dp83640_clock *__cil_tmp12 ;
11226 struct list_head *__cil_tmp13 ;
11227 unsigned int __cil_tmp14 ;
11228 char *__cil_tmp15 ;
11229 char *__cil_tmp16 ;
11230 unsigned long __cil_tmp17 ;
11231 unsigned long __cil_tmp18 ;
11232 unsigned long __cil_tmp19 ;
11233 struct mii_bus *__cil_tmp20 ;
11234 unsigned long __cil_tmp21 ;
11235 struct list_head *__cil_tmp22 ;
11236
11237 {
11238 {
11239#line 914
11240 __cil_tmp8 = (void *)0;
11241#line 914
11242 clock = (struct dp83640_clock *)__cil_tmp8;
11243#line 917
11244 mutex_lock(& phyter_clocks_lock);
11245#line 919
11246 __cil_tmp9 = & phyter_clocks;
11247#line 919
11248 this = *((struct list_head **)__cil_tmp9);
11249 }
11250 {
11251#line 919
11252 while (1) {
11253 while_continue: ;
11254 {
11255#line 919
11256 __cil_tmp10 = (unsigned long )(& phyter_clocks);
11257#line 919
11258 __cil_tmp11 = (unsigned long )this;
11259#line 919
11260 if (__cil_tmp11 != __cil_tmp10) {
11261
11262 } else {
11263#line 919
11264 goto while_break;
11265 }
11266 }
11267#line 920
11268 __mptr = (struct list_head *)this;
11269#line 920
11270 __cil_tmp12 = (struct dp83640_clock *)0;
11271#line 920
11272 __cil_tmp13 = (struct list_head *)__cil_tmp12;
11273#line 920
11274 __cil_tmp14 = (unsigned int )__cil_tmp13;
11275#line 920
11276 __cil_tmp15 = (char *)__mptr;
11277#line 920
11278 __cil_tmp16 = __cil_tmp15 - __cil_tmp14;
11279#line 920
11280 tmp___7 = (struct dp83640_clock *)__cil_tmp16;
11281 {
11282#line 921
11283 __cil_tmp17 = (unsigned long )bus;
11284#line 921
11285 __cil_tmp18 = (unsigned long )tmp___7;
11286#line 921
11287 __cil_tmp19 = __cil_tmp18 + 16;
11288#line 921
11289 __cil_tmp20 = *((struct mii_bus **)__cil_tmp19);
11290#line 921
11291 __cil_tmp21 = (unsigned long )__cil_tmp20;
11292#line 921
11293 if (__cil_tmp21 == __cil_tmp17) {
11294#line 922
11295 clock = tmp___7;
11296#line 923
11297 goto while_break;
11298 } else {
11299
11300 }
11301 }
11302#line 919
11303 this = *((struct list_head **)this);
11304 }
11305 while_break: ;
11306 }
11307#line 926
11308 if (clock) {
11309#line 927
11310 goto out;
11311 } else {
11312
11313 }
11314 {
11315#line 929
11316 tmp___8 = kzalloc(296UL, 208U);
11317#line 929
11318 clock = (struct dp83640_clock *)tmp___8;
11319 }
11320#line 930
11321 if (! clock) {
11322#line 931
11323 goto out;
11324 } else {
11325
11326 }
11327 {
11328#line 933
11329 dp83640_clock_init(clock, bus);
11330#line 934
11331 __cil_tmp22 = (struct list_head *)clock;
11332#line 934
11333 list_add_tail(& phyter_clocks, __cil_tmp22);
11334 }
11335 out:
11336 {
11337#line 936
11338 mutex_unlock(& phyter_clocks_lock);
11339#line 938
11340 tmp___9 = dp83640_clock_get(clock);
11341 }
11342#line 938
11343 return (tmp___9);
11344}
11345}
11346#line 941 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
11347static void dp83640_clock_put(struct dp83640_clock *clock )
11348{ unsigned long __cil_tmp2 ;
11349 unsigned long __cil_tmp3 ;
11350 struct mutex *__cil_tmp4 ;
11351
11352 {
11353 {
11354#line 943
11355 __cil_tmp2 = (unsigned long )clock;
11356#line 943
11357 __cil_tmp3 = __cil_tmp2 + 192;
11358#line 943
11359 __cil_tmp4 = (struct mutex *)__cil_tmp3;
11360#line 943
11361 mutex_unlock(__cil_tmp4);
11362 }
11363#line 944
11364 return;
11365}
11366}
11367#line 973 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
11368static struct lock_class_key __key___8 ;
11369#line 946 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
11370static int dp83640_probe(struct phy_device *phydev )
11371{ struct dp83640_clock *clock ;
11372 struct dp83640_private *dp83640 ;
11373 int err ;
11374 int i ;
11375 void *tmp___7 ;
11376 atomic_long_t __r_expr_0 ;
11377 long tmp___8 ;
11378 long tmp___9 ;
11379 int tmp___10 ;
11380 int tmp___11 ;
11381 unsigned long __cil_tmp12 ;
11382 unsigned long __cil_tmp13 ;
11383 int __cil_tmp14 ;
11384 unsigned long __cil_tmp15 ;
11385 unsigned long __cil_tmp16 ;
11386 struct mii_bus *__cil_tmp17 ;
11387 unsigned long __cil_tmp18 ;
11388 unsigned long __cil_tmp19 ;
11389 unsigned long __cil_tmp20 ;
11390 unsigned long __cil_tmp21 ;
11391 struct work_struct *__cil_tmp22 ;
11392 unsigned long __cil_tmp23 ;
11393 unsigned long __cil_tmp24 ;
11394 unsigned long __cil_tmp25 ;
11395 unsigned long __cil_tmp26 ;
11396 unsigned long __cil_tmp27 ;
11397 struct list_head *__cil_tmp28 ;
11398 unsigned long __cil_tmp29 ;
11399 unsigned long __cil_tmp30 ;
11400 unsigned long __cil_tmp31 ;
11401 unsigned long __cil_tmp32 ;
11402 unsigned long __cil_tmp33 ;
11403 struct list_head *__cil_tmp34 ;
11404 unsigned long __cil_tmp35 ;
11405 unsigned long __cil_tmp36 ;
11406 struct list_head *__cil_tmp37 ;
11407 unsigned long __cil_tmp38 ;
11408 unsigned long __cil_tmp39 ;
11409 unsigned long __cil_tmp40 ;
11410 unsigned long __cil_tmp41 ;
11411 struct list_head *__cil_tmp42 ;
11412 unsigned long __cil_tmp43 ;
11413 unsigned long __cil_tmp44 ;
11414 struct list_head *__cil_tmp45 ;
11415 unsigned long __cil_tmp46 ;
11416 unsigned long __cil_tmp47 ;
11417 unsigned long __cil_tmp48 ;
11418 unsigned long __cil_tmp49 ;
11419 spinlock_t *__cil_tmp50 ;
11420 unsigned long __cil_tmp51 ;
11421 unsigned long __cil_tmp52 ;
11422 struct raw_spinlock *__cil_tmp53 ;
11423 unsigned long __cil_tmp54 ;
11424 unsigned long __cil_tmp55 ;
11425 struct sk_buff_head *__cil_tmp56 ;
11426 unsigned long __cil_tmp57 ;
11427 unsigned long __cil_tmp58 ;
11428 struct sk_buff_head *__cil_tmp59 ;
11429 unsigned long __cil_tmp60 ;
11430 unsigned long __cil_tmp61 ;
11431 unsigned long __cil_tmp62 ;
11432 unsigned long __cil_tmp63 ;
11433 unsigned long __cil_tmp64 ;
11434 unsigned long __cil_tmp65 ;
11435 unsigned long __cil_tmp66 ;
11436 unsigned long __cil_tmp67 ;
11437 struct ptp_clock_info *__cil_tmp68 ;
11438 unsigned long __cil_tmp69 ;
11439 unsigned long __cil_tmp70 ;
11440 struct ptp_clock *__cil_tmp71 ;
11441 void *__cil_tmp72 ;
11442 unsigned long __cil_tmp73 ;
11443 unsigned long __cil_tmp74 ;
11444 struct ptp_clock *__cil_tmp75 ;
11445 void *__cil_tmp76 ;
11446 struct list_head *__cil_tmp77 ;
11447 unsigned long __cil_tmp78 ;
11448 unsigned long __cil_tmp79 ;
11449 struct list_head *__cil_tmp80 ;
11450 unsigned long __cil_tmp81 ;
11451 unsigned long __cil_tmp82 ;
11452 unsigned long __cil_tmp83 ;
11453 unsigned long __cil_tmp84 ;
11454 struct list_head *__cil_tmp85 ;
11455 struct list_head *__cil_tmp86 ;
11456 unsigned long __cil_tmp87 ;
11457 unsigned long __cil_tmp88 ;
11458 struct phy_device *__cil_tmp89 ;
11459 unsigned long __cil_tmp90 ;
11460 unsigned long __cil_tmp91 ;
11461 int __cil_tmp92 ;
11462 unsigned long __cil_tmp93 ;
11463 unsigned long __cil_tmp94 ;
11464 struct phy_device *__cil_tmp95 ;
11465 unsigned long __cil_tmp96 ;
11466 unsigned long __cil_tmp97 ;
11467 int __cil_tmp98 ;
11468 unsigned long __cil_tmp99 ;
11469 unsigned long __cil_tmp100 ;
11470 void *__cil_tmp101 ;
11471 void *__cil_tmp102 ;
11472 long __r_expr_0_counter103 ;
11473
11474 {
11475#line 950
11476 err = -12;
11477 {
11478#line 952
11479 __cil_tmp12 = (unsigned long )phydev;
11480#line 952
11481 __cil_tmp13 = __cil_tmp12 + 800;
11482#line 952
11483 __cil_tmp14 = *((int *)__cil_tmp13);
11484#line 952
11485 if (__cil_tmp14 == 31) {
11486#line 953
11487 return (0);
11488 } else {
11489
11490 }
11491 }
11492 {
11493#line 955
11494 __cil_tmp15 = (unsigned long )phydev;
11495#line 955
11496 __cil_tmp16 = __cil_tmp15 + 8;
11497#line 955
11498 __cil_tmp17 = *((struct mii_bus **)__cil_tmp16);
11499#line 955
11500 clock = dp83640_clock_get_bus(__cil_tmp17);
11501 }
11502#line 956
11503 if (! clock) {
11504#line 957
11505 goto no_clock;
11506 } else {
11507
11508 }
11509 {
11510#line 959
11511 tmp___7 = kzalloc(2808UL, 208U);
11512#line 959
11513 dp83640 = (struct dp83640_private *)tmp___7;
11514 }
11515#line 960
11516 if (! dp83640) {
11517#line 961
11518 goto no_memory;
11519 } else {
11520
11521 }
11522#line 963
11523 __cil_tmp18 = (unsigned long )dp83640;
11524#line 963
11525 __cil_tmp19 = __cil_tmp18 + 24;
11526#line 963
11527 *((struct phy_device **)__cil_tmp19) = phydev;
11528 {
11529#line 964
11530 while (1) {
11531 while_continue: ;
11532 {
11533#line 964
11534 while (1) {
11535 while_continue___0: ;
11536 {
11537#line 964
11538 __cil_tmp20 = (unsigned long )dp83640;
11539#line 964
11540 __cil_tmp21 = __cil_tmp20 + 32;
11541#line 964
11542 __cil_tmp22 = (struct work_struct *)__cil_tmp21;
11543#line 964
11544 __init_work(__cil_tmp22, 0);
11545#line 964
11546 __r_expr_0_counter103 = 2097664L;
11547#line 964
11548 __cil_tmp23 = (unsigned long )dp83640;
11549#line 964
11550 __cil_tmp24 = __cil_tmp23 + 32;
11551#line 964
11552 ((atomic_long_t *)__cil_tmp24)->counter = __r_expr_0_counter103;
11553#line 964
11554 __cil_tmp25 = 32 + 8;
11555#line 964
11556 __cil_tmp26 = (unsigned long )dp83640;
11557#line 964
11558 __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
11559#line 964
11560 __cil_tmp28 = (struct list_head *)__cil_tmp27;
11561#line 964
11562 INIT_LIST_HEAD(__cil_tmp28);
11563 }
11564 {
11565#line 964
11566 while (1) {
11567 while_continue___1: ;
11568#line 964
11569 __cil_tmp29 = 32 + 24;
11570#line 964
11571 __cil_tmp30 = (unsigned long )dp83640;
11572#line 964
11573 __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
11574#line 964
11575 *((void (**)(struct work_struct *work ))__cil_tmp31) = & rx_timestamp_work;
11576#line 964
11577 goto while_break___1;
11578 }
11579 while_break___1: ;
11580 }
11581#line 964
11582 goto while_break___0;
11583 }
11584 while_break___0: ;
11585 }
11586#line 964
11587 goto while_break;
11588 }
11589 while_break: ;
11590 }
11591 {
11592#line 966
11593 __cil_tmp32 = (unsigned long )dp83640;
11594#line 966
11595 __cil_tmp33 = __cil_tmp32 + 96;
11596#line 966
11597 __cil_tmp34 = (struct list_head *)__cil_tmp33;
11598#line 966
11599 INIT_LIST_HEAD(__cil_tmp34);
11600#line 967
11601 __cil_tmp35 = (unsigned long )dp83640;
11602#line 967
11603 __cil_tmp36 = __cil_tmp35 + 112;
11604#line 967
11605 __cil_tmp37 = (struct list_head *)__cil_tmp36;
11606#line 967
11607 INIT_LIST_HEAD(__cil_tmp37);
11608#line 968
11609 i = 0;
11610 }
11611 {
11612#line 968
11613 while (1) {
11614 while_continue___2: ;
11615#line 968
11616 if (i < 64) {
11617
11618 } else {
11619#line 968
11620 goto while_break___2;
11621 }
11622 {
11623#line 969
11624 __cil_tmp38 = i * 40UL;
11625#line 969
11626 __cil_tmp39 = 128 + __cil_tmp38;
11627#line 969
11628 __cil_tmp40 = (unsigned long )dp83640;
11629#line 969
11630 __cil_tmp41 = __cil_tmp40 + __cil_tmp39;
11631#line 969
11632 __cil_tmp42 = (struct list_head *)__cil_tmp41;
11633#line 969
11634 __cil_tmp43 = (unsigned long )dp83640;
11635#line 969
11636 __cil_tmp44 = __cil_tmp43 + 112;
11637#line 969
11638 __cil_tmp45 = (struct list_head *)__cil_tmp44;
11639#line 969
11640 list_add(__cil_tmp42, __cil_tmp45);
11641#line 968
11642 i = i + 1;
11643 }
11644 }
11645 while_break___2: ;
11646 }
11647#line 971
11648 __cil_tmp46 = (unsigned long )phydev;
11649#line 971
11650 __cil_tmp47 = __cil_tmp46 + 848;
11651#line 971
11652 *((void **)__cil_tmp47) = (void *)dp83640;
11653 {
11654#line 973
11655 while (1) {
11656 while_continue___3: ;
11657 {
11658#line 973
11659 __cil_tmp48 = (unsigned long )dp83640;
11660#line 973
11661 __cil_tmp49 = __cil_tmp48 + 2688;
11662#line 973
11663 __cil_tmp50 = (spinlock_t *)__cil_tmp49;
11664#line 973
11665 spinlock_check(__cil_tmp50);
11666 }
11667 {
11668#line 973
11669 while (1) {
11670 while_continue___4: ;
11671 {
11672#line 973
11673 __cil_tmp51 = (unsigned long )dp83640;
11674#line 973
11675 __cil_tmp52 = __cil_tmp51 + 2688;
11676#line 973
11677 __cil_tmp53 = (struct raw_spinlock *)__cil_tmp52;
11678#line 973
11679 __raw_spin_lock_init(__cil_tmp53, "&(&dp83640->rx_lock)->rlock", & __key___8);
11680 }
11681#line 973
11682 goto while_break___4;
11683 }
11684 while_break___4: ;
11685 }
11686#line 973
11687 goto while_break___3;
11688 }
11689 while_break___3: ;
11690 }
11691 {
11692#line 974
11693 __cil_tmp54 = (unsigned long )dp83640;
11694#line 974
11695 __cil_tmp55 = __cil_tmp54 + 2712;
11696#line 974
11697 __cil_tmp56 = (struct sk_buff_head *)__cil_tmp55;
11698#line 974
11699 skb_queue_head_init(__cil_tmp56);
11700#line 975
11701 __cil_tmp57 = (unsigned long )dp83640;
11702#line 975
11703 __cil_tmp58 = __cil_tmp57 + 2760;
11704#line 975
11705 __cil_tmp59 = (struct sk_buff_head *)__cil_tmp58;
11706#line 975
11707 skb_queue_head_init(__cil_tmp59);
11708#line 977
11709 __cil_tmp60 = (unsigned long )dp83640;
11710#line 977
11711 __cil_tmp61 = __cil_tmp60 + 16;
11712#line 977
11713 *((struct dp83640_clock **)__cil_tmp61) = clock;
11714#line 979
11715 tmp___10 = choose_this_phy(clock, phydev);
11716 }
11717#line 979
11718 if (tmp___10) {
11719 {
11720#line 980
11721 __cil_tmp62 = (unsigned long )clock;
11722#line 980
11723 __cil_tmp63 = __cil_tmp62 + 264;
11724#line 980
11725 *((struct dp83640_private **)__cil_tmp63) = dp83640;
11726#line 981
11727 __cil_tmp64 = (unsigned long )clock;
11728#line 981
11729 __cil_tmp65 = __cil_tmp64 + 288;
11730#line 981
11731 __cil_tmp66 = (unsigned long )clock;
11732#line 981
11733 __cil_tmp67 = __cil_tmp66 + 104;
11734#line 981
11735 __cil_tmp68 = (struct ptp_clock_info *)__cil_tmp67;
11736#line 981
11737 *((struct ptp_clock **)__cil_tmp65) = ptp_clock_register(__cil_tmp68);
11738#line 982
11739 __cil_tmp69 = (unsigned long )clock;
11740#line 982
11741 __cil_tmp70 = __cil_tmp69 + 288;
11742#line 982
11743 __cil_tmp71 = *((struct ptp_clock **)__cil_tmp70);
11744#line 982
11745 __cil_tmp72 = (void *)__cil_tmp71;
11746#line 982
11747 tmp___9 = (long )IS_ERR(__cil_tmp72);
11748 }
11749#line 982
11750 if (tmp___9) {
11751 {
11752#line 983
11753 __cil_tmp73 = (unsigned long )clock;
11754#line 983
11755 __cil_tmp74 = __cil_tmp73 + 288;
11756#line 983
11757 __cil_tmp75 = *((struct ptp_clock **)__cil_tmp74);
11758#line 983
11759 __cil_tmp76 = (void *)__cil_tmp75;
11760#line 983
11761 tmp___8 = (long )PTR_ERR(__cil_tmp76);
11762#line 983
11763 err = (int )tmp___8;
11764 }
11765#line 984
11766 goto no_register;
11767 } else {
11768
11769 }
11770 } else {
11771 {
11772#line 987
11773 __cil_tmp77 = (struct list_head *)dp83640;
11774#line 987
11775 __cil_tmp78 = (unsigned long )clock;
11776#line 987
11777 __cil_tmp79 = __cil_tmp78 + 272;
11778#line 987
11779 __cil_tmp80 = (struct list_head *)__cil_tmp79;
11780#line 987
11781 list_add_tail(__cil_tmp77, __cil_tmp80);
11782 }
11783 }
11784 {
11785#line 989
11786 __cil_tmp81 = (unsigned long )clock;
11787#line 989
11788 __cil_tmp82 = __cil_tmp81 + 264;
11789#line 989
11790 if (*((struct dp83640_private **)__cil_tmp82)) {
11791 {
11792#line 989
11793 __cil_tmp83 = (unsigned long )clock;
11794#line 989
11795 __cil_tmp84 = __cil_tmp83 + 272;
11796#line 989
11797 __cil_tmp85 = (struct list_head *)__cil_tmp84;
11798#line 989
11799 __cil_tmp86 = (struct list_head *)__cil_tmp85;
11800#line 989
11801 tmp___11 = list_empty(__cil_tmp86);
11802 }
11803#line 989
11804 if (tmp___11) {
11805 {
11806#line 992
11807 __cil_tmp87 = (unsigned long )dp83640;
11808#line 992
11809 __cil_tmp88 = __cil_tmp87 + 24;
11810#line 992
11811 __cil_tmp89 = *((struct phy_device **)__cil_tmp88);
11812#line 992
11813 __cil_tmp90 = (unsigned long )clock;
11814#line 992
11815 __cil_tmp91 = __cil_tmp90 + 96;
11816#line 992
11817 __cil_tmp92 = *((int *)__cil_tmp91);
11818#line 992
11819 enable_broadcast(__cil_tmp89, __cil_tmp92, 1);
11820 }
11821 } else {
11822 {
11823#line 990
11824 recalibrate(clock);
11825 }
11826 }
11827 } else {
11828 {
11829#line 992
11830 __cil_tmp93 = (unsigned long )dp83640;
11831#line 992
11832 __cil_tmp94 = __cil_tmp93 + 24;
11833#line 992
11834 __cil_tmp95 = *((struct phy_device **)__cil_tmp94);
11835#line 992
11836 __cil_tmp96 = (unsigned long )clock;
11837#line 992
11838 __cil_tmp97 = __cil_tmp96 + 96;
11839#line 992
11840 __cil_tmp98 = *((int *)__cil_tmp97);
11841#line 992
11842 enable_broadcast(__cil_tmp95, __cil_tmp98, 1);
11843 }
11844 }
11845 }
11846 {
11847#line 994
11848 dp83640_clock_put(clock);
11849 }
11850#line 995
11851 return (0);
11852 no_register:
11853 {
11854#line 998
11855 __cil_tmp99 = (unsigned long )clock;
11856#line 998
11857 __cil_tmp100 = __cil_tmp99 + 264;
11858#line 998
11859 __cil_tmp101 = (void *)0;
11860#line 998
11861 *((struct dp83640_private **)__cil_tmp100) = (struct dp83640_private *)__cil_tmp101;
11862#line 999
11863 __cil_tmp102 = (void *)dp83640;
11864#line 999
11865 kfree(__cil_tmp102);
11866 }
11867 no_memory:
11868 {
11869#line 1001
11870 dp83640_clock_put(clock);
11871 }
11872 no_clock:
11873#line 1003
11874 return (err);
11875}
11876}
11877#line 1006 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
11878static void dp83640_remove(struct phy_device *phydev )
11879{ struct dp83640_clock *clock ;
11880 struct list_head *this ;
11881 struct list_head *next ;
11882 struct dp83640_private *tmp___7 ;
11883 struct dp83640_private *dp83640 ;
11884 struct sk_buff *skb ;
11885 struct list_head *__mptr ;
11886 unsigned long __cil_tmp9 ;
11887 unsigned long __cil_tmp10 ;
11888 void *__cil_tmp11 ;
11889 unsigned long __cil_tmp12 ;
11890 unsigned long __cil_tmp13 ;
11891 int __cil_tmp14 ;
11892 bool __cil_tmp15 ;
11893 unsigned long __cil_tmp16 ;
11894 unsigned long __cil_tmp17 ;
11895 struct work_struct *__cil_tmp18 ;
11896 unsigned long __cil_tmp19 ;
11897 unsigned long __cil_tmp20 ;
11898 struct sk_buff_head *__cil_tmp21 ;
11899 void *__cil_tmp22 ;
11900 unsigned long __cil_tmp23 ;
11901 unsigned long __cil_tmp24 ;
11902 unsigned long __cil_tmp25 ;
11903 unsigned long __cil_tmp26 ;
11904 struct sk_buff_head *__cil_tmp27 ;
11905 void *__cil_tmp28 ;
11906 unsigned long __cil_tmp29 ;
11907 unsigned long __cil_tmp30 ;
11908 void *__cil_tmp31 ;
11909 struct skb_shared_hwtstamps *__cil_tmp32 ;
11910 unsigned long __cil_tmp33 ;
11911 unsigned long __cil_tmp34 ;
11912 struct dp83640_clock *__cil_tmp35 ;
11913 unsigned long __cil_tmp36 ;
11914 unsigned long __cil_tmp37 ;
11915 struct dp83640_private *__cil_tmp38 ;
11916 unsigned long __cil_tmp39 ;
11917 unsigned long __cil_tmp40 ;
11918 unsigned long __cil_tmp41 ;
11919 unsigned long __cil_tmp42 ;
11920 struct ptp_clock *__cil_tmp43 ;
11921 unsigned long __cil_tmp44 ;
11922 unsigned long __cil_tmp45 ;
11923 void *__cil_tmp46 ;
11924 unsigned long __cil_tmp47 ;
11925 unsigned long __cil_tmp48 ;
11926 unsigned long __cil_tmp49 ;
11927 unsigned long __cil_tmp50 ;
11928 struct list_head *__cil_tmp51 ;
11929 unsigned long __cil_tmp52 ;
11930 unsigned long __cil_tmp53 ;
11931 struct dp83640_private *__cil_tmp54 ;
11932 struct list_head *__cil_tmp55 ;
11933 unsigned int __cil_tmp56 ;
11934 char *__cil_tmp57 ;
11935 char *__cil_tmp58 ;
11936 unsigned long __cil_tmp59 ;
11937 unsigned long __cil_tmp60 ;
11938 struct list_head *__cil_tmp61 ;
11939 void *__cil_tmp62 ;
11940
11941 {
11942#line 1010
11943 __cil_tmp9 = (unsigned long )phydev;
11944#line 1010
11945 __cil_tmp10 = __cil_tmp9 + 848;
11946#line 1010
11947 __cil_tmp11 = *((void **)__cil_tmp10);
11948#line 1010
11949 dp83640 = (struct dp83640_private *)__cil_tmp11;
11950 {
11951#line 1013
11952 __cil_tmp12 = (unsigned long )phydev;
11953#line 1013
11954 __cil_tmp13 = __cil_tmp12 + 800;
11955#line 1013
11956 __cil_tmp14 = *((int *)__cil_tmp13);
11957#line 1013
11958 if (__cil_tmp14 == 31) {
11959#line 1014
11960 return;
11961 } else {
11962
11963 }
11964 }
11965 {
11966#line 1016
11967 __cil_tmp15 = (bool )0;
11968#line 1016
11969 enable_status_frames(phydev, __cil_tmp15);
11970#line 1017
11971 __cil_tmp16 = (unsigned long )dp83640;
11972#line 1017
11973 __cil_tmp17 = __cil_tmp16 + 32;
11974#line 1017
11975 __cil_tmp18 = (struct work_struct *)__cil_tmp17;
11976#line 1017
11977 cancel_work_sync(__cil_tmp18);
11978 }
11979 {
11980#line 1019
11981 while (1) {
11982 while_continue: ;
11983 {
11984#line 1019
11985 __cil_tmp19 = (unsigned long )dp83640;
11986#line 1019
11987 __cil_tmp20 = __cil_tmp19 + 2712;
11988#line 1019
11989 __cil_tmp21 = (struct sk_buff_head *)__cil_tmp20;
11990#line 1019
11991 skb = skb_dequeue(__cil_tmp21);
11992 }
11993 {
11994#line 1019
11995 __cil_tmp22 = (void *)0;
11996#line 1019
11997 __cil_tmp23 = (unsigned long )__cil_tmp22;
11998#line 1019
11999 __cil_tmp24 = (unsigned long )skb;
12000#line 1019
12001 if (__cil_tmp24 != __cil_tmp23) {
12002
12003 } else {
12004#line 1019
12005 goto while_break;
12006 }
12007 }
12008 {
12009#line 1020
12010 kfree_skb(skb);
12011 }
12012 }
12013 while_break: ;
12014 }
12015 {
12016#line 1022
12017 while (1) {
12018 while_continue___0: ;
12019 {
12020#line 1022
12021 __cil_tmp25 = (unsigned long )dp83640;
12022#line 1022
12023 __cil_tmp26 = __cil_tmp25 + 2760;
12024#line 1022
12025 __cil_tmp27 = (struct sk_buff_head *)__cil_tmp26;
12026#line 1022
12027 skb = skb_dequeue(__cil_tmp27);
12028 }
12029 {
12030#line 1022
12031 __cil_tmp28 = (void *)0;
12032#line 1022
12033 __cil_tmp29 = (unsigned long )__cil_tmp28;
12034#line 1022
12035 __cil_tmp30 = (unsigned long )skb;
12036#line 1022
12037 if (__cil_tmp30 != __cil_tmp29) {
12038
12039 } else {
12040#line 1022
12041 goto while_break___0;
12042 }
12043 }
12044 {
12045#line 1023
12046 __cil_tmp31 = (void *)0;
12047#line 1023
12048 __cil_tmp32 = (struct skb_shared_hwtstamps *)__cil_tmp31;
12049#line 1023
12050 skb_complete_tx_timestamp(skb, __cil_tmp32);
12051 }
12052 }
12053 while_break___0: ;
12054 }
12055 {
12056#line 1025
12057 __cil_tmp33 = (unsigned long )dp83640;
12058#line 1025
12059 __cil_tmp34 = __cil_tmp33 + 16;
12060#line 1025
12061 __cil_tmp35 = *((struct dp83640_clock **)__cil_tmp34);
12062#line 1025
12063 clock = dp83640_clock_get(__cil_tmp35);
12064 }
12065 {
12066#line 1027
12067 __cil_tmp36 = (unsigned long )clock;
12068#line 1027
12069 __cil_tmp37 = __cil_tmp36 + 264;
12070#line 1027
12071 __cil_tmp38 = *((struct dp83640_private **)__cil_tmp37);
12072#line 1027
12073 __cil_tmp39 = (unsigned long )__cil_tmp38;
12074#line 1027
12075 __cil_tmp40 = (unsigned long )dp83640;
12076#line 1027
12077 if (__cil_tmp40 == __cil_tmp39) {
12078 {
12079#line 1028
12080 __cil_tmp41 = (unsigned long )clock;
12081#line 1028
12082 __cil_tmp42 = __cil_tmp41 + 288;
12083#line 1028
12084 __cil_tmp43 = *((struct ptp_clock **)__cil_tmp42);
12085#line 1028
12086 ptp_clock_unregister(__cil_tmp43);
12087#line 1029
12088 __cil_tmp44 = (unsigned long )clock;
12089#line 1029
12090 __cil_tmp45 = __cil_tmp44 + 264;
12091#line 1029
12092 __cil_tmp46 = (void *)0;
12093#line 1029
12094 *((struct dp83640_private **)__cil_tmp45) = (struct dp83640_private *)__cil_tmp46;
12095 }
12096 } else {
12097#line 1031
12098 __cil_tmp47 = (unsigned long )clock;
12099#line 1031
12100 __cil_tmp48 = __cil_tmp47 + 272;
12101#line 1031
12102 this = *((struct list_head **)__cil_tmp48);
12103#line 1031
12104 next = *((struct list_head **)this);
12105 {
12106#line 1031
12107 while (1) {
12108 while_continue___1: ;
12109 {
12110#line 1031
12111 __cil_tmp49 = (unsigned long )clock;
12112#line 1031
12113 __cil_tmp50 = __cil_tmp49 + 272;
12114#line 1031
12115 __cil_tmp51 = (struct list_head *)__cil_tmp50;
12116#line 1031
12117 __cil_tmp52 = (unsigned long )__cil_tmp51;
12118#line 1031
12119 __cil_tmp53 = (unsigned long )this;
12120#line 1031
12121 if (__cil_tmp53 != __cil_tmp52) {
12122
12123 } else {
12124#line 1031
12125 goto while_break___1;
12126 }
12127 }
12128#line 1032
12129 __mptr = (struct list_head *)this;
12130#line 1032
12131 __cil_tmp54 = (struct dp83640_private *)0;
12132#line 1032
12133 __cil_tmp55 = (struct list_head *)__cil_tmp54;
12134#line 1032
12135 __cil_tmp56 = (unsigned int )__cil_tmp55;
12136#line 1032
12137 __cil_tmp57 = (char *)__mptr;
12138#line 1032
12139 __cil_tmp58 = __cil_tmp57 - __cil_tmp56;
12140#line 1032
12141 tmp___7 = (struct dp83640_private *)__cil_tmp58;
12142 {
12143#line 1033
12144 __cil_tmp59 = (unsigned long )dp83640;
12145#line 1033
12146 __cil_tmp60 = (unsigned long )tmp___7;
12147#line 1033
12148 if (__cil_tmp60 == __cil_tmp59) {
12149 {
12150#line 1034
12151 __cil_tmp61 = (struct list_head *)tmp___7;
12152#line 1034
12153 list_del_init(__cil_tmp61);
12154 }
12155#line 1035
12156 goto while_break___1;
12157 } else {
12158
12159 }
12160 }
12161#line 1031
12162 this = next;
12163#line 1031
12164 next = *((struct list_head **)this);
12165 }
12166 while_break___1: ;
12167 }
12168 }
12169 }
12170 {
12171#line 1040
12172 dp83640_clock_put(clock);
12173#line 1041
12174 __cil_tmp62 = (void *)dp83640;
12175#line 1041
12176 kfree(__cil_tmp62);
12177 }
12178#line 1042
12179 return;
12180}
12181}
12182#line 1044 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
12183static int dp83640_hwtstamp(struct phy_device *phydev , struct ifreq *ifr )
12184{ struct dp83640_private *dp83640 ;
12185 struct hwtstamp_config cfg ;
12186 u16 txcfg0 ;
12187 u16 rxcfg0 ;
12188 unsigned long tmp___7 ;
12189 int tmp___9 ;
12190 int tmp___10 ;
12191 unsigned long __cil_tmp11 ;
12192 unsigned long __cil_tmp12 ;
12193 void *__cil_tmp13 ;
12194 void *__cil_tmp14 ;
12195 unsigned long __cil_tmp15 ;
12196 unsigned long __cil_tmp16 ;
12197 void *__cil_tmp17 ;
12198 void *__cil_tmp18 ;
12199 struct hwtstamp_config *__cil_tmp19 ;
12200 unsigned long __cil_tmp20 ;
12201 int __cil_tmp21 ;
12202 unsigned long __cil_tmp22 ;
12203 int __cil_tmp23 ;
12204 unsigned long __cil_tmp24 ;
12205 unsigned long __cil_tmp25 ;
12206 unsigned long __cil_tmp26 ;
12207 unsigned long __cil_tmp27 ;
12208 unsigned long __cil_tmp28 ;
12209 unsigned long __cil_tmp29 ;
12210 unsigned long __cil_tmp30 ;
12211 unsigned long __cil_tmp31 ;
12212 unsigned long __cil_tmp32 ;
12213 unsigned long __cil_tmp33 ;
12214 unsigned long __cil_tmp34 ;
12215 unsigned long __cil_tmp35 ;
12216 unsigned long __cil_tmp36 ;
12217 unsigned long __cil_tmp37 ;
12218 unsigned long __cil_tmp38 ;
12219 unsigned long __cil_tmp39 ;
12220 unsigned long __cil_tmp40 ;
12221 unsigned long __cil_tmp41 ;
12222 unsigned long __cil_tmp42 ;
12223 unsigned long __cil_tmp43 ;
12224 unsigned long __cil_tmp44 ;
12225 unsigned long __cil_tmp45 ;
12226 unsigned long __cil_tmp46 ;
12227 unsigned long __cil_tmp47 ;
12228 unsigned long __cil_tmp48 ;
12229 unsigned long __cil_tmp49 ;
12230 unsigned long __cil_tmp50 ;
12231 unsigned long __cil_tmp51 ;
12232 unsigned long __cil_tmp52 ;
12233 unsigned long __cil_tmp53 ;
12234 unsigned long __cil_tmp54 ;
12235 unsigned long __cil_tmp55 ;
12236 unsigned long __cil_tmp56 ;
12237 unsigned long __cil_tmp57 ;
12238 unsigned long __cil_tmp58 ;
12239 unsigned long __cil_tmp59 ;
12240 int __cil_tmp60 ;
12241 int __cil_tmp61 ;
12242 int __cil_tmp62 ;
12243 unsigned long __cil_tmp63 ;
12244 unsigned long __cil_tmp64 ;
12245 int __cil_tmp65 ;
12246 int __cil_tmp66 ;
12247 int __cil_tmp67 ;
12248 unsigned long __cil_tmp68 ;
12249 unsigned long __cil_tmp69 ;
12250 int __cil_tmp70 ;
12251 int __cil_tmp71 ;
12252 int __cil_tmp72 ;
12253 int __cil_tmp73 ;
12254 int __cil_tmp74 ;
12255 int __cil_tmp75 ;
12256 int __cil_tmp76 ;
12257 unsigned long __cil_tmp77 ;
12258 unsigned long __cil_tmp78 ;
12259 int __cil_tmp79 ;
12260 int __cil_tmp80 ;
12261 int __cil_tmp81 ;
12262 int __cil_tmp82 ;
12263 int __cil_tmp83 ;
12264 int __cil_tmp84 ;
12265 int __cil_tmp85 ;
12266 int __cil_tmp86 ;
12267 int __cil_tmp87 ;
12268 int __cil_tmp88 ;
12269 int __cil_tmp89 ;
12270 unsigned long __cil_tmp90 ;
12271 unsigned long __cil_tmp91 ;
12272 int __cil_tmp92 ;
12273 int __cil_tmp93 ;
12274 unsigned long __cil_tmp94 ;
12275 unsigned long __cil_tmp95 ;
12276 int __cil_tmp96 ;
12277 int __cil_tmp97 ;
12278 int __cil_tmp98 ;
12279 int __cil_tmp99 ;
12280 int __cil_tmp100 ;
12281 int __cil_tmp101 ;
12282 unsigned long __cil_tmp102 ;
12283 unsigned long __cil_tmp103 ;
12284 int __cil_tmp104 ;
12285 int __cil_tmp105 ;
12286 unsigned long __cil_tmp106 ;
12287 unsigned long __cil_tmp107 ;
12288 struct dp83640_clock *__cil_tmp108 ;
12289 unsigned long __cil_tmp109 ;
12290 unsigned long __cil_tmp110 ;
12291 struct mutex *__cil_tmp111 ;
12292 unsigned long __cil_tmp112 ;
12293 unsigned long __cil_tmp113 ;
12294 bool __cil_tmp114 ;
12295 u32 __cil_tmp115 ;
12296 int __cil_tmp116 ;
12297 u16 __cil_tmp117 ;
12298 unsigned long __cil_tmp118 ;
12299 unsigned long __cil_tmp119 ;
12300 bool __cil_tmp120 ;
12301 u32 __cil_tmp121 ;
12302 int __cil_tmp122 ;
12303 u16 __cil_tmp123 ;
12304 u32 __cil_tmp124 ;
12305 u32 __cil_tmp125 ;
12306 unsigned long __cil_tmp126 ;
12307 unsigned long __cil_tmp127 ;
12308 struct dp83640_clock *__cil_tmp128 ;
12309 unsigned long __cil_tmp129 ;
12310 unsigned long __cil_tmp130 ;
12311 struct mutex *__cil_tmp131 ;
12312 unsigned long __cil_tmp132 ;
12313 unsigned long __cil_tmp133 ;
12314 void *__cil_tmp134 ;
12315 void *__cil_tmp135 ;
12316 unsigned int __cil_tmp136 ;
12317
12318 {
12319 {
12320#line 1046
12321 __cil_tmp11 = (unsigned long )phydev;
12322#line 1046
12323 __cil_tmp12 = __cil_tmp11 + 848;
12324#line 1046
12325 __cil_tmp13 = *((void **)__cil_tmp12);
12326#line 1046
12327 dp83640 = (struct dp83640_private *)__cil_tmp13;
12328#line 1050
12329 __cil_tmp14 = (void *)(& cfg);
12330#line 1050
12331 __cil_tmp15 = (unsigned long )ifr;
12332#line 1050
12333 __cil_tmp16 = __cil_tmp15 + 16;
12334#line 1050
12335 __cil_tmp17 = *((void **)__cil_tmp16);
12336#line 1050
12337 __cil_tmp18 = (void *)__cil_tmp17;
12338#line 1050
12339 tmp___7 = (unsigned long )copy_from_user(__cil_tmp14, __cil_tmp18, 12UL);
12340 }
12341#line 1050
12342 if (tmp___7) {
12343#line 1051
12344 return (-14);
12345 } else {
12346
12347 }
12348 {
12349#line 1053
12350 __cil_tmp19 = & cfg;
12351#line 1053
12352 if (*((int *)__cil_tmp19)) {
12353#line 1054
12354 return (-22);
12355 } else {
12356
12357 }
12358 }
12359 {
12360#line 1056
12361 __cil_tmp20 = (unsigned long )(& cfg) + 4;
12362#line 1056
12363 __cil_tmp21 = *((int *)__cil_tmp20);
12364#line 1056
12365 if (__cil_tmp21 < 0) {
12366#line 1057
12367 return (-34);
12368 } else {
12369 {
12370#line 1056
12371 __cil_tmp22 = (unsigned long )(& cfg) + 4;
12372#line 1056
12373 __cil_tmp23 = *((int *)__cil_tmp22);
12374#line 1056
12375 if (__cil_tmp23 > 2) {
12376#line 1057
12377 return (-34);
12378 } else {
12379
12380 }
12381 }
12382 }
12383 }
12384#line 1059
12385 __cil_tmp24 = (unsigned long )dp83640;
12386#line 1059
12387 __cil_tmp25 = __cil_tmp24 + 64;
12388#line 1059
12389 __cil_tmp26 = (unsigned long )(& cfg) + 4;
12390#line 1059
12391 *((int *)__cil_tmp25) = *((int *)__cil_tmp26);
12392 {
12393#line 1061
12394 __cil_tmp27 = (unsigned long )(& cfg) + 8;
12395#line 1062
12396 if (*((int *)__cil_tmp27) == 0) {
12397#line 1062
12398 goto case_0;
12399 } else
12400#line 1067
12401 if (*((int *)__cil_tmp27) == 3) {
12402#line 1067
12403 goto case_3;
12404 } else
12405#line 1068
12406 if (*((int *)__cil_tmp27) == 4) {
12407#line 1068
12408 goto case_3;
12409 } else
12410#line 1069
12411 if (*((int *)__cil_tmp27) == 5) {
12412#line 1069
12413 goto case_3;
12414 } else
12415#line 1074
12416 if (*((int *)__cil_tmp27) == 6) {
12417#line 1074
12418 goto case_6;
12419 } else
12420#line 1075
12421 if (*((int *)__cil_tmp27) == 7) {
12422#line 1075
12423 goto case_6;
12424 } else
12425#line 1076
12426 if (*((int *)__cil_tmp27) == 8) {
12427#line 1076
12428 goto case_6;
12429 } else
12430#line 1081
12431 if (*((int *)__cil_tmp27) == 9) {
12432#line 1081
12433 goto case_9;
12434 } else
12435#line 1082
12436 if (*((int *)__cil_tmp27) == 10) {
12437#line 1082
12438 goto case_9;
12439 } else
12440#line 1083
12441 if (*((int *)__cil_tmp27) == 11) {
12442#line 1083
12443 goto case_9;
12444 } else
12445#line 1088
12446 if (*((int *)__cil_tmp27) == 12) {
12447#line 1088
12448 goto case_12;
12449 } else
12450#line 1089
12451 if (*((int *)__cil_tmp27) == 13) {
12452#line 1089
12453 goto case_12;
12454 } else
12455#line 1090
12456 if (*((int *)__cil_tmp27) == 14) {
12457#line 1090
12458 goto case_12;
12459 } else {
12460 {
12461#line 1095
12462 goto switch_default;
12463#line 1061
12464 if (0) {
12465 case_0:
12466#line 1063
12467 __cil_tmp28 = (unsigned long )dp83640;
12468#line 1063
12469 __cil_tmp29 = __cil_tmp28 + 68;
12470#line 1063
12471 *((int *)__cil_tmp29) = 0;
12472#line 1064
12473 __cil_tmp30 = (unsigned long )dp83640;
12474#line 1064
12475 __cil_tmp31 = __cil_tmp30 + 72;
12476#line 1064
12477 *((int *)__cil_tmp31) = 0;
12478#line 1065
12479 __cil_tmp32 = (unsigned long )dp83640;
12480#line 1065
12481 __cil_tmp33 = __cil_tmp32 + 76;
12482#line 1065
12483 *((int *)__cil_tmp33) = 0;
12484#line 1066
12485 goto switch_break;
12486 case_3:
12487 case_4:
12488 case_5:
12489#line 1070
12490 __cil_tmp34 = (unsigned long )dp83640;
12491#line 1070
12492 __cil_tmp35 = __cil_tmp34 + 68;
12493#line 1070
12494 *((int *)__cil_tmp35) = 1;
12495#line 1071
12496 __cil_tmp36 = (unsigned long )dp83640;
12497#line 1071
12498 __cil_tmp37 = __cil_tmp36 + 72;
12499#line 1071
12500 *((int *)__cil_tmp37) = 2;
12501#line 1072
12502 __cil_tmp38 = (unsigned long )dp83640;
12503#line 1072
12504 __cil_tmp39 = __cil_tmp38 + 76;
12505#line 1072
12506 *((int *)__cil_tmp39) = 1;
12507#line 1073
12508 goto switch_break;
12509 case_6:
12510 case_7:
12511 case_8:
12512#line 1077
12513 __cil_tmp40 = (unsigned long )dp83640;
12514#line 1077
12515 __cil_tmp41 = __cil_tmp40 + 68;
12516#line 1077
12517 *((int *)__cil_tmp41) = 1;
12518#line 1078
12519 __cil_tmp42 = (unsigned long )dp83640;
12520#line 1078
12521 __cil_tmp43 = __cil_tmp42 + 72;
12522#line 1078
12523 *((int *)__cil_tmp43) = 2;
12524#line 1079
12525 __cil_tmp44 = (unsigned long )dp83640;
12526#line 1079
12527 __cil_tmp45 = __cil_tmp44 + 76;
12528#line 1079
12529 *((int *)__cil_tmp45) = 2;
12530#line 1080
12531 goto switch_break;
12532 case_9:
12533 case_10:
12534 case_11:
12535#line 1084
12536 __cil_tmp46 = (unsigned long )dp83640;
12537#line 1084
12538 __cil_tmp47 = __cil_tmp46 + 68;
12539#line 1084
12540 *((int *)__cil_tmp47) = 1;
12541#line 1085
12542 __cil_tmp48 = (unsigned long )dp83640;
12543#line 1085
12544 __cil_tmp49 = __cil_tmp48 + 72;
12545#line 1085
12546 *((int *)__cil_tmp49) = 1;
12547#line 1086
12548 __cil_tmp50 = (unsigned long )dp83640;
12549#line 1086
12550 __cil_tmp51 = __cil_tmp50 + 76;
12551#line 1086
12552 *((int *)__cil_tmp51) = 2;
12553#line 1087
12554 goto switch_break;
12555 case_12:
12556 case_13:
12557 case_14:
12558#line 1091
12559 __cil_tmp52 = (unsigned long )dp83640;
12560#line 1091
12561 __cil_tmp53 = __cil_tmp52 + 68;
12562#line 1091
12563 *((int *)__cil_tmp53) = 1;
12564#line 1092
12565 __cil_tmp54 = (unsigned long )dp83640;
12566#line 1092
12567 __cil_tmp55 = __cil_tmp54 + 72;
12568#line 1092
12569 *((int *)__cil_tmp55) = 3;
12570#line 1093
12571 __cil_tmp56 = (unsigned long )dp83640;
12572#line 1093
12573 __cil_tmp57 = __cil_tmp56 + 76;
12574#line 1093
12575 *((int *)__cil_tmp57) = 2;
12576#line 1094
12577 goto switch_break;
12578 switch_default:
12579#line 1096
12580 return (-34);
12581 } else {
12582 switch_break: ;
12583 }
12584 }
12585 }
12586 }
12587#line 1099
12588 __cil_tmp58 = (unsigned long )dp83640;
12589#line 1099
12590 __cil_tmp59 = __cil_tmp58 + 76;
12591#line 1099
12592 __cil_tmp60 = *((int *)__cil_tmp59);
12593#line 1099
12594 __cil_tmp61 = __cil_tmp60 & 15;
12595#line 1099
12596 __cil_tmp62 = __cil_tmp61 << 1;
12597#line 1099
12598 txcfg0 = (u16 )__cil_tmp62;
12599#line 1100
12600 __cil_tmp63 = (unsigned long )dp83640;
12601#line 1100
12602 __cil_tmp64 = __cil_tmp63 + 76;
12603#line 1100
12604 __cil_tmp65 = *((int *)__cil_tmp64);
12605#line 1100
12606 __cil_tmp66 = __cil_tmp65 & 15;
12607#line 1100
12608 __cil_tmp67 = __cil_tmp66 << 1;
12609#line 1100
12610 rxcfg0 = (u16 )__cil_tmp67;
12611 {
12612#line 1102
12613 __cil_tmp68 = (unsigned long )dp83640;
12614#line 1102
12615 __cil_tmp69 = __cil_tmp68 + 72;
12616#line 1102
12617 __cil_tmp70 = *((int *)__cil_tmp69);
12618#line 1102
12619 if (__cil_tmp70 & 1) {
12620#line 1103
12621 __cil_tmp71 = 1 << 7;
12622#line 1103
12623 __cil_tmp72 = (int )txcfg0;
12624#line 1103
12625 __cil_tmp73 = __cil_tmp72 | __cil_tmp71;
12626#line 1103
12627 txcfg0 = (u16 )__cil_tmp73;
12628#line 1104
12629 __cil_tmp74 = 1 << 7;
12630#line 1104
12631 __cil_tmp75 = (int )rxcfg0;
12632#line 1104
12633 __cil_tmp76 = __cil_tmp75 | __cil_tmp74;
12634#line 1104
12635 rxcfg0 = (u16 )__cil_tmp76;
12636 } else {
12637
12638 }
12639 }
12640 {
12641#line 1106
12642 __cil_tmp77 = (unsigned long )dp83640;
12643#line 1106
12644 __cil_tmp78 = __cil_tmp77 + 72;
12645#line 1106
12646 __cil_tmp79 = *((int *)__cil_tmp78);
12647#line 1106
12648 if (__cil_tmp79 & 2) {
12649#line 1107
12650 __cil_tmp80 = 1 << 5;
12651#line 1107
12652 __cil_tmp81 = 1 << 6;
12653#line 1107
12654 __cil_tmp82 = __cil_tmp81 | __cil_tmp80;
12655#line 1107
12656 __cil_tmp83 = (int )txcfg0;
12657#line 1107
12658 __cil_tmp84 = __cil_tmp83 | __cil_tmp82;
12659#line 1107
12660 txcfg0 = (u16 )__cil_tmp84;
12661#line 1108
12662 __cil_tmp85 = 1 << 5;
12663#line 1108
12664 __cil_tmp86 = 1 << 6;
12665#line 1108
12666 __cil_tmp87 = __cil_tmp86 | __cil_tmp85;
12667#line 1108
12668 __cil_tmp88 = (int )rxcfg0;
12669#line 1108
12670 __cil_tmp89 = __cil_tmp88 | __cil_tmp87;
12671#line 1108
12672 rxcfg0 = (u16 )__cil_tmp89;
12673 } else {
12674
12675 }
12676 }
12677 {
12678#line 1111
12679 __cil_tmp90 = (unsigned long )dp83640;
12680#line 1111
12681 __cil_tmp91 = __cil_tmp90 + 64;
12682#line 1111
12683 if (*((int *)__cil_tmp91)) {
12684#line 1112
12685 __cil_tmp92 = (int )txcfg0;
12686#line 1112
12687 __cil_tmp93 = __cil_tmp92 | 1;
12688#line 1112
12689 txcfg0 = (u16 )__cil_tmp93;
12690 } else {
12691
12692 }
12693 }
12694 {
12695#line 1114
12696 __cil_tmp94 = (unsigned long )dp83640;
12697#line 1114
12698 __cil_tmp95 = __cil_tmp94 + 64;
12699#line 1114
12700 __cil_tmp96 = *((int *)__cil_tmp95);
12701#line 1114
12702 if (__cil_tmp96 == 2) {
12703#line 1115
12704 __cil_tmp97 = 1 << 9;
12705#line 1115
12706 __cil_tmp98 = 1 << 15;
12707#line 1115
12708 __cil_tmp99 = __cil_tmp98 | __cil_tmp97;
12709#line 1115
12710 __cil_tmp100 = (int )txcfg0;
12711#line 1115
12712 __cil_tmp101 = __cil_tmp100 | __cil_tmp99;
12713#line 1115
12714 txcfg0 = (u16 )__cil_tmp101;
12715 } else {
12716
12717 }
12718 }
12719 {
12720#line 1117
12721 __cil_tmp102 = (unsigned long )dp83640;
12722#line 1117
12723 __cil_tmp103 = __cil_tmp102 + 68;
12724#line 1117
12725 if (*((int *)__cil_tmp103)) {
12726#line 1118
12727 __cil_tmp104 = (int )rxcfg0;
12728#line 1118
12729 __cil_tmp105 = __cil_tmp104 | 1;
12730#line 1118
12731 rxcfg0 = (u16 )__cil_tmp105;
12732 } else {
12733
12734 }
12735 }
12736 {
12737#line 1120
12738 __cil_tmp106 = (unsigned long )dp83640;
12739#line 1120
12740 __cil_tmp107 = __cil_tmp106 + 16;
12741#line 1120
12742 __cil_tmp108 = *((struct dp83640_clock **)__cil_tmp107);
12743#line 1120
12744 __cil_tmp109 = (unsigned long )__cil_tmp108;
12745#line 1120
12746 __cil_tmp110 = __cil_tmp109 + 24;
12747#line 1120
12748 __cil_tmp111 = (struct mutex *)__cil_tmp110;
12749#line 1120
12750 mutex_lock(__cil_tmp111);
12751 }
12752 {
12753#line 1122
12754 __cil_tmp112 = (unsigned long )dp83640;
12755#line 1122
12756 __cil_tmp113 = __cil_tmp112 + 64;
12757#line 1122
12758 if (*((int *)__cil_tmp113)) {
12759 {
12760#line 1123
12761 __cil_tmp114 = (bool )1;
12762#line 1123
12763 enable_status_frames(phydev, __cil_tmp114);
12764#line 1124
12765 __cil_tmp115 = (u32 )20;
12766#line 1124
12767 __cil_tmp116 = 1 << 2;
12768#line 1124
12769 __cil_tmp117 = (u16 )__cil_tmp116;
12770#line 1124
12771 ext_write(0, phydev, 4, __cil_tmp115, __cil_tmp117);
12772 }
12773 } else {
12774 {
12775#line 1122
12776 __cil_tmp118 = (unsigned long )dp83640;
12777#line 1122
12778 __cil_tmp119 = __cil_tmp118 + 68;
12779#line 1122
12780 if (*((int *)__cil_tmp119)) {
12781 {
12782#line 1123
12783 __cil_tmp120 = (bool )1;
12784#line 1123
12785 enable_status_frames(phydev, __cil_tmp120);
12786#line 1124
12787 __cil_tmp121 = (u32 )20;
12788#line 1124
12789 __cil_tmp122 = 1 << 2;
12790#line 1124
12791 __cil_tmp123 = (u16 )__cil_tmp122;
12792#line 1124
12793 ext_write(0, phydev, 4, __cil_tmp121, __cil_tmp123);
12794 }
12795 } else {
12796
12797 }
12798 }
12799 }
12800 }
12801 {
12802#line 1127
12803 __cil_tmp124 = (u32 )22;
12804#line 1127
12805 ext_write(0, phydev, 5, __cil_tmp124, txcfg0);
12806#line 1128
12807 __cil_tmp125 = (u32 )25;
12808#line 1128
12809 ext_write(0, phydev, 5, __cil_tmp125, rxcfg0);
12810#line 1130
12811 __cil_tmp126 = (unsigned long )dp83640;
12812#line 1130
12813 __cil_tmp127 = __cil_tmp126 + 16;
12814#line 1130
12815 __cil_tmp128 = *((struct dp83640_clock **)__cil_tmp127);
12816#line 1130
12817 __cil_tmp129 = (unsigned long )__cil_tmp128;
12818#line 1130
12819 __cil_tmp130 = __cil_tmp129 + 24;
12820#line 1130
12821 __cil_tmp131 = (struct mutex *)__cil_tmp130;
12822#line 1130
12823 mutex_unlock(__cil_tmp131);
12824#line 1132
12825 __cil_tmp132 = (unsigned long )ifr;
12826#line 1132
12827 __cil_tmp133 = __cil_tmp132 + 16;
12828#line 1132
12829 __cil_tmp134 = *((void **)__cil_tmp133);
12830#line 1132
12831 __cil_tmp135 = (void *)(& cfg);
12832#line 1132
12833 __cil_tmp136 = (unsigned int )12UL;
12834#line 1132
12835 tmp___10 = (int )copy_to_user(__cil_tmp134, __cil_tmp135, __cil_tmp136);
12836 }
12837#line 1132
12838 if (tmp___10) {
12839#line 1132
12840 tmp___9 = -14;
12841 } else {
12842#line 1132
12843 tmp___9 = 0;
12844 }
12845#line 1132
12846 return (tmp___9);
12847}
12848}
12849#line 1135 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
12850static void rx_timestamp_work(struct work_struct *work )
12851{ struct dp83640_private *dp83640 ;
12852 struct work_struct *__mptr ;
12853 struct list_head *this ;
12854 struct list_head *next ;
12855 struct rxts *rxts ;
12856 struct skb_shared_hwtstamps *shhwtstamps ;
12857 struct sk_buff *skb ;
12858 unsigned int type ;
12859 unsigned long flags ;
12860 raw_spinlock_t *tmp___7 ;
12861 struct list_head *__mptr___0 ;
12862 int tmp___8 ;
12863 raw_spinlock_t *tmp___9 ;
12864 struct dp83640_private *__cil_tmp19 ;
12865 unsigned long __cil_tmp20 ;
12866 unsigned long __cil_tmp21 ;
12867 struct work_struct *__cil_tmp22 ;
12868 unsigned int __cil_tmp23 ;
12869 char *__cil_tmp24 ;
12870 char *__cil_tmp25 ;
12871 unsigned long __cil_tmp26 ;
12872 unsigned long __cil_tmp27 ;
12873 struct sk_buff_head *__cil_tmp28 ;
12874 void *__cil_tmp29 ;
12875 unsigned long __cil_tmp30 ;
12876 unsigned long __cil_tmp31 ;
12877 unsigned long __cil_tmp32 ;
12878 unsigned long __cil_tmp33 ;
12879 unsigned long __cil_tmp34 ;
12880 unsigned long __cil_tmp35 ;
12881 char *__cil_tmp36 ;
12882 unsigned int *__cil_tmp37 ;
12883 unsigned long __cil_tmp38 ;
12884 unsigned long __cil_tmp39 ;
12885 spinlock_t *__cil_tmp40 ;
12886 unsigned long __cil_tmp41 ;
12887 unsigned long __cil_tmp42 ;
12888 unsigned long __cil_tmp43 ;
12889 unsigned long __cil_tmp44 ;
12890 struct list_head *__cil_tmp45 ;
12891 unsigned long __cil_tmp46 ;
12892 unsigned long __cil_tmp47 ;
12893 struct rxts *__cil_tmp48 ;
12894 struct list_head *__cil_tmp49 ;
12895 unsigned int __cil_tmp50 ;
12896 char *__cil_tmp51 ;
12897 char *__cil_tmp52 ;
12898 void *__cil_tmp53 ;
12899 unsigned long __cil_tmp54 ;
12900 unsigned long __cil_tmp55 ;
12901 u64 __cil_tmp56 ;
12902 struct list_head *__cil_tmp57 ;
12903 struct list_head *__cil_tmp58 ;
12904 unsigned long __cil_tmp59 ;
12905 unsigned long __cil_tmp60 ;
12906 struct list_head *__cil_tmp61 ;
12907 unsigned long __cil_tmp62 ;
12908 unsigned long __cil_tmp63 ;
12909 spinlock_t *__cil_tmp64 ;
12910 unsigned long __cil_tmp65 ;
12911 unsigned long __cil_tmp66 ;
12912 spinlock_t *__cil_tmp67 ;
12913 unsigned long __cil_tmp68 ;
12914 unsigned long __cil_tmp69 ;
12915 spinlock_t *__cil_tmp70 ;
12916
12917 {
12918#line 1138
12919 __mptr = (struct work_struct *)work;
12920#line 1138
12921 __cil_tmp19 = (struct dp83640_private *)0;
12922#line 1138
12923 __cil_tmp20 = (unsigned long )__cil_tmp19;
12924#line 1138
12925 __cil_tmp21 = __cil_tmp20 + 32;
12926#line 1138
12927 __cil_tmp22 = (struct work_struct *)__cil_tmp21;
12928#line 1138
12929 __cil_tmp23 = (unsigned int )__cil_tmp22;
12930#line 1138
12931 __cil_tmp24 = (char *)__mptr;
12932#line 1138
12933 __cil_tmp25 = __cil_tmp24 - __cil_tmp23;
12934#line 1138
12935 dp83640 = (struct dp83640_private *)__cil_tmp25;
12936 {
12937#line 1148
12938 while (1) {
12939 while_continue: ;
12940 {
12941#line 1148
12942 __cil_tmp26 = (unsigned long )dp83640;
12943#line 1148
12944 __cil_tmp27 = __cil_tmp26 + 2712;
12945#line 1148
12946 __cil_tmp28 = (struct sk_buff_head *)__cil_tmp27;
12947#line 1148
12948 skb = skb_dequeue(__cil_tmp28);
12949 }
12950 {
12951#line 1148
12952 __cil_tmp29 = (void *)0;
12953#line 1148
12954 __cil_tmp30 = (unsigned long )__cil_tmp29;
12955#line 1148
12956 __cil_tmp31 = (unsigned long )skb;
12957#line 1148
12958 if (__cil_tmp31 != __cil_tmp30) {
12959
12960 } else {
12961#line 1148
12962 goto while_break;
12963 }
12964 }
12965#line 1149
12966 __cil_tmp32 = 0 * 1UL;
12967#line 1149
12968 __cil_tmp33 = 40 + __cil_tmp32;
12969#line 1149
12970 __cil_tmp34 = (unsigned long )skb;
12971#line 1149
12972 __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
12973#line 1149
12974 __cil_tmp36 = (char *)__cil_tmp35;
12975#line 1149
12976 __cil_tmp37 = (unsigned int *)__cil_tmp36;
12977#line 1149
12978 type = *__cil_tmp37;
12979 {
12980#line 1150
12981 while (1) {
12982 while_continue___0: ;
12983 {
12984#line 1150
12985 while (1) {
12986 while_continue___1: ;
12987 {
12988#line 1150
12989 __cil_tmp38 = (unsigned long )dp83640;
12990#line 1150
12991 __cil_tmp39 = __cil_tmp38 + 2688;
12992#line 1150
12993 __cil_tmp40 = (spinlock_t *)__cil_tmp39;
12994#line 1150
12995 tmp___7 = spinlock_check(__cil_tmp40);
12996#line 1150
12997 flags = _raw_spin_lock_irqsave(tmp___7);
12998 }
12999#line 1150
13000 goto while_break___1;
13001 }
13002 while_break___1: ;
13003 }
13004#line 1150
13005 goto while_break___0;
13006 }
13007 while_break___0: ;
13008 }
13009#line 1151
13010 __cil_tmp41 = (unsigned long )dp83640;
13011#line 1151
13012 __cil_tmp42 = __cil_tmp41 + 96;
13013#line 1151
13014 this = *((struct list_head **)__cil_tmp42);
13015#line 1151
13016 next = *((struct list_head **)this);
13017 {
13018#line 1151
13019 while (1) {
13020 while_continue___2: ;
13021 {
13022#line 1151
13023 __cil_tmp43 = (unsigned long )dp83640;
13024#line 1151
13025 __cil_tmp44 = __cil_tmp43 + 96;
13026#line 1151
13027 __cil_tmp45 = (struct list_head *)__cil_tmp44;
13028#line 1151
13029 __cil_tmp46 = (unsigned long )__cil_tmp45;
13030#line 1151
13031 __cil_tmp47 = (unsigned long )this;
13032#line 1151
13033 if (__cil_tmp47 != __cil_tmp46) {
13034
13035 } else {
13036#line 1151
13037 goto while_break___2;
13038 }
13039 }
13040 {
13041#line 1152
13042 __mptr___0 = (struct list_head *)this;
13043#line 1152
13044 __cil_tmp48 = (struct rxts *)0;
13045#line 1152
13046 __cil_tmp49 = (struct list_head *)__cil_tmp48;
13047#line 1152
13048 __cil_tmp50 = (unsigned int )__cil_tmp49;
13049#line 1152
13050 __cil_tmp51 = (char *)__mptr___0;
13051#line 1152
13052 __cil_tmp52 = __cil_tmp51 - __cil_tmp50;
13053#line 1152
13054 rxts = (struct rxts *)__cil_tmp52;
13055#line 1153
13056 tmp___8 = match(skb, type, rxts);
13057 }
13058#line 1153
13059 if (tmp___8) {
13060 {
13061#line 1154
13062 shhwtstamps = skb_hwtstamps(skb);
13063#line 1155
13064 __cil_tmp53 = (void *)shhwtstamps;
13065#line 1155
13066 memset(__cil_tmp53, 0, 16UL);
13067#line 1156
13068 __cil_tmp54 = (unsigned long )rxts;
13069#line 1156
13070 __cil_tmp55 = __cil_tmp54 + 24;
13071#line 1156
13072 __cil_tmp56 = *((u64 *)__cil_tmp55);
13073#line 1156
13074 *((ktime_t *)shhwtstamps) = ns_to_ktime(__cil_tmp56);
13075#line 1157
13076 __cil_tmp57 = (struct list_head *)rxts;
13077#line 1157
13078 list_del_init(__cil_tmp57);
13079#line 1158
13080 __cil_tmp58 = (struct list_head *)rxts;
13081#line 1158
13082 __cil_tmp59 = (unsigned long )dp83640;
13083#line 1158
13084 __cil_tmp60 = __cil_tmp59 + 112;
13085#line 1158
13086 __cil_tmp61 = (struct list_head *)__cil_tmp60;
13087#line 1158
13088 list_add(__cil_tmp58, __cil_tmp61);
13089 }
13090#line 1159
13091 goto while_break___2;
13092 } else {
13093
13094 }
13095#line 1151
13096 this = next;
13097#line 1151
13098 next = *((struct list_head **)this);
13099 }
13100 while_break___2: ;
13101 }
13102 {
13103#line 1162
13104 __cil_tmp62 = (unsigned long )dp83640;
13105#line 1162
13106 __cil_tmp63 = __cil_tmp62 + 2688;
13107#line 1162
13108 __cil_tmp64 = (spinlock_t *)__cil_tmp63;
13109#line 1162
13110 spin_unlock_irqrestore(__cil_tmp64, flags);
13111#line 1163
13112 netif_rx_ni(skb);
13113 }
13114 }
13115 while_break: ;
13116 }
13117 {
13118#line 1168
13119 while (1) {
13120 while_continue___3: ;
13121 {
13122#line 1168
13123 while (1) {
13124 while_continue___4: ;
13125 {
13126#line 1168
13127 __cil_tmp65 = (unsigned long )dp83640;
13128#line 1168
13129 __cil_tmp66 = __cil_tmp65 + 2688;
13130#line 1168
13131 __cil_tmp67 = (spinlock_t *)__cil_tmp66;
13132#line 1168
13133 tmp___9 = spinlock_check(__cil_tmp67);
13134#line 1168
13135 flags = _raw_spin_lock_irqsave(tmp___9);
13136 }
13137#line 1168
13138 goto while_break___4;
13139 }
13140 while_break___4: ;
13141 }
13142#line 1168
13143 goto while_break___3;
13144 }
13145 while_break___3: ;
13146 }
13147 {
13148#line 1169
13149 prune_rx_ts(dp83640);
13150#line 1170
13151 __cil_tmp68 = (unsigned long )dp83640;
13152#line 1170
13153 __cil_tmp69 = __cil_tmp68 + 2688;
13154#line 1170
13155 __cil_tmp70 = (spinlock_t *)__cil_tmp69;
13156#line 1170
13157 spin_unlock_irqrestore(__cil_tmp70, flags);
13158 }
13159#line 1171
13160 return;
13161}
13162}
13163#line 1173 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13164static bool dp83640_rxtstamp(struct phy_device *phydev , struct sk_buff *skb , int type )
13165{ struct dp83640_private *dp83640 ;
13166 bool tmp___7 ;
13167 unsigned long __cil_tmp6 ;
13168 unsigned long __cil_tmp7 ;
13169 void *__cil_tmp8 ;
13170 unsigned long __cil_tmp9 ;
13171 unsigned long __cil_tmp10 ;
13172 int __cil_tmp11 ;
13173 unsigned long __cil_tmp12 ;
13174 unsigned long __cil_tmp13 ;
13175 unsigned long __cil_tmp14 ;
13176 unsigned long __cil_tmp15 ;
13177 char *__cil_tmp16 ;
13178 unsigned int *__cil_tmp17 ;
13179 unsigned long __cil_tmp18 ;
13180 unsigned long __cil_tmp19 ;
13181 struct sk_buff_head *__cil_tmp20 ;
13182 unsigned long __cil_tmp21 ;
13183 unsigned long __cil_tmp22 ;
13184 struct work_struct *__cil_tmp23 ;
13185
13186 {
13187#line 1176
13188 __cil_tmp6 = (unsigned long )phydev;
13189#line 1176
13190 __cil_tmp7 = __cil_tmp6 + 848;
13191#line 1176
13192 __cil_tmp8 = *((void **)__cil_tmp7);
13193#line 1176
13194 dp83640 = (struct dp83640_private *)__cil_tmp8;
13195 {
13196#line 1178
13197 __cil_tmp9 = (unsigned long )dp83640;
13198#line 1178
13199 __cil_tmp10 = __cil_tmp9 + 68;
13200#line 1178
13201 __cil_tmp11 = *((int *)__cil_tmp10);
13202#line 1178
13203 if (! __cil_tmp11) {
13204#line 1179
13205 return ((bool )0);
13206 } else {
13207
13208 }
13209 }
13210 {
13211#line 1181
13212 tmp___7 = is_status_frame(skb, type);
13213 }
13214#line 1181
13215 if (tmp___7) {
13216 {
13217#line 1182
13218 decode_status_frame(dp83640, skb);
13219#line 1183
13220 kfree_skb(skb);
13221 }
13222#line 1184
13223 return ((bool )1);
13224 } else {
13225
13226 }
13227 {
13228#line 1187
13229 __cil_tmp12 = 0 * 1UL;
13230#line 1187
13231 __cil_tmp13 = 40 + __cil_tmp12;
13232#line 1187
13233 __cil_tmp14 = (unsigned long )skb;
13234#line 1187
13235 __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
13236#line 1187
13237 __cil_tmp16 = (char *)__cil_tmp15;
13238#line 1187
13239 __cil_tmp17 = (unsigned int *)__cil_tmp16;
13240#line 1187
13241 *__cil_tmp17 = (unsigned int )type;
13242#line 1188
13243 __cil_tmp18 = (unsigned long )dp83640;
13244#line 1188
13245 __cil_tmp19 = __cil_tmp18 + 2712;
13246#line 1188
13247 __cil_tmp20 = (struct sk_buff_head *)__cil_tmp19;
13248#line 1188
13249 skb_queue_tail(__cil_tmp20, skb);
13250#line 1189
13251 __cil_tmp21 = (unsigned long )dp83640;
13252#line 1189
13253 __cil_tmp22 = __cil_tmp21 + 32;
13254#line 1189
13255 __cil_tmp23 = (struct work_struct *)__cil_tmp22;
13256#line 1189
13257 schedule_work(__cil_tmp23);
13258 }
13259#line 1191
13260 return ((bool )1);
13261}
13262}
13263#line 1194 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13264static void dp83640_txtstamp(struct phy_device *phydev , struct sk_buff *skb , int type )
13265{ struct dp83640_private *dp83640 ;
13266 int tmp___7 ;
13267 unsigned long __cil_tmp6 ;
13268 unsigned long __cil_tmp7 ;
13269 void *__cil_tmp8 ;
13270 unsigned long __cil_tmp9 ;
13271 unsigned long __cil_tmp10 ;
13272 void *__cil_tmp11 ;
13273 struct skb_shared_hwtstamps *__cil_tmp12 ;
13274 unsigned long __cil_tmp13 ;
13275 unsigned long __cil_tmp14 ;
13276 struct sk_buff_head *__cil_tmp15 ;
13277 unsigned long __cil_tmp16 ;
13278 unsigned long __cil_tmp17 ;
13279 struct work_struct *__cil_tmp18 ;
13280 void *__cil_tmp19 ;
13281 struct skb_shared_hwtstamps *__cil_tmp20 ;
13282
13283 {
13284#line 1197
13285 __cil_tmp6 = (unsigned long )phydev;
13286#line 1197
13287 __cil_tmp7 = __cil_tmp6 + 848;
13288#line 1197
13289 __cil_tmp8 = *((void **)__cil_tmp7);
13290#line 1197
13291 dp83640 = (struct dp83640_private *)__cil_tmp8;
13292 {
13293#line 1199
13294 __cil_tmp9 = (unsigned long )dp83640;
13295#line 1199
13296 __cil_tmp10 = __cil_tmp9 + 64;
13297#line 1201
13298 if (*((int *)__cil_tmp10) == 2) {
13299#line 1201
13300 goto case_2;
13301 } else
13302#line 1207
13303 if (*((int *)__cil_tmp10) == 1) {
13304#line 1207
13305 goto case_1;
13306 } else {
13307 {
13308#line 1213
13309 goto switch_default;
13310#line 1199
13311 if (0) {
13312 case_2:
13313 {
13314#line 1202
13315 tmp___7 = is_sync(skb, type);
13316 }
13317#line 1202
13318 if (tmp___7) {
13319 {
13320#line 1203
13321 __cil_tmp11 = (void *)0;
13322#line 1203
13323 __cil_tmp12 = (struct skb_shared_hwtstamps *)__cil_tmp11;
13324#line 1203
13325 skb_complete_tx_timestamp(skb, __cil_tmp12);
13326 }
13327#line 1204
13328 return;
13329 } else {
13330
13331 }
13332 case_1:
13333 {
13334#line 1208
13335 __cil_tmp13 = (unsigned long )dp83640;
13336#line 1208
13337 __cil_tmp14 = __cil_tmp13 + 2760;
13338#line 1208
13339 __cil_tmp15 = (struct sk_buff_head *)__cil_tmp14;
13340#line 1208
13341 skb_queue_tail(__cil_tmp15, skb);
13342#line 1209
13343 __cil_tmp16 = (unsigned long )dp83640;
13344#line 1209
13345 __cil_tmp17 = __cil_tmp16 + 32;
13346#line 1209
13347 __cil_tmp18 = (struct work_struct *)__cil_tmp17;
13348#line 1209
13349 schedule_work(__cil_tmp18);
13350 }
13351#line 1210
13352 goto switch_break;
13353 switch_default:
13354 {
13355#line 1214
13356 __cil_tmp19 = (void *)0;
13357#line 1214
13358 __cil_tmp20 = (struct skb_shared_hwtstamps *)__cil_tmp19;
13359#line 1214
13360 skb_complete_tx_timestamp(skb, __cil_tmp20);
13361 }
13362#line 1215
13363 goto switch_break;
13364 } else {
13365 switch_break: ;
13366 }
13367 }
13368 }
13369 }
13370#line 1217
13371 return;
13372}
13373}
13374#line 1219 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13375static struct phy_driver dp83640_driver =
13376#line 1219
13377 {(u32 )536894689, (char *)"NatSemi DP83640", 4294967280U, (u32 )((((((1 | (1 << 1)) | (1 << 2)) | (1 << 3)) | (1 << 6)) | (1 << 7)) | (1 << 9)),
13378 (u32 )0, (int (*)(struct phy_device *phydev ))0, & dp83640_probe, (int (*)(struct phy_device *phydev ))0,
13379 (int (*)(struct phy_device *phydev ))0, & genphy_config_aneg, & genphy_read_status,
13380 (int (*)(struct phy_device *phydev ))0, (int (*)(struct phy_device *phydev ))0,
13381 (int (*)(struct phy_device *phydev ))0, & dp83640_remove, & dp83640_hwtstamp,
13382 & dp83640_rxtstamp, & dp83640_txtstamp, {(char *)0, (struct bus_type *)0,
13383 & __this_module, (char *)0, (_Bool)0,
13384 (struct of_device_id *)0, (int (*)(struct device *dev ))0,
13385 (int (*)(struct device *dev ))0, (void (*)(struct device *dev ))0,
13386 (int (*)(struct device *dev , pm_message_t state ))0,
13387 (int (*)(struct device *dev ))0, (struct attribute_group **)0,
13388 (struct dev_pm_ops *)0, (struct driver_private *)0}};
13389#line 1235
13390static int dp83640_init(void) __attribute__((__section__(".init.text"), __no_instrument_function__)) ;
13391#line 1235 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13392static int dp83640_init(void)
13393{ int tmp___7 ;
13394
13395 {
13396 {
13397#line 1237
13398 tmp___7 = phy_driver_register(& dp83640_driver);
13399 }
13400#line 1237
13401 return (tmp___7);
13402}
13403}
13404#line 1240
13405static void dp83640_exit(void) __attribute__((__section__(".exit.text"), __no_instrument_function__)) ;
13406#line 1240 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13407static void dp83640_exit(void)
13408{
13409
13410 {
13411 {
13412#line 1242
13413 dp83640_free_clocks();
13414#line 1243
13415 phy_driver_unregister(& dp83640_driver);
13416 }
13417#line 1244
13418 return;
13419}
13420}
13421#line 1246 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13422static char __mod_description1246[54] __attribute__((__used__, __unused__,
13423__section__(".modinfo"), __aligned__(1))) =
13424#line 1246
13425 { (char )'d', (char )'e', (char const )'s', (char const )'c',
13426 (char )'r', (char )'i', (char const )'p', (char const )'t',
13427 (char )'i', (char )'o', (char const )'n', (char const )'=',
13428 (char )'N', (char )'a', (char const )'t', (char const )'i',
13429 (char )'o', (char )'n', (char const )'a', (char const )'l',
13430 (char )' ', (char )'S', (char const )'e', (char const )'m',
13431 (char )'i', (char )'c', (char const )'o', (char const )'n',
13432 (char )'d', (char )'u', (char const )'c', (char const )'t',
13433 (char )'o', (char )'r', (char const )' ', (char const )'D',
13434 (char )'P', (char )'8', (char const )'3', (char const )'6',
13435 (char )'4', (char )'0', (char const )' ', (char const )'P',
13436 (char )'H', (char )'Y', (char const )' ', (char const )'d',
13437 (char )'r', (char )'i', (char const )'v', (char const )'e',
13438 (char )'r', (char )'\000'};
13439#line 1247 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13440static char __mod_author1247[49] __attribute__((__used__, __unused__, __section__(".modinfo"),
13441__aligned__(1))) =
13442#line 1247
13443 { (char )'a', (char )'u', (char const )'t', (char const )'h',
13444 (char )'o', (char )'r', (char const )'=', (char const )'R',
13445 (char )'i', (char )'c', (char const )'h', (char const )'a',
13446 (char )'r', (char )'d', (char const )' ', (char const )'C',
13447 (char )'o', (char )'c', (char const )'h', (char const )'r',
13448 (char )'a', (char )'n', (char const )' ', (char const )'<',
13449 (char )'r', (char )'i', (char const )'c', (char const )'h',
13450 (char )'a', (char )'r', (char const )'d', (char const )'c',
13451 (char )'o', (char )'c', (char const )'h', (char const )'r',
13452 (char )'a', (char )'n', (char const )'@', (char const )'g',
13453 (char )'m', (char )'a', (char const )'i', (char const )'l',
13454 (char )'.', (char )'a', (char const )'t', (char const )'>',
13455 (char )'\000'};
13456#line 1248 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13457static char __mod_license1248[12] __attribute__((__used__, __unused__, __section__(".modinfo"),
13458__aligned__(1))) =
13459#line 1248
13460 { (char )'l', (char )'i', (char const )'c', (char const )'e',
13461 (char )'n', (char )'s', (char const )'e', (char const )'=',
13462 (char )'G', (char )'P', (char const )'L', (char const )'\000'};
13463#line 1250 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13464int init_module(void)
13465{ int tmp___7 ;
13466
13467 {
13468 {
13469#line 1250
13470 tmp___7 = dp83640_init();
13471 }
13472#line 1250
13473 return (tmp___7);
13474}
13475}
13476#line 1251 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13477void cleanup_module(void)
13478{
13479
13480 {
13481 {
13482#line 1251
13483 dp83640_exit();
13484 }
13485#line 1251
13486 return;
13487}
13488}
13489#line 1253 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13490static struct mdio_device_id dp83640_tbl[1] __attribute__((__unused__)) = { {(__u32 )536894689, 4294967280U}};
13491#line 1258
13492extern struct mdio_device_id __mod_mdio_device_table __attribute__((__unused__,
13493__alias__("dp83640_tbl"))) ;
13494#line 1276
13495void ldv_check_final_state(void) ;
13496#line 1279
13497extern void ldv_check_return_value(int res ) ;
13498#line 1282
13499extern void ldv_initialize(void) ;
13500#line 1285
13501extern int __VERIFIER_nondet_int(void) ;
13502#line 1288 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13503int LDV_IN_INTERRUPT ;
13504#line 1326 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13505static int res_dp83640_probe_31 ;
13506#line 1291 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13507void main(void)
13508{ struct phy_device *var_group1 ;
13509 struct ifreq *var_group2 ;
13510 struct sk_buff *var_group3 ;
13511 int var_dp83640_rxtstamp_35_p2 ;
13512 int var_dp83640_txtstamp_36_p2 ;
13513 int tmp___7 ;
13514 int ldv_s_dp83640_driver_phy_driver ;
13515 int tmp___8 ;
13516 int tmp___9 ;
13517 int __cil_tmp10 ;
13518
13519 {
13520 {
13521#line 1442
13522 LDV_IN_INTERRUPT = 1;
13523#line 1451
13524 ldv_initialize();
13525#line 1480
13526 tmp___7 = dp83640_init();
13527 }
13528#line 1480
13529 if (tmp___7) {
13530#line 1481
13531 goto ldv_final;
13532 } else {
13533
13534 }
13535#line 1482
13536 ldv_s_dp83640_driver_phy_driver = 0;
13537 {
13538#line 1486
13539 while (1) {
13540 while_continue: ;
13541 {
13542#line 1486
13543 tmp___9 = __VERIFIER_nondet_int();
13544 }
13545#line 1486
13546 if (tmp___9) {
13547
13548 } else {
13549 {
13550#line 1486
13551 __cil_tmp10 = ldv_s_dp83640_driver_phy_driver == 0;
13552#line 1486
13553 if (! __cil_tmp10) {
13554
13555 } else {
13556#line 1486
13557 goto while_break;
13558 }
13559 }
13560 }
13561 {
13562#line 1490
13563 tmp___8 = __VERIFIER_nondet_int();
13564 }
13565#line 1492
13566 if (tmp___8 == 0) {
13567#line 1492
13568 goto case_0;
13569 } else
13570#line 1534
13571 if (tmp___8 == 1) {
13572#line 1534
13573 goto case_1;
13574 } else
13575#line 1573
13576 if (tmp___8 == 2) {
13577#line 1573
13578 goto case_2;
13579 } else
13580#line 1612
13581 if (tmp___8 == 3) {
13582#line 1612
13583 goto case_3;
13584 } else
13585#line 1651
13586 if (tmp___8 == 4) {
13587#line 1651
13588 goto case_4;
13589 } else {
13590 {
13591#line 1690
13592 goto switch_default;
13593#line 1490
13594 if (0) {
13595 case_0:
13596#line 1495
13597 if (ldv_s_dp83640_driver_phy_driver == 0) {
13598 {
13599#line 1523
13600 res_dp83640_probe_31 = dp83640_probe(var_group1);
13601#line 1524
13602 ldv_check_return_value(res_dp83640_probe_31);
13603 }
13604#line 1525
13605 if (res_dp83640_probe_31) {
13606#line 1526
13607 goto ldv_module_exit;
13608 } else {
13609
13610 }
13611#line 1527
13612 ldv_s_dp83640_driver_phy_driver = 0;
13613 } else {
13614
13615 }
13616#line 1533
13617 goto switch_break;
13618 case_1:
13619 {
13620#line 1565
13621 dp83640_remove(var_group1);
13622 }
13623#line 1572
13624 goto switch_break;
13625 case_2:
13626 {
13627#line 1604
13628 dp83640_hwtstamp(var_group1, var_group2);
13629 }
13630#line 1611
13631 goto switch_break;
13632 case_3:
13633 {
13634#line 1643
13635 dp83640_rxtstamp(var_group1, var_group3, var_dp83640_rxtstamp_35_p2);
13636 }
13637#line 1650
13638 goto switch_break;
13639 case_4:
13640 {
13641#line 1682
13642 dp83640_txtstamp(var_group1, var_group3, var_dp83640_txtstamp_36_p2);
13643 }
13644#line 1689
13645 goto switch_break;
13646 switch_default:
13647#line 1690
13648 goto switch_break;
13649 } else {
13650 switch_break: ;
13651 }
13652 }
13653 }
13654 }
13655 while_break: ;
13656 }
13657 ldv_module_exit:
13658 {
13659#line 1725
13660 dp83640_exit();
13661 }
13662 ldv_final:
13663 {
13664#line 1728
13665 ldv_check_final_state();
13666 }
13667#line 1731
13668 return;
13669}
13670}
13671#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast-assert.h"
13672void ldv_blast_assert(void)
13673{
13674
13675 {
13676 ERROR:
13677#line 6
13678 goto ERROR;
13679}
13680}
13681#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast.h"
13682extern int __VERIFIER_nondet_int(void) ;
13683#line 19 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
13684int ldv_mutex = 1;
13685#line 22 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
13686int __attribute__((__warn_unused_result__)) mutex_lock_interruptible(struct mutex *lock )
13687{ int nondetermined ;
13688
13689 {
13690#line 29
13691 if (ldv_mutex == 1) {
13692
13693 } else {
13694 {
13695#line 29
13696 ldv_blast_assert();
13697 }
13698 }
13699 {
13700#line 32
13701 nondetermined = __VERIFIER_nondet_int();
13702 }
13703#line 35
13704 if (nondetermined) {
13705#line 38
13706 ldv_mutex = 2;
13707#line 40
13708 return (0);
13709 } else {
13710#line 45
13711 return (-4);
13712 }
13713}
13714}
13715#line 50 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
13716int __attribute__((__warn_unused_result__)) mutex_lock_killable(struct mutex *lock )
13717{ int nondetermined ;
13718
13719 {
13720#line 57
13721 if (ldv_mutex == 1) {
13722
13723 } else {
13724 {
13725#line 57
13726 ldv_blast_assert();
13727 }
13728 }
13729 {
13730#line 60
13731 nondetermined = __VERIFIER_nondet_int();
13732 }
13733#line 63
13734 if (nondetermined) {
13735#line 66
13736 ldv_mutex = 2;
13737#line 68
13738 return (0);
13739 } else {
13740#line 73
13741 return (-4);
13742 }
13743}
13744}
13745#line 78 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
13746int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock )
13747{ int atomic_value_after_dec ;
13748
13749 {
13750#line 83
13751 if (ldv_mutex == 1) {
13752
13753 } else {
13754 {
13755#line 83
13756 ldv_blast_assert();
13757 }
13758 }
13759 {
13760#line 86
13761 atomic_value_after_dec = __VERIFIER_nondet_int();
13762 }
13763#line 89
13764 if (atomic_value_after_dec == 0) {
13765#line 92
13766 ldv_mutex = 2;
13767#line 94
13768 return (1);
13769 } else {
13770
13771 }
13772#line 98
13773 return (0);
13774}
13775}
13776#line 103 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
13777void mutex_lock(struct mutex *lock )
13778{
13779
13780 {
13781#line 108
13782 if (ldv_mutex == 1) {
13783
13784 } else {
13785 {
13786#line 108
13787 ldv_blast_assert();
13788 }
13789 }
13790#line 110
13791 ldv_mutex = 2;
13792#line 111
13793 return;
13794}
13795}
13796#line 114 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
13797int mutex_trylock(struct mutex *lock )
13798{ int nondetermined ;
13799
13800 {
13801#line 121
13802 if (ldv_mutex == 1) {
13803
13804 } else {
13805 {
13806#line 121
13807 ldv_blast_assert();
13808 }
13809 }
13810 {
13811#line 124
13812 nondetermined = __VERIFIER_nondet_int();
13813 }
13814#line 127
13815 if (nondetermined) {
13816#line 130
13817 ldv_mutex = 2;
13818#line 132
13819 return (1);
13820 } else {
13821#line 137
13822 return (0);
13823 }
13824}
13825}
13826#line 142 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
13827void mutex_unlock(struct mutex *lock )
13828{
13829
13830 {
13831#line 147
13832 if (ldv_mutex == 2) {
13833
13834 } else {
13835 {
13836#line 147
13837 ldv_blast_assert();
13838 }
13839 }
13840#line 149
13841 ldv_mutex = 1;
13842#line 150
13843 return;
13844}
13845}
13846#line 153 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
13847void ldv_check_final_state(void)
13848{
13849
13850 {
13851#line 156
13852 if (ldv_mutex == 1) {
13853
13854 } else {
13855 {
13856#line 156
13857 ldv_blast_assert();
13858 }
13859 }
13860#line 157
13861 return;
13862}
13863}
13864#line 1740 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/9660/dscv_tempdir/dscv/ri/32_1/drivers/net/phy/dp83640.c.common.c"
13865long s__builtin_expect(long val , long res )
13866{
13867
13868 {
13869#line 1741
13870 return (val);
13871}
13872}