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 43 "include/asm-generic/int-ll64.h"
21typedef unsigned char u8;
22#line 46 "include/asm-generic/int-ll64.h"
23typedef unsigned short u16;
24#line 48 "include/asm-generic/int-ll64.h"
25typedef int s32;
26#line 49 "include/asm-generic/int-ll64.h"
27typedef unsigned int u32;
28#line 51 "include/asm-generic/int-ll64.h"
29typedef long long s64;
30#line 52 "include/asm-generic/int-ll64.h"
31typedef unsigned long long u64;
32#line 11 "include/asm-generic/types.h"
33typedef unsigned short umode_t;
34#line 11 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
35typedef unsigned int __kernel_mode_t;
36#line 12 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
37typedef unsigned long __kernel_nlink_t;
38#line 13 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
39typedef long __kernel_off_t;
40#line 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
41typedef int __kernel_pid_t;
42#line 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
43typedef unsigned int __kernel_uid_t;
44#line 17 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
45typedef unsigned int __kernel_gid_t;
46#line 18 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
47typedef unsigned long __kernel_size_t;
48#line 19 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
49typedef long __kernel_ssize_t;
50#line 21 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
51typedef long __kernel_time_t;
52#line 23 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
53typedef long __kernel_clock_t;
54#line 24 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
55typedef int __kernel_timer_t;
56#line 25 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
57typedef int __kernel_clockid_t;
58#line 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
59typedef long long __kernel_loff_t;
60#line 41 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
61typedef __kernel_uid_t __kernel_uid32_t;
62#line 42 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
63typedef __kernel_gid_t __kernel_gid32_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 26 "include/linux/types.h"
69typedef __kernel_mode_t mode_t;
70#line 27 "include/linux/types.h"
71typedef __kernel_nlink_t nlink_t;
72#line 28 "include/linux/types.h"
73typedef __kernel_off_t off_t;
74#line 29 "include/linux/types.h"
75typedef __kernel_pid_t pid_t;
76#line 34 "include/linux/types.h"
77typedef __kernel_clockid_t clockid_t;
78#line 37 "include/linux/types.h"
79typedef _Bool bool;
80#line 39 "include/linux/types.h"
81typedef __kernel_uid32_t uid_t;
82#line 40 "include/linux/types.h"
83typedef __kernel_gid32_t gid_t;
84#line 53 "include/linux/types.h"
85typedef __kernel_loff_t loff_t;
86#line 62 "include/linux/types.h"
87typedef __kernel_size_t size_t;
88#line 67 "include/linux/types.h"
89typedef __kernel_ssize_t ssize_t;
90#line 77 "include/linux/types.h"
91typedef __kernel_time_t time_t;
92#line 110 "include/linux/types.h"
93typedef __s32 int32_t;
94#line 116 "include/linux/types.h"
95typedef __u32 uint32_t;
96#line 141 "include/linux/types.h"
97typedef unsigned long sector_t;
98#line 142 "include/linux/types.h"
99typedef unsigned long blkcnt_t;
100#line 154 "include/linux/types.h"
101typedef u64 dma_addr_t;
102#line 178 "include/linux/types.h"
103typedef __u16 __be16;
104#line 180 "include/linux/types.h"
105typedef __u32 __be32;
106#line 184 "include/linux/types.h"
107typedef __u16 __sum16;
108#line 185 "include/linux/types.h"
109typedef __u32 __wsum;
110#line 201 "include/linux/types.h"
111typedef unsigned int gfp_t;
112#line 202 "include/linux/types.h"
113typedef unsigned int fmode_t;
114#line 214 "include/linux/types.h"
115struct __anonstruct_atomic_t_6 {
116 int counter ;
117};
118#line 214 "include/linux/types.h"
119typedef struct __anonstruct_atomic_t_6 atomic_t;
120#line 219 "include/linux/types.h"
121struct __anonstruct_atomic64_t_7 {
122 long counter ;
123};
124#line 219 "include/linux/types.h"
125typedef struct __anonstruct_atomic64_t_7 atomic64_t;
126#line 220 "include/linux/types.h"
127struct list_head {
128 struct list_head *next ;
129 struct list_head *prev ;
130};
131#line 225
132struct hlist_node;
133#line 225
134struct hlist_node;
135#line 225
136struct hlist_node;
137#line 225 "include/linux/types.h"
138struct hlist_head {
139 struct hlist_node *first ;
140};
141#line 229 "include/linux/types.h"
142struct hlist_node {
143 struct hlist_node *next ;
144 struct hlist_node **pprev ;
145};
146#line 58 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/alternative.h"
147struct module;
148#line 58
149struct module;
150#line 58
151struct module;
152#line 58
153struct module;
154#line 145 "include/linux/init.h"
155typedef void (*ctor_fn_t)(void);
156#line 48 "include/linux/dynamic_debug.h"
157struct bug_entry {
158 int bug_addr_disp ;
159 int file_disp ;
160 unsigned short line ;
161 unsigned short flags ;
162};
163#line 70 "include/asm-generic/bug.h"
164struct completion;
165#line 70
166struct completion;
167#line 70
168struct completion;
169#line 70
170struct completion;
171#line 71
172struct pt_regs;
173#line 71
174struct pt_regs;
175#line 71
176struct pt_regs;
177#line 71
178struct pt_regs;
179#line 321 "include/linux/kernel.h"
180struct pid;
181#line 321
182struct pid;
183#line 321
184struct pid;
185#line 321
186struct pid;
187#line 671
188struct timespec;
189#line 671
190struct timespec;
191#line 671
192struct timespec;
193#line 671
194struct timespec;
195#line 672
196struct compat_timespec;
197#line 672
198struct compat_timespec;
199#line 672
200struct compat_timespec;
201#line 672
202struct compat_timespec;
203#line 673 "include/linux/kernel.h"
204struct __anonstruct_futex_9 {
205 u32 *uaddr ;
206 u32 val ;
207 u32 flags ;
208 u32 bitset ;
209 u64 time ;
210 u32 *uaddr2 ;
211};
212#line 673 "include/linux/kernel.h"
213struct __anonstruct_nanosleep_10 {
214 clockid_t clockid ;
215 struct timespec *rmtp ;
216 struct compat_timespec *compat_rmtp ;
217 u64 expires ;
218};
219#line 673
220struct pollfd;
221#line 673
222struct pollfd;
223#line 673
224struct pollfd;
225#line 673 "include/linux/kernel.h"
226struct __anonstruct_poll_11 {
227 struct pollfd *ufds ;
228 int nfds ;
229 int has_timeout ;
230 unsigned long tv_sec ;
231 unsigned long tv_nsec ;
232};
233#line 673 "include/linux/kernel.h"
234union __anonunion_ldv_2052_8 {
235 struct __anonstruct_futex_9 futex ;
236 struct __anonstruct_nanosleep_10 nanosleep ;
237 struct __anonstruct_poll_11 poll ;
238};
239#line 673 "include/linux/kernel.h"
240struct restart_block {
241 long (*fn)(struct restart_block * ) ;
242 union __anonunion_ldv_2052_8 ldv_2052 ;
243};
244#line 59 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/page_types.h"
245struct page;
246#line 59
247struct page;
248#line 59
249struct page;
250#line 59
251struct page;
252#line 21 "include/asm-generic/getorder.h"
253struct task_struct;
254#line 21
255struct task_struct;
256#line 21
257struct task_struct;
258#line 21
259struct task_struct;
260#line 22
261struct exec_domain;
262#line 22
263struct exec_domain;
264#line 22
265struct exec_domain;
266#line 22
267struct exec_domain;
268#line 23
269struct mm_struct;
270#line 23
271struct mm_struct;
272#line 23
273struct mm_struct;
274#line 23
275struct mm_struct;
276#line 215 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/segment.h"
277struct pt_regs {
278 unsigned long r15 ;
279 unsigned long r14 ;
280 unsigned long r13 ;
281 unsigned long r12 ;
282 unsigned long bp ;
283 unsigned long bx ;
284 unsigned long r11 ;
285 unsigned long r10 ;
286 unsigned long r9 ;
287 unsigned long r8 ;
288 unsigned long ax ;
289 unsigned long cx ;
290 unsigned long dx ;
291 unsigned long si ;
292 unsigned long di ;
293 unsigned long orig_ax ;
294 unsigned long ip ;
295 unsigned long cs ;
296 unsigned long flags ;
297 unsigned long sp ;
298 unsigned long ss ;
299};
300#line 282 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/ptrace.h"
301struct kernel_vm86_regs {
302 struct pt_regs pt ;
303 unsigned short es ;
304 unsigned short __esh ;
305 unsigned short ds ;
306 unsigned short __dsh ;
307 unsigned short fs ;
308 unsigned short __fsh ;
309 unsigned short gs ;
310 unsigned short __gsh ;
311};
312#line 203 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/vm86.h"
313union __anonunion_ldv_2292_12 {
314 struct pt_regs *regs ;
315 struct kernel_vm86_regs *vm86 ;
316};
317#line 203 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/vm86.h"
318struct math_emu_info {
319 long ___orig_eip ;
320 union __anonunion_ldv_2292_12 ldv_2292 ;
321};
322#line 13 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_64_types.h"
323typedef unsigned long pgdval_t;
324#line 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_64_types.h"
325typedef unsigned long pgprotval_t;
326#line 18 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_64_types.h"
327struct pgprot {
328 pgprotval_t pgprot ;
329};
330#line 190 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
331typedef struct pgprot pgprot_t;
332#line 192 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
333struct __anonstruct_pgd_t_15 {
334 pgdval_t pgd ;
335};
336#line 192 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
337typedef struct __anonstruct_pgd_t_15 pgd_t;
338#line 280 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
339typedef struct page *pgtable_t;
340#line 288
341struct file;
342#line 288
343struct file;
344#line 288
345struct file;
346#line 288
347struct file;
348#line 303
349struct seq_file;
350#line 303
351struct seq_file;
352#line 303
353struct seq_file;
354#line 303
355struct seq_file;
356#line 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
357struct __anonstruct_ldv_2526_19 {
358 unsigned int a ;
359 unsigned int b ;
360};
361#line 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
362struct __anonstruct_ldv_2541_20 {
363 u16 limit0 ;
364 u16 base0 ;
365 unsigned char base1 ;
366 unsigned char type : 4 ;
367 unsigned char s : 1 ;
368 unsigned char dpl : 2 ;
369 unsigned char p : 1 ;
370 unsigned char limit : 4 ;
371 unsigned char avl : 1 ;
372 unsigned char l : 1 ;
373 unsigned char d : 1 ;
374 unsigned char g : 1 ;
375 unsigned char base2 ;
376};
377#line 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
378union __anonunion_ldv_2542_18 {
379 struct __anonstruct_ldv_2526_19 ldv_2526 ;
380 struct __anonstruct_ldv_2541_20 ldv_2541 ;
381};
382#line 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
383struct desc_struct {
384 union __anonunion_ldv_2542_18 ldv_2542 ;
385};
386#line 122 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
387struct thread_struct;
388#line 122
389struct thread_struct;
390#line 122
391struct thread_struct;
392#line 122
393struct thread_struct;
394#line 124
395struct cpumask;
396#line 124
397struct cpumask;
398#line 124
399struct cpumask;
400#line 124
401struct cpumask;
402#line 320 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt_types.h"
403struct arch_spinlock;
404#line 320
405struct arch_spinlock;
406#line 320
407struct arch_spinlock;
408#line 320
409struct arch_spinlock;
410#line 304 "include/linux/bitmap.h"
411struct cpumask {
412 unsigned long bits[64U] ;
413};
414#line 13 "include/linux/cpumask.h"
415typedef struct cpumask cpumask_t;
416#line 622 "include/linux/cpumask.h"
417typedef struct cpumask *cpumask_var_t;
418#line 90 "include/linux/personality.h"
419struct map_segment;
420#line 90
421struct map_segment;
422#line 90
423struct map_segment;
424#line 90 "include/linux/personality.h"
425struct exec_domain {
426 char const *name ;
427 void (*handler)(int , struct pt_regs * ) ;
428 unsigned char pers_low ;
429 unsigned char pers_high ;
430 unsigned long *signal_map ;
431 unsigned long *signal_invmap ;
432 struct map_segment *err_map ;
433 struct map_segment *socktype_map ;
434 struct map_segment *sockopt_map ;
435 struct map_segment *af_map ;
436 struct module *module ;
437 struct exec_domain *next ;
438};
439#line 145 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
440struct seq_operations;
441#line 145
442struct seq_operations;
443#line 145
444struct seq_operations;
445#line 277 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
446struct i387_fsave_struct {
447 u32 cwd ;
448 u32 swd ;
449 u32 twd ;
450 u32 fip ;
451 u32 fcs ;
452 u32 foo ;
453 u32 fos ;
454 u32 st_space[20U] ;
455 u32 status ;
456};
457#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
458struct __anonstruct_ldv_5171_24 {
459 u64 rip ;
460 u64 rdp ;
461};
462#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
463struct __anonstruct_ldv_5177_25 {
464 u32 fip ;
465 u32 fcs ;
466 u32 foo ;
467 u32 fos ;
468};
469#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
470union __anonunion_ldv_5178_23 {
471 struct __anonstruct_ldv_5171_24 ldv_5171 ;
472 struct __anonstruct_ldv_5177_25 ldv_5177 ;
473};
474#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
475union __anonunion_ldv_5187_26 {
476 u32 padding1[12U] ;
477 u32 sw_reserved[12U] ;
478};
479#line 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
480struct i387_fxsave_struct {
481 u16 cwd ;
482 u16 swd ;
483 u16 twd ;
484 u16 fop ;
485 union __anonunion_ldv_5178_23 ldv_5178 ;
486 u32 mxcsr ;
487 u32 mxcsr_mask ;
488 u32 st_space[32U] ;
489 u32 xmm_space[64U] ;
490 u32 padding[12U] ;
491 union __anonunion_ldv_5187_26 ldv_5187 ;
492};
493#line 329 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
494struct i387_soft_struct {
495 u32 cwd ;
496 u32 swd ;
497 u32 twd ;
498 u32 fip ;
499 u32 fcs ;
500 u32 foo ;
501 u32 fos ;
502 u32 st_space[20U] ;
503 u8 ftop ;
504 u8 changed ;
505 u8 lookahead ;
506 u8 no_update ;
507 u8 rm ;
508 u8 alimit ;
509 struct math_emu_info *info ;
510 u32 entry_eip ;
511};
512#line 350 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
513struct ymmh_struct {
514 u32 ymmh_space[64U] ;
515};
516#line 355 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
517struct xsave_hdr_struct {
518 u64 xstate_bv ;
519 u64 reserved1[2U] ;
520 u64 reserved2[5U] ;
521};
522#line 361 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
523struct xsave_struct {
524 struct i387_fxsave_struct i387 ;
525 struct xsave_hdr_struct xsave_hdr ;
526 struct ymmh_struct ymmh ;
527};
528#line 367 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
529union thread_xstate {
530 struct i387_fsave_struct fsave ;
531 struct i387_fxsave_struct fxsave ;
532 struct i387_soft_struct soft ;
533 struct xsave_struct xsave ;
534};
535#line 375 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
536struct fpu {
537 union thread_xstate *state ;
538};
539#line 421
540struct kmem_cache;
541#line 421
542struct kmem_cache;
543#line 421
544struct kmem_cache;
545#line 422
546struct perf_event;
547#line 422
548struct perf_event;
549#line 422
550struct perf_event;
551#line 422
552struct perf_event;
553#line 423 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
554struct thread_struct {
555 struct desc_struct tls_array[3U] ;
556 unsigned long sp0 ;
557 unsigned long sp ;
558 unsigned long usersp ;
559 unsigned short es ;
560 unsigned short ds ;
561 unsigned short fsindex ;
562 unsigned short gsindex ;
563 unsigned long fs ;
564 unsigned long gs ;
565 struct perf_event *ptrace_bps[4U] ;
566 unsigned long debugreg6 ;
567 unsigned long ptrace_dr7 ;
568 unsigned long cr2 ;
569 unsigned long trap_no ;
570 unsigned long error_code ;
571 struct fpu fpu ;
572 unsigned long *io_bitmap_ptr ;
573 unsigned long iopl ;
574 unsigned int io_bitmap_max ;
575};
576#line 622 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
577struct __anonstruct_mm_segment_t_28 {
578 unsigned long seg ;
579};
580#line 622 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
581typedef struct __anonstruct_mm_segment_t_28 mm_segment_t;
582#line 23 "include/asm-generic/atomic-long.h"
583typedef atomic64_t atomic_long_t;
584#line 131 "include/asm-generic/atomic-long.h"
585struct thread_info {
586 struct task_struct *task ;
587 struct exec_domain *exec_domain ;
588 __u32 flags ;
589 __u32 status ;
590 __u32 cpu ;
591 int preempt_count ;
592 mm_segment_t addr_limit ;
593 struct restart_block restart_block ;
594 void *sysenter_return ;
595 int uaccess_err ;
596};
597#line 8 "include/linux/bottom_half.h"
598struct arch_spinlock {
599 unsigned int slock ;
600};
601#line 10 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
602typedef struct arch_spinlock arch_spinlock_t;
603#line 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
604struct __anonstruct_arch_rwlock_t_29 {
605 unsigned int lock ;
606};
607#line 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
608typedef struct __anonstruct_arch_rwlock_t_29 arch_rwlock_t;
609#line 17
610struct lockdep_map;
611#line 17
612struct lockdep_map;
613#line 17
614struct lockdep_map;
615#line 17
616struct lockdep_map;
617#line 55 "include/linux/debug_locks.h"
618struct stack_trace {
619 unsigned int nr_entries ;
620 unsigned int max_entries ;
621 unsigned long *entries ;
622 int skip ;
623};
624#line 26 "include/linux/stacktrace.h"
625struct lockdep_subclass_key {
626 char __one_byte ;
627};
628#line 53 "include/linux/lockdep.h"
629struct lock_class_key {
630 struct lockdep_subclass_key subkeys[8U] ;
631};
632#line 59 "include/linux/lockdep.h"
633struct lock_class {
634 struct list_head hash_entry ;
635 struct list_head lock_entry ;
636 struct lockdep_subclass_key *key ;
637 unsigned int subclass ;
638 unsigned int dep_gen_id ;
639 unsigned long usage_mask ;
640 struct stack_trace usage_traces[13U] ;
641 struct list_head locks_after ;
642 struct list_head locks_before ;
643 unsigned int version ;
644 unsigned long ops ;
645 char const *name ;
646 int name_version ;
647 unsigned long contention_point[4U] ;
648 unsigned long contending_point[4U] ;
649};
650#line 144 "include/linux/lockdep.h"
651struct lockdep_map {
652 struct lock_class_key *key ;
653 struct lock_class *class_cache[2U] ;
654 char const *name ;
655 int cpu ;
656 unsigned long ip ;
657};
658#line 187 "include/linux/lockdep.h"
659struct held_lock {
660 u64 prev_chain_key ;
661 unsigned long acquire_ip ;
662 struct lockdep_map *instance ;
663 struct lockdep_map *nest_lock ;
664 u64 waittime_stamp ;
665 u64 holdtime_stamp ;
666 unsigned short class_idx : 13 ;
667 unsigned char irq_context : 2 ;
668 unsigned char trylock : 1 ;
669 unsigned char read : 2 ;
670 unsigned char check : 2 ;
671 unsigned char hardirqs_off : 1 ;
672 unsigned short references : 11 ;
673};
674#line 552 "include/linux/lockdep.h"
675struct raw_spinlock {
676 arch_spinlock_t raw_lock ;
677 unsigned int magic ;
678 unsigned int owner_cpu ;
679 void *owner ;
680 struct lockdep_map dep_map ;
681};
682#line 32 "include/linux/spinlock_types.h"
683typedef struct raw_spinlock raw_spinlock_t;
684#line 33 "include/linux/spinlock_types.h"
685struct __anonstruct_ldv_6059_31 {
686 u8 __padding[24U] ;
687 struct lockdep_map dep_map ;
688};
689#line 33 "include/linux/spinlock_types.h"
690union __anonunion_ldv_6060_30 {
691 struct raw_spinlock rlock ;
692 struct __anonstruct_ldv_6059_31 ldv_6059 ;
693};
694#line 33 "include/linux/spinlock_types.h"
695struct spinlock {
696 union __anonunion_ldv_6060_30 ldv_6060 ;
697};
698#line 76 "include/linux/spinlock_types.h"
699typedef struct spinlock spinlock_t;
700#line 23 "include/linux/rwlock_types.h"
701struct __anonstruct_rwlock_t_32 {
702 arch_rwlock_t raw_lock ;
703 unsigned int magic ;
704 unsigned int owner_cpu ;
705 void *owner ;
706 struct lockdep_map dep_map ;
707};
708#line 23 "include/linux/rwlock_types.h"
709typedef struct __anonstruct_rwlock_t_32 rwlock_t;
710#line 36 "include/linux/seqlock.h"
711struct __anonstruct_seqlock_t_33 {
712 unsigned int sequence ;
713 spinlock_t lock ;
714};
715#line 36 "include/linux/seqlock.h"
716typedef struct __anonstruct_seqlock_t_33 seqlock_t;
717#line 110 "include/linux/seqlock.h"
718struct seqcount {
719 unsigned int sequence ;
720};
721#line 121 "include/linux/seqlock.h"
722typedef struct seqcount seqcount_t;
723#line 233 "include/linux/seqlock.h"
724struct timespec {
725 __kernel_time_t tv_sec ;
726 long tv_nsec ;
727};
728#line 286 "include/linux/time.h"
729struct kstat {
730 u64 ino ;
731 dev_t dev ;
732 umode_t mode ;
733 unsigned int nlink ;
734 uid_t uid ;
735 gid_t gid ;
736 dev_t rdev ;
737 loff_t size ;
738 struct timespec atime ;
739 struct timespec mtime ;
740 struct timespec ctime ;
741 unsigned long blksize ;
742 unsigned long long blocks ;
743};
744#line 28 "include/linux/wait.h"
745struct __wait_queue;
746#line 28
747struct __wait_queue;
748#line 28
749struct __wait_queue;
750#line 28 "include/linux/wait.h"
751typedef struct __wait_queue wait_queue_t;
752#line 31 "include/linux/wait.h"
753struct __wait_queue {
754 unsigned int flags ;
755 void *private ;
756 int (*func)(wait_queue_t * , unsigned int , int , void * ) ;
757 struct list_head task_list ;
758};
759#line 49 "include/linux/wait.h"
760struct __wait_queue_head {
761 spinlock_t lock ;
762 struct list_head task_list ;
763};
764#line 54 "include/linux/wait.h"
765typedef struct __wait_queue_head wait_queue_head_t;
766#line 96 "include/linux/nodemask.h"
767struct __anonstruct_nodemask_t_34 {
768 unsigned long bits[16U] ;
769};
770#line 96 "include/linux/nodemask.h"
771typedef struct __anonstruct_nodemask_t_34 nodemask_t;
772#line 640 "include/linux/mmzone.h"
773struct mutex {
774 atomic_t count ;
775 spinlock_t wait_lock ;
776 struct list_head wait_list ;
777 struct task_struct *owner ;
778 char const *name ;
779 void *magic ;
780 struct lockdep_map dep_map ;
781};
782#line 63 "include/linux/mutex.h"
783struct mutex_waiter {
784 struct list_head list ;
785 struct task_struct *task ;
786 void *magic ;
787};
788#line 171
789struct rw_semaphore;
790#line 171
791struct rw_semaphore;
792#line 171
793struct rw_semaphore;
794#line 171
795struct rw_semaphore;
796#line 172 "include/linux/mutex.h"
797struct rw_semaphore {
798 long count ;
799 spinlock_t wait_lock ;
800 struct list_head wait_list ;
801 struct lockdep_map dep_map ;
802};
803#line 763 "include/linux/mmzone.h"
804struct ctl_table;
805#line 763
806struct ctl_table;
807#line 763
808struct ctl_table;
809#line 763
810struct ctl_table;
811#line 175 "include/linux/ioport.h"
812struct device;
813#line 175
814struct device;
815#line 175
816struct device;
817#line 175
818struct device;
819#line 312 "include/linux/jiffies.h"
820union ktime {
821 s64 tv64 ;
822};
823#line 59 "include/linux/ktime.h"
824typedef union ktime ktime_t;
825#line 99 "include/linux/debugobjects.h"
826struct tvec_base;
827#line 99
828struct tvec_base;
829#line 99
830struct tvec_base;
831#line 99
832struct tvec_base;
833#line 100 "include/linux/debugobjects.h"
834struct timer_list {
835 struct list_head entry ;
836 unsigned long expires ;
837 struct tvec_base *base ;
838 void (*function)(unsigned long ) ;
839 unsigned long data ;
840 int slack ;
841 int start_pid ;
842 void *start_site ;
843 char start_comm[16U] ;
844 struct lockdep_map lockdep_map ;
845};
846#line 289 "include/linux/timer.h"
847struct hrtimer;
848#line 289
849struct hrtimer;
850#line 289
851struct hrtimer;
852#line 289
853struct hrtimer;
854#line 290
855enum hrtimer_restart;
856#line 290
857enum hrtimer_restart;
858#line 290
859enum hrtimer_restart;
860#line 302
861struct work_struct;
862#line 302
863struct work_struct;
864#line 302
865struct work_struct;
866#line 302
867struct work_struct;
868#line 45 "include/linux/workqueue.h"
869struct work_struct {
870 atomic_long_t data ;
871 struct list_head entry ;
872 void (*func)(struct work_struct * ) ;
873 struct lockdep_map lockdep_map ;
874};
875#line 86 "include/linux/workqueue.h"
876struct delayed_work {
877 struct work_struct work ;
878 struct timer_list timer ;
879};
880#line 443 "include/linux/workqueue.h"
881struct completion {
882 unsigned int done ;
883 wait_queue_head_t wait ;
884};
885#line 46 "include/linux/pm.h"
886struct pm_message {
887 int event ;
888};
889#line 52 "include/linux/pm.h"
890typedef struct pm_message pm_message_t;
891#line 53 "include/linux/pm.h"
892struct dev_pm_ops {
893 int (*prepare)(struct device * ) ;
894 void (*complete)(struct device * ) ;
895 int (*suspend)(struct device * ) ;
896 int (*resume)(struct device * ) ;
897 int (*freeze)(struct device * ) ;
898 int (*thaw)(struct device * ) ;
899 int (*poweroff)(struct device * ) ;
900 int (*restore)(struct device * ) ;
901 int (*suspend_noirq)(struct device * ) ;
902 int (*resume_noirq)(struct device * ) ;
903 int (*freeze_noirq)(struct device * ) ;
904 int (*thaw_noirq)(struct device * ) ;
905 int (*poweroff_noirq)(struct device * ) ;
906 int (*restore_noirq)(struct device * ) ;
907 int (*runtime_suspend)(struct device * ) ;
908 int (*runtime_resume)(struct device * ) ;
909 int (*runtime_idle)(struct device * ) ;
910};
911#line 272
912enum rpm_status {
913 RPM_ACTIVE = 0,
914 RPM_RESUMING = 1,
915 RPM_SUSPENDED = 2,
916 RPM_SUSPENDING = 3
917} ;
918#line 279
919enum rpm_request {
920 RPM_REQ_NONE = 0,
921 RPM_REQ_IDLE = 1,
922 RPM_REQ_SUSPEND = 2,
923 RPM_REQ_AUTOSUSPEND = 3,
924 RPM_REQ_RESUME = 4
925} ;
926#line 287
927struct wakeup_source;
928#line 287
929struct wakeup_source;
930#line 287
931struct wakeup_source;
932#line 287
933struct wakeup_source;
934#line 288 "include/linux/pm.h"
935struct dev_pm_info {
936 pm_message_t power_state ;
937 unsigned char can_wakeup : 1 ;
938 unsigned char async_suspend : 1 ;
939 bool is_prepared ;
940 bool is_suspended ;
941 spinlock_t lock ;
942 struct list_head entry ;
943 struct completion completion ;
944 struct wakeup_source *wakeup ;
945 struct timer_list suspend_timer ;
946 unsigned long timer_expires ;
947 struct work_struct work ;
948 wait_queue_head_t wait_queue ;
949 atomic_t usage_count ;
950 atomic_t child_count ;
951 unsigned char disable_depth : 3 ;
952 unsigned char ignore_children : 1 ;
953 unsigned char idle_notification : 1 ;
954 unsigned char request_pending : 1 ;
955 unsigned char deferred_resume : 1 ;
956 unsigned char run_wake : 1 ;
957 unsigned char runtime_auto : 1 ;
958 unsigned char no_callbacks : 1 ;
959 unsigned char irq_safe : 1 ;
960 unsigned char use_autosuspend : 1 ;
961 unsigned char timer_autosuspends : 1 ;
962 enum rpm_request request ;
963 enum rpm_status runtime_status ;
964 int runtime_error ;
965 int autosuspend_delay ;
966 unsigned long last_busy ;
967 unsigned long active_jiffies ;
968 unsigned long suspended_jiffies ;
969 unsigned long accounting_timestamp ;
970 void *subsys_data ;
971};
972#line 469 "include/linux/pm.h"
973struct dev_power_domain {
974 struct dev_pm_ops ops ;
975};
976#line 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/mmu.h"
977struct __anonstruct_mm_context_t_99 {
978 void *ldt ;
979 int size ;
980 unsigned short ia32_compat ;
981 struct mutex lock ;
982 void *vdso ;
983};
984#line 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/mmu.h"
985typedef struct __anonstruct_mm_context_t_99 mm_context_t;
986#line 71 "include/asm-generic/iomap.h"
987struct vm_area_struct;
988#line 71
989struct vm_area_struct;
990#line 71
991struct vm_area_struct;
992#line 71
993struct vm_area_struct;
994#line 53 "include/linux/rcupdate.h"
995struct rcu_head {
996 struct rcu_head *next ;
997 void (*func)(struct rcu_head * ) ;
998};
999#line 841
1000struct nsproxy;
1001#line 841
1002struct nsproxy;
1003#line 841
1004struct nsproxy;
1005#line 841
1006struct nsproxy;
1007#line 842
1008struct ctl_table_root;
1009#line 842
1010struct ctl_table_root;
1011#line 842
1012struct ctl_table_root;
1013#line 842
1014struct ctl_table_root;
1015#line 843 "include/linux/rcupdate.h"
1016struct ctl_table_set {
1017 struct list_head list ;
1018 struct ctl_table_set *parent ;
1019 int (*is_seen)(struct ctl_table_set * ) ;
1020};
1021#line 947 "include/linux/sysctl.h"
1022struct ctl_table_header;
1023#line 947
1024struct ctl_table_header;
1025#line 947
1026struct ctl_table_header;
1027#line 947
1028struct ctl_table_header;
1029#line 965 "include/linux/sysctl.h"
1030typedef int proc_handler(struct ctl_table * , int , void * , size_t * , loff_t * );
1031#line 985 "include/linux/sysctl.h"
1032struct ctl_table {
1033 char const *procname ;
1034 void *data ;
1035 int maxlen ;
1036 mode_t mode ;
1037 struct ctl_table *child ;
1038 struct ctl_table *parent ;
1039 proc_handler *proc_handler ;
1040 void *extra1 ;
1041 void *extra2 ;
1042};
1043#line 1027 "include/linux/sysctl.h"
1044struct ctl_table_root {
1045 struct list_head root_list ;
1046 struct ctl_table_set default_set ;
1047 struct ctl_table_set *(*lookup)(struct ctl_table_root * , struct nsproxy * ) ;
1048 int (*permissions)(struct ctl_table_root * , struct nsproxy * , struct ctl_table * ) ;
1049};
1050#line 1035 "include/linux/sysctl.h"
1051struct __anonstruct_ldv_12193_124 {
1052 struct ctl_table *ctl_table ;
1053 struct list_head ctl_entry ;
1054 int used ;
1055 int count ;
1056};
1057#line 1035 "include/linux/sysctl.h"
1058union __anonunion_ldv_12195_123 {
1059 struct __anonstruct_ldv_12193_124 ldv_12193 ;
1060 struct rcu_head rcu ;
1061};
1062#line 1035 "include/linux/sysctl.h"
1063struct ctl_table_header {
1064 union __anonunion_ldv_12195_123 ldv_12195 ;
1065 struct completion *unregistering ;
1066 struct ctl_table *ctl_table_arg ;
1067 struct ctl_table_root *root ;
1068 struct ctl_table_set *set ;
1069 struct ctl_table *attached_by ;
1070 struct ctl_table *attached_to ;
1071 struct ctl_table_header *parent ;
1072};
1073#line 36 "include/linux/kmod.h"
1074struct cred;
1075#line 36
1076struct cred;
1077#line 36
1078struct cred;
1079#line 36
1080struct cred;
1081#line 229 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/elf.h"
1082struct linux_binprm;
1083#line 229
1084struct linux_binprm;
1085#line 229
1086struct linux_binprm;
1087#line 229
1088struct linux_binprm;
1089#line 27 "include/linux/elf.h"
1090typedef __u64 Elf64_Addr;
1091#line 28 "include/linux/elf.h"
1092typedef __u16 Elf64_Half;
1093#line 32 "include/linux/elf.h"
1094typedef __u32 Elf64_Word;
1095#line 33 "include/linux/elf.h"
1096typedef __u64 Elf64_Xword;
1097#line 202 "include/linux/elf.h"
1098struct elf64_sym {
1099 Elf64_Word st_name ;
1100 unsigned char st_info ;
1101 unsigned char st_other ;
1102 Elf64_Half st_shndx ;
1103 Elf64_Addr st_value ;
1104 Elf64_Xword st_size ;
1105};
1106#line 210 "include/linux/elf.h"
1107typedef struct elf64_sym Elf64_Sym;
1108#line 444
1109struct sock;
1110#line 444
1111struct sock;
1112#line 444
1113struct sock;
1114#line 444
1115struct sock;
1116#line 445
1117struct kobject;
1118#line 445
1119struct kobject;
1120#line 445
1121struct kobject;
1122#line 445
1123struct kobject;
1124#line 446
1125enum kobj_ns_type {
1126 KOBJ_NS_TYPE_NONE = 0,
1127 KOBJ_NS_TYPE_NET = 1,
1128 KOBJ_NS_TYPES = 2
1129} ;
1130#line 452 "include/linux/elf.h"
1131struct kobj_ns_type_operations {
1132 enum kobj_ns_type type ;
1133 void *(*grab_current_ns)(void) ;
1134 void const *(*netlink_ns)(struct sock * ) ;
1135 void const *(*initial_ns)(void) ;
1136 void (*drop_ns)(void * ) ;
1137};
1138#line 57 "include/linux/kobject_ns.h"
1139struct attribute {
1140 char const *name ;
1141 mode_t mode ;
1142 struct lock_class_key *key ;
1143 struct lock_class_key skey ;
1144};
1145#line 33 "include/linux/sysfs.h"
1146struct attribute_group {
1147 char const *name ;
1148 mode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
1149 struct attribute **attrs ;
1150};
1151#line 62 "include/linux/sysfs.h"
1152struct bin_attribute {
1153 struct attribute attr ;
1154 size_t size ;
1155 void *private ;
1156 ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1157 loff_t , size_t ) ;
1158 ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1159 loff_t , size_t ) ;
1160 int (*mmap)(struct file * , struct kobject * , struct bin_attribute * , struct vm_area_struct * ) ;
1161};
1162#line 98 "include/linux/sysfs.h"
1163struct sysfs_ops {
1164 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
1165 ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ;
1166};
1167#line 116
1168struct sysfs_dirent;
1169#line 116
1170struct sysfs_dirent;
1171#line 116
1172struct sysfs_dirent;
1173#line 116
1174struct sysfs_dirent;
1175#line 181 "include/linux/sysfs.h"
1176struct kref {
1177 atomic_t refcount ;
1178};
1179#line 49 "include/linux/kobject.h"
1180struct kset;
1181#line 49
1182struct kset;
1183#line 49
1184struct kset;
1185#line 49
1186struct kobj_type;
1187#line 49
1188struct kobj_type;
1189#line 49
1190struct kobj_type;
1191#line 49 "include/linux/kobject.h"
1192struct kobject {
1193 char const *name ;
1194 struct list_head entry ;
1195 struct kobject *parent ;
1196 struct kset *kset ;
1197 struct kobj_type *ktype ;
1198 struct sysfs_dirent *sd ;
1199 struct kref kref ;
1200 unsigned char state_initialized : 1 ;
1201 unsigned char state_in_sysfs : 1 ;
1202 unsigned char state_add_uevent_sent : 1 ;
1203 unsigned char state_remove_uevent_sent : 1 ;
1204 unsigned char uevent_suppress : 1 ;
1205};
1206#line 109 "include/linux/kobject.h"
1207struct kobj_type {
1208 void (*release)(struct kobject * ) ;
1209 struct sysfs_ops const *sysfs_ops ;
1210 struct attribute **default_attrs ;
1211 struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject * ) ;
1212 void const *(*namespace)(struct kobject * ) ;
1213};
1214#line 117 "include/linux/kobject.h"
1215struct kobj_uevent_env {
1216 char *envp[32U] ;
1217 int envp_idx ;
1218 char buf[2048U] ;
1219 int buflen ;
1220};
1221#line 124 "include/linux/kobject.h"
1222struct kset_uevent_ops {
1223 int (* const filter)(struct kset * , struct kobject * ) ;
1224 char const *(* const name)(struct kset * , struct kobject * ) ;
1225 int (* const uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
1226};
1227#line 141 "include/linux/kobject.h"
1228struct kset {
1229 struct list_head list ;
1230 spinlock_t list_lock ;
1231 struct kobject kobj ;
1232 struct kset_uevent_ops const *uevent_ops ;
1233};
1234#line 219
1235struct kernel_param;
1236#line 219
1237struct kernel_param;
1238#line 219
1239struct kernel_param;
1240#line 219
1241struct kernel_param;
1242#line 220 "include/linux/kobject.h"
1243struct kernel_param_ops {
1244 int (*set)(char const * , struct kernel_param const * ) ;
1245 int (*get)(char * , struct kernel_param const * ) ;
1246 void (*free)(void * ) ;
1247};
1248#line 44 "include/linux/moduleparam.h"
1249struct kparam_string;
1250#line 44
1251struct kparam_string;
1252#line 44
1253struct kparam_string;
1254#line 44
1255struct kparam_array;
1256#line 44
1257struct kparam_array;
1258#line 44
1259struct kparam_array;
1260#line 44 "include/linux/moduleparam.h"
1261union __anonunion_ldv_12924_129 {
1262 void *arg ;
1263 struct kparam_string const *str ;
1264 struct kparam_array const *arr ;
1265};
1266#line 44 "include/linux/moduleparam.h"
1267struct kernel_param {
1268 char const *name ;
1269 struct kernel_param_ops const *ops ;
1270 u16 perm ;
1271 u16 flags ;
1272 union __anonunion_ldv_12924_129 ldv_12924 ;
1273};
1274#line 59 "include/linux/moduleparam.h"
1275struct kparam_string {
1276 unsigned int maxlen ;
1277 char *string ;
1278};
1279#line 65 "include/linux/moduleparam.h"
1280struct kparam_array {
1281 unsigned int max ;
1282 unsigned int elemsize ;
1283 unsigned int *num ;
1284 struct kernel_param_ops const *ops ;
1285 void *elem ;
1286};
1287#line 404 "include/linux/moduleparam.h"
1288struct jump_label_key {
1289 atomic_t enabled ;
1290};
1291#line 99 "include/linux/jump_label.h"
1292struct tracepoint;
1293#line 99
1294struct tracepoint;
1295#line 99
1296struct tracepoint;
1297#line 99
1298struct tracepoint;
1299#line 100 "include/linux/jump_label.h"
1300struct tracepoint_func {
1301 void *func ;
1302 void *data ;
1303};
1304#line 29 "include/linux/tracepoint.h"
1305struct tracepoint {
1306 char const *name ;
1307 struct jump_label_key key ;
1308 void (*regfunc)(void) ;
1309 void (*unregfunc)(void) ;
1310 struct tracepoint_func *funcs ;
1311};
1312#line 84 "include/linux/tracepoint.h"
1313struct mod_arch_specific {
1314
1315};
1316#line 127 "include/trace/events/module.h"
1317struct kernel_symbol {
1318 unsigned long value ;
1319 char const *name ;
1320};
1321#line 48 "include/linux/module.h"
1322struct module_attribute {
1323 struct attribute attr ;
1324 ssize_t (*show)(struct module_attribute * , struct module * , char * ) ;
1325 ssize_t (*store)(struct module_attribute * , struct module * , char const * ,
1326 size_t ) ;
1327 void (*setup)(struct module * , char const * ) ;
1328 int (*test)(struct module * ) ;
1329 void (*free)(struct module * ) ;
1330};
1331#line 68
1332struct module_param_attrs;
1333#line 68
1334struct module_param_attrs;
1335#line 68
1336struct module_param_attrs;
1337#line 68 "include/linux/module.h"
1338struct module_kobject {
1339 struct kobject kobj ;
1340 struct module *mod ;
1341 struct kobject *drivers_dir ;
1342 struct module_param_attrs *mp ;
1343};
1344#line 81
1345struct exception_table_entry;
1346#line 81
1347struct exception_table_entry;
1348#line 81
1349struct exception_table_entry;
1350#line 81
1351struct exception_table_entry;
1352#line 218
1353enum module_state {
1354 MODULE_STATE_LIVE = 0,
1355 MODULE_STATE_COMING = 1,
1356 MODULE_STATE_GOING = 2
1357} ;
1358#line 224 "include/linux/module.h"
1359struct module_ref {
1360 unsigned int incs ;
1361 unsigned int decs ;
1362};
1363#line 418
1364struct module_sect_attrs;
1365#line 418
1366struct module_sect_attrs;
1367#line 418
1368struct module_sect_attrs;
1369#line 418
1370struct module_notes_attrs;
1371#line 418
1372struct module_notes_attrs;
1373#line 418
1374struct module_notes_attrs;
1375#line 418
1376struct ftrace_event_call;
1377#line 418
1378struct ftrace_event_call;
1379#line 418
1380struct ftrace_event_call;
1381#line 418 "include/linux/module.h"
1382struct module {
1383 enum module_state state ;
1384 struct list_head list ;
1385 char name[56U] ;
1386 struct module_kobject mkobj ;
1387 struct module_attribute *modinfo_attrs ;
1388 char const *version ;
1389 char const *srcversion ;
1390 struct kobject *holders_dir ;
1391 struct kernel_symbol const *syms ;
1392 unsigned long const *crcs ;
1393 unsigned int num_syms ;
1394 struct kernel_param *kp ;
1395 unsigned int num_kp ;
1396 unsigned int num_gpl_syms ;
1397 struct kernel_symbol const *gpl_syms ;
1398 unsigned long const *gpl_crcs ;
1399 struct kernel_symbol const *unused_syms ;
1400 unsigned long const *unused_crcs ;
1401 unsigned int num_unused_syms ;
1402 unsigned int num_unused_gpl_syms ;
1403 struct kernel_symbol const *unused_gpl_syms ;
1404 unsigned long const *unused_gpl_crcs ;
1405 struct kernel_symbol const *gpl_future_syms ;
1406 unsigned long const *gpl_future_crcs ;
1407 unsigned int num_gpl_future_syms ;
1408 unsigned int num_exentries ;
1409 struct exception_table_entry *extable ;
1410 int (*init)(void) ;
1411 void *module_init ;
1412 void *module_core ;
1413 unsigned int init_size ;
1414 unsigned int core_size ;
1415 unsigned int init_text_size ;
1416 unsigned int core_text_size ;
1417 unsigned int init_ro_size ;
1418 unsigned int core_ro_size ;
1419 struct mod_arch_specific arch ;
1420 unsigned int taints ;
1421 unsigned int num_bugs ;
1422 struct list_head bug_list ;
1423 struct bug_entry *bug_table ;
1424 Elf64_Sym *symtab ;
1425 Elf64_Sym *core_symtab ;
1426 unsigned int num_symtab ;
1427 unsigned int core_num_syms ;
1428 char *strtab ;
1429 char *core_strtab ;
1430 struct module_sect_attrs *sect_attrs ;
1431 struct module_notes_attrs *notes_attrs ;
1432 char *args ;
1433 void *percpu ;
1434 unsigned int percpu_size ;
1435 unsigned int num_tracepoints ;
1436 struct tracepoint * const *tracepoints_ptrs ;
1437 unsigned int num_trace_bprintk_fmt ;
1438 char const **trace_bprintk_fmt_start ;
1439 struct ftrace_event_call **trace_events ;
1440 unsigned int num_trace_events ;
1441 unsigned int num_ftrace_callsites ;
1442 unsigned long *ftrace_callsites ;
1443 struct list_head source_list ;
1444 struct list_head target_list ;
1445 struct task_struct *waiter ;
1446 void (*exit)(void) ;
1447 struct module_ref *refptr ;
1448 ctor_fn_t (**ctors)(void) ;
1449 unsigned int num_ctors ;
1450};
1451#line 8 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
1452struct idr_layer {
1453 unsigned long bitmap ;
1454 struct idr_layer *ary[64U] ;
1455 int count ;
1456 int layer ;
1457 struct rcu_head rcu_head ;
1458};
1459#line 58 "include/linux/idr.h"
1460struct idr {
1461 struct idr_layer *top ;
1462 struct idr_layer *id_free ;
1463 int layers ;
1464 int id_free_cnt ;
1465 spinlock_t lock ;
1466};
1467#line 16 "include/linux/socket.h"
1468struct iovec {
1469 void *iov_base ;
1470 __kernel_size_t iov_len ;
1471};
1472#line 38 "include/linux/socket.h"
1473typedef unsigned short sa_family_t;
1474#line 39 "include/linux/socket.h"
1475struct sockaddr {
1476 sa_family_t sa_family ;
1477 char sa_data[14U] ;
1478};
1479#line 53 "include/linux/socket.h"
1480struct msghdr {
1481 void *msg_name ;
1482 int msg_namelen ;
1483 struct iovec *msg_iov ;
1484 __kernel_size_t msg_iovlen ;
1485 void *msg_control ;
1486 __kernel_size_t msg_controllen ;
1487 unsigned int msg_flags ;
1488};
1489#line 41 "include/linux/hdlc/ioctl.h"
1490struct __anonstruct_sync_serial_settings_130 {
1491 unsigned int clock_rate ;
1492 unsigned int clock_type ;
1493 unsigned short loopback ;
1494};
1495#line 41 "include/linux/hdlc/ioctl.h"
1496typedef struct __anonstruct_sync_serial_settings_130 sync_serial_settings;
1497#line 48 "include/linux/hdlc/ioctl.h"
1498struct __anonstruct_te1_settings_131 {
1499 unsigned int clock_rate ;
1500 unsigned int clock_type ;
1501 unsigned short loopback ;
1502 unsigned int slot_map ;
1503};
1504#line 48 "include/linux/hdlc/ioctl.h"
1505typedef struct __anonstruct_te1_settings_131 te1_settings;
1506#line 53 "include/linux/hdlc/ioctl.h"
1507struct __anonstruct_raw_hdlc_proto_132 {
1508 unsigned short encoding ;
1509 unsigned short parity ;
1510};
1511#line 53 "include/linux/hdlc/ioctl.h"
1512typedef struct __anonstruct_raw_hdlc_proto_132 raw_hdlc_proto;
1513#line 63 "include/linux/hdlc/ioctl.h"
1514struct __anonstruct_fr_proto_133 {
1515 unsigned int t391 ;
1516 unsigned int t392 ;
1517 unsigned int n391 ;
1518 unsigned int n392 ;
1519 unsigned int n393 ;
1520 unsigned short lmi ;
1521 unsigned short dce ;
1522};
1523#line 63 "include/linux/hdlc/ioctl.h"
1524typedef struct __anonstruct_fr_proto_133 fr_proto;
1525#line 67 "include/linux/hdlc/ioctl.h"
1526struct __anonstruct_fr_proto_pvc_134 {
1527 unsigned int dlci ;
1528};
1529#line 67 "include/linux/hdlc/ioctl.h"
1530typedef struct __anonstruct_fr_proto_pvc_134 fr_proto_pvc;
1531#line 72 "include/linux/hdlc/ioctl.h"
1532struct __anonstruct_fr_proto_pvc_info_135 {
1533 unsigned int dlci ;
1534 char master[16U] ;
1535};
1536#line 72 "include/linux/hdlc/ioctl.h"
1537typedef struct __anonstruct_fr_proto_pvc_info_135 fr_proto_pvc_info;
1538#line 77 "include/linux/hdlc/ioctl.h"
1539struct __anonstruct_cisco_proto_136 {
1540 unsigned int interval ;
1541 unsigned int timeout ;
1542};
1543#line 77 "include/linux/hdlc/ioctl.h"
1544typedef struct __anonstruct_cisco_proto_136 cisco_proto;
1545#line 93 "include/linux/hdlc/ioctl.h"
1546struct ifmap {
1547 unsigned long mem_start ;
1548 unsigned long mem_end ;
1549 unsigned short base_addr ;
1550 unsigned char irq ;
1551 unsigned char dma ;
1552 unsigned char port ;
1553};
1554#line 142 "include/linux/if.h"
1555union __anonunion_ifs_ifsu_137 {
1556 raw_hdlc_proto *raw_hdlc ;
1557 cisco_proto *cisco ;
1558 fr_proto *fr ;
1559 fr_proto_pvc *fr_pvc ;
1560 fr_proto_pvc_info *fr_pvc_info ;
1561 sync_serial_settings *sync ;
1562 te1_settings *te1 ;
1563};
1564#line 142 "include/linux/if.h"
1565struct if_settings {
1566 unsigned int type ;
1567 unsigned int size ;
1568 union __anonunion_ifs_ifsu_137 ifs_ifsu ;
1569};
1570#line 160 "include/linux/if.h"
1571union __anonunion_ifr_ifrn_138 {
1572 char ifrn_name[16U] ;
1573};
1574#line 160 "include/linux/if.h"
1575union __anonunion_ifr_ifru_139 {
1576 struct sockaddr ifru_addr ;
1577 struct sockaddr ifru_dstaddr ;
1578 struct sockaddr ifru_broadaddr ;
1579 struct sockaddr ifru_netmask ;
1580 struct sockaddr ifru_hwaddr ;
1581 short ifru_flags ;
1582 int ifru_ivalue ;
1583 int ifru_mtu ;
1584 struct ifmap ifru_map ;
1585 char ifru_slave[16U] ;
1586 char ifru_newname[16U] ;
1587 void *ifru_data ;
1588 struct if_settings ifru_settings ;
1589};
1590#line 160 "include/linux/if.h"
1591struct ifreq {
1592 union __anonunion_ifr_ifrn_138 ifr_ifrn ;
1593 union __anonunion_ifr_ifru_139 ifr_ifru ;
1594};
1595#line 224 "include/linux/if.h"
1596struct ethhdr {
1597 unsigned char h_dest[6U] ;
1598 unsigned char h_source[6U] ;
1599 __be16 h_proto ;
1600};
1601#line 124 "include/linux/if_ether.h"
1602struct prio_tree_node;
1603#line 124
1604struct prio_tree_node;
1605#line 124
1606struct prio_tree_node;
1607#line 124 "include/linux/if_ether.h"
1608struct raw_prio_tree_node {
1609 struct prio_tree_node *left ;
1610 struct prio_tree_node *right ;
1611 struct prio_tree_node *parent ;
1612};
1613#line 19 "include/linux/prio_tree.h"
1614struct prio_tree_node {
1615 struct prio_tree_node *left ;
1616 struct prio_tree_node *right ;
1617 struct prio_tree_node *parent ;
1618 unsigned long start ;
1619 unsigned long last ;
1620};
1621#line 27 "include/linux/prio_tree.h"
1622struct prio_tree_root {
1623 struct prio_tree_node *prio_tree_node ;
1624 unsigned short index_bits ;
1625 unsigned short raw ;
1626};
1627#line 111 "include/linux/prio_tree.h"
1628struct rb_node {
1629 unsigned long rb_parent_color ;
1630 struct rb_node *rb_right ;
1631 struct rb_node *rb_left ;
1632};
1633#line 108 "include/linux/rbtree.h"
1634struct rb_root {
1635 struct rb_node *rb_node ;
1636};
1637#line 180
1638struct address_space;
1639#line 180
1640struct address_space;
1641#line 180
1642struct address_space;
1643#line 180
1644struct address_space;
1645#line 181 "include/linux/rbtree.h"
1646struct __anonstruct_ldv_14087_142 {
1647 u16 inuse ;
1648 u16 objects ;
1649};
1650#line 181 "include/linux/rbtree.h"
1651union __anonunion_ldv_14088_141 {
1652 atomic_t _mapcount ;
1653 struct __anonstruct_ldv_14087_142 ldv_14087 ;
1654};
1655#line 181 "include/linux/rbtree.h"
1656struct __anonstruct_ldv_14093_144 {
1657 unsigned long private ;
1658 struct address_space *mapping ;
1659};
1660#line 181 "include/linux/rbtree.h"
1661union __anonunion_ldv_14096_143 {
1662 struct __anonstruct_ldv_14093_144 ldv_14093 ;
1663 struct kmem_cache *slab ;
1664 struct page *first_page ;
1665};
1666#line 181 "include/linux/rbtree.h"
1667union __anonunion_ldv_14100_145 {
1668 unsigned long index ;
1669 void *freelist ;
1670};
1671#line 181 "include/linux/rbtree.h"
1672struct page {
1673 unsigned long flags ;
1674 atomic_t _count ;
1675 union __anonunion_ldv_14088_141 ldv_14088 ;
1676 union __anonunion_ldv_14096_143 ldv_14096 ;
1677 union __anonunion_ldv_14100_145 ldv_14100 ;
1678 struct list_head lru ;
1679};
1680#line 124 "include/linux/mm_types.h"
1681struct __anonstruct_vm_set_147 {
1682 struct list_head list ;
1683 void *parent ;
1684 struct vm_area_struct *head ;
1685};
1686#line 124 "include/linux/mm_types.h"
1687union __anonunion_shared_146 {
1688 struct __anonstruct_vm_set_147 vm_set ;
1689 struct raw_prio_tree_node prio_tree_node ;
1690};
1691#line 124
1692struct anon_vma;
1693#line 124
1694struct anon_vma;
1695#line 124
1696struct anon_vma;
1697#line 124
1698struct vm_operations_struct;
1699#line 124
1700struct vm_operations_struct;
1701#line 124
1702struct vm_operations_struct;
1703#line 124
1704struct mempolicy;
1705#line 124
1706struct mempolicy;
1707#line 124
1708struct mempolicy;
1709#line 124 "include/linux/mm_types.h"
1710struct vm_area_struct {
1711 struct mm_struct *vm_mm ;
1712 unsigned long vm_start ;
1713 unsigned long vm_end ;
1714 struct vm_area_struct *vm_next ;
1715 struct vm_area_struct *vm_prev ;
1716 pgprot_t vm_page_prot ;
1717 unsigned long vm_flags ;
1718 struct rb_node vm_rb ;
1719 union __anonunion_shared_146 shared ;
1720 struct list_head anon_vma_chain ;
1721 struct anon_vma *anon_vma ;
1722 struct vm_operations_struct const *vm_ops ;
1723 unsigned long vm_pgoff ;
1724 struct file *vm_file ;
1725 void *vm_private_data ;
1726 struct mempolicy *vm_policy ;
1727};
1728#line 187 "include/linux/mm_types.h"
1729struct core_thread {
1730 struct task_struct *task ;
1731 struct core_thread *next ;
1732};
1733#line 193 "include/linux/mm_types.h"
1734struct core_state {
1735 atomic_t nr_threads ;
1736 struct core_thread dumper ;
1737 struct completion startup ;
1738};
1739#line 206 "include/linux/mm_types.h"
1740struct mm_rss_stat {
1741 atomic_long_t count[3U] ;
1742};
1743#line 219
1744struct linux_binfmt;
1745#line 219
1746struct linux_binfmt;
1747#line 219
1748struct linux_binfmt;
1749#line 219
1750struct mmu_notifier_mm;
1751#line 219
1752struct mmu_notifier_mm;
1753#line 219
1754struct mmu_notifier_mm;
1755#line 219 "include/linux/mm_types.h"
1756struct mm_struct {
1757 struct vm_area_struct *mmap ;
1758 struct rb_root mm_rb ;
1759 struct vm_area_struct *mmap_cache ;
1760 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
1761 unsigned long , unsigned long ) ;
1762 void (*unmap_area)(struct mm_struct * , unsigned long ) ;
1763 unsigned long mmap_base ;
1764 unsigned long task_size ;
1765 unsigned long cached_hole_size ;
1766 unsigned long free_area_cache ;
1767 pgd_t *pgd ;
1768 atomic_t mm_users ;
1769 atomic_t mm_count ;
1770 int map_count ;
1771 spinlock_t page_table_lock ;
1772 struct rw_semaphore mmap_sem ;
1773 struct list_head mmlist ;
1774 unsigned long hiwater_rss ;
1775 unsigned long hiwater_vm ;
1776 unsigned long total_vm ;
1777 unsigned long locked_vm ;
1778 unsigned long shared_vm ;
1779 unsigned long exec_vm ;
1780 unsigned long stack_vm ;
1781 unsigned long reserved_vm ;
1782 unsigned long def_flags ;
1783 unsigned long nr_ptes ;
1784 unsigned long start_code ;
1785 unsigned long end_code ;
1786 unsigned long start_data ;
1787 unsigned long end_data ;
1788 unsigned long start_brk ;
1789 unsigned long brk ;
1790 unsigned long start_stack ;
1791 unsigned long arg_start ;
1792 unsigned long arg_end ;
1793 unsigned long env_start ;
1794 unsigned long env_end ;
1795 unsigned long saved_auxv[44U] ;
1796 struct mm_rss_stat rss_stat ;
1797 struct linux_binfmt *binfmt ;
1798 cpumask_var_t cpu_vm_mask_var ;
1799 mm_context_t context ;
1800 unsigned int faultstamp ;
1801 unsigned int token_priority ;
1802 unsigned int last_interval ;
1803 atomic_t oom_disable_count ;
1804 unsigned long flags ;
1805 struct core_state *core_state ;
1806 spinlock_t ioctx_lock ;
1807 struct hlist_head ioctx_list ;
1808 struct task_struct *owner ;
1809 struct file *exe_file ;
1810 unsigned long num_exe_file_vmas ;
1811 struct mmu_notifier_mm *mmu_notifier_mm ;
1812 pgtable_t pmd_huge_pte ;
1813 struct cpumask cpumask_allocation ;
1814};
1815#line 158 "include/linux/kmemcheck.h"
1816enum ldv_13744 {
1817 SS_FREE = 0,
1818 SS_UNCONNECTED = 1,
1819 SS_CONNECTING = 2,
1820 SS_CONNECTED = 3,
1821 SS_DISCONNECTING = 4
1822} ;
1823#line 53 "include/linux/net.h"
1824typedef enum ldv_13744 socket_state;
1825#line 179 "include/asm-generic/fcntl.h"
1826struct poll_table_struct;
1827#line 179
1828struct poll_table_struct;
1829#line 179
1830struct poll_table_struct;
1831#line 179
1832struct poll_table_struct;
1833#line 180
1834struct pipe_inode_info;
1835#line 180
1836struct pipe_inode_info;
1837#line 180
1838struct pipe_inode_info;
1839#line 180
1840struct pipe_inode_info;
1841#line 181
1842struct inode;
1843#line 181
1844struct inode;
1845#line 181
1846struct inode;
1847#line 181
1848struct inode;
1849#line 182
1850struct net;
1851#line 182
1852struct net;
1853#line 182
1854struct net;
1855#line 182
1856struct net;
1857#line 199
1858struct fasync_struct;
1859#line 199
1860struct fasync_struct;
1861#line 199
1862struct fasync_struct;
1863#line 199 "include/asm-generic/fcntl.h"
1864struct socket_wq {
1865 wait_queue_head_t wait ;
1866 struct fasync_struct *fasync_list ;
1867 struct rcu_head rcu ;
1868};
1869#line 127 "include/linux/net.h"
1870struct proto_ops;
1871#line 127
1872struct proto_ops;
1873#line 127
1874struct proto_ops;
1875#line 127 "include/linux/net.h"
1876struct socket {
1877 socket_state state ;
1878 short type ;
1879 unsigned long flags ;
1880 struct socket_wq *wq ;
1881 struct file *file ;
1882 struct sock *sk ;
1883 struct proto_ops const *ops ;
1884};
1885#line 153
1886struct kiocb;
1887#line 153
1888struct kiocb;
1889#line 153
1890struct kiocb;
1891#line 153
1892struct kiocb;
1893#line 154 "include/linux/net.h"
1894struct proto_ops {
1895 int family ;
1896 struct module *owner ;
1897 int (*release)(struct socket * ) ;
1898 int (*bind)(struct socket * , struct sockaddr * , int ) ;
1899 int (*connect)(struct socket * , struct sockaddr * , int , int ) ;
1900 int (*socketpair)(struct socket * , struct socket * ) ;
1901 int (*accept)(struct socket * , struct socket * , int ) ;
1902 int (*getname)(struct socket * , struct sockaddr * , int * , int ) ;
1903 unsigned int (*poll)(struct file * , struct socket * , struct poll_table_struct * ) ;
1904 int (*ioctl)(struct socket * , unsigned int , unsigned long ) ;
1905 int (*compat_ioctl)(struct socket * , unsigned int , unsigned long ) ;
1906 int (*listen)(struct socket * , int ) ;
1907 int (*shutdown)(struct socket * , int ) ;
1908 int (*setsockopt)(struct socket * , int , int , char * , unsigned int ) ;
1909 int (*getsockopt)(struct socket * , int , int , char * , int * ) ;
1910 int (*compat_setsockopt)(struct socket * , int , int , char * , unsigned int ) ;
1911 int (*compat_getsockopt)(struct socket * , int , int , char * , int * ) ;
1912 int (*sendmsg)(struct kiocb * , struct socket * , struct msghdr * , size_t ) ;
1913 int (*recvmsg)(struct kiocb * , struct socket * , struct msghdr * , size_t , int ) ;
1914 int (*mmap)(struct file * , struct socket * , struct vm_area_struct * ) ;
1915 ssize_t (*sendpage)(struct socket * , struct page * , int , size_t , int ) ;
1916 ssize_t (*splice_read)(struct socket * , loff_t * , struct pipe_inode_info * ,
1917 size_t , unsigned int ) ;
1918};
1919#line 118 "include/linux/kmemleak.h"
1920struct kmem_cache_cpu {
1921 void **freelist ;
1922 unsigned long tid ;
1923 struct page *page ;
1924 int node ;
1925 unsigned int stat[19U] ;
1926};
1927#line 46 "include/linux/slub_def.h"
1928struct kmem_cache_node {
1929 spinlock_t list_lock ;
1930 unsigned long nr_partial ;
1931 struct list_head partial ;
1932 atomic_long_t nr_slabs ;
1933 atomic_long_t total_objects ;
1934 struct list_head full ;
1935};
1936#line 57 "include/linux/slub_def.h"
1937struct kmem_cache_order_objects {
1938 unsigned long x ;
1939};
1940#line 67 "include/linux/slub_def.h"
1941struct kmem_cache {
1942 struct kmem_cache_cpu *cpu_slab ;
1943 unsigned long flags ;
1944 unsigned long min_partial ;
1945 int size ;
1946 int objsize ;
1947 int offset ;
1948 struct kmem_cache_order_objects oo ;
1949 struct kmem_cache_order_objects max ;
1950 struct kmem_cache_order_objects min ;
1951 gfp_t allocflags ;
1952 int refcount ;
1953 void (*ctor)(void * ) ;
1954 int inuse ;
1955 int align ;
1956 int reserved ;
1957 char const *name ;
1958 struct list_head list ;
1959 struct kobject kobj ;
1960 int remote_node_defrag_ratio ;
1961 struct kmem_cache_node *node[1024U] ;
1962};
1963#line 176 "include/linux/textsearch.h"
1964struct exception_table_entry {
1965 unsigned long insn ;
1966 unsigned long fixup ;
1967};
1968#line 108 "include/net/checksum.h"
1969struct sk_buff;
1970#line 108
1971struct sk_buff;
1972#line 108
1973struct sk_buff;
1974#line 108
1975struct sk_buff;
1976#line 120
1977struct klist_node;
1978#line 120
1979struct klist_node;
1980#line 120
1981struct klist_node;
1982#line 120
1983struct klist_node;
1984#line 37 "include/linux/klist.h"
1985struct klist_node {
1986 void *n_klist ;
1987 struct list_head n_node ;
1988 struct kref n_ref ;
1989};
1990#line 67
1991struct dma_map_ops;
1992#line 67
1993struct dma_map_ops;
1994#line 67
1995struct dma_map_ops;
1996#line 67 "include/linux/klist.h"
1997struct dev_archdata {
1998 void *acpi_handle ;
1999 struct dma_map_ops *dma_ops ;
2000 void *iommu ;
2001};
2002#line 17 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2003struct device_private;
2004#line 17
2005struct device_private;
2006#line 17
2007struct device_private;
2008#line 17
2009struct device_private;
2010#line 18
2011struct device_driver;
2012#line 18
2013struct device_driver;
2014#line 18
2015struct device_driver;
2016#line 18
2017struct device_driver;
2018#line 19
2019struct driver_private;
2020#line 19
2021struct driver_private;
2022#line 19
2023struct driver_private;
2024#line 19
2025struct driver_private;
2026#line 20
2027struct class;
2028#line 20
2029struct class;
2030#line 20
2031struct class;
2032#line 20
2033struct class;
2034#line 21
2035struct subsys_private;
2036#line 21
2037struct subsys_private;
2038#line 21
2039struct subsys_private;
2040#line 21
2041struct subsys_private;
2042#line 22
2043struct bus_type;
2044#line 22
2045struct bus_type;
2046#line 22
2047struct bus_type;
2048#line 22
2049struct bus_type;
2050#line 23
2051struct device_node;
2052#line 23
2053struct device_node;
2054#line 23
2055struct device_node;
2056#line 23
2057struct device_node;
2058#line 24 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2059struct bus_attribute {
2060 struct attribute attr ;
2061 ssize_t (*show)(struct bus_type * , char * ) ;
2062 ssize_t (*store)(struct bus_type * , char const * , size_t ) ;
2063};
2064#line 49 "include/linux/device.h"
2065struct device_attribute;
2066#line 49
2067struct device_attribute;
2068#line 49
2069struct device_attribute;
2070#line 49
2071struct driver_attribute;
2072#line 49
2073struct driver_attribute;
2074#line 49
2075struct driver_attribute;
2076#line 49 "include/linux/device.h"
2077struct bus_type {
2078 char const *name ;
2079 struct bus_attribute *bus_attrs ;
2080 struct device_attribute *dev_attrs ;
2081 struct driver_attribute *drv_attrs ;
2082 int (*match)(struct device * , struct device_driver * ) ;
2083 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
2084 int (*probe)(struct device * ) ;
2085 int (*remove)(struct device * ) ;
2086 void (*shutdown)(struct device * ) ;
2087 int (*suspend)(struct device * , pm_message_t ) ;
2088 int (*resume)(struct device * ) ;
2089 struct dev_pm_ops const *pm ;
2090 struct subsys_private *p ;
2091};
2092#line 153
2093struct of_device_id;
2094#line 153
2095struct of_device_id;
2096#line 153
2097struct of_device_id;
2098#line 153 "include/linux/device.h"
2099struct device_driver {
2100 char const *name ;
2101 struct bus_type *bus ;
2102 struct module *owner ;
2103 char const *mod_name ;
2104 bool suppress_bind_attrs ;
2105 struct of_device_id const *of_match_table ;
2106 int (*probe)(struct device * ) ;
2107 int (*remove)(struct device * ) ;
2108 void (*shutdown)(struct device * ) ;
2109 int (*suspend)(struct device * , pm_message_t ) ;
2110 int (*resume)(struct device * ) ;
2111 struct attribute_group const **groups ;
2112 struct dev_pm_ops const *pm ;
2113 struct driver_private *p ;
2114};
2115#line 218 "include/linux/device.h"
2116struct driver_attribute {
2117 struct attribute attr ;
2118 ssize_t (*show)(struct device_driver * , char * ) ;
2119 ssize_t (*store)(struct device_driver * , char const * , size_t ) ;
2120};
2121#line 248
2122struct class_attribute;
2123#line 248
2124struct class_attribute;
2125#line 248
2126struct class_attribute;
2127#line 248 "include/linux/device.h"
2128struct class {
2129 char const *name ;
2130 struct module *owner ;
2131 struct class_attribute *class_attrs ;
2132 struct device_attribute *dev_attrs ;
2133 struct bin_attribute *dev_bin_attrs ;
2134 struct kobject *dev_kobj ;
2135 int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ;
2136 char *(*devnode)(struct device * , mode_t * ) ;
2137 void (*class_release)(struct class * ) ;
2138 void (*dev_release)(struct device * ) ;
2139 int (*suspend)(struct device * , pm_message_t ) ;
2140 int (*resume)(struct device * ) ;
2141 struct kobj_ns_type_operations const *ns_type ;
2142 void const *(*namespace)(struct device * ) ;
2143 struct dev_pm_ops const *pm ;
2144 struct subsys_private *p ;
2145};
2146#line 305
2147struct device_type;
2148#line 305
2149struct device_type;
2150#line 305
2151struct device_type;
2152#line 344 "include/linux/device.h"
2153struct class_attribute {
2154 struct attribute attr ;
2155 ssize_t (*show)(struct class * , struct class_attribute * , char * ) ;
2156 ssize_t (*store)(struct class * , struct class_attribute * , char const * , size_t ) ;
2157};
2158#line 395 "include/linux/device.h"
2159struct device_type {
2160 char const *name ;
2161 struct attribute_group const **groups ;
2162 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
2163 char *(*devnode)(struct device * , mode_t * ) ;
2164 void (*release)(struct device * ) ;
2165 struct dev_pm_ops const *pm ;
2166};
2167#line 422 "include/linux/device.h"
2168struct device_attribute {
2169 struct attribute attr ;
2170 ssize_t (*show)(struct device * , struct device_attribute * , char * ) ;
2171 ssize_t (*store)(struct device * , struct device_attribute * , char const * ,
2172 size_t ) ;
2173};
2174#line 483 "include/linux/device.h"
2175struct device_dma_parameters {
2176 unsigned int max_segment_size ;
2177 unsigned long segment_boundary_mask ;
2178};
2179#line 492
2180struct dma_coherent_mem;
2181#line 492
2182struct dma_coherent_mem;
2183#line 492
2184struct dma_coherent_mem;
2185#line 492 "include/linux/device.h"
2186struct device {
2187 struct device *parent ;
2188 struct device_private *p ;
2189 struct kobject kobj ;
2190 char const *init_name ;
2191 struct device_type const *type ;
2192 struct mutex mutex ;
2193 struct bus_type *bus ;
2194 struct device_driver *driver ;
2195 void *platform_data ;
2196 struct dev_pm_info power ;
2197 struct dev_power_domain *pwr_domain ;
2198 int numa_node ;
2199 u64 *dma_mask ;
2200 u64 coherent_dma_mask ;
2201 struct device_dma_parameters *dma_parms ;
2202 struct list_head dma_pools ;
2203 struct dma_coherent_mem *dma_mem ;
2204 struct dev_archdata archdata ;
2205 struct device_node *of_node ;
2206 dev_t devt ;
2207 spinlock_t devres_lock ;
2208 struct list_head devres_head ;
2209 struct klist_node knode_class ;
2210 struct class *class ;
2211 struct attribute_group const **groups ;
2212 void (*release)(struct device * ) ;
2213};
2214#line 604 "include/linux/device.h"
2215struct wakeup_source {
2216 char *name ;
2217 struct list_head entry ;
2218 spinlock_t lock ;
2219 struct timer_list timer ;
2220 unsigned long timer_expires ;
2221 ktime_t total_time ;
2222 ktime_t max_time ;
2223 ktime_t last_time ;
2224 unsigned long event_count ;
2225 unsigned long active_count ;
2226 unsigned long relax_count ;
2227 unsigned long hit_count ;
2228 unsigned char active : 1 ;
2229};
2230#line 34 "include/linux/bug.h"
2231struct dma_attrs {
2232 unsigned long flags[1U] ;
2233};
2234#line 65 "include/linux/dma-attrs.h"
2235struct scatterlist {
2236 unsigned long sg_magic ;
2237 unsigned long page_link ;
2238 unsigned int offset ;
2239 unsigned int length ;
2240 dma_addr_t dma_address ;
2241 unsigned int dma_length ;
2242};
2243#line 92 "include/linux/bit_spinlock.h"
2244struct file_ra_state;
2245#line 92
2246struct file_ra_state;
2247#line 92
2248struct file_ra_state;
2249#line 92
2250struct file_ra_state;
2251#line 93
2252struct user_struct;
2253#line 93
2254struct user_struct;
2255#line 93
2256struct user_struct;
2257#line 93
2258struct user_struct;
2259#line 94
2260struct writeback_control;
2261#line 94
2262struct writeback_control;
2263#line 94
2264struct writeback_control;
2265#line 94
2266struct writeback_control;
2267#line 175 "include/linux/mm.h"
2268struct vm_fault {
2269 unsigned int flags ;
2270 unsigned long pgoff ;
2271 void *virtual_address ;
2272 struct page *page ;
2273};
2274#line 192 "include/linux/mm.h"
2275struct vm_operations_struct {
2276 void (*open)(struct vm_area_struct * ) ;
2277 void (*close)(struct vm_area_struct * ) ;
2278 int (*fault)(struct vm_area_struct * , struct vm_fault * ) ;
2279 int (*page_mkwrite)(struct vm_area_struct * , struct vm_fault * ) ;
2280 int (*access)(struct vm_area_struct * , unsigned long , void * , int , int ) ;
2281 int (*set_policy)(struct vm_area_struct * , struct mempolicy * ) ;
2282 struct mempolicy *(*get_policy)(struct vm_area_struct * , unsigned long ) ;
2283 int (*migrate)(struct vm_area_struct * , nodemask_t const * , nodemask_t const * ,
2284 unsigned long ) ;
2285};
2286#line 266 "include/linux/scatterlist.h"
2287enum dma_data_direction {
2288 DMA_BIDIRECTIONAL = 0,
2289 DMA_TO_DEVICE = 1,
2290 DMA_FROM_DEVICE = 2,
2291 DMA_NONE = 3
2292} ;
2293#line 273 "include/linux/scatterlist.h"
2294struct dma_map_ops {
2295 void *(*alloc_coherent)(struct device * , size_t , dma_addr_t * , gfp_t ) ;
2296 void (*free_coherent)(struct device * , size_t , void * , dma_addr_t ) ;
2297 dma_addr_t (*map_page)(struct device * , struct page * , unsigned long , size_t ,
2298 enum dma_data_direction , struct dma_attrs * ) ;
2299 void (*unmap_page)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
2300 struct dma_attrs * ) ;
2301 int (*map_sg)(struct device * , struct scatterlist * , int , enum dma_data_direction ,
2302 struct dma_attrs * ) ;
2303 void (*unmap_sg)(struct device * , struct scatterlist * , int , enum dma_data_direction ,
2304 struct dma_attrs * ) ;
2305 void (*sync_single_for_cpu)(struct device * , dma_addr_t , size_t , enum dma_data_direction ) ;
2306 void (*sync_single_for_device)(struct device * , dma_addr_t , size_t , enum dma_data_direction ) ;
2307 void (*sync_sg_for_cpu)(struct device * , struct scatterlist * , int , enum dma_data_direction ) ;
2308 void (*sync_sg_for_device)(struct device * , struct scatterlist * , int , enum dma_data_direction ) ;
2309 int (*mapping_error)(struct device * , dma_addr_t ) ;
2310 int (*dma_supported)(struct device * , u64 ) ;
2311 int (*set_dma_mask)(struct device * , u64 ) ;
2312 int is_phys ;
2313};
2314#line 33 "include/linux/dmaengine.h"
2315typedef s32 dma_cookie_t;
2316#line 874 "include/linux/dmaengine.h"
2317struct timerqueue_node {
2318 struct rb_node node ;
2319 ktime_t expires ;
2320};
2321#line 12 "include/linux/timerqueue.h"
2322struct timerqueue_head {
2323 struct rb_root head ;
2324 struct timerqueue_node *next ;
2325};
2326#line 50
2327struct hrtimer_clock_base;
2328#line 50
2329struct hrtimer_clock_base;
2330#line 50
2331struct hrtimer_clock_base;
2332#line 50
2333struct hrtimer_clock_base;
2334#line 51
2335struct hrtimer_cpu_base;
2336#line 51
2337struct hrtimer_cpu_base;
2338#line 51
2339struct hrtimer_cpu_base;
2340#line 51
2341struct hrtimer_cpu_base;
2342#line 60
2343enum hrtimer_restart {
2344 HRTIMER_NORESTART = 0,
2345 HRTIMER_RESTART = 1
2346} ;
2347#line 65 "include/linux/timerqueue.h"
2348struct hrtimer {
2349 struct timerqueue_node node ;
2350 ktime_t _softexpires ;
2351 enum hrtimer_restart (*function)(struct hrtimer * ) ;
2352 struct hrtimer_clock_base *base ;
2353 unsigned long state ;
2354 int start_pid ;
2355 void *start_site ;
2356 char start_comm[16U] ;
2357};
2358#line 132 "include/linux/hrtimer.h"
2359struct hrtimer_clock_base {
2360 struct hrtimer_cpu_base *cpu_base ;
2361 int index ;
2362 clockid_t clockid ;
2363 struct timerqueue_head active ;
2364 ktime_t resolution ;
2365 ktime_t (*get_time)(void) ;
2366 ktime_t softirq_time ;
2367 ktime_t offset ;
2368};
2369#line 162 "include/linux/hrtimer.h"
2370struct hrtimer_cpu_base {
2371 raw_spinlock_t lock ;
2372 unsigned long active_bases ;
2373 ktime_t expires_next ;
2374 int hres_active ;
2375 int hang_detected ;
2376 unsigned long nr_events ;
2377 unsigned long nr_retries ;
2378 unsigned long nr_hangs ;
2379 ktime_t max_hang_time ;
2380 struct hrtimer_clock_base clock_base[3U] ;
2381};
2382#line 452
2383struct net_device;
2384#line 452
2385struct net_device;
2386#line 452
2387struct net_device;
2388#line 452
2389struct net_device;
2390#line 453 "include/linux/hrtimer.h"
2391struct nf_conntrack {
2392 atomic_t use ;
2393};
2394#line 102 "include/linux/skbuff.h"
2395struct nf_bridge_info {
2396 atomic_t use ;
2397 struct net_device *physindev ;
2398 struct net_device *physoutdev ;
2399 unsigned int mask ;
2400 unsigned long data[4U] ;
2401};
2402#line 112 "include/linux/skbuff.h"
2403struct sk_buff_head {
2404 struct sk_buff *next ;
2405 struct sk_buff *prev ;
2406 __u32 qlen ;
2407 spinlock_t lock ;
2408};
2409#line 134
2410struct skb_frag_struct;
2411#line 134
2412struct skb_frag_struct;
2413#line 134
2414struct skb_frag_struct;
2415#line 134 "include/linux/skbuff.h"
2416typedef struct skb_frag_struct skb_frag_t;
2417#line 135 "include/linux/skbuff.h"
2418struct skb_frag_struct {
2419 struct page *page ;
2420 __u32 page_offset ;
2421 __u32 size ;
2422};
2423#line 142 "include/linux/skbuff.h"
2424struct skb_shared_hwtstamps {
2425 ktime_t hwtstamp ;
2426 ktime_t syststamp ;
2427};
2428#line 183 "include/linux/skbuff.h"
2429struct skb_shared_info {
2430 unsigned short nr_frags ;
2431 unsigned short gso_size ;
2432 unsigned short gso_segs ;
2433 unsigned short gso_type ;
2434 __be32 ip6_frag_id ;
2435 __u8 tx_flags ;
2436 struct sk_buff *frag_list ;
2437 struct skb_shared_hwtstamps hwtstamps ;
2438 atomic_t dataref ;
2439 void *destructor_arg ;
2440 skb_frag_t frags[18U] ;
2441};
2442#line 259 "include/linux/skbuff.h"
2443typedef unsigned int sk_buff_data_t;
2444#line 260
2445struct sec_path;
2446#line 260
2447struct sec_path;
2448#line 260
2449struct sec_path;
2450#line 260 "include/linux/skbuff.h"
2451struct __anonstruct_ldv_19675_150 {
2452 __u16 csum_start ;
2453 __u16 csum_offset ;
2454};
2455#line 260 "include/linux/skbuff.h"
2456union __anonunion_ldv_19676_149 {
2457 __wsum csum ;
2458 struct __anonstruct_ldv_19675_150 ldv_19675 ;
2459};
2460#line 260 "include/linux/skbuff.h"
2461union __anonunion_ldv_19706_151 {
2462 __u32 mark ;
2463 __u32 dropcount ;
2464};
2465#line 260 "include/linux/skbuff.h"
2466struct sk_buff {
2467 struct sk_buff *next ;
2468 struct sk_buff *prev ;
2469 ktime_t tstamp ;
2470 struct sock *sk ;
2471 struct net_device *dev ;
2472 char cb[48U] ;
2473 unsigned long _skb_refdst ;
2474 struct sec_path *sp ;
2475 unsigned int len ;
2476 unsigned int data_len ;
2477 __u16 mac_len ;
2478 __u16 hdr_len ;
2479 union __anonunion_ldv_19676_149 ldv_19676 ;
2480 __u32 priority ;
2481 unsigned char local_df : 1 ;
2482 unsigned char cloned : 1 ;
2483 unsigned char ip_summed : 2 ;
2484 unsigned char nohdr : 1 ;
2485 unsigned char nfctinfo : 3 ;
2486 unsigned char pkt_type : 3 ;
2487 unsigned char fclone : 2 ;
2488 unsigned char ipvs_property : 1 ;
2489 unsigned char peeked : 1 ;
2490 unsigned char nf_trace : 1 ;
2491 __be16 protocol ;
2492 void (*destructor)(struct sk_buff * ) ;
2493 struct nf_conntrack *nfct ;
2494 struct sk_buff *nfct_reasm ;
2495 struct nf_bridge_info *nf_bridge ;
2496 int skb_iif ;
2497 __u16 tc_index ;
2498 __u16 tc_verd ;
2499 __u32 rxhash ;
2500 __u16 queue_mapping ;
2501 unsigned char ndisc_nodetype : 2 ;
2502 unsigned char ooo_okay : 1 ;
2503 dma_cookie_t dma_cookie ;
2504 __u32 secmark ;
2505 union __anonunion_ldv_19706_151 ldv_19706 ;
2506 __u16 vlan_tci ;
2507 sk_buff_data_t transport_header ;
2508 sk_buff_data_t network_header ;
2509 sk_buff_data_t mac_header ;
2510 sk_buff_data_t tail ;
2511 sk_buff_data_t end ;
2512 unsigned char *head ;
2513 unsigned char *data ;
2514 unsigned int truesize ;
2515 atomic_t users ;
2516};
2517#line 450
2518struct dst_entry;
2519#line 450
2520struct dst_entry;
2521#line 450
2522struct dst_entry;
2523#line 485
2524struct rtable;
2525#line 485
2526struct rtable;
2527#line 485
2528struct rtable;
2529#line 113 "include/linux/netlink.h"
2530struct nlattr {
2531 __u16 nla_len ;
2532 __u16 nla_type ;
2533};
2534#line 93 "include/linux/capability.h"
2535struct kernel_cap_struct {
2536 __u32 cap[2U] ;
2537};
2538#line 96 "include/linux/capability.h"
2539typedef struct kernel_cap_struct kernel_cap_t;
2540#line 104
2541struct dentry;
2542#line 104
2543struct dentry;
2544#line 104
2545struct dentry;
2546#line 104
2547struct dentry;
2548#line 105
2549struct user_namespace;
2550#line 105
2551struct user_namespace;
2552#line 105
2553struct user_namespace;
2554#line 105
2555struct user_namespace;
2556#line 39 "include/linux/if_link.h"
2557struct rtnl_link_stats64 {
2558 __u64 rx_packets ;
2559 __u64 tx_packets ;
2560 __u64 rx_bytes ;
2561 __u64 tx_bytes ;
2562 __u64 rx_errors ;
2563 __u64 tx_errors ;
2564 __u64 rx_dropped ;
2565 __u64 tx_dropped ;
2566 __u64 multicast ;
2567 __u64 collisions ;
2568 __u64 rx_length_errors ;
2569 __u64 rx_over_errors ;
2570 __u64 rx_crc_errors ;
2571 __u64 rx_frame_errors ;
2572 __u64 rx_fifo_errors ;
2573 __u64 rx_missed_errors ;
2574 __u64 tx_aborted_errors ;
2575 __u64 tx_carrier_errors ;
2576 __u64 tx_fifo_errors ;
2577 __u64 tx_heartbeat_errors ;
2578 __u64 tx_window_errors ;
2579 __u64 rx_compressed ;
2580 __u64 tx_compressed ;
2581};
2582#line 302 "include/linux/if_link.h"
2583struct ifla_vf_info {
2584 __u32 vf ;
2585 __u8 mac[32U] ;
2586 __u32 vlan ;
2587 __u32 qos ;
2588 __u32 tx_rate ;
2589};
2590#line 382 "include/linux/if_link.h"
2591struct plist_head {
2592 struct list_head node_list ;
2593 raw_spinlock_t *rawlock ;
2594 spinlock_t *spinlock ;
2595};
2596#line 88 "include/linux/plist.h"
2597struct plist_node {
2598 int prio ;
2599 struct list_head prio_list ;
2600 struct list_head node_list ;
2601};
2602#line 303
2603struct file_operations;
2604#line 303
2605struct file_operations;
2606#line 303
2607struct file_operations;
2608#line 60 "include/linux/miscdevice.h"
2609struct pm_qos_request_list {
2610 struct plist_node list ;
2611 int pm_qos_class ;
2612};
2613#line 118 "include/linux/sem.h"
2614struct sem_undo_list;
2615#line 118
2616struct sem_undo_list;
2617#line 118
2618struct sem_undo_list;
2619#line 131 "include/linux/sem.h"
2620struct sem_undo_list {
2621 atomic_t refcnt ;
2622 spinlock_t lock ;
2623 struct list_head list_proc ;
2624};
2625#line 140 "include/linux/sem.h"
2626struct sysv_sem {
2627 struct sem_undo_list *undo_list ;
2628};
2629#line 152
2630struct block_device;
2631#line 152
2632struct block_device;
2633#line 152
2634struct block_device;
2635#line 152
2636struct block_device;
2637#line 89 "include/linux/kdev_t.h"
2638struct hlist_bl_node;
2639#line 89
2640struct hlist_bl_node;
2641#line 89
2642struct hlist_bl_node;
2643#line 89 "include/linux/kdev_t.h"
2644struct hlist_bl_head {
2645 struct hlist_bl_node *first ;
2646};
2647#line 36 "include/linux/list_bl.h"
2648struct hlist_bl_node {
2649 struct hlist_bl_node *next ;
2650 struct hlist_bl_node **pprev ;
2651};
2652#line 114 "include/linux/rculist_bl.h"
2653struct nameidata;
2654#line 114
2655struct nameidata;
2656#line 114
2657struct nameidata;
2658#line 114
2659struct nameidata;
2660#line 115
2661struct path;
2662#line 115
2663struct path;
2664#line 115
2665struct path;
2666#line 115
2667struct path;
2668#line 116
2669struct vfsmount;
2670#line 116
2671struct vfsmount;
2672#line 116
2673struct vfsmount;
2674#line 116
2675struct vfsmount;
2676#line 117 "include/linux/rculist_bl.h"
2677struct qstr {
2678 unsigned int hash ;
2679 unsigned int len ;
2680 unsigned char const *name ;
2681};
2682#line 100 "include/linux/dcache.h"
2683struct dentry_operations;
2684#line 100
2685struct dentry_operations;
2686#line 100
2687struct dentry_operations;
2688#line 100
2689struct super_block;
2690#line 100
2691struct super_block;
2692#line 100
2693struct super_block;
2694#line 100 "include/linux/dcache.h"
2695union __anonunion_d_u_153 {
2696 struct list_head d_child ;
2697 struct rcu_head d_rcu ;
2698};
2699#line 100 "include/linux/dcache.h"
2700struct dentry {
2701 unsigned int d_flags ;
2702 seqcount_t d_seq ;
2703 struct hlist_bl_node d_hash ;
2704 struct dentry *d_parent ;
2705 struct qstr d_name ;
2706 struct inode *d_inode ;
2707 unsigned char d_iname[32U] ;
2708 unsigned int d_count ;
2709 spinlock_t d_lock ;
2710 struct dentry_operations const *d_op ;
2711 struct super_block *d_sb ;
2712 unsigned long d_time ;
2713 void *d_fsdata ;
2714 struct list_head d_lru ;
2715 union __anonunion_d_u_153 d_u ;
2716 struct list_head d_subdirs ;
2717 struct list_head d_alias ;
2718};
2719#line 151 "include/linux/dcache.h"
2720struct dentry_operations {
2721 int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
2722 int (*d_hash)(struct dentry const * , struct inode const * , struct qstr * ) ;
2723 int (*d_compare)(struct dentry const * , struct inode const * , struct dentry const * ,
2724 struct inode const * , unsigned int , char const * , struct qstr const * ) ;
2725 int (*d_delete)(struct dentry const * ) ;
2726 void (*d_release)(struct dentry * ) ;
2727 void (*d_iput)(struct dentry * , struct inode * ) ;
2728 char *(*d_dname)(struct dentry * , char * , int ) ;
2729 struct vfsmount *(*d_automount)(struct path * ) ;
2730 int (*d_manage)(struct dentry * , bool ) ;
2731};
2732#line 422 "include/linux/dcache.h"
2733struct path {
2734 struct vfsmount *mnt ;
2735 struct dentry *dentry ;
2736};
2737#line 51 "include/linux/radix-tree.h"
2738struct radix_tree_node;
2739#line 51
2740struct radix_tree_node;
2741#line 51
2742struct radix_tree_node;
2743#line 51 "include/linux/radix-tree.h"
2744struct radix_tree_root {
2745 unsigned int height ;
2746 gfp_t gfp_mask ;
2747 struct radix_tree_node *rnode ;
2748};
2749#line 229
2750enum pid_type {
2751 PIDTYPE_PID = 0,
2752 PIDTYPE_PGID = 1,
2753 PIDTYPE_SID = 2,
2754 PIDTYPE_MAX = 3
2755} ;
2756#line 236
2757struct pid_namespace;
2758#line 236
2759struct pid_namespace;
2760#line 236
2761struct pid_namespace;
2762#line 236 "include/linux/radix-tree.h"
2763struct upid {
2764 int nr ;
2765 struct pid_namespace *ns ;
2766 struct hlist_node pid_chain ;
2767};
2768#line 56 "include/linux/pid.h"
2769struct pid {
2770 atomic_t count ;
2771 unsigned int level ;
2772 struct hlist_head tasks[3U] ;
2773 struct rcu_head rcu ;
2774 struct upid numbers[1U] ;
2775};
2776#line 68 "include/linux/pid.h"
2777struct pid_link {
2778 struct hlist_node node ;
2779 struct pid *pid ;
2780};
2781#line 45 "include/linux/semaphore.h"
2782struct fiemap_extent {
2783 __u64 fe_logical ;
2784 __u64 fe_physical ;
2785 __u64 fe_length ;
2786 __u64 fe_reserved64[2U] ;
2787 __u32 fe_flags ;
2788 __u32 fe_reserved[3U] ;
2789};
2790#line 38 "include/linux/fiemap.h"
2791struct export_operations;
2792#line 38
2793struct export_operations;
2794#line 38
2795struct export_operations;
2796#line 38
2797struct export_operations;
2798#line 40
2799struct kstatfs;
2800#line 40
2801struct kstatfs;
2802#line 40
2803struct kstatfs;
2804#line 40
2805struct kstatfs;
2806#line 426 "include/linux/fs.h"
2807struct iattr {
2808 unsigned int ia_valid ;
2809 umode_t ia_mode ;
2810 uid_t ia_uid ;
2811 gid_t ia_gid ;
2812 loff_t ia_size ;
2813 struct timespec ia_atime ;
2814 struct timespec ia_mtime ;
2815 struct timespec ia_ctime ;
2816 struct file *ia_file ;
2817};
2818#line 119 "include/linux/quota.h"
2819struct if_dqinfo {
2820 __u64 dqi_bgrace ;
2821 __u64 dqi_igrace ;
2822 __u32 dqi_flags ;
2823 __u32 dqi_valid ;
2824};
2825#line 152 "include/linux/quota.h"
2826struct percpu_counter {
2827 spinlock_t lock ;
2828 s64 count ;
2829 struct list_head list ;
2830 s32 *counters ;
2831};
2832#line 176 "include/linux/percpu_counter.h"
2833struct fs_disk_quota {
2834 __s8 d_version ;
2835 __s8 d_flags ;
2836 __u16 d_fieldmask ;
2837 __u32 d_id ;
2838 __u64 d_blk_hardlimit ;
2839 __u64 d_blk_softlimit ;
2840 __u64 d_ino_hardlimit ;
2841 __u64 d_ino_softlimit ;
2842 __u64 d_bcount ;
2843 __u64 d_icount ;
2844 __s32 d_itimer ;
2845 __s32 d_btimer ;
2846 __u16 d_iwarns ;
2847 __u16 d_bwarns ;
2848 __s32 d_padding2 ;
2849 __u64 d_rtb_hardlimit ;
2850 __u64 d_rtb_softlimit ;
2851 __u64 d_rtbcount ;
2852 __s32 d_rtbtimer ;
2853 __u16 d_rtbwarns ;
2854 __s16 d_padding3 ;
2855 char d_padding4[8U] ;
2856};
2857#line 75 "include/linux/dqblk_xfs.h"
2858struct fs_qfilestat {
2859 __u64 qfs_ino ;
2860 __u64 qfs_nblks ;
2861 __u32 qfs_nextents ;
2862};
2863#line 150 "include/linux/dqblk_xfs.h"
2864typedef struct fs_qfilestat fs_qfilestat_t;
2865#line 151 "include/linux/dqblk_xfs.h"
2866struct fs_quota_stat {
2867 __s8 qs_version ;
2868 __u16 qs_flags ;
2869 __s8 qs_pad ;
2870 fs_qfilestat_t qs_uquota ;
2871 fs_qfilestat_t qs_gquota ;
2872 __u32 qs_incoredqs ;
2873 __s32 qs_btimelimit ;
2874 __s32 qs_itimelimit ;
2875 __s32 qs_rtbtimelimit ;
2876 __u16 qs_bwarnlimit ;
2877 __u16 qs_iwarnlimit ;
2878};
2879#line 165
2880struct dquot;
2881#line 165
2882struct dquot;
2883#line 165
2884struct dquot;
2885#line 165
2886struct dquot;
2887#line 185 "include/linux/quota.h"
2888typedef __kernel_uid32_t qid_t;
2889#line 186 "include/linux/quota.h"
2890typedef long long qsize_t;
2891#line 189 "include/linux/quota.h"
2892struct mem_dqblk {
2893 qsize_t dqb_bhardlimit ;
2894 qsize_t dqb_bsoftlimit ;
2895 qsize_t dqb_curspace ;
2896 qsize_t dqb_rsvspace ;
2897 qsize_t dqb_ihardlimit ;
2898 qsize_t dqb_isoftlimit ;
2899 qsize_t dqb_curinodes ;
2900 time_t dqb_btime ;
2901 time_t dqb_itime ;
2902};
2903#line 211
2904struct quota_format_type;
2905#line 211
2906struct quota_format_type;
2907#line 211
2908struct quota_format_type;
2909#line 211
2910struct quota_format_type;
2911#line 212 "include/linux/quota.h"
2912struct mem_dqinfo {
2913 struct quota_format_type *dqi_format ;
2914 int dqi_fmt_id ;
2915 struct list_head dqi_dirty_list ;
2916 unsigned long dqi_flags ;
2917 unsigned int dqi_bgrace ;
2918 unsigned int dqi_igrace ;
2919 qsize_t dqi_maxblimit ;
2920 qsize_t dqi_maxilimit ;
2921 void *dqi_priv ;
2922};
2923#line 271 "include/linux/quota.h"
2924struct dquot {
2925 struct hlist_node dq_hash ;
2926 struct list_head dq_inuse ;
2927 struct list_head dq_free ;
2928 struct list_head dq_dirty ;
2929 struct mutex dq_lock ;
2930 atomic_t dq_count ;
2931 wait_queue_head_t dq_wait_unused ;
2932 struct super_block *dq_sb ;
2933 unsigned int dq_id ;
2934 loff_t dq_off ;
2935 unsigned long dq_flags ;
2936 short dq_type ;
2937 struct mem_dqblk dq_dqb ;
2938};
2939#line 299 "include/linux/quota.h"
2940struct quota_format_ops {
2941 int (*check_quota_file)(struct super_block * , int ) ;
2942 int (*read_file_info)(struct super_block * , int ) ;
2943 int (*write_file_info)(struct super_block * , int ) ;
2944 int (*free_file_info)(struct super_block * , int ) ;
2945 int (*read_dqblk)(struct dquot * ) ;
2946 int (*commit_dqblk)(struct dquot * ) ;
2947 int (*release_dqblk)(struct dquot * ) ;
2948};
2949#line 310 "include/linux/quota.h"
2950struct dquot_operations {
2951 int (*write_dquot)(struct dquot * ) ;
2952 struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
2953 void (*destroy_dquot)(struct dquot * ) ;
2954 int (*acquire_dquot)(struct dquot * ) ;
2955 int (*release_dquot)(struct dquot * ) ;
2956 int (*mark_dirty)(struct dquot * ) ;
2957 int (*write_info)(struct super_block * , int ) ;
2958 qsize_t *(*get_reserved_space)(struct inode * ) ;
2959};
2960#line 324 "include/linux/quota.h"
2961struct quotactl_ops {
2962 int (*quota_on)(struct super_block * , int , int , struct path * ) ;
2963 int (*quota_on_meta)(struct super_block * , int , int ) ;
2964 int (*quota_off)(struct super_block * , int ) ;
2965 int (*quota_sync)(struct super_block * , int , int ) ;
2966 int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
2967 int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
2968 int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2969 int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2970 int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
2971 int (*set_xstate)(struct super_block * , unsigned int , int ) ;
2972};
2973#line 340 "include/linux/quota.h"
2974struct quota_format_type {
2975 int qf_fmt_id ;
2976 struct quota_format_ops const *qf_ops ;
2977 struct module *qf_owner ;
2978 struct quota_format_type *qf_next ;
2979};
2980#line 386 "include/linux/quota.h"
2981struct quota_info {
2982 unsigned int flags ;
2983 struct mutex dqio_mutex ;
2984 struct mutex dqonoff_mutex ;
2985 struct rw_semaphore dqptr_sem ;
2986 struct inode *files[2U] ;
2987 struct mem_dqinfo info[2U] ;
2988 struct quota_format_ops const *ops[2U] ;
2989};
2990#line 576 "include/linux/fs.h"
2991union __anonunion_arg_155 {
2992 char *buf ;
2993 void *data ;
2994};
2995#line 576 "include/linux/fs.h"
2996struct __anonstruct_read_descriptor_t_154 {
2997 size_t written ;
2998 size_t count ;
2999 union __anonunion_arg_155 arg ;
3000 int error ;
3001};
3002#line 576 "include/linux/fs.h"
3003typedef struct __anonstruct_read_descriptor_t_154 read_descriptor_t;
3004#line 579 "include/linux/fs.h"
3005struct address_space_operations {
3006 int (*writepage)(struct page * , struct writeback_control * ) ;
3007 int (*readpage)(struct file * , struct page * ) ;
3008 int (*writepages)(struct address_space * , struct writeback_control * ) ;
3009 int (*set_page_dirty)(struct page * ) ;
3010 int (*readpages)(struct file * , struct address_space * , struct list_head * ,
3011 unsigned int ) ;
3012 int (*write_begin)(struct file * , struct address_space * , loff_t , unsigned int ,
3013 unsigned int , struct page ** , void ** ) ;
3014 int (*write_end)(struct file * , struct address_space * , loff_t , unsigned int ,
3015 unsigned int , struct page * , void * ) ;
3016 sector_t (*bmap)(struct address_space * , sector_t ) ;
3017 void (*invalidatepage)(struct page * , unsigned long ) ;
3018 int (*releasepage)(struct page * , gfp_t ) ;
3019 void (*freepage)(struct page * ) ;
3020 ssize_t (*direct_IO)(int , struct kiocb * , struct iovec const * , loff_t ,
3021 unsigned long ) ;
3022 int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ;
3023 int (*migratepage)(struct address_space * , struct page * , struct page * ) ;
3024 int (*launder_page)(struct page * ) ;
3025 int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
3026 int (*error_remove_page)(struct address_space * , struct page * ) ;
3027};
3028#line 630
3029struct backing_dev_info;
3030#line 630
3031struct backing_dev_info;
3032#line 630
3033struct backing_dev_info;
3034#line 630
3035struct backing_dev_info;
3036#line 631 "include/linux/fs.h"
3037struct address_space {
3038 struct inode *host ;
3039 struct radix_tree_root page_tree ;
3040 spinlock_t tree_lock ;
3041 unsigned int i_mmap_writable ;
3042 struct prio_tree_root i_mmap ;
3043 struct list_head i_mmap_nonlinear ;
3044 struct mutex i_mmap_mutex ;
3045 unsigned long nrpages ;
3046 unsigned long writeback_index ;
3047 struct address_space_operations const *a_ops ;
3048 unsigned long flags ;
3049 struct backing_dev_info *backing_dev_info ;
3050 spinlock_t private_lock ;
3051 struct list_head private_list ;
3052 struct address_space *assoc_mapping ;
3053};
3054#line 652
3055struct hd_struct;
3056#line 652
3057struct hd_struct;
3058#line 652
3059struct hd_struct;
3060#line 652
3061struct gendisk;
3062#line 652
3063struct gendisk;
3064#line 652
3065struct gendisk;
3066#line 652 "include/linux/fs.h"
3067struct block_device {
3068 dev_t bd_dev ;
3069 int bd_openers ;
3070 struct inode *bd_inode ;
3071 struct super_block *bd_super ;
3072 struct mutex bd_mutex ;
3073 struct list_head bd_inodes ;
3074 void *bd_claiming ;
3075 void *bd_holder ;
3076 int bd_holders ;
3077 bool bd_write_holder ;
3078 struct list_head bd_holder_disks ;
3079 struct block_device *bd_contains ;
3080 unsigned int bd_block_size ;
3081 struct hd_struct *bd_part ;
3082 unsigned int bd_part_count ;
3083 int bd_invalidated ;
3084 struct gendisk *bd_disk ;
3085 struct list_head bd_list ;
3086 unsigned long bd_private ;
3087 int bd_fsfreeze_count ;
3088 struct mutex bd_fsfreeze_mutex ;
3089};
3090#line 723
3091struct posix_acl;
3092#line 723
3093struct posix_acl;
3094#line 723
3095struct posix_acl;
3096#line 723
3097struct posix_acl;
3098#line 724
3099struct inode_operations;
3100#line 724
3101struct inode_operations;
3102#line 724
3103struct inode_operations;
3104#line 724 "include/linux/fs.h"
3105union __anonunion_ldv_22650_156 {
3106 struct list_head i_dentry ;
3107 struct rcu_head i_rcu ;
3108};
3109#line 724
3110struct file_lock;
3111#line 724
3112struct file_lock;
3113#line 724
3114struct file_lock;
3115#line 724
3116struct cdev;
3117#line 724
3118struct cdev;
3119#line 724
3120struct cdev;
3121#line 724 "include/linux/fs.h"
3122union __anonunion_ldv_22676_157 {
3123 struct pipe_inode_info *i_pipe ;
3124 struct block_device *i_bdev ;
3125 struct cdev *i_cdev ;
3126};
3127#line 724 "include/linux/fs.h"
3128struct inode {
3129 umode_t i_mode ;
3130 uid_t i_uid ;
3131 gid_t i_gid ;
3132 struct inode_operations const *i_op ;
3133 struct super_block *i_sb ;
3134 spinlock_t i_lock ;
3135 unsigned int i_flags ;
3136 unsigned long i_state ;
3137 void *i_security ;
3138 struct mutex i_mutex ;
3139 unsigned long dirtied_when ;
3140 struct hlist_node i_hash ;
3141 struct list_head i_wb_list ;
3142 struct list_head i_lru ;
3143 struct list_head i_sb_list ;
3144 union __anonunion_ldv_22650_156 ldv_22650 ;
3145 unsigned long i_ino ;
3146 atomic_t i_count ;
3147 unsigned int i_nlink ;
3148 dev_t i_rdev ;
3149 unsigned int i_blkbits ;
3150 u64 i_version ;
3151 loff_t i_size ;
3152 struct timespec i_atime ;
3153 struct timespec i_mtime ;
3154 struct timespec i_ctime ;
3155 blkcnt_t i_blocks ;
3156 unsigned short i_bytes ;
3157 struct rw_semaphore i_alloc_sem ;
3158 struct file_operations const *i_fop ;
3159 struct file_lock *i_flock ;
3160 struct address_space *i_mapping ;
3161 struct address_space i_data ;
3162 struct dquot *i_dquot[2U] ;
3163 struct list_head i_devices ;
3164 union __anonunion_ldv_22676_157 ldv_22676 ;
3165 __u32 i_generation ;
3166 __u32 i_fsnotify_mask ;
3167 struct hlist_head i_fsnotify_marks ;
3168 atomic_t i_readcount ;
3169 atomic_t i_writecount ;
3170 struct posix_acl *i_acl ;
3171 struct posix_acl *i_default_acl ;
3172 void *i_private ;
3173};
3174#line 902 "include/linux/fs.h"
3175struct fown_struct {
3176 rwlock_t lock ;
3177 struct pid *pid ;
3178 enum pid_type pid_type ;
3179 uid_t uid ;
3180 uid_t euid ;
3181 int signum ;
3182};
3183#line 910 "include/linux/fs.h"
3184struct file_ra_state {
3185 unsigned long start ;
3186 unsigned int size ;
3187 unsigned int async_size ;
3188 unsigned int ra_pages ;
3189 unsigned int mmap_miss ;
3190 loff_t prev_pos ;
3191};
3192#line 933 "include/linux/fs.h"
3193union __anonunion_f_u_158 {
3194 struct list_head fu_list ;
3195 struct rcu_head fu_rcuhead ;
3196};
3197#line 933 "include/linux/fs.h"
3198struct file {
3199 union __anonunion_f_u_158 f_u ;
3200 struct path f_path ;
3201 struct file_operations const *f_op ;
3202 spinlock_t f_lock ;
3203 int f_sb_list_cpu ;
3204 atomic_long_t f_count ;
3205 unsigned int f_flags ;
3206 fmode_t f_mode ;
3207 loff_t f_pos ;
3208 struct fown_struct f_owner ;
3209 struct cred const *f_cred ;
3210 struct file_ra_state f_ra ;
3211 u64 f_version ;
3212 void *f_security ;
3213 void *private_data ;
3214 struct list_head f_ep_links ;
3215 struct address_space *f_mapping ;
3216 unsigned long f_mnt_write_state ;
3217};
3218#line 1064
3219struct files_struct;
3220#line 1064
3221struct files_struct;
3222#line 1064
3223struct files_struct;
3224#line 1064 "include/linux/fs.h"
3225typedef struct files_struct *fl_owner_t;
3226#line 1065 "include/linux/fs.h"
3227struct file_lock_operations {
3228 void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
3229 void (*fl_release_private)(struct file_lock * ) ;
3230};
3231#line 1070 "include/linux/fs.h"
3232struct lock_manager_operations {
3233 int (*fl_compare_owner)(struct file_lock * , struct file_lock * ) ;
3234 void (*fl_notify)(struct file_lock * ) ;
3235 int (*fl_grant)(struct file_lock * , struct file_lock * , int ) ;
3236 void (*fl_release_private)(struct file_lock * ) ;
3237 void (*fl_break)(struct file_lock * ) ;
3238 int (*fl_change)(struct file_lock ** , int ) ;
3239};
3240#line 163 "include/linux/nfs.h"
3241struct nlm_lockowner;
3242#line 163
3243struct nlm_lockowner;
3244#line 163
3245struct nlm_lockowner;
3246#line 163
3247struct nlm_lockowner;
3248#line 164 "include/linux/nfs.h"
3249struct nfs_lock_info {
3250 u32 state ;
3251 struct nlm_lockowner *owner ;
3252 struct list_head list ;
3253};
3254#line 18 "include/linux/nfs_fs_i.h"
3255struct nfs4_lock_state;
3256#line 18
3257struct nfs4_lock_state;
3258#line 18
3259struct nfs4_lock_state;
3260#line 18
3261struct nfs4_lock_state;
3262#line 19 "include/linux/nfs_fs_i.h"
3263struct nfs4_lock_info {
3264 struct nfs4_lock_state *owner ;
3265};
3266#line 23 "include/linux/nfs_fs_i.h"
3267struct __anonstruct_afs_160 {
3268 struct list_head link ;
3269 int state ;
3270};
3271#line 23 "include/linux/nfs_fs_i.h"
3272union __anonunion_fl_u_159 {
3273 struct nfs_lock_info nfs_fl ;
3274 struct nfs4_lock_info nfs4_fl ;
3275 struct __anonstruct_afs_160 afs ;
3276};
3277#line 23 "include/linux/nfs_fs_i.h"
3278struct file_lock {
3279 struct file_lock *fl_next ;
3280 struct list_head fl_link ;
3281 struct list_head fl_block ;
3282 fl_owner_t fl_owner ;
3283 unsigned char fl_flags ;
3284 unsigned char fl_type ;
3285 unsigned int fl_pid ;
3286 struct pid *fl_nspid ;
3287 wait_queue_head_t fl_wait ;
3288 struct file *fl_file ;
3289 loff_t fl_start ;
3290 loff_t fl_end ;
3291 struct fasync_struct *fl_fasync ;
3292 unsigned long fl_break_time ;
3293 struct file_lock_operations const *fl_ops ;
3294 struct lock_manager_operations const *fl_lmops ;
3295 union __anonunion_fl_u_159 fl_u ;
3296};
3297#line 1171 "include/linux/fs.h"
3298struct fasync_struct {
3299 spinlock_t fa_lock ;
3300 int magic ;
3301 int fa_fd ;
3302 struct fasync_struct *fa_next ;
3303 struct file *fa_file ;
3304 struct rcu_head fa_rcu ;
3305};
3306#line 1363
3307struct file_system_type;
3308#line 1363
3309struct file_system_type;
3310#line 1363
3311struct file_system_type;
3312#line 1363
3313struct super_operations;
3314#line 1363
3315struct super_operations;
3316#line 1363
3317struct super_operations;
3318#line 1363
3319struct xattr_handler;
3320#line 1363
3321struct xattr_handler;
3322#line 1363
3323struct xattr_handler;
3324#line 1363
3325struct mtd_info;
3326#line 1363
3327struct mtd_info;
3328#line 1363
3329struct mtd_info;
3330#line 1363 "include/linux/fs.h"
3331struct super_block {
3332 struct list_head s_list ;
3333 dev_t s_dev ;
3334 unsigned char s_dirt ;
3335 unsigned char s_blocksize_bits ;
3336 unsigned long s_blocksize ;
3337 loff_t s_maxbytes ;
3338 struct file_system_type *s_type ;
3339 struct super_operations const *s_op ;
3340 struct dquot_operations const *dq_op ;
3341 struct quotactl_ops const *s_qcop ;
3342 struct export_operations const *s_export_op ;
3343 unsigned long s_flags ;
3344 unsigned long s_magic ;
3345 struct dentry *s_root ;
3346 struct rw_semaphore s_umount ;
3347 struct mutex s_lock ;
3348 int s_count ;
3349 atomic_t s_active ;
3350 void *s_security ;
3351 struct xattr_handler const **s_xattr ;
3352 struct list_head s_inodes ;
3353 struct hlist_bl_head s_anon ;
3354 struct list_head *s_files ;
3355 struct list_head s_dentry_lru ;
3356 int s_nr_dentry_unused ;
3357 struct block_device *s_bdev ;
3358 struct backing_dev_info *s_bdi ;
3359 struct mtd_info *s_mtd ;
3360 struct list_head s_instances ;
3361 struct quota_info s_dquot ;
3362 int s_frozen ;
3363 wait_queue_head_t s_wait_unfrozen ;
3364 char s_id[32U] ;
3365 u8 s_uuid[16U] ;
3366 void *s_fs_info ;
3367 fmode_t s_mode ;
3368 u32 s_time_gran ;
3369 struct mutex s_vfs_rename_mutex ;
3370 char *s_subtype ;
3371 char *s_options ;
3372 struct dentry_operations const *s_d_op ;
3373 int cleancache_poolid ;
3374};
3375#line 1495 "include/linux/fs.h"
3376struct fiemap_extent_info {
3377 unsigned int fi_flags ;
3378 unsigned int fi_extents_mapped ;
3379 unsigned int fi_extents_max ;
3380 struct fiemap_extent *fi_extents_start ;
3381};
3382#line 1534 "include/linux/fs.h"
3383struct file_operations {
3384 struct module *owner ;
3385 loff_t (*llseek)(struct file * , loff_t , int ) ;
3386 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
3387 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
3388 ssize_t (*aio_read)(struct kiocb * , struct iovec const * , unsigned long ,
3389 loff_t ) ;
3390 ssize_t (*aio_write)(struct kiocb * , struct iovec const * , unsigned long ,
3391 loff_t ) ;
3392 int (*readdir)(struct file * , void * , int (*)(void * , char const * , int ,
3393 loff_t , u64 , unsigned int ) ) ;
3394 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
3395 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
3396 long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ;
3397 int (*mmap)(struct file * , struct vm_area_struct * ) ;
3398 int (*open)(struct inode * , struct file * ) ;
3399 int (*flush)(struct file * , fl_owner_t ) ;
3400 int (*release)(struct inode * , struct file * ) ;
3401 int (*fsync)(struct file * , int ) ;
3402 int (*aio_fsync)(struct kiocb * , int ) ;
3403 int (*fasync)(int , struct file * , int ) ;
3404 int (*lock)(struct file * , int , struct file_lock * ) ;
3405 ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * ,
3406 int ) ;
3407 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
3408 unsigned long , unsigned long ) ;
3409 int (*check_flags)(int ) ;
3410 int (*flock)(struct file * , int , struct file_lock * ) ;
3411 ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t ,
3412 unsigned int ) ;
3413 ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t ,
3414 unsigned int ) ;
3415 int (*setlease)(struct file * , long , struct file_lock ** ) ;
3416 long (*fallocate)(struct file * , int , loff_t , loff_t ) ;
3417};
3418#line 1574 "include/linux/fs.h"
3419struct inode_operations {
3420 struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
3421 void *(*follow_link)(struct dentry * , struct nameidata * ) ;
3422 int (*permission)(struct inode * , int , unsigned int ) ;
3423 int (*check_acl)(struct inode * , int , unsigned int ) ;
3424 int (*readlink)(struct dentry * , char * , int ) ;
3425 void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
3426 int (*create)(struct inode * , struct dentry * , int , struct nameidata * ) ;
3427 int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
3428 int (*unlink)(struct inode * , struct dentry * ) ;
3429 int (*symlink)(struct inode * , struct dentry * , char const * ) ;
3430 int (*mkdir)(struct inode * , struct dentry * , int ) ;
3431 int (*rmdir)(struct inode * , struct dentry * ) ;
3432 int (*mknod)(struct inode * , struct dentry * , int , dev_t ) ;
3433 int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
3434 void (*truncate)(struct inode * ) ;
3435 int (*setattr)(struct dentry * , struct iattr * ) ;
3436 int (*getattr)(struct vfsmount * , struct dentry * , struct kstat * ) ;
3437 int (*setxattr)(struct dentry * , char const * , void const * , size_t , int ) ;
3438 ssize_t (*getxattr)(struct dentry * , char const * , void * , size_t ) ;
3439 ssize_t (*listxattr)(struct dentry * , char * , size_t ) ;
3440 int (*removexattr)(struct dentry * , char const * ) ;
3441 void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
3442 int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 , u64 ) ;
3443};
3444#line 1620 "include/linux/fs.h"
3445struct super_operations {
3446 struct inode *(*alloc_inode)(struct super_block * ) ;
3447 void (*destroy_inode)(struct inode * ) ;
3448 void (*dirty_inode)(struct inode * , int ) ;
3449 int (*write_inode)(struct inode * , struct writeback_control * ) ;
3450 int (*drop_inode)(struct inode * ) ;
3451 void (*evict_inode)(struct inode * ) ;
3452 void (*put_super)(struct super_block * ) ;
3453 void (*write_super)(struct super_block * ) ;
3454 int (*sync_fs)(struct super_block * , int ) ;
3455 int (*freeze_fs)(struct super_block * ) ;
3456 int (*unfreeze_fs)(struct super_block * ) ;
3457 int (*statfs)(struct dentry * , struct kstatfs * ) ;
3458 int (*remount_fs)(struct super_block * , int * , char * ) ;
3459 void (*umount_begin)(struct super_block * ) ;
3460 int (*show_options)(struct seq_file * , struct vfsmount * ) ;
3461 int (*show_devname)(struct seq_file * , struct vfsmount * ) ;
3462 int (*show_path)(struct seq_file * , struct vfsmount * ) ;
3463 int (*show_stats)(struct seq_file * , struct vfsmount * ) ;
3464 ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ;
3465 ssize_t (*quota_write)(struct super_block * , int , char const * , size_t ,
3466 loff_t ) ;
3467 int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
3468};
3469#line 1801 "include/linux/fs.h"
3470struct file_system_type {
3471 char const *name ;
3472 int fs_flags ;
3473 struct dentry *(*mount)(struct file_system_type * , int , char const * , void * ) ;
3474 void (*kill_sb)(struct super_block * ) ;
3475 struct module *owner ;
3476 struct file_system_type *next ;
3477 struct list_head fs_supers ;
3478 struct lock_class_key s_lock_key ;
3479 struct lock_class_key s_umount_key ;
3480 struct lock_class_key s_vfs_rename_key ;
3481 struct lock_class_key i_lock_key ;
3482 struct lock_class_key i_mutex_key ;
3483 struct lock_class_key i_mutex_dir_key ;
3484 struct lock_class_key i_alloc_sem_key ;
3485};
3486#line 44 "include/linux/aio_abi.h"
3487struct io_event {
3488 __u64 data ;
3489 __u64 obj ;
3490 __s64 res ;
3491 __s64 res2 ;
3492};
3493#line 7 "include/asm-generic/cputime.h"
3494typedef unsigned long cputime_t;
3495#line 26
3496struct siginfo;
3497#line 26
3498struct siginfo;
3499#line 26
3500struct siginfo;
3501#line 26
3502struct siginfo;
3503#line 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
3504struct __anonstruct_sigset_t_161 {
3505 unsigned long sig[1U] ;
3506};
3507#line 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
3508typedef struct __anonstruct_sigset_t_161 sigset_t;
3509#line 17 "include/asm-generic/signal-defs.h"
3510typedef void __signalfn_t(int );
3511#line 18 "include/asm-generic/signal-defs.h"
3512typedef __signalfn_t *__sighandler_t;
3513#line 20 "include/asm-generic/signal-defs.h"
3514typedef void __restorefn_t(void);
3515#line 21 "include/asm-generic/signal-defs.h"
3516typedef __restorefn_t *__sigrestore_t;
3517#line 126 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
3518struct sigaction {
3519 __sighandler_t sa_handler ;
3520 unsigned long sa_flags ;
3521 __sigrestore_t sa_restorer ;
3522 sigset_t sa_mask ;
3523};
3524#line 173 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
3525struct k_sigaction {
3526 struct sigaction sa ;
3527};
3528#line 185 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
3529union sigval {
3530 int sival_int ;
3531 void *sival_ptr ;
3532};
3533#line 10 "include/asm-generic/siginfo.h"
3534typedef union sigval sigval_t;
3535#line 11 "include/asm-generic/siginfo.h"
3536struct __anonstruct__kill_163 {
3537 __kernel_pid_t _pid ;
3538 __kernel_uid32_t _uid ;
3539};
3540#line 11 "include/asm-generic/siginfo.h"
3541struct __anonstruct__timer_164 {
3542 __kernel_timer_t _tid ;
3543 int _overrun ;
3544 char _pad[0U] ;
3545 sigval_t _sigval ;
3546 int _sys_private ;
3547};
3548#line 11 "include/asm-generic/siginfo.h"
3549struct __anonstruct__rt_165 {
3550 __kernel_pid_t _pid ;
3551 __kernel_uid32_t _uid ;
3552 sigval_t _sigval ;
3553};
3554#line 11 "include/asm-generic/siginfo.h"
3555struct __anonstruct__sigchld_166 {
3556 __kernel_pid_t _pid ;
3557 __kernel_uid32_t _uid ;
3558 int _status ;
3559 __kernel_clock_t _utime ;
3560 __kernel_clock_t _stime ;
3561};
3562#line 11 "include/asm-generic/siginfo.h"
3563struct __anonstruct__sigfault_167 {
3564 void *_addr ;
3565 short _addr_lsb ;
3566};
3567#line 11 "include/asm-generic/siginfo.h"
3568struct __anonstruct__sigpoll_168 {
3569 long _band ;
3570 int _fd ;
3571};
3572#line 11 "include/asm-generic/siginfo.h"
3573union __anonunion__sifields_162 {
3574 int _pad[28U] ;
3575 struct __anonstruct__kill_163 _kill ;
3576 struct __anonstruct__timer_164 _timer ;
3577 struct __anonstruct__rt_165 _rt ;
3578 struct __anonstruct__sigchld_166 _sigchld ;
3579 struct __anonstruct__sigfault_167 _sigfault ;
3580 struct __anonstruct__sigpoll_168 _sigpoll ;
3581};
3582#line 11 "include/asm-generic/siginfo.h"
3583struct siginfo {
3584 int si_signo ;
3585 int si_errno ;
3586 int si_code ;
3587 union __anonunion__sifields_162 _sifields ;
3588};
3589#line 94 "include/asm-generic/siginfo.h"
3590typedef struct siginfo siginfo_t;
3591#line 24 "include/linux/signal.h"
3592struct sigpending {
3593 struct list_head list ;
3594 sigset_t signal ;
3595};
3596#line 90 "include/linux/proportions.h"
3597struct prop_local_single {
3598 unsigned long events ;
3599 unsigned long period ;
3600 int shift ;
3601 spinlock_t lock ;
3602};
3603#line 10 "include/linux/seccomp.h"
3604struct __anonstruct_seccomp_t_171 {
3605 int mode ;
3606};
3607#line 10 "include/linux/seccomp.h"
3608typedef struct __anonstruct_seccomp_t_171 seccomp_t;
3609#line 38 "include/linux/rtmutex.h"
3610struct rt_mutex_waiter;
3611#line 38
3612struct rt_mutex_waiter;
3613#line 38
3614struct rt_mutex_waiter;
3615#line 38
3616struct rt_mutex_waiter;
3617#line 41 "include/linux/resource.h"
3618struct rlimit {
3619 unsigned long rlim_cur ;
3620 unsigned long rlim_max ;
3621};
3622#line 85 "include/linux/resource.h"
3623struct task_io_accounting {
3624 u64 rchar ;
3625 u64 wchar ;
3626 u64 syscr ;
3627 u64 syscw ;
3628 u64 read_bytes ;
3629 u64 write_bytes ;
3630 u64 cancelled_write_bytes ;
3631};
3632#line 45 "include/linux/task_io_accounting.h"
3633struct latency_record {
3634 unsigned long backtrace[12U] ;
3635 unsigned int count ;
3636 unsigned long time ;
3637 unsigned long max ;
3638};
3639#line 29 "include/linux/key.h"
3640typedef int32_t key_serial_t;
3641#line 32 "include/linux/key.h"
3642typedef uint32_t key_perm_t;
3643#line 33
3644struct key;
3645#line 33
3646struct key;
3647#line 33
3648struct key;
3649#line 33
3650struct key;
3651#line 34
3652struct signal_struct;
3653#line 34
3654struct signal_struct;
3655#line 34
3656struct signal_struct;
3657#line 34
3658struct signal_struct;
3659#line 35
3660struct key_type;
3661#line 35
3662struct key_type;
3663#line 35
3664struct key_type;
3665#line 35
3666struct key_type;
3667#line 37
3668struct keyring_list;
3669#line 37
3670struct keyring_list;
3671#line 37
3672struct keyring_list;
3673#line 37
3674struct keyring_list;
3675#line 115
3676struct key_user;
3677#line 115
3678struct key_user;
3679#line 115
3680struct key_user;
3681#line 115 "include/linux/key.h"
3682union __anonunion_ldv_25230_172 {
3683 time_t expiry ;
3684 time_t revoked_at ;
3685};
3686#line 115 "include/linux/key.h"
3687union __anonunion_type_data_173 {
3688 struct list_head link ;
3689 unsigned long x[2U] ;
3690 void *p[2U] ;
3691 int reject_error ;
3692};
3693#line 115 "include/linux/key.h"
3694union __anonunion_payload_174 {
3695 unsigned long value ;
3696 void *rcudata ;
3697 void *data ;
3698 struct keyring_list *subscriptions ;
3699};
3700#line 115 "include/linux/key.h"
3701struct key {
3702 atomic_t usage ;
3703 key_serial_t serial ;
3704 struct rb_node serial_node ;
3705 struct key_type *type ;
3706 struct rw_semaphore sem ;
3707 struct key_user *user ;
3708 void *security ;
3709 union __anonunion_ldv_25230_172 ldv_25230 ;
3710 uid_t uid ;
3711 gid_t gid ;
3712 key_perm_t perm ;
3713 unsigned short quotalen ;
3714 unsigned short datalen ;
3715 unsigned long flags ;
3716 char *description ;
3717 union __anonunion_type_data_173 type_data ;
3718 union __anonunion_payload_174 payload ;
3719};
3720#line 310
3721struct audit_context;
3722#line 310
3723struct audit_context;
3724#line 310
3725struct audit_context;
3726#line 310
3727struct audit_context;
3728#line 27 "include/linux/selinux.h"
3729struct group_info {
3730 atomic_t usage ;
3731 int ngroups ;
3732 int nblocks ;
3733 gid_t small_block[32U] ;
3734 gid_t *blocks[0U] ;
3735};
3736#line 77 "include/linux/cred.h"
3737struct thread_group_cred {
3738 atomic_t usage ;
3739 pid_t tgid ;
3740 spinlock_t lock ;
3741 struct key *session_keyring ;
3742 struct key *process_keyring ;
3743 struct rcu_head rcu ;
3744};
3745#line 91 "include/linux/cred.h"
3746struct cred {
3747 atomic_t usage ;
3748 atomic_t subscribers ;
3749 void *put_addr ;
3750 unsigned int magic ;
3751 uid_t uid ;
3752 gid_t gid ;
3753 uid_t suid ;
3754 gid_t sgid ;
3755 uid_t euid ;
3756 gid_t egid ;
3757 uid_t fsuid ;
3758 gid_t fsgid ;
3759 unsigned int securebits ;
3760 kernel_cap_t cap_inheritable ;
3761 kernel_cap_t cap_permitted ;
3762 kernel_cap_t cap_effective ;
3763 kernel_cap_t cap_bset ;
3764 unsigned char jit_keyring ;
3765 struct key *thread_keyring ;
3766 struct key *request_key_auth ;
3767 struct thread_group_cred *tgcred ;
3768 void *security ;
3769 struct user_struct *user ;
3770 struct user_namespace *user_ns ;
3771 struct group_info *group_info ;
3772 struct rcu_head rcu ;
3773};
3774#line 264
3775struct futex_pi_state;
3776#line 264
3777struct futex_pi_state;
3778#line 264
3779struct futex_pi_state;
3780#line 264
3781struct futex_pi_state;
3782#line 265
3783struct robust_list_head;
3784#line 265
3785struct robust_list_head;
3786#line 265
3787struct robust_list_head;
3788#line 265
3789struct robust_list_head;
3790#line 266
3791struct bio_list;
3792#line 266
3793struct bio_list;
3794#line 266
3795struct bio_list;
3796#line 266
3797struct bio_list;
3798#line 267
3799struct fs_struct;
3800#line 267
3801struct fs_struct;
3802#line 267
3803struct fs_struct;
3804#line 267
3805struct fs_struct;
3806#line 268
3807struct perf_event_context;
3808#line 268
3809struct perf_event_context;
3810#line 268
3811struct perf_event_context;
3812#line 268
3813struct perf_event_context;
3814#line 269
3815struct blk_plug;
3816#line 269
3817struct blk_plug;
3818#line 269
3819struct blk_plug;
3820#line 269
3821struct blk_plug;
3822#line 149 "include/linux/sched.h"
3823struct cfs_rq;
3824#line 149
3825struct cfs_rq;
3826#line 149
3827struct cfs_rq;
3828#line 149
3829struct cfs_rq;
3830#line 383
3831struct kioctx;
3832#line 383
3833struct kioctx;
3834#line 383
3835struct kioctx;
3836#line 383
3837struct kioctx;
3838#line 384 "include/linux/sched.h"
3839union __anonunion_ki_obj_175 {
3840 void *user ;
3841 struct task_struct *tsk ;
3842};
3843#line 384
3844struct eventfd_ctx;
3845#line 384
3846struct eventfd_ctx;
3847#line 384
3848struct eventfd_ctx;
3849#line 384 "include/linux/sched.h"
3850struct kiocb {
3851 struct list_head ki_run_list ;
3852 unsigned long ki_flags ;
3853 int ki_users ;
3854 unsigned int ki_key ;
3855 struct file *ki_filp ;
3856 struct kioctx *ki_ctx ;
3857 int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
3858 ssize_t (*ki_retry)(struct kiocb * ) ;
3859 void (*ki_dtor)(struct kiocb * ) ;
3860 union __anonunion_ki_obj_175 ki_obj ;
3861 __u64 ki_user_data ;
3862 loff_t ki_pos ;
3863 void *private ;
3864 unsigned short ki_opcode ;
3865 size_t ki_nbytes ;
3866 char *ki_buf ;
3867 size_t ki_left ;
3868 struct iovec ki_inline_vec ;
3869 struct iovec *ki_iovec ;
3870 unsigned long ki_nr_segs ;
3871 unsigned long ki_cur_seg ;
3872 struct list_head ki_list ;
3873 struct eventfd_ctx *ki_eventfd ;
3874};
3875#line 161 "include/linux/aio.h"
3876struct aio_ring_info {
3877 unsigned long mmap_base ;
3878 unsigned long mmap_size ;
3879 struct page **ring_pages ;
3880 spinlock_t ring_lock ;
3881 long nr_pages ;
3882 unsigned int nr ;
3883 unsigned int tail ;
3884 struct page *internal_pages[8U] ;
3885};
3886#line 177 "include/linux/aio.h"
3887struct kioctx {
3888 atomic_t users ;
3889 int dead ;
3890 struct mm_struct *mm ;
3891 unsigned long user_id ;
3892 struct hlist_node list ;
3893 wait_queue_head_t wait ;
3894 spinlock_t ctx_lock ;
3895 int reqs_active ;
3896 struct list_head active_reqs ;
3897 struct list_head run_list ;
3898 unsigned int max_reqs ;
3899 struct aio_ring_info ring_info ;
3900 struct delayed_work wq ;
3901 struct rcu_head rcu_head ;
3902};
3903#line 404 "include/linux/sched.h"
3904struct sighand_struct {
3905 atomic_t count ;
3906 struct k_sigaction action[64U] ;
3907 spinlock_t siglock ;
3908 wait_queue_head_t signalfd_wqh ;
3909};
3910#line 447 "include/linux/sched.h"
3911struct pacct_struct {
3912 int ac_flag ;
3913 long ac_exitcode ;
3914 unsigned long ac_mem ;
3915 cputime_t ac_utime ;
3916 cputime_t ac_stime ;
3917 unsigned long ac_minflt ;
3918 unsigned long ac_majflt ;
3919};
3920#line 455 "include/linux/sched.h"
3921struct cpu_itimer {
3922 cputime_t expires ;
3923 cputime_t incr ;
3924 u32 error ;
3925 u32 incr_error ;
3926};
3927#line 462 "include/linux/sched.h"
3928struct task_cputime {
3929 cputime_t utime ;
3930 cputime_t stime ;
3931 unsigned long long sum_exec_runtime ;
3932};
3933#line 479 "include/linux/sched.h"
3934struct thread_group_cputimer {
3935 struct task_cputime cputime ;
3936 int running ;
3937 spinlock_t lock ;
3938};
3939#line 515
3940struct autogroup;
3941#line 515
3942struct autogroup;
3943#line 515
3944struct autogroup;
3945#line 515
3946struct autogroup;
3947#line 516
3948struct tty_struct;
3949#line 516
3950struct tty_struct;
3951#line 516
3952struct tty_struct;
3953#line 516
3954struct taskstats;
3955#line 516
3956struct taskstats;
3957#line 516
3958struct taskstats;
3959#line 516
3960struct tty_audit_buf;
3961#line 516
3962struct tty_audit_buf;
3963#line 516
3964struct tty_audit_buf;
3965#line 516 "include/linux/sched.h"
3966struct signal_struct {
3967 atomic_t sigcnt ;
3968 atomic_t live ;
3969 int nr_threads ;
3970 wait_queue_head_t wait_chldexit ;
3971 struct task_struct *curr_target ;
3972 struct sigpending shared_pending ;
3973 int group_exit_code ;
3974 int notify_count ;
3975 struct task_struct *group_exit_task ;
3976 int group_stop_count ;
3977 unsigned int flags ;
3978 struct list_head posix_timers ;
3979 struct hrtimer real_timer ;
3980 struct pid *leader_pid ;
3981 ktime_t it_real_incr ;
3982 struct cpu_itimer it[2U] ;
3983 struct thread_group_cputimer cputimer ;
3984 struct task_cputime cputime_expires ;
3985 struct list_head cpu_timers[3U] ;
3986 struct pid *tty_old_pgrp ;
3987 int leader ;
3988 struct tty_struct *tty ;
3989 struct autogroup *autogroup ;
3990 cputime_t utime ;
3991 cputime_t stime ;
3992 cputime_t cutime ;
3993 cputime_t cstime ;
3994 cputime_t gtime ;
3995 cputime_t cgtime ;
3996 cputime_t prev_utime ;
3997 cputime_t prev_stime ;
3998 unsigned long nvcsw ;
3999 unsigned long nivcsw ;
4000 unsigned long cnvcsw ;
4001 unsigned long cnivcsw ;
4002 unsigned long min_flt ;
4003 unsigned long maj_flt ;
4004 unsigned long cmin_flt ;
4005 unsigned long cmaj_flt ;
4006 unsigned long inblock ;
4007 unsigned long oublock ;
4008 unsigned long cinblock ;
4009 unsigned long coublock ;
4010 unsigned long maxrss ;
4011 unsigned long cmaxrss ;
4012 struct task_io_accounting ioac ;
4013 unsigned long long sum_sched_runtime ;
4014 struct rlimit rlim[16U] ;
4015 struct pacct_struct pacct ;
4016 struct taskstats *stats ;
4017 unsigned int audit_tty ;
4018 struct tty_audit_buf *tty_audit_buf ;
4019 struct rw_semaphore threadgroup_fork_lock ;
4020 int oom_adj ;
4021 int oom_score_adj ;
4022 int oom_score_adj_min ;
4023 struct mutex cred_guard_mutex ;
4024};
4025#line 683 "include/linux/sched.h"
4026struct user_struct {
4027 atomic_t __count ;
4028 atomic_t processes ;
4029 atomic_t files ;
4030 atomic_t sigpending ;
4031 atomic_t inotify_watches ;
4032 atomic_t inotify_devs ;
4033 atomic_t fanotify_listeners ;
4034 atomic_long_t epoll_watches ;
4035 unsigned long mq_bytes ;
4036 unsigned long locked_shm ;
4037 struct key *uid_keyring ;
4038 struct key *session_keyring ;
4039 struct hlist_node uidhash_node ;
4040 uid_t uid ;
4041 struct user_namespace *user_ns ;
4042 atomic_long_t locked_vm ;
4043};
4044#line 728
4045struct reclaim_state;
4046#line 728
4047struct reclaim_state;
4048#line 728
4049struct reclaim_state;
4050#line 728
4051struct reclaim_state;
4052#line 729 "include/linux/sched.h"
4053struct sched_info {
4054 unsigned long pcount ;
4055 unsigned long long run_delay ;
4056 unsigned long long last_arrival ;
4057 unsigned long long last_queued ;
4058};
4059#line 744 "include/linux/sched.h"
4060struct task_delay_info {
4061 spinlock_t lock ;
4062 unsigned int flags ;
4063 struct timespec blkio_start ;
4064 struct timespec blkio_end ;
4065 u64 blkio_delay ;
4066 u64 swapin_delay ;
4067 u32 blkio_count ;
4068 u32 swapin_count ;
4069 struct timespec freepages_start ;
4070 struct timespec freepages_end ;
4071 u64 freepages_delay ;
4072 u32 freepages_count ;
4073};
4074#line 1037
4075struct io_context;
4076#line 1037
4077struct io_context;
4078#line 1037
4079struct io_context;
4080#line 1037
4081struct io_context;
4082#line 1059
4083struct uts_namespace;
4084#line 1059
4085struct uts_namespace;
4086#line 1059
4087struct uts_namespace;
4088#line 1059
4089struct uts_namespace;
4090#line 1060
4091struct rq;
4092#line 1060
4093struct rq;
4094#line 1060
4095struct rq;
4096#line 1060
4097struct rq;
4098#line 1061 "include/linux/sched.h"
4099struct sched_class {
4100 struct sched_class const *next ;
4101 void (*enqueue_task)(struct rq * , struct task_struct * , int ) ;
4102 void (*dequeue_task)(struct rq * , struct task_struct * , int ) ;
4103 void (*yield_task)(struct rq * ) ;
4104 bool (*yield_to_task)(struct rq * , struct task_struct * , bool ) ;
4105 void (*check_preempt_curr)(struct rq * , struct task_struct * , int ) ;
4106 struct task_struct *(*pick_next_task)(struct rq * ) ;
4107 void (*put_prev_task)(struct rq * , struct task_struct * ) ;
4108 int (*select_task_rq)(struct task_struct * , int , int ) ;
4109 void (*pre_schedule)(struct rq * , struct task_struct * ) ;
4110 void (*post_schedule)(struct rq * ) ;
4111 void (*task_waking)(struct task_struct * ) ;
4112 void (*task_woken)(struct rq * , struct task_struct * ) ;
4113 void (*set_cpus_allowed)(struct task_struct * , struct cpumask const * ) ;
4114 void (*rq_online)(struct rq * ) ;
4115 void (*rq_offline)(struct rq * ) ;
4116 void (*set_curr_task)(struct rq * ) ;
4117 void (*task_tick)(struct rq * , struct task_struct * , int ) ;
4118 void (*task_fork)(struct task_struct * ) ;
4119 void (*switched_from)(struct rq * , struct task_struct * ) ;
4120 void (*switched_to)(struct rq * , struct task_struct * ) ;
4121 void (*prio_changed)(struct rq * , struct task_struct * , int ) ;
4122 unsigned int (*get_rr_interval)(struct rq * , struct task_struct * ) ;
4123 void (*task_move_group)(struct task_struct * , int ) ;
4124};
4125#line 1127 "include/linux/sched.h"
4126struct load_weight {
4127 unsigned long weight ;
4128 unsigned long inv_weight ;
4129};
4130#line 1132 "include/linux/sched.h"
4131struct sched_statistics {
4132 u64 wait_start ;
4133 u64 wait_max ;
4134 u64 wait_count ;
4135 u64 wait_sum ;
4136 u64 iowait_count ;
4137 u64 iowait_sum ;
4138 u64 sleep_start ;
4139 u64 sleep_max ;
4140 s64 sum_sleep_runtime ;
4141 u64 block_start ;
4142 u64 block_max ;
4143 u64 exec_max ;
4144 u64 slice_max ;
4145 u64 nr_migrations_cold ;
4146 u64 nr_failed_migrations_affine ;
4147 u64 nr_failed_migrations_running ;
4148 u64 nr_failed_migrations_hot ;
4149 u64 nr_forced_migrations ;
4150 u64 nr_wakeups ;
4151 u64 nr_wakeups_sync ;
4152 u64 nr_wakeups_migrate ;
4153 u64 nr_wakeups_local ;
4154 u64 nr_wakeups_remote ;
4155 u64 nr_wakeups_affine ;
4156 u64 nr_wakeups_affine_attempts ;
4157 u64 nr_wakeups_passive ;
4158 u64 nr_wakeups_idle ;
4159};
4160#line 1167 "include/linux/sched.h"
4161struct sched_entity {
4162 struct load_weight load ;
4163 struct rb_node run_node ;
4164 struct list_head group_node ;
4165 unsigned int on_rq ;
4166 u64 exec_start ;
4167 u64 sum_exec_runtime ;
4168 u64 vruntime ;
4169 u64 prev_sum_exec_runtime ;
4170 u64 nr_migrations ;
4171 struct sched_statistics statistics ;
4172 struct sched_entity *parent ;
4173 struct cfs_rq *cfs_rq ;
4174 struct cfs_rq *my_q ;
4175};
4176#line 1193
4177struct rt_rq;
4178#line 1193
4179struct rt_rq;
4180#line 1193
4181struct rt_rq;
4182#line 1193 "include/linux/sched.h"
4183struct sched_rt_entity {
4184 struct list_head run_list ;
4185 unsigned long timeout ;
4186 unsigned int time_slice ;
4187 int nr_cpus_allowed ;
4188 struct sched_rt_entity *back ;
4189 struct sched_rt_entity *parent ;
4190 struct rt_rq *rt_rq ;
4191 struct rt_rq *my_q ;
4192};
4193#line 1217
4194struct mem_cgroup;
4195#line 1217
4196struct mem_cgroup;
4197#line 1217
4198struct mem_cgroup;
4199#line 1217 "include/linux/sched.h"
4200struct memcg_batch_info {
4201 int do_batch ;
4202 struct mem_cgroup *memcg ;
4203 unsigned long nr_pages ;
4204 unsigned long memsw_nr_pages ;
4205};
4206#line 1569
4207struct irqaction;
4208#line 1569
4209struct irqaction;
4210#line 1569
4211struct irqaction;
4212#line 1569
4213struct css_set;
4214#line 1569
4215struct css_set;
4216#line 1569
4217struct css_set;
4218#line 1569
4219struct compat_robust_list_head;
4220#line 1569
4221struct compat_robust_list_head;
4222#line 1569
4223struct compat_robust_list_head;
4224#line 1569
4225struct ftrace_ret_stack;
4226#line 1569
4227struct ftrace_ret_stack;
4228#line 1569
4229struct ftrace_ret_stack;
4230#line 1569 "include/linux/sched.h"
4231struct task_struct {
4232 long volatile state ;
4233 void *stack ;
4234 atomic_t usage ;
4235 unsigned int flags ;
4236 unsigned int ptrace ;
4237 struct task_struct *wake_entry ;
4238 int on_cpu ;
4239 int on_rq ;
4240 int prio ;
4241 int static_prio ;
4242 int normal_prio ;
4243 unsigned int rt_priority ;
4244 struct sched_class const *sched_class ;
4245 struct sched_entity se ;
4246 struct sched_rt_entity rt ;
4247 struct hlist_head preempt_notifiers ;
4248 unsigned char fpu_counter ;
4249 unsigned int btrace_seq ;
4250 unsigned int policy ;
4251 cpumask_t cpus_allowed ;
4252 struct sched_info sched_info ;
4253 struct list_head tasks ;
4254 struct plist_node pushable_tasks ;
4255 struct mm_struct *mm ;
4256 struct mm_struct *active_mm ;
4257 unsigned char brk_randomized : 1 ;
4258 int exit_state ;
4259 int exit_code ;
4260 int exit_signal ;
4261 int pdeath_signal ;
4262 unsigned int group_stop ;
4263 unsigned int personality ;
4264 unsigned char did_exec : 1 ;
4265 unsigned char in_execve : 1 ;
4266 unsigned char in_iowait : 1 ;
4267 unsigned char sched_reset_on_fork : 1 ;
4268 unsigned char sched_contributes_to_load : 1 ;
4269 pid_t pid ;
4270 pid_t tgid ;
4271 unsigned long stack_canary ;
4272 struct task_struct *real_parent ;
4273 struct task_struct *parent ;
4274 struct list_head children ;
4275 struct list_head sibling ;
4276 struct task_struct *group_leader ;
4277 struct list_head ptraced ;
4278 struct list_head ptrace_entry ;
4279 struct pid_link pids[3U] ;
4280 struct list_head thread_group ;
4281 struct completion *vfork_done ;
4282 int *set_child_tid ;
4283 int *clear_child_tid ;
4284 cputime_t utime ;
4285 cputime_t stime ;
4286 cputime_t utimescaled ;
4287 cputime_t stimescaled ;
4288 cputime_t gtime ;
4289 cputime_t prev_utime ;
4290 cputime_t prev_stime ;
4291 unsigned long nvcsw ;
4292 unsigned long nivcsw ;
4293 struct timespec start_time ;
4294 struct timespec real_start_time ;
4295 unsigned long min_flt ;
4296 unsigned long maj_flt ;
4297 struct task_cputime cputime_expires ;
4298 struct list_head cpu_timers[3U] ;
4299 struct cred const *real_cred ;
4300 struct cred const *cred ;
4301 struct cred *replacement_session_keyring ;
4302 char comm[16U] ;
4303 int link_count ;
4304 int total_link_count ;
4305 struct sysv_sem sysvsem ;
4306 unsigned long last_switch_count ;
4307 struct thread_struct thread ;
4308 struct fs_struct *fs ;
4309 struct files_struct *files ;
4310 struct nsproxy *nsproxy ;
4311 struct signal_struct *signal ;
4312 struct sighand_struct *sighand ;
4313 sigset_t blocked ;
4314 sigset_t real_blocked ;
4315 sigset_t saved_sigmask ;
4316 struct sigpending pending ;
4317 unsigned long sas_ss_sp ;
4318 size_t sas_ss_size ;
4319 int (*notifier)(void * ) ;
4320 void *notifier_data ;
4321 sigset_t *notifier_mask ;
4322 struct audit_context *audit_context ;
4323 uid_t loginuid ;
4324 unsigned int sessionid ;
4325 seccomp_t seccomp ;
4326 u32 parent_exec_id ;
4327 u32 self_exec_id ;
4328 spinlock_t alloc_lock ;
4329 struct irqaction *irqaction ;
4330 raw_spinlock_t pi_lock ;
4331 struct plist_head pi_waiters ;
4332 struct rt_mutex_waiter *pi_blocked_on ;
4333 struct mutex_waiter *blocked_on ;
4334 unsigned int irq_events ;
4335 unsigned long hardirq_enable_ip ;
4336 unsigned long hardirq_disable_ip ;
4337 unsigned int hardirq_enable_event ;
4338 unsigned int hardirq_disable_event ;
4339 int hardirqs_enabled ;
4340 int hardirq_context ;
4341 unsigned long softirq_disable_ip ;
4342 unsigned long softirq_enable_ip ;
4343 unsigned int softirq_disable_event ;
4344 unsigned int softirq_enable_event ;
4345 int softirqs_enabled ;
4346 int softirq_context ;
4347 u64 curr_chain_key ;
4348 int lockdep_depth ;
4349 unsigned int lockdep_recursion ;
4350 struct held_lock held_locks[48U] ;
4351 gfp_t lockdep_reclaim_gfp ;
4352 void *journal_info ;
4353 struct bio_list *bio_list ;
4354 struct blk_plug *plug ;
4355 struct reclaim_state *reclaim_state ;
4356 struct backing_dev_info *backing_dev_info ;
4357 struct io_context *io_context ;
4358 unsigned long ptrace_message ;
4359 siginfo_t *last_siginfo ;
4360 struct task_io_accounting ioac ;
4361 u64 acct_rss_mem1 ;
4362 u64 acct_vm_mem1 ;
4363 cputime_t acct_timexpd ;
4364 nodemask_t mems_allowed ;
4365 int mems_allowed_change_disable ;
4366 int cpuset_mem_spread_rotor ;
4367 int cpuset_slab_spread_rotor ;
4368 struct css_set *cgroups ;
4369 struct list_head cg_list ;
4370 struct robust_list_head *robust_list ;
4371 struct compat_robust_list_head *compat_robust_list ;
4372 struct list_head pi_state_list ;
4373 struct futex_pi_state *pi_state_cache ;
4374 struct perf_event_context *perf_event_ctxp[2U] ;
4375 struct mutex perf_event_mutex ;
4376 struct list_head perf_event_list ;
4377 struct mempolicy *mempolicy ;
4378 short il_next ;
4379 short pref_node_fork ;
4380 atomic_t fs_excl ;
4381 struct rcu_head rcu ;
4382 struct pipe_inode_info *splice_pipe ;
4383 struct task_delay_info *delays ;
4384 int make_it_fail ;
4385 struct prop_local_single dirties ;
4386 int latency_record_count ;
4387 struct latency_record latency_record[32U] ;
4388 unsigned long timer_slack_ns ;
4389 unsigned long default_timer_slack_ns ;
4390 struct list_head *scm_work_list ;
4391 int curr_ret_stack ;
4392 struct ftrace_ret_stack *ret_stack ;
4393 unsigned long long ftrace_timestamp ;
4394 atomic_t trace_overrun ;
4395 atomic_t tracing_graph_pause ;
4396 unsigned long trace ;
4397 unsigned long trace_recursion ;
4398 struct memcg_batch_info memcg_batch ;
4399 atomic_t ptrace_bp_refcnt ;
4400};
4401#line 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
4402typedef s32 compat_time_t;
4403#line 37 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
4404typedef s32 compat_long_t;
4405#line 42 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
4406struct compat_timespec {
4407 compat_time_t tv_sec ;
4408 s32 tv_nsec ;
4409};
4410#line 196 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
4411typedef u32 compat_uptr_t;
4412#line 205 "include/linux/compat.h"
4413struct compat_robust_list {
4414 compat_uptr_t next ;
4415};
4416#line 209 "include/linux/compat.h"
4417struct compat_robust_list_head {
4418 struct compat_robust_list list ;
4419 compat_long_t futex_offset ;
4420 compat_uptr_t list_op_pending ;
4421};
4422#line 563 "include/linux/compat.h"
4423struct ethtool_cmd {
4424 __u32 cmd ;
4425 __u32 supported ;
4426 __u32 advertising ;
4427 __u16 speed ;
4428 __u8 duplex ;
4429 __u8 port ;
4430 __u8 phy_address ;
4431 __u8 transceiver ;
4432 __u8 autoneg ;
4433 __u8 mdio_support ;
4434 __u32 maxtxpkt ;
4435 __u32 maxrxpkt ;
4436 __u16 speed_hi ;
4437 __u8 eth_tp_mdix ;
4438 __u8 reserved2 ;
4439 __u32 lp_advertising ;
4440 __u32 reserved[2U] ;
4441};
4442#line 61 "include/linux/ethtool.h"
4443struct ethtool_drvinfo {
4444 __u32 cmd ;
4445 char driver[32U] ;
4446 char version[32U] ;
4447 char fw_version[32U] ;
4448 char bus_info[32U] ;
4449 char reserved1[32U] ;
4450 char reserved2[12U] ;
4451 __u32 n_priv_flags ;
4452 __u32 n_stats ;
4453 __u32 testinfo_len ;
4454 __u32 eedump_len ;
4455 __u32 regdump_len ;
4456};
4457#line 87 "include/linux/ethtool.h"
4458struct ethtool_wolinfo {
4459 __u32 cmd ;
4460 __u32 supported ;
4461 __u32 wolopts ;
4462 __u8 sopass[6U] ;
4463};
4464#line 102 "include/linux/ethtool.h"
4465struct ethtool_regs {
4466 __u32 cmd ;
4467 __u32 version ;
4468 __u32 len ;
4469 __u8 data[0U] ;
4470};
4471#line 110 "include/linux/ethtool.h"
4472struct ethtool_eeprom {
4473 __u32 cmd ;
4474 __u32 magic ;
4475 __u32 offset ;
4476 __u32 len ;
4477 __u8 data[0U] ;
4478};
4479#line 119 "include/linux/ethtool.h"
4480struct ethtool_coalesce {
4481 __u32 cmd ;
4482 __u32 rx_coalesce_usecs ;
4483 __u32 rx_max_coalesced_frames ;
4484 __u32 rx_coalesce_usecs_irq ;
4485 __u32 rx_max_coalesced_frames_irq ;
4486 __u32 tx_coalesce_usecs ;
4487 __u32 tx_max_coalesced_frames ;
4488 __u32 tx_coalesce_usecs_irq ;
4489 __u32 tx_max_coalesced_frames_irq ;
4490 __u32 stats_block_coalesce_usecs ;
4491 __u32 use_adaptive_rx_coalesce ;
4492 __u32 use_adaptive_tx_coalesce ;
4493 __u32 pkt_rate_low ;
4494 __u32 rx_coalesce_usecs_low ;
4495 __u32 rx_max_coalesced_frames_low ;
4496 __u32 tx_coalesce_usecs_low ;
4497 __u32 tx_max_coalesced_frames_low ;
4498 __u32 pkt_rate_high ;
4499 __u32 rx_coalesce_usecs_high ;
4500 __u32 rx_max_coalesced_frames_high ;
4501 __u32 tx_coalesce_usecs_high ;
4502 __u32 tx_max_coalesced_frames_high ;
4503 __u32 rate_sample_interval ;
4504};
4505#line 215 "include/linux/ethtool.h"
4506struct ethtool_ringparam {
4507 __u32 cmd ;
4508 __u32 rx_max_pending ;
4509 __u32 rx_mini_max_pending ;
4510 __u32 rx_jumbo_max_pending ;
4511 __u32 tx_max_pending ;
4512 __u32 rx_pending ;
4513 __u32 rx_mini_pending ;
4514 __u32 rx_jumbo_pending ;
4515 __u32 tx_pending ;
4516};
4517#line 237 "include/linux/ethtool.h"
4518struct ethtool_channels {
4519 __u32 cmd ;
4520 __u32 max_rx ;
4521 __u32 max_tx ;
4522 __u32 max_other ;
4523 __u32 max_combined ;
4524 __u32 rx_count ;
4525 __u32 tx_count ;
4526 __u32 other_count ;
4527 __u32 combined_count ;
4528};
4529#line 265 "include/linux/ethtool.h"
4530struct ethtool_pauseparam {
4531 __u32 cmd ;
4532 __u32 autoneg ;
4533 __u32 rx_pause ;
4534 __u32 tx_pause ;
4535};
4536#line 314 "include/linux/ethtool.h"
4537struct ethtool_test {
4538 __u32 cmd ;
4539 __u32 flags ;
4540 __u32 reserved ;
4541 __u32 len ;
4542 __u64 data[0U] ;
4543};
4544#line 326 "include/linux/ethtool.h"
4545struct ethtool_stats {
4546 __u32 cmd ;
4547 __u32 n_stats ;
4548 __u64 data[0U] ;
4549};
4550#line 347 "include/linux/ethtool.h"
4551struct ethtool_tcpip4_spec {
4552 __be32 ip4src ;
4553 __be32 ip4dst ;
4554 __be16 psrc ;
4555 __be16 pdst ;
4556 __u8 tos ;
4557};
4558#line 380 "include/linux/ethtool.h"
4559struct ethtool_ah_espip4_spec {
4560 __be32 ip4src ;
4561 __be32 ip4dst ;
4562 __be32 spi ;
4563 __u8 tos ;
4564};
4565#line 396 "include/linux/ethtool.h"
4566struct ethtool_usrip4_spec {
4567 __be32 ip4src ;
4568 __be32 ip4dst ;
4569 __be32 l4_4_bytes ;
4570 __u8 tos ;
4571 __u8 ip_ver ;
4572 __u8 proto ;
4573};
4574#line 416 "include/linux/ethtool.h"
4575union ethtool_flow_union {
4576 struct ethtool_tcpip4_spec tcp_ip4_spec ;
4577 struct ethtool_tcpip4_spec udp_ip4_spec ;
4578 struct ethtool_tcpip4_spec sctp_ip4_spec ;
4579 struct ethtool_ah_espip4_spec ah_ip4_spec ;
4580 struct ethtool_ah_espip4_spec esp_ip4_spec ;
4581 struct ethtool_usrip4_spec usr_ip4_spec ;
4582 struct ethhdr ether_spec ;
4583 __u8 hdata[60U] ;
4584};
4585#line 427 "include/linux/ethtool.h"
4586struct ethtool_flow_ext {
4587 __be16 vlan_etype ;
4588 __be16 vlan_tci ;
4589 __be32 data[2U] ;
4590};
4591#line 433 "include/linux/ethtool.h"
4592struct ethtool_rx_flow_spec {
4593 __u32 flow_type ;
4594 union ethtool_flow_union h_u ;
4595 struct ethtool_flow_ext h_ext ;
4596 union ethtool_flow_union m_u ;
4597 struct ethtool_flow_ext m_ext ;
4598 __u64 ring_cookie ;
4599 __u32 location ;
4600};
4601#line 456 "include/linux/ethtool.h"
4602struct ethtool_rxnfc {
4603 __u32 cmd ;
4604 __u32 flow_type ;
4605 __u64 data ;
4606 struct ethtool_rx_flow_spec fs ;
4607 __u32 rule_cnt ;
4608 __u32 rule_locs[0U] ;
4609};
4610#line 526 "include/linux/ethtool.h"
4611struct ethtool_rxfh_indir {
4612 __u32 cmd ;
4613 __u32 size ;
4614 __u32 ring_index[0U] ;
4615};
4616#line 542 "include/linux/ethtool.h"
4617union __anonunion_h_u_182 {
4618 struct ethtool_tcpip4_spec tcp_ip4_spec ;
4619 struct ethtool_tcpip4_spec udp_ip4_spec ;
4620 struct ethtool_tcpip4_spec sctp_ip4_spec ;
4621 struct ethtool_ah_espip4_spec ah_ip4_spec ;
4622 struct ethtool_ah_espip4_spec esp_ip4_spec ;
4623 struct ethtool_usrip4_spec usr_ip4_spec ;
4624 struct ethhdr ether_spec ;
4625 __u8 hdata[72U] ;
4626};
4627#line 542 "include/linux/ethtool.h"
4628union __anonunion_m_u_183 {
4629 struct ethtool_tcpip4_spec tcp_ip4_spec ;
4630 struct ethtool_tcpip4_spec udp_ip4_spec ;
4631 struct ethtool_tcpip4_spec sctp_ip4_spec ;
4632 struct ethtool_ah_espip4_spec ah_ip4_spec ;
4633 struct ethtool_ah_espip4_spec esp_ip4_spec ;
4634 struct ethtool_usrip4_spec usr_ip4_spec ;
4635 struct ethhdr ether_spec ;
4636 __u8 hdata[72U] ;
4637};
4638#line 542 "include/linux/ethtool.h"
4639struct ethtool_rx_ntuple_flow_spec {
4640 __u32 flow_type ;
4641 union __anonunion_h_u_182 h_u ;
4642 union __anonunion_m_u_183 m_u ;
4643 __u16 vlan_tag ;
4644 __u16 vlan_tag_mask ;
4645 __u64 data ;
4646 __u64 data_mask ;
4647 __s32 action ;
4648};
4649#line 579 "include/linux/ethtool.h"
4650struct ethtool_rx_ntuple {
4651 __u32 cmd ;
4652 struct ethtool_rx_ntuple_flow_spec fs ;
4653};
4654#line 595 "include/linux/ethtool.h"
4655struct ethtool_flash {
4656 __u32 cmd ;
4657 __u32 region ;
4658 char data[128U] ;
4659};
4660#line 603 "include/linux/ethtool.h"
4661struct ethtool_dump {
4662 __u32 cmd ;
4663 __u32 version ;
4664 __u32 flag ;
4665 __u32 len ;
4666 __u8 data[0U] ;
4667};
4668#line 721 "include/linux/ethtool.h"
4669struct ethtool_rx_ntuple_list {
4670 struct list_head list ;
4671 unsigned int count ;
4672};
4673#line 728
4674enum ethtool_phys_id_state {
4675 ETHTOOL_ID_INACTIVE = 0,
4676 ETHTOOL_ID_ACTIVE = 1,
4677 ETHTOOL_ID_ON = 2,
4678 ETHTOOL_ID_OFF = 3
4679} ;
4680#line 763 "include/linux/ethtool.h"
4681struct ethtool_ops {
4682 int (*get_settings)(struct net_device * , struct ethtool_cmd * ) ;
4683 int (*set_settings)(struct net_device * , struct ethtool_cmd * ) ;
4684 void (*get_drvinfo)(struct net_device * , struct ethtool_drvinfo * ) ;
4685 int (*get_regs_len)(struct net_device * ) ;
4686 void (*get_regs)(struct net_device * , struct ethtool_regs * , void * ) ;
4687 void (*get_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4688 int (*set_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4689 u32 (*get_msglevel)(struct net_device * ) ;
4690 void (*set_msglevel)(struct net_device * , u32 ) ;
4691 int (*nway_reset)(struct net_device * ) ;
4692 u32 (*get_link)(struct net_device * ) ;
4693 int (*get_eeprom_len)(struct net_device * ) ;
4694 int (*get_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4695 int (*set_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4696 int (*get_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4697 int (*set_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4698 void (*get_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4699 int (*set_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4700 void (*get_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4701 int (*set_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4702 u32 (*get_rx_csum)(struct net_device * ) ;
4703 int (*set_rx_csum)(struct net_device * , u32 ) ;
4704 u32 (*get_tx_csum)(struct net_device * ) ;
4705 int (*set_tx_csum)(struct net_device * , u32 ) ;
4706 u32 (*get_sg)(struct net_device * ) ;
4707 int (*set_sg)(struct net_device * , u32 ) ;
4708 u32 (*get_tso)(struct net_device * ) ;
4709 int (*set_tso)(struct net_device * , u32 ) ;
4710 void (*self_test)(struct net_device * , struct ethtool_test * , u64 * ) ;
4711 void (*get_strings)(struct net_device * , u32 , u8 * ) ;
4712 int (*set_phys_id)(struct net_device * , enum ethtool_phys_id_state ) ;
4713 void (*get_ethtool_stats)(struct net_device * , struct ethtool_stats * , u64 * ) ;
4714 int (*begin)(struct net_device * ) ;
4715 void (*complete)(struct net_device * ) ;
4716 u32 (*get_ufo)(struct net_device * ) ;
4717 int (*set_ufo)(struct net_device * , u32 ) ;
4718 u32 (*get_flags)(struct net_device * ) ;
4719 int (*set_flags)(struct net_device * , u32 ) ;
4720 u32 (*get_priv_flags)(struct net_device * ) ;
4721 int (*set_priv_flags)(struct net_device * , u32 ) ;
4722 int (*get_sset_count)(struct net_device * , int ) ;
4723 int (*get_rxnfc)(struct net_device * , struct ethtool_rxnfc * , void * ) ;
4724 int (*set_rxnfc)(struct net_device * , struct ethtool_rxnfc * ) ;
4725 int (*flash_device)(struct net_device * , struct ethtool_flash * ) ;
4726 int (*reset)(struct net_device * , u32 * ) ;
4727 int (*set_rx_ntuple)(struct net_device * , struct ethtool_rx_ntuple * ) ;
4728 int (*get_rx_ntuple)(struct net_device * , u32 , void * ) ;
4729 int (*get_rxfh_indir)(struct net_device * , struct ethtool_rxfh_indir * ) ;
4730 int (*set_rxfh_indir)(struct net_device * , struct ethtool_rxfh_indir const * ) ;
4731 void (*get_channels)(struct net_device * , struct ethtool_channels * ) ;
4732 int (*set_channels)(struct net_device * , struct ethtool_channels * ) ;
4733 int (*get_dump_flag)(struct net_device * , struct ethtool_dump * ) ;
4734 int (*get_dump_data)(struct net_device * , struct ethtool_dump * , void * ) ;
4735 int (*set_dump)(struct net_device * , struct ethtool_dump * ) ;
4736};
4737#line 972
4738struct prot_inuse;
4739#line 972
4740struct prot_inuse;
4741#line 972
4742struct prot_inuse;
4743#line 972
4744struct prot_inuse;
4745#line 973 "include/linux/ethtool.h"
4746struct netns_core {
4747 struct ctl_table_header *sysctl_hdr ;
4748 int sysctl_somaxconn ;
4749 struct prot_inuse *inuse ;
4750};
4751#line 38 "include/net/snmp.h"
4752struct u64_stats_sync {
4753
4754};
4755#line 138 "include/linux/u64_stats_sync.h"
4756struct ipstats_mib {
4757 u64 mibs[31U] ;
4758 struct u64_stats_sync syncp ;
4759};
4760#line 61 "include/net/snmp.h"
4761struct icmp_mib {
4762 unsigned long mibs[27U] ;
4763};
4764#line 67 "include/net/snmp.h"
4765struct icmpmsg_mib {
4766 unsigned long mibs[512U] ;
4767};
4768#line 72 "include/net/snmp.h"
4769struct icmpv6_mib {
4770 unsigned long mibs[5U] ;
4771};
4772#line 83 "include/net/snmp.h"
4773struct icmpv6msg_mib {
4774 unsigned long mibs[512U] ;
4775};
4776#line 93 "include/net/snmp.h"
4777struct tcp_mib {
4778 unsigned long mibs[15U] ;
4779};
4780#line 100 "include/net/snmp.h"
4781struct udp_mib {
4782 unsigned long mibs[7U] ;
4783};
4784#line 106 "include/net/snmp.h"
4785struct linux_mib {
4786 unsigned long mibs[80U] ;
4787};
4788#line 112 "include/net/snmp.h"
4789struct linux_xfrm_mib {
4790 unsigned long mibs[27U] ;
4791};
4792#line 118
4793struct proc_dir_entry;
4794#line 118
4795struct proc_dir_entry;
4796#line 118
4797struct proc_dir_entry;
4798#line 118 "include/net/snmp.h"
4799struct netns_mib {
4800 struct tcp_mib *tcp_statistics[2U] ;
4801 struct ipstats_mib *ip_statistics[2U] ;
4802 struct linux_mib *net_statistics[2U] ;
4803 struct udp_mib *udp_statistics[2U] ;
4804 struct udp_mib *udplite_statistics[2U] ;
4805 struct icmp_mib *icmp_statistics[2U] ;
4806 struct icmpmsg_mib *icmpmsg_statistics[2U] ;
4807 struct proc_dir_entry *proc_net_devsnmp6 ;
4808 struct udp_mib *udp_stats_in6[2U] ;
4809 struct udp_mib *udplite_stats_in6[2U] ;
4810 struct ipstats_mib *ipv6_statistics[2U] ;
4811 struct icmpv6_mib *icmpv6_statistics[2U] ;
4812 struct icmpv6msg_mib *icmpv6msg_statistics[2U] ;
4813 struct linux_xfrm_mib *xfrm_statistics[2U] ;
4814};
4815#line 26 "include/net/netns/mib.h"
4816struct netns_unix {
4817 int sysctl_max_dgram_qlen ;
4818 struct ctl_table_header *ctl ;
4819};
4820#line 12 "include/net/netns/unix.h"
4821struct netns_packet {
4822 spinlock_t sklist_lock ;
4823 struct hlist_head sklist ;
4824};
4825#line 14 "include/net/netns/packet.h"
4826struct netns_frags {
4827 int nqueues ;
4828 atomic_t mem ;
4829 struct list_head lru_list ;
4830 int timeout ;
4831 int high_thresh ;
4832 int low_thresh ;
4833};
4834#line 73 "include/net/inet_frag.h"
4835struct ipv4_devconf;
4836#line 73
4837struct ipv4_devconf;
4838#line 73
4839struct ipv4_devconf;
4840#line 73
4841struct ipv4_devconf;
4842#line 74
4843struct fib_rules_ops;
4844#line 74
4845struct fib_rules_ops;
4846#line 74
4847struct fib_rules_ops;
4848#line 74
4849struct fib_rules_ops;
4850#line 75
4851struct xt_table;
4852#line 75
4853struct xt_table;
4854#line 75
4855struct xt_table;
4856#line 75 "include/net/inet_frag.h"
4857struct netns_ipv4 {
4858 struct ctl_table_header *forw_hdr ;
4859 struct ctl_table_header *frags_hdr ;
4860 struct ctl_table_header *ipv4_hdr ;
4861 struct ctl_table_header *route_hdr ;
4862 struct ipv4_devconf *devconf_all ;
4863 struct ipv4_devconf *devconf_dflt ;
4864 struct fib_rules_ops *rules_ops ;
4865 struct hlist_head *fib_table_hash ;
4866 struct sock *fibnl ;
4867 struct sock **icmp_sk ;
4868 struct sock *tcp_sock ;
4869 struct netns_frags frags ;
4870 struct xt_table *iptable_filter ;
4871 struct xt_table *iptable_mangle ;
4872 struct xt_table *iptable_raw ;
4873 struct xt_table *arptable_filter ;
4874 struct xt_table *iptable_security ;
4875 struct xt_table *nat_table ;
4876 struct hlist_head *nat_bysource ;
4877 unsigned int nat_htable_size ;
4878 int sysctl_icmp_echo_ignore_all ;
4879 int sysctl_icmp_echo_ignore_broadcasts ;
4880 int sysctl_icmp_ignore_bogus_error_responses ;
4881 int sysctl_icmp_ratelimit ;
4882 int sysctl_icmp_ratemask ;
4883 int sysctl_icmp_errors_use_inbound_ifaddr ;
4884 int sysctl_rt_cache_rebuild_count ;
4885 int current_rt_cache_rebuild_count ;
4886 unsigned int sysctl_ping_group_range[2U] ;
4887 atomic_t rt_genid ;
4888 atomic_t dev_addr_genid ;
4889 struct list_head mr_tables ;
4890 struct fib_rules_ops *mr_rules_ops ;
4891};
4892#line 70 "include/net/netns/ipv4.h"
4893struct dst_ops {
4894 unsigned short family ;
4895 __be16 protocol ;
4896 unsigned int gc_thresh ;
4897 int (*gc)(struct dst_ops * ) ;
4898 struct dst_entry *(*check)(struct dst_entry * , __u32 ) ;
4899 unsigned int (*default_advmss)(struct dst_entry const * ) ;
4900 unsigned int (*default_mtu)(struct dst_entry const * ) ;
4901 u32 *(*cow_metrics)(struct dst_entry * , unsigned long ) ;
4902 void (*destroy)(struct dst_entry * ) ;
4903 void (*ifdown)(struct dst_entry * , struct net_device * , int ) ;
4904 struct dst_entry *(*negative_advice)(struct dst_entry * ) ;
4905 void (*link_failure)(struct sk_buff * ) ;
4906 void (*update_pmtu)(struct dst_entry * , u32 ) ;
4907 int (*local_out)(struct sk_buff * ) ;
4908 struct kmem_cache *kmem_cachep ;
4909 struct percpu_counter pcpuc_entries ;
4910};
4911#line 66 "include/net/dst_ops.h"
4912struct netns_sysctl_ipv6 {
4913 struct ctl_table_header *table ;
4914 struct ctl_table_header *frags_hdr ;
4915 int bindv6only ;
4916 int flush_delay ;
4917 int ip6_rt_max_size ;
4918 int ip6_rt_gc_min_interval ;
4919 int ip6_rt_gc_timeout ;
4920 int ip6_rt_gc_interval ;
4921 int ip6_rt_gc_elasticity ;
4922 int ip6_rt_mtu_expires ;
4923 int ip6_rt_min_advmss ;
4924 int icmpv6_time ;
4925};
4926#line 29 "include/net/netns/ipv6.h"
4927struct ipv6_devconf;
4928#line 29
4929struct ipv6_devconf;
4930#line 29
4931struct ipv6_devconf;
4932#line 29
4933struct rt6_info;
4934#line 29
4935struct rt6_info;
4936#line 29
4937struct rt6_info;
4938#line 29
4939struct rt6_statistics;
4940#line 29
4941struct rt6_statistics;
4942#line 29
4943struct rt6_statistics;
4944#line 29
4945struct fib6_table;
4946#line 29
4947struct fib6_table;
4948#line 29
4949struct fib6_table;
4950#line 29 "include/net/netns/ipv6.h"
4951struct netns_ipv6 {
4952 struct netns_sysctl_ipv6 sysctl ;
4953 struct ipv6_devconf *devconf_all ;
4954 struct ipv6_devconf *devconf_dflt ;
4955 struct netns_frags frags ;
4956 struct xt_table *ip6table_filter ;
4957 struct xt_table *ip6table_mangle ;
4958 struct xt_table *ip6table_raw ;
4959 struct xt_table *ip6table_security ;
4960 struct rt6_info *ip6_null_entry ;
4961 struct rt6_statistics *rt6_stats ;
4962 struct timer_list ip6_fib_timer ;
4963 struct hlist_head *fib_table_hash ;
4964 struct fib6_table *fib6_main_tbl ;
4965 struct dst_ops ip6_dst_ops ;
4966 unsigned int ip6_rt_gc_expire ;
4967 unsigned long ip6_rt_last_gc ;
4968 struct rt6_info *ip6_prohibit_entry ;
4969 struct rt6_info *ip6_blk_hole_entry ;
4970 struct fib6_table *fib6_local_tbl ;
4971 struct fib_rules_ops *fib6_rules_ops ;
4972 struct sock **icmp_sk ;
4973 struct sock *ndisc_sk ;
4974 struct sock *tcp_sk ;
4975 struct sock *igmp_sk ;
4976 struct list_head mr6_tables ;
4977 struct fib_rules_ops *mr6_rules_ops ;
4978};
4979#line 68 "include/net/netns/ipv6.h"
4980struct netns_dccp {
4981 struct sock *v4_ctl_sk ;
4982 struct sock *v6_ctl_sk ;
4983};
4984#line 46 "include/linux/proc_fs.h"
4985typedef int read_proc_t(char * , char ** , off_t , int , int * , void * );
4986#line 48 "include/linux/proc_fs.h"
4987typedef int write_proc_t(struct file * , char const * , unsigned long , void * );
4988#line 49 "include/linux/proc_fs.h"
4989struct proc_dir_entry {
4990 unsigned int low_ino ;
4991 unsigned int namelen ;
4992 char const *name ;
4993 mode_t mode ;
4994 nlink_t nlink ;
4995 uid_t uid ;
4996 gid_t gid ;
4997 loff_t size ;
4998 struct inode_operations const *proc_iops ;
4999 struct file_operations const *proc_fops ;
5000 struct proc_dir_entry *next ;
5001 struct proc_dir_entry *parent ;
5002 struct proc_dir_entry *subdir ;
5003 void *data ;
5004 read_proc_t *read_proc ;
5005 write_proc_t *write_proc ;
5006 atomic_t count ;
5007 int pde_users ;
5008 spinlock_t pde_unload_lock ;
5009 struct completion *pde_unload_completion ;
5010 struct list_head pde_openers ;
5011};
5012#line 376 "include/linux/netfilter.h"
5013struct ebt_table;
5014#line 376
5015struct ebt_table;
5016#line 376
5017struct ebt_table;
5018#line 376
5019struct ebt_table;
5020#line 377 "include/linux/netfilter.h"
5021struct netns_xt {
5022 struct list_head tables[13U] ;
5023 struct ebt_table *broute_table ;
5024 struct ebt_table *frame_filter ;
5025 struct ebt_table *frame_nat ;
5026};
5027#line 17 "include/net/netns/x_tables.h"
5028struct hlist_nulls_node;
5029#line 17
5030struct hlist_nulls_node;
5031#line 17
5032struct hlist_nulls_node;
5033#line 17 "include/net/netns/x_tables.h"
5034struct hlist_nulls_head {
5035 struct hlist_nulls_node *first ;
5036};
5037#line 20 "include/linux/list_nulls.h"
5038struct hlist_nulls_node {
5039 struct hlist_nulls_node *next ;
5040 struct hlist_nulls_node **pprev ;
5041};
5042#line 86
5043struct ip_conntrack_stat;
5044#line 86
5045struct ip_conntrack_stat;
5046#line 86
5047struct ip_conntrack_stat;
5048#line 86 "include/linux/list_nulls.h"
5049struct netns_ct {
5050 atomic_t count ;
5051 unsigned int expect_count ;
5052 unsigned int htable_size ;
5053 struct kmem_cache *nf_conntrack_cachep ;
5054 struct hlist_nulls_head *hash ;
5055 struct hlist_head *expect_hash ;
5056 struct hlist_nulls_head unconfirmed ;
5057 struct hlist_nulls_head dying ;
5058 struct ip_conntrack_stat *stat ;
5059 int sysctl_events ;
5060 unsigned int sysctl_events_retry_timeout ;
5061 int sysctl_acct ;
5062 int sysctl_tstamp ;
5063 int sysctl_checksum ;
5064 unsigned int sysctl_log_invalid ;
5065 struct ctl_table_header *sysctl_header ;
5066 struct ctl_table_header *acct_sysctl_header ;
5067 struct ctl_table_header *tstamp_sysctl_header ;
5068 struct ctl_table_header *event_sysctl_header ;
5069 char *slabname ;
5070};
5071#line 484 "include/linux/xfrm.h"
5072struct xfrm_policy_hash {
5073 struct hlist_head *table ;
5074 unsigned int hmask ;
5075};
5076#line 16 "include/net/netns/xfrm.h"
5077struct netns_xfrm {
5078 struct list_head state_all ;
5079 struct hlist_head *state_bydst ;
5080 struct hlist_head *state_bysrc ;
5081 struct hlist_head *state_byspi ;
5082 unsigned int state_hmask ;
5083 unsigned int state_num ;
5084 struct work_struct state_hash_work ;
5085 struct hlist_head state_gc_list ;
5086 struct work_struct state_gc_work ;
5087 wait_queue_head_t km_waitq ;
5088 struct list_head policy_all ;
5089 struct hlist_head *policy_byidx ;
5090 unsigned int policy_idx_hmask ;
5091 struct hlist_head policy_inexact[6U] ;
5092 struct xfrm_policy_hash policy_bydst[6U] ;
5093 unsigned int policy_count[6U] ;
5094 struct work_struct policy_hash_work ;
5095 struct sock *nlsk ;
5096 struct sock *nlsk_stash ;
5097 u32 sysctl_aevent_etime ;
5098 u32 sysctl_aevent_rseqth ;
5099 int sysctl_larval_drop ;
5100 u32 sysctl_acq_expires ;
5101 struct ctl_table_header *sysctl_hdr ;
5102 struct dst_ops xfrm4_dst_ops ;
5103 struct dst_ops xfrm6_dst_ops ;
5104};
5105#line 62
5106struct net_generic;
5107#line 62
5108struct net_generic;
5109#line 62
5110struct net_generic;
5111#line 62
5112struct net_generic;
5113#line 63
5114struct netns_ipvs;
5115#line 63
5116struct netns_ipvs;
5117#line 63
5118struct netns_ipvs;
5119#line 63
5120struct netns_ipvs;
5121#line 64 "include/net/netns/xfrm.h"
5122struct net {
5123 atomic_t passive ;
5124 atomic_t count ;
5125 spinlock_t rules_mod_lock ;
5126 struct list_head list ;
5127 struct list_head cleanup_list ;
5128 struct list_head exit_list ;
5129 struct proc_dir_entry *proc_net ;
5130 struct proc_dir_entry *proc_net_stat ;
5131 struct ctl_table_set sysctls ;
5132 struct sock *rtnl ;
5133 struct sock *genl_sock ;
5134 struct list_head dev_base_head ;
5135 struct hlist_head *dev_name_head ;
5136 struct hlist_head *dev_index_head ;
5137 struct list_head rules_ops ;
5138 struct net_device *loopback_dev ;
5139 struct netns_core core ;
5140 struct netns_mib mib ;
5141 struct netns_packet packet ;
5142 struct netns_unix unx ;
5143 struct netns_ipv4 ipv4 ;
5144 struct netns_ipv6 ipv6 ;
5145 struct netns_dccp dccp ;
5146 struct netns_xt xt ;
5147 struct netns_ct ct ;
5148 struct sock *nfnl ;
5149 struct sock *nfnl_stash ;
5150 struct sk_buff_head wext_nlevents ;
5151 struct net_generic *gen ;
5152 struct netns_xfrm xfrm ;
5153 struct netns_ipvs *ipvs ;
5154};
5155#line 104 "include/net/net_namespace.h"
5156struct seq_file {
5157 char *buf ;
5158 size_t size ;
5159 size_t from ;
5160 size_t count ;
5161 loff_t index ;
5162 loff_t read_pos ;
5163 u64 version ;
5164 struct mutex lock ;
5165 struct seq_operations const *op ;
5166 void *private ;
5167};
5168#line 28 "include/linux/seq_file.h"
5169struct seq_operations {
5170 void *(*start)(struct seq_file * , loff_t * ) ;
5171 void (*stop)(struct seq_file * , void * ) ;
5172 void *(*next)(struct seq_file * , void * , loff_t * ) ;
5173 int (*show)(struct seq_file * , void * ) ;
5174};
5175#line 224 "include/net/net_namespace.h"
5176struct pernet_operations {
5177 struct list_head list ;
5178 int (*init)(struct net * ) ;
5179 void (*exit)(struct net * ) ;
5180 void (*exit_batch)(struct list_head * ) ;
5181 int *id ;
5182 size_t size ;
5183};
5184#line 59 "include/net/dsa.h"
5185struct ieee_ets {
5186 __u8 willing ;
5187 __u8 ets_cap ;
5188 __u8 cbs ;
5189 __u8 tc_tx_bw[8U] ;
5190 __u8 tc_rx_bw[8U] ;
5191 __u8 tc_tsa[8U] ;
5192 __u8 prio_tc[8U] ;
5193 __u8 tc_reco_bw[8U] ;
5194 __u8 tc_reco_tsa[8U] ;
5195 __u8 reco_prio_tc[8U] ;
5196};
5197#line 69 "include/linux/dcbnl.h"
5198struct ieee_pfc {
5199 __u8 pfc_cap ;
5200 __u8 pfc_en ;
5201 __u8 mbc ;
5202 __u16 delay ;
5203 __u64 requests[8U] ;
5204 __u64 indications[8U] ;
5205};
5206#line 89 "include/linux/dcbnl.h"
5207struct cee_pg {
5208 __u8 willing ;
5209 __u8 error ;
5210 __u8 pg_en ;
5211 __u8 tcs_supported ;
5212 __u8 pg_bw[8U] ;
5213 __u8 prio_pg[8U] ;
5214};
5215#line 112 "include/linux/dcbnl.h"
5216struct cee_pfc {
5217 __u8 willing ;
5218 __u8 error ;
5219 __u8 pfc_en ;
5220 __u8 tcs_supported ;
5221};
5222#line 127 "include/linux/dcbnl.h"
5223struct dcb_app {
5224 __u8 selector ;
5225 __u8 priority ;
5226 __u16 protocol ;
5227};
5228#line 156 "include/linux/dcbnl.h"
5229struct dcb_peer_app_info {
5230 __u8 willing ;
5231 __u8 error ;
5232};
5233#line 33 "include/net/dcbnl.h"
5234struct dcbnl_rtnl_ops {
5235 int (*ieee_getets)(struct net_device * , struct ieee_ets * ) ;
5236 int (*ieee_setets)(struct net_device * , struct ieee_ets * ) ;
5237 int (*ieee_getpfc)(struct net_device * , struct ieee_pfc * ) ;
5238 int (*ieee_setpfc)(struct net_device * , struct ieee_pfc * ) ;
5239 int (*ieee_getapp)(struct net_device * , struct dcb_app * ) ;
5240 int (*ieee_setapp)(struct net_device * , struct dcb_app * ) ;
5241 int (*ieee_peer_getets)(struct net_device * , struct ieee_ets * ) ;
5242 int (*ieee_peer_getpfc)(struct net_device * , struct ieee_pfc * ) ;
5243 u8 (*getstate)(struct net_device * ) ;
5244 u8 (*setstate)(struct net_device * , u8 ) ;
5245 void (*getpermhwaddr)(struct net_device * , u8 * ) ;
5246 void (*setpgtccfgtx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
5247 void (*setpgbwgcfgtx)(struct net_device * , int , u8 ) ;
5248 void (*setpgtccfgrx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
5249 void (*setpgbwgcfgrx)(struct net_device * , int , u8 ) ;
5250 void (*getpgtccfgtx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
5251 void (*getpgbwgcfgtx)(struct net_device * , int , u8 * ) ;
5252 void (*getpgtccfgrx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
5253 void (*getpgbwgcfgrx)(struct net_device * , int , u8 * ) ;
5254 void (*setpfccfg)(struct net_device * , int , u8 ) ;
5255 void (*getpfccfg)(struct net_device * , int , u8 * ) ;
5256 u8 (*setall)(struct net_device * ) ;
5257 u8 (*getcap)(struct net_device * , int , u8 * ) ;
5258 u8 (*getnumtcs)(struct net_device * , int , u8 * ) ;
5259 u8 (*setnumtcs)(struct net_device * , int , u8 ) ;
5260 u8 (*getpfcstate)(struct net_device * ) ;
5261 void (*setpfcstate)(struct net_device * , u8 ) ;
5262 void (*getbcncfg)(struct net_device * , int , u32 * ) ;
5263 void (*setbcncfg)(struct net_device * , int , u32 ) ;
5264 void (*getbcnrp)(struct net_device * , int , u8 * ) ;
5265 void (*setbcnrp)(struct net_device * , int , u8 ) ;
5266 u8 (*setapp)(struct net_device * , u8 , u16 , u8 ) ;
5267 u8 (*getapp)(struct net_device * , u8 , u16 ) ;
5268 u8 (*getfeatcfg)(struct net_device * , int , u8 * ) ;
5269 u8 (*setfeatcfg)(struct net_device * , int , u8 ) ;
5270 u8 (*getdcbx)(struct net_device * ) ;
5271 u8 (*setdcbx)(struct net_device * , u8 ) ;
5272 int (*peer_getappinfo)(struct net_device * , struct dcb_peer_app_info * , u16 * ) ;
5273 int (*peer_getapptable)(struct net_device * , struct dcb_app * ) ;
5274 int (*cee_peer_getpg)(struct net_device * , struct cee_pg * ) ;
5275 int (*cee_peer_getpfc)(struct net_device * , struct cee_pfc * ) ;
5276};
5277#line 91
5278struct vlan_group;
5279#line 91
5280struct vlan_group;
5281#line 91
5282struct vlan_group;
5283#line 91
5284struct vlan_group;
5285#line 92
5286struct netpoll_info;
5287#line 92
5288struct netpoll_info;
5289#line 92
5290struct netpoll_info;
5291#line 92
5292struct netpoll_info;
5293#line 93
5294struct phy_device;
5295#line 93
5296struct phy_device;
5297#line 93
5298struct phy_device;
5299#line 93
5300struct phy_device;
5301#line 94
5302struct wireless_dev;
5303#line 94
5304struct wireless_dev;
5305#line 94
5306struct wireless_dev;
5307#line 94
5308struct wireless_dev;
5309#line 95
5310enum netdev_tx {
5311 __NETDEV_TX_MIN = (-0x7FFFFFFF-1),
5312 NETDEV_TX_OK = 0,
5313 NETDEV_TX_BUSY = 16,
5314 NETDEV_TX_LOCKED = 32
5315} ;
5316#line 117 "include/linux/netdevice.h"
5317typedef enum netdev_tx netdev_tx_t;
5318#line 136 "include/linux/netdevice.h"
5319struct net_device_stats {
5320 unsigned long rx_packets ;
5321 unsigned long tx_packets ;
5322 unsigned long rx_bytes ;
5323 unsigned long tx_bytes ;
5324 unsigned long rx_errors ;
5325 unsigned long tx_errors ;
5326 unsigned long rx_dropped ;
5327 unsigned long tx_dropped ;
5328 unsigned long multicast ;
5329 unsigned long collisions ;
5330 unsigned long rx_length_errors ;
5331 unsigned long rx_over_errors ;
5332 unsigned long rx_crc_errors ;
5333 unsigned long rx_frame_errors ;
5334 unsigned long rx_fifo_errors ;
5335 unsigned long rx_missed_errors ;
5336 unsigned long tx_aborted_errors ;
5337 unsigned long tx_carrier_errors ;
5338 unsigned long tx_fifo_errors ;
5339 unsigned long tx_heartbeat_errors ;
5340 unsigned long tx_window_errors ;
5341 unsigned long rx_compressed ;
5342 unsigned long tx_compressed ;
5343};
5344#line 211
5345struct neighbour;
5346#line 211
5347struct neighbour;
5348#line 211
5349struct neighbour;
5350#line 211
5351struct neighbour;
5352#line 212
5353struct neigh_parms;
5354#line 212
5355struct neigh_parms;
5356#line 212
5357struct neigh_parms;
5358#line 212
5359struct neigh_parms;
5360#line 239 "include/linux/netdevice.h"
5361struct netdev_hw_addr_list {
5362 struct list_head list ;
5363 int count ;
5364};
5365#line 244 "include/linux/netdevice.h"
5366struct hh_cache {
5367 struct hh_cache *hh_next ;
5368 atomic_t hh_refcnt ;
5369 __be16 hh_type ;
5370 u16 hh_len ;
5371 int (*hh_output)(struct sk_buff * ) ;
5372 seqlock_t hh_lock ;
5373 unsigned long hh_data[16U] ;
5374};
5375#line 292 "include/linux/netdevice.h"
5376struct header_ops {
5377 int (*create)(struct sk_buff * , struct net_device * , unsigned short , void const * ,
5378 void const * , unsigned int ) ;
5379 int (*parse)(struct sk_buff const * , unsigned char * ) ;
5380 int (*rebuild)(struct sk_buff * ) ;
5381 int (*cache)(struct neighbour const * , struct hh_cache * ) ;
5382 void (*cache_update)(struct hh_cache * , struct net_device const * , unsigned char const * ) ;
5383};
5384#line 392
5385enum rx_handler_result {
5386 RX_HANDLER_CONSUMED = 0,
5387 RX_HANDLER_ANOTHER = 1,
5388 RX_HANDLER_EXACT = 2,
5389 RX_HANDLER_PASS = 3
5390} ;
5391#line 440 "include/linux/netdevice.h"
5392typedef enum rx_handler_result rx_handler_result_t;
5393#line 441 "include/linux/netdevice.h"
5394typedef rx_handler_result_t rx_handler_func_t(struct sk_buff ** );
5395#line 548
5396struct Qdisc;
5397#line 548
5398struct Qdisc;
5399#line 548
5400struct Qdisc;
5401#line 548 "include/linux/netdevice.h"
5402struct netdev_queue {
5403 struct net_device *dev ;
5404 struct Qdisc *qdisc ;
5405 unsigned long state ;
5406 struct Qdisc *qdisc_sleeping ;
5407 struct kobject kobj ;
5408 int numa_node ;
5409 spinlock_t _xmit_lock ;
5410 int xmit_lock_owner ;
5411 unsigned long trans_start ;
5412};
5413#line 590 "include/linux/netdevice.h"
5414struct rps_map {
5415 unsigned int len ;
5416 struct rcu_head rcu ;
5417 u16 cpus[0U] ;
5418};
5419#line 602 "include/linux/netdevice.h"
5420struct rps_dev_flow {
5421 u16 cpu ;
5422 u16 filter ;
5423 unsigned int last_qtail ;
5424};
5425#line 614 "include/linux/netdevice.h"
5426struct rps_dev_flow_table {
5427 unsigned int mask ;
5428 struct rcu_head rcu ;
5429 struct work_struct free_work ;
5430 struct rps_dev_flow flows[0U] ;
5431};
5432#line 666 "include/linux/netdevice.h"
5433struct netdev_rx_queue {
5434 struct rps_map *rps_map ;
5435 struct rps_dev_flow_table *rps_flow_table ;
5436 struct kobject kobj ;
5437 struct net_device *dev ;
5438};
5439#line 676 "include/linux/netdevice.h"
5440struct xps_map {
5441 unsigned int len ;
5442 unsigned int alloc_len ;
5443 struct rcu_head rcu ;
5444 u16 queues[0U] ;
5445};
5446#line 689 "include/linux/netdevice.h"
5447struct xps_dev_maps {
5448 struct rcu_head rcu ;
5449 struct xps_map *cpu_map[0U] ;
5450};
5451#line 700 "include/linux/netdevice.h"
5452struct netdev_tc_txq {
5453 u16 count ;
5454 u16 offset ;
5455};
5456#line 711 "include/linux/netdevice.h"
5457struct net_device_ops {
5458 int (*ndo_init)(struct net_device * ) ;
5459 void (*ndo_uninit)(struct net_device * ) ;
5460 int (*ndo_open)(struct net_device * ) ;
5461 int (*ndo_stop)(struct net_device * ) ;
5462 netdev_tx_t (*ndo_start_xmit)(struct sk_buff * , struct net_device * ) ;
5463 u16 (*ndo_select_queue)(struct net_device * , struct sk_buff * ) ;
5464 void (*ndo_change_rx_flags)(struct net_device * , int ) ;
5465 void (*ndo_set_rx_mode)(struct net_device * ) ;
5466 void (*ndo_set_multicast_list)(struct net_device * ) ;
5467 int (*ndo_set_mac_address)(struct net_device * , void * ) ;
5468 int (*ndo_validate_addr)(struct net_device * ) ;
5469 int (*ndo_do_ioctl)(struct net_device * , struct ifreq * , int ) ;
5470 int (*ndo_set_config)(struct net_device * , struct ifmap * ) ;
5471 int (*ndo_change_mtu)(struct net_device * , int ) ;
5472 int (*ndo_neigh_setup)(struct net_device * , struct neigh_parms * ) ;
5473 void (*ndo_tx_timeout)(struct net_device * ) ;
5474 struct rtnl_link_stats64 *(*ndo_get_stats64)(struct net_device * , struct rtnl_link_stats64 * ) ;
5475 struct net_device_stats *(*ndo_get_stats)(struct net_device * ) ;
5476 void (*ndo_vlan_rx_register)(struct net_device * , struct vlan_group * ) ;
5477 void (*ndo_vlan_rx_add_vid)(struct net_device * , unsigned short ) ;
5478 void (*ndo_vlan_rx_kill_vid)(struct net_device * , unsigned short ) ;
5479 void (*ndo_poll_controller)(struct net_device * ) ;
5480 int (*ndo_netpoll_setup)(struct net_device * , struct netpoll_info * ) ;
5481 void (*ndo_netpoll_cleanup)(struct net_device * ) ;
5482 int (*ndo_set_vf_mac)(struct net_device * , int , u8 * ) ;
5483 int (*ndo_set_vf_vlan)(struct net_device * , int , u16 , u8 ) ;
5484 int (*ndo_set_vf_tx_rate)(struct net_device * , int , int ) ;
5485 int (*ndo_get_vf_config)(struct net_device * , int , struct ifla_vf_info * ) ;
5486 int (*ndo_set_vf_port)(struct net_device * , int , struct nlattr ** ) ;
5487 int (*ndo_get_vf_port)(struct net_device * , int , struct sk_buff * ) ;
5488 int (*ndo_setup_tc)(struct net_device * , u8 ) ;
5489 int (*ndo_fcoe_enable)(struct net_device * ) ;
5490 int (*ndo_fcoe_disable)(struct net_device * ) ;
5491 int (*ndo_fcoe_ddp_setup)(struct net_device * , u16 , struct scatterlist * , unsigned int ) ;
5492 int (*ndo_fcoe_ddp_done)(struct net_device * , u16 ) ;
5493 int (*ndo_fcoe_ddp_target)(struct net_device * , u16 , struct scatterlist * ,
5494 unsigned int ) ;
5495 int (*ndo_fcoe_get_wwn)(struct net_device * , u64 * , int ) ;
5496 int (*ndo_rx_flow_steer)(struct net_device * , struct sk_buff const * , u16 ,
5497 u32 ) ;
5498 int (*ndo_add_slave)(struct net_device * , struct net_device * ) ;
5499 int (*ndo_del_slave)(struct net_device * , struct net_device * ) ;
5500 u32 (*ndo_fix_features)(struct net_device * , u32 ) ;
5501 int (*ndo_set_features)(struct net_device * , u32 ) ;
5502};
5503#line 995
5504struct iw_handler_def;
5505#line 995
5506struct iw_handler_def;
5507#line 995
5508struct iw_handler_def;
5509#line 995
5510struct iw_public_data;
5511#line 995
5512struct iw_public_data;
5513#line 995
5514struct iw_public_data;
5515#line 995
5516struct in_device;
5517#line 995
5518struct in_device;
5519#line 995
5520struct in_device;
5521#line 995
5522struct dn_dev;
5523#line 995
5524struct dn_dev;
5525#line 995
5526struct dn_dev;
5527#line 995
5528struct inet6_dev;
5529#line 995
5530struct inet6_dev;
5531#line 995
5532struct inet6_dev;
5533#line 995
5534struct cpu_rmap;
5535#line 995
5536struct cpu_rmap;
5537#line 995
5538struct cpu_rmap;
5539#line 995
5540struct pcpu_lstats;
5541#line 995
5542struct pcpu_lstats;
5543#line 995
5544struct pcpu_lstats;
5545#line 995
5546struct pcpu_tstats;
5547#line 995
5548struct pcpu_tstats;
5549#line 995
5550struct pcpu_tstats;
5551#line 995
5552struct pcpu_dstats;
5553#line 995
5554struct pcpu_dstats;
5555#line 995
5556struct pcpu_dstats;
5557#line 995 "include/linux/netdevice.h"
5558union __anonunion_ldv_31005_191 {
5559 void *ml_priv ;
5560 struct pcpu_lstats *lstats ;
5561 struct pcpu_tstats *tstats ;
5562 struct pcpu_dstats *dstats ;
5563};
5564#line 995
5565struct garp_port;
5566#line 995
5567struct garp_port;
5568#line 995
5569struct garp_port;
5570#line 995
5571struct rtnl_link_ops;
5572#line 995
5573struct rtnl_link_ops;
5574#line 995
5575struct rtnl_link_ops;
5576#line 995 "include/linux/netdevice.h"
5577struct net_device {
5578 char name[16U] ;
5579 struct pm_qos_request_list pm_qos_req ;
5580 struct hlist_node name_hlist ;
5581 char *ifalias ;
5582 unsigned long mem_end ;
5583 unsigned long mem_start ;
5584 unsigned long base_addr ;
5585 unsigned int irq ;
5586 unsigned long state ;
5587 struct list_head dev_list ;
5588 struct list_head napi_list ;
5589 struct list_head unreg_list ;
5590 u32 features ;
5591 u32 hw_features ;
5592 u32 wanted_features ;
5593 u32 vlan_features ;
5594 int ifindex ;
5595 int iflink ;
5596 struct net_device_stats stats ;
5597 atomic_long_t rx_dropped ;
5598 struct iw_handler_def const *wireless_handlers ;
5599 struct iw_public_data *wireless_data ;
5600 struct net_device_ops const *netdev_ops ;
5601 struct ethtool_ops const *ethtool_ops ;
5602 struct header_ops const *header_ops ;
5603 unsigned int flags ;
5604 unsigned int priv_flags ;
5605 unsigned short gflags ;
5606 unsigned short padded ;
5607 unsigned char operstate ;
5608 unsigned char link_mode ;
5609 unsigned char if_port ;
5610 unsigned char dma ;
5611 unsigned int mtu ;
5612 unsigned short type ;
5613 unsigned short hard_header_len ;
5614 unsigned short needed_headroom ;
5615 unsigned short needed_tailroom ;
5616 unsigned char perm_addr[32U] ;
5617 unsigned char addr_assign_type ;
5618 unsigned char addr_len ;
5619 unsigned short dev_id ;
5620 spinlock_t addr_list_lock ;
5621 struct netdev_hw_addr_list uc ;
5622 struct netdev_hw_addr_list mc ;
5623 int uc_promisc ;
5624 unsigned int promiscuity ;
5625 unsigned int allmulti ;
5626 struct vlan_group *vlgrp ;
5627 void *dsa_ptr ;
5628 void *atalk_ptr ;
5629 struct in_device *ip_ptr ;
5630 struct dn_dev *dn_ptr ;
5631 struct inet6_dev *ip6_ptr ;
5632 void *ec_ptr ;
5633 void *ax25_ptr ;
5634 struct wireless_dev *ieee80211_ptr ;
5635 unsigned long last_rx ;
5636 struct net_device *master ;
5637 unsigned char *dev_addr ;
5638 struct netdev_hw_addr_list dev_addrs ;
5639 unsigned char broadcast[32U] ;
5640 struct kset *queues_kset ;
5641 struct netdev_rx_queue *_rx ;
5642 unsigned int num_rx_queues ;
5643 unsigned int real_num_rx_queues ;
5644 struct cpu_rmap *rx_cpu_rmap ;
5645 rx_handler_func_t *rx_handler ;
5646 void *rx_handler_data ;
5647 struct netdev_queue *ingress_queue ;
5648 struct netdev_queue *_tx ;
5649 unsigned int num_tx_queues ;
5650 unsigned int real_num_tx_queues ;
5651 struct Qdisc *qdisc ;
5652 unsigned long tx_queue_len ;
5653 spinlock_t tx_global_lock ;
5654 struct xps_dev_maps *xps_maps ;
5655 unsigned long trans_start ;
5656 int watchdog_timeo ;
5657 struct timer_list watchdog_timer ;
5658 int *pcpu_refcnt ;
5659 struct list_head todo_list ;
5660 struct hlist_node index_hlist ;
5661 struct list_head link_watch_list ;
5662 unsigned char reg_state ;
5663 bool dismantle ;
5664 unsigned short rtnl_link_state ;
5665 void (*destructor)(struct net_device * ) ;
5666 struct netpoll_info *npinfo ;
5667 struct net *nd_net ;
5668 union __anonunion_ldv_31005_191 ldv_31005 ;
5669 struct garp_port *garp_port ;
5670 struct device dev ;
5671 struct attribute_group const *sysfs_groups[4U] ;
5672 struct rtnl_link_ops const *rtnl_link_ops ;
5673 unsigned int gso_max_size ;
5674 struct dcbnl_rtnl_ops const *dcbnl_ops ;
5675 u8 num_tc ;
5676 struct netdev_tc_txq tc_to_txq[16U] ;
5677 u8 prio_tc_map[16U] ;
5678 unsigned int fcoe_ddp_xid ;
5679 struct ethtool_rx_ntuple_list ethtool_ntuple_list ;
5680 struct phy_device *phydev ;
5681 int group ;
5682};
5683#line 1559
5684enum irqreturn {
5685 IRQ_NONE = 0,
5686 IRQ_HANDLED = 1,
5687 IRQ_WAKE_THREAD = 2
5688} ;
5689#line 16 "include/linux/irqreturn.h"
5690typedef enum irqreturn irqreturn_t;
5691#line 91 "include/linux/interrupt.h"
5692struct irqaction {
5693 irqreturn_t (*handler)(int , void * ) ;
5694 unsigned long flags ;
5695 void *dev_id ;
5696 struct irqaction *next ;
5697 int irq ;
5698 irqreturn_t (*thread_fn)(int , void * ) ;
5699 struct task_struct *thread ;
5700 unsigned long thread_flags ;
5701 unsigned long thread_mask ;
5702 char const *name ;
5703 struct proc_dir_entry *dir ;
5704};
5705#line 2651 "include/linux/netdevice.h"
5706struct pollfd {
5707 int fd ;
5708 short events ;
5709 short revents ;
5710};
5711#line 34 "include/linux/poll.h"
5712struct poll_table_struct {
5713 void (*qproc)(struct file * , wait_queue_head_t * , struct poll_table_struct * ) ;
5714 unsigned long key ;
5715};
5716#line 38 "include/linux/poll.h"
5717typedef struct poll_table_struct poll_table;
5718#line 109 "include/linux/ppp_defs.h"
5719enum NPmode {
5720 NPMODE_PASS = 0,
5721 NPMODE_DROP = 1,
5722 NPMODE_ERROR = 2,
5723 NPMODE_QUEUE = 3
5724} ;
5725#line 116 "include/linux/ppp_defs.h"
5726struct pppstat {
5727 __u32 ppp_discards ;
5728 __u32 ppp_ibytes ;
5729 __u32 ppp_ioctects ;
5730 __u32 ppp_ipackets ;
5731 __u32 ppp_ierrors ;
5732 __u32 ppp_ilqrs ;
5733 __u32 ppp_obytes ;
5734 __u32 ppp_ooctects ;
5735 __u32 ppp_opackets ;
5736 __u32 ppp_oerrors ;
5737 __u32 ppp_olqrs ;
5738};
5739#line 138 "include/linux/ppp_defs.h"
5740struct vjstat {
5741 __u32 vjs_packets ;
5742 __u32 vjs_compressed ;
5743 __u32 vjs_searches ;
5744 __u32 vjs_misses ;
5745 __u32 vjs_uncompressedin ;
5746 __u32 vjs_compressedin ;
5747 __u32 vjs_errorin ;
5748 __u32 vjs_tossed ;
5749};
5750#line 149 "include/linux/ppp_defs.h"
5751struct compstat {
5752 __u32 unc_bytes ;
5753 __u32 unc_packets ;
5754 __u32 comp_bytes ;
5755 __u32 comp_packets ;
5756 __u32 inc_bytes ;
5757 __u32 inc_packets ;
5758 __u32 in_count ;
5759 __u32 bytes_out ;
5760 double ratio ;
5761};
5762#line 164 "include/linux/ppp_defs.h"
5763struct ppp_stats {
5764 struct pppstat p ;
5765 struct vjstat vj ;
5766};
5767#line 169 "include/linux/ppp_defs.h"
5768struct ppp_comp_stats {
5769 struct compstat c ;
5770 struct compstat d ;
5771};
5772#line 174 "include/linux/ppp_defs.h"
5773struct ppp_idle {
5774 __kernel_time_t xmit_idle ;
5775 __kernel_time_t recv_idle ;
5776};
5777#line 183 "include/linux/ppp_defs.h"
5778struct sock_filter {
5779 __u16 code ;
5780 __u8 jt ;
5781 __u8 jf ;
5782 __u32 k ;
5783};
5784#line 32 "include/linux/filter.h"
5785struct sock_fprog {
5786 unsigned short len ;
5787 struct sock_filter *filter ;
5788};
5789#line 37 "include/linux/filter.h"
5790struct sk_filter {
5791 atomic_t refcnt ;
5792 unsigned int len ;
5793 unsigned int (*bpf_func)(struct sk_buff const * , struct sock_filter const * ) ;
5794 struct rcu_head rcu ;
5795 struct sock_filter insns[0U] ;
5796};
5797#line 221 "include/linux/filter.h"
5798struct npioctl {
5799 int protocol ;
5800 enum NPmode mode ;
5801};
5802#line 94 "include/linux/if_ppp.h"
5803struct ppp_option_data {
5804 __u8 *ptr ;
5805 __u32 length ;
5806 int transmit ;
5807};
5808#line 126
5809struct ppp_channel;
5810#line 126
5811struct ppp_channel;
5812#line 126
5813struct ppp_channel;
5814#line 126
5815struct ppp_channel;
5816#line 127 "include/linux/if_ppp.h"
5817struct ppp_channel_ops {
5818 int (*start_xmit)(struct ppp_channel * , struct sk_buff * ) ;
5819 int (*ioctl)(struct ppp_channel * , unsigned int , unsigned long ) ;
5820};
5821#line 36 "include/linux/ppp_channel.h"
5822struct ppp_channel {
5823 void *private ;
5824 struct ppp_channel_ops const *ops ;
5825 int mtu ;
5826 int hdrlen ;
5827 void *ppp ;
5828 int speed ;
5829 int latency ;
5830};
5831#line 77 "include/linux/ppp_channel.h"
5832struct compressor {
5833 int compress_proto ;
5834 void *(*comp_alloc)(unsigned char * , int ) ;
5835 void (*comp_free)(void * ) ;
5836 int (*comp_init)(void * , unsigned char * , int , int , int , int ) ;
5837 void (*comp_reset)(void * ) ;
5838 int (*compress)(void * , unsigned char * , unsigned char * , int , int ) ;
5839 void (*comp_stat)(void * , struct compstat * ) ;
5840 void *(*decomp_alloc)(unsigned char * , int ) ;
5841 void (*decomp_free)(void * ) ;
5842 int (*decomp_init)(void * , unsigned char * , int , int , int , int , int ) ;
5843 void (*decomp_reset)(void * ) ;
5844 int (*decompress)(void * , unsigned char * , int , unsigned char * , int ) ;
5845 void (*incomp)(void * , unsigned char * , int ) ;
5846 void (*decomp_stat)(void * , struct compstat * ) ;
5847 struct module *owner ;
5848 unsigned int comp_extra ;
5849};
5850#line 169 "include/linux/if_arp.h"
5851struct iphdr {
5852 unsigned char ihl : 4 ;
5853 unsigned char version : 4 ;
5854 __u8 tos ;
5855 __be16 tot_len ;
5856 __be16 id ;
5857 __be16 frag_off ;
5858 __u8 ttl ;
5859 __u8 protocol ;
5860 __sum16 check ;
5861 __be32 saddr ;
5862 __be32 daddr ;
5863};
5864#line 148 "include/linux/ip.h"
5865struct tcphdr {
5866 __be16 source ;
5867 __be16 dest ;
5868 __be32 seq ;
5869 __be32 ack_seq ;
5870 unsigned char res1 : 4 ;
5871 unsigned char doff : 4 ;
5872 unsigned char fin : 1 ;
5873 unsigned char syn : 1 ;
5874 unsigned char rst : 1 ;
5875 unsigned char psh : 1 ;
5876 unsigned char ack : 1 ;
5877 unsigned char urg : 1 ;
5878 unsigned char ece : 1 ;
5879 unsigned char cwr : 1 ;
5880 __be16 window ;
5881 __sum16 check ;
5882 __be16 urg_ptr ;
5883};
5884#line 327 "include/linux/fsnotify.h"
5885struct linux_binprm {
5886 char buf[128U] ;
5887 struct vm_area_struct *vma ;
5888 unsigned long vma_pages ;
5889 struct mm_struct *mm ;
5890 unsigned long p ;
5891 unsigned char cred_prepared : 1 ;
5892 unsigned char cap_effective : 1 ;
5893 unsigned int recursion_depth ;
5894 struct file *file ;
5895 struct cred *cred ;
5896 int unsafe ;
5897 unsigned int per_clear ;
5898 int argc ;
5899 int envc ;
5900 char const *filename ;
5901 char const *interp ;
5902 unsigned int interp_flags ;
5903 unsigned int interp_data ;
5904 unsigned long loader ;
5905 unsigned long exec ;
5906};
5907#line 62 "include/linux/binfmts.h"
5908struct coredump_params {
5909 long signr ;
5910 struct pt_regs *regs ;
5911 struct file *file ;
5912 unsigned long limit ;
5913 unsigned long mm_flags ;
5914};
5915#line 80 "include/linux/binfmts.h"
5916struct linux_binfmt {
5917 struct list_head lh ;
5918 struct module *module ;
5919 int (*load_binary)(struct linux_binprm * , struct pt_regs * ) ;
5920 int (*load_shlib)(struct file * ) ;
5921 int (*core_dump)(struct coredump_params * ) ;
5922 unsigned long min_coredump ;
5923};
5924#line 83 "include/linux/security.h"
5925struct xfrm_policy;
5926#line 83
5927struct xfrm_policy;
5928#line 83
5929struct xfrm_policy;
5930#line 83
5931struct xfrm_policy;
5932#line 84
5933struct xfrm_state;
5934#line 84
5935struct xfrm_state;
5936#line 84
5937struct xfrm_state;
5938#line 84
5939struct xfrm_state;
5940#line 105
5941struct request_sock;
5942#line 105
5943struct request_sock;
5944#line 105
5945struct request_sock;
5946#line 105
5947struct request_sock;
5948#line 68 "include/linux/atomic.h"
5949struct nla_policy {
5950 u16 type ;
5951 u16 len ;
5952};
5953#line 24 "include/net/rtnetlink.h"
5954struct rtnl_link_ops {
5955 struct list_head list ;
5956 char const *kind ;
5957 size_t priv_size ;
5958 void (*setup)(struct net_device * ) ;
5959 int maxtype ;
5960 struct nla_policy const *policy ;
5961 int (*validate)(struct nlattr ** , struct nlattr ** ) ;
5962 int (*newlink)(struct net * , struct net_device * , struct nlattr ** , struct nlattr ** ) ;
5963 int (*changelink)(struct net_device * , struct nlattr ** , struct nlattr ** ) ;
5964 void (*dellink)(struct net_device * , struct list_head * ) ;
5965 size_t (*get_size)(struct net_device const * ) ;
5966 int (*fill_info)(struct sk_buff * , struct net_device const * ) ;
5967 size_t (*get_xstats_size)(struct net_device const * ) ;
5968 int (*fill_xstats)(struct sk_buff * , struct net_device const * ) ;
5969 int (*get_tx_queues)(struct net * , struct nlattr ** , unsigned int * , unsigned int * ) ;
5970};
5971#line 127
5972struct neigh_table;
5973#line 127
5974struct neigh_table;
5975#line 127
5976struct neigh_table;
5977#line 127 "include/net/rtnetlink.h"
5978struct neigh_parms {
5979 struct net *net ;
5980 struct net_device *dev ;
5981 struct neigh_parms *next ;
5982 int (*neigh_setup)(struct neighbour * ) ;
5983 void (*neigh_cleanup)(struct neighbour * ) ;
5984 struct neigh_table *tbl ;
5985 void *sysctl_table ;
5986 int dead ;
5987 atomic_t refcnt ;
5988 struct rcu_head rcu_head ;
5989 int base_reachable_time ;
5990 int retrans_time ;
5991 int gc_staletime ;
5992 int reachable_time ;
5993 int delay_probe_time ;
5994 int queue_len ;
5995 int ucast_probes ;
5996 int app_probes ;
5997 int mcast_probes ;
5998 int anycast_delay ;
5999 int proxy_delay ;
6000 int proxy_qlen ;
6001 int locktime ;
6002};
6003#line 71 "include/net/neighbour.h"
6004struct neigh_statistics {
6005 unsigned long allocs ;
6006 unsigned long destroys ;
6007 unsigned long hash_grows ;
6008 unsigned long res_failed ;
6009 unsigned long lookups ;
6010 unsigned long hits ;
6011 unsigned long rcv_probes_mcast ;
6012 unsigned long rcv_probes_ucast ;
6013 unsigned long periodic_gc_runs ;
6014 unsigned long forced_gc_runs ;
6015 unsigned long unres_discards ;
6016};
6017#line 90
6018struct neigh_ops;
6019#line 90
6020struct neigh_ops;
6021#line 90
6022struct neigh_ops;
6023#line 90 "include/net/neighbour.h"
6024struct neighbour {
6025 struct neighbour *next ;
6026 struct neigh_table *tbl ;
6027 struct neigh_parms *parms ;
6028 unsigned long confirmed ;
6029 unsigned long updated ;
6030 rwlock_t lock ;
6031 atomic_t refcnt ;
6032 struct sk_buff_head arp_queue ;
6033 struct timer_list timer ;
6034 unsigned long used ;
6035 atomic_t probes ;
6036 __u8 flags ;
6037 __u8 nud_state ;
6038 __u8 type ;
6039 __u8 dead ;
6040 seqlock_t ha_lock ;
6041 unsigned char ha[32U] ;
6042 struct hh_cache *hh ;
6043 int (*output)(struct sk_buff * ) ;
6044 struct neigh_ops const *ops ;
6045 struct rcu_head rcu ;
6046 struct net_device *dev ;
6047 u8 primary_key[0U] ;
6048};
6049#line 118 "include/net/neighbour.h"
6050struct neigh_ops {
6051 int family ;
6052 void (*solicit)(struct neighbour * , struct sk_buff * ) ;
6053 void (*error_report)(struct neighbour * , struct sk_buff * ) ;
6054 int (*output)(struct sk_buff * ) ;
6055 int (*connected_output)(struct sk_buff * ) ;
6056 int (*hh_output)(struct sk_buff * ) ;
6057 int (*queue_xmit)(struct sk_buff * ) ;
6058};
6059#line 128 "include/net/neighbour.h"
6060struct pneigh_entry {
6061 struct pneigh_entry *next ;
6062 struct net *net ;
6063 struct net_device *dev ;
6064 u8 flags ;
6065 u8 key[0U] ;
6066};
6067#line 138 "include/net/neighbour.h"
6068struct neigh_hash_table {
6069 struct neighbour **hash_buckets ;
6070 unsigned int hash_mask ;
6071 __u32 hash_rnd ;
6072 struct rcu_head rcu ;
6073};
6074#line 149 "include/net/neighbour.h"
6075struct neigh_table {
6076 struct neigh_table *next ;
6077 int family ;
6078 int entry_size ;
6079 int key_len ;
6080 __u32 (*hash)(void const * , struct net_device const * , __u32 ) ;
6081 int (*constructor)(struct neighbour * ) ;
6082 int (*pconstructor)(struct pneigh_entry * ) ;
6083 void (*pdestructor)(struct pneigh_entry * ) ;
6084 void (*proxy_redo)(struct sk_buff * ) ;
6085 char *id ;
6086 struct neigh_parms parms ;
6087 int gc_interval ;
6088 int gc_thresh1 ;
6089 int gc_thresh2 ;
6090 int gc_thresh3 ;
6091 unsigned long last_flush ;
6092 struct delayed_work gc_work ;
6093 struct timer_list proxy_timer ;
6094 struct sk_buff_head proxy_queue ;
6095 atomic_t entries ;
6096 rwlock_t lock ;
6097 unsigned long last_rand ;
6098 struct kmem_cache *kmem_cachep ;
6099 struct neigh_statistics *stats ;
6100 struct neigh_hash_table *nht ;
6101 struct pneigh_entry **phash_buckets ;
6102};
6103#line 394
6104struct dn_route;
6105#line 394
6106struct dn_route;
6107#line 394
6108struct dn_route;
6109#line 394 "include/net/neighbour.h"
6110union __anonunion_ldv_37274_200 {
6111 struct dst_entry *next ;
6112 struct rtable *rt_next ;
6113 struct rt6_info *rt6_next ;
6114 struct dn_route *dn_next ;
6115};
6116#line 394 "include/net/neighbour.h"
6117struct dst_entry {
6118 struct rcu_head rcu_head ;
6119 struct dst_entry *child ;
6120 struct net_device *dev ;
6121 struct dst_ops *ops ;
6122 unsigned long _metrics ;
6123 unsigned long expires ;
6124 struct dst_entry *path ;
6125 struct neighbour *neighbour ;
6126 struct hh_cache *hh ;
6127 struct xfrm_state *xfrm ;
6128 int (*input)(struct sk_buff * ) ;
6129 int (*output)(struct sk_buff * ) ;
6130 short error ;
6131 short obsolete ;
6132 unsigned short header_len ;
6133 unsigned short trailer_len ;
6134 __u32 tclassid ;
6135 long __pad_to_align_refcnt[1U] ;
6136 atomic_t __refcnt ;
6137 int __use ;
6138 unsigned long lastuse ;
6139 int flags ;
6140 union __anonunion_ldv_37274_200 ldv_37274 ;
6141};
6142#line 101 "include/net/sock.h"
6143struct __anonstruct_socket_lock_t_201 {
6144 spinlock_t slock ;
6145 int owned ;
6146 wait_queue_head_t wq ;
6147 struct lockdep_map dep_map ;
6148};
6149#line 101 "include/net/sock.h"
6150typedef struct __anonstruct_socket_lock_t_201 socket_lock_t;
6151#line 101
6152struct proto;
6153#line 101
6154struct proto;
6155#line 101
6156struct proto;
6157#line 101
6158struct proto;
6159#line 102 "include/net/sock.h"
6160union __anonunion_ldv_37475_202 {
6161 unsigned int skc_hash ;
6162 __u16 skc_u16hashes[2U] ;
6163};
6164#line 102 "include/net/sock.h"
6165union __anonunion_ldv_37483_203 {
6166 struct hlist_node skc_bind_node ;
6167 struct hlist_nulls_node skc_portaddr_node ;
6168};
6169#line 102 "include/net/sock.h"
6170union __anonunion_ldv_37490_204 {
6171 struct hlist_node skc_node ;
6172 struct hlist_nulls_node skc_nulls_node ;
6173};
6174#line 102 "include/net/sock.h"
6175struct sock_common {
6176 __be32 skc_daddr ;
6177 __be32 skc_rcv_saddr ;
6178 union __anonunion_ldv_37475_202 ldv_37475 ;
6179 unsigned short skc_family ;
6180 unsigned char volatile skc_state ;
6181 unsigned char skc_reuse ;
6182 int skc_bound_dev_if ;
6183 union __anonunion_ldv_37483_203 ldv_37483 ;
6184 struct proto *skc_prot ;
6185 struct net *skc_net ;
6186 int skc_dontcopy_begin[0U] ;
6187 union __anonunion_ldv_37490_204 ldv_37490 ;
6188 int skc_tx_queue_mapping ;
6189 atomic_t skc_refcnt ;
6190 int skc_dontcopy_end[0U] ;
6191};
6192#line 168 "include/net/sock.h"
6193struct __anonstruct_sk_backlog_205 {
6194 atomic_t rmem_alloc ;
6195 int len ;
6196 struct sk_buff *head ;
6197 struct sk_buff *tail ;
6198};
6199#line 168 "include/net/sock.h"
6200struct sock {
6201 struct sock_common __sk_common ;
6202 socket_lock_t sk_lock ;
6203 struct sk_buff_head sk_receive_queue ;
6204 struct __anonstruct_sk_backlog_205 sk_backlog ;
6205 int sk_forward_alloc ;
6206 __u32 sk_rxhash ;
6207 atomic_t sk_drops ;
6208 int sk_rcvbuf ;
6209 struct sk_filter *sk_filter ;
6210 struct socket_wq *sk_wq ;
6211 struct sk_buff_head sk_async_wait_queue ;
6212 struct xfrm_policy *sk_policy[2U] ;
6213 unsigned long sk_flags ;
6214 struct dst_entry *sk_dst_cache ;
6215 spinlock_t sk_dst_lock ;
6216 atomic_t sk_wmem_alloc ;
6217 atomic_t sk_omem_alloc ;
6218 int sk_sndbuf ;
6219 struct sk_buff_head sk_write_queue ;
6220 unsigned char sk_shutdown : 2 ;
6221 unsigned char sk_no_check : 2 ;
6222 unsigned char sk_userlocks : 4 ;
6223 unsigned char sk_protocol ;
6224 unsigned short sk_type ;
6225 int sk_wmem_queued ;
6226 gfp_t sk_allocation ;
6227 int sk_route_caps ;
6228 int sk_route_nocaps ;
6229 int sk_gso_type ;
6230 unsigned int sk_gso_max_size ;
6231 int sk_rcvlowat ;
6232 unsigned long sk_lingertime ;
6233 struct sk_buff_head sk_error_queue ;
6234 struct proto *sk_prot_creator ;
6235 rwlock_t sk_callback_lock ;
6236 int sk_err ;
6237 int sk_err_soft ;
6238 unsigned short sk_ack_backlog ;
6239 unsigned short sk_max_ack_backlog ;
6240 __u32 sk_priority ;
6241 struct pid *sk_peer_pid ;
6242 struct cred const *sk_peer_cred ;
6243 long sk_rcvtimeo ;
6244 long sk_sndtimeo ;
6245 void *sk_protinfo ;
6246 struct timer_list sk_timer ;
6247 ktime_t sk_stamp ;
6248 struct socket *sk_socket ;
6249 void *sk_user_data ;
6250 struct page *sk_sndmsg_page ;
6251 struct sk_buff *sk_send_head ;
6252 __u32 sk_sndmsg_off ;
6253 int sk_write_pending ;
6254 void *sk_security ;
6255 __u32 sk_mark ;
6256 u32 sk_classid ;
6257 void (*sk_state_change)(struct sock * ) ;
6258 void (*sk_data_ready)(struct sock * , int ) ;
6259 void (*sk_write_space)(struct sock * ) ;
6260 void (*sk_error_report)(struct sock * ) ;
6261 int (*sk_backlog_rcv)(struct sock * , struct sk_buff * ) ;
6262 void (*sk_destruct)(struct sock * ) ;
6263};
6264#line 716
6265struct request_sock_ops;
6266#line 716
6267struct request_sock_ops;
6268#line 716
6269struct request_sock_ops;
6270#line 716
6271struct request_sock_ops;
6272#line 717
6273struct timewait_sock_ops;
6274#line 717
6275struct timewait_sock_ops;
6276#line 717
6277struct timewait_sock_ops;
6278#line 717
6279struct timewait_sock_ops;
6280#line 718
6281struct inet_hashinfo;
6282#line 718
6283struct inet_hashinfo;
6284#line 718
6285struct inet_hashinfo;
6286#line 718
6287struct inet_hashinfo;
6288#line 719
6289struct raw_hashinfo;
6290#line 719
6291struct raw_hashinfo;
6292#line 719
6293struct raw_hashinfo;
6294#line 719
6295struct raw_hashinfo;
6296#line 720
6297struct udp_table;
6298#line 720
6299struct udp_table;
6300#line 720
6301struct udp_table;
6302#line 720 "include/net/sock.h"
6303union __anonunion_h_206 {
6304 struct inet_hashinfo *hashinfo ;
6305 struct udp_table *udp_table ;
6306 struct raw_hashinfo *raw_hash ;
6307};
6308#line 720 "include/net/sock.h"
6309struct proto {
6310 void (*close)(struct sock * , long ) ;
6311 int (*connect)(struct sock * , struct sockaddr * , int ) ;
6312 int (*disconnect)(struct sock * , int ) ;
6313 struct sock *(*accept)(struct sock * , int , int * ) ;
6314 int (*ioctl)(struct sock * , int , unsigned long ) ;
6315 int (*init)(struct sock * ) ;
6316 void (*destroy)(struct sock * ) ;
6317 void (*shutdown)(struct sock * , int ) ;
6318 int (*setsockopt)(struct sock * , int , int , char * , unsigned int ) ;
6319 int (*getsockopt)(struct sock * , int , int , char * , int * ) ;
6320 int (*compat_setsockopt)(struct sock * , int , int , char * , unsigned int ) ;
6321 int (*compat_getsockopt)(struct sock * , int , int , char * , int * ) ;
6322 int (*compat_ioctl)(struct sock * , unsigned int , unsigned long ) ;
6323 int (*sendmsg)(struct kiocb * , struct sock * , struct msghdr * , size_t ) ;
6324 int (*recvmsg)(struct kiocb * , struct sock * , struct msghdr * , size_t , int ,
6325 int , int * ) ;
6326 int (*sendpage)(struct sock * , struct page * , int , size_t , int ) ;
6327 int (*bind)(struct sock * , struct sockaddr * , int ) ;
6328 int (*backlog_rcv)(struct sock * , struct sk_buff * ) ;
6329 void (*hash)(struct sock * ) ;
6330 void (*unhash)(struct sock * ) ;
6331 void (*rehash)(struct sock * ) ;
6332 int (*get_port)(struct sock * , unsigned short ) ;
6333 void (*clear_sk)(struct sock * , int ) ;
6334 unsigned int inuse_idx ;
6335 void (*enter_memory_pressure)(struct sock * ) ;
6336 atomic_long_t *memory_allocated ;
6337 struct percpu_counter *sockets_allocated ;
6338 int *memory_pressure ;
6339 long *sysctl_mem ;
6340 int *sysctl_wmem ;
6341 int *sysctl_rmem ;
6342 int max_header ;
6343 bool no_autobind ;
6344 struct kmem_cache *slab ;
6345 unsigned int obj_size ;
6346 int slab_flags ;
6347 struct percpu_counter *orphan_count ;
6348 struct request_sock_ops *rsk_prot ;
6349 struct timewait_sock_ops *twsk_prot ;
6350 union __anonunion_h_206 h ;
6351 struct module *owner ;
6352 char name[32U] ;
6353 struct list_head node ;
6354};
6355#line 169 "include/linux/jhash.h"
6356struct request_values {
6357
6358};
6359#line 172 "include/linux/jhash.h"
6360struct request_sock_ops {
6361 int family ;
6362 int obj_size ;
6363 struct kmem_cache *slab ;
6364 char *slab_name ;
6365 int (*rtx_syn_ack)(struct sock * , struct request_sock * , struct request_values * ) ;
6366 void (*send_ack)(struct sock * , struct sk_buff * , struct request_sock * ) ;
6367 void (*send_reset)(struct sock * , struct sk_buff * ) ;
6368 void (*destructor)(struct request_sock * ) ;
6369 void (*syn_ack_timeout)(struct sock * , struct request_sock * ) ;
6370};
6371#line 50 "include/net/request_sock.h"
6372struct request_sock {
6373 struct request_sock *dl_next ;
6374 u16 mss ;
6375 u8 retrans ;
6376 u8 cookie_ts ;
6377 u32 window_clamp ;
6378 u32 rcv_wnd ;
6379 u32 ts_recent ;
6380 unsigned long expires ;
6381 struct request_sock_ops const *rsk_ops ;
6382 struct sock *sk ;
6383 u32 secid ;
6384 u32 peer_secid ;
6385};
6386#line 367 "include/net/inet_connection_sock.h"
6387struct timewait_sock_ops {
6388 struct kmem_cache *twsk_slab ;
6389 char *twsk_slab_name ;
6390 unsigned int twsk_obj_size ;
6391 int (*twsk_unique)(struct sock * , struct sock * , void * ) ;
6392 void (*twsk_destructor)(struct sock * ) ;
6393 void *(*twsk_getpeer)(struct sock * ) ;
6394};
6395#line 119 "include/net/slhc_vj.h"
6396typedef __u8 byte_t;
6397#line 120 "include/net/slhc_vj.h"
6398typedef __u32 int32;
6399#line 121 "include/net/slhc_vj.h"
6400struct cstate {
6401 byte_t cs_this ;
6402 struct cstate *next ;
6403 struct iphdr cs_ip ;
6404 struct tcphdr cs_tcp ;
6405 unsigned char cs_ipopt[64U] ;
6406 unsigned char cs_tcpopt[64U] ;
6407 int cs_hsize ;
6408};
6409#line 137 "include/net/slhc_vj.h"
6410struct slcompress {
6411 struct cstate *tstate ;
6412 struct cstate *rstate ;
6413 byte_t tslot_limit ;
6414 byte_t rslot_limit ;
6415 byte_t xmit_oldest ;
6416 byte_t xmit_current ;
6417 byte_t recv_current ;
6418 byte_t flags ;
6419 int32 sls_o_nontcp ;
6420 int32 sls_o_tcp ;
6421 int32 sls_o_uncompressed ;
6422 int32 sls_o_compressed ;
6423 int32 sls_o_searches ;
6424 int32 sls_o_misses ;
6425 int32 sls_i_uncompressed ;
6426 int32 sls_i_compressed ;
6427 int32 sls_i_error ;
6428 int32 sls_i_tossed ;
6429 int32 sls_i_runt ;
6430 int32 sls_i_badcheck ;
6431};
6432#line 182
6433struct mnt_namespace;
6434#line 182
6435struct mnt_namespace;
6436#line 182
6437struct mnt_namespace;
6438#line 182
6439struct mnt_namespace;
6440#line 183
6441struct ipc_namespace;
6442#line 183
6443struct ipc_namespace;
6444#line 183
6445struct ipc_namespace;
6446#line 183
6447struct ipc_namespace;
6448#line 184 "include/net/slhc_vj.h"
6449struct nsproxy {
6450 atomic_t count ;
6451 struct uts_namespace *uts_ns ;
6452 struct ipc_namespace *ipc_ns ;
6453 struct mnt_namespace *mnt_ns ;
6454 struct pid_namespace *pid_ns ;
6455 struct net *net_ns ;
6456};
6457#line 83 "include/linux/nsproxy.h"
6458struct net_generic {
6459 unsigned int len ;
6460 struct rcu_head rcu ;
6461 void *ptr[0U] ;
6462};
6463#line 46 "include/net/netns/generic.h"
6464enum ldv_27071 {
6465 INTERFACE = 1,
6466 CHANNEL = 2
6467} ;
6468#line 51 "include/net/netns/generic.h"
6469struct ppp_file {
6470 enum ldv_27071 kind ;
6471 struct sk_buff_head xq ;
6472 struct sk_buff_head rq ;
6473 wait_queue_head_t rwait ;
6474 atomic_t refcnt ;
6475 int hdrlen ;
6476 int index ;
6477 int dead ;
6478};
6479#line 98 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
6480struct ppp {
6481 struct ppp_file file ;
6482 struct file *owner ;
6483 struct list_head channels ;
6484 int n_channels ;
6485 spinlock_t rlock ;
6486 spinlock_t wlock ;
6487 int mru ;
6488 unsigned int flags ;
6489 unsigned int xstate ;
6490 unsigned int rstate ;
6491 int debug ;
6492 struct slcompress *vj ;
6493 enum NPmode npmode[6U] ;
6494 struct sk_buff *xmit_pending ;
6495 struct compressor *xcomp ;
6496 void *xc_state ;
6497 struct compressor *rcomp ;
6498 void *rc_state ;
6499 unsigned long last_xmit ;
6500 unsigned long last_recv ;
6501 struct net_device *dev ;
6502 int closing ;
6503 int nxchan ;
6504 u32 nxseq ;
6505 int mrru ;
6506 u32 nextseq ;
6507 u32 minseq ;
6508 struct sk_buff_head mrq ;
6509 struct sock_filter *pass_filter ;
6510 struct sock_filter *active_filter ;
6511 unsigned int pass_len ;
6512 unsigned int active_len ;
6513 struct net *ppp_net ;
6514};
6515#line 148 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
6516struct channel {
6517 struct ppp_file file ;
6518 struct list_head list ;
6519 struct ppp_channel *chan ;
6520 struct rw_semaphore chan_sem ;
6521 spinlock_t downl ;
6522 struct ppp *ppp ;
6523 struct net *chan_net ;
6524 struct list_head clist ;
6525 rwlock_t upl ;
6526 u8 avail ;
6527 u8 had_frag ;
6528 u32 lastseq ;
6529 int speed ;
6530};
6531#line 197 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
6532struct ppp_net {
6533 struct idr units_idr ;
6534 struct mutex all_ppp_mutex ;
6535 struct list_head all_channels ;
6536 struct list_head new_channels ;
6537 int last_channel_index ;
6538 spinlock_t all_channels_lock ;
6539};
6540#line 1561 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
6541struct ppp_mp_skb_parm {
6542 u32 sequence ;
6543 u8 BEbits ;
6544};
6545#line 2469 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
6546struct compressor_entry {
6547 struct list_head list ;
6548 struct compressor *comp ;
6549};
6550#line 1 "<compiler builtins>"
6551
6552#line 1
6553
6554#line 1
6555long __builtin_expect(long , long ) ;
6556#line 24 "include/linux/list.h"
6557__inline static void INIT_LIST_HEAD(struct list_head *list )
6558{
6559
6560 {
6561#line 26
6562 list->next = list;
6563#line 27
6564 list->prev = list;
6565#line 28
6566 return;
6567}
6568}
6569#line 47
6570extern void __list_add(struct list_head * , struct list_head * , struct list_head * ) ;
6571#line 60 "include/linux/list.h"
6572__inline static void list_add(struct list_head *new , struct list_head *head )
6573{ struct list_head *__cil_tmp3 ;
6574
6575 {
6576 {
6577#line 62
6578 __cil_tmp3 = head->next;
6579#line 62
6580 __list_add(new, head, __cil_tmp3);
6581 }
6582#line 63
6583 return;
6584}
6585}
6586#line 74 "include/linux/list.h"
6587__inline static void list_add_tail(struct list_head *new , struct list_head *head )
6588{ struct list_head *__cil_tmp3 ;
6589
6590 {
6591 {
6592#line 76
6593 __cil_tmp3 = head->prev;
6594#line 76
6595 __list_add(new, __cil_tmp3, head);
6596 }
6597#line 77
6598 return;
6599}
6600}
6601#line 111
6602extern void __list_del_entry(struct list_head * ) ;
6603#line 112
6604extern void list_del(struct list_head * ) ;
6605#line 153 "include/linux/list.h"
6606__inline static void list_move(struct list_head *list , struct list_head *head )
6607{
6608
6609 {
6610 {
6611#line 155
6612 __list_del_entry(list);
6613#line 156
6614 list_add(list, head);
6615 }
6616#line 157
6617 return;
6618}
6619}
6620#line 186 "include/linux/list.h"
6621__inline static int list_empty(struct list_head const *head )
6622{ unsigned long __cil_tmp2 ;
6623 struct list_head *__cil_tmp3 ;
6624 struct list_head const *__cil_tmp4 ;
6625 unsigned long __cil_tmp5 ;
6626
6627 {
6628 {
6629#line 188
6630 __cil_tmp2 = (unsigned long )head;
6631#line 188
6632 __cil_tmp3 = head->next;
6633#line 188
6634 __cil_tmp4 = (struct list_head const *)__cil_tmp3;
6635#line 188
6636 __cil_tmp5 = (unsigned long )__cil_tmp4;
6637#line 188
6638 return (__cil_tmp5 == __cil_tmp2);
6639 }
6640}
6641}
6642#line 60 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6643__inline static void set_bit(unsigned int nr , unsigned long volatile *addr )
6644{ long volatile *__cil_tmp3 ;
6645
6646 {
6647#line 68
6648 __cil_tmp3 = (long volatile *)addr;
6649#line 68
6650 __asm__ volatile (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; bts %1,%0": "+m" (*__cil_tmp3): "Ir" (nr): "memory");
6651#line 70
6652 return;
6653}
6654}
6655#line 98 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6656__inline static void clear_bit(int nr , unsigned long volatile *addr )
6657{ long volatile *__cil_tmp3 ;
6658
6659 {
6660#line 105
6661 __cil_tmp3 = (long volatile *)addr;
6662#line 105
6663 __asm__ volatile (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; btr %1,%0": "+m" (*__cil_tmp3): "Ir" (nr));
6664#line 107
6665 return;
6666}
6667}
6668#line 246 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6669__inline static int test_and_clear_bit(int nr , unsigned long volatile *addr )
6670{ int oldbit ;
6671 long volatile *__cil_tmp4 ;
6672
6673 {
6674#line 250
6675 __cil_tmp4 = (long volatile *)addr;
6676#line 250
6677 __asm__ volatile (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; btr %2,%1\n\tsbb %0,%0": "=r" (oldbit),
6678 "+m" (*__cil_tmp4): "Ir" (nr): "memory");
6679#line 254
6680 return (oldbit);
6681}
6682}
6683#line 315 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6684__inline static int variable_test_bit(int nr , unsigned long const volatile *addr )
6685{ int oldbit ;
6686 unsigned long *__cil_tmp4 ;
6687
6688 {
6689#line 319
6690 __cil_tmp4 = (unsigned long *)addr;
6691#line 319
6692 __asm__ volatile ("bt %2,%1\n\tsbb %0,%0": "=r" (oldbit): "m" (*__cil_tmp4),
6693 "Ir" (nr));
6694#line 324
6695 return (oldbit);
6696}
6697}
6698#line 46 "include/linux/swab.h"
6699__inline static __u16 __fswab16(__u16 val )
6700{ int __cil_tmp2 ;
6701 int __cil_tmp3 ;
6702 short __cil_tmp4 ;
6703 int __cil_tmp5 ;
6704 int __cil_tmp6 ;
6705 int __cil_tmp7 ;
6706 short __cil_tmp8 ;
6707 int __cil_tmp9 ;
6708 int __cil_tmp10 ;
6709
6710 {
6711 {
6712#line 51
6713 __cil_tmp2 = (int )val;
6714#line 51
6715 __cil_tmp3 = __cil_tmp2 >> 8;
6716#line 51
6717 __cil_tmp4 = (short )__cil_tmp3;
6718#line 51
6719 __cil_tmp5 = (int )__cil_tmp4;
6720#line 51
6721 __cil_tmp6 = (int )val;
6722#line 51
6723 __cil_tmp7 = __cil_tmp6 << 8;
6724#line 51
6725 __cil_tmp8 = (short )__cil_tmp7;
6726#line 51
6727 __cil_tmp9 = (int )__cil_tmp8;
6728#line 51
6729 __cil_tmp10 = __cil_tmp9 | __cil_tmp5;
6730#line 51
6731 return ((__u16 )__cil_tmp10);
6732 }
6733}
6734}
6735#line 148 "include/linux/swab.h"
6736__inline static __u16 __swab16p(__u16 const *p )
6737{ __u16 tmp ;
6738 __u16 __cil_tmp3 ;
6739 int __cil_tmp4 ;
6740 __u16 __cil_tmp5 ;
6741
6742 {
6743 {
6744#line 153
6745 __cil_tmp3 = *p;
6746#line 153
6747 __cil_tmp4 = (int )__cil_tmp3;
6748#line 153
6749 __cil_tmp5 = (__u16 )__cil_tmp4;
6750#line 153
6751 tmp = __fswab16(__cil_tmp5);
6752 }
6753#line 153
6754 return (tmp);
6755}
6756}
6757#line 87 "include/linux/byteorder/little_endian.h"
6758__inline static __u16 __be16_to_cpup(__be16 const *p )
6759{ __u16 tmp ;
6760
6761 {
6762 {
6763#line 89
6764 tmp = __swab16p(p);
6765 }
6766#line 89
6767 return (tmp);
6768}
6769}
6770#line 101 "include/linux/printk.h"
6771extern int printk(char const * , ...) ;
6772#line 64 "include/asm-generic/bug.h"
6773extern void warn_slowpath_fmt(char const * , int , char const * , ...) ;
6774#line 69
6775extern void warn_slowpath_null(char const * , int ) ;
6776#line 170 "include/linux/kernel.h"
6777extern void might_fault(void) ;
6778#line 291
6779extern int sprintf(char * , char const * , ...) ;
6780#line 88 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/percpu.h"
6781extern void __bad_percpu_size(void) ;
6782#line 10 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6783extern struct task_struct *current_task ;
6784#line 12 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6785__inline static struct task_struct *get_current(void)
6786{ struct task_struct *pfo_ret__ ;
6787
6788 {
6789#line 14
6790 if (1) {
6791#line 14
6792 goto case_8;
6793 } else {
6794#line 14
6795 goto switch_default;
6796#line 14
6797 if (0) {
6798#line 14
6799 __asm__ ("movb %%gs:%P1,%0": "=q" (pfo_ret__): "p" (& current_task));
6800#line 14
6801 goto ldv_2386;
6802#line 14
6803 __asm__ ("movw %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& current_task));
6804#line 14
6805 goto ldv_2386;
6806#line 14
6807 __asm__ ("movl %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& current_task));
6808#line 14
6809 goto ldv_2386;
6810 case_8:
6811#line 14
6812 __asm__ ("movq %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& current_task));
6813#line 14
6814 goto ldv_2386;
6815 switch_default:
6816 {
6817#line 14
6818 __bad_percpu_size();
6819 }
6820 } else {
6821
6822 }
6823 }
6824 ldv_2386: ;
6825#line 14
6826 return (pfo_ret__);
6827}
6828}
6829#line 11 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/cmpxchg_64.h"
6830extern void __xchg_wrong_size(void) ;
6831#line 16 "include/linux/string.h"
6832extern void *memdup_user(void const * , size_t ) ;
6833#line 55 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/string_64.h"
6834extern void *memset(void * , int , size_t ) ;
6835#line 61
6836extern size_t strlen(char const * ) ;
6837#line 27 "include/linux/err.h"
6838__inline static long PTR_ERR(void const *ptr )
6839{
6840
6841 {
6842#line 29
6843 return ((long )ptr);
6844}
6845}
6846#line 32 "include/linux/err.h"
6847__inline static long IS_ERR(void const *ptr )
6848{ long tmp ;
6849 unsigned long __cil_tmp3 ;
6850 int __cil_tmp4 ;
6851 long __cil_tmp5 ;
6852
6853 {
6854 {
6855#line 34
6856 __cil_tmp3 = (unsigned long )ptr;
6857#line 34
6858 __cil_tmp4 = __cil_tmp3 > 1152921504606842880UL;
6859#line 34
6860 __cil_tmp5 = (long )__cil_tmp4;
6861#line 34
6862 tmp = __builtin_expect(__cil_tmp5, 0L);
6863 }
6864#line 34
6865 return (tmp);
6866}
6867}
6868#line 23 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic.h"
6869__inline static int atomic_read(atomic_t const *v )
6870{ int const *__cil_tmp2 ;
6871 int volatile *__cil_tmp3 ;
6872 int volatile __cil_tmp4 ;
6873
6874 {
6875 {
6876#line 25
6877 __cil_tmp2 = & v->counter;
6878#line 25
6879 __cil_tmp3 = (int volatile *)__cil_tmp2;
6880#line 25
6881 __cil_tmp4 = *__cil_tmp3;
6882#line 25
6883 return ((int )__cil_tmp4);
6884 }
6885}
6886}
6887#line 35 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic.h"
6888__inline static void atomic_set(atomic_t *v , int i )
6889{
6890
6891 {
6892#line 37
6893 v->counter = i;
6894#line 38
6895 return;
6896}
6897}
6898#line 93 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic.h"
6899__inline static void atomic_inc(atomic_t *v )
6900{
6901
6902 {
6903#line 95
6904 __asm__ volatile (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; incl %0": "+m" (v->counter));
6905#line 97
6906 return;
6907}
6908}
6909#line 105 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic.h"
6910__inline static void atomic_dec(atomic_t *v )
6911{
6912
6913 {
6914#line 107
6915 __asm__ volatile (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; decl %0": "+m" (v->counter));
6916#line 109
6917 return;
6918}
6919}
6920#line 119 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic.h"
6921__inline static int atomic_dec_and_test(atomic_t *v )
6922{ unsigned char c ;
6923 unsigned int __cil_tmp3 ;
6924
6925 {
6926#line 123
6927 __asm__ volatile (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; decl %0; sete %1": "+m" (v->counter),
6928 "=qm" (c): : "memory");
6929 {
6930#line 126
6931 __cil_tmp3 = (unsigned int )c;
6932#line 126
6933 return (__cil_tmp3 != 0U);
6934 }
6935}
6936}
6937#line 19 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/atomic64_64.h"
6938__inline static long atomic64_read(atomic64_t const *v )
6939{ long const *__cil_tmp2 ;
6940 long volatile *__cil_tmp3 ;
6941 long volatile __cil_tmp4 ;
6942
6943 {
6944 {
6945#line 21
6946 __cil_tmp2 = & v->counter;
6947#line 21
6948 __cil_tmp3 = (long volatile *)__cil_tmp2;
6949#line 21
6950 __cil_tmp4 = *__cil_tmp3;
6951#line 21
6952 return ((long )__cil_tmp4);
6953 }
6954}
6955}
6956#line 27 "include/asm-generic/atomic-long.h"
6957__inline static long atomic_long_read(atomic_long_t *l )
6958{ atomic64_t *v ;
6959 long tmp ;
6960 atomic64_t const *__cil_tmp4 ;
6961
6962 {
6963 {
6964#line 29
6965 v = l;
6966#line 31
6967 __cil_tmp4 = (atomic64_t const *)v;
6968#line 31
6969 tmp = atomic64_read(__cil_tmp4);
6970 }
6971#line 31
6972 return (tmp);
6973}
6974}
6975#line 82 "include/linux/thread_info.h"
6976__inline static int test_ti_thread_flag(struct thread_info *ti , int flag )
6977{ int tmp ;
6978 __u32 *__cil_tmp4 ;
6979 unsigned long const volatile *__cil_tmp5 ;
6980
6981 {
6982 {
6983#line 84
6984 __cil_tmp4 = & ti->flags;
6985#line 84
6986 __cil_tmp5 = (unsigned long const volatile *)__cil_tmp4;
6987#line 84
6988 tmp = variable_test_bit(flag, __cil_tmp5);
6989 }
6990#line 84
6991 return (tmp);
6992}
6993}
6994#line 315 "include/linux/lockdep.h"
6995extern void lock_acquire(struct lockdep_map * , unsigned int , int , int , int ,
6996 struct lockdep_map * , unsigned long ) ;
6997#line 319
6998extern void lock_release(struct lockdep_map * , int , unsigned long ) ;
6999#line 324
7000extern int lock_is_held(struct lockdep_map * ) ;
7001#line 551
7002extern void lockdep_rcu_dereference(char const * , int ) ;
7003#line 93 "include/linux/spinlock.h"
7004extern void __raw_spin_lock_init(raw_spinlock_t * , char const * , struct lock_class_key * ) ;
7005#line 18 "include/linux/rwlock.h"
7006extern void __rwlock_init(rwlock_t * , char const * , struct lock_class_key * ) ;
7007#line 22 "include/linux/spinlock_api_smp.h"
7008extern void _raw_spin_lock(raw_spinlock_t * ) ;
7009#line 28
7010extern void _raw_spin_lock_bh(raw_spinlock_t * ) ;
7011#line 39
7012extern void _raw_spin_unlock(raw_spinlock_t * ) ;
7013#line 40
7014extern void _raw_spin_unlock_bh(raw_spinlock_t * ) ;
7015#line 20 "include/linux/rwlock_api_smp.h"
7016extern void _raw_read_lock_bh(rwlock_t * ) ;
7017#line 21
7018extern void _raw_write_lock_bh(rwlock_t * ) ;
7019#line 32
7020extern void _raw_read_unlock_bh(rwlock_t * ) ;
7021#line 33
7022extern void _raw_write_unlock_bh(rwlock_t * ) ;
7023#line 272 "include/linux/spinlock.h"
7024__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock )
7025{
7026
7027 {
7028#line 274
7029 return (& lock->ldv_6060.rlock);
7030}
7031}
7032#line 283 "include/linux/spinlock.h"
7033__inline static void spin_lock(spinlock_t *lock )
7034{ struct raw_spinlock *__cil_tmp2 ;
7035
7036 {
7037 {
7038#line 285
7039 __cil_tmp2 = & lock->ldv_6060.rlock;
7040#line 285
7041 _raw_spin_lock(__cil_tmp2);
7042 }
7043#line 286
7044 return;
7045}
7046}
7047#line 288 "include/linux/spinlock.h"
7048__inline static void spin_lock_bh(spinlock_t *lock )
7049{ struct raw_spinlock *__cil_tmp2 ;
7050
7051 {
7052 {
7053#line 290
7054 __cil_tmp2 = & lock->ldv_6060.rlock;
7055#line 290
7056 _raw_spin_lock_bh(__cil_tmp2);
7057 }
7058#line 291
7059 return;
7060}
7061}
7062#line 323 "include/linux/spinlock.h"
7063__inline static void spin_unlock(spinlock_t *lock )
7064{ struct raw_spinlock *__cil_tmp2 ;
7065
7066 {
7067 {
7068#line 325
7069 __cil_tmp2 = & lock->ldv_6060.rlock;
7070#line 325
7071 _raw_spin_unlock(__cil_tmp2);
7072 }
7073#line 326
7074 return;
7075}
7076}
7077#line 328 "include/linux/spinlock.h"
7078__inline static void spin_unlock_bh(spinlock_t *lock )
7079{ struct raw_spinlock *__cil_tmp2 ;
7080
7081 {
7082 {
7083#line 330
7084 __cil_tmp2 = & lock->ldv_6060.rlock;
7085#line 330
7086 _raw_spin_unlock_bh(__cil_tmp2);
7087 }
7088#line 331
7089 return;
7090}
7091}
7092#line 30 "include/linux/wait.h"
7093extern int default_wake_function(wait_queue_t * , unsigned int , int , void * ) ;
7094#line 80
7095extern void __init_waitqueue_head(wait_queue_head_t * , struct lock_class_key * ) ;
7096#line 118
7097extern void add_wait_queue(wait_queue_head_t * , wait_queue_t * ) ;
7098#line 120
7099extern void remove_wait_queue(wait_queue_head_t * , wait_queue_t * ) ;
7100#line 156
7101extern void __wake_up(wait_queue_head_t * , unsigned int , int , void * ) ;
7102#line 115 "include/linux/mutex.h"
7103extern void __mutex_init(struct mutex * , char const * , struct lock_class_key * ) ;
7104#line 134
7105extern void mutex_lock_nested(struct mutex * , unsigned int ) ;
7106#line 169
7107extern void mutex_unlock(struct mutex * ) ;
7108#line 66 "include/linux/rwsem.h"
7109extern void __init_rwsem(struct rw_semaphore * , char const * , struct lock_class_key * ) ;
7110#line 79
7111extern void down_read(struct rw_semaphore * ) ;
7112#line 89
7113extern void down_write(struct rw_semaphore * ) ;
7114#line 99
7115extern void up_read(struct rw_semaphore * ) ;
7116#line 104
7117extern void up_write(struct rw_semaphore * ) ;
7118#line 82 "include/linux/jiffies.h"
7119extern unsigned long volatile jiffies ;
7120#line 110 "include/linux/rcupdate.h"
7121__inline static void __rcu_read_lock(void)
7122{
7123
7124 {
7125#line 112
7126 return;
7127}
7128}
7129#line 115 "include/linux/rcupdate.h"
7130__inline static void __rcu_read_unlock(void)
7131{
7132
7133 {
7134#line 117
7135 return;
7136}
7137}
7138#line 184
7139extern struct lockdep_map rcu_lock_map ;
7140#line 200
7141extern int debug_lockdep_rcu_enabled(void) ;
7142#line 214 "include/linux/rcupdate.h"
7143__inline static int rcu_read_lock_held(void)
7144{ int tmp ;
7145 int tmp___0 ;
7146
7147 {
7148 {
7149#line 216
7150 tmp = debug_lockdep_rcu_enabled();
7151 }
7152#line 216
7153 if (tmp == 0) {
7154#line 217
7155 return (1);
7156 } else {
7157
7158 }
7159 {
7160#line 218
7161 tmp___0 = lock_is_held(& rcu_lock_map);
7162 }
7163#line 218
7164 return (tmp___0);
7165}
7166}
7167#line 590 "include/linux/rcupdate.h"
7168__inline static void rcu_read_lock(void)
7169{ struct lockdep_map *__cil_tmp1 ;
7170 void *__cil_tmp2 ;
7171 unsigned long __cil_tmp3 ;
7172
7173 {
7174 {
7175#line 592
7176 __rcu_read_lock();
7177#line 594
7178 __cil_tmp1 = (struct lockdep_map *)0;
7179#line 594
7180 __cil_tmp2 = (void *)0;
7181#line 594
7182 __cil_tmp3 = (unsigned long )__cil_tmp2;
7183#line 594
7184 lock_acquire(& rcu_lock_map, 0U, 0, 2, 1, __cil_tmp1, __cil_tmp3);
7185 }
7186#line 596
7187 return;
7188}
7189}
7190#line 612 "include/linux/rcupdate.h"
7191__inline static void rcu_read_unlock(void)
7192{ void *__cil_tmp1 ;
7193 unsigned long __cil_tmp2 ;
7194
7195 {
7196 {
7197#line 614
7198 __cil_tmp1 = (void *)0;
7199#line 614
7200 __cil_tmp2 = (unsigned long )__cil_tmp1;
7201#line 614
7202 lock_release(& rcu_lock_map, 1, __cil_tmp2);
7203#line 616
7204 __rcu_read_unlock();
7205 }
7206#line 617
7207 return;
7208}
7209}
7210#line 830
7211extern void kfree(void const * ) ;
7212#line 35 "include/linux/kmod.h"
7213extern int __request_module(bool , char const * , ...) ;
7214#line 99 "include/linux/module.h"
7215extern struct module __this_module ;
7216#line 537
7217__inline static int ldv_try_module_get_7(struct module *module ) ;
7218#line 543
7219void ldv_module_put_1(struct module *ldv_func_arg1 ) ;
7220#line 547
7221void ldv_module_put_2(struct module *ldv_func_arg1 ) ;
7222#line 551
7223void ldv_module_put_3(struct module *ldv_func_arg1 ) ;
7224#line 555
7225void ldv_module_put_4(struct module *ldv_func_arg1 ) ;
7226#line 559
7227void ldv_module_put_5(struct module *ldv_func_arg1 ) ;
7228#line 563
7229void ldv_module_put_6(struct module *ldv_func_arg1 ) ;
7230#line 3 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
7231int ldv_try_module_get(struct module *module ) ;
7232#line 4
7233void ldv_module_get(struct module *module ) ;
7234#line 5
7235void ldv_module_put(struct module *module ) ;
7236#line 6
7237unsigned int ldv_module_refcount(void) ;
7238#line 7
7239void ldv_module_put_and_exit(void) ;
7240#line 104 "include/linux/idr.h"
7241extern void *idr_find(struct idr * , int ) ;
7242#line 105
7243extern int idr_pre_get(struct idr * , gfp_t ) ;
7244#line 107
7245extern int idr_get_new_above(struct idr * , void * , int , int * ) ;
7246#line 112
7247extern void idr_remove(struct idr * , int ) ;
7248#line 114
7249extern void idr_destroy(struct idr * ) ;
7250#line 115
7251extern void idr_init(struct idr * ) ;
7252#line 250 "include/linux/net.h"
7253extern int net_ratelimit(void) ;
7254#line 221 "include/linux/slub_def.h"
7255extern void *__kmalloc(size_t , gfp_t ) ;
7256#line 255 "include/linux/slub_def.h"
7257__inline static void *kmalloc(size_t size , gfp_t flags )
7258{ void *tmp___2 ;
7259
7260 {
7261 {
7262#line 270
7263 tmp___2 = __kmalloc(size, flags);
7264 }
7265#line 270
7266 return (tmp___2);
7267}
7268}
7269#line 318 "include/linux/slab.h"
7270__inline static void *kzalloc(size_t size , gfp_t flags )
7271{ void *tmp ;
7272 unsigned int __cil_tmp4 ;
7273
7274 {
7275 {
7276#line 320
7277 __cil_tmp4 = flags | 32768U;
7278#line 320
7279 tmp = kmalloc(size, __cil_tmp4);
7280 }
7281#line 320
7282 return (tmp);
7283}
7284}
7285#line 40 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7286extern unsigned long _copy_to_user(void * , void const * , unsigned int ) ;
7287#line 42
7288extern unsigned long _copy_from_user(void * , void const * , unsigned int ) ;
7289#line 46 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7290__inline static unsigned long copy_from_user(void *to , void const *from , unsigned long n )
7291{ int sz ;
7292 unsigned long tmp ;
7293 int __ret_warn_on ;
7294 long tmp___0 ;
7295 long tmp___1 ;
7296 long tmp___2 ;
7297 void const *__cil_tmp10 ;
7298 void *__cil_tmp11 ;
7299 int __cil_tmp12 ;
7300 long __cil_tmp13 ;
7301 unsigned int __cil_tmp14 ;
7302 unsigned long __cil_tmp15 ;
7303 int __cil_tmp16 ;
7304 long __cil_tmp17 ;
7305 unsigned int __cil_tmp18 ;
7306 int __cil_tmp19 ;
7307 long __cil_tmp20 ;
7308 int __cil_tmp21 ;
7309 int __cil_tmp22 ;
7310 int __cil_tmp23 ;
7311 long __cil_tmp24 ;
7312
7313 {
7314 {
7315#line 50
7316 __cil_tmp10 = (void const *)to;
7317#line 50
7318 __cil_tmp11 = (void *)__cil_tmp10;
7319#line 50
7320 tmp = __builtin_object_size(__cil_tmp11, 0);
7321#line 50
7322 sz = (int )tmp;
7323#line 52
7324 might_fault();
7325#line 53
7326 __cil_tmp12 = sz == -1;
7327#line 53
7328 __cil_tmp13 = (long )__cil_tmp12;
7329#line 53
7330 tmp___1 = __builtin_expect(__cil_tmp13, 1L);
7331 }
7332#line 53
7333 if (tmp___1 != 0L) {
7334 {
7335#line 54
7336 __cil_tmp14 = (unsigned int )n;
7337#line 54
7338 n = _copy_from_user(to, from, __cil_tmp14);
7339 }
7340 } else {
7341 {
7342#line 53
7343 __cil_tmp15 = (unsigned long )sz;
7344#line 53
7345 __cil_tmp16 = __cil_tmp15 >= n;
7346#line 53
7347 __cil_tmp17 = (long )__cil_tmp16;
7348#line 53
7349 tmp___2 = __builtin_expect(__cil_tmp17, 1L);
7350 }
7351#line 53
7352 if (tmp___2 != 0L) {
7353 {
7354#line 54
7355 __cil_tmp18 = (unsigned int )n;
7356#line 54
7357 n = _copy_from_user(to, from, __cil_tmp18);
7358 }
7359 } else {
7360 {
7361#line 57
7362 __ret_warn_on = 1;
7363#line 57
7364 __cil_tmp19 = __ret_warn_on != 0;
7365#line 57
7366 __cil_tmp20 = (long )__cil_tmp19;
7367#line 57
7368 tmp___0 = __builtin_expect(__cil_tmp20, 0L);
7369 }
7370#line 57
7371 if (tmp___0 != 0L) {
7372 {
7373#line 57
7374 __cil_tmp21 = (int const )57;
7375#line 57
7376 __cil_tmp22 = (int )__cil_tmp21;
7377#line 57
7378 warn_slowpath_fmt("/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h",
7379 __cil_tmp22, "Buffer overflow detected!\n");
7380 }
7381 } else {
7382
7383 }
7384 {
7385#line 57
7386 __cil_tmp23 = __ret_warn_on != 0;
7387#line 57
7388 __cil_tmp24 = (long )__cil_tmp23;
7389#line 57
7390 __builtin_expect(__cil_tmp24, 0L);
7391 }
7392 }
7393 }
7394#line 59
7395 return (n);
7396}
7397}
7398#line 63 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
7399__inline static int copy_to_user(void *dst , void const *src , unsigned int size )
7400{ unsigned long tmp ;
7401
7402 {
7403 {
7404#line 65
7405 might_fault();
7406#line 67
7407 tmp = _copy_to_user(dst, src, size);
7408 }
7409#line 67
7410 return ((int )tmp);
7411}
7412}
7413#line 391 "include/linux/device.h"
7414extern struct class *__class_create(struct module * , char const * , struct lock_class_key * ) ;
7415#line 394
7416extern void class_destroy(struct class * ) ;
7417#line 743
7418extern struct device *device_create(struct class * , struct device * , dev_t , void * ,
7419 char const * , ...) ;
7420#line 747
7421extern void device_destroy(struct class * , dev_t ) ;
7422#line 490 "include/linux/skbuff.h"
7423extern void kfree_skb(struct sk_buff * ) ;
7424#line 493
7425extern struct sk_buff *__alloc_skb(unsigned int , gfp_t , int , int ) ;
7426#line 495 "include/linux/skbuff.h"
7427__inline static struct sk_buff *alloc_skb(unsigned int size , gfp_t priority )
7428{ struct sk_buff *tmp ;
7429
7430 {
7431 {
7432#line 498
7433 tmp = __alloc_skb(size, priority, 0, -1);
7434 }
7435#line 498
7436 return (tmp);
7437}
7438}
7439#line 516
7440extern int pskb_expand_head(struct sk_buff * , int , int , gfp_t ) ;
7441#line 568 "include/linux/skbuff.h"
7442__inline static unsigned char *skb_end_pointer(struct sk_buff const *skb )
7443{ sk_buff_data_t __cil_tmp2 ;
7444 unsigned long __cil_tmp3 ;
7445 unsigned char *__cil_tmp4 ;
7446 unsigned char *__cil_tmp5 ;
7447
7448 {
7449 {
7450#line 570
7451 __cil_tmp2 = skb->end;
7452#line 570
7453 __cil_tmp3 = (unsigned long )__cil_tmp2;
7454#line 570
7455 __cil_tmp4 = skb->head;
7456#line 570
7457 __cil_tmp5 = (unsigned char *)__cil_tmp4;
7458#line 570
7459 return (__cil_tmp5 + __cil_tmp3);
7460 }
7461}
7462}
7463#line 593 "include/linux/skbuff.h"
7464__inline static int skb_queue_empty(struct sk_buff_head const *list )
7465{ struct sk_buff *__cil_tmp2 ;
7466 unsigned long __cil_tmp3 ;
7467 struct sk_buff *__cil_tmp4 ;
7468 struct sk_buff *__cil_tmp5 ;
7469 unsigned long __cil_tmp6 ;
7470
7471 {
7472 {
7473#line 595
7474 __cil_tmp2 = (struct sk_buff *)list;
7475#line 595
7476 __cil_tmp3 = (unsigned long )__cil_tmp2;
7477#line 595
7478 __cil_tmp4 = list->next;
7479#line 595
7480 __cil_tmp5 = (struct sk_buff *)__cil_tmp4;
7481#line 595
7482 __cil_tmp6 = (unsigned long )__cil_tmp5;
7483#line 595
7484 return (__cil_tmp6 == __cil_tmp3);
7485 }
7486}
7487}
7488#line 605 "include/linux/skbuff.h"
7489__inline static bool skb_queue_is_last(struct sk_buff_head const *list , struct sk_buff const *skb )
7490{ struct sk_buff *__cil_tmp3 ;
7491 unsigned long __cil_tmp4 ;
7492 struct sk_buff *__cil_tmp5 ;
7493 struct sk_buff *__cil_tmp6 ;
7494 unsigned long __cil_tmp7 ;
7495 int __cil_tmp8 ;
7496
7497 {
7498 {
7499#line 608
7500 __cil_tmp3 = (struct sk_buff *)list;
7501#line 608
7502 __cil_tmp4 = (unsigned long )__cil_tmp3;
7503#line 608
7504 __cil_tmp5 = skb->next;
7505#line 608
7506 __cil_tmp6 = (struct sk_buff *)__cil_tmp5;
7507#line 608
7508 __cil_tmp7 = (unsigned long )__cil_tmp6;
7509#line 608
7510 __cil_tmp8 = __cil_tmp7 == __cil_tmp4;
7511#line 608
7512 return ((bool )__cil_tmp8);
7513 }
7514}
7515}
7516#line 632 "include/linux/skbuff.h"
7517__inline static struct sk_buff *skb_queue_next(struct sk_buff_head const *list ,
7518 struct sk_buff const *skb )
7519{ bool tmp ;
7520 long tmp___0 ;
7521 long __cil_tmp5 ;
7522 struct sk_buff *__cil_tmp6 ;
7523
7524 {
7525 {
7526#line 638
7527 tmp = skb_queue_is_last(list, skb);
7528#line 638
7529 __cil_tmp5 = (long )tmp;
7530#line 638
7531 tmp___0 = __builtin_expect(__cil_tmp5, 0L);
7532 }
7533#line 638
7534 if (tmp___0 != 0L) {
7535#line 638
7536 __asm__ volatile ("1:\tud2\n.pushsection __bug_table,\"a\"\n2:\t.long 1b - 2b, %c0 - 2b\n\t.word %c1, 0\n\t.org 2b+%c2\n.popsection": : "i" ((char *)"include/linux/skbuff.h"),
7537 "i" (638), "i" (12UL));
7538 ldv_19859: ;
7539#line 638
7540 goto ldv_19859;
7541 } else {
7542
7543 }
7544 {
7545#line 639
7546 __cil_tmp6 = skb->next;
7547#line 639
7548 return ((struct sk_buff *)__cil_tmp6);
7549 }
7550}
7551}
7552#line 686 "include/linux/skbuff.h"
7553__inline static int skb_cloned(struct sk_buff const *skb )
7554{ unsigned char *tmp ;
7555 int tmp___0 ;
7556 int tmp___1 ;
7557 unsigned char *__cil_tmp5 ;
7558 unsigned char *__cil_tmp6 ;
7559 unsigned char __cil_tmp7 ;
7560 unsigned int __cil_tmp8 ;
7561 struct skb_shared_info *__cil_tmp9 ;
7562 atomic_t *__cil_tmp10 ;
7563 atomic_t const *__cil_tmp11 ;
7564 int __cil_tmp12 ;
7565
7566 {
7567 {
7568#line 688
7569 __cil_tmp5 = (unsigned char *)skb;
7570#line 688
7571 __cil_tmp6 = __cil_tmp5 + 124UL;
7572#line 688
7573 __cil_tmp7 = *__cil_tmp6;
7574#line 688
7575 __cil_tmp8 = (unsigned int )__cil_tmp7;
7576#line 688
7577 if (__cil_tmp8 != 0U) {
7578 {
7579#line 688
7580 tmp = skb_end_pointer(skb);
7581#line 688
7582 __cil_tmp9 = (struct skb_shared_info *)tmp;
7583#line 688
7584 __cil_tmp10 = & __cil_tmp9->dataref;
7585#line 688
7586 __cil_tmp11 = (atomic_t const *)__cil_tmp10;
7587#line 688
7588 tmp___0 = atomic_read(__cil_tmp11);
7589 }
7590 {
7591#line 688
7592 __cil_tmp12 = tmp___0 & 65535;
7593#line 688
7594 if (__cil_tmp12 != 1) {
7595#line 688
7596 tmp___1 = 1;
7597 } else {
7598#line 688
7599 tmp___1 = 0;
7600 }
7601 }
7602 } else {
7603#line 688
7604 tmp___1 = 0;
7605 }
7606 }
7607#line 688
7608 return (tmp___1);
7609}
7610}
7611#line 699 "include/linux/skbuff.h"
7612__inline static int skb_header_cloned(struct sk_buff const *skb )
7613{ int dataref ;
7614 unsigned char *tmp ;
7615 unsigned char *__cil_tmp4 ;
7616 unsigned char *__cil_tmp5 ;
7617 unsigned char __cil_tmp6 ;
7618 unsigned int __cil_tmp7 ;
7619 struct skb_shared_info *__cil_tmp8 ;
7620 atomic_t *__cil_tmp9 ;
7621 atomic_t const *__cil_tmp10 ;
7622 int __cil_tmp11 ;
7623 int __cil_tmp12 ;
7624
7625 {
7626 {
7627#line 703
7628 __cil_tmp4 = (unsigned char *)skb;
7629#line 703
7630 __cil_tmp5 = __cil_tmp4 + 124UL;
7631#line 703
7632 __cil_tmp6 = *__cil_tmp5;
7633#line 703
7634 __cil_tmp7 = (unsigned int )__cil_tmp6;
7635#line 703
7636 if (__cil_tmp7 == 0U) {
7637#line 704
7638 return (0);
7639 } else {
7640
7641 }
7642 }
7643 {
7644#line 706
7645 tmp = skb_end_pointer(skb);
7646#line 706
7647 __cil_tmp8 = (struct skb_shared_info *)tmp;
7648#line 706
7649 __cil_tmp9 = & __cil_tmp8->dataref;
7650#line 706
7651 __cil_tmp10 = (atomic_t const *)__cil_tmp9;
7652#line 706
7653 dataref = atomic_read(__cil_tmp10);
7654#line 707
7655 __cil_tmp11 = dataref >> 16;
7656#line 707
7657 __cil_tmp12 = dataref & 65535;
7658#line 707
7659 dataref = __cil_tmp12 - __cil_tmp11;
7660 }
7661#line 708
7662 return (dataref != 1);
7663}
7664}
7665#line 808 "include/linux/skbuff.h"
7666__inline static struct sk_buff *skb_peek(struct sk_buff_head *list_ )
7667{ struct sk_buff *list ;
7668 struct sk_buff *__cil_tmp3 ;
7669 struct sk_buff *__cil_tmp4 ;
7670 unsigned long __cil_tmp5 ;
7671 unsigned long __cil_tmp6 ;
7672
7673 {
7674#line 810
7675 __cil_tmp3 = (struct sk_buff *)list_;
7676#line 810
7677 list = __cil_tmp3->next;
7678 {
7679#line 811
7680 __cil_tmp4 = (struct sk_buff *)list_;
7681#line 811
7682 __cil_tmp5 = (unsigned long )__cil_tmp4;
7683#line 811
7684 __cil_tmp6 = (unsigned long )list;
7685#line 811
7686 if (__cil_tmp6 == __cil_tmp5) {
7687#line 812
7688 list = (struct sk_buff *)0;
7689 } else {
7690
7691 }
7692 }
7693#line 813
7694 return (list);
7695}
7696}
7697#line 843 "include/linux/skbuff.h"
7698__inline static __u32 skb_queue_len(struct sk_buff_head const *list_ )
7699{ __u32 __cil_tmp2 ;
7700
7701 {
7702 {
7703#line 845
7704 __cil_tmp2 = list_->qlen;
7705#line 845
7706 return ((__u32 )__cil_tmp2);
7707 }
7708}
7709}
7710#line 858 "include/linux/skbuff.h"
7711__inline static void __skb_queue_head_init(struct sk_buff_head *list )
7712{ struct sk_buff *tmp ;
7713
7714 {
7715#line 860
7716 tmp = (struct sk_buff *)list;
7717#line 860
7718 list->next = tmp;
7719#line 860
7720 list->prev = tmp;
7721#line 861
7722 list->qlen = 0U;
7723#line 862
7724 return;
7725}
7726}
7727#line 872 "include/linux/skbuff.h"
7728__inline static void skb_queue_head_init(struct sk_buff_head *list )
7729{ struct lock_class_key __key ;
7730 spinlock_t *__cil_tmp3 ;
7731 struct raw_spinlock *__cil_tmp4 ;
7732
7733 {
7734 {
7735#line 874
7736 __cil_tmp3 = & list->lock;
7737#line 874
7738 spinlock_check(__cil_tmp3);
7739#line 874
7740 __cil_tmp4 = & list->lock.ldv_6060.rlock;
7741#line 874
7742 __raw_spin_lock_init(__cil_tmp4, "&(&list->lock)->rlock", & __key);
7743#line 875
7744 __skb_queue_head_init(list);
7745 }
7746#line 876
7747 return;
7748}
7749}
7750#line 892 "include/linux/skbuff.h"
7751__inline static void __skb_insert(struct sk_buff *newsk , struct sk_buff *prev , struct sk_buff *next ,
7752 struct sk_buff_head *list )
7753{ struct sk_buff *tmp ;
7754 __u32 __cil_tmp6 ;
7755
7756 {
7757#line 896
7758 newsk->next = next;
7759#line 897
7760 newsk->prev = prev;
7761#line 898
7762 tmp = newsk;
7763#line 898
7764 prev->next = tmp;
7765#line 898
7766 next->prev = tmp;
7767#line 899
7768 __cil_tmp6 = list->qlen;
7769#line 899
7770 list->qlen = __cil_tmp6 + 1U;
7771#line 900
7772 return;
7773}
7774}
7775#line 1000 "include/linux/skbuff.h"
7776__inline static void __skb_queue_before(struct sk_buff_head *list , struct sk_buff *next ,
7777 struct sk_buff *newsk )
7778{ struct sk_buff *__cil_tmp4 ;
7779
7780 {
7781 {
7782#line 1004
7783 __cil_tmp4 = next->prev;
7784#line 1004
7785 __skb_insert(newsk, __cil_tmp4, next, list);
7786 }
7787#line 1005
7788 return;
7789}
7790}
7791#line 1017
7792extern void skb_queue_head(struct sk_buff_head * , struct sk_buff * ) ;
7793#line 1034
7794extern void skb_queue_tail(struct sk_buff_head * , struct sk_buff * ) ;
7795#line 1046 "include/linux/skbuff.h"
7796__inline static void __skb_unlink(struct sk_buff *skb , struct sk_buff_head *list )
7797{ struct sk_buff *next ;
7798 struct sk_buff *prev ;
7799 struct sk_buff *tmp ;
7800 __u32 __cil_tmp6 ;
7801
7802 {
7803#line 1050
7804 __cil_tmp6 = list->qlen;
7805#line 1050
7806 list->qlen = __cil_tmp6 - 1U;
7807#line 1051
7808 next = skb->next;
7809#line 1052
7810 prev = skb->prev;
7811#line 1053
7812 tmp = (struct sk_buff *)0;
7813#line 1053
7814 skb->prev = tmp;
7815#line 1053
7816 skb->next = tmp;
7817#line 1054
7818 next->prev = prev;
7819#line 1055
7820 prev->next = next;
7821#line 1056
7822 return;
7823}
7824}
7825#line 1066
7826extern struct sk_buff *skb_dequeue(struct sk_buff_head * ) ;
7827#line 1093 "include/linux/skbuff.h"
7828__inline static int skb_is_nonlinear(struct sk_buff const *skb )
7829{ unsigned int __cil_tmp2 ;
7830
7831 {
7832 {
7833#line 1095
7834 __cil_tmp2 = skb->data_len;
7835#line 1095
7836 return ((int )__cil_tmp2);
7837 }
7838}
7839}
7840#line 1098 "include/linux/skbuff.h"
7841__inline static unsigned int skb_headlen(struct sk_buff const *skb )
7842{ unsigned int __cil_tmp2 ;
7843 unsigned int __cil_tmp3 ;
7844 unsigned int __cil_tmp4 ;
7845 unsigned int __cil_tmp5 ;
7846
7847 {
7848 {
7849#line 1100
7850 __cil_tmp2 = skb->data_len;
7851#line 1100
7852 __cil_tmp3 = (unsigned int )__cil_tmp2;
7853#line 1100
7854 __cil_tmp4 = skb->len;
7855#line 1100
7856 __cil_tmp5 = (unsigned int )__cil_tmp4;
7857#line 1100
7858 return (__cil_tmp5 - __cil_tmp3);
7859 }
7860}
7861}
7862#line 1167
7863extern unsigned char *skb_put(struct sk_buff * , unsigned int ) ;
7864#line 1177
7865extern unsigned char *skb_push(struct sk_buff * , unsigned int ) ;
7866#line 1185
7867extern unsigned char *skb_pull(struct sk_buff * , unsigned int ) ;
7868#line 1186 "include/linux/skbuff.h"
7869__inline static unsigned char *__skb_pull(struct sk_buff *skb , unsigned int len )
7870{ long tmp ;
7871 unsigned char *tmp___0 ;
7872 unsigned int __cil_tmp5 ;
7873 unsigned int __cil_tmp6 ;
7874 unsigned int __cil_tmp7 ;
7875 int __cil_tmp8 ;
7876 long __cil_tmp9 ;
7877 unsigned long __cil_tmp10 ;
7878 unsigned char *__cil_tmp11 ;
7879
7880 {
7881 {
7882#line 1188
7883 __cil_tmp5 = skb->len;
7884#line 1188
7885 skb->len = __cil_tmp5 - len;
7886#line 1189
7887 __cil_tmp6 = skb->data_len;
7888#line 1189
7889 __cil_tmp7 = skb->len;
7890#line 1189
7891 __cil_tmp8 = __cil_tmp7 < __cil_tmp6;
7892#line 1189
7893 __cil_tmp9 = (long )__cil_tmp8;
7894#line 1189
7895 tmp = __builtin_expect(__cil_tmp9, 0L);
7896 }
7897#line 1189
7898 if (tmp != 0L) {
7899#line 1189
7900 __asm__ volatile ("1:\tud2\n.pushsection __bug_table,\"a\"\n2:\t.long 1b - 2b, %c0 - 2b\n\t.word %c1, 0\n\t.org 2b+%c2\n.popsection": : "i" ((char *)"include/linux/skbuff.h"),
7901 "i" (1189), "i" (12UL));
7902 ldv_20057: ;
7903#line 1189
7904 goto ldv_20057;
7905 } else {
7906
7907 }
7908#line 1190
7909 __cil_tmp10 = (unsigned long )len;
7910#line 1190
7911 __cil_tmp11 = skb->data;
7912#line 1190
7913 tmp___0 = __cil_tmp11 + __cil_tmp10;
7914#line 1190
7915 skb->data = tmp___0;
7916#line 1190
7917 return (tmp___0);
7918}
7919}
7920#line 1198
7921extern unsigned char *__pskb_pull_tail(struct sk_buff * , int ) ;
7922#line 1214 "include/linux/skbuff.h"
7923__inline static int pskb_may_pull(struct sk_buff *skb , unsigned int len )
7924{ unsigned int tmp ;
7925 long tmp___0 ;
7926 long tmp___1 ;
7927 unsigned int tmp___2 ;
7928 unsigned char *tmp___3 ;
7929 struct sk_buff const *__cil_tmp8 ;
7930 int __cil_tmp9 ;
7931 long __cil_tmp10 ;
7932 unsigned int __cil_tmp11 ;
7933 int __cil_tmp12 ;
7934 long __cil_tmp13 ;
7935 struct sk_buff const *__cil_tmp14 ;
7936 unsigned int __cil_tmp15 ;
7937 int __cil_tmp16 ;
7938 unsigned char *__cil_tmp17 ;
7939 unsigned long __cil_tmp18 ;
7940 unsigned long __cil_tmp19 ;
7941
7942 {
7943 {
7944#line 1216
7945 __cil_tmp8 = (struct sk_buff const *)skb;
7946#line 1216
7947 tmp = skb_headlen(__cil_tmp8);
7948#line 1216
7949 __cil_tmp9 = tmp >= len;
7950#line 1216
7951 __cil_tmp10 = (long )__cil_tmp9;
7952#line 1216
7953 tmp___0 = __builtin_expect(__cil_tmp10, 1L);
7954 }
7955#line 1216
7956 if (tmp___0 != 0L) {
7957#line 1217
7958 return (1);
7959 } else {
7960
7961 }
7962 {
7963#line 1218
7964 __cil_tmp11 = skb->len;
7965#line 1218
7966 __cil_tmp12 = __cil_tmp11 < len;
7967#line 1218
7968 __cil_tmp13 = (long )__cil_tmp12;
7969#line 1218
7970 tmp___1 = __builtin_expect(__cil_tmp13, 0L);
7971 }
7972#line 1218
7973 if (tmp___1 != 0L) {
7974#line 1219
7975 return (0);
7976 } else {
7977
7978 }
7979 {
7980#line 1220
7981 __cil_tmp14 = (struct sk_buff const *)skb;
7982#line 1220
7983 tmp___2 = skb_headlen(__cil_tmp14);
7984#line 1220
7985 __cil_tmp15 = len - tmp___2;
7986#line 1220
7987 __cil_tmp16 = (int )__cil_tmp15;
7988#line 1220
7989 tmp___3 = __pskb_pull_tail(skb, __cil_tmp16);
7990 }
7991 {
7992#line 1220
7993 __cil_tmp17 = (unsigned char *)0;
7994#line 1220
7995 __cil_tmp18 = (unsigned long )__cil_tmp17;
7996#line 1220
7997 __cil_tmp19 = (unsigned long )tmp___3;
7998#line 1220
7999 return (__cil_tmp19 != __cil_tmp18);
8000 }
8001}
8002}
8003#line 1229 "include/linux/skbuff.h"
8004__inline static unsigned int skb_headroom(struct sk_buff const *skb )
8005{ unsigned char *__cil_tmp2 ;
8006 long __cil_tmp3 ;
8007 unsigned int __cil_tmp4 ;
8008 unsigned char *__cil_tmp5 ;
8009 long __cil_tmp6 ;
8010 unsigned int __cil_tmp7 ;
8011
8012 {
8013 {
8014#line 1231
8015 __cil_tmp2 = skb->head;
8016#line 1231
8017 __cil_tmp3 = (long )__cil_tmp2;
8018#line 1231
8019 __cil_tmp4 = (unsigned int )__cil_tmp3;
8020#line 1231
8021 __cil_tmp5 = skb->data;
8022#line 1231
8023 __cil_tmp6 = (long )__cil_tmp5;
8024#line 1231
8025 __cil_tmp7 = (unsigned int )__cil_tmp6;
8026#line 1231
8027 return (__cil_tmp7 - __cil_tmp4);
8028 }
8029}
8030}
8031#line 1240 "include/linux/skbuff.h"
8032__inline static int skb_tailroom(struct sk_buff const *skb )
8033{ int tmp___0 ;
8034 int tmp___1 ;
8035 sk_buff_data_t __cil_tmp4 ;
8036 unsigned int __cil_tmp5 ;
8037 sk_buff_data_t __cil_tmp6 ;
8038 unsigned int __cil_tmp7 ;
8039 unsigned int __cil_tmp8 ;
8040
8041 {
8042 {
8043#line 1242
8044 tmp___1 = skb_is_nonlinear(skb);
8045 }
8046#line 1242
8047 if (tmp___1 == 0) {
8048#line 1242
8049 __cil_tmp4 = skb->tail;
8050#line 1242
8051 __cil_tmp5 = (unsigned int )__cil_tmp4;
8052#line 1242
8053 __cil_tmp6 = skb->end;
8054#line 1242
8055 __cil_tmp7 = (unsigned int )__cil_tmp6;
8056#line 1242
8057 __cil_tmp8 = __cil_tmp7 - __cil_tmp5;
8058#line 1242
8059 tmp___0 = (int )__cil_tmp8;
8060 } else {
8061#line 1242
8062 tmp___0 = 0;
8063 }
8064#line 1242
8065 return (tmp___0);
8066}
8067}
8068#line 1253 "include/linux/skbuff.h"
8069__inline static void skb_reserve(struct sk_buff *skb , int len )
8070{ unsigned long __cil_tmp3 ;
8071 unsigned char *__cil_tmp4 ;
8072 sk_buff_data_t __cil_tmp5 ;
8073 sk_buff_data_t __cil_tmp6 ;
8074
8075 {
8076#line 1255
8077 __cil_tmp3 = (unsigned long )len;
8078#line 1255
8079 __cil_tmp4 = skb->data;
8080#line 1255
8081 skb->data = __cil_tmp4 + __cil_tmp3;
8082#line 1256
8083 __cil_tmp5 = (sk_buff_data_t )len;
8084#line 1256
8085 __cil_tmp6 = skb->tail;
8086#line 1256
8087 skb->tail = __cil_tmp6 + __cil_tmp5;
8088#line 1257
8089 return;
8090}
8091}
8092#line 1308 "include/linux/skbuff.h"
8093__inline static void skb_reset_mac_header(struct sk_buff *skb )
8094{ unsigned char *__cil_tmp2 ;
8095 long __cil_tmp3 ;
8096 sk_buff_data_t __cil_tmp4 ;
8097 unsigned char *__cil_tmp5 ;
8098 long __cil_tmp6 ;
8099 sk_buff_data_t __cil_tmp7 ;
8100
8101 {
8102#line 1310
8103 __cil_tmp2 = skb->head;
8104#line 1310
8105 __cil_tmp3 = (long )__cil_tmp2;
8106#line 1310
8107 __cil_tmp4 = (sk_buff_data_t )__cil_tmp3;
8108#line 1310
8109 __cil_tmp5 = skb->data;
8110#line 1310
8111 __cil_tmp6 = (long )__cil_tmp5;
8112#line 1310
8113 __cil_tmp7 = (sk_buff_data_t )__cil_tmp6;
8114#line 1310
8115 skb->mac_header = __cil_tmp7 - __cil_tmp4;
8116#line 1311
8117 return;
8118}
8119}
8120#line 1458
8121extern void skb_trim(struct sk_buff * , unsigned int ) ;
8122#line 1512
8123extern void skb_queue_purge(struct sk_buff_head * ) ;
8124#line 1541
8125extern struct sk_buff *dev_alloc_skb(unsigned int ) ;
8126#line 1621 "include/linux/skbuff.h"
8127__inline static int __skb_cow(struct sk_buff *skb , unsigned int headroom , int cloned )
8128{ int delta ;
8129 int _max1 ;
8130 int _max2 ;
8131 int tmp ;
8132 int _max1___0 ;
8133 int _max2___0 ;
8134 int tmp___0 ;
8135 unsigned int tmp___1 ;
8136 unsigned int tmp___2 ;
8137 int _max1___1 ;
8138 int _max2___1 ;
8139 int tmp___3 ;
8140 int _max1___2 ;
8141 int _max2___2 ;
8142 int tmp___4 ;
8143 int tmp___5 ;
8144 unsigned int __cil_tmp20 ;
8145 struct sk_buff const *__cil_tmp21 ;
8146 struct sk_buff const *__cil_tmp22 ;
8147 unsigned int __cil_tmp23 ;
8148 int __cil_tmp24 ;
8149 int __cil_tmp25 ;
8150 int __cil_tmp26 ;
8151 int __cil_tmp27 ;
8152
8153 {
8154#line 1624
8155 delta = 0;
8156#line 1626
8157 _max1___0 = 32;
8158#line 1626
8159 _max2___0 = 64;
8160#line 1626
8161 if (_max1___0 > _max2___0) {
8162#line 1626
8163 tmp___0 = _max1___0;
8164 } else {
8165#line 1626
8166 tmp___0 = _max2___0;
8167 }
8168 {
8169#line 1626
8170 __cil_tmp20 = (unsigned int )tmp___0;
8171#line 1626
8172 if (__cil_tmp20 > headroom) {
8173#line 1627
8174 _max1 = 32;
8175#line 1627
8176 _max2 = 64;
8177#line 1627
8178 if (_max1 > _max2) {
8179#line 1627
8180 tmp = _max1;
8181 } else {
8182#line 1627
8183 tmp = _max2;
8184 }
8185#line 1627
8186 headroom = (unsigned int )tmp;
8187 } else {
8188
8189 }
8190 }
8191 {
8192#line 1628
8193 __cil_tmp21 = (struct sk_buff const *)skb;
8194#line 1628
8195 tmp___2 = skb_headroom(__cil_tmp21);
8196 }
8197#line 1628
8198 if (tmp___2 < headroom) {
8199 {
8200#line 1629
8201 __cil_tmp22 = (struct sk_buff const *)skb;
8202#line 1629
8203 tmp___1 = skb_headroom(__cil_tmp22);
8204#line 1629
8205 __cil_tmp23 = headroom - tmp___1;
8206#line 1629
8207 delta = (int )__cil_tmp23;
8208 }
8209 } else {
8210
8211 }
8212#line 1631
8213 if (delta != 0) {
8214#line 1631
8215 goto _L;
8216 } else
8217#line 1631
8218 if (cloned != 0) {
8219 _L:
8220#line 1632
8221 _max1___1 = 32;
8222#line 1632
8223 _max2___1 = 64;
8224#line 1632
8225 if (_max1___1 > _max2___1) {
8226#line 1632
8227 tmp___3 = _max1___1;
8228 } else {
8229#line 1632
8230 tmp___3 = _max2___1;
8231 }
8232#line 1632
8233 _max1___2 = 32;
8234#line 1632
8235 _max2___2 = 64;
8236#line 1632
8237 if (_max1___2 > _max2___2) {
8238#line 1632
8239 tmp___4 = _max1___2;
8240 } else {
8241#line 1632
8242 tmp___4 = _max2___2;
8243 }
8244 {
8245#line 1632
8246 __cil_tmp24 = - tmp___4;
8247#line 1632
8248 __cil_tmp25 = tmp___3 + -1;
8249#line 1632
8250 __cil_tmp26 = __cil_tmp25 + delta;
8251#line 1632
8252 __cil_tmp27 = __cil_tmp26 & __cil_tmp24;
8253#line 1632
8254 tmp___5 = pskb_expand_head(skb, __cil_tmp27, 0, 32U);
8255 }
8256#line 1632
8257 return (tmp___5);
8258 } else {
8259
8260 }
8261#line 1634
8262 return (0);
8263}
8264}
8265#line 1664 "include/linux/skbuff.h"
8266__inline static int skb_cow_head(struct sk_buff *skb , unsigned int headroom )
8267{ int tmp ;
8268 int tmp___0 ;
8269 struct sk_buff const *__cil_tmp5 ;
8270
8271 {
8272 {
8273#line 1666
8274 __cil_tmp5 = (struct sk_buff const *)skb;
8275#line 1666
8276 tmp = skb_header_cloned(__cil_tmp5);
8277#line 1666
8278 tmp___0 = __skb_cow(skb, headroom, tmp);
8279 }
8280#line 1666
8281 return (tmp___0);
8282}
8283}
8284#line 1768
8285extern unsigned char *skb_pull_rcsum(struct sk_buff * , unsigned int ) ;
8286#line 1847
8287extern int skb_copy_datagram_iovec(struct sk_buff const * , int , struct iovec * ,
8288 int ) ;
8289#line 1870
8290extern int skb_copy_bits(struct sk_buff const * , int , void * , int ) ;
8291#line 546 "include/linux/capability.h"
8292extern bool capable(int ) ;
8293#line 2089 "include/linux/fs.h"
8294extern int __register_chrdev(unsigned int , unsigned int , unsigned int , char const * ,
8295 struct file_operations const * ) ;
8296#line 2092
8297extern void __unregister_chrdev(unsigned int , unsigned int , unsigned int , char const * ) ;
8298#line 2097 "include/linux/fs.h"
8299__inline static int register_chrdev(unsigned int major , char const *name , struct file_operations const *fops )
8300{ int tmp ;
8301
8302 {
8303 {
8304#line 2100
8305 tmp = __register_chrdev(major, 0U, 256U, name, fops);
8306 }
8307#line 2100
8308 return (tmp);
8309}
8310}
8311#line 2103 "include/linux/fs.h"
8312__inline static void unregister_chrdev(unsigned int major , char const *name )
8313{
8314
8315 {
8316 {
8317#line 2105
8318 __unregister_chrdev(major, 0U, 256U, name);
8319 }
8320#line 2106
8321 return;
8322}
8323}
8324#line 2336
8325extern loff_t noop_llseek(struct file * , loff_t , int ) ;
8326#line 361 "include/linux/sched.h"
8327extern void schedule(void) ;
8328#line 2441 "include/linux/sched.h"
8329__inline static int test_tsk_thread_flag(struct task_struct *tsk , int flag )
8330{ int tmp ;
8331 void *__cil_tmp4 ;
8332 struct thread_info *__cil_tmp5 ;
8333
8334 {
8335 {
8336#line 2443
8337 __cil_tmp4 = tsk->stack;
8338#line 2443
8339 __cil_tmp5 = (struct thread_info *)__cil_tmp4;
8340#line 2443
8341 tmp = test_ti_thread_flag(__cil_tmp5, flag);
8342 }
8343#line 2443
8344 return (tmp);
8345}
8346}
8347#line 2467 "include/linux/sched.h"
8348__inline static int signal_pending(struct task_struct *p )
8349{ int tmp ;
8350 long tmp___0 ;
8351 int __cil_tmp4 ;
8352 long __cil_tmp5 ;
8353
8354 {
8355 {
8356#line 2469
8357 tmp = test_tsk_thread_flag(p, 2);
8358#line 2469
8359 __cil_tmp4 = tmp != 0;
8360#line 2469
8361 __cil_tmp5 = (long )__cil_tmp4;
8362#line 2469
8363 tmp___0 = __builtin_expect(__cil_tmp5, 0L);
8364 }
8365#line 2469
8366 return ((int )tmp___0);
8367}
8368}
8369#line 203 "include/net/net_namespace.h"
8370__inline static struct net *hold_net(struct net *net )
8371{
8372
8373 {
8374#line 205
8375 return (net);
8376}
8377}
8378#line 208 "include/net/net_namespace.h"
8379__inline static void release_net(struct net *net )
8380{
8381
8382 {
8383#line 210
8384 return;
8385}
8386}
8387#line 278
8388extern int register_pernet_device(struct pernet_operations * ) ;
8389#line 279
8390extern void unregister_pernet_device(struct pernet_operations * ) ;
8391#line 1410 "include/linux/netdevice.h"
8392__inline static struct netdev_queue *netdev_get_tx_queue(struct net_device const *dev ,
8393 unsigned int index )
8394{ unsigned long __cil_tmp3 ;
8395 struct netdev_queue *__cil_tmp4 ;
8396 struct netdev_queue *__cil_tmp5 ;
8397
8398 {
8399 {
8400#line 1413
8401 __cil_tmp3 = (unsigned long )index;
8402#line 1413
8403 __cil_tmp4 = dev->_tx;
8404#line 1413
8405 __cil_tmp5 = (struct netdev_queue *)__cil_tmp4;
8406#line 1413
8407 return (__cil_tmp5 + __cil_tmp3);
8408 }
8409}
8410}
8411#line 1438 "include/linux/netdevice.h"
8412__inline static void dev_net_set(struct net_device *dev , struct net *net )
8413{ struct net *__cil_tmp3 ;
8414
8415 {
8416 {
8417#line 1441
8418 __cil_tmp3 = dev->nd_net;
8419#line 1441
8420 release_net(__cil_tmp3);
8421#line 1442
8422 dev->nd_net = hold_net(net);
8423 }
8424#line 1443
8425 return;
8426}
8427}
8428#line 1481 "include/linux/netdevice.h"
8429__inline static void *netdev_priv(struct net_device const *dev )
8430{ void *__cil_tmp2 ;
8431
8432 {
8433 {
8434#line 1483
8435 __cil_tmp2 = (void *)dev;
8436#line 1483
8437 return (__cil_tmp2 + 2560U);
8438 }
8439}
8440}
8441#line 1643
8442extern void free_netdev(struct net_device * ) ;
8443#line 1656
8444extern int netpoll_trap(void) ;
8445#line 1788
8446extern void __netif_schedule(struct Qdisc * ) ;
8447#line 1804 "include/linux/netdevice.h"
8448__inline static void netif_tx_start_queue(struct netdev_queue *dev_queue )
8449{ unsigned long *__cil_tmp2 ;
8450 unsigned long volatile *__cil_tmp3 ;
8451
8452 {
8453 {
8454#line 1806
8455 __cil_tmp2 = & dev_queue->state;
8456#line 1806
8457 __cil_tmp3 = (unsigned long volatile *)__cil_tmp2;
8458#line 1806
8459 clear_bit(0, __cil_tmp3);
8460 }
8461#line 1807
8462 return;
8463}
8464}
8465#line 1830 "include/linux/netdevice.h"
8466__inline static void netif_tx_wake_queue(struct netdev_queue *dev_queue )
8467{ int tmp ;
8468 int tmp___0 ;
8469 unsigned long *__cil_tmp4 ;
8470 unsigned long volatile *__cil_tmp5 ;
8471 struct Qdisc *__cil_tmp6 ;
8472
8473 {
8474 {
8475#line 1833
8476 tmp = netpoll_trap();
8477 }
8478#line 1833
8479 if (tmp != 0) {
8480 {
8481#line 1834
8482 netif_tx_start_queue(dev_queue);
8483 }
8484#line 1835
8485 return;
8486 } else {
8487
8488 }
8489 {
8490#line 1838
8491 __cil_tmp4 = & dev_queue->state;
8492#line 1838
8493 __cil_tmp5 = (unsigned long volatile *)__cil_tmp4;
8494#line 1838
8495 tmp___0 = test_and_clear_bit(0, __cil_tmp5);
8496 }
8497#line 1838
8498 if (tmp___0 != 0) {
8499 {
8500#line 1839
8501 __cil_tmp6 = dev_queue->qdisc;
8502#line 1839
8503 __netif_schedule(__cil_tmp6);
8504 }
8505 } else {
8506
8507 }
8508#line 1840
8509 return;
8510}
8511}
8512#line 1849 "include/linux/netdevice.h"
8513__inline static void netif_wake_queue(struct net_device *dev )
8514{ struct netdev_queue *tmp ;
8515 struct net_device const *__cil_tmp3 ;
8516
8517 {
8518 {
8519#line 1851
8520 __cil_tmp3 = (struct net_device const *)dev;
8521#line 1851
8522 tmp = netdev_get_tx_queue(__cil_tmp3, 0U);
8523#line 1851
8524 netif_tx_wake_queue(tmp);
8525 }
8526#line 1852
8527 return;
8528}
8529}
8530#line 1864 "include/linux/netdevice.h"
8531__inline static void netif_tx_stop_queue(struct netdev_queue *dev_queue )
8532{ int __ret_warn_on ;
8533 long tmp ;
8534 long tmp___0 ;
8535 struct netdev_queue *__cil_tmp5 ;
8536 unsigned long __cil_tmp6 ;
8537 unsigned long __cil_tmp7 ;
8538 int __cil_tmp8 ;
8539 long __cil_tmp9 ;
8540 int __cil_tmp10 ;
8541 int __cil_tmp11 ;
8542 int __cil_tmp12 ;
8543 long __cil_tmp13 ;
8544 unsigned long *__cil_tmp14 ;
8545 unsigned long volatile *__cil_tmp15 ;
8546
8547 {
8548 {
8549#line 1866
8550 __cil_tmp5 = (struct netdev_queue *)0;
8551#line 1866
8552 __cil_tmp6 = (unsigned long )__cil_tmp5;
8553#line 1866
8554 __cil_tmp7 = (unsigned long )dev_queue;
8555#line 1866
8556 __ret_warn_on = __cil_tmp7 == __cil_tmp6;
8557#line 1866
8558 __cil_tmp8 = __ret_warn_on != 0;
8559#line 1866
8560 __cil_tmp9 = (long )__cil_tmp8;
8561#line 1866
8562 tmp = __builtin_expect(__cil_tmp9, 0L);
8563 }
8564#line 1866
8565 if (tmp != 0L) {
8566 {
8567#line 1866
8568 __cil_tmp10 = (int const )1866;
8569#line 1866
8570 __cil_tmp11 = (int )__cil_tmp10;
8571#line 1866
8572 warn_slowpath_null("include/linux/netdevice.h", __cil_tmp11);
8573 }
8574 } else {
8575
8576 }
8577 {
8578#line 1866
8579 __cil_tmp12 = __ret_warn_on != 0;
8580#line 1866
8581 __cil_tmp13 = (long )__cil_tmp12;
8582#line 1866
8583 tmp___0 = __builtin_expect(__cil_tmp13, 0L);
8584 }
8585#line 1866
8586 if (tmp___0 != 0L) {
8587 {
8588#line 1867
8589 printk("<6>netif_stop_queue() cannot be called before register_netdev()\n");
8590 }
8591#line 1868
8592 return;
8593 } else {
8594
8595 }
8596 {
8597#line 1870
8598 __cil_tmp14 = & dev_queue->state;
8599#line 1870
8600 __cil_tmp15 = (unsigned long volatile *)__cil_tmp14;
8601#line 1870
8602 set_bit(0U, __cil_tmp15);
8603 }
8604#line 1871
8605 return;
8606}
8607}
8608#line 1880 "include/linux/netdevice.h"
8609__inline static void netif_stop_queue(struct net_device *dev )
8610{ struct netdev_queue *tmp ;
8611 struct net_device const *__cil_tmp3 ;
8612
8613 {
8614 {
8615#line 1882
8616 __cil_tmp3 = (struct net_device const *)dev;
8617#line 1882
8618 tmp = netdev_get_tx_queue(__cil_tmp3, 0U);
8619#line 1882
8620 netif_tx_stop_queue(tmp);
8621 }
8622#line 1883
8623 return;
8624}
8625}
8626#line 2064
8627extern int netif_rx(struct sk_buff * ) ;
8628#line 2449
8629extern struct net_device *alloc_netdev_mqs(int , char const * , void (*)(struct net_device * ) ,
8630 unsigned int , unsigned int ) ;
8631#line 2458
8632extern int register_netdev(struct net_device * ) ;
8633#line 2459
8634extern void unregister_netdev(struct net_device * ) ;
8635#line 2635
8636extern int netdev_printk(char const * , struct net_device const * , char const *
8637 , ...) ;
8638#line 2644
8639extern int netdev_err(struct net_device const * , char const * , ...) ;
8640#line 40 "include/linux/poll.h"
8641__inline static void poll_wait(struct file *filp , wait_queue_head_t *wait_address ,
8642 poll_table *p )
8643{ poll_table *__cil_tmp4 ;
8644 unsigned long __cil_tmp5 ;
8645 unsigned long __cil_tmp6 ;
8646 wait_queue_head_t *__cil_tmp7 ;
8647 unsigned long __cil_tmp8 ;
8648 unsigned long __cil_tmp9 ;
8649 void (*__cil_tmp10)(struct file * , wait_queue_head_t * , struct poll_table_struct * ) ;
8650
8651 {
8652 {
8653#line 42
8654 __cil_tmp4 = (poll_table *)0;
8655#line 42
8656 __cil_tmp5 = (unsigned long )__cil_tmp4;
8657#line 42
8658 __cil_tmp6 = (unsigned long )p;
8659#line 42
8660 if (__cil_tmp6 != __cil_tmp5) {
8661 {
8662#line 42
8663 __cil_tmp7 = (wait_queue_head_t *)0;
8664#line 42
8665 __cil_tmp8 = (unsigned long )__cil_tmp7;
8666#line 42
8667 __cil_tmp9 = (unsigned long )wait_address;
8668#line 42
8669 if (__cil_tmp9 != __cil_tmp8) {
8670 {
8671#line 43
8672 __cil_tmp10 = p->qproc;
8673#line 43
8674 (*__cil_tmp10)(filp, wait_address, p);
8675 }
8676 } else {
8677
8678 }
8679 }
8680 } else {
8681
8682 }
8683 }
8684#line 44
8685 return;
8686}
8687}
8688#line 154 "include/linux/filter.h"
8689extern unsigned int sk_run_filter(struct sk_buff const * , struct sock_filter const * ) ;
8690#line 158
8691extern int sk_chk_filter(struct sock_filter * , int ) ;
8692#line 50 "include/linux/ppp_channel.h"
8693void ppp_output_wakeup(struct ppp_channel *chan ) ;
8694#line 54
8695void ppp_input(struct ppp_channel *chan , struct sk_buff *skb ) ;
8696#line 58
8697void ppp_input_error(struct ppp_channel *chan , int code ) ;
8698#line 61
8699int ppp_register_net_channel(struct net *net , struct ppp_channel *chan ) ;
8700#line 64
8701int ppp_register_channel(struct ppp_channel *chan ) ;
8702#line 67
8703void ppp_unregister_channel(struct ppp_channel *chan ) ;
8704#line 70
8705int ppp_channel_index(struct ppp_channel *chan ) ;
8706#line 73
8707int ppp_unit_number(struct ppp_channel *chan ) ;
8708#line 76
8709char *ppp_dev_name(struct ppp_channel *chan ) ;
8710#line 210 "include/linux/ppp-comp.h"
8711int ppp_register_compressor(struct compressor *cp ) ;
8712#line 211
8713void ppp_unregister_compressor(struct compressor *cp ) ;
8714#line 22 "include/linux/unaligned/access_ok.h"
8715__inline static u16 get_unaligned_be16(void const *p )
8716{ __u16 tmp ;
8717 __be16 const *__cil_tmp3 ;
8718
8719 {
8720 {
8721#line 24
8722 __cil_tmp3 = (__be16 const *)p;
8723#line 24
8724 tmp = __be16_to_cpup(__cil_tmp3);
8725 }
8726#line 24
8727 return (tmp);
8728}
8729}
8730#line 52 "include/linux/unaligned/access_ok.h"
8731__inline static void put_unaligned_be16(u16 val , void *p )
8732{ __u16 tmp ;
8733 int __cil_tmp4 ;
8734 __u16 __cil_tmp5 ;
8735 __be16 *__cil_tmp6 ;
8736
8737 {
8738 {
8739#line 54
8740 __cil_tmp4 = (int )val;
8741#line 54
8742 __cil_tmp5 = (__u16 )__cil_tmp4;
8743#line 54
8744 tmp = __fswab16(__cil_tmp5);
8745#line 54
8746 __cil_tmp6 = (__be16 *)p;
8747#line 54
8748 *__cil_tmp6 = tmp;
8749 }
8750#line 55
8751 return;
8752}
8753}
8754#line 174 "include/net/slhc_vj.h"
8755extern struct slcompress *slhc_init(int , int ) ;
8756#line 175
8757extern void slhc_free(struct slcompress * ) ;
8758#line 177
8759extern int slhc_compress(struct slcompress * , unsigned char * , int , unsigned char * ,
8760 unsigned char ** , int ) ;
8761#line 179
8762extern int slhc_uncompress(struct slcompress * , unsigned char * , int ) ;
8763#line 180
8764extern int slhc_remember(struct slcompress * , unsigned char * , int ) ;
8765#line 181
8766extern int slhc_toss(struct slcompress * ) ;
8767#line 33 "include/net/netns/generic.h"
8768__inline static void *net_generic(struct net const *net , int id )
8769{ struct net_generic *ng ;
8770 void *ptr ;
8771 struct net_generic *_________p1 ;
8772 bool __warned ;
8773 int tmp ;
8774 int tmp___0 ;
8775 long tmp___1 ;
8776 long tmp___2 ;
8777 struct net_generic * const *__cil_tmp11 ;
8778 struct net_generic * const volatile *__cil_tmp12 ;
8779 struct net_generic * volatile __cil_tmp13 ;
8780 int __cil_tmp14 ;
8781 int __cil_tmp15 ;
8782 int __cil_tmp16 ;
8783 long __cil_tmp17 ;
8784 unsigned int __cil_tmp18 ;
8785 unsigned int __cil_tmp19 ;
8786 int __cil_tmp20 ;
8787 long __cil_tmp21 ;
8788
8789 {
8790 {
8791#line 38
8792 rcu_read_lock();
8793#line 39
8794 __cil_tmp11 = & net->gen;
8795#line 39
8796 __cil_tmp12 = (struct net_generic * const volatile *)__cil_tmp11;
8797#line 39
8798 __cil_tmp13 = *__cil_tmp12;
8799#line 39
8800 _________p1 = (struct net_generic *)__cil_tmp13;
8801#line 39
8802 tmp = debug_lockdep_rcu_enabled();
8803 }
8804#line 39
8805 if (tmp != 0) {
8806#line 39
8807 if (! __warned) {
8808 {
8809#line 39
8810 tmp___0 = rcu_read_lock_held();
8811 }
8812#line 39
8813 if (tmp___0 == 0) {
8814 {
8815#line 39
8816 __warned = (bool )1;
8817#line 39
8818 __cil_tmp14 = (int const )39;
8819#line 39
8820 __cil_tmp15 = (int )__cil_tmp14;
8821#line 39
8822 lockdep_rcu_dereference("include/net/netns/generic.h", __cil_tmp15);
8823 }
8824 } else {
8825
8826 }
8827 } else {
8828
8829 }
8830 } else {
8831
8832 }
8833 {
8834#line 39
8835 ng = _________p1;
8836#line 40
8837 __cil_tmp16 = id == 0;
8838#line 40
8839 __cil_tmp17 = (long )__cil_tmp16;
8840#line 40
8841 tmp___1 = __builtin_expect(__cil_tmp17, 0L);
8842 }
8843#line 40
8844 if (tmp___1 != 0L) {
8845#line 40
8846 goto _L;
8847 } else {
8848 {
8849#line 40
8850 __cil_tmp18 = ng->len;
8851#line 40
8852 __cil_tmp19 = (unsigned int )id;
8853#line 40
8854 __cil_tmp20 = __cil_tmp19 > __cil_tmp18;
8855#line 40
8856 __cil_tmp21 = (long )__cil_tmp20;
8857#line 40
8858 tmp___2 = __builtin_expect(__cil_tmp21, 0L);
8859 }
8860#line 40
8861 if (tmp___2 != 0L) {
8862 _L:
8863#line 40
8864 __asm__ volatile ("1:\tud2\n.pushsection __bug_table,\"a\"\n2:\t.long 1b - 2b, %c0 - 2b\n\t.word %c1, 0\n\t.org 2b+%c2\n.popsection": : "i" ((char *)"include/net/netns/generic.h"),
8865 "i" (40), "i" (12UL));
8866 ldv_39520: ;
8867#line 40
8868 goto ldv_39520;
8869 } else {
8870
8871 }
8872 }
8873 {
8874#line 41
8875 ptr = ng->ptr[id + -1];
8876#line 42
8877 rcu_read_unlock();
8878 }
8879#line 44
8880 return (ptr);
8881}
8882}
8883#line 191 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
8884static struct mutex ppp_mutex = {{1}, {{{{0U}, 3735899821U, 4294967295U, (void *)1152921504606846975UL, {(struct lock_class_key *)0,
8885 {(struct lock_class *)0,
8886 (struct lock_class *)0},
8887 "ppp_mutex.wait_lock",
8888 0, 0UL}}}},
8889 {& ppp_mutex.wait_list, & ppp_mutex.wait_list}, (struct task_struct *)0, (char const *)0,
8890 (void *)(& ppp_mutex), {(struct lock_class_key *)0, {(struct lock_class *)0, (struct lock_class *)0},
8891 "ppp_mutex", 0, 0UL}};
8892#line 192 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
8893static atomic_t ppp_unit_count = {0};
8894#line 193 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
8895static atomic_t channel_count = {0};
8896#line 196 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
8897static int ppp_net_id ;
8898#line 244
8899static int ppp_unattached_ioctl(struct net *net , struct ppp_file *pf , struct file *file ,
8900 unsigned int cmd , unsigned long arg ) ;
8901#line 246
8902static void ppp_xmit_process(struct ppp *ppp ) ;
8903#line 247
8904static void ppp_send_frame(struct ppp *ppp , struct sk_buff *skb ) ;
8905#line 248
8906static void ppp_push(struct ppp *ppp ) ;
8907#line 249
8908static void ppp_channel_push(struct channel *pch ) ;
8909#line 250
8910static void ppp_receive_frame(struct ppp *ppp , struct sk_buff *skb , struct channel *pch ) ;
8911#line 252
8912static void ppp_receive_error(struct ppp *ppp ) ;
8913#line 253
8914static void ppp_receive_nonmp_frame(struct ppp *ppp , struct sk_buff *skb ) ;
8915#line 254
8916static struct sk_buff *ppp_decompress_frame(struct ppp *ppp , struct sk_buff *skb ) ;
8917#line 257
8918static void ppp_receive_mp_frame(struct ppp *ppp , struct sk_buff *skb , struct channel *pch ) ;
8919#line 259
8920static void ppp_mp_insert(struct ppp *ppp , struct sk_buff *skb ) ;
8921#line 260
8922static struct sk_buff *ppp_mp_reconstruct(struct ppp *ppp ) ;
8923#line 261
8924static int ppp_mp_explode(struct ppp *ppp , struct sk_buff *skb ) ;
8925#line 263
8926static int ppp_set_compress(struct ppp *ppp , unsigned long arg ) ;
8927#line 264
8928static void ppp_ccp_peek(struct ppp *ppp , struct sk_buff *skb , int inbound ) ;
8929#line 265
8930static void ppp_ccp_closed(struct ppp *ppp ) ;
8931#line 266
8932static struct compressor *find_compressor(int type ) ;
8933#line 267
8934static void ppp_get_stats(struct ppp *ppp , struct ppp_stats *st ) ;
8935#line 268
8936static struct ppp *ppp_create_interface(struct net *net , int unit , int *retp ) ;
8937#line 269
8938static void init_ppp_file(struct ppp_file *pf , int kind ) ;
8939#line 270
8940static void ppp_shutdown_interface(struct ppp *ppp ) ;
8941#line 271
8942static void ppp_destroy_interface(struct ppp *ppp ) ;
8943#line 272
8944static struct ppp *ppp_find_unit(struct ppp_net *pn , int unit ) ;
8945#line 273
8946static struct channel *ppp_find_channel(struct ppp_net *pn , int unit ) ;
8947#line 274
8948static int ppp_connect_channel(struct channel *pch , int unit ) ;
8949#line 275
8950static int ppp_disconnect_channel(struct channel *pch ) ;
8951#line 276
8952static void ppp_destroy_channel(struct channel *pch ) ;
8953#line 277
8954static int unit_get(struct idr *p , void *ptr ) ;
8955#line 278
8956static int unit_set(struct idr *p , void *ptr , int n ) ;
8957#line 279
8958static void unit_put(struct idr *p , int n ) ;
8959#line 280
8960static void *unit_find(struct idr *p , int n ) ;
8961#line 282 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
8962static struct class *ppp_class ;
8963#line 285 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
8964__inline static struct ppp_net *ppp_pernet(struct net *net )
8965{ long tmp ;
8966 void *tmp___0 ;
8967 struct net *__cil_tmp4 ;
8968 unsigned long __cil_tmp5 ;
8969 unsigned long __cil_tmp6 ;
8970 int __cil_tmp7 ;
8971 long __cil_tmp8 ;
8972 struct net const *__cil_tmp9 ;
8973
8974 {
8975 {
8976#line 287
8977 __cil_tmp4 = (struct net *)0;
8978#line 287
8979 __cil_tmp5 = (unsigned long )__cil_tmp4;
8980#line 287
8981 __cil_tmp6 = (unsigned long )net;
8982#line 287
8983 __cil_tmp7 = __cil_tmp6 == __cil_tmp5;
8984#line 287
8985 __cil_tmp8 = (long )__cil_tmp7;
8986#line 287
8987 tmp = __builtin_expect(__cil_tmp8, 0L);
8988 }
8989#line 287
8990 if (tmp != 0L) {
8991#line 287
8992 __asm__ volatile ("1:\tud2\n.pushsection __bug_table,\"a\"\n2:\t.long 1b - 2b, %c0 - 2b\n\t.word %c1, 0\n\t.org 2b+%c2\n.popsection": : "i" ((char *)"/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"),
8993 "i" (287), "i" (12UL));
8994 ldv_39687: ;
8995#line 287
8996 goto ldv_39687;
8997 } else {
8998
8999 }
9000 {
9001#line 289
9002 __cil_tmp9 = (struct net const *)net;
9003#line 289
9004 tmp___0 = net_generic(__cil_tmp9, ppp_net_id);
9005 }
9006#line 289
9007 return ((struct ppp_net *)tmp___0);
9008}
9009}
9010#line 293 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
9011__inline static int proto_to_npindex(int proto )
9012{
9013
9014 {
9015#line 296
9016 if (proto == 33) {
9017#line 296
9018 goto case_33;
9019 } else
9020#line 298
9021 if (proto == 87) {
9022#line 298
9023 goto case_87;
9024 } else
9025#line 300
9026 if (proto == 43) {
9027#line 300
9028 goto case_43;
9029 } else
9030#line 302
9031 if (proto == 41) {
9032#line 302
9033 goto case_41;
9034 } else
9035#line 304
9036 if (proto == 641) {
9037#line 304
9038 goto case_641;
9039 } else
9040#line 306
9041 if (proto == 643) {
9042#line 306
9043 goto case_643;
9044 } else
9045#line 295
9046 if (0) {
9047 case_33: ;
9048#line 297
9049 return (0);
9050 case_87: ;
9051#line 299
9052 return (1);
9053 case_43: ;
9054#line 301
9055 return (2);
9056 case_41: ;
9057#line 303
9058 return (3);
9059 case_641: ;
9060#line 305
9061 return (4);
9062 case_643: ;
9063#line 307
9064 return (5);
9065 } else {
9066
9067 }
9068#line 309
9069 return (-22);
9070}
9071}
9072#line 313 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
9073static int const npindex_to_proto[6U] = { (int const )33, (int const )87, (int const )43, (int const )41,
9074 (int const )641, (int const )643};
9075#line 323 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
9076__inline static int ethertype_to_npindex(int ethertype )
9077{
9078
9079 {
9080#line 326
9081 if (ethertype == 2048) {
9082#line 326
9083 goto case_2048;
9084 } else
9085#line 328
9086 if (ethertype == 34525) {
9087#line 328
9088 goto case_34525;
9089 } else
9090#line 330
9091 if (ethertype == 33079) {
9092#line 330
9093 goto case_33079;
9094 } else
9095#line 332
9096 if (ethertype == 16) {
9097#line 332
9098 goto case_16;
9099 } else
9100#line 333
9101 if (ethertype == 32923) {
9102#line 333
9103 goto case_32923;
9104 } else
9105#line 335
9106 if (ethertype == 34887) {
9107#line 335
9108 goto case_34887;
9109 } else
9110#line 337
9111 if (ethertype == 34888) {
9112#line 337
9113 goto case_34888;
9114 } else
9115#line 325
9116 if (0) {
9117 case_2048: ;
9118#line 327
9119 return (0);
9120 case_34525: ;
9121#line 329
9122 return (1);
9123 case_33079: ;
9124#line 331
9125 return (2);
9126 case_16: ;
9127 case_32923: ;
9128#line 334
9129 return (3);
9130 case_34887: ;
9131#line 336
9132 return (4);
9133 case_34888: ;
9134#line 338
9135 return (5);
9136 } else {
9137
9138 }
9139#line 340
9140 return (-1);
9141}
9142}
9143#line 344 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
9144static int const npindex_to_ethertype[6U] = { (int const )2048, (int const )34525, (int const )33079, (int const )16,
9145 (int const )34887, (int const )34888};
9146#line 372 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
9147static int ppp_open(struct inode *inode , struct file *file )
9148{ bool tmp ;
9149 int tmp___0 ;
9150
9151 {
9152 {
9153#line 377
9154 tmp = capable(12);
9155 }
9156#line 377
9157 if (tmp) {
9158#line 377
9159 tmp___0 = 0;
9160 } else {
9161#line 377
9162 tmp___0 = 1;
9163 }
9164#line 377
9165 if (tmp___0) {
9166#line 378
9167 return (-1);
9168 } else {
9169
9170 }
9171#line 379
9172 return (0);
9173}
9174}
9175#line 382 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
9176static int ppp_release(struct inode *unused , struct file *file )
9177{ struct ppp_file *pf ;
9178 struct ppp *ppp ;
9179 struct ppp_file const *__mptr ;
9180 struct ppp_file const *__mptr___0 ;
9181 struct ppp_file const *__mptr___1 ;
9182 int tmp ;
9183 void *__cil_tmp9 ;
9184 struct ppp_file *__cil_tmp10 ;
9185 unsigned long __cil_tmp11 ;
9186 unsigned long __cil_tmp12 ;
9187 enum ldv_27071 __cil_tmp13 ;
9188 unsigned int __cil_tmp14 ;
9189 unsigned long __cil_tmp15 ;
9190 struct file *__cil_tmp16 ;
9191 unsigned long __cil_tmp17 ;
9192 atomic_t *__cil_tmp18 ;
9193 enum ldv_27071 __cil_tmp19 ;
9194 unsigned int __cil_tmp20 ;
9195 int __cil_tmp21 ;
9196 enum ldv_27071 __cil_tmp22 ;
9197 unsigned int __cil_tmp23 ;
9198 int __cil_tmp24 ;
9199 struct ppp *__cil_tmp25 ;
9200 struct channel *__cil_tmp26 ;
9201
9202 {
9203#line 384
9204 __cil_tmp9 = file->private_data;
9205#line 384
9206 pf = (struct ppp_file *)__cil_tmp9;
9207 {
9208#line 387
9209 __cil_tmp10 = (struct ppp_file *)0;
9210#line 387
9211 __cil_tmp11 = (unsigned long )__cil_tmp10;
9212#line 387
9213 __cil_tmp12 = (unsigned long )pf;
9214#line 387
9215 if (__cil_tmp12 != __cil_tmp11) {
9216#line 388
9217 file->private_data = (void *)0;
9218 {
9219#line 389
9220 __cil_tmp13 = pf->kind;
9221#line 389
9222 __cil_tmp14 = (unsigned int )__cil_tmp13;
9223#line 389
9224 if (__cil_tmp14 == 1U) {
9225#line 390
9226 __mptr = (struct ppp_file const *)pf;
9227#line 390
9228 ppp = (struct ppp *)__mptr;
9229 {
9230#line 391
9231 __cil_tmp15 = (unsigned long )file;
9232#line 391
9233 __cil_tmp16 = ppp->owner;
9234#line 391
9235 __cil_tmp17 = (unsigned long )__cil_tmp16;
9236#line 391
9237 if (__cil_tmp17 == __cil_tmp15) {
9238 {
9239#line 392
9240 ppp_shutdown_interface(ppp);
9241 }
9242 } else {
9243
9244 }
9245 }
9246 } else {
9247
9248 }
9249 }
9250 {
9251#line 394
9252 __cil_tmp18 = & pf->refcnt;
9253#line 394
9254 tmp = atomic_dec_and_test(__cil_tmp18);
9255 }
9256#line 394
9257 if (tmp != 0) {
9258 {
9259#line 396
9260 __cil_tmp19 = pf->kind;
9261#line 396
9262 __cil_tmp20 = (unsigned int )__cil_tmp19;
9263#line 396
9264 __cil_tmp21 = (int )__cil_tmp20;
9265#line 396
9266 if (__cil_tmp21 == 1) {
9267#line 396
9268 goto case_1;
9269 } else {
9270 {
9271#line 399
9272 __cil_tmp22 = pf->kind;
9273#line 399
9274 __cil_tmp23 = (unsigned int )__cil_tmp22;
9275#line 399
9276 __cil_tmp24 = (int )__cil_tmp23;
9277#line 399
9278 if (__cil_tmp24 == 2) {
9279#line 399
9280 goto case_2;
9281 } else
9282#line 395
9283 if (0) {
9284 case_1:
9285 {
9286#line 397
9287 __mptr___0 = (struct ppp_file const *)pf;
9288#line 397
9289 __cil_tmp25 = (struct ppp *)__mptr___0;
9290#line 397
9291 ppp_destroy_interface(__cil_tmp25);
9292 }
9293#line 398
9294 goto ldv_39724;
9295 case_2:
9296 {
9297#line 400
9298 __mptr___1 = (struct ppp_file const *)pf;
9299#line 400
9300 __cil_tmp26 = (struct channel *)__mptr___1;
9301#line 400
9302 ppp_destroy_channel(__cil_tmp26);
9303 }
9304#line 401
9305 goto ldv_39724;
9306 } else {
9307
9308 }
9309 }
9310 }
9311 }
9312 ldv_39724: ;
9313 } else {
9314
9315 }
9316 } else {
9317
9318 }
9319 }
9320#line 405
9321 return (0);
9322}
9323}
9324#line 408 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
9325static ssize_t ppp_read(struct file *file , char *buf , size_t count , loff_t *ppos )
9326{ struct ppp_file *pf ;
9327 wait_queue_t wait ;
9328 struct task_struct *tmp ;
9329 ssize_t ret ;
9330 struct sk_buff *skb ;
9331 struct iovec iov ;
9332 long volatile __x ;
9333 u8 volatile *__ptr ;
9334 struct task_struct *tmp___0 ;
9335 u16 volatile *__ptr___0 ;
9336 struct task_struct *tmp___1 ;
9337 u32 volatile *__ptr___1 ;
9338 struct task_struct *tmp___2 ;
9339 u64 volatile *__ptr___2 ;
9340 struct task_struct *tmp___3 ;
9341 struct ppp *ppp ;
9342 struct ppp_file const *__mptr ;
9343 struct task_struct *tmp___4 ;
9344 int tmp___5 ;
9345 long volatile __x___0 ;
9346 u8 volatile *__ptr___3 ;
9347 struct task_struct *tmp___6 ;
9348 u16 volatile *__ptr___4 ;
9349 struct task_struct *tmp___7 ;
9350 u32 volatile *__ptr___5 ;
9351 struct task_struct *tmp___8 ;
9352 u64 volatile *__ptr___6 ;
9353 struct task_struct *tmp___9 ;
9354 int tmp___10 ;
9355 void *__cil_tmp34 ;
9356 struct ppp_file *__cil_tmp35 ;
9357 unsigned long __cil_tmp36 ;
9358 unsigned long __cil_tmp37 ;
9359 wait_queue_head_t *__cil_tmp38 ;
9360 long volatile *__cil_tmp39 ;
9361 long volatile *__cil_tmp40 ;
9362 long volatile *__cil_tmp41 ;
9363 long volatile *__cil_tmp42 ;
9364 struct sk_buff_head *__cil_tmp43 ;
9365 struct sk_buff *__cil_tmp44 ;
9366 unsigned long __cil_tmp45 ;
9367 unsigned long __cil_tmp46 ;
9368 int __cil_tmp47 ;
9369 enum ldv_27071 __cil_tmp48 ;
9370 unsigned int __cil_tmp49 ;
9371 int __cil_tmp50 ;
9372 unsigned int __cil_tmp51 ;
9373 unsigned int __cil_tmp52 ;
9374 unsigned int __cil_tmp53 ;
9375 unsigned int __cil_tmp54 ;
9376 long volatile *__cil_tmp55 ;
9377 long volatile *__cil_tmp56 ;
9378 long volatile *__cil_tmp57 ;
9379 long volatile *__cil_tmp58 ;
9380 wait_queue_head_t *__cil_tmp59 ;
9381 struct sk_buff *__cil_tmp60 ;
9382 unsigned long __cil_tmp61 ;
9383 unsigned long __cil_tmp62 ;
9384 unsigned int __cil_tmp63 ;
9385 size_t __cil_tmp64 ;
9386 struct sk_buff const *__cil_tmp65 ;
9387 unsigned int __cil_tmp66 ;
9388 int __cil_tmp67 ;
9389 unsigned int __cil_tmp68 ;
9390
9391 {
9392 {
9393#line 411
9394 __cil_tmp34 = file->private_data;
9395#line 411
9396 pf = (struct ppp_file *)__cil_tmp34;
9397#line 412
9398 tmp = get_current();
9399#line 412
9400 wait.flags = 0U;
9401#line 412
9402 wait.private = (void *)tmp;
9403#line 412
9404 wait.func = & default_wake_function;
9405#line 412
9406 wait.task_list.next = (struct list_head *)0;
9407#line 412
9408 wait.task_list.prev = (struct list_head *)0;
9409#line 414
9410 skb = (struct sk_buff *)0;
9411#line 417
9412 ret = (ssize_t )count;
9413 }
9414 {
9415#line 419
9416 __cil_tmp35 = (struct ppp_file *)0;
9417#line 419
9418 __cil_tmp36 = (unsigned long )__cil_tmp35;
9419#line 419
9420 __cil_tmp37 = (unsigned long )pf;
9421#line 419
9422 if (__cil_tmp37 == __cil_tmp36) {
9423#line 420
9424 return (-6L);
9425 } else {
9426
9427 }
9428 }
9429 {
9430#line 421
9431 __cil_tmp38 = & pf->rwait;
9432#line 421
9433 add_wait_queue(__cil_tmp38, & wait);
9434 }
9435 ldv_39755:
9436#line 423
9437 __x = (long volatile )1L;
9438#line 423
9439 if (1) {
9440#line 423
9441 goto case_8;
9442 } else {
9443#line 423
9444 goto switch_default;
9445#line 423
9446 if (0) {
9447 {
9448#line 423
9449 tmp___0 = get_current();
9450#line 423
9451 __cil_tmp39 = & tmp___0->state;
9452#line 423
9453 __ptr = (u8 volatile *)__cil_tmp39;
9454#line 423
9455 __asm__ volatile ("xchgb %0,%1": "=q" (__x), "+m" (*__ptr): "0" (__x): "memory");
9456 }
9457#line 423
9458 goto ldv_39742;
9459 {
9460#line 423
9461 tmp___1 = get_current();
9462#line 423
9463 __cil_tmp40 = & tmp___1->state;
9464#line 423
9465 __ptr___0 = (u16 volatile *)__cil_tmp40;
9466#line 423
9467 __asm__ volatile ("xchgw %0,%1": "=r" (__x), "+m" (*__ptr___0): "0" (__x): "memory");
9468 }
9469#line 423
9470 goto ldv_39742;
9471 {
9472#line 423
9473 tmp___2 = get_current();
9474#line 423
9475 __cil_tmp41 = & tmp___2->state;
9476#line 423
9477 __ptr___1 = (u32 volatile *)__cil_tmp41;
9478#line 423
9479 __asm__ volatile ("xchgl %0,%1": "=r" (__x), "+m" (*__ptr___1): "0" (__x): "memory");
9480 }
9481#line 423
9482 goto ldv_39742;
9483 case_8:
9484 {
9485#line 423
9486 tmp___3 = get_current();
9487#line 423
9488 __cil_tmp42 = & tmp___3->state;
9489#line 423
9490 __ptr___2 = (u64 volatile *)__cil_tmp42;
9491#line 423
9492 __asm__ volatile ("xchgq %0,%1": "=r" (__x), "+m" (*__ptr___2): "0" (__x): "memory");
9493 }
9494#line 423
9495 goto ldv_39742;
9496 switch_default:
9497 {
9498#line 423
9499 __xchg_wrong_size();
9500 }
9501 } else {
9502
9503 }
9504 }
9505 ldv_39742:
9506 {
9507#line 424
9508 __cil_tmp43 = & pf->rq;
9509#line 424
9510 skb = skb_dequeue(__cil_tmp43);
9511 }
9512 {
9513#line 425
9514 __cil_tmp44 = (struct sk_buff *)0;
9515#line 425
9516 __cil_tmp45 = (unsigned long )__cil_tmp44;
9517#line 425
9518 __cil_tmp46 = (unsigned long )skb;
9519#line 425
9520 if (__cil_tmp46 != __cil_tmp45) {
9521#line 426
9522 goto ldv_39751;
9523 } else {
9524
9525 }
9526 }
9527#line 427
9528 ret = 0L;
9529 {
9530#line 428
9531 __cil_tmp47 = pf->dead;
9532#line 428
9533 if (__cil_tmp47 != 0) {
9534#line 429
9535 goto ldv_39751;
9536 } else {
9537
9538 }
9539 }
9540 {
9541#line 430
9542 __cil_tmp48 = pf->kind;
9543#line 430
9544 __cil_tmp49 = (unsigned int )__cil_tmp48;
9545#line 430
9546 if (__cil_tmp49 == 1U) {
9547#line 436
9548 __mptr = (struct ppp_file const *)pf;
9549#line 436
9550 ppp = (struct ppp *)__mptr;
9551 {
9552#line 437
9553 __cil_tmp50 = ppp->n_channels;
9554#line 437
9555 if (__cil_tmp50 == 0) {
9556 {
9557#line 437
9558 __cil_tmp51 = ppp->flags;
9559#line 437
9560 __cil_tmp52 = __cil_tmp51 & 512U;
9561#line 437
9562 if (__cil_tmp52 == 0U) {
9563#line 439
9564 goto ldv_39751;
9565 } else {
9566
9567 }
9568 }
9569 } else {
9570
9571 }
9572 }
9573 } else {
9574
9575 }
9576 }
9577#line 441
9578 ret = -11L;
9579 {
9580#line 442
9581 __cil_tmp53 = file->f_flags;
9582#line 442
9583 __cil_tmp54 = __cil_tmp53 & 2048U;
9584#line 442
9585 if (__cil_tmp54 != 0U) {
9586#line 443
9587 goto ldv_39751;
9588 } else {
9589
9590 }
9591 }
9592 {
9593#line 444
9594 ret = -512L;
9595#line 445
9596 tmp___4 = get_current();
9597#line 445
9598 tmp___5 = signal_pending(tmp___4);
9599 }
9600#line 445
9601 if (tmp___5 != 0) {
9602#line 446
9603 goto ldv_39751;
9604 } else {
9605
9606 }
9607 {
9608#line 447
9609 schedule();
9610 }
9611#line 448
9612 goto ldv_39755;
9613 ldv_39751:
9614#line 449
9615 __x___0 = (long volatile )0L;
9616#line 449
9617 if (1) {
9618#line 449
9619 goto case_8___0;
9620 } else {
9621#line 449
9622 goto switch_default___0;
9623#line 449
9624 if (0) {
9625 {
9626#line 449
9627 tmp___6 = get_current();
9628#line 449
9629 __cil_tmp55 = & tmp___6->state;
9630#line 449
9631 __ptr___3 = (u8 volatile *)__cil_tmp55;
9632#line 449
9633 __asm__ volatile ("xchgb %0,%1": "=q" (__x___0), "+m" (*__ptr___3): "0" (__x___0): "memory");
9634 }
9635#line 449
9636 goto ldv_39759;
9637 {
9638#line 449
9639 tmp___7 = get_current();
9640#line 449
9641 __cil_tmp56 = & tmp___7->state;
9642#line 449
9643 __ptr___4 = (u16 volatile *)__cil_tmp56;
9644#line 449
9645 __asm__ volatile ("xchgw %0,%1": "=r" (__x___0), "+m" (*__ptr___4): "0" (__x___0): "memory");
9646 }
9647#line 449
9648 goto ldv_39759;
9649 {
9650#line 449
9651 tmp___8 = get_current();
9652#line 449
9653 __cil_tmp57 = & tmp___8->state;
9654#line 449
9655 __ptr___5 = (u32 volatile *)__cil_tmp57;
9656#line 449
9657 __asm__ volatile ("xchgl %0,%1": "=r" (__x___0), "+m" (*__ptr___5): "0" (__x___0): "memory");
9658 }
9659#line 449
9660 goto ldv_39759;
9661 case_8___0:
9662 {
9663#line 449
9664 tmp___9 = get_current();
9665#line 449
9666 __cil_tmp58 = & tmp___9->state;
9667#line 449
9668 __ptr___6 = (u64 volatile *)__cil_tmp58;
9669#line 449
9670 __asm__ volatile ("xchgq %0,%1": "=r" (__x___0), "+m" (*__ptr___6): "0" (__x___0): "memory");
9671 }
9672#line 449
9673 goto ldv_39759;
9674 switch_default___0:
9675 {
9676#line 449
9677 __xchg_wrong_size();
9678 }
9679 } else {
9680
9681 }
9682 }
9683 ldv_39759:
9684 {
9685#line 450
9686 __cil_tmp59 = & pf->rwait;
9687#line 450
9688 remove_wait_queue(__cil_tmp59, & wait);
9689 }
9690 {
9691#line 452
9692 __cil_tmp60 = (struct sk_buff *)0;
9693#line 452
9694 __cil_tmp61 = (unsigned long )__cil_tmp60;
9695#line 452
9696 __cil_tmp62 = (unsigned long )skb;
9697#line 452
9698 if (__cil_tmp62 == __cil_tmp61) {
9699#line 453
9700 goto out;
9701 } else {
9702
9703 }
9704 }
9705#line 455
9706 ret = -75L;
9707 {
9708#line 456
9709 __cil_tmp63 = skb->len;
9710#line 456
9711 __cil_tmp64 = (size_t )__cil_tmp63;
9712#line 456
9713 if (__cil_tmp64 > count) {
9714#line 457
9715 goto outf;
9716 } else {
9717
9718 }
9719 }
9720 {
9721#line 458
9722 ret = -14L;
9723#line 459
9724 iov.iov_base = (void *)buf;
9725#line 460
9726 iov.iov_len = count;
9727#line 461
9728 __cil_tmp65 = (struct sk_buff const *)skb;
9729#line 461
9730 __cil_tmp66 = skb->len;
9731#line 461
9732 __cil_tmp67 = (int )__cil_tmp66;
9733#line 461
9734 tmp___10 = skb_copy_datagram_iovec(__cil_tmp65, 0, & iov, __cil_tmp67);
9735 }
9736#line 461
9737 if (tmp___10 != 0) {
9738#line 462
9739 goto outf;
9740 } else {
9741
9742 }
9743#line 463
9744 __cil_tmp68 = skb->len;
9745#line 463
9746 ret = (ssize_t )__cil_tmp68;
9747 outf:
9748 {
9749#line 466
9750 kfree_skb(skb);
9751 }
9752 out: ;
9753#line 468
9754 return (ret);
9755}
9756}
9757#line 471 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
9758static ssize_t ppp_write(struct file *file , char const *buf , size_t count , loff_t *ppos )
9759{ struct ppp_file *pf ;
9760 struct sk_buff *skb ;
9761 ssize_t ret ;
9762 unsigned char *tmp ;
9763 unsigned long tmp___0 ;
9764 struct ppp_file const *__mptr ;
9765 struct ppp_file const *__mptr___0 ;
9766 void *__cil_tmp12 ;
9767 struct ppp_file *__cil_tmp13 ;
9768 unsigned long __cil_tmp14 ;
9769 unsigned long __cil_tmp15 ;
9770 unsigned int __cil_tmp16 ;
9771 int __cil_tmp17 ;
9772 unsigned int __cil_tmp18 ;
9773 unsigned int __cil_tmp19 ;
9774 struct sk_buff *__cil_tmp20 ;
9775 unsigned long __cil_tmp21 ;
9776 unsigned long __cil_tmp22 ;
9777 int __cil_tmp23 ;
9778 unsigned int __cil_tmp24 ;
9779 void *__cil_tmp25 ;
9780 void const *__cil_tmp26 ;
9781 struct sk_buff_head *__cil_tmp27 ;
9782 enum ldv_27071 __cil_tmp28 ;
9783 unsigned int __cil_tmp29 ;
9784 int __cil_tmp30 ;
9785 enum ldv_27071 __cil_tmp31 ;
9786 unsigned int __cil_tmp32 ;
9787 int __cil_tmp33 ;
9788 struct ppp *__cil_tmp34 ;
9789 struct channel *__cil_tmp35 ;
9790
9791 {
9792#line 474
9793 __cil_tmp12 = file->private_data;
9794#line 474
9795 pf = (struct ppp_file *)__cil_tmp12;
9796 {
9797#line 478
9798 __cil_tmp13 = (struct ppp_file *)0;
9799#line 478
9800 __cil_tmp14 = (unsigned long )__cil_tmp13;
9801#line 478
9802 __cil_tmp15 = (unsigned long )pf;
9803#line 478
9804 if (__cil_tmp15 == __cil_tmp14) {
9805#line 479
9806 return (-6L);
9807 } else {
9808
9809 }
9810 }
9811 {
9812#line 480
9813 ret = -12L;
9814#line 481
9815 __cil_tmp16 = (unsigned int )count;
9816#line 481
9817 __cil_tmp17 = pf->hdrlen;
9818#line 481
9819 __cil_tmp18 = (unsigned int )__cil_tmp17;
9820#line 481
9821 __cil_tmp19 = __cil_tmp18 + __cil_tmp16;
9822#line 481
9823 skb = alloc_skb(__cil_tmp19, 208U);
9824 }
9825 {
9826#line 482
9827 __cil_tmp20 = (struct sk_buff *)0;
9828#line 482
9829 __cil_tmp21 = (unsigned long )__cil_tmp20;
9830#line 482
9831 __cil_tmp22 = (unsigned long )skb;
9832#line 482
9833 if (__cil_tmp22 == __cil_tmp21) {
9834#line 483
9835 goto out;
9836 } else {
9837
9838 }
9839 }
9840 {
9841#line 484
9842 __cil_tmp23 = pf->hdrlen;
9843#line 484
9844 skb_reserve(skb, __cil_tmp23);
9845#line 485
9846 ret = -14L;
9847#line 486
9848 __cil_tmp24 = (unsigned int )count;
9849#line 486
9850 tmp = skb_put(skb, __cil_tmp24);
9851#line 486
9852 __cil_tmp25 = (void *)tmp;
9853#line 486
9854 __cil_tmp26 = (void const *)buf;
9855#line 486
9856 tmp___0 = copy_from_user(__cil_tmp25, __cil_tmp26, count);
9857 }
9858#line 486
9859 if (tmp___0 != 0UL) {
9860 {
9861#line 487
9862 kfree_skb(skb);
9863 }
9864#line 488
9865 goto out;
9866 } else {
9867
9868 }
9869 {
9870#line 491
9871 __cil_tmp27 = & pf->xq;
9872#line 491
9873 skb_queue_tail(__cil_tmp27, skb);
9874 }
9875 {
9876#line 494
9877 __cil_tmp28 = pf->kind;
9878#line 494
9879 __cil_tmp29 = (unsigned int )__cil_tmp28;
9880#line 494
9881 __cil_tmp30 = (int )__cil_tmp29;
9882#line 494
9883 if (__cil_tmp30 == 1) {
9884#line 494
9885 goto case_1;
9886 } else {
9887 {
9888#line 497
9889 __cil_tmp31 = pf->kind;
9890#line 497
9891 __cil_tmp32 = (unsigned int )__cil_tmp31;
9892#line 497
9893 __cil_tmp33 = (int )__cil_tmp32;
9894#line 497
9895 if (__cil_tmp33 == 2) {
9896#line 497
9897 goto case_2;
9898 } else
9899#line 493
9900 if (0) {
9901 case_1:
9902 {
9903#line 495
9904 __mptr = (struct ppp_file const *)pf;
9905#line 495
9906 __cil_tmp34 = (struct ppp *)__mptr;
9907#line 495
9908 ppp_xmit_process(__cil_tmp34);
9909 }
9910#line 496
9911 goto ldv_39783;
9912 case_2:
9913 {
9914#line 498
9915 __mptr___0 = (struct ppp_file const *)pf;
9916#line 498
9917 __cil_tmp35 = (struct channel *)__mptr___0;
9918#line 498
9919 ppp_channel_push(__cil_tmp35);
9920 }
9921#line 499
9922 goto ldv_39783;
9923 } else {
9924
9925 }
9926 }
9927 }
9928 }
9929 ldv_39783:
9930#line 502
9931 ret = (ssize_t )count;
9932 out: ;
9933#line 505
9934 return (ret);
9935}
9936}
9937#line 509 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
9938static unsigned int ppp_poll(struct file *file , poll_table *wait )
9939{ struct ppp_file *pf ;
9940 unsigned int mask ;
9941 struct sk_buff *tmp ;
9942 struct ppp *ppp ;
9943 struct ppp_file const *__mptr ;
9944 void *__cil_tmp8 ;
9945 struct ppp_file *__cil_tmp9 ;
9946 unsigned long __cil_tmp10 ;
9947 unsigned long __cil_tmp11 ;
9948 wait_queue_head_t *__cil_tmp12 ;
9949 struct sk_buff_head *__cil_tmp13 ;
9950 struct sk_buff *__cil_tmp14 ;
9951 unsigned long __cil_tmp15 ;
9952 unsigned long __cil_tmp16 ;
9953 int __cil_tmp17 ;
9954 enum ldv_27071 __cil_tmp18 ;
9955 unsigned int __cil_tmp19 ;
9956 int __cil_tmp20 ;
9957 unsigned int __cil_tmp21 ;
9958 unsigned int __cil_tmp22 ;
9959
9960 {
9961#line 511
9962 __cil_tmp8 = file->private_data;
9963#line 511
9964 pf = (struct ppp_file *)__cil_tmp8;
9965 {
9966#line 514
9967 __cil_tmp9 = (struct ppp_file *)0;
9968#line 514
9969 __cil_tmp10 = (unsigned long )__cil_tmp9;
9970#line 514
9971 __cil_tmp11 = (unsigned long )pf;
9972#line 514
9973 if (__cil_tmp11 == __cil_tmp10) {
9974#line 515
9975 return (0U);
9976 } else {
9977
9978 }
9979 }
9980 {
9981#line 516
9982 __cil_tmp12 = & pf->rwait;
9983#line 516
9984 poll_wait(file, __cil_tmp12, wait);
9985#line 517
9986 mask = 260U;
9987#line 518
9988 __cil_tmp13 = & pf->rq;
9989#line 518
9990 tmp = skb_peek(__cil_tmp13);
9991 }
9992 {
9993#line 518
9994 __cil_tmp14 = (struct sk_buff *)0;
9995#line 518
9996 __cil_tmp15 = (unsigned long )__cil_tmp14;
9997#line 518
9998 __cil_tmp16 = (unsigned long )tmp;
9999#line 518
10000 if (__cil_tmp16 != __cil_tmp15) {
10001#line 519
10002 mask = mask | 65U;
10003 } else {
10004
10005 }
10006 }
10007 {
10008#line 520
10009 __cil_tmp17 = pf->dead;
10010#line 520
10011 if (__cil_tmp17 != 0) {
10012#line 521
10013 mask = mask | 16U;
10014 } else {
10015 {
10016#line 522
10017 __cil_tmp18 = pf->kind;
10018#line 522
10019 __cil_tmp19 = (unsigned int )__cil_tmp18;
10020#line 522
10021 if (__cil_tmp19 == 1U) {
10022#line 524
10023 __mptr = (struct ppp_file const *)pf;
10024#line 524
10025 ppp = (struct ppp *)__mptr;
10026 {
10027#line 525
10028 __cil_tmp20 = ppp->n_channels;
10029#line 525
10030 if (__cil_tmp20 == 0) {
10031 {
10032#line 525
10033 __cil_tmp21 = ppp->flags;
10034#line 525
10035 __cil_tmp22 = __cil_tmp21 & 512U;
10036#line 525
10037 if (__cil_tmp22 == 0U) {
10038#line 527
10039 mask = mask | 65U;
10040 } else {
10041
10042 }
10043 }
10044 } else {
10045
10046 }
10047 }
10048 } else {
10049
10050 }
10051 }
10052 }
10053 }
10054#line 530
10055 return (mask);
10056}
10057}
10058#line 534 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
10059static int get_filter(void *arg , struct sock_filter **p )
10060{ struct sock_fprog uprog ;
10061 struct sock_filter *code ;
10062 int len ;
10063 int err ;
10064 unsigned long tmp ;
10065 void *tmp___0 ;
10066 long tmp___1 ;
10067 long tmp___2 ;
10068 void *__cil_tmp11 ;
10069 void const *__cil_tmp12 ;
10070 unsigned int __cil_tmp13 ;
10071 unsigned int __cil_tmp14 ;
10072 unsigned int __cil_tmp15 ;
10073 void const *__cil_tmp16 ;
10074 size_t __cil_tmp17 ;
10075 void const *__cil_tmp18 ;
10076 void const *__cil_tmp19 ;
10077 int __cil_tmp20 ;
10078 void const *__cil_tmp21 ;
10079
10080 {
10081 {
10082#line 537
10083 code = (struct sock_filter *)0;
10084#line 540
10085 __cil_tmp11 = (void *)(& uprog);
10086#line 540
10087 __cil_tmp12 = (void const *)arg;
10088#line 540
10089 tmp = copy_from_user(__cil_tmp11, __cil_tmp12, 16UL);
10090 }
10091#line 540
10092 if (tmp != 0UL) {
10093#line 541
10094 return (-14);
10095 } else {
10096
10097 }
10098 {
10099#line 543
10100 __cil_tmp13 = (unsigned int )uprog.len;
10101#line 543
10102 if (__cil_tmp13 == 0U) {
10103#line 544
10104 *p = (struct sock_filter *)0;
10105#line 545
10106 return (0);
10107 } else {
10108
10109 }
10110 }
10111 {
10112#line 548
10113 __cil_tmp14 = (unsigned int )uprog.len;
10114#line 548
10115 __cil_tmp15 = __cil_tmp14 * 8U;
10116#line 548
10117 len = (int )__cil_tmp15;
10118#line 549
10119 __cil_tmp16 = (void const *)uprog.filter;
10120#line 549
10121 __cil_tmp17 = (size_t )len;
10122#line 549
10123 tmp___0 = memdup_user(__cil_tmp16, __cil_tmp17);
10124#line 549
10125 code = (struct sock_filter *)tmp___0;
10126#line 550
10127 __cil_tmp18 = (void const *)code;
10128#line 550
10129 tmp___2 = IS_ERR(__cil_tmp18);
10130 }
10131#line 550
10132 if (tmp___2 != 0L) {
10133 {
10134#line 551
10135 __cil_tmp19 = (void const *)code;
10136#line 551
10137 tmp___1 = PTR_ERR(__cil_tmp19);
10138 }
10139#line 551
10140 return ((int )tmp___1);
10141 } else {
10142
10143 }
10144 {
10145#line 553
10146 __cil_tmp20 = (int )uprog.len;
10147#line 553
10148 err = sk_chk_filter(code, __cil_tmp20);
10149 }
10150#line 554
10151 if (err != 0) {
10152 {
10153#line 555
10154 __cil_tmp21 = (void const *)code;
10155#line 555
10156 kfree(__cil_tmp21);
10157 }
10158#line 556
10159 return (err);
10160 } else {
10161
10162 }
10163#line 559
10164 *p = code;
10165#line 560
10166 return ((int )uprog.len);
10167}
10168}
10169#line 564 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
10170static long ppp_ioctl(struct file *file , unsigned int cmd , unsigned long arg )
10171{ struct ppp_file *pf ;
10172 struct ppp *ppp ;
10173 int err ;
10174 int val ;
10175 int val2 ;
10176 int i ;
10177 struct ppp_idle idle ;
10178 struct npioctl npi ;
10179 int unit ;
10180 int cflags ;
10181 struct slcompress *vj ;
10182 void *argp ;
10183 int *p ;
10184 struct task_struct *tmp ;
10185 int tmp___0 ;
10186 struct ppp_file const *__mptr ;
10187 long tmp___1 ;
10188 long tmp___2 ;
10189 struct channel *pch ;
10190 struct ppp_channel *chan ;
10191 struct ppp_file const *__mptr___0 ;
10192 int __ret_gu ;
10193 unsigned long __val_gu ;
10194 struct ppp_file const *__mptr___1 ;
10195 int __ret_gu___0 ;
10196 unsigned long __val_gu___0 ;
10197 int __ret_gu___1 ;
10198 unsigned long __val_gu___1 ;
10199 int __ret_pu ;
10200 int __pu_val ;
10201 int __ret_pu___0 ;
10202 int __pu_val___0 ;
10203 int __ret_gu___2 ;
10204 unsigned long __val_gu___2 ;
10205 int __ret_pu___1 ;
10206 int __pu_val___1 ;
10207 int tmp___3 ;
10208 int __ret_gu___3 ;
10209 unsigned long __val_gu___3 ;
10210 unsigned long tmp___4 ;
10211 int tmp___5 ;
10212 struct sock_filter *code ;
10213 struct sock_filter *code___0 ;
10214 int __ret_gu___4 ;
10215 unsigned long __val_gu___4 ;
10216 void *__cil_tmp49 ;
10217 struct ppp_file *__cil_tmp50 ;
10218 unsigned long __cil_tmp51 ;
10219 unsigned long __cil_tmp52 ;
10220 struct nsproxy *__cil_tmp53 ;
10221 struct net *__cil_tmp54 ;
10222 enum ldv_27071 __cil_tmp55 ;
10223 unsigned int __cil_tmp56 ;
10224 unsigned long __cil_tmp57 ;
10225 struct file *__cil_tmp58 ;
10226 unsigned long __cil_tmp59 ;
10227 atomic_long_t *__cil_tmp60 ;
10228 struct inode *__cil_tmp61 ;
10229 atomic_long_t *__cil_tmp62 ;
10230 enum ldv_27071 __cil_tmp63 ;
10231 unsigned int __cil_tmp64 ;
10232 int __cil_tmp65 ;
10233 int __cil_tmp66 ;
10234 struct rw_semaphore *__cil_tmp67 ;
10235 struct ppp_channel *__cil_tmp68 ;
10236 unsigned long __cil_tmp69 ;
10237 unsigned long __cil_tmp70 ;
10238 int (*__cil_tmp71)(struct ppp_channel * , unsigned int , unsigned long ) ;
10239 unsigned long __cil_tmp72 ;
10240 struct ppp_channel_ops const *__cil_tmp73 ;
10241 int (*__cil_tmp74)(struct ppp_channel * , unsigned int , unsigned long ) ;
10242 unsigned long __cil_tmp75 ;
10243 struct ppp_channel_ops const *__cil_tmp76 ;
10244 int (*__cil_tmp77)(struct ppp_channel * , unsigned int , unsigned long ) ;
10245 struct rw_semaphore *__cil_tmp78 ;
10246 enum ldv_27071 __cil_tmp79 ;
10247 unsigned int __cil_tmp80 ;
10248 int __cil_tmp81 ;
10249 int __cil_tmp82 ;
10250 int __cil_tmp83 ;
10251 int __cil_tmp84 ;
10252 int __cil_tmp85 ;
10253 int __cil_tmp86 ;
10254 int __cil_tmp87 ;
10255 int __cil_tmp88 ;
10256 int __cil_tmp89 ;
10257 int __cil_tmp90 ;
10258 int __cil_tmp91 ;
10259 int __cil_tmp92 ;
10260 int __cil_tmp93 ;
10261 int __cil_tmp94 ;
10262 spinlock_t *__cil_tmp95 ;
10263 spinlock_t *__cil_tmp96 ;
10264 int __cil_tmp97 ;
10265 unsigned int __cil_tmp98 ;
10266 unsigned int __cil_tmp99 ;
10267 unsigned int __cil_tmp100 ;
10268 unsigned int __cil_tmp101 ;
10269 spinlock_t *__cil_tmp102 ;
10270 spinlock_t *__cil_tmp103 ;
10271 int __cil_tmp104 ;
10272 unsigned int __cil_tmp105 ;
10273 unsigned int __cil_tmp106 ;
10274 unsigned int __cil_tmp107 ;
10275 unsigned int __cil_tmp108 ;
10276 unsigned int __cil_tmp109 ;
10277 unsigned long __cil_tmp110 ;
10278 unsigned long __cil_tmp111 ;
10279 unsigned long __cil_tmp112 ;
10280 unsigned long __cil_tmp113 ;
10281 unsigned long __cil_tmp114 ;
10282 unsigned long __cil_tmp115 ;
10283 unsigned long __cil_tmp116 ;
10284 unsigned long __cil_tmp117 ;
10285 void const *__cil_tmp118 ;
10286 int __cil_tmp119 ;
10287 int __cil_tmp120 ;
10288 int __cil_tmp121 ;
10289 struct slcompress *__cil_tmp122 ;
10290 unsigned long __cil_tmp123 ;
10291 unsigned long __cil_tmp124 ;
10292 struct net_device *__cil_tmp125 ;
10293 struct net_device const *__cil_tmp126 ;
10294 spinlock_t *__cil_tmp127 ;
10295 spinlock_t *__cil_tmp128 ;
10296 struct slcompress *__cil_tmp129 ;
10297 unsigned long __cil_tmp130 ;
10298 struct slcompress *__cil_tmp131 ;
10299 unsigned long __cil_tmp132 ;
10300 struct slcompress *__cil_tmp133 ;
10301 spinlock_t *__cil_tmp134 ;
10302 spinlock_t *__cil_tmp135 ;
10303 void *__cil_tmp136 ;
10304 void const *__cil_tmp137 ;
10305 void const *__cil_tmp138 ;
10306 struct net_device *__cil_tmp139 ;
10307 spinlock_t *__cil_tmp140 ;
10308 spinlock_t *__cil_tmp141 ;
10309 struct sock_filter *__cil_tmp142 ;
10310 void const *__cil_tmp143 ;
10311 spinlock_t *__cil_tmp144 ;
10312 spinlock_t *__cil_tmp145 ;
10313 spinlock_t *__cil_tmp146 ;
10314 spinlock_t *__cil_tmp147 ;
10315 struct sock_filter *__cil_tmp148 ;
10316 void const *__cil_tmp149 ;
10317 spinlock_t *__cil_tmp150 ;
10318 spinlock_t *__cil_tmp151 ;
10319 spinlock_t *__cil_tmp152 ;
10320 spinlock_t *__cil_tmp153 ;
10321
10322 {
10323#line 566
10324 __cil_tmp49 = file->private_data;
10325#line 566
10326 pf = (struct ppp_file *)__cil_tmp49;
10327#line 568
10328 err = -14;
10329#line 573
10330 argp = (void *)arg;
10331#line 574
10332 p = (int *)argp;
10333 {
10334#line 576
10335 __cil_tmp50 = (struct ppp_file *)0;
10336#line 576
10337 __cil_tmp51 = (unsigned long )__cil_tmp50;
10338#line 576
10339 __cil_tmp52 = (unsigned long )pf;
10340#line 576
10341 if (__cil_tmp52 == __cil_tmp51) {
10342 {
10343#line 577
10344 tmp = get_current();
10345#line 577
10346 __cil_tmp53 = tmp->nsproxy;
10347#line 577
10348 __cil_tmp54 = __cil_tmp53->net_ns;
10349#line 577
10350 tmp___0 = ppp_unattached_ioctl(__cil_tmp54, pf, file, cmd, arg);
10351 }
10352#line 577
10353 return ((long )tmp___0);
10354 } else {
10355
10356 }
10357 }
10358#line 580
10359 if (cmd == 1074033724U) {
10360 {
10361#line 592
10362 err = -22;
10363#line 593
10364 mutex_lock_nested(& ppp_mutex, 0U);
10365 }
10366 {
10367#line 594
10368 __cil_tmp55 = pf->kind;
10369#line 594
10370 __cil_tmp56 = (unsigned int )__cil_tmp55;
10371#line 594
10372 if (__cil_tmp56 == 1U) {
10373#line 595
10374 __mptr = (struct ppp_file const *)pf;
10375#line 595
10376 ppp = (struct ppp *)__mptr;
10377 {
10378#line 596
10379 __cil_tmp57 = (unsigned long )file;
10380#line 596
10381 __cil_tmp58 = ppp->owner;
10382#line 596
10383 __cil_tmp59 = (unsigned long )__cil_tmp58;
10384#line 596
10385 if (__cil_tmp59 == __cil_tmp57) {
10386 {
10387#line 597
10388 ppp_shutdown_interface(ppp);
10389 }
10390 } else {
10391
10392 }
10393 }
10394 } else {
10395
10396 }
10397 }
10398 {
10399#line 599
10400 __cil_tmp60 = & file->f_count;
10401#line 599
10402 tmp___2 = atomic_long_read(__cil_tmp60);
10403 }
10404#line 599
10405 if (tmp___2 <= 2L) {
10406 {
10407#line 600
10408 __cil_tmp61 = (struct inode *)0;
10409#line 600
10410 ppp_release(__cil_tmp61, file);
10411#line 601
10412 err = 0;
10413 }
10414 } else {
10415 {
10416#line 603
10417 __cil_tmp62 = & file->f_count;
10418#line 603
10419 tmp___1 = atomic_long_read(__cil_tmp62);
10420#line 603
10421 printk("<4>PPPIOCDETACH file->f_count=%ld\n", tmp___1);
10422 }
10423 }
10424 {
10425#line 605
10426 mutex_unlock(& ppp_mutex);
10427 }
10428#line 606
10429 return ((long )err);
10430 } else {
10431
10432 }
10433 {
10434#line 609
10435 __cil_tmp63 = pf->kind;
10436#line 609
10437 __cil_tmp64 = (unsigned int )__cil_tmp63;
10438#line 609
10439 if (__cil_tmp64 == 2U) {
10440 {
10441#line 613
10442 mutex_lock_nested(& ppp_mutex, 0U);
10443#line 614
10444 __mptr___0 = (struct ppp_file const *)pf;
10445#line 614
10446 pch = (struct channel *)__mptr___0;
10447 }
10448 {
10449#line 617
10450 __cil_tmp65 = (int )cmd;
10451#line 617
10452 if (__cil_tmp65 == 1074033722) {
10453#line 617
10454 goto case_1074033722;
10455 } else {
10456 {
10457#line 623
10458 __cil_tmp66 = (int )cmd;
10459#line 623
10460 if (__cil_tmp66 == 29753) {
10461#line 623
10462 goto case_29753;
10463 } else {
10464#line 627
10465 goto switch_default___0;
10466#line 616
10467 if (0) {
10468 case_1074033722:
10469 {
10470#line 618
10471 might_fault();
10472 }
10473#line 618
10474 if (1) {
10475#line 618
10476 goto case_4;
10477 } else {
10478#line 618
10479 goto switch_default;
10480#line 618
10481 if (0) {
10482#line 618
10483 __asm__ volatile ("call __get_user_1": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
10484#line 618
10485 goto ldv_39832;
10486#line 618
10487 __asm__ volatile ("call __get_user_2": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
10488#line 618
10489 goto ldv_39832;
10490 case_4:
10491#line 618
10492 __asm__ volatile ("call __get_user_4": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
10493#line 618
10494 goto ldv_39832;
10495#line 618
10496 __asm__ volatile ("call __get_user_8": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
10497#line 618
10498 goto ldv_39832;
10499 switch_default:
10500#line 618
10501 __asm__ volatile ("call __get_user_X": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
10502#line 618
10503 goto ldv_39832;
10504 } else {
10505
10506 }
10507 }
10508 ldv_39832:
10509#line 618
10510 unit = (int )__val_gu;
10511#line 618
10512 if (__ret_gu != 0) {
10513#line 619
10514 goto ldv_39838;
10515 } else {
10516
10517 }
10518 {
10519#line 620
10520 err = ppp_connect_channel(pch, unit);
10521 }
10522#line 621
10523 goto ldv_39838;
10524 case_29753:
10525 {
10526#line 624
10527 err = ppp_disconnect_channel(pch);
10528 }
10529#line 625
10530 goto ldv_39838;
10531 switch_default___0:
10532 {
10533#line 628
10534 __cil_tmp67 = & pch->chan_sem;
10535#line 628
10536 down_read(__cil_tmp67);
10537#line 629
10538 chan = pch->chan;
10539#line 630
10540 err = -25;
10541 }
10542 {
10543#line 631
10544 __cil_tmp68 = (struct ppp_channel *)0;
10545#line 631
10546 __cil_tmp69 = (unsigned long )__cil_tmp68;
10547#line 631
10548 __cil_tmp70 = (unsigned long )chan;
10549#line 631
10550 if (__cil_tmp70 != __cil_tmp69) {
10551 {
10552#line 631
10553 __cil_tmp71 = (int (* const )(struct ppp_channel * , unsigned int ,
10554 unsigned long ))0;
10555#line 631
10556 __cil_tmp72 = (unsigned long )__cil_tmp71;
10557#line 631
10558 __cil_tmp73 = chan->ops;
10559#line 631
10560 __cil_tmp74 = __cil_tmp73->ioctl;
10561#line 631
10562 __cil_tmp75 = (unsigned long )__cil_tmp74;
10563#line 631
10564 if (__cil_tmp75 != __cil_tmp72) {
10565 {
10566#line 632
10567 __cil_tmp76 = chan->ops;
10568#line 632
10569 __cil_tmp77 = __cil_tmp76->ioctl;
10570#line 632
10571 err = (*__cil_tmp77)(chan, cmd, arg);
10572 }
10573 } else {
10574
10575 }
10576 }
10577 } else {
10578
10579 }
10580 }
10581 {
10582#line 633
10583 __cil_tmp78 = & pch->chan_sem;
10584#line 633
10585 up_read(__cil_tmp78);
10586 }
10587 } else {
10588
10589 }
10590 }
10591 }
10592 }
10593 }
10594 ldv_39838:
10595 {
10596#line 635
10597 mutex_unlock(& ppp_mutex);
10598 }
10599#line 636
10600 return ((long )err);
10601 } else {
10602
10603 }
10604 }
10605 {
10606#line 639
10607 __cil_tmp79 = pf->kind;
10608#line 639
10609 __cil_tmp80 = (unsigned int )__cil_tmp79;
10610#line 639
10611 if (__cil_tmp80 != 1U) {
10612 {
10613#line 641
10614 printk("<3>PPP: not interface or channel??\n");
10615 }
10616#line 642
10617 return (-22L);
10618 } else {
10619
10620 }
10621 }
10622 {
10623#line 645
10624 mutex_lock_nested(& ppp_mutex, 0U);
10625#line 646
10626 __mptr___1 = (struct ppp_file const *)pf;
10627#line 646
10628 ppp = (struct ppp *)__mptr___1;
10629 }
10630 {
10631#line 648
10632 __cil_tmp81 = (int )cmd;
10633#line 648
10634 if (__cil_tmp81 == 1074033746) {
10635#line 648
10636 goto case_1074033746;
10637 } else {
10638 {
10639#line 655
10640 __cil_tmp82 = (int )cmd;
10641#line 655
10642 if (__cil_tmp82 == 1074033753) {
10643#line 655
10644 goto case_1074033753;
10645 } else {
10646 {
10647#line 667
10648 __cil_tmp83 = (int )cmd;
10649#line 667
10650 if (__cil_tmp83 == -2147191718) {
10651#line 667
10652 goto case_neg_2147191718;
10653 } else {
10654 {
10655#line 674
10656 __cil_tmp84 = (int )cmd;
10657#line 674
10658 if (__cil_tmp84 == 1074820173) {
10659#line 674
10660 goto case_1074820173;
10661 } else {
10662 {
10663#line 678
10664 __cil_tmp85 = (int )cmd;
10665#line 678
10666 if (__cil_tmp85 == -2147191722) {
10667#line 678
10668 goto case_neg_2147191722;
10669 } else {
10670 {
10671#line 684
10672 __cil_tmp86 = (int )cmd;
10673#line 684
10674 if (__cil_tmp86 == 1074033728) {
10675#line 684
10676 goto case_1074033728;
10677 } else {
10678 {
10679#line 691
10680 __cil_tmp87 = (int )cmd;
10681#line 691
10682 if (__cil_tmp87 == -2147191743) {
10683#line 691
10684 goto case_neg_2147191743;
10685 } else {
10686 {
10687#line 697
10688 __cil_tmp88 = (int )cmd;
10689#line 697
10690 if (__cil_tmp88 == -2146405313) {
10691#line 697
10692 goto case_neg_2146405313;
10693 } else {
10694 {
10695#line 705
10696 __cil_tmp89 = (int )cmd;
10697#line 705
10698 if (__cil_tmp89 == 1074033745) {
10699#line 705
10700 goto case_1074033745;
10701 } else {
10702 {
10703#line 728
10704 __cil_tmp90 = (int )cmd;
10705#line 728
10706 if (__cil_tmp90 == -1073187764) {
10707#line 728
10708 goto case_neg_1073187764;
10709 } else {
10710 {
10711#line 729
10712 __cil_tmp91 = (int )cmd;
10713#line 729
10714 if (__cil_tmp91 == 1074295883) {
10715#line 729
10716 goto case_1074295883;
10717 } else {
10718 {
10719#line 750
10720 __cil_tmp92 = (int )cmd;
10721#line 750
10722 if (__cil_tmp92 == 1074820167) {
10723#line 750
10724 goto case_1074820167;
10725 } else {
10726 {
10727#line 764
10728 __cil_tmp93 = (int )cmd;
10729#line 764
10730 if (__cil_tmp93 == 1074820166) {
10731#line 764
10732 goto case_1074820166;
10733 } else {
10734 {
10735#line 781
10736 __cil_tmp94 = (int )cmd;
10737#line 781
10738 if (__cil_tmp94 == 1074033723) {
10739#line 781
10740 goto case_1074033723;
10741 } else {
10742#line 791
10743 goto switch_default___9;
10744#line 647
10745 if (0) {
10746 case_1074033746:
10747 {
10748#line 649
10749 might_fault();
10750 }
10751#line 649
10752 if (1) {
10753#line 649
10754 goto case_4___0;
10755 } else {
10756#line 649
10757 goto switch_default___1;
10758#line 649
10759 if (0) {
10760#line 649
10761 __asm__ volatile ("call __get_user_1": "=a" (__ret_gu___0),
10762 "=d" (__val_gu___0): "0" (p));
10763#line 649
10764 goto ldv_39847;
10765#line 649
10766 __asm__ volatile ("call __get_user_2": "=a" (__ret_gu___0),
10767 "=d" (__val_gu___0): "0" (p));
10768#line 649
10769 goto ldv_39847;
10770 case_4___0:
10771#line 649
10772 __asm__ volatile ("call __get_user_4": "=a" (__ret_gu___0),
10773 "=d" (__val_gu___0): "0" (p));
10774#line 649
10775 goto ldv_39847;
10776#line 649
10777 __asm__ volatile ("call __get_user_8": "=a" (__ret_gu___0),
10778 "=d" (__val_gu___0): "0" (p));
10779#line 649
10780 goto ldv_39847;
10781 switch_default___1:
10782#line 649
10783 __asm__ volatile ("call __get_user_X": "=a" (__ret_gu___0),
10784 "=d" (__val_gu___0): "0" (p));
10785#line 649
10786 goto ldv_39847;
10787 } else {
10788
10789 }
10790 }
10791 ldv_39847:
10792#line 649
10793 val = (int )__val_gu___0;
10794#line 649
10795 if (__ret_gu___0 != 0) {
10796#line 650
10797 goto ldv_39853;
10798 } else {
10799
10800 }
10801#line 651
10802 ppp->mru = val;
10803#line 652
10804 err = 0;
10805#line 653
10806 goto ldv_39853;
10807 case_1074033753:
10808 {
10809#line 656
10810 might_fault();
10811 }
10812#line 656
10813 if (1) {
10814#line 656
10815 goto case_4___1;
10816 } else {
10817#line 656
10818 goto switch_default___2;
10819#line 656
10820 if (0) {
10821#line 656
10822 __asm__ volatile ("call __get_user_1": "=a" (__ret_gu___1),
10823 "=d" (__val_gu___1): "0" (p));
10824#line 656
10825 goto ldv_39858;
10826#line 656
10827 __asm__ volatile ("call __get_user_2": "=a" (__ret_gu___1),
10828 "=d" (__val_gu___1): "0" (p));
10829#line 656
10830 goto ldv_39858;
10831 case_4___1:
10832#line 656
10833 __asm__ volatile ("call __get_user_4": "=a" (__ret_gu___1),
10834 "=d" (__val_gu___1): "0" (p));
10835#line 656
10836 goto ldv_39858;
10837#line 656
10838 __asm__ volatile ("call __get_user_8": "=a" (__ret_gu___1),
10839 "=d" (__val_gu___1): "0" (p));
10840#line 656
10841 goto ldv_39858;
10842 switch_default___2:
10843#line 656
10844 __asm__ volatile ("call __get_user_X": "=a" (__ret_gu___1),
10845 "=d" (__val_gu___1): "0" (p));
10846#line 656
10847 goto ldv_39858;
10848 } else {
10849
10850 }
10851 }
10852 ldv_39858:
10853#line 656
10854 val = (int )__val_gu___1;
10855#line 656
10856 if (__ret_gu___1 != 0) {
10857#line 657
10858 goto ldv_39853;
10859 } else {
10860
10861 }
10862 {
10863#line 658
10864 __cil_tmp95 = & ppp->wlock;
10865#line 658
10866 spin_lock_bh(__cil_tmp95);
10867#line 658
10868 __cil_tmp96 = & ppp->rlock;
10869#line 658
10870 spin_lock_bh(__cil_tmp96);
10871#line 659
10872 __cil_tmp97 = ~ val;
10873#line 659
10874 __cil_tmp98 = (unsigned int )__cil_tmp97;
10875#line 659
10876 __cil_tmp99 = ppp->flags;
10877#line 659
10878 __cil_tmp100 = __cil_tmp99 & __cil_tmp98;
10879#line 659
10880 cflags = (int )__cil_tmp100;
10881#line 660
10882 __cil_tmp101 = (unsigned int )val;
10883#line 660
10884 ppp->flags = __cil_tmp101 & 4214508U;
10885#line 661
10886 __cil_tmp102 = & ppp->rlock;
10887#line 661
10888 spin_unlock_bh(__cil_tmp102);
10889#line 661
10890 __cil_tmp103 = & ppp->wlock;
10891#line 661
10892 spin_unlock_bh(__cil_tmp103);
10893 }
10894 {
10895#line 662
10896 __cil_tmp104 = cflags & 64;
10897#line 662
10898 if (__cil_tmp104 != 0) {
10899 {
10900#line 663
10901 ppp_ccp_closed(ppp);
10902 }
10903 } else {
10904
10905 }
10906 }
10907#line 664
10908 err = 0;
10909#line 665
10910 goto ldv_39853;
10911 case_neg_2147191718:
10912 {
10913#line 668
10914 __cil_tmp105 = ppp->rstate;
10915#line 668
10916 __cil_tmp106 = ppp->xstate;
10917#line 668
10918 __cil_tmp107 = ppp->flags;
10919#line 668
10920 __cil_tmp108 = __cil_tmp107 | __cil_tmp106;
10921#line 668
10922 __cil_tmp109 = __cil_tmp108 | __cil_tmp105;
10923#line 668
10924 val = (int )__cil_tmp109;
10925#line 669
10926 might_fault();
10927#line 669
10928 __pu_val = val;
10929 }
10930#line 669
10931 if (1) {
10932#line 669
10933 goto case_4___2;
10934 } else {
10935#line 669
10936 goto switch_default___3;
10937#line 669
10938 if (0) {
10939#line 669
10940 __asm__ volatile ("call __put_user_1": "=a" (__ret_pu): "0" (__pu_val),
10941 "c" (p): "ebx");
10942#line 669
10943 goto ldv_39868;
10944#line 669
10945 __asm__ volatile ("call __put_user_2": "=a" (__ret_pu): "0" (__pu_val),
10946 "c" (p): "ebx");
10947#line 669
10948 goto ldv_39868;
10949 case_4___2:
10950#line 669
10951 __asm__ volatile ("call __put_user_4": "=a" (__ret_pu): "0" (__pu_val),
10952 "c" (p): "ebx");
10953#line 669
10954 goto ldv_39868;
10955#line 669
10956 __asm__ volatile ("call __put_user_8": "=a" (__ret_pu): "0" (__pu_val),
10957 "c" (p): "ebx");
10958#line 669
10959 goto ldv_39868;
10960 switch_default___3:
10961#line 669
10962 __asm__ volatile ("call __put_user_X": "=a" (__ret_pu): "0" (__pu_val),
10963 "c" (p): "ebx");
10964#line 669
10965 goto ldv_39868;
10966 } else {
10967
10968 }
10969 }
10970 ldv_39868: ;
10971#line 669
10972 if (__ret_pu != 0) {
10973#line 670
10974 goto ldv_39853;
10975 } else {
10976
10977 }
10978#line 671
10979 err = 0;
10980#line 672
10981 goto ldv_39853;
10982 case_1074820173:
10983 {
10984#line 675
10985 err = ppp_set_compress(ppp, arg);
10986 }
10987#line 676
10988 goto ldv_39853;
10989 case_neg_2147191722:
10990 {
10991#line 679
10992 might_fault();
10993#line 679
10994 __pu_val___0 = ppp->file.index;
10995 }
10996#line 679
10997 if (1) {
10998#line 679
10999 goto case_4___3;
11000 } else {
11001#line 679
11002 goto switch_default___4;
11003#line 679
11004 if (0) {
11005#line 679
11006 __asm__ volatile ("call __put_user_1": "=a" (__ret_pu___0): "0" (__pu_val___0),
11007 "c" (p): "ebx");
11008#line 679
11009 goto ldv_39879;
11010#line 679
11011 __asm__ volatile ("call __put_user_2": "=a" (__ret_pu___0): "0" (__pu_val___0),
11012 "c" (p): "ebx");
11013#line 679
11014 goto ldv_39879;
11015 case_4___3:
11016#line 679
11017 __asm__ volatile ("call __put_user_4": "=a" (__ret_pu___0): "0" (__pu_val___0),
11018 "c" (p): "ebx");
11019#line 679
11020 goto ldv_39879;
11021#line 679
11022 __asm__ volatile ("call __put_user_8": "=a" (__ret_pu___0): "0" (__pu_val___0),
11023 "c" (p): "ebx");
11024#line 679
11025 goto ldv_39879;
11026 switch_default___4:
11027#line 679
11028 __asm__ volatile ("call __put_user_X": "=a" (__ret_pu___0): "0" (__pu_val___0),
11029 "c" (p): "ebx");
11030#line 679
11031 goto ldv_39879;
11032 } else {
11033
11034 }
11035 }
11036 ldv_39879: ;
11037#line 679
11038 if (__ret_pu___0 != 0) {
11039#line 680
11040 goto ldv_39853;
11041 } else {
11042
11043 }
11044#line 681
11045 err = 0;
11046#line 682
11047 goto ldv_39853;
11048 case_1074033728:
11049 {
11050#line 685
11051 might_fault();
11052 }
11053#line 685
11054 if (1) {
11055#line 685
11056 goto case_4___4;
11057 } else {
11058#line 685
11059 goto switch_default___5;
11060#line 685
11061 if (0) {
11062#line 685
11063 __asm__ volatile ("call __get_user_1": "=a" (__ret_gu___2),
11064 "=d" (__val_gu___2): "0" (p));
11065#line 685
11066 goto ldv_39889;
11067#line 685
11068 __asm__ volatile ("call __get_user_2": "=a" (__ret_gu___2),
11069 "=d" (__val_gu___2): "0" (p));
11070#line 685
11071 goto ldv_39889;
11072 case_4___4:
11073#line 685
11074 __asm__ volatile ("call __get_user_4": "=a" (__ret_gu___2),
11075 "=d" (__val_gu___2): "0" (p));
11076#line 685
11077 goto ldv_39889;
11078#line 685
11079 __asm__ volatile ("call __get_user_8": "=a" (__ret_gu___2),
11080 "=d" (__val_gu___2): "0" (p));
11081#line 685
11082 goto ldv_39889;
11083 switch_default___5:
11084#line 685
11085 __asm__ volatile ("call __get_user_X": "=a" (__ret_gu___2),
11086 "=d" (__val_gu___2): "0" (p));
11087#line 685
11088 goto ldv_39889;
11089 } else {
11090
11091 }
11092 }
11093 ldv_39889:
11094#line 685
11095 val = (int )__val_gu___2;
11096#line 685
11097 if (__ret_gu___2 != 0) {
11098#line 686
11099 goto ldv_39853;
11100 } else {
11101
11102 }
11103#line 687
11104 ppp->debug = val;
11105#line 688
11106 err = 0;
11107#line 689
11108 goto ldv_39853;
11109 case_neg_2147191743:
11110 {
11111#line 692
11112 might_fault();
11113#line 692
11114 __pu_val___1 = ppp->debug;
11115 }
11116#line 692
11117 if (1) {
11118#line 692
11119 goto case_4___5;
11120 } else {
11121#line 692
11122 goto switch_default___6;
11123#line 692
11124 if (0) {
11125#line 692
11126 __asm__ volatile ("call __put_user_1": "=a" (__ret_pu___1): "0" (__pu_val___1),
11127 "c" (p): "ebx");
11128#line 692
11129 goto ldv_39899;
11130#line 692
11131 __asm__ volatile ("call __put_user_2": "=a" (__ret_pu___1): "0" (__pu_val___1),
11132 "c" (p): "ebx");
11133#line 692
11134 goto ldv_39899;
11135 case_4___5:
11136#line 692
11137 __asm__ volatile ("call __put_user_4": "=a" (__ret_pu___1): "0" (__pu_val___1),
11138 "c" (p): "ebx");
11139#line 692
11140 goto ldv_39899;
11141#line 692
11142 __asm__ volatile ("call __put_user_8": "=a" (__ret_pu___1): "0" (__pu_val___1),
11143 "c" (p): "ebx");
11144#line 692
11145 goto ldv_39899;
11146 switch_default___6:
11147#line 692
11148 __asm__ volatile ("call __put_user_X": "=a" (__ret_pu___1): "0" (__pu_val___1),
11149 "c" (p): "ebx");
11150#line 692
11151 goto ldv_39899;
11152 } else {
11153
11154 }
11155 }
11156 ldv_39899: ;
11157#line 692
11158 if (__ret_pu___1 != 0) {
11159#line 693
11160 goto ldv_39853;
11161 } else {
11162
11163 }
11164#line 694
11165 err = 0;
11166#line 695
11167 goto ldv_39853;
11168 case_neg_2146405313:
11169 {
11170#line 698
11171 __cil_tmp110 = ppp->last_xmit;
11172#line 698
11173 __cil_tmp111 = (unsigned long )jiffies;
11174#line 698
11175 __cil_tmp112 = __cil_tmp111 - __cil_tmp110;
11176#line 698
11177 __cil_tmp113 = __cil_tmp112 / 250UL;
11178#line 698
11179 idle.xmit_idle = (__kernel_time_t )__cil_tmp113;
11180#line 699
11181 __cil_tmp114 = ppp->last_recv;
11182#line 699
11183 __cil_tmp115 = (unsigned long )jiffies;
11184#line 699
11185 __cil_tmp116 = __cil_tmp115 - __cil_tmp114;
11186#line 699
11187 __cil_tmp117 = __cil_tmp116 / 250UL;
11188#line 699
11189 idle.recv_idle = (__kernel_time_t )__cil_tmp117;
11190#line 700
11191 __cil_tmp118 = (void const *)(& idle);
11192#line 700
11193 tmp___3 = copy_to_user(argp, __cil_tmp118, 16U);
11194 }
11195#line 700
11196 if (tmp___3 != 0) {
11197#line 701
11198 goto ldv_39853;
11199 } else {
11200
11201 }
11202#line 702
11203 err = 0;
11204#line 703
11205 goto ldv_39853;
11206 case_1074033745:
11207 {
11208#line 706
11209 might_fault();
11210 }
11211#line 706
11212 if (1) {
11213#line 706
11214 goto case_4___6;
11215 } else {
11216#line 706
11217 goto switch_default___7;
11218#line 706
11219 if (0) {
11220#line 706
11221 __asm__ volatile ("call __get_user_1": "=a" (__ret_gu___3),
11222 "=d" (__val_gu___3): "0" (p));
11223#line 706
11224 goto ldv_39910;
11225#line 706
11226 __asm__ volatile ("call __get_user_2": "=a" (__ret_gu___3),
11227 "=d" (__val_gu___3): "0" (p));
11228#line 706
11229 goto ldv_39910;
11230 case_4___6:
11231#line 706
11232 __asm__ volatile ("call __get_user_4": "=a" (__ret_gu___3),
11233 "=d" (__val_gu___3): "0" (p));
11234#line 706
11235 goto ldv_39910;
11236#line 706
11237 __asm__ volatile ("call __get_user_8": "=a" (__ret_gu___3),
11238 "=d" (__val_gu___3): "0" (p));
11239#line 706
11240 goto ldv_39910;
11241 switch_default___7:
11242#line 706
11243 __asm__ volatile ("call __get_user_X": "=a" (__ret_gu___3),
11244 "=d" (__val_gu___3): "0" (p));
11245#line 706
11246 goto ldv_39910;
11247 } else {
11248
11249 }
11250 }
11251 ldv_39910:
11252#line 706
11253 val = (int )__val_gu___3;
11254#line 706
11255 if (__ret_gu___3 != 0) {
11256#line 707
11257 goto ldv_39853;
11258 } else {
11259
11260 }
11261#line 708
11262 val2 = 15;
11263 {
11264#line 709
11265 __cil_tmp119 = val >> 16;
11266#line 709
11267 if (__cil_tmp119 != 0) {
11268#line 710
11269 val2 = val >> 16;
11270#line 711
11271 val = val & 65535;
11272 } else {
11273
11274 }
11275 }
11276 {
11277#line 713
11278 __cil_tmp120 = val2 + 1;
11279#line 713
11280 __cil_tmp121 = val + 1;
11281#line 713
11282 vj = slhc_init(__cil_tmp120, __cil_tmp121);
11283 }
11284 {
11285#line 714
11286 __cil_tmp122 = (struct slcompress *)0;
11287#line 714
11288 __cil_tmp123 = (unsigned long )__cil_tmp122;
11289#line 714
11290 __cil_tmp124 = (unsigned long )vj;
11291#line 714
11292 if (__cil_tmp124 == __cil_tmp123) {
11293 {
11294#line 715
11295 __cil_tmp125 = ppp->dev;
11296#line 715
11297 __cil_tmp126 = (struct net_device const *)__cil_tmp125;
11298#line 715
11299 netdev_err(__cil_tmp126, "PPP: no memory (VJ compressor)\n");
11300#line 717
11301 err = -12;
11302 }
11303#line 718
11304 goto ldv_39853;
11305 } else {
11306
11307 }
11308 }
11309 {
11310#line 720
11311 __cil_tmp127 = & ppp->wlock;
11312#line 720
11313 spin_lock_bh(__cil_tmp127);
11314#line 720
11315 __cil_tmp128 = & ppp->rlock;
11316#line 720
11317 spin_lock_bh(__cil_tmp128);
11318 }
11319 {
11320#line 721
11321 __cil_tmp129 = (struct slcompress *)0;
11322#line 721
11323 __cil_tmp130 = (unsigned long )__cil_tmp129;
11324#line 721
11325 __cil_tmp131 = ppp->vj;
11326#line 721
11327 __cil_tmp132 = (unsigned long )__cil_tmp131;
11328#line 721
11329 if (__cil_tmp132 != __cil_tmp130) {
11330 {
11331#line 722
11332 __cil_tmp133 = ppp->vj;
11333#line 722
11334 slhc_free(__cil_tmp133);
11335 }
11336 } else {
11337
11338 }
11339 }
11340 {
11341#line 723
11342 ppp->vj = vj;
11343#line 724
11344 __cil_tmp134 = & ppp->rlock;
11345#line 724
11346 spin_unlock_bh(__cil_tmp134);
11347#line 724
11348 __cil_tmp135 = & ppp->wlock;
11349#line 724
11350 spin_unlock_bh(__cil_tmp135);
11351#line 725
11352 err = 0;
11353 }
11354#line 726
11355 goto ldv_39853;
11356 case_neg_1073187764: ;
11357 case_1074295883:
11358 {
11359#line 730
11360 __cil_tmp136 = (void *)(& npi);
11361#line 730
11362 __cil_tmp137 = (void const *)argp;
11363#line 730
11364 tmp___4 = copy_from_user(__cil_tmp136, __cil_tmp137,
11365 8UL);
11366 }
11367#line 730
11368 if (tmp___4 != 0UL) {
11369#line 731
11370 goto ldv_39853;
11371 } else {
11372
11373 }
11374 {
11375#line 732
11376 err = proto_to_npindex(npi.protocol);
11377 }
11378#line 733
11379 if (err < 0) {
11380#line 734
11381 goto ldv_39853;
11382 } else {
11383
11384 }
11385#line 735
11386 i = err;
11387#line 736
11388 if (cmd == 3221779532U) {
11389 {
11390#line 737
11391 err = -14;
11392#line 738
11393 npi.mode = ppp->npmode[i];
11394#line 739
11395 __cil_tmp138 = (void const *)(& npi);
11396#line 739
11397 tmp___5 = copy_to_user(argp, __cil_tmp138, 8U);
11398 }
11399#line 739
11400 if (tmp___5 != 0) {
11401#line 740
11402 goto ldv_39853;
11403 } else {
11404
11405 }
11406 } else {
11407 {
11408#line 742
11409 ppp->npmode[i] = npi.mode;
11410#line 744
11411 __cil_tmp139 = ppp->dev;
11412#line 744
11413 netif_wake_queue(__cil_tmp139);
11414 }
11415 }
11416#line 746
11417 err = 0;
11418#line 747
11419 goto ldv_39853;
11420 case_1074820167:
11421 {
11422#line 753
11423 err = get_filter(argp, & code);
11424 }
11425#line 754
11426 if (err >= 0) {
11427 {
11428#line 755
11429 __cil_tmp140 = & ppp->wlock;
11430#line 755
11431 spin_lock_bh(__cil_tmp140);
11432#line 755
11433 __cil_tmp141 = & ppp->rlock;
11434#line 755
11435 spin_lock_bh(__cil_tmp141);
11436#line 756
11437 __cil_tmp142 = ppp->pass_filter;
11438#line 756
11439 __cil_tmp143 = (void const *)__cil_tmp142;
11440#line 756
11441 kfree(__cil_tmp143);
11442#line 757
11443 ppp->pass_filter = code;
11444#line 758
11445 ppp->pass_len = (unsigned int )err;
11446#line 759
11447 __cil_tmp144 = & ppp->rlock;
11448#line 759
11449 spin_unlock_bh(__cil_tmp144);
11450#line 759
11451 __cil_tmp145 = & ppp->wlock;
11452#line 759
11453 spin_unlock_bh(__cil_tmp145);
11454#line 760
11455 err = 0;
11456 }
11457 } else {
11458
11459 }
11460#line 762
11461 goto ldv_39853;
11462 case_1074820166:
11463 {
11464#line 767
11465 err = get_filter(argp, & code___0);
11466 }
11467#line 768
11468 if (err >= 0) {
11469 {
11470#line 769
11471 __cil_tmp146 = & ppp->wlock;
11472#line 769
11473 spin_lock_bh(__cil_tmp146);
11474#line 769
11475 __cil_tmp147 = & ppp->rlock;
11476#line 769
11477 spin_lock_bh(__cil_tmp147);
11478#line 770
11479 __cil_tmp148 = ppp->active_filter;
11480#line 770
11481 __cil_tmp149 = (void const *)__cil_tmp148;
11482#line 770
11483 kfree(__cil_tmp149);
11484#line 771
11485 ppp->active_filter = code___0;
11486#line 772
11487 ppp->active_len = (unsigned int )err;
11488#line 773
11489 __cil_tmp150 = & ppp->rlock;
11490#line 773
11491 spin_unlock_bh(__cil_tmp150);
11492#line 773
11493 __cil_tmp151 = & ppp->wlock;
11494#line 773
11495 spin_unlock_bh(__cil_tmp151);
11496#line 774
11497 err = 0;
11498 }
11499 } else {
11500
11501 }
11502#line 776
11503 goto ldv_39853;
11504 case_1074033723:
11505 {
11506#line 782
11507 might_fault();
11508 }
11509#line 782
11510 if (1) {
11511#line 782
11512 goto case_4___7;
11513 } else {
11514#line 782
11515 goto switch_default___8;
11516#line 782
11517 if (0) {
11518#line 782
11519 __asm__ volatile ("call __get_user_1": "=a" (__ret_gu___4),
11520 "=d" (__val_gu___4): "0" (p));
11521#line 782
11522 goto ldv_39926;
11523#line 782
11524 __asm__ volatile ("call __get_user_2": "=a" (__ret_gu___4),
11525 "=d" (__val_gu___4): "0" (p));
11526#line 782
11527 goto ldv_39926;
11528 case_4___7:
11529#line 782
11530 __asm__ volatile ("call __get_user_4": "=a" (__ret_gu___4),
11531 "=d" (__val_gu___4): "0" (p));
11532#line 782
11533 goto ldv_39926;
11534#line 782
11535 __asm__ volatile ("call __get_user_8": "=a" (__ret_gu___4),
11536 "=d" (__val_gu___4): "0" (p));
11537#line 782
11538 goto ldv_39926;
11539 switch_default___8:
11540#line 782
11541 __asm__ volatile ("call __get_user_X": "=a" (__ret_gu___4),
11542 "=d" (__val_gu___4): "0" (p));
11543#line 782
11544 goto ldv_39926;
11545 } else {
11546
11547 }
11548 }
11549 ldv_39926:
11550#line 782
11551 val = (int )__val_gu___4;
11552#line 782
11553 if (__ret_gu___4 != 0) {
11554#line 783
11555 goto ldv_39853;
11556 } else {
11557
11558 }
11559 {
11560#line 784
11561 __cil_tmp152 = & ppp->rlock;
11562#line 784
11563 spin_lock_bh(__cil_tmp152);
11564#line 785
11565 ppp->mrru = val;
11566#line 786
11567 __cil_tmp153 = & ppp->rlock;
11568#line 786
11569 spin_unlock_bh(__cil_tmp153);
11570#line 787
11571 err = 0;
11572 }
11573#line 788
11574 goto ldv_39853;
11575 switch_default___9:
11576#line 792
11577 err = -25;
11578 } else {
11579
11580 }
11581 }
11582 }
11583 }
11584 }
11585 }
11586 }
11587 }
11588 }
11589 }
11590 }
11591 }
11592 }
11593 }
11594 }
11595 }
11596 }
11597 }
11598 }
11599 }
11600 }
11601 }
11602 }
11603 }
11604 }
11605 }
11606 }
11607 }
11608 }
11609 ldv_39853:
11610 {
11611#line 794
11612 mutex_unlock(& ppp_mutex);
11613 }
11614#line 795
11615 return ((long )err);
11616}
11617}
11618#line 798 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
11619static int ppp_unattached_ioctl(struct net *net , struct ppp_file *pf , struct file *file ,
11620 unsigned int cmd , unsigned long arg )
11621{ int unit ;
11622 int err ;
11623 struct ppp *ppp ;
11624 struct channel *chan ;
11625 struct ppp_net *pn ;
11626 int *p ;
11627 int __ret_gu ;
11628 unsigned long __val_gu ;
11629 int __ret_pu ;
11630 int __pu_val ;
11631 int __ret_gu___0 ;
11632 unsigned long __val_gu___0 ;
11633 int __ret_gu___1 ;
11634 unsigned long __val_gu___1 ;
11635 int __cil_tmp20 ;
11636 int __cil_tmp21 ;
11637 int __cil_tmp22 ;
11638 struct ppp *__cil_tmp23 ;
11639 unsigned long __cil_tmp24 ;
11640 unsigned long __cil_tmp25 ;
11641 struct ppp_file *__cil_tmp26 ;
11642 struct mutex *__cil_tmp27 ;
11643 struct ppp *__cil_tmp28 ;
11644 unsigned long __cil_tmp29 ;
11645 unsigned long __cil_tmp30 ;
11646 atomic_t *__cil_tmp31 ;
11647 struct ppp_file *__cil_tmp32 ;
11648 struct mutex *__cil_tmp33 ;
11649 spinlock_t *__cil_tmp34 ;
11650 struct channel *__cil_tmp35 ;
11651 unsigned long __cil_tmp36 ;
11652 unsigned long __cil_tmp37 ;
11653 atomic_t *__cil_tmp38 ;
11654 struct ppp_file *__cil_tmp39 ;
11655 spinlock_t *__cil_tmp40 ;
11656
11657 {
11658 {
11659#line 801
11660 err = -14;
11661#line 805
11662 p = (int *)arg;
11663#line 807
11664 mutex_lock_nested(& ppp_mutex, 0U);
11665 }
11666 {
11667#line 809
11668 __cil_tmp20 = (int )cmd;
11669#line 809
11670 if (__cil_tmp20 == -1073449922) {
11671#line 809
11672 goto case_neg_1073449922;
11673 } else {
11674 {
11675#line 824
11676 __cil_tmp21 = (int )cmd;
11677#line 824
11678 if (__cil_tmp21 == 1074033725) {
11679#line 824
11680 goto case_1074033725;
11681 } else {
11682 {
11683#line 840
11684 __cil_tmp22 = (int )cmd;
11685#line 840
11686 if (__cil_tmp22 == 1074033720) {
11687#line 840
11688 goto case_1074033720;
11689 } else {
11690#line 855
11691 goto switch_default___3;
11692#line 808
11693 if (0) {
11694 case_neg_1073449922:
11695 {
11696#line 811
11697 might_fault();
11698 }
11699#line 811
11700 if (1) {
11701#line 811
11702 goto case_4;
11703 } else {
11704#line 811
11705 goto switch_default;
11706#line 811
11707 if (0) {
11708#line 811
11709 __asm__ volatile ("call __get_user_1": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
11710#line 811
11711 goto ldv_39950;
11712#line 811
11713 __asm__ volatile ("call __get_user_2": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
11714#line 811
11715 goto ldv_39950;
11716 case_4:
11717#line 811
11718 __asm__ volatile ("call __get_user_4": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
11719#line 811
11720 goto ldv_39950;
11721#line 811
11722 __asm__ volatile ("call __get_user_8": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
11723#line 811
11724 goto ldv_39950;
11725 switch_default:
11726#line 811
11727 __asm__ volatile ("call __get_user_X": "=a" (__ret_gu), "=d" (__val_gu): "0" (p));
11728#line 811
11729 goto ldv_39950;
11730 } else {
11731
11732 }
11733 }
11734 ldv_39950:
11735#line 811
11736 unit = (int )__val_gu;
11737#line 811
11738 if (__ret_gu != 0) {
11739#line 812
11740 goto ldv_39956;
11741 } else {
11742
11743 }
11744 {
11745#line 813
11746 ppp = ppp_create_interface(net, unit, & err);
11747 }
11748 {
11749#line 814
11750 __cil_tmp23 = (struct ppp *)0;
11751#line 814
11752 __cil_tmp24 = (unsigned long )__cil_tmp23;
11753#line 814
11754 __cil_tmp25 = (unsigned long )ppp;
11755#line 814
11756 if (__cil_tmp25 == __cil_tmp24) {
11757#line 815
11758 goto ldv_39956;
11759 } else {
11760
11761 }
11762 }
11763 {
11764#line 816
11765 __cil_tmp26 = & ppp->file;
11766#line 816
11767 file->private_data = (void *)__cil_tmp26;
11768#line 817
11769 ppp->owner = file;
11770#line 818
11771 err = -14;
11772#line 819
11773 might_fault();
11774#line 819
11775 __pu_val = ppp->file.index;
11776 }
11777#line 819
11778 if (1) {
11779#line 819
11780 goto case_4___0;
11781 } else {
11782#line 819
11783 goto switch_default___0;
11784#line 819
11785 if (0) {
11786#line 819
11787 __asm__ volatile ("call __put_user_1": "=a" (__ret_pu): "0" (__pu_val),
11788 "c" (p): "ebx");
11789#line 819
11790 goto ldv_39960;
11791#line 819
11792 __asm__ volatile ("call __put_user_2": "=a" (__ret_pu): "0" (__pu_val),
11793 "c" (p): "ebx");
11794#line 819
11795 goto ldv_39960;
11796 case_4___0:
11797#line 819
11798 __asm__ volatile ("call __put_user_4": "=a" (__ret_pu): "0" (__pu_val),
11799 "c" (p): "ebx");
11800#line 819
11801 goto ldv_39960;
11802#line 819
11803 __asm__ volatile ("call __put_user_8": "=a" (__ret_pu): "0" (__pu_val),
11804 "c" (p): "ebx");
11805#line 819
11806 goto ldv_39960;
11807 switch_default___0:
11808#line 819
11809 __asm__ volatile ("call __put_user_X": "=a" (__ret_pu): "0" (__pu_val),
11810 "c" (p): "ebx");
11811#line 819
11812 goto ldv_39960;
11813 } else {
11814
11815 }
11816 }
11817 ldv_39960: ;
11818#line 819
11819 if (__ret_pu != 0) {
11820#line 820
11821 goto ldv_39956;
11822 } else {
11823
11824 }
11825#line 821
11826 err = 0;
11827#line 822
11828 goto ldv_39956;
11829 case_1074033725:
11830 {
11831#line 826
11832 might_fault();
11833 }
11834#line 826
11835 if (1) {
11836#line 826
11837 goto case_4___1;
11838 } else {
11839#line 826
11840 goto switch_default___1;
11841#line 826
11842 if (0) {
11843#line 826
11844 __asm__ volatile ("call __get_user_1": "=a" (__ret_gu___0), "=d" (__val_gu___0): "0" (p));
11845#line 826
11846 goto ldv_39970;
11847#line 826
11848 __asm__ volatile ("call __get_user_2": "=a" (__ret_gu___0), "=d" (__val_gu___0): "0" (p));
11849#line 826
11850 goto ldv_39970;
11851 case_4___1:
11852#line 826
11853 __asm__ volatile ("call __get_user_4": "=a" (__ret_gu___0), "=d" (__val_gu___0): "0" (p));
11854#line 826
11855 goto ldv_39970;
11856#line 826
11857 __asm__ volatile ("call __get_user_8": "=a" (__ret_gu___0), "=d" (__val_gu___0): "0" (p));
11858#line 826
11859 goto ldv_39970;
11860 switch_default___1:
11861#line 826
11862 __asm__ volatile ("call __get_user_X": "=a" (__ret_gu___0), "=d" (__val_gu___0): "0" (p));
11863#line 826
11864 goto ldv_39970;
11865 } else {
11866
11867 }
11868 }
11869 ldv_39970:
11870#line 826
11871 unit = (int )__val_gu___0;
11872#line 826
11873 if (__ret_gu___0 != 0) {
11874#line 827
11875 goto ldv_39956;
11876 } else {
11877
11878 }
11879 {
11880#line 828
11881 err = -6;
11882#line 829
11883 pn = ppp_pernet(net);
11884#line 830
11885 __cil_tmp27 = & pn->all_ppp_mutex;
11886#line 830
11887 mutex_lock_nested(__cil_tmp27, 0U);
11888#line 831
11889 ppp = ppp_find_unit(pn, unit);
11890 }
11891 {
11892#line 832
11893 __cil_tmp28 = (struct ppp *)0;
11894#line 832
11895 __cil_tmp29 = (unsigned long )__cil_tmp28;
11896#line 832
11897 __cil_tmp30 = (unsigned long )ppp;
11898#line 832
11899 if (__cil_tmp30 != __cil_tmp29) {
11900 {
11901#line 833
11902 __cil_tmp31 = & ppp->file.refcnt;
11903#line 833
11904 atomic_inc(__cil_tmp31);
11905#line 834
11906 __cil_tmp32 = & ppp->file;
11907#line 834
11908 file->private_data = (void *)__cil_tmp32;
11909#line 835
11910 err = 0;
11911 }
11912 } else {
11913
11914 }
11915 }
11916 {
11917#line 837
11918 __cil_tmp33 = & pn->all_ppp_mutex;
11919#line 837
11920 mutex_unlock(__cil_tmp33);
11921 }
11922#line 838
11923 goto ldv_39956;
11924 case_1074033720:
11925 {
11926#line 841
11927 might_fault();
11928 }
11929#line 841
11930 if (1) {
11931#line 841
11932 goto case_4___2;
11933 } else {
11934#line 841
11935 goto switch_default___2;
11936#line 841
11937 if (0) {
11938#line 841
11939 __asm__ volatile ("call __get_user_1": "=a" (__ret_gu___1), "=d" (__val_gu___1): "0" (p));
11940#line 841
11941 goto ldv_39980;
11942#line 841
11943 __asm__ volatile ("call __get_user_2": "=a" (__ret_gu___1), "=d" (__val_gu___1): "0" (p));
11944#line 841
11945 goto ldv_39980;
11946 case_4___2:
11947#line 841
11948 __asm__ volatile ("call __get_user_4": "=a" (__ret_gu___1), "=d" (__val_gu___1): "0" (p));
11949#line 841
11950 goto ldv_39980;
11951#line 841
11952 __asm__ volatile ("call __get_user_8": "=a" (__ret_gu___1), "=d" (__val_gu___1): "0" (p));
11953#line 841
11954 goto ldv_39980;
11955 switch_default___2:
11956#line 841
11957 __asm__ volatile ("call __get_user_X": "=a" (__ret_gu___1), "=d" (__val_gu___1): "0" (p));
11958#line 841
11959 goto ldv_39980;
11960 } else {
11961
11962 }
11963 }
11964 ldv_39980:
11965#line 841
11966 unit = (int )__val_gu___1;
11967#line 841
11968 if (__ret_gu___1 != 0) {
11969#line 842
11970 goto ldv_39956;
11971 } else {
11972
11973 }
11974 {
11975#line 843
11976 err = -6;
11977#line 844
11978 pn = ppp_pernet(net);
11979#line 845
11980 __cil_tmp34 = & pn->all_channels_lock;
11981#line 845
11982 spin_lock_bh(__cil_tmp34);
11983#line 846
11984 chan = ppp_find_channel(pn, unit);
11985 }
11986 {
11987#line 847
11988 __cil_tmp35 = (struct channel *)0;
11989#line 847
11990 __cil_tmp36 = (unsigned long )__cil_tmp35;
11991#line 847
11992 __cil_tmp37 = (unsigned long )chan;
11993#line 847
11994 if (__cil_tmp37 != __cil_tmp36) {
11995 {
11996#line 848
11997 __cil_tmp38 = & chan->file.refcnt;
11998#line 848
11999 atomic_inc(__cil_tmp38);
12000#line 849
12001 __cil_tmp39 = & chan->file;
12002#line 849
12003 file->private_data = (void *)__cil_tmp39;
12004#line 850
12005 err = 0;
12006 }
12007 } else {
12008
12009 }
12010 }
12011 {
12012#line 852
12013 __cil_tmp40 = & pn->all_channels_lock;
12014#line 852
12015 spin_unlock_bh(__cil_tmp40);
12016 }
12017#line 853
12018 goto ldv_39956;
12019 switch_default___3:
12020#line 856
12021 err = -25;
12022 } else {
12023
12024 }
12025 }
12026 }
12027 }
12028 }
12029 }
12030 }
12031 ldv_39956:
12032 {
12033#line 858
12034 mutex_unlock(& ppp_mutex);
12035 }
12036#line 859
12037 return (err);
12038}
12039}
12040#line 862 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
12041static struct file_operations const ppp_device_fops =
12042#line 862
12043 {& __this_module, & noop_llseek, & ppp_read, & ppp_write, (ssize_t (*)(struct kiocb * ,
12044 struct iovec const * ,
12045 unsigned long ,
12046 loff_t ))0,
12047 (ssize_t (*)(struct kiocb * , struct iovec const * , unsigned long , loff_t ))0,
12048 (int (*)(struct file * , void * , int (*)(void * , char const * , int , loff_t ,
12049 u64 , unsigned int ) ))0, & ppp_poll,
12050 & ppp_ioctl, (long (*)(struct file * , unsigned int , unsigned long ))0, (int (*)(struct file * ,
12051 struct vm_area_struct * ))0,
12052 & ppp_open, (int (*)(struct file * , fl_owner_t ))0, & ppp_release, (int (*)(struct file * ,
12053 int ))0,
12054 (int (*)(struct kiocb * , int ))0, (int (*)(int , struct file * , int ))0,
12055 (int (*)(struct file * , int , struct file_lock * ))0, (ssize_t (*)(struct file * ,
12056 struct page * ,
12057 int , size_t ,
12058 loff_t * ,
12059 int ))0,
12060 (unsigned long (*)(struct file * , unsigned long , unsigned long , unsigned long ,
12061 unsigned long ))0, (int (*)(int ))0, (int (*)(struct file * ,
12062 int , struct file_lock * ))0,
12063 (ssize_t (*)(struct pipe_inode_info * , struct file * , loff_t * , size_t , unsigned int ))0,
12064 (ssize_t (*)(struct file * , loff_t * , struct pipe_inode_info * , size_t , unsigned int ))0,
12065 (int (*)(struct file * , long , struct file_lock ** ))0, (long (*)(struct file * ,
12066 int , loff_t ,
12067 loff_t ))0};
12068#line 873 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
12069static int ppp_init_net(struct net *net )
12070{ struct ppp_net *pn ;
12071 void *tmp ;
12072 struct lock_class_key __key ;
12073 struct lock_class_key __key___0 ;
12074 struct net const *__cil_tmp6 ;
12075 struct idr *__cil_tmp7 ;
12076 struct mutex *__cil_tmp8 ;
12077 struct list_head *__cil_tmp9 ;
12078 struct list_head *__cil_tmp10 ;
12079 spinlock_t *__cil_tmp11 ;
12080 struct raw_spinlock *__cil_tmp12 ;
12081
12082 {
12083 {
12084#line 875
12085 __cil_tmp6 = (struct net const *)net;
12086#line 875
12087 tmp = net_generic(__cil_tmp6, ppp_net_id);
12088#line 875
12089 pn = (struct ppp_net *)tmp;
12090#line 877
12091 __cil_tmp7 = & pn->units_idr;
12092#line 877
12093 idr_init(__cil_tmp7);
12094#line 878
12095 __cil_tmp8 = & pn->all_ppp_mutex;
12096#line 878
12097 __mutex_init(__cil_tmp8, "&pn->all_ppp_mutex", & __key);
12098#line 880
12099 __cil_tmp9 = & pn->all_channels;
12100#line 880
12101 INIT_LIST_HEAD(__cil_tmp9);
12102#line 881
12103 __cil_tmp10 = & pn->new_channels;
12104#line 881
12105 INIT_LIST_HEAD(__cil_tmp10);
12106#line 883
12107 __cil_tmp11 = & pn->all_channels_lock;
12108#line 883
12109 spinlock_check(__cil_tmp11);
12110#line 883
12111 __cil_tmp12 = & pn->all_channels_lock.ldv_6060.rlock;
12112#line 883
12113 __raw_spin_lock_init(__cil_tmp12, "&(&pn->all_channels_lock)->rlock", & __key___0);
12114 }
12115#line 885
12116 return (0);
12117}
12118}
12119#line 888 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
12120static void ppp_exit_net(struct net *net )
12121{ struct ppp_net *pn ;
12122 void *tmp ;
12123 struct net const *__cil_tmp4 ;
12124 struct idr *__cil_tmp5 ;
12125
12126 {
12127 {
12128#line 890
12129 __cil_tmp4 = (struct net const *)net;
12130#line 890
12131 tmp = net_generic(__cil_tmp4, ppp_net_id);
12132#line 890
12133 pn = (struct ppp_net *)tmp;
12134#line 892
12135 __cil_tmp5 = & pn->units_idr;
12136#line 892
12137 idr_destroy(__cil_tmp5);
12138 }
12139#line 893
12140 return;
12141}
12142}
12143#line 895 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
12144static struct pernet_operations ppp_net_ops = {{(struct list_head *)0, (struct list_head *)0}, & ppp_init_net, & ppp_exit_net,
12145 (void (*)(struct list_head * ))0, & ppp_net_id, 376UL};
12146#line 906 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
12147static int ppp_init(void)
12148{ int err ;
12149 struct lock_class_key __key ;
12150 struct class *tmp ;
12151 long tmp___0 ;
12152 long tmp___1 ;
12153 void const *__cil_tmp6 ;
12154 void const *__cil_tmp7 ;
12155 struct device *__cil_tmp8 ;
12156 void *__cil_tmp9 ;
12157
12158 {
12159 {
12160#line 910
12161 printk("<6>PPP generic driver version 2.4.2\n");
12162#line 912
12163 err = register_pernet_device(& ppp_net_ops);
12164 }
12165#line 913
12166 if (err != 0) {
12167 {
12168#line 914
12169 printk("<3>failed to register PPP pernet device (%d)\n", err);
12170 }
12171#line 915
12172 goto out;
12173 } else {
12174
12175 }
12176 {
12177#line 918
12178 err = register_chrdev(108U, "ppp", & ppp_device_fops);
12179 }
12180#line 919
12181 if (err != 0) {
12182 {
12183#line 920
12184 printk("<3>failed to register PPP device (%d)\n", err);
12185 }
12186#line 921
12187 goto out_net;
12188 } else {
12189
12190 }
12191 {
12192#line 924
12193 tmp = __class_create(& __this_module, "ppp", & __key);
12194#line 924
12195 ppp_class = tmp;
12196#line 925
12197 __cil_tmp6 = (void const *)ppp_class;
12198#line 925
12199 tmp___1 = IS_ERR(__cil_tmp6);
12200 }
12201#line 925
12202 if (tmp___1 != 0L) {
12203 {
12204#line 926
12205 __cil_tmp7 = (void const *)ppp_class;
12206#line 926
12207 tmp___0 = PTR_ERR(__cil_tmp7);
12208#line 926
12209 err = (int )tmp___0;
12210 }
12211#line 927
12212 goto out_chrdev;
12213 } else {
12214
12215 }
12216 {
12217#line 931
12218 __cil_tmp8 = (struct device *)0;
12219#line 931
12220 __cil_tmp9 = (void *)0;
12221#line 931
12222 device_create(ppp_class, __cil_tmp8, 113246208U, __cil_tmp9, "ppp");
12223 }
12224#line 933
12225 return (0);
12226 out_chrdev:
12227 {
12228#line 936
12229 unregister_chrdev(108U, "ppp");
12230 }
12231 out_net:
12232 {
12233#line 938
12234 unregister_pernet_device(& ppp_net_ops);
12235 }
12236 out: ;
12237#line 940
12238 return (err);
12239}
12240}
12241#line 947 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
12242static netdev_tx_t ppp_start_xmit(struct sk_buff *skb , struct net_device *dev )
12243{ struct ppp *ppp ;
12244 void *tmp ;
12245 int npi ;
12246 int proto ;
12247 unsigned char *pp ;
12248 __u16 tmp___0 ;
12249 int tmp___1 ;
12250 struct net_device const *__cil_tmp10 ;
12251 __be16 __cil_tmp11 ;
12252 int __cil_tmp12 ;
12253 __u16 __cil_tmp13 ;
12254 int __cil_tmp14 ;
12255 enum NPmode __cil_tmp15 ;
12256 unsigned int __cil_tmp16 ;
12257 int __cil_tmp17 ;
12258 enum NPmode __cil_tmp18 ;
12259 unsigned int __cil_tmp19 ;
12260 int __cil_tmp20 ;
12261 enum NPmode __cil_tmp21 ;
12262 unsigned int __cil_tmp22 ;
12263 int __cil_tmp23 ;
12264 enum NPmode __cil_tmp24 ;
12265 unsigned int __cil_tmp25 ;
12266 int __cil_tmp26 ;
12267 u16 __cil_tmp27 ;
12268 int __cil_tmp28 ;
12269 u16 __cil_tmp29 ;
12270 void *__cil_tmp30 ;
12271 struct sk_buff_head *__cil_tmp31 ;
12272 unsigned long __cil_tmp32 ;
12273
12274 {
12275 {
12276#line 949
12277 __cil_tmp10 = (struct net_device const *)dev;
12278#line 949
12279 tmp = netdev_priv(__cil_tmp10);
12280#line 949
12281 ppp = (struct ppp *)tmp;
12282#line 953
12283 __cil_tmp11 = skb->protocol;
12284#line 953
12285 __cil_tmp12 = (int )__cil_tmp11;
12286#line 953
12287 __cil_tmp13 = (__u16 )__cil_tmp12;
12288#line 953
12289 tmp___0 = __fswab16(__cil_tmp13);
12290#line 953
12291 __cil_tmp14 = (int )tmp___0;
12292#line 953
12293 npi = ethertype_to_npindex(__cil_tmp14);
12294 }
12295#line 954
12296 if (npi < 0) {
12297#line 955
12298 goto outf;
12299 } else {
12300
12301 }
12302 {
12303#line 959
12304 __cil_tmp15 = ppp->npmode[npi];
12305#line 959
12306 __cil_tmp16 = (unsigned int )__cil_tmp15;
12307#line 959
12308 __cil_tmp17 = (int )__cil_tmp16;
12309#line 959
12310 if (__cil_tmp17 == 0) {
12311#line 959
12312 goto case_0;
12313 } else {
12314 {
12315#line 961
12316 __cil_tmp18 = ppp->npmode[npi];
12317#line 961
12318 __cil_tmp19 = (unsigned int )__cil_tmp18;
12319#line 961
12320 __cil_tmp20 = (int )__cil_tmp19;
12321#line 961
12322 if (__cil_tmp20 == 3) {
12323#line 961
12324 goto case_3;
12325 } else {
12326 {
12327#line 965
12328 __cil_tmp21 = ppp->npmode[npi];
12329#line 965
12330 __cil_tmp22 = (unsigned int )__cil_tmp21;
12331#line 965
12332 __cil_tmp23 = (int )__cil_tmp22;
12333#line 965
12334 if (__cil_tmp23 == 1) {
12335#line 965
12336 goto case_1;
12337 } else {
12338 {
12339#line 966
12340 __cil_tmp24 = ppp->npmode[npi];
12341#line 966
12342 __cil_tmp25 = (unsigned int )__cil_tmp24;
12343#line 966
12344 __cil_tmp26 = (int )__cil_tmp25;
12345#line 966
12346 if (__cil_tmp26 == 2) {
12347#line 966
12348 goto case_2;
12349 } else
12350#line 958
12351 if (0) {
12352 case_0: ;
12353#line 960
12354 goto ldv_40018;
12355 case_3: ;
12356#line 964
12357 goto outf;
12358 case_1: ;
12359 case_2: ;
12360#line 967
12361 goto outf;
12362 } else {
12363
12364 }
12365 }
12366 }
12367 }
12368 }
12369 }
12370 }
12371 }
12372 ldv_40018:
12373 {
12374#line 972
12375 tmp___1 = skb_cow_head(skb, 4U);
12376 }
12377#line 972
12378 if (tmp___1 != 0) {
12379#line 973
12380 goto outf;
12381 } else {
12382
12383 }
12384 {
12385#line 975
12386 pp = skb_push(skb, 2U);
12387#line 976
12388 proto = (int )npindex_to_proto[npi];
12389#line 977
12390 __cil_tmp27 = (u16 )proto;
12391#line 977
12392 __cil_tmp28 = (int )__cil_tmp27;
12393#line 977
12394 __cil_tmp29 = (u16 )__cil_tmp28;
12395#line 977
12396 __cil_tmp30 = (void *)pp;
12397#line 977
12398 put_unaligned_be16(__cil_tmp29, __cil_tmp30);
12399#line 979
12400 netif_stop_queue(dev);
12401#line 980
12402 __cil_tmp31 = & ppp->file.xq;
12403#line 980
12404 skb_queue_tail(__cil_tmp31, skb);
12405#line 981
12406 ppp_xmit_process(ppp);
12407 }
12408#line 982
12409 return ((netdev_tx_t )0);
12410 outf:
12411 {
12412#line 985
12413 kfree_skb(skb);
12414#line 986
12415 __cil_tmp32 = dev->stats.tx_dropped;
12416#line 986
12417 dev->stats.tx_dropped = __cil_tmp32 + 1UL;
12418 }
12419#line 987
12420 return ((netdev_tx_t )0);
12421}
12422}
12423#line 991 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
12424static int ppp_net_ioctl(struct net_device *dev , struct ifreq *ifr , int cmd )
12425{ struct ppp *ppp ;
12426 void *tmp ;
12427 int err ;
12428 void *addr ;
12429 struct ppp_stats stats ;
12430 struct ppp_comp_stats cstats ;
12431 char *vers ;
12432 int tmp___0 ;
12433 int tmp___1 ;
12434 size_t tmp___2 ;
12435 int tmp___3 ;
12436 struct net_device const *__cil_tmp15 ;
12437 void const *__cil_tmp16 ;
12438 void *__cil_tmp17 ;
12439 void *__cil_tmp18 ;
12440 unsigned long __cil_tmp19 ;
12441 void *__cil_tmp20 ;
12442 unsigned long __cil_tmp21 ;
12443 struct compressor *__cil_tmp22 ;
12444 void (*__cil_tmp23)(void * , struct compstat * ) ;
12445 void *__cil_tmp24 ;
12446 struct compstat *__cil_tmp25 ;
12447 void *__cil_tmp26 ;
12448 unsigned long __cil_tmp27 ;
12449 void *__cil_tmp28 ;
12450 unsigned long __cil_tmp29 ;
12451 struct compressor *__cil_tmp30 ;
12452 void (*__cil_tmp31)(void * , struct compstat * ) ;
12453 void *__cil_tmp32 ;
12454 struct compstat *__cil_tmp33 ;
12455 void const *__cil_tmp34 ;
12456 char const *__cil_tmp35 ;
12457 void const *__cil_tmp36 ;
12458 unsigned int __cil_tmp37 ;
12459 unsigned int __cil_tmp38 ;
12460
12461 {
12462 {
12463#line 993
12464 __cil_tmp15 = (struct net_device const *)dev;
12465#line 993
12466 tmp = netdev_priv(__cil_tmp15);
12467#line 993
12468 ppp = (struct ppp *)tmp;
12469#line 994
12470 err = -14;
12471#line 995
12472 addr = ifr->ifr_ifru.ifru_data;
12473 }
12474#line 1001
12475 if (cmd == 35312) {
12476#line 1001
12477 goto case_35312;
12478 } else
12479#line 1008
12480 if (cmd == 35314) {
12481#line 1008
12482 goto case_35314;
12483 } else
12484#line 1019
12485 if (cmd == 35313) {
12486#line 1019
12487 goto case_35313;
12488 } else {
12489#line 1026
12490 goto switch_default;
12491#line 1000
12492 if (0) {
12493 case_35312:
12494 {
12495#line 1002
12496 ppp_get_stats(ppp, & stats);
12497#line 1003
12498 __cil_tmp16 = (void const *)(& stats);
12499#line 1003
12500 tmp___0 = copy_to_user(addr, __cil_tmp16, 76U);
12501 }
12502#line 1003
12503 if (tmp___0 != 0) {
12504#line 1004
12505 goto ldv_40034;
12506 } else {
12507
12508 }
12509#line 1005
12510 err = 0;
12511#line 1006
12512 goto ldv_40034;
12513 case_35314:
12514 {
12515#line 1009
12516 __cil_tmp17 = (void *)(& cstats);
12517#line 1009
12518 memset(__cil_tmp17, 0, 80UL);
12519 }
12520 {
12521#line 1010
12522 __cil_tmp18 = (void *)0;
12523#line 1010
12524 __cil_tmp19 = (unsigned long )__cil_tmp18;
12525#line 1010
12526 __cil_tmp20 = ppp->xc_state;
12527#line 1010
12528 __cil_tmp21 = (unsigned long )__cil_tmp20;
12529#line 1010
12530 if (__cil_tmp21 != __cil_tmp19) {
12531 {
12532#line 1011
12533 __cil_tmp22 = ppp->xcomp;
12534#line 1011
12535 __cil_tmp23 = __cil_tmp22->comp_stat;
12536#line 1011
12537 __cil_tmp24 = ppp->xc_state;
12538#line 1011
12539 __cil_tmp25 = & cstats.c;
12540#line 1011
12541 (*__cil_tmp23)(__cil_tmp24, __cil_tmp25);
12542 }
12543 } else {
12544
12545 }
12546 }
12547 {
12548#line 1012
12549 __cil_tmp26 = (void *)0;
12550#line 1012
12551 __cil_tmp27 = (unsigned long )__cil_tmp26;
12552#line 1012
12553 __cil_tmp28 = ppp->rc_state;
12554#line 1012
12555 __cil_tmp29 = (unsigned long )__cil_tmp28;
12556#line 1012
12557 if (__cil_tmp29 != __cil_tmp27) {
12558 {
12559#line 1013
12560 __cil_tmp30 = ppp->rcomp;
12561#line 1013
12562 __cil_tmp31 = __cil_tmp30->decomp_stat;
12563#line 1013
12564 __cil_tmp32 = ppp->rc_state;
12565#line 1013
12566 __cil_tmp33 = & cstats.d;
12567#line 1013
12568 (*__cil_tmp31)(__cil_tmp32, __cil_tmp33);
12569 }
12570 } else {
12571
12572 }
12573 }
12574 {
12575#line 1014
12576 __cil_tmp34 = (void const *)(& cstats);
12577#line 1014
12578 tmp___1 = copy_to_user(addr, __cil_tmp34, 80U);
12579 }
12580#line 1014
12581 if (tmp___1 != 0) {
12582#line 1015
12583 goto ldv_40034;
12584 } else {
12585
12586 }
12587#line 1016
12588 err = 0;
12589#line 1017
12590 goto ldv_40034;
12591 case_35313:
12592 {
12593#line 1020
12594 vers = (char *)"2.4.2";
12595#line 1021
12596 __cil_tmp35 = (char const *)vers;
12597#line 1021
12598 tmp___2 = strlen(__cil_tmp35);
12599#line 1021
12600 __cil_tmp36 = (void const *)vers;
12601#line 1021
12602 __cil_tmp37 = (unsigned int )tmp___2;
12603#line 1021
12604 __cil_tmp38 = __cil_tmp37 + 1U;
12605#line 1021
12606 tmp___3 = copy_to_user(addr, __cil_tmp36, __cil_tmp38);
12607 }
12608#line 1021
12609 if (tmp___3 != 0) {
12610#line 1022
12611 goto ldv_40034;
12612 } else {
12613
12614 }
12615#line 1023
12616 err = 0;
12617#line 1024
12618 goto ldv_40034;
12619 switch_default:
12620#line 1027
12621 err = -22;
12622 } else {
12623
12624 }
12625 }
12626 ldv_40034: ;
12627#line 1030
12628 return (err);
12629}
12630}
12631#line 1033 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
12632static struct net_device_ops const ppp_netdev_ops =
12633#line 1033
12634 {(int (*)(struct net_device * ))0, (void (*)(struct net_device * ))0, (int (*)(struct net_device * ))0,
12635 (int (*)(struct net_device * ))0, & ppp_start_xmit, (u16 (*)(struct net_device * ,
12636 struct sk_buff * ))0,
12637 (void (*)(struct net_device * , int ))0, (void (*)(struct net_device * ))0, (void (*)(struct net_device * ))0,
12638 (int (*)(struct net_device * , void * ))0, (int (*)(struct net_device * ))0, & ppp_net_ioctl,
12639 (int (*)(struct net_device * , struct ifmap * ))0, (int (*)(struct net_device * ,
12640 int ))0, (int (*)(struct net_device * ,
12641 struct neigh_parms * ))0,
12642 (void (*)(struct net_device * ))0, (struct rtnl_link_stats64 *(*)(struct net_device * ,
12643 struct rtnl_link_stats64 * ))0,
12644 (struct net_device_stats *(*)(struct net_device * ))0, (void (*)(struct net_device * ,
12645 struct vlan_group * ))0,
12646 (void (*)(struct net_device * , unsigned short ))0, (void (*)(struct net_device * ,
12647 unsigned short ))0,
12648 (void (*)(struct net_device * ))0, (int (*)(struct net_device * , struct netpoll_info * ))0,
12649 (void (*)(struct net_device * ))0, (int (*)(struct net_device * , int , u8 * ))0,
12650 (int (*)(struct net_device * , int , u16 , u8 ))0, (int (*)(struct net_device * ,
12651 int , int ))0,
12652 (int (*)(struct net_device * , int , struct ifla_vf_info * ))0, (int (*)(struct net_device * ,
12653 int ,
12654 struct nlattr ** ))0,
12655 (int (*)(struct net_device * , int , struct sk_buff * ))0, (int (*)(struct net_device * ,
12656 u8 ))0,
12657 (int (*)(struct net_device * ))0, (int (*)(struct net_device * ))0, (int (*)(struct net_device * ,
12658 u16 ,
12659 struct scatterlist * ,
12660 unsigned int ))0,
12661 (int (*)(struct net_device * , u16 ))0, (int (*)(struct net_device * , u16 ,
12662 struct scatterlist * , unsigned int ))0,
12663 (int (*)(struct net_device * , u64 * , int ))0, (int (*)(struct net_device * ,
12664 struct sk_buff const * ,
12665 u16 , u32 ))0, (int (*)(struct net_device * ,
12666 struct net_device * ))0,
12667 (int (*)(struct net_device * , struct net_device * ))0, (u32 (*)(struct net_device * ,
12668 u32 ))0, (int (*)(struct net_device * ,
12669 u32 ))0};
12670#line 1038 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
12671static void ppp_setup(struct net_device *dev )
12672{ u32 __cil_tmp2 ;
12673 unsigned int __cil_tmp3 ;
12674
12675 {
12676#line 1040
12677 dev->netdev_ops = & ppp_netdev_ops;
12678#line 1041
12679 dev->hard_header_len = (unsigned short)4;
12680#line 1042
12681 dev->mtu = 1500U;
12682#line 1043
12683 dev->addr_len = (unsigned char)0;
12684#line 1044
12685 dev->tx_queue_len = 3UL;
12686#line 1045
12687 dev->type = (unsigned short)512;
12688#line 1046
12689 dev->flags = 4240U;
12690#line 1047
12691 __cil_tmp2 = dev->features;
12692#line 1047
12693 dev->features = __cil_tmp2 | 8192U;
12694#line 1048
12695 __cil_tmp3 = dev->priv_flags;
12696#line 1048
12697 dev->priv_flags = __cil_tmp3 & 4294966271U;
12698#line 1049
12699 return;
12700}
12701}
12702#line 1060 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
12703static void ppp_xmit_process(struct ppp *ppp )
12704{ struct sk_buff *skb ;
12705 struct sk_buff *tmp ;
12706 spinlock_t *__cil_tmp4 ;
12707 int __cil_tmp5 ;
12708 struct sk_buff *__cil_tmp6 ;
12709 unsigned long __cil_tmp7 ;
12710 struct sk_buff *__cil_tmp8 ;
12711 unsigned long __cil_tmp9 ;
12712 struct sk_buff_head *__cil_tmp10 ;
12713 struct sk_buff *__cil_tmp11 ;
12714 unsigned long __cil_tmp12 ;
12715 unsigned long __cil_tmp13 ;
12716 struct sk_buff *__cil_tmp14 ;
12717 unsigned long __cil_tmp15 ;
12718 struct sk_buff *__cil_tmp16 ;
12719 unsigned long __cil_tmp17 ;
12720 struct sk_buff_head *__cil_tmp18 ;
12721 struct sk_buff *__cil_tmp19 ;
12722 unsigned long __cil_tmp20 ;
12723 unsigned long __cil_tmp21 ;
12724 struct net_device *__cil_tmp22 ;
12725 spinlock_t *__cil_tmp23 ;
12726
12727 {
12728 {
12729#line 1064
12730 __cil_tmp4 = & ppp->wlock;
12731#line 1064
12732 spin_lock_bh(__cil_tmp4);
12733 }
12734 {
12735#line 1065
12736 __cil_tmp5 = ppp->closing;
12737#line 1065
12738 if (__cil_tmp5 == 0) {
12739 {
12740#line 1066
12741 ppp_push(ppp);
12742 }
12743#line 1067
12744 goto ldv_40047;
12745 ldv_40046:
12746 {
12747#line 1069
12748 ppp_send_frame(ppp, skb);
12749 }
12750 ldv_40047: ;
12751 {
12752#line 1067
12753 __cil_tmp6 = (struct sk_buff *)0;
12754#line 1067
12755 __cil_tmp7 = (unsigned long )__cil_tmp6;
12756#line 1067
12757 __cil_tmp8 = ppp->xmit_pending;
12758#line 1067
12759 __cil_tmp9 = (unsigned long )__cil_tmp8;
12760#line 1067
12761 if (__cil_tmp9 == __cil_tmp7) {
12762 {
12763#line 1067
12764 __cil_tmp10 = & ppp->file.xq;
12765#line 1067
12766 skb = skb_dequeue(__cil_tmp10);
12767 }
12768 {
12769#line 1067
12770 __cil_tmp11 = (struct sk_buff *)0;
12771#line 1067
12772 __cil_tmp12 = (unsigned long )__cil_tmp11;
12773#line 1067
12774 __cil_tmp13 = (unsigned long )skb;
12775#line 1067
12776 if (__cil_tmp13 != __cil_tmp12) {
12777#line 1068
12778 goto ldv_40046;
12779 } else {
12780#line 1070
12781 goto ldv_40048;
12782 }
12783 }
12784 } else {
12785#line 1070
12786 goto ldv_40048;
12787 }
12788 }
12789 ldv_40048: ;
12790 {
12791#line 1072
12792 __cil_tmp14 = (struct sk_buff *)0;
12793#line 1072
12794 __cil_tmp15 = (unsigned long )__cil_tmp14;
12795#line 1072
12796 __cil_tmp16 = ppp->xmit_pending;
12797#line 1072
12798 __cil_tmp17 = (unsigned long )__cil_tmp16;
12799#line 1072
12800 if (__cil_tmp17 == __cil_tmp15) {
12801 {
12802#line 1072
12803 __cil_tmp18 = & ppp->file.xq;
12804#line 1072
12805 tmp = skb_peek(__cil_tmp18);
12806 }
12807 {
12808#line 1072
12809 __cil_tmp19 = (struct sk_buff *)0;
12810#line 1072
12811 __cil_tmp20 = (unsigned long )__cil_tmp19;
12812#line 1072
12813 __cil_tmp21 = (unsigned long )tmp;
12814#line 1072
12815 if (__cil_tmp21 == __cil_tmp20) {
12816 {
12817#line 1073
12818 __cil_tmp22 = ppp->dev;
12819#line 1073
12820 netif_wake_queue(__cil_tmp22);
12821 }
12822 } else {
12823
12824 }
12825 }
12826 } else {
12827
12828 }
12829 }
12830 } else {
12831
12832 }
12833 }
12834 {
12835#line 1075
12836 __cil_tmp23 = & ppp->wlock;
12837#line 1075
12838 spin_unlock_bh(__cil_tmp23);
12839 }
12840#line 1076
12841 return;
12842}
12843}
12844#line 1079 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
12845__inline static struct sk_buff *pad_compress_skb(struct ppp *ppp , struct sk_buff *skb )
12846{ struct sk_buff *new_skb ;
12847 int len ;
12848 int new_skb_size ;
12849 int compressor_skb_size ;
12850 int tmp ;
12851 int tmp___0 ;
12852 struct net_device *__cil_tmp9 ;
12853 unsigned short __cil_tmp10 ;
12854 unsigned int __cil_tmp11 ;
12855 struct compressor *__cil_tmp12 ;
12856 unsigned int __cil_tmp13 ;
12857 struct net_device *__cil_tmp14 ;
12858 unsigned int __cil_tmp15 ;
12859 unsigned int __cil_tmp16 ;
12860 unsigned int __cil_tmp17 ;
12861 struct compressor *__cil_tmp18 ;
12862 unsigned int __cil_tmp19 ;
12863 struct net_device *__cil_tmp20 ;
12864 unsigned int __cil_tmp21 ;
12865 unsigned int __cil_tmp22 ;
12866 unsigned int __cil_tmp23 ;
12867 unsigned int __cil_tmp24 ;
12868 struct sk_buff *__cil_tmp25 ;
12869 unsigned long __cil_tmp26 ;
12870 unsigned long __cil_tmp27 ;
12871 struct net_device *__cil_tmp28 ;
12872 struct net_device const *__cil_tmp29 ;
12873 struct net_device *__cil_tmp30 ;
12874 unsigned short __cil_tmp31 ;
12875 unsigned int __cil_tmp32 ;
12876 struct net_device *__cil_tmp33 ;
12877 unsigned short __cil_tmp34 ;
12878 int __cil_tmp35 ;
12879 int __cil_tmp36 ;
12880 struct compressor *__cil_tmp37 ;
12881 int (*__cil_tmp38)(void * , unsigned char * , unsigned char * , int , int ) ;
12882 void *__cil_tmp39 ;
12883 unsigned char *__cil_tmp40 ;
12884 unsigned char *__cil_tmp41 ;
12885 unsigned char *__cil_tmp42 ;
12886 unsigned int __cil_tmp43 ;
12887 unsigned int __cil_tmp44 ;
12888 int __cil_tmp45 ;
12889 unsigned int __cil_tmp46 ;
12890 unsigned int __cil_tmp47 ;
12891 unsigned int __cil_tmp48 ;
12892 struct net_device *__cil_tmp49 ;
12893 struct net_device const *__cil_tmp50 ;
12894
12895 {
12896 {
12897#line 1083
12898 __cil_tmp9 = ppp->dev;
12899#line 1083
12900 __cil_tmp10 = __cil_tmp9->hard_header_len;
12901#line 1083
12902 __cil_tmp11 = (unsigned int )__cil_tmp10;
12903#line 1083
12904 __cil_tmp12 = ppp->xcomp;
12905#line 1083
12906 __cil_tmp13 = __cil_tmp12->comp_extra;
12907#line 1083
12908 __cil_tmp14 = ppp->dev;
12909#line 1083
12910 __cil_tmp15 = __cil_tmp14->mtu;
12911#line 1083
12912 __cil_tmp16 = __cil_tmp15 + __cil_tmp13;
12913#line 1083
12914 __cil_tmp17 = __cil_tmp16 + __cil_tmp11;
12915#line 1083
12916 new_skb_size = (int )__cil_tmp17;
12917#line 1085
12918 __cil_tmp18 = ppp->xcomp;
12919#line 1085
12920 __cil_tmp19 = __cil_tmp18->comp_extra;
12921#line 1085
12922 __cil_tmp20 = ppp->dev;
12923#line 1085
12924 __cil_tmp21 = __cil_tmp20->mtu;
12925#line 1085
12926 __cil_tmp22 = __cil_tmp21 + __cil_tmp19;
12927#line 1085
12928 __cil_tmp23 = __cil_tmp22 + 4U;
12929#line 1085
12930 compressor_skb_size = (int )__cil_tmp23;
12931#line 1087
12932 __cil_tmp24 = (unsigned int )new_skb_size;
12933#line 1087
12934 new_skb = alloc_skb(__cil_tmp24, 32U);
12935 }
12936 {
12937#line 1088
12938 __cil_tmp25 = (struct sk_buff *)0;
12939#line 1088
12940 __cil_tmp26 = (unsigned long )__cil_tmp25;
12941#line 1088
12942 __cil_tmp27 = (unsigned long )new_skb;
12943#line 1088
12944 if (__cil_tmp27 == __cil_tmp26) {
12945 {
12946#line 1089
12947 tmp = net_ratelimit();
12948 }
12949#line 1089
12950 if (tmp != 0) {
12951 {
12952#line 1090
12953 __cil_tmp28 = ppp->dev;
12954#line 1090
12955 __cil_tmp29 = (struct net_device const *)__cil_tmp28;
12956#line 1090
12957 netdev_err(__cil_tmp29, "PPP: no memory (comp pkt)\n");
12958 }
12959 } else {
12960
12961 }
12962#line 1091
12963 return ((struct sk_buff *)0);
12964 } else {
12965
12966 }
12967 }
12968 {
12969#line 1093
12970 __cil_tmp30 = ppp->dev;
12971#line 1093
12972 __cil_tmp31 = __cil_tmp30->hard_header_len;
12973#line 1093
12974 __cil_tmp32 = (unsigned int )__cil_tmp31;
12975#line 1093
12976 if (__cil_tmp32 > 4U) {
12977 {
12978#line 1094
12979 __cil_tmp33 = ppp->dev;
12980#line 1094
12981 __cil_tmp34 = __cil_tmp33->hard_header_len;
12982#line 1094
12983 __cil_tmp35 = (int )__cil_tmp34;
12984#line 1094
12985 __cil_tmp36 = __cil_tmp35 + -4;
12986#line 1094
12987 skb_reserve(new_skb, __cil_tmp36);
12988 }
12989 } else {
12990
12991 }
12992 }
12993 {
12994#line 1098
12995 __cil_tmp37 = ppp->xcomp;
12996#line 1098
12997 __cil_tmp38 = __cil_tmp37->compress;
12998#line 1098
12999 __cil_tmp39 = ppp->xc_state;
13000#line 1098
13001 __cil_tmp40 = skb->data;
13002#line 1098
13003 __cil_tmp41 = __cil_tmp40 + 1152921504606846974UL;
13004#line 1098
13005 __cil_tmp42 = new_skb->data;
13006#line 1098
13007 __cil_tmp43 = skb->len;
13008#line 1098
13009 __cil_tmp44 = __cil_tmp43 + 2U;
13010#line 1098
13011 __cil_tmp45 = (int )__cil_tmp44;
13012#line 1098
13013 len = (*__cil_tmp38)(__cil_tmp39, __cil_tmp41, __cil_tmp42, __cil_tmp45, compressor_skb_size);
13014 }
13015#line 1101
13016 if (len > 0) {
13017 {
13018#line 1101
13019 __cil_tmp46 = ppp->flags;
13020#line 1101
13021 __cil_tmp47 = __cil_tmp46 & 128U;
13022#line 1101
13023 if (__cil_tmp47 != 0U) {
13024 {
13025#line 1102
13026 kfree_skb(skb);
13027#line 1103
13028 skb = new_skb;
13029#line 1104
13030 __cil_tmp48 = (unsigned int )len;
13031#line 1104
13032 skb_put(skb, __cil_tmp48);
13033#line 1105
13034 skb_pull(skb, 2U);
13035 }
13036 } else {
13037#line 1101
13038 goto _L;
13039 }
13040 }
13041 } else
13042 _L:
13043#line 1106
13044 if (len == 0) {
13045 {
13046#line 1108
13047 kfree_skb(new_skb);
13048#line 1109
13049 new_skb = skb;
13050 }
13051 } else {
13052 {
13053#line 1119
13054 tmp___0 = net_ratelimit();
13055 }
13056#line 1119
13057 if (tmp___0 != 0) {
13058 {
13059#line 1120
13060 __cil_tmp49 = ppp->dev;
13061#line 1120
13062 __cil_tmp50 = (struct net_device const *)__cil_tmp49;
13063#line 1120
13064 netdev_err(__cil_tmp50, "ppp: compressor dropped pkt\n");
13065 }
13066 } else {
13067
13068 }
13069 {
13070#line 1121
13071 kfree_skb(skb);
13072#line 1122
13073 kfree_skb(new_skb);
13074#line 1123
13075 new_skb = (struct sk_buff *)0;
13076 }
13077 }
13078#line 1125
13079 return (new_skb);
13080}
13081}
13082#line 1134 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
13083static void ppp_send_frame(struct ppp *ppp , struct sk_buff *skb )
13084{ int proto ;
13085 u16 tmp ;
13086 struct sk_buff *new_skb ;
13087 int len ;
13088 unsigned char *cp ;
13089 unsigned char *tmp___0 ;
13090 unsigned int tmp___1 ;
13091 unsigned int tmp___2 ;
13092 int tmp___3 ;
13093 unsigned char *__cil_tmp12 ;
13094 void const *__cil_tmp13 ;
13095 struct sock_filter *__cil_tmp14 ;
13096 unsigned long __cil_tmp15 ;
13097 struct sock_filter *__cil_tmp16 ;
13098 unsigned long __cil_tmp17 ;
13099 struct sk_buff const *__cil_tmp18 ;
13100 struct sock_filter *__cil_tmp19 ;
13101 struct sock_filter const *__cil_tmp20 ;
13102 int __cil_tmp21 ;
13103 struct net_device *__cil_tmp22 ;
13104 struct net_device const *__cil_tmp23 ;
13105 struct sock_filter *__cil_tmp24 ;
13106 unsigned long __cil_tmp25 ;
13107 struct sock_filter *__cil_tmp26 ;
13108 unsigned long __cil_tmp27 ;
13109 struct sk_buff const *__cil_tmp28 ;
13110 struct sock_filter *__cil_tmp29 ;
13111 struct sock_filter const *__cil_tmp30 ;
13112 struct net_device *__cil_tmp31 ;
13113 struct net_device *__cil_tmp32 ;
13114 unsigned long __cil_tmp33 ;
13115 struct net_device *__cil_tmp34 ;
13116 unsigned int __cil_tmp35 ;
13117 unsigned int __cil_tmp36 ;
13118 unsigned long __cil_tmp37 ;
13119 struct net_device *__cil_tmp38 ;
13120 unsigned long __cil_tmp39 ;
13121 struct slcompress *__cil_tmp40 ;
13122 unsigned long __cil_tmp41 ;
13123 struct slcompress *__cil_tmp42 ;
13124 unsigned long __cil_tmp43 ;
13125 unsigned int __cil_tmp44 ;
13126 unsigned int __cil_tmp45 ;
13127 struct net_device *__cil_tmp46 ;
13128 unsigned short __cil_tmp47 ;
13129 unsigned int __cil_tmp48 ;
13130 unsigned int __cil_tmp49 ;
13131 unsigned int __cil_tmp50 ;
13132 unsigned int __cil_tmp51 ;
13133 struct sk_buff *__cil_tmp52 ;
13134 unsigned long __cil_tmp53 ;
13135 unsigned long __cil_tmp54 ;
13136 struct net_device *__cil_tmp55 ;
13137 struct net_device const *__cil_tmp56 ;
13138 struct net_device *__cil_tmp57 ;
13139 unsigned short __cil_tmp58 ;
13140 int __cil_tmp59 ;
13141 int __cil_tmp60 ;
13142 unsigned char *__cil_tmp61 ;
13143 struct slcompress *__cil_tmp62 ;
13144 unsigned int __cil_tmp63 ;
13145 unsigned int __cil_tmp64 ;
13146 int __cil_tmp65 ;
13147 unsigned char *__cil_tmp66 ;
13148 unsigned char *__cil_tmp67 ;
13149 unsigned int __cil_tmp68 ;
13150 unsigned int __cil_tmp69 ;
13151 int __cil_tmp70 ;
13152 unsigned long __cil_tmp71 ;
13153 unsigned char *__cil_tmp72 ;
13154 unsigned char *__cil_tmp73 ;
13155 unsigned long __cil_tmp74 ;
13156 unsigned char __cil_tmp75 ;
13157 signed char __cil_tmp76 ;
13158 int __cil_tmp77 ;
13159 unsigned char __cil_tmp78 ;
13160 unsigned int __cil_tmp79 ;
13161 unsigned int __cil_tmp80 ;
13162 unsigned char *__cil_tmp81 ;
13163 unsigned char *__cil_tmp82 ;
13164 int __cil_tmp83 ;
13165 unsigned int __cil_tmp84 ;
13166 unsigned char *__cil_tmp85 ;
13167 unsigned int __cil_tmp86 ;
13168 unsigned int __cil_tmp87 ;
13169 void *__cil_tmp88 ;
13170 unsigned long __cil_tmp89 ;
13171 void *__cil_tmp90 ;
13172 unsigned long __cil_tmp91 ;
13173 unsigned int __cil_tmp92 ;
13174 unsigned int __cil_tmp93 ;
13175 unsigned int __cil_tmp94 ;
13176 unsigned int __cil_tmp95 ;
13177 struct net_device *__cil_tmp96 ;
13178 struct net_device const *__cil_tmp97 ;
13179 struct sk_buff *__cil_tmp98 ;
13180 unsigned long __cil_tmp99 ;
13181 unsigned long __cil_tmp100 ;
13182 unsigned int __cil_tmp101 ;
13183 unsigned int __cil_tmp102 ;
13184 __u32 __cil_tmp103 ;
13185 struct sk_buff_head *__cil_tmp104 ;
13186 wait_queue_head_t *__cil_tmp105 ;
13187 void *__cil_tmp106 ;
13188 struct net_device *__cil_tmp107 ;
13189 struct net_device *__cil_tmp108 ;
13190 unsigned long __cil_tmp109 ;
13191
13192 {
13193 {
13194#line 1136
13195 __cil_tmp12 = skb->data;
13196#line 1136
13197 __cil_tmp13 = (void const *)__cil_tmp12;
13198#line 1136
13199 tmp = get_unaligned_be16(__cil_tmp13);
13200#line 1136
13201 proto = (int )tmp;
13202 }
13203#line 1141
13204 if (proto <= 32767) {
13205 {
13206#line 1146
13207 tmp___0 = skb_push(skb, 2U);
13208#line 1146
13209 *tmp___0 = (unsigned char)1;
13210 }
13211 {
13212#line 1147
13213 __cil_tmp14 = (struct sock_filter *)0;
13214#line 1147
13215 __cil_tmp15 = (unsigned long )__cil_tmp14;
13216#line 1147
13217 __cil_tmp16 = ppp->pass_filter;
13218#line 1147
13219 __cil_tmp17 = (unsigned long )__cil_tmp16;
13220#line 1147
13221 if (__cil_tmp17 != __cil_tmp15) {
13222 {
13223#line 1147
13224 __cil_tmp18 = (struct sk_buff const *)skb;
13225#line 1147
13226 __cil_tmp19 = ppp->pass_filter;
13227#line 1147
13228 __cil_tmp20 = (struct sock_filter const *)__cil_tmp19;
13229#line 1147
13230 tmp___1 = sk_run_filter(__cil_tmp18, __cil_tmp20);
13231 }
13232#line 1147
13233 if (tmp___1 == 0U) {
13234 {
13235#line 1149
13236 __cil_tmp21 = ppp->debug;
13237#line 1149
13238 if (__cil_tmp21 & 1) {
13239 {
13240#line 1150
13241 __cil_tmp22 = ppp->dev;
13242#line 1150
13243 __cil_tmp23 = (struct net_device const *)__cil_tmp22;
13244#line 1150
13245 netdev_printk("<7>", __cil_tmp23, "PPP: outbound frame not passed\n");
13246 }
13247 } else {
13248
13249 }
13250 }
13251 {
13252#line 1153
13253 kfree_skb(skb);
13254 }
13255#line 1154
13256 return;
13257 } else {
13258
13259 }
13260 } else {
13261
13262 }
13263 }
13264 {
13265#line 1157
13266 __cil_tmp24 = (struct sock_filter *)0;
13267#line 1157
13268 __cil_tmp25 = (unsigned long )__cil_tmp24;
13269#line 1157
13270 __cil_tmp26 = ppp->active_filter;
13271#line 1157
13272 __cil_tmp27 = (unsigned long )__cil_tmp26;
13273#line 1157
13274 if (__cil_tmp27 == __cil_tmp25) {
13275#line 1159
13276 ppp->last_xmit = (unsigned long )jiffies;
13277 } else {
13278 {
13279#line 1157
13280 __cil_tmp28 = (struct sk_buff const *)skb;
13281#line 1157
13282 __cil_tmp29 = ppp->active_filter;
13283#line 1157
13284 __cil_tmp30 = (struct sock_filter const *)__cil_tmp29;
13285#line 1157
13286 tmp___2 = sk_run_filter(__cil_tmp28, __cil_tmp30);
13287 }
13288#line 1157
13289 if (tmp___2 != 0U) {
13290#line 1159
13291 ppp->last_xmit = (unsigned long )jiffies;
13292 } else {
13293
13294 }
13295 }
13296 }
13297 {
13298#line 1160
13299 skb_pull(skb, 2U);
13300 }
13301 } else {
13302
13303 }
13304#line 1167
13305 __cil_tmp31 = ppp->dev;
13306#line 1167
13307 __cil_tmp32 = ppp->dev;
13308#line 1167
13309 __cil_tmp33 = __cil_tmp32->stats.tx_packets;
13310#line 1167
13311 __cil_tmp31->stats.tx_packets = __cil_tmp33 + 1UL;
13312#line 1168
13313 __cil_tmp34 = ppp->dev;
13314#line 1168
13315 __cil_tmp35 = skb->len;
13316#line 1168
13317 __cil_tmp36 = __cil_tmp35 - 2U;
13318#line 1168
13319 __cil_tmp37 = (unsigned long )__cil_tmp36;
13320#line 1168
13321 __cil_tmp38 = ppp->dev;
13322#line 1168
13323 __cil_tmp39 = __cil_tmp38->stats.tx_bytes;
13324#line 1168
13325 __cil_tmp34->stats.tx_bytes = __cil_tmp39 + __cil_tmp37;
13326#line 1171
13327 if (proto == 33) {
13328#line 1171
13329 goto case_33;
13330 } else
13331#line 1205
13332 if (proto == 33021) {
13333#line 1205
13334 goto case_33021;
13335 } else
13336#line 1170
13337 if (0) {
13338 case_33: ;
13339 {
13340#line 1172
13341 __cil_tmp40 = (struct slcompress *)0;
13342#line 1172
13343 __cil_tmp41 = (unsigned long )__cil_tmp40;
13344#line 1172
13345 __cil_tmp42 = ppp->vj;
13346#line 1172
13347 __cil_tmp43 = (unsigned long )__cil_tmp42;
13348#line 1172
13349 if (__cil_tmp43 == __cil_tmp41) {
13350#line 1173
13351 goto ldv_40066;
13352 } else {
13353 {
13354#line 1172
13355 __cil_tmp44 = ppp->flags;
13356#line 1172
13357 __cil_tmp45 = __cil_tmp44 & 4U;
13358#line 1172
13359 if (__cil_tmp45 == 0U) {
13360#line 1173
13361 goto ldv_40066;
13362 } else {
13363
13364 }
13365 }
13366 }
13367 }
13368 {
13369#line 1175
13370 __cil_tmp46 = ppp->dev;
13371#line 1175
13372 __cil_tmp47 = __cil_tmp46->hard_header_len;
13373#line 1175
13374 __cil_tmp48 = (unsigned int )__cil_tmp47;
13375#line 1175
13376 __cil_tmp49 = skb->len;
13377#line 1175
13378 __cil_tmp50 = __cil_tmp49 + __cil_tmp48;
13379#line 1175
13380 __cil_tmp51 = __cil_tmp50 - 2U;
13381#line 1175
13382 new_skb = alloc_skb(__cil_tmp51, 32U);
13383 }
13384 {
13385#line 1177
13386 __cil_tmp52 = (struct sk_buff *)0;
13387#line 1177
13388 __cil_tmp53 = (unsigned long )__cil_tmp52;
13389#line 1177
13390 __cil_tmp54 = (unsigned long )new_skb;
13391#line 1177
13392 if (__cil_tmp54 == __cil_tmp53) {
13393 {
13394#line 1178
13395 __cil_tmp55 = ppp->dev;
13396#line 1178
13397 __cil_tmp56 = (struct net_device const *)__cil_tmp55;
13398#line 1178
13399 netdev_err(__cil_tmp56, "PPP: no memory (VJ comp pkt)\n");
13400 }
13401#line 1179
13402 goto drop;
13403 } else {
13404
13405 }
13406 }
13407 {
13408#line 1181
13409 __cil_tmp57 = ppp->dev;
13410#line 1181
13411 __cil_tmp58 = __cil_tmp57->hard_header_len;
13412#line 1181
13413 __cil_tmp59 = (int )__cil_tmp58;
13414#line 1181
13415 __cil_tmp60 = __cil_tmp59 + -2;
13416#line 1181
13417 skb_reserve(new_skb, __cil_tmp60);
13418#line 1182
13419 __cil_tmp61 = skb->data;
13420#line 1182
13421 cp = __cil_tmp61 + 2UL;
13422#line 1183
13423 __cil_tmp62 = ppp->vj;
13424#line 1183
13425 __cil_tmp63 = skb->len;
13426#line 1183
13427 __cil_tmp64 = __cil_tmp63 - 2U;
13428#line 1183
13429 __cil_tmp65 = (int )__cil_tmp64;
13430#line 1183
13431 __cil_tmp66 = new_skb->data;
13432#line 1183
13433 __cil_tmp67 = __cil_tmp66 + 2UL;
13434#line 1183
13435 __cil_tmp68 = ppp->flags;
13436#line 1183
13437 __cil_tmp69 = __cil_tmp68 & 8U;
13438#line 1183
13439 __cil_tmp70 = __cil_tmp69 == 0U;
13440#line 1183
13441 len = slhc_compress(__cil_tmp62, cp, __cil_tmp65, __cil_tmp67, & cp, __cil_tmp70);
13442 }
13443 {
13444#line 1186
13445 __cil_tmp71 = (unsigned long )cp;
13446#line 1186
13447 __cil_tmp72 = skb->data;
13448#line 1186
13449 __cil_tmp73 = __cil_tmp72 + 2UL;
13450#line 1186
13451 __cil_tmp74 = (unsigned long )__cil_tmp73;
13452#line 1186
13453 if (__cil_tmp74 == __cil_tmp71) {
13454 {
13455#line 1188
13456 kfree_skb(new_skb);
13457 }
13458 } else {
13459 {
13460#line 1190
13461 __cil_tmp75 = *cp;
13462#line 1190
13463 __cil_tmp76 = (signed char )__cil_tmp75;
13464#line 1190
13465 __cil_tmp77 = (int )__cil_tmp76;
13466#line 1190
13467 if (__cil_tmp77 < 0) {
13468#line 1191
13469 proto = 45;
13470#line 1192
13471 __cil_tmp78 = *cp;
13472#line 1192
13473 __cil_tmp79 = (unsigned int )__cil_tmp78;
13474#line 1192
13475 __cil_tmp80 = __cil_tmp79 & 127U;
13476#line 1192
13477 *cp = (unsigned char )__cil_tmp80;
13478 } else {
13479#line 1194
13480 proto = 47;
13481#line 1195
13482 __cil_tmp81 = skb->data;
13483#line 1195
13484 __cil_tmp82 = __cil_tmp81 + 2UL;
13485#line 1195
13486 *cp = *__cil_tmp82;
13487 }
13488 }
13489 {
13490#line 1197
13491 kfree_skb(skb);
13492#line 1198
13493 skb = new_skb;
13494#line 1199
13495 __cil_tmp83 = len + 2;
13496#line 1199
13497 __cil_tmp84 = (unsigned int )__cil_tmp83;
13498#line 1199
13499 cp = skb_put(skb, __cil_tmp84);
13500#line 1200
13501 *cp = (unsigned char)0;
13502#line 1201
13503 __cil_tmp85 = cp + 1UL;
13504#line 1201
13505 *__cil_tmp85 = (unsigned char )proto;
13506 }
13507 }
13508 }
13509#line 1203
13510 goto ldv_40066;
13511 case_33021:
13512 {
13513#line 1207
13514 ppp_ccp_peek(ppp, skb, 0);
13515 }
13516#line 1208
13517 goto ldv_40066;
13518 } else {
13519
13520 }
13521 ldv_40066: ;
13522 {
13523#line 1212
13524 __cil_tmp86 = ppp->xstate;
13525#line 1212
13526 __cil_tmp87 = __cil_tmp86 & 4096U;
13527#line 1212
13528 if (__cil_tmp87 != 0U) {
13529 {
13530#line 1212
13531 __cil_tmp88 = (void *)0;
13532#line 1212
13533 __cil_tmp89 = (unsigned long )__cil_tmp88;
13534#line 1212
13535 __cil_tmp90 = ppp->xc_state;
13536#line 1212
13537 __cil_tmp91 = (unsigned long )__cil_tmp90;
13538#line 1212
13539 if (__cil_tmp91 != __cil_tmp89) {
13540#line 1212
13541 if (proto != 49185) {
13542#line 1212
13543 if (proto != 33021) {
13544 {
13545#line 1214
13546 __cil_tmp92 = ppp->flags;
13547#line 1214
13548 __cil_tmp93 = __cil_tmp92 & 128U;
13549#line 1214
13550 if (__cil_tmp93 == 0U) {
13551 {
13552#line 1214
13553 __cil_tmp94 = ppp->flags;
13554#line 1214
13555 __cil_tmp95 = __cil_tmp94 & 4194304U;
13556#line 1214
13557 if (__cil_tmp95 != 0U) {
13558 {
13559#line 1215
13560 tmp___3 = net_ratelimit();
13561 }
13562#line 1215
13563 if (tmp___3 != 0) {
13564 {
13565#line 1216
13566 __cil_tmp96 = ppp->dev;
13567#line 1216
13568 __cil_tmp97 = (struct net_device const *)__cil_tmp96;
13569#line 1216
13570 netdev_err(__cil_tmp97, "ppp: compression required but down - pkt dropped.\n");
13571 }
13572 } else {
13573
13574 }
13575#line 1219
13576 goto drop;
13577 } else {
13578
13579 }
13580 }
13581 } else {
13582
13583 }
13584 }
13585 {
13586#line 1221
13587 skb = pad_compress_skb(ppp, skb);
13588 }
13589 {
13590#line 1222
13591 __cil_tmp98 = (struct sk_buff *)0;
13592#line 1222
13593 __cil_tmp99 = (unsigned long )__cil_tmp98;
13594#line 1222
13595 __cil_tmp100 = (unsigned long )skb;
13596#line 1222
13597 if (__cil_tmp100 == __cil_tmp99) {
13598#line 1223
13599 goto drop;
13600 } else {
13601
13602 }
13603 }
13604 } else {
13605
13606 }
13607 } else {
13608
13609 }
13610 } else {
13611
13612 }
13613 }
13614 } else {
13615
13616 }
13617 }
13618 {
13619#line 1230
13620 __cil_tmp101 = ppp->flags;
13621#line 1230
13622 __cil_tmp102 = __cil_tmp101 & 512U;
13623#line 1230
13624 if (__cil_tmp102 != 0U) {
13625 {
13626#line 1231
13627 __cil_tmp103 = ppp->file.rq.qlen;
13628#line 1231
13629 if (__cil_tmp103 > 32U) {
13630#line 1232
13631 goto drop;
13632 } else {
13633
13634 }
13635 }
13636 {
13637#line 1233
13638 __cil_tmp104 = & ppp->file.rq;
13639#line 1233
13640 skb_queue_tail(__cil_tmp104, skb);
13641#line 1234
13642 __cil_tmp105 = & ppp->file.rwait;
13643#line 1234
13644 __cil_tmp106 = (void *)0;
13645#line 1234
13646 __wake_up(__cil_tmp105, 1U, 1, __cil_tmp106);
13647 }
13648#line 1235
13649 return;
13650 } else {
13651
13652 }
13653 }
13654 {
13655#line 1238
13656 ppp->xmit_pending = skb;
13657#line 1239
13658 ppp_push(ppp);
13659 }
13660#line 1240
13661 return;
13662 drop:
13663 {
13664#line 1243
13665 kfree_skb(skb);
13666#line 1244
13667 __cil_tmp107 = ppp->dev;
13668#line 1244
13669 __cil_tmp108 = ppp->dev;
13670#line 1244
13671 __cil_tmp109 = __cil_tmp108->stats.tx_errors;
13672#line 1244
13673 __cil_tmp107->stats.tx_errors = __cil_tmp109 + 1UL;
13674 }
13675#line 1245
13676 return;
13677}
13678}
13679#line 1252 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
13680static void ppp_push(struct ppp *ppp )
13681{ struct list_head *list ;
13682 struct channel *pch ;
13683 struct sk_buff *skb ;
13684 int tmp ;
13685 struct list_head const *__mptr ;
13686 int tmp___0 ;
13687 int tmp___1 ;
13688 struct sk_buff *__cil_tmp9 ;
13689 unsigned long __cil_tmp10 ;
13690 unsigned long __cil_tmp11 ;
13691 struct list_head const *__cil_tmp12 ;
13692 unsigned int __cil_tmp13 ;
13693 unsigned int __cil_tmp14 ;
13694 struct channel *__cil_tmp15 ;
13695 spinlock_t *__cil_tmp16 ;
13696 struct ppp_channel *__cil_tmp17 ;
13697 unsigned long __cil_tmp18 ;
13698 struct ppp_channel *__cil_tmp19 ;
13699 unsigned long __cil_tmp20 ;
13700 struct ppp_channel *__cil_tmp21 ;
13701 struct ppp_channel_ops const *__cil_tmp22 ;
13702 int (*__cil_tmp23)(struct ppp_channel * , struct sk_buff * ) ;
13703 struct ppp_channel *__cil_tmp24 ;
13704 spinlock_t *__cil_tmp25 ;
13705
13706 {
13707#line 1256
13708 skb = ppp->xmit_pending;
13709 {
13710#line 1258
13711 __cil_tmp9 = (struct sk_buff *)0;
13712#line 1258
13713 __cil_tmp10 = (unsigned long )__cil_tmp9;
13714#line 1258
13715 __cil_tmp11 = (unsigned long )skb;
13716#line 1258
13717 if (__cil_tmp11 == __cil_tmp10) {
13718#line 1259
13719 return;
13720 } else {
13721
13722 }
13723 }
13724 {
13725#line 1261
13726 list = & ppp->channels;
13727#line 1262
13728 __cil_tmp12 = (struct list_head const *)list;
13729#line 1262
13730 tmp = list_empty(__cil_tmp12);
13731 }
13732#line 1262
13733 if (tmp != 0) {
13734 {
13735#line 1264
13736 ppp->xmit_pending = (struct sk_buff *)0;
13737#line 1265
13738 kfree_skb(skb);
13739 }
13740#line 1266
13741 return;
13742 } else {
13743
13744 }
13745 {
13746#line 1269
13747 __cil_tmp13 = ppp->flags;
13748#line 1269
13749 __cil_tmp14 = __cil_tmp13 & 1024U;
13750#line 1269
13751 if (__cil_tmp14 == 0U) {
13752 {
13753#line 1271
13754 list = list->next;
13755#line 1272
13756 __mptr = (struct list_head const *)list;
13757#line 1272
13758 __cil_tmp15 = (struct channel *)__mptr;
13759#line 1272
13760 pch = __cil_tmp15 + 1152921504606846416UL;
13761#line 1274
13762 __cil_tmp16 = & pch->downl;
13763#line 1274
13764 spin_lock_bh(__cil_tmp16);
13765 }
13766 {
13767#line 1275
13768 __cil_tmp17 = (struct ppp_channel *)0;
13769#line 1275
13770 __cil_tmp18 = (unsigned long )__cil_tmp17;
13771#line 1275
13772 __cil_tmp19 = pch->chan;
13773#line 1275
13774 __cil_tmp20 = (unsigned long )__cil_tmp19;
13775#line 1275
13776 if (__cil_tmp20 != __cil_tmp18) {
13777 {
13778#line 1276
13779 __cil_tmp21 = pch->chan;
13780#line 1276
13781 __cil_tmp22 = __cil_tmp21->ops;
13782#line 1276
13783 __cil_tmp23 = __cil_tmp22->start_xmit;
13784#line 1276
13785 __cil_tmp24 = pch->chan;
13786#line 1276
13787 tmp___0 = (*__cil_tmp23)(__cil_tmp24, skb);
13788 }
13789#line 1276
13790 if (tmp___0 != 0) {
13791#line 1277
13792 ppp->xmit_pending = (struct sk_buff *)0;
13793 } else {
13794 {
13795#line 1280
13796 kfree_skb(skb);
13797#line 1281
13798 ppp->xmit_pending = (struct sk_buff *)0;
13799 }
13800 }
13801 } else {
13802
13803 }
13804 }
13805 {
13806#line 1283
13807 __cil_tmp25 = & pch->downl;
13808#line 1283
13809 spin_unlock_bh(__cil_tmp25);
13810 }
13811#line 1284
13812 return;
13813 } else {
13814
13815 }
13816 }
13817 {
13818#line 1290
13819 tmp___1 = ppp_mp_explode(ppp, skb);
13820 }
13821#line 1290
13822 if (tmp___1 == 0) {
13823#line 1291
13824 return;
13825 } else {
13826
13827 }
13828 {
13829#line 1294
13830 ppp->xmit_pending = (struct sk_buff *)0;
13831#line 1295
13832 kfree_skb(skb);
13833 }
13834#line 1296
13835 return;
13836}
13837}
13838#line 1299 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
13839static bool mp_protocol_compress = (bool )1;
13840#line 1308 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
13841static int ppp_mp_explode(struct ppp *ppp , struct sk_buff *skb )
13842{ int len ;
13843 int totlen ;
13844 int i ;
13845 int bits ;
13846 int hdrlen ;
13847 int mtu ;
13848 int flen ;
13849 int navail ;
13850 int nfree ;
13851 int nzero ;
13852 int nbigger ;
13853 int totspeed ;
13854 int totfree ;
13855 unsigned char *p ;
13856 unsigned char *q ;
13857 struct list_head *list ;
13858 struct channel *pch ;
13859 struct sk_buff *frag ;
13860 struct ppp_channel *chan ;
13861 struct list_head const *__mptr ;
13862 int tmp ;
13863 struct list_head const *__mptr___0 ;
13864 struct list_head const *__mptr___1 ;
13865 size_t __len ;
13866 void *__ret ;
13867 int tmp___0 ;
13868 int tmp___1 ;
13869 unsigned int __cil_tmp30 ;
13870 unsigned int __cil_tmp31 ;
13871 struct list_head *__cil_tmp32 ;
13872 struct channel *__cil_tmp33 ;
13873 struct ppp_channel *__cil_tmp34 ;
13874 unsigned long __cil_tmp35 ;
13875 struct ppp_channel *__cil_tmp36 ;
13876 unsigned long __cil_tmp37 ;
13877 struct ppp_channel *__cil_tmp38 ;
13878 u8 __cil_tmp39 ;
13879 unsigned int __cil_tmp40 ;
13880 struct sk_buff_head *__cil_tmp41 ;
13881 struct sk_buff_head const *__cil_tmp42 ;
13882 u8 __cil_tmp43 ;
13883 unsigned int __cil_tmp44 ;
13884 int __cil_tmp45 ;
13885 int __cil_tmp46 ;
13886 u8 __cil_tmp47 ;
13887 unsigned int __cil_tmp48 ;
13888 int __cil_tmp49 ;
13889 struct list_head *__cil_tmp50 ;
13890 struct channel *__cil_tmp51 ;
13891 struct list_head *__cil_tmp52 ;
13892 unsigned long __cil_tmp53 ;
13893 struct list_head *__cil_tmp54 ;
13894 unsigned long __cil_tmp55 ;
13895 int __cil_tmp56 ;
13896 unsigned int __cil_tmp57 ;
13897 unsigned char __cil_tmp58 ;
13898 unsigned int __cil_tmp59 ;
13899 unsigned long __cil_tmp60 ;
13900 struct list_head *__cil_tmp61 ;
13901 unsigned long __cil_tmp62 ;
13902 int __cil_tmp63 ;
13903 unsigned long __cil_tmp64 ;
13904 struct list_head *__cil_tmp65 ;
13905 unsigned long __cil_tmp66 ;
13906 struct channel *__cil_tmp67 ;
13907 u8 __cil_tmp68 ;
13908 unsigned int __cil_tmp69 ;
13909 u8 __cil_tmp70 ;
13910 unsigned int __cil_tmp71 ;
13911 spinlock_t *__cil_tmp72 ;
13912 struct ppp_channel *__cil_tmp73 ;
13913 unsigned long __cil_tmp74 ;
13914 struct ppp_channel *__cil_tmp75 ;
13915 unsigned long __cil_tmp76 ;
13916 int __cil_tmp77 ;
13917 int __cil_tmp78 ;
13918 spinlock_t *__cil_tmp79 ;
13919 int __cil_tmp80 ;
13920 int __cil_tmp81 ;
13921 int __cil_tmp82 ;
13922 int __cil_tmp83 ;
13923 int __cil_tmp84 ;
13924 int __cil_tmp85 ;
13925 int __cil_tmp86 ;
13926 int __cil_tmp87 ;
13927 int __cil_tmp88 ;
13928 int __cil_tmp89 ;
13929 int __cil_tmp90 ;
13930 int __cil_tmp91 ;
13931 int __cil_tmp92 ;
13932 int __cil_tmp93 ;
13933 int __cil_tmp94 ;
13934 int __cil_tmp95 ;
13935 int __cil_tmp96 ;
13936 spinlock_t *__cil_tmp97 ;
13937 struct ppp_channel *__cil_tmp98 ;
13938 int __cil_tmp99 ;
13939 int __cil_tmp100 ;
13940 int __cil_tmp101 ;
13941 int __cil_tmp102 ;
13942 unsigned int __cil_tmp103 ;
13943 struct sk_buff *__cil_tmp104 ;
13944 unsigned long __cil_tmp105 ;
13945 unsigned long __cil_tmp106 ;
13946 int __cil_tmp107 ;
13947 unsigned int __cil_tmp108 ;
13948 u16 __cil_tmp109 ;
13949 void *__cil_tmp110 ;
13950 unsigned int __cil_tmp111 ;
13951 unsigned int __cil_tmp112 ;
13952 unsigned char *__cil_tmp113 ;
13953 unsigned char __cil_tmp114 ;
13954 unsigned int __cil_tmp115 ;
13955 u32 __cil_tmp116 ;
13956 u32 __cil_tmp117 ;
13957 unsigned char __cil_tmp118 ;
13958 unsigned int __cil_tmp119 ;
13959 unsigned int __cil_tmp120 ;
13960 unsigned int __cil_tmp121 ;
13961 unsigned char *__cil_tmp122 ;
13962 u32 __cil_tmp123 ;
13963 unsigned char *__cil_tmp124 ;
13964 unsigned char *__cil_tmp125 ;
13965 u32 __cil_tmp126 ;
13966 u32 __cil_tmp127 ;
13967 unsigned char *__cil_tmp128 ;
13968 u32 __cil_tmp129 ;
13969 u32 __cil_tmp130 ;
13970 unsigned char *__cil_tmp131 ;
13971 u32 __cil_tmp132 ;
13972 unsigned long __cil_tmp133 ;
13973 void *__cil_tmp134 ;
13974 void *__cil_tmp135 ;
13975 void const *__cil_tmp136 ;
13976 struct sk_buff_head *__cil_tmp137 ;
13977 struct sk_buff_head const *__cil_tmp138 ;
13978 struct sk_buff_head *__cil_tmp139 ;
13979 struct ppp_channel_ops const *__cil_tmp140 ;
13980 int (*__cil_tmp141)(struct ppp_channel * , struct sk_buff * ) ;
13981 struct sk_buff_head *__cil_tmp142 ;
13982 unsigned long __cil_tmp143 ;
13983 u32 __cil_tmp144 ;
13984 spinlock_t *__cil_tmp145 ;
13985 spinlock_t *__cil_tmp146 ;
13986 int __cil_tmp147 ;
13987 struct net_device *__cil_tmp148 ;
13988 struct net_device const *__cil_tmp149 ;
13989 struct net_device *__cil_tmp150 ;
13990 struct net_device *__cil_tmp151 ;
13991 unsigned long __cil_tmp152 ;
13992 u32 __cil_tmp153 ;
13993
13994 {
13995#line 1323
13996 totspeed = 0;
13997#line 1324
13998 nfree = 0;
13999#line 1325
14000 navail = 0;
14001#line 1326
14002 nzero = 0;
14003#line 1327
14004 totfree = 0;
14005 {
14006#line 1331
14007 __cil_tmp30 = ppp->flags;
14008#line 1331
14009 __cil_tmp31 = __cil_tmp30 & 16384U;
14010#line 1331
14011 if (__cil_tmp31 != 0U) {
14012#line 1331
14013 hdrlen = 4;
14014 } else {
14015#line 1331
14016 hdrlen = 6;
14017 }
14018 }
14019#line 1332
14020 i = 0;
14021#line 1333
14022 __cil_tmp32 = ppp->channels.next;
14023#line 1333
14024 __mptr = (struct list_head const *)__cil_tmp32;
14025#line 1333
14026 __cil_tmp33 = (struct channel *)__mptr;
14027#line 1333
14028 pch = __cil_tmp33 + 1152921504606846416UL;
14029#line 1333
14030 goto ldv_40118;
14031 ldv_40117: ;
14032 {
14033#line 1334
14034 __cil_tmp34 = (struct ppp_channel *)0;
14035#line 1334
14036 __cil_tmp35 = (unsigned long )__cil_tmp34;
14037#line 1334
14038 __cil_tmp36 = pch->chan;
14039#line 1334
14040 __cil_tmp37 = (unsigned long )__cil_tmp36;
14041#line 1334
14042 if (__cil_tmp37 != __cil_tmp35) {
14043#line 1335
14044 pch->avail = (u8 )1U;
14045#line 1336
14046 navail = navail + 1;
14047#line 1337
14048 __cil_tmp38 = pch->chan;
14049#line 1337
14050 pch->speed = __cil_tmp38->speed;
14051 } else {
14052#line 1339
14053 pch->avail = (u8 )0U;
14054 }
14055 }
14056 {
14057#line 1341
14058 __cil_tmp39 = pch->avail;
14059#line 1341
14060 __cil_tmp40 = (unsigned int )__cil_tmp39;
14061#line 1341
14062 if (__cil_tmp40 != 0U) {
14063 {
14064#line 1342
14065 __cil_tmp41 = & pch->file.xq;
14066#line 1342
14067 __cil_tmp42 = (struct sk_buff_head const *)__cil_tmp41;
14068#line 1342
14069 tmp = skb_queue_empty(__cil_tmp42);
14070 }
14071#line 1342
14072 if (tmp != 0) {
14073#line 1342
14074 goto _L;
14075 } else {
14076 {
14077#line 1342
14078 __cil_tmp43 = pch->had_frag;
14079#line 1342
14080 __cil_tmp44 = (unsigned int )__cil_tmp43;
14081#line 1342
14082 if (__cil_tmp44 == 0U) {
14083 _L:
14084 {
14085#line 1344
14086 __cil_tmp45 = pch->speed;
14087#line 1344
14088 if (__cil_tmp45 == 0) {
14089#line 1345
14090 nzero = nzero + 1;
14091 } else {
14092#line 1347
14093 __cil_tmp46 = pch->speed;
14094#line 1347
14095 totspeed = __cil_tmp46 + totspeed;
14096 }
14097 }
14098#line 1349
14099 pch->avail = (u8 )2U;
14100#line 1350
14101 nfree = nfree + 1;
14102#line 1351
14103 totfree = totfree + 1;
14104 } else {
14105
14106 }
14107 }
14108 }
14109 {
14110#line 1353
14111 __cil_tmp47 = pch->had_frag;
14112#line 1353
14113 __cil_tmp48 = (unsigned int )__cil_tmp47;
14114#line 1353
14115 if (__cil_tmp48 == 0U) {
14116 {
14117#line 1353
14118 __cil_tmp49 = ppp->nxchan;
14119#line 1353
14120 if (__cil_tmp49 > i) {
14121#line 1354
14122 ppp->nxchan = i;
14123 } else {
14124
14125 }
14126 }
14127 } else {
14128
14129 }
14130 }
14131 } else {
14132
14133 }
14134 }
14135#line 1356
14136 i = i + 1;
14137#line 1333
14138 __cil_tmp50 = pch->clist.next;
14139#line 1333
14140 __mptr___0 = (struct list_head const *)__cil_tmp50;
14141#line 1333
14142 __cil_tmp51 = (struct channel *)__mptr___0;
14143#line 1333
14144 pch = __cil_tmp51 + 1152921504606846416UL;
14145 ldv_40118: ;
14146 {
14147#line 1333
14148 __cil_tmp52 = & ppp->channels;
14149#line 1333
14150 __cil_tmp53 = (unsigned long )__cil_tmp52;
14151#line 1333
14152 __cil_tmp54 = & pch->clist;
14153#line 1333
14154 __cil_tmp55 = (unsigned long )__cil_tmp54;
14155#line 1333
14156 if (__cil_tmp55 != __cil_tmp53) {
14157#line 1334
14158 goto ldv_40117;
14159 } else {
14160#line 1336
14161 goto ldv_40119;
14162 }
14163 }
14164 ldv_40119: ;
14165#line 1363
14166 if (nfree == 0) {
14167#line 1364
14168 return (0);
14169 } else {
14170 {
14171#line 1363
14172 __cil_tmp56 = navail / 2;
14173#line 1363
14174 if (__cil_tmp56 > nfree) {
14175#line 1364
14176 return (0);
14177 } else {
14178
14179 }
14180 }
14181 }
14182#line 1367
14183 p = skb->data;
14184#line 1368
14185 __cil_tmp57 = skb->len;
14186#line 1368
14187 len = (int )__cil_tmp57;
14188 {
14189#line 1369
14190 __cil_tmp58 = *p;
14191#line 1369
14192 __cil_tmp59 = (unsigned int )__cil_tmp58;
14193#line 1369
14194 if (__cil_tmp59 == 0U) {
14195#line 1369
14196 if ((int )mp_protocol_compress) {
14197#line 1370
14198 p = p + 1;
14199#line 1371
14200 len = len - 1;
14201 } else {
14202
14203 }
14204 } else {
14205
14206 }
14207 }
14208#line 1374
14209 totlen = len;
14210#line 1375
14211 nbigger = len % nfree;
14212#line 1379
14213 list = & ppp->channels;
14214#line 1380
14215 i = 0;
14216#line 1380
14217 goto ldv_40122;
14218 ldv_40121:
14219#line 1381
14220 list = list->next;
14221 {
14222#line 1382
14223 __cil_tmp60 = (unsigned long )list;
14224#line 1382
14225 __cil_tmp61 = & ppp->channels;
14226#line 1382
14227 __cil_tmp62 = (unsigned long )__cil_tmp61;
14228#line 1382
14229 if (__cil_tmp62 == __cil_tmp60) {
14230#line 1383
14231 i = 0;
14232#line 1384
14233 goto ldv_40120;
14234 } else {
14235
14236 }
14237 }
14238#line 1380
14239 i = i + 1;
14240 ldv_40122: ;
14241 {
14242#line 1380
14243 __cil_tmp63 = ppp->nxchan;
14244#line 1380
14245 if (__cil_tmp63 > i) {
14246#line 1381
14247 goto ldv_40121;
14248 } else {
14249#line 1383
14250 goto ldv_40120;
14251 }
14252 }
14253 ldv_40120:
14254#line 1389
14255 bits = 128;
14256#line 1390
14257 goto ldv_40123;
14258 ldv_40131:
14259#line 1391
14260 list = list->next;
14261 {
14262#line 1392
14263 __cil_tmp64 = (unsigned long )list;
14264#line 1392
14265 __cil_tmp65 = & ppp->channels;
14266#line 1392
14267 __cil_tmp66 = (unsigned long )__cil_tmp65;
14268#line 1392
14269 if (__cil_tmp66 == __cil_tmp64) {
14270#line 1393
14271 i = 0;
14272#line 1394
14273 goto ldv_40123;
14274 } else {
14275
14276 }
14277 }
14278#line 1396
14279 __mptr___1 = (struct list_head const *)list;
14280#line 1396
14281 __cil_tmp67 = (struct channel *)__mptr___1;
14282#line 1396
14283 pch = __cil_tmp67 + 1152921504606846416UL;
14284#line 1397
14285 i = i + 1;
14286 {
14287#line 1398
14288 __cil_tmp68 = pch->avail;
14289#line 1398
14290 __cil_tmp69 = (unsigned int )__cil_tmp68;
14291#line 1398
14292 if (__cil_tmp69 == 0U) {
14293#line 1399
14294 goto ldv_40123;
14295 } else {
14296
14297 }
14298 }
14299 {
14300#line 1405
14301 __cil_tmp70 = pch->avail;
14302#line 1405
14303 __cil_tmp71 = (unsigned int )__cil_tmp70;
14304#line 1405
14305 if (__cil_tmp71 == 1U) {
14306#line 1406
14307 if (nfree > 0) {
14308#line 1407
14309 goto ldv_40123;
14310 } else {
14311#line 1409
14312 pch->avail = (u8 )1U;
14313 }
14314 } else {
14315
14316 }
14317 }
14318 {
14319#line 1413
14320 __cil_tmp72 = & pch->downl;
14321#line 1413
14322 spin_lock_bh(__cil_tmp72);
14323 }
14324 {
14325#line 1414
14326 __cil_tmp73 = (struct ppp_channel *)0;
14327#line 1414
14328 __cil_tmp74 = (unsigned long )__cil_tmp73;
14329#line 1414
14330 __cil_tmp75 = pch->chan;
14331#line 1414
14332 __cil_tmp76 = (unsigned long )__cil_tmp75;
14333#line 1414
14334 if (__cil_tmp76 == __cil_tmp74) {
14335 {
14336#line 1416
14337 __cil_tmp77 = pch->speed;
14338#line 1416
14339 if (__cil_tmp77 == 0) {
14340#line 1417
14341 nzero = nzero - 1;
14342 } else {
14343#line 1419
14344 __cil_tmp78 = pch->speed;
14345#line 1419
14346 totspeed = totspeed - __cil_tmp78;
14347 }
14348 }
14349 {
14350#line 1421
14351 __cil_tmp79 = & pch->downl;
14352#line 1421
14353 spin_unlock_bh(__cil_tmp79);
14354#line 1422
14355 pch->avail = (u8 )0U;
14356#line 1423
14357 totlen = len;
14358#line 1424
14359 totfree = totfree - 1;
14360#line 1425
14361 nfree = nfree - 1;
14362#line 1426
14363 navail = navail - 1;
14364 }
14365#line 1426
14366 if (navail == 0) {
14367#line 1427
14368 goto ldv_40126;
14369 } else {
14370
14371 }
14372#line 1428
14373 goto ldv_40123;
14374 } else {
14375
14376 }
14377 }
14378#line 1437
14379 flen = len;
14380#line 1438
14381 if (nfree > 0) {
14382 {
14383#line 1439
14384 __cil_tmp80 = pch->speed;
14385#line 1439
14386 if (__cil_tmp80 == 0) {
14387#line 1440
14388 flen = len / nfree;
14389#line 1441
14390 if (nbigger > 0) {
14391#line 1442
14392 flen = flen + 1;
14393#line 1443
14394 nbigger = nbigger - 1;
14395 } else {
14396
14397 }
14398 } else {
14399#line 1446
14400 __cil_tmp81 = pch->speed;
14401#line 1446
14402 __cil_tmp82 = totspeed * totfree;
14403#line 1446
14404 __cil_tmp83 = __cil_tmp82 / __cil_tmp81;
14405#line 1446
14406 __cil_tmp84 = hdrlen * totfree;
14407#line 1446
14408 __cil_tmp85 = __cil_tmp84 + totlen;
14409#line 1446
14410 __cil_tmp86 = totfree - nzero;
14411#line 1446
14412 __cil_tmp87 = __cil_tmp86 * __cil_tmp85;
14413#line 1446
14414 __cil_tmp88 = __cil_tmp87 / __cil_tmp83;
14415#line 1446
14416 flen = __cil_tmp88 - hdrlen;
14417#line 1448
14418 if (nbigger > 0) {
14419#line 1449
14420 __cil_tmp89 = pch->speed;
14421#line 1449
14422 __cil_tmp90 = totfree - nzero;
14423#line 1449
14424 __cil_tmp91 = __cil_tmp90 * __cil_tmp89;
14425#line 1449
14426 __cil_tmp92 = __cil_tmp91 / totspeed;
14427#line 1449
14428 flen = __cil_tmp92 + flen;
14429#line 1450
14430 __cil_tmp93 = pch->speed;
14431#line 1450
14432 __cil_tmp94 = totfree - nzero;
14433#line 1450
14434 __cil_tmp95 = __cil_tmp94 * __cil_tmp93;
14435#line 1450
14436 __cil_tmp96 = __cil_tmp95 / totspeed;
14437#line 1450
14438 nbigger = nbigger - __cil_tmp96;
14439 } else {
14440
14441 }
14442 }
14443 }
14444#line 1454
14445 nfree = nfree - 1;
14446 } else {
14447
14448 }
14449#line 1462
14450 if (nfree <= 0) {
14451#line 1463
14452 flen = len;
14453 } else
14454#line 1462
14455 if (flen > len) {
14456#line 1463
14457 flen = len;
14458 } else {
14459
14460 }
14461#line 1470
14462 if (flen <= 0) {
14463 {
14464#line 1471
14465 pch->avail = (u8 )2U;
14466#line 1472
14467 __cil_tmp97 = & pch->downl;
14468#line 1472
14469 spin_unlock_bh(__cil_tmp97);
14470 }
14471#line 1473
14472 goto ldv_40123;
14473 } else {
14474
14475 }
14476#line 1476
14477 __cil_tmp98 = pch->chan;
14478#line 1476
14479 __cil_tmp99 = __cil_tmp98->mtu;
14480#line 1476
14481 mtu = __cil_tmp99 - hdrlen;
14482#line 1477
14483 if (mtu <= 3) {
14484#line 1478
14485 mtu = 4;
14486 } else {
14487
14488 }
14489#line 1479
14490 if (flen > mtu) {
14491#line 1480
14492 flen = mtu;
14493 } else {
14494
14495 }
14496#line 1481
14497 if (flen == len) {
14498#line 1482
14499 bits = bits | 64;
14500 } else {
14501
14502 }
14503 {
14504#line 1483
14505 __cil_tmp100 = flen == 0;
14506#line 1483
14507 __cil_tmp101 = flen + hdrlen;
14508#line 1483
14509 __cil_tmp102 = __cil_tmp101 + __cil_tmp100;
14510#line 1483
14511 __cil_tmp103 = (unsigned int )__cil_tmp102;
14512#line 1483
14513 frag = alloc_skb(__cil_tmp103, 32U);
14514 }
14515 {
14516#line 1484
14517 __cil_tmp104 = (struct sk_buff *)0;
14518#line 1484
14519 __cil_tmp105 = (unsigned long )__cil_tmp104;
14520#line 1484
14521 __cil_tmp106 = (unsigned long )frag;
14522#line 1484
14523 if (__cil_tmp106 == __cil_tmp105) {
14524#line 1485
14525 goto noskb;
14526 } else {
14527
14528 }
14529 }
14530 {
14531#line 1486
14532 __cil_tmp107 = flen + hdrlen;
14533#line 1486
14534 __cil_tmp108 = (unsigned int )__cil_tmp107;
14535#line 1486
14536 q = skb_put(frag, __cil_tmp108);
14537#line 1489
14538 __cil_tmp109 = (u16 )61;
14539#line 1489
14540 __cil_tmp110 = (void *)q;
14541#line 1489
14542 put_unaligned_be16(__cil_tmp109, __cil_tmp110);
14543 }
14544 {
14545#line 1490
14546 __cil_tmp111 = ppp->flags;
14547#line 1490
14548 __cil_tmp112 = __cil_tmp111 & 16384U;
14549#line 1490
14550 if (__cil_tmp112 != 0U) {
14551#line 1491
14552 __cil_tmp113 = q + 2UL;
14553#line 1491
14554 __cil_tmp114 = (unsigned char )bits;
14555#line 1491
14556 __cil_tmp115 = (unsigned int )__cil_tmp114;
14557#line 1491
14558 __cil_tmp116 = ppp->nxseq;
14559#line 1491
14560 __cil_tmp117 = __cil_tmp116 >> 8;
14561#line 1491
14562 __cil_tmp118 = (unsigned char )__cil_tmp117;
14563#line 1491
14564 __cil_tmp119 = (unsigned int )__cil_tmp118;
14565#line 1491
14566 __cil_tmp120 = __cil_tmp119 & 15U;
14567#line 1491
14568 __cil_tmp121 = __cil_tmp120 + __cil_tmp115;
14569#line 1491
14570 *__cil_tmp113 = (unsigned char )__cil_tmp121;
14571#line 1492
14572 __cil_tmp122 = q + 3UL;
14573#line 1492
14574 __cil_tmp123 = ppp->nxseq;
14575#line 1492
14576 *__cil_tmp122 = (unsigned char )__cil_tmp123;
14577 } else {
14578#line 1494
14579 __cil_tmp124 = q + 2UL;
14580#line 1494
14581 *__cil_tmp124 = (unsigned char )bits;
14582#line 1495
14583 __cil_tmp125 = q + 3UL;
14584#line 1495
14585 __cil_tmp126 = ppp->nxseq;
14586#line 1495
14587 __cil_tmp127 = __cil_tmp126 >> 16;
14588#line 1495
14589 *__cil_tmp125 = (unsigned char )__cil_tmp127;
14590#line 1496
14591 __cil_tmp128 = q + 4UL;
14592#line 1496
14593 __cil_tmp129 = ppp->nxseq;
14594#line 1496
14595 __cil_tmp130 = __cil_tmp129 >> 8;
14596#line 1496
14597 *__cil_tmp128 = (unsigned char )__cil_tmp130;
14598#line 1497
14599 __cil_tmp131 = q + 5UL;
14600#line 1497
14601 __cil_tmp132 = ppp->nxseq;
14602#line 1497
14603 *__cil_tmp131 = (unsigned char )__cil_tmp132;
14604 }
14605 }
14606 {
14607#line 1500
14608 __len = (size_t )flen;
14609#line 1500
14610 __cil_tmp133 = (unsigned long )hdrlen;
14611#line 1500
14612 __cil_tmp134 = (void *)q;
14613#line 1500
14614 __cil_tmp135 = __cil_tmp134 + __cil_tmp133;
14615#line 1500
14616 __cil_tmp136 = (void const *)p;
14617#line 1500
14618 __ret = __builtin_memcpy(__cil_tmp135, __cil_tmp136, __len);
14619#line 1503
14620 chan = pch->chan;
14621#line 1504
14622 __cil_tmp137 = & pch->file.xq;
14623#line 1504
14624 __cil_tmp138 = (struct sk_buff_head const *)__cil_tmp137;
14625#line 1504
14626 tmp___0 = skb_queue_empty(__cil_tmp138);
14627 }
14628#line 1504
14629 if (tmp___0 == 0) {
14630 {
14631#line 1506
14632 __cil_tmp139 = & pch->file.xq;
14633#line 1506
14634 skb_queue_tail(__cil_tmp139, frag);
14635 }
14636 } else {
14637 {
14638#line 1504
14639 __cil_tmp140 = chan->ops;
14640#line 1504
14641 __cil_tmp141 = __cil_tmp140->start_xmit;
14642#line 1504
14643 tmp___1 = (*__cil_tmp141)(chan, frag);
14644 }
14645#line 1504
14646 if (tmp___1 == 0) {
14647 {
14648#line 1506
14649 __cil_tmp142 = & pch->file.xq;
14650#line 1506
14651 skb_queue_tail(__cil_tmp142, frag);
14652 }
14653 } else {
14654
14655 }
14656 }
14657 {
14658#line 1507
14659 pch->had_frag = (u8 )1U;
14660#line 1508
14661 __cil_tmp143 = (unsigned long )flen;
14662#line 1508
14663 p = p + __cil_tmp143;
14664#line 1509
14665 len = len - flen;
14666#line 1510
14667 __cil_tmp144 = ppp->nxseq;
14668#line 1510
14669 ppp->nxseq = __cil_tmp144 + 1U;
14670#line 1511
14671 bits = 0;
14672#line 1512
14673 __cil_tmp145 = & pch->downl;
14674#line 1512
14675 spin_unlock_bh(__cil_tmp145);
14676 }
14677 ldv_40123: ;
14678#line 1390
14679 if (len > 0) {
14680#line 1391
14681 goto ldv_40131;
14682 } else {
14683#line 1393
14684 goto ldv_40126;
14685 }
14686 ldv_40126:
14687#line 1514
14688 ppp->nxchan = i;
14689#line 1516
14690 return (1);
14691 noskb:
14692 {
14693#line 1519
14694 __cil_tmp146 = & pch->downl;
14695#line 1519
14696 spin_unlock_bh(__cil_tmp146);
14697 }
14698 {
14699#line 1520
14700 __cil_tmp147 = ppp->debug;
14701#line 1520
14702 if (__cil_tmp147 & 1) {
14703 {
14704#line 1521
14705 __cil_tmp148 = ppp->dev;
14706#line 1521
14707 __cil_tmp149 = (struct net_device const *)__cil_tmp148;
14708#line 1521
14709 netdev_err(__cil_tmp149, "PPP: no memory (fragment)\n");
14710 }
14711 } else {
14712
14713 }
14714 }
14715#line 1522
14716 __cil_tmp150 = ppp->dev;
14717#line 1522
14718 __cil_tmp151 = ppp->dev;
14719#line 1522
14720 __cil_tmp152 = __cil_tmp151->stats.tx_errors;
14721#line 1522
14722 __cil_tmp150->stats.tx_errors = __cil_tmp152 + 1UL;
14723#line 1523
14724 __cil_tmp153 = ppp->nxseq;
14725#line 1523
14726 ppp->nxseq = __cil_tmp153 + 1U;
14727#line 1524
14728 return (1);
14729}
14730}
14731#line 1532 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
14732static void ppp_channel_push(struct channel *pch )
14733{ struct sk_buff *skb ;
14734 struct ppp *ppp ;
14735 int tmp ;
14736 int tmp___0 ;
14737 int tmp___1 ;
14738 spinlock_t *__cil_tmp7 ;
14739 struct ppp_channel *__cil_tmp8 ;
14740 unsigned long __cil_tmp9 ;
14741 struct ppp_channel *__cil_tmp10 ;
14742 unsigned long __cil_tmp11 ;
14743 struct sk_buff_head *__cil_tmp12 ;
14744 struct ppp_channel *__cil_tmp13 ;
14745 struct ppp_channel_ops const *__cil_tmp14 ;
14746 int (*__cil_tmp15)(struct ppp_channel * , struct sk_buff * ) ;
14747 struct ppp_channel *__cil_tmp16 ;
14748 struct sk_buff_head *__cil_tmp17 ;
14749 struct sk_buff_head *__cil_tmp18 ;
14750 struct sk_buff_head const *__cil_tmp19 ;
14751 struct sk_buff_head *__cil_tmp20 ;
14752 spinlock_t *__cil_tmp21 ;
14753 struct sk_buff_head *__cil_tmp22 ;
14754 struct sk_buff_head const *__cil_tmp23 ;
14755 rwlock_t *__cil_tmp24 ;
14756 struct ppp *__cil_tmp25 ;
14757 unsigned long __cil_tmp26 ;
14758 unsigned long __cil_tmp27 ;
14759 rwlock_t *__cil_tmp28 ;
14760
14761 {
14762 {
14763#line 1537
14764 __cil_tmp7 = & pch->downl;
14765#line 1537
14766 spin_lock_bh(__cil_tmp7);
14767 }
14768 {
14769#line 1538
14770 __cil_tmp8 = (struct ppp_channel *)0;
14771#line 1538
14772 __cil_tmp9 = (unsigned long )__cil_tmp8;
14773#line 1538
14774 __cil_tmp10 = pch->chan;
14775#line 1538
14776 __cil_tmp11 = (unsigned long )__cil_tmp10;
14777#line 1538
14778 if (__cil_tmp11 != __cil_tmp9) {
14779#line 1539
14780 goto ldv_40139;
14781 ldv_40138:
14782 {
14783#line 1540
14784 __cil_tmp12 = & pch->file.xq;
14785#line 1540
14786 skb = skb_dequeue(__cil_tmp12);
14787#line 1541
14788 __cil_tmp13 = pch->chan;
14789#line 1541
14790 __cil_tmp14 = __cil_tmp13->ops;
14791#line 1541
14792 __cil_tmp15 = __cil_tmp14->start_xmit;
14793#line 1541
14794 __cil_tmp16 = pch->chan;
14795#line 1541
14796 tmp = (*__cil_tmp15)(__cil_tmp16, skb);
14797 }
14798#line 1541
14799 if (tmp == 0) {
14800 {
14801#line 1543
14802 __cil_tmp17 = & pch->file.xq;
14803#line 1543
14804 skb_queue_head(__cil_tmp17, skb);
14805 }
14806#line 1544
14807 goto ldv_40137;
14808 } else {
14809
14810 }
14811 ldv_40139:
14812 {
14813#line 1539
14814 __cil_tmp18 = & pch->file.xq;
14815#line 1539
14816 __cil_tmp19 = (struct sk_buff_head const *)__cil_tmp18;
14817#line 1539
14818 tmp___0 = skb_queue_empty(__cil_tmp19);
14819 }
14820#line 1539
14821 if (tmp___0 == 0) {
14822#line 1540
14823 goto ldv_40138;
14824 } else {
14825#line 1542
14826 goto ldv_40137;
14827 }
14828 ldv_40137: ;
14829 } else {
14830 {
14831#line 1549
14832 __cil_tmp20 = & pch->file.xq;
14833#line 1549
14834 skb_queue_purge(__cil_tmp20);
14835 }
14836 }
14837 }
14838 {
14839#line 1551
14840 __cil_tmp21 = & pch->downl;
14841#line 1551
14842 spin_unlock_bh(__cil_tmp21);
14843#line 1553
14844 __cil_tmp22 = & pch->file.xq;
14845#line 1553
14846 __cil_tmp23 = (struct sk_buff_head const *)__cil_tmp22;
14847#line 1553
14848 tmp___1 = skb_queue_empty(__cil_tmp23);
14849 }
14850#line 1553
14851 if (tmp___1 != 0) {
14852 {
14853#line 1554
14854 __cil_tmp24 = & pch->upl;
14855#line 1554
14856 _raw_read_lock_bh(__cil_tmp24);
14857#line 1555
14858 ppp = pch->ppp;
14859 }
14860 {
14861#line 1556
14862 __cil_tmp25 = (struct ppp *)0;
14863#line 1556
14864 __cil_tmp26 = (unsigned long )__cil_tmp25;
14865#line 1556
14866 __cil_tmp27 = (unsigned long )ppp;
14867#line 1556
14868 if (__cil_tmp27 != __cil_tmp26) {
14869 {
14870#line 1557
14871 ppp_xmit_process(ppp);
14872 }
14873 } else {
14874
14875 }
14876 }
14877 {
14878#line 1558
14879 __cil_tmp28 = & pch->upl;
14880#line 1558
14881 _raw_read_unlock_bh(__cil_tmp28);
14882 }
14883 } else {
14884
14885 }
14886#line 1560
14887 return;
14888}
14889}
14890#line 1573 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
14891__inline static void ppp_do_recv(struct ppp *ppp , struct sk_buff *skb , struct channel *pch )
14892{ spinlock_t *__cil_tmp4 ;
14893 int __cil_tmp5 ;
14894 spinlock_t *__cil_tmp6 ;
14895
14896 {
14897 {
14898#line 1575
14899 __cil_tmp4 = & ppp->rlock;
14900#line 1575
14901 spin_lock_bh(__cil_tmp4);
14902 }
14903 {
14904#line 1576
14905 __cil_tmp5 = ppp->closing;
14906#line 1576
14907 if (__cil_tmp5 == 0) {
14908 {
14909#line 1577
14910 ppp_receive_frame(ppp, skb, pch);
14911 }
14912 } else {
14913 {
14914#line 1579
14915 kfree_skb(skb);
14916 }
14917 }
14918 }
14919 {
14920#line 1580
14921 __cil_tmp6 = & ppp->rlock;
14922#line 1580
14923 spin_unlock_bh(__cil_tmp6);
14924 }
14925#line 1581
14926 return;
14927}
14928}
14929#line 1584 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
14930void ppp_input(struct ppp_channel *chan , struct sk_buff *skb )
14931{ struct channel *pch ;
14932 int proto ;
14933 int tmp ;
14934 u16 tmp___0 ;
14935 void *__cil_tmp7 ;
14936 struct channel *__cil_tmp8 ;
14937 unsigned long __cil_tmp9 ;
14938 unsigned long __cil_tmp10 ;
14939 rwlock_t *__cil_tmp11 ;
14940 struct ppp *__cil_tmp12 ;
14941 unsigned long __cil_tmp13 ;
14942 struct ppp *__cil_tmp14 ;
14943 unsigned long __cil_tmp15 ;
14944 struct ppp *__cil_tmp16 ;
14945 struct net_device *__cil_tmp17 ;
14946 struct ppp *__cil_tmp18 ;
14947 struct net_device *__cil_tmp19 ;
14948 unsigned long __cil_tmp20 ;
14949 struct ppp *__cil_tmp21 ;
14950 unsigned char *__cil_tmp22 ;
14951 void const *__cil_tmp23 ;
14952 struct ppp *__cil_tmp24 ;
14953 unsigned long __cil_tmp25 ;
14954 struct ppp *__cil_tmp26 ;
14955 unsigned long __cil_tmp27 ;
14956 struct sk_buff_head *__cil_tmp28 ;
14957 __u32 __cil_tmp29 ;
14958 struct sk_buff_head *__cil_tmp30 ;
14959 struct sk_buff *__cil_tmp31 ;
14960 unsigned long __cil_tmp32 ;
14961 unsigned long __cil_tmp33 ;
14962 wait_queue_head_t *__cil_tmp34 ;
14963 void *__cil_tmp35 ;
14964 struct ppp *__cil_tmp36 ;
14965 rwlock_t *__cil_tmp37 ;
14966
14967 {
14968#line 1586
14969 __cil_tmp7 = chan->ppp;
14970#line 1586
14971 pch = (struct channel *)__cil_tmp7;
14972 {
14973#line 1589
14974 __cil_tmp8 = (struct channel *)0;
14975#line 1589
14976 __cil_tmp9 = (unsigned long )__cil_tmp8;
14977#line 1589
14978 __cil_tmp10 = (unsigned long )pch;
14979#line 1589
14980 if (__cil_tmp10 == __cil_tmp9) {
14981 {
14982#line 1590
14983 kfree_skb(skb);
14984 }
14985#line 1591
14986 return;
14987 } else {
14988
14989 }
14990 }
14991 {
14992#line 1594
14993 __cil_tmp11 = & pch->upl;
14994#line 1594
14995 _raw_read_lock_bh(__cil_tmp11);
14996#line 1595
14997 tmp = pskb_may_pull(skb, 2U);
14998 }
14999#line 1595
15000 if (tmp == 0) {
15001 {
15002#line 1596
15003 kfree_skb(skb);
15004 }
15005 {
15006#line 1597
15007 __cil_tmp12 = (struct ppp *)0;
15008#line 1597
15009 __cil_tmp13 = (unsigned long )__cil_tmp12;
15010#line 1597
15011 __cil_tmp14 = pch->ppp;
15012#line 1597
15013 __cil_tmp15 = (unsigned long )__cil_tmp14;
15014#line 1597
15015 if (__cil_tmp15 != __cil_tmp13) {
15016 {
15017#line 1598
15018 __cil_tmp16 = pch->ppp;
15019#line 1598
15020 __cil_tmp17 = __cil_tmp16->dev;
15021#line 1598
15022 __cil_tmp18 = pch->ppp;
15023#line 1598
15024 __cil_tmp19 = __cil_tmp18->dev;
15025#line 1598
15026 __cil_tmp20 = __cil_tmp19->stats.rx_length_errors;
15027#line 1598
15028 __cil_tmp17->stats.rx_length_errors = __cil_tmp20 + 1UL;
15029#line 1599
15030 __cil_tmp21 = pch->ppp;
15031#line 1599
15032 ppp_receive_error(__cil_tmp21);
15033 }
15034 } else {
15035
15036 }
15037 }
15038#line 1601
15039 goto done;
15040 } else {
15041
15042 }
15043 {
15044#line 1604
15045 __cil_tmp22 = skb->data;
15046#line 1604
15047 __cil_tmp23 = (void const *)__cil_tmp22;
15048#line 1604
15049 tmp___0 = get_unaligned_be16(__cil_tmp23);
15050#line 1604
15051 proto = (int )tmp___0;
15052 }
15053 {
15054#line 1605
15055 __cil_tmp24 = (struct ppp *)0;
15056#line 1605
15057 __cil_tmp25 = (unsigned long )__cil_tmp24;
15058#line 1605
15059 __cil_tmp26 = pch->ppp;
15060#line 1605
15061 __cil_tmp27 = (unsigned long )__cil_tmp26;
15062#line 1605
15063 if (__cil_tmp27 == __cil_tmp25) {
15064#line 1605
15065 goto _L;
15066 } else
15067#line 1605
15068 if (proto > 49151) {
15069#line 1605
15070 goto _L;
15071 } else
15072#line 1605
15073 if (proto == 33019) {
15074 _L:
15075 {
15076#line 1607
15077 __cil_tmp28 = & pch->file.rq;
15078#line 1607
15079 skb_queue_tail(__cil_tmp28, skb);
15080 }
15081#line 1609
15082 goto ldv_40156;
15083 ldv_40155:
15084 {
15085#line 1611
15086 kfree_skb(skb);
15087 }
15088 ldv_40156: ;
15089 {
15090#line 1609
15091 __cil_tmp29 = pch->file.rq.qlen;
15092#line 1609
15093 if (__cil_tmp29 > 32U) {
15094 {
15095#line 1609
15096 __cil_tmp30 = & pch->file.rq;
15097#line 1609
15098 skb = skb_dequeue(__cil_tmp30);
15099 }
15100 {
15101#line 1609
15102 __cil_tmp31 = (struct sk_buff *)0;
15103#line 1609
15104 __cil_tmp32 = (unsigned long )__cil_tmp31;
15105#line 1609
15106 __cil_tmp33 = (unsigned long )skb;
15107#line 1609
15108 if (__cil_tmp33 != __cil_tmp32) {
15109#line 1610
15110 goto ldv_40155;
15111 } else {
15112#line 1612
15113 goto ldv_40157;
15114 }
15115 }
15116 } else {
15117#line 1612
15118 goto ldv_40157;
15119 }
15120 }
15121 ldv_40157:
15122 {
15123#line 1612
15124 __cil_tmp34 = & pch->file.rwait;
15125#line 1612
15126 __cil_tmp35 = (void *)0;
15127#line 1612
15128 __wake_up(__cil_tmp34, 1U, 1, __cil_tmp35);
15129 }
15130 } else {
15131 {
15132#line 1614
15133 __cil_tmp36 = pch->ppp;
15134#line 1614
15135 ppp_do_recv(__cil_tmp36, skb, pch);
15136 }
15137 }
15138 }
15139 done:
15140 {
15141#line 1618
15142 __cil_tmp37 = & pch->upl;
15143#line 1618
15144 _raw_read_unlock_bh(__cil_tmp37);
15145 }
15146#line 1619
15147 return;
15148}
15149}
15150#line 1623 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
15151void ppp_input_error(struct ppp_channel *chan , int code )
15152{ struct channel *pch ;
15153 struct sk_buff *skb ;
15154 void *__cil_tmp5 ;
15155 struct channel *__cil_tmp6 ;
15156 unsigned long __cil_tmp7 ;
15157 unsigned long __cil_tmp8 ;
15158 rwlock_t *__cil_tmp9 ;
15159 struct ppp *__cil_tmp10 ;
15160 unsigned long __cil_tmp11 ;
15161 struct ppp *__cil_tmp12 ;
15162 unsigned long __cil_tmp13 ;
15163 struct sk_buff *__cil_tmp14 ;
15164 unsigned long __cil_tmp15 ;
15165 unsigned long __cil_tmp16 ;
15166 struct ppp *__cil_tmp17 ;
15167 rwlock_t *__cil_tmp18 ;
15168
15169 {
15170#line 1625
15171 __cil_tmp5 = chan->ppp;
15172#line 1625
15173 pch = (struct channel *)__cil_tmp5;
15174 {
15175#line 1628
15176 __cil_tmp6 = (struct channel *)0;
15177#line 1628
15178 __cil_tmp7 = (unsigned long )__cil_tmp6;
15179#line 1628
15180 __cil_tmp8 = (unsigned long )pch;
15181#line 1628
15182 if (__cil_tmp8 == __cil_tmp7) {
15183#line 1629
15184 return;
15185 } else {
15186
15187 }
15188 }
15189 {
15190#line 1631
15191 __cil_tmp9 = & pch->upl;
15192#line 1631
15193 _raw_read_lock_bh(__cil_tmp9);
15194 }
15195 {
15196#line 1632
15197 __cil_tmp10 = (struct ppp *)0;
15198#line 1632
15199 __cil_tmp11 = (unsigned long )__cil_tmp10;
15200#line 1632
15201 __cil_tmp12 = pch->ppp;
15202#line 1632
15203 __cil_tmp13 = (unsigned long )__cil_tmp12;
15204#line 1632
15205 if (__cil_tmp13 != __cil_tmp11) {
15206 {
15207#line 1633
15208 skb = alloc_skb(0U, 32U);
15209 }
15210 {
15211#line 1634
15212 __cil_tmp14 = (struct sk_buff *)0;
15213#line 1634
15214 __cil_tmp15 = (unsigned long )__cil_tmp14;
15215#line 1634
15216 __cil_tmp16 = (unsigned long )skb;
15217#line 1634
15218 if (__cil_tmp16 != __cil_tmp15) {
15219 {
15220#line 1635
15221 skb->len = 0U;
15222#line 1636
15223 skb->cb[0] = (char )code;
15224#line 1637
15225 __cil_tmp17 = pch->ppp;
15226#line 1637
15227 ppp_do_recv(__cil_tmp17, skb, pch);
15228 }
15229 } else {
15230
15231 }
15232 }
15233 } else {
15234
15235 }
15236 }
15237 {
15238#line 1640
15239 __cil_tmp18 = & pch->upl;
15240#line 1640
15241 _raw_read_unlock_bh(__cil_tmp18);
15242 }
15243#line 1641
15244 return;
15245}
15246}
15247#line 1648 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
15248static void ppp_receive_frame(struct ppp *ppp , struct sk_buff *skb , struct channel *pch )
15249{ u16 tmp ;
15250 unsigned int __cil_tmp5 ;
15251 unsigned char *__cil_tmp6 ;
15252 void const *__cil_tmp7 ;
15253 unsigned int __cil_tmp8 ;
15254
15255 {
15256 {
15257#line 1651
15258 __cil_tmp5 = skb->len;
15259#line 1651
15260 if (__cil_tmp5 != 0U) {
15261 {
15262#line 1654
15263 __cil_tmp6 = skb->data;
15264#line 1654
15265 __cil_tmp7 = (void const *)__cil_tmp6;
15266#line 1654
15267 tmp = get_unaligned_be16(__cil_tmp7);
15268 }
15269 {
15270#line 1654
15271 __cil_tmp8 = (unsigned int )tmp;
15272#line 1654
15273 if (__cil_tmp8 == 61U) {
15274 {
15275#line 1655
15276 ppp_receive_mp_frame(ppp, skb, pch);
15277 }
15278 } else {
15279 {
15280#line 1658
15281 ppp_receive_nonmp_frame(ppp, skb);
15282 }
15283 }
15284 }
15285 } else {
15286 {
15287#line 1660
15288 kfree_skb(skb);
15289#line 1661
15290 ppp_receive_error(ppp);
15291 }
15292 }
15293 }
15294#line 1663
15295 return;
15296}
15297}
15298#line 1666 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
15299static void ppp_receive_error(struct ppp *ppp )
15300{ struct net_device *__cil_tmp2 ;
15301 struct net_device *__cil_tmp3 ;
15302 unsigned long __cil_tmp4 ;
15303 struct slcompress *__cil_tmp5 ;
15304 unsigned long __cil_tmp6 ;
15305 struct slcompress *__cil_tmp7 ;
15306 unsigned long __cil_tmp8 ;
15307 struct slcompress *__cil_tmp9 ;
15308
15309 {
15310#line 1668
15311 __cil_tmp2 = ppp->dev;
15312#line 1668
15313 __cil_tmp3 = ppp->dev;
15314#line 1668
15315 __cil_tmp4 = __cil_tmp3->stats.rx_errors;
15316#line 1668
15317 __cil_tmp2->stats.rx_errors = __cil_tmp4 + 1UL;
15318 {
15319#line 1669
15320 __cil_tmp5 = (struct slcompress *)0;
15321#line 1669
15322 __cil_tmp6 = (unsigned long )__cil_tmp5;
15323#line 1669
15324 __cil_tmp7 = ppp->vj;
15325#line 1669
15326 __cil_tmp8 = (unsigned long )__cil_tmp7;
15327#line 1669
15328 if (__cil_tmp8 != __cil_tmp6) {
15329 {
15330#line 1670
15331 __cil_tmp9 = ppp->vj;
15332#line 1670
15333 slhc_toss(__cil_tmp9);
15334 }
15335 } else {
15336
15337 }
15338 }
15339#line 1671
15340 return;
15341}
15342}
15343#line 1674 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
15344static void ppp_receive_nonmp_frame(struct ppp *ppp , struct sk_buff *skb )
15345{ struct sk_buff *ns ;
15346 int proto ;
15347 int len ;
15348 int npi ;
15349 u16 tmp ;
15350 unsigned char *tmp___0 ;
15351 int tmp___1 ;
15352 int tmp___2 ;
15353 int tmp___3 ;
15354 int tmp___4 ;
15355 int tmp___5 ;
15356 int tmp___6 ;
15357 unsigned char *tmp___7 ;
15358 unsigned int tmp___8 ;
15359 unsigned int tmp___9 ;
15360 __u16 tmp___10 ;
15361 void *__cil_tmp19 ;
15362 unsigned long __cil_tmp20 ;
15363 void *__cil_tmp21 ;
15364 unsigned long __cil_tmp22 ;
15365 unsigned int __cil_tmp23 ;
15366 unsigned int __cil_tmp24 ;
15367 unsigned int __cil_tmp25 ;
15368 unsigned int __cil_tmp26 ;
15369 unsigned int __cil_tmp27 ;
15370 unsigned int __cil_tmp28 ;
15371 unsigned int __cil_tmp29 ;
15372 unsigned int __cil_tmp30 ;
15373 unsigned char *__cil_tmp31 ;
15374 void const *__cil_tmp32 ;
15375 struct slcompress *__cil_tmp33 ;
15376 unsigned long __cil_tmp34 ;
15377 struct slcompress *__cil_tmp35 ;
15378 unsigned long __cil_tmp36 ;
15379 unsigned int __cil_tmp37 ;
15380 unsigned int __cil_tmp38 ;
15381 struct sk_buff const *__cil_tmp39 ;
15382 struct sk_buff const *__cil_tmp40 ;
15383 unsigned int __cil_tmp41 ;
15384 unsigned int __cil_tmp42 ;
15385 struct sk_buff *__cil_tmp43 ;
15386 unsigned long __cil_tmp44 ;
15387 unsigned long __cil_tmp45 ;
15388 struct net_device *__cil_tmp46 ;
15389 struct net_device const *__cil_tmp47 ;
15390 unsigned int __cil_tmp48 ;
15391 struct sk_buff const *__cil_tmp49 ;
15392 void *__cil_tmp50 ;
15393 unsigned int __cil_tmp51 ;
15394 int __cil_tmp52 ;
15395 struct slcompress *__cil_tmp53 ;
15396 unsigned char *__cil_tmp54 ;
15397 unsigned char *__cil_tmp55 ;
15398 unsigned int __cil_tmp56 ;
15399 unsigned int __cil_tmp57 ;
15400 int __cil_tmp58 ;
15401 struct net_device *__cil_tmp59 ;
15402 struct net_device const *__cil_tmp60 ;
15403 unsigned int __cil_tmp61 ;
15404 unsigned int __cil_tmp62 ;
15405 unsigned int __cil_tmp63 ;
15406 unsigned int __cil_tmp64 ;
15407 unsigned int __cil_tmp65 ;
15408 unsigned int __cil_tmp66 ;
15409 unsigned int __cil_tmp67 ;
15410 unsigned int __cil_tmp68 ;
15411 struct slcompress *__cil_tmp69 ;
15412 unsigned long __cil_tmp70 ;
15413 struct slcompress *__cil_tmp71 ;
15414 unsigned long __cil_tmp72 ;
15415 unsigned int __cil_tmp73 ;
15416 unsigned int __cil_tmp74 ;
15417 unsigned int __cil_tmp75 ;
15418 struct slcompress *__cil_tmp76 ;
15419 unsigned char *__cil_tmp77 ;
15420 unsigned char *__cil_tmp78 ;
15421 unsigned int __cil_tmp79 ;
15422 unsigned int __cil_tmp80 ;
15423 int __cil_tmp81 ;
15424 struct net_device *__cil_tmp82 ;
15425 struct net_device const *__cil_tmp83 ;
15426 struct net_device *__cil_tmp84 ;
15427 struct net_device *__cil_tmp85 ;
15428 unsigned long __cil_tmp86 ;
15429 struct net_device *__cil_tmp87 ;
15430 unsigned int __cil_tmp88 ;
15431 unsigned int __cil_tmp89 ;
15432 unsigned long __cil_tmp90 ;
15433 struct net_device *__cil_tmp91 ;
15434 unsigned long __cil_tmp92 ;
15435 struct sk_buff_head *__cil_tmp93 ;
15436 __u32 __cil_tmp94 ;
15437 struct sk_buff_head *__cil_tmp95 ;
15438 struct sk_buff *__cil_tmp96 ;
15439 unsigned long __cil_tmp97 ;
15440 unsigned long __cil_tmp98 ;
15441 wait_queue_head_t *__cil_tmp99 ;
15442 void *__cil_tmp100 ;
15443 struct sock_filter *__cil_tmp101 ;
15444 unsigned long __cil_tmp102 ;
15445 struct sock_filter *__cil_tmp103 ;
15446 unsigned long __cil_tmp104 ;
15447 struct sock_filter *__cil_tmp105 ;
15448 unsigned long __cil_tmp106 ;
15449 struct sock_filter *__cil_tmp107 ;
15450 unsigned long __cil_tmp108 ;
15451 struct sk_buff const *__cil_tmp109 ;
15452 struct sock_filter *__cil_tmp110 ;
15453 unsigned long __cil_tmp111 ;
15454 struct sock_filter *__cil_tmp112 ;
15455 unsigned long __cil_tmp113 ;
15456 struct sk_buff const *__cil_tmp114 ;
15457 struct sock_filter *__cil_tmp115 ;
15458 struct sock_filter const *__cil_tmp116 ;
15459 int __cil_tmp117 ;
15460 struct net_device *__cil_tmp118 ;
15461 struct net_device const *__cil_tmp119 ;
15462 struct sock_filter *__cil_tmp120 ;
15463 unsigned long __cil_tmp121 ;
15464 struct sock_filter *__cil_tmp122 ;
15465 unsigned long __cil_tmp123 ;
15466 struct sk_buff const *__cil_tmp124 ;
15467 struct sock_filter *__cil_tmp125 ;
15468 struct sock_filter const *__cil_tmp126 ;
15469 struct net_device *__cil_tmp127 ;
15470 unsigned int __cil_tmp128 ;
15471 unsigned int __cil_tmp129 ;
15472 enum NPmode __cil_tmp130 ;
15473 unsigned int __cil_tmp131 ;
15474 __u16 __cil_tmp132 ;
15475 int __cil_tmp133 ;
15476 __u16 __cil_tmp134 ;
15477
15478 {
15479 {
15480#line 1684
15481 __cil_tmp19 = (void *)0;
15482#line 1684
15483 __cil_tmp20 = (unsigned long )__cil_tmp19;
15484#line 1684
15485 __cil_tmp21 = ppp->rc_state;
15486#line 1684
15487 __cil_tmp22 = (unsigned long )__cil_tmp21;
15488#line 1684
15489 if (__cil_tmp22 != __cil_tmp20) {
15490 {
15491#line 1684
15492 __cil_tmp23 = ppp->rstate;
15493#line 1684
15494 __cil_tmp24 = __cil_tmp23 & 8192U;
15495#line 1684
15496 if (__cil_tmp24 != 0U) {
15497 {
15498#line 1684
15499 __cil_tmp25 = ppp->rstate;
15500#line 1684
15501 __cil_tmp26 = __cil_tmp25 & 12582912U;
15502#line 1684
15503 if (__cil_tmp26 == 0U) {
15504 {
15505#line 1686
15506 skb = ppp_decompress_frame(ppp, skb);
15507 }
15508 } else {
15509
15510 }
15511 }
15512 } else {
15513
15514 }
15515 }
15516 } else {
15517
15518 }
15519 }
15520 {
15521#line 1688
15522 __cil_tmp27 = ppp->flags;
15523#line 1688
15524 __cil_tmp28 = __cil_tmp27 & 4194304U;
15525#line 1688
15526 if (__cil_tmp28 != 0U) {
15527 {
15528#line 1688
15529 __cil_tmp29 = ppp->rstate;
15530#line 1688
15531 __cil_tmp30 = __cil_tmp29 & 8388608U;
15532#line 1688
15533 if (__cil_tmp30 != 0U) {
15534#line 1689
15535 goto err;
15536 } else {
15537
15538 }
15539 }
15540 } else {
15541
15542 }
15543 }
15544 {
15545#line 1691
15546 __cil_tmp31 = skb->data;
15547#line 1691
15548 __cil_tmp32 = (void const *)__cil_tmp31;
15549#line 1691
15550 tmp = get_unaligned_be16(__cil_tmp32);
15551#line 1691
15552 proto = (int )tmp;
15553 }
15554#line 1693
15555 if (proto == 45) {
15556#line 1693
15557 goto case_45;
15558 } else
15559#line 1728
15560 if (proto == 47) {
15561#line 1728
15562 goto case_47;
15563 } else
15564#line 1745
15565 if (proto == 33021) {
15566#line 1745
15567 goto case_33021;
15568 } else
15569#line 1692
15570 if (0) {
15571 case_45: ;
15572 {
15573#line 1695
15574 __cil_tmp33 = (struct slcompress *)0;
15575#line 1695
15576 __cil_tmp34 = (unsigned long )__cil_tmp33;
15577#line 1695
15578 __cil_tmp35 = ppp->vj;
15579#line 1695
15580 __cil_tmp36 = (unsigned long )__cil_tmp35;
15581#line 1695
15582 if (__cil_tmp36 == __cil_tmp34) {
15583#line 1696
15584 goto err;
15585 } else {
15586 {
15587#line 1695
15588 __cil_tmp37 = ppp->flags;
15589#line 1695
15590 __cil_tmp38 = __cil_tmp37 & 32U;
15591#line 1695
15592 if (__cil_tmp38 != 0U) {
15593#line 1696
15594 goto err;
15595 } else {
15596
15597 }
15598 }
15599 }
15600 }
15601 {
15602#line 1698
15603 __cil_tmp39 = (struct sk_buff const *)skb;
15604#line 1698
15605 tmp___1 = skb_tailroom(__cil_tmp39);
15606 }
15607#line 1698
15608 if (tmp___1 <= 123) {
15609#line 1698
15610 goto _L;
15611 } else {
15612 {
15613#line 1698
15614 __cil_tmp40 = (struct sk_buff const *)skb;
15615#line 1698
15616 tmp___2 = skb_cloned(__cil_tmp40);
15617 }
15618#line 1698
15619 if (tmp___2 != 0) {
15620 _L:
15621 {
15622#line 1700
15623 __cil_tmp41 = skb->len;
15624#line 1700
15625 __cil_tmp42 = __cil_tmp41 + 128U;
15626#line 1700
15627 ns = dev_alloc_skb(__cil_tmp42);
15628 }
15629 {
15630#line 1701
15631 __cil_tmp43 = (struct sk_buff *)0;
15632#line 1701
15633 __cil_tmp44 = (unsigned long )__cil_tmp43;
15634#line 1701
15635 __cil_tmp45 = (unsigned long )ns;
15636#line 1701
15637 if (__cil_tmp45 == __cil_tmp44) {
15638 {
15639#line 1702
15640 __cil_tmp46 = ppp->dev;
15641#line 1702
15642 __cil_tmp47 = (struct net_device const *)__cil_tmp46;
15643#line 1702
15644 netdev_err(__cil_tmp47, "PPP: no memory (VJ decomp)\n");
15645 }
15646#line 1704
15647 goto err;
15648 } else {
15649
15650 }
15651 }
15652 {
15653#line 1706
15654 skb_reserve(ns, 2);
15655#line 1707
15656 __cil_tmp48 = skb->len;
15657#line 1707
15658 tmp___0 = skb_put(ns, __cil_tmp48);
15659#line 1707
15660 __cil_tmp49 = (struct sk_buff const *)skb;
15661#line 1707
15662 __cil_tmp50 = (void *)tmp___0;
15663#line 1707
15664 __cil_tmp51 = skb->len;
15665#line 1707
15666 __cil_tmp52 = (int )__cil_tmp51;
15667#line 1707
15668 skb_copy_bits(__cil_tmp49, 0, __cil_tmp50, __cil_tmp52);
15669#line 1708
15670 kfree_skb(skb);
15671#line 1709
15672 skb = ns;
15673 }
15674 } else {
15675#line 1712
15676 skb->ip_summed = (unsigned char)0;
15677 }
15678 }
15679 {
15680#line 1714
15681 __cil_tmp53 = ppp->vj;
15682#line 1714
15683 __cil_tmp54 = skb->data;
15684#line 1714
15685 __cil_tmp55 = __cil_tmp54 + 2UL;
15686#line 1714
15687 __cil_tmp56 = skb->len;
15688#line 1714
15689 __cil_tmp57 = __cil_tmp56 - 2U;
15690#line 1714
15691 __cil_tmp58 = (int )__cil_tmp57;
15692#line 1714
15693 len = slhc_uncompress(__cil_tmp53, __cil_tmp55, __cil_tmp58);
15694 }
15695#line 1715
15696 if (len <= 0) {
15697 {
15698#line 1716
15699 __cil_tmp59 = ppp->dev;
15700#line 1716
15701 __cil_tmp60 = (struct net_device const *)__cil_tmp59;
15702#line 1716
15703 netdev_printk("<7>", __cil_tmp60, "PPP: VJ decompression error\n");
15704 }
15705#line 1718
15706 goto err;
15707 } else {
15708
15709 }
15710#line 1720
15711 len = len + 2;
15712 {
15713#line 1721
15714 __cil_tmp61 = skb->len;
15715#line 1721
15716 __cil_tmp62 = (unsigned int )len;
15717#line 1721
15718 if (__cil_tmp62 > __cil_tmp61) {
15719 {
15720#line 1722
15721 __cil_tmp63 = skb->len;
15722#line 1722
15723 __cil_tmp64 = (unsigned int )len;
15724#line 1722
15725 __cil_tmp65 = __cil_tmp64 - __cil_tmp63;
15726#line 1722
15727 skb_put(skb, __cil_tmp65);
15728 }
15729 } else {
15730 {
15731#line 1723
15732 __cil_tmp66 = skb->len;
15733#line 1723
15734 __cil_tmp67 = (unsigned int )len;
15735#line 1723
15736 if (__cil_tmp67 < __cil_tmp66) {
15737 {
15738#line 1724
15739 __cil_tmp68 = (unsigned int )len;
15740#line 1724
15741 skb_trim(skb, __cil_tmp68);
15742 }
15743 } else {
15744
15745 }
15746 }
15747 }
15748 }
15749#line 1725
15750 proto = 33;
15751#line 1726
15752 goto ldv_40182;
15753 case_47: ;
15754 {
15755#line 1729
15756 __cil_tmp69 = (struct slcompress *)0;
15757#line 1729
15758 __cil_tmp70 = (unsigned long )__cil_tmp69;
15759#line 1729
15760 __cil_tmp71 = ppp->vj;
15761#line 1729
15762 __cil_tmp72 = (unsigned long )__cil_tmp71;
15763#line 1729
15764 if (__cil_tmp72 == __cil_tmp70) {
15765#line 1730
15766 goto err;
15767 } else {
15768 {
15769#line 1729
15770 __cil_tmp73 = ppp->flags;
15771#line 1729
15772 __cil_tmp74 = __cil_tmp73 & 32U;
15773#line 1729
15774 if (__cil_tmp74 != 0U) {
15775#line 1730
15776 goto err;
15777 } else {
15778
15779 }
15780 }
15781 }
15782 }
15783 {
15784#line 1735
15785 __cil_tmp75 = skb->len;
15786#line 1735
15787 tmp___3 = pskb_may_pull(skb, __cil_tmp75);
15788 }
15789#line 1735
15790 if (tmp___3 == 0) {
15791#line 1736
15792 goto err;
15793 } else {
15794
15795 }
15796 {
15797#line 1738
15798 __cil_tmp76 = ppp->vj;
15799#line 1738
15800 __cil_tmp77 = skb->data;
15801#line 1738
15802 __cil_tmp78 = __cil_tmp77 + 2UL;
15803#line 1738
15804 __cil_tmp79 = skb->len;
15805#line 1738
15806 __cil_tmp80 = __cil_tmp79 - 2U;
15807#line 1738
15808 __cil_tmp81 = (int )__cil_tmp80;
15809#line 1738
15810 tmp___4 = slhc_remember(__cil_tmp76, __cil_tmp78, __cil_tmp81);
15811 }
15812#line 1738
15813 if (tmp___4 <= 0) {
15814 {
15815#line 1739
15816 __cil_tmp82 = ppp->dev;
15817#line 1739
15818 __cil_tmp83 = (struct net_device const *)__cil_tmp82;
15819#line 1739
15820 netdev_err(__cil_tmp83, "PPP: VJ uncompressed error\n");
15821 }
15822#line 1740
15823 goto err;
15824 } else {
15825
15826 }
15827#line 1742
15828 proto = 33;
15829#line 1743
15830 goto ldv_40182;
15831 case_33021:
15832 {
15833#line 1746
15834 ppp_ccp_peek(ppp, skb, 1);
15835 }
15836#line 1747
15837 goto ldv_40182;
15838 } else {
15839
15840 }
15841 ldv_40182:
15842 {
15843#line 1750
15844 __cil_tmp84 = ppp->dev;
15845#line 1750
15846 __cil_tmp85 = ppp->dev;
15847#line 1750
15848 __cil_tmp86 = __cil_tmp85->stats.rx_packets;
15849#line 1750
15850 __cil_tmp84->stats.rx_packets = __cil_tmp86 + 1UL;
15851#line 1751
15852 __cil_tmp87 = ppp->dev;
15853#line 1751
15854 __cil_tmp88 = skb->len;
15855#line 1751
15856 __cil_tmp89 = __cil_tmp88 - 2U;
15857#line 1751
15858 __cil_tmp90 = (unsigned long )__cil_tmp89;
15859#line 1751
15860 __cil_tmp91 = ppp->dev;
15861#line 1751
15862 __cil_tmp92 = __cil_tmp91->stats.rx_bytes;
15863#line 1751
15864 __cil_tmp87->stats.rx_bytes = __cil_tmp92 + __cil_tmp90;
15865#line 1753
15866 npi = proto_to_npindex(proto);
15867 }
15868#line 1754
15869 if (npi < 0) {
15870 {
15871#line 1756
15872 __cil_tmp93 = & ppp->file.rq;
15873#line 1756
15874 skb_queue_tail(__cil_tmp93, skb);
15875 }
15876#line 1758
15877 goto ldv_40186;
15878 ldv_40185:
15879 {
15880#line 1760
15881 kfree_skb(skb);
15882 }
15883 ldv_40186: ;
15884 {
15885#line 1758
15886 __cil_tmp94 = ppp->file.rq.qlen;
15887#line 1758
15888 if (__cil_tmp94 > 32U) {
15889 {
15890#line 1758
15891 __cil_tmp95 = & ppp->file.rq;
15892#line 1758
15893 skb = skb_dequeue(__cil_tmp95);
15894 }
15895 {
15896#line 1758
15897 __cil_tmp96 = (struct sk_buff *)0;
15898#line 1758
15899 __cil_tmp97 = (unsigned long )__cil_tmp96;
15900#line 1758
15901 __cil_tmp98 = (unsigned long )skb;
15902#line 1758
15903 if (__cil_tmp98 != __cil_tmp97) {
15904#line 1759
15905 goto ldv_40185;
15906 } else {
15907#line 1761
15908 goto ldv_40187;
15909 }
15910 }
15911 } else {
15912#line 1761
15913 goto ldv_40187;
15914 }
15915 }
15916 ldv_40187:
15917 {
15918#line 1762
15919 __cil_tmp99 = & ppp->file.rwait;
15920#line 1762
15921 __cil_tmp100 = (void *)0;
15922#line 1762
15923 __wake_up(__cil_tmp99, 1U, 1, __cil_tmp100);
15924 }
15925 } else {
15926 {
15927#line 1771
15928 __cil_tmp101 = (struct sock_filter *)0;
15929#line 1771
15930 __cil_tmp102 = (unsigned long )__cil_tmp101;
15931#line 1771
15932 __cil_tmp103 = ppp->pass_filter;
15933#line 1771
15934 __cil_tmp104 = (unsigned long )__cil_tmp103;
15935#line 1771
15936 if (__cil_tmp104 != __cil_tmp102) {
15937#line 1771
15938 goto _L___0;
15939 } else {
15940 {
15941#line 1771
15942 __cil_tmp105 = (struct sock_filter *)0;
15943#line 1771
15944 __cil_tmp106 = (unsigned long )__cil_tmp105;
15945#line 1771
15946 __cil_tmp107 = ppp->active_filter;
15947#line 1771
15948 __cil_tmp108 = (unsigned long )__cil_tmp107;
15949#line 1771
15950 if (__cil_tmp108 != __cil_tmp106) {
15951 _L___0:
15952 {
15953#line 1772
15954 __cil_tmp109 = (struct sk_buff const *)skb;
15955#line 1772
15956 tmp___5 = skb_cloned(__cil_tmp109);
15957 }
15958#line 1772
15959 if (tmp___5 != 0) {
15960 {
15961#line 1772
15962 tmp___6 = pskb_expand_head(skb, 0, 0, 32U);
15963 }
15964#line 1772
15965 if (tmp___6 != 0) {
15966#line 1774
15967 goto err;
15968 } else {
15969
15970 }
15971 } else {
15972
15973 }
15974 {
15975#line 1776
15976 tmp___7 = skb_push(skb, 2U);
15977#line 1776
15978 *tmp___7 = (unsigned char)0;
15979 }
15980 {
15981#line 1777
15982 __cil_tmp110 = (struct sock_filter *)0;
15983#line 1777
15984 __cil_tmp111 = (unsigned long )__cil_tmp110;
15985#line 1777
15986 __cil_tmp112 = ppp->pass_filter;
15987#line 1777
15988 __cil_tmp113 = (unsigned long )__cil_tmp112;
15989#line 1777
15990 if (__cil_tmp113 != __cil_tmp111) {
15991 {
15992#line 1777
15993 __cil_tmp114 = (struct sk_buff const *)skb;
15994#line 1777
15995 __cil_tmp115 = ppp->pass_filter;
15996#line 1777
15997 __cil_tmp116 = (struct sock_filter const *)__cil_tmp115;
15998#line 1777
15999 tmp___8 = sk_run_filter(__cil_tmp114, __cil_tmp116);
16000 }
16001#line 1777
16002 if (tmp___8 == 0U) {
16003 {
16004#line 1779
16005 __cil_tmp117 = ppp->debug;
16006#line 1779
16007 if (__cil_tmp117 & 1) {
16008 {
16009#line 1780
16010 __cil_tmp118 = ppp->dev;
16011#line 1780
16012 __cil_tmp119 = (struct net_device const *)__cil_tmp118;
16013#line 1780
16014 netdev_printk("<7>", __cil_tmp119, "PPP: inbound frame not passed\n");
16015 }
16016 } else {
16017
16018 }
16019 }
16020 {
16021#line 1783
16022 kfree_skb(skb);
16023 }
16024#line 1784
16025 return;
16026 } else {
16027
16028 }
16029 } else {
16030
16031 }
16032 }
16033 {
16034#line 1786
16035 __cil_tmp120 = (struct sock_filter *)0;
16036#line 1786
16037 __cil_tmp121 = (unsigned long )__cil_tmp120;
16038#line 1786
16039 __cil_tmp122 = ppp->active_filter;
16040#line 1786
16041 __cil_tmp123 = (unsigned long )__cil_tmp122;
16042#line 1786
16043 if (__cil_tmp123 == __cil_tmp121) {
16044#line 1788
16045 ppp->last_recv = (unsigned long )jiffies;
16046 } else {
16047 {
16048#line 1786
16049 __cil_tmp124 = (struct sk_buff const *)skb;
16050#line 1786
16051 __cil_tmp125 = ppp->active_filter;
16052#line 1786
16053 __cil_tmp126 = (struct sock_filter const *)__cil_tmp125;
16054#line 1786
16055 tmp___9 = sk_run_filter(__cil_tmp124, __cil_tmp126);
16056 }
16057#line 1786
16058 if (tmp___9 != 0U) {
16059#line 1788
16060 ppp->last_recv = (unsigned long )jiffies;
16061 } else {
16062
16063 }
16064 }
16065 }
16066 {
16067#line 1789
16068 __skb_pull(skb, 2U);
16069 }
16070 } else {
16071#line 1792
16072 ppp->last_recv = (unsigned long )jiffies;
16073 }
16074 }
16075 }
16076 }
16077 {
16078#line 1794
16079 __cil_tmp127 = ppp->dev;
16080#line 1794
16081 __cil_tmp128 = __cil_tmp127->flags;
16082#line 1794
16083 __cil_tmp129 = __cil_tmp128 & 1U;
16084#line 1794
16085 if (__cil_tmp129 == 0U) {
16086 {
16087#line 1796
16088 kfree_skb(skb);
16089 }
16090 } else {
16091 {
16092#line 1794
16093 __cil_tmp130 = ppp->npmode[npi];
16094#line 1794
16095 __cil_tmp131 = (unsigned int )__cil_tmp130;
16096#line 1794
16097 if (__cil_tmp131 != 0U) {
16098 {
16099#line 1796
16100 kfree_skb(skb);
16101 }
16102 } else {
16103 {
16104#line 1799
16105 skb_pull_rcsum(skb, 2U);
16106#line 1800
16107 skb->dev = ppp->dev;
16108#line 1801
16109 __cil_tmp132 = (__u16 )npindex_to_ethertype[npi];
16110#line 1801
16111 __cil_tmp133 = (int )__cil_tmp132;
16112#line 1801
16113 __cil_tmp134 = (__u16 )__cil_tmp133;
16114#line 1801
16115 tmp___10 = __fswab16(__cil_tmp134);
16116#line 1801
16117 skb->protocol = tmp___10;
16118#line 1802
16119 skb_reset_mac_header(skb);
16120#line 1803
16121 netif_rx(skb);
16122 }
16123 }
16124 }
16125 }
16126 }
16127 }
16128#line 1806
16129 return;
16130 err:
16131 {
16132#line 1809
16133 kfree_skb(skb);
16134#line 1810
16135 ppp_receive_error(ppp);
16136 }
16137#line 1811
16138 return;
16139}
16140}
16141#line 1814 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
16142static struct sk_buff *ppp_decompress_frame(struct ppp *ppp , struct sk_buff *skb )
16143{ int proto ;
16144 u16 tmp ;
16145 struct sk_buff *ns ;
16146 int len ;
16147 int tmp___0 ;
16148 int obuff_size ;
16149 unsigned char *__cil_tmp9 ;
16150 void const *__cil_tmp10 ;
16151 unsigned int __cil_tmp11 ;
16152 struct compressor *__cil_tmp12 ;
16153 int __cil_tmp13 ;
16154 int __cil_tmp14 ;
16155 int __cil_tmp15 ;
16156 unsigned int __cil_tmp16 ;
16157 struct sk_buff *__cil_tmp17 ;
16158 unsigned long __cil_tmp18 ;
16159 unsigned long __cil_tmp19 ;
16160 struct net_device *__cil_tmp20 ;
16161 struct net_device const *__cil_tmp21 ;
16162 struct compressor *__cil_tmp22 ;
16163 int (*__cil_tmp23)(void * , unsigned char * , int , unsigned char * , int ) ;
16164 void *__cil_tmp24 ;
16165 unsigned char *__cil_tmp25 ;
16166 unsigned char *__cil_tmp26 ;
16167 unsigned int __cil_tmp27 ;
16168 unsigned int __cil_tmp28 ;
16169 int __cil_tmp29 ;
16170 unsigned char *__cil_tmp30 ;
16171 unsigned int __cil_tmp31 ;
16172 unsigned int __cil_tmp32 ;
16173 void (*__cil_tmp33)(void * , unsigned char * , int ) ;
16174 unsigned long __cil_tmp34 ;
16175 struct compressor *__cil_tmp35 ;
16176 void (*__cil_tmp36)(void * , unsigned char * , int ) ;
16177 unsigned long __cil_tmp37 ;
16178 struct compressor *__cil_tmp38 ;
16179 void (*__cil_tmp39)(void * , unsigned char * , int ) ;
16180 void *__cil_tmp40 ;
16181 unsigned char *__cil_tmp41 ;
16182 unsigned char *__cil_tmp42 ;
16183 unsigned int __cil_tmp43 ;
16184 unsigned int __cil_tmp44 ;
16185 int __cil_tmp45 ;
16186 unsigned int __cil_tmp46 ;
16187
16188 {
16189 {
16190#line 1816
16191 __cil_tmp9 = skb->data;
16192#line 1816
16193 __cil_tmp10 = (void const *)__cil_tmp9;
16194#line 1816
16195 tmp = get_unaligned_be16(__cil_tmp10);
16196#line 1816
16197 proto = (int )tmp;
16198#line 1823
16199 __cil_tmp11 = skb->len;
16200#line 1823
16201 tmp___0 = pskb_may_pull(skb, __cil_tmp11);
16202 }
16203#line 1823
16204 if (tmp___0 == 0) {
16205#line 1824
16206 goto err;
16207 } else {
16208
16209 }
16210#line 1826
16211 if (proto == 253) {
16212 {
16213#line 1830
16214 __cil_tmp12 = ppp->rcomp;
16215#line 1830
16216 __cil_tmp13 = __cil_tmp12->compress_proto;
16217#line 1830
16218 if (__cil_tmp13 == 18) {
16219#line 1830
16220 goto case_18;
16221 } else {
16222#line 1833
16223 goto switch_default;
16224#line 1829
16225 if (0) {
16226 case_18:
16227#line 1831
16228 __cil_tmp14 = ppp->mru;
16229#line 1831
16230 obuff_size = __cil_tmp14 + 5;
16231#line 1832
16232 goto ldv_40198;
16233 switch_default:
16234#line 1834
16235 __cil_tmp15 = ppp->mru;
16236#line 1834
16237 obuff_size = __cil_tmp15 + 4;
16238#line 1835
16239 goto ldv_40198;
16240 } else {
16241
16242 }
16243 }
16244 }
16245 ldv_40198:
16246 {
16247#line 1838
16248 __cil_tmp16 = (unsigned int )obuff_size;
16249#line 1838
16250 ns = dev_alloc_skb(__cil_tmp16);
16251 }
16252 {
16253#line 1839
16254 __cil_tmp17 = (struct sk_buff *)0;
16255#line 1839
16256 __cil_tmp18 = (unsigned long )__cil_tmp17;
16257#line 1839
16258 __cil_tmp19 = (unsigned long )ns;
16259#line 1839
16260 if (__cil_tmp19 == __cil_tmp18) {
16261 {
16262#line 1840
16263 __cil_tmp20 = ppp->dev;
16264#line 1840
16265 __cil_tmp21 = (struct net_device const *)__cil_tmp20;
16266#line 1840
16267 netdev_err(__cil_tmp21, "ppp_decompress_frame: no memory\n");
16268 }
16269#line 1842
16270 goto err;
16271 } else {
16272
16273 }
16274 }
16275 {
16276#line 1845
16277 __cil_tmp22 = ppp->rcomp;
16278#line 1845
16279 __cil_tmp23 = __cil_tmp22->decompress;
16280#line 1845
16281 __cil_tmp24 = ppp->rc_state;
16282#line 1845
16283 __cil_tmp25 = skb->data;
16284#line 1845
16285 __cil_tmp26 = __cil_tmp25 + 1152921504606846974UL;
16286#line 1845
16287 __cil_tmp27 = skb->len;
16288#line 1845
16289 __cil_tmp28 = __cil_tmp27 + 2U;
16290#line 1845
16291 __cil_tmp29 = (int )__cil_tmp28;
16292#line 1845
16293 __cil_tmp30 = ns->data;
16294#line 1845
16295 len = (*__cil_tmp23)(__cil_tmp24, __cil_tmp26, __cil_tmp29, __cil_tmp30, obuff_size);
16296 }
16297#line 1847
16298 if (len < 0) {
16299#line 1850
16300 if (len == -2) {
16301#line 1851
16302 __cil_tmp31 = ppp->rstate;
16303#line 1851
16304 ppp->rstate = __cil_tmp31 | 8388608U;
16305 } else {
16306
16307 }
16308 {
16309#line 1852
16310 kfree_skb(ns);
16311 }
16312#line 1853
16313 goto err;
16314 } else {
16315
16316 }
16317 {
16318#line 1856
16319 kfree_skb(skb);
16320#line 1857
16321 skb = ns;
16322#line 1858
16323 __cil_tmp32 = (unsigned int )len;
16324#line 1858
16325 skb_put(skb, __cil_tmp32);
16326#line 1859
16327 skb_pull(skb, 2U);
16328 }
16329 } else {
16330 {
16331#line 1864
16332 __cil_tmp33 = (void (*)(void * , unsigned char * , int ))0;
16333#line 1864
16334 __cil_tmp34 = (unsigned long )__cil_tmp33;
16335#line 1864
16336 __cil_tmp35 = ppp->rcomp;
16337#line 1864
16338 __cil_tmp36 = __cil_tmp35->incomp;
16339#line 1864
16340 __cil_tmp37 = (unsigned long )__cil_tmp36;
16341#line 1864
16342 if (__cil_tmp37 != __cil_tmp34) {
16343 {
16344#line 1865
16345 __cil_tmp38 = ppp->rcomp;
16346#line 1865
16347 __cil_tmp39 = __cil_tmp38->incomp;
16348#line 1865
16349 __cil_tmp40 = ppp->rc_state;
16350#line 1865
16351 __cil_tmp41 = skb->data;
16352#line 1865
16353 __cil_tmp42 = __cil_tmp41 + 1152921504606846974UL;
16354#line 1865
16355 __cil_tmp43 = skb->len;
16356#line 1865
16357 __cil_tmp44 = __cil_tmp43 + 2U;
16358#line 1865
16359 __cil_tmp45 = (int )__cil_tmp44;
16360#line 1865
16361 (*__cil_tmp39)(__cil_tmp40, __cil_tmp42, __cil_tmp45);
16362 }
16363 } else {
16364
16365 }
16366 }
16367 }
16368#line 1869
16369 return (skb);
16370 err:
16371 {
16372#line 1872
16373 __cil_tmp46 = ppp->rstate;
16374#line 1872
16375 ppp->rstate = __cil_tmp46 | 4194304U;
16376#line 1873
16377 ppp_receive_error(ppp);
16378 }
16379#line 1874
16380 return (skb);
16381}
16382}
16383#line 1884 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
16384static void ppp_receive_mp_frame(struct ppp *ppp , struct sk_buff *skb , struct channel *pch )
16385{ u32 mask ;
16386 u32 seq ;
16387 struct channel *ch ;
16388 int mphdrlen ;
16389 int tmp ;
16390 int tmp___0 ;
16391 unsigned char *tmp___1 ;
16392 struct list_head const *__mptr ;
16393 struct list_head const *__mptr___0 ;
16394 struct sk_buff *mskb ;
16395 struct sk_buff *tmp___2 ;
16396 __u32 tmp___3 ;
16397 int tmp___4 ;
16398 unsigned int __cil_tmp17 ;
16399 unsigned int __cil_tmp18 ;
16400 int __cil_tmp19 ;
16401 unsigned int __cil_tmp20 ;
16402 int __cil_tmp21 ;
16403 unsigned int __cil_tmp22 ;
16404 unsigned int __cil_tmp23 ;
16405 unsigned char *__cil_tmp24 ;
16406 unsigned char *__cil_tmp25 ;
16407 unsigned char __cil_tmp26 ;
16408 int __cil_tmp27 ;
16409 unsigned char *__cil_tmp28 ;
16410 unsigned char *__cil_tmp29 ;
16411 unsigned char __cil_tmp30 ;
16412 int __cil_tmp31 ;
16413 int __cil_tmp32 ;
16414 int __cil_tmp33 ;
16415 int __cil_tmp34 ;
16416 unsigned char *__cil_tmp35 ;
16417 unsigned char *__cil_tmp36 ;
16418 unsigned char __cil_tmp37 ;
16419 int __cil_tmp38 ;
16420 unsigned char *__cil_tmp39 ;
16421 unsigned char *__cil_tmp40 ;
16422 unsigned char __cil_tmp41 ;
16423 int __cil_tmp42 ;
16424 int __cil_tmp43 ;
16425 unsigned char *__cil_tmp44 ;
16426 unsigned char *__cil_tmp45 ;
16427 unsigned char __cil_tmp46 ;
16428 int __cil_tmp47 ;
16429 int __cil_tmp48 ;
16430 int __cil_tmp49 ;
16431 int __cil_tmp50 ;
16432 char (*__cil_tmp51)[48U] ;
16433 struct ppp_mp_skb_parm *__cil_tmp52 ;
16434 unsigned char *__cil_tmp53 ;
16435 unsigned char *__cil_tmp54 ;
16436 unsigned int __cil_tmp55 ;
16437 char (*__cil_tmp56)[48U] ;
16438 struct ppp_mp_skb_parm *__cil_tmp57 ;
16439 u8 __cil_tmp58 ;
16440 signed char __cil_tmp59 ;
16441 int __cil_tmp60 ;
16442 unsigned char *__cil_tmp61 ;
16443 unsigned char __cil_tmp62 ;
16444 int __cil_tmp63 ;
16445 u32 __cil_tmp64 ;
16446 u32 __cil_tmp65 ;
16447 unsigned int __cil_tmp66 ;
16448 u32 __cil_tmp67 ;
16449 int __cil_tmp68 ;
16450 u32 __cil_tmp69 ;
16451 u32 __cil_tmp70 ;
16452 int __cil_tmp71 ;
16453 u32 __cil_tmp72 ;
16454 u32 __cil_tmp73 ;
16455 int __cil_tmp74 ;
16456 u32 __cil_tmp75 ;
16457 u32 __cil_tmp76 ;
16458 int __cil_tmp77 ;
16459 u32 __cil_tmp78 ;
16460 char (*__cil_tmp79)[48U] ;
16461 struct ppp_mp_skb_parm *__cil_tmp80 ;
16462 u32 __cil_tmp81 ;
16463 u32 __cil_tmp82 ;
16464 int __cil_tmp83 ;
16465 struct net_device *__cil_tmp84 ;
16466 struct net_device *__cil_tmp85 ;
16467 unsigned long __cil_tmp86 ;
16468 struct list_head *__cil_tmp87 ;
16469 struct channel *__cil_tmp88 ;
16470 u32 __cil_tmp89 ;
16471 u32 __cil_tmp90 ;
16472 int __cil_tmp91 ;
16473 struct list_head *__cil_tmp92 ;
16474 struct channel *__cil_tmp93 ;
16475 struct list_head *__cil_tmp94 ;
16476 unsigned long __cil_tmp95 ;
16477 struct list_head *__cil_tmp96 ;
16478 unsigned long __cil_tmp97 ;
16479 u32 __cil_tmp98 ;
16480 u32 __cil_tmp99 ;
16481 int __cil_tmp100 ;
16482 struct sk_buff_head *__cil_tmp101 ;
16483 struct sk_buff_head const *__cil_tmp102 ;
16484 struct sk_buff_head *__cil_tmp103 ;
16485 char (*__cil_tmp104)[48U] ;
16486 struct ppp_mp_skb_parm *__cil_tmp105 ;
16487 u32 __cil_tmp106 ;
16488 u32 __cil_tmp107 ;
16489 u32 __cil_tmp108 ;
16490 int __cil_tmp109 ;
16491 char (*__cil_tmp110)[48U] ;
16492 struct ppp_mp_skb_parm *__cil_tmp111 ;
16493 struct net_device *__cil_tmp112 ;
16494 struct net_device *__cil_tmp113 ;
16495 unsigned long __cil_tmp114 ;
16496 struct sk_buff *__cil_tmp115 ;
16497 unsigned long __cil_tmp116 ;
16498 unsigned long __cil_tmp117 ;
16499
16500 {
16501 {
16502#line 1888
16503 __cil_tmp17 = ppp->flags;
16504#line 1888
16505 __cil_tmp18 = __cil_tmp17 & 2048U;
16506#line 1888
16507 if (__cil_tmp18 != 0U) {
16508#line 1888
16509 tmp = 4;
16510 } else {
16511#line 1888
16512 tmp = 6;
16513 }
16514 }
16515 {
16516#line 1888
16517 mphdrlen = tmp;
16518#line 1890
16519 __cil_tmp19 = mphdrlen + 1;
16520#line 1890
16521 __cil_tmp20 = (unsigned int )__cil_tmp19;
16522#line 1890
16523 tmp___0 = pskb_may_pull(skb, __cil_tmp20);
16524 }
16525#line 1890
16526 if (tmp___0 == 0) {
16527#line 1891
16528 goto err;
16529 } else {
16530 {
16531#line 1890
16532 __cil_tmp21 = ppp->mrru;
16533#line 1890
16534 if (__cil_tmp21 == 0) {
16535#line 1891
16536 goto err;
16537 } else {
16538
16539 }
16540 }
16541 }
16542 {
16543#line 1894
16544 __cil_tmp22 = ppp->flags;
16545#line 1894
16546 __cil_tmp23 = __cil_tmp22 & 2048U;
16547#line 1894
16548 if (__cil_tmp23 != 0U) {
16549#line 1895
16550 __cil_tmp24 = skb->data;
16551#line 1895
16552 __cil_tmp25 = __cil_tmp24 + 3UL;
16553#line 1895
16554 __cil_tmp26 = *__cil_tmp25;
16555#line 1895
16556 __cil_tmp27 = (int )__cil_tmp26;
16557#line 1895
16558 __cil_tmp28 = skb->data;
16559#line 1895
16560 __cil_tmp29 = __cil_tmp28 + 2UL;
16561#line 1895
16562 __cil_tmp30 = *__cil_tmp29;
16563#line 1895
16564 __cil_tmp31 = (int )__cil_tmp30;
16565#line 1895
16566 __cil_tmp32 = __cil_tmp31 & 15;
16567#line 1895
16568 __cil_tmp33 = __cil_tmp32 << 8;
16569#line 1895
16570 __cil_tmp34 = __cil_tmp33 | __cil_tmp27;
16571#line 1895
16572 seq = (u32 )__cil_tmp34;
16573#line 1896
16574 mask = 4095U;
16575 } else {
16576#line 1898
16577 __cil_tmp35 = skb->data;
16578#line 1898
16579 __cil_tmp36 = __cil_tmp35 + 5UL;
16580#line 1898
16581 __cil_tmp37 = *__cil_tmp36;
16582#line 1898
16583 __cil_tmp38 = (int )__cil_tmp37;
16584#line 1898
16585 __cil_tmp39 = skb->data;
16586#line 1898
16587 __cil_tmp40 = __cil_tmp39 + 4UL;
16588#line 1898
16589 __cil_tmp41 = *__cil_tmp40;
16590#line 1898
16591 __cil_tmp42 = (int )__cil_tmp41;
16592#line 1898
16593 __cil_tmp43 = __cil_tmp42 << 8;
16594#line 1898
16595 __cil_tmp44 = skb->data;
16596#line 1898
16597 __cil_tmp45 = __cil_tmp44 + 3UL;
16598#line 1898
16599 __cil_tmp46 = *__cil_tmp45;
16600#line 1898
16601 __cil_tmp47 = (int )__cil_tmp46;
16602#line 1898
16603 __cil_tmp48 = __cil_tmp47 << 16;
16604#line 1898
16605 __cil_tmp49 = __cil_tmp48 | __cil_tmp43;
16606#line 1898
16607 __cil_tmp50 = __cil_tmp49 | __cil_tmp38;
16608#line 1898
16609 seq = (u32 )__cil_tmp50;
16610#line 1899
16611 mask = 16777215U;
16612 }
16613 }
16614 {
16615#line 1901
16616 __cil_tmp51 = & skb->cb;
16617#line 1901
16618 __cil_tmp52 = (struct ppp_mp_skb_parm *)__cil_tmp51;
16619#line 1901
16620 __cil_tmp53 = skb->data;
16621#line 1901
16622 __cil_tmp54 = __cil_tmp53 + 2UL;
16623#line 1901
16624 __cil_tmp52->BEbits = *__cil_tmp54;
16625#line 1902
16626 __cil_tmp55 = (unsigned int )mphdrlen;
16627#line 1902
16628 skb_pull(skb, __cil_tmp55);
16629 }
16630 {
16631#line 1907
16632 __cil_tmp56 = & skb->cb;
16633#line 1907
16634 __cil_tmp57 = (struct ppp_mp_skb_parm *)__cil_tmp56;
16635#line 1907
16636 __cil_tmp58 = __cil_tmp57->BEbits;
16637#line 1907
16638 __cil_tmp59 = (signed char )__cil_tmp58;
16639#line 1907
16640 __cil_tmp60 = (int )__cil_tmp59;
16641#line 1907
16642 if (__cil_tmp60 < 0) {
16643 {
16644#line 1907
16645 __cil_tmp61 = skb->data;
16646#line 1907
16647 __cil_tmp62 = *__cil_tmp61;
16648#line 1907
16649 __cil_tmp63 = (int )__cil_tmp62;
16650#line 1907
16651 if (__cil_tmp63 & 1) {
16652 {
16653#line 1908
16654 tmp___1 = skb_push(skb, 1U);
16655#line 1908
16656 *tmp___1 = (unsigned char)0;
16657 }
16658 } else {
16659
16660 }
16661 }
16662 } else {
16663
16664 }
16665 }
16666#line 1914
16667 __cil_tmp64 = ~ mask;
16668#line 1914
16669 __cil_tmp65 = ppp->minseq;
16670#line 1914
16671 __cil_tmp66 = __cil_tmp65 & __cil_tmp64;
16672#line 1914
16673 seq = __cil_tmp66 | seq;
16674 {
16675#line 1915
16676 __cil_tmp67 = mask >> 1;
16677#line 1915
16678 __cil_tmp68 = (int )__cil_tmp67;
16679#line 1915
16680 __cil_tmp69 = ppp->minseq;
16681#line 1915
16682 __cil_tmp70 = __cil_tmp69 - seq;
16683#line 1915
16684 __cil_tmp71 = (int )__cil_tmp70;
16685#line 1915
16686 if (__cil_tmp71 > __cil_tmp68) {
16687#line 1916
16688 __cil_tmp72 = mask + seq;
16689#line 1916
16690 seq = __cil_tmp72 + 1U;
16691 } else {
16692 {
16693#line 1917
16694 __cil_tmp73 = mask >> 1;
16695#line 1917
16696 __cil_tmp74 = (int )__cil_tmp73;
16697#line 1917
16698 __cil_tmp75 = ppp->minseq;
16699#line 1917
16700 __cil_tmp76 = seq - __cil_tmp75;
16701#line 1917
16702 __cil_tmp77 = (int )__cil_tmp76;
16703#line 1917
16704 if (__cil_tmp77 > __cil_tmp74) {
16705#line 1918
16706 __cil_tmp78 = seq - mask;
16707#line 1918
16708 seq = __cil_tmp78 - 1U;
16709 } else {
16710
16711 }
16712 }
16713 }
16714 }
16715#line 1919
16716 __cil_tmp79 = & skb->cb;
16717#line 1919
16718 __cil_tmp80 = (struct ppp_mp_skb_parm *)__cil_tmp79;
16719#line 1919
16720 __cil_tmp80->sequence = seq;
16721#line 1920
16722 pch->lastseq = seq;
16723 {
16724#line 1926
16725 __cil_tmp81 = ppp->nextseq;
16726#line 1926
16727 __cil_tmp82 = seq - __cil_tmp81;
16728#line 1926
16729 __cil_tmp83 = (int )__cil_tmp82;
16730#line 1926
16731 if (__cil_tmp83 < 0) {
16732 {
16733#line 1927
16734 kfree_skb(skb);
16735#line 1928
16736 __cil_tmp84 = ppp->dev;
16737#line 1928
16738 __cil_tmp85 = ppp->dev;
16739#line 1928
16740 __cil_tmp86 = __cil_tmp85->stats.rx_dropped;
16741#line 1928
16742 __cil_tmp84->stats.rx_dropped = __cil_tmp86 + 1UL;
16743#line 1929
16744 ppp_receive_error(ppp);
16745 }
16746#line 1930
16747 return;
16748 } else {
16749
16750 }
16751 }
16752#line 1941
16753 __cil_tmp87 = ppp->channels.next;
16754#line 1941
16755 __mptr = (struct list_head const *)__cil_tmp87;
16756#line 1941
16757 __cil_tmp88 = (struct channel *)__mptr;
16758#line 1941
16759 ch = __cil_tmp88 + 1152921504606846416UL;
16760#line 1941
16761 goto ldv_40215;
16762 ldv_40214: ;
16763 {
16764#line 1942
16765 __cil_tmp89 = ch->lastseq;
16766#line 1942
16767 __cil_tmp90 = __cil_tmp89 - seq;
16768#line 1942
16769 __cil_tmp91 = (int )__cil_tmp90;
16770#line 1942
16771 if (__cil_tmp91 < 0) {
16772#line 1943
16773 seq = ch->lastseq;
16774 } else {
16775
16776 }
16777 }
16778#line 1941
16779 __cil_tmp92 = ch->clist.next;
16780#line 1941
16781 __mptr___0 = (struct list_head const *)__cil_tmp92;
16782#line 1941
16783 __cil_tmp93 = (struct channel *)__mptr___0;
16784#line 1941
16785 ch = __cil_tmp93 + 1152921504606846416UL;
16786 ldv_40215: ;
16787 {
16788#line 1941
16789 __cil_tmp94 = & ppp->channels;
16790#line 1941
16791 __cil_tmp95 = (unsigned long )__cil_tmp94;
16792#line 1941
16793 __cil_tmp96 = & ch->clist;
16794#line 1941
16795 __cil_tmp97 = (unsigned long )__cil_tmp96;
16796#line 1941
16797 if (__cil_tmp97 != __cil_tmp95) {
16798#line 1942
16799 goto ldv_40214;
16800 } else {
16801#line 1944
16802 goto ldv_40216;
16803 }
16804 }
16805 ldv_40216: ;
16806 {
16807#line 1945
16808 __cil_tmp98 = ppp->minseq;
16809#line 1945
16810 __cil_tmp99 = __cil_tmp98 - seq;
16811#line 1945
16812 __cil_tmp100 = (int )__cil_tmp99;
16813#line 1945
16814 if (__cil_tmp100 < 0) {
16815#line 1946
16816 ppp->minseq = seq;
16817 } else {
16818
16819 }
16820 }
16821 {
16822#line 1949
16823 ppp_mp_insert(ppp, skb);
16824#line 1953
16825 __cil_tmp101 = & ppp->mrq;
16826#line 1953
16827 __cil_tmp102 = (struct sk_buff_head const *)__cil_tmp101;
16828#line 1953
16829 tmp___3 = skb_queue_len(__cil_tmp102);
16830 }
16831#line 1953
16832 if (tmp___3 > 127U) {
16833 {
16834#line 1954
16835 __cil_tmp103 = & ppp->mrq;
16836#line 1954
16837 tmp___2 = skb_peek(__cil_tmp103);
16838#line 1954
16839 mskb = tmp___2;
16840 }
16841 {
16842#line 1955
16843 __cil_tmp104 = & mskb->cb;
16844#line 1955
16845 __cil_tmp105 = (struct ppp_mp_skb_parm *)__cil_tmp104;
16846#line 1955
16847 __cil_tmp106 = __cil_tmp105->sequence;
16848#line 1955
16849 __cil_tmp107 = ppp->minseq;
16850#line 1955
16851 __cil_tmp108 = __cil_tmp107 - __cil_tmp106;
16852#line 1955
16853 __cil_tmp109 = (int )__cil_tmp108;
16854#line 1955
16855 if (__cil_tmp109 < 0) {
16856#line 1956
16857 __cil_tmp110 = & mskb->cb;
16858#line 1956
16859 __cil_tmp111 = (struct ppp_mp_skb_parm *)__cil_tmp110;
16860#line 1956
16861 ppp->minseq = __cil_tmp111->sequence;
16862 } else {
16863
16864 }
16865 }
16866 } else {
16867
16868 }
16869#line 1960
16870 goto ldv_40219;
16871 ldv_40218:
16872 {
16873#line 1961
16874 tmp___4 = pskb_may_pull(skb, 2U);
16875 }
16876#line 1961
16877 if (tmp___4 != 0) {
16878 {
16879#line 1962
16880 ppp_receive_nonmp_frame(ppp, skb);
16881 }
16882 } else {
16883 {
16884#line 1964
16885 __cil_tmp112 = ppp->dev;
16886#line 1964
16887 __cil_tmp113 = ppp->dev;
16888#line 1964
16889 __cil_tmp114 = __cil_tmp113->stats.rx_length_errors;
16890#line 1964
16891 __cil_tmp112->stats.rx_length_errors = __cil_tmp114 + 1UL;
16892#line 1965
16893 kfree_skb(skb);
16894#line 1966
16895 ppp_receive_error(ppp);
16896 }
16897 }
16898 ldv_40219:
16899 {
16900#line 1960
16901 skb = ppp_mp_reconstruct(ppp);
16902 }
16903 {
16904#line 1960
16905 __cil_tmp115 = (struct sk_buff *)0;
16906#line 1960
16907 __cil_tmp116 = (unsigned long )__cil_tmp115;
16908#line 1960
16909 __cil_tmp117 = (unsigned long )skb;
16910#line 1960
16911 if (__cil_tmp117 != __cil_tmp116) {
16912#line 1961
16913 goto ldv_40218;
16914 } else {
16915#line 1963
16916 goto ldv_40220;
16917 }
16918 }
16919 ldv_40220: ;
16920#line 1970
16921 return;
16922 err:
16923 {
16924#line 1973
16925 kfree_skb(skb);
16926#line 1974
16927 ppp_receive_error(ppp);
16928 }
16929#line 1975
16930 return;
16931}
16932}
16933#line 1982 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
16934static void ppp_mp_insert(struct ppp *ppp , struct sk_buff *skb )
16935{ struct sk_buff *p ;
16936 struct sk_buff_head *list ;
16937 u32 seq ;
16938 char (*__cil_tmp6)[48U] ;
16939 struct ppp_mp_skb_parm *__cil_tmp7 ;
16940 char (*__cil_tmp8)[48U] ;
16941 struct ppp_mp_skb_parm *__cil_tmp9 ;
16942 u32 __cil_tmp10 ;
16943 u32 __cil_tmp11 ;
16944 int __cil_tmp12 ;
16945 struct sk_buff *__cil_tmp13 ;
16946 unsigned long __cil_tmp14 ;
16947 unsigned long __cil_tmp15 ;
16948
16949 {
16950#line 1985
16951 list = & ppp->mrq;
16952#line 1986
16953 __cil_tmp6 = & skb->cb;
16954#line 1986
16955 __cil_tmp7 = (struct ppp_mp_skb_parm *)__cil_tmp6;
16956#line 1986
16957 seq = __cil_tmp7->sequence;
16958#line 1990
16959 p = list->next;
16960#line 1990
16961 goto ldv_40230;
16962 ldv_40229: ;
16963 {
16964#line 1991
16965 __cil_tmp8 = & p->cb;
16966#line 1991
16967 __cil_tmp9 = (struct ppp_mp_skb_parm *)__cil_tmp8;
16968#line 1991
16969 __cil_tmp10 = __cil_tmp9->sequence;
16970#line 1991
16971 __cil_tmp11 = seq - __cil_tmp10;
16972#line 1991
16973 __cil_tmp12 = (int )__cil_tmp11;
16974#line 1991
16975 if (__cil_tmp12 < 0) {
16976#line 1992
16977 goto ldv_40228;
16978 } else {
16979
16980 }
16981 }
16982#line 1990
16983 p = p->next;
16984 ldv_40230: ;
16985 {
16986#line 1990
16987 __cil_tmp13 = (struct sk_buff *)list;
16988#line 1990
16989 __cil_tmp14 = (unsigned long )__cil_tmp13;
16990#line 1990
16991 __cil_tmp15 = (unsigned long )p;
16992#line 1990
16993 if (__cil_tmp15 != __cil_tmp14) {
16994#line 1991
16995 goto ldv_40229;
16996 } else {
16997#line 1993
16998 goto ldv_40228;
16999 }
17000 }
17001 ldv_40228:
17002 {
17003#line 1994
17004 __skb_queue_before(list, p, skb);
17005 }
17006#line 1995
17007 return;
17008}
17009}
17010#line 2004 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
17011static struct sk_buff *ppp_mp_reconstruct(struct ppp *ppp )
17012{ u32 seq ;
17013 u32 minseq ;
17014 struct sk_buff_head *list ;
17015 struct sk_buff *p ;
17016 struct sk_buff *tmp ;
17017 struct sk_buff *head ;
17018 struct sk_buff *tail ;
17019 struct sk_buff *skb ;
17020 int lost ;
17021 int len ;
17022 struct sk_buff *tmp2 ;
17023 struct sk_buff **fragpp ;
17024 unsigned char *tmp___0 ;
17025 int __cil_tmp15 ;
17026 char (*__cil_tmp16)[48U] ;
17027 struct ppp_mp_skb_parm *__cil_tmp17 ;
17028 u32 __cil_tmp18 ;
17029 u32 __cil_tmp19 ;
17030 int __cil_tmp20 ;
17031 struct net_device *__cil_tmp21 ;
17032 struct net_device const *__cil_tmp22 ;
17033 char (*__cil_tmp23)[48U] ;
17034 struct ppp_mp_skb_parm *__cil_tmp24 ;
17035 u32 __cil_tmp25 ;
17036 char (*__cil_tmp26)[48U] ;
17037 struct ppp_mp_skb_parm *__cil_tmp27 ;
17038 u32 __cil_tmp28 ;
17039 u32 __cil_tmp29 ;
17040 int __cil_tmp30 ;
17041 char (*__cil_tmp31)[48U] ;
17042 struct ppp_mp_skb_parm *__cil_tmp32 ;
17043 u32 __cil_tmp33 ;
17044 u32 __cil_tmp34 ;
17045 int __cil_tmp35 ;
17046 char (*__cil_tmp36)[48U] ;
17047 struct ppp_mp_skb_parm *__cil_tmp37 ;
17048 char (*__cil_tmp38)[48U] ;
17049 struct ppp_mp_skb_parm *__cil_tmp39 ;
17050 u8 __cil_tmp40 ;
17051 signed char __cil_tmp41 ;
17052 int __cil_tmp42 ;
17053 unsigned int __cil_tmp43 ;
17054 unsigned int __cil_tmp44 ;
17055 unsigned int __cil_tmp45 ;
17056 char (*__cil_tmp46)[48U] ;
17057 struct ppp_mp_skb_parm *__cil_tmp47 ;
17058 u8 __cil_tmp48 ;
17059 int __cil_tmp49 ;
17060 int __cil_tmp50 ;
17061 char (*__cil_tmp51)[48U] ;
17062 struct ppp_mp_skb_parm *__cil_tmp52 ;
17063 u8 __cil_tmp53 ;
17064 signed char __cil_tmp54 ;
17065 int __cil_tmp55 ;
17066 int __cil_tmp56 ;
17067 int __cil_tmp57 ;
17068 struct net_device *__cil_tmp58 ;
17069 struct net_device *__cil_tmp59 ;
17070 unsigned long __cil_tmp60 ;
17071 struct net_device *__cil_tmp61 ;
17072 struct net_device const *__cil_tmp62 ;
17073 char (*__cil_tmp63)[48U] ;
17074 struct ppp_mp_skb_parm *__cil_tmp64 ;
17075 u8 __cil_tmp65 ;
17076 int __cil_tmp66 ;
17077 int __cil_tmp67 ;
17078 struct sk_buff *__cil_tmp68 ;
17079 unsigned long __cil_tmp69 ;
17080 unsigned long __cil_tmp70 ;
17081 struct sk_buff *__cil_tmp71 ;
17082 unsigned long __cil_tmp72 ;
17083 unsigned long __cil_tmp73 ;
17084 struct sk_buff *__cil_tmp74 ;
17085 unsigned long __cil_tmp75 ;
17086 unsigned long __cil_tmp76 ;
17087 struct sk_buff *__cil_tmp77 ;
17088 unsigned long __cil_tmp78 ;
17089 unsigned long __cil_tmp79 ;
17090 u32 __cil_tmp80 ;
17091 char (*__cil_tmp81)[48U] ;
17092 struct ppp_mp_skb_parm *__cil_tmp82 ;
17093 u32 __cil_tmp83 ;
17094 int __cil_tmp84 ;
17095 struct net_device *__cil_tmp85 ;
17096 struct net_device const *__cil_tmp86 ;
17097 u32 __cil_tmp87 ;
17098 char (*__cil_tmp88)[48U] ;
17099 struct ppp_mp_skb_parm *__cil_tmp89 ;
17100 u32 __cil_tmp90 ;
17101 u32 __cil_tmp91 ;
17102 struct net_device *__cil_tmp92 ;
17103 struct net_device *__cil_tmp93 ;
17104 unsigned long __cil_tmp94 ;
17105 unsigned long __cil_tmp95 ;
17106 unsigned long __cil_tmp96 ;
17107 struct sk_buff const *__cil_tmp97 ;
17108 struct skb_shared_info *__cil_tmp98 ;
17109 struct sk_buff_head const *__cil_tmp99 ;
17110 struct sk_buff const *__cil_tmp100 ;
17111 unsigned int __cil_tmp101 ;
17112 unsigned int __cil_tmp102 ;
17113 unsigned int __cil_tmp103 ;
17114 unsigned int __cil_tmp104 ;
17115 unsigned int __cil_tmp105 ;
17116 unsigned int __cil_tmp106 ;
17117 unsigned long __cil_tmp107 ;
17118 unsigned long __cil_tmp108 ;
17119 struct sk_buff *__cil_tmp109 ;
17120 unsigned long __cil_tmp110 ;
17121 unsigned long __cil_tmp111 ;
17122 char (*__cil_tmp112)[48U] ;
17123 struct ppp_mp_skb_parm *__cil_tmp113 ;
17124 u32 __cil_tmp114 ;
17125
17126 {
17127#line 2006
17128 seq = ppp->nextseq;
17129#line 2007
17130 minseq = ppp->minseq;
17131#line 2008
17132 list = & ppp->mrq;
17133#line 2011
17134 skb = (struct sk_buff *)0;
17135#line 2012
17136 lost = 0;
17137#line 2012
17138 len = 0;
17139 {
17140#line 2014
17141 __cil_tmp15 = ppp->mrru;
17142#line 2014
17143 if (__cil_tmp15 == 0) {
17144#line 2015
17145 return ((struct sk_buff *)0);
17146 } else {
17147
17148 }
17149 }
17150#line 2016
17151 head = list->next;
17152#line 2017
17153 tail = (struct sk_buff *)0;
17154#line 2018
17155 p = list->next;
17156#line 2018
17157 tmp = p->next;
17158#line 2018
17159 goto ldv_40252;
17160 ldv_40251: ;
17161 again: ;
17162 {
17163#line 2020
17164 __cil_tmp16 = & p->cb;
17165#line 2020
17166 __cil_tmp17 = (struct ppp_mp_skb_parm *)__cil_tmp16;
17167#line 2020
17168 __cil_tmp18 = __cil_tmp17->sequence;
17169#line 2020
17170 __cil_tmp19 = __cil_tmp18 - seq;
17171#line 2020
17172 __cil_tmp20 = (int )__cil_tmp19;
17173#line 2020
17174 if (__cil_tmp20 < 0) {
17175 {
17176#line 2022
17177 __cil_tmp21 = ppp->dev;
17178#line 2022
17179 __cil_tmp22 = (struct net_device const *)__cil_tmp21;
17180#line 2022
17181 __cil_tmp23 = & p->cb;
17182#line 2022
17183 __cil_tmp24 = (struct ppp_mp_skb_parm *)__cil_tmp23;
17184#line 2022
17185 __cil_tmp25 = __cil_tmp24->sequence;
17186#line 2022
17187 netdev_err(__cil_tmp22, "ppp_mp_reconstruct bad seq %u < %u\n", __cil_tmp25, seq);
17188#line 2025
17189 __skb_unlink(p, list);
17190#line 2026
17191 kfree_skb(p);
17192 }
17193#line 2027
17194 goto ldv_40245;
17195 } else {
17196
17197 }
17198 }
17199 {
17200#line 2029
17201 __cil_tmp26 = & p->cb;
17202#line 2029
17203 __cil_tmp27 = (struct ppp_mp_skb_parm *)__cil_tmp26;
17204#line 2029
17205 __cil_tmp28 = __cil_tmp27->sequence;
17206#line 2029
17207 if (__cil_tmp28 != seq) {
17208 {
17209#line 2032
17210 __cil_tmp29 = seq - minseq;
17211#line 2032
17212 __cil_tmp30 = (int )__cil_tmp29;
17213#line 2032
17214 if (__cil_tmp30 > 0) {
17215#line 2033
17216 goto ldv_40246;
17217 } else {
17218
17219 }
17220 }
17221#line 2035
17222 lost = 1;
17223 {
17224#line 2036
17225 __cil_tmp31 = & p->cb;
17226#line 2036
17227 __cil_tmp32 = (struct ppp_mp_skb_parm *)__cil_tmp31;
17228#line 2036
17229 __cil_tmp33 = __cil_tmp32->sequence;
17230#line 2036
17231 __cil_tmp34 = minseq - __cil_tmp33;
17232#line 2036
17233 __cil_tmp35 = (int )__cil_tmp34;
17234#line 2036
17235 if (__cil_tmp35 < 0) {
17236#line 2036
17237 seq = minseq + 1U;
17238 } else {
17239#line 2036
17240 __cil_tmp36 = & p->cb;
17241#line 2036
17242 __cil_tmp37 = (struct ppp_mp_skb_parm *)__cil_tmp36;
17243#line 2036
17244 seq = __cil_tmp37->sequence;
17245 }
17246 }
17247#line 2038
17248 goto again;
17249 } else {
17250
17251 }
17252 }
17253 {
17254#line 2050
17255 __cil_tmp38 = & p->cb;
17256#line 2050
17257 __cil_tmp39 = (struct ppp_mp_skb_parm *)__cil_tmp38;
17258#line 2050
17259 __cil_tmp40 = __cil_tmp39->BEbits;
17260#line 2050
17261 __cil_tmp41 = (signed char )__cil_tmp40;
17262#line 2050
17263 __cil_tmp42 = (int )__cil_tmp41;
17264#line 2050
17265 if (__cil_tmp42 < 0) {
17266#line 2051
17267 head = p;
17268#line 2052
17269 lost = 0;
17270#line 2053
17271 len = 0;
17272 } else {
17273
17274 }
17275 }
17276#line 2056
17277 __cil_tmp43 = (unsigned int )len;
17278#line 2056
17279 __cil_tmp44 = p->len;
17280#line 2056
17281 __cil_tmp45 = __cil_tmp44 + __cil_tmp43;
17282#line 2056
17283 len = (int )__cil_tmp45;
17284#line 2059
17285 if (lost == 0) {
17286 {
17287#line 2059
17288 __cil_tmp46 = & p->cb;
17289#line 2059
17290 __cil_tmp47 = (struct ppp_mp_skb_parm *)__cil_tmp46;
17291#line 2059
17292 __cil_tmp48 = __cil_tmp47->BEbits;
17293#line 2059
17294 __cil_tmp49 = (int )__cil_tmp48;
17295#line 2059
17296 __cil_tmp50 = __cil_tmp49 & 64;
17297#line 2059
17298 if (__cil_tmp50 != 0) {
17299 {
17300#line 2059
17301 __cil_tmp51 = & head->cb;
17302#line 2059
17303 __cil_tmp52 = (struct ppp_mp_skb_parm *)__cil_tmp51;
17304#line 2059
17305 __cil_tmp53 = __cil_tmp52->BEbits;
17306#line 2059
17307 __cil_tmp54 = (signed char )__cil_tmp53;
17308#line 2059
17309 __cil_tmp55 = (int )__cil_tmp54;
17310#line 2059
17311 if (__cil_tmp55 < 0) {
17312 {
17313#line 2061
17314 __cil_tmp56 = ppp->mrru;
17315#line 2061
17316 __cil_tmp57 = __cil_tmp56 + 2;
17317#line 2061
17318 if (__cil_tmp57 < len) {
17319 {
17320#line 2062
17321 __cil_tmp58 = ppp->dev;
17322#line 2062
17323 __cil_tmp59 = ppp->dev;
17324#line 2062
17325 __cil_tmp60 = __cil_tmp59->stats.rx_length_errors;
17326#line 2062
17327 __cil_tmp58->stats.rx_length_errors = __cil_tmp60 + 1UL;
17328#line 2063
17329 __cil_tmp61 = ppp->dev;
17330#line 2063
17331 __cil_tmp62 = (struct net_device const *)__cil_tmp61;
17332#line 2063
17333 netdev_printk("<7>", __cil_tmp62, "PPP: reconstructed packet is too long (%d)\n",
17334 len);
17335 }
17336 } else {
17337#line 2067
17338 tail = p;
17339#line 2068
17340 goto ldv_40246;
17341 }
17342 }
17343#line 2070
17344 ppp->nextseq = seq + 1U;
17345 } else {
17346
17347 }
17348 }
17349 } else {
17350
17351 }
17352 }
17353 } else {
17354
17355 }
17356 {
17357#line 2078
17358 __cil_tmp63 = & p->cb;
17359#line 2078
17360 __cil_tmp64 = (struct ppp_mp_skb_parm *)__cil_tmp63;
17361#line 2078
17362 __cil_tmp65 = __cil_tmp64->BEbits;
17363#line 2078
17364 __cil_tmp66 = (int )__cil_tmp65;
17365#line 2078
17366 __cil_tmp67 = __cil_tmp66 & 64;
17367#line 2078
17368 if (__cil_tmp67 != 0) {
17369#line 2081
17370 tmp2 = p->prev;
17371#line 2081
17372 goto ldv_40249;
17373 ldv_40248:
17374 {
17375#line 2082
17376 __skb_unlink(p, list);
17377#line 2083
17378 kfree_skb(p);
17379#line 2081
17380 p = tmp2;
17381#line 2081
17382 tmp2 = p->prev;
17383 }
17384 ldv_40249: ;
17385 {
17386#line 2081
17387 __cil_tmp68 = (struct sk_buff *)list;
17388#line 2081
17389 __cil_tmp69 = (unsigned long )__cil_tmp68;
17390#line 2081
17391 __cil_tmp70 = (unsigned long )p;
17392#line 2081
17393 if (__cil_tmp70 != __cil_tmp69) {
17394#line 2082
17395 goto ldv_40248;
17396 } else {
17397#line 2084
17398 goto ldv_40250;
17399 }
17400 }
17401 ldv_40250:
17402 {
17403#line 2085
17404 head = skb_peek(list);
17405 }
17406 {
17407#line 2086
17408 __cil_tmp71 = (struct sk_buff *)0;
17409#line 2086
17410 __cil_tmp72 = (unsigned long )__cil_tmp71;
17411#line 2086
17412 __cil_tmp73 = (unsigned long )head;
17413#line 2086
17414 if (__cil_tmp73 == __cil_tmp72) {
17415#line 2087
17416 goto ldv_40246;
17417 } else {
17418
17419 }
17420 }
17421 } else {
17422
17423 }
17424 }
17425#line 2089
17426 seq = seq + 1U;
17427 ldv_40245:
17428#line 2018
17429 p = tmp;
17430#line 2018
17431 tmp = p->next;
17432 ldv_40252: ;
17433 {
17434#line 2018
17435 __cil_tmp74 = (struct sk_buff *)list;
17436#line 2018
17437 __cil_tmp75 = (unsigned long )__cil_tmp74;
17438#line 2018
17439 __cil_tmp76 = (unsigned long )p;
17440#line 2018
17441 if (__cil_tmp76 != __cil_tmp75) {
17442#line 2019
17443 goto ldv_40251;
17444 } else {
17445#line 2021
17446 goto ldv_40246;
17447 }
17448 }
17449 ldv_40246: ;
17450 {
17451#line 2093
17452 __cil_tmp77 = (struct sk_buff *)0;
17453#line 2093
17454 __cil_tmp78 = (unsigned long )__cil_tmp77;
17455#line 2093
17456 __cil_tmp79 = (unsigned long )tail;
17457#line 2093
17458 if (__cil_tmp79 != __cil_tmp78) {
17459 {
17460#line 2096
17461 __cil_tmp80 = ppp->nextseq;
17462#line 2096
17463 __cil_tmp81 = & head->cb;
17464#line 2096
17465 __cil_tmp82 = (struct ppp_mp_skb_parm *)__cil_tmp81;
17466#line 2096
17467 __cil_tmp83 = __cil_tmp82->sequence;
17468#line 2096
17469 if (__cil_tmp83 != __cil_tmp80) {
17470 {
17471#line 2097
17472 __cil_tmp84 = ppp->debug;
17473#line 2097
17474 if (__cil_tmp84 & 1) {
17475 {
17476#line 2098
17477 __cil_tmp85 = ppp->dev;
17478#line 2098
17479 __cil_tmp86 = (struct net_device const *)__cil_tmp85;
17480#line 2098
17481 __cil_tmp87 = ppp->nextseq;
17482#line 2098
17483 __cil_tmp88 = & head->cb;
17484#line 2098
17485 __cil_tmp89 = (struct ppp_mp_skb_parm *)__cil_tmp88;
17486#line 2098
17487 __cil_tmp90 = __cil_tmp89->sequence;
17488#line 2098
17489 __cil_tmp91 = __cil_tmp90 - 1U;
17490#line 2098
17491 netdev_printk("<7>", __cil_tmp86, " missed pkts %u..%u\n", __cil_tmp87, __cil_tmp91);
17492 }
17493 } else {
17494
17495 }
17496 }
17497 {
17498#line 2102
17499 __cil_tmp92 = ppp->dev;
17500#line 2102
17501 __cil_tmp93 = ppp->dev;
17502#line 2102
17503 __cil_tmp94 = __cil_tmp93->stats.rx_dropped;
17504#line 2102
17505 __cil_tmp92->stats.rx_dropped = __cil_tmp94 + 1UL;
17506#line 2103
17507 ppp_receive_error(ppp);
17508 }
17509 } else {
17510
17511 }
17512 }
17513#line 2106
17514 skb = head;
17515 {
17516#line 2107
17517 __cil_tmp95 = (unsigned long )tail;
17518#line 2107
17519 __cil_tmp96 = (unsigned long )head;
17520#line 2107
17521 if (__cil_tmp96 != __cil_tmp95) {
17522 {
17523#line 2108
17524 __cil_tmp97 = (struct sk_buff const *)skb;
17525#line 2108
17526 tmp___0 = skb_end_pointer(__cil_tmp97);
17527#line 2108
17528 __cil_tmp98 = (struct skb_shared_info *)tmp___0;
17529#line 2108
17530 fragpp = & __cil_tmp98->frag_list;
17531#line 2109
17532 __cil_tmp99 = (struct sk_buff_head const *)list;
17533#line 2109
17534 __cil_tmp100 = (struct sk_buff const *)head;
17535#line 2109
17536 p = skb_queue_next(__cil_tmp99, __cil_tmp100);
17537#line 2110
17538 __skb_unlink(skb, list);
17539#line 2111
17540 tmp = p->next;
17541 }
17542#line 2111
17543 goto ldv_40256;
17544 ldv_40255:
17545 {
17546#line 2112
17547 __skb_unlink(p, list);
17548#line 2113
17549 *fragpp = p;
17550#line 2114
17551 p->next = (struct sk_buff *)0;
17552#line 2115
17553 fragpp = & p->next;
17554#line 2117
17555 __cil_tmp101 = p->len;
17556#line 2117
17557 __cil_tmp102 = skb->len;
17558#line 2117
17559 skb->len = __cil_tmp102 + __cil_tmp101;
17560#line 2118
17561 __cil_tmp103 = p->len;
17562#line 2118
17563 __cil_tmp104 = skb->data_len;
17564#line 2118
17565 skb->data_len = __cil_tmp104 + __cil_tmp103;
17566#line 2119
17567 __cil_tmp105 = p->len;
17568#line 2119
17569 __cil_tmp106 = skb->truesize;
17570#line 2119
17571 skb->truesize = __cil_tmp106 + __cil_tmp105;
17572 }
17573 {
17574#line 2121
17575 __cil_tmp107 = (unsigned long )tail;
17576#line 2121
17577 __cil_tmp108 = (unsigned long )p;
17578#line 2121
17579 if (__cil_tmp108 == __cil_tmp107) {
17580#line 2122
17581 goto ldv_40254;
17582 } else {
17583
17584 }
17585 }
17586#line 2111
17587 p = tmp;
17588#line 2111
17589 tmp = p->next;
17590 ldv_40256: ;
17591 {
17592#line 2111
17593 __cil_tmp109 = (struct sk_buff *)list;
17594#line 2111
17595 __cil_tmp110 = (unsigned long )__cil_tmp109;
17596#line 2111
17597 __cil_tmp111 = (unsigned long )p;
17598#line 2111
17599 if (__cil_tmp111 != __cil_tmp110) {
17600#line 2112
17601 goto ldv_40255;
17602 } else {
17603#line 2114
17604 goto ldv_40254;
17605 }
17606 }
17607 ldv_40254: ;
17608 } else {
17609 {
17610#line 2125
17611 __skb_unlink(skb, list);
17612 }
17613 }
17614 }
17615#line 2128
17616 __cil_tmp112 = & tail->cb;
17617#line 2128
17618 __cil_tmp113 = (struct ppp_mp_skb_parm *)__cil_tmp112;
17619#line 2128
17620 __cil_tmp114 = __cil_tmp113->sequence;
17621#line 2128
17622 ppp->nextseq = __cil_tmp114 + 1U;
17623 } else {
17624
17625 }
17626 }
17627#line 2131
17628 return (skb);
17629}
17630}
17631#line 2140 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
17632int ppp_register_channel(struct ppp_channel *chan )
17633{ struct task_struct *tmp ;
17634 int tmp___0 ;
17635 struct nsproxy *__cil_tmp4 ;
17636 struct net *__cil_tmp5 ;
17637
17638 {
17639 {
17640#line 2142
17641 tmp = get_current();
17642#line 2142
17643 __cil_tmp4 = tmp->nsproxy;
17644#line 2142
17645 __cil_tmp5 = __cil_tmp4->net_ns;
17646#line 2142
17647 tmp___0 = ppp_register_net_channel(__cil_tmp5, chan);
17648 }
17649#line 2142
17650 return (tmp___0);
17651}
17652}
17653#line 2146 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
17654int ppp_register_net_channel(struct net *net , struct ppp_channel *chan )
17655{ struct channel *pch ;
17656 struct ppp_net *pn ;
17657 void *tmp ;
17658 struct lock_class_key __key ;
17659 struct lock_class_key __key___0 ;
17660 struct lock_class_key __key___1 ;
17661 struct channel *__cil_tmp9 ;
17662 unsigned long __cil_tmp10 ;
17663 unsigned long __cil_tmp11 ;
17664 struct ppp_file *__cil_tmp12 ;
17665 struct rw_semaphore *__cil_tmp13 ;
17666 spinlock_t *__cil_tmp14 ;
17667 struct raw_spinlock *__cil_tmp15 ;
17668 rwlock_t *__cil_tmp16 ;
17669 spinlock_t *__cil_tmp17 ;
17670 int __cil_tmp18 ;
17671 struct list_head *__cil_tmp19 ;
17672 struct list_head *__cil_tmp20 ;
17673 spinlock_t *__cil_tmp21 ;
17674
17675 {
17676 {
17677#line 2151
17678 tmp = kzalloc(664UL, 208U);
17679#line 2151
17680 pch = (struct channel *)tmp;
17681 }
17682 {
17683#line 2152
17684 __cil_tmp9 = (struct channel *)0;
17685#line 2152
17686 __cil_tmp10 = (unsigned long )__cil_tmp9;
17687#line 2152
17688 __cil_tmp11 = (unsigned long )pch;
17689#line 2152
17690 if (__cil_tmp11 == __cil_tmp10) {
17691#line 2153
17692 return (-12);
17693 } else {
17694
17695 }
17696 }
17697 {
17698#line 2155
17699 pn = ppp_pernet(net);
17700#line 2157
17701 pch->ppp = (struct ppp *)0;
17702#line 2158
17703 pch->chan = chan;
17704#line 2159
17705 pch->chan_net = net;
17706#line 2160
17707 chan->ppp = (void *)pch;
17708#line 2161
17709 __cil_tmp12 = & pch->file;
17710#line 2161
17711 init_ppp_file(__cil_tmp12, 2);
17712#line 2162
17713 pch->file.hdrlen = chan->hdrlen;
17714#line 2164
17715 pch->lastseq = 4294967295U;
17716#line 2166
17717 __cil_tmp13 = & pch->chan_sem;
17718#line 2166
17719 __init_rwsem(__cil_tmp13, "&pch->chan_sem", & __key);
17720#line 2167
17721 __cil_tmp14 = & pch->downl;
17722#line 2167
17723 spinlock_check(__cil_tmp14);
17724#line 2167
17725 __cil_tmp15 = & pch->downl.ldv_6060.rlock;
17726#line 2167
17727 __raw_spin_lock_init(__cil_tmp15, "&(&pch->downl)->rlock", & __key___0);
17728#line 2168
17729 __cil_tmp16 = & pch->upl;
17730#line 2168
17731 __rwlock_init(__cil_tmp16, "&pch->upl", & __key___1);
17732#line 2170
17733 __cil_tmp17 = & pn->all_channels_lock;
17734#line 2170
17735 spin_lock_bh(__cil_tmp17);
17736#line 2171
17737 __cil_tmp18 = pn->last_channel_index;
17738#line 2171
17739 pn->last_channel_index = __cil_tmp18 + 1;
17740#line 2171
17741 pch->file.index = pn->last_channel_index;
17742#line 2172
17743 __cil_tmp19 = & pch->list;
17744#line 2172
17745 __cil_tmp20 = & pn->new_channels;
17746#line 2172
17747 list_add(__cil_tmp19, __cil_tmp20);
17748#line 2173
17749 atomic_inc(& channel_count);
17750#line 2174
17751 __cil_tmp21 = & pn->all_channels_lock;
17752#line 2174
17753 spin_unlock_bh(__cil_tmp21);
17754 }
17755#line 2176
17756 return (0);
17757}
17758}
17759#line 2182 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
17760int ppp_channel_index(struct ppp_channel *chan )
17761{ struct channel *pch ;
17762 void *__cil_tmp3 ;
17763 struct channel *__cil_tmp4 ;
17764 unsigned long __cil_tmp5 ;
17765 unsigned long __cil_tmp6 ;
17766
17767 {
17768#line 2184
17769 __cil_tmp3 = chan->ppp;
17770#line 2184
17771 pch = (struct channel *)__cil_tmp3;
17772 {
17773#line 2186
17774 __cil_tmp4 = (struct channel *)0;
17775#line 2186
17776 __cil_tmp5 = (unsigned long )__cil_tmp4;
17777#line 2186
17778 __cil_tmp6 = (unsigned long )pch;
17779#line 2186
17780 if (__cil_tmp6 != __cil_tmp5) {
17781#line 2187
17782 return (pch->file.index);
17783 } else {
17784
17785 }
17786 }
17787#line 2188
17788 return (-1);
17789}
17790}
17791#line 2194 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
17792int ppp_unit_number(struct ppp_channel *chan )
17793{ struct channel *pch ;
17794 int unit ;
17795 void *__cil_tmp4 ;
17796 struct channel *__cil_tmp5 ;
17797 unsigned long __cil_tmp6 ;
17798 unsigned long __cil_tmp7 ;
17799 rwlock_t *__cil_tmp8 ;
17800 struct ppp *__cil_tmp9 ;
17801 unsigned long __cil_tmp10 ;
17802 struct ppp *__cil_tmp11 ;
17803 unsigned long __cil_tmp12 ;
17804 struct ppp *__cil_tmp13 ;
17805 rwlock_t *__cil_tmp14 ;
17806
17807 {
17808#line 2196
17809 __cil_tmp4 = chan->ppp;
17810#line 2196
17811 pch = (struct channel *)__cil_tmp4;
17812#line 2197
17813 unit = -1;
17814 {
17815#line 2199
17816 __cil_tmp5 = (struct channel *)0;
17817#line 2199
17818 __cil_tmp6 = (unsigned long )__cil_tmp5;
17819#line 2199
17820 __cil_tmp7 = (unsigned long )pch;
17821#line 2199
17822 if (__cil_tmp7 != __cil_tmp6) {
17823 {
17824#line 2200
17825 __cil_tmp8 = & pch->upl;
17826#line 2200
17827 _raw_read_lock_bh(__cil_tmp8);
17828 }
17829 {
17830#line 2201
17831 __cil_tmp9 = (struct ppp *)0;
17832#line 2201
17833 __cil_tmp10 = (unsigned long )__cil_tmp9;
17834#line 2201
17835 __cil_tmp11 = pch->ppp;
17836#line 2201
17837 __cil_tmp12 = (unsigned long )__cil_tmp11;
17838#line 2201
17839 if (__cil_tmp12 != __cil_tmp10) {
17840#line 2202
17841 __cil_tmp13 = pch->ppp;
17842#line 2202
17843 unit = __cil_tmp13->file.index;
17844 } else {
17845
17846 }
17847 }
17848 {
17849#line 2203
17850 __cil_tmp14 = & pch->upl;
17851#line 2203
17852 _raw_read_unlock_bh(__cil_tmp14);
17853 }
17854 } else {
17855
17856 }
17857 }
17858#line 2205
17859 return (unit);
17860}
17861}
17862#line 2211 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
17863char *ppp_dev_name(struct ppp_channel *chan )
17864{ struct channel *pch ;
17865 char *name ;
17866 void *__cil_tmp4 ;
17867 struct channel *__cil_tmp5 ;
17868 unsigned long __cil_tmp6 ;
17869 unsigned long __cil_tmp7 ;
17870 rwlock_t *__cil_tmp8 ;
17871 struct ppp *__cil_tmp9 ;
17872 unsigned long __cil_tmp10 ;
17873 struct ppp *__cil_tmp11 ;
17874 unsigned long __cil_tmp12 ;
17875 struct net_device *__cil_tmp13 ;
17876 unsigned long __cil_tmp14 ;
17877 struct ppp *__cil_tmp15 ;
17878 struct net_device *__cil_tmp16 ;
17879 unsigned long __cil_tmp17 ;
17880 struct ppp *__cil_tmp18 ;
17881 struct net_device *__cil_tmp19 ;
17882 char (*__cil_tmp20)[16U] ;
17883 rwlock_t *__cil_tmp21 ;
17884
17885 {
17886#line 2213
17887 __cil_tmp4 = chan->ppp;
17888#line 2213
17889 pch = (struct channel *)__cil_tmp4;
17890#line 2214
17891 name = (char *)0;
17892 {
17893#line 2216
17894 __cil_tmp5 = (struct channel *)0;
17895#line 2216
17896 __cil_tmp6 = (unsigned long )__cil_tmp5;
17897#line 2216
17898 __cil_tmp7 = (unsigned long )pch;
17899#line 2216
17900 if (__cil_tmp7 != __cil_tmp6) {
17901 {
17902#line 2217
17903 __cil_tmp8 = & pch->upl;
17904#line 2217
17905 _raw_read_lock_bh(__cil_tmp8);
17906 }
17907 {
17908#line 2218
17909 __cil_tmp9 = (struct ppp *)0;
17910#line 2218
17911 __cil_tmp10 = (unsigned long )__cil_tmp9;
17912#line 2218
17913 __cil_tmp11 = pch->ppp;
17914#line 2218
17915 __cil_tmp12 = (unsigned long )__cil_tmp11;
17916#line 2218
17917 if (__cil_tmp12 != __cil_tmp10) {
17918 {
17919#line 2218
17920 __cil_tmp13 = (struct net_device *)0;
17921#line 2218
17922 __cil_tmp14 = (unsigned long )__cil_tmp13;
17923#line 2218
17924 __cil_tmp15 = pch->ppp;
17925#line 2218
17926 __cil_tmp16 = __cil_tmp15->dev;
17927#line 2218
17928 __cil_tmp17 = (unsigned long )__cil_tmp16;
17929#line 2218
17930 if (__cil_tmp17 != __cil_tmp14) {
17931#line 2219
17932 __cil_tmp18 = pch->ppp;
17933#line 2219
17934 __cil_tmp19 = __cil_tmp18->dev;
17935#line 2219
17936 __cil_tmp20 = & __cil_tmp19->name;
17937#line 2219
17938 name = (char *)__cil_tmp20;
17939 } else {
17940
17941 }
17942 }
17943 } else {
17944
17945 }
17946 }
17947 {
17948#line 2220
17949 __cil_tmp21 = & pch->upl;
17950#line 2220
17951 _raw_read_unlock_bh(__cil_tmp21);
17952 }
17953 } else {
17954
17955 }
17956 }
17957#line 2222
17958 return (name);
17959}
17960}
17961#line 2231 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
17962void ppp_unregister_channel(struct ppp_channel *chan )
17963{ struct channel *pch ;
17964 struct ppp_net *pn ;
17965 int tmp ;
17966 void *__cil_tmp5 ;
17967 struct channel *__cil_tmp6 ;
17968 unsigned long __cil_tmp7 ;
17969 unsigned long __cil_tmp8 ;
17970 struct rw_semaphore *__cil_tmp9 ;
17971 spinlock_t *__cil_tmp10 ;
17972 spinlock_t *__cil_tmp11 ;
17973 struct rw_semaphore *__cil_tmp12 ;
17974 struct net *__cil_tmp13 ;
17975 spinlock_t *__cil_tmp14 ;
17976 struct list_head *__cil_tmp15 ;
17977 spinlock_t *__cil_tmp16 ;
17978 wait_queue_head_t *__cil_tmp17 ;
17979 void *__cil_tmp18 ;
17980 atomic_t *__cil_tmp19 ;
17981
17982 {
17983#line 2233
17984 __cil_tmp5 = chan->ppp;
17985#line 2233
17986 pch = (struct channel *)__cil_tmp5;
17987 {
17988#line 2236
17989 __cil_tmp6 = (struct channel *)0;
17990#line 2236
17991 __cil_tmp7 = (unsigned long )__cil_tmp6;
17992#line 2236
17993 __cil_tmp8 = (unsigned long )pch;
17994#line 2236
17995 if (__cil_tmp8 == __cil_tmp7) {
17996#line 2237
17997 return;
17998 } else {
17999
18000 }
18001 }
18002 {
18003#line 2239
18004 chan->ppp = (void *)0;
18005#line 2245
18006 __cil_tmp9 = & pch->chan_sem;
18007#line 2245
18008 down_write(__cil_tmp9);
18009#line 2246
18010 __cil_tmp10 = & pch->downl;
18011#line 2246
18012 spin_lock_bh(__cil_tmp10);
18013#line 2247
18014 pch->chan = (struct ppp_channel *)0;
18015#line 2248
18016 __cil_tmp11 = & pch->downl;
18017#line 2248
18018 spin_unlock_bh(__cil_tmp11);
18019#line 2249
18020 __cil_tmp12 = & pch->chan_sem;
18021#line 2249
18022 up_write(__cil_tmp12);
18023#line 2250
18024 ppp_disconnect_channel(pch);
18025#line 2252
18026 __cil_tmp13 = pch->chan_net;
18027#line 2252
18028 pn = ppp_pernet(__cil_tmp13);
18029#line 2253
18030 __cil_tmp14 = & pn->all_channels_lock;
18031#line 2253
18032 spin_lock_bh(__cil_tmp14);
18033#line 2254
18034 __cil_tmp15 = & pch->list;
18035#line 2254
18036 list_del(__cil_tmp15);
18037#line 2255
18038 __cil_tmp16 = & pn->all_channels_lock;
18039#line 2255
18040 spin_unlock_bh(__cil_tmp16);
18041#line 2257
18042 pch->file.dead = 1;
18043#line 2258
18044 __cil_tmp17 = & pch->file.rwait;
18045#line 2258
18046 __cil_tmp18 = (void *)0;
18047#line 2258
18048 __wake_up(__cil_tmp17, 1U, 1, __cil_tmp18);
18049#line 2259
18050 __cil_tmp19 = & pch->file.refcnt;
18051#line 2259
18052 tmp = atomic_dec_and_test(__cil_tmp19);
18053 }
18054#line 2259
18055 if (tmp != 0) {
18056 {
18057#line 2260
18058 ppp_destroy_channel(pch);
18059 }
18060 } else {
18061
18062 }
18063#line 2261
18064 return;
18065}
18066}
18067#line 2268 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
18068void ppp_output_wakeup(struct ppp_channel *chan )
18069{ struct channel *pch ;
18070 void *__cil_tmp3 ;
18071 struct channel *__cil_tmp4 ;
18072 unsigned long __cil_tmp5 ;
18073 unsigned long __cil_tmp6 ;
18074
18075 {
18076#line 2270
18077 __cil_tmp3 = chan->ppp;
18078#line 2270
18079 pch = (struct channel *)__cil_tmp3;
18080 {
18081#line 2272
18082 __cil_tmp4 = (struct channel *)0;
18083#line 2272
18084 __cil_tmp5 = (unsigned long )__cil_tmp4;
18085#line 2272
18086 __cil_tmp6 = (unsigned long )pch;
18087#line 2272
18088 if (__cil_tmp6 == __cil_tmp5) {
18089#line 2273
18090 return;
18091 } else {
18092
18093 }
18094 }
18095 {
18096#line 2274
18097 ppp_channel_push(pch);
18098 }
18099#line 2275
18100 return;
18101}
18102}
18103#line 2283 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
18104static int ppp_set_compress(struct ppp *ppp , unsigned long arg )
18105{ int err ;
18106 struct compressor *cp ;
18107 struct compressor *ocomp ;
18108 struct ppp_option_data data ;
18109 void *state ;
18110 void *ostate ;
18111 unsigned char ccp_option[32U] ;
18112 unsigned long tmp ;
18113 unsigned long tmp___0 ;
18114 struct compressor *tmp___2 ;
18115 struct compressor *tmp___3 ;
18116 struct compressor *tmp___4 ;
18117 void *__cil_tmp15 ;
18118 void const *__cil_tmp16 ;
18119 void *__cil_tmp17 ;
18120 void const *__cil_tmp18 ;
18121 unsigned long __cil_tmp19 ;
18122 unsigned int __cil_tmp20 ;
18123 __u32 __cil_tmp21 ;
18124 int __cil_tmp22 ;
18125 struct compressor *__cil_tmp23 ;
18126 unsigned long __cil_tmp24 ;
18127 unsigned long __cil_tmp25 ;
18128 int __cil_tmp26 ;
18129 bool __cil_tmp27 ;
18130 int __cil_tmp28 ;
18131 int __cil_tmp29 ;
18132 struct compressor *__cil_tmp30 ;
18133 unsigned long __cil_tmp31 ;
18134 unsigned long __cil_tmp32 ;
18135 void *(*__cil_tmp33)(unsigned char * , int ) ;
18136 unsigned char *__cil_tmp34 ;
18137 int __cil_tmp35 ;
18138 void *__cil_tmp36 ;
18139 unsigned long __cil_tmp37 ;
18140 unsigned long __cil_tmp38 ;
18141 spinlock_t *__cil_tmp39 ;
18142 unsigned int __cil_tmp40 ;
18143 spinlock_t *__cil_tmp41 ;
18144 void *__cil_tmp42 ;
18145 unsigned long __cil_tmp43 ;
18146 unsigned long __cil_tmp44 ;
18147 void (*__cil_tmp45)(void * ) ;
18148 struct module *__cil_tmp46 ;
18149 struct module *__cil_tmp47 ;
18150 void *(*__cil_tmp48)(unsigned char * , int ) ;
18151 unsigned char *__cil_tmp49 ;
18152 int __cil_tmp50 ;
18153 void *__cil_tmp51 ;
18154 unsigned long __cil_tmp52 ;
18155 unsigned long __cil_tmp53 ;
18156 spinlock_t *__cil_tmp54 ;
18157 unsigned int __cil_tmp55 ;
18158 spinlock_t *__cil_tmp56 ;
18159 void *__cil_tmp57 ;
18160 unsigned long __cil_tmp58 ;
18161 unsigned long __cil_tmp59 ;
18162 void (*__cil_tmp60)(void * ) ;
18163 struct module *__cil_tmp61 ;
18164 struct module *__cil_tmp62 ;
18165
18166 {
18167 {
18168#line 2291
18169 err = -14;
18170#line 2292
18171 __cil_tmp15 = (void *)(& data);
18172#line 2292
18173 __cil_tmp16 = (void const *)arg;
18174#line 2292
18175 tmp = copy_from_user(__cil_tmp15, __cil_tmp16, 16UL);
18176 }
18177#line 2292
18178 if (tmp != 0UL) {
18179#line 2295
18180 goto out;
18181 } else
18182#line 2292
18183 if (data.length <= 32U) {
18184 {
18185#line 2292
18186 __cil_tmp17 = (void *)(& ccp_option);
18187#line 2292
18188 __cil_tmp18 = (void const *)data.ptr;
18189#line 2292
18190 __cil_tmp19 = (unsigned long )data.length;
18191#line 2292
18192 tmp___0 = copy_from_user(__cil_tmp17, __cil_tmp18, __cil_tmp19);
18193 }
18194#line 2292
18195 if (tmp___0 != 0UL) {
18196#line 2295
18197 goto out;
18198 } else {
18199
18200 }
18201 } else {
18202
18203 }
18204#line 2296
18205 err = -22;
18206#line 2297
18207 if (data.length > 32U) {
18208#line 2299
18209 goto out;
18210 } else {
18211 {
18212#line 2297
18213 __cil_tmp20 = (unsigned int )ccp_option[1];
18214#line 2297
18215 if (__cil_tmp20 <= 1U) {
18216#line 2299
18217 goto out;
18218 } else {
18219 {
18220#line 2297
18221 __cil_tmp21 = (__u32 )ccp_option[1];
18222#line 2297
18223 if (__cil_tmp21 > data.length) {
18224#line 2299
18225 goto out;
18226 } else {
18227
18228 }
18229 }
18230 }
18231 }
18232 }
18233 {
18234#line 2301
18235 __cil_tmp22 = (int )ccp_option[0];
18236#line 2301
18237 tmp___4 = find_compressor(__cil_tmp22);
18238 }
18239 {
18240#line 2301
18241 __cil_tmp23 = (struct compressor *)0;
18242#line 2301
18243 __cil_tmp24 = (unsigned long )__cil_tmp23;
18244#line 2301
18245 __cil_tmp25 = (unsigned long )tmp___4;
18246#line 2301
18247 if (__cil_tmp25 != __cil_tmp24) {
18248 {
18249#line 2301
18250 __cil_tmp26 = (int )ccp_option[0];
18251#line 2301
18252 tmp___2 = find_compressor(__cil_tmp26);
18253#line 2301
18254 cp = tmp___2;
18255 }
18256 } else {
18257 {
18258#line 2301
18259 __cil_tmp27 = (bool )1;
18260#line 2301
18261 __cil_tmp28 = (int )ccp_option[0];
18262#line 2301
18263 __request_module(__cil_tmp27, "ppp-compress-%d", __cil_tmp28);
18264#line 2301
18265 __cil_tmp29 = (int )ccp_option[0];
18266#line 2301
18267 tmp___3 = find_compressor(__cil_tmp29);
18268#line 2301
18269 cp = tmp___3;
18270 }
18271 }
18272 }
18273 {
18274#line 2304
18275 __cil_tmp30 = (struct compressor *)0;
18276#line 2304
18277 __cil_tmp31 = (unsigned long )__cil_tmp30;
18278#line 2304
18279 __cil_tmp32 = (unsigned long )cp;
18280#line 2304
18281 if (__cil_tmp32 == __cil_tmp31) {
18282#line 2305
18283 goto out;
18284 } else {
18285
18286 }
18287 }
18288#line 2307
18289 err = -105;
18290#line 2308
18291 if (data.transmit != 0) {
18292 {
18293#line 2309
18294 __cil_tmp33 = cp->comp_alloc;
18295#line 2309
18296 __cil_tmp34 = (unsigned char *)(& ccp_option);
18297#line 2309
18298 __cil_tmp35 = (int )data.length;
18299#line 2309
18300 state = (*__cil_tmp33)(__cil_tmp34, __cil_tmp35);
18301 }
18302 {
18303#line 2310
18304 __cil_tmp36 = (void *)0;
18305#line 2310
18306 __cil_tmp37 = (unsigned long )__cil_tmp36;
18307#line 2310
18308 __cil_tmp38 = (unsigned long )state;
18309#line 2310
18310 if (__cil_tmp38 != __cil_tmp37) {
18311 {
18312#line 2311
18313 __cil_tmp39 = & ppp->wlock;
18314#line 2311
18315 spin_lock_bh(__cil_tmp39);
18316#line 2312
18317 __cil_tmp40 = ppp->xstate;
18318#line 2312
18319 ppp->xstate = __cil_tmp40 & 4294963199U;
18320#line 2313
18321 ocomp = ppp->xcomp;
18322#line 2314
18323 ostate = ppp->xc_state;
18324#line 2315
18325 ppp->xcomp = cp;
18326#line 2316
18327 ppp->xc_state = state;
18328#line 2317
18329 __cil_tmp41 = & ppp->wlock;
18330#line 2317
18331 spin_unlock_bh(__cil_tmp41);
18332 }
18333 {
18334#line 2318
18335 __cil_tmp42 = (void *)0;
18336#line 2318
18337 __cil_tmp43 = (unsigned long )__cil_tmp42;
18338#line 2318
18339 __cil_tmp44 = (unsigned long )ostate;
18340#line 2318
18341 if (__cil_tmp44 != __cil_tmp43) {
18342 {
18343#line 2319
18344 __cil_tmp45 = ocomp->comp_free;
18345#line 2319
18346 (*__cil_tmp45)(ostate);
18347#line 2320
18348 __cil_tmp46 = ocomp->owner;
18349#line 2320
18350 ldv_module_put_1(__cil_tmp46);
18351 }
18352 } else {
18353
18354 }
18355 }
18356#line 2322
18357 err = 0;
18358 } else {
18359 {
18360#line 2324
18361 __cil_tmp47 = cp->owner;
18362#line 2324
18363 ldv_module_put_2(__cil_tmp47);
18364 }
18365 }
18366 }
18367 } else {
18368 {
18369#line 2327
18370 __cil_tmp48 = cp->decomp_alloc;
18371#line 2327
18372 __cil_tmp49 = (unsigned char *)(& ccp_option);
18373#line 2327
18374 __cil_tmp50 = (int )data.length;
18375#line 2327
18376 state = (*__cil_tmp48)(__cil_tmp49, __cil_tmp50);
18377 }
18378 {
18379#line 2328
18380 __cil_tmp51 = (void *)0;
18381#line 2328
18382 __cil_tmp52 = (unsigned long )__cil_tmp51;
18383#line 2328
18384 __cil_tmp53 = (unsigned long )state;
18385#line 2328
18386 if (__cil_tmp53 != __cil_tmp52) {
18387 {
18388#line 2329
18389 __cil_tmp54 = & ppp->rlock;
18390#line 2329
18391 spin_lock_bh(__cil_tmp54);
18392#line 2330
18393 __cil_tmp55 = ppp->rstate;
18394#line 2330
18395 ppp->rstate = __cil_tmp55 & 4294959103U;
18396#line 2331
18397 ocomp = ppp->rcomp;
18398#line 2332
18399 ostate = ppp->rc_state;
18400#line 2333
18401 ppp->rcomp = cp;
18402#line 2334
18403 ppp->rc_state = state;
18404#line 2335
18405 __cil_tmp56 = & ppp->rlock;
18406#line 2335
18407 spin_unlock_bh(__cil_tmp56);
18408 }
18409 {
18410#line 2336
18411 __cil_tmp57 = (void *)0;
18412#line 2336
18413 __cil_tmp58 = (unsigned long )__cil_tmp57;
18414#line 2336
18415 __cil_tmp59 = (unsigned long )ostate;
18416#line 2336
18417 if (__cil_tmp59 != __cil_tmp58) {
18418 {
18419#line 2337
18420 __cil_tmp60 = ocomp->decomp_free;
18421#line 2337
18422 (*__cil_tmp60)(ostate);
18423#line 2338
18424 __cil_tmp61 = ocomp->owner;
18425#line 2338
18426 ldv_module_put_3(__cil_tmp61);
18427 }
18428 } else {
18429
18430 }
18431 }
18432#line 2340
18433 err = 0;
18434 } else {
18435 {
18436#line 2342
18437 __cil_tmp62 = cp->owner;
18438#line 2342
18439 ldv_module_put_4(__cil_tmp62);
18440 }
18441 }
18442 }
18443 }
18444 out: ;
18445#line 2346
18446 return (err);
18447}
18448}
18449#line 2354 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
18450static void ppp_ccp_peek(struct ppp *ppp , struct sk_buff *skb , int inbound )
18451{ unsigned char *dp ;
18452 int len ;
18453 int tmp ;
18454 int tmp___0 ;
18455 int tmp___1 ;
18456 int tmp___2 ;
18457 unsigned char *__cil_tmp10 ;
18458 unsigned char __cil_tmp11 ;
18459 int __cil_tmp12 ;
18460 unsigned char __cil_tmp13 ;
18461 int __cil_tmp14 ;
18462 unsigned char __cil_tmp15 ;
18463 int __cil_tmp16 ;
18464 unsigned char __cil_tmp17 ;
18465 int __cil_tmp18 ;
18466 unsigned char __cil_tmp19 ;
18467 int __cil_tmp20 ;
18468 unsigned int __cil_tmp21 ;
18469 unsigned int __cil_tmp22 ;
18470 unsigned int __cil_tmp23 ;
18471 unsigned int __cil_tmp24 ;
18472 unsigned int __cil_tmp25 ;
18473 unsigned int __cil_tmp26 ;
18474 unsigned char *__cil_tmp27 ;
18475 unsigned char __cil_tmp28 ;
18476 int __cil_tmp29 ;
18477 unsigned char *__cil_tmp30 ;
18478 unsigned char __cil_tmp31 ;
18479 int __cil_tmp32 ;
18480 int __cil_tmp33 ;
18481 int __cil_tmp34 ;
18482 unsigned int __cil_tmp35 ;
18483 unsigned char *__cil_tmp36 ;
18484 unsigned char __cil_tmp37 ;
18485 int __cil_tmp38 ;
18486 void *__cil_tmp39 ;
18487 unsigned long __cil_tmp40 ;
18488 void *__cil_tmp41 ;
18489 unsigned long __cil_tmp42 ;
18490 struct compressor *__cil_tmp43 ;
18491 int (*__cil_tmp44)(void * , unsigned char * , int , int , int , int , int ) ;
18492 void *__cil_tmp45 ;
18493 int __cil_tmp46 ;
18494 int __cil_tmp47 ;
18495 int __cil_tmp48 ;
18496 unsigned int __cil_tmp49 ;
18497 unsigned int __cil_tmp50 ;
18498 void *__cil_tmp51 ;
18499 unsigned long __cil_tmp52 ;
18500 void *__cil_tmp53 ;
18501 unsigned long __cil_tmp54 ;
18502 struct compressor *__cil_tmp55 ;
18503 int (*__cil_tmp56)(void * , unsigned char * , int , int , int , int ) ;
18504 void *__cil_tmp57 ;
18505 int __cil_tmp58 ;
18506 int __cil_tmp59 ;
18507 unsigned int __cil_tmp60 ;
18508 unsigned int __cil_tmp61 ;
18509 unsigned int __cil_tmp62 ;
18510 void *__cil_tmp63 ;
18511 unsigned long __cil_tmp64 ;
18512 void *__cil_tmp65 ;
18513 unsigned long __cil_tmp66 ;
18514 unsigned int __cil_tmp67 ;
18515 unsigned int __cil_tmp68 ;
18516 struct compressor *__cil_tmp69 ;
18517 void (*__cil_tmp70)(void * ) ;
18518 void *__cil_tmp71 ;
18519 unsigned int __cil_tmp72 ;
18520 void *__cil_tmp73 ;
18521 unsigned long __cil_tmp74 ;
18522 void *__cil_tmp75 ;
18523 unsigned long __cil_tmp76 ;
18524 unsigned int __cil_tmp77 ;
18525 unsigned int __cil_tmp78 ;
18526 struct compressor *__cil_tmp79 ;
18527 void (*__cil_tmp80)(void * ) ;
18528 void *__cil_tmp81 ;
18529
18530 {
18531 {
18532#line 2359
18533 tmp = pskb_may_pull(skb, 6U);
18534 }
18535#line 2359
18536 if (tmp == 0) {
18537#line 2360
18538 return;
18539 } else {
18540
18541 }
18542#line 2361
18543 __cil_tmp10 = skb->data;
18544#line 2361
18545 dp = __cil_tmp10 + 2UL;
18546 {
18547#line 2364
18548 __cil_tmp11 = *dp;
18549#line 2364
18550 __cil_tmp12 = (int )__cil_tmp11;
18551#line 2364
18552 if (__cil_tmp12 == 1) {
18553#line 2364
18554 goto case_1;
18555 } else {
18556 {
18557#line 2382
18558 __cil_tmp13 = *dp;
18559#line 2382
18560 __cil_tmp14 = (int )__cil_tmp13;
18561#line 2382
18562 if (__cil_tmp14 == 5) {
18563#line 2382
18564 goto case_5;
18565 } else {
18566 {
18567#line 2383
18568 __cil_tmp15 = *dp;
18569#line 2383
18570 __cil_tmp16 = (int )__cil_tmp15;
18571#line 2383
18572 if (__cil_tmp16 == 6) {
18573#line 2383
18574 goto case_6;
18575 } else {
18576 {
18577#line 2391
18578 __cil_tmp17 = *dp;
18579#line 2391
18580 __cil_tmp18 = (int )__cil_tmp17;
18581#line 2391
18582 if (__cil_tmp18 == 2) {
18583#line 2391
18584 goto case_2;
18585 } else {
18586 {
18587#line 2420
18588 __cil_tmp19 = *dp;
18589#line 2420
18590 __cil_tmp20 = (int )__cil_tmp19;
18591#line 2420
18592 if (__cil_tmp20 == 15) {
18593#line 2420
18594 goto case_15;
18595 } else
18596#line 2363
18597 if (0) {
18598 case_1: ;
18599#line 2373
18600 if (inbound != 0) {
18601#line 2375
18602 __cil_tmp21 = ppp->xstate;
18603#line 2375
18604 ppp->xstate = __cil_tmp21 & 4294963199U;
18605 } else {
18606#line 2378
18607 __cil_tmp22 = ppp->rstate;
18608#line 2378
18609 ppp->rstate = __cil_tmp22 & 4294959103U;
18610 }
18611#line 2380
18612 goto ldv_40312;
18613 case_5: ;
18614 case_6:
18615#line 2387
18616 __cil_tmp23 = ppp->rstate;
18617#line 2387
18618 ppp->rstate = __cil_tmp23 & 4294959103U;
18619#line 2388
18620 __cil_tmp24 = ppp->xstate;
18621#line 2388
18622 ppp->xstate = __cil_tmp24 & 4294963199U;
18623#line 2389
18624 goto ldv_40312;
18625 case_2: ;
18626 {
18627#line 2392
18628 __cil_tmp25 = ppp->flags;
18629#line 2392
18630 __cil_tmp26 = __cil_tmp25 & 192U;
18631#line 2392
18632 if (__cil_tmp26 != 64U) {
18633#line 2393
18634 goto ldv_40312;
18635 } else {
18636
18637 }
18638 }
18639 {
18640#line 2394
18641 __cil_tmp27 = dp + 3UL;
18642#line 2394
18643 __cil_tmp28 = *__cil_tmp27;
18644#line 2394
18645 __cil_tmp29 = (int )__cil_tmp28;
18646#line 2394
18647 __cil_tmp30 = dp + 2UL;
18648#line 2394
18649 __cil_tmp31 = *__cil_tmp30;
18650#line 2394
18651 __cil_tmp32 = (int )__cil_tmp31;
18652#line 2394
18653 __cil_tmp33 = __cil_tmp32 << 8;
18654#line 2394
18655 len = __cil_tmp33 + __cil_tmp29;
18656#line 2395
18657 __cil_tmp34 = len + 2;
18658#line 2395
18659 __cil_tmp35 = (unsigned int )__cil_tmp34;
18660#line 2395
18661 tmp___0 = pskb_may_pull(skb, __cil_tmp35);
18662 }
18663#line 2395
18664 if (tmp___0 == 0) {
18665#line 2396
18666 return;
18667 } else {
18668
18669 }
18670#line 2397
18671 dp = dp + 4UL;
18672#line 2398
18673 len = len + -4;
18674#line 2399
18675 if (len <= 1) {
18676#line 2400
18677 goto ldv_40312;
18678 } else {
18679 {
18680#line 2399
18681 __cil_tmp36 = dp + 1UL;
18682#line 2399
18683 __cil_tmp37 = *__cil_tmp36;
18684#line 2399
18685 __cil_tmp38 = (int )__cil_tmp37;
18686#line 2399
18687 if (__cil_tmp38 > len) {
18688#line 2400
18689 goto ldv_40312;
18690 } else {
18691
18692 }
18693 }
18694 }
18695#line 2401
18696 if (inbound != 0) {
18697 {
18698#line 2403
18699 __cil_tmp39 = (void *)0;
18700#line 2403
18701 __cil_tmp40 = (unsigned long )__cil_tmp39;
18702#line 2403
18703 __cil_tmp41 = ppp->rc_state;
18704#line 2403
18705 __cil_tmp42 = (unsigned long )__cil_tmp41;
18706#line 2403
18707 if (__cil_tmp42 == __cil_tmp40) {
18708#line 2404
18709 goto ldv_40312;
18710 } else {
18711
18712 }
18713 }
18714 {
18715#line 2405
18716 __cil_tmp43 = ppp->rcomp;
18717#line 2405
18718 __cil_tmp44 = __cil_tmp43->decomp_init;
18719#line 2405
18720 __cil_tmp45 = ppp->rc_state;
18721#line 2405
18722 __cil_tmp46 = ppp->file.index;
18723#line 2405
18724 __cil_tmp47 = ppp->mru;
18725#line 2405
18726 __cil_tmp48 = ppp->debug;
18727#line 2405
18728 tmp___1 = (*__cil_tmp44)(__cil_tmp45, dp, len, __cil_tmp46, 0, __cil_tmp47,
18729 __cil_tmp48);
18730 }
18731#line 2405
18732 if (tmp___1 != 0) {
18733#line 2407
18734 __cil_tmp49 = ppp->rstate;
18735#line 2407
18736 ppp->rstate = __cil_tmp49 | 8192U;
18737#line 2408
18738 __cil_tmp50 = ppp->rstate;
18739#line 2408
18740 ppp->rstate = __cil_tmp50 & 4282384383U;
18741 } else {
18742
18743 }
18744 } else {
18745 {
18746#line 2412
18747 __cil_tmp51 = (void *)0;
18748#line 2412
18749 __cil_tmp52 = (unsigned long )__cil_tmp51;
18750#line 2412
18751 __cil_tmp53 = ppp->xc_state;
18752#line 2412
18753 __cil_tmp54 = (unsigned long )__cil_tmp53;
18754#line 2412
18755 if (__cil_tmp54 == __cil_tmp52) {
18756#line 2413
18757 goto ldv_40312;
18758 } else {
18759
18760 }
18761 }
18762 {
18763#line 2414
18764 __cil_tmp55 = ppp->xcomp;
18765#line 2414
18766 __cil_tmp56 = __cil_tmp55->comp_init;
18767#line 2414
18768 __cil_tmp57 = ppp->xc_state;
18769#line 2414
18770 __cil_tmp58 = ppp->file.index;
18771#line 2414
18772 __cil_tmp59 = ppp->debug;
18773#line 2414
18774 tmp___2 = (*__cil_tmp56)(__cil_tmp57, dp, len, __cil_tmp58, 0, __cil_tmp59);
18775 }
18776#line 2414
18777 if (tmp___2 != 0) {
18778#line 2416
18779 __cil_tmp60 = ppp->xstate;
18780#line 2416
18781 ppp->xstate = __cil_tmp60 | 4096U;
18782 } else {
18783
18784 }
18785 }
18786#line 2418
18787 goto ldv_40312;
18788 case_15: ;
18789 {
18790#line 2422
18791 __cil_tmp61 = ppp->flags;
18792#line 2422
18793 __cil_tmp62 = __cil_tmp61 & 128U;
18794#line 2422
18795 if (__cil_tmp62 == 0U) {
18796#line 2423
18797 goto ldv_40312;
18798 } else {
18799
18800 }
18801 }
18802#line 2424
18803 if (inbound != 0) {
18804 {
18805#line 2425
18806 __cil_tmp63 = (void *)0;
18807#line 2425
18808 __cil_tmp64 = (unsigned long )__cil_tmp63;
18809#line 2425
18810 __cil_tmp65 = ppp->rc_state;
18811#line 2425
18812 __cil_tmp66 = (unsigned long )__cil_tmp65;
18813#line 2425
18814 if (__cil_tmp66 != __cil_tmp64) {
18815 {
18816#line 2425
18817 __cil_tmp67 = ppp->rstate;
18818#line 2425
18819 __cil_tmp68 = __cil_tmp67 & 8192U;
18820#line 2425
18821 if (__cil_tmp68 != 0U) {
18822 {
18823#line 2426
18824 __cil_tmp69 = ppp->rcomp;
18825#line 2426
18826 __cil_tmp70 = __cil_tmp69->decomp_reset;
18827#line 2426
18828 __cil_tmp71 = ppp->rc_state;
18829#line 2426
18830 (*__cil_tmp70)(__cil_tmp71);
18831#line 2427
18832 __cil_tmp72 = ppp->rstate;
18833#line 2427
18834 ppp->rstate = __cil_tmp72 & 4290772991U;
18835 }
18836 } else {
18837#line 2425
18838 goto _L;
18839 }
18840 }
18841 } else {
18842 _L:
18843 {
18844#line 2430
18845 __cil_tmp73 = (void *)0;
18846#line 2430
18847 __cil_tmp74 = (unsigned long )__cil_tmp73;
18848#line 2430
18849 __cil_tmp75 = ppp->xc_state;
18850#line 2430
18851 __cil_tmp76 = (unsigned long )__cil_tmp75;
18852#line 2430
18853 if (__cil_tmp76 != __cil_tmp74) {
18854 {
18855#line 2430
18856 __cil_tmp77 = ppp->xstate;
18857#line 2430
18858 __cil_tmp78 = __cil_tmp77 & 4096U;
18859#line 2430
18860 if (__cil_tmp78 != 0U) {
18861 {
18862#line 2431
18863 __cil_tmp79 = ppp->xcomp;
18864#line 2431
18865 __cil_tmp80 = __cil_tmp79->comp_reset;
18866#line 2431
18867 __cil_tmp81 = ppp->xc_state;
18868#line 2431
18869 (*__cil_tmp80)(__cil_tmp81);
18870 }
18871 } else {
18872
18873 }
18874 }
18875 } else {
18876
18877 }
18878 }
18879 }
18880 }
18881 } else {
18882
18883 }
18884#line 2433
18885 goto ldv_40312;
18886 } else {
18887
18888 }
18889 }
18890 }
18891 }
18892 }
18893 }
18894 }
18895 }
18896 }
18897 }
18898 ldv_40312: ;
18899#line 2436
18900 return;
18901}
18902}
18903#line 2439 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
18904static void ppp_ccp_closed(struct ppp *ppp )
18905{ void *xstate ;
18906 void *rstate ;
18907 struct compressor *xcomp ;
18908 struct compressor *rcomp ;
18909 spinlock_t *__cil_tmp6 ;
18910 spinlock_t *__cil_tmp7 ;
18911 unsigned int __cil_tmp8 ;
18912 spinlock_t *__cil_tmp9 ;
18913 spinlock_t *__cil_tmp10 ;
18914 void *__cil_tmp11 ;
18915 unsigned long __cil_tmp12 ;
18916 unsigned long __cil_tmp13 ;
18917 void (*__cil_tmp14)(void * ) ;
18918 struct module *__cil_tmp15 ;
18919 void *__cil_tmp16 ;
18920 unsigned long __cil_tmp17 ;
18921 unsigned long __cil_tmp18 ;
18922 void (*__cil_tmp19)(void * ) ;
18923 struct module *__cil_tmp20 ;
18924
18925 {
18926 {
18927#line 2444
18928 __cil_tmp6 = & ppp->wlock;
18929#line 2444
18930 spin_lock_bh(__cil_tmp6);
18931#line 2444
18932 __cil_tmp7 = & ppp->rlock;
18933#line 2444
18934 spin_lock_bh(__cil_tmp7);
18935#line 2445
18936 __cil_tmp8 = ppp->flags;
18937#line 2445
18938 ppp->flags = __cil_tmp8 & 4294967103U;
18939#line 2446
18940 ppp->xstate = 0U;
18941#line 2447
18942 xcomp = ppp->xcomp;
18943#line 2448
18944 xstate = ppp->xc_state;
18945#line 2449
18946 ppp->xc_state = (void *)0;
18947#line 2450
18948 ppp->rstate = 0U;
18949#line 2451
18950 rcomp = ppp->rcomp;
18951#line 2452
18952 rstate = ppp->rc_state;
18953#line 2453
18954 ppp->rc_state = (void *)0;
18955#line 2454
18956 __cil_tmp9 = & ppp->rlock;
18957#line 2454
18958 spin_unlock_bh(__cil_tmp9);
18959#line 2454
18960 __cil_tmp10 = & ppp->wlock;
18961#line 2454
18962 spin_unlock_bh(__cil_tmp10);
18963 }
18964 {
18965#line 2456
18966 __cil_tmp11 = (void *)0;
18967#line 2456
18968 __cil_tmp12 = (unsigned long )__cil_tmp11;
18969#line 2456
18970 __cil_tmp13 = (unsigned long )xstate;
18971#line 2456
18972 if (__cil_tmp13 != __cil_tmp12) {
18973 {
18974#line 2457
18975 __cil_tmp14 = xcomp->comp_free;
18976#line 2457
18977 (*__cil_tmp14)(xstate);
18978#line 2458
18979 __cil_tmp15 = xcomp->owner;
18980#line 2458
18981 ldv_module_put_5(__cil_tmp15);
18982 }
18983 } else {
18984
18985 }
18986 }
18987 {
18988#line 2460
18989 __cil_tmp16 = (void *)0;
18990#line 2460
18991 __cil_tmp17 = (unsigned long )__cil_tmp16;
18992#line 2460
18993 __cil_tmp18 = (unsigned long )rstate;
18994#line 2460
18995 if (__cil_tmp18 != __cil_tmp17) {
18996 {
18997#line 2461
18998 __cil_tmp19 = rcomp->decomp_free;
18999#line 2461
19000 (*__cil_tmp19)(rstate);
19001#line 2462
19002 __cil_tmp20 = rcomp->owner;
19003#line 2462
19004 ldv_module_put_6(__cil_tmp20);
19005 }
19006 } else {
19007
19008 }
19009 }
19010#line 2464
19011 return;
19012}
19013}
19014#line 2467 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
19015static struct list_head compressor_list = {& compressor_list, & compressor_list};
19016#line 2468 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
19017static spinlock_t compressor_list_lock = {{{{0U}, 3735899821U, 4294967295U, (void *)1152921504606846975UL, {(struct lock_class_key *)0,
19018 {(struct lock_class *)0,
19019 (struct lock_class *)0},
19020 "compressor_list_lock",
19021 0, 0UL}}}};
19022#line 2476 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
19023static struct compressor_entry *find_comp_entry(int proto )
19024{ struct compressor_entry *ce ;
19025 struct list_head const *__mptr ;
19026 struct list_head const *__mptr___0 ;
19027 struct compressor *__cil_tmp5 ;
19028 int __cil_tmp6 ;
19029 struct list_head *__cil_tmp7 ;
19030 unsigned long __cil_tmp8 ;
19031 struct list_head *__cil_tmp9 ;
19032 unsigned long __cil_tmp10 ;
19033
19034 {
19035#line 2480
19036 __mptr = (struct list_head const *)compressor_list.next;
19037#line 2480
19038 ce = (struct compressor_entry *)__mptr;
19039#line 2480
19040 goto ldv_40339;
19041 ldv_40338: ;
19042 {
19043#line 2481
19044 __cil_tmp5 = ce->comp;
19045#line 2481
19046 __cil_tmp6 = __cil_tmp5->compress_proto;
19047#line 2481
19048 if (__cil_tmp6 == proto) {
19049#line 2482
19050 return (ce);
19051 } else {
19052
19053 }
19054 }
19055#line 2480
19056 __cil_tmp7 = ce->list.next;
19057#line 2480
19058 __mptr___0 = (struct list_head const *)__cil_tmp7;
19059#line 2480
19060 ce = (struct compressor_entry *)__mptr___0;
19061 ldv_40339: ;
19062 {
19063#line 2480
19064 __cil_tmp8 = (unsigned long )(& compressor_list);
19065#line 2480
19066 __cil_tmp9 = & ce->list;
19067#line 2480
19068 __cil_tmp10 = (unsigned long )__cil_tmp9;
19069#line 2480
19070 if (__cil_tmp10 != __cil_tmp8) {
19071#line 2481
19072 goto ldv_40338;
19073 } else {
19074#line 2483
19075 goto ldv_40340;
19076 }
19077 }
19078 ldv_40340: ;
19079#line 2484
19080 return ((struct compressor_entry *)0);
19081}
19082}
19083#line 2489 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
19084int ppp_register_compressor(struct compressor *cp )
19085{ struct compressor_entry *ce ;
19086 int ret ;
19087 struct compressor_entry *tmp ;
19088 void *tmp___0 ;
19089 int __cil_tmp6 ;
19090 struct compressor_entry *__cil_tmp7 ;
19091 unsigned long __cil_tmp8 ;
19092 unsigned long __cil_tmp9 ;
19093 struct compressor_entry *__cil_tmp10 ;
19094 unsigned long __cil_tmp11 ;
19095 unsigned long __cil_tmp12 ;
19096 struct list_head *__cil_tmp13 ;
19097
19098 {
19099 {
19100#line 2493
19101 spin_lock(& compressor_list_lock);
19102#line 2494
19103 ret = -17;
19104#line 2495
19105 __cil_tmp6 = cp->compress_proto;
19106#line 2495
19107 tmp = find_comp_entry(__cil_tmp6);
19108 }
19109 {
19110#line 2495
19111 __cil_tmp7 = (struct compressor_entry *)0;
19112#line 2495
19113 __cil_tmp8 = (unsigned long )__cil_tmp7;
19114#line 2495
19115 __cil_tmp9 = (unsigned long )tmp;
19116#line 2495
19117 if (__cil_tmp9 != __cil_tmp8) {
19118#line 2496
19119 goto out;
19120 } else {
19121
19122 }
19123 }
19124 {
19125#line 2497
19126 ret = -12;
19127#line 2498
19128 tmp___0 = kmalloc(24UL, 32U);
19129#line 2498
19130 ce = (struct compressor_entry *)tmp___0;
19131 }
19132 {
19133#line 2499
19134 __cil_tmp10 = (struct compressor_entry *)0;
19135#line 2499
19136 __cil_tmp11 = (unsigned long )__cil_tmp10;
19137#line 2499
19138 __cil_tmp12 = (unsigned long )ce;
19139#line 2499
19140 if (__cil_tmp12 == __cil_tmp11) {
19141#line 2500
19142 goto out;
19143 } else {
19144
19145 }
19146 }
19147 {
19148#line 2501
19149 ret = 0;
19150#line 2502
19151 ce->comp = cp;
19152#line 2503
19153 __cil_tmp13 = & ce->list;
19154#line 2503
19155 list_add(__cil_tmp13, & compressor_list);
19156 }
19157 out:
19158 {
19159#line 2505
19160 spin_unlock(& compressor_list_lock);
19161 }
19162#line 2506
19163 return (ret);
19164}
19165}
19166#line 2511 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
19167void ppp_unregister_compressor(struct compressor *cp )
19168{ struct compressor_entry *ce ;
19169 int __cil_tmp3 ;
19170 struct compressor_entry *__cil_tmp4 ;
19171 unsigned long __cil_tmp5 ;
19172 unsigned long __cil_tmp6 ;
19173 unsigned long __cil_tmp7 ;
19174 struct compressor *__cil_tmp8 ;
19175 unsigned long __cil_tmp9 ;
19176 struct list_head *__cil_tmp10 ;
19177 void const *__cil_tmp11 ;
19178
19179 {
19180 {
19181#line 2515
19182 spin_lock(& compressor_list_lock);
19183#line 2516
19184 __cil_tmp3 = cp->compress_proto;
19185#line 2516
19186 ce = find_comp_entry(__cil_tmp3);
19187 }
19188 {
19189#line 2517
19190 __cil_tmp4 = (struct compressor_entry *)0;
19191#line 2517
19192 __cil_tmp5 = (unsigned long )__cil_tmp4;
19193#line 2517
19194 __cil_tmp6 = (unsigned long )ce;
19195#line 2517
19196 if (__cil_tmp6 != __cil_tmp5) {
19197 {
19198#line 2517
19199 __cil_tmp7 = (unsigned long )cp;
19200#line 2517
19201 __cil_tmp8 = ce->comp;
19202#line 2517
19203 __cil_tmp9 = (unsigned long )__cil_tmp8;
19204#line 2517
19205 if (__cil_tmp9 == __cil_tmp7) {
19206 {
19207#line 2518
19208 __cil_tmp10 = & ce->list;
19209#line 2518
19210 list_del(__cil_tmp10);
19211#line 2519
19212 __cil_tmp11 = (void const *)ce;
19213#line 2519
19214 kfree(__cil_tmp11);
19215 }
19216 } else {
19217
19218 }
19219 }
19220 } else {
19221
19222 }
19223 }
19224 {
19225#line 2521
19226 spin_unlock(& compressor_list_lock);
19227 }
19228#line 2522
19229 return;
19230}
19231}
19232#line 2526 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
19233static struct compressor *find_compressor(int type )
19234{ struct compressor_entry *ce ;
19235 struct compressor *cp ;
19236 int tmp ;
19237 struct compressor_entry *__cil_tmp5 ;
19238 unsigned long __cil_tmp6 ;
19239 unsigned long __cil_tmp7 ;
19240 struct module *__cil_tmp8 ;
19241
19242 {
19243 {
19244#line 2529
19245 cp = (struct compressor *)0;
19246#line 2531
19247 spin_lock(& compressor_list_lock);
19248#line 2532
19249 ce = find_comp_entry(type);
19250 }
19251 {
19252#line 2533
19253 __cil_tmp5 = (struct compressor_entry *)0;
19254#line 2533
19255 __cil_tmp6 = (unsigned long )__cil_tmp5;
19256#line 2533
19257 __cil_tmp7 = (unsigned long )ce;
19258#line 2533
19259 if (__cil_tmp7 != __cil_tmp6) {
19260 {
19261#line 2534
19262 cp = ce->comp;
19263#line 2535
19264 __cil_tmp8 = cp->owner;
19265#line 2535
19266 tmp = ldv_try_module_get_7(__cil_tmp8);
19267 }
19268#line 2535
19269 if (tmp == 0) {
19270#line 2536
19271 cp = (struct compressor *)0;
19272 } else {
19273
19274 }
19275 } else {
19276
19277 }
19278 }
19279 {
19280#line 2538
19281 spin_unlock(& compressor_list_lock);
19282 }
19283#line 2539
19284 return (cp);
19285}
19286}
19287#line 2547 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
19288static void ppp_get_stats(struct ppp *ppp , struct ppp_stats *st )
19289{ struct slcompress *vj ;
19290 void *__cil_tmp4 ;
19291 struct net_device *__cil_tmp5 ;
19292 unsigned long __cil_tmp6 ;
19293 struct net_device *__cil_tmp7 ;
19294 unsigned long __cil_tmp8 ;
19295 struct net_device *__cil_tmp9 ;
19296 unsigned long __cil_tmp10 ;
19297 struct net_device *__cil_tmp11 ;
19298 unsigned long __cil_tmp12 ;
19299 struct net_device *__cil_tmp13 ;
19300 unsigned long __cil_tmp14 ;
19301 struct net_device *__cil_tmp15 ;
19302 unsigned long __cil_tmp16 ;
19303 struct slcompress *__cil_tmp17 ;
19304 unsigned long __cil_tmp18 ;
19305 unsigned long __cil_tmp19 ;
19306 int32 __cil_tmp20 ;
19307 int32 __cil_tmp21 ;
19308
19309 {
19310 {
19311#line 2549
19312 vj = ppp->vj;
19313#line 2551
19314 __cil_tmp4 = (void *)st;
19315#line 2551
19316 memset(__cil_tmp4, 0, 76UL);
19317#line 2552
19318 __cil_tmp5 = ppp->dev;
19319#line 2552
19320 __cil_tmp6 = __cil_tmp5->stats.rx_packets;
19321#line 2552
19322 st->p.ppp_ipackets = (__u32 )__cil_tmp6;
19323#line 2553
19324 __cil_tmp7 = ppp->dev;
19325#line 2553
19326 __cil_tmp8 = __cil_tmp7->stats.rx_errors;
19327#line 2553
19328 st->p.ppp_ierrors = (__u32 )__cil_tmp8;
19329#line 2554
19330 __cil_tmp9 = ppp->dev;
19331#line 2554
19332 __cil_tmp10 = __cil_tmp9->stats.rx_bytes;
19333#line 2554
19334 st->p.ppp_ibytes = (__u32 )__cil_tmp10;
19335#line 2555
19336 __cil_tmp11 = ppp->dev;
19337#line 2555
19338 __cil_tmp12 = __cil_tmp11->stats.tx_packets;
19339#line 2555
19340 st->p.ppp_opackets = (__u32 )__cil_tmp12;
19341#line 2556
19342 __cil_tmp13 = ppp->dev;
19343#line 2556
19344 __cil_tmp14 = __cil_tmp13->stats.tx_errors;
19345#line 2556
19346 st->p.ppp_oerrors = (__u32 )__cil_tmp14;
19347#line 2557
19348 __cil_tmp15 = ppp->dev;
19349#line 2557
19350 __cil_tmp16 = __cil_tmp15->stats.tx_bytes;
19351#line 2557
19352 st->p.ppp_obytes = (__u32 )__cil_tmp16;
19353 }
19354 {
19355#line 2558
19356 __cil_tmp17 = (struct slcompress *)0;
19357#line 2558
19358 __cil_tmp18 = (unsigned long )__cil_tmp17;
19359#line 2558
19360 __cil_tmp19 = (unsigned long )vj;
19361#line 2558
19362 if (__cil_tmp19 == __cil_tmp18) {
19363#line 2559
19364 return;
19365 } else {
19366
19367 }
19368 }
19369#line 2560
19370 __cil_tmp20 = vj->sls_o_uncompressed;
19371#line 2560
19372 __cil_tmp21 = vj->sls_o_compressed;
19373#line 2560
19374 st->vj.vjs_packets = __cil_tmp21 + __cil_tmp20;
19375#line 2561
19376 st->vj.vjs_compressed = vj->sls_o_compressed;
19377#line 2562
19378 st->vj.vjs_searches = vj->sls_o_searches;
19379#line 2563
19380 st->vj.vjs_misses = vj->sls_o_misses;
19381#line 2564
19382 st->vj.vjs_errorin = vj->sls_i_error;
19383#line 2565
19384 st->vj.vjs_tossed = vj->sls_i_tossed;
19385#line 2566
19386 st->vj.vjs_uncompressedin = vj->sls_i_uncompressed;
19387#line 2567
19388 st->vj.vjs_compressedin = vj->sls_i_compressed;
19389#line 2568
19390 return;
19391}
19392}
19393#line 2581 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
19394static struct ppp *ppp_create_interface(struct net *net , int unit , int *retp )
19395{ struct ppp *ppp ;
19396 struct ppp_net *pn ;
19397 struct net_device *dev ;
19398 int ret ;
19399 int i ;
19400 void *tmp ;
19401 struct lock_class_key __key ;
19402 struct lock_class_key __key___0 ;
19403 void *tmp___0 ;
19404 struct net_device *__cil_tmp13 ;
19405 unsigned long __cil_tmp14 ;
19406 unsigned long __cil_tmp15 ;
19407 struct net_device const *__cil_tmp16 ;
19408 struct ppp_file *__cil_tmp17 ;
19409 struct list_head *__cil_tmp18 ;
19410 spinlock_t *__cil_tmp19 ;
19411 struct raw_spinlock *__cil_tmp20 ;
19412 spinlock_t *__cil_tmp21 ;
19413 struct raw_spinlock *__cil_tmp22 ;
19414 struct sk_buff_head *__cil_tmp23 ;
19415 struct mutex *__cil_tmp24 ;
19416 struct idr *__cil_tmp25 ;
19417 void *__cil_tmp26 ;
19418 struct idr *__cil_tmp27 ;
19419 void *__cil_tmp28 ;
19420 unsigned long __cil_tmp29 ;
19421 unsigned long __cil_tmp30 ;
19422 struct idr *__cil_tmp31 ;
19423 void *__cil_tmp32 ;
19424 char (*__cil_tmp33)[16U] ;
19425 char *__cil_tmp34 ;
19426 struct idr *__cil_tmp35 ;
19427 struct net_device *__cil_tmp36 ;
19428 struct net_device const *__cil_tmp37 ;
19429 char (*__cil_tmp38)[16U] ;
19430 char *__cil_tmp39 ;
19431 struct mutex *__cil_tmp40 ;
19432 struct mutex *__cil_tmp41 ;
19433
19434 {
19435 {
19436#line 2585
19437 dev = (struct net_device *)0;
19438#line 2586
19439 ret = -12;
19440#line 2589
19441 dev = alloc_netdev_mqs(752, "", & ppp_setup, 1U, 1U);
19442 }
19443 {
19444#line 2590
19445 __cil_tmp13 = (struct net_device *)0;
19446#line 2590
19447 __cil_tmp14 = (unsigned long )__cil_tmp13;
19448#line 2590
19449 __cil_tmp15 = (unsigned long )dev;
19450#line 2590
19451 if (__cil_tmp15 == __cil_tmp14) {
19452#line 2591
19453 goto out1;
19454 } else {
19455
19456 }
19457 }
19458 {
19459#line 2593
19460 pn = ppp_pernet(net);
19461#line 2595
19462 __cil_tmp16 = (struct net_device const *)dev;
19463#line 2595
19464 tmp = netdev_priv(__cil_tmp16);
19465#line 2595
19466 ppp = (struct ppp *)tmp;
19467#line 2596
19468 ppp->dev = dev;
19469#line 2597
19470 ppp->mru = 1500;
19471#line 2598
19472 __cil_tmp17 = & ppp->file;
19473#line 2598
19474 init_ppp_file(__cil_tmp17, 1);
19475#line 2599
19476 ppp->file.hdrlen = 2;
19477#line 2600
19478 i = 0;
19479 }
19480#line 2600
19481 goto ldv_40373;
19482 ldv_40372:
19483#line 2601
19484 ppp->npmode[i] = (enum NPmode )0;
19485#line 2600
19486 i = i + 1;
19487 ldv_40373: ;
19488#line 2600
19489 if (i <= 5) {
19490#line 2601
19491 goto ldv_40372;
19492 } else {
19493#line 2603
19494 goto ldv_40374;
19495 }
19496 ldv_40374:
19497 {
19498#line 2602
19499 __cil_tmp18 = & ppp->channels;
19500#line 2602
19501 INIT_LIST_HEAD(__cil_tmp18);
19502#line 2603
19503 __cil_tmp19 = & ppp->rlock;
19504#line 2603
19505 spinlock_check(__cil_tmp19);
19506#line 2603
19507 __cil_tmp20 = & ppp->rlock.ldv_6060.rlock;
19508#line 2603
19509 __raw_spin_lock_init(__cil_tmp20, "&(&ppp->rlock)->rlock", & __key);
19510#line 2604
19511 __cil_tmp21 = & ppp->wlock;
19512#line 2604
19513 spinlock_check(__cil_tmp21);
19514#line 2604
19515 __cil_tmp22 = & ppp->wlock.ldv_6060.rlock;
19516#line 2604
19517 __raw_spin_lock_init(__cil_tmp22, "&(&ppp->wlock)->rlock", & __key___0);
19518#line 2606
19519 ppp->minseq = 4294967295U;
19520#line 2607
19521 __cil_tmp23 = & ppp->mrq;
19522#line 2607
19523 skb_queue_head_init(__cil_tmp23);
19524#line 2614
19525 dev_net_set(dev, net);
19526#line 2616
19527 __cil_tmp24 = & pn->all_ppp_mutex;
19528#line 2616
19529 mutex_lock_nested(__cil_tmp24, 0U);
19530 }
19531#line 2618
19532 if (unit < 0) {
19533 {
19534#line 2619
19535 __cil_tmp25 = & pn->units_idr;
19536#line 2619
19537 __cil_tmp26 = (void *)ppp;
19538#line 2619
19539 unit = unit_get(__cil_tmp25, __cil_tmp26);
19540 }
19541#line 2620
19542 if (unit < 0) {
19543#line 2621
19544 ret = unit;
19545#line 2622
19546 goto out2;
19547 } else {
19548
19549 }
19550 } else {
19551 {
19552#line 2625
19553 ret = -17;
19554#line 2626
19555 __cil_tmp27 = & pn->units_idr;
19556#line 2626
19557 tmp___0 = unit_find(__cil_tmp27, unit);
19558 }
19559 {
19560#line 2626
19561 __cil_tmp28 = (void *)0;
19562#line 2626
19563 __cil_tmp29 = (unsigned long )__cil_tmp28;
19564#line 2626
19565 __cil_tmp30 = (unsigned long )tmp___0;
19566#line 2626
19567 if (__cil_tmp30 != __cil_tmp29) {
19568#line 2627
19569 goto out2;
19570 } else {
19571
19572 }
19573 }
19574 {
19575#line 2637
19576 __cil_tmp31 = & pn->units_idr;
19577#line 2637
19578 __cil_tmp32 = (void *)ppp;
19579#line 2637
19580 unit = unit_set(__cil_tmp31, __cil_tmp32, unit);
19581 }
19582#line 2638
19583 if (unit < 0) {
19584#line 2639
19585 goto out2;
19586 } else {
19587
19588 }
19589 }
19590 {
19591#line 2643
19592 ppp->file.index = unit;
19593#line 2644
19594 __cil_tmp33 = & dev->name;
19595#line 2644
19596 __cil_tmp34 = (char *)__cil_tmp33;
19597#line 2644
19598 sprintf(__cil_tmp34, "ppp%d", unit);
19599#line 2646
19600 ret = register_netdev(dev);
19601 }
19602#line 2647
19603 if (ret != 0) {
19604 {
19605#line 2648
19606 __cil_tmp35 = & pn->units_idr;
19607#line 2648
19608 unit_put(__cil_tmp35, unit);
19609#line 2649
19610 __cil_tmp36 = ppp->dev;
19611#line 2649
19612 __cil_tmp37 = (struct net_device const *)__cil_tmp36;
19613#line 2649
19614 __cil_tmp38 = & dev->name;
19615#line 2649
19616 __cil_tmp39 = (char *)__cil_tmp38;
19617#line 2649
19618 netdev_err(__cil_tmp37, "PPP: couldn\'t register device %s (%d)\n", __cil_tmp39,
19619 ret);
19620 }
19621#line 2651
19622 goto out2;
19623 } else {
19624
19625 }
19626 {
19627#line 2654
19628 ppp->ppp_net = net;
19629#line 2656
19630 atomic_inc(& ppp_unit_count);
19631#line 2657
19632 __cil_tmp40 = & pn->all_ppp_mutex;
19633#line 2657
19634 mutex_unlock(__cil_tmp40);
19635#line 2659
19636 *retp = 0;
19637 }
19638#line 2660
19639 return (ppp);
19640 out2:
19641 {
19642#line 2663
19643 __cil_tmp41 = & pn->all_ppp_mutex;
19644#line 2663
19645 mutex_unlock(__cil_tmp41);
19646#line 2664
19647 free_netdev(dev);
19648 }
19649 out1:
19650#line 2666
19651 *retp = ret;
19652#line 2667
19653 return ((struct ppp *)0);
19654}
19655}
19656#line 2674 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
19657static void init_ppp_file(struct ppp_file *pf , int kind )
19658{ struct lock_class_key __key ;
19659 struct sk_buff_head *__cil_tmp4 ;
19660 struct sk_buff_head *__cil_tmp5 ;
19661 atomic_t *__cil_tmp6 ;
19662 wait_queue_head_t *__cil_tmp7 ;
19663
19664 {
19665 {
19666#line 2676
19667 pf->kind = (enum ldv_27071 )kind;
19668#line 2677
19669 __cil_tmp4 = & pf->xq;
19670#line 2677
19671 skb_queue_head_init(__cil_tmp4);
19672#line 2678
19673 __cil_tmp5 = & pf->rq;
19674#line 2678
19675 skb_queue_head_init(__cil_tmp5);
19676#line 2679
19677 __cil_tmp6 = & pf->refcnt;
19678#line 2679
19679 atomic_set(__cil_tmp6, 1);
19680#line 2680
19681 __cil_tmp7 = & pf->rwait;
19682#line 2680
19683 __init_waitqueue_head(__cil_tmp7, & __key);
19684 }
19685#line 2682
19686 return;
19687}
19688}
19689#line 2687 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
19690static void ppp_shutdown_interface(struct ppp *ppp )
19691{ struct ppp_net *pn ;
19692 struct net *__cil_tmp3 ;
19693 struct mutex *__cil_tmp4 ;
19694 spinlock_t *__cil_tmp5 ;
19695 spinlock_t *__cil_tmp6 ;
19696 int __cil_tmp7 ;
19697 spinlock_t *__cil_tmp8 ;
19698 spinlock_t *__cil_tmp9 ;
19699 struct net_device *__cil_tmp10 ;
19700 struct idr *__cil_tmp11 ;
19701 int __cil_tmp12 ;
19702 spinlock_t *__cil_tmp13 ;
19703 spinlock_t *__cil_tmp14 ;
19704 wait_queue_head_t *__cil_tmp15 ;
19705 void *__cil_tmp16 ;
19706 struct mutex *__cil_tmp17 ;
19707
19708 {
19709 {
19710#line 2691
19711 __cil_tmp3 = ppp->ppp_net;
19712#line 2691
19713 pn = ppp_pernet(__cil_tmp3);
19714#line 2692
19715 __cil_tmp4 = & pn->all_ppp_mutex;
19716#line 2692
19717 mutex_lock_nested(__cil_tmp4, 0U);
19718#line 2695
19719 __cil_tmp5 = & ppp->wlock;
19720#line 2695
19721 spin_lock_bh(__cil_tmp5);
19722#line 2695
19723 __cil_tmp6 = & ppp->rlock;
19724#line 2695
19725 spin_lock_bh(__cil_tmp6);
19726 }
19727 {
19728#line 2696
19729 __cil_tmp7 = ppp->closing;
19730#line 2696
19731 if (__cil_tmp7 == 0) {
19732 {
19733#line 2697
19734 ppp->closing = 1;
19735#line 2698
19736 __cil_tmp8 = & ppp->rlock;
19737#line 2698
19738 spin_unlock_bh(__cil_tmp8);
19739#line 2698
19740 __cil_tmp9 = & ppp->wlock;
19741#line 2698
19742 spin_unlock_bh(__cil_tmp9);
19743#line 2699
19744 __cil_tmp10 = ppp->dev;
19745#line 2699
19746 unregister_netdev(__cil_tmp10);
19747#line 2700
19748 __cil_tmp11 = & pn->units_idr;
19749#line 2700
19750 __cil_tmp12 = ppp->file.index;
19751#line 2700
19752 unit_put(__cil_tmp11, __cil_tmp12);
19753 }
19754 } else {
19755 {
19756#line 2702
19757 __cil_tmp13 = & ppp->rlock;
19758#line 2702
19759 spin_unlock_bh(__cil_tmp13);
19760#line 2702
19761 __cil_tmp14 = & ppp->wlock;
19762#line 2702
19763 spin_unlock_bh(__cil_tmp14);
19764 }
19765 }
19766 }
19767 {
19768#line 2704
19769 ppp->file.dead = 1;
19770#line 2705
19771 ppp->owner = (struct file *)0;
19772#line 2706
19773 __cil_tmp15 = & ppp->file.rwait;
19774#line 2706
19775 __cil_tmp16 = (void *)0;
19776#line 2706
19777 __wake_up(__cil_tmp15, 1U, 1, __cil_tmp16);
19778#line 2708
19779 __cil_tmp17 = & pn->all_ppp_mutex;
19780#line 2708
19781 mutex_unlock(__cil_tmp17);
19782 }
19783#line 2709
19784 return;
19785}
19786}
19787#line 2716 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
19788static void ppp_destroy_interface(struct ppp *ppp )
19789{ int __cil_tmp2 ;
19790 struct net_device *__cil_tmp3 ;
19791 struct net_device const *__cil_tmp4 ;
19792 int __cil_tmp5 ;
19793 int __cil_tmp6 ;
19794 int __cil_tmp7 ;
19795 struct net_device *__cil_tmp8 ;
19796 struct net_device const *__cil_tmp9 ;
19797 int __cil_tmp10 ;
19798 int __cil_tmp11 ;
19799 struct slcompress *__cil_tmp12 ;
19800 unsigned long __cil_tmp13 ;
19801 struct slcompress *__cil_tmp14 ;
19802 unsigned long __cil_tmp15 ;
19803 struct slcompress *__cil_tmp16 ;
19804 struct sk_buff_head *__cil_tmp17 ;
19805 struct sk_buff_head *__cil_tmp18 ;
19806 struct sk_buff_head *__cil_tmp19 ;
19807 struct sock_filter *__cil_tmp20 ;
19808 void const *__cil_tmp21 ;
19809 struct sock_filter *__cil_tmp22 ;
19810 void const *__cil_tmp23 ;
19811 struct sk_buff *__cil_tmp24 ;
19812 struct net_device *__cil_tmp25 ;
19813
19814 {
19815 {
19816#line 2718
19817 atomic_dec(& ppp_unit_count);
19818 }
19819 {
19820#line 2720
19821 __cil_tmp2 = ppp->file.dead;
19822#line 2720
19823 if (__cil_tmp2 == 0) {
19824 {
19825#line 2722
19826 __cil_tmp3 = ppp->dev;
19827#line 2722
19828 __cil_tmp4 = (struct net_device const *)__cil_tmp3;
19829#line 2722
19830 __cil_tmp5 = ppp->file.dead;
19831#line 2722
19832 __cil_tmp6 = ppp->n_channels;
19833#line 2722
19834 netdev_err(__cil_tmp4, "ppp: destroying ppp struct %p but dead=%d n_channels=%d !\n",
19835 ppp, __cil_tmp5, __cil_tmp6);
19836 }
19837#line 2725
19838 return;
19839 } else {
19840 {
19841#line 2720
19842 __cil_tmp7 = ppp->n_channels;
19843#line 2720
19844 if (__cil_tmp7 != 0) {
19845 {
19846#line 2722
19847 __cil_tmp8 = ppp->dev;
19848#line 2722
19849 __cil_tmp9 = (struct net_device const *)__cil_tmp8;
19850#line 2722
19851 __cil_tmp10 = ppp->file.dead;
19852#line 2722
19853 __cil_tmp11 = ppp->n_channels;
19854#line 2722
19855 netdev_err(__cil_tmp9, "ppp: destroying ppp struct %p but dead=%d n_channels=%d !\n",
19856 ppp, __cil_tmp10, __cil_tmp11);
19857 }
19858#line 2725
19859 return;
19860 } else {
19861
19862 }
19863 }
19864 }
19865 }
19866 {
19867#line 2728
19868 ppp_ccp_closed(ppp);
19869 }
19870 {
19871#line 2729
19872 __cil_tmp12 = (struct slcompress *)0;
19873#line 2729
19874 __cil_tmp13 = (unsigned long )__cil_tmp12;
19875#line 2729
19876 __cil_tmp14 = ppp->vj;
19877#line 2729
19878 __cil_tmp15 = (unsigned long )__cil_tmp14;
19879#line 2729
19880 if (__cil_tmp15 != __cil_tmp13) {
19881 {
19882#line 2730
19883 __cil_tmp16 = ppp->vj;
19884#line 2730
19885 slhc_free(__cil_tmp16);
19886#line 2731
19887 ppp->vj = (struct slcompress *)0;
19888 }
19889 } else {
19890
19891 }
19892 }
19893 {
19894#line 2733
19895 __cil_tmp17 = & ppp->file.xq;
19896#line 2733
19897 skb_queue_purge(__cil_tmp17);
19898#line 2734
19899 __cil_tmp18 = & ppp->file.rq;
19900#line 2734
19901 skb_queue_purge(__cil_tmp18);
19902#line 2736
19903 __cil_tmp19 = & ppp->mrq;
19904#line 2736
19905 skb_queue_purge(__cil_tmp19);
19906#line 2739
19907 __cil_tmp20 = ppp->pass_filter;
19908#line 2739
19909 __cil_tmp21 = (void const *)__cil_tmp20;
19910#line 2739
19911 kfree(__cil_tmp21);
19912#line 2740
19913 ppp->pass_filter = (struct sock_filter *)0;
19914#line 2741
19915 __cil_tmp22 = ppp->active_filter;
19916#line 2741
19917 __cil_tmp23 = (void const *)__cil_tmp22;
19918#line 2741
19919 kfree(__cil_tmp23);
19920#line 2742
19921 ppp->active_filter = (struct sock_filter *)0;
19922#line 2745
19923 __cil_tmp24 = ppp->xmit_pending;
19924#line 2745
19925 kfree_skb(__cil_tmp24);
19926#line 2747
19927 __cil_tmp25 = ppp->dev;
19928#line 2747
19929 free_netdev(__cil_tmp25);
19930 }
19931#line 2748
19932 return;
19933}
19934}
19935#line 2755 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
19936static struct ppp *ppp_find_unit(struct ppp_net *pn , int unit )
19937{ void *tmp ;
19938 struct idr *__cil_tmp4 ;
19939
19940 {
19941 {
19942#line 2757
19943 __cil_tmp4 = & pn->units_idr;
19944#line 2757
19945 tmp = unit_find(__cil_tmp4, unit);
19946 }
19947#line 2757
19948 return ((struct ppp *)tmp);
19949}
19950}
19951#line 2769 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
19952static struct channel *ppp_find_channel(struct ppp_net *pn , int unit )
19953{ struct channel *pch ;
19954 struct list_head const *__mptr ;
19955 struct list_head const *__mptr___0 ;
19956 struct list_head const *__mptr___1 ;
19957 struct list_head const *__mptr___2 ;
19958 struct list_head *__cil_tmp8 ;
19959 struct channel *__cil_tmp9 ;
19960 int __cil_tmp10 ;
19961 struct list_head *__cil_tmp11 ;
19962 struct list_head *__cil_tmp12 ;
19963 struct list_head *__cil_tmp13 ;
19964 struct channel *__cil_tmp14 ;
19965 struct list_head *__cil_tmp15 ;
19966 unsigned long __cil_tmp16 ;
19967 struct list_head *__cil_tmp17 ;
19968 unsigned long __cil_tmp18 ;
19969 struct list_head *__cil_tmp19 ;
19970 struct channel *__cil_tmp20 ;
19971 int __cil_tmp21 ;
19972 struct list_head *__cil_tmp22 ;
19973 struct channel *__cil_tmp23 ;
19974 struct list_head *__cil_tmp24 ;
19975 unsigned long __cil_tmp25 ;
19976 struct list_head *__cil_tmp26 ;
19977 unsigned long __cil_tmp27 ;
19978
19979 {
19980#line 2773
19981 __cil_tmp8 = pn->new_channels.next;
19982#line 2773
19983 __mptr = (struct list_head const *)__cil_tmp8;
19984#line 2773
19985 __cil_tmp9 = (struct channel *)__mptr;
19986#line 2773
19987 pch = __cil_tmp9 + 1152921504606846672UL;
19988#line 2773
19989 goto ldv_40404;
19990 ldv_40403: ;
19991 {
19992#line 2774
19993 __cil_tmp10 = pch->file.index;
19994#line 2774
19995 if (__cil_tmp10 == unit) {
19996 {
19997#line 2775
19998 __cil_tmp11 = & pch->list;
19999#line 2775
20000 __cil_tmp12 = & pn->all_channels;
20001#line 2775
20002 list_move(__cil_tmp11, __cil_tmp12);
20003 }
20004#line 2776
20005 return (pch);
20006 } else {
20007
20008 }
20009 }
20010#line 2773
20011 __cil_tmp13 = pch->list.next;
20012#line 2773
20013 __mptr___0 = (struct list_head const *)__cil_tmp13;
20014#line 2773
20015 __cil_tmp14 = (struct channel *)__mptr___0;
20016#line 2773
20017 pch = __cil_tmp14 + 1152921504606846672UL;
20018 ldv_40404: ;
20019 {
20020#line 2773
20021 __cil_tmp15 = & pn->new_channels;
20022#line 2773
20023 __cil_tmp16 = (unsigned long )__cil_tmp15;
20024#line 2773
20025 __cil_tmp17 = & pch->list;
20026#line 2773
20027 __cil_tmp18 = (unsigned long )__cil_tmp17;
20028#line 2773
20029 if (__cil_tmp18 != __cil_tmp16) {
20030#line 2774
20031 goto ldv_40403;
20032 } else {
20033#line 2776
20034 goto ldv_40405;
20035 }
20036 }
20037 ldv_40405:
20038#line 2780
20039 __cil_tmp19 = pn->all_channels.next;
20040#line 2780
20041 __mptr___1 = (struct list_head const *)__cil_tmp19;
20042#line 2780
20043 __cil_tmp20 = (struct channel *)__mptr___1;
20044#line 2780
20045 pch = __cil_tmp20 + 1152921504606846672UL;
20046#line 2780
20047 goto ldv_40411;
20048 ldv_40410: ;
20049 {
20050#line 2781
20051 __cil_tmp21 = pch->file.index;
20052#line 2781
20053 if (__cil_tmp21 == unit) {
20054#line 2782
20055 return (pch);
20056 } else {
20057
20058 }
20059 }
20060#line 2780
20061 __cil_tmp22 = pch->list.next;
20062#line 2780
20063 __mptr___2 = (struct list_head const *)__cil_tmp22;
20064#line 2780
20065 __cil_tmp23 = (struct channel *)__mptr___2;
20066#line 2780
20067 pch = __cil_tmp23 + 1152921504606846672UL;
20068 ldv_40411: ;
20069 {
20070#line 2780
20071 __cil_tmp24 = & pn->all_channels;
20072#line 2780
20073 __cil_tmp25 = (unsigned long )__cil_tmp24;
20074#line 2780
20075 __cil_tmp26 = & pch->list;
20076#line 2780
20077 __cil_tmp27 = (unsigned long )__cil_tmp26;
20078#line 2780
20079 if (__cil_tmp27 != __cil_tmp25) {
20080#line 2781
20081 goto ldv_40410;
20082 } else {
20083#line 2783
20084 goto ldv_40412;
20085 }
20086 }
20087 ldv_40412: ;
20088#line 2785
20089 return ((struct channel *)0);
20090}
20091}
20092#line 2792 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20093static int ppp_connect_channel(struct channel *pch , int unit )
20094{ struct ppp *ppp ;
20095 struct ppp_net *pn ;
20096 int ret ;
20097 int hdrlen ;
20098 struct net *__cil_tmp7 ;
20099 struct mutex *__cil_tmp8 ;
20100 struct ppp *__cil_tmp9 ;
20101 unsigned long __cil_tmp10 ;
20102 unsigned long __cil_tmp11 ;
20103 rwlock_t *__cil_tmp12 ;
20104 struct ppp *__cil_tmp13 ;
20105 unsigned long __cil_tmp14 ;
20106 struct ppp *__cil_tmp15 ;
20107 unsigned long __cil_tmp16 ;
20108 spinlock_t *__cil_tmp17 ;
20109 spinlock_t *__cil_tmp18 ;
20110 int __cil_tmp19 ;
20111 int __cil_tmp20 ;
20112 int __cil_tmp21 ;
20113 struct net_device *__cil_tmp22 ;
20114 unsigned short __cil_tmp23 ;
20115 int __cil_tmp24 ;
20116 struct net_device *__cil_tmp25 ;
20117 struct list_head *__cil_tmp26 ;
20118 struct list_head *__cil_tmp27 ;
20119 int __cil_tmp28 ;
20120 atomic_t *__cil_tmp29 ;
20121 spinlock_t *__cil_tmp30 ;
20122 spinlock_t *__cil_tmp31 ;
20123 rwlock_t *__cil_tmp32 ;
20124 struct mutex *__cil_tmp33 ;
20125
20126 {
20127 {
20128#line 2796
20129 ret = -6;
20130#line 2799
20131 __cil_tmp7 = pch->chan_net;
20132#line 2799
20133 pn = ppp_pernet(__cil_tmp7);
20134#line 2801
20135 __cil_tmp8 = & pn->all_ppp_mutex;
20136#line 2801
20137 mutex_lock_nested(__cil_tmp8, 0U);
20138#line 2802
20139 ppp = ppp_find_unit(pn, unit);
20140 }
20141 {
20142#line 2803
20143 __cil_tmp9 = (struct ppp *)0;
20144#line 2803
20145 __cil_tmp10 = (unsigned long )__cil_tmp9;
20146#line 2803
20147 __cil_tmp11 = (unsigned long )ppp;
20148#line 2803
20149 if (__cil_tmp11 == __cil_tmp10) {
20150#line 2804
20151 goto out;
20152 } else {
20153
20154 }
20155 }
20156 {
20157#line 2805
20158 __cil_tmp12 = & pch->upl;
20159#line 2805
20160 _raw_write_lock_bh(__cil_tmp12);
20161#line 2806
20162 ret = -22;
20163 }
20164 {
20165#line 2807
20166 __cil_tmp13 = (struct ppp *)0;
20167#line 2807
20168 __cil_tmp14 = (unsigned long )__cil_tmp13;
20169#line 2807
20170 __cil_tmp15 = pch->ppp;
20171#line 2807
20172 __cil_tmp16 = (unsigned long )__cil_tmp15;
20173#line 2807
20174 if (__cil_tmp16 != __cil_tmp14) {
20175#line 2808
20176 goto outl;
20177 } else {
20178
20179 }
20180 }
20181 {
20182#line 2810
20183 __cil_tmp17 = & ppp->wlock;
20184#line 2810
20185 spin_lock_bh(__cil_tmp17);
20186#line 2810
20187 __cil_tmp18 = & ppp->rlock;
20188#line 2810
20189 spin_lock_bh(__cil_tmp18);
20190 }
20191 {
20192#line 2811
20193 __cil_tmp19 = ppp->file.hdrlen;
20194#line 2811
20195 __cil_tmp20 = pch->file.hdrlen;
20196#line 2811
20197 if (__cil_tmp20 > __cil_tmp19) {
20198#line 2812
20199 ppp->file.hdrlen = pch->file.hdrlen;
20200 } else {
20201
20202 }
20203 }
20204#line 2813
20205 __cil_tmp21 = pch->file.hdrlen;
20206#line 2813
20207 hdrlen = __cil_tmp21 + 2;
20208 {
20209#line 2814
20210 __cil_tmp22 = ppp->dev;
20211#line 2814
20212 __cil_tmp23 = __cil_tmp22->hard_header_len;
20213#line 2814
20214 __cil_tmp24 = (int )__cil_tmp23;
20215#line 2814
20216 if (__cil_tmp24 < hdrlen) {
20217#line 2815
20218 __cil_tmp25 = ppp->dev;
20219#line 2815
20220 __cil_tmp25->hard_header_len = (unsigned short )hdrlen;
20221 } else {
20222
20223 }
20224 }
20225 {
20226#line 2816
20227 __cil_tmp26 = & pch->clist;
20228#line 2816
20229 __cil_tmp27 = & ppp->channels;
20230#line 2816
20231 list_add_tail(__cil_tmp26, __cil_tmp27);
20232#line 2817
20233 __cil_tmp28 = ppp->n_channels;
20234#line 2817
20235 ppp->n_channels = __cil_tmp28 + 1;
20236#line 2818
20237 pch->ppp = ppp;
20238#line 2819
20239 __cil_tmp29 = & ppp->file.refcnt;
20240#line 2819
20241 atomic_inc(__cil_tmp29);
20242#line 2820
20243 __cil_tmp30 = & ppp->rlock;
20244#line 2820
20245 spin_unlock_bh(__cil_tmp30);
20246#line 2820
20247 __cil_tmp31 = & ppp->wlock;
20248#line 2820
20249 spin_unlock_bh(__cil_tmp31);
20250#line 2821
20251 ret = 0;
20252 }
20253 outl:
20254 {
20255#line 2824
20256 __cil_tmp32 = & pch->upl;
20257#line 2824
20258 _raw_write_unlock_bh(__cil_tmp32);
20259 }
20260 out:
20261 {
20262#line 2826
20263 __cil_tmp33 = & pn->all_ppp_mutex;
20264#line 2826
20265 mutex_unlock(__cil_tmp33);
20266 }
20267#line 2827
20268 return (ret);
20269}
20270}
20271#line 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20272static int ppp_disconnect_channel(struct channel *pch )
20273{ struct ppp *ppp ;
20274 int err ;
20275 int tmp ;
20276 rwlock_t *__cil_tmp5 ;
20277 rwlock_t *__cil_tmp6 ;
20278 struct ppp *__cil_tmp7 ;
20279 unsigned long __cil_tmp8 ;
20280 unsigned long __cil_tmp9 ;
20281 spinlock_t *__cil_tmp10 ;
20282 spinlock_t *__cil_tmp11 ;
20283 struct list_head *__cil_tmp12 ;
20284 int __cil_tmp13 ;
20285 int __cil_tmp14 ;
20286 wait_queue_head_t *__cil_tmp15 ;
20287 void *__cil_tmp16 ;
20288 spinlock_t *__cil_tmp17 ;
20289 spinlock_t *__cil_tmp18 ;
20290 atomic_t *__cil_tmp19 ;
20291
20292 {
20293 {
20294#line 2837
20295 err = -22;
20296#line 2839
20297 __cil_tmp5 = & pch->upl;
20298#line 2839
20299 _raw_write_lock_bh(__cil_tmp5);
20300#line 2840
20301 ppp = pch->ppp;
20302#line 2841
20303 pch->ppp = (struct ppp *)0;
20304#line 2842
20305 __cil_tmp6 = & pch->upl;
20306#line 2842
20307 _raw_write_unlock_bh(__cil_tmp6);
20308 }
20309 {
20310#line 2843
20311 __cil_tmp7 = (struct ppp *)0;
20312#line 2843
20313 __cil_tmp8 = (unsigned long )__cil_tmp7;
20314#line 2843
20315 __cil_tmp9 = (unsigned long )ppp;
20316#line 2843
20317 if (__cil_tmp9 != __cil_tmp8) {
20318 {
20319#line 2845
20320 __cil_tmp10 = & ppp->wlock;
20321#line 2845
20322 spin_lock_bh(__cil_tmp10);
20323#line 2845
20324 __cil_tmp11 = & ppp->rlock;
20325#line 2845
20326 spin_lock_bh(__cil_tmp11);
20327#line 2846
20328 __cil_tmp12 = & pch->clist;
20329#line 2846
20330 list_del(__cil_tmp12);
20331#line 2847
20332 __cil_tmp13 = ppp->n_channels;
20333#line 2847
20334 ppp->n_channels = __cil_tmp13 - 1;
20335 }
20336 {
20337#line 2847
20338 __cil_tmp14 = ppp->n_channels;
20339#line 2847
20340 if (__cil_tmp14 == 0) {
20341 {
20342#line 2848
20343 __cil_tmp15 = & ppp->file.rwait;
20344#line 2848
20345 __cil_tmp16 = (void *)0;
20346#line 2848
20347 __wake_up(__cil_tmp15, 1U, 1, __cil_tmp16);
20348 }
20349 } else {
20350
20351 }
20352 }
20353 {
20354#line 2849
20355 __cil_tmp17 = & ppp->rlock;
20356#line 2849
20357 spin_unlock_bh(__cil_tmp17);
20358#line 2849
20359 __cil_tmp18 = & ppp->wlock;
20360#line 2849
20361 spin_unlock_bh(__cil_tmp18);
20362#line 2850
20363 __cil_tmp19 = & ppp->file.refcnt;
20364#line 2850
20365 tmp = atomic_dec_and_test(__cil_tmp19);
20366 }
20367#line 2850
20368 if (tmp != 0) {
20369 {
20370#line 2851
20371 ppp_destroy_interface(ppp);
20372 }
20373 } else {
20374
20375 }
20376#line 2852
20377 err = 0;
20378 } else {
20379
20380 }
20381 }
20382#line 2854
20383 return (err);
20384}
20385}
20386#line 2860 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20387static void ppp_destroy_channel(struct channel *pch )
20388{ int __cil_tmp2 ;
20389 struct sk_buff_head *__cil_tmp3 ;
20390 struct sk_buff_head *__cil_tmp4 ;
20391 void const *__cil_tmp5 ;
20392
20393 {
20394 {
20395#line 2862
20396 atomic_dec(& channel_count);
20397 }
20398 {
20399#line 2864
20400 __cil_tmp2 = pch->file.dead;
20401#line 2864
20402 if (__cil_tmp2 == 0) {
20403 {
20404#line 2866
20405 printk("<3>ppp: destroying undead channel %p !\n", pch);
20406 }
20407#line 2867
20408 return;
20409 } else {
20410
20411 }
20412 }
20413 {
20414#line 2869
20415 __cil_tmp3 = & pch->file.xq;
20416#line 2869
20417 skb_queue_purge(__cil_tmp3);
20418#line 2870
20419 __cil_tmp4 = & pch->file.rq;
20420#line 2870
20421 skb_queue_purge(__cil_tmp4);
20422#line 2871
20423 __cil_tmp5 = (void const *)pch;
20424#line 2871
20425 kfree(__cil_tmp5);
20426 }
20427#line 2872
20428 return;
20429}
20430}
20431#line 2874 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20432static void ppp_cleanup(void)
20433{ int tmp ;
20434 int tmp___0 ;
20435 atomic_t const *__cil_tmp3 ;
20436 atomic_t const *__cil_tmp4 ;
20437
20438 {
20439 {
20440#line 2877
20441 __cil_tmp3 = (atomic_t const *)(& ppp_unit_count);
20442#line 2877
20443 tmp = atomic_read(__cil_tmp3);
20444 }
20445#line 2877
20446 if (tmp != 0) {
20447 {
20448#line 2878
20449 printk("<3>PPP: removing module but units remain!\n");
20450 }
20451 } else {
20452 {
20453#line 2877
20454 __cil_tmp4 = (atomic_t const *)(& channel_count);
20455#line 2877
20456 tmp___0 = atomic_read(__cil_tmp4);
20457 }
20458#line 2877
20459 if (tmp___0 != 0) {
20460 {
20461#line 2878
20462 printk("<3>PPP: removing module but units remain!\n");
20463 }
20464 } else {
20465
20466 }
20467 }
20468 {
20469#line 2879
20470 unregister_chrdev(108U, "ppp");
20471#line 2880
20472 device_destroy(ppp_class, 113246208U);
20473#line 2881
20474 class_destroy(ppp_class);
20475#line 2882
20476 unregister_pernet_device(& ppp_net_ops);
20477 }
20478#line 2883
20479 return;
20480}
20481}
20482#line 2890 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20483static int __unit_alloc(struct idr *p , void *ptr , int n )
20484{ int unit ;
20485 int err ;
20486 int tmp ;
20487
20488 {
20489 again:
20490 {
20491#line 2895
20492 tmp = idr_pre_get(p, 208U);
20493 }
20494#line 2895
20495 if (tmp == 0) {
20496 {
20497#line 2896
20498 printk("<3>PPP: No free memory for idr\n");
20499 }
20500#line 2897
20501 return (-12);
20502 } else {
20503
20504 }
20505 {
20506#line 2900
20507 err = idr_get_new_above(p, ptr, n, & unit);
20508 }
20509#line 2901
20510 if (err < 0) {
20511#line 2902
20512 if (err == -11) {
20513#line 2903
20514 goto again;
20515 } else {
20516
20517 }
20518#line 2904
20519 return (err);
20520 } else {
20521
20522 }
20523#line 2907
20524 return (unit);
20525}
20526}
20527#line 2911 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20528static int unit_set(struct idr *p , void *ptr , int n )
20529{ int unit ;
20530
20531 {
20532 {
20533#line 2915
20534 unit = __unit_alloc(p, ptr, n);
20535 }
20536#line 2916
20537 if (unit < 0) {
20538#line 2917
20539 return (unit);
20540 } else
20541#line 2918
20542 if (unit != n) {
20543 {
20544#line 2919
20545 idr_remove(p, unit);
20546 }
20547#line 2920
20548 return (-22);
20549 } else {
20550
20551 }
20552#line 2923
20553 return (unit);
20554}
20555}
20556#line 2927 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20557static int unit_get(struct idr *p , void *ptr )
20558{ int tmp ;
20559
20560 {
20561 {
20562#line 2929
20563 tmp = __unit_alloc(p, ptr, 0);
20564 }
20565#line 2929
20566 return (tmp);
20567}
20568}
20569#line 2933 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20570static void unit_put(struct idr *p , int n )
20571{
20572
20573 {
20574 {
20575#line 2935
20576 idr_remove(p, n);
20577 }
20578#line 2936
20579 return;
20580}
20581}
20582#line 2939 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20583static void *unit_find(struct idr *p , int n )
20584{ void *tmp ;
20585
20586 {
20587 {
20588#line 2941
20589 tmp = idr_find(p, n);
20590 }
20591#line 2941
20592 return (tmp);
20593}
20594}
20595#line 2980
20596void ldv_check_final_state(void) ;
20597#line 2983
20598extern void ldv_check_return_value(int ) ;
20599#line 2986
20600extern void ldv_initialize(void) ;
20601#line 2989
20602extern int nondet_int(void) ;
20603#line 2992 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20604int LDV_IN_INTERRUPT ;
20605#line 2995 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20606void main(void)
20607{ struct file *var_group1 ;
20608 char *var_ppp_read_5_p1 ;
20609 size_t var_ppp_read_5_p2 ;
20610 loff_t *var_ppp_read_5_p3 ;
20611 ssize_t res_ppp_read_5 ;
20612 char const *var_ppp_write_6_p1 ;
20613 size_t var_ppp_write_6_p2 ;
20614 loff_t *var_ppp_write_6_p3 ;
20615 ssize_t res_ppp_write_6 ;
20616 poll_table *var_ppp_poll_7_p1 ;
20617 unsigned int var_ppp_ioctl_9_p1 ;
20618 unsigned long var_ppp_ioctl_9_p2 ;
20619 struct inode *var_group2 ;
20620 int res_ppp_open_3 ;
20621 struct net *var_group3 ;
20622 struct sk_buff *var_group4 ;
20623 struct net_device *var_group5 ;
20624 struct ifreq *var_group6 ;
20625 int var_ppp_net_ioctl_15_p2 ;
20626 int ldv_s_ppp_device_fops_file_operations ;
20627 int tmp ;
20628 int tmp___0 ;
20629 int tmp___1 ;
20630 int __cil_tmp24 ;
20631 int __cil_tmp25 ;
20632
20633 {
20634 {
20635#line 3865
20636 ldv_s_ppp_device_fops_file_operations = 0;
20637#line 3777
20638 LDV_IN_INTERRUPT = 1;
20639#line 3786
20640 ldv_initialize();
20641#line 3839
20642 tmp = ppp_init();
20643 }
20644#line 3839
20645 if (tmp != 0) {
20646#line 3840
20647 goto ldv_final;
20648 } else {
20649
20650 }
20651#line 3873
20652 goto ldv_40589;
20653 ldv_40588:
20654 {
20655#line 3877
20656 tmp___0 = nondet_int();
20657 }
20658#line 3879
20659 if (tmp___0 == 0) {
20660#line 3879
20661 goto case_0;
20662 } else
20663#line 3969
20664 if (tmp___0 == 1) {
20665#line 3969
20666 goto case_1;
20667 } else
20668#line 4059
20669 if (tmp___0 == 2) {
20670#line 4059
20671 goto case_2;
20672 } else
20673#line 4149
20674 if (tmp___0 == 3) {
20675#line 4149
20676 goto case_3;
20677 } else
20678#line 4236
20679 if (tmp___0 == 4) {
20680#line 4236
20681 goto case_4;
20682 } else
20683#line 4323
20684 if (tmp___0 == 5) {
20685#line 4323
20686 goto case_5;
20687 } else
20688#line 4406
20689 if (tmp___0 == 6) {
20690#line 4406
20691 goto case_6;
20692 } else
20693#line 4493
20694 if (tmp___0 == 7) {
20695#line 4493
20696 goto case_7;
20697 } else
20698#line 4580
20699 if (tmp___0 == 8) {
20700#line 4580
20701 goto case_8;
20702 } else
20703#line 4667
20704 if (tmp___0 == 9) {
20705#line 4667
20706 goto case_9;
20707 } else {
20708#line 4754
20709 goto switch_default;
20710#line 3877
20711 if (0) {
20712 case_0: ;
20713#line 3882
20714 if (ldv_s_ppp_device_fops_file_operations == 0) {
20715 {
20716#line 3927
20717 res_ppp_open_3 = ppp_open(var_group2, var_group1);
20718#line 3928
20719 ldv_check_return_value(res_ppp_open_3);
20720 }
20721#line 3929
20722 if (res_ppp_open_3 != 0) {
20723#line 3930
20724 goto ldv_module_exit;
20725 } else {
20726
20727 }
20728#line 3962
20729 ldv_s_ppp_device_fops_file_operations = ldv_s_ppp_device_fops_file_operations + 1;
20730 } else {
20731
20732 }
20733#line 3968
20734 goto ldv_40577;
20735 case_1: ;
20736#line 3972
20737 if (ldv_s_ppp_device_fops_file_operations == 1) {
20738 {
20739#line 4017
20740 res_ppp_read_5 = ppp_read(var_group1, var_ppp_read_5_p1, var_ppp_read_5_p2,
20741 var_ppp_read_5_p3);
20742#line 4018
20743 __cil_tmp24 = (int )res_ppp_read_5;
20744#line 4018
20745 ldv_check_return_value(__cil_tmp24);
20746 }
20747#line 4019
20748 if (res_ppp_read_5 < 0L) {
20749#line 4020
20750 goto ldv_module_exit;
20751 } else {
20752
20753 }
20754#line 4052
20755 ldv_s_ppp_device_fops_file_operations = ldv_s_ppp_device_fops_file_operations + 1;
20756 } else {
20757
20758 }
20759#line 4058
20760 goto ldv_40577;
20761 case_2: ;
20762#line 4062
20763 if (ldv_s_ppp_device_fops_file_operations == 2) {
20764 {
20765#line 4107
20766 res_ppp_write_6 = ppp_write(var_group1, var_ppp_write_6_p1, var_ppp_write_6_p2,
20767 var_ppp_write_6_p3);
20768#line 4108
20769 __cil_tmp25 = (int )res_ppp_write_6;
20770#line 4108
20771 ldv_check_return_value(__cil_tmp25);
20772 }
20773#line 4109
20774 if (res_ppp_write_6 < 0L) {
20775#line 4110
20776 goto ldv_module_exit;
20777 } else {
20778
20779 }
20780#line 4142
20781 ldv_s_ppp_device_fops_file_operations = ldv_s_ppp_device_fops_file_operations + 1;
20782 } else {
20783
20784 }
20785#line 4148
20786 goto ldv_40577;
20787 case_3: ;
20788#line 4152
20789 if (ldv_s_ppp_device_fops_file_operations == 3) {
20790 {
20791#line 4197
20792 ppp_release(var_group2, var_group1);
20793#line 4229
20794 ldv_s_ppp_device_fops_file_operations = 0;
20795 }
20796 } else {
20797
20798 }
20799#line 4235
20800 goto ldv_40577;
20801 case_4:
20802 {
20803#line 4284
20804 ppp_poll(var_group1, var_ppp_poll_7_p1);
20805 }
20806#line 4322
20807 goto ldv_40577;
20808 case_5:
20809 {
20810#line 4373
20811 ppp_ioctl(var_group1, var_ppp_ioctl_9_p1, var_ppp_ioctl_9_p2);
20812 }
20813#line 4405
20814 goto ldv_40577;
20815 case_6:
20816 {
20817#line 4460
20818 ppp_init_net(var_group3);
20819 }
20820#line 4492
20821 goto ldv_40577;
20822 case_7:
20823 {
20824#line 4547
20825 ppp_exit_net(var_group3);
20826 }
20827#line 4579
20828 goto ldv_40577;
20829 case_8:
20830 {
20831#line 4635
20832 ppp_start_xmit(var_group4, var_group5);
20833 }
20834#line 4666
20835 goto ldv_40577;
20836 case_9:
20837 {
20838#line 4722
20839 ppp_net_ioctl(var_group5, var_group6, var_ppp_net_ioctl_15_p2);
20840 }
20841#line 4753
20842 goto ldv_40577;
20843 switch_default: ;
20844#line 4754
20845 goto ldv_40577;
20846 } else {
20847
20848 }
20849 }
20850 ldv_40577: ;
20851 ldv_40589:
20852 {
20853#line 3873
20854 tmp___1 = nondet_int();
20855 }
20856#line 3873
20857 if (tmp___1 != 0) {
20858#line 3875
20859 goto ldv_40588;
20860 } else
20861#line 3873
20862 if (ldv_s_ppp_device_fops_file_operations != 0) {
20863#line 3875
20864 goto ldv_40588;
20865 } else {
20866#line 3877
20867 goto ldv_40590;
20868 }
20869 ldv_40590: ;
20870 ldv_module_exit:
20871 {
20872#line 4835
20873 ppp_cleanup();
20874 }
20875 ldv_final:
20876 {
20877#line 4838
20878 ldv_check_final_state();
20879 }
20880#line 4841
20881 return;
20882}
20883}
20884#line 5 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/kernel-rules/files/engine-blast-assert.h"
20885void ldv_blast_assert(void)
20886{
20887
20888 {
20889 ERROR: ;
20890#line 6
20891 goto ERROR;
20892}
20893}
20894#line 6 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/kernel-rules/files/engine-blast.h"
20895extern int ldv_undefined_int(void) ;
20896#line 4858 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20897int ldv_module_refcounter = 1;
20898#line 4861 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20899void ldv_module_get(struct module *module )
20900{ struct module *__cil_tmp2 ;
20901 unsigned long __cil_tmp3 ;
20902 unsigned long __cil_tmp4 ;
20903
20904 {
20905 {
20906#line 4864
20907 __cil_tmp2 = (struct module *)0;
20908#line 4864
20909 __cil_tmp3 = (unsigned long )__cil_tmp2;
20910#line 4864
20911 __cil_tmp4 = (unsigned long )module;
20912#line 4864
20913 if (__cil_tmp4 != __cil_tmp3) {
20914#line 4866
20915 ldv_module_refcounter = ldv_module_refcounter + 1;
20916 } else {
20917
20918 }
20919 }
20920#line 4867
20921 return;
20922}
20923}
20924#line 4871 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20925int ldv_try_module_get(struct module *module )
20926{ int module_get_succeeded ;
20927 struct module *__cil_tmp3 ;
20928 unsigned long __cil_tmp4 ;
20929 unsigned long __cil_tmp5 ;
20930
20931 {
20932 {
20933#line 4876
20934 __cil_tmp3 = (struct module *)0;
20935#line 4876
20936 __cil_tmp4 = (unsigned long )__cil_tmp3;
20937#line 4876
20938 __cil_tmp5 = (unsigned long )module;
20939#line 4876
20940 if (__cil_tmp5 != __cil_tmp4) {
20941 {
20942#line 4879
20943 module_get_succeeded = ldv_undefined_int();
20944 }
20945#line 4881
20946 if (module_get_succeeded == 1) {
20947#line 4883
20948 ldv_module_refcounter = ldv_module_refcounter + 1;
20949#line 4885
20950 return (1);
20951 } else {
20952#line 4890
20953 return (0);
20954 }
20955 } else {
20956
20957 }
20958 }
20959#line 4892
20960 return (0);
20961}
20962}
20963#line 4896 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20964void ldv_module_put(struct module *module )
20965{ struct module *__cil_tmp2 ;
20966 unsigned long __cil_tmp3 ;
20967 unsigned long __cil_tmp4 ;
20968
20969 {
20970 {
20971#line 4899
20972 __cil_tmp2 = (struct module *)0;
20973#line 4899
20974 __cil_tmp3 = (unsigned long )__cil_tmp2;
20975#line 4899
20976 __cil_tmp4 = (unsigned long )module;
20977#line 4899
20978 if (__cil_tmp4 != __cil_tmp3) {
20979#line 4901
20980 if (ldv_module_refcounter <= 1) {
20981 {
20982#line 4901
20983 ldv_blast_assert();
20984 }
20985 } else {
20986
20987 }
20988#line 4903
20989 ldv_module_refcounter = ldv_module_refcounter - 1;
20990 } else {
20991
20992 }
20993 }
20994#line 4905
20995 return;
20996}
20997}
20998#line 4908 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
20999void ldv_module_put_and_exit(void)
21000{ struct module *__cil_tmp1 ;
21001
21002 {
21003 {
21004#line 4910
21005 __cil_tmp1 = (struct module *)1;
21006#line 4910
21007 ldv_module_put(__cil_tmp1);
21008 }
21009 LDV_STOP: ;
21010#line 4912
21011 goto LDV_STOP;
21012}
21013}
21014#line 4916 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
21015unsigned int ldv_module_refcount(void)
21016{ int __cil_tmp1 ;
21017
21018 {
21019 {
21020#line 4919
21021 __cil_tmp1 = ldv_module_refcounter + -1;
21022#line 4919
21023 return ((unsigned int )__cil_tmp1);
21024 }
21025}
21026}
21027#line 4923 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
21028void ldv_check_final_state(void)
21029{
21030
21031 {
21032#line 4926
21033 if (ldv_module_refcounter != 1) {
21034 {
21035#line 4926
21036 ldv_blast_assert();
21037 }
21038 } else {
21039
21040 }
21041#line 4929
21042 return;
21043}
21044}
21045#line 4929 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
21046void ldv_module_put_1(struct module *ldv_func_arg1 )
21047{
21048
21049 {
21050 {
21051#line 4934
21052 ldv_module_put(ldv_func_arg1);
21053 }
21054#line 4935
21055 return;
21056}
21057}
21058#line 4937 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
21059void ldv_module_put_2(struct module *ldv_func_arg1 )
21060{
21061
21062 {
21063 {
21064#line 4942
21065 ldv_module_put(ldv_func_arg1);
21066 }
21067#line 4943
21068 return;
21069}
21070}
21071#line 4945 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
21072void ldv_module_put_3(struct module *ldv_func_arg1 )
21073{
21074
21075 {
21076 {
21077#line 4950
21078 ldv_module_put(ldv_func_arg1);
21079 }
21080#line 4951
21081 return;
21082}
21083}
21084#line 4953 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
21085void ldv_module_put_4(struct module *ldv_func_arg1 )
21086{
21087
21088 {
21089 {
21090#line 4958
21091 ldv_module_put(ldv_func_arg1);
21092 }
21093#line 4959
21094 return;
21095}
21096}
21097#line 4961 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
21098void ldv_module_put_5(struct module *ldv_func_arg1 )
21099{
21100
21101 {
21102 {
21103#line 4966
21104 ldv_module_put(ldv_func_arg1);
21105 }
21106#line 4967
21107 return;
21108}
21109}
21110#line 4969 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
21111void ldv_module_put_6(struct module *ldv_func_arg1 )
21112{
21113
21114 {
21115 {
21116#line 4974
21117 ldv_module_put(ldv_func_arg1);
21118 }
21119#line 4975
21120 return;
21121}
21122}
21123#line 4977 "/anthill/stuff/tacas-comp/work/current--X--drivers/net/ppp_generic.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/net/ppp_generic.c.p"
21124__inline static int ldv_try_module_get_7(struct module *module )
21125{ int tmp ;
21126
21127 {
21128 {
21129#line 4982
21130 tmp = ldv_try_module_get(module);
21131 }
21132#line 4982
21133 return (tmp);
21134}
21135}