1
2
3
4#line 19 "include/asm-generic/int-ll64.h"
5typedef signed char __s8;
6#line 20 "include/asm-generic/int-ll64.h"
7typedef unsigned char __u8;
8#line 22 "include/asm-generic/int-ll64.h"
9typedef short __s16;
10#line 23 "include/asm-generic/int-ll64.h"
11typedef unsigned short __u16;
12#line 25 "include/asm-generic/int-ll64.h"
13typedef int __s32;
14#line 26 "include/asm-generic/int-ll64.h"
15typedef unsigned int __u32;
16#line 29 "include/asm-generic/int-ll64.h"
17typedef long long __s64;
18#line 30 "include/asm-generic/int-ll64.h"
19typedef unsigned long long __u64;
20#line 43 "include/asm-generic/int-ll64.h"
21typedef unsigned char u8;
22#line 45 "include/asm-generic/int-ll64.h"
23typedef short s16;
24#line 46 "include/asm-generic/int-ll64.h"
25typedef unsigned short u16;
26#line 48 "include/asm-generic/int-ll64.h"
27typedef int s32;
28#line 49 "include/asm-generic/int-ll64.h"
29typedef unsigned int u32;
30#line 51 "include/asm-generic/int-ll64.h"
31typedef long long s64;
32#line 52 "include/asm-generic/int-ll64.h"
33typedef unsigned long long u64;
34#line 14 "include/asm-generic/posix_types.h"
35typedef long __kernel_long_t;
36#line 15 "include/asm-generic/posix_types.h"
37typedef unsigned long __kernel_ulong_t;
38#line 27 "include/asm-generic/posix_types.h"
39typedef __kernel_ulong_t __kernel_nlink_t;
40#line 31 "include/asm-generic/posix_types.h"
41typedef int __kernel_pid_t;
42#line 52 "include/asm-generic/posix_types.h"
43typedef unsigned int __kernel_uid32_t;
44#line 53 "include/asm-generic/posix_types.h"
45typedef unsigned int __kernel_gid32_t;
46#line 75 "include/asm-generic/posix_types.h"
47typedef __kernel_ulong_t __kernel_size_t;
48#line 76 "include/asm-generic/posix_types.h"
49typedef __kernel_long_t __kernel_ssize_t;
50#line 90 "include/asm-generic/posix_types.h"
51typedef __kernel_long_t __kernel_off_t;
52#line 91 "include/asm-generic/posix_types.h"
53typedef long long __kernel_loff_t;
54#line 92 "include/asm-generic/posix_types.h"
55typedef __kernel_long_t __kernel_time_t;
56#line 93 "include/asm-generic/posix_types.h"
57typedef __kernel_long_t __kernel_clock_t;
58#line 94 "include/asm-generic/posix_types.h"
59typedef int __kernel_timer_t;
60#line 95 "include/asm-generic/posix_types.h"
61typedef int __kernel_clockid_t;
62#line 21 "include/linux/types.h"
63typedef __u32 __kernel_dev_t;
64#line 24 "include/linux/types.h"
65typedef __kernel_dev_t dev_t;
66#line 27 "include/linux/types.h"
67typedef unsigned short umode_t;
68#line 28 "include/linux/types.h"
69typedef __kernel_nlink_t nlink_t;
70#line 29 "include/linux/types.h"
71typedef __kernel_off_t off_t;
72#line 30 "include/linux/types.h"
73typedef __kernel_pid_t pid_t;
74#line 35 "include/linux/types.h"
75typedef __kernel_clockid_t clockid_t;
76#line 38 "include/linux/types.h"
77typedef _Bool bool;
78#line 40 "include/linux/types.h"
79typedef __kernel_uid32_t uid_t;
80#line 41 "include/linux/types.h"
81typedef __kernel_gid32_t gid_t;
82#line 54 "include/linux/types.h"
83typedef __kernel_loff_t loff_t;
84#line 63 "include/linux/types.h"
85typedef __kernel_size_t size_t;
86#line 68 "include/linux/types.h"
87typedef __kernel_ssize_t ssize_t;
88#line 78 "include/linux/types.h"
89typedef __kernel_time_t time_t;
90#line 92 "include/linux/types.h"
91typedef unsigned char u_char;
92#line 111 "include/linux/types.h"
93typedef __s32 int32_t;
94#line 117 "include/linux/types.h"
95typedef __u32 uint32_t;
96#line 142 "include/linux/types.h"
97typedef unsigned long sector_t;
98#line 143 "include/linux/types.h"
99typedef unsigned long blkcnt_t;
100#line 179 "include/linux/types.h"
101typedef __u16 __be16;
102#line 186 "include/linux/types.h"
103typedef __u32 __wsum;
104#line 202 "include/linux/types.h"
105typedef unsigned int gfp_t;
106#line 203 "include/linux/types.h"
107typedef unsigned int fmode_t;
108#line 219 "include/linux/types.h"
109struct __anonstruct_atomic_t_7 {
110 int counter ;
111};
112#line 219 "include/linux/types.h"
113typedef struct __anonstruct_atomic_t_7 atomic_t;
114#line 224 "include/linux/types.h"
115struct __anonstruct_atomic64_t_8 {
116 long counter ;
117};
118#line 224 "include/linux/types.h"
119typedef struct __anonstruct_atomic64_t_8 atomic64_t;
120#line 229 "include/linux/types.h"
121struct list_head {
122 struct list_head *next ;
123 struct list_head *prev ;
124};
125#line 233
126struct hlist_node;
127#line 233 "include/linux/types.h"
128struct hlist_head {
129 struct hlist_node *first ;
130};
131#line 237 "include/linux/types.h"
132struct hlist_node {
133 struct hlist_node *next ;
134 struct hlist_node **pprev ;
135};
136#line 253 "include/linux/types.h"
137struct rcu_head {
138 struct rcu_head *next ;
139 void (*func)(struct rcu_head *head ) ;
140};
141#line 56 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
142struct module;
143#line 146 "include/linux/init.h"
144typedef void (*ctor_fn_t)(void);
145#line 53 "include/linux/dynamic_debug.h"
146struct net_device;
147#line 135 "include/linux/kernel.h"
148struct completion;
149#line 136
150struct pt_regs;
151#line 349
152struct pid;
153#line 12 "include/linux/thread_info.h"
154struct timespec;
155#line 13
156struct compat_timespec;
157#line 18 "include/linux/thread_info.h"
158struct __anonstruct_futex_11 {
159 u32 *uaddr ;
160 u32 val ;
161 u32 flags ;
162 u32 bitset ;
163 u64 time ;
164 u32 *uaddr2 ;
165};
166#line 18 "include/linux/thread_info.h"
167struct __anonstruct_nanosleep_12 {
168 clockid_t clockid ;
169 struct timespec *rmtp ;
170 struct compat_timespec *compat_rmtp ;
171 u64 expires ;
172};
173#line 18
174struct pollfd;
175#line 18 "include/linux/thread_info.h"
176struct __anonstruct_poll_13 {
177 struct pollfd *ufds ;
178 int nfds ;
179 int has_timeout ;
180 unsigned long tv_sec ;
181 unsigned long tv_nsec ;
182};
183#line 18 "include/linux/thread_info.h"
184union __anonunion____missing_field_name_10 {
185 struct __anonstruct_futex_11 futex ;
186 struct __anonstruct_nanosleep_12 nanosleep ;
187 struct __anonstruct_poll_13 poll ;
188};
189#line 18 "include/linux/thread_info.h"
190struct restart_block {
191 long (*fn)(struct restart_block * ) ;
192 union __anonunion____missing_field_name_10 __annonCompField4 ;
193};
194#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page.h"
195struct page;
196#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
197struct task_struct;
198#line 21
199struct exec_domain;
200#line 8 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
201struct mm_struct;
202#line 99 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
203struct pt_regs {
204 unsigned long r15 ;
205 unsigned long r14 ;
206 unsigned long r13 ;
207 unsigned long r12 ;
208 unsigned long bp ;
209 unsigned long bx ;
210 unsigned long r11 ;
211 unsigned long r10 ;
212 unsigned long r9 ;
213 unsigned long r8 ;
214 unsigned long ax ;
215 unsigned long cx ;
216 unsigned long dx ;
217 unsigned long si ;
218 unsigned long di ;
219 unsigned long orig_ax ;
220 unsigned long ip ;
221 unsigned long cs ;
222 unsigned long flags ;
223 unsigned long sp ;
224 unsigned long ss ;
225};
226#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
227struct __anonstruct____missing_field_name_15 {
228 unsigned int a ;
229 unsigned int b ;
230};
231#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
232struct __anonstruct____missing_field_name_16 {
233 u16 limit0 ;
234 u16 base0 ;
235 unsigned int base1 : 8 ;
236 unsigned int type : 4 ;
237 unsigned int s : 1 ;
238 unsigned int dpl : 2 ;
239 unsigned int p : 1 ;
240 unsigned int limit : 4 ;
241 unsigned int avl : 1 ;
242 unsigned int l : 1 ;
243 unsigned int d : 1 ;
244 unsigned int g : 1 ;
245 unsigned int base2 : 8 ;
246};
247#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
248union __anonunion____missing_field_name_14 {
249 struct __anonstruct____missing_field_name_15 __annonCompField5 ;
250 struct __anonstruct____missing_field_name_16 __annonCompField6 ;
251};
252#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
253struct desc_struct {
254 union __anonunion____missing_field_name_14 __annonCompField7 ;
255} __attribute__((__packed__)) ;
256#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
257typedef unsigned long pgdval_t;
258#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
259typedef unsigned long pgprotval_t;
260#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
261struct pgprot {
262 pgprotval_t pgprot ;
263};
264#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
265typedef struct pgprot pgprot_t;
266#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
267struct __anonstruct_pgd_t_20 {
268 pgdval_t pgd ;
269};
270#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
271typedef struct __anonstruct_pgd_t_20 pgd_t;
272#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
273typedef struct page *pgtable_t;
274#line 295
275struct file;
276#line 313
277struct seq_file;
278#line 47 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
279struct thread_struct;
280#line 53
281struct cpumask;
282#line 329
283struct arch_spinlock;
284#line 141 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
285struct kernel_vm86_regs {
286 struct pt_regs pt ;
287 unsigned short es ;
288 unsigned short __esh ;
289 unsigned short ds ;
290 unsigned short __dsh ;
291 unsigned short fs ;
292 unsigned short __fsh ;
293 unsigned short gs ;
294 unsigned short __gsh ;
295};
296#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
297union __anonunion____missing_field_name_24 {
298 struct pt_regs *regs ;
299 struct kernel_vm86_regs *vm86 ;
300};
301#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
302struct math_emu_info {
303 long ___orig_eip ;
304 union __anonunion____missing_field_name_24 __annonCompField8 ;
305};
306#line 10 "include/asm-generic/bug.h"
307struct bug_entry {
308 int bug_addr_disp ;
309 int file_disp ;
310 unsigned short line ;
311 unsigned short flags ;
312};
313#line 14 "include/linux/cpumask.h"
314struct cpumask {
315 unsigned long bits[((4096UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
316};
317#line 14 "include/linux/cpumask.h"
318typedef struct cpumask cpumask_t;
319#line 637 "include/linux/cpumask.h"
320typedef struct cpumask *cpumask_var_t;
321#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
322struct static_key;
323#line 92 "include/linux/personality.h"
324struct map_segment;
325#line 92 "include/linux/personality.h"
326struct exec_domain {
327 char *name ;
328 void (*handler)(int , struct pt_regs * ) ;
329 unsigned char pers_low ;
330 unsigned char pers_high ;
331 unsigned long *signal_map ;
332 unsigned long *signal_invmap ;
333 struct map_segment *err_map ;
334 struct map_segment *socktype_map ;
335 struct map_segment *sockopt_map ;
336 struct map_segment *af_map ;
337 struct module *module ;
338 struct exec_domain *next ;
339};
340#line 153 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
341struct seq_operations;
342#line 290 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
343struct i387_fsave_struct {
344 u32 cwd ;
345 u32 swd ;
346 u32 twd ;
347 u32 fip ;
348 u32 fcs ;
349 u32 foo ;
350 u32 fos ;
351 u32 st_space[20] ;
352 u32 status ;
353};
354#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
355struct __anonstruct____missing_field_name_31 {
356 u64 rip ;
357 u64 rdp ;
358};
359#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
360struct __anonstruct____missing_field_name_32 {
361 u32 fip ;
362 u32 fcs ;
363 u32 foo ;
364 u32 fos ;
365};
366#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
367union __anonunion____missing_field_name_30 {
368 struct __anonstruct____missing_field_name_31 __annonCompField12 ;
369 struct __anonstruct____missing_field_name_32 __annonCompField13 ;
370};
371#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
372union __anonunion____missing_field_name_33 {
373 u32 padding1[12] ;
374 u32 sw_reserved[12] ;
375};
376#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
377struct i387_fxsave_struct {
378 u16 cwd ;
379 u16 swd ;
380 u16 twd ;
381 u16 fop ;
382 union __anonunion____missing_field_name_30 __annonCompField14 ;
383 u32 mxcsr ;
384 u32 mxcsr_mask ;
385 u32 st_space[32] ;
386 u32 xmm_space[64] ;
387 u32 padding[12] ;
388 union __anonunion____missing_field_name_33 __annonCompField15 ;
389} __attribute__((__aligned__(16))) ;
390#line 341 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
391struct i387_soft_struct {
392 u32 cwd ;
393 u32 swd ;
394 u32 twd ;
395 u32 fip ;
396 u32 fcs ;
397 u32 foo ;
398 u32 fos ;
399 u32 st_space[20] ;
400 u8 ftop ;
401 u8 changed ;
402 u8 lookahead ;
403 u8 no_update ;
404 u8 rm ;
405 u8 alimit ;
406 struct math_emu_info *info ;
407 u32 entry_eip ;
408};
409#line 361 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
410struct ymmh_struct {
411 u32 ymmh_space[64] ;
412};
413#line 366 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
414struct xsave_hdr_struct {
415 u64 xstate_bv ;
416 u64 reserved1[2] ;
417 u64 reserved2[5] ;
418} __attribute__((__packed__)) ;
419#line 372 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
420struct xsave_struct {
421 struct i387_fxsave_struct i387 ;
422 struct xsave_hdr_struct xsave_hdr ;
423 struct ymmh_struct ymmh ;
424} __attribute__((__packed__, __aligned__(64))) ;
425#line 379 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
426union thread_xstate {
427 struct i387_fsave_struct fsave ;
428 struct i387_fxsave_struct fxsave ;
429 struct i387_soft_struct soft ;
430 struct xsave_struct xsave ;
431};
432#line 386 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
433struct fpu {
434 unsigned int last_cpu ;
435 unsigned int has_fpu ;
436 union thread_xstate *state ;
437};
438#line 433
439struct kmem_cache;
440#line 435
441struct perf_event;
442#line 437 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
443struct thread_struct {
444 struct desc_struct tls_array[3] ;
445 unsigned long sp0 ;
446 unsigned long sp ;
447 unsigned long usersp ;
448 unsigned short es ;
449 unsigned short ds ;
450 unsigned short fsindex ;
451 unsigned short gsindex ;
452 unsigned long fs ;
453 unsigned long gs ;
454 struct perf_event *ptrace_bps[4] ;
455 unsigned long debugreg6 ;
456 unsigned long ptrace_dr7 ;
457 unsigned long cr2 ;
458 unsigned long trap_nr ;
459 unsigned long error_code ;
460 struct fpu fpu ;
461 unsigned long *io_bitmap_ptr ;
462 unsigned long iopl ;
463 unsigned int io_bitmap_max ;
464};
465#line 569 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
466struct __anonstruct_mm_segment_t_35 {
467 unsigned long seg ;
468};
469#line 569 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
470typedef struct __anonstruct_mm_segment_t_35 mm_segment_t;
471#line 23 "include/asm-generic/atomic-long.h"
472typedef atomic64_t atomic_long_t;
473#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
474struct thread_info {
475 struct task_struct *task ;
476 struct exec_domain *exec_domain ;
477 __u32 flags ;
478 __u32 status ;
479 __u32 cpu ;
480 int preempt_count ;
481 mm_segment_t addr_limit ;
482 struct restart_block restart_block ;
483 void *sysenter_return ;
484 unsigned int sig_on_uaccess_error : 1 ;
485 unsigned int uaccess_err : 1 ;
486};
487#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
488typedef u16 __ticket_t;
489#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
490typedef u32 __ticketpair_t;
491#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
492struct __raw_tickets {
493 __ticket_t head ;
494 __ticket_t tail ;
495};
496#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
497union __anonunion____missing_field_name_36 {
498 __ticketpair_t head_tail ;
499 struct __raw_tickets tickets ;
500};
501#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
502struct arch_spinlock {
503 union __anonunion____missing_field_name_36 __annonCompField17 ;
504};
505#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
506typedef struct arch_spinlock arch_spinlock_t;
507#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
508struct __anonstruct____missing_field_name_38 {
509 u32 read ;
510 s32 write ;
511};
512#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
513union __anonunion_arch_rwlock_t_37 {
514 s64 lock ;
515 struct __anonstruct____missing_field_name_38 __annonCompField18 ;
516};
517#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
518typedef union __anonunion_arch_rwlock_t_37 arch_rwlock_t;
519#line 391 "include/linux/lockdep.h"
520struct lock_class_key {
521
522};
523#line 20 "include/linux/spinlock_types.h"
524struct raw_spinlock {
525 arch_spinlock_t raw_lock ;
526 unsigned int magic ;
527 unsigned int owner_cpu ;
528 void *owner ;
529};
530#line 20 "include/linux/spinlock_types.h"
531typedef struct raw_spinlock raw_spinlock_t;
532#line 64 "include/linux/spinlock_types.h"
533union __anonunion____missing_field_name_39 {
534 struct raw_spinlock rlock ;
535};
536#line 64 "include/linux/spinlock_types.h"
537struct spinlock {
538 union __anonunion____missing_field_name_39 __annonCompField19 ;
539};
540#line 64 "include/linux/spinlock_types.h"
541typedef struct spinlock spinlock_t;
542#line 11 "include/linux/rwlock_types.h"
543struct __anonstruct_rwlock_t_40 {
544 arch_rwlock_t raw_lock ;
545 unsigned int magic ;
546 unsigned int owner_cpu ;
547 void *owner ;
548};
549#line 11 "include/linux/rwlock_types.h"
550typedef struct __anonstruct_rwlock_t_40 rwlock_t;
551#line 25 "include/linux/capi.h"
552struct capi_register_params {
553 __u32 level3cnt ;
554 __u32 datablkcnt ;
555 __u32 datablklen ;
556};
557#line 25 "include/linux/capi.h"
558typedef struct capi_register_params capi_register_params;
559#line 45 "include/linux/capi.h"
560struct capi_version {
561 __u32 majorversion ;
562 __u32 minorversion ;
563 __u32 majormanuversion ;
564 __u32 minormanuversion ;
565};
566#line 45 "include/linux/capi.h"
567typedef struct capi_version capi_version;
568#line 65 "include/linux/capi.h"
569struct capi_profile {
570 __u16 ncontroller ;
571 __u16 nbchannel ;
572 __u32 goptions ;
573 __u32 support1 ;
574 __u32 support2 ;
575 __u32 support3 ;
576 __u32 reserved[6] ;
577 __u32 manu[5] ;
578};
579#line 65 "include/linux/capi.h"
580typedef struct capi_profile capi_profile;
581#line 18 "include/linux/kernelcapi.h"
582struct kcapi_flagdef {
583 int contr ;
584 int flag ;
585};
586#line 18 "include/linux/kernelcapi.h"
587typedef struct kcapi_flagdef kcapi_flagdef;
588#line 23 "include/linux/kernelcapi.h"
589struct kcapi_carddef {
590 char driver[32] ;
591 unsigned int port ;
592 unsigned int irq ;
593 unsigned int membase ;
594 int cardnr ;
595};
596#line 23 "include/linux/kernelcapi.h"
597typedef struct kcapi_carddef kcapi_carddef;
598#line 14 "include/linux/prio_tree.h"
599struct prio_tree_node;
600#line 14 "include/linux/prio_tree.h"
601struct raw_prio_tree_node {
602 struct prio_tree_node *left ;
603 struct prio_tree_node *right ;
604 struct prio_tree_node *parent ;
605};
606#line 20 "include/linux/prio_tree.h"
607struct prio_tree_node {
608 struct prio_tree_node *left ;
609 struct prio_tree_node *right ;
610 struct prio_tree_node *parent ;
611 unsigned long start ;
612 unsigned long last ;
613};
614#line 28 "include/linux/prio_tree.h"
615struct prio_tree_root {
616 struct prio_tree_node *prio_tree_node ;
617 unsigned short index_bits ;
618 unsigned short raw ;
619};
620#line 100 "include/linux/rbtree.h"
621struct rb_node {
622 unsigned long rb_parent_color ;
623 struct rb_node *rb_right ;
624 struct rb_node *rb_left ;
625} __attribute__((__aligned__(sizeof(long )))) ;
626#line 110 "include/linux/rbtree.h"
627struct rb_root {
628 struct rb_node *rb_node ;
629};
630#line 19 "include/linux/rwsem.h"
631struct rw_semaphore;
632#line 25 "include/linux/rwsem.h"
633struct rw_semaphore {
634 long count ;
635 raw_spinlock_t wait_lock ;
636 struct list_head wait_list ;
637};
638#line 27 "include/linux/wait.h"
639struct __wait_queue;
640#line 27 "include/linux/wait.h"
641typedef struct __wait_queue wait_queue_t;
642#line 31 "include/linux/wait.h"
643struct __wait_queue {
644 unsigned int flags ;
645 void *private ;
646 int (*func)(wait_queue_t *wait , unsigned int mode , int flags , void *key ) ;
647 struct list_head task_list ;
648};
649#line 49 "include/linux/wait.h"
650struct __wait_queue_head {
651 spinlock_t lock ;
652 struct list_head task_list ;
653};
654#line 53 "include/linux/wait.h"
655typedef struct __wait_queue_head wait_queue_head_t;
656#line 25 "include/linux/completion.h"
657struct completion {
658 unsigned int done ;
659 wait_queue_head_t wait ;
660};
661#line 48 "include/linux/mutex.h"
662struct mutex {
663 atomic_t count ;
664 spinlock_t wait_lock ;
665 struct list_head wait_list ;
666 struct task_struct *owner ;
667 char *name ;
668 void *magic ;
669};
670#line 69 "include/linux/mutex.h"
671struct mutex_waiter {
672 struct list_head list ;
673 struct task_struct *task ;
674 void *magic ;
675};
676#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
677struct __anonstruct_mm_context_t_41 {
678 void *ldt ;
679 int size ;
680 unsigned short ia32_compat ;
681 struct mutex lock ;
682 void *vdso ;
683};
684#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
685typedef struct __anonstruct_mm_context_t_41 mm_context_t;
686#line 23 "include/linux/mm_types.h"
687struct address_space;
688#line 40 "include/linux/mm_types.h"
689union __anonunion____missing_field_name_43 {
690 unsigned long index ;
691 void *freelist ;
692};
693#line 40 "include/linux/mm_types.h"
694struct __anonstruct____missing_field_name_47 {
695 unsigned int inuse : 16 ;
696 unsigned int objects : 15 ;
697 unsigned int frozen : 1 ;
698};
699#line 40 "include/linux/mm_types.h"
700union __anonunion____missing_field_name_46 {
701 atomic_t _mapcount ;
702 struct __anonstruct____missing_field_name_47 __annonCompField21 ;
703};
704#line 40 "include/linux/mm_types.h"
705struct __anonstruct____missing_field_name_45 {
706 union __anonunion____missing_field_name_46 __annonCompField22 ;
707 atomic_t _count ;
708};
709#line 40 "include/linux/mm_types.h"
710union __anonunion____missing_field_name_44 {
711 unsigned long counters ;
712 struct __anonstruct____missing_field_name_45 __annonCompField23 ;
713};
714#line 40 "include/linux/mm_types.h"
715struct __anonstruct____missing_field_name_42 {
716 union __anonunion____missing_field_name_43 __annonCompField20 ;
717 union __anonunion____missing_field_name_44 __annonCompField24 ;
718};
719#line 40 "include/linux/mm_types.h"
720struct __anonstruct____missing_field_name_49 {
721 struct page *next ;
722 int pages ;
723 int pobjects ;
724};
725#line 40 "include/linux/mm_types.h"
726union __anonunion____missing_field_name_48 {
727 struct list_head lru ;
728 struct __anonstruct____missing_field_name_49 __annonCompField26 ;
729};
730#line 40 "include/linux/mm_types.h"
731union __anonunion____missing_field_name_50 {
732 unsigned long private ;
733 struct kmem_cache *slab ;
734 struct page *first_page ;
735};
736#line 40 "include/linux/mm_types.h"
737struct page {
738 unsigned long flags ;
739 struct address_space *mapping ;
740 struct __anonstruct____missing_field_name_42 __annonCompField25 ;
741 union __anonunion____missing_field_name_48 __annonCompField27 ;
742 union __anonunion____missing_field_name_50 __annonCompField28 ;
743 unsigned long debug_flags ;
744} __attribute__((__aligned__((2) * (sizeof(unsigned long )) ))) ;
745#line 200 "include/linux/mm_types.h"
746struct __anonstruct_vm_set_52 {
747 struct list_head list ;
748 void *parent ;
749 struct vm_area_struct *head ;
750};
751#line 200 "include/linux/mm_types.h"
752union __anonunion_shared_51 {
753 struct __anonstruct_vm_set_52 vm_set ;
754 struct raw_prio_tree_node prio_tree_node ;
755};
756#line 200
757struct anon_vma;
758#line 200
759struct vm_operations_struct;
760#line 200
761struct mempolicy;
762#line 200 "include/linux/mm_types.h"
763struct vm_area_struct {
764 struct mm_struct *vm_mm ;
765 unsigned long vm_start ;
766 unsigned long vm_end ;
767 struct vm_area_struct *vm_next ;
768 struct vm_area_struct *vm_prev ;
769 pgprot_t vm_page_prot ;
770 unsigned long vm_flags ;
771 struct rb_node vm_rb ;
772 union __anonunion_shared_51 shared ;
773 struct list_head anon_vma_chain ;
774 struct anon_vma *anon_vma ;
775 struct vm_operations_struct *vm_ops ;
776 unsigned long vm_pgoff ;
777 struct file *vm_file ;
778 void *vm_private_data ;
779 struct mempolicy *vm_policy ;
780};
781#line 257 "include/linux/mm_types.h"
782struct core_thread {
783 struct task_struct *task ;
784 struct core_thread *next ;
785};
786#line 262 "include/linux/mm_types.h"
787struct core_state {
788 atomic_t nr_threads ;
789 struct core_thread dumper ;
790 struct completion startup ;
791};
792#line 284 "include/linux/mm_types.h"
793struct mm_rss_stat {
794 atomic_long_t count[3] ;
795};
796#line 288
797struct linux_binfmt;
798#line 288
799struct mmu_notifier_mm;
800#line 288 "include/linux/mm_types.h"
801struct mm_struct {
802 struct vm_area_struct *mmap ;
803 struct rb_root mm_rb ;
804 struct vm_area_struct *mmap_cache ;
805 unsigned long (*get_unmapped_area)(struct file *filp , unsigned long addr , unsigned long len ,
806 unsigned long pgoff , unsigned long flags ) ;
807 void (*unmap_area)(struct mm_struct *mm , unsigned long addr ) ;
808 unsigned long mmap_base ;
809 unsigned long task_size ;
810 unsigned long cached_hole_size ;
811 unsigned long free_area_cache ;
812 pgd_t *pgd ;
813 atomic_t mm_users ;
814 atomic_t mm_count ;
815 int map_count ;
816 spinlock_t page_table_lock ;
817 struct rw_semaphore mmap_sem ;
818 struct list_head mmlist ;
819 unsigned long hiwater_rss ;
820 unsigned long hiwater_vm ;
821 unsigned long total_vm ;
822 unsigned long locked_vm ;
823 unsigned long pinned_vm ;
824 unsigned long shared_vm ;
825 unsigned long exec_vm ;
826 unsigned long stack_vm ;
827 unsigned long reserved_vm ;
828 unsigned long def_flags ;
829 unsigned long nr_ptes ;
830 unsigned long start_code ;
831 unsigned long end_code ;
832 unsigned long start_data ;
833 unsigned long end_data ;
834 unsigned long start_brk ;
835 unsigned long brk ;
836 unsigned long start_stack ;
837 unsigned long arg_start ;
838 unsigned long arg_end ;
839 unsigned long env_start ;
840 unsigned long env_end ;
841 unsigned long saved_auxv[44] ;
842 struct mm_rss_stat rss_stat ;
843 struct linux_binfmt *binfmt ;
844 cpumask_var_t cpu_vm_mask_var ;
845 mm_context_t context ;
846 unsigned int faultstamp ;
847 unsigned int token_priority ;
848 unsigned int last_interval ;
849 unsigned long flags ;
850 struct core_state *core_state ;
851 spinlock_t ioctx_lock ;
852 struct hlist_head ioctx_list ;
853 struct task_struct *owner ;
854 struct file *exe_file ;
855 unsigned long num_exe_file_vmas ;
856 struct mmu_notifier_mm *mmu_notifier_mm ;
857 pgtable_t pmd_huge_pte ;
858 struct cpumask cpumask_allocation ;
859};
860#line 119 "include/linux/seqlock.h"
861struct seqcount {
862 unsigned int sequence ;
863};
864#line 119 "include/linux/seqlock.h"
865typedef struct seqcount seqcount_t;
866#line 14 "include/linux/time.h"
867struct timespec {
868 __kernel_time_t tv_sec ;
869 long tv_nsec ;
870};
871#line 16 "include/linux/uio.h"
872struct iovec {
873 void *iov_base ;
874 __kernel_size_t iov_len ;
875};
876#line 30 "include/linux/socket.h"
877struct cred;
878#line 188 "include/linux/rcupdate.h"
879struct notifier_block;
880#line 65 "include/linux/net.h"
881struct poll_table_struct;
882#line 66
883struct pipe_inode_info;
884#line 67
885struct inode;
886#line 121
887struct fasync_struct;
888#line 138
889struct sock;
890#line 156
891struct kiocb;
892#line 98 "include/linux/nodemask.h"
893struct __anonstruct_nodemask_t_57 {
894 unsigned long bits[(((unsigned long )(1 << 10) + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
895};
896#line 98 "include/linux/nodemask.h"
897typedef struct __anonstruct_nodemask_t_57 nodemask_t;
898#line 50 "include/linux/notifier.h"
899struct notifier_block {
900 int (*notifier_call)(struct notifier_block * , unsigned long , void * ) ;
901 struct notifier_block *next ;
902 int priority ;
903};
904#line 61 "include/linux/notifier.h"
905struct blocking_notifier_head {
906 struct rw_semaphore rwsem ;
907 struct notifier_block *head ;
908};
909#line 46 "include/linux/ktime.h"
910union ktime {
911 s64 tv64 ;
912};
913#line 59 "include/linux/ktime.h"
914typedef union ktime ktime_t;
915#line 10 "include/linux/timer.h"
916struct tvec_base;
917#line 12 "include/linux/timer.h"
918struct timer_list {
919 struct list_head entry ;
920 unsigned long expires ;
921 struct tvec_base *base ;
922 void (*function)(unsigned long ) ;
923 unsigned long data ;
924 int slack ;
925 int start_pid ;
926 void *start_site ;
927 char start_comm[16] ;
928};
929#line 289
930struct hrtimer;
931#line 290
932enum hrtimer_restart;
933#line 15 "include/linux/workqueue.h"
934struct workqueue_struct;
935#line 17
936struct work_struct;
937#line 79 "include/linux/workqueue.h"
938struct work_struct {
939 atomic_long_t data ;
940 struct list_head entry ;
941 void (*func)(struct work_struct *work ) ;
942};
943#line 92 "include/linux/workqueue.h"
944struct delayed_work {
945 struct work_struct work ;
946 struct timer_list timer ;
947};
948#line 21 "include/linux/kobject_ns.h"
949struct kobject;
950#line 27
951enum kobj_ns_type {
952 KOBJ_NS_TYPE_NONE = 0,
953 KOBJ_NS_TYPE_NET = 1,
954 KOBJ_NS_TYPES = 2
955} ;
956#line 40 "include/linux/kobject_ns.h"
957struct kobj_ns_type_operations {
958 enum kobj_ns_type type ;
959 void *(*grab_current_ns)(void) ;
960 void *(*netlink_ns)(struct sock *sk ) ;
961 void *(*initial_ns)(void) ;
962 void (*drop_ns)(void * ) ;
963};
964#line 24 "include/linux/sysfs.h"
965enum kobj_ns_type;
966#line 26 "include/linux/sysfs.h"
967struct attribute {
968 char *name ;
969 umode_t mode ;
970};
971#line 112 "include/linux/sysfs.h"
972struct sysfs_ops {
973 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
974 ssize_t (*store)(struct kobject * , struct attribute * , char * , size_t ) ;
975 void *(*namespace)(struct kobject * , struct attribute * ) ;
976};
977#line 118
978struct sysfs_dirent;
979#line 22 "include/linux/kref.h"
980struct kref {
981 atomic_t refcount ;
982};
983#line 60 "include/linux/kobject.h"
984struct kset;
985#line 60
986struct kobj_type;
987#line 60 "include/linux/kobject.h"
988struct kobject {
989 char *name ;
990 struct list_head entry ;
991 struct kobject *parent ;
992 struct kset *kset ;
993 struct kobj_type *ktype ;
994 struct sysfs_dirent *sd ;
995 struct kref kref ;
996 unsigned int state_initialized : 1 ;
997 unsigned int state_in_sysfs : 1 ;
998 unsigned int state_add_uevent_sent : 1 ;
999 unsigned int state_remove_uevent_sent : 1 ;
1000 unsigned int uevent_suppress : 1 ;
1001};
1002#line 108 "include/linux/kobject.h"
1003struct kobj_type {
1004 void (*release)(struct kobject *kobj ) ;
1005 struct sysfs_ops *sysfs_ops ;
1006 struct attribute **default_attrs ;
1007 struct kobj_ns_type_operations *(*child_ns_type)(struct kobject *kobj ) ;
1008 void *(*namespace)(struct kobject *kobj ) ;
1009};
1010#line 116 "include/linux/kobject.h"
1011struct kobj_uevent_env {
1012 char *envp[32] ;
1013 int envp_idx ;
1014 char buf[2048] ;
1015 int buflen ;
1016};
1017#line 123 "include/linux/kobject.h"
1018struct kset_uevent_ops {
1019 int (* filter)(struct kset *kset , struct kobject *kobj ) ;
1020 char *(* name)(struct kset *kset , struct kobject *kobj ) ;
1021 int (* uevent)(struct kset *kset , struct kobject *kobj , struct kobj_uevent_env *env ) ;
1022};
1023#line 159 "include/linux/kobject.h"
1024struct kset {
1025 struct list_head list ;
1026 spinlock_t list_lock ;
1027 struct kobject kobj ;
1028 struct kset_uevent_ops *uevent_ops ;
1029};
1030#line 46 "include/linux/slub_def.h"
1031struct kmem_cache_cpu {
1032 void **freelist ;
1033 unsigned long tid ;
1034 struct page *page ;
1035 struct page *partial ;
1036 int node ;
1037 unsigned int stat[26] ;
1038};
1039#line 57 "include/linux/slub_def.h"
1040struct kmem_cache_node {
1041 spinlock_t list_lock ;
1042 unsigned long nr_partial ;
1043 struct list_head partial ;
1044 atomic_long_t nr_slabs ;
1045 atomic_long_t total_objects ;
1046 struct list_head full ;
1047};
1048#line 73 "include/linux/slub_def.h"
1049struct kmem_cache_order_objects {
1050 unsigned long x ;
1051};
1052#line 80 "include/linux/slub_def.h"
1053struct kmem_cache {
1054 struct kmem_cache_cpu *cpu_slab ;
1055 unsigned long flags ;
1056 unsigned long min_partial ;
1057 int size ;
1058 int objsize ;
1059 int offset ;
1060 int cpu_partial ;
1061 struct kmem_cache_order_objects oo ;
1062 struct kmem_cache_order_objects max ;
1063 struct kmem_cache_order_objects min ;
1064 gfp_t allocflags ;
1065 int refcount ;
1066 void (*ctor)(void * ) ;
1067 int inuse ;
1068 int align ;
1069 int reserved ;
1070 char *name ;
1071 struct list_head list ;
1072 struct kobject kobj ;
1073 int remote_node_defrag_ratio ;
1074 struct kmem_cache_node *node[1 << 10] ;
1075};
1076#line 94 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess.h"
1077struct exception_table_entry {
1078 unsigned long insn ;
1079 unsigned long fixup ;
1080};
1081#line 109 "include/net/checksum.h"
1082struct sk_buff;
1083#line 8 "include/linux/shrinker.h"
1084struct shrink_control {
1085 gfp_t gfp_mask ;
1086 unsigned long nr_to_scan ;
1087};
1088#line 31 "include/linux/shrinker.h"
1089struct shrinker {
1090 int (*shrink)(struct shrinker * , struct shrink_control *sc ) ;
1091 int seeks ;
1092 long batch ;
1093 struct list_head list ;
1094 atomic_long_t nr_in_batch ;
1095};
1096#line 24 "include/linux/mm.h"
1097struct file_ra_state;
1098#line 25
1099struct user_struct;
1100#line 26
1101struct writeback_control;
1102#line 188 "include/linux/mm.h"
1103struct vm_fault {
1104 unsigned int flags ;
1105 unsigned long pgoff ;
1106 void *virtual_address ;
1107 struct page *page ;
1108};
1109#line 205 "include/linux/mm.h"
1110struct vm_operations_struct {
1111 void (*open)(struct vm_area_struct *area ) ;
1112 void (*close)(struct vm_area_struct *area ) ;
1113 int (*fault)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
1114 int (*page_mkwrite)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
1115 int (*access)(struct vm_area_struct *vma , unsigned long addr , void *buf , int len ,
1116 int write ) ;
1117 int (*set_policy)(struct vm_area_struct *vma , struct mempolicy *new ) ;
1118 struct mempolicy *(*get_policy)(struct vm_area_struct *vma , unsigned long addr ) ;
1119 int (*migrate)(struct vm_area_struct *vma , nodemask_t *from , nodemask_t *to ,
1120 unsigned long flags ) ;
1121};
1122#line 37 "include/linux/dmaengine.h"
1123typedef s32 dma_cookie_t;
1124#line 8 "include/linux/timerqueue.h"
1125struct timerqueue_node {
1126 struct rb_node node ;
1127 ktime_t expires ;
1128};
1129#line 13 "include/linux/timerqueue.h"
1130struct timerqueue_head {
1131 struct rb_root head ;
1132 struct timerqueue_node *next ;
1133};
1134#line 27 "include/linux/hrtimer.h"
1135struct hrtimer_clock_base;
1136#line 28
1137struct hrtimer_cpu_base;
1138#line 44
1139enum hrtimer_restart {
1140 HRTIMER_NORESTART = 0,
1141 HRTIMER_RESTART = 1
1142} ;
1143#line 108 "include/linux/hrtimer.h"
1144struct hrtimer {
1145 struct timerqueue_node node ;
1146 ktime_t _softexpires ;
1147 enum hrtimer_restart (*function)(struct hrtimer * ) ;
1148 struct hrtimer_clock_base *base ;
1149 unsigned long state ;
1150 int start_pid ;
1151 void *start_site ;
1152 char start_comm[16] ;
1153};
1154#line 145 "include/linux/hrtimer.h"
1155struct hrtimer_clock_base {
1156 struct hrtimer_cpu_base *cpu_base ;
1157 int index ;
1158 clockid_t clockid ;
1159 struct timerqueue_head active ;
1160 ktime_t resolution ;
1161 ktime_t (*get_time)(void) ;
1162 ktime_t softirq_time ;
1163 ktime_t offset ;
1164};
1165#line 178 "include/linux/hrtimer.h"
1166struct hrtimer_cpu_base {
1167 raw_spinlock_t lock ;
1168 unsigned long active_bases ;
1169 ktime_t expires_next ;
1170 int hres_active ;
1171 int hang_detected ;
1172 unsigned long nr_events ;
1173 unsigned long nr_retries ;
1174 unsigned long nr_hangs ;
1175 ktime_t max_hang_time ;
1176 struct hrtimer_clock_base clock_base[3] ;
1177};
1178#line 113 "include/linux/skbuff.h"
1179struct nf_conntrack {
1180 atomic_t use ;
1181};
1182#line 119 "include/linux/skbuff.h"
1183struct nf_bridge_info {
1184 atomic_t use ;
1185 struct net_device *physindev ;
1186 struct net_device *physoutdev ;
1187 unsigned int mask ;
1188 unsigned long data[32UL / sizeof(unsigned long )] ;
1189};
1190#line 128 "include/linux/skbuff.h"
1191struct sk_buff_head {
1192 struct sk_buff *next ;
1193 struct sk_buff *prev ;
1194 __u32 qlen ;
1195 spinlock_t lock ;
1196};
1197#line 318 "include/linux/skbuff.h"
1198typedef unsigned int sk_buff_data_t;
1199#line 391
1200struct sec_path;
1201#line 391 "include/linux/skbuff.h"
1202struct __anonstruct____missing_field_name_160 {
1203 __u16 csum_start ;
1204 __u16 csum_offset ;
1205};
1206#line 391 "include/linux/skbuff.h"
1207union __anonunion____missing_field_name_159 {
1208 __wsum csum ;
1209 struct __anonstruct____missing_field_name_160 __annonCompField39 ;
1210};
1211#line 391 "include/linux/skbuff.h"
1212union __anonunion____missing_field_name_161 {
1213 __u32 mark ;
1214 __u32 dropcount ;
1215 __u32 avail_size ;
1216};
1217#line 391 "include/linux/skbuff.h"
1218struct sk_buff {
1219 struct sk_buff *next ;
1220 struct sk_buff *prev ;
1221 ktime_t tstamp ;
1222 struct sock *sk ;
1223 struct net_device *dev ;
1224 char cb[48] __attribute__((__aligned__(8))) ;
1225 unsigned long _skb_refdst ;
1226 struct sec_path *sp ;
1227 unsigned int len ;
1228 unsigned int data_len ;
1229 __u16 mac_len ;
1230 __u16 hdr_len ;
1231 union __anonunion____missing_field_name_159 __annonCompField40 ;
1232 __u32 priority ;
1233 __u8 local_df : 1 ;
1234 __u8 cloned : 1 ;
1235 __u8 ip_summed : 2 ;
1236 __u8 nohdr : 1 ;
1237 __u8 nfctinfo : 3 ;
1238 __u8 pkt_type : 3 ;
1239 __u8 fclone : 2 ;
1240 __u8 ipvs_property : 1 ;
1241 __u8 peeked : 1 ;
1242 __u8 nf_trace : 1 ;
1243 __be16 protocol ;
1244 void (*destructor)(struct sk_buff *skb ) ;
1245 struct nf_conntrack *nfct ;
1246 struct sk_buff *nfct_reasm ;
1247 struct nf_bridge_info *nf_bridge ;
1248 int skb_iif ;
1249 __u32 rxhash ;
1250 __u16 vlan_tci ;
1251 __u16 tc_index ;
1252 __u16 tc_verd ;
1253 __u16 queue_mapping ;
1254 __u8 ndisc_nodetype : 2 ;
1255 __u8 ooo_okay : 1 ;
1256 __u8 l4_rxhash : 1 ;
1257 __u8 wifi_acked_valid : 1 ;
1258 __u8 wifi_acked : 1 ;
1259 __u8 no_fcs : 1 ;
1260 dma_cookie_t dma_cookie ;
1261 __u32 secmark ;
1262 union __anonunion____missing_field_name_161 __annonCompField41 ;
1263 sk_buff_data_t transport_header ;
1264 sk_buff_data_t network_header ;
1265 sk_buff_data_t mac_header ;
1266 sk_buff_data_t tail ;
1267 sk_buff_data_t end ;
1268 unsigned char *head ;
1269 unsigned char *data ;
1270 unsigned int truesize ;
1271 atomic_t users ;
1272};
1273#line 53 "include/linux/kernelcapi.h"
1274struct capi20_appl {
1275 u16 applid ;
1276 capi_register_params rparam ;
1277 void (*recv_message)(struct capi20_appl *ap , struct sk_buff *skb ) ;
1278 void *private ;
1279 unsigned long nrecvctlpkt ;
1280 unsigned long nrecvdatapkt ;
1281 unsigned long nsentctlpkt ;
1282 unsigned long nsentdatapkt ;
1283 struct mutex recv_mtx ;
1284 struct sk_buff_head recv_queue ;
1285 struct work_struct recv_work ;
1286 int release_in_progress ;
1287};
1288#line 20 "include/linux/isdn/capilli.h"
1289struct capiloaddatapart {
1290 int user ;
1291 int len ;
1292 unsigned char *data ;
1293};
1294#line 20 "include/linux/isdn/capilli.h"
1295typedef struct capiloaddatapart capiloaddatapart;
1296#line 26 "include/linux/isdn/capilli.h"
1297struct capiloaddata {
1298 capiloaddatapart firmware ;
1299 capiloaddatapart configuration ;
1300};
1301#line 26 "include/linux/isdn/capilli.h"
1302typedef struct capiloaddata capiloaddata;
1303#line 31 "include/linux/isdn/capilli.h"
1304struct capicardparams {
1305 unsigned int port ;
1306 unsigned int irq ;
1307 int cardtype ;
1308 int cardnr ;
1309 unsigned int membase ;
1310};
1311#line 31 "include/linux/isdn/capilli.h"
1312typedef struct capicardparams capicardparams;
1313#line 39
1314struct file_operations;
1315#line 39
1316struct proc_dir_entry;
1317#line 39 "include/linux/isdn/capilli.h"
1318struct capi_ctr {
1319 struct module *owner ;
1320 void *driverdata ;
1321 char name[32] ;
1322 char *driver_name ;
1323 int (*load_firmware)(struct capi_ctr * , capiloaddata * ) ;
1324 void (*reset_ctr)(struct capi_ctr * ) ;
1325 void (*register_appl)(struct capi_ctr * , u16 appl , capi_register_params * ) ;
1326 void (*release_appl)(struct capi_ctr * , u16 appl ) ;
1327 u16 (*send_message)(struct capi_ctr * , struct sk_buff *skb ) ;
1328 char *(*procinfo)(struct capi_ctr * ) ;
1329 struct file_operations *proc_fops ;
1330 u8 manu[64] ;
1331 capi_version version ;
1332 capi_profile profile ;
1333 u8 serial[8] ;
1334 unsigned long nrecvctlpkt ;
1335 unsigned long nrecvdatapkt ;
1336 unsigned long nsentctlpkt ;
1337 unsigned long nsentdatapkt ;
1338 int cnr ;
1339 unsigned short state ;
1340 int blocked ;
1341 int traceflag ;
1342 wait_queue_head_t state_wait_queue ;
1343 struct proc_dir_entry *procent ;
1344 char procfn[128] ;
1345};
1346#line 90 "include/linux/isdn/capilli.h"
1347struct capi_driver {
1348 char name[32] ;
1349 char revision[32] ;
1350 int (*add_card)(struct capi_driver *driver , capicardparams *data ) ;
1351 struct list_head list ;
1352};
1353#line 62 "include/linux/stat.h"
1354struct kstat {
1355 u64 ino ;
1356 dev_t dev ;
1357 umode_t mode ;
1358 unsigned int nlink ;
1359 uid_t uid ;
1360 gid_t gid ;
1361 dev_t rdev ;
1362 loff_t size ;
1363 struct timespec atime ;
1364 struct timespec mtime ;
1365 struct timespec ctime ;
1366 unsigned long blksize ;
1367 unsigned long long blocks ;
1368};
1369#line 939 "include/linux/sysctl.h"
1370struct nsproxy;
1371#line 18 "include/linux/elf.h"
1372typedef __u64 Elf64_Addr;
1373#line 19 "include/linux/elf.h"
1374typedef __u16 Elf64_Half;
1375#line 23 "include/linux/elf.h"
1376typedef __u32 Elf64_Word;
1377#line 24 "include/linux/elf.h"
1378typedef __u64 Elf64_Xword;
1379#line 194 "include/linux/elf.h"
1380struct elf64_sym {
1381 Elf64_Word st_name ;
1382 unsigned char st_info ;
1383 unsigned char st_other ;
1384 Elf64_Half st_shndx ;
1385 Elf64_Addr st_value ;
1386 Elf64_Xword st_size ;
1387};
1388#line 194 "include/linux/elf.h"
1389typedef struct elf64_sym Elf64_Sym;
1390#line 39 "include/linux/moduleparam.h"
1391struct kernel_param;
1392#line 41 "include/linux/moduleparam.h"
1393struct kernel_param_ops {
1394 int (*set)(char *val , struct kernel_param *kp ) ;
1395 int (*get)(char *buffer , struct kernel_param *kp ) ;
1396 void (*free)(void *arg ) ;
1397};
1398#line 50
1399struct kparam_string;
1400#line 50
1401struct kparam_array;
1402#line 50 "include/linux/moduleparam.h"
1403union __anonunion____missing_field_name_227 {
1404 void *arg ;
1405 struct kparam_string *str ;
1406 struct kparam_array *arr ;
1407};
1408#line 50 "include/linux/moduleparam.h"
1409struct kernel_param {
1410 char *name ;
1411 struct kernel_param_ops *ops ;
1412 u16 perm ;
1413 s16 level ;
1414 union __anonunion____missing_field_name_227 __annonCompField44 ;
1415};
1416#line 63 "include/linux/moduleparam.h"
1417struct kparam_string {
1418 unsigned int maxlen ;
1419 char *string ;
1420};
1421#line 69 "include/linux/moduleparam.h"
1422struct kparam_array {
1423 unsigned int max ;
1424 unsigned int elemsize ;
1425 unsigned int *num ;
1426 struct kernel_param_ops *ops ;
1427 void *elem ;
1428};
1429#line 143 "include/linux/jump_label.h"
1430struct static_key {
1431 atomic_t enabled ;
1432};
1433#line 23 "include/linux/tracepoint.h"
1434struct tracepoint;
1435#line 25 "include/linux/tracepoint.h"
1436struct tracepoint_func {
1437 void *func ;
1438 void *data ;
1439};
1440#line 30 "include/linux/tracepoint.h"
1441struct tracepoint {
1442 char *name ;
1443 struct static_key key ;
1444 void (*regfunc)(void) ;
1445 void (*unregfunc)(void) ;
1446 struct tracepoint_func *funcs ;
1447};
1448#line 19 "include/linux/export.h"
1449struct kernel_symbol {
1450 unsigned long value ;
1451 char *name ;
1452};
1453#line 8 "include/asm-generic/module.h"
1454struct mod_arch_specific {
1455
1456};
1457#line 37 "include/linux/module.h"
1458struct module_param_attrs;
1459#line 37 "include/linux/module.h"
1460struct module_kobject {
1461 struct kobject kobj ;
1462 struct module *mod ;
1463 struct kobject *drivers_dir ;
1464 struct module_param_attrs *mp ;
1465};
1466#line 44 "include/linux/module.h"
1467struct module_attribute {
1468 struct attribute attr ;
1469 ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
1470 ssize_t (*store)(struct module_attribute * , struct module_kobject * , char * ,
1471 size_t count ) ;
1472 void (*setup)(struct module * , char * ) ;
1473 int (*test)(struct module * ) ;
1474 void (*free)(struct module * ) ;
1475};
1476#line 199
1477enum module_state {
1478 MODULE_STATE_LIVE = 0,
1479 MODULE_STATE_COMING = 1,
1480 MODULE_STATE_GOING = 2
1481} ;
1482#line 215 "include/linux/module.h"
1483struct module_ref {
1484 unsigned long incs ;
1485 unsigned long decs ;
1486} __attribute__((__aligned__((2) * (sizeof(unsigned long )) ))) ;
1487#line 220
1488struct module_sect_attrs;
1489#line 220
1490struct module_notes_attrs;
1491#line 220
1492struct ftrace_event_call;
1493#line 220 "include/linux/module.h"
1494struct module {
1495 enum module_state state ;
1496 struct list_head list ;
1497 char name[64UL - sizeof(unsigned long )] ;
1498 struct module_kobject mkobj ;
1499 struct module_attribute *modinfo_attrs ;
1500 char *version ;
1501 char *srcversion ;
1502 struct kobject *holders_dir ;
1503 struct kernel_symbol *syms ;
1504 unsigned long *crcs ;
1505 unsigned int num_syms ;
1506 struct kernel_param *kp ;
1507 unsigned int num_kp ;
1508 unsigned int num_gpl_syms ;
1509 struct kernel_symbol *gpl_syms ;
1510 unsigned long *gpl_crcs ;
1511 struct kernel_symbol *unused_syms ;
1512 unsigned long *unused_crcs ;
1513 unsigned int num_unused_syms ;
1514 unsigned int num_unused_gpl_syms ;
1515 struct kernel_symbol *unused_gpl_syms ;
1516 unsigned long *unused_gpl_crcs ;
1517 struct kernel_symbol *gpl_future_syms ;
1518 unsigned long *gpl_future_crcs ;
1519 unsigned int num_gpl_future_syms ;
1520 unsigned int num_exentries ;
1521 struct exception_table_entry *extable ;
1522 int (*init)(void) ;
1523 void *module_init ;
1524 void *module_core ;
1525 unsigned int init_size ;
1526 unsigned int core_size ;
1527 unsigned int init_text_size ;
1528 unsigned int core_text_size ;
1529 unsigned int init_ro_size ;
1530 unsigned int core_ro_size ;
1531 struct mod_arch_specific arch ;
1532 unsigned int taints ;
1533 unsigned int num_bugs ;
1534 struct list_head bug_list ;
1535 struct bug_entry *bug_table ;
1536 Elf64_Sym *symtab ;
1537 Elf64_Sym *core_symtab ;
1538 unsigned int num_symtab ;
1539 unsigned int core_num_syms ;
1540 char *strtab ;
1541 char *core_strtab ;
1542 struct module_sect_attrs *sect_attrs ;
1543 struct module_notes_attrs *notes_attrs ;
1544 char *args ;
1545 void *percpu ;
1546 unsigned int percpu_size ;
1547 unsigned int num_tracepoints ;
1548 struct tracepoint * *tracepoints_ptrs ;
1549 unsigned int num_trace_bprintk_fmt ;
1550 char **trace_bprintk_fmt_start ;
1551 struct ftrace_event_call **trace_events ;
1552 unsigned int num_trace_events ;
1553 struct list_head source_list ;
1554 struct list_head target_list ;
1555 struct task_struct *waiter ;
1556 void (*exit)(void) ;
1557 struct module_ref *refptr ;
1558 ctor_fn_t *ctors ;
1559 unsigned int num_ctors ;
1560};
1561#line 16 "include/linux/blk_types.h"
1562struct block_device;
1563#line 33 "include/linux/list_bl.h"
1564struct hlist_bl_node;
1565#line 33 "include/linux/list_bl.h"
1566struct hlist_bl_head {
1567 struct hlist_bl_node *first ;
1568};
1569#line 37 "include/linux/list_bl.h"
1570struct hlist_bl_node {
1571 struct hlist_bl_node *next ;
1572 struct hlist_bl_node **pprev ;
1573};
1574#line 13 "include/linux/dcache.h"
1575struct nameidata;
1576#line 14
1577struct path;
1578#line 15
1579struct vfsmount;
1580#line 35 "include/linux/dcache.h"
1581struct qstr {
1582 unsigned int hash ;
1583 unsigned int len ;
1584 unsigned char *name ;
1585};
1586#line 88
1587struct dentry_operations;
1588#line 88
1589struct super_block;
1590#line 88 "include/linux/dcache.h"
1591union __anonunion_d_u_237 {
1592 struct list_head d_child ;
1593 struct rcu_head d_rcu ;
1594};
1595#line 88 "include/linux/dcache.h"
1596struct dentry {
1597 unsigned int d_flags ;
1598 seqcount_t d_seq ;
1599 struct hlist_bl_node d_hash ;
1600 struct dentry *d_parent ;
1601 struct qstr d_name ;
1602 struct inode *d_inode ;
1603 unsigned char d_iname[32] ;
1604 unsigned int d_count ;
1605 spinlock_t d_lock ;
1606 struct dentry_operations *d_op ;
1607 struct super_block *d_sb ;
1608 unsigned long d_time ;
1609 void *d_fsdata ;
1610 struct list_head d_lru ;
1611 union __anonunion_d_u_237 d_u ;
1612 struct list_head d_subdirs ;
1613 struct list_head d_alias ;
1614};
1615#line 131 "include/linux/dcache.h"
1616struct dentry_operations {
1617 int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
1618 int (*d_hash)(struct dentry * , struct inode * , struct qstr * ) ;
1619 int (*d_compare)(struct dentry * , struct inode * , struct dentry const * ,
1620 struct inode * , unsigned int , char * , struct qstr const * ) ;
1621 int (*d_delete)(struct dentry * ) ;
1622 void (*d_release)(struct dentry * ) ;
1623 void (*d_prune)(struct dentry * ) ;
1624 void (*d_iput)(struct dentry * , struct inode * ) ;
1625 char *(*d_dname)(struct dentry * , char * , int ) ;
1626 struct vfsmount *(*d_automount)(struct path * ) ;
1627 int (*d_manage)(struct dentry * , bool ) ;
1628} __attribute__((__aligned__((1) << (6) ))) ;
1629#line 7 "include/linux/path.h"
1630struct path {
1631 struct vfsmount *mnt ;
1632 struct dentry *dentry ;
1633};
1634#line 64 "include/linux/radix-tree.h"
1635struct radix_tree_node;
1636#line 64 "include/linux/radix-tree.h"
1637struct radix_tree_root {
1638 unsigned int height ;
1639 gfp_t gfp_mask ;
1640 struct radix_tree_node *rnode ;
1641};
1642#line 6 "include/linux/pid.h"
1643enum pid_type {
1644 PIDTYPE_PID = 0,
1645 PIDTYPE_PGID = 1,
1646 PIDTYPE_SID = 2,
1647 PIDTYPE_MAX = 3
1648} ;
1649#line 50
1650struct pid_namespace;
1651#line 50 "include/linux/pid.h"
1652struct upid {
1653 int nr ;
1654 struct pid_namespace *ns ;
1655 struct hlist_node pid_chain ;
1656};
1657#line 57 "include/linux/pid.h"
1658struct pid {
1659 atomic_t count ;
1660 unsigned int level ;
1661 struct hlist_head tasks[3] ;
1662 struct rcu_head rcu ;
1663 struct upid numbers[1] ;
1664};
1665#line 69 "include/linux/pid.h"
1666struct pid_link {
1667 struct hlist_node node ;
1668 struct pid *pid ;
1669};
1670#line 94 "include/linux/capability.h"
1671struct kernel_cap_struct {
1672 __u32 cap[2] ;
1673};
1674#line 94 "include/linux/capability.h"
1675typedef struct kernel_cap_struct kernel_cap_t;
1676#line 378
1677struct user_namespace;
1678#line 16 "include/linux/fiemap.h"
1679struct fiemap_extent {
1680 __u64 fe_logical ;
1681 __u64 fe_physical ;
1682 __u64 fe_length ;
1683 __u64 fe_reserved64[2] ;
1684 __u32 fe_flags ;
1685 __u32 fe_reserved[3] ;
1686};
1687#line 10 "include/linux/migrate_mode.h"
1688enum migrate_mode {
1689 MIGRATE_ASYNC = 0,
1690 MIGRATE_SYNC_LIGHT = 1,
1691 MIGRATE_SYNC = 2
1692} ;
1693#line 408 "include/linux/fs.h"
1694struct export_operations;
1695#line 416
1696struct kstatfs;
1697#line 469 "include/linux/fs.h"
1698struct iattr {
1699 unsigned int ia_valid ;
1700 umode_t ia_mode ;
1701 uid_t ia_uid ;
1702 gid_t ia_gid ;
1703 loff_t ia_size ;
1704 struct timespec ia_atime ;
1705 struct timespec ia_mtime ;
1706 struct timespec ia_ctime ;
1707 struct file *ia_file ;
1708};
1709#line 129 "include/linux/quota.h"
1710struct if_dqinfo {
1711 __u64 dqi_bgrace ;
1712 __u64 dqi_igrace ;
1713 __u32 dqi_flags ;
1714 __u32 dqi_valid ;
1715};
1716#line 50 "include/linux/dqblk_xfs.h"
1717struct fs_disk_quota {
1718 __s8 d_version ;
1719 __s8 d_flags ;
1720 __u16 d_fieldmask ;
1721 __u32 d_id ;
1722 __u64 d_blk_hardlimit ;
1723 __u64 d_blk_softlimit ;
1724 __u64 d_ino_hardlimit ;
1725 __u64 d_ino_softlimit ;
1726 __u64 d_bcount ;
1727 __u64 d_icount ;
1728 __s32 d_itimer ;
1729 __s32 d_btimer ;
1730 __u16 d_iwarns ;
1731 __u16 d_bwarns ;
1732 __s32 d_padding2 ;
1733 __u64 d_rtb_hardlimit ;
1734 __u64 d_rtb_softlimit ;
1735 __u64 d_rtbcount ;
1736 __s32 d_rtbtimer ;
1737 __u16 d_rtbwarns ;
1738 __s16 d_padding3 ;
1739 char d_padding4[8] ;
1740};
1741#line 146 "include/linux/dqblk_xfs.h"
1742struct fs_qfilestat {
1743 __u64 qfs_ino ;
1744 __u64 qfs_nblks ;
1745 __u32 qfs_nextents ;
1746};
1747#line 146 "include/linux/dqblk_xfs.h"
1748typedef struct fs_qfilestat fs_qfilestat_t;
1749#line 152 "include/linux/dqblk_xfs.h"
1750struct fs_quota_stat {
1751 __s8 qs_version ;
1752 __u16 qs_flags ;
1753 __s8 qs_pad ;
1754 fs_qfilestat_t qs_uquota ;
1755 fs_qfilestat_t qs_gquota ;
1756 __u32 qs_incoredqs ;
1757 __s32 qs_btimelimit ;
1758 __s32 qs_itimelimit ;
1759 __s32 qs_rtbtimelimit ;
1760 __u16 qs_bwarnlimit ;
1761 __u16 qs_iwarnlimit ;
1762};
1763#line 17 "include/linux/dqblk_qtree.h"
1764struct dquot;
1765#line 185 "include/linux/quota.h"
1766typedef __kernel_uid32_t qid_t;
1767#line 186 "include/linux/quota.h"
1768typedef long long qsize_t;
1769#line 200 "include/linux/quota.h"
1770struct mem_dqblk {
1771 qsize_t dqb_bhardlimit ;
1772 qsize_t dqb_bsoftlimit ;
1773 qsize_t dqb_curspace ;
1774 qsize_t dqb_rsvspace ;
1775 qsize_t dqb_ihardlimit ;
1776 qsize_t dqb_isoftlimit ;
1777 qsize_t dqb_curinodes ;
1778 time_t dqb_btime ;
1779 time_t dqb_itime ;
1780};
1781#line 215
1782struct quota_format_type;
1783#line 217 "include/linux/quota.h"
1784struct mem_dqinfo {
1785 struct quota_format_type *dqi_format ;
1786 int dqi_fmt_id ;
1787 struct list_head dqi_dirty_list ;
1788 unsigned long dqi_flags ;
1789 unsigned int dqi_bgrace ;
1790 unsigned int dqi_igrace ;
1791 qsize_t dqi_maxblimit ;
1792 qsize_t dqi_maxilimit ;
1793 void *dqi_priv ;
1794};
1795#line 288 "include/linux/quota.h"
1796struct dquot {
1797 struct hlist_node dq_hash ;
1798 struct list_head dq_inuse ;
1799 struct list_head dq_free ;
1800 struct list_head dq_dirty ;
1801 struct mutex dq_lock ;
1802 atomic_t dq_count ;
1803 wait_queue_head_t dq_wait_unused ;
1804 struct super_block *dq_sb ;
1805 unsigned int dq_id ;
1806 loff_t dq_off ;
1807 unsigned long dq_flags ;
1808 short dq_type ;
1809 struct mem_dqblk dq_dqb ;
1810};
1811#line 305 "include/linux/quota.h"
1812struct quota_format_ops {
1813 int (*check_quota_file)(struct super_block *sb , int type ) ;
1814 int (*read_file_info)(struct super_block *sb , int type ) ;
1815 int (*write_file_info)(struct super_block *sb , int type ) ;
1816 int (*free_file_info)(struct super_block *sb , int type ) ;
1817 int (*read_dqblk)(struct dquot *dquot ) ;
1818 int (*commit_dqblk)(struct dquot *dquot ) ;
1819 int (*release_dqblk)(struct dquot *dquot ) ;
1820};
1821#line 316 "include/linux/quota.h"
1822struct dquot_operations {
1823 int (*write_dquot)(struct dquot * ) ;
1824 struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
1825 void (*destroy_dquot)(struct dquot * ) ;
1826 int (*acquire_dquot)(struct dquot * ) ;
1827 int (*release_dquot)(struct dquot * ) ;
1828 int (*mark_dirty)(struct dquot * ) ;
1829 int (*write_info)(struct super_block * , int ) ;
1830 qsize_t *(*get_reserved_space)(struct inode * ) ;
1831};
1832#line 332 "include/linux/quota.h"
1833struct quotactl_ops {
1834 int (*quota_on)(struct super_block * , int , int , struct path * ) ;
1835 int (*quota_on_meta)(struct super_block * , int , int ) ;
1836 int (*quota_off)(struct super_block * , int ) ;
1837 int (*quota_sync)(struct super_block * , int , int ) ;
1838 int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
1839 int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
1840 int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
1841 int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
1842 int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
1843 int (*set_xstate)(struct super_block * , unsigned int , int ) ;
1844};
1845#line 345 "include/linux/quota.h"
1846struct quota_format_type {
1847 int qf_fmt_id ;
1848 struct quota_format_ops *qf_ops ;
1849 struct module *qf_owner ;
1850 struct quota_format_type *qf_next ;
1851};
1852#line 399 "include/linux/quota.h"
1853struct quota_info {
1854 unsigned int flags ;
1855 struct mutex dqio_mutex ;
1856 struct mutex dqonoff_mutex ;
1857 struct rw_semaphore dqptr_sem ;
1858 struct inode *files[2] ;
1859 struct mem_dqinfo info[2] ;
1860 struct quota_format_ops *ops[2] ;
1861};
1862#line 577 "include/linux/fs.h"
1863union __anonunion_arg_245 {
1864 char *buf ;
1865 void *data ;
1866};
1867#line 577 "include/linux/fs.h"
1868struct __anonstruct_read_descriptor_t_244 {
1869 size_t written ;
1870 size_t count ;
1871 union __anonunion_arg_245 arg ;
1872 int error ;
1873};
1874#line 577 "include/linux/fs.h"
1875typedef struct __anonstruct_read_descriptor_t_244 read_descriptor_t;
1876#line 590 "include/linux/fs.h"
1877struct address_space_operations {
1878 int (*writepage)(struct page *page , struct writeback_control *wbc ) ;
1879 int (*readpage)(struct file * , struct page * ) ;
1880 int (*writepages)(struct address_space * , struct writeback_control * ) ;
1881 int (*set_page_dirty)(struct page *page ) ;
1882 int (*readpages)(struct file *filp , struct address_space *mapping , struct list_head *pages ,
1883 unsigned int nr_pages ) ;
1884 int (*write_begin)(struct file * , struct address_space *mapping , loff_t pos ,
1885 unsigned int len , unsigned int flags , struct page **pagep ,
1886 void **fsdata ) ;
1887 int (*write_end)(struct file * , struct address_space *mapping , loff_t pos , unsigned int len ,
1888 unsigned int copied , struct page *page , void *fsdata ) ;
1889 sector_t (*bmap)(struct address_space * , sector_t ) ;
1890 void (*invalidatepage)(struct page * , unsigned long ) ;
1891 int (*releasepage)(struct page * , gfp_t ) ;
1892 void (*freepage)(struct page * ) ;
1893 ssize_t (*direct_IO)(int , struct kiocb * , struct iovec *iov , loff_t offset ,
1894 unsigned long nr_segs ) ;
1895 int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ;
1896 int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode ) ;
1897 int (*launder_page)(struct page * ) ;
1898 int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
1899 int (*error_remove_page)(struct address_space * , struct page * ) ;
1900};
1901#line 645
1902struct backing_dev_info;
1903#line 646 "include/linux/fs.h"
1904struct address_space {
1905 struct inode *host ;
1906 struct radix_tree_root page_tree ;
1907 spinlock_t tree_lock ;
1908 unsigned int i_mmap_writable ;
1909 struct prio_tree_root i_mmap ;
1910 struct list_head i_mmap_nonlinear ;
1911 struct mutex i_mmap_mutex ;
1912 unsigned long nrpages ;
1913 unsigned long writeback_index ;
1914 struct address_space_operations *a_ops ;
1915 unsigned long flags ;
1916 struct backing_dev_info *backing_dev_info ;
1917 spinlock_t private_lock ;
1918 struct list_head private_list ;
1919 struct address_space *assoc_mapping ;
1920} __attribute__((__aligned__(sizeof(long )))) ;
1921#line 669
1922struct request_queue;
1923#line 671
1924struct hd_struct;
1925#line 671
1926struct gendisk;
1927#line 671 "include/linux/fs.h"
1928struct block_device {
1929 dev_t bd_dev ;
1930 int bd_openers ;
1931 struct inode *bd_inode ;
1932 struct super_block *bd_super ;
1933 struct mutex bd_mutex ;
1934 struct list_head bd_inodes ;
1935 void *bd_claiming ;
1936 void *bd_holder ;
1937 int bd_holders ;
1938 bool bd_write_holder ;
1939 struct list_head bd_holder_disks ;
1940 struct block_device *bd_contains ;
1941 unsigned int bd_block_size ;
1942 struct hd_struct *bd_part ;
1943 unsigned int bd_part_count ;
1944 int bd_invalidated ;
1945 struct gendisk *bd_disk ;
1946 struct request_queue *bd_queue ;
1947 struct list_head bd_list ;
1948 unsigned long bd_private ;
1949 int bd_fsfreeze_count ;
1950 struct mutex bd_fsfreeze_mutex ;
1951};
1952#line 749
1953struct posix_acl;
1954#line 761
1955struct inode_operations;
1956#line 761 "include/linux/fs.h"
1957union __anonunion____missing_field_name_246 {
1958 unsigned int i_nlink ;
1959 unsigned int __i_nlink ;
1960};
1961#line 761 "include/linux/fs.h"
1962union __anonunion____missing_field_name_247 {
1963 struct list_head i_dentry ;
1964 struct rcu_head i_rcu ;
1965};
1966#line 761
1967struct file_lock;
1968#line 761
1969struct cdev;
1970#line 761 "include/linux/fs.h"
1971union __anonunion____missing_field_name_248 {
1972 struct pipe_inode_info *i_pipe ;
1973 struct block_device *i_bdev ;
1974 struct cdev *i_cdev ;
1975};
1976#line 761 "include/linux/fs.h"
1977struct inode {
1978 umode_t i_mode ;
1979 unsigned short i_opflags ;
1980 uid_t i_uid ;
1981 gid_t i_gid ;
1982 unsigned int i_flags ;
1983 struct posix_acl *i_acl ;
1984 struct posix_acl *i_default_acl ;
1985 struct inode_operations *i_op ;
1986 struct super_block *i_sb ;
1987 struct address_space *i_mapping ;
1988 void *i_security ;
1989 unsigned long i_ino ;
1990 union __anonunion____missing_field_name_246 __annonCompField45 ;
1991 dev_t i_rdev ;
1992 struct timespec i_atime ;
1993 struct timespec i_mtime ;
1994 struct timespec i_ctime ;
1995 spinlock_t i_lock ;
1996 unsigned short i_bytes ;
1997 blkcnt_t i_blocks ;
1998 loff_t i_size ;
1999 unsigned long i_state ;
2000 struct mutex i_mutex ;
2001 unsigned long dirtied_when ;
2002 struct hlist_node i_hash ;
2003 struct list_head i_wb_list ;
2004 struct list_head i_lru ;
2005 struct list_head i_sb_list ;
2006 union __anonunion____missing_field_name_247 __annonCompField46 ;
2007 atomic_t i_count ;
2008 unsigned int i_blkbits ;
2009 u64 i_version ;
2010 atomic_t i_dio_count ;
2011 atomic_t i_writecount ;
2012 struct file_operations *i_fop ;
2013 struct file_lock *i_flock ;
2014 struct address_space i_data ;
2015 struct dquot *i_dquot[2] ;
2016 struct list_head i_devices ;
2017 union __anonunion____missing_field_name_248 __annonCompField47 ;
2018 __u32 i_generation ;
2019 __u32 i_fsnotify_mask ;
2020 struct hlist_head i_fsnotify_marks ;
2021 atomic_t i_readcount ;
2022 void *i_private ;
2023};
2024#line 942 "include/linux/fs.h"
2025struct fown_struct {
2026 rwlock_t lock ;
2027 struct pid *pid ;
2028 enum pid_type pid_type ;
2029 uid_t uid ;
2030 uid_t euid ;
2031 int signum ;
2032};
2033#line 953 "include/linux/fs.h"
2034struct file_ra_state {
2035 unsigned long start ;
2036 unsigned int size ;
2037 unsigned int async_size ;
2038 unsigned int ra_pages ;
2039 unsigned int mmap_miss ;
2040 loff_t prev_pos ;
2041};
2042#line 976 "include/linux/fs.h"
2043union __anonunion_f_u_249 {
2044 struct list_head fu_list ;
2045 struct rcu_head fu_rcuhead ;
2046};
2047#line 976 "include/linux/fs.h"
2048struct file {
2049 union __anonunion_f_u_249 f_u ;
2050 struct path f_path ;
2051 struct file_operations *f_op ;
2052 spinlock_t f_lock ;
2053 int f_sb_list_cpu ;
2054 atomic_long_t f_count ;
2055 unsigned int f_flags ;
2056 fmode_t f_mode ;
2057 loff_t f_pos ;
2058 struct fown_struct f_owner ;
2059 struct cred *f_cred ;
2060 struct file_ra_state f_ra ;
2061 u64 f_version ;
2062 void *f_security ;
2063 void *private_data ;
2064 struct list_head f_ep_links ;
2065 struct list_head f_tfile_llink ;
2066 struct address_space *f_mapping ;
2067 unsigned long f_mnt_write_state ;
2068};
2069#line 1111
2070struct files_struct;
2071#line 1111 "include/linux/fs.h"
2072typedef struct files_struct *fl_owner_t;
2073#line 1113 "include/linux/fs.h"
2074struct file_lock_operations {
2075 void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
2076 void (*fl_release_private)(struct file_lock * ) ;
2077};
2078#line 1118 "include/linux/fs.h"
2079struct lock_manager_operations {
2080 int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
2081 void (*lm_notify)(struct file_lock * ) ;
2082 int (*lm_grant)(struct file_lock * , struct file_lock * , int ) ;
2083 void (*lm_release_private)(struct file_lock * ) ;
2084 void (*lm_break)(struct file_lock * ) ;
2085 int (*lm_change)(struct file_lock ** , int ) ;
2086};
2087#line 4 "include/linux/nfs_fs_i.h"
2088struct nlm_lockowner;
2089#line 9 "include/linux/nfs_fs_i.h"
2090struct nfs_lock_info {
2091 u32 state ;
2092 struct nlm_lockowner *owner ;
2093 struct list_head list ;
2094};
2095#line 15
2096struct nfs4_lock_state;
2097#line 16 "include/linux/nfs_fs_i.h"
2098struct nfs4_lock_info {
2099 struct nfs4_lock_state *owner ;
2100};
2101#line 1138 "include/linux/fs.h"
2102struct __anonstruct_afs_251 {
2103 struct list_head link ;
2104 int state ;
2105};
2106#line 1138 "include/linux/fs.h"
2107union __anonunion_fl_u_250 {
2108 struct nfs_lock_info nfs_fl ;
2109 struct nfs4_lock_info nfs4_fl ;
2110 struct __anonstruct_afs_251 afs ;
2111};
2112#line 1138 "include/linux/fs.h"
2113struct file_lock {
2114 struct file_lock *fl_next ;
2115 struct list_head fl_link ;
2116 struct list_head fl_block ;
2117 fl_owner_t fl_owner ;
2118 unsigned int fl_flags ;
2119 unsigned char fl_type ;
2120 unsigned int fl_pid ;
2121 struct pid *fl_nspid ;
2122 wait_queue_head_t fl_wait ;
2123 struct file *fl_file ;
2124 loff_t fl_start ;
2125 loff_t fl_end ;
2126 struct fasync_struct *fl_fasync ;
2127 unsigned long fl_break_time ;
2128 unsigned long fl_downgrade_time ;
2129 struct file_lock_operations *fl_ops ;
2130 struct lock_manager_operations *fl_lmops ;
2131 union __anonunion_fl_u_250 fl_u ;
2132};
2133#line 1378 "include/linux/fs.h"
2134struct fasync_struct {
2135 spinlock_t fa_lock ;
2136 int magic ;
2137 int fa_fd ;
2138 struct fasync_struct *fa_next ;
2139 struct file *fa_file ;
2140 struct rcu_head fa_rcu ;
2141};
2142#line 1418
2143struct file_system_type;
2144#line 1418
2145struct super_operations;
2146#line 1418
2147struct xattr_handler;
2148#line 1418
2149struct mtd_info;
2150#line 1418 "include/linux/fs.h"
2151struct super_block {
2152 struct list_head s_list ;
2153 dev_t s_dev ;
2154 unsigned char s_dirt ;
2155 unsigned char s_blocksize_bits ;
2156 unsigned long s_blocksize ;
2157 loff_t s_maxbytes ;
2158 struct file_system_type *s_type ;
2159 struct super_operations *s_op ;
2160 struct dquot_operations *dq_op ;
2161 struct quotactl_ops *s_qcop ;
2162 struct export_operations *s_export_op ;
2163 unsigned long s_flags ;
2164 unsigned long s_magic ;
2165 struct dentry *s_root ;
2166 struct rw_semaphore s_umount ;
2167 struct mutex s_lock ;
2168 int s_count ;
2169 atomic_t s_active ;
2170 void *s_security ;
2171 struct xattr_handler **s_xattr ;
2172 struct list_head s_inodes ;
2173 struct hlist_bl_head s_anon ;
2174 struct list_head *s_files ;
2175 struct list_head s_mounts ;
2176 struct list_head s_dentry_lru ;
2177 int s_nr_dentry_unused ;
2178 spinlock_t s_inode_lru_lock __attribute__((__aligned__((1) << (6) ))) ;
2179 struct list_head s_inode_lru ;
2180 int s_nr_inodes_unused ;
2181 struct block_device *s_bdev ;
2182 struct backing_dev_info *s_bdi ;
2183 struct mtd_info *s_mtd ;
2184 struct hlist_node s_instances ;
2185 struct quota_info s_dquot ;
2186 int s_frozen ;
2187 wait_queue_head_t s_wait_unfrozen ;
2188 char s_id[32] ;
2189 u8 s_uuid[16] ;
2190 void *s_fs_info ;
2191 unsigned int s_max_links ;
2192 fmode_t s_mode ;
2193 u32 s_time_gran ;
2194 struct mutex s_vfs_rename_mutex ;
2195 char *s_subtype ;
2196 char *s_options ;
2197 struct dentry_operations *s_d_op ;
2198 int cleancache_poolid ;
2199 struct shrinker s_shrink ;
2200 atomic_long_t s_remove_count ;
2201 int s_readonly_remount ;
2202};
2203#line 1567 "include/linux/fs.h"
2204struct fiemap_extent_info {
2205 unsigned int fi_flags ;
2206 unsigned int fi_extents_mapped ;
2207 unsigned int fi_extents_max ;
2208 struct fiemap_extent *fi_extents_start ;
2209};
2210#line 1609 "include/linux/fs.h"
2211struct file_operations {
2212 struct module *owner ;
2213 loff_t (*llseek)(struct file * , loff_t , int ) ;
2214 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
2215 ssize_t (*write)(struct file * , char * , size_t , loff_t * ) ;
2216 ssize_t (*aio_read)(struct kiocb * , struct iovec * , unsigned long ,
2217 loff_t ) ;
2218 ssize_t (*aio_write)(struct kiocb * , struct iovec * , unsigned long ,
2219 loff_t ) ;
2220 int (*readdir)(struct file * , void * , int (*)(void * , char * , int ,
2221 loff_t , u64 , unsigned int ) ) ;
2222 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
2223 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
2224 long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ;
2225 int (*mmap)(struct file * , struct vm_area_struct * ) ;
2226 int (*open)(struct inode * , struct file * ) ;
2227 int (*flush)(struct file * , fl_owner_t id ) ;
2228 int (*release)(struct inode * , struct file * ) ;
2229 int (*fsync)(struct file * , loff_t , loff_t , int datasync ) ;
2230 int (*aio_fsync)(struct kiocb * , int datasync ) ;
2231 int (*fasync)(int , struct file * , int ) ;
2232 int (*lock)(struct file * , int , struct file_lock * ) ;
2233 ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * ,
2234 int ) ;
2235 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
2236 unsigned long , unsigned long ) ;
2237 int (*check_flags)(int ) ;
2238 int (*flock)(struct file * , int , struct file_lock * ) ;
2239 ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t ,
2240 unsigned int ) ;
2241 ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t ,
2242 unsigned int ) ;
2243 int (*setlease)(struct file * , long , struct file_lock ** ) ;
2244 long (*fallocate)(struct file *file , int mode , loff_t offset , loff_t len ) ;
2245};
2246#line 1639 "include/linux/fs.h"
2247struct inode_operations {
2248 struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
2249 void *(*follow_link)(struct dentry * , struct nameidata * ) ;
2250 int (*permission)(struct inode * , int ) ;
2251 struct posix_acl *(*get_acl)(struct inode * , int ) ;
2252 int (*readlink)(struct dentry * , char * , int ) ;
2253 void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
2254 int (*create)(struct inode * , struct dentry * , umode_t , struct nameidata * ) ;
2255 int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
2256 int (*unlink)(struct inode * , struct dentry * ) ;
2257 int (*symlink)(struct inode * , struct dentry * , char * ) ;
2258 int (*mkdir)(struct inode * , struct dentry * , umode_t ) ;
2259 int (*rmdir)(struct inode * , struct dentry * ) ;
2260 int (*mknod)(struct inode * , struct dentry * , umode_t , dev_t ) ;
2261 int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
2262 void (*truncate)(struct inode * ) ;
2263 int (*setattr)(struct dentry * , struct iattr * ) ;
2264 int (*getattr)(struct vfsmount *mnt , struct dentry * , struct kstat * ) ;
2265 int (*setxattr)(struct dentry * , char * , void * , size_t , int ) ;
2266 ssize_t (*getxattr)(struct dentry * , char * , void * , size_t ) ;
2267 ssize_t (*listxattr)(struct dentry * , char * , size_t ) ;
2268 int (*removexattr)(struct dentry * , char * ) ;
2269 void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
2270 int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 start , u64 len ) ;
2271} __attribute__((__aligned__((1) << (6) ))) ;
2272#line 1684 "include/linux/fs.h"
2273struct super_operations {
2274 struct inode *(*alloc_inode)(struct super_block *sb ) ;
2275 void (*destroy_inode)(struct inode * ) ;
2276 void (*dirty_inode)(struct inode * , int flags ) ;
2277 int (*write_inode)(struct inode * , struct writeback_control *wbc ) ;
2278 int (*drop_inode)(struct inode * ) ;
2279 void (*evict_inode)(struct inode * ) ;
2280 void (*put_super)(struct super_block * ) ;
2281 void (*write_super)(struct super_block * ) ;
2282 int (*sync_fs)(struct super_block *sb , int wait ) ;
2283 int (*freeze_fs)(struct super_block * ) ;
2284 int (*unfreeze_fs)(struct super_block * ) ;
2285 int (*statfs)(struct dentry * , struct kstatfs * ) ;
2286 int (*remount_fs)(struct super_block * , int * , char * ) ;
2287 void (*umount_begin)(struct super_block * ) ;
2288 int (*show_options)(struct seq_file * , struct dentry * ) ;
2289 int (*show_devname)(struct seq_file * , struct dentry * ) ;
2290 int (*show_path)(struct seq_file * , struct dentry * ) ;
2291 int (*show_stats)(struct seq_file * , struct dentry * ) ;
2292 ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ;
2293 ssize_t (*quota_write)(struct super_block * , int , char * , size_t ,
2294 loff_t ) ;
2295 int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
2296 int (*nr_cached_objects)(struct super_block * ) ;
2297 void (*free_cached_objects)(struct super_block * , int ) ;
2298};
2299#line 1835 "include/linux/fs.h"
2300struct file_system_type {
2301 char *name ;
2302 int fs_flags ;
2303 struct dentry *(*mount)(struct file_system_type * , int , char * , void * ) ;
2304 void (*kill_sb)(struct super_block * ) ;
2305 struct module *owner ;
2306 struct file_system_type *next ;
2307 struct hlist_head fs_supers ;
2308 struct lock_class_key s_lock_key ;
2309 struct lock_class_key s_umount_key ;
2310 struct lock_class_key s_vfs_rename_key ;
2311 struct lock_class_key i_lock_key ;
2312 struct lock_class_key i_mutex_key ;
2313 struct lock_class_key i_mutex_dir_key ;
2314};
2315#line 46 "include/linux/proc_fs.h"
2316typedef int read_proc_t(char *page , char **start , off_t off , int count , int *eof ,
2317 void *data );
2318#line 48 "include/linux/proc_fs.h"
2319typedef int write_proc_t(struct file *file , char *buffer , unsigned long count ,
2320 void *data );
2321#line 51 "include/linux/proc_fs.h"
2322struct proc_dir_entry {
2323 unsigned int low_ino ;
2324 umode_t mode ;
2325 nlink_t nlink ;
2326 uid_t uid ;
2327 gid_t gid ;
2328 loff_t size ;
2329 struct inode_operations *proc_iops ;
2330 struct file_operations *proc_fops ;
2331 struct proc_dir_entry *next ;
2332 struct proc_dir_entry *parent ;
2333 struct proc_dir_entry *subdir ;
2334 void *data ;
2335 read_proc_t *read_proc ;
2336 write_proc_t *write_proc ;
2337 atomic_t count ;
2338 int pde_users ;
2339 struct completion *pde_unload_completion ;
2340 struct list_head pde_openers ;
2341 spinlock_t pde_unload_lock ;
2342 u8 namelen ;
2343 char name[] ;
2344};
2345#line 7 "include/asm-generic/cputime.h"
2346typedef unsigned long cputime_t;
2347#line 101 "include/linux/sem.h"
2348struct sem_undo_list;
2349#line 101 "include/linux/sem.h"
2350struct sysv_sem {
2351 struct sem_undo_list *undo_list ;
2352};
2353#line 10 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2354struct siginfo;
2355#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2356struct __anonstruct_sigset_t_255 {
2357 unsigned long sig[1] ;
2358};
2359#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2360typedef struct __anonstruct_sigset_t_255 sigset_t;
2361#line 17 "include/asm-generic/signal-defs.h"
2362typedef void __signalfn_t(int );
2363#line 18 "include/asm-generic/signal-defs.h"
2364typedef __signalfn_t *__sighandler_t;
2365#line 20 "include/asm-generic/signal-defs.h"
2366typedef void __restorefn_t(void);
2367#line 21 "include/asm-generic/signal-defs.h"
2368typedef __restorefn_t *__sigrestore_t;
2369#line 167 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2370struct sigaction {
2371 __sighandler_t sa_handler ;
2372 unsigned long sa_flags ;
2373 __sigrestore_t sa_restorer ;
2374 sigset_t sa_mask ;
2375};
2376#line 174 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2377struct k_sigaction {
2378 struct sigaction sa ;
2379};
2380#line 7 "include/asm-generic/siginfo.h"
2381union sigval {
2382 int sival_int ;
2383 void *sival_ptr ;
2384};
2385#line 7 "include/asm-generic/siginfo.h"
2386typedef union sigval sigval_t;
2387#line 48 "include/asm-generic/siginfo.h"
2388struct __anonstruct__kill_257 {
2389 __kernel_pid_t _pid ;
2390 __kernel_uid32_t _uid ;
2391};
2392#line 48 "include/asm-generic/siginfo.h"
2393struct __anonstruct__timer_258 {
2394 __kernel_timer_t _tid ;
2395 int _overrun ;
2396 char _pad[sizeof(__kernel_uid32_t ) - sizeof(int )] ;
2397 sigval_t _sigval ;
2398 int _sys_private ;
2399};
2400#line 48 "include/asm-generic/siginfo.h"
2401struct __anonstruct__rt_259 {
2402 __kernel_pid_t _pid ;
2403 __kernel_uid32_t _uid ;
2404 sigval_t _sigval ;
2405};
2406#line 48 "include/asm-generic/siginfo.h"
2407struct __anonstruct__sigchld_260 {
2408 __kernel_pid_t _pid ;
2409 __kernel_uid32_t _uid ;
2410 int _status ;
2411 __kernel_clock_t _utime ;
2412 __kernel_clock_t _stime ;
2413};
2414#line 48 "include/asm-generic/siginfo.h"
2415struct __anonstruct__sigfault_261 {
2416 void *_addr ;
2417 short _addr_lsb ;
2418};
2419#line 48 "include/asm-generic/siginfo.h"
2420struct __anonstruct__sigpoll_262 {
2421 long _band ;
2422 int _fd ;
2423};
2424#line 48 "include/asm-generic/siginfo.h"
2425union __anonunion__sifields_256 {
2426 int _pad[(128UL - 4UL * sizeof(int )) / sizeof(int )] ;
2427 struct __anonstruct__kill_257 _kill ;
2428 struct __anonstruct__timer_258 _timer ;
2429 struct __anonstruct__rt_259 _rt ;
2430 struct __anonstruct__sigchld_260 _sigchld ;
2431 struct __anonstruct__sigfault_261 _sigfault ;
2432 struct __anonstruct__sigpoll_262 _sigpoll ;
2433};
2434#line 48 "include/asm-generic/siginfo.h"
2435struct siginfo {
2436 int si_signo ;
2437 int si_errno ;
2438 int si_code ;
2439 union __anonunion__sifields_256 _sifields ;
2440};
2441#line 48 "include/asm-generic/siginfo.h"
2442typedef struct siginfo siginfo_t;
2443#line 28 "include/linux/signal.h"
2444struct sigpending {
2445 struct list_head list ;
2446 sigset_t signal ;
2447};
2448#line 10 "include/linux/seccomp.h"
2449struct __anonstruct_seccomp_t_265 {
2450 int mode ;
2451};
2452#line 10 "include/linux/seccomp.h"
2453typedef struct __anonstruct_seccomp_t_265 seccomp_t;
2454#line 81 "include/linux/plist.h"
2455struct plist_head {
2456 struct list_head node_list ;
2457};
2458#line 85 "include/linux/plist.h"
2459struct plist_node {
2460 int prio ;
2461 struct list_head prio_list ;
2462 struct list_head node_list ;
2463};
2464#line 40 "include/linux/rtmutex.h"
2465struct rt_mutex_waiter;
2466#line 42 "include/linux/resource.h"
2467struct rlimit {
2468 unsigned long rlim_cur ;
2469 unsigned long rlim_max ;
2470};
2471#line 11 "include/linux/task_io_accounting.h"
2472struct task_io_accounting {
2473 u64 rchar ;
2474 u64 wchar ;
2475 u64 syscr ;
2476 u64 syscw ;
2477 u64 read_bytes ;
2478 u64 write_bytes ;
2479 u64 cancelled_write_bytes ;
2480};
2481#line 20 "include/linux/latencytop.h"
2482struct latency_record {
2483 unsigned long backtrace[12] ;
2484 unsigned int count ;
2485 unsigned long time ;
2486 unsigned long max ;
2487};
2488#line 29 "include/linux/key.h"
2489typedef int32_t key_serial_t;
2490#line 32 "include/linux/key.h"
2491typedef uint32_t key_perm_t;
2492#line 34
2493struct key;
2494#line 76
2495struct signal_struct;
2496#line 79
2497struct key_type;
2498#line 81
2499struct keyring_list;
2500#line 124
2501struct key_user;
2502#line 124 "include/linux/key.h"
2503union __anonunion____missing_field_name_266 {
2504 time_t expiry ;
2505 time_t revoked_at ;
2506};
2507#line 124 "include/linux/key.h"
2508union __anonunion_type_data_267 {
2509 struct list_head link ;
2510 unsigned long x[2] ;
2511 void *p[2] ;
2512 int reject_error ;
2513};
2514#line 124 "include/linux/key.h"
2515union __anonunion_payload_268 {
2516 unsigned long value ;
2517 void *rcudata ;
2518 void *data ;
2519 struct keyring_list *subscriptions ;
2520};
2521#line 124 "include/linux/key.h"
2522struct key {
2523 atomic_t usage ;
2524 key_serial_t serial ;
2525 struct rb_node serial_node ;
2526 struct key_type *type ;
2527 struct rw_semaphore sem ;
2528 struct key_user *user ;
2529 void *security ;
2530 union __anonunion____missing_field_name_266 __annonCompField48 ;
2531 uid_t uid ;
2532 gid_t gid ;
2533 key_perm_t perm ;
2534 unsigned short quotalen ;
2535 unsigned short datalen ;
2536 unsigned long flags ;
2537 char *description ;
2538 union __anonunion_type_data_267 type_data ;
2539 union __anonunion_payload_268 payload ;
2540};
2541#line 18 "include/linux/selinux.h"
2542struct audit_context;
2543#line 31 "include/linux/cred.h"
2544struct group_info {
2545 atomic_t usage ;
2546 int ngroups ;
2547 int nblocks ;
2548 gid_t small_block[32] ;
2549 gid_t *blocks[0] ;
2550};
2551#line 83 "include/linux/cred.h"
2552struct thread_group_cred {
2553 atomic_t usage ;
2554 pid_t tgid ;
2555 spinlock_t lock ;
2556 struct key *session_keyring ;
2557 struct key *process_keyring ;
2558 struct rcu_head rcu ;
2559};
2560#line 116 "include/linux/cred.h"
2561struct cred {
2562 atomic_t usage ;
2563 atomic_t subscribers ;
2564 void *put_addr ;
2565 unsigned int magic ;
2566 uid_t uid ;
2567 gid_t gid ;
2568 uid_t suid ;
2569 gid_t sgid ;
2570 uid_t euid ;
2571 gid_t egid ;
2572 uid_t fsuid ;
2573 gid_t fsgid ;
2574 unsigned int securebits ;
2575 kernel_cap_t cap_inheritable ;
2576 kernel_cap_t cap_permitted ;
2577 kernel_cap_t cap_effective ;
2578 kernel_cap_t cap_bset ;
2579 unsigned char jit_keyring ;
2580 struct key *thread_keyring ;
2581 struct key *request_key_auth ;
2582 struct thread_group_cred *tgcred ;
2583 void *security ;
2584 struct user_struct *user ;
2585 struct user_namespace *user_ns ;
2586 struct group_info *group_info ;
2587 struct rcu_head rcu ;
2588};
2589#line 61 "include/linux/llist.h"
2590struct llist_node;
2591#line 65 "include/linux/llist.h"
2592struct llist_node {
2593 struct llist_node *next ;
2594};
2595#line 97 "include/linux/sched.h"
2596struct futex_pi_state;
2597#line 98
2598struct robust_list_head;
2599#line 99
2600struct bio_list;
2601#line 100
2602struct fs_struct;
2603#line 101
2604struct perf_event_context;
2605#line 102
2606struct blk_plug;
2607#line 151
2608struct cfs_rq;
2609#line 58 "include/linux/aio_abi.h"
2610struct io_event {
2611 __u64 data ;
2612 __u64 obj ;
2613 __s64 res ;
2614 __s64 res2 ;
2615};
2616#line 15 "include/linux/aio.h"
2617struct kioctx;
2618#line 87 "include/linux/aio.h"
2619union __anonunion_ki_obj_270 {
2620 void *user ;
2621 struct task_struct *tsk ;
2622};
2623#line 87
2624struct eventfd_ctx;
2625#line 87 "include/linux/aio.h"
2626struct kiocb {
2627 struct list_head ki_run_list ;
2628 unsigned long ki_flags ;
2629 int ki_users ;
2630 unsigned int ki_key ;
2631 struct file *ki_filp ;
2632 struct kioctx *ki_ctx ;
2633 int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
2634 ssize_t (*ki_retry)(struct kiocb * ) ;
2635 void (*ki_dtor)(struct kiocb * ) ;
2636 union __anonunion_ki_obj_270 ki_obj ;
2637 __u64 ki_user_data ;
2638 loff_t ki_pos ;
2639 void *private ;
2640 unsigned short ki_opcode ;
2641 size_t ki_nbytes ;
2642 char *ki_buf ;
2643 size_t ki_left ;
2644 struct iovec ki_inline_vec ;
2645 struct iovec *ki_iovec ;
2646 unsigned long ki_nr_segs ;
2647 unsigned long ki_cur_seg ;
2648 struct list_head ki_list ;
2649 struct list_head ki_batch ;
2650 struct eventfd_ctx *ki_eventfd ;
2651};
2652#line 166 "include/linux/aio.h"
2653struct aio_ring_info {
2654 unsigned long mmap_base ;
2655 unsigned long mmap_size ;
2656 struct page **ring_pages ;
2657 spinlock_t ring_lock ;
2658 long nr_pages ;
2659 unsigned int nr ;
2660 unsigned int tail ;
2661 struct page *internal_pages[8] ;
2662};
2663#line 179 "include/linux/aio.h"
2664struct kioctx {
2665 atomic_t users ;
2666 int dead ;
2667 struct mm_struct *mm ;
2668 unsigned long user_id ;
2669 struct hlist_node list ;
2670 wait_queue_head_t wait ;
2671 spinlock_t ctx_lock ;
2672 int reqs_active ;
2673 struct list_head active_reqs ;
2674 struct list_head run_list ;
2675 unsigned int max_reqs ;
2676 struct aio_ring_info ring_info ;
2677 struct delayed_work wq ;
2678 struct rcu_head rcu_head ;
2679};
2680#line 443 "include/linux/sched.h"
2681struct sighand_struct {
2682 atomic_t count ;
2683 struct k_sigaction action[64] ;
2684 spinlock_t siglock ;
2685 wait_queue_head_t signalfd_wqh ;
2686};
2687#line 450 "include/linux/sched.h"
2688struct pacct_struct {
2689 int ac_flag ;
2690 long ac_exitcode ;
2691 unsigned long ac_mem ;
2692 cputime_t ac_utime ;
2693 cputime_t ac_stime ;
2694 unsigned long ac_minflt ;
2695 unsigned long ac_majflt ;
2696};
2697#line 458 "include/linux/sched.h"
2698struct cpu_itimer {
2699 cputime_t expires ;
2700 cputime_t incr ;
2701 u32 error ;
2702 u32 incr_error ;
2703};
2704#line 476 "include/linux/sched.h"
2705struct task_cputime {
2706 cputime_t utime ;
2707 cputime_t stime ;
2708 unsigned long long sum_exec_runtime ;
2709};
2710#line 512 "include/linux/sched.h"
2711struct thread_group_cputimer {
2712 struct task_cputime cputime ;
2713 int running ;
2714 raw_spinlock_t lock ;
2715};
2716#line 519
2717struct autogroup;
2718#line 528
2719struct tty_struct;
2720#line 528
2721struct taskstats;
2722#line 528
2723struct tty_audit_buf;
2724#line 528 "include/linux/sched.h"
2725struct signal_struct {
2726 atomic_t sigcnt ;
2727 atomic_t live ;
2728 int nr_threads ;
2729 wait_queue_head_t wait_chldexit ;
2730 struct task_struct *curr_target ;
2731 struct sigpending shared_pending ;
2732 int group_exit_code ;
2733 int notify_count ;
2734 struct task_struct *group_exit_task ;
2735 int group_stop_count ;
2736 unsigned int flags ;
2737 unsigned int is_child_subreaper : 1 ;
2738 unsigned int has_child_subreaper : 1 ;
2739 struct list_head posix_timers ;
2740 struct hrtimer real_timer ;
2741 struct pid *leader_pid ;
2742 ktime_t it_real_incr ;
2743 struct cpu_itimer it[2] ;
2744 struct thread_group_cputimer cputimer ;
2745 struct task_cputime cputime_expires ;
2746 struct list_head cpu_timers[3] ;
2747 struct pid *tty_old_pgrp ;
2748 int leader ;
2749 struct tty_struct *tty ;
2750 struct autogroup *autogroup ;
2751 cputime_t utime ;
2752 cputime_t stime ;
2753 cputime_t cutime ;
2754 cputime_t cstime ;
2755 cputime_t gtime ;
2756 cputime_t cgtime ;
2757 cputime_t prev_utime ;
2758 cputime_t prev_stime ;
2759 unsigned long nvcsw ;
2760 unsigned long nivcsw ;
2761 unsigned long cnvcsw ;
2762 unsigned long cnivcsw ;
2763 unsigned long min_flt ;
2764 unsigned long maj_flt ;
2765 unsigned long cmin_flt ;
2766 unsigned long cmaj_flt ;
2767 unsigned long inblock ;
2768 unsigned long oublock ;
2769 unsigned long cinblock ;
2770 unsigned long coublock ;
2771 unsigned long maxrss ;
2772 unsigned long cmaxrss ;
2773 struct task_io_accounting ioac ;
2774 unsigned long long sum_sched_runtime ;
2775 struct rlimit rlim[16] ;
2776 struct pacct_struct pacct ;
2777 struct taskstats *stats ;
2778 unsigned int audit_tty ;
2779 struct tty_audit_buf *tty_audit_buf ;
2780 struct rw_semaphore group_rwsem ;
2781 int oom_adj ;
2782 int oom_score_adj ;
2783 int oom_score_adj_min ;
2784 struct mutex cred_guard_mutex ;
2785};
2786#line 703 "include/linux/sched.h"
2787struct user_struct {
2788 atomic_t __count ;
2789 atomic_t processes ;
2790 atomic_t files ;
2791 atomic_t sigpending ;
2792 atomic_t inotify_watches ;
2793 atomic_t inotify_devs ;
2794 atomic_t fanotify_listeners ;
2795 atomic_long_t epoll_watches ;
2796 unsigned long mq_bytes ;
2797 unsigned long locked_shm ;
2798 struct key *uid_keyring ;
2799 struct key *session_keyring ;
2800 struct hlist_node uidhash_node ;
2801 uid_t uid ;
2802 struct user_namespace *user_ns ;
2803 atomic_long_t locked_vm ;
2804};
2805#line 748
2806struct reclaim_state;
2807#line 751 "include/linux/sched.h"
2808struct sched_info {
2809 unsigned long pcount ;
2810 unsigned long long run_delay ;
2811 unsigned long long last_arrival ;
2812 unsigned long long last_queued ;
2813};
2814#line 763 "include/linux/sched.h"
2815struct task_delay_info {
2816 spinlock_t lock ;
2817 unsigned int flags ;
2818 struct timespec blkio_start ;
2819 struct timespec blkio_end ;
2820 u64 blkio_delay ;
2821 u64 swapin_delay ;
2822 u32 blkio_count ;
2823 u32 swapin_count ;
2824 struct timespec freepages_start ;
2825 struct timespec freepages_end ;
2826 u64 freepages_delay ;
2827 u32 freepages_count ;
2828};
2829#line 1088
2830struct io_context;
2831#line 1102
2832struct rq;
2833#line 1122 "include/linux/sched.h"
2834struct sched_class {
2835 struct sched_class *next ;
2836 void (*enqueue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
2837 void (*dequeue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
2838 void (*yield_task)(struct rq *rq ) ;
2839 bool (*yield_to_task)(struct rq *rq , struct task_struct *p , bool preempt ) ;
2840 void (*check_preempt_curr)(struct rq *rq , struct task_struct *p , int flags ) ;
2841 struct task_struct *(*pick_next_task)(struct rq *rq ) ;
2842 void (*put_prev_task)(struct rq *rq , struct task_struct *p ) ;
2843 int (*select_task_rq)(struct task_struct *p , int sd_flag , int flags ) ;
2844 void (*pre_schedule)(struct rq *this_rq , struct task_struct *task ) ;
2845 void (*post_schedule)(struct rq *this_rq ) ;
2846 void (*task_waking)(struct task_struct *task ) ;
2847 void (*task_woken)(struct rq *this_rq , struct task_struct *task ) ;
2848 void (*set_cpus_allowed)(struct task_struct *p , struct cpumask *newmask ) ;
2849 void (*rq_online)(struct rq *rq ) ;
2850 void (*rq_offline)(struct rq *rq ) ;
2851 void (*set_curr_task)(struct rq *rq ) ;
2852 void (*task_tick)(struct rq *rq , struct task_struct *p , int queued ) ;
2853 void (*task_fork)(struct task_struct *p ) ;
2854 void (*switched_from)(struct rq *this_rq , struct task_struct *task ) ;
2855 void (*switched_to)(struct rq *this_rq , struct task_struct *task ) ;
2856 void (*prio_changed)(struct rq *this_rq , struct task_struct *task , int oldprio ) ;
2857 unsigned int (*get_rr_interval)(struct rq *rq , struct task_struct *task ) ;
2858 void (*task_move_group)(struct task_struct *p , int on_rq ) ;
2859};
2860#line 1167 "include/linux/sched.h"
2861struct load_weight {
2862 unsigned long weight ;
2863 unsigned long inv_weight ;
2864};
2865#line 1172 "include/linux/sched.h"
2866struct sched_statistics {
2867 u64 wait_start ;
2868 u64 wait_max ;
2869 u64 wait_count ;
2870 u64 wait_sum ;
2871 u64 iowait_count ;
2872 u64 iowait_sum ;
2873 u64 sleep_start ;
2874 u64 sleep_max ;
2875 s64 sum_sleep_runtime ;
2876 u64 block_start ;
2877 u64 block_max ;
2878 u64 exec_max ;
2879 u64 slice_max ;
2880 u64 nr_migrations_cold ;
2881 u64 nr_failed_migrations_affine ;
2882 u64 nr_failed_migrations_running ;
2883 u64 nr_failed_migrations_hot ;
2884 u64 nr_forced_migrations ;
2885 u64 nr_wakeups ;
2886 u64 nr_wakeups_sync ;
2887 u64 nr_wakeups_migrate ;
2888 u64 nr_wakeups_local ;
2889 u64 nr_wakeups_remote ;
2890 u64 nr_wakeups_affine ;
2891 u64 nr_wakeups_affine_attempts ;
2892 u64 nr_wakeups_passive ;
2893 u64 nr_wakeups_idle ;
2894};
2895#line 1207 "include/linux/sched.h"
2896struct sched_entity {
2897 struct load_weight load ;
2898 struct rb_node run_node ;
2899 struct list_head group_node ;
2900 unsigned int on_rq ;
2901 u64 exec_start ;
2902 u64 sum_exec_runtime ;
2903 u64 vruntime ;
2904 u64 prev_sum_exec_runtime ;
2905 u64 nr_migrations ;
2906 struct sched_statistics statistics ;
2907 struct sched_entity *parent ;
2908 struct cfs_rq *cfs_rq ;
2909 struct cfs_rq *my_q ;
2910};
2911#line 1233
2912struct rt_rq;
2913#line 1233 "include/linux/sched.h"
2914struct sched_rt_entity {
2915 struct list_head run_list ;
2916 unsigned long timeout ;
2917 unsigned int time_slice ;
2918 int nr_cpus_allowed ;
2919 struct sched_rt_entity *back ;
2920 struct sched_rt_entity *parent ;
2921 struct rt_rq *rt_rq ;
2922 struct rt_rq *my_q ;
2923};
2924#line 1264
2925struct css_set;
2926#line 1264
2927struct compat_robust_list_head;
2928#line 1264
2929struct mem_cgroup;
2930#line 1264 "include/linux/sched.h"
2931struct memcg_batch_info {
2932 int do_batch ;
2933 struct mem_cgroup *memcg ;
2934 unsigned long nr_pages ;
2935 unsigned long memsw_nr_pages ;
2936};
2937#line 1264 "include/linux/sched.h"
2938struct task_struct {
2939 long volatile state ;
2940 void *stack ;
2941 atomic_t usage ;
2942 unsigned int flags ;
2943 unsigned int ptrace ;
2944 struct llist_node wake_entry ;
2945 int on_cpu ;
2946 int on_rq ;
2947 int prio ;
2948 int static_prio ;
2949 int normal_prio ;
2950 unsigned int rt_priority ;
2951 struct sched_class *sched_class ;
2952 struct sched_entity se ;
2953 struct sched_rt_entity rt ;
2954 struct hlist_head preempt_notifiers ;
2955 unsigned char fpu_counter ;
2956 unsigned int policy ;
2957 cpumask_t cpus_allowed ;
2958 struct sched_info sched_info ;
2959 struct list_head tasks ;
2960 struct plist_node pushable_tasks ;
2961 struct mm_struct *mm ;
2962 struct mm_struct *active_mm ;
2963 unsigned int brk_randomized : 1 ;
2964 int exit_state ;
2965 int exit_code ;
2966 int exit_signal ;
2967 int pdeath_signal ;
2968 unsigned int jobctl ;
2969 unsigned int personality ;
2970 unsigned int did_exec : 1 ;
2971 unsigned int in_execve : 1 ;
2972 unsigned int in_iowait : 1 ;
2973 unsigned int sched_reset_on_fork : 1 ;
2974 unsigned int sched_contributes_to_load : 1 ;
2975 unsigned int irq_thread : 1 ;
2976 pid_t pid ;
2977 pid_t tgid ;
2978 unsigned long stack_canary ;
2979 struct task_struct *real_parent ;
2980 struct task_struct *parent ;
2981 struct list_head children ;
2982 struct list_head sibling ;
2983 struct task_struct *group_leader ;
2984 struct list_head ptraced ;
2985 struct list_head ptrace_entry ;
2986 struct pid_link pids[3] ;
2987 struct list_head thread_group ;
2988 struct completion *vfork_done ;
2989 int *set_child_tid ;
2990 int *clear_child_tid ;
2991 cputime_t utime ;
2992 cputime_t stime ;
2993 cputime_t utimescaled ;
2994 cputime_t stimescaled ;
2995 cputime_t gtime ;
2996 cputime_t prev_utime ;
2997 cputime_t prev_stime ;
2998 unsigned long nvcsw ;
2999 unsigned long nivcsw ;
3000 struct timespec start_time ;
3001 struct timespec real_start_time ;
3002 unsigned long min_flt ;
3003 unsigned long maj_flt ;
3004 struct task_cputime cputime_expires ;
3005 struct list_head cpu_timers[3] ;
3006 struct cred *real_cred ;
3007 struct cred *cred ;
3008 struct cred *replacement_session_keyring ;
3009 char comm[16] ;
3010 int link_count ;
3011 int total_link_count ;
3012 struct sysv_sem sysvsem ;
3013 unsigned long last_switch_count ;
3014 struct thread_struct thread ;
3015 struct fs_struct *fs ;
3016 struct files_struct *files ;
3017 struct nsproxy *nsproxy ;
3018 struct signal_struct *signal ;
3019 struct sighand_struct *sighand ;
3020 sigset_t blocked ;
3021 sigset_t real_blocked ;
3022 sigset_t saved_sigmask ;
3023 struct sigpending pending ;
3024 unsigned long sas_ss_sp ;
3025 size_t sas_ss_size ;
3026 int (*notifier)(void *priv ) ;
3027 void *notifier_data ;
3028 sigset_t *notifier_mask ;
3029 struct audit_context *audit_context ;
3030 uid_t loginuid ;
3031 unsigned int sessionid ;
3032 seccomp_t seccomp ;
3033 u32 parent_exec_id ;
3034 u32 self_exec_id ;
3035 spinlock_t alloc_lock ;
3036 raw_spinlock_t pi_lock ;
3037 struct plist_head pi_waiters ;
3038 struct rt_mutex_waiter *pi_blocked_on ;
3039 struct mutex_waiter *blocked_on ;
3040 unsigned int irq_events ;
3041 unsigned long hardirq_enable_ip ;
3042 unsigned long hardirq_disable_ip ;
3043 unsigned int hardirq_enable_event ;
3044 unsigned int hardirq_disable_event ;
3045 int hardirqs_enabled ;
3046 int hardirq_context ;
3047 unsigned long softirq_disable_ip ;
3048 unsigned long softirq_enable_ip ;
3049 unsigned int softirq_disable_event ;
3050 unsigned int softirq_enable_event ;
3051 int softirqs_enabled ;
3052 int softirq_context ;
3053 void *journal_info ;
3054 struct bio_list *bio_list ;
3055 struct blk_plug *plug ;
3056 struct reclaim_state *reclaim_state ;
3057 struct backing_dev_info *backing_dev_info ;
3058 struct io_context *io_context ;
3059 unsigned long ptrace_message ;
3060 siginfo_t *last_siginfo ;
3061 struct task_io_accounting ioac ;
3062 u64 acct_rss_mem1 ;
3063 u64 acct_vm_mem1 ;
3064 cputime_t acct_timexpd ;
3065 nodemask_t mems_allowed ;
3066 seqcount_t mems_allowed_seq ;
3067 int cpuset_mem_spread_rotor ;
3068 int cpuset_slab_spread_rotor ;
3069 struct css_set *cgroups ;
3070 struct list_head cg_list ;
3071 struct robust_list_head *robust_list ;
3072 struct compat_robust_list_head *compat_robust_list ;
3073 struct list_head pi_state_list ;
3074 struct futex_pi_state *pi_state_cache ;
3075 struct perf_event_context *perf_event_ctxp[2] ;
3076 struct mutex perf_event_mutex ;
3077 struct list_head perf_event_list ;
3078 struct mempolicy *mempolicy ;
3079 short il_next ;
3080 short pref_node_fork ;
3081 struct rcu_head rcu ;
3082 struct pipe_inode_info *splice_pipe ;
3083 struct task_delay_info *delays ;
3084 int make_it_fail ;
3085 int nr_dirtied ;
3086 int nr_dirtied_pause ;
3087 unsigned long dirty_paused_when ;
3088 int latency_record_count ;
3089 struct latency_record latency_record[32] ;
3090 unsigned long timer_slack_ns ;
3091 unsigned long default_timer_slack_ns ;
3092 struct list_head *scm_work_list ;
3093 unsigned long trace ;
3094 unsigned long trace_recursion ;
3095 struct memcg_batch_info memcg_batch ;
3096 atomic_t ptrace_bp_refcnt ;
3097};
3098#line 17 "include/linux/seq_file.h"
3099struct seq_file {
3100 char *buf ;
3101 size_t size ;
3102 size_t from ;
3103 size_t count ;
3104 loff_t index ;
3105 loff_t read_pos ;
3106 u64 version ;
3107 struct mutex lock ;
3108 struct seq_operations *op ;
3109 int poll_event ;
3110 void *private ;
3111};
3112#line 31 "include/linux/seq_file.h"
3113struct seq_operations {
3114 void *(*start)(struct seq_file *m , loff_t *pos ) ;
3115 void (*stop)(struct seq_file *m , void *v ) ;
3116 void *(*next)(struct seq_file *m , void *v , loff_t *pos ) ;
3117 int (*show)(struct seq_file *m , void *v ) ;
3118};
3119#line 180 "include/linux/isdn/capiutil.h"
3120struct __anonstruct__cdebbuf_275 {
3121 u_char *buf ;
3122 u_char *p ;
3123 size_t size ;
3124 size_t pos ;
3125};
3126#line 180 "include/linux/isdn/capiutil.h"
3127typedef struct __anonstruct__cdebbuf_275 _cdebbuf;
3128#line 17 "include/linux/b1lli.h"
3129struct avmb1_t4file {
3130 int len ;
3131 unsigned char *data ;
3132};
3133#line 17 "include/linux/b1lli.h"
3134typedef struct avmb1_t4file avmb1_t4file;
3135#line 22 "include/linux/b1lli.h"
3136struct avmb1_loaddef {
3137 int contr ;
3138 avmb1_t4file t4file ;
3139};
3140#line 22 "include/linux/b1lli.h"
3141typedef struct avmb1_loaddef avmb1_loaddef;
3142#line 27 "include/linux/b1lli.h"
3143struct avmb1_loadandconfigdef {
3144 int contr ;
3145 avmb1_t4file t4file ;
3146 avmb1_t4file t4config ;
3147};
3148#line 27 "include/linux/b1lli.h"
3149typedef struct avmb1_loadandconfigdef avmb1_loadandconfigdef;
3150#line 33 "include/linux/b1lli.h"
3151struct avmb1_resetdef {
3152 int contr ;
3153};
3154#line 33 "include/linux/b1lli.h"
3155typedef struct avmb1_resetdef avmb1_resetdef;
3156#line 46 "include/linux/b1lli.h"
3157struct avmb1_carddef {
3158 int port ;
3159 int irq ;
3160};
3161#line 46 "include/linux/b1lli.h"
3162typedef struct avmb1_carddef avmb1_carddef;
3163#line 56 "include/linux/b1lli.h"
3164struct avmb1_extcarddef {
3165 int port ;
3166 int irq ;
3167 int cardtype ;
3168 int cardnr ;
3169};
3170#line 56 "include/linux/b1lli.h"
3171typedef struct avmb1_extcarddef avmb1_extcarddef;
3172#line 51 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
3173struct capictr_event {
3174 struct work_struct work ;
3175 unsigned int type ;
3176 u32 controller ;
3177};
3178#line 95 "include/linux/types.h"
3179typedef unsigned long u_long;
3180#line 40 "/usr/lib64/gcc/x86_64-suse-linux/4.6/include/stdarg.h"
3181typedef __builtin_va_list __gnuc_va_list;
3182#line 102 "/usr/lib64/gcc/x86_64-suse-linux/4.6/include/stdarg.h"
3183typedef __gnuc_va_list va_list;
3184#line 24 "include/linux/sysfs.h"
3185enum kobj_ns_type;
3186#line 62 "include/linux/isdn/capiutil.h"
3187typedef __u8 *_cstruct;
3188#line 64
3189enum __anonenum__cmstruct_213 {
3190 CAPI_COMPOSE = 0,
3191 CAPI_DEFAULT = 1
3192} ;
3193#line 64 "include/linux/isdn/capiutil.h"
3194typedef enum __anonenum__cmstruct_213 _cmstruct;
3195#line 77 "include/linux/isdn/capiutil.h"
3196union __anonunion_adr_215 {
3197 __u32 adrController ;
3198 __u32 adrPLCI ;
3199 __u32 adrNCCI ;
3200};
3201#line 77 "include/linux/isdn/capiutil.h"
3202struct __anonstruct__cmsg_214 {
3203 __u16 ApplId ;
3204 __u8 Command ;
3205 __u8 Subcommand ;
3206 __u16 Messagenumber ;
3207 union __anonunion_adr_215 adr ;
3208 _cmstruct AdditionalInfo ;
3209 _cstruct B1configuration ;
3210 __u16 B1protocol ;
3211 _cstruct B2configuration ;
3212 __u16 B2protocol ;
3213 _cstruct B3configuration ;
3214 __u16 B3protocol ;
3215 _cstruct BC ;
3216 _cstruct BChannelinformation ;
3217 _cmstruct BProtocol ;
3218 _cstruct CalledPartyNumber ;
3219 _cstruct CalledPartySubaddress ;
3220 _cstruct CallingPartyNumber ;
3221 _cstruct CallingPartySubaddress ;
3222 __u32 CIPmask ;
3223 __u32 CIPmask2 ;
3224 __u16 CIPValue ;
3225 __u32 Class ;
3226 _cstruct ConnectedNumber ;
3227 _cstruct ConnectedSubaddress ;
3228 __u32 Data ;
3229 __u16 DataHandle ;
3230 __u16 DataLength ;
3231 _cstruct FacilityConfirmationParameter ;
3232 _cstruct Facilitydataarray ;
3233 _cstruct FacilityIndicationParameter ;
3234 _cstruct FacilityRequestParameter ;
3235 __u16 FacilitySelector ;
3236 __u16 Flags ;
3237 __u32 Function ;
3238 _cstruct HLC ;
3239 __u16 Info ;
3240 _cstruct InfoElement ;
3241 __u32 InfoMask ;
3242 __u16 InfoNumber ;
3243 _cstruct Keypadfacility ;
3244 _cstruct LLC ;
3245 _cstruct ManuData ;
3246 __u32 ManuID ;
3247 _cstruct NCPI ;
3248 __u16 Reason ;
3249 __u16 Reason_B3 ;
3250 __u16 Reject ;
3251 _cstruct Useruserdata ;
3252 unsigned int l ;
3253 unsigned int p ;
3254 unsigned char *par ;
3255 __u8 *m ;
3256 __u8 buf[180] ;
3257};
3258#line 77 "include/linux/isdn/capiutil.h"
3259typedef struct __anonstruct__cmsg_214 _cmsg;
3260#line 224 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
3261struct __anonstruct__cdef_217 {
3262 int typ ;
3263 size_t off ;
3264};
3265#line 224 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
3266typedef struct __anonstruct__cdef_217 _cdef;
3267#line 94 "include/linux/types.h"
3268typedef unsigned int u_int;
3269#line 24 "include/linux/sysfs.h"
3270enum kobj_ns_type;
3271#line 11 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
3272struct capilib_msgidqueue {
3273 struct capilib_msgidqueue *next ;
3274 u16 msgid ;
3275};
3276#line 16 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
3277struct capilib_ncci {
3278 struct list_head list ;
3279 u16 applid ;
3280 u32 ncci ;
3281 u32 winsize ;
3282 int nmsg ;
3283 struct capilib_msgidqueue *msgidqueue ;
3284 struct capilib_msgidqueue *msgidlast ;
3285 struct capilib_msgidqueue *msgidfree ;
3286 struct capilib_msgidqueue msgidpool[8] ;
3287};
3288#line 24 "include/linux/sysfs.h"
3289enum kobj_ns_type;
3290#line 1 "<compiler builtins>"
3291
3292#line 1
3293
3294#line 1
3295long __builtin_expect(long val , long res ) ;
3296#line 315 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/bitops.h"
3297__inline static int variable_test_bit(int nr , unsigned long volatile *addr ) __attribute__((__no_instrument_function__)) ;
3298#line 315 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/bitops.h"
3299__inline static int variable_test_bit(int nr , unsigned long volatile *addr )
3300{ int oldbit ;
3301 unsigned long *__cil_tmp4 ;
3302
3303 {
3304#line 319
3305 __cil_tmp4 = (unsigned long *)addr;
3306#line 319
3307 __asm__ volatile ("bt %2,%1\n\t"
3308 "sbb %0,%0": "=r" (oldbit): "m" (*__cil_tmp4), "Ir" (nr));
3309#line 324
3310 return (oldbit);
3311}
3312}
3313#line 100 "include/linux/printk.h"
3314extern int ( printk)(char *fmt , ...) ;
3315#line 147 "include/linux/kernel.h"
3316extern void __might_sleep(char *file , int line , int preempt_offset ) ;
3317#line 194
3318__inline static void might_fault(void) __attribute__((__no_instrument_function__)) ;
3319#line 194 "include/linux/kernel.h"
3320__inline static void might_fault(void)
3321{
3322
3323 {
3324 {
3325#line 196
3326 while (1) {
3327 while_continue: ;
3328 {
3329#line 196
3330 __might_sleep("include/linux/kernel.h", 196, 0);
3331 }
3332 {
3333#line 196
3334 while (1) {
3335 while_continue___0: ;
3336#line 196
3337 goto while_break___0;
3338 }
3339 while_break___0: ;
3340 }
3341#line 196
3342 goto while_break;
3343 }
3344 while_break: ;
3345 }
3346#line 197
3347 return;
3348}
3349}
3350#line 320
3351extern int ( sprintf)(char *buf , char *fmt , ...) ;
3352#line 88 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/percpu.h"
3353extern void __bad_percpu_size(void) ;
3354#line 10 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/current.h"
3355extern struct task_struct *current_task __attribute__((__section__(".data..percpu"))) ;
3356#line 12
3357__inline static struct task_struct *( __attribute__((__always_inline__)) get_current)(void) __attribute__((__no_instrument_function__)) ;
3358#line 12 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/current.h"
3359__inline static struct task_struct *( __attribute__((__always_inline__)) get_current)(void)
3360{ struct task_struct *pfo_ret__ ;
3361
3362 {
3363#line 14
3364 if ((int )8UL == 1) {
3365#line 14
3366 goto case_1;
3367 } else
3368#line 14
3369 if ((int )8UL == 2) {
3370#line 14
3371 goto case_2;
3372 } else
3373#line 14
3374 if ((int )8UL == 4) {
3375#line 14
3376 goto case_4;
3377 } else
3378#line 14
3379 if ((int )8UL == 8) {
3380#line 14
3381 goto case_8;
3382 } else {
3383 {
3384#line 14
3385 goto switch_default;
3386#line 14
3387 if (0) {
3388 case_1:
3389#line 14
3390 __asm__ ("mov"
3391 "b "
3392 "%%"
3393 "gs"
3394 ":"
3395 "%P"
3396 "1"
3397 ",%0": "=q" (pfo_ret__): "p" (& current_task));
3398#line 14
3399 goto switch_break;
3400 case_2:
3401#line 14
3402 __asm__ ("mov"
3403 "w "
3404 "%%"
3405 "gs"
3406 ":"
3407 "%P"
3408 "1"
3409 ",%0": "=r" (pfo_ret__): "p" (& current_task));
3410#line 14
3411 goto switch_break;
3412 case_4:
3413#line 14
3414 __asm__ ("mov"
3415 "l "
3416 "%%"
3417 "gs"
3418 ":"
3419 "%P"
3420 "1"
3421 ",%0": "=r" (pfo_ret__): "p" (& current_task));
3422#line 14
3423 goto switch_break;
3424 case_8:
3425#line 14
3426 __asm__ ("mov"
3427 "q "
3428 "%%"
3429 "gs"
3430 ":"
3431 "%P"
3432 "1"
3433 ",%0": "=r" (pfo_ret__): "p" (& current_task));
3434#line 14
3435 goto switch_break;
3436 switch_default:
3437 {
3438#line 14
3439 __bad_percpu_size();
3440 }
3441 } else {
3442 switch_break: ;
3443 }
3444 }
3445 }
3446#line 14
3447 return (pfo_ret__);
3448}
3449}
3450#line 34 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/string_64.h"
3451extern void *__memcpy(void *to , void *from , size_t len ) ;
3452#line 55
3453extern void *memset(void *s , int c , size_t n ) ;
3454#line 64
3455extern int strcmp(char *cs , char *ct ) ;
3456#line 30 "include/linux/string.h"
3457extern size_t strlcpy(char * , char * , size_t ) ;
3458#line 64 "include/asm-generic/bug.h"
3459extern void ( warn_slowpath_fmt)(char *file , int line ,
3460 char *fmt , ...) ;
3461#line 220 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
3462extern unsigned long kernel_stack __attribute__((__section__(".data..percpu"))) ;
3463#line 222
3464__inline static struct thread_info *current_thread_info(void) __attribute__((__no_instrument_function__)) ;
3465#line 222 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
3466__inline static struct thread_info *current_thread_info(void)
3467{ struct thread_info *ti ;
3468 unsigned long pfo_ret__ ;
3469 unsigned long __cil_tmp3 ;
3470 unsigned long __cil_tmp4 ;
3471 unsigned long __cil_tmp5 ;
3472 unsigned long __cil_tmp6 ;
3473 void *__cil_tmp7 ;
3474
3475 {
3476#line 225
3477 if ((int )8UL == 1) {
3478#line 225
3479 goto case_1;
3480 } else
3481#line 225
3482 if ((int )8UL == 2) {
3483#line 225
3484 goto case_2;
3485 } else
3486#line 225
3487 if ((int )8UL == 4) {
3488#line 225
3489 goto case_4;
3490 } else
3491#line 225
3492 if ((int )8UL == 8) {
3493#line 225
3494 goto case_8;
3495 } else {
3496 {
3497#line 225
3498 goto switch_default;
3499#line 225
3500 if (0) {
3501 case_1:
3502#line 225
3503 __asm__ ("mov"
3504 "b "
3505 "%%"
3506 "gs"
3507 ":"
3508 "%P"
3509 "1"
3510 ",%0": "=q" (pfo_ret__): "p" (& kernel_stack));
3511#line 225
3512 goto switch_break;
3513 case_2:
3514#line 225
3515 __asm__ ("mov"
3516 "w "
3517 "%%"
3518 "gs"
3519 ":"
3520 "%P"
3521 "1"
3522 ",%0": "=r" (pfo_ret__): "p" (& kernel_stack));
3523#line 225
3524 goto switch_break;
3525 case_4:
3526#line 225
3527 __asm__ ("mov"
3528 "l "
3529 "%%"
3530 "gs"
3531 ":"
3532 "%P"
3533 "1"
3534 ",%0": "=r" (pfo_ret__): "p" (& kernel_stack));
3535#line 225
3536 goto switch_break;
3537 case_8:
3538#line 225
3539 __asm__ ("mov"
3540 "q "
3541 "%%"
3542 "gs"
3543 ":"
3544 "%P"
3545 "1"
3546 ",%0": "=r" (pfo_ret__): "p" (& kernel_stack));
3547#line 225
3548 goto switch_break;
3549 switch_default:
3550 {
3551#line 225
3552 __bad_percpu_size();
3553 }
3554 } else {
3555 switch_break: ;
3556 }
3557 }
3558 }
3559#line 225
3560 __cil_tmp3 = 1UL << 12;
3561#line 225
3562 __cil_tmp4 = __cil_tmp3 << 1;
3563#line 225
3564 __cil_tmp5 = pfo_ret__ + 40UL;
3565#line 225
3566 __cil_tmp6 = __cil_tmp5 - __cil_tmp4;
3567#line 225
3568 __cil_tmp7 = (void *)__cil_tmp6;
3569#line 225
3570 ti = (struct thread_info *)__cil_tmp7;
3571#line 227
3572 return (ti);
3573}
3574}
3575#line 82 "include/linux/thread_info.h"
3576__inline static int test_ti_thread_flag(struct thread_info *ti , int flag ) __attribute__((__no_instrument_function__)) ;
3577#line 82 "include/linux/thread_info.h"
3578__inline static int test_ti_thread_flag(struct thread_info *ti , int flag )
3579{ int tmp___0 ;
3580 unsigned long __cil_tmp5 ;
3581 unsigned long __cil_tmp6 ;
3582 __u32 *__cil_tmp7 ;
3583 unsigned long *__cil_tmp8 ;
3584 unsigned long volatile *__cil_tmp9 ;
3585
3586 {
3587 {
3588#line 84
3589 __cil_tmp5 = (unsigned long )ti;
3590#line 84
3591 __cil_tmp6 = __cil_tmp5 + 16;
3592#line 84
3593 __cil_tmp7 = (__u32 *)__cil_tmp6;
3594#line 84
3595 __cil_tmp8 = (unsigned long *)__cil_tmp7;
3596#line 84
3597 __cil_tmp9 = (unsigned long volatile *)__cil_tmp8;
3598#line 84
3599 tmp___0 = variable_test_bit(flag, __cil_tmp9);
3600 }
3601#line 84
3602 return (tmp___0);
3603}
3604}
3605#line 24 "include/linux/list.h"
3606__inline static void INIT_LIST_HEAD(struct list_head *list ) __attribute__((__no_instrument_function__)) ;
3607#line 24 "include/linux/list.h"
3608__inline static void INIT_LIST_HEAD(struct list_head *list )
3609{ unsigned long __cil_tmp2 ;
3610 unsigned long __cil_tmp3 ;
3611
3612 {
3613#line 26
3614 *((struct list_head **)list) = list;
3615#line 27
3616 __cil_tmp2 = (unsigned long )list;
3617#line 27
3618 __cil_tmp3 = __cil_tmp2 + 8;
3619#line 27
3620 *((struct list_head **)__cil_tmp3) = list;
3621#line 28
3622 return;
3623}
3624}
3625#line 47
3626extern void __list_add(struct list_head *new , struct list_head *prev , struct list_head *next ) ;
3627#line 74
3628__inline static void list_add_tail(struct list_head *new , struct list_head *head ) __attribute__((__no_instrument_function__)) ;
3629#line 74 "include/linux/list.h"
3630__inline static void list_add_tail(struct list_head *new , struct list_head *head )
3631{ unsigned long __cil_tmp3 ;
3632 unsigned long __cil_tmp4 ;
3633 struct list_head *__cil_tmp5 ;
3634
3635 {
3636 {
3637#line 76
3638 __cil_tmp3 = (unsigned long )head;
3639#line 76
3640 __cil_tmp4 = __cil_tmp3 + 8;
3641#line 76
3642 __cil_tmp5 = *((struct list_head **)__cil_tmp4);
3643#line 76
3644 __list_add(new, __cil_tmp5, head);
3645 }
3646#line 77
3647 return;
3648}
3649}
3650#line 112
3651extern void list_del(struct list_head *entry ) ;
3652#line 93 "include/linux/spinlock.h"
3653extern void __raw_spin_lock_init(raw_spinlock_t *lock , char *name , struct lock_class_key *key ) ;
3654#line 272
3655__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock ) __attribute__((__no_instrument_function__)) ;
3656#line 272 "include/linux/spinlock.h"
3657__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock )
3658{
3659
3660 {
3661#line 274
3662 return ((struct raw_spinlock *)lock);
3663}
3664}
3665#line 79 "include/linux/wait.h"
3666extern void __init_waitqueue_head(wait_queue_head_t *q , char *name , struct lock_class_key * ) ;
3667#line 155
3668extern void __wake_up(wait_queue_head_t *q , unsigned int mode , int nr , void *key ) ;
3669#line 584
3670extern void prepare_to_wait(wait_queue_head_t *q , wait_queue_t *wait , int state ) ;
3671#line 586
3672extern void finish_wait(wait_queue_head_t *q , wait_queue_t *wait ) ;
3673#line 589
3674extern int autoremove_wake_function(wait_queue_t *wait , unsigned int mode , int sync ,
3675 void *key ) ;
3676#line 115 "include/linux/mutex.h"
3677extern void __mutex_init(struct mutex *lock , char *name , struct lock_class_key *key ) ;
3678#line 152
3679void mutex_lock(struct mutex *lock ) ;
3680#line 153
3681int __attribute__((__warn_unused_result__)) mutex_lock_interruptible(struct mutex *lock ) ;
3682#line 154
3683int __attribute__((__warn_unused_result__)) mutex_lock_killable(struct mutex *lock ) ;
3684#line 168
3685int mutex_trylock(struct mutex *lock ) ;
3686#line 169
3687void mutex_unlock(struct mutex *lock ) ;
3688#line 170
3689int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock ) ;
3690#line 144 "include/linux/rcupdate.h"
3691extern void synchronize_sched(void) ;
3692#line 162
3693__inline static void __rcu_read_lock(void) __attribute__((__no_instrument_function__)) ;
3694#line 162 "include/linux/rcupdate.h"
3695__inline static void __rcu_read_lock(void)
3696{ struct thread_info *tmp ;
3697 unsigned long __cil_tmp2 ;
3698 unsigned long __cil_tmp3 ;
3699 unsigned long __cil_tmp4 ;
3700 unsigned long __cil_tmp5 ;
3701 int __cil_tmp6 ;
3702
3703 {
3704 {
3705#line 164
3706 while (1) {
3707 while_continue: ;
3708 {
3709#line 164
3710 while (1) {
3711 while_continue___0: ;
3712 {
3713#line 164
3714 tmp = current_thread_info();
3715#line 164
3716 __cil_tmp2 = (unsigned long )tmp;
3717#line 164
3718 __cil_tmp3 = __cil_tmp2 + 28;
3719#line 164
3720 __cil_tmp4 = (unsigned long )tmp;
3721#line 164
3722 __cil_tmp5 = __cil_tmp4 + 28;
3723#line 164
3724 __cil_tmp6 = *((int *)__cil_tmp5);
3725#line 164
3726 *((int *)__cil_tmp3) = __cil_tmp6 + 1;
3727 }
3728#line 164
3729 goto while_break___0;
3730 }
3731 while_break___0: ;
3732 }
3733#line 164
3734 __asm__ volatile ("": : : "memory");
3735#line 164
3736 goto while_break;
3737 }
3738 while_break: ;
3739 }
3740#line 165
3741 return;
3742}
3743}
3744#line 167
3745__inline static void __rcu_read_unlock(void) __attribute__((__no_instrument_function__)) ;
3746#line 167 "include/linux/rcupdate.h"
3747__inline static void __rcu_read_unlock(void)
3748{ struct thread_info *tmp ;
3749 unsigned long __cil_tmp2 ;
3750 unsigned long __cil_tmp3 ;
3751 unsigned long __cil_tmp4 ;
3752 unsigned long __cil_tmp5 ;
3753 int __cil_tmp6 ;
3754
3755 {
3756 {
3757#line 169
3758 while (1) {
3759 while_continue: ;
3760 {
3761#line 169
3762 while (1) {
3763 while_continue___0: ;
3764#line 169
3765 __asm__ volatile ("": : : "memory");
3766 {
3767#line 169
3768 while (1) {
3769 while_continue___1: ;
3770 {
3771#line 169
3772 tmp = current_thread_info();
3773#line 169
3774 __cil_tmp2 = (unsigned long )tmp;
3775#line 169
3776 __cil_tmp3 = __cil_tmp2 + 28;
3777#line 169
3778 __cil_tmp4 = (unsigned long )tmp;
3779#line 169
3780 __cil_tmp5 = __cil_tmp4 + 28;
3781#line 169
3782 __cil_tmp6 = *((int *)__cil_tmp5);
3783#line 169
3784 *((int *)__cil_tmp3) = __cil_tmp6 - 1;
3785 }
3786#line 169
3787 goto while_break___1;
3788 }
3789 while_break___1: ;
3790 }
3791#line 169
3792 goto while_break___0;
3793 }
3794 while_break___0: ;
3795 }
3796#line 169
3797 __asm__ volatile ("": : : "memory");
3798 {
3799#line 169
3800 while (1) {
3801 while_continue___2: ;
3802#line 169
3803 goto while_break___2;
3804 }
3805 while_break___2: ;
3806 }
3807#line 169
3808 goto while_break;
3809 }
3810 while_break: ;
3811 }
3812#line 170
3813 return;
3814}
3815}
3816#line 172
3817__inline static void synchronize_rcu(void) __attribute__((__no_instrument_function__)) ;
3818#line 172 "include/linux/rcupdate.h"
3819__inline static void synchronize_rcu(void)
3820{
3821
3822 {
3823 {
3824#line 174
3825 synchronize_sched();
3826 }
3827#line 175
3828 return;
3829}
3830}
3831#line 723
3832__inline static void rcu_read_lock(void) __attribute__((__no_instrument_function__)) ;
3833#line 723 "include/linux/rcupdate.h"
3834__inline static void rcu_read_lock(void)
3835{
3836
3837 {
3838 {
3839#line 725
3840 __rcu_read_lock();
3841 }
3842 {
3843#line 727
3844 while (1) {
3845 while_continue: ;
3846#line 727
3847 goto while_break;
3848 }
3849 while_break: ;
3850 }
3851 {
3852#line 728
3853 while (1) {
3854 while_continue___0: ;
3855#line 728
3856 goto while_break___0;
3857 }
3858 while_break___0: ;
3859 }
3860#line 730
3861 return;
3862}
3863}
3864#line 747
3865__inline static void rcu_read_unlock(void) __attribute__((__no_instrument_function__)) ;
3866#line 747 "include/linux/rcupdate.h"
3867__inline static void rcu_read_unlock(void)
3868{
3869
3870 {
3871 {
3872#line 749
3873 while (1) {
3874 while_continue: ;
3875#line 749
3876 goto while_break;
3877 }
3878 while_break: ;
3879 }
3880 {
3881#line 751
3882 while (1) {
3883 while_continue___0: ;
3884#line 751
3885 goto while_break___0;
3886 }
3887 while_break___0: ;
3888 }
3889 {
3890#line 753
3891 __rcu_read_unlock();
3892 }
3893#line 754
3894 return;
3895}
3896}
3897#line 117 "include/linux/notifier.h"
3898extern int blocking_notifier_chain_register(struct blocking_notifier_head *nh , struct notifier_block *nb ) ;
3899#line 130
3900extern int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh ,
3901 struct notifier_block *nb ) ;
3902#line 141
3903extern int blocking_notifier_call_chain(struct blocking_notifier_head *nh , unsigned long val ,
3904 void *v ) ;
3905#line 156 "include/linux/workqueue.h"
3906extern void __init_work(struct work_struct *work , int onstack ) ;
3907#line 303
3908extern struct workqueue_struct *( __alloc_workqueue_key)(char *fmt ,
3909 unsigned int flags ,
3910 int max_active ,
3911 struct lock_class_key *key ,
3912 char *lock_name
3913 , ...) ;
3914#line 366
3915extern void destroy_workqueue(struct workqueue_struct *wq ) ;
3916#line 368
3917extern int queue_work(struct workqueue_struct *wq , struct work_struct *work ) ;
3918#line 376
3919extern void flush_workqueue(struct workqueue_struct *wq ) ;
3920#line 161 "include/linux/slab.h"
3921extern void kfree(void * ) ;
3922#line 221 "include/linux/slub_def.h"
3923extern void *__kmalloc(size_t size , gfp_t flags ) ;
3924#line 268
3925__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
3926 gfp_t flags ) __attribute__((__no_instrument_function__)) ;
3927#line 268 "include/linux/slub_def.h"
3928__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
3929 gfp_t flags )
3930{ void *tmp___2 ;
3931
3932 {
3933 {
3934#line 283
3935 tmp___2 = __kmalloc(size, flags);
3936 }
3937#line 283
3938 return (tmp___2);
3939}
3940}
3941#line 41 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess_64.h"
3942extern unsigned long __attribute__((__warn_unused_result__)) _copy_from_user(void *to ,
3943 void *from ,
3944 unsigned int len ) ;
3945#line 46
3946__inline static unsigned long __attribute__((__warn_unused_result__)) copy_from_user(void *to ,
3947 void *from ,
3948 unsigned long n ) __attribute__((__no_instrument_function__)) ;
3949#line 46 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess_64.h"
3950__inline static unsigned long __attribute__((__warn_unused_result__)) copy_from_user(void *to ,
3951 void *from ,
3952 unsigned long n )
3953{ int sz ;
3954 unsigned long tmp ;
3955 int __ret_warn_on ;
3956 long tmp___0 ;
3957 int tmp___1 ;
3958 long tmp___2 ;
3959 unsigned long __cil_tmp10 ;
3960 long __cil_tmp11 ;
3961 unsigned int __cil_tmp12 ;
3962 int __cil_tmp13 ;
3963 int __cil_tmp14 ;
3964 long __cil_tmp15 ;
3965 int __cil_tmp16 ;
3966 int __cil_tmp17 ;
3967 int __cil_tmp18 ;
3968 long __cil_tmp19 ;
3969
3970 {
3971 {
3972#line 50
3973 tmp = __builtin_object_size(to, 0);
3974#line 50
3975 sz = (int )tmp;
3976#line 52
3977 might_fault();
3978 }
3979#line 53
3980 if (sz == -1) {
3981#line 53
3982 tmp___1 = 1;
3983 } else {
3984 {
3985#line 53
3986 __cil_tmp10 = (unsigned long )sz;
3987#line 53
3988 if (__cil_tmp10 >= n) {
3989#line 53
3990 tmp___1 = 1;
3991 } else {
3992#line 53
3993 tmp___1 = 0;
3994 }
3995 }
3996 }
3997 {
3998#line 53
3999 __cil_tmp11 = (long )tmp___1;
4000#line 53
4001 tmp___2 = __builtin_expect(__cil_tmp11, 1L);
4002 }
4003#line 53
4004 if (tmp___2) {
4005 {
4006#line 54
4007 __cil_tmp12 = (unsigned int )n;
4008#line 54
4009 n = (unsigned long )_copy_from_user(to, from, __cil_tmp12);
4010 }
4011 } else {
4012 {
4013#line 57
4014 __ret_warn_on = 1;
4015#line 57
4016 __cil_tmp13 = ! __ret_warn_on;
4017#line 57
4018 __cil_tmp14 = ! __cil_tmp13;
4019#line 57
4020 __cil_tmp15 = (long )__cil_tmp14;
4021#line 57
4022 tmp___0 = __builtin_expect(__cil_tmp15, 0L);
4023 }
4024#line 57
4025 if (tmp___0) {
4026 {
4027#line 57
4028 __cil_tmp16 = (int )57;
4029#line 57
4030 warn_slowpath_fmt("/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess_64.h",
4031 __cil_tmp16, "Buffer overflow detected!\n");
4032 }
4033 } else {
4034
4035 }
4036 {
4037#line 57
4038 __cil_tmp17 = ! __ret_warn_on;
4039#line 57
4040 __cil_tmp18 = ! __cil_tmp17;
4041#line 57
4042 __cil_tmp19 = (long )__cil_tmp18;
4043#line 57
4044 __builtin_expect(__cil_tmp19, 0L);
4045 }
4046 }
4047#line 59
4048 return (n);
4049}
4050}
4051#line 560 "include/linux/skbuff.h"
4052extern void kfree_skb(struct sk_buff *skb ) ;
4053#line 950
4054__inline static void __skb_queue_head_init(struct sk_buff_head *list ) __attribute__((__no_instrument_function__)) ;
4055#line 950 "include/linux/skbuff.h"
4056__inline static void __skb_queue_head_init(struct sk_buff_head *list )
4057{ struct sk_buff *tmp ;
4058 unsigned long __cil_tmp3 ;
4059 unsigned long __cil_tmp4 ;
4060 unsigned long __cil_tmp5 ;
4061 unsigned long __cil_tmp6 ;
4062
4063 {
4064#line 952
4065 tmp = (struct sk_buff *)list;
4066#line 952
4067 *((struct sk_buff **)list) = tmp;
4068#line 952
4069 __cil_tmp3 = (unsigned long )list;
4070#line 952
4071 __cil_tmp4 = __cil_tmp3 + 8;
4072#line 952
4073 *((struct sk_buff **)__cil_tmp4) = tmp;
4074#line 953
4075 __cil_tmp5 = (unsigned long )list;
4076#line 953
4077 __cil_tmp6 = __cil_tmp5 + 16;
4078#line 953
4079 *((__u32 *)__cil_tmp6) = (__u32 )0;
4080#line 954
4081 return;
4082}
4083}
4084#line 966 "include/linux/skbuff.h"
4085static struct lock_class_key __key___2 ;
4086#line 964
4087__inline static void skb_queue_head_init(struct sk_buff_head *list ) __attribute__((__no_instrument_function__)) ;
4088#line 964 "include/linux/skbuff.h"
4089__inline static void skb_queue_head_init(struct sk_buff_head *list )
4090{ unsigned long __cil_tmp2 ;
4091 unsigned long __cil_tmp3 ;
4092 spinlock_t *__cil_tmp4 ;
4093 unsigned long __cil_tmp5 ;
4094 unsigned long __cil_tmp6 ;
4095 struct raw_spinlock *__cil_tmp7 ;
4096
4097 {
4098 {
4099#line 966
4100 while (1) {
4101 while_continue: ;
4102 {
4103#line 966
4104 __cil_tmp2 = (unsigned long )list;
4105#line 966
4106 __cil_tmp3 = __cil_tmp2 + 24;
4107#line 966
4108 __cil_tmp4 = (spinlock_t *)__cil_tmp3;
4109#line 966
4110 spinlock_check(__cil_tmp4);
4111 }
4112 {
4113#line 966
4114 while (1) {
4115 while_continue___0: ;
4116 {
4117#line 966
4118 __cil_tmp5 = (unsigned long )list;
4119#line 966
4120 __cil_tmp6 = __cil_tmp5 + 24;
4121#line 966
4122 __cil_tmp7 = (struct raw_spinlock *)__cil_tmp6;
4123#line 966
4124 __raw_spin_lock_init(__cil_tmp7, "&(&list->lock)->rlock", & __key___2);
4125 }
4126#line 966
4127 goto while_break___0;
4128 }
4129 while_break___0: ;
4130 }
4131#line 966
4132 goto while_break;
4133 }
4134 while_break: ;
4135 }
4136 {
4137#line 967
4138 __skb_queue_head_init(list);
4139 }
4140#line 968
4141 return;
4142}
4143}
4144#line 1126
4145extern void skb_queue_tail(struct sk_buff_head *list , struct sk_buff *newsk ) ;
4146#line 1158
4147extern struct sk_buff *skb_dequeue(struct sk_buff_head *list ) ;
4148#line 1659
4149extern void skb_queue_purge(struct sk_buff_head *list ) ;
4150#line 70 "include/linux/kernelcapi.h"
4151u16 capi20_isinstalled(void) ;
4152#line 71
4153u16 capi20_register(struct capi20_appl *ap ) ;
4154#line 72
4155u16 capi20_release(struct capi20_appl *ap ) ;
4156#line 73
4157u16 capi20_put_message(struct capi20_appl *ap , struct sk_buff *skb ) ;
4158#line 74
4159u16 capi20_get_manufacturer(u32 contr , u8 *buf ) ;
4160#line 75
4161u16 capi20_get_version(u32 contr , struct capi_version *verp ) ;
4162#line 76
4163u16 capi20_get_serial(u32 contr , u8 *serial ) ;
4164#line 77
4165u16 capi20_get_profile(u32 contr , struct capi_profile *profp ) ;
4166#line 78
4167int capi20_manufacturer(unsigned int cmd , void *data ) ;
4168#line 83
4169int register_capictr_notifier(struct notifier_block *nb ) ;
4170#line 84
4171int unregister_capictr_notifier(struct notifier_block *nb ) ;
4172#line 78 "include/linux/isdn/capilli.h"
4173int attach_capi_ctr(struct capi_ctr *ctr ) ;
4174#line 79
4175int detach_capi_ctr(struct capi_ctr *ctr ) ;
4176#line 81
4177void capi_ctr_ready(struct capi_ctr *ctr ) ;
4178#line 82
4179void capi_ctr_down(struct capi_ctr *ctr ) ;
4180#line 83
4181void capi_ctr_suspend_output(struct capi_ctr *ctr ) ;
4182#line 84
4183void capi_ctr_resume_output(struct capi_ctr *ctr ) ;
4184#line 85
4185void capi_ctr_handle_message(struct capi_ctr *ctr , u16 appl , struct sk_buff *skb ) ;
4186#line 100
4187void register_capi_driver(struct capi_driver *driver ) ;
4188#line 101
4189void unregister_capi_driver(struct capi_driver *driver ) ;
4190#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/isdn/capi/kcapi.h"
4191struct list_head capi_drivers ;
4192#line 34
4193struct mutex capi_drivers_lock ;
4194#line 36 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/isdn/capi/kcapi.h"
4195struct capi_ctr *capi_controller[32] ;
4196#line 37
4197struct mutex capi_controller_lock ;
4198#line 39 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/isdn/capi/kcapi.h"
4199struct capi20_appl *capi_applications[240] ;
4200#line 43
4201void kcapi_proc_init(void) __attribute__((__section__(".init.text"), __no_instrument_function__)) ;
4202#line 44
4203void kcapi_proc_exit(void) __attribute__((__section__(".exit.text"), __no_instrument_function__)) ;
4204#line 361 "include/linux/moduleparam.h"
4205extern struct kernel_param_ops param_ops_uint ;
4206#line 67 "include/linux/module.h"
4207int init_module(void) ;
4208#line 68
4209void cleanup_module(void) ;
4210#line 457
4211extern bool try_module_get(struct module *module ) ;
4212#line 459
4213extern void module_put(struct module *module ) ;
4214#line 111 "include/linux/proc_fs.h"
4215extern struct proc_dir_entry *proc_create_data(char *name , umode_t mode ,
4216 struct proc_dir_entry *parent , struct file_operations *proc_fops ,
4217 void *data ) ;
4218#line 115
4219extern void remove_proc_entry(char *name , struct proc_dir_entry *parent ) ;
4220#line 362 "include/linux/sched.h"
4221extern void schedule(void) ;
4222#line 2563
4223__inline static int test_tsk_thread_flag(struct task_struct *tsk , int flag ) __attribute__((__no_instrument_function__)) ;
4224#line 2563 "include/linux/sched.h"
4225__inline static int test_tsk_thread_flag(struct task_struct *tsk , int flag )
4226{ int tmp___7 ;
4227 unsigned long __cil_tmp4 ;
4228 unsigned long __cil_tmp5 ;
4229 void *__cil_tmp6 ;
4230 struct thread_info *__cil_tmp7 ;
4231
4232 {
4233 {
4234#line 2565
4235 __cil_tmp4 = (unsigned long )tsk;
4236#line 2565
4237 __cil_tmp5 = __cil_tmp4 + 8;
4238#line 2565
4239 __cil_tmp6 = *((void **)__cil_tmp5);
4240#line 2565
4241 __cil_tmp7 = (struct thread_info *)__cil_tmp6;
4242#line 2565
4243 tmp___7 = test_ti_thread_flag(__cil_tmp7, flag);
4244 }
4245#line 2565
4246 return (tmp___7);
4247}
4248}
4249#line 2589
4250__inline static int signal_pending(struct task_struct *p ) __attribute__((__no_instrument_function__)) ;
4251#line 2589 "include/linux/sched.h"
4252__inline static int signal_pending(struct task_struct *p )
4253{ int tmp___7 ;
4254 int tmp___8 ;
4255 long tmp___9 ;
4256 long __cil_tmp5 ;
4257
4258 {
4259 {
4260#line 2591
4261 tmp___7 = test_tsk_thread_flag(p, 2);
4262 }
4263#line 2591
4264 if (tmp___7) {
4265#line 2591
4266 tmp___8 = 1;
4267 } else {
4268#line 2591
4269 tmp___8 = 0;
4270 }
4271 {
4272#line 2591
4273 __cil_tmp5 = (long )tmp___8;
4274#line 2591
4275 tmp___9 = __builtin_expect(__cil_tmp5, 0L);
4276 }
4277#line 2591
4278 return ((int )tmp___9);
4279}
4280}
4281#line 178 "include/linux/isdn/capiutil.h"
4282char *capi_cmd2str(unsigned char cmd , unsigned char subcmd ) ;
4283#line 190
4284void cdebbuf_free(_cdebbuf *cdb ) ;
4285#line 191
4286int cdebug_init(void) __attribute__((__section__(".init.text"), __no_instrument_function__)) ;
4287#line 192
4288void cdebug_exit(void) __attribute__((__section__(".exit.text"), __no_instrument_function__)) ;
4289#line 195
4290_cdebbuf *capi_message2str(unsigned char *msg ) ;
4291#line 41 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4292static int showcapimsgs = 0;
4293#line 42 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4294static struct workqueue_struct *kcapi_wq ;
4295#line 44 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4296static char __mod_description44[42] __attribute__((__used__, __unused__,
4297__section__(".modinfo"), __aligned__(1))) =
4298#line 44
4299 { (char )'d', (char )'e', (char const )'s', (char const )'c',
4300 (char )'r', (char )'i', (char const )'p', (char const )'t',
4301 (char )'i', (char )'o', (char const )'n', (char const )'=',
4302 (char )'C', (char )'A', (char const )'P', (char const )'I',
4303 (char )'4', (char )'L', (char const )'i', (char const )'n',
4304 (char )'u', (char )'x', (char const )':', (char const )' ',
4305 (char )'k', (char )'e', (char const )'r', (char const )'n',
4306 (char )'e', (char )'l', (char const )' ', (char const )'C',
4307 (char )'A', (char )'P', (char const )'I', (char const )' ',
4308 (char )'l', (char )'a', (char const )'y', (char const )'e',
4309 (char )'r', (char )'\000'};
4310#line 45 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4311static char __mod_author45[21] __attribute__((__used__, __unused__, __section__(".modinfo"),
4312__aligned__(1))) =
4313#line 45
4314 { (char )'a', (char )'u', (char const )'t', (char const )'h',
4315 (char )'o', (char )'r', (char const )'=', (char const )'C',
4316 (char )'a', (char )'r', (char const )'s', (char const )'t',
4317 (char )'e', (char )'n', (char const )' ', (char const )'P',
4318 (char )'a', (char )'e', (char const )'t', (char const )'h',
4319 (char )'\000'};
4320#line 46 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4321static char __mod_license46[12] __attribute__((__used__, __unused__, __section__(".modinfo"),
4322__aligned__(1))) =
4323#line 46
4324 { (char )'l', (char )'i', (char const )'c', (char const )'e',
4325 (char )'n', (char )'s', (char const )'e', (char const )'=',
4326 (char )'G', (char )'P', (char const )'L', (char const )'\000'};
4327#line 47 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4328static char __param_str_showcapimsgs[13] =
4329#line 47
4330 { (char )'s', (char )'h', (char const )'o', (char const )'w',
4331 (char )'c', (char )'a', (char const )'p', (char const )'i',
4332 (char )'m', (char )'s', (char const )'g', (char const )'s',
4333 (char )'\000'};
4334#line 47 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4335static struct kernel_param __param_showcapimsgs __attribute__((__used__,
4336__unused__, __section__("__param"), __aligned__(sizeof(void *)))) = {__param_str_showcapimsgs, (struct kernel_param_ops *)(& param_ops_uint),
4337 (u16 )0, (s16 )0, {(void *)(& showcapimsgs)}};
4338#line 47 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4339static char __mod_showcapimsgstype47[27] __attribute__((__used__, __unused__,
4340__section__(".modinfo"), __aligned__(1))) =
4341#line 47
4342 { (char )'p', (char )'a', (char const )'r', (char const )'m',
4343 (char )'t', (char )'y', (char const )'p', (char const )'e',
4344 (char )'=', (char )'s', (char const )'h', (char const )'o',
4345 (char )'w', (char )'c', (char const )'a', (char const )'p',
4346 (char )'i', (char )'m', (char const )'s', (char const )'g',
4347 (char )'s', (char )':', (char const )'u', (char const )'i',
4348 (char )'n', (char )'t', (char const )'\000'};
4349#line 59 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4350static struct capi_version driver_version = {(__u32 )2, (__u32 )0, (__u32 )1, (__u32 )(1 << 4)};
4351#line 60 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4352static char driver_serial[8] =
4353#line 60
4354 { (char )'0', (char )'0', (char )'0', (char )'4',
4355 (char )'7', (char )'1', (char )'1', (char )'\000'};
4356#line 61 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4357static char capi_manufakturer[64] =
4358#line 61
4359 { (char )'A', (char )'V', (char )'M', (char )' ',
4360 (char )'B', (char )'e', (char )'r', (char )'l',
4361 (char )'i', (char )'n', (char )'\000'};
4362#line 65 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4363struct list_head capi_drivers = {& capi_drivers, & capi_drivers};
4364#line 66 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4365struct mutex capi_drivers_lock = {{1}, {{{{{(__ticketpair_t )0}}, 3735899821U, 4294967295U, (void *)-1L}}}, {& capi_drivers_lock.wait_list,
4366 & capi_drivers_lock.wait_list},
4367 (struct task_struct *)0, (char *)0, (void *)(& capi_drivers_lock)};
4368#line 69 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4369struct mutex capi_controller_lock = {{1}, {{{{{(__ticketpair_t )0}}, 3735899821U, 4294967295U, (void *)-1L}}}, {& capi_controller_lock.wait_list,
4370 & capi_controller_lock.wait_list},
4371 (struct task_struct *)0, (char *)0, (void *)(& capi_controller_lock)};
4372#line 73 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4373static int ncontrollers ;
4374#line 75 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4375static struct blocking_notifier_head ctr_notifier_list = {{0L, {{{(__ticketpair_t )0}}, 3735899821U, 4294967295U, (void *)-1L}, {& ctr_notifier_list.rwsem.wait_list,
4376 & ctr_notifier_list.rwsem.wait_list}},
4377 (struct notifier_block *)((void *)0)};
4378#line 79
4379__inline static struct capi_ctr *capi_ctr_get(struct capi_ctr *ctr ) __attribute__((__no_instrument_function__)) ;
4380#line 79 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4381__inline static struct capi_ctr *capi_ctr_get(struct capi_ctr *ctr )
4382{ bool tmp___7 ;
4383 struct module *__cil_tmp3 ;
4384 void *__cil_tmp4 ;
4385
4386 {
4387 {
4388#line 82
4389 __cil_tmp3 = *((struct module **)ctr);
4390#line 82
4391 tmp___7 = try_module_get(__cil_tmp3);
4392 }
4393#line 82
4394 if (tmp___7) {
4395
4396 } else {
4397 {
4398#line 83
4399 __cil_tmp4 = (void *)0;
4400#line 83
4401 return ((struct capi_ctr *)__cil_tmp4);
4402 }
4403 }
4404#line 84
4405 return (ctr);
4406}
4407}
4408#line 87
4409__inline static void capi_ctr_put(struct capi_ctr *ctr ) __attribute__((__no_instrument_function__)) ;
4410#line 87 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4411__inline static void capi_ctr_put(struct capi_ctr *ctr )
4412{ struct module *__cil_tmp2 ;
4413
4414 {
4415 {
4416#line 90
4417 __cil_tmp2 = *((struct module **)ctr);
4418#line 90
4419 module_put(__cil_tmp2);
4420 }
4421#line 91
4422 return;
4423}
4424}
4425#line 95
4426__inline static struct capi_ctr *get_capi_ctr_by_nr(u16 contr ) __attribute__((__no_instrument_function__)) ;
4427#line 95 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4428__inline static struct capi_ctr *get_capi_ctr_by_nr(u16 contr )
4429{ int __cil_tmp2 ;
4430 int __cil_tmp3 ;
4431 void *__cil_tmp4 ;
4432 int __cil_tmp5 ;
4433 int __cil_tmp6 ;
4434 unsigned long __cil_tmp7 ;
4435 unsigned long __cil_tmp8 ;
4436
4437 {
4438 {
4439#line 97
4440 __cil_tmp2 = (int )contr;
4441#line 97
4442 __cil_tmp3 = __cil_tmp2 - 1;
4443#line 97
4444 if (__cil_tmp3 >= 32) {
4445 {
4446#line 98
4447 __cil_tmp4 = (void *)0;
4448#line 98
4449 return ((struct capi_ctr *)__cil_tmp4);
4450 }
4451 } else {
4452
4453 }
4454 }
4455 {
4456#line 100
4457 __cil_tmp5 = (int )contr;
4458#line 100
4459 __cil_tmp6 = __cil_tmp5 - 1;
4460#line 100
4461 __cil_tmp7 = __cil_tmp6 * 8UL;
4462#line 100
4463 __cil_tmp8 = (unsigned long )(capi_controller) + __cil_tmp7;
4464#line 100
4465 return (*((struct capi_ctr **)__cil_tmp8));
4466 }
4467}
4468}
4469#line 103
4470__inline static struct capi20_appl *__get_capi_appl_by_nr(u16 applid ) __attribute__((__no_instrument_function__)) ;
4471#line 103 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4472__inline static struct capi20_appl *__get_capi_appl_by_nr(u16 applid )
4473{ int __cil_tmp2 ;
4474 int __cil_tmp3 ;
4475 void *__cil_tmp4 ;
4476 int __cil_tmp5 ;
4477 int __cil_tmp6 ;
4478 unsigned long __cil_tmp7 ;
4479 unsigned long __cil_tmp8 ;
4480
4481 {
4482 {
4483#line 105
4484 while (1) {
4485 while_continue: ;
4486#line 105
4487 goto while_break;
4488 }
4489 while_break: ;
4490 }
4491 {
4492#line 107
4493 __cil_tmp2 = (int )applid;
4494#line 107
4495 __cil_tmp3 = __cil_tmp2 - 1;
4496#line 107
4497 if (__cil_tmp3 >= 240) {
4498 {
4499#line 108
4500 __cil_tmp4 = (void *)0;
4501#line 108
4502 return ((struct capi20_appl *)__cil_tmp4);
4503 }
4504 } else {
4505
4506 }
4507 }
4508 {
4509#line 110
4510 __cil_tmp5 = (int )applid;
4511#line 110
4512 __cil_tmp6 = __cil_tmp5 - 1;
4513#line 110
4514 __cil_tmp7 = __cil_tmp6 * 8UL;
4515#line 110
4516 __cil_tmp8 = (unsigned long )(capi_applications) + __cil_tmp7;
4517#line 110
4518 return (*((struct capi20_appl **)__cil_tmp8));
4519 }
4520}
4521}
4522#line 113
4523__inline static struct capi20_appl *get_capi_appl_by_nr(u16 applid ) __attribute__((__no_instrument_function__)) ;
4524#line 113 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4525__inline static struct capi20_appl *get_capi_appl_by_nr(u16 applid )
4526{ struct capi20_appl *_________p1 ;
4527 int __cil_tmp3 ;
4528 int __cil_tmp4 ;
4529 void *__cil_tmp5 ;
4530 int __cil_tmp6 ;
4531 int __cil_tmp7 ;
4532 unsigned long __cil_tmp8 ;
4533 unsigned long __cil_tmp9 ;
4534 struct capi20_appl **__cil_tmp10 ;
4535 struct capi20_appl * volatile *__cil_tmp11 ;
4536 struct capi20_appl * volatile __cil_tmp12 ;
4537
4538 {
4539 {
4540#line 115
4541 __cil_tmp3 = (int )applid;
4542#line 115
4543 __cil_tmp4 = __cil_tmp3 - 1;
4544#line 115
4545 if (__cil_tmp4 >= 240) {
4546 {
4547#line 116
4548 __cil_tmp5 = (void *)0;
4549#line 116
4550 return ((struct capi20_appl *)__cil_tmp5);
4551 }
4552 } else {
4553
4554 }
4555 }
4556#line 118
4557 __cil_tmp6 = (int )applid;
4558#line 118
4559 __cil_tmp7 = __cil_tmp6 - 1;
4560#line 118
4561 __cil_tmp8 = __cil_tmp7 * 8UL;
4562#line 118
4563 __cil_tmp9 = (unsigned long )(capi_applications) + __cil_tmp8;
4564#line 118
4565 __cil_tmp10 = (struct capi20_appl **)__cil_tmp9;
4566#line 118
4567 __cil_tmp11 = (struct capi20_appl * volatile *)__cil_tmp10;
4568#line 118
4569 __cil_tmp12 = *__cil_tmp11;
4570#line 118
4571 _________p1 = (struct capi20_appl *)__cil_tmp12;
4572 {
4573#line 118
4574 while (1) {
4575 while_continue: ;
4576#line 118
4577 goto while_break;
4578 }
4579 while_break: ;
4580 }
4581 {
4582#line 118
4583 while (1) {
4584 while_continue___0: ;
4585#line 118
4586 goto while_break___0;
4587 }
4588 while_break___0: ;
4589 }
4590#line 118
4591 return (_________p1);
4592}
4593}
4594#line 123
4595__inline static int capi_cmd_valid(u8 cmd ) __attribute__((__no_instrument_function__)) ;
4596#line 123 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4597__inline static int capi_cmd_valid(u8 cmd )
4598{
4599
4600 {
4601#line 126
4602 if ((int )cmd == 1) {
4603#line 126
4604 goto case_1;
4605 } else
4606#line 127
4607 if ((int )cmd == 2) {
4608#line 127
4609 goto case_1;
4610 } else
4611#line 128
4612 if ((int )cmd == 3) {
4613#line 128
4614 goto case_1;
4615 } else
4616#line 129
4617 if ((int )cmd == 131) {
4618#line 129
4619 goto case_1;
4620 } else
4621#line 130
4622 if ((int )cmd == 130) {
4623#line 130
4624 goto case_1;
4625 } else
4626#line 131
4627 if ((int )cmd == 136) {
4628#line 131
4629 goto case_1;
4630 } else
4631#line 132
4632 if ((int )cmd == 134) {
4633#line 132
4634 goto case_1;
4635 } else
4636#line 133
4637 if ((int )cmd == 132) {
4638#line 133
4639 goto case_1;
4640 } else
4641#line 134
4642 if ((int )cmd == 4) {
4643#line 134
4644 goto case_1;
4645 } else
4646#line 135
4647 if ((int )cmd == 128) {
4648#line 135
4649 goto case_1;
4650 } else
4651#line 136
4652 if ((int )cmd == 8) {
4653#line 136
4654 goto case_1;
4655 } else
4656#line 137
4657 if ((int )cmd == 5) {
4658#line 137
4659 goto case_1;
4660 } else
4661#line 138
4662 if ((int )cmd == 255) {
4663#line 138
4664 goto case_1;
4665 } else
4666#line 139
4667 if ((int )cmd == 135) {
4668#line 139
4669 goto case_1;
4670 } else
4671#line 140
4672 if ((int )cmd == 65) {
4673#line 140
4674 goto case_1;
4675 } else
4676#line 125
4677 if (0) {
4678 case_1:
4679 case_2:
4680 case_3:
4681 case_131:
4682 case_130:
4683 case_136:
4684 case_134:
4685 case_132:
4686 case_4:
4687 case_128:
4688 case_8:
4689 case_5:
4690 case_255:
4691 case_135:
4692 case_65:
4693#line 141
4694 return (1);
4695 } else {
4696 switch_break: ;
4697 }
4698#line 143
4699 return (0);
4700}
4701}
4702#line 146
4703__inline static int capi_subcmd_valid(u8 subcmd ) __attribute__((__no_instrument_function__)) ;
4704#line 146 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4705__inline static int capi_subcmd_valid(u8 subcmd )
4706{
4707
4708 {
4709#line 149
4710 if ((int )subcmd == 128) {
4711#line 149
4712 goto case_128;
4713 } else
4714#line 150
4715 if ((int )subcmd == 129) {
4716#line 150
4717 goto case_128;
4718 } else
4719#line 151
4720 if ((int )subcmd == 130) {
4721#line 151
4722 goto case_128;
4723 } else
4724#line 152
4725 if ((int )subcmd == 131) {
4726#line 152
4727 goto case_128;
4728 } else
4729#line 148
4730 if (0) {
4731 case_128:
4732 case_129:
4733 case_130:
4734 case_131:
4735#line 153
4736 return (1);
4737 } else {
4738 switch_break: ;
4739 }
4740#line 155
4741 return (0);
4742}
4743}
4744#line 160 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4745static void register_appl(struct capi_ctr *ctr , u16 applid , capi_register_params *rparam )
4746{ unsigned long __cil_tmp4 ;
4747 unsigned long __cil_tmp5 ;
4748 void (*__cil_tmp6)(struct capi_ctr * , u16 appl , capi_register_params * ) ;
4749
4750 {
4751 {
4752#line 163
4753 ctr = capi_ctr_get(ctr);
4754 }
4755#line 165
4756 if (ctr) {
4757 {
4758#line 166
4759 __cil_tmp4 = (unsigned long )ctr;
4760#line 166
4761 __cil_tmp5 = __cil_tmp4 + 72;
4762#line 166
4763 __cil_tmp6 = *((void (**)(struct capi_ctr * , u16 appl , capi_register_params * ))__cil_tmp5);
4764#line 166
4765 (*__cil_tmp6)(ctr, applid, rparam);
4766 }
4767 } else {
4768 {
4769#line 168
4770 printk("<4>%s: cannot get controller resources\n", "register_appl");
4771 }
4772 }
4773#line 170
4774 return;
4775}
4776}
4777#line 173 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4778static void release_appl(struct capi_ctr *ctr , u16 applid )
4779{ unsigned long __cil_tmp3 ;
4780 unsigned long __cil_tmp4 ;
4781 void (*__cil_tmp5)(struct capi_ctr * , u16 appl ) ;
4782
4783 {
4784 {
4785#line 177
4786 __cil_tmp3 = (unsigned long )ctr;
4787#line 177
4788 __cil_tmp4 = __cil_tmp3 + 80;
4789#line 177
4790 __cil_tmp5 = *((void (**)(struct capi_ctr * , u16 appl ))__cil_tmp4);
4791#line 177
4792 (*__cil_tmp5)(ctr, applid);
4793#line 178
4794 capi_ctr_put(ctr);
4795 }
4796#line 179
4797 return;
4798}
4799}
4800#line 181 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4801static void notify_up(u32 contr )
4802{ struct capi20_appl *ap ;
4803 struct capi_ctr *ctr ;
4804 u16 applid ;
4805 int *__cil_tmp5 ;
4806 int __cil_tmp6 ;
4807 u16 __cil_tmp7 ;
4808 unsigned long __cil_tmp8 ;
4809 unsigned long __cil_tmp9 ;
4810 unsigned short __cil_tmp10 ;
4811 int __cil_tmp11 ;
4812 unsigned long __cil_tmp12 ;
4813 unsigned long __cil_tmp13 ;
4814 int __cil_tmp14 ;
4815 unsigned long __cil_tmp15 ;
4816 unsigned long __cil_tmp16 ;
4817 capi_register_params *__cil_tmp17 ;
4818 int __cil_tmp18 ;
4819 int __cil_tmp19 ;
4820 unsigned long __cil_tmp20 ;
4821 unsigned long __cil_tmp21 ;
4822 wait_queue_head_t *__cil_tmp22 ;
4823 void *__cil_tmp23 ;
4824
4825 {
4826 {
4827#line 187
4828 mutex_lock(& capi_controller_lock);
4829 }
4830 {
4831#line 189
4832 __cil_tmp5 = & showcapimsgs;
4833#line 189
4834 __cil_tmp6 = *__cil_tmp5;
4835#line 189
4836 if (__cil_tmp6 & 1) {
4837 {
4838#line 190
4839 printk("<7>kcapi: notify up contr %d\n", contr);
4840 }
4841 } else {
4842
4843 }
4844 }
4845 {
4846#line 192
4847 __cil_tmp7 = (u16 )contr;
4848#line 192
4849 ctr = get_capi_ctr_by_nr(__cil_tmp7);
4850 }
4851#line 193
4852 if (ctr) {
4853 {
4854#line 194
4855 __cil_tmp8 = (unsigned long )ctr;
4856#line 194
4857 __cil_tmp9 = __cil_tmp8 + 300;
4858#line 194
4859 __cil_tmp10 = *((unsigned short *)__cil_tmp9);
4860#line 194
4861 __cil_tmp11 = (int )__cil_tmp10;
4862#line 194
4863 if (__cil_tmp11 == 3) {
4864#line 195
4865 goto unlock_out;
4866 } else {
4867
4868 }
4869 }
4870#line 197
4871 __cil_tmp12 = (unsigned long )ctr;
4872#line 197
4873 __cil_tmp13 = __cil_tmp12 + 300;
4874#line 197
4875 *((unsigned short *)__cil_tmp13) = (unsigned short)3;
4876#line 199
4877 applid = (u16 )1;
4878 {
4879#line 199
4880 while (1) {
4881 while_continue: ;
4882 {
4883#line 199
4884 __cil_tmp14 = (int )applid;
4885#line 199
4886 if (__cil_tmp14 <= 240) {
4887
4888 } else {
4889#line 199
4890 goto while_break;
4891 }
4892 }
4893 {
4894#line 200
4895 ap = __get_capi_appl_by_nr(applid);
4896 }
4897#line 201
4898 if (ap) {
4899 {
4900#line 202
4901 __cil_tmp15 = (unsigned long )ap;
4902#line 202
4903 __cil_tmp16 = __cil_tmp15 + 4;
4904#line 202
4905 __cil_tmp17 = (capi_register_params *)__cil_tmp16;
4906#line 202
4907 register_appl(ctr, applid, __cil_tmp17);
4908 }
4909 } else {
4910
4911 }
4912#line 199
4913 __cil_tmp18 = (int )applid;
4914#line 199
4915 __cil_tmp19 = __cil_tmp18 + 1;
4916#line 199
4917 applid = (u16 )__cil_tmp19;
4918 }
4919 while_break: ;
4920 }
4921 {
4922#line 205
4923 __cil_tmp20 = (unsigned long )ctr;
4924#line 205
4925 __cil_tmp21 = __cil_tmp20 + 312;
4926#line 205
4927 __cil_tmp22 = (wait_queue_head_t *)__cil_tmp21;
4928#line 205
4929 __cil_tmp23 = (void *)0;
4930#line 205
4931 __wake_up(__cil_tmp22, 1U, 0, __cil_tmp23);
4932 }
4933 } else {
4934 {
4935#line 207
4936 printk("<4>%s: invalid contr %d\n", "notify_up", contr);
4937 }
4938 }
4939 unlock_out:
4940 {
4941#line 210
4942 mutex_unlock(& capi_controller_lock);
4943 }
4944#line 211
4945 return;
4946}
4947}
4948#line 213 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
4949static void ctr_down(struct capi_ctr *ctr , int new_state )
4950{ struct capi20_appl *ap ;
4951 u16 applid ;
4952 unsigned long __cil_tmp5 ;
4953 unsigned long __cil_tmp6 ;
4954 unsigned short __cil_tmp7 ;
4955 int __cil_tmp8 ;
4956 unsigned long __cil_tmp9 ;
4957 unsigned long __cil_tmp10 ;
4958 unsigned short __cil_tmp11 ;
4959 int __cil_tmp12 ;
4960 unsigned long __cil_tmp13 ;
4961 unsigned long __cil_tmp14 ;
4962 unsigned long __cil_tmp15 ;
4963 unsigned long __cil_tmp16 ;
4964 unsigned long __cil_tmp17 ;
4965 unsigned long __cil_tmp18 ;
4966 u8 *__cil_tmp19 ;
4967 void *__cil_tmp20 ;
4968 unsigned long __cil_tmp21 ;
4969 unsigned long __cil_tmp22 ;
4970 capi_version *__cil_tmp23 ;
4971 void *__cil_tmp24 ;
4972 unsigned long __cil_tmp25 ;
4973 unsigned long __cil_tmp26 ;
4974 capi_profile *__cil_tmp27 ;
4975 void *__cil_tmp28 ;
4976 unsigned long __cil_tmp29 ;
4977 unsigned long __cil_tmp30 ;
4978 unsigned long __cil_tmp31 ;
4979 unsigned long __cil_tmp32 ;
4980 u8 *__cil_tmp33 ;
4981 void *__cil_tmp34 ;
4982 int __cil_tmp35 ;
4983 int __cil_tmp36 ;
4984 int __cil_tmp37 ;
4985 unsigned long __cil_tmp38 ;
4986 unsigned long __cil_tmp39 ;
4987 wait_queue_head_t *__cil_tmp40 ;
4988 void *__cil_tmp41 ;
4989
4990 {
4991 {
4992#line 218
4993 __cil_tmp5 = (unsigned long )ctr;
4994#line 218
4995 __cil_tmp6 = __cil_tmp5 + 300;
4996#line 218
4997 __cil_tmp7 = *((unsigned short *)__cil_tmp6);
4998#line 218
4999 __cil_tmp8 = (int )__cil_tmp7;
5000#line 218
5001 if (__cil_tmp8 == 1) {
5002#line 219
5003 return;
5004 } else {
5005 {
5006#line 218
5007 __cil_tmp9 = (unsigned long )ctr;
5008#line 218
5009 __cil_tmp10 = __cil_tmp9 + 300;
5010#line 218
5011 __cil_tmp11 = *((unsigned short *)__cil_tmp10);
5012#line 218
5013 __cil_tmp12 = (int )__cil_tmp11;
5014#line 218
5015 if (__cil_tmp12 == 0) {
5016#line 219
5017 return;
5018 } else {
5019
5020 }
5021 }
5022 }
5023 }
5024 {
5025#line 221
5026 __cil_tmp13 = (unsigned long )ctr;
5027#line 221
5028 __cil_tmp14 = __cil_tmp13 + 300;
5029#line 221
5030 *((unsigned short *)__cil_tmp14) = (unsigned short )new_state;
5031#line 223
5032 __cil_tmp15 = 0 * 1UL;
5033#line 223
5034 __cil_tmp16 = 112 + __cil_tmp15;
5035#line 223
5036 __cil_tmp17 = (unsigned long )ctr;
5037#line 223
5038 __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
5039#line 223
5040 __cil_tmp19 = (u8 *)__cil_tmp18;
5041#line 223
5042 __cil_tmp20 = (void *)__cil_tmp19;
5043#line 223
5044 memset(__cil_tmp20, 0, 64UL);
5045#line 224
5046 __cil_tmp21 = (unsigned long )ctr;
5047#line 224
5048 __cil_tmp22 = __cil_tmp21 + 176;
5049#line 224
5050 __cil_tmp23 = (capi_version *)__cil_tmp22;
5051#line 224
5052 __cil_tmp24 = (void *)__cil_tmp23;
5053#line 224
5054 memset(__cil_tmp24, 0, 16UL);
5055#line 225
5056 __cil_tmp25 = (unsigned long )ctr;
5057#line 225
5058 __cil_tmp26 = __cil_tmp25 + 192;
5059#line 225
5060 __cil_tmp27 = (capi_profile *)__cil_tmp26;
5061#line 225
5062 __cil_tmp28 = (void *)__cil_tmp27;
5063#line 225
5064 memset(__cil_tmp28, 0, 64UL);
5065#line 226
5066 __cil_tmp29 = 0 * 1UL;
5067#line 226
5068 __cil_tmp30 = 256 + __cil_tmp29;
5069#line 226
5070 __cil_tmp31 = (unsigned long )ctr;
5071#line 226
5072 __cil_tmp32 = __cil_tmp31 + __cil_tmp30;
5073#line 226
5074 __cil_tmp33 = (u8 *)__cil_tmp32;
5075#line 226
5076 __cil_tmp34 = (void *)__cil_tmp33;
5077#line 226
5078 memset(__cil_tmp34, 0, 8UL);
5079#line 228
5080 applid = (u16 )1;
5081 }
5082 {
5083#line 228
5084 while (1) {
5085 while_continue: ;
5086 {
5087#line 228
5088 __cil_tmp35 = (int )applid;
5089#line 228
5090 if (__cil_tmp35 <= 240) {
5091
5092 } else {
5093#line 228
5094 goto while_break;
5095 }
5096 }
5097 {
5098#line 229
5099 ap = __get_capi_appl_by_nr(applid);
5100 }
5101#line 230
5102 if (ap) {
5103 {
5104#line 231
5105 capi_ctr_put(ctr);
5106 }
5107 } else {
5108
5109 }
5110#line 228
5111 __cil_tmp36 = (int )applid;
5112#line 228
5113 __cil_tmp37 = __cil_tmp36 + 1;
5114#line 228
5115 applid = (u16 )__cil_tmp37;
5116 }
5117 while_break: ;
5118 }
5119 {
5120#line 234
5121 __cil_tmp38 = (unsigned long )ctr;
5122#line 234
5123 __cil_tmp39 = __cil_tmp38 + 312;
5124#line 234
5125 __cil_tmp40 = (wait_queue_head_t *)__cil_tmp39;
5126#line 234
5127 __cil_tmp41 = (void *)0;
5128#line 234
5129 __wake_up(__cil_tmp40, 1U, 0, __cil_tmp41);
5130 }
5131#line 235
5132 return;
5133}
5134}
5135#line 237 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5136static void notify_down(u32 contr )
5137{ struct capi_ctr *ctr ;
5138 int *__cil_tmp3 ;
5139 int __cil_tmp4 ;
5140 u16 __cil_tmp5 ;
5141
5142 {
5143 {
5144#line 241
5145 mutex_lock(& capi_controller_lock);
5146 }
5147 {
5148#line 243
5149 __cil_tmp3 = & showcapimsgs;
5150#line 243
5151 __cil_tmp4 = *__cil_tmp3;
5152#line 243
5153 if (__cil_tmp4 & 1) {
5154 {
5155#line 244
5156 printk("<7>kcapi: notify down contr %d\n", contr);
5157 }
5158 } else {
5159
5160 }
5161 }
5162 {
5163#line 246
5164 __cil_tmp5 = (u16 )contr;
5165#line 246
5166 ctr = get_capi_ctr_by_nr(__cil_tmp5);
5167 }
5168#line 247
5169 if (ctr) {
5170 {
5171#line 248
5172 ctr_down(ctr, 1);
5173 }
5174 } else {
5175 {
5176#line 250
5177 printk("<4>%s: invalid contr %d\n", "notify_down", contr);
5178 }
5179 }
5180 {
5181#line 252
5182 mutex_unlock(& capi_controller_lock);
5183 }
5184#line 253
5185 return;
5186}
5187}
5188#line 255 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5189static int notify_handler(struct notifier_block *nb , unsigned long val , void *v )
5190{ u32 contr ;
5191 long __cil_tmp5 ;
5192
5193 {
5194#line 258
5195 __cil_tmp5 = (long )v;
5196#line 258
5197 contr = (u32 )__cil_tmp5;
5198#line 261
5199 if ((int )val == 0) {
5200#line 261
5201 goto case_0;
5202 } else
5203#line 264
5204 if ((int )val == 1) {
5205#line 264
5206 goto case_1;
5207 } else
5208#line 260
5209 if (0) {
5210 case_0:
5211 {
5212#line 262
5213 notify_up(contr);
5214 }
5215#line 263
5216 goto switch_break;
5217 case_1:
5218 {
5219#line 265
5220 notify_down(contr);
5221 }
5222#line 266
5223 goto switch_break;
5224 } else {
5225 switch_break: ;
5226 }
5227#line 268
5228 return (1);
5229}
5230}
5231#line 271 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5232static void do_notify_work(struct work_struct *work )
5233{ struct capictr_event *event ;
5234 struct work_struct *__mptr ;
5235 struct capictr_event *__cil_tmp4 ;
5236 struct work_struct *__cil_tmp5 ;
5237 unsigned int __cil_tmp6 ;
5238 char *__cil_tmp7 ;
5239 char *__cil_tmp8 ;
5240 unsigned long __cil_tmp9 ;
5241 unsigned long __cil_tmp10 ;
5242 unsigned int __cil_tmp11 ;
5243 unsigned long __cil_tmp12 ;
5244 unsigned long __cil_tmp13 ;
5245 unsigned long __cil_tmp14 ;
5246 u32 __cil_tmp15 ;
5247 long __cil_tmp16 ;
5248 void *__cil_tmp17 ;
5249 void *__cil_tmp18 ;
5250
5251 {
5252 {
5253#line 274
5254 __mptr = (struct work_struct *)work;
5255#line 274
5256 __cil_tmp4 = (struct capictr_event *)0;
5257#line 274
5258 __cil_tmp5 = (struct work_struct *)__cil_tmp4;
5259#line 274
5260 __cil_tmp6 = (unsigned int )__cil_tmp5;
5261#line 274
5262 __cil_tmp7 = (char *)__mptr;
5263#line 274
5264 __cil_tmp8 = __cil_tmp7 - __cil_tmp6;
5265#line 274
5266 event = (struct capictr_event *)__cil_tmp8;
5267#line 276
5268 __cil_tmp9 = (unsigned long )event;
5269#line 276
5270 __cil_tmp10 = __cil_tmp9 + 32;
5271#line 276
5272 __cil_tmp11 = *((unsigned int *)__cil_tmp10);
5273#line 276
5274 __cil_tmp12 = (unsigned long )__cil_tmp11;
5275#line 276
5276 __cil_tmp13 = (unsigned long )event;
5277#line 276
5278 __cil_tmp14 = __cil_tmp13 + 36;
5279#line 276
5280 __cil_tmp15 = *((u32 *)__cil_tmp14);
5281#line 276
5282 __cil_tmp16 = (long )__cil_tmp15;
5283#line 276
5284 __cil_tmp17 = (void *)__cil_tmp16;
5285#line 276
5286 blocking_notifier_call_chain(& ctr_notifier_list, __cil_tmp12, __cil_tmp17);
5287#line 278
5288 __cil_tmp18 = (void *)event;
5289#line 278
5290 kfree(__cil_tmp18);
5291 }
5292#line 279
5293 return;
5294}
5295}
5296#line 285 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5297static int notify_push(unsigned int event_type , u32 controller )
5298{ struct capictr_event *event ;
5299 void *tmp___7 ;
5300 atomic_long_t __r_expr_0 ;
5301 struct work_struct *__cil_tmp6 ;
5302 unsigned long __cil_tmp7 ;
5303 unsigned long __cil_tmp8 ;
5304 unsigned long __cil_tmp9 ;
5305 struct list_head *__cil_tmp10 ;
5306 unsigned long __cil_tmp11 ;
5307 unsigned long __cil_tmp12 ;
5308 unsigned long __cil_tmp13 ;
5309 unsigned long __cil_tmp14 ;
5310 unsigned long __cil_tmp15 ;
5311 unsigned long __cil_tmp16 ;
5312 unsigned long __cil_tmp17 ;
5313 struct work_struct *__cil_tmp18 ;
5314 long __r_expr_0_counter19 ;
5315
5316 {
5317 {
5318#line 287
5319 tmp___7 = kmalloc(40UL, 32U);
5320#line 287
5321 event = (struct capictr_event *)tmp___7;
5322 }
5323#line 289
5324 if (! event) {
5325#line 290
5326 return (-12);
5327 } else {
5328
5329 }
5330 {
5331#line 292
5332 while (1) {
5333 while_continue: ;
5334 {
5335#line 292
5336 while (1) {
5337 while_continue___0: ;
5338 {
5339#line 292
5340 __cil_tmp6 = (struct work_struct *)event;
5341#line 292
5342 __init_work(__cil_tmp6, 0);
5343#line 292
5344 __r_expr_0_counter19 = 2097664L;
5345#line 292
5346 ((atomic_long_t *)event)->counter = __r_expr_0_counter19;
5347#line 292
5348 __cil_tmp7 = 0 + 8;
5349#line 292
5350 __cil_tmp8 = (unsigned long )event;
5351#line 292
5352 __cil_tmp9 = __cil_tmp8 + __cil_tmp7;
5353#line 292
5354 __cil_tmp10 = (struct list_head *)__cil_tmp9;
5355#line 292
5356 INIT_LIST_HEAD(__cil_tmp10);
5357 }
5358 {
5359#line 292
5360 while (1) {
5361 while_continue___1: ;
5362#line 292
5363 __cil_tmp11 = 0 + 24;
5364#line 292
5365 __cil_tmp12 = (unsigned long )event;
5366#line 292
5367 __cil_tmp13 = __cil_tmp12 + __cil_tmp11;
5368#line 292
5369 *((void (**)(struct work_struct *work ))__cil_tmp13) = & do_notify_work;
5370#line 292
5371 goto while_break___1;
5372 }
5373 while_break___1: ;
5374 }
5375#line 292
5376 goto while_break___0;
5377 }
5378 while_break___0: ;
5379 }
5380#line 292
5381 goto while_break;
5382 }
5383 while_break: ;
5384 }
5385 {
5386#line 293
5387 __cil_tmp14 = (unsigned long )event;
5388#line 293
5389 __cil_tmp15 = __cil_tmp14 + 32;
5390#line 293
5391 *((unsigned int *)__cil_tmp15) = event_type;
5392#line 294
5393 __cil_tmp16 = (unsigned long )event;
5394#line 294
5395 __cil_tmp17 = __cil_tmp16 + 36;
5396#line 294
5397 *((u32 *)__cil_tmp17) = controller;
5398#line 296
5399 __cil_tmp18 = (struct work_struct *)event;
5400#line 296
5401 queue_work(kcapi_wq, __cil_tmp18);
5402 }
5403#line 297
5404 return (0);
5405}
5406}
5407#line 300 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5408int register_capictr_notifier(struct notifier_block *nb )
5409{ int tmp___7 ;
5410
5411 {
5412 {
5413#line 302
5414 tmp___7 = blocking_notifier_chain_register(& ctr_notifier_list, nb);
5415 }
5416#line 302
5417 return (tmp___7);
5418}
5419}
5420#line 304
5421extern void *__crc_register_capictr_notifier __attribute__((__weak__)) ;
5422#line 304 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5423static unsigned long __kcrctab_register_capictr_notifier __attribute__((__used__,
5424__unused__, __section__("___kcrctab_gpl+register_capictr_notifier"))) = (unsigned long )((unsigned long )(& __crc_register_capictr_notifier));
5425#line 304 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5426static char __kstrtab_register_capictr_notifier[26] __attribute__((__section__("__ksymtab_strings"),
5427__aligned__(1))) =
5428#line 304
5429 { (char )'r', (char )'e', (char const )'g', (char const )'i',
5430 (char )'s', (char )'t', (char const )'e', (char const )'r',
5431 (char )'_', (char )'c', (char const )'a', (char const )'p',
5432 (char )'i', (char )'c', (char const )'t', (char const )'r',
5433 (char )'_', (char )'n', (char const )'o', (char const )'t',
5434 (char )'i', (char )'f', (char const )'i', (char const )'e',
5435 (char )'r', (char )'\000'};
5436#line 304 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5437static struct kernel_symbol __ksymtab_register_capictr_notifier __attribute__((__used__,
5438__unused__, __section__("___ksymtab_gpl+register_capictr_notifier"))) = {(unsigned long )(& register_capictr_notifier), __kstrtab_register_capictr_notifier};
5439#line 306 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5440int unregister_capictr_notifier(struct notifier_block *nb )
5441{ int tmp___7 ;
5442
5443 {
5444 {
5445#line 308
5446 tmp___7 = blocking_notifier_chain_unregister(& ctr_notifier_list, nb);
5447 }
5448#line 308
5449 return (tmp___7);
5450}
5451}
5452#line 310
5453extern void *__crc_unregister_capictr_notifier __attribute__((__weak__)) ;
5454#line 310 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5455static unsigned long __kcrctab_unregister_capictr_notifier __attribute__((__used__,
5456__unused__, __section__("___kcrctab_gpl+unregister_capictr_notifier"))) = (unsigned long )((unsigned long )(& __crc_unregister_capictr_notifier));
5457#line 310 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5458static char __kstrtab_unregister_capictr_notifier[28] __attribute__((__section__("__ksymtab_strings"),
5459__aligned__(1))) =
5460#line 310
5461 { (char )'u', (char )'n', (char const )'r', (char const )'e',
5462 (char )'g', (char )'i', (char const )'s', (char const )'t',
5463 (char )'e', (char )'r', (char const )'_', (char const )'c',
5464 (char )'a', (char )'p', (char const )'i', (char const )'c',
5465 (char )'t', (char )'r', (char const )'_', (char const )'n',
5466 (char )'o', (char )'t', (char const )'i', (char const )'f',
5467 (char )'i', (char )'e', (char const )'r', (char const )'\000'};
5468#line 310 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5469static struct kernel_symbol __ksymtab_unregister_capictr_notifier __attribute__((__used__,
5470__unused__, __section__("___ksymtab_gpl+unregister_capictr_notifier"))) = {(unsigned long )(& unregister_capictr_notifier), __kstrtab_unregister_capictr_notifier};
5471#line 314 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5472static void recv_handler(struct work_struct *work )
5473{ struct sk_buff *skb ;
5474 struct capi20_appl *ap ;
5475 struct work_struct *__mptr ;
5476 struct capi20_appl *__cil_tmp5 ;
5477 unsigned long __cil_tmp6 ;
5478 unsigned long __cil_tmp7 ;
5479 struct work_struct *__cil_tmp8 ;
5480 unsigned int __cil_tmp9 ;
5481 char *__cil_tmp10 ;
5482 char *__cil_tmp11 ;
5483 unsigned long __cil_tmp12 ;
5484 unsigned long __cil_tmp13 ;
5485 unsigned long __cil_tmp14 ;
5486 unsigned long __cil_tmp15 ;
5487 struct mutex *__cil_tmp16 ;
5488 unsigned long __cil_tmp17 ;
5489 unsigned long __cil_tmp18 ;
5490 struct sk_buff_head *__cil_tmp19 ;
5491 int __cil_tmp20 ;
5492 int __cil_tmp21 ;
5493 unsigned long __cil_tmp22 ;
5494 unsigned long __cil_tmp23 ;
5495 unsigned char *__cil_tmp24 ;
5496 unsigned char *__cil_tmp25 ;
5497 unsigned char __cil_tmp26 ;
5498 int __cil_tmp27 ;
5499 unsigned long __cil_tmp28 ;
5500 unsigned long __cil_tmp29 ;
5501 unsigned char *__cil_tmp30 ;
5502 unsigned char *__cil_tmp31 ;
5503 unsigned char __cil_tmp32 ;
5504 int __cil_tmp33 ;
5505 int __cil_tmp34 ;
5506 int __cil_tmp35 ;
5507 unsigned long __cil_tmp36 ;
5508 unsigned long __cil_tmp37 ;
5509 unsigned long __cil_tmp38 ;
5510 unsigned long __cil_tmp39 ;
5511 unsigned long __cil_tmp40 ;
5512 unsigned long __cil_tmp41 ;
5513 unsigned long __cil_tmp42 ;
5514 unsigned long __cil_tmp43 ;
5515 unsigned long __cil_tmp44 ;
5516 unsigned long __cil_tmp45 ;
5517 unsigned long __cil_tmp46 ;
5518 unsigned long __cil_tmp47 ;
5519 void (*__cil_tmp48)(struct capi20_appl *ap , struct sk_buff *skb ) ;
5520 unsigned long __cil_tmp49 ;
5521 unsigned long __cil_tmp50 ;
5522 struct mutex *__cil_tmp51 ;
5523
5524 {
5525#line 318
5526 __mptr = (struct work_struct *)work;
5527#line 318
5528 __cil_tmp5 = (struct capi20_appl *)0;
5529#line 318
5530 __cil_tmp6 = (unsigned long )__cil_tmp5;
5531#line 318
5532 __cil_tmp7 = __cil_tmp6 + 184;
5533#line 318
5534 __cil_tmp8 = (struct work_struct *)__cil_tmp7;
5535#line 318
5536 __cil_tmp9 = (unsigned int )__cil_tmp8;
5537#line 318
5538 __cil_tmp10 = (char *)__mptr;
5539#line 318
5540 __cil_tmp11 = __cil_tmp10 - __cil_tmp9;
5541#line 318
5542 ap = (struct capi20_appl *)__cil_tmp11;
5543#line 320
5544 if (! ap) {
5545#line 321
5546 return;
5547 } else {
5548 {
5549#line 320
5550 __cil_tmp12 = (unsigned long )ap;
5551#line 320
5552 __cil_tmp13 = __cil_tmp12 + 216;
5553#line 320
5554 if (*((int *)__cil_tmp13)) {
5555#line 321
5556 return;
5557 } else {
5558
5559 }
5560 }
5561 }
5562 {
5563#line 323
5564 __cil_tmp14 = (unsigned long )ap;
5565#line 323
5566 __cil_tmp15 = __cil_tmp14 + 64;
5567#line 323
5568 __cil_tmp16 = (struct mutex *)__cil_tmp15;
5569#line 323
5570 mutex_lock(__cil_tmp16);
5571 }
5572 {
5573#line 324
5574 while (1) {
5575 while_continue: ;
5576 {
5577#line 324
5578 __cil_tmp17 = (unsigned long )ap;
5579#line 324
5580 __cil_tmp18 = __cil_tmp17 + 136;
5581#line 324
5582 __cil_tmp19 = (struct sk_buff_head *)__cil_tmp18;
5583#line 324
5584 skb = skb_dequeue(__cil_tmp19);
5585 }
5586#line 324
5587 if (skb) {
5588
5589 } else {
5590#line 324
5591 goto while_break;
5592 }
5593 {
5594#line 325
5595 __cil_tmp20 = 134 << 8;
5596#line 325
5597 __cil_tmp21 = __cil_tmp20 | 130;
5598#line 325
5599 __cil_tmp22 = (unsigned long )skb;
5600#line 325
5601 __cil_tmp23 = __cil_tmp22 + 224;
5602#line 325
5603 __cil_tmp24 = *((unsigned char **)__cil_tmp23);
5604#line 325
5605 __cil_tmp25 = __cil_tmp24 + 5;
5606#line 325
5607 __cil_tmp26 = *__cil_tmp25;
5608#line 325
5609 __cil_tmp27 = (int )__cil_tmp26;
5610#line 325
5611 __cil_tmp28 = (unsigned long )skb;
5612#line 325
5613 __cil_tmp29 = __cil_tmp28 + 224;
5614#line 325
5615 __cil_tmp30 = *((unsigned char **)__cil_tmp29);
5616#line 325
5617 __cil_tmp31 = __cil_tmp30 + 4;
5618#line 325
5619 __cil_tmp32 = *__cil_tmp31;
5620#line 325
5621 __cil_tmp33 = (int )__cil_tmp32;
5622#line 325
5623 __cil_tmp34 = __cil_tmp33 << 8;
5624#line 325
5625 __cil_tmp35 = __cil_tmp34 | __cil_tmp27;
5626#line 325
5627 if (__cil_tmp35 == __cil_tmp21) {
5628#line 326
5629 __cil_tmp36 = (unsigned long )ap;
5630#line 326
5631 __cil_tmp37 = __cil_tmp36 + 40;
5632#line 326
5633 __cil_tmp38 = (unsigned long )ap;
5634#line 326
5635 __cil_tmp39 = __cil_tmp38 + 40;
5636#line 326
5637 __cil_tmp40 = *((unsigned long *)__cil_tmp39);
5638#line 326
5639 *((unsigned long *)__cil_tmp37) = __cil_tmp40 + 1UL;
5640 } else {
5641#line 328
5642 __cil_tmp41 = (unsigned long )ap;
5643#line 328
5644 __cil_tmp42 = __cil_tmp41 + 32;
5645#line 328
5646 __cil_tmp43 = (unsigned long )ap;
5647#line 328
5648 __cil_tmp44 = __cil_tmp43 + 32;
5649#line 328
5650 __cil_tmp45 = *((unsigned long *)__cil_tmp44);
5651#line 328
5652 *((unsigned long *)__cil_tmp42) = __cil_tmp45 + 1UL;
5653 }
5654 }
5655 {
5656#line 330
5657 __cil_tmp46 = (unsigned long )ap;
5658#line 330
5659 __cil_tmp47 = __cil_tmp46 + 16;
5660#line 330
5661 __cil_tmp48 = *((void (**)(struct capi20_appl *ap , struct sk_buff *skb ))__cil_tmp47);
5662#line 330
5663 (*__cil_tmp48)(ap, skb);
5664 }
5665 }
5666 while_break: ;
5667 }
5668 {
5669#line 332
5670 __cil_tmp49 = (unsigned long )ap;
5671#line 332
5672 __cil_tmp50 = __cil_tmp49 + 64;
5673#line 332
5674 __cil_tmp51 = (struct mutex *)__cil_tmp50;
5675#line 332
5676 mutex_unlock(__cil_tmp51);
5677 }
5678#line 333
5679 return;
5680}
5681}
5682#line 344 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
5683void capi_ctr_handle_message(struct capi_ctr *ctr , u16 appl , struct sk_buff *skb )
5684{ struct capi20_appl *ap ;
5685 int showctl ;
5686 u8 cmd ;
5687 u8 subcmd ;
5688 _cdebbuf *cdb ;
5689 char *tmp___7 ;
5690 char *tmp___8 ;
5691 char *tmp___9 ;
5692 unsigned long __cil_tmp12 ;
5693 unsigned long __cil_tmp13 ;
5694 unsigned short __cil_tmp14 ;
5695 int __cil_tmp15 ;
5696 unsigned long __cil_tmp16 ;
5697 unsigned long __cil_tmp17 ;
5698 unsigned char *__cil_tmp18 ;
5699 unsigned long __cil_tmp19 ;
5700 unsigned long __cil_tmp20 ;
5701 int __cil_tmp21 ;
5702 u_char *__cil_tmp22 ;
5703 unsigned long __cil_tmp23 ;
5704 unsigned long __cil_tmp24 ;
5705 int __cil_tmp25 ;
5706 unsigned long __cil_tmp26 ;
5707 unsigned long __cil_tmp27 ;
5708 unsigned char *__cil_tmp28 ;
5709 unsigned char *__cil_tmp29 ;
5710 unsigned long __cil_tmp30 ;
5711 unsigned long __cil_tmp31 ;
5712 unsigned char *__cil_tmp32 ;
5713 unsigned char *__cil_tmp33 ;
5714 int __cil_tmp34 ;
5715 int __cil_tmp35 ;
5716 unsigned long __cil_tmp36 ;
5717 unsigned long __cil_tmp37 ;
5718 unsigned long __cil_tmp38 ;
5719 unsigned long __cil_tmp39 ;
5720 unsigned long __cil_tmp40 ;
5721 unsigned long __cil_tmp41 ;
5722 unsigned long __cil_tmp42 ;
5723 int __cil_tmp43 ;
5724 unsigned long __cil_tmp44 ;
5725 unsigned long __cil_tmp45 ;
5726 unsigned long __cil_tmp46 ;
5727 unsigned long __cil_tmp47 ;
5728 unsigned long __cil_tmp48 ;
5729 unsigned long __cil_tmp49 ;
5730 unsigned long __cil_tmp50 ;
5731 unsigned long __cil_tmp51 ;
5732 unsigned long __cil_tmp52 ;
5733 int __cil_tmp53 ;
5734 int __cil_tmp54 ;
5735 unsigned long __cil_tmp55 ;
5736 unsigned long __cil_tmp56 ;
5737 int __cil_tmp57 ;
5738 unsigned long __cil_tmp58 ;
5739 unsigned long __cil_tmp59 ;
5740 unsigned char *__cil_tmp60 ;
5741 unsigned char *__cil_tmp61 ;
5742 unsigned char __cil_tmp62 ;
5743 int __cil_tmp63 ;
5744 int __cil_tmp64 ;
5745 unsigned long __cil_tmp65 ;
5746 unsigned long __cil_tmp66 ;
5747 unsigned char *__cil_tmp67 ;
5748 unsigned char *__cil_tmp68 ;
5749 unsigned char __cil_tmp69 ;
5750 int __cil_tmp70 ;
5751 int __cil_tmp71 ;
5752 unsigned long __cil_tmp72 ;
5753 unsigned long __cil_tmp73 ;
5754 unsigned char *__cil_tmp74 ;
5755 unsigned char *__cil_tmp75 ;
5756 unsigned char __cil_tmp76 ;
5757 int __cil_tmp77 ;
5758 int __cil_tmp78 ;
5759 unsigned long __cil_tmp79 ;
5760 unsigned long __cil_tmp80 ;
5761 unsigned char *__cil_tmp81 ;
5762 unsigned char *__cil_tmp82 ;
5763 unsigned char __cil_tmp83 ;
5764 int __cil_tmp84 ;
5765 int __cil_tmp85 ;
5766 unsigned long __cil_tmp86 ;
5767 unsigned long __cil_tmp87 ;
5768 unsigned char *__cil_tmp88 ;
5769 unsigned long __cil_tmp89 ;
5770 unsigned long __cil_tmp90 ;
5771 int __cil_tmp91 ;
5772 u_char *__cil_tmp92 ;
5773 unsigned long __cil_tmp93 ;
5774 unsigned long __cil_tmp94 ;
5775 int __cil_tmp95 ;
5776 unsigned long __cil_tmp96 ;
5777 unsigned long __cil_tmp97 ;
5778 unsigned char *__cil_tmp98 ;
5779 unsigned char *__cil_tmp99 ;
5780 unsigned char __cil_tmp100 ;
5781 int __cil_tmp101 ;
5782 int __cil_tmp102 ;
5783 unsigned long __cil_tmp103 ;
5784 unsigned long __cil_tmp104 ;
5785 unsigned char *__cil_tmp105 ;
5786 unsigned char *__cil_tmp106 ;
5787 unsigned char __cil_tmp107 ;
5788 int __cil_tmp108 ;
5789 int __cil_tmp109 ;
5790 unsigned long __cil_tmp110 ;
5791 unsigned long __cil_tmp111 ;
5792 unsigned char *__cil_tmp112 ;
5793 unsigned char *__cil_tmp113 ;
5794 unsigned char __cil_tmp114 ;
5795 int __cil_tmp115 ;
5796 int __cil_tmp116 ;
5797 unsigned long __cil_tmp117 ;
5798 unsigned long __cil_tmp118 ;
5799 unsigned char *__cil_tmp119 ;
5800 unsigned char *__cil_tmp120 ;
5801 unsigned char __cil_tmp121 ;
5802 int __cil_tmp122 ;
5803 int __cil_tmp123 ;
5804 unsigned long __cil_tmp124 ;
5805 unsigned long __cil_tmp125 ;
5806 unsigned char *__cil_tmp126 ;
5807 unsigned char *__cil_tmp127 ;
5808 unsigned char __cil_tmp128 ;
5809 int __cil_tmp129 ;
5810 int __cil_tmp130 ;
5811 unsigned long __cil_tmp131 ;
5812 unsigned long __cil_tmp132 ;
5813 unsigned char *__cil_tmp133 ;
5814 unsigned char *__cil_tmp134 ;
5815 unsigned char __cil_tmp135 ;
5816 int __cil_tmp136 ;
5817 int __cil_tmp137 ;
5818 u16 __cil_tmp138 ;
5819 unsigned long __cil_tmp139 ;
5820 unsigned long __cil_tmp140 ;
5821 unsigned char *__cil_tmp141 ;
5822 unsigned long __cil_tmp142 ;
5823 unsigned long __cil_tmp143 ;
5824 unsigned char *__cil_tmp144 ;
5825 unsigned char *__cil_tmp145 ;
5826 unsigned char __cil_tmp146 ;
5827 int __cil_tmp147 ;
5828 int __cil_tmp148 ;
5829 unsigned long __cil_tmp149 ;
5830 unsigned long __cil_tmp150 ;
5831 unsigned char *__cil_tmp151 ;
5832 unsigned char *__cil_tmp152 ;
5833 unsigned char __cil_tmp153 ;
5834 int __cil_tmp154 ;
5835 int __cil_tmp155 ;
5836 u_char *__cil_tmp156 ;
5837 unsigned long __cil_tmp157 ;
5838 unsigned long __cil_tmp158 ;
5839 unsigned char *__cil_tmp159 ;
5840 unsigned char *__cil_tmp160 ;
5841 unsigned char __cil_tmp161 ;
5842 int __cil_tmp162 ;
5843 int __cil_tmp163 ;
5844 unsigned long __cil_tmp164 ;
5845 unsigned long __cil_tmp165 ;
5846 unsigned char *__cil_tmp166 ;
5847 unsigned char *__cil_tmp167 ;
5848 unsigned char __cil_tmp168 ;
5849 int __cil_tmp169 ;
5850 int __cil_tmp170 ;
5851 unsigned long __cil_tmp171 ;
5852 unsigned long __cil_tmp172 ;
5853 struct sk_buff_head *__cil_tmp173 ;
5854 unsigned long __cil_tmp174 ;
5855 unsigned long __cil_tmp175 ;
5856 struct work_struct *__cil_tmp176 ;
5857
5858 {
5859#line 348
5860 showctl = 0;
5861 {
5862#line 352
5863 __cil_tmp12 = (unsigned long )ctr;
5864#line 352
5865 __cil_tmp13 = __cil_tmp12 + 300;
5866#line 352
5867 __cil_tmp14 = *((unsigned short *)__cil_tmp13);
5868#line 352
5869 __cil_tmp15 = (int )__cil_tmp14;
5870#line 352
5871 if (__cil_tmp15 != 3) {
5872 {
5873#line 353
5874 __cil_tmp16 = (unsigned long )skb;
5875#line 353
5876 __cil_tmp17 = __cil_tmp16 + 224;
5877#line 353
5878 __cil_tmp18 = *((unsigned char **)__cil_tmp17);
5879#line 353
5880 cdb = capi_message2str(__cil_tmp18);
5881 }
5882#line 354
5883 if (cdb) {
5884 {
5885#line 355
5886 __cil_tmp19 = (unsigned long )ctr;
5887#line 355
5888 __cil_tmp20 = __cil_tmp19 + 296;
5889#line 355
5890 __cil_tmp21 = *((int *)__cil_tmp20);
5891#line 355
5892 __cil_tmp22 = *((u_char **)cdb);
5893#line 355
5894 printk("<6>kcapi: controller [%03d] not active, got: %s", __cil_tmp21, __cil_tmp22);
5895#line 357
5896 cdebbuf_free(cdb);
5897 }
5898 } else {
5899 {
5900#line 359
5901 __cil_tmp23 = (unsigned long )ctr;
5902#line 359
5903 __cil_tmp24 = __cil_tmp23 + 296;
5904#line 359
5905 __cil_tmp25 = *((int *)__cil_tmp24);
5906#line 359
5907 printk("<6>kcapi: controller [%03d] not active, cannot trace\n", __cil_tmp25);
5908 }
5909 }
5910#line 361
5911 goto error;
5912 } else {
5913
5914 }
5915 }
5916#line 364
5917 __cil_tmp26 = (unsigned long )skb;
5918#line 364
5919 __cil_tmp27 = __cil_tmp26 + 224;
5920#line 364
5921 __cil_tmp28 = *((unsigned char **)__cil_tmp27);
5922#line 364
5923 __cil_tmp29 = __cil_tmp28 + 4;
5924#line 364
5925 cmd = *__cil_tmp29;
5926#line 365
5927 __cil_tmp30 = (unsigned long )skb;
5928#line 365
5929 __cil_tmp31 = __cil_tmp30 + 224;
5930#line 365
5931 __cil_tmp32 = *((unsigned char **)__cil_tmp31);
5932#line 365
5933 __cil_tmp33 = __cil_tmp32 + 5;
5934#line 365
5935 subcmd = *__cil_tmp33;
5936 {
5937#line 366
5938 __cil_tmp34 = (int )cmd;
5939#line 366
5940 if (__cil_tmp34 == 134) {
5941 {
5942#line 366
5943 __cil_tmp35 = (int )subcmd;
5944#line 366
5945 if (__cil_tmp35 == 130) {
5946#line 367
5947 __cil_tmp36 = (unsigned long )ctr;
5948#line 367
5949 __cil_tmp37 = __cil_tmp36 + 272;
5950#line 367
5951 __cil_tmp38 = (unsigned long )ctr;
5952#line 367
5953 __cil_tmp39 = __cil_tmp38 + 272;
5954#line 367
5955 __cil_tmp40 = *((unsigned long *)__cil_tmp39);
5956#line 367
5957 *((unsigned long *)__cil_tmp37) = __cil_tmp40 + 1UL;
5958 {
5959#line 368
5960 __cil_tmp41 = (unsigned long )ctr;
5961#line 368
5962 __cil_tmp42 = __cil_tmp41 + 308;
5963#line 368
5964 __cil_tmp43 = *((int *)__cil_tmp42);
5965#line 368
5966 if (__cil_tmp43 > 2) {
5967#line 369
5968 showctl = showctl | 2;
5969 } else {
5970
5971 }
5972 }
5973 } else {
5974#line 366
5975 goto _L;
5976 }
5977 }
5978 } else {
5979 _L:
5980#line 371
5981 __cil_tmp44 = (unsigned long )ctr;
5982#line 371
5983 __cil_tmp45 = __cil_tmp44 + 264;
5984#line 371
5985 __cil_tmp46 = (unsigned long )ctr;
5986#line 371
5987 __cil_tmp47 = __cil_tmp46 + 264;
5988#line 371
5989 __cil_tmp48 = *((unsigned long *)__cil_tmp47);
5990#line 371
5991 *((unsigned long *)__cil_tmp45) = __cil_tmp48 + 1UL;
5992 {
5993#line 372
5994 __cil_tmp49 = (unsigned long )ctr;
5995#line 372
5996 __cil_tmp50 = __cil_tmp49 + 308;
5997#line 372
5998 if (*((int *)__cil_tmp50)) {
5999#line 373
6000 showctl = showctl | 2;
6001 } else {
6002
6003 }
6004 }
6005 }
6006 }
6007#line 375
6008 __cil_tmp51 = (unsigned long )ctr;
6009#line 375
6010 __cil_tmp52 = __cil_tmp51 + 308;
6011#line 375
6012 __cil_tmp53 = *((int *)__cil_tmp52);
6013#line 375
6014 __cil_tmp54 = __cil_tmp53 & 1;
6015#line 375
6016 showctl = showctl | __cil_tmp54;
6017#line 376
6018 if (showctl & 2) {
6019#line 377
6020 if (showctl & 1) {
6021 {
6022#line 378
6023 tmp___7 = capi_cmd2str(cmd, subcmd);
6024#line 378
6025 __cil_tmp55 = (unsigned long )ctr;
6026#line 378
6027 __cil_tmp56 = __cil_tmp55 + 296;
6028#line 378
6029 __cil_tmp57 = *((int *)__cil_tmp56);
6030#line 378
6031 __cil_tmp58 = (unsigned long )skb;
6032#line 378
6033 __cil_tmp59 = __cil_tmp58 + 224;
6034#line 378
6035 __cil_tmp60 = *((unsigned char **)__cil_tmp59);
6036#line 378
6037 __cil_tmp61 = __cil_tmp60 + 3;
6038#line 378
6039 __cil_tmp62 = *__cil_tmp61;
6040#line 378
6041 __cil_tmp63 = (int )__cil_tmp62;
6042#line 378
6043 __cil_tmp64 = __cil_tmp63 << 8;
6044#line 378
6045 __cil_tmp65 = (unsigned long )skb;
6046#line 378
6047 __cil_tmp66 = __cil_tmp65 + 224;
6048#line 378
6049 __cil_tmp67 = *((unsigned char **)__cil_tmp66);
6050#line 378
6051 __cil_tmp68 = __cil_tmp67 + 2;
6052#line 378
6053 __cil_tmp69 = *__cil_tmp68;
6054#line 378
6055 __cil_tmp70 = (int )__cil_tmp69;
6056#line 378
6057 __cil_tmp71 = __cil_tmp70 | __cil_tmp64;
6058#line 378
6059 __cil_tmp72 = (unsigned long )skb;
6060#line 378
6061 __cil_tmp73 = __cil_tmp72 + 224;
6062#line 378
6063 __cil_tmp74 = *((unsigned char **)__cil_tmp73);
6064#line 378
6065 __cil_tmp75 = __cil_tmp74 + 1;
6066#line 378
6067 __cil_tmp76 = *__cil_tmp75;
6068#line 378
6069 __cil_tmp77 = (int )__cil_tmp76;
6070#line 378
6071 __cil_tmp78 = __cil_tmp77 << 8;
6072#line 378
6073 __cil_tmp79 = (unsigned long )skb;
6074#line 378
6075 __cil_tmp80 = __cil_tmp79 + 224;
6076#line 378
6077 __cil_tmp81 = *((unsigned char **)__cil_tmp80);
6078#line 378
6079 __cil_tmp82 = __cil_tmp81 + 0;
6080#line 378
6081 __cil_tmp83 = *__cil_tmp82;
6082#line 378
6083 __cil_tmp84 = (int )__cil_tmp83;
6084#line 378
6085 __cil_tmp85 = __cil_tmp84 | __cil_tmp78;
6086#line 378
6087 printk("<7>kcapi: got [%03d] id#%d %s len=%u\n", __cil_tmp57, __cil_tmp71, tmp___7,
6088 __cil_tmp85);
6089 }
6090 } else {
6091 {
6092#line 383
6093 __cil_tmp86 = (unsigned long )skb;
6094#line 383
6095 __cil_tmp87 = __cil_tmp86 + 224;
6096#line 383
6097 __cil_tmp88 = *((unsigned char **)__cil_tmp87);
6098#line 383
6099 cdb = capi_message2str(__cil_tmp88);
6100 }
6101#line 384
6102 if (cdb) {
6103 {
6104#line 385
6105 __cil_tmp89 = (unsigned long )ctr;
6106#line 385
6107 __cil_tmp90 = __cil_tmp89 + 296;
6108#line 385
6109 __cil_tmp91 = *((int *)__cil_tmp90);
6110#line 385
6111 __cil_tmp92 = *((u_char **)cdb);
6112#line 385
6113 printk("<7>kcapi: got [%03d] %s\n", __cil_tmp91, __cil_tmp92);
6114#line 387
6115 cdebbuf_free(cdb);
6116 }
6117 } else {
6118 {
6119#line 389
6120 tmp___8 = capi_cmd2str(cmd, subcmd);
6121#line 389
6122 __cil_tmp93 = (unsigned long )ctr;
6123#line 389
6124 __cil_tmp94 = __cil_tmp93 + 296;
6125#line 389
6126 __cil_tmp95 = *((int *)__cil_tmp94);
6127#line 389
6128 __cil_tmp96 = (unsigned long )skb;
6129#line 389
6130 __cil_tmp97 = __cil_tmp96 + 224;
6131#line 389
6132 __cil_tmp98 = *((unsigned char **)__cil_tmp97);
6133#line 389
6134 __cil_tmp99 = __cil_tmp98 + 3;
6135#line 389
6136 __cil_tmp100 = *__cil_tmp99;
6137#line 389
6138 __cil_tmp101 = (int )__cil_tmp100;
6139#line 389
6140 __cil_tmp102 = __cil_tmp101 << 8;
6141#line 389
6142 __cil_tmp103 = (unsigned long )skb;
6143#line 389
6144 __cil_tmp104 = __cil_tmp103 + 224;
6145#line 389
6146 __cil_tmp105 = *((unsigned char **)__cil_tmp104);
6147#line 389
6148 __cil_tmp106 = __cil_tmp105 + 2;
6149#line 389
6150 __cil_tmp107 = *__cil_tmp106;
6151#line 389
6152 __cil_tmp108 = (int )__cil_tmp107;
6153#line 389
6154 __cil_tmp109 = __cil_tmp108 | __cil_tmp102;
6155#line 389
6156 __cil_tmp110 = (unsigned long )skb;
6157#line 389
6158 __cil_tmp111 = __cil_tmp110 + 224;
6159#line 389
6160 __cil_tmp112 = *((unsigned char **)__cil_tmp111);
6161#line 389
6162 __cil_tmp113 = __cil_tmp112 + 1;
6163#line 389
6164 __cil_tmp114 = *__cil_tmp113;
6165#line 389
6166 __cil_tmp115 = (int )__cil_tmp114;
6167#line 389
6168 __cil_tmp116 = __cil_tmp115 << 8;
6169#line 389
6170 __cil_tmp117 = (unsigned long )skb;
6171#line 389
6172 __cil_tmp118 = __cil_tmp117 + 224;
6173#line 389
6174 __cil_tmp119 = *((unsigned char **)__cil_tmp118);
6175#line 389
6176 __cil_tmp120 = __cil_tmp119 + 0;
6177#line 389
6178 __cil_tmp121 = *__cil_tmp120;
6179#line 389
6180 __cil_tmp122 = (int )__cil_tmp121;
6181#line 389
6182 __cil_tmp123 = __cil_tmp122 | __cil_tmp116;
6183#line 389
6184 printk("<7>kcapi: got [%03d] id#%d %s len=%u, cannot trace\n", __cil_tmp95,
6185 __cil_tmp109, tmp___8, __cil_tmp123);
6186 }
6187 }
6188 }
6189 } else {
6190
6191 }
6192 {
6193#line 397
6194 rcu_read_lock();
6195#line 398
6196 __cil_tmp124 = (unsigned long )skb;
6197#line 398
6198 __cil_tmp125 = __cil_tmp124 + 224;
6199#line 398
6200 __cil_tmp126 = *((unsigned char **)__cil_tmp125);
6201#line 398
6202 __cil_tmp127 = __cil_tmp126 + 3;
6203#line 398
6204 __cil_tmp128 = *__cil_tmp127;
6205#line 398
6206 __cil_tmp129 = (int )__cil_tmp128;
6207#line 398
6208 __cil_tmp130 = __cil_tmp129 << 8;
6209#line 398
6210 __cil_tmp131 = (unsigned long )skb;
6211#line 398
6212 __cil_tmp132 = __cil_tmp131 + 224;
6213#line 398
6214 __cil_tmp133 = *((unsigned char **)__cil_tmp132);
6215#line 398
6216 __cil_tmp134 = __cil_tmp133 + 2;
6217#line 398
6218 __cil_tmp135 = *__cil_tmp134;
6219#line 398
6220 __cil_tmp136 = (int )__cil_tmp135;
6221#line 398
6222 __cil_tmp137 = __cil_tmp136 | __cil_tmp130;
6223#line 398
6224 __cil_tmp138 = (u16 )__cil_tmp137;
6225#line 398
6226 ap = get_capi_appl_by_nr(__cil_tmp138);
6227 }
6228#line 399
6229 if (! ap) {
6230 {
6231#line 400
6232 rcu_read_unlock();
6233#line 401
6234 __cil_tmp139 = (unsigned long )skb;
6235#line 401
6236 __cil_tmp140 = __cil_tmp139 + 224;
6237#line 401
6238 __cil_tmp141 = *((unsigned char **)__cil_tmp140);
6239#line 401
6240 cdb = capi_message2str(__cil_tmp141);
6241 }
6242#line 402
6243 if (cdb) {
6244 {
6245#line 403
6246 __cil_tmp142 = (unsigned long )skb;
6247#line 403
6248 __cil_tmp143 = __cil_tmp142 + 224;
6249#line 403
6250 __cil_tmp144 = *((unsigned char **)__cil_tmp143);
6251#line 403
6252 __cil_tmp145 = __cil_tmp144 + 3;
6253#line 403
6254 __cil_tmp146 = *__cil_tmp145;
6255#line 403
6256 __cil_tmp147 = (int )__cil_tmp146;
6257#line 403
6258 __cil_tmp148 = __cil_tmp147 << 8;
6259#line 403
6260 __cil_tmp149 = (unsigned long )skb;
6261#line 403
6262 __cil_tmp150 = __cil_tmp149 + 224;
6263#line 403
6264 __cil_tmp151 = *((unsigned char **)__cil_tmp150);
6265#line 403
6266 __cil_tmp152 = __cil_tmp151 + 2;
6267#line 403
6268 __cil_tmp153 = *__cil_tmp152;
6269#line 403
6270 __cil_tmp154 = (int )__cil_tmp153;
6271#line 403
6272 __cil_tmp155 = __cil_tmp154 | __cil_tmp148;
6273#line 403
6274 __cil_tmp156 = *((u_char **)cdb);
6275#line 403
6276 printk("<3>kcapi: handle_message: applid %d state released (%s)\n", __cil_tmp155,
6277 __cil_tmp156);
6278#line 405
6279 cdebbuf_free(cdb);
6280 }
6281 } else {
6282 {
6283#line 407
6284 tmp___9 = capi_cmd2str(cmd, subcmd);
6285#line 407
6286 __cil_tmp157 = (unsigned long )skb;
6287#line 407
6288 __cil_tmp158 = __cil_tmp157 + 224;
6289#line 407
6290 __cil_tmp159 = *((unsigned char **)__cil_tmp158);
6291#line 407
6292 __cil_tmp160 = __cil_tmp159 + 3;
6293#line 407
6294 __cil_tmp161 = *__cil_tmp160;
6295#line 407
6296 __cil_tmp162 = (int )__cil_tmp161;
6297#line 407
6298 __cil_tmp163 = __cil_tmp162 << 8;
6299#line 407
6300 __cil_tmp164 = (unsigned long )skb;
6301#line 407
6302 __cil_tmp165 = __cil_tmp164 + 224;
6303#line 407
6304 __cil_tmp166 = *((unsigned char **)__cil_tmp165);
6305#line 407
6306 __cil_tmp167 = __cil_tmp166 + 2;
6307#line 407
6308 __cil_tmp168 = *__cil_tmp167;
6309#line 407
6310 __cil_tmp169 = (int )__cil_tmp168;
6311#line 407
6312 __cil_tmp170 = __cil_tmp169 | __cil_tmp163;
6313#line 407
6314 printk("<3>kcapi: handle_message: applid %d state released (%s) cannot trace\n",
6315 __cil_tmp170, tmp___9);
6316 }
6317 }
6318#line 410
6319 goto error;
6320 } else {
6321
6322 }
6323 {
6324#line 412
6325 __cil_tmp171 = (unsigned long )ap;
6326#line 412
6327 __cil_tmp172 = __cil_tmp171 + 136;
6328#line 412
6329 __cil_tmp173 = (struct sk_buff_head *)__cil_tmp172;
6330#line 412
6331 skb_queue_tail(__cil_tmp173, skb);
6332#line 413
6333 __cil_tmp174 = (unsigned long )ap;
6334#line 413
6335 __cil_tmp175 = __cil_tmp174 + 184;
6336#line 413
6337 __cil_tmp176 = (struct work_struct *)__cil_tmp175;
6338#line 413
6339 queue_work(kcapi_wq, __cil_tmp176);
6340#line 414
6341 rcu_read_unlock();
6342 }
6343#line 416
6344 return;
6345 error:
6346 {
6347#line 419
6348 kfree_skb(skb);
6349 }
6350#line 420
6351 return;
6352}
6353}
6354#line 422
6355extern void *__crc_capi_ctr_handle_message __attribute__((__weak__)) ;
6356#line 422 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6357static unsigned long __kcrctab_capi_ctr_handle_message __attribute__((__used__,
6358__unused__, __section__("___kcrctab+capi_ctr_handle_message"))) = (unsigned long )((unsigned long )(& __crc_capi_ctr_handle_message));
6359#line 422 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6360static char __kstrtab_capi_ctr_handle_message[24] __attribute__((__section__("__ksymtab_strings"),
6361__aligned__(1))) =
6362#line 422
6363 { (char )'c', (char )'a', (char const )'p', (char const )'i',
6364 (char )'_', (char )'c', (char const )'t', (char const )'r',
6365 (char )'_', (char )'h', (char const )'a', (char const )'n',
6366 (char )'d', (char )'l', (char const )'e', (char const )'_',
6367 (char )'m', (char )'e', (char const )'s', (char const )'s',
6368 (char )'a', (char )'g', (char const )'e', (char const )'\000'};
6369#line 422 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6370static struct kernel_symbol __ksymtab_capi_ctr_handle_message __attribute__((__used__,
6371__unused__, __section__("___ksymtab+capi_ctr_handle_message"))) = {(unsigned long )(& capi_ctr_handle_message), __kstrtab_capi_ctr_handle_message};
6372#line 431 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6373void capi_ctr_ready(struct capi_ctr *ctr )
6374{ unsigned long __cil_tmp2 ;
6375 unsigned long __cil_tmp3 ;
6376 int __cil_tmp4 ;
6377 unsigned long __cil_tmp5 ;
6378 unsigned long __cil_tmp6 ;
6379 unsigned long __cil_tmp7 ;
6380 unsigned long __cil_tmp8 ;
6381 char *__cil_tmp9 ;
6382 unsigned long __cil_tmp10 ;
6383 unsigned long __cil_tmp11 ;
6384 int __cil_tmp12 ;
6385 u32 __cil_tmp13 ;
6386
6387 {
6388 {
6389#line 433
6390 __cil_tmp2 = (unsigned long )ctr;
6391#line 433
6392 __cil_tmp3 = __cil_tmp2 + 296;
6393#line 433
6394 __cil_tmp4 = *((int *)__cil_tmp3);
6395#line 433
6396 __cil_tmp5 = 0 * 1UL;
6397#line 433
6398 __cil_tmp6 = 16 + __cil_tmp5;
6399#line 433
6400 __cil_tmp7 = (unsigned long )ctr;
6401#line 433
6402 __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
6403#line 433
6404 __cil_tmp9 = (char *)__cil_tmp8;
6405#line 433
6406 printk("<5>kcapi: controller [%03d] \"%s\" ready.\n", __cil_tmp4, __cil_tmp9);
6407#line 436
6408 __cil_tmp10 = (unsigned long )ctr;
6409#line 436
6410 __cil_tmp11 = __cil_tmp10 + 296;
6411#line 436
6412 __cil_tmp12 = *((int *)__cil_tmp11);
6413#line 436
6414 __cil_tmp13 = (u32 )__cil_tmp12;
6415#line 436
6416 notify_push(0U, __cil_tmp13);
6417 }
6418#line 437
6419 return;
6420}
6421}
6422#line 439
6423extern void *__crc_capi_ctr_ready __attribute__((__weak__)) ;
6424#line 439 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6425static unsigned long __kcrctab_capi_ctr_ready __attribute__((__used__, __unused__,
6426__section__("___kcrctab+capi_ctr_ready"))) = (unsigned long )((unsigned long )(& __crc_capi_ctr_ready));
6427#line 439 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6428static char __kstrtab_capi_ctr_ready[15] __attribute__((__section__("__ksymtab_strings"),
6429__aligned__(1))) =
6430#line 439
6431 { (char )'c', (char )'a', (char const )'p', (char const )'i',
6432 (char )'_', (char )'c', (char const )'t', (char const )'r',
6433 (char )'_', (char )'r', (char const )'e', (char const )'a',
6434 (char )'d', (char )'y', (char const )'\000'};
6435#line 439 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6436static struct kernel_symbol __ksymtab_capi_ctr_ready __attribute__((__used__,
6437__unused__, __section__("___ksymtab+capi_ctr_ready"))) = {(unsigned long )(& capi_ctr_ready), __kstrtab_capi_ctr_ready};
6438#line 449 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6439void capi_ctr_down(struct capi_ctr *ctr )
6440{ unsigned long __cil_tmp2 ;
6441 unsigned long __cil_tmp3 ;
6442 int __cil_tmp4 ;
6443 unsigned long __cil_tmp5 ;
6444 unsigned long __cil_tmp6 ;
6445 int __cil_tmp7 ;
6446 u32 __cil_tmp8 ;
6447
6448 {
6449 {
6450#line 451
6451 __cil_tmp2 = (unsigned long )ctr;
6452#line 451
6453 __cil_tmp3 = __cil_tmp2 + 296;
6454#line 451
6455 __cil_tmp4 = *((int *)__cil_tmp3);
6456#line 451
6457 printk("<5>kcapi: controller [%03d] down.\n", __cil_tmp4);
6458#line 453
6459 __cil_tmp5 = (unsigned long )ctr;
6460#line 453
6461 __cil_tmp6 = __cil_tmp5 + 296;
6462#line 453
6463 __cil_tmp7 = *((int *)__cil_tmp6);
6464#line 453
6465 __cil_tmp8 = (u32 )__cil_tmp7;
6466#line 453
6467 notify_push(1U, __cil_tmp8);
6468 }
6469#line 454
6470 return;
6471}
6472}
6473#line 456
6474extern void *__crc_capi_ctr_down __attribute__((__weak__)) ;
6475#line 456 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6476static unsigned long __kcrctab_capi_ctr_down __attribute__((__used__, __unused__,
6477__section__("___kcrctab+capi_ctr_down"))) = (unsigned long )((unsigned long )(& __crc_capi_ctr_down));
6478#line 456 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6479static char __kstrtab_capi_ctr_down[14] __attribute__((__section__("__ksymtab_strings"),
6480__aligned__(1))) =
6481#line 456
6482 { (char )'c', (char )'a', (char const )'p', (char const )'i',
6483 (char )'_', (char )'c', (char const )'t', (char const )'r',
6484 (char )'_', (char )'d', (char const )'o', (char const )'w',
6485 (char )'n', (char )'\000'};
6486#line 456 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6487static struct kernel_symbol __ksymtab_capi_ctr_down __attribute__((__used__,
6488__unused__, __section__("___ksymtab+capi_ctr_down"))) = {(unsigned long )(& capi_ctr_down), __kstrtab_capi_ctr_down};
6489#line 468 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6490void capi_ctr_suspend_output(struct capi_ctr *ctr )
6491{ unsigned long __cil_tmp2 ;
6492 unsigned long __cil_tmp3 ;
6493 int __cil_tmp4 ;
6494 unsigned long __cil_tmp5 ;
6495 unsigned long __cil_tmp6 ;
6496 int __cil_tmp7 ;
6497 unsigned long __cil_tmp8 ;
6498 unsigned long __cil_tmp9 ;
6499
6500 {
6501 {
6502#line 470
6503 __cil_tmp2 = (unsigned long )ctr;
6504#line 470
6505 __cil_tmp3 = __cil_tmp2 + 304;
6506#line 470
6507 __cil_tmp4 = *((int *)__cil_tmp3);
6508#line 470
6509 if (! __cil_tmp4) {
6510 {
6511#line 471
6512 __cil_tmp5 = (unsigned long )ctr;
6513#line 471
6514 __cil_tmp6 = __cil_tmp5 + 296;
6515#line 471
6516 __cil_tmp7 = *((int *)__cil_tmp6);
6517#line 471
6518 printk("<7>kcapi: controller [%03d] suspend\n", __cil_tmp7);
6519#line 473
6520 __cil_tmp8 = (unsigned long )ctr;
6521#line 473
6522 __cil_tmp9 = __cil_tmp8 + 304;
6523#line 473
6524 *((int *)__cil_tmp9) = 1;
6525 }
6526 } else {
6527
6528 }
6529 }
6530#line 475
6531 return;
6532}
6533}
6534#line 477
6535extern void *__crc_capi_ctr_suspend_output __attribute__((__weak__)) ;
6536#line 477 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6537static unsigned long __kcrctab_capi_ctr_suspend_output __attribute__((__used__,
6538__unused__, __section__("___kcrctab+capi_ctr_suspend_output"))) = (unsigned long )((unsigned long )(& __crc_capi_ctr_suspend_output));
6539#line 477 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6540static char __kstrtab_capi_ctr_suspend_output[24] __attribute__((__section__("__ksymtab_strings"),
6541__aligned__(1))) =
6542#line 477
6543 { (char )'c', (char )'a', (char const )'p', (char const )'i',
6544 (char )'_', (char )'c', (char const )'t', (char const )'r',
6545 (char )'_', (char )'s', (char const )'u', (char const )'s',
6546 (char )'p', (char )'e', (char const )'n', (char const )'d',
6547 (char )'_', (char )'o', (char const )'u', (char const )'t',
6548 (char )'p', (char )'u', (char const )'t', (char const )'\000'};
6549#line 477 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6550static struct kernel_symbol __ksymtab_capi_ctr_suspend_output __attribute__((__used__,
6551__unused__, __section__("___ksymtab+capi_ctr_suspend_output"))) = {(unsigned long )(& capi_ctr_suspend_output), __kstrtab_capi_ctr_suspend_output};
6552#line 489 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6553void capi_ctr_resume_output(struct capi_ctr *ctr )
6554{ unsigned long __cil_tmp2 ;
6555 unsigned long __cil_tmp3 ;
6556 unsigned long __cil_tmp4 ;
6557 unsigned long __cil_tmp5 ;
6558 int __cil_tmp6 ;
6559 unsigned long __cil_tmp7 ;
6560 unsigned long __cil_tmp8 ;
6561
6562 {
6563 {
6564#line 491
6565 __cil_tmp2 = (unsigned long )ctr;
6566#line 491
6567 __cil_tmp3 = __cil_tmp2 + 304;
6568#line 491
6569 if (*((int *)__cil_tmp3)) {
6570 {
6571#line 492
6572 __cil_tmp4 = (unsigned long )ctr;
6573#line 492
6574 __cil_tmp5 = __cil_tmp4 + 296;
6575#line 492
6576 __cil_tmp6 = *((int *)__cil_tmp5);
6577#line 492
6578 printk("<7>kcapi: controller [%03d] resumed\n", __cil_tmp6);
6579#line 494
6580 __cil_tmp7 = (unsigned long )ctr;
6581#line 494
6582 __cil_tmp8 = __cil_tmp7 + 304;
6583#line 494
6584 *((int *)__cil_tmp8) = 0;
6585 }
6586 } else {
6587
6588 }
6589 }
6590#line 496
6591 return;
6592}
6593}
6594#line 498
6595extern void *__crc_capi_ctr_resume_output __attribute__((__weak__)) ;
6596#line 498 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6597static unsigned long __kcrctab_capi_ctr_resume_output __attribute__((__used__,
6598__unused__, __section__("___kcrctab+capi_ctr_resume_output"))) = (unsigned long )((unsigned long )(& __crc_capi_ctr_resume_output));
6599#line 498 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6600static char __kstrtab_capi_ctr_resume_output[23] __attribute__((__section__("__ksymtab_strings"),
6601__aligned__(1))) =
6602#line 498
6603 { (char )'c', (char )'a', (char const )'p', (char const )'i',
6604 (char )'_', (char )'c', (char const )'t', (char const )'r',
6605 (char )'_', (char )'r', (char const )'e', (char const )'s',
6606 (char )'u', (char )'m', (char const )'e', (char const )'_',
6607 (char )'o', (char )'u', (char const )'t', (char const )'p',
6608 (char )'u', (char )'t', (char const )'\000'};
6609#line 498 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6610static struct kernel_symbol __ksymtab_capi_ctr_resume_output __attribute__((__used__,
6611__unused__, __section__("___ksymtab+capi_ctr_resume_output"))) = {(unsigned long )(& capi_ctr_resume_output), __kstrtab_capi_ctr_resume_output};
6612#line 535 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6613static struct lock_class_key __key___5 ;
6614#line 510 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6615int attach_capi_ctr(struct capi_ctr *ctr )
6616{ int i ;
6617 unsigned long __cil_tmp3 ;
6618 unsigned long __cil_tmp4 ;
6619 struct capi_ctr *__cil_tmp5 ;
6620 unsigned long __cil_tmp6 ;
6621 unsigned long __cil_tmp7 ;
6622 unsigned long __cil_tmp8 ;
6623 unsigned long __cil_tmp9 ;
6624 unsigned long __cil_tmp10 ;
6625 unsigned long __cil_tmp11 ;
6626 unsigned long __cil_tmp12 ;
6627 unsigned long __cil_tmp13 ;
6628 unsigned long __cil_tmp14 ;
6629 unsigned long __cil_tmp15 ;
6630 unsigned long __cil_tmp16 ;
6631 unsigned long __cil_tmp17 ;
6632 unsigned long __cil_tmp18 ;
6633 unsigned long __cil_tmp19 ;
6634 unsigned long __cil_tmp20 ;
6635 unsigned long __cil_tmp21 ;
6636 unsigned long __cil_tmp22 ;
6637 unsigned long __cil_tmp23 ;
6638 int *__cil_tmp24 ;
6639 unsigned long __cil_tmp25 ;
6640 unsigned long __cil_tmp26 ;
6641 wait_queue_head_t *__cil_tmp27 ;
6642 unsigned long __cil_tmp28 ;
6643 unsigned long __cil_tmp29 ;
6644 unsigned long __cil_tmp30 ;
6645 unsigned long __cil_tmp31 ;
6646 char *__cil_tmp32 ;
6647 unsigned long __cil_tmp33 ;
6648 unsigned long __cil_tmp34 ;
6649 int __cil_tmp35 ;
6650 unsigned long __cil_tmp36 ;
6651 unsigned long __cil_tmp37 ;
6652 unsigned long __cil_tmp38 ;
6653 unsigned long __cil_tmp39 ;
6654 unsigned long __cil_tmp40 ;
6655 unsigned long __cil_tmp41 ;
6656 char *__cil_tmp42 ;
6657 char *__cil_tmp43 ;
6658 umode_t __cil_tmp44 ;
6659 void *__cil_tmp45 ;
6660 struct proc_dir_entry *__cil_tmp46 ;
6661 unsigned long __cil_tmp47 ;
6662 unsigned long __cil_tmp48 ;
6663 struct file_operations *__cil_tmp49 ;
6664 void *__cil_tmp50 ;
6665 unsigned long __cil_tmp51 ;
6666 unsigned long __cil_tmp52 ;
6667 int __cil_tmp53 ;
6668 unsigned long __cil_tmp54 ;
6669 unsigned long __cil_tmp55 ;
6670 unsigned long __cil_tmp56 ;
6671 unsigned long __cil_tmp57 ;
6672 char *__cil_tmp58 ;
6673
6674 {
6675 {
6676#line 514
6677 mutex_lock(& capi_controller_lock);
6678#line 516
6679 i = 0;
6680 }
6681 {
6682#line 516
6683 while (1) {
6684 while_continue: ;
6685#line 516
6686 if (i < 32) {
6687
6688 } else {
6689#line 516
6690 goto while_break;
6691 }
6692 {
6693#line 517
6694 __cil_tmp3 = i * 8UL;
6695#line 517
6696 __cil_tmp4 = (unsigned long )(capi_controller) + __cil_tmp3;
6697#line 517
6698 __cil_tmp5 = *((struct capi_ctr **)__cil_tmp4);
6699#line 517
6700 if (! __cil_tmp5) {
6701#line 518
6702 goto while_break;
6703 } else {
6704
6705 }
6706 }
6707#line 516
6708 i = i + 1;
6709 }
6710 while_break: ;
6711 }
6712#line 520
6713 if (i == 32) {
6714 {
6715#line 521
6716 mutex_unlock(& capi_controller_lock);
6717#line 522
6718 printk("<3>kcapi: out of controller slots\n");
6719 }
6720#line 523
6721 return (-16);
6722 } else {
6723
6724 }
6725#line 525
6726 __cil_tmp6 = i * 8UL;
6727#line 525
6728 __cil_tmp7 = (unsigned long )(capi_controller) + __cil_tmp6;
6729#line 525
6730 *((struct capi_ctr **)__cil_tmp7) = ctr;
6731#line 527
6732 __cil_tmp8 = (unsigned long )ctr;
6733#line 527
6734 __cil_tmp9 = __cil_tmp8 + 264;
6735#line 527
6736 *((unsigned long *)__cil_tmp9) = 0UL;
6737#line 528
6738 __cil_tmp10 = (unsigned long )ctr;
6739#line 528
6740 __cil_tmp11 = __cil_tmp10 + 272;
6741#line 528
6742 *((unsigned long *)__cil_tmp11) = 0UL;
6743#line 529
6744 __cil_tmp12 = (unsigned long )ctr;
6745#line 529
6746 __cil_tmp13 = __cil_tmp12 + 280;
6747#line 529
6748 *((unsigned long *)__cil_tmp13) = 0UL;
6749#line 530
6750 __cil_tmp14 = (unsigned long )ctr;
6751#line 530
6752 __cil_tmp15 = __cil_tmp14 + 288;
6753#line 530
6754 *((unsigned long *)__cil_tmp15) = 0UL;
6755#line 531
6756 __cil_tmp16 = (unsigned long )ctr;
6757#line 531
6758 __cil_tmp17 = __cil_tmp16 + 296;
6759#line 531
6760 *((int *)__cil_tmp17) = i + 1;
6761#line 532
6762 __cil_tmp18 = (unsigned long )ctr;
6763#line 532
6764 __cil_tmp19 = __cil_tmp18 + 300;
6765#line 532
6766 *((unsigned short *)__cil_tmp19) = (unsigned short)1;
6767#line 533
6768 __cil_tmp20 = (unsigned long )ctr;
6769#line 533
6770 __cil_tmp21 = __cil_tmp20 + 304;
6771#line 533
6772 *((int *)__cil_tmp21) = 0;
6773#line 534
6774 __cil_tmp22 = (unsigned long )ctr;
6775#line 534
6776 __cil_tmp23 = __cil_tmp22 + 308;
6777#line 534
6778 __cil_tmp24 = & showcapimsgs;
6779#line 534
6780 *((int *)__cil_tmp23) = *__cil_tmp24;
6781 {
6782#line 535
6783 while (1) {
6784 while_continue___0: ;
6785 {
6786#line 535
6787 __cil_tmp25 = (unsigned long )ctr;
6788#line 535
6789 __cil_tmp26 = __cil_tmp25 + 312;
6790#line 535
6791 __cil_tmp27 = (wait_queue_head_t *)__cil_tmp26;
6792#line 535
6793 __init_waitqueue_head(__cil_tmp27, "&ctr->state_wait_queue", & __key___5);
6794 }
6795#line 535
6796 goto while_break___0;
6797 }
6798 while_break___0: ;
6799 }
6800 {
6801#line 537
6802 __cil_tmp28 = 0 * 1UL;
6803#line 537
6804 __cil_tmp29 = 360 + __cil_tmp28;
6805#line 537
6806 __cil_tmp30 = (unsigned long )ctr;
6807#line 537
6808 __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
6809#line 537
6810 __cil_tmp32 = (char *)__cil_tmp31;
6811#line 537
6812 __cil_tmp33 = (unsigned long )ctr;
6813#line 537
6814 __cil_tmp34 = __cil_tmp33 + 296;
6815#line 537
6816 __cil_tmp35 = *((int *)__cil_tmp34);
6817#line 537
6818 sprintf(__cil_tmp32, "capi/controllers/%d", __cil_tmp35);
6819#line 538
6820 __cil_tmp36 = (unsigned long )ctr;
6821#line 538
6822 __cil_tmp37 = __cil_tmp36 + 352;
6823#line 538
6824 __cil_tmp38 = 0 * 1UL;
6825#line 538
6826 __cil_tmp39 = 360 + __cil_tmp38;
6827#line 538
6828 __cil_tmp40 = (unsigned long )ctr;
6829#line 538
6830 __cil_tmp41 = __cil_tmp40 + __cil_tmp39;
6831#line 538
6832 __cil_tmp42 = (char *)__cil_tmp41;
6833#line 538
6834 __cil_tmp43 = (char *)__cil_tmp42;
6835#line 538
6836 __cil_tmp44 = (umode_t )0;
6837#line 538
6838 __cil_tmp45 = (void *)0;
6839#line 538
6840 __cil_tmp46 = (struct proc_dir_entry *)__cil_tmp45;
6841#line 538
6842 __cil_tmp47 = (unsigned long )ctr;
6843#line 538
6844 __cil_tmp48 = __cil_tmp47 + 104;
6845#line 538
6846 __cil_tmp49 = *((struct file_operations **)__cil_tmp48);
6847#line 538
6848 __cil_tmp50 = (void *)ctr;
6849#line 538
6850 *((struct proc_dir_entry **)__cil_tmp37) = proc_create_data(__cil_tmp43, __cil_tmp44,
6851 __cil_tmp46, __cil_tmp49,
6852 __cil_tmp50);
6853#line 540
6854 ncontrollers = ncontrollers + 1;
6855#line 542
6856 mutex_unlock(& capi_controller_lock);
6857#line 544
6858 __cil_tmp51 = (unsigned long )ctr;
6859#line 544
6860 __cil_tmp52 = __cil_tmp51 + 296;
6861#line 544
6862 __cil_tmp53 = *((int *)__cil_tmp52);
6863#line 544
6864 __cil_tmp54 = 0 * 1UL;
6865#line 544
6866 __cil_tmp55 = 16 + __cil_tmp54;
6867#line 544
6868 __cil_tmp56 = (unsigned long )ctr;
6869#line 544
6870 __cil_tmp57 = __cil_tmp56 + __cil_tmp55;
6871#line 544
6872 __cil_tmp58 = (char *)__cil_tmp57;
6873#line 544
6874 printk("<5>kcapi: controller [%03d]: %s attached\n", __cil_tmp53, __cil_tmp58);
6875 }
6876#line 546
6877 return (0);
6878}
6879}
6880#line 549
6881extern void *__crc_attach_capi_ctr __attribute__((__weak__)) ;
6882#line 549 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6883static unsigned long __kcrctab_attach_capi_ctr __attribute__((__used__, __unused__,
6884__section__("___kcrctab+attach_capi_ctr"))) = (unsigned long )((unsigned long )(& __crc_attach_capi_ctr));
6885#line 549 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6886static char __kstrtab_attach_capi_ctr[16] __attribute__((__section__("__ksymtab_strings"),
6887__aligned__(1))) =
6888#line 549
6889 { (char )'a', (char )'t', (char const )'t', (char const )'a',
6890 (char )'c', (char )'h', (char const )'_', (char const )'c',
6891 (char )'a', (char )'p', (char const )'i', (char const )'_',
6892 (char )'c', (char )'t', (char const )'r', (char const )'\000'};
6893#line 549 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6894static struct kernel_symbol __ksymtab_attach_capi_ctr __attribute__((__used__,
6895__unused__, __section__("___ksymtab+attach_capi_ctr"))) = {(unsigned long )(& attach_capi_ctr), __kstrtab_attach_capi_ctr};
6896#line 560 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
6897int detach_capi_ctr(struct capi_ctr *ctr )
6898{ int err ;
6899 unsigned long __cil_tmp3 ;
6900 unsigned long __cil_tmp4 ;
6901 unsigned long __cil_tmp5 ;
6902 int __cil_tmp6 ;
6903 int __cil_tmp7 ;
6904 unsigned long __cil_tmp8 ;
6905 unsigned long __cil_tmp9 ;
6906 struct capi_ctr *__cil_tmp10 ;
6907 unsigned long __cil_tmp11 ;
6908 unsigned long __cil_tmp12 ;
6909 unsigned long __cil_tmp13 ;
6910 int __cil_tmp14 ;
6911 int __cil_tmp15 ;
6912 unsigned long __cil_tmp16 ;
6913 unsigned long __cil_tmp17 ;
6914 void *__cil_tmp18 ;
6915 unsigned long __cil_tmp19 ;
6916 unsigned long __cil_tmp20 ;
6917 unsigned long __cil_tmp21 ;
6918 unsigned long __cil_tmp22 ;
6919 unsigned long __cil_tmp23 ;
6920 unsigned long __cil_tmp24 ;
6921 char *__cil_tmp25 ;
6922 char *__cil_tmp26 ;
6923 void *__cil_tmp27 ;
6924 struct proc_dir_entry *__cil_tmp28 ;
6925 unsigned long __cil_tmp29 ;
6926 unsigned long __cil_tmp30 ;
6927 int __cil_tmp31 ;
6928 unsigned long __cil_tmp32 ;
6929 unsigned long __cil_tmp33 ;
6930 unsigned long __cil_tmp34 ;
6931 unsigned long __cil_tmp35 ;
6932 char *__cil_tmp36 ;
6933
6934 {
6935 {
6936#line 562
6937 err = 0;
6938#line 564
6939 mutex_lock(& capi_controller_lock);
6940#line 566
6941 ctr_down(ctr, 0);
6942 }
6943 {
6944#line 568
6945 __cil_tmp3 = (unsigned long )ctr;
6946#line 568
6947 __cil_tmp4 = (unsigned long )ctr;
6948#line 568
6949 __cil_tmp5 = __cil_tmp4 + 296;
6950#line 568
6951 __cil_tmp6 = *((int *)__cil_tmp5);
6952#line 568
6953 __cil_tmp7 = __cil_tmp6 - 1;
6954#line 568
6955 __cil_tmp8 = __cil_tmp7 * 8UL;
6956#line 568
6957 __cil_tmp9 = (unsigned long )(capi_controller) + __cil_tmp8;
6958#line 568
6959 __cil_tmp10 = *((struct capi_ctr **)__cil_tmp9);
6960#line 568
6961 __cil_tmp11 = (unsigned long )__cil_tmp10;
6962#line 568
6963 if (__cil_tmp11 != __cil_tmp3) {
6964#line 569
6965 err = -22;
6966#line 570
6967 goto unlock_out;
6968 } else {
6969
6970 }
6971 }
6972#line 572
6973 __cil_tmp12 = (unsigned long )ctr;
6974#line 572
6975 __cil_tmp13 = __cil_tmp12 + 296;
6976#line 572
6977 __cil_tmp14 = *((int *)__cil_tmp13);
6978#line 572
6979 __cil_tmp15 = __cil_tmp14 - 1;
6980#line 572
6981 __cil_tmp16 = __cil_tmp15 * 8UL;
6982#line 572
6983 __cil_tmp17 = (unsigned long )(capi_controller) + __cil_tmp16;
6984#line 572
6985 __cil_tmp18 = (void *)0;
6986#line 572
6987 *((struct capi_ctr **)__cil_tmp17) = (struct capi_ctr *)__cil_tmp18;
6988#line 573
6989 ncontrollers = ncontrollers - 1;
6990 {
6991#line 575
6992 __cil_tmp19 = (unsigned long )ctr;
6993#line 575
6994 __cil_tmp20 = __cil_tmp19 + 352;
6995#line 575
6996 if (*((struct proc_dir_entry **)__cil_tmp20)) {
6997 {
6998#line 576
6999 __cil_tmp21 = 0 * 1UL;
7000#line 576
7001 __cil_tmp22 = 360 + __cil_tmp21;
7002#line 576
7003 __cil_tmp23 = (unsigned long )ctr;
7004#line 576
7005 __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
7006#line 576
7007 __cil_tmp25 = (char *)__cil_tmp24;
7008#line 576
7009 __cil_tmp26 = (char *)__cil_tmp25;
7010#line 576
7011 __cil_tmp27 = (void *)0;
7012#line 576
7013 __cil_tmp28 = (struct proc_dir_entry *)__cil_tmp27;
7014#line 576
7015 remove_proc_entry(__cil_tmp26, __cil_tmp28);
7016 }
7017 } else {
7018
7019 }
7020 }
7021 {
7022#line 578
7023 __cil_tmp29 = (unsigned long )ctr;
7024#line 578
7025 __cil_tmp30 = __cil_tmp29 + 296;
7026#line 578
7027 __cil_tmp31 = *((int *)__cil_tmp30);
7028#line 578
7029 __cil_tmp32 = 0 * 1UL;
7030#line 578
7031 __cil_tmp33 = 16 + __cil_tmp32;
7032#line 578
7033 __cil_tmp34 = (unsigned long )ctr;
7034#line 578
7035 __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
7036#line 578
7037 __cil_tmp36 = (char *)__cil_tmp35;
7038#line 578
7039 printk("<5>kcapi: controller [%03d]: %s unregistered\n", __cil_tmp31, __cil_tmp36);
7040 }
7041 unlock_out:
7042 {
7043#line 582
7044 mutex_unlock(& capi_controller_lock);
7045 }
7046#line 584
7047 return (err);
7048}
7049}
7050#line 587
7051extern void *__crc_detach_capi_ctr __attribute__((__weak__)) ;
7052#line 587 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7053static unsigned long __kcrctab_detach_capi_ctr __attribute__((__used__, __unused__,
7054__section__("___kcrctab+detach_capi_ctr"))) = (unsigned long )((unsigned long )(& __crc_detach_capi_ctr));
7055#line 587 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7056static char __kstrtab_detach_capi_ctr[16] __attribute__((__section__("__ksymtab_strings"),
7057__aligned__(1))) =
7058#line 587
7059 { (char )'d', (char )'e', (char const )'t', (char const )'a',
7060 (char )'c', (char )'h', (char const )'_', (char const )'c',
7061 (char )'a', (char )'p', (char const )'i', (char const )'_',
7062 (char )'c', (char )'t', (char const )'r', (char const )'\000'};
7063#line 587 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7064static struct kernel_symbol __ksymtab_detach_capi_ctr __attribute__((__used__,
7065__unused__, __section__("___ksymtab+detach_capi_ctr"))) = {(unsigned long )(& detach_capi_ctr), __kstrtab_detach_capi_ctr};
7066#line 596 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7067void register_capi_driver(struct capi_driver *driver )
7068{ unsigned long __cil_tmp2 ;
7069 unsigned long __cil_tmp3 ;
7070 struct list_head *__cil_tmp4 ;
7071
7072 {
7073 {
7074#line 598
7075 mutex_lock(& capi_drivers_lock);
7076#line 599
7077 __cil_tmp2 = (unsigned long )driver;
7078#line 599
7079 __cil_tmp3 = __cil_tmp2 + 72;
7080#line 599
7081 __cil_tmp4 = (struct list_head *)__cil_tmp3;
7082#line 599
7083 list_add_tail(__cil_tmp4, & capi_drivers);
7084#line 600
7085 mutex_unlock(& capi_drivers_lock);
7086 }
7087#line 601
7088 return;
7089}
7090}
7091#line 603
7092extern void *__crc_register_capi_driver __attribute__((__weak__)) ;
7093#line 603 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7094static unsigned long __kcrctab_register_capi_driver __attribute__((__used__,
7095__unused__, __section__("___kcrctab+register_capi_driver"))) = (unsigned long )((unsigned long )(& __crc_register_capi_driver));
7096#line 603 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7097static char __kstrtab_register_capi_driver[21] __attribute__((__section__("__ksymtab_strings"),
7098__aligned__(1))) =
7099#line 603
7100 { (char )'r', (char )'e', (char const )'g', (char const )'i',
7101 (char )'s', (char )'t', (char const )'e', (char const )'r',
7102 (char )'_', (char )'c', (char const )'a', (char const )'p',
7103 (char )'i', (char )'_', (char const )'d', (char const )'r',
7104 (char )'i', (char )'v', (char const )'e', (char const )'r',
7105 (char )'\000'};
7106#line 603 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7107static struct kernel_symbol __ksymtab_register_capi_driver __attribute__((__used__,
7108__unused__, __section__("___ksymtab+register_capi_driver"))) = {(unsigned long )(& register_capi_driver), __kstrtab_register_capi_driver};
7109#line 612 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7110void unregister_capi_driver(struct capi_driver *driver )
7111{ unsigned long __cil_tmp2 ;
7112 unsigned long __cil_tmp3 ;
7113 struct list_head *__cil_tmp4 ;
7114
7115 {
7116 {
7117#line 614
7118 mutex_lock(& capi_drivers_lock);
7119#line 615
7120 __cil_tmp2 = (unsigned long )driver;
7121#line 615
7122 __cil_tmp3 = __cil_tmp2 + 72;
7123#line 615
7124 __cil_tmp4 = (struct list_head *)__cil_tmp3;
7125#line 615
7126 list_del(__cil_tmp4);
7127#line 616
7128 mutex_unlock(& capi_drivers_lock);
7129 }
7130#line 617
7131 return;
7132}
7133}
7134#line 619
7135extern void *__crc_unregister_capi_driver __attribute__((__weak__)) ;
7136#line 619 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7137static unsigned long __kcrctab_unregister_capi_driver __attribute__((__used__,
7138__unused__, __section__("___kcrctab+unregister_capi_driver"))) = (unsigned long )((unsigned long )(& __crc_unregister_capi_driver));
7139#line 619 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7140static char __kstrtab_unregister_capi_driver[23] __attribute__((__section__("__ksymtab_strings"),
7141__aligned__(1))) =
7142#line 619
7143 { (char )'u', (char )'n', (char const )'r', (char const )'e',
7144 (char )'g', (char )'i', (char const )'s', (char const )'t',
7145 (char )'e', (char )'r', (char const )'_', (char const )'c',
7146 (char )'a', (char )'p', (char const )'i', (char const )'_',
7147 (char )'d', (char )'r', (char const )'i', (char const )'v',
7148 (char )'e', (char )'r', (char const )'\000'};
7149#line 619 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7150static struct kernel_symbol __ksymtab_unregister_capi_driver __attribute__((__used__,
7151__unused__, __section__("___ksymtab+unregister_capi_driver"))) = {(unsigned long )(& unregister_capi_driver), __kstrtab_unregister_capi_driver};
7152#line 632 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7153u16 capi20_isinstalled(void)
7154{ u16 ret ;
7155 int i ;
7156 unsigned long __cil_tmp3 ;
7157 unsigned long __cil_tmp4 ;
7158 unsigned long __cil_tmp5 ;
7159 unsigned long __cil_tmp6 ;
7160 struct capi_ctr *__cil_tmp7 ;
7161 unsigned long __cil_tmp8 ;
7162 unsigned long __cil_tmp9 ;
7163 unsigned short __cil_tmp10 ;
7164 int __cil_tmp11 ;
7165
7166 {
7167 {
7168#line 634
7169 ret = (u16 )4105;
7170#line 637
7171 mutex_lock(& capi_controller_lock);
7172#line 639
7173 i = 0;
7174 }
7175 {
7176#line 639
7177 while (1) {
7178 while_continue: ;
7179#line 639
7180 if (i < 32) {
7181
7182 } else {
7183#line 639
7184 goto while_break;
7185 }
7186 {
7187#line 640
7188 __cil_tmp3 = i * 8UL;
7189#line 640
7190 __cil_tmp4 = (unsigned long )(capi_controller) + __cil_tmp3;
7191#line 640
7192 if (*((struct capi_ctr **)__cil_tmp4)) {
7193 {
7194#line 640
7195 __cil_tmp5 = i * 8UL;
7196#line 640
7197 __cil_tmp6 = (unsigned long )(capi_controller) + __cil_tmp5;
7198#line 640
7199 __cil_tmp7 = *((struct capi_ctr **)__cil_tmp6);
7200#line 640
7201 __cil_tmp8 = (unsigned long )__cil_tmp7;
7202#line 640
7203 __cil_tmp9 = __cil_tmp8 + 300;
7204#line 640
7205 __cil_tmp10 = *((unsigned short *)__cil_tmp9);
7206#line 640
7207 __cil_tmp11 = (int )__cil_tmp10;
7208#line 640
7209 if (__cil_tmp11 == 3) {
7210#line 642
7211 ret = (u16 )0;
7212#line 643
7213 goto while_break;
7214 } else {
7215
7216 }
7217 }
7218 } else {
7219
7220 }
7221 }
7222#line 639
7223 i = i + 1;
7224 }
7225 while_break: ;
7226 }
7227 {
7228#line 646
7229 mutex_unlock(& capi_controller_lock);
7230 }
7231#line 648
7232 return (ret);
7233}
7234}
7235#line 651
7236extern void *__crc_capi20_isinstalled __attribute__((__weak__)) ;
7237#line 651 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7238static unsigned long __kcrctab_capi20_isinstalled __attribute__((__used__,
7239__unused__, __section__("___kcrctab+capi20_isinstalled"))) = (unsigned long )((unsigned long )(& __crc_capi20_isinstalled));
7240#line 651 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7241static char __kstrtab_capi20_isinstalled[19] __attribute__((__section__("__ksymtab_strings"),
7242__aligned__(1))) =
7243#line 651
7244 { (char )'c', (char )'a', (char const )'p', (char const )'i',
7245 (char )'2', (char )'0', (char const )'_', (char const )'i',
7246 (char )'s', (char )'i', (char const )'n', (char const )'s',
7247 (char )'t', (char )'a', (char const )'l', (char const )'l',
7248 (char )'e', (char )'d', (char const )'\000'};
7249#line 651 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7250static struct kernel_symbol __ksymtab_capi20_isinstalled __attribute__((__used__,
7251__unused__, __section__("___ksymtab+capi20_isinstalled"))) = {(unsigned long )(& capi20_isinstalled), __kstrtab_capi20_isinstalled};
7252#line 679 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7253static struct lock_class_key __key___6 ;
7254#line 665 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7255u16 capi20_register(struct capi20_appl *ap )
7256{ int i ;
7257 u16 applid ;
7258 atomic_long_t __r_expr_0 ;
7259 unsigned long __cil_tmp5 ;
7260 unsigned long __cil_tmp6 ;
7261 unsigned long __cil_tmp7 ;
7262 __u32 __cil_tmp8 ;
7263 unsigned long __cil_tmp9 ;
7264 unsigned long __cil_tmp10 ;
7265 unsigned long __cil_tmp11 ;
7266 unsigned long __cil_tmp12 ;
7267 unsigned long __cil_tmp13 ;
7268 unsigned long __cil_tmp14 ;
7269 unsigned long __cil_tmp15 ;
7270 unsigned long __cil_tmp16 ;
7271 unsigned long __cil_tmp17 ;
7272 unsigned long __cil_tmp18 ;
7273 struct mutex *__cil_tmp19 ;
7274 unsigned long __cil_tmp20 ;
7275 unsigned long __cil_tmp21 ;
7276 struct sk_buff_head *__cil_tmp22 ;
7277 unsigned long __cil_tmp23 ;
7278 unsigned long __cil_tmp24 ;
7279 struct work_struct *__cil_tmp25 ;
7280 unsigned long __cil_tmp26 ;
7281 unsigned long __cil_tmp27 ;
7282 unsigned long __cil_tmp28 ;
7283 unsigned long __cil_tmp29 ;
7284 unsigned long __cil_tmp30 ;
7285 struct list_head *__cil_tmp31 ;
7286 unsigned long __cil_tmp32 ;
7287 unsigned long __cil_tmp33 ;
7288 unsigned long __cil_tmp34 ;
7289 unsigned long __cil_tmp35 ;
7290 unsigned long __cil_tmp36 ;
7291 int __cil_tmp37 ;
7292 void *__cil_tmp38 ;
7293 unsigned long __cil_tmp39 ;
7294 int __cil_tmp40 ;
7295 int __cil_tmp41 ;
7296 unsigned long __cil_tmp42 ;
7297 unsigned long __cil_tmp43 ;
7298 struct capi20_appl *__cil_tmp44 ;
7299 unsigned long __cil_tmp45 ;
7300 int __cil_tmp46 ;
7301 int __cil_tmp47 ;
7302 int __cil_tmp48 ;
7303 int __cil_tmp49 ;
7304 int __cil_tmp50 ;
7305 unsigned long __cil_tmp51 ;
7306 unsigned long __cil_tmp52 ;
7307 unsigned long __cil_tmp53 ;
7308 unsigned long __cil_tmp54 ;
7309 struct capi_ctr *__cil_tmp55 ;
7310 unsigned long __cil_tmp56 ;
7311 unsigned long __cil_tmp57 ;
7312 struct capi_ctr *__cil_tmp58 ;
7313 unsigned long __cil_tmp59 ;
7314 unsigned long __cil_tmp60 ;
7315 unsigned short __cil_tmp61 ;
7316 int __cil_tmp62 ;
7317 unsigned long __cil_tmp63 ;
7318 unsigned long __cil_tmp64 ;
7319 struct capi_ctr *__cil_tmp65 ;
7320 unsigned long __cil_tmp66 ;
7321 unsigned long __cil_tmp67 ;
7322 capi_register_params *__cil_tmp68 ;
7323 int *__cil_tmp69 ;
7324 int __cil_tmp70 ;
7325 int __cil_tmp71 ;
7326 long __r_expr_0_counter72 ;
7327
7328 {
7329 {
7330#line 672
7331 __cil_tmp5 = 4 + 8;
7332#line 672
7333 __cil_tmp6 = (unsigned long )ap;
7334#line 672
7335 __cil_tmp7 = __cil_tmp6 + __cil_tmp5;
7336#line 672
7337 __cil_tmp8 = *((__u32 *)__cil_tmp7);
7338#line 672
7339 if (__cil_tmp8 < 128U) {
7340#line 673
7341 return ((u16 )4098);
7342 } else {
7343
7344 }
7345 }
7346#line 675
7347 __cil_tmp9 = (unsigned long )ap;
7348#line 675
7349 __cil_tmp10 = __cil_tmp9 + 32;
7350#line 675
7351 *((unsigned long *)__cil_tmp10) = 0UL;
7352#line 676
7353 __cil_tmp11 = (unsigned long )ap;
7354#line 676
7355 __cil_tmp12 = __cil_tmp11 + 40;
7356#line 676
7357 *((unsigned long *)__cil_tmp12) = 0UL;
7358#line 677
7359 __cil_tmp13 = (unsigned long )ap;
7360#line 677
7361 __cil_tmp14 = __cil_tmp13 + 48;
7362#line 677
7363 *((unsigned long *)__cil_tmp14) = 0UL;
7364#line 678
7365 __cil_tmp15 = (unsigned long )ap;
7366#line 678
7367 __cil_tmp16 = __cil_tmp15 + 56;
7368#line 678
7369 *((unsigned long *)__cil_tmp16) = 0UL;
7370 {
7371#line 679
7372 while (1) {
7373 while_continue: ;
7374 {
7375#line 679
7376 __cil_tmp17 = (unsigned long )ap;
7377#line 679
7378 __cil_tmp18 = __cil_tmp17 + 64;
7379#line 679
7380 __cil_tmp19 = (struct mutex *)__cil_tmp18;
7381#line 679
7382 __mutex_init(__cil_tmp19, "&ap->recv_mtx", & __key___6);
7383 }
7384#line 679
7385 goto while_break;
7386 }
7387 while_break: ;
7388 }
7389 {
7390#line 680
7391 __cil_tmp20 = (unsigned long )ap;
7392#line 680
7393 __cil_tmp21 = __cil_tmp20 + 136;
7394#line 680
7395 __cil_tmp22 = (struct sk_buff_head *)__cil_tmp21;
7396#line 680
7397 skb_queue_head_init(__cil_tmp22);
7398 }
7399 {
7400#line 681
7401 while (1) {
7402 while_continue___0: ;
7403 {
7404#line 681
7405 while (1) {
7406 while_continue___1: ;
7407 {
7408#line 681
7409 __cil_tmp23 = (unsigned long )ap;
7410#line 681
7411 __cil_tmp24 = __cil_tmp23 + 184;
7412#line 681
7413 __cil_tmp25 = (struct work_struct *)__cil_tmp24;
7414#line 681
7415 __init_work(__cil_tmp25, 0);
7416#line 681
7417 __r_expr_0_counter72 = 2097664L;
7418#line 681
7419 __cil_tmp26 = (unsigned long )ap;
7420#line 681
7421 __cil_tmp27 = __cil_tmp26 + 184;
7422#line 681
7423 ((atomic_long_t *)__cil_tmp27)->counter = __r_expr_0_counter72;
7424#line 681
7425 __cil_tmp28 = 184 + 8;
7426#line 681
7427 __cil_tmp29 = (unsigned long )ap;
7428#line 681
7429 __cil_tmp30 = __cil_tmp29 + __cil_tmp28;
7430#line 681
7431 __cil_tmp31 = (struct list_head *)__cil_tmp30;
7432#line 681
7433 INIT_LIST_HEAD(__cil_tmp31);
7434 }
7435 {
7436#line 681
7437 while (1) {
7438 while_continue___2: ;
7439#line 681
7440 __cil_tmp32 = 184 + 24;
7441#line 681
7442 __cil_tmp33 = (unsigned long )ap;
7443#line 681
7444 __cil_tmp34 = __cil_tmp33 + __cil_tmp32;
7445#line 681
7446 *((void (**)(struct work_struct *work ))__cil_tmp34) = & recv_handler;
7447#line 681
7448 goto while_break___2;
7449 }
7450 while_break___2: ;
7451 }
7452#line 681
7453 goto while_break___1;
7454 }
7455 while_break___1: ;
7456 }
7457#line 681
7458 goto while_break___0;
7459 }
7460 while_break___0: ;
7461 }
7462 {
7463#line 682
7464 __cil_tmp35 = (unsigned long )ap;
7465#line 682
7466 __cil_tmp36 = __cil_tmp35 + 216;
7467#line 682
7468 *((int *)__cil_tmp36) = 0;
7469#line 684
7470 mutex_lock(& capi_controller_lock);
7471#line 686
7472 applid = (u16 )1;
7473 }
7474 {
7475#line 686
7476 while (1) {
7477 while_continue___3: ;
7478 {
7479#line 686
7480 __cil_tmp37 = (int )applid;
7481#line 686
7482 if (__cil_tmp37 <= 240) {
7483
7484 } else {
7485#line 686
7486 goto while_break___3;
7487 }
7488 }
7489 {
7490#line 687
7491 __cil_tmp38 = (void *)0;
7492#line 687
7493 __cil_tmp39 = (unsigned long )__cil_tmp38;
7494#line 687
7495 __cil_tmp40 = (int )applid;
7496#line 687
7497 __cil_tmp41 = __cil_tmp40 - 1;
7498#line 687
7499 __cil_tmp42 = __cil_tmp41 * 8UL;
7500#line 687
7501 __cil_tmp43 = (unsigned long )(capi_applications) + __cil_tmp42;
7502#line 687
7503 __cil_tmp44 = *((struct capi20_appl **)__cil_tmp43);
7504#line 687
7505 __cil_tmp45 = (unsigned long )__cil_tmp44;
7506#line 687
7507 if (__cil_tmp45 == __cil_tmp39) {
7508#line 688
7509 goto while_break___3;
7510 } else {
7511
7512 }
7513 }
7514#line 686
7515 __cil_tmp46 = (int )applid;
7516#line 686
7517 __cil_tmp47 = __cil_tmp46 + 1;
7518#line 686
7519 applid = (u16 )__cil_tmp47;
7520 }
7521 while_break___3: ;
7522 }
7523 {
7524#line 690
7525 __cil_tmp48 = (int )applid;
7526#line 690
7527 if (__cil_tmp48 > 240) {
7528 {
7529#line 691
7530 mutex_unlock(& capi_controller_lock);
7531 }
7532#line 692
7533 return ((u16 )4097);
7534 } else {
7535
7536 }
7537 }
7538#line 695
7539 *((u16 *)ap) = applid;
7540#line 696
7541 __cil_tmp49 = (int )applid;
7542#line 696
7543 __cil_tmp50 = __cil_tmp49 - 1;
7544#line 696
7545 __cil_tmp51 = __cil_tmp50 * 8UL;
7546#line 696
7547 __cil_tmp52 = (unsigned long )(capi_applications) + __cil_tmp51;
7548#line 696
7549 *((struct capi20_appl **)__cil_tmp52) = ap;
7550#line 698
7551 i = 0;
7552 {
7553#line 698
7554 while (1) {
7555 while_continue___4: ;
7556#line 698
7557 if (i < 32) {
7558
7559 } else {
7560#line 698
7561 goto while_break___4;
7562 }
7563 {
7564#line 699
7565 __cil_tmp53 = i * 8UL;
7566#line 699
7567 __cil_tmp54 = (unsigned long )(capi_controller) + __cil_tmp53;
7568#line 699
7569 __cil_tmp55 = *((struct capi_ctr **)__cil_tmp54);
7570#line 699
7571 if (! __cil_tmp55) {
7572#line 701
7573 goto __Cont;
7574 } else {
7575 {
7576#line 699
7577 __cil_tmp56 = i * 8UL;
7578#line 699
7579 __cil_tmp57 = (unsigned long )(capi_controller) + __cil_tmp56;
7580#line 699
7581 __cil_tmp58 = *((struct capi_ctr **)__cil_tmp57);
7582#line 699
7583 __cil_tmp59 = (unsigned long )__cil_tmp58;
7584#line 699
7585 __cil_tmp60 = __cil_tmp59 + 300;
7586#line 699
7587 __cil_tmp61 = *((unsigned short *)__cil_tmp60);
7588#line 699
7589 __cil_tmp62 = (int )__cil_tmp61;
7590#line 699
7591 if (__cil_tmp62 != 3) {
7592#line 701
7593 goto __Cont;
7594 } else {
7595
7596 }
7597 }
7598 }
7599 }
7600 {
7601#line 702
7602 __cil_tmp63 = i * 8UL;
7603#line 702
7604 __cil_tmp64 = (unsigned long )(capi_controller) + __cil_tmp63;
7605#line 702
7606 __cil_tmp65 = *((struct capi_ctr **)__cil_tmp64);
7607#line 702
7608 __cil_tmp66 = (unsigned long )ap;
7609#line 702
7610 __cil_tmp67 = __cil_tmp66 + 4;
7611#line 702
7612 __cil_tmp68 = (capi_register_params *)__cil_tmp67;
7613#line 702
7614 register_appl(__cil_tmp65, applid, __cil_tmp68);
7615 }
7616 __Cont:
7617#line 698
7618 i = i + 1;
7619 }
7620 while_break___4: ;
7621 }
7622 {
7623#line 705
7624 mutex_unlock(& capi_controller_lock);
7625 }
7626 {
7627#line 707
7628 __cil_tmp69 = & showcapimsgs;
7629#line 707
7630 __cil_tmp70 = *__cil_tmp69;
7631#line 707
7632 if (__cil_tmp70 & 1) {
7633 {
7634#line 708
7635 __cil_tmp71 = (int )applid;
7636#line 708
7637 printk("<7>kcapi: appl %d up\n", __cil_tmp71);
7638 }
7639 } else {
7640
7641 }
7642 }
7643#line 711
7644 return ((u16 )0);
7645}
7646}
7647#line 714
7648extern void *__crc_capi20_register __attribute__((__weak__)) ;
7649#line 714 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7650static unsigned long __kcrctab_capi20_register __attribute__((__used__, __unused__,
7651__section__("___kcrctab+capi20_register"))) = (unsigned long )((unsigned long )(& __crc_capi20_register));
7652#line 714 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7653static char __kstrtab_capi20_register[16] __attribute__((__section__("__ksymtab_strings"),
7654__aligned__(1))) =
7655#line 714
7656 { (char )'c', (char )'a', (char const )'p', (char const )'i',
7657 (char )'2', (char )'0', (char const )'_', (char const )'r',
7658 (char )'e', (char )'g', (char const )'i', (char const )'s',
7659 (char )'t', (char )'e', (char const )'r', (char const )'\000'};
7660#line 714 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7661static struct kernel_symbol __ksymtab_capi20_register __attribute__((__used__,
7662__unused__, __section__("___ksymtab+capi20_register"))) = {(unsigned long )(& capi20_register), __kstrtab_capi20_register};
7663#line 726 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7664u16 capi20_release(struct capi20_appl *ap )
7665{ int i ;
7666 unsigned long __cil_tmp3 ;
7667 unsigned long __cil_tmp4 ;
7668 u16 __cil_tmp5 ;
7669 int __cil_tmp6 ;
7670 int __cil_tmp7 ;
7671 unsigned long __cil_tmp8 ;
7672 unsigned long __cil_tmp9 ;
7673 void *__cil_tmp10 ;
7674 unsigned long __cil_tmp11 ;
7675 unsigned long __cil_tmp12 ;
7676 struct capi_ctr *__cil_tmp13 ;
7677 unsigned long __cil_tmp14 ;
7678 unsigned long __cil_tmp15 ;
7679 struct capi_ctr *__cil_tmp16 ;
7680 unsigned long __cil_tmp17 ;
7681 unsigned long __cil_tmp18 ;
7682 unsigned short __cil_tmp19 ;
7683 int __cil_tmp20 ;
7684 unsigned long __cil_tmp21 ;
7685 unsigned long __cil_tmp22 ;
7686 struct capi_ctr *__cil_tmp23 ;
7687 u16 __cil_tmp24 ;
7688 unsigned long __cil_tmp25 ;
7689 unsigned long __cil_tmp26 ;
7690 struct sk_buff_head *__cil_tmp27 ;
7691 int *__cil_tmp28 ;
7692 int __cil_tmp29 ;
7693 u16 __cil_tmp30 ;
7694 int __cil_tmp31 ;
7695
7696 {
7697 {
7698#line 732
7699 mutex_lock(& capi_controller_lock);
7700#line 734
7701 __cil_tmp3 = (unsigned long )ap;
7702#line 734
7703 __cil_tmp4 = __cil_tmp3 + 216;
7704#line 734
7705 *((int *)__cil_tmp4) = 1;
7706#line 735
7707 __cil_tmp5 = *((u16 *)ap);
7708#line 735
7709 __cil_tmp6 = (int )__cil_tmp5;
7710#line 735
7711 __cil_tmp7 = __cil_tmp6 - 1;
7712#line 735
7713 __cil_tmp8 = __cil_tmp7 * 8UL;
7714#line 735
7715 __cil_tmp9 = (unsigned long )(capi_applications) + __cil_tmp8;
7716#line 735
7717 __cil_tmp10 = (void *)0;
7718#line 735
7719 *((struct capi20_appl **)__cil_tmp9) = (struct capi20_appl *)__cil_tmp10;
7720#line 737
7721 synchronize_rcu();
7722#line 739
7723 i = 0;
7724 }
7725 {
7726#line 739
7727 while (1) {
7728 while_continue: ;
7729#line 739
7730 if (i < 32) {
7731
7732 } else {
7733#line 739
7734 goto while_break;
7735 }
7736 {
7737#line 740
7738 __cil_tmp11 = i * 8UL;
7739#line 740
7740 __cil_tmp12 = (unsigned long )(capi_controller) + __cil_tmp11;
7741#line 740
7742 __cil_tmp13 = *((struct capi_ctr **)__cil_tmp12);
7743#line 740
7744 if (! __cil_tmp13) {
7745#line 742
7746 goto __Cont;
7747 } else {
7748 {
7749#line 740
7750 __cil_tmp14 = i * 8UL;
7751#line 740
7752 __cil_tmp15 = (unsigned long )(capi_controller) + __cil_tmp14;
7753#line 740
7754 __cil_tmp16 = *((struct capi_ctr **)__cil_tmp15);
7755#line 740
7756 __cil_tmp17 = (unsigned long )__cil_tmp16;
7757#line 740
7758 __cil_tmp18 = __cil_tmp17 + 300;
7759#line 740
7760 __cil_tmp19 = *((unsigned short *)__cil_tmp18);
7761#line 740
7762 __cil_tmp20 = (int )__cil_tmp19;
7763#line 740
7764 if (__cil_tmp20 != 3) {
7765#line 742
7766 goto __Cont;
7767 } else {
7768
7769 }
7770 }
7771 }
7772 }
7773 {
7774#line 743
7775 __cil_tmp21 = i * 8UL;
7776#line 743
7777 __cil_tmp22 = (unsigned long )(capi_controller) + __cil_tmp21;
7778#line 743
7779 __cil_tmp23 = *((struct capi_ctr **)__cil_tmp22);
7780#line 743
7781 __cil_tmp24 = *((u16 *)ap);
7782#line 743
7783 release_appl(__cil_tmp23, __cil_tmp24);
7784 }
7785 __Cont:
7786#line 739
7787 i = i + 1;
7788 }
7789 while_break: ;
7790 }
7791 {
7792#line 746
7793 mutex_unlock(& capi_controller_lock);
7794#line 748
7795 flush_workqueue(kcapi_wq);
7796#line 749
7797 __cil_tmp25 = (unsigned long )ap;
7798#line 749
7799 __cil_tmp26 = __cil_tmp25 + 136;
7800#line 749
7801 __cil_tmp27 = (struct sk_buff_head *)__cil_tmp26;
7802#line 749
7803 skb_queue_purge(__cil_tmp27);
7804 }
7805 {
7806#line 751
7807 __cil_tmp28 = & showcapimsgs;
7808#line 751
7809 __cil_tmp29 = *__cil_tmp28;
7810#line 751
7811 if (__cil_tmp29 & 1) {
7812 {
7813#line 752
7814 __cil_tmp30 = *((u16 *)ap);
7815#line 752
7816 __cil_tmp31 = (int )__cil_tmp30;
7817#line 752
7818 printk("<7>kcapi: appl %d down\n", __cil_tmp31);
7819 }
7820 } else {
7821
7822 }
7823 }
7824#line 755
7825 return ((u16 )0);
7826}
7827}
7828#line 758
7829extern void *__crc_capi20_release __attribute__((__weak__)) ;
7830#line 758 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7831static unsigned long __kcrctab_capi20_release __attribute__((__used__, __unused__,
7832__section__("___kcrctab+capi20_release"))) = (unsigned long )((unsigned long )(& __crc_capi20_release));
7833#line 758 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7834static char __kstrtab_capi20_release[15] __attribute__((__section__("__ksymtab_strings"),
7835__aligned__(1))) =
7836#line 758
7837 { (char )'c', (char )'a', (char const )'p', (char const )'i',
7838 (char )'2', (char )'0', (char const )'_', (char const )'r',
7839 (char )'e', (char )'l', (char const )'e', (char const )'a',
7840 (char )'s', (char )'e', (char const )'\000'};
7841#line 758 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7842static struct kernel_symbol __ksymtab_capi20_release __attribute__((__used__,
7843__unused__, __section__("___ksymtab+capi20_release"))) = {(unsigned long )(& capi20_release), __kstrtab_capi20_release};
7844#line 769 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
7845u16 capi20_put_message(struct capi20_appl *ap , struct sk_buff *skb )
7846{ struct capi_ctr *ctr ;
7847 int showctl ;
7848 u8 cmd ;
7849 u8 subcmd ;
7850 int tmp___7 ;
7851 int tmp___8 ;
7852 char *tmp___9 ;
7853 _cdebbuf *cdb ;
7854 _cdebbuf *tmp___10 ;
7855 char *tmp___11 ;
7856 u16 tmp___12 ;
7857 u16 __cil_tmp14 ;
7858 int __cil_tmp15 ;
7859 unsigned long __cil_tmp16 ;
7860 unsigned long __cil_tmp17 ;
7861 unsigned long __cil_tmp18 ;
7862 unsigned long __cil_tmp19 ;
7863 unsigned int __cil_tmp20 ;
7864 unsigned long __cil_tmp21 ;
7865 unsigned long __cil_tmp22 ;
7866 unsigned char *__cil_tmp23 ;
7867 unsigned char *__cil_tmp24 ;
7868 unsigned char __cil_tmp25 ;
7869 unsigned long __cil_tmp26 ;
7870 unsigned long __cil_tmp27 ;
7871 unsigned char *__cil_tmp28 ;
7872 unsigned char *__cil_tmp29 ;
7873 unsigned char __cil_tmp30 ;
7874 unsigned long __cil_tmp31 ;
7875 unsigned long __cil_tmp32 ;
7876 unsigned char *__cil_tmp33 ;
7877 unsigned char *__cil_tmp34 ;
7878 unsigned char __cil_tmp35 ;
7879 int __cil_tmp36 ;
7880 int __cil_tmp37 ;
7881 u16 __cil_tmp38 ;
7882 unsigned long __cil_tmp39 ;
7883 unsigned long __cil_tmp40 ;
7884 unsigned short __cil_tmp41 ;
7885 int __cil_tmp42 ;
7886 unsigned long __cil_tmp43 ;
7887 unsigned long __cil_tmp44 ;
7888 unsigned long __cil_tmp45 ;
7889 unsigned long __cil_tmp46 ;
7890 unsigned char *__cil_tmp47 ;
7891 unsigned char *__cil_tmp48 ;
7892 unsigned long __cil_tmp49 ;
7893 unsigned long __cil_tmp50 ;
7894 unsigned char *__cil_tmp51 ;
7895 unsigned char *__cil_tmp52 ;
7896 int __cil_tmp53 ;
7897 int __cil_tmp54 ;
7898 unsigned long __cil_tmp55 ;
7899 unsigned long __cil_tmp56 ;
7900 unsigned long __cil_tmp57 ;
7901 unsigned long __cil_tmp58 ;
7902 unsigned long __cil_tmp59 ;
7903 unsigned long __cil_tmp60 ;
7904 unsigned long __cil_tmp61 ;
7905 unsigned long __cil_tmp62 ;
7906 unsigned long __cil_tmp63 ;
7907 unsigned long __cil_tmp64 ;
7908 unsigned long __cil_tmp65 ;
7909 unsigned long __cil_tmp66 ;
7910 int __cil_tmp67 ;
7911 unsigned long __cil_tmp68 ;
7912 unsigned long __cil_tmp69 ;
7913 unsigned long __cil_tmp70 ;
7914 unsigned long __cil_tmp71 ;
7915 unsigned long __cil_tmp72 ;
7916 unsigned long __cil_tmp73 ;
7917 unsigned long __cil_tmp74 ;
7918 unsigned long __cil_tmp75 ;
7919 unsigned long __cil_tmp76 ;
7920 unsigned long __cil_tmp77 ;
7921 unsigned long __cil_tmp78 ;
7922 unsigned long __cil_tmp79 ;
7923 unsigned long __cil_tmp80 ;
7924 unsigned long __cil_tmp81 ;
7925 int __cil_tmp82 ;
7926 int __cil_tmp83 ;
7927 unsigned long __cil_tmp84 ;
7928 unsigned long __cil_tmp85 ;
7929 unsigned char *__cil_tmp86 ;
7930 unsigned char *__cil_tmp87 ;
7931 unsigned char __cil_tmp88 ;
7932 int __cil_tmp89 ;
7933 int __cil_tmp90 ;
7934 unsigned long __cil_tmp91 ;
7935 unsigned long __cil_tmp92 ;
7936 unsigned char *__cil_tmp93 ;
7937 unsigned char *__cil_tmp94 ;
7938 unsigned char __cil_tmp95 ;
7939 int __cil_tmp96 ;
7940 int __cil_tmp97 ;
7941 unsigned long __cil_tmp98 ;
7942 unsigned long __cil_tmp99 ;
7943 unsigned char *__cil_tmp100 ;
7944 unsigned char *__cil_tmp101 ;
7945 unsigned char __cil_tmp102 ;
7946 int __cil_tmp103 ;
7947 int __cil_tmp104 ;
7948 unsigned long __cil_tmp105 ;
7949 unsigned long __cil_tmp106 ;
7950 unsigned char *__cil_tmp107 ;
7951 unsigned char *__cil_tmp108 ;
7952 unsigned char __cil_tmp109 ;
7953 int __cil_tmp110 ;
7954 int __cil_tmp111 ;
7955 unsigned long __cil_tmp112 ;
7956 unsigned long __cil_tmp113 ;
7957 unsigned char *__cil_tmp114 ;
7958 unsigned char *__cil_tmp115 ;
7959 unsigned char __cil_tmp116 ;
7960 int __cil_tmp117 ;
7961 int __cil_tmp118 ;
7962 unsigned long __cil_tmp119 ;
7963 unsigned long __cil_tmp120 ;
7964 unsigned char *__cil_tmp121 ;
7965 unsigned long __cil_tmp122 ;
7966 unsigned long __cil_tmp123 ;
7967 unsigned char *__cil_tmp124 ;
7968 unsigned char *__cil_tmp125 ;
7969 unsigned char __cil_tmp126 ;
7970 int __cil_tmp127 ;
7971 int __cil_tmp128 ;
7972 u_char *__cil_tmp129 ;
7973 unsigned long __cil_tmp130 ;
7974 unsigned long __cil_tmp131 ;
7975 unsigned char *__cil_tmp132 ;
7976 unsigned char *__cil_tmp133 ;
7977 unsigned char __cil_tmp134 ;
7978 int __cil_tmp135 ;
7979 int __cil_tmp136 ;
7980 unsigned long __cil_tmp137 ;
7981 unsigned long __cil_tmp138 ;
7982 unsigned char *__cil_tmp139 ;
7983 unsigned char *__cil_tmp140 ;
7984 unsigned char __cil_tmp141 ;
7985 int __cil_tmp142 ;
7986 int __cil_tmp143 ;
7987 unsigned long __cil_tmp144 ;
7988 unsigned long __cil_tmp145 ;
7989 unsigned char *__cil_tmp146 ;
7990 unsigned char *__cil_tmp147 ;
7991 unsigned char __cil_tmp148 ;
7992 int __cil_tmp149 ;
7993 int __cil_tmp150 ;
7994 unsigned long __cil_tmp151 ;
7995 unsigned long __cil_tmp152 ;
7996 unsigned char *__cil_tmp153 ;
7997 unsigned char *__cil_tmp154 ;
7998 unsigned char __cil_tmp155 ;
7999 int __cil_tmp156 ;
8000 int __cil_tmp157 ;
8001 unsigned long __cil_tmp158 ;
8002 unsigned long __cil_tmp159 ;
8003 unsigned char *__cil_tmp160 ;
8004 unsigned char *__cil_tmp161 ;
8005 unsigned char __cil_tmp162 ;
8006 int __cil_tmp163 ;
8007 int __cil_tmp164 ;
8008 unsigned long __cil_tmp165 ;
8009 unsigned long __cil_tmp166 ;
8010 u16 (*__cil_tmp167)(struct capi_ctr * , struct sk_buff *skb ) ;
8011
8012 {
8013#line 772
8014 showctl = 0;
8015#line 777
8016 if (ncontrollers == 0) {
8017#line 778
8018 return ((u16 )4105);
8019 } else {
8020
8021 }
8022 {
8023#line 779
8024 __cil_tmp14 = *((u16 *)ap);
8025#line 779
8026 __cil_tmp15 = (int )__cil_tmp14;
8027#line 779
8028 if (__cil_tmp15 == 0) {
8029#line 780
8030 return ((u16 )4353);
8031 } else {
8032 {
8033#line 779
8034 __cil_tmp16 = (unsigned long )ap;
8035#line 779
8036 __cil_tmp17 = __cil_tmp16 + 216;
8037#line 779
8038 if (*((int *)__cil_tmp17)) {
8039#line 780
8040 return ((u16 )4353);
8041 } else {
8042
8043 }
8044 }
8045 }
8046 }
8047 {
8048#line 781
8049 __cil_tmp18 = (unsigned long )skb;
8050#line 781
8051 __cil_tmp19 = __cil_tmp18 + 104;
8052#line 781
8053 __cil_tmp20 = *((unsigned int *)__cil_tmp19);
8054#line 781
8055 if (__cil_tmp20 < 12U) {
8056#line 784
8057 return ((u16 )4354);
8058 } else {
8059 {
8060#line 781
8061 __cil_tmp21 = (unsigned long )skb;
8062#line 781
8063 __cil_tmp22 = __cil_tmp21 + 224;
8064#line 781
8065 __cil_tmp23 = *((unsigned char **)__cil_tmp22);
8066#line 781
8067 __cil_tmp24 = __cil_tmp23 + 4;
8068#line 781
8069 __cil_tmp25 = *__cil_tmp24;
8070#line 781
8071 tmp___7 = capi_cmd_valid(__cil_tmp25);
8072 }
8073#line 781
8074 if (tmp___7) {
8075 {
8076#line 781
8077 __cil_tmp26 = (unsigned long )skb;
8078#line 781
8079 __cil_tmp27 = __cil_tmp26 + 224;
8080#line 781
8081 __cil_tmp28 = *((unsigned char **)__cil_tmp27);
8082#line 781
8083 __cil_tmp29 = __cil_tmp28 + 5;
8084#line 781
8085 __cil_tmp30 = *__cil_tmp29;
8086#line 781
8087 tmp___8 = capi_subcmd_valid(__cil_tmp30);
8088 }
8089#line 781
8090 if (tmp___8) {
8091
8092 } else {
8093#line 784
8094 return ((u16 )4354);
8095 }
8096 } else {
8097#line 784
8098 return ((u16 )4354);
8099 }
8100 }
8101 }
8102 {
8103#line 791
8104 __cil_tmp31 = (unsigned long )skb;
8105#line 791
8106 __cil_tmp32 = __cil_tmp31 + 224;
8107#line 791
8108 __cil_tmp33 = *((unsigned char **)__cil_tmp32);
8109#line 791
8110 __cil_tmp34 = __cil_tmp33 + 8;
8111#line 791
8112 __cil_tmp35 = *__cil_tmp34;
8113#line 791
8114 __cil_tmp36 = (int )__cil_tmp35;
8115#line 791
8116 __cil_tmp37 = __cil_tmp36 & 127;
8117#line 791
8118 __cil_tmp38 = (u16 )__cil_tmp37;
8119#line 791
8120 ctr = get_capi_ctr_by_nr(__cil_tmp38);
8121 }
8122#line 792
8123 if (! ctr) {
8124#line 793
8125 return ((u16 )4105);
8126 } else {
8127 {
8128#line 792
8129 __cil_tmp39 = (unsigned long )ctr;
8130#line 792
8131 __cil_tmp40 = __cil_tmp39 + 300;
8132#line 792
8133 __cil_tmp41 = *((unsigned short *)__cil_tmp40);
8134#line 792
8135 __cil_tmp42 = (int )__cil_tmp41;
8136#line 792
8137 if (__cil_tmp42 != 3) {
8138#line 793
8139 return ((u16 )4105);
8140 } else {
8141
8142 }
8143 }
8144 }
8145 {
8146#line 794
8147 __cil_tmp43 = (unsigned long )ctr;
8148#line 794
8149 __cil_tmp44 = __cil_tmp43 + 304;
8150#line 794
8151 if (*((int *)__cil_tmp44)) {
8152#line 795
8153 return ((u16 )4355);
8154 } else {
8155
8156 }
8157 }
8158#line 797
8159 __cil_tmp45 = (unsigned long )skb;
8160#line 797
8161 __cil_tmp46 = __cil_tmp45 + 224;
8162#line 797
8163 __cil_tmp47 = *((unsigned char **)__cil_tmp46);
8164#line 797
8165 __cil_tmp48 = __cil_tmp47 + 4;
8166#line 797
8167 cmd = *__cil_tmp48;
8168#line 798
8169 __cil_tmp49 = (unsigned long )skb;
8170#line 798
8171 __cil_tmp50 = __cil_tmp49 + 224;
8172#line 798
8173 __cil_tmp51 = *((unsigned char **)__cil_tmp50);
8174#line 798
8175 __cil_tmp52 = __cil_tmp51 + 5;
8176#line 798
8177 subcmd = *__cil_tmp52;
8178 {
8179#line 800
8180 __cil_tmp53 = (int )cmd;
8181#line 800
8182 if (__cil_tmp53 == 134) {
8183 {
8184#line 800
8185 __cil_tmp54 = (int )subcmd;
8186#line 800
8187 if (__cil_tmp54 == 128) {
8188#line 801
8189 __cil_tmp55 = (unsigned long )ctr;
8190#line 801
8191 __cil_tmp56 = __cil_tmp55 + 288;
8192#line 801
8193 __cil_tmp57 = (unsigned long )ctr;
8194#line 801
8195 __cil_tmp58 = __cil_tmp57 + 288;
8196#line 801
8197 __cil_tmp59 = *((unsigned long *)__cil_tmp58);
8198#line 801
8199 *((unsigned long *)__cil_tmp56) = __cil_tmp59 + 1UL;
8200#line 802
8201 __cil_tmp60 = (unsigned long )ap;
8202#line 802
8203 __cil_tmp61 = __cil_tmp60 + 56;
8204#line 802
8205 __cil_tmp62 = (unsigned long )ap;
8206#line 802
8207 __cil_tmp63 = __cil_tmp62 + 56;
8208#line 802
8209 __cil_tmp64 = *((unsigned long *)__cil_tmp63);
8210#line 802
8211 *((unsigned long *)__cil_tmp61) = __cil_tmp64 + 1UL;
8212 {
8213#line 803
8214 __cil_tmp65 = (unsigned long )ctr;
8215#line 803
8216 __cil_tmp66 = __cil_tmp65 + 308;
8217#line 803
8218 __cil_tmp67 = *((int *)__cil_tmp66);
8219#line 803
8220 if (__cil_tmp67 > 2) {
8221#line 804
8222 showctl = showctl | 2;
8223 } else {
8224
8225 }
8226 }
8227 } else {
8228#line 800
8229 goto _L;
8230 }
8231 }
8232 } else {
8233 _L:
8234#line 806
8235 __cil_tmp68 = (unsigned long )ctr;
8236#line 806
8237 __cil_tmp69 = __cil_tmp68 + 280;
8238#line 806
8239 __cil_tmp70 = (unsigned long )ctr;
8240#line 806
8241 __cil_tmp71 = __cil_tmp70 + 280;
8242#line 806
8243 __cil_tmp72 = *((unsigned long *)__cil_tmp71);
8244#line 806
8245 *((unsigned long *)__cil_tmp69) = __cil_tmp72 + 1UL;
8246#line 807
8247 __cil_tmp73 = (unsigned long )ap;
8248#line 807
8249 __cil_tmp74 = __cil_tmp73 + 48;
8250#line 807
8251 __cil_tmp75 = (unsigned long )ap;
8252#line 807
8253 __cil_tmp76 = __cil_tmp75 + 48;
8254#line 807
8255 __cil_tmp77 = *((unsigned long *)__cil_tmp76);
8256#line 807
8257 *((unsigned long *)__cil_tmp74) = __cil_tmp77 + 1UL;
8258 {
8259#line 808
8260 __cil_tmp78 = (unsigned long )ctr;
8261#line 808
8262 __cil_tmp79 = __cil_tmp78 + 308;
8263#line 808
8264 if (*((int *)__cil_tmp79)) {
8265#line 809
8266 showctl = showctl | 2;
8267 } else {
8268
8269 }
8270 }
8271 }
8272 }
8273#line 811
8274 __cil_tmp80 = (unsigned long )ctr;
8275#line 811
8276 __cil_tmp81 = __cil_tmp80 + 308;
8277#line 811
8278 __cil_tmp82 = *((int *)__cil_tmp81);
8279#line 811
8280 __cil_tmp83 = __cil_tmp82 & 1;
8281#line 811
8282 showctl = showctl | __cil_tmp83;
8283#line 812
8284 if (showctl & 2) {
8285#line 813
8286 if (showctl & 1) {
8287 {
8288#line 814
8289 tmp___9 = capi_cmd2str(cmd, subcmd);
8290#line 814
8291 __cil_tmp84 = (unsigned long )skb;
8292#line 814
8293 __cil_tmp85 = __cil_tmp84 + 224;
8294#line 814
8295 __cil_tmp86 = *((unsigned char **)__cil_tmp85);
8296#line 814
8297 __cil_tmp87 = __cil_tmp86 + 8;
8298#line 814
8299 __cil_tmp88 = *__cil_tmp87;
8300#line 814
8301 __cil_tmp89 = (int )__cil_tmp88;
8302#line 814
8303 __cil_tmp90 = __cil_tmp89 & 127;
8304#line 814
8305 __cil_tmp91 = (unsigned long )skb;
8306#line 814
8307 __cil_tmp92 = __cil_tmp91 + 224;
8308#line 814
8309 __cil_tmp93 = *((unsigned char **)__cil_tmp92);
8310#line 814
8311 __cil_tmp94 = __cil_tmp93 + 3;
8312#line 814
8313 __cil_tmp95 = *__cil_tmp94;
8314#line 814
8315 __cil_tmp96 = (int )__cil_tmp95;
8316#line 814
8317 __cil_tmp97 = __cil_tmp96 << 8;
8318#line 814
8319 __cil_tmp98 = (unsigned long )skb;
8320#line 814
8321 __cil_tmp99 = __cil_tmp98 + 224;
8322#line 814
8323 __cil_tmp100 = *((unsigned char **)__cil_tmp99);
8324#line 814
8325 __cil_tmp101 = __cil_tmp100 + 2;
8326#line 814
8327 __cil_tmp102 = *__cil_tmp101;
8328#line 814
8329 __cil_tmp103 = (int )__cil_tmp102;
8330#line 814
8331 __cil_tmp104 = __cil_tmp103 | __cil_tmp97;
8332#line 814
8333 __cil_tmp105 = (unsigned long )skb;
8334#line 814
8335 __cil_tmp106 = __cil_tmp105 + 224;
8336#line 814
8337 __cil_tmp107 = *((unsigned char **)__cil_tmp106);
8338#line 814
8339 __cil_tmp108 = __cil_tmp107 + 1;
8340#line 814
8341 __cil_tmp109 = *__cil_tmp108;
8342#line 814
8343 __cil_tmp110 = (int )__cil_tmp109;
8344#line 814
8345 __cil_tmp111 = __cil_tmp110 << 8;
8346#line 814
8347 __cil_tmp112 = (unsigned long )skb;
8348#line 814
8349 __cil_tmp113 = __cil_tmp112 + 224;
8350#line 814
8351 __cil_tmp114 = *((unsigned char **)__cil_tmp113);
8352#line 814
8353 __cil_tmp115 = __cil_tmp114 + 0;
8354#line 814
8355 __cil_tmp116 = *__cil_tmp115;
8356#line 814
8357 __cil_tmp117 = (int )__cil_tmp116;
8358#line 814
8359 __cil_tmp118 = __cil_tmp117 | __cil_tmp111;
8360#line 814
8361 printk("<7>kcapi: put [%03d] id#%d %s len=%u\n", __cil_tmp90, __cil_tmp104,
8362 tmp___9, __cil_tmp118);
8363 }
8364 } else {
8365 {
8366#line 820
8367 __cil_tmp119 = (unsigned long )skb;
8368#line 820
8369 __cil_tmp120 = __cil_tmp119 + 224;
8370#line 820
8371 __cil_tmp121 = *((unsigned char **)__cil_tmp120);
8372#line 820
8373 tmp___10 = capi_message2str(__cil_tmp121);
8374#line 820
8375 cdb = tmp___10;
8376 }
8377#line 821
8378 if (cdb) {
8379 {
8380#line 822
8381 __cil_tmp122 = (unsigned long )skb;
8382#line 822
8383 __cil_tmp123 = __cil_tmp122 + 224;
8384#line 822
8385 __cil_tmp124 = *((unsigned char **)__cil_tmp123);
8386#line 822
8387 __cil_tmp125 = __cil_tmp124 + 8;
8388#line 822
8389 __cil_tmp126 = *__cil_tmp125;
8390#line 822
8391 __cil_tmp127 = (int )__cil_tmp126;
8392#line 822
8393 __cil_tmp128 = __cil_tmp127 & 127;
8394#line 822
8395 __cil_tmp129 = *((u_char **)cdb);
8396#line 822
8397 printk("<7>kcapi: put [%03d] %s\n", __cil_tmp128, __cil_tmp129);
8398#line 825
8399 cdebbuf_free(cdb);
8400 }
8401 } else {
8402 {
8403#line 827
8404 tmp___11 = capi_cmd2str(cmd, subcmd);
8405#line 827
8406 __cil_tmp130 = (unsigned long )skb;
8407#line 827
8408 __cil_tmp131 = __cil_tmp130 + 224;
8409#line 827
8410 __cil_tmp132 = *((unsigned char **)__cil_tmp131);
8411#line 827
8412 __cil_tmp133 = __cil_tmp132 + 8;
8413#line 827
8414 __cil_tmp134 = *__cil_tmp133;
8415#line 827
8416 __cil_tmp135 = (int )__cil_tmp134;
8417#line 827
8418 __cil_tmp136 = __cil_tmp135 & 127;
8419#line 827
8420 __cil_tmp137 = (unsigned long )skb;
8421#line 827
8422 __cil_tmp138 = __cil_tmp137 + 224;
8423#line 827
8424 __cil_tmp139 = *((unsigned char **)__cil_tmp138);
8425#line 827
8426 __cil_tmp140 = __cil_tmp139 + 3;
8427#line 827
8428 __cil_tmp141 = *__cil_tmp140;
8429#line 827
8430 __cil_tmp142 = (int )__cil_tmp141;
8431#line 827
8432 __cil_tmp143 = __cil_tmp142 << 8;
8433#line 827
8434 __cil_tmp144 = (unsigned long )skb;
8435#line 827
8436 __cil_tmp145 = __cil_tmp144 + 224;
8437#line 827
8438 __cil_tmp146 = *((unsigned char **)__cil_tmp145);
8439#line 827
8440 __cil_tmp147 = __cil_tmp146 + 2;
8441#line 827
8442 __cil_tmp148 = *__cil_tmp147;
8443#line 827
8444 __cil_tmp149 = (int )__cil_tmp148;
8445#line 827
8446 __cil_tmp150 = __cil_tmp149 | __cil_tmp143;
8447#line 827
8448 __cil_tmp151 = (unsigned long )skb;
8449#line 827
8450 __cil_tmp152 = __cil_tmp151 + 224;
8451#line 827
8452 __cil_tmp153 = *((unsigned char **)__cil_tmp152);
8453#line 827
8454 __cil_tmp154 = __cil_tmp153 + 1;
8455#line 827
8456 __cil_tmp155 = *__cil_tmp154;
8457#line 827
8458 __cil_tmp156 = (int )__cil_tmp155;
8459#line 827
8460 __cil_tmp157 = __cil_tmp156 << 8;
8461#line 827
8462 __cil_tmp158 = (unsigned long )skb;
8463#line 827
8464 __cil_tmp159 = __cil_tmp158 + 224;
8465#line 827
8466 __cil_tmp160 = *((unsigned char **)__cil_tmp159);
8467#line 827
8468 __cil_tmp161 = __cil_tmp160 + 0;
8469#line 827
8470 __cil_tmp162 = *__cil_tmp161;
8471#line 827
8472 __cil_tmp163 = (int )__cil_tmp162;
8473#line 827
8474 __cil_tmp164 = __cil_tmp163 | __cil_tmp157;
8475#line 827
8476 printk("<7>kcapi: put [%03d] id#%d %s len=%u cannot trace\n", __cil_tmp136,
8477 __cil_tmp150, tmp___11, __cil_tmp164);
8478 }
8479 }
8480 }
8481 } else {
8482
8483 }
8484 {
8485#line 834
8486 __cil_tmp165 = (unsigned long )ctr;
8487#line 834
8488 __cil_tmp166 = __cil_tmp165 + 88;
8489#line 834
8490 __cil_tmp167 = *((u16 (**)(struct capi_ctr * , struct sk_buff *skb ))__cil_tmp166);
8491#line 834
8492 tmp___12 = (*__cil_tmp167)(ctr, skb);
8493 }
8494#line 834
8495 return (tmp___12);
8496}
8497}
8498#line 837
8499extern void *__crc_capi20_put_message __attribute__((__weak__)) ;
8500#line 837 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8501static unsigned long __kcrctab_capi20_put_message __attribute__((__used__,
8502__unused__, __section__("___kcrctab+capi20_put_message"))) = (unsigned long )((unsigned long )(& __crc_capi20_put_message));
8503#line 837 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8504static char __kstrtab_capi20_put_message[19] __attribute__((__section__("__ksymtab_strings"),
8505__aligned__(1))) =
8506#line 837
8507 { (char )'c', (char )'a', (char const )'p', (char const )'i',
8508 (char )'2', (char )'0', (char const )'_', (char const )'p',
8509 (char )'u', (char )'t', (char const )'_', (char const )'m',
8510 (char )'e', (char )'s', (char const )'s', (char const )'a',
8511 (char )'g', (char )'e', (char const )'\000'};
8512#line 837 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8513static struct kernel_symbol __ksymtab_capi20_put_message __attribute__((__used__,
8514__unused__, __section__("___ksymtab+capi20_put_message"))) = {(unsigned long )(& capi20_put_message), __kstrtab_capi20_put_message};
8515#line 849 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8516u16 capi20_get_manufacturer(u32 contr , u8 *buf )
8517{ struct capi_ctr *ctr ;
8518 u16 ret ;
8519 char *__cil_tmp5 ;
8520 unsigned long __cil_tmp6 ;
8521 unsigned long __cil_tmp7 ;
8522 char *__cil_tmp8 ;
8523 char *__cil_tmp9 ;
8524 size_t __cil_tmp10 ;
8525 u16 __cil_tmp11 ;
8526 unsigned long __cil_tmp12 ;
8527 unsigned long __cil_tmp13 ;
8528 unsigned short __cil_tmp14 ;
8529 int __cil_tmp15 ;
8530 char *__cil_tmp16 ;
8531 unsigned long __cil_tmp17 ;
8532 unsigned long __cil_tmp18 ;
8533 unsigned long __cil_tmp19 ;
8534 unsigned long __cil_tmp20 ;
8535 u8 *__cil_tmp21 ;
8536 char *__cil_tmp22 ;
8537 size_t __cil_tmp23 ;
8538
8539 {
8540#line 854
8541 if (contr == 0U) {
8542 {
8543#line 855
8544 __cil_tmp5 = (char *)buf;
8545#line 855
8546 __cil_tmp6 = 0 * 1UL;
8547#line 855
8548 __cil_tmp7 = (unsigned long )(capi_manufakturer) + __cil_tmp6;
8549#line 855
8550 __cil_tmp8 = (char *)__cil_tmp7;
8551#line 855
8552 __cil_tmp9 = (char *)__cil_tmp8;
8553#line 855
8554 __cil_tmp10 = (size_t )64;
8555#line 855
8556 strlcpy(__cil_tmp5, __cil_tmp9, __cil_tmp10);
8557 }
8558#line 856
8559 return ((u16 )0);
8560 } else {
8561
8562 }
8563 {
8564#line 859
8565 mutex_lock(& capi_controller_lock);
8566#line 861
8567 __cil_tmp11 = (u16 )contr;
8568#line 861
8569 ctr = get_capi_ctr_by_nr(__cil_tmp11);
8570 }
8571#line 862
8572 if (ctr) {
8573 {
8574#line 862
8575 __cil_tmp12 = (unsigned long )ctr;
8576#line 862
8577 __cil_tmp13 = __cil_tmp12 + 300;
8578#line 862
8579 __cil_tmp14 = *((unsigned short *)__cil_tmp13);
8580#line 862
8581 __cil_tmp15 = (int )__cil_tmp14;
8582#line 862
8583 if (__cil_tmp15 == 3) {
8584 {
8585#line 863
8586 __cil_tmp16 = (char *)buf;
8587#line 863
8588 __cil_tmp17 = 0 * 1UL;
8589#line 863
8590 __cil_tmp18 = 112 + __cil_tmp17;
8591#line 863
8592 __cil_tmp19 = (unsigned long )ctr;
8593#line 863
8594 __cil_tmp20 = __cil_tmp19 + __cil_tmp18;
8595#line 863
8596 __cil_tmp21 = (u8 *)__cil_tmp20;
8597#line 863
8598 __cil_tmp22 = (char *)__cil_tmp21;
8599#line 863
8600 __cil_tmp23 = (size_t )64;
8601#line 863
8602 strlcpy(__cil_tmp16, __cil_tmp22, __cil_tmp23);
8603#line 864
8604 ret = (u16 )0;
8605 }
8606 } else {
8607#line 866
8608 ret = (u16 )4105;
8609 }
8610 }
8611 } else {
8612#line 866
8613 ret = (u16 )4105;
8614 }
8615 {
8616#line 868
8617 mutex_unlock(& capi_controller_lock);
8618 }
8619#line 869
8620 return (ret);
8621}
8622}
8623#line 872
8624extern void *__crc_capi20_get_manufacturer __attribute__((__weak__)) ;
8625#line 872 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8626static unsigned long __kcrctab_capi20_get_manufacturer __attribute__((__used__,
8627__unused__, __section__("___kcrctab+capi20_get_manufacturer"))) = (unsigned long )((unsigned long )(& __crc_capi20_get_manufacturer));
8628#line 872 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8629static char __kstrtab_capi20_get_manufacturer[24] __attribute__((__section__("__ksymtab_strings"),
8630__aligned__(1))) =
8631#line 872
8632 { (char )'c', (char )'a', (char const )'p', (char const )'i',
8633 (char )'2', (char )'0', (char const )'_', (char const )'g',
8634 (char )'e', (char )'t', (char const )'_', (char const )'m',
8635 (char )'a', (char )'n', (char const )'u', (char const )'f',
8636 (char )'a', (char )'c', (char const )'t', (char const )'u',
8637 (char )'r', (char )'e', (char const )'r', (char const )'\000'};
8638#line 872 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8639static struct kernel_symbol __ksymtab_capi20_get_manufacturer __attribute__((__used__,
8640__unused__, __section__("___ksymtab+capi20_get_manufacturer"))) = {(unsigned long )(& capi20_get_manufacturer), __kstrtab_capi20_get_manufacturer};
8641#line 884 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8642u16 capi20_get_version(u32 contr , struct capi_version *verp )
8643{ struct capi_ctr *ctr ;
8644 u16 ret ;
8645 size_t __len ;
8646 void *__ret ;
8647 u16 __cil_tmp7 ;
8648 unsigned long __cil_tmp8 ;
8649 unsigned long __cil_tmp9 ;
8650 unsigned short __cil_tmp10 ;
8651 int __cil_tmp11 ;
8652 void *__cil_tmp12 ;
8653 unsigned long __cil_tmp13 ;
8654 unsigned long __cil_tmp14 ;
8655 capi_version *__cil_tmp15 ;
8656 void *__cil_tmp16 ;
8657 void *__cil_tmp17 ;
8658 unsigned long __cil_tmp18 ;
8659 unsigned long __cil_tmp19 ;
8660 capi_version *__cil_tmp20 ;
8661 void *__cil_tmp21 ;
8662
8663 {
8664#line 889
8665 if (contr == 0U) {
8666#line 890
8667 *verp = driver_version;
8668#line 891
8669 return ((u16 )0);
8670 } else {
8671
8672 }
8673 {
8674#line 894
8675 mutex_lock(& capi_controller_lock);
8676#line 896
8677 __cil_tmp7 = (u16 )contr;
8678#line 896
8679 ctr = get_capi_ctr_by_nr(__cil_tmp7);
8680 }
8681#line 897
8682 if (ctr) {
8683 {
8684#line 897
8685 __cil_tmp8 = (unsigned long )ctr;
8686#line 897
8687 __cil_tmp9 = __cil_tmp8 + 300;
8688#line 897
8689 __cil_tmp10 = *((unsigned short *)__cil_tmp9);
8690#line 897
8691 __cil_tmp11 = (int )__cil_tmp10;
8692#line 897
8693 if (__cil_tmp11 == 3) {
8694#line 898
8695 __len = 16UL;
8696#line 898
8697 if (__len >= 64UL) {
8698 {
8699#line 898
8700 __cil_tmp12 = (void *)verp;
8701#line 898
8702 __cil_tmp13 = (unsigned long )ctr;
8703#line 898
8704 __cil_tmp14 = __cil_tmp13 + 176;
8705#line 898
8706 __cil_tmp15 = (capi_version *)__cil_tmp14;
8707#line 898
8708 __cil_tmp16 = (void *)__cil_tmp15;
8709#line 898
8710 __ret = __memcpy(__cil_tmp12, __cil_tmp16, __len);
8711 }
8712 } else {
8713 {
8714#line 898
8715 __cil_tmp17 = (void *)verp;
8716#line 898
8717 __cil_tmp18 = (unsigned long )ctr;
8718#line 898
8719 __cil_tmp19 = __cil_tmp18 + 176;
8720#line 898
8721 __cil_tmp20 = (capi_version *)__cil_tmp19;
8722#line 898
8723 __cil_tmp21 = (void *)__cil_tmp20;
8724#line 898
8725 __ret = __builtin_memcpy(__cil_tmp17, __cil_tmp21, __len);
8726 }
8727 }
8728#line 899
8729 ret = (u16 )0;
8730 } else {
8731#line 901
8732 ret = (u16 )4105;
8733 }
8734 }
8735 } else {
8736#line 901
8737 ret = (u16 )4105;
8738 }
8739 {
8740#line 903
8741 mutex_unlock(& capi_controller_lock);
8742 }
8743#line 904
8744 return (ret);
8745}
8746}
8747#line 907
8748extern void *__crc_capi20_get_version __attribute__((__weak__)) ;
8749#line 907 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8750static unsigned long __kcrctab_capi20_get_version __attribute__((__used__,
8751__unused__, __section__("___kcrctab+capi20_get_version"))) = (unsigned long )((unsigned long )(& __crc_capi20_get_version));
8752#line 907 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8753static char __kstrtab_capi20_get_version[19] __attribute__((__section__("__ksymtab_strings"),
8754__aligned__(1))) =
8755#line 907
8756 { (char )'c', (char )'a', (char const )'p', (char const )'i',
8757 (char )'2', (char )'0', (char const )'_', (char const )'g',
8758 (char )'e', (char )'t', (char const )'_', (char const )'v',
8759 (char )'e', (char )'r', (char const )'s', (char const )'i',
8760 (char )'o', (char )'n', (char const )'\000'};
8761#line 907 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8762static struct kernel_symbol __ksymtab_capi20_get_version __attribute__((__used__,
8763__unused__, __section__("___ksymtab+capi20_get_version"))) = {(unsigned long )(& capi20_get_version), __kstrtab_capi20_get_version};
8764#line 919 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8765u16 capi20_get_serial(u32 contr , u8 *serial )
8766{ struct capi_ctr *ctr ;
8767 u16 ret ;
8768 char *__cil_tmp5 ;
8769 unsigned long __cil_tmp6 ;
8770 unsigned long __cil_tmp7 ;
8771 char *__cil_tmp8 ;
8772 char *__cil_tmp9 ;
8773 size_t __cil_tmp10 ;
8774 u16 __cil_tmp11 ;
8775 unsigned long __cil_tmp12 ;
8776 unsigned long __cil_tmp13 ;
8777 unsigned short __cil_tmp14 ;
8778 int __cil_tmp15 ;
8779 char *__cil_tmp16 ;
8780 unsigned long __cil_tmp17 ;
8781 unsigned long __cil_tmp18 ;
8782 unsigned long __cil_tmp19 ;
8783 unsigned long __cil_tmp20 ;
8784 u8 *__cil_tmp21 ;
8785 char *__cil_tmp22 ;
8786 size_t __cil_tmp23 ;
8787
8788 {
8789#line 924
8790 if (contr == 0U) {
8791 {
8792#line 925
8793 __cil_tmp5 = (char *)serial;
8794#line 925
8795 __cil_tmp6 = 0 * 1UL;
8796#line 925
8797 __cil_tmp7 = (unsigned long )(driver_serial) + __cil_tmp6;
8798#line 925
8799 __cil_tmp8 = (char *)__cil_tmp7;
8800#line 925
8801 __cil_tmp9 = (char *)__cil_tmp8;
8802#line 925
8803 __cil_tmp10 = (size_t )8;
8804#line 925
8805 strlcpy(__cil_tmp5, __cil_tmp9, __cil_tmp10);
8806 }
8807#line 926
8808 return ((u16 )0);
8809 } else {
8810
8811 }
8812 {
8813#line 929
8814 mutex_lock(& capi_controller_lock);
8815#line 931
8816 __cil_tmp11 = (u16 )contr;
8817#line 931
8818 ctr = get_capi_ctr_by_nr(__cil_tmp11);
8819 }
8820#line 932
8821 if (ctr) {
8822 {
8823#line 932
8824 __cil_tmp12 = (unsigned long )ctr;
8825#line 932
8826 __cil_tmp13 = __cil_tmp12 + 300;
8827#line 932
8828 __cil_tmp14 = *((unsigned short *)__cil_tmp13);
8829#line 932
8830 __cil_tmp15 = (int )__cil_tmp14;
8831#line 932
8832 if (__cil_tmp15 == 3) {
8833 {
8834#line 933
8835 __cil_tmp16 = (char *)serial;
8836#line 933
8837 __cil_tmp17 = 0 * 1UL;
8838#line 933
8839 __cil_tmp18 = 256 + __cil_tmp17;
8840#line 933
8841 __cil_tmp19 = (unsigned long )ctr;
8842#line 933
8843 __cil_tmp20 = __cil_tmp19 + __cil_tmp18;
8844#line 933
8845 __cil_tmp21 = (u8 *)__cil_tmp20;
8846#line 933
8847 __cil_tmp22 = (char *)__cil_tmp21;
8848#line 933
8849 __cil_tmp23 = (size_t )8;
8850#line 933
8851 strlcpy(__cil_tmp16, __cil_tmp22, __cil_tmp23);
8852#line 934
8853 ret = (u16 )0;
8854 }
8855 } else {
8856#line 936
8857 ret = (u16 )4105;
8858 }
8859 }
8860 } else {
8861#line 936
8862 ret = (u16 )4105;
8863 }
8864 {
8865#line 938
8866 mutex_unlock(& capi_controller_lock);
8867 }
8868#line 939
8869 return (ret);
8870}
8871}
8872#line 942
8873extern void *__crc_capi20_get_serial __attribute__((__weak__)) ;
8874#line 942 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8875static unsigned long __kcrctab_capi20_get_serial __attribute__((__used__,
8876__unused__, __section__("___kcrctab+capi20_get_serial"))) = (unsigned long )((unsigned long )(& __crc_capi20_get_serial));
8877#line 942 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8878static char __kstrtab_capi20_get_serial[18] __attribute__((__section__("__ksymtab_strings"),
8879__aligned__(1))) =
8880#line 942
8881 { (char )'c', (char )'a', (char const )'p', (char const )'i',
8882 (char )'2', (char )'0', (char const )'_', (char const )'g',
8883 (char )'e', (char )'t', (char const )'_', (char const )'s',
8884 (char )'e', (char )'r', (char const )'i', (char const )'a',
8885 (char )'l', (char )'\000'};
8886#line 942 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8887static struct kernel_symbol __ksymtab_capi20_get_serial __attribute__((__used__,
8888__unused__, __section__("___ksymtab+capi20_get_serial"))) = {(unsigned long )(& capi20_get_serial), __kstrtab_capi20_get_serial};
8889#line 954 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8890u16 capi20_get_profile(u32 contr , struct capi_profile *profp )
8891{ struct capi_ctr *ctr ;
8892 u16 ret ;
8893 size_t __len ;
8894 void *__ret ;
8895 u16 __cil_tmp7 ;
8896 unsigned long __cil_tmp8 ;
8897 unsigned long __cil_tmp9 ;
8898 unsigned short __cil_tmp10 ;
8899 int __cil_tmp11 ;
8900 void *__cil_tmp12 ;
8901 unsigned long __cil_tmp13 ;
8902 unsigned long __cil_tmp14 ;
8903 capi_profile *__cil_tmp15 ;
8904 void *__cil_tmp16 ;
8905 void *__cil_tmp17 ;
8906 unsigned long __cil_tmp18 ;
8907 unsigned long __cil_tmp19 ;
8908 capi_profile *__cil_tmp20 ;
8909 void *__cil_tmp21 ;
8910
8911 {
8912#line 959
8913 if (contr == 0U) {
8914#line 960
8915 *((__u16 *)profp) = (__u16 )ncontrollers;
8916#line 961
8917 return ((u16 )0);
8918 } else {
8919
8920 }
8921 {
8922#line 964
8923 mutex_lock(& capi_controller_lock);
8924#line 966
8925 __cil_tmp7 = (u16 )contr;
8926#line 966
8927 ctr = get_capi_ctr_by_nr(__cil_tmp7);
8928 }
8929#line 967
8930 if (ctr) {
8931 {
8932#line 967
8933 __cil_tmp8 = (unsigned long )ctr;
8934#line 967
8935 __cil_tmp9 = __cil_tmp8 + 300;
8936#line 967
8937 __cil_tmp10 = *((unsigned short *)__cil_tmp9);
8938#line 967
8939 __cil_tmp11 = (int )__cil_tmp10;
8940#line 967
8941 if (__cil_tmp11 == 3) {
8942#line 968
8943 __len = 64UL;
8944#line 968
8945 if (__len >= 64UL) {
8946 {
8947#line 968
8948 __cil_tmp12 = (void *)profp;
8949#line 968
8950 __cil_tmp13 = (unsigned long )ctr;
8951#line 968
8952 __cil_tmp14 = __cil_tmp13 + 192;
8953#line 968
8954 __cil_tmp15 = (capi_profile *)__cil_tmp14;
8955#line 968
8956 __cil_tmp16 = (void *)__cil_tmp15;
8957#line 968
8958 __ret = __memcpy(__cil_tmp12, __cil_tmp16, __len);
8959 }
8960 } else {
8961 {
8962#line 968
8963 __cil_tmp17 = (void *)profp;
8964#line 968
8965 __cil_tmp18 = (unsigned long )ctr;
8966#line 968
8967 __cil_tmp19 = __cil_tmp18 + 192;
8968#line 968
8969 __cil_tmp20 = (capi_profile *)__cil_tmp19;
8970#line 968
8971 __cil_tmp21 = (void *)__cil_tmp20;
8972#line 968
8973 __ret = __builtin_memcpy(__cil_tmp17, __cil_tmp21, __len);
8974 }
8975 }
8976#line 969
8977 ret = (u16 )0;
8978 } else {
8979#line 971
8980 ret = (u16 )4105;
8981 }
8982 }
8983 } else {
8984#line 971
8985 ret = (u16 )4105;
8986 }
8987 {
8988#line 973
8989 mutex_unlock(& capi_controller_lock);
8990 }
8991#line 974
8992 return (ret);
8993}
8994}
8995#line 977
8996extern void *__crc_capi20_get_profile __attribute__((__weak__)) ;
8997#line 977 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
8998static unsigned long __kcrctab_capi20_get_profile __attribute__((__used__,
8999__unused__, __section__("___kcrctab+capi20_get_profile"))) = (unsigned long )((unsigned long )(& __crc_capi20_get_profile));
9000#line 977 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
9001static char __kstrtab_capi20_get_profile[19] __attribute__((__section__("__ksymtab_strings"),
9002__aligned__(1))) =
9003#line 977
9004 { (char )'c', (char )'a', (char const )'p', (char const )'i',
9005 (char )'2', (char )'0', (char const )'_', (char const )'g',
9006 (char )'e', (char )'t', (char const )'_', (char const )'p',
9007 (char )'r', (char )'o', (char const )'f', (char const )'i',
9008 (char )'l', (char )'e', (char const )'\000'};
9009#line 977 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
9010static struct kernel_symbol __ksymtab_capi20_get_profile __attribute__((__used__,
9011__unused__, __section__("___ksymtab+capi20_get_profile"))) = {(unsigned long )(& capi20_get_profile), __kstrtab_capi20_get_profile};
9012#line 980 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
9013static int wait_on_ctr_state(struct capi_ctr *ctr , unsigned int state )
9014{ wait_queue_t wait ;
9015 struct task_struct *tmp___7 ;
9016 int retval ;
9017 struct task_struct *tmp___8 ;
9018 int tmp___9 ;
9019 wait_queue_t *__cil_tmp8 ;
9020 unsigned long __cil_tmp9 ;
9021 unsigned long __cil_tmp10 ;
9022 unsigned long __cil_tmp11 ;
9023 unsigned long __cil_tmp12 ;
9024 unsigned long __cil_tmp13 ;
9025 unsigned long __cil_tmp14 ;
9026 unsigned long __cil_tmp15 ;
9027 unsigned long __cil_tmp16 ;
9028 unsigned long __cil_tmp17 ;
9029 wait_queue_head_t *__cil_tmp18 ;
9030 unsigned long __cil_tmp19 ;
9031 unsigned long __cil_tmp20 ;
9032 unsigned short __cil_tmp21 ;
9033 unsigned int __cil_tmp22 ;
9034 unsigned long __cil_tmp23 ;
9035 unsigned long __cil_tmp24 ;
9036 unsigned short __cil_tmp25 ;
9037 int __cil_tmp26 ;
9038 unsigned long __cil_tmp27 ;
9039 unsigned long __cil_tmp28 ;
9040 wait_queue_head_t *__cil_tmp29 ;
9041
9042 {
9043 {
9044#line 982
9045 tmp___7 = get_current();
9046#line 982
9047 __cil_tmp8 = & wait;
9048#line 982
9049 *((unsigned int *)__cil_tmp8) = 0U;
9050#line 982
9051 __cil_tmp9 = (unsigned long )(& wait) + 8;
9052#line 982
9053 *((void **)__cil_tmp9) = (void *)tmp___7;
9054#line 982
9055 __cil_tmp10 = (unsigned long )(& wait) + 16;
9056#line 982
9057 *((int (**)(wait_queue_t *wait , unsigned int mode , int flags , void *key ))__cil_tmp10) = & autoremove_wake_function;
9058#line 982
9059 __cil_tmp11 = (unsigned long )(& wait) + 24;
9060#line 982
9061 __cil_tmp12 = (unsigned long )(& wait) + 24;
9062#line 982
9063 *((struct list_head **)__cil_tmp11) = (struct list_head *)__cil_tmp12;
9064#line 982
9065 __cil_tmp13 = 24 + 8;
9066#line 982
9067 __cil_tmp14 = (unsigned long )(& wait) + __cil_tmp13;
9068#line 982
9069 __cil_tmp15 = (unsigned long )(& wait) + 24;
9070#line 982
9071 *((struct list_head **)__cil_tmp14) = (struct list_head *)__cil_tmp15;
9072#line 983
9073 retval = 0;
9074#line 985
9075 ctr = capi_ctr_get(ctr);
9076 }
9077#line 986
9078 if (! ctr) {
9079#line 987
9080 return (-3);
9081 } else {
9082
9083 }
9084 {
9085#line 989
9086 while (1) {
9087 while_continue: ;
9088 {
9089#line 990
9090 __cil_tmp16 = (unsigned long )ctr;
9091#line 990
9092 __cil_tmp17 = __cil_tmp16 + 312;
9093#line 990
9094 __cil_tmp18 = (wait_queue_head_t *)__cil_tmp17;
9095#line 990
9096 prepare_to_wait(__cil_tmp18, & wait, 1);
9097 }
9098 {
9099#line 993
9100 __cil_tmp19 = (unsigned long )ctr;
9101#line 993
9102 __cil_tmp20 = __cil_tmp19 + 300;
9103#line 993
9104 __cil_tmp21 = *((unsigned short *)__cil_tmp20);
9105#line 993
9106 __cil_tmp22 = (unsigned int )__cil_tmp21;
9107#line 993
9108 if (__cil_tmp22 == state) {
9109#line 994
9110 goto while_break;
9111 } else {
9112
9113 }
9114 }
9115 {
9116#line 995
9117 __cil_tmp23 = (unsigned long )ctr;
9118#line 995
9119 __cil_tmp24 = __cil_tmp23 + 300;
9120#line 995
9121 __cil_tmp25 = *((unsigned short *)__cil_tmp24);
9122#line 995
9123 __cil_tmp26 = (int )__cil_tmp25;
9124#line 995
9125 if (__cil_tmp26 == 0) {
9126#line 996
9127 retval = -3;
9128#line 997
9129 goto while_break;
9130 } else {
9131
9132 }
9133 }
9134 {
9135#line 999
9136 tmp___8 = get_current();
9137#line 999
9138 tmp___9 = signal_pending(tmp___8);
9139 }
9140#line 999
9141 if (tmp___9) {
9142#line 1000
9143 retval = -4;
9144#line 1001
9145 goto while_break;
9146 } else {
9147
9148 }
9149 {
9150#line 1004
9151 mutex_unlock(& capi_controller_lock);
9152#line 1005
9153 schedule();
9154#line 1006
9155 mutex_lock(& capi_controller_lock);
9156 }
9157 }
9158 while_break: ;
9159 }
9160 {
9161#line 1008
9162 __cil_tmp27 = (unsigned long )ctr;
9163#line 1008
9164 __cil_tmp28 = __cil_tmp27 + 312;
9165#line 1008
9166 __cil_tmp29 = (wait_queue_head_t *)__cil_tmp28;
9167#line 1008
9168 finish_wait(__cil_tmp29, & wait);
9169#line 1010
9170 capi_ctr_put(ctr);
9171 }
9172#line 1012
9173 return (retval);
9174}
9175}
9176#line 1016 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
9177static int old_capi_manufacturer(unsigned int cmd , void *data )
9178{ avmb1_loadandconfigdef ldef ;
9179 avmb1_extcarddef cdef___0 ;
9180 avmb1_resetdef rdef ;
9181 capicardparams cparams ;
9182 struct capi_ctr *ctr ;
9183 struct capi_driver *driver ;
9184 capiloaddata ldata ;
9185 struct list_head *l ;
9186 int retval ;
9187 unsigned long tmp___7 ;
9188 unsigned long tmp___8 ;
9189 struct list_head *__mptr ;
9190 int tmp___9 ;
9191 struct list_head *__mptr___0 ;
9192 int tmp___10 ;
9193 unsigned long tmp___11 ;
9194 unsigned long tmp___12 ;
9195 unsigned long tmp___13 ;
9196 void *__cil_tmp21 ;
9197 void *__cil_tmp22 ;
9198 void *__cil_tmp23 ;
9199 unsigned long __cil_tmp24 ;
9200 void *__cil_tmp25 ;
9201 void *__cil_tmp26 ;
9202 capicardparams *__cil_tmp27 ;
9203 avmb1_extcarddef *__cil_tmp28 ;
9204 int __cil_tmp29 ;
9205 unsigned long __cil_tmp30 ;
9206 unsigned long __cil_tmp31 ;
9207 int __cil_tmp32 ;
9208 unsigned long __cil_tmp33 ;
9209 unsigned long __cil_tmp34 ;
9210 unsigned long __cil_tmp35 ;
9211 struct list_head *__cil_tmp36 ;
9212 unsigned long __cil_tmp37 ;
9213 unsigned long __cil_tmp38 ;
9214 struct capi_driver *__cil_tmp39 ;
9215 unsigned long __cil_tmp40 ;
9216 unsigned long __cil_tmp41 ;
9217 struct list_head *__cil_tmp42 ;
9218 unsigned int __cil_tmp43 ;
9219 char *__cil_tmp44 ;
9220 char *__cil_tmp45 ;
9221 unsigned long __cil_tmp46 ;
9222 unsigned long __cil_tmp47 ;
9223 unsigned long __cil_tmp48 ;
9224 unsigned long __cil_tmp49 ;
9225 char *__cil_tmp50 ;
9226 char *__cil_tmp51 ;
9227 struct list_head *__cil_tmp52 ;
9228 unsigned long __cil_tmp53 ;
9229 unsigned long __cil_tmp54 ;
9230 struct capi_driver *__cil_tmp55 ;
9231 unsigned long __cil_tmp56 ;
9232 unsigned long __cil_tmp57 ;
9233 struct list_head *__cil_tmp58 ;
9234 unsigned int __cil_tmp59 ;
9235 char *__cil_tmp60 ;
9236 char *__cil_tmp61 ;
9237 unsigned long __cil_tmp62 ;
9238 unsigned long __cil_tmp63 ;
9239 unsigned long __cil_tmp64 ;
9240 unsigned long __cil_tmp65 ;
9241 char *__cil_tmp66 ;
9242 char *__cil_tmp67 ;
9243 void *__cil_tmp68 ;
9244 unsigned long __cil_tmp69 ;
9245 unsigned long __cil_tmp70 ;
9246 int (*__cil_tmp71)(struct capi_driver *driver , capicardparams *data ) ;
9247 unsigned long __cil_tmp72 ;
9248 unsigned long __cil_tmp73 ;
9249 int (*__cil_tmp74)(struct capi_driver *driver , capicardparams *data ) ;
9250 void *__cil_tmp75 ;
9251 void *__cil_tmp76 ;
9252 unsigned long __cil_tmp77 ;
9253 unsigned long __cil_tmp78 ;
9254 unsigned long __cil_tmp79 ;
9255 void *__cil_tmp80 ;
9256 void *__cil_tmp81 ;
9257 void *__cil_tmp82 ;
9258 avmb1_loadandconfigdef *__cil_tmp83 ;
9259 int __cil_tmp84 ;
9260 u16 __cil_tmp85 ;
9261 void *__cil_tmp86 ;
9262 unsigned long __cil_tmp87 ;
9263 unsigned long __cil_tmp88 ;
9264 unsigned long __cil_tmp89 ;
9265 int (*__cil_tmp90)(struct capi_ctr * , capiloaddata * ) ;
9266 unsigned long __cil_tmp91 ;
9267 unsigned long __cil_tmp92 ;
9268 int __cil_tmp93 ;
9269 unsigned long __cil_tmp94 ;
9270 int __cil_tmp95 ;
9271 void *__cil_tmp96 ;
9272 unsigned long __cil_tmp97 ;
9273 unsigned long __cil_tmp98 ;
9274 unsigned long __cil_tmp99 ;
9275 unsigned char *__cil_tmp100 ;
9276 unsigned long __cil_tmp101 ;
9277 capiloaddata *__cil_tmp102 ;
9278 unsigned long __cil_tmp103 ;
9279 unsigned long __cil_tmp104 ;
9280 unsigned long __cil_tmp105 ;
9281 unsigned long __cil_tmp106 ;
9282 unsigned long __cil_tmp107 ;
9283 unsigned long __cil_tmp108 ;
9284 unsigned long __cil_tmp109 ;
9285 unsigned long __cil_tmp110 ;
9286 unsigned long __cil_tmp111 ;
9287 unsigned long __cil_tmp112 ;
9288 unsigned long __cil_tmp113 ;
9289 unsigned long __cil_tmp114 ;
9290 unsigned long __cil_tmp115 ;
9291 unsigned long __cil_tmp116 ;
9292 unsigned long __cil_tmp117 ;
9293 unsigned long __cil_tmp118 ;
9294 unsigned long __cil_tmp119 ;
9295 unsigned short __cil_tmp120 ;
9296 int __cil_tmp121 ;
9297 avmb1_loadandconfigdef *__cil_tmp122 ;
9298 int __cil_tmp123 ;
9299 unsigned long __cil_tmp124 ;
9300 unsigned long __cil_tmp125 ;
9301 unsigned long __cil_tmp126 ;
9302 unsigned long __cil_tmp127 ;
9303 int (*__cil_tmp128)(struct capi_ctr * , capiloaddata * ) ;
9304 unsigned long __cil_tmp129 ;
9305 unsigned long __cil_tmp130 ;
9306 void *__cil_tmp131 ;
9307 void *__cil_tmp132 ;
9308 avmb1_resetdef *__cil_tmp133 ;
9309 int __cil_tmp134 ;
9310 u16 __cil_tmp135 ;
9311 unsigned long __cil_tmp136 ;
9312 unsigned long __cil_tmp137 ;
9313 unsigned short __cil_tmp138 ;
9314 int __cil_tmp139 ;
9315 void *__cil_tmp140 ;
9316 unsigned long __cil_tmp141 ;
9317 unsigned long __cil_tmp142 ;
9318 unsigned long __cil_tmp143 ;
9319 void (*__cil_tmp144)(struct capi_ctr * ) ;
9320 unsigned long __cil_tmp145 ;
9321 unsigned long __cil_tmp146 ;
9322 unsigned long __cil_tmp147 ;
9323 void (*__cil_tmp148)(struct capi_ctr * ) ;
9324
9325 {
9326#line 1023
9327 __cil_tmp21 = (void *)0;
9328#line 1023
9329 driver = (struct capi_driver *)__cil_tmp21;
9330#line 1029
9331 if ((int )cmd == 1) {
9332#line 1029
9333 goto case_1;
9334 } else
9335#line 1030
9336 if ((int )cmd == 4) {
9337#line 1030
9338 goto case_1;
9339 } else
9340#line 1078
9341 if ((int )cmd == 0) {
9342#line 1078
9343 goto case_0___0;
9344 } else
9345#line 1079
9346 if ((int )cmd == 3) {
9347#line 1079
9348 goto case_0___0;
9349 } else
9350#line 1144
9351 if ((int )cmd == 2) {
9352#line 1144
9353 goto case_2;
9354 } else
9355#line 1028
9356 if (0) {
9357 case_1:
9358 case_4:
9359#line 1031
9360 if (cmd == 1U) {
9361 {
9362#line 1032
9363 __cil_tmp22 = (void *)(& cdef___0);
9364#line 1032
9365 __cil_tmp23 = (void *)data;
9366#line 1032
9367 tmp___7 = (unsigned long )copy_from_user(__cil_tmp22, __cil_tmp23, 8UL);
9368#line 1032
9369 retval = (int )tmp___7;
9370 }
9371#line 1032
9372 if (retval) {
9373#line 1034
9374 return (-14);
9375 } else {
9376
9377 }
9378#line 1035
9379 __cil_tmp24 = (unsigned long )(& cdef___0) + 8;
9380#line 1035
9381 *((int *)__cil_tmp24) = 0;
9382 } else {
9383 {
9384#line 1037
9385 __cil_tmp25 = (void *)(& cdef___0);
9386#line 1037
9387 __cil_tmp26 = (void *)data;
9388#line 1037
9389 tmp___8 = (unsigned long )copy_from_user(__cil_tmp25, __cil_tmp26, 16UL);
9390#line 1037
9391 retval = (int )tmp___8;
9392 }
9393#line 1037
9394 if (retval) {
9395#line 1039
9396 return (-14);
9397 } else {
9398
9399 }
9400 }
9401 {
9402#line 1041
9403 __cil_tmp27 = & cparams;
9404#line 1041
9405 __cil_tmp28 = & cdef___0;
9406#line 1041
9407 __cil_tmp29 = *((int *)__cil_tmp28);
9408#line 1041
9409 *((unsigned int *)__cil_tmp27) = (unsigned int )__cil_tmp29;
9410#line 1042
9411 __cil_tmp30 = (unsigned long )(& cparams) + 4;
9412#line 1042
9413 __cil_tmp31 = (unsigned long )(& cdef___0) + 4;
9414#line 1042
9415 __cil_tmp32 = *((int *)__cil_tmp31);
9416#line 1042
9417 *((unsigned int *)__cil_tmp30) = (unsigned int )__cil_tmp32;
9418#line 1043
9419 __cil_tmp33 = (unsigned long )(& cparams) + 12;
9420#line 1043
9421 __cil_tmp34 = (unsigned long )(& cdef___0) + 12;
9422#line 1043
9423 *((int *)__cil_tmp33) = *((int *)__cil_tmp34);
9424#line 1045
9425 mutex_lock(& capi_drivers_lock);
9426 }
9427 {
9428#line 1047
9429 __cil_tmp35 = (unsigned long )(& cdef___0) + 8;
9430#line 1048
9431 if (*((int *)__cil_tmp35) == 0) {
9432#line 1048
9433 goto case_0;
9434 } else
9435#line 1055
9436 if (*((int *)__cil_tmp35) == 1) {
9437#line 1055
9438 goto case_1___0;
9439 } else {
9440 {
9441#line 1062
9442 goto switch_default;
9443#line 1047
9444 if (0) {
9445 case_0:
9446#line 1049
9447 __cil_tmp36 = & capi_drivers;
9448#line 1049
9449 l = *((struct list_head **)__cil_tmp36);
9450 {
9451#line 1049
9452 while (1) {
9453 while_continue: ;
9454 {
9455#line 1049
9456 __cil_tmp37 = (unsigned long )(& capi_drivers);
9457#line 1049
9458 __cil_tmp38 = (unsigned long )l;
9459#line 1049
9460 if (__cil_tmp38 != __cil_tmp37) {
9461
9462 } else {
9463#line 1049
9464 goto while_break;
9465 }
9466 }
9467 {
9468#line 1050
9469 __mptr = (struct list_head *)l;
9470#line 1050
9471 __cil_tmp39 = (struct capi_driver *)0;
9472#line 1050
9473 __cil_tmp40 = (unsigned long )__cil_tmp39;
9474#line 1050
9475 __cil_tmp41 = __cil_tmp40 + 72;
9476#line 1050
9477 __cil_tmp42 = (struct list_head *)__cil_tmp41;
9478#line 1050
9479 __cil_tmp43 = (unsigned int )__cil_tmp42;
9480#line 1050
9481 __cil_tmp44 = (char *)__mptr;
9482#line 1050
9483 __cil_tmp45 = __cil_tmp44 - __cil_tmp43;
9484#line 1050
9485 driver = (struct capi_driver *)__cil_tmp45;
9486#line 1051
9487 __cil_tmp46 = 0 * 1UL;
9488#line 1051
9489 __cil_tmp47 = 0 + __cil_tmp46;
9490#line 1051
9491 __cil_tmp48 = (unsigned long )driver;
9492#line 1051
9493 __cil_tmp49 = __cil_tmp48 + __cil_tmp47;
9494#line 1051
9495 __cil_tmp50 = (char *)__cil_tmp49;
9496#line 1051
9497 __cil_tmp51 = (char *)__cil_tmp50;
9498#line 1051
9499 tmp___9 = strcmp(__cil_tmp51, "b1isa");
9500 }
9501#line 1051
9502 if (tmp___9 == 0) {
9503#line 1052
9504 goto while_break;
9505 } else {
9506
9507 }
9508#line 1049
9509 l = *((struct list_head **)l);
9510 }
9511 while_break: ;
9512 }
9513#line 1054
9514 goto switch_break___0;
9515 case_1___0:
9516#line 1056
9517 __cil_tmp52 = & capi_drivers;
9518#line 1056
9519 l = *((struct list_head **)__cil_tmp52);
9520 {
9521#line 1056
9522 while (1) {
9523 while_continue___0: ;
9524 {
9525#line 1056
9526 __cil_tmp53 = (unsigned long )(& capi_drivers);
9527#line 1056
9528 __cil_tmp54 = (unsigned long )l;
9529#line 1056
9530 if (__cil_tmp54 != __cil_tmp53) {
9531
9532 } else {
9533#line 1056
9534 goto while_break___0;
9535 }
9536 }
9537 {
9538#line 1057
9539 __mptr___0 = (struct list_head *)l;
9540#line 1057
9541 __cil_tmp55 = (struct capi_driver *)0;
9542#line 1057
9543 __cil_tmp56 = (unsigned long )__cil_tmp55;
9544#line 1057
9545 __cil_tmp57 = __cil_tmp56 + 72;
9546#line 1057
9547 __cil_tmp58 = (struct list_head *)__cil_tmp57;
9548#line 1057
9549 __cil_tmp59 = (unsigned int )__cil_tmp58;
9550#line 1057
9551 __cil_tmp60 = (char *)__mptr___0;
9552#line 1057
9553 __cil_tmp61 = __cil_tmp60 - __cil_tmp59;
9554#line 1057
9555 driver = (struct capi_driver *)__cil_tmp61;
9556#line 1058
9557 __cil_tmp62 = 0 * 1UL;
9558#line 1058
9559 __cil_tmp63 = 0 + __cil_tmp62;
9560#line 1058
9561 __cil_tmp64 = (unsigned long )driver;
9562#line 1058
9563 __cil_tmp65 = __cil_tmp64 + __cil_tmp63;
9564#line 1058
9565 __cil_tmp66 = (char *)__cil_tmp65;
9566#line 1058
9567 __cil_tmp67 = (char *)__cil_tmp66;
9568#line 1058
9569 tmp___10 = strcmp(__cil_tmp67, "t1isa");
9570 }
9571#line 1058
9572 if (tmp___10 == 0) {
9573#line 1059
9574 goto while_break___0;
9575 } else {
9576
9577 }
9578#line 1056
9579 l = *((struct list_head **)l);
9580 }
9581 while_break___0: ;
9582 }
9583#line 1061
9584 goto switch_break___0;
9585 switch_default:
9586#line 1063
9587 __cil_tmp68 = (void *)0;
9588#line 1063
9589 driver = (struct capi_driver *)__cil_tmp68;
9590#line 1064
9591 goto switch_break___0;
9592 } else {
9593 switch_break___0: ;
9594 }
9595 }
9596 }
9597 }
9598#line 1066
9599 if (! driver) {
9600 {
9601#line 1067
9602 printk("<3>kcapi: driver not loaded.\n");
9603#line 1068
9604 retval = -5;
9605 }
9606 } else {
9607 {
9608#line 1069
9609 __cil_tmp69 = (unsigned long )driver;
9610#line 1069
9611 __cil_tmp70 = __cil_tmp69 + 64;
9612#line 1069
9613 __cil_tmp71 = *((int (**)(struct capi_driver *driver , capicardparams *data ))__cil_tmp70);
9614#line 1069
9615 if (! __cil_tmp71) {
9616 {
9617#line 1070
9618 printk("<3>kcapi: driver has no add card function.\n");
9619#line 1071
9620 retval = -5;
9621 }
9622 } else {
9623 {
9624#line 1073
9625 __cil_tmp72 = (unsigned long )driver;
9626#line 1073
9627 __cil_tmp73 = __cil_tmp72 + 64;
9628#line 1073
9629 __cil_tmp74 = *((int (**)(struct capi_driver *driver , capicardparams *data ))__cil_tmp73);
9630#line 1073
9631 retval = (*__cil_tmp74)(driver, & cparams);
9632 }
9633 }
9634 }
9635 }
9636 {
9637#line 1075
9638 mutex_unlock(& capi_drivers_lock);
9639 }
9640#line 1076
9641 return (retval);
9642 case_0___0:
9643 case_3:
9644#line 1081
9645 if (cmd == 0U) {
9646 {
9647#line 1082
9648 __cil_tmp75 = (void *)(& ldef);
9649#line 1082
9650 __cil_tmp76 = (void *)data;
9651#line 1082
9652 tmp___11 = (unsigned long )copy_from_user(__cil_tmp75, __cil_tmp76, 24UL);
9653 }
9654#line 1082
9655 if (tmp___11) {
9656#line 1084
9657 return (-14);
9658 } else {
9659
9660 }
9661#line 1085
9662 __cil_tmp77 = (unsigned long )(& ldef) + 24;
9663#line 1085
9664 *((int *)__cil_tmp77) = 0;
9665#line 1086
9666 __cil_tmp78 = 24 + 8;
9667#line 1086
9668 __cil_tmp79 = (unsigned long )(& ldef) + __cil_tmp78;
9669#line 1086
9670 __cil_tmp80 = (void *)0;
9671#line 1086
9672 *((unsigned char **)__cil_tmp79) = (unsigned char *)__cil_tmp80;
9673 } else {
9674 {
9675#line 1088
9676 __cil_tmp81 = (void *)(& ldef);
9677#line 1088
9678 __cil_tmp82 = (void *)data;
9679#line 1088
9680 tmp___12 = (unsigned long )copy_from_user(__cil_tmp81, __cil_tmp82, 40UL);
9681 }
9682#line 1088
9683 if (tmp___12) {
9684#line 1090
9685 return (-14);
9686 } else {
9687
9688 }
9689 }
9690 {
9691#line 1093
9692 mutex_lock(& capi_controller_lock);
9693#line 1095
9694 __cil_tmp83 = & ldef;
9695#line 1095
9696 __cil_tmp84 = *((int *)__cil_tmp83);
9697#line 1095
9698 __cil_tmp85 = (u16 )__cil_tmp84;
9699#line 1095
9700 ctr = get_capi_ctr_by_nr(__cil_tmp85);
9701 }
9702#line 1096
9703 if (! ctr) {
9704#line 1097
9705 retval = -22;
9706#line 1098
9707 goto load_unlock_out;
9708 } else {
9709
9710 }
9711 {
9712#line 1101
9713 __cil_tmp86 = (void *)0;
9714#line 1101
9715 __cil_tmp87 = (unsigned long )__cil_tmp86;
9716#line 1101
9717 __cil_tmp88 = (unsigned long )ctr;
9718#line 1101
9719 __cil_tmp89 = __cil_tmp88 + 56;
9720#line 1101
9721 __cil_tmp90 = *((int (**)(struct capi_ctr * , capiloaddata * ))__cil_tmp89);
9722#line 1101
9723 __cil_tmp91 = (unsigned long )__cil_tmp90;
9724#line 1101
9725 if (__cil_tmp91 == __cil_tmp87) {
9726 {
9727#line 1102
9728 printk("<7>kcapi: load: no load function\n");
9729#line 1103
9730 retval = -3;
9731 }
9732#line 1104
9733 goto load_unlock_out;
9734 } else {
9735
9736 }
9737 }
9738 {
9739#line 1107
9740 __cil_tmp92 = (unsigned long )(& ldef) + 8;
9741#line 1107
9742 __cil_tmp93 = *((int *)__cil_tmp92);
9743#line 1107
9744 if (__cil_tmp93 <= 0) {
9745 {
9746#line 1108
9747 __cil_tmp94 = (unsigned long )(& ldef) + 8;
9748#line 1108
9749 __cil_tmp95 = *((int *)__cil_tmp94);
9750#line 1108
9751 printk("<7>kcapi: load: invalid parameter: length of t4file is %d ?\n", __cil_tmp95);
9752#line 1109
9753 retval = -22;
9754 }
9755#line 1110
9756 goto load_unlock_out;
9757 } else {
9758
9759 }
9760 }
9761 {
9762#line 1112
9763 __cil_tmp96 = (void *)0;
9764#line 1112
9765 __cil_tmp97 = (unsigned long )__cil_tmp96;
9766#line 1112
9767 __cil_tmp98 = 8 + 8;
9768#line 1112
9769 __cil_tmp99 = (unsigned long )(& ldef) + __cil_tmp98;
9770#line 1112
9771 __cil_tmp100 = *((unsigned char **)__cil_tmp99);
9772#line 1112
9773 __cil_tmp101 = (unsigned long )__cil_tmp100;
9774#line 1112
9775 if (__cil_tmp101 == __cil_tmp97) {
9776 {
9777#line 1113
9778 printk("<7>kcapi: load: invalid parameter: dataptr is 0\n");
9779#line 1114
9780 retval = -22;
9781 }
9782#line 1115
9783 goto load_unlock_out;
9784 } else {
9785
9786 }
9787 }
9788#line 1118
9789 __cil_tmp102 = & ldata;
9790#line 1118
9791 *((int *)__cil_tmp102) = 1;
9792#line 1119
9793 __cil_tmp103 = 0 + 8;
9794#line 1119
9795 __cil_tmp104 = (unsigned long )(& ldata) + __cil_tmp103;
9796#line 1119
9797 __cil_tmp105 = 8 + 8;
9798#line 1119
9799 __cil_tmp106 = (unsigned long )(& ldef) + __cil_tmp105;
9800#line 1119
9801 *((unsigned char **)__cil_tmp104) = *((unsigned char **)__cil_tmp106);
9802#line 1120
9803 __cil_tmp107 = 0 + 4;
9804#line 1120
9805 __cil_tmp108 = (unsigned long )(& ldata) + __cil_tmp107;
9806#line 1120
9807 __cil_tmp109 = (unsigned long )(& ldef) + 8;
9808#line 1120
9809 *((int *)__cil_tmp108) = *((int *)__cil_tmp109);
9810#line 1121
9811 __cil_tmp110 = (unsigned long )(& ldata) + 16;
9812#line 1121
9813 *((int *)__cil_tmp110) = 1;
9814#line 1122
9815 __cil_tmp111 = 16 + 8;
9816#line 1122
9817 __cil_tmp112 = (unsigned long )(& ldata) + __cil_tmp111;
9818#line 1122
9819 __cil_tmp113 = 24 + 8;
9820#line 1122
9821 __cil_tmp114 = (unsigned long )(& ldef) + __cil_tmp113;
9822#line 1122
9823 *((unsigned char **)__cil_tmp112) = *((unsigned char **)__cil_tmp114);
9824#line 1123
9825 __cil_tmp115 = 16 + 4;
9826#line 1123
9827 __cil_tmp116 = (unsigned long )(& ldata) + __cil_tmp115;
9828#line 1123
9829 __cil_tmp117 = (unsigned long )(& ldef) + 24;
9830#line 1123
9831 *((int *)__cil_tmp116) = *((int *)__cil_tmp117);
9832 {
9833#line 1125
9834 __cil_tmp118 = (unsigned long )ctr;
9835#line 1125
9836 __cil_tmp119 = __cil_tmp118 + 300;
9837#line 1125
9838 __cil_tmp120 = *((unsigned short *)__cil_tmp119);
9839#line 1125
9840 __cil_tmp121 = (int )__cil_tmp120;
9841#line 1125
9842 if (__cil_tmp121 != 1) {
9843 {
9844#line 1126
9845 __cil_tmp122 = & ldef;
9846#line 1126
9847 __cil_tmp123 = *((int *)__cil_tmp122);
9848#line 1126
9849 printk("<6>kcapi: load: contr=%d not in detect state\n", __cil_tmp123);
9850#line 1127
9851 retval = -16;
9852 }
9853#line 1128
9854 goto load_unlock_out;
9855 } else {
9856
9857 }
9858 }
9859 {
9860#line 1130
9861 __cil_tmp124 = (unsigned long )ctr;
9862#line 1130
9863 __cil_tmp125 = __cil_tmp124 + 300;
9864#line 1130
9865 *((unsigned short *)__cil_tmp125) = (unsigned short)2;
9866#line 1132
9867 __cil_tmp126 = (unsigned long )ctr;
9868#line 1132
9869 __cil_tmp127 = __cil_tmp126 + 56;
9870#line 1132
9871 __cil_tmp128 = *((int (**)(struct capi_ctr * , capiloaddata * ))__cil_tmp127);
9872#line 1132
9873 retval = (*__cil_tmp128)(ctr, & ldata);
9874 }
9875#line 1133
9876 if (retval) {
9877#line 1134
9878 __cil_tmp129 = (unsigned long )ctr;
9879#line 1134
9880 __cil_tmp130 = __cil_tmp129 + 300;
9881#line 1134
9882 *((unsigned short *)__cil_tmp130) = (unsigned short)1;
9883#line 1135
9884 goto load_unlock_out;
9885 } else {
9886
9887 }
9888 {
9889#line 1138
9890 retval = wait_on_ctr_state(ctr, 3U);
9891 }
9892 load_unlock_out:
9893 {
9894#line 1141
9895 mutex_unlock(& capi_controller_lock);
9896 }
9897#line 1142
9898 return (retval);
9899 case_2:
9900 {
9901#line 1145
9902 __cil_tmp131 = (void *)(& rdef);
9903#line 1145
9904 __cil_tmp132 = (void *)data;
9905#line 1145
9906 tmp___13 = (unsigned long )copy_from_user(__cil_tmp131, __cil_tmp132, 4UL);
9907 }
9908#line 1145
9909 if (tmp___13) {
9910#line 1146
9911 return (-14);
9912 } else {
9913
9914 }
9915 {
9916#line 1148
9917 retval = 0;
9918#line 1150
9919 mutex_lock(& capi_controller_lock);
9920#line 1152
9921 __cil_tmp133 = & rdef;
9922#line 1152
9923 __cil_tmp134 = *((int *)__cil_tmp133);
9924#line 1152
9925 __cil_tmp135 = (u16 )__cil_tmp134;
9926#line 1152
9927 ctr = get_capi_ctr_by_nr(__cil_tmp135);
9928 }
9929#line 1153
9930 if (! ctr) {
9931#line 1154
9932 retval = -3;
9933#line 1155
9934 goto reset_unlock_out;
9935 } else {
9936
9937 }
9938 {
9939#line 1158
9940 __cil_tmp136 = (unsigned long )ctr;
9941#line 1158
9942 __cil_tmp137 = __cil_tmp136 + 300;
9943#line 1158
9944 __cil_tmp138 = *((unsigned short *)__cil_tmp137);
9945#line 1158
9946 __cil_tmp139 = (int )__cil_tmp138;
9947#line 1158
9948 if (__cil_tmp139 == 1) {
9949#line 1159
9950 goto reset_unlock_out;
9951 } else {
9952
9953 }
9954 }
9955 {
9956#line 1161
9957 __cil_tmp140 = (void *)0;
9958#line 1161
9959 __cil_tmp141 = (unsigned long )__cil_tmp140;
9960#line 1161
9961 __cil_tmp142 = (unsigned long )ctr;
9962#line 1161
9963 __cil_tmp143 = __cil_tmp142 + 64;
9964#line 1161
9965 __cil_tmp144 = *((void (**)(struct capi_ctr * ))__cil_tmp143);
9966#line 1161
9967 __cil_tmp145 = (unsigned long )__cil_tmp144;
9968#line 1161
9969 if (__cil_tmp145 == __cil_tmp141) {
9970 {
9971#line 1162
9972 printk("<7>kcapi: reset: no reset function\n");
9973#line 1163
9974 retval = -3;
9975 }
9976#line 1164
9977 goto reset_unlock_out;
9978 } else {
9979
9980 }
9981 }
9982 {
9983#line 1167
9984 __cil_tmp146 = (unsigned long )ctr;
9985#line 1167
9986 __cil_tmp147 = __cil_tmp146 + 64;
9987#line 1167
9988 __cil_tmp148 = *((void (**)(struct capi_ctr * ))__cil_tmp147);
9989#line 1167
9990 (*__cil_tmp148)(ctr);
9991#line 1169
9992 retval = wait_on_ctr_state(ctr, 1U);
9993 }
9994 reset_unlock_out:
9995 {
9996#line 1172
9997 mutex_unlock(& capi_controller_lock);
9998 }
9999#line 1173
10000 return (retval);
10001 } else {
10002 switch_break: ;
10003 }
10004#line 1175
10005 return (-22);
10006}
10007}
10008#line 1188 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
10009int capi20_manufacturer(unsigned int cmd , void *data )
10010{ struct capi_ctr *ctr ;
10011 int retval ;
10012 int tmp___7 ;
10013 kcapi_flagdef fdef ;
10014 unsigned long tmp___8 ;
10015 struct list_head *l ;
10016 struct capi_driver *driver ;
10017 capicardparams cparams ;
10018 kcapi_carddef cdef___0 ;
10019 unsigned long tmp___9 ;
10020 struct list_head *__mptr ;
10021 int tmp___10 ;
10022 void *__cil_tmp15 ;
10023 void *__cil_tmp16 ;
10024 kcapi_flagdef *__cil_tmp17 ;
10025 int __cil_tmp18 ;
10026 u16 __cil_tmp19 ;
10027 unsigned long __cil_tmp20 ;
10028 unsigned long __cil_tmp21 ;
10029 unsigned long __cil_tmp22 ;
10030 unsigned long __cil_tmp23 ;
10031 unsigned long __cil_tmp24 ;
10032 int __cil_tmp25 ;
10033 unsigned long __cil_tmp26 ;
10034 unsigned long __cil_tmp27 ;
10035 int __cil_tmp28 ;
10036 void *__cil_tmp29 ;
10037 void *__cil_tmp30 ;
10038 void *__cil_tmp31 ;
10039 capicardparams *__cil_tmp32 ;
10040 unsigned long __cil_tmp33 ;
10041 unsigned long __cil_tmp34 ;
10042 unsigned long __cil_tmp35 ;
10043 unsigned long __cil_tmp36 ;
10044 unsigned long __cil_tmp37 ;
10045 unsigned long __cil_tmp38 ;
10046 unsigned long __cil_tmp39 ;
10047 unsigned long __cil_tmp40 ;
10048 unsigned long __cil_tmp41 ;
10049 unsigned long __cil_tmp42 ;
10050 unsigned long __cil_tmp43 ;
10051 unsigned long __cil_tmp44 ;
10052 struct list_head *__cil_tmp45 ;
10053 unsigned long __cil_tmp46 ;
10054 unsigned long __cil_tmp47 ;
10055 struct capi_driver *__cil_tmp48 ;
10056 unsigned long __cil_tmp49 ;
10057 unsigned long __cil_tmp50 ;
10058 struct list_head *__cil_tmp51 ;
10059 unsigned int __cil_tmp52 ;
10060 char *__cil_tmp53 ;
10061 char *__cil_tmp54 ;
10062 unsigned long __cil_tmp55 ;
10063 unsigned long __cil_tmp56 ;
10064 unsigned long __cil_tmp57 ;
10065 unsigned long __cil_tmp58 ;
10066 char *__cil_tmp59 ;
10067 char *__cil_tmp60 ;
10068 unsigned long __cil_tmp61 ;
10069 unsigned long __cil_tmp62 ;
10070 unsigned long __cil_tmp63 ;
10071 char *__cil_tmp64 ;
10072 char *__cil_tmp65 ;
10073 void *__cil_tmp66 ;
10074 unsigned long __cil_tmp67 ;
10075 unsigned long __cil_tmp68 ;
10076 unsigned long __cil_tmp69 ;
10077 unsigned long __cil_tmp70 ;
10078 unsigned long __cil_tmp71 ;
10079 char *__cil_tmp72 ;
10080 unsigned long __cil_tmp73 ;
10081 unsigned long __cil_tmp74 ;
10082 int (*__cil_tmp75)(struct capi_driver *driver , capicardparams *data ) ;
10083 unsigned long __cil_tmp76 ;
10084 unsigned long __cil_tmp77 ;
10085 unsigned long __cil_tmp78 ;
10086 char *__cil_tmp79 ;
10087 unsigned long __cil_tmp80 ;
10088 unsigned long __cil_tmp81 ;
10089 int (*__cil_tmp82)(struct capi_driver *driver , capicardparams *data ) ;
10090
10091 {
10092#line 1195
10093 if ((int )cmd == 0) {
10094#line 1195
10095 goto case_0;
10096 } else
10097#line 1196
10098 if ((int )cmd == 3) {
10099#line 1196
10100 goto case_0;
10101 } else
10102#line 1197
10103 if ((int )cmd == 2) {
10104#line 1197
10105 goto case_0;
10106 } else
10107#line 1198
10108 if ((int )cmd == 5) {
10109#line 1198
10110 goto case_0;
10111 } else
10112#line 1199
10113 if ((int )cmd == 6) {
10114#line 1199
10115 goto case_0;
10116 } else
10117#line 1202
10118 if ((int )cmd == 10) {
10119#line 1202
10120 goto case_10;
10121 } else
10122#line 1224
10123 if ((int )cmd == 11) {
10124#line 1224
10125 goto case_11;
10126 } else {
10127 {
10128#line 1262
10129 goto switch_default;
10130#line 1193
10131 if (0) {
10132 case_0:
10133 case_3:
10134 case_2:
10135 case_5:
10136 case_6:
10137 {
10138#line 1200
10139 tmp___7 = old_capi_manufacturer(cmd, data);
10140 }
10141#line 1200
10142 return (tmp___7);
10143 case_10:
10144 {
10145#line 1206
10146 __cil_tmp15 = (void *)(& fdef);
10147#line 1206
10148 __cil_tmp16 = (void *)data;
10149#line 1206
10150 tmp___8 = (unsigned long )copy_from_user(__cil_tmp15, __cil_tmp16, 8UL);
10151 }
10152#line 1206
10153 if (tmp___8) {
10154#line 1207
10155 return (-14);
10156 } else {
10157
10158 }
10159 {
10160#line 1209
10161 mutex_lock(& capi_controller_lock);
10162#line 1211
10163 __cil_tmp17 = & fdef;
10164#line 1211
10165 __cil_tmp18 = *((int *)__cil_tmp17);
10166#line 1211
10167 __cil_tmp19 = (u16 )__cil_tmp18;
10168#line 1211
10169 ctr = get_capi_ctr_by_nr(__cil_tmp19);
10170 }
10171#line 1212
10172 if (ctr) {
10173 {
10174#line 1213
10175 __cil_tmp20 = (unsigned long )ctr;
10176#line 1213
10177 __cil_tmp21 = __cil_tmp20 + 308;
10178#line 1213
10179 __cil_tmp22 = (unsigned long )(& fdef) + 4;
10180#line 1213
10181 *((int *)__cil_tmp21) = *((int *)__cil_tmp22);
10182#line 1214
10183 __cil_tmp23 = (unsigned long )ctr;
10184#line 1214
10185 __cil_tmp24 = __cil_tmp23 + 296;
10186#line 1214
10187 __cil_tmp25 = *((int *)__cil_tmp24);
10188#line 1214
10189 __cil_tmp26 = (unsigned long )ctr;
10190#line 1214
10191 __cil_tmp27 = __cil_tmp26 + 308;
10192#line 1214
10193 __cil_tmp28 = *((int *)__cil_tmp27);
10194#line 1214
10195 printk("<6>kcapi: contr [%03d] set trace=%d\n", __cil_tmp25, __cil_tmp28);
10196#line 1216
10197 retval = 0;
10198 }
10199 } else {
10200#line 1218
10201 retval = -3;
10202 }
10203 {
10204#line 1220
10205 mutex_unlock(& capi_controller_lock);
10206 }
10207#line 1222
10208 return (retval);
10209 case_11:
10210 {
10211#line 1227
10212 __cil_tmp29 = (void *)0;
10213#line 1227
10214 driver = (struct capi_driver *)__cil_tmp29;
10215#line 1231
10216 __cil_tmp30 = (void *)(& cdef___0);
10217#line 1231
10218 __cil_tmp31 = (void *)data;
10219#line 1231
10220 tmp___9 = (unsigned long )copy_from_user(__cil_tmp30, __cil_tmp31, 48UL);
10221#line 1231
10222 retval = (int )tmp___9;
10223 }
10224#line 1231
10225 if (retval) {
10226#line 1232
10227 return (-14);
10228 } else {
10229
10230 }
10231 {
10232#line 1234
10233 __cil_tmp32 = & cparams;
10234#line 1234
10235 __cil_tmp33 = (unsigned long )(& cdef___0) + 32;
10236#line 1234
10237 *((unsigned int *)__cil_tmp32) = *((unsigned int *)__cil_tmp33);
10238#line 1235
10239 __cil_tmp34 = (unsigned long )(& cparams) + 4;
10240#line 1235
10241 __cil_tmp35 = (unsigned long )(& cdef___0) + 36;
10242#line 1235
10243 *((unsigned int *)__cil_tmp34) = *((unsigned int *)__cil_tmp35);
10244#line 1236
10245 __cil_tmp36 = (unsigned long )(& cparams) + 16;
10246#line 1236
10247 __cil_tmp37 = (unsigned long )(& cdef___0) + 40;
10248#line 1236
10249 *((unsigned int *)__cil_tmp36) = *((unsigned int *)__cil_tmp37);
10250#line 1237
10251 __cil_tmp38 = (unsigned long )(& cparams) + 12;
10252#line 1237
10253 __cil_tmp39 = (unsigned long )(& cdef___0) + 44;
10254#line 1237
10255 *((int *)__cil_tmp38) = *((int *)__cil_tmp39);
10256#line 1238
10257 __cil_tmp40 = (unsigned long )(& cparams) + 8;
10258#line 1238
10259 *((int *)__cil_tmp40) = 0;
10260#line 1239
10261 __cil_tmp41 = 32UL - 1UL;
10262#line 1239
10263 __cil_tmp42 = __cil_tmp41 * 1UL;
10264#line 1239
10265 __cil_tmp43 = 0 + __cil_tmp42;
10266#line 1239
10267 __cil_tmp44 = (unsigned long )(& cdef___0) + __cil_tmp43;
10268#line 1239
10269 *((char *)__cil_tmp44) = (char)0;
10270#line 1241
10271 mutex_lock(& capi_drivers_lock);
10272#line 1243
10273 __cil_tmp45 = & capi_drivers;
10274#line 1243
10275 l = *((struct list_head **)__cil_tmp45);
10276 }
10277 {
10278#line 1243
10279 while (1) {
10280 while_continue: ;
10281 {
10282#line 1243
10283 __cil_tmp46 = (unsigned long )(& capi_drivers);
10284#line 1243
10285 __cil_tmp47 = (unsigned long )l;
10286#line 1243
10287 if (__cil_tmp47 != __cil_tmp46) {
10288
10289 } else {
10290#line 1243
10291 goto while_break;
10292 }
10293 }
10294 {
10295#line 1244
10296 __mptr = (struct list_head *)l;
10297#line 1244
10298 __cil_tmp48 = (struct capi_driver *)0;
10299#line 1244
10300 __cil_tmp49 = (unsigned long )__cil_tmp48;
10301#line 1244
10302 __cil_tmp50 = __cil_tmp49 + 72;
10303#line 1244
10304 __cil_tmp51 = (struct list_head *)__cil_tmp50;
10305#line 1244
10306 __cil_tmp52 = (unsigned int )__cil_tmp51;
10307#line 1244
10308 __cil_tmp53 = (char *)__mptr;
10309#line 1244
10310 __cil_tmp54 = __cil_tmp53 - __cil_tmp52;
10311#line 1244
10312 driver = (struct capi_driver *)__cil_tmp54;
10313#line 1245
10314 __cil_tmp55 = 0 * 1UL;
10315#line 1245
10316 __cil_tmp56 = 0 + __cil_tmp55;
10317#line 1245
10318 __cil_tmp57 = (unsigned long )driver;
10319#line 1245
10320 __cil_tmp58 = __cil_tmp57 + __cil_tmp56;
10321#line 1245
10322 __cil_tmp59 = (char *)__cil_tmp58;
10323#line 1245
10324 __cil_tmp60 = (char *)__cil_tmp59;
10325#line 1245
10326 __cil_tmp61 = 0 * 1UL;
10327#line 1245
10328 __cil_tmp62 = 0 + __cil_tmp61;
10329#line 1245
10330 __cil_tmp63 = (unsigned long )(& cdef___0) + __cil_tmp62;
10331#line 1245
10332 __cil_tmp64 = (char *)__cil_tmp63;
10333#line 1245
10334 __cil_tmp65 = (char *)__cil_tmp64;
10335#line 1245
10336 tmp___10 = strcmp(__cil_tmp60, __cil_tmp65);
10337 }
10338#line 1245
10339 if (tmp___10 == 0) {
10340#line 1246
10341 goto while_break;
10342 } else {
10343
10344 }
10345#line 1243
10346 l = *((struct list_head **)l);
10347 }
10348 while_break: ;
10349 }
10350 {
10351#line 1248
10352 __cil_tmp66 = (void *)0;
10353#line 1248
10354 __cil_tmp67 = (unsigned long )__cil_tmp66;
10355#line 1248
10356 __cil_tmp68 = (unsigned long )driver;
10357#line 1248
10358 if (__cil_tmp68 == __cil_tmp67) {
10359 {
10360#line 1249
10361 __cil_tmp69 = 0 * 1UL;
10362#line 1249
10363 __cil_tmp70 = 0 + __cil_tmp69;
10364#line 1249
10365 __cil_tmp71 = (unsigned long )(& cdef___0) + __cil_tmp70;
10366#line 1249
10367 __cil_tmp72 = (char *)__cil_tmp71;
10368#line 1249
10369 printk("<3>kcapi: driver \"%s\" not loaded.\n", __cil_tmp72);
10370#line 1251
10371 retval = -3;
10372 }
10373 } else {
10374 {
10375#line 1252
10376 __cil_tmp73 = (unsigned long )driver;
10377#line 1252
10378 __cil_tmp74 = __cil_tmp73 + 64;
10379#line 1252
10380 __cil_tmp75 = *((int (**)(struct capi_driver *driver , capicardparams *data ))__cil_tmp74);
10381#line 1252
10382 if (! __cil_tmp75) {
10383 {
10384#line 1253
10385 __cil_tmp76 = 0 * 1UL;
10386#line 1253
10387 __cil_tmp77 = 0 + __cil_tmp76;
10388#line 1253
10389 __cil_tmp78 = (unsigned long )(& cdef___0) + __cil_tmp77;
10390#line 1253
10391 __cil_tmp79 = (char *)__cil_tmp78;
10392#line 1253
10393 printk("<3>kcapi: driver \"%s\" has no add card function.\n", __cil_tmp79);
10394#line 1254
10395 retval = -5;
10396 }
10397 } else {
10398 {
10399#line 1256
10400 __cil_tmp80 = (unsigned long )driver;
10401#line 1256
10402 __cil_tmp81 = __cil_tmp80 + 64;
10403#line 1256
10404 __cil_tmp82 = *((int (**)(struct capi_driver *driver , capicardparams *data ))__cil_tmp81);
10405#line 1256
10406 retval = (*__cil_tmp82)(driver, & cparams);
10407 }
10408 }
10409 }
10410 }
10411 }
10412 {
10413#line 1258
10414 mutex_unlock(& capi_drivers_lock);
10415 }
10416#line 1259
10417 return (retval);
10418 switch_default:
10419 {
10420#line 1263
10421 printk("<3>kcapi: manufacturer command %d unknown.\n", cmd);
10422 }
10423#line 1265
10424 goto switch_break;
10425 } else {
10426 switch_break: ;
10427 }
10428 }
10429 }
10430#line 1268
10431 return (-22);
10432}
10433}
10434#line 1271
10435extern void *__crc_capi20_manufacturer __attribute__((__weak__)) ;
10436#line 1271 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
10437static unsigned long __kcrctab_capi20_manufacturer __attribute__((__used__,
10438__unused__, __section__("___kcrctab+capi20_manufacturer"))) = (unsigned long )((unsigned long )(& __crc_capi20_manufacturer));
10439#line 1271 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
10440static char __kstrtab_capi20_manufacturer[20] __attribute__((__section__("__ksymtab_strings"),
10441__aligned__(1))) =
10442#line 1271
10443 { (char )'c', (char )'a', (char const )'p', (char const )'i',
10444 (char )'2', (char )'0', (char const )'_', (char const )'m',
10445 (char )'a', (char )'n', (char const )'u', (char const )'f',
10446 (char )'a', (char )'c', (char const )'t', (char const )'u',
10447 (char )'r', (char )'e', (char const )'r', (char const )'\000'};
10448#line 1271 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
10449static struct kernel_symbol __ksymtab_capi20_manufacturer __attribute__((__used__,
10450__unused__, __section__("___ksymtab+capi20_manufacturer"))) = {(unsigned long )(& capi20_manufacturer), __kstrtab_capi20_manufacturer};
10451#line 1281 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
10452static struct notifier_block capictr_nb = {& notify_handler, (struct notifier_block *)0, (int )(4294967295U >> 1)};
10453#line 1286
10454static int kcapi_init(void) __attribute__((__section__(".init.text"), __no_instrument_function__)) ;
10455#line 1286 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
10456static int kcapi_init(void)
10457{ int err ;
10458 void *__cil_tmp2 ;
10459 struct lock_class_key *__cil_tmp3 ;
10460 void *__cil_tmp4 ;
10461 char *__cil_tmp5 ;
10462
10463 {
10464 {
10465#line 1290
10466 __cil_tmp2 = (void *)0;
10467#line 1290
10468 __cil_tmp3 = (struct lock_class_key *)__cil_tmp2;
10469#line 1290
10470 __cil_tmp4 = (void *)0;
10471#line 1290
10472 __cil_tmp5 = (char *)__cil_tmp4;
10473#line 1290
10474 kcapi_wq = __alloc_workqueue_key("kcapi", 0U, 0, __cil_tmp3, __cil_tmp5);
10475 }
10476#line 1291
10477 if (! kcapi_wq) {
10478#line 1292
10479 return (-12);
10480 } else {
10481
10482 }
10483 {
10484#line 1294
10485 register_capictr_notifier(& capictr_nb);
10486#line 1296
10487 err = cdebug_init();
10488 }
10489#line 1297
10490 if (err) {
10491 {
10492#line 1298
10493 unregister_capictr_notifier(& capictr_nb);
10494#line 1299
10495 destroy_workqueue(kcapi_wq);
10496 }
10497#line 1300
10498 return (err);
10499 } else {
10500
10501 }
10502 {
10503#line 1303
10504 kcapi_proc_init();
10505 }
10506#line 1304
10507 return (0);
10508}
10509}
10510#line 1307
10511static void kcapi_exit(void) __attribute__((__section__(".exit.text"), __no_instrument_function__)) ;
10512#line 1307 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
10513static void kcapi_exit(void)
10514{
10515
10516 {
10517 {
10518#line 1309
10519 kcapi_proc_exit();
10520#line 1311
10521 unregister_capictr_notifier(& capictr_nb);
10522#line 1312
10523 cdebug_exit();
10524#line 1313
10525 destroy_workqueue(kcapi_wq);
10526 }
10527#line 1314
10528 return;
10529}
10530}
10531#line 1316 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
10532int init_module(void)
10533{ int tmp___7 ;
10534
10535 {
10536 {
10537#line 1316
10538 tmp___7 = kcapi_init();
10539 }
10540#line 1316
10541 return (tmp___7);
10542}
10543}
10544#line 1317 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
10545void cleanup_module(void)
10546{
10547
10548 {
10549 {
10550#line 1317
10551 kcapi_exit();
10552 }
10553#line 1317
10554 return;
10555}
10556}
10557#line 1335
10558void ldv_check_final_state(void) ;
10559#line 1341
10560extern void ldv_initialize(void) ;
10561#line 1344
10562extern int __VERIFIER_nondet_int(void) ;
10563#line 1347 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
10564int LDV_IN_INTERRUPT ;
10565#line 1350 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
10566void ldv_main0_sequence_infinite_withcheck_stateful(void)
10567{ struct notifier_block *var_group1 ;
10568 unsigned long var_notify_handler_12_p1 ;
10569 void *var_notify_handler_12_p2 ;
10570 int tmp___7 ;
10571 int tmp___8 ;
10572 int tmp___9 ;
10573
10574 {
10575 {
10576#line 1383
10577 LDV_IN_INTERRUPT = 1;
10578#line 1392
10579 ldv_initialize();
10580#line 1407
10581 tmp___7 = kcapi_init();
10582 }
10583#line 1407
10584 if (tmp___7) {
10585#line 1408
10586 goto ldv_final;
10587 } else {
10588
10589 }
10590 {
10591#line 1412
10592 while (1) {
10593 while_continue: ;
10594 {
10595#line 1412
10596 tmp___9 = __VERIFIER_nondet_int();
10597 }
10598#line 1412
10599 if (tmp___9) {
10600
10601 } else {
10602#line 1412
10603 goto while_break;
10604 }
10605 {
10606#line 1415
10607 tmp___8 = __VERIFIER_nondet_int();
10608 }
10609#line 1417
10610 if (tmp___8 == 0) {
10611#line 1417
10612 goto case_0;
10613 } else {
10614 {
10615#line 1444
10616 goto switch_default;
10617#line 1415
10618 if (0) {
10619 case_0:
10620 {
10621#line 1430
10622 notify_handler(var_group1, var_notify_handler_12_p1, var_notify_handler_12_p2);
10623 }
10624#line 1443
10625 goto switch_break;
10626 switch_default:
10627#line 1444
10628 goto switch_break;
10629 } else {
10630 switch_break: ;
10631 }
10632 }
10633 }
10634 }
10635 while_break: ;
10636 }
10637 {
10638#line 1465
10639 kcapi_exit();
10640 }
10641 ldv_final:
10642 {
10643#line 1468
10644 ldv_check_final_state();
10645 }
10646#line 1471
10647 return;
10648}
10649}
10650#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast-assert.h"
10651void ldv_blast_assert(void)
10652{
10653
10654 {
10655 ERROR:
10656#line 6
10657 goto ERROR;
10658}
10659}
10660#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast.h"
10661extern int __VERIFIER_nondet_int(void) ;
10662#line 19 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
10663int ldv_mutex = 1;
10664#line 22 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
10665int __attribute__((__warn_unused_result__)) mutex_lock_interruptible(struct mutex *lock )
10666{ int nondetermined ;
10667
10668 {
10669#line 29
10670 if (ldv_mutex == 1) {
10671
10672 } else {
10673 {
10674#line 29
10675 ldv_blast_assert();
10676 }
10677 }
10678 {
10679#line 32
10680 nondetermined = __VERIFIER_nondet_int();
10681 }
10682#line 35
10683 if (nondetermined) {
10684#line 38
10685 ldv_mutex = 2;
10686#line 40
10687 return (0);
10688 } else {
10689#line 45
10690 return (-4);
10691 }
10692}
10693}
10694#line 50 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
10695int __attribute__((__warn_unused_result__)) mutex_lock_killable(struct mutex *lock )
10696{ int nondetermined ;
10697
10698 {
10699#line 57
10700 if (ldv_mutex == 1) {
10701
10702 } else {
10703 {
10704#line 57
10705 ldv_blast_assert();
10706 }
10707 }
10708 {
10709#line 60
10710 nondetermined = __VERIFIER_nondet_int();
10711 }
10712#line 63
10713 if (nondetermined) {
10714#line 66
10715 ldv_mutex = 2;
10716#line 68
10717 return (0);
10718 } else {
10719#line 73
10720 return (-4);
10721 }
10722}
10723}
10724#line 78 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
10725int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock )
10726{ int atomic_value_after_dec ;
10727
10728 {
10729#line 83
10730 if (ldv_mutex == 1) {
10731
10732 } else {
10733 {
10734#line 83
10735 ldv_blast_assert();
10736 }
10737 }
10738 {
10739#line 86
10740 atomic_value_after_dec = __VERIFIER_nondet_int();
10741 }
10742#line 89
10743 if (atomic_value_after_dec == 0) {
10744#line 92
10745 ldv_mutex = 2;
10746#line 94
10747 return (1);
10748 } else {
10749
10750 }
10751#line 98
10752 return (0);
10753}
10754}
10755#line 103 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
10756void mutex_lock(struct mutex *lock )
10757{
10758
10759 {
10760#line 108
10761 if (ldv_mutex == 1) {
10762
10763 } else {
10764 {
10765#line 108
10766 ldv_blast_assert();
10767 }
10768 }
10769#line 110
10770 ldv_mutex = 2;
10771#line 111
10772 return;
10773}
10774}
10775#line 114 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
10776int mutex_trylock(struct mutex *lock )
10777{ int nondetermined ;
10778
10779 {
10780#line 121
10781 if (ldv_mutex == 1) {
10782
10783 } else {
10784 {
10785#line 121
10786 ldv_blast_assert();
10787 }
10788 }
10789 {
10790#line 124
10791 nondetermined = __VERIFIER_nondet_int();
10792 }
10793#line 127
10794 if (nondetermined) {
10795#line 130
10796 ldv_mutex = 2;
10797#line 132
10798 return (1);
10799 } else {
10800#line 137
10801 return (0);
10802 }
10803}
10804}
10805#line 142 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
10806void mutex_unlock(struct mutex *lock )
10807{
10808
10809 {
10810#line 147
10811 if (ldv_mutex == 2) {
10812
10813 } else {
10814 {
10815#line 147
10816 ldv_blast_assert();
10817 }
10818 }
10819#line 149
10820 ldv_mutex = 1;
10821#line 150
10822 return;
10823}
10824}
10825#line 153 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
10826void ldv_check_final_state(void)
10827{
10828
10829 {
10830#line 156
10831 if (ldv_mutex == 1) {
10832
10833 } else {
10834 {
10835#line 156
10836 ldv_blast_assert();
10837 }
10838 }
10839#line 157
10840 return;
10841}
10842}
10843#line 1480 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi.c.common.c"
10844long s__builtin_expect(long val , long res )
10845{
10846
10847 {
10848#line 1481
10849 return (val);
10850}
10851}
10852#line 1 "<compiler builtins>"
10853
10854#line 1
10855
10856#line 195 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/bitops.h"
10857__inline static int test_and_set_bit(int nr , unsigned long volatile *addr ) __attribute__((__no_instrument_function__)) ;
10858#line 195 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/bitops.h"
10859__inline static int test_and_set_bit(int nr , unsigned long volatile *addr )
10860{ int oldbit ;
10861 long volatile *__cil_tmp4 ;
10862
10863 {
10864#line 199
10865 __cil_tmp4 = (long volatile *)addr;
10866#line 199
10867 __asm__ volatile (".section .smp_locks,\"a\"\n"
10868 ".balign 4\n"
10869 ".long 671f - .\n"
10870 ".previous\n"
10871 "671:"
10872 "\n\tlock; "
10873 "bts %2,%1\n\t"
10874 "sbb %0,%0": "=r" (oldbit), "+m" (*__cil_tmp4): "Ir" (nr): "memory");
10875#line 202
10876 return (oldbit);
10877}
10878}
10879#line 246
10880__inline static int test_and_clear_bit(int nr , unsigned long volatile *addr ) __attribute__((__no_instrument_function__)) ;
10881#line 246 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/bitops.h"
10882__inline static int test_and_clear_bit(int nr , unsigned long volatile *addr )
10883{ int oldbit ;
10884 long volatile *__cil_tmp4 ;
10885
10886 {
10887#line 250
10888 __cil_tmp4 = (long volatile *)addr;
10889#line 250
10890 __asm__ volatile (".section .smp_locks,\"a\"\n"
10891 ".balign 4\n"
10892 ".long 671f - .\n"
10893 ".previous\n"
10894 "671:"
10895 "\n\tlock; "
10896 "btr %2,%1\n\t"
10897 "sbb %0,%0": "=r" (oldbit), "+m" (*__cil_tmp4): "Ir" (nr): "memory");
10898#line 254
10899 return (oldbit);
10900}
10901}
10902#line 324 "include/linux/kernel.h"
10903extern int ( vsnprintf)(char *buf , size_t size , char *fmt ,
10904 va_list args ) ;
10905#line 58 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/string_64.h"
10906extern void *memmove(void *dest , void *src , size_t count ) ;
10907#line 18 "include/linux/ctype.h"
10908extern unsigned char _ctype[] ;
10909#line 150 "include/linux/isdn/capiutil.h"
10910unsigned int capi_cmsg2message(_cmsg *cmsg , unsigned char *msg ) ;
10911#line 156
10912unsigned int capi_message2cmsg(_cmsg *cmsg , unsigned char *msg ) ;
10913#line 163
10914unsigned int capi_cmsg_header(_cmsg *cmsg , unsigned short _ApplId , unsigned char _Command ,
10915 unsigned char _Subcommand , unsigned short _Messagenumber ,
10916 unsigned int _Controller ) ;
10917#line 170
10918char *capi_info2str(unsigned short reason ) ;
10919#line 194
10920_cdebbuf *capi_cmsg2str(_cmsg *cmsg ) ;
10921#line 31 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
10922char *capi_info2str(unsigned short reason )
10923{
10924
10925 {
10926#line 36
10927 if ((int )reason == 1) {
10928#line 36
10929 goto case_1;
10930 } else
10931#line 38
10932 if ((int )reason == 2) {
10933#line 38
10934 goto case_2;
10935 } else
10936#line 40
10937 if ((int )reason == 3) {
10938#line 40
10939 goto case_3;
10940 } else
10941#line 44
10942 if ((int )reason == 4097) {
10943#line 44
10944 goto case_4097;
10945 } else
10946#line 46
10947 if ((int )reason == 4098) {
10948#line 46
10949 goto case_4098;
10950 } else
10951#line 48
10952 if ((int )reason == 4099) {
10953#line 48
10954 goto case_4099;
10955 } else
10956#line 50
10957 if ((int )reason == 4100) {
10958#line 50
10959 goto case_4100;
10960 } else
10961#line 52
10962 if ((int )reason == 4101) {
10963#line 52
10964 goto case_4101;
10965 } else
10966#line 54
10967 if ((int )reason == 4102) {
10968#line 54
10969 goto case_4102;
10970 } else
10971#line 56
10972 if ((int )reason == 4103) {
10973#line 56
10974 goto case_4103;
10975 } else
10976#line 58
10977 if ((int )reason == 4104) {
10978#line 58
10979 goto case_4104;
10980 } else
10981#line 60
10982 if ((int )reason == 4105) {
10983#line 60
10984 goto case_4105;
10985 } else
10986#line 62
10987 if ((int )reason == 4106) {
10988#line 62
10989 goto case_4106;
10990 } else
10991#line 64
10992 if ((int )reason == 4107) {
10993#line 64
10994 goto case_4107;
10995 } else
10996#line 68
10997 if ((int )reason == 4353) {
10998#line 68
10999 goto case_4353;
11000 } else
11001#line 70
11002 if ((int )reason == 4354) {
11003#line 70
11004 goto case_4354;
11005 } else
11006#line 72
11007 if ((int )reason == 4355) {
11008#line 72
11009 goto case_4355;
11010 } else
11011#line 74
11012 if ((int )reason == 4356) {
11013#line 74
11014 goto case_4356;
11015 } else
11016#line 76
11017 if ((int )reason == 4357) {
11018#line 76
11019 goto case_4357;
11020 } else
11021#line 78
11022 if ((int )reason == 4358) {
11023#line 78
11024 goto case_4358;
11025 } else
11026#line 80
11027 if ((int )reason == 4359) {
11028#line 80
11029 goto case_4359;
11030 } else
11031#line 82
11032 if ((int )reason == 4360) {
11033#line 82
11034 goto case_4360;
11035 } else
11036#line 84
11037 if ((int )reason == 4361) {
11038#line 84
11039 goto case_4361;
11040 } else
11041#line 86
11042 if ((int )reason == 4362) {
11043#line 86
11044 goto case_4362;
11045 } else
11046#line 88
11047 if ((int )reason == 4363) {
11048#line 88
11049 goto case_4363;
11050 } else
11051#line 92
11052 if ((int )reason == 8193) {
11053#line 92
11054 goto case_8193;
11055 } else
11056#line 94
11057 if ((int )reason == 8194) {
11058#line 94
11059 goto case_8194;
11060 } else
11061#line 96
11062 if ((int )reason == 8195) {
11063#line 96
11064 goto case_8195;
11065 } else
11066#line 98
11067 if ((int )reason == 8196) {
11068#line 98
11069 goto case_8196;
11070 } else
11071#line 100
11072 if ((int )reason == 8197) {
11073#line 100
11074 goto case_8197;
11075 } else
11076#line 102
11077 if ((int )reason == 8198) {
11078#line 102
11079 goto case_8198;
11080 } else
11081#line 104
11082 if ((int )reason == 8199) {
11083#line 104
11084 goto case_8199;
11085 } else
11086#line 108
11087 if ((int )reason == 12289) {
11088#line 108
11089 goto case_12289;
11090 } else
11091#line 110
11092 if ((int )reason == 12290) {
11093#line 110
11094 goto case_12290;
11095 } else
11096#line 112
11097 if ((int )reason == 12291) {
11098#line 112
11099 goto case_12291;
11100 } else
11101#line 114
11102 if ((int )reason == 12292) {
11103#line 114
11104 goto case_12292;
11105 } else
11106#line 116
11107 if ((int )reason == 12293) {
11108#line 116
11109 goto case_12293;
11110 } else
11111#line 118
11112 if ((int )reason == 12294) {
11113#line 118
11114 goto case_12294;
11115 } else
11116#line 120
11117 if ((int )reason == 12295) {
11118#line 120
11119 goto case_12295;
11120 } else
11121#line 122
11122 if ((int )reason == 12296) {
11123#line 122
11124 goto case_12296;
11125 } else
11126#line 124
11127 if ((int )reason == 12297) {
11128#line 124
11129 goto case_12297;
11130 } else
11131#line 126
11132 if ((int )reason == 12298) {
11133#line 126
11134 goto case_12298;
11135 } else
11136#line 128
11137 if ((int )reason == 12299) {
11138#line 128
11139 goto case_12299;
11140 } else
11141#line 130
11142 if ((int )reason == 12300) {
11143#line 130
11144 goto case_12300;
11145 } else
11146#line 132
11147 if ((int )reason == 12301) {
11148#line 132
11149 goto case_12301;
11150 } else
11151#line 136
11152 if ((int )reason == 13057) {
11153#line 136
11154 goto case_13057;
11155 } else
11156#line 138
11157 if ((int )reason == 13058) {
11158#line 138
11159 goto case_13058;
11160 } else
11161#line 140
11162 if ((int )reason == 13059) {
11163#line 140
11164 goto case_13059;
11165 } else
11166#line 142
11167 if ((int )reason == 13060) {
11168#line 142
11169 goto case_13060;
11170 } else
11171#line 145
11172 if ((int )reason == 13073) {
11173#line 145
11174 goto case_13073;
11175 } else
11176#line 147
11177 if ((int )reason == 13074) {
11178#line 147
11179 goto case_13074;
11180 } else
11181#line 149
11182 if ((int )reason == 13075) {
11183#line 149
11184 goto case_13075;
11185 } else
11186#line 151
11187 if ((int )reason == 13076) {
11188#line 151
11189 goto case_13076;
11190 } else
11191#line 153
11192 if ((int )reason == 13077) {
11193#line 153
11194 goto case_13077;
11195 } else
11196#line 155
11197 if ((int )reason == 13078) {
11198#line 155
11199 goto case_13078;
11200 } else
11201#line 157
11202 if ((int )reason == 13079) {
11203#line 157
11204 goto case_13079;
11205 } else
11206#line 159
11207 if ((int )reason == 13080) {
11208#line 159
11209 goto case_13080;
11210 } else
11211#line 161
11212 if ((int )reason == 13081) {
11213#line 161
11214 goto case_13081;
11215 } else
11216#line 165
11217 if ((int )reason == 13441) {
11218#line 165
11219 goto case_13441;
11220 } else
11221#line 166
11222 if ((int )reason == 13442) {
11223#line 166
11224 goto case_13442;
11225 } else
11226#line 167
11227 if ((int )reason == 13443) {
11228#line 167
11229 goto case_13443;
11230 } else
11231#line 168
11232 if ((int )reason == 13446) {
11233#line 168
11234 goto case_13446;
11235 } else
11236#line 169
11237 if ((int )reason == 13447) {
11238#line 169
11239 goto case_13447;
11240 } else
11241#line 171
11242 if ((int )reason == 13456) {
11243#line 171
11244 goto case_13456;
11245 } else
11246#line 172
11247 if ((int )reason == 13457) {
11248#line 172
11249 goto case_13457;
11250 } else
11251#line 173
11252 if ((int )reason == 13458) {
11253#line 173
11254 goto case_13458;
11255 } else
11256#line 174
11257 if ((int )reason == 13459) {
11258#line 174
11259 goto case_13459;
11260 } else
11261#line 175
11262 if ((int )reason == 13461) {
11263#line 175
11264 goto case_13461;
11265 } else
11266#line 176
11267 if ((int )reason == 13462) {
11268#line 176
11269 goto case_13462;
11270 } else
11271#line 177
11272 if ((int )reason == 13466) {
11273#line 177
11274 goto case_13466;
11275 } else
11276#line 178
11277 if ((int )reason == 13467) {
11278#line 178
11279 goto case_13467;
11280 } else
11281#line 179
11282 if ((int )reason == 13468) {
11283#line 179
11284 goto case_13468;
11285 } else
11286#line 180
11287 if ((int )reason == 13469) {
11288#line 180
11289 goto case_13469;
11290 } else
11291#line 181
11292 if ((int )reason == 13470) {
11293#line 181
11294 goto case_13470;
11295 } else
11296#line 182
11297 if ((int )reason == 13471) {
11298#line 182
11299 goto case_13471;
11300 } else
11301#line 183
11302 if ((int )reason == 13474) {
11303#line 183
11304 goto case_13474;
11305 } else
11306#line 184
11307 if ((int )reason == 13478) {
11308#line 184
11309 goto case_13478;
11310 } else
11311#line 185
11312 if ((int )reason == 13481) {
11313#line 185
11314 goto case_13481;
11315 } else
11316#line 186
11317 if ((int )reason == 13482) {
11318#line 186
11319 goto case_13482;
11320 } else
11321#line 187
11322 if ((int )reason == 13483) {
11323#line 187
11324 goto case_13483;
11325 } else
11326#line 188
11327 if ((int )reason == 13484) {
11328#line 188
11329 goto case_13484;
11330 } else
11331#line 189
11332 if ((int )reason == 13487) {
11333#line 189
11334 goto case_13487;
11335 } else
11336#line 190
11337 if ((int )reason == 13489) {
11338#line 190
11339 goto case_13489;
11340 } else
11341#line 191
11342 if ((int )reason == 13490) {
11343#line 191
11344 goto case_13490;
11345 } else
11346#line 192
11347 if ((int )reason == 13497) {
11348#line 192
11349 goto case_13497;
11350 } else
11351#line 193
11352 if ((int )reason == 13498) {
11353#line 193
11354 goto case_13498;
11355 } else
11356#line 194
11357 if ((int )reason == 13503) {
11358#line 194
11359 goto case_13503;
11360 } else
11361#line 195
11362 if ((int )reason == 13505) {
11363#line 195
11364 goto case_13505;
11365 } else
11366#line 196
11367 if ((int )reason == 13506) {
11368#line 196
11369 goto case_13506;
11370 } else
11371#line 197
11372 if ((int )reason == 13509) {
11373#line 197
11374 goto case_13509;
11375 } else
11376#line 198
11377 if ((int )reason == 13510) {
11378#line 198
11379 goto case_13510;
11380 } else
11381#line 199
11382 if ((int )reason == 13519) {
11383#line 199
11384 goto case_13519;
11385 } else
11386#line 200
11387 if ((int )reason == 13521) {
11388#line 200
11389 goto case_13521;
11390 } else
11391#line 201
11392 if ((int )reason == 13522) {
11393#line 201
11394 goto case_13522;
11395 } else
11396#line 202
11397 if ((int )reason == 13523) {
11398#line 202
11399 goto case_13523;
11400 } else
11401#line 203
11402 if ((int )reason == 13524) {
11403#line 203
11404 goto case_13524;
11405 } else
11406#line 204
11407 if ((int )reason == 13525) {
11408#line 204
11409 goto case_13525;
11410 } else
11411#line 205
11412 if ((int )reason == 13526) {
11413#line 205
11414 goto case_13526;
11415 } else
11416#line 206
11417 if ((int )reason == 13528) {
11418#line 206
11419 goto case_13528;
11420 } else
11421#line 207
11422 if ((int )reason == 13531) {
11423#line 207
11424 goto case_13531;
11425 } else
11426#line 208
11427 if ((int )reason == 13535) {
11428#line 208
11429 goto case_13535;
11430 } else
11431#line 209
11432 if ((int )reason == 13536) {
11433#line 209
11434 goto case_13536;
11435 } else
11436#line 210
11437 if ((int )reason == 13537) {
11438#line 210
11439 goto case_13537;
11440 } else
11441#line 211
11442 if ((int )reason == 13538) {
11443#line 211
11444 goto case_13538;
11445 } else
11446#line 212
11447 if ((int )reason == 13539) {
11448#line 212
11449 goto case_13539;
11450 } else
11451#line 213
11452 if ((int )reason == 13540) {
11453#line 213
11454 goto case_13540;
11455 } else
11456#line 214
11457 if ((int )reason == 13541) {
11458#line 214
11459 goto case_13541;
11460 } else
11461#line 215
11462 if ((int )reason == 13542) {
11463#line 215
11464 goto case_13542;
11465 } else
11466#line 216
11467 if ((int )reason == 13551) {
11468#line 216
11469 goto case_13551;
11470 } else
11471#line 217
11472 if ((int )reason == 13567) {
11473#line 217
11474 goto case_13567;
11475 } else {
11476 {
11477#line 219
11478 goto switch_default;
11479#line 33
11480 if (0) {
11481 case_1:
11482#line 37
11483 return ((char *)"NCPI not supported by current protocol, NCPI ignored");
11484 case_2:
11485#line 39
11486 return ((char *)"Flags not supported by current protocol, flags ignored");
11487 case_3:
11488#line 41
11489 return ((char *)"Alert already sent by another application");
11490 case_4097:
11491#line 45
11492 return ((char *)"Too many applications");
11493 case_4098:
11494#line 47
11495 return ((char *)"Logical block size too small, must be at least 128 Bytes");
11496 case_4099:
11497#line 49
11498 return ((char *)"Buffer exceeds 64 kByte");
11499 case_4100:
11500#line 51
11501 return ((char *)"Message buffer size too small, must be at least 1024 Bytes");
11502 case_4101:
11503#line 53
11504 return ((char *)"Max. number of logical connections not supported");
11505 case_4102:
11506#line 55
11507 return ((char *)"Reserved");
11508 case_4103:
11509#line 57
11510 return ((char *)"The message could not be accepted because of an internal busy condition");
11511 case_4104:
11512#line 59
11513 return ((char *)"OS resource error (no memory ?)");
11514 case_4105:
11515#line 61
11516 return ((char *)"CAPI not installed");
11517 case_4106:
11518#line 63
11519 return ((char *)"Controller does not support external equipment");
11520 case_4107:
11521#line 65
11522 return ((char *)"Controller does only support external equipment");
11523 case_4353:
11524#line 69
11525 return ((char *)"Illegal application number");
11526 case_4354:
11527#line 71
11528 return ((char *)"Illegal command or subcommand or message length less than 12 bytes");
11529 case_4355:
11530#line 73
11531 return ((char *)"The message could not be accepted because of a queue full condition !! The error code does not imply that CAPI cannot receive messages directed to another controller, PLCI or NCCI");
11532 case_4356:
11533#line 75
11534 return ((char *)"Queue is empty");
11535 case_4357:
11536#line 77
11537 return ((char *)"Queue overflow, a message was lost !! This indicates a configuration error. The only recovery from this error is to perform a CAPI_RELEASE");
11538 case_4358:
11539#line 79
11540 return ((char *)"Unknown notification parameter");
11541 case_4359:
11542#line 81
11543 return ((char *)"The Message could not be accepted because of an internal busy condition");
11544 case_4360:
11545#line 83
11546 return ((char *)"OS Resource error (no memory ?)");
11547 case_4361:
11548#line 85
11549 return ((char *)"CAPI not installed");
11550 case_4362:
11551#line 87
11552 return ((char *)"Controller does not support external equipment");
11553 case_4363:
11554#line 89
11555 return ((char *)"Controller does only support external equipment");
11556 case_8193:
11557#line 93
11558 return ((char *)"Message not supported in current state");
11559 case_8194:
11560#line 95
11561 return ((char *)"Illegal Controller / PLCI / NCCI");
11562 case_8195:
11563#line 97
11564 return ((char *)"Out of PLCI");
11565 case_8196:
11566#line 99
11567 return ((char *)"Out of NCCI");
11568 case_8197:
11569#line 101
11570 return ((char *)"Out of LISTEN");
11571 case_8198:
11572#line 103
11573 return ((char *)"Out of FAX resources (protocol T.30)");
11574 case_8199:
11575#line 105
11576 return ((char *)"Illegal message parameter coding");
11577 case_12289:
11578#line 109
11579 return ((char *)"B1 protocol not supported");
11580 case_12290:
11581#line 111
11582 return ((char *)"B2 protocol not supported");
11583 case_12291:
11584#line 113
11585 return ((char *)"B3 protocol not supported");
11586 case_12292:
11587#line 115
11588 return ((char *)"B1 protocol parameter not supported");
11589 case_12293:
11590#line 117
11591 return ((char *)"B2 protocol parameter not supported");
11592 case_12294:
11593#line 119
11594 return ((char *)"B3 protocol parameter not supported");
11595 case_12295:
11596#line 121
11597 return ((char *)"B protocol combination not supported");
11598 case_12296:
11599#line 123
11600 return ((char *)"NCPI not supported");
11601 case_12297:
11602#line 125
11603 return ((char *)"CIP Value unknown");
11604 case_12298:
11605#line 127
11606 return ((char *)"Flags not supported (reserved bits)");
11607 case_12299:
11608#line 129
11609 return ((char *)"Facility not supported");
11610 case_12300:
11611#line 131
11612 return ((char *)"Data length not supported by current protocol");
11613 case_12301:
11614#line 133
11615 return ((char *)"Reset procedure not supported by current protocol");
11616 case_13057:
11617#line 137
11618 return ((char *)"Protocol error layer 1 (broken line or B-channel removed by signalling protocol)");
11619 case_13058:
11620#line 139
11621 return ((char *)"Protocol error layer 2");
11622 case_13059:
11623#line 141
11624 return ((char *)"Protocol error layer 3");
11625 case_13060:
11626#line 143
11627 return ((char *)"Another application got that call");
11628 case_13073:
11629#line 146
11630 return ((char *)"Connecting not successful (remote station is no FAX G3 machine)");
11631 case_13074:
11632#line 148
11633 return ((char *)"Connecting not successful (training error)");
11634 case_13075:
11635#line 150
11636 return ((char *)"Disconnected before transfer (remote station does not support transfer mode, e.g. resolution)");
11637 case_13076:
11638#line 152
11639 return ((char *)"Disconnected during transfer (remote abort)");
11640 case_13077:
11641#line 154
11642 return ((char *)"Disconnected during transfer (remote procedure error, e.g. unsuccessful repetition of T.30 commands)");
11643 case_13078:
11644#line 156
11645 return ((char *)"Disconnected during transfer (local tx data underrun)");
11646 case_13079:
11647#line 158
11648 return ((char *)"Disconnected during transfer (local rx data overflow)");
11649 case_13080:
11650#line 160
11651 return ((char *)"Disconnected during transfer (local abort)");
11652 case_13081:
11653#line 162
11654 return ((char *)"Illegal parameter coding (e.g. SFF coding error)");
11655 case_13441:
11656#line 165
11657 return ((char *)"Unallocated (unassigned) number");
11658 case_13442:
11659#line 166
11660 return ((char *)"No route to specified transit network");
11661 case_13443:
11662#line 167
11663 return ((char *)"No route to destination");
11664 case_13446:
11665#line 168
11666 return ((char *)"Channel unacceptable");
11667 case_13447:
11668#line 170
11669 return ((char *)"Call awarded and being delivered in an established channel");
11670 case_13456:
11671#line 171
11672 return ((char *)"Normal call clearing");
11673 case_13457:
11674#line 172
11675 return ((char *)"User busy");
11676 case_13458:
11677#line 173
11678 return ((char *)"No user responding");
11679 case_13459:
11680#line 174
11681 return ((char *)"No answer from user (user alerted)");
11682 case_13461:
11683#line 175
11684 return ((char *)"Call rejected");
11685 case_13462:
11686#line 176
11687 return ((char *)"Number changed");
11688 case_13466:
11689#line 177
11690 return ((char *)"Non-selected user clearing");
11691 case_13467:
11692#line 178
11693 return ((char *)"Destination out of order");
11694 case_13468:
11695#line 179
11696 return ((char *)"Invalid number format");
11697 case_13469:
11698#line 180
11699 return ((char *)"Facility rejected");
11700 case_13470:
11701#line 181
11702 return ((char *)"Response to STATUS ENQUIRY");
11703 case_13471:
11704#line 182
11705 return ((char *)"Normal, unspecified");
11706 case_13474:
11707#line 183
11708 return ((char *)"No circuit / channel available");
11709 case_13478:
11710#line 184
11711 return ((char *)"Network out of order");
11712 case_13481:
11713#line 185
11714 return ((char *)"Temporary failure");
11715 case_13482:
11716#line 186
11717 return ((char *)"Switching equipment congestion");
11718 case_13483:
11719#line 187
11720 return ((char *)"Access information discarded");
11721 case_13484:
11722#line 188
11723 return ((char *)"Requested circuit / channel not available");
11724 case_13487:
11725#line 189
11726 return ((char *)"Resources unavailable, unspecified");
11727 case_13489:
11728#line 190
11729 return ((char *)"Quality of service unavailable");
11730 case_13490:
11731#line 191
11732 return ((char *)"Requested facility not subscribed");
11733 case_13497:
11734#line 192
11735 return ((char *)"Bearer capability not authorized");
11736 case_13498:
11737#line 193
11738 return ((char *)"Bearer capability not presently available");
11739 case_13503:
11740#line 194
11741 return ((char *)"Service or option not available, unspecified");
11742 case_13505:
11743#line 195
11744 return ((char *)"Bearer capability not implemented");
11745 case_13506:
11746#line 196
11747 return ((char *)"Channel type not implemented");
11748 case_13509:
11749#line 197
11750 return ((char *)"Requested facility not implemented");
11751 case_13510:
11752#line 198
11753 return ((char *)"Only restricted digital information bearer capability is available");
11754 case_13519:
11755#line 199
11756 return ((char *)"Service or option not implemented, unspecified");
11757 case_13521:
11758#line 200
11759 return ((char *)"Invalid call reference value");
11760 case_13522:
11761#line 201
11762 return ((char *)"Identified channel does not exist");
11763 case_13523:
11764#line 202
11765 return ((char *)"A suspended call exists, but this call identity does not");
11766 case_13524:
11767#line 203
11768 return ((char *)"Call identity in use");
11769 case_13525:
11770#line 204
11771 return ((char *)"No call suspended");
11772 case_13526:
11773#line 205
11774 return ((char *)"Call having the requested call identity has been cleared");
11775 case_13528:
11776#line 206
11777 return ((char *)"Incompatible destination");
11778 case_13531:
11779#line 207
11780 return ((char *)"Invalid transit network selection");
11781 case_13535:
11782#line 208
11783 return ((char *)"Invalid message, unspecified");
11784 case_13536:
11785#line 209
11786 return ((char *)"Mandatory information element is missing");
11787 case_13537:
11788#line 210
11789 return ((char *)"Message type non-existent or not implemented");
11790 case_13538:
11791#line 211
11792 return ((char *)"Message not compatible with call state or message type non-existent or not implemented");
11793 case_13539:
11794#line 212
11795 return ((char *)"Information element non-existent or not implemented");
11796 case_13540:
11797#line 213
11798 return ((char *)"Invalid information element contents");
11799 case_13541:
11800#line 214
11801 return ((char *)"Message not compatible with call state");
11802 case_13542:
11803#line 215
11804 return ((char *)"Recovery on timer expiry");
11805 case_13551:
11806#line 216
11807 return ((char *)"Protocol error, unspecified");
11808 case_13567:
11809#line 217
11810 return ((char *)"Interworking, unspecified");
11811 switch_default:
11812#line 219
11813 return ((char *)"No additional information");
11814 } else {
11815 switch_break: ;
11816 }
11817 }
11818 }
11819}
11820}
11821#line 236 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
11822static _cdef cdef[48] =
11823#line 236
11824 { {6, 0UL},
11825 {6, 0UL},
11826 {6, 0UL},
11827 {3, (size_t )((unsigned int )(& ((_cmsg *)0)->adr.adrController))},
11828 {5, (size_t )((unsigned int )(& ((_cmsg *)0)->AdditionalInfo))},
11829 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->B1configuration))},
11830 {2, (size_t )((unsigned int )(& ((_cmsg *)0)->B1protocol))},
11831 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->B2configuration))},
11832 {2, (size_t )((unsigned int )(& ((_cmsg *)0)->B2protocol))},
11833 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->B3configuration))},
11834 {2, (size_t )((unsigned int )(& ((_cmsg *)0)->B3protocol))},
11835 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->BC))},
11836 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->BChannelinformation))},
11837 {5, (size_t )((unsigned int )(& ((_cmsg *)0)->BProtocol))},
11838 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->CalledPartyNumber))},
11839 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->CalledPartySubaddress))},
11840 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->CallingPartyNumber))},
11841 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->CallingPartySubaddress))},
11842 {3, (size_t )((unsigned int )(& ((_cmsg *)0)->CIPmask))},
11843 {3, (size_t )((unsigned int )(& ((_cmsg *)0)->CIPmask2))},
11844 {2, (size_t )((unsigned int )(& ((_cmsg *)0)->CIPValue))},
11845 {3, (size_t )((unsigned int )(& ((_cmsg *)0)->Class))},
11846 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->ConnectedNumber))},
11847 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->ConnectedSubaddress))},
11848 {3, (size_t )((unsigned int )(& ((_cmsg *)0)->Data))},
11849 {2, (size_t )((unsigned int )(& ((_cmsg *)0)->DataHandle))},
11850 {2, (size_t )((unsigned int )(& ((_cmsg *)0)->DataLength))},
11851 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->FacilityConfirmationParameter))},
11852 {4,
11853 (size_t )((unsigned int )(& ((_cmsg *)0)->Facilitydataarray))},
11854 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->FacilityIndicationParameter))},
11855 {4,
11856 (size_t )((unsigned int )(& ((_cmsg *)0)->FacilityRequestParameter))},
11857 {2, (size_t )((unsigned int )(& ((_cmsg *)0)->FacilitySelector))},
11858 {2, (size_t )((unsigned int )(& ((_cmsg *)0)->Flags))},
11859 {3, (size_t )((unsigned int )(& ((_cmsg *)0)->Function))},
11860 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->HLC))},
11861 {2, (size_t )((unsigned int )(& ((_cmsg *)0)->Info))},
11862 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->InfoElement))},
11863 {3, (size_t )((unsigned int )(& ((_cmsg *)0)->InfoMask))},
11864 {2, (size_t )((unsigned int )(& ((_cmsg *)0)->InfoNumber))},
11865 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->Keypadfacility))},
11866 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->LLC))},
11867 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->ManuData))},
11868 {3, (size_t )((unsigned int )(& ((_cmsg *)0)->ManuID))},
11869 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->NCPI))},
11870 {2, (size_t )((unsigned int )(& ((_cmsg *)0)->Reason))},
11871 {2, (size_t )((unsigned int )(& ((_cmsg *)0)->Reason_B3))},
11872 {2, (size_t )((unsigned int )(& ((_cmsg *)0)->Reject))},
11873 {4, (size_t )((unsigned int )(& ((_cmsg *)0)->Useruserdata))}};
11874#line 336 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
11875static unsigned char *cpars[79] =
11876#line 336
11877 { (unsigned char *)0, (unsigned char *)"\003\004\f\'/\034\001\001", (unsigned char *)"\003\024\016\020\017\021\r\006\b\n\005\a\t\001\v(\"\004\f\'/\034\001\001", (unsigned char *)0,
11878 (unsigned char *)"\003\004\f\'/\034\001\001", (unsigned char *)"\003%\022\023\020\021\001", (unsigned char *)0, (unsigned char *)0,
11879 (unsigned char *)"\003\016\004\f\'/\034\001\001", (unsigned char *)"\003\037\036\001", (unsigned char *)"\003\r\006\b\n\005\a\t\001\001", (unsigned char *)"\003+\001",
11880 (unsigned char *)0, (unsigned char *)"\003+\001", (unsigned char *)0, (unsigned char *)"\003\030\032\031 \001",
11881 (unsigned char *)"\003+\001", (unsigned char *)0, (unsigned char *)0, (unsigned char *)"\003#\001",
11882 (unsigned char *)"\003#\001", (unsigned char *)0, (unsigned char *)"\003#\001", (unsigned char *)"\003#\001",
11883 (unsigned char *)"\003*\025!)\001", (unsigned char *)0, (unsigned char *)"\003#\001", (unsigned char *)"\003#\037\033\001",
11884 (unsigned char *)"\003#\001", (unsigned char *)"\003#\001", (unsigned char *)0, (unsigned char *)"\003#\001",
11885 (unsigned char *)0, (unsigned char *)"\003\031#\001", (unsigned char *)"\003#\001", (unsigned char *)0,
11886 (unsigned char *)0, (unsigned char *)0, (unsigned char *)"\003\024\016\020\017\021\v(\"\004\f\'/\034\001\001", (unsigned char *)"\003\026\027(\001",
11887 (unsigned char *)"\003,\001", (unsigned char *)0, (unsigned char *)"\003*\025!)\001", (unsigned char *)0,
11888 (unsigned char *)"\003&$\001", (unsigned char *)"\003\037\035\001", (unsigned char *)0, (unsigned char *)"\003+\001",
11889 (unsigned char *)"\003+\001", (unsigned char *)"\003-+\001", (unsigned char *)0, (unsigned char *)"\003\030\032\031 \001",
11890 (unsigned char *)"\003+\001", (unsigned char *)"\003+\001", (unsigned char *)0, (unsigned char *)0,
11891 (unsigned char *)"\003.\r\006\b\n\005\a\t\001\026\027(\004\f\'/\034\001\001", (unsigned char *)"\003\001", (unsigned char *)"\003\001", (unsigned char *)0,
11892 (unsigned char *)"\003*\025!)\001", (unsigned char *)0, (unsigned char *)"\003\001", (unsigned char *)"\003\037\001",
11893 (unsigned char *)0, (unsigned char *)"\003.+\001", (unsigned char *)"\003\001", (unsigned char *)"\003\001",
11894 (unsigned char *)0, (unsigned char *)"\003\031\001", (unsigned char *)"\003\001", (unsigned char *)"\003\001",
11895 (unsigned char *)0, (unsigned char *)0, (unsigned char *)0, (unsigned char *)0,
11896 (unsigned char *)0, (unsigned char *)0, (unsigned char *)"\003*\025!)\001"};
11897#line 403 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
11898static unsigned int command_2_index(unsigned int c , unsigned int sc )
11899{ unsigned int __cil_tmp3 ;
11900 unsigned int __cil_tmp4 ;
11901 unsigned int __cil_tmp5 ;
11902
11903 {
11904#line 405
11905 if (c & 128U) {
11906#line 406
11907 __cil_tmp3 = c & 15U;
11908#line 406
11909 c = 9U + __cil_tmp3;
11910 } else
11911#line 407
11912 if (c <= 15U) {
11913
11914 } else
11915#line 408
11916 if (c == 65U) {
11917#line 409
11918 c = 10U;
11919 } else
11920#line 410
11921 if (c == 255U) {
11922#line 411
11923 c = 0U;
11924 } else {
11925
11926 }
11927 {
11928#line 412
11929 __cil_tmp4 = sc & 3U;
11930#line 412
11931 __cil_tmp5 = __cil_tmp4 * 18U;
11932#line 412
11933 return (__cil_tmp5 + c);
11934 }
11935}
11936}
11937#line 419 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
11938static void jumpcstruct(_cmsg *cmsg )
11939{ unsigned int layer ;
11940 unsigned long __cil_tmp3 ;
11941 unsigned long __cil_tmp4 ;
11942 unsigned long __cil_tmp5 ;
11943 unsigned long __cil_tmp6 ;
11944 unsigned int __cil_tmp7 ;
11945 unsigned long __cil_tmp8 ;
11946 unsigned long __cil_tmp9 ;
11947 unsigned long __cil_tmp10 ;
11948 unsigned long __cil_tmp11 ;
11949 unsigned int __cil_tmp12 ;
11950 unsigned long __cil_tmp13 ;
11951 unsigned long __cil_tmp14 ;
11952 unsigned int __cil_tmp15 ;
11953 unsigned long __cil_tmp16 ;
11954 unsigned long __cil_tmp17 ;
11955 unsigned char *__cil_tmp18 ;
11956 unsigned char *__cil_tmp19 ;
11957 unsigned char __cil_tmp20 ;
11958 unsigned long __cil_tmp21 ;
11959 unsigned long __cil_tmp22 ;
11960
11961 {
11962#line 422
11963 __cil_tmp3 = (unsigned long )cmsg;
11964#line 422
11965 __cil_tmp4 = __cil_tmp3 + 292;
11966#line 422
11967 __cil_tmp5 = (unsigned long )cmsg;
11968#line 422
11969 __cil_tmp6 = __cil_tmp5 + 292;
11970#line 422
11971 __cil_tmp7 = *((unsigned int *)__cil_tmp6);
11972#line 422
11973 *((unsigned int *)__cil_tmp4) = __cil_tmp7 + 1U;
11974#line 422
11975 layer = 1U;
11976 {
11977#line 422
11978 while (1) {
11979 while_continue: ;
11980#line 422
11981 if (layer) {
11982
11983 } else {
11984#line 422
11985 goto while_break;
11986 }
11987#line 424
11988 __cil_tmp8 = (unsigned long )cmsg;
11989#line 424
11990 __cil_tmp9 = __cil_tmp8 + 292;
11991#line 424
11992 __cil_tmp10 = (unsigned long )cmsg;
11993#line 424
11994 __cil_tmp11 = __cil_tmp10 + 292;
11995#line 424
11996 __cil_tmp12 = *((unsigned int *)__cil_tmp11);
11997#line 424
11998 *((unsigned int *)__cil_tmp9) = __cil_tmp12 + 1U;
11999 {
12000#line 425
12001 __cil_tmp13 = (unsigned long )cmsg;
12002#line 425
12003 __cil_tmp14 = __cil_tmp13 + 292;
12004#line 425
12005 __cil_tmp15 = *((unsigned int *)__cil_tmp14);
12006#line 425
12007 __cil_tmp16 = (unsigned long )cmsg;
12008#line 425
12009 __cil_tmp17 = __cil_tmp16 + 296;
12010#line 425
12011 __cil_tmp18 = *((unsigned char **)__cil_tmp17);
12012#line 425
12013 __cil_tmp19 = __cil_tmp18 + __cil_tmp15;
12014#line 425
12015 __cil_tmp20 = *__cil_tmp19;
12016#line 425
12017 __cil_tmp21 = __cil_tmp20 * 16UL;
12018#line 425
12019 __cil_tmp22 = (unsigned long )(cdef) + __cil_tmp21;
12020#line 426
12021 if (*((int *)__cil_tmp22) == 5) {
12022#line 426
12023 goto case_5;
12024 } else
12025#line 429
12026 if (*((int *)__cil_tmp22) == 6) {
12027#line 429
12028 goto case_6;
12029 } else
12030#line 425
12031 if (0) {
12032 case_5:
12033#line 427
12034 layer = layer + 1U;
12035#line 428
12036 goto switch_break;
12037 case_6:
12038#line 430
12039 layer = layer - 1U;
12040#line 431
12041 goto switch_break;
12042 } else {
12043 switch_break: ;
12044 }
12045 }
12046 }
12047 while_break: ;
12048 }
12049#line 434
12050 return;
12051}
12052}
12053#line 436 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
12054static void pars_2_message(_cmsg *cmsg )
12055{ size_t __len ;
12056 void *__ret ;
12057 size_t __len___0 ;
12058 void *__ret___0 ;
12059 _cstruct s ;
12060 size_t __len___1 ;
12061 void *__ret___1 ;
12062 unsigned int _l ;
12063 unsigned int _ls ;
12064 unsigned long __cil_tmp11 ;
12065 unsigned long __cil_tmp12 ;
12066 unsigned int __cil_tmp13 ;
12067 unsigned long __cil_tmp14 ;
12068 unsigned long __cil_tmp15 ;
12069 unsigned char *__cil_tmp16 ;
12070 unsigned char *__cil_tmp17 ;
12071 unsigned char __cil_tmp18 ;
12072 unsigned long __cil_tmp19 ;
12073 unsigned long __cil_tmp20 ;
12074 int __cil_tmp21 ;
12075 unsigned long __cil_tmp22 ;
12076 unsigned long __cil_tmp23 ;
12077 unsigned int __cil_tmp24 ;
12078 unsigned long __cil_tmp25 ;
12079 unsigned long __cil_tmp26 ;
12080 unsigned char *__cil_tmp27 ;
12081 unsigned char *__cil_tmp28 ;
12082 unsigned char __cil_tmp29 ;
12083 unsigned long __cil_tmp30 ;
12084 unsigned long __cil_tmp31 ;
12085 unsigned long __cil_tmp32 ;
12086 unsigned long __cil_tmp33 ;
12087 unsigned int __cil_tmp34 ;
12088 unsigned long __cil_tmp35 ;
12089 unsigned long __cil_tmp36 ;
12090 __u8 *__cil_tmp37 ;
12091 __u8 *__cil_tmp38 ;
12092 unsigned long __cil_tmp39 ;
12093 unsigned long __cil_tmp40 ;
12094 unsigned int __cil_tmp41 ;
12095 unsigned long __cil_tmp42 ;
12096 unsigned long __cil_tmp43 ;
12097 unsigned char *__cil_tmp44 ;
12098 unsigned char *__cil_tmp45 ;
12099 unsigned char __cil_tmp46 ;
12100 unsigned long __cil_tmp47 ;
12101 unsigned long __cil_tmp48 ;
12102 unsigned long __cil_tmp49 ;
12103 size_t __cil_tmp50 ;
12104 u8 *__cil_tmp51 ;
12105 u8 *__cil_tmp52 ;
12106 unsigned long __cil_tmp53 ;
12107 unsigned long __cil_tmp54 ;
12108 unsigned long __cil_tmp55 ;
12109 unsigned long __cil_tmp56 ;
12110 unsigned int __cil_tmp57 ;
12111 unsigned long __cil_tmp58 ;
12112 unsigned long __cil_tmp59 ;
12113 unsigned int __cil_tmp60 ;
12114 unsigned long __cil_tmp61 ;
12115 unsigned long __cil_tmp62 ;
12116 __u8 *__cil_tmp63 ;
12117 __u8 *__cil_tmp64 ;
12118 u16 *__cil_tmp65 ;
12119 unsigned long __cil_tmp66 ;
12120 unsigned long __cil_tmp67 ;
12121 unsigned int __cil_tmp68 ;
12122 unsigned long __cil_tmp69 ;
12123 unsigned long __cil_tmp70 ;
12124 unsigned char *__cil_tmp71 ;
12125 unsigned char *__cil_tmp72 ;
12126 unsigned char __cil_tmp73 ;
12127 unsigned long __cil_tmp74 ;
12128 unsigned long __cil_tmp75 ;
12129 unsigned long __cil_tmp76 ;
12130 size_t __cil_tmp77 ;
12131 u8 *__cil_tmp78 ;
12132 u8 *__cil_tmp79 ;
12133 u16 *__cil_tmp80 ;
12134 unsigned long __cil_tmp81 ;
12135 unsigned long __cil_tmp82 ;
12136 unsigned long __cil_tmp83 ;
12137 unsigned long __cil_tmp84 ;
12138 unsigned int __cil_tmp85 ;
12139 unsigned long __cil_tmp86 ;
12140 unsigned long __cil_tmp87 ;
12141 unsigned int __cil_tmp88 ;
12142 unsigned long __cil_tmp89 ;
12143 unsigned long __cil_tmp90 ;
12144 __u8 *__cil_tmp91 ;
12145 __u8 *__cil_tmp92 ;
12146 void *__cil_tmp93 ;
12147 unsigned long __cil_tmp94 ;
12148 unsigned long __cil_tmp95 ;
12149 unsigned int __cil_tmp96 ;
12150 unsigned long __cil_tmp97 ;
12151 unsigned long __cil_tmp98 ;
12152 unsigned char *__cil_tmp99 ;
12153 unsigned char *__cil_tmp100 ;
12154 unsigned char __cil_tmp101 ;
12155 unsigned long __cil_tmp102 ;
12156 unsigned long __cil_tmp103 ;
12157 unsigned long __cil_tmp104 ;
12158 size_t __cil_tmp105 ;
12159 u8 *__cil_tmp106 ;
12160 u8 *__cil_tmp107 ;
12161 void *__cil_tmp108 ;
12162 unsigned long __cil_tmp109 ;
12163 unsigned long __cil_tmp110 ;
12164 unsigned int __cil_tmp111 ;
12165 unsigned long __cil_tmp112 ;
12166 unsigned long __cil_tmp113 ;
12167 __u8 *__cil_tmp114 ;
12168 __u8 *__cil_tmp115 ;
12169 void *__cil_tmp116 ;
12170 unsigned long __cil_tmp117 ;
12171 unsigned long __cil_tmp118 ;
12172 unsigned int __cil_tmp119 ;
12173 unsigned long __cil_tmp120 ;
12174 unsigned long __cil_tmp121 ;
12175 unsigned char *__cil_tmp122 ;
12176 unsigned char *__cil_tmp123 ;
12177 unsigned char __cil_tmp124 ;
12178 unsigned long __cil_tmp125 ;
12179 unsigned long __cil_tmp126 ;
12180 unsigned long __cil_tmp127 ;
12181 size_t __cil_tmp128 ;
12182 u8 *__cil_tmp129 ;
12183 u8 *__cil_tmp130 ;
12184 void *__cil_tmp131 ;
12185 unsigned long __cil_tmp132 ;
12186 unsigned long __cil_tmp133 ;
12187 unsigned long __cil_tmp134 ;
12188 unsigned long __cil_tmp135 ;
12189 unsigned int __cil_tmp136 ;
12190 void *__cil_tmp137 ;
12191 unsigned long __cil_tmp138 ;
12192 unsigned long __cil_tmp139 ;
12193 unsigned long __cil_tmp140 ;
12194 unsigned int __cil_tmp141 ;
12195 unsigned long __cil_tmp142 ;
12196 unsigned long __cil_tmp143 ;
12197 unsigned char *__cil_tmp144 ;
12198 unsigned char *__cil_tmp145 ;
12199 unsigned char __cil_tmp146 ;
12200 unsigned long __cil_tmp147 ;
12201 unsigned long __cil_tmp148 ;
12202 unsigned long __cil_tmp149 ;
12203 size_t __cil_tmp150 ;
12204 u8 *__cil_tmp151 ;
12205 u8 *__cil_tmp152 ;
12206 u8 **__cil_tmp153 ;
12207 u8 *__cil_tmp154 ;
12208 unsigned long __cil_tmp155 ;
12209 unsigned long __cil_tmp156 ;
12210 unsigned long __cil_tmp157 ;
12211 unsigned int __cil_tmp158 ;
12212 unsigned long __cil_tmp159 ;
12213 unsigned long __cil_tmp160 ;
12214 __u8 *__cil_tmp161 ;
12215 __u8 *__cil_tmp162 ;
12216 unsigned long __cil_tmp163 ;
12217 unsigned long __cil_tmp164 ;
12218 unsigned long __cil_tmp165 ;
12219 unsigned long __cil_tmp166 ;
12220 unsigned int __cil_tmp167 ;
12221 unsigned long __cil_tmp168 ;
12222 unsigned long __cil_tmp169 ;
12223 unsigned int __cil_tmp170 ;
12224 unsigned long __cil_tmp171 ;
12225 unsigned long __cil_tmp172 ;
12226 unsigned char *__cil_tmp173 ;
12227 unsigned char *__cil_tmp174 ;
12228 unsigned char __cil_tmp175 ;
12229 unsigned long __cil_tmp176 ;
12230 unsigned long __cil_tmp177 ;
12231 unsigned long __cil_tmp178 ;
12232 size_t __cil_tmp179 ;
12233 u8 *__cil_tmp180 ;
12234 u8 *__cil_tmp181 ;
12235 _cstruct *__cil_tmp182 ;
12236 _cstruct __cil_tmp183 ;
12237 __u8 __cil_tmp184 ;
12238 int __cil_tmp185 ;
12239 unsigned long __cil_tmp186 ;
12240 unsigned long __cil_tmp187 ;
12241 unsigned int __cil_tmp188 ;
12242 unsigned long __cil_tmp189 ;
12243 unsigned long __cil_tmp190 ;
12244 unsigned char *__cil_tmp191 ;
12245 unsigned char *__cil_tmp192 ;
12246 unsigned char __cil_tmp193 ;
12247 unsigned long __cil_tmp194 ;
12248 unsigned long __cil_tmp195 ;
12249 unsigned long __cil_tmp196 ;
12250 size_t __cil_tmp197 ;
12251 u8 *__cil_tmp198 ;
12252 u8 *__cil_tmp199 ;
12253 _cstruct *__cil_tmp200 ;
12254 _cstruct __cil_tmp201 ;
12255 __u8 __cil_tmp202 ;
12256 int __cil_tmp203 ;
12257 int __cil_tmp204 ;
12258 unsigned long __cil_tmp205 ;
12259 unsigned long __cil_tmp206 ;
12260 unsigned int __cil_tmp207 ;
12261 unsigned long __cil_tmp208 ;
12262 unsigned long __cil_tmp209 ;
12263 __u8 *__cil_tmp210 ;
12264 __u8 *__cil_tmp211 ;
12265 void *__cil_tmp212 ;
12266 unsigned long __cil_tmp213 ;
12267 unsigned long __cil_tmp214 ;
12268 unsigned int __cil_tmp215 ;
12269 unsigned long __cil_tmp216 ;
12270 unsigned long __cil_tmp217 ;
12271 unsigned char *__cil_tmp218 ;
12272 unsigned char *__cil_tmp219 ;
12273 unsigned char __cil_tmp220 ;
12274 unsigned long __cil_tmp221 ;
12275 unsigned long __cil_tmp222 ;
12276 unsigned long __cil_tmp223 ;
12277 size_t __cil_tmp224 ;
12278 u8 *__cil_tmp225 ;
12279 u8 *__cil_tmp226 ;
12280 _cstruct *__cil_tmp227 ;
12281 _cstruct __cil_tmp228 ;
12282 void *__cil_tmp229 ;
12283 unsigned long __cil_tmp230 ;
12284 unsigned long __cil_tmp231 ;
12285 unsigned long __cil_tmp232 ;
12286 unsigned long __cil_tmp233 ;
12287 unsigned int __cil_tmp234 ;
12288 unsigned long __cil_tmp235 ;
12289 unsigned long __cil_tmp236 ;
12290 unsigned char *__cil_tmp237 ;
12291 unsigned char *__cil_tmp238 ;
12292 unsigned char __cil_tmp239 ;
12293 unsigned long __cil_tmp240 ;
12294 unsigned long __cil_tmp241 ;
12295 unsigned long __cil_tmp242 ;
12296 size_t __cil_tmp243 ;
12297 u8 *__cil_tmp244 ;
12298 u8 *__cil_tmp245 ;
12299 _cstruct *__cil_tmp246 ;
12300 _cstruct __cil_tmp247 ;
12301 __u8 __cil_tmp248 ;
12302 int __cil_tmp249 ;
12303 int __cil_tmp250 ;
12304 unsigned int __cil_tmp251 ;
12305 unsigned long __cil_tmp252 ;
12306 unsigned long __cil_tmp253 ;
12307 unsigned int __cil_tmp254 ;
12308 unsigned long __cil_tmp255 ;
12309 unsigned long __cil_tmp256 ;
12310 unsigned int __cil_tmp257 ;
12311 unsigned long __cil_tmp258 ;
12312 unsigned long __cil_tmp259 ;
12313 unsigned char *__cil_tmp260 ;
12314 unsigned char *__cil_tmp261 ;
12315 unsigned char __cil_tmp262 ;
12316 unsigned long __cil_tmp263 ;
12317 unsigned long __cil_tmp264 ;
12318 unsigned long __cil_tmp265 ;
12319 size_t __cil_tmp266 ;
12320 u8 *__cil_tmp267 ;
12321 u8 *__cil_tmp268 ;
12322 _cstruct *__cil_tmp269 ;
12323 _cstruct __cil_tmp270 ;
12324 u16 *__cil_tmp271 ;
12325 u16 __cil_tmp272 ;
12326 int __cil_tmp273 ;
12327 int __cil_tmp274 ;
12328 unsigned long __cil_tmp275 ;
12329 unsigned long __cil_tmp276 ;
12330 unsigned int __cil_tmp277 ;
12331 unsigned long __cil_tmp278 ;
12332 unsigned long __cil_tmp279 ;
12333 __u8 *__cil_tmp280 ;
12334 __u8 *__cil_tmp281 ;
12335 void *__cil_tmp282 ;
12336 void *__cil_tmp283 ;
12337 unsigned long __cil_tmp284 ;
12338 unsigned long __cil_tmp285 ;
12339 _cstruct __cil_tmp286 ;
12340 u16 *__cil_tmp287 ;
12341 u16 __cil_tmp288 ;
12342 int __cil_tmp289 ;
12343 int __cil_tmp290 ;
12344 unsigned int __cil_tmp291 ;
12345 unsigned long __cil_tmp292 ;
12346 unsigned long __cil_tmp293 ;
12347 unsigned int __cil_tmp294 ;
12348 unsigned long __cil_tmp295 ;
12349 unsigned long __cil_tmp296 ;
12350 unsigned int __cil_tmp297 ;
12351 unsigned long __cil_tmp298 ;
12352 unsigned long __cil_tmp299 ;
12353 unsigned char *__cil_tmp300 ;
12354 unsigned char *__cil_tmp301 ;
12355 unsigned char __cil_tmp302 ;
12356 unsigned long __cil_tmp303 ;
12357 unsigned long __cil_tmp304 ;
12358 unsigned long __cil_tmp305 ;
12359 size_t __cil_tmp306 ;
12360 u8 *__cil_tmp307 ;
12361 u8 *__cil_tmp308 ;
12362 _cmstruct *__cil_tmp309 ;
12363 _cmstruct __cil_tmp310 ;
12364 unsigned int __cil_tmp311 ;
12365 unsigned long __cil_tmp312 ;
12366 unsigned long __cil_tmp313 ;
12367 unsigned int __cil_tmp314 ;
12368 unsigned long __cil_tmp315 ;
12369 unsigned long __cil_tmp316 ;
12370 __u8 *__cil_tmp317 ;
12371 __u8 *__cil_tmp318 ;
12372 unsigned long __cil_tmp319 ;
12373 unsigned long __cil_tmp320 ;
12374 unsigned long __cil_tmp321 ;
12375 unsigned long __cil_tmp322 ;
12376 unsigned int __cil_tmp323 ;
12377 unsigned long __cil_tmp324 ;
12378 unsigned long __cil_tmp325 ;
12379 unsigned long __cil_tmp326 ;
12380 unsigned long __cil_tmp327 ;
12381 unsigned long __cil_tmp328 ;
12382 unsigned long __cil_tmp329 ;
12383 unsigned int __cil_tmp330 ;
12384 unsigned long __cil_tmp331 ;
12385 unsigned long __cil_tmp332 ;
12386 unsigned long __cil_tmp333 ;
12387 unsigned long __cil_tmp334 ;
12388 unsigned int __cil_tmp335 ;
12389 unsigned int *__cil_tmp336 ;
12390 unsigned long __cil_tmp337 ;
12391 unsigned long __cil_tmp338 ;
12392 unsigned int __cil_tmp339 ;
12393 unsigned int __cil_tmp340 ;
12394 unsigned int *__cil_tmp341 ;
12395 unsigned int __cil_tmp342 ;
12396 unsigned long __cil_tmp343 ;
12397 unsigned long __cil_tmp344 ;
12398 __u8 *__cil_tmp345 ;
12399 __u8 *__cil_tmp346 ;
12400 __u8 *__cil_tmp347 ;
12401 unsigned int *__cil_tmp348 ;
12402 unsigned int __cil_tmp349 ;
12403 unsigned long __cil_tmp350 ;
12404 unsigned long __cil_tmp351 ;
12405 __u8 *__cil_tmp352 ;
12406 __u8 *__cil_tmp353 ;
12407 __u8 *__cil_tmp354 ;
12408 void *__cil_tmp355 ;
12409 unsigned long __cil_tmp356 ;
12410 unsigned long __cil_tmp357 ;
12411 __u8 *__cil_tmp358 ;
12412 __u8 *__cil_tmp359 ;
12413 __u8 *__cil_tmp360 ;
12414 void *__cil_tmp361 ;
12415 unsigned int *__cil_tmp362 ;
12416 unsigned int __cil_tmp363 ;
12417 size_t __cil_tmp364 ;
12418 unsigned long __cil_tmp365 ;
12419 unsigned long __cil_tmp366 ;
12420 __u8 *__cil_tmp367 ;
12421 __u8 *__cil_tmp368 ;
12422 __u8 *__cil_tmp369 ;
12423 unsigned long __cil_tmp370 ;
12424 unsigned long __cil_tmp371 ;
12425 __u8 *__cil_tmp372 ;
12426 __u8 *__cil_tmp373 ;
12427 __u8 *__cil_tmp374 ;
12428 u16 *__cil_tmp375 ;
12429 u16 *__cil_tmp376 ;
12430 unsigned long __cil_tmp377 ;
12431 unsigned long __cil_tmp378 ;
12432 unsigned long __cil_tmp379 ;
12433 unsigned long __cil_tmp380 ;
12434 unsigned int __cil_tmp381 ;
12435
12436 {
12437 {
12438#line 439
12439 while (1) {
12440 while_continue: ;
12441 {
12442#line 439
12443 __cil_tmp11 = (unsigned long )cmsg;
12444#line 439
12445 __cil_tmp12 = __cil_tmp11 + 292;
12446#line 439
12447 __cil_tmp13 = *((unsigned int *)__cil_tmp12);
12448#line 439
12449 __cil_tmp14 = (unsigned long )cmsg;
12450#line 439
12451 __cil_tmp15 = __cil_tmp14 + 296;
12452#line 439
12453 __cil_tmp16 = *((unsigned char **)__cil_tmp15);
12454#line 439
12455 __cil_tmp17 = __cil_tmp16 + __cil_tmp13;
12456#line 439
12457 __cil_tmp18 = *__cil_tmp17;
12458#line 439
12459 __cil_tmp19 = __cil_tmp18 * 16UL;
12460#line 439
12461 __cil_tmp20 = (unsigned long )(cdef) + __cil_tmp19;
12462#line 439
12463 __cil_tmp21 = *((int *)__cil_tmp20);
12464#line 439
12465 if (__cil_tmp21 != 6) {
12466
12467 } else {
12468#line 439
12469 goto while_break;
12470 }
12471 }
12472 {
12473#line 440
12474 __cil_tmp22 = (unsigned long )cmsg;
12475#line 440
12476 __cil_tmp23 = __cil_tmp22 + 292;
12477#line 440
12478 __cil_tmp24 = *((unsigned int *)__cil_tmp23);
12479#line 440
12480 __cil_tmp25 = (unsigned long )cmsg;
12481#line 440
12482 __cil_tmp26 = __cil_tmp25 + 296;
12483#line 440
12484 __cil_tmp27 = *((unsigned char **)__cil_tmp26);
12485#line 440
12486 __cil_tmp28 = __cil_tmp27 + __cil_tmp24;
12487#line 440
12488 __cil_tmp29 = *__cil_tmp28;
12489#line 440
12490 __cil_tmp30 = __cil_tmp29 * 16UL;
12491#line 440
12492 __cil_tmp31 = (unsigned long )(cdef) + __cil_tmp30;
12493#line 441
12494 if (*((int *)__cil_tmp31) == 1) {
12495#line 441
12496 goto case_1;
12497 } else
12498#line 445
12499 if (*((int *)__cil_tmp31) == 2) {
12500#line 445
12501 goto case_2;
12502 } else
12503#line 449
12504 if (*((int *)__cil_tmp31) == 3) {
12505#line 449
12506 goto case_3;
12507 } else
12508#line 453
12509 if (*((int *)__cil_tmp31) == 4) {
12510#line 453
12511 goto case_4;
12512 } else
12513#line 466
12514 if (*((int *)__cil_tmp31) == 5) {
12515#line 466
12516 goto case_5;
12517 } else
12518#line 440
12519 if (0) {
12520 case_1:
12521#line 442
12522 __cil_tmp32 = (unsigned long )cmsg;
12523#line 442
12524 __cil_tmp33 = __cil_tmp32 + 288;
12525#line 442
12526 __cil_tmp34 = *((unsigned int *)__cil_tmp33);
12527#line 442
12528 __cil_tmp35 = (unsigned long )cmsg;
12529#line 442
12530 __cil_tmp36 = __cil_tmp35 + 304;
12531#line 442
12532 __cil_tmp37 = *((__u8 **)__cil_tmp36);
12533#line 442
12534 __cil_tmp38 = __cil_tmp37 + __cil_tmp34;
12535#line 442
12536 __cil_tmp39 = (unsigned long )cmsg;
12537#line 442
12538 __cil_tmp40 = __cil_tmp39 + 292;
12539#line 442
12540 __cil_tmp41 = *((unsigned int *)__cil_tmp40);
12541#line 442
12542 __cil_tmp42 = (unsigned long )cmsg;
12543#line 442
12544 __cil_tmp43 = __cil_tmp42 + 296;
12545#line 442
12546 __cil_tmp44 = *((unsigned char **)__cil_tmp43);
12547#line 442
12548 __cil_tmp45 = __cil_tmp44 + __cil_tmp41;
12549#line 442
12550 __cil_tmp46 = *__cil_tmp45;
12551#line 442
12552 __cil_tmp47 = __cil_tmp46 * 16UL;
12553#line 442
12554 __cil_tmp48 = __cil_tmp47 + 8;
12555#line 442
12556 __cil_tmp49 = (unsigned long )(cdef) + __cil_tmp48;
12557#line 442
12558 __cil_tmp50 = *((size_t *)__cil_tmp49);
12559#line 442
12560 __cil_tmp51 = (u8 *)cmsg;
12561#line 442
12562 __cil_tmp52 = __cil_tmp51 + __cil_tmp50;
12563#line 442
12564 *__cil_tmp38 = *__cil_tmp52;
12565#line 443
12566 __cil_tmp53 = (unsigned long )cmsg;
12567#line 443
12568 __cil_tmp54 = __cil_tmp53 + 288;
12569#line 443
12570 __cil_tmp55 = (unsigned long )cmsg;
12571#line 443
12572 __cil_tmp56 = __cil_tmp55 + 288;
12573#line 443
12574 __cil_tmp57 = *((unsigned int *)__cil_tmp56);
12575#line 443
12576 *((unsigned int *)__cil_tmp54) = __cil_tmp57 + 1U;
12577#line 444
12578 goto switch_break;
12579 case_2:
12580#line 446
12581 __cil_tmp58 = (unsigned long )cmsg;
12582#line 446
12583 __cil_tmp59 = __cil_tmp58 + 288;
12584#line 446
12585 __cil_tmp60 = *((unsigned int *)__cil_tmp59);
12586#line 446
12587 __cil_tmp61 = (unsigned long )cmsg;
12588#line 446
12589 __cil_tmp62 = __cil_tmp61 + 304;
12590#line 446
12591 __cil_tmp63 = *((__u8 **)__cil_tmp62);
12592#line 446
12593 __cil_tmp64 = __cil_tmp63 + __cil_tmp60;
12594#line 446
12595 __cil_tmp65 = (u16 *)__cil_tmp64;
12596#line 446
12597 __cil_tmp66 = (unsigned long )cmsg;
12598#line 446
12599 __cil_tmp67 = __cil_tmp66 + 292;
12600#line 446
12601 __cil_tmp68 = *((unsigned int *)__cil_tmp67);
12602#line 446
12603 __cil_tmp69 = (unsigned long )cmsg;
12604#line 446
12605 __cil_tmp70 = __cil_tmp69 + 296;
12606#line 446
12607 __cil_tmp71 = *((unsigned char **)__cil_tmp70);
12608#line 446
12609 __cil_tmp72 = __cil_tmp71 + __cil_tmp68;
12610#line 446
12611 __cil_tmp73 = *__cil_tmp72;
12612#line 446
12613 __cil_tmp74 = __cil_tmp73 * 16UL;
12614#line 446
12615 __cil_tmp75 = __cil_tmp74 + 8;
12616#line 446
12617 __cil_tmp76 = (unsigned long )(cdef) + __cil_tmp75;
12618#line 446
12619 __cil_tmp77 = *((size_t *)__cil_tmp76);
12620#line 446
12621 __cil_tmp78 = (u8 *)cmsg;
12622#line 446
12623 __cil_tmp79 = __cil_tmp78 + __cil_tmp77;
12624#line 446
12625 __cil_tmp80 = (u16 *)__cil_tmp79;
12626#line 446
12627 *__cil_tmp65 = *__cil_tmp80;
12628#line 447
12629 __cil_tmp81 = (unsigned long )cmsg;
12630#line 447
12631 __cil_tmp82 = __cil_tmp81 + 288;
12632#line 447
12633 __cil_tmp83 = (unsigned long )cmsg;
12634#line 447
12635 __cil_tmp84 = __cil_tmp83 + 288;
12636#line 447
12637 __cil_tmp85 = *((unsigned int *)__cil_tmp84);
12638#line 447
12639 *((unsigned int *)__cil_tmp82) = __cil_tmp85 + 2U;
12640#line 448
12641 goto switch_break;
12642 case_3:
12643#line 450
12644 __len = (size_t )4;
12645#line 450
12646 if (__len >= 64UL) {
12647 {
12648#line 450
12649 __cil_tmp86 = (unsigned long )cmsg;
12650#line 450
12651 __cil_tmp87 = __cil_tmp86 + 288;
12652#line 450
12653 __cil_tmp88 = *((unsigned int *)__cil_tmp87);
12654#line 450
12655 __cil_tmp89 = (unsigned long )cmsg;
12656#line 450
12657 __cil_tmp90 = __cil_tmp89 + 304;
12658#line 450
12659 __cil_tmp91 = *((__u8 **)__cil_tmp90);
12660#line 450
12661 __cil_tmp92 = __cil_tmp91 + __cil_tmp88;
12662#line 450
12663 __cil_tmp93 = (void *)__cil_tmp92;
12664#line 450
12665 __cil_tmp94 = (unsigned long )cmsg;
12666#line 450
12667 __cil_tmp95 = __cil_tmp94 + 292;
12668#line 450
12669 __cil_tmp96 = *((unsigned int *)__cil_tmp95);
12670#line 450
12671 __cil_tmp97 = (unsigned long )cmsg;
12672#line 450
12673 __cil_tmp98 = __cil_tmp97 + 296;
12674#line 450
12675 __cil_tmp99 = *((unsigned char **)__cil_tmp98);
12676#line 450
12677 __cil_tmp100 = __cil_tmp99 + __cil_tmp96;
12678#line 450
12679 __cil_tmp101 = *__cil_tmp100;
12680#line 450
12681 __cil_tmp102 = __cil_tmp101 * 16UL;
12682#line 450
12683 __cil_tmp103 = __cil_tmp102 + 8;
12684#line 450
12685 __cil_tmp104 = (unsigned long )(cdef) + __cil_tmp103;
12686#line 450
12687 __cil_tmp105 = *((size_t *)__cil_tmp104);
12688#line 450
12689 __cil_tmp106 = (u8 *)cmsg;
12690#line 450
12691 __cil_tmp107 = __cil_tmp106 + __cil_tmp105;
12692#line 450
12693 __cil_tmp108 = (void *)__cil_tmp107;
12694#line 450
12695 __ret = __memcpy(__cil_tmp93, __cil_tmp108, __len);
12696 }
12697 } else {
12698 {
12699#line 450
12700 __cil_tmp109 = (unsigned long )cmsg;
12701#line 450
12702 __cil_tmp110 = __cil_tmp109 + 288;
12703#line 450
12704 __cil_tmp111 = *((unsigned int *)__cil_tmp110);
12705#line 450
12706 __cil_tmp112 = (unsigned long )cmsg;
12707#line 450
12708 __cil_tmp113 = __cil_tmp112 + 304;
12709#line 450
12710 __cil_tmp114 = *((__u8 **)__cil_tmp113);
12711#line 450
12712 __cil_tmp115 = __cil_tmp114 + __cil_tmp111;
12713#line 450
12714 __cil_tmp116 = (void *)__cil_tmp115;
12715#line 450
12716 __cil_tmp117 = (unsigned long )cmsg;
12717#line 450
12718 __cil_tmp118 = __cil_tmp117 + 292;
12719#line 450
12720 __cil_tmp119 = *((unsigned int *)__cil_tmp118);
12721#line 450
12722 __cil_tmp120 = (unsigned long )cmsg;
12723#line 450
12724 __cil_tmp121 = __cil_tmp120 + 296;
12725#line 450
12726 __cil_tmp122 = *((unsigned char **)__cil_tmp121);
12727#line 450
12728 __cil_tmp123 = __cil_tmp122 + __cil_tmp119;
12729#line 450
12730 __cil_tmp124 = *__cil_tmp123;
12731#line 450
12732 __cil_tmp125 = __cil_tmp124 * 16UL;
12733#line 450
12734 __cil_tmp126 = __cil_tmp125 + 8;
12735#line 450
12736 __cil_tmp127 = (unsigned long )(cdef) + __cil_tmp126;
12737#line 450
12738 __cil_tmp128 = *((size_t *)__cil_tmp127);
12739#line 450
12740 __cil_tmp129 = (u8 *)cmsg;
12741#line 450
12742 __cil_tmp130 = __cil_tmp129 + __cil_tmp128;
12743#line 450
12744 __cil_tmp131 = (void *)__cil_tmp130;
12745#line 450
12746 __ret = __builtin_memcpy(__cil_tmp116, __cil_tmp131, __len);
12747 }
12748 }
12749#line 451
12750 __cil_tmp132 = (unsigned long )cmsg;
12751#line 451
12752 __cil_tmp133 = __cil_tmp132 + 288;
12753#line 451
12754 __cil_tmp134 = (unsigned long )cmsg;
12755#line 451
12756 __cil_tmp135 = __cil_tmp134 + 288;
12757#line 451
12758 __cil_tmp136 = *((unsigned int *)__cil_tmp135);
12759#line 451
12760 *((unsigned int *)__cil_tmp133) = __cil_tmp136 + 4U;
12761#line 452
12762 goto switch_break;
12763 case_4:
12764 {
12765#line 454
12766 __cil_tmp137 = (void *)0;
12767#line 454
12768 __cil_tmp138 = (unsigned long )__cil_tmp137;
12769#line 454
12770 __cil_tmp139 = (unsigned long )cmsg;
12771#line 454
12772 __cil_tmp140 = __cil_tmp139 + 292;
12773#line 454
12774 __cil_tmp141 = *((unsigned int *)__cil_tmp140);
12775#line 454
12776 __cil_tmp142 = (unsigned long )cmsg;
12777#line 454
12778 __cil_tmp143 = __cil_tmp142 + 296;
12779#line 454
12780 __cil_tmp144 = *((unsigned char **)__cil_tmp143);
12781#line 454
12782 __cil_tmp145 = __cil_tmp144 + __cil_tmp141;
12783#line 454
12784 __cil_tmp146 = *__cil_tmp145;
12785#line 454
12786 __cil_tmp147 = __cil_tmp146 * 16UL;
12787#line 454
12788 __cil_tmp148 = __cil_tmp147 + 8;
12789#line 454
12790 __cil_tmp149 = (unsigned long )(cdef) + __cil_tmp148;
12791#line 454
12792 __cil_tmp150 = *((size_t *)__cil_tmp149);
12793#line 454
12794 __cil_tmp151 = (u8 *)cmsg;
12795#line 454
12796 __cil_tmp152 = __cil_tmp151 + __cil_tmp150;
12797#line 454
12798 __cil_tmp153 = (u8 **)__cil_tmp152;
12799#line 454
12800 __cil_tmp154 = *__cil_tmp153;
12801#line 454
12802 __cil_tmp155 = (unsigned long )__cil_tmp154;
12803#line 454
12804 if (__cil_tmp155 == __cil_tmp138) {
12805#line 455
12806 __cil_tmp156 = (unsigned long )cmsg;
12807#line 455
12808 __cil_tmp157 = __cil_tmp156 + 288;
12809#line 455
12810 __cil_tmp158 = *((unsigned int *)__cil_tmp157);
12811#line 455
12812 __cil_tmp159 = (unsigned long )cmsg;
12813#line 455
12814 __cil_tmp160 = __cil_tmp159 + 304;
12815#line 455
12816 __cil_tmp161 = *((__u8 **)__cil_tmp160);
12817#line 455
12818 __cil_tmp162 = __cil_tmp161 + __cil_tmp158;
12819#line 455
12820 *__cil_tmp162 = (__u8 )'\000';
12821#line 456
12822 __cil_tmp163 = (unsigned long )cmsg;
12823#line 456
12824 __cil_tmp164 = __cil_tmp163 + 288;
12825#line 456
12826 __cil_tmp165 = (unsigned long )cmsg;
12827#line 456
12828 __cil_tmp166 = __cil_tmp165 + 288;
12829#line 456
12830 __cil_tmp167 = *((unsigned int *)__cil_tmp166);
12831#line 456
12832 *((unsigned int *)__cil_tmp164) = __cil_tmp167 + 1U;
12833 } else {
12834 {
12835#line 457
12836 __cil_tmp168 = (unsigned long )cmsg;
12837#line 457
12838 __cil_tmp169 = __cil_tmp168 + 292;
12839#line 457
12840 __cil_tmp170 = *((unsigned int *)__cil_tmp169);
12841#line 457
12842 __cil_tmp171 = (unsigned long )cmsg;
12843#line 457
12844 __cil_tmp172 = __cil_tmp171 + 296;
12845#line 457
12846 __cil_tmp173 = *((unsigned char **)__cil_tmp172);
12847#line 457
12848 __cil_tmp174 = __cil_tmp173 + __cil_tmp170;
12849#line 457
12850 __cil_tmp175 = *__cil_tmp174;
12851#line 457
12852 __cil_tmp176 = __cil_tmp175 * 16UL;
12853#line 457
12854 __cil_tmp177 = __cil_tmp176 + 8;
12855#line 457
12856 __cil_tmp178 = (unsigned long )(cdef) + __cil_tmp177;
12857#line 457
12858 __cil_tmp179 = *((size_t *)__cil_tmp178);
12859#line 457
12860 __cil_tmp180 = (u8 *)cmsg;
12861#line 457
12862 __cil_tmp181 = __cil_tmp180 + __cil_tmp179;
12863#line 457
12864 __cil_tmp182 = (_cstruct *)__cil_tmp181;
12865#line 457
12866 __cil_tmp183 = *__cil_tmp182;
12867#line 457
12868 __cil_tmp184 = *__cil_tmp183;
12869#line 457
12870 __cil_tmp185 = (int )__cil_tmp184;
12871#line 457
12872 if (__cil_tmp185 != 255) {
12873 {
12874#line 458
12875 __cil_tmp186 = (unsigned long )cmsg;
12876#line 458
12877 __cil_tmp187 = __cil_tmp186 + 292;
12878#line 458
12879 __cil_tmp188 = *((unsigned int *)__cil_tmp187);
12880#line 458
12881 __cil_tmp189 = (unsigned long )cmsg;
12882#line 458
12883 __cil_tmp190 = __cil_tmp189 + 296;
12884#line 458
12885 __cil_tmp191 = *((unsigned char **)__cil_tmp190);
12886#line 458
12887 __cil_tmp192 = __cil_tmp191 + __cil_tmp188;
12888#line 458
12889 __cil_tmp193 = *__cil_tmp192;
12890#line 458
12891 __cil_tmp194 = __cil_tmp193 * 16UL;
12892#line 458
12893 __cil_tmp195 = __cil_tmp194 + 8;
12894#line 458
12895 __cil_tmp196 = (unsigned long )(cdef) + __cil_tmp195;
12896#line 458
12897 __cil_tmp197 = *((size_t *)__cil_tmp196);
12898#line 458
12899 __cil_tmp198 = (u8 *)cmsg;
12900#line 458
12901 __cil_tmp199 = __cil_tmp198 + __cil_tmp197;
12902#line 458
12903 __cil_tmp200 = (_cstruct *)__cil_tmp199;
12904#line 458
12905 __cil_tmp201 = *__cil_tmp200;
12906#line 458
12907 __cil_tmp202 = *__cil_tmp201;
12908#line 458
12909 __cil_tmp203 = (int )__cil_tmp202;
12910#line 458
12911 __cil_tmp204 = 1 + __cil_tmp203;
12912#line 458
12913 __len___0 = (size_t )__cil_tmp204;
12914#line 458
12915 __cil_tmp205 = (unsigned long )cmsg;
12916#line 458
12917 __cil_tmp206 = __cil_tmp205 + 288;
12918#line 458
12919 __cil_tmp207 = *((unsigned int *)__cil_tmp206);
12920#line 458
12921 __cil_tmp208 = (unsigned long )cmsg;
12922#line 458
12923 __cil_tmp209 = __cil_tmp208 + 304;
12924#line 458
12925 __cil_tmp210 = *((__u8 **)__cil_tmp209);
12926#line 458
12927 __cil_tmp211 = __cil_tmp210 + __cil_tmp207;
12928#line 458
12929 __cil_tmp212 = (void *)__cil_tmp211;
12930#line 458
12931 __cil_tmp213 = (unsigned long )cmsg;
12932#line 458
12933 __cil_tmp214 = __cil_tmp213 + 292;
12934#line 458
12935 __cil_tmp215 = *((unsigned int *)__cil_tmp214);
12936#line 458
12937 __cil_tmp216 = (unsigned long )cmsg;
12938#line 458
12939 __cil_tmp217 = __cil_tmp216 + 296;
12940#line 458
12941 __cil_tmp218 = *((unsigned char **)__cil_tmp217);
12942#line 458
12943 __cil_tmp219 = __cil_tmp218 + __cil_tmp215;
12944#line 458
12945 __cil_tmp220 = *__cil_tmp219;
12946#line 458
12947 __cil_tmp221 = __cil_tmp220 * 16UL;
12948#line 458
12949 __cil_tmp222 = __cil_tmp221 + 8;
12950#line 458
12951 __cil_tmp223 = (unsigned long )(cdef) + __cil_tmp222;
12952#line 458
12953 __cil_tmp224 = *((size_t *)__cil_tmp223);
12954#line 458
12955 __cil_tmp225 = (u8 *)cmsg;
12956#line 458
12957 __cil_tmp226 = __cil_tmp225 + __cil_tmp224;
12958#line 458
12959 __cil_tmp227 = (_cstruct *)__cil_tmp226;
12960#line 458
12961 __cil_tmp228 = *__cil_tmp227;
12962#line 458
12963 __cil_tmp229 = (void *)__cil_tmp228;
12964#line 458
12965 __ret___0 = __builtin_memcpy(__cil_tmp212, __cil_tmp229, __len___0);
12966#line 459
12967 __cil_tmp230 = (unsigned long )cmsg;
12968#line 459
12969 __cil_tmp231 = __cil_tmp230 + 288;
12970#line 459
12971 __cil_tmp232 = (unsigned long )cmsg;
12972#line 459
12973 __cil_tmp233 = __cil_tmp232 + 292;
12974#line 459
12975 __cil_tmp234 = *((unsigned int *)__cil_tmp233);
12976#line 459
12977 __cil_tmp235 = (unsigned long )cmsg;
12978#line 459
12979 __cil_tmp236 = __cil_tmp235 + 296;
12980#line 459
12981 __cil_tmp237 = *((unsigned char **)__cil_tmp236);
12982#line 459
12983 __cil_tmp238 = __cil_tmp237 + __cil_tmp234;
12984#line 459
12985 __cil_tmp239 = *__cil_tmp238;
12986#line 459
12987 __cil_tmp240 = __cil_tmp239 * 16UL;
12988#line 459
12989 __cil_tmp241 = __cil_tmp240 + 8;
12990#line 459
12991 __cil_tmp242 = (unsigned long )(cdef) + __cil_tmp241;
12992#line 459
12993 __cil_tmp243 = *((size_t *)__cil_tmp242);
12994#line 459
12995 __cil_tmp244 = (u8 *)cmsg;
12996#line 459
12997 __cil_tmp245 = __cil_tmp244 + __cil_tmp243;
12998#line 459
12999 __cil_tmp246 = (_cstruct *)__cil_tmp245;
13000#line 459
13001 __cil_tmp247 = *__cil_tmp246;
13002#line 459
13003 __cil_tmp248 = *__cil_tmp247;
13004#line 459
13005 __cil_tmp249 = (int )__cil_tmp248;
13006#line 459
13007 __cil_tmp250 = 1 + __cil_tmp249;
13008#line 459
13009 __cil_tmp251 = (unsigned int )__cil_tmp250;
13010#line 459
13011 __cil_tmp252 = (unsigned long )cmsg;
13012#line 459
13013 __cil_tmp253 = __cil_tmp252 + 288;
13014#line 459
13015 __cil_tmp254 = *((unsigned int *)__cil_tmp253);
13016#line 459
13017 *((unsigned int *)__cil_tmp231) = __cil_tmp254 + __cil_tmp251;
13018 }
13019 } else {
13020 {
13021#line 461
13022 __cil_tmp255 = (unsigned long )cmsg;
13023#line 461
13024 __cil_tmp256 = __cil_tmp255 + 292;
13025#line 461
13026 __cil_tmp257 = *((unsigned int *)__cil_tmp256);
13027#line 461
13028 __cil_tmp258 = (unsigned long )cmsg;
13029#line 461
13030 __cil_tmp259 = __cil_tmp258 + 296;
13031#line 461
13032 __cil_tmp260 = *((unsigned char **)__cil_tmp259);
13033#line 461
13034 __cil_tmp261 = __cil_tmp260 + __cil_tmp257;
13035#line 461
13036 __cil_tmp262 = *__cil_tmp261;
13037#line 461
13038 __cil_tmp263 = __cil_tmp262 * 16UL;
13039#line 461
13040 __cil_tmp264 = __cil_tmp263 + 8;
13041#line 461
13042 __cil_tmp265 = (unsigned long )(cdef) + __cil_tmp264;
13043#line 461
13044 __cil_tmp266 = *((size_t *)__cil_tmp265);
13045#line 461
13046 __cil_tmp267 = (u8 *)cmsg;
13047#line 461
13048 __cil_tmp268 = __cil_tmp267 + __cil_tmp266;
13049#line 461
13050 __cil_tmp269 = (_cstruct *)__cil_tmp268;
13051#line 461
13052 s = *__cil_tmp269;
13053#line 462
13054 __cil_tmp270 = s + 1;
13055#line 462
13056 __cil_tmp271 = (u16 *)__cil_tmp270;
13057#line 462
13058 __cil_tmp272 = *__cil_tmp271;
13059#line 462
13060 __cil_tmp273 = (int )__cil_tmp272;
13061#line 462
13062 __cil_tmp274 = 3 + __cil_tmp273;
13063#line 462
13064 __len___1 = (size_t )__cil_tmp274;
13065#line 462
13066 __cil_tmp275 = (unsigned long )cmsg;
13067#line 462
13068 __cil_tmp276 = __cil_tmp275 + 288;
13069#line 462
13070 __cil_tmp277 = *((unsigned int *)__cil_tmp276);
13071#line 462
13072 __cil_tmp278 = (unsigned long )cmsg;
13073#line 462
13074 __cil_tmp279 = __cil_tmp278 + 304;
13075#line 462
13076 __cil_tmp280 = *((__u8 **)__cil_tmp279);
13077#line 462
13078 __cil_tmp281 = __cil_tmp280 + __cil_tmp277;
13079#line 462
13080 __cil_tmp282 = (void *)__cil_tmp281;
13081#line 462
13082 __cil_tmp283 = (void *)s;
13083#line 462
13084 __ret___1 = __builtin_memcpy(__cil_tmp282, __cil_tmp283, __len___1);
13085#line 463
13086 __cil_tmp284 = (unsigned long )cmsg;
13087#line 463
13088 __cil_tmp285 = __cil_tmp284 + 288;
13089#line 463
13090 __cil_tmp286 = s + 1;
13091#line 463
13092 __cil_tmp287 = (u16 *)__cil_tmp286;
13093#line 463
13094 __cil_tmp288 = *__cil_tmp287;
13095#line 463
13096 __cil_tmp289 = (int )__cil_tmp288;
13097#line 463
13098 __cil_tmp290 = 3 + __cil_tmp289;
13099#line 463
13100 __cil_tmp291 = (unsigned int )__cil_tmp290;
13101#line 463
13102 __cil_tmp292 = (unsigned long )cmsg;
13103#line 463
13104 __cil_tmp293 = __cil_tmp292 + 288;
13105#line 463
13106 __cil_tmp294 = *((unsigned int *)__cil_tmp293);
13107#line 463
13108 *((unsigned int *)__cil_tmp285) = __cil_tmp294 + __cil_tmp291;
13109 }
13110 }
13111 }
13112 }
13113 }
13114#line 465
13115 goto switch_break;
13116 case_5:
13117 {
13118#line 468
13119 __cil_tmp295 = (unsigned long )cmsg;
13120#line 468
13121 __cil_tmp296 = __cil_tmp295 + 292;
13122#line 468
13123 __cil_tmp297 = *((unsigned int *)__cil_tmp296);
13124#line 468
13125 __cil_tmp298 = (unsigned long )cmsg;
13126#line 468
13127 __cil_tmp299 = __cil_tmp298 + 296;
13128#line 468
13129 __cil_tmp300 = *((unsigned char **)__cil_tmp299);
13130#line 468
13131 __cil_tmp301 = __cil_tmp300 + __cil_tmp297;
13132#line 468
13133 __cil_tmp302 = *__cil_tmp301;
13134#line 468
13135 __cil_tmp303 = __cil_tmp302 * 16UL;
13136#line 468
13137 __cil_tmp304 = __cil_tmp303 + 8;
13138#line 468
13139 __cil_tmp305 = (unsigned long )(cdef) + __cil_tmp304;
13140#line 468
13141 __cil_tmp306 = *((size_t *)__cil_tmp305);
13142#line 468
13143 __cil_tmp307 = (u8 *)cmsg;
13144#line 468
13145 __cil_tmp308 = __cil_tmp307 + __cil_tmp306;
13146#line 468
13147 __cil_tmp309 = (_cmstruct *)__cil_tmp308;
13148#line 468
13149 __cil_tmp310 = *__cil_tmp309;
13150#line 468
13151 __cil_tmp311 = (unsigned int )__cil_tmp310;
13152#line 468
13153 if (__cil_tmp311 == 1U) {
13154 {
13155#line 469
13156 __cil_tmp312 = (unsigned long )cmsg;
13157#line 469
13158 __cil_tmp313 = __cil_tmp312 + 288;
13159#line 469
13160 __cil_tmp314 = *((unsigned int *)__cil_tmp313);
13161#line 469
13162 __cil_tmp315 = (unsigned long )cmsg;
13163#line 469
13164 __cil_tmp316 = __cil_tmp315 + 304;
13165#line 469
13166 __cil_tmp317 = *((__u8 **)__cil_tmp316);
13167#line 469
13168 __cil_tmp318 = __cil_tmp317 + __cil_tmp314;
13169#line 469
13170 *__cil_tmp318 = (__u8 )'\000';
13171#line 470
13172 __cil_tmp319 = (unsigned long )cmsg;
13173#line 470
13174 __cil_tmp320 = __cil_tmp319 + 288;
13175#line 470
13176 __cil_tmp321 = (unsigned long )cmsg;
13177#line 470
13178 __cil_tmp322 = __cil_tmp321 + 288;
13179#line 470
13180 __cil_tmp323 = *((unsigned int *)__cil_tmp322);
13181#line 470
13182 *((unsigned int *)__cil_tmp320) = __cil_tmp323 + 1U;
13183#line 471
13184 jumpcstruct(cmsg);
13185 }
13186 } else {
13187 {
13188#line 475
13189 __cil_tmp324 = (unsigned long )cmsg;
13190#line 475
13191 __cil_tmp325 = __cil_tmp324 + 288;
13192#line 475
13193 _l = *((unsigned int *)__cil_tmp325);
13194#line 477
13195 __cil_tmp326 = (unsigned long )cmsg;
13196#line 477
13197 __cil_tmp327 = __cil_tmp326 + 288;
13198#line 477
13199 __cil_tmp328 = (unsigned long )cmsg;
13200#line 477
13201 __cil_tmp329 = __cil_tmp328 + 288;
13202#line 477
13203 __cil_tmp330 = *((unsigned int *)__cil_tmp329);
13204#line 477
13205 *((unsigned int *)__cil_tmp327) = __cil_tmp330 + 1U;
13206#line 478
13207 __cil_tmp331 = (unsigned long )cmsg;
13208#line 478
13209 __cil_tmp332 = __cil_tmp331 + 292;
13210#line 478
13211 __cil_tmp333 = (unsigned long )cmsg;
13212#line 478
13213 __cil_tmp334 = __cil_tmp333 + 292;
13214#line 478
13215 __cil_tmp335 = *((unsigned int *)__cil_tmp334);
13216#line 478
13217 *((unsigned int *)__cil_tmp332) = __cil_tmp335 + 1U;
13218#line 479
13219 pars_2_message(cmsg);
13220#line 480
13221 __cil_tmp336 = & _ls;
13222#line 480
13223 __cil_tmp337 = (unsigned long )cmsg;
13224#line 480
13225 __cil_tmp338 = __cil_tmp337 + 288;
13226#line 480
13227 __cil_tmp339 = *((unsigned int *)__cil_tmp338);
13228#line 480
13229 __cil_tmp340 = __cil_tmp339 - _l;
13230#line 480
13231 *__cil_tmp336 = __cil_tmp340 - 1U;
13232 }
13233 {
13234#line 481
13235 __cil_tmp341 = & _ls;
13236#line 481
13237 __cil_tmp342 = *__cil_tmp341;
13238#line 481
13239 if (__cil_tmp342 < 255U) {
13240#line 482
13241 __cil_tmp343 = (unsigned long )cmsg;
13242#line 482
13243 __cil_tmp344 = __cil_tmp343 + 304;
13244#line 482
13245 __cil_tmp345 = *((__u8 **)__cil_tmp344);
13246#line 482
13247 __cil_tmp346 = __cil_tmp345 + _l;
13248#line 482
13249 __cil_tmp347 = __cil_tmp346 + 0;
13250#line 482
13251 __cil_tmp348 = & _ls;
13252#line 482
13253 __cil_tmp349 = *__cil_tmp348;
13254#line 482
13255 *__cil_tmp347 = (u8 )__cil_tmp349;
13256 } else {
13257 {
13258#line 484
13259 __cil_tmp350 = (unsigned long )cmsg;
13260#line 484
13261 __cil_tmp351 = __cil_tmp350 + 304;
13262#line 484
13263 __cil_tmp352 = *((__u8 **)__cil_tmp351);
13264#line 484
13265 __cil_tmp353 = __cil_tmp352 + _l;
13266#line 484
13267 __cil_tmp354 = __cil_tmp353 + 3;
13268#line 484
13269 __cil_tmp355 = (void *)__cil_tmp354;
13270#line 484
13271 __cil_tmp356 = (unsigned long )cmsg;
13272#line 484
13273 __cil_tmp357 = __cil_tmp356 + 304;
13274#line 484
13275 __cil_tmp358 = *((__u8 **)__cil_tmp357);
13276#line 484
13277 __cil_tmp359 = __cil_tmp358 + _l;
13278#line 484
13279 __cil_tmp360 = __cil_tmp359 + 1;
13280#line 484
13281 __cil_tmp361 = (void *)__cil_tmp360;
13282#line 484
13283 __cil_tmp362 = & _ls;
13284#line 484
13285 __cil_tmp363 = *__cil_tmp362;
13286#line 484
13287 __cil_tmp364 = (size_t )__cil_tmp363;
13288#line 484
13289 memmove(__cil_tmp355, __cil_tmp361, __cil_tmp364);
13290#line 485
13291 __cil_tmp365 = (unsigned long )cmsg;
13292#line 485
13293 __cil_tmp366 = __cil_tmp365 + 304;
13294#line 485
13295 __cil_tmp367 = *((__u8 **)__cil_tmp366);
13296#line 485
13297 __cil_tmp368 = __cil_tmp367 + _l;
13298#line 485
13299 __cil_tmp369 = __cil_tmp368 + 0;
13300#line 485
13301 *__cil_tmp369 = (__u8 )255;
13302#line 486
13303 __cil_tmp370 = (unsigned long )cmsg;
13304#line 486
13305 __cil_tmp371 = __cil_tmp370 + 304;
13306#line 486
13307 __cil_tmp372 = *((__u8 **)__cil_tmp371);
13308#line 486
13309 __cil_tmp373 = __cil_tmp372 + _l;
13310#line 486
13311 __cil_tmp374 = __cil_tmp373 + 1;
13312#line 486
13313 __cil_tmp375 = (u16 *)__cil_tmp374;
13314#line 486
13315 __cil_tmp376 = (u16 *)(& _ls);
13316#line 486
13317 *__cil_tmp375 = *__cil_tmp376;
13318 }
13319 }
13320 }
13321 }
13322 }
13323#line 489
13324 goto switch_break;
13325 } else {
13326 switch_break: ;
13327 }
13328 }
13329#line 439
13330 __cil_tmp377 = (unsigned long )cmsg;
13331#line 439
13332 __cil_tmp378 = __cil_tmp377 + 292;
13333#line 439
13334 __cil_tmp379 = (unsigned long )cmsg;
13335#line 439
13336 __cil_tmp380 = __cil_tmp379 + 292;
13337#line 439
13338 __cil_tmp381 = *((unsigned int *)__cil_tmp380);
13339#line 439
13340 *((unsigned int *)__cil_tmp378) = __cil_tmp381 + 1U;
13341 }
13342 while_break: ;
13343 }
13344#line 492
13345 return;
13346}
13347}
13348#line 502 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
13349unsigned int capi_cmsg2message(_cmsg *cmsg , unsigned char *msg )
13350{ unsigned int tmp ;
13351 unsigned long __cil_tmp4 ;
13352 unsigned long __cil_tmp5 ;
13353 unsigned long __cil_tmp6 ;
13354 unsigned long __cil_tmp7 ;
13355 unsigned long __cil_tmp8 ;
13356 unsigned long __cil_tmp9 ;
13357 unsigned long __cil_tmp10 ;
13358 unsigned long __cil_tmp11 ;
13359 __u8 __cil_tmp12 ;
13360 unsigned int __cil_tmp13 ;
13361 unsigned long __cil_tmp14 ;
13362 unsigned long __cil_tmp15 ;
13363 __u8 __cil_tmp16 ;
13364 unsigned int __cil_tmp17 ;
13365 unsigned long __cil_tmp18 ;
13366 unsigned long __cil_tmp19 ;
13367 unsigned long __cil_tmp20 ;
13368 unsigned long __cil_tmp21 ;
13369 unsigned char *__cil_tmp22 ;
13370 u16 *__cil_tmp23 ;
13371 unsigned long __cil_tmp24 ;
13372 unsigned long __cil_tmp25 ;
13373 unsigned int *__cil_tmp26 ;
13374 u16 *__cil_tmp27 ;
13375 unsigned long __cil_tmp28 ;
13376 unsigned long __cil_tmp29 ;
13377 __u8 *__cil_tmp30 ;
13378 __u8 *__cil_tmp31 ;
13379 unsigned long __cil_tmp32 ;
13380 unsigned long __cil_tmp33 ;
13381 unsigned long __cil_tmp34 ;
13382 unsigned long __cil_tmp35 ;
13383 __u8 *__cil_tmp36 ;
13384 __u8 *__cil_tmp37 ;
13385 unsigned long __cil_tmp38 ;
13386 unsigned long __cil_tmp39 ;
13387 unsigned long __cil_tmp40 ;
13388 unsigned long __cil_tmp41 ;
13389 __u8 *__cil_tmp42 ;
13390 __u8 *__cil_tmp43 ;
13391 u16 *__cil_tmp44 ;
13392 unsigned long __cil_tmp45 ;
13393 unsigned long __cil_tmp46 ;
13394 __u8 *__cil_tmp47 ;
13395 __u8 *__cil_tmp48 ;
13396 u16 *__cil_tmp49 ;
13397 unsigned long __cil_tmp50 ;
13398 unsigned long __cil_tmp51 ;
13399
13400 {
13401 {
13402#line 504
13403 __cil_tmp4 = (unsigned long )cmsg;
13404#line 504
13405 __cil_tmp5 = __cil_tmp4 + 304;
13406#line 504
13407 *((__u8 **)__cil_tmp5) = msg;
13408#line 505
13409 __cil_tmp6 = (unsigned long )cmsg;
13410#line 505
13411 __cil_tmp7 = __cil_tmp6 + 288;
13412#line 505
13413 *((unsigned int *)__cil_tmp7) = 8U;
13414#line 506
13415 __cil_tmp8 = (unsigned long )cmsg;
13416#line 506
13417 __cil_tmp9 = __cil_tmp8 + 292;
13418#line 506
13419 *((unsigned int *)__cil_tmp9) = 0U;
13420#line 507
13421 __cil_tmp10 = (unsigned long )cmsg;
13422#line 507
13423 __cil_tmp11 = __cil_tmp10 + 2;
13424#line 507
13425 __cil_tmp12 = *((__u8 *)__cil_tmp11);
13426#line 507
13427 __cil_tmp13 = (unsigned int )__cil_tmp12;
13428#line 507
13429 __cil_tmp14 = (unsigned long )cmsg;
13430#line 507
13431 __cil_tmp15 = __cil_tmp14 + 3;
13432#line 507
13433 __cil_tmp16 = *((__u8 *)__cil_tmp15);
13434#line 507
13435 __cil_tmp17 = (unsigned int )__cil_tmp16;
13436#line 507
13437 tmp = command_2_index(__cil_tmp13, __cil_tmp17);
13438#line 507
13439 __cil_tmp18 = (unsigned long )cmsg;
13440#line 507
13441 __cil_tmp19 = __cil_tmp18 + 296;
13442#line 507
13443 __cil_tmp20 = tmp * 8UL;
13444#line 507
13445 __cil_tmp21 = (unsigned long )(cpars) + __cil_tmp20;
13446#line 507
13447 *((unsigned char **)__cil_tmp19) = *((unsigned char **)__cil_tmp21);
13448#line 509
13449 pars_2_message(cmsg);
13450#line 511
13451 __cil_tmp22 = msg + 0;
13452#line 511
13453 __cil_tmp23 = (u16 *)__cil_tmp22;
13454#line 511
13455 __cil_tmp24 = (unsigned long )cmsg;
13456#line 511
13457 __cil_tmp25 = __cil_tmp24 + 288;
13458#line 511
13459 __cil_tmp26 = (unsigned int *)__cil_tmp25;
13460#line 511
13461 __cil_tmp27 = (u16 *)__cil_tmp26;
13462#line 511
13463 *__cil_tmp23 = *__cil_tmp27;
13464#line 512
13465 __cil_tmp28 = (unsigned long )cmsg;
13466#line 512
13467 __cil_tmp29 = __cil_tmp28 + 304;
13468#line 512
13469 __cil_tmp30 = *((__u8 **)__cil_tmp29);
13470#line 512
13471 __cil_tmp31 = __cil_tmp30 + 4;
13472#line 512
13473 __cil_tmp32 = (unsigned long )cmsg;
13474#line 512
13475 __cil_tmp33 = __cil_tmp32 + 2;
13476#line 512
13477 *__cil_tmp31 = *((__u8 *)__cil_tmp33);
13478#line 513
13479 __cil_tmp34 = (unsigned long )cmsg;
13480#line 513
13481 __cil_tmp35 = __cil_tmp34 + 304;
13482#line 513
13483 __cil_tmp36 = *((__u8 **)__cil_tmp35);
13484#line 513
13485 __cil_tmp37 = __cil_tmp36 + 5;
13486#line 513
13487 __cil_tmp38 = (unsigned long )cmsg;
13488#line 513
13489 __cil_tmp39 = __cil_tmp38 + 3;
13490#line 513
13491 *__cil_tmp37 = *((__u8 *)__cil_tmp39);
13492#line 514
13493 __cil_tmp40 = (unsigned long )cmsg;
13494#line 514
13495 __cil_tmp41 = __cil_tmp40 + 304;
13496#line 514
13497 __cil_tmp42 = *((__u8 **)__cil_tmp41);
13498#line 514
13499 __cil_tmp43 = __cil_tmp42 + 2;
13500#line 514
13501 __cil_tmp44 = (u16 *)__cil_tmp43;
13502#line 514
13503 *__cil_tmp44 = *((__u16 *)cmsg);
13504#line 515
13505 __cil_tmp45 = (unsigned long )cmsg;
13506#line 515
13507 __cil_tmp46 = __cil_tmp45 + 304;
13508#line 515
13509 __cil_tmp47 = *((__u8 **)__cil_tmp46);
13510#line 515
13511 __cil_tmp48 = __cil_tmp47 + 6;
13512#line 515
13513 __cil_tmp49 = (u16 *)__cil_tmp48;
13514#line 515
13515 __cil_tmp50 = (unsigned long )cmsg;
13516#line 515
13517 __cil_tmp51 = __cil_tmp50 + 4;
13518#line 515
13519 *__cil_tmp49 = *((__u16 *)__cil_tmp51);
13520 }
13521#line 517
13522 return (0U);
13523}
13524}
13525#line 521 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
13526static void message_2_pars(_cmsg *cmsg )
13527{ size_t __len ;
13528 void *__ret ;
13529 unsigned int _l ;
13530 unsigned long __cil_tmp5 ;
13531 unsigned long __cil_tmp6 ;
13532 unsigned int __cil_tmp7 ;
13533 unsigned long __cil_tmp8 ;
13534 unsigned long __cil_tmp9 ;
13535 unsigned char *__cil_tmp10 ;
13536 unsigned char *__cil_tmp11 ;
13537 unsigned char __cil_tmp12 ;
13538 unsigned long __cil_tmp13 ;
13539 unsigned long __cil_tmp14 ;
13540 int __cil_tmp15 ;
13541 unsigned long __cil_tmp16 ;
13542 unsigned long __cil_tmp17 ;
13543 unsigned int __cil_tmp18 ;
13544 unsigned long __cil_tmp19 ;
13545 unsigned long __cil_tmp20 ;
13546 unsigned char *__cil_tmp21 ;
13547 unsigned char *__cil_tmp22 ;
13548 unsigned char __cil_tmp23 ;
13549 unsigned long __cil_tmp24 ;
13550 unsigned long __cil_tmp25 ;
13551 unsigned long __cil_tmp26 ;
13552 unsigned long __cil_tmp27 ;
13553 unsigned int __cil_tmp28 ;
13554 unsigned long __cil_tmp29 ;
13555 unsigned long __cil_tmp30 ;
13556 unsigned char *__cil_tmp31 ;
13557 unsigned char *__cil_tmp32 ;
13558 unsigned char __cil_tmp33 ;
13559 unsigned long __cil_tmp34 ;
13560 unsigned long __cil_tmp35 ;
13561 unsigned long __cil_tmp36 ;
13562 size_t __cil_tmp37 ;
13563 u8 *__cil_tmp38 ;
13564 u8 *__cil_tmp39 ;
13565 unsigned long __cil_tmp40 ;
13566 unsigned long __cil_tmp41 ;
13567 unsigned int __cil_tmp42 ;
13568 unsigned long __cil_tmp43 ;
13569 unsigned long __cil_tmp44 ;
13570 __u8 *__cil_tmp45 ;
13571 __u8 *__cil_tmp46 ;
13572 unsigned long __cil_tmp47 ;
13573 unsigned long __cil_tmp48 ;
13574 unsigned long __cil_tmp49 ;
13575 unsigned long __cil_tmp50 ;
13576 unsigned int __cil_tmp51 ;
13577 unsigned long __cil_tmp52 ;
13578 unsigned long __cil_tmp53 ;
13579 unsigned int __cil_tmp54 ;
13580 unsigned long __cil_tmp55 ;
13581 unsigned long __cil_tmp56 ;
13582 unsigned char *__cil_tmp57 ;
13583 unsigned char *__cil_tmp58 ;
13584 unsigned char __cil_tmp59 ;
13585 unsigned long __cil_tmp60 ;
13586 unsigned long __cil_tmp61 ;
13587 unsigned long __cil_tmp62 ;
13588 size_t __cil_tmp63 ;
13589 u8 *__cil_tmp64 ;
13590 u8 *__cil_tmp65 ;
13591 u16 *__cil_tmp66 ;
13592 unsigned long __cil_tmp67 ;
13593 unsigned long __cil_tmp68 ;
13594 unsigned int __cil_tmp69 ;
13595 unsigned long __cil_tmp70 ;
13596 unsigned long __cil_tmp71 ;
13597 __u8 *__cil_tmp72 ;
13598 __u8 *__cil_tmp73 ;
13599 u16 *__cil_tmp74 ;
13600 unsigned long __cil_tmp75 ;
13601 unsigned long __cil_tmp76 ;
13602 unsigned long __cil_tmp77 ;
13603 unsigned long __cil_tmp78 ;
13604 unsigned int __cil_tmp79 ;
13605 unsigned long __cil_tmp80 ;
13606 unsigned long __cil_tmp81 ;
13607 unsigned int __cil_tmp82 ;
13608 unsigned long __cil_tmp83 ;
13609 unsigned long __cil_tmp84 ;
13610 unsigned char *__cil_tmp85 ;
13611 unsigned char *__cil_tmp86 ;
13612 unsigned char __cil_tmp87 ;
13613 unsigned long __cil_tmp88 ;
13614 unsigned long __cil_tmp89 ;
13615 unsigned long __cil_tmp90 ;
13616 size_t __cil_tmp91 ;
13617 u8 *__cil_tmp92 ;
13618 u8 *__cil_tmp93 ;
13619 void *__cil_tmp94 ;
13620 unsigned long __cil_tmp95 ;
13621 unsigned long __cil_tmp96 ;
13622 unsigned int __cil_tmp97 ;
13623 unsigned long __cil_tmp98 ;
13624 unsigned long __cil_tmp99 ;
13625 __u8 *__cil_tmp100 ;
13626 __u8 *__cil_tmp101 ;
13627 void *__cil_tmp102 ;
13628 unsigned long __cil_tmp103 ;
13629 unsigned long __cil_tmp104 ;
13630 unsigned int __cil_tmp105 ;
13631 unsigned long __cil_tmp106 ;
13632 unsigned long __cil_tmp107 ;
13633 unsigned char *__cil_tmp108 ;
13634 unsigned char *__cil_tmp109 ;
13635 unsigned char __cil_tmp110 ;
13636 unsigned long __cil_tmp111 ;
13637 unsigned long __cil_tmp112 ;
13638 unsigned long __cil_tmp113 ;
13639 size_t __cil_tmp114 ;
13640 u8 *__cil_tmp115 ;
13641 u8 *__cil_tmp116 ;
13642 void *__cil_tmp117 ;
13643 unsigned long __cil_tmp118 ;
13644 unsigned long __cil_tmp119 ;
13645 unsigned int __cil_tmp120 ;
13646 unsigned long __cil_tmp121 ;
13647 unsigned long __cil_tmp122 ;
13648 __u8 *__cil_tmp123 ;
13649 __u8 *__cil_tmp124 ;
13650 void *__cil_tmp125 ;
13651 unsigned long __cil_tmp126 ;
13652 unsigned long __cil_tmp127 ;
13653 unsigned long __cil_tmp128 ;
13654 unsigned long __cil_tmp129 ;
13655 unsigned int __cil_tmp130 ;
13656 unsigned long __cil_tmp131 ;
13657 unsigned long __cil_tmp132 ;
13658 unsigned int __cil_tmp133 ;
13659 unsigned long __cil_tmp134 ;
13660 unsigned long __cil_tmp135 ;
13661 unsigned char *__cil_tmp136 ;
13662 unsigned char *__cil_tmp137 ;
13663 unsigned char __cil_tmp138 ;
13664 unsigned long __cil_tmp139 ;
13665 unsigned long __cil_tmp140 ;
13666 unsigned long __cil_tmp141 ;
13667 size_t __cil_tmp142 ;
13668 u8 *__cil_tmp143 ;
13669 u8 *__cil_tmp144 ;
13670 u8 **__cil_tmp145 ;
13671 unsigned long __cil_tmp146 ;
13672 unsigned long __cil_tmp147 ;
13673 unsigned int __cil_tmp148 ;
13674 unsigned long __cil_tmp149 ;
13675 unsigned long __cil_tmp150 ;
13676 __u8 *__cil_tmp151 ;
13677 unsigned long __cil_tmp152 ;
13678 unsigned long __cil_tmp153 ;
13679 unsigned int __cil_tmp154 ;
13680 unsigned long __cil_tmp155 ;
13681 unsigned long __cil_tmp156 ;
13682 __u8 *__cil_tmp157 ;
13683 __u8 *__cil_tmp158 ;
13684 __u8 __cil_tmp159 ;
13685 int __cil_tmp160 ;
13686 unsigned long __cil_tmp161 ;
13687 unsigned long __cil_tmp162 ;
13688 unsigned long __cil_tmp163 ;
13689 unsigned long __cil_tmp164 ;
13690 unsigned int __cil_tmp165 ;
13691 unsigned long __cil_tmp166 ;
13692 unsigned long __cil_tmp167 ;
13693 __u8 *__cil_tmp168 ;
13694 __u8 *__cil_tmp169 ;
13695 __u8 __cil_tmp170 ;
13696 int __cil_tmp171 ;
13697 int __cil_tmp172 ;
13698 unsigned int __cil_tmp173 ;
13699 unsigned long __cil_tmp174 ;
13700 unsigned long __cil_tmp175 ;
13701 unsigned int __cil_tmp176 ;
13702 unsigned long __cil_tmp177 ;
13703 unsigned long __cil_tmp178 ;
13704 unsigned long __cil_tmp179 ;
13705 unsigned long __cil_tmp180 ;
13706 unsigned int __cil_tmp181 ;
13707 unsigned long __cil_tmp182 ;
13708 unsigned long __cil_tmp183 ;
13709 __u8 *__cil_tmp184 ;
13710 __u8 *__cil_tmp185 ;
13711 __u8 *__cil_tmp186 ;
13712 u16 *__cil_tmp187 ;
13713 u16 __cil_tmp188 ;
13714 int __cil_tmp189 ;
13715 int __cil_tmp190 ;
13716 unsigned int __cil_tmp191 ;
13717 unsigned long __cil_tmp192 ;
13718 unsigned long __cil_tmp193 ;
13719 unsigned int __cil_tmp194 ;
13720 unsigned long __cil_tmp195 ;
13721 unsigned long __cil_tmp196 ;
13722 unsigned int __cil_tmp197 ;
13723 unsigned long __cil_tmp198 ;
13724 unsigned long __cil_tmp199 ;
13725 __u8 *__cil_tmp200 ;
13726 __u8 *__cil_tmp201 ;
13727 __u8 __cil_tmp202 ;
13728 int __cil_tmp203 ;
13729 unsigned long __cil_tmp204 ;
13730 unsigned long __cil_tmp205 ;
13731 unsigned int __cil_tmp206 ;
13732 unsigned long __cil_tmp207 ;
13733 unsigned long __cil_tmp208 ;
13734 unsigned char *__cil_tmp209 ;
13735 unsigned char *__cil_tmp210 ;
13736 unsigned char __cil_tmp211 ;
13737 unsigned long __cil_tmp212 ;
13738 unsigned long __cil_tmp213 ;
13739 unsigned long __cil_tmp214 ;
13740 size_t __cil_tmp215 ;
13741 u8 *__cil_tmp216 ;
13742 u8 *__cil_tmp217 ;
13743 _cmstruct *__cil_tmp218 ;
13744 unsigned long __cil_tmp219 ;
13745 unsigned long __cil_tmp220 ;
13746 unsigned long __cil_tmp221 ;
13747 unsigned long __cil_tmp222 ;
13748 unsigned int __cil_tmp223 ;
13749 unsigned long __cil_tmp224 ;
13750 unsigned long __cil_tmp225 ;
13751 unsigned long __cil_tmp226 ;
13752 unsigned long __cil_tmp227 ;
13753 unsigned int __cil_tmp228 ;
13754 unsigned long __cil_tmp229 ;
13755 unsigned long __cil_tmp230 ;
13756 unsigned char *__cil_tmp231 ;
13757 unsigned char *__cil_tmp232 ;
13758 unsigned char __cil_tmp233 ;
13759 unsigned long __cil_tmp234 ;
13760 unsigned long __cil_tmp235 ;
13761 unsigned long __cil_tmp236 ;
13762 size_t __cil_tmp237 ;
13763 u8 *__cil_tmp238 ;
13764 u8 *__cil_tmp239 ;
13765 _cmstruct *__cil_tmp240 ;
13766 unsigned long __cil_tmp241 ;
13767 unsigned long __cil_tmp242 ;
13768 __u8 *__cil_tmp243 ;
13769 __u8 *__cil_tmp244 ;
13770 __u8 *__cil_tmp245 ;
13771 __u8 __cil_tmp246 ;
13772 int __cil_tmp247 ;
13773 unsigned long __cil_tmp248 ;
13774 unsigned long __cil_tmp249 ;
13775 unsigned long __cil_tmp250 ;
13776 unsigned long __cil_tmp251 ;
13777 unsigned int __cil_tmp252 ;
13778 unsigned long __cil_tmp253 ;
13779 unsigned long __cil_tmp254 ;
13780 unsigned long __cil_tmp255 ;
13781 unsigned long __cil_tmp256 ;
13782 unsigned int __cil_tmp257 ;
13783 unsigned long __cil_tmp258 ;
13784 unsigned long __cil_tmp259 ;
13785 unsigned long __cil_tmp260 ;
13786 unsigned long __cil_tmp261 ;
13787 unsigned int __cil_tmp262 ;
13788 unsigned long __cil_tmp263 ;
13789 unsigned long __cil_tmp264 ;
13790 unsigned long __cil_tmp265 ;
13791 unsigned long __cil_tmp266 ;
13792 unsigned int __cil_tmp267 ;
13793
13794 {
13795 {
13796#line 523
13797 while (1) {
13798 while_continue: ;
13799 {
13800#line 523
13801 __cil_tmp5 = (unsigned long )cmsg;
13802#line 523
13803 __cil_tmp6 = __cil_tmp5 + 292;
13804#line 523
13805 __cil_tmp7 = *((unsigned int *)__cil_tmp6);
13806#line 523
13807 __cil_tmp8 = (unsigned long )cmsg;
13808#line 523
13809 __cil_tmp9 = __cil_tmp8 + 296;
13810#line 523
13811 __cil_tmp10 = *((unsigned char **)__cil_tmp9);
13812#line 523
13813 __cil_tmp11 = __cil_tmp10 + __cil_tmp7;
13814#line 523
13815 __cil_tmp12 = *__cil_tmp11;
13816#line 523
13817 __cil_tmp13 = __cil_tmp12 * 16UL;
13818#line 523
13819 __cil_tmp14 = (unsigned long )(cdef) + __cil_tmp13;
13820#line 523
13821 __cil_tmp15 = *((int *)__cil_tmp14);
13822#line 523
13823 if (__cil_tmp15 != 6) {
13824
13825 } else {
13826#line 523
13827 goto while_break;
13828 }
13829 }
13830 {
13831#line 525
13832 __cil_tmp16 = (unsigned long )cmsg;
13833#line 525
13834 __cil_tmp17 = __cil_tmp16 + 292;
13835#line 525
13836 __cil_tmp18 = *((unsigned int *)__cil_tmp17);
13837#line 525
13838 __cil_tmp19 = (unsigned long )cmsg;
13839#line 525
13840 __cil_tmp20 = __cil_tmp19 + 296;
13841#line 525
13842 __cil_tmp21 = *((unsigned char **)__cil_tmp20);
13843#line 525
13844 __cil_tmp22 = __cil_tmp21 + __cil_tmp18;
13845#line 525
13846 __cil_tmp23 = *__cil_tmp22;
13847#line 525
13848 __cil_tmp24 = __cil_tmp23 * 16UL;
13849#line 525
13850 __cil_tmp25 = (unsigned long )(cdef) + __cil_tmp24;
13851#line 526
13852 if (*((int *)__cil_tmp25) == 1) {
13853#line 526
13854 goto case_1;
13855 } else
13856#line 530
13857 if (*((int *)__cil_tmp25) == 2) {
13858#line 530
13859 goto case_2;
13860 } else
13861#line 534
13862 if (*((int *)__cil_tmp25) == 3) {
13863#line 534
13864 goto case_3;
13865 } else
13866#line 538
13867 if (*((int *)__cil_tmp25) == 4) {
13868#line 538
13869 goto case_4;
13870 } else
13871#line 546
13872 if (*((int *)__cil_tmp25) == 5) {
13873#line 546
13874 goto case_5;
13875 } else
13876#line 525
13877 if (0) {
13878 case_1:
13879#line 527
13880 __cil_tmp26 = (unsigned long )cmsg;
13881#line 527
13882 __cil_tmp27 = __cil_tmp26 + 292;
13883#line 527
13884 __cil_tmp28 = *((unsigned int *)__cil_tmp27);
13885#line 527
13886 __cil_tmp29 = (unsigned long )cmsg;
13887#line 527
13888 __cil_tmp30 = __cil_tmp29 + 296;
13889#line 527
13890 __cil_tmp31 = *((unsigned char **)__cil_tmp30);
13891#line 527
13892 __cil_tmp32 = __cil_tmp31 + __cil_tmp28;
13893#line 527
13894 __cil_tmp33 = *__cil_tmp32;
13895#line 527
13896 __cil_tmp34 = __cil_tmp33 * 16UL;
13897#line 527
13898 __cil_tmp35 = __cil_tmp34 + 8;
13899#line 527
13900 __cil_tmp36 = (unsigned long )(cdef) + __cil_tmp35;
13901#line 527
13902 __cil_tmp37 = *((size_t *)__cil_tmp36);
13903#line 527
13904 __cil_tmp38 = (u8 *)cmsg;
13905#line 527
13906 __cil_tmp39 = __cil_tmp38 + __cil_tmp37;
13907#line 527
13908 __cil_tmp40 = (unsigned long )cmsg;
13909#line 527
13910 __cil_tmp41 = __cil_tmp40 + 288;
13911#line 527
13912 __cil_tmp42 = *((unsigned int *)__cil_tmp41);
13913#line 527
13914 __cil_tmp43 = (unsigned long )cmsg;
13915#line 527
13916 __cil_tmp44 = __cil_tmp43 + 304;
13917#line 527
13918 __cil_tmp45 = *((__u8 **)__cil_tmp44);
13919#line 527
13920 __cil_tmp46 = __cil_tmp45 + __cil_tmp42;
13921#line 527
13922 *__cil_tmp39 = *__cil_tmp46;
13923#line 528
13924 __cil_tmp47 = (unsigned long )cmsg;
13925#line 528
13926 __cil_tmp48 = __cil_tmp47 + 288;
13927#line 528
13928 __cil_tmp49 = (unsigned long )cmsg;
13929#line 528
13930 __cil_tmp50 = __cil_tmp49 + 288;
13931#line 528
13932 __cil_tmp51 = *((unsigned int *)__cil_tmp50);
13933#line 528
13934 *((unsigned int *)__cil_tmp48) = __cil_tmp51 + 1U;
13935#line 529
13936 goto switch_break;
13937 case_2:
13938#line 531
13939 __cil_tmp52 = (unsigned long )cmsg;
13940#line 531
13941 __cil_tmp53 = __cil_tmp52 + 292;
13942#line 531
13943 __cil_tmp54 = *((unsigned int *)__cil_tmp53);
13944#line 531
13945 __cil_tmp55 = (unsigned long )cmsg;
13946#line 531
13947 __cil_tmp56 = __cil_tmp55 + 296;
13948#line 531
13949 __cil_tmp57 = *((unsigned char **)__cil_tmp56);
13950#line 531
13951 __cil_tmp58 = __cil_tmp57 + __cil_tmp54;
13952#line 531
13953 __cil_tmp59 = *__cil_tmp58;
13954#line 531
13955 __cil_tmp60 = __cil_tmp59 * 16UL;
13956#line 531
13957 __cil_tmp61 = __cil_tmp60 + 8;
13958#line 531
13959 __cil_tmp62 = (unsigned long )(cdef) + __cil_tmp61;
13960#line 531
13961 __cil_tmp63 = *((size_t *)__cil_tmp62);
13962#line 531
13963 __cil_tmp64 = (u8 *)cmsg;
13964#line 531
13965 __cil_tmp65 = __cil_tmp64 + __cil_tmp63;
13966#line 531
13967 __cil_tmp66 = (u16 *)__cil_tmp65;
13968#line 531
13969 __cil_tmp67 = (unsigned long )cmsg;
13970#line 531
13971 __cil_tmp68 = __cil_tmp67 + 288;
13972#line 531
13973 __cil_tmp69 = *((unsigned int *)__cil_tmp68);
13974#line 531
13975 __cil_tmp70 = (unsigned long )cmsg;
13976#line 531
13977 __cil_tmp71 = __cil_tmp70 + 304;
13978#line 531
13979 __cil_tmp72 = *((__u8 **)__cil_tmp71);
13980#line 531
13981 __cil_tmp73 = __cil_tmp72 + __cil_tmp69;
13982#line 531
13983 __cil_tmp74 = (u16 *)__cil_tmp73;
13984#line 531
13985 *__cil_tmp66 = *__cil_tmp74;
13986#line 532
13987 __cil_tmp75 = (unsigned long )cmsg;
13988#line 532
13989 __cil_tmp76 = __cil_tmp75 + 288;
13990#line 532
13991 __cil_tmp77 = (unsigned long )cmsg;
13992#line 532
13993 __cil_tmp78 = __cil_tmp77 + 288;
13994#line 532
13995 __cil_tmp79 = *((unsigned int *)__cil_tmp78);
13996#line 532
13997 *((unsigned int *)__cil_tmp76) = __cil_tmp79 + 2U;
13998#line 533
13999 goto switch_break;
14000 case_3:
14001#line 535
14002 __len = (size_t )4;
14003#line 535
14004 if (__len >= 64UL) {
14005 {
14006#line 535
14007 __cil_tmp80 = (unsigned long )cmsg;
14008#line 535
14009 __cil_tmp81 = __cil_tmp80 + 292;
14010#line 535
14011 __cil_tmp82 = *((unsigned int *)__cil_tmp81);
14012#line 535
14013 __cil_tmp83 = (unsigned long )cmsg;
14014#line 535
14015 __cil_tmp84 = __cil_tmp83 + 296;
14016#line 535
14017 __cil_tmp85 = *((unsigned char **)__cil_tmp84);
14018#line 535
14019 __cil_tmp86 = __cil_tmp85 + __cil_tmp82;
14020#line 535
14021 __cil_tmp87 = *__cil_tmp86;
14022#line 535
14023 __cil_tmp88 = __cil_tmp87 * 16UL;
14024#line 535
14025 __cil_tmp89 = __cil_tmp88 + 8;
14026#line 535
14027 __cil_tmp90 = (unsigned long )(cdef) + __cil_tmp89;
14028#line 535
14029 __cil_tmp91 = *((size_t *)__cil_tmp90);
14030#line 535
14031 __cil_tmp92 = (u8 *)cmsg;
14032#line 535
14033 __cil_tmp93 = __cil_tmp92 + __cil_tmp91;
14034#line 535
14035 __cil_tmp94 = (void *)__cil_tmp93;
14036#line 535
14037 __cil_tmp95 = (unsigned long )cmsg;
14038#line 535
14039 __cil_tmp96 = __cil_tmp95 + 288;
14040#line 535
14041 __cil_tmp97 = *((unsigned int *)__cil_tmp96);
14042#line 535
14043 __cil_tmp98 = (unsigned long )cmsg;
14044#line 535
14045 __cil_tmp99 = __cil_tmp98 + 304;
14046#line 535
14047 __cil_tmp100 = *((__u8 **)__cil_tmp99);
14048#line 535
14049 __cil_tmp101 = __cil_tmp100 + __cil_tmp97;
14050#line 535
14051 __cil_tmp102 = (void *)__cil_tmp101;
14052#line 535
14053 __ret = __memcpy(__cil_tmp94, __cil_tmp102, __len);
14054 }
14055 } else {
14056 {
14057#line 535
14058 __cil_tmp103 = (unsigned long )cmsg;
14059#line 535
14060 __cil_tmp104 = __cil_tmp103 + 292;
14061#line 535
14062 __cil_tmp105 = *((unsigned int *)__cil_tmp104);
14063#line 535
14064 __cil_tmp106 = (unsigned long )cmsg;
14065#line 535
14066 __cil_tmp107 = __cil_tmp106 + 296;
14067#line 535
14068 __cil_tmp108 = *((unsigned char **)__cil_tmp107);
14069#line 535
14070 __cil_tmp109 = __cil_tmp108 + __cil_tmp105;
14071#line 535
14072 __cil_tmp110 = *__cil_tmp109;
14073#line 535
14074 __cil_tmp111 = __cil_tmp110 * 16UL;
14075#line 535
14076 __cil_tmp112 = __cil_tmp111 + 8;
14077#line 535
14078 __cil_tmp113 = (unsigned long )(cdef) + __cil_tmp112;
14079#line 535
14080 __cil_tmp114 = *((size_t *)__cil_tmp113);
14081#line 535
14082 __cil_tmp115 = (u8 *)cmsg;
14083#line 535
14084 __cil_tmp116 = __cil_tmp115 + __cil_tmp114;
14085#line 535
14086 __cil_tmp117 = (void *)__cil_tmp116;
14087#line 535
14088 __cil_tmp118 = (unsigned long )cmsg;
14089#line 535
14090 __cil_tmp119 = __cil_tmp118 + 288;
14091#line 535
14092 __cil_tmp120 = *((unsigned int *)__cil_tmp119);
14093#line 535
14094 __cil_tmp121 = (unsigned long )cmsg;
14095#line 535
14096 __cil_tmp122 = __cil_tmp121 + 304;
14097#line 535
14098 __cil_tmp123 = *((__u8 **)__cil_tmp122);
14099#line 535
14100 __cil_tmp124 = __cil_tmp123 + __cil_tmp120;
14101#line 535
14102 __cil_tmp125 = (void *)__cil_tmp124;
14103#line 535
14104 __ret = __builtin_memcpy(__cil_tmp117, __cil_tmp125, __len);
14105 }
14106 }
14107#line 536
14108 __cil_tmp126 = (unsigned long )cmsg;
14109#line 536
14110 __cil_tmp127 = __cil_tmp126 + 288;
14111#line 536
14112 __cil_tmp128 = (unsigned long )cmsg;
14113#line 536
14114 __cil_tmp129 = __cil_tmp128 + 288;
14115#line 536
14116 __cil_tmp130 = *((unsigned int *)__cil_tmp129);
14117#line 536
14118 *((unsigned int *)__cil_tmp127) = __cil_tmp130 + 4U;
14119#line 537
14120 goto switch_break;
14121 case_4:
14122#line 539
14123 __cil_tmp131 = (unsigned long )cmsg;
14124#line 539
14125 __cil_tmp132 = __cil_tmp131 + 292;
14126#line 539
14127 __cil_tmp133 = *((unsigned int *)__cil_tmp132);
14128#line 539
14129 __cil_tmp134 = (unsigned long )cmsg;
14130#line 539
14131 __cil_tmp135 = __cil_tmp134 + 296;
14132#line 539
14133 __cil_tmp136 = *((unsigned char **)__cil_tmp135);
14134#line 539
14135 __cil_tmp137 = __cil_tmp136 + __cil_tmp133;
14136#line 539
14137 __cil_tmp138 = *__cil_tmp137;
14138#line 539
14139 __cil_tmp139 = __cil_tmp138 * 16UL;
14140#line 539
14141 __cil_tmp140 = __cil_tmp139 + 8;
14142#line 539
14143 __cil_tmp141 = (unsigned long )(cdef) + __cil_tmp140;
14144#line 539
14145 __cil_tmp142 = *((size_t *)__cil_tmp141);
14146#line 539
14147 __cil_tmp143 = (u8 *)cmsg;
14148#line 539
14149 __cil_tmp144 = __cil_tmp143 + __cil_tmp142;
14150#line 539
14151 __cil_tmp145 = (u8 **)__cil_tmp144;
14152#line 539
14153 __cil_tmp146 = (unsigned long )cmsg;
14154#line 539
14155 __cil_tmp147 = __cil_tmp146 + 288;
14156#line 539
14157 __cil_tmp148 = *((unsigned int *)__cil_tmp147);
14158#line 539
14159 __cil_tmp149 = (unsigned long )cmsg;
14160#line 539
14161 __cil_tmp150 = __cil_tmp149 + 304;
14162#line 539
14163 __cil_tmp151 = *((__u8 **)__cil_tmp150);
14164#line 539
14165 *__cil_tmp145 = __cil_tmp151 + __cil_tmp148;
14166 {
14167#line 541
14168 __cil_tmp152 = (unsigned long )cmsg;
14169#line 541
14170 __cil_tmp153 = __cil_tmp152 + 288;
14171#line 541
14172 __cil_tmp154 = *((unsigned int *)__cil_tmp153);
14173#line 541
14174 __cil_tmp155 = (unsigned long )cmsg;
14175#line 541
14176 __cil_tmp156 = __cil_tmp155 + 304;
14177#line 541
14178 __cil_tmp157 = *((__u8 **)__cil_tmp156);
14179#line 541
14180 __cil_tmp158 = __cil_tmp157 + __cil_tmp154;
14181#line 541
14182 __cil_tmp159 = *__cil_tmp158;
14183#line 541
14184 __cil_tmp160 = (int )__cil_tmp159;
14185#line 541
14186 if (__cil_tmp160 != 255) {
14187#line 542
14188 __cil_tmp161 = (unsigned long )cmsg;
14189#line 542
14190 __cil_tmp162 = __cil_tmp161 + 288;
14191#line 542
14192 __cil_tmp163 = (unsigned long )cmsg;
14193#line 542
14194 __cil_tmp164 = __cil_tmp163 + 288;
14195#line 542
14196 __cil_tmp165 = *((unsigned int *)__cil_tmp164);
14197#line 542
14198 __cil_tmp166 = (unsigned long )cmsg;
14199#line 542
14200 __cil_tmp167 = __cil_tmp166 + 304;
14201#line 542
14202 __cil_tmp168 = *((__u8 **)__cil_tmp167);
14203#line 542
14204 __cil_tmp169 = __cil_tmp168 + __cil_tmp165;
14205#line 542
14206 __cil_tmp170 = *__cil_tmp169;
14207#line 542
14208 __cil_tmp171 = (int )__cil_tmp170;
14209#line 542
14210 __cil_tmp172 = 1 + __cil_tmp171;
14211#line 542
14212 __cil_tmp173 = (unsigned int )__cil_tmp172;
14213#line 542
14214 __cil_tmp174 = (unsigned long )cmsg;
14215#line 542
14216 __cil_tmp175 = __cil_tmp174 + 288;
14217#line 542
14218 __cil_tmp176 = *((unsigned int *)__cil_tmp175);
14219#line 542
14220 *((unsigned int *)__cil_tmp162) = __cil_tmp176 + __cil_tmp173;
14221 } else {
14222#line 544
14223 __cil_tmp177 = (unsigned long )cmsg;
14224#line 544
14225 __cil_tmp178 = __cil_tmp177 + 288;
14226#line 544
14227 __cil_tmp179 = (unsigned long )cmsg;
14228#line 544
14229 __cil_tmp180 = __cil_tmp179 + 288;
14230#line 544
14231 __cil_tmp181 = *((unsigned int *)__cil_tmp180);
14232#line 544
14233 __cil_tmp182 = (unsigned long )cmsg;
14234#line 544
14235 __cil_tmp183 = __cil_tmp182 + 304;
14236#line 544
14237 __cil_tmp184 = *((__u8 **)__cil_tmp183);
14238#line 544
14239 __cil_tmp185 = __cil_tmp184 + __cil_tmp181;
14240#line 544
14241 __cil_tmp186 = __cil_tmp185 + 1;
14242#line 544
14243 __cil_tmp187 = (u16 *)__cil_tmp186;
14244#line 544
14245 __cil_tmp188 = *__cil_tmp187;
14246#line 544
14247 __cil_tmp189 = (int )__cil_tmp188;
14248#line 544
14249 __cil_tmp190 = 3 + __cil_tmp189;
14250#line 544
14251 __cil_tmp191 = (unsigned int )__cil_tmp190;
14252#line 544
14253 __cil_tmp192 = (unsigned long )cmsg;
14254#line 544
14255 __cil_tmp193 = __cil_tmp192 + 288;
14256#line 544
14257 __cil_tmp194 = *((unsigned int *)__cil_tmp193);
14258#line 544
14259 *((unsigned int *)__cil_tmp178) = __cil_tmp194 + __cil_tmp191;
14260 }
14261 }
14262#line 545
14263 goto switch_break;
14264 case_5:
14265 {
14266#line 548
14267 __cil_tmp195 = (unsigned long )cmsg;
14268#line 548
14269 __cil_tmp196 = __cil_tmp195 + 288;
14270#line 548
14271 __cil_tmp197 = *((unsigned int *)__cil_tmp196);
14272#line 548
14273 __cil_tmp198 = (unsigned long )cmsg;
14274#line 548
14275 __cil_tmp199 = __cil_tmp198 + 304;
14276#line 548
14277 __cil_tmp200 = *((__u8 **)__cil_tmp199);
14278#line 548
14279 __cil_tmp201 = __cil_tmp200 + __cil_tmp197;
14280#line 548
14281 __cil_tmp202 = *__cil_tmp201;
14282#line 548
14283 __cil_tmp203 = (int )__cil_tmp202;
14284#line 548
14285 if (__cil_tmp203 == 0) {
14286 {
14287#line 549
14288 __cil_tmp204 = (unsigned long )cmsg;
14289#line 549
14290 __cil_tmp205 = __cil_tmp204 + 292;
14291#line 549
14292 __cil_tmp206 = *((unsigned int *)__cil_tmp205);
14293#line 549
14294 __cil_tmp207 = (unsigned long )cmsg;
14295#line 549
14296 __cil_tmp208 = __cil_tmp207 + 296;
14297#line 549
14298 __cil_tmp209 = *((unsigned char **)__cil_tmp208);
14299#line 549
14300 __cil_tmp210 = __cil_tmp209 + __cil_tmp206;
14301#line 549
14302 __cil_tmp211 = *__cil_tmp210;
14303#line 549
14304 __cil_tmp212 = __cil_tmp211 * 16UL;
14305#line 549
14306 __cil_tmp213 = __cil_tmp212 + 8;
14307#line 549
14308 __cil_tmp214 = (unsigned long )(cdef) + __cil_tmp213;
14309#line 549
14310 __cil_tmp215 = *((size_t *)__cil_tmp214);
14311#line 549
14312 __cil_tmp216 = (u8 *)cmsg;
14313#line 549
14314 __cil_tmp217 = __cil_tmp216 + __cil_tmp215;
14315#line 549
14316 __cil_tmp218 = (_cmstruct *)__cil_tmp217;
14317#line 549
14318 *__cil_tmp218 = (_cmstruct )1;
14319#line 550
14320 __cil_tmp219 = (unsigned long )cmsg;
14321#line 550
14322 __cil_tmp220 = __cil_tmp219 + 288;
14323#line 550
14324 __cil_tmp221 = (unsigned long )cmsg;
14325#line 550
14326 __cil_tmp222 = __cil_tmp221 + 288;
14327#line 550
14328 __cil_tmp223 = *((unsigned int *)__cil_tmp222);
14329#line 550
14330 *((unsigned int *)__cil_tmp220) = __cil_tmp223 + 1U;
14331#line 551
14332 jumpcstruct(cmsg);
14333 }
14334 } else {
14335#line 553
14336 __cil_tmp224 = (unsigned long )cmsg;
14337#line 553
14338 __cil_tmp225 = __cil_tmp224 + 288;
14339#line 553
14340 _l = *((unsigned int *)__cil_tmp225);
14341#line 554
14342 __cil_tmp226 = (unsigned long )cmsg;
14343#line 554
14344 __cil_tmp227 = __cil_tmp226 + 292;
14345#line 554
14346 __cil_tmp228 = *((unsigned int *)__cil_tmp227);
14347#line 554
14348 __cil_tmp229 = (unsigned long )cmsg;
14349#line 554
14350 __cil_tmp230 = __cil_tmp229 + 296;
14351#line 554
14352 __cil_tmp231 = *((unsigned char **)__cil_tmp230);
14353#line 554
14354 __cil_tmp232 = __cil_tmp231 + __cil_tmp228;
14355#line 554
14356 __cil_tmp233 = *__cil_tmp232;
14357#line 554
14358 __cil_tmp234 = __cil_tmp233 * 16UL;
14359#line 554
14360 __cil_tmp235 = __cil_tmp234 + 8;
14361#line 554
14362 __cil_tmp236 = (unsigned long )(cdef) + __cil_tmp235;
14363#line 554
14364 __cil_tmp237 = *((size_t *)__cil_tmp236);
14365#line 554
14366 __cil_tmp238 = (u8 *)cmsg;
14367#line 554
14368 __cil_tmp239 = __cil_tmp238 + __cil_tmp237;
14369#line 554
14370 __cil_tmp240 = (_cmstruct *)__cil_tmp239;
14371#line 554
14372 *__cil_tmp240 = (_cmstruct )0;
14373 {
14374#line 555
14375 __cil_tmp241 = (unsigned long )cmsg;
14376#line 555
14377 __cil_tmp242 = __cil_tmp241 + 304;
14378#line 555
14379 __cil_tmp243 = *((__u8 **)__cil_tmp242);
14380#line 555
14381 __cil_tmp244 = __cil_tmp243 + _l;
14382#line 555
14383 __cil_tmp245 = __cil_tmp244 + 0;
14384#line 555
14385 __cil_tmp246 = *__cil_tmp245;
14386#line 555
14387 __cil_tmp247 = (int )__cil_tmp246;
14388#line 555
14389 if (__cil_tmp247 == 255) {
14390#line 555
14391 __cil_tmp248 = (unsigned long )cmsg;
14392#line 555
14393 __cil_tmp249 = __cil_tmp248 + 288;
14394#line 555
14395 __cil_tmp250 = (unsigned long )cmsg;
14396#line 555
14397 __cil_tmp251 = __cil_tmp250 + 288;
14398#line 555
14399 __cil_tmp252 = *((unsigned int *)__cil_tmp251);
14400#line 555
14401 *((unsigned int *)__cil_tmp249) = __cil_tmp252 + 3U;
14402 } else {
14403#line 555
14404 __cil_tmp253 = (unsigned long )cmsg;
14405#line 555
14406 __cil_tmp254 = __cil_tmp253 + 288;
14407#line 555
14408 __cil_tmp255 = (unsigned long )cmsg;
14409#line 555
14410 __cil_tmp256 = __cil_tmp255 + 288;
14411#line 555
14412 __cil_tmp257 = *((unsigned int *)__cil_tmp256);
14413#line 555
14414 *((unsigned int *)__cil_tmp254) = __cil_tmp257 + 1U;
14415 }
14416 }
14417 {
14418#line 556
14419 __cil_tmp258 = (unsigned long )cmsg;
14420#line 556
14421 __cil_tmp259 = __cil_tmp258 + 292;
14422#line 556
14423 __cil_tmp260 = (unsigned long )cmsg;
14424#line 556
14425 __cil_tmp261 = __cil_tmp260 + 292;
14426#line 556
14427 __cil_tmp262 = *((unsigned int *)__cil_tmp261);
14428#line 556
14429 *((unsigned int *)__cil_tmp259) = __cil_tmp262 + 1U;
14430#line 557
14431 message_2_pars(cmsg);
14432 }
14433 }
14434 }
14435#line 559
14436 goto switch_break;
14437 } else {
14438 switch_break: ;
14439 }
14440 }
14441#line 523
14442 __cil_tmp263 = (unsigned long )cmsg;
14443#line 523
14444 __cil_tmp264 = __cil_tmp263 + 292;
14445#line 523
14446 __cil_tmp265 = (unsigned long )cmsg;
14447#line 523
14448 __cil_tmp266 = __cil_tmp265 + 292;
14449#line 523
14450 __cil_tmp267 = *((unsigned int *)__cil_tmp266);
14451#line 523
14452 *((unsigned int *)__cil_tmp264) = __cil_tmp267 + 1U;
14453 }
14454 while_break: ;
14455 }
14456#line 562
14457 return;
14458}
14459}
14460#line 572 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
14461unsigned int capi_message2cmsg(_cmsg *cmsg , unsigned char *msg )
14462{ unsigned int tmp ;
14463 void *__cil_tmp4 ;
14464 unsigned long __cil_tmp5 ;
14465 unsigned long __cil_tmp6 ;
14466 unsigned long __cil_tmp7 ;
14467 unsigned long __cil_tmp8 ;
14468 unsigned long __cil_tmp9 ;
14469 unsigned long __cil_tmp10 ;
14470 unsigned long __cil_tmp11 ;
14471 unsigned long __cil_tmp12 ;
14472 unsigned long __cil_tmp13 ;
14473 unsigned long __cil_tmp14 ;
14474 __u8 *__cil_tmp15 ;
14475 __u8 *__cil_tmp16 ;
14476 unsigned long __cil_tmp17 ;
14477 unsigned long __cil_tmp18 ;
14478 unsigned long __cil_tmp19 ;
14479 unsigned long __cil_tmp20 ;
14480 __u8 *__cil_tmp21 ;
14481 __u8 *__cil_tmp22 ;
14482 unsigned long __cil_tmp23 ;
14483 unsigned long __cil_tmp24 ;
14484 __u8 __cil_tmp25 ;
14485 unsigned int __cil_tmp26 ;
14486 unsigned long __cil_tmp27 ;
14487 unsigned long __cil_tmp28 ;
14488 __u8 __cil_tmp29 ;
14489 unsigned int __cil_tmp30 ;
14490 unsigned long __cil_tmp31 ;
14491 unsigned long __cil_tmp32 ;
14492 unsigned long __cil_tmp33 ;
14493 unsigned long __cil_tmp34 ;
14494 unsigned long __cil_tmp35 ;
14495 unsigned long __cil_tmp36 ;
14496 unsigned int *__cil_tmp37 ;
14497 u16 *__cil_tmp38 ;
14498 unsigned char *__cil_tmp39 ;
14499 u16 *__cil_tmp40 ;
14500 unsigned long __cil_tmp41 ;
14501 unsigned long __cil_tmp42 ;
14502 __u8 *__cil_tmp43 ;
14503 __u8 *__cil_tmp44 ;
14504 u16 *__cil_tmp45 ;
14505 unsigned long __cil_tmp46 ;
14506 unsigned long __cil_tmp47 ;
14507 unsigned long __cil_tmp48 ;
14508 unsigned long __cil_tmp49 ;
14509 __u8 *__cil_tmp50 ;
14510 __u8 *__cil_tmp51 ;
14511 u16 *__cil_tmp52 ;
14512
14513 {
14514 {
14515#line 574
14516 __cil_tmp4 = (void *)cmsg;
14517#line 574
14518 memset(__cil_tmp4, 0, 496UL);
14519#line 575
14520 __cil_tmp5 = (unsigned long )cmsg;
14521#line 575
14522 __cil_tmp6 = __cil_tmp5 + 304;
14523#line 575
14524 *((__u8 **)__cil_tmp6) = msg;
14525#line 576
14526 __cil_tmp7 = (unsigned long )cmsg;
14527#line 576
14528 __cil_tmp8 = __cil_tmp7 + 288;
14529#line 576
14530 *((unsigned int *)__cil_tmp8) = 8U;
14531#line 577
14532 __cil_tmp9 = (unsigned long )cmsg;
14533#line 577
14534 __cil_tmp10 = __cil_tmp9 + 292;
14535#line 577
14536 *((unsigned int *)__cil_tmp10) = 0U;
14537#line 578
14538 __cil_tmp11 = (unsigned long )cmsg;
14539#line 578
14540 __cil_tmp12 = __cil_tmp11 + 2;
14541#line 578
14542 __cil_tmp13 = (unsigned long )cmsg;
14543#line 578
14544 __cil_tmp14 = __cil_tmp13 + 304;
14545#line 578
14546 __cil_tmp15 = *((__u8 **)__cil_tmp14);
14547#line 578
14548 __cil_tmp16 = __cil_tmp15 + 4;
14549#line 578
14550 *((__u8 *)__cil_tmp12) = *__cil_tmp16;
14551#line 579
14552 __cil_tmp17 = (unsigned long )cmsg;
14553#line 579
14554 __cil_tmp18 = __cil_tmp17 + 3;
14555#line 579
14556 __cil_tmp19 = (unsigned long )cmsg;
14557#line 579
14558 __cil_tmp20 = __cil_tmp19 + 304;
14559#line 579
14560 __cil_tmp21 = *((__u8 **)__cil_tmp20);
14561#line 579
14562 __cil_tmp22 = __cil_tmp21 + 5;
14563#line 579
14564 *((__u8 *)__cil_tmp18) = *__cil_tmp22;
14565#line 580
14566 __cil_tmp23 = (unsigned long )cmsg;
14567#line 580
14568 __cil_tmp24 = __cil_tmp23 + 2;
14569#line 580
14570 __cil_tmp25 = *((__u8 *)__cil_tmp24);
14571#line 580
14572 __cil_tmp26 = (unsigned int )__cil_tmp25;
14573#line 580
14574 __cil_tmp27 = (unsigned long )cmsg;
14575#line 580
14576 __cil_tmp28 = __cil_tmp27 + 3;
14577#line 580
14578 __cil_tmp29 = *((__u8 *)__cil_tmp28);
14579#line 580
14580 __cil_tmp30 = (unsigned int )__cil_tmp29;
14581#line 580
14582 tmp = command_2_index(__cil_tmp26, __cil_tmp30);
14583#line 580
14584 __cil_tmp31 = (unsigned long )cmsg;
14585#line 580
14586 __cil_tmp32 = __cil_tmp31 + 296;
14587#line 580
14588 __cil_tmp33 = tmp * 8UL;
14589#line 580
14590 __cil_tmp34 = (unsigned long )(cpars) + __cil_tmp33;
14591#line 580
14592 *((unsigned char **)__cil_tmp32) = *((unsigned char **)__cil_tmp34);
14593#line 582
14594 message_2_pars(cmsg);
14595#line 584
14596 __cil_tmp35 = (unsigned long )cmsg;
14597#line 584
14598 __cil_tmp36 = __cil_tmp35 + 288;
14599#line 584
14600 __cil_tmp37 = (unsigned int *)__cil_tmp36;
14601#line 584
14602 __cil_tmp38 = (u16 *)__cil_tmp37;
14603#line 584
14604 __cil_tmp39 = msg + 0;
14605#line 584
14606 __cil_tmp40 = (u16 *)__cil_tmp39;
14607#line 584
14608 *__cil_tmp38 = *__cil_tmp40;
14609#line 585
14610 __cil_tmp41 = (unsigned long )cmsg;
14611#line 585
14612 __cil_tmp42 = __cil_tmp41 + 304;
14613#line 585
14614 __cil_tmp43 = *((__u8 **)__cil_tmp42);
14615#line 585
14616 __cil_tmp44 = __cil_tmp43 + 2;
14617#line 585
14618 __cil_tmp45 = (u16 *)__cil_tmp44;
14619#line 585
14620 *((__u16 *)cmsg) = *__cil_tmp45;
14621#line 586
14622 __cil_tmp46 = (unsigned long )cmsg;
14623#line 586
14624 __cil_tmp47 = __cil_tmp46 + 4;
14625#line 586
14626 __cil_tmp48 = (unsigned long )cmsg;
14627#line 586
14628 __cil_tmp49 = __cil_tmp48 + 304;
14629#line 586
14630 __cil_tmp50 = *((__u8 **)__cil_tmp49);
14631#line 586
14632 __cil_tmp51 = __cil_tmp50 + 6;
14633#line 586
14634 __cil_tmp52 = (u16 *)__cil_tmp51;
14635#line 586
14636 *((__u16 *)__cil_tmp47) = *__cil_tmp52;
14637 }
14638#line 588
14639 return (0U);
14640}
14641}
14642#line 603 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
14643unsigned int capi_cmsg_header(_cmsg *cmsg , unsigned short _ApplId , unsigned char _Command ,
14644 unsigned char _Subcommand , unsigned short _Messagenumber ,
14645 unsigned int _Controller )
14646{ void *__cil_tmp7 ;
14647 unsigned long __cil_tmp8 ;
14648 unsigned long __cil_tmp9 ;
14649 unsigned long __cil_tmp10 ;
14650 unsigned long __cil_tmp11 ;
14651 unsigned long __cil_tmp12 ;
14652 unsigned long __cil_tmp13 ;
14653 unsigned long __cil_tmp14 ;
14654 unsigned long __cil_tmp15 ;
14655
14656 {
14657 {
14658#line 607
14659 __cil_tmp7 = (void *)cmsg;
14660#line 607
14661 memset(__cil_tmp7, 0, 496UL);
14662#line 608
14663 *((__u16 *)cmsg) = _ApplId;
14664#line 609
14665 __cil_tmp8 = (unsigned long )cmsg;
14666#line 609
14667 __cil_tmp9 = __cil_tmp8 + 2;
14668#line 609
14669 *((__u8 *)__cil_tmp9) = _Command;
14670#line 610
14671 __cil_tmp10 = (unsigned long )cmsg;
14672#line 610
14673 __cil_tmp11 = __cil_tmp10 + 3;
14674#line 610
14675 *((__u8 *)__cil_tmp11) = _Subcommand;
14676#line 611
14677 __cil_tmp12 = (unsigned long )cmsg;
14678#line 611
14679 __cil_tmp13 = __cil_tmp12 + 4;
14680#line 611
14681 *((__u16 *)__cil_tmp13) = _Messagenumber;
14682#line 612
14683 __cil_tmp14 = (unsigned long )cmsg;
14684#line 612
14685 __cil_tmp15 = __cil_tmp14 + 8;
14686#line 612
14687 *((__u32 *)__cil_tmp15) = _Controller;
14688 }
14689#line 613
14690 return (0U);
14691}
14692}
14693#line 618 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
14694static char *mnames[79] =
14695#line 618
14696 { (char *)0, (char *)"ALERT_REQ", (char *)"CONNECT_REQ", (char *)0,
14697 (char *)"DISCONNECT_REQ", (char *)"LISTEN_REQ", (char *)0, (char *)0,
14698 (char *)"INFO_REQ", (char *)"FACILITY_REQ", (char *)"SELECT_B_PROTOCOL_REQ", (char *)"CONNECT_B3_REQ",
14699 (char *)0, (char *)"DISCONNECT_B3_REQ", (char *)0, (char *)"DATA_B3_REQ",
14700 (char *)"RESET_B3_REQ", (char *)0, (char *)0, (char *)"ALERT_CONF",
14701 (char *)"CONNECT_CONF", (char *)0, (char *)"DISCONNECT_CONF", (char *)"LISTEN_CONF",
14702 (char *)"MANUFACTURER_REQ", (char *)0, (char *)"INFO_CONF", (char *)"FACILITY_CONF",
14703 (char *)"SELECT_B_PROTOCOL_CONF", (char *)"CONNECT_B3_CONF", (char *)0, (char *)"DISCONNECT_B3_CONF",
14704 (char *)0, (char *)"DATA_B3_CONF", (char *)"RESET_B3_CONF", (char *)0,
14705 (char *)0, (char *)0, (char *)"CONNECT_IND", (char *)"CONNECT_ACTIVE_IND",
14706 (char *)"DISCONNECT_IND", (char *)0, (char *)"MANUFACTURER_CONF", (char *)0,
14707 (char *)"INFO_IND", (char *)"FACILITY_IND", (char *)0, (char *)"CONNECT_B3_IND",
14708 (char *)"CONNECT_B3_ACTIVE_IND", (char *)"DISCONNECT_B3_IND", (char *)0, (char *)"DATA_B3_IND",
14709 (char *)"RESET_B3_IND", (char *)"CONNECT_B3_T90_ACTIVE_IND", (char *)0, (char *)0,
14710 (char *)"CONNECT_RESP", (char *)"CONNECT_ACTIVE_RESP", (char *)"DISCONNECT_RESP", (char *)0,
14711 (char *)"MANUFACTURER_IND", (char *)0, (char *)"INFO_RESP", (char *)"FACILITY_RESP",
14712 (char *)0, (char *)"CONNECT_B3_RESP", (char *)"CONNECT_B3_ACTIVE_RESP", (char *)"DISCONNECT_B3_RESP",
14713 (char *)0, (char *)"DATA_B3_RESP", (char *)"RESET_B3_RESP", (char *)"CONNECT_B3_T90_ACTIVE_RESP",
14714 (char *)0, (char *)0, (char *)0, (char *)0,
14715 (char *)0, (char *)0, (char *)"MANUFACTURER_RESP"};
14716#line 678 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
14717char *capi_cmd2str(unsigned char cmd , unsigned char subcmd )
14718{ unsigned int tmp ;
14719 unsigned int __cil_tmp4 ;
14720 unsigned int __cil_tmp5 ;
14721 unsigned long __cil_tmp6 ;
14722 unsigned long __cil_tmp7 ;
14723
14724 {
14725 {
14726#line 680
14727 __cil_tmp4 = (unsigned int )cmd;
14728#line 680
14729 __cil_tmp5 = (unsigned int )subcmd;
14730#line 680
14731 tmp = command_2_index(__cil_tmp4, __cil_tmp5);
14732 }
14733 {
14734#line 680
14735 __cil_tmp6 = tmp * 8UL;
14736#line 680
14737 __cil_tmp7 = (unsigned long )(mnames) + __cil_tmp6;
14738#line 680
14739 return (*((char **)__cil_tmp7));
14740 }
14741}
14742}
14743#line 690 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
14744static char *pnames[48] =
14745#line 690
14746 { (char *)((void *)0), (char *)((void *)0), (char *)((void *)0), (char *)"Controller/PLCI/NCCI",
14747 (char *)"AdditionalInfo", (char *)"B1configuration", (char *)"B1protocol", (char *)"B2configuration",
14748 (char *)"B2protocol", (char *)"B3configuration", (char *)"B3protocol", (char *)"BC",
14749 (char *)"BChannelinformation", (char *)"BProtocol", (char *)"CalledPartyNumber", (char *)"CalledPartySubaddress",
14750 (char *)"CallingPartyNumber", (char *)"CallingPartySubaddress", (char *)"CIPmask", (char *)"CIPmask2",
14751 (char *)"CIPValue", (char *)"Class", (char *)"ConnectedNumber", (char *)"ConnectedSubaddress",
14752 (char *)"Data32", (char *)"DataHandle", (char *)"DataLength", (char *)"FacilityConfirmationParameter",
14753 (char *)"Facilitydataarray", (char *)"FacilityIndicationParameter", (char *)"FacilityRequestParameter", (char *)"FacilitySelector",
14754 (char *)"Flags", (char *)"Function", (char *)"HLC", (char *)"Info",
14755 (char *)"InfoElement", (char *)"InfoMask", (char *)"InfoNumber", (char *)"Keypadfacility",
14756 (char *)"LLC", (char *)"ManuData", (char *)"ManuID", (char *)"NCPI",
14757 (char *)"Reason", (char *)"Reason_B3", (char *)"Reject", (char *)"Useruserdata"};
14758#line 747 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
14759static _cdebbuf *bufprint(_cdebbuf *cdb , char *fmt , ...)
14760{ va_list f ;
14761 size_t n ;
14762 size_t r ;
14763 int tmp ;
14764 size_t ns ;
14765 u_char *nb ;
14766 void *tmp___0 ;
14767 size_t __len ;
14768 void *__ret ;
14769 int tmp___1 ;
14770 void *__cil_tmp13 ;
14771 unsigned long __cil_tmp14 ;
14772 unsigned long __cil_tmp15 ;
14773 size_t __cil_tmp16 ;
14774 unsigned long __cil_tmp17 ;
14775 unsigned long __cil_tmp18 ;
14776 size_t __cil_tmp19 ;
14777 unsigned long __cil_tmp20 ;
14778 unsigned long __cil_tmp21 ;
14779 u_char *__cil_tmp22 ;
14780 char *__cil_tmp23 ;
14781 char *__cil_tmp24 ;
14782 unsigned long __cil_tmp25 ;
14783 unsigned long __cil_tmp26 ;
14784 size_t __cil_tmp27 ;
14785 unsigned long __cil_tmp28 ;
14786 unsigned long __cil_tmp29 ;
14787 size_t __cil_tmp30 ;
14788 size_t __cil_tmp31 ;
14789 void *__cil_tmp32 ;
14790 unsigned long __cil_tmp33 ;
14791 unsigned long __cil_tmp34 ;
14792 void *__cil_tmp35 ;
14793 u_char *__cil_tmp36 ;
14794 void *__cil_tmp37 ;
14795 u_char *__cil_tmp38 ;
14796 void *__cil_tmp39 ;
14797 unsigned long __cil_tmp40 ;
14798 unsigned long __cil_tmp41 ;
14799 size_t __cil_tmp42 ;
14800 u_char *__cil_tmp43 ;
14801 unsigned long __cil_tmp44 ;
14802 unsigned long __cil_tmp45 ;
14803 unsigned long __cil_tmp46 ;
14804 unsigned long __cil_tmp47 ;
14805 size_t __cil_tmp48 ;
14806 u_char *__cil_tmp49 ;
14807 unsigned long __cil_tmp50 ;
14808 unsigned long __cil_tmp51 ;
14809 unsigned long __cil_tmp52 ;
14810 unsigned long __cil_tmp53 ;
14811 size_t __cil_tmp54 ;
14812 unsigned long __cil_tmp55 ;
14813 unsigned long __cil_tmp56 ;
14814 size_t __cil_tmp57 ;
14815 unsigned long __cil_tmp58 ;
14816 unsigned long __cil_tmp59 ;
14817 u_char *__cil_tmp60 ;
14818 char *__cil_tmp61 ;
14819 char *__cil_tmp62 ;
14820 unsigned long __cil_tmp63 ;
14821 unsigned long __cil_tmp64 ;
14822 unsigned long __cil_tmp65 ;
14823 unsigned long __cil_tmp66 ;
14824 u_char *__cil_tmp67 ;
14825 unsigned long __cil_tmp68 ;
14826 unsigned long __cil_tmp69 ;
14827 unsigned long __cil_tmp70 ;
14828 unsigned long __cil_tmp71 ;
14829 size_t __cil_tmp72 ;
14830
14831 {
14832#line 752
14833 if (! cdb) {
14834 {
14835#line 753
14836 __cil_tmp13 = (void *)0;
14837#line 753
14838 return ((_cdebbuf *)__cil_tmp13);
14839 }
14840 } else {
14841
14842 }
14843 {
14844#line 754
14845 __builtin_va_start(f, fmt);
14846#line 755
14847 __cil_tmp14 = (unsigned long )cdb;
14848#line 755
14849 __cil_tmp15 = __cil_tmp14 + 24;
14850#line 755
14851 __cil_tmp16 = *((size_t *)__cil_tmp15);
14852#line 755
14853 __cil_tmp17 = (unsigned long )cdb;
14854#line 755
14855 __cil_tmp18 = __cil_tmp17 + 16;
14856#line 755
14857 __cil_tmp19 = *((size_t *)__cil_tmp18);
14858#line 755
14859 r = __cil_tmp19 - __cil_tmp16;
14860#line 756
14861 __cil_tmp20 = (unsigned long )cdb;
14862#line 756
14863 __cil_tmp21 = __cil_tmp20 + 8;
14864#line 756
14865 __cil_tmp22 = *((u_char **)__cil_tmp21);
14866#line 756
14867 __cil_tmp23 = (char *)__cil_tmp22;
14868#line 756
14869 __cil_tmp24 = (char *)fmt;
14870#line 756
14871 tmp = vsnprintf(__cil_tmp23, r, __cil_tmp24, f);
14872#line 756
14873 n = (size_t )tmp;
14874#line 757
14875 __builtin_va_end(f);
14876 }
14877#line 758
14878 if (n >= r) {
14879#line 760
14880 __cil_tmp25 = (unsigned long )cdb;
14881#line 760
14882 __cil_tmp26 = __cil_tmp25 + 16;
14883#line 760
14884 __cil_tmp27 = *((size_t *)__cil_tmp26);
14885#line 760
14886 ns = 2UL * __cil_tmp27;
14887 {
14888#line 763
14889 while (1) {
14890 while_continue: ;
14891 {
14892#line 763
14893 __cil_tmp28 = (unsigned long )cdb;
14894#line 763
14895 __cil_tmp29 = __cil_tmp28 + 24;
14896#line 763
14897 __cil_tmp30 = *((size_t *)__cil_tmp29);
14898#line 763
14899 __cil_tmp31 = ns - __cil_tmp30;
14900#line 763
14901 if (__cil_tmp31 <= n) {
14902
14903 } else {
14904#line 763
14905 goto while_break;
14906 }
14907 }
14908#line 764
14909 ns = ns * 2UL;
14910 }
14911 while_break: ;
14912 }
14913 {
14914#line 765
14915 tmp___0 = kmalloc(ns, 32U);
14916#line 765
14917 nb = (u_char *)tmp___0;
14918 }
14919#line 766
14920 if (! nb) {
14921 {
14922#line 767
14923 cdebbuf_free(cdb);
14924 }
14925 {
14926#line 768
14927 __cil_tmp32 = (void *)0;
14928#line 768
14929 return ((_cdebbuf *)__cil_tmp32);
14930 }
14931 } else {
14932
14933 }
14934 {
14935#line 770
14936 __cil_tmp33 = (unsigned long )cdb;
14937#line 770
14938 __cil_tmp34 = __cil_tmp33 + 24;
14939#line 770
14940 __len = *((size_t *)__cil_tmp34);
14941#line 770
14942 __cil_tmp35 = (void *)nb;
14943#line 770
14944 __cil_tmp36 = *((u_char **)cdb);
14945#line 770
14946 __cil_tmp37 = (void *)__cil_tmp36;
14947#line 770
14948 __ret = __builtin_memcpy(__cil_tmp35, __cil_tmp37, __len);
14949#line 771
14950 __cil_tmp38 = *((u_char **)cdb);
14951#line 771
14952 __cil_tmp39 = (void *)__cil_tmp38;
14953#line 771
14954 kfree(__cil_tmp39);
14955#line 772
14956 __cil_tmp40 = (unsigned long )cdb;
14957#line 772
14958 __cil_tmp41 = __cil_tmp40 + 24;
14959#line 772
14960 __cil_tmp42 = *((size_t *)__cil_tmp41);
14961#line 772
14962 __cil_tmp43 = nb + __cil_tmp42;
14963#line 772
14964 *__cil_tmp43 = (u_char )0;
14965#line 773
14966 *((u_char **)cdb) = nb;
14967#line 774
14968 __cil_tmp44 = (unsigned long )cdb;
14969#line 774
14970 __cil_tmp45 = __cil_tmp44 + 8;
14971#line 774
14972 __cil_tmp46 = (unsigned long )cdb;
14973#line 774
14974 __cil_tmp47 = __cil_tmp46 + 24;
14975#line 774
14976 __cil_tmp48 = *((size_t *)__cil_tmp47);
14977#line 774
14978 __cil_tmp49 = *((u_char **)cdb);
14979#line 774
14980 *((u_char **)__cil_tmp45) = __cil_tmp49 + __cil_tmp48;
14981#line 775
14982 __cil_tmp50 = (unsigned long )cdb;
14983#line 775
14984 __cil_tmp51 = __cil_tmp50 + 16;
14985#line 775
14986 *((size_t *)__cil_tmp51) = ns;
14987#line 776
14988 __builtin_va_start(f, fmt);
14989#line 777
14990 __cil_tmp52 = (unsigned long )cdb;
14991#line 777
14992 __cil_tmp53 = __cil_tmp52 + 24;
14993#line 777
14994 __cil_tmp54 = *((size_t *)__cil_tmp53);
14995#line 777
14996 __cil_tmp55 = (unsigned long )cdb;
14997#line 777
14998 __cil_tmp56 = __cil_tmp55 + 16;
14999#line 777
15000 __cil_tmp57 = *((size_t *)__cil_tmp56);
15001#line 777
15002 r = __cil_tmp57 - __cil_tmp54;
15003#line 778
15004 __cil_tmp58 = (unsigned long )cdb;
15005#line 778
15006 __cil_tmp59 = __cil_tmp58 + 8;
15007#line 778
15008 __cil_tmp60 = *((u_char **)__cil_tmp59);
15009#line 778
15010 __cil_tmp61 = (char *)__cil_tmp60;
15011#line 778
15012 __cil_tmp62 = (char *)fmt;
15013#line 778
15014 tmp___1 = vsnprintf(__cil_tmp61, r, __cil_tmp62, f);
15015#line 778
15016 n = (size_t )tmp___1;
15017#line 779
15018 __builtin_va_end(f);
15019 }
15020 } else {
15021
15022 }
15023#line 781
15024 __cil_tmp63 = (unsigned long )cdb;
15025#line 781
15026 __cil_tmp64 = __cil_tmp63 + 8;
15027#line 781
15028 __cil_tmp65 = (unsigned long )cdb;
15029#line 781
15030 __cil_tmp66 = __cil_tmp65 + 8;
15031#line 781
15032 __cil_tmp67 = *((u_char **)__cil_tmp66);
15033#line 781
15034 *((u_char **)__cil_tmp64) = __cil_tmp67 + n;
15035#line 782
15036 __cil_tmp68 = (unsigned long )cdb;
15037#line 782
15038 __cil_tmp69 = __cil_tmp68 + 24;
15039#line 782
15040 __cil_tmp70 = (unsigned long )cdb;
15041#line 782
15042 __cil_tmp71 = __cil_tmp70 + 24;
15043#line 782
15044 __cil_tmp72 = *((size_t *)__cil_tmp71);
15045#line 782
15046 *((size_t *)__cil_tmp69) = __cil_tmp72 + n;
15047#line 783
15048 return (cdb);
15049}
15050}
15051#line 786 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
15052static _cdebbuf *printstructlen(_cdebbuf *cdb , u8 *m , unsigned int len )
15053{ unsigned int hex ;
15054 void *__cil_tmp5 ;
15055 u8 __cil_tmp6 ;
15056 int __cil_tmp7 ;
15057 unsigned long __cil_tmp8 ;
15058 unsigned long __cil_tmp9 ;
15059 unsigned char __cil_tmp10 ;
15060 int __cil_tmp11 ;
15061 int __cil_tmp12 ;
15062 u8 __cil_tmp13 ;
15063 int __cil_tmp14 ;
15064 char *__cil_tmp15 ;
15065 char *__cil_tmp16 ;
15066 u8 __cil_tmp17 ;
15067 int __cil_tmp18 ;
15068 char *__cil_tmp19 ;
15069 u8 __cil_tmp20 ;
15070 int __cil_tmp21 ;
15071 char *__cil_tmp22 ;
15072 u8 __cil_tmp23 ;
15073 int __cil_tmp24 ;
15074 char *__cil_tmp25 ;
15075
15076 {
15077#line 788
15078 hex = 0U;
15079#line 790
15080 if (! cdb) {
15081 {
15082#line 791
15083 __cil_tmp5 = (void *)0;
15084#line 791
15085 return ((_cdebbuf *)__cil_tmp5);
15086 }
15087 } else {
15088
15089 }
15090 {
15091#line 792
15092 while (1) {
15093 while_continue: ;
15094#line 792
15095 if (len) {
15096
15097 } else {
15098#line 792
15099 goto while_break;
15100 }
15101 {
15102#line 793
15103 __cil_tmp6 = *m;
15104#line 793
15105 __cil_tmp7 = (int )__cil_tmp6;
15106#line 793
15107 __cil_tmp8 = __cil_tmp7 * 1UL;
15108#line 793
15109 __cil_tmp9 = (unsigned long )(_ctype) + __cil_tmp8;
15110#line 793
15111 __cil_tmp10 = *((unsigned char *)__cil_tmp9);
15112#line 793
15113 __cil_tmp11 = (int )__cil_tmp10;
15114#line 793
15115 __cil_tmp12 = __cil_tmp11 & 7;
15116#line 793
15117 if (__cil_tmp12 != 0) {
15118#line 793
15119 goto _L;
15120 } else {
15121 {
15122#line 793
15123 __cil_tmp13 = *m;
15124#line 793
15125 __cil_tmp14 = (int )__cil_tmp13;
15126#line 793
15127 if (__cil_tmp14 == 32) {
15128 _L:
15129#line 794
15130 if (hex) {
15131 {
15132#line 795
15133 __cil_tmp15 = (char *)">";
15134#line 795
15135 cdb = bufprint(cdb, __cil_tmp15);
15136 }
15137 } else {
15138
15139 }
15140 {
15141#line 796
15142 __cil_tmp16 = (char *)"%c";
15143#line 796
15144 __cil_tmp17 = *m;
15145#line 796
15146 __cil_tmp18 = (int )__cil_tmp17;
15147#line 796
15148 cdb = bufprint(cdb, __cil_tmp16, __cil_tmp18);
15149#line 797
15150 hex = 0U;
15151 }
15152 } else {
15153#line 799
15154 if (! hex) {
15155 {
15156#line 800
15157 __cil_tmp19 = (char *)"<%02x";
15158#line 800
15159 __cil_tmp20 = *m;
15160#line 800
15161 __cil_tmp21 = (int )__cil_tmp20;
15162#line 800
15163 cdb = bufprint(cdb, __cil_tmp19, __cil_tmp21);
15164 }
15165 } else {
15166 {
15167#line 802
15168 __cil_tmp22 = (char *)" %02x";
15169#line 802
15170 __cil_tmp23 = *m;
15171#line 802
15172 __cil_tmp24 = (int )__cil_tmp23;
15173#line 802
15174 cdb = bufprint(cdb, __cil_tmp22, __cil_tmp24);
15175 }
15176 }
15177#line 803
15178 hex = 1U;
15179 }
15180 }
15181 }
15182 }
15183#line 792
15184 len = len - 1U;
15185#line 792
15186 m = m + 1;
15187 }
15188 while_break: ;
15189 }
15190#line 805
15191 if (hex) {
15192 {
15193#line 806
15194 __cil_tmp25 = (char *)">";
15195#line 806
15196 cdb = bufprint(cdb, __cil_tmp25);
15197 }
15198 } else {
15199
15200 }
15201#line 807
15202 return (cdb);
15203}
15204}
15205#line 810 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
15206static _cdebbuf *printstruct(_cdebbuf *cdb , u8 *m )
15207{ unsigned int len ;
15208 u8 *__cil_tmp4 ;
15209 u8 __cil_tmp5 ;
15210 int __cil_tmp6 ;
15211 u8 *__cil_tmp7 ;
15212 u8 __cil_tmp8 ;
15213 u8 *__cil_tmp9 ;
15214 u16 *__cil_tmp10 ;
15215 u16 *__cil_tmp11 ;
15216 u16 __cil_tmp12 ;
15217
15218 {
15219 {
15220#line 814
15221 __cil_tmp4 = m + 0;
15222#line 814
15223 __cil_tmp5 = *__cil_tmp4;
15224#line 814
15225 __cil_tmp6 = (int )__cil_tmp5;
15226#line 814
15227 if (__cil_tmp6 != 255) {
15228#line 815
15229 __cil_tmp7 = m + 0;
15230#line 815
15231 __cil_tmp8 = *__cil_tmp7;
15232#line 815
15233 len = (unsigned int )__cil_tmp8;
15234#line 816
15235 m = m + 1;
15236 } else {
15237#line 818
15238 __cil_tmp9 = m + 1;
15239#line 818
15240 __cil_tmp10 = (u16 *)__cil_tmp9;
15241#line 818
15242 __cil_tmp11 = __cil_tmp10 + 0;
15243#line 818
15244 __cil_tmp12 = *__cil_tmp11;
15245#line 818
15246 len = (unsigned int )__cil_tmp12;
15247#line 819
15248 m = m + 3;
15249 }
15250 }
15251 {
15252#line 821
15253 cdb = printstructlen(cdb, m, len);
15254 }
15255#line 822
15256 return (cdb);
15257}
15258}
15259#line 828 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
15260static _cdebbuf *protocol_message_2_pars(_cdebbuf *cdb , _cmsg *cmsg , int level )
15261{ int slen ;
15262 int i ;
15263 char *name ;
15264 unsigned int _l ;
15265 unsigned long __cil_tmp8 ;
15266 unsigned long __cil_tmp9 ;
15267 unsigned int __cil_tmp10 ;
15268 unsigned long __cil_tmp11 ;
15269 unsigned long __cil_tmp12 ;
15270 unsigned char *__cil_tmp13 ;
15271 unsigned char *__cil_tmp14 ;
15272 unsigned char __cil_tmp15 ;
15273 unsigned long __cil_tmp16 ;
15274 unsigned long __cil_tmp17 ;
15275 int __cil_tmp18 ;
15276 void *__cil_tmp19 ;
15277 char *__cil_tmp20 ;
15278 int __cil_tmp21 ;
15279 char *__cil_tmp22 ;
15280 unsigned long __cil_tmp23 ;
15281 unsigned long __cil_tmp24 ;
15282 unsigned int __cil_tmp25 ;
15283 unsigned long __cil_tmp26 ;
15284 unsigned long __cil_tmp27 ;
15285 unsigned char *__cil_tmp28 ;
15286 unsigned char *__cil_tmp29 ;
15287 unsigned char __cil_tmp30 ;
15288 unsigned long __cil_tmp31 ;
15289 unsigned long __cil_tmp32 ;
15290 char *__cil_tmp33 ;
15291 unsigned long __cil_tmp34 ;
15292 unsigned long __cil_tmp35 ;
15293 unsigned int __cil_tmp36 ;
15294 unsigned long __cil_tmp37 ;
15295 unsigned long __cil_tmp38 ;
15296 unsigned char *__cil_tmp39 ;
15297 unsigned char *__cil_tmp40 ;
15298 unsigned char __cil_tmp41 ;
15299 unsigned long __cil_tmp42 ;
15300 unsigned long __cil_tmp43 ;
15301 char *__cil_tmp44 ;
15302 unsigned long __cil_tmp45 ;
15303 unsigned long __cil_tmp46 ;
15304 unsigned int __cil_tmp47 ;
15305 unsigned long __cil_tmp48 ;
15306 unsigned long __cil_tmp49 ;
15307 __u8 *__cil_tmp50 ;
15308 __u8 *__cil_tmp51 ;
15309 __u8 __cil_tmp52 ;
15310 int __cil_tmp53 ;
15311 unsigned long __cil_tmp54 ;
15312 unsigned long __cil_tmp55 ;
15313 unsigned long __cil_tmp56 ;
15314 unsigned long __cil_tmp57 ;
15315 unsigned int __cil_tmp58 ;
15316 char *__cil_tmp59 ;
15317 unsigned long __cil_tmp60 ;
15318 unsigned long __cil_tmp61 ;
15319 unsigned int __cil_tmp62 ;
15320 unsigned long __cil_tmp63 ;
15321 unsigned long __cil_tmp64 ;
15322 unsigned char *__cil_tmp65 ;
15323 unsigned char *__cil_tmp66 ;
15324 unsigned char __cil_tmp67 ;
15325 unsigned long __cil_tmp68 ;
15326 unsigned long __cil_tmp69 ;
15327 char *__cil_tmp70 ;
15328 unsigned long __cil_tmp71 ;
15329 unsigned long __cil_tmp72 ;
15330 unsigned int __cil_tmp73 ;
15331 unsigned long __cil_tmp74 ;
15332 unsigned long __cil_tmp75 ;
15333 __u8 *__cil_tmp76 ;
15334 __u8 *__cil_tmp77 ;
15335 u16 *__cil_tmp78 ;
15336 u16 __cil_tmp79 ;
15337 int __cil_tmp80 ;
15338 unsigned long __cil_tmp81 ;
15339 unsigned long __cil_tmp82 ;
15340 unsigned long __cil_tmp83 ;
15341 unsigned long __cil_tmp84 ;
15342 unsigned int __cil_tmp85 ;
15343 char *__cil_tmp86 ;
15344 unsigned long __cil_tmp87 ;
15345 unsigned long __cil_tmp88 ;
15346 unsigned int __cil_tmp89 ;
15347 unsigned long __cil_tmp90 ;
15348 unsigned long __cil_tmp91 ;
15349 unsigned char *__cil_tmp92 ;
15350 unsigned char *__cil_tmp93 ;
15351 unsigned char __cil_tmp94 ;
15352 unsigned long __cil_tmp95 ;
15353 unsigned long __cil_tmp96 ;
15354 char *__cil_tmp97 ;
15355 unsigned long __cil_tmp98 ;
15356 unsigned long __cil_tmp99 ;
15357 unsigned int __cil_tmp100 ;
15358 unsigned long __cil_tmp101 ;
15359 unsigned long __cil_tmp102 ;
15360 __u8 *__cil_tmp103 ;
15361 __u8 *__cil_tmp104 ;
15362 u32 *__cil_tmp105 ;
15363 u32 __cil_tmp106 ;
15364 unsigned long __cil_tmp107 ;
15365 unsigned long __cil_tmp108 ;
15366 unsigned long __cil_tmp109 ;
15367 unsigned long __cil_tmp110 ;
15368 unsigned int __cil_tmp111 ;
15369 char *__cil_tmp112 ;
15370 unsigned long __cil_tmp113 ;
15371 unsigned long __cil_tmp114 ;
15372 unsigned int __cil_tmp115 ;
15373 unsigned long __cil_tmp116 ;
15374 unsigned long __cil_tmp117 ;
15375 unsigned char *__cil_tmp118 ;
15376 unsigned char *__cil_tmp119 ;
15377 unsigned char __cil_tmp120 ;
15378 unsigned long __cil_tmp121 ;
15379 unsigned long __cil_tmp122 ;
15380 char *__cil_tmp123 ;
15381 unsigned long __cil_tmp124 ;
15382 unsigned long __cil_tmp125 ;
15383 unsigned int __cil_tmp126 ;
15384 unsigned long __cil_tmp127 ;
15385 unsigned long __cil_tmp128 ;
15386 __u8 *__cil_tmp129 ;
15387 __u8 *__cil_tmp130 ;
15388 __u8 __cil_tmp131 ;
15389 int __cil_tmp132 ;
15390 char *__cil_tmp133 ;
15391 unsigned long __cil_tmp134 ;
15392 unsigned long __cil_tmp135 ;
15393 unsigned int __cil_tmp136 ;
15394 unsigned long __cil_tmp137 ;
15395 unsigned long __cil_tmp138 ;
15396 __u8 *__cil_tmp139 ;
15397 __u8 *__cil_tmp140 ;
15398 char *__cil_tmp141 ;
15399 unsigned long __cil_tmp142 ;
15400 unsigned long __cil_tmp143 ;
15401 unsigned int __cil_tmp144 ;
15402 unsigned long __cil_tmp145 ;
15403 unsigned long __cil_tmp146 ;
15404 __u8 *__cil_tmp147 ;
15405 __u8 *__cil_tmp148 ;
15406 __u8 __cil_tmp149 ;
15407 int __cil_tmp150 ;
15408 unsigned long __cil_tmp151 ;
15409 unsigned long __cil_tmp152 ;
15410 unsigned long __cil_tmp153 ;
15411 unsigned long __cil_tmp154 ;
15412 unsigned int __cil_tmp155 ;
15413 unsigned long __cil_tmp156 ;
15414 unsigned long __cil_tmp157 ;
15415 __u8 *__cil_tmp158 ;
15416 __u8 *__cil_tmp159 ;
15417 __u8 __cil_tmp160 ;
15418 int __cil_tmp161 ;
15419 int __cil_tmp162 ;
15420 unsigned int __cil_tmp163 ;
15421 unsigned long __cil_tmp164 ;
15422 unsigned long __cil_tmp165 ;
15423 unsigned int __cil_tmp166 ;
15424 unsigned long __cil_tmp167 ;
15425 unsigned long __cil_tmp168 ;
15426 unsigned long __cil_tmp169 ;
15427 unsigned long __cil_tmp170 ;
15428 unsigned int __cil_tmp171 ;
15429 unsigned long __cil_tmp172 ;
15430 unsigned long __cil_tmp173 ;
15431 __u8 *__cil_tmp174 ;
15432 __u8 *__cil_tmp175 ;
15433 __u8 *__cil_tmp176 ;
15434 u16 *__cil_tmp177 ;
15435 u16 __cil_tmp178 ;
15436 int __cil_tmp179 ;
15437 int __cil_tmp180 ;
15438 unsigned int __cil_tmp181 ;
15439 unsigned long __cil_tmp182 ;
15440 unsigned long __cil_tmp183 ;
15441 unsigned int __cil_tmp184 ;
15442 unsigned long __cil_tmp185 ;
15443 unsigned long __cil_tmp186 ;
15444 unsigned int __cil_tmp187 ;
15445 unsigned long __cil_tmp188 ;
15446 unsigned long __cil_tmp189 ;
15447 __u8 *__cil_tmp190 ;
15448 __u8 *__cil_tmp191 ;
15449 __u8 __cil_tmp192 ;
15450 int __cil_tmp193 ;
15451 char *__cil_tmp194 ;
15452 unsigned long __cil_tmp195 ;
15453 unsigned long __cil_tmp196 ;
15454 unsigned int __cil_tmp197 ;
15455 unsigned long __cil_tmp198 ;
15456 unsigned long __cil_tmp199 ;
15457 unsigned char *__cil_tmp200 ;
15458 unsigned char *__cil_tmp201 ;
15459 unsigned char __cil_tmp202 ;
15460 unsigned long __cil_tmp203 ;
15461 unsigned long __cil_tmp204 ;
15462 char *__cil_tmp205 ;
15463 unsigned long __cil_tmp206 ;
15464 unsigned long __cil_tmp207 ;
15465 unsigned long __cil_tmp208 ;
15466 unsigned long __cil_tmp209 ;
15467 unsigned int __cil_tmp210 ;
15468 unsigned long __cil_tmp211 ;
15469 unsigned long __cil_tmp212 ;
15470 unsigned int __cil_tmp213 ;
15471 unsigned long __cil_tmp214 ;
15472 unsigned long __cil_tmp215 ;
15473 unsigned char *__cil_tmp216 ;
15474 unsigned char *__cil_tmp217 ;
15475 unsigned char __cil_tmp218 ;
15476 unsigned long __cil_tmp219 ;
15477 unsigned long __cil_tmp220 ;
15478 unsigned long __cil_tmp221 ;
15479 unsigned long __cil_tmp222 ;
15480 char *__cil_tmp223 ;
15481 unsigned long __cil_tmp224 ;
15482 unsigned long __cil_tmp225 ;
15483 __u8 *__cil_tmp226 ;
15484 __u8 *__cil_tmp227 ;
15485 __u8 *__cil_tmp228 ;
15486 __u8 __cil_tmp229 ;
15487 int __cil_tmp230 ;
15488 unsigned long __cil_tmp231 ;
15489 unsigned long __cil_tmp232 ;
15490 unsigned long __cil_tmp233 ;
15491 unsigned long __cil_tmp234 ;
15492 unsigned int __cil_tmp235 ;
15493 unsigned long __cil_tmp236 ;
15494 unsigned long __cil_tmp237 ;
15495 unsigned long __cil_tmp238 ;
15496 unsigned long __cil_tmp239 ;
15497 unsigned int __cil_tmp240 ;
15498 unsigned long __cil_tmp241 ;
15499 unsigned long __cil_tmp242 ;
15500 unsigned long __cil_tmp243 ;
15501 unsigned long __cil_tmp244 ;
15502 unsigned int __cil_tmp245 ;
15503 int __cil_tmp246 ;
15504 unsigned long __cil_tmp247 ;
15505 unsigned long __cil_tmp248 ;
15506 unsigned long __cil_tmp249 ;
15507 unsigned long __cil_tmp250 ;
15508 unsigned int __cil_tmp251 ;
15509
15510 {
15511 {
15512#line 830
15513 while (1) {
15514 while_continue: ;
15515 {
15516#line 830
15517 __cil_tmp8 = (unsigned long )cmsg;
15518#line 830
15519 __cil_tmp9 = __cil_tmp8 + 292;
15520#line 830
15521 __cil_tmp10 = *((unsigned int *)__cil_tmp9);
15522#line 830
15523 __cil_tmp11 = (unsigned long )cmsg;
15524#line 830
15525 __cil_tmp12 = __cil_tmp11 + 296;
15526#line 830
15527 __cil_tmp13 = *((unsigned char **)__cil_tmp12);
15528#line 830
15529 __cil_tmp14 = __cil_tmp13 + __cil_tmp10;
15530#line 830
15531 __cil_tmp15 = *__cil_tmp14;
15532#line 830
15533 __cil_tmp16 = __cil_tmp15 * 16UL;
15534#line 830
15535 __cil_tmp17 = (unsigned long )(cdef) + __cil_tmp16;
15536#line 830
15537 __cil_tmp18 = *((int *)__cil_tmp17);
15538#line 830
15539 if (__cil_tmp18 != 6) {
15540
15541 } else {
15542#line 830
15543 goto while_break;
15544 }
15545 }
15546#line 831
15547 slen = 32 - level;
15548#line 834
15549 if (! cdb) {
15550 {
15551#line 835
15552 __cil_tmp19 = (void *)0;
15553#line 835
15554 return ((_cdebbuf *)__cil_tmp19);
15555 }
15556 } else {
15557
15558 }
15559 {
15560#line 836
15561 __cil_tmp20 = (char *)" ";
15562#line 836
15563 cdb = bufprint(cdb, __cil_tmp20);
15564#line 837
15565 i = 0;
15566 }
15567 {
15568#line 837
15569 while (1) {
15570 while_continue___0: ;
15571 {
15572#line 837
15573 __cil_tmp21 = level - 1;
15574#line 837
15575 if (i < __cil_tmp21) {
15576
15577 } else {
15578#line 837
15579 goto while_break___0;
15580 }
15581 }
15582 {
15583#line 838
15584 __cil_tmp22 = (char *)" ";
15585#line 838
15586 cdb = bufprint(cdb, __cil_tmp22);
15587#line 837
15588 i = i + 1;
15589 }
15590 }
15591 while_break___0: ;
15592 }
15593 {
15594#line 840
15595 __cil_tmp23 = (unsigned long )cmsg;
15596#line 840
15597 __cil_tmp24 = __cil_tmp23 + 292;
15598#line 840
15599 __cil_tmp25 = *((unsigned int *)__cil_tmp24);
15600#line 840
15601 __cil_tmp26 = (unsigned long )cmsg;
15602#line 840
15603 __cil_tmp27 = __cil_tmp26 + 296;
15604#line 840
15605 __cil_tmp28 = *((unsigned char **)__cil_tmp27);
15606#line 840
15607 __cil_tmp29 = __cil_tmp28 + __cil_tmp25;
15608#line 840
15609 __cil_tmp30 = *__cil_tmp29;
15610#line 840
15611 __cil_tmp31 = __cil_tmp30 * 16UL;
15612#line 840
15613 __cil_tmp32 = (unsigned long )(cdef) + __cil_tmp31;
15614#line 841
15615 if (*((int *)__cil_tmp32) == 1) {
15616#line 841
15617 goto case_1;
15618 } else
15619#line 845
15620 if (*((int *)__cil_tmp32) == 2) {
15621#line 845
15622 goto case_2;
15623 } else
15624#line 849
15625 if (*((int *)__cil_tmp32) == 3) {
15626#line 849
15627 goto case_3;
15628 } else
15629#line 853
15630 if (*((int *)__cil_tmp32) == 4) {
15631#line 853
15632 goto case_4;
15633 } else
15634#line 867
15635 if (*((int *)__cil_tmp32) == 5) {
15636#line 867
15637 goto case_5;
15638 } else
15639#line 840
15640 if (0) {
15641 case_1:
15642 {
15643#line 842
15644 __cil_tmp33 = (char *)"%-*s = 0x%x\n";
15645#line 842
15646 __cil_tmp34 = (unsigned long )cmsg;
15647#line 842
15648 __cil_tmp35 = __cil_tmp34 + 292;
15649#line 842
15650 __cil_tmp36 = *((unsigned int *)__cil_tmp35);
15651#line 842
15652 __cil_tmp37 = (unsigned long )cmsg;
15653#line 842
15654 __cil_tmp38 = __cil_tmp37 + 296;
15655#line 842
15656 __cil_tmp39 = *((unsigned char **)__cil_tmp38);
15657#line 842
15658 __cil_tmp40 = __cil_tmp39 + __cil_tmp36;
15659#line 842
15660 __cil_tmp41 = *__cil_tmp40;
15661#line 842
15662 __cil_tmp42 = __cil_tmp41 * 8UL;
15663#line 842
15664 __cil_tmp43 = (unsigned long )(pnames) + __cil_tmp42;
15665#line 842
15666 __cil_tmp44 = *((char **)__cil_tmp43);
15667#line 842
15668 __cil_tmp45 = (unsigned long )cmsg;
15669#line 842
15670 __cil_tmp46 = __cil_tmp45 + 288;
15671#line 842
15672 __cil_tmp47 = *((unsigned int *)__cil_tmp46);
15673#line 842
15674 __cil_tmp48 = (unsigned long )cmsg;
15675#line 842
15676 __cil_tmp49 = __cil_tmp48 + 304;
15677#line 842
15678 __cil_tmp50 = *((__u8 **)__cil_tmp49);
15679#line 842
15680 __cil_tmp51 = __cil_tmp50 + __cil_tmp47;
15681#line 842
15682 __cil_tmp52 = *__cil_tmp51;
15683#line 842
15684 __cil_tmp53 = (int )__cil_tmp52;
15685#line 842
15686 cdb = bufprint(cdb, __cil_tmp33, slen, __cil_tmp44, __cil_tmp53);
15687#line 843
15688 __cil_tmp54 = (unsigned long )cmsg;
15689#line 843
15690 __cil_tmp55 = __cil_tmp54 + 288;
15691#line 843
15692 __cil_tmp56 = (unsigned long )cmsg;
15693#line 843
15694 __cil_tmp57 = __cil_tmp56 + 288;
15695#line 843
15696 __cil_tmp58 = *((unsigned int *)__cil_tmp57);
15697#line 843
15698 *((unsigned int *)__cil_tmp55) = __cil_tmp58 + 1U;
15699 }
15700#line 844
15701 goto switch_break;
15702 case_2:
15703 {
15704#line 846
15705 __cil_tmp59 = (char *)"%-*s = 0x%x\n";
15706#line 846
15707 __cil_tmp60 = (unsigned long )cmsg;
15708#line 846
15709 __cil_tmp61 = __cil_tmp60 + 292;
15710#line 846
15711 __cil_tmp62 = *((unsigned int *)__cil_tmp61);
15712#line 846
15713 __cil_tmp63 = (unsigned long )cmsg;
15714#line 846
15715 __cil_tmp64 = __cil_tmp63 + 296;
15716#line 846
15717 __cil_tmp65 = *((unsigned char **)__cil_tmp64);
15718#line 846
15719 __cil_tmp66 = __cil_tmp65 + __cil_tmp62;
15720#line 846
15721 __cil_tmp67 = *__cil_tmp66;
15722#line 846
15723 __cil_tmp68 = __cil_tmp67 * 8UL;
15724#line 846
15725 __cil_tmp69 = (unsigned long )(pnames) + __cil_tmp68;
15726#line 846
15727 __cil_tmp70 = *((char **)__cil_tmp69);
15728#line 846
15729 __cil_tmp71 = (unsigned long )cmsg;
15730#line 846
15731 __cil_tmp72 = __cil_tmp71 + 288;
15732#line 846
15733 __cil_tmp73 = *((unsigned int *)__cil_tmp72);
15734#line 846
15735 __cil_tmp74 = (unsigned long )cmsg;
15736#line 846
15737 __cil_tmp75 = __cil_tmp74 + 304;
15738#line 846
15739 __cil_tmp76 = *((__u8 **)__cil_tmp75);
15740#line 846
15741 __cil_tmp77 = __cil_tmp76 + __cil_tmp73;
15742#line 846
15743 __cil_tmp78 = (u16 *)__cil_tmp77;
15744#line 846
15745 __cil_tmp79 = *__cil_tmp78;
15746#line 846
15747 __cil_tmp80 = (int )__cil_tmp79;
15748#line 846
15749 cdb = bufprint(cdb, __cil_tmp59, slen, __cil_tmp70, __cil_tmp80);
15750#line 847
15751 __cil_tmp81 = (unsigned long )cmsg;
15752#line 847
15753 __cil_tmp82 = __cil_tmp81 + 288;
15754#line 847
15755 __cil_tmp83 = (unsigned long )cmsg;
15756#line 847
15757 __cil_tmp84 = __cil_tmp83 + 288;
15758#line 847
15759 __cil_tmp85 = *((unsigned int *)__cil_tmp84);
15760#line 847
15761 *((unsigned int *)__cil_tmp82) = __cil_tmp85 + 2U;
15762 }
15763#line 848
15764 goto switch_break;
15765 case_3:
15766 {
15767#line 850
15768 __cil_tmp86 = (char *)"%-*s = 0x%lx\n";
15769#line 850
15770 __cil_tmp87 = (unsigned long )cmsg;
15771#line 850
15772 __cil_tmp88 = __cil_tmp87 + 292;
15773#line 850
15774 __cil_tmp89 = *((unsigned int *)__cil_tmp88);
15775#line 850
15776 __cil_tmp90 = (unsigned long )cmsg;
15777#line 850
15778 __cil_tmp91 = __cil_tmp90 + 296;
15779#line 850
15780 __cil_tmp92 = *((unsigned char **)__cil_tmp91);
15781#line 850
15782 __cil_tmp93 = __cil_tmp92 + __cil_tmp89;
15783#line 850
15784 __cil_tmp94 = *__cil_tmp93;
15785#line 850
15786 __cil_tmp95 = __cil_tmp94 * 8UL;
15787#line 850
15788 __cil_tmp96 = (unsigned long )(pnames) + __cil_tmp95;
15789#line 850
15790 __cil_tmp97 = *((char **)__cil_tmp96);
15791#line 850
15792 __cil_tmp98 = (unsigned long )cmsg;
15793#line 850
15794 __cil_tmp99 = __cil_tmp98 + 288;
15795#line 850
15796 __cil_tmp100 = *((unsigned int *)__cil_tmp99);
15797#line 850
15798 __cil_tmp101 = (unsigned long )cmsg;
15799#line 850
15800 __cil_tmp102 = __cil_tmp101 + 304;
15801#line 850
15802 __cil_tmp103 = *((__u8 **)__cil_tmp102);
15803#line 850
15804 __cil_tmp104 = __cil_tmp103 + __cil_tmp100;
15805#line 850
15806 __cil_tmp105 = (u32 *)__cil_tmp104;
15807#line 850
15808 __cil_tmp106 = *__cil_tmp105;
15809#line 850
15810 cdb = bufprint(cdb, __cil_tmp86, slen, __cil_tmp97, __cil_tmp106);
15811#line 851
15812 __cil_tmp107 = (unsigned long )cmsg;
15813#line 851
15814 __cil_tmp108 = __cil_tmp107 + 288;
15815#line 851
15816 __cil_tmp109 = (unsigned long )cmsg;
15817#line 851
15818 __cil_tmp110 = __cil_tmp109 + 288;
15819#line 851
15820 __cil_tmp111 = *((unsigned int *)__cil_tmp110);
15821#line 851
15822 *((unsigned int *)__cil_tmp108) = __cil_tmp111 + 4U;
15823 }
15824#line 852
15825 goto switch_break;
15826 case_4:
15827 {
15828#line 854
15829 __cil_tmp112 = (char *)"%-*s = ";
15830#line 854
15831 __cil_tmp113 = (unsigned long )cmsg;
15832#line 854
15833 __cil_tmp114 = __cil_tmp113 + 292;
15834#line 854
15835 __cil_tmp115 = *((unsigned int *)__cil_tmp114);
15836#line 854
15837 __cil_tmp116 = (unsigned long )cmsg;
15838#line 854
15839 __cil_tmp117 = __cil_tmp116 + 296;
15840#line 854
15841 __cil_tmp118 = *((unsigned char **)__cil_tmp117);
15842#line 854
15843 __cil_tmp119 = __cil_tmp118 + __cil_tmp115;
15844#line 854
15845 __cil_tmp120 = *__cil_tmp119;
15846#line 854
15847 __cil_tmp121 = __cil_tmp120 * 8UL;
15848#line 854
15849 __cil_tmp122 = (unsigned long )(pnames) + __cil_tmp121;
15850#line 854
15851 __cil_tmp123 = *((char **)__cil_tmp122);
15852#line 854
15853 cdb = bufprint(cdb, __cil_tmp112, slen, __cil_tmp123);
15854 }
15855 {
15856#line 855
15857 __cil_tmp124 = (unsigned long )cmsg;
15858#line 855
15859 __cil_tmp125 = __cil_tmp124 + 288;
15860#line 855
15861 __cil_tmp126 = *((unsigned int *)__cil_tmp125);
15862#line 855
15863 __cil_tmp127 = (unsigned long )cmsg;
15864#line 855
15865 __cil_tmp128 = __cil_tmp127 + 304;
15866#line 855
15867 __cil_tmp129 = *((__u8 **)__cil_tmp128);
15868#line 855
15869 __cil_tmp130 = __cil_tmp129 + __cil_tmp126;
15870#line 855
15871 __cil_tmp131 = *__cil_tmp130;
15872#line 855
15873 __cil_tmp132 = (int )__cil_tmp131;
15874#line 855
15875 if (__cil_tmp132 == 0) {
15876 {
15877#line 856
15878 __cil_tmp133 = (char *)"default";
15879#line 856
15880 cdb = bufprint(cdb, __cil_tmp133);
15881 }
15882 } else {
15883 {
15884#line 858
15885 __cil_tmp134 = (unsigned long )cmsg;
15886#line 858
15887 __cil_tmp135 = __cil_tmp134 + 288;
15888#line 858
15889 __cil_tmp136 = *((unsigned int *)__cil_tmp135);
15890#line 858
15891 __cil_tmp137 = (unsigned long )cmsg;
15892#line 858
15893 __cil_tmp138 = __cil_tmp137 + 304;
15894#line 858
15895 __cil_tmp139 = *((__u8 **)__cil_tmp138);
15896#line 858
15897 __cil_tmp140 = __cil_tmp139 + __cil_tmp136;
15898#line 858
15899 cdb = printstruct(cdb, __cil_tmp140);
15900 }
15901 }
15902 }
15903 {
15904#line 859
15905 __cil_tmp141 = (char *)"\n";
15906#line 859
15907 cdb = bufprint(cdb, __cil_tmp141);
15908 }
15909 {
15910#line 860
15911 __cil_tmp142 = (unsigned long )cmsg;
15912#line 860
15913 __cil_tmp143 = __cil_tmp142 + 288;
15914#line 860
15915 __cil_tmp144 = *((unsigned int *)__cil_tmp143);
15916#line 860
15917 __cil_tmp145 = (unsigned long )cmsg;
15918#line 860
15919 __cil_tmp146 = __cil_tmp145 + 304;
15920#line 860
15921 __cil_tmp147 = *((__u8 **)__cil_tmp146);
15922#line 860
15923 __cil_tmp148 = __cil_tmp147 + __cil_tmp144;
15924#line 860
15925 __cil_tmp149 = *__cil_tmp148;
15926#line 860
15927 __cil_tmp150 = (int )__cil_tmp149;
15928#line 860
15929 if (__cil_tmp150 != 255) {
15930#line 861
15931 __cil_tmp151 = (unsigned long )cmsg;
15932#line 861
15933 __cil_tmp152 = __cil_tmp151 + 288;
15934#line 861
15935 __cil_tmp153 = (unsigned long )cmsg;
15936#line 861
15937 __cil_tmp154 = __cil_tmp153 + 288;
15938#line 861
15939 __cil_tmp155 = *((unsigned int *)__cil_tmp154);
15940#line 861
15941 __cil_tmp156 = (unsigned long )cmsg;
15942#line 861
15943 __cil_tmp157 = __cil_tmp156 + 304;
15944#line 861
15945 __cil_tmp158 = *((__u8 **)__cil_tmp157);
15946#line 861
15947 __cil_tmp159 = __cil_tmp158 + __cil_tmp155;
15948#line 861
15949 __cil_tmp160 = *__cil_tmp159;
15950#line 861
15951 __cil_tmp161 = (int )__cil_tmp160;
15952#line 861
15953 __cil_tmp162 = 1 + __cil_tmp161;
15954#line 861
15955 __cil_tmp163 = (unsigned int )__cil_tmp162;
15956#line 861
15957 __cil_tmp164 = (unsigned long )cmsg;
15958#line 861
15959 __cil_tmp165 = __cil_tmp164 + 288;
15960#line 861
15961 __cil_tmp166 = *((unsigned int *)__cil_tmp165);
15962#line 861
15963 *((unsigned int *)__cil_tmp152) = __cil_tmp166 + __cil_tmp163;
15964 } else {
15965#line 863
15966 __cil_tmp167 = (unsigned long )cmsg;
15967#line 863
15968 __cil_tmp168 = __cil_tmp167 + 288;
15969#line 863
15970 __cil_tmp169 = (unsigned long )cmsg;
15971#line 863
15972 __cil_tmp170 = __cil_tmp169 + 288;
15973#line 863
15974 __cil_tmp171 = *((unsigned int *)__cil_tmp170);
15975#line 863
15976 __cil_tmp172 = (unsigned long )cmsg;
15977#line 863
15978 __cil_tmp173 = __cil_tmp172 + 304;
15979#line 863
15980 __cil_tmp174 = *((__u8 **)__cil_tmp173);
15981#line 863
15982 __cil_tmp175 = __cil_tmp174 + __cil_tmp171;
15983#line 863
15984 __cil_tmp176 = __cil_tmp175 + 1;
15985#line 863
15986 __cil_tmp177 = (u16 *)__cil_tmp176;
15987#line 863
15988 __cil_tmp178 = *__cil_tmp177;
15989#line 863
15990 __cil_tmp179 = (int )__cil_tmp178;
15991#line 863
15992 __cil_tmp180 = 3 + __cil_tmp179;
15993#line 863
15994 __cil_tmp181 = (unsigned int )__cil_tmp180;
15995#line 863
15996 __cil_tmp182 = (unsigned long )cmsg;
15997#line 863
15998 __cil_tmp183 = __cil_tmp182 + 288;
15999#line 863
16000 __cil_tmp184 = *((unsigned int *)__cil_tmp183);
16001#line 863
16002 *((unsigned int *)__cil_tmp168) = __cil_tmp184 + __cil_tmp181;
16003 }
16004 }
16005#line 865
16006 goto switch_break;
16007 case_5:
16008 {
16009#line 869
16010 __cil_tmp185 = (unsigned long )cmsg;
16011#line 869
16012 __cil_tmp186 = __cil_tmp185 + 288;
16013#line 869
16014 __cil_tmp187 = *((unsigned int *)__cil_tmp186);
16015#line 869
16016 __cil_tmp188 = (unsigned long )cmsg;
16017#line 869
16018 __cil_tmp189 = __cil_tmp188 + 304;
16019#line 869
16020 __cil_tmp190 = *((__u8 **)__cil_tmp189);
16021#line 869
16022 __cil_tmp191 = __cil_tmp190 + __cil_tmp187;
16023#line 869
16024 __cil_tmp192 = *__cil_tmp191;
16025#line 869
16026 __cil_tmp193 = (int )__cil_tmp192;
16027#line 869
16028 if (__cil_tmp193 == 0) {
16029 {
16030#line 870
16031 __cil_tmp194 = (char *)"%-*s = default\n";
16032#line 870
16033 __cil_tmp195 = (unsigned long )cmsg;
16034#line 870
16035 __cil_tmp196 = __cil_tmp195 + 292;
16036#line 870
16037 __cil_tmp197 = *((unsigned int *)__cil_tmp196);
16038#line 870
16039 __cil_tmp198 = (unsigned long )cmsg;
16040#line 870
16041 __cil_tmp199 = __cil_tmp198 + 296;
16042#line 870
16043 __cil_tmp200 = *((unsigned char **)__cil_tmp199);
16044#line 870
16045 __cil_tmp201 = __cil_tmp200 + __cil_tmp197;
16046#line 870
16047 __cil_tmp202 = *__cil_tmp201;
16048#line 870
16049 __cil_tmp203 = __cil_tmp202 * 8UL;
16050#line 870
16051 __cil_tmp204 = (unsigned long )(pnames) + __cil_tmp203;
16052#line 870
16053 __cil_tmp205 = *((char **)__cil_tmp204);
16054#line 870
16055 cdb = bufprint(cdb, __cil_tmp194, slen, __cil_tmp205);
16056#line 871
16057 __cil_tmp206 = (unsigned long )cmsg;
16058#line 871
16059 __cil_tmp207 = __cil_tmp206 + 288;
16060#line 871
16061 __cil_tmp208 = (unsigned long )cmsg;
16062#line 871
16063 __cil_tmp209 = __cil_tmp208 + 288;
16064#line 871
16065 __cil_tmp210 = *((unsigned int *)__cil_tmp209);
16066#line 871
16067 *((unsigned int *)__cil_tmp207) = __cil_tmp210 + 1U;
16068#line 872
16069 jumpcstruct(cmsg);
16070 }
16071 } else {
16072 {
16073#line 874
16074 __cil_tmp211 = (unsigned long )cmsg;
16075#line 874
16076 __cil_tmp212 = __cil_tmp211 + 292;
16077#line 874
16078 __cil_tmp213 = *((unsigned int *)__cil_tmp212);
16079#line 874
16080 __cil_tmp214 = (unsigned long )cmsg;
16081#line 874
16082 __cil_tmp215 = __cil_tmp214 + 296;
16083#line 874
16084 __cil_tmp216 = *((unsigned char **)__cil_tmp215);
16085#line 874
16086 __cil_tmp217 = __cil_tmp216 + __cil_tmp213;
16087#line 874
16088 __cil_tmp218 = *__cil_tmp217;
16089#line 874
16090 __cil_tmp219 = __cil_tmp218 * 8UL;
16091#line 874
16092 __cil_tmp220 = (unsigned long )(pnames) + __cil_tmp219;
16093#line 874
16094 name = *((char **)__cil_tmp220);
16095#line 875
16096 __cil_tmp221 = (unsigned long )cmsg;
16097#line 875
16098 __cil_tmp222 = __cil_tmp221 + 288;
16099#line 875
16100 _l = *((unsigned int *)__cil_tmp222);
16101#line 876
16102 __cil_tmp223 = (char *)"%-*s\n";
16103#line 876
16104 cdb = bufprint(cdb, __cil_tmp223, slen, name);
16105 }
16106 {
16107#line 877
16108 __cil_tmp224 = (unsigned long )cmsg;
16109#line 877
16110 __cil_tmp225 = __cil_tmp224 + 304;
16111#line 877
16112 __cil_tmp226 = *((__u8 **)__cil_tmp225);
16113#line 877
16114 __cil_tmp227 = __cil_tmp226 + _l;
16115#line 877
16116 __cil_tmp228 = __cil_tmp227 + 0;
16117#line 877
16118 __cil_tmp229 = *__cil_tmp228;
16119#line 877
16120 __cil_tmp230 = (int )__cil_tmp229;
16121#line 877
16122 if (__cil_tmp230 == 255) {
16123#line 877
16124 __cil_tmp231 = (unsigned long )cmsg;
16125#line 877
16126 __cil_tmp232 = __cil_tmp231 + 288;
16127#line 877
16128 __cil_tmp233 = (unsigned long )cmsg;
16129#line 877
16130 __cil_tmp234 = __cil_tmp233 + 288;
16131#line 877
16132 __cil_tmp235 = *((unsigned int *)__cil_tmp234);
16133#line 877
16134 *((unsigned int *)__cil_tmp232) = __cil_tmp235 + 3U;
16135 } else {
16136#line 877
16137 __cil_tmp236 = (unsigned long )cmsg;
16138#line 877
16139 __cil_tmp237 = __cil_tmp236 + 288;
16140#line 877
16141 __cil_tmp238 = (unsigned long )cmsg;
16142#line 877
16143 __cil_tmp239 = __cil_tmp238 + 288;
16144#line 877
16145 __cil_tmp240 = *((unsigned int *)__cil_tmp239);
16146#line 877
16147 *((unsigned int *)__cil_tmp237) = __cil_tmp240 + 1U;
16148 }
16149 }
16150 {
16151#line 878
16152 __cil_tmp241 = (unsigned long )cmsg;
16153#line 878
16154 __cil_tmp242 = __cil_tmp241 + 292;
16155#line 878
16156 __cil_tmp243 = (unsigned long )cmsg;
16157#line 878
16158 __cil_tmp244 = __cil_tmp243 + 292;
16159#line 878
16160 __cil_tmp245 = *((unsigned int *)__cil_tmp244);
16161#line 878
16162 *((unsigned int *)__cil_tmp242) = __cil_tmp245 + 1U;
16163#line 879
16164 __cil_tmp246 = level + 1;
16165#line 879
16166 cdb = protocol_message_2_pars(cdb, cmsg, __cil_tmp246);
16167 }
16168 }
16169 }
16170#line 881
16171 goto switch_break;
16172 } else {
16173 switch_break: ;
16174 }
16175 }
16176#line 830
16177 __cil_tmp247 = (unsigned long )cmsg;
16178#line 830
16179 __cil_tmp248 = __cil_tmp247 + 292;
16180#line 830
16181 __cil_tmp249 = (unsigned long )cmsg;
16182#line 830
16183 __cil_tmp250 = __cil_tmp249 + 292;
16184#line 830
16185 __cil_tmp251 = *((unsigned int *)__cil_tmp250);
16186#line 830
16187 *((unsigned int *)__cil_tmp248) = __cil_tmp251 + 1U;
16188 }
16189 while_break: ;
16190 }
16191#line 884
16192 return (cdb);
16193}
16194}
16195#line 888 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
16196static _cdebbuf *g_debbuf ;
16197#line 889 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
16198static u_long g_debbuf_lock ;
16199#line 890 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
16200static _cmsg *g_cmsg ;
16201#line 892 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
16202static _cdebbuf *cdebbuf_alloc(void)
16203{ _cdebbuf *cdb ;
16204 void *tmp ;
16205 int tmp___0 ;
16206 int tmp___1 ;
16207 long tmp___2 ;
16208 void *tmp___3 ;
16209 unsigned long volatile *__cil_tmp7 ;
16210 long __cil_tmp8 ;
16211 void *__cil_tmp9 ;
16212 size_t __cil_tmp10 ;
16213 u_char *__cil_tmp11 ;
16214 void *__cil_tmp12 ;
16215 void *__cil_tmp13 ;
16216 unsigned long __cil_tmp14 ;
16217 unsigned long __cil_tmp15 ;
16218 u_char *__cil_tmp16 ;
16219 u_char *__cil_tmp17 ;
16220 unsigned long __cil_tmp18 ;
16221 unsigned long __cil_tmp19 ;
16222 unsigned long __cil_tmp20 ;
16223 unsigned long __cil_tmp21 ;
16224
16225 {
16226 {
16227#line 896
16228 __cil_tmp7 = (unsigned long volatile *)(& g_debbuf_lock);
16229#line 896
16230 tmp___0 = test_and_set_bit(1, __cil_tmp7);
16231 }
16232#line 896
16233 if (tmp___0) {
16234#line 896
16235 tmp___1 = 0;
16236 } else {
16237#line 896
16238 tmp___1 = 1;
16239 }
16240 {
16241#line 896
16242 __cil_tmp8 = (long )tmp___1;
16243#line 896
16244 tmp___2 = __builtin_expect(__cil_tmp8, 1L);
16245 }
16246#line 896
16247 if (tmp___2) {
16248#line 897
16249 cdb = g_debbuf;
16250#line 898
16251 goto init;
16252 } else {
16253 {
16254#line 900
16255 tmp = kmalloc(32UL, 32U);
16256#line 900
16257 cdb = (_cdebbuf *)tmp;
16258 }
16259 }
16260#line 901
16261 if (! cdb) {
16262 {
16263#line 902
16264 __cil_tmp9 = (void *)0;
16265#line 902
16266 return ((_cdebbuf *)__cil_tmp9);
16267 }
16268 } else {
16269
16270 }
16271 {
16272#line 903
16273 __cil_tmp10 = (size_t )1024;
16274#line 903
16275 tmp___3 = kmalloc(__cil_tmp10, 32U);
16276#line 903
16277 *((u_char **)cdb) = (u_char *)tmp___3;
16278 }
16279 {
16280#line 904
16281 __cil_tmp11 = *((u_char **)cdb);
16282#line 904
16283 if (! __cil_tmp11) {
16284 {
16285#line 905
16286 __cil_tmp12 = (void *)cdb;
16287#line 905
16288 kfree(__cil_tmp12);
16289 }
16290 {
16291#line 906
16292 __cil_tmp13 = (void *)0;
16293#line 906
16294 return ((_cdebbuf *)__cil_tmp13);
16295 }
16296 } else {
16297
16298 }
16299 }
16300#line 908
16301 __cil_tmp14 = (unsigned long )cdb;
16302#line 908
16303 __cil_tmp15 = __cil_tmp14 + 16;
16304#line 908
16305 *((size_t *)__cil_tmp15) = (size_t )1024;
16306 init:
16307#line 910
16308 __cil_tmp16 = *((u_char **)cdb);
16309#line 910
16310 __cil_tmp17 = __cil_tmp16 + 0;
16311#line 910
16312 *__cil_tmp17 = (u_char )0;
16313#line 911
16314 __cil_tmp18 = (unsigned long )cdb;
16315#line 911
16316 __cil_tmp19 = __cil_tmp18 + 8;
16317#line 911
16318 *((u_char **)__cil_tmp19) = *((u_char **)cdb);
16319#line 912
16320 __cil_tmp20 = (unsigned long )cdb;
16321#line 912
16322 __cil_tmp21 = __cil_tmp20 + 24;
16323#line 912
16324 *((size_t *)__cil_tmp21) = (size_t )0;
16325#line 913
16326 return (cdb);
16327}
16328}
16329#line 921 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
16330void cdebbuf_free(_cdebbuf *cdb )
16331{ long tmp ;
16332 long tmp___0 ;
16333 unsigned long __cil_tmp4 ;
16334 unsigned long __cil_tmp5 ;
16335 int __cil_tmp6 ;
16336 int __cil_tmp7 ;
16337 int __cil_tmp8 ;
16338 long __cil_tmp9 ;
16339 unsigned long volatile *__cil_tmp10 ;
16340 int __cil_tmp11 ;
16341 int __cil_tmp12 ;
16342 long __cil_tmp13 ;
16343 u_char *__cil_tmp14 ;
16344 void *__cil_tmp15 ;
16345 void *__cil_tmp16 ;
16346
16347 {
16348 {
16349#line 923
16350 __cil_tmp4 = (unsigned long )g_debbuf;
16351#line 923
16352 __cil_tmp5 = (unsigned long )cdb;
16353#line 923
16354 __cil_tmp6 = __cil_tmp5 == __cil_tmp4;
16355#line 923
16356 __cil_tmp7 = ! __cil_tmp6;
16357#line 923
16358 __cil_tmp8 = ! __cil_tmp7;
16359#line 923
16360 __cil_tmp9 = (long )__cil_tmp8;
16361#line 923
16362 tmp = __builtin_expect(__cil_tmp9, 1L);
16363 }
16364#line 923
16365 if (tmp) {
16366 {
16367#line 924
16368 __cil_tmp10 = (unsigned long volatile *)(& g_debbuf_lock);
16369#line 924
16370 test_and_clear_bit(1, __cil_tmp10);
16371 }
16372#line 925
16373 return;
16374 } else {
16375
16376 }
16377 {
16378#line 927
16379 __cil_tmp11 = ! cdb;
16380#line 927
16381 __cil_tmp12 = ! __cil_tmp11;
16382#line 927
16383 __cil_tmp13 = (long )__cil_tmp12;
16384#line 927
16385 tmp___0 = __builtin_expect(__cil_tmp13, 1L);
16386 }
16387#line 927
16388 if (tmp___0) {
16389 {
16390#line 928
16391 __cil_tmp14 = *((u_char **)cdb);
16392#line 928
16393 __cil_tmp15 = (void *)__cil_tmp14;
16394#line 928
16395 kfree(__cil_tmp15);
16396 }
16397 } else {
16398
16399 }
16400 {
16401#line 929
16402 __cil_tmp16 = (void *)cdb;
16403#line 929
16404 kfree(__cil_tmp16);
16405 }
16406#line 930
16407 return;
16408}
16409}
16410#line 943 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
16411_cdebbuf *capi_message2str(unsigned char *msg )
16412{ _cdebbuf *cdb ;
16413 _cmsg *cmsg ;
16414 long tmp ;
16415 void *tmp___0 ;
16416 long tmp___1 ;
16417 long tmp___2 ;
16418 unsigned int tmp___3 ;
16419 unsigned int tmp___4 ;
16420 long tmp___5 ;
16421 int __cil_tmp11 ;
16422 int __cil_tmp12 ;
16423 int __cil_tmp13 ;
16424 long __cil_tmp14 ;
16425 void *__cil_tmp15 ;
16426 unsigned long __cil_tmp16 ;
16427 unsigned long __cil_tmp17 ;
16428 int __cil_tmp18 ;
16429 int __cil_tmp19 ;
16430 int __cil_tmp20 ;
16431 long __cil_tmp21 ;
16432 int __cil_tmp22 ;
16433 int __cil_tmp23 ;
16434 int __cil_tmp24 ;
16435 long __cil_tmp25 ;
16436 void *__cil_tmp26 ;
16437 unsigned long __cil_tmp27 ;
16438 unsigned long __cil_tmp28 ;
16439 unsigned long __cil_tmp29 ;
16440 unsigned long __cil_tmp30 ;
16441 unsigned long __cil_tmp31 ;
16442 unsigned long __cil_tmp32 ;
16443 unsigned long __cil_tmp33 ;
16444 unsigned long __cil_tmp34 ;
16445 unsigned long __cil_tmp35 ;
16446 unsigned long __cil_tmp36 ;
16447 __u8 *__cil_tmp37 ;
16448 __u8 *__cil_tmp38 ;
16449 unsigned long __cil_tmp39 ;
16450 unsigned long __cil_tmp40 ;
16451 unsigned long __cil_tmp41 ;
16452 unsigned long __cil_tmp42 ;
16453 __u8 *__cil_tmp43 ;
16454 __u8 *__cil_tmp44 ;
16455 unsigned long __cil_tmp45 ;
16456 unsigned long __cil_tmp46 ;
16457 __u8 __cil_tmp47 ;
16458 unsigned int __cil_tmp48 ;
16459 unsigned long __cil_tmp49 ;
16460 unsigned long __cil_tmp50 ;
16461 __u8 __cil_tmp51 ;
16462 unsigned int __cil_tmp52 ;
16463 unsigned long __cil_tmp53 ;
16464 unsigned long __cil_tmp54 ;
16465 unsigned long __cil_tmp55 ;
16466 unsigned long __cil_tmp56 ;
16467 unsigned long __cil_tmp57 ;
16468 unsigned long __cil_tmp58 ;
16469 __u8 __cil_tmp59 ;
16470 unsigned int __cil_tmp60 ;
16471 unsigned long __cil_tmp61 ;
16472 unsigned long __cil_tmp62 ;
16473 __u8 __cil_tmp63 ;
16474 unsigned int __cil_tmp64 ;
16475 char *__cil_tmp65 ;
16476 unsigned long __cil_tmp66 ;
16477 unsigned long __cil_tmp67 ;
16478 char *__cil_tmp68 ;
16479 unsigned short *__cil_tmp69 ;
16480 unsigned short *__cil_tmp70 ;
16481 unsigned short __cil_tmp71 ;
16482 int __cil_tmp72 ;
16483 unsigned short *__cil_tmp73 ;
16484 unsigned short *__cil_tmp74 ;
16485 unsigned short __cil_tmp75 ;
16486 int __cil_tmp76 ;
16487 unsigned short *__cil_tmp77 ;
16488 unsigned short *__cil_tmp78 ;
16489 unsigned short __cil_tmp79 ;
16490 int __cil_tmp80 ;
16491 unsigned long __cil_tmp81 ;
16492 unsigned long __cil_tmp82 ;
16493 int __cil_tmp83 ;
16494 int __cil_tmp84 ;
16495 int __cil_tmp85 ;
16496 long __cil_tmp86 ;
16497 void *__cil_tmp87 ;
16498
16499 {
16500 {
16501#line 948
16502 cdb = cdebbuf_alloc();
16503#line 949
16504 __cil_tmp11 = ! cdb;
16505#line 949
16506 __cil_tmp12 = ! __cil_tmp11;
16507#line 949
16508 __cil_tmp13 = ! __cil_tmp12;
16509#line 949
16510 __cil_tmp14 = (long )__cil_tmp13;
16511#line 949
16512 tmp = __builtin_expect(__cil_tmp14, 0L);
16513 }
16514#line 949
16515 if (tmp) {
16516 {
16517#line 950
16518 __cil_tmp15 = (void *)0;
16519#line 950
16520 return ((_cdebbuf *)__cil_tmp15);
16521 }
16522 } else {
16523
16524 }
16525 {
16526#line 951
16527 __cil_tmp16 = (unsigned long )g_debbuf;
16528#line 951
16529 __cil_tmp17 = (unsigned long )cdb;
16530#line 951
16531 __cil_tmp18 = __cil_tmp17 == __cil_tmp16;
16532#line 951
16533 __cil_tmp19 = ! __cil_tmp18;
16534#line 951
16535 __cil_tmp20 = ! __cil_tmp19;
16536#line 951
16537 __cil_tmp21 = (long )__cil_tmp20;
16538#line 951
16539 tmp___1 = __builtin_expect(__cil_tmp21, 1L);
16540 }
16541#line 951
16542 if (tmp___1) {
16543#line 952
16544 cmsg = g_cmsg;
16545 } else {
16546 {
16547#line 954
16548 tmp___0 = kmalloc(496UL, 32U);
16549#line 954
16550 cmsg = (_cmsg *)tmp___0;
16551 }
16552 }
16553 {
16554#line 955
16555 __cil_tmp22 = ! cmsg;
16556#line 955
16557 __cil_tmp23 = ! __cil_tmp22;
16558#line 955
16559 __cil_tmp24 = ! __cil_tmp23;
16560#line 955
16561 __cil_tmp25 = (long )__cil_tmp24;
16562#line 955
16563 tmp___2 = __builtin_expect(__cil_tmp25, 0L);
16564 }
16565#line 955
16566 if (tmp___2) {
16567 {
16568#line 956
16569 cdebbuf_free(cdb);
16570 }
16571 {
16572#line 957
16573 __cil_tmp26 = (void *)0;
16574#line 957
16575 return ((_cdebbuf *)__cil_tmp26);
16576 }
16577 } else {
16578
16579 }
16580 {
16581#line 959
16582 __cil_tmp27 = (unsigned long )cmsg;
16583#line 959
16584 __cil_tmp28 = __cil_tmp27 + 304;
16585#line 959
16586 *((__u8 **)__cil_tmp28) = msg;
16587#line 960
16588 __cil_tmp29 = (unsigned long )cmsg;
16589#line 960
16590 __cil_tmp30 = __cil_tmp29 + 288;
16591#line 960
16592 *((unsigned int *)__cil_tmp30) = 8U;
16593#line 961
16594 __cil_tmp31 = (unsigned long )cmsg;
16595#line 961
16596 __cil_tmp32 = __cil_tmp31 + 292;
16597#line 961
16598 *((unsigned int *)__cil_tmp32) = 0U;
16599#line 962
16600 __cil_tmp33 = (unsigned long )cmsg;
16601#line 962
16602 __cil_tmp34 = __cil_tmp33 + 2;
16603#line 962
16604 __cil_tmp35 = (unsigned long )cmsg;
16605#line 962
16606 __cil_tmp36 = __cil_tmp35 + 304;
16607#line 962
16608 __cil_tmp37 = *((__u8 **)__cil_tmp36);
16609#line 962
16610 __cil_tmp38 = __cil_tmp37 + 4;
16611#line 962
16612 *((__u8 *)__cil_tmp34) = *__cil_tmp38;
16613#line 963
16614 __cil_tmp39 = (unsigned long )cmsg;
16615#line 963
16616 __cil_tmp40 = __cil_tmp39 + 3;
16617#line 963
16618 __cil_tmp41 = (unsigned long )cmsg;
16619#line 963
16620 __cil_tmp42 = __cil_tmp41 + 304;
16621#line 963
16622 __cil_tmp43 = *((__u8 **)__cil_tmp42);
16623#line 963
16624 __cil_tmp44 = __cil_tmp43 + 5;
16625#line 963
16626 *((__u8 *)__cil_tmp40) = *__cil_tmp44;
16627#line 964
16628 __cil_tmp45 = (unsigned long )cmsg;
16629#line 964
16630 __cil_tmp46 = __cil_tmp45 + 2;
16631#line 964
16632 __cil_tmp47 = *((__u8 *)__cil_tmp46);
16633#line 964
16634 __cil_tmp48 = (unsigned int )__cil_tmp47;
16635#line 964
16636 __cil_tmp49 = (unsigned long )cmsg;
16637#line 964
16638 __cil_tmp50 = __cil_tmp49 + 3;
16639#line 964
16640 __cil_tmp51 = *((__u8 *)__cil_tmp50);
16641#line 964
16642 __cil_tmp52 = (unsigned int )__cil_tmp51;
16643#line 964
16644 tmp___3 = command_2_index(__cil_tmp48, __cil_tmp52);
16645#line 964
16646 __cil_tmp53 = (unsigned long )cmsg;
16647#line 964
16648 __cil_tmp54 = __cil_tmp53 + 296;
16649#line 964
16650 __cil_tmp55 = tmp___3 * 8UL;
16651#line 964
16652 __cil_tmp56 = (unsigned long )(cpars) + __cil_tmp55;
16653#line 964
16654 *((unsigned char **)__cil_tmp54) = *((unsigned char **)__cil_tmp56);
16655#line 966
16656 __cil_tmp57 = (unsigned long )cmsg;
16657#line 966
16658 __cil_tmp58 = __cil_tmp57 + 2;
16659#line 966
16660 __cil_tmp59 = *((__u8 *)__cil_tmp58);
16661#line 966
16662 __cil_tmp60 = (unsigned int )__cil_tmp59;
16663#line 966
16664 __cil_tmp61 = (unsigned long )cmsg;
16665#line 966
16666 __cil_tmp62 = __cil_tmp61 + 3;
16667#line 966
16668 __cil_tmp63 = *((__u8 *)__cil_tmp62);
16669#line 966
16670 __cil_tmp64 = (unsigned int )__cil_tmp63;
16671#line 966
16672 tmp___4 = command_2_index(__cil_tmp60, __cil_tmp64);
16673#line 966
16674 __cil_tmp65 = (char *)"%-26s ID=%03d #0x%04x LEN=%04d\n";
16675#line 966
16676 __cil_tmp66 = tmp___4 * 8UL;
16677#line 966
16678 __cil_tmp67 = (unsigned long )(mnames) + __cil_tmp66;
16679#line 966
16680 __cil_tmp68 = *((char **)__cil_tmp67);
16681#line 966
16682 __cil_tmp69 = (unsigned short *)msg;
16683#line 966
16684 __cil_tmp70 = __cil_tmp69 + 1;
16685#line 966
16686 __cil_tmp71 = *__cil_tmp70;
16687#line 966
16688 __cil_tmp72 = (int )__cil_tmp71;
16689#line 966
16690 __cil_tmp73 = (unsigned short *)msg;
16691#line 966
16692 __cil_tmp74 = __cil_tmp73 + 3;
16693#line 966
16694 __cil_tmp75 = *__cil_tmp74;
16695#line 966
16696 __cil_tmp76 = (int )__cil_tmp75;
16697#line 966
16698 __cil_tmp77 = (unsigned short *)msg;
16699#line 966
16700 __cil_tmp78 = __cil_tmp77 + 0;
16701#line 966
16702 __cil_tmp79 = *__cil_tmp78;
16703#line 966
16704 __cil_tmp80 = (int )__cil_tmp79;
16705#line 966
16706 cdb = bufprint(cdb, __cil_tmp65, __cil_tmp68, __cil_tmp72, __cil_tmp76, __cil_tmp80);
16707#line 972
16708 cdb = protocol_message_2_pars(cdb, cmsg, 1);
16709#line 973
16710 __cil_tmp81 = (unsigned long )g_cmsg;
16711#line 973
16712 __cil_tmp82 = (unsigned long )cmsg;
16713#line 973
16714 __cil_tmp83 = __cil_tmp82 != __cil_tmp81;
16715#line 973
16716 __cil_tmp84 = ! __cil_tmp83;
16717#line 973
16718 __cil_tmp85 = ! __cil_tmp84;
16719#line 973
16720 __cil_tmp86 = (long )__cil_tmp85;
16721#line 973
16722 tmp___5 = __builtin_expect(__cil_tmp86, 0L);
16723 }
16724#line 973
16725 if (tmp___5) {
16726 {
16727#line 974
16728 __cil_tmp87 = (void *)cmsg;
16729#line 974
16730 kfree(__cil_tmp87);
16731 }
16732 } else {
16733
16734 }
16735#line 975
16736 return (cdb);
16737}
16738}
16739#line 989 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
16740_cdebbuf *capi_cmsg2str(_cmsg *cmsg )
16741{ _cdebbuf *cdb ;
16742 unsigned int tmp ;
16743 unsigned long __cil_tmp4 ;
16744 unsigned long __cil_tmp5 ;
16745 __u8 *__cil_tmp6 ;
16746 void *__cil_tmp7 ;
16747 void *__cil_tmp8 ;
16748 unsigned long __cil_tmp9 ;
16749 unsigned long __cil_tmp10 ;
16750 unsigned long __cil_tmp11 ;
16751 unsigned long __cil_tmp12 ;
16752 unsigned long __cil_tmp13 ;
16753 unsigned long __cil_tmp14 ;
16754 __u8 __cil_tmp15 ;
16755 unsigned int __cil_tmp16 ;
16756 unsigned long __cil_tmp17 ;
16757 unsigned long __cil_tmp18 ;
16758 __u8 __cil_tmp19 ;
16759 unsigned int __cil_tmp20 ;
16760 char *__cil_tmp21 ;
16761 unsigned long __cil_tmp22 ;
16762 unsigned long __cil_tmp23 ;
16763 char *__cil_tmp24 ;
16764 unsigned long __cil_tmp25 ;
16765 unsigned long __cil_tmp26 ;
16766 __u8 *__cil_tmp27 ;
16767 u16 *__cil_tmp28 ;
16768 u16 *__cil_tmp29 ;
16769 u16 __cil_tmp30 ;
16770 int __cil_tmp31 ;
16771 unsigned long __cil_tmp32 ;
16772 unsigned long __cil_tmp33 ;
16773 __u8 *__cil_tmp34 ;
16774 u16 *__cil_tmp35 ;
16775 u16 *__cil_tmp36 ;
16776 u16 __cil_tmp37 ;
16777 int __cil_tmp38 ;
16778 unsigned long __cil_tmp39 ;
16779 unsigned long __cil_tmp40 ;
16780 __u8 *__cil_tmp41 ;
16781 u16 *__cil_tmp42 ;
16782 u16 *__cil_tmp43 ;
16783 u16 __cil_tmp44 ;
16784 int __cil_tmp45 ;
16785
16786 {
16787 {
16788#line 993
16789 __cil_tmp4 = (unsigned long )cmsg;
16790#line 993
16791 __cil_tmp5 = __cil_tmp4 + 304;
16792#line 993
16793 __cil_tmp6 = *((__u8 **)__cil_tmp5);
16794#line 993
16795 if (! __cil_tmp6) {
16796 {
16797#line 994
16798 __cil_tmp7 = (void *)0;
16799#line 994
16800 return ((_cdebbuf *)__cil_tmp7);
16801 }
16802 } else {
16803
16804 }
16805 }
16806 {
16807#line 995
16808 cdb = cdebbuf_alloc();
16809 }
16810#line 996
16811 if (! cdb) {
16812 {
16813#line 997
16814 __cil_tmp8 = (void *)0;
16815#line 997
16816 return ((_cdebbuf *)__cil_tmp8);
16817 }
16818 } else {
16819
16820 }
16821 {
16822#line 998
16823 __cil_tmp9 = (unsigned long )cmsg;
16824#line 998
16825 __cil_tmp10 = __cil_tmp9 + 288;
16826#line 998
16827 *((unsigned int *)__cil_tmp10) = 8U;
16828#line 999
16829 __cil_tmp11 = (unsigned long )cmsg;
16830#line 999
16831 __cil_tmp12 = __cil_tmp11 + 292;
16832#line 999
16833 *((unsigned int *)__cil_tmp12) = 0U;
16834#line 1000
16835 __cil_tmp13 = (unsigned long )cmsg;
16836#line 1000
16837 __cil_tmp14 = __cil_tmp13 + 2;
16838#line 1000
16839 __cil_tmp15 = *((__u8 *)__cil_tmp14);
16840#line 1000
16841 __cil_tmp16 = (unsigned int )__cil_tmp15;
16842#line 1000
16843 __cil_tmp17 = (unsigned long )cmsg;
16844#line 1000
16845 __cil_tmp18 = __cil_tmp17 + 3;
16846#line 1000
16847 __cil_tmp19 = *((__u8 *)__cil_tmp18);
16848#line 1000
16849 __cil_tmp20 = (unsigned int )__cil_tmp19;
16850#line 1000
16851 tmp = command_2_index(__cil_tmp16, __cil_tmp20);
16852#line 1000
16853 __cil_tmp21 = (char *)"%s ID=%03d #0x%04x LEN=%04d\n";
16854#line 1000
16855 __cil_tmp22 = tmp * 8UL;
16856#line 1000
16857 __cil_tmp23 = (unsigned long )(mnames) + __cil_tmp22;
16858#line 1000
16859 __cil_tmp24 = *((char **)__cil_tmp23);
16860#line 1000
16861 __cil_tmp25 = (unsigned long )cmsg;
16862#line 1000
16863 __cil_tmp26 = __cil_tmp25 + 304;
16864#line 1000
16865 __cil_tmp27 = *((__u8 **)__cil_tmp26);
16866#line 1000
16867 __cil_tmp28 = (u16 *)__cil_tmp27;
16868#line 1000
16869 __cil_tmp29 = __cil_tmp28 + 1;
16870#line 1000
16871 __cil_tmp30 = *__cil_tmp29;
16872#line 1000
16873 __cil_tmp31 = (int )__cil_tmp30;
16874#line 1000
16875 __cil_tmp32 = (unsigned long )cmsg;
16876#line 1000
16877 __cil_tmp33 = __cil_tmp32 + 304;
16878#line 1000
16879 __cil_tmp34 = *((__u8 **)__cil_tmp33);
16880#line 1000
16881 __cil_tmp35 = (u16 *)__cil_tmp34;
16882#line 1000
16883 __cil_tmp36 = __cil_tmp35 + 3;
16884#line 1000
16885 __cil_tmp37 = *__cil_tmp36;
16886#line 1000
16887 __cil_tmp38 = (int )__cil_tmp37;
16888#line 1000
16889 __cil_tmp39 = (unsigned long )cmsg;
16890#line 1000
16891 __cil_tmp40 = __cil_tmp39 + 304;
16892#line 1000
16893 __cil_tmp41 = *((__u8 **)__cil_tmp40);
16894#line 1000
16895 __cil_tmp42 = (u16 *)__cil_tmp41;
16896#line 1000
16897 __cil_tmp43 = __cil_tmp42 + 0;
16898#line 1000
16899 __cil_tmp44 = *__cil_tmp43;
16900#line 1000
16901 __cil_tmp45 = (int )__cil_tmp44;
16902#line 1000
16903 cdb = bufprint(cdb, __cil_tmp21, __cil_tmp24, __cil_tmp31, __cil_tmp38, __cil_tmp45);
16904#line 1005
16905 cdb = protocol_message_2_pars(cdb, cmsg, 1);
16906 }
16907#line 1006
16908 return (cdb);
16909}
16910}
16911#line 1009
16912int cdebug_init(void) __attribute__((__section__(".init.text"), __no_instrument_function__)) ;
16913#line 1009 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
16914int cdebug_init(void)
16915{ void *tmp ;
16916 void *tmp___0 ;
16917 void *tmp___1 ;
16918 void *__cil_tmp4 ;
16919 size_t __cil_tmp5 ;
16920 u_char *__cil_tmp6 ;
16921 void *__cil_tmp7 ;
16922 void *__cil_tmp8 ;
16923 unsigned long __cil_tmp9 ;
16924 unsigned long __cil_tmp10 ;
16925 u_char *__cil_tmp11 ;
16926 u_char *__cil_tmp12 ;
16927 unsigned long __cil_tmp13 ;
16928 unsigned long __cil_tmp14 ;
16929 unsigned long __cil_tmp15 ;
16930 unsigned long __cil_tmp16 ;
16931
16932 {
16933 {
16934#line 1011
16935 tmp = kmalloc(496UL, 208U);
16936#line 1011
16937 g_cmsg = (_cmsg *)tmp;
16938 }
16939#line 1012
16940 if (! g_cmsg) {
16941#line 1013
16942 return (-12);
16943 } else {
16944
16945 }
16946 {
16947#line 1014
16948 tmp___0 = kmalloc(32UL, 208U);
16949#line 1014
16950 g_debbuf = (_cdebbuf *)tmp___0;
16951 }
16952#line 1015
16953 if (! g_debbuf) {
16954 {
16955#line 1016
16956 __cil_tmp4 = (void *)g_cmsg;
16957#line 1016
16958 kfree(__cil_tmp4);
16959 }
16960#line 1017
16961 return (-12);
16962 } else {
16963
16964 }
16965 {
16966#line 1019
16967 __cil_tmp5 = (size_t )4096;
16968#line 1019
16969 tmp___1 = kmalloc(__cil_tmp5, 208U);
16970#line 1019
16971 *((u_char **)g_debbuf) = (u_char *)tmp___1;
16972 }
16973 {
16974#line 1020
16975 __cil_tmp6 = *((u_char **)g_debbuf);
16976#line 1020
16977 if (! __cil_tmp6) {
16978 {
16979#line 1021
16980 __cil_tmp7 = (void *)g_cmsg;
16981#line 1021
16982 kfree(__cil_tmp7);
16983#line 1022
16984 __cil_tmp8 = (void *)g_debbuf;
16985#line 1022
16986 kfree(__cil_tmp8);
16987 }
16988#line 1023
16989 return (-12);
16990 } else {
16991
16992 }
16993 }
16994#line 1025
16995 __cil_tmp9 = (unsigned long )g_debbuf;
16996#line 1025
16997 __cil_tmp10 = __cil_tmp9 + 16;
16998#line 1025
16999 *((size_t *)__cil_tmp10) = (size_t )4096;
17000#line 1026
17001 __cil_tmp11 = *((u_char **)g_debbuf);
17002#line 1026
17003 __cil_tmp12 = __cil_tmp11 + 0;
17004#line 1026
17005 *__cil_tmp12 = (u_char )0;
17006#line 1027
17007 __cil_tmp13 = (unsigned long )g_debbuf;
17008#line 1027
17009 __cil_tmp14 = __cil_tmp13 + 8;
17010#line 1027
17011 *((u_char **)__cil_tmp14) = *((u_char **)g_debbuf);
17012#line 1028
17013 __cil_tmp15 = (unsigned long )g_debbuf;
17014#line 1028
17015 __cil_tmp16 = __cil_tmp15 + 24;
17016#line 1028
17017 *((size_t *)__cil_tmp16) = (size_t )0;
17018#line 1029
17019 return (0);
17020}
17021}
17022#line 1032
17023void cdebug_exit(void) __attribute__((__section__(".exit.text"), __no_instrument_function__)) ;
17024#line 1032 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17025void cdebug_exit(void)
17026{ u_char *__cil_tmp1 ;
17027 void *__cil_tmp2 ;
17028 void *__cil_tmp3 ;
17029 void *__cil_tmp4 ;
17030
17031 {
17032#line 1034
17033 if (g_debbuf) {
17034 {
17035#line 1035
17036 __cil_tmp1 = *((u_char **)g_debbuf);
17037#line 1035
17038 __cil_tmp2 = (void *)__cil_tmp1;
17039#line 1035
17040 kfree(__cil_tmp2);
17041 }
17042 } else {
17043
17044 }
17045 {
17046#line 1036
17047 __cil_tmp3 = (void *)g_debbuf;
17048#line 1036
17049 kfree(__cil_tmp3);
17050#line 1037
17051 __cil_tmp4 = (void *)g_cmsg;
17052#line 1037
17053 kfree(__cil_tmp4);
17054 }
17055#line 1038
17056 return;
17057}
17058}
17059#line 1069
17060extern void *__crc_cdebbuf_free __attribute__((__weak__)) ;
17061#line 1069 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17062static unsigned long __kcrctab_cdebbuf_free __attribute__((__used__, __unused__,
17063__section__("___kcrctab+cdebbuf_free"))) = (unsigned long )((unsigned long )(& __crc_cdebbuf_free));
17064#line 1069 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17065static char __kstrtab_cdebbuf_free[13] __attribute__((__section__("__ksymtab_strings"),
17066__aligned__(1))) =
17067#line 1069
17068 { (char )'c', (char )'d', (char const )'e', (char const )'b',
17069 (char )'b', (char )'u', (char const )'f', (char const )'_',
17070 (char )'f', (char )'r', (char const )'e', (char const )'e',
17071 (char )'\000'};
17072#line 1069 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17073static struct kernel_symbol __ksymtab_cdebbuf_free __attribute__((__used__,
17074__unused__, __section__("___ksymtab+cdebbuf_free"))) = {(unsigned long )(& cdebbuf_free), __kstrtab_cdebbuf_free};
17075#line 1070
17076extern void *__crc_capi_cmsg2message __attribute__((__weak__)) ;
17077#line 1070 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17078static unsigned long __kcrctab_capi_cmsg2message __attribute__((__used__,
17079__unused__, __section__("___kcrctab+capi_cmsg2message"))) = (unsigned long )((unsigned long )(& __crc_capi_cmsg2message));
17080#line 1070 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17081static char __kstrtab_capi_cmsg2message[18] __attribute__((__section__("__ksymtab_strings"),
17082__aligned__(1))) =
17083#line 1070
17084 { (char )'c', (char )'a', (char const )'p', (char const )'i',
17085 (char )'_', (char )'c', (char const )'m', (char const )'s',
17086 (char )'g', (char )'2', (char const )'m', (char const )'e',
17087 (char )'s', (char )'s', (char const )'a', (char const )'g',
17088 (char )'e', (char )'\000'};
17089#line 1070 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17090static struct kernel_symbol __ksymtab_capi_cmsg2message __attribute__((__used__,
17091__unused__, __section__("___ksymtab+capi_cmsg2message"))) = {(unsigned long )(& capi_cmsg2message), __kstrtab_capi_cmsg2message};
17092#line 1071
17093extern void *__crc_capi_message2cmsg __attribute__((__weak__)) ;
17094#line 1071 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17095static unsigned long __kcrctab_capi_message2cmsg __attribute__((__used__,
17096__unused__, __section__("___kcrctab+capi_message2cmsg"))) = (unsigned long )((unsigned long )(& __crc_capi_message2cmsg));
17097#line 1071 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17098static char __kstrtab_capi_message2cmsg[18] __attribute__((__section__("__ksymtab_strings"),
17099__aligned__(1))) =
17100#line 1071
17101 { (char )'c', (char )'a', (char const )'p', (char const )'i',
17102 (char )'_', (char )'m', (char const )'e', (char const )'s',
17103 (char )'s', (char )'a', (char const )'g', (char const )'e',
17104 (char )'2', (char )'c', (char const )'m', (char const )'s',
17105 (char )'g', (char )'\000'};
17106#line 1071 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17107static struct kernel_symbol __ksymtab_capi_message2cmsg __attribute__((__used__,
17108__unused__, __section__("___ksymtab+capi_message2cmsg"))) = {(unsigned long )(& capi_message2cmsg), __kstrtab_capi_message2cmsg};
17109#line 1072
17110extern void *__crc_capi_cmsg_header __attribute__((__weak__)) ;
17111#line 1072 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17112static unsigned long __kcrctab_capi_cmsg_header __attribute__((__used__,
17113__unused__, __section__("___kcrctab+capi_cmsg_header"))) = (unsigned long )((unsigned long )(& __crc_capi_cmsg_header));
17114#line 1072 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17115static char __kstrtab_capi_cmsg_header[17] __attribute__((__section__("__ksymtab_strings"),
17116__aligned__(1))) =
17117#line 1072
17118 { (char )'c', (char )'a', (char const )'p', (char const )'i',
17119 (char )'_', (char )'c', (char const )'m', (char const )'s',
17120 (char )'g', (char )'_', (char const )'h', (char const )'e',
17121 (char )'a', (char )'d', (char const )'e', (char const )'r',
17122 (char )'\000'};
17123#line 1072 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17124static struct kernel_symbol __ksymtab_capi_cmsg_header __attribute__((__used__,
17125__unused__, __section__("___ksymtab+capi_cmsg_header"))) = {(unsigned long )(& capi_cmsg_header), __kstrtab_capi_cmsg_header};
17126#line 1073
17127extern void *__crc_capi_cmd2str __attribute__((__weak__)) ;
17128#line 1073 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17129static unsigned long __kcrctab_capi_cmd2str __attribute__((__used__, __unused__,
17130__section__("___kcrctab+capi_cmd2str"))) = (unsigned long )((unsigned long )(& __crc_capi_cmd2str));
17131#line 1073 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17132static char __kstrtab_capi_cmd2str[13] __attribute__((__section__("__ksymtab_strings"),
17133__aligned__(1))) =
17134#line 1073
17135 { (char )'c', (char )'a', (char const )'p', (char const )'i',
17136 (char )'_', (char )'c', (char const )'m', (char const )'d',
17137 (char )'2', (char )'s', (char const )'t', (char const )'r',
17138 (char )'\000'};
17139#line 1073 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17140static struct kernel_symbol __ksymtab_capi_cmd2str __attribute__((__used__,
17141__unused__, __section__("___ksymtab+capi_cmd2str"))) = {(unsigned long )(& capi_cmd2str), __kstrtab_capi_cmd2str};
17142#line 1074
17143extern void *__crc_capi_cmsg2str __attribute__((__weak__)) ;
17144#line 1074 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17145static unsigned long __kcrctab_capi_cmsg2str __attribute__((__used__, __unused__,
17146__section__("___kcrctab+capi_cmsg2str"))) = (unsigned long )((unsigned long )(& __crc_capi_cmsg2str));
17147#line 1074 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17148static char __kstrtab_capi_cmsg2str[14] __attribute__((__section__("__ksymtab_strings"),
17149__aligned__(1))) =
17150#line 1074
17151 { (char )'c', (char )'a', (char const )'p', (char const )'i',
17152 (char )'_', (char )'c', (char const )'m', (char const )'s',
17153 (char )'g', (char )'2', (char const )'s', (char const )'t',
17154 (char )'r', (char )'\000'};
17155#line 1074 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17156static struct kernel_symbol __ksymtab_capi_cmsg2str __attribute__((__used__,
17157__unused__, __section__("___ksymtab+capi_cmsg2str"))) = {(unsigned long )(& capi_cmsg2str), __kstrtab_capi_cmsg2str};
17158#line 1075
17159extern void *__crc_capi_message2str __attribute__((__weak__)) ;
17160#line 1075 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17161static unsigned long __kcrctab_capi_message2str __attribute__((__used__,
17162__unused__, __section__("___kcrctab+capi_message2str"))) = (unsigned long )((unsigned long )(& __crc_capi_message2str));
17163#line 1075 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17164static char __kstrtab_capi_message2str[17] __attribute__((__section__("__ksymtab_strings"),
17165__aligned__(1))) =
17166#line 1075
17167 { (char )'c', (char )'a', (char const )'p', (char const )'i',
17168 (char )'_', (char )'m', (char const )'e', (char const )'s',
17169 (char )'s', (char )'a', (char const )'g', (char const )'e',
17170 (char )'2', (char )'s', (char const )'t', (char const )'r',
17171 (char )'\000'};
17172#line 1075 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17173static struct kernel_symbol __ksymtab_capi_message2str __attribute__((__used__,
17174__unused__, __section__("___ksymtab+capi_message2str"))) = {(unsigned long )(& capi_message2str), __kstrtab_capi_message2str};
17175#line 1076
17176extern void *__crc_capi_info2str __attribute__((__weak__)) ;
17177#line 1076 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17178static unsigned long __kcrctab_capi_info2str __attribute__((__used__, __unused__,
17179__section__("___kcrctab+capi_info2str"))) = (unsigned long )((unsigned long )(& __crc_capi_info2str));
17180#line 1076 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17181static char __kstrtab_capi_info2str[14] __attribute__((__section__("__ksymtab_strings"),
17182__aligned__(1))) =
17183#line 1076
17184 { (char )'c', (char )'a', (char const )'p', (char const )'i',
17185 (char )'_', (char )'i', (char const )'n', (char const )'f',
17186 (char )'o', (char )'2', (char const )'s', (char const )'t',
17187 (char )'r', (char )'\000'};
17188#line 1076 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capiutil.c"
17189static struct kernel_symbol __ksymtab_capi_info2str __attribute__((__used__,
17190__unused__, __section__("___ksymtab+capi_info2str"))) = {(unsigned long )(& capi_info2str), __kstrtab_capi_info2str};
17191#line 106 "include/linux/isdn/capilli.h"
17192void capilib_new_ncci(struct list_head *head , u16 applid , u32 ncci , u32 winsize ) ;
17193#line 107
17194void capilib_free_ncci(struct list_head *head , u16 applid , u32 ncci ) ;
17195#line 108
17196void capilib_release_appl(struct list_head *head , u16 applid ) ;
17197#line 109
17198void capilib_release(struct list_head *head ) ;
17199#line 110
17200void capilib_data_b3_conf(struct list_head *head , u16 applid , u32 ncci , u16 msgid ) ;
17201#line 111
17202u16 capilib_data_b3_req(struct list_head *head , u16 applid , u32 ncci , u16 msgid ) ;
17203#line 31 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17204__inline static void mq_init(struct capilib_ncci *np ) __attribute__((__no_instrument_function__)) ;
17205#line 31 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17206__inline static void mq_init(struct capilib_ncci *np )
17207{ u_int i ;
17208 unsigned long __cil_tmp3 ;
17209 unsigned long __cil_tmp4 ;
17210 void *__cil_tmp5 ;
17211 unsigned long __cil_tmp6 ;
17212 unsigned long __cil_tmp7 ;
17213 void *__cil_tmp8 ;
17214 unsigned long __cil_tmp9 ;
17215 unsigned long __cil_tmp10 ;
17216 unsigned long __cil_tmp11 ;
17217 unsigned long __cil_tmp12 ;
17218 unsigned long __cil_tmp13 ;
17219 unsigned long __cil_tmp14 ;
17220 struct capilib_msgidqueue *__cil_tmp15 ;
17221 void *__cil_tmp16 ;
17222 unsigned long __cil_tmp17 ;
17223 unsigned long __cil_tmp18 ;
17224 unsigned long __cil_tmp19 ;
17225 unsigned long __cil_tmp20 ;
17226 unsigned long __cil_tmp21 ;
17227 unsigned long __cil_tmp22 ;
17228 unsigned long __cil_tmp23 ;
17229 unsigned long __cil_tmp24 ;
17230 u32 __cil_tmp25 ;
17231 unsigned long __cil_tmp26 ;
17232 unsigned long __cil_tmp27 ;
17233 unsigned long __cil_tmp28 ;
17234 unsigned long __cil_tmp29 ;
17235 unsigned long __cil_tmp30 ;
17236 unsigned long __cil_tmp31 ;
17237 unsigned long __cil_tmp32 ;
17238 unsigned long __cil_tmp33 ;
17239 unsigned long __cil_tmp34 ;
17240 unsigned long __cil_tmp35 ;
17241 unsigned long __cil_tmp36 ;
17242 unsigned long __cil_tmp37 ;
17243
17244 {
17245 {
17246#line 34
17247 __cil_tmp3 = (unsigned long )np;
17248#line 34
17249 __cil_tmp4 = __cil_tmp3 + 32;
17250#line 34
17251 __cil_tmp5 = (void *)0;
17252#line 34
17253 *((struct capilib_msgidqueue **)__cil_tmp4) = (struct capilib_msgidqueue *)__cil_tmp5;
17254#line 35
17255 __cil_tmp6 = (unsigned long )np;
17256#line 35
17257 __cil_tmp7 = __cil_tmp6 + 40;
17258#line 35
17259 __cil_tmp8 = (void *)0;
17260#line 35
17261 *((struct capilib_msgidqueue **)__cil_tmp7) = (struct capilib_msgidqueue *)__cil_tmp8;
17262#line 36
17263 __cil_tmp9 = (unsigned long )np;
17264#line 36
17265 __cil_tmp10 = __cil_tmp9 + 28;
17266#line 36
17267 *((int *)__cil_tmp10) = 0;
17268#line 37
17269 __cil_tmp11 = 0 * 16UL;
17270#line 37
17271 __cil_tmp12 = 56 + __cil_tmp11;
17272#line 37
17273 __cil_tmp13 = (unsigned long )np;
17274#line 37
17275 __cil_tmp14 = __cil_tmp13 + __cil_tmp12;
17276#line 37
17277 __cil_tmp15 = (struct capilib_msgidqueue *)__cil_tmp14;
17278#line 37
17279 __cil_tmp16 = (void *)__cil_tmp15;
17280#line 37
17281 memset(__cil_tmp16, 0, 128UL);
17282#line 38
17283 __cil_tmp17 = (unsigned long )np;
17284#line 38
17285 __cil_tmp18 = __cil_tmp17 + 48;
17286#line 38
17287 __cil_tmp19 = 0 * 16UL;
17288#line 38
17289 __cil_tmp20 = 56 + __cil_tmp19;
17290#line 38
17291 __cil_tmp21 = (unsigned long )np;
17292#line 38
17293 __cil_tmp22 = __cil_tmp21 + __cil_tmp20;
17294#line 38
17295 *((struct capilib_msgidqueue **)__cil_tmp18) = (struct capilib_msgidqueue *)__cil_tmp22;
17296#line 39
17297 i = (u_int )1;
17298 }
17299 {
17300#line 39
17301 while (1) {
17302 while_continue: ;
17303 {
17304#line 39
17305 __cil_tmp23 = (unsigned long )np;
17306#line 39
17307 __cil_tmp24 = __cil_tmp23 + 24;
17308#line 39
17309 __cil_tmp25 = *((u32 *)__cil_tmp24);
17310#line 39
17311 if (i < __cil_tmp25) {
17312
17313 } else {
17314#line 39
17315 goto while_break;
17316 }
17317 }
17318#line 40
17319 __cil_tmp26 = i * 16UL;
17320#line 40
17321 __cil_tmp27 = 56 + __cil_tmp26;
17322#line 40
17323 __cil_tmp28 = (unsigned long )np;
17324#line 40
17325 __cil_tmp29 = __cil_tmp28 + __cil_tmp27;
17326#line 40
17327 __cil_tmp30 = (unsigned long )np;
17328#line 40
17329 __cil_tmp31 = __cil_tmp30 + 48;
17330#line 40
17331 *((struct capilib_msgidqueue **)__cil_tmp29) = *((struct capilib_msgidqueue **)__cil_tmp31);
17332#line 41
17333 __cil_tmp32 = (unsigned long )np;
17334#line 41
17335 __cil_tmp33 = __cil_tmp32 + 48;
17336#line 41
17337 __cil_tmp34 = i * 16UL;
17338#line 41
17339 __cil_tmp35 = 56 + __cil_tmp34;
17340#line 41
17341 __cil_tmp36 = (unsigned long )np;
17342#line 41
17343 __cil_tmp37 = __cil_tmp36 + __cil_tmp35;
17344#line 41
17345 *((struct capilib_msgidqueue **)__cil_tmp33) = (struct capilib_msgidqueue *)__cil_tmp37;
17346#line 39
17347 i = i + 1U;
17348 }
17349 while_break: ;
17350 }
17351#line 43
17352 return;
17353}
17354}
17355#line 45
17356__inline static int mq_enqueue(struct capilib_ncci *np , u16 msgid ) __attribute__((__no_instrument_function__)) ;
17357#line 45 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17358__inline static int mq_enqueue(struct capilib_ncci *np , u16 msgid )
17359{ struct capilib_msgidqueue *mq ;
17360 unsigned long __cil_tmp4 ;
17361 unsigned long __cil_tmp5 ;
17362 void *__cil_tmp6 ;
17363 unsigned long __cil_tmp7 ;
17364 unsigned long __cil_tmp8 ;
17365 unsigned long __cil_tmp9 ;
17366 unsigned long __cil_tmp10 ;
17367 unsigned long __cil_tmp11 ;
17368 unsigned long __cil_tmp12 ;
17369 void *__cil_tmp13 ;
17370 unsigned long __cil_tmp14 ;
17371 unsigned long __cil_tmp15 ;
17372 unsigned long __cil_tmp16 ;
17373 unsigned long __cil_tmp17 ;
17374 struct capilib_msgidqueue *__cil_tmp18 ;
17375 unsigned long __cil_tmp19 ;
17376 unsigned long __cil_tmp20 ;
17377 unsigned long __cil_tmp21 ;
17378 unsigned long __cil_tmp22 ;
17379 struct capilib_msgidqueue *__cil_tmp23 ;
17380 unsigned long __cil_tmp24 ;
17381 unsigned long __cil_tmp25 ;
17382 unsigned long __cil_tmp26 ;
17383 unsigned long __cil_tmp27 ;
17384 unsigned long __cil_tmp28 ;
17385 unsigned long __cil_tmp29 ;
17386 int __cil_tmp30 ;
17387
17388 {
17389#line 48
17390 __cil_tmp4 = (unsigned long )np;
17391#line 48
17392 __cil_tmp5 = __cil_tmp4 + 48;
17393#line 48
17394 mq = *((struct capilib_msgidqueue **)__cil_tmp5);
17395 {
17396#line 48
17397 __cil_tmp6 = (void *)0;
17398#line 48
17399 __cil_tmp7 = (unsigned long )__cil_tmp6;
17400#line 48
17401 __cil_tmp8 = (unsigned long )mq;
17402#line 48
17403 if (__cil_tmp8 == __cil_tmp7) {
17404#line 49
17405 return (0);
17406 } else {
17407
17408 }
17409 }
17410#line 50
17411 __cil_tmp9 = (unsigned long )np;
17412#line 50
17413 __cil_tmp10 = __cil_tmp9 + 48;
17414#line 50
17415 *((struct capilib_msgidqueue **)__cil_tmp10) = *((struct capilib_msgidqueue **)mq);
17416#line 51
17417 __cil_tmp11 = (unsigned long )mq;
17418#line 51
17419 __cil_tmp12 = __cil_tmp11 + 8;
17420#line 51
17421 *((u16 *)__cil_tmp12) = msgid;
17422#line 52
17423 __cil_tmp13 = (void *)0;
17424#line 52
17425 *((struct capilib_msgidqueue **)mq) = (struct capilib_msgidqueue *)__cil_tmp13;
17426 {
17427#line 53
17428 __cil_tmp14 = (unsigned long )np;
17429#line 53
17430 __cil_tmp15 = __cil_tmp14 + 40;
17431#line 53
17432 if (*((struct capilib_msgidqueue **)__cil_tmp15)) {
17433#line 54
17434 __cil_tmp16 = (unsigned long )np;
17435#line 54
17436 __cil_tmp17 = __cil_tmp16 + 40;
17437#line 54
17438 __cil_tmp18 = *((struct capilib_msgidqueue **)__cil_tmp17);
17439#line 54
17440 *((struct capilib_msgidqueue **)__cil_tmp18) = mq;
17441 } else {
17442
17443 }
17444 }
17445#line 55
17446 __cil_tmp19 = (unsigned long )np;
17447#line 55
17448 __cil_tmp20 = __cil_tmp19 + 40;
17449#line 55
17450 *((struct capilib_msgidqueue **)__cil_tmp20) = mq;
17451 {
17452#line 56
17453 __cil_tmp21 = (unsigned long )np;
17454#line 56
17455 __cil_tmp22 = __cil_tmp21 + 32;
17456#line 56
17457 __cil_tmp23 = *((struct capilib_msgidqueue **)__cil_tmp22);
17458#line 56
17459 if (! __cil_tmp23) {
17460#line 57
17461 __cil_tmp24 = (unsigned long )np;
17462#line 57
17463 __cil_tmp25 = __cil_tmp24 + 32;
17464#line 57
17465 *((struct capilib_msgidqueue **)__cil_tmp25) = mq;
17466 } else {
17467
17468 }
17469 }
17470#line 58
17471 __cil_tmp26 = (unsigned long )np;
17472#line 58
17473 __cil_tmp27 = __cil_tmp26 + 28;
17474#line 58
17475 __cil_tmp28 = (unsigned long )np;
17476#line 58
17477 __cil_tmp29 = __cil_tmp28 + 28;
17478#line 58
17479 __cil_tmp30 = *((int *)__cil_tmp29);
17480#line 58
17481 *((int *)__cil_tmp27) = __cil_tmp30 + 1;
17482#line 59
17483 return (1);
17484}
17485}
17486#line 62
17487__inline static int mq_dequeue(struct capilib_ncci *np , u16 msgid ) __attribute__((__no_instrument_function__)) ;
17488#line 62 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17489__inline static int mq_dequeue(struct capilib_ncci *np , u16 msgid )
17490{ struct capilib_msgidqueue **pp ;
17491 struct capilib_msgidqueue *mq ;
17492 unsigned long __cil_tmp5 ;
17493 unsigned long __cil_tmp6 ;
17494 int __cil_tmp7 ;
17495 struct capilib_msgidqueue *__cil_tmp8 ;
17496 unsigned long __cil_tmp9 ;
17497 unsigned long __cil_tmp10 ;
17498 u16 __cil_tmp11 ;
17499 int __cil_tmp12 ;
17500 unsigned long __cil_tmp13 ;
17501 unsigned long __cil_tmp14 ;
17502 struct capilib_msgidqueue *__cil_tmp15 ;
17503 unsigned long __cil_tmp16 ;
17504 unsigned long __cil_tmp17 ;
17505 unsigned long __cil_tmp18 ;
17506 unsigned long __cil_tmp19 ;
17507 void *__cil_tmp20 ;
17508 unsigned long __cil_tmp21 ;
17509 unsigned long __cil_tmp22 ;
17510 unsigned long __cil_tmp23 ;
17511 unsigned long __cil_tmp24 ;
17512 unsigned long __cil_tmp25 ;
17513 unsigned long __cil_tmp26 ;
17514 unsigned long __cil_tmp27 ;
17515 unsigned long __cil_tmp28 ;
17516 int __cil_tmp29 ;
17517 struct capilib_msgidqueue *__cil_tmp30 ;
17518
17519 {
17520#line 65
17521 __cil_tmp5 = (unsigned long )np;
17522#line 65
17523 __cil_tmp6 = __cil_tmp5 + 32;
17524#line 65
17525 pp = (struct capilib_msgidqueue **)__cil_tmp6;
17526 {
17527#line 65
17528 while (1) {
17529 while_continue: ;
17530#line 65
17531 if (*pp) {
17532
17533 } else {
17534#line 65
17535 goto while_break;
17536 }
17537 {
17538#line 66
17539 __cil_tmp7 = (int )msgid;
17540#line 66
17541 __cil_tmp8 = *pp;
17542#line 66
17543 __cil_tmp9 = (unsigned long )__cil_tmp8;
17544#line 66
17545 __cil_tmp10 = __cil_tmp9 + 8;
17546#line 66
17547 __cil_tmp11 = *((u16 *)__cil_tmp10);
17548#line 66
17549 __cil_tmp12 = (int )__cil_tmp11;
17550#line 66
17551 if (__cil_tmp12 == __cil_tmp7) {
17552#line 67
17553 mq = *pp;
17554#line 68
17555 *pp = *((struct capilib_msgidqueue **)mq);
17556 {
17557#line 69
17558 __cil_tmp13 = (unsigned long )np;
17559#line 69
17560 __cil_tmp14 = __cil_tmp13 + 40;
17561#line 69
17562 __cil_tmp15 = *((struct capilib_msgidqueue **)__cil_tmp14);
17563#line 69
17564 __cil_tmp16 = (unsigned long )__cil_tmp15;
17565#line 69
17566 __cil_tmp17 = (unsigned long )mq;
17567#line 69
17568 if (__cil_tmp17 == __cil_tmp16) {
17569#line 70
17570 __cil_tmp18 = (unsigned long )np;
17571#line 70
17572 __cil_tmp19 = __cil_tmp18 + 40;
17573#line 70
17574 __cil_tmp20 = (void *)0;
17575#line 70
17576 *((struct capilib_msgidqueue **)__cil_tmp19) = (struct capilib_msgidqueue *)__cil_tmp20;
17577 } else {
17578
17579 }
17580 }
17581#line 71
17582 __cil_tmp21 = (unsigned long )np;
17583#line 71
17584 __cil_tmp22 = __cil_tmp21 + 48;
17585#line 71
17586 *((struct capilib_msgidqueue **)mq) = *((struct capilib_msgidqueue **)__cil_tmp22);
17587#line 72
17588 __cil_tmp23 = (unsigned long )np;
17589#line 72
17590 __cil_tmp24 = __cil_tmp23 + 48;
17591#line 72
17592 *((struct capilib_msgidqueue **)__cil_tmp24) = mq;
17593#line 73
17594 __cil_tmp25 = (unsigned long )np;
17595#line 73
17596 __cil_tmp26 = __cil_tmp25 + 28;
17597#line 73
17598 __cil_tmp27 = (unsigned long )np;
17599#line 73
17600 __cil_tmp28 = __cil_tmp27 + 28;
17601#line 73
17602 __cil_tmp29 = *((int *)__cil_tmp28);
17603#line 73
17604 *((int *)__cil_tmp26) = __cil_tmp29 - 1;
17605#line 74
17606 return (1);
17607 } else {
17608
17609 }
17610 }
17611#line 65
17612 __cil_tmp30 = *pp;
17613#line 65
17614 pp = (struct capilib_msgidqueue **)__cil_tmp30;
17615 }
17616 while_break: ;
17617 }
17618#line 77
17619 return (0);
17620}
17621}
17622#line 80 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17623void capilib_new_ncci(struct list_head *head , u16 applid , u32 ncci , u32 winsize )
17624{ struct capilib_ncci *np ;
17625 void *tmp ;
17626 unsigned long __cil_tmp7 ;
17627 unsigned long __cil_tmp8 ;
17628 unsigned long __cil_tmp9 ;
17629 unsigned long __cil_tmp10 ;
17630 unsigned long __cil_tmp11 ;
17631 unsigned long __cil_tmp12 ;
17632 struct list_head *__cil_tmp13 ;
17633 int __cil_tmp14 ;
17634
17635 {
17636 {
17637#line 84
17638 tmp = kmalloc(184UL, 32U);
17639#line 84
17640 np = (struct capilib_ncci *)tmp;
17641 }
17642#line 85
17643 if (! np) {
17644 {
17645#line 86
17646 printk("<4>capilib_new_ncci: no memory.\n");
17647 }
17648#line 87
17649 return;
17650 } else {
17651
17652 }
17653#line 89
17654 if (winsize > 8U) {
17655 {
17656#line 90
17657 printk("<3>capi_new_ncci: winsize %d too big\n", winsize);
17658#line 92
17659 winsize = (u32 )8;
17660 }
17661 } else {
17662
17663 }
17664 {
17665#line 94
17666 __cil_tmp7 = (unsigned long )np;
17667#line 94
17668 __cil_tmp8 = __cil_tmp7 + 16;
17669#line 94
17670 *((u16 *)__cil_tmp8) = applid;
17671#line 95
17672 __cil_tmp9 = (unsigned long )np;
17673#line 95
17674 __cil_tmp10 = __cil_tmp9 + 20;
17675#line 95
17676 *((u32 *)__cil_tmp10) = ncci;
17677#line 96
17678 __cil_tmp11 = (unsigned long )np;
17679#line 96
17680 __cil_tmp12 = __cil_tmp11 + 24;
17681#line 96
17682 *((u32 *)__cil_tmp12) = winsize;
17683#line 97
17684 mq_init(np);
17685#line 98
17686 __cil_tmp13 = (struct list_head *)np;
17687#line 98
17688 list_add_tail(__cil_tmp13, head);
17689 }
17690 {
17691#line 99
17692 while (1) {
17693 while_continue: ;
17694 {
17695#line 99
17696 __cil_tmp14 = (int )applid;
17697#line 99
17698 printk("<7>%s: kcapi: appl %d ncci 0x%x up\n", "capilib_new_ncci", __cil_tmp14,
17699 ncci);
17700 }
17701#line 99
17702 goto while_break;
17703 }
17704 while_break: ;
17705 }
17706#line 100
17707 return;
17708}
17709}
17710#line 102
17711extern void *__crc_capilib_new_ncci __attribute__((__weak__)) ;
17712#line 102 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17713static unsigned long __kcrctab_capilib_new_ncci __attribute__((__used__,
17714__unused__, __section__("___kcrctab+capilib_new_ncci"))) = (unsigned long )((unsigned long )(& __crc_capilib_new_ncci));
17715#line 102 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17716static char __kstrtab_capilib_new_ncci[17] __attribute__((__section__("__ksymtab_strings"),
17717__aligned__(1))) =
17718#line 102
17719 { (char )'c', (char )'a', (char const )'p', (char const )'i',
17720 (char )'l', (char )'i', (char const )'b', (char const )'_',
17721 (char )'n', (char )'e', (char const )'w', (char const )'_',
17722 (char )'n', (char )'c', (char const )'c', (char const )'i',
17723 (char )'\000'};
17724#line 102 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17725static struct kernel_symbol __ksymtab_capilib_new_ncci __attribute__((__used__,
17726__unused__, __section__("___ksymtab+capilib_new_ncci"))) = {(unsigned long )(& capilib_new_ncci), __kstrtab_capilib_new_ncci};
17727#line 104 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17728void capilib_free_ncci(struct list_head *head , u16 applid , u32 ncci )
17729{ struct list_head *l ;
17730 struct capilib_ncci *np ;
17731 struct list_head *__mptr ;
17732 unsigned long __cil_tmp7 ;
17733 unsigned long __cil_tmp8 ;
17734 struct capilib_ncci *__cil_tmp9 ;
17735 struct list_head *__cil_tmp10 ;
17736 unsigned int __cil_tmp11 ;
17737 char *__cil_tmp12 ;
17738 char *__cil_tmp13 ;
17739 int __cil_tmp14 ;
17740 unsigned long __cil_tmp15 ;
17741 unsigned long __cil_tmp16 ;
17742 u16 __cil_tmp17 ;
17743 int __cil_tmp18 ;
17744 unsigned long __cil_tmp19 ;
17745 unsigned long __cil_tmp20 ;
17746 u32 __cil_tmp21 ;
17747 int __cil_tmp22 ;
17748 struct list_head *__cil_tmp23 ;
17749 void *__cil_tmp24 ;
17750
17751 {
17752#line 109
17753 l = *((struct list_head **)head);
17754 {
17755#line 109
17756 while (1) {
17757 while_continue: ;
17758 {
17759#line 109
17760 __cil_tmp7 = (unsigned long )head;
17761#line 109
17762 __cil_tmp8 = (unsigned long )l;
17763#line 109
17764 if (__cil_tmp8 != __cil_tmp7) {
17765
17766 } else {
17767#line 109
17768 goto while_break;
17769 }
17770 }
17771#line 110
17772 __mptr = (struct list_head *)l;
17773#line 110
17774 __cil_tmp9 = (struct capilib_ncci *)0;
17775#line 110
17776 __cil_tmp10 = (struct list_head *)__cil_tmp9;
17777#line 110
17778 __cil_tmp11 = (unsigned int )__cil_tmp10;
17779#line 110
17780 __cil_tmp12 = (char *)__mptr;
17781#line 110
17782 __cil_tmp13 = __cil_tmp12 - __cil_tmp11;
17783#line 110
17784 np = (struct capilib_ncci *)__cil_tmp13;
17785 {
17786#line 111
17787 __cil_tmp14 = (int )applid;
17788#line 111
17789 __cil_tmp15 = (unsigned long )np;
17790#line 111
17791 __cil_tmp16 = __cil_tmp15 + 16;
17792#line 111
17793 __cil_tmp17 = *((u16 *)__cil_tmp16);
17794#line 111
17795 __cil_tmp18 = (int )__cil_tmp17;
17796#line 111
17797 if (__cil_tmp18 != __cil_tmp14) {
17798#line 112
17799 goto __Cont;
17800 } else {
17801
17802 }
17803 }
17804 {
17805#line 113
17806 __cil_tmp19 = (unsigned long )np;
17807#line 113
17808 __cil_tmp20 = __cil_tmp19 + 20;
17809#line 113
17810 __cil_tmp21 = *((u32 *)__cil_tmp20);
17811#line 113
17812 if (__cil_tmp21 != ncci) {
17813#line 114
17814 goto __Cont;
17815 } else {
17816
17817 }
17818 }
17819 {
17820#line 115
17821 __cil_tmp22 = (int )applid;
17822#line 115
17823 printk("<6>kcapi: appl %d ncci 0x%x down\n", __cil_tmp22, ncci);
17824#line 116
17825 __cil_tmp23 = (struct list_head *)np;
17826#line 116
17827 list_del(__cil_tmp23);
17828#line 117
17829 __cil_tmp24 = (void *)np;
17830#line 117
17831 kfree(__cil_tmp24);
17832 }
17833#line 118
17834 return;
17835 __Cont:
17836#line 109
17837 l = *((struct list_head **)l);
17838 }
17839 while_break: ;
17840 }
17841 {
17842#line 120
17843 printk("<3>capilib_free_ncci: ncci 0x%x not found\n", ncci);
17844 }
17845#line 121
17846 return;
17847}
17848}
17849#line 123
17850extern void *__crc_capilib_free_ncci __attribute__((__weak__)) ;
17851#line 123 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17852static unsigned long __kcrctab_capilib_free_ncci __attribute__((__used__,
17853__unused__, __section__("___kcrctab+capilib_free_ncci"))) = (unsigned long )((unsigned long )(& __crc_capilib_free_ncci));
17854#line 123 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17855static char __kstrtab_capilib_free_ncci[18] __attribute__((__section__("__ksymtab_strings"),
17856__aligned__(1))) =
17857#line 123
17858 { (char )'c', (char )'a', (char const )'p', (char const )'i',
17859 (char )'l', (char )'i', (char const )'b', (char const )'_',
17860 (char )'f', (char )'r', (char const )'e', (char const )'e',
17861 (char )'_', (char )'n', (char const )'c', (char const )'c',
17862 (char )'i', (char )'\000'};
17863#line 123 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17864static struct kernel_symbol __ksymtab_capilib_free_ncci __attribute__((__used__,
17865__unused__, __section__("___ksymtab+capilib_free_ncci"))) = {(unsigned long )(& capilib_free_ncci), __kstrtab_capilib_free_ncci};
17866#line 125 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17867void capilib_release_appl(struct list_head *head , u16 applid )
17868{ struct list_head *l ;
17869 struct list_head *n ;
17870 struct capilib_ncci *np ;
17871 struct list_head *__mptr ;
17872 unsigned long __cil_tmp7 ;
17873 unsigned long __cil_tmp8 ;
17874 struct capilib_ncci *__cil_tmp9 ;
17875 struct list_head *__cil_tmp10 ;
17876 unsigned int __cil_tmp11 ;
17877 char *__cil_tmp12 ;
17878 char *__cil_tmp13 ;
17879 int __cil_tmp14 ;
17880 unsigned long __cil_tmp15 ;
17881 unsigned long __cil_tmp16 ;
17882 u16 __cil_tmp17 ;
17883 int __cil_tmp18 ;
17884 int __cil_tmp19 ;
17885 unsigned long __cil_tmp20 ;
17886 unsigned long __cil_tmp21 ;
17887 u32 __cil_tmp22 ;
17888 struct list_head *__cil_tmp23 ;
17889 void *__cil_tmp24 ;
17890
17891 {
17892#line 130
17893 l = *((struct list_head **)head);
17894#line 130
17895 n = *((struct list_head **)l);
17896 {
17897#line 130
17898 while (1) {
17899 while_continue: ;
17900 {
17901#line 130
17902 __cil_tmp7 = (unsigned long )head;
17903#line 130
17904 __cil_tmp8 = (unsigned long )l;
17905#line 130
17906 if (__cil_tmp8 != __cil_tmp7) {
17907
17908 } else {
17909#line 130
17910 goto while_break;
17911 }
17912 }
17913#line 131
17914 __mptr = (struct list_head *)l;
17915#line 131
17916 __cil_tmp9 = (struct capilib_ncci *)0;
17917#line 131
17918 __cil_tmp10 = (struct list_head *)__cil_tmp9;
17919#line 131
17920 __cil_tmp11 = (unsigned int )__cil_tmp10;
17921#line 131
17922 __cil_tmp12 = (char *)__mptr;
17923#line 131
17924 __cil_tmp13 = __cil_tmp12 - __cil_tmp11;
17925#line 131
17926 np = (struct capilib_ncci *)__cil_tmp13;
17927 {
17928#line 132
17929 __cil_tmp14 = (int )applid;
17930#line 132
17931 __cil_tmp15 = (unsigned long )np;
17932#line 132
17933 __cil_tmp16 = __cil_tmp15 + 16;
17934#line 132
17935 __cil_tmp17 = *((u16 *)__cil_tmp16);
17936#line 132
17937 __cil_tmp18 = (int )__cil_tmp17;
17938#line 132
17939 if (__cil_tmp18 != __cil_tmp14) {
17940#line 133
17941 goto __Cont;
17942 } else {
17943
17944 }
17945 }
17946 {
17947#line 134
17948 __cil_tmp19 = (int )applid;
17949#line 134
17950 __cil_tmp20 = (unsigned long )np;
17951#line 134
17952 __cil_tmp21 = __cil_tmp20 + 20;
17953#line 134
17954 __cil_tmp22 = *((u32 *)__cil_tmp21);
17955#line 134
17956 printk("<6>kcapi: appl %d ncci 0x%x forced down\n", __cil_tmp19, __cil_tmp22);
17957#line 135
17958 __cil_tmp23 = (struct list_head *)np;
17959#line 135
17960 list_del(__cil_tmp23);
17961#line 136
17962 __cil_tmp24 = (void *)np;
17963#line 136
17964 kfree(__cil_tmp24);
17965 }
17966 __Cont:
17967#line 130
17968 l = n;
17969#line 130
17970 n = *((struct list_head **)l);
17971 }
17972 while_break: ;
17973 }
17974#line 138
17975 return;
17976}
17977}
17978#line 140
17979extern void *__crc_capilib_release_appl __attribute__((__weak__)) ;
17980#line 140 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17981static unsigned long __kcrctab_capilib_release_appl __attribute__((__used__,
17982__unused__, __section__("___kcrctab+capilib_release_appl"))) = (unsigned long )((unsigned long )(& __crc_capilib_release_appl));
17983#line 140 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17984static char __kstrtab_capilib_release_appl[21] __attribute__((__section__("__ksymtab_strings"),
17985__aligned__(1))) =
17986#line 140
17987 { (char )'c', (char )'a', (char const )'p', (char const )'i',
17988 (char )'l', (char )'i', (char const )'b', (char const )'_',
17989 (char )'r', (char )'e', (char const )'l', (char const )'e',
17990 (char )'a', (char )'s', (char const )'e', (char const )'_',
17991 (char )'a', (char )'p', (char const )'p', (char const )'l',
17992 (char )'\000'};
17993#line 140 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17994static struct kernel_symbol __ksymtab_capilib_release_appl __attribute__((__used__,
17995__unused__, __section__("___ksymtab+capilib_release_appl"))) = {(unsigned long )(& capilib_release_appl), __kstrtab_capilib_release_appl};
17996#line 142 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
17997void capilib_release(struct list_head *head )
17998{ struct list_head *l ;
17999 struct list_head *n ;
18000 struct capilib_ncci *np ;
18001 struct list_head *__mptr ;
18002 unsigned long __cil_tmp6 ;
18003 unsigned long __cil_tmp7 ;
18004 struct capilib_ncci *__cil_tmp8 ;
18005 struct list_head *__cil_tmp9 ;
18006 unsigned int __cil_tmp10 ;
18007 char *__cil_tmp11 ;
18008 char *__cil_tmp12 ;
18009 unsigned long __cil_tmp13 ;
18010 unsigned long __cil_tmp14 ;
18011 u16 __cil_tmp15 ;
18012 int __cil_tmp16 ;
18013 unsigned long __cil_tmp17 ;
18014 unsigned long __cil_tmp18 ;
18015 u32 __cil_tmp19 ;
18016 struct list_head *__cil_tmp20 ;
18017 void *__cil_tmp21 ;
18018
18019 {
18020#line 147
18021 l = *((struct list_head **)head);
18022#line 147
18023 n = *((struct list_head **)l);
18024 {
18025#line 147
18026 while (1) {
18027 while_continue: ;
18028 {
18029#line 147
18030 __cil_tmp6 = (unsigned long )head;
18031#line 147
18032 __cil_tmp7 = (unsigned long )l;
18033#line 147
18034 if (__cil_tmp7 != __cil_tmp6) {
18035
18036 } else {
18037#line 147
18038 goto while_break;
18039 }
18040 }
18041 {
18042#line 148
18043 __mptr = (struct list_head *)l;
18044#line 148
18045 __cil_tmp8 = (struct capilib_ncci *)0;
18046#line 148
18047 __cil_tmp9 = (struct list_head *)__cil_tmp8;
18048#line 148
18049 __cil_tmp10 = (unsigned int )__cil_tmp9;
18050#line 148
18051 __cil_tmp11 = (char *)__mptr;
18052#line 148
18053 __cil_tmp12 = __cil_tmp11 - __cil_tmp10;
18054#line 148
18055 np = (struct capilib_ncci *)__cil_tmp12;
18056#line 149
18057 __cil_tmp13 = (unsigned long )np;
18058#line 149
18059 __cil_tmp14 = __cil_tmp13 + 16;
18060#line 149
18061 __cil_tmp15 = *((u16 *)__cil_tmp14);
18062#line 149
18063 __cil_tmp16 = (int )__cil_tmp15;
18064#line 149
18065 __cil_tmp17 = (unsigned long )np;
18066#line 149
18067 __cil_tmp18 = __cil_tmp17 + 20;
18068#line 149
18069 __cil_tmp19 = *((u32 *)__cil_tmp18);
18070#line 149
18071 printk("<6>kcapi: appl %d ncci 0x%x forced down\n", __cil_tmp16, __cil_tmp19);
18072#line 150
18073 __cil_tmp20 = (struct list_head *)np;
18074#line 150
18075 list_del(__cil_tmp20);
18076#line 151
18077 __cil_tmp21 = (void *)np;
18078#line 151
18079 kfree(__cil_tmp21);
18080#line 147
18081 l = n;
18082#line 147
18083 n = *((struct list_head **)l);
18084 }
18085 }
18086 while_break: ;
18087 }
18088#line 153
18089 return;
18090}
18091}
18092#line 155
18093extern void *__crc_capilib_release __attribute__((__weak__)) ;
18094#line 155 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
18095static unsigned long __kcrctab_capilib_release __attribute__((__used__, __unused__,
18096__section__("___kcrctab+capilib_release"))) = (unsigned long )((unsigned long )(& __crc_capilib_release));
18097#line 155 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
18098static char __kstrtab_capilib_release[16] __attribute__((__section__("__ksymtab_strings"),
18099__aligned__(1))) =
18100#line 155
18101 { (char )'c', (char )'a', (char const )'p', (char const )'i',
18102 (char )'l', (char )'i', (char const )'b', (char const )'_',
18103 (char )'r', (char )'e', (char const )'l', (char const )'e',
18104 (char )'a', (char )'s', (char const )'e', (char const )'\000'};
18105#line 155 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
18106static struct kernel_symbol __ksymtab_capilib_release __attribute__((__used__,
18107__unused__, __section__("___ksymtab+capilib_release"))) = {(unsigned long )(& capilib_release), __kstrtab_capilib_release};
18108#line 157 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
18109u16 capilib_data_b3_req(struct list_head *head , u16 applid , u32 ncci , u16 msgid )
18110{ struct list_head *l ;
18111 struct capilib_ncci *np ;
18112 struct list_head *__mptr ;
18113 int tmp ;
18114 unsigned long __cil_tmp9 ;
18115 unsigned long __cil_tmp10 ;
18116 struct capilib_ncci *__cil_tmp11 ;
18117 struct list_head *__cil_tmp12 ;
18118 unsigned int __cil_tmp13 ;
18119 char *__cil_tmp14 ;
18120 char *__cil_tmp15 ;
18121 int __cil_tmp16 ;
18122 unsigned long __cil_tmp17 ;
18123 unsigned long __cil_tmp18 ;
18124 u16 __cil_tmp19 ;
18125 int __cil_tmp20 ;
18126 unsigned long __cil_tmp21 ;
18127 unsigned long __cil_tmp22 ;
18128 u32 __cil_tmp23 ;
18129
18130 {
18131#line 162
18132 l = *((struct list_head **)head);
18133 {
18134#line 162
18135 while (1) {
18136 while_continue: ;
18137 {
18138#line 162
18139 __cil_tmp9 = (unsigned long )head;
18140#line 162
18141 __cil_tmp10 = (unsigned long )l;
18142#line 162
18143 if (__cil_tmp10 != __cil_tmp9) {
18144
18145 } else {
18146#line 162
18147 goto while_break;
18148 }
18149 }
18150#line 163
18151 __mptr = (struct list_head *)l;
18152#line 163
18153 __cil_tmp11 = (struct capilib_ncci *)0;
18154#line 163
18155 __cil_tmp12 = (struct list_head *)__cil_tmp11;
18156#line 163
18157 __cil_tmp13 = (unsigned int )__cil_tmp12;
18158#line 163
18159 __cil_tmp14 = (char *)__mptr;
18160#line 163
18161 __cil_tmp15 = __cil_tmp14 - __cil_tmp13;
18162#line 163
18163 np = (struct capilib_ncci *)__cil_tmp15;
18164 {
18165#line 164
18166 __cil_tmp16 = (int )applid;
18167#line 164
18168 __cil_tmp17 = (unsigned long )np;
18169#line 164
18170 __cil_tmp18 = __cil_tmp17 + 16;
18171#line 164
18172 __cil_tmp19 = *((u16 *)__cil_tmp18);
18173#line 164
18174 __cil_tmp20 = (int )__cil_tmp19;
18175#line 164
18176 if (__cil_tmp20 != __cil_tmp16) {
18177#line 165
18178 goto __Cont;
18179 } else {
18180
18181 }
18182 }
18183 {
18184#line 166
18185 __cil_tmp21 = (unsigned long )np;
18186#line 166
18187 __cil_tmp22 = __cil_tmp21 + 20;
18188#line 166
18189 __cil_tmp23 = *((u32 *)__cil_tmp22);
18190#line 166
18191 if (__cil_tmp23 != ncci) {
18192#line 167
18193 goto __Cont;
18194 } else {
18195
18196 }
18197 }
18198 {
18199#line 169
18200 tmp = mq_enqueue(np, msgid);
18201 }
18202#line 169
18203 if (tmp == 0) {
18204#line 170
18205 return ((u16 )4355);
18206 } else {
18207
18208 }
18209#line 172
18210 return ((u16 )0);
18211 __Cont:
18212#line 162
18213 l = *((struct list_head **)l);
18214 }
18215 while_break: ;
18216 }
18217 {
18218#line 174
18219 printk("<3>capilib_data_b3_req: ncci 0x%x not found\n", ncci);
18220 }
18221#line 175
18222 return ((u16 )0);
18223}
18224}
18225#line 178
18226extern void *__crc_capilib_data_b3_req __attribute__((__weak__)) ;
18227#line 178 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
18228static unsigned long __kcrctab_capilib_data_b3_req __attribute__((__used__,
18229__unused__, __section__("___kcrctab+capilib_data_b3_req"))) = (unsigned long )((unsigned long )(& __crc_capilib_data_b3_req));
18230#line 178 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
18231static char __kstrtab_capilib_data_b3_req[20] __attribute__((__section__("__ksymtab_strings"),
18232__aligned__(1))) =
18233#line 178
18234 { (char )'c', (char )'a', (char const )'p', (char const )'i',
18235 (char )'l', (char )'i', (char const )'b', (char const )'_',
18236 (char )'d', (char )'a', (char const )'t', (char const )'a',
18237 (char )'_', (char )'b', (char const )'3', (char const )'_',
18238 (char )'r', (char )'e', (char const )'q', (char const )'\000'};
18239#line 178 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
18240static struct kernel_symbol __ksymtab_capilib_data_b3_req __attribute__((__used__,
18241__unused__, __section__("___ksymtab+capilib_data_b3_req"))) = {(unsigned long )(& capilib_data_b3_req), __kstrtab_capilib_data_b3_req};
18242#line 180 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
18243void capilib_data_b3_conf(struct list_head *head , u16 applid , u32 ncci , u16 msgid )
18244{ struct list_head *l ;
18245 struct capilib_ncci *np ;
18246 struct list_head *__mptr ;
18247 int tmp ;
18248 unsigned long __cil_tmp9 ;
18249 unsigned long __cil_tmp10 ;
18250 struct capilib_ncci *__cil_tmp11 ;
18251 struct list_head *__cil_tmp12 ;
18252 unsigned int __cil_tmp13 ;
18253 char *__cil_tmp14 ;
18254 char *__cil_tmp15 ;
18255 int __cil_tmp16 ;
18256 unsigned long __cil_tmp17 ;
18257 unsigned long __cil_tmp18 ;
18258 u16 __cil_tmp19 ;
18259 int __cil_tmp20 ;
18260 unsigned long __cil_tmp21 ;
18261 unsigned long __cil_tmp22 ;
18262 u32 __cil_tmp23 ;
18263 int __cil_tmp24 ;
18264
18265 {
18266#line 185
18267 l = *((struct list_head **)head);
18268 {
18269#line 185
18270 while (1) {
18271 while_continue: ;
18272 {
18273#line 185
18274 __cil_tmp9 = (unsigned long )head;
18275#line 185
18276 __cil_tmp10 = (unsigned long )l;
18277#line 185
18278 if (__cil_tmp10 != __cil_tmp9) {
18279
18280 } else {
18281#line 185
18282 goto while_break;
18283 }
18284 }
18285#line 186
18286 __mptr = (struct list_head *)l;
18287#line 186
18288 __cil_tmp11 = (struct capilib_ncci *)0;
18289#line 186
18290 __cil_tmp12 = (struct list_head *)__cil_tmp11;
18291#line 186
18292 __cil_tmp13 = (unsigned int )__cil_tmp12;
18293#line 186
18294 __cil_tmp14 = (char *)__mptr;
18295#line 186
18296 __cil_tmp15 = __cil_tmp14 - __cil_tmp13;
18297#line 186
18298 np = (struct capilib_ncci *)__cil_tmp15;
18299 {
18300#line 187
18301 __cil_tmp16 = (int )applid;
18302#line 187
18303 __cil_tmp17 = (unsigned long )np;
18304#line 187
18305 __cil_tmp18 = __cil_tmp17 + 16;
18306#line 187
18307 __cil_tmp19 = *((u16 *)__cil_tmp18);
18308#line 187
18309 __cil_tmp20 = (int )__cil_tmp19;
18310#line 187
18311 if (__cil_tmp20 != __cil_tmp16) {
18312#line 188
18313 goto __Cont;
18314 } else {
18315
18316 }
18317 }
18318 {
18319#line 189
18320 __cil_tmp21 = (unsigned long )np;
18321#line 189
18322 __cil_tmp22 = __cil_tmp21 + 20;
18323#line 189
18324 __cil_tmp23 = *((u32 *)__cil_tmp22);
18325#line 189
18326 if (__cil_tmp23 != ncci) {
18327#line 190
18328 goto __Cont;
18329 } else {
18330
18331 }
18332 }
18333 {
18334#line 192
18335 tmp = mq_dequeue(np, msgid);
18336 }
18337#line 192
18338 if (tmp == 0) {
18339 {
18340#line 193
18341 __cil_tmp24 = (int )msgid;
18342#line 193
18343 printk("<3>kcapi: msgid %hu ncci 0x%x not on queue\n", __cil_tmp24, ncci);
18344 }
18345 } else {
18346
18347 }
18348#line 196
18349 return;
18350 __Cont:
18351#line 185
18352 l = *((struct list_head **)l);
18353 }
18354 while_break: ;
18355 }
18356 {
18357#line 198
18358 printk("<3>capilib_data_b3_conf: ncci 0x%x not found\n", ncci);
18359 }
18360#line 199
18361 return;
18362}
18363}
18364#line 201
18365extern void *__crc_capilib_data_b3_conf __attribute__((__weak__)) ;
18366#line 201 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
18367static unsigned long __kcrctab_capilib_data_b3_conf __attribute__((__used__,
18368__unused__, __section__("___kcrctab+capilib_data_b3_conf"))) = (unsigned long )((unsigned long )(& __crc_capilib_data_b3_conf));
18369#line 201 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
18370static char __kstrtab_capilib_data_b3_conf[21] __attribute__((__section__("__ksymtab_strings"),
18371__aligned__(1))) =
18372#line 201
18373 { (char )'c', (char )'a', (char const )'p', (char const )'i',
18374 (char )'l', (char )'i', (char const )'b', (char const )'_',
18375 (char )'d', (char )'a', (char const )'t', (char const )'a',
18376 (char )'_', (char )'b', (char const )'3', (char const )'_',
18377 (char )'c', (char )'o', (char const )'n', (char const )'f',
18378 (char )'\000'};
18379#line 201 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/capilib.c"
18380static struct kernel_symbol __ksymtab_capilib_data_b3_conf __attribute__((__used__,
18381__unused__, __section__("___ksymtab+capilib_data_b3_conf"))) = {(unsigned long )(& capilib_data_b3_conf), __kstrtab_capilib_data_b3_conf};
18382#line 148 "include/linux/proc_fs.h"
18383extern struct proc_dir_entry *proc_mkdir(char * , struct proc_dir_entry * ) ;
18384#line 152
18385__inline static struct proc_dir_entry *proc_create(char *name , umode_t mode ,
18386 struct proc_dir_entry *parent ,
18387 struct file_operations *proc_fops ) __attribute__((__no_instrument_function__)) ;
18388#line 152 "include/linux/proc_fs.h"
18389__inline static struct proc_dir_entry *proc_create(char *name , umode_t mode ,
18390 struct proc_dir_entry *parent ,
18391 struct file_operations *proc_fops )
18392{ struct proc_dir_entry *tmp ;
18393 void *__cil_tmp6 ;
18394
18395 {
18396 {
18397#line 155
18398 __cil_tmp6 = (void *)0;
18399#line 155
18400 tmp = proc_create_data(name, mode, parent, proc_fops, __cil_tmp6);
18401 }
18402#line 155
18403 return (tmp);
18404}
18405}
18406#line 79 "include/linux/seq_file.h"
18407extern int seq_open(struct file * , struct seq_operations * ) ;
18408#line 80
18409extern ssize_t seq_read(struct file * , char * , size_t , loff_t * ) ;
18410#line 81
18411extern loff_t seq_lseek(struct file * , loff_t , int ) ;
18412#line 82
18413extern int seq_release(struct inode * , struct file * ) ;
18414#line 88
18415extern int ( seq_printf)(struct seq_file * , char *
18416 , ...) ;
18417#line 135
18418extern struct list_head *seq_list_start(struct list_head *head , loff_t pos ) ;
18419#line 139
18420extern struct list_head *seq_list_next(void *v , struct list_head *head , loff_t *ppos ) ;
18421#line 26 "include/linux/export.h"
18422extern struct module __this_module ;
18423#line 20 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18424static char *state2str(unsigned short state )
18425{
18426
18427 {
18428#line 23
18429 if ((int )state == 1) {
18430#line 23
18431 goto case_1;
18432 } else
18433#line 24
18434 if ((int )state == 2) {
18435#line 24
18436 goto case_2;
18437 } else
18438#line 25
18439 if ((int )state == 3) {
18440#line 25
18441 goto case_3;
18442 } else {
18443 {
18444#line 26
18445 goto switch_default;
18446#line 22
18447 if (0) {
18448 case_1:
18449#line 23
18450 return ((char *)"detected");
18451 case_2:
18452#line 24
18453 return ((char *)"loading");
18454 case_3:
18455#line 25
18456 return ((char *)"running");
18457 switch_default:
18458#line 26
18459 return ((char *)"???");
18460 } else {
18461 switch_break: ;
18462 }
18463 }
18464 }
18465}
18466}
18467#line 39 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18468static void *controller_start(struct seq_file *seq , loff_t *pos )
18469{ loff_t __cil_tmp3 ;
18470 loff_t __cil_tmp4 ;
18471 unsigned long __cil_tmp5 ;
18472 unsigned long __cil_tmp6 ;
18473 struct capi_ctr **__cil_tmp7 ;
18474
18475 {
18476 {
18477#line 42
18478 mutex_lock(& capi_controller_lock);
18479 }
18480 {
18481#line 44
18482 __cil_tmp3 = *pos;
18483#line 44
18484 if (__cil_tmp3 < 32LL) {
18485 {
18486#line 45
18487 __cil_tmp4 = *pos;
18488#line 45
18489 __cil_tmp5 = __cil_tmp4 * 8UL;
18490#line 45
18491 __cil_tmp6 = (unsigned long )(capi_controller) + __cil_tmp5;
18492#line 45
18493 __cil_tmp7 = (struct capi_ctr **)__cil_tmp6;
18494#line 45
18495 return ((void *)__cil_tmp7);
18496 }
18497 } else {
18498
18499 }
18500 }
18501#line 47
18502 return ((void *)0);
18503}
18504}
18505#line 50 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18506static void *controller_next(struct seq_file *seq , void *v , loff_t *pos )
18507{ loff_t __cil_tmp4 ;
18508 loff_t __cil_tmp5 ;
18509 loff_t __cil_tmp6 ;
18510 unsigned long __cil_tmp7 ;
18511 unsigned long __cil_tmp8 ;
18512 struct capi_ctr **__cil_tmp9 ;
18513
18514 {
18515#line 52
18516 __cil_tmp4 = *pos;
18517#line 52
18518 *pos = __cil_tmp4 + 1LL;
18519 {
18520#line 53
18521 __cil_tmp5 = *pos;
18522#line 53
18523 if (__cil_tmp5 < 32LL) {
18524 {
18525#line 54
18526 __cil_tmp6 = *pos;
18527#line 54
18528 __cil_tmp7 = __cil_tmp6 * 8UL;
18529#line 54
18530 __cil_tmp8 = (unsigned long )(capi_controller) + __cil_tmp7;
18531#line 54
18532 __cil_tmp9 = (struct capi_ctr **)__cil_tmp8;
18533#line 54
18534 return ((void *)__cil_tmp9);
18535 }
18536 } else {
18537
18538 }
18539 }
18540#line 56
18541 return ((void *)0);
18542}
18543}
18544#line 59 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18545static void controller_stop(struct seq_file *seq , void *v )
18546{
18547
18548 {
18549 {
18550#line 62
18551 mutex_unlock(& capi_controller_lock);
18552 }
18553#line 63
18554 return;
18555}
18556}
18557#line 65 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18558static int controller_show(struct seq_file *seq , void *v )
18559{ struct capi_ctr *ctr ;
18560 char *tmp ;
18561 char *tmp___0 ;
18562 char *tmp___1 ;
18563 struct capi_ctr **__cil_tmp7 ;
18564 unsigned long __cil_tmp8 ;
18565 unsigned long __cil_tmp9 ;
18566 unsigned long __cil_tmp10 ;
18567 unsigned long __cil_tmp11 ;
18568 char *(*__cil_tmp12)(struct capi_ctr * ) ;
18569 unsigned long __cil_tmp13 ;
18570 unsigned long __cil_tmp14 ;
18571 unsigned short __cil_tmp15 ;
18572 unsigned long __cil_tmp16 ;
18573 unsigned long __cil_tmp17 ;
18574 int __cil_tmp18 ;
18575 unsigned long __cil_tmp19 ;
18576 unsigned long __cil_tmp20 ;
18577 char *__cil_tmp21 ;
18578 unsigned long __cil_tmp22 ;
18579 unsigned long __cil_tmp23 ;
18580 unsigned long __cil_tmp24 ;
18581 unsigned long __cil_tmp25 ;
18582 char *__cil_tmp26 ;
18583
18584 {
18585#line 67
18586 __cil_tmp7 = (struct capi_ctr **)v;
18587#line 67
18588 ctr = *__cil_tmp7;
18589#line 69
18590 if (! ctr) {
18591#line 70
18592 return (0);
18593 } else {
18594
18595 }
18596 {
18597#line 72
18598 __cil_tmp8 = (unsigned long )ctr;
18599#line 72
18600 __cil_tmp9 = __cil_tmp8 + 96;
18601#line 72
18602 if (*((char *(**)(struct capi_ctr * ))__cil_tmp9)) {
18603 {
18604#line 72
18605 __cil_tmp10 = (unsigned long )ctr;
18606#line 72
18607 __cil_tmp11 = __cil_tmp10 + 96;
18608#line 72
18609 __cil_tmp12 = *((char *(**)(struct capi_ctr * ))__cil_tmp11);
18610#line 72
18611 tmp = (*__cil_tmp12)(ctr);
18612#line 72
18613 tmp___0 = (char *)tmp;
18614 }
18615 } else {
18616#line 72
18617 tmp___0 = "";
18618 }
18619 }
18620 {
18621#line 72
18622 __cil_tmp13 = (unsigned long )ctr;
18623#line 72
18624 __cil_tmp14 = __cil_tmp13 + 300;
18625#line 72
18626 __cil_tmp15 = *((unsigned short *)__cil_tmp14);
18627#line 72
18628 tmp___1 = state2str(__cil_tmp15);
18629#line 72
18630 __cil_tmp16 = (unsigned long )ctr;
18631#line 72
18632 __cil_tmp17 = __cil_tmp16 + 296;
18633#line 72
18634 __cil_tmp18 = *((int *)__cil_tmp17);
18635#line 72
18636 __cil_tmp19 = (unsigned long )ctr;
18637#line 72
18638 __cil_tmp20 = __cil_tmp19 + 48;
18639#line 72
18640 __cil_tmp21 = *((char **)__cil_tmp20);
18641#line 72
18642 __cil_tmp22 = 0 * 1UL;
18643#line 72
18644 __cil_tmp23 = 16 + __cil_tmp22;
18645#line 72
18646 __cil_tmp24 = (unsigned long )ctr;
18647#line 72
18648 __cil_tmp25 = __cil_tmp24 + __cil_tmp23;
18649#line 72
18650 __cil_tmp26 = (char *)__cil_tmp25;
18651#line 72
18652 seq_printf(seq, "%d %-10s %-8s %-16s %s\n", __cil_tmp18, __cil_tmp21, tmp___1, __cil_tmp26,
18653 tmp___0);
18654 }
18655#line 78
18656 return (0);
18657}
18658}
18659#line 81 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18660static int contrstats_show(struct seq_file *seq , void *v )
18661{ struct capi_ctr *ctr ;
18662 struct capi_ctr **__cil_tmp4 ;
18663 unsigned long __cil_tmp5 ;
18664 unsigned long __cil_tmp6 ;
18665 int __cil_tmp7 ;
18666 unsigned long __cil_tmp8 ;
18667 unsigned long __cil_tmp9 ;
18668 unsigned long __cil_tmp10 ;
18669 unsigned long __cil_tmp11 ;
18670 unsigned long __cil_tmp12 ;
18671 unsigned long __cil_tmp13 ;
18672 unsigned long __cil_tmp14 ;
18673 unsigned long __cil_tmp15 ;
18674 unsigned long __cil_tmp16 ;
18675 unsigned long __cil_tmp17 ;
18676 unsigned long __cil_tmp18 ;
18677 unsigned long __cil_tmp19 ;
18678
18679 {
18680#line 83
18681 __cil_tmp4 = (struct capi_ctr **)v;
18682#line 83
18683 ctr = *__cil_tmp4;
18684#line 85
18685 if (! ctr) {
18686#line 86
18687 return (0);
18688 } else {
18689
18690 }
18691 {
18692#line 88
18693 __cil_tmp5 = (unsigned long )ctr;
18694#line 88
18695 __cil_tmp6 = __cil_tmp5 + 296;
18696#line 88
18697 __cil_tmp7 = *((int *)__cil_tmp6);
18698#line 88
18699 __cil_tmp8 = (unsigned long )ctr;
18700#line 88
18701 __cil_tmp9 = __cil_tmp8 + 264;
18702#line 88
18703 __cil_tmp10 = *((unsigned long *)__cil_tmp9);
18704#line 88
18705 __cil_tmp11 = (unsigned long )ctr;
18706#line 88
18707 __cil_tmp12 = __cil_tmp11 + 272;
18708#line 88
18709 __cil_tmp13 = *((unsigned long *)__cil_tmp12);
18710#line 88
18711 __cil_tmp14 = (unsigned long )ctr;
18712#line 88
18713 __cil_tmp15 = __cil_tmp14 + 280;
18714#line 88
18715 __cil_tmp16 = *((unsigned long *)__cil_tmp15);
18716#line 88
18717 __cil_tmp17 = (unsigned long )ctr;
18718#line 88
18719 __cil_tmp18 = __cil_tmp17 + 288;
18720#line 88
18721 __cil_tmp19 = *((unsigned long *)__cil_tmp18);
18722#line 88
18723 seq_printf(seq, "%d %lu %lu %lu %lu\n", __cil_tmp7, __cil_tmp10, __cil_tmp13, __cil_tmp16,
18724 __cil_tmp19);
18725 }
18726#line 95
18727 return (0);
18728}
18729}
18730#line 98 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18731static struct seq_operations seq_controller_ops = {& controller_start, & controller_stop, & controller_next, & controller_show};
18732#line 105 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18733static struct seq_operations seq_contrstats_ops = {& controller_start, & controller_stop, & controller_next, & contrstats_show};
18734#line 112 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18735static int seq_controller_open(struct inode *inode , struct file *file )
18736{ int tmp ;
18737
18738 {
18739 {
18740#line 114
18741 tmp = seq_open(file, & seq_controller_ops);
18742 }
18743#line 114
18744 return (tmp);
18745}
18746}
18747#line 117 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18748static int seq_contrstats_open(struct inode *inode , struct file *file )
18749{ int tmp ;
18750
18751 {
18752 {
18753#line 119
18754 tmp = seq_open(file, & seq_contrstats_ops);
18755 }
18756#line 119
18757 return (tmp);
18758}
18759}
18760#line 122 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18761static struct file_operations proc_controller_ops =
18762#line 122
18763 {& __this_module, & seq_lseek, & seq_read, (ssize_t (*)(struct file * , char * ,
18764 size_t , loff_t * ))0,
18765 (ssize_t (*)(struct kiocb * , struct iovec * , unsigned long , loff_t ))0,
18766 (ssize_t (*)(struct kiocb * , struct iovec * , unsigned long , loff_t ))0,
18767 (int (*)(struct file * , void * , int (*)(void * , char * , int , loff_t ,
18768 u64 , unsigned int ) ))0, (unsigned int (*)(struct file * ,
18769 struct poll_table_struct * ))0,
18770 (long (*)(struct file * , unsigned int , unsigned long ))0, (long (*)(struct file * ,
18771 unsigned int ,
18772 unsigned long ))0,
18773 (int (*)(struct file * , struct vm_area_struct * ))0, & seq_controller_open, (int (*)(struct file * ,
18774 fl_owner_t id ))0,
18775 & seq_release, (int (*)(struct file * , loff_t , loff_t , int datasync ))0,
18776 (int (*)(struct kiocb * , int datasync ))0, (int (*)(int , struct file * , int ))0,
18777 (int (*)(struct file * , int , struct file_lock * ))0, (ssize_t (*)(struct file * ,
18778 struct page * ,
18779 int , size_t ,
18780 loff_t * ,
18781 int ))0,
18782 (unsigned long (*)(struct file * , unsigned long , unsigned long , unsigned long ,
18783 unsigned long ))0, (int (*)(int ))0, (int (*)(struct file * ,
18784 int , struct file_lock * ))0,
18785 (ssize_t (*)(struct pipe_inode_info * , struct file * , loff_t * , size_t , unsigned int ))0,
18786 (ssize_t (*)(struct file * , loff_t * , struct pipe_inode_info * , size_t , unsigned int ))0,
18787 (int (*)(struct file * , long , struct file_lock ** ))0, (long (*)(struct file *file ,
18788 int mode ,
18789 loff_t offset ,
18790 loff_t len ))0};
18791#line 130 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18792static struct file_operations proc_contrstats_ops =
18793#line 130
18794 {& __this_module, & seq_lseek, & seq_read, (ssize_t (*)(struct file * , char * ,
18795 size_t , loff_t * ))0,
18796 (ssize_t (*)(struct kiocb * , struct iovec * , unsigned long , loff_t ))0,
18797 (ssize_t (*)(struct kiocb * , struct iovec * , unsigned long , loff_t ))0,
18798 (int (*)(struct file * , void * , int (*)(void * , char * , int , loff_t ,
18799 u64 , unsigned int ) ))0, (unsigned int (*)(struct file * ,
18800 struct poll_table_struct * ))0,
18801 (long (*)(struct file * , unsigned int , unsigned long ))0, (long (*)(struct file * ,
18802 unsigned int ,
18803 unsigned long ))0,
18804 (int (*)(struct file * , struct vm_area_struct * ))0, & seq_contrstats_open, (int (*)(struct file * ,
18805 fl_owner_t id ))0,
18806 & seq_release, (int (*)(struct file * , loff_t , loff_t , int datasync ))0,
18807 (int (*)(struct kiocb * , int datasync ))0, (int (*)(int , struct file * , int ))0,
18808 (int (*)(struct file * , int , struct file_lock * ))0, (ssize_t (*)(struct file * ,
18809 struct page * ,
18810 int , size_t ,
18811 loff_t * ,
18812 int ))0,
18813 (unsigned long (*)(struct file * , unsigned long , unsigned long , unsigned long ,
18814 unsigned long ))0, (int (*)(int ))0, (int (*)(struct file * ,
18815 int , struct file_lock * ))0,
18816 (ssize_t (*)(struct pipe_inode_info * , struct file * , loff_t * , size_t , unsigned int ))0,
18817 (ssize_t (*)(struct file * , loff_t * , struct pipe_inode_info * , size_t , unsigned int ))0,
18818 (int (*)(struct file * , long , struct file_lock ** ))0, (long (*)(struct file *file ,
18819 int mode ,
18820 loff_t offset ,
18821 loff_t len ))0};
18822#line 144 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18823static void *applications_start(struct seq_file *seq , loff_t *pos )
18824{ loff_t __cil_tmp3 ;
18825 loff_t __cil_tmp4 ;
18826 unsigned long __cil_tmp5 ;
18827 unsigned long __cil_tmp6 ;
18828 struct capi20_appl **__cil_tmp7 ;
18829
18830 {
18831 {
18832#line 147
18833 mutex_lock(& capi_controller_lock);
18834 }
18835 {
18836#line 149
18837 __cil_tmp3 = *pos;
18838#line 149
18839 if (__cil_tmp3 < 240LL) {
18840 {
18841#line 150
18842 __cil_tmp4 = *pos;
18843#line 150
18844 __cil_tmp5 = __cil_tmp4 * 8UL;
18845#line 150
18846 __cil_tmp6 = (unsigned long )(capi_applications) + __cil_tmp5;
18847#line 150
18848 __cil_tmp7 = (struct capi20_appl **)__cil_tmp6;
18849#line 150
18850 return ((void *)__cil_tmp7);
18851 }
18852 } else {
18853
18854 }
18855 }
18856#line 152
18857 return ((void *)0);
18858}
18859}
18860#line 155 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18861static void *applications_next(struct seq_file *seq , void *v , loff_t *pos )
18862{ loff_t __cil_tmp4 ;
18863 loff_t __cil_tmp5 ;
18864 loff_t __cil_tmp6 ;
18865 unsigned long __cil_tmp7 ;
18866 unsigned long __cil_tmp8 ;
18867 struct capi20_appl **__cil_tmp9 ;
18868
18869 {
18870#line 158
18871 __cil_tmp4 = *pos;
18872#line 158
18873 *pos = __cil_tmp4 + 1LL;
18874 {
18875#line 159
18876 __cil_tmp5 = *pos;
18877#line 159
18878 if (__cil_tmp5 < 240LL) {
18879 {
18880#line 160
18881 __cil_tmp6 = *pos;
18882#line 160
18883 __cil_tmp7 = __cil_tmp6 * 8UL;
18884#line 160
18885 __cil_tmp8 = (unsigned long )(capi_applications) + __cil_tmp7;
18886#line 160
18887 __cil_tmp9 = (struct capi20_appl **)__cil_tmp8;
18888#line 160
18889 return ((void *)__cil_tmp9);
18890 }
18891 } else {
18892
18893 }
18894 }
18895#line 162
18896 return ((void *)0);
18897}
18898}
18899#line 165 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18900static void applications_stop(struct seq_file *seq , void *v )
18901{
18902
18903 {
18904 {
18905#line 168
18906 mutex_unlock(& capi_controller_lock);
18907 }
18908#line 169
18909 return;
18910}
18911}
18912#line 171 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18913static int applications_show(struct seq_file *seq , void *v )
18914{ struct capi20_appl *ap ;
18915 struct capi20_appl **__cil_tmp4 ;
18916 u16 __cil_tmp5 ;
18917 int __cil_tmp6 ;
18918 unsigned long __cil_tmp7 ;
18919 unsigned long __cil_tmp8 ;
18920 __u32 __cil_tmp9 ;
18921 unsigned long __cil_tmp10 ;
18922 unsigned long __cil_tmp11 ;
18923 unsigned long __cil_tmp12 ;
18924 __u32 __cil_tmp13 ;
18925 unsigned long __cil_tmp14 ;
18926 unsigned long __cil_tmp15 ;
18927 unsigned long __cil_tmp16 ;
18928 __u32 __cil_tmp17 ;
18929
18930 {
18931#line 174
18932 __cil_tmp4 = (struct capi20_appl **)v;
18933#line 174
18934 ap = *__cil_tmp4;
18935#line 176
18936 if (! ap) {
18937#line 177
18938 return (0);
18939 } else {
18940
18941 }
18942 {
18943#line 179
18944 __cil_tmp5 = *((u16 *)ap);
18945#line 179
18946 __cil_tmp6 = (int )__cil_tmp5;
18947#line 179
18948 __cil_tmp7 = (unsigned long )ap;
18949#line 179
18950 __cil_tmp8 = __cil_tmp7 + 4;
18951#line 179
18952 __cil_tmp9 = *((__u32 *)__cil_tmp8);
18953#line 179
18954 __cil_tmp10 = 4 + 4;
18955#line 179
18956 __cil_tmp11 = (unsigned long )ap;
18957#line 179
18958 __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
18959#line 179
18960 __cil_tmp13 = *((__u32 *)__cil_tmp12);
18961#line 179
18962 __cil_tmp14 = 4 + 8;
18963#line 179
18964 __cil_tmp15 = (unsigned long )ap;
18965#line 179
18966 __cil_tmp16 = __cil_tmp15 + __cil_tmp14;
18967#line 179
18968 __cil_tmp17 = *((__u32 *)__cil_tmp16);
18969#line 179
18970 seq_printf(seq, "%u %d %d %d\n", __cil_tmp6, __cil_tmp9, __cil_tmp13, __cil_tmp17);
18971 }
18972#line 185
18973 return (0);
18974}
18975}
18976#line 188 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
18977static int applstats_show(struct seq_file *seq , void *v )
18978{ struct capi20_appl *ap ;
18979 struct capi20_appl **__cil_tmp4 ;
18980 u16 __cil_tmp5 ;
18981 int __cil_tmp6 ;
18982 unsigned long __cil_tmp7 ;
18983 unsigned long __cil_tmp8 ;
18984 unsigned long __cil_tmp9 ;
18985 unsigned long __cil_tmp10 ;
18986 unsigned long __cil_tmp11 ;
18987 unsigned long __cil_tmp12 ;
18988 unsigned long __cil_tmp13 ;
18989 unsigned long __cil_tmp14 ;
18990 unsigned long __cil_tmp15 ;
18991 unsigned long __cil_tmp16 ;
18992 unsigned long __cil_tmp17 ;
18993 unsigned long __cil_tmp18 ;
18994
18995 {
18996#line 191
18997 __cil_tmp4 = (struct capi20_appl **)v;
18998#line 191
18999 ap = *__cil_tmp4;
19000#line 193
19001 if (! ap) {
19002#line 194
19003 return (0);
19004 } else {
19005
19006 }
19007 {
19008#line 196
19009 __cil_tmp5 = *((u16 *)ap);
19010#line 196
19011 __cil_tmp6 = (int )__cil_tmp5;
19012#line 196
19013 __cil_tmp7 = (unsigned long )ap;
19014#line 196
19015 __cil_tmp8 = __cil_tmp7 + 32;
19016#line 196
19017 __cil_tmp9 = *((unsigned long *)__cil_tmp8);
19018#line 196
19019 __cil_tmp10 = (unsigned long )ap;
19020#line 196
19021 __cil_tmp11 = __cil_tmp10 + 40;
19022#line 196
19023 __cil_tmp12 = *((unsigned long *)__cil_tmp11);
19024#line 196
19025 __cil_tmp13 = (unsigned long )ap;
19026#line 196
19027 __cil_tmp14 = __cil_tmp13 + 48;
19028#line 196
19029 __cil_tmp15 = *((unsigned long *)__cil_tmp14);
19030#line 196
19031 __cil_tmp16 = (unsigned long )ap;
19032#line 196
19033 __cil_tmp17 = __cil_tmp16 + 56;
19034#line 196
19035 __cil_tmp18 = *((unsigned long *)__cil_tmp17);
19036#line 196
19037 seq_printf(seq, "%u %lu %lu %lu %lu\n", __cil_tmp6, __cil_tmp9, __cil_tmp12, __cil_tmp15,
19038 __cil_tmp18);
19039 }
19040#line 203
19041 return (0);
19042}
19043}
19044#line 206 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19045static struct seq_operations seq_applications_ops = {& applications_start, & applications_stop, & applications_next, & applications_show};
19046#line 213 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19047static struct seq_operations seq_applstats_ops = {& applications_start, & applications_stop, & applications_next, & applstats_show};
19048#line 220 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19049static int seq_applications_open(struct inode *inode , struct file *file )
19050{ int tmp ;
19051
19052 {
19053 {
19054#line 223
19055 tmp = seq_open(file, & seq_applications_ops);
19056 }
19057#line 223
19058 return (tmp);
19059}
19060}
19061#line 226 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19062static int seq_applstats_open(struct inode *inode , struct file *file )
19063{ int tmp ;
19064
19065 {
19066 {
19067#line 229
19068 tmp = seq_open(file, & seq_applstats_ops);
19069 }
19070#line 229
19071 return (tmp);
19072}
19073}
19074#line 232 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19075static struct file_operations proc_applications_ops =
19076#line 232
19077 {& __this_module, & seq_lseek, & seq_read, (ssize_t (*)(struct file * , char * ,
19078 size_t , loff_t * ))0,
19079 (ssize_t (*)(struct kiocb * , struct iovec * , unsigned long , loff_t ))0,
19080 (ssize_t (*)(struct kiocb * , struct iovec * , unsigned long , loff_t ))0,
19081 (int (*)(struct file * , void * , int (*)(void * , char * , int , loff_t ,
19082 u64 , unsigned int ) ))0, (unsigned int (*)(struct file * ,
19083 struct poll_table_struct * ))0,
19084 (long (*)(struct file * , unsigned int , unsigned long ))0, (long (*)(struct file * ,
19085 unsigned int ,
19086 unsigned long ))0,
19087 (int (*)(struct file * , struct vm_area_struct * ))0, & seq_applications_open,
19088 (int (*)(struct file * , fl_owner_t id ))0, & seq_release, (int (*)(struct file * ,
19089 loff_t ,
19090 loff_t ,
19091 int datasync ))0,
19092 (int (*)(struct kiocb * , int datasync ))0, (int (*)(int , struct file * , int ))0,
19093 (int (*)(struct file * , int , struct file_lock * ))0, (ssize_t (*)(struct file * ,
19094 struct page * ,
19095 int , size_t ,
19096 loff_t * ,
19097 int ))0,
19098 (unsigned long (*)(struct file * , unsigned long , unsigned long , unsigned long ,
19099 unsigned long ))0, (int (*)(int ))0, (int (*)(struct file * ,
19100 int , struct file_lock * ))0,
19101 (ssize_t (*)(struct pipe_inode_info * , struct file * , loff_t * , size_t , unsigned int ))0,
19102 (ssize_t (*)(struct file * , loff_t * , struct pipe_inode_info * , size_t , unsigned int ))0,
19103 (int (*)(struct file * , long , struct file_lock ** ))0, (long (*)(struct file *file ,
19104 int mode ,
19105 loff_t offset ,
19106 loff_t len ))0};
19107#line 240 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19108static struct file_operations proc_applstats_ops =
19109#line 240
19110 {& __this_module, & seq_lseek, & seq_read, (ssize_t (*)(struct file * , char * ,
19111 size_t , loff_t * ))0,
19112 (ssize_t (*)(struct kiocb * , struct iovec * , unsigned long , loff_t ))0,
19113 (ssize_t (*)(struct kiocb * , struct iovec * , unsigned long , loff_t ))0,
19114 (int (*)(struct file * , void * , int (*)(void * , char * , int , loff_t ,
19115 u64 , unsigned int ) ))0, (unsigned int (*)(struct file * ,
19116 struct poll_table_struct * ))0,
19117 (long (*)(struct file * , unsigned int , unsigned long ))0, (long (*)(struct file * ,
19118 unsigned int ,
19119 unsigned long ))0,
19120 (int (*)(struct file * , struct vm_area_struct * ))0, & seq_applstats_open, (int (*)(struct file * ,
19121 fl_owner_t id ))0,
19122 & seq_release, (int (*)(struct file * , loff_t , loff_t , int datasync ))0,
19123 (int (*)(struct kiocb * , int datasync ))0, (int (*)(int , struct file * , int ))0,
19124 (int (*)(struct file * , int , struct file_lock * ))0, (ssize_t (*)(struct file * ,
19125 struct page * ,
19126 int , size_t ,
19127 loff_t * ,
19128 int ))0,
19129 (unsigned long (*)(struct file * , unsigned long , unsigned long , unsigned long ,
19130 unsigned long ))0, (int (*)(int ))0, (int (*)(struct file * ,
19131 int , struct file_lock * ))0,
19132 (ssize_t (*)(struct pipe_inode_info * , struct file * , loff_t * , size_t , unsigned int ))0,
19133 (ssize_t (*)(struct file * , loff_t * , struct pipe_inode_info * , size_t , unsigned int ))0,
19134 (int (*)(struct file * , long , struct file_lock ** ))0, (long (*)(struct file *file ,
19135 int mode ,
19136 loff_t offset ,
19137 loff_t len ))0};
19138#line 250 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19139static void *capi_driver_start(struct seq_file *seq , loff_t *pos )
19140{ struct list_head *tmp ;
19141 loff_t __cil_tmp4 ;
19142
19143 {
19144 {
19145#line 253
19146 mutex_lock(& capi_drivers_lock);
19147#line 254
19148 __cil_tmp4 = *pos;
19149#line 254
19150 tmp = seq_list_start(& capi_drivers, __cil_tmp4);
19151 }
19152#line 254
19153 return ((void *)tmp);
19154}
19155}
19156#line 257 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19157static void *capi_driver_next(struct seq_file *seq , void *v , loff_t *pos )
19158{ struct list_head *tmp ;
19159
19160 {
19161 {
19162#line 259
19163 tmp = seq_list_next(v, & capi_drivers, pos);
19164 }
19165#line 259
19166 return ((void *)tmp);
19167}
19168}
19169#line 262 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19170static void capi_driver_stop(struct seq_file *seq , void *v )
19171{
19172
19173 {
19174 {
19175#line 265
19176 mutex_unlock(& capi_drivers_lock);
19177 }
19178#line 266
19179 return;
19180}
19181}
19182#line 268 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19183static int capi_driver_show(struct seq_file *seq , void *v )
19184{ struct capi_driver *drv ;
19185 struct list_head *__mptr ;
19186 struct capi_driver *__cil_tmp5 ;
19187 unsigned long __cil_tmp6 ;
19188 unsigned long __cil_tmp7 ;
19189 struct list_head *__cil_tmp8 ;
19190 unsigned int __cil_tmp9 ;
19191 char *__cil_tmp10 ;
19192 char *__cil_tmp11 ;
19193 unsigned long __cil_tmp12 ;
19194 unsigned long __cil_tmp13 ;
19195 unsigned long __cil_tmp14 ;
19196 unsigned long __cil_tmp15 ;
19197 char *__cil_tmp16 ;
19198 unsigned long __cil_tmp17 ;
19199 unsigned long __cil_tmp18 ;
19200 unsigned long __cil_tmp19 ;
19201 unsigned long __cil_tmp20 ;
19202 char *__cil_tmp21 ;
19203
19204 {
19205 {
19206#line 270
19207 __mptr = (struct list_head *)v;
19208#line 270
19209 __cil_tmp5 = (struct capi_driver *)0;
19210#line 270
19211 __cil_tmp6 = (unsigned long )__cil_tmp5;
19212#line 270
19213 __cil_tmp7 = __cil_tmp6 + 72;
19214#line 270
19215 __cil_tmp8 = (struct list_head *)__cil_tmp7;
19216#line 270
19217 __cil_tmp9 = (unsigned int )__cil_tmp8;
19218#line 270
19219 __cil_tmp10 = (char *)__mptr;
19220#line 270
19221 __cil_tmp11 = __cil_tmp10 - __cil_tmp9;
19222#line 270
19223 drv = (struct capi_driver *)__cil_tmp11;
19224#line 272
19225 __cil_tmp12 = 0 * 1UL;
19226#line 272
19227 __cil_tmp13 = 0 + __cil_tmp12;
19228#line 272
19229 __cil_tmp14 = (unsigned long )drv;
19230#line 272
19231 __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
19232#line 272
19233 __cil_tmp16 = (char *)__cil_tmp15;
19234#line 272
19235 __cil_tmp17 = 0 * 1UL;
19236#line 272
19237 __cil_tmp18 = 32 + __cil_tmp17;
19238#line 272
19239 __cil_tmp19 = (unsigned long )drv;
19240#line 272
19241 __cil_tmp20 = __cil_tmp19 + __cil_tmp18;
19242#line 272
19243 __cil_tmp21 = (char *)__cil_tmp20;
19244#line 272
19245 seq_printf(seq, "%-32s %s\n", __cil_tmp16, __cil_tmp21);
19246 }
19247#line 273
19248 return (0);
19249}
19250}
19251#line 276 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19252static struct seq_operations seq_capi_driver_ops = {& capi_driver_start, & capi_driver_stop, & capi_driver_next, & capi_driver_show};
19253#line 283 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19254static int seq_capi_driver_open(struct inode *inode , struct file *file )
19255{ int err ;
19256
19257 {
19258 {
19259#line 287
19260 err = seq_open(file, & seq_capi_driver_ops);
19261 }
19262#line 288
19263 return (err);
19264}
19265}
19266#line 291 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19267static struct file_operations proc_driver_ops =
19268#line 291
19269 {& __this_module, & seq_lseek, & seq_read, (ssize_t (*)(struct file * , char * ,
19270 size_t , loff_t * ))0,
19271 (ssize_t (*)(struct kiocb * , struct iovec * , unsigned long , loff_t ))0,
19272 (ssize_t (*)(struct kiocb * , struct iovec * , unsigned long , loff_t ))0,
19273 (int (*)(struct file * , void * , int (*)(void * , char * , int , loff_t ,
19274 u64 , unsigned int ) ))0, (unsigned int (*)(struct file * ,
19275 struct poll_table_struct * ))0,
19276 (long (*)(struct file * , unsigned int , unsigned long ))0, (long (*)(struct file * ,
19277 unsigned int ,
19278 unsigned long ))0,
19279 (int (*)(struct file * , struct vm_area_struct * ))0, & seq_capi_driver_open,
19280 (int (*)(struct file * , fl_owner_t id ))0, & seq_release, (int (*)(struct file * ,
19281 loff_t ,
19282 loff_t ,
19283 int datasync ))0,
19284 (int (*)(struct kiocb * , int datasync ))0, (int (*)(int , struct file * , int ))0,
19285 (int (*)(struct file * , int , struct file_lock * ))0, (ssize_t (*)(struct file * ,
19286 struct page * ,
19287 int , size_t ,
19288 loff_t * ,
19289 int ))0,
19290 (unsigned long (*)(struct file * , unsigned long , unsigned long , unsigned long ,
19291 unsigned long ))0, (int (*)(int ))0, (int (*)(struct file * ,
19292 int , struct file_lock * ))0,
19293 (ssize_t (*)(struct pipe_inode_info * , struct file * , loff_t * , size_t , unsigned int ))0,
19294 (ssize_t (*)(struct file * , loff_t * , struct pipe_inode_info * , size_t , unsigned int ))0,
19295 (int (*)(struct file * , long , struct file_lock ** ))0, (long (*)(struct file *file ,
19296 int mode ,
19297 loff_t offset ,
19298 loff_t len ))0};
19299#line 301
19300void kcapi_proc_init(void) __attribute__((__section__(".init.text"), __no_instrument_function__)) ;
19301#line 301 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19302void kcapi_proc_init(void)
19303{ void *__cil_tmp1 ;
19304 struct proc_dir_entry *__cil_tmp2 ;
19305 void *__cil_tmp3 ;
19306 struct proc_dir_entry *__cil_tmp4 ;
19307 umode_t __cil_tmp5 ;
19308 void *__cil_tmp6 ;
19309 struct proc_dir_entry *__cil_tmp7 ;
19310 umode_t __cil_tmp8 ;
19311 void *__cil_tmp9 ;
19312 struct proc_dir_entry *__cil_tmp10 ;
19313 umode_t __cil_tmp11 ;
19314 void *__cil_tmp12 ;
19315 struct proc_dir_entry *__cil_tmp13 ;
19316 umode_t __cil_tmp14 ;
19317 void *__cil_tmp15 ;
19318 struct proc_dir_entry *__cil_tmp16 ;
19319 umode_t __cil_tmp17 ;
19320 void *__cil_tmp18 ;
19321 struct proc_dir_entry *__cil_tmp19 ;
19322
19323 {
19324 {
19325#line 304
19326 __cil_tmp1 = (void *)0;
19327#line 304
19328 __cil_tmp2 = (struct proc_dir_entry *)__cil_tmp1;
19329#line 304
19330 proc_mkdir("capi", __cil_tmp2);
19331#line 305
19332 __cil_tmp3 = (void *)0;
19333#line 305
19334 __cil_tmp4 = (struct proc_dir_entry *)__cil_tmp3;
19335#line 305
19336 proc_mkdir("capi/controllers", __cil_tmp4);
19337#line 306
19338 __cil_tmp5 = (umode_t )0;
19339#line 306
19340 __cil_tmp6 = (void *)0;
19341#line 306
19342 __cil_tmp7 = (struct proc_dir_entry *)__cil_tmp6;
19343#line 306
19344 proc_create("capi/controller", __cil_tmp5, __cil_tmp7, & proc_controller_ops);
19345#line 307
19346 __cil_tmp8 = (umode_t )0;
19347#line 307
19348 __cil_tmp9 = (void *)0;
19349#line 307
19350 __cil_tmp10 = (struct proc_dir_entry *)__cil_tmp9;
19351#line 307
19352 proc_create("capi/contrstats", __cil_tmp8, __cil_tmp10, & proc_contrstats_ops);
19353#line 308
19354 __cil_tmp11 = (umode_t )0;
19355#line 308
19356 __cil_tmp12 = (void *)0;
19357#line 308
19358 __cil_tmp13 = (struct proc_dir_entry *)__cil_tmp12;
19359#line 308
19360 proc_create("capi/applications", __cil_tmp11, __cil_tmp13, & proc_applications_ops);
19361#line 309
19362 __cil_tmp14 = (umode_t )0;
19363#line 309
19364 __cil_tmp15 = (void *)0;
19365#line 309
19366 __cil_tmp16 = (struct proc_dir_entry *)__cil_tmp15;
19367#line 309
19368 proc_create("capi/applstats", __cil_tmp14, __cil_tmp16, & proc_applstats_ops);
19369#line 310
19370 __cil_tmp17 = (umode_t )0;
19371#line 310
19372 __cil_tmp18 = (void *)0;
19373#line 310
19374 __cil_tmp19 = (struct proc_dir_entry *)__cil_tmp18;
19375#line 310
19376 proc_create("capi/driver", __cil_tmp17, __cil_tmp19, & proc_driver_ops);
19377 }
19378#line 311
19379 return;
19380}
19381}
19382#line 313
19383void kcapi_proc_exit(void) __attribute__((__section__(".exit.text"), __no_instrument_function__)) ;
19384#line 313 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19385void kcapi_proc_exit(void)
19386{ void *__cil_tmp1 ;
19387 struct proc_dir_entry *__cil_tmp2 ;
19388 void *__cil_tmp3 ;
19389 struct proc_dir_entry *__cil_tmp4 ;
19390 void *__cil_tmp5 ;
19391 struct proc_dir_entry *__cil_tmp6 ;
19392 void *__cil_tmp7 ;
19393 struct proc_dir_entry *__cil_tmp8 ;
19394 void *__cil_tmp9 ;
19395 struct proc_dir_entry *__cil_tmp10 ;
19396 void *__cil_tmp11 ;
19397 struct proc_dir_entry *__cil_tmp12 ;
19398 void *__cil_tmp13 ;
19399 struct proc_dir_entry *__cil_tmp14 ;
19400
19401 {
19402 {
19403#line 316
19404 __cil_tmp1 = (void *)0;
19405#line 316
19406 __cil_tmp2 = (struct proc_dir_entry *)__cil_tmp1;
19407#line 316
19408 remove_proc_entry("capi/driver", __cil_tmp2);
19409#line 317
19410 __cil_tmp3 = (void *)0;
19411#line 317
19412 __cil_tmp4 = (struct proc_dir_entry *)__cil_tmp3;
19413#line 317
19414 remove_proc_entry("capi/controller", __cil_tmp4);
19415#line 318
19416 __cil_tmp5 = (void *)0;
19417#line 318
19418 __cil_tmp6 = (struct proc_dir_entry *)__cil_tmp5;
19419#line 318
19420 remove_proc_entry("capi/contrstats", __cil_tmp6);
19421#line 319
19422 __cil_tmp7 = (void *)0;
19423#line 319
19424 __cil_tmp8 = (struct proc_dir_entry *)__cil_tmp7;
19425#line 319
19426 remove_proc_entry("capi/applications", __cil_tmp8);
19427#line 320
19428 __cil_tmp9 = (void *)0;
19429#line 320
19430 __cil_tmp10 = (struct proc_dir_entry *)__cil_tmp9;
19431#line 320
19432 remove_proc_entry("capi/applstats", __cil_tmp10);
19433#line 321
19434 __cil_tmp11 = (void *)0;
19435#line 321
19436 __cil_tmp12 = (struct proc_dir_entry *)__cil_tmp11;
19437#line 321
19438 remove_proc_entry("capi/controllers", __cil_tmp12);
19439#line 322
19440 __cil_tmp13 = (void *)0;
19441#line 322
19442 __cil_tmp14 = (struct proc_dir_entry *)__cil_tmp13;
19443#line 322
19444 remove_proc_entry("capi", __cil_tmp14);
19445 }
19446#line 323
19447 return;
19448}
19449}
19450#line 344
19451extern void ldv_check_return_value(int res ) ;
19452#line 404 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19453static int res_seq_controller_open_6 ;
19454#line 410 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19455static int res_seq_contrstats_open_7 ;
19456#line 448 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19457static int res_seq_applications_open_13 ;
19458#line 454 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19459static int res_seq_applstats_open_14 ;
19460#line 480 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19461static int res_seq_capi_driver_open_19 ;
19462#line 356 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/3398/dscv_tempdir/dscv/ri/32_1/drivers/isdn/capi/kcapi_proc.c"
19463void main(void)
19464{ struct seq_file *var_group1 ;
19465 loff_t *var_controller_start_1_p1 ;
19466 void *var_controller_next_2_p1 ;
19467 loff_t *var_controller_next_2_p2 ;
19468 void *var_controller_stop_3_p1 ;
19469 void *var_controller_show_4_p1 ;
19470 void *var_contrstats_show_5_p1 ;
19471 struct inode *var_group2 ;
19472 struct file *var_group3 ;
19473 loff_t *var_applications_start_8_p1 ;
19474 void *var_applications_next_9_p1 ;
19475 loff_t *var_applications_next_9_p2 ;
19476 void *var_applications_stop_10_p1 ;
19477 void *var_applications_show_11_p1 ;
19478 void *var_applstats_show_12_p1 ;
19479 loff_t *var_capi_driver_start_15_p1 ;
19480 void *var_capi_driver_next_16_p1 ;
19481 loff_t *var_capi_driver_next_16_p2 ;
19482 void *var_capi_driver_stop_17_p1 ;
19483 void *var_capi_driver_show_18_p1 ;
19484 int ldv_s_proc_controller_ops_file_operations ;
19485 int ldv_s_proc_contrstats_ops_file_operations ;
19486 int ldv_s_proc_applications_ops_file_operations ;
19487 int ldv_s_proc_applstats_ops_file_operations ;
19488 int ldv_s_proc_driver_ops_file_operations ;
19489 int tmp ;
19490 int tmp___0 ;
19491 int __cil_tmp28 ;
19492 int __cil_tmp29 ;
19493 int __cil_tmp30 ;
19494 int __cil_tmp31 ;
19495 int __cil_tmp32 ;
19496
19497 {
19498 {
19499#line 488
19500 LDV_IN_INTERRUPT = 1;
19501#line 497
19502 ldv_initialize();
19503#line 502
19504 ldv_s_proc_controller_ops_file_operations = 0;
19505#line 504
19506 ldv_s_proc_contrstats_ops_file_operations = 0;
19507#line 510
19508 ldv_s_proc_applications_ops_file_operations = 0;
19509#line 512
19510 ldv_s_proc_applstats_ops_file_operations = 0;
19511#line 516
19512 ldv_s_proc_driver_ops_file_operations = 0;
19513 }
19514 {
19515#line 519
19516 while (1) {
19517 while_continue: ;
19518 {
19519#line 519
19520 tmp___0 = __VERIFIER_nondet_int();
19521 }
19522#line 519
19523 if (tmp___0) {
19524
19525 } else {
19526 {
19527#line 519
19528 __cil_tmp28 = ldv_s_proc_controller_ops_file_operations == 0;
19529#line 519
19530 if (! __cil_tmp28) {
19531
19532 } else {
19533 {
19534#line 519
19535 __cil_tmp29 = ldv_s_proc_contrstats_ops_file_operations == 0;
19536#line 519
19537 if (! __cil_tmp29) {
19538
19539 } else {
19540 {
19541#line 519
19542 __cil_tmp30 = ldv_s_proc_applications_ops_file_operations == 0;
19543#line 519
19544 if (! __cil_tmp30) {
19545
19546 } else {
19547 {
19548#line 519
19549 __cil_tmp31 = ldv_s_proc_applstats_ops_file_operations == 0;
19550#line 519
19551 if (! __cil_tmp31) {
19552
19553 } else {
19554 {
19555#line 519
19556 __cil_tmp32 = ldv_s_proc_driver_ops_file_operations == 0;
19557#line 519
19558 if (! __cil_tmp32) {
19559
19560 } else {
19561#line 519
19562 goto while_break;
19563 }
19564 }
19565 }
19566 }
19567 }
19568 }
19569 }
19570 }
19571 }
19572 }
19573 }
19574 {
19575#line 527
19576 tmp = __VERIFIER_nondet_int();
19577 }
19578#line 529
19579 if (tmp == 0) {
19580#line 529
19581 goto case_0;
19582 } else
19583#line 545
19584 if (tmp == 1) {
19585#line 545
19586 goto case_1;
19587 } else
19588#line 561
19589 if (tmp == 2) {
19590#line 561
19591 goto case_2;
19592 } else
19593#line 577
19594 if (tmp == 3) {
19595#line 577
19596 goto case_3;
19597 } else
19598#line 593
19599 if (tmp == 4) {
19600#line 593
19601 goto case_4;
19602 } else
19603#line 609
19604 if (tmp == 5) {
19605#line 609
19606 goto case_5;
19607 } else
19608#line 625
19609 if (tmp == 6) {
19610#line 625
19611 goto case_6;
19612 } else
19613#line 641
19614 if (tmp == 7) {
19615#line 641
19616 goto case_7;
19617 } else
19618#line 657
19619 if (tmp == 8) {
19620#line 657
19621 goto case_8;
19622 } else
19623#line 676
19624 if (tmp == 9) {
19625#line 676
19626 goto case_9;
19627 } else
19628#line 695
19629 if (tmp == 10) {
19630#line 695
19631 goto case_10;
19632 } else
19633#line 711
19634 if (tmp == 11) {
19635#line 711
19636 goto case_11;
19637 } else
19638#line 727
19639 if (tmp == 12) {
19640#line 727
19641 goto case_12;
19642 } else
19643#line 743
19644 if (tmp == 13) {
19645#line 743
19646 goto case_13;
19647 } else
19648#line 759
19649 if (tmp == 14) {
19650#line 759
19651 goto case_14;
19652 } else
19653#line 775
19654 if (tmp == 15) {
19655#line 775
19656 goto case_15;
19657 } else
19658#line 791
19659 if (tmp == 16) {
19660#line 791
19661 goto case_16;
19662 } else
19663#line 807
19664 if (tmp == 17) {
19665#line 807
19666 goto case_17;
19667 } else
19668#line 823
19669 if (tmp == 18) {
19670#line 823
19671 goto case_18;
19672 } else
19673#line 842
19674 if (tmp == 19) {
19675#line 842
19676 goto case_19;
19677 } else
19678#line 861
19679 if (tmp == 20) {
19680#line 861
19681 goto case_20;
19682 } else
19683#line 877
19684 if (tmp == 21) {
19685#line 877
19686 goto case_21;
19687 } else
19688#line 893
19689 if (tmp == 22) {
19690#line 893
19691 goto case_22;
19692 } else
19693#line 909
19694 if (tmp == 23) {
19695#line 909
19696 goto case_23;
19697 } else
19698#line 925
19699 if (tmp == 24) {
19700#line 925
19701 goto case_24;
19702 } else {
19703 {
19704#line 944
19705 goto switch_default;
19706#line 527
19707 if (0) {
19708 case_0:
19709 {
19710#line 537
19711 controller_start(var_group1, var_controller_start_1_p1);
19712 }
19713#line 544
19714 goto switch_break;
19715 case_1:
19716 {
19717#line 553
19718 controller_next(var_group1, var_controller_next_2_p1, var_controller_next_2_p2);
19719 }
19720#line 560
19721 goto switch_break;
19722 case_2:
19723 {
19724#line 569
19725 controller_stop(var_group1, var_controller_stop_3_p1);
19726 }
19727#line 576
19728 goto switch_break;
19729 case_3:
19730 {
19731#line 585
19732 controller_show(var_group1, var_controller_show_4_p1);
19733 }
19734#line 592
19735 goto switch_break;
19736 case_4:
19737 {
19738#line 601
19739 controller_start(var_group1, var_controller_start_1_p1);
19740 }
19741#line 608
19742 goto switch_break;
19743 case_5:
19744 {
19745#line 617
19746 controller_next(var_group1, var_controller_next_2_p1, var_controller_next_2_p2);
19747 }
19748#line 624
19749 goto switch_break;
19750 case_6:
19751 {
19752#line 633
19753 controller_stop(var_group1, var_controller_stop_3_p1);
19754 }
19755#line 640
19756 goto switch_break;
19757 case_7:
19758 {
19759#line 649
19760 contrstats_show(var_group1, var_contrstats_show_5_p1);
19761 }
19762#line 656
19763 goto switch_break;
19764 case_8:
19765#line 660
19766 if (ldv_s_proc_controller_ops_file_operations == 0) {
19767 {
19768#line 665
19769 res_seq_controller_open_6 = seq_controller_open(var_group2, var_group3);
19770#line 666
19771 ldv_check_return_value(res_seq_controller_open_6);
19772 }
19773#line 667
19774 if (res_seq_controller_open_6) {
19775#line 668
19776 goto ldv_module_exit;
19777 } else {
19778
19779 }
19780#line 669
19781 ldv_s_proc_controller_ops_file_operations = 0;
19782 } else {
19783
19784 }
19785#line 675
19786 goto switch_break;
19787 case_9:
19788#line 679
19789 if (ldv_s_proc_contrstats_ops_file_operations == 0) {
19790 {
19791#line 684
19792 res_seq_contrstats_open_7 = seq_contrstats_open(var_group2, var_group3);
19793#line 685
19794 ldv_check_return_value(res_seq_contrstats_open_7);
19795 }
19796#line 686
19797 if (res_seq_contrstats_open_7) {
19798#line 687
19799 goto ldv_module_exit;
19800 } else {
19801
19802 }
19803#line 688
19804 ldv_s_proc_contrstats_ops_file_operations = 0;
19805 } else {
19806
19807 }
19808#line 694
19809 goto switch_break;
19810 case_10:
19811 {
19812#line 703
19813 applications_start(var_group1, var_applications_start_8_p1);
19814 }
19815#line 710
19816 goto switch_break;
19817 case_11:
19818 {
19819#line 719
19820 applications_next(var_group1, var_applications_next_9_p1, var_applications_next_9_p2);
19821 }
19822#line 726
19823 goto switch_break;
19824 case_12:
19825 {
19826#line 735
19827 applications_stop(var_group1, var_applications_stop_10_p1);
19828 }
19829#line 742
19830 goto switch_break;
19831 case_13:
19832 {
19833#line 751
19834 applications_show(var_group1, var_applications_show_11_p1);
19835 }
19836#line 758
19837 goto switch_break;
19838 case_14:
19839 {
19840#line 767
19841 applications_start(var_group1, var_applications_start_8_p1);
19842 }
19843#line 774
19844 goto switch_break;
19845 case_15:
19846 {
19847#line 783
19848 applications_next(var_group1, var_applications_next_9_p1, var_applications_next_9_p2);
19849 }
19850#line 790
19851 goto switch_break;
19852 case_16:
19853 {
19854#line 799
19855 applications_stop(var_group1, var_applications_stop_10_p1);
19856 }
19857#line 806
19858 goto switch_break;
19859 case_17:
19860 {
19861#line 815
19862 applstats_show(var_group1, var_applstats_show_12_p1);
19863 }
19864#line 822
19865 goto switch_break;
19866 case_18:
19867#line 826
19868 if (ldv_s_proc_applications_ops_file_operations == 0) {
19869 {
19870#line 831
19871 res_seq_applications_open_13 = seq_applications_open(var_group2, var_group3);
19872#line 832
19873 ldv_check_return_value(res_seq_applications_open_13);
19874 }
19875#line 833
19876 if (res_seq_applications_open_13) {
19877#line 834
19878 goto ldv_module_exit;
19879 } else {
19880
19881 }
19882#line 835
19883 ldv_s_proc_applications_ops_file_operations = 0;
19884 } else {
19885
19886 }
19887#line 841
19888 goto switch_break;
19889 case_19:
19890#line 845
19891 if (ldv_s_proc_applstats_ops_file_operations == 0) {
19892 {
19893#line 850
19894 res_seq_applstats_open_14 = seq_applstats_open(var_group2, var_group3);
19895#line 851
19896 ldv_check_return_value(res_seq_applstats_open_14);
19897 }
19898#line 852
19899 if (res_seq_applstats_open_14) {
19900#line 853
19901 goto ldv_module_exit;
19902 } else {
19903
19904 }
19905#line 854
19906 ldv_s_proc_applstats_ops_file_operations = 0;
19907 } else {
19908
19909 }
19910#line 860
19911 goto switch_break;
19912 case_20:
19913 {
19914#line 869
19915 capi_driver_start(var_group1, var_capi_driver_start_15_p1);
19916 }
19917#line 876
19918 goto switch_break;
19919 case_21:
19920 {
19921#line 885
19922 capi_driver_next(var_group1, var_capi_driver_next_16_p1, var_capi_driver_next_16_p2);
19923 }
19924#line 892
19925 goto switch_break;
19926 case_22:
19927 {
19928#line 901
19929 capi_driver_stop(var_group1, var_capi_driver_stop_17_p1);
19930 }
19931#line 908
19932 goto switch_break;
19933 case_23:
19934 {
19935#line 917
19936 capi_driver_show(var_group1, var_capi_driver_show_18_p1);
19937 }
19938#line 924
19939 goto switch_break;
19940 case_24:
19941#line 928
19942 if (ldv_s_proc_driver_ops_file_operations == 0) {
19943 {
19944#line 933
19945 res_seq_capi_driver_open_19 = seq_capi_driver_open(var_group2, var_group3);
19946#line 934
19947 ldv_check_return_value(res_seq_capi_driver_open_19);
19948 }
19949#line 935
19950 if (res_seq_capi_driver_open_19) {
19951#line 936
19952 goto ldv_module_exit;
19953 } else {
19954
19955 }
19956#line 937
19957 ldv_s_proc_driver_ops_file_operations = 0;
19958 } else {
19959
19960 }
19961#line 943
19962 goto switch_break;
19963 switch_default:
19964#line 944
19965 goto switch_break;
19966 } else {
19967 switch_break: ;
19968 }
19969 }
19970 }
19971 }
19972 while_break: ;
19973 }
19974 ldv_module_exit:
19975 {
19976#line 953
19977 ldv_check_final_state();
19978 }
19979#line 956
19980 return;
19981}
19982}