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