1
2
3
4#line 19 "include/asm-generic/int-ll64.h"
5typedef signed char __s8;
6#line 20 "include/asm-generic/int-ll64.h"
7typedef unsigned char __u8;
8#line 22 "include/asm-generic/int-ll64.h"
9typedef short __s16;
10#line 23 "include/asm-generic/int-ll64.h"
11typedef unsigned short __u16;
12#line 25 "include/asm-generic/int-ll64.h"
13typedef int __s32;
14#line 26 "include/asm-generic/int-ll64.h"
15typedef unsigned int __u32;
16#line 29 "include/asm-generic/int-ll64.h"
17typedef long long __s64;
18#line 30 "include/asm-generic/int-ll64.h"
19typedef unsigned long long __u64;
20#line 43 "include/asm-generic/int-ll64.h"
21typedef unsigned char u8;
22#line 45 "include/asm-generic/int-ll64.h"
23typedef short s16;
24#line 46 "include/asm-generic/int-ll64.h"
25typedef unsigned short u16;
26#line 48 "include/asm-generic/int-ll64.h"
27typedef int s32;
28#line 49 "include/asm-generic/int-ll64.h"
29typedef unsigned int u32;
30#line 51 "include/asm-generic/int-ll64.h"
31typedef long long s64;
32#line 52 "include/asm-generic/int-ll64.h"
33typedef unsigned long long u64;
34#line 14 "include/asm-generic/posix_types.h"
35typedef long __kernel_long_t;
36#line 15 "include/asm-generic/posix_types.h"
37typedef unsigned long __kernel_ulong_t;
38#line 31 "include/asm-generic/posix_types.h"
39typedef int __kernel_pid_t;
40#line 52 "include/asm-generic/posix_types.h"
41typedef unsigned int __kernel_uid32_t;
42#line 53 "include/asm-generic/posix_types.h"
43typedef unsigned int __kernel_gid32_t;
44#line 75 "include/asm-generic/posix_types.h"
45typedef __kernel_ulong_t __kernel_size_t;
46#line 76 "include/asm-generic/posix_types.h"
47typedef __kernel_long_t __kernel_ssize_t;
48#line 91 "include/asm-generic/posix_types.h"
49typedef long long __kernel_loff_t;
50#line 92 "include/asm-generic/posix_types.h"
51typedef __kernel_long_t __kernel_time_t;
52#line 93 "include/asm-generic/posix_types.h"
53typedef __kernel_long_t __kernel_clock_t;
54#line 94 "include/asm-generic/posix_types.h"
55typedef int __kernel_timer_t;
56#line 95 "include/asm-generic/posix_types.h"
57typedef int __kernel_clockid_t;
58#line 21 "include/linux/types.h"
59typedef __u32 __kernel_dev_t;
60#line 24 "include/linux/types.h"
61typedef __kernel_dev_t dev_t;
62#line 27 "include/linux/types.h"
63typedef unsigned short umode_t;
64#line 30 "include/linux/types.h"
65typedef __kernel_pid_t pid_t;
66#line 35 "include/linux/types.h"
67typedef __kernel_clockid_t clockid_t;
68#line 38 "include/linux/types.h"
69typedef _Bool bool;
70#line 40 "include/linux/types.h"
71typedef __kernel_uid32_t uid_t;
72#line 41 "include/linux/types.h"
73typedef __kernel_gid32_t gid_t;
74#line 54 "include/linux/types.h"
75typedef __kernel_loff_t loff_t;
76#line 63 "include/linux/types.h"
77typedef __kernel_size_t size_t;
78#line 68 "include/linux/types.h"
79typedef __kernel_ssize_t ssize_t;
80#line 78 "include/linux/types.h"
81typedef __kernel_time_t time_t;
82#line 111 "include/linux/types.h"
83typedef __s32 int32_t;
84#line 117 "include/linux/types.h"
85typedef __u32 uint32_t;
86#line 142 "include/linux/types.h"
87typedef unsigned long sector_t;
88#line 143 "include/linux/types.h"
89typedef unsigned long blkcnt_t;
90#line 155 "include/linux/types.h"
91typedef u64 dma_addr_t;
92#line 202 "include/linux/types.h"
93typedef unsigned int gfp_t;
94#line 203 "include/linux/types.h"
95typedef unsigned int fmode_t;
96#line 206 "include/linux/types.h"
97typedef u64 phys_addr_t;
98#line 211 "include/linux/types.h"
99typedef phys_addr_t resource_size_t;
100#line 221 "include/linux/types.h"
101struct __anonstruct_atomic_t_6 {
102 int counter ;
103};
104#line 221 "include/linux/types.h"
105typedef struct __anonstruct_atomic_t_6 atomic_t;
106#line 226 "include/linux/types.h"
107struct __anonstruct_atomic64_t_7 {
108 long counter ;
109};
110#line 226 "include/linux/types.h"
111typedef struct __anonstruct_atomic64_t_7 atomic64_t;
112#line 227 "include/linux/types.h"
113struct list_head {
114 struct list_head *next ;
115 struct list_head *prev ;
116};
117#line 232
118struct hlist_node;
119#line 232 "include/linux/types.h"
120struct hlist_head {
121 struct hlist_node *first ;
122};
123#line 236 "include/linux/types.h"
124struct hlist_node {
125 struct hlist_node *next ;
126 struct hlist_node **pprev ;
127};
128#line 247 "include/linux/types.h"
129struct rcu_head {
130 struct rcu_head *next ;
131 void (*func)(struct rcu_head * ) ;
132};
133#line 55 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
134struct module;
135#line 55
136struct module;
137#line 146 "include/linux/init.h"
138typedef void (*ctor_fn_t)(void);
139#line 305 "include/linux/printk.h"
140struct _ddebug {
141 char const *modname ;
142 char const *function ;
143 char const *filename ;
144 char const *format ;
145 unsigned int lineno : 18 ;
146 unsigned char flags ;
147};
148#line 46 "include/linux/dynamic_debug.h"
149struct device;
150#line 46
151struct device;
152#line 57
153struct completion;
154#line 57
155struct completion;
156#line 58
157struct pt_regs;
158#line 58
159struct pt_regs;
160#line 348 "include/linux/kernel.h"
161struct pid;
162#line 348
163struct pid;
164#line 112 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/stat.h"
165struct timespec;
166#line 112
167struct timespec;
168#line 58 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page_types.h"
169struct page;
170#line 58
171struct page;
172#line 26 "include/asm-generic/getorder.h"
173struct task_struct;
174#line 26
175struct task_struct;
176#line 28
177struct mm_struct;
178#line 28
179struct mm_struct;
180#line 268 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/segment.h"
181struct pt_regs {
182 unsigned long r15 ;
183 unsigned long r14 ;
184 unsigned long r13 ;
185 unsigned long r12 ;
186 unsigned long bp ;
187 unsigned long bx ;
188 unsigned long r11 ;
189 unsigned long r10 ;
190 unsigned long r9 ;
191 unsigned long r8 ;
192 unsigned long ax ;
193 unsigned long cx ;
194 unsigned long dx ;
195 unsigned long si ;
196 unsigned long di ;
197 unsigned long orig_ax ;
198 unsigned long ip ;
199 unsigned long cs ;
200 unsigned long flags ;
201 unsigned long sp ;
202 unsigned long ss ;
203};
204#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
205struct __anonstruct_ldv_2180_13 {
206 unsigned int a ;
207 unsigned int b ;
208};
209#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
210struct __anonstruct_ldv_2195_14 {
211 u16 limit0 ;
212 u16 base0 ;
213 unsigned char base1 ;
214 unsigned char type : 4 ;
215 unsigned char s : 1 ;
216 unsigned char dpl : 2 ;
217 unsigned char p : 1 ;
218 unsigned char limit : 4 ;
219 unsigned char avl : 1 ;
220 unsigned char l : 1 ;
221 unsigned char d : 1 ;
222 unsigned char g : 1 ;
223 unsigned char base2 ;
224};
225#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
226union __anonunion_ldv_2196_12 {
227 struct __anonstruct_ldv_2180_13 ldv_2180 ;
228 struct __anonstruct_ldv_2195_14 ldv_2195 ;
229};
230#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
231struct desc_struct {
232 union __anonunion_ldv_2196_12 ldv_2196 ;
233};
234#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
235typedef unsigned long pgdval_t;
236#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
237typedef unsigned long pgprotval_t;
238#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
239struct pgprot {
240 pgprotval_t pgprot ;
241};
242#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
243typedef struct pgprot pgprot_t;
244#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
245struct __anonstruct_pgd_t_16 {
246 pgdval_t pgd ;
247};
248#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
249typedef struct __anonstruct_pgd_t_16 pgd_t;
250#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
251typedef struct page *pgtable_t;
252#line 290
253struct file;
254#line 290
255struct file;
256#line 305
257struct seq_file;
258#line 305
259struct seq_file;
260#line 337
261struct thread_struct;
262#line 337
263struct thread_struct;
264#line 339
265struct cpumask;
266#line 339
267struct cpumask;
268#line 327 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
269struct arch_spinlock;
270#line 327
271struct arch_spinlock;
272#line 300 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
273struct kernel_vm86_regs {
274 struct pt_regs pt ;
275 unsigned short es ;
276 unsigned short __esh ;
277 unsigned short ds ;
278 unsigned short __dsh ;
279 unsigned short fs ;
280 unsigned short __fsh ;
281 unsigned short gs ;
282 unsigned short __gsh ;
283};
284#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
285union __anonunion_ldv_2824_19 {
286 struct pt_regs *regs ;
287 struct kernel_vm86_regs *vm86 ;
288};
289#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
290struct math_emu_info {
291 long ___orig_eip ;
292 union __anonunion_ldv_2824_19 ldv_2824 ;
293};
294#line 306 "include/linux/bitmap.h"
295struct bug_entry {
296 int bug_addr_disp ;
297 int file_disp ;
298 unsigned short line ;
299 unsigned short flags ;
300};
301#line 89 "include/linux/bug.h"
302struct cpumask {
303 unsigned long bits[64U] ;
304};
305#line 14 "include/linux/cpumask.h"
306typedef struct cpumask cpumask_t;
307#line 637 "include/linux/cpumask.h"
308typedef struct cpumask *cpumask_var_t;
309#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
310struct static_key;
311#line 234
312struct static_key;
313#line 287 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
314struct i387_fsave_struct {
315 u32 cwd ;
316 u32 swd ;
317 u32 twd ;
318 u32 fip ;
319 u32 fcs ;
320 u32 foo ;
321 u32 fos ;
322 u32 st_space[20U] ;
323 u32 status ;
324};
325#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
326struct __anonstruct_ldv_5180_24 {
327 u64 rip ;
328 u64 rdp ;
329};
330#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
331struct __anonstruct_ldv_5186_25 {
332 u32 fip ;
333 u32 fcs ;
334 u32 foo ;
335 u32 fos ;
336};
337#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
338union __anonunion_ldv_5187_23 {
339 struct __anonstruct_ldv_5180_24 ldv_5180 ;
340 struct __anonstruct_ldv_5186_25 ldv_5186 ;
341};
342#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
343union __anonunion_ldv_5196_26 {
344 u32 padding1[12U] ;
345 u32 sw_reserved[12U] ;
346};
347#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
348struct i387_fxsave_struct {
349 u16 cwd ;
350 u16 swd ;
351 u16 twd ;
352 u16 fop ;
353 union __anonunion_ldv_5187_23 ldv_5187 ;
354 u32 mxcsr ;
355 u32 mxcsr_mask ;
356 u32 st_space[32U] ;
357 u32 xmm_space[64U] ;
358 u32 padding[12U] ;
359 union __anonunion_ldv_5196_26 ldv_5196 ;
360};
361#line 339 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
362struct i387_soft_struct {
363 u32 cwd ;
364 u32 swd ;
365 u32 twd ;
366 u32 fip ;
367 u32 fcs ;
368 u32 foo ;
369 u32 fos ;
370 u32 st_space[20U] ;
371 u8 ftop ;
372 u8 changed ;
373 u8 lookahead ;
374 u8 no_update ;
375 u8 rm ;
376 u8 alimit ;
377 struct math_emu_info *info ;
378 u32 entry_eip ;
379};
380#line 360 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
381struct ymmh_struct {
382 u32 ymmh_space[64U] ;
383};
384#line 365 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
385struct xsave_hdr_struct {
386 u64 xstate_bv ;
387 u64 reserved1[2U] ;
388 u64 reserved2[5U] ;
389};
390#line 371 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
391struct xsave_struct {
392 struct i387_fxsave_struct i387 ;
393 struct xsave_hdr_struct xsave_hdr ;
394 struct ymmh_struct ymmh ;
395};
396#line 377 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
397union thread_xstate {
398 struct i387_fsave_struct fsave ;
399 struct i387_fxsave_struct fxsave ;
400 struct i387_soft_struct soft ;
401 struct xsave_struct xsave ;
402};
403#line 385 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
404struct fpu {
405 unsigned int last_cpu ;
406 unsigned int has_fpu ;
407 union thread_xstate *state ;
408};
409#line 433
410struct kmem_cache;
411#line 434
412struct perf_event;
413#line 434
414struct perf_event;
415#line 435 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
416struct thread_struct {
417 struct desc_struct tls_array[3U] ;
418 unsigned long sp0 ;
419 unsigned long sp ;
420 unsigned long usersp ;
421 unsigned short es ;
422 unsigned short ds ;
423 unsigned short fsindex ;
424 unsigned short gsindex ;
425 unsigned long fs ;
426 unsigned long gs ;
427 struct perf_event *ptrace_bps[4U] ;
428 unsigned long debugreg6 ;
429 unsigned long ptrace_dr7 ;
430 unsigned long cr2 ;
431 unsigned long trap_nr ;
432 unsigned long error_code ;
433 struct fpu fpu ;
434 unsigned long *io_bitmap_ptr ;
435 unsigned long iopl ;
436 unsigned int io_bitmap_max ;
437};
438#line 23 "include/asm-generic/atomic-long.h"
439typedef atomic64_t atomic_long_t;
440#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
441typedef u16 __ticket_t;
442#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
443typedef u32 __ticketpair_t;
444#line 16 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
445struct __raw_tickets {
446 __ticket_t head ;
447 __ticket_t tail ;
448};
449#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
450union __anonunion_ldv_5907_29 {
451 __ticketpair_t head_tail ;
452 struct __raw_tickets tickets ;
453};
454#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
455struct arch_spinlock {
456 union __anonunion_ldv_5907_29 ldv_5907 ;
457};
458#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
459typedef struct arch_spinlock arch_spinlock_t;
460#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
461struct __anonstruct_ldv_5914_31 {
462 u32 read ;
463 s32 write ;
464};
465#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
466union __anonunion_arch_rwlock_t_30 {
467 s64 lock ;
468 struct __anonstruct_ldv_5914_31 ldv_5914 ;
469};
470#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
471typedef union __anonunion_arch_rwlock_t_30 arch_rwlock_t;
472#line 34
473struct lockdep_map;
474#line 34
475struct lockdep_map;
476#line 55 "include/linux/debug_locks.h"
477struct stack_trace {
478 unsigned int nr_entries ;
479 unsigned int max_entries ;
480 unsigned long *entries ;
481 int skip ;
482};
483#line 26 "include/linux/stacktrace.h"
484struct lockdep_subclass_key {
485 char __one_byte ;
486};
487#line 53 "include/linux/lockdep.h"
488struct lock_class_key {
489 struct lockdep_subclass_key subkeys[8U] ;
490};
491#line 59 "include/linux/lockdep.h"
492struct lock_class {
493 struct list_head hash_entry ;
494 struct list_head lock_entry ;
495 struct lockdep_subclass_key *key ;
496 unsigned int subclass ;
497 unsigned int dep_gen_id ;
498 unsigned long usage_mask ;
499 struct stack_trace usage_traces[13U] ;
500 struct list_head locks_after ;
501 struct list_head locks_before ;
502 unsigned int version ;
503 unsigned long ops ;
504 char const *name ;
505 int name_version ;
506 unsigned long contention_point[4U] ;
507 unsigned long contending_point[4U] ;
508};
509#line 144 "include/linux/lockdep.h"
510struct lockdep_map {
511 struct lock_class_key *key ;
512 struct lock_class *class_cache[2U] ;
513 char const *name ;
514 int cpu ;
515 unsigned long ip ;
516};
517#line 187 "include/linux/lockdep.h"
518struct held_lock {
519 u64 prev_chain_key ;
520 unsigned long acquire_ip ;
521 struct lockdep_map *instance ;
522 struct lockdep_map *nest_lock ;
523 u64 waittime_stamp ;
524 u64 holdtime_stamp ;
525 unsigned short class_idx : 13 ;
526 unsigned char irq_context : 2 ;
527 unsigned char trylock : 1 ;
528 unsigned char read : 2 ;
529 unsigned char check : 2 ;
530 unsigned char hardirqs_off : 1 ;
531 unsigned short references : 11 ;
532};
533#line 556 "include/linux/lockdep.h"
534struct raw_spinlock {
535 arch_spinlock_t raw_lock ;
536 unsigned int magic ;
537 unsigned int owner_cpu ;
538 void *owner ;
539 struct lockdep_map dep_map ;
540};
541#line 32 "include/linux/spinlock_types.h"
542typedef struct raw_spinlock raw_spinlock_t;
543#line 33 "include/linux/spinlock_types.h"
544struct __anonstruct_ldv_6122_33 {
545 u8 __padding[24U] ;
546 struct lockdep_map dep_map ;
547};
548#line 33 "include/linux/spinlock_types.h"
549union __anonunion_ldv_6123_32 {
550 struct raw_spinlock rlock ;
551 struct __anonstruct_ldv_6122_33 ldv_6122 ;
552};
553#line 33 "include/linux/spinlock_types.h"
554struct spinlock {
555 union __anonunion_ldv_6123_32 ldv_6123 ;
556};
557#line 76 "include/linux/spinlock_types.h"
558typedef struct spinlock spinlock_t;
559#line 23 "include/linux/rwlock_types.h"
560struct __anonstruct_rwlock_t_34 {
561 arch_rwlock_t raw_lock ;
562 unsigned int magic ;
563 unsigned int owner_cpu ;
564 void *owner ;
565 struct lockdep_map dep_map ;
566};
567#line 23 "include/linux/rwlock_types.h"
568typedef struct __anonstruct_rwlock_t_34 rwlock_t;
569#line 110 "include/linux/seqlock.h"
570struct seqcount {
571 unsigned int sequence ;
572};
573#line 121 "include/linux/seqlock.h"
574typedef struct seqcount seqcount_t;
575#line 254 "include/linux/seqlock.h"
576struct timespec {
577 __kernel_time_t tv_sec ;
578 long tv_nsec ;
579};
580#line 286 "include/linux/time.h"
581struct kstat {
582 u64 ino ;
583 dev_t dev ;
584 umode_t mode ;
585 unsigned int nlink ;
586 uid_t uid ;
587 gid_t gid ;
588 dev_t rdev ;
589 loff_t size ;
590 struct timespec atime ;
591 struct timespec mtime ;
592 struct timespec ctime ;
593 unsigned long blksize ;
594 unsigned long long blocks ;
595};
596#line 48 "include/linux/wait.h"
597struct __wait_queue_head {
598 spinlock_t lock ;
599 struct list_head task_list ;
600};
601#line 53 "include/linux/wait.h"
602typedef struct __wait_queue_head wait_queue_head_t;
603#line 98 "include/linux/nodemask.h"
604struct __anonstruct_nodemask_t_36 {
605 unsigned long bits[16U] ;
606};
607#line 98 "include/linux/nodemask.h"
608typedef struct __anonstruct_nodemask_t_36 nodemask_t;
609#line 670 "include/linux/mmzone.h"
610struct mutex {
611 atomic_t count ;
612 spinlock_t wait_lock ;
613 struct list_head wait_list ;
614 struct task_struct *owner ;
615 char const *name ;
616 void *magic ;
617 struct lockdep_map dep_map ;
618};
619#line 63 "include/linux/mutex.h"
620struct mutex_waiter {
621 struct list_head list ;
622 struct task_struct *task ;
623 void *magic ;
624};
625#line 171
626struct rw_semaphore;
627#line 171
628struct rw_semaphore;
629#line 172 "include/linux/mutex.h"
630struct rw_semaphore {
631 long count ;
632 raw_spinlock_t wait_lock ;
633 struct list_head wait_list ;
634 struct lockdep_map dep_map ;
635};
636#line 128 "include/linux/rwsem.h"
637struct completion {
638 unsigned int done ;
639 wait_queue_head_t wait ;
640};
641#line 188 "include/linux/rcupdate.h"
642struct notifier_block;
643#line 188
644struct notifier_block;
645#line 239 "include/linux/srcu.h"
646struct notifier_block {
647 int (*notifier_call)(struct notifier_block * , unsigned long , void * ) ;
648 struct notifier_block *next ;
649 int priority ;
650};
651#line 312 "include/linux/jiffies.h"
652union ktime {
653 s64 tv64 ;
654};
655#line 59 "include/linux/ktime.h"
656typedef union ktime ktime_t;
657#line 341
658struct tvec_base;
659#line 341
660struct tvec_base;
661#line 342 "include/linux/ktime.h"
662struct timer_list {
663 struct list_head entry ;
664 unsigned long expires ;
665 struct tvec_base *base ;
666 void (*function)(unsigned long ) ;
667 unsigned long data ;
668 int slack ;
669 int start_pid ;
670 void *start_site ;
671 char start_comm[16U] ;
672 struct lockdep_map lockdep_map ;
673};
674#line 289 "include/linux/timer.h"
675struct hrtimer;
676#line 289
677struct hrtimer;
678#line 290
679enum hrtimer_restart;
680#line 302
681struct work_struct;
682#line 302
683struct work_struct;
684#line 45 "include/linux/workqueue.h"
685struct work_struct {
686 atomic_long_t data ;
687 struct list_head entry ;
688 void (*func)(struct work_struct * ) ;
689 struct lockdep_map lockdep_map ;
690};
691#line 86 "include/linux/workqueue.h"
692struct delayed_work {
693 struct work_struct work ;
694 struct timer_list timer ;
695};
696#line 46 "include/linux/pm.h"
697struct pm_message {
698 int event ;
699};
700#line 52 "include/linux/pm.h"
701typedef struct pm_message pm_message_t;
702#line 53 "include/linux/pm.h"
703struct dev_pm_ops {
704 int (*prepare)(struct device * ) ;
705 void (*complete)(struct device * ) ;
706 int (*suspend)(struct device * ) ;
707 int (*resume)(struct device * ) ;
708 int (*freeze)(struct device * ) ;
709 int (*thaw)(struct device * ) ;
710 int (*poweroff)(struct device * ) ;
711 int (*restore)(struct device * ) ;
712 int (*suspend_late)(struct device * ) ;
713 int (*resume_early)(struct device * ) ;
714 int (*freeze_late)(struct device * ) ;
715 int (*thaw_early)(struct device * ) ;
716 int (*poweroff_late)(struct device * ) ;
717 int (*restore_early)(struct device * ) ;
718 int (*suspend_noirq)(struct device * ) ;
719 int (*resume_noirq)(struct device * ) ;
720 int (*freeze_noirq)(struct device * ) ;
721 int (*thaw_noirq)(struct device * ) ;
722 int (*poweroff_noirq)(struct device * ) ;
723 int (*restore_noirq)(struct device * ) ;
724 int (*runtime_suspend)(struct device * ) ;
725 int (*runtime_resume)(struct device * ) ;
726 int (*runtime_idle)(struct device * ) ;
727};
728#line 289
729enum rpm_status {
730 RPM_ACTIVE = 0,
731 RPM_RESUMING = 1,
732 RPM_SUSPENDED = 2,
733 RPM_SUSPENDING = 3
734} ;
735#line 296
736enum rpm_request {
737 RPM_REQ_NONE = 0,
738 RPM_REQ_IDLE = 1,
739 RPM_REQ_SUSPEND = 2,
740 RPM_REQ_AUTOSUSPEND = 3,
741 RPM_REQ_RESUME = 4
742} ;
743#line 304
744struct wakeup_source;
745#line 304
746struct wakeup_source;
747#line 494 "include/linux/pm.h"
748struct pm_subsys_data {
749 spinlock_t lock ;
750 unsigned int refcount ;
751};
752#line 499
753struct dev_pm_qos_request;
754#line 499
755struct pm_qos_constraints;
756#line 499 "include/linux/pm.h"
757struct dev_pm_info {
758 pm_message_t power_state ;
759 unsigned char can_wakeup : 1 ;
760 unsigned char async_suspend : 1 ;
761 bool is_prepared ;
762 bool is_suspended ;
763 bool ignore_children ;
764 spinlock_t lock ;
765 struct list_head entry ;
766 struct completion completion ;
767 struct wakeup_source *wakeup ;
768 bool wakeup_path ;
769 struct timer_list suspend_timer ;
770 unsigned long timer_expires ;
771 struct work_struct work ;
772 wait_queue_head_t wait_queue ;
773 atomic_t usage_count ;
774 atomic_t child_count ;
775 unsigned char disable_depth : 3 ;
776 unsigned char idle_notification : 1 ;
777 unsigned char request_pending : 1 ;
778 unsigned char deferred_resume : 1 ;
779 unsigned char run_wake : 1 ;
780 unsigned char runtime_auto : 1 ;
781 unsigned char no_callbacks : 1 ;
782 unsigned char irq_safe : 1 ;
783 unsigned char use_autosuspend : 1 ;
784 unsigned char timer_autosuspends : 1 ;
785 enum rpm_request request ;
786 enum rpm_status runtime_status ;
787 int runtime_error ;
788 int autosuspend_delay ;
789 unsigned long last_busy ;
790 unsigned long active_jiffies ;
791 unsigned long suspended_jiffies ;
792 unsigned long accounting_timestamp ;
793 ktime_t suspend_time ;
794 s64 max_time_suspended_ns ;
795 struct dev_pm_qos_request *pq_req ;
796 struct pm_subsys_data *subsys_data ;
797 struct pm_qos_constraints *constraints ;
798};
799#line 558 "include/linux/pm.h"
800struct dev_pm_domain {
801 struct dev_pm_ops ops ;
802};
803#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
804struct __anonstruct_mm_context_t_101 {
805 void *ldt ;
806 int size ;
807 unsigned short ia32_compat ;
808 struct mutex lock ;
809 void *vdso ;
810};
811#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
812typedef struct __anonstruct_mm_context_t_101 mm_context_t;
813#line 18 "include/asm-generic/pci_iomap.h"
814struct vm_area_struct;
815#line 18
816struct vm_area_struct;
817#line 835 "include/linux/sysctl.h"
818struct rb_node {
819 unsigned long rb_parent_color ;
820 struct rb_node *rb_right ;
821 struct rb_node *rb_left ;
822};
823#line 108 "include/linux/rbtree.h"
824struct rb_root {
825 struct rb_node *rb_node ;
826};
827#line 176
828struct nsproxy;
829#line 176
830struct nsproxy;
831#line 37 "include/linux/kmod.h"
832struct cred;
833#line 37
834struct cred;
835#line 18 "include/linux/elf.h"
836typedef __u64 Elf64_Addr;
837#line 19 "include/linux/elf.h"
838typedef __u16 Elf64_Half;
839#line 23 "include/linux/elf.h"
840typedef __u32 Elf64_Word;
841#line 24 "include/linux/elf.h"
842typedef __u64 Elf64_Xword;
843#line 193 "include/linux/elf.h"
844struct elf64_sym {
845 Elf64_Word st_name ;
846 unsigned char st_info ;
847 unsigned char st_other ;
848 Elf64_Half st_shndx ;
849 Elf64_Addr st_value ;
850 Elf64_Xword st_size ;
851};
852#line 201 "include/linux/elf.h"
853typedef struct elf64_sym Elf64_Sym;
854#line 445
855struct sock;
856#line 445
857struct sock;
858#line 446
859struct kobject;
860#line 446
861struct kobject;
862#line 447
863enum kobj_ns_type {
864 KOBJ_NS_TYPE_NONE = 0,
865 KOBJ_NS_TYPE_NET = 1,
866 KOBJ_NS_TYPES = 2
867} ;
868#line 453 "include/linux/elf.h"
869struct kobj_ns_type_operations {
870 enum kobj_ns_type type ;
871 void *(*grab_current_ns)(void) ;
872 void const *(*netlink_ns)(struct sock * ) ;
873 void const *(*initial_ns)(void) ;
874 void (*drop_ns)(void * ) ;
875};
876#line 57 "include/linux/kobject_ns.h"
877struct attribute {
878 char const *name ;
879 umode_t mode ;
880 struct lock_class_key *key ;
881 struct lock_class_key skey ;
882};
883#line 33 "include/linux/sysfs.h"
884struct attribute_group {
885 char const *name ;
886 umode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
887 struct attribute **attrs ;
888};
889#line 62 "include/linux/sysfs.h"
890struct bin_attribute {
891 struct attribute attr ;
892 size_t size ;
893 void *private ;
894 ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
895 loff_t , size_t ) ;
896 ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
897 loff_t , size_t ) ;
898 int (*mmap)(struct file * , struct kobject * , struct bin_attribute * , struct vm_area_struct * ) ;
899};
900#line 98 "include/linux/sysfs.h"
901struct sysfs_ops {
902 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
903 ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ;
904 void const *(*namespace)(struct kobject * , struct attribute const * ) ;
905};
906#line 117
907struct sysfs_dirent;
908#line 117
909struct sysfs_dirent;
910#line 182 "include/linux/sysfs.h"
911struct kref {
912 atomic_t refcount ;
913};
914#line 49 "include/linux/kobject.h"
915struct kset;
916#line 49
917struct kobj_type;
918#line 49 "include/linux/kobject.h"
919struct kobject {
920 char const *name ;
921 struct list_head entry ;
922 struct kobject *parent ;
923 struct kset *kset ;
924 struct kobj_type *ktype ;
925 struct sysfs_dirent *sd ;
926 struct kref kref ;
927 unsigned char state_initialized : 1 ;
928 unsigned char state_in_sysfs : 1 ;
929 unsigned char state_add_uevent_sent : 1 ;
930 unsigned char state_remove_uevent_sent : 1 ;
931 unsigned char uevent_suppress : 1 ;
932};
933#line 107 "include/linux/kobject.h"
934struct kobj_type {
935 void (*release)(struct kobject * ) ;
936 struct sysfs_ops const *sysfs_ops ;
937 struct attribute **default_attrs ;
938 struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject * ) ;
939 void const *(*namespace)(struct kobject * ) ;
940};
941#line 115 "include/linux/kobject.h"
942struct kobj_uevent_env {
943 char *envp[32U] ;
944 int envp_idx ;
945 char buf[2048U] ;
946 int buflen ;
947};
948#line 122 "include/linux/kobject.h"
949struct kset_uevent_ops {
950 int (* const filter)(struct kset * , struct kobject * ) ;
951 char const *(* const name)(struct kset * , struct kobject * ) ;
952 int (* const uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
953};
954#line 139 "include/linux/kobject.h"
955struct kset {
956 struct list_head list ;
957 spinlock_t list_lock ;
958 struct kobject kobj ;
959 struct kset_uevent_ops const *uevent_ops ;
960};
961#line 215
962struct kernel_param;
963#line 215
964struct kernel_param;
965#line 216 "include/linux/kobject.h"
966struct kernel_param_ops {
967 int (*set)(char const * , struct kernel_param const * ) ;
968 int (*get)(char * , struct kernel_param const * ) ;
969 void (*free)(void * ) ;
970};
971#line 49 "include/linux/moduleparam.h"
972struct kparam_string;
973#line 49
974struct kparam_array;
975#line 49 "include/linux/moduleparam.h"
976union __anonunion_ldv_13363_134 {
977 void *arg ;
978 struct kparam_string const *str ;
979 struct kparam_array const *arr ;
980};
981#line 49 "include/linux/moduleparam.h"
982struct kernel_param {
983 char const *name ;
984 struct kernel_param_ops const *ops ;
985 u16 perm ;
986 s16 level ;
987 union __anonunion_ldv_13363_134 ldv_13363 ;
988};
989#line 61 "include/linux/moduleparam.h"
990struct kparam_string {
991 unsigned int maxlen ;
992 char *string ;
993};
994#line 67 "include/linux/moduleparam.h"
995struct kparam_array {
996 unsigned int max ;
997 unsigned int elemsize ;
998 unsigned int *num ;
999 struct kernel_param_ops const *ops ;
1000 void *elem ;
1001};
1002#line 458 "include/linux/moduleparam.h"
1003struct static_key {
1004 atomic_t enabled ;
1005};
1006#line 225 "include/linux/jump_label.h"
1007struct tracepoint;
1008#line 225
1009struct tracepoint;
1010#line 226 "include/linux/jump_label.h"
1011struct tracepoint_func {
1012 void *func ;
1013 void *data ;
1014};
1015#line 29 "include/linux/tracepoint.h"
1016struct tracepoint {
1017 char const *name ;
1018 struct static_key key ;
1019 void (*regfunc)(void) ;
1020 void (*unregfunc)(void) ;
1021 struct tracepoint_func *funcs ;
1022};
1023#line 86 "include/linux/tracepoint.h"
1024struct kernel_symbol {
1025 unsigned long value ;
1026 char const *name ;
1027};
1028#line 27 "include/linux/export.h"
1029struct mod_arch_specific {
1030
1031};
1032#line 34 "include/linux/module.h"
1033struct module_param_attrs;
1034#line 34 "include/linux/module.h"
1035struct module_kobject {
1036 struct kobject kobj ;
1037 struct module *mod ;
1038 struct kobject *drivers_dir ;
1039 struct module_param_attrs *mp ;
1040};
1041#line 43 "include/linux/module.h"
1042struct module_attribute {
1043 struct attribute attr ;
1044 ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
1045 ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const * ,
1046 size_t ) ;
1047 void (*setup)(struct module * , char const * ) ;
1048 int (*test)(struct module * ) ;
1049 void (*free)(struct module * ) ;
1050};
1051#line 69
1052struct exception_table_entry;
1053#line 69
1054struct exception_table_entry;
1055#line 198
1056enum module_state {
1057 MODULE_STATE_LIVE = 0,
1058 MODULE_STATE_COMING = 1,
1059 MODULE_STATE_GOING = 2
1060} ;
1061#line 204 "include/linux/module.h"
1062struct module_ref {
1063 unsigned long incs ;
1064 unsigned long decs ;
1065};
1066#line 219
1067struct module_sect_attrs;
1068#line 219
1069struct module_notes_attrs;
1070#line 219
1071struct ftrace_event_call;
1072#line 219 "include/linux/module.h"
1073struct module {
1074 enum module_state state ;
1075 struct list_head list ;
1076 char name[56U] ;
1077 struct module_kobject mkobj ;
1078 struct module_attribute *modinfo_attrs ;
1079 char const *version ;
1080 char const *srcversion ;
1081 struct kobject *holders_dir ;
1082 struct kernel_symbol const *syms ;
1083 unsigned long const *crcs ;
1084 unsigned int num_syms ;
1085 struct kernel_param *kp ;
1086 unsigned int num_kp ;
1087 unsigned int num_gpl_syms ;
1088 struct kernel_symbol const *gpl_syms ;
1089 unsigned long const *gpl_crcs ;
1090 struct kernel_symbol const *unused_syms ;
1091 unsigned long const *unused_crcs ;
1092 unsigned int num_unused_syms ;
1093 unsigned int num_unused_gpl_syms ;
1094 struct kernel_symbol const *unused_gpl_syms ;
1095 unsigned long const *unused_gpl_crcs ;
1096 struct kernel_symbol const *gpl_future_syms ;
1097 unsigned long const *gpl_future_crcs ;
1098 unsigned int num_gpl_future_syms ;
1099 unsigned int num_exentries ;
1100 struct exception_table_entry *extable ;
1101 int (*init)(void) ;
1102 void *module_init ;
1103 void *module_core ;
1104 unsigned int init_size ;
1105 unsigned int core_size ;
1106 unsigned int init_text_size ;
1107 unsigned int core_text_size ;
1108 unsigned int init_ro_size ;
1109 unsigned int core_ro_size ;
1110 struct mod_arch_specific arch ;
1111 unsigned int taints ;
1112 unsigned int num_bugs ;
1113 struct list_head bug_list ;
1114 struct bug_entry *bug_table ;
1115 Elf64_Sym *symtab ;
1116 Elf64_Sym *core_symtab ;
1117 unsigned int num_symtab ;
1118 unsigned int core_num_syms ;
1119 char *strtab ;
1120 char *core_strtab ;
1121 struct module_sect_attrs *sect_attrs ;
1122 struct module_notes_attrs *notes_attrs ;
1123 char *args ;
1124 void *percpu ;
1125 unsigned int percpu_size ;
1126 unsigned int num_tracepoints ;
1127 struct tracepoint * const *tracepoints_ptrs ;
1128 unsigned int num_trace_bprintk_fmt ;
1129 char const **trace_bprintk_fmt_start ;
1130 struct ftrace_event_call **trace_events ;
1131 unsigned int num_trace_events ;
1132 struct list_head source_list ;
1133 struct list_head target_list ;
1134 struct task_struct *waiter ;
1135 void (*exit)(void) ;
1136 struct module_ref *refptr ;
1137 ctor_fn_t (**ctors)(void) ;
1138 unsigned int num_ctors ;
1139};
1140#line 88 "include/linux/kmemleak.h"
1141struct kmem_cache_cpu {
1142 void **freelist ;
1143 unsigned long tid ;
1144 struct page *page ;
1145 struct page *partial ;
1146 int node ;
1147 unsigned int stat[26U] ;
1148};
1149#line 55 "include/linux/slub_def.h"
1150struct kmem_cache_node {
1151 spinlock_t list_lock ;
1152 unsigned long nr_partial ;
1153 struct list_head partial ;
1154 atomic_long_t nr_slabs ;
1155 atomic_long_t total_objects ;
1156 struct list_head full ;
1157};
1158#line 66 "include/linux/slub_def.h"
1159struct kmem_cache_order_objects {
1160 unsigned long x ;
1161};
1162#line 76 "include/linux/slub_def.h"
1163struct kmem_cache {
1164 struct kmem_cache_cpu *cpu_slab ;
1165 unsigned long flags ;
1166 unsigned long min_partial ;
1167 int size ;
1168 int objsize ;
1169 int offset ;
1170 int cpu_partial ;
1171 struct kmem_cache_order_objects oo ;
1172 struct kmem_cache_order_objects max ;
1173 struct kmem_cache_order_objects min ;
1174 gfp_t allocflags ;
1175 int refcount ;
1176 void (*ctor)(void * ) ;
1177 int inuse ;
1178 int align ;
1179 int reserved ;
1180 char const *name ;
1181 struct list_head list ;
1182 struct kobject kobj ;
1183 int remote_node_defrag_ratio ;
1184 struct kmem_cache_node *node[1024U] ;
1185};
1186#line 215 "include/linux/mod_devicetable.h"
1187struct of_device_id {
1188 char name[32U] ;
1189 char type[32U] ;
1190 char compatible[128U] ;
1191 void *data ;
1192};
1193#line 584
1194struct klist_node;
1195#line 584
1196struct klist_node;
1197#line 37 "include/linux/klist.h"
1198struct klist_node {
1199 void *n_klist ;
1200 struct list_head n_node ;
1201 struct kref n_ref ;
1202};
1203#line 67
1204struct dma_map_ops;
1205#line 67 "include/linux/klist.h"
1206struct dev_archdata {
1207 void *acpi_handle ;
1208 struct dma_map_ops *dma_ops ;
1209 void *iommu ;
1210};
1211#line 17 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1212struct device_private;
1213#line 17
1214struct device_private;
1215#line 18
1216struct device_driver;
1217#line 18
1218struct device_driver;
1219#line 19
1220struct driver_private;
1221#line 19
1222struct driver_private;
1223#line 20
1224struct class;
1225#line 20
1226struct class;
1227#line 21
1228struct subsys_private;
1229#line 21
1230struct subsys_private;
1231#line 22
1232struct bus_type;
1233#line 22
1234struct bus_type;
1235#line 23
1236struct device_node;
1237#line 23
1238struct device_node;
1239#line 24
1240struct iommu_ops;
1241#line 24
1242struct iommu_ops;
1243#line 25 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1244struct bus_attribute {
1245 struct attribute attr ;
1246 ssize_t (*show)(struct bus_type * , char * ) ;
1247 ssize_t (*store)(struct bus_type * , char const * , size_t ) ;
1248};
1249#line 51 "include/linux/device.h"
1250struct device_attribute;
1251#line 51
1252struct driver_attribute;
1253#line 51 "include/linux/device.h"
1254struct bus_type {
1255 char const *name ;
1256 char const *dev_name ;
1257 struct device *dev_root ;
1258 struct bus_attribute *bus_attrs ;
1259 struct device_attribute *dev_attrs ;
1260 struct driver_attribute *drv_attrs ;
1261 int (*match)(struct device * , struct device_driver * ) ;
1262 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1263 int (*probe)(struct device * ) ;
1264 int (*remove)(struct device * ) ;
1265 void (*shutdown)(struct device * ) ;
1266 int (*suspend)(struct device * , pm_message_t ) ;
1267 int (*resume)(struct device * ) ;
1268 struct dev_pm_ops const *pm ;
1269 struct iommu_ops *iommu_ops ;
1270 struct subsys_private *p ;
1271};
1272#line 125
1273struct device_type;
1274#line 182 "include/linux/device.h"
1275struct device_driver {
1276 char const *name ;
1277 struct bus_type *bus ;
1278 struct module *owner ;
1279 char const *mod_name ;
1280 bool suppress_bind_attrs ;
1281 struct of_device_id const *of_match_table ;
1282 int (*probe)(struct device * ) ;
1283 int (*remove)(struct device * ) ;
1284 void (*shutdown)(struct device * ) ;
1285 int (*suspend)(struct device * , pm_message_t ) ;
1286 int (*resume)(struct device * ) ;
1287 struct attribute_group const **groups ;
1288 struct dev_pm_ops const *pm ;
1289 struct driver_private *p ;
1290};
1291#line 245 "include/linux/device.h"
1292struct driver_attribute {
1293 struct attribute attr ;
1294 ssize_t (*show)(struct device_driver * , char * ) ;
1295 ssize_t (*store)(struct device_driver * , char const * , size_t ) ;
1296};
1297#line 299
1298struct class_attribute;
1299#line 299 "include/linux/device.h"
1300struct class {
1301 char const *name ;
1302 struct module *owner ;
1303 struct class_attribute *class_attrs ;
1304 struct device_attribute *dev_attrs ;
1305 struct bin_attribute *dev_bin_attrs ;
1306 struct kobject *dev_kobj ;
1307 int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ;
1308 char *(*devnode)(struct device * , umode_t * ) ;
1309 void (*class_release)(struct class * ) ;
1310 void (*dev_release)(struct device * ) ;
1311 int (*suspend)(struct device * , pm_message_t ) ;
1312 int (*resume)(struct device * ) ;
1313 struct kobj_ns_type_operations const *ns_type ;
1314 void const *(*namespace)(struct device * ) ;
1315 struct dev_pm_ops const *pm ;
1316 struct subsys_private *p ;
1317};
1318#line 394 "include/linux/device.h"
1319struct class_attribute {
1320 struct attribute attr ;
1321 ssize_t (*show)(struct class * , struct class_attribute * , char * ) ;
1322 ssize_t (*store)(struct class * , struct class_attribute * , char const * , size_t ) ;
1323 void const *(*namespace)(struct class * , struct class_attribute const * ) ;
1324};
1325#line 447 "include/linux/device.h"
1326struct device_type {
1327 char const *name ;
1328 struct attribute_group const **groups ;
1329 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1330 char *(*devnode)(struct device * , umode_t * ) ;
1331 void (*release)(struct device * ) ;
1332 struct dev_pm_ops const *pm ;
1333};
1334#line 474 "include/linux/device.h"
1335struct device_attribute {
1336 struct attribute attr ;
1337 ssize_t (*show)(struct device * , struct device_attribute * , char * ) ;
1338 ssize_t (*store)(struct device * , struct device_attribute * , char const * ,
1339 size_t ) ;
1340};
1341#line 557 "include/linux/device.h"
1342struct device_dma_parameters {
1343 unsigned int max_segment_size ;
1344 unsigned long segment_boundary_mask ;
1345};
1346#line 567
1347struct dma_coherent_mem;
1348#line 567 "include/linux/device.h"
1349struct device {
1350 struct device *parent ;
1351 struct device_private *p ;
1352 struct kobject kobj ;
1353 char const *init_name ;
1354 struct device_type const *type ;
1355 struct mutex mutex ;
1356 struct bus_type *bus ;
1357 struct device_driver *driver ;
1358 void *platform_data ;
1359 struct dev_pm_info power ;
1360 struct dev_pm_domain *pm_domain ;
1361 int numa_node ;
1362 u64 *dma_mask ;
1363 u64 coherent_dma_mask ;
1364 struct device_dma_parameters *dma_parms ;
1365 struct list_head dma_pools ;
1366 struct dma_coherent_mem *dma_mem ;
1367 struct dev_archdata archdata ;
1368 struct device_node *of_node ;
1369 dev_t devt ;
1370 u32 id ;
1371 spinlock_t devres_lock ;
1372 struct list_head devres_head ;
1373 struct klist_node knode_class ;
1374 struct class *class ;
1375 struct attribute_group const **groups ;
1376 void (*release)(struct device * ) ;
1377};
1378#line 681 "include/linux/device.h"
1379struct wakeup_source {
1380 char const *name ;
1381 struct list_head entry ;
1382 spinlock_t lock ;
1383 struct timer_list timer ;
1384 unsigned long timer_expires ;
1385 ktime_t total_time ;
1386 ktime_t max_time ;
1387 ktime_t last_time ;
1388 unsigned long event_count ;
1389 unsigned long active_count ;
1390 unsigned long relax_count ;
1391 unsigned long hit_count ;
1392 unsigned char active : 1 ;
1393};
1394#line 93 "include/linux/capability.h"
1395struct kernel_cap_struct {
1396 __u32 cap[2U] ;
1397};
1398#line 96 "include/linux/capability.h"
1399typedef struct kernel_cap_struct kernel_cap_t;
1400#line 104
1401struct dentry;
1402#line 104
1403struct dentry;
1404#line 105
1405struct user_namespace;
1406#line 105
1407struct user_namespace;
1408#line 554
1409struct prio_tree_node;
1410#line 554 "include/linux/capability.h"
1411struct raw_prio_tree_node {
1412 struct prio_tree_node *left ;
1413 struct prio_tree_node *right ;
1414 struct prio_tree_node *parent ;
1415};
1416#line 19 "include/linux/prio_tree.h"
1417struct prio_tree_node {
1418 struct prio_tree_node *left ;
1419 struct prio_tree_node *right ;
1420 struct prio_tree_node *parent ;
1421 unsigned long start ;
1422 unsigned long last ;
1423};
1424#line 27 "include/linux/prio_tree.h"
1425struct prio_tree_root {
1426 struct prio_tree_node *prio_tree_node ;
1427 unsigned short index_bits ;
1428 unsigned short raw ;
1429};
1430#line 116
1431struct address_space;
1432#line 116
1433struct address_space;
1434#line 117 "include/linux/prio_tree.h"
1435union __anonunion_ldv_15327_138 {
1436 unsigned long index ;
1437 void *freelist ;
1438};
1439#line 117 "include/linux/prio_tree.h"
1440struct __anonstruct_ldv_15337_142 {
1441 unsigned short inuse ;
1442 unsigned short objects : 15 ;
1443 unsigned char frozen : 1 ;
1444};
1445#line 117 "include/linux/prio_tree.h"
1446union __anonunion_ldv_15338_141 {
1447 atomic_t _mapcount ;
1448 struct __anonstruct_ldv_15337_142 ldv_15337 ;
1449};
1450#line 117 "include/linux/prio_tree.h"
1451struct __anonstruct_ldv_15340_140 {
1452 union __anonunion_ldv_15338_141 ldv_15338 ;
1453 atomic_t _count ;
1454};
1455#line 117 "include/linux/prio_tree.h"
1456union __anonunion_ldv_15341_139 {
1457 unsigned long counters ;
1458 struct __anonstruct_ldv_15340_140 ldv_15340 ;
1459};
1460#line 117 "include/linux/prio_tree.h"
1461struct __anonstruct_ldv_15342_137 {
1462 union __anonunion_ldv_15327_138 ldv_15327 ;
1463 union __anonunion_ldv_15341_139 ldv_15341 ;
1464};
1465#line 117 "include/linux/prio_tree.h"
1466struct __anonstruct_ldv_15349_144 {
1467 struct page *next ;
1468 int pages ;
1469 int pobjects ;
1470};
1471#line 117 "include/linux/prio_tree.h"
1472union __anonunion_ldv_15350_143 {
1473 struct list_head lru ;
1474 struct __anonstruct_ldv_15349_144 ldv_15349 ;
1475};
1476#line 117 "include/linux/prio_tree.h"
1477union __anonunion_ldv_15355_145 {
1478 unsigned long private ;
1479 struct kmem_cache *slab ;
1480 struct page *first_page ;
1481};
1482#line 117 "include/linux/prio_tree.h"
1483struct page {
1484 unsigned long flags ;
1485 struct address_space *mapping ;
1486 struct __anonstruct_ldv_15342_137 ldv_15342 ;
1487 union __anonunion_ldv_15350_143 ldv_15350 ;
1488 union __anonunion_ldv_15355_145 ldv_15355 ;
1489 unsigned long debug_flags ;
1490};
1491#line 192 "include/linux/mm_types.h"
1492struct __anonstruct_vm_set_147 {
1493 struct list_head list ;
1494 void *parent ;
1495 struct vm_area_struct *head ;
1496};
1497#line 192 "include/linux/mm_types.h"
1498union __anonunion_shared_146 {
1499 struct __anonstruct_vm_set_147 vm_set ;
1500 struct raw_prio_tree_node prio_tree_node ;
1501};
1502#line 192
1503struct anon_vma;
1504#line 192
1505struct vm_operations_struct;
1506#line 192
1507struct mempolicy;
1508#line 192 "include/linux/mm_types.h"
1509struct vm_area_struct {
1510 struct mm_struct *vm_mm ;
1511 unsigned long vm_start ;
1512 unsigned long vm_end ;
1513 struct vm_area_struct *vm_next ;
1514 struct vm_area_struct *vm_prev ;
1515 pgprot_t vm_page_prot ;
1516 unsigned long vm_flags ;
1517 struct rb_node vm_rb ;
1518 union __anonunion_shared_146 shared ;
1519 struct list_head anon_vma_chain ;
1520 struct anon_vma *anon_vma ;
1521 struct vm_operations_struct const *vm_ops ;
1522 unsigned long vm_pgoff ;
1523 struct file *vm_file ;
1524 void *vm_private_data ;
1525 struct mempolicy *vm_policy ;
1526};
1527#line 255 "include/linux/mm_types.h"
1528struct core_thread {
1529 struct task_struct *task ;
1530 struct core_thread *next ;
1531};
1532#line 261 "include/linux/mm_types.h"
1533struct core_state {
1534 atomic_t nr_threads ;
1535 struct core_thread dumper ;
1536 struct completion startup ;
1537};
1538#line 274 "include/linux/mm_types.h"
1539struct mm_rss_stat {
1540 atomic_long_t count[3U] ;
1541};
1542#line 287
1543struct linux_binfmt;
1544#line 287
1545struct mmu_notifier_mm;
1546#line 287 "include/linux/mm_types.h"
1547struct mm_struct {
1548 struct vm_area_struct *mmap ;
1549 struct rb_root mm_rb ;
1550 struct vm_area_struct *mmap_cache ;
1551 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
1552 unsigned long , unsigned long ) ;
1553 void (*unmap_area)(struct mm_struct * , unsigned long ) ;
1554 unsigned long mmap_base ;
1555 unsigned long task_size ;
1556 unsigned long cached_hole_size ;
1557 unsigned long free_area_cache ;
1558 pgd_t *pgd ;
1559 atomic_t mm_users ;
1560 atomic_t mm_count ;
1561 int map_count ;
1562 spinlock_t page_table_lock ;
1563 struct rw_semaphore mmap_sem ;
1564 struct list_head mmlist ;
1565 unsigned long hiwater_rss ;
1566 unsigned long hiwater_vm ;
1567 unsigned long total_vm ;
1568 unsigned long locked_vm ;
1569 unsigned long pinned_vm ;
1570 unsigned long shared_vm ;
1571 unsigned long exec_vm ;
1572 unsigned long stack_vm ;
1573 unsigned long reserved_vm ;
1574 unsigned long def_flags ;
1575 unsigned long nr_ptes ;
1576 unsigned long start_code ;
1577 unsigned long end_code ;
1578 unsigned long start_data ;
1579 unsigned long end_data ;
1580 unsigned long start_brk ;
1581 unsigned long brk ;
1582 unsigned long start_stack ;
1583 unsigned long arg_start ;
1584 unsigned long arg_end ;
1585 unsigned long env_start ;
1586 unsigned long env_end ;
1587 unsigned long saved_auxv[44U] ;
1588 struct mm_rss_stat rss_stat ;
1589 struct linux_binfmt *binfmt ;
1590 cpumask_var_t cpu_vm_mask_var ;
1591 mm_context_t context ;
1592 unsigned int faultstamp ;
1593 unsigned int token_priority ;
1594 unsigned int last_interval ;
1595 unsigned long flags ;
1596 struct core_state *core_state ;
1597 spinlock_t ioctx_lock ;
1598 struct hlist_head ioctx_list ;
1599 struct task_struct *owner ;
1600 struct file *exe_file ;
1601 unsigned long num_exe_file_vmas ;
1602 struct mmu_notifier_mm *mmu_notifier_mm ;
1603 pgtable_t pmd_huge_pte ;
1604 struct cpumask cpumask_allocation ;
1605};
1606#line 7 "include/asm-generic/cputime.h"
1607typedef unsigned long cputime_t;
1608#line 98 "include/linux/sem.h"
1609struct sem_undo_list;
1610#line 98 "include/linux/sem.h"
1611struct sysv_sem {
1612 struct sem_undo_list *undo_list ;
1613};
1614#line 107
1615struct siginfo;
1616#line 107
1617struct siginfo;
1618#line 32 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1619struct __anonstruct_sigset_t_148 {
1620 unsigned long sig[1U] ;
1621};
1622#line 32 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1623typedef struct __anonstruct_sigset_t_148 sigset_t;
1624#line 17 "include/asm-generic/signal-defs.h"
1625typedef void __signalfn_t(int );
1626#line 18 "include/asm-generic/signal-defs.h"
1627typedef __signalfn_t *__sighandler_t;
1628#line 20 "include/asm-generic/signal-defs.h"
1629typedef void __restorefn_t(void);
1630#line 21 "include/asm-generic/signal-defs.h"
1631typedef __restorefn_t *__sigrestore_t;
1632#line 126 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1633struct sigaction {
1634 __sighandler_t sa_handler ;
1635 unsigned long sa_flags ;
1636 __sigrestore_t sa_restorer ;
1637 sigset_t sa_mask ;
1638};
1639#line 173 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1640struct k_sigaction {
1641 struct sigaction sa ;
1642};
1643#line 185 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1644union sigval {
1645 int sival_int ;
1646 void *sival_ptr ;
1647};
1648#line 10 "include/asm-generic/siginfo.h"
1649typedef union sigval sigval_t;
1650#line 11 "include/asm-generic/siginfo.h"
1651struct __anonstruct__kill_150 {
1652 __kernel_pid_t _pid ;
1653 __kernel_uid32_t _uid ;
1654};
1655#line 11 "include/asm-generic/siginfo.h"
1656struct __anonstruct__timer_151 {
1657 __kernel_timer_t _tid ;
1658 int _overrun ;
1659 char _pad[0U] ;
1660 sigval_t _sigval ;
1661 int _sys_private ;
1662};
1663#line 11 "include/asm-generic/siginfo.h"
1664struct __anonstruct__rt_152 {
1665 __kernel_pid_t _pid ;
1666 __kernel_uid32_t _uid ;
1667 sigval_t _sigval ;
1668};
1669#line 11 "include/asm-generic/siginfo.h"
1670struct __anonstruct__sigchld_153 {
1671 __kernel_pid_t _pid ;
1672 __kernel_uid32_t _uid ;
1673 int _status ;
1674 __kernel_clock_t _utime ;
1675 __kernel_clock_t _stime ;
1676};
1677#line 11 "include/asm-generic/siginfo.h"
1678struct __anonstruct__sigfault_154 {
1679 void *_addr ;
1680 short _addr_lsb ;
1681};
1682#line 11 "include/asm-generic/siginfo.h"
1683struct __anonstruct__sigpoll_155 {
1684 long _band ;
1685 int _fd ;
1686};
1687#line 11 "include/asm-generic/siginfo.h"
1688union __anonunion__sifields_149 {
1689 int _pad[28U] ;
1690 struct __anonstruct__kill_150 _kill ;
1691 struct __anonstruct__timer_151 _timer ;
1692 struct __anonstruct__rt_152 _rt ;
1693 struct __anonstruct__sigchld_153 _sigchld ;
1694 struct __anonstruct__sigfault_154 _sigfault ;
1695 struct __anonstruct__sigpoll_155 _sigpoll ;
1696};
1697#line 11 "include/asm-generic/siginfo.h"
1698struct siginfo {
1699 int si_signo ;
1700 int si_errno ;
1701 int si_code ;
1702 union __anonunion__sifields_149 _sifields ;
1703};
1704#line 102 "include/asm-generic/siginfo.h"
1705typedef struct siginfo siginfo_t;
1706#line 14 "include/linux/signal.h"
1707struct user_struct;
1708#line 24 "include/linux/signal.h"
1709struct sigpending {
1710 struct list_head list ;
1711 sigset_t signal ;
1712};
1713#line 388
1714enum pid_type {
1715 PIDTYPE_PID = 0,
1716 PIDTYPE_PGID = 1,
1717 PIDTYPE_SID = 2,
1718 PIDTYPE_MAX = 3
1719} ;
1720#line 395
1721struct pid_namespace;
1722#line 395 "include/linux/signal.h"
1723struct upid {
1724 int nr ;
1725 struct pid_namespace *ns ;
1726 struct hlist_node pid_chain ;
1727};
1728#line 56 "include/linux/pid.h"
1729struct pid {
1730 atomic_t count ;
1731 unsigned int level ;
1732 struct hlist_head tasks[3U] ;
1733 struct rcu_head rcu ;
1734 struct upid numbers[1U] ;
1735};
1736#line 68 "include/linux/pid.h"
1737struct pid_link {
1738 struct hlist_node node ;
1739 struct pid *pid ;
1740};
1741#line 10 "include/linux/seccomp.h"
1742struct __anonstruct_seccomp_t_158 {
1743 int mode ;
1744};
1745#line 10 "include/linux/seccomp.h"
1746typedef struct __anonstruct_seccomp_t_158 seccomp_t;
1747#line 427 "include/linux/rculist.h"
1748struct plist_head {
1749 struct list_head node_list ;
1750};
1751#line 84 "include/linux/plist.h"
1752struct plist_node {
1753 int prio ;
1754 struct list_head prio_list ;
1755 struct list_head node_list ;
1756};
1757#line 38 "include/linux/rtmutex.h"
1758struct rt_mutex_waiter;
1759#line 38
1760struct rt_mutex_waiter;
1761#line 41 "include/linux/resource.h"
1762struct rlimit {
1763 unsigned long rlim_cur ;
1764 unsigned long rlim_max ;
1765};
1766#line 85 "include/linux/resource.h"
1767struct timerqueue_node {
1768 struct rb_node node ;
1769 ktime_t expires ;
1770};
1771#line 12 "include/linux/timerqueue.h"
1772struct timerqueue_head {
1773 struct rb_root head ;
1774 struct timerqueue_node *next ;
1775};
1776#line 50
1777struct hrtimer_clock_base;
1778#line 50
1779struct hrtimer_clock_base;
1780#line 51
1781struct hrtimer_cpu_base;
1782#line 51
1783struct hrtimer_cpu_base;
1784#line 60
1785enum hrtimer_restart {
1786 HRTIMER_NORESTART = 0,
1787 HRTIMER_RESTART = 1
1788} ;
1789#line 65 "include/linux/timerqueue.h"
1790struct hrtimer {
1791 struct timerqueue_node node ;
1792 ktime_t _softexpires ;
1793 enum hrtimer_restart (*function)(struct hrtimer * ) ;
1794 struct hrtimer_clock_base *base ;
1795 unsigned long state ;
1796 int start_pid ;
1797 void *start_site ;
1798 char start_comm[16U] ;
1799};
1800#line 132 "include/linux/hrtimer.h"
1801struct hrtimer_clock_base {
1802 struct hrtimer_cpu_base *cpu_base ;
1803 int index ;
1804 clockid_t clockid ;
1805 struct timerqueue_head active ;
1806 ktime_t resolution ;
1807 ktime_t (*get_time)(void) ;
1808 ktime_t softirq_time ;
1809 ktime_t offset ;
1810};
1811#line 162 "include/linux/hrtimer.h"
1812struct hrtimer_cpu_base {
1813 raw_spinlock_t lock ;
1814 unsigned long active_bases ;
1815 ktime_t expires_next ;
1816 int hres_active ;
1817 int hang_detected ;
1818 unsigned long nr_events ;
1819 unsigned long nr_retries ;
1820 unsigned long nr_hangs ;
1821 ktime_t max_hang_time ;
1822 struct hrtimer_clock_base clock_base[3U] ;
1823};
1824#line 452 "include/linux/hrtimer.h"
1825struct task_io_accounting {
1826 u64 rchar ;
1827 u64 wchar ;
1828 u64 syscr ;
1829 u64 syscw ;
1830 u64 read_bytes ;
1831 u64 write_bytes ;
1832 u64 cancelled_write_bytes ;
1833};
1834#line 45 "include/linux/task_io_accounting.h"
1835struct latency_record {
1836 unsigned long backtrace[12U] ;
1837 unsigned int count ;
1838 unsigned long time ;
1839 unsigned long max ;
1840};
1841#line 29 "include/linux/key.h"
1842typedef int32_t key_serial_t;
1843#line 32 "include/linux/key.h"
1844typedef uint32_t key_perm_t;
1845#line 33
1846struct key;
1847#line 33
1848struct key;
1849#line 34
1850struct signal_struct;
1851#line 34
1852struct signal_struct;
1853#line 35
1854struct key_type;
1855#line 35
1856struct key_type;
1857#line 37
1858struct keyring_list;
1859#line 37
1860struct keyring_list;
1861#line 115
1862struct key_user;
1863#line 115 "include/linux/key.h"
1864union __anonunion_ldv_16591_159 {
1865 time_t expiry ;
1866 time_t revoked_at ;
1867};
1868#line 115 "include/linux/key.h"
1869union __anonunion_type_data_160 {
1870 struct list_head link ;
1871 unsigned long x[2U] ;
1872 void *p[2U] ;
1873 int reject_error ;
1874};
1875#line 115 "include/linux/key.h"
1876union __anonunion_payload_161 {
1877 unsigned long value ;
1878 void *rcudata ;
1879 void *data ;
1880 struct keyring_list *subscriptions ;
1881};
1882#line 115 "include/linux/key.h"
1883struct key {
1884 atomic_t usage ;
1885 key_serial_t serial ;
1886 struct rb_node serial_node ;
1887 struct key_type *type ;
1888 struct rw_semaphore sem ;
1889 struct key_user *user ;
1890 void *security ;
1891 union __anonunion_ldv_16591_159 ldv_16591 ;
1892 uid_t uid ;
1893 gid_t gid ;
1894 key_perm_t perm ;
1895 unsigned short quotalen ;
1896 unsigned short datalen ;
1897 unsigned long flags ;
1898 char *description ;
1899 union __anonunion_type_data_160 type_data ;
1900 union __anonunion_payload_161 payload ;
1901};
1902#line 316
1903struct audit_context;
1904#line 316
1905struct audit_context;
1906#line 27 "include/linux/selinux.h"
1907struct inode;
1908#line 27
1909struct inode;
1910#line 28 "include/linux/selinux.h"
1911struct group_info {
1912 atomic_t usage ;
1913 int ngroups ;
1914 int nblocks ;
1915 gid_t small_block[32U] ;
1916 gid_t *blocks[0U] ;
1917};
1918#line 77 "include/linux/cred.h"
1919struct thread_group_cred {
1920 atomic_t usage ;
1921 pid_t tgid ;
1922 spinlock_t lock ;
1923 struct key *session_keyring ;
1924 struct key *process_keyring ;
1925 struct rcu_head rcu ;
1926};
1927#line 91 "include/linux/cred.h"
1928struct cred {
1929 atomic_t usage ;
1930 atomic_t subscribers ;
1931 void *put_addr ;
1932 unsigned int magic ;
1933 uid_t uid ;
1934 gid_t gid ;
1935 uid_t suid ;
1936 gid_t sgid ;
1937 uid_t euid ;
1938 gid_t egid ;
1939 uid_t fsuid ;
1940 gid_t fsgid ;
1941 unsigned int securebits ;
1942 kernel_cap_t cap_inheritable ;
1943 kernel_cap_t cap_permitted ;
1944 kernel_cap_t cap_effective ;
1945 kernel_cap_t cap_bset ;
1946 unsigned char jit_keyring ;
1947 struct key *thread_keyring ;
1948 struct key *request_key_auth ;
1949 struct thread_group_cred *tgcred ;
1950 void *security ;
1951 struct user_struct *user ;
1952 struct user_namespace *user_ns ;
1953 struct group_info *group_info ;
1954 struct rcu_head rcu ;
1955};
1956#line 264
1957struct llist_node;
1958#line 64 "include/linux/llist.h"
1959struct llist_node {
1960 struct llist_node *next ;
1961};
1962#line 185
1963struct futex_pi_state;
1964#line 185
1965struct futex_pi_state;
1966#line 186
1967struct robust_list_head;
1968#line 186
1969struct robust_list_head;
1970#line 187
1971struct bio_list;
1972#line 187
1973struct bio_list;
1974#line 188
1975struct fs_struct;
1976#line 188
1977struct fs_struct;
1978#line 189
1979struct perf_event_context;
1980#line 189
1981struct perf_event_context;
1982#line 190
1983struct blk_plug;
1984#line 190
1985struct blk_plug;
1986#line 149 "include/linux/sched.h"
1987struct cfs_rq;
1988#line 149
1989struct cfs_rq;
1990#line 44 "include/linux/aio_abi.h"
1991struct io_event {
1992 __u64 data ;
1993 __u64 obj ;
1994 __s64 res ;
1995 __s64 res2 ;
1996};
1997#line 106 "include/linux/aio_abi.h"
1998struct iovec {
1999 void *iov_base ;
2000 __kernel_size_t iov_len ;
2001};
2002#line 54 "include/linux/uio.h"
2003struct kioctx;
2004#line 54
2005struct kioctx;
2006#line 55 "include/linux/uio.h"
2007union __anonunion_ki_obj_162 {
2008 void *user ;
2009 struct task_struct *tsk ;
2010};
2011#line 55
2012struct eventfd_ctx;
2013#line 55 "include/linux/uio.h"
2014struct kiocb {
2015 struct list_head ki_run_list ;
2016 unsigned long ki_flags ;
2017 int ki_users ;
2018 unsigned int ki_key ;
2019 struct file *ki_filp ;
2020 struct kioctx *ki_ctx ;
2021 int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
2022 ssize_t (*ki_retry)(struct kiocb * ) ;
2023 void (*ki_dtor)(struct kiocb * ) ;
2024 union __anonunion_ki_obj_162 ki_obj ;
2025 __u64 ki_user_data ;
2026 loff_t ki_pos ;
2027 void *private ;
2028 unsigned short ki_opcode ;
2029 size_t ki_nbytes ;
2030 char *ki_buf ;
2031 size_t ki_left ;
2032 struct iovec ki_inline_vec ;
2033 struct iovec *ki_iovec ;
2034 unsigned long ki_nr_segs ;
2035 unsigned long ki_cur_seg ;
2036 struct list_head ki_list ;
2037 struct list_head ki_batch ;
2038 struct eventfd_ctx *ki_eventfd ;
2039};
2040#line 162 "include/linux/aio.h"
2041struct aio_ring_info {
2042 unsigned long mmap_base ;
2043 unsigned long mmap_size ;
2044 struct page **ring_pages ;
2045 spinlock_t ring_lock ;
2046 long nr_pages ;
2047 unsigned int nr ;
2048 unsigned int tail ;
2049 struct page *internal_pages[8U] ;
2050};
2051#line 178 "include/linux/aio.h"
2052struct kioctx {
2053 atomic_t users ;
2054 int dead ;
2055 struct mm_struct *mm ;
2056 unsigned long user_id ;
2057 struct hlist_node list ;
2058 wait_queue_head_t wait ;
2059 spinlock_t ctx_lock ;
2060 int reqs_active ;
2061 struct list_head active_reqs ;
2062 struct list_head run_list ;
2063 unsigned int max_reqs ;
2064 struct aio_ring_info ring_info ;
2065 struct delayed_work wq ;
2066 struct rcu_head rcu_head ;
2067};
2068#line 406 "include/linux/sched.h"
2069struct sighand_struct {
2070 atomic_t count ;
2071 struct k_sigaction action[64U] ;
2072 spinlock_t siglock ;
2073 wait_queue_head_t signalfd_wqh ;
2074};
2075#line 449 "include/linux/sched.h"
2076struct pacct_struct {
2077 int ac_flag ;
2078 long ac_exitcode ;
2079 unsigned long ac_mem ;
2080 cputime_t ac_utime ;
2081 cputime_t ac_stime ;
2082 unsigned long ac_minflt ;
2083 unsigned long ac_majflt ;
2084};
2085#line 457 "include/linux/sched.h"
2086struct cpu_itimer {
2087 cputime_t expires ;
2088 cputime_t incr ;
2089 u32 error ;
2090 u32 incr_error ;
2091};
2092#line 464 "include/linux/sched.h"
2093struct task_cputime {
2094 cputime_t utime ;
2095 cputime_t stime ;
2096 unsigned long long sum_exec_runtime ;
2097};
2098#line 481 "include/linux/sched.h"
2099struct thread_group_cputimer {
2100 struct task_cputime cputime ;
2101 int running ;
2102 raw_spinlock_t lock ;
2103};
2104#line 517
2105struct autogroup;
2106#line 517
2107struct autogroup;
2108#line 518
2109struct tty_struct;
2110#line 518
2111struct taskstats;
2112#line 518
2113struct tty_audit_buf;
2114#line 518 "include/linux/sched.h"
2115struct signal_struct {
2116 atomic_t sigcnt ;
2117 atomic_t live ;
2118 int nr_threads ;
2119 wait_queue_head_t wait_chldexit ;
2120 struct task_struct *curr_target ;
2121 struct sigpending shared_pending ;
2122 int group_exit_code ;
2123 int notify_count ;
2124 struct task_struct *group_exit_task ;
2125 int group_stop_count ;
2126 unsigned int flags ;
2127 unsigned char is_child_subreaper : 1 ;
2128 unsigned char has_child_subreaper : 1 ;
2129 struct list_head posix_timers ;
2130 struct hrtimer real_timer ;
2131 struct pid *leader_pid ;
2132 ktime_t it_real_incr ;
2133 struct cpu_itimer it[2U] ;
2134 struct thread_group_cputimer cputimer ;
2135 struct task_cputime cputime_expires ;
2136 struct list_head cpu_timers[3U] ;
2137 struct pid *tty_old_pgrp ;
2138 int leader ;
2139 struct tty_struct *tty ;
2140 struct autogroup *autogroup ;
2141 cputime_t utime ;
2142 cputime_t stime ;
2143 cputime_t cutime ;
2144 cputime_t cstime ;
2145 cputime_t gtime ;
2146 cputime_t cgtime ;
2147 cputime_t prev_utime ;
2148 cputime_t prev_stime ;
2149 unsigned long nvcsw ;
2150 unsigned long nivcsw ;
2151 unsigned long cnvcsw ;
2152 unsigned long cnivcsw ;
2153 unsigned long min_flt ;
2154 unsigned long maj_flt ;
2155 unsigned long cmin_flt ;
2156 unsigned long cmaj_flt ;
2157 unsigned long inblock ;
2158 unsigned long oublock ;
2159 unsigned long cinblock ;
2160 unsigned long coublock ;
2161 unsigned long maxrss ;
2162 unsigned long cmaxrss ;
2163 struct task_io_accounting ioac ;
2164 unsigned long long sum_sched_runtime ;
2165 struct rlimit rlim[16U] ;
2166 struct pacct_struct pacct ;
2167 struct taskstats *stats ;
2168 unsigned int audit_tty ;
2169 struct tty_audit_buf *tty_audit_buf ;
2170 struct rw_semaphore group_rwsem ;
2171 int oom_adj ;
2172 int oom_score_adj ;
2173 int oom_score_adj_min ;
2174 struct mutex cred_guard_mutex ;
2175};
2176#line 699 "include/linux/sched.h"
2177struct user_struct {
2178 atomic_t __count ;
2179 atomic_t processes ;
2180 atomic_t files ;
2181 atomic_t sigpending ;
2182 atomic_t inotify_watches ;
2183 atomic_t inotify_devs ;
2184 atomic_t fanotify_listeners ;
2185 atomic_long_t epoll_watches ;
2186 unsigned long mq_bytes ;
2187 unsigned long locked_shm ;
2188 struct key *uid_keyring ;
2189 struct key *session_keyring ;
2190 struct hlist_node uidhash_node ;
2191 uid_t uid ;
2192 struct user_namespace *user_ns ;
2193 atomic_long_t locked_vm ;
2194};
2195#line 744
2196struct backing_dev_info;
2197#line 744
2198struct backing_dev_info;
2199#line 745
2200struct reclaim_state;
2201#line 745
2202struct reclaim_state;
2203#line 746 "include/linux/sched.h"
2204struct sched_info {
2205 unsigned long pcount ;
2206 unsigned long long run_delay ;
2207 unsigned long long last_arrival ;
2208 unsigned long long last_queued ;
2209};
2210#line 760 "include/linux/sched.h"
2211struct task_delay_info {
2212 spinlock_t lock ;
2213 unsigned int flags ;
2214 struct timespec blkio_start ;
2215 struct timespec blkio_end ;
2216 u64 blkio_delay ;
2217 u64 swapin_delay ;
2218 u32 blkio_count ;
2219 u32 swapin_count ;
2220 struct timespec freepages_start ;
2221 struct timespec freepages_end ;
2222 u64 freepages_delay ;
2223 u32 freepages_count ;
2224};
2225#line 1069
2226struct io_context;
2227#line 1069
2228struct io_context;
2229#line 1097
2230struct pipe_inode_info;
2231#line 1097
2232struct pipe_inode_info;
2233#line 1099
2234struct rq;
2235#line 1099
2236struct rq;
2237#line 1100 "include/linux/sched.h"
2238struct sched_class {
2239 struct sched_class const *next ;
2240 void (*enqueue_task)(struct rq * , struct task_struct * , int ) ;
2241 void (*dequeue_task)(struct rq * , struct task_struct * , int ) ;
2242 void (*yield_task)(struct rq * ) ;
2243 bool (*yield_to_task)(struct rq * , struct task_struct * , bool ) ;
2244 void (*check_preempt_curr)(struct rq * , struct task_struct * , int ) ;
2245 struct task_struct *(*pick_next_task)(struct rq * ) ;
2246 void (*put_prev_task)(struct rq * , struct task_struct * ) ;
2247 int (*select_task_rq)(struct task_struct * , int , int ) ;
2248 void (*pre_schedule)(struct rq * , struct task_struct * ) ;
2249 void (*post_schedule)(struct rq * ) ;
2250 void (*task_waking)(struct task_struct * ) ;
2251 void (*task_woken)(struct rq * , struct task_struct * ) ;
2252 void (*set_cpus_allowed)(struct task_struct * , struct cpumask const * ) ;
2253 void (*rq_online)(struct rq * ) ;
2254 void (*rq_offline)(struct rq * ) ;
2255 void (*set_curr_task)(struct rq * ) ;
2256 void (*task_tick)(struct rq * , struct task_struct * , int ) ;
2257 void (*task_fork)(struct task_struct * ) ;
2258 void (*switched_from)(struct rq * , struct task_struct * ) ;
2259 void (*switched_to)(struct rq * , struct task_struct * ) ;
2260 void (*prio_changed)(struct rq * , struct task_struct * , int ) ;
2261 unsigned int (*get_rr_interval)(struct rq * , struct task_struct * ) ;
2262 void (*task_move_group)(struct task_struct * , int ) ;
2263};
2264#line 1165 "include/linux/sched.h"
2265struct load_weight {
2266 unsigned long weight ;
2267 unsigned long inv_weight ;
2268};
2269#line 1170 "include/linux/sched.h"
2270struct sched_statistics {
2271 u64 wait_start ;
2272 u64 wait_max ;
2273 u64 wait_count ;
2274 u64 wait_sum ;
2275 u64 iowait_count ;
2276 u64 iowait_sum ;
2277 u64 sleep_start ;
2278 u64 sleep_max ;
2279 s64 sum_sleep_runtime ;
2280 u64 block_start ;
2281 u64 block_max ;
2282 u64 exec_max ;
2283 u64 slice_max ;
2284 u64 nr_migrations_cold ;
2285 u64 nr_failed_migrations_affine ;
2286 u64 nr_failed_migrations_running ;
2287 u64 nr_failed_migrations_hot ;
2288 u64 nr_forced_migrations ;
2289 u64 nr_wakeups ;
2290 u64 nr_wakeups_sync ;
2291 u64 nr_wakeups_migrate ;
2292 u64 nr_wakeups_local ;
2293 u64 nr_wakeups_remote ;
2294 u64 nr_wakeups_affine ;
2295 u64 nr_wakeups_affine_attempts ;
2296 u64 nr_wakeups_passive ;
2297 u64 nr_wakeups_idle ;
2298};
2299#line 1205 "include/linux/sched.h"
2300struct sched_entity {
2301 struct load_weight load ;
2302 struct rb_node run_node ;
2303 struct list_head group_node ;
2304 unsigned int on_rq ;
2305 u64 exec_start ;
2306 u64 sum_exec_runtime ;
2307 u64 vruntime ;
2308 u64 prev_sum_exec_runtime ;
2309 u64 nr_migrations ;
2310 struct sched_statistics statistics ;
2311 struct sched_entity *parent ;
2312 struct cfs_rq *cfs_rq ;
2313 struct cfs_rq *my_q ;
2314};
2315#line 1231
2316struct rt_rq;
2317#line 1231 "include/linux/sched.h"
2318struct sched_rt_entity {
2319 struct list_head run_list ;
2320 unsigned long timeout ;
2321 unsigned int time_slice ;
2322 int nr_cpus_allowed ;
2323 struct sched_rt_entity *back ;
2324 struct sched_rt_entity *parent ;
2325 struct rt_rq *rt_rq ;
2326 struct rt_rq *my_q ;
2327};
2328#line 1255
2329struct mem_cgroup;
2330#line 1255 "include/linux/sched.h"
2331struct memcg_batch_info {
2332 int do_batch ;
2333 struct mem_cgroup *memcg ;
2334 unsigned long nr_pages ;
2335 unsigned long memsw_nr_pages ;
2336};
2337#line 1616
2338struct files_struct;
2339#line 1616
2340struct css_set;
2341#line 1616
2342struct compat_robust_list_head;
2343#line 1616 "include/linux/sched.h"
2344struct task_struct {
2345 long volatile state ;
2346 void *stack ;
2347 atomic_t usage ;
2348 unsigned int flags ;
2349 unsigned int ptrace ;
2350 struct llist_node wake_entry ;
2351 int on_cpu ;
2352 int on_rq ;
2353 int prio ;
2354 int static_prio ;
2355 int normal_prio ;
2356 unsigned int rt_priority ;
2357 struct sched_class const *sched_class ;
2358 struct sched_entity se ;
2359 struct sched_rt_entity rt ;
2360 struct hlist_head preempt_notifiers ;
2361 unsigned char fpu_counter ;
2362 unsigned int policy ;
2363 cpumask_t cpus_allowed ;
2364 struct sched_info sched_info ;
2365 struct list_head tasks ;
2366 struct plist_node pushable_tasks ;
2367 struct mm_struct *mm ;
2368 struct mm_struct *active_mm ;
2369 unsigned char brk_randomized : 1 ;
2370 int exit_state ;
2371 int exit_code ;
2372 int exit_signal ;
2373 int pdeath_signal ;
2374 unsigned int jobctl ;
2375 unsigned int personality ;
2376 unsigned char did_exec : 1 ;
2377 unsigned char in_execve : 1 ;
2378 unsigned char in_iowait : 1 ;
2379 unsigned char sched_reset_on_fork : 1 ;
2380 unsigned char sched_contributes_to_load : 1 ;
2381 unsigned char irq_thread : 1 ;
2382 pid_t pid ;
2383 pid_t tgid ;
2384 unsigned long stack_canary ;
2385 struct task_struct *real_parent ;
2386 struct task_struct *parent ;
2387 struct list_head children ;
2388 struct list_head sibling ;
2389 struct task_struct *group_leader ;
2390 struct list_head ptraced ;
2391 struct list_head ptrace_entry ;
2392 struct pid_link pids[3U] ;
2393 struct list_head thread_group ;
2394 struct completion *vfork_done ;
2395 int *set_child_tid ;
2396 int *clear_child_tid ;
2397 cputime_t utime ;
2398 cputime_t stime ;
2399 cputime_t utimescaled ;
2400 cputime_t stimescaled ;
2401 cputime_t gtime ;
2402 cputime_t prev_utime ;
2403 cputime_t prev_stime ;
2404 unsigned long nvcsw ;
2405 unsigned long nivcsw ;
2406 struct timespec start_time ;
2407 struct timespec real_start_time ;
2408 unsigned long min_flt ;
2409 unsigned long maj_flt ;
2410 struct task_cputime cputime_expires ;
2411 struct list_head cpu_timers[3U] ;
2412 struct cred const *real_cred ;
2413 struct cred const *cred ;
2414 struct cred *replacement_session_keyring ;
2415 char comm[16U] ;
2416 int link_count ;
2417 int total_link_count ;
2418 struct sysv_sem sysvsem ;
2419 unsigned long last_switch_count ;
2420 struct thread_struct thread ;
2421 struct fs_struct *fs ;
2422 struct files_struct *files ;
2423 struct nsproxy *nsproxy ;
2424 struct signal_struct *signal ;
2425 struct sighand_struct *sighand ;
2426 sigset_t blocked ;
2427 sigset_t real_blocked ;
2428 sigset_t saved_sigmask ;
2429 struct sigpending pending ;
2430 unsigned long sas_ss_sp ;
2431 size_t sas_ss_size ;
2432 int (*notifier)(void * ) ;
2433 void *notifier_data ;
2434 sigset_t *notifier_mask ;
2435 struct audit_context *audit_context ;
2436 uid_t loginuid ;
2437 unsigned int sessionid ;
2438 seccomp_t seccomp ;
2439 u32 parent_exec_id ;
2440 u32 self_exec_id ;
2441 spinlock_t alloc_lock ;
2442 raw_spinlock_t pi_lock ;
2443 struct plist_head pi_waiters ;
2444 struct rt_mutex_waiter *pi_blocked_on ;
2445 struct mutex_waiter *blocked_on ;
2446 unsigned int irq_events ;
2447 unsigned long hardirq_enable_ip ;
2448 unsigned long hardirq_disable_ip ;
2449 unsigned int hardirq_enable_event ;
2450 unsigned int hardirq_disable_event ;
2451 int hardirqs_enabled ;
2452 int hardirq_context ;
2453 unsigned long softirq_disable_ip ;
2454 unsigned long softirq_enable_ip ;
2455 unsigned int softirq_disable_event ;
2456 unsigned int softirq_enable_event ;
2457 int softirqs_enabled ;
2458 int softirq_context ;
2459 u64 curr_chain_key ;
2460 int lockdep_depth ;
2461 unsigned int lockdep_recursion ;
2462 struct held_lock held_locks[48U] ;
2463 gfp_t lockdep_reclaim_gfp ;
2464 void *journal_info ;
2465 struct bio_list *bio_list ;
2466 struct blk_plug *plug ;
2467 struct reclaim_state *reclaim_state ;
2468 struct backing_dev_info *backing_dev_info ;
2469 struct io_context *io_context ;
2470 unsigned long ptrace_message ;
2471 siginfo_t *last_siginfo ;
2472 struct task_io_accounting ioac ;
2473 u64 acct_rss_mem1 ;
2474 u64 acct_vm_mem1 ;
2475 cputime_t acct_timexpd ;
2476 nodemask_t mems_allowed ;
2477 seqcount_t mems_allowed_seq ;
2478 int cpuset_mem_spread_rotor ;
2479 int cpuset_slab_spread_rotor ;
2480 struct css_set *cgroups ;
2481 struct list_head cg_list ;
2482 struct robust_list_head *robust_list ;
2483 struct compat_robust_list_head *compat_robust_list ;
2484 struct list_head pi_state_list ;
2485 struct futex_pi_state *pi_state_cache ;
2486 struct perf_event_context *perf_event_ctxp[2U] ;
2487 struct mutex perf_event_mutex ;
2488 struct list_head perf_event_list ;
2489 struct mempolicy *mempolicy ;
2490 short il_next ;
2491 short pref_node_fork ;
2492 struct rcu_head rcu ;
2493 struct pipe_inode_info *splice_pipe ;
2494 struct task_delay_info *delays ;
2495 int make_it_fail ;
2496 int nr_dirtied ;
2497 int nr_dirtied_pause ;
2498 unsigned long dirty_paused_when ;
2499 int latency_record_count ;
2500 struct latency_record latency_record[32U] ;
2501 unsigned long timer_slack_ns ;
2502 unsigned long default_timer_slack_ns ;
2503 struct list_head *scm_work_list ;
2504 unsigned long trace ;
2505 unsigned long trace_recursion ;
2506 struct memcg_batch_info memcg_batch ;
2507 atomic_t ptrace_bp_refcnt ;
2508};
2509#line 28 "include/linux/of.h"
2510typedef u32 phandle;
2511#line 30 "include/linux/of.h"
2512struct property {
2513 char *name ;
2514 int length ;
2515 void *value ;
2516 struct property *next ;
2517 unsigned long _flags ;
2518 unsigned int unique_id ;
2519};
2520#line 39
2521struct proc_dir_entry;
2522#line 39 "include/linux/of.h"
2523struct device_node {
2524 char const *name ;
2525 char const *type ;
2526 phandle phandle ;
2527 char *full_name ;
2528 struct property *properties ;
2529 struct property *deadprops ;
2530 struct device_node *parent ;
2531 struct device_node *child ;
2532 struct device_node *sibling ;
2533 struct device_node *next ;
2534 struct device_node *allnext ;
2535 struct proc_dir_entry *pde ;
2536 struct kref kref ;
2537 unsigned long _flags ;
2538 void *data ;
2539};
2540#line 188 "include/linux/serial.h"
2541struct serial_icounter_struct {
2542 int cts ;
2543 int dsr ;
2544 int rng ;
2545 int dcd ;
2546 int rx ;
2547 int tx ;
2548 int frame ;
2549 int overrun ;
2550 int parity ;
2551 int brk ;
2552 int buf_overrun ;
2553 int reserved[9U] ;
2554};
2555#line 41 "include/asm-generic/sections.h"
2556struct exception_table_entry {
2557 unsigned long insn ;
2558 unsigned long fixup ;
2559};
2560#line 16 "include/linux/circ_buf.h"
2561struct block_device;
2562#line 16
2563struct block_device;
2564#line 93 "include/linux/bit_spinlock.h"
2565struct hlist_bl_node;
2566#line 93 "include/linux/bit_spinlock.h"
2567struct hlist_bl_head {
2568 struct hlist_bl_node *first ;
2569};
2570#line 36 "include/linux/list_bl.h"
2571struct hlist_bl_node {
2572 struct hlist_bl_node *next ;
2573 struct hlist_bl_node **pprev ;
2574};
2575#line 114 "include/linux/rculist_bl.h"
2576struct nameidata;
2577#line 114
2578struct nameidata;
2579#line 115
2580struct path;
2581#line 115
2582struct path;
2583#line 116
2584struct vfsmount;
2585#line 116
2586struct vfsmount;
2587#line 117 "include/linux/rculist_bl.h"
2588struct qstr {
2589 unsigned int hash ;
2590 unsigned int len ;
2591 unsigned char const *name ;
2592};
2593#line 72 "include/linux/dcache.h"
2594struct dentry_operations;
2595#line 72
2596struct super_block;
2597#line 72 "include/linux/dcache.h"
2598union __anonunion_d_u_165 {
2599 struct list_head d_child ;
2600 struct rcu_head d_rcu ;
2601};
2602#line 72 "include/linux/dcache.h"
2603struct dentry {
2604 unsigned int d_flags ;
2605 seqcount_t d_seq ;
2606 struct hlist_bl_node d_hash ;
2607 struct dentry *d_parent ;
2608 struct qstr d_name ;
2609 struct inode *d_inode ;
2610 unsigned char d_iname[32U] ;
2611 unsigned int d_count ;
2612 spinlock_t d_lock ;
2613 struct dentry_operations const *d_op ;
2614 struct super_block *d_sb ;
2615 unsigned long d_time ;
2616 void *d_fsdata ;
2617 struct list_head d_lru ;
2618 union __anonunion_d_u_165 d_u ;
2619 struct list_head d_subdirs ;
2620 struct list_head d_alias ;
2621};
2622#line 123 "include/linux/dcache.h"
2623struct dentry_operations {
2624 int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
2625 int (*d_hash)(struct dentry const * , struct inode const * , struct qstr * ) ;
2626 int (*d_compare)(struct dentry const * , struct inode const * , struct dentry const * ,
2627 struct inode const * , unsigned int , char const * , struct qstr const * ) ;
2628 int (*d_delete)(struct dentry const * ) ;
2629 void (*d_release)(struct dentry * ) ;
2630 void (*d_prune)(struct dentry * ) ;
2631 void (*d_iput)(struct dentry * , struct inode * ) ;
2632 char *(*d_dname)(struct dentry * , char * , int ) ;
2633 struct vfsmount *(*d_automount)(struct path * ) ;
2634 int (*d_manage)(struct dentry * , bool ) ;
2635};
2636#line 402 "include/linux/dcache.h"
2637struct path {
2638 struct vfsmount *mnt ;
2639 struct dentry *dentry ;
2640};
2641#line 58 "include/linux/radix-tree.h"
2642struct radix_tree_node;
2643#line 58 "include/linux/radix-tree.h"
2644struct radix_tree_root {
2645 unsigned int height ;
2646 gfp_t gfp_mask ;
2647 struct radix_tree_node *rnode ;
2648};
2649#line 45 "include/linux/semaphore.h"
2650struct fiemap_extent {
2651 __u64 fe_logical ;
2652 __u64 fe_physical ;
2653 __u64 fe_length ;
2654 __u64 fe_reserved64[2U] ;
2655 __u32 fe_flags ;
2656 __u32 fe_reserved[3U] ;
2657};
2658#line 38 "include/linux/fiemap.h"
2659struct shrink_control {
2660 gfp_t gfp_mask ;
2661 unsigned long nr_to_scan ;
2662};
2663#line 14 "include/linux/shrinker.h"
2664struct shrinker {
2665 int (*shrink)(struct shrinker * , struct shrink_control * ) ;
2666 int seeks ;
2667 long batch ;
2668 struct list_head list ;
2669 atomic_long_t nr_in_batch ;
2670};
2671#line 43
2672enum migrate_mode {
2673 MIGRATE_ASYNC = 0,
2674 MIGRATE_SYNC_LIGHT = 1,
2675 MIGRATE_SYNC = 2
2676} ;
2677#line 49
2678struct export_operations;
2679#line 49
2680struct export_operations;
2681#line 51
2682struct poll_table_struct;
2683#line 51
2684struct poll_table_struct;
2685#line 52
2686struct kstatfs;
2687#line 52
2688struct kstatfs;
2689#line 435 "include/linux/fs.h"
2690struct iattr {
2691 unsigned int ia_valid ;
2692 umode_t ia_mode ;
2693 uid_t ia_uid ;
2694 gid_t ia_gid ;
2695 loff_t ia_size ;
2696 struct timespec ia_atime ;
2697 struct timespec ia_mtime ;
2698 struct timespec ia_ctime ;
2699 struct file *ia_file ;
2700};
2701#line 119 "include/linux/quota.h"
2702struct if_dqinfo {
2703 __u64 dqi_bgrace ;
2704 __u64 dqi_igrace ;
2705 __u32 dqi_flags ;
2706 __u32 dqi_valid ;
2707};
2708#line 152 "include/linux/quota.h"
2709struct fs_disk_quota {
2710 __s8 d_version ;
2711 __s8 d_flags ;
2712 __u16 d_fieldmask ;
2713 __u32 d_id ;
2714 __u64 d_blk_hardlimit ;
2715 __u64 d_blk_softlimit ;
2716 __u64 d_ino_hardlimit ;
2717 __u64 d_ino_softlimit ;
2718 __u64 d_bcount ;
2719 __u64 d_icount ;
2720 __s32 d_itimer ;
2721 __s32 d_btimer ;
2722 __u16 d_iwarns ;
2723 __u16 d_bwarns ;
2724 __s32 d_padding2 ;
2725 __u64 d_rtb_hardlimit ;
2726 __u64 d_rtb_softlimit ;
2727 __u64 d_rtbcount ;
2728 __s32 d_rtbtimer ;
2729 __u16 d_rtbwarns ;
2730 __s16 d_padding3 ;
2731 char d_padding4[8U] ;
2732};
2733#line 75 "include/linux/dqblk_xfs.h"
2734struct fs_qfilestat {
2735 __u64 qfs_ino ;
2736 __u64 qfs_nblks ;
2737 __u32 qfs_nextents ;
2738};
2739#line 150 "include/linux/dqblk_xfs.h"
2740typedef struct fs_qfilestat fs_qfilestat_t;
2741#line 151 "include/linux/dqblk_xfs.h"
2742struct fs_quota_stat {
2743 __s8 qs_version ;
2744 __u16 qs_flags ;
2745 __s8 qs_pad ;
2746 fs_qfilestat_t qs_uquota ;
2747 fs_qfilestat_t qs_gquota ;
2748 __u32 qs_incoredqs ;
2749 __s32 qs_btimelimit ;
2750 __s32 qs_itimelimit ;
2751 __s32 qs_rtbtimelimit ;
2752 __u16 qs_bwarnlimit ;
2753 __u16 qs_iwarnlimit ;
2754};
2755#line 165
2756struct dquot;
2757#line 165
2758struct dquot;
2759#line 185 "include/linux/quota.h"
2760typedef __kernel_uid32_t qid_t;
2761#line 186 "include/linux/quota.h"
2762typedef long long qsize_t;
2763#line 189 "include/linux/quota.h"
2764struct mem_dqblk {
2765 qsize_t dqb_bhardlimit ;
2766 qsize_t dqb_bsoftlimit ;
2767 qsize_t dqb_curspace ;
2768 qsize_t dqb_rsvspace ;
2769 qsize_t dqb_ihardlimit ;
2770 qsize_t dqb_isoftlimit ;
2771 qsize_t dqb_curinodes ;
2772 time_t dqb_btime ;
2773 time_t dqb_itime ;
2774};
2775#line 211
2776struct quota_format_type;
2777#line 211
2778struct quota_format_type;
2779#line 212 "include/linux/quota.h"
2780struct mem_dqinfo {
2781 struct quota_format_type *dqi_format ;
2782 int dqi_fmt_id ;
2783 struct list_head dqi_dirty_list ;
2784 unsigned long dqi_flags ;
2785 unsigned int dqi_bgrace ;
2786 unsigned int dqi_igrace ;
2787 qsize_t dqi_maxblimit ;
2788 qsize_t dqi_maxilimit ;
2789 void *dqi_priv ;
2790};
2791#line 275 "include/linux/quota.h"
2792struct dquot {
2793 struct hlist_node dq_hash ;
2794 struct list_head dq_inuse ;
2795 struct list_head dq_free ;
2796 struct list_head dq_dirty ;
2797 struct mutex dq_lock ;
2798 atomic_t dq_count ;
2799 wait_queue_head_t dq_wait_unused ;
2800 struct super_block *dq_sb ;
2801 unsigned int dq_id ;
2802 loff_t dq_off ;
2803 unsigned long dq_flags ;
2804 short dq_type ;
2805 struct mem_dqblk dq_dqb ;
2806};
2807#line 303 "include/linux/quota.h"
2808struct quota_format_ops {
2809 int (*check_quota_file)(struct super_block * , int ) ;
2810 int (*read_file_info)(struct super_block * , int ) ;
2811 int (*write_file_info)(struct super_block * , int ) ;
2812 int (*free_file_info)(struct super_block * , int ) ;
2813 int (*read_dqblk)(struct dquot * ) ;
2814 int (*commit_dqblk)(struct dquot * ) ;
2815 int (*release_dqblk)(struct dquot * ) ;
2816};
2817#line 314 "include/linux/quota.h"
2818struct dquot_operations {
2819 int (*write_dquot)(struct dquot * ) ;
2820 struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
2821 void (*destroy_dquot)(struct dquot * ) ;
2822 int (*acquire_dquot)(struct dquot * ) ;
2823 int (*release_dquot)(struct dquot * ) ;
2824 int (*mark_dirty)(struct dquot * ) ;
2825 int (*write_info)(struct super_block * , int ) ;
2826 qsize_t *(*get_reserved_space)(struct inode * ) ;
2827};
2828#line 328 "include/linux/quota.h"
2829struct quotactl_ops {
2830 int (*quota_on)(struct super_block * , int , int , struct path * ) ;
2831 int (*quota_on_meta)(struct super_block * , int , int ) ;
2832 int (*quota_off)(struct super_block * , int ) ;
2833 int (*quota_sync)(struct super_block * , int , int ) ;
2834 int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
2835 int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
2836 int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2837 int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2838 int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
2839 int (*set_xstate)(struct super_block * , unsigned int , int ) ;
2840};
2841#line 344 "include/linux/quota.h"
2842struct quota_format_type {
2843 int qf_fmt_id ;
2844 struct quota_format_ops const *qf_ops ;
2845 struct module *qf_owner ;
2846 struct quota_format_type *qf_next ;
2847};
2848#line 390 "include/linux/quota.h"
2849struct quota_info {
2850 unsigned int flags ;
2851 struct mutex dqio_mutex ;
2852 struct mutex dqonoff_mutex ;
2853 struct rw_semaphore dqptr_sem ;
2854 struct inode *files[2U] ;
2855 struct mem_dqinfo info[2U] ;
2856 struct quota_format_ops const *ops[2U] ;
2857};
2858#line 421
2859struct writeback_control;
2860#line 421
2861struct writeback_control;
2862#line 585 "include/linux/fs.h"
2863union __anonunion_arg_167 {
2864 char *buf ;
2865 void *data ;
2866};
2867#line 585 "include/linux/fs.h"
2868struct __anonstruct_read_descriptor_t_166 {
2869 size_t written ;
2870 size_t count ;
2871 union __anonunion_arg_167 arg ;
2872 int error ;
2873};
2874#line 585 "include/linux/fs.h"
2875typedef struct __anonstruct_read_descriptor_t_166 read_descriptor_t;
2876#line 588 "include/linux/fs.h"
2877struct address_space_operations {
2878 int (*writepage)(struct page * , struct writeback_control * ) ;
2879 int (*readpage)(struct file * , struct page * ) ;
2880 int (*writepages)(struct address_space * , struct writeback_control * ) ;
2881 int (*set_page_dirty)(struct page * ) ;
2882 int (*readpages)(struct file * , struct address_space * , struct list_head * ,
2883 unsigned int ) ;
2884 int (*write_begin)(struct file * , struct address_space * , loff_t , unsigned int ,
2885 unsigned int , struct page ** , void ** ) ;
2886 int (*write_end)(struct file * , struct address_space * , loff_t , unsigned int ,
2887 unsigned int , struct page * , void * ) ;
2888 sector_t (*bmap)(struct address_space * , sector_t ) ;
2889 void (*invalidatepage)(struct page * , unsigned long ) ;
2890 int (*releasepage)(struct page * , gfp_t ) ;
2891 void (*freepage)(struct page * ) ;
2892 ssize_t (*direct_IO)(int , struct kiocb * , struct iovec const * , loff_t ,
2893 unsigned long ) ;
2894 int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ;
2895 int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode ) ;
2896 int (*launder_page)(struct page * ) ;
2897 int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
2898 int (*error_remove_page)(struct address_space * , struct page * ) ;
2899};
2900#line 642 "include/linux/fs.h"
2901struct address_space {
2902 struct inode *host ;
2903 struct radix_tree_root page_tree ;
2904 spinlock_t tree_lock ;
2905 unsigned int i_mmap_writable ;
2906 struct prio_tree_root i_mmap ;
2907 struct list_head i_mmap_nonlinear ;
2908 struct mutex i_mmap_mutex ;
2909 unsigned long nrpages ;
2910 unsigned long writeback_index ;
2911 struct address_space_operations const *a_ops ;
2912 unsigned long flags ;
2913 struct backing_dev_info *backing_dev_info ;
2914 spinlock_t private_lock ;
2915 struct list_head private_list ;
2916 struct address_space *assoc_mapping ;
2917};
2918#line 664
2919struct request_queue;
2920#line 664
2921struct request_queue;
2922#line 665
2923struct hd_struct;
2924#line 665
2925struct gendisk;
2926#line 665 "include/linux/fs.h"
2927struct block_device {
2928 dev_t bd_dev ;
2929 int bd_openers ;
2930 struct inode *bd_inode ;
2931 struct super_block *bd_super ;
2932 struct mutex bd_mutex ;
2933 struct list_head bd_inodes ;
2934 void *bd_claiming ;
2935 void *bd_holder ;
2936 int bd_holders ;
2937 bool bd_write_holder ;
2938 struct list_head bd_holder_disks ;
2939 struct block_device *bd_contains ;
2940 unsigned int bd_block_size ;
2941 struct hd_struct *bd_part ;
2942 unsigned int bd_part_count ;
2943 int bd_invalidated ;
2944 struct gendisk *bd_disk ;
2945 struct request_queue *bd_queue ;
2946 struct list_head bd_list ;
2947 unsigned long bd_private ;
2948 int bd_fsfreeze_count ;
2949 struct mutex bd_fsfreeze_mutex ;
2950};
2951#line 737
2952struct posix_acl;
2953#line 737
2954struct posix_acl;
2955#line 738
2956struct inode_operations;
2957#line 738 "include/linux/fs.h"
2958union __anonunion_ldv_21432_168 {
2959 unsigned int const i_nlink ;
2960 unsigned int __i_nlink ;
2961};
2962#line 738 "include/linux/fs.h"
2963union __anonunion_ldv_21451_169 {
2964 struct list_head i_dentry ;
2965 struct rcu_head i_rcu ;
2966};
2967#line 738
2968struct file_operations;
2969#line 738
2970struct file_lock;
2971#line 738
2972struct cdev;
2973#line 738 "include/linux/fs.h"
2974union __anonunion_ldv_21469_170 {
2975 struct pipe_inode_info *i_pipe ;
2976 struct block_device *i_bdev ;
2977 struct cdev *i_cdev ;
2978};
2979#line 738 "include/linux/fs.h"
2980struct inode {
2981 umode_t i_mode ;
2982 unsigned short i_opflags ;
2983 uid_t i_uid ;
2984 gid_t i_gid ;
2985 unsigned int i_flags ;
2986 struct posix_acl *i_acl ;
2987 struct posix_acl *i_default_acl ;
2988 struct inode_operations const *i_op ;
2989 struct super_block *i_sb ;
2990 struct address_space *i_mapping ;
2991 void *i_security ;
2992 unsigned long i_ino ;
2993 union __anonunion_ldv_21432_168 ldv_21432 ;
2994 dev_t i_rdev ;
2995 struct timespec i_atime ;
2996 struct timespec i_mtime ;
2997 struct timespec i_ctime ;
2998 spinlock_t i_lock ;
2999 unsigned short i_bytes ;
3000 blkcnt_t i_blocks ;
3001 loff_t i_size ;
3002 unsigned long i_state ;
3003 struct mutex i_mutex ;
3004 unsigned long dirtied_when ;
3005 struct hlist_node i_hash ;
3006 struct list_head i_wb_list ;
3007 struct list_head i_lru ;
3008 struct list_head i_sb_list ;
3009 union __anonunion_ldv_21451_169 ldv_21451 ;
3010 atomic_t i_count ;
3011 unsigned int i_blkbits ;
3012 u64 i_version ;
3013 atomic_t i_dio_count ;
3014 atomic_t i_writecount ;
3015 struct file_operations const *i_fop ;
3016 struct file_lock *i_flock ;
3017 struct address_space i_data ;
3018 struct dquot *i_dquot[2U] ;
3019 struct list_head i_devices ;
3020 union __anonunion_ldv_21469_170 ldv_21469 ;
3021 __u32 i_generation ;
3022 __u32 i_fsnotify_mask ;
3023 struct hlist_head i_fsnotify_marks ;
3024 atomic_t i_readcount ;
3025 void *i_private ;
3026};
3027#line 941 "include/linux/fs.h"
3028struct fown_struct {
3029 rwlock_t lock ;
3030 struct pid *pid ;
3031 enum pid_type pid_type ;
3032 uid_t uid ;
3033 uid_t euid ;
3034 int signum ;
3035};
3036#line 949 "include/linux/fs.h"
3037struct file_ra_state {
3038 unsigned long start ;
3039 unsigned int size ;
3040 unsigned int async_size ;
3041 unsigned int ra_pages ;
3042 unsigned int mmap_miss ;
3043 loff_t prev_pos ;
3044};
3045#line 972 "include/linux/fs.h"
3046union __anonunion_f_u_171 {
3047 struct list_head fu_list ;
3048 struct rcu_head fu_rcuhead ;
3049};
3050#line 972 "include/linux/fs.h"
3051struct file {
3052 union __anonunion_f_u_171 f_u ;
3053 struct path f_path ;
3054 struct file_operations const *f_op ;
3055 spinlock_t f_lock ;
3056 int f_sb_list_cpu ;
3057 atomic_long_t f_count ;
3058 unsigned int f_flags ;
3059 fmode_t f_mode ;
3060 loff_t f_pos ;
3061 struct fown_struct f_owner ;
3062 struct cred const *f_cred ;
3063 struct file_ra_state f_ra ;
3064 u64 f_version ;
3065 void *f_security ;
3066 void *private_data ;
3067 struct list_head f_ep_links ;
3068 struct list_head f_tfile_llink ;
3069 struct address_space *f_mapping ;
3070 unsigned long f_mnt_write_state ;
3071};
3072#line 1111 "include/linux/fs.h"
3073typedef struct files_struct *fl_owner_t;
3074#line 1112 "include/linux/fs.h"
3075struct file_lock_operations {
3076 void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
3077 void (*fl_release_private)(struct file_lock * ) ;
3078};
3079#line 1117 "include/linux/fs.h"
3080struct lock_manager_operations {
3081 int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
3082 void (*lm_notify)(struct file_lock * ) ;
3083 int (*lm_grant)(struct file_lock * , struct file_lock * , int ) ;
3084 void (*lm_release_private)(struct file_lock * ) ;
3085 void (*lm_break)(struct file_lock * ) ;
3086 int (*lm_change)(struct file_lock ** , int ) ;
3087};
3088#line 1134
3089struct nlm_lockowner;
3090#line 1134
3091struct nlm_lockowner;
3092#line 1135 "include/linux/fs.h"
3093struct nfs_lock_info {
3094 u32 state ;
3095 struct nlm_lockowner *owner ;
3096 struct list_head list ;
3097};
3098#line 14 "include/linux/nfs_fs_i.h"
3099struct nfs4_lock_state;
3100#line 14
3101struct nfs4_lock_state;
3102#line 15 "include/linux/nfs_fs_i.h"
3103struct nfs4_lock_info {
3104 struct nfs4_lock_state *owner ;
3105};
3106#line 19
3107struct fasync_struct;
3108#line 19 "include/linux/nfs_fs_i.h"
3109struct __anonstruct_afs_173 {
3110 struct list_head link ;
3111 int state ;
3112};
3113#line 19 "include/linux/nfs_fs_i.h"
3114union __anonunion_fl_u_172 {
3115 struct nfs_lock_info nfs_fl ;
3116 struct nfs4_lock_info nfs4_fl ;
3117 struct __anonstruct_afs_173 afs ;
3118};
3119#line 19 "include/linux/nfs_fs_i.h"
3120struct file_lock {
3121 struct file_lock *fl_next ;
3122 struct list_head fl_link ;
3123 struct list_head fl_block ;
3124 fl_owner_t fl_owner ;
3125 unsigned int fl_flags ;
3126 unsigned char fl_type ;
3127 unsigned int fl_pid ;
3128 struct pid *fl_nspid ;
3129 wait_queue_head_t fl_wait ;
3130 struct file *fl_file ;
3131 loff_t fl_start ;
3132 loff_t fl_end ;
3133 struct fasync_struct *fl_fasync ;
3134 unsigned long fl_break_time ;
3135 unsigned long fl_downgrade_time ;
3136 struct file_lock_operations const *fl_ops ;
3137 struct lock_manager_operations const *fl_lmops ;
3138 union __anonunion_fl_u_172 fl_u ;
3139};
3140#line 1221 "include/linux/fs.h"
3141struct fasync_struct {
3142 spinlock_t fa_lock ;
3143 int magic ;
3144 int fa_fd ;
3145 struct fasync_struct *fa_next ;
3146 struct file *fa_file ;
3147 struct rcu_head fa_rcu ;
3148};
3149#line 1417
3150struct file_system_type;
3151#line 1417
3152struct super_operations;
3153#line 1417
3154struct xattr_handler;
3155#line 1417
3156struct mtd_info;
3157#line 1417 "include/linux/fs.h"
3158struct super_block {
3159 struct list_head s_list ;
3160 dev_t s_dev ;
3161 unsigned char s_dirt ;
3162 unsigned char s_blocksize_bits ;
3163 unsigned long s_blocksize ;
3164 loff_t s_maxbytes ;
3165 struct file_system_type *s_type ;
3166 struct super_operations const *s_op ;
3167 struct dquot_operations const *dq_op ;
3168 struct quotactl_ops const *s_qcop ;
3169 struct export_operations const *s_export_op ;
3170 unsigned long s_flags ;
3171 unsigned long s_magic ;
3172 struct dentry *s_root ;
3173 struct rw_semaphore s_umount ;
3174 struct mutex s_lock ;
3175 int s_count ;
3176 atomic_t s_active ;
3177 void *s_security ;
3178 struct xattr_handler const **s_xattr ;
3179 struct list_head s_inodes ;
3180 struct hlist_bl_head s_anon ;
3181 struct list_head *s_files ;
3182 struct list_head s_mounts ;
3183 struct list_head s_dentry_lru ;
3184 int s_nr_dentry_unused ;
3185 spinlock_t s_inode_lru_lock ;
3186 struct list_head s_inode_lru ;
3187 int s_nr_inodes_unused ;
3188 struct block_device *s_bdev ;
3189 struct backing_dev_info *s_bdi ;
3190 struct mtd_info *s_mtd ;
3191 struct hlist_node s_instances ;
3192 struct quota_info s_dquot ;
3193 int s_frozen ;
3194 wait_queue_head_t s_wait_unfrozen ;
3195 char s_id[32U] ;
3196 u8 s_uuid[16U] ;
3197 void *s_fs_info ;
3198 unsigned int s_max_links ;
3199 fmode_t s_mode ;
3200 u32 s_time_gran ;
3201 struct mutex s_vfs_rename_mutex ;
3202 char *s_subtype ;
3203 char *s_options ;
3204 struct dentry_operations const *s_d_op ;
3205 int cleancache_poolid ;
3206 struct shrinker s_shrink ;
3207 atomic_long_t s_remove_count ;
3208 int s_readonly_remount ;
3209};
3210#line 1563 "include/linux/fs.h"
3211struct fiemap_extent_info {
3212 unsigned int fi_flags ;
3213 unsigned int fi_extents_mapped ;
3214 unsigned int fi_extents_max ;
3215 struct fiemap_extent *fi_extents_start ;
3216};
3217#line 1602 "include/linux/fs.h"
3218struct file_operations {
3219 struct module *owner ;
3220 loff_t (*llseek)(struct file * , loff_t , int ) ;
3221 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
3222 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
3223 ssize_t (*aio_read)(struct kiocb * , struct iovec const * , unsigned long ,
3224 loff_t ) ;
3225 ssize_t (*aio_write)(struct kiocb * , struct iovec const * , unsigned long ,
3226 loff_t ) ;
3227 int (*readdir)(struct file * , void * , int (*)(void * , char const * , int ,
3228 loff_t , u64 , unsigned int ) ) ;
3229 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
3230 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
3231 long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ;
3232 int (*mmap)(struct file * , struct vm_area_struct * ) ;
3233 int (*open)(struct inode * , struct file * ) ;
3234 int (*flush)(struct file * , fl_owner_t ) ;
3235 int (*release)(struct inode * , struct file * ) ;
3236 int (*fsync)(struct file * , loff_t , loff_t , int ) ;
3237 int (*aio_fsync)(struct kiocb * , int ) ;
3238 int (*fasync)(int , struct file * , int ) ;
3239 int (*lock)(struct file * , int , struct file_lock * ) ;
3240 ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * ,
3241 int ) ;
3242 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
3243 unsigned long , unsigned long ) ;
3244 int (*check_flags)(int ) ;
3245 int (*flock)(struct file * , int , struct file_lock * ) ;
3246 ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t ,
3247 unsigned int ) ;
3248 ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t ,
3249 unsigned int ) ;
3250 int (*setlease)(struct file * , long , struct file_lock ** ) ;
3251 long (*fallocate)(struct file * , int , loff_t , loff_t ) ;
3252};
3253#line 1637 "include/linux/fs.h"
3254struct inode_operations {
3255 struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
3256 void *(*follow_link)(struct dentry * , struct nameidata * ) ;
3257 int (*permission)(struct inode * , int ) ;
3258 struct posix_acl *(*get_acl)(struct inode * , int ) ;
3259 int (*readlink)(struct dentry * , char * , int ) ;
3260 void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
3261 int (*create)(struct inode * , struct dentry * , umode_t , struct nameidata * ) ;
3262 int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
3263 int (*unlink)(struct inode * , struct dentry * ) ;
3264 int (*symlink)(struct inode * , struct dentry * , char const * ) ;
3265 int (*mkdir)(struct inode * , struct dentry * , umode_t ) ;
3266 int (*rmdir)(struct inode * , struct dentry * ) ;
3267 int (*mknod)(struct inode * , struct dentry * , umode_t , dev_t ) ;
3268 int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
3269 void (*truncate)(struct inode * ) ;
3270 int (*setattr)(struct dentry * , struct iattr * ) ;
3271 int (*getattr)(struct vfsmount * , struct dentry * , struct kstat * ) ;
3272 int (*setxattr)(struct dentry * , char const * , void const * , size_t , int ) ;
3273 ssize_t (*getxattr)(struct dentry * , char const * , void * , size_t ) ;
3274 ssize_t (*listxattr)(struct dentry * , char * , size_t ) ;
3275 int (*removexattr)(struct dentry * , char const * ) ;
3276 void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
3277 int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 , u64 ) ;
3278};
3279#line 1682 "include/linux/fs.h"
3280struct super_operations {
3281 struct inode *(*alloc_inode)(struct super_block * ) ;
3282 void (*destroy_inode)(struct inode * ) ;
3283 void (*dirty_inode)(struct inode * , int ) ;
3284 int (*write_inode)(struct inode * , struct writeback_control * ) ;
3285 int (*drop_inode)(struct inode * ) ;
3286 void (*evict_inode)(struct inode * ) ;
3287 void (*put_super)(struct super_block * ) ;
3288 void (*write_super)(struct super_block * ) ;
3289 int (*sync_fs)(struct super_block * , int ) ;
3290 int (*freeze_fs)(struct super_block * ) ;
3291 int (*unfreeze_fs)(struct super_block * ) ;
3292 int (*statfs)(struct dentry * , struct kstatfs * ) ;
3293 int (*remount_fs)(struct super_block * , int * , char * ) ;
3294 void (*umount_begin)(struct super_block * ) ;
3295 int (*show_options)(struct seq_file * , struct dentry * ) ;
3296 int (*show_devname)(struct seq_file * , struct dentry * ) ;
3297 int (*show_path)(struct seq_file * , struct dentry * ) ;
3298 int (*show_stats)(struct seq_file * , struct dentry * ) ;
3299 ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ;
3300 ssize_t (*quota_write)(struct super_block * , int , char const * , size_t ,
3301 loff_t ) ;
3302 int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
3303 int (*nr_cached_objects)(struct super_block * ) ;
3304 void (*free_cached_objects)(struct super_block * , int ) ;
3305};
3306#line 1834 "include/linux/fs.h"
3307struct file_system_type {
3308 char const *name ;
3309 int fs_flags ;
3310 struct dentry *(*mount)(struct file_system_type * , int , char const * , void * ) ;
3311 void (*kill_sb)(struct super_block * ) ;
3312 struct module *owner ;
3313 struct file_system_type *next ;
3314 struct hlist_head fs_supers ;
3315 struct lock_class_key s_lock_key ;
3316 struct lock_class_key s_umount_key ;
3317 struct lock_class_key s_vfs_rename_key ;
3318 struct lock_class_key i_lock_key ;
3319 struct lock_class_key i_mutex_key ;
3320 struct lock_class_key i_mutex_dir_key ;
3321};
3322#line 6 "include/asm-generic/termbits.h"
3323typedef unsigned char cc_t;
3324#line 7 "include/asm-generic/termbits.h"
3325typedef unsigned int speed_t;
3326#line 8 "include/asm-generic/termbits.h"
3327typedef unsigned int tcflag_t;
3328#line 30 "include/asm-generic/termbits.h"
3329struct ktermios {
3330 tcflag_t c_iflag ;
3331 tcflag_t c_oflag ;
3332 tcflag_t c_cflag ;
3333 tcflag_t c_lflag ;
3334 cc_t c_line ;
3335 cc_t c_cc[19U] ;
3336 speed_t c_ispeed ;
3337 speed_t c_ospeed ;
3338};
3339#line 41 "include/asm-generic/termbits.h"
3340struct winsize {
3341 unsigned short ws_row ;
3342 unsigned short ws_col ;
3343 unsigned short ws_xpixel ;
3344 unsigned short ws_ypixel ;
3345};
3346#line 138 "include/asm-generic/termios.h"
3347struct termiox {
3348 __u16 x_hflag ;
3349 __u16 x_cflag ;
3350 __u16 x_rflag[5U] ;
3351 __u16 x_sflag ;
3352};
3353#line 16 "include/linux/termios.h"
3354struct cdev {
3355 struct kobject kobj ;
3356 struct module *owner ;
3357 struct file_operations const *ops ;
3358 struct list_head list ;
3359 dev_t dev ;
3360 unsigned int count ;
3361};
3362#line 34 "include/linux/cdev.h"
3363struct tty_driver;
3364#line 34
3365struct tty_driver;
3366#line 35 "include/linux/cdev.h"
3367struct tty_operations {
3368 struct tty_struct *(*lookup)(struct tty_driver * , struct inode * , int ) ;
3369 int (*install)(struct tty_driver * , struct tty_struct * ) ;
3370 void (*remove)(struct tty_driver * , struct tty_struct * ) ;
3371 int (*open)(struct tty_struct * , struct file * ) ;
3372 void (*close)(struct tty_struct * , struct file * ) ;
3373 void (*shutdown)(struct tty_struct * ) ;
3374 void (*cleanup)(struct tty_struct * ) ;
3375 int (*write)(struct tty_struct * , unsigned char const * , int ) ;
3376 int (*put_char)(struct tty_struct * , unsigned char ) ;
3377 void (*flush_chars)(struct tty_struct * ) ;
3378 int (*write_room)(struct tty_struct * ) ;
3379 int (*chars_in_buffer)(struct tty_struct * ) ;
3380 int (*ioctl)(struct tty_struct * , unsigned int , unsigned long ) ;
3381 long (*compat_ioctl)(struct tty_struct * , unsigned int , unsigned long ) ;
3382 void (*set_termios)(struct tty_struct * , struct ktermios * ) ;
3383 void (*throttle)(struct tty_struct * ) ;
3384 void (*unthrottle)(struct tty_struct * ) ;
3385 void (*stop)(struct tty_struct * ) ;
3386 void (*start)(struct tty_struct * ) ;
3387 void (*hangup)(struct tty_struct * ) ;
3388 int (*break_ctl)(struct tty_struct * , int ) ;
3389 void (*flush_buffer)(struct tty_struct * ) ;
3390 void (*set_ldisc)(struct tty_struct * ) ;
3391 void (*wait_until_sent)(struct tty_struct * , int ) ;
3392 void (*send_xchar)(struct tty_struct * , char ) ;
3393 int (*tiocmget)(struct tty_struct * ) ;
3394 int (*tiocmset)(struct tty_struct * , unsigned int , unsigned int ) ;
3395 int (*resize)(struct tty_struct * , struct winsize * ) ;
3396 int (*set_termiox)(struct tty_struct * , struct termiox * ) ;
3397 int (*get_icount)(struct tty_struct * , struct serial_icounter_struct * ) ;
3398 int (*poll_init)(struct tty_driver * , int , char * ) ;
3399 int (*poll_get_char)(struct tty_driver * , int ) ;
3400 void (*poll_put_char)(struct tty_driver * , int , char ) ;
3401 struct file_operations const *proc_fops ;
3402};
3403#line 293 "include/linux/tty_driver.h"
3404struct tty_driver {
3405 int magic ;
3406 struct kref kref ;
3407 struct cdev cdev ;
3408 struct module *owner ;
3409 char const *driver_name ;
3410 char const *name ;
3411 int name_base ;
3412 int major ;
3413 int minor_start ;
3414 int num ;
3415 short type ;
3416 short subtype ;
3417 struct ktermios init_termios ;
3418 int flags ;
3419 struct proc_dir_entry *proc_entry ;
3420 struct tty_driver *other ;
3421 struct tty_struct **ttys ;
3422 struct ktermios **termios ;
3423 void *driver_state ;
3424 struct tty_operations const *ops ;
3425 struct list_head tty_drivers ;
3426};
3427#line 48 "include/linux/pps_kernel.h"
3428struct pps_event_time {
3429 struct timespec ts_real ;
3430};
3431#line 116 "include/linux/pps_kernel.h"
3432struct tty_ldisc_ops {
3433 int magic ;
3434 char *name ;
3435 int num ;
3436 int flags ;
3437 int (*open)(struct tty_struct * ) ;
3438 void (*close)(struct tty_struct * ) ;
3439 void (*flush_buffer)(struct tty_struct * ) ;
3440 ssize_t (*chars_in_buffer)(struct tty_struct * ) ;
3441 ssize_t (*read)(struct tty_struct * , struct file * , unsigned char * , size_t ) ;
3442 ssize_t (*write)(struct tty_struct * , struct file * , unsigned char const * ,
3443 size_t ) ;
3444 int (*ioctl)(struct tty_struct * , struct file * , unsigned int , unsigned long ) ;
3445 long (*compat_ioctl)(struct tty_struct * , struct file * , unsigned int , unsigned long ) ;
3446 void (*set_termios)(struct tty_struct * , struct ktermios * ) ;
3447 unsigned int (*poll)(struct tty_struct * , struct file * , struct poll_table_struct * ) ;
3448 int (*hangup)(struct tty_struct * ) ;
3449 void (*receive_buf)(struct tty_struct * , unsigned char const * , char * , int ) ;
3450 void (*write_wakeup)(struct tty_struct * ) ;
3451 void (*dcd_change)(struct tty_struct * , unsigned int , struct pps_event_time * ) ;
3452 struct module *owner ;
3453 int refcount ;
3454};
3455#line 153 "include/linux/tty_ldisc.h"
3456struct tty_ldisc {
3457 struct tty_ldisc_ops *ops ;
3458 atomic_t users ;
3459};
3460#line 158 "include/linux/tty_ldisc.h"
3461struct tty_buffer {
3462 struct tty_buffer *next ;
3463 char *char_buf_ptr ;
3464 unsigned char *flag_buf_ptr ;
3465 int used ;
3466 int size ;
3467 int commit ;
3468 int read ;
3469 unsigned long data[0U] ;
3470};
3471#line 75 "include/linux/tty.h"
3472struct tty_bufhead {
3473 struct work_struct work ;
3474 spinlock_t lock ;
3475 struct tty_buffer *head ;
3476 struct tty_buffer *tail ;
3477 struct tty_buffer *free ;
3478 int memory_used ;
3479};
3480#line 95
3481struct tty_port;
3482#line 95
3483struct tty_port;
3484#line 96 "include/linux/tty.h"
3485struct tty_port_operations {
3486 int (*carrier_raised)(struct tty_port * ) ;
3487 void (*dtr_rts)(struct tty_port * , int ) ;
3488 void (*shutdown)(struct tty_port * ) ;
3489 void (*drop)(struct tty_port * ) ;
3490 int (*activate)(struct tty_port * , struct tty_struct * ) ;
3491 void (*destruct)(struct tty_port * ) ;
3492};
3493#line 222 "include/linux/tty.h"
3494struct tty_port {
3495 struct tty_struct *tty ;
3496 struct tty_port_operations const *ops ;
3497 spinlock_t lock ;
3498 int blocked_open ;
3499 int count ;
3500 wait_queue_head_t open_wait ;
3501 wait_queue_head_t close_wait ;
3502 wait_queue_head_t delta_msr_wait ;
3503 unsigned long flags ;
3504 unsigned char console : 1 ;
3505 struct mutex mutex ;
3506 struct mutex buf_mutex ;
3507 unsigned char *xmit_buf ;
3508 unsigned int close_delay ;
3509 unsigned int closing_wait ;
3510 int drain_delay ;
3511 struct kref kref ;
3512};
3513#line 244 "include/linux/tty.h"
3514struct tty_struct {
3515 int magic ;
3516 struct kref kref ;
3517 struct device *dev ;
3518 struct tty_driver *driver ;
3519 struct tty_operations const *ops ;
3520 int index ;
3521 struct mutex ldisc_mutex ;
3522 struct tty_ldisc *ldisc ;
3523 struct mutex termios_mutex ;
3524 spinlock_t ctrl_lock ;
3525 struct ktermios *termios ;
3526 struct ktermios *termios_locked ;
3527 struct termiox *termiox ;
3528 char name[64U] ;
3529 struct pid *pgrp ;
3530 struct pid *session ;
3531 unsigned long flags ;
3532 int count ;
3533 struct winsize winsize ;
3534 unsigned char stopped : 1 ;
3535 unsigned char hw_stopped : 1 ;
3536 unsigned char flow_stopped : 1 ;
3537 unsigned char packet : 1 ;
3538 unsigned char low_latency : 1 ;
3539 unsigned char warned : 1 ;
3540 unsigned char ctrl_status ;
3541 unsigned int receive_room ;
3542 struct tty_struct *link ;
3543 struct fasync_struct *fasync ;
3544 struct tty_bufhead buf ;
3545 int alt_speed ;
3546 wait_queue_head_t write_wait ;
3547 wait_queue_head_t read_wait ;
3548 struct work_struct hangup_work ;
3549 void *disc_data ;
3550 void *driver_data ;
3551 struct list_head tty_files ;
3552 unsigned int column ;
3553 unsigned char lnext : 1 ;
3554 unsigned char erasing : 1 ;
3555 unsigned char raw : 1 ;
3556 unsigned char real_raw : 1 ;
3557 unsigned char icanon : 1 ;
3558 unsigned char closing : 1 ;
3559 unsigned char echo_overrun : 1 ;
3560 unsigned short minimum_to_wake ;
3561 unsigned long overrun_time ;
3562 int num_overrun ;
3563 unsigned long process_char_map[4U] ;
3564 char *read_buf ;
3565 int read_head ;
3566 int read_tail ;
3567 int read_cnt ;
3568 unsigned long read_flags[64U] ;
3569 unsigned char *echo_buf ;
3570 unsigned int echo_pos ;
3571 unsigned int echo_cnt ;
3572 int canon_data ;
3573 unsigned long canon_head ;
3574 unsigned int canon_column ;
3575 struct mutex atomic_read_lock ;
3576 struct mutex atomic_write_lock ;
3577 struct mutex output_lock ;
3578 struct mutex echo_lock ;
3579 unsigned char *write_buf ;
3580 int write_cnt ;
3581 spinlock_t read_lock ;
3582 struct work_struct SAK_work ;
3583 struct tty_port *port ;
3584};
3585#line 309 "include/linux/kgdb.h"
3586struct fb_fix_screeninfo {
3587 char id[16U] ;
3588 unsigned long smem_start ;
3589 __u32 smem_len ;
3590 __u32 type ;
3591 __u32 type_aux ;
3592 __u32 visual ;
3593 __u16 xpanstep ;
3594 __u16 ypanstep ;
3595 __u16 ywrapstep ;
3596 __u32 line_length ;
3597 unsigned long mmio_start ;
3598 __u32 mmio_len ;
3599 __u32 accel ;
3600 __u16 capabilities ;
3601 __u16 reserved[2U] ;
3602};
3603#line 181 "include/linux/fb.h"
3604struct fb_bitfield {
3605 __u32 offset ;
3606 __u32 length ;
3607 __u32 msb_right ;
3608};
3609#line 197 "include/linux/fb.h"
3610struct fb_var_screeninfo {
3611 __u32 xres ;
3612 __u32 yres ;
3613 __u32 xres_virtual ;
3614 __u32 yres_virtual ;
3615 __u32 xoffset ;
3616 __u32 yoffset ;
3617 __u32 bits_per_pixel ;
3618 __u32 grayscale ;
3619 struct fb_bitfield red ;
3620 struct fb_bitfield green ;
3621 struct fb_bitfield blue ;
3622 struct fb_bitfield transp ;
3623 __u32 nonstd ;
3624 __u32 activate ;
3625 __u32 height ;
3626 __u32 width ;
3627 __u32 accel_flags ;
3628 __u32 pixclock ;
3629 __u32 left_margin ;
3630 __u32 right_margin ;
3631 __u32 upper_margin ;
3632 __u32 lower_margin ;
3633 __u32 hsync_len ;
3634 __u32 vsync_len ;
3635 __u32 sync ;
3636 __u32 vmode ;
3637 __u32 rotate ;
3638 __u32 colorspace ;
3639 __u32 reserved[4U] ;
3640};
3641#line 284 "include/linux/fb.h"
3642struct fb_cmap {
3643 __u32 start ;
3644 __u32 len ;
3645 __u16 *red ;
3646 __u16 *green ;
3647 __u16 *blue ;
3648 __u16 *transp ;
3649};
3650#line 340 "include/linux/fb.h"
3651struct fb_copyarea {
3652 __u32 dx ;
3653 __u32 dy ;
3654 __u32 width ;
3655 __u32 height ;
3656 __u32 sx ;
3657 __u32 sy ;
3658};
3659#line 353 "include/linux/fb.h"
3660struct fb_fillrect {
3661 __u32 dx ;
3662 __u32 dy ;
3663 __u32 width ;
3664 __u32 height ;
3665 __u32 color ;
3666 __u32 rop ;
3667};
3668#line 362 "include/linux/fb.h"
3669struct fb_image {
3670 __u32 dx ;
3671 __u32 dy ;
3672 __u32 width ;
3673 __u32 height ;
3674 __u32 fg_color ;
3675 __u32 bg_color ;
3676 __u8 depth ;
3677 char const *data ;
3678 struct fb_cmap cmap ;
3679};
3680#line 374 "include/linux/fb.h"
3681struct fbcurpos {
3682 __u16 x ;
3683 __u16 y ;
3684};
3685#line 390 "include/linux/fb.h"
3686struct fb_cursor {
3687 __u16 set ;
3688 __u16 enable ;
3689 __u16 rop ;
3690 char const *mask ;
3691 struct fbcurpos hot ;
3692 struct fb_image image ;
3693};
3694#line 404
3695enum backlight_type {
3696 BACKLIGHT_RAW = 1,
3697 BACKLIGHT_PLATFORM = 2,
3698 BACKLIGHT_FIRMWARE = 3,
3699 BACKLIGHT_TYPE_MAX = 4
3700} ;
3701#line 411
3702struct backlight_device;
3703#line 411
3704struct backlight_device;
3705#line 412
3706struct fb_info;
3707#line 412
3708struct fb_info;
3709#line 413 "include/linux/fb.h"
3710struct backlight_ops {
3711 unsigned int options ;
3712 int (*update_status)(struct backlight_device * ) ;
3713 int (*get_brightness)(struct backlight_device * ) ;
3714 int (*check_fb)(struct backlight_device * , struct fb_info * ) ;
3715};
3716#line 59 "include/linux/backlight.h"
3717struct backlight_properties {
3718 int brightness ;
3719 int max_brightness ;
3720 int power ;
3721 int fb_blank ;
3722 enum backlight_type type ;
3723 unsigned int state ;
3724};
3725#line 78 "include/linux/backlight.h"
3726struct backlight_device {
3727 struct backlight_properties props ;
3728 struct mutex update_lock ;
3729 struct mutex ops_lock ;
3730 struct backlight_ops const *ops ;
3731 struct notifier_block fb_notif ;
3732 struct device dev ;
3733};
3734#line 136 "include/linux/backlight.h"
3735struct fb_chroma {
3736 __u32 redx ;
3737 __u32 greenx ;
3738 __u32 bluex ;
3739 __u32 whitex ;
3740 __u32 redy ;
3741 __u32 greeny ;
3742 __u32 bluey ;
3743 __u32 whitey ;
3744};
3745#line 457 "include/linux/fb.h"
3746struct fb_videomode;
3747#line 457 "include/linux/fb.h"
3748struct fb_monspecs {
3749 struct fb_chroma chroma ;
3750 struct fb_videomode *modedb ;
3751 __u8 manufacturer[4U] ;
3752 __u8 monitor[14U] ;
3753 __u8 serial_no[14U] ;
3754 __u8 ascii[14U] ;
3755 __u32 modedb_len ;
3756 __u32 model ;
3757 __u32 serial ;
3758 __u32 year ;
3759 __u32 week ;
3760 __u32 hfmin ;
3761 __u32 hfmax ;
3762 __u32 dclkmin ;
3763 __u32 dclkmax ;
3764 __u16 input ;
3765 __u16 dpms ;
3766 __u16 signal ;
3767 __u16 vfmin ;
3768 __u16 vfmax ;
3769 __u16 gamma ;
3770 unsigned char gtf : 1 ;
3771 __u16 misc ;
3772 __u8 version ;
3773 __u8 revision ;
3774 __u8 max_x ;
3775 __u8 max_y ;
3776};
3777#line 562 "include/linux/fb.h"
3778struct fb_blit_caps {
3779 u32 x ;
3780 u32 y ;
3781 u32 len ;
3782 u32 flags ;
3783};
3784#line 573 "include/linux/fb.h"
3785struct fb_pixmap {
3786 u8 *addr ;
3787 u32 size ;
3788 u32 offset ;
3789 u32 buf_align ;
3790 u32 scan_align ;
3791 u32 access_align ;
3792 u32 flags ;
3793 u32 blit_x ;
3794 u32 blit_y ;
3795 void (*writeio)(struct fb_info * , void * , void * , unsigned int ) ;
3796 void (*readio)(struct fb_info * , void * , void * , unsigned int ) ;
3797};
3798#line 602 "include/linux/fb.h"
3799struct fb_deferred_io {
3800 unsigned long delay ;
3801 struct mutex lock ;
3802 struct list_head pagelist ;
3803 void (*deferred_io)(struct fb_info * , struct list_head * ) ;
3804};
3805#line 612 "include/linux/fb.h"
3806struct fb_ops {
3807 struct module *owner ;
3808 int (*fb_open)(struct fb_info * , int ) ;
3809 int (*fb_release)(struct fb_info * , int ) ;
3810 ssize_t (*fb_read)(struct fb_info * , char * , size_t , loff_t * ) ;
3811 ssize_t (*fb_write)(struct fb_info * , char const * , size_t , loff_t * ) ;
3812 int (*fb_check_var)(struct fb_var_screeninfo * , struct fb_info * ) ;
3813 int (*fb_set_par)(struct fb_info * ) ;
3814 int (*fb_setcolreg)(unsigned int , unsigned int , unsigned int , unsigned int ,
3815 unsigned int , struct fb_info * ) ;
3816 int (*fb_setcmap)(struct fb_cmap * , struct fb_info * ) ;
3817 int (*fb_blank)(int , struct fb_info * ) ;
3818 int (*fb_pan_display)(struct fb_var_screeninfo * , struct fb_info * ) ;
3819 void (*fb_fillrect)(struct fb_info * , struct fb_fillrect const * ) ;
3820 void (*fb_copyarea)(struct fb_info * , struct fb_copyarea const * ) ;
3821 void (*fb_imageblit)(struct fb_info * , struct fb_image const * ) ;
3822 int (*fb_cursor)(struct fb_info * , struct fb_cursor * ) ;
3823 void (*fb_rotate)(struct fb_info * , int ) ;
3824 int (*fb_sync)(struct fb_info * ) ;
3825 int (*fb_ioctl)(struct fb_info * , unsigned int , unsigned long ) ;
3826 int (*fb_compat_ioctl)(struct fb_info * , unsigned int , unsigned long ) ;
3827 int (*fb_mmap)(struct fb_info * , struct vm_area_struct * ) ;
3828 void (*fb_get_caps)(struct fb_info * , struct fb_blit_caps * , struct fb_var_screeninfo * ) ;
3829 void (*fb_destroy)(struct fb_info * ) ;
3830 int (*fb_debug_enter)(struct fb_info * ) ;
3831 int (*fb_debug_leave)(struct fb_info * ) ;
3832};
3833#line 700 "include/linux/fb.h"
3834struct fb_tilemap {
3835 __u32 width ;
3836 __u32 height ;
3837 __u32 depth ;
3838 __u32 length ;
3839 __u8 const *data ;
3840};
3841#line 716 "include/linux/fb.h"
3842struct fb_tilerect {
3843 __u32 sx ;
3844 __u32 sy ;
3845 __u32 width ;
3846 __u32 height ;
3847 __u32 index ;
3848 __u32 fg ;
3849 __u32 bg ;
3850 __u32 rop ;
3851};
3852#line 728 "include/linux/fb.h"
3853struct fb_tilearea {
3854 __u32 sx ;
3855 __u32 sy ;
3856 __u32 dx ;
3857 __u32 dy ;
3858 __u32 width ;
3859 __u32 height ;
3860};
3861#line 737 "include/linux/fb.h"
3862struct fb_tileblit {
3863 __u32 sx ;
3864 __u32 sy ;
3865 __u32 width ;
3866 __u32 height ;
3867 __u32 fg ;
3868 __u32 bg ;
3869 __u32 length ;
3870 __u32 *indices ;
3871};
3872#line 748 "include/linux/fb.h"
3873struct fb_tilecursor {
3874 __u32 sx ;
3875 __u32 sy ;
3876 __u32 mode ;
3877 __u32 shape ;
3878 __u32 fg ;
3879 __u32 bg ;
3880};
3881#line 757 "include/linux/fb.h"
3882struct fb_tile_ops {
3883 void (*fb_settile)(struct fb_info * , struct fb_tilemap * ) ;
3884 void (*fb_tilecopy)(struct fb_info * , struct fb_tilearea * ) ;
3885 void (*fb_tilefill)(struct fb_info * , struct fb_tilerect * ) ;
3886 void (*fb_tileblit)(struct fb_info * , struct fb_tileblit * ) ;
3887 void (*fb_tilecursor)(struct fb_info * , struct fb_tilecursor * ) ;
3888 int (*fb_get_tilemax)(struct fb_info * ) ;
3889};
3890#line 776 "include/linux/fb.h"
3891struct aperture {
3892 resource_size_t base ;
3893 resource_size_t size ;
3894};
3895#line 895 "include/linux/fb.h"
3896struct apertures_struct {
3897 unsigned int count ;
3898 struct aperture ranges[0U] ;
3899};
3900#line 896 "include/linux/fb.h"
3901struct fb_info {
3902 atomic_t count ;
3903 int node ;
3904 int flags ;
3905 struct mutex lock ;
3906 struct mutex mm_lock ;
3907 struct fb_var_screeninfo var ;
3908 struct fb_fix_screeninfo fix ;
3909 struct fb_monspecs monspecs ;
3910 struct work_struct queue ;
3911 struct fb_pixmap pixmap ;
3912 struct fb_pixmap sprite ;
3913 struct fb_cmap cmap ;
3914 struct list_head modelist ;
3915 struct fb_videomode *mode ;
3916 struct backlight_device *bl_dev ;
3917 struct mutex bl_curve_mutex ;
3918 u8 bl_curve[128U] ;
3919 struct delayed_work deferred_work ;
3920 struct fb_deferred_io *fbdefio ;
3921 struct fb_ops *fbops ;
3922 struct device *device ;
3923 struct device *dev ;
3924 int class_flag ;
3925 struct fb_tile_ops *tileops ;
3926 char *screen_base ;
3927 unsigned long screen_size ;
3928 void *pseudo_palette ;
3929 u32 state ;
3930 void *fbcon_par ;
3931 void *par ;
3932 struct apertures_struct *apertures ;
3933};
3934#line 1145 "include/linux/fb.h"
3935struct fb_videomode {
3936 char const *name ;
3937 u32 refresh ;
3938 u32 xres ;
3939 u32 yres ;
3940 u32 pixclock ;
3941 u32 left_margin ;
3942 u32 right_margin ;
3943 u32 upper_margin ;
3944 u32 lower_margin ;
3945 u32 hsync_len ;
3946 u32 vsync_len ;
3947 u32 sync ;
3948 u32 vmode ;
3949 u32 flag ;
3950};
3951#line 1173
3952struct lcd_device;
3953#line 1173
3954struct lcd_device;
3955#line 1174 "include/linux/fb.h"
3956struct lcd_properties {
3957 int max_contrast ;
3958};
3959#line 38 "include/linux/lcd.h"
3960struct lcd_ops {
3961 int (*get_power)(struct lcd_device * ) ;
3962 int (*set_power)(struct lcd_device * , int ) ;
3963 int (*get_contrast)(struct lcd_device * ) ;
3964 int (*set_contrast)(struct lcd_device * , int ) ;
3965 int (*set_mode)(struct lcd_device * , struct fb_videomode * ) ;
3966 int (*check_fb)(struct lcd_device * , struct fb_info * ) ;
3967};
3968#line 55 "include/linux/lcd.h"
3969struct lcd_device {
3970 struct lcd_properties props ;
3971 struct mutex ops_lock ;
3972 struct lcd_ops *ops ;
3973 struct mutex update_lock ;
3974 struct notifier_block fb_notif ;
3975 struct device dev ;
3976};
3977#line 44 "include/linux/kthread.h"
3978struct kthread_work;
3979#line 44
3980struct kthread_work;
3981#line 57 "include/linux/kthread.h"
3982struct kthread_worker {
3983 spinlock_t lock ;
3984 struct list_head work_list ;
3985 struct task_struct *task ;
3986};
3987#line 63 "include/linux/kthread.h"
3988struct kthread_work {
3989 struct list_head node ;
3990 void (*func)(struct kthread_work * ) ;
3991 wait_queue_head_t done ;
3992 atomic_t flushing ;
3993 int queue_seq ;
3994 int done_seq ;
3995};
3996#line 32 "include/linux/spi/spi.h"
3997struct spi_master;
3998#line 32 "include/linux/spi/spi.h"
3999struct spi_device {
4000 struct device dev ;
4001 struct spi_master *master ;
4002 u32 max_speed_hz ;
4003 u8 chip_select ;
4004 u8 mode ;
4005 u8 bits_per_word ;
4006 int irq ;
4007 void *controller_state ;
4008 void *controller_data ;
4009 char modalias[32U] ;
4010};
4011#line 144
4012struct spi_message;
4013#line 144
4014struct spi_message;
4015#line 203 "include/linux/spi/spi.h"
4016struct spi_master {
4017 struct device dev ;
4018 struct list_head list ;
4019 s16 bus_num ;
4020 u16 num_chipselect ;
4021 u16 dma_alignment ;
4022 u16 mode_bits ;
4023 u16 flags ;
4024 spinlock_t bus_lock_spinlock ;
4025 struct mutex bus_lock_mutex ;
4026 bool bus_lock_flag ;
4027 int (*setup)(struct spi_device * ) ;
4028 int (*transfer)(struct spi_device * , struct spi_message * ) ;
4029 void (*cleanup)(struct spi_device * ) ;
4030 bool queued ;
4031 struct kthread_worker kworker ;
4032 struct task_struct *kworker_task ;
4033 struct kthread_work pump_messages ;
4034 spinlock_t queue_lock ;
4035 struct list_head queue ;
4036 struct spi_message *cur_msg ;
4037 bool busy ;
4038 bool running ;
4039 bool rt ;
4040 int (*prepare_transfer_hardware)(struct spi_master * ) ;
4041 int (*transfer_one_message)(struct spi_master * , struct spi_message * ) ;
4042 int (*unprepare_transfer_hardware)(struct spi_master * ) ;
4043};
4044#line 406 "include/linux/spi/spi.h"
4045struct spi_transfer {
4046 void const *tx_buf ;
4047 void *rx_buf ;
4048 unsigned int len ;
4049 dma_addr_t tx_dma ;
4050 dma_addr_t rx_dma ;
4051 unsigned char cs_change : 1 ;
4052 u8 bits_per_word ;
4053 u16 delay_usecs ;
4054 u32 speed_hz ;
4055 struct list_head transfer_list ;
4056};
4057#line 512 "include/linux/spi/spi.h"
4058struct spi_message {
4059 struct list_head transfers ;
4060 struct spi_device *spi ;
4061 unsigned char is_dma_mapped : 1 ;
4062 void (*complete)(void * ) ;
4063 void *context ;
4064 unsigned int actual_length ;
4065 int status ;
4066 struct list_head queue ;
4067 void *state ;
4068};
4069#line 858
4070enum ili9320_suspend {
4071 ILI9320_SUSPEND_OFF = 0,
4072 ILI9320_SUSPEND_DEEP = 1
4073} ;
4074#line 863 "include/linux/spi/spi.h"
4075struct ili9320_platdata {
4076 unsigned short hsize ;
4077 unsigned short vsize ;
4078 enum ili9320_suspend suspend ;
4079 void (*reset)(unsigned int ) ;
4080 unsigned short entry_mode ;
4081 unsigned short display2 ;
4082 unsigned short display3 ;
4083 unsigned short display4 ;
4084 unsigned short rgb_if1 ;
4085 unsigned short rgb_if2 ;
4086 unsigned short interface2 ;
4087 unsigned short interface3 ;
4088 unsigned short interface4 ;
4089 unsigned short interface5 ;
4090 unsigned short interface6 ;
4091};
4092#line 201 "include/video/ili9320.h"
4093struct ili9320_reg {
4094 unsigned short address ;
4095 unsigned short value ;
4096};
4097#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/video/backlight/ili9320.h"
4098struct ili9320;
4099#line 20
4100struct ili9320;
4101#line 21 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/video/backlight/ili9320.h"
4102struct ili9320_client {
4103 char const *name ;
4104 int (*init)(struct ili9320 * , struct ili9320_platdata * ) ;
4105};
4106#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/video/backlight/ili9320.h"
4107struct ili9320_spi {
4108 struct spi_device *dev ;
4109 struct spi_message message ;
4110 struct spi_transfer xfer[2U] ;
4111 unsigned char id ;
4112 unsigned char buffer_addr[4U] ;
4113 unsigned char buffer_data[4U] ;
4114};
4115#line 38 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/video/backlight/ili9320.h"
4116union __anonunion_access_174 {
4117 struct ili9320_spi spi ;
4118};
4119#line 38 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/video/backlight/ili9320.h"
4120struct ili9320 {
4121 union __anonunion_access_174 access ;
4122 struct device *dev ;
4123 struct lcd_device *lcd ;
4124 struct ili9320_client *client ;
4125 struct ili9320_platdata *platdata ;
4126 int power ;
4127 int initialised ;
4128 unsigned short display1 ;
4129 unsigned short power1 ;
4130 int (*write)(struct ili9320 * , unsigned int , unsigned int ) ;
4131};
4132#line 1 "<compiler builtins>"
4133long __builtin_expect(long , long ) ;
4134#line 2 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
4135void ldv_spin_lock(void) ;
4136#line 3
4137void ldv_spin_unlock(void) ;
4138#line 4
4139int ldv_spin_trylock(void) ;
4140#line 50 "include/linux/dynamic_debug.h"
4141extern int __dynamic_dev_dbg(struct _ddebug * , struct device const * , char const *
4142 , ...) ;
4143#line 24 "include/linux/list.h"
4144__inline static void INIT_LIST_HEAD(struct list_head *list )
4145{ unsigned long __cil_tmp2 ;
4146 unsigned long __cil_tmp3 ;
4147
4148 {
4149#line 26
4150 *((struct list_head **)list) = list;
4151#line 27
4152 __cil_tmp2 = (unsigned long )list;
4153#line 27
4154 __cil_tmp3 = __cil_tmp2 + 8;
4155#line 27
4156 *((struct list_head **)__cil_tmp3) = list;
4157#line 28
4158 return;
4159}
4160}
4161#line 47
4162extern void __list_add(struct list_head * , struct list_head * , struct list_head * ) ;
4163#line 74 "include/linux/list.h"
4164__inline static void list_add_tail(struct list_head *new , struct list_head *head )
4165{ unsigned long __cil_tmp3 ;
4166 unsigned long __cil_tmp4 ;
4167 struct list_head *__cil_tmp5 ;
4168
4169 {
4170 {
4171#line 76
4172 __cil_tmp3 = (unsigned long )head;
4173#line 76
4174 __cil_tmp4 = __cil_tmp3 + 8;
4175#line 76
4176 __cil_tmp5 = *((struct list_head **)__cil_tmp4);
4177#line 76
4178 __list_add(new, __cil_tmp5, head);
4179 }
4180#line 77
4181 return;
4182}
4183}
4184#line 55 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/string_64.h"
4185extern void *memset(void * , int , size_t ) ;
4186#line 27 "include/linux/err.h"
4187__inline static long PTR_ERR(void const *ptr )
4188{
4189
4190 {
4191#line 29
4192 return ((long )ptr);
4193}
4194}
4195#line 32 "include/linux/err.h"
4196__inline static long IS_ERR(void const *ptr )
4197{ long tmp ;
4198 unsigned long __cil_tmp3 ;
4199 int __cil_tmp4 ;
4200 long __cil_tmp5 ;
4201
4202 {
4203 {
4204#line 34
4205 __cil_tmp3 = (unsigned long )ptr;
4206#line 34
4207 __cil_tmp4 = __cil_tmp3 > 0xfffffffffffff000UL;
4208#line 34
4209 __cil_tmp5 = (long )__cil_tmp4;
4210#line 34
4211 tmp = __builtin_expect(__cil_tmp5, 0L);
4212 }
4213#line 34
4214 return (tmp);
4215}
4216}
4217#line 161 "include/linux/slab.h"
4218extern void kfree(void const * ) ;
4219#line 220 "include/linux/slub_def.h"
4220extern void *kmem_cache_alloc(struct kmem_cache * , gfp_t ) ;
4221#line 223
4222void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
4223#line 353 "include/linux/slab.h"
4224__inline static void *kzalloc(size_t size , gfp_t flags ) ;
4225#line 10 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
4226extern void *__VERIFIER_nondet_pointer(void) ;
4227#line 11
4228void ldv_check_alloc_flags(gfp_t flags ) ;
4229#line 12
4230void ldv_check_alloc_nonatomic(void) ;
4231#line 14
4232struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags ) ;
4233#line 10 "include/asm-generic/delay.h"
4234extern void __const_udelay(unsigned long ) ;
4235#line 792 "include/linux/device.h"
4236extern void *dev_get_drvdata(struct device const * ) ;
4237#line 793
4238extern int dev_set_drvdata(struct device * , void * ) ;
4239#line 892
4240extern int dev_err(struct device const * , char const * , ...) ;
4241#line 894
4242extern int dev_warn(struct device const * , char const * , ...) ;
4243#line 898
4244extern int _dev_info(struct device const * , char const * , ...) ;
4245#line 103 "include/linux/lcd.h"
4246extern struct lcd_device *lcd_device_register(char const * , struct device * , void * ,
4247 struct lcd_ops * ) ;
4248#line 105
4249extern void lcd_device_unregister(struct lcd_device * ) ;
4250#line 109 "include/linux/lcd.h"
4251__inline static void *lcd_get_data(struct lcd_device *ld_dev )
4252{ void *tmp ;
4253 unsigned long __cil_tmp3 ;
4254 unsigned long __cil_tmp4 ;
4255 struct device *__cil_tmp5 ;
4256 struct device const *__cil_tmp6 ;
4257
4258 {
4259 {
4260#line 111
4261 __cil_tmp3 = (unsigned long )ld_dev;
4262#line 111
4263 __cil_tmp4 = __cil_tmp3 + 376;
4264#line 111
4265 __cil_tmp5 = (struct device *)__cil_tmp4;
4266#line 111
4267 __cil_tmp6 = (struct device const *)__cil_tmp5;
4268#line 111
4269 tmp = dev_get_drvdata(__cil_tmp6);
4270 }
4271#line 111
4272 return (tmp);
4273}
4274}
4275#line 573 "include/linux/spi/spi.h"
4276__inline static void spi_message_init(struct spi_message *m )
4277{ void *__cil_tmp2 ;
4278 struct list_head *__cil_tmp3 ;
4279
4280 {
4281 {
4282#line 575
4283 __cil_tmp2 = (void *)m;
4284#line 575
4285 memset(__cil_tmp2, 0, 80UL);
4286#line 576
4287 __cil_tmp3 = (struct list_head *)m;
4288#line 576
4289 INIT_LIST_HEAD(__cil_tmp3);
4290 }
4291#line 577
4292 return;
4293}
4294}
4295#line 580 "include/linux/spi/spi.h"
4296__inline static void spi_message_add_tail(struct spi_transfer *t , struct spi_message *m )
4297{ unsigned long __cil_tmp3 ;
4298 unsigned long __cil_tmp4 ;
4299 struct list_head *__cil_tmp5 ;
4300 struct list_head *__cil_tmp6 ;
4301
4302 {
4303 {
4304#line 582
4305 __cil_tmp3 = (unsigned long )t;
4306#line 582
4307 __cil_tmp4 = __cil_tmp3 + 48;
4308#line 582
4309 __cil_tmp5 = (struct list_head *)__cil_tmp4;
4310#line 582
4311 __cil_tmp6 = (struct list_head *)m;
4312#line 582
4313 list_add_tail(__cil_tmp5, __cil_tmp6);
4314 }
4315#line 583
4316 return;
4317}
4318}
4319#line 630
4320extern int spi_sync(struct spi_device * , struct spi_message * ) ;
4321#line 62 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/video/backlight/ili9320.h"
4322int ili9320_write(struct ili9320 *ili , unsigned int reg , unsigned int value ) ;
4323#line 65
4324int ili9320_write_regs(struct ili9320 *ili , struct ili9320_reg *values , int nr_values ) ;
4325#line 71
4326int ili9320_probe_spi(struct spi_device *spi , struct ili9320_client *client ) ;
4327#line 74
4328int ili9320_remove(struct ili9320 *ili ) ;
4329#line 75
4330void ili9320_shutdown(struct ili9320 *lcd ) ;
4331#line 79
4332int ili9320_suspend(struct ili9320 *lcd , int state_event34 ) ;
4333#line 80
4334int ili9320_resume(struct ili9320 *lcd ) ;
4335#line 44 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
4336__inline static int ili9320_write_spi(struct ili9320 *ili , unsigned int reg , unsigned int value )
4337{ struct ili9320_spi *spi ;
4338 unsigned char *addr ;
4339 unsigned char *data ;
4340 int tmp ;
4341 unsigned long __cil_tmp8 ;
4342 unsigned long __cil_tmp9 ;
4343 unsigned char (*__cil_tmp10)[4U] ;
4344 unsigned long __cil_tmp11 ;
4345 unsigned long __cil_tmp12 ;
4346 unsigned char (*__cil_tmp13)[4U] ;
4347 unsigned long __cil_tmp14 ;
4348 unsigned long __cil_tmp15 ;
4349 unsigned char *__cil_tmp16 ;
4350 unsigned int __cil_tmp17 ;
4351 unsigned char *__cil_tmp18 ;
4352 unsigned long __cil_tmp19 ;
4353 unsigned long __cil_tmp20 ;
4354 unsigned char __cil_tmp21 ;
4355 unsigned int __cil_tmp22 ;
4356 unsigned int __cil_tmp23 ;
4357 unsigned char *__cil_tmp24 ;
4358 unsigned int __cil_tmp25 ;
4359 unsigned char *__cil_tmp26 ;
4360 struct spi_device *__cil_tmp27 ;
4361 unsigned long __cil_tmp28 ;
4362 unsigned long __cil_tmp29 ;
4363 struct spi_message *__cil_tmp30 ;
4364
4365 {
4366 {
4367#line 48
4368 spi = (struct ili9320_spi *)ili;
4369#line 49
4370 __cil_tmp8 = (unsigned long )spi;
4371#line 49
4372 __cil_tmp9 = __cil_tmp8 + 217;
4373#line 49
4374 __cil_tmp10 = (unsigned char (*)[4U])__cil_tmp9;
4375#line 49
4376 addr = (unsigned char *)__cil_tmp10;
4377#line 50
4378 __cil_tmp11 = (unsigned long )spi;
4379#line 50
4380 __cil_tmp12 = __cil_tmp11 + 221;
4381#line 50
4382 __cil_tmp13 = (unsigned char (*)[4U])__cil_tmp12;
4383#line 50
4384 data = (unsigned char *)__cil_tmp13;
4385#line 56
4386 __cil_tmp14 = (unsigned long )spi;
4387#line 56
4388 __cil_tmp15 = __cil_tmp14 + 216;
4389#line 56
4390 *addr = *((unsigned char *)__cil_tmp15);
4391#line 57
4392 __cil_tmp16 = addr + 1UL;
4393#line 57
4394 __cil_tmp17 = reg >> 8;
4395#line 57
4396 *__cil_tmp16 = (unsigned char )__cil_tmp17;
4397#line 58
4398 __cil_tmp18 = addr + 2UL;
4399#line 58
4400 *__cil_tmp18 = (unsigned char )reg;
4401#line 62
4402 __cil_tmp19 = (unsigned long )spi;
4403#line 62
4404 __cil_tmp20 = __cil_tmp19 + 216;
4405#line 62
4406 __cil_tmp21 = *((unsigned char *)__cil_tmp20);
4407#line 62
4408 __cil_tmp22 = (unsigned int )__cil_tmp21;
4409#line 62
4410 __cil_tmp23 = __cil_tmp22 | 2U;
4411#line 62
4412 *data = (unsigned char )__cil_tmp23;
4413#line 63
4414 __cil_tmp24 = data + 1UL;
4415#line 63
4416 __cil_tmp25 = value >> 8;
4417#line 63
4418 *__cil_tmp24 = (unsigned char )__cil_tmp25;
4419#line 64
4420 __cil_tmp26 = data + 2UL;
4421#line 64
4422 *__cil_tmp26 = (unsigned char )value;
4423#line 66
4424 __cil_tmp27 = *((struct spi_device **)spi);
4425#line 66
4426 __cil_tmp28 = (unsigned long )spi;
4427#line 66
4428 __cil_tmp29 = __cil_tmp28 + 8;
4429#line 66
4430 __cil_tmp30 = (struct spi_message *)__cil_tmp29;
4431#line 66
4432 tmp = spi_sync(__cil_tmp27, __cil_tmp30);
4433 }
4434#line 66
4435 return (tmp);
4436}
4437}
4438#line 69 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
4439int ili9320_write(struct ili9320 *ili , unsigned int reg , unsigned int value )
4440{ struct _ddebug descriptor ;
4441 long tmp ;
4442 int tmp___0 ;
4443 struct _ddebug *__cil_tmp7 ;
4444 unsigned long __cil_tmp8 ;
4445 unsigned long __cil_tmp9 ;
4446 unsigned long __cil_tmp10 ;
4447 unsigned long __cil_tmp11 ;
4448 unsigned long __cil_tmp12 ;
4449 unsigned long __cil_tmp13 ;
4450 unsigned char __cil_tmp14 ;
4451 long __cil_tmp15 ;
4452 long __cil_tmp16 ;
4453 unsigned long __cil_tmp17 ;
4454 unsigned long __cil_tmp18 ;
4455 struct device *__cil_tmp19 ;
4456 struct device const *__cil_tmp20 ;
4457 unsigned long __cil_tmp21 ;
4458 unsigned long __cil_tmp22 ;
4459 int (*__cil_tmp23)(struct ili9320 * , unsigned int , unsigned int ) ;
4460
4461 {
4462 {
4463#line 71
4464 __cil_tmp7 = & descriptor;
4465#line 71
4466 *((char const **)__cil_tmp7) = "ili9320";
4467#line 71
4468 __cil_tmp8 = (unsigned long )(& descriptor) + 8;
4469#line 71
4470 *((char const **)__cil_tmp8) = "ili9320_write";
4471#line 71
4472 __cil_tmp9 = (unsigned long )(& descriptor) + 16;
4473#line 71
4474 *((char const **)__cil_tmp9) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p";
4475#line 71
4476 __cil_tmp10 = (unsigned long )(& descriptor) + 24;
4477#line 71
4478 *((char const **)__cil_tmp10) = "write: reg=%02x, val=%04x\n";
4479#line 71
4480 __cil_tmp11 = (unsigned long )(& descriptor) + 32;
4481#line 71
4482 *((unsigned int *)__cil_tmp11) = 71U;
4483#line 71
4484 __cil_tmp12 = (unsigned long )(& descriptor) + 35;
4485#line 71
4486 *((unsigned char *)__cil_tmp12) = (unsigned char)0;
4487#line 71
4488 __cil_tmp13 = (unsigned long )(& descriptor) + 35;
4489#line 71
4490 __cil_tmp14 = *((unsigned char *)__cil_tmp13);
4491#line 71
4492 __cil_tmp15 = (long )__cil_tmp14;
4493#line 71
4494 __cil_tmp16 = __cil_tmp15 & 1L;
4495#line 71
4496 tmp = __builtin_expect(__cil_tmp16, 0L);
4497 }
4498#line 71
4499 if (tmp != 0L) {
4500 {
4501#line 71
4502 __cil_tmp17 = (unsigned long )ili;
4503#line 71
4504 __cil_tmp18 = __cil_tmp17 + 232;
4505#line 71
4506 __cil_tmp19 = *((struct device **)__cil_tmp18);
4507#line 71
4508 __cil_tmp20 = (struct device const *)__cil_tmp19;
4509#line 71
4510 __dynamic_dev_dbg(& descriptor, __cil_tmp20, "write: reg=%02x, val=%04x\n", reg,
4511 value);
4512 }
4513 } else {
4514
4515 }
4516 {
4517#line 72
4518 __cil_tmp21 = (unsigned long )ili;
4519#line 72
4520 __cil_tmp22 = __cil_tmp21 + 280;
4521#line 72
4522 __cil_tmp23 = *((int (**)(struct ili9320 * , unsigned int , unsigned int ))__cil_tmp22);
4523#line 72
4524 tmp___0 = (*__cil_tmp23)(ili, reg, value);
4525 }
4526#line 72
4527 return (tmp___0);
4528}
4529}
4530#line 77 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
4531int ili9320_write_regs(struct ili9320 *ili , struct ili9320_reg *values , int nr_values )
4532{ int index ;
4533 int ret ;
4534 unsigned short __cil_tmp6 ;
4535 unsigned int __cil_tmp7 ;
4536 unsigned long __cil_tmp8 ;
4537 unsigned long __cil_tmp9 ;
4538 unsigned short __cil_tmp10 ;
4539 unsigned int __cil_tmp11 ;
4540
4541 {
4542#line 84
4543 index = 0;
4544#line 84
4545 goto ldv_26076;
4546 ldv_26075:
4547 {
4548#line 85
4549 __cil_tmp6 = *((unsigned short *)values);
4550#line 85
4551 __cil_tmp7 = (unsigned int )__cil_tmp6;
4552#line 85
4553 __cil_tmp8 = (unsigned long )values;
4554#line 85
4555 __cil_tmp9 = __cil_tmp8 + 2;
4556#line 85
4557 __cil_tmp10 = *((unsigned short *)__cil_tmp9);
4558#line 85
4559 __cil_tmp11 = (unsigned int )__cil_tmp10;
4560#line 85
4561 ret = ili9320_write(ili, __cil_tmp7, __cil_tmp11);
4562 }
4563#line 86
4564 if (ret != 0) {
4565#line 87
4566 return (ret);
4567 } else {
4568
4569 }
4570#line 84
4571 index = index + 1;
4572#line 84
4573 values = values + 1;
4574 ldv_26076: ;
4575#line 84
4576 if (index < nr_values) {
4577#line 85
4578 goto ldv_26075;
4579 } else {
4580#line 87
4581 goto ldv_26077;
4582 }
4583 ldv_26077: ;
4584#line 90
4585 return (0);
4586}
4587}
4588#line 95 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
4589static void ili9320_reset(struct ili9320 *lcd )
4590{ struct ili9320_platdata *cfg ;
4591 unsigned long __ms ;
4592 unsigned long tmp ;
4593 unsigned long __ms___0 ;
4594 unsigned long tmp___0 ;
4595 unsigned long __ms___1 ;
4596 unsigned long tmp___1 ;
4597 unsigned long __cil_tmp9 ;
4598 unsigned long __cil_tmp10 ;
4599 unsigned long __cil_tmp11 ;
4600 unsigned long __cil_tmp12 ;
4601 void (*__cil_tmp13)(unsigned int ) ;
4602 unsigned long __cil_tmp14 ;
4603 unsigned long __cil_tmp15 ;
4604 void (*__cil_tmp16)(unsigned int ) ;
4605 unsigned long __cil_tmp17 ;
4606 unsigned long __cil_tmp18 ;
4607 void (*__cil_tmp19)(unsigned int ) ;
4608
4609 {
4610 {
4611#line 97
4612 __cil_tmp9 = (unsigned long )lcd;
4613#line 97
4614 __cil_tmp10 = __cil_tmp9 + 256;
4615#line 97
4616 cfg = *((struct ili9320_platdata **)__cil_tmp10);
4617#line 99
4618 __cil_tmp11 = (unsigned long )cfg;
4619#line 99
4620 __cil_tmp12 = __cil_tmp11 + 8;
4621#line 99
4622 __cil_tmp13 = *((void (**)(unsigned int ))__cil_tmp12);
4623#line 99
4624 (*__cil_tmp13)(1U);
4625#line 100
4626 __ms = 50UL;
4627 }
4628#line 100
4629 goto ldv_26092;
4630 ldv_26091:
4631 {
4632#line 100
4633 __const_udelay(4295000UL);
4634 }
4635 ldv_26092:
4636#line 100
4637 tmp = __ms;
4638#line 100
4639 __ms = __ms - 1UL;
4640#line 100
4641 if (tmp != 0UL) {
4642#line 101
4643 goto ldv_26091;
4644 } else {
4645#line 103
4646 goto ldv_26093;
4647 }
4648 ldv_26093:
4649 {
4650#line 102
4651 __cil_tmp14 = (unsigned long )cfg;
4652#line 102
4653 __cil_tmp15 = __cil_tmp14 + 8;
4654#line 102
4655 __cil_tmp16 = *((void (**)(unsigned int ))__cil_tmp15);
4656#line 102
4657 (*__cil_tmp16)(0U);
4658#line 103
4659 __ms___0 = 50UL;
4660 }
4661#line 103
4662 goto ldv_26096;
4663 ldv_26095:
4664 {
4665#line 103
4666 __const_udelay(4295000UL);
4667 }
4668 ldv_26096:
4669#line 103
4670 tmp___0 = __ms___0;
4671#line 103
4672 __ms___0 = __ms___0 - 1UL;
4673#line 103
4674 if (tmp___0 != 0UL) {
4675#line 104
4676 goto ldv_26095;
4677 } else {
4678#line 106
4679 goto ldv_26097;
4680 }
4681 ldv_26097:
4682 {
4683#line 105
4684 __cil_tmp17 = (unsigned long )cfg;
4685#line 105
4686 __cil_tmp18 = __cil_tmp17 + 8;
4687#line 105
4688 __cil_tmp19 = *((void (**)(unsigned int ))__cil_tmp18);
4689#line 105
4690 (*__cil_tmp19)(1U);
4691#line 106
4692 __ms___1 = 100UL;
4693 }
4694#line 106
4695 goto ldv_26100;
4696 ldv_26099:
4697 {
4698#line 106
4699 __const_udelay(4295000UL);
4700 }
4701 ldv_26100:
4702#line 106
4703 tmp___1 = __ms___1;
4704#line 106
4705 __ms___1 = __ms___1 - 1UL;
4706#line 106
4707 if (tmp___1 != 0UL) {
4708#line 107
4709 goto ldv_26099;
4710 } else {
4711#line 109
4712 goto ldv_26101;
4713 }
4714 ldv_26101: ;
4715#line 113
4716 return;
4717}
4718}
4719#line 109 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
4720__inline static int ili9320_init_chip(struct ili9320 *lcd )
4721{ int ret ;
4722 unsigned long __cil_tmp3 ;
4723 unsigned long __cil_tmp4 ;
4724 struct ili9320_client *__cil_tmp5 ;
4725 unsigned long __cil_tmp6 ;
4726 unsigned long __cil_tmp7 ;
4727 int (*__cil_tmp8)(struct ili9320 * , struct ili9320_platdata * ) ;
4728 unsigned long __cil_tmp9 ;
4729 unsigned long __cil_tmp10 ;
4730 struct ili9320_platdata *__cil_tmp11 ;
4731 unsigned long __cil_tmp12 ;
4732 unsigned long __cil_tmp13 ;
4733 struct device *__cil_tmp14 ;
4734 struct device const *__cil_tmp15 ;
4735 unsigned long __cil_tmp16 ;
4736 unsigned long __cil_tmp17 ;
4737
4738 {
4739 {
4740#line 113
4741 ili9320_reset(lcd);
4742#line 115
4743 __cil_tmp3 = (unsigned long )lcd;
4744#line 115
4745 __cil_tmp4 = __cil_tmp3 + 248;
4746#line 115
4747 __cil_tmp5 = *((struct ili9320_client **)__cil_tmp4);
4748#line 115
4749 __cil_tmp6 = (unsigned long )__cil_tmp5;
4750#line 115
4751 __cil_tmp7 = __cil_tmp6 + 8;
4752#line 115
4753 __cil_tmp8 = *((int (**)(struct ili9320 * , struct ili9320_platdata * ))__cil_tmp7);
4754#line 115
4755 __cil_tmp9 = (unsigned long )lcd;
4756#line 115
4757 __cil_tmp10 = __cil_tmp9 + 256;
4758#line 115
4759 __cil_tmp11 = *((struct ili9320_platdata **)__cil_tmp10);
4760#line 115
4761 ret = (*__cil_tmp8)(lcd, __cil_tmp11);
4762 }
4763#line 116
4764 if (ret != 0) {
4765 {
4766#line 117
4767 __cil_tmp12 = (unsigned long )lcd;
4768#line 117
4769 __cil_tmp13 = __cil_tmp12 + 232;
4770#line 117
4771 __cil_tmp14 = *((struct device **)__cil_tmp13);
4772#line 117
4773 __cil_tmp15 = (struct device const *)__cil_tmp14;
4774#line 117
4775 dev_err(__cil_tmp15, "failed to initialise display\n");
4776 }
4777#line 118
4778 return (ret);
4779 } else {
4780
4781 }
4782#line 121
4783 __cil_tmp16 = (unsigned long )lcd;
4784#line 121
4785 __cil_tmp17 = __cil_tmp16 + 268;
4786#line 121
4787 *((int *)__cil_tmp17) = 1;
4788#line 122
4789 return (0);
4790}
4791}
4792#line 125 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
4793__inline static int ili9320_power_on(struct ili9320 *lcd )
4794{ unsigned long __cil_tmp2 ;
4795 unsigned long __cil_tmp3 ;
4796 int __cil_tmp4 ;
4797 unsigned long __cil_tmp5 ;
4798 unsigned long __cil_tmp6 ;
4799 unsigned long __cil_tmp7 ;
4800 unsigned long __cil_tmp8 ;
4801 unsigned short __cil_tmp9 ;
4802 unsigned int __cil_tmp10 ;
4803 unsigned int __cil_tmp11 ;
4804 unsigned long __cil_tmp12 ;
4805 unsigned long __cil_tmp13 ;
4806 unsigned short __cil_tmp14 ;
4807 unsigned int __cil_tmp15 ;
4808
4809 {
4810 {
4811#line 127
4812 __cil_tmp2 = (unsigned long )lcd;
4813#line 127
4814 __cil_tmp3 = __cil_tmp2 + 268;
4815#line 127
4816 __cil_tmp4 = *((int *)__cil_tmp3);
4817#line 127
4818 if (__cil_tmp4 == 0) {
4819 {
4820#line 128
4821 ili9320_init_chip(lcd);
4822 }
4823 } else {
4824
4825 }
4826 }
4827 {
4828#line 130
4829 __cil_tmp5 = (unsigned long )lcd;
4830#line 130
4831 __cil_tmp6 = __cil_tmp5 + 272;
4832#line 130
4833 __cil_tmp7 = (unsigned long )lcd;
4834#line 130
4835 __cil_tmp8 = __cil_tmp7 + 272;
4836#line 130
4837 __cil_tmp9 = *((unsigned short *)__cil_tmp8);
4838#line 130
4839 __cil_tmp10 = (unsigned int )__cil_tmp9;
4840#line 130
4841 __cil_tmp11 = __cil_tmp10 | 259U;
4842#line 130
4843 *((unsigned short *)__cil_tmp6) = (unsigned short )__cil_tmp11;
4844#line 131
4845 __cil_tmp12 = (unsigned long )lcd;
4846#line 131
4847 __cil_tmp13 = __cil_tmp12 + 272;
4848#line 131
4849 __cil_tmp14 = *((unsigned short *)__cil_tmp13);
4850#line 131
4851 __cil_tmp15 = (unsigned int )__cil_tmp14;
4852#line 131
4853 ili9320_write(lcd, 7U, __cil_tmp15);
4854 }
4855#line 133
4856 return (0);
4857}
4858}
4859#line 136 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
4860__inline static int ili9320_power_off(struct ili9320 *lcd )
4861{ unsigned long __cil_tmp2 ;
4862 unsigned long __cil_tmp3 ;
4863 unsigned long __cil_tmp4 ;
4864 unsigned long __cil_tmp5 ;
4865 unsigned short __cil_tmp6 ;
4866 unsigned int __cil_tmp7 ;
4867 unsigned int __cil_tmp8 ;
4868 unsigned long __cil_tmp9 ;
4869 unsigned long __cil_tmp10 ;
4870 unsigned short __cil_tmp11 ;
4871 unsigned int __cil_tmp12 ;
4872
4873 {
4874 {
4875#line 138
4876 __cil_tmp2 = (unsigned long )lcd;
4877#line 138
4878 __cil_tmp3 = __cil_tmp2 + 272;
4879#line 138
4880 __cil_tmp4 = (unsigned long )lcd;
4881#line 138
4882 __cil_tmp5 = __cil_tmp4 + 272;
4883#line 138
4884 __cil_tmp6 = *((unsigned short *)__cil_tmp5);
4885#line 138
4886 __cil_tmp7 = (unsigned int )__cil_tmp6;
4887#line 138
4888 __cil_tmp8 = __cil_tmp7 & 65276U;
4889#line 138
4890 *((unsigned short *)__cil_tmp3) = (unsigned short )__cil_tmp8;
4891#line 139
4892 __cil_tmp9 = (unsigned long )lcd;
4893#line 139
4894 __cil_tmp10 = __cil_tmp9 + 272;
4895#line 139
4896 __cil_tmp11 = *((unsigned short *)__cil_tmp10);
4897#line 139
4898 __cil_tmp12 = (unsigned int )__cil_tmp11;
4899#line 139
4900 ili9320_write(lcd, 7U, __cil_tmp12);
4901 }
4902#line 141
4903 return (0);
4904}
4905}
4906#line 146 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
4907static int ili9320_power(struct ili9320 *lcd , int power )
4908{ int ret ;
4909 struct _ddebug descriptor ;
4910 long tmp ;
4911 struct _ddebug *__cil_tmp6 ;
4912 unsigned long __cil_tmp7 ;
4913 unsigned long __cil_tmp8 ;
4914 unsigned long __cil_tmp9 ;
4915 unsigned long __cil_tmp10 ;
4916 unsigned long __cil_tmp11 ;
4917 unsigned long __cil_tmp12 ;
4918 unsigned char __cil_tmp13 ;
4919 long __cil_tmp14 ;
4920 long __cil_tmp15 ;
4921 unsigned long __cil_tmp16 ;
4922 unsigned long __cil_tmp17 ;
4923 struct device *__cil_tmp18 ;
4924 struct device const *__cil_tmp19 ;
4925 unsigned long __cil_tmp20 ;
4926 unsigned long __cil_tmp21 ;
4927 int __cil_tmp22 ;
4928 unsigned long __cil_tmp23 ;
4929 unsigned long __cil_tmp24 ;
4930 int __cil_tmp25 ;
4931 unsigned long __cil_tmp26 ;
4932 unsigned long __cil_tmp27 ;
4933 int __cil_tmp28 ;
4934 unsigned long __cil_tmp29 ;
4935 unsigned long __cil_tmp30 ;
4936 unsigned long __cil_tmp31 ;
4937 unsigned long __cil_tmp32 ;
4938 struct device *__cil_tmp33 ;
4939 struct device const *__cil_tmp34 ;
4940
4941 {
4942 {
4943#line 148
4944 ret = 0;
4945#line 150
4946 __cil_tmp6 = & descriptor;
4947#line 150
4948 *((char const **)__cil_tmp6) = "ili9320";
4949#line 150
4950 __cil_tmp7 = (unsigned long )(& descriptor) + 8;
4951#line 150
4952 *((char const **)__cil_tmp7) = "ili9320_power";
4953#line 150
4954 __cil_tmp8 = (unsigned long )(& descriptor) + 16;
4955#line 150
4956 *((char const **)__cil_tmp8) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p";
4957#line 150
4958 __cil_tmp9 = (unsigned long )(& descriptor) + 24;
4959#line 150
4960 *((char const **)__cil_tmp9) = "power %d => %d\n";
4961#line 150
4962 __cil_tmp10 = (unsigned long )(& descriptor) + 32;
4963#line 150
4964 *((unsigned int *)__cil_tmp10) = 150U;
4965#line 150
4966 __cil_tmp11 = (unsigned long )(& descriptor) + 35;
4967#line 150
4968 *((unsigned char *)__cil_tmp11) = (unsigned char)0;
4969#line 150
4970 __cil_tmp12 = (unsigned long )(& descriptor) + 35;
4971#line 150
4972 __cil_tmp13 = *((unsigned char *)__cil_tmp12);
4973#line 150
4974 __cil_tmp14 = (long )__cil_tmp13;
4975#line 150
4976 __cil_tmp15 = __cil_tmp14 & 1L;
4977#line 150
4978 tmp = __builtin_expect(__cil_tmp15, 0L);
4979 }
4980#line 150
4981 if (tmp != 0L) {
4982 {
4983#line 150
4984 __cil_tmp16 = (unsigned long )lcd;
4985#line 150
4986 __cil_tmp17 = __cil_tmp16 + 232;
4987#line 150
4988 __cil_tmp18 = *((struct device **)__cil_tmp17);
4989#line 150
4990 __cil_tmp19 = (struct device const *)__cil_tmp18;
4991#line 150
4992 __cil_tmp20 = (unsigned long )lcd;
4993#line 150
4994 __cil_tmp21 = __cil_tmp20 + 264;
4995#line 150
4996 __cil_tmp22 = *((int *)__cil_tmp21);
4997#line 150
4998 __dynamic_dev_dbg(& descriptor, __cil_tmp19, "power %d => %d\n", __cil_tmp22,
4999 power);
5000 }
5001 } else {
5002
5003 }
5004#line 152
5005 if (power <= 1) {
5006 {
5007#line 152
5008 __cil_tmp23 = (unsigned long )lcd;
5009#line 152
5010 __cil_tmp24 = __cil_tmp23 + 264;
5011#line 152
5012 __cil_tmp25 = *((int *)__cil_tmp24);
5013#line 152
5014 if (__cil_tmp25 > 1) {
5015 {
5016#line 153
5017 ret = ili9320_power_on(lcd);
5018 }
5019 } else {
5020#line 152
5021 goto _L;
5022 }
5023 }
5024 } else
5025 _L:
5026#line 154
5027 if (power > 1) {
5028 {
5029#line 154
5030 __cil_tmp26 = (unsigned long )lcd;
5031#line 154
5032 __cil_tmp27 = __cil_tmp26 + 264;
5033#line 154
5034 __cil_tmp28 = *((int *)__cil_tmp27);
5035#line 154
5036 if (__cil_tmp28 <= 1) {
5037 {
5038#line 155
5039 ret = ili9320_power_off(lcd);
5040 }
5041 } else {
5042
5043 }
5044 }
5045 } else {
5046
5047 }
5048#line 157
5049 if (ret == 0) {
5050#line 158
5051 __cil_tmp29 = (unsigned long )lcd;
5052#line 158
5053 __cil_tmp30 = __cil_tmp29 + 264;
5054#line 158
5055 *((int *)__cil_tmp30) = power;
5056 } else {
5057 {
5058#line 160
5059 __cil_tmp31 = (unsigned long )lcd;
5060#line 160
5061 __cil_tmp32 = __cil_tmp31 + 232;
5062#line 160
5063 __cil_tmp33 = *((struct device **)__cil_tmp32);
5064#line 160
5065 __cil_tmp34 = (struct device const *)__cil_tmp33;
5066#line 160
5067 dev_warn(__cil_tmp34, "failed to set power mode %d\n", power);
5068 }
5069 }
5070#line 162
5071 return (ret);
5072}
5073}
5074#line 165 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
5075__inline static struct ili9320 *to_our_lcd(struct lcd_device *lcd )
5076{ void *tmp ;
5077
5078 {
5079 {
5080#line 167
5081 tmp = lcd_get_data(lcd);
5082 }
5083#line 167
5084 return ((struct ili9320 *)tmp);
5085}
5086}
5087#line 170 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
5088static int ili9320_set_power(struct lcd_device *ld , int power )
5089{ struct ili9320 *lcd ;
5090 struct ili9320 *tmp ;
5091 int tmp___0 ;
5092
5093 {
5094 {
5095#line 172
5096 tmp = to_our_lcd(ld);
5097#line 172
5098 lcd = tmp;
5099#line 174
5100 tmp___0 = ili9320_power(lcd, power);
5101 }
5102#line 174
5103 return (tmp___0);
5104}
5105}
5106#line 177 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
5107static int ili9320_get_power(struct lcd_device *ld )
5108{ struct ili9320 *lcd ;
5109 struct ili9320 *tmp ;
5110 unsigned long __cil_tmp4 ;
5111 unsigned long __cil_tmp5 ;
5112
5113 {
5114 {
5115#line 179
5116 tmp = to_our_lcd(ld);
5117#line 179
5118 lcd = tmp;
5119 }
5120 {
5121#line 181
5122 __cil_tmp4 = (unsigned long )lcd;
5123#line 181
5124 __cil_tmp5 = __cil_tmp4 + 264;
5125#line 181
5126 return (*((int *)__cil_tmp5));
5127 }
5128}
5129}
5130#line 184 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
5131static struct lcd_ops ili9320_ops = {& ili9320_get_power, & ili9320_set_power, (int (*)(struct lcd_device * ))0, (int (*)(struct lcd_device * ,
5132 int ))0,
5133 (int (*)(struct lcd_device * , struct fb_videomode * ))0, (int (*)(struct lcd_device * ,
5134 struct fb_info * ))0};
5135#line 189 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
5136static void ili9320_setup_spi(struct ili9320 *ili , struct spi_device *dev )
5137{ struct ili9320_spi *spi ;
5138 unsigned long __cil_tmp4 ;
5139 unsigned long __cil_tmp5 ;
5140 unsigned long __cil_tmp6 ;
5141 unsigned long __cil_tmp7 ;
5142 unsigned long __cil_tmp8 ;
5143 unsigned long __cil_tmp9 ;
5144 unsigned long __cil_tmp10 ;
5145 unsigned long __cil_tmp11 ;
5146 unsigned char (*__cil_tmp12)[4U] ;
5147 unsigned long __cil_tmp13 ;
5148 unsigned long __cil_tmp14 ;
5149 unsigned long __cil_tmp15 ;
5150 unsigned long __cil_tmp16 ;
5151 unsigned long __cil_tmp17 ;
5152 unsigned long __cil_tmp18 ;
5153 unsigned char (*__cil_tmp19)[4U] ;
5154 unsigned long __cil_tmp20 ;
5155 unsigned long __cil_tmp21 ;
5156 unsigned long __cil_tmp22 ;
5157 unsigned long __cil_tmp23 ;
5158 unsigned long __cil_tmp24 ;
5159 unsigned long __cil_tmp25 ;
5160 unsigned long __cil_tmp26 ;
5161 unsigned long __cil_tmp27 ;
5162 unsigned long __cil_tmp28 ;
5163 unsigned long __cil_tmp29 ;
5164 unsigned long __cil_tmp30 ;
5165 unsigned long __cil_tmp31 ;
5166 unsigned long __cil_tmp32 ;
5167 unsigned long __cil_tmp33 ;
5168 unsigned long __cil_tmp34 ;
5169 unsigned long __cil_tmp35 ;
5170 unsigned long __cil_tmp36 ;
5171 unsigned long __cil_tmp37 ;
5172 unsigned long __cil_tmp38 ;
5173 unsigned long __cil_tmp39 ;
5174 unsigned long __cil_tmp40 ;
5175 unsigned long __cil_tmp41 ;
5176 unsigned long __cil_tmp42 ;
5177 unsigned long __cil_tmp43 ;
5178 unsigned long __cil_tmp44 ;
5179 unsigned long __cil_tmp45 ;
5180 unsigned long __cil_tmp46 ;
5181 struct spi_message *__cil_tmp47 ;
5182 unsigned long __cil_tmp48 ;
5183 unsigned long __cil_tmp49 ;
5184 struct spi_transfer (*__cil_tmp50)[2U] ;
5185 struct spi_transfer *__cil_tmp51 ;
5186 unsigned long __cil_tmp52 ;
5187 unsigned long __cil_tmp53 ;
5188 struct spi_message *__cil_tmp54 ;
5189 unsigned long __cil_tmp55 ;
5190 unsigned long __cil_tmp56 ;
5191 struct spi_transfer (*__cil_tmp57)[2U] ;
5192 struct spi_transfer *__cil_tmp58 ;
5193 struct spi_transfer *__cil_tmp59 ;
5194 unsigned long __cil_tmp60 ;
5195 unsigned long __cil_tmp61 ;
5196 struct spi_message *__cil_tmp62 ;
5197
5198 {
5199 {
5200#line 192
5201 spi = (struct ili9320_spi *)ili;
5202#line 194
5203 __cil_tmp4 = (unsigned long )ili;
5204#line 194
5205 __cil_tmp5 = __cil_tmp4 + 280;
5206#line 194
5207 *((int (**)(struct ili9320 * , unsigned int , unsigned int ))__cil_tmp5) = & ili9320_write_spi;
5208#line 195
5209 *((struct spi_device **)spi) = dev;
5210#line 202
5211 __cil_tmp6 = 0 * 64UL;
5212#line 202
5213 __cil_tmp7 = 88 + __cil_tmp6;
5214#line 202
5215 __cil_tmp8 = (unsigned long )spi;
5216#line 202
5217 __cil_tmp9 = __cil_tmp8 + __cil_tmp7;
5218#line 202
5219 __cil_tmp10 = (unsigned long )spi;
5220#line 202
5221 __cil_tmp11 = __cil_tmp10 + 217;
5222#line 202
5223 __cil_tmp12 = (unsigned char (*)[4U])__cil_tmp11;
5224#line 202
5225 *((void const **)__cil_tmp9) = (void const *)__cil_tmp12;
5226#line 203
5227 __cil_tmp13 = 1 * 64UL;
5228#line 203
5229 __cil_tmp14 = 88 + __cil_tmp13;
5230#line 203
5231 __cil_tmp15 = (unsigned long )spi;
5232#line 203
5233 __cil_tmp16 = __cil_tmp15 + __cil_tmp14;
5234#line 203
5235 __cil_tmp17 = (unsigned long )spi;
5236#line 203
5237 __cil_tmp18 = __cil_tmp17 + 221;
5238#line 203
5239 __cil_tmp19 = (unsigned char (*)[4U])__cil_tmp18;
5240#line 203
5241 *((void const **)__cil_tmp16) = (void const *)__cil_tmp19;
5242#line 204
5243 __cil_tmp20 = 0 * 64UL;
5244#line 204
5245 __cil_tmp21 = __cil_tmp20 + 16;
5246#line 204
5247 __cil_tmp22 = 88 + __cil_tmp21;
5248#line 204
5249 __cil_tmp23 = (unsigned long )spi;
5250#line 204
5251 __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
5252#line 204
5253 *((unsigned int *)__cil_tmp24) = 3U;
5254#line 205
5255 __cil_tmp25 = 1 * 64UL;
5256#line 205
5257 __cil_tmp26 = __cil_tmp25 + 16;
5258#line 205
5259 __cil_tmp27 = 88 + __cil_tmp26;
5260#line 205
5261 __cil_tmp28 = (unsigned long )spi;
5262#line 205
5263 __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
5264#line 205
5265 *((unsigned int *)__cil_tmp29) = 3U;
5266#line 206
5267 __cil_tmp30 = 0 * 64UL;
5268#line 206
5269 __cil_tmp31 = __cil_tmp30 + 41;
5270#line 206
5271 __cil_tmp32 = 88 + __cil_tmp31;
5272#line 206
5273 __cil_tmp33 = (unsigned long )spi;
5274#line 206
5275 __cil_tmp34 = __cil_tmp33 + __cil_tmp32;
5276#line 206
5277 *((u8 *)__cil_tmp34) = (u8 )8U;
5278#line 207
5279 __cil_tmp35 = 1 * 64UL;
5280#line 207
5281 __cil_tmp36 = __cil_tmp35 + 41;
5282#line 207
5283 __cil_tmp37 = 88 + __cil_tmp36;
5284#line 207
5285 __cil_tmp38 = (unsigned long )spi;
5286#line 207
5287 __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
5288#line 207
5289 *((u8 *)__cil_tmp39) = (u8 )8U;
5290#line 208
5291 __cil_tmp40 = 0 * 64UL;
5292#line 208
5293 __cil_tmp41 = __cil_tmp40 + 40;
5294#line 208
5295 __cil_tmp42 = 88 + __cil_tmp41;
5296#line 208
5297 __cil_tmp43 = (unsigned long )spi;
5298#line 208
5299 __cil_tmp44 = __cil_tmp43 + __cil_tmp42;
5300#line 208
5301 *((unsigned char *)__cil_tmp44) = (unsigned char)1;
5302#line 210
5303 __cil_tmp45 = (unsigned long )spi;
5304#line 210
5305 __cil_tmp46 = __cil_tmp45 + 8;
5306#line 210
5307 __cil_tmp47 = (struct spi_message *)__cil_tmp46;
5308#line 210
5309 spi_message_init(__cil_tmp47);
5310#line 211
5311 __cil_tmp48 = (unsigned long )spi;
5312#line 211
5313 __cil_tmp49 = __cil_tmp48 + 88;
5314#line 211
5315 __cil_tmp50 = (struct spi_transfer (*)[2U])__cil_tmp49;
5316#line 211
5317 __cil_tmp51 = (struct spi_transfer *)__cil_tmp50;
5318#line 211
5319 __cil_tmp52 = (unsigned long )spi;
5320#line 211
5321 __cil_tmp53 = __cil_tmp52 + 8;
5322#line 211
5323 __cil_tmp54 = (struct spi_message *)__cil_tmp53;
5324#line 211
5325 spi_message_add_tail(__cil_tmp51, __cil_tmp54);
5326#line 212
5327 __cil_tmp55 = (unsigned long )spi;
5328#line 212
5329 __cil_tmp56 = __cil_tmp55 + 88;
5330#line 212
5331 __cil_tmp57 = (struct spi_transfer (*)[2U])__cil_tmp56;
5332#line 212
5333 __cil_tmp58 = (struct spi_transfer *)__cil_tmp57;
5334#line 212
5335 __cil_tmp59 = __cil_tmp58 + 1UL;
5336#line 212
5337 __cil_tmp60 = (unsigned long )spi;
5338#line 212
5339 __cil_tmp61 = __cil_tmp60 + 8;
5340#line 212
5341 __cil_tmp62 = (struct spi_message *)__cil_tmp61;
5342#line 212
5343 spi_message_add_tail(__cil_tmp59, __cil_tmp62);
5344 }
5345#line 213
5346 return;
5347}
5348}
5349#line 215 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
5350int ili9320_probe_spi(struct spi_device *spi , struct ili9320_client *client )
5351{ struct ili9320_platdata *cfg ;
5352 struct device *dev ;
5353 struct ili9320 *ili ;
5354 struct lcd_device *lcd ;
5355 int ret ;
5356 void *tmp ;
5357 long tmp___0 ;
5358 long tmp___1 ;
5359 unsigned long __cil_tmp11 ;
5360 unsigned long __cil_tmp12 ;
5361 unsigned long __cil_tmp13 ;
5362 void *__cil_tmp14 ;
5363 struct ili9320_platdata *__cil_tmp15 ;
5364 unsigned long __cil_tmp16 ;
5365 unsigned long __cil_tmp17 ;
5366 struct device const *__cil_tmp18 ;
5367 unsigned short __cil_tmp19 ;
5368 unsigned int __cil_tmp20 ;
5369 struct device const *__cil_tmp21 ;
5370 unsigned long __cil_tmp22 ;
5371 unsigned long __cil_tmp23 ;
5372 unsigned short __cil_tmp24 ;
5373 unsigned int __cil_tmp25 ;
5374 struct device const *__cil_tmp26 ;
5375 void (*__cil_tmp27)(unsigned int ) ;
5376 unsigned long __cil_tmp28 ;
5377 unsigned long __cil_tmp29 ;
5378 unsigned long __cil_tmp30 ;
5379 void (*__cil_tmp31)(unsigned int ) ;
5380 unsigned long __cil_tmp32 ;
5381 struct device const *__cil_tmp33 ;
5382 struct ili9320 *__cil_tmp34 ;
5383 unsigned long __cil_tmp35 ;
5384 unsigned long __cil_tmp36 ;
5385 struct device const *__cil_tmp37 ;
5386 unsigned long __cil_tmp38 ;
5387 unsigned long __cil_tmp39 ;
5388 unsigned long __cil_tmp40 ;
5389 unsigned long __cil_tmp41 ;
5390 unsigned long __cil_tmp42 ;
5391 unsigned long __cil_tmp43 ;
5392 unsigned long __cil_tmp44 ;
5393 unsigned long __cil_tmp45 ;
5394 unsigned long __cil_tmp46 ;
5395 unsigned long __cil_tmp47 ;
5396 unsigned long __cil_tmp48 ;
5397 unsigned long __cil_tmp49 ;
5398 struct device *__cil_tmp50 ;
5399 void *__cil_tmp51 ;
5400 void *__cil_tmp52 ;
5401 void const *__cil_tmp53 ;
5402 struct device const *__cil_tmp54 ;
5403 void const *__cil_tmp55 ;
5404 unsigned long __cil_tmp56 ;
5405 unsigned long __cil_tmp57 ;
5406 struct device const *__cil_tmp58 ;
5407 char const *__cil_tmp59 ;
5408 struct device const *__cil_tmp60 ;
5409 void const *__cil_tmp61 ;
5410
5411 {
5412#line 218
5413 __cil_tmp11 = 0 + 280;
5414#line 218
5415 __cil_tmp12 = (unsigned long )spi;
5416#line 218
5417 __cil_tmp13 = __cil_tmp12 + __cil_tmp11;
5418#line 218
5419 __cil_tmp14 = *((void **)__cil_tmp13);
5420#line 218
5421 cfg = (struct ili9320_platdata *)__cil_tmp14;
5422#line 219
5423 dev = (struct device *)spi;
5424#line 222
5425 ret = 0;
5426 {
5427#line 226
5428 __cil_tmp15 = (struct ili9320_platdata *)0;
5429#line 226
5430 __cil_tmp16 = (unsigned long )__cil_tmp15;
5431#line 226
5432 __cil_tmp17 = (unsigned long )cfg;
5433#line 226
5434 if (__cil_tmp17 == __cil_tmp16) {
5435 {
5436#line 227
5437 __cil_tmp18 = (struct device const *)dev;
5438#line 227
5439 dev_err(__cil_tmp18, "no platform data supplied\n");
5440 }
5441#line 228
5442 return (-22);
5443 } else {
5444
5445 }
5446 }
5447 {
5448#line 231
5449 __cil_tmp19 = *((unsigned short *)cfg);
5450#line 231
5451 __cil_tmp20 = (unsigned int )__cil_tmp19;
5452#line 231
5453 if (__cil_tmp20 == 0U) {
5454 {
5455#line 232
5456 __cil_tmp21 = (struct device const *)dev;
5457#line 232
5458 dev_err(__cil_tmp21, "invalid platform data supplied\n");
5459 }
5460#line 233
5461 return (-22);
5462 } else {
5463 {
5464#line 231
5465 __cil_tmp22 = (unsigned long )cfg;
5466#line 231
5467 __cil_tmp23 = __cil_tmp22 + 2;
5468#line 231
5469 __cil_tmp24 = *((unsigned short *)__cil_tmp23);
5470#line 231
5471 __cil_tmp25 = (unsigned int )__cil_tmp24;
5472#line 231
5473 if (__cil_tmp25 == 0U) {
5474 {
5475#line 232
5476 __cil_tmp26 = (struct device const *)dev;
5477#line 232
5478 dev_err(__cil_tmp26, "invalid platform data supplied\n");
5479 }
5480#line 233
5481 return (-22);
5482 } else {
5483 {
5484#line 231
5485 __cil_tmp27 = (void (*)(unsigned int ))0;
5486#line 231
5487 __cil_tmp28 = (unsigned long )__cil_tmp27;
5488#line 231
5489 __cil_tmp29 = (unsigned long )cfg;
5490#line 231
5491 __cil_tmp30 = __cil_tmp29 + 8;
5492#line 231
5493 __cil_tmp31 = *((void (**)(unsigned int ))__cil_tmp30);
5494#line 231
5495 __cil_tmp32 = (unsigned long )__cil_tmp31;
5496#line 231
5497 if (__cil_tmp32 == __cil_tmp28) {
5498 {
5499#line 232
5500 __cil_tmp33 = (struct device const *)dev;
5501#line 232
5502 dev_err(__cil_tmp33, "invalid platform data supplied\n");
5503 }
5504#line 233
5505 return (-22);
5506 } else {
5507
5508 }
5509 }
5510 }
5511 }
5512 }
5513 }
5514 {
5515#line 238
5516 tmp = kzalloc(288UL, 208U);
5517#line 238
5518 ili = (struct ili9320 *)tmp;
5519 }
5520 {
5521#line 239
5522 __cil_tmp34 = (struct ili9320 *)0;
5523#line 239
5524 __cil_tmp35 = (unsigned long )__cil_tmp34;
5525#line 239
5526 __cil_tmp36 = (unsigned long )ili;
5527#line 239
5528 if (__cil_tmp36 == __cil_tmp35) {
5529 {
5530#line 240
5531 __cil_tmp37 = (struct device const *)dev;
5532#line 240
5533 dev_err(__cil_tmp37, "no memory for device\n");
5534 }
5535#line 241
5536 return (-12);
5537 } else {
5538
5539 }
5540 }
5541 {
5542#line 244
5543 __cil_tmp38 = 0 + 216;
5544#line 244
5545 __cil_tmp39 = 0 + __cil_tmp38;
5546#line 244
5547 __cil_tmp40 = (unsigned long )ili;
5548#line 244
5549 __cil_tmp41 = __cil_tmp40 + __cil_tmp39;
5550#line 244
5551 *((unsigned char *)__cil_tmp41) = (unsigned char)116;
5552#line 246
5553 __cil_tmp42 = (unsigned long )ili;
5554#line 246
5555 __cil_tmp43 = __cil_tmp42 + 232;
5556#line 246
5557 *((struct device **)__cil_tmp43) = dev;
5558#line 247
5559 __cil_tmp44 = (unsigned long )ili;
5560#line 247
5561 __cil_tmp45 = __cil_tmp44 + 248;
5562#line 247
5563 *((struct ili9320_client **)__cil_tmp45) = client;
5564#line 248
5565 __cil_tmp46 = (unsigned long )ili;
5566#line 248
5567 __cil_tmp47 = __cil_tmp46 + 264;
5568#line 248
5569 *((int *)__cil_tmp47) = 4;
5570#line 249
5571 __cil_tmp48 = (unsigned long )ili;
5572#line 249
5573 __cil_tmp49 = __cil_tmp48 + 256;
5574#line 249
5575 *((struct ili9320_platdata **)__cil_tmp49) = cfg;
5576#line 251
5577 __cil_tmp50 = (struct device *)spi;
5578#line 251
5579 __cil_tmp51 = (void *)ili;
5580#line 251
5581 dev_set_drvdata(__cil_tmp50, __cil_tmp51);
5582#line 253
5583 ili9320_setup_spi(ili, spi);
5584#line 255
5585 __cil_tmp52 = (void *)ili;
5586#line 255
5587 lcd = lcd_device_register("ili9320", dev, __cil_tmp52, & ili9320_ops);
5588#line 256
5589 __cil_tmp53 = (void const *)lcd;
5590#line 256
5591 tmp___1 = IS_ERR(__cil_tmp53);
5592 }
5593#line 256
5594 if (tmp___1 != 0L) {
5595 {
5596#line 257
5597 __cil_tmp54 = (struct device const *)dev;
5598#line 257
5599 dev_err(__cil_tmp54, "failed to register lcd device\n");
5600#line 258
5601 __cil_tmp55 = (void const *)lcd;
5602#line 258
5603 tmp___0 = PTR_ERR(__cil_tmp55);
5604#line 258
5605 ret = (int )tmp___0;
5606 }
5607#line 259
5608 goto err_free;
5609 } else {
5610
5611 }
5612 {
5613#line 262
5614 __cil_tmp56 = (unsigned long )ili;
5615#line 262
5616 __cil_tmp57 = __cil_tmp56 + 240;
5617#line 262
5618 *((struct lcd_device **)__cil_tmp57) = lcd;
5619#line 264
5620 __cil_tmp58 = (struct device const *)dev;
5621#line 264
5622 __cil_tmp59 = *((char const **)client);
5623#line 264
5624 _dev_info(__cil_tmp58, "initialising %s\n", __cil_tmp59);
5625#line 266
5626 ret = ili9320_power(ili, 0);
5627 }
5628#line 267
5629 if (ret != 0) {
5630 {
5631#line 268
5632 __cil_tmp60 = (struct device const *)dev;
5633#line 268
5634 dev_err(__cil_tmp60, "failed to set lcd power state\n");
5635 }
5636#line 269
5637 goto err_unregister;
5638 } else {
5639
5640 }
5641#line 272
5642 return (0);
5643 err_unregister:
5644 {
5645#line 275
5646 lcd_device_unregister(lcd);
5647 }
5648 err_free:
5649 {
5650#line 278
5651 __cil_tmp61 = (void const *)ili;
5652#line 278
5653 kfree(__cil_tmp61);
5654 }
5655#line 280
5656 return (ret);
5657}
5658}
5659#line 285 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
5660int ili9320_remove(struct ili9320 *ili )
5661{ unsigned long __cil_tmp2 ;
5662 unsigned long __cil_tmp3 ;
5663 struct lcd_device *__cil_tmp4 ;
5664 void const *__cil_tmp5 ;
5665
5666 {
5667 {
5668#line 287
5669 ili9320_power(ili, 4);
5670#line 289
5671 __cil_tmp2 = (unsigned long )ili;
5672#line 289
5673 __cil_tmp3 = __cil_tmp2 + 240;
5674#line 289
5675 __cil_tmp4 = *((struct lcd_device **)__cil_tmp3);
5676#line 289
5677 lcd_device_unregister(__cil_tmp4);
5678#line 290
5679 __cil_tmp5 = (void const *)ili;
5680#line 290
5681 kfree(__cil_tmp5);
5682 }
5683#line 292
5684 return (0);
5685}
5686}
5687#line 298 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
5688int ili9320_suspend(struct ili9320 *lcd , int state_event34 )
5689{ int ret ;
5690 struct _ddebug descriptor ;
5691 long tmp ;
5692 struct _ddebug *__cil_tmp6 ;
5693 unsigned long __cil_tmp7 ;
5694 unsigned long __cil_tmp8 ;
5695 unsigned long __cil_tmp9 ;
5696 unsigned long __cil_tmp10 ;
5697 unsigned long __cil_tmp11 ;
5698 unsigned long __cil_tmp12 ;
5699 unsigned char __cil_tmp13 ;
5700 long __cil_tmp14 ;
5701 long __cil_tmp15 ;
5702 unsigned long __cil_tmp16 ;
5703 unsigned long __cil_tmp17 ;
5704 struct device *__cil_tmp18 ;
5705 struct device const *__cil_tmp19 ;
5706 unsigned long __cil_tmp20 ;
5707 unsigned long __cil_tmp21 ;
5708 struct ili9320_platdata *__cil_tmp22 ;
5709 unsigned long __cil_tmp23 ;
5710 unsigned long __cil_tmp24 ;
5711 enum ili9320_suspend __cil_tmp25 ;
5712 unsigned int __cil_tmp26 ;
5713 unsigned long __cil_tmp27 ;
5714 unsigned long __cil_tmp28 ;
5715 unsigned short __cil_tmp29 ;
5716 unsigned int __cil_tmp30 ;
5717 unsigned int __cil_tmp31 ;
5718 unsigned long __cil_tmp32 ;
5719 unsigned long __cil_tmp33 ;
5720
5721 {
5722 {
5723#line 302
5724 __cil_tmp6 = & descriptor;
5725#line 302
5726 *((char const **)__cil_tmp6) = "ili9320";
5727#line 302
5728 __cil_tmp7 = (unsigned long )(& descriptor) + 8;
5729#line 302
5730 *((char const **)__cil_tmp7) = "ili9320_suspend";
5731#line 302
5732 __cil_tmp8 = (unsigned long )(& descriptor) + 16;
5733#line 302
5734 *((char const **)__cil_tmp8) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p";
5735#line 302
5736 __cil_tmp9 = (unsigned long )(& descriptor) + 24;
5737#line 302
5738 *((char const **)__cil_tmp9) = "%s: event %d\n";
5739#line 302
5740 __cil_tmp10 = (unsigned long )(& descriptor) + 32;
5741#line 302
5742 *((unsigned int *)__cil_tmp10) = 302U;
5743#line 302
5744 __cil_tmp11 = (unsigned long )(& descriptor) + 35;
5745#line 302
5746 *((unsigned char *)__cil_tmp11) = (unsigned char)0;
5747#line 302
5748 __cil_tmp12 = (unsigned long )(& descriptor) + 35;
5749#line 302
5750 __cil_tmp13 = *((unsigned char *)__cil_tmp12);
5751#line 302
5752 __cil_tmp14 = (long )__cil_tmp13;
5753#line 302
5754 __cil_tmp15 = __cil_tmp14 & 1L;
5755#line 302
5756 tmp = __builtin_expect(__cil_tmp15, 0L);
5757 }
5758#line 302
5759 if (tmp != 0L) {
5760 {
5761#line 302
5762 __cil_tmp16 = (unsigned long )lcd;
5763#line 302
5764 __cil_tmp17 = __cil_tmp16 + 232;
5765#line 302
5766 __cil_tmp18 = *((struct device **)__cil_tmp17);
5767#line 302
5768 __cil_tmp19 = (struct device const *)__cil_tmp18;
5769#line 302
5770 __dynamic_dev_dbg(& descriptor, __cil_tmp19, "%s: event %d\n", "ili9320_suspend",
5771 state_event34);
5772 }
5773 } else {
5774
5775 }
5776#line 304
5777 if (state_event34 == 2) {
5778 {
5779#line 305
5780 ret = ili9320_power(lcd, 4);
5781 }
5782 {
5783#line 307
5784 __cil_tmp20 = (unsigned long )lcd;
5785#line 307
5786 __cil_tmp21 = __cil_tmp20 + 256;
5787#line 307
5788 __cil_tmp22 = *((struct ili9320_platdata **)__cil_tmp21);
5789#line 307
5790 __cil_tmp23 = (unsigned long )__cil_tmp22;
5791#line 307
5792 __cil_tmp24 = __cil_tmp23 + 4;
5793#line 307
5794 __cil_tmp25 = *((enum ili9320_suspend *)__cil_tmp24);
5795#line 307
5796 __cil_tmp26 = (unsigned int )__cil_tmp25;
5797#line 307
5798 if (__cil_tmp26 == 1U) {
5799 {
5800#line 308
5801 __cil_tmp27 = (unsigned long )lcd;
5802#line 308
5803 __cil_tmp28 = __cil_tmp27 + 274;
5804#line 308
5805 __cil_tmp29 = *((unsigned short *)__cil_tmp28);
5806#line 308
5807 __cil_tmp30 = (unsigned int )__cil_tmp29;
5808#line 308
5809 __cil_tmp31 = __cil_tmp30 | 6U;
5810#line 308
5811 ili9320_write(lcd, 16U, __cil_tmp31);
5812#line 311
5813 __cil_tmp32 = (unsigned long )lcd;
5814#line 311
5815 __cil_tmp33 = __cil_tmp32 + 268;
5816#line 311
5817 *((int *)__cil_tmp33) = 0;
5818 }
5819 } else {
5820
5821 }
5822 }
5823#line 314
5824 return (ret);
5825 } else {
5826
5827 }
5828#line 317
5829 return (0);
5830}
5831}
5832#line 322 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
5833int ili9320_resume(struct ili9320 *lcd )
5834{ int tmp ;
5835 unsigned long __cil_tmp3 ;
5836 unsigned long __cil_tmp4 ;
5837 struct device *__cil_tmp5 ;
5838 struct device const *__cil_tmp6 ;
5839 unsigned long __cil_tmp7 ;
5840 unsigned long __cil_tmp8 ;
5841 int __cil_tmp9 ;
5842 unsigned long __cil_tmp10 ;
5843 unsigned long __cil_tmp11 ;
5844 struct ili9320_platdata *__cil_tmp12 ;
5845 unsigned long __cil_tmp13 ;
5846 unsigned long __cil_tmp14 ;
5847 enum ili9320_suspend __cil_tmp15 ;
5848 unsigned int __cil_tmp16 ;
5849
5850 {
5851 {
5852#line 324
5853 __cil_tmp3 = (unsigned long )lcd;
5854#line 324
5855 __cil_tmp4 = __cil_tmp3 + 232;
5856#line 324
5857 __cil_tmp5 = *((struct device **)__cil_tmp4);
5858#line 324
5859 __cil_tmp6 = (struct device const *)__cil_tmp5;
5860#line 324
5861 __cil_tmp7 = (unsigned long )lcd;
5862#line 324
5863 __cil_tmp8 = __cil_tmp7 + 264;
5864#line 324
5865 __cil_tmp9 = *((int *)__cil_tmp8);
5866#line 324
5867 _dev_info(__cil_tmp6, "resuming from power state %d\n", __cil_tmp9);
5868 }
5869 {
5870#line 326
5871 __cil_tmp10 = (unsigned long )lcd;
5872#line 326
5873 __cil_tmp11 = __cil_tmp10 + 256;
5874#line 326
5875 __cil_tmp12 = *((struct ili9320_platdata **)__cil_tmp11);
5876#line 326
5877 __cil_tmp13 = (unsigned long )__cil_tmp12;
5878#line 326
5879 __cil_tmp14 = __cil_tmp13 + 4;
5880#line 326
5881 __cil_tmp15 = *((enum ili9320_suspend *)__cil_tmp14);
5882#line 326
5883 __cil_tmp16 = (unsigned int )__cil_tmp15;
5884#line 326
5885 if (__cil_tmp16 == 1U) {
5886 {
5887#line 327
5888 ili9320_write(lcd, 16U, 0U);
5889 }
5890 } else {
5891
5892 }
5893 }
5894 {
5895#line 330
5896 tmp = ili9320_power(lcd, 0);
5897 }
5898#line 330
5899 return (tmp);
5900}
5901}
5902#line 337 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
5903void ili9320_shutdown(struct ili9320 *lcd )
5904{
5905
5906 {
5907 {
5908#line 339
5909 ili9320_power(lcd, 4);
5910 }
5911#line 340
5912 return;
5913}
5914}
5915#line 364
5916extern void ldv_check_final_state(void) ;
5917#line 370
5918extern void ldv_initialize(void) ;
5919#line 373
5920extern int __VERIFIER_nondet_int(void) ;
5921#line 376 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
5922int LDV_IN_INTERRUPT ;
5923#line 379 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
5924void main(void)
5925{ struct lcd_device *var_group1 ;
5926 int var_ili9320_set_power_9_p1 ;
5927 int tmp ;
5928 int tmp___0 ;
5929
5930 {
5931 {
5932#line 413
5933 LDV_IN_INTERRUPT = 1;
5934#line 422
5935 ldv_initialize();
5936 }
5937#line 426
5938 goto ldv_26218;
5939 ldv_26217:
5940 {
5941#line 429
5942 tmp = __VERIFIER_nondet_int();
5943 }
5944#line 431
5945 if (tmp == 0) {
5946#line 431
5947 goto case_0;
5948 } else
5949#line 453
5950 if (tmp == 1) {
5951#line 453
5952 goto case_1;
5953 } else {
5954 {
5955#line 475
5956 goto switch_default;
5957#line 429
5958 if (0) {
5959 case_0:
5960 {
5961#line 441
5962 ili9320_get_power(var_group1);
5963 }
5964#line 452
5965 goto ldv_26214;
5966 case_1:
5967 {
5968#line 463
5969 ili9320_set_power(var_group1, var_ili9320_set_power_9_p1);
5970 }
5971#line 474
5972 goto ldv_26214;
5973 switch_default: ;
5974#line 475
5975 goto ldv_26214;
5976 } else {
5977 switch_break: ;
5978 }
5979 }
5980 }
5981 ldv_26214: ;
5982 ldv_26218:
5983 {
5984#line 426
5985 tmp___0 = __VERIFIER_nondet_int();
5986 }
5987#line 426
5988 if (tmp___0 != 0) {
5989#line 427
5990 goto ldv_26217;
5991 } else {
5992#line 429
5993 goto ldv_26219;
5994 }
5995 ldv_26219: ;
5996
5997 {
5998#line 484
5999 ldv_check_final_state();
6000 }
6001#line 487
6002 return;
6003}
6004}
6005#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast-assert.h"
6006void ldv_blast_assert(void)
6007{
6008
6009 {
6010 ERROR: ;
6011#line 6
6012 goto ERROR;
6013}
6014}
6015#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast.h"
6016extern int __VERIFIER_nondet_int(void) ;
6017#line 508 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
6018int ldv_spin = 0;
6019#line 512 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
6020void ldv_check_alloc_flags(gfp_t flags )
6021{
6022
6023 {
6024#line 515
6025 if (ldv_spin != 0) {
6026#line 515
6027 if (flags != 32U) {
6028 {
6029#line 515
6030 ldv_blast_assert();
6031 }
6032 } else {
6033
6034 }
6035 } else {
6036
6037 }
6038#line 518
6039 return;
6040}
6041}
6042#line 518
6043extern struct page *ldv_some_page(void) ;
6044#line 521 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
6045struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags )
6046{ struct page *tmp ;
6047
6048 {
6049#line 524
6050 if (ldv_spin != 0) {
6051#line 524
6052 if (flags != 32U) {
6053 {
6054#line 524
6055 ldv_blast_assert();
6056 }
6057 } else {
6058
6059 }
6060 } else {
6061
6062 }
6063 {
6064#line 526
6065 tmp = ldv_some_page();
6066 }
6067#line 526
6068 return (tmp);
6069}
6070}
6071#line 530 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
6072void ldv_check_alloc_nonatomic(void)
6073{
6074
6075 {
6076#line 533
6077 if (ldv_spin != 0) {
6078 {
6079#line 533
6080 ldv_blast_assert();
6081 }
6082 } else {
6083
6084 }
6085#line 536
6086 return;
6087}
6088}
6089#line 537 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
6090void ldv_spin_lock(void)
6091{
6092
6093 {
6094#line 540
6095 ldv_spin = 1;
6096#line 541
6097 return;
6098}
6099}
6100#line 544 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
6101void ldv_spin_unlock(void)
6102{
6103
6104 {
6105#line 547
6106 ldv_spin = 0;
6107#line 548
6108 return;
6109}
6110}
6111#line 551 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
6112int ldv_spin_trylock(void)
6113{ int is_lock ;
6114
6115 {
6116 {
6117#line 556
6118 is_lock = __VERIFIER_nondet_int();
6119 }
6120#line 558
6121 if (is_lock != 0) {
6122#line 561
6123 return (0);
6124 } else {
6125#line 566
6126 ldv_spin = 1;
6127#line 568
6128 return (1);
6129 }
6130}
6131}
6132#line 735 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
6133void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 )
6134{
6135
6136 {
6137 {
6138#line 741
6139 ldv_check_alloc_flags(ldv_func_arg2);
6140#line 743
6141 kmem_cache_alloc(ldv_func_arg1, ldv_func_arg2);
6142 }
6143#line 744
6144 return ((void *)0);
6145}
6146}
6147#line 746 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/1328/dscv_tempdir/dscv/ri/43_1a/drivers/video/backlight/ili9320.c.p"
6148__inline static void *kzalloc(size_t size , gfp_t flags )
6149{ void *tmp ;
6150
6151 {
6152 {
6153#line 752
6154 ldv_check_alloc_flags(flags);
6155#line 753
6156 tmp = __VERIFIER_nondet_pointer();
6157 }
6158#line 753
6159 return (tmp);
6160}
6161}