1
2
3
4#line 23 "include/asm-generic/int-ll64.h"
5typedef unsigned short __u16;
6#line 25 "include/asm-generic/int-ll64.h"
7typedef int __s32;
8#line 26 "include/asm-generic/int-ll64.h"
9typedef unsigned int __u32;
10#line 30 "include/asm-generic/int-ll64.h"
11typedef unsigned long long __u64;
12#line 43 "include/asm-generic/int-ll64.h"
13typedef unsigned char u8;
14#line 45 "include/asm-generic/int-ll64.h"
15typedef short s16;
16#line 46 "include/asm-generic/int-ll64.h"
17typedef unsigned short u16;
18#line 49 "include/asm-generic/int-ll64.h"
19typedef unsigned int u32;
20#line 51 "include/asm-generic/int-ll64.h"
21typedef long long s64;
22#line 52 "include/asm-generic/int-ll64.h"
23typedef unsigned long long u64;
24#line 14 "include/asm-generic/posix_types.h"
25typedef long __kernel_long_t;
26#line 15 "include/asm-generic/posix_types.h"
27typedef unsigned long __kernel_ulong_t;
28#line 31 "include/asm-generic/posix_types.h"
29typedef int __kernel_pid_t;
30#line 52 "include/asm-generic/posix_types.h"
31typedef unsigned int __kernel_uid32_t;
32#line 53 "include/asm-generic/posix_types.h"
33typedef unsigned int __kernel_gid32_t;
34#line 75 "include/asm-generic/posix_types.h"
35typedef __kernel_ulong_t __kernel_size_t;
36#line 76 "include/asm-generic/posix_types.h"
37typedef __kernel_long_t __kernel_ssize_t;
38#line 91 "include/asm-generic/posix_types.h"
39typedef long long __kernel_loff_t;
40#line 92 "include/asm-generic/posix_types.h"
41typedef __kernel_long_t __kernel_time_t;
42#line 93 "include/asm-generic/posix_types.h"
43typedef __kernel_long_t __kernel_clock_t;
44#line 94 "include/asm-generic/posix_types.h"
45typedef int __kernel_timer_t;
46#line 95 "include/asm-generic/posix_types.h"
47typedef int __kernel_clockid_t;
48#line 21 "include/linux/types.h"
49typedef __u32 __kernel_dev_t;
50#line 24 "include/linux/types.h"
51typedef __kernel_dev_t dev_t;
52#line 27 "include/linux/types.h"
53typedef unsigned short umode_t;
54#line 30 "include/linux/types.h"
55typedef __kernel_pid_t pid_t;
56#line 35 "include/linux/types.h"
57typedef __kernel_clockid_t clockid_t;
58#line 38 "include/linux/types.h"
59typedef _Bool bool;
60#line 40 "include/linux/types.h"
61typedef __kernel_uid32_t uid_t;
62#line 41 "include/linux/types.h"
63typedef __kernel_gid32_t gid_t;
64#line 54 "include/linux/types.h"
65typedef __kernel_loff_t loff_t;
66#line 63 "include/linux/types.h"
67typedef __kernel_size_t size_t;
68#line 68 "include/linux/types.h"
69typedef __kernel_ssize_t ssize_t;
70#line 78 "include/linux/types.h"
71typedef __kernel_time_t time_t;
72#line 111 "include/linux/types.h"
73typedef __s32 int32_t;
74#line 117 "include/linux/types.h"
75typedef __u32 uint32_t;
76#line 155 "include/linux/types.h"
77typedef u64 dma_addr_t;
78#line 202 "include/linux/types.h"
79typedef unsigned int gfp_t;
80#line 221 "include/linux/types.h"
81struct __anonstruct_atomic_t_6 {
82 int counter ;
83};
84#line 221 "include/linux/types.h"
85typedef struct __anonstruct_atomic_t_6 atomic_t;
86#line 226 "include/linux/types.h"
87struct __anonstruct_atomic64_t_7 {
88 long counter ;
89};
90#line 226 "include/linux/types.h"
91typedef struct __anonstruct_atomic64_t_7 atomic64_t;
92#line 227 "include/linux/types.h"
93struct list_head {
94 struct list_head *next ;
95 struct list_head *prev ;
96};
97#line 232
98struct hlist_node;
99#line 232 "include/linux/types.h"
100struct hlist_head {
101 struct hlist_node *first ;
102};
103#line 236 "include/linux/types.h"
104struct hlist_node {
105 struct hlist_node *next ;
106 struct hlist_node **pprev ;
107};
108#line 247 "include/linux/types.h"
109struct rcu_head {
110 struct rcu_head *next ;
111 void (*func)(struct rcu_head * ) ;
112};
113#line 55 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
114struct module;
115#line 55
116struct module;
117#line 146 "include/linux/init.h"
118typedef void (*ctor_fn_t)(void);
119#line 305 "include/linux/printk.h"
120struct _ddebug {
121 char const *modname ;
122 char const *function ;
123 char const *filename ;
124 char const *format ;
125 unsigned int lineno : 18 ;
126 unsigned char flags ;
127};
128#line 46 "include/linux/dynamic_debug.h"
129struct device;
130#line 46
131struct device;
132#line 57
133struct completion;
134#line 57
135struct completion;
136#line 58
137struct pt_regs;
138#line 58
139struct pt_regs;
140#line 348 "include/linux/kernel.h"
141struct pid;
142#line 348
143struct pid;
144#line 112 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/stat.h"
145struct timespec;
146#line 112
147struct timespec;
148#line 58 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page_types.h"
149struct page;
150#line 58
151struct page;
152#line 26 "include/asm-generic/getorder.h"
153struct task_struct;
154#line 26
155struct task_struct;
156#line 28
157struct mm_struct;
158#line 28
159struct mm_struct;
160#line 268 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/segment.h"
161struct pt_regs {
162 unsigned long r15 ;
163 unsigned long r14 ;
164 unsigned long r13 ;
165 unsigned long r12 ;
166 unsigned long bp ;
167 unsigned long bx ;
168 unsigned long r11 ;
169 unsigned long r10 ;
170 unsigned long r9 ;
171 unsigned long r8 ;
172 unsigned long ax ;
173 unsigned long cx ;
174 unsigned long dx ;
175 unsigned long si ;
176 unsigned long di ;
177 unsigned long orig_ax ;
178 unsigned long ip ;
179 unsigned long cs ;
180 unsigned long flags ;
181 unsigned long sp ;
182 unsigned long ss ;
183};
184#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
185struct __anonstruct_ldv_2180_13 {
186 unsigned int a ;
187 unsigned int b ;
188};
189#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
190struct __anonstruct_ldv_2195_14 {
191 u16 limit0 ;
192 u16 base0 ;
193 unsigned char base1 ;
194 unsigned char type : 4 ;
195 unsigned char s : 1 ;
196 unsigned char dpl : 2 ;
197 unsigned char p : 1 ;
198 unsigned char limit : 4 ;
199 unsigned char avl : 1 ;
200 unsigned char l : 1 ;
201 unsigned char d : 1 ;
202 unsigned char g : 1 ;
203 unsigned char base2 ;
204};
205#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
206union __anonunion_ldv_2196_12 {
207 struct __anonstruct_ldv_2180_13 ldv_2180 ;
208 struct __anonstruct_ldv_2195_14 ldv_2195 ;
209};
210#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
211struct desc_struct {
212 union __anonunion_ldv_2196_12 ldv_2196 ;
213};
214#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
215typedef unsigned long pgdval_t;
216#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
217typedef unsigned long pgprotval_t;
218#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
219struct pgprot {
220 pgprotval_t pgprot ;
221};
222#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
223typedef struct pgprot pgprot_t;
224#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
225struct __anonstruct_pgd_t_16 {
226 pgdval_t pgd ;
227};
228#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
229typedef struct __anonstruct_pgd_t_16 pgd_t;
230#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
231typedef struct page *pgtable_t;
232#line 290
233struct file;
234#line 290
235struct file;
236#line 337
237struct thread_struct;
238#line 337
239struct thread_struct;
240#line 339
241struct cpumask;
242#line 339
243struct cpumask;
244#line 327 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
245struct arch_spinlock;
246#line 327
247struct arch_spinlock;
248#line 300 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
249struct kernel_vm86_regs {
250 struct pt_regs pt ;
251 unsigned short es ;
252 unsigned short __esh ;
253 unsigned short ds ;
254 unsigned short __dsh ;
255 unsigned short fs ;
256 unsigned short __fsh ;
257 unsigned short gs ;
258 unsigned short __gsh ;
259};
260#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
261union __anonunion_ldv_2824_19 {
262 struct pt_regs *regs ;
263 struct kernel_vm86_regs *vm86 ;
264};
265#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
266struct math_emu_info {
267 long ___orig_eip ;
268 union __anonunion_ldv_2824_19 ldv_2824 ;
269};
270#line 306 "include/linux/bitmap.h"
271struct bug_entry {
272 int bug_addr_disp ;
273 int file_disp ;
274 unsigned short line ;
275 unsigned short flags ;
276};
277#line 89 "include/linux/bug.h"
278struct cpumask {
279 unsigned long bits[64U] ;
280};
281#line 14 "include/linux/cpumask.h"
282typedef struct cpumask cpumask_t;
283#line 637 "include/linux/cpumask.h"
284typedef struct cpumask *cpumask_var_t;
285#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
286struct static_key;
287#line 234
288struct static_key;
289#line 287 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
290struct i387_fsave_struct {
291 u32 cwd ;
292 u32 swd ;
293 u32 twd ;
294 u32 fip ;
295 u32 fcs ;
296 u32 foo ;
297 u32 fos ;
298 u32 st_space[20U] ;
299 u32 status ;
300};
301#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
302struct __anonstruct_ldv_5180_24 {
303 u64 rip ;
304 u64 rdp ;
305};
306#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
307struct __anonstruct_ldv_5186_25 {
308 u32 fip ;
309 u32 fcs ;
310 u32 foo ;
311 u32 fos ;
312};
313#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
314union __anonunion_ldv_5187_23 {
315 struct __anonstruct_ldv_5180_24 ldv_5180 ;
316 struct __anonstruct_ldv_5186_25 ldv_5186 ;
317};
318#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
319union __anonunion_ldv_5196_26 {
320 u32 padding1[12U] ;
321 u32 sw_reserved[12U] ;
322};
323#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
324struct i387_fxsave_struct {
325 u16 cwd ;
326 u16 swd ;
327 u16 twd ;
328 u16 fop ;
329 union __anonunion_ldv_5187_23 ldv_5187 ;
330 u32 mxcsr ;
331 u32 mxcsr_mask ;
332 u32 st_space[32U] ;
333 u32 xmm_space[64U] ;
334 u32 padding[12U] ;
335 union __anonunion_ldv_5196_26 ldv_5196 ;
336};
337#line 339 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
338struct i387_soft_struct {
339 u32 cwd ;
340 u32 swd ;
341 u32 twd ;
342 u32 fip ;
343 u32 fcs ;
344 u32 foo ;
345 u32 fos ;
346 u32 st_space[20U] ;
347 u8 ftop ;
348 u8 changed ;
349 u8 lookahead ;
350 u8 no_update ;
351 u8 rm ;
352 u8 alimit ;
353 struct math_emu_info *info ;
354 u32 entry_eip ;
355};
356#line 360 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
357struct ymmh_struct {
358 u32 ymmh_space[64U] ;
359};
360#line 365 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
361struct xsave_hdr_struct {
362 u64 xstate_bv ;
363 u64 reserved1[2U] ;
364 u64 reserved2[5U] ;
365};
366#line 371 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
367struct xsave_struct {
368 struct i387_fxsave_struct i387 ;
369 struct xsave_hdr_struct xsave_hdr ;
370 struct ymmh_struct ymmh ;
371};
372#line 377 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
373union thread_xstate {
374 struct i387_fsave_struct fsave ;
375 struct i387_fxsave_struct fxsave ;
376 struct i387_soft_struct soft ;
377 struct xsave_struct xsave ;
378};
379#line 385 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
380struct fpu {
381 unsigned int last_cpu ;
382 unsigned int has_fpu ;
383 union thread_xstate *state ;
384};
385#line 433
386struct kmem_cache;
387#line 434
388struct perf_event;
389#line 434
390struct perf_event;
391#line 435 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
392struct thread_struct {
393 struct desc_struct tls_array[3U] ;
394 unsigned long sp0 ;
395 unsigned long sp ;
396 unsigned long usersp ;
397 unsigned short es ;
398 unsigned short ds ;
399 unsigned short fsindex ;
400 unsigned short gsindex ;
401 unsigned long fs ;
402 unsigned long gs ;
403 struct perf_event *ptrace_bps[4U] ;
404 unsigned long debugreg6 ;
405 unsigned long ptrace_dr7 ;
406 unsigned long cr2 ;
407 unsigned long trap_nr ;
408 unsigned long error_code ;
409 struct fpu fpu ;
410 unsigned long *io_bitmap_ptr ;
411 unsigned long iopl ;
412 unsigned int io_bitmap_max ;
413};
414#line 23 "include/asm-generic/atomic-long.h"
415typedef atomic64_t atomic_long_t;
416#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
417typedef u16 __ticket_t;
418#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
419typedef u32 __ticketpair_t;
420#line 16 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
421struct __raw_tickets {
422 __ticket_t head ;
423 __ticket_t tail ;
424};
425#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
426union __anonunion_ldv_5907_29 {
427 __ticketpair_t head_tail ;
428 struct __raw_tickets tickets ;
429};
430#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
431struct arch_spinlock {
432 union __anonunion_ldv_5907_29 ldv_5907 ;
433};
434#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
435typedef struct arch_spinlock arch_spinlock_t;
436#line 34 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
437struct lockdep_map;
438#line 34
439struct lockdep_map;
440#line 55 "include/linux/debug_locks.h"
441struct stack_trace {
442 unsigned int nr_entries ;
443 unsigned int max_entries ;
444 unsigned long *entries ;
445 int skip ;
446};
447#line 26 "include/linux/stacktrace.h"
448struct lockdep_subclass_key {
449 char __one_byte ;
450};
451#line 53 "include/linux/lockdep.h"
452struct lock_class_key {
453 struct lockdep_subclass_key subkeys[8U] ;
454};
455#line 59 "include/linux/lockdep.h"
456struct lock_class {
457 struct list_head hash_entry ;
458 struct list_head lock_entry ;
459 struct lockdep_subclass_key *key ;
460 unsigned int subclass ;
461 unsigned int dep_gen_id ;
462 unsigned long usage_mask ;
463 struct stack_trace usage_traces[13U] ;
464 struct list_head locks_after ;
465 struct list_head locks_before ;
466 unsigned int version ;
467 unsigned long ops ;
468 char const *name ;
469 int name_version ;
470 unsigned long contention_point[4U] ;
471 unsigned long contending_point[4U] ;
472};
473#line 144 "include/linux/lockdep.h"
474struct lockdep_map {
475 struct lock_class_key *key ;
476 struct lock_class *class_cache[2U] ;
477 char const *name ;
478 int cpu ;
479 unsigned long ip ;
480};
481#line 187 "include/linux/lockdep.h"
482struct held_lock {
483 u64 prev_chain_key ;
484 unsigned long acquire_ip ;
485 struct lockdep_map *instance ;
486 struct lockdep_map *nest_lock ;
487 u64 waittime_stamp ;
488 u64 holdtime_stamp ;
489 unsigned short class_idx : 13 ;
490 unsigned char irq_context : 2 ;
491 unsigned char trylock : 1 ;
492 unsigned char read : 2 ;
493 unsigned char check : 2 ;
494 unsigned char hardirqs_off : 1 ;
495 unsigned short references : 11 ;
496};
497#line 556 "include/linux/lockdep.h"
498struct raw_spinlock {
499 arch_spinlock_t raw_lock ;
500 unsigned int magic ;
501 unsigned int owner_cpu ;
502 void *owner ;
503 struct lockdep_map dep_map ;
504};
505#line 32 "include/linux/spinlock_types.h"
506typedef struct raw_spinlock raw_spinlock_t;
507#line 33 "include/linux/spinlock_types.h"
508struct __anonstruct_ldv_6122_33 {
509 u8 __padding[24U] ;
510 struct lockdep_map dep_map ;
511};
512#line 33 "include/linux/spinlock_types.h"
513union __anonunion_ldv_6123_32 {
514 struct raw_spinlock rlock ;
515 struct __anonstruct_ldv_6122_33 ldv_6122 ;
516};
517#line 33 "include/linux/spinlock_types.h"
518struct spinlock {
519 union __anonunion_ldv_6123_32 ldv_6123 ;
520};
521#line 76 "include/linux/spinlock_types.h"
522typedef struct spinlock spinlock_t;
523#line 110 "include/linux/seqlock.h"
524struct seqcount {
525 unsigned int sequence ;
526};
527#line 121 "include/linux/seqlock.h"
528typedef struct seqcount seqcount_t;
529#line 254 "include/linux/seqlock.h"
530struct timespec {
531 __kernel_time_t tv_sec ;
532 long tv_nsec ;
533};
534#line 48 "include/linux/wait.h"
535struct __wait_queue_head {
536 spinlock_t lock ;
537 struct list_head task_list ;
538};
539#line 53 "include/linux/wait.h"
540typedef struct __wait_queue_head wait_queue_head_t;
541#line 98 "include/linux/nodemask.h"
542struct __anonstruct_nodemask_t_36 {
543 unsigned long bits[16U] ;
544};
545#line 98 "include/linux/nodemask.h"
546typedef struct __anonstruct_nodemask_t_36 nodemask_t;
547#line 670 "include/linux/mmzone.h"
548struct mutex {
549 atomic_t count ;
550 spinlock_t wait_lock ;
551 struct list_head wait_list ;
552 struct task_struct *owner ;
553 char const *name ;
554 void *magic ;
555 struct lockdep_map dep_map ;
556};
557#line 63 "include/linux/mutex.h"
558struct mutex_waiter {
559 struct list_head list ;
560 struct task_struct *task ;
561 void *magic ;
562};
563#line 171
564struct rw_semaphore;
565#line 171
566struct rw_semaphore;
567#line 172 "include/linux/mutex.h"
568struct rw_semaphore {
569 long count ;
570 raw_spinlock_t wait_lock ;
571 struct list_head wait_list ;
572 struct lockdep_map dep_map ;
573};
574#line 128 "include/linux/rwsem.h"
575struct completion {
576 unsigned int done ;
577 wait_queue_head_t wait ;
578};
579#line 312 "include/linux/jiffies.h"
580union ktime {
581 s64 tv64 ;
582};
583#line 59 "include/linux/ktime.h"
584typedef union ktime ktime_t;
585#line 341
586struct tvec_base;
587#line 341
588struct tvec_base;
589#line 342 "include/linux/ktime.h"
590struct timer_list {
591 struct list_head entry ;
592 unsigned long expires ;
593 struct tvec_base *base ;
594 void (*function)(unsigned long ) ;
595 unsigned long data ;
596 int slack ;
597 int start_pid ;
598 void *start_site ;
599 char start_comm[16U] ;
600 struct lockdep_map lockdep_map ;
601};
602#line 289 "include/linux/timer.h"
603struct hrtimer;
604#line 289
605struct hrtimer;
606#line 290
607enum hrtimer_restart;
608#line 302
609struct work_struct;
610#line 302
611struct work_struct;
612#line 45 "include/linux/workqueue.h"
613struct work_struct {
614 atomic_long_t data ;
615 struct list_head entry ;
616 void (*func)(struct work_struct * ) ;
617 struct lockdep_map lockdep_map ;
618};
619#line 46 "include/linux/pm.h"
620struct pm_message {
621 int event ;
622};
623#line 52 "include/linux/pm.h"
624typedef struct pm_message pm_message_t;
625#line 53 "include/linux/pm.h"
626struct dev_pm_ops {
627 int (*prepare)(struct device * ) ;
628 void (*complete)(struct device * ) ;
629 int (*suspend)(struct device * ) ;
630 int (*resume)(struct device * ) ;
631 int (*freeze)(struct device * ) ;
632 int (*thaw)(struct device * ) ;
633 int (*poweroff)(struct device * ) ;
634 int (*restore)(struct device * ) ;
635 int (*suspend_late)(struct device * ) ;
636 int (*resume_early)(struct device * ) ;
637 int (*freeze_late)(struct device * ) ;
638 int (*thaw_early)(struct device * ) ;
639 int (*poweroff_late)(struct device * ) ;
640 int (*restore_early)(struct device * ) ;
641 int (*suspend_noirq)(struct device * ) ;
642 int (*resume_noirq)(struct device * ) ;
643 int (*freeze_noirq)(struct device * ) ;
644 int (*thaw_noirq)(struct device * ) ;
645 int (*poweroff_noirq)(struct device * ) ;
646 int (*restore_noirq)(struct device * ) ;
647 int (*runtime_suspend)(struct device * ) ;
648 int (*runtime_resume)(struct device * ) ;
649 int (*runtime_idle)(struct device * ) ;
650};
651#line 289
652enum rpm_status {
653 RPM_ACTIVE = 0,
654 RPM_RESUMING = 1,
655 RPM_SUSPENDED = 2,
656 RPM_SUSPENDING = 3
657} ;
658#line 296
659enum rpm_request {
660 RPM_REQ_NONE = 0,
661 RPM_REQ_IDLE = 1,
662 RPM_REQ_SUSPEND = 2,
663 RPM_REQ_AUTOSUSPEND = 3,
664 RPM_REQ_RESUME = 4
665} ;
666#line 304
667struct wakeup_source;
668#line 304
669struct wakeup_source;
670#line 494 "include/linux/pm.h"
671struct pm_subsys_data {
672 spinlock_t lock ;
673 unsigned int refcount ;
674};
675#line 499
676struct dev_pm_qos_request;
677#line 499
678struct pm_qos_constraints;
679#line 499 "include/linux/pm.h"
680struct dev_pm_info {
681 pm_message_t power_state ;
682 unsigned char can_wakeup : 1 ;
683 unsigned char async_suspend : 1 ;
684 bool is_prepared ;
685 bool is_suspended ;
686 bool ignore_children ;
687 spinlock_t lock ;
688 struct list_head entry ;
689 struct completion completion ;
690 struct wakeup_source *wakeup ;
691 bool wakeup_path ;
692 struct timer_list suspend_timer ;
693 unsigned long timer_expires ;
694 struct work_struct work ;
695 wait_queue_head_t wait_queue ;
696 atomic_t usage_count ;
697 atomic_t child_count ;
698 unsigned char disable_depth : 3 ;
699 unsigned char idle_notification : 1 ;
700 unsigned char request_pending : 1 ;
701 unsigned char deferred_resume : 1 ;
702 unsigned char run_wake : 1 ;
703 unsigned char runtime_auto : 1 ;
704 unsigned char no_callbacks : 1 ;
705 unsigned char irq_safe : 1 ;
706 unsigned char use_autosuspend : 1 ;
707 unsigned char timer_autosuspends : 1 ;
708 enum rpm_request request ;
709 enum rpm_status runtime_status ;
710 int runtime_error ;
711 int autosuspend_delay ;
712 unsigned long last_busy ;
713 unsigned long active_jiffies ;
714 unsigned long suspended_jiffies ;
715 unsigned long accounting_timestamp ;
716 ktime_t suspend_time ;
717 s64 max_time_suspended_ns ;
718 struct dev_pm_qos_request *pq_req ;
719 struct pm_subsys_data *subsys_data ;
720 struct pm_qos_constraints *constraints ;
721};
722#line 558 "include/linux/pm.h"
723struct dev_pm_domain {
724 struct dev_pm_ops ops ;
725};
726#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
727struct __anonstruct_mm_context_t_101 {
728 void *ldt ;
729 int size ;
730 unsigned short ia32_compat ;
731 struct mutex lock ;
732 void *vdso ;
733};
734#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
735typedef struct __anonstruct_mm_context_t_101 mm_context_t;
736#line 18 "include/asm-generic/pci_iomap.h"
737struct vm_area_struct;
738#line 18
739struct vm_area_struct;
740#line 835 "include/linux/sysctl.h"
741struct rb_node {
742 unsigned long rb_parent_color ;
743 struct rb_node *rb_right ;
744 struct rb_node *rb_left ;
745};
746#line 108 "include/linux/rbtree.h"
747struct rb_root {
748 struct rb_node *rb_node ;
749};
750#line 176
751struct nsproxy;
752#line 176
753struct nsproxy;
754#line 37 "include/linux/kmod.h"
755struct cred;
756#line 37
757struct cred;
758#line 18 "include/linux/elf.h"
759typedef __u64 Elf64_Addr;
760#line 19 "include/linux/elf.h"
761typedef __u16 Elf64_Half;
762#line 23 "include/linux/elf.h"
763typedef __u32 Elf64_Word;
764#line 24 "include/linux/elf.h"
765typedef __u64 Elf64_Xword;
766#line 193 "include/linux/elf.h"
767struct elf64_sym {
768 Elf64_Word st_name ;
769 unsigned char st_info ;
770 unsigned char st_other ;
771 Elf64_Half st_shndx ;
772 Elf64_Addr st_value ;
773 Elf64_Xword st_size ;
774};
775#line 201 "include/linux/elf.h"
776typedef struct elf64_sym Elf64_Sym;
777#line 445
778struct sock;
779#line 445
780struct sock;
781#line 446
782struct kobject;
783#line 446
784struct kobject;
785#line 447
786enum kobj_ns_type {
787 KOBJ_NS_TYPE_NONE = 0,
788 KOBJ_NS_TYPE_NET = 1,
789 KOBJ_NS_TYPES = 2
790} ;
791#line 453 "include/linux/elf.h"
792struct kobj_ns_type_operations {
793 enum kobj_ns_type type ;
794 void *(*grab_current_ns)(void) ;
795 void const *(*netlink_ns)(struct sock * ) ;
796 void const *(*initial_ns)(void) ;
797 void (*drop_ns)(void * ) ;
798};
799#line 57 "include/linux/kobject_ns.h"
800struct attribute {
801 char const *name ;
802 umode_t mode ;
803 struct lock_class_key *key ;
804 struct lock_class_key skey ;
805};
806#line 33 "include/linux/sysfs.h"
807struct attribute_group {
808 char const *name ;
809 umode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
810 struct attribute **attrs ;
811};
812#line 62 "include/linux/sysfs.h"
813struct bin_attribute {
814 struct attribute attr ;
815 size_t size ;
816 void *private ;
817 ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
818 loff_t , size_t ) ;
819 ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
820 loff_t , size_t ) ;
821 int (*mmap)(struct file * , struct kobject * , struct bin_attribute * , struct vm_area_struct * ) ;
822};
823#line 98 "include/linux/sysfs.h"
824struct sysfs_ops {
825 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
826 ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ;
827 void const *(*namespace)(struct kobject * , struct attribute const * ) ;
828};
829#line 117
830struct sysfs_dirent;
831#line 117
832struct sysfs_dirent;
833#line 182 "include/linux/sysfs.h"
834struct kref {
835 atomic_t refcount ;
836};
837#line 49 "include/linux/kobject.h"
838struct kset;
839#line 49
840struct kobj_type;
841#line 49 "include/linux/kobject.h"
842struct kobject {
843 char const *name ;
844 struct list_head entry ;
845 struct kobject *parent ;
846 struct kset *kset ;
847 struct kobj_type *ktype ;
848 struct sysfs_dirent *sd ;
849 struct kref kref ;
850 unsigned char state_initialized : 1 ;
851 unsigned char state_in_sysfs : 1 ;
852 unsigned char state_add_uevent_sent : 1 ;
853 unsigned char state_remove_uevent_sent : 1 ;
854 unsigned char uevent_suppress : 1 ;
855};
856#line 107 "include/linux/kobject.h"
857struct kobj_type {
858 void (*release)(struct kobject * ) ;
859 struct sysfs_ops const *sysfs_ops ;
860 struct attribute **default_attrs ;
861 struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject * ) ;
862 void const *(*namespace)(struct kobject * ) ;
863};
864#line 115 "include/linux/kobject.h"
865struct kobj_uevent_env {
866 char *envp[32U] ;
867 int envp_idx ;
868 char buf[2048U] ;
869 int buflen ;
870};
871#line 122 "include/linux/kobject.h"
872struct kset_uevent_ops {
873 int (* const filter)(struct kset * , struct kobject * ) ;
874 char const *(* const name)(struct kset * , struct kobject * ) ;
875 int (* const uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
876};
877#line 139 "include/linux/kobject.h"
878struct kset {
879 struct list_head list ;
880 spinlock_t list_lock ;
881 struct kobject kobj ;
882 struct kset_uevent_ops const *uevent_ops ;
883};
884#line 215
885struct kernel_param;
886#line 215
887struct kernel_param;
888#line 216 "include/linux/kobject.h"
889struct kernel_param_ops {
890 int (*set)(char const * , struct kernel_param const * ) ;
891 int (*get)(char * , struct kernel_param const * ) ;
892 void (*free)(void * ) ;
893};
894#line 49 "include/linux/moduleparam.h"
895struct kparam_string;
896#line 49
897struct kparam_array;
898#line 49 "include/linux/moduleparam.h"
899union __anonunion_ldv_13363_134 {
900 void *arg ;
901 struct kparam_string const *str ;
902 struct kparam_array const *arr ;
903};
904#line 49 "include/linux/moduleparam.h"
905struct kernel_param {
906 char const *name ;
907 struct kernel_param_ops const *ops ;
908 u16 perm ;
909 s16 level ;
910 union __anonunion_ldv_13363_134 ldv_13363 ;
911};
912#line 61 "include/linux/moduleparam.h"
913struct kparam_string {
914 unsigned int maxlen ;
915 char *string ;
916};
917#line 67 "include/linux/moduleparam.h"
918struct kparam_array {
919 unsigned int max ;
920 unsigned int elemsize ;
921 unsigned int *num ;
922 struct kernel_param_ops const *ops ;
923 void *elem ;
924};
925#line 458 "include/linux/moduleparam.h"
926struct static_key {
927 atomic_t enabled ;
928};
929#line 225 "include/linux/jump_label.h"
930struct tracepoint;
931#line 225
932struct tracepoint;
933#line 226 "include/linux/jump_label.h"
934struct tracepoint_func {
935 void *func ;
936 void *data ;
937};
938#line 29 "include/linux/tracepoint.h"
939struct tracepoint {
940 char const *name ;
941 struct static_key key ;
942 void (*regfunc)(void) ;
943 void (*unregfunc)(void) ;
944 struct tracepoint_func *funcs ;
945};
946#line 86 "include/linux/tracepoint.h"
947struct kernel_symbol {
948 unsigned long value ;
949 char const *name ;
950};
951#line 27 "include/linux/export.h"
952struct mod_arch_specific {
953
954};
955#line 34 "include/linux/module.h"
956struct module_param_attrs;
957#line 34 "include/linux/module.h"
958struct module_kobject {
959 struct kobject kobj ;
960 struct module *mod ;
961 struct kobject *drivers_dir ;
962 struct module_param_attrs *mp ;
963};
964#line 43 "include/linux/module.h"
965struct module_attribute {
966 struct attribute attr ;
967 ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
968 ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const * ,
969 size_t ) ;
970 void (*setup)(struct module * , char const * ) ;
971 int (*test)(struct module * ) ;
972 void (*free)(struct module * ) ;
973};
974#line 69
975struct exception_table_entry;
976#line 69
977struct exception_table_entry;
978#line 198
979enum module_state {
980 MODULE_STATE_LIVE = 0,
981 MODULE_STATE_COMING = 1,
982 MODULE_STATE_GOING = 2
983} ;
984#line 204 "include/linux/module.h"
985struct module_ref {
986 unsigned long incs ;
987 unsigned long decs ;
988};
989#line 219
990struct module_sect_attrs;
991#line 219
992struct module_notes_attrs;
993#line 219
994struct ftrace_event_call;
995#line 219 "include/linux/module.h"
996struct module {
997 enum module_state state ;
998 struct list_head list ;
999 char name[56U] ;
1000 struct module_kobject mkobj ;
1001 struct module_attribute *modinfo_attrs ;
1002 char const *version ;
1003 char const *srcversion ;
1004 struct kobject *holders_dir ;
1005 struct kernel_symbol const *syms ;
1006 unsigned long const *crcs ;
1007 unsigned int num_syms ;
1008 struct kernel_param *kp ;
1009 unsigned int num_kp ;
1010 unsigned int num_gpl_syms ;
1011 struct kernel_symbol const *gpl_syms ;
1012 unsigned long const *gpl_crcs ;
1013 struct kernel_symbol const *unused_syms ;
1014 unsigned long const *unused_crcs ;
1015 unsigned int num_unused_syms ;
1016 unsigned int num_unused_gpl_syms ;
1017 struct kernel_symbol const *unused_gpl_syms ;
1018 unsigned long const *unused_gpl_crcs ;
1019 struct kernel_symbol const *gpl_future_syms ;
1020 unsigned long const *gpl_future_crcs ;
1021 unsigned int num_gpl_future_syms ;
1022 unsigned int num_exentries ;
1023 struct exception_table_entry *extable ;
1024 int (*init)(void) ;
1025 void *module_init ;
1026 void *module_core ;
1027 unsigned int init_size ;
1028 unsigned int core_size ;
1029 unsigned int init_text_size ;
1030 unsigned int core_text_size ;
1031 unsigned int init_ro_size ;
1032 unsigned int core_ro_size ;
1033 struct mod_arch_specific arch ;
1034 unsigned int taints ;
1035 unsigned int num_bugs ;
1036 struct list_head bug_list ;
1037 struct bug_entry *bug_table ;
1038 Elf64_Sym *symtab ;
1039 Elf64_Sym *core_symtab ;
1040 unsigned int num_symtab ;
1041 unsigned int core_num_syms ;
1042 char *strtab ;
1043 char *core_strtab ;
1044 struct module_sect_attrs *sect_attrs ;
1045 struct module_notes_attrs *notes_attrs ;
1046 char *args ;
1047 void *percpu ;
1048 unsigned int percpu_size ;
1049 unsigned int num_tracepoints ;
1050 struct tracepoint * const *tracepoints_ptrs ;
1051 unsigned int num_trace_bprintk_fmt ;
1052 char const **trace_bprintk_fmt_start ;
1053 struct ftrace_event_call **trace_events ;
1054 unsigned int num_trace_events ;
1055 struct list_head source_list ;
1056 struct list_head target_list ;
1057 struct task_struct *waiter ;
1058 void (*exit)(void) ;
1059 struct module_ref *refptr ;
1060 ctor_fn_t (**ctors)(void) ;
1061 unsigned int num_ctors ;
1062};
1063#line 88 "include/linux/kmemleak.h"
1064struct kmem_cache_cpu {
1065 void **freelist ;
1066 unsigned long tid ;
1067 struct page *page ;
1068 struct page *partial ;
1069 int node ;
1070 unsigned int stat[26U] ;
1071};
1072#line 55 "include/linux/slub_def.h"
1073struct kmem_cache_node {
1074 spinlock_t list_lock ;
1075 unsigned long nr_partial ;
1076 struct list_head partial ;
1077 atomic_long_t nr_slabs ;
1078 atomic_long_t total_objects ;
1079 struct list_head full ;
1080};
1081#line 66 "include/linux/slub_def.h"
1082struct kmem_cache_order_objects {
1083 unsigned long x ;
1084};
1085#line 76 "include/linux/slub_def.h"
1086struct kmem_cache {
1087 struct kmem_cache_cpu *cpu_slab ;
1088 unsigned long flags ;
1089 unsigned long min_partial ;
1090 int size ;
1091 int objsize ;
1092 int offset ;
1093 int cpu_partial ;
1094 struct kmem_cache_order_objects oo ;
1095 struct kmem_cache_order_objects max ;
1096 struct kmem_cache_order_objects min ;
1097 gfp_t allocflags ;
1098 int refcount ;
1099 void (*ctor)(void * ) ;
1100 int inuse ;
1101 int align ;
1102 int reserved ;
1103 char const *name ;
1104 struct list_head list ;
1105 struct kobject kobj ;
1106 int remote_node_defrag_ratio ;
1107 struct kmem_cache_node *node[1024U] ;
1108};
1109#line 15 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
1110struct klist_node;
1111#line 15
1112struct klist_node;
1113#line 37 "include/linux/klist.h"
1114struct klist_node {
1115 void *n_klist ;
1116 struct list_head n_node ;
1117 struct kref n_ref ;
1118};
1119#line 67
1120struct dma_map_ops;
1121#line 67 "include/linux/klist.h"
1122struct dev_archdata {
1123 void *acpi_handle ;
1124 struct dma_map_ops *dma_ops ;
1125 void *iommu ;
1126};
1127#line 17 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1128struct device_private;
1129#line 17
1130struct device_private;
1131#line 18
1132struct device_driver;
1133#line 18
1134struct device_driver;
1135#line 19
1136struct driver_private;
1137#line 19
1138struct driver_private;
1139#line 20
1140struct class;
1141#line 20
1142struct class;
1143#line 21
1144struct subsys_private;
1145#line 21
1146struct subsys_private;
1147#line 22
1148struct bus_type;
1149#line 22
1150struct bus_type;
1151#line 23
1152struct device_node;
1153#line 23
1154struct device_node;
1155#line 24
1156struct iommu_ops;
1157#line 24
1158struct iommu_ops;
1159#line 25 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1160struct bus_attribute {
1161 struct attribute attr ;
1162 ssize_t (*show)(struct bus_type * , char * ) ;
1163 ssize_t (*store)(struct bus_type * , char const * , size_t ) ;
1164};
1165#line 51 "include/linux/device.h"
1166struct device_attribute;
1167#line 51
1168struct driver_attribute;
1169#line 51 "include/linux/device.h"
1170struct bus_type {
1171 char const *name ;
1172 char const *dev_name ;
1173 struct device *dev_root ;
1174 struct bus_attribute *bus_attrs ;
1175 struct device_attribute *dev_attrs ;
1176 struct driver_attribute *drv_attrs ;
1177 int (*match)(struct device * , struct device_driver * ) ;
1178 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1179 int (*probe)(struct device * ) ;
1180 int (*remove)(struct device * ) ;
1181 void (*shutdown)(struct device * ) ;
1182 int (*suspend)(struct device * , pm_message_t ) ;
1183 int (*resume)(struct device * ) ;
1184 struct dev_pm_ops const *pm ;
1185 struct iommu_ops *iommu_ops ;
1186 struct subsys_private *p ;
1187};
1188#line 125
1189struct device_type;
1190#line 182
1191struct of_device_id;
1192#line 182 "include/linux/device.h"
1193struct device_driver {
1194 char const *name ;
1195 struct bus_type *bus ;
1196 struct module *owner ;
1197 char const *mod_name ;
1198 bool suppress_bind_attrs ;
1199 struct of_device_id const *of_match_table ;
1200 int (*probe)(struct device * ) ;
1201 int (*remove)(struct device * ) ;
1202 void (*shutdown)(struct device * ) ;
1203 int (*suspend)(struct device * , pm_message_t ) ;
1204 int (*resume)(struct device * ) ;
1205 struct attribute_group const **groups ;
1206 struct dev_pm_ops const *pm ;
1207 struct driver_private *p ;
1208};
1209#line 245 "include/linux/device.h"
1210struct driver_attribute {
1211 struct attribute attr ;
1212 ssize_t (*show)(struct device_driver * , char * ) ;
1213 ssize_t (*store)(struct device_driver * , char const * , size_t ) ;
1214};
1215#line 299
1216struct class_attribute;
1217#line 299 "include/linux/device.h"
1218struct class {
1219 char const *name ;
1220 struct module *owner ;
1221 struct class_attribute *class_attrs ;
1222 struct device_attribute *dev_attrs ;
1223 struct bin_attribute *dev_bin_attrs ;
1224 struct kobject *dev_kobj ;
1225 int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ;
1226 char *(*devnode)(struct device * , umode_t * ) ;
1227 void (*class_release)(struct class * ) ;
1228 void (*dev_release)(struct device * ) ;
1229 int (*suspend)(struct device * , pm_message_t ) ;
1230 int (*resume)(struct device * ) ;
1231 struct kobj_ns_type_operations const *ns_type ;
1232 void const *(*namespace)(struct device * ) ;
1233 struct dev_pm_ops const *pm ;
1234 struct subsys_private *p ;
1235};
1236#line 394 "include/linux/device.h"
1237struct class_attribute {
1238 struct attribute attr ;
1239 ssize_t (*show)(struct class * , struct class_attribute * , char * ) ;
1240 ssize_t (*store)(struct class * , struct class_attribute * , char const * , size_t ) ;
1241 void const *(*namespace)(struct class * , struct class_attribute const * ) ;
1242};
1243#line 447 "include/linux/device.h"
1244struct device_type {
1245 char const *name ;
1246 struct attribute_group const **groups ;
1247 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1248 char *(*devnode)(struct device * , umode_t * ) ;
1249 void (*release)(struct device * ) ;
1250 struct dev_pm_ops const *pm ;
1251};
1252#line 474 "include/linux/device.h"
1253struct device_attribute {
1254 struct attribute attr ;
1255 ssize_t (*show)(struct device * , struct device_attribute * , char * ) ;
1256 ssize_t (*store)(struct device * , struct device_attribute * , char const * ,
1257 size_t ) ;
1258};
1259#line 557 "include/linux/device.h"
1260struct device_dma_parameters {
1261 unsigned int max_segment_size ;
1262 unsigned long segment_boundary_mask ;
1263};
1264#line 567
1265struct dma_coherent_mem;
1266#line 567 "include/linux/device.h"
1267struct device {
1268 struct device *parent ;
1269 struct device_private *p ;
1270 struct kobject kobj ;
1271 char const *init_name ;
1272 struct device_type const *type ;
1273 struct mutex mutex ;
1274 struct bus_type *bus ;
1275 struct device_driver *driver ;
1276 void *platform_data ;
1277 struct dev_pm_info power ;
1278 struct dev_pm_domain *pm_domain ;
1279 int numa_node ;
1280 u64 *dma_mask ;
1281 u64 coherent_dma_mask ;
1282 struct device_dma_parameters *dma_parms ;
1283 struct list_head dma_pools ;
1284 struct dma_coherent_mem *dma_mem ;
1285 struct dev_archdata archdata ;
1286 struct device_node *of_node ;
1287 dev_t devt ;
1288 u32 id ;
1289 spinlock_t devres_lock ;
1290 struct list_head devres_head ;
1291 struct klist_node knode_class ;
1292 struct class *class ;
1293 struct attribute_group const **groups ;
1294 void (*release)(struct device * ) ;
1295};
1296#line 681 "include/linux/device.h"
1297struct wakeup_source {
1298 char const *name ;
1299 struct list_head entry ;
1300 spinlock_t lock ;
1301 struct timer_list timer ;
1302 unsigned long timer_expires ;
1303 ktime_t total_time ;
1304 ktime_t max_time ;
1305 ktime_t last_time ;
1306 unsigned long event_count ;
1307 unsigned long active_count ;
1308 unsigned long relax_count ;
1309 unsigned long hit_count ;
1310 unsigned char active : 1 ;
1311};
1312#line 12 "include/linux/mod_devicetable.h"
1313typedef unsigned long kernel_ulong_t;
1314#line 215 "include/linux/mod_devicetable.h"
1315struct of_device_id {
1316 char name[32U] ;
1317 char type[32U] ;
1318 char compatible[128U] ;
1319 void *data ;
1320};
1321#line 435 "include/linux/mod_devicetable.h"
1322struct spi_device_id {
1323 char name[32U] ;
1324 kernel_ulong_t driver_data ;
1325};
1326#line 93 "include/linux/capability.h"
1327struct kernel_cap_struct {
1328 __u32 cap[2U] ;
1329};
1330#line 96 "include/linux/capability.h"
1331typedef struct kernel_cap_struct kernel_cap_t;
1332#line 105
1333struct user_namespace;
1334#line 105
1335struct user_namespace;
1336#line 554
1337struct prio_tree_node;
1338#line 554 "include/linux/capability.h"
1339struct raw_prio_tree_node {
1340 struct prio_tree_node *left ;
1341 struct prio_tree_node *right ;
1342 struct prio_tree_node *parent ;
1343};
1344#line 19 "include/linux/prio_tree.h"
1345struct prio_tree_node {
1346 struct prio_tree_node *left ;
1347 struct prio_tree_node *right ;
1348 struct prio_tree_node *parent ;
1349 unsigned long start ;
1350 unsigned long last ;
1351};
1352#line 116
1353struct address_space;
1354#line 116
1355struct address_space;
1356#line 117 "include/linux/prio_tree.h"
1357union __anonunion_ldv_15299_138 {
1358 unsigned long index ;
1359 void *freelist ;
1360};
1361#line 117 "include/linux/prio_tree.h"
1362struct __anonstruct_ldv_15309_142 {
1363 unsigned short inuse ;
1364 unsigned short objects : 15 ;
1365 unsigned char frozen : 1 ;
1366};
1367#line 117 "include/linux/prio_tree.h"
1368union __anonunion_ldv_15310_141 {
1369 atomic_t _mapcount ;
1370 struct __anonstruct_ldv_15309_142 ldv_15309 ;
1371};
1372#line 117 "include/linux/prio_tree.h"
1373struct __anonstruct_ldv_15312_140 {
1374 union __anonunion_ldv_15310_141 ldv_15310 ;
1375 atomic_t _count ;
1376};
1377#line 117 "include/linux/prio_tree.h"
1378union __anonunion_ldv_15313_139 {
1379 unsigned long counters ;
1380 struct __anonstruct_ldv_15312_140 ldv_15312 ;
1381};
1382#line 117 "include/linux/prio_tree.h"
1383struct __anonstruct_ldv_15314_137 {
1384 union __anonunion_ldv_15299_138 ldv_15299 ;
1385 union __anonunion_ldv_15313_139 ldv_15313 ;
1386};
1387#line 117 "include/linux/prio_tree.h"
1388struct __anonstruct_ldv_15321_144 {
1389 struct page *next ;
1390 int pages ;
1391 int pobjects ;
1392};
1393#line 117 "include/linux/prio_tree.h"
1394union __anonunion_ldv_15322_143 {
1395 struct list_head lru ;
1396 struct __anonstruct_ldv_15321_144 ldv_15321 ;
1397};
1398#line 117 "include/linux/prio_tree.h"
1399union __anonunion_ldv_15327_145 {
1400 unsigned long private ;
1401 struct kmem_cache *slab ;
1402 struct page *first_page ;
1403};
1404#line 117 "include/linux/prio_tree.h"
1405struct page {
1406 unsigned long flags ;
1407 struct address_space *mapping ;
1408 struct __anonstruct_ldv_15314_137 ldv_15314 ;
1409 union __anonunion_ldv_15322_143 ldv_15322 ;
1410 union __anonunion_ldv_15327_145 ldv_15327 ;
1411 unsigned long debug_flags ;
1412};
1413#line 192 "include/linux/mm_types.h"
1414struct __anonstruct_vm_set_147 {
1415 struct list_head list ;
1416 void *parent ;
1417 struct vm_area_struct *head ;
1418};
1419#line 192 "include/linux/mm_types.h"
1420union __anonunion_shared_146 {
1421 struct __anonstruct_vm_set_147 vm_set ;
1422 struct raw_prio_tree_node prio_tree_node ;
1423};
1424#line 192
1425struct anon_vma;
1426#line 192
1427struct vm_operations_struct;
1428#line 192
1429struct mempolicy;
1430#line 192 "include/linux/mm_types.h"
1431struct vm_area_struct {
1432 struct mm_struct *vm_mm ;
1433 unsigned long vm_start ;
1434 unsigned long vm_end ;
1435 struct vm_area_struct *vm_next ;
1436 struct vm_area_struct *vm_prev ;
1437 pgprot_t vm_page_prot ;
1438 unsigned long vm_flags ;
1439 struct rb_node vm_rb ;
1440 union __anonunion_shared_146 shared ;
1441 struct list_head anon_vma_chain ;
1442 struct anon_vma *anon_vma ;
1443 struct vm_operations_struct const *vm_ops ;
1444 unsigned long vm_pgoff ;
1445 struct file *vm_file ;
1446 void *vm_private_data ;
1447 struct mempolicy *vm_policy ;
1448};
1449#line 255 "include/linux/mm_types.h"
1450struct core_thread {
1451 struct task_struct *task ;
1452 struct core_thread *next ;
1453};
1454#line 261 "include/linux/mm_types.h"
1455struct core_state {
1456 atomic_t nr_threads ;
1457 struct core_thread dumper ;
1458 struct completion startup ;
1459};
1460#line 274 "include/linux/mm_types.h"
1461struct mm_rss_stat {
1462 atomic_long_t count[3U] ;
1463};
1464#line 287
1465struct linux_binfmt;
1466#line 287
1467struct mmu_notifier_mm;
1468#line 287 "include/linux/mm_types.h"
1469struct mm_struct {
1470 struct vm_area_struct *mmap ;
1471 struct rb_root mm_rb ;
1472 struct vm_area_struct *mmap_cache ;
1473 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
1474 unsigned long , unsigned long ) ;
1475 void (*unmap_area)(struct mm_struct * , unsigned long ) ;
1476 unsigned long mmap_base ;
1477 unsigned long task_size ;
1478 unsigned long cached_hole_size ;
1479 unsigned long free_area_cache ;
1480 pgd_t *pgd ;
1481 atomic_t mm_users ;
1482 atomic_t mm_count ;
1483 int map_count ;
1484 spinlock_t page_table_lock ;
1485 struct rw_semaphore mmap_sem ;
1486 struct list_head mmlist ;
1487 unsigned long hiwater_rss ;
1488 unsigned long hiwater_vm ;
1489 unsigned long total_vm ;
1490 unsigned long locked_vm ;
1491 unsigned long pinned_vm ;
1492 unsigned long shared_vm ;
1493 unsigned long exec_vm ;
1494 unsigned long stack_vm ;
1495 unsigned long reserved_vm ;
1496 unsigned long def_flags ;
1497 unsigned long nr_ptes ;
1498 unsigned long start_code ;
1499 unsigned long end_code ;
1500 unsigned long start_data ;
1501 unsigned long end_data ;
1502 unsigned long start_brk ;
1503 unsigned long brk ;
1504 unsigned long start_stack ;
1505 unsigned long arg_start ;
1506 unsigned long arg_end ;
1507 unsigned long env_start ;
1508 unsigned long env_end ;
1509 unsigned long saved_auxv[44U] ;
1510 struct mm_rss_stat rss_stat ;
1511 struct linux_binfmt *binfmt ;
1512 cpumask_var_t cpu_vm_mask_var ;
1513 mm_context_t context ;
1514 unsigned int faultstamp ;
1515 unsigned int token_priority ;
1516 unsigned int last_interval ;
1517 unsigned long flags ;
1518 struct core_state *core_state ;
1519 spinlock_t ioctx_lock ;
1520 struct hlist_head ioctx_list ;
1521 struct task_struct *owner ;
1522 struct file *exe_file ;
1523 unsigned long num_exe_file_vmas ;
1524 struct mmu_notifier_mm *mmu_notifier_mm ;
1525 pgtable_t pmd_huge_pte ;
1526 struct cpumask cpumask_allocation ;
1527};
1528#line 7 "include/asm-generic/cputime.h"
1529typedef unsigned long cputime_t;
1530#line 98 "include/linux/sem.h"
1531struct sem_undo_list;
1532#line 98 "include/linux/sem.h"
1533struct sysv_sem {
1534 struct sem_undo_list *undo_list ;
1535};
1536#line 107
1537struct siginfo;
1538#line 107
1539struct siginfo;
1540#line 32 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1541struct __anonstruct_sigset_t_148 {
1542 unsigned long sig[1U] ;
1543};
1544#line 32 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1545typedef struct __anonstruct_sigset_t_148 sigset_t;
1546#line 17 "include/asm-generic/signal-defs.h"
1547typedef void __signalfn_t(int );
1548#line 18 "include/asm-generic/signal-defs.h"
1549typedef __signalfn_t *__sighandler_t;
1550#line 20 "include/asm-generic/signal-defs.h"
1551typedef void __restorefn_t(void);
1552#line 21 "include/asm-generic/signal-defs.h"
1553typedef __restorefn_t *__sigrestore_t;
1554#line 126 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1555struct sigaction {
1556 __sighandler_t sa_handler ;
1557 unsigned long sa_flags ;
1558 __sigrestore_t sa_restorer ;
1559 sigset_t sa_mask ;
1560};
1561#line 173 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1562struct k_sigaction {
1563 struct sigaction sa ;
1564};
1565#line 185 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1566union sigval {
1567 int sival_int ;
1568 void *sival_ptr ;
1569};
1570#line 10 "include/asm-generic/siginfo.h"
1571typedef union sigval sigval_t;
1572#line 11 "include/asm-generic/siginfo.h"
1573struct __anonstruct__kill_150 {
1574 __kernel_pid_t _pid ;
1575 __kernel_uid32_t _uid ;
1576};
1577#line 11 "include/asm-generic/siginfo.h"
1578struct __anonstruct__timer_151 {
1579 __kernel_timer_t _tid ;
1580 int _overrun ;
1581 char _pad[0U] ;
1582 sigval_t _sigval ;
1583 int _sys_private ;
1584};
1585#line 11 "include/asm-generic/siginfo.h"
1586struct __anonstruct__rt_152 {
1587 __kernel_pid_t _pid ;
1588 __kernel_uid32_t _uid ;
1589 sigval_t _sigval ;
1590};
1591#line 11 "include/asm-generic/siginfo.h"
1592struct __anonstruct__sigchld_153 {
1593 __kernel_pid_t _pid ;
1594 __kernel_uid32_t _uid ;
1595 int _status ;
1596 __kernel_clock_t _utime ;
1597 __kernel_clock_t _stime ;
1598};
1599#line 11 "include/asm-generic/siginfo.h"
1600struct __anonstruct__sigfault_154 {
1601 void *_addr ;
1602 short _addr_lsb ;
1603};
1604#line 11 "include/asm-generic/siginfo.h"
1605struct __anonstruct__sigpoll_155 {
1606 long _band ;
1607 int _fd ;
1608};
1609#line 11 "include/asm-generic/siginfo.h"
1610union __anonunion__sifields_149 {
1611 int _pad[28U] ;
1612 struct __anonstruct__kill_150 _kill ;
1613 struct __anonstruct__timer_151 _timer ;
1614 struct __anonstruct__rt_152 _rt ;
1615 struct __anonstruct__sigchld_153 _sigchld ;
1616 struct __anonstruct__sigfault_154 _sigfault ;
1617 struct __anonstruct__sigpoll_155 _sigpoll ;
1618};
1619#line 11 "include/asm-generic/siginfo.h"
1620struct siginfo {
1621 int si_signo ;
1622 int si_errno ;
1623 int si_code ;
1624 union __anonunion__sifields_149 _sifields ;
1625};
1626#line 102 "include/asm-generic/siginfo.h"
1627typedef struct siginfo siginfo_t;
1628#line 14 "include/linux/signal.h"
1629struct user_struct;
1630#line 24 "include/linux/signal.h"
1631struct sigpending {
1632 struct list_head list ;
1633 sigset_t signal ;
1634};
1635#line 395
1636struct pid_namespace;
1637#line 395 "include/linux/signal.h"
1638struct upid {
1639 int nr ;
1640 struct pid_namespace *ns ;
1641 struct hlist_node pid_chain ;
1642};
1643#line 56 "include/linux/pid.h"
1644struct pid {
1645 atomic_t count ;
1646 unsigned int level ;
1647 struct hlist_head tasks[3U] ;
1648 struct rcu_head rcu ;
1649 struct upid numbers[1U] ;
1650};
1651#line 68 "include/linux/pid.h"
1652struct pid_link {
1653 struct hlist_node node ;
1654 struct pid *pid ;
1655};
1656#line 10 "include/linux/seccomp.h"
1657struct __anonstruct_seccomp_t_158 {
1658 int mode ;
1659};
1660#line 10 "include/linux/seccomp.h"
1661typedef struct __anonstruct_seccomp_t_158 seccomp_t;
1662#line 427 "include/linux/rculist.h"
1663struct plist_head {
1664 struct list_head node_list ;
1665};
1666#line 84 "include/linux/plist.h"
1667struct plist_node {
1668 int prio ;
1669 struct list_head prio_list ;
1670 struct list_head node_list ;
1671};
1672#line 38 "include/linux/rtmutex.h"
1673struct rt_mutex_waiter;
1674#line 38
1675struct rt_mutex_waiter;
1676#line 41 "include/linux/resource.h"
1677struct rlimit {
1678 unsigned long rlim_cur ;
1679 unsigned long rlim_max ;
1680};
1681#line 85 "include/linux/resource.h"
1682struct timerqueue_node {
1683 struct rb_node node ;
1684 ktime_t expires ;
1685};
1686#line 12 "include/linux/timerqueue.h"
1687struct timerqueue_head {
1688 struct rb_root head ;
1689 struct timerqueue_node *next ;
1690};
1691#line 50
1692struct hrtimer_clock_base;
1693#line 50
1694struct hrtimer_clock_base;
1695#line 51
1696struct hrtimer_cpu_base;
1697#line 51
1698struct hrtimer_cpu_base;
1699#line 60
1700enum hrtimer_restart {
1701 HRTIMER_NORESTART = 0,
1702 HRTIMER_RESTART = 1
1703} ;
1704#line 65 "include/linux/timerqueue.h"
1705struct hrtimer {
1706 struct timerqueue_node node ;
1707 ktime_t _softexpires ;
1708 enum hrtimer_restart (*function)(struct hrtimer * ) ;
1709 struct hrtimer_clock_base *base ;
1710 unsigned long state ;
1711 int start_pid ;
1712 void *start_site ;
1713 char start_comm[16U] ;
1714};
1715#line 132 "include/linux/hrtimer.h"
1716struct hrtimer_clock_base {
1717 struct hrtimer_cpu_base *cpu_base ;
1718 int index ;
1719 clockid_t clockid ;
1720 struct timerqueue_head active ;
1721 ktime_t resolution ;
1722 ktime_t (*get_time)(void) ;
1723 ktime_t softirq_time ;
1724 ktime_t offset ;
1725};
1726#line 162 "include/linux/hrtimer.h"
1727struct hrtimer_cpu_base {
1728 raw_spinlock_t lock ;
1729 unsigned long active_bases ;
1730 ktime_t expires_next ;
1731 int hres_active ;
1732 int hang_detected ;
1733 unsigned long nr_events ;
1734 unsigned long nr_retries ;
1735 unsigned long nr_hangs ;
1736 ktime_t max_hang_time ;
1737 struct hrtimer_clock_base clock_base[3U] ;
1738};
1739#line 452 "include/linux/hrtimer.h"
1740struct task_io_accounting {
1741 u64 rchar ;
1742 u64 wchar ;
1743 u64 syscr ;
1744 u64 syscw ;
1745 u64 read_bytes ;
1746 u64 write_bytes ;
1747 u64 cancelled_write_bytes ;
1748};
1749#line 45 "include/linux/task_io_accounting.h"
1750struct latency_record {
1751 unsigned long backtrace[12U] ;
1752 unsigned int count ;
1753 unsigned long time ;
1754 unsigned long max ;
1755};
1756#line 29 "include/linux/key.h"
1757typedef int32_t key_serial_t;
1758#line 32 "include/linux/key.h"
1759typedef uint32_t key_perm_t;
1760#line 33
1761struct key;
1762#line 33
1763struct key;
1764#line 34
1765struct signal_struct;
1766#line 34
1767struct signal_struct;
1768#line 35
1769struct key_type;
1770#line 35
1771struct key_type;
1772#line 37
1773struct keyring_list;
1774#line 37
1775struct keyring_list;
1776#line 115
1777struct key_user;
1778#line 115 "include/linux/key.h"
1779union __anonunion_ldv_16563_159 {
1780 time_t expiry ;
1781 time_t revoked_at ;
1782};
1783#line 115 "include/linux/key.h"
1784union __anonunion_type_data_160 {
1785 struct list_head link ;
1786 unsigned long x[2U] ;
1787 void *p[2U] ;
1788 int reject_error ;
1789};
1790#line 115 "include/linux/key.h"
1791union __anonunion_payload_161 {
1792 unsigned long value ;
1793 void *rcudata ;
1794 void *data ;
1795 struct keyring_list *subscriptions ;
1796};
1797#line 115 "include/linux/key.h"
1798struct key {
1799 atomic_t usage ;
1800 key_serial_t serial ;
1801 struct rb_node serial_node ;
1802 struct key_type *type ;
1803 struct rw_semaphore sem ;
1804 struct key_user *user ;
1805 void *security ;
1806 union __anonunion_ldv_16563_159 ldv_16563 ;
1807 uid_t uid ;
1808 gid_t gid ;
1809 key_perm_t perm ;
1810 unsigned short quotalen ;
1811 unsigned short datalen ;
1812 unsigned long flags ;
1813 char *description ;
1814 union __anonunion_type_data_160 type_data ;
1815 union __anonunion_payload_161 payload ;
1816};
1817#line 316
1818struct audit_context;
1819#line 316
1820struct audit_context;
1821#line 28 "include/linux/selinux.h"
1822struct group_info {
1823 atomic_t usage ;
1824 int ngroups ;
1825 int nblocks ;
1826 gid_t small_block[32U] ;
1827 gid_t *blocks[0U] ;
1828};
1829#line 77 "include/linux/cred.h"
1830struct thread_group_cred {
1831 atomic_t usage ;
1832 pid_t tgid ;
1833 spinlock_t lock ;
1834 struct key *session_keyring ;
1835 struct key *process_keyring ;
1836 struct rcu_head rcu ;
1837};
1838#line 91 "include/linux/cred.h"
1839struct cred {
1840 atomic_t usage ;
1841 atomic_t subscribers ;
1842 void *put_addr ;
1843 unsigned int magic ;
1844 uid_t uid ;
1845 gid_t gid ;
1846 uid_t suid ;
1847 gid_t sgid ;
1848 uid_t euid ;
1849 gid_t egid ;
1850 uid_t fsuid ;
1851 gid_t fsgid ;
1852 unsigned int securebits ;
1853 kernel_cap_t cap_inheritable ;
1854 kernel_cap_t cap_permitted ;
1855 kernel_cap_t cap_effective ;
1856 kernel_cap_t cap_bset ;
1857 unsigned char jit_keyring ;
1858 struct key *thread_keyring ;
1859 struct key *request_key_auth ;
1860 struct thread_group_cred *tgcred ;
1861 void *security ;
1862 struct user_struct *user ;
1863 struct user_namespace *user_ns ;
1864 struct group_info *group_info ;
1865 struct rcu_head rcu ;
1866};
1867#line 264
1868struct llist_node;
1869#line 64 "include/linux/llist.h"
1870struct llist_node {
1871 struct llist_node *next ;
1872};
1873#line 185
1874struct futex_pi_state;
1875#line 185
1876struct futex_pi_state;
1877#line 186
1878struct robust_list_head;
1879#line 186
1880struct robust_list_head;
1881#line 187
1882struct bio_list;
1883#line 187
1884struct bio_list;
1885#line 188
1886struct fs_struct;
1887#line 188
1888struct fs_struct;
1889#line 189
1890struct perf_event_context;
1891#line 189
1892struct perf_event_context;
1893#line 190
1894struct blk_plug;
1895#line 190
1896struct blk_plug;
1897#line 149 "include/linux/sched.h"
1898struct cfs_rq;
1899#line 149
1900struct cfs_rq;
1901#line 406 "include/linux/sched.h"
1902struct sighand_struct {
1903 atomic_t count ;
1904 struct k_sigaction action[64U] ;
1905 spinlock_t siglock ;
1906 wait_queue_head_t signalfd_wqh ;
1907};
1908#line 449 "include/linux/sched.h"
1909struct pacct_struct {
1910 int ac_flag ;
1911 long ac_exitcode ;
1912 unsigned long ac_mem ;
1913 cputime_t ac_utime ;
1914 cputime_t ac_stime ;
1915 unsigned long ac_minflt ;
1916 unsigned long ac_majflt ;
1917};
1918#line 457 "include/linux/sched.h"
1919struct cpu_itimer {
1920 cputime_t expires ;
1921 cputime_t incr ;
1922 u32 error ;
1923 u32 incr_error ;
1924};
1925#line 464 "include/linux/sched.h"
1926struct task_cputime {
1927 cputime_t utime ;
1928 cputime_t stime ;
1929 unsigned long long sum_exec_runtime ;
1930};
1931#line 481 "include/linux/sched.h"
1932struct thread_group_cputimer {
1933 struct task_cputime cputime ;
1934 int running ;
1935 raw_spinlock_t lock ;
1936};
1937#line 517
1938struct autogroup;
1939#line 517
1940struct autogroup;
1941#line 518
1942struct tty_struct;
1943#line 518
1944struct taskstats;
1945#line 518
1946struct tty_audit_buf;
1947#line 518 "include/linux/sched.h"
1948struct signal_struct {
1949 atomic_t sigcnt ;
1950 atomic_t live ;
1951 int nr_threads ;
1952 wait_queue_head_t wait_chldexit ;
1953 struct task_struct *curr_target ;
1954 struct sigpending shared_pending ;
1955 int group_exit_code ;
1956 int notify_count ;
1957 struct task_struct *group_exit_task ;
1958 int group_stop_count ;
1959 unsigned int flags ;
1960 unsigned char is_child_subreaper : 1 ;
1961 unsigned char has_child_subreaper : 1 ;
1962 struct list_head posix_timers ;
1963 struct hrtimer real_timer ;
1964 struct pid *leader_pid ;
1965 ktime_t it_real_incr ;
1966 struct cpu_itimer it[2U] ;
1967 struct thread_group_cputimer cputimer ;
1968 struct task_cputime cputime_expires ;
1969 struct list_head cpu_timers[3U] ;
1970 struct pid *tty_old_pgrp ;
1971 int leader ;
1972 struct tty_struct *tty ;
1973 struct autogroup *autogroup ;
1974 cputime_t utime ;
1975 cputime_t stime ;
1976 cputime_t cutime ;
1977 cputime_t cstime ;
1978 cputime_t gtime ;
1979 cputime_t cgtime ;
1980 cputime_t prev_utime ;
1981 cputime_t prev_stime ;
1982 unsigned long nvcsw ;
1983 unsigned long nivcsw ;
1984 unsigned long cnvcsw ;
1985 unsigned long cnivcsw ;
1986 unsigned long min_flt ;
1987 unsigned long maj_flt ;
1988 unsigned long cmin_flt ;
1989 unsigned long cmaj_flt ;
1990 unsigned long inblock ;
1991 unsigned long oublock ;
1992 unsigned long cinblock ;
1993 unsigned long coublock ;
1994 unsigned long maxrss ;
1995 unsigned long cmaxrss ;
1996 struct task_io_accounting ioac ;
1997 unsigned long long sum_sched_runtime ;
1998 struct rlimit rlim[16U] ;
1999 struct pacct_struct pacct ;
2000 struct taskstats *stats ;
2001 unsigned int audit_tty ;
2002 struct tty_audit_buf *tty_audit_buf ;
2003 struct rw_semaphore group_rwsem ;
2004 int oom_adj ;
2005 int oom_score_adj ;
2006 int oom_score_adj_min ;
2007 struct mutex cred_guard_mutex ;
2008};
2009#line 699 "include/linux/sched.h"
2010struct user_struct {
2011 atomic_t __count ;
2012 atomic_t processes ;
2013 atomic_t files ;
2014 atomic_t sigpending ;
2015 atomic_t inotify_watches ;
2016 atomic_t inotify_devs ;
2017 atomic_t fanotify_listeners ;
2018 atomic_long_t epoll_watches ;
2019 unsigned long mq_bytes ;
2020 unsigned long locked_shm ;
2021 struct key *uid_keyring ;
2022 struct key *session_keyring ;
2023 struct hlist_node uidhash_node ;
2024 uid_t uid ;
2025 struct user_namespace *user_ns ;
2026 atomic_long_t locked_vm ;
2027};
2028#line 744
2029struct backing_dev_info;
2030#line 744
2031struct backing_dev_info;
2032#line 745
2033struct reclaim_state;
2034#line 745
2035struct reclaim_state;
2036#line 746 "include/linux/sched.h"
2037struct sched_info {
2038 unsigned long pcount ;
2039 unsigned long long run_delay ;
2040 unsigned long long last_arrival ;
2041 unsigned long long last_queued ;
2042};
2043#line 760 "include/linux/sched.h"
2044struct task_delay_info {
2045 spinlock_t lock ;
2046 unsigned int flags ;
2047 struct timespec blkio_start ;
2048 struct timespec blkio_end ;
2049 u64 blkio_delay ;
2050 u64 swapin_delay ;
2051 u32 blkio_count ;
2052 u32 swapin_count ;
2053 struct timespec freepages_start ;
2054 struct timespec freepages_end ;
2055 u64 freepages_delay ;
2056 u32 freepages_count ;
2057};
2058#line 1069
2059struct io_context;
2060#line 1069
2061struct io_context;
2062#line 1097
2063struct pipe_inode_info;
2064#line 1097
2065struct pipe_inode_info;
2066#line 1099
2067struct rq;
2068#line 1099
2069struct rq;
2070#line 1100 "include/linux/sched.h"
2071struct sched_class {
2072 struct sched_class const *next ;
2073 void (*enqueue_task)(struct rq * , struct task_struct * , int ) ;
2074 void (*dequeue_task)(struct rq * , struct task_struct * , int ) ;
2075 void (*yield_task)(struct rq * ) ;
2076 bool (*yield_to_task)(struct rq * , struct task_struct * , bool ) ;
2077 void (*check_preempt_curr)(struct rq * , struct task_struct * , int ) ;
2078 struct task_struct *(*pick_next_task)(struct rq * ) ;
2079 void (*put_prev_task)(struct rq * , struct task_struct * ) ;
2080 int (*select_task_rq)(struct task_struct * , int , int ) ;
2081 void (*pre_schedule)(struct rq * , struct task_struct * ) ;
2082 void (*post_schedule)(struct rq * ) ;
2083 void (*task_waking)(struct task_struct * ) ;
2084 void (*task_woken)(struct rq * , struct task_struct * ) ;
2085 void (*set_cpus_allowed)(struct task_struct * , struct cpumask const * ) ;
2086 void (*rq_online)(struct rq * ) ;
2087 void (*rq_offline)(struct rq * ) ;
2088 void (*set_curr_task)(struct rq * ) ;
2089 void (*task_tick)(struct rq * , struct task_struct * , int ) ;
2090 void (*task_fork)(struct task_struct * ) ;
2091 void (*switched_from)(struct rq * , struct task_struct * ) ;
2092 void (*switched_to)(struct rq * , struct task_struct * ) ;
2093 void (*prio_changed)(struct rq * , struct task_struct * , int ) ;
2094 unsigned int (*get_rr_interval)(struct rq * , struct task_struct * ) ;
2095 void (*task_move_group)(struct task_struct * , int ) ;
2096};
2097#line 1165 "include/linux/sched.h"
2098struct load_weight {
2099 unsigned long weight ;
2100 unsigned long inv_weight ;
2101};
2102#line 1170 "include/linux/sched.h"
2103struct sched_statistics {
2104 u64 wait_start ;
2105 u64 wait_max ;
2106 u64 wait_count ;
2107 u64 wait_sum ;
2108 u64 iowait_count ;
2109 u64 iowait_sum ;
2110 u64 sleep_start ;
2111 u64 sleep_max ;
2112 s64 sum_sleep_runtime ;
2113 u64 block_start ;
2114 u64 block_max ;
2115 u64 exec_max ;
2116 u64 slice_max ;
2117 u64 nr_migrations_cold ;
2118 u64 nr_failed_migrations_affine ;
2119 u64 nr_failed_migrations_running ;
2120 u64 nr_failed_migrations_hot ;
2121 u64 nr_forced_migrations ;
2122 u64 nr_wakeups ;
2123 u64 nr_wakeups_sync ;
2124 u64 nr_wakeups_migrate ;
2125 u64 nr_wakeups_local ;
2126 u64 nr_wakeups_remote ;
2127 u64 nr_wakeups_affine ;
2128 u64 nr_wakeups_affine_attempts ;
2129 u64 nr_wakeups_passive ;
2130 u64 nr_wakeups_idle ;
2131};
2132#line 1205 "include/linux/sched.h"
2133struct sched_entity {
2134 struct load_weight load ;
2135 struct rb_node run_node ;
2136 struct list_head group_node ;
2137 unsigned int on_rq ;
2138 u64 exec_start ;
2139 u64 sum_exec_runtime ;
2140 u64 vruntime ;
2141 u64 prev_sum_exec_runtime ;
2142 u64 nr_migrations ;
2143 struct sched_statistics statistics ;
2144 struct sched_entity *parent ;
2145 struct cfs_rq *cfs_rq ;
2146 struct cfs_rq *my_q ;
2147};
2148#line 1231
2149struct rt_rq;
2150#line 1231 "include/linux/sched.h"
2151struct sched_rt_entity {
2152 struct list_head run_list ;
2153 unsigned long timeout ;
2154 unsigned int time_slice ;
2155 int nr_cpus_allowed ;
2156 struct sched_rt_entity *back ;
2157 struct sched_rt_entity *parent ;
2158 struct rt_rq *rt_rq ;
2159 struct rt_rq *my_q ;
2160};
2161#line 1255
2162struct mem_cgroup;
2163#line 1255 "include/linux/sched.h"
2164struct memcg_batch_info {
2165 int do_batch ;
2166 struct mem_cgroup *memcg ;
2167 unsigned long nr_pages ;
2168 unsigned long memsw_nr_pages ;
2169};
2170#line 1616
2171struct files_struct;
2172#line 1616
2173struct css_set;
2174#line 1616
2175struct compat_robust_list_head;
2176#line 1616 "include/linux/sched.h"
2177struct task_struct {
2178 long volatile state ;
2179 void *stack ;
2180 atomic_t usage ;
2181 unsigned int flags ;
2182 unsigned int ptrace ;
2183 struct llist_node wake_entry ;
2184 int on_cpu ;
2185 int on_rq ;
2186 int prio ;
2187 int static_prio ;
2188 int normal_prio ;
2189 unsigned int rt_priority ;
2190 struct sched_class const *sched_class ;
2191 struct sched_entity se ;
2192 struct sched_rt_entity rt ;
2193 struct hlist_head preempt_notifiers ;
2194 unsigned char fpu_counter ;
2195 unsigned int policy ;
2196 cpumask_t cpus_allowed ;
2197 struct sched_info sched_info ;
2198 struct list_head tasks ;
2199 struct plist_node pushable_tasks ;
2200 struct mm_struct *mm ;
2201 struct mm_struct *active_mm ;
2202 unsigned char brk_randomized : 1 ;
2203 int exit_state ;
2204 int exit_code ;
2205 int exit_signal ;
2206 int pdeath_signal ;
2207 unsigned int jobctl ;
2208 unsigned int personality ;
2209 unsigned char did_exec : 1 ;
2210 unsigned char in_execve : 1 ;
2211 unsigned char in_iowait : 1 ;
2212 unsigned char sched_reset_on_fork : 1 ;
2213 unsigned char sched_contributes_to_load : 1 ;
2214 unsigned char irq_thread : 1 ;
2215 pid_t pid ;
2216 pid_t tgid ;
2217 unsigned long stack_canary ;
2218 struct task_struct *real_parent ;
2219 struct task_struct *parent ;
2220 struct list_head children ;
2221 struct list_head sibling ;
2222 struct task_struct *group_leader ;
2223 struct list_head ptraced ;
2224 struct list_head ptrace_entry ;
2225 struct pid_link pids[3U] ;
2226 struct list_head thread_group ;
2227 struct completion *vfork_done ;
2228 int *set_child_tid ;
2229 int *clear_child_tid ;
2230 cputime_t utime ;
2231 cputime_t stime ;
2232 cputime_t utimescaled ;
2233 cputime_t stimescaled ;
2234 cputime_t gtime ;
2235 cputime_t prev_utime ;
2236 cputime_t prev_stime ;
2237 unsigned long nvcsw ;
2238 unsigned long nivcsw ;
2239 struct timespec start_time ;
2240 struct timespec real_start_time ;
2241 unsigned long min_flt ;
2242 unsigned long maj_flt ;
2243 struct task_cputime cputime_expires ;
2244 struct list_head cpu_timers[3U] ;
2245 struct cred const *real_cred ;
2246 struct cred const *cred ;
2247 struct cred *replacement_session_keyring ;
2248 char comm[16U] ;
2249 int link_count ;
2250 int total_link_count ;
2251 struct sysv_sem sysvsem ;
2252 unsigned long last_switch_count ;
2253 struct thread_struct thread ;
2254 struct fs_struct *fs ;
2255 struct files_struct *files ;
2256 struct nsproxy *nsproxy ;
2257 struct signal_struct *signal ;
2258 struct sighand_struct *sighand ;
2259 sigset_t blocked ;
2260 sigset_t real_blocked ;
2261 sigset_t saved_sigmask ;
2262 struct sigpending pending ;
2263 unsigned long sas_ss_sp ;
2264 size_t sas_ss_size ;
2265 int (*notifier)(void * ) ;
2266 void *notifier_data ;
2267 sigset_t *notifier_mask ;
2268 struct audit_context *audit_context ;
2269 uid_t loginuid ;
2270 unsigned int sessionid ;
2271 seccomp_t seccomp ;
2272 u32 parent_exec_id ;
2273 u32 self_exec_id ;
2274 spinlock_t alloc_lock ;
2275 raw_spinlock_t pi_lock ;
2276 struct plist_head pi_waiters ;
2277 struct rt_mutex_waiter *pi_blocked_on ;
2278 struct mutex_waiter *blocked_on ;
2279 unsigned int irq_events ;
2280 unsigned long hardirq_enable_ip ;
2281 unsigned long hardirq_disable_ip ;
2282 unsigned int hardirq_enable_event ;
2283 unsigned int hardirq_disable_event ;
2284 int hardirqs_enabled ;
2285 int hardirq_context ;
2286 unsigned long softirq_disable_ip ;
2287 unsigned long softirq_enable_ip ;
2288 unsigned int softirq_disable_event ;
2289 unsigned int softirq_enable_event ;
2290 int softirqs_enabled ;
2291 int softirq_context ;
2292 u64 curr_chain_key ;
2293 int lockdep_depth ;
2294 unsigned int lockdep_recursion ;
2295 struct held_lock held_locks[48U] ;
2296 gfp_t lockdep_reclaim_gfp ;
2297 void *journal_info ;
2298 struct bio_list *bio_list ;
2299 struct blk_plug *plug ;
2300 struct reclaim_state *reclaim_state ;
2301 struct backing_dev_info *backing_dev_info ;
2302 struct io_context *io_context ;
2303 unsigned long ptrace_message ;
2304 siginfo_t *last_siginfo ;
2305 struct task_io_accounting ioac ;
2306 u64 acct_rss_mem1 ;
2307 u64 acct_vm_mem1 ;
2308 cputime_t acct_timexpd ;
2309 nodemask_t mems_allowed ;
2310 seqcount_t mems_allowed_seq ;
2311 int cpuset_mem_spread_rotor ;
2312 int cpuset_slab_spread_rotor ;
2313 struct css_set *cgroups ;
2314 struct list_head cg_list ;
2315 struct robust_list_head *robust_list ;
2316 struct compat_robust_list_head *compat_robust_list ;
2317 struct list_head pi_state_list ;
2318 struct futex_pi_state *pi_state_cache ;
2319 struct perf_event_context *perf_event_ctxp[2U] ;
2320 struct mutex perf_event_mutex ;
2321 struct list_head perf_event_list ;
2322 struct mempolicy *mempolicy ;
2323 short il_next ;
2324 short pref_node_fork ;
2325 struct rcu_head rcu ;
2326 struct pipe_inode_info *splice_pipe ;
2327 struct task_delay_info *delays ;
2328 int make_it_fail ;
2329 int nr_dirtied ;
2330 int nr_dirtied_pause ;
2331 unsigned long dirty_paused_when ;
2332 int latency_record_count ;
2333 struct latency_record latency_record[32U] ;
2334 unsigned long timer_slack_ns ;
2335 unsigned long default_timer_slack_ns ;
2336 struct list_head *scm_work_list ;
2337 unsigned long trace ;
2338 unsigned long trace_recursion ;
2339 struct memcg_batch_info memcg_batch ;
2340 atomic_t ptrace_bp_refcnt ;
2341};
2342#line 44 "include/linux/kthread.h"
2343struct kthread_work;
2344#line 44
2345struct kthread_work;
2346#line 57 "include/linux/kthread.h"
2347struct kthread_worker {
2348 spinlock_t lock ;
2349 struct list_head work_list ;
2350 struct task_struct *task ;
2351};
2352#line 63 "include/linux/kthread.h"
2353struct kthread_work {
2354 struct list_head node ;
2355 void (*func)(struct kthread_work * ) ;
2356 wait_queue_head_t done ;
2357 atomic_t flushing ;
2358 int queue_seq ;
2359 int done_seq ;
2360};
2361#line 32 "include/linux/spi/spi.h"
2362struct spi_master;
2363#line 32 "include/linux/spi/spi.h"
2364struct spi_device {
2365 struct device dev ;
2366 struct spi_master *master ;
2367 u32 max_speed_hz ;
2368 u8 chip_select ;
2369 u8 mode ;
2370 u8 bits_per_word ;
2371 int irq ;
2372 void *controller_state ;
2373 void *controller_data ;
2374 char modalias[32U] ;
2375};
2376#line 144
2377struct spi_message;
2378#line 144
2379struct spi_message;
2380#line 145 "include/linux/spi/spi.h"
2381struct spi_driver {
2382 struct spi_device_id const *id_table ;
2383 int (*probe)(struct spi_device * ) ;
2384 int (*remove)(struct spi_device * ) ;
2385 void (*shutdown)(struct spi_device * ) ;
2386 int (*suspend)(struct spi_device * , pm_message_t ) ;
2387 int (*resume)(struct spi_device * ) ;
2388 struct device_driver driver ;
2389};
2390#line 203 "include/linux/spi/spi.h"
2391struct spi_master {
2392 struct device dev ;
2393 struct list_head list ;
2394 s16 bus_num ;
2395 u16 num_chipselect ;
2396 u16 dma_alignment ;
2397 u16 mode_bits ;
2398 u16 flags ;
2399 spinlock_t bus_lock_spinlock ;
2400 struct mutex bus_lock_mutex ;
2401 bool bus_lock_flag ;
2402 int (*setup)(struct spi_device * ) ;
2403 int (*transfer)(struct spi_device * , struct spi_message * ) ;
2404 void (*cleanup)(struct spi_device * ) ;
2405 bool queued ;
2406 struct kthread_worker kworker ;
2407 struct task_struct *kworker_task ;
2408 struct kthread_work pump_messages ;
2409 spinlock_t queue_lock ;
2410 struct list_head queue ;
2411 struct spi_message *cur_msg ;
2412 bool busy ;
2413 bool running ;
2414 bool rt ;
2415 int (*prepare_transfer_hardware)(struct spi_master * ) ;
2416 int (*transfer_one_message)(struct spi_master * , struct spi_message * ) ;
2417 int (*unprepare_transfer_hardware)(struct spi_master * ) ;
2418};
2419#line 406 "include/linux/spi/spi.h"
2420struct spi_transfer {
2421 void const *tx_buf ;
2422 void *rx_buf ;
2423 unsigned int len ;
2424 dma_addr_t tx_dma ;
2425 dma_addr_t rx_dma ;
2426 unsigned char cs_change : 1 ;
2427 u8 bits_per_word ;
2428 u16 delay_usecs ;
2429 u32 speed_hz ;
2430 struct list_head transfer_list ;
2431};
2432#line 512 "include/linux/spi/spi.h"
2433struct spi_message {
2434 struct list_head transfers ;
2435 struct spi_device *spi ;
2436 unsigned char is_dma_mapped : 1 ;
2437 void (*complete)(void * ) ;
2438 void *context ;
2439 unsigned int actual_length ;
2440 int status ;
2441 struct list_head queue ;
2442 void *state ;
2443};
2444#line 858 "include/linux/spi/spi.h"
2445struct tle62x0_pdata {
2446 unsigned int init_state ;
2447 unsigned int gpio_count ;
2448};
2449#line 25 "include/linux/spi/tle62x0.h"
2450struct tle62x0_state {
2451 struct spi_device *us ;
2452 struct mutex lock ;
2453 unsigned int nr_gpio ;
2454 unsigned int gpio_state ;
2455 unsigned char tx_buff[4U] ;
2456 unsigned char rx_buff[4U] ;
2457};
2458#line 1 "<compiler builtins>"
2459long __builtin_expect(long , long ) ;
2460#line 2 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
2461void ldv_spin_lock(void) ;
2462#line 3
2463void ldv_spin_unlock(void) ;
2464#line 4
2465int ldv_spin_trylock(void) ;
2466#line 50 "include/linux/dynamic_debug.h"
2467extern int __dynamic_dev_dbg(struct _ddebug * , struct device const * , char const *
2468 , ...) ;
2469#line 307 "include/linux/kernel.h"
2470extern unsigned long simple_strtoul(char const * , char ** , unsigned int ) ;
2471#line 320
2472extern int sprintf(char * , char const * , ...) ;
2473#line 323
2474extern int snprintf(char * , size_t , char const * , ...) ;
2475#line 24 "include/linux/list.h"
2476__inline static void INIT_LIST_HEAD(struct list_head *list )
2477{ unsigned long __cil_tmp2 ;
2478 unsigned long __cil_tmp3 ;
2479
2480 {
2481#line 26
2482 *((struct list_head **)list) = list;
2483#line 27
2484 __cil_tmp2 = (unsigned long )list;
2485#line 27
2486 __cil_tmp3 = __cil_tmp2 + 8;
2487#line 27
2488 *((struct list_head **)__cil_tmp3) = list;
2489#line 28
2490 return;
2491}
2492}
2493#line 47
2494extern void __list_add(struct list_head * , struct list_head * , struct list_head * ) ;
2495#line 74 "include/linux/list.h"
2496__inline static void list_add_tail(struct list_head *new , struct list_head *head )
2497{ unsigned long __cil_tmp3 ;
2498 unsigned long __cil_tmp4 ;
2499 struct list_head *__cil_tmp5 ;
2500
2501 {
2502 {
2503#line 76
2504 __cil_tmp3 = (unsigned long )head;
2505#line 76
2506 __cil_tmp4 = __cil_tmp3 + 8;
2507#line 76
2508 __cil_tmp5 = *((struct list_head **)__cil_tmp4);
2509#line 76
2510 __list_add(new, __cil_tmp5, head);
2511 }
2512#line 77
2513 return;
2514}
2515}
2516#line 55 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/string_64.h"
2517extern void *memset(void * , int , size_t ) ;
2518#line 115 "include/linux/mutex.h"
2519extern void __mutex_init(struct mutex * , char const * , struct lock_class_key * ) ;
2520#line 134
2521extern void mutex_lock_nested(struct mutex * , unsigned int ) ;
2522#line 169
2523extern void mutex_unlock(struct mutex * ) ;
2524#line 26 "include/linux/export.h"
2525extern struct module __this_module ;
2526#line 161 "include/linux/slab.h"
2527extern void kfree(void const * ) ;
2528#line 220 "include/linux/slub_def.h"
2529extern void *kmem_cache_alloc(struct kmem_cache * , gfp_t ) ;
2530#line 223
2531void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
2532#line 353 "include/linux/slab.h"
2533__inline static void *kzalloc(size_t size , gfp_t flags ) ;
2534#line 10 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
2535extern void *__VERIFIER_nondet_pointer(void) ;
2536#line 11
2537void ldv_check_alloc_flags(gfp_t flags ) ;
2538#line 12
2539void ldv_check_alloc_nonatomic(void) ;
2540#line 14
2541struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags ) ;
2542#line 239 "include/linux/device.h"
2543extern void driver_unregister(struct device_driver * ) ;
2544#line 507
2545extern int device_create_file(struct device * , struct device_attribute const * ) ;
2546#line 509
2547extern void device_remove_file(struct device * , struct device_attribute const * ) ;
2548#line 792
2549extern void *dev_get_drvdata(struct device const * ) ;
2550#line 793
2551extern int dev_set_drvdata(struct device * , void * ) ;
2552#line 892
2553extern int dev_err(struct device const * , char const * , ...) ;
2554#line 135 "include/linux/spi/spi.h"
2555__inline static void spi_set_drvdata(struct spi_device *spi , void *data )
2556{ struct device *__cil_tmp3 ;
2557
2558 {
2559 {
2560#line 137
2561 __cil_tmp3 = (struct device *)spi;
2562#line 137
2563 dev_set_drvdata(__cil_tmp3, data);
2564 }
2565#line 138
2566 return;
2567}
2568}
2569#line 140 "include/linux/spi/spi.h"
2570__inline static void *spi_get_drvdata(struct spi_device *spi )
2571{ void *tmp ;
2572 struct device *__cil_tmp3 ;
2573 struct device const *__cil_tmp4 ;
2574
2575 {
2576 {
2577#line 142
2578 __cil_tmp3 = (struct device *)spi;
2579#line 142
2580 __cil_tmp4 = (struct device const *)__cil_tmp3;
2581#line 142
2582 tmp = dev_get_drvdata(__cil_tmp4);
2583 }
2584#line 142
2585 return (tmp);
2586}
2587}
2588#line 191
2589extern int spi_register_driver(struct spi_driver * ) ;
2590#line 198 "include/linux/spi/spi.h"
2591__inline static void spi_unregister_driver(struct spi_driver *sdrv )
2592{ struct spi_driver *__cil_tmp2 ;
2593 unsigned long __cil_tmp3 ;
2594 unsigned long __cil_tmp4 ;
2595 unsigned long __cil_tmp5 ;
2596 unsigned long __cil_tmp6 ;
2597 struct device_driver *__cil_tmp7 ;
2598
2599 {
2600 {
2601#line 200
2602 __cil_tmp2 = (struct spi_driver *)0;
2603#line 200
2604 __cil_tmp3 = (unsigned long )__cil_tmp2;
2605#line 200
2606 __cil_tmp4 = (unsigned long )sdrv;
2607#line 200
2608 if (__cil_tmp4 != __cil_tmp3) {
2609 {
2610#line 201
2611 __cil_tmp5 = (unsigned long )sdrv;
2612#line 201
2613 __cil_tmp6 = __cil_tmp5 + 48;
2614#line 201
2615 __cil_tmp7 = (struct device_driver *)__cil_tmp6;
2616#line 201
2617 driver_unregister(__cil_tmp7);
2618 }
2619 } else {
2620
2621 }
2622 }
2623#line 202
2624 return;
2625}
2626}
2627#line 573 "include/linux/spi/spi.h"
2628__inline static void spi_message_init(struct spi_message *m )
2629{ void *__cil_tmp2 ;
2630 struct list_head *__cil_tmp3 ;
2631
2632 {
2633 {
2634#line 575
2635 __cil_tmp2 = (void *)m;
2636#line 575
2637 memset(__cil_tmp2, 0, 80UL);
2638#line 576
2639 __cil_tmp3 = (struct list_head *)m;
2640#line 576
2641 INIT_LIST_HEAD(__cil_tmp3);
2642 }
2643#line 577
2644 return;
2645}
2646}
2647#line 580 "include/linux/spi/spi.h"
2648__inline static void spi_message_add_tail(struct spi_transfer *t , struct spi_message *m )
2649{ unsigned long __cil_tmp3 ;
2650 unsigned long __cil_tmp4 ;
2651 struct list_head *__cil_tmp5 ;
2652 struct list_head *__cil_tmp6 ;
2653
2654 {
2655 {
2656#line 582
2657 __cil_tmp3 = (unsigned long )t;
2658#line 582
2659 __cil_tmp4 = __cil_tmp3 + 48;
2660#line 582
2661 __cil_tmp5 = (struct list_head *)__cil_tmp4;
2662#line 582
2663 __cil_tmp6 = (struct list_head *)m;
2664#line 582
2665 list_add_tail(__cil_tmp5, __cil_tmp6);
2666 }
2667#line 583
2668 return;
2669}
2670}
2671#line 630
2672extern int spi_sync(struct spi_device * , struct spi_message * ) ;
2673#line 646 "include/linux/spi/spi.h"
2674__inline static int spi_write(struct spi_device *spi , void const *buf , size_t len )
2675{ struct spi_transfer t ;
2676 struct spi_message m ;
2677 int tmp ;
2678 struct spi_transfer *__cil_tmp7 ;
2679 unsigned long __cil_tmp8 ;
2680 unsigned long __cil_tmp9 ;
2681 unsigned long __cil_tmp10 ;
2682 unsigned long __cil_tmp11 ;
2683 unsigned long __cil_tmp12 ;
2684 unsigned long __cil_tmp13 ;
2685 unsigned long __cil_tmp14 ;
2686 unsigned long __cil_tmp15 ;
2687 unsigned long __cil_tmp16 ;
2688 unsigned long __cil_tmp17 ;
2689 unsigned long __cil_tmp18 ;
2690
2691 {
2692 {
2693#line 648
2694 __cil_tmp7 = & t;
2695#line 648
2696 *((void const **)__cil_tmp7) = buf;
2697#line 648
2698 __cil_tmp8 = (unsigned long )(& t) + 8;
2699#line 648
2700 *((void **)__cil_tmp8) = (void *)0;
2701#line 648
2702 __cil_tmp9 = (unsigned long )(& t) + 16;
2703#line 648
2704 *((unsigned int *)__cil_tmp9) = (unsigned int )len;
2705#line 648
2706 __cil_tmp10 = (unsigned long )(& t) + 24;
2707#line 648
2708 *((dma_addr_t *)__cil_tmp10) = 0ULL;
2709#line 648
2710 __cil_tmp11 = (unsigned long )(& t) + 32;
2711#line 648
2712 *((dma_addr_t *)__cil_tmp11) = 0ULL;
2713#line 648
2714 __cil_tmp12 = (unsigned long )(& t) + 40;
2715#line 648
2716 *((unsigned char *)__cil_tmp12) = (unsigned char)0;
2717#line 648
2718 __cil_tmp13 = (unsigned long )(& t) + 41;
2719#line 648
2720 *((u8 *)__cil_tmp13) = (unsigned char)0;
2721#line 648
2722 __cil_tmp14 = (unsigned long )(& t) + 42;
2723#line 648
2724 *((u16 *)__cil_tmp14) = (unsigned short)0;
2725#line 648
2726 __cil_tmp15 = (unsigned long )(& t) + 44;
2727#line 648
2728 *((u32 *)__cil_tmp15) = 0U;
2729#line 648
2730 __cil_tmp16 = (unsigned long )(& t) + 48;
2731#line 648
2732 *((struct list_head **)__cil_tmp16) = (struct list_head *)0;
2733#line 648
2734 __cil_tmp17 = 48 + 8;
2735#line 648
2736 __cil_tmp18 = (unsigned long )(& t) + __cil_tmp17;
2737#line 648
2738 *((struct list_head **)__cil_tmp18) = (struct list_head *)0;
2739#line 654
2740 spi_message_init(& m);
2741#line 655
2742 spi_message_add_tail(& t, & m);
2743#line 656
2744 tmp = spi_sync(spi, & m);
2745 }
2746#line 656
2747 return (tmp);
2748}
2749}
2750#line 54 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
2751static int to_gpio_num(struct device_attribute *attr ) ;
2752#line 56 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
2753__inline static int tle62x0_write(struct tle62x0_state *st )
2754{ unsigned char *buff ;
2755 unsigned int gpio_state ;
2756 struct _ddebug descriptor ;
2757 long tmp ;
2758 unsigned long tmp___0 ;
2759 int tmp___1 ;
2760 unsigned long __cil_tmp8 ;
2761 unsigned long __cil_tmp9 ;
2762 unsigned char (*__cil_tmp10)[4U] ;
2763 unsigned long __cil_tmp11 ;
2764 unsigned long __cil_tmp12 ;
2765 unsigned long __cil_tmp13 ;
2766 unsigned long __cil_tmp14 ;
2767 unsigned int __cil_tmp15 ;
2768 unsigned char *__cil_tmp16 ;
2769 unsigned int __cil_tmp17 ;
2770 unsigned char *__cil_tmp18 ;
2771 unsigned char *__cil_tmp19 ;
2772 struct _ddebug *__cil_tmp20 ;
2773 unsigned long __cil_tmp21 ;
2774 unsigned long __cil_tmp22 ;
2775 unsigned long __cil_tmp23 ;
2776 unsigned long __cil_tmp24 ;
2777 unsigned long __cil_tmp25 ;
2778 unsigned long __cil_tmp26 ;
2779 unsigned char __cil_tmp27 ;
2780 long __cil_tmp28 ;
2781 long __cil_tmp29 ;
2782 struct spi_device *__cil_tmp30 ;
2783 struct device *__cil_tmp31 ;
2784 struct device const *__cil_tmp32 ;
2785 unsigned char __cil_tmp33 ;
2786 int __cil_tmp34 ;
2787 unsigned char *__cil_tmp35 ;
2788 unsigned char __cil_tmp36 ;
2789 int __cil_tmp37 ;
2790 unsigned char *__cil_tmp38 ;
2791 unsigned char __cil_tmp39 ;
2792 int __cil_tmp40 ;
2793 unsigned long __cil_tmp41 ;
2794 unsigned long __cil_tmp42 ;
2795 unsigned int __cil_tmp43 ;
2796 struct spi_device *__cil_tmp44 ;
2797 void const *__cil_tmp45 ;
2798
2799 {
2800#line 58
2801 __cil_tmp8 = (unsigned long )st;
2802#line 58
2803 __cil_tmp9 = __cil_tmp8 + 184;
2804#line 58
2805 __cil_tmp10 = (unsigned char (*)[4U])__cil_tmp9;
2806#line 58
2807 buff = (unsigned char *)__cil_tmp10;
2808#line 59
2809 __cil_tmp11 = (unsigned long )st;
2810#line 59
2811 __cil_tmp12 = __cil_tmp11 + 180;
2812#line 59
2813 gpio_state = *((unsigned int *)__cil_tmp12);
2814#line 61
2815 *buff = (unsigned char)255;
2816 {
2817#line 63
2818 __cil_tmp13 = (unsigned long )st;
2819#line 63
2820 __cil_tmp14 = __cil_tmp13 + 176;
2821#line 63
2822 __cil_tmp15 = *((unsigned int *)__cil_tmp14);
2823#line 63
2824 if (__cil_tmp15 == 16U) {
2825#line 64
2826 __cil_tmp16 = buff + 1UL;
2827#line 64
2828 __cil_tmp17 = gpio_state >> 8;
2829#line 64
2830 *__cil_tmp16 = (unsigned char )__cil_tmp17;
2831#line 65
2832 __cil_tmp18 = buff + 2UL;
2833#line 65
2834 *__cil_tmp18 = (unsigned char )gpio_state;
2835 } else {
2836#line 67
2837 __cil_tmp19 = buff + 1UL;
2838#line 67
2839 *__cil_tmp19 = (unsigned char )gpio_state;
2840 }
2841 }
2842 {
2843#line 70
2844 __cil_tmp20 = & descriptor;
2845#line 70
2846 *((char const **)__cil_tmp20) = "spi_tle62x0";
2847#line 70
2848 __cil_tmp21 = (unsigned long )(& descriptor) + 8;
2849#line 70
2850 *((char const **)__cil_tmp21) = "tle62x0_write";
2851#line 70
2852 __cil_tmp22 = (unsigned long )(& descriptor) + 16;
2853#line 70
2854 *((char const **)__cil_tmp22) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p";
2855#line 70
2856 __cil_tmp23 = (unsigned long )(& descriptor) + 24;
2857#line 70
2858 *((char const **)__cil_tmp23) = "buff %02x,%02x,%02x\n";
2859#line 70
2860 __cil_tmp24 = (unsigned long )(& descriptor) + 32;
2861#line 70
2862 *((unsigned int *)__cil_tmp24) = 71U;
2863#line 70
2864 __cil_tmp25 = (unsigned long )(& descriptor) + 35;
2865#line 70
2866 *((unsigned char *)__cil_tmp25) = (unsigned char)1;
2867#line 70
2868 __cil_tmp26 = (unsigned long )(& descriptor) + 35;
2869#line 70
2870 __cil_tmp27 = *((unsigned char *)__cil_tmp26);
2871#line 70
2872 __cil_tmp28 = (long )__cil_tmp27;
2873#line 70
2874 __cil_tmp29 = __cil_tmp28 & 1L;
2875#line 70
2876 tmp = __builtin_expect(__cil_tmp29, 0L);
2877 }
2878#line 70
2879 if (tmp != 0L) {
2880 {
2881#line 70
2882 __cil_tmp30 = *((struct spi_device **)st);
2883#line 70
2884 __cil_tmp31 = (struct device *)__cil_tmp30;
2885#line 70
2886 __cil_tmp32 = (struct device const *)__cil_tmp31;
2887#line 70
2888 __cil_tmp33 = *buff;
2889#line 70
2890 __cil_tmp34 = (int )__cil_tmp33;
2891#line 70
2892 __cil_tmp35 = buff + 1UL;
2893#line 70
2894 __cil_tmp36 = *__cil_tmp35;
2895#line 70
2896 __cil_tmp37 = (int )__cil_tmp36;
2897#line 70
2898 __cil_tmp38 = buff + 2UL;
2899#line 70
2900 __cil_tmp39 = *__cil_tmp38;
2901#line 70
2902 __cil_tmp40 = (int )__cil_tmp39;
2903#line 70
2904 __dynamic_dev_dbg(& descriptor, __cil_tmp32, "buff %02x,%02x,%02x\n", __cil_tmp34,
2905 __cil_tmp37, __cil_tmp40);
2906 }
2907 } else {
2908
2909 }
2910 {
2911#line 73
2912 __cil_tmp41 = (unsigned long )st;
2913#line 73
2914 __cil_tmp42 = __cil_tmp41 + 176;
2915#line 73
2916 __cil_tmp43 = *((unsigned int *)__cil_tmp42);
2917#line 73
2918 if (__cil_tmp43 == 16U) {
2919#line 73
2920 tmp___0 = 3UL;
2921 } else {
2922#line 73
2923 tmp___0 = 2UL;
2924 }
2925 }
2926 {
2927#line 73
2928 __cil_tmp44 = *((struct spi_device **)st);
2929#line 73
2930 __cil_tmp45 = (void const *)buff;
2931#line 73
2932 tmp___1 = spi_write(__cil_tmp44, __cil_tmp45, tmp___0);
2933 }
2934#line 73
2935 return (tmp___1);
2936}
2937}
2938#line 76 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
2939__inline static int tle62x0_read(struct tle62x0_state *st )
2940{ unsigned char *txbuff ;
2941 struct spi_transfer xfer ;
2942 struct spi_message msg ;
2943 int tmp ;
2944 unsigned long __cil_tmp6 ;
2945 unsigned long __cil_tmp7 ;
2946 unsigned char (*__cil_tmp8)[4U] ;
2947 struct spi_transfer *__cil_tmp9 ;
2948 unsigned long __cil_tmp10 ;
2949 unsigned long __cil_tmp11 ;
2950 unsigned long __cil_tmp12 ;
2951 unsigned char (*__cil_tmp13)[4U] ;
2952 unsigned long __cil_tmp14 ;
2953 unsigned long __cil_tmp15 ;
2954 unsigned long __cil_tmp16 ;
2955 unsigned int __cil_tmp17 ;
2956 unsigned int __cil_tmp18 ;
2957 unsigned long __cil_tmp19 ;
2958 unsigned long __cil_tmp20 ;
2959 unsigned long __cil_tmp21 ;
2960 unsigned long __cil_tmp22 ;
2961 unsigned long __cil_tmp23 ;
2962 unsigned long __cil_tmp24 ;
2963 unsigned long __cil_tmp25 ;
2964 unsigned long __cil_tmp26 ;
2965 unsigned long __cil_tmp27 ;
2966 unsigned char *__cil_tmp28 ;
2967 unsigned char *__cil_tmp29 ;
2968 unsigned char *__cil_tmp30 ;
2969 struct spi_device *__cil_tmp31 ;
2970
2971 {
2972 {
2973#line 78
2974 __cil_tmp6 = (unsigned long )st;
2975#line 78
2976 __cil_tmp7 = __cil_tmp6 + 184;
2977#line 78
2978 __cil_tmp8 = (unsigned char (*)[4U])__cil_tmp7;
2979#line 78
2980 txbuff = (unsigned char *)__cil_tmp8;
2981#line 79
2982 __cil_tmp9 = & xfer;
2983#line 79
2984 *((void const **)__cil_tmp9) = (void const *)txbuff;
2985#line 79
2986 __cil_tmp10 = (unsigned long )(& xfer) + 8;
2987#line 79
2988 __cil_tmp11 = (unsigned long )st;
2989#line 79
2990 __cil_tmp12 = __cil_tmp11 + 188;
2991#line 79
2992 __cil_tmp13 = (unsigned char (*)[4U])__cil_tmp12;
2993#line 79
2994 *((void **)__cil_tmp10) = (void *)__cil_tmp13;
2995#line 79
2996 __cil_tmp14 = (unsigned long )(& xfer) + 16;
2997#line 79
2998 __cil_tmp15 = (unsigned long )st;
2999#line 79
3000 __cil_tmp16 = __cil_tmp15 + 176;
3001#line 79
3002 __cil_tmp17 = *((unsigned int *)__cil_tmp16);
3003#line 79
3004 __cil_tmp18 = __cil_tmp17 * 2U;
3005#line 79
3006 *((unsigned int *)__cil_tmp14) = __cil_tmp18 / 8U;
3007#line 79
3008 __cil_tmp19 = (unsigned long )(& xfer) + 24;
3009#line 79
3010 *((dma_addr_t *)__cil_tmp19) = 0ULL;
3011#line 79
3012 __cil_tmp20 = (unsigned long )(& xfer) + 32;
3013#line 79
3014 *((dma_addr_t *)__cil_tmp20) = 0ULL;
3015#line 79
3016 __cil_tmp21 = (unsigned long )(& xfer) + 40;
3017#line 79
3018 *((unsigned char *)__cil_tmp21) = (unsigned char)0;
3019#line 79
3020 __cil_tmp22 = (unsigned long )(& xfer) + 41;
3021#line 79
3022 *((u8 *)__cil_tmp22) = (unsigned char)0;
3023#line 79
3024 __cil_tmp23 = (unsigned long )(& xfer) + 42;
3025#line 79
3026 *((u16 *)__cil_tmp23) = (unsigned short)0;
3027#line 79
3028 __cil_tmp24 = (unsigned long )(& xfer) + 44;
3029#line 79
3030 *((u32 *)__cil_tmp24) = 0U;
3031#line 79
3032 __cil_tmp25 = (unsigned long )(& xfer) + 48;
3033#line 79
3034 *((struct list_head **)__cil_tmp25) = (struct list_head *)0;
3035#line 79
3036 __cil_tmp26 = 48 + 8;
3037#line 79
3038 __cil_tmp27 = (unsigned long )(& xfer) + __cil_tmp26;
3039#line 79
3040 *((struct list_head **)__cil_tmp27) = (struct list_head *)0;
3041#line 86
3042 *txbuff = (unsigned char)0;
3043#line 87
3044 __cil_tmp28 = txbuff + 1UL;
3045#line 87
3046 *__cil_tmp28 = (unsigned char)0;
3047#line 88
3048 __cil_tmp29 = txbuff + 2UL;
3049#line 88
3050 *__cil_tmp29 = (unsigned char)0;
3051#line 89
3052 __cil_tmp30 = txbuff + 3UL;
3053#line 89
3054 *__cil_tmp30 = (unsigned char)0;
3055#line 91
3056 spi_message_init(& msg);
3057#line 92
3058 spi_message_add_tail(& xfer, & msg);
3059#line 94
3060 __cil_tmp31 = *((struct spi_device **)st);
3061#line 94
3062 tmp = spi_sync(__cil_tmp31, & msg);
3063 }
3064#line 94
3065 return (tmp);
3066}
3067}
3068#line 97 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3069static unsigned char *decode_fault(unsigned int fault_code )
3070{
3071
3072 {
3073#line 99
3074 fault_code = fault_code & 3U;
3075#line 102
3076 if ((int )fault_code == 3) {
3077#line 102
3078 goto case_3;
3079 } else
3080#line 104
3081 if ((int )fault_code == 2) {
3082#line 104
3083 goto case_2;
3084 } else
3085#line 106
3086 if ((int )fault_code == 1) {
3087#line 106
3088 goto case_1;
3089 } else
3090#line 108
3091 if ((int )fault_code == 0) {
3092#line 108
3093 goto case_0;
3094 } else
3095#line 101
3096 if (0) {
3097 case_3: ;
3098#line 103
3099 return ((unsigned char *)"N");
3100 case_2: ;
3101#line 105
3102 return ((unsigned char *)"V");
3103 case_1: ;
3104#line 107
3105 return ((unsigned char *)"O");
3106 case_0: ;
3107#line 109
3108 return ((unsigned char *)"G");
3109 } else {
3110 switch_break: ;
3111 }
3112#line 112
3113 return ((unsigned char *)"?");
3114}
3115}
3116#line 115 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3117static ssize_t tle62x0_status_show(struct device *dev , struct device_attribute *attr ,
3118 char *buf )
3119{ struct tle62x0_state *st ;
3120 void *tmp ;
3121 char *bp ;
3122 unsigned char *buff ;
3123 unsigned long fault ;
3124 int ptr ;
3125 int ret ;
3126 struct _ddebug descriptor ;
3127 long tmp___0 ;
3128 struct _ddebug descriptor___0 ;
3129 long tmp___1 ;
3130 unsigned char *tmp___2 ;
3131 int tmp___3 ;
3132 char *tmp___4 ;
3133 struct device const *__cil_tmp18 ;
3134 unsigned long __cil_tmp19 ;
3135 unsigned long __cil_tmp20 ;
3136 unsigned char (*__cil_tmp21)[4U] ;
3137 unsigned long __cil_tmp22 ;
3138 unsigned long __cil_tmp23 ;
3139 struct mutex *__cil_tmp24 ;
3140 struct _ddebug *__cil_tmp25 ;
3141 unsigned long __cil_tmp26 ;
3142 unsigned long __cil_tmp27 ;
3143 unsigned long __cil_tmp28 ;
3144 unsigned long __cil_tmp29 ;
3145 unsigned long __cil_tmp30 ;
3146 unsigned long __cil_tmp31 ;
3147 unsigned char __cil_tmp32 ;
3148 long __cil_tmp33 ;
3149 long __cil_tmp34 ;
3150 struct device const *__cil_tmp35 ;
3151 unsigned long __cil_tmp36 ;
3152 unsigned long __cil_tmp37 ;
3153 struct mutex *__cil_tmp38 ;
3154 unsigned long __cil_tmp39 ;
3155 unsigned char *__cil_tmp40 ;
3156 unsigned char __cil_tmp41 ;
3157 unsigned long __cil_tmp42 ;
3158 struct _ddebug *__cil_tmp43 ;
3159 unsigned long __cil_tmp44 ;
3160 unsigned long __cil_tmp45 ;
3161 unsigned long __cil_tmp46 ;
3162 unsigned long __cil_tmp47 ;
3163 unsigned long __cil_tmp48 ;
3164 unsigned long __cil_tmp49 ;
3165 unsigned char __cil_tmp50 ;
3166 long __cil_tmp51 ;
3167 long __cil_tmp52 ;
3168 struct device const *__cil_tmp53 ;
3169 unsigned long __cil_tmp54 ;
3170 unsigned char *__cil_tmp55 ;
3171 unsigned char __cil_tmp56 ;
3172 int __cil_tmp57 ;
3173 unsigned long __cil_tmp58 ;
3174 unsigned long __cil_tmp59 ;
3175 unsigned int __cil_tmp60 ;
3176 unsigned int __cil_tmp61 ;
3177 unsigned int __cil_tmp62 ;
3178 unsigned int __cil_tmp63 ;
3179 int __cil_tmp64 ;
3180 unsigned long __cil_tmp65 ;
3181 unsigned int __cil_tmp66 ;
3182 unsigned long __cil_tmp67 ;
3183 unsigned long __cil_tmp68 ;
3184 unsigned long __cil_tmp69 ;
3185 unsigned int __cil_tmp70 ;
3186 unsigned int __cil_tmp71 ;
3187 unsigned long __cil_tmp72 ;
3188 unsigned long __cil_tmp73 ;
3189 struct mutex *__cil_tmp74 ;
3190 long __cil_tmp75 ;
3191 long __cil_tmp76 ;
3192
3193 {
3194 {
3195#line 118
3196 __cil_tmp18 = (struct device const *)dev;
3197#line 118
3198 tmp = dev_get_drvdata(__cil_tmp18);
3199#line 118
3200 st = (struct tle62x0_state *)tmp;
3201#line 119
3202 bp = buf;
3203#line 120
3204 __cil_tmp19 = (unsigned long )st;
3205#line 120
3206 __cil_tmp20 = __cil_tmp19 + 188;
3207#line 120
3208 __cil_tmp21 = (unsigned char (*)[4U])__cil_tmp20;
3209#line 120
3210 buff = (unsigned char *)__cil_tmp21;
3211#line 121
3212 fault = 0UL;
3213#line 125
3214 __cil_tmp22 = (unsigned long )st;
3215#line 125
3216 __cil_tmp23 = __cil_tmp22 + 8;
3217#line 125
3218 __cil_tmp24 = (struct mutex *)__cil_tmp23;
3219#line 125
3220 mutex_lock_nested(__cil_tmp24, 0U);
3221#line 126
3222 ret = tle62x0_read(st);
3223#line 127
3224 __cil_tmp25 = & descriptor;
3225#line 127
3226 *((char const **)__cil_tmp25) = "spi_tle62x0";
3227#line 127
3228 __cil_tmp26 = (unsigned long )(& descriptor) + 8;
3229#line 127
3230 *((char const **)__cil_tmp26) = "tle62x0_status_show";
3231#line 127
3232 __cil_tmp27 = (unsigned long )(& descriptor) + 16;
3233#line 127
3234 *((char const **)__cil_tmp27) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p";
3235#line 127
3236 __cil_tmp28 = (unsigned long )(& descriptor) + 24;
3237#line 127
3238 *((char const **)__cil_tmp28) = "tle62x0_read() returned %d\n";
3239#line 127
3240 __cil_tmp29 = (unsigned long )(& descriptor) + 32;
3241#line 127
3242 *((unsigned int *)__cil_tmp29) = 127U;
3243#line 127
3244 __cil_tmp30 = (unsigned long )(& descriptor) + 35;
3245#line 127
3246 *((unsigned char *)__cil_tmp30) = (unsigned char)1;
3247#line 127
3248 __cil_tmp31 = (unsigned long )(& descriptor) + 35;
3249#line 127
3250 __cil_tmp32 = *((unsigned char *)__cil_tmp31);
3251#line 127
3252 __cil_tmp33 = (long )__cil_tmp32;
3253#line 127
3254 __cil_tmp34 = __cil_tmp33 & 1L;
3255#line 127
3256 tmp___0 = __builtin_expect(__cil_tmp34, 0L);
3257 }
3258#line 127
3259 if (tmp___0 != 0L) {
3260 {
3261#line 127
3262 __cil_tmp35 = (struct device const *)dev;
3263#line 127
3264 __dynamic_dev_dbg(& descriptor, __cil_tmp35, "tle62x0_read() returned %d\n", ret);
3265 }
3266 } else {
3267
3268 }
3269#line 128
3270 if (ret < 0) {
3271 {
3272#line 129
3273 __cil_tmp36 = (unsigned long )st;
3274#line 129
3275 __cil_tmp37 = __cil_tmp36 + 8;
3276#line 129
3277 __cil_tmp38 = (struct mutex *)__cil_tmp37;
3278#line 129
3279 mutex_unlock(__cil_tmp38);
3280 }
3281#line 130
3282 return ((ssize_t )ret);
3283 } else {
3284
3285 }
3286#line 133
3287 ptr = 0;
3288#line 133
3289 goto ldv_18743;
3290 ldv_18742:
3291 {
3292#line 134
3293 fault = fault << 8;
3294#line 135
3295 __cil_tmp39 = (unsigned long )ptr;
3296#line 135
3297 __cil_tmp40 = buff + __cil_tmp39;
3298#line 135
3299 __cil_tmp41 = *__cil_tmp40;
3300#line 135
3301 __cil_tmp42 = (unsigned long )__cil_tmp41;
3302#line 135
3303 fault = __cil_tmp42 | fault;
3304#line 137
3305 __cil_tmp43 = & descriptor___0;
3306#line 137
3307 *((char const **)__cil_tmp43) = "spi_tle62x0";
3308#line 137
3309 __cil_tmp44 = (unsigned long )(& descriptor___0) + 8;
3310#line 137
3311 *((char const **)__cil_tmp44) = "tle62x0_status_show";
3312#line 137
3313 __cil_tmp45 = (unsigned long )(& descriptor___0) + 16;
3314#line 137
3315 *((char const **)__cil_tmp45) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p";
3316#line 137
3317 __cil_tmp46 = (unsigned long )(& descriptor___0) + 24;
3318#line 137
3319 *((char const **)__cil_tmp46) = "byte %d is %02x\n";
3320#line 137
3321 __cil_tmp47 = (unsigned long )(& descriptor___0) + 32;
3322#line 137
3323 *((unsigned int *)__cil_tmp47) = 137U;
3324#line 137
3325 __cil_tmp48 = (unsigned long )(& descriptor___0) + 35;
3326#line 137
3327 *((unsigned char *)__cil_tmp48) = (unsigned char)1;
3328#line 137
3329 __cil_tmp49 = (unsigned long )(& descriptor___0) + 35;
3330#line 137
3331 __cil_tmp50 = *((unsigned char *)__cil_tmp49);
3332#line 137
3333 __cil_tmp51 = (long )__cil_tmp50;
3334#line 137
3335 __cil_tmp52 = __cil_tmp51 & 1L;
3336#line 137
3337 tmp___1 = __builtin_expect(__cil_tmp52, 0L);
3338 }
3339#line 137
3340 if (tmp___1 != 0L) {
3341 {
3342#line 137
3343 __cil_tmp53 = (struct device const *)dev;
3344#line 137
3345 __cil_tmp54 = (unsigned long )ptr;
3346#line 137
3347 __cil_tmp55 = buff + __cil_tmp54;
3348#line 137
3349 __cil_tmp56 = *__cil_tmp55;
3350#line 137
3351 __cil_tmp57 = (int )__cil_tmp56;
3352#line 137
3353 __dynamic_dev_dbg(& descriptor___0, __cil_tmp53, "byte %d is %02x\n", ptr, __cil_tmp57);
3354 }
3355 } else {
3356
3357 }
3358#line 133
3359 ptr = ptr + 1;
3360 ldv_18743: ;
3361 {
3362#line 133
3363 __cil_tmp58 = (unsigned long )st;
3364#line 133
3365 __cil_tmp59 = __cil_tmp58 + 176;
3366#line 133
3367 __cil_tmp60 = *((unsigned int *)__cil_tmp59);
3368#line 133
3369 __cil_tmp61 = __cil_tmp60 * 2U;
3370#line 133
3371 __cil_tmp62 = __cil_tmp61 / 8U;
3372#line 133
3373 __cil_tmp63 = (unsigned int )ptr;
3374#line 133
3375 if (__cil_tmp63 < __cil_tmp62) {
3376#line 134
3377 goto ldv_18742;
3378 } else {
3379#line 136
3380 goto ldv_18744;
3381 }
3382 }
3383 ldv_18744:
3384#line 140
3385 ptr = 0;
3386#line 140
3387 goto ldv_18746;
3388 ldv_18745:
3389 {
3390#line 141
3391 __cil_tmp64 = ptr * 2;
3392#line 141
3393 __cil_tmp65 = fault >> __cil_tmp64;
3394#line 141
3395 __cil_tmp66 = (unsigned int )__cil_tmp65;
3396#line 141
3397 tmp___2 = decode_fault(__cil_tmp66);
3398#line 141
3399 tmp___3 = sprintf(bp, "%s ", tmp___2);
3400#line 141
3401 __cil_tmp67 = (unsigned long )tmp___3;
3402#line 141
3403 bp = bp + __cil_tmp67;
3404#line 140
3405 ptr = ptr + 1;
3406 }
3407 ldv_18746: ;
3408 {
3409#line 140
3410 __cil_tmp68 = (unsigned long )st;
3411#line 140
3412 __cil_tmp69 = __cil_tmp68 + 176;
3413#line 140
3414 __cil_tmp70 = *((unsigned int *)__cil_tmp69);
3415#line 140
3416 __cil_tmp71 = (unsigned int )ptr;
3417#line 140
3418 if (__cil_tmp71 < __cil_tmp70) {
3419#line 141
3420 goto ldv_18745;
3421 } else {
3422#line 143
3423 goto ldv_18747;
3424 }
3425 }
3426 ldv_18747:
3427 {
3428#line 144
3429 tmp___4 = bp;
3430#line 144
3431 bp = bp + 1;
3432#line 144
3433 *tmp___4 = (char)10;
3434#line 146
3435 __cil_tmp72 = (unsigned long )st;
3436#line 146
3437 __cil_tmp73 = __cil_tmp72 + 8;
3438#line 146
3439 __cil_tmp74 = (struct mutex *)__cil_tmp73;
3440#line 146
3441 mutex_unlock(__cil_tmp74);
3442 }
3443 {
3444#line 147
3445 __cil_tmp75 = (long )buf;
3446#line 147
3447 __cil_tmp76 = (long )bp;
3448#line 147
3449 return (__cil_tmp76 - __cil_tmp75);
3450 }
3451}
3452}
3453#line 150 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3454static struct device_attribute dev_attr_status_show = {{"status_show", (umode_t )292U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3455 {(char)0}, {(char)0},
3456 {(char)0}, {(char)0},
3457 {(char)0}, {(char)0}}}},
3458 & tle62x0_status_show, (ssize_t (*)(struct device * , struct device_attribute * ,
3459 char const * , size_t ))0};
3460#line 152 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3461static ssize_t tle62x0_gpio_show(struct device *dev , struct device_attribute *attr ,
3462 char *buf )
3463{ struct tle62x0_state *st ;
3464 void *tmp ;
3465 int gpio_num ;
3466 int tmp___0 ;
3467 int value ;
3468 int tmp___1 ;
3469 struct device const *__cil_tmp10 ;
3470 unsigned long __cil_tmp11 ;
3471 unsigned long __cil_tmp12 ;
3472 struct mutex *__cil_tmp13 ;
3473 unsigned long __cil_tmp14 ;
3474 unsigned long __cil_tmp15 ;
3475 unsigned int __cil_tmp16 ;
3476 unsigned int __cil_tmp17 ;
3477 int __cil_tmp18 ;
3478 unsigned long __cil_tmp19 ;
3479 unsigned long __cil_tmp20 ;
3480 struct mutex *__cil_tmp21 ;
3481
3482 {
3483 {
3484#line 155
3485 __cil_tmp10 = (struct device const *)dev;
3486#line 155
3487 tmp = dev_get_drvdata(__cil_tmp10);
3488#line 155
3489 st = (struct tle62x0_state *)tmp;
3490#line 156
3491 tmp___0 = to_gpio_num(attr);
3492#line 156
3493 gpio_num = tmp___0;
3494#line 159
3495 __cil_tmp11 = (unsigned long )st;
3496#line 159
3497 __cil_tmp12 = __cil_tmp11 + 8;
3498#line 159
3499 __cil_tmp13 = (struct mutex *)__cil_tmp12;
3500#line 159
3501 mutex_lock_nested(__cil_tmp13, 0U);
3502#line 160
3503 __cil_tmp14 = (unsigned long )st;
3504#line 160
3505 __cil_tmp15 = __cil_tmp14 + 180;
3506#line 160
3507 __cil_tmp16 = *((unsigned int *)__cil_tmp15);
3508#line 160
3509 __cil_tmp17 = __cil_tmp16 >> gpio_num;
3510#line 160
3511 __cil_tmp18 = (int )__cil_tmp17;
3512#line 160
3513 value = __cil_tmp18 & 1;
3514#line 161
3515 __cil_tmp19 = (unsigned long )st;
3516#line 161
3517 __cil_tmp20 = __cil_tmp19 + 8;
3518#line 161
3519 __cil_tmp21 = (struct mutex *)__cil_tmp20;
3520#line 161
3521 mutex_unlock(__cil_tmp21);
3522#line 163
3523 tmp___1 = snprintf(buf, 4096UL, "%d", value);
3524 }
3525#line 163
3526 return ((ssize_t )tmp___1);
3527}
3528}
3529#line 166 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3530static ssize_t tle62x0_gpio_store(struct device *dev , struct device_attribute *attr ,
3531 char const *buf , size_t len )
3532{ struct tle62x0_state *st ;
3533 void *tmp ;
3534 int gpio_num ;
3535 int tmp___0 ;
3536 unsigned long val ;
3537 char *endp ;
3538 struct _ddebug descriptor ;
3539 long tmp___1 ;
3540 struct device const *__cil_tmp13 ;
3541 char **__cil_tmp14 ;
3542 char *__cil_tmp15 ;
3543 char const *__cil_tmp16 ;
3544 unsigned long __cil_tmp17 ;
3545 unsigned long __cil_tmp18 ;
3546 struct _ddebug *__cil_tmp19 ;
3547 unsigned long __cil_tmp20 ;
3548 unsigned long __cil_tmp21 ;
3549 unsigned long __cil_tmp22 ;
3550 unsigned long __cil_tmp23 ;
3551 unsigned long __cil_tmp24 ;
3552 unsigned long __cil_tmp25 ;
3553 unsigned char __cil_tmp26 ;
3554 long __cil_tmp27 ;
3555 long __cil_tmp28 ;
3556 struct device const *__cil_tmp29 ;
3557 unsigned long __cil_tmp30 ;
3558 unsigned long __cil_tmp31 ;
3559 struct mutex *__cil_tmp32 ;
3560 unsigned long __cil_tmp33 ;
3561 unsigned long __cil_tmp34 ;
3562 int __cil_tmp35 ;
3563 unsigned int __cil_tmp36 ;
3564 unsigned long __cil_tmp37 ;
3565 unsigned long __cil_tmp38 ;
3566 unsigned int __cil_tmp39 ;
3567 unsigned long __cil_tmp40 ;
3568 unsigned long __cil_tmp41 ;
3569 int __cil_tmp42 ;
3570 int __cil_tmp43 ;
3571 unsigned int __cil_tmp44 ;
3572 unsigned long __cil_tmp45 ;
3573 unsigned long __cil_tmp46 ;
3574 unsigned int __cil_tmp47 ;
3575 unsigned long __cil_tmp48 ;
3576 unsigned long __cil_tmp49 ;
3577 struct mutex *__cil_tmp50 ;
3578
3579 {
3580 {
3581#line 170
3582 __cil_tmp13 = (struct device const *)dev;
3583#line 170
3584 tmp = dev_get_drvdata(__cil_tmp13);
3585#line 170
3586 st = (struct tle62x0_state *)tmp;
3587#line 171
3588 tmp___0 = to_gpio_num(attr);
3589#line 171
3590 gpio_num = tmp___0;
3591#line 175
3592 val = simple_strtoul(buf, & endp, 0U);
3593 }
3594 {
3595#line 176
3596 __cil_tmp14 = & endp;
3597#line 176
3598 __cil_tmp15 = *__cil_tmp14;
3599#line 176
3600 __cil_tmp16 = (char const *)__cil_tmp15;
3601#line 176
3602 __cil_tmp17 = (unsigned long )__cil_tmp16;
3603#line 176
3604 __cil_tmp18 = (unsigned long )buf;
3605#line 176
3606 if (__cil_tmp18 == __cil_tmp17) {
3607#line 177
3608 return (-22L);
3609 } else {
3610
3611 }
3612 }
3613 {
3614#line 179
3615 __cil_tmp19 = & descriptor;
3616#line 179
3617 *((char const **)__cil_tmp19) = "spi_tle62x0";
3618#line 179
3619 __cil_tmp20 = (unsigned long )(& descriptor) + 8;
3620#line 179
3621 *((char const **)__cil_tmp20) = "tle62x0_gpio_store";
3622#line 179
3623 __cil_tmp21 = (unsigned long )(& descriptor) + 16;
3624#line 179
3625 *((char const **)__cil_tmp21) = "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p";
3626#line 179
3627 __cil_tmp22 = (unsigned long )(& descriptor) + 24;
3628#line 179
3629 *((char const **)__cil_tmp22) = "setting gpio %d to %ld\n";
3630#line 179
3631 __cil_tmp23 = (unsigned long )(& descriptor) + 32;
3632#line 179
3633 *((unsigned int *)__cil_tmp23) = 179U;
3634#line 179
3635 __cil_tmp24 = (unsigned long )(& descriptor) + 35;
3636#line 179
3637 *((unsigned char *)__cil_tmp24) = (unsigned char)1;
3638#line 179
3639 __cil_tmp25 = (unsigned long )(& descriptor) + 35;
3640#line 179
3641 __cil_tmp26 = *((unsigned char *)__cil_tmp25);
3642#line 179
3643 __cil_tmp27 = (long )__cil_tmp26;
3644#line 179
3645 __cil_tmp28 = __cil_tmp27 & 1L;
3646#line 179
3647 tmp___1 = __builtin_expect(__cil_tmp28, 0L);
3648 }
3649#line 179
3650 if (tmp___1 != 0L) {
3651 {
3652#line 179
3653 __cil_tmp29 = (struct device const *)dev;
3654#line 179
3655 __dynamic_dev_dbg(& descriptor, __cil_tmp29, "setting gpio %d to %ld\n", gpio_num,
3656 val);
3657 }
3658 } else {
3659
3660 }
3661 {
3662#line 181
3663 __cil_tmp30 = (unsigned long )st;
3664#line 181
3665 __cil_tmp31 = __cil_tmp30 + 8;
3666#line 181
3667 __cil_tmp32 = (struct mutex *)__cil_tmp31;
3668#line 181
3669 mutex_lock_nested(__cil_tmp32, 0U);
3670 }
3671#line 183
3672 if (val != 0UL) {
3673#line 184
3674 __cil_tmp33 = (unsigned long )st;
3675#line 184
3676 __cil_tmp34 = __cil_tmp33 + 180;
3677#line 184
3678 __cil_tmp35 = 1 << gpio_num;
3679#line 184
3680 __cil_tmp36 = (unsigned int )__cil_tmp35;
3681#line 184
3682 __cil_tmp37 = (unsigned long )st;
3683#line 184
3684 __cil_tmp38 = __cil_tmp37 + 180;
3685#line 184
3686 __cil_tmp39 = *((unsigned int *)__cil_tmp38);
3687#line 184
3688 *((unsigned int *)__cil_tmp34) = __cil_tmp39 | __cil_tmp36;
3689 } else {
3690#line 186
3691 __cil_tmp40 = (unsigned long )st;
3692#line 186
3693 __cil_tmp41 = __cil_tmp40 + 180;
3694#line 186
3695 __cil_tmp42 = 1 << gpio_num;
3696#line 186
3697 __cil_tmp43 = ~ __cil_tmp42;
3698#line 186
3699 __cil_tmp44 = (unsigned int )__cil_tmp43;
3700#line 186
3701 __cil_tmp45 = (unsigned long )st;
3702#line 186
3703 __cil_tmp46 = __cil_tmp45 + 180;
3704#line 186
3705 __cil_tmp47 = *((unsigned int *)__cil_tmp46);
3706#line 186
3707 *((unsigned int *)__cil_tmp41) = __cil_tmp47 & __cil_tmp44;
3708 }
3709 {
3710#line 188
3711 tle62x0_write(st);
3712#line 189
3713 __cil_tmp48 = (unsigned long )st;
3714#line 189
3715 __cil_tmp49 = __cil_tmp48 + 8;
3716#line 189
3717 __cil_tmp50 = (struct mutex *)__cil_tmp49;
3718#line 189
3719 mutex_unlock(__cil_tmp50);
3720 }
3721#line 191
3722 return ((ssize_t )len);
3723}
3724}
3725#line 195 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3726static struct device_attribute dev_attr_gpio1 = {{"gpio1", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3727 {(char)0}, {(char)0},
3728 {(char)0}, {(char)0},
3729 {(char)0}, {(char)0}}}},
3730 & tle62x0_gpio_show, & tle62x0_gpio_store};
3731#line 197 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3732static struct device_attribute dev_attr_gpio2 = {{"gpio2", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3733 {(char)0}, {(char)0},
3734 {(char)0}, {(char)0},
3735 {(char)0}, {(char)0}}}},
3736 & tle62x0_gpio_show, & tle62x0_gpio_store};
3737#line 199 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3738static struct device_attribute dev_attr_gpio3 = {{"gpio3", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3739 {(char)0}, {(char)0},
3740 {(char)0}, {(char)0},
3741 {(char)0}, {(char)0}}}},
3742 & tle62x0_gpio_show, & tle62x0_gpio_store};
3743#line 201 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3744static struct device_attribute dev_attr_gpio4 = {{"gpio4", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3745 {(char)0}, {(char)0},
3746 {(char)0}, {(char)0},
3747 {(char)0}, {(char)0}}}},
3748 & tle62x0_gpio_show, & tle62x0_gpio_store};
3749#line 203 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3750static struct device_attribute dev_attr_gpio5 = {{"gpio5", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3751 {(char)0}, {(char)0},
3752 {(char)0}, {(char)0},
3753 {(char)0}, {(char)0}}}},
3754 & tle62x0_gpio_show, & tle62x0_gpio_store};
3755#line 205 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3756static struct device_attribute dev_attr_gpio6 = {{"gpio6", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3757 {(char)0}, {(char)0},
3758 {(char)0}, {(char)0},
3759 {(char)0}, {(char)0}}}},
3760 & tle62x0_gpio_show, & tle62x0_gpio_store};
3761#line 207 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3762static struct device_attribute dev_attr_gpio7 = {{"gpio7", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3763 {(char)0}, {(char)0},
3764 {(char)0}, {(char)0},
3765 {(char)0}, {(char)0}}}},
3766 & tle62x0_gpio_show, & tle62x0_gpio_store};
3767#line 209 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3768static struct device_attribute dev_attr_gpio8 = {{"gpio8", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3769 {(char)0}, {(char)0},
3770 {(char)0}, {(char)0},
3771 {(char)0}, {(char)0}}}},
3772 & tle62x0_gpio_show, & tle62x0_gpio_store};
3773#line 211 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3774static struct device_attribute dev_attr_gpio9 = {{"gpio9", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3775 {(char)0}, {(char)0},
3776 {(char)0}, {(char)0},
3777 {(char)0}, {(char)0}}}},
3778 & tle62x0_gpio_show, & tle62x0_gpio_store};
3779#line 213 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3780static struct device_attribute dev_attr_gpio10 = {{"gpio10", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3781 {(char)0}, {(char)0},
3782 {(char)0}, {(char)0},
3783 {(char)0}, {(char)0}}}},
3784 & tle62x0_gpio_show, & tle62x0_gpio_store};
3785#line 215 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3786static struct device_attribute dev_attr_gpio11 = {{"gpio11", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3787 {(char)0}, {(char)0},
3788 {(char)0}, {(char)0},
3789 {(char)0}, {(char)0}}}},
3790 & tle62x0_gpio_show, & tle62x0_gpio_store};
3791#line 217 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3792static struct device_attribute dev_attr_gpio12 = {{"gpio12", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3793 {(char)0}, {(char)0},
3794 {(char)0}, {(char)0},
3795 {(char)0}, {(char)0}}}},
3796 & tle62x0_gpio_show, & tle62x0_gpio_store};
3797#line 219 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3798static struct device_attribute dev_attr_gpio13 = {{"gpio13", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3799 {(char)0}, {(char)0},
3800 {(char)0}, {(char)0},
3801 {(char)0}, {(char)0}}}},
3802 & tle62x0_gpio_show, & tle62x0_gpio_store};
3803#line 221 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3804static struct device_attribute dev_attr_gpio14 = {{"gpio14", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3805 {(char)0}, {(char)0},
3806 {(char)0}, {(char)0},
3807 {(char)0}, {(char)0}}}},
3808 & tle62x0_gpio_show, & tle62x0_gpio_store};
3809#line 223 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3810static struct device_attribute dev_attr_gpio15 = {{"gpio15", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3811 {(char)0}, {(char)0},
3812 {(char)0}, {(char)0},
3813 {(char)0}, {(char)0}}}},
3814 & tle62x0_gpio_show, & tle62x0_gpio_store};
3815#line 225 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3816static struct device_attribute dev_attr_gpio16 = {{"gpio16", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0},
3817 {(char)0}, {(char)0},
3818 {(char)0}, {(char)0},
3819 {(char)0}, {(char)0}}}},
3820 & tle62x0_gpio_show, & tle62x0_gpio_store};
3821#line 227 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3822static struct device_attribute *gpio_attrs[16U] =
3823#line 227
3824 { & dev_attr_gpio1, & dev_attr_gpio2, & dev_attr_gpio3, & dev_attr_gpio4,
3825 & dev_attr_gpio5, & dev_attr_gpio6, & dev_attr_gpio7, & dev_attr_gpio8,
3826 & dev_attr_gpio9, & dev_attr_gpio10, & dev_attr_gpio11, & dev_attr_gpio12,
3827 & dev_attr_gpio13, & dev_attr_gpio14, & dev_attr_gpio15, & dev_attr_gpio16};
3828#line 246 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3829static int to_gpio_num(struct device_attribute *attr )
3830{ int ptr ;
3831 unsigned long __cil_tmp3 ;
3832 unsigned long __cil_tmp4 ;
3833 unsigned long __cil_tmp5 ;
3834 struct device_attribute *__cil_tmp6 ;
3835 unsigned long __cil_tmp7 ;
3836 unsigned int __cil_tmp8 ;
3837
3838 {
3839#line 250
3840 ptr = 0;
3841#line 250
3842 goto ldv_18793;
3843 ldv_18792: ;
3844 {
3845#line 251
3846 __cil_tmp3 = (unsigned long )attr;
3847#line 251
3848 __cil_tmp4 = ptr * 8UL;
3849#line 251
3850 __cil_tmp5 = (unsigned long )(gpio_attrs) + __cil_tmp4;
3851#line 251
3852 __cil_tmp6 = *((struct device_attribute **)__cil_tmp5);
3853#line 251
3854 __cil_tmp7 = (unsigned long )__cil_tmp6;
3855#line 251
3856 if (__cil_tmp7 == __cil_tmp3) {
3857#line 252
3858 return (ptr);
3859 } else {
3860
3861 }
3862 }
3863#line 250
3864 ptr = ptr + 1;
3865 ldv_18793: ;
3866 {
3867#line 250
3868 __cil_tmp8 = (unsigned int )ptr;
3869#line 250
3870 if (__cil_tmp8 <= 15U) {
3871#line 251
3872 goto ldv_18792;
3873 } else {
3874#line 253
3875 goto ldv_18794;
3876 }
3877 }
3878 ldv_18794: ;
3879#line 255
3880 return (-1);
3881}
3882}
3883#line 258 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
3884static int tle62x0_probe(struct spi_device *spi )
3885{ struct tle62x0_state *st ;
3886 struct tle62x0_pdata *pdata ;
3887 int ptr ;
3888 int ret ;
3889 void *tmp ;
3890 struct lock_class_key __key ;
3891 unsigned long __cil_tmp8 ;
3892 unsigned long __cil_tmp9 ;
3893 unsigned long __cil_tmp10 ;
3894 void *__cil_tmp11 ;
3895 struct tle62x0_pdata *__cil_tmp12 ;
3896 unsigned long __cil_tmp13 ;
3897 unsigned long __cil_tmp14 ;
3898 struct device *__cil_tmp15 ;
3899 struct device const *__cil_tmp16 ;
3900 struct tle62x0_state *__cil_tmp17 ;
3901 unsigned long __cil_tmp18 ;
3902 unsigned long __cil_tmp19 ;
3903 struct device *__cil_tmp20 ;
3904 struct device const *__cil_tmp21 ;
3905 unsigned long __cil_tmp22 ;
3906 unsigned long __cil_tmp23 ;
3907 unsigned long __cil_tmp24 ;
3908 unsigned long __cil_tmp25 ;
3909 unsigned long __cil_tmp26 ;
3910 unsigned long __cil_tmp27 ;
3911 unsigned long __cil_tmp28 ;
3912 unsigned long __cil_tmp29 ;
3913 struct mutex *__cil_tmp30 ;
3914 struct device *__cil_tmp31 ;
3915 struct device_attribute const *__cil_tmp32 ;
3916 struct device *__cil_tmp33 ;
3917 struct device const *__cil_tmp34 ;
3918 struct device *__cil_tmp35 ;
3919 unsigned long __cil_tmp36 ;
3920 unsigned long __cil_tmp37 ;
3921 struct device_attribute *__cil_tmp38 ;
3922 struct device_attribute const *__cil_tmp39 ;
3923 struct device *__cil_tmp40 ;
3924 struct device const *__cil_tmp41 ;
3925 unsigned long __cil_tmp42 ;
3926 unsigned long __cil_tmp43 ;
3927 unsigned int __cil_tmp44 ;
3928 unsigned int __cil_tmp45 ;
3929 void *__cil_tmp46 ;
3930 struct device *__cil_tmp47 ;
3931 unsigned long __cil_tmp48 ;
3932 unsigned long __cil_tmp49 ;
3933 struct device_attribute *__cil_tmp50 ;
3934 struct device_attribute const *__cil_tmp51 ;
3935 struct device *__cil_tmp52 ;
3936 struct device_attribute const *__cil_tmp53 ;
3937 void const *__cil_tmp54 ;
3938
3939 {
3940#line 265
3941 __cil_tmp8 = 0 + 280;
3942#line 265
3943 __cil_tmp9 = (unsigned long )spi;
3944#line 265
3945 __cil_tmp10 = __cil_tmp9 + __cil_tmp8;
3946#line 265
3947 __cil_tmp11 = *((void **)__cil_tmp10);
3948#line 265
3949 pdata = (struct tle62x0_pdata *)__cil_tmp11;
3950 {
3951#line 266
3952 __cil_tmp12 = (struct tle62x0_pdata *)0;
3953#line 266
3954 __cil_tmp13 = (unsigned long )__cil_tmp12;
3955#line 266
3956 __cil_tmp14 = (unsigned long )pdata;
3957#line 266
3958 if (__cil_tmp14 == __cil_tmp13) {
3959 {
3960#line 267
3961 __cil_tmp15 = (struct device *)spi;
3962#line 267
3963 __cil_tmp16 = (struct device const *)__cil_tmp15;
3964#line 267
3965 dev_err(__cil_tmp16, "no device data specified\n");
3966 }
3967#line 268
3968 return (-22);
3969 } else {
3970
3971 }
3972 }
3973 {
3974#line 271
3975 tmp = kzalloc(192UL, 208U);
3976#line 271
3977 st = (struct tle62x0_state *)tmp;
3978 }
3979 {
3980#line 272
3981 __cil_tmp17 = (struct tle62x0_state *)0;
3982#line 272
3983 __cil_tmp18 = (unsigned long )__cil_tmp17;
3984#line 272
3985 __cil_tmp19 = (unsigned long )st;
3986#line 272
3987 if (__cil_tmp19 == __cil_tmp18) {
3988 {
3989#line 273
3990 __cil_tmp20 = (struct device *)spi;
3991#line 273
3992 __cil_tmp21 = (struct device const *)__cil_tmp20;
3993#line 273
3994 dev_err(__cil_tmp21, "no memory for device state\n");
3995 }
3996#line 274
3997 return (-12);
3998 } else {
3999
4000 }
4001 }
4002 {
4003#line 277
4004 *((struct spi_device **)st) = spi;
4005#line 278
4006 __cil_tmp22 = (unsigned long )st;
4007#line 278
4008 __cil_tmp23 = __cil_tmp22 + 176;
4009#line 278
4010 __cil_tmp24 = (unsigned long )pdata;
4011#line 278
4012 __cil_tmp25 = __cil_tmp24 + 4;
4013#line 278
4014 *((unsigned int *)__cil_tmp23) = *((unsigned int *)__cil_tmp25);
4015#line 279
4016 __cil_tmp26 = (unsigned long )st;
4017#line 279
4018 __cil_tmp27 = __cil_tmp26 + 180;
4019#line 279
4020 *((unsigned int *)__cil_tmp27) = *((unsigned int *)pdata);
4021#line 281
4022 __cil_tmp28 = (unsigned long )st;
4023#line 281
4024 __cil_tmp29 = __cil_tmp28 + 8;
4025#line 281
4026 __cil_tmp30 = (struct mutex *)__cil_tmp29;
4027#line 281
4028 __mutex_init(__cil_tmp30, "&st->lock", & __key);
4029#line 283
4030 __cil_tmp31 = (struct device *)spi;
4031#line 283
4032 __cil_tmp32 = (struct device_attribute const *)(& dev_attr_status_show);
4033#line 283
4034 ret = device_create_file(__cil_tmp31, __cil_tmp32);
4035 }
4036#line 284
4037 if (ret != 0) {
4038 {
4039#line 285
4040 __cil_tmp33 = (struct device *)spi;
4041#line 285
4042 __cil_tmp34 = (struct device const *)__cil_tmp33;
4043#line 285
4044 dev_err(__cil_tmp34, "cannot create status attribute\n");
4045 }
4046#line 286
4047 goto err_status;
4048 } else {
4049
4050 }
4051#line 289
4052 ptr = 0;
4053#line 289
4054 goto ldv_18806;
4055 ldv_18805:
4056 {
4057#line 290
4058 __cil_tmp35 = (struct device *)spi;
4059#line 290
4060 __cil_tmp36 = ptr * 8UL;
4061#line 290
4062 __cil_tmp37 = (unsigned long )(gpio_attrs) + __cil_tmp36;
4063#line 290
4064 __cil_tmp38 = *((struct device_attribute **)__cil_tmp37);
4065#line 290
4066 __cil_tmp39 = (struct device_attribute const *)__cil_tmp38;
4067#line 290
4068 ret = device_create_file(__cil_tmp35, __cil_tmp39);
4069 }
4070#line 291
4071 if (ret != 0) {
4072 {
4073#line 292
4074 __cil_tmp40 = (struct device *)spi;
4075#line 292
4076 __cil_tmp41 = (struct device const *)__cil_tmp40;
4077#line 292
4078 dev_err(__cil_tmp41, "cannot create gpio attribute\n");
4079 }
4080#line 293
4081 goto err_gpios;
4082 } else {
4083
4084 }
4085#line 289
4086 ptr = ptr + 1;
4087 ldv_18806: ;
4088 {
4089#line 289
4090 __cil_tmp42 = (unsigned long )pdata;
4091#line 289
4092 __cil_tmp43 = __cil_tmp42 + 4;
4093#line 289
4094 __cil_tmp44 = *((unsigned int *)__cil_tmp43);
4095#line 289
4096 __cil_tmp45 = (unsigned int )ptr;
4097#line 289
4098 if (__cil_tmp45 < __cil_tmp44) {
4099#line 290
4100 goto ldv_18805;
4101 } else {
4102#line 292
4103 goto ldv_18807;
4104 }
4105 }
4106 ldv_18807:
4107 {
4108#line 298
4109 __cil_tmp46 = (void *)st;
4110#line 298
4111 spi_set_drvdata(spi, __cil_tmp46);
4112 }
4113#line 299
4114 return (0);
4115 err_gpios: ;
4116#line 302
4117 goto ldv_18809;
4118 ldv_18808:
4119 {
4120#line 303
4121 __cil_tmp47 = (struct device *)spi;
4122#line 303
4123 __cil_tmp48 = ptr * 8UL;
4124#line 303
4125 __cil_tmp49 = (unsigned long )(gpio_attrs) + __cil_tmp48;
4126#line 303
4127 __cil_tmp50 = *((struct device_attribute **)__cil_tmp49);
4128#line 303
4129 __cil_tmp51 = (struct device_attribute const *)__cil_tmp50;
4130#line 303
4131 device_remove_file(__cil_tmp47, __cil_tmp51);
4132 }
4133 ldv_18809:
4134#line 302
4135 ptr = ptr - 1;
4136#line 302
4137 if (ptr >= 0) {
4138#line 303
4139 goto ldv_18808;
4140 } else {
4141#line 305
4142 goto ldv_18810;
4143 }
4144 ldv_18810:
4145 {
4146#line 305
4147 __cil_tmp52 = (struct device *)spi;
4148#line 305
4149 __cil_tmp53 = (struct device_attribute const *)(& dev_attr_status_show);
4150#line 305
4151 device_remove_file(__cil_tmp52, __cil_tmp53);
4152 }
4153 err_status:
4154 {
4155#line 308
4156 __cil_tmp54 = (void const *)st;
4157#line 308
4158 kfree(__cil_tmp54);
4159 }
4160#line 309
4161 return (ret);
4162}
4163}
4164#line 312 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4165static int tle62x0_remove(struct spi_device *spi )
4166{ struct tle62x0_state *st ;
4167 void *tmp ;
4168 int ptr ;
4169 struct device *__cil_tmp5 ;
4170 unsigned long __cil_tmp6 ;
4171 unsigned long __cil_tmp7 ;
4172 struct device_attribute *__cil_tmp8 ;
4173 struct device_attribute const *__cil_tmp9 ;
4174 unsigned long __cil_tmp10 ;
4175 unsigned long __cil_tmp11 ;
4176 unsigned int __cil_tmp12 ;
4177 unsigned int __cil_tmp13 ;
4178 struct device *__cil_tmp14 ;
4179 struct device_attribute const *__cil_tmp15 ;
4180 void const *__cil_tmp16 ;
4181
4182 {
4183 {
4184#line 314
4185 tmp = spi_get_drvdata(spi);
4186#line 314
4187 st = (struct tle62x0_state *)tmp;
4188#line 317
4189 ptr = 0;
4190 }
4191#line 317
4192 goto ldv_18817;
4193 ldv_18816:
4194 {
4195#line 318
4196 __cil_tmp5 = (struct device *)spi;
4197#line 318
4198 __cil_tmp6 = ptr * 8UL;
4199#line 318
4200 __cil_tmp7 = (unsigned long )(gpio_attrs) + __cil_tmp6;
4201#line 318
4202 __cil_tmp8 = *((struct device_attribute **)__cil_tmp7);
4203#line 318
4204 __cil_tmp9 = (struct device_attribute const *)__cil_tmp8;
4205#line 318
4206 device_remove_file(__cil_tmp5, __cil_tmp9);
4207#line 317
4208 ptr = ptr + 1;
4209 }
4210 ldv_18817: ;
4211 {
4212#line 317
4213 __cil_tmp10 = (unsigned long )st;
4214#line 317
4215 __cil_tmp11 = __cil_tmp10 + 176;
4216#line 317
4217 __cil_tmp12 = *((unsigned int *)__cil_tmp11);
4218#line 317
4219 __cil_tmp13 = (unsigned int )ptr;
4220#line 317
4221 if (__cil_tmp13 < __cil_tmp12) {
4222#line 318
4223 goto ldv_18816;
4224 } else {
4225#line 320
4226 goto ldv_18818;
4227 }
4228 }
4229 ldv_18818:
4230 {
4231#line 320
4232 __cil_tmp14 = (struct device *)spi;
4233#line 320
4234 __cil_tmp15 = (struct device_attribute const *)(& dev_attr_status_show);
4235#line 320
4236 device_remove_file(__cil_tmp14, __cil_tmp15);
4237#line 321
4238 __cil_tmp16 = (void const *)st;
4239#line 321
4240 kfree(__cil_tmp16);
4241 }
4242#line 322
4243 return (0);
4244}
4245}
4246#line 325 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4247static struct spi_driver tle62x0_driver = {(struct spi_device_id const *)0, & tle62x0_probe, & tle62x0_remove, (void (*)(struct spi_device * ))0,
4248 (int (*)(struct spi_device * , pm_message_t ))0, (int (*)(struct spi_device * ))0,
4249 {"tle62x0", (struct bus_type *)0, & __this_module, (char const *)0, (_Bool)0,
4250 (struct of_device_id const *)0, (int (*)(struct device * ))0, (int (*)(struct device * ))0,
4251 (void (*)(struct device * ))0, (int (*)(struct device * , pm_message_t ))0,
4252 (int (*)(struct device * ))0, (struct attribute_group const **)0, (struct dev_pm_ops const *)0,
4253 (struct driver_private *)0}};
4254#line 334 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4255static int tle62x0_init(void)
4256{ int tmp ;
4257
4258 {
4259 {
4260#line 336
4261 tmp = spi_register_driver(& tle62x0_driver);
4262 }
4263#line 336
4264 return (tmp);
4265}
4266}
4267#line 339 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4268static void tle62x0_exit(void)
4269{
4270
4271 {
4272 {
4273#line 341
4274 spi_unregister_driver(& tle62x0_driver);
4275 }
4276#line 342
4277 return;
4278}
4279}
4280#line 368
4281extern void ldv_check_final_state(void) ;
4282#line 371
4283extern void ldv_check_return_value(int ) ;
4284#line 374
4285extern void ldv_initialize(void) ;
4286#line 377
4287extern int __VERIFIER_nondet_int(void) ;
4288#line 380 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4289int LDV_IN_INTERRUPT ;
4290#line 383 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4291void main(void)
4292{ struct spi_device *var_group1 ;
4293 int res_tle62x0_probe_7 ;
4294 int ldv_s_tle62x0_driver_spi_driver ;
4295 int tmp ;
4296 int tmp___0 ;
4297 int tmp___1 ;
4298
4299 {
4300 {
4301#line 434
4302 ldv_s_tle62x0_driver_spi_driver = 0;
4303#line 410
4304 LDV_IN_INTERRUPT = 1;
4305#line 419
4306 ldv_initialize();
4307#line 432
4308 tmp = tle62x0_init();
4309 }
4310#line 432
4311 if (tmp != 0) {
4312#line 433
4313 goto ldv_final;
4314 } else {
4315
4316 }
4317#line 437
4318 goto ldv_18861;
4319 ldv_18860:
4320 {
4321#line 441
4322 tmp___0 = __VERIFIER_nondet_int();
4323 }
4324#line 443
4325 if (tmp___0 == 0) {
4326#line 443
4327 goto case_0;
4328 } else {
4329 {
4330#line 469
4331 goto switch_default;
4332#line 441
4333 if (0) {
4334 case_0: ;
4335#line 446
4336 if (ldv_s_tle62x0_driver_spi_driver == 0) {
4337 {
4338#line 458
4339 res_tle62x0_probe_7 = tle62x0_probe(var_group1);
4340#line 459
4341 ldv_check_return_value(res_tle62x0_probe_7);
4342 }
4343#line 460
4344 if (res_tle62x0_probe_7 != 0) {
4345#line 461
4346 goto ldv_module_exit;
4347 } else {
4348
4349 }
4350#line 462
4351 ldv_s_tle62x0_driver_spi_driver = 0;
4352 } else {
4353
4354 }
4355#line 468
4356 goto ldv_18858;
4357 switch_default: ;
4358#line 469
4359 goto ldv_18858;
4360 } else {
4361 switch_break: ;
4362 }
4363 }
4364 }
4365 ldv_18858: ;
4366 ldv_18861:
4367 {
4368#line 437
4369 tmp___1 = __VERIFIER_nondet_int();
4370 }
4371#line 437
4372 if (tmp___1 != 0) {
4373#line 439
4374 goto ldv_18860;
4375 } else
4376#line 437
4377 if (ldv_s_tle62x0_driver_spi_driver != 0) {
4378#line 439
4379 goto ldv_18860;
4380 } else {
4381#line 441
4382 goto ldv_18862;
4383 }
4384 ldv_18862: ;
4385 ldv_module_exit:
4386 {
4387#line 488
4388 tle62x0_exit();
4389 }
4390 ldv_final:
4391 {
4392#line 491
4393 ldv_check_final_state();
4394 }
4395#line 494
4396 return;
4397}
4398}
4399#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast-assert.h"
4400void ldv_blast_assert(void)
4401{
4402
4403 {
4404 ERROR: ;
4405#line 6
4406 goto ERROR;
4407}
4408}
4409#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast.h"
4410extern int __VERIFIER_nondet_int(void) ;
4411#line 515 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4412int ldv_spin = 0;
4413#line 519 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4414void ldv_check_alloc_flags(gfp_t flags )
4415{
4416
4417 {
4418#line 522
4419 if (ldv_spin != 0) {
4420#line 522
4421 if (flags != 32U) {
4422 {
4423#line 522
4424 ldv_blast_assert();
4425 }
4426 } else {
4427
4428 }
4429 } else {
4430
4431 }
4432#line 525
4433 return;
4434}
4435}
4436#line 525
4437extern struct page *ldv_some_page(void) ;
4438#line 528 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4439struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags )
4440{ struct page *tmp ;
4441
4442 {
4443#line 531
4444 if (ldv_spin != 0) {
4445#line 531
4446 if (flags != 32U) {
4447 {
4448#line 531
4449 ldv_blast_assert();
4450 }
4451 } else {
4452
4453 }
4454 } else {
4455
4456 }
4457 {
4458#line 533
4459 tmp = ldv_some_page();
4460 }
4461#line 533
4462 return (tmp);
4463}
4464}
4465#line 537 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4466void ldv_check_alloc_nonatomic(void)
4467{
4468
4469 {
4470#line 540
4471 if (ldv_spin != 0) {
4472 {
4473#line 540
4474 ldv_blast_assert();
4475 }
4476 } else {
4477
4478 }
4479#line 543
4480 return;
4481}
4482}
4483#line 544 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4484void ldv_spin_lock(void)
4485{
4486
4487 {
4488#line 547
4489 ldv_spin = 1;
4490#line 548
4491 return;
4492}
4493}
4494#line 551 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4495void ldv_spin_unlock(void)
4496{
4497
4498 {
4499#line 554
4500 ldv_spin = 0;
4501#line 555
4502 return;
4503}
4504}
4505#line 558 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4506int ldv_spin_trylock(void)
4507{ int is_lock ;
4508
4509 {
4510 {
4511#line 563
4512 is_lock = __VERIFIER_nondet_int();
4513 }
4514#line 565
4515 if (is_lock != 0) {
4516#line 568
4517 return (0);
4518 } else {
4519#line 573
4520 ldv_spin = 1;
4521#line 575
4522 return (1);
4523 }
4524}
4525}
4526#line 742 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4527void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 )
4528{
4529
4530 {
4531 {
4532#line 748
4533 ldv_check_alloc_flags(ldv_func_arg2);
4534#line 750
4535 kmem_cache_alloc(ldv_func_arg1, ldv_func_arg2);
4536 }
4537#line 751
4538 return ((void *)0);
4539}
4540}
4541#line 753 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/2801/dscv_tempdir/dscv/ri/43_1a/drivers/spi/spi-tle62x0.c.p"
4542__inline static void *kzalloc(size_t size , gfp_t flags )
4543{ void *tmp ;
4544
4545 {
4546 {
4547#line 759
4548 ldv_check_alloc_flags(flags);
4549#line 760
4550 tmp = __VERIFIER_nondet_pointer();
4551 }
4552#line 760
4553 return (tmp);
4554}
4555}