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 30 "include/asm-generic/int-ll64.h"
17typedef unsigned long long __u64;
18#line 43 "include/asm-generic/int-ll64.h"
19typedef unsigned char u8;
20#line 45 "include/asm-generic/int-ll64.h"
21typedef short s16;
22#line 46 "include/asm-generic/int-ll64.h"
23typedef unsigned short u16;
24#line 48 "include/asm-generic/int-ll64.h"
25typedef int s32;
26#line 49 "include/asm-generic/int-ll64.h"
27typedef unsigned int u32;
28#line 51 "include/asm-generic/int-ll64.h"
29typedef long long s64;
30#line 52 "include/asm-generic/int-ll64.h"
31typedef unsigned long long u64;
32#line 14 "include/asm-generic/posix_types.h"
33typedef long __kernel_long_t;
34#line 15 "include/asm-generic/posix_types.h"
35typedef unsigned long __kernel_ulong_t;
36#line 52 "include/asm-generic/posix_types.h"
37typedef unsigned int __kernel_uid32_t;
38#line 53 "include/asm-generic/posix_types.h"
39typedef unsigned int __kernel_gid32_t;
40#line 75 "include/asm-generic/posix_types.h"
41typedef __kernel_ulong_t __kernel_size_t;
42#line 76 "include/asm-generic/posix_types.h"
43typedef __kernel_long_t __kernel_ssize_t;
44#line 91 "include/asm-generic/posix_types.h"
45typedef long long __kernel_loff_t;
46#line 92 "include/asm-generic/posix_types.h"
47typedef __kernel_long_t __kernel_time_t;
48#line 21 "include/linux/types.h"
49typedef __u32 __kernel_dev_t;
50#line 24 "include/linux/types.h"
51typedef __kernel_dev_t dev_t;
52#line 27 "include/linux/types.h"
53typedef unsigned short umode_t;
54#line 38 "include/linux/types.h"
55typedef _Bool bool;
56#line 40 "include/linux/types.h"
57typedef __kernel_uid32_t uid_t;
58#line 41 "include/linux/types.h"
59typedef __kernel_gid32_t gid_t;
60#line 54 "include/linux/types.h"
61typedef __kernel_loff_t loff_t;
62#line 63 "include/linux/types.h"
63typedef __kernel_size_t size_t;
64#line 68 "include/linux/types.h"
65typedef __kernel_ssize_t ssize_t;
66#line 78 "include/linux/types.h"
67typedef __kernel_time_t time_t;
68#line 142 "include/linux/types.h"
69typedef unsigned long sector_t;
70#line 143 "include/linux/types.h"
71typedef unsigned long blkcnt_t;
72#line 202 "include/linux/types.h"
73typedef unsigned int gfp_t;
74#line 203 "include/linux/types.h"
75typedef unsigned int fmode_t;
76#line 206 "include/linux/types.h"
77typedef u64 phys_addr_t;
78#line 211 "include/linux/types.h"
79typedef phys_addr_t resource_size_t;
80#line 221 "include/linux/types.h"
81struct __anonstruct_atomic_t_6 {
82 int counter ;
83};
84#line 221 "include/linux/types.h"
85typedef struct __anonstruct_atomic_t_6 atomic_t;
86#line 226 "include/linux/types.h"
87struct __anonstruct_atomic64_t_7 {
88 long counter ;
89};
90#line 226 "include/linux/types.h"
91typedef struct __anonstruct_atomic64_t_7 atomic64_t;
92#line 227 "include/linux/types.h"
93struct list_head {
94 struct list_head *next ;
95 struct list_head *prev ;
96};
97#line 232
98struct hlist_node;
99#line 232 "include/linux/types.h"
100struct hlist_head {
101 struct hlist_node *first ;
102};
103#line 236 "include/linux/types.h"
104struct hlist_node {
105 struct hlist_node *next ;
106 struct hlist_node **pprev ;
107};
108#line 247 "include/linux/types.h"
109struct rcu_head {
110 struct rcu_head *next ;
111 void (*func)(struct rcu_head * ) ;
112};
113#line 55 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
114struct module;
115#line 55
116struct module;
117#line 146 "include/linux/init.h"
118typedef void (*ctor_fn_t)(void);
119#line 46 "include/linux/dynamic_debug.h"
120struct device;
121#line 46
122struct device;
123#line 57
124struct completion;
125#line 57
126struct completion;
127#line 58
128struct pt_regs;
129#line 58
130struct pt_regs;
131#line 348 "include/linux/kernel.h"
132struct pid;
133#line 348
134struct pid;
135#line 112 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/stat.h"
136struct timespec;
137#line 112
138struct timespec;
139#line 58 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page_types.h"
140struct page;
141#line 58
142struct page;
143#line 26 "include/asm-generic/getorder.h"
144struct task_struct;
145#line 26
146struct task_struct;
147#line 268 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/segment.h"
148struct pt_regs {
149 unsigned long r15 ;
150 unsigned long r14 ;
151 unsigned long r13 ;
152 unsigned long r12 ;
153 unsigned long bp ;
154 unsigned long bx ;
155 unsigned long r11 ;
156 unsigned long r10 ;
157 unsigned long r9 ;
158 unsigned long r8 ;
159 unsigned long ax ;
160 unsigned long cx ;
161 unsigned long dx ;
162 unsigned long si ;
163 unsigned long di ;
164 unsigned long orig_ax ;
165 unsigned long ip ;
166 unsigned long cs ;
167 unsigned long flags ;
168 unsigned long sp ;
169 unsigned long ss ;
170};
171#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
172struct __anonstruct_ldv_2180_13 {
173 unsigned int a ;
174 unsigned int b ;
175};
176#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
177struct __anonstruct_ldv_2195_14 {
178 u16 limit0 ;
179 u16 base0 ;
180 unsigned char base1 ;
181 unsigned char type : 4 ;
182 unsigned char s : 1 ;
183 unsigned char dpl : 2 ;
184 unsigned char p : 1 ;
185 unsigned char limit : 4 ;
186 unsigned char avl : 1 ;
187 unsigned char l : 1 ;
188 unsigned char d : 1 ;
189 unsigned char g : 1 ;
190 unsigned char base2 ;
191};
192#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
193union __anonunion_ldv_2196_12 {
194 struct __anonstruct_ldv_2180_13 ldv_2180 ;
195 struct __anonstruct_ldv_2195_14 ldv_2195 ;
196};
197#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
198struct desc_struct {
199 union __anonunion_ldv_2196_12 ldv_2196 ;
200};
201#line 43 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
202struct gate_struct64 {
203 u16 offset_low ;
204 u16 segment ;
205 unsigned char ist : 3 ;
206 unsigned char zero0 : 5 ;
207 unsigned char type : 5 ;
208 unsigned char dpl : 2 ;
209 unsigned char p : 1 ;
210 u16 offset_middle ;
211 u32 offset_high ;
212 u32 zero1 ;
213};
214#line 81 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
215typedef struct gate_struct64 gate_desc;
216#line 84 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
217struct desc_ptr {
218 unsigned short size ;
219 unsigned long address ;
220};
221#line 290 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
222struct file;
223#line 290
224struct file;
225#line 305
226struct seq_file;
227#line 305
228struct seq_file;
229#line 337
230struct thread_struct;
231#line 337
232struct thread_struct;
233#line 338
234struct tss_struct;
235#line 338
236struct tss_struct;
237#line 101 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
238struct pv_cpu_ops {
239 unsigned long (*get_debugreg)(int ) ;
240 void (*set_debugreg)(int , unsigned long ) ;
241 void (*clts)(void) ;
242 unsigned long (*read_cr0)(void) ;
243 void (*write_cr0)(unsigned long ) ;
244 unsigned long (*read_cr4_safe)(void) ;
245 unsigned long (*read_cr4)(void) ;
246 void (*write_cr4)(unsigned long ) ;
247 unsigned long (*read_cr8)(void) ;
248 void (*write_cr8)(unsigned long ) ;
249 void (*load_tr_desc)(void) ;
250 void (*load_gdt)(struct desc_ptr const * ) ;
251 void (*load_idt)(struct desc_ptr const * ) ;
252 void (*store_gdt)(struct desc_ptr * ) ;
253 void (*store_idt)(struct desc_ptr * ) ;
254 void (*set_ldt)(void const * , unsigned int ) ;
255 unsigned long (*store_tr)(void) ;
256 void (*load_tls)(struct thread_struct * , unsigned int ) ;
257 void (*load_gs_index)(unsigned int ) ;
258 void (*write_ldt_entry)(struct desc_struct * , int , void const * ) ;
259 void (*write_gdt_entry)(struct desc_struct * , int , void const * , int ) ;
260 void (*write_idt_entry)(gate_desc * , int , gate_desc const * ) ;
261 void (*alloc_ldt)(struct desc_struct * , unsigned int ) ;
262 void (*free_ldt)(struct desc_struct * , unsigned int ) ;
263 void (*load_sp0)(struct tss_struct * , struct thread_struct * ) ;
264 void (*set_iopl_mask)(unsigned int ) ;
265 void (*wbinvd)(void) ;
266 void (*io_delay)(void) ;
267 void (*cpuid)(unsigned int * , unsigned int * , unsigned int * , unsigned int * ) ;
268 u64 (*read_msr)(unsigned int , int * ) ;
269 int (*rdmsr_regs)(u32 * ) ;
270 int (*write_msr)(unsigned int , unsigned int , unsigned int ) ;
271 int (*wrmsr_regs)(u32 * ) ;
272 u64 (*read_tsc)(void) ;
273 u64 (*read_pmc)(int ) ;
274 unsigned long long (*read_tscp)(unsigned int * ) ;
275 void (*irq_enable_sysexit)(void) ;
276 void (*usergs_sysret64)(void) ;
277 void (*usergs_sysret32)(void) ;
278 void (*iret)(void) ;
279 void (*swapgs)(void) ;
280 void (*start_context_switch)(struct task_struct * ) ;
281 void (*end_context_switch)(struct task_struct * ) ;
282};
283#line 327
284struct arch_spinlock;
285#line 327
286struct arch_spinlock;
287#line 300 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
288struct kernel_vm86_regs {
289 struct pt_regs pt ;
290 unsigned short es ;
291 unsigned short __esh ;
292 unsigned short ds ;
293 unsigned short __dsh ;
294 unsigned short fs ;
295 unsigned short __fsh ;
296 unsigned short gs ;
297 unsigned short __gsh ;
298};
299#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
300union __anonunion_ldv_2824_19 {
301 struct pt_regs *regs ;
302 struct kernel_vm86_regs *vm86 ;
303};
304#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
305struct math_emu_info {
306 long ___orig_eip ;
307 union __anonunion_ldv_2824_19 ldv_2824 ;
308};
309#line 306 "include/linux/bitmap.h"
310struct bug_entry {
311 int bug_addr_disp ;
312 int file_disp ;
313 unsigned short line ;
314 unsigned short flags ;
315};
316#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
317struct static_key;
318#line 234
319struct static_key;
320#line 199 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
321struct x86_hw_tss {
322 u32 reserved1 ;
323 u64 sp0 ;
324 u64 sp1 ;
325 u64 sp2 ;
326 u64 reserved2 ;
327 u64 ist[7U] ;
328 u32 reserved3 ;
329 u32 reserved4 ;
330 u16 reserved5 ;
331 u16 io_bitmap_base ;
332};
333#line 246 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
334struct tss_struct {
335 struct x86_hw_tss x86_tss ;
336 unsigned long io_bitmap[1025U] ;
337 unsigned long stack[64U] ;
338};
339#line 287 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
340struct i387_fsave_struct {
341 u32 cwd ;
342 u32 swd ;
343 u32 twd ;
344 u32 fip ;
345 u32 fcs ;
346 u32 foo ;
347 u32 fos ;
348 u32 st_space[20U] ;
349 u32 status ;
350};
351#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
352struct __anonstruct_ldv_5180_24 {
353 u64 rip ;
354 u64 rdp ;
355};
356#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
357struct __anonstruct_ldv_5186_25 {
358 u32 fip ;
359 u32 fcs ;
360 u32 foo ;
361 u32 fos ;
362};
363#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
364union __anonunion_ldv_5187_23 {
365 struct __anonstruct_ldv_5180_24 ldv_5180 ;
366 struct __anonstruct_ldv_5186_25 ldv_5186 ;
367};
368#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
369union __anonunion_ldv_5196_26 {
370 u32 padding1[12U] ;
371 u32 sw_reserved[12U] ;
372};
373#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
374struct i387_fxsave_struct {
375 u16 cwd ;
376 u16 swd ;
377 u16 twd ;
378 u16 fop ;
379 union __anonunion_ldv_5187_23 ldv_5187 ;
380 u32 mxcsr ;
381 u32 mxcsr_mask ;
382 u32 st_space[32U] ;
383 u32 xmm_space[64U] ;
384 u32 padding[12U] ;
385 union __anonunion_ldv_5196_26 ldv_5196 ;
386};
387#line 339 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
388struct i387_soft_struct {
389 u32 cwd ;
390 u32 swd ;
391 u32 twd ;
392 u32 fip ;
393 u32 fcs ;
394 u32 foo ;
395 u32 fos ;
396 u32 st_space[20U] ;
397 u8 ftop ;
398 u8 changed ;
399 u8 lookahead ;
400 u8 no_update ;
401 u8 rm ;
402 u8 alimit ;
403 struct math_emu_info *info ;
404 u32 entry_eip ;
405};
406#line 360 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
407struct ymmh_struct {
408 u32 ymmh_space[64U] ;
409};
410#line 365 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
411struct xsave_hdr_struct {
412 u64 xstate_bv ;
413 u64 reserved1[2U] ;
414 u64 reserved2[5U] ;
415};
416#line 371 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
417struct xsave_struct {
418 struct i387_fxsave_struct i387 ;
419 struct xsave_hdr_struct xsave_hdr ;
420 struct ymmh_struct ymmh ;
421};
422#line 377 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
423union thread_xstate {
424 struct i387_fsave_struct fsave ;
425 struct i387_fxsave_struct fxsave ;
426 struct i387_soft_struct soft ;
427 struct xsave_struct xsave ;
428};
429#line 385 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
430struct fpu {
431 unsigned int last_cpu ;
432 unsigned int has_fpu ;
433 union thread_xstate *state ;
434};
435#line 433
436struct kmem_cache;
437#line 434
438struct perf_event;
439#line 434
440struct perf_event;
441#line 435 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
442struct thread_struct {
443 struct desc_struct tls_array[3U] ;
444 unsigned long sp0 ;
445 unsigned long sp ;
446 unsigned long usersp ;
447 unsigned short es ;
448 unsigned short ds ;
449 unsigned short fsindex ;
450 unsigned short gsindex ;
451 unsigned long fs ;
452 unsigned long gs ;
453 struct perf_event *ptrace_bps[4U] ;
454 unsigned long debugreg6 ;
455 unsigned long ptrace_dr7 ;
456 unsigned long cr2 ;
457 unsigned long trap_nr ;
458 unsigned long error_code ;
459 struct fpu fpu ;
460 unsigned long *io_bitmap_ptr ;
461 unsigned long iopl ;
462 unsigned int io_bitmap_max ;
463};
464#line 23 "include/asm-generic/atomic-long.h"
465typedef atomic64_t atomic_long_t;
466#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
467typedef u16 __ticket_t;
468#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
469typedef u32 __ticketpair_t;
470#line 16 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
471struct __raw_tickets {
472 __ticket_t head ;
473 __ticket_t tail ;
474};
475#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
476union __anonunion_ldv_5907_29 {
477 __ticketpair_t head_tail ;
478 struct __raw_tickets tickets ;
479};
480#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
481struct arch_spinlock {
482 union __anonunion_ldv_5907_29 ldv_5907 ;
483};
484#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
485typedef struct arch_spinlock arch_spinlock_t;
486#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
487struct __anonstruct_ldv_5914_31 {
488 u32 read ;
489 s32 write ;
490};
491#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
492union __anonunion_arch_rwlock_t_30 {
493 s64 lock ;
494 struct __anonstruct_ldv_5914_31 ldv_5914 ;
495};
496#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
497typedef union __anonunion_arch_rwlock_t_30 arch_rwlock_t;
498#line 34
499struct lockdep_map;
500#line 34
501struct lockdep_map;
502#line 55 "include/linux/debug_locks.h"
503struct stack_trace {
504 unsigned int nr_entries ;
505 unsigned int max_entries ;
506 unsigned long *entries ;
507 int skip ;
508};
509#line 26 "include/linux/stacktrace.h"
510struct lockdep_subclass_key {
511 char __one_byte ;
512};
513#line 53 "include/linux/lockdep.h"
514struct lock_class_key {
515 struct lockdep_subclass_key subkeys[8U] ;
516};
517#line 59 "include/linux/lockdep.h"
518struct lock_class {
519 struct list_head hash_entry ;
520 struct list_head lock_entry ;
521 struct lockdep_subclass_key *key ;
522 unsigned int subclass ;
523 unsigned int dep_gen_id ;
524 unsigned long usage_mask ;
525 struct stack_trace usage_traces[13U] ;
526 struct list_head locks_after ;
527 struct list_head locks_before ;
528 unsigned int version ;
529 unsigned long ops ;
530 char const *name ;
531 int name_version ;
532 unsigned long contention_point[4U] ;
533 unsigned long contending_point[4U] ;
534};
535#line 144 "include/linux/lockdep.h"
536struct lockdep_map {
537 struct lock_class_key *key ;
538 struct lock_class *class_cache[2U] ;
539 char const *name ;
540 int cpu ;
541 unsigned long ip ;
542};
543#line 556 "include/linux/lockdep.h"
544struct raw_spinlock {
545 arch_spinlock_t raw_lock ;
546 unsigned int magic ;
547 unsigned int owner_cpu ;
548 void *owner ;
549 struct lockdep_map dep_map ;
550};
551#line 32 "include/linux/spinlock_types.h"
552typedef struct raw_spinlock raw_spinlock_t;
553#line 33 "include/linux/spinlock_types.h"
554struct __anonstruct_ldv_6122_33 {
555 u8 __padding[24U] ;
556 struct lockdep_map dep_map ;
557};
558#line 33 "include/linux/spinlock_types.h"
559union __anonunion_ldv_6123_32 {
560 struct raw_spinlock rlock ;
561 struct __anonstruct_ldv_6122_33 ldv_6122 ;
562};
563#line 33 "include/linux/spinlock_types.h"
564struct spinlock {
565 union __anonunion_ldv_6123_32 ldv_6123 ;
566};
567#line 76 "include/linux/spinlock_types.h"
568typedef struct spinlock spinlock_t;
569#line 23 "include/linux/rwlock_types.h"
570struct __anonstruct_rwlock_t_34 {
571 arch_rwlock_t raw_lock ;
572 unsigned int magic ;
573 unsigned int owner_cpu ;
574 void *owner ;
575 struct lockdep_map dep_map ;
576};
577#line 23 "include/linux/rwlock_types.h"
578typedef struct __anonstruct_rwlock_t_34 rwlock_t;
579#line 110 "include/linux/seqlock.h"
580struct seqcount {
581 unsigned int sequence ;
582};
583#line 121 "include/linux/seqlock.h"
584typedef struct seqcount seqcount_t;
585#line 254 "include/linux/seqlock.h"
586struct timespec {
587 __kernel_time_t tv_sec ;
588 long tv_nsec ;
589};
590#line 286 "include/linux/time.h"
591struct kstat {
592 u64 ino ;
593 dev_t dev ;
594 umode_t mode ;
595 unsigned int nlink ;
596 uid_t uid ;
597 gid_t gid ;
598 dev_t rdev ;
599 loff_t size ;
600 struct timespec atime ;
601 struct timespec mtime ;
602 struct timespec ctime ;
603 unsigned long blksize ;
604 unsigned long long blocks ;
605};
606#line 48 "include/linux/wait.h"
607struct __wait_queue_head {
608 spinlock_t lock ;
609 struct list_head task_list ;
610};
611#line 53 "include/linux/wait.h"
612typedef struct __wait_queue_head wait_queue_head_t;
613#line 670 "include/linux/mmzone.h"
614struct mutex {
615 atomic_t count ;
616 spinlock_t wait_lock ;
617 struct list_head wait_list ;
618 struct task_struct *owner ;
619 char const *name ;
620 void *magic ;
621 struct lockdep_map dep_map ;
622};
623#line 171 "include/linux/mutex.h"
624struct rw_semaphore;
625#line 171
626struct rw_semaphore;
627#line 172 "include/linux/mutex.h"
628struct rw_semaphore {
629 long count ;
630 raw_spinlock_t wait_lock ;
631 struct list_head wait_list ;
632 struct lockdep_map dep_map ;
633};
634#line 128 "include/linux/rwsem.h"
635struct completion {
636 unsigned int done ;
637 wait_queue_head_t wait ;
638};
639#line 139 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/e820.h"
640struct resource {
641 resource_size_t start ;
642 resource_size_t end ;
643 char const *name ;
644 unsigned long flags ;
645 struct resource *parent ;
646 struct resource *sibling ;
647 struct resource *child ;
648};
649#line 312 "include/linux/jiffies.h"
650union ktime {
651 s64 tv64 ;
652};
653#line 59 "include/linux/ktime.h"
654typedef union ktime ktime_t;
655#line 341
656struct tvec_base;
657#line 341
658struct tvec_base;
659#line 342 "include/linux/ktime.h"
660struct timer_list {
661 struct list_head entry ;
662 unsigned long expires ;
663 struct tvec_base *base ;
664 void (*function)(unsigned long ) ;
665 unsigned long data ;
666 int slack ;
667 int start_pid ;
668 void *start_site ;
669 char start_comm[16U] ;
670 struct lockdep_map lockdep_map ;
671};
672#line 302 "include/linux/timer.h"
673struct work_struct;
674#line 302
675struct work_struct;
676#line 45 "include/linux/workqueue.h"
677struct work_struct {
678 atomic_long_t data ;
679 struct list_head entry ;
680 void (*func)(struct work_struct * ) ;
681 struct lockdep_map lockdep_map ;
682};
683#line 46 "include/linux/pm.h"
684struct pm_message {
685 int event ;
686};
687#line 52 "include/linux/pm.h"
688typedef struct pm_message pm_message_t;
689#line 53 "include/linux/pm.h"
690struct dev_pm_ops {
691 int (*prepare)(struct device * ) ;
692 void (*complete)(struct device * ) ;
693 int (*suspend)(struct device * ) ;
694 int (*resume)(struct device * ) ;
695 int (*freeze)(struct device * ) ;
696 int (*thaw)(struct device * ) ;
697 int (*poweroff)(struct device * ) ;
698 int (*restore)(struct device * ) ;
699 int (*suspend_late)(struct device * ) ;
700 int (*resume_early)(struct device * ) ;
701 int (*freeze_late)(struct device * ) ;
702 int (*thaw_early)(struct device * ) ;
703 int (*poweroff_late)(struct device * ) ;
704 int (*restore_early)(struct device * ) ;
705 int (*suspend_noirq)(struct device * ) ;
706 int (*resume_noirq)(struct device * ) ;
707 int (*freeze_noirq)(struct device * ) ;
708 int (*thaw_noirq)(struct device * ) ;
709 int (*poweroff_noirq)(struct device * ) ;
710 int (*restore_noirq)(struct device * ) ;
711 int (*runtime_suspend)(struct device * ) ;
712 int (*runtime_resume)(struct device * ) ;
713 int (*runtime_idle)(struct device * ) ;
714};
715#line 289
716enum rpm_status {
717 RPM_ACTIVE = 0,
718 RPM_RESUMING = 1,
719 RPM_SUSPENDED = 2,
720 RPM_SUSPENDING = 3
721} ;
722#line 296
723enum rpm_request {
724 RPM_REQ_NONE = 0,
725 RPM_REQ_IDLE = 1,
726 RPM_REQ_SUSPEND = 2,
727 RPM_REQ_AUTOSUSPEND = 3,
728 RPM_REQ_RESUME = 4
729} ;
730#line 304
731struct wakeup_source;
732#line 304
733struct wakeup_source;
734#line 494 "include/linux/pm.h"
735struct pm_subsys_data {
736 spinlock_t lock ;
737 unsigned int refcount ;
738};
739#line 499
740struct dev_pm_qos_request;
741#line 499
742struct pm_qos_constraints;
743#line 499 "include/linux/pm.h"
744struct dev_pm_info {
745 pm_message_t power_state ;
746 unsigned char can_wakeup : 1 ;
747 unsigned char async_suspend : 1 ;
748 bool is_prepared ;
749 bool is_suspended ;
750 bool ignore_children ;
751 spinlock_t lock ;
752 struct list_head entry ;
753 struct completion completion ;
754 struct wakeup_source *wakeup ;
755 bool wakeup_path ;
756 struct timer_list suspend_timer ;
757 unsigned long timer_expires ;
758 struct work_struct work ;
759 wait_queue_head_t wait_queue ;
760 atomic_t usage_count ;
761 atomic_t child_count ;
762 unsigned char disable_depth : 3 ;
763 unsigned char idle_notification : 1 ;
764 unsigned char request_pending : 1 ;
765 unsigned char deferred_resume : 1 ;
766 unsigned char run_wake : 1 ;
767 unsigned char runtime_auto : 1 ;
768 unsigned char no_callbacks : 1 ;
769 unsigned char irq_safe : 1 ;
770 unsigned char use_autosuspend : 1 ;
771 unsigned char timer_autosuspends : 1 ;
772 enum rpm_request request ;
773 enum rpm_status runtime_status ;
774 int runtime_error ;
775 int autosuspend_delay ;
776 unsigned long last_busy ;
777 unsigned long active_jiffies ;
778 unsigned long suspended_jiffies ;
779 unsigned long accounting_timestamp ;
780 ktime_t suspend_time ;
781 s64 max_time_suspended_ns ;
782 struct dev_pm_qos_request *pq_req ;
783 struct pm_subsys_data *subsys_data ;
784 struct pm_qos_constraints *constraints ;
785};
786#line 558 "include/linux/pm.h"
787struct dev_pm_domain {
788 struct dev_pm_ops ops ;
789};
790#line 18 "include/asm-generic/pci_iomap.h"
791struct vm_area_struct;
792#line 18
793struct vm_area_struct;
794#line 37 "include/linux/kmod.h"
795struct cred;
796#line 37
797struct cred;
798#line 18 "include/linux/elf.h"
799typedef __u64 Elf64_Addr;
800#line 19 "include/linux/elf.h"
801typedef __u16 Elf64_Half;
802#line 23 "include/linux/elf.h"
803typedef __u32 Elf64_Word;
804#line 24 "include/linux/elf.h"
805typedef __u64 Elf64_Xword;
806#line 193 "include/linux/elf.h"
807struct elf64_sym {
808 Elf64_Word st_name ;
809 unsigned char st_info ;
810 unsigned char st_other ;
811 Elf64_Half st_shndx ;
812 Elf64_Addr st_value ;
813 Elf64_Xword st_size ;
814};
815#line 201 "include/linux/elf.h"
816typedef struct elf64_sym Elf64_Sym;
817#line 445
818struct sock;
819#line 445
820struct sock;
821#line 446
822struct kobject;
823#line 446
824struct kobject;
825#line 447
826enum kobj_ns_type {
827 KOBJ_NS_TYPE_NONE = 0,
828 KOBJ_NS_TYPE_NET = 1,
829 KOBJ_NS_TYPES = 2
830} ;
831#line 453 "include/linux/elf.h"
832struct kobj_ns_type_operations {
833 enum kobj_ns_type type ;
834 void *(*grab_current_ns)(void) ;
835 void const *(*netlink_ns)(struct sock * ) ;
836 void const *(*initial_ns)(void) ;
837 void (*drop_ns)(void * ) ;
838};
839#line 57 "include/linux/kobject_ns.h"
840struct attribute {
841 char const *name ;
842 umode_t mode ;
843 struct lock_class_key *key ;
844 struct lock_class_key skey ;
845};
846#line 33 "include/linux/sysfs.h"
847struct attribute_group {
848 char const *name ;
849 umode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
850 struct attribute **attrs ;
851};
852#line 62 "include/linux/sysfs.h"
853struct bin_attribute {
854 struct attribute attr ;
855 size_t size ;
856 void *private ;
857 ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
858 loff_t , size_t ) ;
859 ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
860 loff_t , size_t ) ;
861 int (*mmap)(struct file * , struct kobject * , struct bin_attribute * , struct vm_area_struct * ) ;
862};
863#line 98 "include/linux/sysfs.h"
864struct sysfs_ops {
865 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
866 ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ;
867 void const *(*namespace)(struct kobject * , struct attribute const * ) ;
868};
869#line 117
870struct sysfs_dirent;
871#line 117
872struct sysfs_dirent;
873#line 182 "include/linux/sysfs.h"
874struct kref {
875 atomic_t refcount ;
876};
877#line 49 "include/linux/kobject.h"
878struct kset;
879#line 49
880struct kobj_type;
881#line 49 "include/linux/kobject.h"
882struct kobject {
883 char const *name ;
884 struct list_head entry ;
885 struct kobject *parent ;
886 struct kset *kset ;
887 struct kobj_type *ktype ;
888 struct sysfs_dirent *sd ;
889 struct kref kref ;
890 unsigned char state_initialized : 1 ;
891 unsigned char state_in_sysfs : 1 ;
892 unsigned char state_add_uevent_sent : 1 ;
893 unsigned char state_remove_uevent_sent : 1 ;
894 unsigned char uevent_suppress : 1 ;
895};
896#line 107 "include/linux/kobject.h"
897struct kobj_type {
898 void (*release)(struct kobject * ) ;
899 struct sysfs_ops const *sysfs_ops ;
900 struct attribute **default_attrs ;
901 struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject * ) ;
902 void const *(*namespace)(struct kobject * ) ;
903};
904#line 115 "include/linux/kobject.h"
905struct kobj_uevent_env {
906 char *envp[32U] ;
907 int envp_idx ;
908 char buf[2048U] ;
909 int buflen ;
910};
911#line 122 "include/linux/kobject.h"
912struct kset_uevent_ops {
913 int (* const filter)(struct kset * , struct kobject * ) ;
914 char const *(* const name)(struct kset * , struct kobject * ) ;
915 int (* const uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
916};
917#line 139 "include/linux/kobject.h"
918struct kset {
919 struct list_head list ;
920 spinlock_t list_lock ;
921 struct kobject kobj ;
922 struct kset_uevent_ops const *uevent_ops ;
923};
924#line 215
925struct kernel_param;
926#line 215
927struct kernel_param;
928#line 216 "include/linux/kobject.h"
929struct kernel_param_ops {
930 int (*set)(char const * , struct kernel_param const * ) ;
931 int (*get)(char * , struct kernel_param const * ) ;
932 void (*free)(void * ) ;
933};
934#line 49 "include/linux/moduleparam.h"
935struct kparam_string;
936#line 49
937struct kparam_array;
938#line 49 "include/linux/moduleparam.h"
939union __anonunion_ldv_13363_134 {
940 void *arg ;
941 struct kparam_string const *str ;
942 struct kparam_array const *arr ;
943};
944#line 49 "include/linux/moduleparam.h"
945struct kernel_param {
946 char const *name ;
947 struct kernel_param_ops const *ops ;
948 u16 perm ;
949 s16 level ;
950 union __anonunion_ldv_13363_134 ldv_13363 ;
951};
952#line 61 "include/linux/moduleparam.h"
953struct kparam_string {
954 unsigned int maxlen ;
955 char *string ;
956};
957#line 67 "include/linux/moduleparam.h"
958struct kparam_array {
959 unsigned int max ;
960 unsigned int elemsize ;
961 unsigned int *num ;
962 struct kernel_param_ops const *ops ;
963 void *elem ;
964};
965#line 458 "include/linux/moduleparam.h"
966struct static_key {
967 atomic_t enabled ;
968};
969#line 225 "include/linux/jump_label.h"
970struct tracepoint;
971#line 225
972struct tracepoint;
973#line 226 "include/linux/jump_label.h"
974struct tracepoint_func {
975 void *func ;
976 void *data ;
977};
978#line 29 "include/linux/tracepoint.h"
979struct tracepoint {
980 char const *name ;
981 struct static_key key ;
982 void (*regfunc)(void) ;
983 void (*unregfunc)(void) ;
984 struct tracepoint_func *funcs ;
985};
986#line 86 "include/linux/tracepoint.h"
987struct kernel_symbol {
988 unsigned long value ;
989 char const *name ;
990};
991#line 27 "include/linux/export.h"
992struct mod_arch_specific {
993
994};
995#line 34 "include/linux/module.h"
996struct module_param_attrs;
997#line 34 "include/linux/module.h"
998struct module_kobject {
999 struct kobject kobj ;
1000 struct module *mod ;
1001 struct kobject *drivers_dir ;
1002 struct module_param_attrs *mp ;
1003};
1004#line 43 "include/linux/module.h"
1005struct module_attribute {
1006 struct attribute attr ;
1007 ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
1008 ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const * ,
1009 size_t ) ;
1010 void (*setup)(struct module * , char const * ) ;
1011 int (*test)(struct module * ) ;
1012 void (*free)(struct module * ) ;
1013};
1014#line 69
1015struct exception_table_entry;
1016#line 69
1017struct exception_table_entry;
1018#line 198
1019enum module_state {
1020 MODULE_STATE_LIVE = 0,
1021 MODULE_STATE_COMING = 1,
1022 MODULE_STATE_GOING = 2
1023} ;
1024#line 204 "include/linux/module.h"
1025struct module_ref {
1026 unsigned long incs ;
1027 unsigned long decs ;
1028};
1029#line 219
1030struct module_sect_attrs;
1031#line 219
1032struct module_notes_attrs;
1033#line 219
1034struct ftrace_event_call;
1035#line 219 "include/linux/module.h"
1036struct module {
1037 enum module_state state ;
1038 struct list_head list ;
1039 char name[56U] ;
1040 struct module_kobject mkobj ;
1041 struct module_attribute *modinfo_attrs ;
1042 char const *version ;
1043 char const *srcversion ;
1044 struct kobject *holders_dir ;
1045 struct kernel_symbol const *syms ;
1046 unsigned long const *crcs ;
1047 unsigned int num_syms ;
1048 struct kernel_param *kp ;
1049 unsigned int num_kp ;
1050 unsigned int num_gpl_syms ;
1051 struct kernel_symbol const *gpl_syms ;
1052 unsigned long const *gpl_crcs ;
1053 struct kernel_symbol const *unused_syms ;
1054 unsigned long const *unused_crcs ;
1055 unsigned int num_unused_syms ;
1056 unsigned int num_unused_gpl_syms ;
1057 struct kernel_symbol const *unused_gpl_syms ;
1058 unsigned long const *unused_gpl_crcs ;
1059 struct kernel_symbol const *gpl_future_syms ;
1060 unsigned long const *gpl_future_crcs ;
1061 unsigned int num_gpl_future_syms ;
1062 unsigned int num_exentries ;
1063 struct exception_table_entry *extable ;
1064 int (*init)(void) ;
1065 void *module_init ;
1066 void *module_core ;
1067 unsigned int init_size ;
1068 unsigned int core_size ;
1069 unsigned int init_text_size ;
1070 unsigned int core_text_size ;
1071 unsigned int init_ro_size ;
1072 unsigned int core_ro_size ;
1073 struct mod_arch_specific arch ;
1074 unsigned int taints ;
1075 unsigned int num_bugs ;
1076 struct list_head bug_list ;
1077 struct bug_entry *bug_table ;
1078 Elf64_Sym *symtab ;
1079 Elf64_Sym *core_symtab ;
1080 unsigned int num_symtab ;
1081 unsigned int core_num_syms ;
1082 char *strtab ;
1083 char *core_strtab ;
1084 struct module_sect_attrs *sect_attrs ;
1085 struct module_notes_attrs *notes_attrs ;
1086 char *args ;
1087 void *percpu ;
1088 unsigned int percpu_size ;
1089 unsigned int num_tracepoints ;
1090 struct tracepoint * const *tracepoints_ptrs ;
1091 unsigned int num_trace_bprintk_fmt ;
1092 char const **trace_bprintk_fmt_start ;
1093 struct ftrace_event_call **trace_events ;
1094 unsigned int num_trace_events ;
1095 struct list_head source_list ;
1096 struct list_head target_list ;
1097 struct task_struct *waiter ;
1098 void (*exit)(void) ;
1099 struct module_ref *refptr ;
1100 ctor_fn_t (**ctors)(void) ;
1101 unsigned int num_ctors ;
1102};
1103#line 88 "include/linux/kmemleak.h"
1104struct kmem_cache_cpu {
1105 void **freelist ;
1106 unsigned long tid ;
1107 struct page *page ;
1108 struct page *partial ;
1109 int node ;
1110 unsigned int stat[26U] ;
1111};
1112#line 55 "include/linux/slub_def.h"
1113struct kmem_cache_node {
1114 spinlock_t list_lock ;
1115 unsigned long nr_partial ;
1116 struct list_head partial ;
1117 atomic_long_t nr_slabs ;
1118 atomic_long_t total_objects ;
1119 struct list_head full ;
1120};
1121#line 66 "include/linux/slub_def.h"
1122struct kmem_cache_order_objects {
1123 unsigned long x ;
1124};
1125#line 76 "include/linux/slub_def.h"
1126struct kmem_cache {
1127 struct kmem_cache_cpu *cpu_slab ;
1128 unsigned long flags ;
1129 unsigned long min_partial ;
1130 int size ;
1131 int objsize ;
1132 int offset ;
1133 int cpu_partial ;
1134 struct kmem_cache_order_objects oo ;
1135 struct kmem_cache_order_objects max ;
1136 struct kmem_cache_order_objects min ;
1137 gfp_t allocflags ;
1138 int refcount ;
1139 void (*ctor)(void * ) ;
1140 int inuse ;
1141 int align ;
1142 int reserved ;
1143 char const *name ;
1144 struct list_head list ;
1145 struct kobject kobj ;
1146 int remote_node_defrag_ratio ;
1147 struct kmem_cache_node *node[1024U] ;
1148};
1149#line 32 "include/linux/input.h"
1150struct input_id {
1151 __u16 bustype ;
1152 __u16 vendor ;
1153 __u16 product ;
1154 __u16 version ;
1155};
1156#line 49 "include/linux/input.h"
1157struct input_absinfo {
1158 __s32 value ;
1159 __s32 minimum ;
1160 __s32 maximum ;
1161 __s32 fuzz ;
1162 __s32 flat ;
1163 __s32 resolution ;
1164};
1165#line 77 "include/linux/input.h"
1166struct input_keymap_entry {
1167 __u8 flags ;
1168 __u8 len ;
1169 __u16 index ;
1170 __u32 keycode ;
1171 __u8 scancode[32U] ;
1172};
1173#line 101 "include/linux/input.h"
1174struct ff_replay {
1175 __u16 length ;
1176 __u16 delay ;
1177};
1178#line 961 "include/linux/input.h"
1179struct ff_trigger {
1180 __u16 button ;
1181 __u16 interval ;
1182};
1183#line 971 "include/linux/input.h"
1184struct ff_envelope {
1185 __u16 attack_length ;
1186 __u16 attack_level ;
1187 __u16 fade_length ;
1188 __u16 fade_level ;
1189};
1190#line 990 "include/linux/input.h"
1191struct ff_constant_effect {
1192 __s16 level ;
1193 struct ff_envelope envelope ;
1194};
1195#line 1000 "include/linux/input.h"
1196struct ff_ramp_effect {
1197 __s16 start_level ;
1198 __s16 end_level ;
1199 struct ff_envelope envelope ;
1200};
1201#line 1012 "include/linux/input.h"
1202struct ff_condition_effect {
1203 __u16 right_saturation ;
1204 __u16 left_saturation ;
1205 __s16 right_coeff ;
1206 __s16 left_coeff ;
1207 __u16 deadband ;
1208 __s16 center ;
1209};
1210#line 1033 "include/linux/input.h"
1211struct ff_periodic_effect {
1212 __u16 waveform ;
1213 __u16 period ;
1214 __s16 magnitude ;
1215 __s16 offset ;
1216 __u16 phase ;
1217 struct ff_envelope envelope ;
1218 __u32 custom_len ;
1219 __s16 *custom_data ;
1220};
1221#line 1064 "include/linux/input.h"
1222struct ff_rumble_effect {
1223 __u16 strong_magnitude ;
1224 __u16 weak_magnitude ;
1225};
1226#line 1077 "include/linux/input.h"
1227union __anonunion_u_135 {
1228 struct ff_constant_effect constant ;
1229 struct ff_ramp_effect ramp ;
1230 struct ff_periodic_effect periodic ;
1231 struct ff_condition_effect condition[2U] ;
1232 struct ff_rumble_effect rumble ;
1233};
1234#line 1077 "include/linux/input.h"
1235struct ff_effect {
1236 __u16 type ;
1237 __s16 id ;
1238 __u16 direction ;
1239 struct ff_trigger trigger ;
1240 struct ff_replay replay ;
1241 union __anonunion_u_135 u ;
1242};
1243#line 1116
1244struct klist_node;
1245#line 1116
1246struct klist_node;
1247#line 37 "include/linux/klist.h"
1248struct klist_node {
1249 void *n_klist ;
1250 struct list_head n_node ;
1251 struct kref n_ref ;
1252};
1253#line 67
1254struct dma_map_ops;
1255#line 67 "include/linux/klist.h"
1256struct dev_archdata {
1257 void *acpi_handle ;
1258 struct dma_map_ops *dma_ops ;
1259 void *iommu ;
1260};
1261#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1262struct pdev_archdata {
1263
1264};
1265#line 17
1266struct device_private;
1267#line 17
1268struct device_private;
1269#line 18
1270struct device_driver;
1271#line 18
1272struct device_driver;
1273#line 19
1274struct driver_private;
1275#line 19
1276struct driver_private;
1277#line 20
1278struct class;
1279#line 20
1280struct class;
1281#line 21
1282struct subsys_private;
1283#line 21
1284struct subsys_private;
1285#line 22
1286struct bus_type;
1287#line 22
1288struct bus_type;
1289#line 23
1290struct device_node;
1291#line 23
1292struct device_node;
1293#line 24
1294struct iommu_ops;
1295#line 24
1296struct iommu_ops;
1297#line 25 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1298struct bus_attribute {
1299 struct attribute attr ;
1300 ssize_t (*show)(struct bus_type * , char * ) ;
1301 ssize_t (*store)(struct bus_type * , char const * , size_t ) ;
1302};
1303#line 51 "include/linux/device.h"
1304struct device_attribute;
1305#line 51
1306struct driver_attribute;
1307#line 51 "include/linux/device.h"
1308struct bus_type {
1309 char const *name ;
1310 char const *dev_name ;
1311 struct device *dev_root ;
1312 struct bus_attribute *bus_attrs ;
1313 struct device_attribute *dev_attrs ;
1314 struct driver_attribute *drv_attrs ;
1315 int (*match)(struct device * , struct device_driver * ) ;
1316 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1317 int (*probe)(struct device * ) ;
1318 int (*remove)(struct device * ) ;
1319 void (*shutdown)(struct device * ) ;
1320 int (*suspend)(struct device * , pm_message_t ) ;
1321 int (*resume)(struct device * ) ;
1322 struct dev_pm_ops const *pm ;
1323 struct iommu_ops *iommu_ops ;
1324 struct subsys_private *p ;
1325};
1326#line 125
1327struct device_type;
1328#line 182
1329struct of_device_id;
1330#line 182 "include/linux/device.h"
1331struct device_driver {
1332 char const *name ;
1333 struct bus_type *bus ;
1334 struct module *owner ;
1335 char const *mod_name ;
1336 bool suppress_bind_attrs ;
1337 struct of_device_id const *of_match_table ;
1338 int (*probe)(struct device * ) ;
1339 int (*remove)(struct device * ) ;
1340 void (*shutdown)(struct device * ) ;
1341 int (*suspend)(struct device * , pm_message_t ) ;
1342 int (*resume)(struct device * ) ;
1343 struct attribute_group const **groups ;
1344 struct dev_pm_ops const *pm ;
1345 struct driver_private *p ;
1346};
1347#line 245 "include/linux/device.h"
1348struct driver_attribute {
1349 struct attribute attr ;
1350 ssize_t (*show)(struct device_driver * , char * ) ;
1351 ssize_t (*store)(struct device_driver * , char const * , size_t ) ;
1352};
1353#line 299
1354struct class_attribute;
1355#line 299 "include/linux/device.h"
1356struct class {
1357 char const *name ;
1358 struct module *owner ;
1359 struct class_attribute *class_attrs ;
1360 struct device_attribute *dev_attrs ;
1361 struct bin_attribute *dev_bin_attrs ;
1362 struct kobject *dev_kobj ;
1363 int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ;
1364 char *(*devnode)(struct device * , umode_t * ) ;
1365 void (*class_release)(struct class * ) ;
1366 void (*dev_release)(struct device * ) ;
1367 int (*suspend)(struct device * , pm_message_t ) ;
1368 int (*resume)(struct device * ) ;
1369 struct kobj_ns_type_operations const *ns_type ;
1370 void const *(*namespace)(struct device * ) ;
1371 struct dev_pm_ops const *pm ;
1372 struct subsys_private *p ;
1373};
1374#line 394 "include/linux/device.h"
1375struct class_attribute {
1376 struct attribute attr ;
1377 ssize_t (*show)(struct class * , struct class_attribute * , char * ) ;
1378 ssize_t (*store)(struct class * , struct class_attribute * , char const * , size_t ) ;
1379 void const *(*namespace)(struct class * , struct class_attribute const * ) ;
1380};
1381#line 447 "include/linux/device.h"
1382struct device_type {
1383 char const *name ;
1384 struct attribute_group const **groups ;
1385 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1386 char *(*devnode)(struct device * , umode_t * ) ;
1387 void (*release)(struct device * ) ;
1388 struct dev_pm_ops const *pm ;
1389};
1390#line 474 "include/linux/device.h"
1391struct device_attribute {
1392 struct attribute attr ;
1393 ssize_t (*show)(struct device * , struct device_attribute * , char * ) ;
1394 ssize_t (*store)(struct device * , struct device_attribute * , char const * ,
1395 size_t ) ;
1396};
1397#line 557 "include/linux/device.h"
1398struct device_dma_parameters {
1399 unsigned int max_segment_size ;
1400 unsigned long segment_boundary_mask ;
1401};
1402#line 567
1403struct dma_coherent_mem;
1404#line 567 "include/linux/device.h"
1405struct device {
1406 struct device *parent ;
1407 struct device_private *p ;
1408 struct kobject kobj ;
1409 char const *init_name ;
1410 struct device_type const *type ;
1411 struct mutex mutex ;
1412 struct bus_type *bus ;
1413 struct device_driver *driver ;
1414 void *platform_data ;
1415 struct dev_pm_info power ;
1416 struct dev_pm_domain *pm_domain ;
1417 int numa_node ;
1418 u64 *dma_mask ;
1419 u64 coherent_dma_mask ;
1420 struct device_dma_parameters *dma_parms ;
1421 struct list_head dma_pools ;
1422 struct dma_coherent_mem *dma_mem ;
1423 struct dev_archdata archdata ;
1424 struct device_node *of_node ;
1425 dev_t devt ;
1426 u32 id ;
1427 spinlock_t devres_lock ;
1428 struct list_head devres_head ;
1429 struct klist_node knode_class ;
1430 struct class *class ;
1431 struct attribute_group const **groups ;
1432 void (*release)(struct device * ) ;
1433};
1434#line 681 "include/linux/device.h"
1435struct wakeup_source {
1436 char const *name ;
1437 struct list_head entry ;
1438 spinlock_t lock ;
1439 struct timer_list timer ;
1440 unsigned long timer_expires ;
1441 ktime_t total_time ;
1442 ktime_t max_time ;
1443 ktime_t last_time ;
1444 unsigned long event_count ;
1445 unsigned long active_count ;
1446 unsigned long relax_count ;
1447 unsigned long hit_count ;
1448 unsigned char active : 1 ;
1449};
1450#line 994
1451struct block_device;
1452#line 994
1453struct block_device;
1454#line 93 "include/linux/bit_spinlock.h"
1455struct hlist_bl_node;
1456#line 93 "include/linux/bit_spinlock.h"
1457struct hlist_bl_head {
1458 struct hlist_bl_node *first ;
1459};
1460#line 36 "include/linux/list_bl.h"
1461struct hlist_bl_node {
1462 struct hlist_bl_node *next ;
1463 struct hlist_bl_node **pprev ;
1464};
1465#line 114 "include/linux/rculist_bl.h"
1466struct nameidata;
1467#line 114
1468struct nameidata;
1469#line 115
1470struct path;
1471#line 115
1472struct path;
1473#line 116
1474struct vfsmount;
1475#line 116
1476struct vfsmount;
1477#line 117 "include/linux/rculist_bl.h"
1478struct qstr {
1479 unsigned int hash ;
1480 unsigned int len ;
1481 unsigned char const *name ;
1482};
1483#line 72 "include/linux/dcache.h"
1484struct inode;
1485#line 72
1486struct dentry_operations;
1487#line 72
1488struct super_block;
1489#line 72 "include/linux/dcache.h"
1490union __anonunion_d_u_136 {
1491 struct list_head d_child ;
1492 struct rcu_head d_rcu ;
1493};
1494#line 72 "include/linux/dcache.h"
1495struct dentry {
1496 unsigned int d_flags ;
1497 seqcount_t d_seq ;
1498 struct hlist_bl_node d_hash ;
1499 struct dentry *d_parent ;
1500 struct qstr d_name ;
1501 struct inode *d_inode ;
1502 unsigned char d_iname[32U] ;
1503 unsigned int d_count ;
1504 spinlock_t d_lock ;
1505 struct dentry_operations const *d_op ;
1506 struct super_block *d_sb ;
1507 unsigned long d_time ;
1508 void *d_fsdata ;
1509 struct list_head d_lru ;
1510 union __anonunion_d_u_136 d_u ;
1511 struct list_head d_subdirs ;
1512 struct list_head d_alias ;
1513};
1514#line 123 "include/linux/dcache.h"
1515struct dentry_operations {
1516 int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
1517 int (*d_hash)(struct dentry const * , struct inode const * , struct qstr * ) ;
1518 int (*d_compare)(struct dentry const * , struct inode const * , struct dentry const * ,
1519 struct inode const * , unsigned int , char const * , struct qstr const * ) ;
1520 int (*d_delete)(struct dentry const * ) ;
1521 void (*d_release)(struct dentry * ) ;
1522 void (*d_prune)(struct dentry * ) ;
1523 void (*d_iput)(struct dentry * , struct inode * ) ;
1524 char *(*d_dname)(struct dentry * , char * , int ) ;
1525 struct vfsmount *(*d_automount)(struct path * ) ;
1526 int (*d_manage)(struct dentry * , bool ) ;
1527};
1528#line 402 "include/linux/dcache.h"
1529struct path {
1530 struct vfsmount *mnt ;
1531 struct dentry *dentry ;
1532};
1533#line 58 "include/linux/radix-tree.h"
1534struct radix_tree_node;
1535#line 58 "include/linux/radix-tree.h"
1536struct radix_tree_root {
1537 unsigned int height ;
1538 gfp_t gfp_mask ;
1539 struct radix_tree_node *rnode ;
1540};
1541#line 377
1542struct prio_tree_node;
1543#line 19 "include/linux/prio_tree.h"
1544struct prio_tree_node {
1545 struct prio_tree_node *left ;
1546 struct prio_tree_node *right ;
1547 struct prio_tree_node *parent ;
1548 unsigned long start ;
1549 unsigned long last ;
1550};
1551#line 27 "include/linux/prio_tree.h"
1552struct prio_tree_root {
1553 struct prio_tree_node *prio_tree_node ;
1554 unsigned short index_bits ;
1555 unsigned short raw ;
1556};
1557#line 111
1558enum pid_type {
1559 PIDTYPE_PID = 0,
1560 PIDTYPE_PGID = 1,
1561 PIDTYPE_SID = 2,
1562 PIDTYPE_MAX = 3
1563} ;
1564#line 118
1565struct pid_namespace;
1566#line 118 "include/linux/prio_tree.h"
1567struct upid {
1568 int nr ;
1569 struct pid_namespace *ns ;
1570 struct hlist_node pid_chain ;
1571};
1572#line 56 "include/linux/pid.h"
1573struct pid {
1574 atomic_t count ;
1575 unsigned int level ;
1576 struct hlist_head tasks[3U] ;
1577 struct rcu_head rcu ;
1578 struct upid numbers[1U] ;
1579};
1580#line 45 "include/linux/semaphore.h"
1581struct fiemap_extent {
1582 __u64 fe_logical ;
1583 __u64 fe_physical ;
1584 __u64 fe_length ;
1585 __u64 fe_reserved64[2U] ;
1586 __u32 fe_flags ;
1587 __u32 fe_reserved[3U] ;
1588};
1589#line 38 "include/linux/fiemap.h"
1590struct shrink_control {
1591 gfp_t gfp_mask ;
1592 unsigned long nr_to_scan ;
1593};
1594#line 14 "include/linux/shrinker.h"
1595struct shrinker {
1596 int (*shrink)(struct shrinker * , struct shrink_control * ) ;
1597 int seeks ;
1598 long batch ;
1599 struct list_head list ;
1600 atomic_long_t nr_in_batch ;
1601};
1602#line 43
1603enum migrate_mode {
1604 MIGRATE_ASYNC = 0,
1605 MIGRATE_SYNC_LIGHT = 1,
1606 MIGRATE_SYNC = 2
1607} ;
1608#line 49
1609struct export_operations;
1610#line 49
1611struct export_operations;
1612#line 51
1613struct iovec;
1614#line 51
1615struct iovec;
1616#line 52
1617struct kiocb;
1618#line 52
1619struct kiocb;
1620#line 53
1621struct pipe_inode_info;
1622#line 53
1623struct pipe_inode_info;
1624#line 54
1625struct poll_table_struct;
1626#line 54
1627struct poll_table_struct;
1628#line 55
1629struct kstatfs;
1630#line 55
1631struct kstatfs;
1632#line 435 "include/linux/fs.h"
1633struct iattr {
1634 unsigned int ia_valid ;
1635 umode_t ia_mode ;
1636 uid_t ia_uid ;
1637 gid_t ia_gid ;
1638 loff_t ia_size ;
1639 struct timespec ia_atime ;
1640 struct timespec ia_mtime ;
1641 struct timespec ia_ctime ;
1642 struct file *ia_file ;
1643};
1644#line 119 "include/linux/quota.h"
1645struct if_dqinfo {
1646 __u64 dqi_bgrace ;
1647 __u64 dqi_igrace ;
1648 __u32 dqi_flags ;
1649 __u32 dqi_valid ;
1650};
1651#line 176 "include/linux/percpu_counter.h"
1652struct fs_disk_quota {
1653 __s8 d_version ;
1654 __s8 d_flags ;
1655 __u16 d_fieldmask ;
1656 __u32 d_id ;
1657 __u64 d_blk_hardlimit ;
1658 __u64 d_blk_softlimit ;
1659 __u64 d_ino_hardlimit ;
1660 __u64 d_ino_softlimit ;
1661 __u64 d_bcount ;
1662 __u64 d_icount ;
1663 __s32 d_itimer ;
1664 __s32 d_btimer ;
1665 __u16 d_iwarns ;
1666 __u16 d_bwarns ;
1667 __s32 d_padding2 ;
1668 __u64 d_rtb_hardlimit ;
1669 __u64 d_rtb_softlimit ;
1670 __u64 d_rtbcount ;
1671 __s32 d_rtbtimer ;
1672 __u16 d_rtbwarns ;
1673 __s16 d_padding3 ;
1674 char d_padding4[8U] ;
1675};
1676#line 75 "include/linux/dqblk_xfs.h"
1677struct fs_qfilestat {
1678 __u64 qfs_ino ;
1679 __u64 qfs_nblks ;
1680 __u32 qfs_nextents ;
1681};
1682#line 150 "include/linux/dqblk_xfs.h"
1683typedef struct fs_qfilestat fs_qfilestat_t;
1684#line 151 "include/linux/dqblk_xfs.h"
1685struct fs_quota_stat {
1686 __s8 qs_version ;
1687 __u16 qs_flags ;
1688 __s8 qs_pad ;
1689 fs_qfilestat_t qs_uquota ;
1690 fs_qfilestat_t qs_gquota ;
1691 __u32 qs_incoredqs ;
1692 __s32 qs_btimelimit ;
1693 __s32 qs_itimelimit ;
1694 __s32 qs_rtbtimelimit ;
1695 __u16 qs_bwarnlimit ;
1696 __u16 qs_iwarnlimit ;
1697};
1698#line 165
1699struct dquot;
1700#line 165
1701struct dquot;
1702#line 185 "include/linux/quota.h"
1703typedef __kernel_uid32_t qid_t;
1704#line 186 "include/linux/quota.h"
1705typedef long long qsize_t;
1706#line 189 "include/linux/quota.h"
1707struct mem_dqblk {
1708 qsize_t dqb_bhardlimit ;
1709 qsize_t dqb_bsoftlimit ;
1710 qsize_t dqb_curspace ;
1711 qsize_t dqb_rsvspace ;
1712 qsize_t dqb_ihardlimit ;
1713 qsize_t dqb_isoftlimit ;
1714 qsize_t dqb_curinodes ;
1715 time_t dqb_btime ;
1716 time_t dqb_itime ;
1717};
1718#line 211
1719struct quota_format_type;
1720#line 211
1721struct quota_format_type;
1722#line 212 "include/linux/quota.h"
1723struct mem_dqinfo {
1724 struct quota_format_type *dqi_format ;
1725 int dqi_fmt_id ;
1726 struct list_head dqi_dirty_list ;
1727 unsigned long dqi_flags ;
1728 unsigned int dqi_bgrace ;
1729 unsigned int dqi_igrace ;
1730 qsize_t dqi_maxblimit ;
1731 qsize_t dqi_maxilimit ;
1732 void *dqi_priv ;
1733};
1734#line 275 "include/linux/quota.h"
1735struct dquot {
1736 struct hlist_node dq_hash ;
1737 struct list_head dq_inuse ;
1738 struct list_head dq_free ;
1739 struct list_head dq_dirty ;
1740 struct mutex dq_lock ;
1741 atomic_t dq_count ;
1742 wait_queue_head_t dq_wait_unused ;
1743 struct super_block *dq_sb ;
1744 unsigned int dq_id ;
1745 loff_t dq_off ;
1746 unsigned long dq_flags ;
1747 short dq_type ;
1748 struct mem_dqblk dq_dqb ;
1749};
1750#line 303 "include/linux/quota.h"
1751struct quota_format_ops {
1752 int (*check_quota_file)(struct super_block * , int ) ;
1753 int (*read_file_info)(struct super_block * , int ) ;
1754 int (*write_file_info)(struct super_block * , int ) ;
1755 int (*free_file_info)(struct super_block * , int ) ;
1756 int (*read_dqblk)(struct dquot * ) ;
1757 int (*commit_dqblk)(struct dquot * ) ;
1758 int (*release_dqblk)(struct dquot * ) ;
1759};
1760#line 314 "include/linux/quota.h"
1761struct dquot_operations {
1762 int (*write_dquot)(struct dquot * ) ;
1763 struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
1764 void (*destroy_dquot)(struct dquot * ) ;
1765 int (*acquire_dquot)(struct dquot * ) ;
1766 int (*release_dquot)(struct dquot * ) ;
1767 int (*mark_dirty)(struct dquot * ) ;
1768 int (*write_info)(struct super_block * , int ) ;
1769 qsize_t *(*get_reserved_space)(struct inode * ) ;
1770};
1771#line 328 "include/linux/quota.h"
1772struct quotactl_ops {
1773 int (*quota_on)(struct super_block * , int , int , struct path * ) ;
1774 int (*quota_on_meta)(struct super_block * , int , int ) ;
1775 int (*quota_off)(struct super_block * , int ) ;
1776 int (*quota_sync)(struct super_block * , int , int ) ;
1777 int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
1778 int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
1779 int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
1780 int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
1781 int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
1782 int (*set_xstate)(struct super_block * , unsigned int , int ) ;
1783};
1784#line 344 "include/linux/quota.h"
1785struct quota_format_type {
1786 int qf_fmt_id ;
1787 struct quota_format_ops const *qf_ops ;
1788 struct module *qf_owner ;
1789 struct quota_format_type *qf_next ;
1790};
1791#line 390 "include/linux/quota.h"
1792struct quota_info {
1793 unsigned int flags ;
1794 struct mutex dqio_mutex ;
1795 struct mutex dqonoff_mutex ;
1796 struct rw_semaphore dqptr_sem ;
1797 struct inode *files[2U] ;
1798 struct mem_dqinfo info[2U] ;
1799 struct quota_format_ops const *ops[2U] ;
1800};
1801#line 421
1802struct address_space;
1803#line 421
1804struct address_space;
1805#line 422
1806struct writeback_control;
1807#line 422
1808struct writeback_control;
1809#line 585 "include/linux/fs.h"
1810union __anonunion_arg_139 {
1811 char *buf ;
1812 void *data ;
1813};
1814#line 585 "include/linux/fs.h"
1815struct __anonstruct_read_descriptor_t_138 {
1816 size_t written ;
1817 size_t count ;
1818 union __anonunion_arg_139 arg ;
1819 int error ;
1820};
1821#line 585 "include/linux/fs.h"
1822typedef struct __anonstruct_read_descriptor_t_138 read_descriptor_t;
1823#line 588 "include/linux/fs.h"
1824struct address_space_operations {
1825 int (*writepage)(struct page * , struct writeback_control * ) ;
1826 int (*readpage)(struct file * , struct page * ) ;
1827 int (*writepages)(struct address_space * , struct writeback_control * ) ;
1828 int (*set_page_dirty)(struct page * ) ;
1829 int (*readpages)(struct file * , struct address_space * , struct list_head * ,
1830 unsigned int ) ;
1831 int (*write_begin)(struct file * , struct address_space * , loff_t , unsigned int ,
1832 unsigned int , struct page ** , void ** ) ;
1833 int (*write_end)(struct file * , struct address_space * , loff_t , unsigned int ,
1834 unsigned int , struct page * , void * ) ;
1835 sector_t (*bmap)(struct address_space * , sector_t ) ;
1836 void (*invalidatepage)(struct page * , unsigned long ) ;
1837 int (*releasepage)(struct page * , gfp_t ) ;
1838 void (*freepage)(struct page * ) ;
1839 ssize_t (*direct_IO)(int , struct kiocb * , struct iovec const * , loff_t ,
1840 unsigned long ) ;
1841 int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ;
1842 int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode ) ;
1843 int (*launder_page)(struct page * ) ;
1844 int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
1845 int (*error_remove_page)(struct address_space * , struct page * ) ;
1846};
1847#line 642
1848struct backing_dev_info;
1849#line 642
1850struct backing_dev_info;
1851#line 643 "include/linux/fs.h"
1852struct address_space {
1853 struct inode *host ;
1854 struct radix_tree_root page_tree ;
1855 spinlock_t tree_lock ;
1856 unsigned int i_mmap_writable ;
1857 struct prio_tree_root i_mmap ;
1858 struct list_head i_mmap_nonlinear ;
1859 struct mutex i_mmap_mutex ;
1860 unsigned long nrpages ;
1861 unsigned long writeback_index ;
1862 struct address_space_operations const *a_ops ;
1863 unsigned long flags ;
1864 struct backing_dev_info *backing_dev_info ;
1865 spinlock_t private_lock ;
1866 struct list_head private_list ;
1867 struct address_space *assoc_mapping ;
1868};
1869#line 664
1870struct request_queue;
1871#line 664
1872struct request_queue;
1873#line 665
1874struct hd_struct;
1875#line 665
1876struct gendisk;
1877#line 665 "include/linux/fs.h"
1878struct block_device {
1879 dev_t bd_dev ;
1880 int bd_openers ;
1881 struct inode *bd_inode ;
1882 struct super_block *bd_super ;
1883 struct mutex bd_mutex ;
1884 struct list_head bd_inodes ;
1885 void *bd_claiming ;
1886 void *bd_holder ;
1887 int bd_holders ;
1888 bool bd_write_holder ;
1889 struct list_head bd_holder_disks ;
1890 struct block_device *bd_contains ;
1891 unsigned int bd_block_size ;
1892 struct hd_struct *bd_part ;
1893 unsigned int bd_part_count ;
1894 int bd_invalidated ;
1895 struct gendisk *bd_disk ;
1896 struct request_queue *bd_queue ;
1897 struct list_head bd_list ;
1898 unsigned long bd_private ;
1899 int bd_fsfreeze_count ;
1900 struct mutex bd_fsfreeze_mutex ;
1901};
1902#line 737
1903struct posix_acl;
1904#line 737
1905struct posix_acl;
1906#line 738
1907struct inode_operations;
1908#line 738 "include/linux/fs.h"
1909union __anonunion_ldv_16586_140 {
1910 unsigned int const i_nlink ;
1911 unsigned int __i_nlink ;
1912};
1913#line 738 "include/linux/fs.h"
1914union __anonunion_ldv_16605_141 {
1915 struct list_head i_dentry ;
1916 struct rcu_head i_rcu ;
1917};
1918#line 738
1919struct file_operations;
1920#line 738
1921struct file_lock;
1922#line 738
1923struct cdev;
1924#line 738 "include/linux/fs.h"
1925union __anonunion_ldv_16623_142 {
1926 struct pipe_inode_info *i_pipe ;
1927 struct block_device *i_bdev ;
1928 struct cdev *i_cdev ;
1929};
1930#line 738 "include/linux/fs.h"
1931struct inode {
1932 umode_t i_mode ;
1933 unsigned short i_opflags ;
1934 uid_t i_uid ;
1935 gid_t i_gid ;
1936 unsigned int i_flags ;
1937 struct posix_acl *i_acl ;
1938 struct posix_acl *i_default_acl ;
1939 struct inode_operations const *i_op ;
1940 struct super_block *i_sb ;
1941 struct address_space *i_mapping ;
1942 void *i_security ;
1943 unsigned long i_ino ;
1944 union __anonunion_ldv_16586_140 ldv_16586 ;
1945 dev_t i_rdev ;
1946 struct timespec i_atime ;
1947 struct timespec i_mtime ;
1948 struct timespec i_ctime ;
1949 spinlock_t i_lock ;
1950 unsigned short i_bytes ;
1951 blkcnt_t i_blocks ;
1952 loff_t i_size ;
1953 unsigned long i_state ;
1954 struct mutex i_mutex ;
1955 unsigned long dirtied_when ;
1956 struct hlist_node i_hash ;
1957 struct list_head i_wb_list ;
1958 struct list_head i_lru ;
1959 struct list_head i_sb_list ;
1960 union __anonunion_ldv_16605_141 ldv_16605 ;
1961 atomic_t i_count ;
1962 unsigned int i_blkbits ;
1963 u64 i_version ;
1964 atomic_t i_dio_count ;
1965 atomic_t i_writecount ;
1966 struct file_operations const *i_fop ;
1967 struct file_lock *i_flock ;
1968 struct address_space i_data ;
1969 struct dquot *i_dquot[2U] ;
1970 struct list_head i_devices ;
1971 union __anonunion_ldv_16623_142 ldv_16623 ;
1972 __u32 i_generation ;
1973 __u32 i_fsnotify_mask ;
1974 struct hlist_head i_fsnotify_marks ;
1975 atomic_t i_readcount ;
1976 void *i_private ;
1977};
1978#line 941 "include/linux/fs.h"
1979struct fown_struct {
1980 rwlock_t lock ;
1981 struct pid *pid ;
1982 enum pid_type pid_type ;
1983 uid_t uid ;
1984 uid_t euid ;
1985 int signum ;
1986};
1987#line 949 "include/linux/fs.h"
1988struct file_ra_state {
1989 unsigned long start ;
1990 unsigned int size ;
1991 unsigned int async_size ;
1992 unsigned int ra_pages ;
1993 unsigned int mmap_miss ;
1994 loff_t prev_pos ;
1995};
1996#line 972 "include/linux/fs.h"
1997union __anonunion_f_u_143 {
1998 struct list_head fu_list ;
1999 struct rcu_head fu_rcuhead ;
2000};
2001#line 972 "include/linux/fs.h"
2002struct file {
2003 union __anonunion_f_u_143 f_u ;
2004 struct path f_path ;
2005 struct file_operations const *f_op ;
2006 spinlock_t f_lock ;
2007 int f_sb_list_cpu ;
2008 atomic_long_t f_count ;
2009 unsigned int f_flags ;
2010 fmode_t f_mode ;
2011 loff_t f_pos ;
2012 struct fown_struct f_owner ;
2013 struct cred const *f_cred ;
2014 struct file_ra_state f_ra ;
2015 u64 f_version ;
2016 void *f_security ;
2017 void *private_data ;
2018 struct list_head f_ep_links ;
2019 struct list_head f_tfile_llink ;
2020 struct address_space *f_mapping ;
2021 unsigned long f_mnt_write_state ;
2022};
2023#line 1111
2024struct files_struct;
2025#line 1111 "include/linux/fs.h"
2026typedef struct files_struct *fl_owner_t;
2027#line 1112 "include/linux/fs.h"
2028struct file_lock_operations {
2029 void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
2030 void (*fl_release_private)(struct file_lock * ) ;
2031};
2032#line 1117 "include/linux/fs.h"
2033struct lock_manager_operations {
2034 int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
2035 void (*lm_notify)(struct file_lock * ) ;
2036 int (*lm_grant)(struct file_lock * , struct file_lock * , int ) ;
2037 void (*lm_release_private)(struct file_lock * ) ;
2038 void (*lm_break)(struct file_lock * ) ;
2039 int (*lm_change)(struct file_lock ** , int ) ;
2040};
2041#line 1134
2042struct nlm_lockowner;
2043#line 1134
2044struct nlm_lockowner;
2045#line 1135 "include/linux/fs.h"
2046struct nfs_lock_info {
2047 u32 state ;
2048 struct nlm_lockowner *owner ;
2049 struct list_head list ;
2050};
2051#line 14 "include/linux/nfs_fs_i.h"
2052struct nfs4_lock_state;
2053#line 14
2054struct nfs4_lock_state;
2055#line 15 "include/linux/nfs_fs_i.h"
2056struct nfs4_lock_info {
2057 struct nfs4_lock_state *owner ;
2058};
2059#line 19
2060struct fasync_struct;
2061#line 19 "include/linux/nfs_fs_i.h"
2062struct __anonstruct_afs_145 {
2063 struct list_head link ;
2064 int state ;
2065};
2066#line 19 "include/linux/nfs_fs_i.h"
2067union __anonunion_fl_u_144 {
2068 struct nfs_lock_info nfs_fl ;
2069 struct nfs4_lock_info nfs4_fl ;
2070 struct __anonstruct_afs_145 afs ;
2071};
2072#line 19 "include/linux/nfs_fs_i.h"
2073struct file_lock {
2074 struct file_lock *fl_next ;
2075 struct list_head fl_link ;
2076 struct list_head fl_block ;
2077 fl_owner_t fl_owner ;
2078 unsigned int fl_flags ;
2079 unsigned char fl_type ;
2080 unsigned int fl_pid ;
2081 struct pid *fl_nspid ;
2082 wait_queue_head_t fl_wait ;
2083 struct file *fl_file ;
2084 loff_t fl_start ;
2085 loff_t fl_end ;
2086 struct fasync_struct *fl_fasync ;
2087 unsigned long fl_break_time ;
2088 unsigned long fl_downgrade_time ;
2089 struct file_lock_operations const *fl_ops ;
2090 struct lock_manager_operations const *fl_lmops ;
2091 union __anonunion_fl_u_144 fl_u ;
2092};
2093#line 1221 "include/linux/fs.h"
2094struct fasync_struct {
2095 spinlock_t fa_lock ;
2096 int magic ;
2097 int fa_fd ;
2098 struct fasync_struct *fa_next ;
2099 struct file *fa_file ;
2100 struct rcu_head fa_rcu ;
2101};
2102#line 1417
2103struct file_system_type;
2104#line 1417
2105struct super_operations;
2106#line 1417
2107struct xattr_handler;
2108#line 1417
2109struct mtd_info;
2110#line 1417 "include/linux/fs.h"
2111struct super_block {
2112 struct list_head s_list ;
2113 dev_t s_dev ;
2114 unsigned char s_dirt ;
2115 unsigned char s_blocksize_bits ;
2116 unsigned long s_blocksize ;
2117 loff_t s_maxbytes ;
2118 struct file_system_type *s_type ;
2119 struct super_operations const *s_op ;
2120 struct dquot_operations const *dq_op ;
2121 struct quotactl_ops const *s_qcop ;
2122 struct export_operations const *s_export_op ;
2123 unsigned long s_flags ;
2124 unsigned long s_magic ;
2125 struct dentry *s_root ;
2126 struct rw_semaphore s_umount ;
2127 struct mutex s_lock ;
2128 int s_count ;
2129 atomic_t s_active ;
2130 void *s_security ;
2131 struct xattr_handler const **s_xattr ;
2132 struct list_head s_inodes ;
2133 struct hlist_bl_head s_anon ;
2134 struct list_head *s_files ;
2135 struct list_head s_mounts ;
2136 struct list_head s_dentry_lru ;
2137 int s_nr_dentry_unused ;
2138 spinlock_t s_inode_lru_lock ;
2139 struct list_head s_inode_lru ;
2140 int s_nr_inodes_unused ;
2141 struct block_device *s_bdev ;
2142 struct backing_dev_info *s_bdi ;
2143 struct mtd_info *s_mtd ;
2144 struct hlist_node s_instances ;
2145 struct quota_info s_dquot ;
2146 int s_frozen ;
2147 wait_queue_head_t s_wait_unfrozen ;
2148 char s_id[32U] ;
2149 u8 s_uuid[16U] ;
2150 void *s_fs_info ;
2151 unsigned int s_max_links ;
2152 fmode_t s_mode ;
2153 u32 s_time_gran ;
2154 struct mutex s_vfs_rename_mutex ;
2155 char *s_subtype ;
2156 char *s_options ;
2157 struct dentry_operations const *s_d_op ;
2158 int cleancache_poolid ;
2159 struct shrinker s_shrink ;
2160 atomic_long_t s_remove_count ;
2161 int s_readonly_remount ;
2162};
2163#line 1563 "include/linux/fs.h"
2164struct fiemap_extent_info {
2165 unsigned int fi_flags ;
2166 unsigned int fi_extents_mapped ;
2167 unsigned int fi_extents_max ;
2168 struct fiemap_extent *fi_extents_start ;
2169};
2170#line 1602 "include/linux/fs.h"
2171struct file_operations {
2172 struct module *owner ;
2173 loff_t (*llseek)(struct file * , loff_t , int ) ;
2174 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
2175 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
2176 ssize_t (*aio_read)(struct kiocb * , struct iovec const * , unsigned long ,
2177 loff_t ) ;
2178 ssize_t (*aio_write)(struct kiocb * , struct iovec const * , unsigned long ,
2179 loff_t ) ;
2180 int (*readdir)(struct file * , void * , int (*)(void * , char const * , int ,
2181 loff_t , u64 , unsigned int ) ) ;
2182 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
2183 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
2184 long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ;
2185 int (*mmap)(struct file * , struct vm_area_struct * ) ;
2186 int (*open)(struct inode * , struct file * ) ;
2187 int (*flush)(struct file * , fl_owner_t ) ;
2188 int (*release)(struct inode * , struct file * ) ;
2189 int (*fsync)(struct file * , loff_t , loff_t , int ) ;
2190 int (*aio_fsync)(struct kiocb * , int ) ;
2191 int (*fasync)(int , struct file * , int ) ;
2192 int (*lock)(struct file * , int , struct file_lock * ) ;
2193 ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * ,
2194 int ) ;
2195 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
2196 unsigned long , unsigned long ) ;
2197 int (*check_flags)(int ) ;
2198 int (*flock)(struct file * , int , struct file_lock * ) ;
2199 ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t ,
2200 unsigned int ) ;
2201 ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t ,
2202 unsigned int ) ;
2203 int (*setlease)(struct file * , long , struct file_lock ** ) ;
2204 long (*fallocate)(struct file * , int , loff_t , loff_t ) ;
2205};
2206#line 1637 "include/linux/fs.h"
2207struct inode_operations {
2208 struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
2209 void *(*follow_link)(struct dentry * , struct nameidata * ) ;
2210 int (*permission)(struct inode * , int ) ;
2211 struct posix_acl *(*get_acl)(struct inode * , int ) ;
2212 int (*readlink)(struct dentry * , char * , int ) ;
2213 void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
2214 int (*create)(struct inode * , struct dentry * , umode_t , struct nameidata * ) ;
2215 int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
2216 int (*unlink)(struct inode * , struct dentry * ) ;
2217 int (*symlink)(struct inode * , struct dentry * , char const * ) ;
2218 int (*mkdir)(struct inode * , struct dentry * , umode_t ) ;
2219 int (*rmdir)(struct inode * , struct dentry * ) ;
2220 int (*mknod)(struct inode * , struct dentry * , umode_t , dev_t ) ;
2221 int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
2222 void (*truncate)(struct inode * ) ;
2223 int (*setattr)(struct dentry * , struct iattr * ) ;
2224 int (*getattr)(struct vfsmount * , struct dentry * , struct kstat * ) ;
2225 int (*setxattr)(struct dentry * , char const * , void const * , size_t , int ) ;
2226 ssize_t (*getxattr)(struct dentry * , char const * , void * , size_t ) ;
2227 ssize_t (*listxattr)(struct dentry * , char * , size_t ) ;
2228 int (*removexattr)(struct dentry * , char const * ) ;
2229 void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
2230 int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 , u64 ) ;
2231};
2232#line 1682 "include/linux/fs.h"
2233struct super_operations {
2234 struct inode *(*alloc_inode)(struct super_block * ) ;
2235 void (*destroy_inode)(struct inode * ) ;
2236 void (*dirty_inode)(struct inode * , int ) ;
2237 int (*write_inode)(struct inode * , struct writeback_control * ) ;
2238 int (*drop_inode)(struct inode * ) ;
2239 void (*evict_inode)(struct inode * ) ;
2240 void (*put_super)(struct super_block * ) ;
2241 void (*write_super)(struct super_block * ) ;
2242 int (*sync_fs)(struct super_block * , int ) ;
2243 int (*freeze_fs)(struct super_block * ) ;
2244 int (*unfreeze_fs)(struct super_block * ) ;
2245 int (*statfs)(struct dentry * , struct kstatfs * ) ;
2246 int (*remount_fs)(struct super_block * , int * , char * ) ;
2247 void (*umount_begin)(struct super_block * ) ;
2248 int (*show_options)(struct seq_file * , struct dentry * ) ;
2249 int (*show_devname)(struct seq_file * , struct dentry * ) ;
2250 int (*show_path)(struct seq_file * , struct dentry * ) ;
2251 int (*show_stats)(struct seq_file * , struct dentry * ) ;
2252 ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ;
2253 ssize_t (*quota_write)(struct super_block * , int , char const * , size_t ,
2254 loff_t ) ;
2255 int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
2256 int (*nr_cached_objects)(struct super_block * ) ;
2257 void (*free_cached_objects)(struct super_block * , int ) ;
2258};
2259#line 1834 "include/linux/fs.h"
2260struct file_system_type {
2261 char const *name ;
2262 int fs_flags ;
2263 struct dentry *(*mount)(struct file_system_type * , int , char const * , void * ) ;
2264 void (*kill_sb)(struct super_block * ) ;
2265 struct module *owner ;
2266 struct file_system_type *next ;
2267 struct hlist_head fs_supers ;
2268 struct lock_class_key s_lock_key ;
2269 struct lock_class_key s_umount_key ;
2270 struct lock_class_key s_vfs_rename_key ;
2271 struct lock_class_key i_lock_key ;
2272 struct lock_class_key i_mutex_key ;
2273 struct lock_class_key i_mutex_dir_key ;
2274};
2275#line 12 "include/linux/mod_devicetable.h"
2276typedef unsigned long kernel_ulong_t;
2277#line 215 "include/linux/mod_devicetable.h"
2278struct of_device_id {
2279 char name[32U] ;
2280 char type[32U] ;
2281 char compatible[128U] ;
2282 void *data ;
2283};
2284#line 269 "include/linux/mod_devicetable.h"
2285struct input_device_id {
2286 kernel_ulong_t flags ;
2287 __u16 bustype ;
2288 __u16 vendor ;
2289 __u16 product ;
2290 __u16 version ;
2291 kernel_ulong_t evbit[1U] ;
2292 kernel_ulong_t keybit[12U] ;
2293 kernel_ulong_t relbit[1U] ;
2294 kernel_ulong_t absbit[1U] ;
2295 kernel_ulong_t mscbit[1U] ;
2296 kernel_ulong_t ledbit[1U] ;
2297 kernel_ulong_t sndbit[1U] ;
2298 kernel_ulong_t ffbit[2U] ;
2299 kernel_ulong_t swbit[1U] ;
2300 kernel_ulong_t driver_info ;
2301};
2302#line 492 "include/linux/mod_devicetable.h"
2303struct platform_device_id {
2304 char name[20U] ;
2305 kernel_ulong_t driver_data ;
2306};
2307#line 584
2308struct ff_device;
2309#line 584
2310struct input_mt_slot;
2311#line 584
2312struct input_handle;
2313#line 584 "include/linux/mod_devicetable.h"
2314struct input_dev {
2315 char const *name ;
2316 char const *phys ;
2317 char const *uniq ;
2318 struct input_id id ;
2319 unsigned long propbit[1U] ;
2320 unsigned long evbit[1U] ;
2321 unsigned long keybit[12U] ;
2322 unsigned long relbit[1U] ;
2323 unsigned long absbit[1U] ;
2324 unsigned long mscbit[1U] ;
2325 unsigned long ledbit[1U] ;
2326 unsigned long sndbit[1U] ;
2327 unsigned long ffbit[2U] ;
2328 unsigned long swbit[1U] ;
2329 unsigned int hint_events_per_packet ;
2330 unsigned int keycodemax ;
2331 unsigned int keycodesize ;
2332 void *keycode ;
2333 int (*setkeycode)(struct input_dev * , struct input_keymap_entry const * , unsigned int * ) ;
2334 int (*getkeycode)(struct input_dev * , struct input_keymap_entry * ) ;
2335 struct ff_device *ff ;
2336 unsigned int repeat_key ;
2337 struct timer_list timer ;
2338 int rep[2U] ;
2339 struct input_mt_slot *mt ;
2340 int mtsize ;
2341 int slot ;
2342 int trkid ;
2343 struct input_absinfo *absinfo ;
2344 unsigned long key[12U] ;
2345 unsigned long led[1U] ;
2346 unsigned long snd[1U] ;
2347 unsigned long sw[1U] ;
2348 int (*open)(struct input_dev * ) ;
2349 void (*close)(struct input_dev * ) ;
2350 int (*flush)(struct input_dev * , struct file * ) ;
2351 int (*event)(struct input_dev * , unsigned int , unsigned int , int ) ;
2352 struct input_handle *grab ;
2353 spinlock_t event_lock ;
2354 struct mutex mutex ;
2355 unsigned int users ;
2356 bool going_away ;
2357 bool sync ;
2358 struct device dev ;
2359 struct list_head h_list ;
2360 struct list_head node ;
2361};
2362#line 1319 "include/linux/input.h"
2363struct input_handler {
2364 void *private ;
2365 void (*event)(struct input_handle * , unsigned int , unsigned int , int ) ;
2366 bool (*filter)(struct input_handle * , unsigned int , unsigned int , int ) ;
2367 bool (*match)(struct input_handler * , struct input_dev * ) ;
2368 int (*connect)(struct input_handler * , struct input_dev * , struct input_device_id const * ) ;
2369 void (*disconnect)(struct input_handle * ) ;
2370 void (*start)(struct input_handle * ) ;
2371 struct file_operations const *fops ;
2372 int minor ;
2373 char const *name ;
2374 struct input_device_id const *id_table ;
2375 struct list_head h_list ;
2376 struct list_head node ;
2377};
2378#line 1429 "include/linux/input.h"
2379struct input_handle {
2380 void *private ;
2381 int open ;
2382 char const *name ;
2383 struct input_dev *dev ;
2384 struct input_handler *handler ;
2385 struct list_head d_node ;
2386 struct list_head h_node ;
2387};
2388#line 1591 "include/linux/input.h"
2389struct ff_device {
2390 int (*upload)(struct input_dev * , struct ff_effect * , struct ff_effect * ) ;
2391 int (*erase)(struct input_dev * , int ) ;
2392 int (*playback)(struct input_dev * , int , int ) ;
2393 void (*set_gain)(struct input_dev * , u16 ) ;
2394 void (*set_autocenter)(struct input_dev * , u16 ) ;
2395 void (*destroy)(struct ff_device * ) ;
2396 void *private ;
2397 unsigned long ffbit[2U] ;
2398 struct mutex mutex ;
2399 int max_effects ;
2400 struct ff_effect *effects ;
2401 struct file *effect_owners[0U] ;
2402};
2403#line 1650
2404struct mfd_cell;
2405#line 1650
2406struct mfd_cell;
2407#line 1651 "include/linux/input.h"
2408struct platform_device {
2409 char const *name ;
2410 int id ;
2411 struct device dev ;
2412 u32 num_resources ;
2413 struct resource *resource ;
2414 struct platform_device_id const *id_entry ;
2415 struct mfd_cell *mfd_cell ;
2416 struct pdev_archdata archdata ;
2417};
2418#line 2 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
2419void ldv_spin_lock(void) ;
2420#line 3
2421void ldv_spin_unlock(void) ;
2422#line 4
2423int ldv_spin_trylock(void) ;
2424#line 355 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
2425extern struct pv_cpu_ops pv_cpu_ops ;
2426#line 349 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
2427__inline static void slow_down_io(void)
2428{ unsigned long __cil_tmp1 ;
2429 void (*__cil_tmp2)(void) ;
2430
2431 {
2432 {
2433#line 351
2434 __cil_tmp1 = (unsigned long )(& pv_cpu_ops) + 216;
2435#line 351
2436 __cil_tmp2 = *((void (**)(void))__cil_tmp1);
2437#line 351
2438 (*__cil_tmp2)();
2439 }
2440#line 352
2441 return;
2442}
2443}
2444#line 32 "include/linux/spinlock_api_smp.h"
2445extern unsigned long _raw_spin_lock_irqsave(raw_spinlock_t * ) ;
2446#line 43
2447extern void _raw_spin_unlock_irqrestore(raw_spinlock_t * , unsigned long ) ;
2448#line 308 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
2449__inline static void outb(unsigned char value , int port )
2450{
2451
2452 {
2453#line 308
2454 __asm__ volatile ("outb %b0, %w1": : "a" (value), "Nd" (port));
2455#line 309
2456 return;
2457}
2458}
2459#line 308 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
2460__inline static unsigned char inb(int port )
2461{ unsigned char value ;
2462
2463 {
2464#line 308
2465 __asm__ volatile ("inb %w1, %b0": "=a" (value): "Nd" (port));
2466#line 308
2467 return (value);
2468}
2469}
2470#line 308 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
2471__inline static void outb_p(unsigned char value , int port )
2472{ int __cil_tmp3 ;
2473 unsigned char __cil_tmp4 ;
2474
2475 {
2476 {
2477#line 308
2478 __cil_tmp3 = (int )value;
2479#line 308
2480 __cil_tmp4 = (unsigned char )__cil_tmp3;
2481#line 308
2482 outb(__cil_tmp4, port);
2483#line 308
2484 slow_down_io();
2485 }
2486#line 309
2487 return;
2488}
2489}
2490#line 308 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/io.h"
2491__inline static unsigned char inb_p(int port )
2492{ unsigned char value ;
2493 unsigned char tmp ;
2494
2495 {
2496 {
2497#line 308
2498 tmp = inb(port);
2499#line 308
2500 value = tmp;
2501#line 308
2502 slow_down_io();
2503 }
2504#line 308
2505 return (value);
2506}
2507}
2508#line 220 "include/linux/slub_def.h"
2509extern void *kmem_cache_alloc(struct kmem_cache * , gfp_t ) ;
2510#line 223
2511void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
2512#line 11 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
2513void ldv_check_alloc_flags(gfp_t flags ) ;
2514#line 12
2515void ldv_check_alloc_nonatomic(void) ;
2516#line 14
2517struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags ) ;
2518#line 23 "include/linux/i8253.h"
2519extern raw_spinlock_t i8253_lock ;
2520#line 793 "include/linux/device.h"
2521extern int dev_set_drvdata(struct device * , void * ) ;
2522#line 1456 "include/linux/input.h"
2523extern struct input_dev *input_allocate_device(void) ;
2524#line 1457
2525extern void input_free_device(struct input_dev * ) ;
2526#line 1480
2527extern int input_register_device(struct input_dev * ) ;
2528#line 188 "include/linux/platform_device.h"
2529__inline static void platform_set_drvdata(struct platform_device *pdev , void *data )
2530{ unsigned long __cil_tmp3 ;
2531 unsigned long __cil_tmp4 ;
2532 struct device *__cil_tmp5 ;
2533
2534 {
2535 {
2536#line 190
2537 __cil_tmp3 = (unsigned long )pdev;
2538#line 190
2539 __cil_tmp4 = __cil_tmp3 + 16;
2540#line 190
2541 __cil_tmp5 = (struct device *)__cil_tmp4;
2542#line 190
2543 dev_set_drvdata(__cil_tmp5, data);
2544 }
2545#line 191
2546 return;
2547}
2548}
2549#line 44 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
2550static int pcspkr_event(struct input_dev *dev , unsigned int type , unsigned int code ,
2551 int value )
2552{ unsigned int count ;
2553 unsigned long flags ;
2554 unsigned char tmp ;
2555 unsigned char tmp___0 ;
2556 unsigned long __cil_tmp13 ;
2557 unsigned long __cil_tmp14 ;
2558 unsigned char __cil_tmp15 ;
2559 int __cil_tmp16 ;
2560 unsigned char __cil_tmp17 ;
2561 unsigned int __cil_tmp18 ;
2562 unsigned char __cil_tmp19 ;
2563 int __cil_tmp20 ;
2564 unsigned char __cil_tmp21 ;
2565 unsigned int __cil_tmp22 ;
2566 unsigned int __cil_tmp23 ;
2567 int __cil_tmp24 ;
2568 unsigned char __cil_tmp25 ;
2569 int __cil_tmp26 ;
2570 int __cil_tmp27 ;
2571 unsigned char __cil_tmp28 ;
2572
2573 {
2574#line 46
2575 count = 0U;
2576#line 49
2577 if (type != 18U) {
2578#line 50
2579 return (-1);
2580 } else {
2581
2582 }
2583#line 53
2584 if ((int )code == 1) {
2585#line 53
2586 goto case_1;
2587 } else
2588#line 54
2589 if ((int )code == 2) {
2590#line 54
2591 goto case_2;
2592 } else {
2593 {
2594#line 55
2595 goto switch_default;
2596#line 52
2597 if (0) {
2598 case_1: ;
2599#line 53
2600 if (value != 0) {
2601#line 53
2602 value = 1000;
2603 } else {
2604
2605 }
2606 case_2: ;
2607#line 54
2608 goto ldv_19201;
2609 switch_default: ;
2610#line 55
2611 return (-1);
2612 } else {
2613 switch_break: ;
2614 }
2615 }
2616 }
2617 ldv_19201: ;
2618#line 58
2619 if (value > 20) {
2620#line 58
2621 if (value <= 32766) {
2622#line 59
2623 __cil_tmp13 = (unsigned long )value;
2624#line 59
2625 __cil_tmp14 = 1193182UL / __cil_tmp13;
2626#line 59
2627 count = (unsigned int )__cil_tmp14;
2628 } else {
2629
2630 }
2631 } else {
2632
2633 }
2634 {
2635#line 61
2636 flags = _raw_spin_lock_irqsave(& i8253_lock);
2637 }
2638#line 63
2639 if (count != 0U) {
2640 {
2641#line 65
2642 outb_p((unsigned char)182, 67);
2643#line 67
2644 __cil_tmp15 = (unsigned char )count;
2645#line 67
2646 __cil_tmp16 = (int )__cil_tmp15;
2647#line 67
2648 __cil_tmp17 = (unsigned char )__cil_tmp16;
2649#line 67
2650 outb_p(__cil_tmp17, 66);
2651#line 68
2652 __cil_tmp18 = count >> 8;
2653#line 68
2654 __cil_tmp19 = (unsigned char )__cil_tmp18;
2655#line 68
2656 __cil_tmp20 = (int )__cil_tmp19;
2657#line 68
2658 __cil_tmp21 = (unsigned char )__cil_tmp20;
2659#line 68
2660 outb(__cil_tmp21, 66);
2661#line 70
2662 tmp = inb_p(97);
2663#line 70
2664 __cil_tmp22 = (unsigned int )tmp;
2665#line 70
2666 __cil_tmp23 = __cil_tmp22 | 3U;
2667#line 70
2668 __cil_tmp24 = (int )__cil_tmp23;
2669#line 70
2670 __cil_tmp25 = (unsigned char )__cil_tmp24;
2671#line 70
2672 outb_p(__cil_tmp25, 97);
2673 }
2674 } else {
2675 {
2676#line 73
2677 tmp___0 = inb_p(97);
2678#line 73
2679 __cil_tmp26 = (int )tmp___0;
2680#line 73
2681 __cil_tmp27 = __cil_tmp26 & 252;
2682#line 73
2683 __cil_tmp28 = (unsigned char )__cil_tmp27;
2684#line 73
2685 outb(__cil_tmp28, 97);
2686 }
2687 }
2688 {
2689#line 76
2690 _raw_spin_unlock_irqrestore(& i8253_lock, flags);
2691 }
2692#line 78
2693 return (0);
2694}
2695}
2696#line 81 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
2697static int pcspkr_probe(struct platform_device *dev )
2698{ struct input_dev *pcspkr_dev ;
2699 int err ;
2700 struct input_dev *__cil_tmp4 ;
2701 unsigned long __cil_tmp5 ;
2702 unsigned long __cil_tmp6 ;
2703 unsigned long __cil_tmp7 ;
2704 unsigned long __cil_tmp8 ;
2705 unsigned long __cil_tmp9 ;
2706 unsigned long __cil_tmp10 ;
2707 unsigned long __cil_tmp11 ;
2708 unsigned long __cil_tmp12 ;
2709 unsigned long __cil_tmp13 ;
2710 unsigned long __cil_tmp14 ;
2711 unsigned long __cil_tmp15 ;
2712 unsigned long __cil_tmp16 ;
2713 unsigned long __cil_tmp17 ;
2714 unsigned long __cil_tmp18 ;
2715 unsigned long __cil_tmp19 ;
2716 unsigned long __cil_tmp20 ;
2717 unsigned long __cil_tmp21 ;
2718 unsigned long __cil_tmp22 ;
2719 unsigned long __cil_tmp23 ;
2720 unsigned long __cil_tmp24 ;
2721 unsigned long __cil_tmp25 ;
2722 unsigned long __cil_tmp26 ;
2723 unsigned long __cil_tmp27 ;
2724 unsigned long __cil_tmp28 ;
2725 unsigned long __cil_tmp29 ;
2726 unsigned long __cil_tmp30 ;
2727 unsigned long __cil_tmp31 ;
2728 unsigned long __cil_tmp32 ;
2729 unsigned long __cil_tmp33 ;
2730 void *__cil_tmp34 ;
2731
2732 {
2733 {
2734#line 86
2735 pcspkr_dev = input_allocate_device();
2736 }
2737 {
2738#line 87
2739 __cil_tmp4 = (struct input_dev *)0;
2740#line 87
2741 __cil_tmp5 = (unsigned long )__cil_tmp4;
2742#line 87
2743 __cil_tmp6 = (unsigned long )pcspkr_dev;
2744#line 87
2745 if (__cil_tmp6 == __cil_tmp5) {
2746#line 88
2747 return (-12);
2748 } else {
2749
2750 }
2751 }
2752 {
2753#line 90
2754 *((char const **)pcspkr_dev) = "PC Speaker";
2755#line 91
2756 __cil_tmp7 = (unsigned long )pcspkr_dev;
2757#line 91
2758 __cil_tmp8 = __cil_tmp7 + 8;
2759#line 91
2760 *((char const **)__cil_tmp8) = "isa0061/input0";
2761#line 92
2762 __cil_tmp9 = (unsigned long )pcspkr_dev;
2763#line 92
2764 __cil_tmp10 = __cil_tmp9 + 24;
2765#line 92
2766 *((__u16 *)__cil_tmp10) = (__u16 )16U;
2767#line 93
2768 __cil_tmp11 = 24 + 2;
2769#line 93
2770 __cil_tmp12 = (unsigned long )pcspkr_dev;
2771#line 93
2772 __cil_tmp13 = __cil_tmp12 + __cil_tmp11;
2773#line 93
2774 *((__u16 *)__cil_tmp13) = (__u16 )31U;
2775#line 94
2776 __cil_tmp14 = 24 + 4;
2777#line 94
2778 __cil_tmp15 = (unsigned long )pcspkr_dev;
2779#line 94
2780 __cil_tmp16 = __cil_tmp15 + __cil_tmp14;
2781#line 94
2782 *((__u16 *)__cil_tmp16) = (__u16 )1U;
2783#line 95
2784 __cil_tmp17 = 24 + 6;
2785#line 95
2786 __cil_tmp18 = (unsigned long )pcspkr_dev;
2787#line 95
2788 __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
2789#line 95
2790 *((__u16 *)__cil_tmp19) = (__u16 )256U;
2791#line 96
2792 __cil_tmp20 = (unsigned long )pcspkr_dev;
2793#line 96
2794 __cil_tmp21 = __cil_tmp20 + 840;
2795#line 96
2796 __cil_tmp22 = (unsigned long )dev;
2797#line 96
2798 __cil_tmp23 = __cil_tmp22 + 16;
2799#line 96
2800 *((struct device **)__cil_tmp21) = (struct device *)__cil_tmp23;
2801#line 98
2802 __cil_tmp24 = 0 * 8UL;
2803#line 98
2804 __cil_tmp25 = 40 + __cil_tmp24;
2805#line 98
2806 __cil_tmp26 = (unsigned long )pcspkr_dev;
2807#line 98
2808 __cil_tmp27 = __cil_tmp26 + __cil_tmp25;
2809#line 98
2810 *((unsigned long *)__cil_tmp27) = 262144UL;
2811#line 99
2812 __cil_tmp28 = 0 * 8UL;
2813#line 99
2814 __cil_tmp29 = 176 + __cil_tmp28;
2815#line 99
2816 __cil_tmp30 = (unsigned long )pcspkr_dev;
2817#line 99
2818 __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
2819#line 99
2820 *((unsigned long *)__cil_tmp31) = 6UL;
2821#line 100
2822 __cil_tmp32 = (unsigned long )pcspkr_dev;
2823#line 100
2824 __cil_tmp33 = __cil_tmp32 + 576;
2825#line 100
2826 *((int (**)(struct input_dev * , unsigned int , unsigned int , int ))__cil_tmp33) = & pcspkr_event;
2827#line 102
2828 err = input_register_device(pcspkr_dev);
2829 }
2830#line 103
2831 if (err != 0) {
2832 {
2833#line 104
2834 input_free_device(pcspkr_dev);
2835 }
2836#line 105
2837 return (err);
2838 } else {
2839
2840 }
2841 {
2842#line 108
2843 __cil_tmp34 = (void *)pcspkr_dev;
2844#line 108
2845 platform_set_drvdata(dev, __cil_tmp34);
2846 }
2847#line 110
2848 return (0);
2849}
2850}
2851#line 125 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
2852static int pcspkr_suspend(struct device *dev )
2853{ struct input_dev *__cil_tmp2 ;
2854
2855 {
2856 {
2857#line 127
2858 __cil_tmp2 = (struct input_dev *)0;
2859#line 127
2860 pcspkr_event(__cil_tmp2, 18U, 1U, 0);
2861 }
2862#line 129
2863 return (0);
2864}
2865}
2866#line 132 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
2867static void pcspkr_shutdown(struct platform_device *dev )
2868{ struct input_dev *__cil_tmp2 ;
2869
2870 {
2871 {
2872#line 135
2873 __cil_tmp2 = (struct input_dev *)0;
2874#line 135
2875 pcspkr_event(__cil_tmp2, 18U, 1U, 0);
2876 }
2877#line 136
2878 return;
2879}
2880}
2881#line 171
2882extern void ldv_check_final_state(void) ;
2883#line 174
2884extern void ldv_check_return_value(int ) ;
2885#line 177
2886extern void ldv_initialize(void) ;
2887#line 180
2888extern int __VERIFIER_nondet_int(void) ;
2889#line 183 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
2890int LDV_IN_INTERRUPT ;
2891#line 186 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
2892void main(void)
2893{ struct device *var_group1 ;
2894 struct platform_device *var_group2 ;
2895 int res_pcspkr_probe_1 ;
2896 int ldv_s_pcspkr_platform_driver_platform_driver ;
2897 int tmp ;
2898 int tmp___0 ;
2899
2900 {
2901 {
2902#line 226
2903 ldv_s_pcspkr_platform_driver_platform_driver = 0;
2904#line 214
2905 LDV_IN_INTERRUPT = 1;
2906#line 223
2907 ldv_initialize();
2908 }
2909#line 229
2910 goto ldv_19265;
2911 ldv_19264:
2912 {
2913#line 233
2914 tmp = __VERIFIER_nondet_int();
2915 }
2916#line 235
2917 if (tmp == 0) {
2918#line 235
2919 goto case_0;
2920 } else
2921#line 251
2922 if (tmp == 1) {
2923#line 251
2924 goto case_1;
2925 } else
2926#line 270
2927 if (tmp == 2) {
2928#line 270
2929 goto case_2;
2930 } else {
2931 {
2932#line 286
2933 goto switch_default;
2934#line 233
2935 if (0) {
2936 case_0:
2937 {
2938#line 243
2939 pcspkr_suspend(var_group1);
2940 }
2941#line 250
2942 goto ldv_19259;
2943 case_1: ;
2944#line 254
2945 if (ldv_s_pcspkr_platform_driver_platform_driver == 0) {
2946 {
2947#line 259
2948 res_pcspkr_probe_1 = pcspkr_probe(var_group2);
2949#line 260
2950 ldv_check_return_value(res_pcspkr_probe_1);
2951 }
2952#line 261
2953 if (res_pcspkr_probe_1 != 0) {
2954#line 262
2955 goto ldv_module_exit;
2956 } else {
2957
2958 }
2959#line 263
2960 ldv_s_pcspkr_platform_driver_platform_driver = ldv_s_pcspkr_platform_driver_platform_driver + 1;
2961 } else {
2962
2963 }
2964#line 269
2965 goto ldv_19259;
2966 case_2: ;
2967#line 273
2968 if (ldv_s_pcspkr_platform_driver_platform_driver == 1) {
2969 {
2970#line 278
2971 pcspkr_shutdown(var_group2);
2972#line 279
2973 ldv_s_pcspkr_platform_driver_platform_driver = 0;
2974 }
2975 } else {
2976
2977 }
2978#line 285
2979 goto ldv_19259;
2980 switch_default: ;
2981#line 286
2982 goto ldv_19259;
2983 } else {
2984 switch_break: ;
2985 }
2986 }
2987 }
2988 ldv_19259: ;
2989 ldv_19265:
2990 {
2991#line 229
2992 tmp___0 = __VERIFIER_nondet_int();
2993 }
2994#line 229
2995 if (tmp___0 != 0) {
2996#line 231
2997 goto ldv_19264;
2998 } else
2999#line 229
3000 if (ldv_s_pcspkr_platform_driver_platform_driver != 0) {
3001#line 231
3002 goto ldv_19264;
3003 } else {
3004#line 233
3005 goto ldv_19266;
3006 }
3007 ldv_19266: ;
3008 ldv_module_exit: ;
3009 {
3010#line 295
3011 ldv_check_final_state();
3012 }
3013#line 298
3014 return;
3015}
3016}
3017#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast-assert.h"
3018void ldv_blast_assert(void)
3019{
3020
3021 {
3022 ERROR: ;
3023#line 6
3024 goto ERROR;
3025}
3026}
3027#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast.h"
3028extern int __VERIFIER_nondet_int(void) ;
3029#line 319 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
3030int ldv_spin = 0;
3031#line 323 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
3032void ldv_check_alloc_flags(gfp_t flags )
3033{
3034
3035 {
3036#line 326
3037 if (ldv_spin != 0) {
3038#line 326
3039 if (flags != 32U) {
3040 {
3041#line 326
3042 ldv_blast_assert();
3043 }
3044 } else {
3045
3046 }
3047 } else {
3048
3049 }
3050#line 329
3051 return;
3052}
3053}
3054#line 329
3055extern struct page *ldv_some_page(void) ;
3056#line 332 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
3057struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags )
3058{ struct page *tmp ;
3059
3060 {
3061#line 335
3062 if (ldv_spin != 0) {
3063#line 335
3064 if (flags != 32U) {
3065 {
3066#line 335
3067 ldv_blast_assert();
3068 }
3069 } else {
3070
3071 }
3072 } else {
3073
3074 }
3075 {
3076#line 337
3077 tmp = ldv_some_page();
3078 }
3079#line 337
3080 return (tmp);
3081}
3082}
3083#line 341 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
3084void ldv_check_alloc_nonatomic(void)
3085{
3086
3087 {
3088#line 344
3089 if (ldv_spin != 0) {
3090 {
3091#line 344
3092 ldv_blast_assert();
3093 }
3094 } else {
3095
3096 }
3097#line 347
3098 return;
3099}
3100}
3101#line 348 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
3102void ldv_spin_lock(void)
3103{
3104
3105 {
3106#line 351
3107 ldv_spin = 1;
3108#line 352
3109 return;
3110}
3111}
3112#line 355 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
3113void ldv_spin_unlock(void)
3114{
3115
3116 {
3117#line 358
3118 ldv_spin = 0;
3119#line 359
3120 return;
3121}
3122}
3123#line 362 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
3124int ldv_spin_trylock(void)
3125{ int is_lock ;
3126
3127 {
3128 {
3129#line 367
3130 is_lock = __VERIFIER_nondet_int();
3131 }
3132#line 369
3133 if (is_lock != 0) {
3134#line 372
3135 return (0);
3136 } else {
3137#line 377
3138 ldv_spin = 1;
3139#line 379
3140 return (1);
3141 }
3142}
3143}
3144#line 546 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/3035/dscv_tempdir/dscv/ri/43_1a/drivers/input/misc/pcspkr.c.p"
3145void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 )
3146{
3147
3148 {
3149 {
3150#line 552
3151 ldv_check_alloc_flags(ldv_func_arg2);
3152#line 554
3153 kmem_cache_alloc(ldv_func_arg1, ldv_func_arg2);
3154 }
3155#line 555
3156 return ((void *)0);
3157}
3158}